diff --git a/datacatalog/.golangci.yml b/datacatalog/.golangci.yml index 7f4dbc80e8..6d13f4a3b6 100644 --- a/datacatalog/.golangci.yml +++ b/datacatalog/.golangci.yml @@ -38,3 +38,6 @@ linters-settings: - default - prefix(github.com/flyteorg) skip-generated: true +issues: + exclude: + - copylocks diff --git a/datacatalog/go.mod b/datacatalog/go.mod index 387fcb0b24..4116c4cc7f 100644 --- a/datacatalog/go.mod +++ b/datacatalog/go.mod @@ -61,6 +61,7 @@ require ( github.com/google/uuid v1.3.1 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect github.com/googleapis/gax-go/v2 v2.7.1 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect diff --git a/datacatalog/go.sum b/datacatalog/go.sum index 32cd7cf0b1..786de45ede 100644 --- a/datacatalog/go.sum +++ b/datacatalog/go.sum @@ -141,6 +141,8 @@ github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= +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/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/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= @@ -230,6 +232,8 @@ github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38 github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= 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 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= diff --git a/datacatalog/pkg/manager/impl/artifact_manager_test.go b/datacatalog/pkg/manager/impl/artifact_manager_test.go index 420c9bd4fd..2bf39b04d9 100644 --- a/datacatalog/pkg/manager/impl/artifact_manager_test.go +++ b/datacatalog/pkg/manager/impl/artifact_manager_test.go @@ -5,9 +5,9 @@ import ( stdErrors "errors" "fmt" "os" + "reflect" "testing" "time" - "reflect" "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes" @@ -15,12 +15,13 @@ import ( "github.com/stretchr/testify/mock" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/flyteorg/flyte/datacatalog/pkg/repositories/transformers" + "github.com/flyteorg/flyte/datacatalog/pkg/common" "github.com/flyteorg/flyte/datacatalog/pkg/errors" repoErrors "github.com/flyteorg/flyte/datacatalog/pkg/repositories/errors" "github.com/flyteorg/flyte/datacatalog/pkg/repositories/mocks" "github.com/flyteorg/flyte/datacatalog/pkg/repositories/models" + "github.com/flyteorg/flyte/datacatalog/pkg/repositories/transformers" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/datacatalog" "github.com/flyteorg/flyte/flytestdlib/contextutils" @@ -237,7 +238,7 @@ func TestCreateArtifact(t *testing.T) { var value core.Literal err = datastore.ReadProtobuf(ctx, dataRef, &value) assert.NoError(t, err) - assert.Equal(t, value, *getTestArtifact().Data[0].Value) + assert.True(t, proto.Equal(&value, getTestArtifact().Data[0].Value)) }) t.Run("Dataset does not exist", func(t *testing.T) { @@ -657,7 +658,6 @@ func TestUpdateArtifact(t *testing.T) { reflect.DeepEqual(artifact.SerializedMetadata, serializedMetadata) })).Return(nil) - request := &datacatalog.UpdateArtifactRequest{ Dataset: expectedDataset.Id, QueryHandle: &datacatalog.UpdateArtifactRequest_ArtifactId{ @@ -692,7 +692,7 @@ func TestUpdateArtifact(t *testing.T) { var value core.Literal err = datastore.ReadProtobuf(ctx, dataRef, &value) assert.NoError(t, err) - assert.Equal(t, value, *getTestStringLiteralWithValue("value11")) + assert.True(t, proto.Equal(&value, getTestStringLiteralWithValue("value11"))) // data2 was not included in update payload, should be removed dataRef, err = getExpectedDatastoreLocationFromName(ctx, datastore, testStoragePrefix, expectedArtifact, "data2") @@ -706,7 +706,7 @@ func TestUpdateArtifact(t *testing.T) { assert.NoError(t, err) err = datastore.ReadProtobuf(ctx, dataRef, &value) assert.NoError(t, err) - assert.Equal(t, value, *getTestStringLiteralWithValue("value3")) + assert.True(t, proto.Equal(&value, getTestStringLiteralWithValue("value3"))) }) t.Run("Update by artifact tag", func(t *testing.T) { @@ -786,7 +786,7 @@ func TestUpdateArtifact(t *testing.T) { var value core.Literal err = datastore.ReadProtobuf(ctx, dataRef, &value) assert.NoError(t, err) - assert.Equal(t, value, *getTestStringLiteralWithValue("value11")) + assert.True(t, proto.Equal(&value, getTestStringLiteralWithValue("value11"))) // data2 was not included in update payload, should be removed dataRef, err = getExpectedDatastoreLocationFromName(ctx, datastore, testStoragePrefix, expectedArtifact, "data2") @@ -800,7 +800,7 @@ func TestUpdateArtifact(t *testing.T) { assert.NoError(t, err) err = datastore.ReadProtobuf(ctx, dataRef, &value) assert.NoError(t, err) - assert.Equal(t, value, *getTestStringLiteralWithValue("value3")) + assert.True(t, proto.Equal(&value, getTestStringLiteralWithValue("value3"))) }) t.Run("Artifact not found", func(t *testing.T) { diff --git a/datacatalog/pkg/repositories/errors/postgres.go b/datacatalog/pkg/repositories/errors/postgres.go index 2d018d56a6..2ab8a2895c 100644 --- a/datacatalog/pkg/repositories/errors/postgres.go +++ b/datacatalog/pkg/repositories/errors/postgres.go @@ -3,7 +3,6 @@ package errors import ( "errors" "fmt" - "github.com/flyteorg/flyte/flytestdlib/database" "reflect" "github.com/jackc/pgconn" @@ -11,6 +10,7 @@ import ( "gorm.io/gorm" catalogErrors "github.com/flyteorg/flyte/datacatalog/pkg/errors" + "github.com/flyteorg/flyte/flytestdlib/database" "github.com/flyteorg/flyte/flytestdlib/logger" ) diff --git a/datacatalog/pkg/repositories/gormimpl/reservation_test.go b/datacatalog/pkg/repositories/gormimpl/reservation_test.go index dbef22ec21..a5399f538e 100644 --- a/datacatalog/pkg/repositories/gormimpl/reservation_test.go +++ b/datacatalog/pkg/repositories/gormimpl/reservation_test.go @@ -17,6 +17,7 @@ import ( "github.com/flyteorg/flyte/datacatalog/pkg/repositories/interfaces" "github.com/flyteorg/flyte/datacatalog/pkg/repositories/models" "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/flyteorg/flyte/flytestdlib/utils" ) func TestCreate(t *testing.T) { @@ -62,7 +63,7 @@ func TestDeleteFailure(t *testing.T) { err := reservationRepo.Delete(context.Background(), expectedReservation.ReservationKey, expectedReservation.OwnerID) assert.Error(t, err) - assert.Equal(t, "missing entity of type Reservation with identifier dataset_id: tag_name:\"testTag\" ", err.Error()) + utils.AssertEqualWithSanitizedRegex(t, "missing entity of type Reservation with identifier dataset_id:{project:\"testProject\" name:\"testDataset\" domain:\"testDomain\" version:\"testVersion\"} tag_name:\"testTag\"", err.Error()) } func TestGet(t *testing.T) { diff --git a/datacatalog/pkg/repositories/initialize.go b/datacatalog/pkg/repositories/initialize.go index 150801345f..44451121bc 100644 --- a/datacatalog/pkg/repositories/initialize.go +++ b/datacatalog/pkg/repositories/initialize.go @@ -2,11 +2,11 @@ package repositories import ( "context" - "github.com/flyteorg/flyte/flytestdlib/database" "reflect" errors2 "github.com/flyteorg/flyte/datacatalog/pkg/repositories/errors" "github.com/flyteorg/flyte/datacatalog/pkg/runtime" + "github.com/flyteorg/flyte/flytestdlib/database" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" ) diff --git a/flyteadmin/.golangci.yml b/flyteadmin/.golangci.yml index 7135275462..76977148dc 100644 --- a/flyteadmin/.golangci.yml +++ b/flyteadmin/.golangci.yml @@ -35,4 +35,6 @@ linters-settings: - default - prefix(github.com/flyteorg) skip-generated: true - +issues: + exclude: + - copylocks diff --git a/flyteadmin/auth/handlers.go b/flyteadmin/auth/handlers.go index a6c2e3b122..2aa232aadc 100644 --- a/flyteadmin/auth/handlers.go +++ b/flyteadmin/auth/handlers.go @@ -15,7 +15,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/peer" "google.golang.org/grpc/status" - "google.golang.org/protobuf/runtime/protoiface" + "google.golang.org/protobuf/proto" "github.com/flyteorg/flyte/flyteadmin/auth/interfaces" "github.com/flyteorg/flyte/flyteadmin/pkg/common" @@ -50,7 +50,7 @@ func (e *PreRedirectHookError) Error() string { type PreRedirectHookFunc func(ctx context.Context, authCtx interfaces.AuthenticationContext, request *http.Request, w http.ResponseWriter) *PreRedirectHookError type LogoutHookFunc func(ctx context.Context, authCtx interfaces.AuthenticationContext, request *http.Request, w http.ResponseWriter) error type HTTPRequestToMetadataAnnotator func(ctx context.Context, request *http.Request) metadata.MD -type UserInfoForwardResponseHandler func(ctx context.Context, w http.ResponseWriter, m protoiface.MessageV1) error +type UserInfoForwardResponseHandler func(ctx context.Context, w http.ResponseWriter, m proto.Message) error type AuthenticatedClientMeta struct { ClientIds []string @@ -496,7 +496,7 @@ func GetLogoutEndpointHandler(ctx context.Context, authCtx interfaces.Authentica } func GetUserInfoForwardResponseHandler() UserInfoForwardResponseHandler { - return func(ctx context.Context, w http.ResponseWriter, m protoiface.MessageV1) error { + return func(ctx context.Context, w http.ResponseWriter, m proto.Message) error { info, ok := m.(*service.UserInfoResponse) if ok { if info.AdditionalClaims != nil { diff --git a/flyteadmin/go.mod b/flyteadmin/go.mod index e6e770f8c2..badc2a3c88 100644 --- a/flyteadmin/go.mod +++ b/flyteadmin/go.mod @@ -3,8 +3,8 @@ module github.com/flyteorg/flyte/flyteadmin go 1.21 require ( - cloud.google.com/go/iam v0.13.0 - cloud.google.com/go/storage v1.29.0 + cloud.google.com/go/iam v1.1.5 + cloud.google.com/go/storage v1.30.1 github.com/NYTimes/gizmo v1.3.6 github.com/Selvatico/go-mocket v1.0.7 github.com/aws/aws-sdk-go v1.44.2 @@ -20,17 +20,16 @@ require ( github.com/flyteorg/stow v0.3.8 github.com/ghodss/yaml v1.0.0 github.com/go-gormigrate/gormigrate/v2 v2.1.1 - github.com/gogo/protobuf v1.3.2 github.com/golang-jwt/jwt/v4 v4.5.0 - github.com/golang/glog v1.1.0 + github.com/golang/glog v1.1.2 github.com/golang/protobuf v1.5.3 - github.com/google/uuid v1.3.1 - github.com/googleapis/gax-go/v2 v2.11.0 + github.com/google/uuid v1.4.0 + github.com/googleapis/gax-go/v2 v2.12.0 github.com/gorilla/handlers v1.5.1 github.com/gorilla/securecookie v1.1.1 - github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 - github.com/grpc-ecosystem/grpc-gateway v1.16.0 + github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 + github.com/grpc-ecosystem/go-grpc-prometheus v1.2.1-0.20210315223345-82c243799c99 + github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69 github.com/jackc/pgconn v1.14.1 github.com/jackc/pgx/v5 v5.4.3 @@ -49,12 +48,12 @@ require ( github.com/stretchr/testify v1.8.4 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.35.0 go.opentelemetry.io/otel v1.19.0 - golang.org/x/oauth2 v0.12.0 + golang.org/x/oauth2 v0.15.0 golang.org/x/time v0.3.0 - google.golang.org/api v0.126.0 - google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc - google.golang.org/grpc v1.56.1 - google.golang.org/protobuf v1.31.0 + google.golang.org/api v0.149.0 + google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 + google.golang.org/grpc v1.60.1 + google.golang.org/protobuf v1.32.0 gorm.io/driver/mysql v1.4.4 gorm.io/driver/postgres v1.5.3 gorm.io/driver/sqlite v1.5.4 @@ -73,10 +72,10 @@ require ( ) require ( - cloud.google.com/go v0.110.2 // indirect - cloud.google.com/go/compute v1.20.1 // indirect + cloud.google.com/go v0.111.0 // indirect + cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/pubsub v1.30.0 // indirect + cloud.google.com/go/pubsub v1.33.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.1 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 // indirect github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 // indirect @@ -105,14 +104,15 @@ require ( github.com/go-sql-driver/mysql v1.7.0 // indirect github.com/go-test/deep v1.0.7 // indirect github.com/goccy/go-json v0.4.8 // indirect + github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v5 v5.0.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/gnostic-models v0.6.8 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect - github.com/google/s2a-go v0.1.4 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect + github.com/google/s2a-go v0.1.7 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect github.com/gorilla/websocket v1.4.2 // indirect github.com/hashicorp/go-uuid v1.0.2 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect @@ -172,18 +172,17 @@ require ( go.opentelemetry.io/otel/metric v1.19.0 // indirect go.opentelemetry.io/otel/sdk v1.19.0 // indirect go.opentelemetry.io/otel/trace v1.19.0 // indirect - golang.org/x/crypto v0.14.0 // indirect + golang.org/x/crypto v0.16.0 // indirect golang.org/x/exp v0.0.0-20231005195138-3e424a577f31 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sync v0.3.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/term v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/term v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect golang.org/x/tools v0.13.0 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.66.4 // indirect gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect diff --git a/flyteadmin/go.sum b/flyteadmin/go.sum index 7280df0570..eb2eb48329 100644 --- a/flyteadmin/go.sum +++ b/flyteadmin/go.sum @@ -20,39 +20,39 @@ cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHOb 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/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.110.2 h1:sdFPBr6xG9/wkBbfhmUz/JmZC7X6LavQgcrVINrKiVA= -cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= +cloud.google.com/go v0.111.0 h1:YHLKNupSD1KqjDbQ3+LVdQ81h/UJbJyZG203cEfnQgM= +cloud.google.com/go v0.111.0/go.mod h1:0mibmpKP1TyOOFYQY5izo0LnT+ecvOQ0Sg3OdmMiNRU= 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 v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= -cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= +cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= 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/iam v0.13.0 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k= -cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/kms v1.10.1 h1:7hm1bRqGCA1GBRQUrp831TwJ9TWhP+tvLuP497CQS2g= -cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= +cloud.google.com/go/kms v1.15.5 h1:pj1sRfut2eRbD9pFRjNnPNg/CzJPuQAzUujMIM1vVeM= +cloud.google.com/go/kms v1.15.5/go.mod h1:cU2H5jnp6G2TDpUGZyqTCoy1n16fbubHZjmVXSMtwDI= cloud.google.com/go/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= 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= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.30.0 h1:vCge8m7aUKBJYOgrZp7EsNDf6QMd2CAlXZqWTn3yq6s= -cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= +cloud.google.com/go/pubsub v1.33.0 h1:6SPCPvWav64tj0sVX/+npCBKhUi/UjJehy9op/V3p2g= +cloud.google.com/go/pubsub v1.33.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= 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.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31jI= -cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= +cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= +cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= contrib.go.opencensus.io/exporter/stackdriver v0.13.1/go.mod h1:z2tyTZtPmQ2HvWH4cOmVDgtY+1lomfKdbLnkJvZdc8c= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.2 h1:t5+QXLCK9SVi0PPdaY0PrFvYUo24KwA0QwxnaHRSVd4= @@ -99,7 +99,6 @@ github.com/ajg/form v0.0.0-20160822230020-523a5da1a92f/go.mod h1:uL1WgH+h2mgNtvB github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= @@ -113,6 +112,7 @@ github.com/aws/aws-sdk-go v1.31.3/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU 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/aws/aws-xray-sdk-go v0.9.4/go.mod h1:XtMKdBQfpVut+tJEwI7+dJFRxxRdxHDyVNp2tHXRq04= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benlaurie/objecthash v0.0.0-20180202135721-d1e3d6079fc1 h1:VRtJdDi2lqc3MFwmouppm2jlm6icF+7H3WYKpLENMTo= @@ -131,7 +131,6 @@ github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4r 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/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= @@ -150,10 +149,6 @@ github.com/cloudevents/sdk-go/v2 v2.8.0/go.mod h1:GpCBmUj7DIRiDhVvsK5d6WCbgTWs8D 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/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -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-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 h1:/inchEIKaYC1Akx+H+gqO04wryn5h75LSazbRlnya1k= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= @@ -226,10 +221,9 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m 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.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.10.1 h1:c0g45+xCJhdgFGw7a5QAfdS4byAbud7miNWJ1WwEVf8= -github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= +github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= @@ -271,8 +265,10 @@ github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyM github.com/go-jose/go-jose/v3 v3.0.0/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8= 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/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= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= @@ -620,8 +616,8 @@ github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGw github.com/golang/gddo v0.0.0-20180828051604-96d2a289f41e/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= github.com/golang/gddo v0.0.0-20190904175337-72a348e765d2/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 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= @@ -675,8 +671,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 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.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-jsonnet v0.16.0/go.mod h1:sOcuej3UW1vpPTZOr8L7RQimqai1a57bt5j22LzGZCw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= @@ -700,20 +696,20 @@ github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.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/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= -github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181004151105-1babbf986f6f/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -738,13 +734,14 @@ github.com/gotestyourself/gotestyourself v1.3.0/go.mod h1:zZKM6oeNM8k+FRljX1mnzV github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.2.0/go.mod h1:mJzapYve32yjrKlk9GbyCZHuPgZsrbyIbyKhSzOpg6s= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= +github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vbp88Yd8NsDy6rZz+RcrMPxvld8= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.1-0.20210315223345-82c243799c99 h1:JYghRBlGCZyCF2wNUJ8W0cwaQdtpcssJ4CgC406g+WU= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.1-0.20210315223345-82c243799c99/go.mod h1:3bDW6wMZJB7tiONtC/1Xpicra6Wp5GgbTbQWCbI5fkc= github.com/grpc-ecosystem/grpc-gateway v1.9.0/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/grpc-ecosystem/grpc-gateway/v2 v2.19.0 h1:Wqo399gCIufwto+VfwCSvsnfGpF/w5E9CNxSwbpD6No= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0/go.mod h1:qmOFXW2epJhM0qSnUUYpldc7gVz2KMQwJ/QYCDIa7XU= github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69 h1:7xsUJsB2NrdcttQPa7JLEaGzvdbk7KvfrjgHZXOQRo0= github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69/go.mod h1:YLEMZOtU+AZ7dhN9T/IpGhXVGly2bvkJQ+zxj3WeVQo= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -1112,6 +1109,7 @@ github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qR 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/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v0.9.4/go.mod h1:oCXIBxdI62A4cR6aTRJCgetEjecSIYzOEaeAn4iYEpM= github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= @@ -1122,11 +1120,13 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1: github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= 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.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190425082905-87a4384529e0/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= 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= @@ -1141,7 +1141,6 @@ github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqn github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rhnvrm/simples3 v0.5.0/go.mod h1:Y+3vYm2V7Y4VijFoJHHTrja6OgPrJ2cBti8dPGkC3sA= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.0.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -1342,17 +1341,20 @@ go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+Gf go.opentelemetry.io/otel/trace v0.18.0/go.mod h1:FzdUu3BPwZSZebfQ1vl5/tAa8LyMLXSJN57AXIt/iDk= go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.1/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c= go.uber.org/zap v1.25.0/go.mod h1:JIAUzQIH94IC4fOJQm7gMmBJP5k7wQfdcnYdPoEXJYk= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -1400,10 +1402,9 @@ golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 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-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= -golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1461,6 +1462,7 @@ golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181106065722-10aee1819953/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-20181207154023-610586996380/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= @@ -1503,12 +1505,11 @@ golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -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-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181003184128-c57b0facaced/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1519,8 +1520,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ 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-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= -golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= +golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= +golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= 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= @@ -1534,8 +1535,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ 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/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c/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-20180831094639-fa5fdf94c789/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1609,13 +1610,13 @@ golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/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-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/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-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/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-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1623,14 +1624,14 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= 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/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= 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= @@ -1641,8 +1642,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= 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= @@ -1651,6 +1652,7 @@ golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/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-20180525024113-a5b4c53f6e8b/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-20181003024731-2f84ea8ef872/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181006002542-f60d9635b16a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1706,6 +1708,7 @@ golang.org/x/tools v0.0.0-20191004055002-72853e10c5a3/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/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-20191108193012-7d206e10da11/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= @@ -1788,8 +1791,8 @@ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz513 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.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.149.0 h1:b2CqT6kG+zqJIVKRQ3ELJVLN1PwHZ6DJ3dW8yl82rgY= +google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= 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= @@ -1798,8 +1801,9 @@ google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= @@ -1827,7 +1831,6 @@ google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= @@ -1842,12 +1845,13 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D 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-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc h1:8DyZCyvI8mE1IdLy/60bS+52xfymkE72wv1asokgtao= -google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc h1:kVKPf/IiYSBWEWtkIn6wZXwWGCnLKcC8oWfZvXjsGnM= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc h1:XSJ8Vk1SWuNr8S18z1NZSziL0CPIXLCCMDOEFtHBOFc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 h1:YJ5pD9rF8o9Qtta0Cmy9rdBwkSjrTCT6XTiUQVOtIos= +google.golang.org/genproto v0.0.0-20231212172506-995d672761c0/go.mod h1:l/k7rMz0vFTBPy+tFSGvXEd3z+BcoG1k7EHbqm+YBsY= +google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 h1:rcS6EyEaoCO52hQDupoSfrxI3R6C2Tq741is7X8OvnM= +google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917/go.mod h1:CmlNWB9lSezaYELKS5Ym1r44VrrbPUa7JTvw+6MbpJ0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU= +google.golang.org/grpc v1.18.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= 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= @@ -1866,14 +1870,12 @@ 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.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/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= -google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= -google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= +google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/grpc/examples v0.0.0-20210304020650-930c79186c99/go.mod h1:Ly7ZA/ARzg8fnPU9TyZIxoz33sEUuWX7txiqs8lPTgE= 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= @@ -1887,8 +1889,8 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj 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.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/DataDog/dd-trace-go.v1 v1.22.0/go.mod h1:DVp8HmDh8PuTu2Z0fVVlBsyWaC++fzwVCaGWylTe3tg= gopkg.in/DataDog/dd-trace-go.v1 v1.27.0/go.mod h1:Sp1lku8WJMvNV0kjDI4Ni/T7J/U3BO5ct5kEaoVU8+I= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= @@ -1938,7 +1940,6 @@ gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19/go.mod h1:o4V0GXN9/CAmC 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= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -1948,6 +1949,7 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= @@ -1965,6 +1967,7 @@ gorm.io/plugin/opentelemetry v0.1.4/go.mod h1:tndJHOdvPT0pyGhOb8E2209eXJCUxhC5Up gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +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= diff --git a/flyteadmin/pkg/async/notifications/email_test.go b/flyteadmin/pkg/async/notifications/email_test.go index f05f893124..5a9cf01c36 100644 --- a/flyteadmin/pkg/async/notifications/email_test.go +++ b/flyteadmin/pkg/async/notifications/email_test.go @@ -5,7 +5,6 @@ import ( "strings" "testing" - "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/assert" runtimeInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/runtime/interfaces" @@ -148,14 +147,16 @@ func TestToEmailMessageFromWorkflowExecutionEvent(t *testing.T) { }, } emailMessage := ToEmailMessageFromWorkflowExecutionEvent(notificationsConfig, emailNotification, request, workflowExecution) - assert.True(t, proto.Equal(emailMessage, &admin.EmailMessage{ + expected := &admin.EmailMessage{ RecipientsEmail: []string{ "a@example.com", "b@example.org", }, SenderEmail: "no-reply@example.com", - SubjectLine: "Notice: Execution \"e124\" has succeeded in \"prod\".", - Body: "Execution \"e124\" has succeeded in \"prod\". View details at " + - "" + - "https://example.com/executions/proj/prod/e124.", - }), fmt.Sprintf("%+v", emailMessage)) + SubjectLine: `Notice: Execution "e124" has succeeded in "prod".`, + Body: `Execution "e124" has succeeded in "prod". View details at https://example.com/executions/proj/prod/e124.`, + } + assert.True(t, emailMessage.Body == expected.Body) + assert.True(t, emailMessage.SubjectLine == expected.SubjectLine) + assert.True(t, emailMessage.SenderEmail == expected.SenderEmail) + assert.True(t, len(emailMessage.RecipientsEmail) == len(expected.RecipientsEmail)) } diff --git a/flyteadmin/pkg/common/sorting_test.go b/flyteadmin/pkg/common/sorting_test.go index 2f423ca01f..6ea5a440bc 100644 --- a/flyteadmin/pkg/common/sorting_test.go +++ b/flyteadmin/pkg/common/sorting_test.go @@ -1,6 +1,7 @@ package common import ( + "regexp" "testing" "github.com/stretchr/testify/assert" @@ -31,7 +32,9 @@ func TestSortParameter_InvalidSortDirection(t *testing.T) { Key: "name", }, sets.NewString("name")) - assert.EqualError(t, err, `invalid sort order specified: key:"name" direction:2 `) + regex := regexp.MustCompile(`\s+`) + expected := `invalid sort order specified: key:"name" direction:2` + assert.Equal(t, regex.ReplaceAllString(err.Error(), " "), regex.ReplaceAllString(expected, " ")) } func TestSortParameter_Ascending(t *testing.T) { diff --git a/flyteadmin/pkg/manager/impl/execution_manager_test.go b/flyteadmin/pkg/manager/impl/execution_manager_test.go index f1c5bb9eb5..d6a05cc214 100644 --- a/flyteadmin/pkg/manager/impl/execution_manager_test.go +++ b/flyteadmin/pkg/manager/impl/execution_manager_test.go @@ -9,7 +9,7 @@ import ( "time" "github.com/benbjohnson/clock" - "github.com/gogo/protobuf/jsonpb" + "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes" "github.com/golang/protobuf/ptypes/wrappers" @@ -341,10 +341,11 @@ func TestCreateExecution(t *testing.T) { mockExecutor.OnExecuteMatch(mock.Anything, mock.MatchedBy(func(data workflowengineInterfaces.ExecutionData) bool { tasks := data.WorkflowClosure.GetTasks() for _, task := range tasks { - assert.EqualValues(t, resources.Requests, - task.Template.GetContainer().Resources.Requests) - assert.EqualValues(t, resources.Requests, - task.Template.GetContainer().Resources.Limits) + assert.Equal(t, len(resources.Requests), len(task.Template.GetContainer().Resources.Requests)) + for i, request := range resources.Requests { + assert.True(t, proto.Equal(request, task.Template.GetContainer().Resources.Requests[i])) + assert.True(t, proto.Equal(request, task.Template.GetContainer().Resources.Limits[i])) + } } return true @@ -393,7 +394,7 @@ func TestCreateExecution(t *testing.T) { Id: &executionIdentifier, } assert.Nil(t, err) - assert.Equal(t, expectedResponse, response) + assert.True(t, proto.Equal(expectedResponse.Id, response.Id)) // TODO: Check for offloaded inputs } @@ -486,7 +487,7 @@ func TestCreateExecutionFromWorkflowNode(t *testing.T) { Id: &executionIdentifier, } assert.Nil(t, err) - assert.Equal(t, expectedResponse, response) + assert.True(t, proto.Equal(expectedResponse, response)) } func TestCreateExecution_NoAssignedName(t *testing.T) { @@ -570,7 +571,7 @@ func TestCreateExecution_TaggedQueue(t *testing.T) { Id: &executionIdentifier, } assert.Nil(t, err) - assert.Equal(t, expectedResponse, response) + assert.True(t, proto.Equal(expectedResponse, response)) } func TestCreateExecutionValidationError(t *testing.T) { @@ -666,7 +667,7 @@ func TestCreateExecutionPropellerFailure(t *testing.T) { response, err := execManager.CreateExecution(ctx, request, requestedAt) assert.NoError(t, err) - assert.Equal(t, expectedResponse, response) + assert.True(t, proto.Equal(expectedResponse, response)) } func TestCreateExecutionDatabaseFailure(t *testing.T) { @@ -953,7 +954,7 @@ func TestCreateExecutionDynamicLabelsAndAnnotations(t *testing.T) { Id: &executionIdentifier, } assert.Nil(t, err) - assert.Equal(t, expectedResponse, response) + assert.True(t, proto.Equal(expectedResponse, response)) } func TestCreateExecutionInterruptible(t *testing.T) { @@ -3889,7 +3890,7 @@ func TestCreateExecution_LegacyClient(t *testing.T) { Id: &executionIdentifier, } assert.Nil(t, err) - assert.Equal(t, expectedResponse, response) + assert.True(t, proto.Equal(expectedResponse, response)) } func TestRelaunchExecution_LegacyModel(t *testing.T) { diff --git a/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go b/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go index 2863f2747d..3e5b36793e 100644 --- a/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go +++ b/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go @@ -302,7 +302,7 @@ func TestCreateLaunchPlanValidateCreate(t *testing.T) { assert.Equal(t, domain, launchPlan.Id.Domain) assert.Equal(t, name, launchPlan.Id.Name) assert.Equal(t, version, launchPlan.Id.Version) - assert.EqualValues(t, testutils.GetLaunchPlanRequest().Spec, launchPlan.Spec) + assert.True(t, proto.Equal(testutils.GetLaunchPlanRequest().Spec, launchPlan.Spec)) expectedInputs := &core.ParameterMap{ Parameters: map[string]*core.Parameter{ "foo": { @@ -315,10 +315,9 @@ func TestCreateLaunchPlanValidateCreate(t *testing.T) { }, }, } - assert.EqualValues(t, expectedInputs, launchPlan.Closure.ExpectedInputs) - assert.EqualValues( - t, testutils.GetSampleWorkflowSpecForTest().Template.Interface.Outputs, - launchPlan.Closure.ExpectedOutputs) + assert.True(t, proto.Equal(expectedInputs, launchPlan.Closure.ExpectedInputs)) + assert.True(t, proto.Equal(testutils.GetSampleWorkflowSpecForTest().Template.Interface.Outputs, + launchPlan.Closure.ExpectedOutputs)) return nil } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetCreateCallback(lpCreateFunc) @@ -329,7 +328,7 @@ func TestCreateLaunchPlanValidateCreate(t *testing.T) { assert.Nil(t, err) expectedResponse := &admin.LaunchPlanCreateResponse{} - assert.Equal(t, expectedResponse, response) + assert.True(t, proto.Equal(expectedResponse, response)) } func TestCreateLaunchPlanNoWorkflowInterface(t *testing.T) { diff --git a/flyteadmin/pkg/manager/impl/node_execution_manager_test.go b/flyteadmin/pkg/manager/impl/node_execution_manager_test.go index 821a3c8ca1..279b2ac416 100644 --- a/flyteadmin/pkg/manager/impl/node_execution_manager_test.go +++ b/flyteadmin/pkg/manager/impl/node_execution_manager_test.go @@ -31,6 +31,7 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" mockScope "github.com/flyteorg/flyte/flytestdlib/promutils" "github.com/flyteorg/flyte/flytestdlib/storage" + "github.com/flyteorg/flyte/flytestdlib/utils" ) var occurredAt = time.Now().UTC() @@ -255,7 +256,7 @@ func TestCreateNodeEvent_MissingExecution(t *testing.T) { }) nodeExecManager := NewNodeExecutionManager(repository, getMockExecutionsConfigProvider(), make([]string, 0), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockNodeExecutionRemoteURL, &mockPublisher, &mockPublisher, &eventWriterMocks.NodeExecutionEventWriter{}) resp, err := nodeExecManager.CreateNodeEvent(context.Background(), request) - assert.EqualError(t, err, "Failed to get existing execution id: [project:\"project\" domain:\"domain\" name:\"name\" ] with err: expected error") + utils.AssertEqualWithSanitizedRegex(t, "Failed to get existing execution id: [project:\"project\" domain:\"domain\" name:\"name\" ] with err: expected error", err.Error()) assert.Nil(t, resp) } diff --git a/flyteadmin/pkg/manager/impl/resources/resource_manager.go b/flyteadmin/pkg/manager/impl/resources/resource_manager.go index 5e33bd6a04..0b19ae51c9 100644 --- a/flyteadmin/pkg/manager/impl/resources/resource_manager.go +++ b/flyteadmin/pkg/manager/impl/resources/resource_manager.go @@ -3,7 +3,7 @@ package resources import ( "context" - "github.com/gogo/protobuf/proto" + "github.com/golang/protobuf/proto" "google.golang.org/grpc/codes" "github.com/flyteorg/flyte/flyteadmin/pkg/errors" diff --git a/flyteadmin/pkg/manager/impl/task_execution_manager_test.go b/flyteadmin/pkg/manager/impl/task_execution_manager_test.go index 8fd8019647..278201c6eb 100644 --- a/flyteadmin/pkg/manager/impl/task_execution_manager_test.go +++ b/flyteadmin/pkg/manager/impl/task_execution_manager_test.go @@ -25,6 +25,7 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" mockScope "github.com/flyteorg/flyte/flytestdlib/promutils" "github.com/flyteorg/flyte/flytestdlib/storage" + "github.com/flyteorg/flyte/flytestdlib/utils" ) var taskStartedAt = time.Now().UTC() @@ -321,9 +322,9 @@ func TestCreateTaskEvent_MissingExecution(t *testing.T) { }) taskExecManager := NewTaskExecutionManager(repository, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockTaskExecutionRemoteURL, nil, nil) resp, err := taskExecManager.CreateTaskExecutionEvent(context.Background(), taskEventRequest) - assert.EqualError(t, err, "Failed to get existing node execution id: [node_id:\"node-id\""+ - " execution_id: ] "+ - "with err: expected error") + utils.AssertEqualWithSanitizedRegex(t, "Failed to get existing node execution id: [node_id:\"node-id\""+ + " execution_id:{project:\"project\" domain:\"domain\" name:\"name\" } ] "+ + "with err: expected error", err.Error()) assert.Nil(t, resp) repository.NodeExecutionRepo().(*repositoryMocks.MockNodeExecutionRepo).SetExistsCallback( @@ -333,8 +334,8 @@ func TestCreateTaskEvent_MissingExecution(t *testing.T) { }) taskExecManager = NewTaskExecutionManager(repository, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockTaskExecutionRemoteURL, nil, nil) resp, err = taskExecManager.CreateTaskExecutionEvent(context.Background(), taskEventRequest) - assert.EqualError(t, err, "failed to get existing node execution id: [node_id:\"node-id\""+ - " execution_id: ]") + utils.AssertEqualWithSanitizedRegex(t, "failed to get existing node execution id: [node_id:\"node-id\""+ + " execution_id:{project:\"project\" domain:\"domain\" name:\"name\" } ]", err.Error()) assert.Nil(t, resp) } diff --git a/flyteadmin/pkg/manager/impl/validation/execution_validator_test.go b/flyteadmin/pkg/manager/impl/validation/execution_validator_test.go index 80aee0dfc2..3029ce6dc4 100644 --- a/flyteadmin/pkg/manager/impl/validation/execution_validator_test.go +++ b/flyteadmin/pkg/manager/impl/validation/execution_validator_test.go @@ -12,6 +12,7 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + "github.com/flyteorg/flyte/flytestdlib/utils" ) var execConfig = testutils.GetApplicationConfigWithDefaultDomains() @@ -98,7 +99,7 @@ func TestValidateExecInputsWrongType(t *testing.T) { lpRequest.Spec.FixedInputs, lpRequest.Spec.DefaultInputs, ) - assert.EqualError(t, err, "invalid foo input wrong type. Expected simple:STRING , but got simple:INTEGER ") + utils.AssertEqualWithSanitizedRegex(t, "invalid foo input wrong type. Expected simple:STRING, but got simple:INTEGER", err.Error()) } func TestValidateExecInputsExtraInputs(t *testing.T) { diff --git a/flyteadmin/pkg/manager/impl/validation/launch_plan_validator_test.go b/flyteadmin/pkg/manager/impl/validation/launch_plan_validator_test.go index 5cdbd2097d..a2d27c3c6c 100644 --- a/flyteadmin/pkg/manager/impl/validation/launch_plan_validator_test.go +++ b/flyteadmin/pkg/manager/impl/validation/launch_plan_validator_test.go @@ -10,6 +10,7 @@ import ( "github.com/flyteorg/flyte/flyteidl/clients/go/coreutils" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/utils" ) var lpApplicationConfig = testutils.GetApplicationConfigWithDefaultDomains() @@ -100,7 +101,9 @@ func TestValidateLpDefaultInputsWrongType(t *testing.T) { request := testutils.GetLaunchPlanRequest() request.Spec.DefaultInputs.Parameters["foo"].Var.Type = &core.LiteralType{Type: &core.LiteralType_Simple{Simple: core.SimpleType_FLOAT}} err := ValidateLaunchPlan(context.Background(), request, testutils.GetRepoWithDefaultProject(), lpApplicationConfig, getWorkflowInterface()) - assert.EqualError(t, err, "Type mismatch for Parameter foo in default_inputs has type simple:FLOAT , expected simple:STRING ") + + expected := "Type mismatch for Parameter foo in default_inputs has type simple:FLOAT , expected simple:STRING " + utils.AssertEqualWithSanitizedRegex(t, expected, err.Error()) } func TestValidateLpDefaultInputsEmptyName(t *testing.T) { @@ -180,7 +183,7 @@ func TestGetLpExpectedInvalidDefaultInputType(t *testing.T) { request.GetSpec().GetFixedInputs(), request.GetSpec().GetDefaultInputs(), ) - assert.EqualError(t, err, "invalid default_input wrong type foo, expected simple:STRING , got simple:BINARY instead") + utils.AssertEqualWithSanitizedRegex(t, "invalid default_input wrong type foo, expected simple:STRING , got simple:BINARY instead", err.Error()) assert.Nil(t, actualMap) } @@ -200,7 +203,7 @@ func TestGetLpExpectedInvalidFixedInputType(t *testing.T) { request.GetSpec().GetFixedInputs(), request.GetSpec().GetDefaultInputs(), ) - assert.EqualError(t, err, "invalid fixed_input wrong type bar, expected simple:BINARY , got simple:STRING instead") + utils.AssertEqualWithSanitizedRegex(t, "invalid fixed_input wrong type bar, expected simple:BINARY , got simple:STRING instead", err.Error()) assert.Nil(t, actualMap) } diff --git a/flyteadmin/pkg/manager/impl/validation/signal_validator_test.go b/flyteadmin/pkg/manager/impl/validation/signal_validator_test.go index 658a61bb5d..9085c87ba7 100644 --- a/flyteadmin/pkg/manager/impl/validation/signal_validator_test.go +++ b/flyteadmin/pkg/manager/impl/validation/signal_validator_test.go @@ -13,6 +13,7 @@ import ( "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/utils" ) func TestValidateSignalGetOrCreateRequest(t *testing.T) { @@ -279,7 +280,7 @@ func TestValidateSignalUpdateRequest(t *testing.T) { }, }, } - assert.EqualError(t, ValidateSignalSetRequest(ctx, repo, request), - "requested signal value [scalar: > ] is not castable to existing signal type [[8 1]]") + utils.AssertEqualWithSanitizedRegex(t, + "requested signal value [scalar:{ primitive:{ boolean:false } } ] is not castable to existing signal type [[8 1]]", ValidateSignalSetRequest(ctx, repo, request).Error()) }) } diff --git a/flyteadmin/pkg/manager/impl/validation/task_validator_test.go b/flyteadmin/pkg/manager/impl/validation/task_validator_test.go index 6125d32c82..c82d2e5f58 100644 --- a/flyteadmin/pkg/manager/impl/validation/task_validator_test.go +++ b/flyteadmin/pkg/manager/impl/validation/task_validator_test.go @@ -439,7 +439,7 @@ func TestValidateTaskResources_GPULimitNotEqualToRequested(t *testing.T) { }, }) assert.EqualError(t, err, - "For extended resource 'gpu' the default value must equal the limit value for task [name:\"name\" ]") + "For extended resource 'gpu' the default value must equal the limit value for task [name:\"name\"]") } func TestValidateTaskResources_GPULimitGreaterThanConfig(t *testing.T) { diff --git a/flyteadmin/pkg/manager/impl/validation/validation_test.go b/flyteadmin/pkg/manager/impl/validation/validation_test.go index adb8796656..a9fed38ee9 100644 --- a/flyteadmin/pkg/manager/impl/validation/validation_test.go +++ b/flyteadmin/pkg/manager/impl/validation/validation_test.go @@ -15,6 +15,7 @@ import ( "github.com/flyteorg/flyte/flyteidl/clients/go/coreutils" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/utils" ) func TestGetMissingArgumentError(t *testing.T) { @@ -67,8 +68,8 @@ func TestValidateIdentifier(t *testing.T) { Project: "project", Domain: "domain", }, common.Task) - assert.EqualError(t, err, "unexpected resource type workflow for identifier "+ - "[resource_type:WORKFLOW project:\"project\" domain:\"domain\" ], expected task instead") + utils.AssertEqualWithSanitizedRegex(t, "unexpected resource type workflow for identifier "+ + "[resource_type:WORKFLOW project:\"project\" domain:\"domain\" ], expected task instead", err.Error()) } func TestValidateNamedEntityIdentifierListRequest(t *testing.T) { diff --git a/flyteadmin/pkg/manager/impl/workflow_manager_test.go b/flyteadmin/pkg/manager/impl/workflow_manager_test.go index 99da70a64b..b5565f8cda 100644 --- a/flyteadmin/pkg/manager/impl/workflow_manager_test.go +++ b/flyteadmin/pkg/manager/impl/workflow_manager_test.go @@ -29,6 +29,7 @@ import ( engine "github.com/flyteorg/flyte/flytepropeller/pkg/compiler/common" mockScope "github.com/flyteorg/flyte/flytestdlib/promutils" "github.com/flyteorg/flyte/flytestdlib/storage" + "github.com/flyteorg/flyte/flytestdlib/utils" ) const remoteClosureIdentifier = "s3://flyte/metadata/admin/remote closure id" @@ -224,9 +225,9 @@ func TestCreateWorkflow_CompilerGetRequirementsError(t *testing.T) { getMockWorkflowConfigProvider(), mockCompiler, getMockStorage(), storagePrefix, mockScope.NewTestScope()) request := testutils.GetWorkflowRequest() response, err := workflowManager.CreateWorkflow(context.Background(), request) - assert.EqualError(t, err, fmt.Sprintf( + utils.AssertEqualWithSanitizedRegex(t, fmt.Sprintf( "failed to compile workflow for [resource_type:WORKFLOW project:\"project\" domain:\"domain\" "+ - "name:\"name\" version:\"version\" ] with err %v", expectedErr.Error())) + "name:\"name\" version:\"version\" ] with err %v", expectedErr.Error()), err.Error()) assert.Nil(t, response) } @@ -248,9 +249,9 @@ func TestCreateWorkflow_CompileWorkflowError(t *testing.T) { s, ok := status.FromError(err) assert.True(t, ok) assert.Equal(t, codes.InvalidArgument, s.Code()) - assert.EqualError(t, err, fmt.Sprintf( + utils.AssertEqualWithSanitizedRegex(t, fmt.Sprintf( "failed to compile workflow for [resource_type:WORKFLOW project:\"project\" domain:\"domain\" "+ - "name:\"name\" version:\"version\" ] with err %v", expectedErr.Error())) + "name:\"name\" version:\"version\" ] with err %v", expectedErr.Error()), err.Error()) } func TestCreateWorkflow_DatabaseError(t *testing.T) { diff --git a/flyteadmin/pkg/repositories/gormimpl/task_repo_test.go b/flyteadmin/pkg/repositories/gormimpl/task_repo_test.go index 3000c1f7f9..3309ad3609 100644 --- a/flyteadmin/pkg/repositories/gormimpl/task_repo_test.go +++ b/flyteadmin/pkg/repositories/gormimpl/task_repo_test.go @@ -13,6 +13,7 @@ import ( "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" mockScope "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/flyteorg/flyte/flytestdlib/utils" ) const pythonTestTaskType = "python-task" @@ -57,7 +58,7 @@ func TestGetTask(t *testing.T) { Version: version, }) assert.Empty(t, output) - assert.EqualError(t, err, "missing entity of type TASK with identifier project:\"project\" domain:\"domain\" name:\"name\" version:\"XYZ\" ") + utils.AssertEqualWithSanitizedRegex(t, "missing entity of type TASK with identifier project:\"project\" domain:\"domain\" name:\"name\" version:\"XYZ\"", err.Error()) GlobalMock := mocket.Catcher.Reset() GlobalMock.Logging = true diff --git a/flyteadmin/pkg/rpc/adminservice/tests/execution_test.go b/flyteadmin/pkg/rpc/adminservice/tests/execution_test.go index 63075f1587..15af22b79a 100644 --- a/flyteadmin/pkg/rpc/adminservice/tests/execution_test.go +++ b/flyteadmin/pkg/rpc/adminservice/tests/execution_test.go @@ -16,6 +16,7 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + "github.com/flyteorg/flyte/flytestdlib/utils" ) const requestID = "request id" @@ -79,8 +80,8 @@ func TestCreateExecutionError(t *testing.T) { Name: "Name", }) assert.Nil(t, resp) - assert.EqualError(t, err, "missing entity of type execution with "+ - "identifier project:\"Project\" domain:\"Domain\" name:\"Name\" ") + utils.AssertEqualWithSanitizedRegex(t, + `missing entity of type execution with identifier project:"Project" domain:"Domain" name:"Name"`, err.Error()) } func TestRelaunchExecutionHappyCase(t *testing.T) { diff --git a/flyteadmin/pkg/rpc/adminservice/tests/launch_plan_test.go b/flyteadmin/pkg/rpc/adminservice/tests/launch_plan_test.go index c152174ad2..027bf5ab6f 100644 --- a/flyteadmin/pkg/rpc/adminservice/tests/launch_plan_test.go +++ b/flyteadmin/pkg/rpc/adminservice/tests/launch_plan_test.go @@ -10,6 +10,7 @@ import ( "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/errors" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/utils" ) func TestCreateLaunchPlanHappyCase(t *testing.T) { @@ -63,8 +64,8 @@ func TestCreateLaunchPlanError(t *testing.T) { }, }) assert.Nil(t, resp) - assert.EqualError(t, err, "missing entity of type LAUNCH_PLAN with "+ - "identifier resource_type:LAUNCH_PLAN project:\"Project\" domain:\"Domain\" name:\"Name\" version:\"Version\" ") + utils.AssertEqualWithSanitizedRegex(t, "missing entity of type LAUNCH_PLAN with "+ + "identifier resource_type:LAUNCH_PLAN project:\"Project\" domain:\"Domain\" name:\"Name\" version:\"Version\"", err.Error()) } func TestGetActiveLaunchPlan(t *testing.T) { diff --git a/flyteadmin/pkg/rpc/adminservice/tests/task_test.go b/flyteadmin/pkg/rpc/adminservice/tests/task_test.go index 88a7d40544..167775518a 100644 --- a/flyteadmin/pkg/rpc/adminservice/tests/task_test.go +++ b/flyteadmin/pkg/rpc/adminservice/tests/task_test.go @@ -10,6 +10,7 @@ import ( "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/errors" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/utils" ) var taskIdentifier = core.Identifier{ @@ -65,8 +66,8 @@ func TestTaskError(t *testing.T) { }) assert.Nil(t, resp) - assert.EqualError(t, err, "missing entity of type TASK with "+ - "identifier project:\"project\" domain:\"staging\" name:\"name\" version:\"version\" ") + utils.AssertEqualWithSanitizedRegex(t, "missing entity of type TASK with "+ + "identifier project:\"project\" domain:\"staging\" name:\"name\" version:\"version\"", err.Error()) } func TestListUniqueTaskIds(t *testing.T) { diff --git a/flyteadmin/pkg/rpc/adminservice/tests/workflow_test.go b/flyteadmin/pkg/rpc/adminservice/tests/workflow_test.go index 3d711d5083..4196c1018b 100644 --- a/flyteadmin/pkg/rpc/adminservice/tests/workflow_test.go +++ b/flyteadmin/pkg/rpc/adminservice/tests/workflow_test.go @@ -10,6 +10,7 @@ import ( "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/errors" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/utils" ) var workflowIdentifier = core.Identifier{ @@ -59,6 +60,6 @@ func TestCreateWorkflowError(t *testing.T) { Id: &workflowIdentifier, }) assert.Nil(t, resp) - assert.EqualError(t, err, "missing entity of type WORKFLOW with "+ - "identifier resource_type:WORKFLOW project:\"Project\" domain:\"Domain\" name:\"Name\" version:\"Version\" ") + utils.AssertEqualWithSanitizedRegex(t, "missing entity of type WORKFLOW with "+ + "identifier resource_type:WORKFLOW project:\"Project\" domain:\"Domain\" name:\"Name\" version:\"Version\"", err.Error()) } diff --git a/flyteadmin/pkg/server/service.go b/flyteadmin/pkg/server/service.go index 3fc68723d3..07eb193883 100644 --- a/flyteadmin/pkg/server/service.go +++ b/flyteadmin/pkg/server/service.go @@ -13,7 +13,7 @@ import ( grpcmiddleware "github.com/grpc-ecosystem/go-grpc-middleware" grpcauth "github.com/grpc-ecosystem/go-grpc-middleware/auth" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" - "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/pkg/errors" "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" "go.opentelemetry.io/otel/propagation" @@ -37,7 +37,9 @@ import ( runtime2 "github.com/flyteorg/flyte/flyteadmin/pkg/runtime" runtimeIfaces "github.com/flyteorg/flyte/flyteadmin/pkg/runtime/interfaces" "github.com/flyteorg/flyte/flyteadmin/plugins" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/flyteorg/flyte/flyteidl/clients/go/assets" + grpcService "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/gateway/flyteidl/service" "github.com/flyteorg/flyte/flytepropeller/pkg/controller/nodes/task/secretmanager" "github.com/flyteorg/flyte/flytestdlib/contextutils" "github.com/flyteorg/flyte/flytestdlib/logger" @@ -129,10 +131,10 @@ func newGRPCServer(ctx context.Context, pluginRegistry *plugins.Registry, cfg *c configuration := runtime2.NewConfigurationProvider() adminServer := adminservice.NewAdminServer(ctx, pluginRegistry, configuration, cfg.KubeConfig, cfg.Master, dataStorageClient, scope.NewSubScope("admin")) - service.RegisterAdminServiceServer(grpcServer, adminServer) + grpcService.RegisterAdminServiceServer(grpcServer, adminServer) if cfg.Security.UseAuth { - service.RegisterAuthMetadataServiceServer(grpcServer, authCtx.AuthMetadataService()) - service.RegisterIdentityServiceServer(grpcServer, authCtx.IdentityService()) + grpcService.RegisterAuthMetadataServiceServer(grpcServer, authCtx.AuthMetadataService()) + grpcService.RegisterIdentityServiceServer(grpcServer, authCtx.IdentityService()) } dataProxySvc, err := dataproxy.NewService(cfg.DataProxy, adminServer.NodeExecutionManager, dataStorageClient, adminServer.TaskExecutionManager) @@ -141,9 +143,9 @@ func newGRPCServer(ctx context.Context, pluginRegistry *plugins.Registry, cfg *c } pluginRegistry.RegisterDefault(plugins.PluginIDDataProxy, dataProxySvc) - service.RegisterDataProxyServiceServer(grpcServer, plugins.Get[service.DataProxyServiceServer](pluginRegistry, plugins.PluginIDDataProxy)) + grpcService.RegisterDataProxyServiceServer(grpcServer, plugins.Get[grpcService.DataProxyServiceServer](pluginRegistry, plugins.PluginIDDataProxy)) - service.RegisterSignalServiceServer(grpcServer, rpc.NewSignalServer(ctx, configuration, scope.NewSubScope("signal"))) + grpcService.RegisterSignalServiceServer(grpcServer, rpc.NewSignalServer(ctx, configuration, scope.NewSubScope("signal"))) additionalService := plugins.Get[common.RegisterAdditionalGRPCService](pluginRegistry, plugins.PluginIDAdditionalGRPCService) if additionalService != nil { @@ -164,16 +166,11 @@ func newGRPCServer(ctx context.Context, pluginRegistry *plugins.Registry, cfg *c func GetHandleOpenapiSpec(ctx context.Context) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { - swaggerBytes, err := service.Asset("admin.swagger.json") + // TODO: find a better way to point to admin.swagger.json + w.WriteHeader(http.StatusOK) + _, err := w.Write(assets.AdminSwaggerFile) if err != nil { - logger.Warningf(ctx, "Err %v", err) - w.WriteHeader(http.StatusFailedDependency) - } else { - w.WriteHeader(http.StatusOK) - _, err := w.Write(swaggerBytes) - if err != nil { - logger.Errorf(ctx, "failed to write openAPI information, error: %s", err.Error()) - } + logger.Errorf(ctx, "failed to write openAPI information, error: %s", err.Error()) } } } diff --git a/flyteadmin/pkg/workflowengine/impl/k8s_executor_test.go b/flyteadmin/pkg/workflowengine/impl/k8s_executor_test.go index b11b4e8bd8..b384ebbcaf 100644 --- a/flyteadmin/pkg/workflowengine/impl/k8s_executor_test.go +++ b/flyteadmin/pkg/workflowengine/impl/k8s_executor_test.go @@ -3,6 +3,7 @@ package impl import ( "context" "errors" + "regexp" "testing" "github.com/golang/protobuf/proto" @@ -192,7 +193,7 @@ func TestExecute(t *testing.T) { func TestExecute_AlreadyExists(t *testing.T) { fakeFlyteWorkflow := FakeFlyteWorkflow{} fakeFlyteWorkflow.createCallback = func(flyteWorkflow *v1alpha1.FlyteWorkflow, opts v1.CreateOptions) (*v1alpha1.FlyteWorkflow, error) { - return nil, k8_api_err.NewAlreadyExists(schema.GroupResource{}, "") + return nil, k8_api_err.NewAlreadyExists(schema.GroupResource{}, " ") } fakeFlyteWF.flyteWorkflowsCallback = func(ns string) v1alpha12.FlyteWorkflowInterface { assert.Equal(t, namespace, ns) @@ -338,7 +339,9 @@ func TestAbort_MiscError(t *testing.T) { ExecutionID: execID, Cluster: clusterID, }) - assert.EqualError(t, err, "failed to terminate execution: project:\"proj\" domain:\"domain\" name:\"name\" with err call failed") + regex := regexp.MustCompile(`\s+`) + expected := "failed to terminate execution: project:\"proj\" domain:\"domain\" name:\"name\" with err call failed" + assert.Equal(t, regex.ReplaceAllString(err.Error(), ""), regex.ReplaceAllString(expected, "")) } func TestExecute_OffloadWorkflowClosure(t *testing.T) { diff --git a/flyteadmin/tests/project_test.go b/flyteadmin/tests/project_test.go index a10dc2d072..daf3c792f7 100644 --- a/flyteadmin/tests/project_test.go +++ b/flyteadmin/tests/project_test.go @@ -5,6 +5,7 @@ package tests import ( "context" + "github.com/flyteorg/flyte/flytestdlib/utils" "testing" "github.com/stretchr/testify/assert" @@ -29,8 +30,8 @@ func TestCreateProject(t *testing.T) { ResourceType: core.ResourceType_TASK, }, }) - assert.EqualError(t, err, "rpc error: code = NotFound desc = missing entity of type TASK"+ - " with identifier project:\"potato\" domain:\"development\" name:\"task\" version:\"1234\" ") + utils.AssertEqualWithSanitizedRegex(t, "rpc error: code = NotFound desc = missing entity of type TASK"+ + " with identifier project:\"potato\" domain:\"development\" name:\"task\" version:\"1234\" ", err.Error()) assert.Empty(t, task) req := admin.ProjectRegisterRequest{ diff --git a/flyteidl/Makefile b/flyteidl/Makefile index 2c7276fa98..705679dfc9 100644 --- a/flyteidl/Makefile +++ b/flyteidl/Makefile @@ -8,7 +8,7 @@ pip-compile $(1) --upgrade --verbose endef .PHONY: generate -generate: install doc_gen_deps # install tools, generate protos, mock, pflags and get doc dependencies +generate: install # install tools, generate protos, mock, pflags and get doc dependencies ./generate_protos.sh ./generate_mocks.sh go generate ./... @@ -34,11 +34,6 @@ build_python: install-piptools: pip install -U pip-tools -.PHONY: doc_gen_deps # these dependencies are required by protoc gen doc for the protos which have external library dependencies. -# which includes grpc-gateway, googleapis, k8.io/api and apimachinery, protocolbuffers -doc_gen_deps: - ./scripts/doc_gen_deps.sh - .PHONY: doc-requirements.txt doc-requirements.txt: doc-requirements.in install-piptools $(call PIP_COMPILE,doc-requirements.in) diff --git a/flyteidl/buf.gen.yaml b/flyteidl/buf.gen.yaml index 8d51e7dbc7..8bea491bf4 100644 --- a/flyteidl/buf.gen.yaml +++ b/flyteidl/buf.gen.yaml @@ -10,3 +10,30 @@ plugins: out: gen/pb_python - plugin: buf.build/community/neoeinstein-prost out: gen/pb_rust + - plugin: buf.build/protocolbuffers/go:v1.30.0 + out: gen/pb-go + opt: + - paths=source_relative + - plugin: buf.build/grpc/go:v1.3.0 + out: gen/pb-go + opt: + - paths=source_relative + - require_unimplemented_servers=false + - plugin: buf.build/grpc-ecosystem/gateway:v2.15.2 + out: gen/pb-go/gateway + opt: + - paths=import + - module=github.com/flyteorg/flyte/flyteidl/gen/pb-go + - standalone=true + - allow_delete_body=true + - plugin: buf.build/grpc-ecosystem/openapiv2:v2.19.1 + out: gen/pb-go/gateway + opt: + - json_names_for_fields=false + - allow_delete_body=true + - plugin: buf.build/bufbuild/es:v1.7.2 + out: gen/pb-es + opt: target=ts + - plugin: buf.build/connectrpc/es:v1.3.0 + out: gen/pb-es + opt: target=ts diff --git a/flyteidl/clients/go/admin/mocks/UnsafeAdminServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeAdminServiceServer.go new file mode 100644 index 0000000000..8d134aaef9 --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeAdminServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeAdminServiceServer is an autogenerated mock type for the UnsafeAdminServiceServer type +type UnsafeAdminServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedAdminServiceServer provides a mock function with given fields: +func (_m *UnsafeAdminServiceServer) mustEmbedUnimplementedAdminServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/mocks/UnsafeAgentMetadataServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeAgentMetadataServiceServer.go new file mode 100644 index 0000000000..16bb32c95d --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeAgentMetadataServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeAgentMetadataServiceServer is an autogenerated mock type for the UnsafeAgentMetadataServiceServer type +type UnsafeAgentMetadataServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedAgentMetadataServiceServer provides a mock function with given fields: +func (_m *UnsafeAgentMetadataServiceServer) mustEmbedUnimplementedAgentMetadataServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/mocks/UnsafeAsyncAgentServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeAsyncAgentServiceServer.go new file mode 100644 index 0000000000..45651676e8 --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeAsyncAgentServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeAsyncAgentServiceServer is an autogenerated mock type for the UnsafeAsyncAgentServiceServer type +type UnsafeAsyncAgentServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedAsyncAgentServiceServer provides a mock function with given fields: +func (_m *UnsafeAsyncAgentServiceServer) mustEmbedUnimplementedAsyncAgentServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/mocks/UnsafeAuthMetadataServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeAuthMetadataServiceServer.go new file mode 100644 index 0000000000..3c2980587d --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeAuthMetadataServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeAuthMetadataServiceServer is an autogenerated mock type for the UnsafeAuthMetadataServiceServer type +type UnsafeAuthMetadataServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedAuthMetadataServiceServer provides a mock function with given fields: +func (_m *UnsafeAuthMetadataServiceServer) mustEmbedUnimplementedAuthMetadataServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/mocks/UnsafeDataProxyServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeDataProxyServiceServer.go new file mode 100644 index 0000000000..b472d8a2c3 --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeDataProxyServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeDataProxyServiceServer is an autogenerated mock type for the UnsafeDataProxyServiceServer type +type UnsafeDataProxyServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedDataProxyServiceServer provides a mock function with given fields: +func (_m *UnsafeDataProxyServiceServer) mustEmbedUnimplementedDataProxyServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/mocks/UnsafeExternalPluginServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeExternalPluginServiceServer.go new file mode 100644 index 0000000000..6bc660c65e --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeExternalPluginServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeExternalPluginServiceServer is an autogenerated mock type for the UnsafeExternalPluginServiceServer type +type UnsafeExternalPluginServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedExternalPluginServiceServer provides a mock function with given fields: +func (_m *UnsafeExternalPluginServiceServer) mustEmbedUnimplementedExternalPluginServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/mocks/UnsafeIdentityServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeIdentityServiceServer.go new file mode 100644 index 0000000000..ff85e92a8a --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeIdentityServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeIdentityServiceServer is an autogenerated mock type for the UnsafeIdentityServiceServer type +type UnsafeIdentityServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedIdentityServiceServer provides a mock function with given fields: +func (_m *UnsafeIdentityServiceServer) mustEmbedUnimplementedIdentityServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/mocks/UnsafeSignalServiceServer.go b/flyteidl/clients/go/admin/mocks/UnsafeSignalServiceServer.go new file mode 100644 index 0000000000..dffa8a3fdc --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/UnsafeSignalServiceServer.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// UnsafeSignalServiceServer is an autogenerated mock type for the UnsafeSignalServiceServer type +type UnsafeSignalServiceServer struct { + mock.Mock +} + +// mustEmbedUnimplementedSignalServiceServer provides a mock function with given fields: +func (_m *UnsafeSignalServiceServer) mustEmbedUnimplementedSignalServiceServer() { + _m.Called() +} diff --git a/flyteidl/clients/go/admin/token_source_provider_test.go b/flyteidl/clients/go/admin/token_source_provider_test.go index 1f10d40ce4..63fc1aa56e 100644 --- a/flyteidl/clients/go/admin/token_source_provider_test.go +++ b/flyteidl/clients/go/admin/token_source_provider_test.go @@ -23,7 +23,7 @@ func TestNewTokenSourceProvider(t *testing.T) { audienceCfg string scopesCfg []string useAudienceFromAdmin bool - clientConfigResponse service.PublicClientAuthConfigResponse + clientConfigResponse *service.PublicClientAuthConfigResponse expectedAudience string expectedScopes []string expectedCallsPubEndpoint int @@ -32,7 +32,7 @@ func TestNewTokenSourceProvider(t *testing.T) { name: "audience from client config", audienceCfg: "clientConfiguredAud", scopesCfg: []string{"all"}, - clientConfigResponse: service.PublicClientAuthConfigResponse{}, + clientConfigResponse: &service.PublicClientAuthConfigResponse{}, expectedAudience: "clientConfiguredAud", expectedScopes: []string{"all"}, expectedCallsPubEndpoint: 0, @@ -42,7 +42,7 @@ func TestNewTokenSourceProvider(t *testing.T) { audienceCfg: "clientConfiguredAud", useAudienceFromAdmin: true, scopesCfg: []string{"all"}, - clientConfigResponse: service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, + clientConfigResponse: &service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, expectedAudience: "AdminConfiguredAud", expectedScopes: []string{"all"}, expectedCallsPubEndpoint: 1, @@ -53,7 +53,7 @@ func TestNewTokenSourceProvider(t *testing.T) { audienceCfg: "clientConfiguredAud", useAudienceFromAdmin: false, scopesCfg: []string{"all"}, - clientConfigResponse: service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, + clientConfigResponse: &service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, expectedAudience: "clientConfiguredAud", expectedScopes: []string{"all"}, expectedCallsPubEndpoint: 0, @@ -64,7 +64,7 @@ func TestNewTokenSourceProvider(t *testing.T) { tokenCache := &tokenCacheMocks.TokenCache{} metadataClient := &adminMocks.AuthMetadataServiceClient{} metadataClient.OnGetOAuth2MetadataMatch(mock.Anything, mock.Anything).Return(&service.OAuth2MetadataResponse{}, nil) - metadataClient.OnGetPublicClientConfigMatch(mock.Anything, mock.Anything).Return(&test.clientConfigResponse, nil) + metadataClient.OnGetPublicClientConfigMatch(mock.Anything, mock.Anything).Return(test.clientConfigResponse, nil) cfg.AuthType = AuthTypeClientSecret cfg.Audience = test.audienceCfg cfg.Scopes = test.scopesCfg diff --git a/flyteidl/clients/go/assets/admin.swagger.json b/flyteidl/clients/go/assets/admin.swagger.json new file mode 100644 index 0000000000..590c8ccd2a --- /dev/null +++ b/flyteidl/clients/go/assets/admin.swagger.json @@ -0,0 +1,13531 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/admin.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "AdminService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Retrieve the active launch plan version specified by input request filters.", + "operationId": "AdminService_GetActiveLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/active_launch_plans/org/{org}/{project}/{domain}": { + "get": { + "summary": "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Fetch the active launch plan versions specified by input request filters.", + "operationId": "AdminService_ListActiveLaunchPlans2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Retrieve the active launch plan version specified by input request filters.", + "operationId": "AdminService_GetActiveLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/active_launch_plans/{project}/{domain}": { + "get": { + "summary": "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Fetch the active launch plan versions specified by input request filters.", + "operationId": "AdminService_ListActiveLaunchPlans", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`.", + "operationId": "AdminService_ListNodeExecutionsForTask2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "task_execution_id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "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" + }, + { + "name": "task_execution_id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`.", + "operationId": "AdminService_ListNodeExecutionsForTask", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "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" + }, + { + "name": "task_execution_id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "task_execution_id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_GetExecutionData", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecutionData", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecutionData2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve input and output data from an existing task execution.", + "operationId": "AdminService_GetTaskExecutionData2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_GetExecutionData2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve input and output data from an existing task execution.", + "operationId": "AdminService_GetTaskExecutionData", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object.", + "description": "Retrieve an existing description entity description.", + "operationId": "AdminService_GetDescriptionEntity2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object.", + "description": "Retrieve an existing description entity description.", + "operationId": "AdminService_GetDescriptionEntity", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/nodes": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred.", + "description": "Create a node execution event recording a phase transition.", + "operationId": "AdminService_CreateNodeEvent", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to send a notification that a node execution event has occurred.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminNodeExecutionEventRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/org/{event.execution_id.org}/workflows": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred.", + "description": "Create a workflow execution event recording a phase transition.", + "operationId": "AdminService_CreateWorkflowEvent2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "event.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateWorkflowEventBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/org/{event.id.execution_id.org}/nodes": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred.", + "description": "Create a node execution event recording a phase transition.", + "operationId": "AdminService_CreateNodeEvent2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "event.id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateNodeEventBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred.", + "description": "Create a task execution event recording a phase transition.", + "operationId": "AdminService_CreateTaskEvent2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "event.parent_node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateTaskEventBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/tasks": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred.", + "description": "Create a task execution event recording a phase transition.", + "operationId": "AdminService_CreateTaskEvent", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to send a notification that a task execution event has occurred.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminTaskExecutionEventRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/workflows": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred.", + "description": "Create a workflow execution event recording a phase transition.", + "operationId": "AdminService_CreateWorkflowEvent", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to send a notification that a workflow execution event has occurred.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionEventRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions": { + "post": { + "summary": "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`", + "description": "Create a workflow execution.", + "operationId": "AdminService_CreateExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to launch an execution with the given project, domain and optionally-assigned name.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminExecutionCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/recover": { + "post": { + "summary": "Recreates a previously-run workflow execution that will only start executing from the last known failure point.\nIn Recover mode, users cannot change any input parameters or update the version of the execution.\nThis is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures,\ndownstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\nSee :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details.", + "description": "Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.", + "operationId": "AdminService_RecoverExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceRecoverExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/relaunch": { + "post": { + "summary": "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`", + "description": "Relaunch a workflow execution.", + "operationId": "AdminService_RelaunchExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceRelaunchExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_ListExecutions2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve an existing workflow execution.", + "operationId": "AdminService_GetExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_TerminateExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionTerminateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceTerminateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_UpdateExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{org}": { + "put": { + "summary": "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`", + "description": "Create a workflow execution.", + "operationId": "AdminService_CreateExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/recover": { + "post": { + "summary": "Recreates a previously-run workflow execution that will only start executing from the last known failure point.\nIn Recover mode, users cannot change any input parameters or update the version of the execution.\nThis is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures,\ndownstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\nSee :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details.", + "description": "Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.", + "operationId": "AdminService_RecoverExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to recover the referenced execution.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminExecutionRecoverRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/relaunch": { + "post": { + "summary": "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`", + "description": "Relaunch a workflow execution.", + "operationId": "AdminService_RelaunchExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to relaunch the referenced execution.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminExecutionRelaunchRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_ListExecutions", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve an existing workflow execution.", + "operationId": "AdminService_GetExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_TerminateExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionTerminateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceTerminateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_UpdateExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plan_ids/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects.", + "description": "Fetch existing launch plan definition identifiers matching input filters.", + "operationId": "AdminService_ListLaunchPlanIds2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plan_ids/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects.", + "description": "Fetch existing launch plan definition identifiers matching input filters.", + "operationId": "AdminService_ListLaunchPlanIds", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition", + "description": "Create and register a launch plan definition.", + "operationId": "AdminService_CreateLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required\nto launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminLaunchPlanCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition", + "description": "Create and register a launch plan definition.", + "operationId": "AdminService_CreateLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateLaunchPlanBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition.", + "description": "Retrieve an existing launch plan definition.", + "operationId": "AdminService_GetLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.", + "operationId": "AdminService_UpdateLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "state", + "description": "Desired state to apply to the launch plan.\n+required.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "INACTIVE", + "ACTIVE" + ], + "default": "INACTIVE" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition.", + "description": "Retrieve an existing launch plan definition.", + "operationId": "AdminService_GetLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.", + "operationId": "AdminService_UpdateLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateLaunchPlanBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/matchable_attributes": { + "get": { + "summary": "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type.", + "description": "Retrieve a list of MatchableAttributesConfiguration objects.", + "operationId": "AdminService_ListMatchableAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminListMatchableAttributesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/matchable_attributes/org/{org}": { + "get": { + "summary": "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type.", + "description": "Retrieve a list of MatchableAttributesConfiguration objects.", + "operationId": "AdminService_ListMatchableAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminListMatchableAttributesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve metrics from an existing workflow execution.", + "operationId": "AdminService_GetExecutionMetrics2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetMetricsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "depth", + "description": "depth defines the number of Flyte entity levels to traverse when breaking down execution details.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve metrics from an existing workflow execution.", + "operationId": "AdminService_GetExecutionMetrics", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetMetricsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "depth", + "description": "depth defines the number of Flyte entity levels to traverse when breaking down execution details.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Retrieve a NamedEntity object.", + "operationId": "AdminService_GetNamedEntity2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Update the fields associated with a NamedEntity", + "operationId": "AdminService_UpdateNamedEntity2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Resource type of the metadata to update\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateNamedEntityBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}": { + "get": { + "summary": "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects.", + "description": "Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain.", + "operationId": "AdminService_ListNamedEntities2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Retrieve a NamedEntity object.", + "operationId": "AdminService_GetNamedEntity", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Update the fields associated with a NamedEntity", + "operationId": "AdminService_UpdateNamedEntity", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Resource type of the metadata to update\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateNamedEntityBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/{resource_type}/{project}/{domain}": { + "get": { + "summary": "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects.", + "description": "Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain.", + "operationId": "AdminService_ListNamedEntities", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminNodeExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`.", + "operationId": "AdminService_GetDynamicNodeWorkflow2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDynamicNodeWorkflowResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_ListNodeExecutions2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "workflow_execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "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" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "unique_parent_id", + "description": "Unique identifier of the parent node in the execution\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminNodeExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`.", + "operationId": "AdminService_GetDynamicNodeWorkflow", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDynamicNodeWorkflowResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_ListNodeExecutions", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "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" + }, + { + "name": "workflow_execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "unique_parent_id", + "description": "Unique identifier of the parent node in the execution\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_attributes/{attributes.project}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level", + "description": "Update the customized resource attributes associated with a project", + "operationId": "AdminService_UpdateProjectAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_attributes/{project}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project", + "operationId": "AdminService_GetProjectAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org key applied to the project.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project", + "operationId": "AdminService_DeleteProjectAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level", + "description": "Update the customized resource attributes associated with a project", + "operationId": "AdminService_UpdateProjectAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.org", + "description": "Optional, org key applied to the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Update the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_UpdateProjectDomainAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{org}/{project}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project", + "operationId": "AdminService_GetProjectAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project", + "operationId": "AdminService_DeleteProjectAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_GetProjectDomainAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_DeleteProjectDomainAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Update the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_UpdateProjectDomainAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/{project}/{domain}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_GetProjectDomainAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_DeleteProjectDomainAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.Project`", + "description": "Fetch registered projects.", + "operationId": "AdminService_ListProjects", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjects" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "limit", + "description": "Indicates the number of projects to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "post": { + "summary": "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment.", + "operationId": "AdminService_RegisterProject", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectRegisterResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminProjectRegisterRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/org/{org}": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.Project`", + "description": "Fetch registered projects.", + "operationId": "AdminService_ListProjects2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjects" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of projects to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/org/{org}/{id}": { + "put": { + "summary": "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project should be passed but the domains property should be empty;\nit will be ignored in the handler as domains cannot be updated via this API.", + "description": "Update a project.", + "operationId": "AdminService_UpdateProject2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "description": "Globally unique project name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/org/{project.org}": { + "post": { + "summary": "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment.", + "operationId": "AdminService_RegisterProject2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectRegisterResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceRegisterProjectBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/{id}": { + "put": { + "summary": "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project should be passed but the domains property should be empty;\nit will be ignored in the handler as domains cannot be updated via this API.", + "description": "Update a project.", + "operationId": "AdminService_UpdateProject", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id", + "description": "Globally unique project name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve an existing task execution.", + "operationId": "AdminService_GetTaskExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Fetch existing task executions matching input filters.", + "operationId": "AdminService_ListTaskExecutions2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve an existing task execution.", + "operationId": "AdminService_GetTaskExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Fetch existing task executions matching input filters.", + "operationId": "AdminService_ListTaskExecutions", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/task_ids/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects.", + "description": "Fetch existing task definition identifiers matching input filters.", + "operationId": "AdminService_ListTaskIds", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Task` definition", + "description": "Create and register a task definition.", + "operationId": "AdminService_CreateTask", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/flyteidladminTaskCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Task` definition", + "description": "Create and register a task definition.", + "operationId": "AdminService_CreateTask2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/serviceAdminServiceCreateTaskBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Task` definition.", + "description": "Retrieve an existing task definition.", + "operationId": "AdminService_GetTask2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTask" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects.", + "description": "Fetch existing task definition identifiers matching input filters.", + "operationId": "AdminService_ListTaskIds2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Task` definition.", + "description": "Retrieve an existing task definition.", + "operationId": "AdminService_GetTask", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTask" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/version": { + "get": { + "description": "Retrieve the Version (including the Build information) for FlyteAdmin service", + "operationId": "AdminService_GetVersion", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminGetVersionResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Update the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_UpdateWorkflowAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.workflow", + "description": "Workflow name for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Retrieve the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_GetWorkflowAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Delete the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_DeleteWorkflowAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Update the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_UpdateWorkflowAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.workflow", + "description": "Workflow name for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Retrieve the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_GetWorkflowAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Delete the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_DeleteWorkflowAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_ids/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects.", + "operationId": "AdminService_ListWorkflowIds", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition", + "description": "Create and register a workflow definition.", + "operationId": "AdminService_CreateWorkflow", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminWorkflowCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition", + "description": "Create and register a workflow definition.", + "operationId": "AdminService_CreateWorkflow2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateWorkflowBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition.", + "description": "Retrieve an existing workflow definition.", + "operationId": "AdminService_GetWorkflow2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects.", + "operationId": "AdminService_ListWorkflowIds2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition.", + "description": "Retrieve an existing workflow definition.", + "operationId": "AdminService_GetWorkflow", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + } + }, + "definitions": { + "AdminServiceCreateExecutionBody": { + "type": "object", + "properties": { + "project": { + "type": "string", + "title": "Name of the project the execution belongs to.\n+required" + }, + "domain": { + "type": "string", + "title": "Name of the domain the execution belongs to.\nA domain can be considered as a subset within a specific project.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the resource.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "spec": { + "$ref": "#/definitions/adminExecutionSpec", + "title": "Additional fields necessary to launch the execution.\n+optional" + }, + "inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "The inputs required to start the execution. All required inputs must be\nincluded in this map. If not required and not provided, defaults apply.\n+optional" + } + }, + "description": "Request to launch an execution with the given project, domain and optionally-assigned name." + }, + "AdminServiceCreateLaunchPlanBody": { + "type": "object", + "properties": { + "id": { + "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": "Uniquely identifies a launch plan entity.", + "title": "Uniquely identifies a launch plan entity." + }, + "spec": { + "$ref": "#/definitions/adminLaunchPlanSpec", + "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." + } + }, + "description": "Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required\nto launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan." + }, + "AdminServiceCreateNodeEventBody": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "type": "object", + "properties": { + "id": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "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" + } + }, + "title": "Unique identifier for this node execution" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreNodeExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the node." + }, + "input_uri": { + "type": "string" + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this node execution." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this node execution." + }, + "workflow_node_metadata": { + "$ref": "#/definitions/flyteidleventWorkflowNodeMetadata" + }, + "task_node_metadata": { + "$ref": "#/definitions/flyteidleventTaskNodeMetadata" + }, + "parent_task_metadata": { + "$ref": "#/definitions/eventParentTaskExecutionMetadata", + "description": "[To be deprecated] Specifies which task (if any) launched this node." + }, + "parent_node_metadata": { + "$ref": "#/definitions/eventParentNodeExecutionMetadata", + "description": "Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node." + }, + "retry_group": { + "type": "string", + "title": "Retry group to indicate grouping of nodes by retries" + }, + "spec_node_id": { + "type": "string", + "title": "Identifier of the node in the original workflow/graph\nThis maps to value of WorkflowTemplate.nodes[X].id" + }, + "node_name": { + "type": "string", + "title": "Friendly readable name for the node" + }, + "event_version": { + "type": "integer", + "format": "int32" + }, + "is_parent": { + "type": "boolean", + "description": "Whether this node launched a subworkflow." + }, + "is_dynamic": { + "type": "boolean", + "description": "Whether this node yielded a dynamic workflow." + }, + "deck_uri": { + "type": "string", + "title": "String location uniquely identifying where the deck HTML file is\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example,\nwhen first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when\nliteral inputs are initially copied. The event however will not be sent until after the copy completes.\nExtracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series." + }, + "is_array": { + "type": "boolean", + "description": "Indicates if this node is an ArrayNode." + } + }, + "description": "Details about the event that occurred.", + "title": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a node execution event has occurred." + }, + "AdminServiceCreateTaskEventBody": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "type": "object", + "properties": { + "task_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "ID of the task. In combination with the retryAttempt this will indicate\nthe task execution uniquely for a given parent node execution." + }, + "parent_node_execution_id": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "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" + } + }, + "title": "A task execution is always kicked off by a node execution, the event consumer\nwill use the parent_id to relate the task to it's parent node execution" + }, + "retry_attempt": { + "type": "integer", + "format": "int64", + "title": "retry attempt number for this task, ie., 2 for the second attempt" + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "title": "Phase associated with the event" + }, + "producer_id": { + "type": "string", + "title": "id of the process that sent this event, mainly for trace debugging" + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "title": "log information for the task execution" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the task." + }, + "input_uri": { + "type": "string", + "description": "URI of the input file, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this task execution." + }, + "output_uri": { + "type": "string", + "description": "URI to the output of the execution, it will be in a format that encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this task execution." + }, + "custom_info": { + "type": "object", + "description": "Custom data that the task plugin sends back. This is extensible to allow various plugins in the system." + }, + "phase_version": { + "type": "integer", + "format": "int64", + "description": "Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)\nthat should be recorded regardless of the lack of phase change.\nThe version field should be incremented when metadata changes across the duration of an individual phase." + }, + "reason": { + "type": "string", + "description": "An optional explanation for the phase transition.\nDeprecated: Use reasons instead." + }, + "reasons": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventEventReason" + }, + "description": "An optional list of explanations for the phase transition." + }, + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin\nthis type will be identical, but not all task executions necessarily use pre-registered definitions and this\ntype is useful to render the task in the UI, filter task executions, etc." + }, + "metadata": { + "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", + "description": "Metadata around how a task was executed." + }, + "event_version": { + "type": "integer", + "format": "int32", + "description": "The event version is used to indicate versioned changes in how data is reported using this\nproto message. For example, event_verison \u003e 0 means that maps tasks report logs using the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s\npod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,\nbut this event will not be reported until the pod is marked as completed. Extracting both of these timestamps\nfacilitates a more accurate portrayal of the evaluation time-series." + } + }, + "description": "Details about the event that occurred.", + "title": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a task execution event has occurred." + }, + "AdminServiceCreateWorkflowBody": { + "type": "object", + "properties": { + "id": { + "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." + } + }, + "title": "id represents the unique identifier of the workflow.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminWorkflowSpec", + "title": "Represents the specification for workflow.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a workflow.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" + }, + "AdminServiceCreateWorkflowEventBody": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "type": "object", + "properties": { + "execution_id": { + "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": "Workflow execution id" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreWorkflowExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the workflow." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this workflow execution." + } + }, + "description": "Details about the event that occurred.", + "title": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a workflow execution event has occurred." + }, + "AdminServiceDeleteProjectAttributesBody": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/adminMatchableResource", + "title": "Which type of matchable attributes to delete.\n+required" + } + }, + "title": "Request to delete a set matchable project level attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceDeleteProjectDomainAttributesBody": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/adminMatchableResource", + "title": "Which type of matchable attributes to delete.\n+required" + } + }, + "title": "Request to delete a set matchable project domain attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceDeleteWorkflowAttributesBody": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/adminMatchableResource", + "title": "Which type of matchable attributes to delete.\n+required" + } + }, + "title": "Request to delete a set matchable workflow attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceRecoverExecutionBody": { + "type": "object", + "properties": { + "id": { + "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." + } + }, + "description": "Identifier of the workflow execution to recover.", + "title": "Identifier of the workflow execution to recover." + }, + "name": { + "type": "string", + "title": "User provided value for the recovered execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "metadata": { + "$ref": "#/definitions/adminExecutionMetadata", + "description": "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution." + } + }, + "description": "Request to recover the referenced execution." + }, + "AdminServiceRegisterProjectBody": { + "type": "object", + "properties": { + "project": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Globally unique project name." + }, + "name": { + "type": "string", + "description": "Display name." + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDomain" + } + }, + "description": { + "type": "string" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Leverage Labels from flyteidl.admin.common.proto to\ntag projects with ownership information." + }, + "state": { + "$ref": "#/definitions/ProjectProjectState" + } + }, + "title": "+required" + } + }, + "title": "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project` for more details" + }, + "AdminServiceRelaunchExecutionBody": { + "type": "object", + "properties": { + "id": { + "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": "Identifier of the workflow execution to relaunch.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the relaunched execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + } + }, + "description": "Request to relaunch the referenced execution." + }, + "AdminServiceTerminateExecutionBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "description": "Uniquely identifies the individual workflow execution to be terminated.", + "title": "Uniquely identifies the individual workflow execution to be terminated." + }, + "cause": { + "type": "string", + "description": "Optional reason for aborting." + } + }, + "description": "Request to terminate an in-progress execution. This action is irreversible.\nIf an execution is already terminated, this request will simply be a no-op.\nThis request will fail if it references a non-existent execution.\nIf the request succeeds the phase \"ABORTED\" will be recorded for the termination\nwith the optional cause added to the output_result." + }, + "AdminServiceUpdateExecutionBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "title": "Identifier of the execution to update" + }, + "state": { + "$ref": "#/definitions/adminExecutionState", + "title": "State to set as the new value active/archive" + } + } + }, + "AdminServiceUpdateLaunchPlanBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Identifies the specific type of resource that this identifier corresponds to." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Identifier of launch plan for which to change state.\n+required.", + "title": "Identifier of launch plan for which to change state.\n+required." + }, + "state": { + "$ref": "#/definitions/adminLaunchPlanState", + "description": "Desired state to apply to the launch plan.\n+required." + } + }, + "title": "Request to set the referenced launch plan state to the configured value.\nSee :ref:`ref_flyteidl.admin.LaunchPlan` for more details" + }, + "AdminServiceUpdateNamedEntityBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "title": "Identifier of the metadata to update\n+required" + }, + "metadata": { + "$ref": "#/definitions/adminNamedEntityMetadata", + "title": "Metadata object to set as the new value\n+required" + } + }, + "description": "Request to set the referenced named entity state to the configured value." + }, + "AdminServiceUpdateProjectAttributesBody": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + }, + "title": "+required" + } + }, + "title": "Sets custom attributes for a project\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceUpdateProjectBody": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Display name." + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDomain" + } + }, + "description": { + "type": "string" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Leverage Labels from flyteidl.admin.common.proto to\ntag projects with ownership information." + }, + "state": { + "$ref": "#/definitions/ProjectProjectState" + } + }, + "description": "Top-level namespace used to classify different entities like workflows and executions." + }, + "AdminServiceUpdateProjectDomainAttributesBody": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + }, + "title": "+required" + } + }, + "title": "Sets custom attributes for a project-domain combination.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceUpdateWorkflowAttributesBody": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + }, + "title": "Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + } + }, + "title": "Sets custom attributes for a project, domain and workflow combination.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "ComparisonExpressionOperator": { + "type": "string", + "enum": [ + "EQ", + "NEQ", + "GT", + "GTE", + "LT", + "LTE" + ], + "default": "EQ", + "description": "- GT: Greater Than\n - LT: Less Than", + "title": "Binary Operator for each expression" + }, + "ConjunctionExpressionLogicalOperator": { + "type": "string", + "enum": [ + "AND", + "OR" + ], + "default": "AND", + "description": "- AND: Conjunction", + "title": "Nested conditions. They can be conjoined using AND / OR\nOrder of evaluation is not important as the operators are Commutative" + }, + "ConnectionSetIdList": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ContainerArchitecture": { + "type": "string", + "enum": [ + "UNKNOWN", + "AMD64", + "ARM64", + "ARM_V6", + "ARM_V7" + ], + "default": "UNKNOWN", + "description": "Architecture-type the container image supports." + }, + "DataLoadingConfigLiteralMapFormat": { + "type": "string", + "enum": [ + "JSON", + "YAML", + "PROTO" + ], + "default": "JSON", + "description": "- JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core", + "title": "LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers.\nIf the user has access to the protocol buffer definitions, it is recommended to use the PROTO format.\nJSON and YAML do not need any protobuf definitions to read it\nAll remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)" + }, + "ExecutionErrorErrorKind": { + "type": "string", + "enum": [ + "UNKNOWN", + "USER", + "SYSTEM" + ], + "default": "UNKNOWN", + "title": "Error type: System or User" + }, + "ExecutionMetadataExecutionMode": { + "type": "string", + "enum": [ + "MANUAL", + "SCHEDULED", + "SYSTEM", + "RELAUNCH", + "CHILD_WORKFLOW", + "RECOVERED" + ], + "default": "MANUAL", + "description": "The method by which this execution was launched.\n\n - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual.\n - SCHEDULED: A schedule triggered this execution launch.\n - SYSTEM: A system process was responsible for launching this execution rather an individual.\n - RELAUNCH: This execution was launched with identical inputs as a previous execution.\n - CHILD_WORKFLOW: This execution was triggered by another execution.\n - RECOVERED: This execution was recovered from another execution." + }, + "IOStrategyDownloadMode": { + "type": "string", + "enum": [ + "DOWNLOAD_EAGER", + "DOWNLOAD_STREAM", + "DO_NOT_DOWNLOAD" + ], + "default": "DOWNLOAD_EAGER", + "description": "- DOWNLOAD_EAGER: All data will be downloaded before the main container is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded", + "title": "Mode to use for downloading" + }, + "IOStrategyUploadMode": { + "type": "string", + "enum": [ + "UPLOAD_ON_EXIT", + "UPLOAD_EAGER", + "DO_NOT_UPLOAD" + ], + "default": "UPLOAD_ON_EXIT", + "description": "- UPLOAD_ON_EXIT: All data will be uploaded after the main container exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written", + "title": "Mode to use for uploading" + }, + "PluginOverrideMissingPluginBehavior": { + "type": "string", + "enum": [ + "FAIL", + "USE_DEFAULT" + ], + "default": "FAIL", + "description": " - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail.\n - USE_DEFAULT: Uses the system-configured default implementation." + }, + "ProjectProjectState": { + "type": "string", + "enum": [ + "ACTIVE", + "ARCHIVED", + "SYSTEM_GENERATED" + ], + "default": "ACTIVE", + "description": "The state of the project is used to control its visibility in the UI and validity.\n\n - ACTIVE: By default, all projects are considered active.\n - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid.\n - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user." + }, + "QualityOfServiceTier": { + "type": "string", + "enum": [ + "UNDEFINED", + "HIGH", + "MEDIUM", + "LOW" + ], + "default": "UNDEFINED", + "description": " - UNDEFINED: Default: no quality of service specified." + }, + "ResourcesResourceEntry": { + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourcesResourceName", + "description": "Resource name." + }, + "value": { + "type": "string", + "title": "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" + } + }, + "description": "Encapsulates a resource name and value." + }, + "ResourcesResourceName": { + "type": "string", + "enum": [ + "UNKNOWN", + "CPU", + "GPU", + "MEMORY", + "STORAGE", + "EPHEMERAL_STORAGE" + ], + "default": "UNKNOWN", + "description": "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." + }, + "RuntimeMetadataRuntimeType": { + "type": "string", + "enum": [ + "OTHER", + "FLYTE_SDK" + ], + "default": "OTHER" + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "SecretMountType": { + "type": "string", + "enum": [ + "ANY", + "ENV_VAR", + "FILE" + ], + "default": "ANY", + "description": " - ANY: Default case, indicates the client can tolerate either mounting options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable.\n - FILE: FILE indicates the secret needs to be mounted as a file." + }, + "SortDirection": { + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING", + "description": " - DESCENDING: By default, fields are sorted in descending order." + }, + "SqlDialect": { + "type": "string", + "enum": [ + "UNDEFINED", + "ANSI", + "HIVE", + "OTHER" + ], + "default": "UNDEFINED", + "description": "The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid\nexpensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement.\nWe support the following dialect: ansi, hive." + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "TaskExecutionMetadataInstanceClass": { + "type": "string", + "enum": [ + "DEFAULT", + "INTERRUPTIBLE" + ], + "default": "DEFAULT", + "description": "Includes the broad category of machine used for this specific task execution.\n\n - DEFAULT: The default instance class configured for the flyte application platform.\n - INTERRUPTIBLE: The instance class configured for interruptible tasks." + }, + "TaskLogMessageFormat": { + "type": "string", + "enum": [ + "UNKNOWN", + "CSV", + "JSON" + ], + "default": "UNKNOWN" + }, + "WorkflowMetadataOnFailurePolicy": { + "type": "string", + "enum": [ + "FAIL_IMMEDIATELY", + "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" + ], + "default": "FAIL_IMMEDIATELY", + "description": "- FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically\nabort all currently running nodes and clean up resources before finally marking the workflow executions as\nfailed.\n - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will\nnot alter the dependencies of the execution graph so any node that depend on the failed node will not be run.\nOther nodes that will be executed to completion before cleaning up resources and marking the workflow\nexecution as failed.", + "title": "Failure Handling Strategy" + }, + "adminAbortMetadata": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "In the case of a user-specified abort, this will pass along the user-supplied cause." + }, + "principal": { + "type": "string", + "title": "Identifies the entity (if any) responsible for terminating the execution" + } + }, + "description": "Specifies metadata around an aborted workflow execution." + }, + "adminAnnotations": { + "type": "object", + "properties": { + "values": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of custom annotations to be applied to the execution resource." + } + }, + "description": "Annotation values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge annotations defined at registration and execution time." + }, + "adminAuth": { + "type": "object", + "properties": { + "assumable_iam_role": { + "type": "string", + "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + }, + "kubernetes_service_account": { + "type": "string", + "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + } + }, + "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." + }, + "adminAuthRole": { + "type": "object", + "properties": { + "assumable_iam_role": { + "type": "string", + "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + }, + "kubernetes_service_account": { + "type": "string", + "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + } + }, + "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." + }, + "adminClusterAssignment": { + "type": "object", + "properties": { + "cluster_pool_name": { + "type": "string" + } + }, + "description": "Encapsulates specifications for routing an execution onto a specific cluster." + }, + "adminClusterResourceAttributes": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names of variables in templatized resource files.\nMap values should be the custom values which get substituted during resource creation." + } + } + }, + "adminCronSchedule": { + "type": "object", + "properties": { + "schedule": { + "type": "string", + "title": "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;\nAlso supports nonstandard predefined scheduling definitions\nas described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\nexcept @reboot" + }, + "offset": { + "type": "string", + "title": "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" + } + }, + "description": "Options for schedules to run according to a cron expression." + }, + "adminDescription": { + "type": "object", + "properties": { + "value": { + "type": "string", + "title": "long description - no more than 4KB" + }, + "uri": { + "type": "string", + "title": "if the description sizes exceed some threshold we can offload the entire\ndescription proto altogether to an external data store, like S3 rather than store inline in the db" + }, + "format": { + "$ref": "#/definitions/adminDescriptionFormat", + "title": "Format of the long description" + }, + "icon_link": { + "type": "string", + "title": "Optional link to an icon for the entity" + } + }, + "description": "Full user description with formatting preserved. This can be rendered\nby clients, such as the console or command line tools with in-tact\nformatting." + }, + "adminDescriptionEntity": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the description entity." + }, + "short_description": { + "type": "string", + "description": "One-liner overview of the entity." + }, + "long_description": { + "$ref": "#/definitions/adminDescription", + "description": "Full user description with formatting preserved." + }, + "source_code": { + "$ref": "#/definitions/adminSourceCode", + "description": "Optional link to source code used to define this entity." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "User-specified tags. These are arbitrary and can be used for searching\nfiltering and discovering tasks." + } + }, + "description": "DescriptionEntity contains detailed description for the task/workflow.\nDocumentation could provide insight into the algorithms, business use case, etc." + }, + "adminDescriptionEntityList": { + "type": "object", + "properties": { + "descriptionEntities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDescriptionEntity" + }, + "description": "A list of DescriptionEntities returned based on the request." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of DescriptionEntities returned from the admin.\nSee :ref:`ref_flyteidl.admin.DescriptionEntity` for more details" + }, + "adminDescriptionFormat": { + "type": "string", + "enum": [ + "DESCRIPTION_FORMAT_UNKNOWN", + "DESCRIPTION_FORMAT_MARKDOWN", + "DESCRIPTION_FORMAT_HTML", + "DESCRIPTION_FORMAT_RST" + ], + "default": "DESCRIPTION_FORMAT_UNKNOWN", + "description": "- DESCRIPTION_FORMAT_RST: python default documentation - comments is rst", + "title": "The format of the long description" + }, + "adminDomain": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Globally unique domain name." + }, + "name": { + "type": "string", + "description": "Display name." + } + }, + "description": "Namespace within a project commonly used to differentiate between different service instances.\ne.g. \"production\", \"development\", etc." + }, + "adminDynamicNodeWorkflowResponse": { + "type": "object", + "properties": { + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure" + } + } + }, + "adminEmailNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of email addresses recipients for this notification.\n+required" + } + }, + "description": "Defines an email notification specification." + }, + "adminEnvs": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Map of custom environment variables to be applied to the execution resource." + } + }, + "description": "Environment variable values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge environment variables defined at registration and execution time." + }, + "adminExecution": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Unique identifier of the workflow execution." + }, + "spec": { + "$ref": "#/definitions/adminExecutionSpec", + "description": "User-provided configuration and inputs for launching the execution." + }, + "closure": { + "$ref": "#/definitions/adminExecutionClosure", + "description": "Execution results." + } + }, + "description": "A workflow execution represents an instantiated workflow, including all inputs and additional\nmetadata as well as computed results included state, outputs, and duration-based attributes.\nUsed as a response object used in Get and List execution requests." + }, + "adminExecutionClosure": { + "type": "object", + "properties": { + "outputs": { + "$ref": "#/definitions/adminLiteralMapBlob", + "description": "Output URI in the case of a successful execution.\nDEPRECATED. Use GetExecutionData to fetch output data instead." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "description": "Error information in the case of a failed execution." + }, + "abort_cause": { + "type": "string", + "description": "In the case of a user-specified abort, this will pass along the user-supplied cause." + }, + "abort_metadata": { + "$ref": "#/definitions/adminAbortMetadata", + "description": "In the case of a user-specified abort, this will pass along the user and their supplied cause." + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this execution.\nDEPRECATED. Use GetExecutionData to fetch output data instead." + }, + "computed_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "Inputs computed and passed for execution.\ncomputed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan" + }, + "phase": { + "$ref": "#/definitions/coreWorkflowExecutionPhase", + "description": "Most recent recorded phase for the execution." + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "Reported time at which the execution began running." + }, + "duration": { + "type": "string", + "description": "The amount of time the execution spent running." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Reported time at which the execution was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Reported time at which the execution was last updated." + }, + "notifications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNotification" + }, + "description": "The notification settings to use after merging the CreateExecutionRequest and the launch plan\nnotification settings. An execution launched with notifications will always prefer that definition\nto notifications defined statically in a launch plan." + }, + "workflow_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Identifies the workflow definition for this execution." + }, + "state_change_details": { + "$ref": "#/definitions/adminExecutionStateChangeDetails", + "title": "Provides the details of the last stage change" + } + }, + "title": "Encapsulates the results of the Execution" + }, + "adminExecutionClusterLabel": { + "type": "object", + "properties": { + "value": { + "type": "string", + "title": "Label value to determine where the execution will be run" + } + } + }, + "adminExecutionCreateRequest": { + "type": "object", + "properties": { + "project": { + "type": "string", + "title": "Name of the project the execution belongs to.\n+required" + }, + "domain": { + "type": "string", + "title": "Name of the domain the execution belongs to.\nA domain can be considered as a subset within a specific project.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the resource.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "spec": { + "$ref": "#/definitions/adminExecutionSpec", + "title": "Additional fields necessary to launch the execution.\n+optional" + }, + "inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "The inputs required to start the execution. All required inputs must be\nincluded in this map. If not required and not provided, defaults apply.\n+optional" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Request to launch an execution with the given project, domain and optionally-assigned name." + }, + "adminExecutionCreateResponse": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "description": "The unique identifier for a successfully created execution.\nIf the name was *not* specified in the create request, this identifier will include a generated name." + }, + "adminExecutionList": { + "type": "object", + "properties": { + "executions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminExecution" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Used as a response for request to list executions.\nSee :ref:`ref_flyteidl.admin.Execution` for more details" + }, + "adminExecutionMetadata": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/definitions/ExecutionMetadataExecutionMode" + }, + "principal": { + "type": "string", + "description": "Identifier of the entity that triggered this execution.\nFor systems using back-end authentication any value set here will be discarded in favor of the\nauthenticated user context." + }, + "nesting": { + "type": "integer", + "format": "int64", + "description": "Indicates the nestedness of this execution.\nIf a user launches a workflow execution, the default nesting is 0.\nIf this execution further launches a workflow (child workflow), the nesting level is incremented by 0 =\u003e 1\nGenerally, if workflow at nesting level k launches a workflow then the child workflow will have\nnesting = k + 1." + }, + "scheduled_at": { + "type": "string", + "format": "date-time", + "description": "For scheduled executions, the requested time for execution for this specific schedule invocation." + }, + "parent_node_execution": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "title": "Which subworkflow node (if any) launched this execution" + }, + "reference_execution": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Optional, a reference workflow execution related to this execution.\nIn the case of a relaunch, this references the original workflow execution." + }, + "system_metadata": { + "$ref": "#/definitions/adminSystemMetadata", + "description": "Optional, platform-specific metadata about the execution.\nIn this the future this may be gated behind an ACL or some sort of authorization." + }, + "artifact_ids": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreArtifactID" + }, + "description": "Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping\nsince we don't have a structure to handle nested ones anyways." + } + }, + "description": "Represents attributes about an execution which are not required to launch the execution but are useful to record.\nThese attributes are assigned at launch time and do not change." + }, + "adminExecutionQueueAttributes": { + "type": "object", + "properties": { + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Tags used for assigning execution queues for tasks defined within this project." + } + } + }, + "adminExecutionRecoverRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Identifier of the workflow execution to recover." + }, + "name": { + "type": "string", + "title": "User provided value for the recovered execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "metadata": { + "$ref": "#/definitions/adminExecutionMetadata", + "description": "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution." + } + }, + "description": "Request to recover the referenced execution." + }, + "adminExecutionRelaunchRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "title": "Identifier of the workflow execution to relaunch.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the relaunched execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + } + }, + "description": "Request to relaunch the referenced execution." + }, + "adminExecutionSpec": { + "type": "object", + "properties": { + "launch_plan": { + "$ref": "#/definitions/coreIdentifier", + "title": "Launch plan to be executed" + }, + "inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "Input values to be passed for the execution" + }, + "metadata": { + "$ref": "#/definitions/adminExecutionMetadata", + "title": "Metadata for the execution" + }, + "notifications": { + "$ref": "#/definitions/adminNotificationList", + "description": "List of notifications based on Execution status transitions\nWhen this list is not empty it is used rather than any notifications defined in the referenced launch plan.\nWhen this list is empty, the notifications defined for the launch plan will be applied." + }, + "disable_all": { + "type": "boolean", + "description": "This should be set to true if all notifications are intended to be disabled for this execution." + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Labels to apply to the execution resource." + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations", + "description": "Annotations to apply to the execution resource." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "Optional: security context override to apply this execution." + }, + "auth_role": { + "$ref": "#/definitions/adminAuthRole", + "description": "Optional: auth override to apply this execution." + }, + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService", + "description": "Indicates the runtime priority of the execution." + }, + "max_parallelism": { + "type": "integer", + "format": "int32", + "description": "Controls the maximum number of task nodes that can be run in parallel for the entire workflow.\nThis is useful to achieve fairness. Note: MapTasks are regarded as one unit,\nand parallelism/concurrency of MapTasks is independent from this." + }, + "raw_output_data_config": { + "$ref": "#/definitions/adminRawOutputDataConfig", + "title": "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).\nThis should be a prefix like s3://my-bucket/my-data" + }, + "cluster_assignment": { + "$ref": "#/definitions/adminClusterAssignment", + "description": "Controls how to select an available cluster on which this execution should run." + }, + "interruptible": { + "type": "boolean", + "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Tags to be set for the execution." + } + }, + "description": "An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime\nof an execution as it progresses across phase changes." + }, + "adminExecutionState": { + "type": "string", + "enum": [ + "EXECUTION_ACTIVE", + "EXECUTION_ARCHIVED" + ], + "default": "EXECUTION_ACTIVE", + "description": "The state of the execution is used to control its visibility in the UI/CLI.\n\n - EXECUTION_ACTIVE: By default, all executions are considered active.\n - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI." + }, + "adminExecutionStateChangeDetails": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/adminExecutionState", + "description": "The state of the execution is used to control its visibility in the UI/CLI." + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the state changed." + }, + "principal": { + "type": "string", + "title": "Identifies the entity (if any) responsible for causing the state change of the execution" + } + } + }, + "adminExecutionTerminateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminExecutionUpdateResponse": { + "type": "object" + }, + "adminFixedRate": { + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int64" + }, + "unit": { + "$ref": "#/definitions/adminFixedRateUnit" + } + }, + "description": "Option for schedules run at a certain frequency e.g. every 2 minutes." + }, + "adminFixedRateUnit": { + "type": "string", + "enum": [ + "MINUTE", + "HOUR", + "DAY" + ], + "default": "MINUTE", + "description": "Represents a frequency at which to run a schedule." + }, + "adminFlyteURLs": { + "type": "object", + "properties": { + "inputs": { + "type": "string" + }, + "outputs": { + "type": "string" + }, + "deck": { + "type": "string" + } + }, + "description": "These URLs are returned as part of node and task execution data requests." + }, + "adminGetVersionResponse": { + "type": "object", + "properties": { + "control_plane_version": { + "$ref": "#/definitions/adminVersion", + "title": "The control plane version information. FlyteAdmin and related components\nform the control plane of Flyte" + } + }, + "title": "Response for the GetVersion API" + }, + "adminLabels": { + "type": "object", + "properties": { + "values": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of custom labels to be applied to the execution resource." + } + }, + "description": "Label values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge labels defined at registration and execution time." + }, + "adminLaunchPlan": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Uniquely identifies a launch plan entity." + }, + "spec": { + "$ref": "#/definitions/adminLaunchPlanSpec", + "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." + }, + "closure": { + "$ref": "#/definitions/adminLaunchPlanClosure", + "description": "Values computed by the flyte platform after launch plan registration." + } + }, + "description": "A LaunchPlan provides the capability to templatize workflow executions.\nLaunch plans simplify associating one or more schedules, inputs and notifications with your workflows.\nLaunch plans can be shared and used to trigger executions with predefined inputs even when a workflow\ndefinition doesn't necessarily have a default value for said input." + }, + "adminLaunchPlanClosure": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/adminLaunchPlanState", + "description": "Indicate the Launch plan state." + }, + "expected_inputs": { + "$ref": "#/definitions/coreParameterMap", + "title": "Indicates the set of inputs expected when creating an execution with the Launch plan" + }, + "expected_outputs": { + "$ref": "#/definitions/coreVariableMap", + "title": "Indicates the set of outputs expected to be produced by creating an execution with the Launch plan" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the launch plan was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the launch plan was last updated." + } + }, + "description": "Values computed by the flyte platform after launch plan registration.\nThese include expected_inputs required to be present in a CreateExecutionRequest\nto launch the reference workflow as well timestamp values associated with the launch plan." + }, + "adminLaunchPlanCreateRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Uniquely identifies a launch plan entity." + }, + "spec": { + "$ref": "#/definitions/adminLaunchPlanSpec", + "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." + } + }, + "description": "Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required\nto launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan." + }, + "adminLaunchPlanCreateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminLaunchPlanList": { + "type": "object", + "properties": { + "launch_plans": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Response object for list launch plan requests.\nSee :ref:`ref_flyteidl.admin.LaunchPlan` for more details" + }, + "adminLaunchPlanMetadata": { + "type": "object", + "properties": { + "schedule": { + "$ref": "#/definitions/adminSchedule", + "title": "Schedule to execute the Launch Plan" + }, + "notifications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNotification" + }, + "title": "List of notifications based on Execution status transitions" + }, + "launch_conditions": { + "$ref": "#/definitions/protobufAny", + "title": "Additional metadata for how to launch the launch plan" + } + }, + "description": "Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch\nthe reference workflow." + }, + "adminLaunchPlanSpec": { + "type": "object", + "properties": { + "workflow_id": { + "$ref": "#/definitions/coreIdentifier", + "title": "Reference to the Workflow template that the launch plan references" + }, + "entity_metadata": { + "$ref": "#/definitions/adminLaunchPlanMetadata", + "title": "Metadata for the Launch Plan" + }, + "default_inputs": { + "$ref": "#/definitions/coreParameterMap", + "description": "Input values to be passed for the execution.\nThese can be overridden when an execution is created with this launch plan." + }, + "fixed_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Fixed, non-overridable inputs for the Launch Plan.\nThese can not be overridden when an execution is created with this launch plan." + }, + "role": { + "type": "string", + "title": "String to indicate the role to use to execute the workflow underneath" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Custom labels to be applied to the execution resource." + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations", + "description": "Custom annotations to be applied to the execution resource." + }, + "auth": { + "$ref": "#/definitions/adminAuth", + "description": "Indicates the permission associated with workflow executions triggered with this launch plan." + }, + "auth_role": { + "$ref": "#/definitions/adminAuthRole" + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "title": "Indicates security context for permissions triggered with this launch plan" + }, + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService", + "description": "Indicates the runtime priority of the execution." + }, + "raw_output_data_config": { + "$ref": "#/definitions/adminRawOutputDataConfig", + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." + }, + "max_parallelism": { + "type": "integer", + "format": "int32", + "description": "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.\nThis is useful to achieve fairness. Note: MapTasks are regarded as one unit,\nand parallelism/concurrency of MapTasks is independent from this." + }, + "interruptible": { + "type": "boolean", + "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." + } + }, + "description": "User-provided launch plan definition and configuration values." + }, + "adminLaunchPlanState": { + "type": "string", + "enum": [ + "INACTIVE", + "ACTIVE" + ], + "default": "INACTIVE", + "description": "By default any launch plan regardless of state can be used to launch a workflow execution.\nHowever, at most one version of a launch plan\n(e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be\nactive at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier\ngroup will be observed and trigger executions at a defined cadence." + }, + "adminLaunchPlanUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminListMatchableAttributesResponse": { + "type": "object", + "properties": { + "configurations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminMatchableAttributesConfiguration" + } + } + }, + "title": "Response for a request for all matching resource attributes for a resource type.\nSee :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details" + }, + "adminLiteralMapBlob": { + "type": "object", + "properties": { + "values": { + "$ref": "#/definitions/coreLiteralMap", + "title": "Data in LiteralMap format" + }, + "uri": { + "type": "string", + "title": "In the event that the map is too large, we return a uri to the data" + } + }, + "title": "Input/output data can represented by actual values or a link to where values are stored" + }, + "adminMatchableAttributesConfiguration": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "domain": { + "type": "string" + }, + "project": { + "type": "string" + }, + "workflow": { + "type": "string" + }, + "launch_plan": { + "type": "string" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org);\nor domain, project and workflow name (and optional org).\nThese are used to override system level defaults for kubernetes cluster resource management,\ndefault execution values, and more all across different levels of specificity." + }, + "adminMatchableResource": { + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE", + "description": "Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes\nbased on matching tags.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run." + }, + "adminMatchingAttributes": { + "type": "object", + "properties": { + "task_resource_attributes": { + "$ref": "#/definitions/adminTaskResourceAttributes" + }, + "cluster_resource_attributes": { + "$ref": "#/definitions/adminClusterResourceAttributes" + }, + "execution_queue_attributes": { + "$ref": "#/definitions/adminExecutionQueueAttributes" + }, + "execution_cluster_label": { + "$ref": "#/definitions/adminExecutionClusterLabel" + }, + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService" + }, + "plugin_overrides": { + "$ref": "#/definitions/adminPluginOverrides" + }, + "workflow_execution_config": { + "$ref": "#/definitions/adminWorkflowExecutionConfig" + }, + "cluster_assignment": { + "$ref": "#/definitions/adminClusterAssignment" + } + }, + "description": "Generic container for encapsulating all types of the above attributes messages." + }, + "adminNamedEntity": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Resource type of the named entity. One of Task, Workflow or LaunchPlan." + }, + "id": { + "$ref": "#/definitions/adminNamedEntityIdentifier" + }, + "metadata": { + "$ref": "#/definitions/adminNamedEntityMetadata", + "description": "Additional metadata around a named entity." + } + }, + "description": "Encapsulates information common to a NamedEntity, a Flyte resource such as a task,\nworkflow or launch plan. A NamedEntity is exclusively identified by its resource type\nand identifier." + }, + "adminNamedEntityIdentifier": { + "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", + "title": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Encapsulation of fields that identifies a Flyte resource.\nA Flyte resource can be a task, workflow or launch plan.\nA resource can internally have multiple versions and is uniquely identified\nby project, domain, and name." + }, + "adminNamedEntityIdentifierList": { + "type": "object", + "properties": { + "entities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNamedEntityIdentifier" + }, + "description": "A list of identifiers." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "description": "Represents a list of NamedEntityIdentifiers." + }, + "adminNamedEntityList": { + "type": "object", + "properties": { + "entities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNamedEntity" + }, + "title": "A list of NamedEntity objects" + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "description": "Represents a list of NamedEntityIdentifiers." + }, + "adminNamedEntityMetadata": { + "type": "object", + "properties": { + "description": { + "type": "string", + "title": "Common description across all versions of the entity\n+optional" + }, + "state": { + "$ref": "#/definitions/adminNamedEntityState", + "description": "Shared state across all version of the entity\nAt this point in time, only workflow entities can have their state archived." + } + }, + "description": "Additional metadata around a named entity." + }, + "adminNamedEntityState": { + "type": "string", + "enum": [ + "NAMED_ENTITY_ACTIVE", + "NAMED_ENTITY_ARCHIVED", + "SYSTEM_GENERATED" + ], + "default": "NAMED_ENTITY_ACTIVE", + "description": "The status of the named entity is used to control its visibility in the UI.\n\n - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development.\n - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI.\n - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user." + }, + "adminNamedEntityUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminNodeExecutionClosure": { + "type": "object", + "properties": { + "output_uri": { + "type": "string", + "description": "Links to a remotely stored, serialized core.LiteralMap of node execution outputs.\nDEPRECATED. Use GetNodeExecutionData to fetch output data instead." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the Node" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this node execution.\nDEPRECATED. Use GetNodeExecutionData to fetch output data instead." + }, + "phase": { + "$ref": "#/definitions/coreNodeExecutionPhase", + "description": "The last recorded phase for this node execution." + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the node execution began running." + }, + "duration": { + "type": "string", + "description": "The amount of time the node execution spent running." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the node execution was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the node execution was last updated." + }, + "workflow_node_metadata": { + "$ref": "#/definitions/flyteidladminWorkflowNodeMetadata" + }, + "task_node_metadata": { + "$ref": "#/definitions/flyteidladminTaskNodeMetadata" + }, + "deck_uri": { + "type": "string", + "title": "String location uniquely identifying where the deck HTML file is.\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required\nto correctly recover partially completed executions where the subworkflow has already been compiled." + } + }, + "description": "Container for node execution details and results." + }, + "adminNodeExecutionEventRequest": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "$ref": "#/definitions/eventNodeExecutionEvent", + "description": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a node execution event has occurred." + }, + "adminNodeExecutionEventResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminNodeExecutionGetDataResponse": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of node execution inputs.\nDeprecated: Please use full_inputs instead." + }, + "outputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of node execution outputs.\nDeprecated: Please use full_outputs instead." + }, + "full_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_inputs will only be populated if they are under a configured size threshold." + }, + "full_outputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_outputs will only be populated if they are under a configured size threshold." + }, + "dynamic_workflow": { + "$ref": "#/definitions/flyteidladminDynamicWorkflowNodeMetadata", + "description": "Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here." + }, + "flyte_urls": { + "$ref": "#/definitions/adminFlyteURLs" + } + }, + "description": "Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution." + }, + "adminNodeExecutionList": { + "type": "object", + "properties": { + "node_executions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidladminNodeExecution" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Request structure to retrieve a list of node execution entities.\nSee :ref:`ref_flyteidl.admin.NodeExecution` for more details" + }, + "adminNodeExecutionMetaData": { + "type": "object", + "properties": { + "retry_group": { + "type": "string", + "description": "Node executions are grouped depending on retries of the parent\nRetry group is unique within the context of a parent node." + }, + "is_parent_node": { + "type": "boolean", + "description": "Boolean flag indicating if the node has child nodes under it\nThis can be true when a node contains a dynamic workflow which then produces\nchild nodes." + }, + "spec_node_id": { + "type": "string", + "title": "Node id of the node in the original workflow\nThis maps to value of WorkflowTemplate.nodes[X].id" + }, + "is_dynamic": { + "type": "boolean", + "description": "Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.\nThis is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true." + }, + "is_array": { + "type": "boolean", + "description": "Boolean flag indicating if the node is an array node. This is intended to uniquely identify\narray nodes from other nodes which can have is_parent_node as true." + } + }, + "title": "Represents additional attributes related to a Node Execution" + }, + "adminNotification": { + "type": "object", + "properties": { + "phases": { + "type": "array", + "items": { + "$ref": "#/definitions/coreWorkflowExecutionPhase" + }, + "title": "A list of phases to which users can associate the notifications to.\n+required" + }, + "email": { + "$ref": "#/definitions/adminEmailNotification" + }, + "pager_duty": { + "$ref": "#/definitions/adminPagerDutyNotification" + }, + "slack": { + "$ref": "#/definitions/adminSlackNotification" + } + }, + "description": "Represents a structure for notifications based on execution status.\nThe notification content is configured within flyte admin but can be templatized.\nFuture iterations could expose configuring notifications with custom content." + }, + "adminNotificationList": { + "type": "object", + "properties": { + "notifications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNotification" + } + } + } + }, + "adminPagerDutyNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Currently, PagerDuty notifications leverage email to trigger a notification.\n+required" + } + }, + "description": "Defines a pager duty notification specification." + }, + "adminPluginOverride": { + "type": "object", + "properties": { + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier." + }, + "plugin_id": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id." + }, + "missing_plugin_behavior": { + "$ref": "#/definitions/PluginOverrideMissingPluginBehavior", + "description": "Defines the behavior when no plugin from the plugin_id list is not found." + } + }, + "description": "This MatchableAttribute configures selecting alternate plugin implementations for a given task type.\nIn addition to an override implementation a selection of fallbacks can be provided or other modes\nfor handling cases where the desired plugin override is not enabled in a given Flyte deployment." + }, + "adminPluginOverrides": { + "type": "object", + "properties": { + "overrides": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminPluginOverride" + } + } + } + }, + "adminProject": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Globally unique project name." + }, + "name": { + "type": "string", + "description": "Display name." + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDomain" + } + }, + "description": { + "type": "string" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Leverage Labels from flyteidl.admin.common.proto to\ntag projects with ownership information." + }, + "state": { + "$ref": "#/definitions/ProjectProjectState" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Top-level namespace used to classify different entities like workflows and executions." + }, + "adminProjectAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the project." + } + }, + "title": "Defines a set of custom matching attributes at the project level.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectAttributesDeleteResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectAttributesGetResponse": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminProjectAttributes" + } + }, + "title": "Response to get an individual project level attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectDomainAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "domain": { + "type": "string", + "description": "Unique domain id for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the attributes." + } + }, + "title": "Defines a set of custom matching attributes which defines resource defaults for a project and domain.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectDomainAttributesDeleteResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectDomainAttributesGetResponse": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminProjectDomainAttributes" + } + }, + "title": "Response to get an individual project domain attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectDomainAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectRegisterRequest": { + "type": "object", + "properties": { + "project": { + "$ref": "#/definitions/adminProject", + "title": "+required" + } + }, + "title": "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project` for more details" + }, + "adminProjectRegisterResponse": { + "type": "object", + "description": "Purposefully empty, may be updated in the future." + }, + "adminProjectUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be updated in the future." + }, + "adminProjects": { + "type": "object", + "properties": { + "projects": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminProject" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of projects.\nSee :ref:`ref_flyteidl.admin.Project` for more details" + }, + "adminRawOutputDataConfig": { + "type": "object", + "properties": { + "output_location_prefix": { + "type": "string", + "title": "Prefix for where offloaded data from user workflows will be written\ne.g. s3://bucket/key or s3://bucket/" + } + }, + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211 for more background information." + }, + "adminReason": { + "type": "object", + "properties": { + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "occurred_at is the timestamp indicating the instant that this reason happened." + }, + "message": { + "type": "string", + "description": "message is the explanation for the most recent phase transition or status update." + } + }, + "description": "Reason is a single message annotated with a timestamp to indicate the instant the reason occurred." + }, + "adminSchedule": { + "type": "object", + "properties": { + "cron_expression": { + "type": "string", + "title": "Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year\ne.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" + }, + "rate": { + "$ref": "#/definitions/adminFixedRate" + }, + "cron_schedule": { + "$ref": "#/definitions/adminCronSchedule" + }, + "kickoff_time_input_arg": { + "type": "string", + "description": "Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off." + } + }, + "description": "Defines complete set of information required to trigger an execution on a schedule." + }, + "adminSlackNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Currently, Slack notifications leverage email to trigger a notification.\n+required" + } + }, + "description": "Defines a slack notification specification." + }, + "adminSort": { + "type": "object", + "properties": { + "key": { + "type": "string", + "title": "Indicates an attribute to sort the response values.\n+required" + }, + "direction": { + "$ref": "#/definitions/SortDirection", + "title": "Indicates the direction to apply sort key for response values.\n+optional" + } + }, + "description": "Specifies sort ordering in a list request." + }, + "adminSourceCode": { + "type": "object", + "properties": { + "link": { + "type": "string" + } + }, + "title": "Link to source code used to define this entity" + }, + "adminSystemMetadata": { + "type": "object", + "properties": { + "execution_cluster": { + "type": "string", + "description": "Which execution cluster this execution ran on." + }, + "namespace": { + "type": "string", + "description": "Which kubernetes namespace the execution ran under." + } + }, + "description": "Represents system, rather than user-facing, metadata about an execution." + }, + "adminTask": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the task." + }, + "closure": { + "$ref": "#/definitions/adminTaskClosure", + "description": "closure encapsulates all the fields that maps to a compiled version of the task." + }, + "short_description": { + "type": "string", + "description": "One-liner overview of the entity." + } + }, + "description": "Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks\narranged to process workflow inputs and produce a deterministic set of outputs.\nTasks can come in many varieties tuned for specialized behavior." + }, + "adminTaskClosure": { + "type": "object", + "properties": { + "compiled_task": { + "$ref": "#/definitions/coreCompiledTask", + "description": "Represents the compiled representation of the task from the specification provided." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task was created." + } + }, + "description": "Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data\nand task metadata." + }, + "adminTaskExecutionClosure": { + "type": "object", + "properties": { + "output_uri": { + "type": "string", + "description": "Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).\nDEPRECATED. Use GetTaskExecutionData to fetch output data instead." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "description": "Error information for the task execution. Populated if the execution failed." + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this task execution.\nDEPRECATED. Use GetTaskExecutionData to fetch output data instead." + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "description": "The last recorded phase for this task execution." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "description": "Detailed log information output by the task execution." + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task execution began running." + }, + "duration": { + "type": "string", + "description": "The amount of time the task execution spent running." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task execution was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task execution was last updated." + }, + "custom_info": { + "type": "object", + "description": "Custom data specific to the task plugin." + }, + "reason": { + "type": "string", + "description": "If there is an explanation for the most recent phase transition, the reason will capture it." + }, + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier." + }, + "metadata": { + "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", + "description": "Metadata around how a task was executed." + }, + "event_version": { + "type": "integer", + "format": "int32", + "description": "The event version is used to indicate versioned changes in how data is maintained using this\nproto message. For example, event_verison \u003e 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reasons": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminReason" + }, + "description": "A time-series of the phase transition or update explanations. This, when compared to storing a singular reason\nas previously done, is much more valuable in visualizing and understanding historical evaluations." + } + }, + "description": "Container for task execution details and results." + }, + "adminTaskExecutionEventRequest": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "$ref": "#/definitions/eventTaskExecutionEvent", + "description": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a task execution event has occurred." + }, + "adminTaskExecutionEventResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminTaskExecutionGetDataResponse": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of task execution inputs.\nDeprecated: Please use full_inputs instead." + }, + "outputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of task execution outputs.\nDeprecated: Please use full_outputs instead." + }, + "full_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_inputs will only be populated if they are under a configured size threshold." + }, + "full_outputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_outputs will only be populated if they are under a configured size threshold." + }, + "flyte_urls": { + "$ref": "#/definitions/adminFlyteURLs", + "title": "flyte tiny url to fetch a core.LiteralMap of task execution's IO\nDeck will be empty for task" + } + }, + "description": "Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution." + }, + "adminTaskExecutionList": { + "type": "object", + "properties": { + "task_executions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidladminTaskExecution" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Response structure for a query to list of task execution entities.\nSee :ref:`ref_flyteidl.admin.TaskExecution` for more details" + }, + "adminTaskList": { + "type": "object", + "properties": { + "tasks": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminTask" + }, + "description": "A list of tasks returned based on the request." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of tasks returned from the admin.\nSee :ref:`ref_flyteidl.admin.Task` for more details" + }, + "adminTaskResourceAttributes": { + "type": "object", + "properties": { + "defaults": { + "$ref": "#/definitions/adminTaskResourceSpec" + }, + "limits": { + "$ref": "#/definitions/adminTaskResourceSpec" + } + }, + "description": "Defines task resource defaults and limits that will be applied at task registration." + }, + "adminTaskResourceSpec": { + "type": "object", + "properties": { + "cpu": { + "type": "string" + }, + "gpu": { + "type": "string" + }, + "memory": { + "type": "string" + }, + "storage": { + "type": "string" + }, + "ephemeral_storage": { + "type": "string" + } + }, + "description": "Defines a set of overridable task resource attributes set during task registration." + }, + "adminTaskSpec": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreTaskTemplate", + "description": "Template of the task that encapsulates all the metadata of the task." + }, + "description": { + "$ref": "#/definitions/adminDescriptionEntity", + "description": "Represents the specification for description entity." + } + }, + "description": "Represents a structure that encapsulates the user-configured specification of the task." + }, + "adminUrlBlob": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "Actual url value." + }, + "bytes": { + "type": "string", + "format": "int64", + "description": "Represents the size of the file accessible at the above url." + } + }, + "description": "Represents a string url and associated metadata used throughout the platform." + }, + "adminVersion": { + "type": "object", + "properties": { + "Build": { + "type": "string", + "title": "Specifies the GIT sha of the build" + }, + "Version": { + "type": "string", + "title": "Version for the build, should follow a semver" + }, + "BuildTime": { + "type": "string", + "title": "Build timestamp" + } + }, + "title": "Provides Version information for a component" + }, + "adminWorkflow": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the workflow." + }, + "closure": { + "$ref": "#/definitions/flyteidladminWorkflowClosure", + "description": "closure encapsulates all the fields that maps to a compiled version of the workflow." + }, + "short_description": { + "type": "string", + "description": "One-liner overview of the entity." + } + }, + "description": "Represents the workflow structure stored in the Admin\nA workflow is created by ordering tasks and associating outputs to inputs\nin order to produce a directed-acyclic execution graph." + }, + "adminWorkflowAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "domain": { + "type": "string", + "description": "Unique domain id for which this set of attributes will be applied." + }, + "workflow": { + "type": "string", + "description": "Workflow name for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the attributes." + } + }, + "title": "Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminWorkflowAttributesDeleteResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowAttributesGetResponse": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminWorkflowAttributes" + } + }, + "description": "Response to get an individual workflow attribute override." + }, + "adminWorkflowAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowCreateRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "title": "id represents the unique identifier of the workflow.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminWorkflowSpec", + "title": "Represents the specification for workflow.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a workflow.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" + }, + "adminWorkflowCreateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowExecutionConfig": { + "type": "object", + "properties": { + "max_parallelism": { + "type": "integer", + "format": "int32", + "description": "Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "Indicates security context permissions for executions triggered with this matchable attribute." + }, + "raw_output_data_config": { + "$ref": "#/definitions/adminRawOutputDataConfig", + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Custom labels to be applied to a triggered execution resource." + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations", + "description": "Custom annotations to be applied to a triggered execution resource." + }, + "interruptible": { + "type": "boolean", + "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." + } + }, + "description": "Adds defaults for customizable workflow-execution specifications and overrides." + }, + "adminWorkflowExecutionEventRequest": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "$ref": "#/definitions/eventWorkflowExecutionEvent", + "description": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a workflow execution event has occurred." + }, + "adminWorkflowExecutionEventResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowExecutionGetDataResponse": { + "type": "object", + "properties": { + "outputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of execution outputs.\nDeprecated: Please use full_outputs instead." + }, + "inputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of execution inputs.\nDeprecated: Please use full_inputs instead." + }, + "full_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_inputs will only be populated if they are under a configured size threshold." + }, + "full_outputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_outputs will only be populated if they are under a configured size threshold." + } + }, + "description": "Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution." + }, + "adminWorkflowExecutionGetMetricsResponse": { + "type": "object", + "properties": { + "span": { + "$ref": "#/definitions/coreSpan", + "description": "Span defines the top-level breakdown of the workflows execution. More precise information is nested in a\nhierarchical structure using Flyte entity references." + } + }, + "description": "WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution." + }, + "adminWorkflowList": { + "type": "object", + "properties": { + "workflows": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminWorkflow" + }, + "description": "A list of workflows returned based on the request." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of workflows returned from the admin.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" + }, + "adminWorkflowSpec": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreWorkflowTemplate", + "description": "Template of the task that encapsulates all the metadata of the workflow." + }, + "sub_workflows": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreWorkflowTemplate" + }, + "description": "Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the\npropeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out\nto Admin to see other registered workflows). In fact, subworkflows do not even need to be registered." + }, + "description": { + "$ref": "#/definitions/adminDescriptionEntity", + "description": "Represents the specification for description entity." + } + }, + "description": "Represents a structure that encapsulates the specification of the workflow." + }, + "coreAlias": { + "type": "object", + "properties": { + "var": { + "type": "string", + "description": "Must match one of the output variable names on a node." + }, + "alias": { + "type": "string", + "description": "A workflow-level unique alias that downstream nodes can refer to in their input." + } + }, + "description": "Links a variable to an alias." + }, + "coreApproveCondition": { + "type": "object", + "properties": { + "signal_id": { + "type": "string", + "description": "A unique identifier for the requested boolean signal." + } + }, + "description": "ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean\nsignal with the provided signal_id." + }, + "coreArrayNode": { + "type": "object", + "properties": { + "node": { + "$ref": "#/definitions/coreNode", + "description": "node is the sub-node that will be executed for each element in the array." + }, + "parallelism": { + "type": "integer", + "format": "int64", + "description": "parallelism defines the minimum number of instances to bring up concurrently at any given\npoint. Note that this is an optimistic restriction and that, due to network partitioning or\nother failures, the actual number of currently running instances might be more. This has to\nbe a positive number if assigned. Default value is size." + }, + "min_successes": { + "type": "integer", + "format": "int64", + "description": "min_successes is an absolute number of the minimum number of successful completions of\nsub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful\nand outputs will be computed. This has to be a non-negative number if assigned. Default\nvalue is size (if specified)." + }, + "min_success_ratio": { + "type": "number", + "format": "float", + "description": "If the array job size is not known beforehand, the min_success_ratio can instead be used\nto determine when an ArrayNode can be marked successful." + } + }, + "description": "ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input\nvalues. An ArrayNode can be executed with configurable parallelism (separate from the parent\nworkflow) and can be configured to succeed when a certain number of sub-nodes succeed." + }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string" + }, + "bind_to_time_partition": { + "type": "boolean" + }, + "transform": { + "type": "string", + "title": "This is only relevant in the time partition case" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions", + "description": "Think of a partition as a tag on an Artifact, except it's a key-value pair.\nDifferent partitions naturally have different versions (execution ids)." + }, + "time_partition": { + "$ref": "#/definitions/coreTimePartition", + "description": "There is no such thing as an empty time partition - if it's not set, then there is no time partition." + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "coreArtifactQuery": { + "type": "object", + "properties": { + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + }, + "uri": { + "type": "string" + }, + "binding": { + "$ref": "#/definitions/coreArtifactBindingData", + "description": "This is used in the trigger case, where a user specifies a value for an input that is one of the triggering\nartifacts, or a partition value derived from a triggering artifact." + } + }, + "title": "Uniqueness constraints for Artifacts\n - project, domain, name, version, partitions\nOption 2 (tags are standalone, point to an individual artifact id):\n - project, domain, name, alias (points to one partition if partitioned)\n - project, domain, name, partition key, partition value" + }, + "coreArtifactTag": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBinding": { + "type": "object", + "properties": { + "var": { + "type": "string", + "description": "Variable name must match an input/output variable of the node." + }, + "binding": { + "$ref": "#/definitions/coreBindingData", + "description": "Data to use to bind this variable." + } + }, + "description": "An input/output binding of a variable to either static value or a node output." + }, + "coreBindingData": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple scalar value." + }, + "collection": { + "$ref": "#/definitions/coreBindingDataCollection", + "description": "A collection of binding data. This allows nesting of binding data to any number\nof levels." + }, + "promise": { + "$ref": "#/definitions/coreOutputReference", + "description": "References an output promised by another node." + }, + "map": { + "$ref": "#/definitions/coreBindingDataMap", + "description": "A map of bindings. The key is always a string." + }, + "union": { + "$ref": "#/definitions/coreUnionInfo" + } + }, + "description": "Specifies either a simple value or a reference to another output." + }, + "coreBindingDataCollection": { + "type": "object", + "properties": { + "bindings": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreBindingData" + } + } + }, + "description": "A collection of BindingData items." + }, + "coreBindingDataMap": { + "type": "object", + "properties": { + "bindings": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreBindingData" + } + } + }, + "description": "A map of BindingData items." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreBooleanExpression": { + "type": "object", + "properties": { + "conjunction": { + "$ref": "#/definitions/coreConjunctionExpression" + }, + "comparison": { + "$ref": "#/definitions/coreComparisonExpression" + } + }, + "description": "Defines a boolean expression tree. It can be a simple or a conjunction expression.\nMultiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result." + }, + "coreBranchNode": { + "type": "object", + "properties": { + "if_else": { + "$ref": "#/definitions/coreIfElseBlock", + "title": "+required" + } + }, + "description": "BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at\nruntime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives)." + }, + "coreCatalogArtifactTag": { + "type": "object", + "properties": { + "artifact_id": { + "type": "string", + "title": "Artifact ID is generated name" + }, + "name": { + "type": "string", + "title": "Flyte computes the tag automatically, as the hash of the values" + } + } + }, + "coreCatalogCacheStatus": { + "type": "string", + "enum": [ + "CACHE_DISABLED", + "CACHE_MISS", + "CACHE_HIT", + "CACHE_POPULATED", + "CACHE_LOOKUP_FAILURE", + "CACHE_PUT_FAILURE", + "CACHE_SKIPPED", + "CACHE_EVICTED" + ], + "default": "CACHE_DISABLED", + "description": "- CACHE_DISABLED: Used to indicate that caching was disabled\n - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches\n - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution\n - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache\n - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error\n - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error\n - CACHE_SKIPPED: Used to indicate the cache lookup was skipped\n - CACHE_EVICTED: Used to indicate that the cache was evicted", + "title": "Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future" + }, + "coreCatalogMetadata": { + "type": "object", + "properties": { + "dataset_id": { + "$ref": "#/definitions/coreIdentifier", + "title": "Dataset ID in the catalog" + }, + "artifact_tag": { + "$ref": "#/definitions/coreCatalogArtifactTag", + "title": "Artifact tag in the catalog" + }, + "source_task_execution": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "title": "Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions" + } + }, + "title": "Catalog artifact information with specific metadata" + }, + "coreCatalogReservationStatus": { + "type": "string", + "enum": [ + "RESERVATION_DISABLED", + "RESERVATION_ACQUIRED", + "RESERVATION_EXISTS", + "RESERVATION_RELEASED", + "RESERVATION_FAILURE" + ], + "default": "RESERVATION_DISABLED", + "description": "Indicates the status of a catalog reservation operation.\n\n - RESERVATION_DISABLED: Used to indicate that reservations are disabled\n - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended\n - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists\n - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released\n - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure" + }, + "coreComparisonExpression": { + "type": "object", + "properties": { + "operator": { + "$ref": "#/definitions/ComparisonExpressionOperator" + }, + "left_value": { + "$ref": "#/definitions/coreOperand" + }, + "right_value": { + "$ref": "#/definitions/coreOperand" + } + }, + "description": "Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.\nEach expression results in a boolean result." + }, + "coreCompiledTask": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreTaskTemplate", + "title": "Completely contained TaskTemplate" + } + }, + "title": "Output of the Compilation step. This object represent one Task. We store more metadata at this layer" + }, + "coreCompiledWorkflow": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreWorkflowTemplate", + "title": "Completely contained Workflow Template" + }, + "connections": { + "$ref": "#/definitions/coreConnectionSet", + "description": "For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored." + } + }, + "title": "Output of the compilation Step. This object represents one workflow. We store more metadata at this layer" + }, + "coreCompiledWorkflowClosure": { + "type": "object", + "properties": { + "primary": { + "$ref": "#/definitions/coreCompiledWorkflow", + "title": "+required" + }, + "sub_workflows": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreCompiledWorkflow" + }, + "title": "Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a\nunique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow\nas an inlined workflow\n+optional" + }, + "tasks": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreCompiledTask" + }, + "title": "Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id\n+required (at least 1)" + } + }, + "description": "A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow\nand its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that\nwill being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of\ncompiled subworkflows." + }, + "coreConjunctionExpression": { + "type": "object", + "properties": { + "operator": { + "$ref": "#/definitions/ConjunctionExpressionLogicalOperator" + }, + "left_expression": { + "$ref": "#/definitions/coreBooleanExpression" + }, + "right_expression": { + "$ref": "#/definitions/coreBooleanExpression" + } + }, + "description": "Defines a conjunction expression of two boolean expressions." + }, + "coreConnectionSet": { + "type": "object", + "properties": { + "downstream": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnectionSetIdList" + }, + "title": "A list of all the node ids that are downstream from a given node id" + }, + "upstream": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnectionSetIdList" + }, + "title": "A list of all the node ids, that are upstream of this node id" + } + }, + "title": "Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation\nstep uses this created ConnectionSet" + }, + "coreContainer": { + "type": "object", + "properties": { + "image": { + "type": "string", + "title": "Container image url. Eg: docker/redis:latest" + }, + "command": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Command to be executed, if not provided, the default entrypoint in the container image will be used." + }, + "args": { + "type": "array", + "items": { + "type": "string" + }, + "description": "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still\nneeds flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the\nsystem will populate these before executing the container." + }, + "resources": { + "$ref": "#/definitions/coreResources", + "description": "Container resources requirement as specified by the container engine." + }, + "env": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Environment variables will be set as the container is starting up." + }, + "config": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Allows extra configs to be available for the container.\nTODO: elaborate on how configs will become available.\nDeprecated, please use TaskTemplate.config instead." + }, + "ports": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreContainerPort" + }, + "title": "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\nOnly K8s" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + }, + "architecture": { + "$ref": "#/definitions/ContainerArchitecture" + } + } + }, + "coreContainerPort": { + "type": "object", + "properties": { + "container_port": { + "type": "integer", + "format": "int64", + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536." + } + }, + "description": "Defines port properties for a container." + }, + "coreDataLoadingConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "title": "Flag enables DataLoading Config. If this is not set, data loading will not be used!" + }, + "input_path": { + "type": "string", + "title": "File system path (start at root). This folder will contain all the inputs exploded to a separate file.\nExample, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like\n/var/flyte/inputs/inputs.\u003cmetadata format dependent -\u003e .pb .json .yaml\u003e -\u003e Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations\n/var/flyte/inputs/x -\u003e X is a file that contains the value of x (integer) in string format\n/var/flyte/inputs/y -\u003e Y is a file in Binary format\n/var/flyte/inputs/z/... -\u003e Note Z itself is a directory\nMore information about the protocol - refer to docs #TODO reference docs here" + }, + "output_path": { + "type": "string", + "title": "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" + }, + "format": { + "$ref": "#/definitions/DataLoadingConfigLiteralMapFormat", + "title": "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.\nThis format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" + }, + "io_strategy": { + "$ref": "#/definitions/coreIOStrategy" + } + }, + "description": "This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path\nAny outputs generated by the user container - within output_path are automatically uploaded." + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreExecutionError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "title": "Error code indicates a grouping of a type of error.\nMore Info: \u003cLink\u003e" + }, + "message": { + "type": "string", + "description": "Detailed description of the error - including stack trace." + }, + "error_uri": { + "type": "string", + "title": "Full error contents accessible via a URI" + }, + "kind": { + "$ref": "#/definitions/ExecutionErrorErrorKind" + } + }, + "description": "Represents the error message from the execution." + }, + "coreExtendedResources": { + "type": "object", + "properties": { + "gpu_accelerator": { + "$ref": "#/definitions/coreGPUAccelerator", + "description": "GPU accelerator to select for task. Contains information about device type, and\nfor multi-instance GPUs, the partition size to use." + } + }, + "description": "Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to\nallocate to a task." + }, + "coreGPUAccelerator": { + "type": "object", + "properties": { + "device": { + "type": "string", + "description": "This can be any arbitrary string, and should be informed by the labels or taints\nassociated with the nodes in question. Default cloud provider labels typically\nuse the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc." + }, + "unpartitioned": { + "type": "boolean" + }, + "partition_size": { + "type": "string", + "description": "Like `device`, this can be any arbitrary string, and should be informed by\nthe labels or taints associated with the nodes in question. Default cloud\nprovider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc." + } + }, + "description": "Metadata associated with the GPU accelerator to allocate to a task. Contains\ninformation about device type, and for multi-instance GPUs, the partition size to\nuse." + }, + "coreGateNode": { + "type": "object", + "properties": { + "approve": { + "$ref": "#/definitions/coreApproveCondition", + "description": "ApproveCondition represents a dependency on an external approval provided by a boolean signal." + }, + "signal": { + "$ref": "#/definitions/coreSignalCondition", + "description": "SignalCondition represents a dependency on an signal." + }, + "sleep": { + "$ref": "#/definitions/coreSleepCondition", + "description": "SleepCondition represents a dependency on waiting for the specified duration." + } + }, + "description": "GateNode refers to the condition that is required for the gate to successfully complete." + }, + "coreIOStrategy": { + "type": "object", + "properties": { + "download_mode": { + "$ref": "#/definitions/IOStrategyDownloadMode", + "title": "Mode to use to manage downloads" + }, + "upload_mode": { + "$ref": "#/definitions/IOStrategyUploadMode", + "title": "Mode to use to manage uploads" + } + }, + "title": "Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)" + }, + "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." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "coreIdentity": { + "type": "object", + "properties": { + "iam_role": { + "type": "string", + "description": "iam_role references the fully qualified name of Identity \u0026 Access Management role to impersonate." + }, + "k8s_service_account": { + "type": "string", + "description": "k8s_service_account references a kubernetes service account to impersonate." + }, + "oauth2_client": { + "$ref": "#/definitions/coreOAuth2Client", + "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." + }, + "execution_identity": { + "type": "string", + "title": "execution_identity references the subject who makes the execution" + } + }, + "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." + }, + "coreIfBlock": { + "type": "object", + "properties": { + "condition": { + "$ref": "#/definitions/coreBooleanExpression" + }, + "then_node": { + "$ref": "#/definitions/coreNode" + } + }, + "description": "Defines a condition and the execution unit that should be executed if the condition is satisfied." + }, + "coreIfElseBlock": { + "type": "object", + "properties": { + "case": { + "$ref": "#/definitions/coreIfBlock", + "description": "+required. First condition to evaluate." + }, + "other": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreIfBlock" + }, + "description": "+optional. Additional branches to evaluate." + }, + "else_node": { + "$ref": "#/definitions/coreNode", + "description": "The node to execute in case none of the branches were taken." + }, + "error": { + "$ref": "#/definitions/coreError", + "description": "An error to throw in case none of the branches were taken." + } + }, + "description": "Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute.\nIf no conditions were satisfied, the else_node or the error will execute." + }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, + "coreK8sObjectMetadata": { + "type": "object", + "properties": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional labels to add to the pod definition." + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional annotations to add to the pod definition." + } + }, + "description": "Metadata for building a kubernetes object when a task is executed." + }, + "coreK8sPod": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreK8sObjectMetadata", + "description": "Contains additional metadata for building a kubernetes pod." + }, + "pod_spec": { + "type": "object", + "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + } + }, + "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." + }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string", + "title": "The string static value is for use in the Partitions object" + }, + "time_value": { + "type": "string", + "format": "date-time", + "title": "The time value is for use in the TimePartition case" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/flyteidlcoreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "type": "object", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, + "coreNode": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved\nnode ids that cannot be used by other nodes." + }, + "metadata": { + "$ref": "#/definitions/coreNodeMetadata", + "description": "Extra metadata about the node." + }, + "inputs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreBinding" + }, + "description": "Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface\nmust be fulfilled." + }, + "upstream_node_ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its\nupstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs\nfield." + }, + "output_aliases": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreAlias" + }, + "description": "+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes\nneed to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this\nnodes outputs using the alias if one's specified." + }, + "task_node": { + "$ref": "#/definitions/coreTaskNode", + "description": "Information about the Task to execute in this node." + }, + "workflow_node": { + "$ref": "#/definitions/coreWorkflowNode", + "description": "Information about the Workflow to execute in this mode." + }, + "branch_node": { + "$ref": "#/definitions/coreBranchNode", + "description": "Information about the branch node to evaluate in this node." + }, + "gate_node": { + "$ref": "#/definitions/coreGateNode", + "description": "Information about the condition to evaluate in this node." + }, + "array_node": { + "$ref": "#/definitions/coreArrayNode", + "description": "Information about the sub-node executions for each value in the list of this nodes\ninputs values." + } + }, + "description": "A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch\nnode." + }, + "coreNodeExecutionIdentifier": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "description": "Encapsulation of fields that identify a Flyte node execution entity." + }, + "coreNodeExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDED", + "FAILING", + "FAILED", + "ABORTED", + "SKIPPED", + "TIMED_OUT", + "DYNAMIC_RUNNING", + "RECOVERED" + ], + "default": "UNDEFINED" + }, + "coreNodeMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A friendly name for the Node" + }, + "timeout": { + "type": "string", + "description": "The overall timeout of a task." + }, + "retries": { + "$ref": "#/definitions/coreRetryStrategy", + "description": "Number of retries per task." + }, + "interruptible": { + "type": "boolean" + } + }, + "description": "Defines extra information about the Node." + }, + "coreOAuth2Client": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the\nsecret requested matches the client_id indicated here.\n+required" + }, + "client_secret": { + "$ref": "#/definitions/coreSecret", + "title": "client_secret is a reference to the secret used to authenticate the OAuth2 client.\n+required" + } + }, + "description": "OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task." + }, + "coreOAuth2TokenRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for\nenvironment variables and as a filename for mounting tokens as files.\n+required" + }, + "type": { + "$ref": "#/definitions/coreOAuth2TokenRequestType", + "title": "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n+required" + }, + "client": { + "$ref": "#/definitions/coreOAuth2Client", + "title": "client references the client_id/secret to use to request the OAuth2 token.\n+required" + }, + "idp_discovery_endpoint": { + "type": "string", + "title": "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related\ninformation.\n+optional" + }, + "token_endpoint": { + "type": "string", + "title": "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is\nmandatory.\n+optional" + } + }, + "description": "OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\ntokens are passed through environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens\nare passed through file mounts." + }, + "coreOAuth2TokenRequestType": { + "type": "string", + "enum": [ + "CLIENT_CREDENTIALS" + ], + "default": "CLIENT_CREDENTIALS", + "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." + }, + "coreOperand": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive", + "title": "Can be a constant" + }, + "var": { + "type": "string", + "title": "Or one of this node's input variables" + }, + "scalar": { + "$ref": "#/definitions/coreScalar", + "title": "Replace the primitive field" + } + }, + "description": "Defines an operand to a comparison expression." + }, + "coreOutputReference": { + "type": "object", + "properties": { + "node_id": { + "type": "string", + "description": "Node id must exist at the graph layer." + }, + "var": { + "type": "string", + "description": "Variable name must refer to an output variable for the node." + }, + "attr_path": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/corePromiseAttribute" + } + } + }, + "description": "A reference to an output produced by a node. The type can be retrieved -and validated- from\nthe underlying interface of the node." + }, + "coreParameter": { + "type": "object", + "properties": { + "var": { + "$ref": "#/definitions/coreVariable", + "description": "+required Variable. Defines the type of the variable backing this parameter." + }, + "default": { + "$ref": "#/definitions/coreLiteral", + "description": "Defines a default value that has to match the variable type defined." + }, + "required": { + "type": "boolean", + "description": "+optional, is this value required to be filled." + }, + "artifact_query": { + "$ref": "#/definitions/coreArtifactQuery", + "description": "This is an execution time search basically that should result in exactly one Artifact with a Type that\nmatches the type of the variable." + }, + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + } + }, + "description": "A parameter is used as input to a launch plan and has\nthe special ability to have a default value or mark itself as required." + }, + "coreParameterMap": { + "type": "object", + "properties": { + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreParameter" + }, + "description": "Defines a map of parameter names to parameters." + } + }, + "description": "A map of Parameters." + }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "corePromiseAttribute": { + "type": "object", + "properties": { + "string_value": { + "type": "string" + }, + "int_value": { + "type": "integer", + "format": "int32" + } + } + }, + "coreQualityOfService": { + "type": "object", + "properties": { + "tier": { + "$ref": "#/definitions/QualityOfServiceTier" + }, + "spec": { + "$ref": "#/definitions/coreQualityOfServiceSpec" + } + }, + "description": "Indicates the priority of an execution." + }, + "coreQualityOfServiceSpec": { + "type": "object", + "properties": { + "queueing_budget": { + "type": "string", + "description": "Indicates how much queueing delay an execution can tolerate." + } + }, + "description": "Represents customized execution run-time attributes." + }, + "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" + }, + "coreResources": { + "type": "object", + "properties": { + "requests": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "The desired set of resources requested. ResourceNames must be unique within the list." + }, + "limits": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique\nwithin the list." + } + }, + "description": "A customizable interface to convey resources requested for a container. This can be interpreted differently for different\ncontainer engines." + }, + "coreRetryStrategy": { + "type": "object", + "properties": { + "retries": { + "type": "integer", + "format": "int64", + "description": "Number of retries. Retries will be consumed when the job fails with a recoverable error.\nThe number of retries must be less than or equals to 10." + } + }, + "description": "Retry strategy associated with an executable unit." + }, + "coreRuntimeMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/RuntimeMetadataRuntimeType", + "description": "Type of runtime." + }, + "version": { + "type": "string", + "description": "Version of the runtime. All versions should be backward compatible. However, certain cases call for version\nchecks to ensure tighter validation or setting expectations." + }, + "flavor": { + "type": "string", + "description": "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." + } + }, + "description": "Runtime information. This is loosely defined to allow for extensibility." + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/flyteidlcoreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "type": "object" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSecret": { + "type": "object", + "properties": { + "group": { + "type": "string", + "title": "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of\nthe v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.\nFor AWS Secret Manager, this should be the name of the secret.\n+required" + }, + "group_version": { + "type": "string", + "title": "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones\nthat do not support it.\n+optional" + }, + "key": { + "type": "string", + "title": "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation\nof the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should\nmatch one of the keys inside the secret. For AWS Secret Manager, it's ignored.\n+optional" + }, + "mount_requirement": { + "$ref": "#/definitions/SecretMountType", + "title": "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail\nif the underlying key management system cannot satisfy that requirement. If not provided, the default location\nwill depend on the key management system.\n+optional" + } + }, + "description": "Secret encapsulates information about the secret a task needs to proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\nsecrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets\nare passed through file mounts." + }, + "coreSecurityContext": { + "type": "object", + "properties": { + "run_as": { + "$ref": "#/definitions/coreIdentity", + "description": "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the\nbackend plugin to choose the appropriate identity for the execution engine the task will run on." + }, + "secrets": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreSecret" + }, + "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + }, + "tokens": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreOAuth2TokenRequest" + }, + "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + } + }, + "description": "SecurityContext holds security attributes that apply to tasks." + }, + "coreSignalCondition": { + "type": "object", + "properties": { + "signal_id": { + "type": "string", + "description": "A unique identifier for the requested signal." + }, + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "A type denoting the required value type for this signal." + }, + "output_variable_name": { + "type": "string", + "description": "The variable name for the signal value in this nodes outputs." + } + }, + "description": "SignalCondition represents a dependency on an signal." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreSleepCondition": { + "type": "object", + "properties": { + "duration": { + "type": "string", + "description": "The overall duration for this sleep." + } + }, + "description": "SleepCondition represents a dependency on waiting for the specified duration." + }, + "coreSpan": { + "type": "object", + "properties": { + "start_time": { + "type": "string", + "format": "date-time", + "description": "start_time defines the instance this span began." + }, + "end_time": { + "type": "string", + "format": "date-time", + "description": "end_time defines the instance this span completed." + }, + "workflow_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "workflow_id is the id of the workflow execution this Span represents." + }, + "node_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "description": "node_id is the id of the node execution this Span represents." + }, + "task_id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "task_id is the id of the task execution this Span represents." + }, + "operation_id": { + "type": "string", + "description": "operation_id is the id of a unique operation that this Span represents." + }, + "spans": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreSpan" + }, + "description": "spans defines a collection of Spans that breakdown this execution." + } + }, + "description": "Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation\nwhich uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more\nprecise definitions." + }, + "coreSql": { + "type": "object", + "properties": { + "statement": { + "type": "string", + "title": "The actual query to run, the query can have templated parameters.\nWe use Flyte's Golang templating format for Query templating.\nRefer to the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\nFor example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" + }, + "dialect": { + "$ref": "#/definitions/SqlDialect" + } + }, + "description": "Sql represents a generic sql workload with a statement and dialect." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "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." + }, + "coreTaskExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDED", + "ABORTED", + "FAILED", + "INITIALIZING", + "WAITING_FOR_RESOURCES" + ], + "default": "UNDEFINED", + "title": "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded" + }, + "coreTaskLog": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "name": { + "type": "string" + }, + "message_format": { + "$ref": "#/definitions/TaskLogMessageFormat" + }, + "ttl": { + "type": "string" + } + }, + "title": "Log information for the task that is specific to a log sink\nWhen our log story is flushed out, we may have more metadata here like log link expiry" + }, + "coreTaskMetadata": { + "type": "object", + "properties": { + "discoverable": { + "type": "boolean", + "description": "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." + }, + "runtime": { + "$ref": "#/definitions/coreRuntimeMetadata", + "description": "Runtime information about the task." + }, + "timeout": { + "type": "string", + "description": "The overall timeout of a task including user-triggered retries." + }, + "retries": { + "$ref": "#/definitions/coreRetryStrategy", + "description": "Number of retries per task." + }, + "discovery_version": { + "type": "string", + "description": "Indicates a logical version to apply to this task for the purpose of discovery." + }, + "deprecated_error_message": { + "type": "string", + "description": "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers\nof the ending of support for a given task." + }, + "interruptible": { + "type": "boolean" + }, + "cache_serializable": { + "type": "boolean", + "title": "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" + }, + "generates_deck": { + "type": "boolean", + "description": "Indicates whether the task will generate a Deck URI when it finishes executing." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" + }, + "pod_template_name": { + "type": "string", + "description": "pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this\ntask creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied\nidentically as, the default PodTemplate configured in FlytePropeller." + }, + "cache_ignore_input_vars": { + "type": "array", + "items": { + "type": "string" + }, + "description": "cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache." + } + }, + "title": "Task Metadata" + }, + "coreTaskNode": { + "type": "object", + "properties": { + "reference_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "A globally unique identifier for the task." + }, + "overrides": { + "$ref": "#/definitions/coreTaskNodeOverrides", + "description": "Optional overrides applied at task execution time." + } + }, + "description": "Refers to the task that the Node is to execute." + }, + "coreTaskNodeOverrides": { + "type": "object", + "properties": { + "resources": { + "$ref": "#/definitions/coreResources", + "description": "A customizable interface to convey resources requested for a task container." + }, + "extended_resources": { + "$ref": "#/definitions/coreExtendedResources", + "description": "Overrides for all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." + } + }, + "description": "Optional task node overrides that will be applied at task execution time." + }, + "coreTaskTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Auto generated taskId by the system. Task Id uniquely identifies this task globally." + }, + "type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no\nextensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the\nimplementation registered for the TaskCategory." + }, + "metadata": { + "$ref": "#/definitions/coreTaskMetadata", + "description": "Extra metadata about the task." + }, + "interface": { + "$ref": "#/definitions/coreTypedInterface", + "description": "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees\ncompile-time validation of the workflow to avoid costly runtime failures." + }, + "custom": { + "type": "object", + "description": "Custom data about the task. This is extensible to allow various plugins in the system." + }, + "container": { + "$ref": "#/definitions/coreContainer" + }, + "k8s_pod": { + "$ref": "#/definitions/coreK8sPod" + }, + "sql": { + "$ref": "#/definitions/coreSql" + }, + "task_type_version": { + "type": "integer", + "format": "int32", + "description": "This can be used to customize task handling at execution time for the same task type." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "security_context encapsulates security attributes requested to run this task." + }, + "extended_resources": { + "$ref": "#/definitions/coreExtendedResources", + "description": "Encapsulates all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system\nto use as required.\nreserve the field numbers 1 through 15 for very frequently occurring message elements" + } + }, + "description": "A Task structure that uniquely identifies a task in the system\nTasks are registered as a first step in the system." + }, + "coreTimePartition": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + }, + "dataclass_type": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteralType" + }, + "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreTypedInterface": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/coreVariableMap" + }, + "outputs": { + "$ref": "#/definitions/coreVariableMap" + } + }, + "description": "Defines strongly typed inputs and outputs." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionInfo": { + "type": "object", + "properties": { + "targetType": { + "$ref": "#/definitions/coreLiteralType" + } + } + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVariable": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Variable literal type." + }, + "description": { + "type": "string", + "title": "+optional string describing input variable" + }, + "artifact_partial_id": { + "$ref": "#/definitions/coreArtifactID", + "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + } + }, + "description": "Defines a strongly typed variable." + }, + "coreVariableMap": { + "type": "object", + "properties": { + "variables": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreVariable" + }, + "description": "Defines a map of variable names to variables." + } + }, + "title": "A map of Variables" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, + "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." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" + }, + "coreWorkflowExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDING", + "SUCCEEDED", + "FAILING", + "FAILED", + "ABORTED", + "TIMED_OUT", + "ABORTING" + ], + "default": "UNDEFINED" + }, + "coreWorkflowMetadata": { + "type": "object", + "properties": { + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService", + "description": "Indicates the runtime priority of workflow executions." + }, + "on_failure": { + "$ref": "#/definitions/WorkflowMetadataOnFailurePolicy", + "description": "Defines how the system should behave when a failure is detected in the workflow execution." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" + } + }, + "description": "This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not\npercolate down to child entities (like tasks) launched by the workflow." + }, + "coreWorkflowMetadataDefaults": { + "type": "object", + "properties": { + "interruptible": { + "type": "boolean", + "description": "Whether child nodes of the workflow are interruptible." + } + }, + "description": "The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to\na workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it\nis only relevant when a task executes. The settings here are the defaults that are passed to all nodes\nunless explicitly overridden at the node layer.\nIf you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be\nadded to both this object and the WorkflowMetadata object above." + }, + "coreWorkflowNode": { + "type": "object", + "properties": { + "launchplan_ref": { + "$ref": "#/definitions/coreIdentifier", + "description": "A globally unique identifier for the launch plan." + }, + "sub_workflow_ref": { + "$ref": "#/definitions/coreIdentifier", + "title": "Reference to a subworkflow, that should be defined with the compiler context" + } + }, + "description": "Refers to a the workflow the node is to execute." + }, + "coreWorkflowTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "A globally unique identifier for the workflow." + }, + "metadata": { + "$ref": "#/definitions/coreWorkflowMetadata", + "description": "Extra metadata about the workflow." + }, + "interface": { + "$ref": "#/definitions/coreTypedInterface", + "description": "Defines a strongly typed interface for the Workflow. This can include some optional parameters." + }, + "nodes": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreNode" + }, + "description": "A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs." + }, + "outputs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreBinding" + }, + "description": "A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or\nspecify literals. All workflow outputs specified in the interface field must be bound in order for the workflow\nto be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to\nbind final outputs.\nMost of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can\njust have an output of some constant (`Output(5)`), but usually, the workflow will be pulling\noutputs from the output of a task." + }, + "failure_node": { + "$ref": "#/definitions/coreNode", + "description": "+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.\nThe interface of this node must match the Workflow interface with an additional input named 'error' of type\npb.lyft.flyte.core.Error." + }, + "metadata_defaults": { + "$ref": "#/definitions/coreWorkflowMetadataDefaults", + "title": "workflow defaults" + } + }, + "description": "Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable,\ndirected acyclic graph." + }, + "eventEventReason": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "title": "An explanation for this event" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "title": "The time this reason occurred" + } + } + }, + "eventExternalResourceInfo": { + "type": "object", + "properties": { + "external_id": { + "type": "string", + "description": "Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids." + }, + "index": { + "type": "integer", + "format": "int64", + "description": "A unique index for the external resource with respect to all external resources for this task. Although the\nidentifier may change between task reporting events or retries, this will remain the same to enable aggregating\ninformation from multiple reports." + }, + "retry_attempt": { + "type": "integer", + "format": "int64", + "title": "Retry attempt number for this external resource, ie., 2 for the second attempt" + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "title": "Phase associated with the external resource" + }, + "cache_status": { + "$ref": "#/definitions/coreCatalogCacheStatus", + "description": "Captures the status of caching for this external resource execution." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "title": "log information for the external resource execution" + } + }, + "description": "This message contains metadata about external resources produced or used by a specific task execution." + }, + "eventNodeExecutionEvent": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "title": "Unique identifier for this node execution" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreNodeExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the node." + }, + "input_uri": { + "type": "string" + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this node execution." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this node execution." + }, + "workflow_node_metadata": { + "$ref": "#/definitions/flyteidleventWorkflowNodeMetadata" + }, + "task_node_metadata": { + "$ref": "#/definitions/flyteidleventTaskNodeMetadata" + }, + "parent_task_metadata": { + "$ref": "#/definitions/eventParentTaskExecutionMetadata", + "description": "[To be deprecated] Specifies which task (if any) launched this node." + }, + "parent_node_metadata": { + "$ref": "#/definitions/eventParentNodeExecutionMetadata", + "description": "Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node." + }, + "retry_group": { + "type": "string", + "title": "Retry group to indicate grouping of nodes by retries" + }, + "spec_node_id": { + "type": "string", + "title": "Identifier of the node in the original workflow/graph\nThis maps to value of WorkflowTemplate.nodes[X].id" + }, + "node_name": { + "type": "string", + "title": "Friendly readable name for the node" + }, + "event_version": { + "type": "integer", + "format": "int32" + }, + "is_parent": { + "type": "boolean", + "description": "Whether this node launched a subworkflow." + }, + "is_dynamic": { + "type": "boolean", + "description": "Whether this node yielded a dynamic workflow." + }, + "deck_uri": { + "type": "string", + "title": "String location uniquely identifying where the deck HTML file is\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example,\nwhen first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when\nliteral inputs are initially copied. The event however will not be sent until after the copy completes.\nExtracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series." + }, + "is_array": { + "type": "boolean", + "description": "Indicates if this node is an ArrayNode." + } + } + }, + "eventParentNodeExecutionMetadata": { + "type": "object", + "properties": { + "node_id": { + "type": "string", + "title": "Unique identifier of the parent node id within the execution\nThis is value of core.NodeExecutionIdentifier.node_id of the parent node" + } + } + }, + "eventParentTaskExecutionMetadata": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier" + } + } + }, + "eventResourcePoolInfo": { + "type": "object", + "properties": { + "allocation_token": { + "type": "string", + "description": "Unique resource ID used to identify this execution when allocating a token." + }, + "namespace": { + "type": "string", + "description": "Namespace under which this task execution requested an allocation token." + } + }, + "description": "This message holds task execution metadata specific to resource allocation used to manage concurrent\nexecutions for a project namespace." + }, + "eventTaskExecutionEvent": { + "type": "object", + "properties": { + "task_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "ID of the task. In combination with the retryAttempt this will indicate\nthe task execution uniquely for a given parent node execution." + }, + "parent_node_execution_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "title": "A task execution is always kicked off by a node execution, the event consumer\nwill use the parent_id to relate the task to it's parent node execution" + }, + "retry_attempt": { + "type": "integer", + "format": "int64", + "title": "retry attempt number for this task, ie., 2 for the second attempt" + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "title": "Phase associated with the event" + }, + "producer_id": { + "type": "string", + "title": "id of the process that sent this event, mainly for trace debugging" + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "title": "log information for the task execution" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the task." + }, + "input_uri": { + "type": "string", + "description": "URI of the input file, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this task execution." + }, + "output_uri": { + "type": "string", + "description": "URI to the output of the execution, it will be in a format that encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this task execution." + }, + "custom_info": { + "type": "object", + "description": "Custom data that the task plugin sends back. This is extensible to allow various plugins in the system." + }, + "phase_version": { + "type": "integer", + "format": "int64", + "description": "Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)\nthat should be recorded regardless of the lack of phase change.\nThe version field should be incremented when metadata changes across the duration of an individual phase." + }, + "reason": { + "type": "string", + "description": "An optional explanation for the phase transition.\nDeprecated: Use reasons instead." + }, + "reasons": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventEventReason" + }, + "description": "An optional list of explanations for the phase transition." + }, + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin\nthis type will be identical, but not all task executions necessarily use pre-registered definitions and this\ntype is useful to render the task in the UI, filter task executions, etc." + }, + "metadata": { + "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", + "description": "Metadata around how a task was executed." + }, + "event_version": { + "type": "integer", + "format": "int32", + "description": "The event version is used to indicate versioned changes in how data is reported using this\nproto message. For example, event_verison \u003e 0 means that maps tasks report logs using the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s\npod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,\nbut this event will not be reported until the pod is marked as completed. Extracting both of these timestamps\nfacilitates a more accurate portrayal of the evaluation time-series." + } + }, + "description": "Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob." + }, + "eventWorkflowExecutionEvent": { + "type": "object", + "properties": { + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "title": "Workflow execution id" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreWorkflowExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the workflow." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this workflow execution." + } + } + }, + "flyteidladminDynamicWorkflowNodeMetadata": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the workflow." + }, + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure", + "description": "Represents the compiled representation of the embedded dynamic workflow." + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the subworkflow has already been compiled." + } + }, + "description": "For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated." + }, + "flyteidladminNodeExecution": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "description": "Uniquely identifies an individual node execution." + }, + "input_uri": { + "type": "string", + "description": "Path to remote data store where input blob is stored." + }, + "closure": { + "$ref": "#/definitions/adminNodeExecutionClosure", + "description": "Computed results associated with this node execution." + }, + "metadata": { + "$ref": "#/definitions/adminNodeExecutionMetaData", + "title": "Metadata for Node Execution" + } + }, + "description": "Encapsulates all details for a single node execution entity.\nA node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested\nsub-workflow, or even a separate child-workflow execution.\nThe same task can be called repeatedly in a single workflow but each node is unique." + }, + "flyteidladminTaskCreateRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "title": "id represents the unique identifier of the task.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminTaskSpec", + "title": "Represents the specification for task.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task` for more details" + }, + "flyteidladminTaskCreateResponse": { + "type": "object", + "description": "Represents a response structure if task creation succeeds.\n\nPurposefully empty, may be populated in the future." + }, + "flyteidladminTaskExecution": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "Unique identifier for the task execution." + }, + "input_uri": { + "type": "string", + "description": "Path to remote data store where input blob is stored." + }, + "closure": { + "$ref": "#/definitions/adminTaskExecutionClosure", + "description": "Task execution details and results." + }, + "is_parent": { + "type": "boolean", + "description": "Whether this task spawned nodes." + } + }, + "description": "Encapsulates all details for a single task execution entity.\nA task execution represents an instantiated task, including all inputs and additional\nmetadata as well as computed results included state, outputs, and duration-based attributes." + }, + "flyteidladminTaskNodeMetadata": { + "type": "object", + "properties": { + "cache_status": { + "$ref": "#/definitions/coreCatalogCacheStatus", + "description": "Captures the status of caching for this execution." + }, + "catalog_key": { + "$ref": "#/definitions/coreCatalogMetadata", + "title": "This structure carries the catalog artifact information" + }, + "checkpoint_uri": { + "type": "string", + "title": "The latest checkpoint location" + } + }, + "title": "Metadata for the case in which the node is a TaskNode" + }, + "flyteidladminWorkflowClosure": { + "type": "object", + "properties": { + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure", + "description": "Represents the compiled representation of the workflow from the specification provided." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the workflow was created." + } + }, + "description": "A container holding the compiled workflow produced from the WorkflowSpec and additional metadata." + }, + "flyteidladminWorkflowNodeMetadata": { + "type": "object", + "properties": { + "executionId": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "The identifier for a workflow execution launched by a node." + } + }, + "title": "Metadata for a WorkflowNode" + }, + "flyteidlcoreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "flyteidlcoreKeyValuePair": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "required." + }, + "value": { + "type": "string", + "description": "+optional." + } + }, + "description": "A generic key value pair." + }, + "flyteidlcoreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "flyteidleventDynamicWorkflowNodeMetadata": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the workflow." + }, + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure", + "description": "Represents the compiled representation of the embedded dynamic workflow." + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the workflow has already been compiled." + } + }, + "description": "For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated." + }, + "flyteidleventTaskExecutionMetadata": { + "type": "object", + "properties": { + "generated_name": { + "type": "string", + "description": "Unique, generated name for this task execution used by the backend." + }, + "external_resources": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventExternalResourceInfo" + }, + "description": "Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution." + }, + "resource_pool_info": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventResourcePoolInfo" + }, + "description": "Includes additional data on concurrent resource management used during execution..\nThis is a repeated field because a plugin can request multiple resource allocations during execution." + }, + "plugin_identifier": { + "type": "string", + "description": "The identifier of the plugin used to execute this task." + }, + "instance_class": { + "$ref": "#/definitions/TaskExecutionMetadataInstanceClass" + } + }, + "description": "Holds metadata around how a task was executed.\nAs a task transitions across event phases during execution some attributes, such its generated name, generated external resources,\nand more may grow in size but not change necessarily based on the phase transition that sparked the event update.\nMetadata is a container for these attributes across the task execution lifecycle." + }, + "flyteidleventTaskNodeMetadata": { + "type": "object", + "properties": { + "cache_status": { + "$ref": "#/definitions/coreCatalogCacheStatus", + "description": "Captures the status of caching for this execution." + }, + "catalog_key": { + "$ref": "#/definitions/coreCatalogMetadata", + "title": "This structure carries the catalog artifact information" + }, + "reservation_status": { + "$ref": "#/definitions/coreCatalogReservationStatus", + "description": "Captures the status of cache reservations for this execution." + }, + "checkpoint_uri": { + "type": "string", + "title": "The latest checkpoint location" + }, + "dynamic_workflow": { + "$ref": "#/definitions/flyteidleventDynamicWorkflowNodeMetadata", + "description": "In the case this task launched a dynamic workflow we capture its structure here." + } + } + }, + "flyteidleventWorkflowNodeMetadata": { + "type": "object", + "properties": { + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "title": "For Workflow Nodes we need to send information about the workflow that's launched" + }, + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + }, + "serviceAdminServiceCreateTaskBody": { + "type": "object", + "properties": { + "id": { + "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." + } + }, + "title": "id represents the unique identifier of the task.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminTaskSpec", + "title": "Represents the specification for task.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task` for more details" + } + } +} diff --git a/flyteidl/clients/go/assets/embed.go b/flyteidl/clients/go/assets/embed.go new file mode 100644 index 0000000000..1224802181 --- /dev/null +++ b/flyteidl/clients/go/assets/embed.go @@ -0,0 +1,12 @@ +package assets + +import ( + // This import is used to embed the admin.swagger.json file into the binary. + _ "embed" +) + +// AdminSwaggerFile is the admin.swagger.json file embedded into the binary. +// +//go:generate cp ../../../gen/pb-go/gateway/flyteidl/service/admin.swagger.json admin.swagger.json +//go:embed admin.swagger.json +var AdminSwaggerFile []byte diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.grpc.pb.cc deleted file mode 100644 index cb40aaf5c9..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/agent.proto - -#include "flyteidl/admin/agent.pb.h" -#include "flyteidl/admin/agent.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.grpc.pb.h deleted file mode 100644 index e12178767a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/agent.proto -#ifndef GRPC_flyteidl_2fadmin_2fagent_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fagent_2eproto__INCLUDED - -#include "flyteidl/admin/agent.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fagent_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc deleted file mode 100644 index acb4b787d0..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc +++ /dev/null @@ -1,7789 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/agent.proto - -#include "flyteidl/admin/agent.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Agent_flyteidl_2fadmin_2fagent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecutionMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecutionMetadata_LabelsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_TaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace admin { -class TaskExecutionMetadata_LabelsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionMetadata_LabelsEntry_DoNotUse_default_instance_; -class TaskExecutionMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionMetadata_AnnotationsEntry_DoNotUse_default_instance_; -class TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_default_instance_; -class TaskExecutionMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionMetadata_default_instance_; -class CreateTaskRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateTaskRequest_default_instance_; -class CreateTaskResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr resource_meta_; - const ::flyteidl::admin::Resource* resource_; -} _CreateTaskResponse_default_instance_; -class GetTaskRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetTaskRequest_default_instance_; -class GetTaskResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetTaskResponse_default_instance_; -class ResourceDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Resource_default_instance_; -class DeleteTaskRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DeleteTaskRequest_default_instance_; -class DeleteTaskResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DeleteTaskResponse_default_instance_; -class AgentDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Agent_default_instance_; -class GetAgentRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetAgentRequest_default_instance_; -class GetAgentResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetAgentResponse_default_instance_; -class ListAgentsRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListAgentsRequest_default_instance_; -class ListAgentsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListAgentsResponse_default_instance_; -class GetTaskMetricsRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetTaskMetricsRequest_default_instance_; -class GetTaskMetricsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetTaskMetricsResponse_default_instance_; -class GetTaskLogsRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetTaskLogsRequest_default_instance_; -class GetTaskLogsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetTaskLogsResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsTaskExecutionMetadata_LabelsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionMetadata_LabelsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse(); - } - ::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecutionMetadata_LabelsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskExecutionMetadata_LabelsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsTaskExecutionMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionMetadata_AnnotationsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse(); - } - ::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecutionMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskExecutionMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsTaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse(); - } - ::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsTaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionMetadata_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_TaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsTaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskExecutionMetadata_LabelsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto.base, - &scc_info_TaskExecutionMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto.base, - &scc_info_TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto.base,}}; - -static void InitDefaultsCreateTaskRequest_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_CreateTaskRequest_default_instance_; - new (ptr) ::flyteidl::admin::CreateTaskRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::CreateTaskRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_CreateTaskRequest_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsCreateTaskRequest_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_TaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto.base,}}; - -static void InitDefaultsCreateTaskResponse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_CreateTaskResponse_default_instance_; - new (ptr) ::flyteidl::admin::CreateTaskResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::CreateTaskResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CreateTaskResponse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateTaskResponse_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto.base,}}; - -static void InitDefaultsGetTaskRequest_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetTaskRequest_default_instance_; - new (ptr) ::flyteidl::admin::GetTaskRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetTaskRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_GetTaskRequest_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetTaskRequest_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsGetTaskResponse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetTaskResponse_default_instance_; - new (ptr) ::flyteidl::admin::GetTaskResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetTaskResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_GetTaskResponse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetTaskResponse_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto.base, - &scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base,}}; - -static void InitDefaultsResource_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Resource_default_instance_; - new (ptr) ::flyteidl::admin::Resource(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Resource::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsResource_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base,}}; - -static void InitDefaultsDeleteTaskRequest_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_DeleteTaskRequest_default_instance_; - new (ptr) ::flyteidl::admin::DeleteTaskRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::DeleteTaskRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_DeleteTaskRequest_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteTaskRequest_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsDeleteTaskResponse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_DeleteTaskResponse_default_instance_; - new (ptr) ::flyteidl::admin::DeleteTaskResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::DeleteTaskResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_DeleteTaskResponse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteTaskResponse_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsAgent_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Agent_default_instance_; - new (ptr) ::flyteidl::admin::Agent(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Agent::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Agent_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAgent_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsGetAgentRequest_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetAgentRequest_default_instance_; - new (ptr) ::flyteidl::admin::GetAgentRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetAgentRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_GetAgentRequest_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetAgentRequest_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsGetAgentResponse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetAgentResponse_default_instance_; - new (ptr) ::flyteidl::admin::GetAgentResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetAgentResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetAgentResponse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetAgentResponse_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_Agent_flyteidl_2fadmin_2fagent_2eproto.base,}}; - -static void InitDefaultsListAgentsRequest_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ListAgentsRequest_default_instance_; - new (ptr) ::flyteidl::admin::ListAgentsRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ListAgentsRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ListAgentsRequest_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsListAgentsRequest_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsListAgentsResponse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ListAgentsResponse_default_instance_; - new (ptr) ::flyteidl::admin::ListAgentsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ListAgentsResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ListAgentsResponse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListAgentsResponse_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_Agent_flyteidl_2fadmin_2fagent_2eproto.base,}}; - -static void InitDefaultsGetTaskMetricsRequest_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetTaskMetricsRequest_default_instance_; - new (ptr) ::flyteidl::admin::GetTaskMetricsRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetTaskMetricsRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_GetTaskMetricsRequest_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetTaskMetricsRequest_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsGetTaskMetricsResponse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetTaskMetricsResponse_default_instance_; - new (ptr) ::flyteidl::admin::GetTaskMetricsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetTaskMetricsResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetTaskMetricsResponse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetTaskMetricsResponse_flyteidl_2fadmin_2fagent_2eproto}, { - &scc_info_ExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto.base,}}; - -static void InitDefaultsGetTaskLogsRequest_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetTaskLogsRequest_default_instance_; - new (ptr) ::flyteidl::admin::GetTaskLogsRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetTaskLogsRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_GetTaskLogsRequest_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetTaskLogsRequest_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -static void InitDefaultsGetTaskLogsResponse_flyteidl_2fadmin_2fagent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetTaskLogsResponse_default_instance_; - new (ptr) ::flyteidl::admin::GetTaskLogsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetTaskLogsResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_GetTaskLogsResponse_flyteidl_2fadmin_2fagent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetTaskLogsResponse_flyteidl_2fadmin_2fagent_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fagent_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionMetadata_LabelsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DeleteTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DeleteTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Agent_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetAgentRequest_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetAgentResponse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ListAgentsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ListAgentsResponse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetTaskMetricsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetTaskMetricsResponse_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetTaskLogsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetTaskLogsResponse_flyteidl_2fadmin_2fagent_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[20]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fagent_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fagent_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fagent_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata, task_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata, namespace__), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata, labels_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata, annotations_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata, k8s_service_account_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionMetadata, environment_variables_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskRequest, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskRequest, template__), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskRequest, output_prefix_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskRequest, task_execution_metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskResponse, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskResponse, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::CreateTaskResponseDefaultTypeInternal, resource_meta_), - offsetof(::flyteidl::admin::CreateTaskResponseDefaultTypeInternal, resource_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateTaskResponse, res_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskRequest, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskRequest, resource_meta_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskResponse, resource_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskResponse, log_links_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Resource, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Resource, state_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Resource, outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Resource, message_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Resource, log_links_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Resource, phase_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DeleteTaskRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DeleteTaskRequest, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DeleteTaskRequest, resource_meta_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DeleteTaskResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Agent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Agent, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Agent, supported_task_types_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetAgentRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetAgentRequest, name_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetAgentResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetAgentResponse, agent_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListAgentsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListAgentsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListAgentsResponse, agents_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsRequest, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsRequest, resource_meta_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsRequest, queries_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsRequest, start_time_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsRequest, end_time_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsRequest, step_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskMetricsResponse, results_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsRequest, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsRequest, resource_meta_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsRequest, lines_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsRequest, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsResponse, results_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetTaskLogsResponse, token_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, sizeof(::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse)}, - { 9, 16, sizeof(::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse)}, - { 18, 25, sizeof(::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse)}, - { 27, -1, sizeof(::flyteidl::admin::TaskExecutionMetadata)}, - { 38, -1, sizeof(::flyteidl::admin::CreateTaskRequest)}, - { 47, -1, sizeof(::flyteidl::admin::CreateTaskResponse)}, - { 55, -1, sizeof(::flyteidl::admin::GetTaskRequest)}, - { 62, -1, sizeof(::flyteidl::admin::GetTaskResponse)}, - { 69, -1, sizeof(::flyteidl::admin::Resource)}, - { 79, -1, sizeof(::flyteidl::admin::DeleteTaskRequest)}, - { 86, -1, sizeof(::flyteidl::admin::DeleteTaskResponse)}, - { 91, -1, sizeof(::flyteidl::admin::Agent)}, - { 98, -1, sizeof(::flyteidl::admin::GetAgentRequest)}, - { 104, -1, sizeof(::flyteidl::admin::GetAgentResponse)}, - { 110, -1, sizeof(::flyteidl::admin::ListAgentsRequest)}, - { 115, -1, sizeof(::flyteidl::admin::ListAgentsResponse)}, - { 121, -1, sizeof(::flyteidl::admin::GetTaskMetricsRequest)}, - { 132, -1, sizeof(::flyteidl::admin::GetTaskMetricsResponse)}, - { 138, -1, sizeof(::flyteidl::admin::GetTaskLogsRequest)}, - { 147, -1, sizeof(::flyteidl::admin::GetTaskLogsResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_TaskExecutionMetadata_LabelsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionMetadata_AnnotationsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_CreateTaskRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_CreateTaskResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetTaskRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetTaskResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Resource_default_instance_), - reinterpret_cast(&::flyteidl::admin::_DeleteTaskRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_DeleteTaskResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Agent_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetAgentRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetAgentResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ListAgentsRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ListAgentsResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetTaskMetricsRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetTaskMetricsResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetTaskLogsRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetTaskLogsResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fagent_2eproto, "flyteidl/admin/agent.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fagent_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fagent_2eproto, 20, file_level_enum_descriptors_flyteidl_2fadmin_2fagent_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fagent_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fagent_2eproto[] = - "\n\032flyteidl/admin/agent.proto\022\016flyteidl.a" - "dmin\032\034flyteidl/core/literals.proto\032\031flyt" - "eidl/core/tasks.proto\032\036flyteidl/core/ide" - "ntifier.proto\032\035flyteidl/core/execution.p" - "roto\032\033flyteidl/core/metrics.proto\032\036googl" - "e/protobuf/duration.proto\032\037google/protob" - "uf/timestamp.proto\"\232\004\n\025TaskExecutionMeta" - "data\022A\n\021task_execution_id\030\001 \001(\0132&.flytei" - "dl.core.TaskExecutionIdentifier\022\021\n\tnames" - "pace\030\002 \001(\t\022A\n\006labels\030\003 \003(\01321.flyteidl.ad" - "min.TaskExecutionMetadata.LabelsEntry\022K\n" - "\013annotations\030\004 \003(\01326.flyteidl.admin.Task" - "ExecutionMetadata.AnnotationsEntry\022\033\n\023k8" - "s_service_account\030\005 \001(\t\022^\n\025environment_v" - "ariables\030\006 \003(\0132\?.flyteidl.admin.TaskExec" - "utionMetadata.EnvironmentVariablesEntry\032" - "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - "(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022" - "\r\n\005value\030\002 \001(\t:\0028\001\032;\n\031EnvironmentVariabl" - "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - "\314\001\n\021CreateTaskRequest\022)\n\006inputs\030\001 \001(\0132\031." - "flyteidl.core.LiteralMap\022-\n\010template\030\002 \001" - "(\0132\033.flyteidl.core.TaskTemplate\022\025\n\routpu" - "t_prefix\030\003 \001(\t\022F\n\027task_execution_metadat" - "a\030\004 \001(\0132%.flyteidl.admin.TaskExecutionMe" - "tadata\"b\n\022CreateTaskResponse\022\027\n\rresource" - "_meta\030\001 \001(\014H\000\022,\n\010resource\030\002 \001(\0132\030.flytei" - "dl.admin.ResourceH\000B\005\n\003res\":\n\016GetTaskReq" - "uest\022\021\n\ttask_type\030\001 \001(\t\022\025\n\rresource_meta" - "\030\002 \001(\014\"h\n\017GetTaskResponse\022*\n\010resource\030\001 " - "\001(\0132\030.flyteidl.admin.Resource\022)\n\tlog_lin" - "ks\030\002 \003(\0132\026.flyteidl.core.TaskLog\"\317\001\n\010Res" - "ource\022(\n\005state\030\001 \001(\0162\025.flyteidl.admin.St" - "ateB\002\030\001\022*\n\007outputs\030\002 \001(\0132\031.flyteidl.core" - ".LiteralMap\022\017\n\007message\030\003 \001(\t\022)\n\tlog_link" - "s\030\004 \003(\0132\026.flyteidl.core.TaskLog\0221\n\005phase" - "\030\005 \001(\0162\".flyteidl.core.TaskExecution.Pha" - "se\"=\n\021DeleteTaskRequest\022\021\n\ttask_type\030\001 \001" - "(\t\022\025\n\rresource_meta\030\002 \001(\014\"\024\n\022DeleteTaskR" - "esponse\"3\n\005Agent\022\014\n\004name\030\001 \001(\t\022\034\n\024suppor" - "ted_task_types\030\002 \003(\t\"\037\n\017GetAgentRequest\022" - "\014\n\004name\030\001 \001(\t\"8\n\020GetAgentResponse\022$\n\005age" - "nt\030\001 \001(\0132\025.flyteidl.admin.Agent\"\023\n\021ListA" - "gentsRequest\";\n\022ListAgentsResponse\022%\n\006ag" - "ents\030\001 \003(\0132\025.flyteidl.admin.Agent\"\331\001\n\025Ge" - "tTaskMetricsRequest\022\021\n\ttask_type\030\001 \001(\t\022\025" - "\n\rresource_meta\030\002 \001(\014\022\017\n\007queries\030\003 \003(\t\022." - "\n\nstart_time\030\004 \001(\0132\032.google.protobuf.Tim" - "estamp\022,\n\010end_time\030\005 \001(\0132\032.google.protob" - "uf.Timestamp\022\'\n\004step\030\006 \001(\0132\031.google.prot" - "obuf.Duration\"O\n\026GetTaskMetricsResponse\022" - "5\n\007results\030\001 \003(\0132$.flyteidl.core.Executi" - "onMetricResult\"\\\n\022GetTaskLogsRequest\022\021\n\t" - "task_type\030\001 \001(\t\022\025\n\rresource_meta\030\002 \001(\014\022\r" - "\n\005lines\030\003 \001(\004\022\r\n\005token\030\004 \001(\t\"5\n\023GetTaskL" - "ogsResponse\022\017\n\007results\030\001 \003(\t\022\r\n\005token\030\002 " - "\001(\t*^\n\005State\022\025\n\021RETRYABLE_FAILURE\020\000\022\025\n\021P" - "ERMANENT_FAILURE\020\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNI" - "NG\020\003\022\r\n\tSUCCEEDED\020\004B=Z;github.com/flyteo" - "rg/flyte/flyteidl/gen/pb-go/flyteidl/adm" - "inb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fagent_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fagent_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fagent_2eproto, - "flyteidl/admin/agent.proto", &assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto, 2410, -}; - -void AddDescriptors_flyteidl_2fadmin_2fagent_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[7] = - { - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto, - ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fagent_2eproto, deps, 7); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fagent_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fagent_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* State_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fagent_2eproto[0]; -} -bool State_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - - -// =================================================================== - -TaskExecutionMetadata_LabelsEntry_DoNotUse::TaskExecutionMetadata_LabelsEntry_DoNotUse() {} -TaskExecutionMetadata_LabelsEntry_DoNotUse::TaskExecutionMetadata_LabelsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void TaskExecutionMetadata_LabelsEntry_DoNotUse::MergeFrom(const TaskExecutionMetadata_LabelsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata TaskExecutionMetadata_LabelsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[0]; -} -void TaskExecutionMetadata_LabelsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskExecutionMetadata_LabelsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - TaskExecutionMetadata_LabelsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -TaskExecutionMetadata_AnnotationsEntry_DoNotUse::TaskExecutionMetadata_AnnotationsEntry_DoNotUse() {} -TaskExecutionMetadata_AnnotationsEntry_DoNotUse::TaskExecutionMetadata_AnnotationsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void TaskExecutionMetadata_AnnotationsEntry_DoNotUse::MergeFrom(const TaskExecutionMetadata_AnnotationsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata TaskExecutionMetadata_AnnotationsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[1]; -} -void TaskExecutionMetadata_AnnotationsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskExecutionMetadata_AnnotationsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - TaskExecutionMetadata_AnnotationsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse() {} -TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::MergeFrom(const TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[2]; -} -void TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void TaskExecutionMetadata::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecutionMetadata_default_instance_._instance.get_mutable()->task_execution_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); -} -class TaskExecutionMetadata::HasBitSetters { - public: - static const ::flyteidl::core::TaskExecutionIdentifier& task_execution_id(const TaskExecutionMetadata* msg); -}; - -const ::flyteidl::core::TaskExecutionIdentifier& -TaskExecutionMetadata::HasBitSetters::task_execution_id(const TaskExecutionMetadata* msg) { - return *msg->task_execution_id_; -} -void TaskExecutionMetadata::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 TaskExecutionMetadata::kTaskExecutionIdFieldNumber; -const int TaskExecutionMetadata::kNamespaceFieldNumber; -const int TaskExecutionMetadata::kLabelsFieldNumber; -const int TaskExecutionMetadata::kAnnotationsFieldNumber; -const int TaskExecutionMetadata::kK8SServiceAccountFieldNumber; -const int TaskExecutionMetadata::kEnvironmentVariablesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionMetadata::TaskExecutionMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionMetadata) -} -TaskExecutionMetadata::TaskExecutionMetadata(const TaskExecutionMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - labels_.MergeFrom(from.labels_); - annotations_.MergeFrom(from.annotations_); - environment_variables_.MergeFrom(from.environment_variables_); - namespace__.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.namespace_().size() > 0) { - namespace__.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace__); - } - k8s_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.k8s_service_account().size() > 0) { - k8s_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.k8s_service_account_); - } - 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.admin.TaskExecutionMetadata) -} - -void TaskExecutionMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto.base); - namespace__.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - k8s_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - task_execution_id_ = nullptr; -} - -TaskExecutionMetadata::~TaskExecutionMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionMetadata) - SharedDtor(); -} - -void TaskExecutionMetadata::SharedDtor() { - namespace__.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - k8s_service_account_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete task_execution_id_; -} - -void TaskExecutionMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionMetadata& TaskExecutionMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionMetadata_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - labels_.Clear(); - annotations_.Clear(); - environment_variables_.Clear(); - namespace__.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - k8s_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - 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* TaskExecutionMetadata::_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; - } - // string namespace = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionMetadata.namespace"); - object = msg->mutable_namespace_(); - 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; - } - // map labels = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->labels_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); - break; - } - // map annotations = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->annotations_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); - break; - } - // string k8s_service_account = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionMetadata.k8s_service_account"); - object = msg->mutable_k8s_service_account(); - 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; - } - // map environment_variables = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->environment_variables_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 50 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskExecutionMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionMetadata) - 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; - } - - // string namespace = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_namespace_())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.namespace")); - } else { - goto handle_unusual; - } - break; - } - - // map labels = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - TaskExecutionMetadata_LabelsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - TaskExecutionMetadata_LabelsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&labels_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - // map annotations = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - TaskExecutionMetadata_AnnotationsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - TaskExecutionMetadata_AnnotationsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&annotations_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - // string k8s_service_account = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_k8s_service_account())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->k8s_service_account().data(), static_cast(this->k8s_service_account().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.k8s_service_account")); - } else { - goto handle_unusual; - } - break; - } - - // map environment_variables = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&environment_variables_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecutionMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionMetadata) - ::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); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.namespace"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->namespace_(), output); - } - - // map labels = 3; - if (!this->labels().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->labels().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->labels().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(labels_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it) { - entry.reset(labels_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // map annotations = 4; - if (!this->annotations().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->annotations().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->annotations().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(annotations_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(4, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it) { - entry.reset(annotations_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(4, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // string k8s_service_account = 5; - if (this->k8s_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->k8s_service_account().data(), static_cast(this->k8s_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.k8s_service_account"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->k8s_service_account(), output); - } - - // map environment_variables = 6; - if (!this->environment_variables().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->environment_variables().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->environment_variables().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->environment_variables().begin(); - it != this->environment_variables().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(environment_variables_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(6, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->environment_variables().begin(); - it != this->environment_variables().end(); ++it) { - entry.reset(environment_variables_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(6, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskExecutionMetadata) -} - -::google::protobuf::uint8* TaskExecutionMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionMetadata) - ::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); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.namespace"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->namespace_(), target); - } - - // map labels = 3; - if (!this->labels().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.LabelsEntry.value"); - } - }; - - if (false && - this->labels().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->labels().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(labels_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it) { - entry.reset(labels_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // map annotations = 4; - if (!this->annotations().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry.value"); - } - }; - - if (false && - this->annotations().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->annotations().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(annotations_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(4, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it) { - entry.reset(annotations_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(4, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // string k8s_service_account = 5; - if (this->k8s_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->k8s_service_account().data(), static_cast(this->k8s_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.k8s_service_account"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->k8s_service_account(), target); - } - - // map environment_variables = 6; - if (!this->environment_variables().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry.value"); - } - }; - - if (false && - this->environment_variables().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->environment_variables().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->environment_variables().begin(); - it != this->environment_variables().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(environment_variables_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(6, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->environment_variables().begin(); - it != this->environment_variables().end(); ++it) { - entry.reset(environment_variables_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(6, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskExecutionMetadata) - return target; -} - -size_t TaskExecutionMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionMetadata) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map labels = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->labels_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it) { - entry.reset(labels_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // map annotations = 4; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->annotations_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it) { - entry.reset(annotations_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // map environment_variables = 6; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->environment_variables_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->environment_variables().begin(); - it != this->environment_variables().end(); ++it) { - entry.reset(environment_variables_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->namespace_()); - } - - // string k8s_service_account = 5; - if (this->k8s_service_account().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->k8s_service_account()); - } - - // .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 TaskExecutionMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionMetadata) - MergeFrom(*source); - } -} - -void TaskExecutionMetadata::MergeFrom(const TaskExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - labels_.MergeFrom(from.labels_); - annotations_.MergeFrom(from.annotations_); - environment_variables_.MergeFrom(from.environment_variables_); - if (from.namespace_().size() > 0) { - - namespace__.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace__); - } - if (from.k8s_service_account().size() > 0) { - - k8s_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.k8s_service_account_); - } - if (from.has_task_execution_id()) { - mutable_task_execution_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_execution_id()); - } -} - -void TaskExecutionMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionMetadata::CopyFrom(const TaskExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionMetadata::IsInitialized() const { - return true; -} - -void TaskExecutionMetadata::Swap(TaskExecutionMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionMetadata::InternalSwap(TaskExecutionMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - labels_.Swap(&other->labels_); - annotations_.Swap(&other->annotations_); - environment_variables_.Swap(&other->environment_variables_); - namespace__.Swap(&other->namespace__, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - k8s_service_account_.Swap(&other->k8s_service_account_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(task_execution_id_, other->task_execution_id_); -} - -::google::protobuf::Metadata TaskExecutionMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateTaskRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_CreateTaskRequest_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_CreateTaskRequest_default_instance_._instance.get_mutable()->template__ = const_cast< ::flyteidl::core::TaskTemplate*>( - ::flyteidl::core::TaskTemplate::internal_default_instance()); - ::flyteidl::admin::_CreateTaskRequest_default_instance_._instance.get_mutable()->task_execution_metadata_ = const_cast< ::flyteidl::admin::TaskExecutionMetadata*>( - ::flyteidl::admin::TaskExecutionMetadata::internal_default_instance()); -} -class CreateTaskRequest::HasBitSetters { - public: - static const ::flyteidl::core::LiteralMap& inputs(const CreateTaskRequest* msg); - static const ::flyteidl::core::TaskTemplate& template_(const CreateTaskRequest* msg); - static const ::flyteidl::admin::TaskExecutionMetadata& task_execution_metadata(const CreateTaskRequest* msg); -}; - -const ::flyteidl::core::LiteralMap& -CreateTaskRequest::HasBitSetters::inputs(const CreateTaskRequest* msg) { - return *msg->inputs_; -} -const ::flyteidl::core::TaskTemplate& -CreateTaskRequest::HasBitSetters::template_(const CreateTaskRequest* msg) { - return *msg->template__; -} -const ::flyteidl::admin::TaskExecutionMetadata& -CreateTaskRequest::HasBitSetters::task_execution_metadata(const CreateTaskRequest* msg) { - return *msg->task_execution_metadata_; -} -void CreateTaskRequest::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -void CreateTaskRequest::clear_template_() { - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateTaskRequest::kInputsFieldNumber; -const int CreateTaskRequest::kTemplateFieldNumber; -const int CreateTaskRequest::kOutputPrefixFieldNumber; -const int CreateTaskRequest::kTaskExecutionMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateTaskRequest::CreateTaskRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.CreateTaskRequest) -} -CreateTaskRequest::CreateTaskRequest(const CreateTaskRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - output_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.output_prefix().size() > 0) { - output_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_prefix_); - } - if (from.has_inputs()) { - inputs_ = new ::flyteidl::core::LiteralMap(*from.inputs_); - } else { - inputs_ = nullptr; - } - if (from.has_template_()) { - template__ = new ::flyteidl::core::TaskTemplate(*from.template__); - } else { - template__ = nullptr; - } - if (from.has_task_execution_metadata()) { - task_execution_metadata_ = new ::flyteidl::admin::TaskExecutionMetadata(*from.task_execution_metadata_); - } else { - task_execution_metadata_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.CreateTaskRequest) -} - -void CreateTaskRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - output_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&inputs_, 0, static_cast( - reinterpret_cast(&task_execution_metadata_) - - reinterpret_cast(&inputs_)) + sizeof(task_execution_metadata_)); -} - -CreateTaskRequest::~CreateTaskRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.CreateTaskRequest) - SharedDtor(); -} - -void CreateTaskRequest::SharedDtor() { - output_prefix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete inputs_; - if (this != internal_default_instance()) delete template__; - if (this != internal_default_instance()) delete task_execution_metadata_; -} - -void CreateTaskRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateTaskRequest& CreateTaskRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void CreateTaskRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.CreateTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - output_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; - if (GetArenaNoVirtual() == nullptr && task_execution_metadata_ != nullptr) { - delete task_execution_metadata_; - } - task_execution_metadata_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateTaskRequest::_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.LiteralMap inputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_inputs(); - 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.TaskTemplate template = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskTemplate::_InternalParse; - object = msg->mutable_template_(); - 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 output_prefix = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.CreateTaskRequest.output_prefix"); - object = msg->mutable_output_prefix(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskExecutionMetadata::_InternalParse; - object = msg->mutable_task_execution_metadata(); - 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 CreateTaskRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.CreateTaskRequest) - 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.LiteralMap inputs = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskTemplate template = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_template_())); - } else { - goto handle_unusual; - } - break; - } - - // string output_prefix = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_prefix())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_prefix().data(), static_cast(this->output_prefix().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.CreateTaskRequest.output_prefix")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_execution_metadata())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.CreateTaskRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.CreateTaskRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateTaskRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.CreateTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap inputs = 1; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::inputs(this), output); - } - - // .flyteidl.core.TaskTemplate template = 2; - if (this->has_template_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::template_(this), output); - } - - // string output_prefix = 3; - if (this->output_prefix().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_prefix().data(), static_cast(this->output_prefix().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.CreateTaskRequest.output_prefix"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->output_prefix(), output); - } - - // .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - if (this->has_task_execution_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::task_execution_metadata(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.CreateTaskRequest) -} - -::google::protobuf::uint8* CreateTaskRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.CreateTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap inputs = 1; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::inputs(this), target); - } - - // .flyteidl.core.TaskTemplate template = 2; - if (this->has_template_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::template_(this), target); - } - - // string output_prefix = 3; - if (this->output_prefix().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_prefix().data(), static_cast(this->output_prefix().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.CreateTaskRequest.output_prefix"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->output_prefix(), target); - } - - // .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - if (this->has_task_execution_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::task_execution_metadata(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.CreateTaskRequest) - return target; -} - -size_t CreateTaskRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.CreateTaskRequest) - 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 output_prefix = 3; - if (this->output_prefix().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_prefix()); - } - - // .flyteidl.core.LiteralMap inputs = 1; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - // .flyteidl.core.TaskTemplate template = 2; - if (this->has_template_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *template__); - } - - // .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - if (this->has_task_execution_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *task_execution_metadata_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateTaskRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.CreateTaskRequest) - GOOGLE_DCHECK_NE(&from, this); - const CreateTaskRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.CreateTaskRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.CreateTaskRequest) - MergeFrom(*source); - } -} - -void CreateTaskRequest::MergeFrom(const CreateTaskRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.CreateTaskRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.output_prefix().size() > 0) { - - output_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_prefix_); - } - if (from.has_inputs()) { - mutable_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.inputs()); - } - if (from.has_template_()) { - mutable_template_()->::flyteidl::core::TaskTemplate::MergeFrom(from.template_()); - } - if (from.has_task_execution_metadata()) { - mutable_task_execution_metadata()->::flyteidl::admin::TaskExecutionMetadata::MergeFrom(from.task_execution_metadata()); - } -} - -void CreateTaskRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.CreateTaskRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateTaskRequest::CopyFrom(const CreateTaskRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.CreateTaskRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateTaskRequest::IsInitialized() const { - return true; -} - -void CreateTaskRequest::Swap(CreateTaskRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateTaskRequest::InternalSwap(CreateTaskRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - output_prefix_.Swap(&other->output_prefix_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(inputs_, other->inputs_); - swap(template__, other->template__); - swap(task_execution_metadata_, other->task_execution_metadata_); -} - -::google::protobuf::Metadata CreateTaskRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateTaskResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_CreateTaskResponse_default_instance_.resource_meta_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::admin::_CreateTaskResponse_default_instance_.resource_ = const_cast< ::flyteidl::admin::Resource*>( - ::flyteidl::admin::Resource::internal_default_instance()); -} -class CreateTaskResponse::HasBitSetters { - public: - static const ::flyteidl::admin::Resource& resource(const CreateTaskResponse* msg); -}; - -const ::flyteidl::admin::Resource& -CreateTaskResponse::HasBitSetters::resource(const CreateTaskResponse* msg) { - return *msg->res_.resource_; -} -void CreateTaskResponse::set_allocated_resource(::flyteidl::admin::Resource* resource) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_res(); - if (resource) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resource = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resource, submessage_arena); - } - set_has_resource(); - res_.resource_ = resource; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateTaskResponse.resource) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateTaskResponse::kResourceMetaFieldNumber; -const int CreateTaskResponse::kResourceFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateTaskResponse::CreateTaskResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.CreateTaskResponse) -} -CreateTaskResponse::CreateTaskResponse(const CreateTaskResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_res(); - switch (from.res_case()) { - case kResourceMeta: { - set_resource_meta(from.resource_meta()); - break; - } - case kResource: { - mutable_resource()->::flyteidl::admin::Resource::MergeFrom(from.resource()); - break; - } - case RES_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.CreateTaskResponse) -} - -void CreateTaskResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - clear_has_res(); -} - -CreateTaskResponse::~CreateTaskResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.CreateTaskResponse) - SharedDtor(); -} - -void CreateTaskResponse::SharedDtor() { - if (has_res()) { - clear_res(); - } -} - -void CreateTaskResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateTaskResponse& CreateTaskResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void CreateTaskResponse::clear_res() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.CreateTaskResponse) - switch (res_case()) { - case kResourceMeta: { - res_.resource_meta_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kResource: { - delete res_.resource_; - break; - } - case RES_NOT_SET: { - break; - } - } - _oneof_case_[0] = RES_NOT_SET; -} - - -void CreateTaskResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.CreateTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_res(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateTaskResponse::_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) { - // bytes resource_meta = 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); - object = msg->mutable_resource_meta(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Resource resource = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Resource::_InternalParse; - object = msg->mutable_resource(); - 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 CreateTaskResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.CreateTaskResponse) - 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)) { - // bytes resource_meta = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_resource_meta())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Resource resource = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resource())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.CreateTaskResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.CreateTaskResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateTaskResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.CreateTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bytes resource_meta = 1; - if (has_resource_meta()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 1, this->resource_meta(), output); - } - - // .flyteidl.admin.Resource resource = 2; - if (has_resource()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::resource(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.CreateTaskResponse) -} - -::google::protobuf::uint8* CreateTaskResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.CreateTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bytes resource_meta = 1; - if (has_resource_meta()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 1, this->resource_meta(), target); - } - - // .flyteidl.admin.Resource resource = 2; - if (has_resource()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::resource(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.CreateTaskResponse) - return target; -} - -size_t CreateTaskResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.CreateTaskResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (res_case()) { - // bytes resource_meta = 1; - case kResourceMeta: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->resource_meta()); - break; - } - // .flyteidl.admin.Resource resource = 2; - case kResource: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *res_.resource_); - break; - } - case RES_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateTaskResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.CreateTaskResponse) - GOOGLE_DCHECK_NE(&from, this); - const CreateTaskResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.CreateTaskResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.CreateTaskResponse) - MergeFrom(*source); - } -} - -void CreateTaskResponse::MergeFrom(const CreateTaskResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.CreateTaskResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.res_case()) { - case kResourceMeta: { - set_resource_meta(from.resource_meta()); - break; - } - case kResource: { - mutable_resource()->::flyteidl::admin::Resource::MergeFrom(from.resource()); - break; - } - case RES_NOT_SET: { - break; - } - } -} - -void CreateTaskResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.CreateTaskResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateTaskResponse::CopyFrom(const CreateTaskResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.CreateTaskResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateTaskResponse::IsInitialized() const { - return true; -} - -void CreateTaskResponse::Swap(CreateTaskResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateTaskResponse::InternalSwap(CreateTaskResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(res_, other->res_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata CreateTaskResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTaskRequest::InitAsDefaultInstance() { -} -class GetTaskRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTaskRequest::kTaskTypeFieldNumber; -const int GetTaskRequest::kResourceMetaFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTaskRequest::GetTaskRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetTaskRequest) -} -GetTaskRequest::GetTaskRequest(const GetTaskRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.resource_meta().size() > 0) { - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetTaskRequest) -} - -void GetTaskRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -GetTaskRequest::~GetTaskRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetTaskRequest) - SharedDtor(); -} - -void GetTaskRequest::SharedDtor() { - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetTaskRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetTaskRequest& GetTaskRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetTaskRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetTaskRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string task_type = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetTaskRequest.task_type"); - object = msg->mutable_task_type(); - 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; - } - // bytes resource_meta = 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); - object = msg->mutable_resource_meta(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(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 GetTaskRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetTaskRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string task_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetTaskRequest.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // bytes resource_meta = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_resource_meta())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetTaskRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetTaskRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetTaskRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskRequest.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->task_type(), output); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 2, this->resource_meta(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetTaskRequest) -} - -::google::protobuf::uint8* GetTaskRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskRequest.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->task_type(), target); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 2, this->resource_meta(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GetTaskRequest) - return target; -} - -size_t GetTaskRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetTaskRequest) - 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 task_type = 1; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->resource_meta()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetTaskRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetTaskRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetTaskRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetTaskRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetTaskRequest) - MergeFrom(*source); - } -} - -void GetTaskRequest::MergeFrom(const GetTaskRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetTaskRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.resource_meta().size() > 0) { - - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } -} - -void GetTaskRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetTaskRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTaskRequest::CopyFrom(const GetTaskRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetTaskRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTaskRequest::IsInitialized() const { - return true; -} - -void GetTaskRequest::Swap(GetTaskRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTaskRequest::InternalSwap(GetTaskRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - resource_meta_.Swap(&other->resource_meta_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata GetTaskRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTaskResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_GetTaskResponse_default_instance_._instance.get_mutable()->resource_ = const_cast< ::flyteidl::admin::Resource*>( - ::flyteidl::admin::Resource::internal_default_instance()); -} -class GetTaskResponse::HasBitSetters { - public: - static const ::flyteidl::admin::Resource& resource(const GetTaskResponse* msg); -}; - -const ::flyteidl::admin::Resource& -GetTaskResponse::HasBitSetters::resource(const GetTaskResponse* msg) { - return *msg->resource_; -} -void GetTaskResponse::clear_log_links() { - log_links_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTaskResponse::kResourceFieldNumber; -const int GetTaskResponse::kLogLinksFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTaskResponse::GetTaskResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetTaskResponse) -} -GetTaskResponse::GetTaskResponse(const GetTaskResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - log_links_(from.log_links_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_resource()) { - resource_ = new ::flyteidl::admin::Resource(*from.resource_); - } else { - resource_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetTaskResponse) -} - -void GetTaskResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - resource_ = nullptr; -} - -GetTaskResponse::~GetTaskResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetTaskResponse) - SharedDtor(); -} - -void GetTaskResponse::SharedDtor() { - if (this != internal_default_instance()) delete resource_; -} - -void GetTaskResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetTaskResponse& GetTaskResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetTaskResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - log_links_.Clear(); - if (GetArenaNoVirtual() == nullptr && resource_ != nullptr) { - delete resource_; - } - resource_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetTaskResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.Resource resource = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Resource::_InternalParse; - object = msg->mutable_resource(); - 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; - } - // repeated .flyteidl.core.TaskLog log_links = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskLog::_InternalParse; - object = msg->add_log_links(); - 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) == 18 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool GetTaskResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetTaskResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.Resource resource = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resource())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.TaskLog log_links = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_log_links())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetTaskResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetTaskResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetTaskResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Resource resource = 1; - if (this->has_resource()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::resource(this), output); - } - - // repeated .flyteidl.core.TaskLog log_links = 2; - for (unsigned int i = 0, - n = static_cast(this->log_links_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->log_links(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.admin.GetTaskResponse) -} - -::google::protobuf::uint8* GetTaskResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Resource resource = 1; - if (this->has_resource()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::resource(this), target); - } - - // repeated .flyteidl.core.TaskLog log_links = 2; - for (unsigned int i = 0, - n = static_cast(this->log_links_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->log_links(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.admin.GetTaskResponse) - return target; -} - -size_t GetTaskResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetTaskResponse) - 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.TaskLog log_links = 2; - { - unsigned int count = static_cast(this->log_links_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->log_links(static_cast(i))); - } - } - - // .flyteidl.admin.Resource resource = 1; - if (this->has_resource()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resource_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetTaskResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetTaskResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetTaskResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetTaskResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetTaskResponse) - MergeFrom(*source); - } -} - -void GetTaskResponse::MergeFrom(const GetTaskResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetTaskResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - log_links_.MergeFrom(from.log_links_); - if (from.has_resource()) { - mutable_resource()->::flyteidl::admin::Resource::MergeFrom(from.resource()); - } -} - -void GetTaskResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetTaskResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTaskResponse::CopyFrom(const GetTaskResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetTaskResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTaskResponse::IsInitialized() const { - return true; -} - -void GetTaskResponse::Swap(GetTaskResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTaskResponse::InternalSwap(GetTaskResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&log_links_)->InternalSwap(CastToBase(&other->log_links_)); - swap(resource_, other->resource_); -} - -::google::protobuf::Metadata GetTaskResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Resource::InitAsDefaultInstance() { - ::flyteidl::admin::_Resource_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); -} -class Resource::HasBitSetters { - public: - static const ::flyteidl::core::LiteralMap& outputs(const Resource* msg); -}; - -const ::flyteidl::core::LiteralMap& -Resource::HasBitSetters::outputs(const Resource* msg) { - return *msg->outputs_; -} -void Resource::clear_outputs() { - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; -} -void Resource::clear_log_links() { - log_links_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Resource::kStateFieldNumber; -const int Resource::kOutputsFieldNumber; -const int Resource::kMessageFieldNumber; -const int Resource::kLogLinksFieldNumber; -const int Resource::kPhaseFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Resource::Resource() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Resource) -} -Resource::Resource(const Resource& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - log_links_(from.log_links_) { - _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_outputs()) { - outputs_ = new ::flyteidl::core::LiteralMap(*from.outputs_); - } else { - outputs_ = nullptr; - } - ::memcpy(&state_, &from.state_, - static_cast(reinterpret_cast(&phase_) - - reinterpret_cast(&state_)) + sizeof(phase_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Resource) -} - -void Resource::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto.base); - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&outputs_, 0, static_cast( - reinterpret_cast(&phase_) - - reinterpret_cast(&outputs_)) + sizeof(phase_)); -} - -Resource::~Resource() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Resource) - SharedDtor(); -} - -void Resource::SharedDtor() { - message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete outputs_; -} - -void Resource::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Resource& Resource::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Resource_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void Resource::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Resource) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - log_links_.Clear(); - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; - ::memset(&state_, 0, static_cast( - reinterpret_cast(&phase_) - - reinterpret_cast(&state_)) + sizeof(phase_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Resource::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.State state = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_state(static_cast<::flyteidl::admin::State>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.LiteralMap outputs = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_outputs(); - 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 message = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Resource.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; - } - // repeated .flyteidl.core.TaskLog log_links = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskLog::_InternalParse; - object = msg->add_log_links(); - 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) == 34 && (ptr += 1)); - break; - } - // .flyteidl.core.TaskExecution.Phase phase = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::TaskExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 Resource::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Resource) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.State state = 1 [deprecated = true]; - 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_state(static_cast< ::flyteidl::admin::State >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap outputs = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // string message = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 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.admin.Resource.message")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.TaskLog log_links = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_log_links())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskExecution.Phase phase = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::TaskExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Resource) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Resource) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Resource::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Resource) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.State state = 1 [deprecated = true]; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->state(), output); - } - - // .flyteidl.core.LiteralMap outputs = 2; - if (this->has_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::outputs(this), output); - } - - // string message = 3; - if (this->message().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->message().data(), static_cast(this->message().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Resource.message"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->message(), output); - } - - // repeated .flyteidl.core.TaskLog log_links = 4; - for (unsigned int i = 0, - n = static_cast(this->log_links_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, - this->log_links(static_cast(i)), - output); - } - - // .flyteidl.core.TaskExecution.Phase phase = 5; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 5, this->phase(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Resource) -} - -::google::protobuf::uint8* Resource::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Resource) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.State state = 1 [deprecated = true]; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->state(), target); - } - - // .flyteidl.core.LiteralMap outputs = 2; - if (this->has_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::outputs(this), target); - } - - // string message = 3; - if (this->message().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->message().data(), static_cast(this->message().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Resource.message"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->message(), target); - } - - // repeated .flyteidl.core.TaskLog log_links = 4; - for (unsigned int i = 0, - n = static_cast(this->log_links_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->log_links(static_cast(i)), target); - } - - // .flyteidl.core.TaskExecution.Phase phase = 5; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 5, this->phase(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Resource) - return target; -} - -size_t Resource::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Resource) - 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.TaskLog log_links = 4; - { - unsigned int count = static_cast(this->log_links_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->log_links(static_cast(i))); - } - } - - // string message = 3; - if (this->message().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->message()); - } - - // .flyteidl.core.LiteralMap outputs = 2; - if (this->has_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *outputs_); - } - - // .flyteidl.admin.State state = 1 [deprecated = true]; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - // .flyteidl.core.TaskExecution.Phase phase = 5; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Resource::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Resource) - GOOGLE_DCHECK_NE(&from, this); - const Resource* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Resource) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Resource) - MergeFrom(*source); - } -} - -void Resource::MergeFrom(const Resource& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Resource) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - log_links_.MergeFrom(from.log_links_); - if (from.message().size() > 0) { - - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - if (from.has_outputs()) { - mutable_outputs()->::flyteidl::core::LiteralMap::MergeFrom(from.outputs()); - } - if (from.state() != 0) { - set_state(from.state()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } -} - -void Resource::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Resource) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Resource::CopyFrom(const Resource& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Resource) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Resource::IsInitialized() const { - return true; -} - -void Resource::Swap(Resource* other) { - if (other == this) return; - InternalSwap(other); -} -void Resource::InternalSwap(Resource* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&log_links_)->InternalSwap(CastToBase(&other->log_links_)); - message_.Swap(&other->message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(outputs_, other->outputs_); - swap(state_, other->state_); - swap(phase_, other->phase_); -} - -::google::protobuf::Metadata Resource::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DeleteTaskRequest::InitAsDefaultInstance() { -} -class DeleteTaskRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DeleteTaskRequest::kTaskTypeFieldNumber; -const int DeleteTaskRequest::kResourceMetaFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DeleteTaskRequest::DeleteTaskRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.DeleteTaskRequest) -} -DeleteTaskRequest::DeleteTaskRequest(const DeleteTaskRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.resource_meta().size() > 0) { - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DeleteTaskRequest) -} - -void DeleteTaskRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DeleteTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -DeleteTaskRequest::~DeleteTaskRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.DeleteTaskRequest) - SharedDtor(); -} - -void DeleteTaskRequest::SharedDtor() { - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void DeleteTaskRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DeleteTaskRequest& DeleteTaskRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTaskRequest_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void DeleteTaskRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DeleteTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DeleteTaskRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string task_type = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.DeleteTaskRequest.task_type"); - object = msg->mutable_task_type(); - 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; - } - // bytes resource_meta = 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); - object = msg->mutable_resource_meta(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(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 DeleteTaskRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.DeleteTaskRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string task_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.DeleteTaskRequest.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // bytes resource_meta = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_resource_meta())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.DeleteTaskRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.DeleteTaskRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DeleteTaskRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.DeleteTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DeleteTaskRequest.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->task_type(), output); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 2, this->resource_meta(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.DeleteTaskRequest) -} - -::google::protobuf::uint8* DeleteTaskRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DeleteTaskRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DeleteTaskRequest.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->task_type(), target); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 2, this->resource_meta(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DeleteTaskRequest) - return target; -} - -size_t DeleteTaskRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DeleteTaskRequest) - 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 task_type = 1; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->resource_meta()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DeleteTaskRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DeleteTaskRequest) - GOOGLE_DCHECK_NE(&from, this); - const DeleteTaskRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DeleteTaskRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DeleteTaskRequest) - MergeFrom(*source); - } -} - -void DeleteTaskRequest::MergeFrom(const DeleteTaskRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DeleteTaskRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.resource_meta().size() > 0) { - - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } -} - -void DeleteTaskRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DeleteTaskRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DeleteTaskRequest::CopyFrom(const DeleteTaskRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DeleteTaskRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DeleteTaskRequest::IsInitialized() const { - return true; -} - -void DeleteTaskRequest::Swap(DeleteTaskRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void DeleteTaskRequest::InternalSwap(DeleteTaskRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - resource_meta_.Swap(&other->resource_meta_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata DeleteTaskRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DeleteTaskResponse::InitAsDefaultInstance() { -} -class DeleteTaskResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DeleteTaskResponse::DeleteTaskResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.DeleteTaskResponse) -} -DeleteTaskResponse::DeleteTaskResponse(const DeleteTaskResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DeleteTaskResponse) -} - -void DeleteTaskResponse::SharedCtor() { -} - -DeleteTaskResponse::~DeleteTaskResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.DeleteTaskResponse) - SharedDtor(); -} - -void DeleteTaskResponse::SharedDtor() { -} - -void DeleteTaskResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DeleteTaskResponse& DeleteTaskResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTaskResponse_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void DeleteTaskResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DeleteTaskResponse) - ::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* DeleteTaskResponse::_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 DeleteTaskResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.DeleteTaskResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.DeleteTaskResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.DeleteTaskResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DeleteTaskResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.DeleteTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.DeleteTaskResponse) -} - -::google::protobuf::uint8* DeleteTaskResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DeleteTaskResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DeleteTaskResponse) - return target; -} - -size_t DeleteTaskResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DeleteTaskResponse) - 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 DeleteTaskResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DeleteTaskResponse) - GOOGLE_DCHECK_NE(&from, this); - const DeleteTaskResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DeleteTaskResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DeleteTaskResponse) - MergeFrom(*source); - } -} - -void DeleteTaskResponse::MergeFrom(const DeleteTaskResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DeleteTaskResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void DeleteTaskResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DeleteTaskResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DeleteTaskResponse::CopyFrom(const DeleteTaskResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DeleteTaskResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DeleteTaskResponse::IsInitialized() const { - return true; -} - -void DeleteTaskResponse::Swap(DeleteTaskResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void DeleteTaskResponse::InternalSwap(DeleteTaskResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata DeleteTaskResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Agent::InitAsDefaultInstance() { -} -class Agent::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Agent::kNameFieldNumber; -const int Agent::kSupportedTaskTypesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Agent::Agent() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Agent) -} -Agent::Agent(const Agent& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - supported_task_types_(from.supported_task_types_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Agent) -} - -void Agent::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Agent_flyteidl_2fadmin_2fagent_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Agent::~Agent() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Agent) - SharedDtor(); -} - -void Agent::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Agent::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Agent& Agent::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Agent_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void Agent::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Agent) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - supported_task_types_.Clear(); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Agent::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Agent.name"); - object = msg->mutable_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; - } - // repeated string supported_task_types = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Agent.supported_task_types"); - object = msg->add_supported_task_types(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -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 Agent::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Agent) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Agent.name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string supported_task_types = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_supported_task_types())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->supported_task_types(this->supported_task_types_size() - 1).data(), - static_cast(this->supported_task_types(this->supported_task_types_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Agent.supported_task_types")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Agent) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Agent) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Agent::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Agent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Agent.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // repeated string supported_task_types = 2; - for (int i = 0, n = this->supported_task_types_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->supported_task_types(i).data(), static_cast(this->supported_task_types(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Agent.supported_task_types"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->supported_task_types(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Agent) -} - -::google::protobuf::uint8* Agent::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Agent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Agent.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // repeated string supported_task_types = 2; - for (int i = 0, n = this->supported_task_types_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->supported_task_types(i).data(), static_cast(this->supported_task_types(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Agent.supported_task_types"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(2, this->supported_task_types(i), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Agent) - return target; -} - -size_t Agent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Agent) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string supported_task_types = 2; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->supported_task_types_size()); - for (int i = 0, n = this->supported_task_types_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->supported_task_types(i)); - } - - // string name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Agent::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Agent) - GOOGLE_DCHECK_NE(&from, this); - const Agent* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Agent) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Agent) - MergeFrom(*source); - } -} - -void Agent::MergeFrom(const Agent& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Agent) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - supported_task_types_.MergeFrom(from.supported_task_types_); - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } -} - -void Agent::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Agent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Agent::CopyFrom(const Agent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Agent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Agent::IsInitialized() const { - return true; -} - -void Agent::Swap(Agent* other) { - if (other == this) return; - InternalSwap(other); -} -void Agent::InternalSwap(Agent* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - supported_task_types_.InternalSwap(CastToBase(&other->supported_task_types_)); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Agent::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetAgentRequest::InitAsDefaultInstance() { -} -class GetAgentRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetAgentRequest::kNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetAgentRequest::GetAgentRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetAgentRequest) -} -GetAgentRequest::GetAgentRequest(const GetAgentRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetAgentRequest) -} - -void GetAgentRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetAgentRequest_flyteidl_2fadmin_2fagent_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -GetAgentRequest::~GetAgentRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetAgentRequest) - SharedDtor(); -} - -void GetAgentRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetAgentRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetAgentRequest& GetAgentRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetAgentRequest_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetAgentRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetAgentRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetAgentRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetAgentRequest.name"); - object = msg->mutable_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 GetAgentRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetAgentRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetAgentRequest.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:flyteidl.admin.GetAgentRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetAgentRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetAgentRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetAgentRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetAgentRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetAgentRequest) -} - -::google::protobuf::uint8* GetAgentRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetAgentRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetAgentRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->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:flyteidl.admin.GetAgentRequest) - return target; -} - -size_t GetAgentRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetAgentRequest) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetAgentRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetAgentRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetAgentRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetAgentRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetAgentRequest) - MergeFrom(*source); - } -} - -void GetAgentRequest::MergeFrom(const GetAgentRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetAgentRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } -} - -void GetAgentRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetAgentRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetAgentRequest::CopyFrom(const GetAgentRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetAgentRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetAgentRequest::IsInitialized() const { - return true; -} - -void GetAgentRequest::Swap(GetAgentRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetAgentRequest::InternalSwap(GetAgentRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata GetAgentRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetAgentResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_GetAgentResponse_default_instance_._instance.get_mutable()->agent_ = const_cast< ::flyteidl::admin::Agent*>( - ::flyteidl::admin::Agent::internal_default_instance()); -} -class GetAgentResponse::HasBitSetters { - public: - static const ::flyteidl::admin::Agent& agent(const GetAgentResponse* msg); -}; - -const ::flyteidl::admin::Agent& -GetAgentResponse::HasBitSetters::agent(const GetAgentResponse* msg) { - return *msg->agent_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetAgentResponse::kAgentFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetAgentResponse::GetAgentResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetAgentResponse) -} -GetAgentResponse::GetAgentResponse(const GetAgentResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_agent()) { - agent_ = new ::flyteidl::admin::Agent(*from.agent_); - } else { - agent_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetAgentResponse) -} - -void GetAgentResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetAgentResponse_flyteidl_2fadmin_2fagent_2eproto.base); - agent_ = nullptr; -} - -GetAgentResponse::~GetAgentResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetAgentResponse) - SharedDtor(); -} - -void GetAgentResponse::SharedDtor() { - if (this != internal_default_instance()) delete agent_; -} - -void GetAgentResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetAgentResponse& GetAgentResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetAgentResponse_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetAgentResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetAgentResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && agent_ != nullptr) { - delete agent_; - } - agent_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetAgentResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.Agent agent = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Agent::_InternalParse; - object = msg->mutable_agent(); - 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 GetAgentResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetAgentResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.Agent agent = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_agent())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetAgentResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetAgentResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetAgentResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetAgentResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Agent agent = 1; - if (this->has_agent()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::agent(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetAgentResponse) -} - -::google::protobuf::uint8* GetAgentResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetAgentResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Agent agent = 1; - if (this->has_agent()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::agent(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GetAgentResponse) - return target; -} - -size_t GetAgentResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetAgentResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.Agent agent = 1; - if (this->has_agent()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *agent_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetAgentResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetAgentResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetAgentResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetAgentResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetAgentResponse) - MergeFrom(*source); - } -} - -void GetAgentResponse::MergeFrom(const GetAgentResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetAgentResponse) - 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_agent()) { - mutable_agent()->::flyteidl::admin::Agent::MergeFrom(from.agent()); - } -} - -void GetAgentResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetAgentResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetAgentResponse::CopyFrom(const GetAgentResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetAgentResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetAgentResponse::IsInitialized() const { - return true; -} - -void GetAgentResponse::Swap(GetAgentResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetAgentResponse::InternalSwap(GetAgentResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(agent_, other->agent_); -} - -::google::protobuf::Metadata GetAgentResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListAgentsRequest::InitAsDefaultInstance() { -} -class ListAgentsRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListAgentsRequest::ListAgentsRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ListAgentsRequest) -} -ListAgentsRequest::ListAgentsRequest(const ListAgentsRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ListAgentsRequest) -} - -void ListAgentsRequest::SharedCtor() { -} - -ListAgentsRequest::~ListAgentsRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ListAgentsRequest) - SharedDtor(); -} - -void ListAgentsRequest::SharedDtor() { -} - -void ListAgentsRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListAgentsRequest& ListAgentsRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListAgentsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void ListAgentsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ListAgentsRequest) - ::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* ListAgentsRequest::_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 ListAgentsRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ListAgentsRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ListAgentsRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ListAgentsRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListAgentsRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ListAgentsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ListAgentsRequest) -} - -::google::protobuf::uint8* ListAgentsRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ListAgentsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ListAgentsRequest) - return target; -} - -size_t ListAgentsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ListAgentsRequest) - 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 ListAgentsRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ListAgentsRequest) - GOOGLE_DCHECK_NE(&from, this); - const ListAgentsRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ListAgentsRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ListAgentsRequest) - MergeFrom(*source); - } -} - -void ListAgentsRequest::MergeFrom(const ListAgentsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ListAgentsRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ListAgentsRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ListAgentsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListAgentsRequest::CopyFrom(const ListAgentsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ListAgentsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListAgentsRequest::IsInitialized() const { - return true; -} - -void ListAgentsRequest::Swap(ListAgentsRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ListAgentsRequest::InternalSwap(ListAgentsRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ListAgentsRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListAgentsResponse::InitAsDefaultInstance() { -} -class ListAgentsResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ListAgentsResponse::kAgentsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListAgentsResponse::ListAgentsResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ListAgentsResponse) -} -ListAgentsResponse::ListAgentsResponse(const ListAgentsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - agents_(from.agents_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ListAgentsResponse) -} - -void ListAgentsResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ListAgentsResponse_flyteidl_2fadmin_2fagent_2eproto.base); -} - -ListAgentsResponse::~ListAgentsResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ListAgentsResponse) - SharedDtor(); -} - -void ListAgentsResponse::SharedDtor() { -} - -void ListAgentsResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListAgentsResponse& ListAgentsResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListAgentsResponse_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void ListAgentsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ListAgentsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - agents_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ListAgentsResponse::_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.admin.Agent agents = 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::admin::Agent::_InternalParse; - object = msg->add_agents(); - 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 ListAgentsResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ListAgentsResponse) - 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.admin.Agent agents = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_agents())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ListAgentsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ListAgentsResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListAgentsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ListAgentsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Agent agents = 1; - for (unsigned int i = 0, - n = static_cast(this->agents_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->agents(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.admin.ListAgentsResponse) -} - -::google::protobuf::uint8* ListAgentsResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ListAgentsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Agent agents = 1; - for (unsigned int i = 0, - n = static_cast(this->agents_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->agents(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.admin.ListAgentsResponse) - return target; -} - -size_t ListAgentsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ListAgentsResponse) - 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.admin.Agent agents = 1; - { - unsigned int count = static_cast(this->agents_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->agents(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListAgentsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ListAgentsResponse) - GOOGLE_DCHECK_NE(&from, this); - const ListAgentsResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ListAgentsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ListAgentsResponse) - MergeFrom(*source); - } -} - -void ListAgentsResponse::MergeFrom(const ListAgentsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ListAgentsResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - agents_.MergeFrom(from.agents_); -} - -void ListAgentsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ListAgentsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListAgentsResponse::CopyFrom(const ListAgentsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ListAgentsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListAgentsResponse::IsInitialized() const { - return true; -} - -void ListAgentsResponse::Swap(ListAgentsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ListAgentsResponse::InternalSwap(ListAgentsResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&agents_)->InternalSwap(CastToBase(&other->agents_)); -} - -::google::protobuf::Metadata ListAgentsResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTaskMetricsRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_GetTaskMetricsRequest_default_instance_._instance.get_mutable()->start_time_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_GetTaskMetricsRequest_default_instance_._instance.get_mutable()->end_time_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_GetTaskMetricsRequest_default_instance_._instance.get_mutable()->step_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class GetTaskMetricsRequest::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& start_time(const GetTaskMetricsRequest* msg); - static const ::google::protobuf::Timestamp& end_time(const GetTaskMetricsRequest* msg); - static const ::google::protobuf::Duration& step(const GetTaskMetricsRequest* msg); -}; - -const ::google::protobuf::Timestamp& -GetTaskMetricsRequest::HasBitSetters::start_time(const GetTaskMetricsRequest* msg) { - return *msg->start_time_; -} -const ::google::protobuf::Timestamp& -GetTaskMetricsRequest::HasBitSetters::end_time(const GetTaskMetricsRequest* msg) { - return *msg->end_time_; -} -const ::google::protobuf::Duration& -GetTaskMetricsRequest::HasBitSetters::step(const GetTaskMetricsRequest* msg) { - return *msg->step_; -} -void GetTaskMetricsRequest::clear_start_time() { - if (GetArenaNoVirtual() == nullptr && start_time_ != nullptr) { - delete start_time_; - } - start_time_ = nullptr; -} -void GetTaskMetricsRequest::clear_end_time() { - if (GetArenaNoVirtual() == nullptr && end_time_ != nullptr) { - delete end_time_; - } - end_time_ = nullptr; -} -void GetTaskMetricsRequest::clear_step() { - if (GetArenaNoVirtual() == nullptr && step_ != nullptr) { - delete step_; - } - step_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTaskMetricsRequest::kTaskTypeFieldNumber; -const int GetTaskMetricsRequest::kResourceMetaFieldNumber; -const int GetTaskMetricsRequest::kQueriesFieldNumber; -const int GetTaskMetricsRequest::kStartTimeFieldNumber; -const int GetTaskMetricsRequest::kEndTimeFieldNumber; -const int GetTaskMetricsRequest::kStepFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTaskMetricsRequest::GetTaskMetricsRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetTaskMetricsRequest) -} -GetTaskMetricsRequest::GetTaskMetricsRequest(const GetTaskMetricsRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - queries_(from.queries_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.resource_meta().size() > 0) { - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } - if (from.has_start_time()) { - start_time_ = new ::google::protobuf::Timestamp(*from.start_time_); - } else { - start_time_ = nullptr; - } - if (from.has_end_time()) { - end_time_ = new ::google::protobuf::Timestamp(*from.end_time_); - } else { - end_time_ = nullptr; - } - if (from.has_step()) { - step_ = new ::google::protobuf::Duration(*from.step_); - } else { - step_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetTaskMetricsRequest) -} - -void GetTaskMetricsRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetTaskMetricsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&start_time_, 0, static_cast( - reinterpret_cast(&step_) - - reinterpret_cast(&start_time_)) + sizeof(step_)); -} - -GetTaskMetricsRequest::~GetTaskMetricsRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetTaskMetricsRequest) - SharedDtor(); -} - -void GetTaskMetricsRequest::SharedDtor() { - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete start_time_; - if (this != internal_default_instance()) delete end_time_; - if (this != internal_default_instance()) delete step_; -} - -void GetTaskMetricsRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetTaskMetricsRequest& GetTaskMetricsRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetTaskMetricsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetTaskMetricsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetTaskMetricsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - queries_.Clear(); - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && start_time_ != nullptr) { - delete start_time_; - } - start_time_ = nullptr; - if (GetArenaNoVirtual() == nullptr && end_time_ != nullptr) { - delete end_time_; - } - end_time_ = nullptr; - if (GetArenaNoVirtual() == nullptr && step_ != nullptr) { - delete step_; - } - step_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetTaskMetricsRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string task_type = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetTaskMetricsRequest.task_type"); - object = msg->mutable_task_type(); - 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; - } - // bytes resource_meta = 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); - object = msg->mutable_resource_meta(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // repeated string queries = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetTaskMetricsRequest.queries"); - object = msg->add_queries(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); - break; - } - // .google.protobuf.Timestamp start_time = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_start_time(); - 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; - } - // .google.protobuf.Timestamp end_time = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_end_time(); - 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; - } - // .google.protobuf.Duration step = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_step(); - 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 GetTaskMetricsRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetTaskMetricsRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string task_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetTaskMetricsRequest.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // bytes resource_meta = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_resource_meta())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string queries = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_queries())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->queries(this->queries_size() - 1).data(), - static_cast(this->queries(this->queries_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetTaskMetricsRequest.queries")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp start_time = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_start_time())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp end_time = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_end_time())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration step = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_step())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetTaskMetricsRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetTaskMetricsRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetTaskMetricsRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetTaskMetricsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskMetricsRequest.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->task_type(), output); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 2, this->resource_meta(), output); - } - - // repeated string queries = 3; - for (int i = 0, n = this->queries_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->queries(i).data(), static_cast(this->queries(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskMetricsRequest.queries"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 3, this->queries(i), output); - } - - // .google.protobuf.Timestamp start_time = 4; - if (this->has_start_time()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::start_time(this), output); - } - - // .google.protobuf.Timestamp end_time = 5; - if (this->has_end_time()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::end_time(this), output); - } - - // .google.protobuf.Duration step = 6; - if (this->has_step()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::step(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetTaskMetricsRequest) -} - -::google::protobuf::uint8* GetTaskMetricsRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetTaskMetricsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskMetricsRequest.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->task_type(), target); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 2, this->resource_meta(), target); - } - - // repeated string queries = 3; - for (int i = 0, n = this->queries_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->queries(i).data(), static_cast(this->queries(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskMetricsRequest.queries"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(3, this->queries(i), target); - } - - // .google.protobuf.Timestamp start_time = 4; - if (this->has_start_time()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::start_time(this), target); - } - - // .google.protobuf.Timestamp end_time = 5; - if (this->has_end_time()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::end_time(this), target); - } - - // .google.protobuf.Duration step = 6; - if (this->has_step()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::step(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GetTaskMetricsRequest) - return target; -} - -size_t GetTaskMetricsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetTaskMetricsRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string queries = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->queries_size()); - for (int i = 0, n = this->queries_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->queries(i)); - } - - // string task_type = 1; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->resource_meta()); - } - - // .google.protobuf.Timestamp start_time = 4; - if (this->has_start_time()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *start_time_); - } - - // .google.protobuf.Timestamp end_time = 5; - if (this->has_end_time()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *end_time_); - } - - // .google.protobuf.Duration step = 6; - if (this->has_step()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *step_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetTaskMetricsRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetTaskMetricsRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetTaskMetricsRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetTaskMetricsRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetTaskMetricsRequest) - MergeFrom(*source); - } -} - -void GetTaskMetricsRequest::MergeFrom(const GetTaskMetricsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetTaskMetricsRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - queries_.MergeFrom(from.queries_); - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.resource_meta().size() > 0) { - - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } - if (from.has_start_time()) { - mutable_start_time()->::google::protobuf::Timestamp::MergeFrom(from.start_time()); - } - if (from.has_end_time()) { - mutable_end_time()->::google::protobuf::Timestamp::MergeFrom(from.end_time()); - } - if (from.has_step()) { - mutable_step()->::google::protobuf::Duration::MergeFrom(from.step()); - } -} - -void GetTaskMetricsRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetTaskMetricsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTaskMetricsRequest::CopyFrom(const GetTaskMetricsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetTaskMetricsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTaskMetricsRequest::IsInitialized() const { - return true; -} - -void GetTaskMetricsRequest::Swap(GetTaskMetricsRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTaskMetricsRequest::InternalSwap(GetTaskMetricsRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - queries_.InternalSwap(CastToBase(&other->queries_)); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - resource_meta_.Swap(&other->resource_meta_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(start_time_, other->start_time_); - swap(end_time_, other->end_time_); - swap(step_, other->step_); -} - -::google::protobuf::Metadata GetTaskMetricsRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTaskMetricsResponse::InitAsDefaultInstance() { -} -class GetTaskMetricsResponse::HasBitSetters { - public: -}; - -void GetTaskMetricsResponse::clear_results() { - results_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTaskMetricsResponse::kResultsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTaskMetricsResponse::GetTaskMetricsResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetTaskMetricsResponse) -} -GetTaskMetricsResponse::GetTaskMetricsResponse(const GetTaskMetricsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - results_(from.results_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetTaskMetricsResponse) -} - -void GetTaskMetricsResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetTaskMetricsResponse_flyteidl_2fadmin_2fagent_2eproto.base); -} - -GetTaskMetricsResponse::~GetTaskMetricsResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetTaskMetricsResponse) - SharedDtor(); -} - -void GetTaskMetricsResponse::SharedDtor() { -} - -void GetTaskMetricsResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetTaskMetricsResponse& GetTaskMetricsResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetTaskMetricsResponse_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetTaskMetricsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetTaskMetricsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - results_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetTaskMetricsResponse::_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.ExecutionMetricResult results = 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::ExecutionMetricResult::_InternalParse; - object = msg->add_results(); - 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 GetTaskMetricsResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetTaskMetricsResponse) - 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.ExecutionMetricResult results = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_results())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetTaskMetricsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetTaskMetricsResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetTaskMetricsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetTaskMetricsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.ExecutionMetricResult results = 1; - for (unsigned int i = 0, - n = static_cast(this->results_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->results(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.admin.GetTaskMetricsResponse) -} - -::google::protobuf::uint8* GetTaskMetricsResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetTaskMetricsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.ExecutionMetricResult results = 1; - for (unsigned int i = 0, - n = static_cast(this->results_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->results(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.admin.GetTaskMetricsResponse) - return target; -} - -size_t GetTaskMetricsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetTaskMetricsResponse) - 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.ExecutionMetricResult results = 1; - { - unsigned int count = static_cast(this->results_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->results(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetTaskMetricsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetTaskMetricsResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetTaskMetricsResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetTaskMetricsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetTaskMetricsResponse) - MergeFrom(*source); - } -} - -void GetTaskMetricsResponse::MergeFrom(const GetTaskMetricsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetTaskMetricsResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - results_.MergeFrom(from.results_); -} - -void GetTaskMetricsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetTaskMetricsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTaskMetricsResponse::CopyFrom(const GetTaskMetricsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetTaskMetricsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTaskMetricsResponse::IsInitialized() const { - return true; -} - -void GetTaskMetricsResponse::Swap(GetTaskMetricsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTaskMetricsResponse::InternalSwap(GetTaskMetricsResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&results_)->InternalSwap(CastToBase(&other->results_)); -} - -::google::protobuf::Metadata GetTaskMetricsResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTaskLogsRequest::InitAsDefaultInstance() { -} -class GetTaskLogsRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTaskLogsRequest::kTaskTypeFieldNumber; -const int GetTaskLogsRequest::kResourceMetaFieldNumber; -const int GetTaskLogsRequest::kLinesFieldNumber; -const int GetTaskLogsRequest::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTaskLogsRequest::GetTaskLogsRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetTaskLogsRequest) -} -GetTaskLogsRequest::GetTaskLogsRequest(const GetTaskLogsRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.resource_meta().size() > 0) { - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - lines_ = from.lines_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetTaskLogsRequest) -} - -void GetTaskLogsRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetTaskLogsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - lines_ = PROTOBUF_ULONGLONG(0); -} - -GetTaskLogsRequest::~GetTaskLogsRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetTaskLogsRequest) - SharedDtor(); -} - -void GetTaskLogsRequest::SharedDtor() { - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetTaskLogsRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetTaskLogsRequest& GetTaskLogsRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetTaskLogsRequest_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetTaskLogsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetTaskLogsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - lines_ = PROTOBUF_ULONGLONG(0); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetTaskLogsRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string task_type = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetTaskLogsRequest.task_type"); - object = msg->mutable_task_type(); - 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; - } - // bytes resource_meta = 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); - object = msg->mutable_resource_meta(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // uint64 lines = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_lines(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetTaskLogsRequest.token"); - object = msg->mutable_token(); - 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 GetTaskLogsRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetTaskLogsRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string task_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetTaskLogsRequest.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // bytes resource_meta = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_resource_meta())); - } else { - goto handle_unusual; - } - break; - } - - // uint64 lines = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &lines_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetTaskLogsRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetTaskLogsRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetTaskLogsRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetTaskLogsRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetTaskLogsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsRequest.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->task_type(), output); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 2, this->resource_meta(), output); - } - - // uint64 lines = 3; - if (this->lines() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->lines(), output); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetTaskLogsRequest) -} - -::google::protobuf::uint8* GetTaskLogsRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetTaskLogsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsRequest.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->task_type(), target); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 2, this->resource_meta(), target); - } - - // uint64 lines = 3; - if (this->lines() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->lines(), target); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GetTaskLogsRequest) - return target; -} - -size_t GetTaskLogsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetTaskLogsRequest) - 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 task_type = 1; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // bytes resource_meta = 2; - if (this->resource_meta().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->resource_meta()); - } - - // string token = 4; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // uint64 lines = 3; - if (this->lines() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->lines()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetTaskLogsRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetTaskLogsRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetTaskLogsRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetTaskLogsRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetTaskLogsRequest) - MergeFrom(*source); - } -} - -void GetTaskLogsRequest::MergeFrom(const GetTaskLogsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetTaskLogsRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.resource_meta().size() > 0) { - - resource_meta_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resource_meta_); - } - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.lines() != 0) { - set_lines(from.lines()); - } -} - -void GetTaskLogsRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetTaskLogsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTaskLogsRequest::CopyFrom(const GetTaskLogsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetTaskLogsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTaskLogsRequest::IsInitialized() const { - return true; -} - -void GetTaskLogsRequest::Swap(GetTaskLogsRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTaskLogsRequest::InternalSwap(GetTaskLogsRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - resource_meta_.Swap(&other->resource_meta_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(lines_, other->lines_); -} - -::google::protobuf::Metadata GetTaskLogsRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetTaskLogsResponse::InitAsDefaultInstance() { -} -class GetTaskLogsResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetTaskLogsResponse::kResultsFieldNumber; -const int GetTaskLogsResponse::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetTaskLogsResponse::GetTaskLogsResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetTaskLogsResponse) -} -GetTaskLogsResponse::GetTaskLogsResponse(const GetTaskLogsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - results_(from.results_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetTaskLogsResponse) -} - -void GetTaskLogsResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetTaskLogsResponse_flyteidl_2fadmin_2fagent_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -GetTaskLogsResponse::~GetTaskLogsResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetTaskLogsResponse) - SharedDtor(); -} - -void GetTaskLogsResponse::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetTaskLogsResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetTaskLogsResponse& GetTaskLogsResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetTaskLogsResponse_flyteidl_2fadmin_2fagent_2eproto.base); - return *internal_default_instance(); -} - - -void GetTaskLogsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetTaskLogsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - results_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetTaskLogsResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string results = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetTaskLogsResponse.results"); - object = msg->add_results(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.GetTaskLogsResponse.token"); - object = msg->mutable_token(); - 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 GetTaskLogsResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetTaskLogsResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string results = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_results())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->results(this->results_size() - 1).data(), - static_cast(this->results(this->results_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetTaskLogsResponse.results")); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.GetTaskLogsResponse.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetTaskLogsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetTaskLogsResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetTaskLogsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetTaskLogsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string results = 1; - for (int i = 0, n = this->results_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->results(i).data(), static_cast(this->results(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsResponse.results"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->results(i), output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsResponse.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetTaskLogsResponse) -} - -::google::protobuf::uint8* GetTaskLogsResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetTaskLogsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string results = 1; - for (int i = 0, n = this->results_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->results(i).data(), static_cast(this->results(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsResponse.results"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->results(i), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.GetTaskLogsResponse.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GetTaskLogsResponse) - return target; -} - -size_t GetTaskLogsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetTaskLogsResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string results = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->results_size()); - for (int i = 0, n = this->results_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->results(i)); - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetTaskLogsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetTaskLogsResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetTaskLogsResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetTaskLogsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetTaskLogsResponse) - MergeFrom(*source); - } -} - -void GetTaskLogsResponse::MergeFrom(const GetTaskLogsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetTaskLogsResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - results_.MergeFrom(from.results_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void GetTaskLogsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetTaskLogsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetTaskLogsResponse::CopyFrom(const GetTaskLogsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetTaskLogsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetTaskLogsResponse::IsInitialized() const { - return true; -} - -void GetTaskLogsResponse::Swap(GetTaskLogsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetTaskLogsResponse::InternalSwap(GetTaskLogsResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - results_.InternalSwap(CastToBase(&other->results_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata GetTaskLogsResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fagent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fagent_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::CreateTaskRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::CreateTaskRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::CreateTaskRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::CreateTaskResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::CreateTaskResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::CreateTaskResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetTaskRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::GetTaskRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetTaskRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetTaskResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::GetTaskResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetTaskResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Resource* Arena::CreateMaybeMessage< ::flyteidl::admin::Resource >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Resource >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::DeleteTaskRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::DeleteTaskRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::DeleteTaskRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::DeleteTaskResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::DeleteTaskResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::DeleteTaskResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Agent* Arena::CreateMaybeMessage< ::flyteidl::admin::Agent >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Agent >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetAgentRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::GetAgentRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetAgentRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetAgentResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::GetAgentResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetAgentResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ListAgentsRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ListAgentsRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ListAgentsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ListAgentsResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ListAgentsResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ListAgentsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetTaskMetricsRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::GetTaskMetricsRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetTaskMetricsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetTaskMetricsResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::GetTaskMetricsResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetTaskMetricsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetTaskLogsRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::GetTaskLogsRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetTaskLogsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetTaskLogsResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::GetTaskLogsResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetTaskLogsResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.h deleted file mode 100644 index 4912d899c8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.h +++ /dev/null @@ -1,4626 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/agent.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fagent_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fagent_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/metrics.pb.h" -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fagent_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[20] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fagent_2eproto(); -namespace flyteidl { -namespace admin { -class Agent; -class AgentDefaultTypeInternal; -extern AgentDefaultTypeInternal _Agent_default_instance_; -class CreateTaskRequest; -class CreateTaskRequestDefaultTypeInternal; -extern CreateTaskRequestDefaultTypeInternal _CreateTaskRequest_default_instance_; -class CreateTaskResponse; -class CreateTaskResponseDefaultTypeInternal; -extern CreateTaskResponseDefaultTypeInternal _CreateTaskResponse_default_instance_; -class DeleteTaskRequest; -class DeleteTaskRequestDefaultTypeInternal; -extern DeleteTaskRequestDefaultTypeInternal _DeleteTaskRequest_default_instance_; -class DeleteTaskResponse; -class DeleteTaskResponseDefaultTypeInternal; -extern DeleteTaskResponseDefaultTypeInternal _DeleteTaskResponse_default_instance_; -class GetAgentRequest; -class GetAgentRequestDefaultTypeInternal; -extern GetAgentRequestDefaultTypeInternal _GetAgentRequest_default_instance_; -class GetAgentResponse; -class GetAgentResponseDefaultTypeInternal; -extern GetAgentResponseDefaultTypeInternal _GetAgentResponse_default_instance_; -class GetTaskLogsRequest; -class GetTaskLogsRequestDefaultTypeInternal; -extern GetTaskLogsRequestDefaultTypeInternal _GetTaskLogsRequest_default_instance_; -class GetTaskLogsResponse; -class GetTaskLogsResponseDefaultTypeInternal; -extern GetTaskLogsResponseDefaultTypeInternal _GetTaskLogsResponse_default_instance_; -class GetTaskMetricsRequest; -class GetTaskMetricsRequestDefaultTypeInternal; -extern GetTaskMetricsRequestDefaultTypeInternal _GetTaskMetricsRequest_default_instance_; -class GetTaskMetricsResponse; -class GetTaskMetricsResponseDefaultTypeInternal; -extern GetTaskMetricsResponseDefaultTypeInternal _GetTaskMetricsResponse_default_instance_; -class GetTaskRequest; -class GetTaskRequestDefaultTypeInternal; -extern GetTaskRequestDefaultTypeInternal _GetTaskRequest_default_instance_; -class GetTaskResponse; -class GetTaskResponseDefaultTypeInternal; -extern GetTaskResponseDefaultTypeInternal _GetTaskResponse_default_instance_; -class ListAgentsRequest; -class ListAgentsRequestDefaultTypeInternal; -extern ListAgentsRequestDefaultTypeInternal _ListAgentsRequest_default_instance_; -class ListAgentsResponse; -class ListAgentsResponseDefaultTypeInternal; -extern ListAgentsResponseDefaultTypeInternal _ListAgentsResponse_default_instance_; -class Resource; -class ResourceDefaultTypeInternal; -extern ResourceDefaultTypeInternal _Resource_default_instance_; -class TaskExecutionMetadata; -class TaskExecutionMetadataDefaultTypeInternal; -extern TaskExecutionMetadataDefaultTypeInternal _TaskExecutionMetadata_default_instance_; -class TaskExecutionMetadata_AnnotationsEntry_DoNotUse; -class TaskExecutionMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal; -extern TaskExecutionMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal _TaskExecutionMetadata_AnnotationsEntry_DoNotUse_default_instance_; -class TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse; -class TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUseDefaultTypeInternal; -extern TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUseDefaultTypeInternal _TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_default_instance_; -class TaskExecutionMetadata_LabelsEntry_DoNotUse; -class TaskExecutionMetadata_LabelsEntry_DoNotUseDefaultTypeInternal; -extern TaskExecutionMetadata_LabelsEntry_DoNotUseDefaultTypeInternal _TaskExecutionMetadata_LabelsEntry_DoNotUse_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::Agent* Arena::CreateMaybeMessage<::flyteidl::admin::Agent>(Arena*); -template<> ::flyteidl::admin::CreateTaskRequest* Arena::CreateMaybeMessage<::flyteidl::admin::CreateTaskRequest>(Arena*); -template<> ::flyteidl::admin::CreateTaskResponse* Arena::CreateMaybeMessage<::flyteidl::admin::CreateTaskResponse>(Arena*); -template<> ::flyteidl::admin::DeleteTaskRequest* Arena::CreateMaybeMessage<::flyteidl::admin::DeleteTaskRequest>(Arena*); -template<> ::flyteidl::admin::DeleteTaskResponse* Arena::CreateMaybeMessage<::flyteidl::admin::DeleteTaskResponse>(Arena*); -template<> ::flyteidl::admin::GetAgentRequest* Arena::CreateMaybeMessage<::flyteidl::admin::GetAgentRequest>(Arena*); -template<> ::flyteidl::admin::GetAgentResponse* Arena::CreateMaybeMessage<::flyteidl::admin::GetAgentResponse>(Arena*); -template<> ::flyteidl::admin::GetTaskLogsRequest* Arena::CreateMaybeMessage<::flyteidl::admin::GetTaskLogsRequest>(Arena*); -template<> ::flyteidl::admin::GetTaskLogsResponse* Arena::CreateMaybeMessage<::flyteidl::admin::GetTaskLogsResponse>(Arena*); -template<> ::flyteidl::admin::GetTaskMetricsRequest* Arena::CreateMaybeMessage<::flyteidl::admin::GetTaskMetricsRequest>(Arena*); -template<> ::flyteidl::admin::GetTaskMetricsResponse* Arena::CreateMaybeMessage<::flyteidl::admin::GetTaskMetricsResponse>(Arena*); -template<> ::flyteidl::admin::GetTaskRequest* Arena::CreateMaybeMessage<::flyteidl::admin::GetTaskRequest>(Arena*); -template<> ::flyteidl::admin::GetTaskResponse* Arena::CreateMaybeMessage<::flyteidl::admin::GetTaskResponse>(Arena*); -template<> ::flyteidl::admin::ListAgentsRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ListAgentsRequest>(Arena*); -template<> ::flyteidl::admin::ListAgentsResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ListAgentsResponse>(Arena*); -template<> ::flyteidl::admin::Resource* Arena::CreateMaybeMessage<::flyteidl::admin::Resource>(Arena*); -template<> ::flyteidl::admin::TaskExecutionMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionMetadata>(Arena*); -template<> ::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionMetadata_AnnotationsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse>(Arena*); -template<> ::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionMetadata_LabelsEntry_DoNotUse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum State { - RETRYABLE_FAILURE = 0, - PERMANENT_FAILURE = 1, - PENDING = 2, - RUNNING = 3, - SUCCEEDED = 4, - State_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - State_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool State_IsValid(int value); -const State State_MIN = RETRYABLE_FAILURE; -const State State_MAX = SUCCEEDED; -const int State_ARRAYSIZE = State_MAX + 1; - -const ::google::protobuf::EnumDescriptor* State_descriptor(); -inline const ::std::string& State_Name(State value) { - return ::google::protobuf::internal::NameOfEnum( - State_descriptor(), value); -} -inline bool State_Parse( - const ::std::string& name, State* value) { - return ::google::protobuf::internal::ParseNamedEnum( - State_descriptor(), name, value); -} -// =================================================================== - -class TaskExecutionMetadata_LabelsEntry_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; - TaskExecutionMetadata_LabelsEntry_DoNotUse(); - TaskExecutionMetadata_LabelsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const TaskExecutionMetadata_LabelsEntry_DoNotUse& other); - static const TaskExecutionMetadata_LabelsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_TaskExecutionMetadata_LabelsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class TaskExecutionMetadata_AnnotationsEntry_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; - TaskExecutionMetadata_AnnotationsEntry_DoNotUse(); - TaskExecutionMetadata_AnnotationsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const TaskExecutionMetadata_AnnotationsEntry_DoNotUse& other); - static const TaskExecutionMetadata_AnnotationsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_TaskExecutionMetadata_AnnotationsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class TaskExecutionMetadata_EnvironmentVariablesEntry_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; - TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse(); - TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse& other); - static const TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class TaskExecutionMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionMetadata) */ { - public: - TaskExecutionMetadata(); - virtual ~TaskExecutionMetadata(); - - TaskExecutionMetadata(const TaskExecutionMetadata& from); - - inline TaskExecutionMetadata& operator=(const TaskExecutionMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionMetadata(TaskExecutionMetadata&& from) noexcept - : TaskExecutionMetadata() { - *this = ::std::move(from); - } - - inline TaskExecutionMetadata& operator=(TaskExecutionMetadata&& 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 TaskExecutionMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionMetadata* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TaskExecutionMetadata* other); - friend void swap(TaskExecutionMetadata& a, TaskExecutionMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionMetadata* 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 TaskExecutionMetadata& from); - void MergeFrom(const TaskExecutionMetadata& 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(TaskExecutionMetadata* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map labels = 3; - int labels_size() const; - void clear_labels(); - static const int kLabelsFieldNumber = 3; - const ::google::protobuf::Map< ::std::string, ::std::string >& - labels() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_labels(); - - // map annotations = 4; - int annotations_size() const; - void clear_annotations(); - static const int kAnnotationsFieldNumber = 4; - const ::google::protobuf::Map< ::std::string, ::std::string >& - annotations() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_annotations(); - - // map environment_variables = 6; - int environment_variables_size() const; - void clear_environment_variables(); - static const int kEnvironmentVariablesFieldNumber = 6; - const ::google::protobuf::Map< ::std::string, ::std::string >& - environment_variables() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_environment_variables(); - - // string namespace = 2; - void clear_namespace_(); - static const int kNamespaceFieldNumber = 2; - const ::std::string& namespace_() const; - void set_namespace_(const ::std::string& value); - #if LANG_CXX11 - void set_namespace_(::std::string&& value); - #endif - void set_namespace_(const char* value); - void set_namespace_(const char* value, size_t size); - ::std::string* mutable_namespace_(); - ::std::string* release_namespace_(); - void set_allocated_namespace_(::std::string* namespace_); - - // string k8s_service_account = 5; - void clear_k8s_service_account(); - static const int kK8SServiceAccountFieldNumber = 5; - const ::std::string& k8s_service_account() const; - void set_k8s_service_account(const ::std::string& value); - #if LANG_CXX11 - void set_k8s_service_account(::std::string&& value); - #endif - void set_k8s_service_account(const char* value); - void set_k8s_service_account(const char* value, size_t size); - ::std::string* mutable_k8s_service_account(); - ::std::string* release_k8s_service_account(); - void set_allocated_k8s_service_account(::std::string* k8s_service_account); - - // .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.admin.TaskExecutionMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - TaskExecutionMetadata_LabelsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > labels_; - ::google::protobuf::internal::MapField< - TaskExecutionMetadata_AnnotationsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > annotations_; - ::google::protobuf::internal::MapField< - TaskExecutionMetadata_EnvironmentVariablesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > environment_variables_; - ::google::protobuf::internal::ArenaStringPtr namespace__; - ::google::protobuf::internal::ArenaStringPtr k8s_service_account_; - ::flyteidl::core::TaskExecutionIdentifier* task_execution_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateTaskRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.CreateTaskRequest) */ { - public: - CreateTaskRequest(); - virtual ~CreateTaskRequest(); - - CreateTaskRequest(const CreateTaskRequest& from); - - inline CreateTaskRequest& operator=(const CreateTaskRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateTaskRequest(CreateTaskRequest&& from) noexcept - : CreateTaskRequest() { - *this = ::std::move(from); - } - - inline CreateTaskRequest& operator=(CreateTaskRequest&& 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 CreateTaskRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateTaskRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateTaskRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(CreateTaskRequest* other); - friend void swap(CreateTaskRequest& a, CreateTaskRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateTaskRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateTaskRequest* 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 CreateTaskRequest& from); - void MergeFrom(const CreateTaskRequest& 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(CreateTaskRequest* 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 output_prefix = 3; - void clear_output_prefix(); - static const int kOutputPrefixFieldNumber = 3; - const ::std::string& output_prefix() const; - void set_output_prefix(const ::std::string& value); - #if LANG_CXX11 - void set_output_prefix(::std::string&& value); - #endif - void set_output_prefix(const char* value); - void set_output_prefix(const char* value, size_t size); - ::std::string* mutable_output_prefix(); - ::std::string* release_output_prefix(); - void set_allocated_output_prefix(::std::string* output_prefix); - - // .flyteidl.core.LiteralMap inputs = 1; - bool has_inputs() const; - void clear_inputs(); - static const int kInputsFieldNumber = 1; - const ::flyteidl::core::LiteralMap& inputs() const; - ::flyteidl::core::LiteralMap* release_inputs(); - ::flyteidl::core::LiteralMap* mutable_inputs(); - void set_allocated_inputs(::flyteidl::core::LiteralMap* inputs); - - // .flyteidl.core.TaskTemplate template = 2; - bool has_template_() const; - void clear_template_(); - static const int kTemplateFieldNumber = 2; - const ::flyteidl::core::TaskTemplate& template_() const; - ::flyteidl::core::TaskTemplate* release_template_(); - ::flyteidl::core::TaskTemplate* mutable_template_(); - void set_allocated_template_(::flyteidl::core::TaskTemplate* template_); - - // .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - bool has_task_execution_metadata() const; - void clear_task_execution_metadata(); - static const int kTaskExecutionMetadataFieldNumber = 4; - const ::flyteidl::admin::TaskExecutionMetadata& task_execution_metadata() const; - ::flyteidl::admin::TaskExecutionMetadata* release_task_execution_metadata(); - ::flyteidl::admin::TaskExecutionMetadata* mutable_task_execution_metadata(); - void set_allocated_task_execution_metadata(::flyteidl::admin::TaskExecutionMetadata* task_execution_metadata); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.CreateTaskRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr output_prefix_; - ::flyteidl::core::LiteralMap* inputs_; - ::flyteidl::core::TaskTemplate* template__; - ::flyteidl::admin::TaskExecutionMetadata* task_execution_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateTaskResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.CreateTaskResponse) */ { - public: - CreateTaskResponse(); - virtual ~CreateTaskResponse(); - - CreateTaskResponse(const CreateTaskResponse& from); - - inline CreateTaskResponse& operator=(const CreateTaskResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateTaskResponse(CreateTaskResponse&& from) noexcept - : CreateTaskResponse() { - *this = ::std::move(from); - } - - inline CreateTaskResponse& operator=(CreateTaskResponse&& 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 CreateTaskResponse& default_instance(); - - enum ResCase { - kResourceMeta = 1, - kResource = 2, - RES_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateTaskResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateTaskResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(CreateTaskResponse* other); - friend void swap(CreateTaskResponse& a, CreateTaskResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateTaskResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateTaskResponse* 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 CreateTaskResponse& from); - void MergeFrom(const CreateTaskResponse& 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(CreateTaskResponse* 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 ------------------------------------------------------- - - // bytes resource_meta = 1; - private: - bool has_resource_meta() const; - public: - void clear_resource_meta(); - static const int kResourceMetaFieldNumber = 1; - const ::std::string& resource_meta() const; - void set_resource_meta(const ::std::string& value); - #if LANG_CXX11 - void set_resource_meta(::std::string&& value); - #endif - void set_resource_meta(const char* value); - void set_resource_meta(const void* value, size_t size); - ::std::string* mutable_resource_meta(); - ::std::string* release_resource_meta(); - void set_allocated_resource_meta(::std::string* resource_meta); - - // .flyteidl.admin.Resource resource = 2; - bool has_resource() const; - void clear_resource(); - static const int kResourceFieldNumber = 2; - const ::flyteidl::admin::Resource& resource() const; - ::flyteidl::admin::Resource* release_resource(); - ::flyteidl::admin::Resource* mutable_resource(); - void set_allocated_resource(::flyteidl::admin::Resource* resource); - - void clear_res(); - ResCase res_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.CreateTaskResponse) - private: - class HasBitSetters; - void set_has_resource_meta(); - void set_has_resource(); - - inline bool has_res() const; - inline void clear_has_res(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ResUnion { - ResUnion() {} - ::google::protobuf::internal::ArenaStringPtr resource_meta_; - ::flyteidl::admin::Resource* resource_; - } res_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTaskRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetTaskRequest) */ { - public: - GetTaskRequest(); - virtual ~GetTaskRequest(); - - GetTaskRequest(const GetTaskRequest& from); - - inline GetTaskRequest& operator=(const GetTaskRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTaskRequest(GetTaskRequest&& from) noexcept - : GetTaskRequest() { - *this = ::std::move(from); - } - - inline GetTaskRequest& operator=(GetTaskRequest&& 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 GetTaskRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTaskRequest* internal_default_instance() { - return reinterpret_cast( - &_GetTaskRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(GetTaskRequest* other); - friend void swap(GetTaskRequest& a, GetTaskRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTaskRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetTaskRequest* 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 GetTaskRequest& from); - void MergeFrom(const GetTaskRequest& 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(GetTaskRequest* 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 task_type = 1; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 1; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // bytes resource_meta = 2; - void clear_resource_meta(); - static const int kResourceMetaFieldNumber = 2; - const ::std::string& resource_meta() const; - void set_resource_meta(const ::std::string& value); - #if LANG_CXX11 - void set_resource_meta(::std::string&& value); - #endif - void set_resource_meta(const char* value); - void set_resource_meta(const void* value, size_t size); - ::std::string* mutable_resource_meta(); - ::std::string* release_resource_meta(); - void set_allocated_resource_meta(::std::string* resource_meta); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::google::protobuf::internal::ArenaStringPtr resource_meta_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTaskResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetTaskResponse) */ { - public: - GetTaskResponse(); - virtual ~GetTaskResponse(); - - GetTaskResponse(const GetTaskResponse& from); - - inline GetTaskResponse& operator=(const GetTaskResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTaskResponse(GetTaskResponse&& from) noexcept - : GetTaskResponse() { - *this = ::std::move(from); - } - - inline GetTaskResponse& operator=(GetTaskResponse&& 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 GetTaskResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTaskResponse* internal_default_instance() { - return reinterpret_cast( - &_GetTaskResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(GetTaskResponse* other); - friend void swap(GetTaskResponse& a, GetTaskResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTaskResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetTaskResponse* 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 GetTaskResponse& from); - void MergeFrom(const GetTaskResponse& 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(GetTaskResponse* 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.TaskLog log_links = 2; - int log_links_size() const; - void clear_log_links(); - static const int kLogLinksFieldNumber = 2; - ::flyteidl::core::TaskLog* mutable_log_links(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* - mutable_log_links(); - const ::flyteidl::core::TaskLog& log_links(int index) const; - ::flyteidl::core::TaskLog* add_log_links(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& - log_links() const; - - // .flyteidl.admin.Resource resource = 1; - bool has_resource() const; - void clear_resource(); - static const int kResourceFieldNumber = 1; - const ::flyteidl::admin::Resource& resource() const; - ::flyteidl::admin::Resource* release_resource(); - ::flyteidl::admin::Resource* mutable_resource(); - void set_allocated_resource(::flyteidl::admin::Resource* resource); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog > log_links_; - ::flyteidl::admin::Resource* resource_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class Resource final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Resource) */ { - public: - Resource(); - virtual ~Resource(); - - Resource(const Resource& from); - - inline Resource& operator=(const Resource& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Resource(Resource&& from) noexcept - : Resource() { - *this = ::std::move(from); - } - - inline Resource& operator=(Resource&& 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 Resource& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Resource* internal_default_instance() { - return reinterpret_cast( - &_Resource_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(Resource* other); - friend void swap(Resource& a, Resource& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Resource* New() const final { - return CreateMaybeMessage(nullptr); - } - - Resource* 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 Resource& from); - void MergeFrom(const Resource& 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(Resource* 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.TaskLog log_links = 4; - int log_links_size() const; - void clear_log_links(); - static const int kLogLinksFieldNumber = 4; - ::flyteidl::core::TaskLog* mutable_log_links(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* - mutable_log_links(); - const ::flyteidl::core::TaskLog& log_links(int index) const; - ::flyteidl::core::TaskLog* add_log_links(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& - log_links() const; - - // string message = 3; - void clear_message(); - static const int kMessageFieldNumber = 3; - 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.LiteralMap outputs = 2; - bool has_outputs() const; - void clear_outputs(); - static const int kOutputsFieldNumber = 2; - const ::flyteidl::core::LiteralMap& outputs() const; - ::flyteidl::core::LiteralMap* release_outputs(); - ::flyteidl::core::LiteralMap* mutable_outputs(); - void set_allocated_outputs(::flyteidl::core::LiteralMap* outputs); - - // .flyteidl.admin.State state = 1 [deprecated = true]; - PROTOBUF_DEPRECATED void clear_state(); - PROTOBUF_DEPRECATED static const int kStateFieldNumber = 1; - PROTOBUF_DEPRECATED ::flyteidl::admin::State state() const; - PROTOBUF_DEPRECATED void set_state(::flyteidl::admin::State value); - - // .flyteidl.core.TaskExecution.Phase phase = 5; - void clear_phase(); - static const int kPhaseFieldNumber = 5; - ::flyteidl::core::TaskExecution_Phase phase() const; - void set_phase(::flyteidl::core::TaskExecution_Phase value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Resource) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog > log_links_; - ::google::protobuf::internal::ArenaStringPtr message_; - ::flyteidl::core::LiteralMap* outputs_; - int state_; - int phase_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteTaskRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DeleteTaskRequest) */ { - public: - DeleteTaskRequest(); - virtual ~DeleteTaskRequest(); - - DeleteTaskRequest(const DeleteTaskRequest& from); - - inline DeleteTaskRequest& operator=(const DeleteTaskRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DeleteTaskRequest(DeleteTaskRequest&& from) noexcept - : DeleteTaskRequest() { - *this = ::std::move(from); - } - - inline DeleteTaskRequest& operator=(DeleteTaskRequest&& 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 DeleteTaskRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DeleteTaskRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteTaskRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(DeleteTaskRequest* other); - friend void swap(DeleteTaskRequest& a, DeleteTaskRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DeleteTaskRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - DeleteTaskRequest* 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 DeleteTaskRequest& from); - void MergeFrom(const DeleteTaskRequest& 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(DeleteTaskRequest* 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 task_type = 1; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 1; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // bytes resource_meta = 2; - void clear_resource_meta(); - static const int kResourceMetaFieldNumber = 2; - const ::std::string& resource_meta() const; - void set_resource_meta(const ::std::string& value); - #if LANG_CXX11 - void set_resource_meta(::std::string&& value); - #endif - void set_resource_meta(const char* value); - void set_resource_meta(const void* value, size_t size); - ::std::string* mutable_resource_meta(); - ::std::string* release_resource_meta(); - void set_allocated_resource_meta(::std::string* resource_meta); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DeleteTaskRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::google::protobuf::internal::ArenaStringPtr resource_meta_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteTaskResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DeleteTaskResponse) */ { - public: - DeleteTaskResponse(); - virtual ~DeleteTaskResponse(); - - DeleteTaskResponse(const DeleteTaskResponse& from); - - inline DeleteTaskResponse& operator=(const DeleteTaskResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DeleteTaskResponse(DeleteTaskResponse&& from) noexcept - : DeleteTaskResponse() { - *this = ::std::move(from); - } - - inline DeleteTaskResponse& operator=(DeleteTaskResponse&& 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 DeleteTaskResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DeleteTaskResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteTaskResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(DeleteTaskResponse* other); - friend void swap(DeleteTaskResponse& a, DeleteTaskResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DeleteTaskResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - DeleteTaskResponse* 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 DeleteTaskResponse& from); - void MergeFrom(const DeleteTaskResponse& 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(DeleteTaskResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DeleteTaskResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class Agent final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Agent) */ { - public: - Agent(); - virtual ~Agent(); - - Agent(const Agent& from); - - inline Agent& operator=(const Agent& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Agent(Agent&& from) noexcept - : Agent() { - *this = ::std::move(from); - } - - inline Agent& operator=(Agent&& 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 Agent& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Agent* internal_default_instance() { - return reinterpret_cast( - &_Agent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(Agent* other); - friend void swap(Agent& a, Agent& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Agent* New() const final { - return CreateMaybeMessage(nullptr); - } - - Agent* 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 Agent& from); - void MergeFrom(const Agent& 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(Agent* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string supported_task_types = 2; - int supported_task_types_size() const; - void clear_supported_task_types(); - static const int kSupportedTaskTypesFieldNumber = 2; - const ::std::string& supported_task_types(int index) const; - ::std::string* mutable_supported_task_types(int index); - void set_supported_task_types(int index, const ::std::string& value); - #if LANG_CXX11 - void set_supported_task_types(int index, ::std::string&& value); - #endif - void set_supported_task_types(int index, const char* value); - void set_supported_task_types(int index, const char* value, size_t size); - ::std::string* add_supported_task_types(); - void add_supported_task_types(const ::std::string& value); - #if LANG_CXX11 - void add_supported_task_types(::std::string&& value); - #endif - void add_supported_task_types(const char* value); - void add_supported_task_types(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& supported_task_types() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_supported_task_types(); - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Agent) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> supported_task_types_; - ::google::protobuf::internal::ArenaStringPtr name_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetAgentRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetAgentRequest) */ { - public: - GetAgentRequest(); - virtual ~GetAgentRequest(); - - GetAgentRequest(const GetAgentRequest& from); - - inline GetAgentRequest& operator=(const GetAgentRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetAgentRequest(GetAgentRequest&& from) noexcept - : GetAgentRequest() { - *this = ::std::move(from); - } - - inline GetAgentRequest& operator=(GetAgentRequest&& 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 GetAgentRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetAgentRequest* internal_default_instance() { - return reinterpret_cast( - &_GetAgentRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(GetAgentRequest* other); - friend void swap(GetAgentRequest& a, GetAgentRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetAgentRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetAgentRequest* 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 GetAgentRequest& from); - void MergeFrom(const GetAgentRequest& 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(GetAgentRequest* 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 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetAgentRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetAgentResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetAgentResponse) */ { - public: - GetAgentResponse(); - virtual ~GetAgentResponse(); - - GetAgentResponse(const GetAgentResponse& from); - - inline GetAgentResponse& operator=(const GetAgentResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetAgentResponse(GetAgentResponse&& from) noexcept - : GetAgentResponse() { - *this = ::std::move(from); - } - - inline GetAgentResponse& operator=(GetAgentResponse&& 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 GetAgentResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetAgentResponse* internal_default_instance() { - return reinterpret_cast( - &_GetAgentResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - void Swap(GetAgentResponse* other); - friend void swap(GetAgentResponse& a, GetAgentResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetAgentResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetAgentResponse* 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 GetAgentResponse& from); - void MergeFrom(const GetAgentResponse& 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(GetAgentResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.Agent agent = 1; - bool has_agent() const; - void clear_agent(); - static const int kAgentFieldNumber = 1; - const ::flyteidl::admin::Agent& agent() const; - ::flyteidl::admin::Agent* release_agent(); - ::flyteidl::admin::Agent* mutable_agent(); - void set_allocated_agent(::flyteidl::admin::Agent* agent); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetAgentResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::Agent* agent_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class ListAgentsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ListAgentsRequest) */ { - public: - ListAgentsRequest(); - virtual ~ListAgentsRequest(); - - ListAgentsRequest(const ListAgentsRequest& from); - - inline ListAgentsRequest& operator=(const ListAgentsRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListAgentsRequest(ListAgentsRequest&& from) noexcept - : ListAgentsRequest() { - *this = ::std::move(from); - } - - inline ListAgentsRequest& operator=(ListAgentsRequest&& 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 ListAgentsRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListAgentsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListAgentsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - void Swap(ListAgentsRequest* other); - friend void swap(ListAgentsRequest& a, ListAgentsRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListAgentsRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListAgentsRequest* 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 ListAgentsRequest& from); - void MergeFrom(const ListAgentsRequest& 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(ListAgentsRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListAgentsRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class ListAgentsResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ListAgentsResponse) */ { - public: - ListAgentsResponse(); - virtual ~ListAgentsResponse(); - - ListAgentsResponse(const ListAgentsResponse& from); - - inline ListAgentsResponse& operator=(const ListAgentsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListAgentsResponse(ListAgentsResponse&& from) noexcept - : ListAgentsResponse() { - *this = ::std::move(from); - } - - inline ListAgentsResponse& operator=(ListAgentsResponse&& 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 ListAgentsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListAgentsResponse* internal_default_instance() { - return reinterpret_cast( - &_ListAgentsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - void Swap(ListAgentsResponse* other); - friend void swap(ListAgentsResponse& a, ListAgentsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListAgentsResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListAgentsResponse* 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 ListAgentsResponse& from); - void MergeFrom(const ListAgentsResponse& 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(ListAgentsResponse* 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.admin.Agent agents = 1; - int agents_size() const; - void clear_agents(); - static const int kAgentsFieldNumber = 1; - ::flyteidl::admin::Agent* mutable_agents(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Agent >* - mutable_agents(); - const ::flyteidl::admin::Agent& agents(int index) const; - ::flyteidl::admin::Agent* add_agents(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Agent >& - agents() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListAgentsResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Agent > agents_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTaskMetricsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetTaskMetricsRequest) */ { - public: - GetTaskMetricsRequest(); - virtual ~GetTaskMetricsRequest(); - - GetTaskMetricsRequest(const GetTaskMetricsRequest& from); - - inline GetTaskMetricsRequest& operator=(const GetTaskMetricsRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTaskMetricsRequest(GetTaskMetricsRequest&& from) noexcept - : GetTaskMetricsRequest() { - *this = ::std::move(from); - } - - inline GetTaskMetricsRequest& operator=(GetTaskMetricsRequest&& 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 GetTaskMetricsRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTaskMetricsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetTaskMetricsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - void Swap(GetTaskMetricsRequest* other); - friend void swap(GetTaskMetricsRequest& a, GetTaskMetricsRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTaskMetricsRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetTaskMetricsRequest* 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 GetTaskMetricsRequest& from); - void MergeFrom(const GetTaskMetricsRequest& 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(GetTaskMetricsRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string queries = 3; - int queries_size() const; - void clear_queries(); - static const int kQueriesFieldNumber = 3; - const ::std::string& queries(int index) const; - ::std::string* mutable_queries(int index); - void set_queries(int index, const ::std::string& value); - #if LANG_CXX11 - void set_queries(int index, ::std::string&& value); - #endif - void set_queries(int index, const char* value); - void set_queries(int index, const char* value, size_t size); - ::std::string* add_queries(); - void add_queries(const ::std::string& value); - #if LANG_CXX11 - void add_queries(::std::string&& value); - #endif - void add_queries(const char* value); - void add_queries(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& queries() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_queries(); - - // string task_type = 1; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 1; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // bytes resource_meta = 2; - void clear_resource_meta(); - static const int kResourceMetaFieldNumber = 2; - const ::std::string& resource_meta() const; - void set_resource_meta(const ::std::string& value); - #if LANG_CXX11 - void set_resource_meta(::std::string&& value); - #endif - void set_resource_meta(const char* value); - void set_resource_meta(const void* value, size_t size); - ::std::string* mutable_resource_meta(); - ::std::string* release_resource_meta(); - void set_allocated_resource_meta(::std::string* resource_meta); - - // .google.protobuf.Timestamp start_time = 4; - bool has_start_time() const; - void clear_start_time(); - static const int kStartTimeFieldNumber = 4; - const ::google::protobuf::Timestamp& start_time() const; - ::google::protobuf::Timestamp* release_start_time(); - ::google::protobuf::Timestamp* mutable_start_time(); - void set_allocated_start_time(::google::protobuf::Timestamp* start_time); - - // .google.protobuf.Timestamp end_time = 5; - bool has_end_time() const; - void clear_end_time(); - static const int kEndTimeFieldNumber = 5; - const ::google::protobuf::Timestamp& end_time() const; - ::google::protobuf::Timestamp* release_end_time(); - ::google::protobuf::Timestamp* mutable_end_time(); - void set_allocated_end_time(::google::protobuf::Timestamp* end_time); - - // .google.protobuf.Duration step = 6; - bool has_step() const; - void clear_step(); - static const int kStepFieldNumber = 6; - const ::google::protobuf::Duration& step() const; - ::google::protobuf::Duration* release_step(); - ::google::protobuf::Duration* mutable_step(); - void set_allocated_step(::google::protobuf::Duration* step); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskMetricsRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> queries_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::google::protobuf::internal::ArenaStringPtr resource_meta_; - ::google::protobuf::Timestamp* start_time_; - ::google::protobuf::Timestamp* end_time_; - ::google::protobuf::Duration* step_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTaskMetricsResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetTaskMetricsResponse) */ { - public: - GetTaskMetricsResponse(); - virtual ~GetTaskMetricsResponse(); - - GetTaskMetricsResponse(const GetTaskMetricsResponse& from); - - inline GetTaskMetricsResponse& operator=(const GetTaskMetricsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTaskMetricsResponse(GetTaskMetricsResponse&& from) noexcept - : GetTaskMetricsResponse() { - *this = ::std::move(from); - } - - inline GetTaskMetricsResponse& operator=(GetTaskMetricsResponse&& 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 GetTaskMetricsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTaskMetricsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetTaskMetricsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - void Swap(GetTaskMetricsResponse* other); - friend void swap(GetTaskMetricsResponse& a, GetTaskMetricsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTaskMetricsResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetTaskMetricsResponse* 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 GetTaskMetricsResponse& from); - void MergeFrom(const GetTaskMetricsResponse& 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(GetTaskMetricsResponse* 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.ExecutionMetricResult results = 1; - int results_size() const; - void clear_results(); - static const int kResultsFieldNumber = 1; - ::flyteidl::core::ExecutionMetricResult* mutable_results(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ExecutionMetricResult >* - mutable_results(); - const ::flyteidl::core::ExecutionMetricResult& results(int index) const; - ::flyteidl::core::ExecutionMetricResult* add_results(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ExecutionMetricResult >& - results() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskMetricsResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ExecutionMetricResult > results_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTaskLogsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetTaskLogsRequest) */ { - public: - GetTaskLogsRequest(); - virtual ~GetTaskLogsRequest(); - - GetTaskLogsRequest(const GetTaskLogsRequest& from); - - inline GetTaskLogsRequest& operator=(const GetTaskLogsRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTaskLogsRequest(GetTaskLogsRequest&& from) noexcept - : GetTaskLogsRequest() { - *this = ::std::move(from); - } - - inline GetTaskLogsRequest& operator=(GetTaskLogsRequest&& 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 GetTaskLogsRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTaskLogsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetTaskLogsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - void Swap(GetTaskLogsRequest* other); - friend void swap(GetTaskLogsRequest& a, GetTaskLogsRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTaskLogsRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetTaskLogsRequest* 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 GetTaskLogsRequest& from); - void MergeFrom(const GetTaskLogsRequest& 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(GetTaskLogsRequest* 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 task_type = 1; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 1; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // bytes resource_meta = 2; - void clear_resource_meta(); - static const int kResourceMetaFieldNumber = 2; - const ::std::string& resource_meta() const; - void set_resource_meta(const ::std::string& value); - #if LANG_CXX11 - void set_resource_meta(::std::string&& value); - #endif - void set_resource_meta(const char* value); - void set_resource_meta(const void* value, size_t size); - ::std::string* mutable_resource_meta(); - ::std::string* release_resource_meta(); - void set_allocated_resource_meta(::std::string* resource_meta); - - // string token = 4; - void clear_token(); - static const int kTokenFieldNumber = 4; - 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); - - // uint64 lines = 3; - void clear_lines(); - static const int kLinesFieldNumber = 3; - ::google::protobuf::uint64 lines() const; - void set_lines(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskLogsRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::google::protobuf::internal::ArenaStringPtr resource_meta_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::uint64 lines_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTaskLogsResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetTaskLogsResponse) */ { - public: - GetTaskLogsResponse(); - virtual ~GetTaskLogsResponse(); - - GetTaskLogsResponse(const GetTaskLogsResponse& from); - - inline GetTaskLogsResponse& operator=(const GetTaskLogsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetTaskLogsResponse(GetTaskLogsResponse&& from) noexcept - : GetTaskLogsResponse() { - *this = ::std::move(from); - } - - inline GetTaskLogsResponse& operator=(GetTaskLogsResponse&& 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 GetTaskLogsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetTaskLogsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetTaskLogsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - void Swap(GetTaskLogsResponse* other); - friend void swap(GetTaskLogsResponse& a, GetTaskLogsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetTaskLogsResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetTaskLogsResponse* 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 GetTaskLogsResponse& from); - void MergeFrom(const GetTaskLogsResponse& 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(GetTaskLogsResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string results = 1; - int results_size() const; - void clear_results(); - static const int kResultsFieldNumber = 1; - const ::std::string& results(int index) const; - ::std::string* mutable_results(int index); - void set_results(int index, const ::std::string& value); - #if LANG_CXX11 - void set_results(int index, ::std::string&& value); - #endif - void set_results(int index, const char* value); - void set_results(int index, const char* value, size_t size); - ::std::string* add_results(); - void add_results(const ::std::string& value); - #if LANG_CXX11 - void add_results(::std::string&& value); - #endif - void add_results(const char* value); - void add_results(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& results() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_results(); - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskLogsResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> results_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fagent_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// TaskExecutionMetadata - -// .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; -inline bool TaskExecutionMetadata::has_task_execution_id() const { - return this != internal_default_instance() && task_execution_id_ != nullptr; -} -inline const ::flyteidl::core::TaskExecutionIdentifier& TaskExecutionMetadata::task_execution_id() const { - const ::flyteidl::core::TaskExecutionIdentifier* p = task_execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionMetadata.task_execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecutionMetadata::release_task_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionMetadata.task_execution_id) - - ::flyteidl::core::TaskExecutionIdentifier* temp = task_execution_id_; - task_execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecutionMetadata::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.admin.TaskExecutionMetadata.task_execution_id) - return task_execution_id_; -} -inline void TaskExecutionMetadata::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.admin.TaskExecutionMetadata.task_execution_id) -} - -// string namespace = 2; -inline void TaskExecutionMetadata::clear_namespace_() { - namespace__.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionMetadata::namespace_() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionMetadata.namespace) - return namespace__.GetNoArena(); -} -inline void TaskExecutionMetadata::set_namespace_(const ::std::string& value) { - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionMetadata.namespace) -} -#if LANG_CXX11 -inline void TaskExecutionMetadata::set_namespace_(::std::string&& value) { - - namespace__.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionMetadata.namespace) -} -#endif -inline void TaskExecutionMetadata::set_namespace_(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionMetadata.namespace) -} -inline void TaskExecutionMetadata::set_namespace_(const char* value, size_t size) { - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionMetadata.namespace) -} -inline ::std::string* TaskExecutionMetadata::mutable_namespace_() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionMetadata.namespace) - return namespace__.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionMetadata::release_namespace_() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionMetadata.namespace) - - return namespace__.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionMetadata::set_allocated_namespace_(::std::string* namespace_) { - if (namespace_ != nullptr) { - - } else { - - } - namespace__.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionMetadata.namespace) -} - -// map labels = 3; -inline int TaskExecutionMetadata::labels_size() const { - return labels_.size(); -} -inline void TaskExecutionMetadata::clear_labels() { - labels_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -TaskExecutionMetadata::labels() const { - // @@protoc_insertion_point(field_map:flyteidl.admin.TaskExecutionMetadata.labels) - return labels_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -TaskExecutionMetadata::mutable_labels() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.TaskExecutionMetadata.labels) - return labels_.MutableMap(); -} - -// map annotations = 4; -inline int TaskExecutionMetadata::annotations_size() const { - return annotations_.size(); -} -inline void TaskExecutionMetadata::clear_annotations() { - annotations_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -TaskExecutionMetadata::annotations() const { - // @@protoc_insertion_point(field_map:flyteidl.admin.TaskExecutionMetadata.annotations) - return annotations_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -TaskExecutionMetadata::mutable_annotations() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.TaskExecutionMetadata.annotations) - return annotations_.MutableMap(); -} - -// string k8s_service_account = 5; -inline void TaskExecutionMetadata::clear_k8s_service_account() { - k8s_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionMetadata::k8s_service_account() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) - return k8s_service_account_.GetNoArena(); -} -inline void TaskExecutionMetadata::set_k8s_service_account(const ::std::string& value) { - - k8s_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) -} -#if LANG_CXX11 -inline void TaskExecutionMetadata::set_k8s_service_account(::std::string&& value) { - - k8s_service_account_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) -} -#endif -inline void TaskExecutionMetadata::set_k8s_service_account(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - k8s_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) -} -inline void TaskExecutionMetadata::set_k8s_service_account(const char* value, size_t size) { - - k8s_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) -} -inline ::std::string* TaskExecutionMetadata::mutable_k8s_service_account() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) - return k8s_service_account_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionMetadata::release_k8s_service_account() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) - - return k8s_service_account_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionMetadata::set_allocated_k8s_service_account(::std::string* k8s_service_account) { - if (k8s_service_account != nullptr) { - - } else { - - } - k8s_service_account_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), k8s_service_account); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionMetadata.k8s_service_account) -} - -// map environment_variables = 6; -inline int TaskExecutionMetadata::environment_variables_size() const { - return environment_variables_.size(); -} -inline void TaskExecutionMetadata::clear_environment_variables() { - environment_variables_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -TaskExecutionMetadata::environment_variables() const { - // @@protoc_insertion_point(field_map:flyteidl.admin.TaskExecutionMetadata.environment_variables) - return environment_variables_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -TaskExecutionMetadata::mutable_environment_variables() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.TaskExecutionMetadata.environment_variables) - return environment_variables_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// CreateTaskRequest - -// .flyteidl.core.LiteralMap inputs = 1; -inline bool CreateTaskRequest::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CreateTaskRequest::inputs() const { - const ::flyteidl::core::LiteralMap* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateTaskRequest.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CreateTaskRequest::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateTaskRequest.inputs) - - ::flyteidl::core::LiteralMap* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CreateTaskRequest::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateTaskRequest.inputs) - return inputs_; -} -inline void CreateTaskRequest::set_allocated_inputs(::flyteidl::core::LiteralMap* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateTaskRequest.inputs) -} - -// .flyteidl.core.TaskTemplate template = 2; -inline bool CreateTaskRequest::has_template_() const { - return this != internal_default_instance() && template__ != nullptr; -} -inline const ::flyteidl::core::TaskTemplate& CreateTaskRequest::template_() const { - const ::flyteidl::core::TaskTemplate* p = template__; - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateTaskRequest.template) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskTemplate_default_instance_); -} -inline ::flyteidl::core::TaskTemplate* CreateTaskRequest::release_template_() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateTaskRequest.template) - - ::flyteidl::core::TaskTemplate* temp = template__; - template__ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskTemplate* CreateTaskRequest::mutable_template_() { - - if (template__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskTemplate>(GetArenaNoVirtual()); - template__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateTaskRequest.template) - return template__; -} -inline void CreateTaskRequest::set_allocated_template_(::flyteidl::core::TaskTemplate* template_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(template__); - } - if (template_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - template_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, template_, submessage_arena); - } - - } else { - - } - template__ = template_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateTaskRequest.template) -} - -// string output_prefix = 3; -inline void CreateTaskRequest::clear_output_prefix() { - output_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateTaskRequest::output_prefix() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateTaskRequest.output_prefix) - return output_prefix_.GetNoArena(); -} -inline void CreateTaskRequest::set_output_prefix(const ::std::string& value) { - - output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.CreateTaskRequest.output_prefix) -} -#if LANG_CXX11 -inline void CreateTaskRequest::set_output_prefix(::std::string&& value) { - - output_prefix_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.CreateTaskRequest.output_prefix) -} -#endif -inline void CreateTaskRequest::set_output_prefix(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.CreateTaskRequest.output_prefix) -} -inline void CreateTaskRequest::set_output_prefix(const char* value, size_t size) { - - output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.CreateTaskRequest.output_prefix) -} -inline ::std::string* CreateTaskRequest::mutable_output_prefix() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateTaskRequest.output_prefix) - return output_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateTaskRequest::release_output_prefix() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateTaskRequest.output_prefix) - - return output_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateTaskRequest::set_allocated_output_prefix(::std::string* output_prefix) { - if (output_prefix != nullptr) { - - } else { - - } - output_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_prefix); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateTaskRequest.output_prefix) -} - -// .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; -inline bool CreateTaskRequest::has_task_execution_metadata() const { - return this != internal_default_instance() && task_execution_metadata_ != nullptr; -} -inline void CreateTaskRequest::clear_task_execution_metadata() { - if (GetArenaNoVirtual() == nullptr && task_execution_metadata_ != nullptr) { - delete task_execution_metadata_; - } - task_execution_metadata_ = nullptr; -} -inline const ::flyteidl::admin::TaskExecutionMetadata& CreateTaskRequest::task_execution_metadata() const { - const ::flyteidl::admin::TaskExecutionMetadata* p = task_execution_metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateTaskRequest.task_execution_metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_TaskExecutionMetadata_default_instance_); -} -inline ::flyteidl::admin::TaskExecutionMetadata* CreateTaskRequest::release_task_execution_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateTaskRequest.task_execution_metadata) - - ::flyteidl::admin::TaskExecutionMetadata* temp = task_execution_metadata_; - task_execution_metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::TaskExecutionMetadata* CreateTaskRequest::mutable_task_execution_metadata() { - - if (task_execution_metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::TaskExecutionMetadata>(GetArenaNoVirtual()); - task_execution_metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateTaskRequest.task_execution_metadata) - return task_execution_metadata_; -} -inline void CreateTaskRequest::set_allocated_task_execution_metadata(::flyteidl::admin::TaskExecutionMetadata* task_execution_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete task_execution_metadata_; - } - if (task_execution_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_execution_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_execution_metadata, submessage_arena); - } - - } else { - - } - task_execution_metadata_ = task_execution_metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateTaskRequest.task_execution_metadata) -} - -// ------------------------------------------------------------------- - -// CreateTaskResponse - -// bytes resource_meta = 1; -inline bool CreateTaskResponse::has_resource_meta() const { - return res_case() == kResourceMeta; -} -inline void CreateTaskResponse::set_has_resource_meta() { - _oneof_case_[0] = kResourceMeta; -} -inline void CreateTaskResponse::clear_resource_meta() { - if (has_resource_meta()) { - res_.resource_meta_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_res(); - } -} -inline const ::std::string& CreateTaskResponse::resource_meta() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateTaskResponse.resource_meta) - if (has_resource_meta()) { - return res_.resource_meta_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void CreateTaskResponse::set_resource_meta(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.CreateTaskResponse.resource_meta) - if (!has_resource_meta()) { - clear_res(); - set_has_resource_meta(); - res_.resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - res_.resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.CreateTaskResponse.resource_meta) -} -#if LANG_CXX11 -inline void CreateTaskResponse::set_resource_meta(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.CreateTaskResponse.resource_meta) - if (!has_resource_meta()) { - clear_res(); - set_has_resource_meta(); - res_.resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - res_.resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.CreateTaskResponse.resource_meta) -} -#endif -inline void CreateTaskResponse::set_resource_meta(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_resource_meta()) { - clear_res(); - set_has_resource_meta(); - res_.resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - res_.resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.CreateTaskResponse.resource_meta) -} -inline void CreateTaskResponse::set_resource_meta(const void* value, size_t size) { - if (!has_resource_meta()) { - clear_res(); - set_has_resource_meta(); - res_.resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - res_.resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.CreateTaskResponse.resource_meta) -} -inline ::std::string* CreateTaskResponse::mutable_resource_meta() { - if (!has_resource_meta()) { - clear_res(); - set_has_resource_meta(); - res_.resource_meta_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateTaskResponse.resource_meta) - return res_.resource_meta_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateTaskResponse::release_resource_meta() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateTaskResponse.resource_meta) - if (has_resource_meta()) { - clear_has_res(); - return res_.resource_meta_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void CreateTaskResponse::set_allocated_resource_meta(::std::string* resource_meta) { - if (has_res()) { - clear_res(); - } - if (resource_meta != nullptr) { - set_has_resource_meta(); - res_.resource_meta_.UnsafeSetDefault(resource_meta); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateTaskResponse.resource_meta) -} - -// .flyteidl.admin.Resource resource = 2; -inline bool CreateTaskResponse::has_resource() const { - return res_case() == kResource; -} -inline void CreateTaskResponse::set_has_resource() { - _oneof_case_[0] = kResource; -} -inline void CreateTaskResponse::clear_resource() { - if (has_resource()) { - delete res_.resource_; - clear_has_res(); - } -} -inline ::flyteidl::admin::Resource* CreateTaskResponse::release_resource() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateTaskResponse.resource) - if (has_resource()) { - clear_has_res(); - ::flyteidl::admin::Resource* temp = res_.resource_; - res_.resource_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::Resource& CreateTaskResponse::resource() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateTaskResponse.resource) - return has_resource() - ? *res_.resource_ - : *reinterpret_cast< ::flyteidl::admin::Resource*>(&::flyteidl::admin::_Resource_default_instance_); -} -inline ::flyteidl::admin::Resource* CreateTaskResponse::mutable_resource() { - if (!has_resource()) { - clear_res(); - set_has_resource(); - res_.resource_ = CreateMaybeMessage< ::flyteidl::admin::Resource >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateTaskResponse.resource) - return res_.resource_; -} - -inline bool CreateTaskResponse::has_res() const { - return res_case() != RES_NOT_SET; -} -inline void CreateTaskResponse::clear_has_res() { - _oneof_case_[0] = RES_NOT_SET; -} -inline CreateTaskResponse::ResCase CreateTaskResponse::res_case() const { - return CreateTaskResponse::ResCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// GetTaskRequest - -// string task_type = 1; -inline void GetTaskRequest::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskRequest::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskRequest.task_type) - return task_type_.GetNoArena(); -} -inline void GetTaskRequest::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskRequest.task_type) -} -#if LANG_CXX11 -inline void GetTaskRequest::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskRequest.task_type) -} -#endif -inline void GetTaskRequest::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskRequest.task_type) -} -inline void GetTaskRequest::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskRequest.task_type) -} -inline ::std::string* GetTaskRequest::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskRequest.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskRequest::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskRequest.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskRequest::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskRequest.task_type) -} - -// bytes resource_meta = 2; -inline void GetTaskRequest::clear_resource_meta() { - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskRequest::resource_meta() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskRequest.resource_meta) - return resource_meta_.GetNoArena(); -} -inline void GetTaskRequest::set_resource_meta(const ::std::string& value) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskRequest.resource_meta) -} -#if LANG_CXX11 -inline void GetTaskRequest::set_resource_meta(::std::string&& value) { - - resource_meta_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskRequest.resource_meta) -} -#endif -inline void GetTaskRequest::set_resource_meta(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskRequest.resource_meta) -} -inline void GetTaskRequest::set_resource_meta(const void* value, size_t size) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskRequest.resource_meta) -} -inline ::std::string* GetTaskRequest::mutable_resource_meta() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskRequest.resource_meta) - return resource_meta_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskRequest::release_resource_meta() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskRequest.resource_meta) - - return resource_meta_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskRequest::set_allocated_resource_meta(::std::string* resource_meta) { - if (resource_meta != nullptr) { - - } else { - - } - resource_meta_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), resource_meta); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskRequest.resource_meta) -} - -// ------------------------------------------------------------------- - -// GetTaskResponse - -// .flyteidl.admin.Resource resource = 1; -inline bool GetTaskResponse::has_resource() const { - return this != internal_default_instance() && resource_ != nullptr; -} -inline void GetTaskResponse::clear_resource() { - if (GetArenaNoVirtual() == nullptr && resource_ != nullptr) { - delete resource_; - } - resource_ = nullptr; -} -inline const ::flyteidl::admin::Resource& GetTaskResponse::resource() const { - const ::flyteidl::admin::Resource* p = resource_; - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskResponse.resource) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Resource_default_instance_); -} -inline ::flyteidl::admin::Resource* GetTaskResponse::release_resource() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskResponse.resource) - - ::flyteidl::admin::Resource* temp = resource_; - resource_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Resource* GetTaskResponse::mutable_resource() { - - if (resource_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Resource>(GetArenaNoVirtual()); - resource_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskResponse.resource) - return resource_; -} -inline void GetTaskResponse::set_allocated_resource(::flyteidl::admin::Resource* resource) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete resource_; - } - if (resource) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resource = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resource, submessage_arena); - } - - } else { - - } - resource_ = resource; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskResponse.resource) -} - -// repeated .flyteidl.core.TaskLog log_links = 2; -inline int GetTaskResponse::log_links_size() const { - return log_links_.size(); -} -inline ::flyteidl::core::TaskLog* GetTaskResponse::mutable_log_links(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskResponse.log_links) - return log_links_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* -GetTaskResponse::mutable_log_links() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.GetTaskResponse.log_links) - return &log_links_; -} -inline const ::flyteidl::core::TaskLog& GetTaskResponse::log_links(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskResponse.log_links) - return log_links_.Get(index); -} -inline ::flyteidl::core::TaskLog* GetTaskResponse::add_log_links() { - // @@protoc_insertion_point(field_add:flyteidl.admin.GetTaskResponse.log_links) - return log_links_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& -GetTaskResponse::log_links() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.GetTaskResponse.log_links) - return log_links_; -} - -// ------------------------------------------------------------------- - -// Resource - -// .flyteidl.admin.State state = 1 [deprecated = true]; -inline void Resource::clear_state() { - state_ = 0; -} -inline ::flyteidl::admin::State Resource::state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Resource.state) - return static_cast< ::flyteidl::admin::State >(state_); -} -inline void Resource::set_state(::flyteidl::admin::State value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.Resource.state) -} - -// .flyteidl.core.LiteralMap outputs = 2; -inline bool Resource::has_outputs() const { - return this != internal_default_instance() && outputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& Resource::outputs() const { - const ::flyteidl::core::LiteralMap* p = outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Resource.outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* Resource::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Resource.outputs) - - ::flyteidl::core::LiteralMap* temp = outputs_; - outputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* Resource::mutable_outputs() { - - if (outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Resource.outputs) - return outputs_; -} -inline void Resource::set_allocated_outputs(::flyteidl::core::LiteralMap* outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(outputs_); - } - if (outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, outputs, submessage_arena); - } - - } else { - - } - outputs_ = outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Resource.outputs) -} - -// string message = 3; -inline void Resource::clear_message() { - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Resource::message() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Resource.message) - return message_.GetNoArena(); -} -inline void Resource::set_message(const ::std::string& value) { - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Resource.message) -} -#if LANG_CXX11 -inline void Resource::set_message(::std::string&& value) { - - message_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Resource.message) -} -#endif -inline void Resource::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.admin.Resource.message) -} -inline void Resource::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.admin.Resource.message) -} -inline ::std::string* Resource::mutable_message() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Resource.message) - return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Resource::release_message() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Resource.message) - - return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Resource::set_allocated_message(::std::string* message) { - if (message != nullptr) { - - } else { - - } - message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Resource.message) -} - -// repeated .flyteidl.core.TaskLog log_links = 4; -inline int Resource::log_links_size() const { - return log_links_.size(); -} -inline ::flyteidl::core::TaskLog* Resource::mutable_log_links(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Resource.log_links) - return log_links_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* -Resource::mutable_log_links() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Resource.log_links) - return &log_links_; -} -inline const ::flyteidl::core::TaskLog& Resource::log_links(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Resource.log_links) - return log_links_.Get(index); -} -inline ::flyteidl::core::TaskLog* Resource::add_log_links() { - // @@protoc_insertion_point(field_add:flyteidl.admin.Resource.log_links) - return log_links_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& -Resource::log_links() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Resource.log_links) - return log_links_; -} - -// .flyteidl.core.TaskExecution.Phase phase = 5; -inline void Resource::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::TaskExecution_Phase Resource::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Resource.phase) - return static_cast< ::flyteidl::core::TaskExecution_Phase >(phase_); -} -inline void Resource::set_phase(::flyteidl::core::TaskExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.Resource.phase) -} - -// ------------------------------------------------------------------- - -// DeleteTaskRequest - -// string task_type = 1; -inline void DeleteTaskRequest::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DeleteTaskRequest::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DeleteTaskRequest.task_type) - return task_type_.GetNoArena(); -} -inline void DeleteTaskRequest::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.DeleteTaskRequest.task_type) -} -#if LANG_CXX11 -inline void DeleteTaskRequest::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DeleteTaskRequest.task_type) -} -#endif -inline void DeleteTaskRequest::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DeleteTaskRequest.task_type) -} -inline void DeleteTaskRequest::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DeleteTaskRequest.task_type) -} -inline ::std::string* DeleteTaskRequest::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DeleteTaskRequest.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DeleteTaskRequest::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DeleteTaskRequest.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DeleteTaskRequest::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DeleteTaskRequest.task_type) -} - -// bytes resource_meta = 2; -inline void DeleteTaskRequest::clear_resource_meta() { - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DeleteTaskRequest::resource_meta() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DeleteTaskRequest.resource_meta) - return resource_meta_.GetNoArena(); -} -inline void DeleteTaskRequest::set_resource_meta(const ::std::string& value) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.DeleteTaskRequest.resource_meta) -} -#if LANG_CXX11 -inline void DeleteTaskRequest::set_resource_meta(::std::string&& value) { - - resource_meta_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DeleteTaskRequest.resource_meta) -} -#endif -inline void DeleteTaskRequest::set_resource_meta(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DeleteTaskRequest.resource_meta) -} -inline void DeleteTaskRequest::set_resource_meta(const void* value, size_t size) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DeleteTaskRequest.resource_meta) -} -inline ::std::string* DeleteTaskRequest::mutable_resource_meta() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DeleteTaskRequest.resource_meta) - return resource_meta_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DeleteTaskRequest::release_resource_meta() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DeleteTaskRequest.resource_meta) - - return resource_meta_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DeleteTaskRequest::set_allocated_resource_meta(::std::string* resource_meta) { - if (resource_meta != nullptr) { - - } else { - - } - resource_meta_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), resource_meta); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DeleteTaskRequest.resource_meta) -} - -// ------------------------------------------------------------------- - -// DeleteTaskResponse - -// ------------------------------------------------------------------- - -// Agent - -// string name = 1; -inline void Agent::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Agent::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Agent.name) - return name_.GetNoArena(); -} -inline void Agent::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Agent.name) -} -#if LANG_CXX11 -inline void Agent::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Agent.name) -} -#endif -inline void Agent::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Agent.name) -} -inline void Agent::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Agent.name) -} -inline ::std::string* Agent::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Agent.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Agent::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Agent.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Agent::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Agent.name) -} - -// repeated string supported_task_types = 2; -inline int Agent::supported_task_types_size() const { - return supported_task_types_.size(); -} -inline void Agent::clear_supported_task_types() { - supported_task_types_.Clear(); -} -inline const ::std::string& Agent::supported_task_types(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Agent.supported_task_types) - return supported_task_types_.Get(index); -} -inline ::std::string* Agent::mutable_supported_task_types(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Agent.supported_task_types) - return supported_task_types_.Mutable(index); -} -inline void Agent::set_supported_task_types(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Agent.supported_task_types) - supported_task_types_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void Agent::set_supported_task_types(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Agent.supported_task_types) - supported_task_types_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void Agent::set_supported_task_types(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - supported_task_types_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Agent.supported_task_types) -} -inline void Agent::set_supported_task_types(int index, const char* value, size_t size) { - supported_task_types_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Agent.supported_task_types) -} -inline ::std::string* Agent::add_supported_task_types() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.Agent.supported_task_types) - return supported_task_types_.Add(); -} -inline void Agent::add_supported_task_types(const ::std::string& value) { - supported_task_types_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.Agent.supported_task_types) -} -#if LANG_CXX11 -inline void Agent::add_supported_task_types(::std::string&& value) { - supported_task_types_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.Agent.supported_task_types) -} -#endif -inline void Agent::add_supported_task_types(const char* value) { - GOOGLE_DCHECK(value != nullptr); - supported_task_types_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.Agent.supported_task_types) -} -inline void Agent::add_supported_task_types(const char* value, size_t size) { - supported_task_types_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.Agent.supported_task_types) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -Agent::supported_task_types() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Agent.supported_task_types) - return supported_task_types_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -Agent::mutable_supported_task_types() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Agent.supported_task_types) - return &supported_task_types_; -} - -// ------------------------------------------------------------------- - -// GetAgentRequest - -// string name = 1; -inline void GetAgentRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetAgentRequest::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetAgentRequest.name) - return name_.GetNoArena(); -} -inline void GetAgentRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetAgentRequest.name) -} -#if LANG_CXX11 -inline void GetAgentRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetAgentRequest.name) -} -#endif -inline void GetAgentRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetAgentRequest.name) -} -inline void GetAgentRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetAgentRequest.name) -} -inline ::std::string* GetAgentRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetAgentRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetAgentRequest::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetAgentRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetAgentRequest::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetAgentRequest.name) -} - -// ------------------------------------------------------------------- - -// GetAgentResponse - -// .flyteidl.admin.Agent agent = 1; -inline bool GetAgentResponse::has_agent() const { - return this != internal_default_instance() && agent_ != nullptr; -} -inline void GetAgentResponse::clear_agent() { - if (GetArenaNoVirtual() == nullptr && agent_ != nullptr) { - delete agent_; - } - agent_ = nullptr; -} -inline const ::flyteidl::admin::Agent& GetAgentResponse::agent() const { - const ::flyteidl::admin::Agent* p = agent_; - // @@protoc_insertion_point(field_get:flyteidl.admin.GetAgentResponse.agent) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Agent_default_instance_); -} -inline ::flyteidl::admin::Agent* GetAgentResponse::release_agent() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetAgentResponse.agent) - - ::flyteidl::admin::Agent* temp = agent_; - agent_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Agent* GetAgentResponse::mutable_agent() { - - if (agent_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Agent>(GetArenaNoVirtual()); - agent_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetAgentResponse.agent) - return agent_; -} -inline void GetAgentResponse::set_allocated_agent(::flyteidl::admin::Agent* agent) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete agent_; - } - if (agent) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - agent = ::google::protobuf::internal::GetOwnedMessage( - message_arena, agent, submessage_arena); - } - - } else { - - } - agent_ = agent; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetAgentResponse.agent) -} - -// ------------------------------------------------------------------- - -// ListAgentsRequest - -// ------------------------------------------------------------------- - -// ListAgentsResponse - -// repeated .flyteidl.admin.Agent agents = 1; -inline int ListAgentsResponse::agents_size() const { - return agents_.size(); -} -inline void ListAgentsResponse::clear_agents() { - agents_.Clear(); -} -inline ::flyteidl::admin::Agent* ListAgentsResponse::mutable_agents(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ListAgentsResponse.agents) - return agents_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Agent >* -ListAgentsResponse::mutable_agents() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ListAgentsResponse.agents) - return &agents_; -} -inline const ::flyteidl::admin::Agent& ListAgentsResponse::agents(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ListAgentsResponse.agents) - return agents_.Get(index); -} -inline ::flyteidl::admin::Agent* ListAgentsResponse::add_agents() { - // @@protoc_insertion_point(field_add:flyteidl.admin.ListAgentsResponse.agents) - return agents_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Agent >& -ListAgentsResponse::agents() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.ListAgentsResponse.agents) - return agents_; -} - -// ------------------------------------------------------------------- - -// GetTaskMetricsRequest - -// string task_type = 1; -inline void GetTaskMetricsRequest::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskMetricsRequest::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskMetricsRequest.task_type) - return task_type_.GetNoArena(); -} -inline void GetTaskMetricsRequest::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskMetricsRequest.task_type) -} -#if LANG_CXX11 -inline void GetTaskMetricsRequest::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskMetricsRequest.task_type) -} -#endif -inline void GetTaskMetricsRequest::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskMetricsRequest.task_type) -} -inline void GetTaskMetricsRequest::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskMetricsRequest.task_type) -} -inline ::std::string* GetTaskMetricsRequest::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskMetricsRequest.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskMetricsRequest::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskMetricsRequest.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskMetricsRequest::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskMetricsRequest.task_type) -} - -// bytes resource_meta = 2; -inline void GetTaskMetricsRequest::clear_resource_meta() { - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskMetricsRequest::resource_meta() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskMetricsRequest.resource_meta) - return resource_meta_.GetNoArena(); -} -inline void GetTaskMetricsRequest::set_resource_meta(const ::std::string& value) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskMetricsRequest.resource_meta) -} -#if LANG_CXX11 -inline void GetTaskMetricsRequest::set_resource_meta(::std::string&& value) { - - resource_meta_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskMetricsRequest.resource_meta) -} -#endif -inline void GetTaskMetricsRequest::set_resource_meta(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskMetricsRequest.resource_meta) -} -inline void GetTaskMetricsRequest::set_resource_meta(const void* value, size_t size) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskMetricsRequest.resource_meta) -} -inline ::std::string* GetTaskMetricsRequest::mutable_resource_meta() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskMetricsRequest.resource_meta) - return resource_meta_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskMetricsRequest::release_resource_meta() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskMetricsRequest.resource_meta) - - return resource_meta_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskMetricsRequest::set_allocated_resource_meta(::std::string* resource_meta) { - if (resource_meta != nullptr) { - - } else { - - } - resource_meta_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), resource_meta); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskMetricsRequest.resource_meta) -} - -// repeated string queries = 3; -inline int GetTaskMetricsRequest::queries_size() const { - return queries_.size(); -} -inline void GetTaskMetricsRequest::clear_queries() { - queries_.Clear(); -} -inline const ::std::string& GetTaskMetricsRequest::queries(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskMetricsRequest.queries) - return queries_.Get(index); -} -inline ::std::string* GetTaskMetricsRequest::mutable_queries(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskMetricsRequest.queries) - return queries_.Mutable(index); -} -inline void GetTaskMetricsRequest::set_queries(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskMetricsRequest.queries) - queries_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void GetTaskMetricsRequest::set_queries(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskMetricsRequest.queries) - queries_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void GetTaskMetricsRequest::set_queries(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - queries_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskMetricsRequest.queries) -} -inline void GetTaskMetricsRequest::set_queries(int index, const char* value, size_t size) { - queries_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskMetricsRequest.queries) -} -inline ::std::string* GetTaskMetricsRequest::add_queries() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.GetTaskMetricsRequest.queries) - return queries_.Add(); -} -inline void GetTaskMetricsRequest::add_queries(const ::std::string& value) { - queries_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.GetTaskMetricsRequest.queries) -} -#if LANG_CXX11 -inline void GetTaskMetricsRequest::add_queries(::std::string&& value) { - queries_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.GetTaskMetricsRequest.queries) -} -#endif -inline void GetTaskMetricsRequest::add_queries(const char* value) { - GOOGLE_DCHECK(value != nullptr); - queries_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.GetTaskMetricsRequest.queries) -} -inline void GetTaskMetricsRequest::add_queries(const char* value, size_t size) { - queries_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.GetTaskMetricsRequest.queries) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -GetTaskMetricsRequest::queries() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.GetTaskMetricsRequest.queries) - return queries_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -GetTaskMetricsRequest::mutable_queries() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.GetTaskMetricsRequest.queries) - return &queries_; -} - -// .google.protobuf.Timestamp start_time = 4; -inline bool GetTaskMetricsRequest::has_start_time() const { - return this != internal_default_instance() && start_time_ != nullptr; -} -inline const ::google::protobuf::Timestamp& GetTaskMetricsRequest::start_time() const { - const ::google::protobuf::Timestamp* p = start_time_; - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskMetricsRequest.start_time) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* GetTaskMetricsRequest::release_start_time() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskMetricsRequest.start_time) - - ::google::protobuf::Timestamp* temp = start_time_; - start_time_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* GetTaskMetricsRequest::mutable_start_time() { - - if (start_time_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - start_time_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskMetricsRequest.start_time) - return start_time_; -} -inline void GetTaskMetricsRequest::set_allocated_start_time(::google::protobuf::Timestamp* start_time) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(start_time_); - } - if (start_time) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(start_time)->GetArena(); - if (message_arena != submessage_arena) { - start_time = ::google::protobuf::internal::GetOwnedMessage( - message_arena, start_time, submessage_arena); - } - - } else { - - } - start_time_ = start_time; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskMetricsRequest.start_time) -} - -// .google.protobuf.Timestamp end_time = 5; -inline bool GetTaskMetricsRequest::has_end_time() const { - return this != internal_default_instance() && end_time_ != nullptr; -} -inline const ::google::protobuf::Timestamp& GetTaskMetricsRequest::end_time() const { - const ::google::protobuf::Timestamp* p = end_time_; - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskMetricsRequest.end_time) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* GetTaskMetricsRequest::release_end_time() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskMetricsRequest.end_time) - - ::google::protobuf::Timestamp* temp = end_time_; - end_time_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* GetTaskMetricsRequest::mutable_end_time() { - - if (end_time_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - end_time_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskMetricsRequest.end_time) - return end_time_; -} -inline void GetTaskMetricsRequest::set_allocated_end_time(::google::protobuf::Timestamp* end_time) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(end_time_); - } - if (end_time) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(end_time)->GetArena(); - if (message_arena != submessage_arena) { - end_time = ::google::protobuf::internal::GetOwnedMessage( - message_arena, end_time, submessage_arena); - } - - } else { - - } - end_time_ = end_time; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskMetricsRequest.end_time) -} - -// .google.protobuf.Duration step = 6; -inline bool GetTaskMetricsRequest::has_step() const { - return this != internal_default_instance() && step_ != nullptr; -} -inline const ::google::protobuf::Duration& GetTaskMetricsRequest::step() const { - const ::google::protobuf::Duration* p = step_; - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskMetricsRequest.step) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* GetTaskMetricsRequest::release_step() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskMetricsRequest.step) - - ::google::protobuf::Duration* temp = step_; - step_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* GetTaskMetricsRequest::mutable_step() { - - if (step_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - step_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskMetricsRequest.step) - return step_; -} -inline void GetTaskMetricsRequest::set_allocated_step(::google::protobuf::Duration* step) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(step_); - } - if (step) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(step)->GetArena(); - if (message_arena != submessage_arena) { - step = ::google::protobuf::internal::GetOwnedMessage( - message_arena, step, submessage_arena); - } - - } else { - - } - step_ = step; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskMetricsRequest.step) -} - -// ------------------------------------------------------------------- - -// GetTaskMetricsResponse - -// repeated .flyteidl.core.ExecutionMetricResult results = 1; -inline int GetTaskMetricsResponse::results_size() const { - return results_.size(); -} -inline ::flyteidl::core::ExecutionMetricResult* GetTaskMetricsResponse::mutable_results(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskMetricsResponse.results) - return results_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ExecutionMetricResult >* -GetTaskMetricsResponse::mutable_results() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.GetTaskMetricsResponse.results) - return &results_; -} -inline const ::flyteidl::core::ExecutionMetricResult& GetTaskMetricsResponse::results(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskMetricsResponse.results) - return results_.Get(index); -} -inline ::flyteidl::core::ExecutionMetricResult* GetTaskMetricsResponse::add_results() { - // @@protoc_insertion_point(field_add:flyteidl.admin.GetTaskMetricsResponse.results) - return results_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ExecutionMetricResult >& -GetTaskMetricsResponse::results() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.GetTaskMetricsResponse.results) - return results_; -} - -// ------------------------------------------------------------------- - -// GetTaskLogsRequest - -// string task_type = 1; -inline void GetTaskLogsRequest::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskLogsRequest::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskLogsRequest.task_type) - return task_type_.GetNoArena(); -} -inline void GetTaskLogsRequest::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskLogsRequest.task_type) -} -#if LANG_CXX11 -inline void GetTaskLogsRequest::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskLogsRequest.task_type) -} -#endif -inline void GetTaskLogsRequest::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskLogsRequest.task_type) -} -inline void GetTaskLogsRequest::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskLogsRequest.task_type) -} -inline ::std::string* GetTaskLogsRequest::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskLogsRequest.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskLogsRequest::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskLogsRequest.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskLogsRequest::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskLogsRequest.task_type) -} - -// bytes resource_meta = 2; -inline void GetTaskLogsRequest::clear_resource_meta() { - resource_meta_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskLogsRequest::resource_meta() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskLogsRequest.resource_meta) - return resource_meta_.GetNoArena(); -} -inline void GetTaskLogsRequest::set_resource_meta(const ::std::string& value) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskLogsRequest.resource_meta) -} -#if LANG_CXX11 -inline void GetTaskLogsRequest::set_resource_meta(::std::string&& value) { - - resource_meta_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskLogsRequest.resource_meta) -} -#endif -inline void GetTaskLogsRequest::set_resource_meta(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskLogsRequest.resource_meta) -} -inline void GetTaskLogsRequest::set_resource_meta(const void* value, size_t size) { - - resource_meta_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskLogsRequest.resource_meta) -} -inline ::std::string* GetTaskLogsRequest::mutable_resource_meta() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskLogsRequest.resource_meta) - return resource_meta_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskLogsRequest::release_resource_meta() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskLogsRequest.resource_meta) - - return resource_meta_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskLogsRequest::set_allocated_resource_meta(::std::string* resource_meta) { - if (resource_meta != nullptr) { - - } else { - - } - resource_meta_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), resource_meta); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskLogsRequest.resource_meta) -} - -// uint64 lines = 3; -inline void GetTaskLogsRequest::clear_lines() { - lines_ = PROTOBUF_ULONGLONG(0); -} -inline ::google::protobuf::uint64 GetTaskLogsRequest::lines() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskLogsRequest.lines) - return lines_; -} -inline void GetTaskLogsRequest::set_lines(::google::protobuf::uint64 value) { - - lines_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskLogsRequest.lines) -} - -// string token = 4; -inline void GetTaskLogsRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskLogsRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskLogsRequest.token) - return token_.GetNoArena(); -} -inline void GetTaskLogsRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskLogsRequest.token) -} -#if LANG_CXX11 -inline void GetTaskLogsRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskLogsRequest.token) -} -#endif -inline void GetTaskLogsRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskLogsRequest.token) -} -inline void GetTaskLogsRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskLogsRequest.token) -} -inline ::std::string* GetTaskLogsRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskLogsRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskLogsRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskLogsRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskLogsRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskLogsRequest.token) -} - -// ------------------------------------------------------------------- - -// GetTaskLogsResponse - -// repeated string results = 1; -inline int GetTaskLogsResponse::results_size() const { - return results_.size(); -} -inline void GetTaskLogsResponse::clear_results() { - results_.Clear(); -} -inline const ::std::string& GetTaskLogsResponse::results(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskLogsResponse.results) - return results_.Get(index); -} -inline ::std::string* GetTaskLogsResponse::mutable_results(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskLogsResponse.results) - return results_.Mutable(index); -} -inline void GetTaskLogsResponse::set_results(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskLogsResponse.results) - results_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void GetTaskLogsResponse::set_results(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskLogsResponse.results) - results_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void GetTaskLogsResponse::set_results(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - results_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskLogsResponse.results) -} -inline void GetTaskLogsResponse::set_results(int index, const char* value, size_t size) { - results_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskLogsResponse.results) -} -inline ::std::string* GetTaskLogsResponse::add_results() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.GetTaskLogsResponse.results) - return results_.Add(); -} -inline void GetTaskLogsResponse::add_results(const ::std::string& value) { - results_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.GetTaskLogsResponse.results) -} -#if LANG_CXX11 -inline void GetTaskLogsResponse::add_results(::std::string&& value) { - results_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.GetTaskLogsResponse.results) -} -#endif -inline void GetTaskLogsResponse::add_results(const char* value) { - GOOGLE_DCHECK(value != nullptr); - results_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.GetTaskLogsResponse.results) -} -inline void GetTaskLogsResponse::add_results(const char* value, size_t size) { - results_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.GetTaskLogsResponse.results) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -GetTaskLogsResponse::results() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.GetTaskLogsResponse.results) - return results_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -GetTaskLogsResponse::mutable_results() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.GetTaskLogsResponse.results) - return &results_; -} - -// string token = 2; -inline void GetTaskLogsResponse::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetTaskLogsResponse::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.GetTaskLogsResponse.token) - return token_.GetNoArena(); -} -inline void GetTaskLogsResponse::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.GetTaskLogsResponse.token) -} -#if LANG_CXX11 -inline void GetTaskLogsResponse::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.GetTaskLogsResponse.token) -} -#endif -inline void GetTaskLogsResponse::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.GetTaskLogsResponse.token) -} -inline void GetTaskLogsResponse::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.GetTaskLogsResponse.token) -} -inline ::std::string* GetTaskLogsResponse::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetTaskLogsResponse.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetTaskLogsResponse::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetTaskLogsResponse.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetTaskLogsResponse::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetTaskLogsResponse.token) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::State> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::State>() { - return ::flyteidl::admin::State_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fagent_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.grpc.pb.cc deleted file mode 100644 index a2eafa3ca3..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/cluster_assignment.proto - -#include "flyteidl/admin/cluster_assignment.pb.h" -#include "flyteidl/admin/cluster_assignment.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.grpc.pb.h deleted file mode 100644 index 1262172673..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/cluster_assignment.proto -#ifndef GRPC_flyteidl_2fadmin_2fcluster_5fassignment_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fcluster_5fassignment_2eproto__INCLUDED - -#include "flyteidl/admin/cluster_assignment.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fcluster_5fassignment_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc deleted file mode 100644 index 2106999a3e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.cc +++ /dev/null @@ -1,405 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/cluster_assignment.proto - -#include "flyteidl/admin/cluster_assignment.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace admin { -class ClusterAssignmentDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ClusterAssignment_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ClusterAssignment_default_instance_; - new (ptr) ::flyteidl::admin::ClusterAssignment(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ClusterAssignment::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterAssignment, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterAssignment, cluster_pool_name_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::ClusterAssignment)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_ClusterAssignment_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, "flyteidl/admin/cluster_assignment.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 1, file_level_enum_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[] = - "\n\'flyteidl/admin/cluster_assignment.prot" - "o\022\016flyteidl.admin\":\n\021ClusterAssignment\022\031" - "\n\021cluster_pool_name\030\003 \001(\tJ\004\010\001\020\002J\004\010\002\020\003B=Z" - ";github.com/flyteorg/flyte/flyteidl/gen/" - "pb-go/flyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, - "flyteidl/admin/cluster_assignment.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, 188, -}; - -void AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fcluster_5fassignment_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void ClusterAssignment::InitAsDefaultInstance() { -} -class ClusterAssignment::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ClusterAssignment::kClusterPoolNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ClusterAssignment::ClusterAssignment() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ClusterAssignment) -} -ClusterAssignment::ClusterAssignment(const ClusterAssignment& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - cluster_pool_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.cluster_pool_name().size() > 0) { - cluster_pool_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_pool_name_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ClusterAssignment) -} - -void ClusterAssignment::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - cluster_pool_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ClusterAssignment::~ClusterAssignment() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ClusterAssignment) - SharedDtor(); -} - -void ClusterAssignment::SharedDtor() { - cluster_pool_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ClusterAssignment::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClusterAssignment& ClusterAssignment::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base); - return *internal_default_instance(); -} - - -void ClusterAssignment::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ClusterAssignment) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cluster_pool_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ClusterAssignment::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string cluster_pool_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("flyteidl.admin.ClusterAssignment.cluster_pool_name"); - object = msg->mutable_cluster_pool_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 ClusterAssignment::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ClusterAssignment) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string cluster_pool_name = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_cluster_pool_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ClusterAssignment.cluster_pool_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:flyteidl.admin.ClusterAssignment) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ClusterAssignment) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ClusterAssignment::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ClusterAssignment) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cluster_pool_name = 3; - if (this->cluster_pool_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ClusterAssignment.cluster_pool_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->cluster_pool_name(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ClusterAssignment) -} - -::google::protobuf::uint8* ClusterAssignment::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ClusterAssignment) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cluster_pool_name = 3; - if (this->cluster_pool_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster_pool_name().data(), static_cast(this->cluster_pool_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ClusterAssignment.cluster_pool_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->cluster_pool_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:flyteidl.admin.ClusterAssignment) - return target; -} - -size_t ClusterAssignment::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ClusterAssignment) - 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 cluster_pool_name = 3; - if (this->cluster_pool_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->cluster_pool_name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClusterAssignment::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ClusterAssignment) - GOOGLE_DCHECK_NE(&from, this); - const ClusterAssignment* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ClusterAssignment) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ClusterAssignment) - MergeFrom(*source); - } -} - -void ClusterAssignment::MergeFrom(const ClusterAssignment& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ClusterAssignment) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.cluster_pool_name().size() > 0) { - - cluster_pool_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_pool_name_); - } -} - -void ClusterAssignment::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ClusterAssignment) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClusterAssignment::CopyFrom(const ClusterAssignment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ClusterAssignment) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClusterAssignment::IsInitialized() const { - return true; -} - -void ClusterAssignment::Swap(ClusterAssignment* other) { - if (other == this) return; - InternalSwap(other); -} -void ClusterAssignment::InternalSwap(ClusterAssignment* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - cluster_pool_name_.Swap(&other->cluster_pool_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ClusterAssignment::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcluster_5fassignment_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcluster_5fassignment_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ClusterAssignment* Arena::CreateMaybeMessage< ::flyteidl::admin::ClusterAssignment >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ClusterAssignment >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h deleted file mode 100644 index 79c7743714..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/cluster_assignment.pb.h +++ /dev/null @@ -1,262 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/cluster_assignment.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fcluster_5fassignment_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fcluster_5fassignment_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_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[1] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto(); -namespace flyteidl { -namespace admin { -class ClusterAssignment; -class ClusterAssignmentDefaultTypeInternal; -extern ClusterAssignmentDefaultTypeInternal _ClusterAssignment_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::ClusterAssignment* Arena::CreateMaybeMessage<::flyteidl::admin::ClusterAssignment>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class ClusterAssignment final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ClusterAssignment) */ { - public: - ClusterAssignment(); - virtual ~ClusterAssignment(); - - ClusterAssignment(const ClusterAssignment& from); - - inline ClusterAssignment& operator=(const ClusterAssignment& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ClusterAssignment(ClusterAssignment&& from) noexcept - : ClusterAssignment() { - *this = ::std::move(from); - } - - inline ClusterAssignment& operator=(ClusterAssignment&& 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 ClusterAssignment& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClusterAssignment* internal_default_instance() { - return reinterpret_cast( - &_ClusterAssignment_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ClusterAssignment* other); - friend void swap(ClusterAssignment& a, ClusterAssignment& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ClusterAssignment* New() const final { - return CreateMaybeMessage(nullptr); - } - - ClusterAssignment* 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 ClusterAssignment& from); - void MergeFrom(const ClusterAssignment& 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(ClusterAssignment* 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 cluster_pool_name = 3; - void clear_cluster_pool_name(); - static const int kClusterPoolNameFieldNumber = 3; - const ::std::string& cluster_pool_name() const; - void set_cluster_pool_name(const ::std::string& value); - #if LANG_CXX11 - void set_cluster_pool_name(::std::string&& value); - #endif - void set_cluster_pool_name(const char* value); - void set_cluster_pool_name(const char* value, size_t size); - ::std::string* mutable_cluster_pool_name(); - ::std::string* release_cluster_pool_name(); - void set_allocated_cluster_pool_name(::std::string* cluster_pool_name); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterAssignment) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr cluster_pool_name_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ClusterAssignment - -// string cluster_pool_name = 3; -inline void ClusterAssignment::clear_cluster_pool_name() { - cluster_pool_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ClusterAssignment::cluster_pool_name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ClusterAssignment.cluster_pool_name) - return cluster_pool_name_.GetNoArena(); -} -inline void ClusterAssignment::set_cluster_pool_name(const ::std::string& value) { - - cluster_pool_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ClusterAssignment.cluster_pool_name) -} -#if LANG_CXX11 -inline void ClusterAssignment::set_cluster_pool_name(::std::string&& value) { - - cluster_pool_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ClusterAssignment.cluster_pool_name) -} -#endif -inline void ClusterAssignment::set_cluster_pool_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - cluster_pool_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ClusterAssignment.cluster_pool_name) -} -inline void ClusterAssignment::set_cluster_pool_name(const char* value, size_t size) { - - cluster_pool_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ClusterAssignment.cluster_pool_name) -} -inline ::std::string* ClusterAssignment::mutable_cluster_pool_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ClusterAssignment.cluster_pool_name) - return cluster_pool_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ClusterAssignment::release_cluster_pool_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ClusterAssignment.cluster_pool_name) - - return cluster_pool_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ClusterAssignment::set_allocated_cluster_pool_name(::std::string* cluster_pool_name) { - if (cluster_pool_name != nullptr) { - - } else { - - } - cluster_pool_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cluster_pool_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ClusterAssignment.cluster_pool_name) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fcluster_5fassignment_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/common.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/common.grpc.pb.cc deleted file mode 100644 index 81425fdda9..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/common.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/common.proto - -#include "flyteidl/admin/common.pb.h" -#include "flyteidl/admin/common.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/common.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/common.grpc.pb.h deleted file mode 100644 index b6d8d3677c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/common.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/common.proto -#ifndef GRPC_flyteidl_2fadmin_2fcommon_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fcommon_2eproto__INCLUDED - -#include "flyteidl/admin/common.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fcommon_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/common.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/common.pb.cc deleted file mode 100644 index 60e9f6862c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/common.pb.cc +++ /dev/null @@ -1,10641 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/common.proto - -#include "flyteidl/admin/common.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Annotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EmailNotification_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Labels_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_PagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SlackNotification_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_NamedEntity_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto; -namespace flyteidl { -namespace admin { -class NamedEntityIdentifierDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityIdentifier_default_instance_; -class NamedEntityMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityMetadata_default_instance_; -class NamedEntityDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntity_default_instance_; -class SortDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Sort_default_instance_; -class NamedEntityIdentifierListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityIdentifierListRequest_default_instance_; -class NamedEntityListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityListRequest_default_instance_; -class NamedEntityIdentifierListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityIdentifierList_default_instance_; -class NamedEntityListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityList_default_instance_; -class NamedEntityGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityGetRequest_default_instance_; -class NamedEntityUpdateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityUpdateRequest_default_instance_; -class NamedEntityUpdateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NamedEntityUpdateResponse_default_instance_; -class ObjectGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ObjectGetRequest_default_instance_; -class ResourceListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ResourceListRequest_default_instance_; -class EmailNotificationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _EmailNotification_default_instance_; -class PagerDutyNotificationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PagerDutyNotification_default_instance_; -class SlackNotificationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SlackNotification_default_instance_; -class NotificationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::admin::EmailNotification* email_; - const ::flyteidl::admin::PagerDutyNotification* pager_duty_; - const ::flyteidl::admin::SlackNotification* slack_; -} _Notification_default_instance_; -class UrlBlobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _UrlBlob_default_instance_; -class Labels_ValuesEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Labels_ValuesEntry_DoNotUse_default_instance_; -class LabelsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Labels_default_instance_; -class Annotations_ValuesEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Annotations_ValuesEntry_DoNotUse_default_instance_; -class AnnotationsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Annotations_default_instance_; -class EnvsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Envs_default_instance_; -class AuthRoleDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _AuthRole_default_instance_; -class RawOutputDataConfigDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _RawOutputDataConfig_default_instance_; -class FlyteURLsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _FlyteURLs_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsNamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityIdentifier_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityIdentifier(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityIdentifier::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsNamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityMetadata_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsNamedEntity_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntity_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntity(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntity::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_NamedEntity_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsNamedEntity_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsSort_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Sort_default_instance_; - new (ptr) ::flyteidl::admin::Sort(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Sort::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSort_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsNamedEntityIdentifierListRequest_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityIdentifierListRequest_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityIdentifierListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityIdentifierListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NamedEntityIdentifierListRequest_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNamedEntityIdentifierListRequest_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNamedEntityListRequest_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityListRequest_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NamedEntityListRequest_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNamedEntityListRequest_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNamedEntityIdentifierList_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityIdentifierList_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityIdentifierList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityIdentifierList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NamedEntityIdentifierList_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNamedEntityIdentifierList_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNamedEntityList_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityList_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NamedEntityList_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNamedEntityList_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_NamedEntity_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNamedEntityGetRequest_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NamedEntityGetRequest_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNamedEntityGetRequest_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNamedEntityUpdateRequest_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityUpdateRequest_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityUpdateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityUpdateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_NamedEntityUpdateRequest_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsNamedEntityUpdateRequest_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNamedEntityUpdateResponse_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NamedEntityUpdateResponse_default_instance_; - new (ptr) ::flyteidl::admin::NamedEntityUpdateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NamedEntityUpdateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_NamedEntityUpdateResponse_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNamedEntityUpdateResponse_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsObjectGetRequest_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ObjectGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::ObjectGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ObjectGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ObjectGetRequest_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsObjectGetRequest_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsResourceListRequest_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ResourceListRequest_default_instance_; - new (ptr) ::flyteidl::admin::ResourceListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ResourceListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_ResourceListRequest_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsResourceListRequest_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsEmailNotification_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_EmailNotification_default_instance_; - new (ptr) ::flyteidl::admin::EmailNotification(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::EmailNotification::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_EmailNotification_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEmailNotification_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsPagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_PagerDutyNotification_default_instance_; - new (ptr) ::flyteidl::admin::PagerDutyNotification(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::PagerDutyNotification::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_PagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsSlackNotification_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SlackNotification_default_instance_; - new (ptr) ::flyteidl::admin::SlackNotification(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SlackNotification::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SlackNotification_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSlackNotification_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsNotification_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Notification_default_instance_; - new (ptr) ::flyteidl::admin::Notification(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Notification::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsNotification_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_EmailNotification_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_PagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_SlackNotification_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsUrlBlob_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_UrlBlob_default_instance_; - new (ptr) ::flyteidl::admin::UrlBlob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::UrlBlob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUrlBlob_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsLabels_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Labels_ValuesEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::admin::Labels_ValuesEntry_DoNotUse(); - } - ::flyteidl::admin::Labels_ValuesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Labels_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLabels_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsLabels_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Labels_default_instance_; - new (ptr) ::flyteidl::admin::Labels(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Labels::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLabels_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_Labels_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsAnnotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Annotations_ValuesEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse(); - } - ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Annotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAnnotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsAnnotations_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Annotations_default_instance_; - new (ptr) ::flyteidl::admin::Annotations(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Annotations::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAnnotations_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_Annotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsEnvs_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Envs_default_instance_; - new (ptr) ::flyteidl::admin::Envs(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Envs::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsEnvs_flyteidl_2fadmin_2fcommon_2eproto}, { - &scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsAuthRole_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_AuthRole_default_instance_; - new (ptr) ::flyteidl::admin::AuthRole(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::AuthRole::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAuthRole_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsRawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_RawOutputDataConfig_default_instance_; - new (ptr) ::flyteidl::admin::RawOutputDataConfig(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::RawOutputDataConfig::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -static void InitDefaultsFlyteURLs_flyteidl_2fadmin_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_FlyteURLs_default_instance_; - new (ptr) ::flyteidl::admin::FlyteURLs(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::FlyteURLs::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFlyteURLs_flyteidl_2fadmin_2fcommon_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fcommon_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntity_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityIdentifierListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityIdentifierList_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityList_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityGetRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityUpdateRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityUpdateResponse_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ObjectGetRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ResourceListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_EmailNotification_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SlackNotification_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Labels_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Annotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[26]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fcommon_2eproto[2]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fcommon_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fcommon_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifier, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifier, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifier, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifier, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifier, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityMetadata, description_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityMetadata, state_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntity, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntity, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntity, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntity, metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Sort, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Sort, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Sort, direction_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, sort_by_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierListRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, sort_by_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityListRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierList, entities_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityIdentifierList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityList, entities_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityGetRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityGetRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityUpdateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityUpdateRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityUpdateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityUpdateRequest, metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NamedEntityUpdateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ObjectGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ObjectGetRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ResourceListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ResourceListRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ResourceListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ResourceListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ResourceListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ResourceListRequest, sort_by_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EmailNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EmailNotification, recipients_email_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PagerDutyNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PagerDutyNotification, recipients_email_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SlackNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SlackNotification, recipients_email_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Notification, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Notification, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Notification, phases_), - offsetof(::flyteidl::admin::NotificationDefaultTypeInternal, email_), - offsetof(::flyteidl::admin::NotificationDefaultTypeInternal, pager_duty_), - offsetof(::flyteidl::admin::NotificationDefaultTypeInternal, slack_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Notification, type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::UrlBlob, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::UrlBlob, url_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::UrlBlob, bytes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Labels_ValuesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Labels_ValuesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Labels_ValuesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Labels_ValuesEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Labels, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Labels, values_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Annotations_ValuesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Annotations_ValuesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Annotations_ValuesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Annotations_ValuesEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Annotations, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Annotations, values_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Envs, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Envs, values_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::AuthRole, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::AuthRole, assumable_iam_role_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::AuthRole, kubernetes_service_account_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::RawOutputDataConfig, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::RawOutputDataConfig, output_location_prefix_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, deck_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::NamedEntityIdentifier)}, - { 9, -1, sizeof(::flyteidl::admin::NamedEntityMetadata)}, - { 16, -1, sizeof(::flyteidl::admin::NamedEntity)}, - { 24, -1, sizeof(::flyteidl::admin::Sort)}, - { 31, -1, sizeof(::flyteidl::admin::NamedEntityIdentifierListRequest)}, - { 43, -1, sizeof(::flyteidl::admin::NamedEntityListRequest)}, - { 56, -1, sizeof(::flyteidl::admin::NamedEntityIdentifierList)}, - { 63, -1, sizeof(::flyteidl::admin::NamedEntityList)}, - { 70, -1, sizeof(::flyteidl::admin::NamedEntityGetRequest)}, - { 77, -1, sizeof(::flyteidl::admin::NamedEntityUpdateRequest)}, - { 85, -1, sizeof(::flyteidl::admin::NamedEntityUpdateResponse)}, - { 90, -1, sizeof(::flyteidl::admin::ObjectGetRequest)}, - { 96, -1, sizeof(::flyteidl::admin::ResourceListRequest)}, - { 106, -1, sizeof(::flyteidl::admin::EmailNotification)}, - { 112, -1, sizeof(::flyteidl::admin::PagerDutyNotification)}, - { 118, -1, sizeof(::flyteidl::admin::SlackNotification)}, - { 124, -1, sizeof(::flyteidl::admin::Notification)}, - { 134, -1, sizeof(::flyteidl::admin::UrlBlob)}, - { 141, 148, sizeof(::flyteidl::admin::Labels_ValuesEntry_DoNotUse)}, - { 150, -1, sizeof(::flyteidl::admin::Labels)}, - { 156, 163, sizeof(::flyteidl::admin::Annotations_ValuesEntry_DoNotUse)}, - { 165, -1, sizeof(::flyteidl::admin::Annotations)}, - { 171, -1, sizeof(::flyteidl::admin::Envs)}, - { 177, -1, sizeof(::flyteidl::admin::AuthRole)}, - { 184, -1, sizeof(::flyteidl::admin::RawOutputDataConfig)}, - { 190, -1, sizeof(::flyteidl::admin::FlyteURLs)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_NamedEntityIdentifier_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntity_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Sort_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityIdentifierListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityIdentifierList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityUpdateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NamedEntityUpdateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ObjectGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ResourceListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_EmailNotification_default_instance_), - reinterpret_cast(&::flyteidl::admin::_PagerDutyNotification_default_instance_), - reinterpret_cast(&::flyteidl::admin::_SlackNotification_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Notification_default_instance_), - reinterpret_cast(&::flyteidl::admin::_UrlBlob_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Labels_ValuesEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Labels_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Annotations_ValuesEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Annotations_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Envs_default_instance_), - reinterpret_cast(&::flyteidl::admin::_AuthRole_default_instance_), - reinterpret_cast(&::flyteidl::admin::_RawOutputDataConfig_default_instance_), - reinterpret_cast(&::flyteidl::admin::_FlyteURLs_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, "flyteidl/admin/common.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fcommon_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto, 26, file_level_enum_descriptors_flyteidl_2fadmin_2fcommon_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fcommon_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fcommon_2eproto[] = - "\n\033flyteidl/admin/common.proto\022\016flyteidl." - "admin\032\035flyteidl/core/execution.proto\032\036fl" - "yteidl/core/identifier.proto\032\034flyteidl/c" - "ore/literals.proto\032\037google/protobuf/time" - "stamp.proto\"S\n\025NamedEntityIdentifier\022\017\n\007" - "project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 " - "\001(\t\022\013\n\003org\030\004 \001(\t\"[\n\023NamedEntityMetadata\022" - "\023\n\013description\030\001 \001(\t\022/\n\005state\030\002 \001(\0162 .fl" - "yteidl.admin.NamedEntityState\"\253\001\n\013NamedE" - "ntity\0222\n\rresource_type\030\001 \001(\0162\033.flyteidl." - "core.ResourceType\0221\n\002id\030\002 \001(\0132%.flyteidl" - ".admin.NamedEntityIdentifier\0225\n\010metadata" - "\030\003 \001(\0132#.flyteidl.admin.NamedEntityMetad" - "ata\"r\n\004Sort\022\013\n\003key\030\001 \001(\t\0221\n\tdirection\030\002 " - "\001(\0162\036.flyteidl.admin.Sort.Direction\"*\n\tD" - "irection\022\016\n\nDESCENDING\020\000\022\r\n\tASCENDING\020\001\"" - "\246\001\n NamedEntityIdentifierListRequest\022\017\n\007" - "project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\r\n\005limit\030\003" - " \001(\r\022\r\n\005token\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.f" - "lyteidl.admin.Sort\022\017\n\007filters\030\006 \001(\t\022\013\n\003o" - "rg\030\007 \001(\t\"\320\001\n\026NamedEntityListRequest\0222\n\rr" - "esource_type\030\001 \001(\0162\033.flyteidl.core.Resou" - "rceType\022\017\n\007project\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t" - "\022\r\n\005limit\030\004 \001(\r\022\r\n\005token\030\005 \001(\t\022%\n\007sort_b" - "y\030\006 \001(\0132\024.flyteidl.admin.Sort\022\017\n\007filters" - "\030\007 \001(\t\022\013\n\003org\030\010 \001(\t\"c\n\031NamedEntityIdenti" - "fierList\0227\n\010entities\030\001 \003(\0132%.flyteidl.ad" - "min.NamedEntityIdentifier\022\r\n\005token\030\002 \001(\t" - "\"O\n\017NamedEntityList\022-\n\010entities\030\001 \003(\0132\033." - "flyteidl.admin.NamedEntity\022\r\n\005token\030\002 \001(" - "\t\"~\n\025NamedEntityGetRequest\0222\n\rresource_t" - "ype\030\001 \001(\0162\033.flyteidl.core.ResourceType\0221" - "\n\002id\030\002 \001(\0132%.flyteidl.admin.NamedEntityI" - "dentifier\"\270\001\n\030NamedEntityUpdateRequest\0222" - "\n\rresource_type\030\001 \001(\0162\033.flyteidl.core.Re" - "sourceType\0221\n\002id\030\002 \001(\0132%.flyteidl.admin." - "NamedEntityIdentifier\0225\n\010metadata\030\003 \001(\0132" - "#.flyteidl.admin.NamedEntityMetadata\"\033\n\031" - "NamedEntityUpdateResponse\"9\n\020ObjectGetRe" - "quest\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identi" - "fier\"\236\001\n\023ResourceListRequest\0221\n\002id\030\001 \001(\013" - "2%.flyteidl.admin.NamedEntityIdentifier\022" - "\r\n\005limit\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filters" - "\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin" - ".Sort\"-\n\021EmailNotification\022\030\n\020recipients" - "_email\030\001 \003(\t\"1\n\025PagerDutyNotification\022\030\n" - "\020recipients_email\030\001 \003(\t\"-\n\021SlackNotifica" - "tion\022\030\n\020recipients_email\030\001 \003(\t\"\363\001\n\014Notif" - "ication\0226\n\006phases\030\001 \003(\0162&.flyteidl.core." - "WorkflowExecution.Phase\0222\n\005email\030\002 \001(\0132!" - ".flyteidl.admin.EmailNotificationH\000\022;\n\np" - "ager_duty\030\003 \001(\0132%.flyteidl.admin.PagerDu" - "tyNotificationH\000\0222\n\005slack\030\004 \001(\0132!.flytei" - "dl.admin.SlackNotificationH\000B\006\n\004type\")\n\007" - "UrlBlob\022\013\n\003url\030\001 \001(\t\022\r\n\005bytes\030\002 \001(\003:\002\030\001\"" - "k\n\006Labels\0222\n\006values\030\001 \003(\0132\".flyteidl.adm" - "in.Labels.ValuesEntry\032-\n\013ValuesEntry\022\013\n\003" - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\013Annotati" - "ons\0227\n\006values\030\001 \003(\0132\'.flyteidl.admin.Ann" - "otations.ValuesEntry\032-\n\013ValuesEntry\022\013\n\003k" - "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"3\n\004Envs\022+\n\006v" - "alues\030\001 \003(\0132\033.flyteidl.core.KeyValuePair" - "\"N\n\010AuthRole\022\032\n\022assumable_iam_role\030\001 \001(\t" - "\022\"\n\032kubernetes_service_account\030\002 \001(\t:\002\030\001" - "\"5\n\023RawOutputDataConfig\022\036\n\026output_locati" - "on_prefix\030\001 \001(\t\":\n\tFlyteURLs\022\016\n\006inputs\030\001" - " \001(\t\022\017\n\007outputs\030\002 \001(\t\022\014\n\004deck\030\003 \001(\t*\\\n\020N" - "amedEntityState\022\027\n\023NAMED_ENTITY_ACTIVE\020\000" - "\022\031\n\025NAMED_ENTITY_ARCHIVED\020\001\022\024\n\020SYSTEM_GE" - "NERATED\020\002B=Z;github.com/flyteorg/flyte/f" - "lyteidl/gen/pb-go/flyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fcommon_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fcommon_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fcommon_2eproto, - "flyteidl/admin/common.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto, 2840, -}; - -void AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[4] = - { - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fcommon_2eproto, deps, 4); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fcommon_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* Sort_Direction_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fcommon_2eproto[0]; -} -bool Sort_Direction_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const Sort_Direction Sort::DESCENDING; -const Sort_Direction Sort::ASCENDING; -const Sort_Direction Sort::Direction_MIN; -const Sort_Direction Sort::Direction_MAX; -const int Sort::Direction_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* NamedEntityState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fcommon_2eproto[1]; -} -bool NamedEntityState_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -void NamedEntityIdentifier::InitAsDefaultInstance() { -} -class NamedEntityIdentifier::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityIdentifier::kProjectFieldNumber; -const int NamedEntityIdentifier::kDomainFieldNumber; -const int NamedEntityIdentifier::kNameFieldNumber; -const int NamedEntityIdentifier::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityIdentifier::NamedEntityIdentifier() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityIdentifier) -} -NamedEntityIdentifier::NamedEntityIdentifier(const NamedEntityIdentifier& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityIdentifier) -} - -void NamedEntityIdentifier::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -NamedEntityIdentifier::~NamedEntityIdentifier() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityIdentifier) - SharedDtor(); -} - -void NamedEntityIdentifier::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void NamedEntityIdentifier::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityIdentifier& NamedEntityIdentifier::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityIdentifier::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityIdentifier::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifier.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifier.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string 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("flyteidl.admin.NamedEntityIdentifier.name"); - object = msg->mutable_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; - } - // string org = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifier.org"); - object = msg->mutable_org(); - 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 NamedEntityIdentifier::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityIdentifier) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifier.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifier.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifier.name")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifier.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityIdentifier) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityIdentifier) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityIdentifier::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->name(), output); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityIdentifier) -} - -::google::protobuf::uint8* NamedEntityIdentifier::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->name(), target); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifier.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityIdentifier) - return target; -} - -size_t NamedEntityIdentifier::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityIdentifier) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string name = 3; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string org = 4; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityIdentifier::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityIdentifier) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityIdentifier* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityIdentifier) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityIdentifier) - MergeFrom(*source); - } -} - -void NamedEntityIdentifier::MergeFrom(const NamedEntityIdentifier& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityIdentifier) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } -} - -void NamedEntityIdentifier::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityIdentifier::CopyFrom(const NamedEntityIdentifier& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityIdentifier::IsInitialized() const { - return true; -} - -void NamedEntityIdentifier::Swap(NamedEntityIdentifier* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityIdentifier::InternalSwap(NamedEntityIdentifier* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata NamedEntityIdentifier::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityMetadata::InitAsDefaultInstance() { -} -class NamedEntityMetadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityMetadata::kDescriptionFieldNumber; -const int NamedEntityMetadata::kStateFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityMetadata::NamedEntityMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityMetadata) -} -NamedEntityMetadata::NamedEntityMetadata(const NamedEntityMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.description().size() > 0) { - description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); - } - state_ = from.state_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityMetadata) -} - -void NamedEntityMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto.base); - description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - state_ = 0; -} - -NamedEntityMetadata::~NamedEntityMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityMetadata) - SharedDtor(); -} - -void NamedEntityMetadata::SharedDtor() { - description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void NamedEntityMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityMetadata& NamedEntityMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - state_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string description = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityMetadata.description"); - object = msg->mutable_description(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.NamedEntityState state = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_state(static_cast<::flyteidl::admin::NamedEntityState>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 NamedEntityMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string description = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_description())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityMetadata.description")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NamedEntityState state = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_state(static_cast< ::flyteidl::admin::NamedEntityState >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string description = 1; - if (this->description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityMetadata.description"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->description(), output); - } - - // .flyteidl.admin.NamedEntityState state = 2; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->state(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityMetadata) -} - -::google::protobuf::uint8* NamedEntityMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string description = 1; - if (this->description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityMetadata.description"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->description(), target); - } - - // .flyteidl.admin.NamedEntityState state = 2; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->state(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityMetadata) - return target; -} - -size_t NamedEntityMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityMetadata) - 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 description = 1; - if (this->description().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->description()); - } - - // .flyteidl.admin.NamedEntityState state = 2; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityMetadata) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityMetadata) - MergeFrom(*source); - } -} - -void NamedEntityMetadata::MergeFrom(const NamedEntityMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.description().size() > 0) { - - description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); - } - if (from.state() != 0) { - set_state(from.state()); - } -} - -void NamedEntityMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityMetadata::CopyFrom(const NamedEntityMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityMetadata::IsInitialized() const { - return true; -} - -void NamedEntityMetadata::Swap(NamedEntityMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityMetadata::InternalSwap(NamedEntityMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - description_.Swap(&other->description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(state_, other->state_); -} - -::google::protobuf::Metadata NamedEntityMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntity::InitAsDefaultInstance() { - ::flyteidl::admin::_NamedEntity_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::admin::NamedEntityIdentifier*>( - ::flyteidl::admin::NamedEntityIdentifier::internal_default_instance()); - ::flyteidl::admin::_NamedEntity_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::admin::NamedEntityMetadata*>( - ::flyteidl::admin::NamedEntityMetadata::internal_default_instance()); -} -class NamedEntity::HasBitSetters { - public: - static const ::flyteidl::admin::NamedEntityIdentifier& id(const NamedEntity* msg); - static const ::flyteidl::admin::NamedEntityMetadata& metadata(const NamedEntity* msg); -}; - -const ::flyteidl::admin::NamedEntityIdentifier& -NamedEntity::HasBitSetters::id(const NamedEntity* msg) { - return *msg->id_; -} -const ::flyteidl::admin::NamedEntityMetadata& -NamedEntity::HasBitSetters::metadata(const NamedEntity* msg) { - return *msg->metadata_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntity::kResourceTypeFieldNumber; -const int NamedEntity::kIdFieldNumber; -const int NamedEntity::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntity::NamedEntity() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntity) -} -NamedEntity::NamedEntity(const NamedEntity& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::admin::NamedEntityIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::admin::NamedEntityMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntity) -} - -void NamedEntity::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntity_flyteidl_2fadmin_2fcommon_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&resource_type_) - - reinterpret_cast(&id_)) + sizeof(resource_type_)); -} - -NamedEntity::~NamedEntity() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntity) - SharedDtor(); -} - -void NamedEntity::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete metadata_; -} - -void NamedEntity::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntity& NamedEntity::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntity_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntity::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntity) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntity::_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.ResourceType resource_type = 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_resource_type(static_cast<::flyteidl::core::ResourceType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.NamedEntityIdentifier 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); - parser_till_end = ::flyteidl::admin::NamedEntityIdentifier::_InternalParse; - object = msg->mutable_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.admin.NamedEntityMetadata metadata = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::NamedEntityMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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 NamedEntity::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntity) - 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.ResourceType resource_type = 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_resource_type(static_cast< ::flyteidl::core::ResourceType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntity) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntity) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntity::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->resource_type(), output); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::metadata(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntity) -} - -::google::protobuf::uint8* NamedEntity::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->resource_type(), target); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::metadata(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntity) - return target; -} - -size_t NamedEntity::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntity) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntity::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntity) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntity* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntity) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntity) - MergeFrom(*source); - } -} - -void NamedEntity::MergeFrom(const NamedEntity& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntity) - 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_id()) { - mutable_id()->::flyteidl::admin::NamedEntityIdentifier::MergeFrom(from.id()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::admin::NamedEntityMetadata::MergeFrom(from.metadata()); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void NamedEntity::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntity::CopyFrom(const NamedEntity& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntity::IsInitialized() const { - return true; -} - -void NamedEntity::Swap(NamedEntity* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntity::InternalSwap(NamedEntity* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(metadata_, other->metadata_); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata NamedEntity::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Sort::InitAsDefaultInstance() { -} -class Sort::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Sort::kKeyFieldNumber; -const int Sort::kDirectionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Sort::Sort() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Sort) -} -Sort::Sort(const Sort& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.key().size() > 0) { - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - direction_ = from.direction_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Sort) -} - -void Sort::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - direction_ = 0; -} - -Sort::~Sort() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Sort) - SharedDtor(); -} - -void Sort::SharedDtor() { - key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Sort::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Sort& Sort::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void Sort::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Sort) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - direction_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Sort::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string key = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Sort.key"); - object = msg->mutable_key(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort.Direction direction = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_direction(static_cast<::flyteidl::admin::Sort_Direction>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 Sort::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Sort) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string key = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Sort.key")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort.Direction direction = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_direction(static_cast< ::flyteidl::admin::Sort_Direction >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Sort) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Sort) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Sort::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Sort) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Sort.key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->key(), output); - } - - // .flyteidl.admin.Sort.Direction direction = 2; - if (this->direction() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->direction(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Sort) -} - -::google::protobuf::uint8* Sort::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Sort) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Sort.key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } - - // .flyteidl.admin.Sort.Direction direction = 2; - if (this->direction() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->direction(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Sort) - return target; -} - -size_t Sort::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Sort) - 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 key = 1; - if (this->key().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } - - // .flyteidl.admin.Sort.Direction direction = 2; - if (this->direction() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->direction()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Sort::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Sort) - GOOGLE_DCHECK_NE(&from, this); - const Sort* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Sort) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Sort) - MergeFrom(*source); - } -} - -void Sort::MergeFrom(const Sort& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Sort) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.key().size() > 0) { - - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - if (from.direction() != 0) { - set_direction(from.direction()); - } -} - -void Sort::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Sort) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Sort::CopyFrom(const Sort& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Sort) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Sort::IsInitialized() const { - return true; -} - -void Sort::Swap(Sort* other) { - if (other == this) return; - InternalSwap(other); -} -void Sort::InternalSwap(Sort* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - key_.Swap(&other->key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(direction_, other->direction_); -} - -::google::protobuf::Metadata Sort::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityIdentifierListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NamedEntityIdentifierListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class NamedEntityIdentifierListRequest::HasBitSetters { - public: - static const ::flyteidl::admin::Sort& sort_by(const NamedEntityIdentifierListRequest* msg); -}; - -const ::flyteidl::admin::Sort& -NamedEntityIdentifierListRequest::HasBitSetters::sort_by(const NamedEntityIdentifierListRequest* msg) { - return *msg->sort_by_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityIdentifierListRequest::kProjectFieldNumber; -const int NamedEntityIdentifierListRequest::kDomainFieldNumber; -const int NamedEntityIdentifierListRequest::kLimitFieldNumber; -const int NamedEntityIdentifierListRequest::kTokenFieldNumber; -const int NamedEntityIdentifierListRequest::kSortByFieldNumber; -const int NamedEntityIdentifierListRequest::kFiltersFieldNumber; -const int NamedEntityIdentifierListRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityIdentifierListRequest::NamedEntityIdentifierListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityIdentifierListRequest) -} -NamedEntityIdentifierListRequest::NamedEntityIdentifierListRequest(const NamedEntityIdentifierListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityIdentifierListRequest) -} - -void NamedEntityIdentifierListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityIdentifierListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&sort_by_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&sort_by_)) + sizeof(limit_)); -} - -NamedEntityIdentifierListRequest::~NamedEntityIdentifierListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityIdentifierListRequest) - SharedDtor(); -} - -void NamedEntityIdentifierListRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete sort_by_; -} - -void NamedEntityIdentifierListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityIdentifierListRequest& NamedEntityIdentifierListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityIdentifierListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityIdentifierListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityIdentifierListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityIdentifierListRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifierListRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifierListRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // uint32 limit = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifierListRequest.token"); - object = msg->mutable_token(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 filters = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifierListRequest.filters"); - object = msg->mutable_filters(); - 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 org = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifierListRequest.org"); - object = msg->mutable_org(); - 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 NamedEntityIdentifierListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityIdentifierListRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifierListRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifierListRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // uint32 limit = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifierListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifierListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifierListRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityIdentifierListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityIdentifierListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityIdentifierListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityIdentifierListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->limit(), output); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->token(), output); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::sort_by(this), output); - } - - // string filters = 6; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->filters(), output); - } - - // string org = 7; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityIdentifierListRequest) -} - -::google::protobuf::uint8* NamedEntityIdentifierListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityIdentifierListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->limit(), target); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->token(), target); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::sort_by(this), target); - } - - // string filters = 6; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->filters(), target); - } - - // string org = 7; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierListRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityIdentifierListRequest) - return target; -} - -size_t NamedEntityIdentifierListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityIdentifierListRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string token = 4; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 6; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // string org = 7; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityIdentifierListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityIdentifierListRequest) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityIdentifierListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityIdentifierListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityIdentifierListRequest) - MergeFrom(*source); - } -} - -void NamedEntityIdentifierListRequest::MergeFrom(const NamedEntityIdentifierListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityIdentifierListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void NamedEntityIdentifierListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityIdentifierListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityIdentifierListRequest::CopyFrom(const NamedEntityIdentifierListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityIdentifierListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityIdentifierListRequest::IsInitialized() const { - return true; -} - -void NamedEntityIdentifierListRequest::Swap(NamedEntityIdentifierListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityIdentifierListRequest::InternalSwap(NamedEntityIdentifierListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata NamedEntityIdentifierListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NamedEntityListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class NamedEntityListRequest::HasBitSetters { - public: - static const ::flyteidl::admin::Sort& sort_by(const NamedEntityListRequest* msg); -}; - -const ::flyteidl::admin::Sort& -NamedEntityListRequest::HasBitSetters::sort_by(const NamedEntityListRequest* msg) { - return *msg->sort_by_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityListRequest::kResourceTypeFieldNumber; -const int NamedEntityListRequest::kProjectFieldNumber; -const int NamedEntityListRequest::kDomainFieldNumber; -const int NamedEntityListRequest::kLimitFieldNumber; -const int NamedEntityListRequest::kTokenFieldNumber; -const int NamedEntityListRequest::kSortByFieldNumber; -const int NamedEntityListRequest::kFiltersFieldNumber; -const int NamedEntityListRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityListRequest::NamedEntityListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityListRequest) -} -NamedEntityListRequest::NamedEntityListRequest(const NamedEntityListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - ::memcpy(&resource_type_, &from.resource_type_, - static_cast(reinterpret_cast(&limit_) - - reinterpret_cast(&resource_type_)) + sizeof(limit_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityListRequest) -} - -void NamedEntityListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&sort_by_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&sort_by_)) + sizeof(limit_)); -} - -NamedEntityListRequest::~NamedEntityListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityListRequest) - SharedDtor(); -} - -void NamedEntityListRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete sort_by_; -} - -void NamedEntityListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityListRequest& NamedEntityListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - ::memset(&resource_type_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&resource_type_)) + sizeof(limit_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityListRequest::_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.ResourceType resource_type = 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_resource_type(static_cast<::flyteidl::core::ResourceType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string project = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityListRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityListRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // uint32 limit = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityListRequest.token"); - object = msg->mutable_token(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 filters = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityListRequest.filters"); - object = msg->mutable_filters(); - 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 org = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityListRequest.org"); - object = msg->mutable_org(); - 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 NamedEntityListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityListRequest) - 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.ResourceType resource_type = 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_resource_type(static_cast< ::flyteidl::core::ResourceType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string project = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityListRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityListRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // uint32 limit = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityListRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->resource_type(), output); - } - - // string project = 2; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->project(), output); - } - - // string domain = 3; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->domain(), output); - } - - // uint32 limit = 4; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->limit(), output); - } - - // string token = 5; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->token(), output); - } - - // .flyteidl.admin.Sort sort_by = 6; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::sort_by(this), output); - } - - // string filters = 7; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->filters(), output); - } - - // string org = 8; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 8, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityListRequest) -} - -::google::protobuf::uint8* NamedEntityListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->resource_type(), target); - } - - // string project = 2; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->project(), target); - } - - // string domain = 3; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->domain(), target); - } - - // uint32 limit = 4; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->limit(), target); - } - - // string token = 5; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->token(), target); - } - - // .flyteidl.admin.Sort sort_by = 6; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::sort_by(this), target); - } - - // string filters = 7; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->filters(), target); - } - - // string org = 8; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityListRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 8, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityListRequest) - return target; -} - -size_t NamedEntityListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityListRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 2; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 3; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string token = 5; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 7; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // string org = 8; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.Sort sort_by = 6; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - // uint32 limit = 4; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityListRequest) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityListRequest) - MergeFrom(*source); - } -} - -void NamedEntityListRequest::MergeFrom(const NamedEntityListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void NamedEntityListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityListRequest::CopyFrom(const NamedEntityListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityListRequest::IsInitialized() const { - return true; -} - -void NamedEntityListRequest::Swap(NamedEntityListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityListRequest::InternalSwap(NamedEntityListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(sort_by_, other->sort_by_); - swap(resource_type_, other->resource_type_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata NamedEntityListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityIdentifierList::InitAsDefaultInstance() { -} -class NamedEntityIdentifierList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityIdentifierList::kEntitiesFieldNumber; -const int NamedEntityIdentifierList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityIdentifierList::NamedEntityIdentifierList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityIdentifierList) -} -NamedEntityIdentifierList::NamedEntityIdentifierList(const NamedEntityIdentifierList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - entities_(from.entities_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityIdentifierList) -} - -void NamedEntityIdentifierList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityIdentifierList_flyteidl_2fadmin_2fcommon_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -NamedEntityIdentifierList::~NamedEntityIdentifierList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityIdentifierList) - SharedDtor(); -} - -void NamedEntityIdentifierList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void NamedEntityIdentifierList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityIdentifierList& NamedEntityIdentifierList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityIdentifierList_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityIdentifierList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityIdentifierList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - entities_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityIdentifierList::_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.admin.NamedEntityIdentifier entities = 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::admin::NamedEntityIdentifier::_InternalParse; - object = msg->add_entities(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityIdentifierList.token"); - object = msg->mutable_token(); - 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 NamedEntityIdentifierList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityIdentifierList) - 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.admin.NamedEntityIdentifier entities = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_entities())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityIdentifierList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityIdentifierList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityIdentifierList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityIdentifierList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityIdentifierList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - for (unsigned int i = 0, - n = static_cast(this->entities_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->entities(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityIdentifierList) -} - -::google::protobuf::uint8* NamedEntityIdentifierList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityIdentifierList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - for (unsigned int i = 0, - n = static_cast(this->entities_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->entities(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityIdentifierList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityIdentifierList) - return target; -} - -size_t NamedEntityIdentifierList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityIdentifierList) - 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.admin.NamedEntityIdentifier entities = 1; - { - unsigned int count = static_cast(this->entities_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->entities(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityIdentifierList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityIdentifierList) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityIdentifierList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityIdentifierList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityIdentifierList) - MergeFrom(*source); - } -} - -void NamedEntityIdentifierList::MergeFrom(const NamedEntityIdentifierList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityIdentifierList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - entities_.MergeFrom(from.entities_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void NamedEntityIdentifierList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityIdentifierList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityIdentifierList::CopyFrom(const NamedEntityIdentifierList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityIdentifierList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityIdentifierList::IsInitialized() const { - return true; -} - -void NamedEntityIdentifierList::Swap(NamedEntityIdentifierList* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityIdentifierList::InternalSwap(NamedEntityIdentifierList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&entities_)->InternalSwap(CastToBase(&other->entities_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata NamedEntityIdentifierList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityList::InitAsDefaultInstance() { -} -class NamedEntityList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityList::kEntitiesFieldNumber; -const int NamedEntityList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityList::NamedEntityList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityList) -} -NamedEntityList::NamedEntityList(const NamedEntityList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - entities_(from.entities_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityList) -} - -void NamedEntityList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityList_flyteidl_2fadmin_2fcommon_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -NamedEntityList::~NamedEntityList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityList) - SharedDtor(); -} - -void NamedEntityList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void NamedEntityList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityList& NamedEntityList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityList_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - entities_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityList::_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.admin.NamedEntity entities = 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::admin::NamedEntity::_InternalParse; - object = msg->add_entities(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NamedEntityList.token"); - object = msg->mutable_token(); - 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 NamedEntityList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityList) - 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.admin.NamedEntity entities = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_entities())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NamedEntityList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.NamedEntity entities = 1; - for (unsigned int i = 0, - n = static_cast(this->entities_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->entities(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityList) -} - -::google::protobuf::uint8* NamedEntityList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.NamedEntity entities = 1; - for (unsigned int i = 0, - n = static_cast(this->entities_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->entities(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NamedEntityList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityList) - return target; -} - -size_t NamedEntityList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityList) - 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.admin.NamedEntity entities = 1; - { - unsigned int count = static_cast(this->entities_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->entities(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityList) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityList) - MergeFrom(*source); - } -} - -void NamedEntityList::MergeFrom(const NamedEntityList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - entities_.MergeFrom(from.entities_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void NamedEntityList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityList::CopyFrom(const NamedEntityList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityList::IsInitialized() const { - return true; -} - -void NamedEntityList::Swap(NamedEntityList* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityList::InternalSwap(NamedEntityList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&entities_)->InternalSwap(CastToBase(&other->entities_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata NamedEntityList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityGetRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NamedEntityGetRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::admin::NamedEntityIdentifier*>( - ::flyteidl::admin::NamedEntityIdentifier::internal_default_instance()); -} -class NamedEntityGetRequest::HasBitSetters { - public: - static const ::flyteidl::admin::NamedEntityIdentifier& id(const NamedEntityGetRequest* msg); -}; - -const ::flyteidl::admin::NamedEntityIdentifier& -NamedEntityGetRequest::HasBitSetters::id(const NamedEntityGetRequest* msg) { - return *msg->id_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityGetRequest::kResourceTypeFieldNumber; -const int NamedEntityGetRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityGetRequest::NamedEntityGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityGetRequest) -} -NamedEntityGetRequest::NamedEntityGetRequest(const NamedEntityGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::admin::NamedEntityIdentifier(*from.id_); - } else { - id_ = nullptr; - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityGetRequest) -} - -void NamedEntityGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityGetRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&resource_type_) - - reinterpret_cast(&id_)) + sizeof(resource_type_)); -} - -NamedEntityGetRequest::~NamedEntityGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityGetRequest) - SharedDtor(); -} - -void NamedEntityGetRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void NamedEntityGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityGetRequest& NamedEntityGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityGetRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityGetRequest::_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.ResourceType resource_type = 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_resource_type(static_cast<::flyteidl::core::ResourceType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.NamedEntityIdentifier 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); - parser_till_end = ::flyteidl::admin::NamedEntityIdentifier::_InternalParse; - object = msg->mutable_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 NamedEntityGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityGetRequest) - 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.ResourceType resource_type = 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_resource_type(static_cast< ::flyteidl::core::ResourceType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.NamedEntityGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->resource_type(), output); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::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.admin.NamedEntityGetRequest) -} - -::google::protobuf::uint8* NamedEntityGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->resource_type(), target); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::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.admin.NamedEntityGetRequest) - return target; -} - -size_t NamedEntityGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityGetRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityGetRequest) - MergeFrom(*source); - } -} - -void NamedEntityGetRequest::MergeFrom(const NamedEntityGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityGetRequest) - 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_id()) { - mutable_id()->::flyteidl::admin::NamedEntityIdentifier::MergeFrom(from.id()); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void NamedEntityGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityGetRequest::CopyFrom(const NamedEntityGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityGetRequest::IsInitialized() const { - return true; -} - -void NamedEntityGetRequest::Swap(NamedEntityGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityGetRequest::InternalSwap(NamedEntityGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata NamedEntityGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityUpdateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NamedEntityUpdateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::admin::NamedEntityIdentifier*>( - ::flyteidl::admin::NamedEntityIdentifier::internal_default_instance()); - ::flyteidl::admin::_NamedEntityUpdateRequest_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::admin::NamedEntityMetadata*>( - ::flyteidl::admin::NamedEntityMetadata::internal_default_instance()); -} -class NamedEntityUpdateRequest::HasBitSetters { - public: - static const ::flyteidl::admin::NamedEntityIdentifier& id(const NamedEntityUpdateRequest* msg); - static const ::flyteidl::admin::NamedEntityMetadata& metadata(const NamedEntityUpdateRequest* msg); -}; - -const ::flyteidl::admin::NamedEntityIdentifier& -NamedEntityUpdateRequest::HasBitSetters::id(const NamedEntityUpdateRequest* msg) { - return *msg->id_; -} -const ::flyteidl::admin::NamedEntityMetadata& -NamedEntityUpdateRequest::HasBitSetters::metadata(const NamedEntityUpdateRequest* msg) { - return *msg->metadata_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NamedEntityUpdateRequest::kResourceTypeFieldNumber; -const int NamedEntityUpdateRequest::kIdFieldNumber; -const int NamedEntityUpdateRequest::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityUpdateRequest::NamedEntityUpdateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityUpdateRequest) -} -NamedEntityUpdateRequest::NamedEntityUpdateRequest(const NamedEntityUpdateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::admin::NamedEntityIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::admin::NamedEntityMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityUpdateRequest) -} - -void NamedEntityUpdateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NamedEntityUpdateRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&resource_type_) - - reinterpret_cast(&id_)) + sizeof(resource_type_)); -} - -NamedEntityUpdateRequest::~NamedEntityUpdateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityUpdateRequest) - SharedDtor(); -} - -void NamedEntityUpdateRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete metadata_; -} - -void NamedEntityUpdateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityUpdateRequest& NamedEntityUpdateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityUpdateRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NamedEntityUpdateRequest::_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.ResourceType resource_type = 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_resource_type(static_cast<::flyteidl::core::ResourceType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.NamedEntityIdentifier 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); - parser_till_end = ::flyteidl::admin::NamedEntityIdentifier::_InternalParse; - object = msg->mutable_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.admin.NamedEntityMetadata metadata = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::NamedEntityMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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 NamedEntityUpdateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityUpdateRequest) - 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.ResourceType resource_type = 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_resource_type(static_cast< ::flyteidl::core::ResourceType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityUpdateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityUpdateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityUpdateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->resource_type(), output); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::metadata(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityUpdateRequest) -} - -::google::protobuf::uint8* NamedEntityUpdateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->resource_type(), target); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::metadata(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityUpdateRequest) - return target; -} - -size_t NamedEntityUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityUpdateRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NamedEntityUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityUpdateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityUpdateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityUpdateRequest) - MergeFrom(*source); - } -} - -void NamedEntityUpdateRequest::MergeFrom(const NamedEntityUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityUpdateRequest) - 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_id()) { - mutable_id()->::flyteidl::admin::NamedEntityIdentifier::MergeFrom(from.id()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::admin::NamedEntityMetadata::MergeFrom(from.metadata()); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void NamedEntityUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityUpdateRequest::CopyFrom(const NamedEntityUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityUpdateRequest::IsInitialized() const { - return true; -} - -void NamedEntityUpdateRequest::Swap(NamedEntityUpdateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityUpdateRequest::InternalSwap(NamedEntityUpdateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(metadata_, other->metadata_); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata NamedEntityUpdateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NamedEntityUpdateResponse::InitAsDefaultInstance() { -} -class NamedEntityUpdateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NamedEntityUpdateResponse::NamedEntityUpdateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NamedEntityUpdateResponse) -} -NamedEntityUpdateResponse::NamedEntityUpdateResponse(const NamedEntityUpdateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NamedEntityUpdateResponse) -} - -void NamedEntityUpdateResponse::SharedCtor() { -} - -NamedEntityUpdateResponse::~NamedEntityUpdateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NamedEntityUpdateResponse) - SharedDtor(); -} - -void NamedEntityUpdateResponse::SharedDtor() { -} - -void NamedEntityUpdateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NamedEntityUpdateResponse& NamedEntityUpdateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NamedEntityUpdateResponse_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void NamedEntityUpdateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NamedEntityUpdateResponse) - ::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* NamedEntityUpdateResponse::_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 NamedEntityUpdateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NamedEntityUpdateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NamedEntityUpdateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NamedEntityUpdateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NamedEntityUpdateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NamedEntityUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NamedEntityUpdateResponse) -} - -::google::protobuf::uint8* NamedEntityUpdateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NamedEntityUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NamedEntityUpdateResponse) - return target; -} - -size_t NamedEntityUpdateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NamedEntityUpdateResponse) - 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 NamedEntityUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NamedEntityUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - const NamedEntityUpdateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NamedEntityUpdateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NamedEntityUpdateResponse) - MergeFrom(*source); - } -} - -void NamedEntityUpdateResponse::MergeFrom(const NamedEntityUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NamedEntityUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void NamedEntityUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NamedEntityUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NamedEntityUpdateResponse::CopyFrom(const NamedEntityUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NamedEntityUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NamedEntityUpdateResponse::IsInitialized() const { - return true; -} - -void NamedEntityUpdateResponse::Swap(NamedEntityUpdateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void NamedEntityUpdateResponse::InternalSwap(NamedEntityUpdateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata NamedEntityUpdateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ObjectGetRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ObjectGetRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class ObjectGetRequest::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const ObjectGetRequest* msg); -}; - -const ::flyteidl::core::Identifier& -ObjectGetRequest::HasBitSetters::id(const ObjectGetRequest* msg) { - return *msg->id_; -} -void ObjectGetRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ObjectGetRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ObjectGetRequest::ObjectGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ObjectGetRequest) -} -ObjectGetRequest::ObjectGetRequest(const ObjectGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ObjectGetRequest) -} - -void ObjectGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ObjectGetRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - id_ = nullptr; -} - -ObjectGetRequest::~ObjectGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ObjectGetRequest) - SharedDtor(); -} - -void ObjectGetRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void ObjectGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ObjectGetRequest& ObjectGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ObjectGetRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void ObjectGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ObjectGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ObjectGetRequest::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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 ObjectGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ObjectGetRequest) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.ObjectGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ObjectGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ObjectGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ObjectGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.ObjectGetRequest) -} - -::google::protobuf::uint8* ObjectGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ObjectGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.ObjectGetRequest) - return target; -} - -size_t ObjectGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ObjectGetRequest) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ObjectGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ObjectGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const ObjectGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ObjectGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ObjectGetRequest) - MergeFrom(*source); - } -} - -void ObjectGetRequest::MergeFrom(const ObjectGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ObjectGetRequest) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } -} - -void ObjectGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ObjectGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ObjectGetRequest::CopyFrom(const ObjectGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ObjectGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ObjectGetRequest::IsInitialized() const { - return true; -} - -void ObjectGetRequest::Swap(ObjectGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ObjectGetRequest::InternalSwap(ObjectGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata ObjectGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ResourceListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ResourceListRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::admin::NamedEntityIdentifier*>( - ::flyteidl::admin::NamedEntityIdentifier::internal_default_instance()); - ::flyteidl::admin::_ResourceListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class ResourceListRequest::HasBitSetters { - public: - static const ::flyteidl::admin::NamedEntityIdentifier& id(const ResourceListRequest* msg); - static const ::flyteidl::admin::Sort& sort_by(const ResourceListRequest* msg); -}; - -const ::flyteidl::admin::NamedEntityIdentifier& -ResourceListRequest::HasBitSetters::id(const ResourceListRequest* msg) { - return *msg->id_; -} -const ::flyteidl::admin::Sort& -ResourceListRequest::HasBitSetters::sort_by(const ResourceListRequest* msg) { - return *msg->sort_by_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ResourceListRequest::kIdFieldNumber; -const int ResourceListRequest::kLimitFieldNumber; -const int ResourceListRequest::kTokenFieldNumber; -const int ResourceListRequest::kFiltersFieldNumber; -const int ResourceListRequest::kSortByFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ResourceListRequest::ResourceListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ResourceListRequest) -} -ResourceListRequest::ResourceListRequest(const ResourceListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_id()) { - id_ = new ::flyteidl::admin::NamedEntityIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ResourceListRequest) -} - -void ResourceListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ResourceListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&id_)) + sizeof(limit_)); -} - -ResourceListRequest::~ResourceListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ResourceListRequest) - SharedDtor(); -} - -void ResourceListRequest::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete sort_by_; -} - -void ResourceListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ResourceListRequest& ResourceListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ResourceListRequest_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void ResourceListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ResourceListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ResourceListRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.NamedEntityIdentifier 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::admin::NamedEntityIdentifier::_InternalParse; - object = msg->mutable_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; - } - // uint32 limit = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ResourceListRequest.token"); - object = msg->mutable_token(); - 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 filters = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ResourceListRequest.filters"); - object = msg->mutable_filters(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 ResourceListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ResourceListRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.NamedEntityIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // uint32 limit = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ResourceListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ResourceListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ResourceListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ResourceListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ResourceListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ResourceListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->limit(), output); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ResourceListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->token(), output); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ResourceListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->filters(), output); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::sort_by(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ResourceListRequest) -} - -::google::protobuf::uint8* ResourceListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ResourceListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->limit(), target); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ResourceListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->token(), target); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ResourceListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->filters(), target); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::sort_by(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ResourceListRequest) - return target; -} - -size_t ResourceListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ResourceListRequest) - 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 token = 3; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 4; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ResourceListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ResourceListRequest) - GOOGLE_DCHECK_NE(&from, this); - const ResourceListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ResourceListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ResourceListRequest) - MergeFrom(*source); - } -} - -void ResourceListRequest::MergeFrom(const ResourceListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ResourceListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::admin::NamedEntityIdentifier::MergeFrom(from.id()); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void ResourceListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ResourceListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ResourceListRequest::CopyFrom(const ResourceListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ResourceListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ResourceListRequest::IsInitialized() const { - return true; -} - -void ResourceListRequest::Swap(ResourceListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ResourceListRequest::InternalSwap(ResourceListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata ResourceListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void EmailNotification::InitAsDefaultInstance() { -} -class EmailNotification::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int EmailNotification::kRecipientsEmailFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -EmailNotification::EmailNotification() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.EmailNotification) -} -EmailNotification::EmailNotification(const EmailNotification& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - recipients_email_(from.recipients_email_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.EmailNotification) -} - -void EmailNotification::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_EmailNotification_flyteidl_2fadmin_2fcommon_2eproto.base); -} - -EmailNotification::~EmailNotification() { - // @@protoc_insertion_point(destructor:flyteidl.admin.EmailNotification) - SharedDtor(); -} - -void EmailNotification::SharedDtor() { -} - -void EmailNotification::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EmailNotification& EmailNotification::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_EmailNotification_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void EmailNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.EmailNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - recipients_email_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* EmailNotification::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.EmailNotification.recipients_email"); - object = msg->add_recipients_email(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool EmailNotification::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.EmailNotification) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_recipients_email())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(this->recipients_email_size() - 1).data(), - static_cast(this->recipients_email(this->recipients_email_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.EmailNotification.recipients_email")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.EmailNotification) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.EmailNotification) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void EmailNotification::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.EmailNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailNotification.recipients_email"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->recipients_email(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.EmailNotification) -} - -::google::protobuf::uint8* EmailNotification::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.EmailNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailNotification.recipients_email"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->recipients_email(i), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.EmailNotification) - return target; -} - -size_t EmailNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.EmailNotification) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string recipients_email = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->recipients_email_size()); - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->recipients_email(i)); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EmailNotification::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.EmailNotification) - GOOGLE_DCHECK_NE(&from, this); - const EmailNotification* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.EmailNotification) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.EmailNotification) - MergeFrom(*source); - } -} - -void EmailNotification::MergeFrom(const EmailNotification& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.EmailNotification) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - recipients_email_.MergeFrom(from.recipients_email_); -} - -void EmailNotification::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.EmailNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EmailNotification::CopyFrom(const EmailNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.EmailNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EmailNotification::IsInitialized() const { - return true; -} - -void EmailNotification::Swap(EmailNotification* other) { - if (other == this) return; - InternalSwap(other); -} -void EmailNotification::InternalSwap(EmailNotification* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - recipients_email_.InternalSwap(CastToBase(&other->recipients_email_)); -} - -::google::protobuf::Metadata EmailNotification::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PagerDutyNotification::InitAsDefaultInstance() { -} -class PagerDutyNotification::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PagerDutyNotification::kRecipientsEmailFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PagerDutyNotification::PagerDutyNotification() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.PagerDutyNotification) -} -PagerDutyNotification::PagerDutyNotification(const PagerDutyNotification& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - recipients_email_(from.recipients_email_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.PagerDutyNotification) -} - -void PagerDutyNotification::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto.base); -} - -PagerDutyNotification::~PagerDutyNotification() { - // @@protoc_insertion_point(destructor:flyteidl.admin.PagerDutyNotification) - SharedDtor(); -} - -void PagerDutyNotification::SharedDtor() { -} - -void PagerDutyNotification::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PagerDutyNotification& PagerDutyNotification::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PagerDutyNotification_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void PagerDutyNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.PagerDutyNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - recipients_email_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PagerDutyNotification::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.PagerDutyNotification.recipients_email"); - object = msg->add_recipients_email(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool PagerDutyNotification::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.PagerDutyNotification) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_recipients_email())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(this->recipients_email_size() - 1).data(), - static_cast(this->recipients_email(this->recipients_email_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.PagerDutyNotification.recipients_email")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.PagerDutyNotification) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.PagerDutyNotification) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PagerDutyNotification::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.PagerDutyNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.PagerDutyNotification.recipients_email"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->recipients_email(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.PagerDutyNotification) -} - -::google::protobuf::uint8* PagerDutyNotification::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.PagerDutyNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.PagerDutyNotification.recipients_email"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->recipients_email(i), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.PagerDutyNotification) - return target; -} - -size_t PagerDutyNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.PagerDutyNotification) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string recipients_email = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->recipients_email_size()); - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->recipients_email(i)); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PagerDutyNotification::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.PagerDutyNotification) - GOOGLE_DCHECK_NE(&from, this); - const PagerDutyNotification* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.PagerDutyNotification) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.PagerDutyNotification) - MergeFrom(*source); - } -} - -void PagerDutyNotification::MergeFrom(const PagerDutyNotification& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.PagerDutyNotification) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - recipients_email_.MergeFrom(from.recipients_email_); -} - -void PagerDutyNotification::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.PagerDutyNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PagerDutyNotification::CopyFrom(const PagerDutyNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.PagerDutyNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PagerDutyNotification::IsInitialized() const { - return true; -} - -void PagerDutyNotification::Swap(PagerDutyNotification* other) { - if (other == this) return; - InternalSwap(other); -} -void PagerDutyNotification::InternalSwap(PagerDutyNotification* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - recipients_email_.InternalSwap(CastToBase(&other->recipients_email_)); -} - -::google::protobuf::Metadata PagerDutyNotification::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SlackNotification::InitAsDefaultInstance() { -} -class SlackNotification::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SlackNotification::kRecipientsEmailFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SlackNotification::SlackNotification() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SlackNotification) -} -SlackNotification::SlackNotification(const SlackNotification& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - recipients_email_(from.recipients_email_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SlackNotification) -} - -void SlackNotification::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SlackNotification_flyteidl_2fadmin_2fcommon_2eproto.base); -} - -SlackNotification::~SlackNotification() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SlackNotification) - SharedDtor(); -} - -void SlackNotification::SharedDtor() { -} - -void SlackNotification::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SlackNotification& SlackNotification::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SlackNotification_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void SlackNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SlackNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - recipients_email_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SlackNotification::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.SlackNotification.recipients_email"); - object = msg->add_recipients_email(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool SlackNotification::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SlackNotification) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_recipients_email())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(this->recipients_email_size() - 1).data(), - static_cast(this->recipients_email(this->recipients_email_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.SlackNotification.recipients_email")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SlackNotification) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SlackNotification) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SlackNotification::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SlackNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SlackNotification.recipients_email"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->recipients_email(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SlackNotification) -} - -::google::protobuf::uint8* SlackNotification::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SlackNotification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SlackNotification.recipients_email"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->recipients_email(i), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SlackNotification) - return target; -} - -size_t SlackNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SlackNotification) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string recipients_email = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->recipients_email_size()); - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->recipients_email(i)); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SlackNotification::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SlackNotification) - GOOGLE_DCHECK_NE(&from, this); - const SlackNotification* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SlackNotification) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SlackNotification) - MergeFrom(*source); - } -} - -void SlackNotification::MergeFrom(const SlackNotification& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SlackNotification) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - recipients_email_.MergeFrom(from.recipients_email_); -} - -void SlackNotification::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SlackNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SlackNotification::CopyFrom(const SlackNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SlackNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SlackNotification::IsInitialized() const { - return true; -} - -void SlackNotification::Swap(SlackNotification* other) { - if (other == this) return; - InternalSwap(other); -} -void SlackNotification::InternalSwap(SlackNotification* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - recipients_email_.InternalSwap(CastToBase(&other->recipients_email_)); -} - -::google::protobuf::Metadata SlackNotification::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Notification::InitAsDefaultInstance() { - ::flyteidl::admin::_Notification_default_instance_.email_ = const_cast< ::flyteidl::admin::EmailNotification*>( - ::flyteidl::admin::EmailNotification::internal_default_instance()); - ::flyteidl::admin::_Notification_default_instance_.pager_duty_ = const_cast< ::flyteidl::admin::PagerDutyNotification*>( - ::flyteidl::admin::PagerDutyNotification::internal_default_instance()); - ::flyteidl::admin::_Notification_default_instance_.slack_ = const_cast< ::flyteidl::admin::SlackNotification*>( - ::flyteidl::admin::SlackNotification::internal_default_instance()); -} -class Notification::HasBitSetters { - public: - static const ::flyteidl::admin::EmailNotification& email(const Notification* msg); - static const ::flyteidl::admin::PagerDutyNotification& pager_duty(const Notification* msg); - static const ::flyteidl::admin::SlackNotification& slack(const Notification* msg); -}; - -const ::flyteidl::admin::EmailNotification& -Notification::HasBitSetters::email(const Notification* msg) { - return *msg->type_.email_; -} -const ::flyteidl::admin::PagerDutyNotification& -Notification::HasBitSetters::pager_duty(const Notification* msg) { - return *msg->type_.pager_duty_; -} -const ::flyteidl::admin::SlackNotification& -Notification::HasBitSetters::slack(const Notification* msg) { - return *msg->type_.slack_; -} -void Notification::set_allocated_email(::flyteidl::admin::EmailNotification* email) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (email) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - email = ::google::protobuf::internal::GetOwnedMessage( - message_arena, email, submessage_arena); - } - set_has_email(); - type_.email_ = email; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Notification.email) -} -void Notification::set_allocated_pager_duty(::flyteidl::admin::PagerDutyNotification* pager_duty) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (pager_duty) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - pager_duty = ::google::protobuf::internal::GetOwnedMessage( - message_arena, pager_duty, submessage_arena); - } - set_has_pager_duty(); - type_.pager_duty_ = pager_duty; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Notification.pager_duty) -} -void Notification::set_allocated_slack(::flyteidl::admin::SlackNotification* slack) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (slack) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - slack = ::google::protobuf::internal::GetOwnedMessage( - message_arena, slack, submessage_arena); - } - set_has_slack(); - type_.slack_ = slack; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Notification.slack) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Notification::kPhasesFieldNumber; -const int Notification::kEmailFieldNumber; -const int Notification::kPagerDutyFieldNumber; -const int Notification::kSlackFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Notification::Notification() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Notification) -} -Notification::Notification(const Notification& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - phases_(from.phases_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_type(); - switch (from.type_case()) { - case kEmail: { - mutable_email()->::flyteidl::admin::EmailNotification::MergeFrom(from.email()); - break; - } - case kPagerDuty: { - mutable_pager_duty()->::flyteidl::admin::PagerDutyNotification::MergeFrom(from.pager_duty()); - break; - } - case kSlack: { - mutable_slack()->::flyteidl::admin::SlackNotification::MergeFrom(from.slack()); - break; - } - case TYPE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Notification) -} - -void Notification::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base); - clear_has_type(); -} - -Notification::~Notification() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Notification) - SharedDtor(); -} - -void Notification::SharedDtor() { - if (has_type()) { - clear_type(); - } -} - -void Notification::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Notification& Notification::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void Notification::clear_type() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.Notification) - switch (type_case()) { - case kEmail: { - delete type_.email_; - break; - } - case kPagerDuty: { - delete type_.pager_duty_; - break; - } - case kSlack: { - delete type_.slack_; - break; - } - case TYPE_NOT_SET: { - break; - } - } - _oneof_case_[0] = TYPE_NOT_SET; -} - - -void Notification::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Notification) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - phases_.Clear(); - clear_type(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Notification::_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.WorkflowExecution.Phase phases = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) == 10) { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::PackedEnumParser; - object = msg->mutable_phases(); - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - if (size) ptr = parser_till_end(ptr, newend, object, ctx); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr == newend); - break; - } else if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - do { - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->add_phases(static_cast<::flyteidl::core::WorkflowExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 8 && (ptr += 1)); - break; - } - // .flyteidl.admin.EmailNotification email = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::EmailNotification::_InternalParse; - object = msg->mutable_email(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.PagerDutyNotification pager_duty = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::PagerDutyNotification::_InternalParse; - object = msg->mutable_pager_duty(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.SlackNotification slack = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::SlackNotification::_InternalParse; - object = msg->mutable_slack(); - 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 Notification::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Notification) - 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.WorkflowExecution.Phase phases = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - ::google::protobuf::uint32 length; - DO_(input->ReadVarint32(&length)); - ::google::protobuf::io::CodedInputStream::Limit limit = input->PushLimit(static_cast(length)); - while (input->BytesUntilLimit() > 0) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - add_phases(static_cast< ::flyteidl::core::WorkflowExecution_Phase >(value)); - } - input->PopLimit(limit); - } else 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))); - add_phases(static_cast< ::flyteidl::core::WorkflowExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.EmailNotification email = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_email())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.PagerDutyNotification pager_duty = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_pager_duty())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.SlackNotification slack = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_slack())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Notification) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Notification) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Notification::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Notification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - if (this->phases_size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteTag( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - output); - output->WriteVarint32(_phases_cached_byte_size_.load( - std::memory_order_relaxed)); - } - for (int i = 0, n = this->phases_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteEnumNoTag( - this->phases(i), output); - } - - // .flyteidl.admin.EmailNotification email = 2; - if (has_email()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::email(this), output); - } - - // .flyteidl.admin.PagerDutyNotification pager_duty = 3; - if (has_pager_duty()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::pager_duty(this), output); - } - - // .flyteidl.admin.SlackNotification slack = 4; - if (has_slack()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::slack(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Notification) -} - -::google::protobuf::uint8* Notification::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Notification) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - if (this->phases_size() > 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( - 1, - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, - target); - target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( _phases_cached_byte_size_.load(std::memory_order_relaxed), - target); - target = ::google::protobuf::internal::WireFormatLite::WriteEnumNoTagToArray( - this->phases_, target); - } - - // .flyteidl.admin.EmailNotification email = 2; - if (has_email()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::email(this), target); - } - - // .flyteidl.admin.PagerDutyNotification pager_duty = 3; - if (has_pager_duty()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::pager_duty(this), target); - } - - // .flyteidl.admin.SlackNotification slack = 4; - if (has_slack()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::slack(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Notification) - return target; -} - -size_t Notification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Notification) - 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.WorkflowExecution.Phase phases = 1; - { - size_t data_size = 0; - unsigned int count = static_cast(this->phases_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::google::protobuf::internal::WireFormatLite::EnumSize( - this->phases(static_cast(i))); - } - if (data_size > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - static_cast<::google::protobuf::int32>(data_size)); - } - int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); - _phases_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - switch (type_case()) { - // .flyteidl.admin.EmailNotification email = 2; - case kEmail: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.email_); - break; - } - // .flyteidl.admin.PagerDutyNotification pager_duty = 3; - case kPagerDuty: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.pager_duty_); - break; - } - // .flyteidl.admin.SlackNotification slack = 4; - case kSlack: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.slack_); - break; - } - case TYPE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Notification::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Notification) - GOOGLE_DCHECK_NE(&from, this); - const Notification* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Notification) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Notification) - MergeFrom(*source); - } -} - -void Notification::MergeFrom(const Notification& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Notification) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - phases_.MergeFrom(from.phases_); - switch (from.type_case()) { - case kEmail: { - mutable_email()->::flyteidl::admin::EmailNotification::MergeFrom(from.email()); - break; - } - case kPagerDuty: { - mutable_pager_duty()->::flyteidl::admin::PagerDutyNotification::MergeFrom(from.pager_duty()); - break; - } - case kSlack: { - mutable_slack()->::flyteidl::admin::SlackNotification::MergeFrom(from.slack()); - break; - } - case TYPE_NOT_SET: { - break; - } - } -} - -void Notification::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Notification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Notification::CopyFrom(const Notification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Notification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Notification::IsInitialized() const { - return true; -} - -void Notification::Swap(Notification* other) { - if (other == this) return; - InternalSwap(other); -} -void Notification::InternalSwap(Notification* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - phases_.InternalSwap(&other->phases_); - swap(type_, other->type_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Notification::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void UrlBlob::InitAsDefaultInstance() { -} -class UrlBlob::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UrlBlob::kUrlFieldNumber; -const int UrlBlob::kBytesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UrlBlob::UrlBlob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.UrlBlob) -} -UrlBlob::UrlBlob(const UrlBlob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.url().size() > 0) { - url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); - } - bytes_ = from.bytes_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.UrlBlob) -} - -void UrlBlob::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base); - url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - bytes_ = PROTOBUF_LONGLONG(0); -} - -UrlBlob::~UrlBlob() { - // @@protoc_insertion_point(destructor:flyteidl.admin.UrlBlob) - SharedDtor(); -} - -void UrlBlob::SharedDtor() { - url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void UrlBlob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const UrlBlob& UrlBlob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void UrlBlob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.UrlBlob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - bytes_ = PROTOBUF_LONGLONG(0); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* UrlBlob::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string url = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.UrlBlob.url"); - object = msg->mutable_url(); - 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; - } - // int64 bytes = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_bytes(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 UrlBlob::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.UrlBlob) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string url = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->url().data(), static_cast(this->url().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.UrlBlob.url")); - } else { - goto handle_unusual; - } - break; - } - - // int64 bytes = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( - input, &bytes_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.UrlBlob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.UrlBlob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void UrlBlob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.UrlBlob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string url = 1; - if (this->url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->url().data(), static_cast(this->url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.UrlBlob.url"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->url(), output); - } - - // int64 bytes = 2; - if (this->bytes() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->bytes(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.UrlBlob) -} - -::google::protobuf::uint8* UrlBlob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.UrlBlob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string url = 1; - if (this->url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->url().data(), static_cast(this->url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.UrlBlob.url"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->url(), target); - } - - // int64 bytes = 2; - if (this->bytes() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->bytes(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.UrlBlob) - return target; -} - -size_t UrlBlob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.UrlBlob) - 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 url = 1; - if (this->url().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->url()); - } - - // int64 bytes = 2; - if (this->bytes() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int64Size( - this->bytes()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void UrlBlob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.UrlBlob) - GOOGLE_DCHECK_NE(&from, this); - const UrlBlob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.UrlBlob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.UrlBlob) - MergeFrom(*source); - } -} - -void UrlBlob::MergeFrom(const UrlBlob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.UrlBlob) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.url().size() > 0) { - - url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); - } - if (from.bytes() != 0) { - set_bytes(from.bytes()); - } -} - -void UrlBlob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.UrlBlob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UrlBlob::CopyFrom(const UrlBlob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.UrlBlob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UrlBlob::IsInitialized() const { - return true; -} - -void UrlBlob::Swap(UrlBlob* other) { - if (other == this) return; - InternalSwap(other); -} -void UrlBlob::InternalSwap(UrlBlob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - url_.Swap(&other->url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(bytes_, other->bytes_); -} - -::google::protobuf::Metadata UrlBlob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -Labels_ValuesEntry_DoNotUse::Labels_ValuesEntry_DoNotUse() {} -Labels_ValuesEntry_DoNotUse::Labels_ValuesEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void Labels_ValuesEntry_DoNotUse::MergeFrom(const Labels_ValuesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata Labels_ValuesEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[18]; -} -void Labels_ValuesEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Labels_ValuesEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - Labels_ValuesEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Labels.ValuesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Labels.ValuesEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void Labels::InitAsDefaultInstance() { -} -class Labels::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Labels::kValuesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Labels::Labels() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Labels) -} -Labels::Labels(const Labels& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - values_.MergeFrom(from.values_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Labels) -} - -void Labels::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base); -} - -Labels::~Labels() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Labels) - SharedDtor(); -} - -void Labels::SharedDtor() { -} - -void Labels::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Labels& Labels::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void Labels::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Labels) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - values_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Labels::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map values = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::admin::Labels_ValuesEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->values_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Labels::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Labels) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map values = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - Labels_ValuesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - Labels_ValuesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&values_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Labels.ValuesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Labels.ValuesEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Labels) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Labels) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Labels::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Labels) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map values = 1; - if (!this->values().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Labels.ValuesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Labels.ValuesEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->values().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->values().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(values_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it) { - entry.reset(values_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Labels) -} - -::google::protobuf::uint8* Labels::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Labels) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map values = 1; - if (!this->values().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Labels.ValuesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Labels.ValuesEntry.value"); - } - }; - - if (false && - this->values().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->values().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(values_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it) { - entry.reset(values_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Labels) - return target; -} - -size_t Labels::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Labels) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map values = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->values_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it) { - entry.reset(values_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Labels::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Labels) - GOOGLE_DCHECK_NE(&from, this); - const Labels* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Labels) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Labels) - MergeFrom(*source); - } -} - -void Labels::MergeFrom(const Labels& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Labels) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - values_.MergeFrom(from.values_); -} - -void Labels::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Labels) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Labels::CopyFrom(const Labels& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Labels) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Labels::IsInitialized() const { - return true; -} - -void Labels::Swap(Labels* other) { - if (other == this) return; - InternalSwap(other); -} -void Labels::InternalSwap(Labels* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - values_.Swap(&other->values_); -} - -::google::protobuf::Metadata Labels::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -Annotations_ValuesEntry_DoNotUse::Annotations_ValuesEntry_DoNotUse() {} -Annotations_ValuesEntry_DoNotUse::Annotations_ValuesEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void Annotations_ValuesEntry_DoNotUse::MergeFrom(const Annotations_ValuesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata Annotations_ValuesEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[20]; -} -void Annotations_ValuesEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Annotations_ValuesEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - Annotations_ValuesEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Annotations.ValuesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Annotations.ValuesEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void Annotations::InitAsDefaultInstance() { -} -class Annotations::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Annotations::kValuesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Annotations::Annotations() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Annotations) -} -Annotations::Annotations(const Annotations& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - values_.MergeFrom(from.values_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Annotations) -} - -void Annotations::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base); -} - -Annotations::~Annotations() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Annotations) - SharedDtor(); -} - -void Annotations::SharedDtor() { -} - -void Annotations::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Annotations& Annotations::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void Annotations::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Annotations) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - values_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Annotations::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map values = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->values_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Annotations::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Annotations) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map values = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - Annotations_ValuesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - Annotations_ValuesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&values_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Annotations.ValuesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Annotations.ValuesEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Annotations) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Annotations) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Annotations::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Annotations) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map values = 1; - if (!this->values().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Annotations.ValuesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Annotations.ValuesEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->values().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->values().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(values_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it) { - entry.reset(values_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Annotations) -} - -::google::protobuf::uint8* Annotations::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Annotations) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map values = 1; - if (!this->values().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Annotations.ValuesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Annotations.ValuesEntry.value"); - } - }; - - if (false && - this->values().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->values().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(values_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it) { - entry.reset(values_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Annotations) - return target; -} - -size_t Annotations::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Annotations) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map values = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->values_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->values().begin(); - it != this->values().end(); ++it) { - entry.reset(values_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Annotations::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Annotations) - GOOGLE_DCHECK_NE(&from, this); - const Annotations* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Annotations) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Annotations) - MergeFrom(*source); - } -} - -void Annotations::MergeFrom(const Annotations& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Annotations) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - values_.MergeFrom(from.values_); -} - -void Annotations::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Annotations) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Annotations::CopyFrom(const Annotations& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Annotations) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Annotations::IsInitialized() const { - return true; -} - -void Annotations::Swap(Annotations* other) { - if (other == this) return; - InternalSwap(other); -} -void Annotations::InternalSwap(Annotations* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - values_.Swap(&other->values_); -} - -::google::protobuf::Metadata Annotations::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Envs::InitAsDefaultInstance() { -} -class Envs::HasBitSetters { - public: -}; - -void Envs::clear_values() { - values_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Envs::kValuesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Envs::Envs() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Envs) -} -Envs::Envs(const Envs& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - values_(from.values_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Envs) -} - -void Envs::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base); -} - -Envs::~Envs() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Envs) - SharedDtor(); -} - -void Envs::SharedDtor() { -} - -void Envs::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Envs& Envs::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void Envs::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Envs) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - values_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Envs::_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.KeyValuePair values = 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::KeyValuePair::_InternalParse; - object = msg->add_values(); - 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 Envs::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Envs) - 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.KeyValuePair values = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_values())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Envs) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Envs) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Envs::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Envs) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.KeyValuePair values = 1; - for (unsigned int i = 0, - n = static_cast(this->values_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->values(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.admin.Envs) -} - -::google::protobuf::uint8* Envs::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Envs) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.KeyValuePair values = 1; - for (unsigned int i = 0, - n = static_cast(this->values_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->values(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.admin.Envs) - return target; -} - -size_t Envs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Envs) - 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.KeyValuePair values = 1; - { - unsigned int count = static_cast(this->values_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->values(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Envs::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Envs) - GOOGLE_DCHECK_NE(&from, this); - const Envs* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Envs) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Envs) - MergeFrom(*source); - } -} - -void Envs::MergeFrom(const Envs& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Envs) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - values_.MergeFrom(from.values_); -} - -void Envs::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Envs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Envs::CopyFrom(const Envs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Envs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Envs::IsInitialized() const { - return true; -} - -void Envs::Swap(Envs* other) { - if (other == this) return; - InternalSwap(other); -} -void Envs::InternalSwap(Envs* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&values_)->InternalSwap(CastToBase(&other->values_)); -} - -::google::protobuf::Metadata Envs::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void AuthRole::InitAsDefaultInstance() { -} -class AuthRole::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int AuthRole::kAssumableIamRoleFieldNumber; -const int AuthRole::kKubernetesServiceAccountFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AuthRole::AuthRole() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.AuthRole) -} -AuthRole::AuthRole(const AuthRole& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - assumable_iam_role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.assumable_iam_role().size() > 0) { - assumable_iam_role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.assumable_iam_role_); - } - kubernetes_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.kubernetes_service_account().size() > 0) { - kubernetes_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.kubernetes_service_account_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.AuthRole) -} - -void AuthRole::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto.base); - assumable_iam_role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kubernetes_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -AuthRole::~AuthRole() { - // @@protoc_insertion_point(destructor:flyteidl.admin.AuthRole) - SharedDtor(); -} - -void AuthRole::SharedDtor() { - assumable_iam_role_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kubernetes_service_account_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void AuthRole::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const AuthRole& AuthRole::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void AuthRole::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.AuthRole) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - assumable_iam_role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kubernetes_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* AuthRole::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string assumable_iam_role = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.AuthRole.assumable_iam_role"); - object = msg->mutable_assumable_iam_role(); - 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 kubernetes_service_account = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.AuthRole.kubernetes_service_account"); - object = msg->mutable_kubernetes_service_account(); - 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 AuthRole::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.AuthRole) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string assumable_iam_role = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_assumable_iam_role())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->assumable_iam_role().data(), static_cast(this->assumable_iam_role().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.AuthRole.assumable_iam_role")); - } else { - goto handle_unusual; - } - break; - } - - // string kubernetes_service_account = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_kubernetes_service_account())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kubernetes_service_account().data(), static_cast(this->kubernetes_service_account().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.AuthRole.kubernetes_service_account")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.AuthRole) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.AuthRole) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void AuthRole::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.AuthRole) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string assumable_iam_role = 1; - if (this->assumable_iam_role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->assumable_iam_role().data(), static_cast(this->assumable_iam_role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AuthRole.assumable_iam_role"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->assumable_iam_role(), output); - } - - // string kubernetes_service_account = 2; - if (this->kubernetes_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kubernetes_service_account().data(), static_cast(this->kubernetes_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AuthRole.kubernetes_service_account"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->kubernetes_service_account(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.AuthRole) -} - -::google::protobuf::uint8* AuthRole::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.AuthRole) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string assumable_iam_role = 1; - if (this->assumable_iam_role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->assumable_iam_role().data(), static_cast(this->assumable_iam_role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AuthRole.assumable_iam_role"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->assumable_iam_role(), target); - } - - // string kubernetes_service_account = 2; - if (this->kubernetes_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kubernetes_service_account().data(), static_cast(this->kubernetes_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AuthRole.kubernetes_service_account"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->kubernetes_service_account(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.AuthRole) - return target; -} - -size_t AuthRole::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.AuthRole) - 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 assumable_iam_role = 1; - if (this->assumable_iam_role().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->assumable_iam_role()); - } - - // string kubernetes_service_account = 2; - if (this->kubernetes_service_account().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->kubernetes_service_account()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void AuthRole::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.AuthRole) - GOOGLE_DCHECK_NE(&from, this); - const AuthRole* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.AuthRole) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.AuthRole) - MergeFrom(*source); - } -} - -void AuthRole::MergeFrom(const AuthRole& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.AuthRole) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.assumable_iam_role().size() > 0) { - - assumable_iam_role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.assumable_iam_role_); - } - if (from.kubernetes_service_account().size() > 0) { - - kubernetes_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.kubernetes_service_account_); - } -} - -void AuthRole::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.AuthRole) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AuthRole::CopyFrom(const AuthRole& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.AuthRole) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AuthRole::IsInitialized() const { - return true; -} - -void AuthRole::Swap(AuthRole* other) { - if (other == this) return; - InternalSwap(other); -} -void AuthRole::InternalSwap(AuthRole* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - assumable_iam_role_.Swap(&other->assumable_iam_role_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - kubernetes_service_account_.Swap(&other->kubernetes_service_account_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata AuthRole::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void RawOutputDataConfig::InitAsDefaultInstance() { -} -class RawOutputDataConfig::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RawOutputDataConfig::kOutputLocationPrefixFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RawOutputDataConfig::RawOutputDataConfig() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.RawOutputDataConfig) -} -RawOutputDataConfig::RawOutputDataConfig(const RawOutputDataConfig& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - output_location_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.output_location_prefix().size() > 0) { - output_location_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_location_prefix_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.RawOutputDataConfig) -} - -void RawOutputDataConfig::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base); - output_location_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -RawOutputDataConfig::~RawOutputDataConfig() { - // @@protoc_insertion_point(destructor:flyteidl.admin.RawOutputDataConfig) - SharedDtor(); -} - -void RawOutputDataConfig::SharedDtor() { - output_location_prefix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void RawOutputDataConfig::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RawOutputDataConfig& RawOutputDataConfig::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void RawOutputDataConfig::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.RawOutputDataConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - output_location_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RawOutputDataConfig::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string output_location_prefix = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.RawOutputDataConfig.output_location_prefix"); - object = msg->mutable_output_location_prefix(); - 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 RawOutputDataConfig::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.RawOutputDataConfig) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string output_location_prefix = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_location_prefix())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_location_prefix().data(), static_cast(this->output_location_prefix().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.RawOutputDataConfig.output_location_prefix")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.RawOutputDataConfig) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.RawOutputDataConfig) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RawOutputDataConfig::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.RawOutputDataConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string output_location_prefix = 1; - if (this->output_location_prefix().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_location_prefix().data(), static_cast(this->output_location_prefix().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.RawOutputDataConfig.output_location_prefix"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->output_location_prefix(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.RawOutputDataConfig) -} - -::google::protobuf::uint8* RawOutputDataConfig::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.RawOutputDataConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string output_location_prefix = 1; - if (this->output_location_prefix().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_location_prefix().data(), static_cast(this->output_location_prefix().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.RawOutputDataConfig.output_location_prefix"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->output_location_prefix(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.RawOutputDataConfig) - return target; -} - -size_t RawOutputDataConfig::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.RawOutputDataConfig) - 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 output_location_prefix = 1; - if (this->output_location_prefix().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_location_prefix()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RawOutputDataConfig::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.RawOutputDataConfig) - GOOGLE_DCHECK_NE(&from, this); - const RawOutputDataConfig* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.RawOutputDataConfig) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.RawOutputDataConfig) - MergeFrom(*source); - } -} - -void RawOutputDataConfig::MergeFrom(const RawOutputDataConfig& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.RawOutputDataConfig) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.output_location_prefix().size() > 0) { - - output_location_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_location_prefix_); - } -} - -void RawOutputDataConfig::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.RawOutputDataConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RawOutputDataConfig::CopyFrom(const RawOutputDataConfig& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.RawOutputDataConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RawOutputDataConfig::IsInitialized() const { - return true; -} - -void RawOutputDataConfig::Swap(RawOutputDataConfig* other) { - if (other == this) return; - InternalSwap(other); -} -void RawOutputDataConfig::InternalSwap(RawOutputDataConfig* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - output_location_prefix_.Swap(&other->output_location_prefix_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata RawOutputDataConfig::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void FlyteURLs::InitAsDefaultInstance() { -} -class FlyteURLs::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int FlyteURLs::kInputsFieldNumber; -const int FlyteURLs::kOutputsFieldNumber; -const int FlyteURLs::kDeckFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -FlyteURLs::FlyteURLs() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.FlyteURLs) -} -FlyteURLs::FlyteURLs(const FlyteURLs& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - inputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.inputs().size() > 0) { - inputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.inputs_); - } - outputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.outputs().size() > 0) { - outputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.outputs_); - } - deck_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.deck().size() > 0) { - deck_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.FlyteURLs) -} - -void FlyteURLs::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base); - inputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - outputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deck_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -FlyteURLs::~FlyteURLs() { - // @@protoc_insertion_point(destructor:flyteidl.admin.FlyteURLs) - SharedDtor(); -} - -void FlyteURLs::SharedDtor() { - inputs_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - outputs_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deck_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void FlyteURLs::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const FlyteURLs& FlyteURLs::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void FlyteURLs::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.FlyteURLs) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - inputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - outputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deck_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* FlyteURLs::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string inputs = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.FlyteURLs.inputs"); - object = msg->mutable_inputs(); - 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 outputs = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.FlyteURLs.outputs"); - object = msg->mutable_outputs(); - 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 deck = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.FlyteURLs.deck"); - object = msg->mutable_deck(); - 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 FlyteURLs::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.FlyteURLs) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string inputs = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_inputs())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->inputs().data(), static_cast(this->inputs().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.FlyteURLs.inputs")); - } else { - goto handle_unusual; - } - break; - } - - // string outputs = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_outputs())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->outputs().data(), static_cast(this->outputs().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.FlyteURLs.outputs")); - } else { - goto handle_unusual; - } - break; - } - - // string deck = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_deck())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck().data(), static_cast(this->deck().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.FlyteURLs.deck")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.FlyteURLs) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.FlyteURLs) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void FlyteURLs::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.FlyteURLs) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string inputs = 1; - if (this->inputs().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->inputs().data(), static_cast(this->inputs().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.FlyteURLs.inputs"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->inputs(), output); - } - - // string outputs = 2; - if (this->outputs().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->outputs().data(), static_cast(this->outputs().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.FlyteURLs.outputs"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->outputs(), output); - } - - // string deck = 3; - if (this->deck().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck().data(), static_cast(this->deck().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.FlyteURLs.deck"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->deck(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.FlyteURLs) -} - -::google::protobuf::uint8* FlyteURLs::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.FlyteURLs) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string inputs = 1; - if (this->inputs().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->inputs().data(), static_cast(this->inputs().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.FlyteURLs.inputs"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->inputs(), target); - } - - // string outputs = 2; - if (this->outputs().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->outputs().data(), static_cast(this->outputs().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.FlyteURLs.outputs"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->outputs(), target); - } - - // string deck = 3; - if (this->deck().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck().data(), static_cast(this->deck().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.FlyteURLs.deck"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->deck(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.FlyteURLs) - return target; -} - -size_t FlyteURLs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.FlyteURLs) - 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 inputs = 1; - if (this->inputs().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->inputs()); - } - - // string outputs = 2; - if (this->outputs().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->outputs()); - } - - // string deck = 3; - if (this->deck().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->deck()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void FlyteURLs::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.FlyteURLs) - GOOGLE_DCHECK_NE(&from, this); - const FlyteURLs* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.FlyteURLs) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.FlyteURLs) - MergeFrom(*source); - } -} - -void FlyteURLs::MergeFrom(const FlyteURLs& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.FlyteURLs) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.inputs().size() > 0) { - - inputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.inputs_); - } - if (from.outputs().size() > 0) { - - outputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.outputs_); - } - if (from.deck().size() > 0) { - - deck_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_); - } -} - -void FlyteURLs::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.FlyteURLs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void FlyteURLs::CopyFrom(const FlyteURLs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.FlyteURLs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FlyteURLs::IsInitialized() const { - return true; -} - -void FlyteURLs::Swap(FlyteURLs* other) { - if (other == this) return; - InternalSwap(other); -} -void FlyteURLs::InternalSwap(FlyteURLs* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - inputs_.Swap(&other->inputs_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - outputs_.Swap(&other->outputs_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - deck_.Swap(&other->deck_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata FlyteURLs::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityIdentifier* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityIdentifier >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityIdentifier >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntity* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntity >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntity >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Sort* Arena::CreateMaybeMessage< ::flyteidl::admin::Sort >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Sort >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityIdentifierListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityIdentifierListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityIdentifierListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityIdentifierList* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityIdentifierList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityIdentifierList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityList* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityUpdateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityUpdateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityUpdateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityUpdateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ObjectGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ObjectGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ObjectGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ResourceListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ResourceListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ResourceListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::EmailNotification* Arena::CreateMaybeMessage< ::flyteidl::admin::EmailNotification >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::EmailNotification >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::PagerDutyNotification* Arena::CreateMaybeMessage< ::flyteidl::admin::PagerDutyNotification >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::PagerDutyNotification >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SlackNotification* Arena::CreateMaybeMessage< ::flyteidl::admin::SlackNotification >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SlackNotification >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Notification* Arena::CreateMaybeMessage< ::flyteidl::admin::Notification >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Notification >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::UrlBlob* Arena::CreateMaybeMessage< ::flyteidl::admin::UrlBlob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::UrlBlob >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Labels_ValuesEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::Labels_ValuesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Labels_ValuesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Labels* Arena::CreateMaybeMessage< ::flyteidl::admin::Labels >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Labels >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Annotations* Arena::CreateMaybeMessage< ::flyteidl::admin::Annotations >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Annotations >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Envs* Arena::CreateMaybeMessage< ::flyteidl::admin::Envs >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Envs >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::AuthRole* Arena::CreateMaybeMessage< ::flyteidl::admin::AuthRole >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::AuthRole >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::RawOutputDataConfig* Arena::CreateMaybeMessage< ::flyteidl::admin::RawOutputDataConfig >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::RawOutputDataConfig >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::FlyteURLs* Arena::CreateMaybeMessage< ::flyteidl::admin::FlyteURLs >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::FlyteURLs >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/common.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/common.pb.h deleted file mode 100644 index a553cfad4a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/common.pb.h +++ /dev/null @@ -1,6341 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/common.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fcommon_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fcommon_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/literals.pb.h" -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fcommon_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[26] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto(); -namespace flyteidl { -namespace admin { -class Annotations; -class AnnotationsDefaultTypeInternal; -extern AnnotationsDefaultTypeInternal _Annotations_default_instance_; -class Annotations_ValuesEntry_DoNotUse; -class Annotations_ValuesEntry_DoNotUseDefaultTypeInternal; -extern Annotations_ValuesEntry_DoNotUseDefaultTypeInternal _Annotations_ValuesEntry_DoNotUse_default_instance_; -class AuthRole; -class AuthRoleDefaultTypeInternal; -extern AuthRoleDefaultTypeInternal _AuthRole_default_instance_; -class EmailNotification; -class EmailNotificationDefaultTypeInternal; -extern EmailNotificationDefaultTypeInternal _EmailNotification_default_instance_; -class Envs; -class EnvsDefaultTypeInternal; -extern EnvsDefaultTypeInternal _Envs_default_instance_; -class FlyteURLs; -class FlyteURLsDefaultTypeInternal; -extern FlyteURLsDefaultTypeInternal _FlyteURLs_default_instance_; -class Labels; -class LabelsDefaultTypeInternal; -extern LabelsDefaultTypeInternal _Labels_default_instance_; -class Labels_ValuesEntry_DoNotUse; -class Labels_ValuesEntry_DoNotUseDefaultTypeInternal; -extern Labels_ValuesEntry_DoNotUseDefaultTypeInternal _Labels_ValuesEntry_DoNotUse_default_instance_; -class NamedEntity; -class NamedEntityDefaultTypeInternal; -extern NamedEntityDefaultTypeInternal _NamedEntity_default_instance_; -class NamedEntityGetRequest; -class NamedEntityGetRequestDefaultTypeInternal; -extern NamedEntityGetRequestDefaultTypeInternal _NamedEntityGetRequest_default_instance_; -class NamedEntityIdentifier; -class NamedEntityIdentifierDefaultTypeInternal; -extern NamedEntityIdentifierDefaultTypeInternal _NamedEntityIdentifier_default_instance_; -class NamedEntityIdentifierList; -class NamedEntityIdentifierListDefaultTypeInternal; -extern NamedEntityIdentifierListDefaultTypeInternal _NamedEntityIdentifierList_default_instance_; -class NamedEntityIdentifierListRequest; -class NamedEntityIdentifierListRequestDefaultTypeInternal; -extern NamedEntityIdentifierListRequestDefaultTypeInternal _NamedEntityIdentifierListRequest_default_instance_; -class NamedEntityList; -class NamedEntityListDefaultTypeInternal; -extern NamedEntityListDefaultTypeInternal _NamedEntityList_default_instance_; -class NamedEntityListRequest; -class NamedEntityListRequestDefaultTypeInternal; -extern NamedEntityListRequestDefaultTypeInternal _NamedEntityListRequest_default_instance_; -class NamedEntityMetadata; -class NamedEntityMetadataDefaultTypeInternal; -extern NamedEntityMetadataDefaultTypeInternal _NamedEntityMetadata_default_instance_; -class NamedEntityUpdateRequest; -class NamedEntityUpdateRequestDefaultTypeInternal; -extern NamedEntityUpdateRequestDefaultTypeInternal _NamedEntityUpdateRequest_default_instance_; -class NamedEntityUpdateResponse; -class NamedEntityUpdateResponseDefaultTypeInternal; -extern NamedEntityUpdateResponseDefaultTypeInternal _NamedEntityUpdateResponse_default_instance_; -class Notification; -class NotificationDefaultTypeInternal; -extern NotificationDefaultTypeInternal _Notification_default_instance_; -class ObjectGetRequest; -class ObjectGetRequestDefaultTypeInternal; -extern ObjectGetRequestDefaultTypeInternal _ObjectGetRequest_default_instance_; -class PagerDutyNotification; -class PagerDutyNotificationDefaultTypeInternal; -extern PagerDutyNotificationDefaultTypeInternal _PagerDutyNotification_default_instance_; -class RawOutputDataConfig; -class RawOutputDataConfigDefaultTypeInternal; -extern RawOutputDataConfigDefaultTypeInternal _RawOutputDataConfig_default_instance_; -class ResourceListRequest; -class ResourceListRequestDefaultTypeInternal; -extern ResourceListRequestDefaultTypeInternal _ResourceListRequest_default_instance_; -class SlackNotification; -class SlackNotificationDefaultTypeInternal; -extern SlackNotificationDefaultTypeInternal _SlackNotification_default_instance_; -class Sort; -class SortDefaultTypeInternal; -extern SortDefaultTypeInternal _Sort_default_instance_; -class UrlBlob; -class UrlBlobDefaultTypeInternal; -extern UrlBlobDefaultTypeInternal _UrlBlob_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::Annotations* Arena::CreateMaybeMessage<::flyteidl::admin::Annotations>(Arena*); -template<> ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::Annotations_ValuesEntry_DoNotUse>(Arena*); -template<> ::flyteidl::admin::AuthRole* Arena::CreateMaybeMessage<::flyteidl::admin::AuthRole>(Arena*); -template<> ::flyteidl::admin::EmailNotification* Arena::CreateMaybeMessage<::flyteidl::admin::EmailNotification>(Arena*); -template<> ::flyteidl::admin::Envs* Arena::CreateMaybeMessage<::flyteidl::admin::Envs>(Arena*); -template<> ::flyteidl::admin::FlyteURLs* Arena::CreateMaybeMessage<::flyteidl::admin::FlyteURLs>(Arena*); -template<> ::flyteidl::admin::Labels* Arena::CreateMaybeMessage<::flyteidl::admin::Labels>(Arena*); -template<> ::flyteidl::admin::Labels_ValuesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::Labels_ValuesEntry_DoNotUse>(Arena*); -template<> ::flyteidl::admin::NamedEntity* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntity>(Arena*); -template<> ::flyteidl::admin::NamedEntityGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityGetRequest>(Arena*); -template<> ::flyteidl::admin::NamedEntityIdentifier* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifier>(Arena*); -template<> ::flyteidl::admin::NamedEntityIdentifierList* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifierList>(Arena*); -template<> ::flyteidl::admin::NamedEntityIdentifierListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifierListRequest>(Arena*); -template<> ::flyteidl::admin::NamedEntityList* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityList>(Arena*); -template<> ::flyteidl::admin::NamedEntityListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityListRequest>(Arena*); -template<> ::flyteidl::admin::NamedEntityMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityMetadata>(Arena*); -template<> ::flyteidl::admin::NamedEntityUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityUpdateRequest>(Arena*); -template<> ::flyteidl::admin::NamedEntityUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntityUpdateResponse>(Arena*); -template<> ::flyteidl::admin::Notification* Arena::CreateMaybeMessage<::flyteidl::admin::Notification>(Arena*); -template<> ::flyteidl::admin::ObjectGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ObjectGetRequest>(Arena*); -template<> ::flyteidl::admin::PagerDutyNotification* Arena::CreateMaybeMessage<::flyteidl::admin::PagerDutyNotification>(Arena*); -template<> ::flyteidl::admin::RawOutputDataConfig* Arena::CreateMaybeMessage<::flyteidl::admin::RawOutputDataConfig>(Arena*); -template<> ::flyteidl::admin::ResourceListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ResourceListRequest>(Arena*); -template<> ::flyteidl::admin::SlackNotification* Arena::CreateMaybeMessage<::flyteidl::admin::SlackNotification>(Arena*); -template<> ::flyteidl::admin::Sort* Arena::CreateMaybeMessage<::flyteidl::admin::Sort>(Arena*); -template<> ::flyteidl::admin::UrlBlob* Arena::CreateMaybeMessage<::flyteidl::admin::UrlBlob>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum Sort_Direction { - Sort_Direction_DESCENDING = 0, - Sort_Direction_ASCENDING = 1, - Sort_Direction_Sort_Direction_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - Sort_Direction_Sort_Direction_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool Sort_Direction_IsValid(int value); -const Sort_Direction Sort_Direction_Direction_MIN = Sort_Direction_DESCENDING; -const Sort_Direction Sort_Direction_Direction_MAX = Sort_Direction_ASCENDING; -const int Sort_Direction_Direction_ARRAYSIZE = Sort_Direction_Direction_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Sort_Direction_descriptor(); -inline const ::std::string& Sort_Direction_Name(Sort_Direction value) { - return ::google::protobuf::internal::NameOfEnum( - Sort_Direction_descriptor(), value); -} -inline bool Sort_Direction_Parse( - const ::std::string& name, Sort_Direction* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Sort_Direction_descriptor(), name, value); -} -enum NamedEntityState { - NAMED_ENTITY_ACTIVE = 0, - NAMED_ENTITY_ARCHIVED = 1, - SYSTEM_GENERATED = 2, - NamedEntityState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - NamedEntityState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool NamedEntityState_IsValid(int value); -const NamedEntityState NamedEntityState_MIN = NAMED_ENTITY_ACTIVE; -const NamedEntityState NamedEntityState_MAX = SYSTEM_GENERATED; -const int NamedEntityState_ARRAYSIZE = NamedEntityState_MAX + 1; - -const ::google::protobuf::EnumDescriptor* NamedEntityState_descriptor(); -inline const ::std::string& NamedEntityState_Name(NamedEntityState value) { - return ::google::protobuf::internal::NameOfEnum( - NamedEntityState_descriptor(), value); -} -inline bool NamedEntityState_Parse( - const ::std::string& name, NamedEntityState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - NamedEntityState_descriptor(), name, value); -} -// =================================================================== - -class NamedEntityIdentifier final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityIdentifier) */ { - public: - NamedEntityIdentifier(); - virtual ~NamedEntityIdentifier(); - - NamedEntityIdentifier(const NamedEntityIdentifier& from); - - inline NamedEntityIdentifier& operator=(const NamedEntityIdentifier& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityIdentifier(NamedEntityIdentifier&& from) noexcept - : NamedEntityIdentifier() { - *this = ::std::move(from); - } - - inline NamedEntityIdentifier& operator=(NamedEntityIdentifier&& 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 NamedEntityIdentifier& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityIdentifier* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityIdentifier_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(NamedEntityIdentifier* other); - friend void swap(NamedEntityIdentifier& a, NamedEntityIdentifier& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityIdentifier* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityIdentifier* 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 NamedEntityIdentifier& from); - void MergeFrom(const NamedEntityIdentifier& 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(NamedEntityIdentifier* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string name = 3; - void clear_name(); - static const int kNameFieldNumber = 3; - 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 org = 4; - void clear_org(); - static const int kOrgFieldNumber = 4; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityIdentifier) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr org_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityMetadata) */ { - public: - NamedEntityMetadata(); - virtual ~NamedEntityMetadata(); - - NamedEntityMetadata(const NamedEntityMetadata& from); - - inline NamedEntityMetadata& operator=(const NamedEntityMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityMetadata(NamedEntityMetadata&& from) noexcept - : NamedEntityMetadata() { - *this = ::std::move(from); - } - - inline NamedEntityMetadata& operator=(NamedEntityMetadata&& 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 NamedEntityMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityMetadata* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(NamedEntityMetadata* other); - friend void swap(NamedEntityMetadata& a, NamedEntityMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityMetadata* 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 NamedEntityMetadata& from); - void MergeFrom(const NamedEntityMetadata& 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(NamedEntityMetadata* 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 description = 1; - void clear_description(); - static const int kDescriptionFieldNumber = 1; - const ::std::string& description() const; - void set_description(const ::std::string& value); - #if LANG_CXX11 - void set_description(::std::string&& value); - #endif - void set_description(const char* value); - void set_description(const char* value, size_t size); - ::std::string* mutable_description(); - ::std::string* release_description(); - void set_allocated_description(::std::string* description); - - // .flyteidl.admin.NamedEntityState state = 2; - void clear_state(); - static const int kStateFieldNumber = 2; - ::flyteidl::admin::NamedEntityState state() const; - void set_state(::flyteidl::admin::NamedEntityState value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr description_; - int state_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntity final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntity) */ { - public: - NamedEntity(); - virtual ~NamedEntity(); - - NamedEntity(const NamedEntity& from); - - inline NamedEntity& operator=(const NamedEntity& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntity(NamedEntity&& from) noexcept - : NamedEntity() { - *this = ::std::move(from); - } - - inline NamedEntity& operator=(NamedEntity&& 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 NamedEntity& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntity* internal_default_instance() { - return reinterpret_cast( - &_NamedEntity_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(NamedEntity* other); - friend void swap(NamedEntity& a, NamedEntity& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntity* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntity* 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 NamedEntity& from); - void MergeFrom(const NamedEntity& 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(NamedEntity* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 2; - const ::flyteidl::admin::NamedEntityIdentifier& id() const; - ::flyteidl::admin::NamedEntityIdentifier* release_id(); - ::flyteidl::admin::NamedEntityIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id); - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 3; - const ::flyteidl::admin::NamedEntityMetadata& metadata() const; - ::flyteidl::admin::NamedEntityMetadata* release_metadata(); - ::flyteidl::admin::NamedEntityMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::admin::NamedEntityMetadata* metadata); - - // .flyteidl.core.ResourceType resource_type = 1; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 1; - ::flyteidl::core::ResourceType resource_type() const; - void set_resource_type(::flyteidl::core::ResourceType value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntity) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::NamedEntityIdentifier* id_; - ::flyteidl::admin::NamedEntityMetadata* metadata_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class Sort final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Sort) */ { - public: - Sort(); - virtual ~Sort(); - - Sort(const Sort& from); - - inline Sort& operator=(const Sort& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Sort(Sort&& from) noexcept - : Sort() { - *this = ::std::move(from); - } - - inline Sort& operator=(Sort&& 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 Sort& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Sort* internal_default_instance() { - return reinterpret_cast( - &_Sort_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(Sort* other); - friend void swap(Sort& a, Sort& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Sort* New() const final { - return CreateMaybeMessage(nullptr); - } - - Sort* 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 Sort& from); - void MergeFrom(const Sort& 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(Sort* 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 Sort_Direction Direction; - static const Direction DESCENDING = - Sort_Direction_DESCENDING; - static const Direction ASCENDING = - Sort_Direction_ASCENDING; - static inline bool Direction_IsValid(int value) { - return Sort_Direction_IsValid(value); - } - static const Direction Direction_MIN = - Sort_Direction_Direction_MIN; - static const Direction Direction_MAX = - Sort_Direction_Direction_MAX; - static const int Direction_ARRAYSIZE = - Sort_Direction_Direction_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Direction_descriptor() { - return Sort_Direction_descriptor(); - } - static inline const ::std::string& Direction_Name(Direction value) { - return Sort_Direction_Name(value); - } - static inline bool Direction_Parse(const ::std::string& name, - Direction* value) { - return Sort_Direction_Parse(name, value); - } - - // 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); - - // .flyteidl.admin.Sort.Direction direction = 2; - void clear_direction(); - static const int kDirectionFieldNumber = 2; - ::flyteidl::admin::Sort_Direction direction() const; - void set_direction(::flyteidl::admin::Sort_Direction value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Sort) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr key_; - int direction_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityIdentifierListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityIdentifierListRequest) */ { - public: - NamedEntityIdentifierListRequest(); - virtual ~NamedEntityIdentifierListRequest(); - - NamedEntityIdentifierListRequest(const NamedEntityIdentifierListRequest& from); - - inline NamedEntityIdentifierListRequest& operator=(const NamedEntityIdentifierListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityIdentifierListRequest(NamedEntityIdentifierListRequest&& from) noexcept - : NamedEntityIdentifierListRequest() { - *this = ::std::move(from); - } - - inline NamedEntityIdentifierListRequest& operator=(NamedEntityIdentifierListRequest&& 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 NamedEntityIdentifierListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityIdentifierListRequest* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityIdentifierListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(NamedEntityIdentifierListRequest* other); - friend void swap(NamedEntityIdentifierListRequest& a, NamedEntityIdentifierListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityIdentifierListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityIdentifierListRequest* 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 NamedEntityIdentifierListRequest& from); - void MergeFrom(const NamedEntityIdentifierListRequest& 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(NamedEntityIdentifierListRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string token = 4; - void clear_token(); - static const int kTokenFieldNumber = 4; - 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); - - // string filters = 6; - void clear_filters(); - static const int kFiltersFieldNumber = 6; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // string org = 7; - void clear_org(); - static const int kOrgFieldNumber = 7; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.Sort sort_by = 5; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 5; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 3; - void clear_limit(); - static const int kLimitFieldNumber = 3; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityIdentifierListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityListRequest) */ { - public: - NamedEntityListRequest(); - virtual ~NamedEntityListRequest(); - - NamedEntityListRequest(const NamedEntityListRequest& from); - - inline NamedEntityListRequest& operator=(const NamedEntityListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityListRequest(NamedEntityListRequest&& from) noexcept - : NamedEntityListRequest() { - *this = ::std::move(from); - } - - inline NamedEntityListRequest& operator=(NamedEntityListRequest&& 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 NamedEntityListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityListRequest* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(NamedEntityListRequest* other); - friend void swap(NamedEntityListRequest& a, NamedEntityListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityListRequest* 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 NamedEntityListRequest& from); - void MergeFrom(const NamedEntityListRequest& 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(NamedEntityListRequest* 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 = 2; - void clear_project(); - static const int kProjectFieldNumber = 2; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 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 token = 5; - void clear_token(); - static const int kTokenFieldNumber = 5; - 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); - - // string filters = 7; - void clear_filters(); - static const int kFiltersFieldNumber = 7; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // string org = 8; - void clear_org(); - static const int kOrgFieldNumber = 8; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.Sort sort_by = 6; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 6; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // .flyteidl.core.ResourceType resource_type = 1; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 1; - ::flyteidl::core::ResourceType resource_type() const; - void set_resource_type(::flyteidl::core::ResourceType value); - - // uint32 limit = 4; - void clear_limit(); - static const int kLimitFieldNumber = 4; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::Sort* sort_by_; - int resource_type_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityIdentifierList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityIdentifierList) */ { - public: - NamedEntityIdentifierList(); - virtual ~NamedEntityIdentifierList(); - - NamedEntityIdentifierList(const NamedEntityIdentifierList& from); - - inline NamedEntityIdentifierList& operator=(const NamedEntityIdentifierList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityIdentifierList(NamedEntityIdentifierList&& from) noexcept - : NamedEntityIdentifierList() { - *this = ::std::move(from); - } - - inline NamedEntityIdentifierList& operator=(NamedEntityIdentifierList&& 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 NamedEntityIdentifierList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityIdentifierList* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityIdentifierList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(NamedEntityIdentifierList* other); - friend void swap(NamedEntityIdentifierList& a, NamedEntityIdentifierList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityIdentifierList* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityIdentifierList* 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 NamedEntityIdentifierList& from); - void MergeFrom(const NamedEntityIdentifierList& 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(NamedEntityIdentifierList* 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.admin.NamedEntityIdentifier entities = 1; - int entities_size() const; - void clear_entities(); - static const int kEntitiesFieldNumber = 1; - ::flyteidl::admin::NamedEntityIdentifier* mutable_entities(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntityIdentifier >* - mutable_entities(); - const ::flyteidl::admin::NamedEntityIdentifier& entities(int index) const; - ::flyteidl::admin::NamedEntityIdentifier* add_entities(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntityIdentifier >& - entities() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityIdentifierList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntityIdentifier > entities_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityList) */ { - public: - NamedEntityList(); - virtual ~NamedEntityList(); - - NamedEntityList(const NamedEntityList& from); - - inline NamedEntityList& operator=(const NamedEntityList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityList(NamedEntityList&& from) noexcept - : NamedEntityList() { - *this = ::std::move(from); - } - - inline NamedEntityList& operator=(NamedEntityList&& 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 NamedEntityList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityList* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(NamedEntityList* other); - friend void swap(NamedEntityList& a, NamedEntityList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityList* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityList* 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 NamedEntityList& from); - void MergeFrom(const NamedEntityList& 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(NamedEntityList* 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.admin.NamedEntity entities = 1; - int entities_size() const; - void clear_entities(); - static const int kEntitiesFieldNumber = 1; - ::flyteidl::admin::NamedEntity* mutable_entities(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntity >* - mutable_entities(); - const ::flyteidl::admin::NamedEntity& entities(int index) const; - ::flyteidl::admin::NamedEntity* add_entities(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntity >& - entities() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntity > entities_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityGetRequest) */ { - public: - NamedEntityGetRequest(); - virtual ~NamedEntityGetRequest(); - - NamedEntityGetRequest(const NamedEntityGetRequest& from); - - inline NamedEntityGetRequest& operator=(const NamedEntityGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityGetRequest(NamedEntityGetRequest&& from) noexcept - : NamedEntityGetRequest() { - *this = ::std::move(from); - } - - inline NamedEntityGetRequest& operator=(NamedEntityGetRequest&& 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 NamedEntityGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityGetRequest* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(NamedEntityGetRequest* other); - friend void swap(NamedEntityGetRequest& a, NamedEntityGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityGetRequest* 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 NamedEntityGetRequest& from); - void MergeFrom(const NamedEntityGetRequest& 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(NamedEntityGetRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 2; - const ::flyteidl::admin::NamedEntityIdentifier& id() const; - ::flyteidl::admin::NamedEntityIdentifier* release_id(); - ::flyteidl::admin::NamedEntityIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id); - - // .flyteidl.core.ResourceType resource_type = 1; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 1; - ::flyteidl::core::ResourceType resource_type() const; - void set_resource_type(::flyteidl::core::ResourceType value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::NamedEntityIdentifier* id_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityUpdateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityUpdateRequest) */ { - public: - NamedEntityUpdateRequest(); - virtual ~NamedEntityUpdateRequest(); - - NamedEntityUpdateRequest(const NamedEntityUpdateRequest& from); - - inline NamedEntityUpdateRequest& operator=(const NamedEntityUpdateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityUpdateRequest(NamedEntityUpdateRequest&& from) noexcept - : NamedEntityUpdateRequest() { - *this = ::std::move(from); - } - - inline NamedEntityUpdateRequest& operator=(NamedEntityUpdateRequest&& 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 NamedEntityUpdateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityUpdateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(NamedEntityUpdateRequest* other); - friend void swap(NamedEntityUpdateRequest& a, NamedEntityUpdateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityUpdateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityUpdateRequest* 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 NamedEntityUpdateRequest& from); - void MergeFrom(const NamedEntityUpdateRequest& 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(NamedEntityUpdateRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 2; - const ::flyteidl::admin::NamedEntityIdentifier& id() const; - ::flyteidl::admin::NamedEntityIdentifier* release_id(); - ::flyteidl::admin::NamedEntityIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id); - - // .flyteidl.admin.NamedEntityMetadata metadata = 3; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 3; - const ::flyteidl::admin::NamedEntityMetadata& metadata() const; - ::flyteidl::admin::NamedEntityMetadata* release_metadata(); - ::flyteidl::admin::NamedEntityMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::admin::NamedEntityMetadata* metadata); - - // .flyteidl.core.ResourceType resource_type = 1; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 1; - ::flyteidl::core::ResourceType resource_type() const; - void set_resource_type(::flyteidl::core::ResourceType value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityUpdateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::NamedEntityIdentifier* id_; - ::flyteidl::admin::NamedEntityMetadata* metadata_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class NamedEntityUpdateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NamedEntityUpdateResponse) */ { - public: - NamedEntityUpdateResponse(); - virtual ~NamedEntityUpdateResponse(); - - NamedEntityUpdateResponse(const NamedEntityUpdateResponse& from); - - inline NamedEntityUpdateResponse& operator=(const NamedEntityUpdateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NamedEntityUpdateResponse(NamedEntityUpdateResponse&& from) noexcept - : NamedEntityUpdateResponse() { - *this = ::std::move(from); - } - - inline NamedEntityUpdateResponse& operator=(NamedEntityUpdateResponse&& 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 NamedEntityUpdateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NamedEntityUpdateResponse* internal_default_instance() { - return reinterpret_cast( - &_NamedEntityUpdateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(NamedEntityUpdateResponse* other); - friend void swap(NamedEntityUpdateResponse& a, NamedEntityUpdateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NamedEntityUpdateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - NamedEntityUpdateResponse* 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 NamedEntityUpdateResponse& from); - void MergeFrom(const NamedEntityUpdateResponse& 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(NamedEntityUpdateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityUpdateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class ObjectGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ObjectGetRequest) */ { - public: - ObjectGetRequest(); - virtual ~ObjectGetRequest(); - - ObjectGetRequest(const ObjectGetRequest& from); - - inline ObjectGetRequest& operator=(const ObjectGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ObjectGetRequest(ObjectGetRequest&& from) noexcept - : ObjectGetRequest() { - *this = ::std::move(from); - } - - inline ObjectGetRequest& operator=(ObjectGetRequest&& 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 ObjectGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ObjectGetRequest* internal_default_instance() { - return reinterpret_cast( - &_ObjectGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(ObjectGetRequest* other); - friend void swap(ObjectGetRequest& a, ObjectGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ObjectGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ObjectGetRequest* 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 ObjectGetRequest& from); - void MergeFrom(const ObjectGetRequest& 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(ObjectGetRequest* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ObjectGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class ResourceListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ResourceListRequest) */ { - public: - ResourceListRequest(); - virtual ~ResourceListRequest(); - - ResourceListRequest(const ResourceListRequest& from); - - inline ResourceListRequest& operator=(const ResourceListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ResourceListRequest(ResourceListRequest&& from) noexcept - : ResourceListRequest() { - *this = ::std::move(from); - } - - inline ResourceListRequest& operator=(ResourceListRequest&& 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 ResourceListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ResourceListRequest* internal_default_instance() { - return reinterpret_cast( - &_ResourceListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(ResourceListRequest* other); - friend void swap(ResourceListRequest& a, ResourceListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ResourceListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ResourceListRequest* 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 ResourceListRequest& from); - void MergeFrom(const ResourceListRequest& 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(ResourceListRequest* 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 token = 3; - void clear_token(); - static const int kTokenFieldNumber = 3; - 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); - - // string filters = 4; - void clear_filters(); - static const int kFiltersFieldNumber = 4; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::admin::NamedEntityIdentifier& id() const; - ::flyteidl::admin::NamedEntityIdentifier* release_id(); - ::flyteidl::admin::NamedEntityIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id); - - // .flyteidl.admin.Sort sort_by = 5; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 5; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 2; - void clear_limit(); - static const int kLimitFieldNumber = 2; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ResourceListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::flyteidl::admin::NamedEntityIdentifier* id_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class EmailNotification final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.EmailNotification) */ { - public: - EmailNotification(); - virtual ~EmailNotification(); - - EmailNotification(const EmailNotification& from); - - inline EmailNotification& operator=(const EmailNotification& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - EmailNotification(EmailNotification&& from) noexcept - : EmailNotification() { - *this = ::std::move(from); - } - - inline EmailNotification& operator=(EmailNotification&& 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 EmailNotification& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EmailNotification* internal_default_instance() { - return reinterpret_cast( - &_EmailNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - void Swap(EmailNotification* other); - friend void swap(EmailNotification& a, EmailNotification& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline EmailNotification* New() const final { - return CreateMaybeMessage(nullptr); - } - - EmailNotification* 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 EmailNotification& from); - void MergeFrom(const EmailNotification& 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(EmailNotification* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string recipients_email = 1; - int recipients_email_size() const; - void clear_recipients_email(); - static const int kRecipientsEmailFieldNumber = 1; - const ::std::string& recipients_email(int index) const; - ::std::string* mutable_recipients_email(int index); - void set_recipients_email(int index, const ::std::string& value); - #if LANG_CXX11 - void set_recipients_email(int index, ::std::string&& value); - #endif - void set_recipients_email(int index, const char* value); - void set_recipients_email(int index, const char* value, size_t size); - ::std::string* add_recipients_email(); - void add_recipients_email(const ::std::string& value); - #if LANG_CXX11 - void add_recipients_email(::std::string&& value); - #endif - void add_recipients_email(const char* value); - void add_recipients_email(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& recipients_email() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_recipients_email(); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EmailNotification) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> recipients_email_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class PagerDutyNotification final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.PagerDutyNotification) */ { - public: - PagerDutyNotification(); - virtual ~PagerDutyNotification(); - - PagerDutyNotification(const PagerDutyNotification& from); - - inline PagerDutyNotification& operator=(const PagerDutyNotification& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PagerDutyNotification(PagerDutyNotification&& from) noexcept - : PagerDutyNotification() { - *this = ::std::move(from); - } - - inline PagerDutyNotification& operator=(PagerDutyNotification&& 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 PagerDutyNotification& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PagerDutyNotification* internal_default_instance() { - return reinterpret_cast( - &_PagerDutyNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - void Swap(PagerDutyNotification* other); - friend void swap(PagerDutyNotification& a, PagerDutyNotification& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PagerDutyNotification* New() const final { - return CreateMaybeMessage(nullptr); - } - - PagerDutyNotification* 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 PagerDutyNotification& from); - void MergeFrom(const PagerDutyNotification& 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(PagerDutyNotification* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string recipients_email = 1; - int recipients_email_size() const; - void clear_recipients_email(); - static const int kRecipientsEmailFieldNumber = 1; - const ::std::string& recipients_email(int index) const; - ::std::string* mutable_recipients_email(int index); - void set_recipients_email(int index, const ::std::string& value); - #if LANG_CXX11 - void set_recipients_email(int index, ::std::string&& value); - #endif - void set_recipients_email(int index, const char* value); - void set_recipients_email(int index, const char* value, size_t size); - ::std::string* add_recipients_email(); - void add_recipients_email(const ::std::string& value); - #if LANG_CXX11 - void add_recipients_email(::std::string&& value); - #endif - void add_recipients_email(const char* value); - void add_recipients_email(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& recipients_email() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_recipients_email(); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.PagerDutyNotification) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> recipients_email_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class SlackNotification final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SlackNotification) */ { - public: - SlackNotification(); - virtual ~SlackNotification(); - - SlackNotification(const SlackNotification& from); - - inline SlackNotification& operator=(const SlackNotification& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SlackNotification(SlackNotification&& from) noexcept - : SlackNotification() { - *this = ::std::move(from); - } - - inline SlackNotification& operator=(SlackNotification&& 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 SlackNotification& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SlackNotification* internal_default_instance() { - return reinterpret_cast( - &_SlackNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - void Swap(SlackNotification* other); - friend void swap(SlackNotification& a, SlackNotification& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SlackNotification* New() const final { - return CreateMaybeMessage(nullptr); - } - - SlackNotification* 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 SlackNotification& from); - void MergeFrom(const SlackNotification& 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(SlackNotification* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string recipients_email = 1; - int recipients_email_size() const; - void clear_recipients_email(); - static const int kRecipientsEmailFieldNumber = 1; - const ::std::string& recipients_email(int index) const; - ::std::string* mutable_recipients_email(int index); - void set_recipients_email(int index, const ::std::string& value); - #if LANG_CXX11 - void set_recipients_email(int index, ::std::string&& value); - #endif - void set_recipients_email(int index, const char* value); - void set_recipients_email(int index, const char* value, size_t size); - ::std::string* add_recipients_email(); - void add_recipients_email(const ::std::string& value); - #if LANG_CXX11 - void add_recipients_email(::std::string&& value); - #endif - void add_recipients_email(const char* value); - void add_recipients_email(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& recipients_email() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_recipients_email(); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SlackNotification) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> recipients_email_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class Notification final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Notification) */ { - public: - Notification(); - virtual ~Notification(); - - Notification(const Notification& from); - - inline Notification& operator=(const Notification& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Notification(Notification&& from) noexcept - : Notification() { - *this = ::std::move(from); - } - - inline Notification& operator=(Notification&& 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 Notification& default_instance(); - - enum TypeCase { - kEmail = 2, - kPagerDuty = 3, - kSlack = 4, - TYPE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Notification* internal_default_instance() { - return reinterpret_cast( - &_Notification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - void Swap(Notification* other); - friend void swap(Notification& a, Notification& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Notification* New() const final { - return CreateMaybeMessage(nullptr); - } - - Notification* 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 Notification& from); - void MergeFrom(const Notification& 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(Notification* 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.WorkflowExecution.Phase phases = 1; - int phases_size() const; - void clear_phases(); - static const int kPhasesFieldNumber = 1; - ::flyteidl::core::WorkflowExecution_Phase phases(int index) const; - void set_phases(int index, ::flyteidl::core::WorkflowExecution_Phase value); - void add_phases(::flyteidl::core::WorkflowExecution_Phase value); - const ::google::protobuf::RepeatedField& phases() const; - ::google::protobuf::RepeatedField* mutable_phases(); - - // .flyteidl.admin.EmailNotification email = 2; - bool has_email() const; - void clear_email(); - static const int kEmailFieldNumber = 2; - const ::flyteidl::admin::EmailNotification& email() const; - ::flyteidl::admin::EmailNotification* release_email(); - ::flyteidl::admin::EmailNotification* mutable_email(); - void set_allocated_email(::flyteidl::admin::EmailNotification* email); - - // .flyteidl.admin.PagerDutyNotification pager_duty = 3; - bool has_pager_duty() const; - void clear_pager_duty(); - static const int kPagerDutyFieldNumber = 3; - const ::flyteidl::admin::PagerDutyNotification& pager_duty() const; - ::flyteidl::admin::PagerDutyNotification* release_pager_duty(); - ::flyteidl::admin::PagerDutyNotification* mutable_pager_duty(); - void set_allocated_pager_duty(::flyteidl::admin::PagerDutyNotification* pager_duty); - - // .flyteidl.admin.SlackNotification slack = 4; - bool has_slack() const; - void clear_slack(); - static const int kSlackFieldNumber = 4; - const ::flyteidl::admin::SlackNotification& slack() const; - ::flyteidl::admin::SlackNotification* release_slack(); - ::flyteidl::admin::SlackNotification* mutable_slack(); - void set_allocated_slack(::flyteidl::admin::SlackNotification* slack); - - void clear_type(); - TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.Notification) - private: - class HasBitSetters; - void set_has_email(); - void set_has_pager_duty(); - void set_has_slack(); - - inline bool has_type() const; - inline void clear_has_type(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedField phases_; - mutable std::atomic _phases_cached_byte_size_; - union TypeUnion { - TypeUnion() {} - ::flyteidl::admin::EmailNotification* email_; - ::flyteidl::admin::PagerDutyNotification* pager_duty_; - ::flyteidl::admin::SlackNotification* slack_; - } type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class UrlBlob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.UrlBlob) */ { - public: - UrlBlob(); - virtual ~UrlBlob(); - - UrlBlob(const UrlBlob& from); - - inline UrlBlob& operator=(const UrlBlob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UrlBlob(UrlBlob&& from) noexcept - : UrlBlob() { - *this = ::std::move(from); - } - - inline UrlBlob& operator=(UrlBlob&& 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 UrlBlob& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UrlBlob* internal_default_instance() { - return reinterpret_cast( - &_UrlBlob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - void Swap(UrlBlob* other); - friend void swap(UrlBlob& a, UrlBlob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UrlBlob* New() const final { - return CreateMaybeMessage(nullptr); - } - - UrlBlob* 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 UrlBlob& from); - void MergeFrom(const UrlBlob& 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(UrlBlob* 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 url = 1; - void clear_url(); - static const int kUrlFieldNumber = 1; - const ::std::string& url() const; - void set_url(const ::std::string& value); - #if LANG_CXX11 - void set_url(::std::string&& value); - #endif - void set_url(const char* value); - void set_url(const char* value, size_t size); - ::std::string* mutable_url(); - ::std::string* release_url(); - void set_allocated_url(::std::string* url); - - // int64 bytes = 2; - void clear_bytes(); - static const int kBytesFieldNumber = 2; - ::google::protobuf::int64 bytes() const; - void set_bytes(::google::protobuf::int64 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.UrlBlob) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr url_; - ::google::protobuf::int64 bytes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class Labels_ValuesEntry_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; - Labels_ValuesEntry_DoNotUse(); - Labels_ValuesEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const Labels_ValuesEntry_DoNotUse& other); - static const Labels_ValuesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Labels_ValuesEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class Labels final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Labels) */ { - public: - Labels(); - virtual ~Labels(); - - Labels(const Labels& from); - - inline Labels& operator=(const Labels& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Labels(Labels&& from) noexcept - : Labels() { - *this = ::std::move(from); - } - - inline Labels& operator=(Labels&& 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 Labels& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Labels* internal_default_instance() { - return reinterpret_cast( - &_Labels_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - void Swap(Labels* other); - friend void swap(Labels& a, Labels& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Labels* New() const final { - return CreateMaybeMessage(nullptr); - } - - Labels* 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 Labels& from); - void MergeFrom(const Labels& 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(Labels* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map values = 1; - int values_size() const; - void clear_values(); - static const int kValuesFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::std::string >& - values() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_values(); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Labels) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - Labels_ValuesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > values_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class Annotations_ValuesEntry_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; - Annotations_ValuesEntry_DoNotUse(); - Annotations_ValuesEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const Annotations_ValuesEntry_DoNotUse& other); - static const Annotations_ValuesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Annotations_ValuesEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class Annotations final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Annotations) */ { - public: - Annotations(); - virtual ~Annotations(); - - Annotations(const Annotations& from); - - inline Annotations& operator=(const Annotations& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Annotations(Annotations&& from) noexcept - : Annotations() { - *this = ::std::move(from); - } - - inline Annotations& operator=(Annotations&& 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 Annotations& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Annotations* internal_default_instance() { - return reinterpret_cast( - &_Annotations_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - void Swap(Annotations* other); - friend void swap(Annotations& a, Annotations& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Annotations* New() const final { - return CreateMaybeMessage(nullptr); - } - - Annotations* 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 Annotations& from); - void MergeFrom(const Annotations& 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(Annotations* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map values = 1; - int values_size() const; - void clear_values(); - static const int kValuesFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::std::string >& - values() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_values(); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Annotations) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - Annotations_ValuesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > values_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class Envs final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Envs) */ { - public: - Envs(); - virtual ~Envs(); - - Envs(const Envs& from); - - inline Envs& operator=(const Envs& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Envs(Envs&& from) noexcept - : Envs() { - *this = ::std::move(from); - } - - inline Envs& operator=(Envs&& 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 Envs& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Envs* internal_default_instance() { - return reinterpret_cast( - &_Envs_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - void Swap(Envs* other); - friend void swap(Envs& a, Envs& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Envs* New() const final { - return CreateMaybeMessage(nullptr); - } - - Envs* 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 Envs& from); - void MergeFrom(const Envs& 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(Envs* 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.KeyValuePair values = 1; - int values_size() const; - void clear_values(); - static const int kValuesFieldNumber = 1; - ::flyteidl::core::KeyValuePair* mutable_values(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* - mutable_values(); - const ::flyteidl::core::KeyValuePair& values(int index) const; - ::flyteidl::core::KeyValuePair* add_values(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& - values() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Envs) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair > values_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class AuthRole final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.AuthRole) */ { - public: - AuthRole(); - virtual ~AuthRole(); - - AuthRole(const AuthRole& from); - - inline AuthRole& operator=(const AuthRole& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AuthRole(AuthRole&& from) noexcept - : AuthRole() { - *this = ::std::move(from); - } - - inline AuthRole& operator=(AuthRole&& 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 AuthRole& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AuthRole* internal_default_instance() { - return reinterpret_cast( - &_AuthRole_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - void Swap(AuthRole* other); - friend void swap(AuthRole& a, AuthRole& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AuthRole* New() const final { - return CreateMaybeMessage(nullptr); - } - - AuthRole* 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 AuthRole& from); - void MergeFrom(const AuthRole& 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(AuthRole* 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 assumable_iam_role = 1; - void clear_assumable_iam_role(); - static const int kAssumableIamRoleFieldNumber = 1; - const ::std::string& assumable_iam_role() const; - void set_assumable_iam_role(const ::std::string& value); - #if LANG_CXX11 - void set_assumable_iam_role(::std::string&& value); - #endif - void set_assumable_iam_role(const char* value); - void set_assumable_iam_role(const char* value, size_t size); - ::std::string* mutable_assumable_iam_role(); - ::std::string* release_assumable_iam_role(); - void set_allocated_assumable_iam_role(::std::string* assumable_iam_role); - - // string kubernetes_service_account = 2; - void clear_kubernetes_service_account(); - static const int kKubernetesServiceAccountFieldNumber = 2; - const ::std::string& kubernetes_service_account() const; - void set_kubernetes_service_account(const ::std::string& value); - #if LANG_CXX11 - void set_kubernetes_service_account(::std::string&& value); - #endif - void set_kubernetes_service_account(const char* value); - void set_kubernetes_service_account(const char* value, size_t size); - ::std::string* mutable_kubernetes_service_account(); - ::std::string* release_kubernetes_service_account(); - void set_allocated_kubernetes_service_account(::std::string* kubernetes_service_account); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.AuthRole) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr assumable_iam_role_; - ::google::protobuf::internal::ArenaStringPtr kubernetes_service_account_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class RawOutputDataConfig final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.RawOutputDataConfig) */ { - public: - RawOutputDataConfig(); - virtual ~RawOutputDataConfig(); - - RawOutputDataConfig(const RawOutputDataConfig& from); - - inline RawOutputDataConfig& operator=(const RawOutputDataConfig& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RawOutputDataConfig(RawOutputDataConfig&& from) noexcept - : RawOutputDataConfig() { - *this = ::std::move(from); - } - - inline RawOutputDataConfig& operator=(RawOutputDataConfig&& 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 RawOutputDataConfig& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RawOutputDataConfig* internal_default_instance() { - return reinterpret_cast( - &_RawOutputDataConfig_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - void Swap(RawOutputDataConfig* other); - friend void swap(RawOutputDataConfig& a, RawOutputDataConfig& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RawOutputDataConfig* New() const final { - return CreateMaybeMessage(nullptr); - } - - RawOutputDataConfig* 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 RawOutputDataConfig& from); - void MergeFrom(const RawOutputDataConfig& 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(RawOutputDataConfig* 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 output_location_prefix = 1; - void clear_output_location_prefix(); - static const int kOutputLocationPrefixFieldNumber = 1; - const ::std::string& output_location_prefix() const; - void set_output_location_prefix(const ::std::string& value); - #if LANG_CXX11 - void set_output_location_prefix(::std::string&& value); - #endif - void set_output_location_prefix(const char* value); - void set_output_location_prefix(const char* value, size_t size); - ::std::string* mutable_output_location_prefix(); - ::std::string* release_output_location_prefix(); - void set_allocated_output_location_prefix(::std::string* output_location_prefix); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.RawOutputDataConfig) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr output_location_prefix_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// ------------------------------------------------------------------- - -class FlyteURLs final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.FlyteURLs) */ { - public: - FlyteURLs(); - virtual ~FlyteURLs(); - - FlyteURLs(const FlyteURLs& from); - - inline FlyteURLs& operator=(const FlyteURLs& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - FlyteURLs(FlyteURLs&& from) noexcept - : FlyteURLs() { - *this = ::std::move(from); - } - - inline FlyteURLs& operator=(FlyteURLs&& 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 FlyteURLs& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const FlyteURLs* internal_default_instance() { - return reinterpret_cast( - &_FlyteURLs_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - void Swap(FlyteURLs* other); - friend void swap(FlyteURLs& a, FlyteURLs& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline FlyteURLs* New() const final { - return CreateMaybeMessage(nullptr); - } - - FlyteURLs* 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 FlyteURLs& from); - void MergeFrom(const FlyteURLs& 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(FlyteURLs* 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 inputs = 1; - void clear_inputs(); - static const int kInputsFieldNumber = 1; - const ::std::string& inputs() const; - void set_inputs(const ::std::string& value); - #if LANG_CXX11 - void set_inputs(::std::string&& value); - #endif - void set_inputs(const char* value); - void set_inputs(const char* value, size_t size); - ::std::string* mutable_inputs(); - ::std::string* release_inputs(); - void set_allocated_inputs(::std::string* inputs); - - // string outputs = 2; - void clear_outputs(); - static const int kOutputsFieldNumber = 2; - const ::std::string& outputs() const; - void set_outputs(const ::std::string& value); - #if LANG_CXX11 - void set_outputs(::std::string&& value); - #endif - void set_outputs(const char* value); - void set_outputs(const char* value, size_t size); - ::std::string* mutable_outputs(); - ::std::string* release_outputs(); - void set_allocated_outputs(::std::string* outputs); - - // string deck = 3; - void clear_deck(); - static const int kDeckFieldNumber = 3; - const ::std::string& deck() const; - void set_deck(const ::std::string& value); - #if LANG_CXX11 - void set_deck(::std::string&& value); - #endif - void set_deck(const char* value); - void set_deck(const char* value, size_t size); - ::std::string* mutable_deck(); - ::std::string* release_deck(); - void set_allocated_deck(::std::string* deck); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.FlyteURLs) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr inputs_; - ::google::protobuf::internal::ArenaStringPtr outputs_; - ::google::protobuf::internal::ArenaStringPtr deck_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// NamedEntityIdentifier - -// string project = 1; -inline void NamedEntityIdentifier::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifier::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifier.project) - return project_.GetNoArena(); -} -inline void NamedEntityIdentifier::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifier.project) -} -#if LANG_CXX11 -inline void NamedEntityIdentifier::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifier.project) -} -#endif -inline void NamedEntityIdentifier::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifier.project) -} -inline void NamedEntityIdentifier::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifier.project) -} -inline ::std::string* NamedEntityIdentifier::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifier.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifier::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifier.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifier::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifier.project) -} - -// string domain = 2; -inline void NamedEntityIdentifier::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifier::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifier.domain) - return domain_.GetNoArena(); -} -inline void NamedEntityIdentifier::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifier.domain) -} -#if LANG_CXX11 -inline void NamedEntityIdentifier::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifier.domain) -} -#endif -inline void NamedEntityIdentifier::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifier.domain) -} -inline void NamedEntityIdentifier::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifier.domain) -} -inline ::std::string* NamedEntityIdentifier::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifier.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifier::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifier.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifier::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifier.domain) -} - -// string name = 3; -inline void NamedEntityIdentifier::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifier::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifier.name) - return name_.GetNoArena(); -} -inline void NamedEntityIdentifier::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifier.name) -} -#if LANG_CXX11 -inline void NamedEntityIdentifier::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifier.name) -} -#endif -inline void NamedEntityIdentifier::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifier.name) -} -inline void NamedEntityIdentifier::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifier.name) -} -inline ::std::string* NamedEntityIdentifier::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifier.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifier::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifier.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifier::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifier.name) -} - -// string org = 4; -inline void NamedEntityIdentifier::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifier::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifier.org) - return org_.GetNoArena(); -} -inline void NamedEntityIdentifier::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifier.org) -} -#if LANG_CXX11 -inline void NamedEntityIdentifier::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifier.org) -} -#endif -inline void NamedEntityIdentifier::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifier.org) -} -inline void NamedEntityIdentifier::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifier.org) -} -inline ::std::string* NamedEntityIdentifier::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifier.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifier::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifier.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifier::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifier.org) -} - -// ------------------------------------------------------------------- - -// NamedEntityMetadata - -// string description = 1; -inline void NamedEntityMetadata::clear_description() { - description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityMetadata::description() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityMetadata.description) - return description_.GetNoArena(); -} -inline void NamedEntityMetadata::set_description(const ::std::string& value) { - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityMetadata.description) -} -#if LANG_CXX11 -inline void NamedEntityMetadata::set_description(::std::string&& value) { - - description_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityMetadata.description) -} -#endif -inline void NamedEntityMetadata::set_description(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityMetadata.description) -} -inline void NamedEntityMetadata::set_description(const char* value, size_t size) { - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityMetadata.description) -} -inline ::std::string* NamedEntityMetadata::mutable_description() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityMetadata.description) - return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityMetadata::release_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityMetadata.description) - - return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityMetadata::set_allocated_description(::std::string* description) { - if (description != nullptr) { - - } else { - - } - description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityMetadata.description) -} - -// .flyteidl.admin.NamedEntityState state = 2; -inline void NamedEntityMetadata::clear_state() { - state_ = 0; -} -inline ::flyteidl::admin::NamedEntityState NamedEntityMetadata::state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityMetadata.state) - return static_cast< ::flyteidl::admin::NamedEntityState >(state_); -} -inline void NamedEntityMetadata::set_state(::flyteidl::admin::NamedEntityState value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityMetadata.state) -} - -// ------------------------------------------------------------------- - -// NamedEntity - -// .flyteidl.core.ResourceType resource_type = 1; -inline void NamedEntity::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::core::ResourceType NamedEntity::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntity.resource_type) - return static_cast< ::flyteidl::core::ResourceType >(resource_type_); -} -inline void NamedEntity::set_resource_type(::flyteidl::core::ResourceType value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntity.resource_type) -} - -// .flyteidl.admin.NamedEntityIdentifier id = 2; -inline bool NamedEntity::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline void NamedEntity::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -inline const ::flyteidl::admin::NamedEntityIdentifier& NamedEntity::id() const { - const ::flyteidl::admin::NamedEntityIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntity.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityIdentifier_default_instance_); -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntity::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntity.id) - - ::flyteidl::admin::NamedEntityIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntity::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntity.id) - return id_; -} -inline void NamedEntity::set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete id_; - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntity.id) -} - -// .flyteidl.admin.NamedEntityMetadata metadata = 3; -inline bool NamedEntity::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void NamedEntity::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::admin::NamedEntityMetadata& NamedEntity::metadata() const { - const ::flyteidl::admin::NamedEntityMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntity.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityMetadata_default_instance_); -} -inline ::flyteidl::admin::NamedEntityMetadata* NamedEntity::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntity.metadata) - - ::flyteidl::admin::NamedEntityMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityMetadata* NamedEntity::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntity.metadata) - return metadata_; -} -inline void NamedEntity::set_allocated_metadata(::flyteidl::admin::NamedEntityMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntity.metadata) -} - -// ------------------------------------------------------------------- - -// Sort - -// string key = 1; -inline void Sort::clear_key() { - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Sort::key() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Sort.key) - return key_.GetNoArena(); -} -inline void Sort::set_key(const ::std::string& value) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Sort.key) -} -#if LANG_CXX11 -inline void Sort::set_key(::std::string&& value) { - - key_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Sort.key) -} -#endif -inline void Sort::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Sort.key) -} -inline void Sort::set_key(const char* value, size_t size) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Sort.key) -} -inline ::std::string* Sort::mutable_key() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Sort.key) - return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Sort::release_key() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Sort.key) - - return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Sort::set_allocated_key(::std::string* key) { - if (key != nullptr) { - - } else { - - } - key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Sort.key) -} - -// .flyteidl.admin.Sort.Direction direction = 2; -inline void Sort::clear_direction() { - direction_ = 0; -} -inline ::flyteidl::admin::Sort_Direction Sort::direction() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Sort.direction) - return static_cast< ::flyteidl::admin::Sort_Direction >(direction_); -} -inline void Sort::set_direction(::flyteidl::admin::Sort_Direction value) { - - direction_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.Sort.direction) -} - -// ------------------------------------------------------------------- - -// NamedEntityIdentifierListRequest - -// string project = 1; -inline void NamedEntityIdentifierListRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifierListRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierListRequest.project) - return project_.GetNoArena(); -} -inline void NamedEntityIdentifierListRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifierListRequest.project) -} -#if LANG_CXX11 -inline void NamedEntityIdentifierListRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifierListRequest.project) -} -#endif -inline void NamedEntityIdentifierListRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifierListRequest.project) -} -inline void NamedEntityIdentifierListRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifierListRequest.project) -} -inline ::std::string* NamedEntityIdentifierListRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierListRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifierListRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifierListRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifierListRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifierListRequest.project) -} - -// string domain = 2; -inline void NamedEntityIdentifierListRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifierListRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierListRequest.domain) - return domain_.GetNoArena(); -} -inline void NamedEntityIdentifierListRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifierListRequest.domain) -} -#if LANG_CXX11 -inline void NamedEntityIdentifierListRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifierListRequest.domain) -} -#endif -inline void NamedEntityIdentifierListRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifierListRequest.domain) -} -inline void NamedEntityIdentifierListRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifierListRequest.domain) -} -inline ::std::string* NamedEntityIdentifierListRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierListRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifierListRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifierListRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifierListRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifierListRequest.domain) -} - -// uint32 limit = 3; -inline void NamedEntityIdentifierListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 NamedEntityIdentifierListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierListRequest.limit) - return limit_; -} -inline void NamedEntityIdentifierListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifierListRequest.limit) -} - -// string token = 4; -inline void NamedEntityIdentifierListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifierListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierListRequest.token) - return token_.GetNoArena(); -} -inline void NamedEntityIdentifierListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifierListRequest.token) -} -#if LANG_CXX11 -inline void NamedEntityIdentifierListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifierListRequest.token) -} -#endif -inline void NamedEntityIdentifierListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifierListRequest.token) -} -inline void NamedEntityIdentifierListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifierListRequest.token) -} -inline ::std::string* NamedEntityIdentifierListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifierListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifierListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifierListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifierListRequest.token) -} - -// .flyteidl.admin.Sort sort_by = 5; -inline bool NamedEntityIdentifierListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline void NamedEntityIdentifierListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -inline const ::flyteidl::admin::Sort& NamedEntityIdentifierListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* NamedEntityIdentifierListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifierListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* NamedEntityIdentifierListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierListRequest.sort_by) - return sort_by_; -} -inline void NamedEntityIdentifierListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete sort_by_; - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifierListRequest.sort_by) -} - -// string filters = 6; -inline void NamedEntityIdentifierListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifierListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierListRequest.filters) - return filters_.GetNoArena(); -} -inline void NamedEntityIdentifierListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifierListRequest.filters) -} -#if LANG_CXX11 -inline void NamedEntityIdentifierListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifierListRequest.filters) -} -#endif -inline void NamedEntityIdentifierListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifierListRequest.filters) -} -inline void NamedEntityIdentifierListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifierListRequest.filters) -} -inline ::std::string* NamedEntityIdentifierListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifierListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifierListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifierListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifierListRequest.filters) -} - -// string org = 7; -inline void NamedEntityIdentifierListRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifierListRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierListRequest.org) - return org_.GetNoArena(); -} -inline void NamedEntityIdentifierListRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifierListRequest.org) -} -#if LANG_CXX11 -inline void NamedEntityIdentifierListRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifierListRequest.org) -} -#endif -inline void NamedEntityIdentifierListRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifierListRequest.org) -} -inline void NamedEntityIdentifierListRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifierListRequest.org) -} -inline ::std::string* NamedEntityIdentifierListRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierListRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifierListRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifierListRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifierListRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifierListRequest.org) -} - -// ------------------------------------------------------------------- - -// NamedEntityListRequest - -// .flyteidl.core.ResourceType resource_type = 1; -inline void NamedEntityListRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::core::ResourceType NamedEntityListRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.resource_type) - return static_cast< ::flyteidl::core::ResourceType >(resource_type_); -} -inline void NamedEntityListRequest::set_resource_type(::flyteidl::core::ResourceType value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityListRequest.resource_type) -} - -// string project = 2; -inline void NamedEntityListRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityListRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.project) - return project_.GetNoArena(); -} -inline void NamedEntityListRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityListRequest.project) -} -#if LANG_CXX11 -inline void NamedEntityListRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityListRequest.project) -} -#endif -inline void NamedEntityListRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityListRequest.project) -} -inline void NamedEntityListRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityListRequest.project) -} -inline ::std::string* NamedEntityListRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityListRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityListRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityListRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityListRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityListRequest.project) -} - -// string domain = 3; -inline void NamedEntityListRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityListRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.domain) - return domain_.GetNoArena(); -} -inline void NamedEntityListRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityListRequest.domain) -} -#if LANG_CXX11 -inline void NamedEntityListRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityListRequest.domain) -} -#endif -inline void NamedEntityListRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityListRequest.domain) -} -inline void NamedEntityListRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityListRequest.domain) -} -inline ::std::string* NamedEntityListRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityListRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityListRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityListRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityListRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityListRequest.domain) -} - -// uint32 limit = 4; -inline void NamedEntityListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 NamedEntityListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.limit) - return limit_; -} -inline void NamedEntityListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityListRequest.limit) -} - -// string token = 5; -inline void NamedEntityListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.token) - return token_.GetNoArena(); -} -inline void NamedEntityListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityListRequest.token) -} -#if LANG_CXX11 -inline void NamedEntityListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityListRequest.token) -} -#endif -inline void NamedEntityListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityListRequest.token) -} -inline void NamedEntityListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityListRequest.token) -} -inline ::std::string* NamedEntityListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityListRequest.token) -} - -// .flyteidl.admin.Sort sort_by = 6; -inline bool NamedEntityListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline void NamedEntityListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -inline const ::flyteidl::admin::Sort& NamedEntityListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* NamedEntityListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* NamedEntityListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityListRequest.sort_by) - return sort_by_; -} -inline void NamedEntityListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete sort_by_; - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityListRequest.sort_by) -} - -// string filters = 7; -inline void NamedEntityListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.filters) - return filters_.GetNoArena(); -} -inline void NamedEntityListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityListRequest.filters) -} -#if LANG_CXX11 -inline void NamedEntityListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityListRequest.filters) -} -#endif -inline void NamedEntityListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityListRequest.filters) -} -inline void NamedEntityListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityListRequest.filters) -} -inline ::std::string* NamedEntityListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityListRequest.filters) -} - -// string org = 8; -inline void NamedEntityListRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityListRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityListRequest.org) - return org_.GetNoArena(); -} -inline void NamedEntityListRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityListRequest.org) -} -#if LANG_CXX11 -inline void NamedEntityListRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityListRequest.org) -} -#endif -inline void NamedEntityListRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityListRequest.org) -} -inline void NamedEntityListRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityListRequest.org) -} -inline ::std::string* NamedEntityListRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityListRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityListRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityListRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityListRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityListRequest.org) -} - -// ------------------------------------------------------------------- - -// NamedEntityIdentifierList - -// repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; -inline int NamedEntityIdentifierList::entities_size() const { - return entities_.size(); -} -inline void NamedEntityIdentifierList::clear_entities() { - entities_.Clear(); -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntityIdentifierList::mutable_entities(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierList.entities) - return entities_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntityIdentifier >* -NamedEntityIdentifierList::mutable_entities() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.NamedEntityIdentifierList.entities) - return &entities_; -} -inline const ::flyteidl::admin::NamedEntityIdentifier& NamedEntityIdentifierList::entities(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierList.entities) - return entities_.Get(index); -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntityIdentifierList::add_entities() { - // @@protoc_insertion_point(field_add:flyteidl.admin.NamedEntityIdentifierList.entities) - return entities_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntityIdentifier >& -NamedEntityIdentifierList::entities() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.NamedEntityIdentifierList.entities) - return entities_; -} - -// string token = 2; -inline void NamedEntityIdentifierList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityIdentifierList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityIdentifierList.token) - return token_.GetNoArena(); -} -inline void NamedEntityIdentifierList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityIdentifierList.token) -} -#if LANG_CXX11 -inline void NamedEntityIdentifierList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityIdentifierList.token) -} -#endif -inline void NamedEntityIdentifierList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityIdentifierList.token) -} -inline void NamedEntityIdentifierList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityIdentifierList.token) -} -inline ::std::string* NamedEntityIdentifierList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityIdentifierList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityIdentifierList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityIdentifierList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityIdentifierList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityIdentifierList.token) -} - -// ------------------------------------------------------------------- - -// NamedEntityList - -// repeated .flyteidl.admin.NamedEntity entities = 1; -inline int NamedEntityList::entities_size() const { - return entities_.size(); -} -inline void NamedEntityList::clear_entities() { - entities_.Clear(); -} -inline ::flyteidl::admin::NamedEntity* NamedEntityList::mutable_entities(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityList.entities) - return entities_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntity >* -NamedEntityList::mutable_entities() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.NamedEntityList.entities) - return &entities_; -} -inline const ::flyteidl::admin::NamedEntity& NamedEntityList::entities(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityList.entities) - return entities_.Get(index); -} -inline ::flyteidl::admin::NamedEntity* NamedEntityList::add_entities() { - // @@protoc_insertion_point(field_add:flyteidl.admin.NamedEntityList.entities) - return entities_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NamedEntity >& -NamedEntityList::entities() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.NamedEntityList.entities) - return entities_; -} - -// string token = 2; -inline void NamedEntityList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NamedEntityList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityList.token) - return token_.GetNoArena(); -} -inline void NamedEntityList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityList.token) -} -#if LANG_CXX11 -inline void NamedEntityList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NamedEntityList.token) -} -#endif -inline void NamedEntityList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NamedEntityList.token) -} -inline void NamedEntityList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NamedEntityList.token) -} -inline ::std::string* NamedEntityList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NamedEntityList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NamedEntityList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityList.token) -} - -// ------------------------------------------------------------------- - -// NamedEntityGetRequest - -// .flyteidl.core.ResourceType resource_type = 1; -inline void NamedEntityGetRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::core::ResourceType NamedEntityGetRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityGetRequest.resource_type) - return static_cast< ::flyteidl::core::ResourceType >(resource_type_); -} -inline void NamedEntityGetRequest::set_resource_type(::flyteidl::core::ResourceType value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityGetRequest.resource_type) -} - -// .flyteidl.admin.NamedEntityIdentifier id = 2; -inline bool NamedEntityGetRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline void NamedEntityGetRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -inline const ::flyteidl::admin::NamedEntityIdentifier& NamedEntityGetRequest::id() const { - const ::flyteidl::admin::NamedEntityIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityGetRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityIdentifier_default_instance_); -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntityGetRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityGetRequest.id) - - ::flyteidl::admin::NamedEntityIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntityGetRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityGetRequest.id) - return id_; -} -inline void NamedEntityGetRequest::set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete id_; - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityGetRequest.id) -} - -// ------------------------------------------------------------------- - -// NamedEntityUpdateRequest - -// .flyteidl.core.ResourceType resource_type = 1; -inline void NamedEntityUpdateRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::core::ResourceType NamedEntityUpdateRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityUpdateRequest.resource_type) - return static_cast< ::flyteidl::core::ResourceType >(resource_type_); -} -inline void NamedEntityUpdateRequest::set_resource_type(::flyteidl::core::ResourceType value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NamedEntityUpdateRequest.resource_type) -} - -// .flyteidl.admin.NamedEntityIdentifier id = 2; -inline bool NamedEntityUpdateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline void NamedEntityUpdateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -inline const ::flyteidl::admin::NamedEntityIdentifier& NamedEntityUpdateRequest::id() const { - const ::flyteidl::admin::NamedEntityIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityUpdateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityIdentifier_default_instance_); -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntityUpdateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityUpdateRequest.id) - - ::flyteidl::admin::NamedEntityIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityIdentifier* NamedEntityUpdateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityUpdateRequest.id) - return id_; -} -inline void NamedEntityUpdateRequest::set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete id_; - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityUpdateRequest.id) -} - -// .flyteidl.admin.NamedEntityMetadata metadata = 3; -inline bool NamedEntityUpdateRequest::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void NamedEntityUpdateRequest::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::admin::NamedEntityMetadata& NamedEntityUpdateRequest::metadata() const { - const ::flyteidl::admin::NamedEntityMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NamedEntityUpdateRequest.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityMetadata_default_instance_); -} -inline ::flyteidl::admin::NamedEntityMetadata* NamedEntityUpdateRequest::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NamedEntityUpdateRequest.metadata) - - ::flyteidl::admin::NamedEntityMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityMetadata* NamedEntityUpdateRequest::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NamedEntityUpdateRequest.metadata) - return metadata_; -} -inline void NamedEntityUpdateRequest::set_allocated_metadata(::flyteidl::admin::NamedEntityMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NamedEntityUpdateRequest.metadata) -} - -// ------------------------------------------------------------------- - -// NamedEntityUpdateResponse - -// ------------------------------------------------------------------- - -// ObjectGetRequest - -// .flyteidl.core.Identifier id = 1; -inline bool ObjectGetRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& ObjectGetRequest::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ObjectGetRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* ObjectGetRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ObjectGetRequest.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* ObjectGetRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ObjectGetRequest.id) - return id_; -} -inline void ObjectGetRequest::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ObjectGetRequest.id) -} - -// ------------------------------------------------------------------- - -// ResourceListRequest - -// .flyteidl.admin.NamedEntityIdentifier id = 1; -inline bool ResourceListRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline void ResourceListRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -inline const ::flyteidl::admin::NamedEntityIdentifier& ResourceListRequest::id() const { - const ::flyteidl::admin::NamedEntityIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ResourceListRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityIdentifier_default_instance_); -} -inline ::flyteidl::admin::NamedEntityIdentifier* ResourceListRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ResourceListRequest.id) - - ::flyteidl::admin::NamedEntityIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityIdentifier* ResourceListRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ResourceListRequest.id) - return id_; -} -inline void ResourceListRequest::set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete id_; - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ResourceListRequest.id) -} - -// uint32 limit = 2; -inline void ResourceListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 ResourceListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ResourceListRequest.limit) - return limit_; -} -inline void ResourceListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ResourceListRequest.limit) -} - -// string token = 3; -inline void ResourceListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ResourceListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ResourceListRequest.token) - return token_.GetNoArena(); -} -inline void ResourceListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ResourceListRequest.token) -} -#if LANG_CXX11 -inline void ResourceListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ResourceListRequest.token) -} -#endif -inline void ResourceListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ResourceListRequest.token) -} -inline void ResourceListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ResourceListRequest.token) -} -inline ::std::string* ResourceListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ResourceListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ResourceListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ResourceListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ResourceListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ResourceListRequest.token) -} - -// string filters = 4; -inline void ResourceListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ResourceListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ResourceListRequest.filters) - return filters_.GetNoArena(); -} -inline void ResourceListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ResourceListRequest.filters) -} -#if LANG_CXX11 -inline void ResourceListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ResourceListRequest.filters) -} -#endif -inline void ResourceListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ResourceListRequest.filters) -} -inline void ResourceListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ResourceListRequest.filters) -} -inline ::std::string* ResourceListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ResourceListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ResourceListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ResourceListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ResourceListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ResourceListRequest.filters) -} - -// .flyteidl.admin.Sort sort_by = 5; -inline bool ResourceListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline void ResourceListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -inline const ::flyteidl::admin::Sort& ResourceListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ResourceListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* ResourceListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ResourceListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* ResourceListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ResourceListRequest.sort_by) - return sort_by_; -} -inline void ResourceListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete sort_by_; - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ResourceListRequest.sort_by) -} - -// ------------------------------------------------------------------- - -// EmailNotification - -// repeated string recipients_email = 1; -inline int EmailNotification::recipients_email_size() const { - return recipients_email_.size(); -} -inline void EmailNotification::clear_recipients_email() { - recipients_email_.Clear(); -} -inline const ::std::string& EmailNotification::recipients_email(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EmailNotification.recipients_email) - return recipients_email_.Get(index); -} -inline ::std::string* EmailNotification::mutable_recipients_email(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EmailNotification.recipients_email) - return recipients_email_.Mutable(index); -} -inline void EmailNotification::set_recipients_email(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.EmailNotification.recipients_email) - recipients_email_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void EmailNotification::set_recipients_email(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.EmailNotification.recipients_email) - recipients_email_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void EmailNotification::set_recipients_email(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.EmailNotification.recipients_email) -} -inline void EmailNotification::set_recipients_email(int index, const char* value, size_t size) { - recipients_email_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.EmailNotification.recipients_email) -} -inline ::std::string* EmailNotification::add_recipients_email() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.EmailNotification.recipients_email) - return recipients_email_.Add(); -} -inline void EmailNotification::add_recipients_email(const ::std::string& value) { - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.EmailNotification.recipients_email) -} -#if LANG_CXX11 -inline void EmailNotification::add_recipients_email(::std::string&& value) { - recipients_email_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.EmailNotification.recipients_email) -} -#endif -inline void EmailNotification::add_recipients_email(const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.EmailNotification.recipients_email) -} -inline void EmailNotification::add_recipients_email(const char* value, size_t size) { - recipients_email_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.EmailNotification.recipients_email) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -EmailNotification::recipients_email() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.EmailNotification.recipients_email) - return recipients_email_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -EmailNotification::mutable_recipients_email() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.EmailNotification.recipients_email) - return &recipients_email_; -} - -// ------------------------------------------------------------------- - -// PagerDutyNotification - -// repeated string recipients_email = 1; -inline int PagerDutyNotification::recipients_email_size() const { - return recipients_email_.size(); -} -inline void PagerDutyNotification::clear_recipients_email() { - recipients_email_.Clear(); -} -inline const ::std::string& PagerDutyNotification::recipients_email(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.PagerDutyNotification.recipients_email) - return recipients_email_.Get(index); -} -inline ::std::string* PagerDutyNotification::mutable_recipients_email(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.PagerDutyNotification.recipients_email) - return recipients_email_.Mutable(index); -} -inline void PagerDutyNotification::set_recipients_email(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.PagerDutyNotification.recipients_email) - recipients_email_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void PagerDutyNotification::set_recipients_email(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.PagerDutyNotification.recipients_email) - recipients_email_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void PagerDutyNotification::set_recipients_email(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.PagerDutyNotification.recipients_email) -} -inline void PagerDutyNotification::set_recipients_email(int index, const char* value, size_t size) { - recipients_email_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.PagerDutyNotification.recipients_email) -} -inline ::std::string* PagerDutyNotification::add_recipients_email() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.PagerDutyNotification.recipients_email) - return recipients_email_.Add(); -} -inline void PagerDutyNotification::add_recipients_email(const ::std::string& value) { - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.PagerDutyNotification.recipients_email) -} -#if LANG_CXX11 -inline void PagerDutyNotification::add_recipients_email(::std::string&& value) { - recipients_email_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.PagerDutyNotification.recipients_email) -} -#endif -inline void PagerDutyNotification::add_recipients_email(const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.PagerDutyNotification.recipients_email) -} -inline void PagerDutyNotification::add_recipients_email(const char* value, size_t size) { - recipients_email_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.PagerDutyNotification.recipients_email) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -PagerDutyNotification::recipients_email() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.PagerDutyNotification.recipients_email) - return recipients_email_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -PagerDutyNotification::mutable_recipients_email() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.PagerDutyNotification.recipients_email) - return &recipients_email_; -} - -// ------------------------------------------------------------------- - -// SlackNotification - -// repeated string recipients_email = 1; -inline int SlackNotification::recipients_email_size() const { - return recipients_email_.size(); -} -inline void SlackNotification::clear_recipients_email() { - recipients_email_.Clear(); -} -inline const ::std::string& SlackNotification::recipients_email(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SlackNotification.recipients_email) - return recipients_email_.Get(index); -} -inline ::std::string* SlackNotification::mutable_recipients_email(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SlackNotification.recipients_email) - return recipients_email_.Mutable(index); -} -inline void SlackNotification::set_recipients_email(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.SlackNotification.recipients_email) - recipients_email_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void SlackNotification::set_recipients_email(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.SlackNotification.recipients_email) - recipients_email_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void SlackNotification::set_recipients_email(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.SlackNotification.recipients_email) -} -inline void SlackNotification::set_recipients_email(int index, const char* value, size_t size) { - recipients_email_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.SlackNotification.recipients_email) -} -inline ::std::string* SlackNotification::add_recipients_email() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.SlackNotification.recipients_email) - return recipients_email_.Add(); -} -inline void SlackNotification::add_recipients_email(const ::std::string& value) { - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.SlackNotification.recipients_email) -} -#if LANG_CXX11 -inline void SlackNotification::add_recipients_email(::std::string&& value) { - recipients_email_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.SlackNotification.recipients_email) -} -#endif -inline void SlackNotification::add_recipients_email(const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.SlackNotification.recipients_email) -} -inline void SlackNotification::add_recipients_email(const char* value, size_t size) { - recipients_email_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.SlackNotification.recipients_email) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -SlackNotification::recipients_email() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.SlackNotification.recipients_email) - return recipients_email_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -SlackNotification::mutable_recipients_email() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.SlackNotification.recipients_email) - return &recipients_email_; -} - -// ------------------------------------------------------------------- - -// Notification - -// repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; -inline int Notification::phases_size() const { - return phases_.size(); -} -inline void Notification::clear_phases() { - phases_.Clear(); -} -inline ::flyteidl::core::WorkflowExecution_Phase Notification::phases(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Notification.phases) - return static_cast< ::flyteidl::core::WorkflowExecution_Phase >(phases_.Get(index)); -} -inline void Notification::set_phases(int index, ::flyteidl::core::WorkflowExecution_Phase value) { - phases_.Set(index, value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Notification.phases) -} -inline void Notification::add_phases(::flyteidl::core::WorkflowExecution_Phase value) { - phases_.Add(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.Notification.phases) -} -inline const ::google::protobuf::RepeatedField& -Notification::phases() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Notification.phases) - return phases_; -} -inline ::google::protobuf::RepeatedField* -Notification::mutable_phases() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Notification.phases) - return &phases_; -} - -// .flyteidl.admin.EmailNotification email = 2; -inline bool Notification::has_email() const { - return type_case() == kEmail; -} -inline void Notification::set_has_email() { - _oneof_case_[0] = kEmail; -} -inline void Notification::clear_email() { - if (has_email()) { - delete type_.email_; - clear_has_type(); - } -} -inline ::flyteidl::admin::EmailNotification* Notification::release_email() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Notification.email) - if (has_email()) { - clear_has_type(); - ::flyteidl::admin::EmailNotification* temp = type_.email_; - type_.email_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::EmailNotification& Notification::email() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Notification.email) - return has_email() - ? *type_.email_ - : *reinterpret_cast< ::flyteidl::admin::EmailNotification*>(&::flyteidl::admin::_EmailNotification_default_instance_); -} -inline ::flyteidl::admin::EmailNotification* Notification::mutable_email() { - if (!has_email()) { - clear_type(); - set_has_email(); - type_.email_ = CreateMaybeMessage< ::flyteidl::admin::EmailNotification >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Notification.email) - return type_.email_; -} - -// .flyteidl.admin.PagerDutyNotification pager_duty = 3; -inline bool Notification::has_pager_duty() const { - return type_case() == kPagerDuty; -} -inline void Notification::set_has_pager_duty() { - _oneof_case_[0] = kPagerDuty; -} -inline void Notification::clear_pager_duty() { - if (has_pager_duty()) { - delete type_.pager_duty_; - clear_has_type(); - } -} -inline ::flyteidl::admin::PagerDutyNotification* Notification::release_pager_duty() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Notification.pager_duty) - if (has_pager_duty()) { - clear_has_type(); - ::flyteidl::admin::PagerDutyNotification* temp = type_.pager_duty_; - type_.pager_duty_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::PagerDutyNotification& Notification::pager_duty() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Notification.pager_duty) - return has_pager_duty() - ? *type_.pager_duty_ - : *reinterpret_cast< ::flyteidl::admin::PagerDutyNotification*>(&::flyteidl::admin::_PagerDutyNotification_default_instance_); -} -inline ::flyteidl::admin::PagerDutyNotification* Notification::mutable_pager_duty() { - if (!has_pager_duty()) { - clear_type(); - set_has_pager_duty(); - type_.pager_duty_ = CreateMaybeMessage< ::flyteidl::admin::PagerDutyNotification >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Notification.pager_duty) - return type_.pager_duty_; -} - -// .flyteidl.admin.SlackNotification slack = 4; -inline bool Notification::has_slack() const { - return type_case() == kSlack; -} -inline void Notification::set_has_slack() { - _oneof_case_[0] = kSlack; -} -inline void Notification::clear_slack() { - if (has_slack()) { - delete type_.slack_; - clear_has_type(); - } -} -inline ::flyteidl::admin::SlackNotification* Notification::release_slack() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Notification.slack) - if (has_slack()) { - clear_has_type(); - ::flyteidl::admin::SlackNotification* temp = type_.slack_; - type_.slack_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::SlackNotification& Notification::slack() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Notification.slack) - return has_slack() - ? *type_.slack_ - : *reinterpret_cast< ::flyteidl::admin::SlackNotification*>(&::flyteidl::admin::_SlackNotification_default_instance_); -} -inline ::flyteidl::admin::SlackNotification* Notification::mutable_slack() { - if (!has_slack()) { - clear_type(); - set_has_slack(); - type_.slack_ = CreateMaybeMessage< ::flyteidl::admin::SlackNotification >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Notification.slack) - return type_.slack_; -} - -inline bool Notification::has_type() const { - return type_case() != TYPE_NOT_SET; -} -inline void Notification::clear_has_type() { - _oneof_case_[0] = TYPE_NOT_SET; -} -inline Notification::TypeCase Notification::type_case() const { - return Notification::TypeCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// UrlBlob - -// string url = 1; -inline void UrlBlob::clear_url() { - url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UrlBlob::url() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.UrlBlob.url) - return url_.GetNoArena(); -} -inline void UrlBlob::set_url(const ::std::string& value) { - - url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.UrlBlob.url) -} -#if LANG_CXX11 -inline void UrlBlob::set_url(::std::string&& value) { - - url_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.UrlBlob.url) -} -#endif -inline void UrlBlob::set_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.UrlBlob.url) -} -inline void UrlBlob::set_url(const char* value, size_t size) { - - url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.UrlBlob.url) -} -inline ::std::string* UrlBlob::mutable_url() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.UrlBlob.url) - return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UrlBlob::release_url() { - // @@protoc_insertion_point(field_release:flyteidl.admin.UrlBlob.url) - - return url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UrlBlob::set_allocated_url(::std::string* url) { - if (url != nullptr) { - - } else { - - } - url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.UrlBlob.url) -} - -// int64 bytes = 2; -inline void UrlBlob::clear_bytes() { - bytes_ = PROTOBUF_LONGLONG(0); -} -inline ::google::protobuf::int64 UrlBlob::bytes() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.UrlBlob.bytes) - return bytes_; -} -inline void UrlBlob::set_bytes(::google::protobuf::int64 value) { - - bytes_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.UrlBlob.bytes) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// Labels - -// map values = 1; -inline int Labels::values_size() const { - return values_.size(); -} -inline void Labels::clear_values() { - values_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -Labels::values() const { - // @@protoc_insertion_point(field_map:flyteidl.admin.Labels.values) - return values_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -Labels::mutable_values() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.Labels.values) - return values_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// Annotations - -// map values = 1; -inline int Annotations::values_size() const { - return values_.size(); -} -inline void Annotations::clear_values() { - values_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -Annotations::values() const { - // @@protoc_insertion_point(field_map:flyteidl.admin.Annotations.values) - return values_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -Annotations::mutable_values() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.Annotations.values) - return values_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// Envs - -// repeated .flyteidl.core.KeyValuePair values = 1; -inline int Envs::values_size() const { - return values_.size(); -} -inline ::flyteidl::core::KeyValuePair* Envs::mutable_values(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Envs.values) - return values_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* -Envs::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Envs.values) - return &values_; -} -inline const ::flyteidl::core::KeyValuePair& Envs::values(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Envs.values) - return values_.Get(index); -} -inline ::flyteidl::core::KeyValuePair* Envs::add_values() { - // @@protoc_insertion_point(field_add:flyteidl.admin.Envs.values) - return values_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& -Envs::values() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Envs.values) - return values_; -} - -// ------------------------------------------------------------------- - -// AuthRole - -// string assumable_iam_role = 1; -inline void AuthRole::clear_assumable_iam_role() { - assumable_iam_role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& AuthRole::assumable_iam_role() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.AuthRole.assumable_iam_role) - return assumable_iam_role_.GetNoArena(); -} -inline void AuthRole::set_assumable_iam_role(const ::std::string& value) { - - assumable_iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.AuthRole.assumable_iam_role) -} -#if LANG_CXX11 -inline void AuthRole::set_assumable_iam_role(::std::string&& value) { - - assumable_iam_role_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.AuthRole.assumable_iam_role) -} -#endif -inline void AuthRole::set_assumable_iam_role(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - assumable_iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.AuthRole.assumable_iam_role) -} -inline void AuthRole::set_assumable_iam_role(const char* value, size_t size) { - - assumable_iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.AuthRole.assumable_iam_role) -} -inline ::std::string* AuthRole::mutable_assumable_iam_role() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.AuthRole.assumable_iam_role) - return assumable_iam_role_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* AuthRole::release_assumable_iam_role() { - // @@protoc_insertion_point(field_release:flyteidl.admin.AuthRole.assumable_iam_role) - - return assumable_iam_role_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void AuthRole::set_allocated_assumable_iam_role(::std::string* assumable_iam_role) { - if (assumable_iam_role != nullptr) { - - } else { - - } - assumable_iam_role_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), assumable_iam_role); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.AuthRole.assumable_iam_role) -} - -// string kubernetes_service_account = 2; -inline void AuthRole::clear_kubernetes_service_account() { - kubernetes_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& AuthRole::kubernetes_service_account() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.AuthRole.kubernetes_service_account) - return kubernetes_service_account_.GetNoArena(); -} -inline void AuthRole::set_kubernetes_service_account(const ::std::string& value) { - - kubernetes_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.AuthRole.kubernetes_service_account) -} -#if LANG_CXX11 -inline void AuthRole::set_kubernetes_service_account(::std::string&& value) { - - kubernetes_service_account_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.AuthRole.kubernetes_service_account) -} -#endif -inline void AuthRole::set_kubernetes_service_account(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - kubernetes_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.AuthRole.kubernetes_service_account) -} -inline void AuthRole::set_kubernetes_service_account(const char* value, size_t size) { - - kubernetes_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.AuthRole.kubernetes_service_account) -} -inline ::std::string* AuthRole::mutable_kubernetes_service_account() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.AuthRole.kubernetes_service_account) - return kubernetes_service_account_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* AuthRole::release_kubernetes_service_account() { - // @@protoc_insertion_point(field_release:flyteidl.admin.AuthRole.kubernetes_service_account) - - return kubernetes_service_account_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void AuthRole::set_allocated_kubernetes_service_account(::std::string* kubernetes_service_account) { - if (kubernetes_service_account != nullptr) { - - } else { - - } - kubernetes_service_account_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), kubernetes_service_account); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.AuthRole.kubernetes_service_account) -} - -// ------------------------------------------------------------------- - -// RawOutputDataConfig - -// string output_location_prefix = 1; -inline void RawOutputDataConfig::clear_output_location_prefix() { - output_location_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& RawOutputDataConfig::output_location_prefix() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.RawOutputDataConfig.output_location_prefix) - return output_location_prefix_.GetNoArena(); -} -inline void RawOutputDataConfig::set_output_location_prefix(const ::std::string& value) { - - output_location_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.RawOutputDataConfig.output_location_prefix) -} -#if LANG_CXX11 -inline void RawOutputDataConfig::set_output_location_prefix(::std::string&& value) { - - output_location_prefix_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.RawOutputDataConfig.output_location_prefix) -} -#endif -inline void RawOutputDataConfig::set_output_location_prefix(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - output_location_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.RawOutputDataConfig.output_location_prefix) -} -inline void RawOutputDataConfig::set_output_location_prefix(const char* value, size_t size) { - - output_location_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.RawOutputDataConfig.output_location_prefix) -} -inline ::std::string* RawOutputDataConfig::mutable_output_location_prefix() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.RawOutputDataConfig.output_location_prefix) - return output_location_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* RawOutputDataConfig::release_output_location_prefix() { - // @@protoc_insertion_point(field_release:flyteidl.admin.RawOutputDataConfig.output_location_prefix) - - return output_location_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void RawOutputDataConfig::set_allocated_output_location_prefix(::std::string* output_location_prefix) { - if (output_location_prefix != nullptr) { - - } else { - - } - output_location_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_location_prefix); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.RawOutputDataConfig.output_location_prefix) -} - -// ------------------------------------------------------------------- - -// FlyteURLs - -// string inputs = 1; -inline void FlyteURLs::clear_inputs() { - inputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& FlyteURLs::inputs() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.FlyteURLs.inputs) - return inputs_.GetNoArena(); -} -inline void FlyteURLs::set_inputs(const ::std::string& value) { - - inputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.FlyteURLs.inputs) -} -#if LANG_CXX11 -inline void FlyteURLs::set_inputs(::std::string&& value) { - - inputs_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.FlyteURLs.inputs) -} -#endif -inline void FlyteURLs::set_inputs(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - inputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.FlyteURLs.inputs) -} -inline void FlyteURLs::set_inputs(const char* value, size_t size) { - - inputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.FlyteURLs.inputs) -} -inline ::std::string* FlyteURLs::mutable_inputs() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.FlyteURLs.inputs) - return inputs_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* FlyteURLs::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.FlyteURLs.inputs) - - return inputs_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void FlyteURLs::set_allocated_inputs(::std::string* inputs) { - if (inputs != nullptr) { - - } else { - - } - inputs_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), inputs); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FlyteURLs.inputs) -} - -// string outputs = 2; -inline void FlyteURLs::clear_outputs() { - outputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& FlyteURLs::outputs() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.FlyteURLs.outputs) - return outputs_.GetNoArena(); -} -inline void FlyteURLs::set_outputs(const ::std::string& value) { - - outputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.FlyteURLs.outputs) -} -#if LANG_CXX11 -inline void FlyteURLs::set_outputs(::std::string&& value) { - - outputs_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.FlyteURLs.outputs) -} -#endif -inline void FlyteURLs::set_outputs(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - outputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.FlyteURLs.outputs) -} -inline void FlyteURLs::set_outputs(const char* value, size_t size) { - - outputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.FlyteURLs.outputs) -} -inline ::std::string* FlyteURLs::mutable_outputs() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.FlyteURLs.outputs) - return outputs_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* FlyteURLs::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.FlyteURLs.outputs) - - return outputs_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void FlyteURLs::set_allocated_outputs(::std::string* outputs) { - if (outputs != nullptr) { - - } else { - - } - outputs_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), outputs); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FlyteURLs.outputs) -} - -// string deck = 3; -inline void FlyteURLs::clear_deck() { - deck_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& FlyteURLs::deck() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.FlyteURLs.deck) - return deck_.GetNoArena(); -} -inline void FlyteURLs::set_deck(const ::std::string& value) { - - deck_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.FlyteURLs.deck) -} -#if LANG_CXX11 -inline void FlyteURLs::set_deck(::std::string&& value) { - - deck_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.FlyteURLs.deck) -} -#endif -inline void FlyteURLs::set_deck(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - deck_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.FlyteURLs.deck) -} -inline void FlyteURLs::set_deck(const char* value, size_t size) { - - deck_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.FlyteURLs.deck) -} -inline ::std::string* FlyteURLs::mutable_deck() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.FlyteURLs.deck) - return deck_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* FlyteURLs::release_deck() { - // @@protoc_insertion_point(field_release:flyteidl.admin.FlyteURLs.deck) - - return deck_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void FlyteURLs::set_allocated_deck(::std::string* deck) { - if (deck != nullptr) { - - } else { - - } - deck_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), deck); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FlyteURLs.deck) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::Sort_Direction> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::Sort_Direction>() { - return ::flyteidl::admin::Sort_Direction_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::admin::NamedEntityState> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::NamedEntityState>() { - return ::flyteidl::admin::NamedEntityState_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fcommon_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.grpc.pb.cc deleted file mode 100644 index 3970997357..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/description_entity.proto - -#include "flyteidl/admin/description_entity.pb.h" -#include "flyteidl/admin/description_entity.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.grpc.pb.h deleted file mode 100644 index 0b4ebc8077..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/description_entity.proto -#ifndef GRPC_flyteidl_2fadmin_2fdescription_5fentity_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fdescription_5fentity_2eproto__INCLUDED - -#include "flyteidl/admin/description_entity.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fdescription_5fentity_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.pb.cc deleted file mode 100644 index cc0f10672a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.pb.cc +++ /dev/null @@ -1,2658 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/description_entity.proto - -#include "flyteidl/admin/description_entity.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fdescription_5fentity_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Description_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fdescription_5fentity_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fdescription_5fentity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; -namespace flyteidl { -namespace admin { -class DescriptionEntityDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DescriptionEntity_default_instance_; -class DescriptionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr value_; - ::google::protobuf::internal::ArenaStringPtr uri_; -} _Description_default_instance_; -class SourceCodeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SourceCode_default_instance_; -class DescriptionEntityListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DescriptionEntityList_default_instance_; -class DescriptionEntityListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DescriptionEntityListRequest_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsDescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_DescriptionEntity_default_instance_; - new (ptr) ::flyteidl::admin::DescriptionEntity(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::DescriptionEntity::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsDescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Description_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base, - &scc_info_SourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base,}}; - -static void InitDefaultsDescription_flyteidl_2fadmin_2fdescription_5fentity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Description_default_instance_; - new (ptr) ::flyteidl::admin::Description(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Description::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Description_flyteidl_2fadmin_2fdescription_5fentity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDescription_flyteidl_2fadmin_2fdescription_5fentity_2eproto}, {}}; - -static void InitDefaultsSourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SourceCode_default_instance_; - new (ptr) ::flyteidl::admin::SourceCode(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SourceCode::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto}, {}}; - -static void InitDefaultsDescriptionEntityList_flyteidl_2fadmin_2fdescription_5fentity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_DescriptionEntityList_default_instance_; - new (ptr) ::flyteidl::admin::DescriptionEntityList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::DescriptionEntityList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DescriptionEntityList_flyteidl_2fadmin_2fdescription_5fentity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDescriptionEntityList_flyteidl_2fadmin_2fdescription_5fentity_2eproto}, { - &scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base,}}; - -static void InitDefaultsDescriptionEntityListRequest_flyteidl_2fadmin_2fdescription_5fentity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_DescriptionEntityListRequest_default_instance_; - new (ptr) ::flyteidl::admin::DescriptionEntityListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::DescriptionEntityListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_DescriptionEntityListRequest_flyteidl_2fadmin_2fdescription_5fentity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDescriptionEntityListRequest_flyteidl_2fadmin_2fdescription_5fentity_2eproto}, { - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2fdescription_5fentity_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Description_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DescriptionEntityList_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DescriptionEntityListRequest_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fdescription_5fentity_2eproto[5]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fdescription_5fentity_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntity, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntity, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntity, short_description_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntity, long_description_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntity, source_code_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntity, tags_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Description, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Description, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::DescriptionDefaultTypeInternal, value_), - offsetof(::flyteidl::admin::DescriptionDefaultTypeInternal, uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Description, format_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Description, icon_link_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Description, content_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SourceCode, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SourceCode, link_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityList, descriptionentities_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityListRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityListRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DescriptionEntityListRequest, sort_by_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::DescriptionEntity)}, - { 10, -1, sizeof(::flyteidl::admin::Description)}, - { 20, -1, sizeof(::flyteidl::admin::SourceCode)}, - { 26, -1, sizeof(::flyteidl::admin::DescriptionEntityList)}, - { 33, -1, sizeof(::flyteidl::admin::DescriptionEntityListRequest)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_DescriptionEntity_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Description_default_instance_), - reinterpret_cast(&::flyteidl::admin::_SourceCode_default_instance_), - reinterpret_cast(&::flyteidl::admin::_DescriptionEntityList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_DescriptionEntityListRequest_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, "flyteidl/admin/description_entity.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fdescription_5fentity_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fdescription_5fentity_2eproto, 5, file_level_enum_descriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fdescription_5fentity_2eproto[] = - "\n\'flyteidl/admin/description_entity.prot" - "o\022\016flyteidl.admin\032\036flyteidl/core/identif" - "ier.proto\032\033flyteidl/admin/common.proto\"\313" - "\001\n\021DescriptionEntity\022%\n\002id\030\001 \001(\0132\031.flyte" - "idl.core.Identifier\022\031\n\021short_description" - "\030\002 \001(\t\0225\n\020long_description\030\003 \001(\0132\033.flyte" - "idl.admin.Description\022/\n\013source_code\030\004 \001" - "(\0132\032.flyteidl.admin.SourceCode\022\014\n\004tags\030\005" - " \003(\t\"~\n\013Description\022\017\n\005value\030\001 \001(\tH\000\022\r\n\003" - "uri\030\002 \001(\tH\000\0221\n\006format\030\003 \001(\0162!.flyteidl.a" - "dmin.DescriptionFormat\022\021\n\ticon_link\030\004 \001(" - "\tB\t\n\007content\"\032\n\nSourceCode\022\014\n\004link\030\001 \001(\t" - "\"f\n\025DescriptionEntityList\022>\n\023description" - "Entities\030\001 \003(\0132!.flyteidl.admin.Descript" - "ionEntity\022\r\n\005token\030\002 \001(\t\"\333\001\n\034Description" - "EntityListRequest\0222\n\rresource_type\030\001 \001(\016" - "2\033.flyteidl.core.ResourceType\0221\n\002id\030\002 \001(" - "\0132%.flyteidl.admin.NamedEntityIdentifier" - "\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022\017\n\007filter" - "s\030\005 \001(\t\022%\n\007sort_by\030\006 \001(\0132\024.flyteidl.admi" - "n.Sort*\215\001\n\021DescriptionFormat\022\036\n\032DESCRIPT" - "ION_FORMAT_UNKNOWN\020\000\022\037\n\033DESCRIPTION_FORM" - "AT_MARKDOWN\020\001\022\033\n\027DESCRIPTION_FORMAT_HTML" - "\020\002\022\032\n\026DESCRIPTION_FORMAT_RST\020\003B=Z;github" - ".com/flyteorg/flyte/flyteidl/gen/pb-go/f" - "lyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fdescription_5fentity_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fdescription_5fentity_2eproto, - "flyteidl/admin/description_entity.proto", &assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto, 1021, -}; - -void AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fdescription_5fentity_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* DescriptionFormat_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto[0]; -} -bool DescriptionFormat_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - - -// =================================================================== - -void DescriptionEntity::InitAsDefaultInstance() { - ::flyteidl::admin::_DescriptionEntity_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_DescriptionEntity_default_instance_._instance.get_mutable()->long_description_ = const_cast< ::flyteidl::admin::Description*>( - ::flyteidl::admin::Description::internal_default_instance()); - ::flyteidl::admin::_DescriptionEntity_default_instance_._instance.get_mutable()->source_code_ = const_cast< ::flyteidl::admin::SourceCode*>( - ::flyteidl::admin::SourceCode::internal_default_instance()); -} -class DescriptionEntity::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const DescriptionEntity* msg); - static const ::flyteidl::admin::Description& long_description(const DescriptionEntity* msg); - static const ::flyteidl::admin::SourceCode& source_code(const DescriptionEntity* msg); -}; - -const ::flyteidl::core::Identifier& -DescriptionEntity::HasBitSetters::id(const DescriptionEntity* msg) { - return *msg->id_; -} -const ::flyteidl::admin::Description& -DescriptionEntity::HasBitSetters::long_description(const DescriptionEntity* msg) { - return *msg->long_description_; -} -const ::flyteidl::admin::SourceCode& -DescriptionEntity::HasBitSetters::source_code(const DescriptionEntity* msg) { - return *msg->source_code_; -} -void DescriptionEntity::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DescriptionEntity::kIdFieldNumber; -const int DescriptionEntity::kShortDescriptionFieldNumber; -const int DescriptionEntity::kLongDescriptionFieldNumber; -const int DescriptionEntity::kSourceCodeFieldNumber; -const int DescriptionEntity::kTagsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DescriptionEntity::DescriptionEntity() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.DescriptionEntity) -} -DescriptionEntity::DescriptionEntity(const DescriptionEntity& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - tags_(from.tags_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.short_description().size() > 0) { - short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_long_description()) { - long_description_ = new ::flyteidl::admin::Description(*from.long_description_); - } else { - long_description_ = nullptr; - } - if (from.has_source_code()) { - source_code_ = new ::flyteidl::admin::SourceCode(*from.source_code_); - } else { - source_code_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DescriptionEntity) -} - -void DescriptionEntity::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&source_code_) - - reinterpret_cast(&id_)) + sizeof(source_code_)); -} - -DescriptionEntity::~DescriptionEntity() { - // @@protoc_insertion_point(destructor:flyteidl.admin.DescriptionEntity) - SharedDtor(); -} - -void DescriptionEntity::SharedDtor() { - short_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete long_description_; - if (this != internal_default_instance()) delete source_code_; -} - -void DescriptionEntity::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DescriptionEntity& DescriptionEntity::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - return *internal_default_instance(); -} - - -void DescriptionEntity::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DescriptionEntity) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tags_.Clear(); - short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && long_description_ != nullptr) { - delete long_description_; - } - long_description_ = nullptr; - if (GetArenaNoVirtual() == nullptr && source_code_ != nullptr) { - delete source_code_; - } - source_code_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DescriptionEntity::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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 short_description = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.DescriptionEntity.short_description"); - object = msg->mutable_short_description(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Description long_description = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Description::_InternalParse; - object = msg->mutable_long_description(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.SourceCode source_code = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::SourceCode::_InternalParse; - object = msg->mutable_source_code(); - 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; - } - // repeated string tags = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.DescriptionEntity.tags"); - object = msg->add_tags(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DescriptionEntity::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.DescriptionEntity) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string short_description = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_short_description())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.DescriptionEntity.short_description")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Description long_description = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_long_description())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.SourceCode source_code = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_source_code())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string tags = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_tags())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(this->tags_size() - 1).data(), - static_cast(this->tags(this->tags_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.DescriptionEntity.tags")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.DescriptionEntity) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.DescriptionEntity) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DescriptionEntity::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.DescriptionEntity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string short_description = 2; - if (this->short_description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntity.short_description"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->short_description(), output); - } - - // .flyteidl.admin.Description long_description = 3; - if (this->has_long_description()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::long_description(this), output); - } - - // .flyteidl.admin.SourceCode source_code = 4; - if (this->has_source_code()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::source_code(this), output); - } - - // repeated string tags = 5; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntity.tags"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 5, this->tags(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.DescriptionEntity) -} - -::google::protobuf::uint8* DescriptionEntity::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DescriptionEntity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string short_description = 2; - if (this->short_description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntity.short_description"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->short_description(), target); - } - - // .flyteidl.admin.Description long_description = 3; - if (this->has_long_description()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::long_description(this), target); - } - - // .flyteidl.admin.SourceCode source_code = 4; - if (this->has_source_code()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::source_code(this), target); - } - - // repeated string tags = 5; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntity.tags"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(5, this->tags(i), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DescriptionEntity) - return target; -} - -size_t DescriptionEntity::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DescriptionEntity) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string tags = 5; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->tags_size()); - for (int i = 0, n = this->tags_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->tags(i)); - } - - // string short_description = 2; - if (this->short_description().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->short_description()); - } - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.Description long_description = 3; - if (this->has_long_description()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *long_description_); - } - - // .flyteidl.admin.SourceCode source_code = 4; - if (this->has_source_code()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *source_code_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DescriptionEntity::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DescriptionEntity) - GOOGLE_DCHECK_NE(&from, this); - const DescriptionEntity* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DescriptionEntity) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DescriptionEntity) - MergeFrom(*source); - } -} - -void DescriptionEntity::MergeFrom(const DescriptionEntity& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DescriptionEntity) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tags_.MergeFrom(from.tags_); - if (from.short_description().size() > 0) { - - short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_long_description()) { - mutable_long_description()->::flyteidl::admin::Description::MergeFrom(from.long_description()); - } - if (from.has_source_code()) { - mutable_source_code()->::flyteidl::admin::SourceCode::MergeFrom(from.source_code()); - } -} - -void DescriptionEntity::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DescriptionEntity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DescriptionEntity::CopyFrom(const DescriptionEntity& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DescriptionEntity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DescriptionEntity::IsInitialized() const { - return true; -} - -void DescriptionEntity::Swap(DescriptionEntity* other) { - if (other == this) return; - InternalSwap(other); -} -void DescriptionEntity::InternalSwap(DescriptionEntity* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tags_.InternalSwap(CastToBase(&other->tags_)); - short_description_.Swap(&other->short_description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(long_description_, other->long_description_); - swap(source_code_, other->source_code_); -} - -::google::protobuf::Metadata DescriptionEntity::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fdescription_5fentity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Description::InitAsDefaultInstance() { - ::flyteidl::admin::_Description_default_instance_.value_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::admin::_Description_default_instance_.uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class Description::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Description::kValueFieldNumber; -const int Description::kUriFieldNumber; -const int Description::kFormatFieldNumber; -const int Description::kIconLinkFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Description::Description() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Description) -} -Description::Description(const Description& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - icon_link_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.icon_link().size() > 0) { - icon_link_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.icon_link_); - } - format_ = from.format_; - clear_has_content(); - switch (from.content_case()) { - case kValue: { - set_value(from.value()); - break; - } - case kUri: { - set_uri(from.uri()); - break; - } - case CONTENT_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Description) -} - -void Description::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Description_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - icon_link_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - format_ = 0; - clear_has_content(); -} - -Description::~Description() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Description) - SharedDtor(); -} - -void Description::SharedDtor() { - icon_link_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (has_content()) { - clear_content(); - } -} - -void Description::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Description& Description::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Description_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - return *internal_default_instance(); -} - - -void Description::clear_content() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.Description) - switch (content_case()) { - case kValue: { - content_.value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kUri: { - content_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case CONTENT_NOT_SET: { - break; - } - } - _oneof_case_[0] = CONTENT_NOT_SET; -} - - -void Description::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Description) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - icon_link_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - format_ = 0; - clear_content(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Description::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string value = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Description.value"); - object = msg->mutable_value(); - 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 uri = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Description.uri"); - object = msg->mutable_uri(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.DescriptionFormat format = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_format(static_cast<::flyteidl::admin::DescriptionFormat>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string icon_link = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Description.icon_link"); - object = msg->mutable_icon_link(); - 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 Description::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Description) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Description.value")); - } else { - goto handle_unusual; - } - break; - } - - // string uri = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Description.uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.DescriptionFormat format = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_format(static_cast< ::flyteidl::admin::DescriptionFormat >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string icon_link = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_icon_link())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->icon_link().data(), static_cast(this->icon_link().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Description.icon_link")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Description) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Description) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Description::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Description) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string value = 1; - if (has_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Description.value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->value(), output); - } - - // string uri = 2; - if (has_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Description.uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->uri(), output); - } - - // .flyteidl.admin.DescriptionFormat format = 3; - if (this->format() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->format(), output); - } - - // string icon_link = 4; - if (this->icon_link().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->icon_link().data(), static_cast(this->icon_link().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Description.icon_link"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->icon_link(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Description) -} - -::google::protobuf::uint8* Description::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Description) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string value = 1; - if (has_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Description.value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->value(), target); - } - - // string uri = 2; - if (has_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Description.uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->uri(), target); - } - - // .flyteidl.admin.DescriptionFormat format = 3; - if (this->format() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->format(), target); - } - - // string icon_link = 4; - if (this->icon_link().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->icon_link().data(), static_cast(this->icon_link().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Description.icon_link"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->icon_link(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Description) - return target; -} - -size_t Description::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Description) - 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 icon_link = 4; - if (this->icon_link().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->icon_link()); - } - - // .flyteidl.admin.DescriptionFormat format = 3; - if (this->format() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); - } - - switch (content_case()) { - // string value = 1; - case kValue: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - break; - } - // string uri = 2; - case kUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uri()); - break; - } - case CONTENT_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Description::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Description) - GOOGLE_DCHECK_NE(&from, this); - const Description* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Description) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Description) - MergeFrom(*source); - } -} - -void Description::MergeFrom(const Description& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Description) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.icon_link().size() > 0) { - - icon_link_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.icon_link_); - } - if (from.format() != 0) { - set_format(from.format()); - } - switch (from.content_case()) { - case kValue: { - set_value(from.value()); - break; - } - case kUri: { - set_uri(from.uri()); - break; - } - case CONTENT_NOT_SET: { - break; - } - } -} - -void Description::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Description) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Description::CopyFrom(const Description& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Description) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Description::IsInitialized() const { - return true; -} - -void Description::Swap(Description* other) { - if (other == this) return; - InternalSwap(other); -} -void Description::InternalSwap(Description* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - icon_link_.Swap(&other->icon_link_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(format_, other->format_); - swap(content_, other->content_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Description::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fdescription_5fentity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SourceCode::InitAsDefaultInstance() { -} -class SourceCode::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SourceCode::kLinkFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SourceCode::SourceCode() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SourceCode) -} -SourceCode::SourceCode(const SourceCode& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - link_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.link().size() > 0) { - link_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.link_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SourceCode) -} - -void SourceCode::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - link_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -SourceCode::~SourceCode() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SourceCode) - SharedDtor(); -} - -void SourceCode::SharedDtor() { - link_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SourceCode::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SourceCode& SourceCode::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SourceCode_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - return *internal_default_instance(); -} - - -void SourceCode::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SourceCode) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - link_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SourceCode::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string link = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.SourceCode.link"); - object = msg->mutable_link(); - 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 SourceCode::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SourceCode) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string link = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_link())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->link().data(), static_cast(this->link().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.SourceCode.link")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SourceCode) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SourceCode) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SourceCode::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SourceCode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string link = 1; - if (this->link().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->link().data(), static_cast(this->link().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SourceCode.link"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->link(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SourceCode) -} - -::google::protobuf::uint8* SourceCode::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SourceCode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string link = 1; - if (this->link().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->link().data(), static_cast(this->link().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SourceCode.link"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->link(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SourceCode) - return target; -} - -size_t SourceCode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SourceCode) - 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 link = 1; - if (this->link().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->link()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SourceCode::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SourceCode) - GOOGLE_DCHECK_NE(&from, this); - const SourceCode* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SourceCode) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SourceCode) - MergeFrom(*source); - } -} - -void SourceCode::MergeFrom(const SourceCode& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SourceCode) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.link().size() > 0) { - - link_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.link_); - } -} - -void SourceCode::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SourceCode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SourceCode::CopyFrom(const SourceCode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SourceCode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SourceCode::IsInitialized() const { - return true; -} - -void SourceCode::Swap(SourceCode* other) { - if (other == this) return; - InternalSwap(other); -} -void SourceCode::InternalSwap(SourceCode* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - link_.Swap(&other->link_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata SourceCode::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fdescription_5fentity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DescriptionEntityList::InitAsDefaultInstance() { -} -class DescriptionEntityList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DescriptionEntityList::kDescriptionEntitiesFieldNumber; -const int DescriptionEntityList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DescriptionEntityList::DescriptionEntityList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.DescriptionEntityList) -} -DescriptionEntityList::DescriptionEntityList(const DescriptionEntityList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - descriptionentities_(from.descriptionentities_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DescriptionEntityList) -} - -void DescriptionEntityList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DescriptionEntityList_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -DescriptionEntityList::~DescriptionEntityList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.DescriptionEntityList) - SharedDtor(); -} - -void DescriptionEntityList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void DescriptionEntityList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DescriptionEntityList& DescriptionEntityList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DescriptionEntityList_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - return *internal_default_instance(); -} - - -void DescriptionEntityList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DescriptionEntityList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - descriptionentities_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DescriptionEntityList::_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.admin.DescriptionEntity descriptionEntities = 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::admin::DescriptionEntity::_InternalParse; - object = msg->add_descriptionentities(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.DescriptionEntityList.token"); - object = msg->mutable_token(); - 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 DescriptionEntityList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.DescriptionEntityList) - 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.admin.DescriptionEntity descriptionEntities = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_descriptionentities())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.DescriptionEntityList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.DescriptionEntityList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.DescriptionEntityList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DescriptionEntityList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.DescriptionEntityList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - for (unsigned int i = 0, - n = static_cast(this->descriptionentities_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->descriptionentities(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntityList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.DescriptionEntityList) -} - -::google::protobuf::uint8* DescriptionEntityList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DescriptionEntityList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - for (unsigned int i = 0, - n = static_cast(this->descriptionentities_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->descriptionentities(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntityList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DescriptionEntityList) - return target; -} - -size_t DescriptionEntityList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DescriptionEntityList) - 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.admin.DescriptionEntity descriptionEntities = 1; - { - unsigned int count = static_cast(this->descriptionentities_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->descriptionentities(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DescriptionEntityList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DescriptionEntityList) - GOOGLE_DCHECK_NE(&from, this); - const DescriptionEntityList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DescriptionEntityList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DescriptionEntityList) - MergeFrom(*source); - } -} - -void DescriptionEntityList::MergeFrom(const DescriptionEntityList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DescriptionEntityList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - descriptionentities_.MergeFrom(from.descriptionentities_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void DescriptionEntityList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DescriptionEntityList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DescriptionEntityList::CopyFrom(const DescriptionEntityList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DescriptionEntityList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DescriptionEntityList::IsInitialized() const { - return true; -} - -void DescriptionEntityList::Swap(DescriptionEntityList* other) { - if (other == this) return; - InternalSwap(other); -} -void DescriptionEntityList::InternalSwap(DescriptionEntityList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&descriptionentities_)->InternalSwap(CastToBase(&other->descriptionentities_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata DescriptionEntityList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fdescription_5fentity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DescriptionEntityListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_DescriptionEntityListRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::admin::NamedEntityIdentifier*>( - ::flyteidl::admin::NamedEntityIdentifier::internal_default_instance()); - ::flyteidl::admin::_DescriptionEntityListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class DescriptionEntityListRequest::HasBitSetters { - public: - static const ::flyteidl::admin::NamedEntityIdentifier& id(const DescriptionEntityListRequest* msg); - static const ::flyteidl::admin::Sort& sort_by(const DescriptionEntityListRequest* msg); -}; - -const ::flyteidl::admin::NamedEntityIdentifier& -DescriptionEntityListRequest::HasBitSetters::id(const DescriptionEntityListRequest* msg) { - return *msg->id_; -} -const ::flyteidl::admin::Sort& -DescriptionEntityListRequest::HasBitSetters::sort_by(const DescriptionEntityListRequest* msg) { - return *msg->sort_by_; -} -void DescriptionEntityListRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void DescriptionEntityListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DescriptionEntityListRequest::kResourceTypeFieldNumber; -const int DescriptionEntityListRequest::kIdFieldNumber; -const int DescriptionEntityListRequest::kLimitFieldNumber; -const int DescriptionEntityListRequest::kTokenFieldNumber; -const int DescriptionEntityListRequest::kFiltersFieldNumber; -const int DescriptionEntityListRequest::kSortByFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DescriptionEntityListRequest::DescriptionEntityListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.DescriptionEntityListRequest) -} -DescriptionEntityListRequest::DescriptionEntityListRequest(const DescriptionEntityListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_id()) { - id_ = new ::flyteidl::admin::NamedEntityIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - ::memcpy(&resource_type_, &from.resource_type_, - static_cast(reinterpret_cast(&limit_) - - reinterpret_cast(&resource_type_)) + sizeof(limit_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DescriptionEntityListRequest) -} - -void DescriptionEntityListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DescriptionEntityListRequest_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&id_)) + sizeof(limit_)); -} - -DescriptionEntityListRequest::~DescriptionEntityListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.DescriptionEntityListRequest) - SharedDtor(); -} - -void DescriptionEntityListRequest::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete sort_by_; -} - -void DescriptionEntityListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DescriptionEntityListRequest& DescriptionEntityListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DescriptionEntityListRequest_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base); - return *internal_default_instance(); -} - - -void DescriptionEntityListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DescriptionEntityListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - ::memset(&resource_type_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&resource_type_)) + sizeof(limit_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DescriptionEntityListRequest::_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.ResourceType resource_type = 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_resource_type(static_cast<::flyteidl::core::ResourceType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.NamedEntityIdentifier 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); - parser_till_end = ::flyteidl::admin::NamedEntityIdentifier::_InternalParse; - object = msg->mutable_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; - } - // uint32 limit = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.DescriptionEntityListRequest.token"); - object = msg->mutable_token(); - 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 filters = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.DescriptionEntityListRequest.filters"); - object = msg->mutable_filters(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 DescriptionEntityListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.DescriptionEntityListRequest) - 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.ResourceType resource_type = 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_resource_type(static_cast< ::flyteidl::core::ResourceType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // uint32 limit = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.DescriptionEntityListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.DescriptionEntityListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.DescriptionEntityListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.DescriptionEntityListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DescriptionEntityListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.DescriptionEntityListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->resource_type(), output); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::id(this), output); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->limit(), output); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntityListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->token(), output); - } - - // string filters = 5; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntityListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->filters(), output); - } - - // .flyteidl.admin.Sort sort_by = 6; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::sort_by(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.DescriptionEntityListRequest) -} - -::google::protobuf::uint8* DescriptionEntityListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DescriptionEntityListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->resource_type(), target); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::id(this), target); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->limit(), target); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntityListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->token(), target); - } - - // string filters = 5; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DescriptionEntityListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->filters(), target); - } - - // .flyteidl.admin.Sort sort_by = 6; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::sort_by(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DescriptionEntityListRequest) - return target; -} - -size_t DescriptionEntityListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DescriptionEntityListRequest) - 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 token = 4; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 5; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.Sort sort_by = 6; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DescriptionEntityListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DescriptionEntityListRequest) - GOOGLE_DCHECK_NE(&from, this); - const DescriptionEntityListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DescriptionEntityListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DescriptionEntityListRequest) - MergeFrom(*source); - } -} - -void DescriptionEntityListRequest::MergeFrom(const DescriptionEntityListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DescriptionEntityListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::admin::NamedEntityIdentifier::MergeFrom(from.id()); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void DescriptionEntityListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DescriptionEntityListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DescriptionEntityListRequest::CopyFrom(const DescriptionEntityListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DescriptionEntityListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DescriptionEntityListRequest::IsInitialized() const { - return true; -} - -void DescriptionEntityListRequest::Swap(DescriptionEntityListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void DescriptionEntityListRequest::InternalSwap(DescriptionEntityListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(sort_by_, other->sort_by_); - swap(resource_type_, other->resource_type_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata DescriptionEntityListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fdescription_5fentity_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fdescription_5fentity_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::DescriptionEntity* Arena::CreateMaybeMessage< ::flyteidl::admin::DescriptionEntity >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::DescriptionEntity >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Description* Arena::CreateMaybeMessage< ::flyteidl::admin::Description >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Description >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SourceCode* Arena::CreateMaybeMessage< ::flyteidl::admin::SourceCode >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SourceCode >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::DescriptionEntityList* Arena::CreateMaybeMessage< ::flyteidl::admin::DescriptionEntityList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::DescriptionEntityList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::DescriptionEntityListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::DescriptionEntityListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::DescriptionEntityListRequest >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.pb.h deleted file mode 100644 index 13eb991d54..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/description_entity.pb.h +++ /dev/null @@ -1,1832 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/description_entity.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fdescription_5fentity_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fdescription_5fentity_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 -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/admin/common.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fdescription_5fentity_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fdescription_5fentity_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[5] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto(); -namespace flyteidl { -namespace admin { -class Description; -class DescriptionDefaultTypeInternal; -extern DescriptionDefaultTypeInternal _Description_default_instance_; -class DescriptionEntity; -class DescriptionEntityDefaultTypeInternal; -extern DescriptionEntityDefaultTypeInternal _DescriptionEntity_default_instance_; -class DescriptionEntityList; -class DescriptionEntityListDefaultTypeInternal; -extern DescriptionEntityListDefaultTypeInternal _DescriptionEntityList_default_instance_; -class DescriptionEntityListRequest; -class DescriptionEntityListRequestDefaultTypeInternal; -extern DescriptionEntityListRequestDefaultTypeInternal _DescriptionEntityListRequest_default_instance_; -class SourceCode; -class SourceCodeDefaultTypeInternal; -extern SourceCodeDefaultTypeInternal _SourceCode_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::Description* Arena::CreateMaybeMessage<::flyteidl::admin::Description>(Arena*); -template<> ::flyteidl::admin::DescriptionEntity* Arena::CreateMaybeMessage<::flyteidl::admin::DescriptionEntity>(Arena*); -template<> ::flyteidl::admin::DescriptionEntityList* Arena::CreateMaybeMessage<::flyteidl::admin::DescriptionEntityList>(Arena*); -template<> ::flyteidl::admin::DescriptionEntityListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::DescriptionEntityListRequest>(Arena*); -template<> ::flyteidl::admin::SourceCode* Arena::CreateMaybeMessage<::flyteidl::admin::SourceCode>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum DescriptionFormat { - DESCRIPTION_FORMAT_UNKNOWN = 0, - DESCRIPTION_FORMAT_MARKDOWN = 1, - DESCRIPTION_FORMAT_HTML = 2, - DESCRIPTION_FORMAT_RST = 3, - DescriptionFormat_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - DescriptionFormat_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool DescriptionFormat_IsValid(int value); -const DescriptionFormat DescriptionFormat_MIN = DESCRIPTION_FORMAT_UNKNOWN; -const DescriptionFormat DescriptionFormat_MAX = DESCRIPTION_FORMAT_RST; -const int DescriptionFormat_ARRAYSIZE = DescriptionFormat_MAX + 1; - -const ::google::protobuf::EnumDescriptor* DescriptionFormat_descriptor(); -inline const ::std::string& DescriptionFormat_Name(DescriptionFormat value) { - return ::google::protobuf::internal::NameOfEnum( - DescriptionFormat_descriptor(), value); -} -inline bool DescriptionFormat_Parse( - const ::std::string& name, DescriptionFormat* value) { - return ::google::protobuf::internal::ParseNamedEnum( - DescriptionFormat_descriptor(), name, value); -} -// =================================================================== - -class DescriptionEntity final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DescriptionEntity) */ { - public: - DescriptionEntity(); - virtual ~DescriptionEntity(); - - DescriptionEntity(const DescriptionEntity& from); - - inline DescriptionEntity& operator=(const DescriptionEntity& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DescriptionEntity(DescriptionEntity&& from) noexcept - : DescriptionEntity() { - *this = ::std::move(from); - } - - inline DescriptionEntity& operator=(DescriptionEntity&& 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 DescriptionEntity& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DescriptionEntity* internal_default_instance() { - return reinterpret_cast( - &_DescriptionEntity_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(DescriptionEntity* other); - friend void swap(DescriptionEntity& a, DescriptionEntity& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DescriptionEntity* New() const final { - return CreateMaybeMessage(nullptr); - } - - DescriptionEntity* 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 DescriptionEntity& from); - void MergeFrom(const DescriptionEntity& 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(DescriptionEntity* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string tags = 5; - int tags_size() const; - void clear_tags(); - static const int kTagsFieldNumber = 5; - const ::std::string& tags(int index) const; - ::std::string* mutable_tags(int index); - void set_tags(int index, const ::std::string& value); - #if LANG_CXX11 - void set_tags(int index, ::std::string&& value); - #endif - void set_tags(int index, const char* value); - void set_tags(int index, const char* value, size_t size); - ::std::string* add_tags(); - void add_tags(const ::std::string& value); - #if LANG_CXX11 - void add_tags(::std::string&& value); - #endif - void add_tags(const char* value); - void add_tags(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& tags() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_tags(); - - // string short_description = 2; - void clear_short_description(); - static const int kShortDescriptionFieldNumber = 2; - const ::std::string& short_description() const; - void set_short_description(const ::std::string& value); - #if LANG_CXX11 - void set_short_description(::std::string&& value); - #endif - void set_short_description(const char* value); - void set_short_description(const char* value, size_t size); - ::std::string* mutable_short_description(); - ::std::string* release_short_description(); - void set_allocated_short_description(::std::string* short_description); - - // .flyteidl.core.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.Description long_description = 3; - bool has_long_description() const; - void clear_long_description(); - static const int kLongDescriptionFieldNumber = 3; - const ::flyteidl::admin::Description& long_description() const; - ::flyteidl::admin::Description* release_long_description(); - ::flyteidl::admin::Description* mutable_long_description(); - void set_allocated_long_description(::flyteidl::admin::Description* long_description); - - // .flyteidl.admin.SourceCode source_code = 4; - bool has_source_code() const; - void clear_source_code(); - static const int kSourceCodeFieldNumber = 4; - const ::flyteidl::admin::SourceCode& source_code() const; - ::flyteidl::admin::SourceCode* release_source_code(); - ::flyteidl::admin::SourceCode* mutable_source_code(); - void set_allocated_source_code(::flyteidl::admin::SourceCode* source_code); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DescriptionEntity) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> tags_; - ::google::protobuf::internal::ArenaStringPtr short_description_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::admin::Description* long_description_; - ::flyteidl::admin::SourceCode* source_code_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -}; -// ------------------------------------------------------------------- - -class Description final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Description) */ { - public: - Description(); - virtual ~Description(); - - Description(const Description& from); - - inline Description& operator=(const Description& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Description(Description&& from) noexcept - : Description() { - *this = ::std::move(from); - } - - inline Description& operator=(Description&& 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 Description& default_instance(); - - enum ContentCase { - kValue = 1, - kUri = 2, - CONTENT_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Description* internal_default_instance() { - return reinterpret_cast( - &_Description_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(Description* other); - friend void swap(Description& a, Description& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Description* New() const final { - return CreateMaybeMessage(nullptr); - } - - Description* 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 Description& from); - void MergeFrom(const Description& 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(Description* 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 icon_link = 4; - void clear_icon_link(); - static const int kIconLinkFieldNumber = 4; - const ::std::string& icon_link() const; - void set_icon_link(const ::std::string& value); - #if LANG_CXX11 - void set_icon_link(::std::string&& value); - #endif - void set_icon_link(const char* value); - void set_icon_link(const char* value, size_t size); - ::std::string* mutable_icon_link(); - ::std::string* release_icon_link(); - void set_allocated_icon_link(::std::string* icon_link); - - // .flyteidl.admin.DescriptionFormat format = 3; - void clear_format(); - static const int kFormatFieldNumber = 3; - ::flyteidl::admin::DescriptionFormat format() const; - void set_format(::flyteidl::admin::DescriptionFormat value); - - // string value = 1; - private: - bool has_value() const; - public: - void clear_value(); - static const int kValueFieldNumber = 1; - 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); - - // string uri = 2; - private: - bool has_uri() const; - public: - void clear_uri(); - static const int kUriFieldNumber = 2; - const ::std::string& uri() const; - void set_uri(const ::std::string& value); - #if LANG_CXX11 - void set_uri(::std::string&& value); - #endif - void set_uri(const char* value); - void set_uri(const char* value, size_t size); - ::std::string* mutable_uri(); - ::std::string* release_uri(); - void set_allocated_uri(::std::string* uri); - - void clear_content(); - ContentCase content_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.Description) - private: - class HasBitSetters; - void set_has_value(); - void set_has_uri(); - - inline bool has_content() const; - inline void clear_has_content(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr icon_link_; - int format_; - union ContentUnion { - ContentUnion() {} - ::google::protobuf::internal::ArenaStringPtr value_; - ::google::protobuf::internal::ArenaStringPtr uri_; - } content_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -}; -// ------------------------------------------------------------------- - -class SourceCode final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SourceCode) */ { - public: - SourceCode(); - virtual ~SourceCode(); - - SourceCode(const SourceCode& from); - - inline SourceCode& operator=(const SourceCode& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SourceCode(SourceCode&& from) noexcept - : SourceCode() { - *this = ::std::move(from); - } - - inline SourceCode& operator=(SourceCode&& 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 SourceCode& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SourceCode* internal_default_instance() { - return reinterpret_cast( - &_SourceCode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(SourceCode* other); - friend void swap(SourceCode& a, SourceCode& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SourceCode* New() const final { - return CreateMaybeMessage(nullptr); - } - - SourceCode* 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 SourceCode& from); - void MergeFrom(const SourceCode& 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(SourceCode* 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 link = 1; - void clear_link(); - static const int kLinkFieldNumber = 1; - const ::std::string& link() const; - void set_link(const ::std::string& value); - #if LANG_CXX11 - void set_link(::std::string&& value); - #endif - void set_link(const char* value); - void set_link(const char* value, size_t size); - ::std::string* mutable_link(); - ::std::string* release_link(); - void set_allocated_link(::std::string* link); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SourceCode) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr link_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -}; -// ------------------------------------------------------------------- - -class DescriptionEntityList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DescriptionEntityList) */ { - public: - DescriptionEntityList(); - virtual ~DescriptionEntityList(); - - DescriptionEntityList(const DescriptionEntityList& from); - - inline DescriptionEntityList& operator=(const DescriptionEntityList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DescriptionEntityList(DescriptionEntityList&& from) noexcept - : DescriptionEntityList() { - *this = ::std::move(from); - } - - inline DescriptionEntityList& operator=(DescriptionEntityList&& 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 DescriptionEntityList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DescriptionEntityList* internal_default_instance() { - return reinterpret_cast( - &_DescriptionEntityList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(DescriptionEntityList* other); - friend void swap(DescriptionEntityList& a, DescriptionEntityList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DescriptionEntityList* New() const final { - return CreateMaybeMessage(nullptr); - } - - DescriptionEntityList* 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 DescriptionEntityList& from); - void MergeFrom(const DescriptionEntityList& 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(DescriptionEntityList* 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.admin.DescriptionEntity descriptionEntities = 1; - int descriptionentities_size() const; - void clear_descriptionentities(); - static const int kDescriptionEntitiesFieldNumber = 1; - ::flyteidl::admin::DescriptionEntity* mutable_descriptionentities(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::DescriptionEntity >* - mutable_descriptionentities(); - const ::flyteidl::admin::DescriptionEntity& descriptionentities(int index) const; - ::flyteidl::admin::DescriptionEntity* add_descriptionentities(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::DescriptionEntity >& - descriptionentities() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DescriptionEntityList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::DescriptionEntity > descriptionentities_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -}; -// ------------------------------------------------------------------- - -class DescriptionEntityListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DescriptionEntityListRequest) */ { - public: - DescriptionEntityListRequest(); - virtual ~DescriptionEntityListRequest(); - - DescriptionEntityListRequest(const DescriptionEntityListRequest& from); - - inline DescriptionEntityListRequest& operator=(const DescriptionEntityListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DescriptionEntityListRequest(DescriptionEntityListRequest&& from) noexcept - : DescriptionEntityListRequest() { - *this = ::std::move(from); - } - - inline DescriptionEntityListRequest& operator=(DescriptionEntityListRequest&& 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 DescriptionEntityListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DescriptionEntityListRequest* internal_default_instance() { - return reinterpret_cast( - &_DescriptionEntityListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(DescriptionEntityListRequest* other); - friend void swap(DescriptionEntityListRequest& a, DescriptionEntityListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DescriptionEntityListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - DescriptionEntityListRequest* 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 DescriptionEntityListRequest& from); - void MergeFrom(const DescriptionEntityListRequest& 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(DescriptionEntityListRequest* 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 token = 4; - void clear_token(); - static const int kTokenFieldNumber = 4; - 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); - - // string filters = 5; - void clear_filters(); - static const int kFiltersFieldNumber = 5; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // .flyteidl.admin.NamedEntityIdentifier id = 2; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 2; - const ::flyteidl::admin::NamedEntityIdentifier& id() const; - ::flyteidl::admin::NamedEntityIdentifier* release_id(); - ::flyteidl::admin::NamedEntityIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id); - - // .flyteidl.admin.Sort sort_by = 6; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 6; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // .flyteidl.core.ResourceType resource_type = 1; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 1; - ::flyteidl::core::ResourceType resource_type() const; - void set_resource_type(::flyteidl::core::ResourceType value); - - // uint32 limit = 3; - void clear_limit(); - static const int kLimitFieldNumber = 3; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DescriptionEntityListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::flyteidl::admin::NamedEntityIdentifier* id_; - ::flyteidl::admin::Sort* sort_by_; - int resource_type_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DescriptionEntity - -// .flyteidl.core.Identifier id = 1; -inline bool DescriptionEntity::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& DescriptionEntity::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntity.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* DescriptionEntity::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntity.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* DescriptionEntity::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntity.id) - return id_; -} -inline void DescriptionEntity::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntity.id) -} - -// string short_description = 2; -inline void DescriptionEntity::clear_short_description() { - short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DescriptionEntity::short_description() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntity.short_description) - return short_description_.GetNoArena(); -} -inline void DescriptionEntity::set_short_description(const ::std::string& value) { - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntity.short_description) -} -#if LANG_CXX11 -inline void DescriptionEntity::set_short_description(::std::string&& value) { - - short_description_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DescriptionEntity.short_description) -} -#endif -inline void DescriptionEntity::set_short_description(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DescriptionEntity.short_description) -} -inline void DescriptionEntity::set_short_description(const char* value, size_t size) { - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DescriptionEntity.short_description) -} -inline ::std::string* DescriptionEntity::mutable_short_description() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntity.short_description) - return short_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DescriptionEntity::release_short_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntity.short_description) - - return short_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DescriptionEntity::set_allocated_short_description(::std::string* short_description) { - if (short_description != nullptr) { - - } else { - - } - short_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), short_description); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntity.short_description) -} - -// .flyteidl.admin.Description long_description = 3; -inline bool DescriptionEntity::has_long_description() const { - return this != internal_default_instance() && long_description_ != nullptr; -} -inline void DescriptionEntity::clear_long_description() { - if (GetArenaNoVirtual() == nullptr && long_description_ != nullptr) { - delete long_description_; - } - long_description_ = nullptr; -} -inline const ::flyteidl::admin::Description& DescriptionEntity::long_description() const { - const ::flyteidl::admin::Description* p = long_description_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntity.long_description) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Description_default_instance_); -} -inline ::flyteidl::admin::Description* DescriptionEntity::release_long_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntity.long_description) - - ::flyteidl::admin::Description* temp = long_description_; - long_description_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Description* DescriptionEntity::mutable_long_description() { - - if (long_description_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Description>(GetArenaNoVirtual()); - long_description_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntity.long_description) - return long_description_; -} -inline void DescriptionEntity::set_allocated_long_description(::flyteidl::admin::Description* long_description) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete long_description_; - } - if (long_description) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - long_description = ::google::protobuf::internal::GetOwnedMessage( - message_arena, long_description, submessage_arena); - } - - } else { - - } - long_description_ = long_description; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntity.long_description) -} - -// .flyteidl.admin.SourceCode source_code = 4; -inline bool DescriptionEntity::has_source_code() const { - return this != internal_default_instance() && source_code_ != nullptr; -} -inline void DescriptionEntity::clear_source_code() { - if (GetArenaNoVirtual() == nullptr && source_code_ != nullptr) { - delete source_code_; - } - source_code_ = nullptr; -} -inline const ::flyteidl::admin::SourceCode& DescriptionEntity::source_code() const { - const ::flyteidl::admin::SourceCode* p = source_code_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntity.source_code) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_SourceCode_default_instance_); -} -inline ::flyteidl::admin::SourceCode* DescriptionEntity::release_source_code() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntity.source_code) - - ::flyteidl::admin::SourceCode* temp = source_code_; - source_code_ = nullptr; - return temp; -} -inline ::flyteidl::admin::SourceCode* DescriptionEntity::mutable_source_code() { - - if (source_code_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::SourceCode>(GetArenaNoVirtual()); - source_code_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntity.source_code) - return source_code_; -} -inline void DescriptionEntity::set_allocated_source_code(::flyteidl::admin::SourceCode* source_code) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete source_code_; - } - if (source_code) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - source_code = ::google::protobuf::internal::GetOwnedMessage( - message_arena, source_code, submessage_arena); - } - - } else { - - } - source_code_ = source_code; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntity.source_code) -} - -// repeated string tags = 5; -inline int DescriptionEntity::tags_size() const { - return tags_.size(); -} -inline void DescriptionEntity::clear_tags() { - tags_.Clear(); -} -inline const ::std::string& DescriptionEntity::tags(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntity.tags) - return tags_.Get(index); -} -inline ::std::string* DescriptionEntity::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntity.tags) - return tags_.Mutable(index); -} -inline void DescriptionEntity::set_tags(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntity.tags) - tags_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void DescriptionEntity::set_tags(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntity.tags) - tags_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void DescriptionEntity::set_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DescriptionEntity.tags) -} -inline void DescriptionEntity::set_tags(int index, const char* value, size_t size) { - tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DescriptionEntity.tags) -} -inline ::std::string* DescriptionEntity::add_tags() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.DescriptionEntity.tags) - return tags_.Add(); -} -inline void DescriptionEntity::add_tags(const ::std::string& value) { - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.DescriptionEntity.tags) -} -#if LANG_CXX11 -inline void DescriptionEntity::add_tags(::std::string&& value) { - tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.DescriptionEntity.tags) -} -#endif -inline void DescriptionEntity::add_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.DescriptionEntity.tags) -} -inline void DescriptionEntity::add_tags(const char* value, size_t size) { - tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.DescriptionEntity.tags) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -DescriptionEntity::tags() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.DescriptionEntity.tags) - return tags_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -DescriptionEntity::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.DescriptionEntity.tags) - return &tags_; -} - -// ------------------------------------------------------------------- - -// Description - -// string value = 1; -inline bool Description::has_value() const { - return content_case() == kValue; -} -inline void Description::set_has_value() { - _oneof_case_[0] = kValue; -} -inline void Description::clear_value() { - if (has_value()) { - content_.value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_content(); - } -} -inline const ::std::string& Description::value() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Description.value) - if (has_value()) { - return content_.value_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Description::set_value(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.value) - if (!has_value()) { - clear_content(); - set_has_value(); - content_.value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.value) -} -#if LANG_CXX11 -inline void Description::set_value(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.value) - if (!has_value()) { - clear_content(); - set_has_value(); - content_.value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Description.value) -} -#endif -inline void Description::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_value()) { - clear_content(); - set_has_value(); - content_.value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Description.value) -} -inline void Description::set_value(const char* value, size_t size) { - if (!has_value()) { - clear_content(); - set_has_value(); - content_.value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Description.value) -} -inline ::std::string* Description::mutable_value() { - if (!has_value()) { - clear_content(); - set_has_value(); - content_.value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Description.value) - return content_.value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Description::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Description.value) - if (has_value()) { - clear_has_content(); - return content_.value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void Description::set_allocated_value(::std::string* value) { - if (has_content()) { - clear_content(); - } - if (value != nullptr) { - set_has_value(); - content_.value_.UnsafeSetDefault(value); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Description.value) -} - -// string uri = 2; -inline bool Description::has_uri() const { - return content_case() == kUri; -} -inline void Description::set_has_uri() { - _oneof_case_[0] = kUri; -} -inline void Description::clear_uri() { - if (has_uri()) { - content_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_content(); - } -} -inline const ::std::string& Description::uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Description.uri) - if (has_uri()) { - return content_.uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Description::set_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.uri) - if (!has_uri()) { - clear_content(); - set_has_uri(); - content_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.uri) -} -#if LANG_CXX11 -inline void Description::set_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.uri) - if (!has_uri()) { - clear_content(); - set_has_uri(); - content_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Description.uri) -} -#endif -inline void Description::set_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_uri()) { - clear_content(); - set_has_uri(); - content_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Description.uri) -} -inline void Description::set_uri(const char* value, size_t size) { - if (!has_uri()) { - clear_content(); - set_has_uri(); - content_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - content_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Description.uri) -} -inline ::std::string* Description::mutable_uri() { - if (!has_uri()) { - clear_content(); - set_has_uri(); - content_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Description.uri) - return content_.uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Description::release_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Description.uri) - if (has_uri()) { - clear_has_content(); - return content_.uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void Description::set_allocated_uri(::std::string* uri) { - if (has_content()) { - clear_content(); - } - if (uri != nullptr) { - set_has_uri(); - content_.uri_.UnsafeSetDefault(uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Description.uri) -} - -// .flyteidl.admin.DescriptionFormat format = 3; -inline void Description::clear_format() { - format_ = 0; -} -inline ::flyteidl::admin::DescriptionFormat Description::format() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Description.format) - return static_cast< ::flyteidl::admin::DescriptionFormat >(format_); -} -inline void Description::set_format(::flyteidl::admin::DescriptionFormat value) { - - format_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.format) -} - -// string icon_link = 4; -inline void Description::clear_icon_link() { - icon_link_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Description::icon_link() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Description.icon_link) - return icon_link_.GetNoArena(); -} -inline void Description::set_icon_link(const ::std::string& value) { - - icon_link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Description.icon_link) -} -#if LANG_CXX11 -inline void Description::set_icon_link(::std::string&& value) { - - icon_link_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Description.icon_link) -} -#endif -inline void Description::set_icon_link(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - icon_link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Description.icon_link) -} -inline void Description::set_icon_link(const char* value, size_t size) { - - icon_link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Description.icon_link) -} -inline ::std::string* Description::mutable_icon_link() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Description.icon_link) - return icon_link_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Description::release_icon_link() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Description.icon_link) - - return icon_link_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Description::set_allocated_icon_link(::std::string* icon_link) { - if (icon_link != nullptr) { - - } else { - - } - icon_link_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), icon_link); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Description.icon_link) -} - -inline bool Description::has_content() const { - return content_case() != CONTENT_NOT_SET; -} -inline void Description::clear_has_content() { - _oneof_case_[0] = CONTENT_NOT_SET; -} -inline Description::ContentCase Description::content_case() const { - return Description::ContentCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// SourceCode - -// string link = 1; -inline void SourceCode::clear_link() { - link_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SourceCode::link() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SourceCode.link) - return link_.GetNoArena(); -} -inline void SourceCode::set_link(const ::std::string& value) { - - link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.SourceCode.link) -} -#if LANG_CXX11 -inline void SourceCode::set_link(::std::string&& value) { - - link_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.SourceCode.link) -} -#endif -inline void SourceCode::set_link(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.SourceCode.link) -} -inline void SourceCode::set_link(const char* value, size_t size) { - - link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.SourceCode.link) -} -inline ::std::string* SourceCode::mutable_link() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SourceCode.link) - return link_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SourceCode::release_link() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SourceCode.link) - - return link_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SourceCode::set_allocated_link(::std::string* link) { - if (link != nullptr) { - - } else { - - } - link_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), link); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SourceCode.link) -} - -// ------------------------------------------------------------------- - -// DescriptionEntityList - -// repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; -inline int DescriptionEntityList::descriptionentities_size() const { - return descriptionentities_.size(); -} -inline void DescriptionEntityList::clear_descriptionentities() { - descriptionentities_.Clear(); -} -inline ::flyteidl::admin::DescriptionEntity* DescriptionEntityList::mutable_descriptionentities(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntityList.descriptionEntities) - return descriptionentities_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::DescriptionEntity >* -DescriptionEntityList::mutable_descriptionentities() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.DescriptionEntityList.descriptionEntities) - return &descriptionentities_; -} -inline const ::flyteidl::admin::DescriptionEntity& DescriptionEntityList::descriptionentities(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityList.descriptionEntities) - return descriptionentities_.Get(index); -} -inline ::flyteidl::admin::DescriptionEntity* DescriptionEntityList::add_descriptionentities() { - // @@protoc_insertion_point(field_add:flyteidl.admin.DescriptionEntityList.descriptionEntities) - return descriptionentities_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::DescriptionEntity >& -DescriptionEntityList::descriptionentities() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.DescriptionEntityList.descriptionEntities) - return descriptionentities_; -} - -// string token = 2; -inline void DescriptionEntityList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DescriptionEntityList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityList.token) - return token_.GetNoArena(); -} -inline void DescriptionEntityList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntityList.token) -} -#if LANG_CXX11 -inline void DescriptionEntityList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DescriptionEntityList.token) -} -#endif -inline void DescriptionEntityList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DescriptionEntityList.token) -} -inline void DescriptionEntityList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DescriptionEntityList.token) -} -inline ::std::string* DescriptionEntityList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntityList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DescriptionEntityList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntityList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DescriptionEntityList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntityList.token) -} - -// ------------------------------------------------------------------- - -// DescriptionEntityListRequest - -// .flyteidl.core.ResourceType resource_type = 1; -inline void DescriptionEntityListRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::core::ResourceType DescriptionEntityListRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityListRequest.resource_type) - return static_cast< ::flyteidl::core::ResourceType >(resource_type_); -} -inline void DescriptionEntityListRequest::set_resource_type(::flyteidl::core::ResourceType value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntityListRequest.resource_type) -} - -// .flyteidl.admin.NamedEntityIdentifier id = 2; -inline bool DescriptionEntityListRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::admin::NamedEntityIdentifier& DescriptionEntityListRequest::id() const { - const ::flyteidl::admin::NamedEntityIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityListRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityIdentifier_default_instance_); -} -inline ::flyteidl::admin::NamedEntityIdentifier* DescriptionEntityListRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntityListRequest.id) - - ::flyteidl::admin::NamedEntityIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityIdentifier* DescriptionEntityListRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntityListRequest.id) - return id_; -} -inline void DescriptionEntityListRequest::set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntityListRequest.id) -} - -// uint32 limit = 3; -inline void DescriptionEntityListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 DescriptionEntityListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityListRequest.limit) - return limit_; -} -inline void DescriptionEntityListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntityListRequest.limit) -} - -// string token = 4; -inline void DescriptionEntityListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DescriptionEntityListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityListRequest.token) - return token_.GetNoArena(); -} -inline void DescriptionEntityListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntityListRequest.token) -} -#if LANG_CXX11 -inline void DescriptionEntityListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DescriptionEntityListRequest.token) -} -#endif -inline void DescriptionEntityListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DescriptionEntityListRequest.token) -} -inline void DescriptionEntityListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DescriptionEntityListRequest.token) -} -inline ::std::string* DescriptionEntityListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntityListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DescriptionEntityListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntityListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DescriptionEntityListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntityListRequest.token) -} - -// string filters = 5; -inline void DescriptionEntityListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DescriptionEntityListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityListRequest.filters) - return filters_.GetNoArena(); -} -inline void DescriptionEntityListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.DescriptionEntityListRequest.filters) -} -#if LANG_CXX11 -inline void DescriptionEntityListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DescriptionEntityListRequest.filters) -} -#endif -inline void DescriptionEntityListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DescriptionEntityListRequest.filters) -} -inline void DescriptionEntityListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DescriptionEntityListRequest.filters) -} -inline ::std::string* DescriptionEntityListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntityListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DescriptionEntityListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntityListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DescriptionEntityListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntityListRequest.filters) -} - -// .flyteidl.admin.Sort sort_by = 6; -inline bool DescriptionEntityListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline const ::flyteidl::admin::Sort& DescriptionEntityListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DescriptionEntityListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* DescriptionEntityListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DescriptionEntityListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* DescriptionEntityListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DescriptionEntityListRequest.sort_by) - return sort_by_; -} -inline void DescriptionEntityListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(sort_by_); - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DescriptionEntityListRequest.sort_by) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::DescriptionFormat> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::DescriptionFormat>() { - return ::flyteidl::admin::DescriptionFormat_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fdescription_5fentity_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/event.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/event.grpc.pb.cc deleted file mode 100644 index f62d0ba8c8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/event.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/event.proto - -#include "flyteidl/admin/event.pb.h" -#include "flyteidl/admin/event.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/event.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/event.grpc.pb.h deleted file mode 100644 index ec8ae4e8c4..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/event.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/event.proto -#ifndef GRPC_flyteidl_2fadmin_2fevent_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fevent_2eproto__INCLUDED - -#include "flyteidl/admin/event.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fevent_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/event.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/event.pb.cc deleted file mode 100644 index 87191a9ca8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/event.pb.cc +++ /dev/null @@ -1,3121 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/event.proto - -#include "flyteidl/admin/event.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fevent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fevent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto; -namespace flyteidl { -namespace admin { -class EventErrorAlreadyInTerminalStateDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _EventErrorAlreadyInTerminalState_default_instance_; -class EventErrorIncompatibleClusterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _EventErrorIncompatibleCluster_default_instance_; -class EventFailureReasonDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::admin::EventErrorAlreadyInTerminalState* already_in_terminal_state_; - const ::flyteidl::admin::EventErrorIncompatibleCluster* incompatible_cluster_; -} _EventFailureReason_default_instance_; -class WorkflowExecutionEventRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionEventRequest_default_instance_; -class WorkflowExecutionEventResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionEventResponse_default_instance_; -class NodeExecutionEventRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionEventRequest_default_instance_; -class NodeExecutionEventResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionEventResponse_default_instance_; -class TaskExecutionEventRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionEventRequest_default_instance_; -class TaskExecutionEventResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionEventResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsEventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_EventErrorAlreadyInTerminalState_default_instance_; - new (ptr) ::flyteidl::admin::EventErrorAlreadyInTerminalState(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::EventErrorAlreadyInTerminalState::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_EventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto}, {}}; - -static void InitDefaultsEventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_EventErrorIncompatibleCluster_default_instance_; - new (ptr) ::flyteidl::admin::EventErrorIncompatibleCluster(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::EventErrorIncompatibleCluster::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_EventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto}, {}}; - -static void InitDefaultsEventFailureReason_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_EventFailureReason_default_instance_; - new (ptr) ::flyteidl::admin::EventFailureReason(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::EventFailureReason::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_EventFailureReason_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsEventFailureReason_flyteidl_2fadmin_2fevent_2eproto}, { - &scc_info_EventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto.base, - &scc_info_EventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto.base,}}; - -static void InitDefaultsWorkflowExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionEventRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionEventRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionEventRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto}, { - &scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base,}}; - -static void InitDefaultsWorkflowExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionEventResponse_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionEventResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionEventResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto}, {}}; - -static void InitDefaultsNodeExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionEventRequest_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionEventRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionEventRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNodeExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto}, { - &scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base,}}; - -static void InitDefaultsNodeExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionEventResponse_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionEventResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionEventResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_NodeExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNodeExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto}, {}}; - -static void InitDefaultsTaskExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionEventRequest_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionEventRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionEventRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto}, { - &scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base,}}; - -static void InitDefaultsTaskExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionEventResponse_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionEventResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionEventResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fevent_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_EventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_EventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_EventFailureReason_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[9]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fevent_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fevent_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fevent_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EventErrorAlreadyInTerminalState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EventErrorAlreadyInTerminalState, current_phase_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EventErrorIncompatibleCluster, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EventErrorIncompatibleCluster, cluster_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EventFailureReason, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EventFailureReason, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::EventFailureReasonDefaultTypeInternal, already_in_terminal_state_), - offsetof(::flyteidl::admin::EventFailureReasonDefaultTypeInternal, incompatible_cluster_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EventFailureReason, reason_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionEventRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionEventRequest, request_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionEventRequest, event_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionEventResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionEventRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionEventRequest, request_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionEventRequest, event_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionEventResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionEventRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionEventRequest, request_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionEventRequest, event_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionEventResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::EventErrorAlreadyInTerminalState)}, - { 6, -1, sizeof(::flyteidl::admin::EventErrorIncompatibleCluster)}, - { 12, -1, sizeof(::flyteidl::admin::EventFailureReason)}, - { 20, -1, sizeof(::flyteidl::admin::WorkflowExecutionEventRequest)}, - { 27, -1, sizeof(::flyteidl::admin::WorkflowExecutionEventResponse)}, - { 32, -1, sizeof(::flyteidl::admin::NodeExecutionEventRequest)}, - { 39, -1, sizeof(::flyteidl::admin::NodeExecutionEventResponse)}, - { 44, -1, sizeof(::flyteidl::admin::TaskExecutionEventRequest)}, - { 51, -1, sizeof(::flyteidl::admin::TaskExecutionEventResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_EventErrorAlreadyInTerminalState_default_instance_), - reinterpret_cast(&::flyteidl::admin::_EventErrorIncompatibleCluster_default_instance_), - reinterpret_cast(&::flyteidl::admin::_EventFailureReason_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionEventRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionEventResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionEventRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionEventResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionEventRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionEventResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fevent_2eproto, "flyteidl/admin/event.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fevent_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fevent_2eproto, 9, file_level_enum_descriptors_flyteidl_2fadmin_2fevent_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fevent_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fevent_2eproto[] = - "\n\032flyteidl/admin/event.proto\022\016flyteidl.a" - "dmin\032\032flyteidl/event/event.proto\"9\n Even" - "tErrorAlreadyInTerminalState\022\025\n\rcurrent_" - "phase\030\001 \001(\t\"0\n\035EventErrorIncompatibleClu" - "ster\022\017\n\007cluster\030\001 \001(\t\"\304\001\n\022EventFailureRe" - "ason\022U\n\031already_in_terminal_state\030\001 \001(\0132" - "0.flyteidl.admin.EventErrorAlreadyInTerm" - "inalStateH\000\022M\n\024incompatible_cluster\030\002 \001(" - "\0132-.flyteidl.admin.EventErrorIncompatibl" - "eClusterH\000B\010\n\006reason\"j\n\035WorkflowExecutio" - "nEventRequest\022\022\n\nrequest_id\030\001 \001(\t\0225\n\005eve" - "nt\030\002 \001(\0132&.flyteidl.event.WorkflowExecut" - "ionEvent\" \n\036WorkflowExecutionEventRespon" - "se\"b\n\031NodeExecutionEventRequest\022\022\n\nreque" - "st_id\030\001 \001(\t\0221\n\005event\030\002 \001(\0132\".flyteidl.ev" - "ent.NodeExecutionEvent\"\034\n\032NodeExecutionE" - "ventResponse\"b\n\031TaskExecutionEventReques" - "t\022\022\n\nrequest_id\030\001 \001(\t\0221\n\005event\030\002 \001(\0132\".f" - "lyteidl.event.TaskExecutionEvent\"\034\n\032Task" - "ExecutionEventResponseB=Z;github.com/fly" - "teorg/flyte/flyteidl/gen/pb-go/flyteidl/" - "adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fevent_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fevent_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fevent_2eproto, - "flyteidl/admin/event.proto", &assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto, 853, -}; - -void AddDescriptors_flyteidl_2fadmin_2fevent_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_flyteidl_2fevent_2fevent_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fevent_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fevent_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fevent_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void EventErrorAlreadyInTerminalState::InitAsDefaultInstance() { -} -class EventErrorAlreadyInTerminalState::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int EventErrorAlreadyInTerminalState::kCurrentPhaseFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -EventErrorAlreadyInTerminalState::EventErrorAlreadyInTerminalState() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.EventErrorAlreadyInTerminalState) -} -EventErrorAlreadyInTerminalState::EventErrorAlreadyInTerminalState(const EventErrorAlreadyInTerminalState& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - current_phase_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.current_phase().size() > 0) { - current_phase_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.current_phase_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.EventErrorAlreadyInTerminalState) -} - -void EventErrorAlreadyInTerminalState::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_EventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto.base); - current_phase_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -EventErrorAlreadyInTerminalState::~EventErrorAlreadyInTerminalState() { - // @@protoc_insertion_point(destructor:flyteidl.admin.EventErrorAlreadyInTerminalState) - SharedDtor(); -} - -void EventErrorAlreadyInTerminalState::SharedDtor() { - current_phase_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void EventErrorAlreadyInTerminalState::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EventErrorAlreadyInTerminalState& EventErrorAlreadyInTerminalState::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_EventErrorAlreadyInTerminalState_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void EventErrorAlreadyInTerminalState::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - current_phase_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* EventErrorAlreadyInTerminalState::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string current_phase = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase"); - object = msg->mutable_current_phase(); - 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 EventErrorAlreadyInTerminalState::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string current_phase = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_current_phase())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->current_phase().data(), static_cast(this->current_phase().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.EventErrorAlreadyInTerminalState) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.EventErrorAlreadyInTerminalState) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void EventErrorAlreadyInTerminalState::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string current_phase = 1; - if (this->current_phase().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->current_phase().data(), static_cast(this->current_phase().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->current_phase(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.EventErrorAlreadyInTerminalState) -} - -::google::protobuf::uint8* EventErrorAlreadyInTerminalState::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string current_phase = 1; - if (this->current_phase().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->current_phase().data(), static_cast(this->current_phase().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->current_phase(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.EventErrorAlreadyInTerminalState) - return target; -} - -size_t EventErrorAlreadyInTerminalState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - 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 current_phase = 1; - if (this->current_phase().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->current_phase()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EventErrorAlreadyInTerminalState::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - GOOGLE_DCHECK_NE(&from, this); - const EventErrorAlreadyInTerminalState* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.EventErrorAlreadyInTerminalState) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.EventErrorAlreadyInTerminalState) - MergeFrom(*source); - } -} - -void EventErrorAlreadyInTerminalState::MergeFrom(const EventErrorAlreadyInTerminalState& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.current_phase().size() > 0) { - - current_phase_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.current_phase_); - } -} - -void EventErrorAlreadyInTerminalState::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EventErrorAlreadyInTerminalState::CopyFrom(const EventErrorAlreadyInTerminalState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.EventErrorAlreadyInTerminalState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EventErrorAlreadyInTerminalState::IsInitialized() const { - return true; -} - -void EventErrorAlreadyInTerminalState::Swap(EventErrorAlreadyInTerminalState* other) { - if (other == this) return; - InternalSwap(other); -} -void EventErrorAlreadyInTerminalState::InternalSwap(EventErrorAlreadyInTerminalState* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - current_phase_.Swap(&other->current_phase_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata EventErrorAlreadyInTerminalState::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void EventErrorIncompatibleCluster::InitAsDefaultInstance() { -} -class EventErrorIncompatibleCluster::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int EventErrorIncompatibleCluster::kClusterFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -EventErrorIncompatibleCluster::EventErrorIncompatibleCluster() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.EventErrorIncompatibleCluster) -} -EventErrorIncompatibleCluster::EventErrorIncompatibleCluster(const EventErrorIncompatibleCluster& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - cluster_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.cluster().size() > 0) { - cluster_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.EventErrorIncompatibleCluster) -} - -void EventErrorIncompatibleCluster::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_EventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto.base); - cluster_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -EventErrorIncompatibleCluster::~EventErrorIncompatibleCluster() { - // @@protoc_insertion_point(destructor:flyteidl.admin.EventErrorIncompatibleCluster) - SharedDtor(); -} - -void EventErrorIncompatibleCluster::SharedDtor() { - cluster_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void EventErrorIncompatibleCluster::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EventErrorIncompatibleCluster& EventErrorIncompatibleCluster::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_EventErrorIncompatibleCluster_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void EventErrorIncompatibleCluster::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.EventErrorIncompatibleCluster) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cluster_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* EventErrorIncompatibleCluster::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string cluster = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.EventErrorIncompatibleCluster.cluster"); - object = msg->mutable_cluster(); - 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 EventErrorIncompatibleCluster::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.EventErrorIncompatibleCluster) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string cluster = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_cluster())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster().data(), static_cast(this->cluster().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.EventErrorIncompatibleCluster.cluster")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.EventErrorIncompatibleCluster) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.EventErrorIncompatibleCluster) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void EventErrorIncompatibleCluster::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.EventErrorIncompatibleCluster) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cluster = 1; - if (this->cluster().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster().data(), static_cast(this->cluster().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EventErrorIncompatibleCluster.cluster"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->cluster(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.EventErrorIncompatibleCluster) -} - -::google::protobuf::uint8* EventErrorIncompatibleCluster::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.EventErrorIncompatibleCluster) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cluster = 1; - if (this->cluster().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster().data(), static_cast(this->cluster().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EventErrorIncompatibleCluster.cluster"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->cluster(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.EventErrorIncompatibleCluster) - return target; -} - -size_t EventErrorIncompatibleCluster::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.EventErrorIncompatibleCluster) - 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 cluster = 1; - if (this->cluster().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->cluster()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EventErrorIncompatibleCluster::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.EventErrorIncompatibleCluster) - GOOGLE_DCHECK_NE(&from, this); - const EventErrorIncompatibleCluster* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.EventErrorIncompatibleCluster) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.EventErrorIncompatibleCluster) - MergeFrom(*source); - } -} - -void EventErrorIncompatibleCluster::MergeFrom(const EventErrorIncompatibleCluster& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.EventErrorIncompatibleCluster) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.cluster().size() > 0) { - - cluster_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_); - } -} - -void EventErrorIncompatibleCluster::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.EventErrorIncompatibleCluster) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EventErrorIncompatibleCluster::CopyFrom(const EventErrorIncompatibleCluster& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.EventErrorIncompatibleCluster) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EventErrorIncompatibleCluster::IsInitialized() const { - return true; -} - -void EventErrorIncompatibleCluster::Swap(EventErrorIncompatibleCluster* other) { - if (other == this) return; - InternalSwap(other); -} -void EventErrorIncompatibleCluster::InternalSwap(EventErrorIncompatibleCluster* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - cluster_.Swap(&other->cluster_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata EventErrorIncompatibleCluster::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void EventFailureReason::InitAsDefaultInstance() { - ::flyteidl::admin::_EventFailureReason_default_instance_.already_in_terminal_state_ = const_cast< ::flyteidl::admin::EventErrorAlreadyInTerminalState*>( - ::flyteidl::admin::EventErrorAlreadyInTerminalState::internal_default_instance()); - ::flyteidl::admin::_EventFailureReason_default_instance_.incompatible_cluster_ = const_cast< ::flyteidl::admin::EventErrorIncompatibleCluster*>( - ::flyteidl::admin::EventErrorIncompatibleCluster::internal_default_instance()); -} -class EventFailureReason::HasBitSetters { - public: - static const ::flyteidl::admin::EventErrorAlreadyInTerminalState& already_in_terminal_state(const EventFailureReason* msg); - static const ::flyteidl::admin::EventErrorIncompatibleCluster& incompatible_cluster(const EventFailureReason* msg); -}; - -const ::flyteidl::admin::EventErrorAlreadyInTerminalState& -EventFailureReason::HasBitSetters::already_in_terminal_state(const EventFailureReason* msg) { - return *msg->reason_.already_in_terminal_state_; -} -const ::flyteidl::admin::EventErrorIncompatibleCluster& -EventFailureReason::HasBitSetters::incompatible_cluster(const EventFailureReason* msg) { - return *msg->reason_.incompatible_cluster_; -} -void EventFailureReason::set_allocated_already_in_terminal_state(::flyteidl::admin::EventErrorAlreadyInTerminalState* already_in_terminal_state) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_reason(); - if (already_in_terminal_state) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - already_in_terminal_state = ::google::protobuf::internal::GetOwnedMessage( - message_arena, already_in_terminal_state, submessage_arena); - } - set_has_already_in_terminal_state(); - reason_.already_in_terminal_state_ = already_in_terminal_state; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.EventFailureReason.already_in_terminal_state) -} -void EventFailureReason::set_allocated_incompatible_cluster(::flyteidl::admin::EventErrorIncompatibleCluster* incompatible_cluster) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_reason(); - if (incompatible_cluster) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - incompatible_cluster = ::google::protobuf::internal::GetOwnedMessage( - message_arena, incompatible_cluster, submessage_arena); - } - set_has_incompatible_cluster(); - reason_.incompatible_cluster_ = incompatible_cluster; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.EventFailureReason.incompatible_cluster) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int EventFailureReason::kAlreadyInTerminalStateFieldNumber; -const int EventFailureReason::kIncompatibleClusterFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -EventFailureReason::EventFailureReason() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.EventFailureReason) -} -EventFailureReason::EventFailureReason(const EventFailureReason& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_reason(); - switch (from.reason_case()) { - case kAlreadyInTerminalState: { - mutable_already_in_terminal_state()->::flyteidl::admin::EventErrorAlreadyInTerminalState::MergeFrom(from.already_in_terminal_state()); - break; - } - case kIncompatibleCluster: { - mutable_incompatible_cluster()->::flyteidl::admin::EventErrorIncompatibleCluster::MergeFrom(from.incompatible_cluster()); - break; - } - case REASON_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.EventFailureReason) -} - -void EventFailureReason::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_EventFailureReason_flyteidl_2fadmin_2fevent_2eproto.base); - clear_has_reason(); -} - -EventFailureReason::~EventFailureReason() { - // @@protoc_insertion_point(destructor:flyteidl.admin.EventFailureReason) - SharedDtor(); -} - -void EventFailureReason::SharedDtor() { - if (has_reason()) { - clear_reason(); - } -} - -void EventFailureReason::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EventFailureReason& EventFailureReason::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_EventFailureReason_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void EventFailureReason::clear_reason() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.EventFailureReason) - switch (reason_case()) { - case kAlreadyInTerminalState: { - delete reason_.already_in_terminal_state_; - break; - } - case kIncompatibleCluster: { - delete reason_.incompatible_cluster_; - break; - } - case REASON_NOT_SET: { - break; - } - } - _oneof_case_[0] = REASON_NOT_SET; -} - - -void EventFailureReason::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.EventFailureReason) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_reason(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* EventFailureReason::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::EventErrorAlreadyInTerminalState::_InternalParse; - object = msg->mutable_already_in_terminal_state(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::EventErrorIncompatibleCluster::_InternalParse; - object = msg->mutable_incompatible_cluster(); - 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 EventFailureReason::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.EventFailureReason) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_already_in_terminal_state())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_incompatible_cluster())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.EventFailureReason) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.EventFailureReason) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void EventFailureReason::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.EventFailureReason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - if (has_already_in_terminal_state()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::already_in_terminal_state(this), output); - } - - // .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - if (has_incompatible_cluster()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::incompatible_cluster(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.EventFailureReason) -} - -::google::protobuf::uint8* EventFailureReason::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.EventFailureReason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - if (has_already_in_terminal_state()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::already_in_terminal_state(this), target); - } - - // .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - if (has_incompatible_cluster()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::incompatible_cluster(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.EventFailureReason) - return target; -} - -size_t EventFailureReason::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.EventFailureReason) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (reason_case()) { - // .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - case kAlreadyInTerminalState: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reason_.already_in_terminal_state_); - break; - } - // .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - case kIncompatibleCluster: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reason_.incompatible_cluster_); - break; - } - case REASON_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EventFailureReason::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.EventFailureReason) - GOOGLE_DCHECK_NE(&from, this); - const EventFailureReason* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.EventFailureReason) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.EventFailureReason) - MergeFrom(*source); - } -} - -void EventFailureReason::MergeFrom(const EventFailureReason& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.EventFailureReason) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.reason_case()) { - case kAlreadyInTerminalState: { - mutable_already_in_terminal_state()->::flyteidl::admin::EventErrorAlreadyInTerminalState::MergeFrom(from.already_in_terminal_state()); - break; - } - case kIncompatibleCluster: { - mutable_incompatible_cluster()->::flyteidl::admin::EventErrorIncompatibleCluster::MergeFrom(from.incompatible_cluster()); - break; - } - case REASON_NOT_SET: { - break; - } - } -} - -void EventFailureReason::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.EventFailureReason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EventFailureReason::CopyFrom(const EventFailureReason& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.EventFailureReason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EventFailureReason::IsInitialized() const { - return true; -} - -void EventFailureReason::Swap(EventFailureReason* other) { - if (other == this) return; - InternalSwap(other); -} -void EventFailureReason::InternalSwap(EventFailureReason* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(reason_, other->reason_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata EventFailureReason::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionEventRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowExecutionEventRequest_default_instance_._instance.get_mutable()->event_ = const_cast< ::flyteidl::event::WorkflowExecutionEvent*>( - ::flyteidl::event::WorkflowExecutionEvent::internal_default_instance()); -} -class WorkflowExecutionEventRequest::HasBitSetters { - public: - static const ::flyteidl::event::WorkflowExecutionEvent& event(const WorkflowExecutionEventRequest* msg); -}; - -const ::flyteidl::event::WorkflowExecutionEvent& -WorkflowExecutionEventRequest::HasBitSetters::event(const WorkflowExecutionEventRequest* msg) { - return *msg->event_; -} -void WorkflowExecutionEventRequest::clear_event() { - if (GetArenaNoVirtual() == nullptr && event_ != nullptr) { - delete event_; - } - event_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionEventRequest::kRequestIdFieldNumber; -const int WorkflowExecutionEventRequest::kEventFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionEventRequest::WorkflowExecutionEventRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionEventRequest) -} -WorkflowExecutionEventRequest::WorkflowExecutionEventRequest(const WorkflowExecutionEventRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - request_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.request_id().size() > 0) { - request_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.request_id_); - } - if (from.has_event()) { - event_ = new ::flyteidl::event::WorkflowExecutionEvent(*from.event_); - } else { - event_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionEventRequest) -} - -void WorkflowExecutionEventRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - request_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - event_ = nullptr; -} - -WorkflowExecutionEventRequest::~WorkflowExecutionEventRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionEventRequest) - SharedDtor(); -} - -void WorkflowExecutionEventRequest::SharedDtor() { - request_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete event_; -} - -void WorkflowExecutionEventRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionEventRequest& WorkflowExecutionEventRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionEventRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - request_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && event_ != nullptr) { - delete event_; - } - event_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionEventRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string request_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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowExecutionEventRequest.request_id"); - object = msg->mutable_request_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; - } - // .flyteidl.event.WorkflowExecutionEvent event = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::WorkflowExecutionEvent::_InternalParse; - object = msg->mutable_event(); - 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 WorkflowExecutionEventRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionEventRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string request_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_request_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowExecutionEventRequest.request_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.WorkflowExecutionEvent event = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_event())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionEventRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionEventRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionEventRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string request_id = 1; - if (this->request_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowExecutionEventRequest.request_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->request_id(), output); - } - - // .flyteidl.event.WorkflowExecutionEvent event = 2; - if (this->has_event()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::event(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionEventRequest) -} - -::google::protobuf::uint8* WorkflowExecutionEventRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string request_id = 1; - if (this->request_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowExecutionEventRequest.request_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->request_id(), target); - } - - // .flyteidl.event.WorkflowExecutionEvent event = 2; - if (this->has_event()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::event(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionEventRequest) - return target; -} - -size_t WorkflowExecutionEventRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionEventRequest) - 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 request_id = 1; - if (this->request_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->request_id()); - } - - // .flyteidl.event.WorkflowExecutionEvent event = 2; - if (this->has_event()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *event_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionEventRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionEventRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionEventRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionEventRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionEventRequest) - MergeFrom(*source); - } -} - -void WorkflowExecutionEventRequest::MergeFrom(const WorkflowExecutionEventRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionEventRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.request_id().size() > 0) { - - request_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.request_id_); - } - if (from.has_event()) { - mutable_event()->::flyteidl::event::WorkflowExecutionEvent::MergeFrom(from.event()); - } -} - -void WorkflowExecutionEventRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionEventRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionEventRequest::CopyFrom(const WorkflowExecutionEventRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionEventRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionEventRequest::IsInitialized() const { - return true; -} - -void WorkflowExecutionEventRequest::Swap(WorkflowExecutionEventRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionEventRequest::InternalSwap(WorkflowExecutionEventRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - request_id_.Swap(&other->request_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(event_, other->event_); -} - -::google::protobuf::Metadata WorkflowExecutionEventRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionEventResponse::InitAsDefaultInstance() { -} -class WorkflowExecutionEventResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionEventResponse::WorkflowExecutionEventResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionEventResponse) -} -WorkflowExecutionEventResponse::WorkflowExecutionEventResponse(const WorkflowExecutionEventResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionEventResponse) -} - -void WorkflowExecutionEventResponse::SharedCtor() { -} - -WorkflowExecutionEventResponse::~WorkflowExecutionEventResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionEventResponse) - SharedDtor(); -} - -void WorkflowExecutionEventResponse::SharedDtor() { -} - -void WorkflowExecutionEventResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionEventResponse& WorkflowExecutionEventResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionEventResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionEventResponse) - ::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* WorkflowExecutionEventResponse::_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 WorkflowExecutionEventResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionEventResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionEventResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionEventResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionEventResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionEventResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionEventResponse) -} - -::google::protobuf::uint8* WorkflowExecutionEventResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionEventResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionEventResponse) - return target; -} - -size_t WorkflowExecutionEventResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionEventResponse) - 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 WorkflowExecutionEventResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionEventResponse) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionEventResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionEventResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionEventResponse) - MergeFrom(*source); - } -} - -void WorkflowExecutionEventResponse::MergeFrom(const WorkflowExecutionEventResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionEventResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void WorkflowExecutionEventResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionEventResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionEventResponse::CopyFrom(const WorkflowExecutionEventResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionEventResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionEventResponse::IsInitialized() const { - return true; -} - -void WorkflowExecutionEventResponse::Swap(WorkflowExecutionEventResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionEventResponse::InternalSwap(WorkflowExecutionEventResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata WorkflowExecutionEventResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionEventRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecutionEventRequest_default_instance_._instance.get_mutable()->event_ = const_cast< ::flyteidl::event::NodeExecutionEvent*>( - ::flyteidl::event::NodeExecutionEvent::internal_default_instance()); -} -class NodeExecutionEventRequest::HasBitSetters { - public: - static const ::flyteidl::event::NodeExecutionEvent& event(const NodeExecutionEventRequest* msg); -}; - -const ::flyteidl::event::NodeExecutionEvent& -NodeExecutionEventRequest::HasBitSetters::event(const NodeExecutionEventRequest* msg) { - return *msg->event_; -} -void NodeExecutionEventRequest::clear_event() { - if (GetArenaNoVirtual() == nullptr && event_ != nullptr) { - delete event_; - } - event_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionEventRequest::kRequestIdFieldNumber; -const int NodeExecutionEventRequest::kEventFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionEventRequest::NodeExecutionEventRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionEventRequest) -} -NodeExecutionEventRequest::NodeExecutionEventRequest(const NodeExecutionEventRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - request_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.request_id().size() > 0) { - request_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.request_id_); - } - if (from.has_event()) { - event_ = new ::flyteidl::event::NodeExecutionEvent(*from.event_); - } else { - event_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionEventRequest) -} - -void NodeExecutionEventRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - request_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - event_ = nullptr; -} - -NodeExecutionEventRequest::~NodeExecutionEventRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionEventRequest) - SharedDtor(); -} - -void NodeExecutionEventRequest::SharedDtor() { - request_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete event_; -} - -void NodeExecutionEventRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionEventRequest& NodeExecutionEventRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionEventRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - request_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && event_ != nullptr) { - delete event_; - } - event_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionEventRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string request_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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionEventRequest.request_id"); - object = msg->mutable_request_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; - } - // .flyteidl.event.NodeExecutionEvent event = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::NodeExecutionEvent::_InternalParse; - object = msg->mutable_event(); - 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 NodeExecutionEventRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionEventRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string request_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_request_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionEventRequest.request_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.NodeExecutionEvent event = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_event())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecutionEventRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionEventRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionEventRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string request_id = 1; - if (this->request_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionEventRequest.request_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->request_id(), output); - } - - // .flyteidl.event.NodeExecutionEvent event = 2; - if (this->has_event()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::event(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionEventRequest) -} - -::google::protobuf::uint8* NodeExecutionEventRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string request_id = 1; - if (this->request_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionEventRequest.request_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->request_id(), target); - } - - // .flyteidl.event.NodeExecutionEvent event = 2; - if (this->has_event()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::event(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionEventRequest) - return target; -} - -size_t NodeExecutionEventRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionEventRequest) - 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 request_id = 1; - if (this->request_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->request_id()); - } - - // .flyteidl.event.NodeExecutionEvent event = 2; - if (this->has_event()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *event_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionEventRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionEventRequest) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionEventRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionEventRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionEventRequest) - MergeFrom(*source); - } -} - -void NodeExecutionEventRequest::MergeFrom(const NodeExecutionEventRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionEventRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.request_id().size() > 0) { - - request_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.request_id_); - } - if (from.has_event()) { - mutable_event()->::flyteidl::event::NodeExecutionEvent::MergeFrom(from.event()); - } -} - -void NodeExecutionEventRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionEventRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionEventRequest::CopyFrom(const NodeExecutionEventRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionEventRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionEventRequest::IsInitialized() const { - return true; -} - -void NodeExecutionEventRequest::Swap(NodeExecutionEventRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionEventRequest::InternalSwap(NodeExecutionEventRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - request_id_.Swap(&other->request_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(event_, other->event_); -} - -::google::protobuf::Metadata NodeExecutionEventRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionEventResponse::InitAsDefaultInstance() { -} -class NodeExecutionEventResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionEventResponse::NodeExecutionEventResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionEventResponse) -} -NodeExecutionEventResponse::NodeExecutionEventResponse(const NodeExecutionEventResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionEventResponse) -} - -void NodeExecutionEventResponse::SharedCtor() { -} - -NodeExecutionEventResponse::~NodeExecutionEventResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionEventResponse) - SharedDtor(); -} - -void NodeExecutionEventResponse::SharedDtor() { -} - -void NodeExecutionEventResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionEventResponse& NodeExecutionEventResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionEventResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionEventResponse) - ::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* NodeExecutionEventResponse::_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 NodeExecutionEventResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionEventResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecutionEventResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionEventResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionEventResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionEventResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionEventResponse) -} - -::google::protobuf::uint8* NodeExecutionEventResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionEventResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionEventResponse) - return target; -} - -size_t NodeExecutionEventResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionEventResponse) - 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 NodeExecutionEventResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionEventResponse) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionEventResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionEventResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionEventResponse) - MergeFrom(*source); - } -} - -void NodeExecutionEventResponse::MergeFrom(const NodeExecutionEventResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionEventResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void NodeExecutionEventResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionEventResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionEventResponse::CopyFrom(const NodeExecutionEventResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionEventResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionEventResponse::IsInitialized() const { - return true; -} - -void NodeExecutionEventResponse::Swap(NodeExecutionEventResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionEventResponse::InternalSwap(NodeExecutionEventResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata NodeExecutionEventResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionEventRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecutionEventRequest_default_instance_._instance.get_mutable()->event_ = const_cast< ::flyteidl::event::TaskExecutionEvent*>( - ::flyteidl::event::TaskExecutionEvent::internal_default_instance()); -} -class TaskExecutionEventRequest::HasBitSetters { - public: - static const ::flyteidl::event::TaskExecutionEvent& event(const TaskExecutionEventRequest* msg); -}; - -const ::flyteidl::event::TaskExecutionEvent& -TaskExecutionEventRequest::HasBitSetters::event(const TaskExecutionEventRequest* msg) { - return *msg->event_; -} -void TaskExecutionEventRequest::clear_event() { - if (GetArenaNoVirtual() == nullptr && event_ != nullptr) { - delete event_; - } - event_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionEventRequest::kRequestIdFieldNumber; -const int TaskExecutionEventRequest::kEventFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionEventRequest::TaskExecutionEventRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionEventRequest) -} -TaskExecutionEventRequest::TaskExecutionEventRequest(const TaskExecutionEventRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - request_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.request_id().size() > 0) { - request_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.request_id_); - } - if (from.has_event()) { - event_ = new ::flyteidl::event::TaskExecutionEvent(*from.event_); - } else { - event_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionEventRequest) -} - -void TaskExecutionEventRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - request_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - event_ = nullptr; -} - -TaskExecutionEventRequest::~TaskExecutionEventRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionEventRequest) - SharedDtor(); -} - -void TaskExecutionEventRequest::SharedDtor() { - request_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete event_; -} - -void TaskExecutionEventRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionEventRequest& TaskExecutionEventRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionEventRequest_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionEventRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - request_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && event_ != nullptr) { - delete event_; - } - event_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionEventRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string request_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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionEventRequest.request_id"); - object = msg->mutable_request_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; - } - // .flyteidl.event.TaskExecutionEvent event = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::TaskExecutionEvent::_InternalParse; - object = msg->mutable_event(); - 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 TaskExecutionEventRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionEventRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string request_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_request_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionEventRequest.request_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.TaskExecutionEvent event = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_event())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecutionEventRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionEventRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionEventRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string request_id = 1; - if (this->request_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionEventRequest.request_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->request_id(), output); - } - - // .flyteidl.event.TaskExecutionEvent event = 2; - if (this->has_event()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::event(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskExecutionEventRequest) -} - -::google::protobuf::uint8* TaskExecutionEventRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionEventRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string request_id = 1; - if (this->request_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->request_id().data(), static_cast(this->request_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionEventRequest.request_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->request_id(), target); - } - - // .flyteidl.event.TaskExecutionEvent event = 2; - if (this->has_event()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::event(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskExecutionEventRequest) - return target; -} - -size_t TaskExecutionEventRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionEventRequest) - 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 request_id = 1; - if (this->request_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->request_id()); - } - - // .flyteidl.event.TaskExecutionEvent event = 2; - if (this->has_event()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *event_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionEventRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionEventRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionEventRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionEventRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionEventRequest) - MergeFrom(*source); - } -} - -void TaskExecutionEventRequest::MergeFrom(const TaskExecutionEventRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionEventRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.request_id().size() > 0) { - - request_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.request_id_); - } - if (from.has_event()) { - mutable_event()->::flyteidl::event::TaskExecutionEvent::MergeFrom(from.event()); - } -} - -void TaskExecutionEventRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionEventRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionEventRequest::CopyFrom(const TaskExecutionEventRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionEventRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionEventRequest::IsInitialized() const { - return true; -} - -void TaskExecutionEventRequest::Swap(TaskExecutionEventRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionEventRequest::InternalSwap(TaskExecutionEventRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - request_id_.Swap(&other->request_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(event_, other->event_); -} - -::google::protobuf::Metadata TaskExecutionEventRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionEventResponse::InitAsDefaultInstance() { -} -class TaskExecutionEventResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionEventResponse::TaskExecutionEventResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionEventResponse) -} -TaskExecutionEventResponse::TaskExecutionEventResponse(const TaskExecutionEventResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionEventResponse) -} - -void TaskExecutionEventResponse::SharedCtor() { -} - -TaskExecutionEventResponse::~TaskExecutionEventResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionEventResponse) - SharedDtor(); -} - -void TaskExecutionEventResponse::SharedDtor() { -} - -void TaskExecutionEventResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionEventResponse& TaskExecutionEventResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionEventResponse_flyteidl_2fadmin_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionEventResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionEventResponse) - ::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* TaskExecutionEventResponse::_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 TaskExecutionEventResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionEventResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecutionEventResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionEventResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionEventResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionEventResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskExecutionEventResponse) -} - -::google::protobuf::uint8* TaskExecutionEventResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionEventResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskExecutionEventResponse) - return target; -} - -size_t TaskExecutionEventResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionEventResponse) - 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 TaskExecutionEventResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionEventResponse) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionEventResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionEventResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionEventResponse) - MergeFrom(*source); - } -} - -void TaskExecutionEventResponse::MergeFrom(const TaskExecutionEventResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionEventResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void TaskExecutionEventResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionEventResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionEventResponse::CopyFrom(const TaskExecutionEventResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionEventResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionEventResponse::IsInitialized() const { - return true; -} - -void TaskExecutionEventResponse::Swap(TaskExecutionEventResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionEventResponse::InternalSwap(TaskExecutionEventResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata TaskExecutionEventResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fevent_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::EventErrorAlreadyInTerminalState* Arena::CreateMaybeMessage< ::flyteidl::admin::EventErrorAlreadyInTerminalState >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::EventErrorAlreadyInTerminalState >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::EventErrorIncompatibleCluster* Arena::CreateMaybeMessage< ::flyteidl::admin::EventErrorIncompatibleCluster >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::EventErrorIncompatibleCluster >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::EventFailureReason* Arena::CreateMaybeMessage< ::flyteidl::admin::EventFailureReason >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::EventFailureReason >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionEventRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionEventRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionEventRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionEventResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionEventResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionEventResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionEventRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionEventRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionEventRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionEventResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionEventResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionEventResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionEventRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionEventRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionEventRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionEventResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionEventResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionEventResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/event.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/event.pb.h deleted file mode 100644 index 0301c4c77a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/event.pb.h +++ /dev/null @@ -1,1749 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/event.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fevent_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fevent_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/event/event.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fevent_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fevent_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[9] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fevent_2eproto(); -namespace flyteidl { -namespace admin { -class EventErrorAlreadyInTerminalState; -class EventErrorAlreadyInTerminalStateDefaultTypeInternal; -extern EventErrorAlreadyInTerminalStateDefaultTypeInternal _EventErrorAlreadyInTerminalState_default_instance_; -class EventErrorIncompatibleCluster; -class EventErrorIncompatibleClusterDefaultTypeInternal; -extern EventErrorIncompatibleClusterDefaultTypeInternal _EventErrorIncompatibleCluster_default_instance_; -class EventFailureReason; -class EventFailureReasonDefaultTypeInternal; -extern EventFailureReasonDefaultTypeInternal _EventFailureReason_default_instance_; -class NodeExecutionEventRequest; -class NodeExecutionEventRequestDefaultTypeInternal; -extern NodeExecutionEventRequestDefaultTypeInternal _NodeExecutionEventRequest_default_instance_; -class NodeExecutionEventResponse; -class NodeExecutionEventResponseDefaultTypeInternal; -extern NodeExecutionEventResponseDefaultTypeInternal _NodeExecutionEventResponse_default_instance_; -class TaskExecutionEventRequest; -class TaskExecutionEventRequestDefaultTypeInternal; -extern TaskExecutionEventRequestDefaultTypeInternal _TaskExecutionEventRequest_default_instance_; -class TaskExecutionEventResponse; -class TaskExecutionEventResponseDefaultTypeInternal; -extern TaskExecutionEventResponseDefaultTypeInternal _TaskExecutionEventResponse_default_instance_; -class WorkflowExecutionEventRequest; -class WorkflowExecutionEventRequestDefaultTypeInternal; -extern WorkflowExecutionEventRequestDefaultTypeInternal _WorkflowExecutionEventRequest_default_instance_; -class WorkflowExecutionEventResponse; -class WorkflowExecutionEventResponseDefaultTypeInternal; -extern WorkflowExecutionEventResponseDefaultTypeInternal _WorkflowExecutionEventResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::EventErrorAlreadyInTerminalState* Arena::CreateMaybeMessage<::flyteidl::admin::EventErrorAlreadyInTerminalState>(Arena*); -template<> ::flyteidl::admin::EventErrorIncompatibleCluster* Arena::CreateMaybeMessage<::flyteidl::admin::EventErrorIncompatibleCluster>(Arena*); -template<> ::flyteidl::admin::EventFailureReason* Arena::CreateMaybeMessage<::flyteidl::admin::EventFailureReason>(Arena*); -template<> ::flyteidl::admin::NodeExecutionEventRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionEventRequest>(Arena*); -template<> ::flyteidl::admin::NodeExecutionEventResponse* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionEventResponse>(Arena*); -template<> ::flyteidl::admin::TaskExecutionEventRequest* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionEventRequest>(Arena*); -template<> ::flyteidl::admin::TaskExecutionEventResponse* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionEventResponse>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionEventRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionEventRequest>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionEventResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionEventResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class EventErrorAlreadyInTerminalState final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.EventErrorAlreadyInTerminalState) */ { - public: - EventErrorAlreadyInTerminalState(); - virtual ~EventErrorAlreadyInTerminalState(); - - EventErrorAlreadyInTerminalState(const EventErrorAlreadyInTerminalState& from); - - inline EventErrorAlreadyInTerminalState& operator=(const EventErrorAlreadyInTerminalState& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - EventErrorAlreadyInTerminalState(EventErrorAlreadyInTerminalState&& from) noexcept - : EventErrorAlreadyInTerminalState() { - *this = ::std::move(from); - } - - inline EventErrorAlreadyInTerminalState& operator=(EventErrorAlreadyInTerminalState&& 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 EventErrorAlreadyInTerminalState& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EventErrorAlreadyInTerminalState* internal_default_instance() { - return reinterpret_cast( - &_EventErrorAlreadyInTerminalState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(EventErrorAlreadyInTerminalState* other); - friend void swap(EventErrorAlreadyInTerminalState& a, EventErrorAlreadyInTerminalState& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline EventErrorAlreadyInTerminalState* New() const final { - return CreateMaybeMessage(nullptr); - } - - EventErrorAlreadyInTerminalState* 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 EventErrorAlreadyInTerminalState& from); - void MergeFrom(const EventErrorAlreadyInTerminalState& 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(EventErrorAlreadyInTerminalState* 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 current_phase = 1; - void clear_current_phase(); - static const int kCurrentPhaseFieldNumber = 1; - const ::std::string& current_phase() const; - void set_current_phase(const ::std::string& value); - #if LANG_CXX11 - void set_current_phase(::std::string&& value); - #endif - void set_current_phase(const char* value); - void set_current_phase(const char* value, size_t size); - ::std::string* mutable_current_phase(); - ::std::string* release_current_phase(); - void set_allocated_current_phase(::std::string* current_phase); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EventErrorAlreadyInTerminalState) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr current_phase_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class EventErrorIncompatibleCluster final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.EventErrorIncompatibleCluster) */ { - public: - EventErrorIncompatibleCluster(); - virtual ~EventErrorIncompatibleCluster(); - - EventErrorIncompatibleCluster(const EventErrorIncompatibleCluster& from); - - inline EventErrorIncompatibleCluster& operator=(const EventErrorIncompatibleCluster& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - EventErrorIncompatibleCluster(EventErrorIncompatibleCluster&& from) noexcept - : EventErrorIncompatibleCluster() { - *this = ::std::move(from); - } - - inline EventErrorIncompatibleCluster& operator=(EventErrorIncompatibleCluster&& 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 EventErrorIncompatibleCluster& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EventErrorIncompatibleCluster* internal_default_instance() { - return reinterpret_cast( - &_EventErrorIncompatibleCluster_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(EventErrorIncompatibleCluster* other); - friend void swap(EventErrorIncompatibleCluster& a, EventErrorIncompatibleCluster& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline EventErrorIncompatibleCluster* New() const final { - return CreateMaybeMessage(nullptr); - } - - EventErrorIncompatibleCluster* 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 EventErrorIncompatibleCluster& from); - void MergeFrom(const EventErrorIncompatibleCluster& 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(EventErrorIncompatibleCluster* 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 cluster = 1; - void clear_cluster(); - static const int kClusterFieldNumber = 1; - const ::std::string& cluster() const; - void set_cluster(const ::std::string& value); - #if LANG_CXX11 - void set_cluster(::std::string&& value); - #endif - void set_cluster(const char* value); - void set_cluster(const char* value, size_t size); - ::std::string* mutable_cluster(); - ::std::string* release_cluster(); - void set_allocated_cluster(::std::string* cluster); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EventErrorIncompatibleCluster) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr cluster_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class EventFailureReason final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.EventFailureReason) */ { - public: - EventFailureReason(); - virtual ~EventFailureReason(); - - EventFailureReason(const EventFailureReason& from); - - inline EventFailureReason& operator=(const EventFailureReason& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - EventFailureReason(EventFailureReason&& from) noexcept - : EventFailureReason() { - *this = ::std::move(from); - } - - inline EventFailureReason& operator=(EventFailureReason&& 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 EventFailureReason& default_instance(); - - enum ReasonCase { - kAlreadyInTerminalState = 1, - kIncompatibleCluster = 2, - REASON_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EventFailureReason* internal_default_instance() { - return reinterpret_cast( - &_EventFailureReason_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(EventFailureReason* other); - friend void swap(EventFailureReason& a, EventFailureReason& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline EventFailureReason* New() const final { - return CreateMaybeMessage(nullptr); - } - - EventFailureReason* 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 EventFailureReason& from); - void MergeFrom(const EventFailureReason& 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(EventFailureReason* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - bool has_already_in_terminal_state() const; - void clear_already_in_terminal_state(); - static const int kAlreadyInTerminalStateFieldNumber = 1; - const ::flyteidl::admin::EventErrorAlreadyInTerminalState& already_in_terminal_state() const; - ::flyteidl::admin::EventErrorAlreadyInTerminalState* release_already_in_terminal_state(); - ::flyteidl::admin::EventErrorAlreadyInTerminalState* mutable_already_in_terminal_state(); - void set_allocated_already_in_terminal_state(::flyteidl::admin::EventErrorAlreadyInTerminalState* already_in_terminal_state); - - // .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - bool has_incompatible_cluster() const; - void clear_incompatible_cluster(); - static const int kIncompatibleClusterFieldNumber = 2; - const ::flyteidl::admin::EventErrorIncompatibleCluster& incompatible_cluster() const; - ::flyteidl::admin::EventErrorIncompatibleCluster* release_incompatible_cluster(); - ::flyteidl::admin::EventErrorIncompatibleCluster* mutable_incompatible_cluster(); - void set_allocated_incompatible_cluster(::flyteidl::admin::EventErrorIncompatibleCluster* incompatible_cluster); - - void clear_reason(); - ReasonCase reason_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.EventFailureReason) - private: - class HasBitSetters; - void set_has_already_in_terminal_state(); - void set_has_incompatible_cluster(); - - inline bool has_reason() const; - inline void clear_has_reason(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ReasonUnion { - ReasonUnion() {} - ::flyteidl::admin::EventErrorAlreadyInTerminalState* already_in_terminal_state_; - ::flyteidl::admin::EventErrorIncompatibleCluster* incompatible_cluster_; - } reason_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionEventRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionEventRequest) */ { - public: - WorkflowExecutionEventRequest(); - virtual ~WorkflowExecutionEventRequest(); - - WorkflowExecutionEventRequest(const WorkflowExecutionEventRequest& from); - - inline WorkflowExecutionEventRequest& operator=(const WorkflowExecutionEventRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionEventRequest(WorkflowExecutionEventRequest&& from) noexcept - : WorkflowExecutionEventRequest() { - *this = ::std::move(from); - } - - inline WorkflowExecutionEventRequest& operator=(WorkflowExecutionEventRequest&& 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 WorkflowExecutionEventRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionEventRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionEventRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(WorkflowExecutionEventRequest* other); - friend void swap(WorkflowExecutionEventRequest& a, WorkflowExecutionEventRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionEventRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionEventRequest* 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 WorkflowExecutionEventRequest& from); - void MergeFrom(const WorkflowExecutionEventRequest& 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(WorkflowExecutionEventRequest* 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 request_id = 1; - void clear_request_id(); - static const int kRequestIdFieldNumber = 1; - const ::std::string& request_id() const; - void set_request_id(const ::std::string& value); - #if LANG_CXX11 - void set_request_id(::std::string&& value); - #endif - void set_request_id(const char* value); - void set_request_id(const char* value, size_t size); - ::std::string* mutable_request_id(); - ::std::string* release_request_id(); - void set_allocated_request_id(::std::string* request_id); - - // .flyteidl.event.WorkflowExecutionEvent event = 2; - bool has_event() const; - void clear_event(); - static const int kEventFieldNumber = 2; - const ::flyteidl::event::WorkflowExecutionEvent& event() const; - ::flyteidl::event::WorkflowExecutionEvent* release_event(); - ::flyteidl::event::WorkflowExecutionEvent* mutable_event(); - void set_allocated_event(::flyteidl::event::WorkflowExecutionEvent* event); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionEventRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - ::flyteidl::event::WorkflowExecutionEvent* event_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionEventResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionEventResponse) */ { - public: - WorkflowExecutionEventResponse(); - virtual ~WorkflowExecutionEventResponse(); - - WorkflowExecutionEventResponse(const WorkflowExecutionEventResponse& from); - - inline WorkflowExecutionEventResponse& operator=(const WorkflowExecutionEventResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionEventResponse(WorkflowExecutionEventResponse&& from) noexcept - : WorkflowExecutionEventResponse() { - *this = ::std::move(from); - } - - inline WorkflowExecutionEventResponse& operator=(WorkflowExecutionEventResponse&& 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 WorkflowExecutionEventResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionEventResponse* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionEventResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(WorkflowExecutionEventResponse* other); - friend void swap(WorkflowExecutionEventResponse& a, WorkflowExecutionEventResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionEventResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionEventResponse* 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 WorkflowExecutionEventResponse& from); - void MergeFrom(const WorkflowExecutionEventResponse& 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(WorkflowExecutionEventResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionEventResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionEventRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionEventRequest) */ { - public: - NodeExecutionEventRequest(); - virtual ~NodeExecutionEventRequest(); - - NodeExecutionEventRequest(const NodeExecutionEventRequest& from); - - inline NodeExecutionEventRequest& operator=(const NodeExecutionEventRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionEventRequest(NodeExecutionEventRequest&& from) noexcept - : NodeExecutionEventRequest() { - *this = ::std::move(from); - } - - inline NodeExecutionEventRequest& operator=(NodeExecutionEventRequest&& 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 NodeExecutionEventRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionEventRequest* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionEventRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(NodeExecutionEventRequest* other); - friend void swap(NodeExecutionEventRequest& a, NodeExecutionEventRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionEventRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionEventRequest* 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 NodeExecutionEventRequest& from); - void MergeFrom(const NodeExecutionEventRequest& 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(NodeExecutionEventRequest* 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 request_id = 1; - void clear_request_id(); - static const int kRequestIdFieldNumber = 1; - const ::std::string& request_id() const; - void set_request_id(const ::std::string& value); - #if LANG_CXX11 - void set_request_id(::std::string&& value); - #endif - void set_request_id(const char* value); - void set_request_id(const char* value, size_t size); - ::std::string* mutable_request_id(); - ::std::string* release_request_id(); - void set_allocated_request_id(::std::string* request_id); - - // .flyteidl.event.NodeExecutionEvent event = 2; - bool has_event() const; - void clear_event(); - static const int kEventFieldNumber = 2; - const ::flyteidl::event::NodeExecutionEvent& event() const; - ::flyteidl::event::NodeExecutionEvent* release_event(); - ::flyteidl::event::NodeExecutionEvent* mutable_event(); - void set_allocated_event(::flyteidl::event::NodeExecutionEvent* event); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionEventRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - ::flyteidl::event::NodeExecutionEvent* event_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionEventResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionEventResponse) */ { - public: - NodeExecutionEventResponse(); - virtual ~NodeExecutionEventResponse(); - - NodeExecutionEventResponse(const NodeExecutionEventResponse& from); - - inline NodeExecutionEventResponse& operator=(const NodeExecutionEventResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionEventResponse(NodeExecutionEventResponse&& from) noexcept - : NodeExecutionEventResponse() { - *this = ::std::move(from); - } - - inline NodeExecutionEventResponse& operator=(NodeExecutionEventResponse&& 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 NodeExecutionEventResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionEventResponse* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionEventResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(NodeExecutionEventResponse* other); - friend void swap(NodeExecutionEventResponse& a, NodeExecutionEventResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionEventResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionEventResponse* 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 NodeExecutionEventResponse& from); - void MergeFrom(const NodeExecutionEventResponse& 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(NodeExecutionEventResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionEventResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionEventRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionEventRequest) */ { - public: - TaskExecutionEventRequest(); - virtual ~TaskExecutionEventRequest(); - - TaskExecutionEventRequest(const TaskExecutionEventRequest& from); - - inline TaskExecutionEventRequest& operator=(const TaskExecutionEventRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionEventRequest(TaskExecutionEventRequest&& from) noexcept - : TaskExecutionEventRequest() { - *this = ::std::move(from); - } - - inline TaskExecutionEventRequest& operator=(TaskExecutionEventRequest&& 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 TaskExecutionEventRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionEventRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionEventRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(TaskExecutionEventRequest* other); - friend void swap(TaskExecutionEventRequest& a, TaskExecutionEventRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionEventRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionEventRequest* 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 TaskExecutionEventRequest& from); - void MergeFrom(const TaskExecutionEventRequest& 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(TaskExecutionEventRequest* 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 request_id = 1; - void clear_request_id(); - static const int kRequestIdFieldNumber = 1; - const ::std::string& request_id() const; - void set_request_id(const ::std::string& value); - #if LANG_CXX11 - void set_request_id(::std::string&& value); - #endif - void set_request_id(const char* value); - void set_request_id(const char* value, size_t size); - ::std::string* mutable_request_id(); - ::std::string* release_request_id(); - void set_allocated_request_id(::std::string* request_id); - - // .flyteidl.event.TaskExecutionEvent event = 2; - bool has_event() const; - void clear_event(); - static const int kEventFieldNumber = 2; - const ::flyteidl::event::TaskExecutionEvent& event() const; - ::flyteidl::event::TaskExecutionEvent* release_event(); - ::flyteidl::event::TaskExecutionEvent* mutable_event(); - void set_allocated_event(::flyteidl::event::TaskExecutionEvent* event); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionEventRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - ::flyteidl::event::TaskExecutionEvent* event_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionEventResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionEventResponse) */ { - public: - TaskExecutionEventResponse(); - virtual ~TaskExecutionEventResponse(); - - TaskExecutionEventResponse(const TaskExecutionEventResponse& from); - - inline TaskExecutionEventResponse& operator=(const TaskExecutionEventResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionEventResponse(TaskExecutionEventResponse&& from) noexcept - : TaskExecutionEventResponse() { - *this = ::std::move(from); - } - - inline TaskExecutionEventResponse& operator=(TaskExecutionEventResponse&& 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 TaskExecutionEventResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionEventResponse* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionEventResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(TaskExecutionEventResponse* other); - friend void swap(TaskExecutionEventResponse& a, TaskExecutionEventResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionEventResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionEventResponse* 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 TaskExecutionEventResponse& from); - void MergeFrom(const TaskExecutionEventResponse& 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(TaskExecutionEventResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionEventResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fevent_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// EventErrorAlreadyInTerminalState - -// string current_phase = 1; -inline void EventErrorAlreadyInTerminalState::clear_current_phase() { - current_phase_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& EventErrorAlreadyInTerminalState::current_phase() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) - return current_phase_.GetNoArena(); -} -inline void EventErrorAlreadyInTerminalState::set_current_phase(const ::std::string& value) { - - current_phase_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) -} -#if LANG_CXX11 -inline void EventErrorAlreadyInTerminalState::set_current_phase(::std::string&& value) { - - current_phase_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) -} -#endif -inline void EventErrorAlreadyInTerminalState::set_current_phase(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - current_phase_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) -} -inline void EventErrorAlreadyInTerminalState::set_current_phase(const char* value, size_t size) { - - current_phase_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) -} -inline ::std::string* EventErrorAlreadyInTerminalState::mutable_current_phase() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) - return current_phase_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* EventErrorAlreadyInTerminalState::release_current_phase() { - // @@protoc_insertion_point(field_release:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) - - return current_phase_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void EventErrorAlreadyInTerminalState::set_allocated_current_phase(::std::string* current_phase) { - if (current_phase != nullptr) { - - } else { - - } - current_phase_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), current_phase); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.EventErrorAlreadyInTerminalState.current_phase) -} - -// ------------------------------------------------------------------- - -// EventErrorIncompatibleCluster - -// string cluster = 1; -inline void EventErrorIncompatibleCluster::clear_cluster() { - cluster_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& EventErrorIncompatibleCluster::cluster() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EventErrorIncompatibleCluster.cluster) - return cluster_.GetNoArena(); -} -inline void EventErrorIncompatibleCluster::set_cluster(const ::std::string& value) { - - cluster_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.EventErrorIncompatibleCluster.cluster) -} -#if LANG_CXX11 -inline void EventErrorIncompatibleCluster::set_cluster(::std::string&& value) { - - cluster_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.EventErrorIncompatibleCluster.cluster) -} -#endif -inline void EventErrorIncompatibleCluster::set_cluster(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - cluster_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.EventErrorIncompatibleCluster.cluster) -} -inline void EventErrorIncompatibleCluster::set_cluster(const char* value, size_t size) { - - cluster_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.EventErrorIncompatibleCluster.cluster) -} -inline ::std::string* EventErrorIncompatibleCluster::mutable_cluster() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EventErrorIncompatibleCluster.cluster) - return cluster_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* EventErrorIncompatibleCluster::release_cluster() { - // @@protoc_insertion_point(field_release:flyteidl.admin.EventErrorIncompatibleCluster.cluster) - - return cluster_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void EventErrorIncompatibleCluster::set_allocated_cluster(::std::string* cluster) { - if (cluster != nullptr) { - - } else { - - } - cluster_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cluster); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.EventErrorIncompatibleCluster.cluster) -} - -// ------------------------------------------------------------------- - -// EventFailureReason - -// .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; -inline bool EventFailureReason::has_already_in_terminal_state() const { - return reason_case() == kAlreadyInTerminalState; -} -inline void EventFailureReason::set_has_already_in_terminal_state() { - _oneof_case_[0] = kAlreadyInTerminalState; -} -inline void EventFailureReason::clear_already_in_terminal_state() { - if (has_already_in_terminal_state()) { - delete reason_.already_in_terminal_state_; - clear_has_reason(); - } -} -inline ::flyteidl::admin::EventErrorAlreadyInTerminalState* EventFailureReason::release_already_in_terminal_state() { - // @@protoc_insertion_point(field_release:flyteidl.admin.EventFailureReason.already_in_terminal_state) - if (has_already_in_terminal_state()) { - clear_has_reason(); - ::flyteidl::admin::EventErrorAlreadyInTerminalState* temp = reason_.already_in_terminal_state_; - reason_.already_in_terminal_state_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::EventErrorAlreadyInTerminalState& EventFailureReason::already_in_terminal_state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EventFailureReason.already_in_terminal_state) - return has_already_in_terminal_state() - ? *reason_.already_in_terminal_state_ - : *reinterpret_cast< ::flyteidl::admin::EventErrorAlreadyInTerminalState*>(&::flyteidl::admin::_EventErrorAlreadyInTerminalState_default_instance_); -} -inline ::flyteidl::admin::EventErrorAlreadyInTerminalState* EventFailureReason::mutable_already_in_terminal_state() { - if (!has_already_in_terminal_state()) { - clear_reason(); - set_has_already_in_terminal_state(); - reason_.already_in_terminal_state_ = CreateMaybeMessage< ::flyteidl::admin::EventErrorAlreadyInTerminalState >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EventFailureReason.already_in_terminal_state) - return reason_.already_in_terminal_state_; -} - -// .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; -inline bool EventFailureReason::has_incompatible_cluster() const { - return reason_case() == kIncompatibleCluster; -} -inline void EventFailureReason::set_has_incompatible_cluster() { - _oneof_case_[0] = kIncompatibleCluster; -} -inline void EventFailureReason::clear_incompatible_cluster() { - if (has_incompatible_cluster()) { - delete reason_.incompatible_cluster_; - clear_has_reason(); - } -} -inline ::flyteidl::admin::EventErrorIncompatibleCluster* EventFailureReason::release_incompatible_cluster() { - // @@protoc_insertion_point(field_release:flyteidl.admin.EventFailureReason.incompatible_cluster) - if (has_incompatible_cluster()) { - clear_has_reason(); - ::flyteidl::admin::EventErrorIncompatibleCluster* temp = reason_.incompatible_cluster_; - reason_.incompatible_cluster_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::EventErrorIncompatibleCluster& EventFailureReason::incompatible_cluster() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EventFailureReason.incompatible_cluster) - return has_incompatible_cluster() - ? *reason_.incompatible_cluster_ - : *reinterpret_cast< ::flyteidl::admin::EventErrorIncompatibleCluster*>(&::flyteidl::admin::_EventErrorIncompatibleCluster_default_instance_); -} -inline ::flyteidl::admin::EventErrorIncompatibleCluster* EventFailureReason::mutable_incompatible_cluster() { - if (!has_incompatible_cluster()) { - clear_reason(); - set_has_incompatible_cluster(); - reason_.incompatible_cluster_ = CreateMaybeMessage< ::flyteidl::admin::EventErrorIncompatibleCluster >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EventFailureReason.incompatible_cluster) - return reason_.incompatible_cluster_; -} - -inline bool EventFailureReason::has_reason() const { - return reason_case() != REASON_NOT_SET; -} -inline void EventFailureReason::clear_has_reason() { - _oneof_case_[0] = REASON_NOT_SET; -} -inline EventFailureReason::ReasonCase EventFailureReason::reason_case() const { - return EventFailureReason::ReasonCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// WorkflowExecutionEventRequest - -// string request_id = 1; -inline void WorkflowExecutionEventRequest::clear_request_id() { - request_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowExecutionEventRequest::request_id() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionEventRequest.request_id) - return request_id_.GetNoArena(); -} -inline void WorkflowExecutionEventRequest::set_request_id(const ::std::string& value) { - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowExecutionEventRequest.request_id) -} -#if LANG_CXX11 -inline void WorkflowExecutionEventRequest::set_request_id(::std::string&& value) { - - request_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowExecutionEventRequest.request_id) -} -#endif -inline void WorkflowExecutionEventRequest::set_request_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowExecutionEventRequest.request_id) -} -inline void WorkflowExecutionEventRequest::set_request_id(const char* value, size_t size) { - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowExecutionEventRequest.request_id) -} -inline ::std::string* WorkflowExecutionEventRequest::mutable_request_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionEventRequest.request_id) - return request_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowExecutionEventRequest::release_request_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionEventRequest.request_id) - - return request_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowExecutionEventRequest::set_allocated_request_id(::std::string* request_id) { - if (request_id != nullptr) { - - } else { - - } - request_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionEventRequest.request_id) -} - -// .flyteidl.event.WorkflowExecutionEvent event = 2; -inline bool WorkflowExecutionEventRequest::has_event() const { - return this != internal_default_instance() && event_ != nullptr; -} -inline const ::flyteidl::event::WorkflowExecutionEvent& WorkflowExecutionEventRequest::event() const { - const ::flyteidl::event::WorkflowExecutionEvent* p = event_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionEventRequest.event) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_WorkflowExecutionEvent_default_instance_); -} -inline ::flyteidl::event::WorkflowExecutionEvent* WorkflowExecutionEventRequest::release_event() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionEventRequest.event) - - ::flyteidl::event::WorkflowExecutionEvent* temp = event_; - event_ = nullptr; - return temp; -} -inline ::flyteidl::event::WorkflowExecutionEvent* WorkflowExecutionEventRequest::mutable_event() { - - if (event_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::WorkflowExecutionEvent>(GetArenaNoVirtual()); - event_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionEventRequest.event) - return event_; -} -inline void WorkflowExecutionEventRequest::set_allocated_event(::flyteidl::event::WorkflowExecutionEvent* event) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(event_); - } - if (event) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - event = ::google::protobuf::internal::GetOwnedMessage( - message_arena, event, submessage_arena); - } - - } else { - - } - event_ = event; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionEventRequest.event) -} - -// ------------------------------------------------------------------- - -// WorkflowExecutionEventResponse - -// ------------------------------------------------------------------- - -// NodeExecutionEventRequest - -// string request_id = 1; -inline void NodeExecutionEventRequest::clear_request_id() { - request_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionEventRequest::request_id() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionEventRequest.request_id) - return request_id_.GetNoArena(); -} -inline void NodeExecutionEventRequest::set_request_id(const ::std::string& value) { - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionEventRequest.request_id) -} -#if LANG_CXX11 -inline void NodeExecutionEventRequest::set_request_id(::std::string&& value) { - - request_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionEventRequest.request_id) -} -#endif -inline void NodeExecutionEventRequest::set_request_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionEventRequest.request_id) -} -inline void NodeExecutionEventRequest::set_request_id(const char* value, size_t size) { - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionEventRequest.request_id) -} -inline ::std::string* NodeExecutionEventRequest::mutable_request_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionEventRequest.request_id) - return request_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEventRequest::release_request_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionEventRequest.request_id) - - return request_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionEventRequest::set_allocated_request_id(::std::string* request_id) { - if (request_id != nullptr) { - - } else { - - } - request_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionEventRequest.request_id) -} - -// .flyteidl.event.NodeExecutionEvent event = 2; -inline bool NodeExecutionEventRequest::has_event() const { - return this != internal_default_instance() && event_ != nullptr; -} -inline const ::flyteidl::event::NodeExecutionEvent& NodeExecutionEventRequest::event() const { - const ::flyteidl::event::NodeExecutionEvent* p = event_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionEventRequest.event) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_NodeExecutionEvent_default_instance_); -} -inline ::flyteidl::event::NodeExecutionEvent* NodeExecutionEventRequest::release_event() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionEventRequest.event) - - ::flyteidl::event::NodeExecutionEvent* temp = event_; - event_ = nullptr; - return temp; -} -inline ::flyteidl::event::NodeExecutionEvent* NodeExecutionEventRequest::mutable_event() { - - if (event_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::NodeExecutionEvent>(GetArenaNoVirtual()); - event_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionEventRequest.event) - return event_; -} -inline void NodeExecutionEventRequest::set_allocated_event(::flyteidl::event::NodeExecutionEvent* event) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(event_); - } - if (event) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - event = ::google::protobuf::internal::GetOwnedMessage( - message_arena, event, submessage_arena); - } - - } else { - - } - event_ = event; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionEventRequest.event) -} - -// ------------------------------------------------------------------- - -// NodeExecutionEventResponse - -// ------------------------------------------------------------------- - -// TaskExecutionEventRequest - -// string request_id = 1; -inline void TaskExecutionEventRequest::clear_request_id() { - request_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionEventRequest::request_id() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionEventRequest.request_id) - return request_id_.GetNoArena(); -} -inline void TaskExecutionEventRequest::set_request_id(const ::std::string& value) { - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionEventRequest.request_id) -} -#if LANG_CXX11 -inline void TaskExecutionEventRequest::set_request_id(::std::string&& value) { - - request_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionEventRequest.request_id) -} -#endif -inline void TaskExecutionEventRequest::set_request_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionEventRequest.request_id) -} -inline void TaskExecutionEventRequest::set_request_id(const char* value, size_t size) { - - request_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionEventRequest.request_id) -} -inline ::std::string* TaskExecutionEventRequest::mutable_request_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionEventRequest.request_id) - return request_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionEventRequest::release_request_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionEventRequest.request_id) - - return request_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionEventRequest::set_allocated_request_id(::std::string* request_id) { - if (request_id != nullptr) { - - } else { - - } - request_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionEventRequest.request_id) -} - -// .flyteidl.event.TaskExecutionEvent event = 2; -inline bool TaskExecutionEventRequest::has_event() const { - return this != internal_default_instance() && event_ != nullptr; -} -inline const ::flyteidl::event::TaskExecutionEvent& TaskExecutionEventRequest::event() const { - const ::flyteidl::event::TaskExecutionEvent* p = event_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionEventRequest.event) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_TaskExecutionEvent_default_instance_); -} -inline ::flyteidl::event::TaskExecutionEvent* TaskExecutionEventRequest::release_event() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionEventRequest.event) - - ::flyteidl::event::TaskExecutionEvent* temp = event_; - event_ = nullptr; - return temp; -} -inline ::flyteidl::event::TaskExecutionEvent* TaskExecutionEventRequest::mutable_event() { - - if (event_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::TaskExecutionEvent>(GetArenaNoVirtual()); - event_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionEventRequest.event) - return event_; -} -inline void TaskExecutionEventRequest::set_allocated_event(::flyteidl::event::TaskExecutionEvent* event) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(event_); - } - if (event) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - event = ::google::protobuf::internal::GetOwnedMessage( - message_arena, event, submessage_arena); - } - - } else { - - } - event_ = event; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionEventRequest.event) -} - -// ------------------------------------------------------------------- - -// TaskExecutionEventResponse - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fevent_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.grpc.pb.cc deleted file mode 100644 index 2f53b42b6c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/execution.proto - -#include "flyteidl/admin/execution.pb.h" -#include "flyteidl/admin/execution.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.grpc.pb.h deleted file mode 100644 index 46d43a8284..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/execution.proto -#ifndef GRPC_flyteidl_2fadmin_2fexecution_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fexecution_2eproto__INCLUDED - -#include "flyteidl/admin/execution.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fexecution_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc deleted file mode 100644 index f090a2d7f4..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc +++ /dev/null @@ -1,11792 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/execution.proto - -#include "flyteidl/admin/execution.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AbortMetadata_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<13> scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Execution_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_ExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_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_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto; -namespace flyteidl { -namespace admin { -class ExecutionCreateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionCreateRequest_default_instance_; -class ExecutionRelaunchRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionRelaunchRequest_default_instance_; -class ExecutionRecoverRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionRecoverRequest_default_instance_; -class ExecutionCreateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionCreateResponse_default_instance_; -class WorkflowExecutionGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionGetRequest_default_instance_; -class ExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Execution_default_instance_; -class ExecutionListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionList_default_instance_; -class LiteralMapBlobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::LiteralMap* values_; - ::google::protobuf::internal::ArenaStringPtr uri_; -} _LiteralMapBlob_default_instance_; -class AbortMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _AbortMetadata_default_instance_; -class ExecutionClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::admin::LiteralMapBlob* outputs_; - const ::flyteidl::core::ExecutionError* error_; - ::google::protobuf::internal::ArenaStringPtr abort_cause_; - const ::flyteidl::admin::AbortMetadata* abort_metadata_; - const ::flyteidl::core::LiteralMap* output_data_; -} _ExecutionClosure_default_instance_; -class SystemMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SystemMetadata_default_instance_; -class ExecutionMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionMetadata_default_instance_; -class NotificationListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NotificationList_default_instance_; -class ExecutionSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::admin::NotificationList* notifications_; - bool disable_all_; -} _ExecutionSpec_default_instance_; -class ExecutionTerminateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionTerminateRequest_default_instance_; -class ExecutionTerminateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionTerminateResponse_default_instance_; -class WorkflowExecutionGetDataRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionGetDataRequest_default_instance_; -class WorkflowExecutionGetDataResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionGetDataResponse_default_instance_; -class ExecutionUpdateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionUpdateRequest_default_instance_; -class ExecutionStateChangeDetailsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionStateChangeDetails_default_instance_; -class ExecutionUpdateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionUpdateResponse_default_instance_; -class WorkflowExecutionGetMetricsRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionGetMetricsRequest_default_instance_; -class WorkflowExecutionGetMetricsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionGetMetricsResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionCreateRequest_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionCreateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionCreateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_ExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsExecutionRelaunchRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionRelaunchRequest_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionRelaunchRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionRelaunchRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionRelaunchRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExecutionRelaunchRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsExecutionRecoverRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionRecoverRequest_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionRecoverRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionRecoverRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_ExecutionRecoverRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsExecutionRecoverRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto.base,}}; - -static void InitDefaultsExecutionCreateResponse_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionCreateResponse_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionCreateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionCreateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionCreateResponse_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExecutionCreateResponse_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsWorkflowExecutionGetRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowExecutionGetRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowExecutionGetRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsExecution_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Execution_default_instance_; - new (ptr) ::flyteidl::admin::Execution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Execution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_Execution_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsExecution_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto.base, - &scc_info_ExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto.base,}}; - -static void InitDefaultsExecutionList_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionList_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionList_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExecutionList_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_Execution_flyteidl_2fadmin_2fexecution_2eproto.base,}}; - -static void InitDefaultsLiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LiteralMapBlob_default_instance_; - new (ptr) ::flyteidl::admin::LiteralMapBlob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LiteralMapBlob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsAbortMetadata_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_AbortMetadata_default_instance_; - new (ptr) ::flyteidl::admin::AbortMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::AbortMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_AbortMetadata_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAbortMetadata_flyteidl_2fadmin_2fexecution_2eproto}, {}}; - -static void InitDefaultsExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionClosure_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<9> scc_info_ExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 9, InitDefaultsExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto.base, - &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_AbortMetadata_flyteidl_2fadmin_2fexecution_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, - &scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto.base,}}; - -static void InitDefaultsSystemMetadata_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SystemMetadata_default_instance_; - new (ptr) ::flyteidl::admin::SystemMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SystemMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSystemMetadata_flyteidl_2fadmin_2fexecution_2eproto}, {}}; - -static void InitDefaultsExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionMetadata_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<5> scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto.base, - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsNotificationList_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NotificationList_default_instance_; - new (ptr) ::flyteidl::admin::NotificationList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NotificationList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNotificationList_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionSpec_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<13> scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 13, InitDefaultsExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto.base, - &scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto.base, - &scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base, - &scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base, - &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base, - &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsExecutionTerminateRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionTerminateRequest_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionTerminateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionTerminateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionTerminateRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExecutionTerminateRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsExecutionTerminateResponse_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionTerminateResponse_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionTerminateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionTerminateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionTerminateResponse_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionTerminateResponse_flyteidl_2fadmin_2fexecution_2eproto}, {}}; - -static void InitDefaultsWorkflowExecutionGetDataRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionGetDataRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionGetDataRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionGetDataRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowExecutionGetDataRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowExecutionGetDataRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsWorkflowExecutionGetDataResponse_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionGetDataResponse_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionGetDataResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionGetDataResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowExecutionGetDataResponse_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflowExecutionGetDataResponse_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsExecutionUpdateRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionUpdateRequest_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionUpdateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionUpdateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionUpdateRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExecutionUpdateRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionStateChangeDetails_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionStateChangeDetails(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionStateChangeDetails::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionUpdateResponse_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionUpdateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionUpdateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto}, {}}; - -static void InitDefaultsWorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionGetMetricsRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionGetMetricsRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionGetMetricsRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsWorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionGetMetricsResponse_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionGetMetricsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionGetMetricsResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto}, { - &scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2fexecution_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionRelaunchRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionRecoverRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionCreateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionGetRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Execution_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionList_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_AbortMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionTerminateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionTerminateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionGetDataRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionGetDataResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionUpdateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[23]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fexecution_2eproto[2]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fexecution_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fexecution_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateRequest, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateRequest, spec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateRequest, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRelaunchRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRelaunchRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRelaunchRequest, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRelaunchRequest, overwrite_cache_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRecoverRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRecoverRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRecoverRequest, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionRecoverRequest, metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionCreateResponse, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Execution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Execution, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Execution, spec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Execution, closure_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionList, executions_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LiteralMapBlob, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LiteralMapBlob, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::LiteralMapBlobDefaultTypeInternal, values_), - offsetof(::flyteidl::admin::LiteralMapBlobDefaultTypeInternal, uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LiteralMapBlob, data_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::AbortMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::AbortMetadata, cause_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::AbortMetadata, principal_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::ExecutionClosureDefaultTypeInternal, outputs_), - offsetof(::flyteidl::admin::ExecutionClosureDefaultTypeInternal, error_), - offsetof(::flyteidl::admin::ExecutionClosureDefaultTypeInternal, abort_cause_), - offsetof(::flyteidl::admin::ExecutionClosureDefaultTypeInternal, abort_metadata_), - offsetof(::flyteidl::admin::ExecutionClosureDefaultTypeInternal, output_data_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, computed_inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, started_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, duration_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, created_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, updated_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, notifications_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, workflow_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, state_change_details_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClosure, output_result_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SystemMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SystemMetadata, execution_cluster_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SystemMetadata, namespace__), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, mode_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, principal_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, nesting_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, scheduled_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, parent_node_execution_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, reference_execution_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, system_metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionMetadata, artifact_ids_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NotificationList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NotificationList, notifications_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, launch_plan_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, metadata_), - offsetof(::flyteidl::admin::ExecutionSpecDefaultTypeInternal, notifications_), - offsetof(::flyteidl::admin::ExecutionSpecDefaultTypeInternal, disable_all_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, labels_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, annotations_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, security_context_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, auth_role_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, quality_of_service_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, max_parallelism_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, raw_output_data_config_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, cluster_assignment_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, interruptible_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, overwrite_cache_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, envs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, tags_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, notification_overrides_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionTerminateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionTerminateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionTerminateRequest, cause_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionTerminateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetDataRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetDataRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetDataResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetDataResponse, outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetDataResponse, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetDataResponse, full_inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetDataResponse, full_outputs_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionUpdateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionUpdateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionUpdateRequest, state_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionStateChangeDetails, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionStateChangeDetails, state_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionStateChangeDetails, occurred_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionStateChangeDetails, principal_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionUpdateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsRequest, depth_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsResponse, span_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::ExecutionCreateRequest)}, - { 11, -1, sizeof(::flyteidl::admin::ExecutionRelaunchRequest)}, - { 19, -1, sizeof(::flyteidl::admin::ExecutionRecoverRequest)}, - { 27, -1, sizeof(::flyteidl::admin::ExecutionCreateResponse)}, - { 33, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetRequest)}, - { 39, -1, sizeof(::flyteidl::admin::Execution)}, - { 47, -1, sizeof(::flyteidl::admin::ExecutionList)}, - { 54, -1, sizeof(::flyteidl::admin::LiteralMapBlob)}, - { 62, -1, sizeof(::flyteidl::admin::AbortMetadata)}, - { 69, -1, sizeof(::flyteidl::admin::ExecutionClosure)}, - { 89, -1, sizeof(::flyteidl::admin::SystemMetadata)}, - { 96, -1, sizeof(::flyteidl::admin::ExecutionMetadata)}, - { 109, -1, sizeof(::flyteidl::admin::NotificationList)}, - { 115, -1, sizeof(::flyteidl::admin::ExecutionSpec)}, - { 138, -1, sizeof(::flyteidl::admin::ExecutionTerminateRequest)}, - { 145, -1, sizeof(::flyteidl::admin::ExecutionTerminateResponse)}, - { 150, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataRequest)}, - { 156, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataResponse)}, - { 165, -1, sizeof(::flyteidl::admin::ExecutionUpdateRequest)}, - { 172, -1, sizeof(::flyteidl::admin::ExecutionStateChangeDetails)}, - { 180, -1, sizeof(::flyteidl::admin::ExecutionUpdateResponse)}, - { 185, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsRequest)}, - { 192, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_ExecutionCreateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionRelaunchRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionRecoverRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionCreateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Execution_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LiteralMapBlob_default_instance_), - reinterpret_cast(&::flyteidl::admin::_AbortMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionClosure_default_instance_), - reinterpret_cast(&::flyteidl::admin::_SystemMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NotificationList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionSpec_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionTerminateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionTerminateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionGetDataRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionGetDataResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionUpdateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionStateChangeDetails_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionUpdateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionGetMetricsRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionGetMetricsResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto, "flyteidl/admin/execution.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fexecution_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto, 23, file_level_enum_descriptors_flyteidl_2fadmin_2fexecution_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fexecution_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto[] = - "\n\036flyteidl/admin/execution.proto\022\016flytei" - "dl.admin\032\'flyteidl/admin/cluster_assignm" - "ent.proto\032\033flyteidl/admin/common.proto\032\034" - "flyteidl/core/literals.proto\032\035flyteidl/c" - "ore/execution.proto\032\037flyteidl/core/artif" - "act_id.proto\032\036flyteidl/core/identifier.p" - "roto\032\033flyteidl/core/metrics.proto\032\034flyte" - "idl/core/security.proto\032\036google/protobuf" - "/duration.proto\032\037google/protobuf/timesta" - "mp.proto\032\036google/protobuf/wrappers.proto" - "\"\254\001\n\026ExecutionCreateRequest\022\017\n\007project\030\001" - " \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022+\n\004sp" - "ec\030\004 \001(\0132\035.flyteidl.admin.ExecutionSpec\022" - ")\n\006inputs\030\005 \001(\0132\031.flyteidl.core.LiteralM" - "ap\022\013\n\003org\030\006 \001(\t\"\177\n\030ExecutionRelaunchRequ" - "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" - "ExecutionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017ove" - "rwrite_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRe" - "coverRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core" - ".WorkflowExecutionIdentifier\022\014\n\004name\030\002 \001" - "(\t\0223\n\010metadata\030\003 \001(\0132!.flyteidl.admin.Ex" - "ecutionMetadata\"Q\n\027ExecutionCreateRespon" - "se\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" - "xecutionIdentifier\"U\n\033WorkflowExecutionG" - "etRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Wo" - "rkflowExecutionIdentifier\"\243\001\n\tExecution\022" - "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" - "utionIdentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl" - ".admin.ExecutionSpec\0221\n\007closure\030\003 \001(\0132 ." - "flyteidl.admin.ExecutionClosure\"M\n\rExecu" - "tionList\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl." - "admin.Execution\022\r\n\005token\030\002 \001(\t\"X\n\016Litera" - "lMapBlob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core" - ".LiteralMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data" - "\"1\n\rAbortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprin" - "cipal\030\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outp" - "uts\030\001 \001(\0132\036.flyteidl.admin.LiteralMapBlo" - "bB\002\030\001H\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.E" - "xecutionErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001" - "H\000\0227\n\016abort_metadata\030\014 \001(\0132\035.flyteidl.ad" - "min.AbortMetadataH\000\0224\n\013output_data\030\r \001(\013" - "2\031.flyteidl.core.LiteralMapB\002\030\001H\000\0226\n\017com" - "puted_inputs\030\003 \001(\0132\031.flyteidl.core.Liter" - "alMapB\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core" - ".WorkflowExecution.Phase\022.\n\nstarted_at\030\005" - " \001(\0132\032.google.protobuf.Timestamp\022+\n\010dura" - "tion\030\006 \001(\0132\031.google.protobuf.Duration\022.\n" - "\ncreated_at\030\007 \001(\0132\032.google.protobuf.Time" - "stamp\022.\n\nupdated_at\030\010 \001(\0132\032.google.proto" - "buf.Timestamp\0223\n\rnotifications\030\t \003(\0132\034.f" - "lyteidl.admin.Notification\022.\n\013workflow_i" - "d\030\013 \001(\0132\031.flyteidl.core.Identifier\022I\n\024st" - "ate_change_details\030\016 \001(\0132+.flyteidl.admi" - "n.ExecutionStateChangeDetailsB\017\n\routput_" - "result\">\n\016SystemMetadata\022\031\n\021execution_cl" - "uster\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\213\004\n\021Execu" - "tionMetadata\022=\n\004mode\030\001 \001(\0162/.flyteidl.ad" - "min.ExecutionMetadata.ExecutionMode\022\021\n\tp" - "rincipal\030\002 \001(\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014sched" - "uled_at\030\004 \001(\0132\032.google.protobuf.Timestam" - "p\022E\n\025parent_node_execution\030\005 \001(\0132&.flyte" - "idl.core.NodeExecutionIdentifier\022G\n\023refe" - "rence_execution\030\020 \001(\0132*.flyteidl.core.Wo" - "rkflowExecutionIdentifier\0227\n\017system_meta" - "data\030\021 \001(\0132\036.flyteidl.admin.SystemMetada" - "ta\022/\n\014artifact_ids\030\022 \003(\0132\031.flyteidl.core" - ".ArtifactID\"g\n\rExecutionMode\022\n\n\006MANUAL\020\000" - "\022\r\n\tSCHEDULED\020\001\022\n\n\006SYSTEM\020\002\022\014\n\010RELAUNCH\020" - "\003\022\022\n\016CHILD_WORKFLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020" - "NotificationList\0223\n\rnotifications\030\001 \003(\0132" - "\034.flyteidl.admin.Notification\"\262\006\n\rExecut" - "ionSpec\022.\n\013launch_plan\030\001 \001(\0132\031.flyteidl." - "core.Identifier\022-\n\006inputs\030\002 \001(\0132\031.flytei" - "dl.core.LiteralMapB\002\030\001\0223\n\010metadata\030\003 \001(\013" - "2!.flyteidl.admin.ExecutionMetadata\0229\n\rn" - "otifications\030\005 \001(\0132 .flyteidl.admin.Noti" - "ficationListH\000\022\025\n\013disable_all\030\006 \001(\010H\000\022&\n" - "\006labels\030\007 \001(\0132\026.flyteidl.admin.Labels\0220\n" - "\013annotations\030\010 \001(\0132\033.flyteidl.admin.Anno" - "tations\0228\n\020security_context\030\n \001(\0132\036.flyt" - "eidl.core.SecurityContext\022/\n\tauth_role\030\020" - " \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001\022;\n\022qu" - "ality_of_service\030\021 \001(\0132\037.flyteidl.core.Q" - "ualityOfService\022\027\n\017max_parallelism\030\022 \001(\005" - "\022C\n\026raw_output_data_config\030\023 \001(\0132#.flyte" - "idl.admin.RawOutputDataConfig\022=\n\022cluster" - "_assignment\030\024 \001(\0132!.flyteidl.admin.Clust" - "erAssignment\0221\n\rinterruptible\030\025 \001(\0132\032.go" - "ogle.protobuf.BoolValue\022\027\n\017overwrite_cac" - "he\030\026 \001(\010\022\"\n\004envs\030\027 \001(\0132\024.flyteidl.admin." - "Envs\022\014\n\004tags\030\030 \003(\tB\030\n\026notification_overr" - "idesJ\004\010\004\020\005\"b\n\031ExecutionTerminateRequest\022" - "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" - "utionIdentifier\022\r\n\005cause\030\002 \001(\t\"\034\n\032Execut" - "ionTerminateResponse\"Y\n\037WorkflowExecutio" - "nGetDataRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.c" - "ore.WorkflowExecutionIdentifier\"\336\001\n Work" - "flowExecutionGetDataResponse\022,\n\007outputs\030" - "\001 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022+\n\006in" - "puts\030\002 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022" - ".\n\013full_inputs\030\003 \001(\0132\031.flyteidl.core.Lit" - "eralMap\022/\n\014full_outputs\030\004 \001(\0132\031.flyteidl" - ".core.LiteralMap\"\177\n\026ExecutionUpdateReque" - "st\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" - "xecutionIdentifier\022-\n\005state\030\002 \001(\0162\036.flyt" - "eidl.admin.ExecutionState\"\220\001\n\033ExecutionS" - "tateChangeDetails\022-\n\005state\030\001 \001(\0162\036.flyte" - "idl.admin.ExecutionState\022/\n\013occurred_at\030" - "\002 \001(\0132\032.google.protobuf.Timestamp\022\021\n\tpri" - "ncipal\030\003 \001(\t\"\031\n\027ExecutionUpdateResponse\"" - "k\n\"WorkflowExecutionGetMetricsRequest\0226\n" - "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" - "ionIdentifier\022\r\n\005depth\030\002 \001(\005\"H\n#Workflow" - "ExecutionGetMetricsResponse\022!\n\004span\030\001 \001(" - "\0132\023.flyteidl.core.Span*>\n\016ExecutionState" - "\022\024\n\020EXECUTION_ACTIVE\020\000\022\026\n\022EXECUTION_ARCH" - "IVED\020\001B=Z;github.com/flyteorg/flyte/flyt" - "eidl/gen/pb-go/flyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fexecution_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fexecution_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto, - "flyteidl/admin/execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto, 4717, -}; - -void AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[11] = - { - ::AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto, - ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - ::AddDescriptors_google_2fprotobuf_2fwrappers_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fexecution_2eproto, deps, 11); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fexecution_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* ExecutionMetadata_ExecutionMode_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fexecution_2eproto[0]; -} -bool ExecutionMetadata_ExecutionMode_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const ExecutionMetadata_ExecutionMode ExecutionMetadata::MANUAL; -const ExecutionMetadata_ExecutionMode ExecutionMetadata::SCHEDULED; -const ExecutionMetadata_ExecutionMode ExecutionMetadata::SYSTEM; -const ExecutionMetadata_ExecutionMode ExecutionMetadata::RELAUNCH; -const ExecutionMetadata_ExecutionMode ExecutionMetadata::CHILD_WORKFLOW; -const ExecutionMetadata_ExecutionMode ExecutionMetadata::RECOVERED; -const ExecutionMetadata_ExecutionMode ExecutionMetadata::ExecutionMode_MIN; -const ExecutionMetadata_ExecutionMode ExecutionMetadata::ExecutionMode_MAX; -const int ExecutionMetadata::ExecutionMode_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* ExecutionState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fexecution_2eproto[1]; -} -bool ExecutionState_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - - -// =================================================================== - -void ExecutionCreateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionCreateRequest_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::admin::ExecutionSpec*>( - ::flyteidl::admin::ExecutionSpec::internal_default_instance()); - ::flyteidl::admin::_ExecutionCreateRequest_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); -} -class ExecutionCreateRequest::HasBitSetters { - public: - static const ::flyteidl::admin::ExecutionSpec& spec(const ExecutionCreateRequest* msg); - static const ::flyteidl::core::LiteralMap& inputs(const ExecutionCreateRequest* msg); -}; - -const ::flyteidl::admin::ExecutionSpec& -ExecutionCreateRequest::HasBitSetters::spec(const ExecutionCreateRequest* msg) { - return *msg->spec_; -} -const ::flyteidl::core::LiteralMap& -ExecutionCreateRequest::HasBitSetters::inputs(const ExecutionCreateRequest* msg) { - return *msg->inputs_; -} -void ExecutionCreateRequest::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionCreateRequest::kProjectFieldNumber; -const int ExecutionCreateRequest::kDomainFieldNumber; -const int ExecutionCreateRequest::kNameFieldNumber; -const int ExecutionCreateRequest::kSpecFieldNumber; -const int ExecutionCreateRequest::kInputsFieldNumber; -const int ExecutionCreateRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionCreateRequest::ExecutionCreateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionCreateRequest) -} -ExecutionCreateRequest::ExecutionCreateRequest(const ExecutionCreateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_spec()) { - spec_ = new ::flyteidl::admin::ExecutionSpec(*from.spec_); - } else { - spec_ = nullptr; - } - if (from.has_inputs()) { - inputs_ = new ::flyteidl::core::LiteralMap(*from.inputs_); - } else { - inputs_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionCreateRequest) -} - -void ExecutionCreateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&spec_, 0, static_cast( - reinterpret_cast(&inputs_) - - reinterpret_cast(&spec_)) + sizeof(inputs_)); -} - -ExecutionCreateRequest::~ExecutionCreateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionCreateRequest) - SharedDtor(); -} - -void ExecutionCreateRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete spec_; - if (this != internal_default_instance()) delete inputs_; -} - -void ExecutionCreateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionCreateRequest& ExecutionCreateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionCreateRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionCreateRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionCreateRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string 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("flyteidl.admin.ExecutionCreateRequest.name"); - object = msg->mutable_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; - } - // .flyteidl.admin.ExecutionSpec spec = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionSpec::_InternalParse; - object = msg->mutable_spec(); - 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.LiteralMap inputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_inputs(); - 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 org = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionCreateRequest.org"); - object = msg->mutable_org(); - 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 ExecutionCreateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionCreateRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionCreateRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionCreateRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionCreateRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionSpec spec = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_spec())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap inputs = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // string org = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionCreateRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionCreateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionCreateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionCreateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->name(), output); - } - - // .flyteidl.admin.ExecutionSpec spec = 4; - if (this->has_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::spec(this), output); - } - - // .flyteidl.core.LiteralMap inputs = 5; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::inputs(this), output); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionCreateRequest) -} - -::google::protobuf::uint8* ExecutionCreateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->name(), target); - } - - // .flyteidl.admin.ExecutionSpec spec = 4; - if (this->has_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::spec(this), target); - } - - // .flyteidl.core.LiteralMap inputs = 5; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::inputs(this), target); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionCreateRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionCreateRequest) - return target; -} - -size_t ExecutionCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionCreateRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string name = 3; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string org = 6; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.ExecutionSpec spec = 4; - if (this->has_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *spec_); - } - - // .flyteidl.core.LiteralMap inputs = 5; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionCreateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionCreateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionCreateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionCreateRequest) - MergeFrom(*source); - } -} - -void ExecutionCreateRequest::MergeFrom(const ExecutionCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_spec()) { - mutable_spec()->::flyteidl::admin::ExecutionSpec::MergeFrom(from.spec()); - } - if (from.has_inputs()) { - mutable_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.inputs()); - } -} - -void ExecutionCreateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionCreateRequest::CopyFrom(const ExecutionCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionCreateRequest::IsInitialized() const { - return true; -} - -void ExecutionCreateRequest::Swap(ExecutionCreateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionCreateRequest::InternalSwap(ExecutionCreateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(spec_, other->spec_); - swap(inputs_, other->inputs_); -} - -::google::protobuf::Metadata ExecutionCreateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionRelaunchRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionRelaunchRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class ExecutionRelaunchRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const ExecutionRelaunchRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -ExecutionRelaunchRequest::HasBitSetters::id(const ExecutionRelaunchRequest* msg) { - return *msg->id_; -} -void ExecutionRelaunchRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionRelaunchRequest::kIdFieldNumber; -const int ExecutionRelaunchRequest::kNameFieldNumber; -const int ExecutionRelaunchRequest::kOverwriteCacheFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionRelaunchRequest::ExecutionRelaunchRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionRelaunchRequest) -} -ExecutionRelaunchRequest::ExecutionRelaunchRequest(const ExecutionRelaunchRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - overwrite_cache_ = from.overwrite_cache_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionRelaunchRequest) -} - -void ExecutionRelaunchRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionRelaunchRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&id_)) + sizeof(overwrite_cache_)); -} - -ExecutionRelaunchRequest::~ExecutionRelaunchRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionRelaunchRequest) - SharedDtor(); -} - -void ExecutionRelaunchRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; -} - -void ExecutionRelaunchRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionRelaunchRequest& ExecutionRelaunchRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionRelaunchRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionRelaunchRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionRelaunchRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - overwrite_cache_ = false; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionRelaunchRequest::_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 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_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 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("flyteidl.admin.ExecutionRelaunchRequest.name"); - object = msg->mutable_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; - } - // bool overwrite_cache = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_overwrite_cache(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 ExecutionRelaunchRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionRelaunchRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string name = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionRelaunchRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // bool overwrite_cache = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &overwrite_cache_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionRelaunchRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionRelaunchRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionRelaunchRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionRelaunchRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionRelaunchRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->name(), output); - } - - // bool overwrite_cache = 4; - if (this->overwrite_cache() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->overwrite_cache(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionRelaunchRequest) -} - -::google::protobuf::uint8* ExecutionRelaunchRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionRelaunchRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionRelaunchRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->name(), target); - } - - // bool overwrite_cache = 4; - if (this->overwrite_cache() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->overwrite_cache(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionRelaunchRequest) - return target; -} - -size_t ExecutionRelaunchRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionRelaunchRequest) - 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 name = 3; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // bool overwrite_cache = 4; - if (this->overwrite_cache() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionRelaunchRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionRelaunchRequest) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionRelaunchRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionRelaunchRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionRelaunchRequest) - MergeFrom(*source); - } -} - -void ExecutionRelaunchRequest::MergeFrom(const ExecutionRelaunchRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionRelaunchRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } - if (from.overwrite_cache() != 0) { - set_overwrite_cache(from.overwrite_cache()); - } -} - -void ExecutionRelaunchRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionRelaunchRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionRelaunchRequest::CopyFrom(const ExecutionRelaunchRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionRelaunchRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionRelaunchRequest::IsInitialized() const { - return true; -} - -void ExecutionRelaunchRequest::Swap(ExecutionRelaunchRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionRelaunchRequest::InternalSwap(ExecutionRelaunchRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(overwrite_cache_, other->overwrite_cache_); -} - -::google::protobuf::Metadata ExecutionRelaunchRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionRecoverRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionRecoverRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_ExecutionRecoverRequest_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::admin::ExecutionMetadata*>( - ::flyteidl::admin::ExecutionMetadata::internal_default_instance()); -} -class ExecutionRecoverRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const ExecutionRecoverRequest* msg); - static const ::flyteidl::admin::ExecutionMetadata& metadata(const ExecutionRecoverRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -ExecutionRecoverRequest::HasBitSetters::id(const ExecutionRecoverRequest* msg) { - return *msg->id_; -} -const ::flyteidl::admin::ExecutionMetadata& -ExecutionRecoverRequest::HasBitSetters::metadata(const ExecutionRecoverRequest* msg) { - return *msg->metadata_; -} -void ExecutionRecoverRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionRecoverRequest::kIdFieldNumber; -const int ExecutionRecoverRequest::kNameFieldNumber; -const int ExecutionRecoverRequest::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionRecoverRequest::ExecutionRecoverRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionRecoverRequest) -} -ExecutionRecoverRequest::ExecutionRecoverRequest(const ExecutionRecoverRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::admin::ExecutionMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionRecoverRequest) -} - -void ExecutionRecoverRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionRecoverRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&metadata_) - - reinterpret_cast(&id_)) + sizeof(metadata_)); -} - -ExecutionRecoverRequest::~ExecutionRecoverRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionRecoverRequest) - SharedDtor(); -} - -void ExecutionRecoverRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete metadata_; -} - -void ExecutionRecoverRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionRecoverRequest& ExecutionRecoverRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionRecoverRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionRecoverRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionRecoverRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionRecoverRequest::_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 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_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 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("flyteidl.admin.ExecutionRecoverRequest.name"); - object = msg->mutable_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; - } - // .flyteidl.admin.ExecutionMetadata metadata = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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 ExecutionRecoverRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionRecoverRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionRecoverRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionRecoverRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionRecoverRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionRecoverRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionRecoverRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionRecoverRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::metadata(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionRecoverRequest) -} - -::google::protobuf::uint8* ExecutionRecoverRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionRecoverRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionRecoverRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->name(), target); - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::metadata(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionRecoverRequest) - return target; -} - -size_t ExecutionRecoverRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionRecoverRequest) - 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 name = 2; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionRecoverRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionRecoverRequest) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionRecoverRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionRecoverRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionRecoverRequest) - MergeFrom(*source); - } -} - -void ExecutionRecoverRequest::MergeFrom(const ExecutionRecoverRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionRecoverRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::admin::ExecutionMetadata::MergeFrom(from.metadata()); - } -} - -void ExecutionRecoverRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionRecoverRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionRecoverRequest::CopyFrom(const ExecutionRecoverRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionRecoverRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionRecoverRequest::IsInitialized() const { - return true; -} - -void ExecutionRecoverRequest::Swap(ExecutionRecoverRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionRecoverRequest::InternalSwap(ExecutionRecoverRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(metadata_, other->metadata_); -} - -::google::protobuf::Metadata ExecutionRecoverRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionCreateResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionCreateResponse_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class ExecutionCreateResponse::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const ExecutionCreateResponse* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -ExecutionCreateResponse::HasBitSetters::id(const ExecutionCreateResponse* msg) { - return *msg->id_; -} -void ExecutionCreateResponse::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionCreateResponse::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionCreateResponse::ExecutionCreateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionCreateResponse) -} -ExecutionCreateResponse::ExecutionCreateResponse(const ExecutionCreateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionCreateResponse) -} - -void ExecutionCreateResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionCreateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - id_ = nullptr; -} - -ExecutionCreateResponse::~ExecutionCreateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionCreateResponse) - SharedDtor(); -} - -void ExecutionCreateResponse::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void ExecutionCreateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionCreateResponse& ExecutionCreateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionCreateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionCreateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionCreateResponse::_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 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_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 ExecutionCreateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionCreateResponse) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.ExecutionCreateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionCreateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionCreateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.ExecutionCreateResponse) -} - -::google::protobuf::uint8* ExecutionCreateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.ExecutionCreateResponse) - return target; -} - -size_t ExecutionCreateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionCreateResponse) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionCreateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionCreateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionCreateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionCreateResponse) - MergeFrom(*source); - } -} - -void ExecutionCreateResponse::MergeFrom(const ExecutionCreateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionCreateResponse) - 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_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } -} - -void ExecutionCreateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionCreateResponse::CopyFrom(const ExecutionCreateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionCreateResponse::IsInitialized() const { - return true; -} - -void ExecutionCreateResponse::Swap(ExecutionCreateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionCreateResponse::InternalSwap(ExecutionCreateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata ExecutionCreateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionGetRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowExecutionGetRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class WorkflowExecutionGetRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const WorkflowExecutionGetRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -WorkflowExecutionGetRequest::HasBitSetters::id(const WorkflowExecutionGetRequest* msg) { - return *msg->id_; -} -void WorkflowExecutionGetRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionGetRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionGetRequest::WorkflowExecutionGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionGetRequest) -} -WorkflowExecutionGetRequest::WorkflowExecutionGetRequest(const WorkflowExecutionGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionGetRequest) -} - -void WorkflowExecutionGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionGetRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - id_ = nullptr; -} - -WorkflowExecutionGetRequest::~WorkflowExecutionGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionGetRequest) - SharedDtor(); -} - -void WorkflowExecutionGetRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void WorkflowExecutionGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionGetRequest& WorkflowExecutionGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionGetRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionGetRequest::_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 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_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 WorkflowExecutionGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionGetRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.WorkflowExecutionGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.WorkflowExecutionGetRequest) -} - -::google::protobuf::uint8* WorkflowExecutionGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.WorkflowExecutionGetRequest) - return target; -} - -size_t WorkflowExecutionGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionGetRequest) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionGetRequest) - MergeFrom(*source); - } -} - -void WorkflowExecutionGetRequest::MergeFrom(const WorkflowExecutionGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionGetRequest) - 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_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } -} - -void WorkflowExecutionGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionGetRequest::CopyFrom(const WorkflowExecutionGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionGetRequest::IsInitialized() const { - return true; -} - -void WorkflowExecutionGetRequest::Swap(WorkflowExecutionGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionGetRequest::InternalSwap(WorkflowExecutionGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata WorkflowExecutionGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Execution::InitAsDefaultInstance() { - ::flyteidl::admin::_Execution_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_Execution_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::admin::ExecutionSpec*>( - ::flyteidl::admin::ExecutionSpec::internal_default_instance()); - ::flyteidl::admin::_Execution_default_instance_._instance.get_mutable()->closure_ = const_cast< ::flyteidl::admin::ExecutionClosure*>( - ::flyteidl::admin::ExecutionClosure::internal_default_instance()); -} -class Execution::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const Execution* msg); - static const ::flyteidl::admin::ExecutionSpec& spec(const Execution* msg); - static const ::flyteidl::admin::ExecutionClosure& closure(const Execution* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -Execution::HasBitSetters::id(const Execution* msg) { - return *msg->id_; -} -const ::flyteidl::admin::ExecutionSpec& -Execution::HasBitSetters::spec(const Execution* msg) { - return *msg->spec_; -} -const ::flyteidl::admin::ExecutionClosure& -Execution::HasBitSetters::closure(const Execution* msg) { - return *msg->closure_; -} -void Execution::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Execution::kIdFieldNumber; -const int Execution::kSpecFieldNumber; -const int Execution::kClosureFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Execution::Execution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Execution) -} -Execution::Execution(const Execution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_spec()) { - spec_ = new ::flyteidl::admin::ExecutionSpec(*from.spec_); - } else { - spec_ = nullptr; - } - if (from.has_closure()) { - closure_ = new ::flyteidl::admin::ExecutionClosure(*from.closure_); - } else { - closure_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Execution) -} - -void Execution::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Execution_flyteidl_2fadmin_2fexecution_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&closure_) - - reinterpret_cast(&id_)) + sizeof(closure_)); -} - -Execution::~Execution() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Execution) - SharedDtor(); -} - -void Execution::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete spec_; - if (this != internal_default_instance()) delete closure_; -} - -void Execution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Execution& Execution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Execution_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void Execution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Execution) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Execution::_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 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_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.admin.ExecutionSpec spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionSpec::_InternalParse; - object = msg->mutable_spec(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ExecutionClosure closure = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionClosure::_InternalParse; - object = msg->mutable_closure(); - 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 Execution::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Execution) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionSpec spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_spec())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionClosure closure = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_closure())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Execution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Execution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Execution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Execution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.ExecutionSpec spec = 2; - if (this->has_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::spec(this), output); - } - - // .flyteidl.admin.ExecutionClosure closure = 3; - if (this->has_closure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::closure(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Execution) -} - -::google::protobuf::uint8* Execution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Execution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.ExecutionSpec spec = 2; - if (this->has_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::spec(this), target); - } - - // .flyteidl.admin.ExecutionClosure closure = 3; - if (this->has_closure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::closure(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Execution) - return target; -} - -size_t Execution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Execution) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.ExecutionSpec spec = 2; - if (this->has_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *spec_); - } - - // .flyteidl.admin.ExecutionClosure closure = 3; - if (this->has_closure()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *closure_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Execution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Execution) - GOOGLE_DCHECK_NE(&from, this); - const Execution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Execution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Execution) - MergeFrom(*source); - } -} - -void Execution::MergeFrom(const Execution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Execution) - 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_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } - if (from.has_spec()) { - mutable_spec()->::flyteidl::admin::ExecutionSpec::MergeFrom(from.spec()); - } - if (from.has_closure()) { - mutable_closure()->::flyteidl::admin::ExecutionClosure::MergeFrom(from.closure()); - } -} - -void Execution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Execution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Execution::CopyFrom(const Execution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Execution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Execution::IsInitialized() const { - return true; -} - -void Execution::Swap(Execution* other) { - if (other == this) return; - InternalSwap(other); -} -void Execution::InternalSwap(Execution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(spec_, other->spec_); - swap(closure_, other->closure_); -} - -::google::protobuf::Metadata Execution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionList::InitAsDefaultInstance() { -} -class ExecutionList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionList::kExecutionsFieldNumber; -const int ExecutionList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionList::ExecutionList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionList) -} -ExecutionList::ExecutionList(const ExecutionList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - executions_(from.executions_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionList) -} - -void ExecutionList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionList_flyteidl_2fadmin_2fexecution_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ExecutionList::~ExecutionList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionList) - SharedDtor(); -} - -void ExecutionList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ExecutionList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionList& ExecutionList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionList_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - executions_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionList::_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.admin.Execution executions = 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::admin::Execution::_InternalParse; - object = msg->add_executions(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionList.token"); - object = msg->mutable_token(); - 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 ExecutionList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionList) - 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.admin.Execution executions = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_executions())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Execution executions = 1; - for (unsigned int i = 0, - n = static_cast(this->executions_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->executions(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionList) -} - -::google::protobuf::uint8* ExecutionList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Execution executions = 1; - for (unsigned int i = 0, - n = static_cast(this->executions_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->executions(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionList) - return target; -} - -size_t ExecutionList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionList) - 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.admin.Execution executions = 1; - { - unsigned int count = static_cast(this->executions_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->executions(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionList) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionList) - MergeFrom(*source); - } -} - -void ExecutionList::MergeFrom(const ExecutionList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - executions_.MergeFrom(from.executions_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void ExecutionList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionList::CopyFrom(const ExecutionList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionList::IsInitialized() const { - return true; -} - -void ExecutionList::Swap(ExecutionList* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionList::InternalSwap(ExecutionList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&executions_)->InternalSwap(CastToBase(&other->executions_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ExecutionList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LiteralMapBlob::InitAsDefaultInstance() { - ::flyteidl::admin::_LiteralMapBlob_default_instance_.values_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_LiteralMapBlob_default_instance_.uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class LiteralMapBlob::HasBitSetters { - public: - static const ::flyteidl::core::LiteralMap& values(const LiteralMapBlob* msg); -}; - -const ::flyteidl::core::LiteralMap& -LiteralMapBlob::HasBitSetters::values(const LiteralMapBlob* msg) { - return *msg->data_.values_; -} -void LiteralMapBlob::set_allocated_values(::flyteidl::core::LiteralMap* values) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_data(); - if (values) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - values = ::google::protobuf::internal::GetOwnedMessage( - message_arena, values, submessage_arena); - } - set_has_values(); - data_.values_ = values; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LiteralMapBlob.values) -} -void LiteralMapBlob::clear_values() { - if (has_values()) { - delete data_.values_; - clear_has_data(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LiteralMapBlob::kValuesFieldNumber; -const int LiteralMapBlob::kUriFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LiteralMapBlob::LiteralMapBlob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LiteralMapBlob) -} -LiteralMapBlob::LiteralMapBlob(const LiteralMapBlob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_data(); - switch (from.data_case()) { - case kValues: { - mutable_values()->::flyteidl::core::LiteralMap::MergeFrom(from.values()); - break; - } - case kUri: { - set_uri(from.uri()); - break; - } - case DATA_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LiteralMapBlob) -} - -void LiteralMapBlob::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto.base); - clear_has_data(); -} - -LiteralMapBlob::~LiteralMapBlob() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LiteralMapBlob) - SharedDtor(); -} - -void LiteralMapBlob::SharedDtor() { - if (has_data()) { - clear_data(); - } -} - -void LiteralMapBlob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LiteralMapBlob& LiteralMapBlob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void LiteralMapBlob::clear_data() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.LiteralMapBlob) - switch (data_case()) { - case kValues: { - delete data_.values_; - break; - } - case kUri: { - data_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case DATA_NOT_SET: { - break; - } - } - _oneof_case_[0] = DATA_NOT_SET; -} - - -void LiteralMapBlob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LiteralMapBlob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_data(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LiteralMapBlob::_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.LiteralMap values = 1 [deprecated = true]; - 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::LiteralMap::_InternalParse; - object = msg->mutable_values(); - 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 uri = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.LiteralMapBlob.uri"); - object = msg->mutable_uri(); - 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 LiteralMapBlob::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LiteralMapBlob) - 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.LiteralMap values = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_values())); - } else { - goto handle_unusual; - } - break; - } - - // string uri = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.LiteralMapBlob.uri")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LiteralMapBlob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LiteralMapBlob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LiteralMapBlob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LiteralMapBlob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - if (has_values()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::values(this), output); - } - - // string uri = 2; - if (has_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.LiteralMapBlob.uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->uri(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LiteralMapBlob) -} - -::google::protobuf::uint8* LiteralMapBlob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LiteralMapBlob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - if (has_values()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::values(this), target); - } - - // string uri = 2; - if (has_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.LiteralMapBlob.uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->uri(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LiteralMapBlob) - return target; -} - -size_t LiteralMapBlob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LiteralMapBlob) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (data_case()) { - // .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - case kValues: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *data_.values_); - break; - } - // string uri = 2; - case kUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uri()); - break; - } - case DATA_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LiteralMapBlob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LiteralMapBlob) - GOOGLE_DCHECK_NE(&from, this); - const LiteralMapBlob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LiteralMapBlob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LiteralMapBlob) - MergeFrom(*source); - } -} - -void LiteralMapBlob::MergeFrom(const LiteralMapBlob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LiteralMapBlob) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.data_case()) { - case kValues: { - mutable_values()->::flyteidl::core::LiteralMap::MergeFrom(from.values()); - break; - } - case kUri: { - set_uri(from.uri()); - break; - } - case DATA_NOT_SET: { - break; - } - } -} - -void LiteralMapBlob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LiteralMapBlob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LiteralMapBlob::CopyFrom(const LiteralMapBlob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LiteralMapBlob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LiteralMapBlob::IsInitialized() const { - return true; -} - -void LiteralMapBlob::Swap(LiteralMapBlob* other) { - if (other == this) return; - InternalSwap(other); -} -void LiteralMapBlob::InternalSwap(LiteralMapBlob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(data_, other->data_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata LiteralMapBlob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void AbortMetadata::InitAsDefaultInstance() { -} -class AbortMetadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int AbortMetadata::kCauseFieldNumber; -const int AbortMetadata::kPrincipalFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AbortMetadata::AbortMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.AbortMetadata) -} -AbortMetadata::AbortMetadata(const AbortMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.cause().size() > 0) { - cause_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cause_); - } - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.principal().size() > 0) { - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.AbortMetadata) -} - -void AbortMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_AbortMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -AbortMetadata::~AbortMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.AbortMetadata) - SharedDtor(); -} - -void AbortMetadata::SharedDtor() { - cause_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void AbortMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const AbortMetadata& AbortMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_AbortMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void AbortMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.AbortMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cause_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* AbortMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string cause = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.AbortMetadata.cause"); - object = msg->mutable_cause(); - 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 principal = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.AbortMetadata.principal"); - object = msg->mutable_principal(); - 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 AbortMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.AbortMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string cause = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_cause())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cause().data(), static_cast(this->cause().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.AbortMetadata.cause")); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_principal())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.AbortMetadata.principal")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.AbortMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.AbortMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void AbortMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.AbortMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cause = 1; - if (this->cause().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cause().data(), static_cast(this->cause().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AbortMetadata.cause"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->cause(), output); - } - - // string principal = 2; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AbortMetadata.principal"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->principal(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.AbortMetadata) -} - -::google::protobuf::uint8* AbortMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.AbortMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cause = 1; - if (this->cause().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cause().data(), static_cast(this->cause().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AbortMetadata.cause"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->cause(), target); - } - - // string principal = 2; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.AbortMetadata.principal"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->principal(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.AbortMetadata) - return target; -} - -size_t AbortMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.AbortMetadata) - 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 cause = 1; - if (this->cause().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->cause()); - } - - // string principal = 2; - if (this->principal().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->principal()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void AbortMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.AbortMetadata) - GOOGLE_DCHECK_NE(&from, this); - const AbortMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.AbortMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.AbortMetadata) - MergeFrom(*source); - } -} - -void AbortMetadata::MergeFrom(const AbortMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.AbortMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.cause().size() > 0) { - - cause_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cause_); - } - if (from.principal().size() > 0) { - - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } -} - -void AbortMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.AbortMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AbortMetadata::CopyFrom(const AbortMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.AbortMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AbortMetadata::IsInitialized() const { - return true; -} - -void AbortMetadata::Swap(AbortMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void AbortMetadata::InternalSwap(AbortMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - cause_.Swap(&other->cause_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata AbortMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionClosure::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionClosure_default_instance_.outputs_ = const_cast< ::flyteidl::admin::LiteralMapBlob*>( - ::flyteidl::admin::LiteralMapBlob::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_.error_ = const_cast< ::flyteidl::core::ExecutionError*>( - ::flyteidl::core::ExecutionError::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_.abort_cause_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::admin::_ExecutionClosure_default_instance_.abort_metadata_ = const_cast< ::flyteidl::admin::AbortMetadata*>( - ::flyteidl::admin::AbortMetadata::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_.output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_._instance.get_mutable()->computed_inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_._instance.get_mutable()->started_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_._instance.get_mutable()->duration_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_._instance.get_mutable()->created_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_._instance.get_mutable()->updated_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_._instance.get_mutable()->workflow_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_ExecutionClosure_default_instance_._instance.get_mutable()->state_change_details_ = const_cast< ::flyteidl::admin::ExecutionStateChangeDetails*>( - ::flyteidl::admin::ExecutionStateChangeDetails::internal_default_instance()); -} -class ExecutionClosure::HasBitSetters { - public: - static const ::flyteidl::admin::LiteralMapBlob& outputs(const ExecutionClosure* msg); - static const ::flyteidl::core::ExecutionError& error(const ExecutionClosure* msg); - static const ::flyteidl::admin::AbortMetadata& abort_metadata(const ExecutionClosure* msg); - static const ::flyteidl::core::LiteralMap& output_data(const ExecutionClosure* msg); - static const ::flyteidl::core::LiteralMap& computed_inputs(const ExecutionClosure* msg); - static const ::google::protobuf::Timestamp& started_at(const ExecutionClosure* msg); - static const ::google::protobuf::Duration& duration(const ExecutionClosure* msg); - static const ::google::protobuf::Timestamp& created_at(const ExecutionClosure* msg); - static const ::google::protobuf::Timestamp& updated_at(const ExecutionClosure* msg); - static const ::flyteidl::core::Identifier& workflow_id(const ExecutionClosure* msg); - static const ::flyteidl::admin::ExecutionStateChangeDetails& state_change_details(const ExecutionClosure* msg); -}; - -const ::flyteidl::admin::LiteralMapBlob& -ExecutionClosure::HasBitSetters::outputs(const ExecutionClosure* msg) { - return *msg->output_result_.outputs_; -} -const ::flyteidl::core::ExecutionError& -ExecutionClosure::HasBitSetters::error(const ExecutionClosure* msg) { - return *msg->output_result_.error_; -} -const ::flyteidl::admin::AbortMetadata& -ExecutionClosure::HasBitSetters::abort_metadata(const ExecutionClosure* msg) { - return *msg->output_result_.abort_metadata_; -} -const ::flyteidl::core::LiteralMap& -ExecutionClosure::HasBitSetters::output_data(const ExecutionClosure* msg) { - return *msg->output_result_.output_data_; -} -const ::flyteidl::core::LiteralMap& -ExecutionClosure::HasBitSetters::computed_inputs(const ExecutionClosure* msg) { - return *msg->computed_inputs_; -} -const ::google::protobuf::Timestamp& -ExecutionClosure::HasBitSetters::started_at(const ExecutionClosure* msg) { - return *msg->started_at_; -} -const ::google::protobuf::Duration& -ExecutionClosure::HasBitSetters::duration(const ExecutionClosure* msg) { - return *msg->duration_; -} -const ::google::protobuf::Timestamp& -ExecutionClosure::HasBitSetters::created_at(const ExecutionClosure* msg) { - return *msg->created_at_; -} -const ::google::protobuf::Timestamp& -ExecutionClosure::HasBitSetters::updated_at(const ExecutionClosure* msg) { - return *msg->updated_at_; -} -const ::flyteidl::core::Identifier& -ExecutionClosure::HasBitSetters::workflow_id(const ExecutionClosure* msg) { - return *msg->workflow_id_; -} -const ::flyteidl::admin::ExecutionStateChangeDetails& -ExecutionClosure::HasBitSetters::state_change_details(const ExecutionClosure* msg) { - return *msg->state_change_details_; -} -void ExecutionClosure::set_allocated_outputs(::flyteidl::admin::LiteralMapBlob* outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, outputs, submessage_arena); - } - set_has_outputs(); - output_result_.outputs_ = outputs; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.outputs) -} -void ExecutionClosure::set_allocated_error(::flyteidl::core::ExecutionError* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - output_result_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.error) -} -void ExecutionClosure::clear_error() { - if (has_error()) { - delete output_result_.error_; - clear_has_output_result(); - } -} -void ExecutionClosure::set_allocated_abort_metadata(::flyteidl::admin::AbortMetadata* abort_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (abort_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - abort_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, abort_metadata, submessage_arena); - } - set_has_abort_metadata(); - output_result_.abort_metadata_ = abort_metadata; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.abort_metadata) -} -void ExecutionClosure::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - set_has_output_data(); - output_result_.output_data_ = output_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.output_data) -} -void ExecutionClosure::clear_output_data() { - if (has_output_data()) { - delete output_result_.output_data_; - clear_has_output_result(); - } -} -void ExecutionClosure::clear_computed_inputs() { - if (GetArenaNoVirtual() == nullptr && computed_inputs_ != nullptr) { - delete computed_inputs_; - } - computed_inputs_ = nullptr; -} -void ExecutionClosure::clear_started_at() { - if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { - delete started_at_; - } - started_at_ = nullptr; -} -void ExecutionClosure::clear_duration() { - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; -} -void ExecutionClosure::clear_created_at() { - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; -} -void ExecutionClosure::clear_updated_at() { - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; -} -void ExecutionClosure::clear_notifications() { - notifications_.Clear(); -} -void ExecutionClosure::clear_workflow_id() { - if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { - delete workflow_id_; - } - workflow_id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionClosure::kOutputsFieldNumber; -const int ExecutionClosure::kErrorFieldNumber; -const int ExecutionClosure::kAbortCauseFieldNumber; -const int ExecutionClosure::kAbortMetadataFieldNumber; -const int ExecutionClosure::kOutputDataFieldNumber; -const int ExecutionClosure::kComputedInputsFieldNumber; -const int ExecutionClosure::kPhaseFieldNumber; -const int ExecutionClosure::kStartedAtFieldNumber; -const int ExecutionClosure::kDurationFieldNumber; -const int ExecutionClosure::kCreatedAtFieldNumber; -const int ExecutionClosure::kUpdatedAtFieldNumber; -const int ExecutionClosure::kNotificationsFieldNumber; -const int ExecutionClosure::kWorkflowIdFieldNumber; -const int ExecutionClosure::kStateChangeDetailsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionClosure::ExecutionClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionClosure) -} -ExecutionClosure::ExecutionClosure(const ExecutionClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - notifications_(from.notifications_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_computed_inputs()) { - computed_inputs_ = new ::flyteidl::core::LiteralMap(*from.computed_inputs_); - } else { - computed_inputs_ = nullptr; - } - if (from.has_started_at()) { - started_at_ = new ::google::protobuf::Timestamp(*from.started_at_); - } else { - started_at_ = nullptr; - } - if (from.has_duration()) { - duration_ = new ::google::protobuf::Duration(*from.duration_); - } else { - duration_ = nullptr; - } - if (from.has_created_at()) { - created_at_ = new ::google::protobuf::Timestamp(*from.created_at_); - } else { - created_at_ = nullptr; - } - if (from.has_updated_at()) { - updated_at_ = new ::google::protobuf::Timestamp(*from.updated_at_); - } else { - updated_at_ = nullptr; - } - if (from.has_workflow_id()) { - workflow_id_ = new ::flyteidl::core::Identifier(*from.workflow_id_); - } else { - workflow_id_ = nullptr; - } - if (from.has_state_change_details()) { - state_change_details_ = new ::flyteidl::admin::ExecutionStateChangeDetails(*from.state_change_details_); - } else { - state_change_details_ = nullptr; - } - phase_ = from.phase_; - clear_has_output_result(); - switch (from.output_result_case()) { - case kOutputs: { - mutable_outputs()->::flyteidl::admin::LiteralMapBlob::MergeFrom(from.outputs()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kAbortCause: { - set_abort_cause(from.abort_cause()); - break; - } - case kAbortMetadata: { - mutable_abort_metadata()->::flyteidl::admin::AbortMetadata::MergeFrom(from.abort_metadata()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionClosure) -} - -void ExecutionClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto.base); - ::memset(&computed_inputs_, 0, static_cast( - reinterpret_cast(&phase_) - - reinterpret_cast(&computed_inputs_)) + sizeof(phase_)); - clear_has_output_result(); -} - -ExecutionClosure::~ExecutionClosure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionClosure) - SharedDtor(); -} - -void ExecutionClosure::SharedDtor() { - if (this != internal_default_instance()) delete computed_inputs_; - if (this != internal_default_instance()) delete started_at_; - if (this != internal_default_instance()) delete duration_; - if (this != internal_default_instance()) delete created_at_; - if (this != internal_default_instance()) delete updated_at_; - if (this != internal_default_instance()) delete workflow_id_; - if (this != internal_default_instance()) delete state_change_details_; - if (has_output_result()) { - clear_output_result(); - } -} - -void ExecutionClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionClosure& ExecutionClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionClosure_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionClosure::clear_output_result() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.ExecutionClosure) - switch (output_result_case()) { - case kOutputs: { - delete output_result_.outputs_; - break; - } - case kError: { - delete output_result_.error_; - break; - } - case kAbortCause: { - output_result_.abort_cause_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kAbortMetadata: { - delete output_result_.abort_metadata_; - break; - } - case kOutputData: { - delete output_result_.output_data_; - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} - - -void ExecutionClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - notifications_.Clear(); - if (GetArenaNoVirtual() == nullptr && computed_inputs_ != nullptr) { - delete computed_inputs_; - } - computed_inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { - delete started_at_; - } - started_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { - delete workflow_id_; - } - workflow_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && state_change_details_ != nullptr) { - delete state_change_details_; - } - state_change_details_ = nullptr; - phase_ = 0; - clear_output_result(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionClosure::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::LiteralMapBlob::_InternalParse; - object = msg->mutable_outputs(); - 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.ExecutionError error = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExecutionError::_InternalParse; - object = msg->mutable_error(); - 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.LiteralMap computed_inputs = 3 [deprecated = true]; - 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::LiteralMap::_InternalParse; - object = msg->mutable_computed_inputs(); - 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.WorkflowExecution.Phase phase = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::WorkflowExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Timestamp started_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_started_at(); - 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; - } - // .google.protobuf.Duration duration = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_duration(); - 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; - } - // .google.protobuf.Timestamp created_at = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_created_at(); - 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; - } - // .google.protobuf.Timestamp updated_at = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_updated_at(); - 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; - } - // repeated .flyteidl.admin.Notification notifications = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Notification::_InternalParse; - object = msg->add_notifications(); - 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) == 74 && (ptr += 1)); - break; - } - // string abort_cause = 10 [deprecated = true]; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionClosure.abort_cause"); - object = msg->mutable_abort_cause(); - 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.Identifier workflow_id = 11; - case 11: { - if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Identifier::_InternalParse; - object = msg->mutable_workflow_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.admin.AbortMetadata abort_metadata = 12; - case 12: { - if (static_cast<::google::protobuf::uint8>(tag) != 98) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::AbortMetadata::_InternalParse; - object = msg->mutable_abort_metadata(); - 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.LiteralMap output_data = 13 [deprecated = true]; - case 13: { - if (static_cast<::google::protobuf::uint8>(tag) != 106) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - case 14: { - if (static_cast<::google::protobuf::uint8>(tag) != 114) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionStateChangeDetails::_InternalParse; - object = msg->mutable_state_change_details(); - 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 ExecutionClosure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionClosure) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError error = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_computed_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::WorkflowExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp started_at = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_started_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration duration = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_duration())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp created_at = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_created_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp updated_at = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_updated_at())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.admin.Notification notifications = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_notifications())); - } else { - goto handle_unusual; - } - break; - } - - // string abort_cause = 10 [deprecated = true]; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_abort_cause())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->abort_cause().data(), static_cast(this->abort_cause().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionClosure.abort_cause")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Identifier workflow_id = 11; - case 11: { - if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.AbortMetadata abort_metadata = 12; - case 12: { - if (static_cast< ::google::protobuf::uint8>(tag) == (98 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_abort_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - case 13: { - if (static_cast< ::google::protobuf::uint8>(tag) == (106 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - case 14: { - if (static_cast< ::google::protobuf::uint8>(tag) == (114 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_state_change_details())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - if (has_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::outputs(this), output); - } - - // .flyteidl.core.ExecutionError error = 2; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::error(this), output); - } - - // .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - if (this->has_computed_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::computed_inputs(this), output); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 4; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->phase(), output); - } - - // .google.protobuf.Timestamp started_at = 5; - if (this->has_started_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::started_at(this), output); - } - - // .google.protobuf.Duration duration = 6; - if (this->has_duration()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::duration(this), output); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::created_at(this), output); - } - - // .google.protobuf.Timestamp updated_at = 8; - if (this->has_updated_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::updated_at(this), output); - } - - // repeated .flyteidl.admin.Notification notifications = 9; - for (unsigned int i = 0, - n = static_cast(this->notifications_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, - this->notifications(static_cast(i)), - output); - } - - // string abort_cause = 10 [deprecated = true]; - if (has_abort_cause()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->abort_cause().data(), static_cast(this->abort_cause().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionClosure.abort_cause"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 10, this->abort_cause(), output); - } - - // .flyteidl.core.Identifier workflow_id = 11; - if (this->has_workflow_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 11, HasBitSetters::workflow_id(this), output); - } - - // .flyteidl.admin.AbortMetadata abort_metadata = 12; - if (has_abort_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 12, HasBitSetters::abort_metadata(this), output); - } - - // .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - if (has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 13, HasBitSetters::output_data(this), output); - } - - // .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - if (this->has_state_change_details()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 14, HasBitSetters::state_change_details(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionClosure) -} - -::google::protobuf::uint8* ExecutionClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - if (has_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::outputs(this), target); - } - - // .flyteidl.core.ExecutionError error = 2; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::error(this), target); - } - - // .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - if (this->has_computed_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::computed_inputs(this), target); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 4; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->phase(), target); - } - - // .google.protobuf.Timestamp started_at = 5; - if (this->has_started_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::started_at(this), target); - } - - // .google.protobuf.Duration duration = 6; - if (this->has_duration()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::duration(this), target); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::created_at(this), target); - } - - // .google.protobuf.Timestamp updated_at = 8; - if (this->has_updated_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::updated_at(this), target); - } - - // repeated .flyteidl.admin.Notification notifications = 9; - for (unsigned int i = 0, - n = static_cast(this->notifications_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, this->notifications(static_cast(i)), target); - } - - // string abort_cause = 10 [deprecated = true]; - if (has_abort_cause()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->abort_cause().data(), static_cast(this->abort_cause().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionClosure.abort_cause"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 10, this->abort_cause(), target); - } - - // .flyteidl.core.Identifier workflow_id = 11; - if (this->has_workflow_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 11, HasBitSetters::workflow_id(this), target); - } - - // .flyteidl.admin.AbortMetadata abort_metadata = 12; - if (has_abort_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 12, HasBitSetters::abort_metadata(this), target); - } - - // .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - if (has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 13, HasBitSetters::output_data(this), target); - } - - // .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - if (this->has_state_change_details()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 14, HasBitSetters::state_change_details(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionClosure) - return target; -} - -size_t ExecutionClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionClosure) - 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.admin.Notification notifications = 9; - { - unsigned int count = static_cast(this->notifications_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->notifications(static_cast(i))); - } - } - - // .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - if (this->has_computed_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *computed_inputs_); - } - - // .google.protobuf.Timestamp started_at = 5; - if (this->has_started_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *started_at_); - } - - // .google.protobuf.Duration duration = 6; - if (this->has_duration()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *duration_); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *created_at_); - } - - // .google.protobuf.Timestamp updated_at = 8; - if (this->has_updated_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *updated_at_); - } - - // .flyteidl.core.Identifier workflow_id = 11; - if (this->has_workflow_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *workflow_id_); - } - - // .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - if (this->has_state_change_details()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *state_change_details_); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 4; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - switch (output_result_case()) { - // .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - case kOutputs: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.outputs_); - break; - } - // .flyteidl.core.ExecutionError error = 2; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.error_); - break; - } - // string abort_cause = 10 [deprecated = true]; - case kAbortCause: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->abort_cause()); - break; - } - // .flyteidl.admin.AbortMetadata abort_metadata = 12; - case kAbortMetadata: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.abort_metadata_); - break; - } - // .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - case kOutputData: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.output_data_); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionClosure) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionClosure) - MergeFrom(*source); - } -} - -void ExecutionClosure::MergeFrom(const ExecutionClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionClosure) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - notifications_.MergeFrom(from.notifications_); - if (from.has_computed_inputs()) { - mutable_computed_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.computed_inputs()); - } - if (from.has_started_at()) { - mutable_started_at()->::google::protobuf::Timestamp::MergeFrom(from.started_at()); - } - if (from.has_duration()) { - mutable_duration()->::google::protobuf::Duration::MergeFrom(from.duration()); - } - if (from.has_created_at()) { - mutable_created_at()->::google::protobuf::Timestamp::MergeFrom(from.created_at()); - } - if (from.has_updated_at()) { - mutable_updated_at()->::google::protobuf::Timestamp::MergeFrom(from.updated_at()); - } - if (from.has_workflow_id()) { - mutable_workflow_id()->::flyteidl::core::Identifier::MergeFrom(from.workflow_id()); - } - if (from.has_state_change_details()) { - mutable_state_change_details()->::flyteidl::admin::ExecutionStateChangeDetails::MergeFrom(from.state_change_details()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } - switch (from.output_result_case()) { - case kOutputs: { - mutable_outputs()->::flyteidl::admin::LiteralMapBlob::MergeFrom(from.outputs()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kAbortCause: { - set_abort_cause(from.abort_cause()); - break; - } - case kAbortMetadata: { - mutable_abort_metadata()->::flyteidl::admin::AbortMetadata::MergeFrom(from.abort_metadata()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } -} - -void ExecutionClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionClosure::CopyFrom(const ExecutionClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionClosure::IsInitialized() const { - return true; -} - -void ExecutionClosure::Swap(ExecutionClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionClosure::InternalSwap(ExecutionClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(¬ifications_)->InternalSwap(CastToBase(&other->notifications_)); - swap(computed_inputs_, other->computed_inputs_); - swap(started_at_, other->started_at_); - swap(duration_, other->duration_); - swap(created_at_, other->created_at_); - swap(updated_at_, other->updated_at_); - swap(workflow_id_, other->workflow_id_); - swap(state_change_details_, other->state_change_details_); - swap(phase_, other->phase_); - swap(output_result_, other->output_result_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata ExecutionClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SystemMetadata::InitAsDefaultInstance() { -} -class SystemMetadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SystemMetadata::kExecutionClusterFieldNumber; -const int SystemMetadata::kNamespaceFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SystemMetadata::SystemMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SystemMetadata) -} -SystemMetadata::SystemMetadata(const SystemMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - execution_cluster_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.execution_cluster().size() > 0) { - execution_cluster_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.execution_cluster_); - } - namespace__.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.namespace_().size() > 0) { - namespace__.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace__); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SystemMetadata) -} - -void SystemMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - execution_cluster_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - namespace__.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -SystemMetadata::~SystemMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SystemMetadata) - SharedDtor(); -} - -void SystemMetadata::SharedDtor() { - execution_cluster_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - namespace__.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SystemMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SystemMetadata& SystemMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void SystemMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SystemMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - execution_cluster_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - namespace__.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SystemMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string execution_cluster = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.SystemMetadata.execution_cluster"); - object = msg->mutable_execution_cluster(); - 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 namespace = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.SystemMetadata.namespace"); - object = msg->mutable_namespace_(); - 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 SystemMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SystemMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string execution_cluster = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_execution_cluster())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->execution_cluster().data(), static_cast(this->execution_cluster().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.SystemMetadata.execution_cluster")); - } else { - goto handle_unusual; - } - break; - } - - // string namespace = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_namespace_())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.SystemMetadata.namespace")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SystemMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SystemMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SystemMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SystemMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string execution_cluster = 1; - if (this->execution_cluster().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->execution_cluster().data(), static_cast(this->execution_cluster().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SystemMetadata.execution_cluster"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->execution_cluster(), output); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SystemMetadata.namespace"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->namespace_(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SystemMetadata) -} - -::google::protobuf::uint8* SystemMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SystemMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string execution_cluster = 1; - if (this->execution_cluster().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->execution_cluster().data(), static_cast(this->execution_cluster().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SystemMetadata.execution_cluster"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->execution_cluster(), target); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SystemMetadata.namespace"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->namespace_(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SystemMetadata) - return target; -} - -size_t SystemMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SystemMetadata) - 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 execution_cluster = 1; - if (this->execution_cluster().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->execution_cluster()); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->namespace_()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SystemMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SystemMetadata) - GOOGLE_DCHECK_NE(&from, this); - const SystemMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SystemMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SystemMetadata) - MergeFrom(*source); - } -} - -void SystemMetadata::MergeFrom(const SystemMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SystemMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.execution_cluster().size() > 0) { - - execution_cluster_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.execution_cluster_); - } - if (from.namespace_().size() > 0) { - - namespace__.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace__); - } -} - -void SystemMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SystemMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SystemMetadata::CopyFrom(const SystemMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SystemMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SystemMetadata::IsInitialized() const { - return true; -} - -void SystemMetadata::Swap(SystemMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void SystemMetadata::InternalSwap(SystemMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - execution_cluster_.Swap(&other->execution_cluster_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - namespace__.Swap(&other->namespace__, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata SystemMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionMetadata::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionMetadata_default_instance_._instance.get_mutable()->scheduled_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_ExecutionMetadata_default_instance_._instance.get_mutable()->parent_node_execution_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_ExecutionMetadata_default_instance_._instance.get_mutable()->reference_execution_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_ExecutionMetadata_default_instance_._instance.get_mutable()->system_metadata_ = const_cast< ::flyteidl::admin::SystemMetadata*>( - ::flyteidl::admin::SystemMetadata::internal_default_instance()); -} -class ExecutionMetadata::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& scheduled_at(const ExecutionMetadata* msg); - static const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution(const ExecutionMetadata* msg); - static const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution(const ExecutionMetadata* msg); - static const ::flyteidl::admin::SystemMetadata& system_metadata(const ExecutionMetadata* msg); -}; - -const ::google::protobuf::Timestamp& -ExecutionMetadata::HasBitSetters::scheduled_at(const ExecutionMetadata* msg) { - return *msg->scheduled_at_; -} -const ::flyteidl::core::NodeExecutionIdentifier& -ExecutionMetadata::HasBitSetters::parent_node_execution(const ExecutionMetadata* msg) { - return *msg->parent_node_execution_; -} -const ::flyteidl::core::WorkflowExecutionIdentifier& -ExecutionMetadata::HasBitSetters::reference_execution(const ExecutionMetadata* msg) { - return *msg->reference_execution_; -} -const ::flyteidl::admin::SystemMetadata& -ExecutionMetadata::HasBitSetters::system_metadata(const ExecutionMetadata* msg) { - return *msg->system_metadata_; -} -void ExecutionMetadata::clear_scheduled_at() { - if (GetArenaNoVirtual() == nullptr && scheduled_at_ != nullptr) { - delete scheduled_at_; - } - scheduled_at_ = nullptr; -} -void ExecutionMetadata::clear_parent_node_execution() { - if (GetArenaNoVirtual() == nullptr && parent_node_execution_ != nullptr) { - delete parent_node_execution_; - } - parent_node_execution_ = nullptr; -} -void ExecutionMetadata::clear_reference_execution() { - if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { - delete reference_execution_; - } - reference_execution_ = nullptr; -} -void ExecutionMetadata::clear_artifact_ids() { - artifact_ids_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionMetadata::kModeFieldNumber; -const int ExecutionMetadata::kPrincipalFieldNumber; -const int ExecutionMetadata::kNestingFieldNumber; -const int ExecutionMetadata::kScheduledAtFieldNumber; -const int ExecutionMetadata::kParentNodeExecutionFieldNumber; -const int ExecutionMetadata::kReferenceExecutionFieldNumber; -const int ExecutionMetadata::kSystemMetadataFieldNumber; -const int ExecutionMetadata::kArtifactIdsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionMetadata::ExecutionMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionMetadata) -} -ExecutionMetadata::ExecutionMetadata(const ExecutionMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - artifact_ids_(from.artifact_ids_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.principal().size() > 0) { - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_scheduled_at()) { - scheduled_at_ = new ::google::protobuf::Timestamp(*from.scheduled_at_); - } else { - scheduled_at_ = nullptr; - } - if (from.has_parent_node_execution()) { - parent_node_execution_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.parent_node_execution_); - } else { - parent_node_execution_ = nullptr; - } - if (from.has_reference_execution()) { - reference_execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.reference_execution_); - } else { - reference_execution_ = nullptr; - } - if (from.has_system_metadata()) { - system_metadata_ = new ::flyteidl::admin::SystemMetadata(*from.system_metadata_); - } else { - system_metadata_ = nullptr; - } - ::memcpy(&mode_, &from.mode_, - static_cast(reinterpret_cast(&nesting_) - - reinterpret_cast(&mode_)) + sizeof(nesting_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionMetadata) -} - -void ExecutionMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&scheduled_at_, 0, static_cast( - reinterpret_cast(&nesting_) - - reinterpret_cast(&scheduled_at_)) + sizeof(nesting_)); -} - -ExecutionMetadata::~ExecutionMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionMetadata) - SharedDtor(); -} - -void ExecutionMetadata::SharedDtor() { - principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete scheduled_at_; - if (this != internal_default_instance()) delete parent_node_execution_; - if (this != internal_default_instance()) delete reference_execution_; - if (this != internal_default_instance()) delete system_metadata_; -} - -void ExecutionMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionMetadata& ExecutionMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - artifact_ids_.Clear(); - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && scheduled_at_ != nullptr) { - delete scheduled_at_; - } - scheduled_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && parent_node_execution_ != nullptr) { - delete parent_node_execution_; - } - parent_node_execution_ = nullptr; - if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { - delete reference_execution_; - } - reference_execution_ = nullptr; - if (GetArenaNoVirtual() == nullptr && system_metadata_ != nullptr) { - delete system_metadata_; - } - system_metadata_ = nullptr; - ::memset(&mode_, 0, static_cast( - reinterpret_cast(&nesting_) - - reinterpret_cast(&mode_)) + sizeof(nesting_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 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_mode(static_cast<::flyteidl::admin::ExecutionMetadata_ExecutionMode>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string principal = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionMetadata.principal"); - object = msg->mutable_principal(); - 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; - } - // uint32 nesting = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_nesting(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Timestamp scheduled_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_scheduled_at(); - 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.NodeExecutionIdentifier parent_node_execution = 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::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_parent_node_execution(); - 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 reference_execution = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) 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_reference_execution(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.SystemMetadata system_metadata = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 138) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::SystemMetadata::_InternalParse; - object = msg->mutable_system_metadata(); - 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; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 18; - case 18: { - if (static_cast<::google::protobuf::uint8>(tag) != 146) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; - object = msg->add_artifact_ids(); - 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) & 65535) == 402 && (ptr += 2)); - 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 ExecutionMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 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_mode(static_cast< ::flyteidl::admin::ExecutionMetadata_ExecutionMode >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_principal())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionMetadata.principal")); - } else { - goto handle_unusual; - } - break; - } - - // uint32 nesting = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &nesting_))); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp scheduled_at = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_scheduled_at())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_parent_node_execution())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reference_execution())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.SystemMetadata system_metadata = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (138 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_system_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 18; - case 18: { - if (static_cast< ::google::protobuf::uint8>(tag) == (146 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - if (this->mode() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->mode(), output); - } - - // string principal = 2; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionMetadata.principal"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->principal(), output); - } - - // uint32 nesting = 3; - if (this->nesting() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->nesting(), output); - } - - // .google.protobuf.Timestamp scheduled_at = 4; - if (this->has_scheduled_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::scheduled_at(this), output); - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - if (this->has_parent_node_execution()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::parent_node_execution(this), output); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - if (this->has_reference_execution()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 16, HasBitSetters::reference_execution(this), output); - } - - // .flyteidl.admin.SystemMetadata system_metadata = 17; - if (this->has_system_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 17, HasBitSetters::system_metadata(this), output); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 18; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 18, - this->artifact_ids(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.admin.ExecutionMetadata) -} - -::google::protobuf::uint8* ExecutionMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - if (this->mode() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->mode(), target); - } - - // string principal = 2; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionMetadata.principal"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->principal(), target); - } - - // uint32 nesting = 3; - if (this->nesting() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->nesting(), target); - } - - // .google.protobuf.Timestamp scheduled_at = 4; - if (this->has_scheduled_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::scheduled_at(this), target); - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - if (this->has_parent_node_execution()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::parent_node_execution(this), target); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - if (this->has_reference_execution()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 16, HasBitSetters::reference_execution(this), target); - } - - // .flyteidl.admin.SystemMetadata system_metadata = 17; - if (this->has_system_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 17, HasBitSetters::system_metadata(this), target); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 18; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 18, this->artifact_ids(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.admin.ExecutionMetadata) - return target; -} - -size_t ExecutionMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionMetadata) - 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.ArtifactID artifact_ids = 18; - { - unsigned int count = static_cast(this->artifact_ids_size()); - total_size += 2UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->artifact_ids(static_cast(i))); - } - } - - // string principal = 2; - if (this->principal().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->principal()); - } - - // .google.protobuf.Timestamp scheduled_at = 4; - if (this->has_scheduled_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *scheduled_at_); - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - if (this->has_parent_node_execution()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *parent_node_execution_); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - if (this->has_reference_execution()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reference_execution_); - } - - // .flyteidl.admin.SystemMetadata system_metadata = 17; - if (this->has_system_metadata()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *system_metadata_); - } - - // .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - if (this->mode() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->mode()); - } - - // uint32 nesting = 3; - if (this->nesting() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->nesting()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionMetadata) - MergeFrom(*source); - } -} - -void ExecutionMetadata::MergeFrom(const ExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - artifact_ids_.MergeFrom(from.artifact_ids_); - if (from.principal().size() > 0) { - - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_scheduled_at()) { - mutable_scheduled_at()->::google::protobuf::Timestamp::MergeFrom(from.scheduled_at()); - } - if (from.has_parent_node_execution()) { - mutable_parent_node_execution()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.parent_node_execution()); - } - if (from.has_reference_execution()) { - mutable_reference_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.reference_execution()); - } - if (from.has_system_metadata()) { - mutable_system_metadata()->::flyteidl::admin::SystemMetadata::MergeFrom(from.system_metadata()); - } - if (from.mode() != 0) { - set_mode(from.mode()); - } - if (from.nesting() != 0) { - set_nesting(from.nesting()); - } -} - -void ExecutionMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionMetadata::CopyFrom(const ExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionMetadata::IsInitialized() const { - return true; -} - -void ExecutionMetadata::Swap(ExecutionMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionMetadata::InternalSwap(ExecutionMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); - principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(scheduled_at_, other->scheduled_at_); - swap(parent_node_execution_, other->parent_node_execution_); - swap(reference_execution_, other->reference_execution_); - swap(system_metadata_, other->system_metadata_); - swap(mode_, other->mode_); - swap(nesting_, other->nesting_); -} - -::google::protobuf::Metadata ExecutionMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NotificationList::InitAsDefaultInstance() { -} -class NotificationList::HasBitSetters { - public: -}; - -void NotificationList::clear_notifications() { - notifications_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NotificationList::kNotificationsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NotificationList::NotificationList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NotificationList) -} -NotificationList::NotificationList(const NotificationList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - notifications_(from.notifications_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NotificationList) -} - -void NotificationList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto.base); -} - -NotificationList::~NotificationList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NotificationList) - SharedDtor(); -} - -void NotificationList::SharedDtor() { -} - -void NotificationList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NotificationList& NotificationList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NotificationList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NotificationList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - notifications_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NotificationList::_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.admin.Notification notifications = 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::admin::Notification::_InternalParse; - object = msg->add_notifications(); - 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 NotificationList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NotificationList) - 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.admin.Notification notifications = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_notifications())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NotificationList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NotificationList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NotificationList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NotificationList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Notification notifications = 1; - for (unsigned int i = 0, - n = static_cast(this->notifications_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->notifications(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.admin.NotificationList) -} - -::google::protobuf::uint8* NotificationList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NotificationList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Notification notifications = 1; - for (unsigned int i = 0, - n = static_cast(this->notifications_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->notifications(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.admin.NotificationList) - return target; -} - -size_t NotificationList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NotificationList) - 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.admin.Notification notifications = 1; - { - unsigned int count = static_cast(this->notifications_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->notifications(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NotificationList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NotificationList) - GOOGLE_DCHECK_NE(&from, this); - const NotificationList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NotificationList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NotificationList) - MergeFrom(*source); - } -} - -void NotificationList::MergeFrom(const NotificationList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NotificationList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - notifications_.MergeFrom(from.notifications_); -} - -void NotificationList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NotificationList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NotificationList::CopyFrom(const NotificationList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NotificationList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NotificationList::IsInitialized() const { - return true; -} - -void NotificationList::Swap(NotificationList* other) { - if (other == this) return; - InternalSwap(other); -} -void NotificationList::InternalSwap(NotificationList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(¬ifications_)->InternalSwap(CastToBase(&other->notifications_)); -} - -::google::protobuf::Metadata NotificationList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionSpec::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->launch_plan_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::admin::ExecutionMetadata*>( - ::flyteidl::admin::ExecutionMetadata::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_.notifications_ = const_cast< ::flyteidl::admin::NotificationList*>( - ::flyteidl::admin::NotificationList::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_.disable_all_ = false; - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->labels_ = const_cast< ::flyteidl::admin::Labels*>( - ::flyteidl::admin::Labels::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->annotations_ = const_cast< ::flyteidl::admin::Annotations*>( - ::flyteidl::admin::Annotations::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->security_context_ = const_cast< ::flyteidl::core::SecurityContext*>( - ::flyteidl::core::SecurityContext::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->auth_role_ = const_cast< ::flyteidl::admin::AuthRole*>( - ::flyteidl::admin::AuthRole::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->quality_of_service_ = const_cast< ::flyteidl::core::QualityOfService*>( - ::flyteidl::core::QualityOfService::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->raw_output_data_config_ = const_cast< ::flyteidl::admin::RawOutputDataConfig*>( - ::flyteidl::admin::RawOutputDataConfig::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->cluster_assignment_ = const_cast< ::flyteidl::admin::ClusterAssignment*>( - ::flyteidl::admin::ClusterAssignment::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->interruptible_ = const_cast< ::google::protobuf::BoolValue*>( - ::google::protobuf::BoolValue::internal_default_instance()); - ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->envs_ = const_cast< ::flyteidl::admin::Envs*>( - ::flyteidl::admin::Envs::internal_default_instance()); -} -class ExecutionSpec::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& launch_plan(const ExecutionSpec* msg); - static const ::flyteidl::core::LiteralMap& inputs(const ExecutionSpec* msg); - static const ::flyteidl::admin::ExecutionMetadata& metadata(const ExecutionSpec* msg); - static const ::flyteidl::admin::NotificationList& notifications(const ExecutionSpec* msg); - static const ::flyteidl::admin::Labels& labels(const ExecutionSpec* msg); - static const ::flyteidl::admin::Annotations& annotations(const ExecutionSpec* msg); - static const ::flyteidl::core::SecurityContext& security_context(const ExecutionSpec* msg); - static const ::flyteidl::admin::AuthRole& auth_role(const ExecutionSpec* msg); - static const ::flyteidl::core::QualityOfService& quality_of_service(const ExecutionSpec* msg); - static const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config(const ExecutionSpec* msg); - static const ::flyteidl::admin::ClusterAssignment& cluster_assignment(const ExecutionSpec* msg); - static const ::google::protobuf::BoolValue& interruptible(const ExecutionSpec* msg); - static const ::flyteidl::admin::Envs& envs(const ExecutionSpec* msg); -}; - -const ::flyteidl::core::Identifier& -ExecutionSpec::HasBitSetters::launch_plan(const ExecutionSpec* msg) { - return *msg->launch_plan_; -} -const ::flyteidl::core::LiteralMap& -ExecutionSpec::HasBitSetters::inputs(const ExecutionSpec* msg) { - return *msg->inputs_; -} -const ::flyteidl::admin::ExecutionMetadata& -ExecutionSpec::HasBitSetters::metadata(const ExecutionSpec* msg) { - return *msg->metadata_; -} -const ::flyteidl::admin::NotificationList& -ExecutionSpec::HasBitSetters::notifications(const ExecutionSpec* msg) { - return *msg->notification_overrides_.notifications_; -} -const ::flyteidl::admin::Labels& -ExecutionSpec::HasBitSetters::labels(const ExecutionSpec* msg) { - return *msg->labels_; -} -const ::flyteidl::admin::Annotations& -ExecutionSpec::HasBitSetters::annotations(const ExecutionSpec* msg) { - return *msg->annotations_; -} -const ::flyteidl::core::SecurityContext& -ExecutionSpec::HasBitSetters::security_context(const ExecutionSpec* msg) { - return *msg->security_context_; -} -const ::flyteidl::admin::AuthRole& -ExecutionSpec::HasBitSetters::auth_role(const ExecutionSpec* msg) { - return *msg->auth_role_; -} -const ::flyteidl::core::QualityOfService& -ExecutionSpec::HasBitSetters::quality_of_service(const ExecutionSpec* msg) { - return *msg->quality_of_service_; -} -const ::flyteidl::admin::RawOutputDataConfig& -ExecutionSpec::HasBitSetters::raw_output_data_config(const ExecutionSpec* msg) { - return *msg->raw_output_data_config_; -} -const ::flyteidl::admin::ClusterAssignment& -ExecutionSpec::HasBitSetters::cluster_assignment(const ExecutionSpec* msg) { - return *msg->cluster_assignment_; -} -const ::google::protobuf::BoolValue& -ExecutionSpec::HasBitSetters::interruptible(const ExecutionSpec* msg) { - return *msg->interruptible_; -} -const ::flyteidl::admin::Envs& -ExecutionSpec::HasBitSetters::envs(const ExecutionSpec* msg) { - return *msg->envs_; -} -void ExecutionSpec::clear_launch_plan() { - if (GetArenaNoVirtual() == nullptr && launch_plan_ != nullptr) { - delete launch_plan_; - } - launch_plan_ = nullptr; -} -void ExecutionSpec::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -void ExecutionSpec::set_allocated_notifications(::flyteidl::admin::NotificationList* notifications) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_notification_overrides(); - if (notifications) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - notifications = ::google::protobuf::internal::GetOwnedMessage( - message_arena, notifications, submessage_arena); - } - set_has_notifications(); - notification_overrides_.notifications_ = notifications; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.notifications) -} -void ExecutionSpec::clear_labels() { - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; -} -void ExecutionSpec::clear_annotations() { - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; -} -void ExecutionSpec::clear_security_context() { - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; -} -void ExecutionSpec::clear_auth_role() { - if (GetArenaNoVirtual() == nullptr && auth_role_ != nullptr) { - delete auth_role_; - } - auth_role_ = nullptr; -} -void ExecutionSpec::clear_quality_of_service() { - if (GetArenaNoVirtual() == nullptr && quality_of_service_ != nullptr) { - delete quality_of_service_; - } - quality_of_service_ = nullptr; -} -void ExecutionSpec::clear_raw_output_data_config() { - if (GetArenaNoVirtual() == nullptr && raw_output_data_config_ != nullptr) { - delete raw_output_data_config_; - } - raw_output_data_config_ = nullptr; -} -void ExecutionSpec::clear_cluster_assignment() { - if (GetArenaNoVirtual() == nullptr && cluster_assignment_ != nullptr) { - delete cluster_assignment_; - } - cluster_assignment_ = nullptr; -} -void ExecutionSpec::clear_interruptible() { - if (GetArenaNoVirtual() == nullptr && interruptible_ != nullptr) { - delete interruptible_; - } - interruptible_ = nullptr; -} -void ExecutionSpec::clear_envs() { - if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { - delete envs_; - } - envs_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionSpec::kLaunchPlanFieldNumber; -const int ExecutionSpec::kInputsFieldNumber; -const int ExecutionSpec::kMetadataFieldNumber; -const int ExecutionSpec::kNotificationsFieldNumber; -const int ExecutionSpec::kDisableAllFieldNumber; -const int ExecutionSpec::kLabelsFieldNumber; -const int ExecutionSpec::kAnnotationsFieldNumber; -const int ExecutionSpec::kSecurityContextFieldNumber; -const int ExecutionSpec::kAuthRoleFieldNumber; -const int ExecutionSpec::kQualityOfServiceFieldNumber; -const int ExecutionSpec::kMaxParallelismFieldNumber; -const int ExecutionSpec::kRawOutputDataConfigFieldNumber; -const int ExecutionSpec::kClusterAssignmentFieldNumber; -const int ExecutionSpec::kInterruptibleFieldNumber; -const int ExecutionSpec::kOverwriteCacheFieldNumber; -const int ExecutionSpec::kEnvsFieldNumber; -const int ExecutionSpec::kTagsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionSpec::ExecutionSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionSpec) -} -ExecutionSpec::ExecutionSpec(const ExecutionSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - tags_(from.tags_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_launch_plan()) { - launch_plan_ = new ::flyteidl::core::Identifier(*from.launch_plan_); - } else { - launch_plan_ = nullptr; - } - if (from.has_inputs()) { - inputs_ = new ::flyteidl::core::LiteralMap(*from.inputs_); - } else { - inputs_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::admin::ExecutionMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - if (from.has_labels()) { - labels_ = new ::flyteidl::admin::Labels(*from.labels_); - } else { - labels_ = nullptr; - } - if (from.has_annotations()) { - annotations_ = new ::flyteidl::admin::Annotations(*from.annotations_); - } else { - annotations_ = nullptr; - } - if (from.has_security_context()) { - security_context_ = new ::flyteidl::core::SecurityContext(*from.security_context_); - } else { - security_context_ = nullptr; - } - if (from.has_auth_role()) { - auth_role_ = new ::flyteidl::admin::AuthRole(*from.auth_role_); - } else { - auth_role_ = nullptr; - } - if (from.has_quality_of_service()) { - quality_of_service_ = new ::flyteidl::core::QualityOfService(*from.quality_of_service_); - } else { - quality_of_service_ = nullptr; - } - if (from.has_raw_output_data_config()) { - raw_output_data_config_ = new ::flyteidl::admin::RawOutputDataConfig(*from.raw_output_data_config_); - } else { - raw_output_data_config_ = nullptr; - } - if (from.has_cluster_assignment()) { - cluster_assignment_ = new ::flyteidl::admin::ClusterAssignment(*from.cluster_assignment_); - } else { - cluster_assignment_ = nullptr; - } - if (from.has_interruptible()) { - interruptible_ = new ::google::protobuf::BoolValue(*from.interruptible_); - } else { - interruptible_ = nullptr; - } - if (from.has_envs()) { - envs_ = new ::flyteidl::admin::Envs(*from.envs_); - } else { - envs_ = nullptr; - } - ::memcpy(&max_parallelism_, &from.max_parallelism_, - static_cast(reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); - clear_has_notification_overrides(); - switch (from.notification_overrides_case()) { - case kNotifications: { - mutable_notifications()->::flyteidl::admin::NotificationList::MergeFrom(from.notifications()); - break; - } - case kDisableAll: { - set_disable_all(from.disable_all()); - break; - } - case NOTIFICATION_OVERRIDES_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionSpec) -} - -void ExecutionSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto.base); - ::memset(&launch_plan_, 0, static_cast( - reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&launch_plan_)) + sizeof(overwrite_cache_)); - clear_has_notification_overrides(); -} - -ExecutionSpec::~ExecutionSpec() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionSpec) - SharedDtor(); -} - -void ExecutionSpec::SharedDtor() { - if (this != internal_default_instance()) delete launch_plan_; - if (this != internal_default_instance()) delete inputs_; - if (this != internal_default_instance()) delete metadata_; - if (this != internal_default_instance()) delete labels_; - if (this != internal_default_instance()) delete annotations_; - if (this != internal_default_instance()) delete security_context_; - if (this != internal_default_instance()) delete auth_role_; - if (this != internal_default_instance()) delete quality_of_service_; - if (this != internal_default_instance()) delete raw_output_data_config_; - if (this != internal_default_instance()) delete cluster_assignment_; - if (this != internal_default_instance()) delete interruptible_; - if (this != internal_default_instance()) delete envs_; - if (has_notification_overrides()) { - clear_notification_overrides(); - } -} - -void ExecutionSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionSpec& ExecutionSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionSpec::clear_notification_overrides() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.ExecutionSpec) - switch (notification_overrides_case()) { - case kNotifications: { - delete notification_overrides_.notifications_; - break; - } - case kDisableAll: { - // No need to clear - break; - } - case NOTIFICATION_OVERRIDES_NOT_SET: { - break; - } - } - _oneof_case_[0] = NOTIFICATION_OVERRIDES_NOT_SET; -} - - -void ExecutionSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tags_.Clear(); - if (GetArenaNoVirtual() == nullptr && launch_plan_ != nullptr) { - delete launch_plan_; - } - launch_plan_ = nullptr; - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; - if (GetArenaNoVirtual() == nullptr && auth_role_ != nullptr) { - delete auth_role_; - } - auth_role_ = nullptr; - if (GetArenaNoVirtual() == nullptr && quality_of_service_ != nullptr) { - delete quality_of_service_; - } - quality_of_service_ = nullptr; - if (GetArenaNoVirtual() == nullptr && raw_output_data_config_ != nullptr) { - delete raw_output_data_config_; - } - raw_output_data_config_ = nullptr; - if (GetArenaNoVirtual() == nullptr && cluster_assignment_ != nullptr) { - delete cluster_assignment_; - } - cluster_assignment_ = nullptr; - if (GetArenaNoVirtual() == nullptr && interruptible_ != nullptr) { - delete interruptible_; - } - interruptible_ = nullptr; - if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { - delete envs_; - } - envs_ = nullptr; - ::memset(&max_parallelism_, 0, static_cast( - reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); - clear_notification_overrides(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionSpec::_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.Identifier launch_plan = 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::Identifier::_InternalParse; - object = msg->mutable_launch_plan(); - 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.LiteralMap inputs = 2 [deprecated = true]; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_inputs(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ExecutionMetadata metadata = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionMetadata::_InternalParse; - object = msg->mutable_metadata(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.NotificationList notifications = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::NotificationList::_InternalParse; - object = msg->mutable_notifications(); - 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; - } - // bool disable_all = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 48) goto handle_unusual; - msg->set_disable_all(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.Labels labels = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Labels::_InternalParse; - object = msg->mutable_labels(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.Annotations annotations = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Annotations::_InternalParse; - object = msg->mutable_annotations(); - 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.SecurityContext security_context = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::SecurityContext::_InternalParse; - object = msg->mutable_security_context(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::AuthRole::_InternalParse; - object = msg->mutable_auth_role(); - 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.QualityOfService quality_of_service = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 138) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::QualityOfService::_InternalParse; - object = msg->mutable_quality_of_service(); - 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; - } - // int32 max_parallelism = 18; - case 18: { - if (static_cast<::google::protobuf::uint8>(tag) != 144) goto handle_unusual; - msg->set_max_parallelism(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - case 19: { - if (static_cast<::google::protobuf::uint8>(tag) != 154) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::RawOutputDataConfig::_InternalParse; - object = msg->mutable_raw_output_data_config(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - case 20: { - if (static_cast<::google::protobuf::uint8>(tag) != 162) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ClusterAssignment::_InternalParse; - object = msg->mutable_cluster_assignment(); - 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; - } - // .google.protobuf.BoolValue interruptible = 21; - case 21: { - if (static_cast<::google::protobuf::uint8>(tag) != 170) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::BoolValue::_InternalParse; - object = msg->mutable_interruptible(); - 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; - } - // bool overwrite_cache = 22; - case 22: { - if (static_cast<::google::protobuf::uint8>(tag) != 176) goto handle_unusual; - msg->set_overwrite_cache(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.Envs envs = 23; - case 23: { - if (static_cast<::google::protobuf::uint8>(tag) != 186) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Envs::_InternalParse; - object = msg->mutable_envs(); - 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; - } - // repeated string tags = 24; - case 24: { - if (static_cast<::google::protobuf::uint8>(tag) != 194) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionSpec.tags"); - object = msg->add_tags(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 65535) == 450 && (ptr += 2)); - 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 ExecutionSpec::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionSpec) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.core.Identifier launch_plan = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_launch_plan())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NotificationList notifications = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_notifications())); - } else { - goto handle_unusual; - } - break; - } - - // bool disable_all = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (48 & 0xFF)) { - clear_notification_overrides(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, ¬ification_overrides_.disable_all_))); - set_has_disable_all(); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Labels labels = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_labels())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Annotations annotations = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_annotations())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SecurityContext security_context = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_security_context())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_auth_role())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.QualityOfService quality_of_service = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (138 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_quality_of_service())); - } else { - goto handle_unusual; - } - break; - } - - // int32 max_parallelism = 18; - case 18: { - if (static_cast< ::google::protobuf::uint8>(tag) == (144 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_parallelism_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - case 19: { - if (static_cast< ::google::protobuf::uint8>(tag) == (154 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_raw_output_data_config())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - case 20: { - if (static_cast< ::google::protobuf::uint8>(tag) == (162 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_cluster_assignment())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.BoolValue interruptible = 21; - case 21: { - if (static_cast< ::google::protobuf::uint8>(tag) == (170 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_interruptible())); - } else { - goto handle_unusual; - } - break; - } - - // bool overwrite_cache = 22; - case 22: { - if (static_cast< ::google::protobuf::uint8>(tag) == (176 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &overwrite_cache_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Envs envs = 23; - case 23: { - if (static_cast< ::google::protobuf::uint8>(tag) == (186 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_envs())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string tags = 24; - case 24: { - if (static_cast< ::google::protobuf::uint8>(tag) == (194 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_tags())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(this->tags_size() - 1).data(), - static_cast(this->tags(this->tags_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionSpec.tags")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier launch_plan = 1; - if (this->has_launch_plan()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::launch_plan(this), output); - } - - // .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::inputs(this), output); - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::metadata(this), output); - } - - // .flyteidl.admin.NotificationList notifications = 5; - if (has_notifications()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::notifications(this), output); - } - - // bool disable_all = 6; - if (has_disable_all()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->disable_all(), output); - } - - // .flyteidl.admin.Labels labels = 7; - if (this->has_labels()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::labels(this), output); - } - - // .flyteidl.admin.Annotations annotations = 8; - if (this->has_annotations()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::annotations(this), output); - } - - // .flyteidl.core.SecurityContext security_context = 10; - if (this->has_security_context()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, HasBitSetters::security_context(this), output); - } - - // .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - if (this->has_auth_role()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 16, HasBitSetters::auth_role(this), output); - } - - // .flyteidl.core.QualityOfService quality_of_service = 17; - if (this->has_quality_of_service()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 17, HasBitSetters::quality_of_service(this), output); - } - - // int32 max_parallelism = 18; - if (this->max_parallelism() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(18, this->max_parallelism(), output); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - if (this->has_raw_output_data_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 19, HasBitSetters::raw_output_data_config(this), output); - } - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - if (this->has_cluster_assignment()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 20, HasBitSetters::cluster_assignment(this), output); - } - - // .google.protobuf.BoolValue interruptible = 21; - if (this->has_interruptible()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 21, HasBitSetters::interruptible(this), output); - } - - // bool overwrite_cache = 22; - if (this->overwrite_cache() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(22, this->overwrite_cache(), output); - } - - // .flyteidl.admin.Envs envs = 23; - if (this->has_envs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 23, HasBitSetters::envs(this), output); - } - - // repeated string tags = 24; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionSpec.tags"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 24, this->tags(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionSpec) -} - -::google::protobuf::uint8* ExecutionSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier launch_plan = 1; - if (this->has_launch_plan()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::launch_plan(this), target); - } - - // .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::inputs(this), target); - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::metadata(this), target); - } - - // .flyteidl.admin.NotificationList notifications = 5; - if (has_notifications()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::notifications(this), target); - } - - // bool disable_all = 6; - if (has_disable_all()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->disable_all(), target); - } - - // .flyteidl.admin.Labels labels = 7; - if (this->has_labels()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::labels(this), target); - } - - // .flyteidl.admin.Annotations annotations = 8; - if (this->has_annotations()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::annotations(this), target); - } - - // .flyteidl.core.SecurityContext security_context = 10; - if (this->has_security_context()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 10, HasBitSetters::security_context(this), target); - } - - // .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - if (this->has_auth_role()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 16, HasBitSetters::auth_role(this), target); - } - - // .flyteidl.core.QualityOfService quality_of_service = 17; - if (this->has_quality_of_service()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 17, HasBitSetters::quality_of_service(this), target); - } - - // int32 max_parallelism = 18; - if (this->max_parallelism() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(18, this->max_parallelism(), target); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - if (this->has_raw_output_data_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 19, HasBitSetters::raw_output_data_config(this), target); - } - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - if (this->has_cluster_assignment()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 20, HasBitSetters::cluster_assignment(this), target); - } - - // .google.protobuf.BoolValue interruptible = 21; - if (this->has_interruptible()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 21, HasBitSetters::interruptible(this), target); - } - - // bool overwrite_cache = 22; - if (this->overwrite_cache() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(22, this->overwrite_cache(), target); - } - - // .flyteidl.admin.Envs envs = 23; - if (this->has_envs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 23, HasBitSetters::envs(this), target); - } - - // repeated string tags = 24; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionSpec.tags"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(24, this->tags(i), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionSpec) - return target; -} - -size_t ExecutionSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionSpec) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string tags = 24; - total_size += 2 * - ::google::protobuf::internal::FromIntSize(this->tags_size()); - for (int i = 0, n = this->tags_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->tags(i)); - } - - // .flyteidl.core.Identifier launch_plan = 1; - if (this->has_launch_plan()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *launch_plan_); - } - - // .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .flyteidl.admin.Labels labels = 7; - if (this->has_labels()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *labels_); - } - - // .flyteidl.admin.Annotations annotations = 8; - if (this->has_annotations()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *annotations_); - } - - // .flyteidl.core.SecurityContext security_context = 10; - if (this->has_security_context()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *security_context_); - } - - // .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - if (this->has_auth_role()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *auth_role_); - } - - // .flyteidl.core.QualityOfService quality_of_service = 17; - if (this->has_quality_of_service()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *quality_of_service_); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - if (this->has_raw_output_data_config()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *raw_output_data_config_); - } - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - if (this->has_cluster_assignment()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *cluster_assignment_); - } - - // .google.protobuf.BoolValue interruptible = 21; - if (this->has_interruptible()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *interruptible_); - } - - // .flyteidl.admin.Envs envs = 23; - if (this->has_envs()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *envs_); - } - - // int32 max_parallelism = 18; - if (this->max_parallelism() != 0) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_parallelism()); - } - - // bool overwrite_cache = 22; - if (this->overwrite_cache() != 0) { - total_size += 2 + 1; - } - - switch (notification_overrides_case()) { - // .flyteidl.admin.NotificationList notifications = 5; - case kNotifications: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *notification_overrides_.notifications_); - break; - } - // bool disable_all = 6; - case kDisableAll: { - total_size += 1 + 1; - break; - } - case NOTIFICATION_OVERRIDES_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionSpec) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionSpec) - MergeFrom(*source); - } -} - -void ExecutionSpec::MergeFrom(const ExecutionSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tags_.MergeFrom(from.tags_); - if (from.has_launch_plan()) { - mutable_launch_plan()->::flyteidl::core::Identifier::MergeFrom(from.launch_plan()); - } - if (from.has_inputs()) { - mutable_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.inputs()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::admin::ExecutionMetadata::MergeFrom(from.metadata()); - } - if (from.has_labels()) { - mutable_labels()->::flyteidl::admin::Labels::MergeFrom(from.labels()); - } - if (from.has_annotations()) { - mutable_annotations()->::flyteidl::admin::Annotations::MergeFrom(from.annotations()); - } - if (from.has_security_context()) { - mutable_security_context()->::flyteidl::core::SecurityContext::MergeFrom(from.security_context()); - } - if (from.has_auth_role()) { - mutable_auth_role()->::flyteidl::admin::AuthRole::MergeFrom(from.auth_role()); - } - if (from.has_quality_of_service()) { - mutable_quality_of_service()->::flyteidl::core::QualityOfService::MergeFrom(from.quality_of_service()); - } - if (from.has_raw_output_data_config()) { - mutable_raw_output_data_config()->::flyteidl::admin::RawOutputDataConfig::MergeFrom(from.raw_output_data_config()); - } - if (from.has_cluster_assignment()) { - mutable_cluster_assignment()->::flyteidl::admin::ClusterAssignment::MergeFrom(from.cluster_assignment()); - } - if (from.has_interruptible()) { - mutable_interruptible()->::google::protobuf::BoolValue::MergeFrom(from.interruptible()); - } - if (from.has_envs()) { - mutable_envs()->::flyteidl::admin::Envs::MergeFrom(from.envs()); - } - if (from.max_parallelism() != 0) { - set_max_parallelism(from.max_parallelism()); - } - if (from.overwrite_cache() != 0) { - set_overwrite_cache(from.overwrite_cache()); - } - switch (from.notification_overrides_case()) { - case kNotifications: { - mutable_notifications()->::flyteidl::admin::NotificationList::MergeFrom(from.notifications()); - break; - } - case kDisableAll: { - set_disable_all(from.disable_all()); - break; - } - case NOTIFICATION_OVERRIDES_NOT_SET: { - break; - } - } -} - -void ExecutionSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionSpec::CopyFrom(const ExecutionSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionSpec::IsInitialized() const { - return true; -} - -void ExecutionSpec::Swap(ExecutionSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionSpec::InternalSwap(ExecutionSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tags_.InternalSwap(CastToBase(&other->tags_)); - swap(launch_plan_, other->launch_plan_); - swap(inputs_, other->inputs_); - swap(metadata_, other->metadata_); - swap(labels_, other->labels_); - swap(annotations_, other->annotations_); - swap(security_context_, other->security_context_); - swap(auth_role_, other->auth_role_); - swap(quality_of_service_, other->quality_of_service_); - swap(raw_output_data_config_, other->raw_output_data_config_); - swap(cluster_assignment_, other->cluster_assignment_); - swap(interruptible_, other->interruptible_); - swap(envs_, other->envs_); - swap(max_parallelism_, other->max_parallelism_); - swap(overwrite_cache_, other->overwrite_cache_); - swap(notification_overrides_, other->notification_overrides_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata ExecutionSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionTerminateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionTerminateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class ExecutionTerminateRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const ExecutionTerminateRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -ExecutionTerminateRequest::HasBitSetters::id(const ExecutionTerminateRequest* msg) { - return *msg->id_; -} -void ExecutionTerminateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionTerminateRequest::kIdFieldNumber; -const int ExecutionTerminateRequest::kCauseFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionTerminateRequest::ExecutionTerminateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionTerminateRequest) -} -ExecutionTerminateRequest::ExecutionTerminateRequest(const ExecutionTerminateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.cause().size() > 0) { - cause_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cause_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionTerminateRequest) -} - -void ExecutionTerminateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionTerminateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - id_ = nullptr; -} - -ExecutionTerminateRequest::~ExecutionTerminateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionTerminateRequest) - SharedDtor(); -} - -void ExecutionTerminateRequest::SharedDtor() { - cause_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; -} - -void ExecutionTerminateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionTerminateRequest& ExecutionTerminateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionTerminateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionTerminateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionTerminateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cause_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionTerminateRequest::_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 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_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 cause = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionTerminateRequest.cause"); - object = msg->mutable_cause(); - 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 ExecutionTerminateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionTerminateRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string cause = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_cause())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cause().data(), static_cast(this->cause().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionTerminateRequest.cause")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionTerminateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionTerminateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionTerminateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionTerminateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string cause = 2; - if (this->cause().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cause().data(), static_cast(this->cause().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionTerminateRequest.cause"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->cause(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionTerminateRequest) -} - -::google::protobuf::uint8* ExecutionTerminateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionTerminateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string cause = 2; - if (this->cause().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cause().data(), static_cast(this->cause().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionTerminateRequest.cause"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->cause(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionTerminateRequest) - return target; -} - -size_t ExecutionTerminateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionTerminateRequest) - 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 cause = 2; - if (this->cause().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->cause()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionTerminateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionTerminateRequest) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionTerminateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionTerminateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionTerminateRequest) - MergeFrom(*source); - } -} - -void ExecutionTerminateRequest::MergeFrom(const ExecutionTerminateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionTerminateRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.cause().size() > 0) { - - cause_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cause_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } -} - -void ExecutionTerminateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionTerminateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionTerminateRequest::CopyFrom(const ExecutionTerminateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionTerminateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionTerminateRequest::IsInitialized() const { - return true; -} - -void ExecutionTerminateRequest::Swap(ExecutionTerminateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionTerminateRequest::InternalSwap(ExecutionTerminateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - cause_.Swap(&other->cause_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); -} - -::google::protobuf::Metadata ExecutionTerminateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionTerminateResponse::InitAsDefaultInstance() { -} -class ExecutionTerminateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionTerminateResponse::ExecutionTerminateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionTerminateResponse) -} -ExecutionTerminateResponse::ExecutionTerminateResponse(const ExecutionTerminateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionTerminateResponse) -} - -void ExecutionTerminateResponse::SharedCtor() { -} - -ExecutionTerminateResponse::~ExecutionTerminateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionTerminateResponse) - SharedDtor(); -} - -void ExecutionTerminateResponse::SharedDtor() { -} - -void ExecutionTerminateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionTerminateResponse& ExecutionTerminateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionTerminateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionTerminateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionTerminateResponse) - ::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* ExecutionTerminateResponse::_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 ExecutionTerminateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionTerminateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionTerminateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionTerminateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionTerminateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionTerminateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionTerminateResponse) -} - -::google::protobuf::uint8* ExecutionTerminateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionTerminateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionTerminateResponse) - return target; -} - -size_t ExecutionTerminateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionTerminateResponse) - 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 ExecutionTerminateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionTerminateResponse) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionTerminateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionTerminateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionTerminateResponse) - MergeFrom(*source); - } -} - -void ExecutionTerminateResponse::MergeFrom(const ExecutionTerminateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionTerminateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ExecutionTerminateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionTerminateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionTerminateResponse::CopyFrom(const ExecutionTerminateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionTerminateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionTerminateResponse::IsInitialized() const { - return true; -} - -void ExecutionTerminateResponse::Swap(ExecutionTerminateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionTerminateResponse::InternalSwap(ExecutionTerminateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ExecutionTerminateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionGetDataRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowExecutionGetDataRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class WorkflowExecutionGetDataRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const WorkflowExecutionGetDataRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -WorkflowExecutionGetDataRequest::HasBitSetters::id(const WorkflowExecutionGetDataRequest* msg) { - return *msg->id_; -} -void WorkflowExecutionGetDataRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionGetDataRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionGetDataRequest::WorkflowExecutionGetDataRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionGetDataRequest) -} -WorkflowExecutionGetDataRequest::WorkflowExecutionGetDataRequest(const WorkflowExecutionGetDataRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionGetDataRequest) -} - -void WorkflowExecutionGetDataRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionGetDataRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - id_ = nullptr; -} - -WorkflowExecutionGetDataRequest::~WorkflowExecutionGetDataRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionGetDataRequest) - SharedDtor(); -} - -void WorkflowExecutionGetDataRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void WorkflowExecutionGetDataRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionGetDataRequest& WorkflowExecutionGetDataRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionGetDataRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionGetDataRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionGetDataRequest::_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 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_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 WorkflowExecutionGetDataRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.WorkflowExecutionGetDataRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionGetDataRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionGetDataRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.WorkflowExecutionGetDataRequest) -} - -::google::protobuf::uint8* WorkflowExecutionGetDataRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.WorkflowExecutionGetDataRequest) - return target; -} - -size_t WorkflowExecutionGetDataRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionGetDataRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionGetDataRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionGetDataRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionGetDataRequest) - MergeFrom(*source); - } -} - -void WorkflowExecutionGetDataRequest::MergeFrom(const WorkflowExecutionGetDataRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - 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_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } -} - -void WorkflowExecutionGetDataRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionGetDataRequest::CopyFrom(const WorkflowExecutionGetDataRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionGetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionGetDataRequest::IsInitialized() const { - return true; -} - -void WorkflowExecutionGetDataRequest::Swap(WorkflowExecutionGetDataRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionGetDataRequest::InternalSwap(WorkflowExecutionGetDataRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata WorkflowExecutionGetDataRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionGetDataResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowExecutionGetDataResponse_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::admin::UrlBlob*>( - ::flyteidl::admin::UrlBlob::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionGetDataResponse_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::admin::UrlBlob*>( - ::flyteidl::admin::UrlBlob::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionGetDataResponse_default_instance_._instance.get_mutable()->full_inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionGetDataResponse_default_instance_._instance.get_mutable()->full_outputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); -} -class WorkflowExecutionGetDataResponse::HasBitSetters { - public: - static const ::flyteidl::admin::UrlBlob& outputs(const WorkflowExecutionGetDataResponse* msg); - static const ::flyteidl::admin::UrlBlob& inputs(const WorkflowExecutionGetDataResponse* msg); - static const ::flyteidl::core::LiteralMap& full_inputs(const WorkflowExecutionGetDataResponse* msg); - static const ::flyteidl::core::LiteralMap& full_outputs(const WorkflowExecutionGetDataResponse* msg); -}; - -const ::flyteidl::admin::UrlBlob& -WorkflowExecutionGetDataResponse::HasBitSetters::outputs(const WorkflowExecutionGetDataResponse* msg) { - return *msg->outputs_; -} -const ::flyteidl::admin::UrlBlob& -WorkflowExecutionGetDataResponse::HasBitSetters::inputs(const WorkflowExecutionGetDataResponse* msg) { - return *msg->inputs_; -} -const ::flyteidl::core::LiteralMap& -WorkflowExecutionGetDataResponse::HasBitSetters::full_inputs(const WorkflowExecutionGetDataResponse* msg) { - return *msg->full_inputs_; -} -const ::flyteidl::core::LiteralMap& -WorkflowExecutionGetDataResponse::HasBitSetters::full_outputs(const WorkflowExecutionGetDataResponse* msg) { - return *msg->full_outputs_; -} -void WorkflowExecutionGetDataResponse::clear_outputs() { - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; -} -void WorkflowExecutionGetDataResponse::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -void WorkflowExecutionGetDataResponse::clear_full_inputs() { - if (GetArenaNoVirtual() == nullptr && full_inputs_ != nullptr) { - delete full_inputs_; - } - full_inputs_ = nullptr; -} -void WorkflowExecutionGetDataResponse::clear_full_outputs() { - if (GetArenaNoVirtual() == nullptr && full_outputs_ != nullptr) { - delete full_outputs_; - } - full_outputs_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionGetDataResponse::kOutputsFieldNumber; -const int WorkflowExecutionGetDataResponse::kInputsFieldNumber; -const int WorkflowExecutionGetDataResponse::kFullInputsFieldNumber; -const int WorkflowExecutionGetDataResponse::kFullOutputsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionGetDataResponse::WorkflowExecutionGetDataResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionGetDataResponse) -} -WorkflowExecutionGetDataResponse::WorkflowExecutionGetDataResponse(const WorkflowExecutionGetDataResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_outputs()) { - outputs_ = new ::flyteidl::admin::UrlBlob(*from.outputs_); - } else { - outputs_ = nullptr; - } - if (from.has_inputs()) { - inputs_ = new ::flyteidl::admin::UrlBlob(*from.inputs_); - } else { - inputs_ = nullptr; - } - if (from.has_full_inputs()) { - full_inputs_ = new ::flyteidl::core::LiteralMap(*from.full_inputs_); - } else { - full_inputs_ = nullptr; - } - if (from.has_full_outputs()) { - full_outputs_ = new ::flyteidl::core::LiteralMap(*from.full_outputs_); - } else { - full_outputs_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionGetDataResponse) -} - -void WorkflowExecutionGetDataResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionGetDataResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - ::memset(&outputs_, 0, static_cast( - reinterpret_cast(&full_outputs_) - - reinterpret_cast(&outputs_)) + sizeof(full_outputs_)); -} - -WorkflowExecutionGetDataResponse::~WorkflowExecutionGetDataResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionGetDataResponse) - SharedDtor(); -} - -void WorkflowExecutionGetDataResponse::SharedDtor() { - if (this != internal_default_instance()) delete outputs_; - if (this != internal_default_instance()) delete inputs_; - if (this != internal_default_instance()) delete full_inputs_; - if (this != internal_default_instance()) delete full_outputs_; -} - -void WorkflowExecutionGetDataResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionGetDataResponse& WorkflowExecutionGetDataResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionGetDataResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionGetDataResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && full_inputs_ != nullptr) { - delete full_inputs_; - } - full_inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && full_outputs_ != nullptr) { - delete full_outputs_; - } - full_outputs_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionGetDataResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::UrlBlob::_InternalParse; - object = msg->mutable_outputs(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::UrlBlob::_InternalParse; - object = msg->mutable_inputs(); - 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.LiteralMap full_inputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_full_inputs(); - 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.LiteralMap full_outputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_full_outputs(); - 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 WorkflowExecutionGetDataResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_full_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_full_outputs())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionGetDataResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionGetDataResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionGetDataResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - if (this->has_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::outputs(this), output); - } - - // .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::inputs(this), output); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::full_inputs(this), output); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::full_outputs(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionGetDataResponse) -} - -::google::protobuf::uint8* WorkflowExecutionGetDataResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - if (this->has_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::outputs(this), target); - } - - // .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::inputs(this), target); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::full_inputs(this), target); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::full_outputs(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionGetDataResponse) - return target; -} - -size_t WorkflowExecutionGetDataResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - if (this->has_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *outputs_); - } - - // .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *full_inputs_); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *full_outputs_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionGetDataResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionGetDataResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionGetDataResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionGetDataResponse) - MergeFrom(*source); - } -} - -void WorkflowExecutionGetDataResponse::MergeFrom(const WorkflowExecutionGetDataResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - 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_outputs()) { - mutable_outputs()->::flyteidl::admin::UrlBlob::MergeFrom(from.outputs()); - } - if (from.has_inputs()) { - mutable_inputs()->::flyteidl::admin::UrlBlob::MergeFrom(from.inputs()); - } - if (from.has_full_inputs()) { - mutable_full_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.full_inputs()); - } - if (from.has_full_outputs()) { - mutable_full_outputs()->::flyteidl::core::LiteralMap::MergeFrom(from.full_outputs()); - } -} - -void WorkflowExecutionGetDataResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionGetDataResponse::CopyFrom(const WorkflowExecutionGetDataResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionGetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionGetDataResponse::IsInitialized() const { - return true; -} - -void WorkflowExecutionGetDataResponse::Swap(WorkflowExecutionGetDataResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionGetDataResponse::InternalSwap(WorkflowExecutionGetDataResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(outputs_, other->outputs_); - swap(inputs_, other->inputs_); - swap(full_inputs_, other->full_inputs_); - swap(full_outputs_, other->full_outputs_); -} - -::google::protobuf::Metadata WorkflowExecutionGetDataResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionUpdateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionUpdateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class ExecutionUpdateRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const ExecutionUpdateRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -ExecutionUpdateRequest::HasBitSetters::id(const ExecutionUpdateRequest* msg) { - return *msg->id_; -} -void ExecutionUpdateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionUpdateRequest::kIdFieldNumber; -const int ExecutionUpdateRequest::kStateFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionUpdateRequest::ExecutionUpdateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionUpdateRequest) -} -ExecutionUpdateRequest::ExecutionUpdateRequest(const ExecutionUpdateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - state_ = from.state_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionUpdateRequest) -} - -void ExecutionUpdateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionUpdateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&state_) - - reinterpret_cast(&id_)) + sizeof(state_)); -} - -ExecutionUpdateRequest::~ExecutionUpdateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionUpdateRequest) - SharedDtor(); -} - -void ExecutionUpdateRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void ExecutionUpdateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionUpdateRequest& ExecutionUpdateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionUpdateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - state_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionUpdateRequest::_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 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_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.admin.ExecutionState state = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_state(static_cast<::flyteidl::admin::ExecutionState>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 ExecutionUpdateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionUpdateRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionState state = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_state(static_cast< ::flyteidl::admin::ExecutionState >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionUpdateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionUpdateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionUpdateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.ExecutionState state = 2; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->state(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionUpdateRequest) -} - -::google::protobuf::uint8* ExecutionUpdateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.ExecutionState state = 2; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->state(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionUpdateRequest) - return target; -} - -size_t ExecutionUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionUpdateRequest) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.ExecutionState state = 2; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionUpdateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionUpdateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionUpdateRequest) - MergeFrom(*source); - } -} - -void ExecutionUpdateRequest::MergeFrom(const ExecutionUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionUpdateRequest) - 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_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } - if (from.state() != 0) { - set_state(from.state()); - } -} - -void ExecutionUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionUpdateRequest::CopyFrom(const ExecutionUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionUpdateRequest::IsInitialized() const { - return true; -} - -void ExecutionUpdateRequest::Swap(ExecutionUpdateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionUpdateRequest::InternalSwap(ExecutionUpdateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(state_, other->state_); -} - -::google::protobuf::Metadata ExecutionUpdateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionStateChangeDetails::InitAsDefaultInstance() { - ::flyteidl::admin::_ExecutionStateChangeDetails_default_instance_._instance.get_mutable()->occurred_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class ExecutionStateChangeDetails::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& occurred_at(const ExecutionStateChangeDetails* msg); -}; - -const ::google::protobuf::Timestamp& -ExecutionStateChangeDetails::HasBitSetters::occurred_at(const ExecutionStateChangeDetails* msg) { - return *msg->occurred_at_; -} -void ExecutionStateChangeDetails::clear_occurred_at() { - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionStateChangeDetails::kStateFieldNumber; -const int ExecutionStateChangeDetails::kOccurredAtFieldNumber; -const int ExecutionStateChangeDetails::kPrincipalFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionStateChangeDetails::ExecutionStateChangeDetails() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionStateChangeDetails) -} -ExecutionStateChangeDetails::ExecutionStateChangeDetails(const ExecutionStateChangeDetails& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.principal().size() > 0) { - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_occurred_at()) { - occurred_at_ = new ::google::protobuf::Timestamp(*from.occurred_at_); - } else { - occurred_at_ = nullptr; - } - state_ = from.state_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionStateChangeDetails) -} - -void ExecutionStateChangeDetails::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto.base); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&occurred_at_, 0, static_cast( - reinterpret_cast(&state_) - - reinterpret_cast(&occurred_at_)) + sizeof(state_)); -} - -ExecutionStateChangeDetails::~ExecutionStateChangeDetails() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionStateChangeDetails) - SharedDtor(); -} - -void ExecutionStateChangeDetails::SharedDtor() { - principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete occurred_at_; -} - -void ExecutionStateChangeDetails::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionStateChangeDetails& ExecutionStateChangeDetails::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionStateChangeDetails::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionStateChangeDetails) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; - state_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionStateChangeDetails::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.ExecutionState state = 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_state(static_cast<::flyteidl::admin::ExecutionState>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Timestamp occurred_at = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_occurred_at(); - 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 principal = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionStateChangeDetails.principal"); - object = msg->mutable_principal(); - 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 ExecutionStateChangeDetails::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionStateChangeDetails) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.ExecutionState state = 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_state(static_cast< ::flyteidl::admin::ExecutionState >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp occurred_at = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_occurred_at())); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_principal())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionStateChangeDetails.principal")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionStateChangeDetails) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionStateChangeDetails) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionStateChangeDetails::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionStateChangeDetails) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ExecutionState state = 1; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->state(), output); - } - - // .google.protobuf.Timestamp occurred_at = 2; - if (this->has_occurred_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::occurred_at(this), output); - } - - // string principal = 3; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionStateChangeDetails.principal"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->principal(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionStateChangeDetails) -} - -::google::protobuf::uint8* ExecutionStateChangeDetails::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionStateChangeDetails) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ExecutionState state = 1; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->state(), target); - } - - // .google.protobuf.Timestamp occurred_at = 2; - if (this->has_occurred_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::occurred_at(this), target); - } - - // string principal = 3; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionStateChangeDetails.principal"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->principal(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionStateChangeDetails) - return target; -} - -size_t ExecutionStateChangeDetails::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionStateChangeDetails) - 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 principal = 3; - if (this->principal().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->principal()); - } - - // .google.protobuf.Timestamp occurred_at = 2; - if (this->has_occurred_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *occurred_at_); - } - - // .flyteidl.admin.ExecutionState state = 1; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionStateChangeDetails::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionStateChangeDetails) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionStateChangeDetails* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionStateChangeDetails) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionStateChangeDetails) - MergeFrom(*source); - } -} - -void ExecutionStateChangeDetails::MergeFrom(const ExecutionStateChangeDetails& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionStateChangeDetails) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.principal().size() > 0) { - - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_occurred_at()) { - mutable_occurred_at()->::google::protobuf::Timestamp::MergeFrom(from.occurred_at()); - } - if (from.state() != 0) { - set_state(from.state()); - } -} - -void ExecutionStateChangeDetails::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionStateChangeDetails) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionStateChangeDetails::CopyFrom(const ExecutionStateChangeDetails& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionStateChangeDetails) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionStateChangeDetails::IsInitialized() const { - return true; -} - -void ExecutionStateChangeDetails::Swap(ExecutionStateChangeDetails* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionStateChangeDetails::InternalSwap(ExecutionStateChangeDetails* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(occurred_at_, other->occurred_at_); - swap(state_, other->state_); -} - -::google::protobuf::Metadata ExecutionStateChangeDetails::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionUpdateResponse::InitAsDefaultInstance() { -} -class ExecutionUpdateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionUpdateResponse::ExecutionUpdateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionUpdateResponse) -} -ExecutionUpdateResponse::ExecutionUpdateResponse(const ExecutionUpdateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionUpdateResponse) -} - -void ExecutionUpdateResponse::SharedCtor() { -} - -ExecutionUpdateResponse::~ExecutionUpdateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionUpdateResponse) - SharedDtor(); -} - -void ExecutionUpdateResponse::SharedDtor() { -} - -void ExecutionUpdateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionUpdateResponse& ExecutionUpdateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionUpdateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionUpdateResponse) - ::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* ExecutionUpdateResponse::_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 ExecutionUpdateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionUpdateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionUpdateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionUpdateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionUpdateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionUpdateResponse) -} - -::google::protobuf::uint8* ExecutionUpdateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionUpdateResponse) - return target; -} - -size_t ExecutionUpdateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionUpdateResponse) - 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 ExecutionUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionUpdateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionUpdateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionUpdateResponse) - MergeFrom(*source); - } -} - -void ExecutionUpdateResponse::MergeFrom(const ExecutionUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ExecutionUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionUpdateResponse::CopyFrom(const ExecutionUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionUpdateResponse::IsInitialized() const { - return true; -} - -void ExecutionUpdateResponse::Swap(ExecutionUpdateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionUpdateResponse::InternalSwap(ExecutionUpdateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ExecutionUpdateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionGetMetricsRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowExecutionGetMetricsRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class WorkflowExecutionGetMetricsRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const WorkflowExecutionGetMetricsRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -WorkflowExecutionGetMetricsRequest::HasBitSetters::id(const WorkflowExecutionGetMetricsRequest* msg) { - return *msg->id_; -} -void WorkflowExecutionGetMetricsRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionGetMetricsRequest::kIdFieldNumber; -const int WorkflowExecutionGetMetricsRequest::kDepthFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionGetMetricsRequest::WorkflowExecutionGetMetricsRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionGetMetricsRequest) -} -WorkflowExecutionGetMetricsRequest::WorkflowExecutionGetMetricsRequest(const WorkflowExecutionGetMetricsRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - depth_ = from.depth_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionGetMetricsRequest) -} - -void WorkflowExecutionGetMetricsRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&depth_) - - reinterpret_cast(&id_)) + sizeof(depth_)); -} - -WorkflowExecutionGetMetricsRequest::~WorkflowExecutionGetMetricsRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - SharedDtor(); -} - -void WorkflowExecutionGetMetricsRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void WorkflowExecutionGetMetricsRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionGetMetricsRequest& WorkflowExecutionGetMetricsRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionGetMetricsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - depth_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionGetMetricsRequest::_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 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_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; - } - // int32 depth = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_depth(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 WorkflowExecutionGetMetricsRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // int32 depth = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &depth_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionGetMetricsRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // int32 depth = 2; - if (this->depth() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->depth(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionGetMetricsRequest) -} - -::google::protobuf::uint8* WorkflowExecutionGetMetricsRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // int32 depth = 2; - if (this->depth() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->depth(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - return target; -} - -size_t WorkflowExecutionGetMetricsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // int32 depth = 2; - if (this->depth() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->depth()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionGetMetricsRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionGetMetricsRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - MergeFrom(*source); - } -} - -void WorkflowExecutionGetMetricsRequest::MergeFrom(const WorkflowExecutionGetMetricsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - 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_id()) { - mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); - } - if (from.depth() != 0) { - set_depth(from.depth()); - } -} - -void WorkflowExecutionGetMetricsRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionGetMetricsRequest::CopyFrom(const WorkflowExecutionGetMetricsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionGetMetricsRequest::IsInitialized() const { - return true; -} - -void WorkflowExecutionGetMetricsRequest::Swap(WorkflowExecutionGetMetricsRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionGetMetricsRequest::InternalSwap(WorkflowExecutionGetMetricsRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(depth_, other->depth_); -} - -::google::protobuf::Metadata WorkflowExecutionGetMetricsRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionGetMetricsResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowExecutionGetMetricsResponse_default_instance_._instance.get_mutable()->span_ = const_cast< ::flyteidl::core::Span*>( - ::flyteidl::core::Span::internal_default_instance()); -} -class WorkflowExecutionGetMetricsResponse::HasBitSetters { - public: - static const ::flyteidl::core::Span& span(const WorkflowExecutionGetMetricsResponse* msg); -}; - -const ::flyteidl::core::Span& -WorkflowExecutionGetMetricsResponse::HasBitSetters::span(const WorkflowExecutionGetMetricsResponse* msg) { - return *msg->span_; -} -void WorkflowExecutionGetMetricsResponse::clear_span() { - if (GetArenaNoVirtual() == nullptr && span_ != nullptr) { - delete span_; - } - span_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionGetMetricsResponse::kSpanFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionGetMetricsResponse::WorkflowExecutionGetMetricsResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionGetMetricsResponse) -} -WorkflowExecutionGetMetricsResponse::WorkflowExecutionGetMetricsResponse(const WorkflowExecutionGetMetricsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_span()) { - span_ = new ::flyteidl::core::Span(*from.span_); - } else { - span_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionGetMetricsResponse) -} - -void WorkflowExecutionGetMetricsResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - span_ = nullptr; -} - -WorkflowExecutionGetMetricsResponse::~WorkflowExecutionGetMetricsResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - SharedDtor(); -} - -void WorkflowExecutionGetMetricsResponse::SharedDtor() { - if (this != internal_default_instance()) delete span_; -} - -void WorkflowExecutionGetMetricsResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionGetMetricsResponse& WorkflowExecutionGetMetricsResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionGetMetricsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && span_ != nullptr) { - delete span_; - } - span_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionGetMetricsResponse::_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.Span span = 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::Span::_InternalParse; - object = msg->mutable_span(); - 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 WorkflowExecutionGetMetricsResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - 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.Span span = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_span())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionGetMetricsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Span span = 1; - if (this->has_span()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::span(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionGetMetricsResponse) -} - -::google::protobuf::uint8* WorkflowExecutionGetMetricsResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Span span = 1; - if (this->has_span()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::span(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - return target; -} - -size_t WorkflowExecutionGetMetricsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - 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.Span span = 1; - if (this->has_span()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *span_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionGetMetricsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionGetMetricsResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - MergeFrom(*source); - } -} - -void WorkflowExecutionGetMetricsResponse::MergeFrom(const WorkflowExecutionGetMetricsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - 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_span()) { - mutable_span()->::flyteidl::core::Span::MergeFrom(from.span()); - } -} - -void WorkflowExecutionGetMetricsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionGetMetricsResponse::CopyFrom(const WorkflowExecutionGetMetricsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionGetMetricsResponse::IsInitialized() const { - return true; -} - -void WorkflowExecutionGetMetricsResponse::Swap(WorkflowExecutionGetMetricsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionGetMetricsResponse::InternalSwap(WorkflowExecutionGetMetricsResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(span_, other->span_); -} - -::google::protobuf::Metadata WorkflowExecutionGetMetricsResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionCreateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionRelaunchRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionRelaunchRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionRelaunchRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionRecoverRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionRecoverRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionRecoverRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionCreateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionCreateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Execution* Arena::CreateMaybeMessage< ::flyteidl::admin::Execution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Execution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionList* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LiteralMapBlob* Arena::CreateMaybeMessage< ::flyteidl::admin::LiteralMapBlob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LiteralMapBlob >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::AbortMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::AbortMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::AbortMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionClosure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SystemMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::SystemMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SystemMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NotificationList* Arena::CreateMaybeMessage< ::flyteidl::admin::NotificationList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NotificationList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionSpec >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionTerminateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionTerminateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionTerminateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionTerminateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionTerminateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionTerminateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetDataRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetDataRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetDataRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetDataResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetDataResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetDataResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionUpdateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionUpdateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionStateChangeDetails* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionStateChangeDetails >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionStateChangeDetails >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionUpdateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionUpdateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h deleted file mode 100644 index e98933aa24..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h +++ /dev/null @@ -1,7277 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/execution.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fexecution_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fexecution_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 -#include "flyteidl/admin/cluster_assignment.pb.h" -#include "flyteidl/admin/common.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/artifact_id.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/metrics.pb.h" -#include "flyteidl/core/security.pb.h" -#include -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fexecution_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[23] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto(); -namespace flyteidl { -namespace admin { -class AbortMetadata; -class AbortMetadataDefaultTypeInternal; -extern AbortMetadataDefaultTypeInternal _AbortMetadata_default_instance_; -class Execution; -class ExecutionDefaultTypeInternal; -extern ExecutionDefaultTypeInternal _Execution_default_instance_; -class ExecutionClosure; -class ExecutionClosureDefaultTypeInternal; -extern ExecutionClosureDefaultTypeInternal _ExecutionClosure_default_instance_; -class ExecutionCreateRequest; -class ExecutionCreateRequestDefaultTypeInternal; -extern ExecutionCreateRequestDefaultTypeInternal _ExecutionCreateRequest_default_instance_; -class ExecutionCreateResponse; -class ExecutionCreateResponseDefaultTypeInternal; -extern ExecutionCreateResponseDefaultTypeInternal _ExecutionCreateResponse_default_instance_; -class ExecutionList; -class ExecutionListDefaultTypeInternal; -extern ExecutionListDefaultTypeInternal _ExecutionList_default_instance_; -class ExecutionMetadata; -class ExecutionMetadataDefaultTypeInternal; -extern ExecutionMetadataDefaultTypeInternal _ExecutionMetadata_default_instance_; -class ExecutionRecoverRequest; -class ExecutionRecoverRequestDefaultTypeInternal; -extern ExecutionRecoverRequestDefaultTypeInternal _ExecutionRecoverRequest_default_instance_; -class ExecutionRelaunchRequest; -class ExecutionRelaunchRequestDefaultTypeInternal; -extern ExecutionRelaunchRequestDefaultTypeInternal _ExecutionRelaunchRequest_default_instance_; -class ExecutionSpec; -class ExecutionSpecDefaultTypeInternal; -extern ExecutionSpecDefaultTypeInternal _ExecutionSpec_default_instance_; -class ExecutionStateChangeDetails; -class ExecutionStateChangeDetailsDefaultTypeInternal; -extern ExecutionStateChangeDetailsDefaultTypeInternal _ExecutionStateChangeDetails_default_instance_; -class ExecutionTerminateRequest; -class ExecutionTerminateRequestDefaultTypeInternal; -extern ExecutionTerminateRequestDefaultTypeInternal _ExecutionTerminateRequest_default_instance_; -class ExecutionTerminateResponse; -class ExecutionTerminateResponseDefaultTypeInternal; -extern ExecutionTerminateResponseDefaultTypeInternal _ExecutionTerminateResponse_default_instance_; -class ExecutionUpdateRequest; -class ExecutionUpdateRequestDefaultTypeInternal; -extern ExecutionUpdateRequestDefaultTypeInternal _ExecutionUpdateRequest_default_instance_; -class ExecutionUpdateResponse; -class ExecutionUpdateResponseDefaultTypeInternal; -extern ExecutionUpdateResponseDefaultTypeInternal _ExecutionUpdateResponse_default_instance_; -class LiteralMapBlob; -class LiteralMapBlobDefaultTypeInternal; -extern LiteralMapBlobDefaultTypeInternal _LiteralMapBlob_default_instance_; -class NotificationList; -class NotificationListDefaultTypeInternal; -extern NotificationListDefaultTypeInternal _NotificationList_default_instance_; -class SystemMetadata; -class SystemMetadataDefaultTypeInternal; -extern SystemMetadataDefaultTypeInternal _SystemMetadata_default_instance_; -class WorkflowExecutionGetDataRequest; -class WorkflowExecutionGetDataRequestDefaultTypeInternal; -extern WorkflowExecutionGetDataRequestDefaultTypeInternal _WorkflowExecutionGetDataRequest_default_instance_; -class WorkflowExecutionGetDataResponse; -class WorkflowExecutionGetDataResponseDefaultTypeInternal; -extern WorkflowExecutionGetDataResponseDefaultTypeInternal _WorkflowExecutionGetDataResponse_default_instance_; -class WorkflowExecutionGetMetricsRequest; -class WorkflowExecutionGetMetricsRequestDefaultTypeInternal; -extern WorkflowExecutionGetMetricsRequestDefaultTypeInternal _WorkflowExecutionGetMetricsRequest_default_instance_; -class WorkflowExecutionGetMetricsResponse; -class WorkflowExecutionGetMetricsResponseDefaultTypeInternal; -extern WorkflowExecutionGetMetricsResponseDefaultTypeInternal _WorkflowExecutionGetMetricsResponse_default_instance_; -class WorkflowExecutionGetRequest; -class WorkflowExecutionGetRequestDefaultTypeInternal; -extern WorkflowExecutionGetRequestDefaultTypeInternal _WorkflowExecutionGetRequest_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::AbortMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::AbortMetadata>(Arena*); -template<> ::flyteidl::admin::Execution* Arena::CreateMaybeMessage<::flyteidl::admin::Execution>(Arena*); -template<> ::flyteidl::admin::ExecutionClosure* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionClosure>(Arena*); -template<> ::flyteidl::admin::ExecutionCreateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionCreateRequest>(Arena*); -template<> ::flyteidl::admin::ExecutionCreateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionCreateResponse>(Arena*); -template<> ::flyteidl::admin::ExecutionList* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionList>(Arena*); -template<> ::flyteidl::admin::ExecutionMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionMetadata>(Arena*); -template<> ::flyteidl::admin::ExecutionRecoverRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionRecoverRequest>(Arena*); -template<> ::flyteidl::admin::ExecutionRelaunchRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionRelaunchRequest>(Arena*); -template<> ::flyteidl::admin::ExecutionSpec* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionSpec>(Arena*); -template<> ::flyteidl::admin::ExecutionStateChangeDetails* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionStateChangeDetails>(Arena*); -template<> ::flyteidl::admin::ExecutionTerminateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionTerminateRequest>(Arena*); -template<> ::flyteidl::admin::ExecutionTerminateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionTerminateResponse>(Arena*); -template<> ::flyteidl::admin::ExecutionUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionUpdateRequest>(Arena*); -template<> ::flyteidl::admin::ExecutionUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionUpdateResponse>(Arena*); -template<> ::flyteidl::admin::LiteralMapBlob* Arena::CreateMaybeMessage<::flyteidl::admin::LiteralMapBlob>(Arena*); -template<> ::flyteidl::admin::NotificationList* Arena::CreateMaybeMessage<::flyteidl::admin::NotificationList>(Arena*); -template<> ::flyteidl::admin::SystemMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::SystemMetadata>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionGetDataRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetDataRequest>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionGetDataResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetDataResponse>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetMetricsRequest>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetMetricsResponse>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetRequest>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum ExecutionMetadata_ExecutionMode { - ExecutionMetadata_ExecutionMode_MANUAL = 0, - ExecutionMetadata_ExecutionMode_SCHEDULED = 1, - ExecutionMetadata_ExecutionMode_SYSTEM = 2, - ExecutionMetadata_ExecutionMode_RELAUNCH = 3, - ExecutionMetadata_ExecutionMode_CHILD_WORKFLOW = 4, - ExecutionMetadata_ExecutionMode_RECOVERED = 5, - ExecutionMetadata_ExecutionMode_ExecutionMetadata_ExecutionMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ExecutionMetadata_ExecutionMode_ExecutionMetadata_ExecutionMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ExecutionMetadata_ExecutionMode_IsValid(int value); -const ExecutionMetadata_ExecutionMode ExecutionMetadata_ExecutionMode_ExecutionMode_MIN = ExecutionMetadata_ExecutionMode_MANUAL; -const ExecutionMetadata_ExecutionMode ExecutionMetadata_ExecutionMode_ExecutionMode_MAX = ExecutionMetadata_ExecutionMode_RECOVERED; -const int ExecutionMetadata_ExecutionMode_ExecutionMode_ARRAYSIZE = ExecutionMetadata_ExecutionMode_ExecutionMode_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ExecutionMetadata_ExecutionMode_descriptor(); -inline const ::std::string& ExecutionMetadata_ExecutionMode_Name(ExecutionMetadata_ExecutionMode value) { - return ::google::protobuf::internal::NameOfEnum( - ExecutionMetadata_ExecutionMode_descriptor(), value); -} -inline bool ExecutionMetadata_ExecutionMode_Parse( - const ::std::string& name, ExecutionMetadata_ExecutionMode* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ExecutionMetadata_ExecutionMode_descriptor(), name, value); -} -enum ExecutionState { - EXECUTION_ACTIVE = 0, - EXECUTION_ARCHIVED = 1, - ExecutionState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ExecutionState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ExecutionState_IsValid(int value); -const ExecutionState ExecutionState_MIN = EXECUTION_ACTIVE; -const ExecutionState ExecutionState_MAX = EXECUTION_ARCHIVED; -const int ExecutionState_ARRAYSIZE = ExecutionState_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ExecutionState_descriptor(); -inline const ::std::string& ExecutionState_Name(ExecutionState value) { - return ::google::protobuf::internal::NameOfEnum( - ExecutionState_descriptor(), value); -} -inline bool ExecutionState_Parse( - const ::std::string& name, ExecutionState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ExecutionState_descriptor(), name, value); -} -// =================================================================== - -class ExecutionCreateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionCreateRequest) */ { - public: - ExecutionCreateRequest(); - virtual ~ExecutionCreateRequest(); - - ExecutionCreateRequest(const ExecutionCreateRequest& from); - - inline ExecutionCreateRequest& operator=(const ExecutionCreateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionCreateRequest(ExecutionCreateRequest&& from) noexcept - : ExecutionCreateRequest() { - *this = ::std::move(from); - } - - inline ExecutionCreateRequest& operator=(ExecutionCreateRequest&& 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 ExecutionCreateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_ExecutionCreateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ExecutionCreateRequest* other); - friend void swap(ExecutionCreateRequest& a, ExecutionCreateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionCreateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionCreateRequest* 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 ExecutionCreateRequest& from); - void MergeFrom(const ExecutionCreateRequest& 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(ExecutionCreateRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string name = 3; - void clear_name(); - static const int kNameFieldNumber = 3; - 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 org = 6; - void clear_org(); - static const int kOrgFieldNumber = 6; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.ExecutionSpec spec = 4; - bool has_spec() const; - void clear_spec(); - static const int kSpecFieldNumber = 4; - const ::flyteidl::admin::ExecutionSpec& spec() const; - ::flyteidl::admin::ExecutionSpec* release_spec(); - ::flyteidl::admin::ExecutionSpec* mutable_spec(); - void set_allocated_spec(::flyteidl::admin::ExecutionSpec* spec); - - // .flyteidl.core.LiteralMap inputs = 5; - bool has_inputs() const; - void clear_inputs(); - static const int kInputsFieldNumber = 5; - const ::flyteidl::core::LiteralMap& inputs() const; - ::flyteidl::core::LiteralMap* release_inputs(); - ::flyteidl::core::LiteralMap* mutable_inputs(); - void set_allocated_inputs(::flyteidl::core::LiteralMap* inputs); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionCreateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::ExecutionSpec* spec_; - ::flyteidl::core::LiteralMap* inputs_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionRelaunchRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionRelaunchRequest) */ { - public: - ExecutionRelaunchRequest(); - virtual ~ExecutionRelaunchRequest(); - - ExecutionRelaunchRequest(const ExecutionRelaunchRequest& from); - - inline ExecutionRelaunchRequest& operator=(const ExecutionRelaunchRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionRelaunchRequest(ExecutionRelaunchRequest&& from) noexcept - : ExecutionRelaunchRequest() { - *this = ::std::move(from); - } - - inline ExecutionRelaunchRequest& operator=(ExecutionRelaunchRequest&& 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 ExecutionRelaunchRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionRelaunchRequest* internal_default_instance() { - return reinterpret_cast( - &_ExecutionRelaunchRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(ExecutionRelaunchRequest* other); - friend void swap(ExecutionRelaunchRequest& a, ExecutionRelaunchRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionRelaunchRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionRelaunchRequest* 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 ExecutionRelaunchRequest& from); - void MergeFrom(const ExecutionRelaunchRequest& 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(ExecutionRelaunchRequest* 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 name = 3; - void clear_name(); - static const int kNameFieldNumber = 3; - 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.WorkflowExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // bool overwrite_cache = 4; - void clear_overwrite_cache(); - static const int kOverwriteCacheFieldNumber = 4; - bool overwrite_cache() const; - void set_overwrite_cache(bool value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionRelaunchRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - bool overwrite_cache_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionRecoverRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionRecoverRequest) */ { - public: - ExecutionRecoverRequest(); - virtual ~ExecutionRecoverRequest(); - - ExecutionRecoverRequest(const ExecutionRecoverRequest& from); - - inline ExecutionRecoverRequest& operator=(const ExecutionRecoverRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionRecoverRequest(ExecutionRecoverRequest&& from) noexcept - : ExecutionRecoverRequest() { - *this = ::std::move(from); - } - - inline ExecutionRecoverRequest& operator=(ExecutionRecoverRequest&& 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 ExecutionRecoverRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionRecoverRequest* internal_default_instance() { - return reinterpret_cast( - &_ExecutionRecoverRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(ExecutionRecoverRequest* other); - friend void swap(ExecutionRecoverRequest& a, ExecutionRecoverRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionRecoverRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionRecoverRequest* 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 ExecutionRecoverRequest& from); - void MergeFrom(const ExecutionRecoverRequest& 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(ExecutionRecoverRequest* 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 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); - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 3; - const ::flyteidl::admin::ExecutionMetadata& metadata() const; - ::flyteidl::admin::ExecutionMetadata* release_metadata(); - ::flyteidl::admin::ExecutionMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::admin::ExecutionMetadata* metadata); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionRecoverRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - ::flyteidl::admin::ExecutionMetadata* metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionCreateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionCreateResponse) */ { - public: - ExecutionCreateResponse(); - virtual ~ExecutionCreateResponse(); - - ExecutionCreateResponse(const ExecutionCreateResponse& from); - - inline ExecutionCreateResponse& operator=(const ExecutionCreateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionCreateResponse(ExecutionCreateResponse&& from) noexcept - : ExecutionCreateResponse() { - *this = ::std::move(from); - } - - inline ExecutionCreateResponse& operator=(ExecutionCreateResponse&& 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 ExecutionCreateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionCreateResponse* internal_default_instance() { - return reinterpret_cast( - &_ExecutionCreateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ExecutionCreateResponse* other); - friend void swap(ExecutionCreateResponse& a, ExecutionCreateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionCreateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionCreateResponse* 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 ExecutionCreateResponse& from); - void MergeFrom(const ExecutionCreateResponse& 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(ExecutionCreateResponse* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionCreateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionGetRequest) */ { - public: - WorkflowExecutionGetRequest(); - virtual ~WorkflowExecutionGetRequest(); - - WorkflowExecutionGetRequest(const WorkflowExecutionGetRequest& from); - - inline WorkflowExecutionGetRequest& operator=(const WorkflowExecutionGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionGetRequest(WorkflowExecutionGetRequest&& from) noexcept - : WorkflowExecutionGetRequest() { - *this = ::std::move(from); - } - - inline WorkflowExecutionGetRequest& operator=(WorkflowExecutionGetRequest&& 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 WorkflowExecutionGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionGetRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(WorkflowExecutionGetRequest* other); - friend void swap(WorkflowExecutionGetRequest& a, WorkflowExecutionGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionGetRequest* 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 WorkflowExecutionGetRequest& from); - void MergeFrom(const WorkflowExecutionGetRequest& 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(WorkflowExecutionGetRequest* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class Execution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Execution) */ { - public: - Execution(); - virtual ~Execution(); - - Execution(const Execution& from); - - inline Execution& operator=(const Execution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Execution(Execution&& from) noexcept - : Execution() { - *this = ::std::move(from); - } - - inline Execution& operator=(Execution&& 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 Execution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Execution* internal_default_instance() { - return reinterpret_cast( - &_Execution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(Execution* other); - friend void swap(Execution& a, Execution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Execution* New() const final { - return CreateMaybeMessage(nullptr); - } - - Execution* 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 Execution& from); - void MergeFrom(const Execution& 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(Execution* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // .flyteidl.admin.ExecutionSpec spec = 2; - bool has_spec() const; - void clear_spec(); - static const int kSpecFieldNumber = 2; - const ::flyteidl::admin::ExecutionSpec& spec() const; - ::flyteidl::admin::ExecutionSpec* release_spec(); - ::flyteidl::admin::ExecutionSpec* mutable_spec(); - void set_allocated_spec(::flyteidl::admin::ExecutionSpec* spec); - - // .flyteidl.admin.ExecutionClosure closure = 3; - bool has_closure() const; - void clear_closure(); - static const int kClosureFieldNumber = 3; - const ::flyteidl::admin::ExecutionClosure& closure() const; - ::flyteidl::admin::ExecutionClosure* release_closure(); - ::flyteidl::admin::ExecutionClosure* mutable_closure(); - void set_allocated_closure(::flyteidl::admin::ExecutionClosure* closure); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Execution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - ::flyteidl::admin::ExecutionSpec* spec_; - ::flyteidl::admin::ExecutionClosure* closure_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionList) */ { - public: - ExecutionList(); - virtual ~ExecutionList(); - - ExecutionList(const ExecutionList& from); - - inline ExecutionList& operator=(const ExecutionList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionList(ExecutionList&& from) noexcept - : ExecutionList() { - *this = ::std::move(from); - } - - inline ExecutionList& operator=(ExecutionList&& 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 ExecutionList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionList* internal_default_instance() { - return reinterpret_cast( - &_ExecutionList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(ExecutionList* other); - friend void swap(ExecutionList& a, ExecutionList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionList* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionList* 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 ExecutionList& from); - void MergeFrom(const ExecutionList& 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(ExecutionList* 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.admin.Execution executions = 1; - int executions_size() const; - void clear_executions(); - static const int kExecutionsFieldNumber = 1; - ::flyteidl::admin::Execution* mutable_executions(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Execution >* - mutable_executions(); - const ::flyteidl::admin::Execution& executions(int index) const; - ::flyteidl::admin::Execution* add_executions(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Execution >& - executions() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Execution > executions_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class LiteralMapBlob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LiteralMapBlob) */ { - public: - LiteralMapBlob(); - virtual ~LiteralMapBlob(); - - LiteralMapBlob(const LiteralMapBlob& from); - - inline LiteralMapBlob& operator=(const LiteralMapBlob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LiteralMapBlob(LiteralMapBlob&& from) noexcept - : LiteralMapBlob() { - *this = ::std::move(from); - } - - inline LiteralMapBlob& operator=(LiteralMapBlob&& 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 LiteralMapBlob& default_instance(); - - enum DataCase { - kValues = 1, - kUri = 2, - DATA_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LiteralMapBlob* internal_default_instance() { - return reinterpret_cast( - &_LiteralMapBlob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(LiteralMapBlob* other); - friend void swap(LiteralMapBlob& a, LiteralMapBlob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LiteralMapBlob* New() const final { - return CreateMaybeMessage(nullptr); - } - - LiteralMapBlob* 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 LiteralMapBlob& from); - void MergeFrom(const LiteralMapBlob& 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(LiteralMapBlob* 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.LiteralMap values = 1 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_values() const; - PROTOBUF_DEPRECATED void clear_values(); - PROTOBUF_DEPRECATED static const int kValuesFieldNumber = 1; - PROTOBUF_DEPRECATED const ::flyteidl::core::LiteralMap& values() const; - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* release_values(); - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* mutable_values(); - PROTOBUF_DEPRECATED void set_allocated_values(::flyteidl::core::LiteralMap* values); - - // string uri = 2; - private: - bool has_uri() const; - public: - void clear_uri(); - static const int kUriFieldNumber = 2; - const ::std::string& uri() const; - void set_uri(const ::std::string& value); - #if LANG_CXX11 - void set_uri(::std::string&& value); - #endif - void set_uri(const char* value); - void set_uri(const char* value, size_t size); - ::std::string* mutable_uri(); - ::std::string* release_uri(); - void set_allocated_uri(::std::string* uri); - - void clear_data(); - DataCase data_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.LiteralMapBlob) - private: - class HasBitSetters; - void set_has_values(); - void set_has_uri(); - - inline bool has_data() const; - inline void clear_has_data(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union DataUnion { - DataUnion() {} - ::flyteidl::core::LiteralMap* values_; - ::google::protobuf::internal::ArenaStringPtr uri_; - } data_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class AbortMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.AbortMetadata) */ { - public: - AbortMetadata(); - virtual ~AbortMetadata(); - - AbortMetadata(const AbortMetadata& from); - - inline AbortMetadata& operator=(const AbortMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AbortMetadata(AbortMetadata&& from) noexcept - : AbortMetadata() { - *this = ::std::move(from); - } - - inline AbortMetadata& operator=(AbortMetadata&& 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 AbortMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AbortMetadata* internal_default_instance() { - return reinterpret_cast( - &_AbortMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(AbortMetadata* other); - friend void swap(AbortMetadata& a, AbortMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AbortMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - AbortMetadata* 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 AbortMetadata& from); - void MergeFrom(const AbortMetadata& 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(AbortMetadata* 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 cause = 1; - void clear_cause(); - static const int kCauseFieldNumber = 1; - const ::std::string& cause() const; - void set_cause(const ::std::string& value); - #if LANG_CXX11 - void set_cause(::std::string&& value); - #endif - void set_cause(const char* value); - void set_cause(const char* value, size_t size); - ::std::string* mutable_cause(); - ::std::string* release_cause(); - void set_allocated_cause(::std::string* cause); - - // string principal = 2; - void clear_principal(); - static const int kPrincipalFieldNumber = 2; - const ::std::string& principal() const; - void set_principal(const ::std::string& value); - #if LANG_CXX11 - void set_principal(::std::string&& value); - #endif - void set_principal(const char* value); - void set_principal(const char* value, size_t size); - ::std::string* mutable_principal(); - ::std::string* release_principal(); - void set_allocated_principal(::std::string* principal); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.AbortMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr cause_; - ::google::protobuf::internal::ArenaStringPtr principal_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionClosure) */ { - public: - ExecutionClosure(); - virtual ~ExecutionClosure(); - - ExecutionClosure(const ExecutionClosure& from); - - inline ExecutionClosure& operator=(const ExecutionClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionClosure(ExecutionClosure&& from) noexcept - : ExecutionClosure() { - *this = ::std::move(from); - } - - inline ExecutionClosure& operator=(ExecutionClosure&& 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 ExecutionClosure& default_instance(); - - enum OutputResultCase { - kOutputs = 1, - kError = 2, - kAbortCause = 10, - kAbortMetadata = 12, - kOutputData = 13, - OUTPUT_RESULT_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionClosure* internal_default_instance() { - return reinterpret_cast( - &_ExecutionClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(ExecutionClosure* other); - friend void swap(ExecutionClosure& a, ExecutionClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionClosure* 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 ExecutionClosure& from); - void MergeFrom(const ExecutionClosure& 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(ExecutionClosure* 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.admin.Notification notifications = 9; - int notifications_size() const; - void clear_notifications(); - static const int kNotificationsFieldNumber = 9; - ::flyteidl::admin::Notification* mutable_notifications(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >* - mutable_notifications(); - const ::flyteidl::admin::Notification& notifications(int index) const; - ::flyteidl::admin::Notification* add_notifications(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >& - notifications() const; - - // .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_computed_inputs() const; - PROTOBUF_DEPRECATED void clear_computed_inputs(); - PROTOBUF_DEPRECATED static const int kComputedInputsFieldNumber = 3; - PROTOBUF_DEPRECATED const ::flyteidl::core::LiteralMap& computed_inputs() const; - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* release_computed_inputs(); - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* mutable_computed_inputs(); - PROTOBUF_DEPRECATED void set_allocated_computed_inputs(::flyteidl::core::LiteralMap* computed_inputs); - - // .google.protobuf.Timestamp started_at = 5; - bool has_started_at() const; - void clear_started_at(); - static const int kStartedAtFieldNumber = 5; - const ::google::protobuf::Timestamp& started_at() const; - ::google::protobuf::Timestamp* release_started_at(); - ::google::protobuf::Timestamp* mutable_started_at(); - void set_allocated_started_at(::google::protobuf::Timestamp* started_at); - - // .google.protobuf.Duration duration = 6; - bool has_duration() const; - void clear_duration(); - static const int kDurationFieldNumber = 6; - const ::google::protobuf::Duration& duration() const; - ::google::protobuf::Duration* release_duration(); - ::google::protobuf::Duration* mutable_duration(); - void set_allocated_duration(::google::protobuf::Duration* duration); - - // .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); - - // .google.protobuf.Timestamp updated_at = 8; - bool has_updated_at() const; - void clear_updated_at(); - static const int kUpdatedAtFieldNumber = 8; - const ::google::protobuf::Timestamp& updated_at() const; - ::google::protobuf::Timestamp* release_updated_at(); - ::google::protobuf::Timestamp* mutable_updated_at(); - void set_allocated_updated_at(::google::protobuf::Timestamp* updated_at); - - // .flyteidl.core.Identifier workflow_id = 11; - bool has_workflow_id() const; - void clear_workflow_id(); - static const int kWorkflowIdFieldNumber = 11; - const ::flyteidl::core::Identifier& workflow_id() const; - ::flyteidl::core::Identifier* release_workflow_id(); - ::flyteidl::core::Identifier* mutable_workflow_id(); - void set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id); - - // .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - bool has_state_change_details() const; - void clear_state_change_details(); - static const int kStateChangeDetailsFieldNumber = 14; - const ::flyteidl::admin::ExecutionStateChangeDetails& state_change_details() const; - ::flyteidl::admin::ExecutionStateChangeDetails* release_state_change_details(); - ::flyteidl::admin::ExecutionStateChangeDetails* mutable_state_change_details(); - void set_allocated_state_change_details(::flyteidl::admin::ExecutionStateChangeDetails* state_change_details); - - // .flyteidl.core.WorkflowExecution.Phase phase = 4; - void clear_phase(); - static const int kPhaseFieldNumber = 4; - ::flyteidl::core::WorkflowExecution_Phase phase() const; - void set_phase(::flyteidl::core::WorkflowExecution_Phase value); - - // .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_outputs() const; - PROTOBUF_DEPRECATED void clear_outputs(); - PROTOBUF_DEPRECATED static const int kOutputsFieldNumber = 1; - PROTOBUF_DEPRECATED const ::flyteidl::admin::LiteralMapBlob& outputs() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::LiteralMapBlob* release_outputs(); - PROTOBUF_DEPRECATED ::flyteidl::admin::LiteralMapBlob* mutable_outputs(); - PROTOBUF_DEPRECATED void set_allocated_outputs(::flyteidl::admin::LiteralMapBlob* outputs); - - // .flyteidl.core.ExecutionError error = 2; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 2; - const ::flyteidl::core::ExecutionError& error() const; - ::flyteidl::core::ExecutionError* release_error(); - ::flyteidl::core::ExecutionError* mutable_error(); - void set_allocated_error(::flyteidl::core::ExecutionError* error); - - // string abort_cause = 10 [deprecated = true]; - private: - bool has_abort_cause() const; - public: - PROTOBUF_DEPRECATED void clear_abort_cause(); - PROTOBUF_DEPRECATED static const int kAbortCauseFieldNumber = 10; - PROTOBUF_DEPRECATED const ::std::string& abort_cause() const; - PROTOBUF_DEPRECATED void set_abort_cause(const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void set_abort_cause(::std::string&& value); - #endif - PROTOBUF_DEPRECATED void set_abort_cause(const char* value); - PROTOBUF_DEPRECATED void set_abort_cause(const char* value, size_t size); - PROTOBUF_DEPRECATED ::std::string* mutable_abort_cause(); - PROTOBUF_DEPRECATED ::std::string* release_abort_cause(); - PROTOBUF_DEPRECATED void set_allocated_abort_cause(::std::string* abort_cause); - - // .flyteidl.admin.AbortMetadata abort_metadata = 12; - bool has_abort_metadata() const; - void clear_abort_metadata(); - static const int kAbortMetadataFieldNumber = 12; - const ::flyteidl::admin::AbortMetadata& abort_metadata() const; - ::flyteidl::admin::AbortMetadata* release_abort_metadata(); - ::flyteidl::admin::AbortMetadata* mutable_abort_metadata(); - void set_allocated_abort_metadata(::flyteidl::admin::AbortMetadata* abort_metadata); - - // .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_output_data() const; - PROTOBUF_DEPRECATED void clear_output_data(); - PROTOBUF_DEPRECATED static const int kOutputDataFieldNumber = 13; - PROTOBUF_DEPRECATED const ::flyteidl::core::LiteralMap& output_data() const; - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* release_output_data(); - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* mutable_output_data(); - PROTOBUF_DEPRECATED void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - void clear_output_result(); - OutputResultCase output_result_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionClosure) - private: - class HasBitSetters; - void set_has_outputs(); - void set_has_error(); - void set_has_abort_cause(); - void set_has_abort_metadata(); - void set_has_output_data(); - - inline bool has_output_result() const; - inline void clear_has_output_result(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification > notifications_; - ::flyteidl::core::LiteralMap* computed_inputs_; - ::google::protobuf::Timestamp* started_at_; - ::google::protobuf::Duration* duration_; - ::google::protobuf::Timestamp* created_at_; - ::google::protobuf::Timestamp* updated_at_; - ::flyteidl::core::Identifier* workflow_id_; - ::flyteidl::admin::ExecutionStateChangeDetails* state_change_details_; - int phase_; - union OutputResultUnion { - OutputResultUnion() {} - ::flyteidl::admin::LiteralMapBlob* outputs_; - ::flyteidl::core::ExecutionError* error_; - ::google::protobuf::internal::ArenaStringPtr abort_cause_; - ::flyteidl::admin::AbortMetadata* abort_metadata_; - ::flyteidl::core::LiteralMap* output_data_; - } output_result_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class SystemMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SystemMetadata) */ { - public: - SystemMetadata(); - virtual ~SystemMetadata(); - - SystemMetadata(const SystemMetadata& from); - - inline SystemMetadata& operator=(const SystemMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SystemMetadata(SystemMetadata&& from) noexcept - : SystemMetadata() { - *this = ::std::move(from); - } - - inline SystemMetadata& operator=(SystemMetadata&& 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 SystemMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SystemMetadata* internal_default_instance() { - return reinterpret_cast( - &_SystemMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(SystemMetadata* other); - friend void swap(SystemMetadata& a, SystemMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SystemMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - SystemMetadata* 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 SystemMetadata& from); - void MergeFrom(const SystemMetadata& 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(SystemMetadata* 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 execution_cluster = 1; - void clear_execution_cluster(); - static const int kExecutionClusterFieldNumber = 1; - const ::std::string& execution_cluster() const; - void set_execution_cluster(const ::std::string& value); - #if LANG_CXX11 - void set_execution_cluster(::std::string&& value); - #endif - void set_execution_cluster(const char* value); - void set_execution_cluster(const char* value, size_t size); - ::std::string* mutable_execution_cluster(); - ::std::string* release_execution_cluster(); - void set_allocated_execution_cluster(::std::string* execution_cluster); - - // string namespace = 2; - void clear_namespace_(); - static const int kNamespaceFieldNumber = 2; - const ::std::string& namespace_() const; - void set_namespace_(const ::std::string& value); - #if LANG_CXX11 - void set_namespace_(::std::string&& value); - #endif - void set_namespace_(const char* value); - void set_namespace_(const char* value, size_t size); - ::std::string* mutable_namespace_(); - ::std::string* release_namespace_(); - void set_allocated_namespace_(::std::string* namespace_); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SystemMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr execution_cluster_; - ::google::protobuf::internal::ArenaStringPtr namespace__; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionMetadata) */ { - public: - ExecutionMetadata(); - virtual ~ExecutionMetadata(); - - ExecutionMetadata(const ExecutionMetadata& from); - - inline ExecutionMetadata& operator=(const ExecutionMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionMetadata(ExecutionMetadata&& from) noexcept - : ExecutionMetadata() { - *this = ::std::move(from); - } - - inline ExecutionMetadata& operator=(ExecutionMetadata&& 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 ExecutionMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionMetadata* internal_default_instance() { - return reinterpret_cast( - &_ExecutionMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(ExecutionMetadata* other); - friend void swap(ExecutionMetadata& a, ExecutionMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionMetadata* 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 ExecutionMetadata& from); - void MergeFrom(const ExecutionMetadata& 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(ExecutionMetadata* 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 ExecutionMetadata_ExecutionMode ExecutionMode; - static const ExecutionMode MANUAL = - ExecutionMetadata_ExecutionMode_MANUAL; - static const ExecutionMode SCHEDULED = - ExecutionMetadata_ExecutionMode_SCHEDULED; - static const ExecutionMode SYSTEM = - ExecutionMetadata_ExecutionMode_SYSTEM; - static const ExecutionMode RELAUNCH = - ExecutionMetadata_ExecutionMode_RELAUNCH; - static const ExecutionMode CHILD_WORKFLOW = - ExecutionMetadata_ExecutionMode_CHILD_WORKFLOW; - static const ExecutionMode RECOVERED = - ExecutionMetadata_ExecutionMode_RECOVERED; - static inline bool ExecutionMode_IsValid(int value) { - return ExecutionMetadata_ExecutionMode_IsValid(value); - } - static const ExecutionMode ExecutionMode_MIN = - ExecutionMetadata_ExecutionMode_ExecutionMode_MIN; - static const ExecutionMode ExecutionMode_MAX = - ExecutionMetadata_ExecutionMode_ExecutionMode_MAX; - static const int ExecutionMode_ARRAYSIZE = - ExecutionMetadata_ExecutionMode_ExecutionMode_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - ExecutionMode_descriptor() { - return ExecutionMetadata_ExecutionMode_descriptor(); - } - static inline const ::std::string& ExecutionMode_Name(ExecutionMode value) { - return ExecutionMetadata_ExecutionMode_Name(value); - } - static inline bool ExecutionMode_Parse(const ::std::string& name, - ExecutionMode* value) { - return ExecutionMetadata_ExecutionMode_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.core.ArtifactID artifact_ids = 18; - int artifact_ids_size() const; - void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 18; - ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* - mutable_artifact_ids(); - const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; - ::flyteidl::core::ArtifactID* add_artifact_ids(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& - artifact_ids() const; - - // string principal = 2; - void clear_principal(); - static const int kPrincipalFieldNumber = 2; - const ::std::string& principal() const; - void set_principal(const ::std::string& value); - #if LANG_CXX11 - void set_principal(::std::string&& value); - #endif - void set_principal(const char* value); - void set_principal(const char* value, size_t size); - ::std::string* mutable_principal(); - ::std::string* release_principal(); - void set_allocated_principal(::std::string* principal); - - // .google.protobuf.Timestamp scheduled_at = 4; - bool has_scheduled_at() const; - void clear_scheduled_at(); - static const int kScheduledAtFieldNumber = 4; - const ::google::protobuf::Timestamp& scheduled_at() const; - ::google::protobuf::Timestamp* release_scheduled_at(); - ::google::protobuf::Timestamp* mutable_scheduled_at(); - void set_allocated_scheduled_at(::google::protobuf::Timestamp* scheduled_at); - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - bool has_parent_node_execution() const; - void clear_parent_node_execution(); - static const int kParentNodeExecutionFieldNumber = 5; - const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution() const; - ::flyteidl::core::NodeExecutionIdentifier* release_parent_node_execution(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_parent_node_execution(); - void set_allocated_parent_node_execution(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution); - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - bool has_reference_execution() const; - void clear_reference_execution(); - static const int kReferenceExecutionFieldNumber = 16; - const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_reference_execution(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_reference_execution(); - void set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution); - - // .flyteidl.admin.SystemMetadata system_metadata = 17; - bool has_system_metadata() const; - void clear_system_metadata(); - static const int kSystemMetadataFieldNumber = 17; - const ::flyteidl::admin::SystemMetadata& system_metadata() const; - ::flyteidl::admin::SystemMetadata* release_system_metadata(); - ::flyteidl::admin::SystemMetadata* mutable_system_metadata(); - void set_allocated_system_metadata(::flyteidl::admin::SystemMetadata* system_metadata); - - // .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - void clear_mode(); - static const int kModeFieldNumber = 1; - ::flyteidl::admin::ExecutionMetadata_ExecutionMode mode() const; - void set_mode(::flyteidl::admin::ExecutionMetadata_ExecutionMode value); - - // uint32 nesting = 3; - void clear_nesting(); - static const int kNestingFieldNumber = 3; - ::google::protobuf::uint32 nesting() const; - void set_nesting(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; - ::google::protobuf::internal::ArenaStringPtr principal_; - ::google::protobuf::Timestamp* scheduled_at_; - ::flyteidl::core::NodeExecutionIdentifier* parent_node_execution_; - ::flyteidl::core::WorkflowExecutionIdentifier* reference_execution_; - ::flyteidl::admin::SystemMetadata* system_metadata_; - int mode_; - ::google::protobuf::uint32 nesting_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NotificationList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NotificationList) */ { - public: - NotificationList(); - virtual ~NotificationList(); - - NotificationList(const NotificationList& from); - - inline NotificationList& operator=(const NotificationList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NotificationList(NotificationList&& from) noexcept - : NotificationList() { - *this = ::std::move(from); - } - - inline NotificationList& operator=(NotificationList&& 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 NotificationList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NotificationList* internal_default_instance() { - return reinterpret_cast( - &_NotificationList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(NotificationList* other); - friend void swap(NotificationList& a, NotificationList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NotificationList* New() const final { - return CreateMaybeMessage(nullptr); - } - - NotificationList* 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 NotificationList& from); - void MergeFrom(const NotificationList& 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(NotificationList* 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.admin.Notification notifications = 1; - int notifications_size() const; - void clear_notifications(); - static const int kNotificationsFieldNumber = 1; - ::flyteidl::admin::Notification* mutable_notifications(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >* - mutable_notifications(); - const ::flyteidl::admin::Notification& notifications(int index) const; - ::flyteidl::admin::Notification* add_notifications(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >& - notifications() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NotificationList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification > notifications_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionSpec) */ { - public: - ExecutionSpec(); - virtual ~ExecutionSpec(); - - ExecutionSpec(const ExecutionSpec& from); - - inline ExecutionSpec& operator=(const ExecutionSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionSpec(ExecutionSpec&& from) noexcept - : ExecutionSpec() { - *this = ::std::move(from); - } - - inline ExecutionSpec& operator=(ExecutionSpec&& 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 ExecutionSpec& default_instance(); - - enum NotificationOverridesCase { - kNotifications = 5, - kDisableAll = 6, - NOTIFICATION_OVERRIDES_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionSpec* internal_default_instance() { - return reinterpret_cast( - &_ExecutionSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - void Swap(ExecutionSpec* other); - friend void swap(ExecutionSpec& a, ExecutionSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionSpec* 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 ExecutionSpec& from); - void MergeFrom(const ExecutionSpec& 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(ExecutionSpec* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string tags = 24; - int tags_size() const; - void clear_tags(); - static const int kTagsFieldNumber = 24; - const ::std::string& tags(int index) const; - ::std::string* mutable_tags(int index); - void set_tags(int index, const ::std::string& value); - #if LANG_CXX11 - void set_tags(int index, ::std::string&& value); - #endif - void set_tags(int index, const char* value); - void set_tags(int index, const char* value, size_t size); - ::std::string* add_tags(); - void add_tags(const ::std::string& value); - #if LANG_CXX11 - void add_tags(::std::string&& value); - #endif - void add_tags(const char* value); - void add_tags(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& tags() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_tags(); - - // .flyteidl.core.Identifier launch_plan = 1; - bool has_launch_plan() const; - void clear_launch_plan(); - static const int kLaunchPlanFieldNumber = 1; - const ::flyteidl::core::Identifier& launch_plan() const; - ::flyteidl::core::Identifier* release_launch_plan(); - ::flyteidl::core::Identifier* mutable_launch_plan(); - void set_allocated_launch_plan(::flyteidl::core::Identifier* launch_plan); - - // .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_inputs() const; - PROTOBUF_DEPRECATED void clear_inputs(); - PROTOBUF_DEPRECATED static const int kInputsFieldNumber = 2; - PROTOBUF_DEPRECATED const ::flyteidl::core::LiteralMap& inputs() const; - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* release_inputs(); - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* mutable_inputs(); - PROTOBUF_DEPRECATED void set_allocated_inputs(::flyteidl::core::LiteralMap* inputs); - - // .flyteidl.admin.ExecutionMetadata metadata = 3; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 3; - const ::flyteidl::admin::ExecutionMetadata& metadata() const; - ::flyteidl::admin::ExecutionMetadata* release_metadata(); - ::flyteidl::admin::ExecutionMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::admin::ExecutionMetadata* metadata); - - // .flyteidl.admin.Labels labels = 7; - bool has_labels() const; - void clear_labels(); - static const int kLabelsFieldNumber = 7; - const ::flyteidl::admin::Labels& labels() const; - ::flyteidl::admin::Labels* release_labels(); - ::flyteidl::admin::Labels* mutable_labels(); - void set_allocated_labels(::flyteidl::admin::Labels* labels); - - // .flyteidl.admin.Annotations annotations = 8; - bool has_annotations() const; - void clear_annotations(); - static const int kAnnotationsFieldNumber = 8; - const ::flyteidl::admin::Annotations& annotations() const; - ::flyteidl::admin::Annotations* release_annotations(); - ::flyteidl::admin::Annotations* mutable_annotations(); - void set_allocated_annotations(::flyteidl::admin::Annotations* annotations); - - // .flyteidl.core.SecurityContext security_context = 10; - bool has_security_context() const; - void clear_security_context(); - static const int kSecurityContextFieldNumber = 10; - const ::flyteidl::core::SecurityContext& security_context() const; - ::flyteidl::core::SecurityContext* release_security_context(); - ::flyteidl::core::SecurityContext* mutable_security_context(); - void set_allocated_security_context(::flyteidl::core::SecurityContext* security_context); - - // .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_auth_role() const; - PROTOBUF_DEPRECATED void clear_auth_role(); - PROTOBUF_DEPRECATED static const int kAuthRoleFieldNumber = 16; - PROTOBUF_DEPRECATED const ::flyteidl::admin::AuthRole& auth_role() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::AuthRole* release_auth_role(); - PROTOBUF_DEPRECATED ::flyteidl::admin::AuthRole* mutable_auth_role(); - PROTOBUF_DEPRECATED void set_allocated_auth_role(::flyteidl::admin::AuthRole* auth_role); - - // .flyteidl.core.QualityOfService quality_of_service = 17; - bool has_quality_of_service() const; - void clear_quality_of_service(); - static const int kQualityOfServiceFieldNumber = 17; - const ::flyteidl::core::QualityOfService& quality_of_service() const; - ::flyteidl::core::QualityOfService* release_quality_of_service(); - ::flyteidl::core::QualityOfService* mutable_quality_of_service(); - void set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service); - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - bool has_raw_output_data_config() const; - void clear_raw_output_data_config(); - static const int kRawOutputDataConfigFieldNumber = 19; - const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config() const; - ::flyteidl::admin::RawOutputDataConfig* release_raw_output_data_config(); - ::flyteidl::admin::RawOutputDataConfig* mutable_raw_output_data_config(); - void set_allocated_raw_output_data_config(::flyteidl::admin::RawOutputDataConfig* raw_output_data_config); - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - bool has_cluster_assignment() const; - void clear_cluster_assignment(); - static const int kClusterAssignmentFieldNumber = 20; - const ::flyteidl::admin::ClusterAssignment& cluster_assignment() const; - ::flyteidl::admin::ClusterAssignment* release_cluster_assignment(); - ::flyteidl::admin::ClusterAssignment* mutable_cluster_assignment(); - void set_allocated_cluster_assignment(::flyteidl::admin::ClusterAssignment* cluster_assignment); - - // .google.protobuf.BoolValue interruptible = 21; - bool has_interruptible() const; - void clear_interruptible(); - static const int kInterruptibleFieldNumber = 21; - const ::google::protobuf::BoolValue& interruptible() const; - ::google::protobuf::BoolValue* release_interruptible(); - ::google::protobuf::BoolValue* mutable_interruptible(); - void set_allocated_interruptible(::google::protobuf::BoolValue* interruptible); - - // .flyteidl.admin.Envs envs = 23; - bool has_envs() const; - void clear_envs(); - static const int kEnvsFieldNumber = 23; - const ::flyteidl::admin::Envs& envs() const; - ::flyteidl::admin::Envs* release_envs(); - ::flyteidl::admin::Envs* mutable_envs(); - void set_allocated_envs(::flyteidl::admin::Envs* envs); - - // int32 max_parallelism = 18; - void clear_max_parallelism(); - static const int kMaxParallelismFieldNumber = 18; - ::google::protobuf::int32 max_parallelism() const; - void set_max_parallelism(::google::protobuf::int32 value); - - // bool overwrite_cache = 22; - void clear_overwrite_cache(); - static const int kOverwriteCacheFieldNumber = 22; - bool overwrite_cache() const; - void set_overwrite_cache(bool value); - - // .flyteidl.admin.NotificationList notifications = 5; - bool has_notifications() const; - void clear_notifications(); - static const int kNotificationsFieldNumber = 5; - const ::flyteidl::admin::NotificationList& notifications() const; - ::flyteidl::admin::NotificationList* release_notifications(); - ::flyteidl::admin::NotificationList* mutable_notifications(); - void set_allocated_notifications(::flyteidl::admin::NotificationList* notifications); - - // bool disable_all = 6; - private: - bool has_disable_all() const; - public: - void clear_disable_all(); - static const int kDisableAllFieldNumber = 6; - bool disable_all() const; - void set_disable_all(bool value); - - void clear_notification_overrides(); - NotificationOverridesCase notification_overrides_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionSpec) - private: - class HasBitSetters; - void set_has_notifications(); - void set_has_disable_all(); - - inline bool has_notification_overrides() const; - inline void clear_has_notification_overrides(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> tags_; - ::flyteidl::core::Identifier* launch_plan_; - ::flyteidl::core::LiteralMap* inputs_; - ::flyteidl::admin::ExecutionMetadata* metadata_; - ::flyteidl::admin::Labels* labels_; - ::flyteidl::admin::Annotations* annotations_; - ::flyteidl::core::SecurityContext* security_context_; - ::flyteidl::admin::AuthRole* auth_role_; - ::flyteidl::core::QualityOfService* quality_of_service_; - ::flyteidl::admin::RawOutputDataConfig* raw_output_data_config_; - ::flyteidl::admin::ClusterAssignment* cluster_assignment_; - ::google::protobuf::BoolValue* interruptible_; - ::flyteidl::admin::Envs* envs_; - ::google::protobuf::int32 max_parallelism_; - bool overwrite_cache_; - union NotificationOverridesUnion { - NotificationOverridesUnion() {} - ::flyteidl::admin::NotificationList* notifications_; - bool disable_all_; - } notification_overrides_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionTerminateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionTerminateRequest) */ { - public: - ExecutionTerminateRequest(); - virtual ~ExecutionTerminateRequest(); - - ExecutionTerminateRequest(const ExecutionTerminateRequest& from); - - inline ExecutionTerminateRequest& operator=(const ExecutionTerminateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionTerminateRequest(ExecutionTerminateRequest&& from) noexcept - : ExecutionTerminateRequest() { - *this = ::std::move(from); - } - - inline ExecutionTerminateRequest& operator=(ExecutionTerminateRequest&& 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 ExecutionTerminateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionTerminateRequest* internal_default_instance() { - return reinterpret_cast( - &_ExecutionTerminateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - void Swap(ExecutionTerminateRequest* other); - friend void swap(ExecutionTerminateRequest& a, ExecutionTerminateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionTerminateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionTerminateRequest* 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 ExecutionTerminateRequest& from); - void MergeFrom(const ExecutionTerminateRequest& 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(ExecutionTerminateRequest* 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 cause = 2; - void clear_cause(); - static const int kCauseFieldNumber = 2; - const ::std::string& cause() const; - void set_cause(const ::std::string& value); - #if LANG_CXX11 - void set_cause(::std::string&& value); - #endif - void set_cause(const char* value); - void set_cause(const char* value, size_t size); - ::std::string* mutable_cause(); - ::std::string* release_cause(); - void set_allocated_cause(::std::string* cause); - - // .flyteidl.core.WorkflowExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionTerminateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr cause_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionTerminateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionTerminateResponse) */ { - public: - ExecutionTerminateResponse(); - virtual ~ExecutionTerminateResponse(); - - ExecutionTerminateResponse(const ExecutionTerminateResponse& from); - - inline ExecutionTerminateResponse& operator=(const ExecutionTerminateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionTerminateResponse(ExecutionTerminateResponse&& from) noexcept - : ExecutionTerminateResponse() { - *this = ::std::move(from); - } - - inline ExecutionTerminateResponse& operator=(ExecutionTerminateResponse&& 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 ExecutionTerminateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionTerminateResponse* internal_default_instance() { - return reinterpret_cast( - &_ExecutionTerminateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - void Swap(ExecutionTerminateResponse* other); - friend void swap(ExecutionTerminateResponse& a, ExecutionTerminateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionTerminateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionTerminateResponse* 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 ExecutionTerminateResponse& from); - void MergeFrom(const ExecutionTerminateResponse& 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(ExecutionTerminateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionTerminateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionGetDataRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionGetDataRequest) */ { - public: - WorkflowExecutionGetDataRequest(); - virtual ~WorkflowExecutionGetDataRequest(); - - WorkflowExecutionGetDataRequest(const WorkflowExecutionGetDataRequest& from); - - inline WorkflowExecutionGetDataRequest& operator=(const WorkflowExecutionGetDataRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionGetDataRequest(WorkflowExecutionGetDataRequest&& from) noexcept - : WorkflowExecutionGetDataRequest() { - *this = ::std::move(from); - } - - inline WorkflowExecutionGetDataRequest& operator=(WorkflowExecutionGetDataRequest&& 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 WorkflowExecutionGetDataRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionGetDataRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionGetDataRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - void Swap(WorkflowExecutionGetDataRequest* other); - friend void swap(WorkflowExecutionGetDataRequest& a, WorkflowExecutionGetDataRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionGetDataRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionGetDataRequest* 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 WorkflowExecutionGetDataRequest& from); - void MergeFrom(const WorkflowExecutionGetDataRequest& 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(WorkflowExecutionGetDataRequest* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetDataRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionGetDataResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionGetDataResponse) */ { - public: - WorkflowExecutionGetDataResponse(); - virtual ~WorkflowExecutionGetDataResponse(); - - WorkflowExecutionGetDataResponse(const WorkflowExecutionGetDataResponse& from); - - inline WorkflowExecutionGetDataResponse& operator=(const WorkflowExecutionGetDataResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionGetDataResponse(WorkflowExecutionGetDataResponse&& from) noexcept - : WorkflowExecutionGetDataResponse() { - *this = ::std::move(from); - } - - inline WorkflowExecutionGetDataResponse& operator=(WorkflowExecutionGetDataResponse&& 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 WorkflowExecutionGetDataResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionGetDataResponse* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionGetDataResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - void Swap(WorkflowExecutionGetDataResponse* other); - friend void swap(WorkflowExecutionGetDataResponse& a, WorkflowExecutionGetDataResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionGetDataResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionGetDataResponse* 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 WorkflowExecutionGetDataResponse& from); - void MergeFrom(const WorkflowExecutionGetDataResponse& 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(WorkflowExecutionGetDataResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_outputs() const; - PROTOBUF_DEPRECATED void clear_outputs(); - PROTOBUF_DEPRECATED static const int kOutputsFieldNumber = 1; - PROTOBUF_DEPRECATED const ::flyteidl::admin::UrlBlob& outputs() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* release_outputs(); - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* mutable_outputs(); - PROTOBUF_DEPRECATED void set_allocated_outputs(::flyteidl::admin::UrlBlob* outputs); - - // .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_inputs() const; - PROTOBUF_DEPRECATED void clear_inputs(); - PROTOBUF_DEPRECATED static const int kInputsFieldNumber = 2; - PROTOBUF_DEPRECATED const ::flyteidl::admin::UrlBlob& inputs() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* release_inputs(); - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* mutable_inputs(); - PROTOBUF_DEPRECATED void set_allocated_inputs(::flyteidl::admin::UrlBlob* inputs); - - // .flyteidl.core.LiteralMap full_inputs = 3; - bool has_full_inputs() const; - void clear_full_inputs(); - static const int kFullInputsFieldNumber = 3; - const ::flyteidl::core::LiteralMap& full_inputs() const; - ::flyteidl::core::LiteralMap* release_full_inputs(); - ::flyteidl::core::LiteralMap* mutable_full_inputs(); - void set_allocated_full_inputs(::flyteidl::core::LiteralMap* full_inputs); - - // .flyteidl.core.LiteralMap full_outputs = 4; - bool has_full_outputs() const; - void clear_full_outputs(); - static const int kFullOutputsFieldNumber = 4; - const ::flyteidl::core::LiteralMap& full_outputs() const; - ::flyteidl::core::LiteralMap* release_full_outputs(); - ::flyteidl::core::LiteralMap* mutable_full_outputs(); - void set_allocated_full_outputs(::flyteidl::core::LiteralMap* full_outputs); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetDataResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::UrlBlob* outputs_; - ::flyteidl::admin::UrlBlob* inputs_; - ::flyteidl::core::LiteralMap* full_inputs_; - ::flyteidl::core::LiteralMap* full_outputs_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionUpdateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionUpdateRequest) */ { - public: - ExecutionUpdateRequest(); - virtual ~ExecutionUpdateRequest(); - - ExecutionUpdateRequest(const ExecutionUpdateRequest& from); - - inline ExecutionUpdateRequest& operator=(const ExecutionUpdateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionUpdateRequest(ExecutionUpdateRequest&& from) noexcept - : ExecutionUpdateRequest() { - *this = ::std::move(from); - } - - inline ExecutionUpdateRequest& operator=(ExecutionUpdateRequest&& 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 ExecutionUpdateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_ExecutionUpdateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - void Swap(ExecutionUpdateRequest* other); - friend void swap(ExecutionUpdateRequest& a, ExecutionUpdateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionUpdateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionUpdateRequest* 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 ExecutionUpdateRequest& from); - void MergeFrom(const ExecutionUpdateRequest& 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(ExecutionUpdateRequest* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // .flyteidl.admin.ExecutionState state = 2; - void clear_state(); - static const int kStateFieldNumber = 2; - ::flyteidl::admin::ExecutionState state() const; - void set_state(::flyteidl::admin::ExecutionState value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionUpdateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - int state_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionStateChangeDetails final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionStateChangeDetails) */ { - public: - ExecutionStateChangeDetails(); - virtual ~ExecutionStateChangeDetails(); - - ExecutionStateChangeDetails(const ExecutionStateChangeDetails& from); - - inline ExecutionStateChangeDetails& operator=(const ExecutionStateChangeDetails& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionStateChangeDetails(ExecutionStateChangeDetails&& from) noexcept - : ExecutionStateChangeDetails() { - *this = ::std::move(from); - } - - inline ExecutionStateChangeDetails& operator=(ExecutionStateChangeDetails&& 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 ExecutionStateChangeDetails& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionStateChangeDetails* internal_default_instance() { - return reinterpret_cast( - &_ExecutionStateChangeDetails_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - void Swap(ExecutionStateChangeDetails* other); - friend void swap(ExecutionStateChangeDetails& a, ExecutionStateChangeDetails& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionStateChangeDetails* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionStateChangeDetails* 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 ExecutionStateChangeDetails& from); - void MergeFrom(const ExecutionStateChangeDetails& 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(ExecutionStateChangeDetails* 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 principal = 3; - void clear_principal(); - static const int kPrincipalFieldNumber = 3; - const ::std::string& principal() const; - void set_principal(const ::std::string& value); - #if LANG_CXX11 - void set_principal(::std::string&& value); - #endif - void set_principal(const char* value); - void set_principal(const char* value, size_t size); - ::std::string* mutable_principal(); - ::std::string* release_principal(); - void set_allocated_principal(::std::string* principal); - - // .google.protobuf.Timestamp occurred_at = 2; - bool has_occurred_at() const; - void clear_occurred_at(); - static const int kOccurredAtFieldNumber = 2; - const ::google::protobuf::Timestamp& occurred_at() const; - ::google::protobuf::Timestamp* release_occurred_at(); - ::google::protobuf::Timestamp* mutable_occurred_at(); - void set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at); - - // .flyteidl.admin.ExecutionState state = 1; - void clear_state(); - static const int kStateFieldNumber = 1; - ::flyteidl::admin::ExecutionState state() const; - void set_state(::flyteidl::admin::ExecutionState value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionStateChangeDetails) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr principal_; - ::google::protobuf::Timestamp* occurred_at_; - int state_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionUpdateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionUpdateResponse) */ { - public: - ExecutionUpdateResponse(); - virtual ~ExecutionUpdateResponse(); - - ExecutionUpdateResponse(const ExecutionUpdateResponse& from); - - inline ExecutionUpdateResponse& operator=(const ExecutionUpdateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionUpdateResponse(ExecutionUpdateResponse&& from) noexcept - : ExecutionUpdateResponse() { - *this = ::std::move(from); - } - - inline ExecutionUpdateResponse& operator=(ExecutionUpdateResponse&& 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 ExecutionUpdateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionUpdateResponse* internal_default_instance() { - return reinterpret_cast( - &_ExecutionUpdateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - void Swap(ExecutionUpdateResponse* other); - friend void swap(ExecutionUpdateResponse& a, ExecutionUpdateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionUpdateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionUpdateResponse* 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 ExecutionUpdateResponse& from); - void MergeFrom(const ExecutionUpdateResponse& 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(ExecutionUpdateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionUpdateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionGetMetricsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionGetMetricsRequest) */ { - public: - WorkflowExecutionGetMetricsRequest(); - virtual ~WorkflowExecutionGetMetricsRequest(); - - WorkflowExecutionGetMetricsRequest(const WorkflowExecutionGetMetricsRequest& from); - - inline WorkflowExecutionGetMetricsRequest& operator=(const WorkflowExecutionGetMetricsRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionGetMetricsRequest(WorkflowExecutionGetMetricsRequest&& from) noexcept - : WorkflowExecutionGetMetricsRequest() { - *this = ::std::move(from); - } - - inline WorkflowExecutionGetMetricsRequest& operator=(WorkflowExecutionGetMetricsRequest&& 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 WorkflowExecutionGetMetricsRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionGetMetricsRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionGetMetricsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - void Swap(WorkflowExecutionGetMetricsRequest* other); - friend void swap(WorkflowExecutionGetMetricsRequest& a, WorkflowExecutionGetMetricsRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionGetMetricsRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionGetMetricsRequest* 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 WorkflowExecutionGetMetricsRequest& from); - void MergeFrom(const WorkflowExecutionGetMetricsRequest& 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(WorkflowExecutionGetMetricsRequest* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); - - // int32 depth = 2; - void clear_depth(); - static const int kDepthFieldNumber = 2; - ::google::protobuf::int32 depth() const; - void set_depth(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* id_; - ::google::protobuf::int32 depth_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionGetMetricsResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionGetMetricsResponse) */ { - public: - WorkflowExecutionGetMetricsResponse(); - virtual ~WorkflowExecutionGetMetricsResponse(); - - WorkflowExecutionGetMetricsResponse(const WorkflowExecutionGetMetricsResponse& from); - - inline WorkflowExecutionGetMetricsResponse& operator=(const WorkflowExecutionGetMetricsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionGetMetricsResponse(WorkflowExecutionGetMetricsResponse&& from) noexcept - : WorkflowExecutionGetMetricsResponse() { - *this = ::std::move(from); - } - - inline WorkflowExecutionGetMetricsResponse& operator=(WorkflowExecutionGetMetricsResponse&& 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 WorkflowExecutionGetMetricsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionGetMetricsResponse* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionGetMetricsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - void Swap(WorkflowExecutionGetMetricsResponse* other); - friend void swap(WorkflowExecutionGetMetricsResponse& a, WorkflowExecutionGetMetricsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionGetMetricsResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionGetMetricsResponse* 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 WorkflowExecutionGetMetricsResponse& from); - void MergeFrom(const WorkflowExecutionGetMetricsResponse& 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(WorkflowExecutionGetMetricsResponse* 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.Span span = 1; - bool has_span() const; - void clear_span(); - static const int kSpanFieldNumber = 1; - const ::flyteidl::core::Span& span() const; - ::flyteidl::core::Span* release_span(); - ::flyteidl::core::Span* mutable_span(); - void set_allocated_span(::flyteidl::core::Span* span); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Span* span_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ExecutionCreateRequest - -// string project = 1; -inline void ExecutionCreateRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionCreateRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionCreateRequest.project) - return project_.GetNoArena(); -} -inline void ExecutionCreateRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionCreateRequest.project) -} -#if LANG_CXX11 -inline void ExecutionCreateRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionCreateRequest.project) -} -#endif -inline void ExecutionCreateRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionCreateRequest.project) -} -inline void ExecutionCreateRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionCreateRequest.project) -} -inline ::std::string* ExecutionCreateRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionCreateRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionCreateRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionCreateRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionCreateRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionCreateRequest.project) -} - -// string domain = 2; -inline void ExecutionCreateRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionCreateRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionCreateRequest.domain) - return domain_.GetNoArena(); -} -inline void ExecutionCreateRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionCreateRequest.domain) -} -#if LANG_CXX11 -inline void ExecutionCreateRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionCreateRequest.domain) -} -#endif -inline void ExecutionCreateRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionCreateRequest.domain) -} -inline void ExecutionCreateRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionCreateRequest.domain) -} -inline ::std::string* ExecutionCreateRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionCreateRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionCreateRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionCreateRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionCreateRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionCreateRequest.domain) -} - -// string name = 3; -inline void ExecutionCreateRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionCreateRequest::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionCreateRequest.name) - return name_.GetNoArena(); -} -inline void ExecutionCreateRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionCreateRequest.name) -} -#if LANG_CXX11 -inline void ExecutionCreateRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionCreateRequest.name) -} -#endif -inline void ExecutionCreateRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionCreateRequest.name) -} -inline void ExecutionCreateRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionCreateRequest.name) -} -inline ::std::string* ExecutionCreateRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionCreateRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionCreateRequest::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionCreateRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionCreateRequest::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionCreateRequest.name) -} - -// .flyteidl.admin.ExecutionSpec spec = 4; -inline bool ExecutionCreateRequest::has_spec() const { - return this != internal_default_instance() && spec_ != nullptr; -} -inline void ExecutionCreateRequest::clear_spec() { - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; -} -inline const ::flyteidl::admin::ExecutionSpec& ExecutionCreateRequest::spec() const { - const ::flyteidl::admin::ExecutionSpec* p = spec_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionCreateRequest.spec) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ExecutionSpec_default_instance_); -} -inline ::flyteidl::admin::ExecutionSpec* ExecutionCreateRequest::release_spec() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionCreateRequest.spec) - - ::flyteidl::admin::ExecutionSpec* temp = spec_; - spec_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ExecutionSpec* ExecutionCreateRequest::mutable_spec() { - - if (spec_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionSpec>(GetArenaNoVirtual()); - spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionCreateRequest.spec) - return spec_; -} -inline void ExecutionCreateRequest::set_allocated_spec(::flyteidl::admin::ExecutionSpec* spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete spec_; - } - if (spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, spec, submessage_arena); - } - - } else { - - } - spec_ = spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionCreateRequest.spec) -} - -// .flyteidl.core.LiteralMap inputs = 5; -inline bool ExecutionCreateRequest::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& ExecutionCreateRequest::inputs() const { - const ::flyteidl::core::LiteralMap* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionCreateRequest.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* ExecutionCreateRequest::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionCreateRequest.inputs) - - ::flyteidl::core::LiteralMap* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* ExecutionCreateRequest::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionCreateRequest.inputs) - return inputs_; -} -inline void ExecutionCreateRequest::set_allocated_inputs(::flyteidl::core::LiteralMap* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionCreateRequest.inputs) -} - -// string org = 6; -inline void ExecutionCreateRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionCreateRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionCreateRequest.org) - return org_.GetNoArena(); -} -inline void ExecutionCreateRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionCreateRequest.org) -} -#if LANG_CXX11 -inline void ExecutionCreateRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionCreateRequest.org) -} -#endif -inline void ExecutionCreateRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionCreateRequest.org) -} -inline void ExecutionCreateRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionCreateRequest.org) -} -inline ::std::string* ExecutionCreateRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionCreateRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionCreateRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionCreateRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionCreateRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionCreateRequest.org) -} - -// ------------------------------------------------------------------- - -// ExecutionRelaunchRequest - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool ExecutionRelaunchRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& ExecutionRelaunchRequest::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionRelaunchRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionRelaunchRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionRelaunchRequest.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionRelaunchRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionRelaunchRequest.id) - return id_; -} -inline void ExecutionRelaunchRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionRelaunchRequest.id) -} - -// string name = 3; -inline void ExecutionRelaunchRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionRelaunchRequest::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionRelaunchRequest.name) - return name_.GetNoArena(); -} -inline void ExecutionRelaunchRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionRelaunchRequest.name) -} -#if LANG_CXX11 -inline void ExecutionRelaunchRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionRelaunchRequest.name) -} -#endif -inline void ExecutionRelaunchRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionRelaunchRequest.name) -} -inline void ExecutionRelaunchRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionRelaunchRequest.name) -} -inline ::std::string* ExecutionRelaunchRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionRelaunchRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionRelaunchRequest::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionRelaunchRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionRelaunchRequest::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionRelaunchRequest.name) -} - -// bool overwrite_cache = 4; -inline void ExecutionRelaunchRequest::clear_overwrite_cache() { - overwrite_cache_ = false; -} -inline bool ExecutionRelaunchRequest::overwrite_cache() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionRelaunchRequest.overwrite_cache) - return overwrite_cache_; -} -inline void ExecutionRelaunchRequest::set_overwrite_cache(bool value) { - - overwrite_cache_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionRelaunchRequest.overwrite_cache) -} - -// ------------------------------------------------------------------- - -// ExecutionRecoverRequest - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool ExecutionRecoverRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& ExecutionRecoverRequest::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionRecoverRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionRecoverRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionRecoverRequest.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionRecoverRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionRecoverRequest.id) - return id_; -} -inline void ExecutionRecoverRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionRecoverRequest.id) -} - -// string name = 2; -inline void ExecutionRecoverRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionRecoverRequest::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionRecoverRequest.name) - return name_.GetNoArena(); -} -inline void ExecutionRecoverRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionRecoverRequest.name) -} -#if LANG_CXX11 -inline void ExecutionRecoverRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionRecoverRequest.name) -} -#endif -inline void ExecutionRecoverRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionRecoverRequest.name) -} -inline void ExecutionRecoverRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionRecoverRequest.name) -} -inline ::std::string* ExecutionRecoverRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionRecoverRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionRecoverRequest::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionRecoverRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionRecoverRequest::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionRecoverRequest.name) -} - -// .flyteidl.admin.ExecutionMetadata metadata = 3; -inline bool ExecutionRecoverRequest::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void ExecutionRecoverRequest::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::admin::ExecutionMetadata& ExecutionRecoverRequest::metadata() const { - const ::flyteidl::admin::ExecutionMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionRecoverRequest.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ExecutionMetadata_default_instance_); -} -inline ::flyteidl::admin::ExecutionMetadata* ExecutionRecoverRequest::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionRecoverRequest.metadata) - - ::flyteidl::admin::ExecutionMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ExecutionMetadata* ExecutionRecoverRequest::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionRecoverRequest.metadata) - return metadata_; -} -inline void ExecutionRecoverRequest::set_allocated_metadata(::flyteidl::admin::ExecutionMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionRecoverRequest.metadata) -} - -// ------------------------------------------------------------------- - -// ExecutionCreateResponse - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool ExecutionCreateResponse::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& ExecutionCreateResponse::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionCreateResponse.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionCreateResponse::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionCreateResponse.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionCreateResponse::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionCreateResponse.id) - return id_; -} -inline void ExecutionCreateResponse::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionCreateResponse.id) -} - -// ------------------------------------------------------------------- - -// WorkflowExecutionGetRequest - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool WorkflowExecutionGetRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& WorkflowExecutionGetRequest::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetRequest.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetRequest.id) - return id_; -} -inline void WorkflowExecutionGetRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetRequest.id) -} - -// ------------------------------------------------------------------- - -// Execution - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool Execution::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& Execution::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Execution.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* Execution::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Execution.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* Execution::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Execution.id) - return id_; -} -inline void Execution::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Execution.id) -} - -// .flyteidl.admin.ExecutionSpec spec = 2; -inline bool Execution::has_spec() const { - return this != internal_default_instance() && spec_ != nullptr; -} -inline void Execution::clear_spec() { - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; -} -inline const ::flyteidl::admin::ExecutionSpec& Execution::spec() const { - const ::flyteidl::admin::ExecutionSpec* p = spec_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Execution.spec) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ExecutionSpec_default_instance_); -} -inline ::flyteidl::admin::ExecutionSpec* Execution::release_spec() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Execution.spec) - - ::flyteidl::admin::ExecutionSpec* temp = spec_; - spec_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ExecutionSpec* Execution::mutable_spec() { - - if (spec_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionSpec>(GetArenaNoVirtual()); - spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Execution.spec) - return spec_; -} -inline void Execution::set_allocated_spec(::flyteidl::admin::ExecutionSpec* spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete spec_; - } - if (spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, spec, submessage_arena); - } - - } else { - - } - spec_ = spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Execution.spec) -} - -// .flyteidl.admin.ExecutionClosure closure = 3; -inline bool Execution::has_closure() const { - return this != internal_default_instance() && closure_ != nullptr; -} -inline void Execution::clear_closure() { - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; -} -inline const ::flyteidl::admin::ExecutionClosure& Execution::closure() const { - const ::flyteidl::admin::ExecutionClosure* p = closure_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Execution.closure) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ExecutionClosure_default_instance_); -} -inline ::flyteidl::admin::ExecutionClosure* Execution::release_closure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Execution.closure) - - ::flyteidl::admin::ExecutionClosure* temp = closure_; - closure_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ExecutionClosure* Execution::mutable_closure() { - - if (closure_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionClosure>(GetArenaNoVirtual()); - closure_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Execution.closure) - return closure_; -} -inline void Execution::set_allocated_closure(::flyteidl::admin::ExecutionClosure* closure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete closure_; - } - if (closure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - closure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, closure, submessage_arena); - } - - } else { - - } - closure_ = closure; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Execution.closure) -} - -// ------------------------------------------------------------------- - -// ExecutionList - -// repeated .flyteidl.admin.Execution executions = 1; -inline int ExecutionList::executions_size() const { - return executions_.size(); -} -inline void ExecutionList::clear_executions() { - executions_.Clear(); -} -inline ::flyteidl::admin::Execution* ExecutionList::mutable_executions(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionList.executions) - return executions_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Execution >* -ExecutionList::mutable_executions() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ExecutionList.executions) - return &executions_; -} -inline const ::flyteidl::admin::Execution& ExecutionList::executions(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionList.executions) - return executions_.Get(index); -} -inline ::flyteidl::admin::Execution* ExecutionList::add_executions() { - // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionList.executions) - return executions_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Execution >& -ExecutionList::executions() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.ExecutionList.executions) - return executions_; -} - -// string token = 2; -inline void ExecutionList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionList.token) - return token_.GetNoArena(); -} -inline void ExecutionList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionList.token) -} -#if LANG_CXX11 -inline void ExecutionList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionList.token) -} -#endif -inline void ExecutionList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionList.token) -} -inline void ExecutionList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionList.token) -} -inline ::std::string* ExecutionList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionList.token) -} - -// ------------------------------------------------------------------- - -// LiteralMapBlob - -// .flyteidl.core.LiteralMap values = 1 [deprecated = true]; -inline bool LiteralMapBlob::has_values() const { - return data_case() == kValues; -} -inline void LiteralMapBlob::set_has_values() { - _oneof_case_[0] = kValues; -} -inline ::flyteidl::core::LiteralMap* LiteralMapBlob::release_values() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LiteralMapBlob.values) - if (has_values()) { - clear_has_data(); - ::flyteidl::core::LiteralMap* temp = data_.values_; - data_.values_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& LiteralMapBlob::values() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LiteralMapBlob.values) - return has_values() - ? *data_.values_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* LiteralMapBlob::mutable_values() { - if (!has_values()) { - clear_data(); - set_has_values(); - data_.values_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LiteralMapBlob.values) - return data_.values_; -} - -// string uri = 2; -inline bool LiteralMapBlob::has_uri() const { - return data_case() == kUri; -} -inline void LiteralMapBlob::set_has_uri() { - _oneof_case_[0] = kUri; -} -inline void LiteralMapBlob::clear_uri() { - if (has_uri()) { - data_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_data(); - } -} -inline const ::std::string& LiteralMapBlob::uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LiteralMapBlob.uri) - if (has_uri()) { - return data_.uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void LiteralMapBlob::set_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.LiteralMapBlob.uri) - if (!has_uri()) { - clear_data(); - set_has_uri(); - data_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - data_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.LiteralMapBlob.uri) -} -#if LANG_CXX11 -inline void LiteralMapBlob::set_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.LiteralMapBlob.uri) - if (!has_uri()) { - clear_data(); - set_has_uri(); - data_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - data_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LiteralMapBlob.uri) -} -#endif -inline void LiteralMapBlob::set_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_uri()) { - clear_data(); - set_has_uri(); - data_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - data_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.LiteralMapBlob.uri) -} -inline void LiteralMapBlob::set_uri(const char* value, size_t size) { - if (!has_uri()) { - clear_data(); - set_has_uri(); - data_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - data_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LiteralMapBlob.uri) -} -inline ::std::string* LiteralMapBlob::mutable_uri() { - if (!has_uri()) { - clear_data(); - set_has_uri(); - data_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LiteralMapBlob.uri) - return data_.uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* LiteralMapBlob::release_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LiteralMapBlob.uri) - if (has_uri()) { - clear_has_data(); - return data_.uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void LiteralMapBlob::set_allocated_uri(::std::string* uri) { - if (has_data()) { - clear_data(); - } - if (uri != nullptr) { - set_has_uri(); - data_.uri_.UnsafeSetDefault(uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LiteralMapBlob.uri) -} - -inline bool LiteralMapBlob::has_data() const { - return data_case() != DATA_NOT_SET; -} -inline void LiteralMapBlob::clear_has_data() { - _oneof_case_[0] = DATA_NOT_SET; -} -inline LiteralMapBlob::DataCase LiteralMapBlob::data_case() const { - return LiteralMapBlob::DataCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// AbortMetadata - -// string cause = 1; -inline void AbortMetadata::clear_cause() { - cause_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& AbortMetadata::cause() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.AbortMetadata.cause) - return cause_.GetNoArena(); -} -inline void AbortMetadata::set_cause(const ::std::string& value) { - - cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.AbortMetadata.cause) -} -#if LANG_CXX11 -inline void AbortMetadata::set_cause(::std::string&& value) { - - cause_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.AbortMetadata.cause) -} -#endif -inline void AbortMetadata::set_cause(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.AbortMetadata.cause) -} -inline void AbortMetadata::set_cause(const char* value, size_t size) { - - cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.AbortMetadata.cause) -} -inline ::std::string* AbortMetadata::mutable_cause() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.AbortMetadata.cause) - return cause_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* AbortMetadata::release_cause() { - // @@protoc_insertion_point(field_release:flyteidl.admin.AbortMetadata.cause) - - return cause_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void AbortMetadata::set_allocated_cause(::std::string* cause) { - if (cause != nullptr) { - - } else { - - } - cause_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cause); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.AbortMetadata.cause) -} - -// string principal = 2; -inline void AbortMetadata::clear_principal() { - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& AbortMetadata::principal() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.AbortMetadata.principal) - return principal_.GetNoArena(); -} -inline void AbortMetadata::set_principal(const ::std::string& value) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.AbortMetadata.principal) -} -#if LANG_CXX11 -inline void AbortMetadata::set_principal(::std::string&& value) { - - principal_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.AbortMetadata.principal) -} -#endif -inline void AbortMetadata::set_principal(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.AbortMetadata.principal) -} -inline void AbortMetadata::set_principal(const char* value, size_t size) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.AbortMetadata.principal) -} -inline ::std::string* AbortMetadata::mutable_principal() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.AbortMetadata.principal) - return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* AbortMetadata::release_principal() { - // @@protoc_insertion_point(field_release:flyteidl.admin.AbortMetadata.principal) - - return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void AbortMetadata::set_allocated_principal(::std::string* principal) { - if (principal != nullptr) { - - } else { - - } - principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.AbortMetadata.principal) -} - -// ------------------------------------------------------------------- - -// ExecutionClosure - -// .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; -inline bool ExecutionClosure::has_outputs() const { - return output_result_case() == kOutputs; -} -inline void ExecutionClosure::set_has_outputs() { - _oneof_case_[0] = kOutputs; -} -inline void ExecutionClosure::clear_outputs() { - if (has_outputs()) { - delete output_result_.outputs_; - clear_has_output_result(); - } -} -inline ::flyteidl::admin::LiteralMapBlob* ExecutionClosure::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.outputs) - if (has_outputs()) { - clear_has_output_result(); - ::flyteidl::admin::LiteralMapBlob* temp = output_result_.outputs_; - output_result_.outputs_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::LiteralMapBlob& ExecutionClosure::outputs() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.outputs) - return has_outputs() - ? *output_result_.outputs_ - : *reinterpret_cast< ::flyteidl::admin::LiteralMapBlob*>(&::flyteidl::admin::_LiteralMapBlob_default_instance_); -} -inline ::flyteidl::admin::LiteralMapBlob* ExecutionClosure::mutable_outputs() { - if (!has_outputs()) { - clear_output_result(); - set_has_outputs(); - output_result_.outputs_ = CreateMaybeMessage< ::flyteidl::admin::LiteralMapBlob >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.outputs) - return output_result_.outputs_; -} - -// .flyteidl.core.ExecutionError error = 2; -inline bool ExecutionClosure::has_error() const { - return output_result_case() == kError; -} -inline void ExecutionClosure::set_has_error() { - _oneof_case_[0] = kError; -} -inline ::flyteidl::core::ExecutionError* ExecutionClosure::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.error) - if (has_error()) { - clear_has_output_result(); - ::flyteidl::core::ExecutionError* temp = output_result_.error_; - output_result_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ExecutionError& ExecutionClosure::error() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.error) - return has_error() - ? *output_result_.error_ - : *reinterpret_cast< ::flyteidl::core::ExecutionError*>(&::flyteidl::core::_ExecutionError_default_instance_); -} -inline ::flyteidl::core::ExecutionError* ExecutionClosure::mutable_error() { - if (!has_error()) { - clear_output_result(); - set_has_error(); - output_result_.error_ = CreateMaybeMessage< ::flyteidl::core::ExecutionError >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.error) - return output_result_.error_; -} - -// string abort_cause = 10 [deprecated = true]; -inline bool ExecutionClosure::has_abort_cause() const { - return output_result_case() == kAbortCause; -} -inline void ExecutionClosure::set_has_abort_cause() { - _oneof_case_[0] = kAbortCause; -} -inline void ExecutionClosure::clear_abort_cause() { - if (has_abort_cause()) { - output_result_.abort_cause_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_output_result(); - } -} -inline const ::std::string& ExecutionClosure::abort_cause() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.abort_cause) - if (has_abort_cause()) { - return output_result_.abort_cause_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void ExecutionClosure::set_abort_cause(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionClosure.abort_cause) - if (!has_abort_cause()) { - clear_output_result(); - set_has_abort_cause(); - output_result_.abort_cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.abort_cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionClosure.abort_cause) -} -#if LANG_CXX11 -inline void ExecutionClosure::set_abort_cause(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionClosure.abort_cause) - if (!has_abort_cause()) { - clear_output_result(); - set_has_abort_cause(); - output_result_.abort_cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.abort_cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionClosure.abort_cause) -} -#endif -inline void ExecutionClosure::set_abort_cause(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_abort_cause()) { - clear_output_result(); - set_has_abort_cause(); - output_result_.abort_cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.abort_cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionClosure.abort_cause) -} -inline void ExecutionClosure::set_abort_cause(const char* value, size_t size) { - if (!has_abort_cause()) { - clear_output_result(); - set_has_abort_cause(); - output_result_.abort_cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.abort_cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionClosure.abort_cause) -} -inline ::std::string* ExecutionClosure::mutable_abort_cause() { - if (!has_abort_cause()) { - clear_output_result(); - set_has_abort_cause(); - output_result_.abort_cause_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.abort_cause) - return output_result_.abort_cause_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionClosure::release_abort_cause() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.abort_cause) - if (has_abort_cause()) { - clear_has_output_result(); - return output_result_.abort_cause_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void ExecutionClosure::set_allocated_abort_cause(::std::string* abort_cause) { - if (has_output_result()) { - clear_output_result(); - } - if (abort_cause != nullptr) { - set_has_abort_cause(); - output_result_.abort_cause_.UnsafeSetDefault(abort_cause); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.abort_cause) -} - -// .flyteidl.admin.AbortMetadata abort_metadata = 12; -inline bool ExecutionClosure::has_abort_metadata() const { - return output_result_case() == kAbortMetadata; -} -inline void ExecutionClosure::set_has_abort_metadata() { - _oneof_case_[0] = kAbortMetadata; -} -inline void ExecutionClosure::clear_abort_metadata() { - if (has_abort_metadata()) { - delete output_result_.abort_metadata_; - clear_has_output_result(); - } -} -inline ::flyteidl::admin::AbortMetadata* ExecutionClosure::release_abort_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.abort_metadata) - if (has_abort_metadata()) { - clear_has_output_result(); - ::flyteidl::admin::AbortMetadata* temp = output_result_.abort_metadata_; - output_result_.abort_metadata_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::AbortMetadata& ExecutionClosure::abort_metadata() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.abort_metadata) - return has_abort_metadata() - ? *output_result_.abort_metadata_ - : *reinterpret_cast< ::flyteidl::admin::AbortMetadata*>(&::flyteidl::admin::_AbortMetadata_default_instance_); -} -inline ::flyteidl::admin::AbortMetadata* ExecutionClosure::mutable_abort_metadata() { - if (!has_abort_metadata()) { - clear_output_result(); - set_has_abort_metadata(); - output_result_.abort_metadata_ = CreateMaybeMessage< ::flyteidl::admin::AbortMetadata >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.abort_metadata) - return output_result_.abort_metadata_; -} - -// .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; -inline bool ExecutionClosure::has_output_data() const { - return output_result_case() == kOutputData; -} -inline void ExecutionClosure::set_has_output_data() { - _oneof_case_[0] = kOutputData; -} -inline ::flyteidl::core::LiteralMap* ExecutionClosure::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.output_data) - if (has_output_data()) { - clear_has_output_result(); - ::flyteidl::core::LiteralMap* temp = output_result_.output_data_; - output_result_.output_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& ExecutionClosure::output_data() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.output_data) - return has_output_data() - ? *output_result_.output_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* ExecutionClosure::mutable_output_data() { - if (!has_output_data()) { - clear_output_result(); - set_has_output_data(); - output_result_.output_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.output_data) - return output_result_.output_data_; -} - -// .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; -inline bool ExecutionClosure::has_computed_inputs() const { - return this != internal_default_instance() && computed_inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& ExecutionClosure::computed_inputs() const { - const ::flyteidl::core::LiteralMap* p = computed_inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.computed_inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* ExecutionClosure::release_computed_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.computed_inputs) - - ::flyteidl::core::LiteralMap* temp = computed_inputs_; - computed_inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* ExecutionClosure::mutable_computed_inputs() { - - if (computed_inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - computed_inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.computed_inputs) - return computed_inputs_; -} -inline void ExecutionClosure::set_allocated_computed_inputs(::flyteidl::core::LiteralMap* computed_inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(computed_inputs_); - } - if (computed_inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - computed_inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, computed_inputs, submessage_arena); - } - - } else { - - } - computed_inputs_ = computed_inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.computed_inputs) -} - -// .flyteidl.core.WorkflowExecution.Phase phase = 4; -inline void ExecutionClosure::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::WorkflowExecution_Phase ExecutionClosure::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.phase) - return static_cast< ::flyteidl::core::WorkflowExecution_Phase >(phase_); -} -inline void ExecutionClosure::set_phase(::flyteidl::core::WorkflowExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionClosure.phase) -} - -// .google.protobuf.Timestamp started_at = 5; -inline bool ExecutionClosure::has_started_at() const { - return this != internal_default_instance() && started_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& ExecutionClosure::started_at() const { - const ::google::protobuf::Timestamp* p = started_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.started_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* ExecutionClosure::release_started_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.started_at) - - ::google::protobuf::Timestamp* temp = started_at_; - started_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* ExecutionClosure::mutable_started_at() { - - if (started_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - started_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.started_at) - return started_at_; -} -inline void ExecutionClosure::set_allocated_started_at(::google::protobuf::Timestamp* started_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(started_at_); - } - if (started_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(started_at)->GetArena(); - if (message_arena != submessage_arena) { - started_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, started_at, submessage_arena); - } - - } else { - - } - started_at_ = started_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.started_at) -} - -// .google.protobuf.Duration duration = 6; -inline bool ExecutionClosure::has_duration() const { - return this != internal_default_instance() && duration_ != nullptr; -} -inline const ::google::protobuf::Duration& ExecutionClosure::duration() const { - const ::google::protobuf::Duration* p = duration_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.duration) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* ExecutionClosure::release_duration() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.duration) - - ::google::protobuf::Duration* temp = duration_; - duration_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* ExecutionClosure::mutable_duration() { - - if (duration_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - duration_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.duration) - return duration_; -} -inline void ExecutionClosure::set_allocated_duration(::google::protobuf::Duration* duration) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(duration_); - } - if (duration) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(duration)->GetArena(); - if (message_arena != submessage_arena) { - duration = ::google::protobuf::internal::GetOwnedMessage( - message_arena, duration, submessage_arena); - } - - } else { - - } - duration_ = duration; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.duration) -} - -// .google.protobuf.Timestamp created_at = 7; -inline bool ExecutionClosure::has_created_at() const { - return this != internal_default_instance() && created_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& ExecutionClosure::created_at() const { - const ::google::protobuf::Timestamp* p = created_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.created_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* ExecutionClosure::release_created_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.created_at) - - ::google::protobuf::Timestamp* temp = created_at_; - created_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* ExecutionClosure::mutable_created_at() { - - if (created_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - created_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.created_at) - return created_at_; -} -inline void ExecutionClosure::set_allocated_created_at(::google::protobuf::Timestamp* created_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(created_at_); - } - if (created_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(created_at)->GetArena(); - if (message_arena != submessage_arena) { - created_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, created_at, submessage_arena); - } - - } else { - - } - created_at_ = created_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.created_at) -} - -// .google.protobuf.Timestamp updated_at = 8; -inline bool ExecutionClosure::has_updated_at() const { - return this != internal_default_instance() && updated_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& ExecutionClosure::updated_at() const { - const ::google::protobuf::Timestamp* p = updated_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.updated_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* ExecutionClosure::release_updated_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.updated_at) - - ::google::protobuf::Timestamp* temp = updated_at_; - updated_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* ExecutionClosure::mutable_updated_at() { - - if (updated_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - updated_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.updated_at) - return updated_at_; -} -inline void ExecutionClosure::set_allocated_updated_at(::google::protobuf::Timestamp* updated_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(updated_at_); - } - if (updated_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(updated_at)->GetArena(); - if (message_arena != submessage_arena) { - updated_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, updated_at, submessage_arena); - } - - } else { - - } - updated_at_ = updated_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.updated_at) -} - -// repeated .flyteidl.admin.Notification notifications = 9; -inline int ExecutionClosure::notifications_size() const { - return notifications_.size(); -} -inline ::flyteidl::admin::Notification* ExecutionClosure::mutable_notifications(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.notifications) - return notifications_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >* -ExecutionClosure::mutable_notifications() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ExecutionClosure.notifications) - return ¬ifications_; -} -inline const ::flyteidl::admin::Notification& ExecutionClosure::notifications(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.notifications) - return notifications_.Get(index); -} -inline ::flyteidl::admin::Notification* ExecutionClosure::add_notifications() { - // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionClosure.notifications) - return notifications_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >& -ExecutionClosure::notifications() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.ExecutionClosure.notifications) - return notifications_; -} - -// .flyteidl.core.Identifier workflow_id = 11; -inline bool ExecutionClosure::has_workflow_id() const { - return this != internal_default_instance() && workflow_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& ExecutionClosure::workflow_id() const { - const ::flyteidl::core::Identifier* p = workflow_id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.workflow_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* ExecutionClosure::release_workflow_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.workflow_id) - - ::flyteidl::core::Identifier* temp = workflow_id_; - workflow_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* ExecutionClosure::mutable_workflow_id() { - - if (workflow_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - workflow_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.workflow_id) - return workflow_id_; -} -inline void ExecutionClosure::set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_id_); - } - if (workflow_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_id, submessage_arena); - } - - } else { - - } - workflow_id_ = workflow_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.workflow_id) -} - -// .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; -inline bool ExecutionClosure::has_state_change_details() const { - return this != internal_default_instance() && state_change_details_ != nullptr; -} -inline void ExecutionClosure::clear_state_change_details() { - if (GetArenaNoVirtual() == nullptr && state_change_details_ != nullptr) { - delete state_change_details_; - } - state_change_details_ = nullptr; -} -inline const ::flyteidl::admin::ExecutionStateChangeDetails& ExecutionClosure::state_change_details() const { - const ::flyteidl::admin::ExecutionStateChangeDetails* p = state_change_details_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClosure.state_change_details) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ExecutionStateChangeDetails_default_instance_); -} -inline ::flyteidl::admin::ExecutionStateChangeDetails* ExecutionClosure::release_state_change_details() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClosure.state_change_details) - - ::flyteidl::admin::ExecutionStateChangeDetails* temp = state_change_details_; - state_change_details_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ExecutionStateChangeDetails* ExecutionClosure::mutable_state_change_details() { - - if (state_change_details_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionStateChangeDetails>(GetArenaNoVirtual()); - state_change_details_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClosure.state_change_details) - return state_change_details_; -} -inline void ExecutionClosure::set_allocated_state_change_details(::flyteidl::admin::ExecutionStateChangeDetails* state_change_details) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete state_change_details_; - } - if (state_change_details) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - state_change_details = ::google::protobuf::internal::GetOwnedMessage( - message_arena, state_change_details, submessage_arena); - } - - } else { - - } - state_change_details_ = state_change_details; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClosure.state_change_details) -} - -inline bool ExecutionClosure::has_output_result() const { - return output_result_case() != OUTPUT_RESULT_NOT_SET; -} -inline void ExecutionClosure::clear_has_output_result() { - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} -inline ExecutionClosure::OutputResultCase ExecutionClosure::output_result_case() const { - return ExecutionClosure::OutputResultCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// SystemMetadata - -// string execution_cluster = 1; -inline void SystemMetadata::clear_execution_cluster() { - execution_cluster_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SystemMetadata::execution_cluster() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SystemMetadata.execution_cluster) - return execution_cluster_.GetNoArena(); -} -inline void SystemMetadata::set_execution_cluster(const ::std::string& value) { - - execution_cluster_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.SystemMetadata.execution_cluster) -} -#if LANG_CXX11 -inline void SystemMetadata::set_execution_cluster(::std::string&& value) { - - execution_cluster_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.SystemMetadata.execution_cluster) -} -#endif -inline void SystemMetadata::set_execution_cluster(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - execution_cluster_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.SystemMetadata.execution_cluster) -} -inline void SystemMetadata::set_execution_cluster(const char* value, size_t size) { - - execution_cluster_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.SystemMetadata.execution_cluster) -} -inline ::std::string* SystemMetadata::mutable_execution_cluster() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SystemMetadata.execution_cluster) - return execution_cluster_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SystemMetadata::release_execution_cluster() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SystemMetadata.execution_cluster) - - return execution_cluster_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SystemMetadata::set_allocated_execution_cluster(::std::string* execution_cluster) { - if (execution_cluster != nullptr) { - - } else { - - } - execution_cluster_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), execution_cluster); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SystemMetadata.execution_cluster) -} - -// string namespace = 2; -inline void SystemMetadata::clear_namespace_() { - namespace__.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SystemMetadata::namespace_() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SystemMetadata.namespace) - return namespace__.GetNoArena(); -} -inline void SystemMetadata::set_namespace_(const ::std::string& value) { - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.SystemMetadata.namespace) -} -#if LANG_CXX11 -inline void SystemMetadata::set_namespace_(::std::string&& value) { - - namespace__.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.SystemMetadata.namespace) -} -#endif -inline void SystemMetadata::set_namespace_(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.SystemMetadata.namespace) -} -inline void SystemMetadata::set_namespace_(const char* value, size_t size) { - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.SystemMetadata.namespace) -} -inline ::std::string* SystemMetadata::mutable_namespace_() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SystemMetadata.namespace) - return namespace__.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SystemMetadata::release_namespace_() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SystemMetadata.namespace) - - return namespace__.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SystemMetadata::set_allocated_namespace_(::std::string* namespace_) { - if (namespace_ != nullptr) { - - } else { - - } - namespace__.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SystemMetadata.namespace) -} - -// ------------------------------------------------------------------- - -// ExecutionMetadata - -// .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; -inline void ExecutionMetadata::clear_mode() { - mode_ = 0; -} -inline ::flyteidl::admin::ExecutionMetadata_ExecutionMode ExecutionMetadata::mode() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.mode) - return static_cast< ::flyteidl::admin::ExecutionMetadata_ExecutionMode >(mode_); -} -inline void ExecutionMetadata::set_mode(::flyteidl::admin::ExecutionMetadata_ExecutionMode value) { - - mode_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionMetadata.mode) -} - -// string principal = 2; -inline void ExecutionMetadata::clear_principal() { - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionMetadata::principal() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.principal) - return principal_.GetNoArena(); -} -inline void ExecutionMetadata::set_principal(const ::std::string& value) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionMetadata.principal) -} -#if LANG_CXX11 -inline void ExecutionMetadata::set_principal(::std::string&& value) { - - principal_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionMetadata.principal) -} -#endif -inline void ExecutionMetadata::set_principal(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionMetadata.principal) -} -inline void ExecutionMetadata::set_principal(const char* value, size_t size) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionMetadata.principal) -} -inline ::std::string* ExecutionMetadata::mutable_principal() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionMetadata.principal) - return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionMetadata::release_principal() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionMetadata.principal) - - return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionMetadata::set_allocated_principal(::std::string* principal) { - if (principal != nullptr) { - - } else { - - } - principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionMetadata.principal) -} - -// uint32 nesting = 3; -inline void ExecutionMetadata::clear_nesting() { - nesting_ = 0u; -} -inline ::google::protobuf::uint32 ExecutionMetadata::nesting() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.nesting) - return nesting_; -} -inline void ExecutionMetadata::set_nesting(::google::protobuf::uint32 value) { - - nesting_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionMetadata.nesting) -} - -// .google.protobuf.Timestamp scheduled_at = 4; -inline bool ExecutionMetadata::has_scheduled_at() const { - return this != internal_default_instance() && scheduled_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& ExecutionMetadata::scheduled_at() const { - const ::google::protobuf::Timestamp* p = scheduled_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.scheduled_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* ExecutionMetadata::release_scheduled_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionMetadata.scheduled_at) - - ::google::protobuf::Timestamp* temp = scheduled_at_; - scheduled_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* ExecutionMetadata::mutable_scheduled_at() { - - if (scheduled_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - scheduled_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionMetadata.scheduled_at) - return scheduled_at_; -} -inline void ExecutionMetadata::set_allocated_scheduled_at(::google::protobuf::Timestamp* scheduled_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(scheduled_at_); - } - if (scheduled_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(scheduled_at)->GetArena(); - if (message_arena != submessage_arena) { - scheduled_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, scheduled_at, submessage_arena); - } - - } else { - - } - scheduled_at_ = scheduled_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionMetadata.scheduled_at) -} - -// .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; -inline bool ExecutionMetadata::has_parent_node_execution() const { - return this != internal_default_instance() && parent_node_execution_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& ExecutionMetadata::parent_node_execution() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = parent_node_execution_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.parent_node_execution) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* ExecutionMetadata::release_parent_node_execution() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionMetadata.parent_node_execution) - - ::flyteidl::core::NodeExecutionIdentifier* temp = parent_node_execution_; - parent_node_execution_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* ExecutionMetadata::mutable_parent_node_execution() { - - if (parent_node_execution_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); - parent_node_execution_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionMetadata.parent_node_execution) - return parent_node_execution_; -} -inline void ExecutionMetadata::set_allocated_parent_node_execution(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(parent_node_execution_); - } - if (parent_node_execution) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - parent_node_execution = ::google::protobuf::internal::GetOwnedMessage( - message_arena, parent_node_execution, submessage_arena); - } - - } else { - - } - parent_node_execution_ = parent_node_execution; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionMetadata.parent_node_execution) -} - -// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; -inline bool ExecutionMetadata::has_reference_execution() const { - return this != internal_default_instance() && reference_execution_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& ExecutionMetadata::reference_execution() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = reference_execution_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.reference_execution) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionMetadata::release_reference_execution() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionMetadata.reference_execution) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = reference_execution_; - reference_execution_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionMetadata::mutable_reference_execution() { - - if (reference_execution_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - reference_execution_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionMetadata.reference_execution) - return reference_execution_; -} -inline void ExecutionMetadata::set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(reference_execution_); - } - if (reference_execution) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - reference_execution = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reference_execution, submessage_arena); - } - - } else { - - } - reference_execution_ = reference_execution; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionMetadata.reference_execution) -} - -// .flyteidl.admin.SystemMetadata system_metadata = 17; -inline bool ExecutionMetadata::has_system_metadata() const { - return this != internal_default_instance() && system_metadata_ != nullptr; -} -inline void ExecutionMetadata::clear_system_metadata() { - if (GetArenaNoVirtual() == nullptr && system_metadata_ != nullptr) { - delete system_metadata_; - } - system_metadata_ = nullptr; -} -inline const ::flyteidl::admin::SystemMetadata& ExecutionMetadata::system_metadata() const { - const ::flyteidl::admin::SystemMetadata* p = system_metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.system_metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_SystemMetadata_default_instance_); -} -inline ::flyteidl::admin::SystemMetadata* ExecutionMetadata::release_system_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionMetadata.system_metadata) - - ::flyteidl::admin::SystemMetadata* temp = system_metadata_; - system_metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::SystemMetadata* ExecutionMetadata::mutable_system_metadata() { - - if (system_metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::SystemMetadata>(GetArenaNoVirtual()); - system_metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionMetadata.system_metadata) - return system_metadata_; -} -inline void ExecutionMetadata::set_allocated_system_metadata(::flyteidl::admin::SystemMetadata* system_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete system_metadata_; - } - if (system_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - system_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, system_metadata, submessage_arena); - } - - } else { - - } - system_metadata_ = system_metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionMetadata.system_metadata) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 18; -inline int ExecutionMetadata::artifact_ids_size() const { - return artifact_ids_.size(); -} -inline ::flyteidl::core::ArtifactID* ExecutionMetadata::mutable_artifact_ids(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionMetadata.artifact_ids) - return artifact_ids_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* -ExecutionMetadata::mutable_artifact_ids() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ExecutionMetadata.artifact_ids) - return &artifact_ids_; -} -inline const ::flyteidl::core::ArtifactID& ExecutionMetadata::artifact_ids(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionMetadata.artifact_ids) - return artifact_ids_.Get(index); -} -inline ::flyteidl::core::ArtifactID* ExecutionMetadata::add_artifact_ids() { - // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionMetadata.artifact_ids) - return artifact_ids_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& -ExecutionMetadata::artifact_ids() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.ExecutionMetadata.artifact_ids) - return artifact_ids_; -} - -// ------------------------------------------------------------------- - -// NotificationList - -// repeated .flyteidl.admin.Notification notifications = 1; -inline int NotificationList::notifications_size() const { - return notifications_.size(); -} -inline ::flyteidl::admin::Notification* NotificationList::mutable_notifications(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NotificationList.notifications) - return notifications_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >* -NotificationList::mutable_notifications() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.NotificationList.notifications) - return ¬ifications_; -} -inline const ::flyteidl::admin::Notification& NotificationList::notifications(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NotificationList.notifications) - return notifications_.Get(index); -} -inline ::flyteidl::admin::Notification* NotificationList::add_notifications() { - // @@protoc_insertion_point(field_add:flyteidl.admin.NotificationList.notifications) - return notifications_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >& -NotificationList::notifications() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.NotificationList.notifications) - return notifications_; -} - -// ------------------------------------------------------------------- - -// ExecutionSpec - -// .flyteidl.core.Identifier launch_plan = 1; -inline bool ExecutionSpec::has_launch_plan() const { - return this != internal_default_instance() && launch_plan_ != nullptr; -} -inline const ::flyteidl::core::Identifier& ExecutionSpec::launch_plan() const { - const ::flyteidl::core::Identifier* p = launch_plan_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.launch_plan) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* ExecutionSpec::release_launch_plan() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.launch_plan) - - ::flyteidl::core::Identifier* temp = launch_plan_; - launch_plan_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* ExecutionSpec::mutable_launch_plan() { - - if (launch_plan_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - launch_plan_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.launch_plan) - return launch_plan_; -} -inline void ExecutionSpec::set_allocated_launch_plan(::flyteidl::core::Identifier* launch_plan) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(launch_plan_); - } - if (launch_plan) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - launch_plan = ::google::protobuf::internal::GetOwnedMessage( - message_arena, launch_plan, submessage_arena); - } - - } else { - - } - launch_plan_ = launch_plan; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.launch_plan) -} - -// .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; -inline bool ExecutionSpec::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& ExecutionSpec::inputs() const { - const ::flyteidl::core::LiteralMap* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* ExecutionSpec::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.inputs) - - ::flyteidl::core::LiteralMap* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* ExecutionSpec::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.inputs) - return inputs_; -} -inline void ExecutionSpec::set_allocated_inputs(::flyteidl::core::LiteralMap* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.inputs) -} - -// .flyteidl.admin.ExecutionMetadata metadata = 3; -inline bool ExecutionSpec::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void ExecutionSpec::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::admin::ExecutionMetadata& ExecutionSpec::metadata() const { - const ::flyteidl::admin::ExecutionMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ExecutionMetadata_default_instance_); -} -inline ::flyteidl::admin::ExecutionMetadata* ExecutionSpec::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.metadata) - - ::flyteidl::admin::ExecutionMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ExecutionMetadata* ExecutionSpec::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.metadata) - return metadata_; -} -inline void ExecutionSpec::set_allocated_metadata(::flyteidl::admin::ExecutionMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.metadata) -} - -// .flyteidl.admin.NotificationList notifications = 5; -inline bool ExecutionSpec::has_notifications() const { - return notification_overrides_case() == kNotifications; -} -inline void ExecutionSpec::set_has_notifications() { - _oneof_case_[0] = kNotifications; -} -inline void ExecutionSpec::clear_notifications() { - if (has_notifications()) { - delete notification_overrides_.notifications_; - clear_has_notification_overrides(); - } -} -inline ::flyteidl::admin::NotificationList* ExecutionSpec::release_notifications() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.notifications) - if (has_notifications()) { - clear_has_notification_overrides(); - ::flyteidl::admin::NotificationList* temp = notification_overrides_.notifications_; - notification_overrides_.notifications_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::NotificationList& ExecutionSpec::notifications() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.notifications) - return has_notifications() - ? *notification_overrides_.notifications_ - : *reinterpret_cast< ::flyteidl::admin::NotificationList*>(&::flyteidl::admin::_NotificationList_default_instance_); -} -inline ::flyteidl::admin::NotificationList* ExecutionSpec::mutable_notifications() { - if (!has_notifications()) { - clear_notification_overrides(); - set_has_notifications(); - notification_overrides_.notifications_ = CreateMaybeMessage< ::flyteidl::admin::NotificationList >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.notifications) - return notification_overrides_.notifications_; -} - -// bool disable_all = 6; -inline bool ExecutionSpec::has_disable_all() const { - return notification_overrides_case() == kDisableAll; -} -inline void ExecutionSpec::set_has_disable_all() { - _oneof_case_[0] = kDisableAll; -} -inline void ExecutionSpec::clear_disable_all() { - if (has_disable_all()) { - notification_overrides_.disable_all_ = false; - clear_has_notification_overrides(); - } -} -inline bool ExecutionSpec::disable_all() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.disable_all) - if (has_disable_all()) { - return notification_overrides_.disable_all_; - } - return false; -} -inline void ExecutionSpec::set_disable_all(bool value) { - if (!has_disable_all()) { - clear_notification_overrides(); - set_has_disable_all(); - } - notification_overrides_.disable_all_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionSpec.disable_all) -} - -// .flyteidl.admin.Labels labels = 7; -inline bool ExecutionSpec::has_labels() const { - return this != internal_default_instance() && labels_ != nullptr; -} -inline const ::flyteidl::admin::Labels& ExecutionSpec::labels() const { - const ::flyteidl::admin::Labels* p = labels_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.labels) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Labels_default_instance_); -} -inline ::flyteidl::admin::Labels* ExecutionSpec::release_labels() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.labels) - - ::flyteidl::admin::Labels* temp = labels_; - labels_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Labels* ExecutionSpec::mutable_labels() { - - if (labels_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Labels>(GetArenaNoVirtual()); - labels_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.labels) - return labels_; -} -inline void ExecutionSpec::set_allocated_labels(::flyteidl::admin::Labels* labels) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(labels_); - } - if (labels) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - labels = ::google::protobuf::internal::GetOwnedMessage( - message_arena, labels, submessage_arena); - } - - } else { - - } - labels_ = labels; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.labels) -} - -// .flyteidl.admin.Annotations annotations = 8; -inline bool ExecutionSpec::has_annotations() const { - return this != internal_default_instance() && annotations_ != nullptr; -} -inline const ::flyteidl::admin::Annotations& ExecutionSpec::annotations() const { - const ::flyteidl::admin::Annotations* p = annotations_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.annotations) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Annotations_default_instance_); -} -inline ::flyteidl::admin::Annotations* ExecutionSpec::release_annotations() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.annotations) - - ::flyteidl::admin::Annotations* temp = annotations_; - annotations_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Annotations* ExecutionSpec::mutable_annotations() { - - if (annotations_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Annotations>(GetArenaNoVirtual()); - annotations_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.annotations) - return annotations_; -} -inline void ExecutionSpec::set_allocated_annotations(::flyteidl::admin::Annotations* annotations) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(annotations_); - } - if (annotations) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - annotations = ::google::protobuf::internal::GetOwnedMessage( - message_arena, annotations, submessage_arena); - } - - } else { - - } - annotations_ = annotations; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.annotations) -} - -// .flyteidl.core.SecurityContext security_context = 10; -inline bool ExecutionSpec::has_security_context() const { - return this != internal_default_instance() && security_context_ != nullptr; -} -inline const ::flyteidl::core::SecurityContext& ExecutionSpec::security_context() const { - const ::flyteidl::core::SecurityContext* p = security_context_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.security_context) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SecurityContext_default_instance_); -} -inline ::flyteidl::core::SecurityContext* ExecutionSpec::release_security_context() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.security_context) - - ::flyteidl::core::SecurityContext* temp = security_context_; - security_context_ = nullptr; - return temp; -} -inline ::flyteidl::core::SecurityContext* ExecutionSpec::mutable_security_context() { - - if (security_context_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SecurityContext>(GetArenaNoVirtual()); - security_context_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.security_context) - return security_context_; -} -inline void ExecutionSpec::set_allocated_security_context(::flyteidl::core::SecurityContext* security_context) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(security_context_); - } - if (security_context) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - security_context = ::google::protobuf::internal::GetOwnedMessage( - message_arena, security_context, submessage_arena); - } - - } else { - - } - security_context_ = security_context; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.security_context) -} - -// .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; -inline bool ExecutionSpec::has_auth_role() const { - return this != internal_default_instance() && auth_role_ != nullptr; -} -inline const ::flyteidl::admin::AuthRole& ExecutionSpec::auth_role() const { - const ::flyteidl::admin::AuthRole* p = auth_role_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.auth_role) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_AuthRole_default_instance_); -} -inline ::flyteidl::admin::AuthRole* ExecutionSpec::release_auth_role() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.auth_role) - - ::flyteidl::admin::AuthRole* temp = auth_role_; - auth_role_ = nullptr; - return temp; -} -inline ::flyteidl::admin::AuthRole* ExecutionSpec::mutable_auth_role() { - - if (auth_role_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::AuthRole>(GetArenaNoVirtual()); - auth_role_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.auth_role) - return auth_role_; -} -inline void ExecutionSpec::set_allocated_auth_role(::flyteidl::admin::AuthRole* auth_role) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(auth_role_); - } - if (auth_role) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - auth_role = ::google::protobuf::internal::GetOwnedMessage( - message_arena, auth_role, submessage_arena); - } - - } else { - - } - auth_role_ = auth_role; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.auth_role) -} - -// .flyteidl.core.QualityOfService quality_of_service = 17; -inline bool ExecutionSpec::has_quality_of_service() const { - return this != internal_default_instance() && quality_of_service_ != nullptr; -} -inline const ::flyteidl::core::QualityOfService& ExecutionSpec::quality_of_service() const { - const ::flyteidl::core::QualityOfService* p = quality_of_service_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.quality_of_service) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_QualityOfService_default_instance_); -} -inline ::flyteidl::core::QualityOfService* ExecutionSpec::release_quality_of_service() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.quality_of_service) - - ::flyteidl::core::QualityOfService* temp = quality_of_service_; - quality_of_service_ = nullptr; - return temp; -} -inline ::flyteidl::core::QualityOfService* ExecutionSpec::mutable_quality_of_service() { - - if (quality_of_service_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::QualityOfService>(GetArenaNoVirtual()); - quality_of_service_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.quality_of_service) - return quality_of_service_; -} -inline void ExecutionSpec::set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(quality_of_service_); - } - if (quality_of_service) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - quality_of_service = ::google::protobuf::internal::GetOwnedMessage( - message_arena, quality_of_service, submessage_arena); - } - - } else { - - } - quality_of_service_ = quality_of_service; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.quality_of_service) -} - -// int32 max_parallelism = 18; -inline void ExecutionSpec::clear_max_parallelism() { - max_parallelism_ = 0; -} -inline ::google::protobuf::int32 ExecutionSpec::max_parallelism() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.max_parallelism) - return max_parallelism_; -} -inline void ExecutionSpec::set_max_parallelism(::google::protobuf::int32 value) { - - max_parallelism_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionSpec.max_parallelism) -} - -// .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; -inline bool ExecutionSpec::has_raw_output_data_config() const { - return this != internal_default_instance() && raw_output_data_config_ != nullptr; -} -inline const ::flyteidl::admin::RawOutputDataConfig& ExecutionSpec::raw_output_data_config() const { - const ::flyteidl::admin::RawOutputDataConfig* p = raw_output_data_config_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.raw_output_data_config) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_RawOutputDataConfig_default_instance_); -} -inline ::flyteidl::admin::RawOutputDataConfig* ExecutionSpec::release_raw_output_data_config() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.raw_output_data_config) - - ::flyteidl::admin::RawOutputDataConfig* temp = raw_output_data_config_; - raw_output_data_config_ = nullptr; - return temp; -} -inline ::flyteidl::admin::RawOutputDataConfig* ExecutionSpec::mutable_raw_output_data_config() { - - if (raw_output_data_config_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::RawOutputDataConfig>(GetArenaNoVirtual()); - raw_output_data_config_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.raw_output_data_config) - return raw_output_data_config_; -} -inline void ExecutionSpec::set_allocated_raw_output_data_config(::flyteidl::admin::RawOutputDataConfig* raw_output_data_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_output_data_config_); - } - if (raw_output_data_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - raw_output_data_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, raw_output_data_config, submessage_arena); - } - - } else { - - } - raw_output_data_config_ = raw_output_data_config; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.raw_output_data_config) -} - -// .flyteidl.admin.ClusterAssignment cluster_assignment = 20; -inline bool ExecutionSpec::has_cluster_assignment() const { - return this != internal_default_instance() && cluster_assignment_ != nullptr; -} -inline const ::flyteidl::admin::ClusterAssignment& ExecutionSpec::cluster_assignment() const { - const ::flyteidl::admin::ClusterAssignment* p = cluster_assignment_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.cluster_assignment) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ClusterAssignment_default_instance_); -} -inline ::flyteidl::admin::ClusterAssignment* ExecutionSpec::release_cluster_assignment() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.cluster_assignment) - - ::flyteidl::admin::ClusterAssignment* temp = cluster_assignment_; - cluster_assignment_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ClusterAssignment* ExecutionSpec::mutable_cluster_assignment() { - - if (cluster_assignment_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ClusterAssignment>(GetArenaNoVirtual()); - cluster_assignment_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.cluster_assignment) - return cluster_assignment_; -} -inline void ExecutionSpec::set_allocated_cluster_assignment(::flyteidl::admin::ClusterAssignment* cluster_assignment) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(cluster_assignment_); - } - if (cluster_assignment) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - cluster_assignment = ::google::protobuf::internal::GetOwnedMessage( - message_arena, cluster_assignment, submessage_arena); - } - - } else { - - } - cluster_assignment_ = cluster_assignment; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.cluster_assignment) -} - -// .google.protobuf.BoolValue interruptible = 21; -inline bool ExecutionSpec::has_interruptible() const { - return this != internal_default_instance() && interruptible_ != nullptr; -} -inline const ::google::protobuf::BoolValue& ExecutionSpec::interruptible() const { - const ::google::protobuf::BoolValue* p = interruptible_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.interruptible) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_BoolValue_default_instance_); -} -inline ::google::protobuf::BoolValue* ExecutionSpec::release_interruptible() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.interruptible) - - ::google::protobuf::BoolValue* temp = interruptible_; - interruptible_ = nullptr; - return temp; -} -inline ::google::protobuf::BoolValue* ExecutionSpec::mutable_interruptible() { - - if (interruptible_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::BoolValue>(GetArenaNoVirtual()); - interruptible_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.interruptible) - return interruptible_; -} -inline void ExecutionSpec::set_allocated_interruptible(::google::protobuf::BoolValue* interruptible) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(interruptible_); - } - if (interruptible) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(interruptible)->GetArena(); - if (message_arena != submessage_arena) { - interruptible = ::google::protobuf::internal::GetOwnedMessage( - message_arena, interruptible, submessage_arena); - } - - } else { - - } - interruptible_ = interruptible; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.interruptible) -} - -// bool overwrite_cache = 22; -inline void ExecutionSpec::clear_overwrite_cache() { - overwrite_cache_ = false; -} -inline bool ExecutionSpec::overwrite_cache() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.overwrite_cache) - return overwrite_cache_; -} -inline void ExecutionSpec::set_overwrite_cache(bool value) { - - overwrite_cache_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionSpec.overwrite_cache) -} - -// .flyteidl.admin.Envs envs = 23; -inline bool ExecutionSpec::has_envs() const { - return this != internal_default_instance() && envs_ != nullptr; -} -inline const ::flyteidl::admin::Envs& ExecutionSpec::envs() const { - const ::flyteidl::admin::Envs* p = envs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.envs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Envs_default_instance_); -} -inline ::flyteidl::admin::Envs* ExecutionSpec::release_envs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.envs) - - ::flyteidl::admin::Envs* temp = envs_; - envs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Envs* ExecutionSpec::mutable_envs() { - - if (envs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Envs>(GetArenaNoVirtual()); - envs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.envs) - return envs_; -} -inline void ExecutionSpec::set_allocated_envs(::flyteidl::admin::Envs* envs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(envs_); - } - if (envs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - envs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, envs, submessage_arena); - } - - } else { - - } - envs_ = envs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.envs) -} - -// repeated string tags = 24; -inline int ExecutionSpec::tags_size() const { - return tags_.size(); -} -inline void ExecutionSpec::clear_tags() { - tags_.Clear(); -} -inline const ::std::string& ExecutionSpec::tags(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.tags) - return tags_.Get(index); -} -inline ::std::string* ExecutionSpec::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.tags) - return tags_.Mutable(index); -} -inline void ExecutionSpec::set_tags(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionSpec.tags) - tags_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void ExecutionSpec::set_tags(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionSpec.tags) - tags_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void ExecutionSpec::set_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionSpec.tags) -} -inline void ExecutionSpec::set_tags(int index, const char* value, size_t size) { - tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionSpec.tags) -} -inline ::std::string* ExecutionSpec::add_tags() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.ExecutionSpec.tags) - return tags_.Add(); -} -inline void ExecutionSpec::add_tags(const ::std::string& value) { - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionSpec.tags) -} -#if LANG_CXX11 -inline void ExecutionSpec::add_tags(::std::string&& value) { - tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionSpec.tags) -} -#endif -inline void ExecutionSpec::add_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.ExecutionSpec.tags) -} -inline void ExecutionSpec::add_tags(const char* value, size_t size) { - tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.ExecutionSpec.tags) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -ExecutionSpec::tags() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.ExecutionSpec.tags) - return tags_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -ExecutionSpec::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ExecutionSpec.tags) - return &tags_; -} - -inline bool ExecutionSpec::has_notification_overrides() const { - return notification_overrides_case() != NOTIFICATION_OVERRIDES_NOT_SET; -} -inline void ExecutionSpec::clear_has_notification_overrides() { - _oneof_case_[0] = NOTIFICATION_OVERRIDES_NOT_SET; -} -inline ExecutionSpec::NotificationOverridesCase ExecutionSpec::notification_overrides_case() const { - return ExecutionSpec::NotificationOverridesCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ExecutionTerminateRequest - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool ExecutionTerminateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& ExecutionTerminateRequest::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionTerminateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionTerminateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionTerminateRequest.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionTerminateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionTerminateRequest.id) - return id_; -} -inline void ExecutionTerminateRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionTerminateRequest.id) -} - -// string cause = 2; -inline void ExecutionTerminateRequest::clear_cause() { - cause_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionTerminateRequest::cause() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionTerminateRequest.cause) - return cause_.GetNoArena(); -} -inline void ExecutionTerminateRequest::set_cause(const ::std::string& value) { - - cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionTerminateRequest.cause) -} -#if LANG_CXX11 -inline void ExecutionTerminateRequest::set_cause(::std::string&& value) { - - cause_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionTerminateRequest.cause) -} -#endif -inline void ExecutionTerminateRequest::set_cause(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionTerminateRequest.cause) -} -inline void ExecutionTerminateRequest::set_cause(const char* value, size_t size) { - - cause_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionTerminateRequest.cause) -} -inline ::std::string* ExecutionTerminateRequest::mutable_cause() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionTerminateRequest.cause) - return cause_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionTerminateRequest::release_cause() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionTerminateRequest.cause) - - return cause_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionTerminateRequest::set_allocated_cause(::std::string* cause) { - if (cause != nullptr) { - - } else { - - } - cause_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cause); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionTerminateRequest.cause) -} - -// ------------------------------------------------------------------- - -// ExecutionTerminateResponse - -// ------------------------------------------------------------------- - -// WorkflowExecutionGetDataRequest - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool WorkflowExecutionGetDataRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& WorkflowExecutionGetDataRequest::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetDataRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetDataRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetDataRequest.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetDataRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetDataRequest.id) - return id_; -} -inline void WorkflowExecutionGetDataRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetDataRequest.id) -} - -// ------------------------------------------------------------------- - -// WorkflowExecutionGetDataResponse - -// .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; -inline bool WorkflowExecutionGetDataResponse::has_outputs() const { - return this != internal_default_instance() && outputs_ != nullptr; -} -inline const ::flyteidl::admin::UrlBlob& WorkflowExecutionGetDataResponse::outputs() const { - const ::flyteidl::admin::UrlBlob* p = outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetDataResponse.outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_UrlBlob_default_instance_); -} -inline ::flyteidl::admin::UrlBlob* WorkflowExecutionGetDataResponse::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetDataResponse.outputs) - - ::flyteidl::admin::UrlBlob* temp = outputs_; - outputs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::UrlBlob* WorkflowExecutionGetDataResponse::mutable_outputs() { - - if (outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::UrlBlob>(GetArenaNoVirtual()); - outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetDataResponse.outputs) - return outputs_; -} -inline void WorkflowExecutionGetDataResponse::set_allocated_outputs(::flyteidl::admin::UrlBlob* outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(outputs_); - } - if (outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, outputs, submessage_arena); - } - - } else { - - } - outputs_ = outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetDataResponse.outputs) -} - -// .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; -inline bool WorkflowExecutionGetDataResponse::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline const ::flyteidl::admin::UrlBlob& WorkflowExecutionGetDataResponse::inputs() const { - const ::flyteidl::admin::UrlBlob* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetDataResponse.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_UrlBlob_default_instance_); -} -inline ::flyteidl::admin::UrlBlob* WorkflowExecutionGetDataResponse::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetDataResponse.inputs) - - ::flyteidl::admin::UrlBlob* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::UrlBlob* WorkflowExecutionGetDataResponse::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::UrlBlob>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetDataResponse.inputs) - return inputs_; -} -inline void WorkflowExecutionGetDataResponse::set_allocated_inputs(::flyteidl::admin::UrlBlob* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetDataResponse.inputs) -} - -// .flyteidl.core.LiteralMap full_inputs = 3; -inline bool WorkflowExecutionGetDataResponse::has_full_inputs() const { - return this != internal_default_instance() && full_inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& WorkflowExecutionGetDataResponse::full_inputs() const { - const ::flyteidl::core::LiteralMap* p = full_inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetDataResponse.full_inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* WorkflowExecutionGetDataResponse::release_full_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetDataResponse.full_inputs) - - ::flyteidl::core::LiteralMap* temp = full_inputs_; - full_inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* WorkflowExecutionGetDataResponse::mutable_full_inputs() { - - if (full_inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - full_inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetDataResponse.full_inputs) - return full_inputs_; -} -inline void WorkflowExecutionGetDataResponse::set_allocated_full_inputs(::flyteidl::core::LiteralMap* full_inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(full_inputs_); - } - if (full_inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - full_inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, full_inputs, submessage_arena); - } - - } else { - - } - full_inputs_ = full_inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetDataResponse.full_inputs) -} - -// .flyteidl.core.LiteralMap full_outputs = 4; -inline bool WorkflowExecutionGetDataResponse::has_full_outputs() const { - return this != internal_default_instance() && full_outputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& WorkflowExecutionGetDataResponse::full_outputs() const { - const ::flyteidl::core::LiteralMap* p = full_outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetDataResponse.full_outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* WorkflowExecutionGetDataResponse::release_full_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetDataResponse.full_outputs) - - ::flyteidl::core::LiteralMap* temp = full_outputs_; - full_outputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* WorkflowExecutionGetDataResponse::mutable_full_outputs() { - - if (full_outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - full_outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetDataResponse.full_outputs) - return full_outputs_; -} -inline void WorkflowExecutionGetDataResponse::set_allocated_full_outputs(::flyteidl::core::LiteralMap* full_outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(full_outputs_); - } - if (full_outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - full_outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, full_outputs, submessage_arena); - } - - } else { - - } - full_outputs_ = full_outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetDataResponse.full_outputs) -} - -// ------------------------------------------------------------------- - -// ExecutionUpdateRequest - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool ExecutionUpdateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& ExecutionUpdateRequest::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionUpdateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionUpdateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionUpdateRequest.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionUpdateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionUpdateRequest.id) - return id_; -} -inline void ExecutionUpdateRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionUpdateRequest.id) -} - -// .flyteidl.admin.ExecutionState state = 2; -inline void ExecutionUpdateRequest::clear_state() { - state_ = 0; -} -inline ::flyteidl::admin::ExecutionState ExecutionUpdateRequest::state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionUpdateRequest.state) - return static_cast< ::flyteidl::admin::ExecutionState >(state_); -} -inline void ExecutionUpdateRequest::set_state(::flyteidl::admin::ExecutionState value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionUpdateRequest.state) -} - -// ------------------------------------------------------------------- - -// ExecutionStateChangeDetails - -// .flyteidl.admin.ExecutionState state = 1; -inline void ExecutionStateChangeDetails::clear_state() { - state_ = 0; -} -inline ::flyteidl::admin::ExecutionState ExecutionStateChangeDetails::state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionStateChangeDetails.state) - return static_cast< ::flyteidl::admin::ExecutionState >(state_); -} -inline void ExecutionStateChangeDetails::set_state(::flyteidl::admin::ExecutionState value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionStateChangeDetails.state) -} - -// .google.protobuf.Timestamp occurred_at = 2; -inline bool ExecutionStateChangeDetails::has_occurred_at() const { - return this != internal_default_instance() && occurred_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& ExecutionStateChangeDetails::occurred_at() const { - const ::google::protobuf::Timestamp* p = occurred_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionStateChangeDetails.occurred_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* ExecutionStateChangeDetails::release_occurred_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionStateChangeDetails.occurred_at) - - ::google::protobuf::Timestamp* temp = occurred_at_; - occurred_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* ExecutionStateChangeDetails::mutable_occurred_at() { - - if (occurred_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - occurred_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionStateChangeDetails.occurred_at) - return occurred_at_; -} -inline void ExecutionStateChangeDetails::set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(occurred_at_); - } - if (occurred_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(occurred_at)->GetArena(); - if (message_arena != submessage_arena) { - occurred_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, occurred_at, submessage_arena); - } - - } else { - - } - occurred_at_ = occurred_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionStateChangeDetails.occurred_at) -} - -// string principal = 3; -inline void ExecutionStateChangeDetails::clear_principal() { - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionStateChangeDetails::principal() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionStateChangeDetails.principal) - return principal_.GetNoArena(); -} -inline void ExecutionStateChangeDetails::set_principal(const ::std::string& value) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionStateChangeDetails.principal) -} -#if LANG_CXX11 -inline void ExecutionStateChangeDetails::set_principal(::std::string&& value) { - - principal_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionStateChangeDetails.principal) -} -#endif -inline void ExecutionStateChangeDetails::set_principal(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionStateChangeDetails.principal) -} -inline void ExecutionStateChangeDetails::set_principal(const char* value, size_t size) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionStateChangeDetails.principal) -} -inline ::std::string* ExecutionStateChangeDetails::mutable_principal() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionStateChangeDetails.principal) - return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionStateChangeDetails::release_principal() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionStateChangeDetails.principal) - - return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionStateChangeDetails::set_allocated_principal(::std::string* principal) { - if (principal != nullptr) { - - } else { - - } - principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionStateChangeDetails.principal) -} - -// ------------------------------------------------------------------- - -// ExecutionUpdateResponse - -// ------------------------------------------------------------------- - -// WorkflowExecutionGetMetricsRequest - -// .flyteidl.core.WorkflowExecutionIdentifier id = 1; -inline bool WorkflowExecutionGetMetricsRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& WorkflowExecutionGetMetricsRequest::id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetMetricsRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetMetricsRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) - return id_; -} -inline void WorkflowExecutionGetMetricsRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) -} - -// int32 depth = 2; -inline void WorkflowExecutionGetMetricsRequest::clear_depth() { - depth_ = 0; -} -inline ::google::protobuf::int32 WorkflowExecutionGetMetricsRequest::depth() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetMetricsRequest.depth) - return depth_; -} -inline void WorkflowExecutionGetMetricsRequest::set_depth(::google::protobuf::int32 value) { - - depth_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowExecutionGetMetricsRequest.depth) -} - -// ------------------------------------------------------------------- - -// WorkflowExecutionGetMetricsResponse - -// .flyteidl.core.Span span = 1; -inline bool WorkflowExecutionGetMetricsResponse::has_span() const { - return this != internal_default_instance() && span_ != nullptr; -} -inline const ::flyteidl::core::Span& WorkflowExecutionGetMetricsResponse::span() const { - const ::flyteidl::core::Span* p = span_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Span_default_instance_); -} -inline ::flyteidl::core::Span* WorkflowExecutionGetMetricsResponse::release_span() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) - - ::flyteidl::core::Span* temp = span_; - span_ = nullptr; - return temp; -} -inline ::flyteidl::core::Span* WorkflowExecutionGetMetricsResponse::mutable_span() { - - if (span_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Span>(GetArenaNoVirtual()); - span_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) - return span_; -} -inline void WorkflowExecutionGetMetricsResponse::set_allocated_span(::flyteidl::core::Span* span) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(span_); - } - if (span) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - span = ::google::protobuf::internal::GetOwnedMessage( - message_arena, span, submessage_arena); - } - - } else { - - } - span_ = span; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::ExecutionMetadata_ExecutionMode> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::ExecutionMetadata_ExecutionMode>() { - return ::flyteidl::admin::ExecutionMetadata_ExecutionMode_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::admin::ExecutionState> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::ExecutionState>() { - return ::flyteidl::admin::ExecutionState_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fexecution_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.grpc.pb.cc deleted file mode 100644 index 9b9cda22fd..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/launch_plan.proto - -#include "flyteidl/admin/launch_plan.pb.h" -#include "flyteidl/admin/launch_plan.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.grpc.pb.h deleted file mode 100644 index 31b99cb08b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/launch_plan.proto -#ifndef GRPC_flyteidl_2fadmin_2flaunch_5fplan_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2flaunch_5fplan_2eproto__INCLUDED - -#include "flyteidl/admin/launch_plan.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2flaunch_5fplan_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc deleted file mode 100644 index d02760dfd5..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc +++ /dev/null @@ -1,6104 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/launch_plan.proto - -#include "flyteidl/admin/launch_plan.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<13> scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fschedule_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fany_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Any_google_2fprotobuf_2fany_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto; -namespace flyteidl { -namespace admin { -class LaunchPlanCreateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanCreateRequest_default_instance_; -class LaunchPlanCreateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanCreateResponse_default_instance_; -class LaunchPlanDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlan_default_instance_; -class LaunchPlanListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanList_default_instance_; -class AuthDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Auth_default_instance_; -class LaunchPlanSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanSpec_default_instance_; -class LaunchPlanClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanClosure_default_instance_; -class LaunchPlanMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanMetadata_default_instance_; -class LaunchPlanUpdateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanUpdateRequest_default_instance_; -class LaunchPlanUpdateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LaunchPlanUpdateResponse_default_instance_; -class ActiveLaunchPlanRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ActiveLaunchPlanRequest_default_instance_; -class ActiveLaunchPlanListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ActiveLaunchPlanListRequest_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsLaunchPlanCreateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanCreateRequest_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanCreateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanCreateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_LaunchPlanCreateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsLaunchPlanCreateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base,}}; - -static void InitDefaultsLaunchPlanCreateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanCreateResponse_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanCreateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanCreateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_LaunchPlanCreateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLaunchPlanCreateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, {}}; - -static void InitDefaultsLaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlan_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlan(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlan::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsLaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base, - &scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base,}}; - -static void InitDefaultsLaunchPlanList_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanList_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_LaunchPlanList_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLaunchPlanList_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base,}}; - -static void InitDefaultsAuth_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Auth_default_instance_; - new (ptr) ::flyteidl::admin::Auth(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Auth::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAuth_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, {}}; - -static void InitDefaultsLaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanSpec_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<13> scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 13, InitDefaultsLaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base, - &scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base, - &scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base, - &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base, - &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsLaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanClosure_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsLaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsLaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanMetadata_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsLaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto.base, - &scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Any_google_2fprotobuf_2fany_2eproto.base,}}; - -static void InitDefaultsLaunchPlanUpdateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanUpdateRequest_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanUpdateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanUpdateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_LaunchPlanUpdateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLaunchPlanUpdateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsLaunchPlanUpdateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_LaunchPlanUpdateResponse_default_instance_; - new (ptr) ::flyteidl::admin::LaunchPlanUpdateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::LaunchPlanUpdateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_LaunchPlanUpdateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLaunchPlanUpdateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, {}}; - -static void InitDefaultsActiveLaunchPlanRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ActiveLaunchPlanRequest_default_instance_; - new (ptr) ::flyteidl::admin::ActiveLaunchPlanRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ActiveLaunchPlanRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ActiveLaunchPlanRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsActiveLaunchPlanRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsActiveLaunchPlanListRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ActiveLaunchPlanListRequest_default_instance_; - new (ptr) ::flyteidl::admin::ActiveLaunchPlanListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ActiveLaunchPlanListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ActiveLaunchPlanListRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsActiveLaunchPlanListRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanCreateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanCreateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanList_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanUpdateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LaunchPlanUpdateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ActiveLaunchPlanRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ActiveLaunchPlanListRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[12]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanCreateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanCreateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanCreateRequest, spec_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanCreateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlan, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlan, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlan, spec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlan, closure_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanList, launch_plans_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Auth, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Auth, assumable_iam_role_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Auth, kubernetes_service_account_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, workflow_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, entity_metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, default_inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, fixed_inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, role_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, labels_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, annotations_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, auth_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, auth_role_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, security_context_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, quality_of_service_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, raw_output_data_config_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, max_parallelism_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, interruptible_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, overwrite_cache_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, envs_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanClosure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanClosure, state_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanClosure, expected_inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanClosure, expected_outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanClosure, created_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanClosure, updated_at_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanMetadata, schedule_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanMetadata, notifications_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanMetadata, launch_conditions_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanUpdateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanUpdateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanUpdateRequest, state_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanUpdateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanListRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanListRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanListRequest, sort_by_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ActiveLaunchPlanListRequest, org_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::LaunchPlanCreateRequest)}, - { 7, -1, sizeof(::flyteidl::admin::LaunchPlanCreateResponse)}, - { 12, -1, sizeof(::flyteidl::admin::LaunchPlan)}, - { 20, -1, sizeof(::flyteidl::admin::LaunchPlanList)}, - { 27, -1, sizeof(::flyteidl::admin::Auth)}, - { 34, -1, sizeof(::flyteidl::admin::LaunchPlanSpec)}, - { 55, -1, sizeof(::flyteidl::admin::LaunchPlanClosure)}, - { 65, -1, sizeof(::flyteidl::admin::LaunchPlanMetadata)}, - { 73, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateRequest)}, - { 80, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateResponse)}, - { 85, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanRequest)}, - { 91, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanListRequest)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_LaunchPlanCreateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlanCreateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlan_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlanList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Auth_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlanSpec_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlanClosure_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlanMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlanUpdateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_LaunchPlanUpdateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ActiveLaunchPlanRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ActiveLaunchPlanListRequest_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto, "flyteidl/admin/launch_plan.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto, 12, file_level_enum_descriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto[] = - "\n flyteidl/admin/launch_plan.proto\022\016flyt" - "eidl.admin\032\035flyteidl/core/execution.prot" - "o\032\034flyteidl/core/literals.proto\032\036flyteid" - "l/core/identifier.proto\032\035flyteidl/core/i" - "nterface.proto\032\034flyteidl/core/security.p" - "roto\032\035flyteidl/admin/schedule.proto\032\033fly" - "teidl/admin/common.proto\032\031google/protobu" - "f/any.proto\032\037google/protobuf/timestamp.p" - "roto\032\036google/protobuf/wrappers.proto\"n\n\027" - "LaunchPlanCreateRequest\022%\n\002id\030\001 \001(\0132\031.fl" - "yteidl.core.Identifier\022,\n\004spec\030\002 \001(\0132\036.f" - "lyteidl.admin.LaunchPlanSpec\"\032\n\030LaunchPl" - "anCreateResponse\"\225\001\n\nLaunchPlan\022%\n\002id\030\001 " - "\001(\0132\031.flyteidl.core.Identifier\022,\n\004spec\030\002" - " \001(\0132\036.flyteidl.admin.LaunchPlanSpec\0222\n\007" - "closure\030\003 \001(\0132!.flyteidl.admin.LaunchPla" - "nClosure\"Q\n\016LaunchPlanList\0220\n\014launch_pla" - "ns\030\001 \003(\0132\032.flyteidl.admin.LaunchPlan\022\r\n\005" - "token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assumable_iam_rol" - "e\030\001 \001(\t\022\"\n\032kubernetes_service_account\030\002 " - "\001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022.\n\013workflow_i" - "d\030\001 \001(\0132\031.flyteidl.core.Identifier\022;\n\017en" - "tity_metadata\030\002 \001(\0132\".flyteidl.admin.Lau" - "nchPlanMetadata\0223\n\016default_inputs\030\003 \001(\0132" - "\033.flyteidl.core.ParameterMap\022/\n\014fixed_in" - "puts\030\004 \001(\0132\031.flyteidl.core.LiteralMap\022\020\n" - "\004role\030\005 \001(\tB\002\030\001\022&\n\006labels\030\006 \001(\0132\026.flytei" - "dl.admin.Labels\0220\n\013annotations\030\007 \001(\0132\033.f" - "lyteidl.admin.Annotations\022&\n\004auth\030\010 \001(\0132" - "\024.flyteidl.admin.AuthB\002\030\001\022/\n\tauth_role\030\t" - " \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001\0228\n\020se" - "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" - "urityContext\022;\n\022quality_of_service\030\020 \001(\013" - "2\037.flyteidl.core.QualityOfService\022C\n\026raw" - "_output_data_config\030\021 \001(\0132#.flyteidl.adm" - "in.RawOutputDataConfig\022\027\n\017max_parallelis" - "m\030\022 \001(\005\0221\n\rinterruptible\030\023 \001(\0132\032.google." - "protobuf.BoolValue\022\027\n\017overwrite_cache\030\024 " - "\001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteidl.admin.Envs\"" - "\217\002\n\021LaunchPlanClosure\022.\n\005state\030\001 \001(\0162\037.f" - "lyteidl.admin.LaunchPlanState\0224\n\017expecte" - "d_inputs\030\002 \001(\0132\033.flyteidl.core.Parameter" - "Map\0224\n\020expected_outputs\030\003 \001(\0132\032.flyteidl" - ".core.VariableMap\022.\n\ncreated_at\030\004 \001(\0132\032." - "google.protobuf.Timestamp\022.\n\nupdated_at\030" - "\005 \001(\0132\032.google.protobuf.Timestamp\"\246\001\n\022La" - "unchPlanMetadata\022*\n\010schedule\030\001 \001(\0132\030.fly" - "teidl.admin.Schedule\0223\n\rnotifications\030\002 " - "\003(\0132\034.flyteidl.admin.Notification\022/\n\021lau" - "nch_conditions\030\003 \001(\0132\024.google.protobuf.A" - "ny\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001 \001(" - "\0132\031.flyteidl.core.Identifier\022.\n\005state\030\002 " - "\001(\0162\037.flyteidl.admin.LaunchPlanState\"\032\n\030" - "LaunchPlanUpdateResponse\"L\n\027ActiveLaunch" - "PlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.admin" - ".NamedEntityIdentifier\"\220\001\n\033ActiveLaunchP" - "lanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domai" - "n\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022%\n" - "\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort\022\013\n\003" - "org\030\006 \001(\t*+\n\017LaunchPlanState\022\014\n\010INACTIVE" - "\020\000\022\n\n\006ACTIVE\020\001B=Z;github.com/flyteorg/fl" - "yte/flyteidl/gen/pb-go/flyteidl/adminb\006p" - "roto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2flaunch_5fplan_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto, - "flyteidl/admin/launch_plan.proto", &assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, 2485, -}; - -void AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[10] = - { - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2finterface_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fschedule_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - ::AddDescriptors_google_2fprotobuf_2fany_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - ::AddDescriptors_google_2fprotobuf_2fwrappers_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, deps, 10); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2flaunch_5fplan_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* LaunchPlanState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto[0]; -} -bool LaunchPlanState_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - - -// =================================================================== - -void LaunchPlanCreateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_LaunchPlanCreateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanCreateRequest_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::admin::LaunchPlanSpec*>( - ::flyteidl::admin::LaunchPlanSpec::internal_default_instance()); -} -class LaunchPlanCreateRequest::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const LaunchPlanCreateRequest* msg); - static const ::flyteidl::admin::LaunchPlanSpec& spec(const LaunchPlanCreateRequest* msg); -}; - -const ::flyteidl::core::Identifier& -LaunchPlanCreateRequest::HasBitSetters::id(const LaunchPlanCreateRequest* msg) { - return *msg->id_; -} -const ::flyteidl::admin::LaunchPlanSpec& -LaunchPlanCreateRequest::HasBitSetters::spec(const LaunchPlanCreateRequest* msg) { - return *msg->spec_; -} -void LaunchPlanCreateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LaunchPlanCreateRequest::kIdFieldNumber; -const int LaunchPlanCreateRequest::kSpecFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanCreateRequest::LaunchPlanCreateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanCreateRequest) -} -LaunchPlanCreateRequest::LaunchPlanCreateRequest(const LaunchPlanCreateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_spec()) { - spec_ = new ::flyteidl::admin::LaunchPlanSpec(*from.spec_); - } else { - spec_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanCreateRequest) -} - -void LaunchPlanCreateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LaunchPlanCreateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&spec_) - - reinterpret_cast(&id_)) + sizeof(spec_)); -} - -LaunchPlanCreateRequest::~LaunchPlanCreateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanCreateRequest) - SharedDtor(); -} - -void LaunchPlanCreateRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete spec_; -} - -void LaunchPlanCreateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanCreateRequest& LaunchPlanCreateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanCreateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LaunchPlanCreateRequest::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.admin.LaunchPlanSpec spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::LaunchPlanSpec::_InternalParse; - object = msg->mutable_spec(); - 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 LaunchPlanCreateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanCreateRequest) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_spec())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanCreateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanCreateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanCreateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - if (this->has_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::spec(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanCreateRequest) -} - -::google::protobuf::uint8* LaunchPlanCreateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - if (this->has_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::spec(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanCreateRequest) - return target; -} - -size_t LaunchPlanCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanCreateRequest) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - if (this->has_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *spec_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LaunchPlanCreateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanCreateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanCreateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanCreateRequest) - MergeFrom(*source); - } -} - -void LaunchPlanCreateRequest::MergeFrom(const LaunchPlanCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanCreateRequest) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_spec()) { - mutable_spec()->::flyteidl::admin::LaunchPlanSpec::MergeFrom(from.spec()); - } -} - -void LaunchPlanCreateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanCreateRequest::CopyFrom(const LaunchPlanCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanCreateRequest::IsInitialized() const { - return true; -} - -void LaunchPlanCreateRequest::Swap(LaunchPlanCreateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanCreateRequest::InternalSwap(LaunchPlanCreateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(spec_, other->spec_); -} - -::google::protobuf::Metadata LaunchPlanCreateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlanCreateResponse::InitAsDefaultInstance() { -} -class LaunchPlanCreateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanCreateResponse::LaunchPlanCreateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanCreateResponse) -} -LaunchPlanCreateResponse::LaunchPlanCreateResponse(const LaunchPlanCreateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanCreateResponse) -} - -void LaunchPlanCreateResponse::SharedCtor() { -} - -LaunchPlanCreateResponse::~LaunchPlanCreateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanCreateResponse) - SharedDtor(); -} - -void LaunchPlanCreateResponse::SharedDtor() { -} - -void LaunchPlanCreateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanCreateResponse& LaunchPlanCreateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanCreateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanCreateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanCreateResponse) - ::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* LaunchPlanCreateResponse::_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 LaunchPlanCreateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanCreateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanCreateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanCreateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanCreateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanCreateResponse) -} - -::google::protobuf::uint8* LaunchPlanCreateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanCreateResponse) - return target; -} - -size_t LaunchPlanCreateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanCreateResponse) - 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 LaunchPlanCreateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanCreateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanCreateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanCreateResponse) - MergeFrom(*source); - } -} - -void LaunchPlanCreateResponse::MergeFrom(const LaunchPlanCreateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void LaunchPlanCreateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanCreateResponse::CopyFrom(const LaunchPlanCreateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanCreateResponse::IsInitialized() const { - return true; -} - -void LaunchPlanCreateResponse::Swap(LaunchPlanCreateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanCreateResponse::InternalSwap(LaunchPlanCreateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata LaunchPlanCreateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlan::InitAsDefaultInstance() { - ::flyteidl::admin::_LaunchPlan_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_LaunchPlan_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::admin::LaunchPlanSpec*>( - ::flyteidl::admin::LaunchPlanSpec::internal_default_instance()); - ::flyteidl::admin::_LaunchPlan_default_instance_._instance.get_mutable()->closure_ = const_cast< ::flyteidl::admin::LaunchPlanClosure*>( - ::flyteidl::admin::LaunchPlanClosure::internal_default_instance()); -} -class LaunchPlan::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const LaunchPlan* msg); - static const ::flyteidl::admin::LaunchPlanSpec& spec(const LaunchPlan* msg); - static const ::flyteidl::admin::LaunchPlanClosure& closure(const LaunchPlan* msg); -}; - -const ::flyteidl::core::Identifier& -LaunchPlan::HasBitSetters::id(const LaunchPlan* msg) { - return *msg->id_; -} -const ::flyteidl::admin::LaunchPlanSpec& -LaunchPlan::HasBitSetters::spec(const LaunchPlan* msg) { - return *msg->spec_; -} -const ::flyteidl::admin::LaunchPlanClosure& -LaunchPlan::HasBitSetters::closure(const LaunchPlan* msg) { - return *msg->closure_; -} -void LaunchPlan::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LaunchPlan::kIdFieldNumber; -const int LaunchPlan::kSpecFieldNumber; -const int LaunchPlan::kClosureFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlan::LaunchPlan() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlan) -} -LaunchPlan::LaunchPlan(const LaunchPlan& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_spec()) { - spec_ = new ::flyteidl::admin::LaunchPlanSpec(*from.spec_); - } else { - spec_ = nullptr; - } - if (from.has_closure()) { - closure_ = new ::flyteidl::admin::LaunchPlanClosure(*from.closure_); - } else { - closure_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlan) -} - -void LaunchPlan::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&closure_) - - reinterpret_cast(&id_)) + sizeof(closure_)); -} - -LaunchPlan::~LaunchPlan() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlan) - SharedDtor(); -} - -void LaunchPlan::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete spec_; - if (this != internal_default_instance()) delete closure_; -} - -void LaunchPlan::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlan& LaunchPlan::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlan::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlan) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LaunchPlan::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.admin.LaunchPlanSpec spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::LaunchPlanSpec::_InternalParse; - object = msg->mutable_spec(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.LaunchPlanClosure closure = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::LaunchPlanClosure::_InternalParse; - object = msg->mutable_closure(); - 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 LaunchPlan::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlan) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_spec())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.LaunchPlanClosure closure = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_closure())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlan) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlan) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlan::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlan) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - if (this->has_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::spec(this), output); - } - - // .flyteidl.admin.LaunchPlanClosure closure = 3; - if (this->has_closure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::closure(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlan) -} - -::google::protobuf::uint8* LaunchPlan::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlan) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - if (this->has_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::spec(this), target); - } - - // .flyteidl.admin.LaunchPlanClosure closure = 3; - if (this->has_closure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::closure(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlan) - return target; -} - -size_t LaunchPlan::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlan) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - if (this->has_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *spec_); - } - - // .flyteidl.admin.LaunchPlanClosure closure = 3; - if (this->has_closure()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *closure_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LaunchPlan::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlan) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlan* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlan) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlan) - MergeFrom(*source); - } -} - -void LaunchPlan::MergeFrom(const LaunchPlan& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlan) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_spec()) { - mutable_spec()->::flyteidl::admin::LaunchPlanSpec::MergeFrom(from.spec()); - } - if (from.has_closure()) { - mutable_closure()->::flyteidl::admin::LaunchPlanClosure::MergeFrom(from.closure()); - } -} - -void LaunchPlan::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlan) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlan::CopyFrom(const LaunchPlan& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlan) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlan::IsInitialized() const { - return true; -} - -void LaunchPlan::Swap(LaunchPlan* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlan::InternalSwap(LaunchPlan* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(spec_, other->spec_); - swap(closure_, other->closure_); -} - -::google::protobuf::Metadata LaunchPlan::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlanList::InitAsDefaultInstance() { -} -class LaunchPlanList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LaunchPlanList::kLaunchPlansFieldNumber; -const int LaunchPlanList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanList::LaunchPlanList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanList) -} -LaunchPlanList::LaunchPlanList(const LaunchPlanList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - launch_plans_(from.launch_plans_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanList) -} - -void LaunchPlanList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LaunchPlanList_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -LaunchPlanList::~LaunchPlanList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanList) - SharedDtor(); -} - -void LaunchPlanList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void LaunchPlanList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanList& LaunchPlanList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanList_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - launch_plans_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LaunchPlanList::_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.admin.LaunchPlan launch_plans = 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::admin::LaunchPlan::_InternalParse; - object = msg->add_launch_plans(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.LaunchPlanList.token"); - object = msg->mutable_token(); - 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 LaunchPlanList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanList) - 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.admin.LaunchPlan launch_plans = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_launch_plans())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.LaunchPlanList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - for (unsigned int i = 0, - n = static_cast(this->launch_plans_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->launch_plans(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.LaunchPlanList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanList) -} - -::google::protobuf::uint8* LaunchPlanList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - for (unsigned int i = 0, - n = static_cast(this->launch_plans_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->launch_plans(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.LaunchPlanList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanList) - return target; -} - -size_t LaunchPlanList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanList) - 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.admin.LaunchPlan launch_plans = 1; - { - unsigned int count = static_cast(this->launch_plans_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->launch_plans(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LaunchPlanList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanList) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanList) - MergeFrom(*source); - } -} - -void LaunchPlanList::MergeFrom(const LaunchPlanList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - launch_plans_.MergeFrom(from.launch_plans_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void LaunchPlanList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanList::CopyFrom(const LaunchPlanList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanList::IsInitialized() const { - return true; -} - -void LaunchPlanList::Swap(LaunchPlanList* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanList::InternalSwap(LaunchPlanList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&launch_plans_)->InternalSwap(CastToBase(&other->launch_plans_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata LaunchPlanList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Auth::InitAsDefaultInstance() { -} -class Auth::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Auth::kAssumableIamRoleFieldNumber; -const int Auth::kKubernetesServiceAccountFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Auth::Auth() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Auth) -} -Auth::Auth(const Auth& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - assumable_iam_role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.assumable_iam_role().size() > 0) { - assumable_iam_role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.assumable_iam_role_); - } - kubernetes_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.kubernetes_service_account().size() > 0) { - kubernetes_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.kubernetes_service_account_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Auth) -} - -void Auth::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - assumable_iam_role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kubernetes_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Auth::~Auth() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Auth) - SharedDtor(); -} - -void Auth::SharedDtor() { - assumable_iam_role_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kubernetes_service_account_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Auth::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Auth& Auth::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void Auth::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Auth) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - assumable_iam_role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kubernetes_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Auth::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string assumable_iam_role = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Auth.assumable_iam_role"); - object = msg->mutable_assumable_iam_role(); - 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 kubernetes_service_account = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Auth.kubernetes_service_account"); - object = msg->mutable_kubernetes_service_account(); - 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 Auth::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Auth) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string assumable_iam_role = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_assumable_iam_role())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->assumable_iam_role().data(), static_cast(this->assumable_iam_role().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Auth.assumable_iam_role")); - } else { - goto handle_unusual; - } - break; - } - - // string kubernetes_service_account = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_kubernetes_service_account())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kubernetes_service_account().data(), static_cast(this->kubernetes_service_account().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Auth.kubernetes_service_account")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Auth) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Auth) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Auth::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Auth) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string assumable_iam_role = 1; - if (this->assumable_iam_role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->assumable_iam_role().data(), static_cast(this->assumable_iam_role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Auth.assumable_iam_role"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->assumable_iam_role(), output); - } - - // string kubernetes_service_account = 2; - if (this->kubernetes_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kubernetes_service_account().data(), static_cast(this->kubernetes_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Auth.kubernetes_service_account"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->kubernetes_service_account(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Auth) -} - -::google::protobuf::uint8* Auth::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Auth) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string assumable_iam_role = 1; - if (this->assumable_iam_role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->assumable_iam_role().data(), static_cast(this->assumable_iam_role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Auth.assumable_iam_role"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->assumable_iam_role(), target); - } - - // string kubernetes_service_account = 2; - if (this->kubernetes_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kubernetes_service_account().data(), static_cast(this->kubernetes_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Auth.kubernetes_service_account"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->kubernetes_service_account(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Auth) - return target; -} - -size_t Auth::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Auth) - 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 assumable_iam_role = 1; - if (this->assumable_iam_role().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->assumable_iam_role()); - } - - // string kubernetes_service_account = 2; - if (this->kubernetes_service_account().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->kubernetes_service_account()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Auth::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Auth) - GOOGLE_DCHECK_NE(&from, this); - const Auth* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Auth) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Auth) - MergeFrom(*source); - } -} - -void Auth::MergeFrom(const Auth& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Auth) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.assumable_iam_role().size() > 0) { - - assumable_iam_role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.assumable_iam_role_); - } - if (from.kubernetes_service_account().size() > 0) { - - kubernetes_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.kubernetes_service_account_); - } -} - -void Auth::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Auth) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Auth::CopyFrom(const Auth& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Auth) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Auth::IsInitialized() const { - return true; -} - -void Auth::Swap(Auth* other) { - if (other == this) return; - InternalSwap(other); -} -void Auth::InternalSwap(Auth* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - assumable_iam_role_.Swap(&other->assumable_iam_role_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - kubernetes_service_account_.Swap(&other->kubernetes_service_account_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Auth::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlanSpec::InitAsDefaultInstance() { - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->workflow_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->entity_metadata_ = const_cast< ::flyteidl::admin::LaunchPlanMetadata*>( - ::flyteidl::admin::LaunchPlanMetadata::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->default_inputs_ = const_cast< ::flyteidl::core::ParameterMap*>( - ::flyteidl::core::ParameterMap::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->fixed_inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->labels_ = const_cast< ::flyteidl::admin::Labels*>( - ::flyteidl::admin::Labels::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->annotations_ = const_cast< ::flyteidl::admin::Annotations*>( - ::flyteidl::admin::Annotations::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->auth_ = const_cast< ::flyteidl::admin::Auth*>( - ::flyteidl::admin::Auth::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->auth_role_ = const_cast< ::flyteidl::admin::AuthRole*>( - ::flyteidl::admin::AuthRole::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->security_context_ = const_cast< ::flyteidl::core::SecurityContext*>( - ::flyteidl::core::SecurityContext::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->quality_of_service_ = const_cast< ::flyteidl::core::QualityOfService*>( - ::flyteidl::core::QualityOfService::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->raw_output_data_config_ = const_cast< ::flyteidl::admin::RawOutputDataConfig*>( - ::flyteidl::admin::RawOutputDataConfig::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->interruptible_ = const_cast< ::google::protobuf::BoolValue*>( - ::google::protobuf::BoolValue::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->envs_ = const_cast< ::flyteidl::admin::Envs*>( - ::flyteidl::admin::Envs::internal_default_instance()); -} -class LaunchPlanSpec::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& workflow_id(const LaunchPlanSpec* msg); - static const ::flyteidl::admin::LaunchPlanMetadata& entity_metadata(const LaunchPlanSpec* msg); - static const ::flyteidl::core::ParameterMap& default_inputs(const LaunchPlanSpec* msg); - static const ::flyteidl::core::LiteralMap& fixed_inputs(const LaunchPlanSpec* msg); - static const ::flyteidl::admin::Labels& labels(const LaunchPlanSpec* msg); - static const ::flyteidl::admin::Annotations& annotations(const LaunchPlanSpec* msg); - static const ::flyteidl::admin::Auth& auth(const LaunchPlanSpec* msg); - static const ::flyteidl::admin::AuthRole& auth_role(const LaunchPlanSpec* msg); - static const ::flyteidl::core::SecurityContext& security_context(const LaunchPlanSpec* msg); - static const ::flyteidl::core::QualityOfService& quality_of_service(const LaunchPlanSpec* msg); - static const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config(const LaunchPlanSpec* msg); - static const ::google::protobuf::BoolValue& interruptible(const LaunchPlanSpec* msg); - static const ::flyteidl::admin::Envs& envs(const LaunchPlanSpec* msg); -}; - -const ::flyteidl::core::Identifier& -LaunchPlanSpec::HasBitSetters::workflow_id(const LaunchPlanSpec* msg) { - return *msg->workflow_id_; -} -const ::flyteidl::admin::LaunchPlanMetadata& -LaunchPlanSpec::HasBitSetters::entity_metadata(const LaunchPlanSpec* msg) { - return *msg->entity_metadata_; -} -const ::flyteidl::core::ParameterMap& -LaunchPlanSpec::HasBitSetters::default_inputs(const LaunchPlanSpec* msg) { - return *msg->default_inputs_; -} -const ::flyteidl::core::LiteralMap& -LaunchPlanSpec::HasBitSetters::fixed_inputs(const LaunchPlanSpec* msg) { - return *msg->fixed_inputs_; -} -const ::flyteidl::admin::Labels& -LaunchPlanSpec::HasBitSetters::labels(const LaunchPlanSpec* msg) { - return *msg->labels_; -} -const ::flyteidl::admin::Annotations& -LaunchPlanSpec::HasBitSetters::annotations(const LaunchPlanSpec* msg) { - return *msg->annotations_; -} -const ::flyteidl::admin::Auth& -LaunchPlanSpec::HasBitSetters::auth(const LaunchPlanSpec* msg) { - return *msg->auth_; -} -const ::flyteidl::admin::AuthRole& -LaunchPlanSpec::HasBitSetters::auth_role(const LaunchPlanSpec* msg) { - return *msg->auth_role_; -} -const ::flyteidl::core::SecurityContext& -LaunchPlanSpec::HasBitSetters::security_context(const LaunchPlanSpec* msg) { - return *msg->security_context_; -} -const ::flyteidl::core::QualityOfService& -LaunchPlanSpec::HasBitSetters::quality_of_service(const LaunchPlanSpec* msg) { - return *msg->quality_of_service_; -} -const ::flyteidl::admin::RawOutputDataConfig& -LaunchPlanSpec::HasBitSetters::raw_output_data_config(const LaunchPlanSpec* msg) { - return *msg->raw_output_data_config_; -} -const ::google::protobuf::BoolValue& -LaunchPlanSpec::HasBitSetters::interruptible(const LaunchPlanSpec* msg) { - return *msg->interruptible_; -} -const ::flyteidl::admin::Envs& -LaunchPlanSpec::HasBitSetters::envs(const LaunchPlanSpec* msg) { - return *msg->envs_; -} -void LaunchPlanSpec::clear_workflow_id() { - if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { - delete workflow_id_; - } - workflow_id_ = nullptr; -} -void LaunchPlanSpec::clear_default_inputs() { - if (GetArenaNoVirtual() == nullptr && default_inputs_ != nullptr) { - delete default_inputs_; - } - default_inputs_ = nullptr; -} -void LaunchPlanSpec::clear_fixed_inputs() { - if (GetArenaNoVirtual() == nullptr && fixed_inputs_ != nullptr) { - delete fixed_inputs_; - } - fixed_inputs_ = nullptr; -} -void LaunchPlanSpec::clear_labels() { - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; -} -void LaunchPlanSpec::clear_annotations() { - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; -} -void LaunchPlanSpec::clear_auth_role() { - if (GetArenaNoVirtual() == nullptr && auth_role_ != nullptr) { - delete auth_role_; - } - auth_role_ = nullptr; -} -void LaunchPlanSpec::clear_security_context() { - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; -} -void LaunchPlanSpec::clear_quality_of_service() { - if (GetArenaNoVirtual() == nullptr && quality_of_service_ != nullptr) { - delete quality_of_service_; - } - quality_of_service_ = nullptr; -} -void LaunchPlanSpec::clear_raw_output_data_config() { - if (GetArenaNoVirtual() == nullptr && raw_output_data_config_ != nullptr) { - delete raw_output_data_config_; - } - raw_output_data_config_ = nullptr; -} -void LaunchPlanSpec::clear_interruptible() { - if (GetArenaNoVirtual() == nullptr && interruptible_ != nullptr) { - delete interruptible_; - } - interruptible_ = nullptr; -} -void LaunchPlanSpec::clear_envs() { - if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { - delete envs_; - } - envs_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LaunchPlanSpec::kWorkflowIdFieldNumber; -const int LaunchPlanSpec::kEntityMetadataFieldNumber; -const int LaunchPlanSpec::kDefaultInputsFieldNumber; -const int LaunchPlanSpec::kFixedInputsFieldNumber; -const int LaunchPlanSpec::kRoleFieldNumber; -const int LaunchPlanSpec::kLabelsFieldNumber; -const int LaunchPlanSpec::kAnnotationsFieldNumber; -const int LaunchPlanSpec::kAuthFieldNumber; -const int LaunchPlanSpec::kAuthRoleFieldNumber; -const int LaunchPlanSpec::kSecurityContextFieldNumber; -const int LaunchPlanSpec::kQualityOfServiceFieldNumber; -const int LaunchPlanSpec::kRawOutputDataConfigFieldNumber; -const int LaunchPlanSpec::kMaxParallelismFieldNumber; -const int LaunchPlanSpec::kInterruptibleFieldNumber; -const int LaunchPlanSpec::kOverwriteCacheFieldNumber; -const int LaunchPlanSpec::kEnvsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanSpec::LaunchPlanSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanSpec) -} -LaunchPlanSpec::LaunchPlanSpec(const LaunchPlanSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.role().size() > 0) { - role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.role_); - } - if (from.has_workflow_id()) { - workflow_id_ = new ::flyteidl::core::Identifier(*from.workflow_id_); - } else { - workflow_id_ = nullptr; - } - if (from.has_entity_metadata()) { - entity_metadata_ = new ::flyteidl::admin::LaunchPlanMetadata(*from.entity_metadata_); - } else { - entity_metadata_ = nullptr; - } - if (from.has_default_inputs()) { - default_inputs_ = new ::flyteidl::core::ParameterMap(*from.default_inputs_); - } else { - default_inputs_ = nullptr; - } - if (from.has_fixed_inputs()) { - fixed_inputs_ = new ::flyteidl::core::LiteralMap(*from.fixed_inputs_); - } else { - fixed_inputs_ = nullptr; - } - if (from.has_labels()) { - labels_ = new ::flyteidl::admin::Labels(*from.labels_); - } else { - labels_ = nullptr; - } - if (from.has_annotations()) { - annotations_ = new ::flyteidl::admin::Annotations(*from.annotations_); - } else { - annotations_ = nullptr; - } - if (from.has_auth()) { - auth_ = new ::flyteidl::admin::Auth(*from.auth_); - } else { - auth_ = nullptr; - } - if (from.has_auth_role()) { - auth_role_ = new ::flyteidl::admin::AuthRole(*from.auth_role_); - } else { - auth_role_ = nullptr; - } - if (from.has_security_context()) { - security_context_ = new ::flyteidl::core::SecurityContext(*from.security_context_); - } else { - security_context_ = nullptr; - } - if (from.has_quality_of_service()) { - quality_of_service_ = new ::flyteidl::core::QualityOfService(*from.quality_of_service_); - } else { - quality_of_service_ = nullptr; - } - if (from.has_raw_output_data_config()) { - raw_output_data_config_ = new ::flyteidl::admin::RawOutputDataConfig(*from.raw_output_data_config_); - } else { - raw_output_data_config_ = nullptr; - } - if (from.has_interruptible()) { - interruptible_ = new ::google::protobuf::BoolValue(*from.interruptible_); - } else { - interruptible_ = nullptr; - } - if (from.has_envs()) { - envs_ = new ::flyteidl::admin::Envs(*from.envs_); - } else { - envs_ = nullptr; - } - ::memcpy(&max_parallelism_, &from.max_parallelism_, - static_cast(reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanSpec) -} - -void LaunchPlanSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&workflow_id_, 0, static_cast( - reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&workflow_id_)) + sizeof(overwrite_cache_)); -} - -LaunchPlanSpec::~LaunchPlanSpec() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanSpec) - SharedDtor(); -} - -void LaunchPlanSpec::SharedDtor() { - role_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete workflow_id_; - if (this != internal_default_instance()) delete entity_metadata_; - if (this != internal_default_instance()) delete default_inputs_; - if (this != internal_default_instance()) delete fixed_inputs_; - if (this != internal_default_instance()) delete labels_; - if (this != internal_default_instance()) delete annotations_; - if (this != internal_default_instance()) delete auth_; - if (this != internal_default_instance()) delete auth_role_; - if (this != internal_default_instance()) delete security_context_; - if (this != internal_default_instance()) delete quality_of_service_; - if (this != internal_default_instance()) delete raw_output_data_config_; - if (this != internal_default_instance()) delete interruptible_; - if (this != internal_default_instance()) delete envs_; -} - -void LaunchPlanSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanSpec& LaunchPlanSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { - delete workflow_id_; - } - workflow_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && entity_metadata_ != nullptr) { - delete entity_metadata_; - } - entity_metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && default_inputs_ != nullptr) { - delete default_inputs_; - } - default_inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && fixed_inputs_ != nullptr) { - delete fixed_inputs_; - } - fixed_inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; - if (GetArenaNoVirtual() == nullptr && auth_ != nullptr) { - delete auth_; - } - auth_ = nullptr; - if (GetArenaNoVirtual() == nullptr && auth_role_ != nullptr) { - delete auth_role_; - } - auth_role_ = nullptr; - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; - if (GetArenaNoVirtual() == nullptr && quality_of_service_ != nullptr) { - delete quality_of_service_; - } - quality_of_service_ = nullptr; - if (GetArenaNoVirtual() == nullptr && raw_output_data_config_ != nullptr) { - delete raw_output_data_config_; - } - raw_output_data_config_ = nullptr; - if (GetArenaNoVirtual() == nullptr && interruptible_ != nullptr) { - delete interruptible_; - } - interruptible_ = nullptr; - if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { - delete envs_; - } - envs_ = nullptr; - ::memset(&max_parallelism_, 0, static_cast( - reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LaunchPlanSpec::_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.Identifier workflow_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::Identifier::_InternalParse; - object = msg->mutable_workflow_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.admin.LaunchPlanMetadata entity_metadata = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::LaunchPlanMetadata::_InternalParse; - object = msg->mutable_entity_metadata(); - 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.ParameterMap default_inputs = 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::ParameterMap::_InternalParse; - object = msg->mutable_default_inputs(); - 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.LiteralMap fixed_inputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_fixed_inputs(); - 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 role = 5 [deprecated = true]; - 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.LaunchPlanSpec.role"); - object = msg->mutable_role(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Labels labels = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Labels::_InternalParse; - object = msg->mutable_labels(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.Annotations annotations = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Annotations::_InternalParse; - object = msg->mutable_annotations(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.Auth auth = 8 [deprecated = true]; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Auth::_InternalParse; - object = msg->mutable_auth(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::AuthRole::_InternalParse; - object = msg->mutable_auth_role(); - 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.SecurityContext security_context = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::SecurityContext::_InternalParse; - object = msg->mutable_security_context(); - 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.QualityOfService quality_of_service = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::QualityOfService::_InternalParse; - object = msg->mutable_quality_of_service(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 138) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::RawOutputDataConfig::_InternalParse; - object = msg->mutable_raw_output_data_config(); - 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; - } - // int32 max_parallelism = 18; - case 18: { - if (static_cast<::google::protobuf::uint8>(tag) != 144) goto handle_unusual; - msg->set_max_parallelism(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.BoolValue interruptible = 19; - case 19: { - if (static_cast<::google::protobuf::uint8>(tag) != 154) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::BoolValue::_InternalParse; - object = msg->mutable_interruptible(); - 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; - } - // bool overwrite_cache = 20; - case 20: { - if (static_cast<::google::protobuf::uint8>(tag) != 160) goto handle_unusual; - msg->set_overwrite_cache(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.Envs envs = 21; - case 21: { - if (static_cast<::google::protobuf::uint8>(tag) != 170) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Envs::_InternalParse; - object = msg->mutable_envs(); - 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 LaunchPlanSpec::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanSpec) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.core.Identifier workflow_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_entity_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ParameterMap default_inputs = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_default_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap fixed_inputs = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_fixed_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // string role = 5 [deprecated = true]; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_role())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->role().data(), static_cast(this->role().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.LaunchPlanSpec.role")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Labels labels = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_labels())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Annotations annotations = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_annotations())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Auth auth = 8 [deprecated = true]; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_auth())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_auth_role())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SecurityContext security_context = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_security_context())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.QualityOfService quality_of_service = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_quality_of_service())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (138 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_raw_output_data_config())); - } else { - goto handle_unusual; - } - break; - } - - // int32 max_parallelism = 18; - case 18: { - if (static_cast< ::google::protobuf::uint8>(tag) == (144 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_parallelism_))); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.BoolValue interruptible = 19; - case 19: { - if (static_cast< ::google::protobuf::uint8>(tag) == (154 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_interruptible())); - } else { - goto handle_unusual; - } - break; - } - - // bool overwrite_cache = 20; - case 20: { - if (static_cast< ::google::protobuf::uint8>(tag) == (160 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &overwrite_cache_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Envs envs = 21; - case 21: { - if (static_cast< ::google::protobuf::uint8>(tag) == (170 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_envs())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier workflow_id = 1; - if (this->has_workflow_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::workflow_id(this), output); - } - - // .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - if (this->has_entity_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::entity_metadata(this), output); - } - - // .flyteidl.core.ParameterMap default_inputs = 3; - if (this->has_default_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::default_inputs(this), output); - } - - // .flyteidl.core.LiteralMap fixed_inputs = 4; - if (this->has_fixed_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::fixed_inputs(this), output); - } - - // string role = 5 [deprecated = true]; - if (this->role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->role().data(), static_cast(this->role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.LaunchPlanSpec.role"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->role(), output); - } - - // .flyteidl.admin.Labels labels = 6; - if (this->has_labels()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::labels(this), output); - } - - // .flyteidl.admin.Annotations annotations = 7; - if (this->has_annotations()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::annotations(this), output); - } - - // .flyteidl.admin.Auth auth = 8 [deprecated = true]; - if (this->has_auth()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::auth(this), output); - } - - // .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - if (this->has_auth_role()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::auth_role(this), output); - } - - // .flyteidl.core.SecurityContext security_context = 10; - if (this->has_security_context()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, HasBitSetters::security_context(this), output); - } - - // .flyteidl.core.QualityOfService quality_of_service = 16; - if (this->has_quality_of_service()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 16, HasBitSetters::quality_of_service(this), output); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - if (this->has_raw_output_data_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 17, HasBitSetters::raw_output_data_config(this), output); - } - - // int32 max_parallelism = 18; - if (this->max_parallelism() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(18, this->max_parallelism(), output); - } - - // .google.protobuf.BoolValue interruptible = 19; - if (this->has_interruptible()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 19, HasBitSetters::interruptible(this), output); - } - - // bool overwrite_cache = 20; - if (this->overwrite_cache() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(20, this->overwrite_cache(), output); - } - - // .flyteidl.admin.Envs envs = 21; - if (this->has_envs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 21, HasBitSetters::envs(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanSpec) -} - -::google::protobuf::uint8* LaunchPlanSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier workflow_id = 1; - if (this->has_workflow_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::workflow_id(this), target); - } - - // .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - if (this->has_entity_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::entity_metadata(this), target); - } - - // .flyteidl.core.ParameterMap default_inputs = 3; - if (this->has_default_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::default_inputs(this), target); - } - - // .flyteidl.core.LiteralMap fixed_inputs = 4; - if (this->has_fixed_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::fixed_inputs(this), target); - } - - // string role = 5 [deprecated = true]; - if (this->role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->role().data(), static_cast(this->role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.LaunchPlanSpec.role"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->role(), target); - } - - // .flyteidl.admin.Labels labels = 6; - if (this->has_labels()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::labels(this), target); - } - - // .flyteidl.admin.Annotations annotations = 7; - if (this->has_annotations()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::annotations(this), target); - } - - // .flyteidl.admin.Auth auth = 8 [deprecated = true]; - if (this->has_auth()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::auth(this), target); - } - - // .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - if (this->has_auth_role()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::auth_role(this), target); - } - - // .flyteidl.core.SecurityContext security_context = 10; - if (this->has_security_context()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 10, HasBitSetters::security_context(this), target); - } - - // .flyteidl.core.QualityOfService quality_of_service = 16; - if (this->has_quality_of_service()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 16, HasBitSetters::quality_of_service(this), target); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - if (this->has_raw_output_data_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 17, HasBitSetters::raw_output_data_config(this), target); - } - - // int32 max_parallelism = 18; - if (this->max_parallelism() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(18, this->max_parallelism(), target); - } - - // .google.protobuf.BoolValue interruptible = 19; - if (this->has_interruptible()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 19, HasBitSetters::interruptible(this), target); - } - - // bool overwrite_cache = 20; - if (this->overwrite_cache() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(20, this->overwrite_cache(), target); - } - - // .flyteidl.admin.Envs envs = 21; - if (this->has_envs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 21, HasBitSetters::envs(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanSpec) - return target; -} - -size_t LaunchPlanSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanSpec) - 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 role = 5 [deprecated = true]; - if (this->role().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->role()); - } - - // .flyteidl.core.Identifier workflow_id = 1; - if (this->has_workflow_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *workflow_id_); - } - - // .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - if (this->has_entity_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *entity_metadata_); - } - - // .flyteidl.core.ParameterMap default_inputs = 3; - if (this->has_default_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *default_inputs_); - } - - // .flyteidl.core.LiteralMap fixed_inputs = 4; - if (this->has_fixed_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *fixed_inputs_); - } - - // .flyteidl.admin.Labels labels = 6; - if (this->has_labels()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *labels_); - } - - // .flyteidl.admin.Annotations annotations = 7; - if (this->has_annotations()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *annotations_); - } - - // .flyteidl.admin.Auth auth = 8 [deprecated = true]; - if (this->has_auth()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *auth_); - } - - // .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - if (this->has_auth_role()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *auth_role_); - } - - // .flyteidl.core.SecurityContext security_context = 10; - if (this->has_security_context()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *security_context_); - } - - // .flyteidl.core.QualityOfService quality_of_service = 16; - if (this->has_quality_of_service()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *quality_of_service_); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - if (this->has_raw_output_data_config()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *raw_output_data_config_); - } - - // .google.protobuf.BoolValue interruptible = 19; - if (this->has_interruptible()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *interruptible_); - } - - // .flyteidl.admin.Envs envs = 21; - if (this->has_envs()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *envs_); - } - - // int32 max_parallelism = 18; - if (this->max_parallelism() != 0) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_parallelism()); - } - - // bool overwrite_cache = 20; - if (this->overwrite_cache() != 0) { - total_size += 2 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LaunchPlanSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanSpec) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanSpec) - MergeFrom(*source); - } -} - -void LaunchPlanSpec::MergeFrom(const LaunchPlanSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.role().size() > 0) { - - role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.role_); - } - if (from.has_workflow_id()) { - mutable_workflow_id()->::flyteidl::core::Identifier::MergeFrom(from.workflow_id()); - } - if (from.has_entity_metadata()) { - mutable_entity_metadata()->::flyteidl::admin::LaunchPlanMetadata::MergeFrom(from.entity_metadata()); - } - if (from.has_default_inputs()) { - mutable_default_inputs()->::flyteidl::core::ParameterMap::MergeFrom(from.default_inputs()); - } - if (from.has_fixed_inputs()) { - mutable_fixed_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.fixed_inputs()); - } - if (from.has_labels()) { - mutable_labels()->::flyteidl::admin::Labels::MergeFrom(from.labels()); - } - if (from.has_annotations()) { - mutable_annotations()->::flyteidl::admin::Annotations::MergeFrom(from.annotations()); - } - if (from.has_auth()) { - mutable_auth()->::flyteidl::admin::Auth::MergeFrom(from.auth()); - } - if (from.has_auth_role()) { - mutable_auth_role()->::flyteidl::admin::AuthRole::MergeFrom(from.auth_role()); - } - if (from.has_security_context()) { - mutable_security_context()->::flyteidl::core::SecurityContext::MergeFrom(from.security_context()); - } - if (from.has_quality_of_service()) { - mutable_quality_of_service()->::flyteidl::core::QualityOfService::MergeFrom(from.quality_of_service()); - } - if (from.has_raw_output_data_config()) { - mutable_raw_output_data_config()->::flyteidl::admin::RawOutputDataConfig::MergeFrom(from.raw_output_data_config()); - } - if (from.has_interruptible()) { - mutable_interruptible()->::google::protobuf::BoolValue::MergeFrom(from.interruptible()); - } - if (from.has_envs()) { - mutable_envs()->::flyteidl::admin::Envs::MergeFrom(from.envs()); - } - if (from.max_parallelism() != 0) { - set_max_parallelism(from.max_parallelism()); - } - if (from.overwrite_cache() != 0) { - set_overwrite_cache(from.overwrite_cache()); - } -} - -void LaunchPlanSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanSpec::CopyFrom(const LaunchPlanSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanSpec::IsInitialized() const { - return true; -} - -void LaunchPlanSpec::Swap(LaunchPlanSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanSpec::InternalSwap(LaunchPlanSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - role_.Swap(&other->role_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(workflow_id_, other->workflow_id_); - swap(entity_metadata_, other->entity_metadata_); - swap(default_inputs_, other->default_inputs_); - swap(fixed_inputs_, other->fixed_inputs_); - swap(labels_, other->labels_); - swap(annotations_, other->annotations_); - swap(auth_, other->auth_); - swap(auth_role_, other->auth_role_); - swap(security_context_, other->security_context_); - swap(quality_of_service_, other->quality_of_service_); - swap(raw_output_data_config_, other->raw_output_data_config_); - swap(interruptible_, other->interruptible_); - swap(envs_, other->envs_); - swap(max_parallelism_, other->max_parallelism_); - swap(overwrite_cache_, other->overwrite_cache_); -} - -::google::protobuf::Metadata LaunchPlanSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlanClosure::InitAsDefaultInstance() { - ::flyteidl::admin::_LaunchPlanClosure_default_instance_._instance.get_mutable()->expected_inputs_ = const_cast< ::flyteidl::core::ParameterMap*>( - ::flyteidl::core::ParameterMap::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanClosure_default_instance_._instance.get_mutable()->expected_outputs_ = const_cast< ::flyteidl::core::VariableMap*>( - ::flyteidl::core::VariableMap::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanClosure_default_instance_._instance.get_mutable()->created_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanClosure_default_instance_._instance.get_mutable()->updated_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class LaunchPlanClosure::HasBitSetters { - public: - static const ::flyteidl::core::ParameterMap& expected_inputs(const LaunchPlanClosure* msg); - static const ::flyteidl::core::VariableMap& expected_outputs(const LaunchPlanClosure* msg); - static const ::google::protobuf::Timestamp& created_at(const LaunchPlanClosure* msg); - static const ::google::protobuf::Timestamp& updated_at(const LaunchPlanClosure* msg); -}; - -const ::flyteidl::core::ParameterMap& -LaunchPlanClosure::HasBitSetters::expected_inputs(const LaunchPlanClosure* msg) { - return *msg->expected_inputs_; -} -const ::flyteidl::core::VariableMap& -LaunchPlanClosure::HasBitSetters::expected_outputs(const LaunchPlanClosure* msg) { - return *msg->expected_outputs_; -} -const ::google::protobuf::Timestamp& -LaunchPlanClosure::HasBitSetters::created_at(const LaunchPlanClosure* msg) { - return *msg->created_at_; -} -const ::google::protobuf::Timestamp& -LaunchPlanClosure::HasBitSetters::updated_at(const LaunchPlanClosure* msg) { - return *msg->updated_at_; -} -void LaunchPlanClosure::clear_expected_inputs() { - if (GetArenaNoVirtual() == nullptr && expected_inputs_ != nullptr) { - delete expected_inputs_; - } - expected_inputs_ = nullptr; -} -void LaunchPlanClosure::clear_expected_outputs() { - if (GetArenaNoVirtual() == nullptr && expected_outputs_ != nullptr) { - delete expected_outputs_; - } - expected_outputs_ = nullptr; -} -void LaunchPlanClosure::clear_created_at() { - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; -} -void LaunchPlanClosure::clear_updated_at() { - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LaunchPlanClosure::kStateFieldNumber; -const int LaunchPlanClosure::kExpectedInputsFieldNumber; -const int LaunchPlanClosure::kExpectedOutputsFieldNumber; -const int LaunchPlanClosure::kCreatedAtFieldNumber; -const int LaunchPlanClosure::kUpdatedAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanClosure::LaunchPlanClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanClosure) -} -LaunchPlanClosure::LaunchPlanClosure(const LaunchPlanClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_expected_inputs()) { - expected_inputs_ = new ::flyteidl::core::ParameterMap(*from.expected_inputs_); - } else { - expected_inputs_ = nullptr; - } - if (from.has_expected_outputs()) { - expected_outputs_ = new ::flyteidl::core::VariableMap(*from.expected_outputs_); - } else { - expected_outputs_ = nullptr; - } - if (from.has_created_at()) { - created_at_ = new ::google::protobuf::Timestamp(*from.created_at_); - } else { - created_at_ = nullptr; - } - if (from.has_updated_at()) { - updated_at_ = new ::google::protobuf::Timestamp(*from.updated_at_); - } else { - updated_at_ = nullptr; - } - state_ = from.state_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanClosure) -} - -void LaunchPlanClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::memset(&expected_inputs_, 0, static_cast( - reinterpret_cast(&state_) - - reinterpret_cast(&expected_inputs_)) + sizeof(state_)); -} - -LaunchPlanClosure::~LaunchPlanClosure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanClosure) - SharedDtor(); -} - -void LaunchPlanClosure::SharedDtor() { - if (this != internal_default_instance()) delete expected_inputs_; - if (this != internal_default_instance()) delete expected_outputs_; - if (this != internal_default_instance()) delete created_at_; - if (this != internal_default_instance()) delete updated_at_; -} - -void LaunchPlanClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanClosure& LaunchPlanClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && expected_inputs_ != nullptr) { - delete expected_inputs_; - } - expected_inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && expected_outputs_ != nullptr) { - delete expected_outputs_; - } - expected_outputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; - state_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LaunchPlanClosure::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.LaunchPlanState state = 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_state(static_cast<::flyteidl::admin::LaunchPlanState>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.ParameterMap expected_inputs = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ParameterMap::_InternalParse; - object = msg->mutable_expected_inputs(); - 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.VariableMap expected_outputs = 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::VariableMap::_InternalParse; - object = msg->mutable_expected_outputs(); - 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; - } - // .google.protobuf.Timestamp created_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_created_at(); - 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; - } - // .google.protobuf.Timestamp updated_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_updated_at(); - 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 LaunchPlanClosure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanClosure) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.LaunchPlanState state = 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_state(static_cast< ::flyteidl::admin::LaunchPlanState >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ParameterMap expected_inputs = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expected_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.VariableMap expected_outputs = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expected_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp created_at = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_created_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp updated_at = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_updated_at())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.LaunchPlanState state = 1; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->state(), output); - } - - // .flyteidl.core.ParameterMap expected_inputs = 2; - if (this->has_expected_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::expected_inputs(this), output); - } - - // .flyteidl.core.VariableMap expected_outputs = 3; - if (this->has_expected_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::expected_outputs(this), output); - } - - // .google.protobuf.Timestamp created_at = 4; - if (this->has_created_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::created_at(this), output); - } - - // .google.protobuf.Timestamp updated_at = 5; - if (this->has_updated_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::updated_at(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanClosure) -} - -::google::protobuf::uint8* LaunchPlanClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.LaunchPlanState state = 1; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->state(), target); - } - - // .flyteidl.core.ParameterMap expected_inputs = 2; - if (this->has_expected_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::expected_inputs(this), target); - } - - // .flyteidl.core.VariableMap expected_outputs = 3; - if (this->has_expected_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::expected_outputs(this), target); - } - - // .google.protobuf.Timestamp created_at = 4; - if (this->has_created_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::created_at(this), target); - } - - // .google.protobuf.Timestamp updated_at = 5; - if (this->has_updated_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::updated_at(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanClosure) - return target; -} - -size_t LaunchPlanClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanClosure) - 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.ParameterMap expected_inputs = 2; - if (this->has_expected_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expected_inputs_); - } - - // .flyteidl.core.VariableMap expected_outputs = 3; - if (this->has_expected_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expected_outputs_); - } - - // .google.protobuf.Timestamp created_at = 4; - if (this->has_created_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *created_at_); - } - - // .google.protobuf.Timestamp updated_at = 5; - if (this->has_updated_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *updated_at_); - } - - // .flyteidl.admin.LaunchPlanState state = 1; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LaunchPlanClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanClosure) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanClosure) - MergeFrom(*source); - } -} - -void LaunchPlanClosure::MergeFrom(const LaunchPlanClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanClosure) - 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_expected_inputs()) { - mutable_expected_inputs()->::flyteidl::core::ParameterMap::MergeFrom(from.expected_inputs()); - } - if (from.has_expected_outputs()) { - mutable_expected_outputs()->::flyteidl::core::VariableMap::MergeFrom(from.expected_outputs()); - } - if (from.has_created_at()) { - mutable_created_at()->::google::protobuf::Timestamp::MergeFrom(from.created_at()); - } - if (from.has_updated_at()) { - mutable_updated_at()->::google::protobuf::Timestamp::MergeFrom(from.updated_at()); - } - if (from.state() != 0) { - set_state(from.state()); - } -} - -void LaunchPlanClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanClosure::CopyFrom(const LaunchPlanClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanClosure::IsInitialized() const { - return true; -} - -void LaunchPlanClosure::Swap(LaunchPlanClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanClosure::InternalSwap(LaunchPlanClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(expected_inputs_, other->expected_inputs_); - swap(expected_outputs_, other->expected_outputs_); - swap(created_at_, other->created_at_); - swap(updated_at_, other->updated_at_); - swap(state_, other->state_); -} - -::google::protobuf::Metadata LaunchPlanClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlanMetadata::InitAsDefaultInstance() { - ::flyteidl::admin::_LaunchPlanMetadata_default_instance_._instance.get_mutable()->schedule_ = const_cast< ::flyteidl::admin::Schedule*>( - ::flyteidl::admin::Schedule::internal_default_instance()); - ::flyteidl::admin::_LaunchPlanMetadata_default_instance_._instance.get_mutable()->launch_conditions_ = const_cast< ::google::protobuf::Any*>( - ::google::protobuf::Any::internal_default_instance()); -} -class LaunchPlanMetadata::HasBitSetters { - public: - static const ::flyteidl::admin::Schedule& schedule(const LaunchPlanMetadata* msg); - static const ::google::protobuf::Any& launch_conditions(const LaunchPlanMetadata* msg); -}; - -const ::flyteidl::admin::Schedule& -LaunchPlanMetadata::HasBitSetters::schedule(const LaunchPlanMetadata* msg) { - return *msg->schedule_; -} -const ::google::protobuf::Any& -LaunchPlanMetadata::HasBitSetters::launch_conditions(const LaunchPlanMetadata* msg) { - return *msg->launch_conditions_; -} -void LaunchPlanMetadata::clear_schedule() { - if (GetArenaNoVirtual() == nullptr && schedule_ != nullptr) { - delete schedule_; - } - schedule_ = nullptr; -} -void LaunchPlanMetadata::clear_notifications() { - notifications_.Clear(); -} -void LaunchPlanMetadata::clear_launch_conditions() { - if (GetArenaNoVirtual() == nullptr && launch_conditions_ != nullptr) { - delete launch_conditions_; - } - launch_conditions_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LaunchPlanMetadata::kScheduleFieldNumber; -const int LaunchPlanMetadata::kNotificationsFieldNumber; -const int LaunchPlanMetadata::kLaunchConditionsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanMetadata::LaunchPlanMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanMetadata) -} -LaunchPlanMetadata::LaunchPlanMetadata(const LaunchPlanMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - notifications_(from.notifications_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_schedule()) { - schedule_ = new ::flyteidl::admin::Schedule(*from.schedule_); - } else { - schedule_ = nullptr; - } - if (from.has_launch_conditions()) { - launch_conditions_ = new ::google::protobuf::Any(*from.launch_conditions_); - } else { - launch_conditions_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanMetadata) -} - -void LaunchPlanMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::memset(&schedule_, 0, static_cast( - reinterpret_cast(&launch_conditions_) - - reinterpret_cast(&schedule_)) + sizeof(launch_conditions_)); -} - -LaunchPlanMetadata::~LaunchPlanMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanMetadata) - SharedDtor(); -} - -void LaunchPlanMetadata::SharedDtor() { - if (this != internal_default_instance()) delete schedule_; - if (this != internal_default_instance()) delete launch_conditions_; -} - -void LaunchPlanMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanMetadata& LaunchPlanMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - notifications_.Clear(); - if (GetArenaNoVirtual() == nullptr && schedule_ != nullptr) { - delete schedule_; - } - schedule_ = nullptr; - if (GetArenaNoVirtual() == nullptr && launch_conditions_ != nullptr) { - delete launch_conditions_; - } - launch_conditions_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LaunchPlanMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.Schedule schedule = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Schedule::_InternalParse; - object = msg->mutable_schedule(); - 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; - } - // repeated .flyteidl.admin.Notification notifications = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Notification::_InternalParse; - object = msg->add_notifications(); - 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) == 18 && (ptr += 1)); - break; - } - // .google.protobuf.Any launch_conditions = 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 = ::google::protobuf::Any::_InternalParse; - object = msg->mutable_launch_conditions(); - 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 LaunchPlanMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.Schedule schedule = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_schedule())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.admin.Notification notifications = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_notifications())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Any launch_conditions = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_launch_conditions())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Schedule schedule = 1; - if (this->has_schedule()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::schedule(this), output); - } - - // repeated .flyteidl.admin.Notification notifications = 2; - for (unsigned int i = 0, - n = static_cast(this->notifications_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->notifications(static_cast(i)), - output); - } - - // .google.protobuf.Any launch_conditions = 3; - if (this->has_launch_conditions()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::launch_conditions(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanMetadata) -} - -::google::protobuf::uint8* LaunchPlanMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Schedule schedule = 1; - if (this->has_schedule()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::schedule(this), target); - } - - // repeated .flyteidl.admin.Notification notifications = 2; - for (unsigned int i = 0, - n = static_cast(this->notifications_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->notifications(static_cast(i)), target); - } - - // .google.protobuf.Any launch_conditions = 3; - if (this->has_launch_conditions()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::launch_conditions(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanMetadata) - return target; -} - -size_t LaunchPlanMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanMetadata) - 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.admin.Notification notifications = 2; - { - unsigned int count = static_cast(this->notifications_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->notifications(static_cast(i))); - } - } - - // .flyteidl.admin.Schedule schedule = 1; - if (this->has_schedule()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *schedule_); - } - - // .google.protobuf.Any launch_conditions = 3; - if (this->has_launch_conditions()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *launch_conditions_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LaunchPlanMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanMetadata) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanMetadata) - MergeFrom(*source); - } -} - -void LaunchPlanMetadata::MergeFrom(const LaunchPlanMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - notifications_.MergeFrom(from.notifications_); - if (from.has_schedule()) { - mutable_schedule()->::flyteidl::admin::Schedule::MergeFrom(from.schedule()); - } - if (from.has_launch_conditions()) { - mutable_launch_conditions()->::google::protobuf::Any::MergeFrom(from.launch_conditions()); - } -} - -void LaunchPlanMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanMetadata::CopyFrom(const LaunchPlanMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanMetadata::IsInitialized() const { - return true; -} - -void LaunchPlanMetadata::Swap(LaunchPlanMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanMetadata::InternalSwap(LaunchPlanMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(¬ifications_)->InternalSwap(CastToBase(&other->notifications_)); - swap(schedule_, other->schedule_); - swap(launch_conditions_, other->launch_conditions_); -} - -::google::protobuf::Metadata LaunchPlanMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlanUpdateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_LaunchPlanUpdateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class LaunchPlanUpdateRequest::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const LaunchPlanUpdateRequest* msg); -}; - -const ::flyteidl::core::Identifier& -LaunchPlanUpdateRequest::HasBitSetters::id(const LaunchPlanUpdateRequest* msg) { - return *msg->id_; -} -void LaunchPlanUpdateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LaunchPlanUpdateRequest::kIdFieldNumber; -const int LaunchPlanUpdateRequest::kStateFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanUpdateRequest::LaunchPlanUpdateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanUpdateRequest) -} -LaunchPlanUpdateRequest::LaunchPlanUpdateRequest(const LaunchPlanUpdateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - state_ = from.state_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanUpdateRequest) -} - -void LaunchPlanUpdateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LaunchPlanUpdateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&state_) - - reinterpret_cast(&id_)) + sizeof(state_)); -} - -LaunchPlanUpdateRequest::~LaunchPlanUpdateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanUpdateRequest) - SharedDtor(); -} - -void LaunchPlanUpdateRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void LaunchPlanUpdateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanUpdateRequest& LaunchPlanUpdateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanUpdateRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - state_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LaunchPlanUpdateRequest::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.admin.LaunchPlanState state = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_state(static_cast<::flyteidl::admin::LaunchPlanState>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 LaunchPlanUpdateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanUpdateRequest) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.LaunchPlanState state = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_state(static_cast< ::flyteidl::admin::LaunchPlanState >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanUpdateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanUpdateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanUpdateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.LaunchPlanState state = 2; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->state(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanUpdateRequest) -} - -::google::protobuf::uint8* LaunchPlanUpdateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.LaunchPlanState state = 2; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->state(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanUpdateRequest) - return target; -} - -size_t LaunchPlanUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanUpdateRequest) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.LaunchPlanState state = 2; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LaunchPlanUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanUpdateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanUpdateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanUpdateRequest) - MergeFrom(*source); - } -} - -void LaunchPlanUpdateRequest::MergeFrom(const LaunchPlanUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanUpdateRequest) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.state() != 0) { - set_state(from.state()); - } -} - -void LaunchPlanUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanUpdateRequest::CopyFrom(const LaunchPlanUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanUpdateRequest::IsInitialized() const { - return true; -} - -void LaunchPlanUpdateRequest::Swap(LaunchPlanUpdateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanUpdateRequest::InternalSwap(LaunchPlanUpdateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(state_, other->state_); -} - -::google::protobuf::Metadata LaunchPlanUpdateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LaunchPlanUpdateResponse::InitAsDefaultInstance() { -} -class LaunchPlanUpdateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LaunchPlanUpdateResponse::LaunchPlanUpdateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchPlanUpdateResponse) -} -LaunchPlanUpdateResponse::LaunchPlanUpdateResponse(const LaunchPlanUpdateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchPlanUpdateResponse) -} - -void LaunchPlanUpdateResponse::SharedCtor() { -} - -LaunchPlanUpdateResponse::~LaunchPlanUpdateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchPlanUpdateResponse) - SharedDtor(); -} - -void LaunchPlanUpdateResponse::SharedDtor() { -} - -void LaunchPlanUpdateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LaunchPlanUpdateResponse& LaunchPlanUpdateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LaunchPlanUpdateResponse_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void LaunchPlanUpdateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchPlanUpdateResponse) - ::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* LaunchPlanUpdateResponse::_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 LaunchPlanUpdateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchPlanUpdateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchPlanUpdateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchPlanUpdateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LaunchPlanUpdateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchPlanUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchPlanUpdateResponse) -} - -::google::protobuf::uint8* LaunchPlanUpdateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchPlanUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchPlanUpdateResponse) - return target; -} - -size_t LaunchPlanUpdateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchPlanUpdateResponse) - 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 LaunchPlanUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchPlanUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - const LaunchPlanUpdateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchPlanUpdateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchPlanUpdateResponse) - MergeFrom(*source); - } -} - -void LaunchPlanUpdateResponse::MergeFrom(const LaunchPlanUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchPlanUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void LaunchPlanUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchPlanUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LaunchPlanUpdateResponse::CopyFrom(const LaunchPlanUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchPlanUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LaunchPlanUpdateResponse::IsInitialized() const { - return true; -} - -void LaunchPlanUpdateResponse::Swap(LaunchPlanUpdateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void LaunchPlanUpdateResponse::InternalSwap(LaunchPlanUpdateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata LaunchPlanUpdateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ActiveLaunchPlanRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ActiveLaunchPlanRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::admin::NamedEntityIdentifier*>( - ::flyteidl::admin::NamedEntityIdentifier::internal_default_instance()); -} -class ActiveLaunchPlanRequest::HasBitSetters { - public: - static const ::flyteidl::admin::NamedEntityIdentifier& id(const ActiveLaunchPlanRequest* msg); -}; - -const ::flyteidl::admin::NamedEntityIdentifier& -ActiveLaunchPlanRequest::HasBitSetters::id(const ActiveLaunchPlanRequest* msg) { - return *msg->id_; -} -void ActiveLaunchPlanRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ActiveLaunchPlanRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ActiveLaunchPlanRequest::ActiveLaunchPlanRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ActiveLaunchPlanRequest) -} -ActiveLaunchPlanRequest::ActiveLaunchPlanRequest(const ActiveLaunchPlanRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::admin::NamedEntityIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ActiveLaunchPlanRequest) -} - -void ActiveLaunchPlanRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ActiveLaunchPlanRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - id_ = nullptr; -} - -ActiveLaunchPlanRequest::~ActiveLaunchPlanRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ActiveLaunchPlanRequest) - SharedDtor(); -} - -void ActiveLaunchPlanRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void ActiveLaunchPlanRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ActiveLaunchPlanRequest& ActiveLaunchPlanRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ActiveLaunchPlanRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void ActiveLaunchPlanRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ActiveLaunchPlanRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ActiveLaunchPlanRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.NamedEntityIdentifier 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::admin::NamedEntityIdentifier::_InternalParse; - object = msg->mutable_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 ActiveLaunchPlanRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ActiveLaunchPlanRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.NamedEntityIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.ActiveLaunchPlanRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ActiveLaunchPlanRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ActiveLaunchPlanRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ActiveLaunchPlanRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.ActiveLaunchPlanRequest) -} - -::google::protobuf::uint8* ActiveLaunchPlanRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ActiveLaunchPlanRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.ActiveLaunchPlanRequest) - return target; -} - -size_t ActiveLaunchPlanRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ActiveLaunchPlanRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ActiveLaunchPlanRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ActiveLaunchPlanRequest) - GOOGLE_DCHECK_NE(&from, this); - const ActiveLaunchPlanRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ActiveLaunchPlanRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ActiveLaunchPlanRequest) - MergeFrom(*source); - } -} - -void ActiveLaunchPlanRequest::MergeFrom(const ActiveLaunchPlanRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ActiveLaunchPlanRequest) - 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_id()) { - mutable_id()->::flyteidl::admin::NamedEntityIdentifier::MergeFrom(from.id()); - } -} - -void ActiveLaunchPlanRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ActiveLaunchPlanRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ActiveLaunchPlanRequest::CopyFrom(const ActiveLaunchPlanRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ActiveLaunchPlanRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ActiveLaunchPlanRequest::IsInitialized() const { - return true; -} - -void ActiveLaunchPlanRequest::Swap(ActiveLaunchPlanRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ActiveLaunchPlanRequest::InternalSwap(ActiveLaunchPlanRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata ActiveLaunchPlanRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ActiveLaunchPlanListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ActiveLaunchPlanListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class ActiveLaunchPlanListRequest::HasBitSetters { - public: - static const ::flyteidl::admin::Sort& sort_by(const ActiveLaunchPlanListRequest* msg); -}; - -const ::flyteidl::admin::Sort& -ActiveLaunchPlanListRequest::HasBitSetters::sort_by(const ActiveLaunchPlanListRequest* msg) { - return *msg->sort_by_; -} -void ActiveLaunchPlanListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ActiveLaunchPlanListRequest::kProjectFieldNumber; -const int ActiveLaunchPlanListRequest::kDomainFieldNumber; -const int ActiveLaunchPlanListRequest::kLimitFieldNumber; -const int ActiveLaunchPlanListRequest::kTokenFieldNumber; -const int ActiveLaunchPlanListRequest::kSortByFieldNumber; -const int ActiveLaunchPlanListRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ActiveLaunchPlanListRequest::ActiveLaunchPlanListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ActiveLaunchPlanListRequest) -} -ActiveLaunchPlanListRequest::ActiveLaunchPlanListRequest(const ActiveLaunchPlanListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ActiveLaunchPlanListRequest) -} - -void ActiveLaunchPlanListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ActiveLaunchPlanListRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&sort_by_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&sort_by_)) + sizeof(limit_)); -} - -ActiveLaunchPlanListRequest::~ActiveLaunchPlanListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ActiveLaunchPlanListRequest) - SharedDtor(); -} - -void ActiveLaunchPlanListRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete sort_by_; -} - -void ActiveLaunchPlanListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ActiveLaunchPlanListRequest& ActiveLaunchPlanListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ActiveLaunchPlanListRequest_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base); - return *internal_default_instance(); -} - - -void ActiveLaunchPlanListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ActiveLaunchPlanListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ActiveLaunchPlanListRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ActiveLaunchPlanListRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ActiveLaunchPlanListRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // uint32 limit = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ActiveLaunchPlanListRequest.token"); - object = msg->mutable_token(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 org = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ActiveLaunchPlanListRequest.org"); - object = msg->mutable_org(); - 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 ActiveLaunchPlanListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ActiveLaunchPlanListRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ActiveLaunchPlanListRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ActiveLaunchPlanListRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // uint32 limit = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ActiveLaunchPlanListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - // string org = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ActiveLaunchPlanListRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ActiveLaunchPlanListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ActiveLaunchPlanListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ActiveLaunchPlanListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ActiveLaunchPlanListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->limit(), output); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->token(), output); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::sort_by(this), output); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ActiveLaunchPlanListRequest) -} - -::google::protobuf::uint8* ActiveLaunchPlanListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ActiveLaunchPlanListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->limit(), target); - } - - // string token = 4; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->token(), target); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::sort_by(this), target); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ActiveLaunchPlanListRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ActiveLaunchPlanListRequest) - return target; -} - -size_t ActiveLaunchPlanListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ActiveLaunchPlanListRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string token = 4; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string org = 6; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 3; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ActiveLaunchPlanListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ActiveLaunchPlanListRequest) - GOOGLE_DCHECK_NE(&from, this); - const ActiveLaunchPlanListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ActiveLaunchPlanListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ActiveLaunchPlanListRequest) - MergeFrom(*source); - } -} - -void ActiveLaunchPlanListRequest::MergeFrom(const ActiveLaunchPlanListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ActiveLaunchPlanListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void ActiveLaunchPlanListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ActiveLaunchPlanListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ActiveLaunchPlanListRequest::CopyFrom(const ActiveLaunchPlanListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ActiveLaunchPlanListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ActiveLaunchPlanListRequest::IsInitialized() const { - return true; -} - -void ActiveLaunchPlanListRequest::Swap(ActiveLaunchPlanListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ActiveLaunchPlanListRequest::InternalSwap(ActiveLaunchPlanListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata ActiveLaunchPlanListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanCreateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanCreateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanCreateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlan* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlan >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlan >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanList* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Auth* Arena::CreateMaybeMessage< ::flyteidl::admin::Auth >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Auth >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanSpec >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanClosure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanUpdateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanUpdateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchPlanUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchPlanUpdateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LaunchPlanUpdateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ActiveLaunchPlanRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ActiveLaunchPlanRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ActiveLaunchPlanRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ActiveLaunchPlanListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ActiveLaunchPlanListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ActiveLaunchPlanListRequest >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h deleted file mode 100644 index 8334ed7e4a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h +++ /dev/null @@ -1,3753 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/launch_plan.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2flaunch_5fplan_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2flaunch_5fplan_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 -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/interface.pb.h" -#include "flyteidl/core/security.pb.h" -#include "flyteidl/admin/schedule.pb.h" -#include "flyteidl/admin/common.pb.h" -#include -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2flaunch_5fplan_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[12] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto(); -namespace flyteidl { -namespace admin { -class ActiveLaunchPlanListRequest; -class ActiveLaunchPlanListRequestDefaultTypeInternal; -extern ActiveLaunchPlanListRequestDefaultTypeInternal _ActiveLaunchPlanListRequest_default_instance_; -class ActiveLaunchPlanRequest; -class ActiveLaunchPlanRequestDefaultTypeInternal; -extern ActiveLaunchPlanRequestDefaultTypeInternal _ActiveLaunchPlanRequest_default_instance_; -class Auth; -class AuthDefaultTypeInternal; -extern AuthDefaultTypeInternal _Auth_default_instance_; -class LaunchPlan; -class LaunchPlanDefaultTypeInternal; -extern LaunchPlanDefaultTypeInternal _LaunchPlan_default_instance_; -class LaunchPlanClosure; -class LaunchPlanClosureDefaultTypeInternal; -extern LaunchPlanClosureDefaultTypeInternal _LaunchPlanClosure_default_instance_; -class LaunchPlanCreateRequest; -class LaunchPlanCreateRequestDefaultTypeInternal; -extern LaunchPlanCreateRequestDefaultTypeInternal _LaunchPlanCreateRequest_default_instance_; -class LaunchPlanCreateResponse; -class LaunchPlanCreateResponseDefaultTypeInternal; -extern LaunchPlanCreateResponseDefaultTypeInternal _LaunchPlanCreateResponse_default_instance_; -class LaunchPlanList; -class LaunchPlanListDefaultTypeInternal; -extern LaunchPlanListDefaultTypeInternal _LaunchPlanList_default_instance_; -class LaunchPlanMetadata; -class LaunchPlanMetadataDefaultTypeInternal; -extern LaunchPlanMetadataDefaultTypeInternal _LaunchPlanMetadata_default_instance_; -class LaunchPlanSpec; -class LaunchPlanSpecDefaultTypeInternal; -extern LaunchPlanSpecDefaultTypeInternal _LaunchPlanSpec_default_instance_; -class LaunchPlanUpdateRequest; -class LaunchPlanUpdateRequestDefaultTypeInternal; -extern LaunchPlanUpdateRequestDefaultTypeInternal _LaunchPlanUpdateRequest_default_instance_; -class LaunchPlanUpdateResponse; -class LaunchPlanUpdateResponseDefaultTypeInternal; -extern LaunchPlanUpdateResponseDefaultTypeInternal _LaunchPlanUpdateResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::ActiveLaunchPlanListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ActiveLaunchPlanListRequest>(Arena*); -template<> ::flyteidl::admin::ActiveLaunchPlanRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ActiveLaunchPlanRequest>(Arena*); -template<> ::flyteidl::admin::Auth* Arena::CreateMaybeMessage<::flyteidl::admin::Auth>(Arena*); -template<> ::flyteidl::admin::LaunchPlan* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlan>(Arena*); -template<> ::flyteidl::admin::LaunchPlanClosure* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanClosure>(Arena*); -template<> ::flyteidl::admin::LaunchPlanCreateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanCreateRequest>(Arena*); -template<> ::flyteidl::admin::LaunchPlanCreateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanCreateResponse>(Arena*); -template<> ::flyteidl::admin::LaunchPlanList* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanList>(Arena*); -template<> ::flyteidl::admin::LaunchPlanMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanMetadata>(Arena*); -template<> ::flyteidl::admin::LaunchPlanSpec* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanSpec>(Arena*); -template<> ::flyteidl::admin::LaunchPlanUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanUpdateRequest>(Arena*); -template<> ::flyteidl::admin::LaunchPlanUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchPlanUpdateResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum LaunchPlanState { - INACTIVE = 0, - ACTIVE = 1, - LaunchPlanState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - LaunchPlanState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool LaunchPlanState_IsValid(int value); -const LaunchPlanState LaunchPlanState_MIN = INACTIVE; -const LaunchPlanState LaunchPlanState_MAX = ACTIVE; -const int LaunchPlanState_ARRAYSIZE = LaunchPlanState_MAX + 1; - -const ::google::protobuf::EnumDescriptor* LaunchPlanState_descriptor(); -inline const ::std::string& LaunchPlanState_Name(LaunchPlanState value) { - return ::google::protobuf::internal::NameOfEnum( - LaunchPlanState_descriptor(), value); -} -inline bool LaunchPlanState_Parse( - const ::std::string& name, LaunchPlanState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - LaunchPlanState_descriptor(), name, value); -} -// =================================================================== - -class LaunchPlanCreateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanCreateRequest) */ { - public: - LaunchPlanCreateRequest(); - virtual ~LaunchPlanCreateRequest(); - - LaunchPlanCreateRequest(const LaunchPlanCreateRequest& from); - - inline LaunchPlanCreateRequest& operator=(const LaunchPlanCreateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanCreateRequest(LaunchPlanCreateRequest&& from) noexcept - : LaunchPlanCreateRequest() { - *this = ::std::move(from); - } - - inline LaunchPlanCreateRequest& operator=(LaunchPlanCreateRequest&& 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 LaunchPlanCreateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanCreateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(LaunchPlanCreateRequest* other); - friend void swap(LaunchPlanCreateRequest& a, LaunchPlanCreateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanCreateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanCreateRequest* 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 LaunchPlanCreateRequest& from); - void MergeFrom(const LaunchPlanCreateRequest& 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(LaunchPlanCreateRequest* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - bool has_spec() const; - void clear_spec(); - static const int kSpecFieldNumber = 2; - const ::flyteidl::admin::LaunchPlanSpec& spec() const; - ::flyteidl::admin::LaunchPlanSpec* release_spec(); - ::flyteidl::admin::LaunchPlanSpec* mutable_spec(); - void set_allocated_spec(::flyteidl::admin::LaunchPlanSpec* spec); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanCreateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::admin::LaunchPlanSpec* spec_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlanCreateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanCreateResponse) */ { - public: - LaunchPlanCreateResponse(); - virtual ~LaunchPlanCreateResponse(); - - LaunchPlanCreateResponse(const LaunchPlanCreateResponse& from); - - inline LaunchPlanCreateResponse& operator=(const LaunchPlanCreateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanCreateResponse(LaunchPlanCreateResponse&& from) noexcept - : LaunchPlanCreateResponse() { - *this = ::std::move(from); - } - - inline LaunchPlanCreateResponse& operator=(LaunchPlanCreateResponse&& 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 LaunchPlanCreateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanCreateResponse* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanCreateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(LaunchPlanCreateResponse* other); - friend void swap(LaunchPlanCreateResponse& a, LaunchPlanCreateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanCreateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanCreateResponse* 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 LaunchPlanCreateResponse& from); - void MergeFrom(const LaunchPlanCreateResponse& 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(LaunchPlanCreateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanCreateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlan final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlan) */ { - public: - LaunchPlan(); - virtual ~LaunchPlan(); - - LaunchPlan(const LaunchPlan& from); - - inline LaunchPlan& operator=(const LaunchPlan& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlan(LaunchPlan&& from) noexcept - : LaunchPlan() { - *this = ::std::move(from); - } - - inline LaunchPlan& operator=(LaunchPlan&& 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 LaunchPlan& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlan* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlan_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(LaunchPlan* other); - friend void swap(LaunchPlan& a, LaunchPlan& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlan* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlan* 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 LaunchPlan& from); - void MergeFrom(const LaunchPlan& 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(LaunchPlan* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.LaunchPlanSpec spec = 2; - bool has_spec() const; - void clear_spec(); - static const int kSpecFieldNumber = 2; - const ::flyteidl::admin::LaunchPlanSpec& spec() const; - ::flyteidl::admin::LaunchPlanSpec* release_spec(); - ::flyteidl::admin::LaunchPlanSpec* mutable_spec(); - void set_allocated_spec(::flyteidl::admin::LaunchPlanSpec* spec); - - // .flyteidl.admin.LaunchPlanClosure closure = 3; - bool has_closure() const; - void clear_closure(); - static const int kClosureFieldNumber = 3; - const ::flyteidl::admin::LaunchPlanClosure& closure() const; - ::flyteidl::admin::LaunchPlanClosure* release_closure(); - ::flyteidl::admin::LaunchPlanClosure* mutable_closure(); - void set_allocated_closure(::flyteidl::admin::LaunchPlanClosure* closure); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlan) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::admin::LaunchPlanSpec* spec_; - ::flyteidl::admin::LaunchPlanClosure* closure_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlanList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanList) */ { - public: - LaunchPlanList(); - virtual ~LaunchPlanList(); - - LaunchPlanList(const LaunchPlanList& from); - - inline LaunchPlanList& operator=(const LaunchPlanList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanList(LaunchPlanList&& from) noexcept - : LaunchPlanList() { - *this = ::std::move(from); - } - - inline LaunchPlanList& operator=(LaunchPlanList&& 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 LaunchPlanList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanList* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(LaunchPlanList* other); - friend void swap(LaunchPlanList& a, LaunchPlanList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanList* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanList* 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 LaunchPlanList& from); - void MergeFrom(const LaunchPlanList& 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(LaunchPlanList* 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.admin.LaunchPlan launch_plans = 1; - int launch_plans_size() const; - void clear_launch_plans(); - static const int kLaunchPlansFieldNumber = 1; - ::flyteidl::admin::LaunchPlan* mutable_launch_plans(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::LaunchPlan >* - mutable_launch_plans(); - const ::flyteidl::admin::LaunchPlan& launch_plans(int index) const; - ::flyteidl::admin::LaunchPlan* add_launch_plans(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::LaunchPlan >& - launch_plans() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::LaunchPlan > launch_plans_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class Auth final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Auth) */ { - public: - Auth(); - virtual ~Auth(); - - Auth(const Auth& from); - - inline Auth& operator=(const Auth& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Auth(Auth&& from) noexcept - : Auth() { - *this = ::std::move(from); - } - - inline Auth& operator=(Auth&& 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 Auth& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Auth* internal_default_instance() { - return reinterpret_cast( - &_Auth_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(Auth* other); - friend void swap(Auth& a, Auth& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Auth* New() const final { - return CreateMaybeMessage(nullptr); - } - - Auth* 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 Auth& from); - void MergeFrom(const Auth& 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(Auth* 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 assumable_iam_role = 1; - void clear_assumable_iam_role(); - static const int kAssumableIamRoleFieldNumber = 1; - const ::std::string& assumable_iam_role() const; - void set_assumable_iam_role(const ::std::string& value); - #if LANG_CXX11 - void set_assumable_iam_role(::std::string&& value); - #endif - void set_assumable_iam_role(const char* value); - void set_assumable_iam_role(const char* value, size_t size); - ::std::string* mutable_assumable_iam_role(); - ::std::string* release_assumable_iam_role(); - void set_allocated_assumable_iam_role(::std::string* assumable_iam_role); - - // string kubernetes_service_account = 2; - void clear_kubernetes_service_account(); - static const int kKubernetesServiceAccountFieldNumber = 2; - const ::std::string& kubernetes_service_account() const; - void set_kubernetes_service_account(const ::std::string& value); - #if LANG_CXX11 - void set_kubernetes_service_account(::std::string&& value); - #endif - void set_kubernetes_service_account(const char* value); - void set_kubernetes_service_account(const char* value, size_t size); - ::std::string* mutable_kubernetes_service_account(); - ::std::string* release_kubernetes_service_account(); - void set_allocated_kubernetes_service_account(::std::string* kubernetes_service_account); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Auth) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr assumable_iam_role_; - ::google::protobuf::internal::ArenaStringPtr kubernetes_service_account_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlanSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanSpec) */ { - public: - LaunchPlanSpec(); - virtual ~LaunchPlanSpec(); - - LaunchPlanSpec(const LaunchPlanSpec& from); - - inline LaunchPlanSpec& operator=(const LaunchPlanSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanSpec(LaunchPlanSpec&& from) noexcept - : LaunchPlanSpec() { - *this = ::std::move(from); - } - - inline LaunchPlanSpec& operator=(LaunchPlanSpec&& 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 LaunchPlanSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanSpec* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(LaunchPlanSpec* other); - friend void swap(LaunchPlanSpec& a, LaunchPlanSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanSpec* 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 LaunchPlanSpec& from); - void MergeFrom(const LaunchPlanSpec& 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(LaunchPlanSpec* 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 role = 5 [deprecated = true]; - PROTOBUF_DEPRECATED void clear_role(); - PROTOBUF_DEPRECATED static const int kRoleFieldNumber = 5; - PROTOBUF_DEPRECATED const ::std::string& role() const; - PROTOBUF_DEPRECATED void set_role(const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void set_role(::std::string&& value); - #endif - PROTOBUF_DEPRECATED void set_role(const char* value); - PROTOBUF_DEPRECATED void set_role(const char* value, size_t size); - PROTOBUF_DEPRECATED ::std::string* mutable_role(); - PROTOBUF_DEPRECATED ::std::string* release_role(); - PROTOBUF_DEPRECATED void set_allocated_role(::std::string* role); - - // .flyteidl.core.Identifier workflow_id = 1; - bool has_workflow_id() const; - void clear_workflow_id(); - static const int kWorkflowIdFieldNumber = 1; - const ::flyteidl::core::Identifier& workflow_id() const; - ::flyteidl::core::Identifier* release_workflow_id(); - ::flyteidl::core::Identifier* mutable_workflow_id(); - void set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id); - - // .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - bool has_entity_metadata() const; - void clear_entity_metadata(); - static const int kEntityMetadataFieldNumber = 2; - const ::flyteidl::admin::LaunchPlanMetadata& entity_metadata() const; - ::flyteidl::admin::LaunchPlanMetadata* release_entity_metadata(); - ::flyteidl::admin::LaunchPlanMetadata* mutable_entity_metadata(); - void set_allocated_entity_metadata(::flyteidl::admin::LaunchPlanMetadata* entity_metadata); - - // .flyteidl.core.ParameterMap default_inputs = 3; - bool has_default_inputs() const; - void clear_default_inputs(); - static const int kDefaultInputsFieldNumber = 3; - const ::flyteidl::core::ParameterMap& default_inputs() const; - ::flyteidl::core::ParameterMap* release_default_inputs(); - ::flyteidl::core::ParameterMap* mutable_default_inputs(); - void set_allocated_default_inputs(::flyteidl::core::ParameterMap* default_inputs); - - // .flyteidl.core.LiteralMap fixed_inputs = 4; - bool has_fixed_inputs() const; - void clear_fixed_inputs(); - static const int kFixedInputsFieldNumber = 4; - const ::flyteidl::core::LiteralMap& fixed_inputs() const; - ::flyteidl::core::LiteralMap* release_fixed_inputs(); - ::flyteidl::core::LiteralMap* mutable_fixed_inputs(); - void set_allocated_fixed_inputs(::flyteidl::core::LiteralMap* fixed_inputs); - - // .flyteidl.admin.Labels labels = 6; - bool has_labels() const; - void clear_labels(); - static const int kLabelsFieldNumber = 6; - const ::flyteidl::admin::Labels& labels() const; - ::flyteidl::admin::Labels* release_labels(); - ::flyteidl::admin::Labels* mutable_labels(); - void set_allocated_labels(::flyteidl::admin::Labels* labels); - - // .flyteidl.admin.Annotations annotations = 7; - bool has_annotations() const; - void clear_annotations(); - static const int kAnnotationsFieldNumber = 7; - const ::flyteidl::admin::Annotations& annotations() const; - ::flyteidl::admin::Annotations* release_annotations(); - ::flyteidl::admin::Annotations* mutable_annotations(); - void set_allocated_annotations(::flyteidl::admin::Annotations* annotations); - - // .flyteidl.admin.Auth auth = 8 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_auth() const; - PROTOBUF_DEPRECATED void clear_auth(); - PROTOBUF_DEPRECATED static const int kAuthFieldNumber = 8; - PROTOBUF_DEPRECATED const ::flyteidl::admin::Auth& auth() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::Auth* release_auth(); - PROTOBUF_DEPRECATED ::flyteidl::admin::Auth* mutable_auth(); - PROTOBUF_DEPRECATED void set_allocated_auth(::flyteidl::admin::Auth* auth); - - // .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_auth_role() const; - PROTOBUF_DEPRECATED void clear_auth_role(); - PROTOBUF_DEPRECATED static const int kAuthRoleFieldNumber = 9; - PROTOBUF_DEPRECATED const ::flyteidl::admin::AuthRole& auth_role() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::AuthRole* release_auth_role(); - PROTOBUF_DEPRECATED ::flyteidl::admin::AuthRole* mutable_auth_role(); - PROTOBUF_DEPRECATED void set_allocated_auth_role(::flyteidl::admin::AuthRole* auth_role); - - // .flyteidl.core.SecurityContext security_context = 10; - bool has_security_context() const; - void clear_security_context(); - static const int kSecurityContextFieldNumber = 10; - const ::flyteidl::core::SecurityContext& security_context() const; - ::flyteidl::core::SecurityContext* release_security_context(); - ::flyteidl::core::SecurityContext* mutable_security_context(); - void set_allocated_security_context(::flyteidl::core::SecurityContext* security_context); - - // .flyteidl.core.QualityOfService quality_of_service = 16; - bool has_quality_of_service() const; - void clear_quality_of_service(); - static const int kQualityOfServiceFieldNumber = 16; - const ::flyteidl::core::QualityOfService& quality_of_service() const; - ::flyteidl::core::QualityOfService* release_quality_of_service(); - ::flyteidl::core::QualityOfService* mutable_quality_of_service(); - void set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service); - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - bool has_raw_output_data_config() const; - void clear_raw_output_data_config(); - static const int kRawOutputDataConfigFieldNumber = 17; - const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config() const; - ::flyteidl::admin::RawOutputDataConfig* release_raw_output_data_config(); - ::flyteidl::admin::RawOutputDataConfig* mutable_raw_output_data_config(); - void set_allocated_raw_output_data_config(::flyteidl::admin::RawOutputDataConfig* raw_output_data_config); - - // .google.protobuf.BoolValue interruptible = 19; - bool has_interruptible() const; - void clear_interruptible(); - static const int kInterruptibleFieldNumber = 19; - const ::google::protobuf::BoolValue& interruptible() const; - ::google::protobuf::BoolValue* release_interruptible(); - ::google::protobuf::BoolValue* mutable_interruptible(); - void set_allocated_interruptible(::google::protobuf::BoolValue* interruptible); - - // .flyteidl.admin.Envs envs = 21; - bool has_envs() const; - void clear_envs(); - static const int kEnvsFieldNumber = 21; - const ::flyteidl::admin::Envs& envs() const; - ::flyteidl::admin::Envs* release_envs(); - ::flyteidl::admin::Envs* mutable_envs(); - void set_allocated_envs(::flyteidl::admin::Envs* envs); - - // int32 max_parallelism = 18; - void clear_max_parallelism(); - static const int kMaxParallelismFieldNumber = 18; - ::google::protobuf::int32 max_parallelism() const; - void set_max_parallelism(::google::protobuf::int32 value); - - // bool overwrite_cache = 20; - void clear_overwrite_cache(); - static const int kOverwriteCacheFieldNumber = 20; - bool overwrite_cache() const; - void set_overwrite_cache(bool value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr role_; - ::flyteidl::core::Identifier* workflow_id_; - ::flyteidl::admin::LaunchPlanMetadata* entity_metadata_; - ::flyteidl::core::ParameterMap* default_inputs_; - ::flyteidl::core::LiteralMap* fixed_inputs_; - ::flyteidl::admin::Labels* labels_; - ::flyteidl::admin::Annotations* annotations_; - ::flyteidl::admin::Auth* auth_; - ::flyteidl::admin::AuthRole* auth_role_; - ::flyteidl::core::SecurityContext* security_context_; - ::flyteidl::core::QualityOfService* quality_of_service_; - ::flyteidl::admin::RawOutputDataConfig* raw_output_data_config_; - ::google::protobuf::BoolValue* interruptible_; - ::flyteidl::admin::Envs* envs_; - ::google::protobuf::int32 max_parallelism_; - bool overwrite_cache_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlanClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanClosure) */ { - public: - LaunchPlanClosure(); - virtual ~LaunchPlanClosure(); - - LaunchPlanClosure(const LaunchPlanClosure& from); - - inline LaunchPlanClosure& operator=(const LaunchPlanClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanClosure(LaunchPlanClosure&& from) noexcept - : LaunchPlanClosure() { - *this = ::std::move(from); - } - - inline LaunchPlanClosure& operator=(LaunchPlanClosure&& 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 LaunchPlanClosure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanClosure* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(LaunchPlanClosure* other); - friend void swap(LaunchPlanClosure& a, LaunchPlanClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanClosure* 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 LaunchPlanClosure& from); - void MergeFrom(const LaunchPlanClosure& 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(LaunchPlanClosure* 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.ParameterMap expected_inputs = 2; - bool has_expected_inputs() const; - void clear_expected_inputs(); - static const int kExpectedInputsFieldNumber = 2; - const ::flyteidl::core::ParameterMap& expected_inputs() const; - ::flyteidl::core::ParameterMap* release_expected_inputs(); - ::flyteidl::core::ParameterMap* mutable_expected_inputs(); - void set_allocated_expected_inputs(::flyteidl::core::ParameterMap* expected_inputs); - - // .flyteidl.core.VariableMap expected_outputs = 3; - bool has_expected_outputs() const; - void clear_expected_outputs(); - static const int kExpectedOutputsFieldNumber = 3; - const ::flyteidl::core::VariableMap& expected_outputs() const; - ::flyteidl::core::VariableMap* release_expected_outputs(); - ::flyteidl::core::VariableMap* mutable_expected_outputs(); - void set_allocated_expected_outputs(::flyteidl::core::VariableMap* expected_outputs); - - // .google.protobuf.Timestamp created_at = 4; - bool has_created_at() const; - void clear_created_at(); - static const int kCreatedAtFieldNumber = 4; - 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); - - // .google.protobuf.Timestamp updated_at = 5; - bool has_updated_at() const; - void clear_updated_at(); - static const int kUpdatedAtFieldNumber = 5; - const ::google::protobuf::Timestamp& updated_at() const; - ::google::protobuf::Timestamp* release_updated_at(); - ::google::protobuf::Timestamp* mutable_updated_at(); - void set_allocated_updated_at(::google::protobuf::Timestamp* updated_at); - - // .flyteidl.admin.LaunchPlanState state = 1; - void clear_state(); - static const int kStateFieldNumber = 1; - ::flyteidl::admin::LaunchPlanState state() const; - void set_state(::flyteidl::admin::LaunchPlanState value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanClosure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::ParameterMap* expected_inputs_; - ::flyteidl::core::VariableMap* expected_outputs_; - ::google::protobuf::Timestamp* created_at_; - ::google::protobuf::Timestamp* updated_at_; - int state_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlanMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanMetadata) */ { - public: - LaunchPlanMetadata(); - virtual ~LaunchPlanMetadata(); - - LaunchPlanMetadata(const LaunchPlanMetadata& from); - - inline LaunchPlanMetadata& operator=(const LaunchPlanMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanMetadata(LaunchPlanMetadata&& from) noexcept - : LaunchPlanMetadata() { - *this = ::std::move(from); - } - - inline LaunchPlanMetadata& operator=(LaunchPlanMetadata&& 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 LaunchPlanMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanMetadata* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(LaunchPlanMetadata* other); - friend void swap(LaunchPlanMetadata& a, LaunchPlanMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanMetadata* 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 LaunchPlanMetadata& from); - void MergeFrom(const LaunchPlanMetadata& 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(LaunchPlanMetadata* 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.admin.Notification notifications = 2; - int notifications_size() const; - void clear_notifications(); - static const int kNotificationsFieldNumber = 2; - ::flyteidl::admin::Notification* mutable_notifications(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >* - mutable_notifications(); - const ::flyteidl::admin::Notification& notifications(int index) const; - ::flyteidl::admin::Notification* add_notifications(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >& - notifications() const; - - // .flyteidl.admin.Schedule schedule = 1; - bool has_schedule() const; - void clear_schedule(); - static const int kScheduleFieldNumber = 1; - const ::flyteidl::admin::Schedule& schedule() const; - ::flyteidl::admin::Schedule* release_schedule(); - ::flyteidl::admin::Schedule* mutable_schedule(); - void set_allocated_schedule(::flyteidl::admin::Schedule* schedule); - - // .google.protobuf.Any launch_conditions = 3; - bool has_launch_conditions() const; - void clear_launch_conditions(); - static const int kLaunchConditionsFieldNumber = 3; - const ::google::protobuf::Any& launch_conditions() const; - ::google::protobuf::Any* release_launch_conditions(); - ::google::protobuf::Any* mutable_launch_conditions(); - void set_allocated_launch_conditions(::google::protobuf::Any* launch_conditions); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification > notifications_; - ::flyteidl::admin::Schedule* schedule_; - ::google::protobuf::Any* launch_conditions_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlanUpdateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanUpdateRequest) */ { - public: - LaunchPlanUpdateRequest(); - virtual ~LaunchPlanUpdateRequest(); - - LaunchPlanUpdateRequest(const LaunchPlanUpdateRequest& from); - - inline LaunchPlanUpdateRequest& operator=(const LaunchPlanUpdateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanUpdateRequest(LaunchPlanUpdateRequest&& from) noexcept - : LaunchPlanUpdateRequest() { - *this = ::std::move(from); - } - - inline LaunchPlanUpdateRequest& operator=(LaunchPlanUpdateRequest&& 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 LaunchPlanUpdateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanUpdateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(LaunchPlanUpdateRequest* other); - friend void swap(LaunchPlanUpdateRequest& a, LaunchPlanUpdateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanUpdateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanUpdateRequest* 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 LaunchPlanUpdateRequest& from); - void MergeFrom(const LaunchPlanUpdateRequest& 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(LaunchPlanUpdateRequest* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.LaunchPlanState state = 2; - void clear_state(); - static const int kStateFieldNumber = 2; - ::flyteidl::admin::LaunchPlanState state() const; - void set_state(::flyteidl::admin::LaunchPlanState value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanUpdateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - int state_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class LaunchPlanUpdateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchPlanUpdateResponse) */ { - public: - LaunchPlanUpdateResponse(); - virtual ~LaunchPlanUpdateResponse(); - - LaunchPlanUpdateResponse(const LaunchPlanUpdateResponse& from); - - inline LaunchPlanUpdateResponse& operator=(const LaunchPlanUpdateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LaunchPlanUpdateResponse(LaunchPlanUpdateResponse&& from) noexcept - : LaunchPlanUpdateResponse() { - *this = ::std::move(from); - } - - inline LaunchPlanUpdateResponse& operator=(LaunchPlanUpdateResponse&& 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 LaunchPlanUpdateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LaunchPlanUpdateResponse* internal_default_instance() { - return reinterpret_cast( - &_LaunchPlanUpdateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(LaunchPlanUpdateResponse* other); - friend void swap(LaunchPlanUpdateResponse& a, LaunchPlanUpdateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LaunchPlanUpdateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - LaunchPlanUpdateResponse* 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 LaunchPlanUpdateResponse& from); - void MergeFrom(const LaunchPlanUpdateResponse& 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(LaunchPlanUpdateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanUpdateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class ActiveLaunchPlanRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ActiveLaunchPlanRequest) */ { - public: - ActiveLaunchPlanRequest(); - virtual ~ActiveLaunchPlanRequest(); - - ActiveLaunchPlanRequest(const ActiveLaunchPlanRequest& from); - - inline ActiveLaunchPlanRequest& operator=(const ActiveLaunchPlanRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ActiveLaunchPlanRequest(ActiveLaunchPlanRequest&& from) noexcept - : ActiveLaunchPlanRequest() { - *this = ::std::move(from); - } - - inline ActiveLaunchPlanRequest& operator=(ActiveLaunchPlanRequest&& 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 ActiveLaunchPlanRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ActiveLaunchPlanRequest* internal_default_instance() { - return reinterpret_cast( - &_ActiveLaunchPlanRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(ActiveLaunchPlanRequest* other); - friend void swap(ActiveLaunchPlanRequest& a, ActiveLaunchPlanRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ActiveLaunchPlanRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ActiveLaunchPlanRequest* 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 ActiveLaunchPlanRequest& from); - void MergeFrom(const ActiveLaunchPlanRequest& 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(ActiveLaunchPlanRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.NamedEntityIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::admin::NamedEntityIdentifier& id() const; - ::flyteidl::admin::NamedEntityIdentifier* release_id(); - ::flyteidl::admin::NamedEntityIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ActiveLaunchPlanRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::NamedEntityIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// ------------------------------------------------------------------- - -class ActiveLaunchPlanListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ActiveLaunchPlanListRequest) */ { - public: - ActiveLaunchPlanListRequest(); - virtual ~ActiveLaunchPlanListRequest(); - - ActiveLaunchPlanListRequest(const ActiveLaunchPlanListRequest& from); - - inline ActiveLaunchPlanListRequest& operator=(const ActiveLaunchPlanListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ActiveLaunchPlanListRequest(ActiveLaunchPlanListRequest&& from) noexcept - : ActiveLaunchPlanListRequest() { - *this = ::std::move(from); - } - - inline ActiveLaunchPlanListRequest& operator=(ActiveLaunchPlanListRequest&& 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 ActiveLaunchPlanListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ActiveLaunchPlanListRequest* internal_default_instance() { - return reinterpret_cast( - &_ActiveLaunchPlanListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(ActiveLaunchPlanListRequest* other); - friend void swap(ActiveLaunchPlanListRequest& a, ActiveLaunchPlanListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ActiveLaunchPlanListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ActiveLaunchPlanListRequest* 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 ActiveLaunchPlanListRequest& from); - void MergeFrom(const ActiveLaunchPlanListRequest& 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(ActiveLaunchPlanListRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string token = 4; - void clear_token(); - static const int kTokenFieldNumber = 4; - 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); - - // string org = 6; - void clear_org(); - static const int kOrgFieldNumber = 6; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.Sort sort_by = 5; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 5; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 3; - void clear_limit(); - static const int kLimitFieldNumber = 3; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ActiveLaunchPlanListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// LaunchPlanCreateRequest - -// .flyteidl.core.Identifier id = 1; -inline bool LaunchPlanCreateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& LaunchPlanCreateRequest::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanCreateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* LaunchPlanCreateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanCreateRequest.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* LaunchPlanCreateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanCreateRequest.id) - return id_; -} -inline void LaunchPlanCreateRequest::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanCreateRequest.id) -} - -// .flyteidl.admin.LaunchPlanSpec spec = 2; -inline bool LaunchPlanCreateRequest::has_spec() const { - return this != internal_default_instance() && spec_ != nullptr; -} -inline void LaunchPlanCreateRequest::clear_spec() { - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; -} -inline const ::flyteidl::admin::LaunchPlanSpec& LaunchPlanCreateRequest::spec() const { - const ::flyteidl::admin::LaunchPlanSpec* p = spec_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanCreateRequest.spec) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_LaunchPlanSpec_default_instance_); -} -inline ::flyteidl::admin::LaunchPlanSpec* LaunchPlanCreateRequest::release_spec() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanCreateRequest.spec) - - ::flyteidl::admin::LaunchPlanSpec* temp = spec_; - spec_ = nullptr; - return temp; -} -inline ::flyteidl::admin::LaunchPlanSpec* LaunchPlanCreateRequest::mutable_spec() { - - if (spec_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::LaunchPlanSpec>(GetArenaNoVirtual()); - spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanCreateRequest.spec) - return spec_; -} -inline void LaunchPlanCreateRequest::set_allocated_spec(::flyteidl::admin::LaunchPlanSpec* spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete spec_; - } - if (spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, spec, submessage_arena); - } - - } else { - - } - spec_ = spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanCreateRequest.spec) -} - -// ------------------------------------------------------------------- - -// LaunchPlanCreateResponse - -// ------------------------------------------------------------------- - -// LaunchPlan - -// .flyteidl.core.Identifier id = 1; -inline bool LaunchPlan::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& LaunchPlan::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlan.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* LaunchPlan::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlan.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* LaunchPlan::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlan.id) - return id_; -} -inline void LaunchPlan::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlan.id) -} - -// .flyteidl.admin.LaunchPlanSpec spec = 2; -inline bool LaunchPlan::has_spec() const { - return this != internal_default_instance() && spec_ != nullptr; -} -inline void LaunchPlan::clear_spec() { - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; -} -inline const ::flyteidl::admin::LaunchPlanSpec& LaunchPlan::spec() const { - const ::flyteidl::admin::LaunchPlanSpec* p = spec_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlan.spec) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_LaunchPlanSpec_default_instance_); -} -inline ::flyteidl::admin::LaunchPlanSpec* LaunchPlan::release_spec() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlan.spec) - - ::flyteidl::admin::LaunchPlanSpec* temp = spec_; - spec_ = nullptr; - return temp; -} -inline ::flyteidl::admin::LaunchPlanSpec* LaunchPlan::mutable_spec() { - - if (spec_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::LaunchPlanSpec>(GetArenaNoVirtual()); - spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlan.spec) - return spec_; -} -inline void LaunchPlan::set_allocated_spec(::flyteidl::admin::LaunchPlanSpec* spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete spec_; - } - if (spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, spec, submessage_arena); - } - - } else { - - } - spec_ = spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlan.spec) -} - -// .flyteidl.admin.LaunchPlanClosure closure = 3; -inline bool LaunchPlan::has_closure() const { - return this != internal_default_instance() && closure_ != nullptr; -} -inline void LaunchPlan::clear_closure() { - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; -} -inline const ::flyteidl::admin::LaunchPlanClosure& LaunchPlan::closure() const { - const ::flyteidl::admin::LaunchPlanClosure* p = closure_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlan.closure) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_LaunchPlanClosure_default_instance_); -} -inline ::flyteidl::admin::LaunchPlanClosure* LaunchPlan::release_closure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlan.closure) - - ::flyteidl::admin::LaunchPlanClosure* temp = closure_; - closure_ = nullptr; - return temp; -} -inline ::flyteidl::admin::LaunchPlanClosure* LaunchPlan::mutable_closure() { - - if (closure_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::LaunchPlanClosure>(GetArenaNoVirtual()); - closure_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlan.closure) - return closure_; -} -inline void LaunchPlan::set_allocated_closure(::flyteidl::admin::LaunchPlanClosure* closure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete closure_; - } - if (closure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - closure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, closure, submessage_arena); - } - - } else { - - } - closure_ = closure; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlan.closure) -} - -// ------------------------------------------------------------------- - -// LaunchPlanList - -// repeated .flyteidl.admin.LaunchPlan launch_plans = 1; -inline int LaunchPlanList::launch_plans_size() const { - return launch_plans_.size(); -} -inline void LaunchPlanList::clear_launch_plans() { - launch_plans_.Clear(); -} -inline ::flyteidl::admin::LaunchPlan* LaunchPlanList::mutable_launch_plans(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanList.launch_plans) - return launch_plans_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::LaunchPlan >* -LaunchPlanList::mutable_launch_plans() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.LaunchPlanList.launch_plans) - return &launch_plans_; -} -inline const ::flyteidl::admin::LaunchPlan& LaunchPlanList::launch_plans(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanList.launch_plans) - return launch_plans_.Get(index); -} -inline ::flyteidl::admin::LaunchPlan* LaunchPlanList::add_launch_plans() { - // @@protoc_insertion_point(field_add:flyteidl.admin.LaunchPlanList.launch_plans) - return launch_plans_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::LaunchPlan >& -LaunchPlanList::launch_plans() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.LaunchPlanList.launch_plans) - return launch_plans_; -} - -// string token = 2; -inline void LaunchPlanList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& LaunchPlanList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanList.token) - return token_.GetNoArena(); -} -inline void LaunchPlanList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchPlanList.token) -} -#if LANG_CXX11 -inline void LaunchPlanList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LaunchPlanList.token) -} -#endif -inline void LaunchPlanList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.LaunchPlanList.token) -} -inline void LaunchPlanList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LaunchPlanList.token) -} -inline ::std::string* LaunchPlanList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* LaunchPlanList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void LaunchPlanList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanList.token) -} - -// ------------------------------------------------------------------- - -// Auth - -// string assumable_iam_role = 1; -inline void Auth::clear_assumable_iam_role() { - assumable_iam_role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Auth::assumable_iam_role() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Auth.assumable_iam_role) - return assumable_iam_role_.GetNoArena(); -} -inline void Auth::set_assumable_iam_role(const ::std::string& value) { - - assumable_iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Auth.assumable_iam_role) -} -#if LANG_CXX11 -inline void Auth::set_assumable_iam_role(::std::string&& value) { - - assumable_iam_role_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Auth.assumable_iam_role) -} -#endif -inline void Auth::set_assumable_iam_role(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - assumable_iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Auth.assumable_iam_role) -} -inline void Auth::set_assumable_iam_role(const char* value, size_t size) { - - assumable_iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Auth.assumable_iam_role) -} -inline ::std::string* Auth::mutable_assumable_iam_role() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Auth.assumable_iam_role) - return assumable_iam_role_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Auth::release_assumable_iam_role() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Auth.assumable_iam_role) - - return assumable_iam_role_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Auth::set_allocated_assumable_iam_role(::std::string* assumable_iam_role) { - if (assumable_iam_role != nullptr) { - - } else { - - } - assumable_iam_role_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), assumable_iam_role); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Auth.assumable_iam_role) -} - -// string kubernetes_service_account = 2; -inline void Auth::clear_kubernetes_service_account() { - kubernetes_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Auth::kubernetes_service_account() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Auth.kubernetes_service_account) - return kubernetes_service_account_.GetNoArena(); -} -inline void Auth::set_kubernetes_service_account(const ::std::string& value) { - - kubernetes_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Auth.kubernetes_service_account) -} -#if LANG_CXX11 -inline void Auth::set_kubernetes_service_account(::std::string&& value) { - - kubernetes_service_account_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Auth.kubernetes_service_account) -} -#endif -inline void Auth::set_kubernetes_service_account(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - kubernetes_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Auth.kubernetes_service_account) -} -inline void Auth::set_kubernetes_service_account(const char* value, size_t size) { - - kubernetes_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Auth.kubernetes_service_account) -} -inline ::std::string* Auth::mutable_kubernetes_service_account() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Auth.kubernetes_service_account) - return kubernetes_service_account_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Auth::release_kubernetes_service_account() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Auth.kubernetes_service_account) - - return kubernetes_service_account_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Auth::set_allocated_kubernetes_service_account(::std::string* kubernetes_service_account) { - if (kubernetes_service_account != nullptr) { - - } else { - - } - kubernetes_service_account_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), kubernetes_service_account); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Auth.kubernetes_service_account) -} - -// ------------------------------------------------------------------- - -// LaunchPlanSpec - -// .flyteidl.core.Identifier workflow_id = 1; -inline bool LaunchPlanSpec::has_workflow_id() const { - return this != internal_default_instance() && workflow_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& LaunchPlanSpec::workflow_id() const { - const ::flyteidl::core::Identifier* p = workflow_id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.workflow_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* LaunchPlanSpec::release_workflow_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.workflow_id) - - ::flyteidl::core::Identifier* temp = workflow_id_; - workflow_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* LaunchPlanSpec::mutable_workflow_id() { - - if (workflow_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - workflow_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.workflow_id) - return workflow_id_; -} -inline void LaunchPlanSpec::set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_id_); - } - if (workflow_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_id, submessage_arena); - } - - } else { - - } - workflow_id_ = workflow_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.workflow_id) -} - -// .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; -inline bool LaunchPlanSpec::has_entity_metadata() const { - return this != internal_default_instance() && entity_metadata_ != nullptr; -} -inline void LaunchPlanSpec::clear_entity_metadata() { - if (GetArenaNoVirtual() == nullptr && entity_metadata_ != nullptr) { - delete entity_metadata_; - } - entity_metadata_ = nullptr; -} -inline const ::flyteidl::admin::LaunchPlanMetadata& LaunchPlanSpec::entity_metadata() const { - const ::flyteidl::admin::LaunchPlanMetadata* p = entity_metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.entity_metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_LaunchPlanMetadata_default_instance_); -} -inline ::flyteidl::admin::LaunchPlanMetadata* LaunchPlanSpec::release_entity_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.entity_metadata) - - ::flyteidl::admin::LaunchPlanMetadata* temp = entity_metadata_; - entity_metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::LaunchPlanMetadata* LaunchPlanSpec::mutable_entity_metadata() { - - if (entity_metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::LaunchPlanMetadata>(GetArenaNoVirtual()); - entity_metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.entity_metadata) - return entity_metadata_; -} -inline void LaunchPlanSpec::set_allocated_entity_metadata(::flyteidl::admin::LaunchPlanMetadata* entity_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete entity_metadata_; - } - if (entity_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - entity_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, entity_metadata, submessage_arena); - } - - } else { - - } - entity_metadata_ = entity_metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.entity_metadata) -} - -// .flyteidl.core.ParameterMap default_inputs = 3; -inline bool LaunchPlanSpec::has_default_inputs() const { - return this != internal_default_instance() && default_inputs_ != nullptr; -} -inline const ::flyteidl::core::ParameterMap& LaunchPlanSpec::default_inputs() const { - const ::flyteidl::core::ParameterMap* p = default_inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.default_inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ParameterMap_default_instance_); -} -inline ::flyteidl::core::ParameterMap* LaunchPlanSpec::release_default_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.default_inputs) - - ::flyteidl::core::ParameterMap* temp = default_inputs_; - default_inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::ParameterMap* LaunchPlanSpec::mutable_default_inputs() { - - if (default_inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ParameterMap>(GetArenaNoVirtual()); - default_inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.default_inputs) - return default_inputs_; -} -inline void LaunchPlanSpec::set_allocated_default_inputs(::flyteidl::core::ParameterMap* default_inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(default_inputs_); - } - if (default_inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - default_inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, default_inputs, submessage_arena); - } - - } else { - - } - default_inputs_ = default_inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.default_inputs) -} - -// .flyteidl.core.LiteralMap fixed_inputs = 4; -inline bool LaunchPlanSpec::has_fixed_inputs() const { - return this != internal_default_instance() && fixed_inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& LaunchPlanSpec::fixed_inputs() const { - const ::flyteidl::core::LiteralMap* p = fixed_inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.fixed_inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* LaunchPlanSpec::release_fixed_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.fixed_inputs) - - ::flyteidl::core::LiteralMap* temp = fixed_inputs_; - fixed_inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* LaunchPlanSpec::mutable_fixed_inputs() { - - if (fixed_inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - fixed_inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.fixed_inputs) - return fixed_inputs_; -} -inline void LaunchPlanSpec::set_allocated_fixed_inputs(::flyteidl::core::LiteralMap* fixed_inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(fixed_inputs_); - } - if (fixed_inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - fixed_inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, fixed_inputs, submessage_arena); - } - - } else { - - } - fixed_inputs_ = fixed_inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.fixed_inputs) -} - -// string role = 5 [deprecated = true]; -inline void LaunchPlanSpec::clear_role() { - role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& LaunchPlanSpec::role() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.role) - return role_.GetNoArena(); -} -inline void LaunchPlanSpec::set_role(const ::std::string& value) { - - role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchPlanSpec.role) -} -#if LANG_CXX11 -inline void LaunchPlanSpec::set_role(::std::string&& value) { - - role_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LaunchPlanSpec.role) -} -#endif -inline void LaunchPlanSpec::set_role(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.LaunchPlanSpec.role) -} -inline void LaunchPlanSpec::set_role(const char* value, size_t size) { - - role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LaunchPlanSpec.role) -} -inline ::std::string* LaunchPlanSpec::mutable_role() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.role) - return role_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* LaunchPlanSpec::release_role() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.role) - - return role_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void LaunchPlanSpec::set_allocated_role(::std::string* role) { - if (role != nullptr) { - - } else { - - } - role_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), role); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.role) -} - -// .flyteidl.admin.Labels labels = 6; -inline bool LaunchPlanSpec::has_labels() const { - return this != internal_default_instance() && labels_ != nullptr; -} -inline const ::flyteidl::admin::Labels& LaunchPlanSpec::labels() const { - const ::flyteidl::admin::Labels* p = labels_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.labels) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Labels_default_instance_); -} -inline ::flyteidl::admin::Labels* LaunchPlanSpec::release_labels() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.labels) - - ::flyteidl::admin::Labels* temp = labels_; - labels_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Labels* LaunchPlanSpec::mutable_labels() { - - if (labels_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Labels>(GetArenaNoVirtual()); - labels_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.labels) - return labels_; -} -inline void LaunchPlanSpec::set_allocated_labels(::flyteidl::admin::Labels* labels) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(labels_); - } - if (labels) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - labels = ::google::protobuf::internal::GetOwnedMessage( - message_arena, labels, submessage_arena); - } - - } else { - - } - labels_ = labels; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.labels) -} - -// .flyteidl.admin.Annotations annotations = 7; -inline bool LaunchPlanSpec::has_annotations() const { - return this != internal_default_instance() && annotations_ != nullptr; -} -inline const ::flyteidl::admin::Annotations& LaunchPlanSpec::annotations() const { - const ::flyteidl::admin::Annotations* p = annotations_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.annotations) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Annotations_default_instance_); -} -inline ::flyteidl::admin::Annotations* LaunchPlanSpec::release_annotations() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.annotations) - - ::flyteidl::admin::Annotations* temp = annotations_; - annotations_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Annotations* LaunchPlanSpec::mutable_annotations() { - - if (annotations_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Annotations>(GetArenaNoVirtual()); - annotations_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.annotations) - return annotations_; -} -inline void LaunchPlanSpec::set_allocated_annotations(::flyteidl::admin::Annotations* annotations) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(annotations_); - } - if (annotations) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - annotations = ::google::protobuf::internal::GetOwnedMessage( - message_arena, annotations, submessage_arena); - } - - } else { - - } - annotations_ = annotations; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.annotations) -} - -// .flyteidl.admin.Auth auth = 8 [deprecated = true]; -inline bool LaunchPlanSpec::has_auth() const { - return this != internal_default_instance() && auth_ != nullptr; -} -inline void LaunchPlanSpec::clear_auth() { - if (GetArenaNoVirtual() == nullptr && auth_ != nullptr) { - delete auth_; - } - auth_ = nullptr; -} -inline const ::flyteidl::admin::Auth& LaunchPlanSpec::auth() const { - const ::flyteidl::admin::Auth* p = auth_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.auth) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Auth_default_instance_); -} -inline ::flyteidl::admin::Auth* LaunchPlanSpec::release_auth() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.auth) - - ::flyteidl::admin::Auth* temp = auth_; - auth_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Auth* LaunchPlanSpec::mutable_auth() { - - if (auth_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Auth>(GetArenaNoVirtual()); - auth_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.auth) - return auth_; -} -inline void LaunchPlanSpec::set_allocated_auth(::flyteidl::admin::Auth* auth) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete auth_; - } - if (auth) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - auth = ::google::protobuf::internal::GetOwnedMessage( - message_arena, auth, submessage_arena); - } - - } else { - - } - auth_ = auth; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.auth) -} - -// .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; -inline bool LaunchPlanSpec::has_auth_role() const { - return this != internal_default_instance() && auth_role_ != nullptr; -} -inline const ::flyteidl::admin::AuthRole& LaunchPlanSpec::auth_role() const { - const ::flyteidl::admin::AuthRole* p = auth_role_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.auth_role) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_AuthRole_default_instance_); -} -inline ::flyteidl::admin::AuthRole* LaunchPlanSpec::release_auth_role() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.auth_role) - - ::flyteidl::admin::AuthRole* temp = auth_role_; - auth_role_ = nullptr; - return temp; -} -inline ::flyteidl::admin::AuthRole* LaunchPlanSpec::mutable_auth_role() { - - if (auth_role_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::AuthRole>(GetArenaNoVirtual()); - auth_role_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.auth_role) - return auth_role_; -} -inline void LaunchPlanSpec::set_allocated_auth_role(::flyteidl::admin::AuthRole* auth_role) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(auth_role_); - } - if (auth_role) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - auth_role = ::google::protobuf::internal::GetOwnedMessage( - message_arena, auth_role, submessage_arena); - } - - } else { - - } - auth_role_ = auth_role; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.auth_role) -} - -// .flyteidl.core.SecurityContext security_context = 10; -inline bool LaunchPlanSpec::has_security_context() const { - return this != internal_default_instance() && security_context_ != nullptr; -} -inline const ::flyteidl::core::SecurityContext& LaunchPlanSpec::security_context() const { - const ::flyteidl::core::SecurityContext* p = security_context_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.security_context) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SecurityContext_default_instance_); -} -inline ::flyteidl::core::SecurityContext* LaunchPlanSpec::release_security_context() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.security_context) - - ::flyteidl::core::SecurityContext* temp = security_context_; - security_context_ = nullptr; - return temp; -} -inline ::flyteidl::core::SecurityContext* LaunchPlanSpec::mutable_security_context() { - - if (security_context_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SecurityContext>(GetArenaNoVirtual()); - security_context_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.security_context) - return security_context_; -} -inline void LaunchPlanSpec::set_allocated_security_context(::flyteidl::core::SecurityContext* security_context) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(security_context_); - } - if (security_context) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - security_context = ::google::protobuf::internal::GetOwnedMessage( - message_arena, security_context, submessage_arena); - } - - } else { - - } - security_context_ = security_context; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.security_context) -} - -// .flyteidl.core.QualityOfService quality_of_service = 16; -inline bool LaunchPlanSpec::has_quality_of_service() const { - return this != internal_default_instance() && quality_of_service_ != nullptr; -} -inline const ::flyteidl::core::QualityOfService& LaunchPlanSpec::quality_of_service() const { - const ::flyteidl::core::QualityOfService* p = quality_of_service_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.quality_of_service) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_QualityOfService_default_instance_); -} -inline ::flyteidl::core::QualityOfService* LaunchPlanSpec::release_quality_of_service() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.quality_of_service) - - ::flyteidl::core::QualityOfService* temp = quality_of_service_; - quality_of_service_ = nullptr; - return temp; -} -inline ::flyteidl::core::QualityOfService* LaunchPlanSpec::mutable_quality_of_service() { - - if (quality_of_service_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::QualityOfService>(GetArenaNoVirtual()); - quality_of_service_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.quality_of_service) - return quality_of_service_; -} -inline void LaunchPlanSpec::set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(quality_of_service_); - } - if (quality_of_service) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - quality_of_service = ::google::protobuf::internal::GetOwnedMessage( - message_arena, quality_of_service, submessage_arena); - } - - } else { - - } - quality_of_service_ = quality_of_service; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.quality_of_service) -} - -// .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; -inline bool LaunchPlanSpec::has_raw_output_data_config() const { - return this != internal_default_instance() && raw_output_data_config_ != nullptr; -} -inline const ::flyteidl::admin::RawOutputDataConfig& LaunchPlanSpec::raw_output_data_config() const { - const ::flyteidl::admin::RawOutputDataConfig* p = raw_output_data_config_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.raw_output_data_config) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_RawOutputDataConfig_default_instance_); -} -inline ::flyteidl::admin::RawOutputDataConfig* LaunchPlanSpec::release_raw_output_data_config() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.raw_output_data_config) - - ::flyteidl::admin::RawOutputDataConfig* temp = raw_output_data_config_; - raw_output_data_config_ = nullptr; - return temp; -} -inline ::flyteidl::admin::RawOutputDataConfig* LaunchPlanSpec::mutable_raw_output_data_config() { - - if (raw_output_data_config_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::RawOutputDataConfig>(GetArenaNoVirtual()); - raw_output_data_config_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.raw_output_data_config) - return raw_output_data_config_; -} -inline void LaunchPlanSpec::set_allocated_raw_output_data_config(::flyteidl::admin::RawOutputDataConfig* raw_output_data_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_output_data_config_); - } - if (raw_output_data_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - raw_output_data_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, raw_output_data_config, submessage_arena); - } - - } else { - - } - raw_output_data_config_ = raw_output_data_config; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.raw_output_data_config) -} - -// int32 max_parallelism = 18; -inline void LaunchPlanSpec::clear_max_parallelism() { - max_parallelism_ = 0; -} -inline ::google::protobuf::int32 LaunchPlanSpec::max_parallelism() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.max_parallelism) - return max_parallelism_; -} -inline void LaunchPlanSpec::set_max_parallelism(::google::protobuf::int32 value) { - - max_parallelism_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchPlanSpec.max_parallelism) -} - -// .google.protobuf.BoolValue interruptible = 19; -inline bool LaunchPlanSpec::has_interruptible() const { - return this != internal_default_instance() && interruptible_ != nullptr; -} -inline const ::google::protobuf::BoolValue& LaunchPlanSpec::interruptible() const { - const ::google::protobuf::BoolValue* p = interruptible_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.interruptible) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_BoolValue_default_instance_); -} -inline ::google::protobuf::BoolValue* LaunchPlanSpec::release_interruptible() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.interruptible) - - ::google::protobuf::BoolValue* temp = interruptible_; - interruptible_ = nullptr; - return temp; -} -inline ::google::protobuf::BoolValue* LaunchPlanSpec::mutable_interruptible() { - - if (interruptible_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::BoolValue>(GetArenaNoVirtual()); - interruptible_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.interruptible) - return interruptible_; -} -inline void LaunchPlanSpec::set_allocated_interruptible(::google::protobuf::BoolValue* interruptible) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(interruptible_); - } - if (interruptible) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(interruptible)->GetArena(); - if (message_arena != submessage_arena) { - interruptible = ::google::protobuf::internal::GetOwnedMessage( - message_arena, interruptible, submessage_arena); - } - - } else { - - } - interruptible_ = interruptible; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.interruptible) -} - -// bool overwrite_cache = 20; -inline void LaunchPlanSpec::clear_overwrite_cache() { - overwrite_cache_ = false; -} -inline bool LaunchPlanSpec::overwrite_cache() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.overwrite_cache) - return overwrite_cache_; -} -inline void LaunchPlanSpec::set_overwrite_cache(bool value) { - - overwrite_cache_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchPlanSpec.overwrite_cache) -} - -// .flyteidl.admin.Envs envs = 21; -inline bool LaunchPlanSpec::has_envs() const { - return this != internal_default_instance() && envs_ != nullptr; -} -inline const ::flyteidl::admin::Envs& LaunchPlanSpec::envs() const { - const ::flyteidl::admin::Envs* p = envs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.envs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Envs_default_instance_); -} -inline ::flyteidl::admin::Envs* LaunchPlanSpec::release_envs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.envs) - - ::flyteidl::admin::Envs* temp = envs_; - envs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Envs* LaunchPlanSpec::mutable_envs() { - - if (envs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Envs>(GetArenaNoVirtual()); - envs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.envs) - return envs_; -} -inline void LaunchPlanSpec::set_allocated_envs(::flyteidl::admin::Envs* envs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(envs_); - } - if (envs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - envs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, envs, submessage_arena); - } - - } else { - - } - envs_ = envs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.envs) -} - -// ------------------------------------------------------------------- - -// LaunchPlanClosure - -// .flyteidl.admin.LaunchPlanState state = 1; -inline void LaunchPlanClosure::clear_state() { - state_ = 0; -} -inline ::flyteidl::admin::LaunchPlanState LaunchPlanClosure::state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanClosure.state) - return static_cast< ::flyteidl::admin::LaunchPlanState >(state_); -} -inline void LaunchPlanClosure::set_state(::flyteidl::admin::LaunchPlanState value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchPlanClosure.state) -} - -// .flyteidl.core.ParameterMap expected_inputs = 2; -inline bool LaunchPlanClosure::has_expected_inputs() const { - return this != internal_default_instance() && expected_inputs_ != nullptr; -} -inline const ::flyteidl::core::ParameterMap& LaunchPlanClosure::expected_inputs() const { - const ::flyteidl::core::ParameterMap* p = expected_inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanClosure.expected_inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ParameterMap_default_instance_); -} -inline ::flyteidl::core::ParameterMap* LaunchPlanClosure::release_expected_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanClosure.expected_inputs) - - ::flyteidl::core::ParameterMap* temp = expected_inputs_; - expected_inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::ParameterMap* LaunchPlanClosure::mutable_expected_inputs() { - - if (expected_inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ParameterMap>(GetArenaNoVirtual()); - expected_inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanClosure.expected_inputs) - return expected_inputs_; -} -inline void LaunchPlanClosure::set_allocated_expected_inputs(::flyteidl::core::ParameterMap* expected_inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expected_inputs_); - } - if (expected_inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - expected_inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expected_inputs, submessage_arena); - } - - } else { - - } - expected_inputs_ = expected_inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanClosure.expected_inputs) -} - -// .flyteidl.core.VariableMap expected_outputs = 3; -inline bool LaunchPlanClosure::has_expected_outputs() const { - return this != internal_default_instance() && expected_outputs_ != nullptr; -} -inline const ::flyteidl::core::VariableMap& LaunchPlanClosure::expected_outputs() const { - const ::flyteidl::core::VariableMap* p = expected_outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanClosure.expected_outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_VariableMap_default_instance_); -} -inline ::flyteidl::core::VariableMap* LaunchPlanClosure::release_expected_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanClosure.expected_outputs) - - ::flyteidl::core::VariableMap* temp = expected_outputs_; - expected_outputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::VariableMap* LaunchPlanClosure::mutable_expected_outputs() { - - if (expected_outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::VariableMap>(GetArenaNoVirtual()); - expected_outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanClosure.expected_outputs) - return expected_outputs_; -} -inline void LaunchPlanClosure::set_allocated_expected_outputs(::flyteidl::core::VariableMap* expected_outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expected_outputs_); - } - if (expected_outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - expected_outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expected_outputs, submessage_arena); - } - - } else { - - } - expected_outputs_ = expected_outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanClosure.expected_outputs) -} - -// .google.protobuf.Timestamp created_at = 4; -inline bool LaunchPlanClosure::has_created_at() const { - return this != internal_default_instance() && created_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& LaunchPlanClosure::created_at() const { - const ::google::protobuf::Timestamp* p = created_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanClosure.created_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* LaunchPlanClosure::release_created_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanClosure.created_at) - - ::google::protobuf::Timestamp* temp = created_at_; - created_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* LaunchPlanClosure::mutable_created_at() { - - if (created_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - created_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanClosure.created_at) - return created_at_; -} -inline void LaunchPlanClosure::set_allocated_created_at(::google::protobuf::Timestamp* created_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(created_at_); - } - if (created_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(created_at)->GetArena(); - if (message_arena != submessage_arena) { - created_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, created_at, submessage_arena); - } - - } else { - - } - created_at_ = created_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanClosure.created_at) -} - -// .google.protobuf.Timestamp updated_at = 5; -inline bool LaunchPlanClosure::has_updated_at() const { - return this != internal_default_instance() && updated_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& LaunchPlanClosure::updated_at() const { - const ::google::protobuf::Timestamp* p = updated_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanClosure.updated_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* LaunchPlanClosure::release_updated_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanClosure.updated_at) - - ::google::protobuf::Timestamp* temp = updated_at_; - updated_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* LaunchPlanClosure::mutable_updated_at() { - - if (updated_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - updated_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanClosure.updated_at) - return updated_at_; -} -inline void LaunchPlanClosure::set_allocated_updated_at(::google::protobuf::Timestamp* updated_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(updated_at_); - } - if (updated_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(updated_at)->GetArena(); - if (message_arena != submessage_arena) { - updated_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, updated_at, submessage_arena); - } - - } else { - - } - updated_at_ = updated_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanClosure.updated_at) -} - -// ------------------------------------------------------------------- - -// LaunchPlanMetadata - -// .flyteidl.admin.Schedule schedule = 1; -inline bool LaunchPlanMetadata::has_schedule() const { - return this != internal_default_instance() && schedule_ != nullptr; -} -inline const ::flyteidl::admin::Schedule& LaunchPlanMetadata::schedule() const { - const ::flyteidl::admin::Schedule* p = schedule_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanMetadata.schedule) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Schedule_default_instance_); -} -inline ::flyteidl::admin::Schedule* LaunchPlanMetadata::release_schedule() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanMetadata.schedule) - - ::flyteidl::admin::Schedule* temp = schedule_; - schedule_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Schedule* LaunchPlanMetadata::mutable_schedule() { - - if (schedule_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Schedule>(GetArenaNoVirtual()); - schedule_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanMetadata.schedule) - return schedule_; -} -inline void LaunchPlanMetadata::set_allocated_schedule(::flyteidl::admin::Schedule* schedule) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(schedule_); - } - if (schedule) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - schedule = ::google::protobuf::internal::GetOwnedMessage( - message_arena, schedule, submessage_arena); - } - - } else { - - } - schedule_ = schedule; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanMetadata.schedule) -} - -// repeated .flyteidl.admin.Notification notifications = 2; -inline int LaunchPlanMetadata::notifications_size() const { - return notifications_.size(); -} -inline ::flyteidl::admin::Notification* LaunchPlanMetadata::mutable_notifications(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanMetadata.notifications) - return notifications_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >* -LaunchPlanMetadata::mutable_notifications() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.LaunchPlanMetadata.notifications) - return ¬ifications_; -} -inline const ::flyteidl::admin::Notification& LaunchPlanMetadata::notifications(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanMetadata.notifications) - return notifications_.Get(index); -} -inline ::flyteidl::admin::Notification* LaunchPlanMetadata::add_notifications() { - // @@protoc_insertion_point(field_add:flyteidl.admin.LaunchPlanMetadata.notifications) - return notifications_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Notification >& -LaunchPlanMetadata::notifications() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.LaunchPlanMetadata.notifications) - return notifications_; -} - -// .google.protobuf.Any launch_conditions = 3; -inline bool LaunchPlanMetadata::has_launch_conditions() const { - return this != internal_default_instance() && launch_conditions_ != nullptr; -} -inline const ::google::protobuf::Any& LaunchPlanMetadata::launch_conditions() const { - const ::google::protobuf::Any* p = launch_conditions_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanMetadata.launch_conditions) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Any_default_instance_); -} -inline ::google::protobuf::Any* LaunchPlanMetadata::release_launch_conditions() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanMetadata.launch_conditions) - - ::google::protobuf::Any* temp = launch_conditions_; - launch_conditions_ = nullptr; - return temp; -} -inline ::google::protobuf::Any* LaunchPlanMetadata::mutable_launch_conditions() { - - if (launch_conditions_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual()); - launch_conditions_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanMetadata.launch_conditions) - return launch_conditions_; -} -inline void LaunchPlanMetadata::set_allocated_launch_conditions(::google::protobuf::Any* launch_conditions) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(launch_conditions_); - } - if (launch_conditions) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - launch_conditions = ::google::protobuf::internal::GetOwnedMessage( - message_arena, launch_conditions, submessage_arena); - } - - } else { - - } - launch_conditions_ = launch_conditions; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanMetadata.launch_conditions) -} - -// ------------------------------------------------------------------- - -// LaunchPlanUpdateRequest - -// .flyteidl.core.Identifier id = 1; -inline bool LaunchPlanUpdateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& LaunchPlanUpdateRequest::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanUpdateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* LaunchPlanUpdateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanUpdateRequest.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* LaunchPlanUpdateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanUpdateRequest.id) - return id_; -} -inline void LaunchPlanUpdateRequest::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanUpdateRequest.id) -} - -// .flyteidl.admin.LaunchPlanState state = 2; -inline void LaunchPlanUpdateRequest::clear_state() { - state_ = 0; -} -inline ::flyteidl::admin::LaunchPlanState LaunchPlanUpdateRequest::state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanUpdateRequest.state) - return static_cast< ::flyteidl::admin::LaunchPlanState >(state_); -} -inline void LaunchPlanUpdateRequest::set_state(::flyteidl::admin::LaunchPlanState value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchPlanUpdateRequest.state) -} - -// ------------------------------------------------------------------- - -// LaunchPlanUpdateResponse - -// ------------------------------------------------------------------- - -// ActiveLaunchPlanRequest - -// .flyteidl.admin.NamedEntityIdentifier id = 1; -inline bool ActiveLaunchPlanRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::admin::NamedEntityIdentifier& ActiveLaunchPlanRequest::id() const { - const ::flyteidl::admin::NamedEntityIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ActiveLaunchPlanRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NamedEntityIdentifier_default_instance_); -} -inline ::flyteidl::admin::NamedEntityIdentifier* ActiveLaunchPlanRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ActiveLaunchPlanRequest.id) - - ::flyteidl::admin::NamedEntityIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NamedEntityIdentifier* ActiveLaunchPlanRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NamedEntityIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ActiveLaunchPlanRequest.id) - return id_; -} -inline void ActiveLaunchPlanRequest::set_allocated_id(::flyteidl::admin::NamedEntityIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ActiveLaunchPlanRequest.id) -} - -// ------------------------------------------------------------------- - -// ActiveLaunchPlanListRequest - -// string project = 1; -inline void ActiveLaunchPlanListRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ActiveLaunchPlanListRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ActiveLaunchPlanListRequest.project) - return project_.GetNoArena(); -} -inline void ActiveLaunchPlanListRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ActiveLaunchPlanListRequest.project) -} -#if LANG_CXX11 -inline void ActiveLaunchPlanListRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ActiveLaunchPlanListRequest.project) -} -#endif -inline void ActiveLaunchPlanListRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ActiveLaunchPlanListRequest.project) -} -inline void ActiveLaunchPlanListRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ActiveLaunchPlanListRequest.project) -} -inline ::std::string* ActiveLaunchPlanListRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ActiveLaunchPlanListRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ActiveLaunchPlanListRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ActiveLaunchPlanListRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ActiveLaunchPlanListRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ActiveLaunchPlanListRequest.project) -} - -// string domain = 2; -inline void ActiveLaunchPlanListRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ActiveLaunchPlanListRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ActiveLaunchPlanListRequest.domain) - return domain_.GetNoArena(); -} -inline void ActiveLaunchPlanListRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ActiveLaunchPlanListRequest.domain) -} -#if LANG_CXX11 -inline void ActiveLaunchPlanListRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ActiveLaunchPlanListRequest.domain) -} -#endif -inline void ActiveLaunchPlanListRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ActiveLaunchPlanListRequest.domain) -} -inline void ActiveLaunchPlanListRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ActiveLaunchPlanListRequest.domain) -} -inline ::std::string* ActiveLaunchPlanListRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ActiveLaunchPlanListRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ActiveLaunchPlanListRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ActiveLaunchPlanListRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ActiveLaunchPlanListRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ActiveLaunchPlanListRequest.domain) -} - -// uint32 limit = 3; -inline void ActiveLaunchPlanListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 ActiveLaunchPlanListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ActiveLaunchPlanListRequest.limit) - return limit_; -} -inline void ActiveLaunchPlanListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ActiveLaunchPlanListRequest.limit) -} - -// string token = 4; -inline void ActiveLaunchPlanListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ActiveLaunchPlanListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ActiveLaunchPlanListRequest.token) - return token_.GetNoArena(); -} -inline void ActiveLaunchPlanListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ActiveLaunchPlanListRequest.token) -} -#if LANG_CXX11 -inline void ActiveLaunchPlanListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ActiveLaunchPlanListRequest.token) -} -#endif -inline void ActiveLaunchPlanListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ActiveLaunchPlanListRequest.token) -} -inline void ActiveLaunchPlanListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ActiveLaunchPlanListRequest.token) -} -inline ::std::string* ActiveLaunchPlanListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ActiveLaunchPlanListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ActiveLaunchPlanListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ActiveLaunchPlanListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ActiveLaunchPlanListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ActiveLaunchPlanListRequest.token) -} - -// .flyteidl.admin.Sort sort_by = 5; -inline bool ActiveLaunchPlanListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline const ::flyteidl::admin::Sort& ActiveLaunchPlanListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ActiveLaunchPlanListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* ActiveLaunchPlanListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ActiveLaunchPlanListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* ActiveLaunchPlanListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ActiveLaunchPlanListRequest.sort_by) - return sort_by_; -} -inline void ActiveLaunchPlanListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(sort_by_); - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ActiveLaunchPlanListRequest.sort_by) -} - -// string org = 6; -inline void ActiveLaunchPlanListRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ActiveLaunchPlanListRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ActiveLaunchPlanListRequest.org) - return org_.GetNoArena(); -} -inline void ActiveLaunchPlanListRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ActiveLaunchPlanListRequest.org) -} -#if LANG_CXX11 -inline void ActiveLaunchPlanListRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ActiveLaunchPlanListRequest.org) -} -#endif -inline void ActiveLaunchPlanListRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ActiveLaunchPlanListRequest.org) -} -inline void ActiveLaunchPlanListRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ActiveLaunchPlanListRequest.org) -} -inline ::std::string* ActiveLaunchPlanListRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ActiveLaunchPlanListRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ActiveLaunchPlanListRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ActiveLaunchPlanListRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ActiveLaunchPlanListRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ActiveLaunchPlanListRequest.org) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::LaunchPlanState> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::LaunchPlanState>() { - return ::flyteidl::admin::LaunchPlanState_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2flaunch_5fplan_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.cc deleted file mode 100644 index 0574051979..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/matchable_resource.proto - -#include "flyteidl/admin/matchable_resource.pb.h" -#include "flyteidl/admin/matchable_resource.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.h deleted file mode 100644 index c6fe673d08..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/matchable_resource.proto -#ifndef GRPC_flyteidl_2fadmin_2fmatchable_5fresource_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fmatchable_5fresource_2eproto__INCLUDED - -#include "flyteidl/admin/matchable_resource.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fmatchable_5fresource_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc deleted file mode 100644 index 8bd580b5d2..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc +++ /dev/null @@ -1,6215 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/matchable_resource.proto - -#include "flyteidl/admin/matchable_resource.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_MatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_PluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto; -namespace flyteidl { -namespace admin { -class TaskResourceSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskResourceSpec_default_instance_; -class TaskResourceAttributesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskResourceAttributes_default_instance_; -class ClusterResourceAttributes_AttributesEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_; -class ClusterResourceAttributesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ClusterResourceAttributes_default_instance_; -class ExecutionQueueAttributesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionQueueAttributes_default_instance_; -class ExecutionClusterLabelDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionClusterLabel_default_instance_; -class PluginOverrideDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PluginOverride_default_instance_; -class PluginOverridesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PluginOverrides_default_instance_; -class WorkflowExecutionConfigDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionConfig_default_instance_; -class MatchingAttributesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::admin::TaskResourceAttributes* task_resource_attributes_; - const ::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes_; - const ::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes_; - const ::flyteidl::admin::ExecutionClusterLabel* execution_cluster_label_; - const ::flyteidl::core::QualityOfService* quality_of_service_; - const ::flyteidl::admin::PluginOverrides* plugin_overrides_; - const ::flyteidl::admin::WorkflowExecutionConfig* workflow_execution_config_; - const ::flyteidl::admin::ClusterAssignment* cluster_assignment_; -} _MatchingAttributes_default_instance_; -class MatchableAttributesConfigurationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _MatchableAttributesConfiguration_default_instance_; -class ListMatchableAttributesRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListMatchableAttributesRequest_default_instance_; -class ListMatchableAttributesResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListMatchableAttributesResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsTaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskResourceSpec_default_instance_; - new (ptr) ::flyteidl::admin::TaskResourceSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskResourceSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; - -static void InitDefaultsTaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskResourceAttributes_default_instance_; - new (ptr) ::flyteidl::admin::TaskResourceAttributes(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskResourceAttributes::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { - &scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -static void InitDefaultsClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse(); - } - ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; - -static void InitDefaultsClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ClusterResourceAttributes_default_instance_; - new (ptr) ::flyteidl::admin::ClusterResourceAttributes(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ClusterResourceAttributes::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { - &scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -static void InitDefaultsExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionQueueAttributes_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionQueueAttributes(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionQueueAttributes::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; - -static void InitDefaultsExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ExecutionClusterLabel_default_instance_; - new (ptr) ::flyteidl::admin::ExecutionClusterLabel(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ExecutionClusterLabel::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; - -static void InitDefaultsPluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_PluginOverride_default_instance_; - new (ptr) ::flyteidl::admin::PluginOverride(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::PluginOverride::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; - -static void InitDefaultsPluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_PluginOverrides_default_instance_; - new (ptr) ::flyteidl::admin::PluginOverrides(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::PluginOverrides::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_PluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { - &scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -static void InitDefaultsWorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowExecutionConfig_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowExecutionConfig(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowExecutionConfig::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsWorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { - &scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base, - &scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base, - &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsMatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_MatchingAttributes_default_instance_; - new (ptr) ::flyteidl::admin::MatchingAttributes(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::MatchingAttributes::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 8, InitDefaultsMatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { - &scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, - &scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, - &scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, - &scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, - &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_PluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, - &scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, - &scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base,}}; - -static void InitDefaultsMatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_MatchableAttributesConfiguration_default_instance_; - new (ptr) ::flyteidl::admin::MatchableAttributesConfiguration(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::MatchableAttributesConfiguration::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_MatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsMatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { - &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -static void InitDefaultsListMatchableAttributesRequest_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ListMatchableAttributesRequest_default_instance_; - new (ptr) ::flyteidl::admin::ListMatchableAttributesRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ListMatchableAttributesRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ListMatchableAttributesRequest_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsListMatchableAttributesRequest_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; - -static void InitDefaultsListMatchableAttributesResponse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ListMatchableAttributesResponse_default_instance_; - new (ptr) ::flyteidl::admin::ListMatchableAttributesResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ListMatchableAttributesResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ListMatchableAttributesResponse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListMatchableAttributesResponse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { - &scc_info_MatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_MatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ListMatchableAttributesRequest_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ListMatchableAttributesResponse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[13]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[2]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, cpu_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, gpu_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, memory_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, storage_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, ephemeral_storage_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceAttributes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceAttributes, defaults_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceAttributes, limits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes, attributes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionQueueAttributes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionQueueAttributes, tags_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClusterLabel, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionClusterLabel, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PluginOverride, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PluginOverride, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PluginOverride, plugin_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PluginOverride, missing_plugin_behavior_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PluginOverrides, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::PluginOverrides, overrides_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, max_parallelism_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, security_context_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, raw_output_data_config_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, labels_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, annotations_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, interruptible_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, overwrite_cache_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, envs_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchingAttributes, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchingAttributes, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, task_resource_attributes_), - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, cluster_resource_attributes_), - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, execution_queue_attributes_), - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, execution_cluster_label_), - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, quality_of_service_), - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, plugin_overrides_), - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, workflow_execution_config_), - offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, cluster_assignment_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchingAttributes, target_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchableAttributesConfiguration, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchableAttributesConfiguration, attributes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchableAttributesConfiguration, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchableAttributesConfiguration, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchableAttributesConfiguration, workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchableAttributesConfiguration, launch_plan_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchableAttributesConfiguration, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListMatchableAttributesRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListMatchableAttributesRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListMatchableAttributesRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListMatchableAttributesResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ListMatchableAttributesResponse, configurations_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::TaskResourceSpec)}, - { 10, -1, sizeof(::flyteidl::admin::TaskResourceAttributes)}, - { 17, 24, sizeof(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse)}, - { 26, -1, sizeof(::flyteidl::admin::ClusterResourceAttributes)}, - { 32, -1, sizeof(::flyteidl::admin::ExecutionQueueAttributes)}, - { 38, -1, sizeof(::flyteidl::admin::ExecutionClusterLabel)}, - { 44, -1, sizeof(::flyteidl::admin::PluginOverride)}, - { 52, -1, sizeof(::flyteidl::admin::PluginOverrides)}, - { 58, -1, sizeof(::flyteidl::admin::WorkflowExecutionConfig)}, - { 71, -1, sizeof(::flyteidl::admin::MatchingAttributes)}, - { 85, -1, sizeof(::flyteidl::admin::MatchableAttributesConfiguration)}, - { 96, -1, sizeof(::flyteidl::admin::ListMatchableAttributesRequest)}, - { 103, -1, sizeof(::flyteidl::admin::ListMatchableAttributesResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_TaskResourceSpec_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskResourceAttributes_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ClusterResourceAttributes_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionQueueAttributes_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ExecutionClusterLabel_default_instance_), - reinterpret_cast(&::flyteidl::admin::_PluginOverride_default_instance_), - reinterpret_cast(&::flyteidl::admin::_PluginOverrides_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionConfig_default_instance_), - reinterpret_cast(&::flyteidl::admin::_MatchingAttributes_default_instance_), - reinterpret_cast(&::flyteidl::admin::_MatchableAttributesConfiguration_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ListMatchableAttributesRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ListMatchableAttributesResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, "flyteidl/admin/matchable_resource.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, 13, file_level_enum_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[] = - "\n\'flyteidl/admin/matchable_resource.prot" - "o\022\016flyteidl.admin\032\033flyteidl/admin/common" - ".proto\032\'flyteidl/admin/cluster_assignmen" - "t.proto\032\035flyteidl/core/execution.proto\032\034" - "flyteidl/core/security.proto\032\036google/pro" - "tobuf/wrappers.proto\"h\n\020TaskResourceSpec" - "\022\013\n\003cpu\030\001 \001(\t\022\013\n\003gpu\030\002 \001(\t\022\016\n\006memory\030\003 \001" - "(\t\022\017\n\007storage\030\004 \001(\t\022\031\n\021ephemeral_storage" - "\030\005 \001(\t\"~\n\026TaskResourceAttributes\0222\n\010defa" - "ults\030\001 \001(\0132 .flyteidl.admin.TaskResource" - "Spec\0220\n\006limits\030\002 \001(\0132 .flyteidl.admin.Ta" - "skResourceSpec\"\235\001\n\031ClusterResourceAttrib" - "utes\022M\n\nattributes\030\001 \003(\01329.flyteidl.admi" - "n.ClusterResourceAttributes.AttributesEn" - "try\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - "alue\030\002 \001(\t:\0028\001\"(\n\030ExecutionQueueAttribut" - "es\022\014\n\004tags\030\001 \003(\t\"&\n\025ExecutionClusterLabe" - "l\022\r\n\005value\030\001 \001(\t\"\301\001\n\016PluginOverride\022\021\n\tt" - "ask_type\030\001 \001(\t\022\021\n\tplugin_id\030\002 \003(\t\022U\n\027mis" - "sing_plugin_behavior\030\004 \001(\01624.flyteidl.ad" - "min.PluginOverride.MissingPluginBehavior" - "\"2\n\025MissingPluginBehavior\022\010\n\004FAIL\020\000\022\017\n\013U" - "SE_DEFAULT\020\001\"D\n\017PluginOverrides\0221\n\toverr" - "ides\030\001 \003(\0132\036.flyteidl.admin.PluginOverri" - "de\"\373\002\n\027WorkflowExecutionConfig\022\027\n\017max_pa" - "rallelism\030\001 \001(\005\0228\n\020security_context\030\002 \001(" - "\0132\036.flyteidl.core.SecurityContext\022C\n\026raw" - "_output_data_config\030\003 \001(\0132#.flyteidl.adm" - "in.RawOutputDataConfig\022&\n\006labels\030\004 \001(\0132\026" - ".flyteidl.admin.Labels\0220\n\013annotations\030\005 " - "\001(\0132\033.flyteidl.admin.Annotations\0221\n\rinte" - "rruptible\030\006 \001(\0132\032.google.protobuf.BoolVa" - "lue\022\027\n\017overwrite_cache\030\007 \001(\010\022\"\n\004envs\030\010 \001" - "(\0132\024.flyteidl.admin.Envs\"\341\004\n\022MatchingAtt" - "ributes\022J\n\030task_resource_attributes\030\001 \001(" - "\0132&.flyteidl.admin.TaskResourceAttribute" - "sH\000\022P\n\033cluster_resource_attributes\030\002 \001(\013" - "2).flyteidl.admin.ClusterResourceAttribu" - "tesH\000\022N\n\032execution_queue_attributes\030\003 \001(" - "\0132(.flyteidl.admin.ExecutionQueueAttribu" - "tesH\000\022H\n\027execution_cluster_label\030\004 \001(\0132%" - ".flyteidl.admin.ExecutionClusterLabelH\000\022" - "=\n\022quality_of_service\030\005 \001(\0132\037.flyteidl.c" - "ore.QualityOfServiceH\000\022;\n\020plugin_overrid" - "es\030\006 \001(\0132\037.flyteidl.admin.PluginOverride" - "sH\000\022L\n\031workflow_execution_config\030\007 \001(\0132\'" - ".flyteidl.admin.WorkflowExecutionConfigH" - "\000\022\?\n\022cluster_assignment\030\010 \001(\0132!.flyteidl" - ".admin.ClusterAssignmentH\000B\010\n\006target\"\257\001\n" - " MatchableAttributesConfiguration\0226\n\natt" - "ributes\030\001 \001(\0132\".flyteidl.admin.MatchingA" - "ttributes\022\016\n\006domain\030\002 \001(\t\022\017\n\007project\030\003 \001" - "(\t\022\020\n\010workflow\030\004 \001(\t\022\023\n\013launch_plan\030\005 \001(" - "\t\022\013\n\003org\030\006 \001(\t\"g\n\036ListMatchableAttribute" - "sRequest\0228\n\rresource_type\030\001 \001(\0162!.flytei" - "dl.admin.MatchableResource\022\013\n\003org\030\002 \001(\t\"" - "k\n\037ListMatchableAttributesResponse\022H\n\016co" - "nfigurations\030\001 \003(\01320.flyteidl.admin.Matc" - "hableAttributesConfiguration*\340\001\n\021Matchab" - "leResource\022\021\n\rTASK_RESOURCE\020\000\022\024\n\020CLUSTER" - "_RESOURCE\020\001\022\023\n\017EXECUTION_QUEUE\020\002\022\033\n\027EXEC" - "UTION_CLUSTER_LABEL\020\003\022$\n QUALITY_OF_SERV" - "ICE_SPECIFICATION\020\004\022\023\n\017PLUGIN_OVERRIDE\020\005" - "\022\035\n\031WORKFLOW_EXECUTION_CONFIG\020\006\022\026\n\022CLUST" - "ER_ASSIGNMENT\020\007B=Z;github.com/flyteorg/f" - "lyte/flyteidl/gen/pb-go/flyteidl/adminb\006" - "proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, - "flyteidl/admin/matchable_resource.proto", &assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, 2646, -}; - -void AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[5] = - { - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto, - ::AddDescriptors_google_2fprotobuf_2fwrappers_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, deps, 5); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* PluginOverride_MissingPluginBehavior_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[0]; -} -bool PluginOverride_MissingPluginBehavior_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const PluginOverride_MissingPluginBehavior PluginOverride::FAIL; -const PluginOverride_MissingPluginBehavior PluginOverride::USE_DEFAULT; -const PluginOverride_MissingPluginBehavior PluginOverride::MissingPluginBehavior_MIN; -const PluginOverride_MissingPluginBehavior PluginOverride::MissingPluginBehavior_MAX; -const int PluginOverride::MissingPluginBehavior_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* MatchableResource_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[1]; -} -bool MatchableResource_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - return true; - default: - return false; - } -} - - -// =================================================================== - -void TaskResourceSpec::InitAsDefaultInstance() { -} -class TaskResourceSpec::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskResourceSpec::kCpuFieldNumber; -const int TaskResourceSpec::kGpuFieldNumber; -const int TaskResourceSpec::kMemoryFieldNumber; -const int TaskResourceSpec::kStorageFieldNumber; -const int TaskResourceSpec::kEphemeralStorageFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskResourceSpec::TaskResourceSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskResourceSpec) -} -TaskResourceSpec::TaskResourceSpec(const TaskResourceSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - cpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.cpu().size() > 0) { - cpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cpu_); - } - gpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.gpu().size() > 0) { - gpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.gpu_); - } - memory_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.memory().size() > 0) { - memory_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.memory_); - } - storage_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.storage().size() > 0) { - storage_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.storage_); - } - ephemeral_storage_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.ephemeral_storage().size() > 0) { - ephemeral_storage_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ephemeral_storage_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskResourceSpec) -} - -void TaskResourceSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - cpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - gpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - memory_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - storage_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ephemeral_storage_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -TaskResourceSpec::~TaskResourceSpec() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskResourceSpec) - SharedDtor(); -} - -void TaskResourceSpec::SharedDtor() { - cpu_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - gpu_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - memory_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - storage_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ephemeral_storage_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TaskResourceSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskResourceSpec& TaskResourceSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void TaskResourceSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskResourceSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - gpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - memory_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - storage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ephemeral_storage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskResourceSpec::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string cpu = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskResourceSpec.cpu"); - object = msg->mutable_cpu(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string gpu = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskResourceSpec.gpu"); - object = msg->mutable_gpu(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string memory = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskResourceSpec.memory"); - object = msg->mutable_memory(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string storage = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskResourceSpec.storage"); - object = msg->mutable_storage(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string ephemeral_storage = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskResourceSpec.ephemeral_storage"); - object = msg->mutable_ephemeral_storage(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskResourceSpec::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskResourceSpec) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string cpu = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_cpu())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cpu().data(), static_cast(this->cpu().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskResourceSpec.cpu")); - } else { - goto handle_unusual; - } - break; - } - - // string gpu = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_gpu())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->gpu().data(), static_cast(this->gpu().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskResourceSpec.gpu")); - } else { - goto handle_unusual; - } - break; - } - - // string memory = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_memory())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->memory().data(), static_cast(this->memory().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskResourceSpec.memory")); - } else { - goto handle_unusual; - } - break; - } - - // string storage = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_storage())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->storage().data(), static_cast(this->storage().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskResourceSpec.storage")); - } else { - goto handle_unusual; - } - break; - } - - // string ephemeral_storage = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_ephemeral_storage())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->ephemeral_storage().data(), static_cast(this->ephemeral_storage().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskResourceSpec.ephemeral_storage")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskResourceSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskResourceSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskResourceSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskResourceSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cpu = 1; - if (this->cpu().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cpu().data(), static_cast(this->cpu().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.cpu"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->cpu(), output); - } - - // string gpu = 2; - if (this->gpu().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->gpu().data(), static_cast(this->gpu().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.gpu"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->gpu(), output); - } - - // string memory = 3; - if (this->memory().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->memory().data(), static_cast(this->memory().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.memory"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->memory(), output); - } - - // string storage = 4; - if (this->storage().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->storage().data(), static_cast(this->storage().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.storage"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->storage(), output); - } - - // string ephemeral_storage = 5; - if (this->ephemeral_storage().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->ephemeral_storage().data(), static_cast(this->ephemeral_storage().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.ephemeral_storage"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->ephemeral_storage(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskResourceSpec) -} - -::google::protobuf::uint8* TaskResourceSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskResourceSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cpu = 1; - if (this->cpu().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cpu().data(), static_cast(this->cpu().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.cpu"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->cpu(), target); - } - - // string gpu = 2; - if (this->gpu().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->gpu().data(), static_cast(this->gpu().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.gpu"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->gpu(), target); - } - - // string memory = 3; - if (this->memory().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->memory().data(), static_cast(this->memory().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.memory"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->memory(), target); - } - - // string storage = 4; - if (this->storage().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->storage().data(), static_cast(this->storage().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.storage"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->storage(), target); - } - - // string ephemeral_storage = 5; - if (this->ephemeral_storage().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->ephemeral_storage().data(), static_cast(this->ephemeral_storage().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskResourceSpec.ephemeral_storage"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->ephemeral_storage(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskResourceSpec) - return target; -} - -size_t TaskResourceSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskResourceSpec) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string cpu = 1; - if (this->cpu().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->cpu()); - } - - // string gpu = 2; - if (this->gpu().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->gpu()); - } - - // string memory = 3; - if (this->memory().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->memory()); - } - - // string storage = 4; - if (this->storage().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->storage()); - } - - // string ephemeral_storage = 5; - if (this->ephemeral_storage().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->ephemeral_storage()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskResourceSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskResourceSpec) - GOOGLE_DCHECK_NE(&from, this); - const TaskResourceSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskResourceSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskResourceSpec) - MergeFrom(*source); - } -} - -void TaskResourceSpec::MergeFrom(const TaskResourceSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskResourceSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.cpu().size() > 0) { - - cpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cpu_); - } - if (from.gpu().size() > 0) { - - gpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.gpu_); - } - if (from.memory().size() > 0) { - - memory_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.memory_); - } - if (from.storage().size() > 0) { - - storage_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.storage_); - } - if (from.ephemeral_storage().size() > 0) { - - ephemeral_storage_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ephemeral_storage_); - } -} - -void TaskResourceSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskResourceSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskResourceSpec::CopyFrom(const TaskResourceSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskResourceSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskResourceSpec::IsInitialized() const { - return true; -} - -void TaskResourceSpec::Swap(TaskResourceSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskResourceSpec::InternalSwap(TaskResourceSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - cpu_.Swap(&other->cpu_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - gpu_.Swap(&other->gpu_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - memory_.Swap(&other->memory_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - storage_.Swap(&other->storage_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - ephemeral_storage_.Swap(&other->ephemeral_storage_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata TaskResourceSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskResourceAttributes::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskResourceAttributes_default_instance_._instance.get_mutable()->defaults_ = const_cast< ::flyteidl::admin::TaskResourceSpec*>( - ::flyteidl::admin::TaskResourceSpec::internal_default_instance()); - ::flyteidl::admin::_TaskResourceAttributes_default_instance_._instance.get_mutable()->limits_ = const_cast< ::flyteidl::admin::TaskResourceSpec*>( - ::flyteidl::admin::TaskResourceSpec::internal_default_instance()); -} -class TaskResourceAttributes::HasBitSetters { - public: - static const ::flyteidl::admin::TaskResourceSpec& defaults(const TaskResourceAttributes* msg); - static const ::flyteidl::admin::TaskResourceSpec& limits(const TaskResourceAttributes* msg); -}; - -const ::flyteidl::admin::TaskResourceSpec& -TaskResourceAttributes::HasBitSetters::defaults(const TaskResourceAttributes* msg) { - return *msg->defaults_; -} -const ::flyteidl::admin::TaskResourceSpec& -TaskResourceAttributes::HasBitSetters::limits(const TaskResourceAttributes* msg) { - return *msg->limits_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskResourceAttributes::kDefaultsFieldNumber; -const int TaskResourceAttributes::kLimitsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskResourceAttributes::TaskResourceAttributes() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskResourceAttributes) -} -TaskResourceAttributes::TaskResourceAttributes(const TaskResourceAttributes& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_defaults()) { - defaults_ = new ::flyteidl::admin::TaskResourceSpec(*from.defaults_); - } else { - defaults_ = nullptr; - } - if (from.has_limits()) { - limits_ = new ::flyteidl::admin::TaskResourceSpec(*from.limits_); - } else { - limits_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskResourceAttributes) -} - -void TaskResourceAttributes::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::memset(&defaults_, 0, static_cast( - reinterpret_cast(&limits_) - - reinterpret_cast(&defaults_)) + sizeof(limits_)); -} - -TaskResourceAttributes::~TaskResourceAttributes() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskResourceAttributes) - SharedDtor(); -} - -void TaskResourceAttributes::SharedDtor() { - if (this != internal_default_instance()) delete defaults_; - if (this != internal_default_instance()) delete limits_; -} - -void TaskResourceAttributes::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskResourceAttributes& TaskResourceAttributes::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void TaskResourceAttributes::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskResourceAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && defaults_ != nullptr) { - delete defaults_; - } - defaults_ = nullptr; - if (GetArenaNoVirtual() == nullptr && limits_ != nullptr) { - delete limits_; - } - limits_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskResourceAttributes::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.TaskResourceSpec defaults = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskResourceSpec::_InternalParse; - object = msg->mutable_defaults(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.TaskResourceSpec limits = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskResourceSpec::_InternalParse; - object = msg->mutable_limits(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskResourceAttributes::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskResourceAttributes) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.TaskResourceSpec defaults = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_defaults())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.TaskResourceSpec limits = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_limits())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskResourceAttributes) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskResourceAttributes) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskResourceAttributes::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskResourceAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.TaskResourceSpec defaults = 1; - if (this->has_defaults()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::defaults(this), output); - } - - // .flyteidl.admin.TaskResourceSpec limits = 2; - if (this->has_limits()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::limits(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskResourceAttributes) -} - -::google::protobuf::uint8* TaskResourceAttributes::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskResourceAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.TaskResourceSpec defaults = 1; - if (this->has_defaults()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::defaults(this), target); - } - - // .flyteidl.admin.TaskResourceSpec limits = 2; - if (this->has_limits()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::limits(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskResourceAttributes) - return target; -} - -size_t TaskResourceAttributes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskResourceAttributes) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.TaskResourceSpec defaults = 1; - if (this->has_defaults()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *defaults_); - } - - // .flyteidl.admin.TaskResourceSpec limits = 2; - if (this->has_limits()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *limits_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskResourceAttributes::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskResourceAttributes) - GOOGLE_DCHECK_NE(&from, this); - const TaskResourceAttributes* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskResourceAttributes) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskResourceAttributes) - MergeFrom(*source); - } -} - -void TaskResourceAttributes::MergeFrom(const TaskResourceAttributes& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskResourceAttributes) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_defaults()) { - mutable_defaults()->::flyteidl::admin::TaskResourceSpec::MergeFrom(from.defaults()); - } - if (from.has_limits()) { - mutable_limits()->::flyteidl::admin::TaskResourceSpec::MergeFrom(from.limits()); - } -} - -void TaskResourceAttributes::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskResourceAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskResourceAttributes::CopyFrom(const TaskResourceAttributes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskResourceAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskResourceAttributes::IsInitialized() const { - return true; -} - -void TaskResourceAttributes::Swap(TaskResourceAttributes* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskResourceAttributes::InternalSwap(TaskResourceAttributes* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(defaults_, other->defaults_); - swap(limits_, other->limits_); -} - -::google::protobuf::Metadata TaskResourceAttributes::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -ClusterResourceAttributes_AttributesEntry_DoNotUse::ClusterResourceAttributes_AttributesEntry_DoNotUse() {} -ClusterResourceAttributes_AttributesEntry_DoNotUse::ClusterResourceAttributes_AttributesEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void ClusterResourceAttributes_AttributesEntry_DoNotUse::MergeFrom(const ClusterResourceAttributes_AttributesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata ClusterResourceAttributes_AttributesEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[2]; -} -void ClusterResourceAttributes_AttributesEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ClusterResourceAttributes_AttributesEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - ClusterResourceAttributes_AttributesEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void ClusterResourceAttributes::InitAsDefaultInstance() { -} -class ClusterResourceAttributes::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ClusterResourceAttributes::kAttributesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ClusterResourceAttributes::ClusterResourceAttributes() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ClusterResourceAttributes) -} -ClusterResourceAttributes::ClusterResourceAttributes(const ClusterResourceAttributes& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - attributes_.MergeFrom(from.attributes_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ClusterResourceAttributes) -} - -void ClusterResourceAttributes::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); -} - -ClusterResourceAttributes::~ClusterResourceAttributes() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ClusterResourceAttributes) - SharedDtor(); -} - -void ClusterResourceAttributes::SharedDtor() { -} - -void ClusterResourceAttributes::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ClusterResourceAttributes& ClusterResourceAttributes::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void ClusterResourceAttributes::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ClusterResourceAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - attributes_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ClusterResourceAttributes::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->attributes_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ClusterResourceAttributes::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ClusterResourceAttributes) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - ClusterResourceAttributes_AttributesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - ClusterResourceAttributes_AttributesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&attributes_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ClusterResourceAttributes) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ClusterResourceAttributes) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ClusterResourceAttributes::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ClusterResourceAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map attributes = 1; - if (!this->attributes().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->attributes().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->attributes().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(attributes_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it) { - entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ClusterResourceAttributes) -} - -::google::protobuf::uint8* ClusterResourceAttributes::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ClusterResourceAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map attributes = 1; - if (!this->attributes().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value"); - } - }; - - if (false && - this->attributes().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->attributes().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(attributes_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it) { - entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ClusterResourceAttributes) - return target; -} - -size_t ClusterResourceAttributes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ClusterResourceAttributes) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map attributes = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->attributes_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it) { - entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ClusterResourceAttributes::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ClusterResourceAttributes) - GOOGLE_DCHECK_NE(&from, this); - const ClusterResourceAttributes* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ClusterResourceAttributes) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ClusterResourceAttributes) - MergeFrom(*source); - } -} - -void ClusterResourceAttributes::MergeFrom(const ClusterResourceAttributes& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ClusterResourceAttributes) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - attributes_.MergeFrom(from.attributes_); -} - -void ClusterResourceAttributes::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ClusterResourceAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ClusterResourceAttributes::CopyFrom(const ClusterResourceAttributes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ClusterResourceAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ClusterResourceAttributes::IsInitialized() const { - return true; -} - -void ClusterResourceAttributes::Swap(ClusterResourceAttributes* other) { - if (other == this) return; - InternalSwap(other); -} -void ClusterResourceAttributes::InternalSwap(ClusterResourceAttributes* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - attributes_.Swap(&other->attributes_); -} - -::google::protobuf::Metadata ClusterResourceAttributes::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionQueueAttributes::InitAsDefaultInstance() { -} -class ExecutionQueueAttributes::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionQueueAttributes::kTagsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionQueueAttributes::ExecutionQueueAttributes() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionQueueAttributes) -} -ExecutionQueueAttributes::ExecutionQueueAttributes(const ExecutionQueueAttributes& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - tags_(from.tags_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionQueueAttributes) -} - -void ExecutionQueueAttributes::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); -} - -ExecutionQueueAttributes::~ExecutionQueueAttributes() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionQueueAttributes) - SharedDtor(); -} - -void ExecutionQueueAttributes::SharedDtor() { -} - -void ExecutionQueueAttributes::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionQueueAttributes& ExecutionQueueAttributes::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionQueueAttributes::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionQueueAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tags_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionQueueAttributes::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string tags = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionQueueAttributes.tags"); - object = msg->add_tags(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ExecutionQueueAttributes::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionQueueAttributes) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string tags = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_tags())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(this->tags_size() - 1).data(), - static_cast(this->tags(this->tags_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionQueueAttributes.tags")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionQueueAttributes) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionQueueAttributes) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionQueueAttributes::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionQueueAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string tags = 1; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionQueueAttributes.tags"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->tags(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionQueueAttributes) -} - -::google::protobuf::uint8* ExecutionQueueAttributes::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionQueueAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string tags = 1; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionQueueAttributes.tags"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->tags(i), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionQueueAttributes) - return target; -} - -size_t ExecutionQueueAttributes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionQueueAttributes) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string tags = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->tags_size()); - for (int i = 0, n = this->tags_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->tags(i)); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionQueueAttributes::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionQueueAttributes) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionQueueAttributes* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionQueueAttributes) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionQueueAttributes) - MergeFrom(*source); - } -} - -void ExecutionQueueAttributes::MergeFrom(const ExecutionQueueAttributes& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionQueueAttributes) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tags_.MergeFrom(from.tags_); -} - -void ExecutionQueueAttributes::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionQueueAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionQueueAttributes::CopyFrom(const ExecutionQueueAttributes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionQueueAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionQueueAttributes::IsInitialized() const { - return true; -} - -void ExecutionQueueAttributes::Swap(ExecutionQueueAttributes* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionQueueAttributes::InternalSwap(ExecutionQueueAttributes* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tags_.InternalSwap(CastToBase(&other->tags_)); -} - -::google::protobuf::Metadata ExecutionQueueAttributes::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionClusterLabel::InitAsDefaultInstance() { -} -class ExecutionClusterLabel::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionClusterLabel::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionClusterLabel::ExecutionClusterLabel() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionClusterLabel) -} -ExecutionClusterLabel::ExecutionClusterLabel(const ExecutionClusterLabel& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.value().size() > 0) { - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionClusterLabel) -} - -void ExecutionClusterLabel::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ExecutionClusterLabel::~ExecutionClusterLabel() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionClusterLabel) - SharedDtor(); -} - -void ExecutionClusterLabel::SharedDtor() { - value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ExecutionClusterLabel::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionClusterLabel& ExecutionClusterLabel::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionClusterLabel::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionClusterLabel) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionClusterLabel::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string value = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionClusterLabel.value"); - object = msg->mutable_value(); - 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 ExecutionClusterLabel::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ExecutionClusterLabel) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ExecutionClusterLabel.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ExecutionClusterLabel) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionClusterLabel) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionClusterLabel::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionClusterLabel) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string value = 1; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionClusterLabel.value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->value(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionClusterLabel) -} - -::google::protobuf::uint8* ExecutionClusterLabel::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionClusterLabel) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string value = 1; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ExecutionClusterLabel.value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->value(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ExecutionClusterLabel) - return target; -} - -size_t ExecutionClusterLabel::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionClusterLabel) - 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 value = 1; - if (this->value().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionClusterLabel::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionClusterLabel) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionClusterLabel* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionClusterLabel) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionClusterLabel) - MergeFrom(*source); - } -} - -void ExecutionClusterLabel::MergeFrom(const ExecutionClusterLabel& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionClusterLabel) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value().size() > 0) { - - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } -} - -void ExecutionClusterLabel::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionClusterLabel) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionClusterLabel::CopyFrom(const ExecutionClusterLabel& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionClusterLabel) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionClusterLabel::IsInitialized() const { - return true; -} - -void ExecutionClusterLabel::Swap(ExecutionClusterLabel* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionClusterLabel::InternalSwap(ExecutionClusterLabel* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ExecutionClusterLabel::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PluginOverride::InitAsDefaultInstance() { -} -class PluginOverride::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PluginOverride::kTaskTypeFieldNumber; -const int PluginOverride::kPluginIdFieldNumber; -const int PluginOverride::kMissingPluginBehaviorFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PluginOverride::PluginOverride() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.PluginOverride) -} -PluginOverride::PluginOverride(const PluginOverride& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - plugin_id_(from.plugin_id_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - missing_plugin_behavior_ = from.missing_plugin_behavior_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.PluginOverride) -} - -void PluginOverride::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - missing_plugin_behavior_ = 0; -} - -PluginOverride::~PluginOverride() { - // @@protoc_insertion_point(destructor:flyteidl.admin.PluginOverride) - SharedDtor(); -} - -void PluginOverride::SharedDtor() { - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void PluginOverride::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PluginOverride& PluginOverride::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void PluginOverride::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.PluginOverride) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - plugin_id_.Clear(); - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - missing_plugin_behavior_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PluginOverride::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string task_type = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.PluginOverride.task_type"); - object = msg->mutable_task_type(); - 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; - } - // repeated string plugin_id = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.PluginOverride.plugin_id"); - object = msg->add_plugin_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; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); - break; - } - // .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_missing_plugin_behavior(static_cast<::flyteidl::admin::PluginOverride_MissingPluginBehavior>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 PluginOverride::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.PluginOverride) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string task_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.PluginOverride.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string plugin_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_plugin_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->plugin_id(this->plugin_id_size() - 1).data(), - static_cast(this->plugin_id(this->plugin_id_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.PluginOverride.plugin_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_missing_plugin_behavior(static_cast< ::flyteidl::admin::PluginOverride_MissingPluginBehavior >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.PluginOverride) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.PluginOverride) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PluginOverride::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.PluginOverride) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.PluginOverride.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->task_type(), output); - } - - // repeated string plugin_id = 2; - for (int i = 0, n = this->plugin_id_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->plugin_id(i).data(), static_cast(this->plugin_id(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.PluginOverride.plugin_id"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->plugin_id(i), output); - } - - // .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - if (this->missing_plugin_behavior() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->missing_plugin_behavior(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.PluginOverride) -} - -::google::protobuf::uint8* PluginOverride::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.PluginOverride) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.PluginOverride.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->task_type(), target); - } - - // repeated string plugin_id = 2; - for (int i = 0, n = this->plugin_id_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->plugin_id(i).data(), static_cast(this->plugin_id(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.PluginOverride.plugin_id"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(2, this->plugin_id(i), target); - } - - // .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - if (this->missing_plugin_behavior() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->missing_plugin_behavior(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.PluginOverride) - return target; -} - -size_t PluginOverride::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.PluginOverride) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string plugin_id = 2; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->plugin_id_size()); - for (int i = 0, n = this->plugin_id_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->plugin_id(i)); - } - - // string task_type = 1; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - if (this->missing_plugin_behavior() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->missing_plugin_behavior()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PluginOverride::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.PluginOverride) - GOOGLE_DCHECK_NE(&from, this); - const PluginOverride* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.PluginOverride) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.PluginOverride) - MergeFrom(*source); - } -} - -void PluginOverride::MergeFrom(const PluginOverride& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.PluginOverride) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - plugin_id_.MergeFrom(from.plugin_id_); - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.missing_plugin_behavior() != 0) { - set_missing_plugin_behavior(from.missing_plugin_behavior()); - } -} - -void PluginOverride::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.PluginOverride) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PluginOverride::CopyFrom(const PluginOverride& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.PluginOverride) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PluginOverride::IsInitialized() const { - return true; -} - -void PluginOverride::Swap(PluginOverride* other) { - if (other == this) return; - InternalSwap(other); -} -void PluginOverride::InternalSwap(PluginOverride* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - plugin_id_.InternalSwap(CastToBase(&other->plugin_id_)); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(missing_plugin_behavior_, other->missing_plugin_behavior_); -} - -::google::protobuf::Metadata PluginOverride::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PluginOverrides::InitAsDefaultInstance() { -} -class PluginOverrides::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PluginOverrides::kOverridesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PluginOverrides::PluginOverrides() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.PluginOverrides) -} -PluginOverrides::PluginOverrides(const PluginOverrides& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - overrides_(from.overrides_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.PluginOverrides) -} - -void PluginOverrides::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); -} - -PluginOverrides::~PluginOverrides() { - // @@protoc_insertion_point(destructor:flyteidl.admin.PluginOverrides) - SharedDtor(); -} - -void PluginOverrides::SharedDtor() { -} - -void PluginOverrides::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PluginOverrides& PluginOverrides::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void PluginOverrides::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.PluginOverrides) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - overrides_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PluginOverrides::_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.admin.PluginOverride overrides = 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::admin::PluginOverride::_InternalParse; - object = msg->add_overrides(); - 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 PluginOverrides::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.PluginOverrides) - 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.admin.PluginOverride overrides = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_overrides())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.PluginOverrides) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.PluginOverrides) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PluginOverrides::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.PluginOverrides) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.PluginOverride overrides = 1; - for (unsigned int i = 0, - n = static_cast(this->overrides_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->overrides(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.admin.PluginOverrides) -} - -::google::protobuf::uint8* PluginOverrides::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.PluginOverrides) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.PluginOverride overrides = 1; - for (unsigned int i = 0, - n = static_cast(this->overrides_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->overrides(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.admin.PluginOverrides) - return target; -} - -size_t PluginOverrides::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.PluginOverrides) - 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.admin.PluginOverride overrides = 1; - { - unsigned int count = static_cast(this->overrides_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->overrides(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PluginOverrides::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.PluginOverrides) - GOOGLE_DCHECK_NE(&from, this); - const PluginOverrides* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.PluginOverrides) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.PluginOverrides) - MergeFrom(*source); - } -} - -void PluginOverrides::MergeFrom(const PluginOverrides& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.PluginOverrides) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - overrides_.MergeFrom(from.overrides_); -} - -void PluginOverrides::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.PluginOverrides) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PluginOverrides::CopyFrom(const PluginOverrides& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.PluginOverrides) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PluginOverrides::IsInitialized() const { - return true; -} - -void PluginOverrides::Swap(PluginOverrides* other) { - if (other == this) return; - InternalSwap(other); -} -void PluginOverrides::InternalSwap(PluginOverrides* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&overrides_)->InternalSwap(CastToBase(&other->overrides_)); -} - -::google::protobuf::Metadata PluginOverrides::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionConfig::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->security_context_ = const_cast< ::flyteidl::core::SecurityContext*>( - ::flyteidl::core::SecurityContext::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->raw_output_data_config_ = const_cast< ::flyteidl::admin::RawOutputDataConfig*>( - ::flyteidl::admin::RawOutputDataConfig::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->labels_ = const_cast< ::flyteidl::admin::Labels*>( - ::flyteidl::admin::Labels::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->annotations_ = const_cast< ::flyteidl::admin::Annotations*>( - ::flyteidl::admin::Annotations::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->interruptible_ = const_cast< ::google::protobuf::BoolValue*>( - ::google::protobuf::BoolValue::internal_default_instance()); - ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->envs_ = const_cast< ::flyteidl::admin::Envs*>( - ::flyteidl::admin::Envs::internal_default_instance()); -} -class WorkflowExecutionConfig::HasBitSetters { - public: - static const ::flyteidl::core::SecurityContext& security_context(const WorkflowExecutionConfig* msg); - static const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config(const WorkflowExecutionConfig* msg); - static const ::flyteidl::admin::Labels& labels(const WorkflowExecutionConfig* msg); - static const ::flyteidl::admin::Annotations& annotations(const WorkflowExecutionConfig* msg); - static const ::google::protobuf::BoolValue& interruptible(const WorkflowExecutionConfig* msg); - static const ::flyteidl::admin::Envs& envs(const WorkflowExecutionConfig* msg); -}; - -const ::flyteidl::core::SecurityContext& -WorkflowExecutionConfig::HasBitSetters::security_context(const WorkflowExecutionConfig* msg) { - return *msg->security_context_; -} -const ::flyteidl::admin::RawOutputDataConfig& -WorkflowExecutionConfig::HasBitSetters::raw_output_data_config(const WorkflowExecutionConfig* msg) { - return *msg->raw_output_data_config_; -} -const ::flyteidl::admin::Labels& -WorkflowExecutionConfig::HasBitSetters::labels(const WorkflowExecutionConfig* msg) { - return *msg->labels_; -} -const ::flyteidl::admin::Annotations& -WorkflowExecutionConfig::HasBitSetters::annotations(const WorkflowExecutionConfig* msg) { - return *msg->annotations_; -} -const ::google::protobuf::BoolValue& -WorkflowExecutionConfig::HasBitSetters::interruptible(const WorkflowExecutionConfig* msg) { - return *msg->interruptible_; -} -const ::flyteidl::admin::Envs& -WorkflowExecutionConfig::HasBitSetters::envs(const WorkflowExecutionConfig* msg) { - return *msg->envs_; -} -void WorkflowExecutionConfig::clear_security_context() { - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; -} -void WorkflowExecutionConfig::clear_raw_output_data_config() { - if (GetArenaNoVirtual() == nullptr && raw_output_data_config_ != nullptr) { - delete raw_output_data_config_; - } - raw_output_data_config_ = nullptr; -} -void WorkflowExecutionConfig::clear_labels() { - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; -} -void WorkflowExecutionConfig::clear_annotations() { - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; -} -void WorkflowExecutionConfig::clear_interruptible() { - if (GetArenaNoVirtual() == nullptr && interruptible_ != nullptr) { - delete interruptible_; - } - interruptible_ = nullptr; -} -void WorkflowExecutionConfig::clear_envs() { - if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { - delete envs_; - } - envs_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionConfig::kMaxParallelismFieldNumber; -const int WorkflowExecutionConfig::kSecurityContextFieldNumber; -const int WorkflowExecutionConfig::kRawOutputDataConfigFieldNumber; -const int WorkflowExecutionConfig::kLabelsFieldNumber; -const int WorkflowExecutionConfig::kAnnotationsFieldNumber; -const int WorkflowExecutionConfig::kInterruptibleFieldNumber; -const int WorkflowExecutionConfig::kOverwriteCacheFieldNumber; -const int WorkflowExecutionConfig::kEnvsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionConfig::WorkflowExecutionConfig() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionConfig) -} -WorkflowExecutionConfig::WorkflowExecutionConfig(const WorkflowExecutionConfig& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_security_context()) { - security_context_ = new ::flyteidl::core::SecurityContext(*from.security_context_); - } else { - security_context_ = nullptr; - } - if (from.has_raw_output_data_config()) { - raw_output_data_config_ = new ::flyteidl::admin::RawOutputDataConfig(*from.raw_output_data_config_); - } else { - raw_output_data_config_ = nullptr; - } - if (from.has_labels()) { - labels_ = new ::flyteidl::admin::Labels(*from.labels_); - } else { - labels_ = nullptr; - } - if (from.has_annotations()) { - annotations_ = new ::flyteidl::admin::Annotations(*from.annotations_); - } else { - annotations_ = nullptr; - } - if (from.has_interruptible()) { - interruptible_ = new ::google::protobuf::BoolValue(*from.interruptible_); - } else { - interruptible_ = nullptr; - } - if (from.has_envs()) { - envs_ = new ::flyteidl::admin::Envs(*from.envs_); - } else { - envs_ = nullptr; - } - ::memcpy(&max_parallelism_, &from.max_parallelism_, - static_cast(reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionConfig) -} - -void WorkflowExecutionConfig::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - ::memset(&security_context_, 0, static_cast( - reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&security_context_)) + sizeof(overwrite_cache_)); -} - -WorkflowExecutionConfig::~WorkflowExecutionConfig() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionConfig) - SharedDtor(); -} - -void WorkflowExecutionConfig::SharedDtor() { - if (this != internal_default_instance()) delete security_context_; - if (this != internal_default_instance()) delete raw_output_data_config_; - if (this != internal_default_instance()) delete labels_; - if (this != internal_default_instance()) delete annotations_; - if (this != internal_default_instance()) delete interruptible_; - if (this != internal_default_instance()) delete envs_; -} - -void WorkflowExecutionConfig::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionConfig& WorkflowExecutionConfig::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionConfig::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; - if (GetArenaNoVirtual() == nullptr && raw_output_data_config_ != nullptr) { - delete raw_output_data_config_; - } - raw_output_data_config_ = nullptr; - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; - if (GetArenaNoVirtual() == nullptr && interruptible_ != nullptr) { - delete interruptible_; - } - interruptible_ = nullptr; - if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { - delete envs_; - } - envs_ = nullptr; - ::memset(&max_parallelism_, 0, static_cast( - reinterpret_cast(&overwrite_cache_) - - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionConfig::_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) { - // int32 max_parallelism = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_max_parallelism(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.SecurityContext security_context = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::SecurityContext::_InternalParse; - object = msg->mutable_security_context(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::RawOutputDataConfig::_InternalParse; - object = msg->mutable_raw_output_data_config(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.Labels labels = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Labels::_InternalParse; - object = msg->mutable_labels(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.Annotations annotations = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Annotations::_InternalParse; - object = msg->mutable_annotations(); - 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; - } - // .google.protobuf.BoolValue interruptible = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::BoolValue::_InternalParse; - object = msg->mutable_interruptible(); - 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; - } - // bool overwrite_cache = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 56) goto handle_unusual; - msg->set_overwrite_cache(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.Envs envs = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Envs::_InternalParse; - object = msg->mutable_envs(); - 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 WorkflowExecutionConfig::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionConfig) - 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)) { - // int32 max_parallelism = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_parallelism_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SecurityContext security_context = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_security_context())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_raw_output_data_config())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Labels labels = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_labels())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Annotations annotations = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_annotations())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.BoolValue interruptible = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_interruptible())); - } else { - goto handle_unusual; - } - break; - } - - // bool overwrite_cache = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (56 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &overwrite_cache_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Envs envs = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_envs())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionConfig) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionConfig) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionConfig::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 max_parallelism = 1; - if (this->max_parallelism() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->max_parallelism(), output); - } - - // .flyteidl.core.SecurityContext security_context = 2; - if (this->has_security_context()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::security_context(this), output); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - if (this->has_raw_output_data_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::raw_output_data_config(this), output); - } - - // .flyteidl.admin.Labels labels = 4; - if (this->has_labels()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::labels(this), output); - } - - // .flyteidl.admin.Annotations annotations = 5; - if (this->has_annotations()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::annotations(this), output); - } - - // .google.protobuf.BoolValue interruptible = 6; - if (this->has_interruptible()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::interruptible(this), output); - } - - // bool overwrite_cache = 7; - if (this->overwrite_cache() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->overwrite_cache(), output); - } - - // .flyteidl.admin.Envs envs = 8; - if (this->has_envs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::envs(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionConfig) -} - -::google::protobuf::uint8* WorkflowExecutionConfig::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 max_parallelism = 1; - if (this->max_parallelism() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->max_parallelism(), target); - } - - // .flyteidl.core.SecurityContext security_context = 2; - if (this->has_security_context()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::security_context(this), target); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - if (this->has_raw_output_data_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::raw_output_data_config(this), target); - } - - // .flyteidl.admin.Labels labels = 4; - if (this->has_labels()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::labels(this), target); - } - - // .flyteidl.admin.Annotations annotations = 5; - if (this->has_annotations()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::annotations(this), target); - } - - // .google.protobuf.BoolValue interruptible = 6; - if (this->has_interruptible()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::interruptible(this), target); - } - - // bool overwrite_cache = 7; - if (this->overwrite_cache() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->overwrite_cache(), target); - } - - // .flyteidl.admin.Envs envs = 8; - if (this->has_envs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::envs(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionConfig) - return target; -} - -size_t WorkflowExecutionConfig::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionConfig) - 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.SecurityContext security_context = 2; - if (this->has_security_context()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *security_context_); - } - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - if (this->has_raw_output_data_config()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *raw_output_data_config_); - } - - // .flyteidl.admin.Labels labels = 4; - if (this->has_labels()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *labels_); - } - - // .flyteidl.admin.Annotations annotations = 5; - if (this->has_annotations()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *annotations_); - } - - // .google.protobuf.BoolValue interruptible = 6; - if (this->has_interruptible()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *interruptible_); - } - - // .flyteidl.admin.Envs envs = 8; - if (this->has_envs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *envs_); - } - - // int32 max_parallelism = 1; - if (this->max_parallelism() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_parallelism()); - } - - // bool overwrite_cache = 7; - if (this->overwrite_cache() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionConfig::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionConfig) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionConfig* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionConfig) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionConfig) - MergeFrom(*source); - } -} - -void WorkflowExecutionConfig::MergeFrom(const WorkflowExecutionConfig& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionConfig) - 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_security_context()) { - mutable_security_context()->::flyteidl::core::SecurityContext::MergeFrom(from.security_context()); - } - if (from.has_raw_output_data_config()) { - mutable_raw_output_data_config()->::flyteidl::admin::RawOutputDataConfig::MergeFrom(from.raw_output_data_config()); - } - if (from.has_labels()) { - mutable_labels()->::flyteidl::admin::Labels::MergeFrom(from.labels()); - } - if (from.has_annotations()) { - mutable_annotations()->::flyteidl::admin::Annotations::MergeFrom(from.annotations()); - } - if (from.has_interruptible()) { - mutable_interruptible()->::google::protobuf::BoolValue::MergeFrom(from.interruptible()); - } - if (from.has_envs()) { - mutable_envs()->::flyteidl::admin::Envs::MergeFrom(from.envs()); - } - if (from.max_parallelism() != 0) { - set_max_parallelism(from.max_parallelism()); - } - if (from.overwrite_cache() != 0) { - set_overwrite_cache(from.overwrite_cache()); - } -} - -void WorkflowExecutionConfig::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionConfig::CopyFrom(const WorkflowExecutionConfig& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionConfig::IsInitialized() const { - return true; -} - -void WorkflowExecutionConfig::Swap(WorkflowExecutionConfig* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionConfig::InternalSwap(WorkflowExecutionConfig* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(security_context_, other->security_context_); - swap(raw_output_data_config_, other->raw_output_data_config_); - swap(labels_, other->labels_); - swap(annotations_, other->annotations_); - swap(interruptible_, other->interruptible_); - swap(envs_, other->envs_); - swap(max_parallelism_, other->max_parallelism_); - swap(overwrite_cache_, other->overwrite_cache_); -} - -::google::protobuf::Metadata WorkflowExecutionConfig::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void MatchingAttributes::InitAsDefaultInstance() { - ::flyteidl::admin::_MatchingAttributes_default_instance_.task_resource_attributes_ = const_cast< ::flyteidl::admin::TaskResourceAttributes*>( - ::flyteidl::admin::TaskResourceAttributes::internal_default_instance()); - ::flyteidl::admin::_MatchingAttributes_default_instance_.cluster_resource_attributes_ = const_cast< ::flyteidl::admin::ClusterResourceAttributes*>( - ::flyteidl::admin::ClusterResourceAttributes::internal_default_instance()); - ::flyteidl::admin::_MatchingAttributes_default_instance_.execution_queue_attributes_ = const_cast< ::flyteidl::admin::ExecutionQueueAttributes*>( - ::flyteidl::admin::ExecutionQueueAttributes::internal_default_instance()); - ::flyteidl::admin::_MatchingAttributes_default_instance_.execution_cluster_label_ = const_cast< ::flyteidl::admin::ExecutionClusterLabel*>( - ::flyteidl::admin::ExecutionClusterLabel::internal_default_instance()); - ::flyteidl::admin::_MatchingAttributes_default_instance_.quality_of_service_ = const_cast< ::flyteidl::core::QualityOfService*>( - ::flyteidl::core::QualityOfService::internal_default_instance()); - ::flyteidl::admin::_MatchingAttributes_default_instance_.plugin_overrides_ = const_cast< ::flyteidl::admin::PluginOverrides*>( - ::flyteidl::admin::PluginOverrides::internal_default_instance()); - ::flyteidl::admin::_MatchingAttributes_default_instance_.workflow_execution_config_ = const_cast< ::flyteidl::admin::WorkflowExecutionConfig*>( - ::flyteidl::admin::WorkflowExecutionConfig::internal_default_instance()); - ::flyteidl::admin::_MatchingAttributes_default_instance_.cluster_assignment_ = const_cast< ::flyteidl::admin::ClusterAssignment*>( - ::flyteidl::admin::ClusterAssignment::internal_default_instance()); -} -class MatchingAttributes::HasBitSetters { - public: - static const ::flyteidl::admin::TaskResourceAttributes& task_resource_attributes(const MatchingAttributes* msg); - static const ::flyteidl::admin::ClusterResourceAttributes& cluster_resource_attributes(const MatchingAttributes* msg); - static const ::flyteidl::admin::ExecutionQueueAttributes& execution_queue_attributes(const MatchingAttributes* msg); - static const ::flyteidl::admin::ExecutionClusterLabel& execution_cluster_label(const MatchingAttributes* msg); - static const ::flyteidl::core::QualityOfService& quality_of_service(const MatchingAttributes* msg); - static const ::flyteidl::admin::PluginOverrides& plugin_overrides(const MatchingAttributes* msg); - static const ::flyteidl::admin::WorkflowExecutionConfig& workflow_execution_config(const MatchingAttributes* msg); - static const ::flyteidl::admin::ClusterAssignment& cluster_assignment(const MatchingAttributes* msg); -}; - -const ::flyteidl::admin::TaskResourceAttributes& -MatchingAttributes::HasBitSetters::task_resource_attributes(const MatchingAttributes* msg) { - return *msg->target_.task_resource_attributes_; -} -const ::flyteidl::admin::ClusterResourceAttributes& -MatchingAttributes::HasBitSetters::cluster_resource_attributes(const MatchingAttributes* msg) { - return *msg->target_.cluster_resource_attributes_; -} -const ::flyteidl::admin::ExecutionQueueAttributes& -MatchingAttributes::HasBitSetters::execution_queue_attributes(const MatchingAttributes* msg) { - return *msg->target_.execution_queue_attributes_; -} -const ::flyteidl::admin::ExecutionClusterLabel& -MatchingAttributes::HasBitSetters::execution_cluster_label(const MatchingAttributes* msg) { - return *msg->target_.execution_cluster_label_; -} -const ::flyteidl::core::QualityOfService& -MatchingAttributes::HasBitSetters::quality_of_service(const MatchingAttributes* msg) { - return *msg->target_.quality_of_service_; -} -const ::flyteidl::admin::PluginOverrides& -MatchingAttributes::HasBitSetters::plugin_overrides(const MatchingAttributes* msg) { - return *msg->target_.plugin_overrides_; -} -const ::flyteidl::admin::WorkflowExecutionConfig& -MatchingAttributes::HasBitSetters::workflow_execution_config(const MatchingAttributes* msg) { - return *msg->target_.workflow_execution_config_; -} -const ::flyteidl::admin::ClusterAssignment& -MatchingAttributes::HasBitSetters::cluster_assignment(const MatchingAttributes* msg) { - return *msg->target_.cluster_assignment_; -} -void MatchingAttributes::set_allocated_task_resource_attributes(::flyteidl::admin::TaskResourceAttributes* task_resource_attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (task_resource_attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_resource_attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_resource_attributes, submessage_arena); - } - set_has_task_resource_attributes(); - target_.task_resource_attributes_ = task_resource_attributes; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.task_resource_attributes) -} -void MatchingAttributes::set_allocated_cluster_resource_attributes(::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (cluster_resource_attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - cluster_resource_attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, cluster_resource_attributes, submessage_arena); - } - set_has_cluster_resource_attributes(); - target_.cluster_resource_attributes_ = cluster_resource_attributes; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) -} -void MatchingAttributes::set_allocated_execution_queue_attributes(::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (execution_queue_attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - execution_queue_attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, execution_queue_attributes, submessage_arena); - } - set_has_execution_queue_attributes(); - target_.execution_queue_attributes_ = execution_queue_attributes; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.execution_queue_attributes) -} -void MatchingAttributes::set_allocated_execution_cluster_label(::flyteidl::admin::ExecutionClusterLabel* execution_cluster_label) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (execution_cluster_label) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - execution_cluster_label = ::google::protobuf::internal::GetOwnedMessage( - message_arena, execution_cluster_label, submessage_arena); - } - set_has_execution_cluster_label(); - target_.execution_cluster_label_ = execution_cluster_label; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.execution_cluster_label) -} -void MatchingAttributes::set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (quality_of_service) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - quality_of_service = ::google::protobuf::internal::GetOwnedMessage( - message_arena, quality_of_service, submessage_arena); - } - set_has_quality_of_service(); - target_.quality_of_service_ = quality_of_service; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.quality_of_service) -} -void MatchingAttributes::clear_quality_of_service() { - if (has_quality_of_service()) { - delete target_.quality_of_service_; - clear_has_target(); - } -} -void MatchingAttributes::set_allocated_plugin_overrides(::flyteidl::admin::PluginOverrides* plugin_overrides) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (plugin_overrides) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - plugin_overrides = ::google::protobuf::internal::GetOwnedMessage( - message_arena, plugin_overrides, submessage_arena); - } - set_has_plugin_overrides(); - target_.plugin_overrides_ = plugin_overrides; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.plugin_overrides) -} -void MatchingAttributes::set_allocated_workflow_execution_config(::flyteidl::admin::WorkflowExecutionConfig* workflow_execution_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (workflow_execution_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_execution_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_execution_config, submessage_arena); - } - set_has_workflow_execution_config(); - target_.workflow_execution_config_ = workflow_execution_config; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.workflow_execution_config) -} -void MatchingAttributes::set_allocated_cluster_assignment(::flyteidl::admin::ClusterAssignment* cluster_assignment) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (cluster_assignment) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - cluster_assignment = ::google::protobuf::internal::GetOwnedMessage( - message_arena, cluster_assignment, submessage_arena); - } - set_has_cluster_assignment(); - target_.cluster_assignment_ = cluster_assignment; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.cluster_assignment) -} -void MatchingAttributes::clear_cluster_assignment() { - if (has_cluster_assignment()) { - delete target_.cluster_assignment_; - clear_has_target(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int MatchingAttributes::kTaskResourceAttributesFieldNumber; -const int MatchingAttributes::kClusterResourceAttributesFieldNumber; -const int MatchingAttributes::kExecutionQueueAttributesFieldNumber; -const int MatchingAttributes::kExecutionClusterLabelFieldNumber; -const int MatchingAttributes::kQualityOfServiceFieldNumber; -const int MatchingAttributes::kPluginOverridesFieldNumber; -const int MatchingAttributes::kWorkflowExecutionConfigFieldNumber; -const int MatchingAttributes::kClusterAssignmentFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -MatchingAttributes::MatchingAttributes() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.MatchingAttributes) -} -MatchingAttributes::MatchingAttributes(const MatchingAttributes& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_target(); - switch (from.target_case()) { - case kTaskResourceAttributes: { - mutable_task_resource_attributes()->::flyteidl::admin::TaskResourceAttributes::MergeFrom(from.task_resource_attributes()); - break; - } - case kClusterResourceAttributes: { - mutable_cluster_resource_attributes()->::flyteidl::admin::ClusterResourceAttributes::MergeFrom(from.cluster_resource_attributes()); - break; - } - case kExecutionQueueAttributes: { - mutable_execution_queue_attributes()->::flyteidl::admin::ExecutionQueueAttributes::MergeFrom(from.execution_queue_attributes()); - break; - } - case kExecutionClusterLabel: { - mutable_execution_cluster_label()->::flyteidl::admin::ExecutionClusterLabel::MergeFrom(from.execution_cluster_label()); - break; - } - case kQualityOfService: { - mutable_quality_of_service()->::flyteidl::core::QualityOfService::MergeFrom(from.quality_of_service()); - break; - } - case kPluginOverrides: { - mutable_plugin_overrides()->::flyteidl::admin::PluginOverrides::MergeFrom(from.plugin_overrides()); - break; - } - case kWorkflowExecutionConfig: { - mutable_workflow_execution_config()->::flyteidl::admin::WorkflowExecutionConfig::MergeFrom(from.workflow_execution_config()); - break; - } - case kClusterAssignment: { - mutable_cluster_assignment()->::flyteidl::admin::ClusterAssignment::MergeFrom(from.cluster_assignment()); - break; - } - case TARGET_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.MatchingAttributes) -} - -void MatchingAttributes::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - clear_has_target(); -} - -MatchingAttributes::~MatchingAttributes() { - // @@protoc_insertion_point(destructor:flyteidl.admin.MatchingAttributes) - SharedDtor(); -} - -void MatchingAttributes::SharedDtor() { - if (has_target()) { - clear_target(); - } -} - -void MatchingAttributes::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const MatchingAttributes& MatchingAttributes::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void MatchingAttributes::clear_target() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.MatchingAttributes) - switch (target_case()) { - case kTaskResourceAttributes: { - delete target_.task_resource_attributes_; - break; - } - case kClusterResourceAttributes: { - delete target_.cluster_resource_attributes_; - break; - } - case kExecutionQueueAttributes: { - delete target_.execution_queue_attributes_; - break; - } - case kExecutionClusterLabel: { - delete target_.execution_cluster_label_; - break; - } - case kQualityOfService: { - delete target_.quality_of_service_; - break; - } - case kPluginOverrides: { - delete target_.plugin_overrides_; - break; - } - case kWorkflowExecutionConfig: { - delete target_.workflow_execution_config_; - break; - } - case kClusterAssignment: { - delete target_.cluster_assignment_; - break; - } - case TARGET_NOT_SET: { - break; - } - } - _oneof_case_[0] = TARGET_NOT_SET; -} - - -void MatchingAttributes::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.MatchingAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_target(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* MatchingAttributes::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskResourceAttributes::_InternalParse; - object = msg->mutable_task_resource_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ClusterResourceAttributes::_InternalParse; - object = msg->mutable_cluster_resource_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionQueueAttributes::_InternalParse; - object = msg->mutable_execution_queue_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ExecutionClusterLabel::_InternalParse; - object = msg->mutable_execution_cluster_label(); - 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.QualityOfService quality_of_service = 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::QualityOfService::_InternalParse; - object = msg->mutable_quality_of_service(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.PluginOverrides plugin_overrides = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::PluginOverrides::_InternalParse; - object = msg->mutable_plugin_overrides(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowExecutionConfig::_InternalParse; - object = msg->mutable_workflow_execution_config(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ClusterAssignment::_InternalParse; - object = msg->mutable_cluster_assignment(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool MatchingAttributes::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.MatchingAttributes) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_resource_attributes())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_cluster_resource_attributes())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_execution_queue_attributes())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_execution_cluster_label())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.QualityOfService quality_of_service = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_quality_of_service())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.PluginOverrides plugin_overrides = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_plugin_overrides())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_execution_config())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_cluster_assignment())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.MatchingAttributes) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.MatchingAttributes) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void MatchingAttributes::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.MatchingAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - if (has_task_resource_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::task_resource_attributes(this), output); - } - - // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - if (has_cluster_resource_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::cluster_resource_attributes(this), output); - } - - // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - if (has_execution_queue_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::execution_queue_attributes(this), output); - } - - // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - if (has_execution_cluster_label()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::execution_cluster_label(this), output); - } - - // .flyteidl.core.QualityOfService quality_of_service = 5; - if (has_quality_of_service()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::quality_of_service(this), output); - } - - // .flyteidl.admin.PluginOverrides plugin_overrides = 6; - if (has_plugin_overrides()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::plugin_overrides(this), output); - } - - // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - if (has_workflow_execution_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::workflow_execution_config(this), output); - } - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - if (has_cluster_assignment()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::cluster_assignment(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.MatchingAttributes) -} - -::google::protobuf::uint8* MatchingAttributes::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.MatchingAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - if (has_task_resource_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::task_resource_attributes(this), target); - } - - // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - if (has_cluster_resource_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::cluster_resource_attributes(this), target); - } - - // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - if (has_execution_queue_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::execution_queue_attributes(this), target); - } - - // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - if (has_execution_cluster_label()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::execution_cluster_label(this), target); - } - - // .flyteidl.core.QualityOfService quality_of_service = 5; - if (has_quality_of_service()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::quality_of_service(this), target); - } - - // .flyteidl.admin.PluginOverrides plugin_overrides = 6; - if (has_plugin_overrides()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::plugin_overrides(this), target); - } - - // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - if (has_workflow_execution_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::workflow_execution_config(this), target); - } - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - if (has_cluster_assignment()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::cluster_assignment(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.MatchingAttributes) - return target; -} - -size_t MatchingAttributes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.MatchingAttributes) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (target_case()) { - // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - case kTaskResourceAttributes: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.task_resource_attributes_); - break; - } - // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - case kClusterResourceAttributes: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.cluster_resource_attributes_); - break; - } - // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - case kExecutionQueueAttributes: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.execution_queue_attributes_); - break; - } - // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - case kExecutionClusterLabel: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.execution_cluster_label_); - break; - } - // .flyteidl.core.QualityOfService quality_of_service = 5; - case kQualityOfService: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.quality_of_service_); - break; - } - // .flyteidl.admin.PluginOverrides plugin_overrides = 6; - case kPluginOverrides: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.plugin_overrides_); - break; - } - // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - case kWorkflowExecutionConfig: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.workflow_execution_config_); - break; - } - // .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - case kClusterAssignment: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.cluster_assignment_); - break; - } - case TARGET_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void MatchingAttributes::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.MatchingAttributes) - GOOGLE_DCHECK_NE(&from, this); - const MatchingAttributes* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.MatchingAttributes) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.MatchingAttributes) - MergeFrom(*source); - } -} - -void MatchingAttributes::MergeFrom(const MatchingAttributes& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.MatchingAttributes) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.target_case()) { - case kTaskResourceAttributes: { - mutable_task_resource_attributes()->::flyteidl::admin::TaskResourceAttributes::MergeFrom(from.task_resource_attributes()); - break; - } - case kClusterResourceAttributes: { - mutable_cluster_resource_attributes()->::flyteidl::admin::ClusterResourceAttributes::MergeFrom(from.cluster_resource_attributes()); - break; - } - case kExecutionQueueAttributes: { - mutable_execution_queue_attributes()->::flyteidl::admin::ExecutionQueueAttributes::MergeFrom(from.execution_queue_attributes()); - break; - } - case kExecutionClusterLabel: { - mutable_execution_cluster_label()->::flyteidl::admin::ExecutionClusterLabel::MergeFrom(from.execution_cluster_label()); - break; - } - case kQualityOfService: { - mutable_quality_of_service()->::flyteidl::core::QualityOfService::MergeFrom(from.quality_of_service()); - break; - } - case kPluginOverrides: { - mutable_plugin_overrides()->::flyteidl::admin::PluginOverrides::MergeFrom(from.plugin_overrides()); - break; - } - case kWorkflowExecutionConfig: { - mutable_workflow_execution_config()->::flyteidl::admin::WorkflowExecutionConfig::MergeFrom(from.workflow_execution_config()); - break; - } - case kClusterAssignment: { - mutable_cluster_assignment()->::flyteidl::admin::ClusterAssignment::MergeFrom(from.cluster_assignment()); - break; - } - case TARGET_NOT_SET: { - break; - } - } -} - -void MatchingAttributes::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.MatchingAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void MatchingAttributes::CopyFrom(const MatchingAttributes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.MatchingAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MatchingAttributes::IsInitialized() const { - return true; -} - -void MatchingAttributes::Swap(MatchingAttributes* other) { - if (other == this) return; - InternalSwap(other); -} -void MatchingAttributes::InternalSwap(MatchingAttributes* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(target_, other->target_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata MatchingAttributes::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void MatchableAttributesConfiguration::InitAsDefaultInstance() { - ::flyteidl::admin::_MatchableAttributesConfiguration_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); -} -class MatchableAttributesConfiguration::HasBitSetters { - public: - static const ::flyteidl::admin::MatchingAttributes& attributes(const MatchableAttributesConfiguration* msg); -}; - -const ::flyteidl::admin::MatchingAttributes& -MatchableAttributesConfiguration::HasBitSetters::attributes(const MatchableAttributesConfiguration* msg) { - return *msg->attributes_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int MatchableAttributesConfiguration::kAttributesFieldNumber; -const int MatchableAttributesConfiguration::kDomainFieldNumber; -const int MatchableAttributesConfiguration::kProjectFieldNumber; -const int MatchableAttributesConfiguration::kWorkflowFieldNumber; -const int MatchableAttributesConfiguration::kLaunchPlanFieldNumber; -const int MatchableAttributesConfiguration::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -MatchableAttributesConfiguration::MatchableAttributesConfiguration() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.MatchableAttributesConfiguration) -} -MatchableAttributesConfiguration::MatchableAttributesConfiguration(const MatchableAttributesConfiguration& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.workflow().size() > 0) { - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - launch_plan_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.launch_plan().size() > 0) { - launch_plan_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.launch_plan_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_attributes()) { - attributes_ = new ::flyteidl::admin::MatchingAttributes(*from.attributes_); - } else { - attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.MatchableAttributesConfiguration) -} - -void MatchableAttributesConfiguration::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_MatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - launch_plan_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - attributes_ = nullptr; -} - -MatchableAttributesConfiguration::~MatchableAttributesConfiguration() { - // @@protoc_insertion_point(destructor:flyteidl.admin.MatchableAttributesConfiguration) - SharedDtor(); -} - -void MatchableAttributesConfiguration::SharedDtor() { - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - launch_plan_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete attributes_; -} - -void MatchableAttributesConfiguration::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const MatchableAttributesConfiguration& MatchableAttributesConfiguration::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_MatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void MatchableAttributesConfiguration::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.MatchableAttributesConfiguration) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - launch_plan_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* MatchableAttributesConfiguration::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.MatchingAttributes attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; - object = msg->mutable_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.MatchableAttributesConfiguration.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string project = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.MatchableAttributesConfiguration.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string workflow = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.MatchableAttributesConfiguration.workflow"); - object = msg->mutable_workflow(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string launch_plan = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.MatchableAttributesConfiguration.launch_plan"); - object = msg->mutable_launch_plan(); - 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 org = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.MatchableAttributesConfiguration.org"); - object = msg->mutable_org(); - 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 MatchableAttributesConfiguration::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.MatchableAttributesConfiguration) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.MatchingAttributes attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_attributes())); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.MatchableAttributesConfiguration.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string project = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.MatchableAttributesConfiguration.project")); - } else { - goto handle_unusual; - } - break; - } - - // string workflow = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_workflow())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.MatchableAttributesConfiguration.workflow")); - } else { - goto handle_unusual; - } - break; - } - - // string launch_plan = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_launch_plan())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->launch_plan().data(), static_cast(this->launch_plan().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.MatchableAttributesConfiguration.launch_plan")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.MatchableAttributesConfiguration.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.MatchableAttributesConfiguration) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.MatchableAttributesConfiguration) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void MatchableAttributesConfiguration::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.MatchableAttributesConfiguration) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.MatchingAttributes attributes = 1; - if (this->has_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::attributes(this), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string project = 3; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->project(), output); - } - - // string workflow = 4; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.workflow"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->workflow(), output); - } - - // string launch_plan = 5; - if (this->launch_plan().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->launch_plan().data(), static_cast(this->launch_plan().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.launch_plan"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->launch_plan(), output); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.MatchableAttributesConfiguration) -} - -::google::protobuf::uint8* MatchableAttributesConfiguration::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.MatchableAttributesConfiguration) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.MatchingAttributes attributes = 1; - if (this->has_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::attributes(this), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string project = 3; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->project(), target); - } - - // string workflow = 4; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.workflow"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->workflow(), target); - } - - // string launch_plan = 5; - if (this->launch_plan().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->launch_plan().data(), static_cast(this->launch_plan().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.launch_plan"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->launch_plan(), target); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.MatchableAttributesConfiguration.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.MatchableAttributesConfiguration) - return target; -} - -size_t MatchableAttributesConfiguration::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.MatchableAttributesConfiguration) - 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 domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string project = 3; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string workflow = 4; - if (this->workflow().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->workflow()); - } - - // string launch_plan = 5; - if (this->launch_plan().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->launch_plan()); - } - - // string org = 6; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchingAttributes attributes = 1; - if (this->has_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void MatchableAttributesConfiguration::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.MatchableAttributesConfiguration) - GOOGLE_DCHECK_NE(&from, this); - const MatchableAttributesConfiguration* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.MatchableAttributesConfiguration) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.MatchableAttributesConfiguration) - MergeFrom(*source); - } -} - -void MatchableAttributesConfiguration::MergeFrom(const MatchableAttributesConfiguration& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.MatchableAttributesConfiguration) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.workflow().size() > 0) { - - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - if (from.launch_plan().size() > 0) { - - launch_plan_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.launch_plan_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_attributes()) { - mutable_attributes()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.attributes()); - } -} - -void MatchableAttributesConfiguration::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.MatchableAttributesConfiguration) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void MatchableAttributesConfiguration::CopyFrom(const MatchableAttributesConfiguration& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.MatchableAttributesConfiguration) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MatchableAttributesConfiguration::IsInitialized() const { - return true; -} - -void MatchableAttributesConfiguration::Swap(MatchableAttributesConfiguration* other) { - if (other == this) return; - InternalSwap(other); -} -void MatchableAttributesConfiguration::InternalSwap(MatchableAttributesConfiguration* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - workflow_.Swap(&other->workflow_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - launch_plan_.Swap(&other->launch_plan_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(attributes_, other->attributes_); -} - -::google::protobuf::Metadata MatchableAttributesConfiguration::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListMatchableAttributesRequest::InitAsDefaultInstance() { -} -class ListMatchableAttributesRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ListMatchableAttributesRequest::kResourceTypeFieldNumber; -const int ListMatchableAttributesRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListMatchableAttributesRequest::ListMatchableAttributesRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ListMatchableAttributesRequest) -} -ListMatchableAttributesRequest::ListMatchableAttributesRequest(const ListMatchableAttributesRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ListMatchableAttributesRequest) -} - -void ListMatchableAttributesRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ListMatchableAttributesRequest_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -ListMatchableAttributesRequest::~ListMatchableAttributesRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ListMatchableAttributesRequest) - SharedDtor(); -} - -void ListMatchableAttributesRequest::SharedDtor() { - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ListMatchableAttributesRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListMatchableAttributesRequest& ListMatchableAttributesRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListMatchableAttributesRequest_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void ListMatchableAttributesRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ListMatchableAttributesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ListMatchableAttributesRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.MatchableResource resource_type = 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_resource_type(static_cast<::flyteidl::admin::MatchableResource>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ListMatchableAttributesRequest.org"); - object = msg->mutable_org(); - 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 ListMatchableAttributesRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ListMatchableAttributesRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.MatchableResource resource_type = 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_resource_type(static_cast< ::flyteidl::admin::MatchableResource >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ListMatchableAttributesRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ListMatchableAttributesRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ListMatchableAttributesRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListMatchableAttributesRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ListMatchableAttributesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.MatchableResource resource_type = 1; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->resource_type(), output); - } - - // string org = 2; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ListMatchableAttributesRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ListMatchableAttributesRequest) -} - -::google::protobuf::uint8* ListMatchableAttributesRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ListMatchableAttributesRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.MatchableResource resource_type = 1; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->resource_type(), target); - } - - // string org = 2; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ListMatchableAttributesRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ListMatchableAttributesRequest) - return target; -} - -size_t ListMatchableAttributesRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ListMatchableAttributesRequest) - 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 org = 2; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchableResource resource_type = 1; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListMatchableAttributesRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ListMatchableAttributesRequest) - GOOGLE_DCHECK_NE(&from, this); - const ListMatchableAttributesRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ListMatchableAttributesRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ListMatchableAttributesRequest) - MergeFrom(*source); - } -} - -void ListMatchableAttributesRequest::MergeFrom(const ListMatchableAttributesRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ListMatchableAttributesRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void ListMatchableAttributesRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ListMatchableAttributesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListMatchableAttributesRequest::CopyFrom(const ListMatchableAttributesRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ListMatchableAttributesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListMatchableAttributesRequest::IsInitialized() const { - return true; -} - -void ListMatchableAttributesRequest::Swap(ListMatchableAttributesRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ListMatchableAttributesRequest::InternalSwap(ListMatchableAttributesRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata ListMatchableAttributesRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListMatchableAttributesResponse::InitAsDefaultInstance() { -} -class ListMatchableAttributesResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ListMatchableAttributesResponse::kConfigurationsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListMatchableAttributesResponse::ListMatchableAttributesResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ListMatchableAttributesResponse) -} -ListMatchableAttributesResponse::ListMatchableAttributesResponse(const ListMatchableAttributesResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - configurations_(from.configurations_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ListMatchableAttributesResponse) -} - -void ListMatchableAttributesResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ListMatchableAttributesResponse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); -} - -ListMatchableAttributesResponse::~ListMatchableAttributesResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ListMatchableAttributesResponse) - SharedDtor(); -} - -void ListMatchableAttributesResponse::SharedDtor() { -} - -void ListMatchableAttributesResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListMatchableAttributesResponse& ListMatchableAttributesResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListMatchableAttributesResponse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); - return *internal_default_instance(); -} - - -void ListMatchableAttributesResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ListMatchableAttributesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - configurations_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ListMatchableAttributesResponse::_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.admin.MatchableAttributesConfiguration configurations = 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::admin::MatchableAttributesConfiguration::_InternalParse; - object = msg->add_configurations(); - 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 ListMatchableAttributesResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ListMatchableAttributesResponse) - 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.admin.MatchableAttributesConfiguration configurations = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_configurations())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ListMatchableAttributesResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ListMatchableAttributesResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListMatchableAttributesResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ListMatchableAttributesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - for (unsigned int i = 0, - n = static_cast(this->configurations_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->configurations(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.admin.ListMatchableAttributesResponse) -} - -::google::protobuf::uint8* ListMatchableAttributesResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ListMatchableAttributesResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - for (unsigned int i = 0, - n = static_cast(this->configurations_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->configurations(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.admin.ListMatchableAttributesResponse) - return target; -} - -size_t ListMatchableAttributesResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ListMatchableAttributesResponse) - 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.admin.MatchableAttributesConfiguration configurations = 1; - { - unsigned int count = static_cast(this->configurations_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->configurations(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListMatchableAttributesResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ListMatchableAttributesResponse) - GOOGLE_DCHECK_NE(&from, this); - const ListMatchableAttributesResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ListMatchableAttributesResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ListMatchableAttributesResponse) - MergeFrom(*source); - } -} - -void ListMatchableAttributesResponse::MergeFrom(const ListMatchableAttributesResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ListMatchableAttributesResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - configurations_.MergeFrom(from.configurations_); -} - -void ListMatchableAttributesResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ListMatchableAttributesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListMatchableAttributesResponse::CopyFrom(const ListMatchableAttributesResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ListMatchableAttributesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListMatchableAttributesResponse::IsInitialized() const { - return true; -} - -void ListMatchableAttributesResponse::Swap(ListMatchableAttributesResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ListMatchableAttributesResponse::InternalSwap(ListMatchableAttributesResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&configurations_)->InternalSwap(CastToBase(&other->configurations_)); -} - -::google::protobuf::Metadata ListMatchableAttributesResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskResourceSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskResourceSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskResourceSpec >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskResourceAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskResourceAttributes >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskResourceAttributes >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ClusterResourceAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ClusterResourceAttributes >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ClusterResourceAttributes >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionQueueAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionQueueAttributes >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionQueueAttributes >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionClusterLabel* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionClusterLabel >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionClusterLabel >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::PluginOverride* Arena::CreateMaybeMessage< ::flyteidl::admin::PluginOverride >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::PluginOverride >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::PluginOverrides* Arena::CreateMaybeMessage< ::flyteidl::admin::PluginOverrides >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::PluginOverrides >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionConfig* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionConfig >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionConfig >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::MatchingAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::MatchingAttributes >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::MatchingAttributes >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::MatchableAttributesConfiguration* Arena::CreateMaybeMessage< ::flyteidl::admin::MatchableAttributesConfiguration >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::MatchableAttributesConfiguration >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ListMatchableAttributesRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ListMatchableAttributesRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ListMatchableAttributesRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ListMatchableAttributesResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ListMatchableAttributesResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ListMatchableAttributesResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h deleted file mode 100644 index 7fb9357061..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h +++ /dev/null @@ -1,3812 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/matchable_resource.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fmatchable_5fresource_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fmatchable_5fresource_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include "flyteidl/admin/common.pb.h" -#include "flyteidl/admin/cluster_assignment.pb.h" -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/security.pb.h" -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[13] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto(); -namespace flyteidl { -namespace admin { -class ClusterResourceAttributes; -class ClusterResourceAttributesDefaultTypeInternal; -extern ClusterResourceAttributesDefaultTypeInternal _ClusterResourceAttributes_default_instance_; -class ClusterResourceAttributes_AttributesEntry_DoNotUse; -class ClusterResourceAttributes_AttributesEntry_DoNotUseDefaultTypeInternal; -extern ClusterResourceAttributes_AttributesEntry_DoNotUseDefaultTypeInternal _ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_; -class ExecutionClusterLabel; -class ExecutionClusterLabelDefaultTypeInternal; -extern ExecutionClusterLabelDefaultTypeInternal _ExecutionClusterLabel_default_instance_; -class ExecutionQueueAttributes; -class ExecutionQueueAttributesDefaultTypeInternal; -extern ExecutionQueueAttributesDefaultTypeInternal _ExecutionQueueAttributes_default_instance_; -class ListMatchableAttributesRequest; -class ListMatchableAttributesRequestDefaultTypeInternal; -extern ListMatchableAttributesRequestDefaultTypeInternal _ListMatchableAttributesRequest_default_instance_; -class ListMatchableAttributesResponse; -class ListMatchableAttributesResponseDefaultTypeInternal; -extern ListMatchableAttributesResponseDefaultTypeInternal _ListMatchableAttributesResponse_default_instance_; -class MatchableAttributesConfiguration; -class MatchableAttributesConfigurationDefaultTypeInternal; -extern MatchableAttributesConfigurationDefaultTypeInternal _MatchableAttributesConfiguration_default_instance_; -class MatchingAttributes; -class MatchingAttributesDefaultTypeInternal; -extern MatchingAttributesDefaultTypeInternal _MatchingAttributes_default_instance_; -class PluginOverride; -class PluginOverrideDefaultTypeInternal; -extern PluginOverrideDefaultTypeInternal _PluginOverride_default_instance_; -class PluginOverrides; -class PluginOverridesDefaultTypeInternal; -extern PluginOverridesDefaultTypeInternal _PluginOverrides_default_instance_; -class TaskResourceAttributes; -class TaskResourceAttributesDefaultTypeInternal; -extern TaskResourceAttributesDefaultTypeInternal _TaskResourceAttributes_default_instance_; -class TaskResourceSpec; -class TaskResourceSpecDefaultTypeInternal; -extern TaskResourceSpecDefaultTypeInternal _TaskResourceSpec_default_instance_; -class WorkflowExecutionConfig; -class WorkflowExecutionConfigDefaultTypeInternal; -extern WorkflowExecutionConfigDefaultTypeInternal _WorkflowExecutionConfig_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::ClusterResourceAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ClusterResourceAttributes>(Arena*); -template<> ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse>(Arena*); -template<> ::flyteidl::admin::ExecutionClusterLabel* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionClusterLabel>(Arena*); -template<> ::flyteidl::admin::ExecutionQueueAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionQueueAttributes>(Arena*); -template<> ::flyteidl::admin::ListMatchableAttributesRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ListMatchableAttributesRequest>(Arena*); -template<> ::flyteidl::admin::ListMatchableAttributesResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ListMatchableAttributesResponse>(Arena*); -template<> ::flyteidl::admin::MatchableAttributesConfiguration* Arena::CreateMaybeMessage<::flyteidl::admin::MatchableAttributesConfiguration>(Arena*); -template<> ::flyteidl::admin::MatchingAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(Arena*); -template<> ::flyteidl::admin::PluginOverride* Arena::CreateMaybeMessage<::flyteidl::admin::PluginOverride>(Arena*); -template<> ::flyteidl::admin::PluginOverrides* Arena::CreateMaybeMessage<::flyteidl::admin::PluginOverrides>(Arena*); -template<> ::flyteidl::admin::TaskResourceAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::TaskResourceAttributes>(Arena*); -template<> ::flyteidl::admin::TaskResourceSpec* Arena::CreateMaybeMessage<::flyteidl::admin::TaskResourceSpec>(Arena*); -template<> ::flyteidl::admin::WorkflowExecutionConfig* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionConfig>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum PluginOverride_MissingPluginBehavior { - PluginOverride_MissingPluginBehavior_FAIL = 0, - PluginOverride_MissingPluginBehavior_USE_DEFAULT = 1, - PluginOverride_MissingPluginBehavior_PluginOverride_MissingPluginBehavior_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - PluginOverride_MissingPluginBehavior_PluginOverride_MissingPluginBehavior_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool PluginOverride_MissingPluginBehavior_IsValid(int value); -const PluginOverride_MissingPluginBehavior PluginOverride_MissingPluginBehavior_MissingPluginBehavior_MIN = PluginOverride_MissingPluginBehavior_FAIL; -const PluginOverride_MissingPluginBehavior PluginOverride_MissingPluginBehavior_MissingPluginBehavior_MAX = PluginOverride_MissingPluginBehavior_USE_DEFAULT; -const int PluginOverride_MissingPluginBehavior_MissingPluginBehavior_ARRAYSIZE = PluginOverride_MissingPluginBehavior_MissingPluginBehavior_MAX + 1; - -const ::google::protobuf::EnumDescriptor* PluginOverride_MissingPluginBehavior_descriptor(); -inline const ::std::string& PluginOverride_MissingPluginBehavior_Name(PluginOverride_MissingPluginBehavior value) { - return ::google::protobuf::internal::NameOfEnum( - PluginOverride_MissingPluginBehavior_descriptor(), value); -} -inline bool PluginOverride_MissingPluginBehavior_Parse( - const ::std::string& name, PluginOverride_MissingPluginBehavior* value) { - return ::google::protobuf::internal::ParseNamedEnum( - PluginOverride_MissingPluginBehavior_descriptor(), name, value); -} -enum MatchableResource { - TASK_RESOURCE = 0, - CLUSTER_RESOURCE = 1, - EXECUTION_QUEUE = 2, - EXECUTION_CLUSTER_LABEL = 3, - QUALITY_OF_SERVICE_SPECIFICATION = 4, - PLUGIN_OVERRIDE = 5, - WORKFLOW_EXECUTION_CONFIG = 6, - CLUSTER_ASSIGNMENT = 7, - MatchableResource_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - MatchableResource_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool MatchableResource_IsValid(int value); -const MatchableResource MatchableResource_MIN = TASK_RESOURCE; -const MatchableResource MatchableResource_MAX = CLUSTER_ASSIGNMENT; -const int MatchableResource_ARRAYSIZE = MatchableResource_MAX + 1; - -const ::google::protobuf::EnumDescriptor* MatchableResource_descriptor(); -inline const ::std::string& MatchableResource_Name(MatchableResource value) { - return ::google::protobuf::internal::NameOfEnum( - MatchableResource_descriptor(), value); -} -inline bool MatchableResource_Parse( - const ::std::string& name, MatchableResource* value) { - return ::google::protobuf::internal::ParseNamedEnum( - MatchableResource_descriptor(), name, value); -} -// =================================================================== - -class TaskResourceSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskResourceSpec) */ { - public: - TaskResourceSpec(); - virtual ~TaskResourceSpec(); - - TaskResourceSpec(const TaskResourceSpec& from); - - inline TaskResourceSpec& operator=(const TaskResourceSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskResourceSpec(TaskResourceSpec&& from) noexcept - : TaskResourceSpec() { - *this = ::std::move(from); - } - - inline TaskResourceSpec& operator=(TaskResourceSpec&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const TaskResourceSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskResourceSpec* internal_default_instance() { - return reinterpret_cast( - &_TaskResourceSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(TaskResourceSpec* other); - friend void swap(TaskResourceSpec& a, TaskResourceSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskResourceSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskResourceSpec* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const TaskResourceSpec& from); - void MergeFrom(const TaskResourceSpec& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TaskResourceSpec* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string cpu = 1; - void clear_cpu(); - static const int kCpuFieldNumber = 1; - const ::std::string& cpu() const; - void set_cpu(const ::std::string& value); - #if LANG_CXX11 - void set_cpu(::std::string&& value); - #endif - void set_cpu(const char* value); - void set_cpu(const char* value, size_t size); - ::std::string* mutable_cpu(); - ::std::string* release_cpu(); - void set_allocated_cpu(::std::string* cpu); - - // string gpu = 2; - void clear_gpu(); - static const int kGpuFieldNumber = 2; - const ::std::string& gpu() const; - void set_gpu(const ::std::string& value); - #if LANG_CXX11 - void set_gpu(::std::string&& value); - #endif - void set_gpu(const char* value); - void set_gpu(const char* value, size_t size); - ::std::string* mutable_gpu(); - ::std::string* release_gpu(); - void set_allocated_gpu(::std::string* gpu); - - // string memory = 3; - void clear_memory(); - static const int kMemoryFieldNumber = 3; - const ::std::string& memory() const; - void set_memory(const ::std::string& value); - #if LANG_CXX11 - void set_memory(::std::string&& value); - #endif - void set_memory(const char* value); - void set_memory(const char* value, size_t size); - ::std::string* mutable_memory(); - ::std::string* release_memory(); - void set_allocated_memory(::std::string* memory); - - // string storage = 4; - void clear_storage(); - static const int kStorageFieldNumber = 4; - const ::std::string& storage() const; - void set_storage(const ::std::string& value); - #if LANG_CXX11 - void set_storage(::std::string&& value); - #endif - void set_storage(const char* value); - void set_storage(const char* value, size_t size); - ::std::string* mutable_storage(); - ::std::string* release_storage(); - void set_allocated_storage(::std::string* storage); - - // string ephemeral_storage = 5; - void clear_ephemeral_storage(); - static const int kEphemeralStorageFieldNumber = 5; - const ::std::string& ephemeral_storage() const; - void set_ephemeral_storage(const ::std::string& value); - #if LANG_CXX11 - void set_ephemeral_storage(::std::string&& value); - #endif - void set_ephemeral_storage(const char* value); - void set_ephemeral_storage(const char* value, size_t size); - ::std::string* mutable_ephemeral_storage(); - ::std::string* release_ephemeral_storage(); - void set_allocated_ephemeral_storage(::std::string* ephemeral_storage); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr cpu_; - ::google::protobuf::internal::ArenaStringPtr gpu_; - ::google::protobuf::internal::ArenaStringPtr memory_; - ::google::protobuf::internal::ArenaStringPtr storage_; - ::google::protobuf::internal::ArenaStringPtr ephemeral_storage_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskResourceAttributes final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskResourceAttributes) */ { - public: - TaskResourceAttributes(); - virtual ~TaskResourceAttributes(); - - TaskResourceAttributes(const TaskResourceAttributes& from); - - inline TaskResourceAttributes& operator=(const TaskResourceAttributes& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskResourceAttributes(TaskResourceAttributes&& from) noexcept - : TaskResourceAttributes() { - *this = ::std::move(from); - } - - inline TaskResourceAttributes& operator=(TaskResourceAttributes&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const TaskResourceAttributes& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskResourceAttributes* internal_default_instance() { - return reinterpret_cast( - &_TaskResourceAttributes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(TaskResourceAttributes* other); - friend void swap(TaskResourceAttributes& a, TaskResourceAttributes& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskResourceAttributes* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskResourceAttributes* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const TaskResourceAttributes& from); - void MergeFrom(const TaskResourceAttributes& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TaskResourceAttributes* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.TaskResourceSpec defaults = 1; - bool has_defaults() const; - void clear_defaults(); - static const int kDefaultsFieldNumber = 1; - const ::flyteidl::admin::TaskResourceSpec& defaults() const; - ::flyteidl::admin::TaskResourceSpec* release_defaults(); - ::flyteidl::admin::TaskResourceSpec* mutable_defaults(); - void set_allocated_defaults(::flyteidl::admin::TaskResourceSpec* defaults); - - // .flyteidl.admin.TaskResourceSpec limits = 2; - bool has_limits() const; - void clear_limits(); - static const int kLimitsFieldNumber = 2; - const ::flyteidl::admin::TaskResourceSpec& limits() const; - ::flyteidl::admin::TaskResourceSpec* release_limits(); - ::flyteidl::admin::TaskResourceSpec* mutable_limits(); - void set_allocated_limits(::flyteidl::admin::TaskResourceSpec* limits); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceAttributes) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::TaskResourceSpec* defaults_; - ::flyteidl::admin::TaskResourceSpec* limits_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class ClusterResourceAttributes_AttributesEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { -public: -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - typedef ::google::protobuf::internal::MapEntry SuperType; - ClusterResourceAttributes_AttributesEntry_DoNotUse(); - ClusterResourceAttributes_AttributesEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const ClusterResourceAttributes_AttributesEntry_DoNotUse& other); - static const ClusterResourceAttributes_AttributesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class ClusterResourceAttributes final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ClusterResourceAttributes) */ { - public: - ClusterResourceAttributes(); - virtual ~ClusterResourceAttributes(); - - ClusterResourceAttributes(const ClusterResourceAttributes& from); - - inline ClusterResourceAttributes& operator=(const ClusterResourceAttributes& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ClusterResourceAttributes(ClusterResourceAttributes&& from) noexcept - : ClusterResourceAttributes() { - *this = ::std::move(from); - } - - inline ClusterResourceAttributes& operator=(ClusterResourceAttributes&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const ClusterResourceAttributes& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ClusterResourceAttributes* internal_default_instance() { - return reinterpret_cast( - &_ClusterResourceAttributes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ClusterResourceAttributes* other); - friend void swap(ClusterResourceAttributes& a, ClusterResourceAttributes& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ClusterResourceAttributes* New() const final { - return CreateMaybeMessage(nullptr); - } - - ClusterResourceAttributes* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const ClusterResourceAttributes& from); - void MergeFrom(const ClusterResourceAttributes& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ClusterResourceAttributes* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map attributes = 1; - int attributes_size() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::std::string >& - attributes() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_attributes(); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterResourceAttributes) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - ClusterResourceAttributes_AttributesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionQueueAttributes final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionQueueAttributes) */ { - public: - ExecutionQueueAttributes(); - virtual ~ExecutionQueueAttributes(); - - ExecutionQueueAttributes(const ExecutionQueueAttributes& from); - - inline ExecutionQueueAttributes& operator=(const ExecutionQueueAttributes& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionQueueAttributes(ExecutionQueueAttributes&& from) noexcept - : ExecutionQueueAttributes() { - *this = ::std::move(from); - } - - inline ExecutionQueueAttributes& operator=(ExecutionQueueAttributes&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const ExecutionQueueAttributes& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionQueueAttributes* internal_default_instance() { - return reinterpret_cast( - &_ExecutionQueueAttributes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(ExecutionQueueAttributes* other); - friend void swap(ExecutionQueueAttributes& a, ExecutionQueueAttributes& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionQueueAttributes* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionQueueAttributes* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const ExecutionQueueAttributes& from); - void MergeFrom(const ExecutionQueueAttributes& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ExecutionQueueAttributes* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string tags = 1; - int tags_size() const; - void clear_tags(); - static const int kTagsFieldNumber = 1; - const ::std::string& tags(int index) const; - ::std::string* mutable_tags(int index); - void set_tags(int index, const ::std::string& value); - #if LANG_CXX11 - void set_tags(int index, ::std::string&& value); - #endif - void set_tags(int index, const char* value); - void set_tags(int index, const char* value, size_t size); - ::std::string* add_tags(); - void add_tags(const ::std::string& value); - #if LANG_CXX11 - void add_tags(::std::string&& value); - #endif - void add_tags(const char* value); - void add_tags(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& tags() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_tags(); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionQueueAttributes) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> tags_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionClusterLabel final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionClusterLabel) */ { - public: - ExecutionClusterLabel(); - virtual ~ExecutionClusterLabel(); - - ExecutionClusterLabel(const ExecutionClusterLabel& from); - - inline ExecutionClusterLabel& operator=(const ExecutionClusterLabel& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionClusterLabel(ExecutionClusterLabel&& from) noexcept - : ExecutionClusterLabel() { - *this = ::std::move(from); - } - - inline ExecutionClusterLabel& operator=(ExecutionClusterLabel&& 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 ExecutionClusterLabel& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionClusterLabel* internal_default_instance() { - return reinterpret_cast( - &_ExecutionClusterLabel_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(ExecutionClusterLabel* other); - friend void swap(ExecutionClusterLabel& a, ExecutionClusterLabel& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionClusterLabel* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionClusterLabel* 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 ExecutionClusterLabel& from); - void MergeFrom(const ExecutionClusterLabel& 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(ExecutionClusterLabel* 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 value = 1; - void clear_value(); - static const int kValueFieldNumber = 1; - 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:flyteidl.admin.ExecutionClusterLabel) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class PluginOverride final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.PluginOverride) */ { - public: - PluginOverride(); - virtual ~PluginOverride(); - - PluginOverride(const PluginOverride& from); - - inline PluginOverride& operator=(const PluginOverride& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PluginOverride(PluginOverride&& from) noexcept - : PluginOverride() { - *this = ::std::move(from); - } - - inline PluginOverride& operator=(PluginOverride&& 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 PluginOverride& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PluginOverride* internal_default_instance() { - return reinterpret_cast( - &_PluginOverride_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(PluginOverride* other); - friend void swap(PluginOverride& a, PluginOverride& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PluginOverride* New() const final { - return CreateMaybeMessage(nullptr); - } - - PluginOverride* 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 PluginOverride& from); - void MergeFrom(const PluginOverride& 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(PluginOverride* 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 PluginOverride_MissingPluginBehavior MissingPluginBehavior; - static const MissingPluginBehavior FAIL = - PluginOverride_MissingPluginBehavior_FAIL; - static const MissingPluginBehavior USE_DEFAULT = - PluginOverride_MissingPluginBehavior_USE_DEFAULT; - static inline bool MissingPluginBehavior_IsValid(int value) { - return PluginOverride_MissingPluginBehavior_IsValid(value); - } - static const MissingPluginBehavior MissingPluginBehavior_MIN = - PluginOverride_MissingPluginBehavior_MissingPluginBehavior_MIN; - static const MissingPluginBehavior MissingPluginBehavior_MAX = - PluginOverride_MissingPluginBehavior_MissingPluginBehavior_MAX; - static const int MissingPluginBehavior_ARRAYSIZE = - PluginOverride_MissingPluginBehavior_MissingPluginBehavior_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - MissingPluginBehavior_descriptor() { - return PluginOverride_MissingPluginBehavior_descriptor(); - } - static inline const ::std::string& MissingPluginBehavior_Name(MissingPluginBehavior value) { - return PluginOverride_MissingPluginBehavior_Name(value); - } - static inline bool MissingPluginBehavior_Parse(const ::std::string& name, - MissingPluginBehavior* value) { - return PluginOverride_MissingPluginBehavior_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // repeated string plugin_id = 2; - int plugin_id_size() const; - void clear_plugin_id(); - static const int kPluginIdFieldNumber = 2; - const ::std::string& plugin_id(int index) const; - ::std::string* mutable_plugin_id(int index); - void set_plugin_id(int index, const ::std::string& value); - #if LANG_CXX11 - void set_plugin_id(int index, ::std::string&& value); - #endif - void set_plugin_id(int index, const char* value); - void set_plugin_id(int index, const char* value, size_t size); - ::std::string* add_plugin_id(); - void add_plugin_id(const ::std::string& value); - #if LANG_CXX11 - void add_plugin_id(::std::string&& value); - #endif - void add_plugin_id(const char* value); - void add_plugin_id(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& plugin_id() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_plugin_id(); - - // string task_type = 1; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 1; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - void clear_missing_plugin_behavior(); - static const int kMissingPluginBehaviorFieldNumber = 4; - ::flyteidl::admin::PluginOverride_MissingPluginBehavior missing_plugin_behavior() const; - void set_missing_plugin_behavior(::flyteidl::admin::PluginOverride_MissingPluginBehavior value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.PluginOverride) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> plugin_id_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - int missing_plugin_behavior_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class PluginOverrides final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.PluginOverrides) */ { - public: - PluginOverrides(); - virtual ~PluginOverrides(); - - PluginOverrides(const PluginOverrides& from); - - inline PluginOverrides& operator=(const PluginOverrides& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PluginOverrides(PluginOverrides&& from) noexcept - : PluginOverrides() { - *this = ::std::move(from); - } - - inline PluginOverrides& operator=(PluginOverrides&& 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 PluginOverrides& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PluginOverrides* internal_default_instance() { - return reinterpret_cast( - &_PluginOverrides_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(PluginOverrides* other); - friend void swap(PluginOverrides& a, PluginOverrides& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PluginOverrides* New() const final { - return CreateMaybeMessage(nullptr); - } - - PluginOverrides* 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 PluginOverrides& from); - void MergeFrom(const PluginOverrides& 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(PluginOverrides* 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.admin.PluginOverride overrides = 1; - int overrides_size() const; - void clear_overrides(); - static const int kOverridesFieldNumber = 1; - ::flyteidl::admin::PluginOverride* mutable_overrides(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::PluginOverride >* - mutable_overrides(); - const ::flyteidl::admin::PluginOverride& overrides(int index) const; - ::flyteidl::admin::PluginOverride* add_overrides(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::PluginOverride >& - overrides() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.PluginOverrides) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::PluginOverride > overrides_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionConfig final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionConfig) */ { - public: - WorkflowExecutionConfig(); - virtual ~WorkflowExecutionConfig(); - - WorkflowExecutionConfig(const WorkflowExecutionConfig& from); - - inline WorkflowExecutionConfig& operator=(const WorkflowExecutionConfig& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionConfig(WorkflowExecutionConfig&& from) noexcept - : WorkflowExecutionConfig() { - *this = ::std::move(from); - } - - inline WorkflowExecutionConfig& operator=(WorkflowExecutionConfig&& 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 WorkflowExecutionConfig& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionConfig* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionConfig_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(WorkflowExecutionConfig* other); - friend void swap(WorkflowExecutionConfig& a, WorkflowExecutionConfig& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionConfig* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionConfig* 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 WorkflowExecutionConfig& from); - void MergeFrom(const WorkflowExecutionConfig& 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(WorkflowExecutionConfig* 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.SecurityContext security_context = 2; - bool has_security_context() const; - void clear_security_context(); - static const int kSecurityContextFieldNumber = 2; - const ::flyteidl::core::SecurityContext& security_context() const; - ::flyteidl::core::SecurityContext* release_security_context(); - ::flyteidl::core::SecurityContext* mutable_security_context(); - void set_allocated_security_context(::flyteidl::core::SecurityContext* security_context); - - // .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - bool has_raw_output_data_config() const; - void clear_raw_output_data_config(); - static const int kRawOutputDataConfigFieldNumber = 3; - const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config() const; - ::flyteidl::admin::RawOutputDataConfig* release_raw_output_data_config(); - ::flyteidl::admin::RawOutputDataConfig* mutable_raw_output_data_config(); - void set_allocated_raw_output_data_config(::flyteidl::admin::RawOutputDataConfig* raw_output_data_config); - - // .flyteidl.admin.Labels labels = 4; - bool has_labels() const; - void clear_labels(); - static const int kLabelsFieldNumber = 4; - const ::flyteidl::admin::Labels& labels() const; - ::flyteidl::admin::Labels* release_labels(); - ::flyteidl::admin::Labels* mutable_labels(); - void set_allocated_labels(::flyteidl::admin::Labels* labels); - - // .flyteidl.admin.Annotations annotations = 5; - bool has_annotations() const; - void clear_annotations(); - static const int kAnnotationsFieldNumber = 5; - const ::flyteidl::admin::Annotations& annotations() const; - ::flyteidl::admin::Annotations* release_annotations(); - ::flyteidl::admin::Annotations* mutable_annotations(); - void set_allocated_annotations(::flyteidl::admin::Annotations* annotations); - - // .google.protobuf.BoolValue interruptible = 6; - bool has_interruptible() const; - void clear_interruptible(); - static const int kInterruptibleFieldNumber = 6; - const ::google::protobuf::BoolValue& interruptible() const; - ::google::protobuf::BoolValue* release_interruptible(); - ::google::protobuf::BoolValue* mutable_interruptible(); - void set_allocated_interruptible(::google::protobuf::BoolValue* interruptible); - - // .flyteidl.admin.Envs envs = 8; - bool has_envs() const; - void clear_envs(); - static const int kEnvsFieldNumber = 8; - const ::flyteidl::admin::Envs& envs() const; - ::flyteidl::admin::Envs* release_envs(); - ::flyteidl::admin::Envs* mutable_envs(); - void set_allocated_envs(::flyteidl::admin::Envs* envs); - - // int32 max_parallelism = 1; - void clear_max_parallelism(); - static const int kMaxParallelismFieldNumber = 1; - ::google::protobuf::int32 max_parallelism() const; - void set_max_parallelism(::google::protobuf::int32 value); - - // bool overwrite_cache = 7; - void clear_overwrite_cache(); - static const int kOverwriteCacheFieldNumber = 7; - bool overwrite_cache() const; - void set_overwrite_cache(bool value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionConfig) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::SecurityContext* security_context_; - ::flyteidl::admin::RawOutputDataConfig* raw_output_data_config_; - ::flyteidl::admin::Labels* labels_; - ::flyteidl::admin::Annotations* annotations_; - ::google::protobuf::BoolValue* interruptible_; - ::flyteidl::admin::Envs* envs_; - ::google::protobuf::int32 max_parallelism_; - bool overwrite_cache_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class MatchingAttributes final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.MatchingAttributes) */ { - public: - MatchingAttributes(); - virtual ~MatchingAttributes(); - - MatchingAttributes(const MatchingAttributes& from); - - inline MatchingAttributes& operator=(const MatchingAttributes& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - MatchingAttributes(MatchingAttributes&& from) noexcept - : MatchingAttributes() { - *this = ::std::move(from); - } - - inline MatchingAttributes& operator=(MatchingAttributes&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const MatchingAttributes& default_instance(); - - enum TargetCase { - kTaskResourceAttributes = 1, - kClusterResourceAttributes = 2, - kExecutionQueueAttributes = 3, - kExecutionClusterLabel = 4, - kQualityOfService = 5, - kPluginOverrides = 6, - kWorkflowExecutionConfig = 7, - kClusterAssignment = 8, - TARGET_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const MatchingAttributes* internal_default_instance() { - return reinterpret_cast( - &_MatchingAttributes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(MatchingAttributes* other); - friend void swap(MatchingAttributes& a, MatchingAttributes& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline MatchingAttributes* New() const final { - return CreateMaybeMessage(nullptr); - } - - MatchingAttributes* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const MatchingAttributes& from); - void MergeFrom(const MatchingAttributes& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MatchingAttributes* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - bool has_task_resource_attributes() const; - void clear_task_resource_attributes(); - static const int kTaskResourceAttributesFieldNumber = 1; - const ::flyteidl::admin::TaskResourceAttributes& task_resource_attributes() const; - ::flyteidl::admin::TaskResourceAttributes* release_task_resource_attributes(); - ::flyteidl::admin::TaskResourceAttributes* mutable_task_resource_attributes(); - void set_allocated_task_resource_attributes(::flyteidl::admin::TaskResourceAttributes* task_resource_attributes); - - // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - bool has_cluster_resource_attributes() const; - void clear_cluster_resource_attributes(); - static const int kClusterResourceAttributesFieldNumber = 2; - const ::flyteidl::admin::ClusterResourceAttributes& cluster_resource_attributes() const; - ::flyteidl::admin::ClusterResourceAttributes* release_cluster_resource_attributes(); - ::flyteidl::admin::ClusterResourceAttributes* mutable_cluster_resource_attributes(); - void set_allocated_cluster_resource_attributes(::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes); - - // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - bool has_execution_queue_attributes() const; - void clear_execution_queue_attributes(); - static const int kExecutionQueueAttributesFieldNumber = 3; - const ::flyteidl::admin::ExecutionQueueAttributes& execution_queue_attributes() const; - ::flyteidl::admin::ExecutionQueueAttributes* release_execution_queue_attributes(); - ::flyteidl::admin::ExecutionQueueAttributes* mutable_execution_queue_attributes(); - void set_allocated_execution_queue_attributes(::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes); - - // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - bool has_execution_cluster_label() const; - void clear_execution_cluster_label(); - static const int kExecutionClusterLabelFieldNumber = 4; - const ::flyteidl::admin::ExecutionClusterLabel& execution_cluster_label() const; - ::flyteidl::admin::ExecutionClusterLabel* release_execution_cluster_label(); - ::flyteidl::admin::ExecutionClusterLabel* mutable_execution_cluster_label(); - void set_allocated_execution_cluster_label(::flyteidl::admin::ExecutionClusterLabel* execution_cluster_label); - - // .flyteidl.core.QualityOfService quality_of_service = 5; - bool has_quality_of_service() const; - void clear_quality_of_service(); - static const int kQualityOfServiceFieldNumber = 5; - const ::flyteidl::core::QualityOfService& quality_of_service() const; - ::flyteidl::core::QualityOfService* release_quality_of_service(); - ::flyteidl::core::QualityOfService* mutable_quality_of_service(); - void set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service); - - // .flyteidl.admin.PluginOverrides plugin_overrides = 6; - bool has_plugin_overrides() const; - void clear_plugin_overrides(); - static const int kPluginOverridesFieldNumber = 6; - const ::flyteidl::admin::PluginOverrides& plugin_overrides() const; - ::flyteidl::admin::PluginOverrides* release_plugin_overrides(); - ::flyteidl::admin::PluginOverrides* mutable_plugin_overrides(); - void set_allocated_plugin_overrides(::flyteidl::admin::PluginOverrides* plugin_overrides); - - // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - bool has_workflow_execution_config() const; - void clear_workflow_execution_config(); - static const int kWorkflowExecutionConfigFieldNumber = 7; - const ::flyteidl::admin::WorkflowExecutionConfig& workflow_execution_config() const; - ::flyteidl::admin::WorkflowExecutionConfig* release_workflow_execution_config(); - ::flyteidl::admin::WorkflowExecutionConfig* mutable_workflow_execution_config(); - void set_allocated_workflow_execution_config(::flyteidl::admin::WorkflowExecutionConfig* workflow_execution_config); - - // .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - bool has_cluster_assignment() const; - void clear_cluster_assignment(); - static const int kClusterAssignmentFieldNumber = 8; - const ::flyteidl::admin::ClusterAssignment& cluster_assignment() const; - ::flyteidl::admin::ClusterAssignment* release_cluster_assignment(); - ::flyteidl::admin::ClusterAssignment* mutable_cluster_assignment(); - void set_allocated_cluster_assignment(::flyteidl::admin::ClusterAssignment* cluster_assignment); - - void clear_target(); - TargetCase target_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.MatchingAttributes) - private: - class HasBitSetters; - void set_has_task_resource_attributes(); - void set_has_cluster_resource_attributes(); - void set_has_execution_queue_attributes(); - void set_has_execution_cluster_label(); - void set_has_quality_of_service(); - void set_has_plugin_overrides(); - void set_has_workflow_execution_config(); - void set_has_cluster_assignment(); - - inline bool has_target() const; - inline void clear_has_target(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union TargetUnion { - TargetUnion() {} - ::flyteidl::admin::TaskResourceAttributes* task_resource_attributes_; - ::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes_; - ::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes_; - ::flyteidl::admin::ExecutionClusterLabel* execution_cluster_label_; - ::flyteidl::core::QualityOfService* quality_of_service_; - ::flyteidl::admin::PluginOverrides* plugin_overrides_; - ::flyteidl::admin::WorkflowExecutionConfig* workflow_execution_config_; - ::flyteidl::admin::ClusterAssignment* cluster_assignment_; - } target_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class MatchableAttributesConfiguration final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.MatchableAttributesConfiguration) */ { - public: - MatchableAttributesConfiguration(); - virtual ~MatchableAttributesConfiguration(); - - MatchableAttributesConfiguration(const MatchableAttributesConfiguration& from); - - inline MatchableAttributesConfiguration& operator=(const MatchableAttributesConfiguration& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - MatchableAttributesConfiguration(MatchableAttributesConfiguration&& from) noexcept - : MatchableAttributesConfiguration() { - *this = ::std::move(from); - } - - inline MatchableAttributesConfiguration& operator=(MatchableAttributesConfiguration&& 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 MatchableAttributesConfiguration& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const MatchableAttributesConfiguration* internal_default_instance() { - return reinterpret_cast( - &_MatchableAttributesConfiguration_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(MatchableAttributesConfiguration* other); - friend void swap(MatchableAttributesConfiguration& a, MatchableAttributesConfiguration& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline MatchableAttributesConfiguration* New() const final { - return CreateMaybeMessage(nullptr); - } - - MatchableAttributesConfiguration* 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 MatchableAttributesConfiguration& from); - void MergeFrom(const MatchableAttributesConfiguration& 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(MatchableAttributesConfiguration* 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 domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string project = 3; - void clear_project(); - static const int kProjectFieldNumber = 3; - 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 workflow = 4; - void clear_workflow(); - static const int kWorkflowFieldNumber = 4; - const ::std::string& workflow() const; - void set_workflow(const ::std::string& value); - #if LANG_CXX11 - void set_workflow(::std::string&& value); - #endif - void set_workflow(const char* value); - void set_workflow(const char* value, size_t size); - ::std::string* mutable_workflow(); - ::std::string* release_workflow(); - void set_allocated_workflow(::std::string* workflow); - - // string launch_plan = 5; - void clear_launch_plan(); - static const int kLaunchPlanFieldNumber = 5; - const ::std::string& launch_plan() const; - void set_launch_plan(const ::std::string& value); - #if LANG_CXX11 - void set_launch_plan(::std::string&& value); - #endif - void set_launch_plan(const char* value); - void set_launch_plan(const char* value, size_t size); - ::std::string* mutable_launch_plan(); - ::std::string* release_launch_plan(); - void set_allocated_launch_plan(::std::string* launch_plan); - - // string org = 6; - void clear_org(); - static const int kOrgFieldNumber = 6; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchingAttributes attributes = 1; - bool has_attributes() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::flyteidl::admin::MatchingAttributes& attributes() const; - ::flyteidl::admin::MatchingAttributes* release_attributes(); - ::flyteidl::admin::MatchingAttributes* mutable_attributes(); - void set_allocated_attributes(::flyteidl::admin::MatchingAttributes* attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.MatchableAttributesConfiguration) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr workflow_; - ::google::protobuf::internal::ArenaStringPtr launch_plan_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::MatchingAttributes* attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class ListMatchableAttributesRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ListMatchableAttributesRequest) */ { - public: - ListMatchableAttributesRequest(); - virtual ~ListMatchableAttributesRequest(); - - ListMatchableAttributesRequest(const ListMatchableAttributesRequest& from); - - inline ListMatchableAttributesRequest& operator=(const ListMatchableAttributesRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListMatchableAttributesRequest(ListMatchableAttributesRequest&& from) noexcept - : ListMatchableAttributesRequest() { - *this = ::std::move(from); - } - - inline ListMatchableAttributesRequest& operator=(ListMatchableAttributesRequest&& 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 ListMatchableAttributesRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListMatchableAttributesRequest* internal_default_instance() { - return reinterpret_cast( - &_ListMatchableAttributesRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(ListMatchableAttributesRequest* other); - friend void swap(ListMatchableAttributesRequest& a, ListMatchableAttributesRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListMatchableAttributesRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListMatchableAttributesRequest* 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 ListMatchableAttributesRequest& from); - void MergeFrom(const ListMatchableAttributesRequest& 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(ListMatchableAttributesRequest* 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 org = 2; - void clear_org(); - static const int kOrgFieldNumber = 2; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchableResource resource_type = 1; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 1; - ::flyteidl::admin::MatchableResource resource_type() const; - void set_resource_type(::flyteidl::admin::MatchableResource value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListMatchableAttributesRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// ------------------------------------------------------------------- - -class ListMatchableAttributesResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ListMatchableAttributesResponse) */ { - public: - ListMatchableAttributesResponse(); - virtual ~ListMatchableAttributesResponse(); - - ListMatchableAttributesResponse(const ListMatchableAttributesResponse& from); - - inline ListMatchableAttributesResponse& operator=(const ListMatchableAttributesResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListMatchableAttributesResponse(ListMatchableAttributesResponse&& from) noexcept - : ListMatchableAttributesResponse() { - *this = ::std::move(from); - } - - inline ListMatchableAttributesResponse& operator=(ListMatchableAttributesResponse&& 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 ListMatchableAttributesResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListMatchableAttributesResponse* internal_default_instance() { - return reinterpret_cast( - &_ListMatchableAttributesResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(ListMatchableAttributesResponse* other); - friend void swap(ListMatchableAttributesResponse& a, ListMatchableAttributesResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListMatchableAttributesResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListMatchableAttributesResponse* 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 ListMatchableAttributesResponse& from); - void MergeFrom(const ListMatchableAttributesResponse& 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(ListMatchableAttributesResponse* 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.admin.MatchableAttributesConfiguration configurations = 1; - int configurations_size() const; - void clear_configurations(); - static const int kConfigurationsFieldNumber = 1; - ::flyteidl::admin::MatchableAttributesConfiguration* mutable_configurations(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::MatchableAttributesConfiguration >* - mutable_configurations(); - const ::flyteidl::admin::MatchableAttributesConfiguration& configurations(int index) const; - ::flyteidl::admin::MatchableAttributesConfiguration* add_configurations(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::MatchableAttributesConfiguration >& - configurations() const; - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListMatchableAttributesResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::MatchableAttributesConfiguration > configurations_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// TaskResourceSpec - -// string cpu = 1; -inline void TaskResourceSpec::clear_cpu() { - cpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskResourceSpec::cpu() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.cpu) - return cpu_.GetNoArena(); -} -inline void TaskResourceSpec::set_cpu(const ::std::string& value) { - - cpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.cpu) -} -#if LANG_CXX11 -inline void TaskResourceSpec::set_cpu(::std::string&& value) { - - cpu_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.cpu) -} -#endif -inline void TaskResourceSpec::set_cpu(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - cpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.cpu) -} -inline void TaskResourceSpec::set_cpu(const char* value, size_t size) { - - cpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.cpu) -} -inline ::std::string* TaskResourceSpec::mutable_cpu() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.cpu) - return cpu_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskResourceSpec::release_cpu() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.cpu) - - return cpu_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskResourceSpec::set_allocated_cpu(::std::string* cpu) { - if (cpu != nullptr) { - - } else { - - } - cpu_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cpu); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.cpu) -} - -// string gpu = 2; -inline void TaskResourceSpec::clear_gpu() { - gpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskResourceSpec::gpu() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.gpu) - return gpu_.GetNoArena(); -} -inline void TaskResourceSpec::set_gpu(const ::std::string& value) { - - gpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.gpu) -} -#if LANG_CXX11 -inline void TaskResourceSpec::set_gpu(::std::string&& value) { - - gpu_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.gpu) -} -#endif -inline void TaskResourceSpec::set_gpu(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - gpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.gpu) -} -inline void TaskResourceSpec::set_gpu(const char* value, size_t size) { - - gpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.gpu) -} -inline ::std::string* TaskResourceSpec::mutable_gpu() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.gpu) - return gpu_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskResourceSpec::release_gpu() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.gpu) - - return gpu_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskResourceSpec::set_allocated_gpu(::std::string* gpu) { - if (gpu != nullptr) { - - } else { - - } - gpu_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gpu); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.gpu) -} - -// string memory = 3; -inline void TaskResourceSpec::clear_memory() { - memory_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskResourceSpec::memory() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.memory) - return memory_.GetNoArena(); -} -inline void TaskResourceSpec::set_memory(const ::std::string& value) { - - memory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.memory) -} -#if LANG_CXX11 -inline void TaskResourceSpec::set_memory(::std::string&& value) { - - memory_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.memory) -} -#endif -inline void TaskResourceSpec::set_memory(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - memory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.memory) -} -inline void TaskResourceSpec::set_memory(const char* value, size_t size) { - - memory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.memory) -} -inline ::std::string* TaskResourceSpec::mutable_memory() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.memory) - return memory_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskResourceSpec::release_memory() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.memory) - - return memory_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskResourceSpec::set_allocated_memory(::std::string* memory) { - if (memory != nullptr) { - - } else { - - } - memory_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), memory); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.memory) -} - -// string storage = 4; -inline void TaskResourceSpec::clear_storage() { - storage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskResourceSpec::storage() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.storage) - return storage_.GetNoArena(); -} -inline void TaskResourceSpec::set_storage(const ::std::string& value) { - - storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.storage) -} -#if LANG_CXX11 -inline void TaskResourceSpec::set_storage(::std::string&& value) { - - storage_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.storage) -} -#endif -inline void TaskResourceSpec::set_storage(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.storage) -} -inline void TaskResourceSpec::set_storage(const char* value, size_t size) { - - storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.storage) -} -inline ::std::string* TaskResourceSpec::mutable_storage() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.storage) - return storage_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskResourceSpec::release_storage() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.storage) - - return storage_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskResourceSpec::set_allocated_storage(::std::string* storage) { - if (storage != nullptr) { - - } else { - - } - storage_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), storage); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.storage) -} - -// string ephemeral_storage = 5; -inline void TaskResourceSpec::clear_ephemeral_storage() { - ephemeral_storage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskResourceSpec::ephemeral_storage() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.ephemeral_storage) - return ephemeral_storage_.GetNoArena(); -} -inline void TaskResourceSpec::set_ephemeral_storage(const ::std::string& value) { - - ephemeral_storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.ephemeral_storage) -} -#if LANG_CXX11 -inline void TaskResourceSpec::set_ephemeral_storage(::std::string&& value) { - - ephemeral_storage_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.ephemeral_storage) -} -#endif -inline void TaskResourceSpec::set_ephemeral_storage(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - ephemeral_storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.ephemeral_storage) -} -inline void TaskResourceSpec::set_ephemeral_storage(const char* value, size_t size) { - - ephemeral_storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.ephemeral_storage) -} -inline ::std::string* TaskResourceSpec::mutable_ephemeral_storage() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.ephemeral_storage) - return ephemeral_storage_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskResourceSpec::release_ephemeral_storage() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.ephemeral_storage) - - return ephemeral_storage_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskResourceSpec::set_allocated_ephemeral_storage(::std::string* ephemeral_storage) { - if (ephemeral_storage != nullptr) { - - } else { - - } - ephemeral_storage_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ephemeral_storage); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.ephemeral_storage) -} - -// ------------------------------------------------------------------- - -// TaskResourceAttributes - -// .flyteidl.admin.TaskResourceSpec defaults = 1; -inline bool TaskResourceAttributes::has_defaults() const { - return this != internal_default_instance() && defaults_ != nullptr; -} -inline void TaskResourceAttributes::clear_defaults() { - if (GetArenaNoVirtual() == nullptr && defaults_ != nullptr) { - delete defaults_; - } - defaults_ = nullptr; -} -inline const ::flyteidl::admin::TaskResourceSpec& TaskResourceAttributes::defaults() const { - const ::flyteidl::admin::TaskResourceSpec* p = defaults_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceAttributes.defaults) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_TaskResourceSpec_default_instance_); -} -inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::release_defaults() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceAttributes.defaults) - - ::flyteidl::admin::TaskResourceSpec* temp = defaults_; - defaults_ = nullptr; - return temp; -} -inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::mutable_defaults() { - - if (defaults_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::TaskResourceSpec>(GetArenaNoVirtual()); - defaults_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceAttributes.defaults) - return defaults_; -} -inline void TaskResourceAttributes::set_allocated_defaults(::flyteidl::admin::TaskResourceSpec* defaults) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete defaults_; - } - if (defaults) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - defaults = ::google::protobuf::internal::GetOwnedMessage( - message_arena, defaults, submessage_arena); - } - - } else { - - } - defaults_ = defaults; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceAttributes.defaults) -} - -// .flyteidl.admin.TaskResourceSpec limits = 2; -inline bool TaskResourceAttributes::has_limits() const { - return this != internal_default_instance() && limits_ != nullptr; -} -inline void TaskResourceAttributes::clear_limits() { - if (GetArenaNoVirtual() == nullptr && limits_ != nullptr) { - delete limits_; - } - limits_ = nullptr; -} -inline const ::flyteidl::admin::TaskResourceSpec& TaskResourceAttributes::limits() const { - const ::flyteidl::admin::TaskResourceSpec* p = limits_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceAttributes.limits) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_TaskResourceSpec_default_instance_); -} -inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::release_limits() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceAttributes.limits) - - ::flyteidl::admin::TaskResourceSpec* temp = limits_; - limits_ = nullptr; - return temp; -} -inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::mutable_limits() { - - if (limits_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::TaskResourceSpec>(GetArenaNoVirtual()); - limits_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceAttributes.limits) - return limits_; -} -inline void TaskResourceAttributes::set_allocated_limits(::flyteidl::admin::TaskResourceSpec* limits) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete limits_; - } - if (limits) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - limits = ::google::protobuf::internal::GetOwnedMessage( - message_arena, limits, submessage_arena); - } - - } else { - - } - limits_ = limits; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceAttributes.limits) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ClusterResourceAttributes - -// map attributes = 1; -inline int ClusterResourceAttributes::attributes_size() const { - return attributes_.size(); -} -inline void ClusterResourceAttributes::clear_attributes() { - attributes_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -ClusterResourceAttributes::attributes() const { - // @@protoc_insertion_point(field_map:flyteidl.admin.ClusterResourceAttributes.attributes) - return attributes_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -ClusterResourceAttributes::mutable_attributes() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.ClusterResourceAttributes.attributes) - return attributes_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// ExecutionQueueAttributes - -// repeated string tags = 1; -inline int ExecutionQueueAttributes::tags_size() const { - return tags_.size(); -} -inline void ExecutionQueueAttributes::clear_tags() { - tags_.Clear(); -} -inline const ::std::string& ExecutionQueueAttributes::tags(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionQueueAttributes.tags) - return tags_.Get(index); -} -inline ::std::string* ExecutionQueueAttributes::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionQueueAttributes.tags) - return tags_.Mutable(index); -} -inline void ExecutionQueueAttributes::set_tags(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionQueueAttributes.tags) - tags_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void ExecutionQueueAttributes::set_tags(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionQueueAttributes.tags) - tags_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void ExecutionQueueAttributes::set_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionQueueAttributes.tags) -} -inline void ExecutionQueueAttributes::set_tags(int index, const char* value, size_t size) { - tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionQueueAttributes.tags) -} -inline ::std::string* ExecutionQueueAttributes::add_tags() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.ExecutionQueueAttributes.tags) - return tags_.Add(); -} -inline void ExecutionQueueAttributes::add_tags(const ::std::string& value) { - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionQueueAttributes.tags) -} -#if LANG_CXX11 -inline void ExecutionQueueAttributes::add_tags(::std::string&& value) { - tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionQueueAttributes.tags) -} -#endif -inline void ExecutionQueueAttributes::add_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.ExecutionQueueAttributes.tags) -} -inline void ExecutionQueueAttributes::add_tags(const char* value, size_t size) { - tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.ExecutionQueueAttributes.tags) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -ExecutionQueueAttributes::tags() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.ExecutionQueueAttributes.tags) - return tags_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -ExecutionQueueAttributes::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ExecutionQueueAttributes.tags) - return &tags_; -} - -// ------------------------------------------------------------------- - -// ExecutionClusterLabel - -// string value = 1; -inline void ExecutionClusterLabel::clear_value() { - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionClusterLabel::value() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionClusterLabel.value) - return value_.GetNoArena(); -} -inline void ExecutionClusterLabel::set_value(const ::std::string& value) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionClusterLabel.value) -} -#if LANG_CXX11 -inline void ExecutionClusterLabel::set_value(::std::string&& value) { - - value_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ExecutionClusterLabel.value) -} -#endif -inline void ExecutionClusterLabel::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionClusterLabel.value) -} -inline void ExecutionClusterLabel::set_value(const char* value, size_t size) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionClusterLabel.value) -} -inline ::std::string* ExecutionClusterLabel::mutable_value() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionClusterLabel.value) - return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionClusterLabel::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionClusterLabel.value) - - return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionClusterLabel::set_allocated_value(::std::string* value) { - if (value != nullptr) { - - } else { - - } - value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionClusterLabel.value) -} - -// ------------------------------------------------------------------- - -// PluginOverride - -// string task_type = 1; -inline void PluginOverride::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PluginOverride::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.PluginOverride.task_type) - return task_type_.GetNoArena(); -} -inline void PluginOverride::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.PluginOverride.task_type) -} -#if LANG_CXX11 -inline void PluginOverride::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.PluginOverride.task_type) -} -#endif -inline void PluginOverride::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.PluginOverride.task_type) -} -inline void PluginOverride::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.PluginOverride.task_type) -} -inline ::std::string* PluginOverride::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.PluginOverride.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PluginOverride::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.PluginOverride.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PluginOverride::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.PluginOverride.task_type) -} - -// repeated string plugin_id = 2; -inline int PluginOverride::plugin_id_size() const { - return plugin_id_.size(); -} -inline void PluginOverride::clear_plugin_id() { - plugin_id_.Clear(); -} -inline const ::std::string& PluginOverride::plugin_id(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.PluginOverride.plugin_id) - return plugin_id_.Get(index); -} -inline ::std::string* PluginOverride::mutable_plugin_id(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.PluginOverride.plugin_id) - return plugin_id_.Mutable(index); -} -inline void PluginOverride::set_plugin_id(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.PluginOverride.plugin_id) - plugin_id_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void PluginOverride::set_plugin_id(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.PluginOverride.plugin_id) - plugin_id_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void PluginOverride::set_plugin_id(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - plugin_id_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.PluginOverride.plugin_id) -} -inline void PluginOverride::set_plugin_id(int index, const char* value, size_t size) { - plugin_id_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.PluginOverride.plugin_id) -} -inline ::std::string* PluginOverride::add_plugin_id() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.PluginOverride.plugin_id) - return plugin_id_.Add(); -} -inline void PluginOverride::add_plugin_id(const ::std::string& value) { - plugin_id_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.PluginOverride.plugin_id) -} -#if LANG_CXX11 -inline void PluginOverride::add_plugin_id(::std::string&& value) { - plugin_id_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.PluginOverride.plugin_id) -} -#endif -inline void PluginOverride::add_plugin_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - plugin_id_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.PluginOverride.plugin_id) -} -inline void PluginOverride::add_plugin_id(const char* value, size_t size) { - plugin_id_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.PluginOverride.plugin_id) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -PluginOverride::plugin_id() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.PluginOverride.plugin_id) - return plugin_id_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -PluginOverride::mutable_plugin_id() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.PluginOverride.plugin_id) - return &plugin_id_; -} - -// .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; -inline void PluginOverride::clear_missing_plugin_behavior() { - missing_plugin_behavior_ = 0; -} -inline ::flyteidl::admin::PluginOverride_MissingPluginBehavior PluginOverride::missing_plugin_behavior() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.PluginOverride.missing_plugin_behavior) - return static_cast< ::flyteidl::admin::PluginOverride_MissingPluginBehavior >(missing_plugin_behavior_); -} -inline void PluginOverride::set_missing_plugin_behavior(::flyteidl::admin::PluginOverride_MissingPluginBehavior value) { - - missing_plugin_behavior_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.PluginOverride.missing_plugin_behavior) -} - -// ------------------------------------------------------------------- - -// PluginOverrides - -// repeated .flyteidl.admin.PluginOverride overrides = 1; -inline int PluginOverrides::overrides_size() const { - return overrides_.size(); -} -inline void PluginOverrides::clear_overrides() { - overrides_.Clear(); -} -inline ::flyteidl::admin::PluginOverride* PluginOverrides::mutable_overrides(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.PluginOverrides.overrides) - return overrides_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::PluginOverride >* -PluginOverrides::mutable_overrides() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.PluginOverrides.overrides) - return &overrides_; -} -inline const ::flyteidl::admin::PluginOverride& PluginOverrides::overrides(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.PluginOverrides.overrides) - return overrides_.Get(index); -} -inline ::flyteidl::admin::PluginOverride* PluginOverrides::add_overrides() { - // @@protoc_insertion_point(field_add:flyteidl.admin.PluginOverrides.overrides) - return overrides_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::PluginOverride >& -PluginOverrides::overrides() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.PluginOverrides.overrides) - return overrides_; -} - -// ------------------------------------------------------------------- - -// WorkflowExecutionConfig - -// int32 max_parallelism = 1; -inline void WorkflowExecutionConfig::clear_max_parallelism() { - max_parallelism_ = 0; -} -inline ::google::protobuf::int32 WorkflowExecutionConfig::max_parallelism() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.max_parallelism) - return max_parallelism_; -} -inline void WorkflowExecutionConfig::set_max_parallelism(::google::protobuf::int32 value) { - - max_parallelism_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowExecutionConfig.max_parallelism) -} - -// .flyteidl.core.SecurityContext security_context = 2; -inline bool WorkflowExecutionConfig::has_security_context() const { - return this != internal_default_instance() && security_context_ != nullptr; -} -inline const ::flyteidl::core::SecurityContext& WorkflowExecutionConfig::security_context() const { - const ::flyteidl::core::SecurityContext* p = security_context_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.security_context) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SecurityContext_default_instance_); -} -inline ::flyteidl::core::SecurityContext* WorkflowExecutionConfig::release_security_context() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionConfig.security_context) - - ::flyteidl::core::SecurityContext* temp = security_context_; - security_context_ = nullptr; - return temp; -} -inline ::flyteidl::core::SecurityContext* WorkflowExecutionConfig::mutable_security_context() { - - if (security_context_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SecurityContext>(GetArenaNoVirtual()); - security_context_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionConfig.security_context) - return security_context_; -} -inline void WorkflowExecutionConfig::set_allocated_security_context(::flyteidl::core::SecurityContext* security_context) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(security_context_); - } - if (security_context) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - security_context = ::google::protobuf::internal::GetOwnedMessage( - message_arena, security_context, submessage_arena); - } - - } else { - - } - security_context_ = security_context; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionConfig.security_context) -} - -// .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; -inline bool WorkflowExecutionConfig::has_raw_output_data_config() const { - return this != internal_default_instance() && raw_output_data_config_ != nullptr; -} -inline const ::flyteidl::admin::RawOutputDataConfig& WorkflowExecutionConfig::raw_output_data_config() const { - const ::flyteidl::admin::RawOutputDataConfig* p = raw_output_data_config_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.raw_output_data_config) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_RawOutputDataConfig_default_instance_); -} -inline ::flyteidl::admin::RawOutputDataConfig* WorkflowExecutionConfig::release_raw_output_data_config() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionConfig.raw_output_data_config) - - ::flyteidl::admin::RawOutputDataConfig* temp = raw_output_data_config_; - raw_output_data_config_ = nullptr; - return temp; -} -inline ::flyteidl::admin::RawOutputDataConfig* WorkflowExecutionConfig::mutable_raw_output_data_config() { - - if (raw_output_data_config_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::RawOutputDataConfig>(GetArenaNoVirtual()); - raw_output_data_config_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionConfig.raw_output_data_config) - return raw_output_data_config_; -} -inline void WorkflowExecutionConfig::set_allocated_raw_output_data_config(::flyteidl::admin::RawOutputDataConfig* raw_output_data_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_output_data_config_); - } - if (raw_output_data_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - raw_output_data_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, raw_output_data_config, submessage_arena); - } - - } else { - - } - raw_output_data_config_ = raw_output_data_config; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionConfig.raw_output_data_config) -} - -// .flyteidl.admin.Labels labels = 4; -inline bool WorkflowExecutionConfig::has_labels() const { - return this != internal_default_instance() && labels_ != nullptr; -} -inline const ::flyteidl::admin::Labels& WorkflowExecutionConfig::labels() const { - const ::flyteidl::admin::Labels* p = labels_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.labels) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Labels_default_instance_); -} -inline ::flyteidl::admin::Labels* WorkflowExecutionConfig::release_labels() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionConfig.labels) - - ::flyteidl::admin::Labels* temp = labels_; - labels_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Labels* WorkflowExecutionConfig::mutable_labels() { - - if (labels_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Labels>(GetArenaNoVirtual()); - labels_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionConfig.labels) - return labels_; -} -inline void WorkflowExecutionConfig::set_allocated_labels(::flyteidl::admin::Labels* labels) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(labels_); - } - if (labels) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - labels = ::google::protobuf::internal::GetOwnedMessage( - message_arena, labels, submessage_arena); - } - - } else { - - } - labels_ = labels; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionConfig.labels) -} - -// .flyteidl.admin.Annotations annotations = 5; -inline bool WorkflowExecutionConfig::has_annotations() const { - return this != internal_default_instance() && annotations_ != nullptr; -} -inline const ::flyteidl::admin::Annotations& WorkflowExecutionConfig::annotations() const { - const ::flyteidl::admin::Annotations* p = annotations_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.annotations) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Annotations_default_instance_); -} -inline ::flyteidl::admin::Annotations* WorkflowExecutionConfig::release_annotations() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionConfig.annotations) - - ::flyteidl::admin::Annotations* temp = annotations_; - annotations_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Annotations* WorkflowExecutionConfig::mutable_annotations() { - - if (annotations_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Annotations>(GetArenaNoVirtual()); - annotations_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionConfig.annotations) - return annotations_; -} -inline void WorkflowExecutionConfig::set_allocated_annotations(::flyteidl::admin::Annotations* annotations) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(annotations_); - } - if (annotations) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - annotations = ::google::protobuf::internal::GetOwnedMessage( - message_arena, annotations, submessage_arena); - } - - } else { - - } - annotations_ = annotations; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionConfig.annotations) -} - -// .google.protobuf.BoolValue interruptible = 6; -inline bool WorkflowExecutionConfig::has_interruptible() const { - return this != internal_default_instance() && interruptible_ != nullptr; -} -inline const ::google::protobuf::BoolValue& WorkflowExecutionConfig::interruptible() const { - const ::google::protobuf::BoolValue* p = interruptible_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.interruptible) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_BoolValue_default_instance_); -} -inline ::google::protobuf::BoolValue* WorkflowExecutionConfig::release_interruptible() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionConfig.interruptible) - - ::google::protobuf::BoolValue* temp = interruptible_; - interruptible_ = nullptr; - return temp; -} -inline ::google::protobuf::BoolValue* WorkflowExecutionConfig::mutable_interruptible() { - - if (interruptible_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::BoolValue>(GetArenaNoVirtual()); - interruptible_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionConfig.interruptible) - return interruptible_; -} -inline void WorkflowExecutionConfig::set_allocated_interruptible(::google::protobuf::BoolValue* interruptible) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(interruptible_); - } - if (interruptible) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(interruptible)->GetArena(); - if (message_arena != submessage_arena) { - interruptible = ::google::protobuf::internal::GetOwnedMessage( - message_arena, interruptible, submessage_arena); - } - - } else { - - } - interruptible_ = interruptible; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionConfig.interruptible) -} - -// bool overwrite_cache = 7; -inline void WorkflowExecutionConfig::clear_overwrite_cache() { - overwrite_cache_ = false; -} -inline bool WorkflowExecutionConfig::overwrite_cache() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.overwrite_cache) - return overwrite_cache_; -} -inline void WorkflowExecutionConfig::set_overwrite_cache(bool value) { - - overwrite_cache_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowExecutionConfig.overwrite_cache) -} - -// .flyteidl.admin.Envs envs = 8; -inline bool WorkflowExecutionConfig::has_envs() const { - return this != internal_default_instance() && envs_ != nullptr; -} -inline const ::flyteidl::admin::Envs& WorkflowExecutionConfig::envs() const { - const ::flyteidl::admin::Envs* p = envs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.envs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Envs_default_instance_); -} -inline ::flyteidl::admin::Envs* WorkflowExecutionConfig::release_envs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionConfig.envs) - - ::flyteidl::admin::Envs* temp = envs_; - envs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Envs* WorkflowExecutionConfig::mutable_envs() { - - if (envs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Envs>(GetArenaNoVirtual()); - envs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionConfig.envs) - return envs_; -} -inline void WorkflowExecutionConfig::set_allocated_envs(::flyteidl::admin::Envs* envs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(envs_); - } - if (envs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - envs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, envs, submessage_arena); - } - - } else { - - } - envs_ = envs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionConfig.envs) -} - -// ------------------------------------------------------------------- - -// MatchingAttributes - -// .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; -inline bool MatchingAttributes::has_task_resource_attributes() const { - return target_case() == kTaskResourceAttributes; -} -inline void MatchingAttributes::set_has_task_resource_attributes() { - _oneof_case_[0] = kTaskResourceAttributes; -} -inline void MatchingAttributes::clear_task_resource_attributes() { - if (has_task_resource_attributes()) { - delete target_.task_resource_attributes_; - clear_has_target(); - } -} -inline ::flyteidl::admin::TaskResourceAttributes* MatchingAttributes::release_task_resource_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.task_resource_attributes) - if (has_task_resource_attributes()) { - clear_has_target(); - ::flyteidl::admin::TaskResourceAttributes* temp = target_.task_resource_attributes_; - target_.task_resource_attributes_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::TaskResourceAttributes& MatchingAttributes::task_resource_attributes() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.task_resource_attributes) - return has_task_resource_attributes() - ? *target_.task_resource_attributes_ - : *reinterpret_cast< ::flyteidl::admin::TaskResourceAttributes*>(&::flyteidl::admin::_TaskResourceAttributes_default_instance_); -} -inline ::flyteidl::admin::TaskResourceAttributes* MatchingAttributes::mutable_task_resource_attributes() { - if (!has_task_resource_attributes()) { - clear_target(); - set_has_task_resource_attributes(); - target_.task_resource_attributes_ = CreateMaybeMessage< ::flyteidl::admin::TaskResourceAttributes >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.task_resource_attributes) - return target_.task_resource_attributes_; -} - -// .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; -inline bool MatchingAttributes::has_cluster_resource_attributes() const { - return target_case() == kClusterResourceAttributes; -} -inline void MatchingAttributes::set_has_cluster_resource_attributes() { - _oneof_case_[0] = kClusterResourceAttributes; -} -inline void MatchingAttributes::clear_cluster_resource_attributes() { - if (has_cluster_resource_attributes()) { - delete target_.cluster_resource_attributes_; - clear_has_target(); - } -} -inline ::flyteidl::admin::ClusterResourceAttributes* MatchingAttributes::release_cluster_resource_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) - if (has_cluster_resource_attributes()) { - clear_has_target(); - ::flyteidl::admin::ClusterResourceAttributes* temp = target_.cluster_resource_attributes_; - target_.cluster_resource_attributes_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::ClusterResourceAttributes& MatchingAttributes::cluster_resource_attributes() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) - return has_cluster_resource_attributes() - ? *target_.cluster_resource_attributes_ - : *reinterpret_cast< ::flyteidl::admin::ClusterResourceAttributes*>(&::flyteidl::admin::_ClusterResourceAttributes_default_instance_); -} -inline ::flyteidl::admin::ClusterResourceAttributes* MatchingAttributes::mutable_cluster_resource_attributes() { - if (!has_cluster_resource_attributes()) { - clear_target(); - set_has_cluster_resource_attributes(); - target_.cluster_resource_attributes_ = CreateMaybeMessage< ::flyteidl::admin::ClusterResourceAttributes >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) - return target_.cluster_resource_attributes_; -} - -// .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; -inline bool MatchingAttributes::has_execution_queue_attributes() const { - return target_case() == kExecutionQueueAttributes; -} -inline void MatchingAttributes::set_has_execution_queue_attributes() { - _oneof_case_[0] = kExecutionQueueAttributes; -} -inline void MatchingAttributes::clear_execution_queue_attributes() { - if (has_execution_queue_attributes()) { - delete target_.execution_queue_attributes_; - clear_has_target(); - } -} -inline ::flyteidl::admin::ExecutionQueueAttributes* MatchingAttributes::release_execution_queue_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.execution_queue_attributes) - if (has_execution_queue_attributes()) { - clear_has_target(); - ::flyteidl::admin::ExecutionQueueAttributes* temp = target_.execution_queue_attributes_; - target_.execution_queue_attributes_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::ExecutionQueueAttributes& MatchingAttributes::execution_queue_attributes() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.execution_queue_attributes) - return has_execution_queue_attributes() - ? *target_.execution_queue_attributes_ - : *reinterpret_cast< ::flyteidl::admin::ExecutionQueueAttributes*>(&::flyteidl::admin::_ExecutionQueueAttributes_default_instance_); -} -inline ::flyteidl::admin::ExecutionQueueAttributes* MatchingAttributes::mutable_execution_queue_attributes() { - if (!has_execution_queue_attributes()) { - clear_target(); - set_has_execution_queue_attributes(); - target_.execution_queue_attributes_ = CreateMaybeMessage< ::flyteidl::admin::ExecutionQueueAttributes >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.execution_queue_attributes) - return target_.execution_queue_attributes_; -} - -// .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; -inline bool MatchingAttributes::has_execution_cluster_label() const { - return target_case() == kExecutionClusterLabel; -} -inline void MatchingAttributes::set_has_execution_cluster_label() { - _oneof_case_[0] = kExecutionClusterLabel; -} -inline void MatchingAttributes::clear_execution_cluster_label() { - if (has_execution_cluster_label()) { - delete target_.execution_cluster_label_; - clear_has_target(); - } -} -inline ::flyteidl::admin::ExecutionClusterLabel* MatchingAttributes::release_execution_cluster_label() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.execution_cluster_label) - if (has_execution_cluster_label()) { - clear_has_target(); - ::flyteidl::admin::ExecutionClusterLabel* temp = target_.execution_cluster_label_; - target_.execution_cluster_label_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::ExecutionClusterLabel& MatchingAttributes::execution_cluster_label() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.execution_cluster_label) - return has_execution_cluster_label() - ? *target_.execution_cluster_label_ - : *reinterpret_cast< ::flyteidl::admin::ExecutionClusterLabel*>(&::flyteidl::admin::_ExecutionClusterLabel_default_instance_); -} -inline ::flyteidl::admin::ExecutionClusterLabel* MatchingAttributes::mutable_execution_cluster_label() { - if (!has_execution_cluster_label()) { - clear_target(); - set_has_execution_cluster_label(); - target_.execution_cluster_label_ = CreateMaybeMessage< ::flyteidl::admin::ExecutionClusterLabel >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.execution_cluster_label) - return target_.execution_cluster_label_; -} - -// .flyteidl.core.QualityOfService quality_of_service = 5; -inline bool MatchingAttributes::has_quality_of_service() const { - return target_case() == kQualityOfService; -} -inline void MatchingAttributes::set_has_quality_of_service() { - _oneof_case_[0] = kQualityOfService; -} -inline ::flyteidl::core::QualityOfService* MatchingAttributes::release_quality_of_service() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.quality_of_service) - if (has_quality_of_service()) { - clear_has_target(); - ::flyteidl::core::QualityOfService* temp = target_.quality_of_service_; - target_.quality_of_service_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::QualityOfService& MatchingAttributes::quality_of_service() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.quality_of_service) - return has_quality_of_service() - ? *target_.quality_of_service_ - : *reinterpret_cast< ::flyteidl::core::QualityOfService*>(&::flyteidl::core::_QualityOfService_default_instance_); -} -inline ::flyteidl::core::QualityOfService* MatchingAttributes::mutable_quality_of_service() { - if (!has_quality_of_service()) { - clear_target(); - set_has_quality_of_service(); - target_.quality_of_service_ = CreateMaybeMessage< ::flyteidl::core::QualityOfService >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.quality_of_service) - return target_.quality_of_service_; -} - -// .flyteidl.admin.PluginOverrides plugin_overrides = 6; -inline bool MatchingAttributes::has_plugin_overrides() const { - return target_case() == kPluginOverrides; -} -inline void MatchingAttributes::set_has_plugin_overrides() { - _oneof_case_[0] = kPluginOverrides; -} -inline void MatchingAttributes::clear_plugin_overrides() { - if (has_plugin_overrides()) { - delete target_.plugin_overrides_; - clear_has_target(); - } -} -inline ::flyteidl::admin::PluginOverrides* MatchingAttributes::release_plugin_overrides() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.plugin_overrides) - if (has_plugin_overrides()) { - clear_has_target(); - ::flyteidl::admin::PluginOverrides* temp = target_.plugin_overrides_; - target_.plugin_overrides_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::PluginOverrides& MatchingAttributes::plugin_overrides() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.plugin_overrides) - return has_plugin_overrides() - ? *target_.plugin_overrides_ - : *reinterpret_cast< ::flyteidl::admin::PluginOverrides*>(&::flyteidl::admin::_PluginOverrides_default_instance_); -} -inline ::flyteidl::admin::PluginOverrides* MatchingAttributes::mutable_plugin_overrides() { - if (!has_plugin_overrides()) { - clear_target(); - set_has_plugin_overrides(); - target_.plugin_overrides_ = CreateMaybeMessage< ::flyteidl::admin::PluginOverrides >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.plugin_overrides) - return target_.plugin_overrides_; -} - -// .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; -inline bool MatchingAttributes::has_workflow_execution_config() const { - return target_case() == kWorkflowExecutionConfig; -} -inline void MatchingAttributes::set_has_workflow_execution_config() { - _oneof_case_[0] = kWorkflowExecutionConfig; -} -inline void MatchingAttributes::clear_workflow_execution_config() { - if (has_workflow_execution_config()) { - delete target_.workflow_execution_config_; - clear_has_target(); - } -} -inline ::flyteidl::admin::WorkflowExecutionConfig* MatchingAttributes::release_workflow_execution_config() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.workflow_execution_config) - if (has_workflow_execution_config()) { - clear_has_target(); - ::flyteidl::admin::WorkflowExecutionConfig* temp = target_.workflow_execution_config_; - target_.workflow_execution_config_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::WorkflowExecutionConfig& MatchingAttributes::workflow_execution_config() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.workflow_execution_config) - return has_workflow_execution_config() - ? *target_.workflow_execution_config_ - : *reinterpret_cast< ::flyteidl::admin::WorkflowExecutionConfig*>(&::flyteidl::admin::_WorkflowExecutionConfig_default_instance_); -} -inline ::flyteidl::admin::WorkflowExecutionConfig* MatchingAttributes::mutable_workflow_execution_config() { - if (!has_workflow_execution_config()) { - clear_target(); - set_has_workflow_execution_config(); - target_.workflow_execution_config_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionConfig >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.workflow_execution_config) - return target_.workflow_execution_config_; -} - -// .flyteidl.admin.ClusterAssignment cluster_assignment = 8; -inline bool MatchingAttributes::has_cluster_assignment() const { - return target_case() == kClusterAssignment; -} -inline void MatchingAttributes::set_has_cluster_assignment() { - _oneof_case_[0] = kClusterAssignment; -} -inline ::flyteidl::admin::ClusterAssignment* MatchingAttributes::release_cluster_assignment() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.cluster_assignment) - if (has_cluster_assignment()) { - clear_has_target(); - ::flyteidl::admin::ClusterAssignment* temp = target_.cluster_assignment_; - target_.cluster_assignment_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::ClusterAssignment& MatchingAttributes::cluster_assignment() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.cluster_assignment) - return has_cluster_assignment() - ? *target_.cluster_assignment_ - : *reinterpret_cast< ::flyteidl::admin::ClusterAssignment*>(&::flyteidl::admin::_ClusterAssignment_default_instance_); -} -inline ::flyteidl::admin::ClusterAssignment* MatchingAttributes::mutable_cluster_assignment() { - if (!has_cluster_assignment()) { - clear_target(); - set_has_cluster_assignment(); - target_.cluster_assignment_ = CreateMaybeMessage< ::flyteidl::admin::ClusterAssignment >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.cluster_assignment) - return target_.cluster_assignment_; -} - -inline bool MatchingAttributes::has_target() const { - return target_case() != TARGET_NOT_SET; -} -inline void MatchingAttributes::clear_has_target() { - _oneof_case_[0] = TARGET_NOT_SET; -} -inline MatchingAttributes::TargetCase MatchingAttributes::target_case() const { - return MatchingAttributes::TargetCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// MatchableAttributesConfiguration - -// .flyteidl.admin.MatchingAttributes attributes = 1; -inline bool MatchableAttributesConfiguration::has_attributes() const { - return this != internal_default_instance() && attributes_ != nullptr; -} -inline void MatchableAttributesConfiguration::clear_attributes() { - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; -} -inline const ::flyteidl::admin::MatchingAttributes& MatchableAttributesConfiguration::attributes() const { - const ::flyteidl::admin::MatchingAttributes* p = attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchableAttributesConfiguration.attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); -} -inline ::flyteidl::admin::MatchingAttributes* MatchableAttributesConfiguration::release_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchableAttributesConfiguration.attributes) - - ::flyteidl::admin::MatchingAttributes* temp = attributes_; - attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::MatchingAttributes* MatchableAttributesConfiguration::mutable_attributes() { - - if (attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); - attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchableAttributesConfiguration.attributes) - return attributes_; -} -inline void MatchableAttributesConfiguration::set_allocated_attributes(::flyteidl::admin::MatchingAttributes* attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete attributes_; - } - if (attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, attributes, submessage_arena); - } - - } else { - - } - attributes_ = attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchableAttributesConfiguration.attributes) -} - -// string domain = 2; -inline void MatchableAttributesConfiguration::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& MatchableAttributesConfiguration::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchableAttributesConfiguration.domain) - return domain_.GetNoArena(); -} -inline void MatchableAttributesConfiguration::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.MatchableAttributesConfiguration.domain) -} -#if LANG_CXX11 -inline void MatchableAttributesConfiguration::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.MatchableAttributesConfiguration.domain) -} -#endif -inline void MatchableAttributesConfiguration::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.MatchableAttributesConfiguration.domain) -} -inline void MatchableAttributesConfiguration::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.MatchableAttributesConfiguration.domain) -} -inline ::std::string* MatchableAttributesConfiguration::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchableAttributesConfiguration.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* MatchableAttributesConfiguration::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchableAttributesConfiguration.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void MatchableAttributesConfiguration::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchableAttributesConfiguration.domain) -} - -// string project = 3; -inline void MatchableAttributesConfiguration::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& MatchableAttributesConfiguration::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchableAttributesConfiguration.project) - return project_.GetNoArena(); -} -inline void MatchableAttributesConfiguration::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.MatchableAttributesConfiguration.project) -} -#if LANG_CXX11 -inline void MatchableAttributesConfiguration::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.MatchableAttributesConfiguration.project) -} -#endif -inline void MatchableAttributesConfiguration::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.MatchableAttributesConfiguration.project) -} -inline void MatchableAttributesConfiguration::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.MatchableAttributesConfiguration.project) -} -inline ::std::string* MatchableAttributesConfiguration::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchableAttributesConfiguration.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* MatchableAttributesConfiguration::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchableAttributesConfiguration.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void MatchableAttributesConfiguration::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchableAttributesConfiguration.project) -} - -// string workflow = 4; -inline void MatchableAttributesConfiguration::clear_workflow() { - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& MatchableAttributesConfiguration::workflow() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchableAttributesConfiguration.workflow) - return workflow_.GetNoArena(); -} -inline void MatchableAttributesConfiguration::set_workflow(const ::std::string& value) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.MatchableAttributesConfiguration.workflow) -} -#if LANG_CXX11 -inline void MatchableAttributesConfiguration::set_workflow(::std::string&& value) { - - workflow_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.MatchableAttributesConfiguration.workflow) -} -#endif -inline void MatchableAttributesConfiguration::set_workflow(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.MatchableAttributesConfiguration.workflow) -} -inline void MatchableAttributesConfiguration::set_workflow(const char* value, size_t size) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.MatchableAttributesConfiguration.workflow) -} -inline ::std::string* MatchableAttributesConfiguration::mutable_workflow() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchableAttributesConfiguration.workflow) - return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* MatchableAttributesConfiguration::release_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchableAttributesConfiguration.workflow) - - return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void MatchableAttributesConfiguration::set_allocated_workflow(::std::string* workflow) { - if (workflow != nullptr) { - - } else { - - } - workflow_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchableAttributesConfiguration.workflow) -} - -// string launch_plan = 5; -inline void MatchableAttributesConfiguration::clear_launch_plan() { - launch_plan_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& MatchableAttributesConfiguration::launch_plan() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) - return launch_plan_.GetNoArena(); -} -inline void MatchableAttributesConfiguration::set_launch_plan(const ::std::string& value) { - - launch_plan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) -} -#if LANG_CXX11 -inline void MatchableAttributesConfiguration::set_launch_plan(::std::string&& value) { - - launch_plan_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) -} -#endif -inline void MatchableAttributesConfiguration::set_launch_plan(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - launch_plan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) -} -inline void MatchableAttributesConfiguration::set_launch_plan(const char* value, size_t size) { - - launch_plan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) -} -inline ::std::string* MatchableAttributesConfiguration::mutable_launch_plan() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) - return launch_plan_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* MatchableAttributesConfiguration::release_launch_plan() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) - - return launch_plan_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void MatchableAttributesConfiguration::set_allocated_launch_plan(::std::string* launch_plan) { - if (launch_plan != nullptr) { - - } else { - - } - launch_plan_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), launch_plan); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchableAttributesConfiguration.launch_plan) -} - -// string org = 6; -inline void MatchableAttributesConfiguration::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& MatchableAttributesConfiguration::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.MatchableAttributesConfiguration.org) - return org_.GetNoArena(); -} -inline void MatchableAttributesConfiguration::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.MatchableAttributesConfiguration.org) -} -#if LANG_CXX11 -inline void MatchableAttributesConfiguration::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.MatchableAttributesConfiguration.org) -} -#endif -inline void MatchableAttributesConfiguration::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.MatchableAttributesConfiguration.org) -} -inline void MatchableAttributesConfiguration::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.MatchableAttributesConfiguration.org) -} -inline ::std::string* MatchableAttributesConfiguration::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchableAttributesConfiguration.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* MatchableAttributesConfiguration::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.MatchableAttributesConfiguration.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void MatchableAttributesConfiguration::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchableAttributesConfiguration.org) -} - -// ------------------------------------------------------------------- - -// ListMatchableAttributesRequest - -// .flyteidl.admin.MatchableResource resource_type = 1; -inline void ListMatchableAttributesRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::admin::MatchableResource ListMatchableAttributesRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ListMatchableAttributesRequest.resource_type) - return static_cast< ::flyteidl::admin::MatchableResource >(resource_type_); -} -inline void ListMatchableAttributesRequest::set_resource_type(::flyteidl::admin::MatchableResource value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ListMatchableAttributesRequest.resource_type) -} - -// string org = 2; -inline void ListMatchableAttributesRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ListMatchableAttributesRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ListMatchableAttributesRequest.org) - return org_.GetNoArena(); -} -inline void ListMatchableAttributesRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ListMatchableAttributesRequest.org) -} -#if LANG_CXX11 -inline void ListMatchableAttributesRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ListMatchableAttributesRequest.org) -} -#endif -inline void ListMatchableAttributesRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ListMatchableAttributesRequest.org) -} -inline void ListMatchableAttributesRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ListMatchableAttributesRequest.org) -} -inline ::std::string* ListMatchableAttributesRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ListMatchableAttributesRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ListMatchableAttributesRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ListMatchableAttributesRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ListMatchableAttributesRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ListMatchableAttributesRequest.org) -} - -// ------------------------------------------------------------------- - -// ListMatchableAttributesResponse - -// repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; -inline int ListMatchableAttributesResponse::configurations_size() const { - return configurations_.size(); -} -inline void ListMatchableAttributesResponse::clear_configurations() { - configurations_.Clear(); -} -inline ::flyteidl::admin::MatchableAttributesConfiguration* ListMatchableAttributesResponse::mutable_configurations(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ListMatchableAttributesResponse.configurations) - return configurations_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::MatchableAttributesConfiguration >* -ListMatchableAttributesResponse::mutable_configurations() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ListMatchableAttributesResponse.configurations) - return &configurations_; -} -inline const ::flyteidl::admin::MatchableAttributesConfiguration& ListMatchableAttributesResponse::configurations(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ListMatchableAttributesResponse.configurations) - return configurations_.Get(index); -} -inline ::flyteidl::admin::MatchableAttributesConfiguration* ListMatchableAttributesResponse::add_configurations() { - // @@protoc_insertion_point(field_add:flyteidl.admin.ListMatchableAttributesResponse.configurations) - return configurations_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::MatchableAttributesConfiguration >& -ListMatchableAttributesResponse::configurations() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.ListMatchableAttributesResponse.configurations) - return configurations_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::PluginOverride_MissingPluginBehavior> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::PluginOverride_MissingPluginBehavior>() { - return ::flyteidl::admin::PluginOverride_MissingPluginBehavior_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::admin::MatchableResource> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::MatchableResource>() { - return ::flyteidl::admin::MatchableResource_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fmatchable_5fresource_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.grpc.pb.cc deleted file mode 100644 index 8a7c5d1e52..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/node_execution.proto - -#include "flyteidl/admin/node_execution.pb.h" -#include "flyteidl/admin/node_execution.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.grpc.pb.h deleted file mode 100644 index f035c0f44f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/node_execution.proto -#ifndef GRPC_flyteidl_2fadmin_2fnode_5fexecution_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fnode_5fexecution_2eproto__INCLUDED - -#include "flyteidl/admin/node_execution.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fnode_5fexecution_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc deleted file mode 100644 index 94d514ae08..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc +++ /dev/null @@ -1,7368 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/node_execution.proto - -#include "flyteidl/admin/node_execution.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_NodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_NodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcatalog_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_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; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace admin { -class NodeExecutionGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionGetRequest_default_instance_; -class NodeExecutionListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionListRequest_default_instance_; -class NodeExecutionForTaskListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionForTaskListRequest_default_instance_; -class NodeExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecution_default_instance_; -class NodeExecutionMetaDataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionMetaData_default_instance_; -class NodeExecutionListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionList_default_instance_; -class NodeExecutionClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr output_uri_; - const ::flyteidl::core::ExecutionError* error_; - const ::flyteidl::core::LiteralMap* output_data_; - const ::flyteidl::admin::WorkflowNodeMetadata* workflow_node_metadata_; - const ::flyteidl::admin::TaskNodeMetadata* task_node_metadata_; -} _NodeExecutionClosure_default_instance_; -class WorkflowNodeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowNodeMetadata_default_instance_; -class TaskNodeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskNodeMetadata_default_instance_; -class DynamicWorkflowNodeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DynamicWorkflowNodeMetadata_default_instance_; -class NodeExecutionGetDataRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionGetDataRequest_default_instance_; -class NodeExecutionGetDataResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionGetDataResponse_default_instance_; -class GetDynamicNodeWorkflowRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetDynamicNodeWorkflowRequest_default_instance_; -class DynamicNodeWorkflowResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DynamicNodeWorkflowResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsNodeExecutionGetRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionGetRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNodeExecutionGetRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsNodeExecutionListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionListRequest_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_NodeExecutionListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsNodeExecutionListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNodeExecutionForTaskListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionForTaskListRequest_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionForTaskListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionForTaskListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_NodeExecutionForTaskListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsNodeExecutionForTaskListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsNodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecution_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_NodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsNodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_NodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base, - &scc_info_NodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base,}}; - -static void InitDefaultsNodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionMetaData_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionMetaData(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionMetaData::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_NodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, {}}; - -static void InitDefaultsNodeExecutionList_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionList_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionList_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNodeExecutionList_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_NodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base,}}; - -static void InitDefaultsNodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionClosure_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<6> scc_info_NodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsNodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, - &scc_info_WorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base, - &scc_info_TaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base,}}; - -static void InitDefaultsWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowNodeMetadata_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowNodeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowNodeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsTaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskNodeMetadata_default_instance_; - new (ptr) ::flyteidl::admin::TaskNodeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskNodeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto.base,}}; - -static void InitDefaultsDynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_DynamicWorkflowNodeMetadata_default_instance_; - new (ptr) ::flyteidl::admin::DynamicWorkflowNodeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::DynamicWorkflowNodeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -static void InitDefaultsNodeExecutionGetDataRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionGetDataRequest_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionGetDataRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionGetDataRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionGetDataRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNodeExecutionGetDataRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsNodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_; - new (ptr) ::flyteidl::admin::NodeExecutionGetDataResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::NodeExecutionGetDataResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_NodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsNodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base, - &scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsGetDynamicNodeWorkflowRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetDynamicNodeWorkflowRequest_default_instance_; - new (ptr) ::flyteidl::admin::GetDynamicNodeWorkflowRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetDynamicNodeWorkflowRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetDynamicNodeWorkflowRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetDynamicNodeWorkflowRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsDynamicNodeWorkflowResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_DynamicNodeWorkflowResponse_default_instance_; - new (ptr) ::flyteidl::admin::DynamicNodeWorkflowResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::DynamicNodeWorkflowResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DynamicNodeWorkflowResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDynamicNodeWorkflowResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { - &scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionGetRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionForTaskListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionList_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionGetDataRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetDynamicNodeWorkflowRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DynamicNodeWorkflowResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[14]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionListRequest, workflow_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionListRequest, sort_by_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionListRequest, unique_parent_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionForTaskListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionForTaskListRequest, task_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionForTaskListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionForTaskListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionForTaskListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionForTaskListRequest, sort_by_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecution, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecution, input_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecution, closure_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecution, metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionMetaData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionMetaData, retry_group_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionMetaData, is_parent_node_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionMetaData, spec_node_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionMetaData, is_dynamic_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionMetaData, is_array_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionList, node_executions_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::NodeExecutionClosureDefaultTypeInternal, output_uri_), - offsetof(::flyteidl::admin::NodeExecutionClosureDefaultTypeInternal, error_), - offsetof(::flyteidl::admin::NodeExecutionClosureDefaultTypeInternal, output_data_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, started_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, duration_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, created_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, updated_at_), - offsetof(::flyteidl::admin::NodeExecutionClosureDefaultTypeInternal, workflow_node_metadata_), - offsetof(::flyteidl::admin::NodeExecutionClosureDefaultTypeInternal, task_node_metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, deck_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, dynamic_job_spec_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, output_result_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, target_metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowNodeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowNodeMetadata, executionid_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskNodeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskNodeMetadata, cache_status_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskNodeMetadata, catalog_key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskNodeMetadata, checkpoint_uri_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicWorkflowNodeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicWorkflowNodeMetadata, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicWorkflowNodeMetadata, compiled_workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicWorkflowNodeMetadata, dynamic_job_spec_uri_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, full_inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, full_outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, dynamic_workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, flyte_urls_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetDynamicNodeWorkflowRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetDynamicNodeWorkflowRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicNodeWorkflowResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicNodeWorkflowResponse, compiled_workflow_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::NodeExecutionGetRequest)}, - { 6, -1, sizeof(::flyteidl::admin::NodeExecutionListRequest)}, - { 17, -1, sizeof(::flyteidl::admin::NodeExecutionForTaskListRequest)}, - { 27, -1, sizeof(::flyteidl::admin::NodeExecution)}, - { 36, -1, sizeof(::flyteidl::admin::NodeExecutionMetaData)}, - { 46, -1, sizeof(::flyteidl::admin::NodeExecutionList)}, - { 53, -1, sizeof(::flyteidl::admin::NodeExecutionClosure)}, - { 72, -1, sizeof(::flyteidl::admin::WorkflowNodeMetadata)}, - { 78, -1, sizeof(::flyteidl::admin::TaskNodeMetadata)}, - { 86, -1, sizeof(::flyteidl::admin::DynamicWorkflowNodeMetadata)}, - { 94, -1, sizeof(::flyteidl::admin::NodeExecutionGetDataRequest)}, - { 100, -1, sizeof(::flyteidl::admin::NodeExecutionGetDataResponse)}, - { 111, -1, sizeof(::flyteidl::admin::GetDynamicNodeWorkflowRequest)}, - { 117, -1, sizeof(::flyteidl::admin::DynamicNodeWorkflowResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_NodeExecutionGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionForTaskListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecution_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionMetaData_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionClosure_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowNodeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskNodeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_DynamicWorkflowNodeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionGetDataRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetDynamicNodeWorkflowRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_DynamicNodeWorkflowResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto, "flyteidl/admin/node_execution.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto, 14, file_level_enum_descriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fnode_5fexecution_2eproto[] = - "\n#flyteidl/admin/node_execution.proto\022\016f" - "lyteidl.admin\032\033flyteidl/admin/common.pro" - "to\032\035flyteidl/core/execution.proto\032\033flyte" - "idl/core/catalog.proto\032\034flyteidl/core/co" - "mpiler.proto\032\036flyteidl/core/identifier.p" - "roto\032\034flyteidl/core/literals.proto\032\037goog" - "le/protobuf/timestamp.proto\032\036google/prot" - "obuf/duration.proto\"M\n\027NodeExecutionGetR" - "equest\0222\n\002id\030\001 \001(\0132&.flyteidl.core.NodeE" - "xecutionIdentifier\"\325\001\n\030NodeExecutionList" - "Request\022I\n\025workflow_execution_id\030\001 \001(\0132*" - ".flyteidl.core.WorkflowExecutionIdentifi" - "er\022\r\n\005limit\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filt" - "ers\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.ad" - "min.Sort\022\030\n\020unique_parent_id\030\006 \001(\t\"\272\001\n\037N" - "odeExecutionForTaskListRequest\022A\n\021task_e" - "xecution_id\030\001 \001(\0132&.flyteidl.core.TaskEx" - "ecutionIdentifier\022\r\n\005limit\030\002 \001(\r\022\r\n\005toke" - "n\030\003 \001(\t\022\017\n\007filters\030\004 \001(\t\022%\n\007sort_by\030\005 \001(" - "\0132\024.flyteidl.admin.Sort\"\306\001\n\rNodeExecutio" - "n\0222\n\002id\030\001 \001(\0132&.flyteidl.core.NodeExecut" - "ionIdentifier\022\021\n\tinput_uri\030\002 \001(\t\0225\n\007clos" - "ure\030\003 \001(\0132$.flyteidl.admin.NodeExecution" - "Closure\0227\n\010metadata\030\004 \001(\0132%.flyteidl.adm" - "in.NodeExecutionMetaData\"\200\001\n\025NodeExecuti" - "onMetaData\022\023\n\013retry_group\030\001 \001(\t\022\026\n\016is_pa" - "rent_node\030\002 \001(\010\022\024\n\014spec_node_id\030\003 \001(\t\022\022\n" - "\nis_dynamic\030\004 \001(\010\022\020\n\010is_array\030\005 \001(\010\"Z\n\021N" - "odeExecutionList\0226\n\017node_executions\030\001 \003(" - "\0132\035.flyteidl.admin.NodeExecution\022\r\n\005toke" - "n\030\002 \001(\t\"\342\004\n\024NodeExecutionClosure\022\030\n\noutp" - "ut_uri\030\001 \001(\tB\002\030\001H\000\022.\n\005error\030\002 \001(\0132\035.flyt" - "eidl.core.ExecutionErrorH\000\0224\n\013output_dat" - "a\030\n \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001H\000" - "\0221\n\005phase\030\003 \001(\0162\".flyteidl.core.NodeExec" - "ution.Phase\022.\n\nstarted_at\030\004 \001(\0132\032.google" - ".protobuf.Timestamp\022+\n\010duration\030\005 \001(\0132\031." - "google.protobuf.Duration\022.\n\ncreated_at\030\006" - " \001(\0132\032.google.protobuf.Timestamp\022.\n\nupda" - "ted_at\030\007 \001(\0132\032.google.protobuf.Timestamp" - "\022F\n\026workflow_node_metadata\030\010 \001(\0132$.flyte" - "idl.admin.WorkflowNodeMetadataH\001\022>\n\022task" - "_node_metadata\030\t \001(\0132 .flyteidl.admin.Ta" - "skNodeMetadataH\001\022\020\n\010deck_uri\030\013 \001(\t\022\034\n\024dy" - "namic_job_spec_uri\030\014 \001(\tB\017\n\routput_resul" - "tB\021\n\017target_metadata\"W\n\024WorkflowNodeMeta" - "data\022\?\n\013executionId\030\001 \001(\0132*.flyteidl.cor" - "e.WorkflowExecutionIdentifier\"\230\001\n\020TaskNo" - "deMetadata\0227\n\014cache_status\030\001 \001(\0162!.flyte" - "idl.core.CatalogCacheStatus\0223\n\013catalog_k" - "ey\030\002 \001(\0132\036.flyteidl.core.CatalogMetadata" - "\022\026\n\016checkpoint_uri\030\004 \001(\t\"\245\001\n\033DynamicWork" - "flowNodeMetadata\022%\n\002id\030\001 \001(\0132\031.flyteidl." - "core.Identifier\022A\n\021compiled_workflow\030\002 \001" - "(\0132&.flyteidl.core.CompiledWorkflowClosu" - "re\022\034\n\024dynamic_job_spec_uri\030\003 \001(\t\"Q\n\033Node" - "ExecutionGetDataRequest\0222\n\002id\030\001 \001(\0132&.fl" - "yteidl.core.NodeExecutionIdentifier\"\320\002\n\034" - "NodeExecutionGetDataResponse\022+\n\006inputs\030\001" - " \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022,\n\007out" - "puts\030\002 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022" - ".\n\013full_inputs\030\003 \001(\0132\031.flyteidl.core.Lit" - "eralMap\022/\n\014full_outputs\030\004 \001(\0132\031.flyteidl" - ".core.LiteralMap\022E\n\020dynamic_workflow\030\020 \001" - "(\0132+.flyteidl.admin.DynamicWorkflowNodeM" - "etadata\022-\n\nflyte_urls\030\021 \001(\0132\031.flyteidl.a" - "dmin.FlyteURLs\"S\n\035GetDynamicNodeWorkflow" - "Request\0222\n\002id\030\001 \001(\0132&.flyteidl.core.Node" - "ExecutionIdentifier\"`\n\033DynamicNodeWorkfl" - "owResponse\022A\n\021compiled_workflow\030\001 \001(\0132&." - "flyteidl.core.CompiledWorkflowClosureB=Z" - ";github.com/flyteorg/flyte/flyteidl/gen/" - "pb-go/flyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fnode_5fexecution_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fnode_5fexecution_2eproto, - "flyteidl/admin/node_execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto, 2908, -}; - -void AddDescriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[8] = - { - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fcatalog_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fcompiler_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto, deps, 8); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fnode_5fexecution_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void NodeExecutionGetRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecutionGetRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); -} -class NodeExecutionGetRequest::HasBitSetters { - public: - static const ::flyteidl::core::NodeExecutionIdentifier& id(const NodeExecutionGetRequest* msg); -}; - -const ::flyteidl::core::NodeExecutionIdentifier& -NodeExecutionGetRequest::HasBitSetters::id(const NodeExecutionGetRequest* msg) { - return *msg->id_; -} -void NodeExecutionGetRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionGetRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionGetRequest::NodeExecutionGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionGetRequest) -} -NodeExecutionGetRequest::NodeExecutionGetRequest(const NodeExecutionGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionGetRequest) -} - -void NodeExecutionGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionGetRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - id_ = nullptr; -} - -NodeExecutionGetRequest::~NodeExecutionGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionGetRequest) - SharedDtor(); -} - -void NodeExecutionGetRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void NodeExecutionGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionGetRequest& NodeExecutionGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionGetRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionGetRequest::_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.NodeExecutionIdentifier 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::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_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 NodeExecutionGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionGetRequest) - 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.NodeExecutionIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.NodeExecutionGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.NodeExecutionGetRequest) -} - -::google::protobuf::uint8* NodeExecutionGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.NodeExecutionGetRequest) - return target; -} - -size_t NodeExecutionGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionGetRequest) - 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.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionGetRequest) - MergeFrom(*source); - } -} - -void NodeExecutionGetRequest::MergeFrom(const NodeExecutionGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionGetRequest) - 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_id()) { - mutable_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.id()); - } -} - -void NodeExecutionGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionGetRequest::CopyFrom(const NodeExecutionGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionGetRequest::IsInitialized() const { - return true; -} - -void NodeExecutionGetRequest::Swap(NodeExecutionGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionGetRequest::InternalSwap(NodeExecutionGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata NodeExecutionGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecutionListRequest_default_instance_._instance.get_mutable()->workflow_execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class NodeExecutionListRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution_id(const NodeExecutionListRequest* msg); - static const ::flyteidl::admin::Sort& sort_by(const NodeExecutionListRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -NodeExecutionListRequest::HasBitSetters::workflow_execution_id(const NodeExecutionListRequest* msg) { - return *msg->workflow_execution_id_; -} -const ::flyteidl::admin::Sort& -NodeExecutionListRequest::HasBitSetters::sort_by(const NodeExecutionListRequest* msg) { - return *msg->sort_by_; -} -void NodeExecutionListRequest::clear_workflow_execution_id() { - if (GetArenaNoVirtual() == nullptr && workflow_execution_id_ != nullptr) { - delete workflow_execution_id_; - } - workflow_execution_id_ = nullptr; -} -void NodeExecutionListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionListRequest::kWorkflowExecutionIdFieldNumber; -const int NodeExecutionListRequest::kLimitFieldNumber; -const int NodeExecutionListRequest::kTokenFieldNumber; -const int NodeExecutionListRequest::kFiltersFieldNumber; -const int NodeExecutionListRequest::kSortByFieldNumber; -const int NodeExecutionListRequest::kUniqueParentIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionListRequest::NodeExecutionListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionListRequest) -} -NodeExecutionListRequest::NodeExecutionListRequest(const NodeExecutionListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - unique_parent_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.unique_parent_id().size() > 0) { - unique_parent_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.unique_parent_id_); - } - if (from.has_workflow_execution_id()) { - workflow_execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.workflow_execution_id_); - } else { - workflow_execution_id_ = nullptr; - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionListRequest) -} - -void NodeExecutionListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - unique_parent_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&workflow_execution_id_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&workflow_execution_id_)) + sizeof(limit_)); -} - -NodeExecutionListRequest::~NodeExecutionListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionListRequest) - SharedDtor(); -} - -void NodeExecutionListRequest::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - unique_parent_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete workflow_execution_id_; - if (this != internal_default_instance()) delete sort_by_; -} - -void NodeExecutionListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionListRequest& NodeExecutionListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - unique_parent_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && workflow_execution_id_ != nullptr) { - delete workflow_execution_id_; - } - workflow_execution_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionListRequest::_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; - } - // uint32 limit = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionListRequest.token"); - object = msg->mutable_token(); - 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 filters = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionListRequest.filters"); - object = msg->mutable_filters(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 unique_parent_id = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionListRequest.unique_parent_id"); - object = msg->mutable_unique_parent_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; - } - 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 NodeExecutionListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionListRequest) - 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; - } - - // uint32 limit = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - // string unique_parent_id = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_unique_parent_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->unique_parent_id().data(), static_cast(this->unique_parent_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionListRequest.unique_parent_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.admin.NodeExecutionListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionListRequest) - ::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); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->limit(), output); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->token(), output); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->filters(), output); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::sort_by(this), output); - } - - // string unique_parent_id = 6; - if (this->unique_parent_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->unique_parent_id().data(), static_cast(this->unique_parent_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionListRequest.unique_parent_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->unique_parent_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionListRequest) -} - -::google::protobuf::uint8* NodeExecutionListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionListRequest) - ::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); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->limit(), target); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->token(), target); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->filters(), target); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::sort_by(this), target); - } - - // string unique_parent_id = 6; - if (this->unique_parent_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->unique_parent_id().data(), static_cast(this->unique_parent_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionListRequest.unique_parent_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->unique_parent_id(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionListRequest) - return target; -} - -size_t NodeExecutionListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionListRequest) - 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 token = 3; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 4; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // string unique_parent_id = 6; - if (this->unique_parent_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->unique_parent_id()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - if (this->has_workflow_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *workflow_execution_id_); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionListRequest) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionListRequest) - MergeFrom(*source); - } -} - -void NodeExecutionListRequest::MergeFrom(const NodeExecutionListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.unique_parent_id().size() > 0) { - - unique_parent_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.unique_parent_id_); - } - if (from.has_workflow_execution_id()) { - mutable_workflow_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_execution_id()); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void NodeExecutionListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionListRequest::CopyFrom(const NodeExecutionListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionListRequest::IsInitialized() const { - return true; -} - -void NodeExecutionListRequest::Swap(NodeExecutionListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionListRequest::InternalSwap(NodeExecutionListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - unique_parent_id_.Swap(&other->unique_parent_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(workflow_execution_id_, other->workflow_execution_id_); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata NodeExecutionListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionForTaskListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecutionForTaskListRequest_default_instance_._instance.get_mutable()->task_execution_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionForTaskListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class NodeExecutionForTaskListRequest::HasBitSetters { - public: - static const ::flyteidl::core::TaskExecutionIdentifier& task_execution_id(const NodeExecutionForTaskListRequest* msg); - static const ::flyteidl::admin::Sort& sort_by(const NodeExecutionForTaskListRequest* msg); -}; - -const ::flyteidl::core::TaskExecutionIdentifier& -NodeExecutionForTaskListRequest::HasBitSetters::task_execution_id(const NodeExecutionForTaskListRequest* msg) { - return *msg->task_execution_id_; -} -const ::flyteidl::admin::Sort& -NodeExecutionForTaskListRequest::HasBitSetters::sort_by(const NodeExecutionForTaskListRequest* msg) { - return *msg->sort_by_; -} -void NodeExecutionForTaskListRequest::clear_task_execution_id() { - if (GetArenaNoVirtual() == nullptr && task_execution_id_ != nullptr) { - delete task_execution_id_; - } - task_execution_id_ = nullptr; -} -void NodeExecutionForTaskListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionForTaskListRequest::kTaskExecutionIdFieldNumber; -const int NodeExecutionForTaskListRequest::kLimitFieldNumber; -const int NodeExecutionForTaskListRequest::kTokenFieldNumber; -const int NodeExecutionForTaskListRequest::kFiltersFieldNumber; -const int NodeExecutionForTaskListRequest::kSortByFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionForTaskListRequest::NodeExecutionForTaskListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionForTaskListRequest) -} -NodeExecutionForTaskListRequest::NodeExecutionForTaskListRequest(const NodeExecutionForTaskListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_task_execution_id()) { - task_execution_id_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.task_execution_id_); - } else { - task_execution_id_ = nullptr; - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionForTaskListRequest) -} - -void NodeExecutionForTaskListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionForTaskListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&task_execution_id_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&task_execution_id_)) + sizeof(limit_)); -} - -NodeExecutionForTaskListRequest::~NodeExecutionForTaskListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionForTaskListRequest) - SharedDtor(); -} - -void NodeExecutionForTaskListRequest::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete task_execution_id_; - if (this != internal_default_instance()) delete sort_by_; -} - -void NodeExecutionForTaskListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionForTaskListRequest& NodeExecutionForTaskListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionForTaskListRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionForTaskListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionForTaskListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && task_execution_id_ != nullptr) { - delete task_execution_id_; - } - task_execution_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionForTaskListRequest::_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; - } - // uint32 limit = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionForTaskListRequest.token"); - object = msg->mutable_token(); - 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 filters = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionForTaskListRequest.filters"); - object = msg->mutable_filters(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 NodeExecutionForTaskListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionForTaskListRequest) - 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; - } - - // uint32 limit = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionForTaskListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionForTaskListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecutionForTaskListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionForTaskListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionForTaskListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionForTaskListRequest) - ::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); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->limit(), output); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionForTaskListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->token(), output); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionForTaskListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->filters(), output); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::sort_by(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionForTaskListRequest) -} - -::google::protobuf::uint8* NodeExecutionForTaskListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionForTaskListRequest) - ::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); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->limit(), target); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionForTaskListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->token(), target); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionForTaskListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->filters(), target); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::sort_by(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionForTaskListRequest) - return target; -} - -size_t NodeExecutionForTaskListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionForTaskListRequest) - 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 token = 3; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 4; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - if (this->has_task_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *task_execution_id_); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionForTaskListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionForTaskListRequest) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionForTaskListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionForTaskListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionForTaskListRequest) - MergeFrom(*source); - } -} - -void NodeExecutionForTaskListRequest::MergeFrom(const NodeExecutionForTaskListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionForTaskListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_task_execution_id()) { - mutable_task_execution_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_execution_id()); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void NodeExecutionForTaskListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionForTaskListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionForTaskListRequest::CopyFrom(const NodeExecutionForTaskListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionForTaskListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionForTaskListRequest::IsInitialized() const { - return true; -} - -void NodeExecutionForTaskListRequest::Swap(NodeExecutionForTaskListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionForTaskListRequest::InternalSwap(NodeExecutionForTaskListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(task_execution_id_, other->task_execution_id_); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata NodeExecutionForTaskListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecution::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecution_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_NodeExecution_default_instance_._instance.get_mutable()->closure_ = const_cast< ::flyteidl::admin::NodeExecutionClosure*>( - ::flyteidl::admin::NodeExecutionClosure::internal_default_instance()); - ::flyteidl::admin::_NodeExecution_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::admin::NodeExecutionMetaData*>( - ::flyteidl::admin::NodeExecutionMetaData::internal_default_instance()); -} -class NodeExecution::HasBitSetters { - public: - static const ::flyteidl::core::NodeExecutionIdentifier& id(const NodeExecution* msg); - static const ::flyteidl::admin::NodeExecutionClosure& closure(const NodeExecution* msg); - static const ::flyteidl::admin::NodeExecutionMetaData& metadata(const NodeExecution* msg); -}; - -const ::flyteidl::core::NodeExecutionIdentifier& -NodeExecution::HasBitSetters::id(const NodeExecution* msg) { - return *msg->id_; -} -const ::flyteidl::admin::NodeExecutionClosure& -NodeExecution::HasBitSetters::closure(const NodeExecution* msg) { - return *msg->closure_; -} -const ::flyteidl::admin::NodeExecutionMetaData& -NodeExecution::HasBitSetters::metadata(const NodeExecution* msg) { - return *msg->metadata_; -} -void NodeExecution::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecution::kIdFieldNumber; -const int NodeExecution::kInputUriFieldNumber; -const int NodeExecution::kClosureFieldNumber; -const int NodeExecution::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecution::NodeExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecution) -} -NodeExecution::NodeExecution(const NodeExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.input_uri().size() > 0) { - input_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.input_uri_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_closure()) { - closure_ = new ::flyteidl::admin::NodeExecutionClosure(*from.closure_); - } else { - closure_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::admin::NodeExecutionMetaData(*from.metadata_); - } else { - metadata_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecution) -} - -void NodeExecution::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&metadata_) - - reinterpret_cast(&id_)) + sizeof(metadata_)); -} - -NodeExecution::~NodeExecution() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecution) - SharedDtor(); -} - -void NodeExecution::SharedDtor() { - input_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete closure_; - if (this != internal_default_instance()) delete metadata_; -} - -void NodeExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecution& NodeExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecution_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - input_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecution::_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.NodeExecutionIdentifier 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::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_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 input_uri = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecution.input_uri"); - object = msg->mutable_input_uri(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.NodeExecutionClosure closure = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::NodeExecutionClosure::_InternalParse; - object = msg->mutable_closure(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.NodeExecutionMetaData metadata = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::NodeExecutionMetaData::_InternalParse; - object = msg->mutable_metadata(); - 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 NodeExecution::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecution) - 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.NodeExecutionIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string input_uri = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_input_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecution.input_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NodeExecutionClosure closure = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_closure())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.NodeExecutionMetaData metadata = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string input_uri = 2; - if (this->input_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecution.input_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->input_uri(), output); - } - - // .flyteidl.admin.NodeExecutionClosure closure = 3; - if (this->has_closure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::closure(this), output); - } - - // .flyteidl.admin.NodeExecutionMetaData metadata = 4; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::metadata(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecution) -} - -::google::protobuf::uint8* NodeExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string input_uri = 2; - if (this->input_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecution.input_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->input_uri(), target); - } - - // .flyteidl.admin.NodeExecutionClosure closure = 3; - if (this->has_closure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::closure(this), target); - } - - // .flyteidl.admin.NodeExecutionMetaData metadata = 4; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::metadata(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecution) - return target; -} - -size_t NodeExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecution) - 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 input_uri = 2; - if (this->input_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->input_uri()); - } - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.NodeExecutionClosure closure = 3; - if (this->has_closure()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *closure_); - } - - // .flyteidl.admin.NodeExecutionMetaData metadata = 4; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecution) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecution) - MergeFrom(*source); - } -} - -void NodeExecution::MergeFrom(const NodeExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecution) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.input_uri().size() > 0) { - - input_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.input_uri_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.id()); - } - if (from.has_closure()) { - mutable_closure()->::flyteidl::admin::NodeExecutionClosure::MergeFrom(from.closure()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::admin::NodeExecutionMetaData::MergeFrom(from.metadata()); - } -} - -void NodeExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecution::CopyFrom(const NodeExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecution::IsInitialized() const { - return true; -} - -void NodeExecution::Swap(NodeExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecution::InternalSwap(NodeExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - input_uri_.Swap(&other->input_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(closure_, other->closure_); - swap(metadata_, other->metadata_); -} - -::google::protobuf::Metadata NodeExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionMetaData::InitAsDefaultInstance() { -} -class NodeExecutionMetaData::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionMetaData::kRetryGroupFieldNumber; -const int NodeExecutionMetaData::kIsParentNodeFieldNumber; -const int NodeExecutionMetaData::kSpecNodeIdFieldNumber; -const int NodeExecutionMetaData::kIsDynamicFieldNumber; -const int NodeExecutionMetaData::kIsArrayFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionMetaData::NodeExecutionMetaData() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionMetaData) -} -NodeExecutionMetaData::NodeExecutionMetaData(const NodeExecutionMetaData& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - retry_group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.retry_group().size() > 0) { - retry_group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.retry_group_); - } - spec_node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.spec_node_id().size() > 0) { - spec_node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.spec_node_id_); - } - ::memcpy(&is_parent_node_, &from.is_parent_node_, - static_cast(reinterpret_cast(&is_array_) - - reinterpret_cast(&is_parent_node_)) + sizeof(is_array_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionMetaData) -} - -void NodeExecutionMetaData::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - retry_group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - spec_node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&is_parent_node_, 0, static_cast( - reinterpret_cast(&is_array_) - - reinterpret_cast(&is_parent_node_)) + sizeof(is_array_)); -} - -NodeExecutionMetaData::~NodeExecutionMetaData() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionMetaData) - SharedDtor(); -} - -void NodeExecutionMetaData::SharedDtor() { - retry_group_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - spec_node_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void NodeExecutionMetaData::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionMetaData& NodeExecutionMetaData::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionMetaData::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionMetaData) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - retry_group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - spec_node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&is_parent_node_, 0, static_cast( - reinterpret_cast(&is_array_) - - reinterpret_cast(&is_parent_node_)) + sizeof(is_array_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionMetaData::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string retry_group = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionMetaData.retry_group"); - object = msg->mutable_retry_group(); - 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; - } - // bool is_parent_node = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_is_parent_node(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string spec_node_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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionMetaData.spec_node_id"); - object = msg->mutable_spec_node_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; - } - // bool is_dynamic = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_is_dynamic(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // bool is_array = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; - msg->set_is_array(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 NodeExecutionMetaData::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionMetaData) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string retry_group = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_retry_group())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->retry_group().data(), static_cast(this->retry_group().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionMetaData.retry_group")); - } else { - goto handle_unusual; - } - break; - } - - // bool is_parent_node = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &is_parent_node_))); - } else { - goto handle_unusual; - } - break; - } - - // string spec_node_id = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_spec_node_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->spec_node_id().data(), static_cast(this->spec_node_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionMetaData.spec_node_id")); - } else { - goto handle_unusual; - } - break; - } - - // bool is_dynamic = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &is_dynamic_))); - } else { - goto handle_unusual; - } - break; - } - - // bool is_array = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &is_array_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecutionMetaData) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionMetaData) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionMetaData::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionMetaData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string retry_group = 1; - if (this->retry_group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->retry_group().data(), static_cast(this->retry_group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionMetaData.retry_group"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->retry_group(), output); - } - - // bool is_parent_node = 2; - if (this->is_parent_node() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_parent_node(), output); - } - - // string spec_node_id = 3; - if (this->spec_node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->spec_node_id().data(), static_cast(this->spec_node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionMetaData.spec_node_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->spec_node_id(), output); - } - - // bool is_dynamic = 4; - if (this->is_dynamic() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_dynamic(), output); - } - - // bool is_array = 5; - if (this->is_array() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_array(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionMetaData) -} - -::google::protobuf::uint8* NodeExecutionMetaData::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionMetaData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string retry_group = 1; - if (this->retry_group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->retry_group().data(), static_cast(this->retry_group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionMetaData.retry_group"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->retry_group(), target); - } - - // bool is_parent_node = 2; - if (this->is_parent_node() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_parent_node(), target); - } - - // string spec_node_id = 3; - if (this->spec_node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->spec_node_id().data(), static_cast(this->spec_node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionMetaData.spec_node_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->spec_node_id(), target); - } - - // bool is_dynamic = 4; - if (this->is_dynamic() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_dynamic(), target); - } - - // bool is_array = 5; - if (this->is_array() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_array(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionMetaData) - return target; -} - -size_t NodeExecutionMetaData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionMetaData) - 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 retry_group = 1; - if (this->retry_group().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->retry_group()); - } - - // string spec_node_id = 3; - if (this->spec_node_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->spec_node_id()); - } - - // bool is_parent_node = 2; - if (this->is_parent_node() != 0) { - total_size += 1 + 1; - } - - // bool is_dynamic = 4; - if (this->is_dynamic() != 0) { - total_size += 1 + 1; - } - - // bool is_array = 5; - if (this->is_array() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionMetaData::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionMetaData) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionMetaData* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionMetaData) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionMetaData) - MergeFrom(*source); - } -} - -void NodeExecutionMetaData::MergeFrom(const NodeExecutionMetaData& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionMetaData) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.retry_group().size() > 0) { - - retry_group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.retry_group_); - } - if (from.spec_node_id().size() > 0) { - - spec_node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.spec_node_id_); - } - if (from.is_parent_node() != 0) { - set_is_parent_node(from.is_parent_node()); - } - if (from.is_dynamic() != 0) { - set_is_dynamic(from.is_dynamic()); - } - if (from.is_array() != 0) { - set_is_array(from.is_array()); - } -} - -void NodeExecutionMetaData::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionMetaData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionMetaData::CopyFrom(const NodeExecutionMetaData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionMetaData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionMetaData::IsInitialized() const { - return true; -} - -void NodeExecutionMetaData::Swap(NodeExecutionMetaData* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionMetaData::InternalSwap(NodeExecutionMetaData* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - retry_group_.Swap(&other->retry_group_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - spec_node_id_.Swap(&other->spec_node_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(is_parent_node_, other->is_parent_node_); - swap(is_dynamic_, other->is_dynamic_); - swap(is_array_, other->is_array_); -} - -::google::protobuf::Metadata NodeExecutionMetaData::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionList::InitAsDefaultInstance() { -} -class NodeExecutionList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionList::kNodeExecutionsFieldNumber; -const int NodeExecutionList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionList::NodeExecutionList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionList) -} -NodeExecutionList::NodeExecutionList(const NodeExecutionList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - node_executions_(from.node_executions_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionList) -} - -void NodeExecutionList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionList_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -NodeExecutionList::~NodeExecutionList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionList) - SharedDtor(); -} - -void NodeExecutionList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void NodeExecutionList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionList& NodeExecutionList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionList_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - node_executions_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionList::_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.admin.NodeExecution node_executions = 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::admin::NodeExecution::_InternalParse; - object = msg->add_node_executions(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionList.token"); - object = msg->mutable_token(); - 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 NodeExecutionList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionList) - 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.admin.NodeExecution node_executions = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_node_executions())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecutionList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.NodeExecution node_executions = 1; - for (unsigned int i = 0, - n = static_cast(this->node_executions_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->node_executions(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionList) -} - -::google::protobuf::uint8* NodeExecutionList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.NodeExecution node_executions = 1; - for (unsigned int i = 0, - n = static_cast(this->node_executions_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->node_executions(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionList) - return target; -} - -size_t NodeExecutionList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionList) - 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.admin.NodeExecution node_executions = 1; - { - unsigned int count = static_cast(this->node_executions_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->node_executions(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionList) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionList) - MergeFrom(*source); - } -} - -void NodeExecutionList::MergeFrom(const NodeExecutionList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - node_executions_.MergeFrom(from.node_executions_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void NodeExecutionList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionList::CopyFrom(const NodeExecutionList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionList::IsInitialized() const { - return true; -} - -void NodeExecutionList::Swap(NodeExecutionList* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionList::InternalSwap(NodeExecutionList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&node_executions_)->InternalSwap(CastToBase(&other->node_executions_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata NodeExecutionList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionClosure::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecutionClosure_default_instance_.output_uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_.error_ = const_cast< ::flyteidl::core::ExecutionError*>( - ::flyteidl::core::ExecutionError::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_.output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_._instance.get_mutable()->started_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_._instance.get_mutable()->duration_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_._instance.get_mutable()->created_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_._instance.get_mutable()->updated_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_.workflow_node_metadata_ = const_cast< ::flyteidl::admin::WorkflowNodeMetadata*>( - ::flyteidl::admin::WorkflowNodeMetadata::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionClosure_default_instance_.task_node_metadata_ = const_cast< ::flyteidl::admin::TaskNodeMetadata*>( - ::flyteidl::admin::TaskNodeMetadata::internal_default_instance()); -} -class NodeExecutionClosure::HasBitSetters { - public: - static const ::flyteidl::core::ExecutionError& error(const NodeExecutionClosure* msg); - static const ::flyteidl::core::LiteralMap& output_data(const NodeExecutionClosure* msg); - static const ::google::protobuf::Timestamp& started_at(const NodeExecutionClosure* msg); - static const ::google::protobuf::Duration& duration(const NodeExecutionClosure* msg); - static const ::google::protobuf::Timestamp& created_at(const NodeExecutionClosure* msg); - static const ::google::protobuf::Timestamp& updated_at(const NodeExecutionClosure* msg); - static const ::flyteidl::admin::WorkflowNodeMetadata& workflow_node_metadata(const NodeExecutionClosure* msg); - static const ::flyteidl::admin::TaskNodeMetadata& task_node_metadata(const NodeExecutionClosure* msg); -}; - -const ::flyteidl::core::ExecutionError& -NodeExecutionClosure::HasBitSetters::error(const NodeExecutionClosure* msg) { - return *msg->output_result_.error_; -} -const ::flyteidl::core::LiteralMap& -NodeExecutionClosure::HasBitSetters::output_data(const NodeExecutionClosure* msg) { - return *msg->output_result_.output_data_; -} -const ::google::protobuf::Timestamp& -NodeExecutionClosure::HasBitSetters::started_at(const NodeExecutionClosure* msg) { - return *msg->started_at_; -} -const ::google::protobuf::Duration& -NodeExecutionClosure::HasBitSetters::duration(const NodeExecutionClosure* msg) { - return *msg->duration_; -} -const ::google::protobuf::Timestamp& -NodeExecutionClosure::HasBitSetters::created_at(const NodeExecutionClosure* msg) { - return *msg->created_at_; -} -const ::google::protobuf::Timestamp& -NodeExecutionClosure::HasBitSetters::updated_at(const NodeExecutionClosure* msg) { - return *msg->updated_at_; -} -const ::flyteidl::admin::WorkflowNodeMetadata& -NodeExecutionClosure::HasBitSetters::workflow_node_metadata(const NodeExecutionClosure* msg) { - return *msg->target_metadata_.workflow_node_metadata_; -} -const ::flyteidl::admin::TaskNodeMetadata& -NodeExecutionClosure::HasBitSetters::task_node_metadata(const NodeExecutionClosure* msg) { - return *msg->target_metadata_.task_node_metadata_; -} -void NodeExecutionClosure::set_allocated_error(::flyteidl::core::ExecutionError* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - output_result_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.error) -} -void NodeExecutionClosure::clear_error() { - if (has_error()) { - delete output_result_.error_; - clear_has_output_result(); - } -} -void NodeExecutionClosure::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - set_has_output_data(); - output_result_.output_data_ = output_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.output_data) -} -void NodeExecutionClosure::clear_output_data() { - if (has_output_data()) { - delete output_result_.output_data_; - clear_has_output_result(); - } -} -void NodeExecutionClosure::clear_started_at() { - if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { - delete started_at_; - } - started_at_ = nullptr; -} -void NodeExecutionClosure::clear_duration() { - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; -} -void NodeExecutionClosure::clear_created_at() { - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; -} -void NodeExecutionClosure::clear_updated_at() { - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; -} -void NodeExecutionClosure::set_allocated_workflow_node_metadata(::flyteidl::admin::WorkflowNodeMetadata* workflow_node_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target_metadata(); - if (workflow_node_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_node_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_node_metadata, submessage_arena); - } - set_has_workflow_node_metadata(); - target_metadata_.workflow_node_metadata_ = workflow_node_metadata; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.workflow_node_metadata) -} -void NodeExecutionClosure::set_allocated_task_node_metadata(::flyteidl::admin::TaskNodeMetadata* task_node_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target_metadata(); - if (task_node_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_node_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_node_metadata, submessage_arena); - } - set_has_task_node_metadata(); - target_metadata_.task_node_metadata_ = task_node_metadata; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.task_node_metadata) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionClosure::kOutputUriFieldNumber; -const int NodeExecutionClosure::kErrorFieldNumber; -const int NodeExecutionClosure::kOutputDataFieldNumber; -const int NodeExecutionClosure::kPhaseFieldNumber; -const int NodeExecutionClosure::kStartedAtFieldNumber; -const int NodeExecutionClosure::kDurationFieldNumber; -const int NodeExecutionClosure::kCreatedAtFieldNumber; -const int NodeExecutionClosure::kUpdatedAtFieldNumber; -const int NodeExecutionClosure::kWorkflowNodeMetadataFieldNumber; -const int NodeExecutionClosure::kTaskNodeMetadataFieldNumber; -const int NodeExecutionClosure::kDeckUriFieldNumber; -const int NodeExecutionClosure::kDynamicJobSpecUriFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionClosure::NodeExecutionClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionClosure) -} -NodeExecutionClosure::NodeExecutionClosure(const NodeExecutionClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - deck_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.deck_uri().size() > 0) { - deck_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_uri_); - } - dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.dynamic_job_spec_uri().size() > 0) { - dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); - } - if (from.has_started_at()) { - started_at_ = new ::google::protobuf::Timestamp(*from.started_at_); - } else { - started_at_ = nullptr; - } - if (from.has_duration()) { - duration_ = new ::google::protobuf::Duration(*from.duration_); - } else { - duration_ = nullptr; - } - if (from.has_created_at()) { - created_at_ = new ::google::protobuf::Timestamp(*from.created_at_); - } else { - created_at_ = nullptr; - } - if (from.has_updated_at()) { - updated_at_ = new ::google::protobuf::Timestamp(*from.updated_at_); - } else { - updated_at_ = nullptr; - } - phase_ = from.phase_; - clear_has_output_result(); - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - clear_has_target_metadata(); - switch (from.target_metadata_case()) { - case kWorkflowNodeMetadata: { - mutable_workflow_node_metadata()->::flyteidl::admin::WorkflowNodeMetadata::MergeFrom(from.workflow_node_metadata()); - break; - } - case kTaskNodeMetadata: { - mutable_task_node_metadata()->::flyteidl::admin::TaskNodeMetadata::MergeFrom(from.task_node_metadata()); - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionClosure) -} - -void NodeExecutionClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - deck_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&started_at_, 0, static_cast( - reinterpret_cast(&phase_) - - reinterpret_cast(&started_at_)) + sizeof(phase_)); - clear_has_output_result(); - clear_has_target_metadata(); -} - -NodeExecutionClosure::~NodeExecutionClosure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionClosure) - SharedDtor(); -} - -void NodeExecutionClosure::SharedDtor() { - deck_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dynamic_job_spec_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete started_at_; - if (this != internal_default_instance()) delete duration_; - if (this != internal_default_instance()) delete created_at_; - if (this != internal_default_instance()) delete updated_at_; - if (has_output_result()) { - clear_output_result(); - } - if (has_target_metadata()) { - clear_target_metadata(); - } -} - -void NodeExecutionClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionClosure& NodeExecutionClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionClosure::clear_output_result() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.NodeExecutionClosure) - switch (output_result_case()) { - case kOutputUri: { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kError: { - delete output_result_.error_; - break; - } - case kOutputData: { - delete output_result_.output_data_; - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} - -void NodeExecutionClosure::clear_target_metadata() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.NodeExecutionClosure) - switch (target_metadata_case()) { - case kWorkflowNodeMetadata: { - delete target_metadata_.workflow_node_metadata_; - break; - } - case kTaskNodeMetadata: { - delete target_metadata_.task_node_metadata_; - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } - _oneof_case_[1] = TARGET_METADATA_NOT_SET; -} - - -void NodeExecutionClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - deck_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { - delete started_at_; - } - started_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; - phase_ = 0; - clear_output_result(); - clear_target_metadata(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionClosure::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string output_uri = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionClosure.output_uri"); - object = msg->mutable_output_uri(); - 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.ExecutionError error = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExecutionError::_InternalParse; - object = msg->mutable_error(); - 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.NodeExecution.Phase phase = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::NodeExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Timestamp started_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_started_at(); - 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; - } - // .google.protobuf.Duration duration = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_duration(); - 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; - } - // .google.protobuf.Timestamp created_at = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_created_at(); - 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; - } - // .google.protobuf.Timestamp updated_at = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_updated_at(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowNodeMetadata::_InternalParse; - object = msg->mutable_workflow_node_metadata(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskNodeMetadata::_InternalParse; - object = msg->mutable_task_node_metadata(); - 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.LiteralMap output_data = 10 [deprecated = true]; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - 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 deck_uri = 11; - case 11: { - if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionClosure.deck_uri"); - object = msg->mutable_deck_uri(); - 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 dynamic_job_spec_uri = 12; - case 12: { - if (static_cast<::google::protobuf::uint8>(tag) != 98) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri"); - object = msg->mutable_dynamic_job_spec_uri(); - 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 NodeExecutionClosure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionClosure) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string output_uri = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionClosure.output_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError error = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::NodeExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp started_at = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_started_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration duration = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_duration())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp created_at = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_created_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp updated_at = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_updated_at())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_node_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_node_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); - } else { - goto handle_unusual; - } - break; - } - - // string deck_uri = 11; - case 11: { - if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_deck_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck_uri().data(), static_cast(this->deck_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionClosure.deck_uri")); - } else { - goto handle_unusual; - } - break; - } - - // string dynamic_job_spec_uri = 12; - case 12: { - if (static_cast< ::google::protobuf::uint8>(tag) == (98 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_dynamic_job_spec_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecutionClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string output_uri = 1 [deprecated = true]; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionClosure.output_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->output_uri(), output); - } - - // .flyteidl.core.ExecutionError error = 2; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::error(this), output); - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->phase(), output); - } - - // .google.protobuf.Timestamp started_at = 4; - if (this->has_started_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::started_at(this), output); - } - - // .google.protobuf.Duration duration = 5; - if (this->has_duration()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::duration(this), output); - } - - // .google.protobuf.Timestamp created_at = 6; - if (this->has_created_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::created_at(this), output); - } - - // .google.protobuf.Timestamp updated_at = 7; - if (this->has_updated_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::updated_at(this), output); - } - - // .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - if (has_workflow_node_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::workflow_node_metadata(this), output); - } - - // .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - if (has_task_node_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::task_node_metadata(this), output); - } - - // .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - if (has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, HasBitSetters::output_data(this), output); - } - - // string deck_uri = 11; - if (this->deck_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck_uri().data(), static_cast(this->deck_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionClosure.deck_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 11, this->deck_uri(), output); - } - - // string dynamic_job_spec_uri = 12; - if (this->dynamic_job_spec_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 12, this->dynamic_job_spec_uri(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionClosure) -} - -::google::protobuf::uint8* NodeExecutionClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string output_uri = 1 [deprecated = true]; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionClosure.output_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->output_uri(), target); - } - - // .flyteidl.core.ExecutionError error = 2; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::error(this), target); - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->phase(), target); - } - - // .google.protobuf.Timestamp started_at = 4; - if (this->has_started_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::started_at(this), target); - } - - // .google.protobuf.Duration duration = 5; - if (this->has_duration()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::duration(this), target); - } - - // .google.protobuf.Timestamp created_at = 6; - if (this->has_created_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::created_at(this), target); - } - - // .google.protobuf.Timestamp updated_at = 7; - if (this->has_updated_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::updated_at(this), target); - } - - // .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - if (has_workflow_node_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::workflow_node_metadata(this), target); - } - - // .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - if (has_task_node_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::task_node_metadata(this), target); - } - - // .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - if (has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 10, HasBitSetters::output_data(this), target); - } - - // string deck_uri = 11; - if (this->deck_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck_uri().data(), static_cast(this->deck_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionClosure.deck_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 11, this->deck_uri(), target); - } - - // string dynamic_job_spec_uri = 12; - if (this->dynamic_job_spec_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 12, this->dynamic_job_spec_uri(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionClosure) - return target; -} - -size_t NodeExecutionClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionClosure) - 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 deck_uri = 11; - if (this->deck_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->deck_uri()); - } - - // string dynamic_job_spec_uri = 12; - if (this->dynamic_job_spec_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->dynamic_job_spec_uri()); - } - - // .google.protobuf.Timestamp started_at = 4; - if (this->has_started_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *started_at_); - } - - // .google.protobuf.Duration duration = 5; - if (this->has_duration()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *duration_); - } - - // .google.protobuf.Timestamp created_at = 6; - if (this->has_created_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *created_at_); - } - - // .google.protobuf.Timestamp updated_at = 7; - if (this->has_updated_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *updated_at_); - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - switch (output_result_case()) { - // string output_uri = 1 [deprecated = true]; - case kOutputUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_uri()); - break; - } - // .flyteidl.core.ExecutionError error = 2; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.error_); - break; - } - // .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - case kOutputData: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.output_data_); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - switch (target_metadata_case()) { - // .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - case kWorkflowNodeMetadata: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_metadata_.workflow_node_metadata_); - break; - } - // .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - case kTaskNodeMetadata: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_metadata_.task_node_metadata_); - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionClosure) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionClosure) - MergeFrom(*source); - } -} - -void NodeExecutionClosure::MergeFrom(const NodeExecutionClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionClosure) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.deck_uri().size() > 0) { - - deck_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_uri_); - } - if (from.dynamic_job_spec_uri().size() > 0) { - - dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); - } - if (from.has_started_at()) { - mutable_started_at()->::google::protobuf::Timestamp::MergeFrom(from.started_at()); - } - if (from.has_duration()) { - mutable_duration()->::google::protobuf::Duration::MergeFrom(from.duration()); - } - if (from.has_created_at()) { - mutable_created_at()->::google::protobuf::Timestamp::MergeFrom(from.created_at()); - } - if (from.has_updated_at()) { - mutable_updated_at()->::google::protobuf::Timestamp::MergeFrom(from.updated_at()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - switch (from.target_metadata_case()) { - case kWorkflowNodeMetadata: { - mutable_workflow_node_metadata()->::flyteidl::admin::WorkflowNodeMetadata::MergeFrom(from.workflow_node_metadata()); - break; - } - case kTaskNodeMetadata: { - mutable_task_node_metadata()->::flyteidl::admin::TaskNodeMetadata::MergeFrom(from.task_node_metadata()); - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } -} - -void NodeExecutionClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionClosure::CopyFrom(const NodeExecutionClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionClosure::IsInitialized() const { - return true; -} - -void NodeExecutionClosure::Swap(NodeExecutionClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionClosure::InternalSwap(NodeExecutionClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - deck_uri_.Swap(&other->deck_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - dynamic_job_spec_uri_.Swap(&other->dynamic_job_spec_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(started_at_, other->started_at_); - swap(duration_, other->duration_); - swap(created_at_, other->created_at_); - swap(updated_at_, other->updated_at_); - swap(phase_, other->phase_); - swap(output_result_, other->output_result_); - swap(target_metadata_, other->target_metadata_); - swap(_oneof_case_[0], other->_oneof_case_[0]); - swap(_oneof_case_[1], other->_oneof_case_[1]); -} - -::google::protobuf::Metadata NodeExecutionClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowNodeMetadata::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowNodeMetadata_default_instance_._instance.get_mutable()->executionid_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class WorkflowNodeMetadata::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& executionid(const WorkflowNodeMetadata* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -WorkflowNodeMetadata::HasBitSetters::executionid(const WorkflowNodeMetadata* msg) { - return *msg->executionid_; -} -void WorkflowNodeMetadata::clear_executionid() { - if (GetArenaNoVirtual() == nullptr && executionid_ != nullptr) { - delete executionid_; - } - executionid_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowNodeMetadata::kExecutionIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowNodeMetadata::WorkflowNodeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowNodeMetadata) -} -WorkflowNodeMetadata::WorkflowNodeMetadata(const WorkflowNodeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_executionid()) { - executionid_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.executionid_); - } else { - executionid_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowNodeMetadata) -} - -void WorkflowNodeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - executionid_ = nullptr; -} - -WorkflowNodeMetadata::~WorkflowNodeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowNodeMetadata) - SharedDtor(); -} - -void WorkflowNodeMetadata::SharedDtor() { - if (this != internal_default_instance()) delete executionid_; -} - -void WorkflowNodeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowNodeMetadata& WorkflowNodeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowNodeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && executionid_ != nullptr) { - delete executionid_; - } - executionid_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowNodeMetadata::_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 executionId = 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_executionid(); - 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 WorkflowNodeMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowNodeMetadata) - 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 executionId = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_executionid())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowNodeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowNodeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowNodeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - if (this->has_executionid()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::executionid(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowNodeMetadata) -} - -::google::protobuf::uint8* WorkflowNodeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - if (this->has_executionid()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::executionid(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowNodeMetadata) - return target; -} - -size_t WorkflowNodeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowNodeMetadata) - 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 executionId = 1; - if (this->has_executionid()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *executionid_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowNodeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowNodeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowNodeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowNodeMetadata) - MergeFrom(*source); - } -} - -void WorkflowNodeMetadata::MergeFrom(const WorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowNodeMetadata) - 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_executionid()) { - mutable_executionid()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.executionid()); - } -} - -void WorkflowNodeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowNodeMetadata::CopyFrom(const WorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowNodeMetadata::IsInitialized() const { - return true; -} - -void WorkflowNodeMetadata::Swap(WorkflowNodeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowNodeMetadata::InternalSwap(WorkflowNodeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(executionid_, other->executionid_); -} - -::google::protobuf::Metadata WorkflowNodeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskNodeMetadata::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskNodeMetadata_default_instance_._instance.get_mutable()->catalog_key_ = const_cast< ::flyteidl::core::CatalogMetadata*>( - ::flyteidl::core::CatalogMetadata::internal_default_instance()); -} -class TaskNodeMetadata::HasBitSetters { - public: - static const ::flyteidl::core::CatalogMetadata& catalog_key(const TaskNodeMetadata* msg); -}; - -const ::flyteidl::core::CatalogMetadata& -TaskNodeMetadata::HasBitSetters::catalog_key(const TaskNodeMetadata* msg) { - return *msg->catalog_key_; -} -void TaskNodeMetadata::clear_catalog_key() { - if (GetArenaNoVirtual() == nullptr && catalog_key_ != nullptr) { - delete catalog_key_; - } - catalog_key_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskNodeMetadata::kCacheStatusFieldNumber; -const int TaskNodeMetadata::kCatalogKeyFieldNumber; -const int TaskNodeMetadata::kCheckpointUriFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskNodeMetadata::TaskNodeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskNodeMetadata) -} -TaskNodeMetadata::TaskNodeMetadata(const TaskNodeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - checkpoint_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.checkpoint_uri().size() > 0) { - checkpoint_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.checkpoint_uri_); - } - if (from.has_catalog_key()) { - catalog_key_ = new ::flyteidl::core::CatalogMetadata(*from.catalog_key_); - } else { - catalog_key_ = nullptr; - } - cache_status_ = from.cache_status_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskNodeMetadata) -} - -void TaskNodeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - checkpoint_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&catalog_key_, 0, static_cast( - reinterpret_cast(&cache_status_) - - reinterpret_cast(&catalog_key_)) + sizeof(cache_status_)); -} - -TaskNodeMetadata::~TaskNodeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskNodeMetadata) - SharedDtor(); -} - -void TaskNodeMetadata::SharedDtor() { - checkpoint_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete catalog_key_; -} - -void TaskNodeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskNodeMetadata& TaskNodeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskNodeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - checkpoint_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && catalog_key_ != nullptr) { - delete catalog_key_; - } - catalog_key_ = nullptr; - cache_status_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskNodeMetadata::_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.CatalogCacheStatus cache_status = 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_cache_status(static_cast<::flyteidl::core::CatalogCacheStatus>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.CatalogMetadata catalog_key = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CatalogMetadata::_InternalParse; - object = msg->mutable_catalog_key(); - 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 checkpoint_uri = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskNodeMetadata.checkpoint_uri"); - object = msg->mutable_checkpoint_uri(); - 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 TaskNodeMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskNodeMetadata) - 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.CatalogCacheStatus cache_status = 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_cache_status(static_cast< ::flyteidl::core::CatalogCacheStatus >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_catalog_key())); - } else { - goto handle_unusual; - } - break; - } - - // string checkpoint_uri = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_checkpoint_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->checkpoint_uri().data(), static_cast(this->checkpoint_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskNodeMetadata.checkpoint_uri")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskNodeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskNodeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskNodeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - if (this->cache_status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->cache_status(), output); - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - if (this->has_catalog_key()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::catalog_key(this), output); - } - - // string checkpoint_uri = 4; - if (this->checkpoint_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->checkpoint_uri().data(), static_cast(this->checkpoint_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskNodeMetadata.checkpoint_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->checkpoint_uri(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskNodeMetadata) -} - -::google::protobuf::uint8* TaskNodeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - if (this->cache_status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->cache_status(), target); - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - if (this->has_catalog_key()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::catalog_key(this), target); - } - - // string checkpoint_uri = 4; - if (this->checkpoint_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->checkpoint_uri().data(), static_cast(this->checkpoint_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskNodeMetadata.checkpoint_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->checkpoint_uri(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskNodeMetadata) - return target; -} - -size_t TaskNodeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskNodeMetadata) - 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 checkpoint_uri = 4; - if (this->checkpoint_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->checkpoint_uri()); - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - if (this->has_catalog_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *catalog_key_); - } - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - if (this->cache_status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->cache_status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskNodeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const TaskNodeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskNodeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskNodeMetadata) - MergeFrom(*source); - } -} - -void TaskNodeMetadata::MergeFrom(const TaskNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.checkpoint_uri().size() > 0) { - - checkpoint_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.checkpoint_uri_); - } - if (from.has_catalog_key()) { - mutable_catalog_key()->::flyteidl::core::CatalogMetadata::MergeFrom(from.catalog_key()); - } - if (from.cache_status() != 0) { - set_cache_status(from.cache_status()); - } -} - -void TaskNodeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskNodeMetadata::CopyFrom(const TaskNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskNodeMetadata::IsInitialized() const { - return true; -} - -void TaskNodeMetadata::Swap(TaskNodeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskNodeMetadata::InternalSwap(TaskNodeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - checkpoint_uri_.Swap(&other->checkpoint_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(catalog_key_, other->catalog_key_); - swap(cache_status_, other->cache_status_); -} - -::google::protobuf::Metadata TaskNodeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DynamicWorkflowNodeMetadata::InitAsDefaultInstance() { - ::flyteidl::admin::_DynamicWorkflowNodeMetadata_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_DynamicWorkflowNodeMetadata_default_instance_._instance.get_mutable()->compiled_workflow_ = const_cast< ::flyteidl::core::CompiledWorkflowClosure*>( - ::flyteidl::core::CompiledWorkflowClosure::internal_default_instance()); -} -class DynamicWorkflowNodeMetadata::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const DynamicWorkflowNodeMetadata* msg); - static const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow(const DynamicWorkflowNodeMetadata* msg); -}; - -const ::flyteidl::core::Identifier& -DynamicWorkflowNodeMetadata::HasBitSetters::id(const DynamicWorkflowNodeMetadata* msg) { - return *msg->id_; -} -const ::flyteidl::core::CompiledWorkflowClosure& -DynamicWorkflowNodeMetadata::HasBitSetters::compiled_workflow(const DynamicWorkflowNodeMetadata* msg) { - return *msg->compiled_workflow_; -} -void DynamicWorkflowNodeMetadata::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void DynamicWorkflowNodeMetadata::clear_compiled_workflow() { - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DynamicWorkflowNodeMetadata::kIdFieldNumber; -const int DynamicWorkflowNodeMetadata::kCompiledWorkflowFieldNumber; -const int DynamicWorkflowNodeMetadata::kDynamicJobSpecUriFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.DynamicWorkflowNodeMetadata) -} -DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata(const DynamicWorkflowNodeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.dynamic_job_spec_uri().size() > 0) { - dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_compiled_workflow()) { - compiled_workflow_ = new ::flyteidl::core::CompiledWorkflowClosure(*from.compiled_workflow_); - } else { - compiled_workflow_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DynamicWorkflowNodeMetadata) -} - -void DynamicWorkflowNodeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&compiled_workflow_) - - reinterpret_cast(&id_)) + sizeof(compiled_workflow_)); -} - -DynamicWorkflowNodeMetadata::~DynamicWorkflowNodeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.admin.DynamicWorkflowNodeMetadata) - SharedDtor(); -} - -void DynamicWorkflowNodeMetadata::SharedDtor() { - dynamic_job_spec_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete compiled_workflow_; -} - -void DynamicWorkflowNodeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DynamicWorkflowNodeMetadata& DynamicWorkflowNodeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void DynamicWorkflowNodeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DynamicWorkflowNodeMetadata::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.CompiledWorkflowClosure compiled_workflow = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CompiledWorkflowClosure::_InternalParse; - object = msg->mutable_compiled_workflow(); - 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 dynamic_job_spec_uri = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); - object = msg->mutable_dynamic_job_spec_uri(); - 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 DynamicWorkflowNodeMetadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_compiled_workflow())); - } else { - goto handle_unusual; - } - break; - } - - // string dynamic_job_spec_uri = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_dynamic_job_spec_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.DynamicWorkflowNodeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.DynamicWorkflowNodeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DynamicWorkflowNodeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - if (this->has_compiled_workflow()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::compiled_workflow(this), output); - } - - // string dynamic_job_spec_uri = 3; - if (this->dynamic_job_spec_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->dynamic_job_spec_uri(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.DynamicWorkflowNodeMetadata) -} - -::google::protobuf::uint8* DynamicWorkflowNodeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - if (this->has_compiled_workflow()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::compiled_workflow(this), target); - } - - // string dynamic_job_spec_uri = 3; - if (this->dynamic_job_spec_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->dynamic_job_spec_uri(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DynamicWorkflowNodeMetadata) - return target; -} - -size_t DynamicWorkflowNodeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - 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 dynamic_job_spec_uri = 3; - if (this->dynamic_job_spec_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->dynamic_job_spec_uri()); - } - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - if (this->has_compiled_workflow()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *compiled_workflow_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DynamicWorkflowNodeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const DynamicWorkflowNodeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DynamicWorkflowNodeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DynamicWorkflowNodeMetadata) - MergeFrom(*source); - } -} - -void DynamicWorkflowNodeMetadata::MergeFrom(const DynamicWorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.dynamic_job_spec_uri().size() > 0) { - - dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_compiled_workflow()) { - mutable_compiled_workflow()->::flyteidl::core::CompiledWorkflowClosure::MergeFrom(from.compiled_workflow()); - } -} - -void DynamicWorkflowNodeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DynamicWorkflowNodeMetadata::CopyFrom(const DynamicWorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DynamicWorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DynamicWorkflowNodeMetadata::IsInitialized() const { - return true; -} - -void DynamicWorkflowNodeMetadata::Swap(DynamicWorkflowNodeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void DynamicWorkflowNodeMetadata::InternalSwap(DynamicWorkflowNodeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - dynamic_job_spec_uri_.Swap(&other->dynamic_job_spec_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(compiled_workflow_, other->compiled_workflow_); -} - -::google::protobuf::Metadata DynamicWorkflowNodeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionGetDataRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecutionGetDataRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); -} -class NodeExecutionGetDataRequest::HasBitSetters { - public: - static const ::flyteidl::core::NodeExecutionIdentifier& id(const NodeExecutionGetDataRequest* msg); -}; - -const ::flyteidl::core::NodeExecutionIdentifier& -NodeExecutionGetDataRequest::HasBitSetters::id(const NodeExecutionGetDataRequest* msg) { - return *msg->id_; -} -void NodeExecutionGetDataRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionGetDataRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionGetDataRequest::NodeExecutionGetDataRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionGetDataRequest) -} -NodeExecutionGetDataRequest::NodeExecutionGetDataRequest(const NodeExecutionGetDataRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionGetDataRequest) -} - -void NodeExecutionGetDataRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionGetDataRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - id_ = nullptr; -} - -NodeExecutionGetDataRequest::~NodeExecutionGetDataRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionGetDataRequest) - SharedDtor(); -} - -void NodeExecutionGetDataRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void NodeExecutionGetDataRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionGetDataRequest& NodeExecutionGetDataRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionGetDataRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionGetDataRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionGetDataRequest::_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.NodeExecutionIdentifier 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::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_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 NodeExecutionGetDataRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionGetDataRequest) - 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.NodeExecutionIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.NodeExecutionGetDataRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionGetDataRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionGetDataRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.NodeExecutionGetDataRequest) -} - -::google::protobuf::uint8* NodeExecutionGetDataRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.NodeExecutionGetDataRequest) - return target; -} - -size_t NodeExecutionGetDataRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionGetDataRequest) - 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.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionGetDataRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionGetDataRequest) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionGetDataRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionGetDataRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionGetDataRequest) - MergeFrom(*source); - } -} - -void NodeExecutionGetDataRequest::MergeFrom(const NodeExecutionGetDataRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionGetDataRequest) - 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_id()) { - mutable_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.id()); - } -} - -void NodeExecutionGetDataRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionGetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionGetDataRequest::CopyFrom(const NodeExecutionGetDataRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionGetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionGetDataRequest::IsInitialized() const { - return true; -} - -void NodeExecutionGetDataRequest::Swap(NodeExecutionGetDataRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionGetDataRequest::InternalSwap(NodeExecutionGetDataRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata NodeExecutionGetDataRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionGetDataResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::admin::UrlBlob*>( - ::flyteidl::admin::UrlBlob::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::admin::UrlBlob*>( - ::flyteidl::admin::UrlBlob::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->full_inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->full_outputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->dynamic_workflow_ = const_cast< ::flyteidl::admin::DynamicWorkflowNodeMetadata*>( - ::flyteidl::admin::DynamicWorkflowNodeMetadata::internal_default_instance()); - ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->flyte_urls_ = const_cast< ::flyteidl::admin::FlyteURLs*>( - ::flyteidl::admin::FlyteURLs::internal_default_instance()); -} -class NodeExecutionGetDataResponse::HasBitSetters { - public: - static const ::flyteidl::admin::UrlBlob& inputs(const NodeExecutionGetDataResponse* msg); - static const ::flyteidl::admin::UrlBlob& outputs(const NodeExecutionGetDataResponse* msg); - static const ::flyteidl::core::LiteralMap& full_inputs(const NodeExecutionGetDataResponse* msg); - static const ::flyteidl::core::LiteralMap& full_outputs(const NodeExecutionGetDataResponse* msg); - static const ::flyteidl::admin::DynamicWorkflowNodeMetadata& dynamic_workflow(const NodeExecutionGetDataResponse* msg); - static const ::flyteidl::admin::FlyteURLs& flyte_urls(const NodeExecutionGetDataResponse* msg); -}; - -const ::flyteidl::admin::UrlBlob& -NodeExecutionGetDataResponse::HasBitSetters::inputs(const NodeExecutionGetDataResponse* msg) { - return *msg->inputs_; -} -const ::flyteidl::admin::UrlBlob& -NodeExecutionGetDataResponse::HasBitSetters::outputs(const NodeExecutionGetDataResponse* msg) { - return *msg->outputs_; -} -const ::flyteidl::core::LiteralMap& -NodeExecutionGetDataResponse::HasBitSetters::full_inputs(const NodeExecutionGetDataResponse* msg) { - return *msg->full_inputs_; -} -const ::flyteidl::core::LiteralMap& -NodeExecutionGetDataResponse::HasBitSetters::full_outputs(const NodeExecutionGetDataResponse* msg) { - return *msg->full_outputs_; -} -const ::flyteidl::admin::DynamicWorkflowNodeMetadata& -NodeExecutionGetDataResponse::HasBitSetters::dynamic_workflow(const NodeExecutionGetDataResponse* msg) { - return *msg->dynamic_workflow_; -} -const ::flyteidl::admin::FlyteURLs& -NodeExecutionGetDataResponse::HasBitSetters::flyte_urls(const NodeExecutionGetDataResponse* msg) { - return *msg->flyte_urls_; -} -void NodeExecutionGetDataResponse::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -void NodeExecutionGetDataResponse::clear_outputs() { - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; -} -void NodeExecutionGetDataResponse::clear_full_inputs() { - if (GetArenaNoVirtual() == nullptr && full_inputs_ != nullptr) { - delete full_inputs_; - } - full_inputs_ = nullptr; -} -void NodeExecutionGetDataResponse::clear_full_outputs() { - if (GetArenaNoVirtual() == nullptr && full_outputs_ != nullptr) { - delete full_outputs_; - } - full_outputs_ = nullptr; -} -void NodeExecutionGetDataResponse::clear_flyte_urls() { - if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { - delete flyte_urls_; - } - flyte_urls_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionGetDataResponse::kInputsFieldNumber; -const int NodeExecutionGetDataResponse::kOutputsFieldNumber; -const int NodeExecutionGetDataResponse::kFullInputsFieldNumber; -const int NodeExecutionGetDataResponse::kFullOutputsFieldNumber; -const int NodeExecutionGetDataResponse::kDynamicWorkflowFieldNumber; -const int NodeExecutionGetDataResponse::kFlyteUrlsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionGetDataResponse::NodeExecutionGetDataResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.NodeExecutionGetDataResponse) -} -NodeExecutionGetDataResponse::NodeExecutionGetDataResponse(const NodeExecutionGetDataResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_inputs()) { - inputs_ = new ::flyteidl::admin::UrlBlob(*from.inputs_); - } else { - inputs_ = nullptr; - } - if (from.has_outputs()) { - outputs_ = new ::flyteidl::admin::UrlBlob(*from.outputs_); - } else { - outputs_ = nullptr; - } - if (from.has_full_inputs()) { - full_inputs_ = new ::flyteidl::core::LiteralMap(*from.full_inputs_); - } else { - full_inputs_ = nullptr; - } - if (from.has_full_outputs()) { - full_outputs_ = new ::flyteidl::core::LiteralMap(*from.full_outputs_); - } else { - full_outputs_ = nullptr; - } - if (from.has_dynamic_workflow()) { - dynamic_workflow_ = new ::flyteidl::admin::DynamicWorkflowNodeMetadata(*from.dynamic_workflow_); - } else { - dynamic_workflow_ = nullptr; - } - if (from.has_flyte_urls()) { - flyte_urls_ = new ::flyteidl::admin::FlyteURLs(*from.flyte_urls_); - } else { - flyte_urls_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionGetDataResponse) -} - -void NodeExecutionGetDataResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - ::memset(&inputs_, 0, static_cast( - reinterpret_cast(&flyte_urls_) - - reinterpret_cast(&inputs_)) + sizeof(flyte_urls_)); -} - -NodeExecutionGetDataResponse::~NodeExecutionGetDataResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.NodeExecutionGetDataResponse) - SharedDtor(); -} - -void NodeExecutionGetDataResponse::SharedDtor() { - if (this != internal_default_instance()) delete inputs_; - if (this != internal_default_instance()) delete outputs_; - if (this != internal_default_instance()) delete full_inputs_; - if (this != internal_default_instance()) delete full_outputs_; - if (this != internal_default_instance()) delete dynamic_workflow_; - if (this != internal_default_instance()) delete flyte_urls_; -} - -void NodeExecutionGetDataResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionGetDataResponse& NodeExecutionGetDataResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionGetDataResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.NodeExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && full_inputs_ != nullptr) { - delete full_inputs_; - } - full_inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && full_outputs_ != nullptr) { - delete full_outputs_; - } - full_outputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && dynamic_workflow_ != nullptr) { - delete dynamic_workflow_; - } - dynamic_workflow_ = nullptr; - if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { - delete flyte_urls_; - } - flyte_urls_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionGetDataResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::UrlBlob::_InternalParse; - object = msg->mutable_inputs(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::UrlBlob::_InternalParse; - object = msg->mutable_outputs(); - 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.LiteralMap full_inputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_full_inputs(); - 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.LiteralMap full_outputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_full_outputs(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::DynamicWorkflowNodeMetadata::_InternalParse; - object = msg->mutable_dynamic_workflow(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.FlyteURLs flyte_urls = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 138) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::FlyteURLs::_InternalParse; - object = msg->mutable_flyte_urls(); - 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 NodeExecutionGetDataResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.NodeExecutionGetDataResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_full_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_full_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dynamic_workflow())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (138 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_flyte_urls())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.NodeExecutionGetDataResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.NodeExecutionGetDataResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionGetDataResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.NodeExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::inputs(this), output); - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - if (this->has_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::outputs(this), output); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::full_inputs(this), output); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::full_outputs(this), output); - } - - // .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - if (this->has_dynamic_workflow()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 16, HasBitSetters::dynamic_workflow(this), output); - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 17; - if (this->has_flyte_urls()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 17, HasBitSetters::flyte_urls(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.NodeExecutionGetDataResponse) -} - -::google::protobuf::uint8* NodeExecutionGetDataResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.NodeExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::inputs(this), target); - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - if (this->has_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::outputs(this), target); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::full_inputs(this), target); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::full_outputs(this), target); - } - - // .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - if (this->has_dynamic_workflow()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 16, HasBitSetters::dynamic_workflow(this), target); - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 17; - if (this->has_flyte_urls()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 17, HasBitSetters::flyte_urls(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.NodeExecutionGetDataResponse) - return target; -} - -size_t NodeExecutionGetDataResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.NodeExecutionGetDataResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - if (this->has_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *outputs_); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *full_inputs_); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *full_outputs_); - } - - // .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - if (this->has_dynamic_workflow()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dynamic_workflow_); - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 17; - if (this->has_flyte_urls()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *flyte_urls_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionGetDataResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.NodeExecutionGetDataResponse) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionGetDataResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.NodeExecutionGetDataResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.NodeExecutionGetDataResponse) - MergeFrom(*source); - } -} - -void NodeExecutionGetDataResponse::MergeFrom(const NodeExecutionGetDataResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.NodeExecutionGetDataResponse) - 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_inputs()) { - mutable_inputs()->::flyteidl::admin::UrlBlob::MergeFrom(from.inputs()); - } - if (from.has_outputs()) { - mutable_outputs()->::flyteidl::admin::UrlBlob::MergeFrom(from.outputs()); - } - if (from.has_full_inputs()) { - mutable_full_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.full_inputs()); - } - if (from.has_full_outputs()) { - mutable_full_outputs()->::flyteidl::core::LiteralMap::MergeFrom(from.full_outputs()); - } - if (from.has_dynamic_workflow()) { - mutable_dynamic_workflow()->::flyteidl::admin::DynamicWorkflowNodeMetadata::MergeFrom(from.dynamic_workflow()); - } - if (from.has_flyte_urls()) { - mutable_flyte_urls()->::flyteidl::admin::FlyteURLs::MergeFrom(from.flyte_urls()); - } -} - -void NodeExecutionGetDataResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.NodeExecutionGetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionGetDataResponse::CopyFrom(const NodeExecutionGetDataResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.NodeExecutionGetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionGetDataResponse::IsInitialized() const { - return true; -} - -void NodeExecutionGetDataResponse::Swap(NodeExecutionGetDataResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionGetDataResponse::InternalSwap(NodeExecutionGetDataResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(inputs_, other->inputs_); - swap(outputs_, other->outputs_); - swap(full_inputs_, other->full_inputs_); - swap(full_outputs_, other->full_outputs_); - swap(dynamic_workflow_, other->dynamic_workflow_); - swap(flyte_urls_, other->flyte_urls_); -} - -::google::protobuf::Metadata NodeExecutionGetDataResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetDynamicNodeWorkflowRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_GetDynamicNodeWorkflowRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); -} -class GetDynamicNodeWorkflowRequest::HasBitSetters { - public: - static const ::flyteidl::core::NodeExecutionIdentifier& id(const GetDynamicNodeWorkflowRequest* msg); -}; - -const ::flyteidl::core::NodeExecutionIdentifier& -GetDynamicNodeWorkflowRequest::HasBitSetters::id(const GetDynamicNodeWorkflowRequest* msg) { - return *msg->id_; -} -void GetDynamicNodeWorkflowRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetDynamicNodeWorkflowRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetDynamicNodeWorkflowRequest::GetDynamicNodeWorkflowRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetDynamicNodeWorkflowRequest) -} -GetDynamicNodeWorkflowRequest::GetDynamicNodeWorkflowRequest(const GetDynamicNodeWorkflowRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetDynamicNodeWorkflowRequest) -} - -void GetDynamicNodeWorkflowRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetDynamicNodeWorkflowRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - id_ = nullptr; -} - -GetDynamicNodeWorkflowRequest::~GetDynamicNodeWorkflowRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetDynamicNodeWorkflowRequest) - SharedDtor(); -} - -void GetDynamicNodeWorkflowRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void GetDynamicNodeWorkflowRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetDynamicNodeWorkflowRequest& GetDynamicNodeWorkflowRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetDynamicNodeWorkflowRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void GetDynamicNodeWorkflowRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetDynamicNodeWorkflowRequest::_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.NodeExecutionIdentifier 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::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_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 GetDynamicNodeWorkflowRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - 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.NodeExecutionIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.GetDynamicNodeWorkflowRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetDynamicNodeWorkflowRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetDynamicNodeWorkflowRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.GetDynamicNodeWorkflowRequest) -} - -::google::protobuf::uint8* GetDynamicNodeWorkflowRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.GetDynamicNodeWorkflowRequest) - return target; -} - -size_t GetDynamicNodeWorkflowRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - 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.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetDynamicNodeWorkflowRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetDynamicNodeWorkflowRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetDynamicNodeWorkflowRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetDynamicNodeWorkflowRequest) - MergeFrom(*source); - } -} - -void GetDynamicNodeWorkflowRequest::MergeFrom(const GetDynamicNodeWorkflowRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - 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_id()) { - mutable_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.id()); - } -} - -void GetDynamicNodeWorkflowRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetDynamicNodeWorkflowRequest::CopyFrom(const GetDynamicNodeWorkflowRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetDynamicNodeWorkflowRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetDynamicNodeWorkflowRequest::IsInitialized() const { - return true; -} - -void GetDynamicNodeWorkflowRequest::Swap(GetDynamicNodeWorkflowRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetDynamicNodeWorkflowRequest::InternalSwap(GetDynamicNodeWorkflowRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata GetDynamicNodeWorkflowRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DynamicNodeWorkflowResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_DynamicNodeWorkflowResponse_default_instance_._instance.get_mutable()->compiled_workflow_ = const_cast< ::flyteidl::core::CompiledWorkflowClosure*>( - ::flyteidl::core::CompiledWorkflowClosure::internal_default_instance()); -} -class DynamicNodeWorkflowResponse::HasBitSetters { - public: - static const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow(const DynamicNodeWorkflowResponse* msg); -}; - -const ::flyteidl::core::CompiledWorkflowClosure& -DynamicNodeWorkflowResponse::HasBitSetters::compiled_workflow(const DynamicNodeWorkflowResponse* msg) { - return *msg->compiled_workflow_; -} -void DynamicNodeWorkflowResponse::clear_compiled_workflow() { - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DynamicNodeWorkflowResponse::kCompiledWorkflowFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DynamicNodeWorkflowResponse::DynamicNodeWorkflowResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.DynamicNodeWorkflowResponse) -} -DynamicNodeWorkflowResponse::DynamicNodeWorkflowResponse(const DynamicNodeWorkflowResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_compiled_workflow()) { - compiled_workflow_ = new ::flyteidl::core::CompiledWorkflowClosure(*from.compiled_workflow_); - } else { - compiled_workflow_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DynamicNodeWorkflowResponse) -} - -void DynamicNodeWorkflowResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DynamicNodeWorkflowResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - compiled_workflow_ = nullptr; -} - -DynamicNodeWorkflowResponse::~DynamicNodeWorkflowResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.DynamicNodeWorkflowResponse) - SharedDtor(); -} - -void DynamicNodeWorkflowResponse::SharedDtor() { - if (this != internal_default_instance()) delete compiled_workflow_; -} - -void DynamicNodeWorkflowResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DynamicNodeWorkflowResponse& DynamicNodeWorkflowResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DynamicNodeWorkflowResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void DynamicNodeWorkflowResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DynamicNodeWorkflowResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DynamicNodeWorkflowResponse::_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.CompiledWorkflowClosure compiled_workflow = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CompiledWorkflowClosure::_InternalParse; - object = msg->mutable_compiled_workflow(); - 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 DynamicNodeWorkflowResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.DynamicNodeWorkflowResponse) - 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.CompiledWorkflowClosure compiled_workflow = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_compiled_workflow())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.DynamicNodeWorkflowResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.DynamicNodeWorkflowResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DynamicNodeWorkflowResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.DynamicNodeWorkflowResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - if (this->has_compiled_workflow()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::compiled_workflow(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.DynamicNodeWorkflowResponse) -} - -::google::protobuf::uint8* DynamicNodeWorkflowResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DynamicNodeWorkflowResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - if (this->has_compiled_workflow()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::compiled_workflow(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DynamicNodeWorkflowResponse) - return target; -} - -size_t DynamicNodeWorkflowResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DynamicNodeWorkflowResponse) - 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.CompiledWorkflowClosure compiled_workflow = 1; - if (this->has_compiled_workflow()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *compiled_workflow_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DynamicNodeWorkflowResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DynamicNodeWorkflowResponse) - GOOGLE_DCHECK_NE(&from, this); - const DynamicNodeWorkflowResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DynamicNodeWorkflowResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DynamicNodeWorkflowResponse) - MergeFrom(*source); - } -} - -void DynamicNodeWorkflowResponse::MergeFrom(const DynamicNodeWorkflowResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DynamicNodeWorkflowResponse) - 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_compiled_workflow()) { - mutable_compiled_workflow()->::flyteidl::core::CompiledWorkflowClosure::MergeFrom(from.compiled_workflow()); - } -} - -void DynamicNodeWorkflowResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DynamicNodeWorkflowResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DynamicNodeWorkflowResponse::CopyFrom(const DynamicNodeWorkflowResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DynamicNodeWorkflowResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DynamicNodeWorkflowResponse::IsInitialized() const { - return true; -} - -void DynamicNodeWorkflowResponse::Swap(DynamicNodeWorkflowResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void DynamicNodeWorkflowResponse::InternalSwap(DynamicNodeWorkflowResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(compiled_workflow_, other->compiled_workflow_); -} - -::google::protobuf::Metadata DynamicNodeWorkflowResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionForTaskListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionForTaskListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionForTaskListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecution* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionMetaData* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionMetaData >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionMetaData >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionList* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionClosure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowNodeMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowNodeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowNodeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskNodeMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskNodeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskNodeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::DynamicWorkflowNodeMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::DynamicWorkflowNodeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::DynamicWorkflowNodeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionGetDataRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionGetDataRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionGetDataRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NodeExecutionGetDataResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::NodeExecutionGetDataResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NodeExecutionGetDataResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetDynamicNodeWorkflowRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::GetDynamicNodeWorkflowRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetDynamicNodeWorkflowRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::DynamicNodeWorkflowResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::DynamicNodeWorkflowResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::DynamicNodeWorkflowResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.h deleted file mode 100644 index 15e691830c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.h +++ /dev/null @@ -1,4524 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/node_execution.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fnode_5fexecution_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fnode_5fexecution_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/admin/common.pb.h" -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/catalog.pb.h" -#include "flyteidl/core/compiler.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/literals.pb.h" -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fnode_5fexecution_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[14] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto(); -namespace flyteidl { -namespace admin { -class DynamicNodeWorkflowResponse; -class DynamicNodeWorkflowResponseDefaultTypeInternal; -extern DynamicNodeWorkflowResponseDefaultTypeInternal _DynamicNodeWorkflowResponse_default_instance_; -class DynamicWorkflowNodeMetadata; -class DynamicWorkflowNodeMetadataDefaultTypeInternal; -extern DynamicWorkflowNodeMetadataDefaultTypeInternal _DynamicWorkflowNodeMetadata_default_instance_; -class GetDynamicNodeWorkflowRequest; -class GetDynamicNodeWorkflowRequestDefaultTypeInternal; -extern GetDynamicNodeWorkflowRequestDefaultTypeInternal _GetDynamicNodeWorkflowRequest_default_instance_; -class NodeExecution; -class NodeExecutionDefaultTypeInternal; -extern NodeExecutionDefaultTypeInternal _NodeExecution_default_instance_; -class NodeExecutionClosure; -class NodeExecutionClosureDefaultTypeInternal; -extern NodeExecutionClosureDefaultTypeInternal _NodeExecutionClosure_default_instance_; -class NodeExecutionForTaskListRequest; -class NodeExecutionForTaskListRequestDefaultTypeInternal; -extern NodeExecutionForTaskListRequestDefaultTypeInternal _NodeExecutionForTaskListRequest_default_instance_; -class NodeExecutionGetDataRequest; -class NodeExecutionGetDataRequestDefaultTypeInternal; -extern NodeExecutionGetDataRequestDefaultTypeInternal _NodeExecutionGetDataRequest_default_instance_; -class NodeExecutionGetDataResponse; -class NodeExecutionGetDataResponseDefaultTypeInternal; -extern NodeExecutionGetDataResponseDefaultTypeInternal _NodeExecutionGetDataResponse_default_instance_; -class NodeExecutionGetRequest; -class NodeExecutionGetRequestDefaultTypeInternal; -extern NodeExecutionGetRequestDefaultTypeInternal _NodeExecutionGetRequest_default_instance_; -class NodeExecutionList; -class NodeExecutionListDefaultTypeInternal; -extern NodeExecutionListDefaultTypeInternal _NodeExecutionList_default_instance_; -class NodeExecutionListRequest; -class NodeExecutionListRequestDefaultTypeInternal; -extern NodeExecutionListRequestDefaultTypeInternal _NodeExecutionListRequest_default_instance_; -class NodeExecutionMetaData; -class NodeExecutionMetaDataDefaultTypeInternal; -extern NodeExecutionMetaDataDefaultTypeInternal _NodeExecutionMetaData_default_instance_; -class TaskNodeMetadata; -class TaskNodeMetadataDefaultTypeInternal; -extern TaskNodeMetadataDefaultTypeInternal _TaskNodeMetadata_default_instance_; -class WorkflowNodeMetadata; -class WorkflowNodeMetadataDefaultTypeInternal; -extern WorkflowNodeMetadataDefaultTypeInternal _WorkflowNodeMetadata_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::DynamicNodeWorkflowResponse* Arena::CreateMaybeMessage<::flyteidl::admin::DynamicNodeWorkflowResponse>(Arena*); -template<> ::flyteidl::admin::DynamicWorkflowNodeMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::DynamicWorkflowNodeMetadata>(Arena*); -template<> ::flyteidl::admin::GetDynamicNodeWorkflowRequest* Arena::CreateMaybeMessage<::flyteidl::admin::GetDynamicNodeWorkflowRequest>(Arena*); -template<> ::flyteidl::admin::NodeExecution* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecution>(Arena*); -template<> ::flyteidl::admin::NodeExecutionClosure* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionClosure>(Arena*); -template<> ::flyteidl::admin::NodeExecutionForTaskListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionForTaskListRequest>(Arena*); -template<> ::flyteidl::admin::NodeExecutionGetDataRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionGetDataRequest>(Arena*); -template<> ::flyteidl::admin::NodeExecutionGetDataResponse* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionGetDataResponse>(Arena*); -template<> ::flyteidl::admin::NodeExecutionGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionGetRequest>(Arena*); -template<> ::flyteidl::admin::NodeExecutionList* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionList>(Arena*); -template<> ::flyteidl::admin::NodeExecutionListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionListRequest>(Arena*); -template<> ::flyteidl::admin::NodeExecutionMetaData* Arena::CreateMaybeMessage<::flyteidl::admin::NodeExecutionMetaData>(Arena*); -template<> ::flyteidl::admin::TaskNodeMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::TaskNodeMetadata>(Arena*); -template<> ::flyteidl::admin::WorkflowNodeMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowNodeMetadata>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class NodeExecutionGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionGetRequest) */ { - public: - NodeExecutionGetRequest(); - virtual ~NodeExecutionGetRequest(); - - NodeExecutionGetRequest(const NodeExecutionGetRequest& from); - - inline NodeExecutionGetRequest& operator=(const NodeExecutionGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionGetRequest(NodeExecutionGetRequest&& from) noexcept - : NodeExecutionGetRequest() { - *this = ::std::move(from); - } - - inline NodeExecutionGetRequest& operator=(NodeExecutionGetRequest&& 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 NodeExecutionGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionGetRequest* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(NodeExecutionGetRequest* other); - friend void swap(NodeExecutionGetRequest& a, NodeExecutionGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionGetRequest* 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 NodeExecutionGetRequest& from); - void MergeFrom(const NodeExecutionGetRequest& 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(NodeExecutionGetRequest* 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.NodeExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::NodeExecutionIdentifier& id() const; - ::flyteidl::core::NodeExecutionIdentifier* release_id(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::NodeExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionListRequest) */ { - public: - NodeExecutionListRequest(); - virtual ~NodeExecutionListRequest(); - - NodeExecutionListRequest(const NodeExecutionListRequest& from); - - inline NodeExecutionListRequest& operator=(const NodeExecutionListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionListRequest(NodeExecutionListRequest&& from) noexcept - : NodeExecutionListRequest() { - *this = ::std::move(from); - } - - inline NodeExecutionListRequest& operator=(NodeExecutionListRequest&& 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 NodeExecutionListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionListRequest* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(NodeExecutionListRequest* other); - friend void swap(NodeExecutionListRequest& a, NodeExecutionListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionListRequest* 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 NodeExecutionListRequest& from); - void MergeFrom(const NodeExecutionListRequest& 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(NodeExecutionListRequest* 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 token = 3; - void clear_token(); - static const int kTokenFieldNumber = 3; - 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); - - // string filters = 4; - void clear_filters(); - static const int kFiltersFieldNumber = 4; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // string unique_parent_id = 6; - void clear_unique_parent_id(); - static const int kUniqueParentIdFieldNumber = 6; - const ::std::string& unique_parent_id() const; - void set_unique_parent_id(const ::std::string& value); - #if LANG_CXX11 - void set_unique_parent_id(::std::string&& value); - #endif - void set_unique_parent_id(const char* value); - void set_unique_parent_id(const char* value, size_t size); - ::std::string* mutable_unique_parent_id(); - ::std::string* release_unique_parent_id(); - void set_allocated_unique_parent_id(::std::string* unique_parent_id); - - // .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); - - // .flyteidl.admin.Sort sort_by = 5; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 5; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 2; - void clear_limit(); - static const int kLimitFieldNumber = 2; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::google::protobuf::internal::ArenaStringPtr unique_parent_id_; - ::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionForTaskListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionForTaskListRequest) */ { - public: - NodeExecutionForTaskListRequest(); - virtual ~NodeExecutionForTaskListRequest(); - - NodeExecutionForTaskListRequest(const NodeExecutionForTaskListRequest& from); - - inline NodeExecutionForTaskListRequest& operator=(const NodeExecutionForTaskListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionForTaskListRequest(NodeExecutionForTaskListRequest&& from) noexcept - : NodeExecutionForTaskListRequest() { - *this = ::std::move(from); - } - - inline NodeExecutionForTaskListRequest& operator=(NodeExecutionForTaskListRequest&& 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 NodeExecutionForTaskListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionForTaskListRequest* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionForTaskListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(NodeExecutionForTaskListRequest* other); - friend void swap(NodeExecutionForTaskListRequest& a, NodeExecutionForTaskListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionForTaskListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionForTaskListRequest* 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 NodeExecutionForTaskListRequest& from); - void MergeFrom(const NodeExecutionForTaskListRequest& 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(NodeExecutionForTaskListRequest* 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 token = 3; - void clear_token(); - static const int kTokenFieldNumber = 3; - 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); - - // string filters = 4; - void clear_filters(); - static const int kFiltersFieldNumber = 4; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // .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); - - // .flyteidl.admin.Sort sort_by = 5; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 5; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 2; - void clear_limit(); - static const int kLimitFieldNumber = 2; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionForTaskListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::flyteidl::core::TaskExecutionIdentifier* task_execution_id_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecution) */ { - public: - NodeExecution(); - virtual ~NodeExecution(); - - NodeExecution(const NodeExecution& from); - - inline NodeExecution& operator=(const NodeExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecution(NodeExecution&& from) noexcept - : NodeExecution() { - *this = ::std::move(from); - } - - inline NodeExecution& operator=(NodeExecution&& 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 NodeExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecution* internal_default_instance() { - return reinterpret_cast( - &_NodeExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(NodeExecution* other); - friend void swap(NodeExecution& a, NodeExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecution* 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 NodeExecution& from); - void MergeFrom(const NodeExecution& 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(NodeExecution* 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 input_uri = 2; - void clear_input_uri(); - static const int kInputUriFieldNumber = 2; - const ::std::string& input_uri() const; - void set_input_uri(const ::std::string& value); - #if LANG_CXX11 - void set_input_uri(::std::string&& value); - #endif - void set_input_uri(const char* value); - void set_input_uri(const char* value, size_t size); - ::std::string* mutable_input_uri(); - ::std::string* release_input_uri(); - void set_allocated_input_uri(::std::string* input_uri); - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::NodeExecutionIdentifier& id() const; - ::flyteidl::core::NodeExecutionIdentifier* release_id(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id); - - // .flyteidl.admin.NodeExecutionClosure closure = 3; - bool has_closure() const; - void clear_closure(); - static const int kClosureFieldNumber = 3; - const ::flyteidl::admin::NodeExecutionClosure& closure() const; - ::flyteidl::admin::NodeExecutionClosure* release_closure(); - ::flyteidl::admin::NodeExecutionClosure* mutable_closure(); - void set_allocated_closure(::flyteidl::admin::NodeExecutionClosure* closure); - - // .flyteidl.admin.NodeExecutionMetaData metadata = 4; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 4; - const ::flyteidl::admin::NodeExecutionMetaData& metadata() const; - ::flyteidl::admin::NodeExecutionMetaData* release_metadata(); - ::flyteidl::admin::NodeExecutionMetaData* mutable_metadata(); - void set_allocated_metadata(::flyteidl::admin::NodeExecutionMetaData* metadata); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr input_uri_; - ::flyteidl::core::NodeExecutionIdentifier* id_; - ::flyteidl::admin::NodeExecutionClosure* closure_; - ::flyteidl::admin::NodeExecutionMetaData* metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionMetaData final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionMetaData) */ { - public: - NodeExecutionMetaData(); - virtual ~NodeExecutionMetaData(); - - NodeExecutionMetaData(const NodeExecutionMetaData& from); - - inline NodeExecutionMetaData& operator=(const NodeExecutionMetaData& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionMetaData(NodeExecutionMetaData&& from) noexcept - : NodeExecutionMetaData() { - *this = ::std::move(from); - } - - inline NodeExecutionMetaData& operator=(NodeExecutionMetaData&& 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 NodeExecutionMetaData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionMetaData* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionMetaData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(NodeExecutionMetaData* other); - friend void swap(NodeExecutionMetaData& a, NodeExecutionMetaData& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionMetaData* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionMetaData* 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 NodeExecutionMetaData& from); - void MergeFrom(const NodeExecutionMetaData& 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(NodeExecutionMetaData* 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 retry_group = 1; - void clear_retry_group(); - static const int kRetryGroupFieldNumber = 1; - const ::std::string& retry_group() const; - void set_retry_group(const ::std::string& value); - #if LANG_CXX11 - void set_retry_group(::std::string&& value); - #endif - void set_retry_group(const char* value); - void set_retry_group(const char* value, size_t size); - ::std::string* mutable_retry_group(); - ::std::string* release_retry_group(); - void set_allocated_retry_group(::std::string* retry_group); - - // string spec_node_id = 3; - void clear_spec_node_id(); - static const int kSpecNodeIdFieldNumber = 3; - const ::std::string& spec_node_id() const; - void set_spec_node_id(const ::std::string& value); - #if LANG_CXX11 - void set_spec_node_id(::std::string&& value); - #endif - void set_spec_node_id(const char* value); - void set_spec_node_id(const char* value, size_t size); - ::std::string* mutable_spec_node_id(); - ::std::string* release_spec_node_id(); - void set_allocated_spec_node_id(::std::string* spec_node_id); - - // bool is_parent_node = 2; - void clear_is_parent_node(); - static const int kIsParentNodeFieldNumber = 2; - bool is_parent_node() const; - void set_is_parent_node(bool value); - - // bool is_dynamic = 4; - void clear_is_dynamic(); - static const int kIsDynamicFieldNumber = 4; - bool is_dynamic() const; - void set_is_dynamic(bool value); - - // bool is_array = 5; - void clear_is_array(); - static const int kIsArrayFieldNumber = 5; - bool is_array() const; - void set_is_array(bool value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionMetaData) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr retry_group_; - ::google::protobuf::internal::ArenaStringPtr spec_node_id_; - bool is_parent_node_; - bool is_dynamic_; - bool is_array_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionList) */ { - public: - NodeExecutionList(); - virtual ~NodeExecutionList(); - - NodeExecutionList(const NodeExecutionList& from); - - inline NodeExecutionList& operator=(const NodeExecutionList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionList(NodeExecutionList&& from) noexcept - : NodeExecutionList() { - *this = ::std::move(from); - } - - inline NodeExecutionList& operator=(NodeExecutionList&& 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 NodeExecutionList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionList* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(NodeExecutionList* other); - friend void swap(NodeExecutionList& a, NodeExecutionList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionList* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionList* 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 NodeExecutionList& from); - void MergeFrom(const NodeExecutionList& 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(NodeExecutionList* 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.admin.NodeExecution node_executions = 1; - int node_executions_size() const; - void clear_node_executions(); - static const int kNodeExecutionsFieldNumber = 1; - ::flyteidl::admin::NodeExecution* mutable_node_executions(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NodeExecution >* - mutable_node_executions(); - const ::flyteidl::admin::NodeExecution& node_executions(int index) const; - ::flyteidl::admin::NodeExecution* add_node_executions(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NodeExecution >& - node_executions() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NodeExecution > node_executions_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionClosure) */ { - public: - NodeExecutionClosure(); - virtual ~NodeExecutionClosure(); - - NodeExecutionClosure(const NodeExecutionClosure& from); - - inline NodeExecutionClosure& operator=(const NodeExecutionClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionClosure(NodeExecutionClosure&& from) noexcept - : NodeExecutionClosure() { - *this = ::std::move(from); - } - - inline NodeExecutionClosure& operator=(NodeExecutionClosure&& 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 NodeExecutionClosure& default_instance(); - - enum OutputResultCase { - kOutputUri = 1, - kError = 2, - kOutputData = 10, - OUTPUT_RESULT_NOT_SET = 0, - }; - - enum TargetMetadataCase { - kWorkflowNodeMetadata = 8, - kTaskNodeMetadata = 9, - TARGET_METADATA_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionClosure* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(NodeExecutionClosure* other); - friend void swap(NodeExecutionClosure& a, NodeExecutionClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionClosure* 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 NodeExecutionClosure& from); - void MergeFrom(const NodeExecutionClosure& 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(NodeExecutionClosure* 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 deck_uri = 11; - void clear_deck_uri(); - static const int kDeckUriFieldNumber = 11; - const ::std::string& deck_uri() const; - void set_deck_uri(const ::std::string& value); - #if LANG_CXX11 - void set_deck_uri(::std::string&& value); - #endif - void set_deck_uri(const char* value); - void set_deck_uri(const char* value, size_t size); - ::std::string* mutable_deck_uri(); - ::std::string* release_deck_uri(); - void set_allocated_deck_uri(::std::string* deck_uri); - - // string dynamic_job_spec_uri = 12; - void clear_dynamic_job_spec_uri(); - static const int kDynamicJobSpecUriFieldNumber = 12; - const ::std::string& dynamic_job_spec_uri() const; - void set_dynamic_job_spec_uri(const ::std::string& value); - #if LANG_CXX11 - void set_dynamic_job_spec_uri(::std::string&& value); - #endif - void set_dynamic_job_spec_uri(const char* value); - void set_dynamic_job_spec_uri(const char* value, size_t size); - ::std::string* mutable_dynamic_job_spec_uri(); - ::std::string* release_dynamic_job_spec_uri(); - void set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri); - - // .google.protobuf.Timestamp started_at = 4; - bool has_started_at() const; - void clear_started_at(); - static const int kStartedAtFieldNumber = 4; - const ::google::protobuf::Timestamp& started_at() const; - ::google::protobuf::Timestamp* release_started_at(); - ::google::protobuf::Timestamp* mutable_started_at(); - void set_allocated_started_at(::google::protobuf::Timestamp* started_at); - - // .google.protobuf.Duration duration = 5; - bool has_duration() const; - void clear_duration(); - static const int kDurationFieldNumber = 5; - const ::google::protobuf::Duration& duration() const; - ::google::protobuf::Duration* release_duration(); - ::google::protobuf::Duration* mutable_duration(); - void set_allocated_duration(::google::protobuf::Duration* duration); - - // .google.protobuf.Timestamp created_at = 6; - bool has_created_at() const; - void clear_created_at(); - static const int kCreatedAtFieldNumber = 6; - 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); - - // .google.protobuf.Timestamp updated_at = 7; - bool has_updated_at() const; - void clear_updated_at(); - static const int kUpdatedAtFieldNumber = 7; - const ::google::protobuf::Timestamp& updated_at() const; - ::google::protobuf::Timestamp* release_updated_at(); - ::google::protobuf::Timestamp* mutable_updated_at(); - void set_allocated_updated_at(::google::protobuf::Timestamp* updated_at); - - // .flyteidl.core.NodeExecution.Phase phase = 3; - void clear_phase(); - static const int kPhaseFieldNumber = 3; - ::flyteidl::core::NodeExecution_Phase phase() const; - void set_phase(::flyteidl::core::NodeExecution_Phase value); - - // string output_uri = 1 [deprecated = true]; - private: - bool has_output_uri() const; - public: - PROTOBUF_DEPRECATED void clear_output_uri(); - PROTOBUF_DEPRECATED static const int kOutputUriFieldNumber = 1; - PROTOBUF_DEPRECATED const ::std::string& output_uri() const; - PROTOBUF_DEPRECATED void set_output_uri(const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void set_output_uri(::std::string&& value); - #endif - PROTOBUF_DEPRECATED void set_output_uri(const char* value); - PROTOBUF_DEPRECATED void set_output_uri(const char* value, size_t size); - PROTOBUF_DEPRECATED ::std::string* mutable_output_uri(); - PROTOBUF_DEPRECATED ::std::string* release_output_uri(); - PROTOBUF_DEPRECATED void set_allocated_output_uri(::std::string* output_uri); - - // .flyteidl.core.ExecutionError error = 2; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 2; - const ::flyteidl::core::ExecutionError& error() const; - ::flyteidl::core::ExecutionError* release_error(); - ::flyteidl::core::ExecutionError* mutable_error(); - void set_allocated_error(::flyteidl::core::ExecutionError* error); - - // .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_output_data() const; - PROTOBUF_DEPRECATED void clear_output_data(); - PROTOBUF_DEPRECATED static const int kOutputDataFieldNumber = 10; - PROTOBUF_DEPRECATED const ::flyteidl::core::LiteralMap& output_data() const; - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* release_output_data(); - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* mutable_output_data(); - PROTOBUF_DEPRECATED void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - // .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - bool has_workflow_node_metadata() const; - void clear_workflow_node_metadata(); - static const int kWorkflowNodeMetadataFieldNumber = 8; - const ::flyteidl::admin::WorkflowNodeMetadata& workflow_node_metadata() const; - ::flyteidl::admin::WorkflowNodeMetadata* release_workflow_node_metadata(); - ::flyteidl::admin::WorkflowNodeMetadata* mutable_workflow_node_metadata(); - void set_allocated_workflow_node_metadata(::flyteidl::admin::WorkflowNodeMetadata* workflow_node_metadata); - - // .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - bool has_task_node_metadata() const; - void clear_task_node_metadata(); - static const int kTaskNodeMetadataFieldNumber = 9; - const ::flyteidl::admin::TaskNodeMetadata& task_node_metadata() const; - ::flyteidl::admin::TaskNodeMetadata* release_task_node_metadata(); - ::flyteidl::admin::TaskNodeMetadata* mutable_task_node_metadata(); - void set_allocated_task_node_metadata(::flyteidl::admin::TaskNodeMetadata* task_node_metadata); - - void clear_output_result(); - OutputResultCase output_result_case() const; - void clear_target_metadata(); - TargetMetadataCase target_metadata_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionClosure) - private: - class HasBitSetters; - void set_has_output_uri(); - void set_has_error(); - void set_has_output_data(); - void set_has_workflow_node_metadata(); - void set_has_task_node_metadata(); - - inline bool has_output_result() const; - inline void clear_has_output_result(); - - inline bool has_target_metadata() const; - inline void clear_has_target_metadata(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr deck_uri_; - ::google::protobuf::internal::ArenaStringPtr dynamic_job_spec_uri_; - ::google::protobuf::Timestamp* started_at_; - ::google::protobuf::Duration* duration_; - ::google::protobuf::Timestamp* created_at_; - ::google::protobuf::Timestamp* updated_at_; - int phase_; - union OutputResultUnion { - OutputResultUnion() {} - ::google::protobuf::internal::ArenaStringPtr output_uri_; - ::flyteidl::core::ExecutionError* error_; - ::flyteidl::core::LiteralMap* output_data_; - } output_result_; - union TargetMetadataUnion { - TargetMetadataUnion() {} - ::flyteidl::admin::WorkflowNodeMetadata* workflow_node_metadata_; - ::flyteidl::admin::TaskNodeMetadata* task_node_metadata_; - } target_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[2]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowNodeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowNodeMetadata) */ { - public: - WorkflowNodeMetadata(); - virtual ~WorkflowNodeMetadata(); - - WorkflowNodeMetadata(const WorkflowNodeMetadata& from); - - inline WorkflowNodeMetadata& operator=(const WorkflowNodeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowNodeMetadata(WorkflowNodeMetadata&& from) noexcept - : WorkflowNodeMetadata() { - *this = ::std::move(from); - } - - inline WorkflowNodeMetadata& operator=(WorkflowNodeMetadata&& 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 WorkflowNodeMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowNodeMetadata* internal_default_instance() { - return reinterpret_cast( - &_WorkflowNodeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(WorkflowNodeMetadata* other); - friend void swap(WorkflowNodeMetadata& a, WorkflowNodeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowNodeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowNodeMetadata* 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 WorkflowNodeMetadata& from); - void MergeFrom(const WorkflowNodeMetadata& 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(WorkflowNodeMetadata* 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 executionId = 1; - bool has_executionid() const; - void clear_executionid(); - static const int kExecutionIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& executionid() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_executionid(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_executionid(); - void set_allocated_executionid(::flyteidl::core::WorkflowExecutionIdentifier* executionid); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowNodeMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* executionid_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskNodeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskNodeMetadata) */ { - public: - TaskNodeMetadata(); - virtual ~TaskNodeMetadata(); - - TaskNodeMetadata(const TaskNodeMetadata& from); - - inline TaskNodeMetadata& operator=(const TaskNodeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskNodeMetadata(TaskNodeMetadata&& from) noexcept - : TaskNodeMetadata() { - *this = ::std::move(from); - } - - inline TaskNodeMetadata& operator=(TaskNodeMetadata&& 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 TaskNodeMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskNodeMetadata* internal_default_instance() { - return reinterpret_cast( - &_TaskNodeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(TaskNodeMetadata* other); - friend void swap(TaskNodeMetadata& a, TaskNodeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskNodeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskNodeMetadata* 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 TaskNodeMetadata& from); - void MergeFrom(const TaskNodeMetadata& 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(TaskNodeMetadata* 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 checkpoint_uri = 4; - void clear_checkpoint_uri(); - static const int kCheckpointUriFieldNumber = 4; - const ::std::string& checkpoint_uri() const; - void set_checkpoint_uri(const ::std::string& value); - #if LANG_CXX11 - void set_checkpoint_uri(::std::string&& value); - #endif - void set_checkpoint_uri(const char* value); - void set_checkpoint_uri(const char* value, size_t size); - ::std::string* mutable_checkpoint_uri(); - ::std::string* release_checkpoint_uri(); - void set_allocated_checkpoint_uri(::std::string* checkpoint_uri); - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - bool has_catalog_key() const; - void clear_catalog_key(); - static const int kCatalogKeyFieldNumber = 2; - const ::flyteidl::core::CatalogMetadata& catalog_key() const; - ::flyteidl::core::CatalogMetadata* release_catalog_key(); - ::flyteidl::core::CatalogMetadata* mutable_catalog_key(); - void set_allocated_catalog_key(::flyteidl::core::CatalogMetadata* catalog_key); - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - void clear_cache_status(); - static const int kCacheStatusFieldNumber = 1; - ::flyteidl::core::CatalogCacheStatus cache_status() const; - void set_cache_status(::flyteidl::core::CatalogCacheStatus value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskNodeMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr checkpoint_uri_; - ::flyteidl::core::CatalogMetadata* catalog_key_; - int cache_status_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class DynamicWorkflowNodeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DynamicWorkflowNodeMetadata) */ { - public: - DynamicWorkflowNodeMetadata(); - virtual ~DynamicWorkflowNodeMetadata(); - - DynamicWorkflowNodeMetadata(const DynamicWorkflowNodeMetadata& from); - - inline DynamicWorkflowNodeMetadata& operator=(const DynamicWorkflowNodeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DynamicWorkflowNodeMetadata(DynamicWorkflowNodeMetadata&& from) noexcept - : DynamicWorkflowNodeMetadata() { - *this = ::std::move(from); - } - - inline DynamicWorkflowNodeMetadata& operator=(DynamicWorkflowNodeMetadata&& 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 DynamicWorkflowNodeMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DynamicWorkflowNodeMetadata* internal_default_instance() { - return reinterpret_cast( - &_DynamicWorkflowNodeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(DynamicWorkflowNodeMetadata* other); - friend void swap(DynamicWorkflowNodeMetadata& a, DynamicWorkflowNodeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DynamicWorkflowNodeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - DynamicWorkflowNodeMetadata* 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 DynamicWorkflowNodeMetadata& from); - void MergeFrom(const DynamicWorkflowNodeMetadata& 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(DynamicWorkflowNodeMetadata* 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 dynamic_job_spec_uri = 3; - void clear_dynamic_job_spec_uri(); - static const int kDynamicJobSpecUriFieldNumber = 3; - const ::std::string& dynamic_job_spec_uri() const; - void set_dynamic_job_spec_uri(const ::std::string& value); - #if LANG_CXX11 - void set_dynamic_job_spec_uri(::std::string&& value); - #endif - void set_dynamic_job_spec_uri(const char* value); - void set_dynamic_job_spec_uri(const char* value, size_t size); - ::std::string* mutable_dynamic_job_spec_uri(); - ::std::string* release_dynamic_job_spec_uri(); - void set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri); - - // .flyteidl.core.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - bool has_compiled_workflow() const; - void clear_compiled_workflow(); - static const int kCompiledWorkflowFieldNumber = 2; - const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow() const; - ::flyteidl::core::CompiledWorkflowClosure* release_compiled_workflow(); - ::flyteidl::core::CompiledWorkflowClosure* mutable_compiled_workflow(); - void set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DynamicWorkflowNodeMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr dynamic_job_spec_uri_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::core::CompiledWorkflowClosure* compiled_workflow_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionGetDataRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionGetDataRequest) */ { - public: - NodeExecutionGetDataRequest(); - virtual ~NodeExecutionGetDataRequest(); - - NodeExecutionGetDataRequest(const NodeExecutionGetDataRequest& from); - - inline NodeExecutionGetDataRequest& operator=(const NodeExecutionGetDataRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionGetDataRequest(NodeExecutionGetDataRequest&& from) noexcept - : NodeExecutionGetDataRequest() { - *this = ::std::move(from); - } - - inline NodeExecutionGetDataRequest& operator=(NodeExecutionGetDataRequest&& 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 NodeExecutionGetDataRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionGetDataRequest* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionGetDataRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(NodeExecutionGetDataRequest* other); - friend void swap(NodeExecutionGetDataRequest& a, NodeExecutionGetDataRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionGetDataRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionGetDataRequest* 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 NodeExecutionGetDataRequest& from); - void MergeFrom(const NodeExecutionGetDataRequest& 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(NodeExecutionGetDataRequest* 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.NodeExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::NodeExecutionIdentifier& id() const; - ::flyteidl::core::NodeExecutionIdentifier* release_id(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetDataRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::NodeExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionGetDataResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.NodeExecutionGetDataResponse) */ { - public: - NodeExecutionGetDataResponse(); - virtual ~NodeExecutionGetDataResponse(); - - NodeExecutionGetDataResponse(const NodeExecutionGetDataResponse& from); - - inline NodeExecutionGetDataResponse& operator=(const NodeExecutionGetDataResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionGetDataResponse(NodeExecutionGetDataResponse&& from) noexcept - : NodeExecutionGetDataResponse() { - *this = ::std::move(from); - } - - inline NodeExecutionGetDataResponse& operator=(NodeExecutionGetDataResponse&& 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 NodeExecutionGetDataResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionGetDataResponse* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionGetDataResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(NodeExecutionGetDataResponse* other); - friend void swap(NodeExecutionGetDataResponse& a, NodeExecutionGetDataResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionGetDataResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionGetDataResponse* 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 NodeExecutionGetDataResponse& from); - void MergeFrom(const NodeExecutionGetDataResponse& 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(NodeExecutionGetDataResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_inputs() const; - PROTOBUF_DEPRECATED void clear_inputs(); - PROTOBUF_DEPRECATED static const int kInputsFieldNumber = 1; - PROTOBUF_DEPRECATED const ::flyteidl::admin::UrlBlob& inputs() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* release_inputs(); - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* mutable_inputs(); - PROTOBUF_DEPRECATED void set_allocated_inputs(::flyteidl::admin::UrlBlob* inputs); - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_outputs() const; - PROTOBUF_DEPRECATED void clear_outputs(); - PROTOBUF_DEPRECATED static const int kOutputsFieldNumber = 2; - PROTOBUF_DEPRECATED const ::flyteidl::admin::UrlBlob& outputs() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* release_outputs(); - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* mutable_outputs(); - PROTOBUF_DEPRECATED void set_allocated_outputs(::flyteidl::admin::UrlBlob* outputs); - - // .flyteidl.core.LiteralMap full_inputs = 3; - bool has_full_inputs() const; - void clear_full_inputs(); - static const int kFullInputsFieldNumber = 3; - const ::flyteidl::core::LiteralMap& full_inputs() const; - ::flyteidl::core::LiteralMap* release_full_inputs(); - ::flyteidl::core::LiteralMap* mutable_full_inputs(); - void set_allocated_full_inputs(::flyteidl::core::LiteralMap* full_inputs); - - // .flyteidl.core.LiteralMap full_outputs = 4; - bool has_full_outputs() const; - void clear_full_outputs(); - static const int kFullOutputsFieldNumber = 4; - const ::flyteidl::core::LiteralMap& full_outputs() const; - ::flyteidl::core::LiteralMap* release_full_outputs(); - ::flyteidl::core::LiteralMap* mutable_full_outputs(); - void set_allocated_full_outputs(::flyteidl::core::LiteralMap* full_outputs); - - // .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - bool has_dynamic_workflow() const; - void clear_dynamic_workflow(); - static const int kDynamicWorkflowFieldNumber = 16; - const ::flyteidl::admin::DynamicWorkflowNodeMetadata& dynamic_workflow() const; - ::flyteidl::admin::DynamicWorkflowNodeMetadata* release_dynamic_workflow(); - ::flyteidl::admin::DynamicWorkflowNodeMetadata* mutable_dynamic_workflow(); - void set_allocated_dynamic_workflow(::flyteidl::admin::DynamicWorkflowNodeMetadata* dynamic_workflow); - - // .flyteidl.admin.FlyteURLs flyte_urls = 17; - bool has_flyte_urls() const; - void clear_flyte_urls(); - static const int kFlyteUrlsFieldNumber = 17; - const ::flyteidl::admin::FlyteURLs& flyte_urls() const; - ::flyteidl::admin::FlyteURLs* release_flyte_urls(); - ::flyteidl::admin::FlyteURLs* mutable_flyte_urls(); - void set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetDataResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::UrlBlob* inputs_; - ::flyteidl::admin::UrlBlob* outputs_; - ::flyteidl::core::LiteralMap* full_inputs_; - ::flyteidl::core::LiteralMap* full_outputs_; - ::flyteidl::admin::DynamicWorkflowNodeMetadata* dynamic_workflow_; - ::flyteidl::admin::FlyteURLs* flyte_urls_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class GetDynamicNodeWorkflowRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetDynamicNodeWorkflowRequest) */ { - public: - GetDynamicNodeWorkflowRequest(); - virtual ~GetDynamicNodeWorkflowRequest(); - - GetDynamicNodeWorkflowRequest(const GetDynamicNodeWorkflowRequest& from); - - inline GetDynamicNodeWorkflowRequest& operator=(const GetDynamicNodeWorkflowRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetDynamicNodeWorkflowRequest(GetDynamicNodeWorkflowRequest&& from) noexcept - : GetDynamicNodeWorkflowRequest() { - *this = ::std::move(from); - } - - inline GetDynamicNodeWorkflowRequest& operator=(GetDynamicNodeWorkflowRequest&& 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 GetDynamicNodeWorkflowRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetDynamicNodeWorkflowRequest* internal_default_instance() { - return reinterpret_cast( - &_GetDynamicNodeWorkflowRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(GetDynamicNodeWorkflowRequest* other); - friend void swap(GetDynamicNodeWorkflowRequest& a, GetDynamicNodeWorkflowRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetDynamicNodeWorkflowRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetDynamicNodeWorkflowRequest* 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 GetDynamicNodeWorkflowRequest& from); - void MergeFrom(const GetDynamicNodeWorkflowRequest& 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(GetDynamicNodeWorkflowRequest* 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.NodeExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::NodeExecutionIdentifier& id() const; - ::flyteidl::core::NodeExecutionIdentifier* release_id(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetDynamicNodeWorkflowRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::NodeExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class DynamicNodeWorkflowResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DynamicNodeWorkflowResponse) */ { - public: - DynamicNodeWorkflowResponse(); - virtual ~DynamicNodeWorkflowResponse(); - - DynamicNodeWorkflowResponse(const DynamicNodeWorkflowResponse& from); - - inline DynamicNodeWorkflowResponse& operator=(const DynamicNodeWorkflowResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DynamicNodeWorkflowResponse(DynamicNodeWorkflowResponse&& from) noexcept - : DynamicNodeWorkflowResponse() { - *this = ::std::move(from); - } - - inline DynamicNodeWorkflowResponse& operator=(DynamicNodeWorkflowResponse&& 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 DynamicNodeWorkflowResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DynamicNodeWorkflowResponse* internal_default_instance() { - return reinterpret_cast( - &_DynamicNodeWorkflowResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - void Swap(DynamicNodeWorkflowResponse* other); - friend void swap(DynamicNodeWorkflowResponse& a, DynamicNodeWorkflowResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DynamicNodeWorkflowResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - DynamicNodeWorkflowResponse* 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 DynamicNodeWorkflowResponse& from); - void MergeFrom(const DynamicNodeWorkflowResponse& 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(DynamicNodeWorkflowResponse* 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.CompiledWorkflowClosure compiled_workflow = 1; - bool has_compiled_workflow() const; - void clear_compiled_workflow(); - static const int kCompiledWorkflowFieldNumber = 1; - const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow() const; - ::flyteidl::core::CompiledWorkflowClosure* release_compiled_workflow(); - ::flyteidl::core::CompiledWorkflowClosure* mutable_compiled_workflow(); - void set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DynamicNodeWorkflowResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::CompiledWorkflowClosure* compiled_workflow_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// NodeExecutionGetRequest - -// .flyteidl.core.NodeExecutionIdentifier id = 1; -inline bool NodeExecutionGetRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& NodeExecutionGetRequest::id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecutionGetRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetRequest.id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecutionGetRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetRequest.id) - return id_; -} -inline void NodeExecutionGetRequest::set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetRequest.id) -} - -// ------------------------------------------------------------------- - -// NodeExecutionListRequest - -// .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; -inline bool NodeExecutionListRequest::has_workflow_execution_id() const { - return this != internal_default_instance() && workflow_execution_id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& NodeExecutionListRequest::workflow_execution_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = workflow_execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionListRequest.workflow_execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* NodeExecutionListRequest::release_workflow_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionListRequest.workflow_execution_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = workflow_execution_id_; - workflow_execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* NodeExecutionListRequest::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.admin.NodeExecutionListRequest.workflow_execution_id) - return workflow_execution_id_; -} -inline void NodeExecutionListRequest::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.admin.NodeExecutionListRequest.workflow_execution_id) -} - -// uint32 limit = 2; -inline void NodeExecutionListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 NodeExecutionListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionListRequest.limit) - return limit_; -} -inline void NodeExecutionListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionListRequest.limit) -} - -// string token = 3; -inline void NodeExecutionListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionListRequest.token) - return token_.GetNoArena(); -} -inline void NodeExecutionListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionListRequest.token) -} -#if LANG_CXX11 -inline void NodeExecutionListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionListRequest.token) -} -#endif -inline void NodeExecutionListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionListRequest.token) -} -inline void NodeExecutionListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionListRequest.token) -} -inline ::std::string* NodeExecutionListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionListRequest.token) -} - -// string filters = 4; -inline void NodeExecutionListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionListRequest.filters) - return filters_.GetNoArena(); -} -inline void NodeExecutionListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionListRequest.filters) -} -#if LANG_CXX11 -inline void NodeExecutionListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionListRequest.filters) -} -#endif -inline void NodeExecutionListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionListRequest.filters) -} -inline void NodeExecutionListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionListRequest.filters) -} -inline ::std::string* NodeExecutionListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionListRequest.filters) -} - -// .flyteidl.admin.Sort sort_by = 5; -inline bool NodeExecutionListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline const ::flyteidl::admin::Sort& NodeExecutionListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* NodeExecutionListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* NodeExecutionListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionListRequest.sort_by) - return sort_by_; -} -inline void NodeExecutionListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(sort_by_); - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionListRequest.sort_by) -} - -// string unique_parent_id = 6; -inline void NodeExecutionListRequest::clear_unique_parent_id() { - unique_parent_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionListRequest::unique_parent_id() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) - return unique_parent_id_.GetNoArena(); -} -inline void NodeExecutionListRequest::set_unique_parent_id(const ::std::string& value) { - - unique_parent_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) -} -#if LANG_CXX11 -inline void NodeExecutionListRequest::set_unique_parent_id(::std::string&& value) { - - unique_parent_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) -} -#endif -inline void NodeExecutionListRequest::set_unique_parent_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - unique_parent_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) -} -inline void NodeExecutionListRequest::set_unique_parent_id(const char* value, size_t size) { - - unique_parent_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) -} -inline ::std::string* NodeExecutionListRequest::mutable_unique_parent_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) - return unique_parent_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionListRequest::release_unique_parent_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) - - return unique_parent_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionListRequest::set_allocated_unique_parent_id(::std::string* unique_parent_id) { - if (unique_parent_id != nullptr) { - - } else { - - } - unique_parent_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), unique_parent_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionListRequest.unique_parent_id) -} - -// ------------------------------------------------------------------- - -// NodeExecutionForTaskListRequest - -// .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; -inline bool NodeExecutionForTaskListRequest::has_task_execution_id() const { - return this != internal_default_instance() && task_execution_id_ != nullptr; -} -inline const ::flyteidl::core::TaskExecutionIdentifier& NodeExecutionForTaskListRequest::task_execution_id() const { - const ::flyteidl::core::TaskExecutionIdentifier* p = task_execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionForTaskListRequest.task_execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* NodeExecutionForTaskListRequest::release_task_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionForTaskListRequest.task_execution_id) - - ::flyteidl::core::TaskExecutionIdentifier* temp = task_execution_id_; - task_execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskExecutionIdentifier* NodeExecutionForTaskListRequest::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.admin.NodeExecutionForTaskListRequest.task_execution_id) - return task_execution_id_; -} -inline void NodeExecutionForTaskListRequest::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.admin.NodeExecutionForTaskListRequest.task_execution_id) -} - -// uint32 limit = 2; -inline void NodeExecutionForTaskListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 NodeExecutionForTaskListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionForTaskListRequest.limit) - return limit_; -} -inline void NodeExecutionForTaskListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionForTaskListRequest.limit) -} - -// string token = 3; -inline void NodeExecutionForTaskListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionForTaskListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionForTaskListRequest.token) - return token_.GetNoArena(); -} -inline void NodeExecutionForTaskListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionForTaskListRequest.token) -} -#if LANG_CXX11 -inline void NodeExecutionForTaskListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionForTaskListRequest.token) -} -#endif -inline void NodeExecutionForTaskListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionForTaskListRequest.token) -} -inline void NodeExecutionForTaskListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionForTaskListRequest.token) -} -inline ::std::string* NodeExecutionForTaskListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionForTaskListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionForTaskListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionForTaskListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionForTaskListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionForTaskListRequest.token) -} - -// string filters = 4; -inline void NodeExecutionForTaskListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionForTaskListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionForTaskListRequest.filters) - return filters_.GetNoArena(); -} -inline void NodeExecutionForTaskListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionForTaskListRequest.filters) -} -#if LANG_CXX11 -inline void NodeExecutionForTaskListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionForTaskListRequest.filters) -} -#endif -inline void NodeExecutionForTaskListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionForTaskListRequest.filters) -} -inline void NodeExecutionForTaskListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionForTaskListRequest.filters) -} -inline ::std::string* NodeExecutionForTaskListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionForTaskListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionForTaskListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionForTaskListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionForTaskListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionForTaskListRequest.filters) -} - -// .flyteidl.admin.Sort sort_by = 5; -inline bool NodeExecutionForTaskListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline const ::flyteidl::admin::Sort& NodeExecutionForTaskListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionForTaskListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* NodeExecutionForTaskListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionForTaskListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* NodeExecutionForTaskListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionForTaskListRequest.sort_by) - return sort_by_; -} -inline void NodeExecutionForTaskListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(sort_by_); - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionForTaskListRequest.sort_by) -} - -// ------------------------------------------------------------------- - -// NodeExecution - -// .flyteidl.core.NodeExecutionIdentifier id = 1; -inline bool NodeExecution::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& NodeExecution::id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecution.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecution::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecution.id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecution::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecution.id) - return id_; -} -inline void NodeExecution::set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecution.id) -} - -// string input_uri = 2; -inline void NodeExecution::clear_input_uri() { - input_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecution::input_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecution.input_uri) - return input_uri_.GetNoArena(); -} -inline void NodeExecution::set_input_uri(const ::std::string& value) { - - input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecution.input_uri) -} -#if LANG_CXX11 -inline void NodeExecution::set_input_uri(::std::string&& value) { - - input_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecution.input_uri) -} -#endif -inline void NodeExecution::set_input_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecution.input_uri) -} -inline void NodeExecution::set_input_uri(const char* value, size_t size) { - - input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecution.input_uri) -} -inline ::std::string* NodeExecution::mutable_input_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecution.input_uri) - return input_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecution::release_input_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecution.input_uri) - - return input_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecution::set_allocated_input_uri(::std::string* input_uri) { - if (input_uri != nullptr) { - - } else { - - } - input_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), input_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecution.input_uri) -} - -// .flyteidl.admin.NodeExecutionClosure closure = 3; -inline bool NodeExecution::has_closure() const { - return this != internal_default_instance() && closure_ != nullptr; -} -inline void NodeExecution::clear_closure() { - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; -} -inline const ::flyteidl::admin::NodeExecutionClosure& NodeExecution::closure() const { - const ::flyteidl::admin::NodeExecutionClosure* p = closure_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecution.closure) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NodeExecutionClosure_default_instance_); -} -inline ::flyteidl::admin::NodeExecutionClosure* NodeExecution::release_closure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecution.closure) - - ::flyteidl::admin::NodeExecutionClosure* temp = closure_; - closure_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NodeExecutionClosure* NodeExecution::mutable_closure() { - - if (closure_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NodeExecutionClosure>(GetArenaNoVirtual()); - closure_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecution.closure) - return closure_; -} -inline void NodeExecution::set_allocated_closure(::flyteidl::admin::NodeExecutionClosure* closure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete closure_; - } - if (closure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - closure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, closure, submessage_arena); - } - - } else { - - } - closure_ = closure; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecution.closure) -} - -// .flyteidl.admin.NodeExecutionMetaData metadata = 4; -inline bool NodeExecution::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void NodeExecution::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::admin::NodeExecutionMetaData& NodeExecution::metadata() const { - const ::flyteidl::admin::NodeExecutionMetaData* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecution.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_NodeExecutionMetaData_default_instance_); -} -inline ::flyteidl::admin::NodeExecutionMetaData* NodeExecution::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecution.metadata) - - ::flyteidl::admin::NodeExecutionMetaData* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::admin::NodeExecutionMetaData* NodeExecution::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::NodeExecutionMetaData>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecution.metadata) - return metadata_; -} -inline void NodeExecution::set_allocated_metadata(::flyteidl::admin::NodeExecutionMetaData* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecution.metadata) -} - -// ------------------------------------------------------------------- - -// NodeExecutionMetaData - -// string retry_group = 1; -inline void NodeExecutionMetaData::clear_retry_group() { - retry_group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionMetaData::retry_group() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionMetaData.retry_group) - return retry_group_.GetNoArena(); -} -inline void NodeExecutionMetaData::set_retry_group(const ::std::string& value) { - - retry_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionMetaData.retry_group) -} -#if LANG_CXX11 -inline void NodeExecutionMetaData::set_retry_group(::std::string&& value) { - - retry_group_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionMetaData.retry_group) -} -#endif -inline void NodeExecutionMetaData::set_retry_group(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - retry_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionMetaData.retry_group) -} -inline void NodeExecutionMetaData::set_retry_group(const char* value, size_t size) { - - retry_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionMetaData.retry_group) -} -inline ::std::string* NodeExecutionMetaData::mutable_retry_group() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionMetaData.retry_group) - return retry_group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionMetaData::release_retry_group() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionMetaData.retry_group) - - return retry_group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionMetaData::set_allocated_retry_group(::std::string* retry_group) { - if (retry_group != nullptr) { - - } else { - - } - retry_group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), retry_group); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionMetaData.retry_group) -} - -// bool is_parent_node = 2; -inline void NodeExecutionMetaData::clear_is_parent_node() { - is_parent_node_ = false; -} -inline bool NodeExecutionMetaData::is_parent_node() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionMetaData.is_parent_node) - return is_parent_node_; -} -inline void NodeExecutionMetaData::set_is_parent_node(bool value) { - - is_parent_node_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionMetaData.is_parent_node) -} - -// string spec_node_id = 3; -inline void NodeExecutionMetaData::clear_spec_node_id() { - spec_node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionMetaData::spec_node_id() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionMetaData.spec_node_id) - return spec_node_id_.GetNoArena(); -} -inline void NodeExecutionMetaData::set_spec_node_id(const ::std::string& value) { - - spec_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionMetaData.spec_node_id) -} -#if LANG_CXX11 -inline void NodeExecutionMetaData::set_spec_node_id(::std::string&& value) { - - spec_node_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionMetaData.spec_node_id) -} -#endif -inline void NodeExecutionMetaData::set_spec_node_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - spec_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionMetaData.spec_node_id) -} -inline void NodeExecutionMetaData::set_spec_node_id(const char* value, size_t size) { - - spec_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionMetaData.spec_node_id) -} -inline ::std::string* NodeExecutionMetaData::mutable_spec_node_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionMetaData.spec_node_id) - return spec_node_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionMetaData::release_spec_node_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionMetaData.spec_node_id) - - return spec_node_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionMetaData::set_allocated_spec_node_id(::std::string* spec_node_id) { - if (spec_node_id != nullptr) { - - } else { - - } - spec_node_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), spec_node_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionMetaData.spec_node_id) -} - -// bool is_dynamic = 4; -inline void NodeExecutionMetaData::clear_is_dynamic() { - is_dynamic_ = false; -} -inline bool NodeExecutionMetaData::is_dynamic() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionMetaData.is_dynamic) - return is_dynamic_; -} -inline void NodeExecutionMetaData::set_is_dynamic(bool value) { - - is_dynamic_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionMetaData.is_dynamic) -} - -// bool is_array = 5; -inline void NodeExecutionMetaData::clear_is_array() { - is_array_ = false; -} -inline bool NodeExecutionMetaData::is_array() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionMetaData.is_array) - return is_array_; -} -inline void NodeExecutionMetaData::set_is_array(bool value) { - - is_array_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionMetaData.is_array) -} - -// ------------------------------------------------------------------- - -// NodeExecutionList - -// repeated .flyteidl.admin.NodeExecution node_executions = 1; -inline int NodeExecutionList::node_executions_size() const { - return node_executions_.size(); -} -inline void NodeExecutionList::clear_node_executions() { - node_executions_.Clear(); -} -inline ::flyteidl::admin::NodeExecution* NodeExecutionList::mutable_node_executions(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionList.node_executions) - return node_executions_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NodeExecution >* -NodeExecutionList::mutable_node_executions() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.NodeExecutionList.node_executions) - return &node_executions_; -} -inline const ::flyteidl::admin::NodeExecution& NodeExecutionList::node_executions(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionList.node_executions) - return node_executions_.Get(index); -} -inline ::flyteidl::admin::NodeExecution* NodeExecutionList::add_node_executions() { - // @@protoc_insertion_point(field_add:flyteidl.admin.NodeExecutionList.node_executions) - return node_executions_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::NodeExecution >& -NodeExecutionList::node_executions() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.NodeExecutionList.node_executions) - return node_executions_; -} - -// string token = 2; -inline void NodeExecutionList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionList.token) - return token_.GetNoArena(); -} -inline void NodeExecutionList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionList.token) -} -#if LANG_CXX11 -inline void NodeExecutionList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionList.token) -} -#endif -inline void NodeExecutionList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionList.token) -} -inline void NodeExecutionList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionList.token) -} -inline ::std::string* NodeExecutionList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionList.token) -} - -// ------------------------------------------------------------------- - -// NodeExecutionClosure - -// string output_uri = 1 [deprecated = true]; -inline bool NodeExecutionClosure::has_output_uri() const { - return output_result_case() == kOutputUri; -} -inline void NodeExecutionClosure::set_has_output_uri() { - _oneof_case_[0] = kOutputUri; -} -inline void NodeExecutionClosure::clear_output_uri() { - if (has_output_uri()) { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_output_result(); - } -} -inline const ::std::string& NodeExecutionClosure::output_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.output_uri) - if (has_output_uri()) { - return output_result_.output_uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void NodeExecutionClosure::set_output_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionClosure.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionClosure.output_uri) -} -#if LANG_CXX11 -inline void NodeExecutionClosure::set_output_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionClosure.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionClosure.output_uri) -} -#endif -inline void NodeExecutionClosure::set_output_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionClosure.output_uri) -} -inline void NodeExecutionClosure::set_output_uri(const char* value, size_t size) { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionClosure.output_uri) -} -inline ::std::string* NodeExecutionClosure::mutable_output_uri() { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.output_uri) - return output_result_.output_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionClosure::release_output_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.output_uri) - if (has_output_uri()) { - clear_has_output_result(); - return output_result_.output_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void NodeExecutionClosure::set_allocated_output_uri(::std::string* output_uri) { - if (has_output_result()) { - clear_output_result(); - } - if (output_uri != nullptr) { - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(output_uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.output_uri) -} - -// .flyteidl.core.ExecutionError error = 2; -inline bool NodeExecutionClosure::has_error() const { - return output_result_case() == kError; -} -inline void NodeExecutionClosure::set_has_error() { - _oneof_case_[0] = kError; -} -inline ::flyteidl::core::ExecutionError* NodeExecutionClosure::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.error) - if (has_error()) { - clear_has_output_result(); - ::flyteidl::core::ExecutionError* temp = output_result_.error_; - output_result_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ExecutionError& NodeExecutionClosure::error() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.error) - return has_error() - ? *output_result_.error_ - : *reinterpret_cast< ::flyteidl::core::ExecutionError*>(&::flyteidl::core::_ExecutionError_default_instance_); -} -inline ::flyteidl::core::ExecutionError* NodeExecutionClosure::mutable_error() { - if (!has_error()) { - clear_output_result(); - set_has_error(); - output_result_.error_ = CreateMaybeMessage< ::flyteidl::core::ExecutionError >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.error) - return output_result_.error_; -} - -// .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; -inline bool NodeExecutionClosure::has_output_data() const { - return output_result_case() == kOutputData; -} -inline void NodeExecutionClosure::set_has_output_data() { - _oneof_case_[0] = kOutputData; -} -inline ::flyteidl::core::LiteralMap* NodeExecutionClosure::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.output_data) - if (has_output_data()) { - clear_has_output_result(); - ::flyteidl::core::LiteralMap* temp = output_result_.output_data_; - output_result_.output_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& NodeExecutionClosure::output_data() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.output_data) - return has_output_data() - ? *output_result_.output_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* NodeExecutionClosure::mutable_output_data() { - if (!has_output_data()) { - clear_output_result(); - set_has_output_data(); - output_result_.output_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.output_data) - return output_result_.output_data_; -} - -// .flyteidl.core.NodeExecution.Phase phase = 3; -inline void NodeExecutionClosure::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::NodeExecution_Phase NodeExecutionClosure::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.phase) - return static_cast< ::flyteidl::core::NodeExecution_Phase >(phase_); -} -inline void NodeExecutionClosure::set_phase(::flyteidl::core::NodeExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionClosure.phase) -} - -// .google.protobuf.Timestamp started_at = 4; -inline bool NodeExecutionClosure::has_started_at() const { - return this != internal_default_instance() && started_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& NodeExecutionClosure::started_at() const { - const ::google::protobuf::Timestamp* p = started_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.started_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* NodeExecutionClosure::release_started_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.started_at) - - ::google::protobuf::Timestamp* temp = started_at_; - started_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* NodeExecutionClosure::mutable_started_at() { - - if (started_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - started_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.started_at) - return started_at_; -} -inline void NodeExecutionClosure::set_allocated_started_at(::google::protobuf::Timestamp* started_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(started_at_); - } - if (started_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(started_at)->GetArena(); - if (message_arena != submessage_arena) { - started_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, started_at, submessage_arena); - } - - } else { - - } - started_at_ = started_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.started_at) -} - -// .google.protobuf.Duration duration = 5; -inline bool NodeExecutionClosure::has_duration() const { - return this != internal_default_instance() && duration_ != nullptr; -} -inline const ::google::protobuf::Duration& NodeExecutionClosure::duration() const { - const ::google::protobuf::Duration* p = duration_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.duration) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* NodeExecutionClosure::release_duration() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.duration) - - ::google::protobuf::Duration* temp = duration_; - duration_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* NodeExecutionClosure::mutable_duration() { - - if (duration_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - duration_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.duration) - return duration_; -} -inline void NodeExecutionClosure::set_allocated_duration(::google::protobuf::Duration* duration) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(duration_); - } - if (duration) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(duration)->GetArena(); - if (message_arena != submessage_arena) { - duration = ::google::protobuf::internal::GetOwnedMessage( - message_arena, duration, submessage_arena); - } - - } else { - - } - duration_ = duration; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.duration) -} - -// .google.protobuf.Timestamp created_at = 6; -inline bool NodeExecutionClosure::has_created_at() const { - return this != internal_default_instance() && created_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& NodeExecutionClosure::created_at() const { - const ::google::protobuf::Timestamp* p = created_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.created_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* NodeExecutionClosure::release_created_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.created_at) - - ::google::protobuf::Timestamp* temp = created_at_; - created_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* NodeExecutionClosure::mutable_created_at() { - - if (created_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - created_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.created_at) - return created_at_; -} -inline void NodeExecutionClosure::set_allocated_created_at(::google::protobuf::Timestamp* created_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(created_at_); - } - if (created_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(created_at)->GetArena(); - if (message_arena != submessage_arena) { - created_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, created_at, submessage_arena); - } - - } else { - - } - created_at_ = created_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.created_at) -} - -// .google.protobuf.Timestamp updated_at = 7; -inline bool NodeExecutionClosure::has_updated_at() const { - return this != internal_default_instance() && updated_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& NodeExecutionClosure::updated_at() const { - const ::google::protobuf::Timestamp* p = updated_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.updated_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* NodeExecutionClosure::release_updated_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.updated_at) - - ::google::protobuf::Timestamp* temp = updated_at_; - updated_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* NodeExecutionClosure::mutable_updated_at() { - - if (updated_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - updated_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.updated_at) - return updated_at_; -} -inline void NodeExecutionClosure::set_allocated_updated_at(::google::protobuf::Timestamp* updated_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(updated_at_); - } - if (updated_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(updated_at)->GetArena(); - if (message_arena != submessage_arena) { - updated_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, updated_at, submessage_arena); - } - - } else { - - } - updated_at_ = updated_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.updated_at) -} - -// .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; -inline bool NodeExecutionClosure::has_workflow_node_metadata() const { - return target_metadata_case() == kWorkflowNodeMetadata; -} -inline void NodeExecutionClosure::set_has_workflow_node_metadata() { - _oneof_case_[1] = kWorkflowNodeMetadata; -} -inline void NodeExecutionClosure::clear_workflow_node_metadata() { - if (has_workflow_node_metadata()) { - delete target_metadata_.workflow_node_metadata_; - clear_has_target_metadata(); - } -} -inline ::flyteidl::admin::WorkflowNodeMetadata* NodeExecutionClosure::release_workflow_node_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.workflow_node_metadata) - if (has_workflow_node_metadata()) { - clear_has_target_metadata(); - ::flyteidl::admin::WorkflowNodeMetadata* temp = target_metadata_.workflow_node_metadata_; - target_metadata_.workflow_node_metadata_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::WorkflowNodeMetadata& NodeExecutionClosure::workflow_node_metadata() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.workflow_node_metadata) - return has_workflow_node_metadata() - ? *target_metadata_.workflow_node_metadata_ - : *reinterpret_cast< ::flyteidl::admin::WorkflowNodeMetadata*>(&::flyteidl::admin::_WorkflowNodeMetadata_default_instance_); -} -inline ::flyteidl::admin::WorkflowNodeMetadata* NodeExecutionClosure::mutable_workflow_node_metadata() { - if (!has_workflow_node_metadata()) { - clear_target_metadata(); - set_has_workflow_node_metadata(); - target_metadata_.workflow_node_metadata_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowNodeMetadata >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.workflow_node_metadata) - return target_metadata_.workflow_node_metadata_; -} - -// .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; -inline bool NodeExecutionClosure::has_task_node_metadata() const { - return target_metadata_case() == kTaskNodeMetadata; -} -inline void NodeExecutionClosure::set_has_task_node_metadata() { - _oneof_case_[1] = kTaskNodeMetadata; -} -inline void NodeExecutionClosure::clear_task_node_metadata() { - if (has_task_node_metadata()) { - delete target_metadata_.task_node_metadata_; - clear_has_target_metadata(); - } -} -inline ::flyteidl::admin::TaskNodeMetadata* NodeExecutionClosure::release_task_node_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.task_node_metadata) - if (has_task_node_metadata()) { - clear_has_target_metadata(); - ::flyteidl::admin::TaskNodeMetadata* temp = target_metadata_.task_node_metadata_; - target_metadata_.task_node_metadata_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::TaskNodeMetadata& NodeExecutionClosure::task_node_metadata() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.task_node_metadata) - return has_task_node_metadata() - ? *target_metadata_.task_node_metadata_ - : *reinterpret_cast< ::flyteidl::admin::TaskNodeMetadata*>(&::flyteidl::admin::_TaskNodeMetadata_default_instance_); -} -inline ::flyteidl::admin::TaskNodeMetadata* NodeExecutionClosure::mutable_task_node_metadata() { - if (!has_task_node_metadata()) { - clear_target_metadata(); - set_has_task_node_metadata(); - target_metadata_.task_node_metadata_ = CreateMaybeMessage< ::flyteidl::admin::TaskNodeMetadata >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.task_node_metadata) - return target_metadata_.task_node_metadata_; -} - -// string deck_uri = 11; -inline void NodeExecutionClosure::clear_deck_uri() { - deck_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionClosure::deck_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.deck_uri) - return deck_uri_.GetNoArena(); -} -inline void NodeExecutionClosure::set_deck_uri(const ::std::string& value) { - - deck_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionClosure.deck_uri) -} -#if LANG_CXX11 -inline void NodeExecutionClosure::set_deck_uri(::std::string&& value) { - - deck_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionClosure.deck_uri) -} -#endif -inline void NodeExecutionClosure::set_deck_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - deck_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionClosure.deck_uri) -} -inline void NodeExecutionClosure::set_deck_uri(const char* value, size_t size) { - - deck_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionClosure.deck_uri) -} -inline ::std::string* NodeExecutionClosure::mutable_deck_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.deck_uri) - return deck_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionClosure::release_deck_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.deck_uri) - - return deck_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionClosure::set_allocated_deck_uri(::std::string* deck_uri) { - if (deck_uri != nullptr) { - - } else { - - } - deck_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), deck_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.deck_uri) -} - -// string dynamic_job_spec_uri = 12; -inline void NodeExecutionClosure::clear_dynamic_job_spec_uri() { - dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionClosure::dynamic_job_spec_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) - return dynamic_job_spec_uri_.GetNoArena(); -} -inline void NodeExecutionClosure::set_dynamic_job_spec_uri(const ::std::string& value) { - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) -} -#if LANG_CXX11 -inline void NodeExecutionClosure::set_dynamic_job_spec_uri(::std::string&& value) { - - dynamic_job_spec_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) -} -#endif -inline void NodeExecutionClosure::set_dynamic_job_spec_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) -} -inline void NodeExecutionClosure::set_dynamic_job_spec_uri(const char* value, size_t size) { - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) -} -inline ::std::string* NodeExecutionClosure::mutable_dynamic_job_spec_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) - return dynamic_job_spec_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionClosure::release_dynamic_job_spec_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) - - return dynamic_job_spec_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionClosure::set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri) { - if (dynamic_job_spec_uri != nullptr) { - - } else { - - } - dynamic_job_spec_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dynamic_job_spec_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) -} - -inline bool NodeExecutionClosure::has_output_result() const { - return output_result_case() != OUTPUT_RESULT_NOT_SET; -} -inline void NodeExecutionClosure::clear_has_output_result() { - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} -inline bool NodeExecutionClosure::has_target_metadata() const { - return target_metadata_case() != TARGET_METADATA_NOT_SET; -} -inline void NodeExecutionClosure::clear_has_target_metadata() { - _oneof_case_[1] = TARGET_METADATA_NOT_SET; -} -inline NodeExecutionClosure::OutputResultCase NodeExecutionClosure::output_result_case() const { - return NodeExecutionClosure::OutputResultCase(_oneof_case_[0]); -} -inline NodeExecutionClosure::TargetMetadataCase NodeExecutionClosure::target_metadata_case() const { - return NodeExecutionClosure::TargetMetadataCase(_oneof_case_[1]); -} -// ------------------------------------------------------------------- - -// WorkflowNodeMetadata - -// .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; -inline bool WorkflowNodeMetadata::has_executionid() const { - return this != internal_default_instance() && executionid_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& WorkflowNodeMetadata::executionid() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = executionid_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowNodeMetadata.executionId) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowNodeMetadata::release_executionid() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowNodeMetadata.executionId) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = executionid_; - executionid_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowNodeMetadata::mutable_executionid() { - - if (executionid_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - executionid_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowNodeMetadata.executionId) - return executionid_; -} -inline void WorkflowNodeMetadata::set_allocated_executionid(::flyteidl::core::WorkflowExecutionIdentifier* executionid) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(executionid_); - } - if (executionid) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - executionid = ::google::protobuf::internal::GetOwnedMessage( - message_arena, executionid, submessage_arena); - } - - } else { - - } - executionid_ = executionid; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowNodeMetadata.executionId) -} - -// ------------------------------------------------------------------- - -// TaskNodeMetadata - -// .flyteidl.core.CatalogCacheStatus cache_status = 1; -inline void TaskNodeMetadata::clear_cache_status() { - cache_status_ = 0; -} -inline ::flyteidl::core::CatalogCacheStatus TaskNodeMetadata::cache_status() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskNodeMetadata.cache_status) - return static_cast< ::flyteidl::core::CatalogCacheStatus >(cache_status_); -} -inline void TaskNodeMetadata::set_cache_status(::flyteidl::core::CatalogCacheStatus value) { - - cache_status_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskNodeMetadata.cache_status) -} - -// .flyteidl.core.CatalogMetadata catalog_key = 2; -inline bool TaskNodeMetadata::has_catalog_key() const { - return this != internal_default_instance() && catalog_key_ != nullptr; -} -inline const ::flyteidl::core::CatalogMetadata& TaskNodeMetadata::catalog_key() const { - const ::flyteidl::core::CatalogMetadata* p = catalog_key_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskNodeMetadata.catalog_key) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CatalogMetadata_default_instance_); -} -inline ::flyteidl::core::CatalogMetadata* TaskNodeMetadata::release_catalog_key() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskNodeMetadata.catalog_key) - - ::flyteidl::core::CatalogMetadata* temp = catalog_key_; - catalog_key_ = nullptr; - return temp; -} -inline ::flyteidl::core::CatalogMetadata* TaskNodeMetadata::mutable_catalog_key() { - - if (catalog_key_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CatalogMetadata>(GetArenaNoVirtual()); - catalog_key_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskNodeMetadata.catalog_key) - return catalog_key_; -} -inline void TaskNodeMetadata::set_allocated_catalog_key(::flyteidl::core::CatalogMetadata* catalog_key) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(catalog_key_); - } - if (catalog_key) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - catalog_key = ::google::protobuf::internal::GetOwnedMessage( - message_arena, catalog_key, submessage_arena); - } - - } else { - - } - catalog_key_ = catalog_key; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskNodeMetadata.catalog_key) -} - -// string checkpoint_uri = 4; -inline void TaskNodeMetadata::clear_checkpoint_uri() { - checkpoint_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskNodeMetadata::checkpoint_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) - return checkpoint_uri_.GetNoArena(); -} -inline void TaskNodeMetadata::set_checkpoint_uri(const ::std::string& value) { - - checkpoint_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) -} -#if LANG_CXX11 -inline void TaskNodeMetadata::set_checkpoint_uri(::std::string&& value) { - - checkpoint_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) -} -#endif -inline void TaskNodeMetadata::set_checkpoint_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - checkpoint_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) -} -inline void TaskNodeMetadata::set_checkpoint_uri(const char* value, size_t size) { - - checkpoint_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) -} -inline ::std::string* TaskNodeMetadata::mutable_checkpoint_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) - return checkpoint_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskNodeMetadata::release_checkpoint_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) - - return checkpoint_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskNodeMetadata::set_allocated_checkpoint_uri(::std::string* checkpoint_uri) { - if (checkpoint_uri != nullptr) { - - } else { - - } - checkpoint_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), checkpoint_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskNodeMetadata.checkpoint_uri) -} - -// ------------------------------------------------------------------- - -// DynamicWorkflowNodeMetadata - -// .flyteidl.core.Identifier id = 1; -inline bool DynamicWorkflowNodeMetadata::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& DynamicWorkflowNodeMetadata::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DynamicWorkflowNodeMetadata.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* DynamicWorkflowNodeMetadata::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DynamicWorkflowNodeMetadata.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* DynamicWorkflowNodeMetadata::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DynamicWorkflowNodeMetadata.id) - return id_; -} -inline void DynamicWorkflowNodeMetadata::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DynamicWorkflowNodeMetadata.id) -} - -// .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; -inline bool DynamicWorkflowNodeMetadata::has_compiled_workflow() const { - return this != internal_default_instance() && compiled_workflow_ != nullptr; -} -inline const ::flyteidl::core::CompiledWorkflowClosure& DynamicWorkflowNodeMetadata::compiled_workflow() const { - const ::flyteidl::core::CompiledWorkflowClosure* p = compiled_workflow_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DynamicWorkflowNodeMetadata.compiled_workflow) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CompiledWorkflowClosure_default_instance_); -} -inline ::flyteidl::core::CompiledWorkflowClosure* DynamicWorkflowNodeMetadata::release_compiled_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DynamicWorkflowNodeMetadata.compiled_workflow) - - ::flyteidl::core::CompiledWorkflowClosure* temp = compiled_workflow_; - compiled_workflow_ = nullptr; - return temp; -} -inline ::flyteidl::core::CompiledWorkflowClosure* DynamicWorkflowNodeMetadata::mutable_compiled_workflow() { - - if (compiled_workflow_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CompiledWorkflowClosure>(GetArenaNoVirtual()); - compiled_workflow_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DynamicWorkflowNodeMetadata.compiled_workflow) - return compiled_workflow_; -} -inline void DynamicWorkflowNodeMetadata::set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(compiled_workflow_); - } - if (compiled_workflow) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - compiled_workflow = ::google::protobuf::internal::GetOwnedMessage( - message_arena, compiled_workflow, submessage_arena); - } - - } else { - - } - compiled_workflow_ = compiled_workflow; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DynamicWorkflowNodeMetadata.compiled_workflow) -} - -// string dynamic_job_spec_uri = 3; -inline void DynamicWorkflowNodeMetadata::clear_dynamic_job_spec_uri() { - dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DynamicWorkflowNodeMetadata::dynamic_job_spec_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) - return dynamic_job_spec_uri_.GetNoArena(); -} -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const ::std::string& value) { - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -#if LANG_CXX11 -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(::std::string&& value) { - - dynamic_job_spec_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -#endif -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value, size_t size) { - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -inline ::std::string* DynamicWorkflowNodeMetadata::mutable_dynamic_job_spec_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) - return dynamic_job_spec_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DynamicWorkflowNodeMetadata::release_dynamic_job_spec_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) - - return dynamic_job_spec_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DynamicWorkflowNodeMetadata::set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri) { - if (dynamic_job_spec_uri != nullptr) { - - } else { - - } - dynamic_job_spec_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dynamic_job_spec_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} - -// ------------------------------------------------------------------- - -// NodeExecutionGetDataRequest - -// .flyteidl.core.NodeExecutionIdentifier id = 1; -inline bool NodeExecutionGetDataRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& NodeExecutionGetDataRequest::id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecutionGetDataRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataRequest.id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecutionGetDataRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataRequest.id) - return id_; -} -inline void NodeExecutionGetDataRequest::set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataRequest.id) -} - -// ------------------------------------------------------------------- - -// NodeExecutionGetDataResponse - -// .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; -inline bool NodeExecutionGetDataResponse::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline const ::flyteidl::admin::UrlBlob& NodeExecutionGetDataResponse::inputs() const { - const ::flyteidl::admin::UrlBlob* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataResponse.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_UrlBlob_default_instance_); -} -inline ::flyteidl::admin::UrlBlob* NodeExecutionGetDataResponse::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataResponse.inputs) - - ::flyteidl::admin::UrlBlob* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::UrlBlob* NodeExecutionGetDataResponse::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::UrlBlob>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataResponse.inputs) - return inputs_; -} -inline void NodeExecutionGetDataResponse::set_allocated_inputs(::flyteidl::admin::UrlBlob* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.inputs) -} - -// .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; -inline bool NodeExecutionGetDataResponse::has_outputs() const { - return this != internal_default_instance() && outputs_ != nullptr; -} -inline const ::flyteidl::admin::UrlBlob& NodeExecutionGetDataResponse::outputs() const { - const ::flyteidl::admin::UrlBlob* p = outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataResponse.outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_UrlBlob_default_instance_); -} -inline ::flyteidl::admin::UrlBlob* NodeExecutionGetDataResponse::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataResponse.outputs) - - ::flyteidl::admin::UrlBlob* temp = outputs_; - outputs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::UrlBlob* NodeExecutionGetDataResponse::mutable_outputs() { - - if (outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::UrlBlob>(GetArenaNoVirtual()); - outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataResponse.outputs) - return outputs_; -} -inline void NodeExecutionGetDataResponse::set_allocated_outputs(::flyteidl::admin::UrlBlob* outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(outputs_); - } - if (outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, outputs, submessage_arena); - } - - } else { - - } - outputs_ = outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.outputs) -} - -// .flyteidl.core.LiteralMap full_inputs = 3; -inline bool NodeExecutionGetDataResponse::has_full_inputs() const { - return this != internal_default_instance() && full_inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& NodeExecutionGetDataResponse::full_inputs() const { - const ::flyteidl::core::LiteralMap* p = full_inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataResponse.full_inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* NodeExecutionGetDataResponse::release_full_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataResponse.full_inputs) - - ::flyteidl::core::LiteralMap* temp = full_inputs_; - full_inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* NodeExecutionGetDataResponse::mutable_full_inputs() { - - if (full_inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - full_inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataResponse.full_inputs) - return full_inputs_; -} -inline void NodeExecutionGetDataResponse::set_allocated_full_inputs(::flyteidl::core::LiteralMap* full_inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(full_inputs_); - } - if (full_inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - full_inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, full_inputs, submessage_arena); - } - - } else { - - } - full_inputs_ = full_inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.full_inputs) -} - -// .flyteidl.core.LiteralMap full_outputs = 4; -inline bool NodeExecutionGetDataResponse::has_full_outputs() const { - return this != internal_default_instance() && full_outputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& NodeExecutionGetDataResponse::full_outputs() const { - const ::flyteidl::core::LiteralMap* p = full_outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataResponse.full_outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* NodeExecutionGetDataResponse::release_full_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataResponse.full_outputs) - - ::flyteidl::core::LiteralMap* temp = full_outputs_; - full_outputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* NodeExecutionGetDataResponse::mutable_full_outputs() { - - if (full_outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - full_outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataResponse.full_outputs) - return full_outputs_; -} -inline void NodeExecutionGetDataResponse::set_allocated_full_outputs(::flyteidl::core::LiteralMap* full_outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(full_outputs_); - } - if (full_outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - full_outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, full_outputs, submessage_arena); - } - - } else { - - } - full_outputs_ = full_outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.full_outputs) -} - -// .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; -inline bool NodeExecutionGetDataResponse::has_dynamic_workflow() const { - return this != internal_default_instance() && dynamic_workflow_ != nullptr; -} -inline void NodeExecutionGetDataResponse::clear_dynamic_workflow() { - if (GetArenaNoVirtual() == nullptr && dynamic_workflow_ != nullptr) { - delete dynamic_workflow_; - } - dynamic_workflow_ = nullptr; -} -inline const ::flyteidl::admin::DynamicWorkflowNodeMetadata& NodeExecutionGetDataResponse::dynamic_workflow() const { - const ::flyteidl::admin::DynamicWorkflowNodeMetadata* p = dynamic_workflow_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataResponse.dynamic_workflow) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_DynamicWorkflowNodeMetadata_default_instance_); -} -inline ::flyteidl::admin::DynamicWorkflowNodeMetadata* NodeExecutionGetDataResponse::release_dynamic_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataResponse.dynamic_workflow) - - ::flyteidl::admin::DynamicWorkflowNodeMetadata* temp = dynamic_workflow_; - dynamic_workflow_ = nullptr; - return temp; -} -inline ::flyteidl::admin::DynamicWorkflowNodeMetadata* NodeExecutionGetDataResponse::mutable_dynamic_workflow() { - - if (dynamic_workflow_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::DynamicWorkflowNodeMetadata>(GetArenaNoVirtual()); - dynamic_workflow_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataResponse.dynamic_workflow) - return dynamic_workflow_; -} -inline void NodeExecutionGetDataResponse::set_allocated_dynamic_workflow(::flyteidl::admin::DynamicWorkflowNodeMetadata* dynamic_workflow) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete dynamic_workflow_; - } - if (dynamic_workflow) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - dynamic_workflow = ::google::protobuf::internal::GetOwnedMessage( - message_arena, dynamic_workflow, submessage_arena); - } - - } else { - - } - dynamic_workflow_ = dynamic_workflow; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.dynamic_workflow) -} - -// .flyteidl.admin.FlyteURLs flyte_urls = 17; -inline bool NodeExecutionGetDataResponse::has_flyte_urls() const { - return this != internal_default_instance() && flyte_urls_ != nullptr; -} -inline const ::flyteidl::admin::FlyteURLs& NodeExecutionGetDataResponse::flyte_urls() const { - const ::flyteidl::admin::FlyteURLs* p = flyte_urls_; - // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_FlyteURLs_default_instance_); -} -inline ::flyteidl::admin::FlyteURLs* NodeExecutionGetDataResponse::release_flyte_urls() { - // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) - - ::flyteidl::admin::FlyteURLs* temp = flyte_urls_; - flyte_urls_ = nullptr; - return temp; -} -inline ::flyteidl::admin::FlyteURLs* NodeExecutionGetDataResponse::mutable_flyte_urls() { - - if (flyte_urls_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::FlyteURLs>(GetArenaNoVirtual()); - flyte_urls_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) - return flyte_urls_; -} -inline void NodeExecutionGetDataResponse::set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(flyte_urls_); - } - if (flyte_urls) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - flyte_urls = ::google::protobuf::internal::GetOwnedMessage( - message_arena, flyte_urls, submessage_arena); - } - - } else { - - } - flyte_urls_ = flyte_urls; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) -} - -// ------------------------------------------------------------------- - -// GetDynamicNodeWorkflowRequest - -// .flyteidl.core.NodeExecutionIdentifier id = 1; -inline bool GetDynamicNodeWorkflowRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& GetDynamicNodeWorkflowRequest::id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.GetDynamicNodeWorkflowRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* GetDynamicNodeWorkflowRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetDynamicNodeWorkflowRequest.id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* GetDynamicNodeWorkflowRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetDynamicNodeWorkflowRequest.id) - return id_; -} -inline void GetDynamicNodeWorkflowRequest::set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetDynamicNodeWorkflowRequest.id) -} - -// ------------------------------------------------------------------- - -// DynamicNodeWorkflowResponse - -// .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; -inline bool DynamicNodeWorkflowResponse::has_compiled_workflow() const { - return this != internal_default_instance() && compiled_workflow_ != nullptr; -} -inline const ::flyteidl::core::CompiledWorkflowClosure& DynamicNodeWorkflowResponse::compiled_workflow() const { - const ::flyteidl::core::CompiledWorkflowClosure* p = compiled_workflow_; - // @@protoc_insertion_point(field_get:flyteidl.admin.DynamicNodeWorkflowResponse.compiled_workflow) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CompiledWorkflowClosure_default_instance_); -} -inline ::flyteidl::core::CompiledWorkflowClosure* DynamicNodeWorkflowResponse::release_compiled_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.DynamicNodeWorkflowResponse.compiled_workflow) - - ::flyteidl::core::CompiledWorkflowClosure* temp = compiled_workflow_; - compiled_workflow_ = nullptr; - return temp; -} -inline ::flyteidl::core::CompiledWorkflowClosure* DynamicNodeWorkflowResponse::mutable_compiled_workflow() { - - if (compiled_workflow_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CompiledWorkflowClosure>(GetArenaNoVirtual()); - compiled_workflow_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.DynamicNodeWorkflowResponse.compiled_workflow) - return compiled_workflow_; -} -inline void DynamicNodeWorkflowResponse::set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(compiled_workflow_); - } - if (compiled_workflow) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - compiled_workflow = ::google::protobuf::internal::GetOwnedMessage( - message_arena, compiled_workflow, submessage_arena); - } - - } else { - - } - compiled_workflow_ = compiled_workflow; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DynamicNodeWorkflowResponse.compiled_workflow) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fnode_5fexecution_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/notification.grpc.pb.cc deleted file mode 100644 index ae50a37648..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/notification.proto - -#include "flyteidl/admin/notification.pb.h" -#include "flyteidl/admin/notification.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/notification.grpc.pb.h deleted file mode 100644 index 61ec99c537..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/notification.proto -#ifndef GRPC_flyteidl_2fadmin_2fnotification_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fnotification_2eproto__INCLUDED - -#include "flyteidl/admin/notification.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fnotification_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/notification.pb.cc deleted file mode 100644 index 2807e63edf..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.pb.cc +++ /dev/null @@ -1,623 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/notification.proto - -#include "flyteidl/admin/notification.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace admin { -class EmailMessageDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _EmailMessage_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsEmailMessage_flyteidl_2fadmin_2fnotification_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_EmailMessage_default_instance_; - new (ptr) ::flyteidl::admin::EmailMessage(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::EmailMessage::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_EmailMessage_flyteidl_2fadmin_2fnotification_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEmailMessage_flyteidl_2fadmin_2fnotification_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fnotification_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_EmailMessage_flyteidl_2fadmin_2fnotification_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fnotification_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fnotification_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fnotification_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fnotification_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EmailMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EmailMessage, recipients_email_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EmailMessage, sender_email_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EmailMessage, subject_line_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::EmailMessage, body_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::EmailMessage)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_EmailMessage_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fnotification_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fnotification_2eproto, "flyteidl/admin/notification.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fnotification_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fnotification_2eproto, 1, file_level_enum_descriptors_flyteidl_2fadmin_2fnotification_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fnotification_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fnotification_2eproto[] = - "\n!flyteidl/admin/notification.proto\022\016fly" - "teidl.admin\"b\n\014EmailMessage\022\030\n\020recipient" - "s_email\030\001 \003(\t\022\024\n\014sender_email\030\002 \001(\t\022\024\n\014s" - "ubject_line\030\003 \001(\t\022\014\n\004body\030\004 \001(\tB=Z;githu" - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" - "flyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fnotification_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fnotification_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fnotification_2eproto, - "flyteidl/admin/notification.proto", &assign_descriptors_table_flyteidl_2fadmin_2fnotification_2eproto, 222, -}; - -void AddDescriptors_flyteidl_2fadmin_2fnotification_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fnotification_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fnotification_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fnotification_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void EmailMessage::InitAsDefaultInstance() { -} -class EmailMessage::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int EmailMessage::kRecipientsEmailFieldNumber; -const int EmailMessage::kSenderEmailFieldNumber; -const int EmailMessage::kSubjectLineFieldNumber; -const int EmailMessage::kBodyFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -EmailMessage::EmailMessage() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.EmailMessage) -} -EmailMessage::EmailMessage(const EmailMessage& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - recipients_email_(from.recipients_email_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - sender_email_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.sender_email().size() > 0) { - sender_email_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sender_email_); - } - subject_line_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.subject_line().size() > 0) { - subject_line_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subject_line_); - } - body_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.body().size() > 0) { - body_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.body_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.EmailMessage) -} - -void EmailMessage::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_EmailMessage_flyteidl_2fadmin_2fnotification_2eproto.base); - sender_email_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - subject_line_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - body_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -EmailMessage::~EmailMessage() { - // @@protoc_insertion_point(destructor:flyteidl.admin.EmailMessage) - SharedDtor(); -} - -void EmailMessage::SharedDtor() { - sender_email_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - subject_line_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - body_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void EmailMessage::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EmailMessage& EmailMessage::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_EmailMessage_flyteidl_2fadmin_2fnotification_2eproto.base); - return *internal_default_instance(); -} - - -void EmailMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.EmailMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - recipients_email_.Clear(); - sender_email_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - subject_line_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - body_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* EmailMessage::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.EmailMessage.recipients_email"); - object = msg->add_recipients_email(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - // string sender_email = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.EmailMessage.sender_email"); - object = msg->mutable_sender_email(); - 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 subject_line = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.EmailMessage.subject_line"); - object = msg->mutable_subject_line(); - 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 body = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.EmailMessage.body"); - object = msg->mutable_body(); - 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 EmailMessage::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.EmailMessage) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string recipients_email = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_recipients_email())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(this->recipients_email_size() - 1).data(), - static_cast(this->recipients_email(this->recipients_email_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.EmailMessage.recipients_email")); - } else { - goto handle_unusual; - } - break; - } - - // string sender_email = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_sender_email())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->sender_email().data(), static_cast(this->sender_email().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.EmailMessage.sender_email")); - } else { - goto handle_unusual; - } - break; - } - - // string subject_line = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_subject_line())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->subject_line().data(), static_cast(this->subject_line().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.EmailMessage.subject_line")); - } else { - goto handle_unusual; - } - break; - } - - // string body = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_body())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->body().data(), static_cast(this->body().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.EmailMessage.body")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.EmailMessage) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.EmailMessage) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void EmailMessage::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.EmailMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.recipients_email"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->recipients_email(i), output); - } - - // string sender_email = 2; - if (this->sender_email().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->sender_email().data(), static_cast(this->sender_email().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.sender_email"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->sender_email(), output); - } - - // string subject_line = 3; - if (this->subject_line().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->subject_line().data(), static_cast(this->subject_line().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.subject_line"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->subject_line(), output); - } - - // string body = 4; - if (this->body().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->body().data(), static_cast(this->body().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.body"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->body(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.EmailMessage) -} - -::google::protobuf::uint8* EmailMessage::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.EmailMessage) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string recipients_email = 1; - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->recipients_email(i).data(), static_cast(this->recipients_email(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.recipients_email"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->recipients_email(i), target); - } - - // string sender_email = 2; - if (this->sender_email().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->sender_email().data(), static_cast(this->sender_email().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.sender_email"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->sender_email(), target); - } - - // string subject_line = 3; - if (this->subject_line().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->subject_line().data(), static_cast(this->subject_line().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.subject_line"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->subject_line(), target); - } - - // string body = 4; - if (this->body().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->body().data(), static_cast(this->body().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.EmailMessage.body"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->body(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.EmailMessage) - return target; -} - -size_t EmailMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.EmailMessage) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string recipients_email = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->recipients_email_size()); - for (int i = 0, n = this->recipients_email_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->recipients_email(i)); - } - - // string sender_email = 2; - if (this->sender_email().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->sender_email()); - } - - // string subject_line = 3; - if (this->subject_line().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->subject_line()); - } - - // string body = 4; - if (this->body().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->body()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EmailMessage::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.EmailMessage) - GOOGLE_DCHECK_NE(&from, this); - const EmailMessage* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.EmailMessage) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.EmailMessage) - MergeFrom(*source); - } -} - -void EmailMessage::MergeFrom(const EmailMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.EmailMessage) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - recipients_email_.MergeFrom(from.recipients_email_); - if (from.sender_email().size() > 0) { - - sender_email_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.sender_email_); - } - if (from.subject_line().size() > 0) { - - subject_line_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subject_line_); - } - if (from.body().size() > 0) { - - body_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.body_); - } -} - -void EmailMessage::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.EmailMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EmailMessage::CopyFrom(const EmailMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.EmailMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EmailMessage::IsInitialized() const { - return true; -} - -void EmailMessage::Swap(EmailMessage* other) { - if (other == this) return; - InternalSwap(other); -} -void EmailMessage::InternalSwap(EmailMessage* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - recipients_email_.InternalSwap(CastToBase(&other->recipients_email_)); - sender_email_.Swap(&other->sender_email_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - subject_line_.Swap(&other->subject_line_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - body_.Swap(&other->body_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata EmailMessage::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fnotification_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fnotification_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::EmailMessage* Arena::CreateMaybeMessage< ::flyteidl::admin::EmailMessage >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::EmailMessage >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/notification.pb.h deleted file mode 100644 index f73d432fec..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/notification.pb.h +++ /dev/null @@ -1,490 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/notification.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fnotification_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fnotification_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnotification_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fnotification_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[1] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fnotification_2eproto(); -namespace flyteidl { -namespace admin { -class EmailMessage; -class EmailMessageDefaultTypeInternal; -extern EmailMessageDefaultTypeInternal _EmailMessage_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::EmailMessage* Arena::CreateMaybeMessage<::flyteidl::admin::EmailMessage>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class EmailMessage final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.EmailMessage) */ { - public: - EmailMessage(); - virtual ~EmailMessage(); - - EmailMessage(const EmailMessage& from); - - inline EmailMessage& operator=(const EmailMessage& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - EmailMessage(EmailMessage&& from) noexcept - : EmailMessage() { - *this = ::std::move(from); - } - - inline EmailMessage& operator=(EmailMessage&& 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 EmailMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EmailMessage* internal_default_instance() { - return reinterpret_cast( - &_EmailMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(EmailMessage* other); - friend void swap(EmailMessage& a, EmailMessage& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline EmailMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - EmailMessage* 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 EmailMessage& from); - void MergeFrom(const EmailMessage& 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(EmailMessage* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string recipients_email = 1; - int recipients_email_size() const; - void clear_recipients_email(); - static const int kRecipientsEmailFieldNumber = 1; - const ::std::string& recipients_email(int index) const; - ::std::string* mutable_recipients_email(int index); - void set_recipients_email(int index, const ::std::string& value); - #if LANG_CXX11 - void set_recipients_email(int index, ::std::string&& value); - #endif - void set_recipients_email(int index, const char* value); - void set_recipients_email(int index, const char* value, size_t size); - ::std::string* add_recipients_email(); - void add_recipients_email(const ::std::string& value); - #if LANG_CXX11 - void add_recipients_email(::std::string&& value); - #endif - void add_recipients_email(const char* value); - void add_recipients_email(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& recipients_email() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_recipients_email(); - - // string sender_email = 2; - void clear_sender_email(); - static const int kSenderEmailFieldNumber = 2; - const ::std::string& sender_email() const; - void set_sender_email(const ::std::string& value); - #if LANG_CXX11 - void set_sender_email(::std::string&& value); - #endif - void set_sender_email(const char* value); - void set_sender_email(const char* value, size_t size); - ::std::string* mutable_sender_email(); - ::std::string* release_sender_email(); - void set_allocated_sender_email(::std::string* sender_email); - - // string subject_line = 3; - void clear_subject_line(); - static const int kSubjectLineFieldNumber = 3; - const ::std::string& subject_line() const; - void set_subject_line(const ::std::string& value); - #if LANG_CXX11 - void set_subject_line(::std::string&& value); - #endif - void set_subject_line(const char* value); - void set_subject_line(const char* value, size_t size); - ::std::string* mutable_subject_line(); - ::std::string* release_subject_line(); - void set_allocated_subject_line(::std::string* subject_line); - - // string body = 4; - void clear_body(); - static const int kBodyFieldNumber = 4; - const ::std::string& body() const; - void set_body(const ::std::string& value); - #if LANG_CXX11 - void set_body(::std::string&& value); - #endif - void set_body(const char* value); - void set_body(const char* value, size_t size); - ::std::string* mutable_body(); - ::std::string* release_body(); - void set_allocated_body(::std::string* body); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EmailMessage) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> recipients_email_; - ::google::protobuf::internal::ArenaStringPtr sender_email_; - ::google::protobuf::internal::ArenaStringPtr subject_line_; - ::google::protobuf::internal::ArenaStringPtr body_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fnotification_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// EmailMessage - -// repeated string recipients_email = 1; -inline int EmailMessage::recipients_email_size() const { - return recipients_email_.size(); -} -inline void EmailMessage::clear_recipients_email() { - recipients_email_.Clear(); -} -inline const ::std::string& EmailMessage::recipients_email(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EmailMessage.recipients_email) - return recipients_email_.Get(index); -} -inline ::std::string* EmailMessage::mutable_recipients_email(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EmailMessage.recipients_email) - return recipients_email_.Mutable(index); -} -inline void EmailMessage::set_recipients_email(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.EmailMessage.recipients_email) - recipients_email_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void EmailMessage::set_recipients_email(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.EmailMessage.recipients_email) - recipients_email_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void EmailMessage::set_recipients_email(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.EmailMessage.recipients_email) -} -inline void EmailMessage::set_recipients_email(int index, const char* value, size_t size) { - recipients_email_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.EmailMessage.recipients_email) -} -inline ::std::string* EmailMessage::add_recipients_email() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.EmailMessage.recipients_email) - return recipients_email_.Add(); -} -inline void EmailMessage::add_recipients_email(const ::std::string& value) { - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.admin.EmailMessage.recipients_email) -} -#if LANG_CXX11 -inline void EmailMessage::add_recipients_email(::std::string&& value) { - recipients_email_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.admin.EmailMessage.recipients_email) -} -#endif -inline void EmailMessage::add_recipients_email(const char* value) { - GOOGLE_DCHECK(value != nullptr); - recipients_email_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.admin.EmailMessage.recipients_email) -} -inline void EmailMessage::add_recipients_email(const char* value, size_t size) { - recipients_email_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.EmailMessage.recipients_email) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -EmailMessage::recipients_email() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.EmailMessage.recipients_email) - return recipients_email_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -EmailMessage::mutable_recipients_email() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.EmailMessage.recipients_email) - return &recipients_email_; -} - -// string sender_email = 2; -inline void EmailMessage::clear_sender_email() { - sender_email_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& EmailMessage::sender_email() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EmailMessage.sender_email) - return sender_email_.GetNoArena(); -} -inline void EmailMessage::set_sender_email(const ::std::string& value) { - - sender_email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.EmailMessage.sender_email) -} -#if LANG_CXX11 -inline void EmailMessage::set_sender_email(::std::string&& value) { - - sender_email_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.EmailMessage.sender_email) -} -#endif -inline void EmailMessage::set_sender_email(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - sender_email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.EmailMessage.sender_email) -} -inline void EmailMessage::set_sender_email(const char* value, size_t size) { - - sender_email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.EmailMessage.sender_email) -} -inline ::std::string* EmailMessage::mutable_sender_email() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EmailMessage.sender_email) - return sender_email_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* EmailMessage::release_sender_email() { - // @@protoc_insertion_point(field_release:flyteidl.admin.EmailMessage.sender_email) - - return sender_email_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void EmailMessage::set_allocated_sender_email(::std::string* sender_email) { - if (sender_email != nullptr) { - - } else { - - } - sender_email_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sender_email); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.EmailMessage.sender_email) -} - -// string subject_line = 3; -inline void EmailMessage::clear_subject_line() { - subject_line_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& EmailMessage::subject_line() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EmailMessage.subject_line) - return subject_line_.GetNoArena(); -} -inline void EmailMessage::set_subject_line(const ::std::string& value) { - - subject_line_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.EmailMessage.subject_line) -} -#if LANG_CXX11 -inline void EmailMessage::set_subject_line(::std::string&& value) { - - subject_line_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.EmailMessage.subject_line) -} -#endif -inline void EmailMessage::set_subject_line(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - subject_line_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.EmailMessage.subject_line) -} -inline void EmailMessage::set_subject_line(const char* value, size_t size) { - - subject_line_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.EmailMessage.subject_line) -} -inline ::std::string* EmailMessage::mutable_subject_line() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EmailMessage.subject_line) - return subject_line_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* EmailMessage::release_subject_line() { - // @@protoc_insertion_point(field_release:flyteidl.admin.EmailMessage.subject_line) - - return subject_line_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void EmailMessage::set_allocated_subject_line(::std::string* subject_line) { - if (subject_line != nullptr) { - - } else { - - } - subject_line_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), subject_line); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.EmailMessage.subject_line) -} - -// string body = 4; -inline void EmailMessage::clear_body() { - body_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& EmailMessage::body() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.EmailMessage.body) - return body_.GetNoArena(); -} -inline void EmailMessage::set_body(const ::std::string& value) { - - body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.EmailMessage.body) -} -#if LANG_CXX11 -inline void EmailMessage::set_body(::std::string&& value) { - - body_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.EmailMessage.body) -} -#endif -inline void EmailMessage::set_body(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.EmailMessage.body) -} -inline void EmailMessage::set_body(const char* value, size_t size) { - - body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.EmailMessage.body) -} -inline ::std::string* EmailMessage::mutable_body() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.EmailMessage.body) - return body_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* EmailMessage::release_body() { - // @@protoc_insertion_point(field_release:flyteidl.admin.EmailMessage.body) - - return body_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void EmailMessage::set_allocated_body(::std::string* body) { - if (body != nullptr) { - - } else { - - } - body_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), body); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.EmailMessage.body) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fnotification_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project.grpc.pb.cc deleted file mode 100644 index 278f924864..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/project.proto - -#include "flyteidl/admin/project.pb.h" -#include "flyteidl/admin/project.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project.grpc.pb.h deleted file mode 100644 index 68aafe8e67..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/project.proto -#ifndef GRPC_flyteidl_2fadmin_2fproject_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fproject_2eproto__INCLUDED - -#include "flyteidl/admin/project.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fproject_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project.pb.cc deleted file mode 100644 index 03f21267d0..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project.pb.cc +++ /dev/null @@ -1,3038 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project.proto - -#include "flyteidl/admin/project.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Domain_flyteidl_2fadmin_2fproject_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Project_flyteidl_2fadmin_2fproject_2eproto; -namespace flyteidl { -namespace admin { -class DomainDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Domain_default_instance_; -class ProjectDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Project_default_instance_; -class ProjectsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Projects_default_instance_; -class ProjectListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectListRequest_default_instance_; -class ProjectRegisterRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectRegisterRequest_default_instance_; -class ProjectRegisterResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectRegisterResponse_default_instance_; -class ProjectUpdateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectUpdateResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsDomain_flyteidl_2fadmin_2fproject_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Domain_default_instance_; - new (ptr) ::flyteidl::admin::Domain(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Domain::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Domain_flyteidl_2fadmin_2fproject_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDomain_flyteidl_2fadmin_2fproject_2eproto}, {}}; - -static void InitDefaultsProject_flyteidl_2fadmin_2fproject_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Project_default_instance_; - new (ptr) ::flyteidl::admin::Project(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Project::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Project_flyteidl_2fadmin_2fproject_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsProject_flyteidl_2fadmin_2fproject_2eproto}, { - &scc_info_Domain_flyteidl_2fadmin_2fproject_2eproto.base, - &scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsProjects_flyteidl_2fadmin_2fproject_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Projects_default_instance_; - new (ptr) ::flyteidl::admin::Projects(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Projects::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Projects_flyteidl_2fadmin_2fproject_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjects_flyteidl_2fadmin_2fproject_2eproto}, { - &scc_info_Project_flyteidl_2fadmin_2fproject_2eproto.base,}}; - -static void InitDefaultsProjectListRequest_flyteidl_2fadmin_2fproject_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectListRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectListRequest_flyteidl_2fadmin_2fproject_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectListRequest_flyteidl_2fadmin_2fproject_2eproto}, { - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsProjectRegisterRequest_flyteidl_2fadmin_2fproject_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectRegisterRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectRegisterRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectRegisterRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectRegisterRequest_flyteidl_2fadmin_2fproject_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectRegisterRequest_flyteidl_2fadmin_2fproject_2eproto}, { - &scc_info_Project_flyteidl_2fadmin_2fproject_2eproto.base,}}; - -static void InitDefaultsProjectRegisterResponse_flyteidl_2fadmin_2fproject_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectRegisterResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectRegisterResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectRegisterResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectRegisterResponse_flyteidl_2fadmin_2fproject_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectRegisterResponse_flyteidl_2fadmin_2fproject_2eproto}, {}}; - -static void InitDefaultsProjectUpdateResponse_flyteidl_2fadmin_2fproject_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectUpdateResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectUpdateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectUpdateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectUpdateResponse_flyteidl_2fadmin_2fproject_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectUpdateResponse_flyteidl_2fadmin_2fproject_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fproject_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Domain_flyteidl_2fadmin_2fproject_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Project_flyteidl_2fadmin_2fproject_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Projects_flyteidl_2fadmin_2fproject_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectListRequest_flyteidl_2fadmin_2fproject_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectRegisterRequest_flyteidl_2fadmin_2fproject_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectRegisterResponse_flyteidl_2fadmin_2fproject_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectUpdateResponse_flyteidl_2fadmin_2fproject_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[7]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fproject_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fproject_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fproject_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Domain, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Domain, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Domain, name_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, domains_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, description_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, labels_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, state_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Project, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Projects, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Projects, projects_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Projects, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectListRequest, sort_by_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectListRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectRegisterRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectRegisterRequest, project_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectRegisterResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectUpdateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::Domain)}, - { 7, -1, sizeof(::flyteidl::admin::Project)}, - { 19, -1, sizeof(::flyteidl::admin::Projects)}, - { 26, -1, sizeof(::flyteidl::admin::ProjectListRequest)}, - { 36, -1, sizeof(::flyteidl::admin::ProjectRegisterRequest)}, - { 42, -1, sizeof(::flyteidl::admin::ProjectRegisterResponse)}, - { 47, -1, sizeof(::flyteidl::admin::ProjectUpdateResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_Domain_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Project_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Projects_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectRegisterRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectRegisterResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectUpdateResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fproject_2eproto, "flyteidl/admin/project.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fproject_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fproject_2eproto, 7, file_level_enum_descriptors_flyteidl_2fadmin_2fproject_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fproject_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fproject_2eproto[] = - "\n\034flyteidl/admin/project.proto\022\016flyteidl" - ".admin\032\033flyteidl/admin/common.proto\"\"\n\006D" - "omain\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\"\213\002\n\007Proj" - "ect\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\'\n\007domains" - "\030\003 \003(\0132\026.flyteidl.admin.Domain\022\023\n\013descri" - "ption\030\004 \001(\t\022&\n\006labels\030\005 \001(\0132\026.flyteidl.a" - "dmin.Labels\0223\n\005state\030\006 \001(\0162$.flyteidl.ad" - "min.Project.ProjectState\022\013\n\003org\030\007 \001(\t\">\n" - "\014ProjectState\022\n\n\006ACTIVE\020\000\022\014\n\010ARCHIVED\020\001\022" - "\024\n\020SYSTEM_GENERATED\020\002\"D\n\010Projects\022)\n\010pro" - "jects\030\001 \003(\0132\027.flyteidl.admin.Project\022\r\n\005" - "token\030\002 \001(\t\"w\n\022ProjectListRequest\022\r\n\005lim" - "it\030\001 \001(\r\022\r\n\005token\030\002 \001(\t\022\017\n\007filters\030\003 \001(\t" - "\022%\n\007sort_by\030\004 \001(\0132\024.flyteidl.admin.Sort\022" - "\013\n\003org\030\005 \001(\t\"B\n\026ProjectRegisterRequest\022(" - "\n\007project\030\001 \001(\0132\027.flyteidl.admin.Project" - "\"\031\n\027ProjectRegisterResponse\"\027\n\025ProjectUp" - "dateResponseB=Z;github.com/flyteorg/flyt" - "e/flyteidl/gen/pb-go/flyteidl/adminb\006pro" - "to3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fproject_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fproject_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fproject_2eproto, - "flyteidl/admin/project.proto", &assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto, 763, -}; - -void AddDescriptors_flyteidl_2fadmin_2fproject_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fproject_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fproject_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fproject_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* Project_ProjectState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fproject_2eproto[0]; -} -bool Project_ProjectState_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const Project_ProjectState Project::ACTIVE; -const Project_ProjectState Project::ARCHIVED; -const Project_ProjectState Project::SYSTEM_GENERATED; -const Project_ProjectState Project::ProjectState_MIN; -const Project_ProjectState Project::ProjectState_MAX; -const int Project::ProjectState_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void Domain::InitAsDefaultInstance() { -} -class Domain::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Domain::kIdFieldNumber; -const int Domain::kNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Domain::Domain() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Domain) -} -Domain::Domain(const Domain& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.id().size() > 0) { - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Domain) -} - -void Domain::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Domain_flyteidl_2fadmin_2fproject_2eproto.base); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Domain::~Domain() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Domain) - SharedDtor(); -} - -void Domain::SharedDtor() { - id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Domain::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Domain& Domain::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Domain_flyteidl_2fadmin_2fproject_2eproto.base); - return *internal_default_instance(); -} - - -void Domain::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Domain) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Domain::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Domain.id"); - object = msg->mutable_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 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("flyteidl.admin.Domain.name"); - object = msg->mutable_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 Domain::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Domain) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Domain.id")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Domain.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:flyteidl.admin.Domain) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Domain) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Domain::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Domain) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Domain.id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->id(), output); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Domain.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Domain) -} - -::google::protobuf::uint8* Domain::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Domain) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Domain.id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->id(), target); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Domain.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->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:flyteidl.admin.Domain) - return target; -} - -size_t Domain::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Domain) - 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 id = 1; - if (this->id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->id()); - } - - // string name = 2; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Domain::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Domain) - GOOGLE_DCHECK_NE(&from, this); - const Domain* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Domain) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Domain) - MergeFrom(*source); - } -} - -void Domain::MergeFrom(const Domain& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Domain) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.id().size() > 0) { - - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } -} - -void Domain::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Domain) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Domain::CopyFrom(const Domain& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Domain) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Domain::IsInitialized() const { - return true; -} - -void Domain::Swap(Domain* other) { - if (other == this) return; - InternalSwap(other); -} -void Domain::InternalSwap(Domain* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - id_.Swap(&other->id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Domain::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Project::InitAsDefaultInstance() { - ::flyteidl::admin::_Project_default_instance_._instance.get_mutable()->labels_ = const_cast< ::flyteidl::admin::Labels*>( - ::flyteidl::admin::Labels::internal_default_instance()); -} -class Project::HasBitSetters { - public: - static const ::flyteidl::admin::Labels& labels(const Project* msg); -}; - -const ::flyteidl::admin::Labels& -Project::HasBitSetters::labels(const Project* msg) { - return *msg->labels_; -} -void Project::clear_labels() { - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Project::kIdFieldNumber; -const int Project::kNameFieldNumber; -const int Project::kDomainsFieldNumber; -const int Project::kDescriptionFieldNumber; -const int Project::kLabelsFieldNumber; -const int Project::kStateFieldNumber; -const int Project::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Project::Project() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Project) -} -Project::Project(const Project& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - domains_(from.domains_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.id().size() > 0) { - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.description().size() > 0) { - description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_labels()) { - labels_ = new ::flyteidl::admin::Labels(*from.labels_); - } else { - labels_ = nullptr; - } - state_ = from.state_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Project) -} - -void Project::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Project_flyteidl_2fadmin_2fproject_2eproto.base); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&labels_, 0, static_cast( - reinterpret_cast(&state_) - - reinterpret_cast(&labels_)) + sizeof(state_)); -} - -Project::~Project() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Project) - SharedDtor(); -} - -void Project::SharedDtor() { - id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete labels_; -} - -void Project::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Project& Project::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Project_flyteidl_2fadmin_2fproject_2eproto.base); - return *internal_default_instance(); -} - - -void Project::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Project) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - domains_.Clear(); - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && labels_ != nullptr) { - delete labels_; - } - labels_ = nullptr; - state_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Project::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Project.id"); - object = msg->mutable_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 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("flyteidl.admin.Project.name"); - object = msg->mutable_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; - } - // repeated .flyteidl.admin.Domain domains = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Domain::_InternalParse; - object = msg->add_domains(); - 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) == 26 && (ptr += 1)); - break; - } - // string description = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Project.description"); - object = msg->mutable_description(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Labels labels = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Labels::_InternalParse; - object = msg->mutable_labels(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.Project.ProjectState state = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 48) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_state(static_cast<::flyteidl::admin::Project_ProjectState>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Project.org"); - object = msg->mutable_org(); - 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 Project::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Project) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Project.id")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Project.name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.admin.Domain domains = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_domains())); - } else { - goto handle_unusual; - } - break; - } - - // string description = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_description())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Project.description")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Labels labels = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_labels())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Project.ProjectState state = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (48 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_state(static_cast< ::flyteidl::admin::Project_ProjectState >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Project.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Project) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Project) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Project::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Project) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->id(), output); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - // repeated .flyteidl.admin.Domain domains = 3; - for (unsigned int i = 0, - n = static_cast(this->domains_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->domains(static_cast(i)), - output); - } - - // string description = 4; - if (this->description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.description"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->description(), output); - } - - // .flyteidl.admin.Labels labels = 5; - if (this->has_labels()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::labels(this), output); - } - - // .flyteidl.admin.Project.ProjectState state = 6; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 6, this->state(), output); - } - - // string org = 7; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Project) -} - -::google::protobuf::uint8* Project::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Project) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->id(), target); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->name(), target); - } - - // repeated .flyteidl.admin.Domain domains = 3; - for (unsigned int i = 0, - n = static_cast(this->domains_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->domains(static_cast(i)), target); - } - - // string description = 4; - if (this->description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.description"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->description(), target); - } - - // .flyteidl.admin.Labels labels = 5; - if (this->has_labels()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::labels(this), target); - } - - // .flyteidl.admin.Project.ProjectState state = 6; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 6, this->state(), target); - } - - // string org = 7; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Project.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Project) - return target; -} - -size_t Project::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Project) - 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.admin.Domain domains = 3; - { - unsigned int count = static_cast(this->domains_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->domains(static_cast(i))); - } - } - - // string id = 1; - if (this->id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->id()); - } - - // string name = 2; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string description = 4; - if (this->description().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->description()); - } - - // string org = 7; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.Labels labels = 5; - if (this->has_labels()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *labels_); - } - - // .flyteidl.admin.Project.ProjectState state = 6; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Project::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Project) - GOOGLE_DCHECK_NE(&from, this); - const Project* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Project) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Project) - MergeFrom(*source); - } -} - -void Project::MergeFrom(const Project& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Project) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - domains_.MergeFrom(from.domains_); - if (from.id().size() > 0) { - - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.description().size() > 0) { - - description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_labels()) { - mutable_labels()->::flyteidl::admin::Labels::MergeFrom(from.labels()); - } - if (from.state() != 0) { - set_state(from.state()); - } -} - -void Project::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Project) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Project::CopyFrom(const Project& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Project) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Project::IsInitialized() const { - return true; -} - -void Project::Swap(Project* other) { - if (other == this) return; - InternalSwap(other); -} -void Project::InternalSwap(Project* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&domains_)->InternalSwap(CastToBase(&other->domains_)); - id_.Swap(&other->id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - description_.Swap(&other->description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(labels_, other->labels_); - swap(state_, other->state_); -} - -::google::protobuf::Metadata Project::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Projects::InitAsDefaultInstance() { -} -class Projects::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Projects::kProjectsFieldNumber; -const int Projects::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Projects::Projects() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Projects) -} -Projects::Projects(const Projects& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - projects_(from.projects_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Projects) -} - -void Projects::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Projects_flyteidl_2fadmin_2fproject_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Projects::~Projects() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Projects) - SharedDtor(); -} - -void Projects::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Projects::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Projects& Projects::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Projects_flyteidl_2fadmin_2fproject_2eproto.base); - return *internal_default_instance(); -} - - -void Projects::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Projects) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - projects_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Projects::_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.admin.Project projects = 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::admin::Project::_InternalParse; - object = msg->add_projects(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Projects.token"); - object = msg->mutable_token(); - 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 Projects::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Projects) - 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.admin.Project projects = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_projects())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Projects.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Projects) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Projects) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Projects::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Projects) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Project projects = 1; - for (unsigned int i = 0, - n = static_cast(this->projects_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->projects(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Projects.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Projects) -} - -::google::protobuf::uint8* Projects::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Projects) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Project projects = 1; - for (unsigned int i = 0, - n = static_cast(this->projects_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->projects(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Projects.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Projects) - return target; -} - -size_t Projects::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Projects) - 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.admin.Project projects = 1; - { - unsigned int count = static_cast(this->projects_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->projects(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Projects::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Projects) - GOOGLE_DCHECK_NE(&from, this); - const Projects* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Projects) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Projects) - MergeFrom(*source); - } -} - -void Projects::MergeFrom(const Projects& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Projects) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - projects_.MergeFrom(from.projects_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void Projects::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Projects) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Projects::CopyFrom(const Projects& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Projects) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Projects::IsInitialized() const { - return true; -} - -void Projects::Swap(Projects* other) { - if (other == this) return; - InternalSwap(other); -} -void Projects::InternalSwap(Projects* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&projects_)->InternalSwap(CastToBase(&other->projects_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Projects::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class ProjectListRequest::HasBitSetters { - public: - static const ::flyteidl::admin::Sort& sort_by(const ProjectListRequest* msg); -}; - -const ::flyteidl::admin::Sort& -ProjectListRequest::HasBitSetters::sort_by(const ProjectListRequest* msg) { - return *msg->sort_by_; -} -void ProjectListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectListRequest::kLimitFieldNumber; -const int ProjectListRequest::kTokenFieldNumber; -const int ProjectListRequest::kFiltersFieldNumber; -const int ProjectListRequest::kSortByFieldNumber; -const int ProjectListRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectListRequest::ProjectListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectListRequest) -} -ProjectListRequest::ProjectListRequest(const ProjectListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectListRequest) -} - -void ProjectListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectListRequest_flyteidl_2fadmin_2fproject_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&sort_by_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&sort_by_)) + sizeof(limit_)); -} - -ProjectListRequest::~ProjectListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectListRequest) - SharedDtor(); -} - -void ProjectListRequest::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete sort_by_; -} - -void ProjectListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectListRequest& ProjectListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectListRequest_flyteidl_2fadmin_2fproject_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectListRequest::_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) { - // uint32 limit = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectListRequest.token"); - object = msg->mutable_token(); - 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 filters = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectListRequest.filters"); - object = msg->mutable_filters(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 org = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectListRequest.org"); - object = msg->mutable_org(); - 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 ProjectListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectListRequest) - 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)) { - // uint32 limit = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - // string org = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectListRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 limit = 1; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->limit(), output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - // string filters = 3; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->filters(), output); - } - - // .flyteidl.admin.Sort sort_by = 4; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::sort_by(this), output); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectListRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectListRequest) -} - -::google::protobuf::uint8* ProjectListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 limit = 1; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->limit(), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - // string filters = 3; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->filters(), target); - } - - // .flyteidl.admin.Sort sort_by = 4; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::sort_by(this), target); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectListRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectListRequest) - return target; -} - -size_t ProjectListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectListRequest) - 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 token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 3; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // string org = 5; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.Sort sort_by = 4; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 1; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectListRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectListRequest) - MergeFrom(*source); - } -} - -void ProjectListRequest::MergeFrom(const ProjectListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void ProjectListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectListRequest::CopyFrom(const ProjectListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectListRequest::IsInitialized() const { - return true; -} - -void ProjectListRequest::Swap(ProjectListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectListRequest::InternalSwap(ProjectListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata ProjectListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectRegisterRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectRegisterRequest_default_instance_._instance.get_mutable()->project_ = const_cast< ::flyteidl::admin::Project*>( - ::flyteidl::admin::Project::internal_default_instance()); -} -class ProjectRegisterRequest::HasBitSetters { - public: - static const ::flyteidl::admin::Project& project(const ProjectRegisterRequest* msg); -}; - -const ::flyteidl::admin::Project& -ProjectRegisterRequest::HasBitSetters::project(const ProjectRegisterRequest* msg) { - return *msg->project_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectRegisterRequest::kProjectFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectRegisterRequest::ProjectRegisterRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectRegisterRequest) -} -ProjectRegisterRequest::ProjectRegisterRequest(const ProjectRegisterRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_project()) { - project_ = new ::flyteidl::admin::Project(*from.project_); - } else { - project_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectRegisterRequest) -} - -void ProjectRegisterRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectRegisterRequest_flyteidl_2fadmin_2fproject_2eproto.base); - project_ = nullptr; -} - -ProjectRegisterRequest::~ProjectRegisterRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectRegisterRequest) - SharedDtor(); -} - -void ProjectRegisterRequest::SharedDtor() { - if (this != internal_default_instance()) delete project_; -} - -void ProjectRegisterRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectRegisterRequest& ProjectRegisterRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectRegisterRequest_flyteidl_2fadmin_2fproject_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectRegisterRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectRegisterRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && project_ != nullptr) { - delete project_; - } - project_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectRegisterRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.Project project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Project::_InternalParse; - object = msg->mutable_project(); - 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 ProjectRegisterRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectRegisterRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.Project project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_project())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectRegisterRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectRegisterRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectRegisterRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectRegisterRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Project project = 1; - if (this->has_project()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::project(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectRegisterRequest) -} - -::google::protobuf::uint8* ProjectRegisterRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectRegisterRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Project project = 1; - if (this->has_project()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::project(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectRegisterRequest) - return target; -} - -size_t ProjectRegisterRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectRegisterRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.Project project = 1; - if (this->has_project()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *project_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectRegisterRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectRegisterRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectRegisterRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectRegisterRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectRegisterRequest) - MergeFrom(*source); - } -} - -void ProjectRegisterRequest::MergeFrom(const ProjectRegisterRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectRegisterRequest) - 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_project()) { - mutable_project()->::flyteidl::admin::Project::MergeFrom(from.project()); - } -} - -void ProjectRegisterRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectRegisterRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectRegisterRequest::CopyFrom(const ProjectRegisterRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectRegisterRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectRegisterRequest::IsInitialized() const { - return true; -} - -void ProjectRegisterRequest::Swap(ProjectRegisterRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectRegisterRequest::InternalSwap(ProjectRegisterRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(project_, other->project_); -} - -::google::protobuf::Metadata ProjectRegisterRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectRegisterResponse::InitAsDefaultInstance() { -} -class ProjectRegisterResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectRegisterResponse::ProjectRegisterResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectRegisterResponse) -} -ProjectRegisterResponse::ProjectRegisterResponse(const ProjectRegisterResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectRegisterResponse) -} - -void ProjectRegisterResponse::SharedCtor() { -} - -ProjectRegisterResponse::~ProjectRegisterResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectRegisterResponse) - SharedDtor(); -} - -void ProjectRegisterResponse::SharedDtor() { -} - -void ProjectRegisterResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectRegisterResponse& ProjectRegisterResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectRegisterResponse_flyteidl_2fadmin_2fproject_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectRegisterResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectRegisterResponse) - ::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* ProjectRegisterResponse::_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 ProjectRegisterResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectRegisterResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectRegisterResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectRegisterResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectRegisterResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectRegisterResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectRegisterResponse) -} - -::google::protobuf::uint8* ProjectRegisterResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectRegisterResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectRegisterResponse) - return target; -} - -size_t ProjectRegisterResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectRegisterResponse) - 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 ProjectRegisterResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectRegisterResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectRegisterResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectRegisterResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectRegisterResponse) - MergeFrom(*source); - } -} - -void ProjectRegisterResponse::MergeFrom(const ProjectRegisterResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectRegisterResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ProjectRegisterResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectRegisterResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectRegisterResponse::CopyFrom(const ProjectRegisterResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectRegisterResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectRegisterResponse::IsInitialized() const { - return true; -} - -void ProjectRegisterResponse::Swap(ProjectRegisterResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectRegisterResponse::InternalSwap(ProjectRegisterResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ProjectRegisterResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectUpdateResponse::InitAsDefaultInstance() { -} -class ProjectUpdateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectUpdateResponse::ProjectUpdateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectUpdateResponse) -} -ProjectUpdateResponse::ProjectUpdateResponse(const ProjectUpdateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectUpdateResponse) -} - -void ProjectUpdateResponse::SharedCtor() { -} - -ProjectUpdateResponse::~ProjectUpdateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectUpdateResponse) - SharedDtor(); -} - -void ProjectUpdateResponse::SharedDtor() { -} - -void ProjectUpdateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectUpdateResponse& ProjectUpdateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectUpdateResponse_flyteidl_2fadmin_2fproject_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectUpdateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectUpdateResponse) - ::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* ProjectUpdateResponse::_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 ProjectUpdateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectUpdateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectUpdateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectUpdateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectUpdateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectUpdateResponse) -} - -::google::protobuf::uint8* ProjectUpdateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectUpdateResponse) - return target; -} - -size_t ProjectUpdateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectUpdateResponse) - 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 ProjectUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectUpdateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectUpdateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectUpdateResponse) - MergeFrom(*source); - } -} - -void ProjectUpdateResponse::MergeFrom(const ProjectUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ProjectUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectUpdateResponse::CopyFrom(const ProjectUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectUpdateResponse::IsInitialized() const { - return true; -} - -void ProjectUpdateResponse::Swap(ProjectUpdateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectUpdateResponse::InternalSwap(ProjectUpdateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ProjectUpdateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Domain* Arena::CreateMaybeMessage< ::flyteidl::admin::Domain >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Domain >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Project* Arena::CreateMaybeMessage< ::flyteidl::admin::Project >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Project >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Projects* Arena::CreateMaybeMessage< ::flyteidl::admin::Projects >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Projects >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectRegisterRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectRegisterRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectRegisterRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectRegisterResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectRegisterResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectRegisterResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectUpdateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectUpdateResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project.pb.h deleted file mode 100644 index 33b8879252..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project.pb.h +++ /dev/null @@ -1,1927 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_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 -#include "flyteidl/admin/common.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fproject_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[7] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fproject_2eproto(); -namespace flyteidl { -namespace admin { -class Domain; -class DomainDefaultTypeInternal; -extern DomainDefaultTypeInternal _Domain_default_instance_; -class Project; -class ProjectDefaultTypeInternal; -extern ProjectDefaultTypeInternal _Project_default_instance_; -class ProjectListRequest; -class ProjectListRequestDefaultTypeInternal; -extern ProjectListRequestDefaultTypeInternal _ProjectListRequest_default_instance_; -class ProjectRegisterRequest; -class ProjectRegisterRequestDefaultTypeInternal; -extern ProjectRegisterRequestDefaultTypeInternal _ProjectRegisterRequest_default_instance_; -class ProjectRegisterResponse; -class ProjectRegisterResponseDefaultTypeInternal; -extern ProjectRegisterResponseDefaultTypeInternal _ProjectRegisterResponse_default_instance_; -class ProjectUpdateResponse; -class ProjectUpdateResponseDefaultTypeInternal; -extern ProjectUpdateResponseDefaultTypeInternal _ProjectUpdateResponse_default_instance_; -class Projects; -class ProjectsDefaultTypeInternal; -extern ProjectsDefaultTypeInternal _Projects_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::Domain* Arena::CreateMaybeMessage<::flyteidl::admin::Domain>(Arena*); -template<> ::flyteidl::admin::Project* Arena::CreateMaybeMessage<::flyteidl::admin::Project>(Arena*); -template<> ::flyteidl::admin::ProjectListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectListRequest>(Arena*); -template<> ::flyteidl::admin::ProjectRegisterRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectRegisterRequest>(Arena*); -template<> ::flyteidl::admin::ProjectRegisterResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectRegisterResponse>(Arena*); -template<> ::flyteidl::admin::ProjectUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectUpdateResponse>(Arena*); -template<> ::flyteidl::admin::Projects* Arena::CreateMaybeMessage<::flyteidl::admin::Projects>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum Project_ProjectState { - Project_ProjectState_ACTIVE = 0, - Project_ProjectState_ARCHIVED = 1, - Project_ProjectState_SYSTEM_GENERATED = 2, - Project_ProjectState_Project_ProjectState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - Project_ProjectState_Project_ProjectState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool Project_ProjectState_IsValid(int value); -const Project_ProjectState Project_ProjectState_ProjectState_MIN = Project_ProjectState_ACTIVE; -const Project_ProjectState Project_ProjectState_ProjectState_MAX = Project_ProjectState_SYSTEM_GENERATED; -const int Project_ProjectState_ProjectState_ARRAYSIZE = Project_ProjectState_ProjectState_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Project_ProjectState_descriptor(); -inline const ::std::string& Project_ProjectState_Name(Project_ProjectState value) { - return ::google::protobuf::internal::NameOfEnum( - Project_ProjectState_descriptor(), value); -} -inline bool Project_ProjectState_Parse( - const ::std::string& name, Project_ProjectState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Project_ProjectState_descriptor(), name, value); -} -// =================================================================== - -class Domain final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Domain) */ { - public: - Domain(); - virtual ~Domain(); - - Domain(const Domain& from); - - inline Domain& operator=(const Domain& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Domain(Domain&& from) noexcept - : Domain() { - *this = ::std::move(from); - } - - inline Domain& operator=(Domain&& 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 Domain& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Domain* internal_default_instance() { - return reinterpret_cast( - &_Domain_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Domain* other); - friend void swap(Domain& a, Domain& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Domain* New() const final { - return CreateMaybeMessage(nullptr); - } - - Domain* 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 Domain& from); - void MergeFrom(const Domain& 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(Domain* 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 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); - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Domain) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr id_; - ::google::protobuf::internal::ArenaStringPtr name_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_2eproto; -}; -// ------------------------------------------------------------------- - -class Project final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Project) */ { - public: - Project(); - virtual ~Project(); - - Project(const Project& from); - - inline Project& operator=(const Project& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Project(Project&& from) noexcept - : Project() { - *this = ::std::move(from); - } - - inline Project& operator=(Project&& 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 Project& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Project* internal_default_instance() { - return reinterpret_cast( - &_Project_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(Project* other); - friend void swap(Project& a, Project& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Project* New() const final { - return CreateMaybeMessage(nullptr); - } - - Project* 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 Project& from); - void MergeFrom(const Project& 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(Project* 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 Project_ProjectState ProjectState; - static const ProjectState ACTIVE = - Project_ProjectState_ACTIVE; - static const ProjectState ARCHIVED = - Project_ProjectState_ARCHIVED; - static const ProjectState SYSTEM_GENERATED = - Project_ProjectState_SYSTEM_GENERATED; - static inline bool ProjectState_IsValid(int value) { - return Project_ProjectState_IsValid(value); - } - static const ProjectState ProjectState_MIN = - Project_ProjectState_ProjectState_MIN; - static const ProjectState ProjectState_MAX = - Project_ProjectState_ProjectState_MAX; - static const int ProjectState_ARRAYSIZE = - Project_ProjectState_ProjectState_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - ProjectState_descriptor() { - return Project_ProjectState_descriptor(); - } - static inline const ::std::string& ProjectState_Name(ProjectState value) { - return Project_ProjectState_Name(value); - } - static inline bool ProjectState_Parse(const ::std::string& name, - ProjectState* value) { - return Project_ProjectState_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.admin.Domain domains = 3; - int domains_size() const; - void clear_domains(); - static const int kDomainsFieldNumber = 3; - ::flyteidl::admin::Domain* mutable_domains(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Domain >* - mutable_domains(); - const ::flyteidl::admin::Domain& domains(int index) const; - ::flyteidl::admin::Domain* add_domains(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Domain >& - domains() 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); - - // 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 description = 4; - void clear_description(); - static const int kDescriptionFieldNumber = 4; - const ::std::string& description() const; - void set_description(const ::std::string& value); - #if LANG_CXX11 - void set_description(::std::string&& value); - #endif - void set_description(const char* value); - void set_description(const char* value, size_t size); - ::std::string* mutable_description(); - ::std::string* release_description(); - void set_allocated_description(::std::string* description); - - // string org = 7; - void clear_org(); - static const int kOrgFieldNumber = 7; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.Labels labels = 5; - bool has_labels() const; - void clear_labels(); - static const int kLabelsFieldNumber = 5; - const ::flyteidl::admin::Labels& labels() const; - ::flyteidl::admin::Labels* release_labels(); - ::flyteidl::admin::Labels* mutable_labels(); - void set_allocated_labels(::flyteidl::admin::Labels* labels); - - // .flyteidl.admin.Project.ProjectState state = 6; - void clear_state(); - static const int kStateFieldNumber = 6; - ::flyteidl::admin::Project_ProjectState state() const; - void set_state(::flyteidl::admin::Project_ProjectState value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Project) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Domain > domains_; - ::google::protobuf::internal::ArenaStringPtr id_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr description_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::Labels* labels_; - int state_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_2eproto; -}; -// ------------------------------------------------------------------- - -class Projects final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Projects) */ { - public: - Projects(); - virtual ~Projects(); - - Projects(const Projects& from); - - inline Projects& operator=(const Projects& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Projects(Projects&& from) noexcept - : Projects() { - *this = ::std::move(from); - } - - inline Projects& operator=(Projects&& 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 Projects& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Projects* internal_default_instance() { - return reinterpret_cast( - &_Projects_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(Projects* other); - friend void swap(Projects& a, Projects& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Projects* New() const final { - return CreateMaybeMessage(nullptr); - } - - Projects* 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 Projects& from); - void MergeFrom(const Projects& 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(Projects* 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.admin.Project projects = 1; - int projects_size() const; - void clear_projects(); - static const int kProjectsFieldNumber = 1; - ::flyteidl::admin::Project* mutable_projects(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Project >* - mutable_projects(); - const ::flyteidl::admin::Project& projects(int index) const; - ::flyteidl::admin::Project* add_projects(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Project >& - projects() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Projects) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Project > projects_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectListRequest) */ { - public: - ProjectListRequest(); - virtual ~ProjectListRequest(); - - ProjectListRequest(const ProjectListRequest& from); - - inline ProjectListRequest& operator=(const ProjectListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectListRequest(ProjectListRequest&& from) noexcept - : ProjectListRequest() { - *this = ::std::move(from); - } - - inline ProjectListRequest& operator=(ProjectListRequest&& 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 ProjectListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectListRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ProjectListRequest* other); - friend void swap(ProjectListRequest& a, ProjectListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectListRequest* 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 ProjectListRequest& from); - void MergeFrom(const ProjectListRequest& 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(ProjectListRequest* 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 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); - - // string filters = 3; - void clear_filters(); - static const int kFiltersFieldNumber = 3; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // string org = 5; - void clear_org(); - static const int kOrgFieldNumber = 5; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.Sort sort_by = 4; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 4; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 1; - void clear_limit(); - static const int kLimitFieldNumber = 1; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectRegisterRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectRegisterRequest) */ { - public: - ProjectRegisterRequest(); - virtual ~ProjectRegisterRequest(); - - ProjectRegisterRequest(const ProjectRegisterRequest& from); - - inline ProjectRegisterRequest& operator=(const ProjectRegisterRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectRegisterRequest(ProjectRegisterRequest&& from) noexcept - : ProjectRegisterRequest() { - *this = ::std::move(from); - } - - inline ProjectRegisterRequest& operator=(ProjectRegisterRequest&& 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 ProjectRegisterRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectRegisterRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectRegisterRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(ProjectRegisterRequest* other); - friend void swap(ProjectRegisterRequest& a, ProjectRegisterRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectRegisterRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectRegisterRequest* 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 ProjectRegisterRequest& from); - void MergeFrom(const ProjectRegisterRequest& 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(ProjectRegisterRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.Project project = 1; - bool has_project() const; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::flyteidl::admin::Project& project() const; - ::flyteidl::admin::Project* release_project(); - ::flyteidl::admin::Project* mutable_project(); - void set_allocated_project(::flyteidl::admin::Project* project); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectRegisterRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::Project* project_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectRegisterResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectRegisterResponse) */ { - public: - ProjectRegisterResponse(); - virtual ~ProjectRegisterResponse(); - - ProjectRegisterResponse(const ProjectRegisterResponse& from); - - inline ProjectRegisterResponse& operator=(const ProjectRegisterResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectRegisterResponse(ProjectRegisterResponse&& from) noexcept - : ProjectRegisterResponse() { - *this = ::std::move(from); - } - - inline ProjectRegisterResponse& operator=(ProjectRegisterResponse&& 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 ProjectRegisterResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectRegisterResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectRegisterResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(ProjectRegisterResponse* other); - friend void swap(ProjectRegisterResponse& a, ProjectRegisterResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectRegisterResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectRegisterResponse* 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 ProjectRegisterResponse& from); - void MergeFrom(const ProjectRegisterResponse& 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(ProjectRegisterResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectRegisterResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectUpdateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectUpdateResponse) */ { - public: - ProjectUpdateResponse(); - virtual ~ProjectUpdateResponse(); - - ProjectUpdateResponse(const ProjectUpdateResponse& from); - - inline ProjectUpdateResponse& operator=(const ProjectUpdateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectUpdateResponse(ProjectUpdateResponse&& from) noexcept - : ProjectUpdateResponse() { - *this = ::std::move(from); - } - - inline ProjectUpdateResponse& operator=(ProjectUpdateResponse&& 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 ProjectUpdateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectUpdateResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectUpdateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(ProjectUpdateResponse* other); - friend void swap(ProjectUpdateResponse& a, ProjectUpdateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectUpdateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectUpdateResponse* 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 ProjectUpdateResponse& from); - void MergeFrom(const ProjectUpdateResponse& 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(ProjectUpdateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectUpdateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Domain - -// string id = 1; -inline void Domain::clear_id() { - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Domain::id() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Domain.id) - return id_.GetNoArena(); -} -inline void Domain::set_id(const ::std::string& value) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Domain.id) -} -#if LANG_CXX11 -inline void Domain::set_id(::std::string&& value) { - - id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Domain.id) -} -#endif -inline void Domain::set_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Domain.id) -} -inline void Domain::set_id(const char* value, size_t size) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Domain.id) -} -inline ::std::string* Domain::mutable_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Domain.id) - return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Domain::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Domain.id) - - return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Domain::set_allocated_id(::std::string* id) { - if (id != nullptr) { - - } else { - - } - id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Domain.id) -} - -// string name = 2; -inline void Domain::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Domain::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Domain.name) - return name_.GetNoArena(); -} -inline void Domain::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Domain.name) -} -#if LANG_CXX11 -inline void Domain::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Domain.name) -} -#endif -inline void Domain::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Domain.name) -} -inline void Domain::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Domain.name) -} -inline ::std::string* Domain::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Domain.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Domain::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Domain.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Domain::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Domain.name) -} - -// ------------------------------------------------------------------- - -// Project - -// string id = 1; -inline void Project::clear_id() { - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Project::id() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Project.id) - return id_.GetNoArena(); -} -inline void Project::set_id(const ::std::string& value) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Project.id) -} -#if LANG_CXX11 -inline void Project::set_id(::std::string&& value) { - - id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Project.id) -} -#endif -inline void Project::set_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Project.id) -} -inline void Project::set_id(const char* value, size_t size) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Project.id) -} -inline ::std::string* Project::mutable_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Project.id) - return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Project::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Project.id) - - return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Project::set_allocated_id(::std::string* id) { - if (id != nullptr) { - - } else { - - } - id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Project.id) -} - -// string name = 2; -inline void Project::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Project::name() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Project.name) - return name_.GetNoArena(); -} -inline void Project::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Project.name) -} -#if LANG_CXX11 -inline void Project::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Project.name) -} -#endif -inline void Project::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Project.name) -} -inline void Project::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Project.name) -} -inline ::std::string* Project::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Project.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Project::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Project.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Project::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Project.name) -} - -// repeated .flyteidl.admin.Domain domains = 3; -inline int Project::domains_size() const { - return domains_.size(); -} -inline void Project::clear_domains() { - domains_.Clear(); -} -inline ::flyteidl::admin::Domain* Project::mutable_domains(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Project.domains) - return domains_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Domain >* -Project::mutable_domains() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Project.domains) - return &domains_; -} -inline const ::flyteidl::admin::Domain& Project::domains(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Project.domains) - return domains_.Get(index); -} -inline ::flyteidl::admin::Domain* Project::add_domains() { - // @@protoc_insertion_point(field_add:flyteidl.admin.Project.domains) - return domains_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Domain >& -Project::domains() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Project.domains) - return domains_; -} - -// string description = 4; -inline void Project::clear_description() { - description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Project::description() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Project.description) - return description_.GetNoArena(); -} -inline void Project::set_description(const ::std::string& value) { - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Project.description) -} -#if LANG_CXX11 -inline void Project::set_description(::std::string&& value) { - - description_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Project.description) -} -#endif -inline void Project::set_description(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Project.description) -} -inline void Project::set_description(const char* value, size_t size) { - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Project.description) -} -inline ::std::string* Project::mutable_description() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Project.description) - return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Project::release_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Project.description) - - return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Project::set_allocated_description(::std::string* description) { - if (description != nullptr) { - - } else { - - } - description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Project.description) -} - -// .flyteidl.admin.Labels labels = 5; -inline bool Project::has_labels() const { - return this != internal_default_instance() && labels_ != nullptr; -} -inline const ::flyteidl::admin::Labels& Project::labels() const { - const ::flyteidl::admin::Labels* p = labels_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Project.labels) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Labels_default_instance_); -} -inline ::flyteidl::admin::Labels* Project::release_labels() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Project.labels) - - ::flyteidl::admin::Labels* temp = labels_; - labels_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Labels* Project::mutable_labels() { - - if (labels_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Labels>(GetArenaNoVirtual()); - labels_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Project.labels) - return labels_; -} -inline void Project::set_allocated_labels(::flyteidl::admin::Labels* labels) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(labels_); - } - if (labels) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - labels = ::google::protobuf::internal::GetOwnedMessage( - message_arena, labels, submessage_arena); - } - - } else { - - } - labels_ = labels; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Project.labels) -} - -// .flyteidl.admin.Project.ProjectState state = 6; -inline void Project::clear_state() { - state_ = 0; -} -inline ::flyteidl::admin::Project_ProjectState Project::state() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Project.state) - return static_cast< ::flyteidl::admin::Project_ProjectState >(state_); -} -inline void Project::set_state(::flyteidl::admin::Project_ProjectState value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.Project.state) -} - -// string org = 7; -inline void Project::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Project::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Project.org) - return org_.GetNoArena(); -} -inline void Project::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Project.org) -} -#if LANG_CXX11 -inline void Project::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Project.org) -} -#endif -inline void Project::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Project.org) -} -inline void Project::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Project.org) -} -inline ::std::string* Project::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Project.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Project::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Project.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Project::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Project.org) -} - -// ------------------------------------------------------------------- - -// Projects - -// repeated .flyteidl.admin.Project projects = 1; -inline int Projects::projects_size() const { - return projects_.size(); -} -inline void Projects::clear_projects() { - projects_.Clear(); -} -inline ::flyteidl::admin::Project* Projects::mutable_projects(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Projects.projects) - return projects_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Project >* -Projects::mutable_projects() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Projects.projects) - return &projects_; -} -inline const ::flyteidl::admin::Project& Projects::projects(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Projects.projects) - return projects_.Get(index); -} -inline ::flyteidl::admin::Project* Projects::add_projects() { - // @@protoc_insertion_point(field_add:flyteidl.admin.Projects.projects) - return projects_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Project >& -Projects::projects() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.Projects.projects) - return projects_; -} - -// string token = 2; -inline void Projects::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Projects::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Projects.token) - return token_.GetNoArena(); -} -inline void Projects::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Projects.token) -} -#if LANG_CXX11 -inline void Projects::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Projects.token) -} -#endif -inline void Projects::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Projects.token) -} -inline void Projects::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Projects.token) -} -inline ::std::string* Projects::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Projects.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Projects::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Projects.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Projects::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Projects.token) -} - -// ------------------------------------------------------------------- - -// ProjectListRequest - -// uint32 limit = 1; -inline void ProjectListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 ProjectListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectListRequest.limit) - return limit_; -} -inline void ProjectListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectListRequest.limit) -} - -// string token = 2; -inline void ProjectListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectListRequest.token) - return token_.GetNoArena(); -} -inline void ProjectListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectListRequest.token) -} -#if LANG_CXX11 -inline void ProjectListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectListRequest.token) -} -#endif -inline void ProjectListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectListRequest.token) -} -inline void ProjectListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectListRequest.token) -} -inline ::std::string* ProjectListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectListRequest.token) -} - -// string filters = 3; -inline void ProjectListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectListRequest.filters) - return filters_.GetNoArena(); -} -inline void ProjectListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectListRequest.filters) -} -#if LANG_CXX11 -inline void ProjectListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectListRequest.filters) -} -#endif -inline void ProjectListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectListRequest.filters) -} -inline void ProjectListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectListRequest.filters) -} -inline ::std::string* ProjectListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectListRequest.filters) -} - -// .flyteidl.admin.Sort sort_by = 4; -inline bool ProjectListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline const ::flyteidl::admin::Sort& ProjectListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* ProjectListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* ProjectListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectListRequest.sort_by) - return sort_by_; -} -inline void ProjectListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(sort_by_); - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectListRequest.sort_by) -} - -// string org = 5; -inline void ProjectListRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectListRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectListRequest.org) - return org_.GetNoArena(); -} -inline void ProjectListRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectListRequest.org) -} -#if LANG_CXX11 -inline void ProjectListRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectListRequest.org) -} -#endif -inline void ProjectListRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectListRequest.org) -} -inline void ProjectListRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectListRequest.org) -} -inline ::std::string* ProjectListRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectListRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectListRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectListRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectListRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectListRequest.org) -} - -// ------------------------------------------------------------------- - -// ProjectRegisterRequest - -// .flyteidl.admin.Project project = 1; -inline bool ProjectRegisterRequest::has_project() const { - return this != internal_default_instance() && project_ != nullptr; -} -inline void ProjectRegisterRequest::clear_project() { - if (GetArenaNoVirtual() == nullptr && project_ != nullptr) { - delete project_; - } - project_ = nullptr; -} -inline const ::flyteidl::admin::Project& ProjectRegisterRequest::project() const { - const ::flyteidl::admin::Project* p = project_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectRegisterRequest.project) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Project_default_instance_); -} -inline ::flyteidl::admin::Project* ProjectRegisterRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectRegisterRequest.project) - - ::flyteidl::admin::Project* temp = project_; - project_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Project* ProjectRegisterRequest::mutable_project() { - - if (project_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Project>(GetArenaNoVirtual()); - project_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectRegisterRequest.project) - return project_; -} -inline void ProjectRegisterRequest::set_allocated_project(::flyteidl::admin::Project* project) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete project_; - } - if (project) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - project = ::google::protobuf::internal::GetOwnedMessage( - message_arena, project, submessage_arena); - } - - } else { - - } - project_ = project; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectRegisterRequest.project) -} - -// ------------------------------------------------------------------- - -// ProjectRegisterResponse - -// ------------------------------------------------------------------- - -// ProjectUpdateResponse - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::Project_ProjectState> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::Project_ProjectState>() { - return ::flyteidl::admin::Project_ProjectState_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.cc deleted file mode 100644 index ecf7b1271b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/project_attributes.proto - -#include "flyteidl/admin/project_attributes.pb.h" -#include "flyteidl/admin/project_attributes.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.h deleted file mode 100644 index 8957c5cb16..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/project_attributes.proto -#ifndef GRPC_flyteidl_2fadmin_2fproject_5fattributes_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fproject_5fattributes_2eproto__INCLUDED - -#include "flyteidl/admin/project_attributes.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fproject_5fattributes_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.cc deleted file mode 100644 index 40a47623d7..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.cc +++ /dev/null @@ -1,2584 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project_attributes.proto - -#include "flyteidl/admin/project_attributes.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fattributes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -namespace flyteidl { -namespace admin { -class ProjectAttributesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectAttributes_default_instance_; -class ProjectAttributesUpdateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectAttributesUpdateRequest_default_instance_; -class ProjectAttributesUpdateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectAttributesUpdateResponse_default_instance_; -class ProjectAttributesGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectAttributesGetRequest_default_instance_; -class ProjectAttributesGetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectAttributesGetResponse_default_instance_; -class ProjectAttributesDeleteRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectAttributesDeleteRequest_default_instance_; -class ProjectAttributesDeleteResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectAttributesDeleteResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectAttributes_default_instance_; - new (ptr) ::flyteidl::admin::ProjectAttributes(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectAttributes::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, { - &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -static void InitDefaultsProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectAttributesUpdateRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectAttributesUpdateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectAttributesUpdateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, { - &scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base,}}; - -static void InitDefaultsProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectAttributesUpdateResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectAttributesUpdateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectAttributesUpdateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, {}}; - -static void InitDefaultsProjectAttributesGetRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectAttributesGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectAttributesGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectAttributesGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectAttributesGetRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectAttributesGetRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, {}}; - -static void InitDefaultsProjectAttributesGetResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectAttributesGetResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectAttributesGetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectAttributesGetResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectAttributesGetResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectAttributesGetResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, { - &scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base,}}; - -static void InitDefaultsProjectAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectAttributesDeleteRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectAttributesDeleteRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectAttributesDeleteRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, {}}; - -static void InitDefaultsProjectAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectAttributesDeleteResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectAttributesDeleteResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectAttributesDeleteResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesGetRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesGetResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[7]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributes, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributes, matching_attributes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributes, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesUpdateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesUpdateRequest, attributes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesUpdateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesGetRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesGetRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesGetRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesGetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesGetResponse, attributes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesDeleteRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesDeleteRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesDeleteRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesDeleteRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesDeleteResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::ProjectAttributes)}, - { 8, -1, sizeof(::flyteidl::admin::ProjectAttributesUpdateRequest)}, - { 14, -1, sizeof(::flyteidl::admin::ProjectAttributesUpdateResponse)}, - { 19, -1, sizeof(::flyteidl::admin::ProjectAttributesGetRequest)}, - { 27, -1, sizeof(::flyteidl::admin::ProjectAttributesGetResponse)}, - { 33, -1, sizeof(::flyteidl::admin::ProjectAttributesDeleteRequest)}, - { 41, -1, sizeof(::flyteidl::admin::ProjectAttributesDeleteResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_ProjectAttributes_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectAttributesUpdateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectAttributesUpdateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectAttributesGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectAttributesGetResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectAttributesDeleteRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectAttributesDeleteResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, "flyteidl/admin/project_attributes.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto, 7, file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fattributes_2eproto[] = - "\n\'flyteidl/admin/project_attributes.prot" - "o\022\016flyteidl.admin\032\'flyteidl/admin/matcha" - "ble_resource.proto\"r\n\021ProjectAttributes\022" - "\017\n\007project\030\001 \001(\t\022\?\n\023matching_attributes\030" - "\002 \001(\0132\".flyteidl.admin.MatchingAttribute" - "s\022\013\n\003org\030\003 \001(\t\"W\n\036ProjectAttributesUpdat" - "eRequest\0225\n\nattributes\030\001 \001(\0132!.flyteidl." - "admin.ProjectAttributes\"!\n\037ProjectAttrib" - "utesUpdateResponse\"u\n\033ProjectAttributesG" - "etRequest\022\017\n\007project\030\001 \001(\t\0228\n\rresource_t" - "ype\030\002 \001(\0162!.flyteidl.admin.MatchableReso" - "urce\022\013\n\003org\030\003 \001(\t\"U\n\034ProjectAttributesGe" - "tResponse\0225\n\nattributes\030\001 \001(\0132!.flyteidl" - ".admin.ProjectAttributes\"x\n\036ProjectAttri" - "butesDeleteRequest\022\017\n\007project\030\001 \001(\t\0228\n\rr" - "esource_type\030\002 \001(\0162!.flyteidl.admin.Matc" - "hableResource\022\013\n\003org\030\003 \001(\t\"!\n\037ProjectAtt" - "ributesDeleteResponseB=Z;github.com/flyt" - "eorg/flyte/flyteidl/gen/pb-go/flyteidl/a" - "dminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fproject_5fattributes_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fattributes_2eproto, - "flyteidl/admin/project_attributes.proto", &assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto, 772, -}; - -void AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fproject_5fattributes_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void ProjectAttributes::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectAttributes_default_instance_._instance.get_mutable()->matching_attributes_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); -} -class ProjectAttributes::HasBitSetters { - public: - static const ::flyteidl::admin::MatchingAttributes& matching_attributes(const ProjectAttributes* msg); -}; - -const ::flyteidl::admin::MatchingAttributes& -ProjectAttributes::HasBitSetters::matching_attributes(const ProjectAttributes* msg) { - return *msg->matching_attributes_; -} -void ProjectAttributes::clear_matching_attributes() { - if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { - delete matching_attributes_; - } - matching_attributes_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectAttributes::kProjectFieldNumber; -const int ProjectAttributes::kMatchingAttributesFieldNumber; -const int ProjectAttributes::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectAttributes::ProjectAttributes() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributes) -} -ProjectAttributes::ProjectAttributes(const ProjectAttributes& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_matching_attributes()) { - matching_attributes_ = new ::flyteidl::admin::MatchingAttributes(*from.matching_attributes_); - } else { - matching_attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributes) -} - -void ProjectAttributes::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - matching_attributes_ = nullptr; -} - -ProjectAttributes::~ProjectAttributes() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributes) - SharedDtor(); -} - -void ProjectAttributes::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete matching_attributes_; -} - -void ProjectAttributes::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectAttributes& ProjectAttributes::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectAttributes::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { - delete matching_attributes_; - } - matching_attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectAttributes::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectAttributes.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchingAttributes matching_attributes = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; - object = msg->mutable_matching_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // string org = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectAttributes.org"); - object = msg->mutable_org(); - 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 ProjectAttributes::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectAttributes) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectAttributes.project")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_matching_attributes())); - } else { - goto handle_unusual; - } - break; - } - - // string org = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectAttributes.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectAttributes) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributes) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectAttributes::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributes.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 2; - if (this->has_matching_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::matching_attributes(this), output); - } - - // string org = 3; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributes.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectAttributes) -} - -::google::protobuf::uint8* ProjectAttributes::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributes.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 2; - if (this->has_matching_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::matching_attributes(this), target); - } - - // string org = 3; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributes.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectAttributes) - return target; -} - -size_t ProjectAttributes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributes) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string org = 3; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 2; - if (this->has_matching_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *matching_attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectAttributes::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributes) - GOOGLE_DCHECK_NE(&from, this); - const ProjectAttributes* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributes) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributes) - MergeFrom(*source); - } -} - -void ProjectAttributes::MergeFrom(const ProjectAttributes& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributes) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_matching_attributes()) { - mutable_matching_attributes()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.matching_attributes()); - } -} - -void ProjectAttributes::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectAttributes::CopyFrom(const ProjectAttributes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectAttributes::IsInitialized() const { - return true; -} - -void ProjectAttributes::Swap(ProjectAttributes* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectAttributes::InternalSwap(ProjectAttributes* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(matching_attributes_, other->matching_attributes_); -} - -::google::protobuf::Metadata ProjectAttributes::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectAttributesUpdateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectAttributesUpdateRequest_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::ProjectAttributes*>( - ::flyteidl::admin::ProjectAttributes::internal_default_instance()); -} -class ProjectAttributesUpdateRequest::HasBitSetters { - public: - static const ::flyteidl::admin::ProjectAttributes& attributes(const ProjectAttributesUpdateRequest* msg); -}; - -const ::flyteidl::admin::ProjectAttributes& -ProjectAttributesUpdateRequest::HasBitSetters::attributes(const ProjectAttributesUpdateRequest* msg) { - return *msg->attributes_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectAttributesUpdateRequest::kAttributesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectAttributesUpdateRequest::ProjectAttributesUpdateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesUpdateRequest) -} -ProjectAttributesUpdateRequest::ProjectAttributesUpdateRequest(const ProjectAttributesUpdateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_attributes()) { - attributes_ = new ::flyteidl::admin::ProjectAttributes(*from.attributes_); - } else { - attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesUpdateRequest) -} - -void ProjectAttributesUpdateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - attributes_ = nullptr; -} - -ProjectAttributesUpdateRequest::~ProjectAttributesUpdateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesUpdateRequest) - SharedDtor(); -} - -void ProjectAttributesUpdateRequest::SharedDtor() { - if (this != internal_default_instance()) delete attributes_; -} - -void ProjectAttributesUpdateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectAttributesUpdateRequest& ProjectAttributesUpdateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectAttributesUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectAttributesUpdateRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.ProjectAttributes attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ProjectAttributes::_InternalParse; - object = msg->mutable_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ProjectAttributesUpdateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectAttributesUpdateRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.ProjectAttributes attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_attributes())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectAttributesUpdateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesUpdateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectAttributesUpdateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectAttributes attributes = 1; - if (this->has_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::attributes(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectAttributesUpdateRequest) -} - -::google::protobuf::uint8* ProjectAttributesUpdateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectAttributes attributes = 1; - if (this->has_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::attributes(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectAttributesUpdateRequest) - return target; -} - -size_t ProjectAttributesUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesUpdateRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.ProjectAttributes attributes = 1; - if (this->has_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectAttributesUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectAttributesUpdateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesUpdateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesUpdateRequest) - MergeFrom(*source); - } -} - -void ProjectAttributesUpdateRequest::MergeFrom(const ProjectAttributesUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_attributes()) { - mutable_attributes()->::flyteidl::admin::ProjectAttributes::MergeFrom(from.attributes()); - } -} - -void ProjectAttributesUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectAttributesUpdateRequest::CopyFrom(const ProjectAttributesUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectAttributesUpdateRequest::IsInitialized() const { - return true; -} - -void ProjectAttributesUpdateRequest::Swap(ProjectAttributesUpdateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectAttributesUpdateRequest::InternalSwap(ProjectAttributesUpdateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(attributes_, other->attributes_); -} - -::google::protobuf::Metadata ProjectAttributesUpdateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectAttributesUpdateResponse::InitAsDefaultInstance() { -} -class ProjectAttributesUpdateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectAttributesUpdateResponse::ProjectAttributesUpdateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesUpdateResponse) -} -ProjectAttributesUpdateResponse::ProjectAttributesUpdateResponse(const ProjectAttributesUpdateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesUpdateResponse) -} - -void ProjectAttributesUpdateResponse::SharedCtor() { -} - -ProjectAttributesUpdateResponse::~ProjectAttributesUpdateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesUpdateResponse) - SharedDtor(); -} - -void ProjectAttributesUpdateResponse::SharedDtor() { -} - -void ProjectAttributesUpdateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectAttributesUpdateResponse& ProjectAttributesUpdateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectAttributesUpdateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectAttributesUpdateResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - default: { - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ProjectAttributesUpdateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectAttributesUpdateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectAttributesUpdateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesUpdateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectAttributesUpdateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectAttributesUpdateResponse) -} - -::google::protobuf::uint8* ProjectAttributesUpdateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectAttributesUpdateResponse) - return target; -} - -size_t ProjectAttributesUpdateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesUpdateResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectAttributesUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectAttributesUpdateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesUpdateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesUpdateResponse) - MergeFrom(*source); - } -} - -void ProjectAttributesUpdateResponse::MergeFrom(const ProjectAttributesUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ProjectAttributesUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectAttributesUpdateResponse::CopyFrom(const ProjectAttributesUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectAttributesUpdateResponse::IsInitialized() const { - return true; -} - -void ProjectAttributesUpdateResponse::Swap(ProjectAttributesUpdateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectAttributesUpdateResponse::InternalSwap(ProjectAttributesUpdateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ProjectAttributesUpdateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectAttributesGetRequest::InitAsDefaultInstance() { -} -class ProjectAttributesGetRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectAttributesGetRequest::kProjectFieldNumber; -const int ProjectAttributesGetRequest::kResourceTypeFieldNumber; -const int ProjectAttributesGetRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectAttributesGetRequest::ProjectAttributesGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesGetRequest) -} -ProjectAttributesGetRequest::ProjectAttributesGetRequest(const ProjectAttributesGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesGetRequest) -} - -void ProjectAttributesGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectAttributesGetRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -ProjectAttributesGetRequest::~ProjectAttributesGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesGetRequest) - SharedDtor(); -} - -void ProjectAttributesGetRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ProjectAttributesGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectAttributesGetRequest& ProjectAttributesGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesGetRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectAttributesGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectAttributesGetRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectAttributesGetRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchableResource resource_type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_resource_type(static_cast<::flyteidl::admin::MatchableResource>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectAttributesGetRequest.org"); - object = msg->mutable_org(); - 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 ProjectAttributesGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectAttributesGetRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectAttributesGetRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_resource_type(static_cast< ::flyteidl::admin::MatchableResource >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectAttributesGetRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectAttributesGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectAttributesGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesGetRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->resource_type(), output); - } - - // string org = 3; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesGetRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectAttributesGetRequest) -} - -::google::protobuf::uint8* ProjectAttributesGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesGetRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->resource_type(), target); - } - - // string org = 3; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesGetRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectAttributesGetRequest) - return target; -} - -size_t ProjectAttributesGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesGetRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string org = 3; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectAttributesGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectAttributesGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesGetRequest) - MergeFrom(*source); - } -} - -void ProjectAttributesGetRequest::MergeFrom(const ProjectAttributesGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesGetRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void ProjectAttributesGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectAttributesGetRequest::CopyFrom(const ProjectAttributesGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectAttributesGetRequest::IsInitialized() const { - return true; -} - -void ProjectAttributesGetRequest::Swap(ProjectAttributesGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectAttributesGetRequest::InternalSwap(ProjectAttributesGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata ProjectAttributesGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectAttributesGetResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectAttributesGetResponse_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::ProjectAttributes*>( - ::flyteidl::admin::ProjectAttributes::internal_default_instance()); -} -class ProjectAttributesGetResponse::HasBitSetters { - public: - static const ::flyteidl::admin::ProjectAttributes& attributes(const ProjectAttributesGetResponse* msg); -}; - -const ::flyteidl::admin::ProjectAttributes& -ProjectAttributesGetResponse::HasBitSetters::attributes(const ProjectAttributesGetResponse* msg) { - return *msg->attributes_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectAttributesGetResponse::kAttributesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectAttributesGetResponse::ProjectAttributesGetResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesGetResponse) -} -ProjectAttributesGetResponse::ProjectAttributesGetResponse(const ProjectAttributesGetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_attributes()) { - attributes_ = new ::flyteidl::admin::ProjectAttributes(*from.attributes_); - } else { - attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesGetResponse) -} - -void ProjectAttributesGetResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectAttributesGetResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - attributes_ = nullptr; -} - -ProjectAttributesGetResponse::~ProjectAttributesGetResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesGetResponse) - SharedDtor(); -} - -void ProjectAttributesGetResponse::SharedDtor() { - if (this != internal_default_instance()) delete attributes_; -} - -void ProjectAttributesGetResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectAttributesGetResponse& ProjectAttributesGetResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesGetResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectAttributesGetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectAttributesGetResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.ProjectAttributes attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ProjectAttributes::_InternalParse; - object = msg->mutable_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ProjectAttributesGetResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectAttributesGetResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.ProjectAttributes attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_attributes())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectAttributesGetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesGetResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectAttributesGetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectAttributes attributes = 1; - if (this->has_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::attributes(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectAttributesGetResponse) -} - -::google::protobuf::uint8* ProjectAttributesGetResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectAttributes attributes = 1; - if (this->has_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::attributes(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectAttributesGetResponse) - return target; -} - -size_t ProjectAttributesGetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesGetResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.ProjectAttributes attributes = 1; - if (this->has_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectAttributesGetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesGetResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectAttributesGetResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesGetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesGetResponse) - MergeFrom(*source); - } -} - -void ProjectAttributesGetResponse::MergeFrom(const ProjectAttributesGetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesGetResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_attributes()) { - mutable_attributes()->::flyteidl::admin::ProjectAttributes::MergeFrom(from.attributes()); - } -} - -void ProjectAttributesGetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectAttributesGetResponse::CopyFrom(const ProjectAttributesGetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectAttributesGetResponse::IsInitialized() const { - return true; -} - -void ProjectAttributesGetResponse::Swap(ProjectAttributesGetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectAttributesGetResponse::InternalSwap(ProjectAttributesGetResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(attributes_, other->attributes_); -} - -::google::protobuf::Metadata ProjectAttributesGetResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectAttributesDeleteRequest::InitAsDefaultInstance() { -} -class ProjectAttributesDeleteRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectAttributesDeleteRequest::kProjectFieldNumber; -const int ProjectAttributesDeleteRequest::kResourceTypeFieldNumber; -const int ProjectAttributesDeleteRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectAttributesDeleteRequest::ProjectAttributesDeleteRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesDeleteRequest) -} -ProjectAttributesDeleteRequest::ProjectAttributesDeleteRequest(const ProjectAttributesDeleteRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesDeleteRequest) -} - -void ProjectAttributesDeleteRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -ProjectAttributesDeleteRequest::~ProjectAttributesDeleteRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesDeleteRequest) - SharedDtor(); -} - -void ProjectAttributesDeleteRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ProjectAttributesDeleteRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectAttributesDeleteRequest& ProjectAttributesDeleteRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectAttributesDeleteRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectAttributesDeleteRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectAttributesDeleteRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchableResource resource_type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_resource_type(static_cast<::flyteidl::admin::MatchableResource>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectAttributesDeleteRequest.org"); - object = msg->mutable_org(); - 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 ProjectAttributesDeleteRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectAttributesDeleteRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectAttributesDeleteRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_resource_type(static_cast< ::flyteidl::admin::MatchableResource >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectAttributesDeleteRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectAttributesDeleteRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesDeleteRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectAttributesDeleteRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesDeleteRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->resource_type(), output); - } - - // string org = 3; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesDeleteRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectAttributesDeleteRequest) -} - -::google::protobuf::uint8* ProjectAttributesDeleteRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesDeleteRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->resource_type(), target); - } - - // string org = 3; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectAttributesDeleteRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectAttributesDeleteRequest) - return target; -} - -size_t ProjectAttributesDeleteRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesDeleteRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string org = 3; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchableResource resource_type = 2; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectAttributesDeleteRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectAttributesDeleteRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesDeleteRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesDeleteRequest) - MergeFrom(*source); - } -} - -void ProjectAttributesDeleteRequest::MergeFrom(const ProjectAttributesDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void ProjectAttributesDeleteRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectAttributesDeleteRequest::CopyFrom(const ProjectAttributesDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectAttributesDeleteRequest::IsInitialized() const { - return true; -} - -void ProjectAttributesDeleteRequest::Swap(ProjectAttributesDeleteRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectAttributesDeleteRequest::InternalSwap(ProjectAttributesDeleteRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata ProjectAttributesDeleteRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectAttributesDeleteResponse::InitAsDefaultInstance() { -} -class ProjectAttributesDeleteResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectAttributesDeleteResponse::ProjectAttributesDeleteResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesDeleteResponse) -} -ProjectAttributesDeleteResponse::ProjectAttributesDeleteResponse(const ProjectAttributesDeleteResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesDeleteResponse) -} - -void ProjectAttributesDeleteResponse::SharedCtor() { -} - -ProjectAttributesDeleteResponse::~ProjectAttributesDeleteResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesDeleteResponse) - SharedDtor(); -} - -void ProjectAttributesDeleteResponse::SharedDtor() { -} - -void ProjectAttributesDeleteResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectAttributesDeleteResponse& ProjectAttributesDeleteResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectAttributesDeleteResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesDeleteResponse) - ::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* ProjectAttributesDeleteResponse::_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 ProjectAttributesDeleteResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectAttributesDeleteResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectAttributesDeleteResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesDeleteResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectAttributesDeleteResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectAttributesDeleteResponse) -} - -::google::protobuf::uint8* ProjectAttributesDeleteResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectAttributesDeleteResponse) - return target; -} - -size_t ProjectAttributesDeleteResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesDeleteResponse) - 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 ProjectAttributesDeleteResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectAttributesDeleteResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesDeleteResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesDeleteResponse) - MergeFrom(*source); - } -} - -void ProjectAttributesDeleteResponse::MergeFrom(const ProjectAttributesDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ProjectAttributesDeleteResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectAttributesDeleteResponse::CopyFrom(const ProjectAttributesDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectAttributesDeleteResponse::IsInitialized() const { - return true; -} - -void ProjectAttributesDeleteResponse::Swap(ProjectAttributesDeleteResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectAttributesDeleteResponse::InternalSwap(ProjectAttributesDeleteResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ProjectAttributesDeleteResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributes >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributes >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesUpdateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesUpdateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesUpdateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesUpdateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesGetResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesGetResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesGetResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesDeleteRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesDeleteRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesDeleteRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesDeleteResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesDeleteResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesDeleteResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.h deleted file mode 100644 index af00e25767..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.h +++ /dev/null @@ -1,1512 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project_attributes.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fattributes_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fattributes_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/admin/matchable_resource.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fattributes_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[7] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto(); -namespace flyteidl { -namespace admin { -class ProjectAttributes; -class ProjectAttributesDefaultTypeInternal; -extern ProjectAttributesDefaultTypeInternal _ProjectAttributes_default_instance_; -class ProjectAttributesDeleteRequest; -class ProjectAttributesDeleteRequestDefaultTypeInternal; -extern ProjectAttributesDeleteRequestDefaultTypeInternal _ProjectAttributesDeleteRequest_default_instance_; -class ProjectAttributesDeleteResponse; -class ProjectAttributesDeleteResponseDefaultTypeInternal; -extern ProjectAttributesDeleteResponseDefaultTypeInternal _ProjectAttributesDeleteResponse_default_instance_; -class ProjectAttributesGetRequest; -class ProjectAttributesGetRequestDefaultTypeInternal; -extern ProjectAttributesGetRequestDefaultTypeInternal _ProjectAttributesGetRequest_default_instance_; -class ProjectAttributesGetResponse; -class ProjectAttributesGetResponseDefaultTypeInternal; -extern ProjectAttributesGetResponseDefaultTypeInternal _ProjectAttributesGetResponse_default_instance_; -class ProjectAttributesUpdateRequest; -class ProjectAttributesUpdateRequestDefaultTypeInternal; -extern ProjectAttributesUpdateRequestDefaultTypeInternal _ProjectAttributesUpdateRequest_default_instance_; -class ProjectAttributesUpdateResponse; -class ProjectAttributesUpdateResponseDefaultTypeInternal; -extern ProjectAttributesUpdateResponseDefaultTypeInternal _ProjectAttributesUpdateResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::ProjectAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributes>(Arena*); -template<> ::flyteidl::admin::ProjectAttributesDeleteRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesDeleteRequest>(Arena*); -template<> ::flyteidl::admin::ProjectAttributesDeleteResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesDeleteResponse>(Arena*); -template<> ::flyteidl::admin::ProjectAttributesGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesGetRequest>(Arena*); -template<> ::flyteidl::admin::ProjectAttributesGetResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesGetResponse>(Arena*); -template<> ::flyteidl::admin::ProjectAttributesUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesUpdateRequest>(Arena*); -template<> ::flyteidl::admin::ProjectAttributesUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesUpdateResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class ProjectAttributes final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributes) */ { - public: - ProjectAttributes(); - virtual ~ProjectAttributes(); - - ProjectAttributes(const ProjectAttributes& from); - - inline ProjectAttributes& operator=(const ProjectAttributes& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectAttributes(ProjectAttributes&& from) noexcept - : ProjectAttributes() { - *this = ::std::move(from); - } - - inline ProjectAttributes& operator=(ProjectAttributes&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const ProjectAttributes& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectAttributes* internal_default_instance() { - return reinterpret_cast( - &_ProjectAttributes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ProjectAttributes* other); - friend void swap(ProjectAttributes& a, ProjectAttributes& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectAttributes* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectAttributes* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const ProjectAttributes& from); - void MergeFrom(const ProjectAttributes& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ProjectAttributes* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string org = 3; - void clear_org(); - static const int kOrgFieldNumber = 3; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchingAttributes matching_attributes = 2; - bool has_matching_attributes() const; - void clear_matching_attributes(); - static const int kMatchingAttributesFieldNumber = 2; - const ::flyteidl::admin::MatchingAttributes& matching_attributes() const; - ::flyteidl::admin::MatchingAttributes* release_matching_attributes(); - ::flyteidl::admin::MatchingAttributes* mutable_matching_attributes(); - void set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributes) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::MatchingAttributes* matching_attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectAttributesUpdateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesUpdateRequest) */ { - public: - ProjectAttributesUpdateRequest(); - virtual ~ProjectAttributesUpdateRequest(); - - ProjectAttributesUpdateRequest(const ProjectAttributesUpdateRequest& from); - - inline ProjectAttributesUpdateRequest& operator=(const ProjectAttributesUpdateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectAttributesUpdateRequest(ProjectAttributesUpdateRequest&& from) noexcept - : ProjectAttributesUpdateRequest() { - *this = ::std::move(from); - } - - inline ProjectAttributesUpdateRequest& operator=(ProjectAttributesUpdateRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const ProjectAttributesUpdateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectAttributesUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectAttributesUpdateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(ProjectAttributesUpdateRequest* other); - friend void swap(ProjectAttributesUpdateRequest& a, ProjectAttributesUpdateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectAttributesUpdateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectAttributesUpdateRequest* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const ProjectAttributesUpdateRequest& from); - void MergeFrom(const ProjectAttributesUpdateRequest& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ProjectAttributesUpdateRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.ProjectAttributes attributes = 1; - bool has_attributes() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::flyteidl::admin::ProjectAttributes& attributes() const; - ::flyteidl::admin::ProjectAttributes* release_attributes(); - ::flyteidl::admin::ProjectAttributes* mutable_attributes(); - void set_allocated_attributes(::flyteidl::admin::ProjectAttributes* attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::ProjectAttributes* attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectAttributesUpdateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesUpdateResponse) */ { - public: - ProjectAttributesUpdateResponse(); - virtual ~ProjectAttributesUpdateResponse(); - - ProjectAttributesUpdateResponse(const ProjectAttributesUpdateResponse& from); - - inline ProjectAttributesUpdateResponse& operator=(const ProjectAttributesUpdateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectAttributesUpdateResponse(ProjectAttributesUpdateResponse&& from) noexcept - : ProjectAttributesUpdateResponse() { - *this = ::std::move(from); - } - - inline ProjectAttributesUpdateResponse& operator=(ProjectAttributesUpdateResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const ProjectAttributesUpdateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectAttributesUpdateResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectAttributesUpdateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(ProjectAttributesUpdateResponse* other); - friend void swap(ProjectAttributesUpdateResponse& a, ProjectAttributesUpdateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectAttributesUpdateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectAttributesUpdateResponse* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const ProjectAttributesUpdateResponse& from); - void MergeFrom(const ProjectAttributesUpdateResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ProjectAttributesUpdateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectAttributesGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesGetRequest) */ { - public: - ProjectAttributesGetRequest(); - virtual ~ProjectAttributesGetRequest(); - - ProjectAttributesGetRequest(const ProjectAttributesGetRequest& from); - - inline ProjectAttributesGetRequest& operator=(const ProjectAttributesGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectAttributesGetRequest(ProjectAttributesGetRequest&& from) noexcept - : ProjectAttributesGetRequest() { - *this = ::std::move(from); - } - - inline ProjectAttributesGetRequest& operator=(ProjectAttributesGetRequest&& 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 ProjectAttributesGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectAttributesGetRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectAttributesGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ProjectAttributesGetRequest* other); - friend void swap(ProjectAttributesGetRequest& a, ProjectAttributesGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectAttributesGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectAttributesGetRequest* 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 ProjectAttributesGetRequest& from); - void MergeFrom(const ProjectAttributesGetRequest& 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(ProjectAttributesGetRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string org = 3; - void clear_org(); - static const int kOrgFieldNumber = 3; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchableResource resource_type = 2; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 2; - ::flyteidl::admin::MatchableResource resource_type() const; - void set_resource_type(::flyteidl::admin::MatchableResource value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectAttributesGetResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesGetResponse) */ { - public: - ProjectAttributesGetResponse(); - virtual ~ProjectAttributesGetResponse(); - - ProjectAttributesGetResponse(const ProjectAttributesGetResponse& from); - - inline ProjectAttributesGetResponse& operator=(const ProjectAttributesGetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectAttributesGetResponse(ProjectAttributesGetResponse&& from) noexcept - : ProjectAttributesGetResponse() { - *this = ::std::move(from); - } - - inline ProjectAttributesGetResponse& operator=(ProjectAttributesGetResponse&& 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 ProjectAttributesGetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectAttributesGetResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectAttributesGetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(ProjectAttributesGetResponse* other); - friend void swap(ProjectAttributesGetResponse& a, ProjectAttributesGetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectAttributesGetResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectAttributesGetResponse* 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 ProjectAttributesGetResponse& from); - void MergeFrom(const ProjectAttributesGetResponse& 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(ProjectAttributesGetResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.ProjectAttributes attributes = 1; - bool has_attributes() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::flyteidl::admin::ProjectAttributes& attributes() const; - ::flyteidl::admin::ProjectAttributes* release_attributes(); - ::flyteidl::admin::ProjectAttributes* mutable_attributes(); - void set_allocated_attributes(::flyteidl::admin::ProjectAttributes* attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesGetResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::ProjectAttributes* attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectAttributesDeleteRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesDeleteRequest) */ { - public: - ProjectAttributesDeleteRequest(); - virtual ~ProjectAttributesDeleteRequest(); - - ProjectAttributesDeleteRequest(const ProjectAttributesDeleteRequest& from); - - inline ProjectAttributesDeleteRequest& operator=(const ProjectAttributesDeleteRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectAttributesDeleteRequest(ProjectAttributesDeleteRequest&& from) noexcept - : ProjectAttributesDeleteRequest() { - *this = ::std::move(from); - } - - inline ProjectAttributesDeleteRequest& operator=(ProjectAttributesDeleteRequest&& 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 ProjectAttributesDeleteRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectAttributesDeleteRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectAttributesDeleteRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(ProjectAttributesDeleteRequest* other); - friend void swap(ProjectAttributesDeleteRequest& a, ProjectAttributesDeleteRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectAttributesDeleteRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectAttributesDeleteRequest* 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 ProjectAttributesDeleteRequest& from); - void MergeFrom(const ProjectAttributesDeleteRequest& 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(ProjectAttributesDeleteRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string org = 3; - void clear_org(); - static const int kOrgFieldNumber = 3; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchableResource resource_type = 2; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 2; - ::flyteidl::admin::MatchableResource resource_type() const; - void set_resource_type(::flyteidl::admin::MatchableResource value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesDeleteRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectAttributesDeleteResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesDeleteResponse) */ { - public: - ProjectAttributesDeleteResponse(); - virtual ~ProjectAttributesDeleteResponse(); - - ProjectAttributesDeleteResponse(const ProjectAttributesDeleteResponse& from); - - inline ProjectAttributesDeleteResponse& operator=(const ProjectAttributesDeleteResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectAttributesDeleteResponse(ProjectAttributesDeleteResponse&& from) noexcept - : ProjectAttributesDeleteResponse() { - *this = ::std::move(from); - } - - inline ProjectAttributesDeleteResponse& operator=(ProjectAttributesDeleteResponse&& 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 ProjectAttributesDeleteResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectAttributesDeleteResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectAttributesDeleteResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(ProjectAttributesDeleteResponse* other); - friend void swap(ProjectAttributesDeleteResponse& a, ProjectAttributesDeleteResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectAttributesDeleteResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectAttributesDeleteResponse* 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 ProjectAttributesDeleteResponse& from); - void MergeFrom(const ProjectAttributesDeleteResponse& 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(ProjectAttributesDeleteResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesDeleteResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ProjectAttributes - -// string project = 1; -inline void ProjectAttributes::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectAttributes::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributes.project) - return project_.GetNoArena(); -} -inline void ProjectAttributes::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributes.project) -} -#if LANG_CXX11 -inline void ProjectAttributes::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectAttributes.project) -} -#endif -inline void ProjectAttributes::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectAttributes.project) -} -inline void ProjectAttributes::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectAttributes.project) -} -inline ::std::string* ProjectAttributes::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributes.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectAttributes::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributes.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectAttributes::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributes.project) -} - -// .flyteidl.admin.MatchingAttributes matching_attributes = 2; -inline bool ProjectAttributes::has_matching_attributes() const { - return this != internal_default_instance() && matching_attributes_ != nullptr; -} -inline const ::flyteidl::admin::MatchingAttributes& ProjectAttributes::matching_attributes() const { - const ::flyteidl::admin::MatchingAttributes* p = matching_attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributes.matching_attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); -} -inline ::flyteidl::admin::MatchingAttributes* ProjectAttributes::release_matching_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributes.matching_attributes) - - ::flyteidl::admin::MatchingAttributes* temp = matching_attributes_; - matching_attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::MatchingAttributes* ProjectAttributes::mutable_matching_attributes() { - - if (matching_attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); - matching_attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributes.matching_attributes) - return matching_attributes_; -} -inline void ProjectAttributes::set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(matching_attributes_); - } - if (matching_attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - matching_attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, matching_attributes, submessage_arena); - } - - } else { - - } - matching_attributes_ = matching_attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributes.matching_attributes) -} - -// string org = 3; -inline void ProjectAttributes::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectAttributes::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributes.org) - return org_.GetNoArena(); -} -inline void ProjectAttributes::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributes.org) -} -#if LANG_CXX11 -inline void ProjectAttributes::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectAttributes.org) -} -#endif -inline void ProjectAttributes::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectAttributes.org) -} -inline void ProjectAttributes::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectAttributes.org) -} -inline ::std::string* ProjectAttributes::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributes.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectAttributes::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributes.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectAttributes::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributes.org) -} - -// ------------------------------------------------------------------- - -// ProjectAttributesUpdateRequest - -// .flyteidl.admin.ProjectAttributes attributes = 1; -inline bool ProjectAttributesUpdateRequest::has_attributes() const { - return this != internal_default_instance() && attributes_ != nullptr; -} -inline void ProjectAttributesUpdateRequest::clear_attributes() { - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; -} -inline const ::flyteidl::admin::ProjectAttributes& ProjectAttributesUpdateRequest::attributes() const { - const ::flyteidl::admin::ProjectAttributes* p = attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ProjectAttributes_default_instance_); -} -inline ::flyteidl::admin::ProjectAttributes* ProjectAttributesUpdateRequest::release_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) - - ::flyteidl::admin::ProjectAttributes* temp = attributes_; - attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ProjectAttributes* ProjectAttributesUpdateRequest::mutable_attributes() { - - if (attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ProjectAttributes>(GetArenaNoVirtual()); - attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) - return attributes_; -} -inline void ProjectAttributesUpdateRequest::set_allocated_attributes(::flyteidl::admin::ProjectAttributes* attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete attributes_; - } - if (attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, attributes, submessage_arena); - } - - } else { - - } - attributes_ = attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) -} - -// ------------------------------------------------------------------- - -// ProjectAttributesUpdateResponse - -// ------------------------------------------------------------------- - -// ProjectAttributesGetRequest - -// string project = 1; -inline void ProjectAttributesGetRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectAttributesGetRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesGetRequest.project) - return project_.GetNoArena(); -} -inline void ProjectAttributesGetRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributesGetRequest.project) -} -#if LANG_CXX11 -inline void ProjectAttributesGetRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectAttributesGetRequest.project) -} -#endif -inline void ProjectAttributesGetRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectAttributesGetRequest.project) -} -inline void ProjectAttributesGetRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectAttributesGetRequest.project) -} -inline ::std::string* ProjectAttributesGetRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributesGetRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectAttributesGetRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributesGetRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectAttributesGetRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributesGetRequest.project) -} - -// .flyteidl.admin.MatchableResource resource_type = 2; -inline void ProjectAttributesGetRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::admin::MatchableResource ProjectAttributesGetRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesGetRequest.resource_type) - return static_cast< ::flyteidl::admin::MatchableResource >(resource_type_); -} -inline void ProjectAttributesGetRequest::set_resource_type(::flyteidl::admin::MatchableResource value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributesGetRequest.resource_type) -} - -// string org = 3; -inline void ProjectAttributesGetRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectAttributesGetRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesGetRequest.org) - return org_.GetNoArena(); -} -inline void ProjectAttributesGetRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributesGetRequest.org) -} -#if LANG_CXX11 -inline void ProjectAttributesGetRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectAttributesGetRequest.org) -} -#endif -inline void ProjectAttributesGetRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectAttributesGetRequest.org) -} -inline void ProjectAttributesGetRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectAttributesGetRequest.org) -} -inline ::std::string* ProjectAttributesGetRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributesGetRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectAttributesGetRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributesGetRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectAttributesGetRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributesGetRequest.org) -} - -// ------------------------------------------------------------------- - -// ProjectAttributesGetResponse - -// .flyteidl.admin.ProjectAttributes attributes = 1; -inline bool ProjectAttributesGetResponse::has_attributes() const { - return this != internal_default_instance() && attributes_ != nullptr; -} -inline void ProjectAttributesGetResponse::clear_attributes() { - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; -} -inline const ::flyteidl::admin::ProjectAttributes& ProjectAttributesGetResponse::attributes() const { - const ::flyteidl::admin::ProjectAttributes* p = attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesGetResponse.attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ProjectAttributes_default_instance_); -} -inline ::flyteidl::admin::ProjectAttributes* ProjectAttributesGetResponse::release_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributesGetResponse.attributes) - - ::flyteidl::admin::ProjectAttributes* temp = attributes_; - attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ProjectAttributes* ProjectAttributesGetResponse::mutable_attributes() { - - if (attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ProjectAttributes>(GetArenaNoVirtual()); - attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributesGetResponse.attributes) - return attributes_; -} -inline void ProjectAttributesGetResponse::set_allocated_attributes(::flyteidl::admin::ProjectAttributes* attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete attributes_; - } - if (attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, attributes, submessage_arena); - } - - } else { - - } - attributes_ = attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributesGetResponse.attributes) -} - -// ------------------------------------------------------------------- - -// ProjectAttributesDeleteRequest - -// string project = 1; -inline void ProjectAttributesDeleteRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectAttributesDeleteRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesDeleteRequest.project) - return project_.GetNoArena(); -} -inline void ProjectAttributesDeleteRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributesDeleteRequest.project) -} -#if LANG_CXX11 -inline void ProjectAttributesDeleteRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectAttributesDeleteRequest.project) -} -#endif -inline void ProjectAttributesDeleteRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectAttributesDeleteRequest.project) -} -inline void ProjectAttributesDeleteRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectAttributesDeleteRequest.project) -} -inline ::std::string* ProjectAttributesDeleteRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributesDeleteRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectAttributesDeleteRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributesDeleteRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectAttributesDeleteRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributesDeleteRequest.project) -} - -// .flyteidl.admin.MatchableResource resource_type = 2; -inline void ProjectAttributesDeleteRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::admin::MatchableResource ProjectAttributesDeleteRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesDeleteRequest.resource_type) - return static_cast< ::flyteidl::admin::MatchableResource >(resource_type_); -} -inline void ProjectAttributesDeleteRequest::set_resource_type(::flyteidl::admin::MatchableResource value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributesDeleteRequest.resource_type) -} - -// string org = 3; -inline void ProjectAttributesDeleteRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectAttributesDeleteRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesDeleteRequest.org) - return org_.GetNoArena(); -} -inline void ProjectAttributesDeleteRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributesDeleteRequest.org) -} -#if LANG_CXX11 -inline void ProjectAttributesDeleteRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectAttributesDeleteRequest.org) -} -#endif -inline void ProjectAttributesDeleteRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectAttributesDeleteRequest.org) -} -inline void ProjectAttributesDeleteRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectAttributesDeleteRequest.org) -} -inline ::std::string* ProjectAttributesDeleteRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributesDeleteRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectAttributesDeleteRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributesDeleteRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectAttributesDeleteRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributesDeleteRequest.org) -} - -// ------------------------------------------------------------------- - -// ProjectAttributesDeleteResponse - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fattributes_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.grpc.pb.cc deleted file mode 100644 index e9326ab1fc..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/project_domain_attributes.proto - -#include "flyteidl/admin/project_domain_attributes.pb.h" -#include "flyteidl/admin/project_domain_attributes.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.grpc.pb.h deleted file mode 100644 index 13b9f39b53..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/project_domain_attributes.proto -#ifndef GRPC_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto__INCLUDED - -#include "flyteidl/admin/project_domain_attributes.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.cc deleted file mode 100644 index 25b576c211..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.cc +++ /dev/null @@ -1,2809 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project_domain_attributes.proto - -#include "flyteidl/admin/project_domain_attributes.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -namespace flyteidl { -namespace admin { -class ProjectDomainAttributesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributes_default_instance_; -class ProjectDomainAttributesUpdateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributesUpdateRequest_default_instance_; -class ProjectDomainAttributesUpdateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributesUpdateResponse_default_instance_; -class ProjectDomainAttributesGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributesGetRequest_default_instance_; -class ProjectDomainAttributesGetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributesGetResponse_default_instance_; -class ProjectDomainAttributesDeleteRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributesDeleteRequest_default_instance_; -class ProjectDomainAttributesDeleteResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributesDeleteResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributes_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributes(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectDomainAttributes::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, { - &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -static void InitDefaultsProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributesUpdateRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributesUpdateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectDomainAttributesUpdateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, { - &scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base,}}; - -static void InitDefaultsProjectDomainAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributesUpdateResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributesUpdateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectDomainAttributesUpdateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectDomainAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectDomainAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, {}}; - -static void InitDefaultsProjectDomainAttributesGetRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributesGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributesGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectDomainAttributesGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectDomainAttributesGetRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectDomainAttributesGetRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, {}}; - -static void InitDefaultsProjectDomainAttributesGetResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributesGetResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributesGetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectDomainAttributesGetResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ProjectDomainAttributesGetResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectDomainAttributesGetResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, { - &scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base,}}; - -static void InitDefaultsProjectDomainAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributesDeleteRequest_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributesDeleteRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectDomainAttributesDeleteRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectDomainAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectDomainAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, {}}; - -static void InitDefaultsProjectDomainAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributesDeleteResponse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributesDeleteResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::ProjectDomainAttributesDeleteResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectDomainAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectDomainAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesGetRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesGetResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[7]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, matching_attributes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesUpdateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesUpdateRequest, attributes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesUpdateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesGetRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesGetRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesGetRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesGetRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesGetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesGetResponse, attributes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesDeleteRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesDeleteRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesDeleteRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesDeleteRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesDeleteRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesDeleteResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::ProjectDomainAttributes)}, - { 9, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesUpdateRequest)}, - { 15, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesUpdateResponse)}, - { 20, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesGetRequest)}, - { 29, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesGetResponse)}, - { 35, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesDeleteRequest)}, - { 44, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesDeleteResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributes_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesUpdateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesUpdateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesGetResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesDeleteRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesDeleteResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, "flyteidl/admin/project_domain_attributes.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, 7, file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[] = - "\n.flyteidl/admin/project_domain_attribut" - "es.proto\022\016flyteidl.admin\032\'flyteidl/admin" - "/matchable_resource.proto\"\210\001\n\027ProjectDom" - "ainAttributes\022\017\n\007project\030\001 \001(\t\022\016\n\006domain" - "\030\002 \001(\t\022\?\n\023matching_attributes\030\003 \001(\0132\".fl" - "yteidl.admin.MatchingAttributes\022\013\n\003org\030\004" - " \001(\t\"c\n$ProjectDomainAttributesUpdateReq" - "uest\022;\n\nattributes\030\001 \001(\0132\'.flyteidl.admi" - "n.ProjectDomainAttributes\"\'\n%ProjectDoma" - "inAttributesUpdateResponse\"\213\001\n!ProjectDo" - "mainAttributesGetRequest\022\017\n\007project\030\001 \001(" - "\t\022\016\n\006domain\030\002 \001(\t\0228\n\rresource_type\030\003 \001(\016" - "2!.flyteidl.admin.MatchableResource\022\013\n\003o" - "rg\030\004 \001(\t\"a\n\"ProjectDomainAttributesGetRe" - "sponse\022;\n\nattributes\030\001 \001(\0132\'.flyteidl.ad" - "min.ProjectDomainAttributes\"\216\001\n$ProjectD" - "omainAttributesDeleteRequest\022\017\n\007project\030" - "\001 \001(\t\022\016\n\006domain\030\002 \001(\t\0228\n\rresource_type\030\003" - " \001(\0162!.flyteidl.admin.MatchableResource\022" - "\013\n\003org\030\004 \001(\t\"\'\n%ProjectDomainAttributesD" - "eleteResponseB=Z;github.com/flyteorg/fly" - "te/flyteidl/gen/pb-go/flyteidl/adminb\006pr" - "oto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, - "flyteidl/admin/project_domain_attributes.proto", &assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, 884, -}; - -void AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void ProjectDomainAttributes::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectDomainAttributes_default_instance_._instance.get_mutable()->matching_attributes_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); -} -class ProjectDomainAttributes::HasBitSetters { - public: - static const ::flyteidl::admin::MatchingAttributes& matching_attributes(const ProjectDomainAttributes* msg); -}; - -const ::flyteidl::admin::MatchingAttributes& -ProjectDomainAttributes::HasBitSetters::matching_attributes(const ProjectDomainAttributes* msg) { - return *msg->matching_attributes_; -} -void ProjectDomainAttributes::clear_matching_attributes() { - if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { - delete matching_attributes_; - } - matching_attributes_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectDomainAttributes::kProjectFieldNumber; -const int ProjectDomainAttributes::kDomainFieldNumber; -const int ProjectDomainAttributes::kMatchingAttributesFieldNumber; -const int ProjectDomainAttributes::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectDomainAttributes::ProjectDomainAttributes() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectDomainAttributes) -} -ProjectDomainAttributes::ProjectDomainAttributes(const ProjectDomainAttributes& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_matching_attributes()) { - matching_attributes_ = new ::flyteidl::admin::MatchingAttributes(*from.matching_attributes_); - } else { - matching_attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributes) -} - -void ProjectDomainAttributes::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - matching_attributes_ = nullptr; -} - -ProjectDomainAttributes::~ProjectDomainAttributes() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectDomainAttributes) - SharedDtor(); -} - -void ProjectDomainAttributes::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete matching_attributes_; -} - -void ProjectDomainAttributes::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectDomainAttributes& ProjectDomainAttributes::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectDomainAttributes::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectDomainAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { - delete matching_attributes_; - } - matching_attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectDomainAttributes::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributes.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributes.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchingAttributes matching_attributes = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; - object = msg->mutable_matching_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // string org = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributes.org"); - object = msg->mutable_org(); - 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 ProjectDomainAttributes::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectDomainAttributes) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributes.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributes.domain")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_matching_attributes())); - } else { - goto handle_unusual; - } - break; - } - - // string org = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributes.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectDomainAttributes) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectDomainAttributes) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectDomainAttributes::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectDomainAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 3; - if (this->has_matching_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::matching_attributes(this), output); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectDomainAttributes) -} - -::google::protobuf::uint8* ProjectDomainAttributes::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectDomainAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 3; - if (this->has_matching_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::matching_attributes(this), target); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectDomainAttributes) - return target; -} - -size_t ProjectDomainAttributes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectDomainAttributes) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string org = 4; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 3; - if (this->has_matching_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *matching_attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectDomainAttributes::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectDomainAttributes) - GOOGLE_DCHECK_NE(&from, this); - const ProjectDomainAttributes* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectDomainAttributes) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectDomainAttributes) - MergeFrom(*source); - } -} - -void ProjectDomainAttributes::MergeFrom(const ProjectDomainAttributes& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectDomainAttributes) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_matching_attributes()) { - mutable_matching_attributes()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.matching_attributes()); - } -} - -void ProjectDomainAttributes::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectDomainAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectDomainAttributes::CopyFrom(const ProjectDomainAttributes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectDomainAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectDomainAttributes::IsInitialized() const { - return true; -} - -void ProjectDomainAttributes::Swap(ProjectDomainAttributes* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectDomainAttributes::InternalSwap(ProjectDomainAttributes* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(matching_attributes_, other->matching_attributes_); -} - -::google::protobuf::Metadata ProjectDomainAttributes::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectDomainAttributesUpdateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectDomainAttributesUpdateRequest_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::ProjectDomainAttributes*>( - ::flyteidl::admin::ProjectDomainAttributes::internal_default_instance()); -} -class ProjectDomainAttributesUpdateRequest::HasBitSetters { - public: - static const ::flyteidl::admin::ProjectDomainAttributes& attributes(const ProjectDomainAttributesUpdateRequest* msg); -}; - -const ::flyteidl::admin::ProjectDomainAttributes& -ProjectDomainAttributesUpdateRequest::HasBitSetters::attributes(const ProjectDomainAttributesUpdateRequest* msg) { - return *msg->attributes_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectDomainAttributesUpdateRequest::kAttributesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectDomainAttributesUpdateRequest::ProjectDomainAttributesUpdateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectDomainAttributesUpdateRequest) -} -ProjectDomainAttributesUpdateRequest::ProjectDomainAttributesUpdateRequest(const ProjectDomainAttributesUpdateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_attributes()) { - attributes_ = new ::flyteidl::admin::ProjectDomainAttributes(*from.attributes_); - } else { - attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributesUpdateRequest) -} - -void ProjectDomainAttributesUpdateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - attributes_ = nullptr; -} - -ProjectDomainAttributesUpdateRequest::~ProjectDomainAttributesUpdateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - SharedDtor(); -} - -void ProjectDomainAttributesUpdateRequest::SharedDtor() { - if (this != internal_default_instance()) delete attributes_; -} - -void ProjectDomainAttributesUpdateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectDomainAttributesUpdateRequest& ProjectDomainAttributesUpdateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectDomainAttributesUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectDomainAttributesUpdateRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ProjectDomainAttributes::_InternalParse; - object = msg->mutable_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ProjectDomainAttributesUpdateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_attributes())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectDomainAttributesUpdateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - if (this->has_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::attributes(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectDomainAttributesUpdateRequest) -} - -::google::protobuf::uint8* ProjectDomainAttributesUpdateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - if (this->has_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::attributes(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - return target; -} - -size_t ProjectDomainAttributesUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - if (this->has_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectDomainAttributesUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectDomainAttributesUpdateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - MergeFrom(*source); - } -} - -void ProjectDomainAttributesUpdateRequest::MergeFrom(const ProjectDomainAttributesUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_attributes()) { - mutable_attributes()->::flyteidl::admin::ProjectDomainAttributes::MergeFrom(from.attributes()); - } -} - -void ProjectDomainAttributesUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectDomainAttributesUpdateRequest::CopyFrom(const ProjectDomainAttributesUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectDomainAttributesUpdateRequest::IsInitialized() const { - return true; -} - -void ProjectDomainAttributesUpdateRequest::Swap(ProjectDomainAttributesUpdateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectDomainAttributesUpdateRequest::InternalSwap(ProjectDomainAttributesUpdateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(attributes_, other->attributes_); -} - -::google::protobuf::Metadata ProjectDomainAttributesUpdateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectDomainAttributesUpdateResponse::InitAsDefaultInstance() { -} -class ProjectDomainAttributesUpdateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectDomainAttributesUpdateResponse::ProjectDomainAttributesUpdateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectDomainAttributesUpdateResponse) -} -ProjectDomainAttributesUpdateResponse::ProjectDomainAttributesUpdateResponse(const ProjectDomainAttributesUpdateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributesUpdateResponse) -} - -void ProjectDomainAttributesUpdateResponse::SharedCtor() { -} - -ProjectDomainAttributesUpdateResponse::~ProjectDomainAttributesUpdateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - SharedDtor(); -} - -void ProjectDomainAttributesUpdateResponse::SharedDtor() { -} - -void ProjectDomainAttributesUpdateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectDomainAttributesUpdateResponse& ProjectDomainAttributesUpdateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectDomainAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectDomainAttributesUpdateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - ::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* ProjectDomainAttributesUpdateResponse::_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 ProjectDomainAttributesUpdateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectDomainAttributesUpdateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectDomainAttributesUpdateResponse) -} - -::google::protobuf::uint8* ProjectDomainAttributesUpdateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - return target; -} - -size_t ProjectDomainAttributesUpdateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - 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 ProjectDomainAttributesUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectDomainAttributesUpdateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - MergeFrom(*source); - } -} - -void ProjectDomainAttributesUpdateResponse::MergeFrom(const ProjectDomainAttributesUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ProjectDomainAttributesUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectDomainAttributesUpdateResponse::CopyFrom(const ProjectDomainAttributesUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectDomainAttributesUpdateResponse::IsInitialized() const { - return true; -} - -void ProjectDomainAttributesUpdateResponse::Swap(ProjectDomainAttributesUpdateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectDomainAttributesUpdateResponse::InternalSwap(ProjectDomainAttributesUpdateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ProjectDomainAttributesUpdateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectDomainAttributesGetRequest::InitAsDefaultInstance() { -} -class ProjectDomainAttributesGetRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectDomainAttributesGetRequest::kProjectFieldNumber; -const int ProjectDomainAttributesGetRequest::kDomainFieldNumber; -const int ProjectDomainAttributesGetRequest::kResourceTypeFieldNumber; -const int ProjectDomainAttributesGetRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectDomainAttributesGetRequest::ProjectDomainAttributesGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectDomainAttributesGetRequest) -} -ProjectDomainAttributesGetRequest::ProjectDomainAttributesGetRequest(const ProjectDomainAttributesGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributesGetRequest) -} - -void ProjectDomainAttributesGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectDomainAttributesGetRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -ProjectDomainAttributesGetRequest::~ProjectDomainAttributesGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectDomainAttributesGetRequest) - SharedDtor(); -} - -void ProjectDomainAttributesGetRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ProjectDomainAttributesGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectDomainAttributesGetRequest& ProjectDomainAttributesGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectDomainAttributesGetRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectDomainAttributesGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectDomainAttributesGetRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributesGetRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributesGetRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchableResource resource_type = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_resource_type(static_cast<::flyteidl::admin::MatchableResource>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributesGetRequest.org"); - object = msg->mutable_org(); - 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 ProjectDomainAttributesGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_resource_type(static_cast< ::flyteidl::admin::MatchableResource >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectDomainAttributesGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectDomainAttributesGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectDomainAttributesGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->resource_type(), output); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectDomainAttributesGetRequest) -} - -::google::protobuf::uint8* ProjectDomainAttributesGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->resource_type(), target); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesGetRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectDomainAttributesGetRequest) - return target; -} - -size_t ProjectDomainAttributesGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string org = 4; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectDomainAttributesGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectDomainAttributesGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectDomainAttributesGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectDomainAttributesGetRequest) - MergeFrom(*source); - } -} - -void ProjectDomainAttributesGetRequest::MergeFrom(const ProjectDomainAttributesGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void ProjectDomainAttributesGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectDomainAttributesGetRequest::CopyFrom(const ProjectDomainAttributesGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectDomainAttributesGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectDomainAttributesGetRequest::IsInitialized() const { - return true; -} - -void ProjectDomainAttributesGetRequest::Swap(ProjectDomainAttributesGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectDomainAttributesGetRequest::InternalSwap(ProjectDomainAttributesGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata ProjectDomainAttributesGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectDomainAttributesGetResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_ProjectDomainAttributesGetResponse_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::ProjectDomainAttributes*>( - ::flyteidl::admin::ProjectDomainAttributes::internal_default_instance()); -} -class ProjectDomainAttributesGetResponse::HasBitSetters { - public: - static const ::flyteidl::admin::ProjectDomainAttributes& attributes(const ProjectDomainAttributesGetResponse* msg); -}; - -const ::flyteidl::admin::ProjectDomainAttributes& -ProjectDomainAttributesGetResponse::HasBitSetters::attributes(const ProjectDomainAttributesGetResponse* msg) { - return *msg->attributes_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectDomainAttributesGetResponse::kAttributesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectDomainAttributesGetResponse::ProjectDomainAttributesGetResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectDomainAttributesGetResponse) -} -ProjectDomainAttributesGetResponse::ProjectDomainAttributesGetResponse(const ProjectDomainAttributesGetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_attributes()) { - attributes_ = new ::flyteidl::admin::ProjectDomainAttributes(*from.attributes_); - } else { - attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributesGetResponse) -} - -void ProjectDomainAttributesGetResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectDomainAttributesGetResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - attributes_ = nullptr; -} - -ProjectDomainAttributesGetResponse::~ProjectDomainAttributesGetResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectDomainAttributesGetResponse) - SharedDtor(); -} - -void ProjectDomainAttributesGetResponse::SharedDtor() { - if (this != internal_default_instance()) delete attributes_; -} - -void ProjectDomainAttributesGetResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectDomainAttributesGetResponse& ProjectDomainAttributesGetResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectDomainAttributesGetResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectDomainAttributesGetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectDomainAttributesGetResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::ProjectDomainAttributes::_InternalParse; - object = msg->mutable_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ProjectDomainAttributesGetResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_attributes())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectDomainAttributesGetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectDomainAttributesGetResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectDomainAttributesGetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - if (this->has_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::attributes(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectDomainAttributesGetResponse) -} - -::google::protobuf::uint8* ProjectDomainAttributesGetResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - if (this->has_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::attributes(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectDomainAttributesGetResponse) - return target; -} - -size_t ProjectDomainAttributesGetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - if (this->has_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectDomainAttributesGetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectDomainAttributesGetResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectDomainAttributesGetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectDomainAttributesGetResponse) - MergeFrom(*source); - } -} - -void ProjectDomainAttributesGetResponse::MergeFrom(const ProjectDomainAttributesGetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_attributes()) { - mutable_attributes()->::flyteidl::admin::ProjectDomainAttributes::MergeFrom(from.attributes()); - } -} - -void ProjectDomainAttributesGetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectDomainAttributesGetResponse::CopyFrom(const ProjectDomainAttributesGetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectDomainAttributesGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectDomainAttributesGetResponse::IsInitialized() const { - return true; -} - -void ProjectDomainAttributesGetResponse::Swap(ProjectDomainAttributesGetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectDomainAttributesGetResponse::InternalSwap(ProjectDomainAttributesGetResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(attributes_, other->attributes_); -} - -::google::protobuf::Metadata ProjectDomainAttributesGetResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectDomainAttributesDeleteRequest::InitAsDefaultInstance() { -} -class ProjectDomainAttributesDeleteRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ProjectDomainAttributesDeleteRequest::kProjectFieldNumber; -const int ProjectDomainAttributesDeleteRequest::kDomainFieldNumber; -const int ProjectDomainAttributesDeleteRequest::kResourceTypeFieldNumber; -const int ProjectDomainAttributesDeleteRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectDomainAttributesDeleteRequest::ProjectDomainAttributesDeleteRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectDomainAttributesDeleteRequest) -} -ProjectDomainAttributesDeleteRequest::ProjectDomainAttributesDeleteRequest(const ProjectDomainAttributesDeleteRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributesDeleteRequest) -} - -void ProjectDomainAttributesDeleteRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ProjectDomainAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -ProjectDomainAttributesDeleteRequest::~ProjectDomainAttributesDeleteRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - SharedDtor(); -} - -void ProjectDomainAttributesDeleteRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ProjectDomainAttributesDeleteRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectDomainAttributesDeleteRequest& ProjectDomainAttributesDeleteRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectDomainAttributesDeleteRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectDomainAttributesDeleteRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ProjectDomainAttributesDeleteRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributesDeleteRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchableResource resource_type = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_resource_type(static_cast<::flyteidl::admin::MatchableResource>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectDomainAttributesDeleteRequest.org"); - object = msg->mutable_org(); - 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 ProjectDomainAttributesDeleteRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_resource_type(static_cast< ::flyteidl::admin::MatchableResource >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectDomainAttributesDeleteRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->resource_type(), output); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectDomainAttributesDeleteRequest) -} - -::google::protobuf::uint8* ProjectDomainAttributesDeleteRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->resource_type(), target); - } - - // string org = 4; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributesDeleteRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - return target; -} - -size_t ProjectDomainAttributesDeleteRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string org = 4; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchableResource resource_type = 3; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ProjectDomainAttributesDeleteRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - const ProjectDomainAttributesDeleteRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - MergeFrom(*source); - } -} - -void ProjectDomainAttributesDeleteRequest::MergeFrom(const ProjectDomainAttributesDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void ProjectDomainAttributesDeleteRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectDomainAttributesDeleteRequest::CopyFrom(const ProjectDomainAttributesDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectDomainAttributesDeleteRequest::IsInitialized() const { - return true; -} - -void ProjectDomainAttributesDeleteRequest::Swap(ProjectDomainAttributesDeleteRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectDomainAttributesDeleteRequest::InternalSwap(ProjectDomainAttributesDeleteRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata ProjectDomainAttributesDeleteRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ProjectDomainAttributesDeleteResponse::InitAsDefaultInstance() { -} -class ProjectDomainAttributesDeleteResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ProjectDomainAttributesDeleteResponse::ProjectDomainAttributesDeleteResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectDomainAttributesDeleteResponse) -} -ProjectDomainAttributesDeleteResponse::ProjectDomainAttributesDeleteResponse(const ProjectDomainAttributesDeleteResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributesDeleteResponse) -} - -void ProjectDomainAttributesDeleteResponse::SharedCtor() { -} - -ProjectDomainAttributesDeleteResponse::~ProjectDomainAttributesDeleteResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - SharedDtor(); -} - -void ProjectDomainAttributesDeleteResponse::SharedDtor() { -} - -void ProjectDomainAttributesDeleteResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ProjectDomainAttributesDeleteResponse& ProjectDomainAttributesDeleteResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ProjectDomainAttributesDeleteResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void ProjectDomainAttributesDeleteResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - ::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* ProjectDomainAttributesDeleteResponse::_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 ProjectDomainAttributesDeleteResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ProjectDomainAttributesDeleteResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectDomainAttributesDeleteResponse) -} - -::google::protobuf::uint8* ProjectDomainAttributesDeleteResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - return target; -} - -size_t ProjectDomainAttributesDeleteResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - 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 ProjectDomainAttributesDeleteResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - const ProjectDomainAttributesDeleteResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - MergeFrom(*source); - } -} - -void ProjectDomainAttributesDeleteResponse::MergeFrom(const ProjectDomainAttributesDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ProjectDomainAttributesDeleteResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ProjectDomainAttributesDeleteResponse::CopyFrom(const ProjectDomainAttributesDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProjectDomainAttributesDeleteResponse::IsInitialized() const { - return true; -} - -void ProjectDomainAttributesDeleteResponse::Swap(ProjectDomainAttributesDeleteResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ProjectDomainAttributesDeleteResponse::InternalSwap(ProjectDomainAttributesDeleteResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ProjectDomainAttributesDeleteResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributes >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributes >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributesGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributesGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributesGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributesGetResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributesGetResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributesGetResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributesDeleteRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributesDeleteRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.h deleted file mode 100644 index aa27ef3a0a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.h +++ /dev/null @@ -1,1716 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project_domain_attributes.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/admin/matchable_resource.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[7] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto(); -namespace flyteidl { -namespace admin { -class ProjectDomainAttributes; -class ProjectDomainAttributesDefaultTypeInternal; -extern ProjectDomainAttributesDefaultTypeInternal _ProjectDomainAttributes_default_instance_; -class ProjectDomainAttributesDeleteRequest; -class ProjectDomainAttributesDeleteRequestDefaultTypeInternal; -extern ProjectDomainAttributesDeleteRequestDefaultTypeInternal _ProjectDomainAttributesDeleteRequest_default_instance_; -class ProjectDomainAttributesDeleteResponse; -class ProjectDomainAttributesDeleteResponseDefaultTypeInternal; -extern ProjectDomainAttributesDeleteResponseDefaultTypeInternal _ProjectDomainAttributesDeleteResponse_default_instance_; -class ProjectDomainAttributesGetRequest; -class ProjectDomainAttributesGetRequestDefaultTypeInternal; -extern ProjectDomainAttributesGetRequestDefaultTypeInternal _ProjectDomainAttributesGetRequest_default_instance_; -class ProjectDomainAttributesGetResponse; -class ProjectDomainAttributesGetResponseDefaultTypeInternal; -extern ProjectDomainAttributesGetResponseDefaultTypeInternal _ProjectDomainAttributesGetResponse_default_instance_; -class ProjectDomainAttributesUpdateRequest; -class ProjectDomainAttributesUpdateRequestDefaultTypeInternal; -extern ProjectDomainAttributesUpdateRequestDefaultTypeInternal _ProjectDomainAttributesUpdateRequest_default_instance_; -class ProjectDomainAttributesUpdateResponse; -class ProjectDomainAttributesUpdateResponseDefaultTypeInternal; -extern ProjectDomainAttributesUpdateResponseDefaultTypeInternal _ProjectDomainAttributesUpdateResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::ProjectDomainAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributes>(Arena*); -template<> ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesDeleteRequest>(Arena*); -template<> ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesDeleteResponse>(Arena*); -template<> ::flyteidl::admin::ProjectDomainAttributesGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesGetRequest>(Arena*); -template<> ::flyteidl::admin::ProjectDomainAttributesGetResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesGetResponse>(Arena*); -template<> ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesUpdateRequest>(Arena*); -template<> ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesUpdateResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class ProjectDomainAttributes final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributes) */ { - public: - ProjectDomainAttributes(); - virtual ~ProjectDomainAttributes(); - - ProjectDomainAttributes(const ProjectDomainAttributes& from); - - inline ProjectDomainAttributes& operator=(const ProjectDomainAttributes& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectDomainAttributes(ProjectDomainAttributes&& from) noexcept - : ProjectDomainAttributes() { - *this = ::std::move(from); - } - - inline ProjectDomainAttributes& operator=(ProjectDomainAttributes&& 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 ProjectDomainAttributes& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectDomainAttributes* internal_default_instance() { - return reinterpret_cast( - &_ProjectDomainAttributes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ProjectDomainAttributes* other); - friend void swap(ProjectDomainAttributes& a, ProjectDomainAttributes& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectDomainAttributes* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectDomainAttributes* 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 ProjectDomainAttributes& from); - void MergeFrom(const ProjectDomainAttributes& 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(ProjectDomainAttributes* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string org = 4; - void clear_org(); - static const int kOrgFieldNumber = 4; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchingAttributes matching_attributes = 3; - bool has_matching_attributes() const; - void clear_matching_attributes(); - static const int kMatchingAttributesFieldNumber = 3; - const ::flyteidl::admin::MatchingAttributes& matching_attributes() const; - ::flyteidl::admin::MatchingAttributes* release_matching_attributes(); - ::flyteidl::admin::MatchingAttributes* mutable_matching_attributes(); - void set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributes) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::MatchingAttributes* matching_attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectDomainAttributesUpdateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributesUpdateRequest) */ { - public: - ProjectDomainAttributesUpdateRequest(); - virtual ~ProjectDomainAttributesUpdateRequest(); - - ProjectDomainAttributesUpdateRequest(const ProjectDomainAttributesUpdateRequest& from); - - inline ProjectDomainAttributesUpdateRequest& operator=(const ProjectDomainAttributesUpdateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectDomainAttributesUpdateRequest(ProjectDomainAttributesUpdateRequest&& from) noexcept - : ProjectDomainAttributesUpdateRequest() { - *this = ::std::move(from); - } - - inline ProjectDomainAttributesUpdateRequest& operator=(ProjectDomainAttributesUpdateRequest&& 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 ProjectDomainAttributesUpdateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectDomainAttributesUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectDomainAttributesUpdateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(ProjectDomainAttributesUpdateRequest* other); - friend void swap(ProjectDomainAttributesUpdateRequest& a, ProjectDomainAttributesUpdateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectDomainAttributesUpdateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectDomainAttributesUpdateRequest* 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 ProjectDomainAttributesUpdateRequest& from); - void MergeFrom(const ProjectDomainAttributesUpdateRequest& 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(ProjectDomainAttributesUpdateRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - bool has_attributes() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::flyteidl::admin::ProjectDomainAttributes& attributes() const; - ::flyteidl::admin::ProjectDomainAttributes* release_attributes(); - ::flyteidl::admin::ProjectDomainAttributes* mutable_attributes(); - void set_allocated_attributes(::flyteidl::admin::ProjectDomainAttributes* attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::ProjectDomainAttributes* attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectDomainAttributesUpdateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributesUpdateResponse) */ { - public: - ProjectDomainAttributesUpdateResponse(); - virtual ~ProjectDomainAttributesUpdateResponse(); - - ProjectDomainAttributesUpdateResponse(const ProjectDomainAttributesUpdateResponse& from); - - inline ProjectDomainAttributesUpdateResponse& operator=(const ProjectDomainAttributesUpdateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectDomainAttributesUpdateResponse(ProjectDomainAttributesUpdateResponse&& from) noexcept - : ProjectDomainAttributesUpdateResponse() { - *this = ::std::move(from); - } - - inline ProjectDomainAttributesUpdateResponse& operator=(ProjectDomainAttributesUpdateResponse&& 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 ProjectDomainAttributesUpdateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectDomainAttributesUpdateResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectDomainAttributesUpdateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(ProjectDomainAttributesUpdateResponse* other); - friend void swap(ProjectDomainAttributesUpdateResponse& a, ProjectDomainAttributesUpdateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectDomainAttributesUpdateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectDomainAttributesUpdateResponse* 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 ProjectDomainAttributesUpdateResponse& from); - void MergeFrom(const ProjectDomainAttributesUpdateResponse& 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(ProjectDomainAttributesUpdateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectDomainAttributesGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributesGetRequest) */ { - public: - ProjectDomainAttributesGetRequest(); - virtual ~ProjectDomainAttributesGetRequest(); - - ProjectDomainAttributesGetRequest(const ProjectDomainAttributesGetRequest& from); - - inline ProjectDomainAttributesGetRequest& operator=(const ProjectDomainAttributesGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectDomainAttributesGetRequest(ProjectDomainAttributesGetRequest&& from) noexcept - : ProjectDomainAttributesGetRequest() { - *this = ::std::move(from); - } - - inline ProjectDomainAttributesGetRequest& operator=(ProjectDomainAttributesGetRequest&& 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 ProjectDomainAttributesGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectDomainAttributesGetRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectDomainAttributesGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ProjectDomainAttributesGetRequest* other); - friend void swap(ProjectDomainAttributesGetRequest& a, ProjectDomainAttributesGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectDomainAttributesGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectDomainAttributesGetRequest* 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 ProjectDomainAttributesGetRequest& from); - void MergeFrom(const ProjectDomainAttributesGetRequest& 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(ProjectDomainAttributesGetRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string org = 4; - void clear_org(); - static const int kOrgFieldNumber = 4; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchableResource resource_type = 3; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 3; - ::flyteidl::admin::MatchableResource resource_type() const; - void set_resource_type(::flyteidl::admin::MatchableResource value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectDomainAttributesGetResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributesGetResponse) */ { - public: - ProjectDomainAttributesGetResponse(); - virtual ~ProjectDomainAttributesGetResponse(); - - ProjectDomainAttributesGetResponse(const ProjectDomainAttributesGetResponse& from); - - inline ProjectDomainAttributesGetResponse& operator=(const ProjectDomainAttributesGetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectDomainAttributesGetResponse(ProjectDomainAttributesGetResponse&& from) noexcept - : ProjectDomainAttributesGetResponse() { - *this = ::std::move(from); - } - - inline ProjectDomainAttributesGetResponse& operator=(ProjectDomainAttributesGetResponse&& 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 ProjectDomainAttributesGetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectDomainAttributesGetResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectDomainAttributesGetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(ProjectDomainAttributesGetResponse* other); - friend void swap(ProjectDomainAttributesGetResponse& a, ProjectDomainAttributesGetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectDomainAttributesGetResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectDomainAttributesGetResponse* 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 ProjectDomainAttributesGetResponse& from); - void MergeFrom(const ProjectDomainAttributesGetResponse& 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(ProjectDomainAttributesGetResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.ProjectDomainAttributes attributes = 1; - bool has_attributes() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::flyteidl::admin::ProjectDomainAttributes& attributes() const; - ::flyteidl::admin::ProjectDomainAttributes* release_attributes(); - ::flyteidl::admin::ProjectDomainAttributes* mutable_attributes(); - void set_allocated_attributes(::flyteidl::admin::ProjectDomainAttributes* attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesGetResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::ProjectDomainAttributes* attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectDomainAttributesDeleteRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributesDeleteRequest) */ { - public: - ProjectDomainAttributesDeleteRequest(); - virtual ~ProjectDomainAttributesDeleteRequest(); - - ProjectDomainAttributesDeleteRequest(const ProjectDomainAttributesDeleteRequest& from); - - inline ProjectDomainAttributesDeleteRequest& operator=(const ProjectDomainAttributesDeleteRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectDomainAttributesDeleteRequest(ProjectDomainAttributesDeleteRequest&& from) noexcept - : ProjectDomainAttributesDeleteRequest() { - *this = ::std::move(from); - } - - inline ProjectDomainAttributesDeleteRequest& operator=(ProjectDomainAttributesDeleteRequest&& 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 ProjectDomainAttributesDeleteRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectDomainAttributesDeleteRequest* internal_default_instance() { - return reinterpret_cast( - &_ProjectDomainAttributesDeleteRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(ProjectDomainAttributesDeleteRequest* other); - friend void swap(ProjectDomainAttributesDeleteRequest& a, ProjectDomainAttributesDeleteRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectDomainAttributesDeleteRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectDomainAttributesDeleteRequest* 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 ProjectDomainAttributesDeleteRequest& from); - void MergeFrom(const ProjectDomainAttributesDeleteRequest& 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(ProjectDomainAttributesDeleteRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string org = 4; - void clear_org(); - static const int kOrgFieldNumber = 4; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchableResource resource_type = 3; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 3; - ::flyteidl::admin::MatchableResource resource_type() const; - void set_resource_type(::flyteidl::admin::MatchableResource value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class ProjectDomainAttributesDeleteResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributesDeleteResponse) */ { - public: - ProjectDomainAttributesDeleteResponse(); - virtual ~ProjectDomainAttributesDeleteResponse(); - - ProjectDomainAttributesDeleteResponse(const ProjectDomainAttributesDeleteResponse& from); - - inline ProjectDomainAttributesDeleteResponse& operator=(const ProjectDomainAttributesDeleteResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ProjectDomainAttributesDeleteResponse(ProjectDomainAttributesDeleteResponse&& from) noexcept - : ProjectDomainAttributesDeleteResponse() { - *this = ::std::move(from); - } - - inline ProjectDomainAttributesDeleteResponse& operator=(ProjectDomainAttributesDeleteResponse&& 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 ProjectDomainAttributesDeleteResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ProjectDomainAttributesDeleteResponse* internal_default_instance() { - return reinterpret_cast( - &_ProjectDomainAttributesDeleteResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(ProjectDomainAttributesDeleteResponse* other); - friend void swap(ProjectDomainAttributesDeleteResponse& a, ProjectDomainAttributesDeleteResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ProjectDomainAttributesDeleteResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ProjectDomainAttributesDeleteResponse* 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 ProjectDomainAttributesDeleteResponse& from); - void MergeFrom(const ProjectDomainAttributesDeleteResponse& 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(ProjectDomainAttributesDeleteResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ProjectDomainAttributes - -// string project = 1; -inline void ProjectDomainAttributes::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributes::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributes.project) - return project_.GetNoArena(); -} -inline void ProjectDomainAttributes::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributes.project) -} -#if LANG_CXX11 -inline void ProjectDomainAttributes::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributes.project) -} -#endif -inline void ProjectDomainAttributes::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributes.project) -} -inline void ProjectDomainAttributes::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributes.project) -} -inline ::std::string* ProjectDomainAttributes::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributes.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributes::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributes.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributes::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributes.project) -} - -// string domain = 2; -inline void ProjectDomainAttributes::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributes::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributes.domain) - return domain_.GetNoArena(); -} -inline void ProjectDomainAttributes::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributes.domain) -} -#if LANG_CXX11 -inline void ProjectDomainAttributes::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributes.domain) -} -#endif -inline void ProjectDomainAttributes::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributes.domain) -} -inline void ProjectDomainAttributes::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributes.domain) -} -inline ::std::string* ProjectDomainAttributes::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributes.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributes::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributes.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributes::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributes.domain) -} - -// .flyteidl.admin.MatchingAttributes matching_attributes = 3; -inline bool ProjectDomainAttributes::has_matching_attributes() const { - return this != internal_default_instance() && matching_attributes_ != nullptr; -} -inline const ::flyteidl::admin::MatchingAttributes& ProjectDomainAttributes::matching_attributes() const { - const ::flyteidl::admin::MatchingAttributes* p = matching_attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributes.matching_attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); -} -inline ::flyteidl::admin::MatchingAttributes* ProjectDomainAttributes::release_matching_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributes.matching_attributes) - - ::flyteidl::admin::MatchingAttributes* temp = matching_attributes_; - matching_attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::MatchingAttributes* ProjectDomainAttributes::mutable_matching_attributes() { - - if (matching_attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); - matching_attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributes.matching_attributes) - return matching_attributes_; -} -inline void ProjectDomainAttributes::set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(matching_attributes_); - } - if (matching_attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - matching_attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, matching_attributes, submessage_arena); - } - - } else { - - } - matching_attributes_ = matching_attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributes.matching_attributes) -} - -// string org = 4; -inline void ProjectDomainAttributes::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributes::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributes.org) - return org_.GetNoArena(); -} -inline void ProjectDomainAttributes::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributes.org) -} -#if LANG_CXX11 -inline void ProjectDomainAttributes::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributes.org) -} -#endif -inline void ProjectDomainAttributes::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributes.org) -} -inline void ProjectDomainAttributes::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributes.org) -} -inline ::std::string* ProjectDomainAttributes::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributes.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributes::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributes.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributes::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributes.org) -} - -// ------------------------------------------------------------------- - -// ProjectDomainAttributesUpdateRequest - -// .flyteidl.admin.ProjectDomainAttributes attributes = 1; -inline bool ProjectDomainAttributesUpdateRequest::has_attributes() const { - return this != internal_default_instance() && attributes_ != nullptr; -} -inline void ProjectDomainAttributesUpdateRequest::clear_attributes() { - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; -} -inline const ::flyteidl::admin::ProjectDomainAttributes& ProjectDomainAttributesUpdateRequest::attributes() const { - const ::flyteidl::admin::ProjectDomainAttributes* p = attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesUpdateRequest.attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ProjectDomainAttributes_default_instance_); -} -inline ::flyteidl::admin::ProjectDomainAttributes* ProjectDomainAttributesUpdateRequest::release_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesUpdateRequest.attributes) - - ::flyteidl::admin::ProjectDomainAttributes* temp = attributes_; - attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ProjectDomainAttributes* ProjectDomainAttributesUpdateRequest::mutable_attributes() { - - if (attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributes>(GetArenaNoVirtual()); - attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesUpdateRequest.attributes) - return attributes_; -} -inline void ProjectDomainAttributesUpdateRequest::set_allocated_attributes(::flyteidl::admin::ProjectDomainAttributes* attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete attributes_; - } - if (attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, attributes, submessage_arena); - } - - } else { - - } - attributes_ = attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesUpdateRequest.attributes) -} - -// ------------------------------------------------------------------- - -// ProjectDomainAttributesUpdateResponse - -// ------------------------------------------------------------------- - -// ProjectDomainAttributesGetRequest - -// string project = 1; -inline void ProjectDomainAttributesGetRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributesGetRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesGetRequest.project) - return project_.GetNoArena(); -} -inline void ProjectDomainAttributesGetRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesGetRequest.project) -} -#if LANG_CXX11 -inline void ProjectDomainAttributesGetRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributesGetRequest.project) -} -#endif -inline void ProjectDomainAttributesGetRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributesGetRequest.project) -} -inline void ProjectDomainAttributesGetRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributesGetRequest.project) -} -inline ::std::string* ProjectDomainAttributesGetRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesGetRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributesGetRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesGetRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributesGetRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesGetRequest.project) -} - -// string domain = 2; -inline void ProjectDomainAttributesGetRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributesGetRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) - return domain_.GetNoArena(); -} -inline void ProjectDomainAttributesGetRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) -} -#if LANG_CXX11 -inline void ProjectDomainAttributesGetRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) -} -#endif -inline void ProjectDomainAttributesGetRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) -} -inline void ProjectDomainAttributesGetRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) -} -inline ::std::string* ProjectDomainAttributesGetRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributesGetRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributesGetRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesGetRequest.domain) -} - -// .flyteidl.admin.MatchableResource resource_type = 3; -inline void ProjectDomainAttributesGetRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::admin::MatchableResource ProjectDomainAttributesGetRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesGetRequest.resource_type) - return static_cast< ::flyteidl::admin::MatchableResource >(resource_type_); -} -inline void ProjectDomainAttributesGetRequest::set_resource_type(::flyteidl::admin::MatchableResource value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesGetRequest.resource_type) -} - -// string org = 4; -inline void ProjectDomainAttributesGetRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributesGetRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesGetRequest.org) - return org_.GetNoArena(); -} -inline void ProjectDomainAttributesGetRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesGetRequest.org) -} -#if LANG_CXX11 -inline void ProjectDomainAttributesGetRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributesGetRequest.org) -} -#endif -inline void ProjectDomainAttributesGetRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributesGetRequest.org) -} -inline void ProjectDomainAttributesGetRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributesGetRequest.org) -} -inline ::std::string* ProjectDomainAttributesGetRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesGetRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributesGetRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesGetRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributesGetRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesGetRequest.org) -} - -// ------------------------------------------------------------------- - -// ProjectDomainAttributesGetResponse - -// .flyteidl.admin.ProjectDomainAttributes attributes = 1; -inline bool ProjectDomainAttributesGetResponse::has_attributes() const { - return this != internal_default_instance() && attributes_ != nullptr; -} -inline void ProjectDomainAttributesGetResponse::clear_attributes() { - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; -} -inline const ::flyteidl::admin::ProjectDomainAttributes& ProjectDomainAttributesGetResponse::attributes() const { - const ::flyteidl::admin::ProjectDomainAttributes* p = attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesGetResponse.attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_ProjectDomainAttributes_default_instance_); -} -inline ::flyteidl::admin::ProjectDomainAttributes* ProjectDomainAttributesGetResponse::release_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesGetResponse.attributes) - - ::flyteidl::admin::ProjectDomainAttributes* temp = attributes_; - attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::ProjectDomainAttributes* ProjectDomainAttributesGetResponse::mutable_attributes() { - - if (attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributes>(GetArenaNoVirtual()); - attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesGetResponse.attributes) - return attributes_; -} -inline void ProjectDomainAttributesGetResponse::set_allocated_attributes(::flyteidl::admin::ProjectDomainAttributes* attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete attributes_; - } - if (attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, attributes, submessage_arena); - } - - } else { - - } - attributes_ = attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesGetResponse.attributes) -} - -// ------------------------------------------------------------------- - -// ProjectDomainAttributesDeleteRequest - -// string project = 1; -inline void ProjectDomainAttributesDeleteRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributesDeleteRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) - return project_.GetNoArena(); -} -inline void ProjectDomainAttributesDeleteRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) -} -#if LANG_CXX11 -inline void ProjectDomainAttributesDeleteRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) -} -#endif -inline void ProjectDomainAttributesDeleteRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) -} -inline void ProjectDomainAttributesDeleteRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) -} -inline ::std::string* ProjectDomainAttributesDeleteRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributesDeleteRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributesDeleteRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesDeleteRequest.project) -} - -// string domain = 2; -inline void ProjectDomainAttributesDeleteRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributesDeleteRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) - return domain_.GetNoArena(); -} -inline void ProjectDomainAttributesDeleteRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) -} -#if LANG_CXX11 -inline void ProjectDomainAttributesDeleteRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) -} -#endif -inline void ProjectDomainAttributesDeleteRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) -} -inline void ProjectDomainAttributesDeleteRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) -} -inline ::std::string* ProjectDomainAttributesDeleteRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributesDeleteRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributesDeleteRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesDeleteRequest.domain) -} - -// .flyteidl.admin.MatchableResource resource_type = 3; -inline void ProjectDomainAttributesDeleteRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::admin::MatchableResource ProjectDomainAttributesDeleteRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesDeleteRequest.resource_type) - return static_cast< ::flyteidl::admin::MatchableResource >(resource_type_); -} -inline void ProjectDomainAttributesDeleteRequest::set_resource_type(::flyteidl::admin::MatchableResource value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesDeleteRequest.resource_type) -} - -// string org = 4; -inline void ProjectDomainAttributesDeleteRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ProjectDomainAttributesDeleteRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) - return org_.GetNoArena(); -} -inline void ProjectDomainAttributesDeleteRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) -} -#if LANG_CXX11 -inline void ProjectDomainAttributesDeleteRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) -} -#endif -inline void ProjectDomainAttributesDeleteRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) -} -inline void ProjectDomainAttributesDeleteRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) -} -inline ::std::string* ProjectDomainAttributesDeleteRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ProjectDomainAttributesDeleteRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ProjectDomainAttributesDeleteRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributesDeleteRequest.org) -} - -// ------------------------------------------------------------------- - -// ProjectDomainAttributesDeleteResponse - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.grpc.pb.cc deleted file mode 100644 index 382082b2fc..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/schedule.proto - -#include "flyteidl/admin/schedule.pb.h" -#include "flyteidl/admin/schedule.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.grpc.pb.h deleted file mode 100644 index 668d656d94..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/schedule.proto -#ifndef GRPC_flyteidl_2fadmin_2fschedule_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fschedule_2eproto__INCLUDED - -#include "flyteidl/admin/schedule.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fschedule_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.pb.cc deleted file mode 100644 index d9bae84100..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.pb.cc +++ /dev/null @@ -1,1446 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/schedule.proto - -#include "flyteidl/admin/schedule.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fschedule_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CronSchedule_flyteidl_2fadmin_2fschedule_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fschedule_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_FixedRate_flyteidl_2fadmin_2fschedule_2eproto; -namespace flyteidl { -namespace admin { -class FixedRateDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _FixedRate_default_instance_; -class CronScheduleDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CronSchedule_default_instance_; -class ScheduleDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr cron_expression_; - const ::flyteidl::admin::FixedRate* rate_; - const ::flyteidl::admin::CronSchedule* cron_schedule_; -} _Schedule_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsFixedRate_flyteidl_2fadmin_2fschedule_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_FixedRate_default_instance_; - new (ptr) ::flyteidl::admin::FixedRate(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::FixedRate::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_FixedRate_flyteidl_2fadmin_2fschedule_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFixedRate_flyteidl_2fadmin_2fschedule_2eproto}, {}}; - -static void InitDefaultsCronSchedule_flyteidl_2fadmin_2fschedule_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_CronSchedule_default_instance_; - new (ptr) ::flyteidl::admin::CronSchedule(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::CronSchedule::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_CronSchedule_flyteidl_2fadmin_2fschedule_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCronSchedule_flyteidl_2fadmin_2fschedule_2eproto}, {}}; - -static void InitDefaultsSchedule_flyteidl_2fadmin_2fschedule_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Schedule_default_instance_; - new (ptr) ::flyteidl::admin::Schedule(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Schedule::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSchedule_flyteidl_2fadmin_2fschedule_2eproto}, { - &scc_info_FixedRate_flyteidl_2fadmin_2fschedule_2eproto.base, - &scc_info_CronSchedule_flyteidl_2fadmin_2fschedule_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2fschedule_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_FixedRate_flyteidl_2fadmin_2fschedule_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CronSchedule_flyteidl_2fadmin_2fschedule_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fschedule_2eproto[3]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fschedule_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fschedule_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fschedule_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FixedRate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FixedRate, value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FixedRate, unit_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CronSchedule, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CronSchedule, schedule_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CronSchedule, offset_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Schedule, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Schedule, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::ScheduleDefaultTypeInternal, cron_expression_), - offsetof(::flyteidl::admin::ScheduleDefaultTypeInternal, rate_), - offsetof(::flyteidl::admin::ScheduleDefaultTypeInternal, cron_schedule_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Schedule, kickoff_time_input_arg_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Schedule, ScheduleExpression_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::FixedRate)}, - { 7, -1, sizeof(::flyteidl::admin::CronSchedule)}, - { 14, -1, sizeof(::flyteidl::admin::Schedule)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_FixedRate_default_instance_), - reinterpret_cast(&::flyteidl::admin::_CronSchedule_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Schedule_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fschedule_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fschedule_2eproto, "flyteidl/admin/schedule.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fschedule_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fschedule_2eproto, 3, file_level_enum_descriptors_flyteidl_2fadmin_2fschedule_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fschedule_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fschedule_2eproto[] = - "\n\035flyteidl/admin/schedule.proto\022\016flyteid" - "l.admin\"G\n\tFixedRate\022\r\n\005value\030\001 \001(\r\022+\n\004u" - "nit\030\002 \001(\0162\035.flyteidl.admin.FixedRateUnit" - "\"0\n\014CronSchedule\022\020\n\010schedule\030\001 \001(\t\022\016\n\006of" - "fset\030\002 \001(\t\"\301\001\n\010Schedule\022\035\n\017cron_expressi" - "on\030\001 \001(\tB\002\030\001H\000\022)\n\004rate\030\002 \001(\0132\031.flyteidl." - "admin.FixedRateH\000\0225\n\rcron_schedule\030\004 \001(\013" - "2\034.flyteidl.admin.CronScheduleH\000\022\036\n\026kick" - "off_time_input_arg\030\003 \001(\tB\024\n\022ScheduleExpr" - "ession*.\n\rFixedRateUnit\022\n\n\006MINUTE\020\000\022\010\n\004H" - "OUR\020\001\022\007\n\003DAY\020\002B=Z;github.com/flyteorg/fl" - "yte/flyteidl/gen/pb-go/flyteidl/adminb\006p" - "roto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fschedule_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fschedule_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fschedule_2eproto, - "flyteidl/admin/schedule.proto", &assign_descriptors_table_flyteidl_2fadmin_2fschedule_2eproto, 485, -}; - -void AddDescriptors_flyteidl_2fadmin_2fschedule_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fschedule_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fschedule_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fschedule_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { -const ::google::protobuf::EnumDescriptor* FixedRateUnit_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fschedule_2eproto); - return file_level_enum_descriptors_flyteidl_2fadmin_2fschedule_2eproto[0]; -} -bool FixedRateUnit_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -void FixedRate::InitAsDefaultInstance() { -} -class FixedRate::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int FixedRate::kValueFieldNumber; -const int FixedRate::kUnitFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -FixedRate::FixedRate() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.FixedRate) -} -FixedRate::FixedRate(const FixedRate& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&value_, &from.value_, - static_cast(reinterpret_cast(&unit_) - - reinterpret_cast(&value_)) + sizeof(unit_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.FixedRate) -} - -void FixedRate::SharedCtor() { - ::memset(&value_, 0, static_cast( - reinterpret_cast(&unit_) - - reinterpret_cast(&value_)) + sizeof(unit_)); -} - -FixedRate::~FixedRate() { - // @@protoc_insertion_point(destructor:flyteidl.admin.FixedRate) - SharedDtor(); -} - -void FixedRate::SharedDtor() { -} - -void FixedRate::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const FixedRate& FixedRate::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_FixedRate_flyteidl_2fadmin_2fschedule_2eproto.base); - return *internal_default_instance(); -} - - -void FixedRate::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.FixedRate) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&value_, 0, static_cast( - reinterpret_cast(&unit_) - - reinterpret_cast(&value_)) + sizeof(unit_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* FixedRate::_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) { - // uint32 value = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_value(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.admin.FixedRateUnit unit = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_unit(static_cast<::flyteidl::admin::FixedRateUnit>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool FixedRate::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.FixedRate) - 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)) { - // uint32 value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &value_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.FixedRateUnit unit = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_unit(static_cast< ::flyteidl::admin::FixedRateUnit >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.FixedRate) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.FixedRate) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void FixedRate::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.FixedRate) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value = 1; - if (this->value() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->value(), output); - } - - // .flyteidl.admin.FixedRateUnit unit = 2; - if (this->unit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->unit(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.FixedRate) -} - -::google::protobuf::uint8* FixedRate::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.FixedRate) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 value = 1; - if (this->value() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->value(), target); - } - - // .flyteidl.admin.FixedRateUnit unit = 2; - if (this->unit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->unit(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.FixedRate) - return target; -} - -size_t FixedRate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.FixedRate) - 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; - - // uint32 value = 1; - if (this->value() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->value()); - } - - // .flyteidl.admin.FixedRateUnit unit = 2; - if (this->unit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->unit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void FixedRate::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.FixedRate) - GOOGLE_DCHECK_NE(&from, this); - const FixedRate* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.FixedRate) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.FixedRate) - MergeFrom(*source); - } -} - -void FixedRate::MergeFrom(const FixedRate& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.FixedRate) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value() != 0) { - set_value(from.value()); - } - if (from.unit() != 0) { - set_unit(from.unit()); - } -} - -void FixedRate::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.FixedRate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void FixedRate::CopyFrom(const FixedRate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.FixedRate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FixedRate::IsInitialized() const { - return true; -} - -void FixedRate::Swap(FixedRate* other) { - if (other == this) return; - InternalSwap(other); -} -void FixedRate::InternalSwap(FixedRate* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(value_, other->value_); - swap(unit_, other->unit_); -} - -::google::protobuf::Metadata FixedRate::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fschedule_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fschedule_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CronSchedule::InitAsDefaultInstance() { -} -class CronSchedule::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CronSchedule::kScheduleFieldNumber; -const int CronSchedule::kOffsetFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CronSchedule::CronSchedule() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.CronSchedule) -} -CronSchedule::CronSchedule(const CronSchedule& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - schedule_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.schedule().size() > 0) { - schedule_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schedule_); - } - offset_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.offset().size() > 0) { - offset_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.offset_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.CronSchedule) -} - -void CronSchedule::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CronSchedule_flyteidl_2fadmin_2fschedule_2eproto.base); - schedule_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - offset_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -CronSchedule::~CronSchedule() { - // @@protoc_insertion_point(destructor:flyteidl.admin.CronSchedule) - SharedDtor(); -} - -void CronSchedule::SharedDtor() { - schedule_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - offset_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void CronSchedule::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CronSchedule& CronSchedule::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CronSchedule_flyteidl_2fadmin_2fschedule_2eproto.base); - return *internal_default_instance(); -} - - -void CronSchedule::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.CronSchedule) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - schedule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - offset_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CronSchedule::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string schedule = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.CronSchedule.schedule"); - object = msg->mutable_schedule(); - 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 offset = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.CronSchedule.offset"); - object = msg->mutable_offset(); - 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 CronSchedule::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.CronSchedule) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string schedule = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_schedule())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->schedule().data(), static_cast(this->schedule().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.CronSchedule.schedule")); - } else { - goto handle_unusual; - } - break; - } - - // string offset = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_offset())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->offset().data(), static_cast(this->offset().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.CronSchedule.offset")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.CronSchedule) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.CronSchedule) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CronSchedule::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.CronSchedule) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string schedule = 1; - if (this->schedule().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->schedule().data(), static_cast(this->schedule().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.CronSchedule.schedule"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->schedule(), output); - } - - // string offset = 2; - if (this->offset().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->offset().data(), static_cast(this->offset().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.CronSchedule.offset"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->offset(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.CronSchedule) -} - -::google::protobuf::uint8* CronSchedule::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.CronSchedule) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string schedule = 1; - if (this->schedule().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->schedule().data(), static_cast(this->schedule().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.CronSchedule.schedule"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->schedule(), target); - } - - // string offset = 2; - if (this->offset().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->offset().data(), static_cast(this->offset().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.CronSchedule.offset"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->offset(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.CronSchedule) - return target; -} - -size_t CronSchedule::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.CronSchedule) - 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 schedule = 1; - if (this->schedule().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->schedule()); - } - - // string offset = 2; - if (this->offset().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->offset()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CronSchedule::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.CronSchedule) - GOOGLE_DCHECK_NE(&from, this); - const CronSchedule* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.CronSchedule) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.CronSchedule) - MergeFrom(*source); - } -} - -void CronSchedule::MergeFrom(const CronSchedule& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.CronSchedule) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.schedule().size() > 0) { - - schedule_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schedule_); - } - if (from.offset().size() > 0) { - - offset_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.offset_); - } -} - -void CronSchedule::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.CronSchedule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CronSchedule::CopyFrom(const CronSchedule& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.CronSchedule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CronSchedule::IsInitialized() const { - return true; -} - -void CronSchedule::Swap(CronSchedule* other) { - if (other == this) return; - InternalSwap(other); -} -void CronSchedule::InternalSwap(CronSchedule* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - schedule_.Swap(&other->schedule_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - offset_.Swap(&other->offset_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata CronSchedule::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fschedule_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fschedule_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Schedule::InitAsDefaultInstance() { - ::flyteidl::admin::_Schedule_default_instance_.cron_expression_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::admin::_Schedule_default_instance_.rate_ = const_cast< ::flyteidl::admin::FixedRate*>( - ::flyteidl::admin::FixedRate::internal_default_instance()); - ::flyteidl::admin::_Schedule_default_instance_.cron_schedule_ = const_cast< ::flyteidl::admin::CronSchedule*>( - ::flyteidl::admin::CronSchedule::internal_default_instance()); -} -class Schedule::HasBitSetters { - public: - static const ::flyteidl::admin::FixedRate& rate(const Schedule* msg); - static const ::flyteidl::admin::CronSchedule& cron_schedule(const Schedule* msg); -}; - -const ::flyteidl::admin::FixedRate& -Schedule::HasBitSetters::rate(const Schedule* msg) { - return *msg->ScheduleExpression_.rate_; -} -const ::flyteidl::admin::CronSchedule& -Schedule::HasBitSetters::cron_schedule(const Schedule* msg) { - return *msg->ScheduleExpression_.cron_schedule_; -} -void Schedule::set_allocated_rate(::flyteidl::admin::FixedRate* rate) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_ScheduleExpression(); - if (rate) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - rate = ::google::protobuf::internal::GetOwnedMessage( - message_arena, rate, submessage_arena); - } - set_has_rate(); - ScheduleExpression_.rate_ = rate; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Schedule.rate) -} -void Schedule::set_allocated_cron_schedule(::flyteidl::admin::CronSchedule* cron_schedule) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_ScheduleExpression(); - if (cron_schedule) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - cron_schedule = ::google::protobuf::internal::GetOwnedMessage( - message_arena, cron_schedule, submessage_arena); - } - set_has_cron_schedule(); - ScheduleExpression_.cron_schedule_ = cron_schedule; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Schedule.cron_schedule) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Schedule::kCronExpressionFieldNumber; -const int Schedule::kRateFieldNumber; -const int Schedule::kCronScheduleFieldNumber; -const int Schedule::kKickoffTimeInputArgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Schedule::Schedule() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Schedule) -} -Schedule::Schedule(const Schedule& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - kickoff_time_input_arg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.kickoff_time_input_arg().size() > 0) { - kickoff_time_input_arg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.kickoff_time_input_arg_); - } - clear_has_ScheduleExpression(); - switch (from.ScheduleExpression_case()) { - case kCronExpression: { - set_cron_expression(from.cron_expression()); - break; - } - case kRate: { - mutable_rate()->::flyteidl::admin::FixedRate::MergeFrom(from.rate()); - break; - } - case kCronSchedule: { - mutable_cron_schedule()->::flyteidl::admin::CronSchedule::MergeFrom(from.cron_schedule()); - break; - } - case SCHEDULEEXPRESSION_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Schedule) -} - -void Schedule::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto.base); - kickoff_time_input_arg_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_ScheduleExpression(); -} - -Schedule::~Schedule() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Schedule) - SharedDtor(); -} - -void Schedule::SharedDtor() { - kickoff_time_input_arg_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (has_ScheduleExpression()) { - clear_ScheduleExpression(); - } -} - -void Schedule::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Schedule& Schedule::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Schedule_flyteidl_2fadmin_2fschedule_2eproto.base); - return *internal_default_instance(); -} - - -void Schedule::clear_ScheduleExpression() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.Schedule) - switch (ScheduleExpression_case()) { - case kCronExpression: { - ScheduleExpression_.cron_expression_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kRate: { - delete ScheduleExpression_.rate_; - break; - } - case kCronSchedule: { - delete ScheduleExpression_.cron_schedule_; - break; - } - case SCHEDULEEXPRESSION_NOT_SET: { - break; - } - } - _oneof_case_[0] = SCHEDULEEXPRESSION_NOT_SET; -} - - -void Schedule::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Schedule) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - kickoff_time_input_arg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_ScheduleExpression(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Schedule::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string cron_expression = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Schedule.cron_expression"); - object = msg->mutable_cron_expression(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.FixedRate rate = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::FixedRate::_InternalParse; - object = msg->mutable_rate(); - 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 kickoff_time_input_arg = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Schedule.kickoff_time_input_arg"); - object = msg->mutable_kickoff_time_input_arg(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.CronSchedule cron_schedule = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::CronSchedule::_InternalParse; - object = msg->mutable_cron_schedule(); - 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 Schedule::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Schedule) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string cron_expression = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_cron_expression())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cron_expression().data(), static_cast(this->cron_expression().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Schedule.cron_expression")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.FixedRate rate = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_rate())); - } else { - goto handle_unusual; - } - break; - } - - // string kickoff_time_input_arg = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_kickoff_time_input_arg())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kickoff_time_input_arg().data(), static_cast(this->kickoff_time_input_arg().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Schedule.kickoff_time_input_arg")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.CronSchedule cron_schedule = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_cron_schedule())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Schedule) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Schedule) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Schedule::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Schedule) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cron_expression = 1 [deprecated = true]; - if (has_cron_expression()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cron_expression().data(), static_cast(this->cron_expression().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Schedule.cron_expression"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->cron_expression(), output); - } - - // .flyteidl.admin.FixedRate rate = 2; - if (has_rate()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::rate(this), output); - } - - // string kickoff_time_input_arg = 3; - if (this->kickoff_time_input_arg().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kickoff_time_input_arg().data(), static_cast(this->kickoff_time_input_arg().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Schedule.kickoff_time_input_arg"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->kickoff_time_input_arg(), output); - } - - // .flyteidl.admin.CronSchedule cron_schedule = 4; - if (has_cron_schedule()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::cron_schedule(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Schedule) -} - -::google::protobuf::uint8* Schedule::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Schedule) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cron_expression = 1 [deprecated = true]; - if (has_cron_expression()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cron_expression().data(), static_cast(this->cron_expression().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Schedule.cron_expression"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->cron_expression(), target); - } - - // .flyteidl.admin.FixedRate rate = 2; - if (has_rate()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::rate(this), target); - } - - // string kickoff_time_input_arg = 3; - if (this->kickoff_time_input_arg().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->kickoff_time_input_arg().data(), static_cast(this->kickoff_time_input_arg().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Schedule.kickoff_time_input_arg"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->kickoff_time_input_arg(), target); - } - - // .flyteidl.admin.CronSchedule cron_schedule = 4; - if (has_cron_schedule()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::cron_schedule(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Schedule) - return target; -} - -size_t Schedule::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Schedule) - 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 kickoff_time_input_arg = 3; - if (this->kickoff_time_input_arg().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->kickoff_time_input_arg()); - } - - switch (ScheduleExpression_case()) { - // string cron_expression = 1 [deprecated = true]; - case kCronExpression: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->cron_expression()); - break; - } - // .flyteidl.admin.FixedRate rate = 2; - case kRate: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *ScheduleExpression_.rate_); - break; - } - // .flyteidl.admin.CronSchedule cron_schedule = 4; - case kCronSchedule: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *ScheduleExpression_.cron_schedule_); - break; - } - case SCHEDULEEXPRESSION_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Schedule::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Schedule) - GOOGLE_DCHECK_NE(&from, this); - const Schedule* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Schedule) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Schedule) - MergeFrom(*source); - } -} - -void Schedule::MergeFrom(const Schedule& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Schedule) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.kickoff_time_input_arg().size() > 0) { - - kickoff_time_input_arg_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.kickoff_time_input_arg_); - } - switch (from.ScheduleExpression_case()) { - case kCronExpression: { - set_cron_expression(from.cron_expression()); - break; - } - case kRate: { - mutable_rate()->::flyteidl::admin::FixedRate::MergeFrom(from.rate()); - break; - } - case kCronSchedule: { - mutable_cron_schedule()->::flyteidl::admin::CronSchedule::MergeFrom(from.cron_schedule()); - break; - } - case SCHEDULEEXPRESSION_NOT_SET: { - break; - } - } -} - -void Schedule::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Schedule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Schedule::CopyFrom(const Schedule& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Schedule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Schedule::IsInitialized() const { - return true; -} - -void Schedule::Swap(Schedule* other) { - if (other == this) return; - InternalSwap(other); -} -void Schedule::InternalSwap(Schedule* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - kickoff_time_input_arg_.Swap(&other->kickoff_time_input_arg_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(ScheduleExpression_, other->ScheduleExpression_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Schedule::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fschedule_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fschedule_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::FixedRate* Arena::CreateMaybeMessage< ::flyteidl::admin::FixedRate >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::FixedRate >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::CronSchedule* Arena::CreateMaybeMessage< ::flyteidl::admin::CronSchedule >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::CronSchedule >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Schedule* Arena::CreateMaybeMessage< ::flyteidl::admin::Schedule >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Schedule >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.pb.h deleted file mode 100644 index 818b36870c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/schedule.pb.h +++ /dev/null @@ -1,946 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/schedule.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fschedule_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fschedule_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fschedule_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fschedule_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[3] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fschedule_2eproto(); -namespace flyteidl { -namespace admin { -class CronSchedule; -class CronScheduleDefaultTypeInternal; -extern CronScheduleDefaultTypeInternal _CronSchedule_default_instance_; -class FixedRate; -class FixedRateDefaultTypeInternal; -extern FixedRateDefaultTypeInternal _FixedRate_default_instance_; -class Schedule; -class ScheduleDefaultTypeInternal; -extern ScheduleDefaultTypeInternal _Schedule_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::CronSchedule* Arena::CreateMaybeMessage<::flyteidl::admin::CronSchedule>(Arena*); -template<> ::flyteidl::admin::FixedRate* Arena::CreateMaybeMessage<::flyteidl::admin::FixedRate>(Arena*); -template<> ::flyteidl::admin::Schedule* Arena::CreateMaybeMessage<::flyteidl::admin::Schedule>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -enum FixedRateUnit { - MINUTE = 0, - HOUR = 1, - DAY = 2, - FixedRateUnit_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - FixedRateUnit_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool FixedRateUnit_IsValid(int value); -const FixedRateUnit FixedRateUnit_MIN = MINUTE; -const FixedRateUnit FixedRateUnit_MAX = DAY; -const int FixedRateUnit_ARRAYSIZE = FixedRateUnit_MAX + 1; - -const ::google::protobuf::EnumDescriptor* FixedRateUnit_descriptor(); -inline const ::std::string& FixedRateUnit_Name(FixedRateUnit value) { - return ::google::protobuf::internal::NameOfEnum( - FixedRateUnit_descriptor(), value); -} -inline bool FixedRateUnit_Parse( - const ::std::string& name, FixedRateUnit* value) { - return ::google::protobuf::internal::ParseNamedEnum( - FixedRateUnit_descriptor(), name, value); -} -// =================================================================== - -class FixedRate final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.FixedRate) */ { - public: - FixedRate(); - virtual ~FixedRate(); - - FixedRate(const FixedRate& from); - - inline FixedRate& operator=(const FixedRate& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - FixedRate(FixedRate&& from) noexcept - : FixedRate() { - *this = ::std::move(from); - } - - inline FixedRate& operator=(FixedRate&& 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 FixedRate& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const FixedRate* internal_default_instance() { - return reinterpret_cast( - &_FixedRate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(FixedRate* other); - friend void swap(FixedRate& a, FixedRate& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline FixedRate* New() const final { - return CreateMaybeMessage(nullptr); - } - - FixedRate* 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 FixedRate& from); - void MergeFrom(const FixedRate& 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(FixedRate* 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 ------------------------------------------------------- - - // uint32 value = 1; - void clear_value(); - static const int kValueFieldNumber = 1; - ::google::protobuf::uint32 value() const; - void set_value(::google::protobuf::uint32 value); - - // .flyteidl.admin.FixedRateUnit unit = 2; - void clear_unit(); - static const int kUnitFieldNumber = 2; - ::flyteidl::admin::FixedRateUnit unit() const; - void set_unit(::flyteidl::admin::FixedRateUnit value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.FixedRate) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::uint32 value_; - int unit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fschedule_2eproto; -}; -// ------------------------------------------------------------------- - -class CronSchedule final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.CronSchedule) */ { - public: - CronSchedule(); - virtual ~CronSchedule(); - - CronSchedule(const CronSchedule& from); - - inline CronSchedule& operator=(const CronSchedule& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CronSchedule(CronSchedule&& from) noexcept - : CronSchedule() { - *this = ::std::move(from); - } - - inline CronSchedule& operator=(CronSchedule&& 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 CronSchedule& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CronSchedule* internal_default_instance() { - return reinterpret_cast( - &_CronSchedule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(CronSchedule* other); - friend void swap(CronSchedule& a, CronSchedule& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CronSchedule* New() const final { - return CreateMaybeMessage(nullptr); - } - - CronSchedule* 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 CronSchedule& from); - void MergeFrom(const CronSchedule& 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(CronSchedule* 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 schedule = 1; - void clear_schedule(); - static const int kScheduleFieldNumber = 1; - const ::std::string& schedule() const; - void set_schedule(const ::std::string& value); - #if LANG_CXX11 - void set_schedule(::std::string&& value); - #endif - void set_schedule(const char* value); - void set_schedule(const char* value, size_t size); - ::std::string* mutable_schedule(); - ::std::string* release_schedule(); - void set_allocated_schedule(::std::string* schedule); - - // string offset = 2; - void clear_offset(); - static const int kOffsetFieldNumber = 2; - const ::std::string& offset() const; - void set_offset(const ::std::string& value); - #if LANG_CXX11 - void set_offset(::std::string&& value); - #endif - void set_offset(const char* value); - void set_offset(const char* value, size_t size); - ::std::string* mutable_offset(); - ::std::string* release_offset(); - void set_allocated_offset(::std::string* offset); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.CronSchedule) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr schedule_; - ::google::protobuf::internal::ArenaStringPtr offset_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fschedule_2eproto; -}; -// ------------------------------------------------------------------- - -class Schedule final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Schedule) */ { - public: - Schedule(); - virtual ~Schedule(); - - Schedule(const Schedule& from); - - inline Schedule& operator=(const Schedule& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Schedule(Schedule&& from) noexcept - : Schedule() { - *this = ::std::move(from); - } - - inline Schedule& operator=(Schedule&& 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 Schedule& default_instance(); - - enum ScheduleExpressionCase { - kCronExpression = 1, - kRate = 2, - kCronSchedule = 4, - SCHEDULEEXPRESSION_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Schedule* internal_default_instance() { - return reinterpret_cast( - &_Schedule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(Schedule* other); - friend void swap(Schedule& a, Schedule& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Schedule* New() const final { - return CreateMaybeMessage(nullptr); - } - - Schedule* 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 Schedule& from); - void MergeFrom(const Schedule& 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(Schedule* 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 kickoff_time_input_arg = 3; - void clear_kickoff_time_input_arg(); - static const int kKickoffTimeInputArgFieldNumber = 3; - const ::std::string& kickoff_time_input_arg() const; - void set_kickoff_time_input_arg(const ::std::string& value); - #if LANG_CXX11 - void set_kickoff_time_input_arg(::std::string&& value); - #endif - void set_kickoff_time_input_arg(const char* value); - void set_kickoff_time_input_arg(const char* value, size_t size); - ::std::string* mutable_kickoff_time_input_arg(); - ::std::string* release_kickoff_time_input_arg(); - void set_allocated_kickoff_time_input_arg(::std::string* kickoff_time_input_arg); - - // string cron_expression = 1 [deprecated = true]; - private: - bool has_cron_expression() const; - public: - PROTOBUF_DEPRECATED void clear_cron_expression(); - PROTOBUF_DEPRECATED static const int kCronExpressionFieldNumber = 1; - PROTOBUF_DEPRECATED const ::std::string& cron_expression() const; - PROTOBUF_DEPRECATED void set_cron_expression(const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void set_cron_expression(::std::string&& value); - #endif - PROTOBUF_DEPRECATED void set_cron_expression(const char* value); - PROTOBUF_DEPRECATED void set_cron_expression(const char* value, size_t size); - PROTOBUF_DEPRECATED ::std::string* mutable_cron_expression(); - PROTOBUF_DEPRECATED ::std::string* release_cron_expression(); - PROTOBUF_DEPRECATED void set_allocated_cron_expression(::std::string* cron_expression); - - // .flyteidl.admin.FixedRate rate = 2; - bool has_rate() const; - void clear_rate(); - static const int kRateFieldNumber = 2; - const ::flyteidl::admin::FixedRate& rate() const; - ::flyteidl::admin::FixedRate* release_rate(); - ::flyteidl::admin::FixedRate* mutable_rate(); - void set_allocated_rate(::flyteidl::admin::FixedRate* rate); - - // .flyteidl.admin.CronSchedule cron_schedule = 4; - bool has_cron_schedule() const; - void clear_cron_schedule(); - static const int kCronScheduleFieldNumber = 4; - const ::flyteidl::admin::CronSchedule& cron_schedule() const; - ::flyteidl::admin::CronSchedule* release_cron_schedule(); - ::flyteidl::admin::CronSchedule* mutable_cron_schedule(); - void set_allocated_cron_schedule(::flyteidl::admin::CronSchedule* cron_schedule); - - void clear_ScheduleExpression(); - ScheduleExpressionCase ScheduleExpression_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.Schedule) - private: - class HasBitSetters; - void set_has_cron_expression(); - void set_has_rate(); - void set_has_cron_schedule(); - - inline bool has_ScheduleExpression() const; - inline void clear_has_ScheduleExpression(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr kickoff_time_input_arg_; - union ScheduleExpressionUnion { - ScheduleExpressionUnion() {} - ::google::protobuf::internal::ArenaStringPtr cron_expression_; - ::flyteidl::admin::FixedRate* rate_; - ::flyteidl::admin::CronSchedule* cron_schedule_; - } ScheduleExpression_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fschedule_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// FixedRate - -// uint32 value = 1; -inline void FixedRate::clear_value() { - value_ = 0u; -} -inline ::google::protobuf::uint32 FixedRate::value() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.FixedRate.value) - return value_; -} -inline void FixedRate::set_value(::google::protobuf::uint32 value) { - - value_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.FixedRate.value) -} - -// .flyteidl.admin.FixedRateUnit unit = 2; -inline void FixedRate::clear_unit() { - unit_ = 0; -} -inline ::flyteidl::admin::FixedRateUnit FixedRate::unit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.FixedRate.unit) - return static_cast< ::flyteidl::admin::FixedRateUnit >(unit_); -} -inline void FixedRate::set_unit(::flyteidl::admin::FixedRateUnit value) { - - unit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.FixedRate.unit) -} - -// ------------------------------------------------------------------- - -// CronSchedule - -// string schedule = 1; -inline void CronSchedule::clear_schedule() { - schedule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CronSchedule::schedule() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.CronSchedule.schedule) - return schedule_.GetNoArena(); -} -inline void CronSchedule::set_schedule(const ::std::string& value) { - - schedule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.CronSchedule.schedule) -} -#if LANG_CXX11 -inline void CronSchedule::set_schedule(::std::string&& value) { - - schedule_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.CronSchedule.schedule) -} -#endif -inline void CronSchedule::set_schedule(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - schedule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.CronSchedule.schedule) -} -inline void CronSchedule::set_schedule(const char* value, size_t size) { - - schedule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.CronSchedule.schedule) -} -inline ::std::string* CronSchedule::mutable_schedule() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CronSchedule.schedule) - return schedule_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CronSchedule::release_schedule() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CronSchedule.schedule) - - return schedule_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CronSchedule::set_allocated_schedule(::std::string* schedule) { - if (schedule != nullptr) { - - } else { - - } - schedule_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), schedule); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CronSchedule.schedule) -} - -// string offset = 2; -inline void CronSchedule::clear_offset() { - offset_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CronSchedule::offset() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.CronSchedule.offset) - return offset_.GetNoArena(); -} -inline void CronSchedule::set_offset(const ::std::string& value) { - - offset_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.CronSchedule.offset) -} -#if LANG_CXX11 -inline void CronSchedule::set_offset(::std::string&& value) { - - offset_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.CronSchedule.offset) -} -#endif -inline void CronSchedule::set_offset(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - offset_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.CronSchedule.offset) -} -inline void CronSchedule::set_offset(const char* value, size_t size) { - - offset_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.CronSchedule.offset) -} -inline ::std::string* CronSchedule::mutable_offset() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CronSchedule.offset) - return offset_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CronSchedule::release_offset() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CronSchedule.offset) - - return offset_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CronSchedule::set_allocated_offset(::std::string* offset) { - if (offset != nullptr) { - - } else { - - } - offset_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), offset); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CronSchedule.offset) -} - -// ------------------------------------------------------------------- - -// Schedule - -// string cron_expression = 1 [deprecated = true]; -inline bool Schedule::has_cron_expression() const { - return ScheduleExpression_case() == kCronExpression; -} -inline void Schedule::set_has_cron_expression() { - _oneof_case_[0] = kCronExpression; -} -inline void Schedule::clear_cron_expression() { - if (has_cron_expression()) { - ScheduleExpression_.cron_expression_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_ScheduleExpression(); - } -} -inline const ::std::string& Schedule::cron_expression() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Schedule.cron_expression) - if (has_cron_expression()) { - return ScheduleExpression_.cron_expression_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Schedule::set_cron_expression(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Schedule.cron_expression) - if (!has_cron_expression()) { - clear_ScheduleExpression(); - set_has_cron_expression(); - ScheduleExpression_.cron_expression_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - ScheduleExpression_.cron_expression_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Schedule.cron_expression) -} -#if LANG_CXX11 -inline void Schedule::set_cron_expression(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.Schedule.cron_expression) - if (!has_cron_expression()) { - clear_ScheduleExpression(); - set_has_cron_expression(); - ScheduleExpression_.cron_expression_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - ScheduleExpression_.cron_expression_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Schedule.cron_expression) -} -#endif -inline void Schedule::set_cron_expression(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_cron_expression()) { - clear_ScheduleExpression(); - set_has_cron_expression(); - ScheduleExpression_.cron_expression_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - ScheduleExpression_.cron_expression_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Schedule.cron_expression) -} -inline void Schedule::set_cron_expression(const char* value, size_t size) { - if (!has_cron_expression()) { - clear_ScheduleExpression(); - set_has_cron_expression(); - ScheduleExpression_.cron_expression_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - ScheduleExpression_.cron_expression_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Schedule.cron_expression) -} -inline ::std::string* Schedule::mutable_cron_expression() { - if (!has_cron_expression()) { - clear_ScheduleExpression(); - set_has_cron_expression(); - ScheduleExpression_.cron_expression_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Schedule.cron_expression) - return ScheduleExpression_.cron_expression_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Schedule::release_cron_expression() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Schedule.cron_expression) - if (has_cron_expression()) { - clear_has_ScheduleExpression(); - return ScheduleExpression_.cron_expression_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void Schedule::set_allocated_cron_expression(::std::string* cron_expression) { - if (has_ScheduleExpression()) { - clear_ScheduleExpression(); - } - if (cron_expression != nullptr) { - set_has_cron_expression(); - ScheduleExpression_.cron_expression_.UnsafeSetDefault(cron_expression); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Schedule.cron_expression) -} - -// .flyteidl.admin.FixedRate rate = 2; -inline bool Schedule::has_rate() const { - return ScheduleExpression_case() == kRate; -} -inline void Schedule::set_has_rate() { - _oneof_case_[0] = kRate; -} -inline void Schedule::clear_rate() { - if (has_rate()) { - delete ScheduleExpression_.rate_; - clear_has_ScheduleExpression(); - } -} -inline ::flyteidl::admin::FixedRate* Schedule::release_rate() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Schedule.rate) - if (has_rate()) { - clear_has_ScheduleExpression(); - ::flyteidl::admin::FixedRate* temp = ScheduleExpression_.rate_; - ScheduleExpression_.rate_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::FixedRate& Schedule::rate() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Schedule.rate) - return has_rate() - ? *ScheduleExpression_.rate_ - : *reinterpret_cast< ::flyteidl::admin::FixedRate*>(&::flyteidl::admin::_FixedRate_default_instance_); -} -inline ::flyteidl::admin::FixedRate* Schedule::mutable_rate() { - if (!has_rate()) { - clear_ScheduleExpression(); - set_has_rate(); - ScheduleExpression_.rate_ = CreateMaybeMessage< ::flyteidl::admin::FixedRate >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Schedule.rate) - return ScheduleExpression_.rate_; -} - -// .flyteidl.admin.CronSchedule cron_schedule = 4; -inline bool Schedule::has_cron_schedule() const { - return ScheduleExpression_case() == kCronSchedule; -} -inline void Schedule::set_has_cron_schedule() { - _oneof_case_[0] = kCronSchedule; -} -inline void Schedule::clear_cron_schedule() { - if (has_cron_schedule()) { - delete ScheduleExpression_.cron_schedule_; - clear_has_ScheduleExpression(); - } -} -inline ::flyteidl::admin::CronSchedule* Schedule::release_cron_schedule() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Schedule.cron_schedule) - if (has_cron_schedule()) { - clear_has_ScheduleExpression(); - ::flyteidl::admin::CronSchedule* temp = ScheduleExpression_.cron_schedule_; - ScheduleExpression_.cron_schedule_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::CronSchedule& Schedule::cron_schedule() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Schedule.cron_schedule) - return has_cron_schedule() - ? *ScheduleExpression_.cron_schedule_ - : *reinterpret_cast< ::flyteidl::admin::CronSchedule*>(&::flyteidl::admin::_CronSchedule_default_instance_); -} -inline ::flyteidl::admin::CronSchedule* Schedule::mutable_cron_schedule() { - if (!has_cron_schedule()) { - clear_ScheduleExpression(); - set_has_cron_schedule(); - ScheduleExpression_.cron_schedule_ = CreateMaybeMessage< ::flyteidl::admin::CronSchedule >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Schedule.cron_schedule) - return ScheduleExpression_.cron_schedule_; -} - -// string kickoff_time_input_arg = 3; -inline void Schedule::clear_kickoff_time_input_arg() { - kickoff_time_input_arg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Schedule::kickoff_time_input_arg() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Schedule.kickoff_time_input_arg) - return kickoff_time_input_arg_.GetNoArena(); -} -inline void Schedule::set_kickoff_time_input_arg(const ::std::string& value) { - - kickoff_time_input_arg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Schedule.kickoff_time_input_arg) -} -#if LANG_CXX11 -inline void Schedule::set_kickoff_time_input_arg(::std::string&& value) { - - kickoff_time_input_arg_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Schedule.kickoff_time_input_arg) -} -#endif -inline void Schedule::set_kickoff_time_input_arg(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - kickoff_time_input_arg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Schedule.kickoff_time_input_arg) -} -inline void Schedule::set_kickoff_time_input_arg(const char* value, size_t size) { - - kickoff_time_input_arg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Schedule.kickoff_time_input_arg) -} -inline ::std::string* Schedule::mutable_kickoff_time_input_arg() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Schedule.kickoff_time_input_arg) - return kickoff_time_input_arg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Schedule::release_kickoff_time_input_arg() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Schedule.kickoff_time_input_arg) - - return kickoff_time_input_arg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Schedule::set_allocated_kickoff_time_input_arg(::std::string* kickoff_time_input_arg) { - if (kickoff_time_input_arg != nullptr) { - - } else { - - } - kickoff_time_input_arg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), kickoff_time_input_arg); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Schedule.kickoff_time_input_arg) -} - -inline bool Schedule::has_ScheduleExpression() const { - return ScheduleExpression_case() != SCHEDULEEXPRESSION_NOT_SET; -} -inline void Schedule::clear_has_ScheduleExpression() { - _oneof_case_[0] = SCHEDULEEXPRESSION_NOT_SET; -} -inline Schedule::ScheduleExpressionCase Schedule::ScheduleExpression_case() const { - return Schedule::ScheduleExpressionCase(_oneof_case_[0]); -} -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::admin::FixedRateUnit> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::FixedRateUnit>() { - return ::flyteidl::admin::FixedRateUnit_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fschedule_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.cc deleted file mode 100644 index b482e017c1..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/signal.proto - -#include "flyteidl/admin/signal.pb.h" -#include "flyteidl/admin/signal.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.h deleted file mode 100644 index f62c30d368..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/signal.proto -#ifndef GRPC_flyteidl_2fadmin_2fsignal_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fsignal_2eproto__INCLUDED - -#include "flyteidl/admin/signal.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fsignal_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc deleted file mode 100644 index 804a064068..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc +++ /dev/null @@ -1,2603 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/signal.proto - -#include "flyteidl/admin/signal.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsignal_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Signal_flyteidl_2fadmin_2fsignal_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_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; -namespace flyteidl { -namespace admin { -class SignalGetOrCreateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SignalGetOrCreateRequest_default_instance_; -class SignalListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SignalListRequest_default_instance_; -class SignalListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SignalList_default_instance_; -class SignalSetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SignalSetRequest_default_instance_; -class SignalSetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SignalSetResponse_default_instance_; -class SignalDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Signal_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsSignalGetOrCreateRequest_flyteidl_2fadmin_2fsignal_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SignalGetOrCreateRequest_default_instance_; - new (ptr) ::flyteidl::admin::SignalGetOrCreateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SignalGetOrCreateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_SignalGetOrCreateRequest_flyteidl_2fadmin_2fsignal_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSignalGetOrCreateRequest_flyteidl_2fadmin_2fsignal_2eproto}, { - &scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsSignalListRequest_flyteidl_2fadmin_2fsignal_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SignalListRequest_default_instance_; - new (ptr) ::flyteidl::admin::SignalListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SignalListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_SignalListRequest_flyteidl_2fadmin_2fsignal_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSignalListRequest_flyteidl_2fadmin_2fsignal_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsSignalList_flyteidl_2fadmin_2fsignal_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SignalList_default_instance_; - new (ptr) ::flyteidl::admin::SignalList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SignalList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_SignalList_flyteidl_2fadmin_2fsignal_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSignalList_flyteidl_2fadmin_2fsignal_2eproto}, { - &scc_info_Signal_flyteidl_2fadmin_2fsignal_2eproto.base,}}; - -static void InitDefaultsSignalSetRequest_flyteidl_2fadmin_2fsignal_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SignalSetRequest_default_instance_; - new (ptr) ::flyteidl::admin::SignalSetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SignalSetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_SignalSetRequest_flyteidl_2fadmin_2fsignal_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSignalSetRequest_flyteidl_2fadmin_2fsignal_2eproto}, { - &scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsSignalSetResponse_flyteidl_2fadmin_2fsignal_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_SignalSetResponse_default_instance_; - new (ptr) ::flyteidl::admin::SignalSetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::SignalSetResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SignalSetResponse_flyteidl_2fadmin_2fsignal_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSignalSetResponse_flyteidl_2fadmin_2fsignal_2eproto}, {}}; - -static void InitDefaultsSignal_flyteidl_2fadmin_2fsignal_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Signal_default_instance_; - new (ptr) ::flyteidl::admin::Signal(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Signal::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_Signal_flyteidl_2fadmin_2fsignal_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsSignal_flyteidl_2fadmin_2fsignal_2eproto}, { - &scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2fsignal_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_SignalGetOrCreateRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SignalListRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SignalList_flyteidl_2fadmin_2fsignal_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SignalSetRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SignalSetResponse_flyteidl_2fadmin_2fsignal_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Signal_flyteidl_2fadmin_2fsignal_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto[6]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fsignal_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fsignal_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fsignal_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalGetOrCreateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalGetOrCreateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalGetOrCreateRequest, type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalListRequest, workflow_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalListRequest, sort_by_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalList, signals_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalSetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalSetRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalSetRequest, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SignalSetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Signal, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Signal, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Signal, type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Signal, value_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::SignalGetOrCreateRequest)}, - { 7, -1, sizeof(::flyteidl::admin::SignalListRequest)}, - { 17, -1, sizeof(::flyteidl::admin::SignalList)}, - { 24, -1, sizeof(::flyteidl::admin::SignalSetRequest)}, - { 31, -1, sizeof(::flyteidl::admin::SignalSetResponse)}, - { 36, -1, sizeof(::flyteidl::admin::Signal)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_SignalGetOrCreateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_SignalListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_SignalList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_SignalSetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_SignalSetResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Signal_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fsignal_2eproto, "flyteidl/admin/signal.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fsignal_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto, 6, file_level_enum_descriptors_flyteidl_2fadmin_2fsignal_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fsignal_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fsignal_2eproto[] = - "\n\033flyteidl/admin/signal.proto\022\016flyteidl." - "admin\032\033flyteidl/admin/common.proto\032\036flyt" - "eidl/core/identifier.proto\032\034flyteidl/cor" - "e/literals.proto\032\031flyteidl/core/types.pr" - "oto\"q\n\030SignalGetOrCreateRequest\022+\n\002id\030\001 " - "\001(\0132\037.flyteidl.core.SignalIdentifier\022(\n\004" - "type\030\002 \001(\0132\032.flyteidl.core.LiteralType\"\264" - "\001\n\021SignalListRequest\022I\n\025workflow_executi" - "on_id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" - "utionIdentifier\022\r\n\005limit\030\002 \001(\r\022\r\n\005token\030" - "\003 \001(\t\022\017\n\007filters\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132" - "\024.flyteidl.admin.Sort\"D\n\nSignalList\022\'\n\007s" - "ignals\030\001 \003(\0132\026.flyteidl.admin.Signal\022\r\n\005" - "token\030\002 \001(\t\"f\n\020SignalSetRequest\022+\n\002id\030\001 " - "\001(\0132\037.flyteidl.core.SignalIdentifier\022%\n\005" - "value\030\002 \001(\0132\026.flyteidl.core.Literal\"\023\n\021S" - "ignalSetResponse\"\206\001\n\006Signal\022+\n\002id\030\001 \001(\0132" - "\037.flyteidl.core.SignalIdentifier\022(\n\004type" - "\030\002 \001(\0132\032.flyteidl.core.LiteralType\022%\n\005va" - "lue\030\003 \001(\0132\026.flyteidl.core.LiteralB=Z;git" - "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" - "o/flyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fsignal_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fsignal_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fsignal_2eproto, - "flyteidl/admin/signal.proto", &assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto, 864, -}; - -void AddDescriptors_flyteidl_2fadmin_2fsignal_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[4] = - { - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fcore_2ftypes_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fsignal_2eproto, deps, 4); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fsignal_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fsignal_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void SignalGetOrCreateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_SignalGetOrCreateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::SignalIdentifier*>( - ::flyteidl::core::SignalIdentifier::internal_default_instance()); - ::flyteidl::admin::_SignalGetOrCreateRequest_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); -} -class SignalGetOrCreateRequest::HasBitSetters { - public: - static const ::flyteidl::core::SignalIdentifier& id(const SignalGetOrCreateRequest* msg); - static const ::flyteidl::core::LiteralType& type(const SignalGetOrCreateRequest* msg); -}; - -const ::flyteidl::core::SignalIdentifier& -SignalGetOrCreateRequest::HasBitSetters::id(const SignalGetOrCreateRequest* msg) { - return *msg->id_; -} -const ::flyteidl::core::LiteralType& -SignalGetOrCreateRequest::HasBitSetters::type(const SignalGetOrCreateRequest* msg) { - return *msg->type_; -} -void SignalGetOrCreateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void SignalGetOrCreateRequest::clear_type() { - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SignalGetOrCreateRequest::kIdFieldNumber; -const int SignalGetOrCreateRequest::kTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SignalGetOrCreateRequest::SignalGetOrCreateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SignalGetOrCreateRequest) -} -SignalGetOrCreateRequest::SignalGetOrCreateRequest(const SignalGetOrCreateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::SignalIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_type()) { - type_ = new ::flyteidl::core::LiteralType(*from.type_); - } else { - type_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SignalGetOrCreateRequest) -} - -void SignalGetOrCreateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SignalGetOrCreateRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&type_) - - reinterpret_cast(&id_)) + sizeof(type_)); -} - -SignalGetOrCreateRequest::~SignalGetOrCreateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SignalGetOrCreateRequest) - SharedDtor(); -} - -void SignalGetOrCreateRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete type_; -} - -void SignalGetOrCreateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SignalGetOrCreateRequest& SignalGetOrCreateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SignalGetOrCreateRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - return *internal_default_instance(); -} - - -void SignalGetOrCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SignalGetOrCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SignalGetOrCreateRequest::_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.SignalIdentifier 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::SignalIdentifier::_InternalParse; - object = msg->mutable_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.LiteralType type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralType::_InternalParse; - object = msg->mutable_type(); - 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 SignalGetOrCreateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SignalGetOrCreateRequest) - 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.SignalIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralType type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_type())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SignalGetOrCreateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SignalGetOrCreateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SignalGetOrCreateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SignalGetOrCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SignalIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::type(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SignalGetOrCreateRequest) -} - -::google::protobuf::uint8* SignalGetOrCreateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SignalGetOrCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SignalIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::type(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SignalGetOrCreateRequest) - return target; -} - -size_t SignalGetOrCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SignalGetOrCreateRequest) - 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.SignalIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SignalGetOrCreateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SignalGetOrCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - const SignalGetOrCreateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SignalGetOrCreateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SignalGetOrCreateRequest) - MergeFrom(*source); - } -} - -void SignalGetOrCreateRequest::MergeFrom(const SignalGetOrCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SignalGetOrCreateRequest) - 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_id()) { - mutable_id()->::flyteidl::core::SignalIdentifier::MergeFrom(from.id()); - } - if (from.has_type()) { - mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); - } -} - -void SignalGetOrCreateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SignalGetOrCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SignalGetOrCreateRequest::CopyFrom(const SignalGetOrCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SignalGetOrCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SignalGetOrCreateRequest::IsInitialized() const { - return true; -} - -void SignalGetOrCreateRequest::Swap(SignalGetOrCreateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SignalGetOrCreateRequest::InternalSwap(SignalGetOrCreateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(type_, other->type_); -} - -::google::protobuf::Metadata SignalGetOrCreateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SignalListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_SignalListRequest_default_instance_._instance.get_mutable()->workflow_execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_SignalListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class SignalListRequest::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution_id(const SignalListRequest* msg); - static const ::flyteidl::admin::Sort& sort_by(const SignalListRequest* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -SignalListRequest::HasBitSetters::workflow_execution_id(const SignalListRequest* msg) { - return *msg->workflow_execution_id_; -} -const ::flyteidl::admin::Sort& -SignalListRequest::HasBitSetters::sort_by(const SignalListRequest* msg) { - return *msg->sort_by_; -} -void SignalListRequest::clear_workflow_execution_id() { - if (GetArenaNoVirtual() == nullptr && workflow_execution_id_ != nullptr) { - delete workflow_execution_id_; - } - workflow_execution_id_ = nullptr; -} -void SignalListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SignalListRequest::kWorkflowExecutionIdFieldNumber; -const int SignalListRequest::kLimitFieldNumber; -const int SignalListRequest::kTokenFieldNumber; -const int SignalListRequest::kFiltersFieldNumber; -const int SignalListRequest::kSortByFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SignalListRequest::SignalListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SignalListRequest) -} -SignalListRequest::SignalListRequest(const SignalListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_workflow_execution_id()) { - workflow_execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.workflow_execution_id_); - } else { - workflow_execution_id_ = nullptr; - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SignalListRequest) -} - -void SignalListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SignalListRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&workflow_execution_id_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&workflow_execution_id_)) + sizeof(limit_)); -} - -SignalListRequest::~SignalListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SignalListRequest) - SharedDtor(); -} - -void SignalListRequest::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete workflow_execution_id_; - if (this != internal_default_instance()) delete sort_by_; -} - -void SignalListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SignalListRequest& SignalListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SignalListRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - return *internal_default_instance(); -} - - -void SignalListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SignalListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && workflow_execution_id_ != nullptr) { - delete workflow_execution_id_; - } - workflow_execution_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SignalListRequest::_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; - } - // uint32 limit = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.SignalListRequest.token"); - object = msg->mutable_token(); - 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 filters = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.SignalListRequest.filters"); - object = msg->mutable_filters(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 SignalListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SignalListRequest) - 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; - } - - // uint32 limit = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.SignalListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.SignalListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SignalListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SignalListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SignalListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SignalListRequest) - ::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); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->limit(), output); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SignalListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->token(), output); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SignalListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->filters(), output); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::sort_by(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SignalListRequest) -} - -::google::protobuf::uint8* SignalListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SignalListRequest) - ::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); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->limit(), target); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SignalListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->token(), target); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SignalListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->filters(), target); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::sort_by(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SignalListRequest) - return target; -} - -size_t SignalListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SignalListRequest) - 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 token = 3; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 4; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - if (this->has_workflow_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *workflow_execution_id_); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SignalListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SignalListRequest) - GOOGLE_DCHECK_NE(&from, this); - const SignalListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SignalListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SignalListRequest) - MergeFrom(*source); - } -} - -void SignalListRequest::MergeFrom(const SignalListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SignalListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_workflow_execution_id()) { - mutable_workflow_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_execution_id()); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void SignalListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SignalListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SignalListRequest::CopyFrom(const SignalListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SignalListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SignalListRequest::IsInitialized() const { - return true; -} - -void SignalListRequest::Swap(SignalListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SignalListRequest::InternalSwap(SignalListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(workflow_execution_id_, other->workflow_execution_id_); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata SignalListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SignalList::InitAsDefaultInstance() { -} -class SignalList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SignalList::kSignalsFieldNumber; -const int SignalList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SignalList::SignalList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SignalList) -} -SignalList::SignalList(const SignalList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - signals_(from.signals_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SignalList) -} - -void SignalList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SignalList_flyteidl_2fadmin_2fsignal_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -SignalList::~SignalList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SignalList) - SharedDtor(); -} - -void SignalList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SignalList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SignalList& SignalList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SignalList_flyteidl_2fadmin_2fsignal_2eproto.base); - return *internal_default_instance(); -} - - -void SignalList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SignalList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signals_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SignalList::_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.admin.Signal signals = 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::admin::Signal::_InternalParse; - object = msg->add_signals(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.SignalList.token"); - object = msg->mutable_token(); - 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 SignalList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SignalList) - 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.admin.Signal signals = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_signals())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.SignalList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SignalList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SignalList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SignalList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SignalList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Signal signals = 1; - for (unsigned int i = 0, - n = static_cast(this->signals_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->signals(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SignalList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SignalList) -} - -::google::protobuf::uint8* SignalList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SignalList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Signal signals = 1; - for (unsigned int i = 0, - n = static_cast(this->signals_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->signals(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.SignalList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SignalList) - return target; -} - -size_t SignalList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SignalList) - 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.admin.Signal signals = 1; - { - unsigned int count = static_cast(this->signals_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->signals(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SignalList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SignalList) - GOOGLE_DCHECK_NE(&from, this); - const SignalList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SignalList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SignalList) - MergeFrom(*source); - } -} - -void SignalList::MergeFrom(const SignalList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SignalList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - signals_.MergeFrom(from.signals_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void SignalList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SignalList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SignalList::CopyFrom(const SignalList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SignalList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SignalList::IsInitialized() const { - return true; -} - -void SignalList::Swap(SignalList* other) { - if (other == this) return; - InternalSwap(other); -} -void SignalList::InternalSwap(SignalList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&signals_)->InternalSwap(CastToBase(&other->signals_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata SignalList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SignalSetRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_SignalSetRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::SignalIdentifier*>( - ::flyteidl::core::SignalIdentifier::internal_default_instance()); - ::flyteidl::admin::_SignalSetRequest_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::Literal*>( - ::flyteidl::core::Literal::internal_default_instance()); -} -class SignalSetRequest::HasBitSetters { - public: - static const ::flyteidl::core::SignalIdentifier& id(const SignalSetRequest* msg); - static const ::flyteidl::core::Literal& value(const SignalSetRequest* msg); -}; - -const ::flyteidl::core::SignalIdentifier& -SignalSetRequest::HasBitSetters::id(const SignalSetRequest* msg) { - return *msg->id_; -} -const ::flyteidl::core::Literal& -SignalSetRequest::HasBitSetters::value(const SignalSetRequest* msg) { - return *msg->value_; -} -void SignalSetRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void SignalSetRequest::clear_value() { - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SignalSetRequest::kIdFieldNumber; -const int SignalSetRequest::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SignalSetRequest::SignalSetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SignalSetRequest) -} -SignalSetRequest::SignalSetRequest(const SignalSetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::SignalIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_value()) { - value_ = new ::flyteidl::core::Literal(*from.value_); - } else { - value_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SignalSetRequest) -} - -void SignalSetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SignalSetRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&value_) - - reinterpret_cast(&id_)) + sizeof(value_)); -} - -SignalSetRequest::~SignalSetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SignalSetRequest) - SharedDtor(); -} - -void SignalSetRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete value_; -} - -void SignalSetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SignalSetRequest& SignalSetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SignalSetRequest_flyteidl_2fadmin_2fsignal_2eproto.base); - return *internal_default_instance(); -} - - -void SignalSetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SignalSetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SignalSetRequest::_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.SignalIdentifier 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::SignalIdentifier::_InternalParse; - object = msg->mutable_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.Literal value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Literal::_InternalParse; - object = msg->mutable_value(); - 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 SignalSetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SignalSetRequest) - 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.SignalIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Literal value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SignalSetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SignalSetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SignalSetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SignalSetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SignalIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.core.Literal value = 2; - if (this->has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::value(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SignalSetRequest) -} - -::google::protobuf::uint8* SignalSetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SignalSetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SignalIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.core.Literal value = 2; - if (this->has_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::value(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SignalSetRequest) - return target; -} - -size_t SignalSetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SignalSetRequest) - 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.SignalIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.Literal value = 2; - if (this->has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SignalSetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SignalSetRequest) - GOOGLE_DCHECK_NE(&from, this); - const SignalSetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SignalSetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SignalSetRequest) - MergeFrom(*source); - } -} - -void SignalSetRequest::MergeFrom(const SignalSetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SignalSetRequest) - 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_id()) { - mutable_id()->::flyteidl::core::SignalIdentifier::MergeFrom(from.id()); - } - if (from.has_value()) { - mutable_value()->::flyteidl::core::Literal::MergeFrom(from.value()); - } -} - -void SignalSetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SignalSetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SignalSetRequest::CopyFrom(const SignalSetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SignalSetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SignalSetRequest::IsInitialized() const { - return true; -} - -void SignalSetRequest::Swap(SignalSetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void SignalSetRequest::InternalSwap(SignalSetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(value_, other->value_); -} - -::google::protobuf::Metadata SignalSetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SignalSetResponse::InitAsDefaultInstance() { -} -class SignalSetResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SignalSetResponse::SignalSetResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.SignalSetResponse) -} -SignalSetResponse::SignalSetResponse(const SignalSetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SignalSetResponse) -} - -void SignalSetResponse::SharedCtor() { -} - -SignalSetResponse::~SignalSetResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.SignalSetResponse) - SharedDtor(); -} - -void SignalSetResponse::SharedDtor() { -} - -void SignalSetResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SignalSetResponse& SignalSetResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SignalSetResponse_flyteidl_2fadmin_2fsignal_2eproto.base); - return *internal_default_instance(); -} - - -void SignalSetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SignalSetResponse) - ::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* SignalSetResponse::_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 SignalSetResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.SignalSetResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.SignalSetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.SignalSetResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SignalSetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.SignalSetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.SignalSetResponse) -} - -::google::protobuf::uint8* SignalSetResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SignalSetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SignalSetResponse) - return target; -} - -size_t SignalSetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SignalSetResponse) - 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 SignalSetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SignalSetResponse) - GOOGLE_DCHECK_NE(&from, this); - const SignalSetResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SignalSetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SignalSetResponse) - MergeFrom(*source); - } -} - -void SignalSetResponse::MergeFrom(const SignalSetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SignalSetResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void SignalSetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SignalSetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SignalSetResponse::CopyFrom(const SignalSetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SignalSetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SignalSetResponse::IsInitialized() const { - return true; -} - -void SignalSetResponse::Swap(SignalSetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void SignalSetResponse::InternalSwap(SignalSetResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata SignalSetResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Signal::InitAsDefaultInstance() { - ::flyteidl::admin::_Signal_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::SignalIdentifier*>( - ::flyteidl::core::SignalIdentifier::internal_default_instance()); - ::flyteidl::admin::_Signal_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); - ::flyteidl::admin::_Signal_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::Literal*>( - ::flyteidl::core::Literal::internal_default_instance()); -} -class Signal::HasBitSetters { - public: - static const ::flyteidl::core::SignalIdentifier& id(const Signal* msg); - static const ::flyteidl::core::LiteralType& type(const Signal* msg); - static const ::flyteidl::core::Literal& value(const Signal* msg); -}; - -const ::flyteidl::core::SignalIdentifier& -Signal::HasBitSetters::id(const Signal* msg) { - return *msg->id_; -} -const ::flyteidl::core::LiteralType& -Signal::HasBitSetters::type(const Signal* msg) { - return *msg->type_; -} -const ::flyteidl::core::Literal& -Signal::HasBitSetters::value(const Signal* msg) { - return *msg->value_; -} -void Signal::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void Signal::clear_type() { - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; -} -void Signal::clear_value() { - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Signal::kIdFieldNumber; -const int Signal::kTypeFieldNumber; -const int Signal::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Signal::Signal() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Signal) -} -Signal::Signal(const Signal& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::SignalIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_type()) { - type_ = new ::flyteidl::core::LiteralType(*from.type_); - } else { - type_ = nullptr; - } - if (from.has_value()) { - value_ = new ::flyteidl::core::Literal(*from.value_); - } else { - value_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Signal) -} - -void Signal::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Signal_flyteidl_2fadmin_2fsignal_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&value_) - - reinterpret_cast(&id_)) + sizeof(value_)); -} - -Signal::~Signal() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Signal) - SharedDtor(); -} - -void Signal::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete type_; - if (this != internal_default_instance()) delete value_; -} - -void Signal::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Signal& Signal::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Signal_flyteidl_2fadmin_2fsignal_2eproto.base); - return *internal_default_instance(); -} - - -void Signal::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Signal) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Signal::_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.SignalIdentifier 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::SignalIdentifier::_InternalParse; - object = msg->mutable_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.LiteralType type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralType::_InternalParse; - object = msg->mutable_type(); - 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.Literal value = 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::Literal::_InternalParse; - object = msg->mutable_value(); - 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 Signal::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Signal) - 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.SignalIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralType type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_type())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Literal value = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Signal) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Signal) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Signal::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Signal) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SignalIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::type(this), output); - } - - // .flyteidl.core.Literal value = 3; - if (this->has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::value(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Signal) -} - -::google::protobuf::uint8* Signal::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Signal) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SignalIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::type(this), target); - } - - // .flyteidl.core.Literal value = 3; - if (this->has_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::value(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Signal) - return target; -} - -size_t Signal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Signal) - 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.SignalIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_); - } - - // .flyteidl.core.Literal value = 3; - if (this->has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Signal::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Signal) - GOOGLE_DCHECK_NE(&from, this); - const Signal* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Signal) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Signal) - MergeFrom(*source); - } -} - -void Signal::MergeFrom(const Signal& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Signal) - 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_id()) { - mutable_id()->::flyteidl::core::SignalIdentifier::MergeFrom(from.id()); - } - if (from.has_type()) { - mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); - } - if (from.has_value()) { - mutable_value()->::flyteidl::core::Literal::MergeFrom(from.value()); - } -} - -void Signal::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Signal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Signal::CopyFrom(const Signal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Signal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Signal::IsInitialized() const { - return true; -} - -void Signal::Swap(Signal* other) { - if (other == this) return; - InternalSwap(other); -} -void Signal::InternalSwap(Signal* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(type_, other->type_); - swap(value_, other->value_); -} - -::google::protobuf::Metadata Signal::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsignal_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fsignal_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SignalGetOrCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::SignalGetOrCreateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SignalGetOrCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SignalListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::SignalListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SignalListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SignalList* Arena::CreateMaybeMessage< ::flyteidl::admin::SignalList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SignalList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SignalSetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::SignalSetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SignalSetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SignalSetResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::SignalSetResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SignalSetResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Signal* Arena::CreateMaybeMessage< ::flyteidl::admin::Signal >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Signal >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.h deleted file mode 100644 index 98ddbf0ca2..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.h +++ /dev/null @@ -1,1536 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/signal.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fsignal_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fsignal_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/admin/common.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/types.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsignal_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fsignal_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[6] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fsignal_2eproto(); -namespace flyteidl { -namespace admin { -class Signal; -class SignalDefaultTypeInternal; -extern SignalDefaultTypeInternal _Signal_default_instance_; -class SignalGetOrCreateRequest; -class SignalGetOrCreateRequestDefaultTypeInternal; -extern SignalGetOrCreateRequestDefaultTypeInternal _SignalGetOrCreateRequest_default_instance_; -class SignalList; -class SignalListDefaultTypeInternal; -extern SignalListDefaultTypeInternal _SignalList_default_instance_; -class SignalListRequest; -class SignalListRequestDefaultTypeInternal; -extern SignalListRequestDefaultTypeInternal _SignalListRequest_default_instance_; -class SignalSetRequest; -class SignalSetRequestDefaultTypeInternal; -extern SignalSetRequestDefaultTypeInternal _SignalSetRequest_default_instance_; -class SignalSetResponse; -class SignalSetResponseDefaultTypeInternal; -extern SignalSetResponseDefaultTypeInternal _SignalSetResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::Signal* Arena::CreateMaybeMessage<::flyteidl::admin::Signal>(Arena*); -template<> ::flyteidl::admin::SignalGetOrCreateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::SignalGetOrCreateRequest>(Arena*); -template<> ::flyteidl::admin::SignalList* Arena::CreateMaybeMessage<::flyteidl::admin::SignalList>(Arena*); -template<> ::flyteidl::admin::SignalListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::SignalListRequest>(Arena*); -template<> ::flyteidl::admin::SignalSetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::SignalSetRequest>(Arena*); -template<> ::flyteidl::admin::SignalSetResponse* Arena::CreateMaybeMessage<::flyteidl::admin::SignalSetResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class SignalGetOrCreateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SignalGetOrCreateRequest) */ { - public: - SignalGetOrCreateRequest(); - virtual ~SignalGetOrCreateRequest(); - - SignalGetOrCreateRequest(const SignalGetOrCreateRequest& from); - - inline SignalGetOrCreateRequest& operator=(const SignalGetOrCreateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SignalGetOrCreateRequest(SignalGetOrCreateRequest&& from) noexcept - : SignalGetOrCreateRequest() { - *this = ::std::move(from); - } - - inline SignalGetOrCreateRequest& operator=(SignalGetOrCreateRequest&& 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 SignalGetOrCreateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SignalGetOrCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_SignalGetOrCreateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(SignalGetOrCreateRequest* other); - friend void swap(SignalGetOrCreateRequest& a, SignalGetOrCreateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SignalGetOrCreateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - SignalGetOrCreateRequest* 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 SignalGetOrCreateRequest& from); - void MergeFrom(const SignalGetOrCreateRequest& 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(SignalGetOrCreateRequest* 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.SignalIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::SignalIdentifier& id() const; - ::flyteidl::core::SignalIdentifier* release_id(); - ::flyteidl::core::SignalIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::SignalIdentifier* id); - - // .flyteidl.core.LiteralType type = 2; - bool has_type() const; - void clear_type(); - static const int kTypeFieldNumber = 2; - const ::flyteidl::core::LiteralType& type() const; - ::flyteidl::core::LiteralType* release_type(); - ::flyteidl::core::LiteralType* mutable_type(); - void set_allocated_type(::flyteidl::core::LiteralType* type); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalGetOrCreateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::SignalIdentifier* id_; - ::flyteidl::core::LiteralType* type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fsignal_2eproto; -}; -// ------------------------------------------------------------------- - -class SignalListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SignalListRequest) */ { - public: - SignalListRequest(); - virtual ~SignalListRequest(); - - SignalListRequest(const SignalListRequest& from); - - inline SignalListRequest& operator=(const SignalListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SignalListRequest(SignalListRequest&& from) noexcept - : SignalListRequest() { - *this = ::std::move(from); - } - - inline SignalListRequest& operator=(SignalListRequest&& 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 SignalListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SignalListRequest* internal_default_instance() { - return reinterpret_cast( - &_SignalListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(SignalListRequest* other); - friend void swap(SignalListRequest& a, SignalListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SignalListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - SignalListRequest* 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 SignalListRequest& from); - void MergeFrom(const SignalListRequest& 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(SignalListRequest* 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 token = 3; - void clear_token(); - static const int kTokenFieldNumber = 3; - 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); - - // string filters = 4; - void clear_filters(); - static const int kFiltersFieldNumber = 4; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // .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); - - // .flyteidl.admin.Sort sort_by = 5; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 5; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 2; - void clear_limit(); - static const int kLimitFieldNumber = 2; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fsignal_2eproto; -}; -// ------------------------------------------------------------------- - -class SignalList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SignalList) */ { - public: - SignalList(); - virtual ~SignalList(); - - SignalList(const SignalList& from); - - inline SignalList& operator=(const SignalList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SignalList(SignalList&& from) noexcept - : SignalList() { - *this = ::std::move(from); - } - - inline SignalList& operator=(SignalList&& 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 SignalList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SignalList* internal_default_instance() { - return reinterpret_cast( - &_SignalList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(SignalList* other); - friend void swap(SignalList& a, SignalList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SignalList* New() const final { - return CreateMaybeMessage(nullptr); - } - - SignalList* 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 SignalList& from); - void MergeFrom(const SignalList& 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(SignalList* 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.admin.Signal signals = 1; - int signals_size() const; - void clear_signals(); - static const int kSignalsFieldNumber = 1; - ::flyteidl::admin::Signal* mutable_signals(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Signal >* - mutable_signals(); - const ::flyteidl::admin::Signal& signals(int index) const; - ::flyteidl::admin::Signal* add_signals(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Signal >& - signals() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Signal > signals_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fsignal_2eproto; -}; -// ------------------------------------------------------------------- - -class SignalSetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SignalSetRequest) */ { - public: - SignalSetRequest(); - virtual ~SignalSetRequest(); - - SignalSetRequest(const SignalSetRequest& from); - - inline SignalSetRequest& operator=(const SignalSetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SignalSetRequest(SignalSetRequest&& from) noexcept - : SignalSetRequest() { - *this = ::std::move(from); - } - - inline SignalSetRequest& operator=(SignalSetRequest&& 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 SignalSetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SignalSetRequest* internal_default_instance() { - return reinterpret_cast( - &_SignalSetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(SignalSetRequest* other); - friend void swap(SignalSetRequest& a, SignalSetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SignalSetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - SignalSetRequest* 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 SignalSetRequest& from); - void MergeFrom(const SignalSetRequest& 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(SignalSetRequest* 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.SignalIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::SignalIdentifier& id() const; - ::flyteidl::core::SignalIdentifier* release_id(); - ::flyteidl::core::SignalIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::SignalIdentifier* id); - - // .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:flyteidl.admin.SignalSetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::SignalIdentifier* id_; - ::flyteidl::core::Literal* value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fsignal_2eproto; -}; -// ------------------------------------------------------------------- - -class SignalSetResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SignalSetResponse) */ { - public: - SignalSetResponse(); - virtual ~SignalSetResponse(); - - SignalSetResponse(const SignalSetResponse& from); - - inline SignalSetResponse& operator=(const SignalSetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SignalSetResponse(SignalSetResponse&& from) noexcept - : SignalSetResponse() { - *this = ::std::move(from); - } - - inline SignalSetResponse& operator=(SignalSetResponse&& 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 SignalSetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SignalSetResponse* internal_default_instance() { - return reinterpret_cast( - &_SignalSetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(SignalSetResponse* other); - friend void swap(SignalSetResponse& a, SignalSetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SignalSetResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - SignalSetResponse* 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 SignalSetResponse& from); - void MergeFrom(const SignalSetResponse& 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(SignalSetResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalSetResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fsignal_2eproto; -}; -// ------------------------------------------------------------------- - -class Signal final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Signal) */ { - public: - Signal(); - virtual ~Signal(); - - Signal(const Signal& from); - - inline Signal& operator=(const Signal& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Signal(Signal&& from) noexcept - : Signal() { - *this = ::std::move(from); - } - - inline Signal& operator=(Signal&& 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 Signal& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Signal* internal_default_instance() { - return reinterpret_cast( - &_Signal_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(Signal* other); - friend void swap(Signal& a, Signal& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Signal* New() const final { - return CreateMaybeMessage(nullptr); - } - - Signal* 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 Signal& from); - void MergeFrom(const Signal& 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(Signal* 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.SignalIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::SignalIdentifier& id() const; - ::flyteidl::core::SignalIdentifier* release_id(); - ::flyteidl::core::SignalIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::SignalIdentifier* id); - - // .flyteidl.core.LiteralType type = 2; - bool has_type() const; - void clear_type(); - static const int kTypeFieldNumber = 2; - const ::flyteidl::core::LiteralType& type() const; - ::flyteidl::core::LiteralType* release_type(); - ::flyteidl::core::LiteralType* mutable_type(); - void set_allocated_type(::flyteidl::core::LiteralType* type); - - // .flyteidl.core.Literal value = 3; - bool has_value() const; - void clear_value(); - static const int kValueFieldNumber = 3; - 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:flyteidl.admin.Signal) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::SignalIdentifier* id_; - ::flyteidl::core::LiteralType* type_; - ::flyteidl::core::Literal* value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fsignal_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// SignalGetOrCreateRequest - -// .flyteidl.core.SignalIdentifier id = 1; -inline bool SignalGetOrCreateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::SignalIdentifier& SignalGetOrCreateRequest::id() const { - const ::flyteidl::core::SignalIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalGetOrCreateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SignalIdentifier_default_instance_); -} -inline ::flyteidl::core::SignalIdentifier* SignalGetOrCreateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalGetOrCreateRequest.id) - - ::flyteidl::core::SignalIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::SignalIdentifier* SignalGetOrCreateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SignalIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalGetOrCreateRequest.id) - return id_; -} -inline void SignalGetOrCreateRequest::set_allocated_id(::flyteidl::core::SignalIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalGetOrCreateRequest.id) -} - -// .flyteidl.core.LiteralType type = 2; -inline bool SignalGetOrCreateRequest::has_type() const { - return this != internal_default_instance() && type_ != nullptr; -} -inline const ::flyteidl::core::LiteralType& SignalGetOrCreateRequest::type() const { - const ::flyteidl::core::LiteralType* p = type_; - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalGetOrCreateRequest.type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* SignalGetOrCreateRequest::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalGetOrCreateRequest.type) - - ::flyteidl::core::LiteralType* temp = type_; - type_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralType* SignalGetOrCreateRequest::mutable_type() { - - if (type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); - type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalGetOrCreateRequest.type) - return type_; -} -inline void SignalGetOrCreateRequest::set_allocated_type(::flyteidl::core::LiteralType* type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); - } - if (type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - - } else { - - } - type_ = type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalGetOrCreateRequest.type) -} - -// ------------------------------------------------------------------- - -// SignalListRequest - -// .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; -inline bool SignalListRequest::has_workflow_execution_id() const { - return this != internal_default_instance() && workflow_execution_id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& SignalListRequest::workflow_execution_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = workflow_execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalListRequest.workflow_execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* SignalListRequest::release_workflow_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalListRequest.workflow_execution_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = workflow_execution_id_; - workflow_execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* SignalListRequest::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.admin.SignalListRequest.workflow_execution_id) - return workflow_execution_id_; -} -inline void SignalListRequest::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.admin.SignalListRequest.workflow_execution_id) -} - -// uint32 limit = 2; -inline void SignalListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 SignalListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalListRequest.limit) - return limit_; -} -inline void SignalListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.SignalListRequest.limit) -} - -// string token = 3; -inline void SignalListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SignalListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalListRequest.token) - return token_.GetNoArena(); -} -inline void SignalListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.SignalListRequest.token) -} -#if LANG_CXX11 -inline void SignalListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.SignalListRequest.token) -} -#endif -inline void SignalListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.SignalListRequest.token) -} -inline void SignalListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.SignalListRequest.token) -} -inline ::std::string* SignalListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SignalListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SignalListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalListRequest.token) -} - -// string filters = 4; -inline void SignalListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SignalListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalListRequest.filters) - return filters_.GetNoArena(); -} -inline void SignalListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.SignalListRequest.filters) -} -#if LANG_CXX11 -inline void SignalListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.SignalListRequest.filters) -} -#endif -inline void SignalListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.SignalListRequest.filters) -} -inline void SignalListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.SignalListRequest.filters) -} -inline ::std::string* SignalListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SignalListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SignalListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalListRequest.filters) -} - -// .flyteidl.admin.Sort sort_by = 5; -inline bool SignalListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline const ::flyteidl::admin::Sort& SignalListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* SignalListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* SignalListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalListRequest.sort_by) - return sort_by_; -} -inline void SignalListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(sort_by_); - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalListRequest.sort_by) -} - -// ------------------------------------------------------------------- - -// SignalList - -// repeated .flyteidl.admin.Signal signals = 1; -inline int SignalList::signals_size() const { - return signals_.size(); -} -inline void SignalList::clear_signals() { - signals_.Clear(); -} -inline ::flyteidl::admin::Signal* SignalList::mutable_signals(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalList.signals) - return signals_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Signal >* -SignalList::mutable_signals() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.SignalList.signals) - return &signals_; -} -inline const ::flyteidl::admin::Signal& SignalList::signals(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalList.signals) - return signals_.Get(index); -} -inline ::flyteidl::admin::Signal* SignalList::add_signals() { - // @@protoc_insertion_point(field_add:flyteidl.admin.SignalList.signals) - return signals_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Signal >& -SignalList::signals() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.SignalList.signals) - return signals_; -} - -// string token = 2; -inline void SignalList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SignalList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalList.token) - return token_.GetNoArena(); -} -inline void SignalList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.SignalList.token) -} -#if LANG_CXX11 -inline void SignalList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.SignalList.token) -} -#endif -inline void SignalList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.SignalList.token) -} -inline void SignalList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.SignalList.token) -} -inline ::std::string* SignalList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SignalList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SignalList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalList.token) -} - -// ------------------------------------------------------------------- - -// SignalSetRequest - -// .flyteidl.core.SignalIdentifier id = 1; -inline bool SignalSetRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::SignalIdentifier& SignalSetRequest::id() const { - const ::flyteidl::core::SignalIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalSetRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SignalIdentifier_default_instance_); -} -inline ::flyteidl::core::SignalIdentifier* SignalSetRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalSetRequest.id) - - ::flyteidl::core::SignalIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::SignalIdentifier* SignalSetRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SignalIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalSetRequest.id) - return id_; -} -inline void SignalSetRequest::set_allocated_id(::flyteidl::core::SignalIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalSetRequest.id) -} - -// .flyteidl.core.Literal value = 2; -inline bool SignalSetRequest::has_value() const { - return this != internal_default_instance() && value_ != nullptr; -} -inline const ::flyteidl::core::Literal& SignalSetRequest::value() const { - const ::flyteidl::core::Literal* p = value_; - // @@protoc_insertion_point(field_get:flyteidl.admin.SignalSetRequest.value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Literal_default_instance_); -} -inline ::flyteidl::core::Literal* SignalSetRequest::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.admin.SignalSetRequest.value) - - ::flyteidl::core::Literal* temp = value_; - value_ = nullptr; - return temp; -} -inline ::flyteidl::core::Literal* SignalSetRequest::mutable_value() { - - if (value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Literal>(GetArenaNoVirtual()); - value_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.SignalSetRequest.value) - return value_; -} -inline void SignalSetRequest::set_allocated_value(::flyteidl::core::Literal* value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(value_); - } - if (value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - - } else { - - } - value_ = value; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SignalSetRequest.value) -} - -// ------------------------------------------------------------------- - -// SignalSetResponse - -// ------------------------------------------------------------------- - -// Signal - -// .flyteidl.core.SignalIdentifier id = 1; -inline bool Signal::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::SignalIdentifier& Signal::id() const { - const ::flyteidl::core::SignalIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Signal.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SignalIdentifier_default_instance_); -} -inline ::flyteidl::core::SignalIdentifier* Signal::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Signal.id) - - ::flyteidl::core::SignalIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::SignalIdentifier* Signal::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SignalIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Signal.id) - return id_; -} -inline void Signal::set_allocated_id(::flyteidl::core::SignalIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Signal.id) -} - -// .flyteidl.core.LiteralType type = 2; -inline bool Signal::has_type() const { - return this != internal_default_instance() && type_ != nullptr; -} -inline const ::flyteidl::core::LiteralType& Signal::type() const { - const ::flyteidl::core::LiteralType* p = type_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Signal.type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* Signal::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Signal.type) - - ::flyteidl::core::LiteralType* temp = type_; - type_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralType* Signal::mutable_type() { - - if (type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); - type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Signal.type) - return type_; -} -inline void Signal::set_allocated_type(::flyteidl::core::LiteralType* type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); - } - if (type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - - } else { - - } - type_ = type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Signal.type) -} - -// .flyteidl.core.Literal value = 3; -inline bool Signal::has_value() const { - return this != internal_default_instance() && value_ != nullptr; -} -inline const ::flyteidl::core::Literal& Signal::value() const { - const ::flyteidl::core::Literal* p = value_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Signal.value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Literal_default_instance_); -} -inline ::flyteidl::core::Literal* Signal::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Signal.value) - - ::flyteidl::core::Literal* temp = value_; - value_ = nullptr; - return temp; -} -inline ::flyteidl::core::Literal* Signal::mutable_value() { - - if (value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Literal>(GetArenaNoVirtual()); - value_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Signal.value) - return value_; -} -inline void Signal::set_allocated_value(::flyteidl::core::Literal* value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(value_); - } - if (value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - - } else { - - } - value_ = value; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Signal.value) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fsignal_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/task.grpc.pb.cc deleted file mode 100644 index 194ff6a044..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/task.proto - -#include "flyteidl/admin/task.pb.h" -#include "flyteidl/admin/task.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/task.grpc.pb.h deleted file mode 100644 index 226d935b0e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/task.proto -#ifndef GRPC_flyteidl_2fadmin_2ftask_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2ftask_2eproto__INCLUDED - -#include "flyteidl/admin/task.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2ftask_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/task.pb.cc deleted file mode 100644 index b63c75f458..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task.pb.cc +++ /dev/null @@ -1,2400 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/task.proto - -#include "flyteidl/admin/task.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fdescription_5fentity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskClosure_flyteidl_2fadmin_2ftask_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskSpec_flyteidl_2fadmin_2ftask_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Task_flyteidl_2fadmin_2ftask_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace admin { -class TaskCreateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskCreateRequest_default_instance_; -class TaskCreateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskCreateResponse_default_instance_; -class TaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Task_default_instance_; -class TaskListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskList_default_instance_; -class TaskSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskSpec_default_instance_; -class TaskClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskClosure_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsTaskCreateRequest_flyteidl_2fadmin_2ftask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskCreateRequest_default_instance_; - new (ptr) ::flyteidl::admin::TaskCreateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskCreateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskCreateRequest_flyteidl_2fadmin_2ftask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskCreateRequest_flyteidl_2fadmin_2ftask_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskSpec_flyteidl_2fadmin_2ftask_2eproto.base,}}; - -static void InitDefaultsTaskCreateResponse_flyteidl_2fadmin_2ftask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskCreateResponse_default_instance_; - new (ptr) ::flyteidl::admin::TaskCreateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskCreateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskCreateResponse_flyteidl_2fadmin_2ftask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskCreateResponse_flyteidl_2fadmin_2ftask_2eproto}, {}}; - -static void InitDefaultsTask_flyteidl_2fadmin_2ftask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Task_default_instance_; - new (ptr) ::flyteidl::admin::Task(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Task::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Task_flyteidl_2fadmin_2ftask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTask_flyteidl_2fadmin_2ftask_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskClosure_flyteidl_2fadmin_2ftask_2eproto.base,}}; - -static void InitDefaultsTaskList_flyteidl_2fadmin_2ftask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskList_default_instance_; - new (ptr) ::flyteidl::admin::TaskList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskList_flyteidl_2fadmin_2ftask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskList_flyteidl_2fadmin_2ftask_2eproto}, { - &scc_info_Task_flyteidl_2fadmin_2ftask_2eproto.base,}}; - -static void InitDefaultsTaskSpec_flyteidl_2fadmin_2ftask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskSpec_default_instance_; - new (ptr) ::flyteidl::admin::TaskSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskSpec_flyteidl_2fadmin_2ftask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskSpec_flyteidl_2fadmin_2ftask_2eproto}, { - &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base,}}; - -static void InitDefaultsTaskClosure_flyteidl_2fadmin_2ftask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskClosure_default_instance_; - new (ptr) ::flyteidl::admin::TaskClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskClosure_flyteidl_2fadmin_2ftask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskClosure_flyteidl_2fadmin_2ftask_2eproto}, { - &scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2ftask_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_TaskCreateRequest_flyteidl_2fadmin_2ftask_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskCreateResponse_flyteidl_2fadmin_2ftask_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Task_flyteidl_2fadmin_2ftask_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskList_flyteidl_2fadmin_2ftask_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskSpec_flyteidl_2fadmin_2ftask_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskClosure_flyteidl_2fadmin_2ftask_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2ftask_2eproto[6]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2ftask_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2ftask_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2ftask_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskCreateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskCreateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskCreateRequest, spec_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskCreateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Task, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Task, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Task, closure_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Task, short_description_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskList, tasks_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskSpec, template__), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskSpec, description_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskClosure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskClosure, compiled_task_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskClosure, created_at_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::TaskCreateRequest)}, - { 7, -1, sizeof(::flyteidl::admin::TaskCreateResponse)}, - { 12, -1, sizeof(::flyteidl::admin::Task)}, - { 20, -1, sizeof(::flyteidl::admin::TaskList)}, - { 27, -1, sizeof(::flyteidl::admin::TaskSpec)}, - { 34, -1, sizeof(::flyteidl::admin::TaskClosure)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_TaskCreateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskCreateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Task_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskSpec_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskClosure_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2ftask_2eproto, "flyteidl/admin/task.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2ftask_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2ftask_2eproto, 6, file_level_enum_descriptors_flyteidl_2fadmin_2ftask_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2ftask_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2ftask_2eproto[] = - "\n\031flyteidl/admin/task.proto\022\016flyteidl.ad" - "min\032\036flyteidl/core/identifier.proto\032\031fly" - "teidl/core/tasks.proto\032\034flyteidl/core/co" - "mpiler.proto\032\'flyteidl/admin/description" - "_entity.proto\032\037google/protobuf/timestamp" - ".proto\"b\n\021TaskCreateRequest\022%\n\002id\030\001 \001(\0132" - "\031.flyteidl.core.Identifier\022&\n\004spec\030\002 \001(\013" - "2\030.flyteidl.admin.TaskSpec\"\024\n\022TaskCreate" - "Response\"v\n\004Task\022%\n\002id\030\001 \001(\0132\031.flyteidl." - "core.Identifier\022,\n\007closure\030\002 \001(\0132\033.flyte" - "idl.admin.TaskClosure\022\031\n\021short_descripti" - "on\030\003 \001(\t\">\n\010TaskList\022#\n\005tasks\030\001 \003(\0132\024.fl" - "yteidl.admin.Task\022\r\n\005token\030\002 \001(\t\"q\n\010Task" - "Spec\022-\n\010template\030\001 \001(\0132\033.flyteidl.core.T" - "askTemplate\0226\n\013description\030\002 \001(\0132!.flyte" - "idl.admin.DescriptionEntity\"q\n\013TaskClosu" - "re\0222\n\rcompiled_task\030\001 \001(\0132\033.flyteidl.cor" - "e.CompiledTask\022.\n\ncreated_at\030\002 \001(\0132\032.goo" - "gle.protobuf.TimestampB=Z;github.com/fly" - "teorg/flyte/flyteidl/gen/pb-go/flyteidl/" - "adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2ftask_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2ftask_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2ftask_2eproto, - "flyteidl/admin/task.proto", &assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto, 813, -}; - -void AddDescriptors_flyteidl_2fadmin_2ftask_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[5] = - { - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fcompiler_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2ftask_2eproto, deps, 5); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2ftask_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2ftask_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void TaskCreateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskCreateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_TaskCreateRequest_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::admin::TaskSpec*>( - ::flyteidl::admin::TaskSpec::internal_default_instance()); -} -class TaskCreateRequest::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const TaskCreateRequest* msg); - static const ::flyteidl::admin::TaskSpec& spec(const TaskCreateRequest* msg); -}; - -const ::flyteidl::core::Identifier& -TaskCreateRequest::HasBitSetters::id(const TaskCreateRequest* msg) { - return *msg->id_; -} -const ::flyteidl::admin::TaskSpec& -TaskCreateRequest::HasBitSetters::spec(const TaskCreateRequest* msg) { - return *msg->spec_; -} -void TaskCreateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskCreateRequest::kIdFieldNumber; -const int TaskCreateRequest::kSpecFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskCreateRequest::TaskCreateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskCreateRequest) -} -TaskCreateRequest::TaskCreateRequest(const TaskCreateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_spec()) { - spec_ = new ::flyteidl::admin::TaskSpec(*from.spec_); - } else { - spec_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskCreateRequest) -} - -void TaskCreateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskCreateRequest_flyteidl_2fadmin_2ftask_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&spec_) - - reinterpret_cast(&id_)) + sizeof(spec_)); -} - -TaskCreateRequest::~TaskCreateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskCreateRequest) - SharedDtor(); -} - -void TaskCreateRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete spec_; -} - -void TaskCreateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskCreateRequest& TaskCreateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskCreateRequest_flyteidl_2fadmin_2ftask_2eproto.base); - return *internal_default_instance(); -} - - -void TaskCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskCreateRequest::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.admin.TaskSpec spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskSpec::_InternalParse; - object = msg->mutable_spec(); - 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 TaskCreateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskCreateRequest) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.TaskSpec spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_spec())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskCreateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskCreateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskCreateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.TaskSpec spec = 2; - if (this->has_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::spec(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskCreateRequest) -} - -::google::protobuf::uint8* TaskCreateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.TaskSpec spec = 2; - if (this->has_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::spec(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskCreateRequest) - return target; -} - -size_t TaskCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskCreateRequest) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.TaskSpec spec = 2; - if (this->has_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *spec_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskCreateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskCreateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskCreateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskCreateRequest) - MergeFrom(*source); - } -} - -void TaskCreateRequest::MergeFrom(const TaskCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskCreateRequest) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_spec()) { - mutable_spec()->::flyteidl::admin::TaskSpec::MergeFrom(from.spec()); - } -} - -void TaskCreateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskCreateRequest::CopyFrom(const TaskCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskCreateRequest::IsInitialized() const { - return true; -} - -void TaskCreateRequest::Swap(TaskCreateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskCreateRequest::InternalSwap(TaskCreateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(spec_, other->spec_); -} - -::google::protobuf::Metadata TaskCreateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskCreateResponse::InitAsDefaultInstance() { -} -class TaskCreateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskCreateResponse::TaskCreateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskCreateResponse) -} -TaskCreateResponse::TaskCreateResponse(const TaskCreateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskCreateResponse) -} - -void TaskCreateResponse::SharedCtor() { -} - -TaskCreateResponse::~TaskCreateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskCreateResponse) - SharedDtor(); -} - -void TaskCreateResponse::SharedDtor() { -} - -void TaskCreateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskCreateResponse& TaskCreateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskCreateResponse_flyteidl_2fadmin_2ftask_2eproto.base); - return *internal_default_instance(); -} - - -void TaskCreateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskCreateResponse) - ::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* TaskCreateResponse::_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 TaskCreateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskCreateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskCreateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskCreateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskCreateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskCreateResponse) -} - -::google::protobuf::uint8* TaskCreateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskCreateResponse) - return target; -} - -size_t TaskCreateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskCreateResponse) - 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 TaskCreateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - const TaskCreateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskCreateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskCreateResponse) - MergeFrom(*source); - } -} - -void TaskCreateResponse::MergeFrom(const TaskCreateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void TaskCreateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskCreateResponse::CopyFrom(const TaskCreateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskCreateResponse::IsInitialized() const { - return true; -} - -void TaskCreateResponse::Swap(TaskCreateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskCreateResponse::InternalSwap(TaskCreateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata TaskCreateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Task::InitAsDefaultInstance() { - ::flyteidl::admin::_Task_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_Task_default_instance_._instance.get_mutable()->closure_ = const_cast< ::flyteidl::admin::TaskClosure*>( - ::flyteidl::admin::TaskClosure::internal_default_instance()); -} -class Task::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const Task* msg); - static const ::flyteidl::admin::TaskClosure& closure(const Task* msg); -}; - -const ::flyteidl::core::Identifier& -Task::HasBitSetters::id(const Task* msg) { - return *msg->id_; -} -const ::flyteidl::admin::TaskClosure& -Task::HasBitSetters::closure(const Task* msg) { - return *msg->closure_; -} -void Task::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Task::kIdFieldNumber; -const int Task::kClosureFieldNumber; -const int Task::kShortDescriptionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Task::Task() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Task) -} -Task::Task(const Task& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.short_description().size() > 0) { - short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_closure()) { - closure_ = new ::flyteidl::admin::TaskClosure(*from.closure_); - } else { - closure_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Task) -} - -void Task::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Task_flyteidl_2fadmin_2ftask_2eproto.base); - short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&closure_) - - reinterpret_cast(&id_)) + sizeof(closure_)); -} - -Task::~Task() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Task) - SharedDtor(); -} - -void Task::SharedDtor() { - short_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete closure_; -} - -void Task::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Task& Task::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Task_flyteidl_2fadmin_2ftask_2eproto.base); - return *internal_default_instance(); -} - - -void Task::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Task) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Task::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.admin.TaskClosure closure = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskClosure::_InternalParse; - object = msg->mutable_closure(); - 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 short_description = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Task.short_description"); - object = msg->mutable_short_description(); - 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 Task::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Task) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.TaskClosure closure = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_closure())); - } else { - goto handle_unusual; - } - break; - } - - // string short_description = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_short_description())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Task.short_description")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Task) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Task) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Task::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Task) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.TaskClosure closure = 2; - if (this->has_closure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::closure(this), output); - } - - // string short_description = 3; - if (this->short_description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Task.short_description"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->short_description(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Task) -} - -::google::protobuf::uint8* Task::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Task) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.TaskClosure closure = 2; - if (this->has_closure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::closure(this), target); - } - - // string short_description = 3; - if (this->short_description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Task.short_description"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->short_description(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Task) - return target; -} - -size_t Task::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Task) - 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 short_description = 3; - if (this->short_description().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->short_description()); - } - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.TaskClosure closure = 2; - if (this->has_closure()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *closure_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Task::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Task) - GOOGLE_DCHECK_NE(&from, this); - const Task* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Task) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Task) - MergeFrom(*source); - } -} - -void Task::MergeFrom(const Task& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Task) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.short_description().size() > 0) { - - short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_closure()) { - mutable_closure()->::flyteidl::admin::TaskClosure::MergeFrom(from.closure()); - } -} - -void Task::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Task) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Task::CopyFrom(const Task& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Task) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Task::IsInitialized() const { - return true; -} - -void Task::Swap(Task* other) { - if (other == this) return; - InternalSwap(other); -} -void Task::InternalSwap(Task* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - short_description_.Swap(&other->short_description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(closure_, other->closure_); -} - -::google::protobuf::Metadata Task::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskList::InitAsDefaultInstance() { -} -class TaskList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskList::kTasksFieldNumber; -const int TaskList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskList::TaskList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskList) -} -TaskList::TaskList(const TaskList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - tasks_(from.tasks_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskList) -} - -void TaskList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskList_flyteidl_2fadmin_2ftask_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -TaskList::~TaskList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskList) - SharedDtor(); -} - -void TaskList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TaskList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskList& TaskList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskList_flyteidl_2fadmin_2ftask_2eproto.base); - return *internal_default_instance(); -} - - -void TaskList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tasks_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskList::_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.admin.Task tasks = 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::admin::Task::_InternalParse; - object = msg->add_tasks(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskList.token"); - object = msg->mutable_token(); - 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 TaskList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskList) - 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.admin.Task tasks = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_tasks())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Task tasks = 1; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->tasks(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskList) -} - -::google::protobuf::uint8* TaskList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Task tasks = 1; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->tasks(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskList) - return target; -} - -size_t TaskList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskList) - 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.admin.Task tasks = 1; - { - unsigned int count = static_cast(this->tasks_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->tasks(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskList) - GOOGLE_DCHECK_NE(&from, this); - const TaskList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskList) - MergeFrom(*source); - } -} - -void TaskList::MergeFrom(const TaskList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tasks_.MergeFrom(from.tasks_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void TaskList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskList::CopyFrom(const TaskList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskList::IsInitialized() const { - return true; -} - -void TaskList::Swap(TaskList* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskList::InternalSwap(TaskList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&tasks_)->InternalSwap(CastToBase(&other->tasks_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata TaskList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskSpec::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskSpec_default_instance_._instance.get_mutable()->template__ = const_cast< ::flyteidl::core::TaskTemplate*>( - ::flyteidl::core::TaskTemplate::internal_default_instance()); - ::flyteidl::admin::_TaskSpec_default_instance_._instance.get_mutable()->description_ = const_cast< ::flyteidl::admin::DescriptionEntity*>( - ::flyteidl::admin::DescriptionEntity::internal_default_instance()); -} -class TaskSpec::HasBitSetters { - public: - static const ::flyteidl::core::TaskTemplate& template_(const TaskSpec* msg); - static const ::flyteidl::admin::DescriptionEntity& description(const TaskSpec* msg); -}; - -const ::flyteidl::core::TaskTemplate& -TaskSpec::HasBitSetters::template_(const TaskSpec* msg) { - return *msg->template__; -} -const ::flyteidl::admin::DescriptionEntity& -TaskSpec::HasBitSetters::description(const TaskSpec* msg) { - return *msg->description_; -} -void TaskSpec::clear_template_() { - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; -} -void TaskSpec::clear_description() { - if (GetArenaNoVirtual() == nullptr && description_ != nullptr) { - delete description_; - } - description_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskSpec::kTemplateFieldNumber; -const int TaskSpec::kDescriptionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskSpec::TaskSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskSpec) -} -TaskSpec::TaskSpec(const TaskSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_template_()) { - template__ = new ::flyteidl::core::TaskTemplate(*from.template__); - } else { - template__ = nullptr; - } - if (from.has_description()) { - description_ = new ::flyteidl::admin::DescriptionEntity(*from.description_); - } else { - description_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskSpec) -} - -void TaskSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskSpec_flyteidl_2fadmin_2ftask_2eproto.base); - ::memset(&template__, 0, static_cast( - reinterpret_cast(&description_) - - reinterpret_cast(&template__)) + sizeof(description_)); -} - -TaskSpec::~TaskSpec() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskSpec) - SharedDtor(); -} - -void TaskSpec::SharedDtor() { - if (this != internal_default_instance()) delete template__; - if (this != internal_default_instance()) delete description_; -} - -void TaskSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskSpec& TaskSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskSpec_flyteidl_2fadmin_2ftask_2eproto.base); - return *internal_default_instance(); -} - - -void TaskSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; - if (GetArenaNoVirtual() == nullptr && description_ != nullptr) { - delete description_; - } - description_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskSpec::_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.TaskTemplate template = 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::TaskTemplate::_InternalParse; - object = msg->mutable_template_(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.DescriptionEntity description = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::DescriptionEntity::_InternalParse; - object = msg->mutable_description(); - 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 TaskSpec::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskSpec) - 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.TaskTemplate template = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_template_())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.DescriptionEntity description = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_description())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskTemplate template = 1; - if (this->has_template_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::template_(this), output); - } - - // .flyteidl.admin.DescriptionEntity description = 2; - if (this->has_description()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::description(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskSpec) -} - -::google::protobuf::uint8* TaskSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskTemplate template = 1; - if (this->has_template_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::template_(this), target); - } - - // .flyteidl.admin.DescriptionEntity description = 2; - if (this->has_description()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::description(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskSpec) - return target; -} - -size_t TaskSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskSpec) - 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.TaskTemplate template = 1; - if (this->has_template_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *template__); - } - - // .flyteidl.admin.DescriptionEntity description = 2; - if (this->has_description()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *description_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskSpec) - GOOGLE_DCHECK_NE(&from, this); - const TaskSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskSpec) - MergeFrom(*source); - } -} - -void TaskSpec::MergeFrom(const TaskSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskSpec) - 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_template_()) { - mutable_template_()->::flyteidl::core::TaskTemplate::MergeFrom(from.template_()); - } - if (from.has_description()) { - mutable_description()->::flyteidl::admin::DescriptionEntity::MergeFrom(from.description()); - } -} - -void TaskSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskSpec::CopyFrom(const TaskSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskSpec::IsInitialized() const { - return true; -} - -void TaskSpec::Swap(TaskSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskSpec::InternalSwap(TaskSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(template__, other->template__); - swap(description_, other->description_); -} - -::google::protobuf::Metadata TaskSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskClosure::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskClosure_default_instance_._instance.get_mutable()->compiled_task_ = const_cast< ::flyteidl::core::CompiledTask*>( - ::flyteidl::core::CompiledTask::internal_default_instance()); - ::flyteidl::admin::_TaskClosure_default_instance_._instance.get_mutable()->created_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class TaskClosure::HasBitSetters { - public: - static const ::flyteidl::core::CompiledTask& compiled_task(const TaskClosure* msg); - static const ::google::protobuf::Timestamp& created_at(const TaskClosure* msg); -}; - -const ::flyteidl::core::CompiledTask& -TaskClosure::HasBitSetters::compiled_task(const TaskClosure* msg) { - return *msg->compiled_task_; -} -const ::google::protobuf::Timestamp& -TaskClosure::HasBitSetters::created_at(const TaskClosure* msg) { - return *msg->created_at_; -} -void TaskClosure::clear_compiled_task() { - if (GetArenaNoVirtual() == nullptr && compiled_task_ != nullptr) { - delete compiled_task_; - } - compiled_task_ = nullptr; -} -void TaskClosure::clear_created_at() { - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskClosure::kCompiledTaskFieldNumber; -const int TaskClosure::kCreatedAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskClosure::TaskClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskClosure) -} -TaskClosure::TaskClosure(const TaskClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_compiled_task()) { - compiled_task_ = new ::flyteidl::core::CompiledTask(*from.compiled_task_); - } else { - compiled_task_ = nullptr; - } - if (from.has_created_at()) { - created_at_ = new ::google::protobuf::Timestamp(*from.created_at_); - } else { - created_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskClosure) -} - -void TaskClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskClosure_flyteidl_2fadmin_2ftask_2eproto.base); - ::memset(&compiled_task_, 0, static_cast( - reinterpret_cast(&created_at_) - - reinterpret_cast(&compiled_task_)) + sizeof(created_at_)); -} - -TaskClosure::~TaskClosure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskClosure) - SharedDtor(); -} - -void TaskClosure::SharedDtor() { - if (this != internal_default_instance()) delete compiled_task_; - if (this != internal_default_instance()) delete created_at_; -} - -void TaskClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskClosure& TaskClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskClosure_flyteidl_2fadmin_2ftask_2eproto.base); - return *internal_default_instance(); -} - - -void TaskClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && compiled_task_ != nullptr) { - delete compiled_task_; - } - compiled_task_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskClosure::_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.CompiledTask compiled_task = 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::CompiledTask::_InternalParse; - object = msg->mutable_compiled_task(); - 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; - } - // .google.protobuf.Timestamp created_at = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_created_at(); - 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 TaskClosure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskClosure) - 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.CompiledTask compiled_task = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_compiled_task())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp created_at = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_created_at())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledTask compiled_task = 1; - if (this->has_compiled_task()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::compiled_task(this), output); - } - - // .google.protobuf.Timestamp created_at = 2; - if (this->has_created_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::created_at(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskClosure) -} - -::google::protobuf::uint8* TaskClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledTask compiled_task = 1; - if (this->has_compiled_task()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::compiled_task(this), target); - } - - // .google.protobuf.Timestamp created_at = 2; - if (this->has_created_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::created_at(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskClosure) - return target; -} - -size_t TaskClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskClosure) - 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.CompiledTask compiled_task = 1; - if (this->has_compiled_task()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *compiled_task_); - } - - // .google.protobuf.Timestamp created_at = 2; - if (this->has_created_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *created_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskClosure) - GOOGLE_DCHECK_NE(&from, this); - const TaskClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskClosure) - MergeFrom(*source); - } -} - -void TaskClosure::MergeFrom(const TaskClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskClosure) - 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_compiled_task()) { - mutable_compiled_task()->::flyteidl::core::CompiledTask::MergeFrom(from.compiled_task()); - } - if (from.has_created_at()) { - mutable_created_at()->::google::protobuf::Timestamp::MergeFrom(from.created_at()); - } -} - -void TaskClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskClosure::CopyFrom(const TaskClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskClosure::IsInitialized() const { - return true; -} - -void TaskClosure::Swap(TaskClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskClosure::InternalSwap(TaskClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(compiled_task_, other->compiled_task_); - swap(created_at_, other->created_at_); -} - -::google::protobuf::Metadata TaskClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskCreateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskCreateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskCreateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Task* Arena::CreateMaybeMessage< ::flyteidl::admin::Task >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Task >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskList* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskSpec >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskClosure >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/task.pb.h deleted file mode 100644 index b11636d135..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task.pb.h +++ /dev/null @@ -1,1406 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/task.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2ftask_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2ftask_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/core/compiler.pb.h" -#include "flyteidl/admin/description_entity.pb.h" -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2ftask_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[6] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2ftask_2eproto(); -namespace flyteidl { -namespace admin { -class Task; -class TaskDefaultTypeInternal; -extern TaskDefaultTypeInternal _Task_default_instance_; -class TaskClosure; -class TaskClosureDefaultTypeInternal; -extern TaskClosureDefaultTypeInternal _TaskClosure_default_instance_; -class TaskCreateRequest; -class TaskCreateRequestDefaultTypeInternal; -extern TaskCreateRequestDefaultTypeInternal _TaskCreateRequest_default_instance_; -class TaskCreateResponse; -class TaskCreateResponseDefaultTypeInternal; -extern TaskCreateResponseDefaultTypeInternal _TaskCreateResponse_default_instance_; -class TaskList; -class TaskListDefaultTypeInternal; -extern TaskListDefaultTypeInternal _TaskList_default_instance_; -class TaskSpec; -class TaskSpecDefaultTypeInternal; -extern TaskSpecDefaultTypeInternal _TaskSpec_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::Task* Arena::CreateMaybeMessage<::flyteidl::admin::Task>(Arena*); -template<> ::flyteidl::admin::TaskClosure* Arena::CreateMaybeMessage<::flyteidl::admin::TaskClosure>(Arena*); -template<> ::flyteidl::admin::TaskCreateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::TaskCreateRequest>(Arena*); -template<> ::flyteidl::admin::TaskCreateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::TaskCreateResponse>(Arena*); -template<> ::flyteidl::admin::TaskList* Arena::CreateMaybeMessage<::flyteidl::admin::TaskList>(Arena*); -template<> ::flyteidl::admin::TaskSpec* Arena::CreateMaybeMessage<::flyteidl::admin::TaskSpec>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class TaskCreateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskCreateRequest) */ { - public: - TaskCreateRequest(); - virtual ~TaskCreateRequest(); - - TaskCreateRequest(const TaskCreateRequest& from); - - inline TaskCreateRequest& operator=(const TaskCreateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskCreateRequest(TaskCreateRequest&& from) noexcept - : TaskCreateRequest() { - *this = ::std::move(from); - } - - inline TaskCreateRequest& operator=(TaskCreateRequest&& 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 TaskCreateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskCreateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(TaskCreateRequest* other); - friend void swap(TaskCreateRequest& a, TaskCreateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskCreateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskCreateRequest* 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 TaskCreateRequest& from); - void MergeFrom(const TaskCreateRequest& 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(TaskCreateRequest* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.TaskSpec spec = 2; - bool has_spec() const; - void clear_spec(); - static const int kSpecFieldNumber = 2; - const ::flyteidl::admin::TaskSpec& spec() const; - ::flyteidl::admin::TaskSpec* release_spec(); - ::flyteidl::admin::TaskSpec* mutable_spec(); - void set_allocated_spec(::flyteidl::admin::TaskSpec* spec); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskCreateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::admin::TaskSpec* spec_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskCreateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskCreateResponse) */ { - public: - TaskCreateResponse(); - virtual ~TaskCreateResponse(); - - TaskCreateResponse(const TaskCreateResponse& from); - - inline TaskCreateResponse& operator=(const TaskCreateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskCreateResponse(TaskCreateResponse&& from) noexcept - : TaskCreateResponse() { - *this = ::std::move(from); - } - - inline TaskCreateResponse& operator=(TaskCreateResponse&& 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 TaskCreateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskCreateResponse* internal_default_instance() { - return reinterpret_cast( - &_TaskCreateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(TaskCreateResponse* other); - friend void swap(TaskCreateResponse& a, TaskCreateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskCreateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskCreateResponse* 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 TaskCreateResponse& from); - void MergeFrom(const TaskCreateResponse& 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(TaskCreateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskCreateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_2eproto; -}; -// ------------------------------------------------------------------- - -class Task final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Task) */ { - public: - Task(); - virtual ~Task(); - - Task(const Task& from); - - inline Task& operator=(const Task& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Task(Task&& from) noexcept - : Task() { - *this = ::std::move(from); - } - - inline Task& operator=(Task&& 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 Task& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Task* internal_default_instance() { - return reinterpret_cast( - &_Task_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(Task* other); - friend void swap(Task& a, Task& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Task* New() const final { - return CreateMaybeMessage(nullptr); - } - - Task* 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 Task& from); - void MergeFrom(const Task& 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(Task* 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 short_description = 3; - void clear_short_description(); - static const int kShortDescriptionFieldNumber = 3; - const ::std::string& short_description() const; - void set_short_description(const ::std::string& value); - #if LANG_CXX11 - void set_short_description(::std::string&& value); - #endif - void set_short_description(const char* value); - void set_short_description(const char* value, size_t size); - ::std::string* mutable_short_description(); - ::std::string* release_short_description(); - void set_allocated_short_description(::std::string* short_description); - - // .flyteidl.core.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.TaskClosure closure = 2; - bool has_closure() const; - void clear_closure(); - static const int kClosureFieldNumber = 2; - const ::flyteidl::admin::TaskClosure& closure() const; - ::flyteidl::admin::TaskClosure* release_closure(); - ::flyteidl::admin::TaskClosure* mutable_closure(); - void set_allocated_closure(::flyteidl::admin::TaskClosure* closure); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Task) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr short_description_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::admin::TaskClosure* closure_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskList) */ { - public: - TaskList(); - virtual ~TaskList(); - - TaskList(const TaskList& from); - - inline TaskList& operator=(const TaskList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskList(TaskList&& from) noexcept - : TaskList() { - *this = ::std::move(from); - } - - inline TaskList& operator=(TaskList&& 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 TaskList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskList* internal_default_instance() { - return reinterpret_cast( - &_TaskList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TaskList* other); - friend void swap(TaskList& a, TaskList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskList* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskList* 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 TaskList& from); - void MergeFrom(const TaskList& 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(TaskList* 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.admin.Task tasks = 1; - int tasks_size() const; - void clear_tasks(); - static const int kTasksFieldNumber = 1; - ::flyteidl::admin::Task* mutable_tasks(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Task >* - mutable_tasks(); - const ::flyteidl::admin::Task& tasks(int index) const; - ::flyteidl::admin::Task* add_tasks(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Task >& - tasks() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Task > tasks_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskSpec) */ { - public: - TaskSpec(); - virtual ~TaskSpec(); - - TaskSpec(const TaskSpec& from); - - inline TaskSpec& operator=(const TaskSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskSpec(TaskSpec&& from) noexcept - : TaskSpec() { - *this = ::std::move(from); - } - - inline TaskSpec& operator=(TaskSpec&& 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 TaskSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskSpec* internal_default_instance() { - return reinterpret_cast( - &_TaskSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(TaskSpec* other); - friend void swap(TaskSpec& a, TaskSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskSpec* 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 TaskSpec& from); - void MergeFrom(const TaskSpec& 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(TaskSpec* 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.TaskTemplate template = 1; - bool has_template_() const; - void clear_template_(); - static const int kTemplateFieldNumber = 1; - const ::flyteidl::core::TaskTemplate& template_() const; - ::flyteidl::core::TaskTemplate* release_template_(); - ::flyteidl::core::TaskTemplate* mutable_template_(); - void set_allocated_template_(::flyteidl::core::TaskTemplate* template_); - - // .flyteidl.admin.DescriptionEntity description = 2; - bool has_description() const; - void clear_description(); - static const int kDescriptionFieldNumber = 2; - const ::flyteidl::admin::DescriptionEntity& description() const; - ::flyteidl::admin::DescriptionEntity* release_description(); - ::flyteidl::admin::DescriptionEntity* mutable_description(); - void set_allocated_description(::flyteidl::admin::DescriptionEntity* description); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::TaskTemplate* template__; - ::flyteidl::admin::DescriptionEntity* description_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskClosure) */ { - public: - TaskClosure(); - virtual ~TaskClosure(); - - TaskClosure(const TaskClosure& from); - - inline TaskClosure& operator=(const TaskClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskClosure(TaskClosure&& from) noexcept - : TaskClosure() { - *this = ::std::move(from); - } - - inline TaskClosure& operator=(TaskClosure&& 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 TaskClosure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskClosure* internal_default_instance() { - return reinterpret_cast( - &_TaskClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(TaskClosure* other); - friend void swap(TaskClosure& a, TaskClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskClosure* 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 TaskClosure& from); - void MergeFrom(const TaskClosure& 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(TaskClosure* 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.CompiledTask compiled_task = 1; - bool has_compiled_task() const; - void clear_compiled_task(); - static const int kCompiledTaskFieldNumber = 1; - const ::flyteidl::core::CompiledTask& compiled_task() const; - ::flyteidl::core::CompiledTask* release_compiled_task(); - ::flyteidl::core::CompiledTask* mutable_compiled_task(); - void set_allocated_compiled_task(::flyteidl::core::CompiledTask* compiled_task); - - // .google.protobuf.Timestamp created_at = 2; - bool has_created_at() const; - void clear_created_at(); - static const int kCreatedAtFieldNumber = 2; - 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:flyteidl.admin.TaskClosure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::CompiledTask* compiled_task_; - ::google::protobuf::Timestamp* created_at_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// TaskCreateRequest - -// .flyteidl.core.Identifier id = 1; -inline bool TaskCreateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& TaskCreateRequest::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskCreateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* TaskCreateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskCreateRequest.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* TaskCreateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskCreateRequest.id) - return id_; -} -inline void TaskCreateRequest::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskCreateRequest.id) -} - -// .flyteidl.admin.TaskSpec spec = 2; -inline bool TaskCreateRequest::has_spec() const { - return this != internal_default_instance() && spec_ != nullptr; -} -inline void TaskCreateRequest::clear_spec() { - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; -} -inline const ::flyteidl::admin::TaskSpec& TaskCreateRequest::spec() const { - const ::flyteidl::admin::TaskSpec* p = spec_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskCreateRequest.spec) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_TaskSpec_default_instance_); -} -inline ::flyteidl::admin::TaskSpec* TaskCreateRequest::release_spec() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskCreateRequest.spec) - - ::flyteidl::admin::TaskSpec* temp = spec_; - spec_ = nullptr; - return temp; -} -inline ::flyteidl::admin::TaskSpec* TaskCreateRequest::mutable_spec() { - - if (spec_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::TaskSpec>(GetArenaNoVirtual()); - spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskCreateRequest.spec) - return spec_; -} -inline void TaskCreateRequest::set_allocated_spec(::flyteidl::admin::TaskSpec* spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete spec_; - } - if (spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, spec, submessage_arena); - } - - } else { - - } - spec_ = spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskCreateRequest.spec) -} - -// ------------------------------------------------------------------- - -// TaskCreateResponse - -// ------------------------------------------------------------------- - -// Task - -// .flyteidl.core.Identifier id = 1; -inline bool Task::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& Task::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Task.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* Task::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Task.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* Task::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Task.id) - return id_; -} -inline void Task::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Task.id) -} - -// .flyteidl.admin.TaskClosure closure = 2; -inline bool Task::has_closure() const { - return this != internal_default_instance() && closure_ != nullptr; -} -inline void Task::clear_closure() { - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; -} -inline const ::flyteidl::admin::TaskClosure& Task::closure() const { - const ::flyteidl::admin::TaskClosure* p = closure_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Task.closure) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_TaskClosure_default_instance_); -} -inline ::flyteidl::admin::TaskClosure* Task::release_closure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Task.closure) - - ::flyteidl::admin::TaskClosure* temp = closure_; - closure_ = nullptr; - return temp; -} -inline ::flyteidl::admin::TaskClosure* Task::mutable_closure() { - - if (closure_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::TaskClosure>(GetArenaNoVirtual()); - closure_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Task.closure) - return closure_; -} -inline void Task::set_allocated_closure(::flyteidl::admin::TaskClosure* closure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete closure_; - } - if (closure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - closure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, closure, submessage_arena); - } - - } else { - - } - closure_ = closure; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Task.closure) -} - -// string short_description = 3; -inline void Task::clear_short_description() { - short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Task::short_description() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Task.short_description) - return short_description_.GetNoArena(); -} -inline void Task::set_short_description(const ::std::string& value) { - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Task.short_description) -} -#if LANG_CXX11 -inline void Task::set_short_description(::std::string&& value) { - - short_description_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Task.short_description) -} -#endif -inline void Task::set_short_description(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Task.short_description) -} -inline void Task::set_short_description(const char* value, size_t size) { - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Task.short_description) -} -inline ::std::string* Task::mutable_short_description() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Task.short_description) - return short_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Task::release_short_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Task.short_description) - - return short_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Task::set_allocated_short_description(::std::string* short_description) { - if (short_description != nullptr) { - - } else { - - } - short_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), short_description); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Task.short_description) -} - -// ------------------------------------------------------------------- - -// TaskList - -// repeated .flyteidl.admin.Task tasks = 1; -inline int TaskList::tasks_size() const { - return tasks_.size(); -} -inline void TaskList::clear_tasks() { - tasks_.Clear(); -} -inline ::flyteidl::admin::Task* TaskList::mutable_tasks(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskList.tasks) - return tasks_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Task >* -TaskList::mutable_tasks() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.TaskList.tasks) - return &tasks_; -} -inline const ::flyteidl::admin::Task& TaskList::tasks(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskList.tasks) - return tasks_.Get(index); -} -inline ::flyteidl::admin::Task* TaskList::add_tasks() { - // @@protoc_insertion_point(field_add:flyteidl.admin.TaskList.tasks) - return tasks_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Task >& -TaskList::tasks() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.TaskList.tasks) - return tasks_; -} - -// string token = 2; -inline void TaskList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskList.token) - return token_.GetNoArena(); -} -inline void TaskList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskList.token) -} -#if LANG_CXX11 -inline void TaskList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskList.token) -} -#endif -inline void TaskList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskList.token) -} -inline void TaskList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskList.token) -} -inline ::std::string* TaskList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskList.token) -} - -// ------------------------------------------------------------------- - -// TaskSpec - -// .flyteidl.core.TaskTemplate template = 1; -inline bool TaskSpec::has_template_() const { - return this != internal_default_instance() && template__ != nullptr; -} -inline const ::flyteidl::core::TaskTemplate& TaskSpec::template_() const { - const ::flyteidl::core::TaskTemplate* p = template__; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskSpec.template) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskTemplate_default_instance_); -} -inline ::flyteidl::core::TaskTemplate* TaskSpec::release_template_() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskSpec.template) - - ::flyteidl::core::TaskTemplate* temp = template__; - template__ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskTemplate* TaskSpec::mutable_template_() { - - if (template__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskTemplate>(GetArenaNoVirtual()); - template__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskSpec.template) - return template__; -} -inline void TaskSpec::set_allocated_template_(::flyteidl::core::TaskTemplate* template_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(template__); - } - if (template_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - template_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, template_, submessage_arena); - } - - } else { - - } - template__ = template_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskSpec.template) -} - -// .flyteidl.admin.DescriptionEntity description = 2; -inline bool TaskSpec::has_description() const { - return this != internal_default_instance() && description_ != nullptr; -} -inline const ::flyteidl::admin::DescriptionEntity& TaskSpec::description() const { - const ::flyteidl::admin::DescriptionEntity* p = description_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskSpec.description) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_DescriptionEntity_default_instance_); -} -inline ::flyteidl::admin::DescriptionEntity* TaskSpec::release_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskSpec.description) - - ::flyteidl::admin::DescriptionEntity* temp = description_; - description_ = nullptr; - return temp; -} -inline ::flyteidl::admin::DescriptionEntity* TaskSpec::mutable_description() { - - if (description_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::DescriptionEntity>(GetArenaNoVirtual()); - description_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskSpec.description) - return description_; -} -inline void TaskSpec::set_allocated_description(::flyteidl::admin::DescriptionEntity* description) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(description_); - } - if (description) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - description = ::google::protobuf::internal::GetOwnedMessage( - message_arena, description, submessage_arena); - } - - } else { - - } - description_ = description; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskSpec.description) -} - -// ------------------------------------------------------------------- - -// TaskClosure - -// .flyteidl.core.CompiledTask compiled_task = 1; -inline bool TaskClosure::has_compiled_task() const { - return this != internal_default_instance() && compiled_task_ != nullptr; -} -inline const ::flyteidl::core::CompiledTask& TaskClosure::compiled_task() const { - const ::flyteidl::core::CompiledTask* p = compiled_task_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskClosure.compiled_task) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CompiledTask_default_instance_); -} -inline ::flyteidl::core::CompiledTask* TaskClosure::release_compiled_task() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskClosure.compiled_task) - - ::flyteidl::core::CompiledTask* temp = compiled_task_; - compiled_task_ = nullptr; - return temp; -} -inline ::flyteidl::core::CompiledTask* TaskClosure::mutable_compiled_task() { - - if (compiled_task_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CompiledTask>(GetArenaNoVirtual()); - compiled_task_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskClosure.compiled_task) - return compiled_task_; -} -inline void TaskClosure::set_allocated_compiled_task(::flyteidl::core::CompiledTask* compiled_task) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(compiled_task_); - } - if (compiled_task) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - compiled_task = ::google::protobuf::internal::GetOwnedMessage( - message_arena, compiled_task, submessage_arena); - } - - } else { - - } - compiled_task_ = compiled_task; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskClosure.compiled_task) -} - -// .google.protobuf.Timestamp created_at = 2; -inline bool TaskClosure::has_created_at() const { - return this != internal_default_instance() && created_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& TaskClosure::created_at() const { - const ::google::protobuf::Timestamp* p = created_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskClosure.created_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* TaskClosure::release_created_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskClosure.created_at) - - ::google::protobuf::Timestamp* temp = created_at_; - created_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* TaskClosure::mutable_created_at() { - - if (created_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - created_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskClosure.created_at) - return created_at_; -} -inline void TaskClosure::set_allocated_created_at(::google::protobuf::Timestamp* created_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(created_at_); - } - if (created_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(created_at)->GetArena(); - if (message_arena != submessage_arena) { - created_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, created_at, submessage_arena); - } - - } else { - - } - created_at_ = created_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskClosure.created_at) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2ftask_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.grpc.pb.cc deleted file mode 100644 index 44c3c2607b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/task_execution.proto - -#include "flyteidl/admin/task_execution.pb.h" -#include "flyteidl/admin/task_execution.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.grpc.pb.h deleted file mode 100644 index 205eaa5699..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/task_execution.proto -#ifndef GRPC_flyteidl_2fadmin_2ftask_5fexecution_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2ftask_5fexecution_2eproto__INCLUDED - -#include "flyteidl/admin/task_execution.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2ftask_5fexecution_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc deleted file mode 100644 index eb79cb6cb2..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc +++ /dev/null @@ -1,4670 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/task_execution.proto - -#include "flyteidl/admin/task_execution.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskLog_flyteidl_2fcore_2fexecution_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; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace admin { -class TaskExecutionGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionGetRequest_default_instance_; -class TaskExecutionListRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionListRequest_default_instance_; -class TaskExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecution_default_instance_; -class TaskExecutionListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionList_default_instance_; -class TaskExecutionClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr output_uri_; - const ::flyteidl::core::ExecutionError* error_; - const ::flyteidl::core::LiteralMap* output_data_; -} _TaskExecutionClosure_default_instance_; -class ReasonDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Reason_default_instance_; -class TaskExecutionGetDataRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionGetDataRequest_default_instance_; -class TaskExecutionGetDataResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionGetDataResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsTaskExecutionGetRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskExecutionGetRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskExecutionGetRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsTaskExecutionListRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionListRequest_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionListRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionListRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionListRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskExecutionListRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -static void InitDefaultsTaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecution_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base,}}; - -static void InitDefaultsTaskExecutionList_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionList_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskExecutionList_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskExecutionList_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base,}}; - -static void InitDefaultsTaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionClosure_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<8> scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 8, InitDefaultsTaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, - &scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base,}}; - -static void InitDefaultsReason_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Reason_default_instance_; - new (ptr) ::flyteidl::admin::Reason(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Reason::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsReason_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsTaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionGetDataRequest_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionGetDataRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionGetDataRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsTaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_; - new (ptr) ::flyteidl::admin::TaskExecutionGetDataResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::TaskExecutionGetDataResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsTaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { - &scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionGetRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionListRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionList_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[8]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionListRequest, node_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionListRequest, limit_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionListRequest, token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionListRequest, filters_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionListRequest, sort_by_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecution, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecution, input_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecution, closure_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecution, is_parent_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionList, task_executions_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::TaskExecutionClosureDefaultTypeInternal, output_uri_), - offsetof(::flyteidl::admin::TaskExecutionClosureDefaultTypeInternal, error_), - offsetof(::flyteidl::admin::TaskExecutionClosureDefaultTypeInternal, output_data_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, logs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, started_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, duration_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, created_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, updated_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, custom_info_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, reason_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, event_version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, reasons_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, output_result_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Reason, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Reason, occurred_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Reason, message_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, full_inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, full_outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, flyte_urls_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::TaskExecutionGetRequest)}, - { 6, -1, sizeof(::flyteidl::admin::TaskExecutionListRequest)}, - { 16, -1, sizeof(::flyteidl::admin::TaskExecution)}, - { 25, -1, sizeof(::flyteidl::admin::TaskExecutionList)}, - { 32, -1, sizeof(::flyteidl::admin::TaskExecutionClosure)}, - { 53, -1, sizeof(::flyteidl::admin::Reason)}, - { 60, -1, sizeof(::flyteidl::admin::TaskExecutionGetDataRequest)}, - { 66, -1, sizeof(::flyteidl::admin::TaskExecutionGetDataResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_TaskExecutionGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionListRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecution_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionClosure_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Reason_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionGetDataRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, "flyteidl/admin/task_execution.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto, 8, file_level_enum_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2ftask_5fexecution_2eproto[] = - "\n#flyteidl/admin/task_execution.proto\022\016f" - "lyteidl.admin\032\033flyteidl/admin/common.pro" - "to\032\035flyteidl/core/execution.proto\032\036flyte" - "idl/core/identifier.proto\032\034flyteidl/core" - "/literals.proto\032\032flyteidl/event/event.pr" - "oto\032\037google/protobuf/timestamp.proto\032\036go" - "ogle/protobuf/duration.proto\032\034google/pro" - "tobuf/struct.proto\"M\n\027TaskExecutionGetRe" - "quest\0222\n\002id\030\001 \001(\0132&.flyteidl.core.TaskEx" - "ecutionIdentifier\"\263\001\n\030TaskExecutionListR" - "equest\022A\n\021node_execution_id\030\001 \001(\0132&.flyt" - "eidl.core.NodeExecutionIdentifier\022\r\n\005lim" - "it\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filters\030\004 \001(\t" - "\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort\"" - "\240\001\n\rTaskExecution\0222\n\002id\030\001 \001(\0132&.flyteidl" - ".core.TaskExecutionIdentifier\022\021\n\tinput_u" - "ri\030\002 \001(\t\0225\n\007closure\030\003 \001(\0132$.flyteidl.adm" - "in.TaskExecutionClosure\022\021\n\tis_parent\030\004 \001" - "(\010\"Z\n\021TaskExecutionList\0226\n\017task_executio" - "ns\030\001 \003(\0132\035.flyteidl.admin.TaskExecution\022" - "\r\n\005token\030\002 \001(\t\"\207\005\n\024TaskExecutionClosure\022" - "\030\n\noutput_uri\030\001 \001(\tB\002\030\001H\000\022.\n\005error\030\002 \001(\013" - "2\035.flyteidl.core.ExecutionErrorH\000\0224\n\013out" - "put_data\030\014 \001(\0132\031.flyteidl.core.LiteralMa" - "pB\002\030\001H\000\0221\n\005phase\030\003 \001(\0162\".flyteidl.core.T" - "askExecution.Phase\022$\n\004logs\030\004 \003(\0132\026.flyte" - "idl.core.TaskLog\022.\n\nstarted_at\030\005 \001(\0132\032.g" - "oogle.protobuf.Timestamp\022+\n\010duration\030\006 \001" - "(\0132\031.google.protobuf.Duration\022.\n\ncreated" - "_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022.\n" - "\nupdated_at\030\010 \001(\0132\032.google.protobuf.Time" - "stamp\022,\n\013custom_info\030\t \001(\0132\027.google.prot" - "obuf.Struct\022\016\n\006reason\030\n \001(\t\022\021\n\ttask_type" - "\030\013 \001(\t\0227\n\010metadata\030\020 \001(\0132%.flyteidl.even" - "t.TaskExecutionMetadata\022\025\n\revent_version" - "\030\021 \001(\005\022\'\n\007reasons\030\022 \003(\0132\026.flyteidl.admin" - ".ReasonB\017\n\routput_result\"J\n\006Reason\022/\n\013oc" - "curred_at\030\001 \001(\0132\032.google.protobuf.Timest" - "amp\022\017\n\007message\030\002 \001(\t\"Q\n\033TaskExecutionGet" - "DataRequest\0222\n\002id\030\001 \001(\0132&.flyteidl.core." - "TaskExecutionIdentifier\"\211\002\n\034TaskExecutio" - "nGetDataResponse\022+\n\006inputs\030\001 \001(\0132\027.flyte" - "idl.admin.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(\0132\027" - ".flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inpu" - "ts\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014f" - "ull_outputs\030\004 \001(\0132\031.flyteidl.core.Litera" - "lMap\022-\n\nflyte_urls\030\005 \001(\0132\031.flyteidl.admi" - "n.FlyteURLsB=Z;github.com/flyteorg/flyte" - "/flyteidl/gen/pb-go/flyteidl/adminb\006prot" - "o3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2ftask_5fexecution_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2ftask_5fexecution_2eproto, - "flyteidl/admin/task_execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto, 1962, -}; - -void AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[8] = - { - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fevent_2fevent_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, - ::AddDescriptors_google_2fprotobuf_2fstruct_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto, deps, 8); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2ftask_5fexecution_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void TaskExecutionGetRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecutionGetRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); -} -class TaskExecutionGetRequest::HasBitSetters { - public: - static const ::flyteidl::core::TaskExecutionIdentifier& id(const TaskExecutionGetRequest* msg); -}; - -const ::flyteidl::core::TaskExecutionIdentifier& -TaskExecutionGetRequest::HasBitSetters::id(const TaskExecutionGetRequest* msg) { - return *msg->id_; -} -void TaskExecutionGetRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionGetRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionGetRequest::TaskExecutionGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionGetRequest) -} -TaskExecutionGetRequest::TaskExecutionGetRequest(const TaskExecutionGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionGetRequest) -} - -void TaskExecutionGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionGetRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - id_ = nullptr; -} - -TaskExecutionGetRequest::~TaskExecutionGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionGetRequest) - SharedDtor(); -} - -void TaskExecutionGetRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void TaskExecutionGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionGetRequest& TaskExecutionGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionGetRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionGetRequest::_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 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_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 TaskExecutionGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionGetRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.TaskExecutionGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.TaskExecutionGetRequest) -} - -::google::protobuf::uint8* TaskExecutionGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.TaskExecutionGetRequest) - return target; -} - -size_t TaskExecutionGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionGetRequest) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionGetRequest) - MergeFrom(*source); - } -} - -void TaskExecutionGetRequest::MergeFrom(const TaskExecutionGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionGetRequest) - 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_id()) { - mutable_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.id()); - } -} - -void TaskExecutionGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionGetRequest::CopyFrom(const TaskExecutionGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionGetRequest::IsInitialized() const { - return true; -} - -void TaskExecutionGetRequest::Swap(TaskExecutionGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionGetRequest::InternalSwap(TaskExecutionGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata TaskExecutionGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionListRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecutionListRequest_default_instance_._instance.get_mutable()->node_execution_id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionListRequest_default_instance_._instance.get_mutable()->sort_by_ = const_cast< ::flyteidl::admin::Sort*>( - ::flyteidl::admin::Sort::internal_default_instance()); -} -class TaskExecutionListRequest::HasBitSetters { - public: - static const ::flyteidl::core::NodeExecutionIdentifier& node_execution_id(const TaskExecutionListRequest* msg); - static const ::flyteidl::admin::Sort& sort_by(const TaskExecutionListRequest* msg); -}; - -const ::flyteidl::core::NodeExecutionIdentifier& -TaskExecutionListRequest::HasBitSetters::node_execution_id(const TaskExecutionListRequest* msg) { - return *msg->node_execution_id_; -} -const ::flyteidl::admin::Sort& -TaskExecutionListRequest::HasBitSetters::sort_by(const TaskExecutionListRequest* msg) { - return *msg->sort_by_; -} -void TaskExecutionListRequest::clear_node_execution_id() { - if (GetArenaNoVirtual() == nullptr && node_execution_id_ != nullptr) { - delete node_execution_id_; - } - node_execution_id_ = nullptr; -} -void TaskExecutionListRequest::clear_sort_by() { - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionListRequest::kNodeExecutionIdFieldNumber; -const int TaskExecutionListRequest::kLimitFieldNumber; -const int TaskExecutionListRequest::kTokenFieldNumber; -const int TaskExecutionListRequest::kFiltersFieldNumber; -const int TaskExecutionListRequest::kSortByFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionListRequest::TaskExecutionListRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionListRequest) -} -TaskExecutionListRequest::TaskExecutionListRequest(const TaskExecutionListRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filters().size() > 0) { - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_node_execution_id()) { - node_execution_id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.node_execution_id_); - } else { - node_execution_id_ = nullptr; - } - if (from.has_sort_by()) { - sort_by_ = new ::flyteidl::admin::Sort(*from.sort_by_); - } else { - sort_by_ = nullptr; - } - limit_ = from.limit_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionListRequest) -} - -void TaskExecutionListRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionListRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&node_execution_id_, 0, static_cast( - reinterpret_cast(&limit_) - - reinterpret_cast(&node_execution_id_)) + sizeof(limit_)); -} - -TaskExecutionListRequest::~TaskExecutionListRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionListRequest) - SharedDtor(); -} - -void TaskExecutionListRequest::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete node_execution_id_; - if (this != internal_default_instance()) delete sort_by_; -} - -void TaskExecutionListRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionListRequest& TaskExecutionListRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionListRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && node_execution_id_ != nullptr) { - delete node_execution_id_; - } - node_execution_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && sort_by_ != nullptr) { - delete sort_by_; - } - sort_by_ = nullptr; - limit_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionListRequest::_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.NodeExecutionIdentifier node_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::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; - } - // uint32 limit = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionListRequest.token"); - object = msg->mutable_token(); - 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 filters = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionListRequest.filters"); - object = msg->mutable_filters(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Sort::_InternalParse; - object = msg->mutable_sort_by(); - 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 TaskExecutionListRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionListRequest) - 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.NodeExecutionIdentifier node_execution_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_node_execution_id())); - } else { - goto handle_unusual; - } - break; - } - - // uint32 limit = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionListRequest.token")); - } else { - goto handle_unusual; - } - break; - } - - // string filters = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filters())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionListRequest.filters")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.Sort sort_by = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sort_by())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecutionListRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionListRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionListRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - if (this->has_node_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::node_execution_id(this), output); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->limit(), output); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionListRequest.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->token(), output); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionListRequest.filters"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->filters(), output); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::sort_by(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskExecutionListRequest) -} - -::google::protobuf::uint8* TaskExecutionListRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionListRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - if (this->has_node_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::node_execution_id(this), target); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->limit(), target); - } - - // string token = 3; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionListRequest.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->token(), target); - } - - // string filters = 4; - if (this->filters().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filters().data(), static_cast(this->filters().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionListRequest.filters"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->filters(), target); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::sort_by(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskExecutionListRequest) - return target; -} - -size_t TaskExecutionListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionListRequest) - 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 token = 3; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // string filters = 4; - if (this->filters().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filters()); - } - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - if (this->has_node_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *node_execution_id_); - } - - // .flyteidl.admin.Sort sort_by = 5; - if (this->has_sort_by()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *sort_by_); - } - - // uint32 limit = 2; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionListRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionListRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionListRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionListRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionListRequest) - MergeFrom(*source); - } -} - -void TaskExecutionListRequest::MergeFrom(const TaskExecutionListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionListRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.filters().size() > 0) { - - filters_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filters_); - } - if (from.has_node_execution_id()) { - mutable_node_execution_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_execution_id()); - } - if (from.has_sort_by()) { - mutable_sort_by()->::flyteidl::admin::Sort::MergeFrom(from.sort_by()); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } -} - -void TaskExecutionListRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionListRequest::CopyFrom(const TaskExecutionListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionListRequest::IsInitialized() const { - return true; -} - -void TaskExecutionListRequest::Swap(TaskExecutionListRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionListRequest::InternalSwap(TaskExecutionListRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filters_.Swap(&other->filters_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(node_execution_id_, other->node_execution_id_); - swap(sort_by_, other->sort_by_); - swap(limit_, other->limit_); -} - -::google::protobuf::Metadata TaskExecutionListRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecution::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecution_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); - ::flyteidl::admin::_TaskExecution_default_instance_._instance.get_mutable()->closure_ = const_cast< ::flyteidl::admin::TaskExecutionClosure*>( - ::flyteidl::admin::TaskExecutionClosure::internal_default_instance()); -} -class TaskExecution::HasBitSetters { - public: - static const ::flyteidl::core::TaskExecutionIdentifier& id(const TaskExecution* msg); - static const ::flyteidl::admin::TaskExecutionClosure& closure(const TaskExecution* msg); -}; - -const ::flyteidl::core::TaskExecutionIdentifier& -TaskExecution::HasBitSetters::id(const TaskExecution* msg) { - return *msg->id_; -} -const ::flyteidl::admin::TaskExecutionClosure& -TaskExecution::HasBitSetters::closure(const TaskExecution* msg) { - return *msg->closure_; -} -void TaskExecution::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecution::kIdFieldNumber; -const int TaskExecution::kInputUriFieldNumber; -const int TaskExecution::kClosureFieldNumber; -const int TaskExecution::kIsParentFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecution::TaskExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecution) -} -TaskExecution::TaskExecution(const TaskExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.input_uri().size() > 0) { - input_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.input_uri_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_closure()) { - closure_ = new ::flyteidl::admin::TaskExecutionClosure(*from.closure_); - } else { - closure_ = nullptr; - } - is_parent_ = from.is_parent_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecution) -} - -void TaskExecution::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&is_parent_) - - reinterpret_cast(&id_)) + sizeof(is_parent_)); -} - -TaskExecution::~TaskExecution() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecution) - SharedDtor(); -} - -void TaskExecution::SharedDtor() { - input_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete closure_; -} - -void TaskExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecution& TaskExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - input_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; - is_parent_ = false; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecution::_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 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_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 input_uri = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecution.input_uri"); - object = msg->mutable_input_uri(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.TaskExecutionClosure closure = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::TaskExecutionClosure::_InternalParse; - object = msg->mutable_closure(); - 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; - } - // bool is_parent = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_is_parent(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 TaskExecution::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecution) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string input_uri = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_input_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecution.input_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.TaskExecutionClosure closure = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_closure())); - } else { - goto handle_unusual; - } - break; - } - - // bool is_parent = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &is_parent_))); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string input_uri = 2; - if (this->input_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecution.input_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->input_uri(), output); - } - - // .flyteidl.admin.TaskExecutionClosure closure = 3; - if (this->has_closure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::closure(this), output); - } - - // bool is_parent = 4; - if (this->is_parent() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_parent(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskExecution) -} - -::google::protobuf::uint8* TaskExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string input_uri = 2; - if (this->input_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecution.input_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->input_uri(), target); - } - - // .flyteidl.admin.TaskExecutionClosure closure = 3; - if (this->has_closure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::closure(this), target); - } - - // bool is_parent = 4; - if (this->is_parent() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_parent(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskExecution) - return target; -} - -size_t TaskExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecution) - 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 input_uri = 2; - if (this->input_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->input_uri()); - } - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.TaskExecutionClosure closure = 3; - if (this->has_closure()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *closure_); - } - - // bool is_parent = 4; - if (this->is_parent() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecution) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecution) - MergeFrom(*source); - } -} - -void TaskExecution::MergeFrom(const TaskExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecution) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.input_uri().size() > 0) { - - input_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.input_uri_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.id()); - } - if (from.has_closure()) { - mutable_closure()->::flyteidl::admin::TaskExecutionClosure::MergeFrom(from.closure()); - } - if (from.is_parent() != 0) { - set_is_parent(from.is_parent()); - } -} - -void TaskExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecution::CopyFrom(const TaskExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecution::IsInitialized() const { - return true; -} - -void TaskExecution::Swap(TaskExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecution::InternalSwap(TaskExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - input_uri_.Swap(&other->input_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(closure_, other->closure_); - swap(is_parent_, other->is_parent_); -} - -::google::protobuf::Metadata TaskExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionList::InitAsDefaultInstance() { -} -class TaskExecutionList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionList::kTaskExecutionsFieldNumber; -const int TaskExecutionList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionList::TaskExecutionList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionList) -} -TaskExecutionList::TaskExecutionList(const TaskExecutionList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - task_executions_(from.task_executions_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionList) -} - -void TaskExecutionList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionList_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -TaskExecutionList::~TaskExecutionList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionList) - SharedDtor(); -} - -void TaskExecutionList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TaskExecutionList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionList& TaskExecutionList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionList_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - task_executions_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionList::_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.admin.TaskExecution task_executions = 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::admin::TaskExecution::_InternalParse; - object = msg->add_task_executions(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionList.token"); - object = msg->mutable_token(); - 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 TaskExecutionList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionList) - 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.admin.TaskExecution task_executions = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_task_executions())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecutionList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.TaskExecution task_executions = 1; - for (unsigned int i = 0, - n = static_cast(this->task_executions_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->task_executions(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskExecutionList) -} - -::google::protobuf::uint8* TaskExecutionList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.TaskExecution task_executions = 1; - for (unsigned int i = 0, - n = static_cast(this->task_executions_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->task_executions(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskExecutionList) - return target; -} - -size_t TaskExecutionList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionList) - 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.admin.TaskExecution task_executions = 1; - { - unsigned int count = static_cast(this->task_executions_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->task_executions(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionList) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionList) - MergeFrom(*source); - } -} - -void TaskExecutionList::MergeFrom(const TaskExecutionList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - task_executions_.MergeFrom(from.task_executions_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void TaskExecutionList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionList::CopyFrom(const TaskExecutionList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionList::IsInitialized() const { - return true; -} - -void TaskExecutionList::Swap(TaskExecutionList* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionList::InternalSwap(TaskExecutionList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&task_executions_)->InternalSwap(CastToBase(&other->task_executions_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata TaskExecutionList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionClosure::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecutionClosure_default_instance_.output_uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_.error_ = const_cast< ::flyteidl::core::ExecutionError*>( - ::flyteidl::core::ExecutionError::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_.output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_._instance.get_mutable()->started_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_._instance.get_mutable()->duration_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_._instance.get_mutable()->created_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_._instance.get_mutable()->updated_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_._instance.get_mutable()->custom_info_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionClosure_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::event::TaskExecutionMetadata*>( - ::flyteidl::event::TaskExecutionMetadata::internal_default_instance()); -} -class TaskExecutionClosure::HasBitSetters { - public: - static const ::flyteidl::core::ExecutionError& error(const TaskExecutionClosure* msg); - static const ::flyteidl::core::LiteralMap& output_data(const TaskExecutionClosure* msg); - static const ::google::protobuf::Timestamp& started_at(const TaskExecutionClosure* msg); - static const ::google::protobuf::Duration& duration(const TaskExecutionClosure* msg); - static const ::google::protobuf::Timestamp& created_at(const TaskExecutionClosure* msg); - static const ::google::protobuf::Timestamp& updated_at(const TaskExecutionClosure* msg); - static const ::google::protobuf::Struct& custom_info(const TaskExecutionClosure* msg); - static const ::flyteidl::event::TaskExecutionMetadata& metadata(const TaskExecutionClosure* msg); -}; - -const ::flyteidl::core::ExecutionError& -TaskExecutionClosure::HasBitSetters::error(const TaskExecutionClosure* msg) { - return *msg->output_result_.error_; -} -const ::flyteidl::core::LiteralMap& -TaskExecutionClosure::HasBitSetters::output_data(const TaskExecutionClosure* msg) { - return *msg->output_result_.output_data_; -} -const ::google::protobuf::Timestamp& -TaskExecutionClosure::HasBitSetters::started_at(const TaskExecutionClosure* msg) { - return *msg->started_at_; -} -const ::google::protobuf::Duration& -TaskExecutionClosure::HasBitSetters::duration(const TaskExecutionClosure* msg) { - return *msg->duration_; -} -const ::google::protobuf::Timestamp& -TaskExecutionClosure::HasBitSetters::created_at(const TaskExecutionClosure* msg) { - return *msg->created_at_; -} -const ::google::protobuf::Timestamp& -TaskExecutionClosure::HasBitSetters::updated_at(const TaskExecutionClosure* msg) { - return *msg->updated_at_; -} -const ::google::protobuf::Struct& -TaskExecutionClosure::HasBitSetters::custom_info(const TaskExecutionClosure* msg) { - return *msg->custom_info_; -} -const ::flyteidl::event::TaskExecutionMetadata& -TaskExecutionClosure::HasBitSetters::metadata(const TaskExecutionClosure* msg) { - return *msg->metadata_; -} -void TaskExecutionClosure::set_allocated_error(::flyteidl::core::ExecutionError* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - output_result_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.error) -} -void TaskExecutionClosure::clear_error() { - if (has_error()) { - delete output_result_.error_; - clear_has_output_result(); - } -} -void TaskExecutionClosure::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - set_has_output_data(); - output_result_.output_data_ = output_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.output_data) -} -void TaskExecutionClosure::clear_output_data() { - if (has_output_data()) { - delete output_result_.output_data_; - clear_has_output_result(); - } -} -void TaskExecutionClosure::clear_logs() { - logs_.Clear(); -} -void TaskExecutionClosure::clear_started_at() { - if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { - delete started_at_; - } - started_at_ = nullptr; -} -void TaskExecutionClosure::clear_duration() { - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; -} -void TaskExecutionClosure::clear_created_at() { - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; -} -void TaskExecutionClosure::clear_updated_at() { - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; -} -void TaskExecutionClosure::clear_custom_info() { - if (GetArenaNoVirtual() == nullptr && custom_info_ != nullptr) { - delete custom_info_; - } - custom_info_ = nullptr; -} -void TaskExecutionClosure::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionClosure::kOutputUriFieldNumber; -const int TaskExecutionClosure::kErrorFieldNumber; -const int TaskExecutionClosure::kOutputDataFieldNumber; -const int TaskExecutionClosure::kPhaseFieldNumber; -const int TaskExecutionClosure::kLogsFieldNumber; -const int TaskExecutionClosure::kStartedAtFieldNumber; -const int TaskExecutionClosure::kDurationFieldNumber; -const int TaskExecutionClosure::kCreatedAtFieldNumber; -const int TaskExecutionClosure::kUpdatedAtFieldNumber; -const int TaskExecutionClosure::kCustomInfoFieldNumber; -const int TaskExecutionClosure::kReasonFieldNumber; -const int TaskExecutionClosure::kTaskTypeFieldNumber; -const int TaskExecutionClosure::kMetadataFieldNumber; -const int TaskExecutionClosure::kEventVersionFieldNumber; -const int TaskExecutionClosure::kReasonsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionClosure::TaskExecutionClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionClosure) -} -TaskExecutionClosure::TaskExecutionClosure(const TaskExecutionClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - logs_(from.logs_), - reasons_(from.reasons_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - reason_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.reason().size() > 0) { - reason_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_); - } - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.has_started_at()) { - started_at_ = new ::google::protobuf::Timestamp(*from.started_at_); - } else { - started_at_ = nullptr; - } - if (from.has_duration()) { - duration_ = new ::google::protobuf::Duration(*from.duration_); - } else { - duration_ = nullptr; - } - if (from.has_created_at()) { - created_at_ = new ::google::protobuf::Timestamp(*from.created_at_); - } else { - created_at_ = nullptr; - } - if (from.has_updated_at()) { - updated_at_ = new ::google::protobuf::Timestamp(*from.updated_at_); - } else { - updated_at_ = nullptr; - } - if (from.has_custom_info()) { - custom_info_ = new ::google::protobuf::Struct(*from.custom_info_); - } else { - custom_info_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::event::TaskExecutionMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - ::memcpy(&phase_, &from.phase_, - static_cast(reinterpret_cast(&event_version_) - - reinterpret_cast(&phase_)) + sizeof(event_version_)); - clear_has_output_result(); - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionClosure) -} - -void TaskExecutionClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - reason_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&started_at_, 0, static_cast( - reinterpret_cast(&event_version_) - - reinterpret_cast(&started_at_)) + sizeof(event_version_)); - clear_has_output_result(); -} - -TaskExecutionClosure::~TaskExecutionClosure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionClosure) - SharedDtor(); -} - -void TaskExecutionClosure::SharedDtor() { - reason_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete started_at_; - if (this != internal_default_instance()) delete duration_; - if (this != internal_default_instance()) delete created_at_; - if (this != internal_default_instance()) delete updated_at_; - if (this != internal_default_instance()) delete custom_info_; - if (this != internal_default_instance()) delete metadata_; - if (has_output_result()) { - clear_output_result(); - } -} - -void TaskExecutionClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionClosure& TaskExecutionClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionClosure::clear_output_result() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.TaskExecutionClosure) - switch (output_result_case()) { - case kOutputUri: { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kError: { - delete output_result_.error_; - break; - } - case kOutputData: { - delete output_result_.output_data_; - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} - - -void TaskExecutionClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - logs_.Clear(); - reasons_.Clear(); - reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { - delete started_at_; - } - started_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && updated_at_ != nullptr) { - delete updated_at_; - } - updated_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && custom_info_ != nullptr) { - delete custom_info_; - } - custom_info_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - ::memset(&phase_, 0, static_cast( - reinterpret_cast(&event_version_) - - reinterpret_cast(&phase_)) + sizeof(event_version_)); - clear_output_result(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionClosure::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string output_uri = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionClosure.output_uri"); - object = msg->mutable_output_uri(); - 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.ExecutionError error = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExecutionError::_InternalParse; - object = msg->mutable_error(); - 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.TaskExecution.Phase phase = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::TaskExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // repeated .flyteidl.core.TaskLog logs = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskLog::_InternalParse; - object = msg->add_logs(); - 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) == 34 && (ptr += 1)); - break; - } - // .google.protobuf.Timestamp started_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_started_at(); - 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; - } - // .google.protobuf.Duration duration = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_duration(); - 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; - } - // .google.protobuf.Timestamp created_at = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_created_at(); - 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; - } - // .google.protobuf.Timestamp updated_at = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_updated_at(); - 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; - } - // .google.protobuf.Struct custom_info = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_custom_info(); - 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 reason = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionClosure.reason"); - object = msg->mutable_reason(); - 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 task_type = 11; - case 11: { - if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.TaskExecutionClosure.task_type"); - object = msg->mutable_task_type(); - 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.LiteralMap output_data = 12 [deprecated = true]; - case 12: { - if (static_cast<::google::protobuf::uint8>(tag) != 98) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - 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.event.TaskExecutionMetadata metadata = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::TaskExecutionMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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; - } - // int32 event_version = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 136) goto handle_unusual; - msg->set_event_version(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // repeated .flyteidl.admin.Reason reasons = 18; - case 18: { - if (static_cast<::google::protobuf::uint8>(tag) != 146) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Reason::_InternalParse; - object = msg->add_reasons(); - 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) & 65535) == 402 && (ptr += 2)); - 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 TaskExecutionClosure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionClosure) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string output_uri = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionClosure.output_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError error = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskExecution.Phase phase = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::TaskExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.TaskLog logs = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_logs())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp started_at = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_started_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration duration = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_duration())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp created_at = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_created_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp updated_at = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_updated_at())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct custom_info = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_custom_info())); - } else { - goto handle_unusual; - } - break; - } - - // string reason = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_reason())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionClosure.reason")); - } else { - goto handle_unusual; - } - break; - } - - // string task_type = 11; - case 11: { - if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.TaskExecutionClosure.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - case 12: { - if (static_cast< ::google::protobuf::uint8>(tag) == (98 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // int32 event_version = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (136 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &event_version_))); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.admin.Reason reasons = 18; - case 18: { - if (static_cast< ::google::protobuf::uint8>(tag) == (146 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_reasons())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecutionClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string output_uri = 1 [deprecated = true]; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionClosure.output_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->output_uri(), output); - } - - // .flyteidl.core.ExecutionError error = 2; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::error(this), output); - } - - // .flyteidl.core.TaskExecution.Phase phase = 3; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->phase(), output); - } - - // repeated .flyteidl.core.TaskLog logs = 4; - for (unsigned int i = 0, - n = static_cast(this->logs_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, - this->logs(static_cast(i)), - output); - } - - // .google.protobuf.Timestamp started_at = 5; - if (this->has_started_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::started_at(this), output); - } - - // .google.protobuf.Duration duration = 6; - if (this->has_duration()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::duration(this), output); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::created_at(this), output); - } - - // .google.protobuf.Timestamp updated_at = 8; - if (this->has_updated_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::updated_at(this), output); - } - - // .google.protobuf.Struct custom_info = 9; - if (this->has_custom_info()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::custom_info(this), output); - } - - // string reason = 10; - if (this->reason().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionClosure.reason"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 10, this->reason(), output); - } - - // string task_type = 11; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionClosure.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 11, this->task_type(), output); - } - - // .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - if (has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 12, HasBitSetters::output_data(this), output); - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 16, HasBitSetters::metadata(this), output); - } - - // int32 event_version = 17; - if (this->event_version() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->event_version(), output); - } - - // repeated .flyteidl.admin.Reason reasons = 18; - for (unsigned int i = 0, - n = static_cast(this->reasons_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 18, - this->reasons(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.admin.TaskExecutionClosure) -} - -::google::protobuf::uint8* TaskExecutionClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string output_uri = 1 [deprecated = true]; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionClosure.output_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->output_uri(), target); - } - - // .flyteidl.core.ExecutionError error = 2; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::error(this), target); - } - - // .flyteidl.core.TaskExecution.Phase phase = 3; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->phase(), target); - } - - // repeated .flyteidl.core.TaskLog logs = 4; - for (unsigned int i = 0, - n = static_cast(this->logs_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->logs(static_cast(i)), target); - } - - // .google.protobuf.Timestamp started_at = 5; - if (this->has_started_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::started_at(this), target); - } - - // .google.protobuf.Duration duration = 6; - if (this->has_duration()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::duration(this), target); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::created_at(this), target); - } - - // .google.protobuf.Timestamp updated_at = 8; - if (this->has_updated_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::updated_at(this), target); - } - - // .google.protobuf.Struct custom_info = 9; - if (this->has_custom_info()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::custom_info(this), target); - } - - // string reason = 10; - if (this->reason().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionClosure.reason"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 10, this->reason(), target); - } - - // string task_type = 11; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.TaskExecutionClosure.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 11, this->task_type(), target); - } - - // .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - if (has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 12, HasBitSetters::output_data(this), target); - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 16, HasBitSetters::metadata(this), target); - } - - // int32 event_version = 17; - if (this->event_version() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->event_version(), target); - } - - // repeated .flyteidl.admin.Reason reasons = 18; - for (unsigned int i = 0, - n = static_cast(this->reasons_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 18, this->reasons(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.admin.TaskExecutionClosure) - return target; -} - -size_t TaskExecutionClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionClosure) - 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.TaskLog logs = 4; - { - unsigned int count = static_cast(this->logs_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->logs(static_cast(i))); - } - } - - // repeated .flyteidl.admin.Reason reasons = 18; - { - unsigned int count = static_cast(this->reasons_size()); - total_size += 2UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->reasons(static_cast(i))); - } - } - - // string reason = 10; - if (this->reason().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->reason()); - } - - // string task_type = 11; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // .google.protobuf.Timestamp started_at = 5; - if (this->has_started_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *started_at_); - } - - // .google.protobuf.Duration duration = 6; - if (this->has_duration()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *duration_); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *created_at_); - } - - // .google.protobuf.Timestamp updated_at = 8; - if (this->has_updated_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *updated_at_); - } - - // .google.protobuf.Struct custom_info = 9; - if (this->has_custom_info()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *custom_info_); - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - if (this->has_metadata()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .flyteidl.core.TaskExecution.Phase phase = 3; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - // int32 event_version = 17; - if (this->event_version() != 0) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->event_version()); - } - - switch (output_result_case()) { - // string output_uri = 1 [deprecated = true]; - case kOutputUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_uri()); - break; - } - // .flyteidl.core.ExecutionError error = 2; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.error_); - break; - } - // .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - case kOutputData: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.output_data_); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionClosure) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionClosure) - MergeFrom(*source); - } -} - -void TaskExecutionClosure::MergeFrom(const TaskExecutionClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionClosure) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - logs_.MergeFrom(from.logs_); - reasons_.MergeFrom(from.reasons_); - if (from.reason().size() > 0) { - - reason_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_); - } - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.has_started_at()) { - mutable_started_at()->::google::protobuf::Timestamp::MergeFrom(from.started_at()); - } - if (from.has_duration()) { - mutable_duration()->::google::protobuf::Duration::MergeFrom(from.duration()); - } - if (from.has_created_at()) { - mutable_created_at()->::google::protobuf::Timestamp::MergeFrom(from.created_at()); - } - if (from.has_updated_at()) { - mutable_updated_at()->::google::protobuf::Timestamp::MergeFrom(from.updated_at()); - } - if (from.has_custom_info()) { - mutable_custom_info()->::google::protobuf::Struct::MergeFrom(from.custom_info()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::event::TaskExecutionMetadata::MergeFrom(from.metadata()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } - if (from.event_version() != 0) { - set_event_version(from.event_version()); - } - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } -} - -void TaskExecutionClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionClosure::CopyFrom(const TaskExecutionClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionClosure::IsInitialized() const { - return true; -} - -void TaskExecutionClosure::Swap(TaskExecutionClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionClosure::InternalSwap(TaskExecutionClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&logs_)->InternalSwap(CastToBase(&other->logs_)); - CastToBase(&reasons_)->InternalSwap(CastToBase(&other->reasons_)); - reason_.Swap(&other->reason_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(started_at_, other->started_at_); - swap(duration_, other->duration_); - swap(created_at_, other->created_at_); - swap(updated_at_, other->updated_at_); - swap(custom_info_, other->custom_info_); - swap(metadata_, other->metadata_); - swap(phase_, other->phase_); - swap(event_version_, other->event_version_); - swap(output_result_, other->output_result_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata TaskExecutionClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Reason::InitAsDefaultInstance() { - ::flyteidl::admin::_Reason_default_instance_._instance.get_mutable()->occurred_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class Reason::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& occurred_at(const Reason* msg); -}; - -const ::google::protobuf::Timestamp& -Reason::HasBitSetters::occurred_at(const Reason* msg) { - return *msg->occurred_at_; -} -void Reason::clear_occurred_at() { - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Reason::kOccurredAtFieldNumber; -const int Reason::kMessageFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Reason::Reason() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Reason) -} -Reason::Reason(const Reason& 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_occurred_at()) { - occurred_at_ = new ::google::protobuf::Timestamp(*from.occurred_at_); - } else { - occurred_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Reason) -} - -void Reason::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - occurred_at_ = nullptr; -} - -Reason::~Reason() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Reason) - SharedDtor(); -} - -void Reason::SharedDtor() { - message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete occurred_at_; -} - -void Reason::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Reason& Reason::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void Reason::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Reason) - ::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 && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Reason::_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) { - // .google.protobuf.Timestamp occurred_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_occurred_at(); - 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 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.admin.Reason.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; - } - 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 Reason::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Reason) - 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)) { - // .google.protobuf.Timestamp occurred_at = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_occurred_at())); - } 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.admin.Reason.message")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Reason) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Reason) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Reason::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Reason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Timestamp occurred_at = 1; - if (this->has_occurred_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::occurred_at(this), 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.admin.Reason.message"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->message(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Reason) -} - -::google::protobuf::uint8* Reason::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Reason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Timestamp occurred_at = 1; - if (this->has_occurred_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::occurred_at(this), 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.admin.Reason.message"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->message(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Reason) - return target; -} - -size_t Reason::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Reason) - 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()); - } - - // .google.protobuf.Timestamp occurred_at = 1; - if (this->has_occurred_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *occurred_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Reason::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Reason) - GOOGLE_DCHECK_NE(&from, this); - const Reason* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Reason) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Reason) - MergeFrom(*source); - } -} - -void Reason::MergeFrom(const Reason& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Reason) - 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_occurred_at()) { - mutable_occurred_at()->::google::protobuf::Timestamp::MergeFrom(from.occurred_at()); - } -} - -void Reason::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Reason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Reason::CopyFrom(const Reason& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Reason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Reason::IsInitialized() const { - return true; -} - -void Reason::Swap(Reason* other) { - if (other == this) return; - InternalSwap(other); -} -void Reason::InternalSwap(Reason* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - message_.Swap(&other->message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(occurred_at_, other->occurred_at_); -} - -::google::protobuf::Metadata Reason::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionGetDataRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecutionGetDataRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); -} -class TaskExecutionGetDataRequest::HasBitSetters { - public: - static const ::flyteidl::core::TaskExecutionIdentifier& id(const TaskExecutionGetDataRequest* msg); -}; - -const ::flyteidl::core::TaskExecutionIdentifier& -TaskExecutionGetDataRequest::HasBitSetters::id(const TaskExecutionGetDataRequest* msg) { - return *msg->id_; -} -void TaskExecutionGetDataRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionGetDataRequest::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionGetDataRequest::TaskExecutionGetDataRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionGetDataRequest) -} -TaskExecutionGetDataRequest::TaskExecutionGetDataRequest(const TaskExecutionGetDataRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionGetDataRequest) -} - -void TaskExecutionGetDataRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - id_ = nullptr; -} - -TaskExecutionGetDataRequest::~TaskExecutionGetDataRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionGetDataRequest) - SharedDtor(); -} - -void TaskExecutionGetDataRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void TaskExecutionGetDataRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionGetDataRequest& TaskExecutionGetDataRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionGetDataRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionGetDataRequest::_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 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_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 TaskExecutionGetDataRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionGetDataRequest) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.TaskExecutionGetDataRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionGetDataRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionGetDataRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.TaskExecutionGetDataRequest) -} - -::google::protobuf::uint8* TaskExecutionGetDataRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionGetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.TaskExecutionGetDataRequest) - return target; -} - -size_t TaskExecutionGetDataRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionGetDataRequest) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionGetDataRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionGetDataRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionGetDataRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionGetDataRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionGetDataRequest) - MergeFrom(*source); - } -} - -void TaskExecutionGetDataRequest::MergeFrom(const TaskExecutionGetDataRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionGetDataRequest) - 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_id()) { - mutable_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.id()); - } -} - -void TaskExecutionGetDataRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionGetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionGetDataRequest::CopyFrom(const TaskExecutionGetDataRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionGetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionGetDataRequest::IsInitialized() const { - return true; -} - -void TaskExecutionGetDataRequest::Swap(TaskExecutionGetDataRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionGetDataRequest::InternalSwap(TaskExecutionGetDataRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata TaskExecutionGetDataRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionGetDataResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::admin::UrlBlob*>( - ::flyteidl::admin::UrlBlob::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::admin::UrlBlob*>( - ::flyteidl::admin::UrlBlob::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_._instance.get_mutable()->full_inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_._instance.get_mutable()->full_outputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_._instance.get_mutable()->flyte_urls_ = const_cast< ::flyteidl::admin::FlyteURLs*>( - ::flyteidl::admin::FlyteURLs::internal_default_instance()); -} -class TaskExecutionGetDataResponse::HasBitSetters { - public: - static const ::flyteidl::admin::UrlBlob& inputs(const TaskExecutionGetDataResponse* msg); - static const ::flyteidl::admin::UrlBlob& outputs(const TaskExecutionGetDataResponse* msg); - static const ::flyteidl::core::LiteralMap& full_inputs(const TaskExecutionGetDataResponse* msg); - static const ::flyteidl::core::LiteralMap& full_outputs(const TaskExecutionGetDataResponse* msg); - static const ::flyteidl::admin::FlyteURLs& flyte_urls(const TaskExecutionGetDataResponse* msg); -}; - -const ::flyteidl::admin::UrlBlob& -TaskExecutionGetDataResponse::HasBitSetters::inputs(const TaskExecutionGetDataResponse* msg) { - return *msg->inputs_; -} -const ::flyteidl::admin::UrlBlob& -TaskExecutionGetDataResponse::HasBitSetters::outputs(const TaskExecutionGetDataResponse* msg) { - return *msg->outputs_; -} -const ::flyteidl::core::LiteralMap& -TaskExecutionGetDataResponse::HasBitSetters::full_inputs(const TaskExecutionGetDataResponse* msg) { - return *msg->full_inputs_; -} -const ::flyteidl::core::LiteralMap& -TaskExecutionGetDataResponse::HasBitSetters::full_outputs(const TaskExecutionGetDataResponse* msg) { - return *msg->full_outputs_; -} -const ::flyteidl::admin::FlyteURLs& -TaskExecutionGetDataResponse::HasBitSetters::flyte_urls(const TaskExecutionGetDataResponse* msg) { - return *msg->flyte_urls_; -} -void TaskExecutionGetDataResponse::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -void TaskExecutionGetDataResponse::clear_outputs() { - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; -} -void TaskExecutionGetDataResponse::clear_full_inputs() { - if (GetArenaNoVirtual() == nullptr && full_inputs_ != nullptr) { - delete full_inputs_; - } - full_inputs_ = nullptr; -} -void TaskExecutionGetDataResponse::clear_full_outputs() { - if (GetArenaNoVirtual() == nullptr && full_outputs_ != nullptr) { - delete full_outputs_; - } - full_outputs_ = nullptr; -} -void TaskExecutionGetDataResponse::clear_flyte_urls() { - if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { - delete flyte_urls_; - } - flyte_urls_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionGetDataResponse::kInputsFieldNumber; -const int TaskExecutionGetDataResponse::kOutputsFieldNumber; -const int TaskExecutionGetDataResponse::kFullInputsFieldNumber; -const int TaskExecutionGetDataResponse::kFullOutputsFieldNumber; -const int TaskExecutionGetDataResponse::kFlyteUrlsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionGetDataResponse::TaskExecutionGetDataResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.TaskExecutionGetDataResponse) -} -TaskExecutionGetDataResponse::TaskExecutionGetDataResponse(const TaskExecutionGetDataResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_inputs()) { - inputs_ = new ::flyteidl::admin::UrlBlob(*from.inputs_); - } else { - inputs_ = nullptr; - } - if (from.has_outputs()) { - outputs_ = new ::flyteidl::admin::UrlBlob(*from.outputs_); - } else { - outputs_ = nullptr; - } - if (from.has_full_inputs()) { - full_inputs_ = new ::flyteidl::core::LiteralMap(*from.full_inputs_); - } else { - full_inputs_ = nullptr; - } - if (from.has_full_outputs()) { - full_outputs_ = new ::flyteidl::core::LiteralMap(*from.full_outputs_); - } else { - full_outputs_ = nullptr; - } - if (from.has_flyte_urls()) { - flyte_urls_ = new ::flyteidl::admin::FlyteURLs(*from.flyte_urls_); - } else { - flyte_urls_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionGetDataResponse) -} - -void TaskExecutionGetDataResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - ::memset(&inputs_, 0, static_cast( - reinterpret_cast(&flyte_urls_) - - reinterpret_cast(&inputs_)) + sizeof(flyte_urls_)); -} - -TaskExecutionGetDataResponse::~TaskExecutionGetDataResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.TaskExecutionGetDataResponse) - SharedDtor(); -} - -void TaskExecutionGetDataResponse::SharedDtor() { - if (this != internal_default_instance()) delete inputs_; - if (this != internal_default_instance()) delete outputs_; - if (this != internal_default_instance()) delete full_inputs_; - if (this != internal_default_instance()) delete full_outputs_; - if (this != internal_default_instance()) delete flyte_urls_; -} - -void TaskExecutionGetDataResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionGetDataResponse& TaskExecutionGetDataResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionGetDataResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && full_inputs_ != nullptr) { - delete full_inputs_; - } - full_inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && full_outputs_ != nullptr) { - delete full_outputs_; - } - full_outputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { - delete flyte_urls_; - } - flyte_urls_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionGetDataResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::UrlBlob::_InternalParse; - object = msg->mutable_inputs(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::UrlBlob::_InternalParse; - object = msg->mutable_outputs(); - 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.LiteralMap full_inputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_full_inputs(); - 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.LiteralMap full_outputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_full_outputs(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.FlyteURLs flyte_urls = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::FlyteURLs::_InternalParse; - object = msg->mutable_flyte_urls(); - 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 TaskExecutionGetDataResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.TaskExecutionGetDataResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_full_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_full_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_flyte_urls())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.TaskExecutionGetDataResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskExecutionGetDataResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionGetDataResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::inputs(this), output); - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - if (this->has_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::outputs(this), output); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::full_inputs(this), output); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::full_outputs(this), output); - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 5; - if (this->has_flyte_urls()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::flyte_urls(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskExecutionGetDataResponse) -} - -::google::protobuf::uint8* TaskExecutionGetDataResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskExecutionGetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::inputs(this), target); - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - if (this->has_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::outputs(this), target); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::full_inputs(this), target); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::full_outputs(this), target); - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 5; - if (this->has_flyte_urls()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::flyte_urls(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.TaskExecutionGetDataResponse) - return target; -} - -size_t TaskExecutionGetDataResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskExecutionGetDataResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - if (this->has_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *outputs_); - } - - // .flyteidl.core.LiteralMap full_inputs = 3; - if (this->has_full_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *full_inputs_); - } - - // .flyteidl.core.LiteralMap full_outputs = 4; - if (this->has_full_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *full_outputs_); - } - - // .flyteidl.admin.FlyteURLs flyte_urls = 5; - if (this->has_flyte_urls()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *flyte_urls_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionGetDataResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskExecutionGetDataResponse) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionGetDataResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskExecutionGetDataResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskExecutionGetDataResponse) - MergeFrom(*source); - } -} - -void TaskExecutionGetDataResponse::MergeFrom(const TaskExecutionGetDataResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskExecutionGetDataResponse) - 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_inputs()) { - mutable_inputs()->::flyteidl::admin::UrlBlob::MergeFrom(from.inputs()); - } - if (from.has_outputs()) { - mutable_outputs()->::flyteidl::admin::UrlBlob::MergeFrom(from.outputs()); - } - if (from.has_full_inputs()) { - mutable_full_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.full_inputs()); - } - if (from.has_full_outputs()) { - mutable_full_outputs()->::flyteidl::core::LiteralMap::MergeFrom(from.full_outputs()); - } - if (from.has_flyte_urls()) { - mutable_flyte_urls()->::flyteidl::admin::FlyteURLs::MergeFrom(from.flyte_urls()); - } -} - -void TaskExecutionGetDataResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskExecutionGetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionGetDataResponse::CopyFrom(const TaskExecutionGetDataResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskExecutionGetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionGetDataResponse::IsInitialized() const { - return true; -} - -void TaskExecutionGetDataResponse::Swap(TaskExecutionGetDataResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionGetDataResponse::InternalSwap(TaskExecutionGetDataResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(inputs_, other->inputs_); - swap(outputs_, other->outputs_); - swap(full_inputs_, other->full_inputs_); - swap(full_outputs_, other->full_outputs_); - swap(flyte_urls_, other->flyte_urls_); -} - -::google::protobuf::Metadata TaskExecutionGetDataResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionListRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionListRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecution* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionList* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionClosure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Reason* Arena::CreateMaybeMessage< ::flyteidl::admin::Reason >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Reason >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionGetDataRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionGetDataRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionGetDataRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionGetDataResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionGetDataResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionGetDataResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.h deleted file mode 100644 index f792f0bb96..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.h +++ /dev/null @@ -1,2924 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/task_execution.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2ftask_5fexecution_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2ftask_5fexecution_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/admin/common.pb.h" -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/event/event.pb.h" -#include -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2ftask_5fexecution_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[8] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto(); -namespace flyteidl { -namespace admin { -class Reason; -class ReasonDefaultTypeInternal; -extern ReasonDefaultTypeInternal _Reason_default_instance_; -class TaskExecution; -class TaskExecutionDefaultTypeInternal; -extern TaskExecutionDefaultTypeInternal _TaskExecution_default_instance_; -class TaskExecutionClosure; -class TaskExecutionClosureDefaultTypeInternal; -extern TaskExecutionClosureDefaultTypeInternal _TaskExecutionClosure_default_instance_; -class TaskExecutionGetDataRequest; -class TaskExecutionGetDataRequestDefaultTypeInternal; -extern TaskExecutionGetDataRequestDefaultTypeInternal _TaskExecutionGetDataRequest_default_instance_; -class TaskExecutionGetDataResponse; -class TaskExecutionGetDataResponseDefaultTypeInternal; -extern TaskExecutionGetDataResponseDefaultTypeInternal _TaskExecutionGetDataResponse_default_instance_; -class TaskExecutionGetRequest; -class TaskExecutionGetRequestDefaultTypeInternal; -extern TaskExecutionGetRequestDefaultTypeInternal _TaskExecutionGetRequest_default_instance_; -class TaskExecutionList; -class TaskExecutionListDefaultTypeInternal; -extern TaskExecutionListDefaultTypeInternal _TaskExecutionList_default_instance_; -class TaskExecutionListRequest; -class TaskExecutionListRequestDefaultTypeInternal; -extern TaskExecutionListRequestDefaultTypeInternal _TaskExecutionListRequest_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::Reason* Arena::CreateMaybeMessage<::flyteidl::admin::Reason>(Arena*); -template<> ::flyteidl::admin::TaskExecution* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecution>(Arena*); -template<> ::flyteidl::admin::TaskExecutionClosure* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionClosure>(Arena*); -template<> ::flyteidl::admin::TaskExecutionGetDataRequest* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionGetDataRequest>(Arena*); -template<> ::flyteidl::admin::TaskExecutionGetDataResponse* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionGetDataResponse>(Arena*); -template<> ::flyteidl::admin::TaskExecutionGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionGetRequest>(Arena*); -template<> ::flyteidl::admin::TaskExecutionList* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionList>(Arena*); -template<> ::flyteidl::admin::TaskExecutionListRequest* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionListRequest>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class TaskExecutionGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionGetRequest) */ { - public: - TaskExecutionGetRequest(); - virtual ~TaskExecutionGetRequest(); - - TaskExecutionGetRequest(const TaskExecutionGetRequest& from); - - inline TaskExecutionGetRequest& operator=(const TaskExecutionGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionGetRequest(TaskExecutionGetRequest&& from) noexcept - : TaskExecutionGetRequest() { - *this = ::std::move(from); - } - - inline TaskExecutionGetRequest& operator=(TaskExecutionGetRequest&& 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 TaskExecutionGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionGetRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(TaskExecutionGetRequest* other); - friend void swap(TaskExecutionGetRequest& a, TaskExecutionGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionGetRequest* 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 TaskExecutionGetRequest& from); - void MergeFrom(const TaskExecutionGetRequest& 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(TaskExecutionGetRequest* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::TaskExecutionIdentifier& id() const; - ::flyteidl::core::TaskExecutionIdentifier* release_id(); - ::flyteidl::core::TaskExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::TaskExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionListRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionListRequest) */ { - public: - TaskExecutionListRequest(); - virtual ~TaskExecutionListRequest(); - - TaskExecutionListRequest(const TaskExecutionListRequest& from); - - inline TaskExecutionListRequest& operator=(const TaskExecutionListRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionListRequest(TaskExecutionListRequest&& from) noexcept - : TaskExecutionListRequest() { - *this = ::std::move(from); - } - - inline TaskExecutionListRequest& operator=(TaskExecutionListRequest&& 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 TaskExecutionListRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionListRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(TaskExecutionListRequest* other); - friend void swap(TaskExecutionListRequest& a, TaskExecutionListRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionListRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionListRequest* 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 TaskExecutionListRequest& from); - void MergeFrom(const TaskExecutionListRequest& 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(TaskExecutionListRequest* 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 token = 3; - void clear_token(); - static const int kTokenFieldNumber = 3; - 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); - - // string filters = 4; - void clear_filters(); - static const int kFiltersFieldNumber = 4; - const ::std::string& filters() const; - void set_filters(const ::std::string& value); - #if LANG_CXX11 - void set_filters(::std::string&& value); - #endif - void set_filters(const char* value); - void set_filters(const char* value, size_t size); - ::std::string* mutable_filters(); - ::std::string* release_filters(); - void set_allocated_filters(::std::string* filters); - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - bool has_node_execution_id() const; - void clear_node_execution_id(); - static const int kNodeExecutionIdFieldNumber = 1; - 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.admin.Sort sort_by = 5; - bool has_sort_by() const; - void clear_sort_by(); - static const int kSortByFieldNumber = 5; - const ::flyteidl::admin::Sort& sort_by() const; - ::flyteidl::admin::Sort* release_sort_by(); - ::flyteidl::admin::Sort* mutable_sort_by(); - void set_allocated_sort_by(::flyteidl::admin::Sort* sort_by); - - // uint32 limit = 2; - void clear_limit(); - static const int kLimitFieldNumber = 2; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionListRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::internal::ArenaStringPtr filters_; - ::flyteidl::core::NodeExecutionIdentifier* node_execution_id_; - ::flyteidl::admin::Sort* sort_by_; - ::google::protobuf::uint32 limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecution) */ { - public: - TaskExecution(); - virtual ~TaskExecution(); - - TaskExecution(const TaskExecution& from); - - inline TaskExecution& operator=(const TaskExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecution(TaskExecution&& from) noexcept - : TaskExecution() { - *this = ::std::move(from); - } - - inline TaskExecution& operator=(TaskExecution&& 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 TaskExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecution* internal_default_instance() { - return reinterpret_cast( - &_TaskExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(TaskExecution* other); - friend void swap(TaskExecution& a, TaskExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecution* 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 TaskExecution& from); - void MergeFrom(const TaskExecution& 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(TaskExecution* 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 input_uri = 2; - void clear_input_uri(); - static const int kInputUriFieldNumber = 2; - const ::std::string& input_uri() const; - void set_input_uri(const ::std::string& value); - #if LANG_CXX11 - void set_input_uri(::std::string&& value); - #endif - void set_input_uri(const char* value); - void set_input_uri(const char* value, size_t size); - ::std::string* mutable_input_uri(); - ::std::string* release_input_uri(); - void set_allocated_input_uri(::std::string* input_uri); - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::TaskExecutionIdentifier& id() const; - ::flyteidl::core::TaskExecutionIdentifier* release_id(); - ::flyteidl::core::TaskExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id); - - // .flyteidl.admin.TaskExecutionClosure closure = 3; - bool has_closure() const; - void clear_closure(); - static const int kClosureFieldNumber = 3; - const ::flyteidl::admin::TaskExecutionClosure& closure() const; - ::flyteidl::admin::TaskExecutionClosure* release_closure(); - ::flyteidl::admin::TaskExecutionClosure* mutable_closure(); - void set_allocated_closure(::flyteidl::admin::TaskExecutionClosure* closure); - - // bool is_parent = 4; - void clear_is_parent(); - static const int kIsParentFieldNumber = 4; - bool is_parent() const; - void set_is_parent(bool value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr input_uri_; - ::flyteidl::core::TaskExecutionIdentifier* id_; - ::flyteidl::admin::TaskExecutionClosure* closure_; - bool is_parent_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionList) */ { - public: - TaskExecutionList(); - virtual ~TaskExecutionList(); - - TaskExecutionList(const TaskExecutionList& from); - - inline TaskExecutionList& operator=(const TaskExecutionList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionList(TaskExecutionList&& from) noexcept - : TaskExecutionList() { - *this = ::std::move(from); - } - - inline TaskExecutionList& operator=(TaskExecutionList&& 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 TaskExecutionList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionList* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TaskExecutionList* other); - friend void swap(TaskExecutionList& a, TaskExecutionList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionList* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionList* 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 TaskExecutionList& from); - void MergeFrom(const TaskExecutionList& 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(TaskExecutionList* 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.admin.TaskExecution task_executions = 1; - int task_executions_size() const; - void clear_task_executions(); - static const int kTaskExecutionsFieldNumber = 1; - ::flyteidl::admin::TaskExecution* mutable_task_executions(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::TaskExecution >* - mutable_task_executions(); - const ::flyteidl::admin::TaskExecution& task_executions(int index) const; - ::flyteidl::admin::TaskExecution* add_task_executions(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::TaskExecution >& - task_executions() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::TaskExecution > task_executions_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionClosure) */ { - public: - TaskExecutionClosure(); - virtual ~TaskExecutionClosure(); - - TaskExecutionClosure(const TaskExecutionClosure& from); - - inline TaskExecutionClosure& operator=(const TaskExecutionClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionClosure(TaskExecutionClosure&& from) noexcept - : TaskExecutionClosure() { - *this = ::std::move(from); - } - - inline TaskExecutionClosure& operator=(TaskExecutionClosure&& 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 TaskExecutionClosure& default_instance(); - - enum OutputResultCase { - kOutputUri = 1, - kError = 2, - kOutputData = 12, - OUTPUT_RESULT_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionClosure* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(TaskExecutionClosure* other); - friend void swap(TaskExecutionClosure& a, TaskExecutionClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionClosure* 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 TaskExecutionClosure& from); - void MergeFrom(const TaskExecutionClosure& 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(TaskExecutionClosure* 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.TaskLog logs = 4; - int logs_size() const; - void clear_logs(); - static const int kLogsFieldNumber = 4; - ::flyteidl::core::TaskLog* mutable_logs(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* - mutable_logs(); - const ::flyteidl::core::TaskLog& logs(int index) const; - ::flyteidl::core::TaskLog* add_logs(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& - logs() const; - - // repeated .flyteidl.admin.Reason reasons = 18; - int reasons_size() const; - void clear_reasons(); - static const int kReasonsFieldNumber = 18; - ::flyteidl::admin::Reason* mutable_reasons(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >* - mutable_reasons(); - const ::flyteidl::admin::Reason& reasons(int index) const; - ::flyteidl::admin::Reason* add_reasons(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >& - reasons() const; - - // string reason = 10; - void clear_reason(); - static const int kReasonFieldNumber = 10; - const ::std::string& reason() const; - void set_reason(const ::std::string& value); - #if LANG_CXX11 - void set_reason(::std::string&& value); - #endif - void set_reason(const char* value); - void set_reason(const char* value, size_t size); - ::std::string* mutable_reason(); - ::std::string* release_reason(); - void set_allocated_reason(::std::string* reason); - - // string task_type = 11; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 11; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // .google.protobuf.Timestamp started_at = 5; - bool has_started_at() const; - void clear_started_at(); - static const int kStartedAtFieldNumber = 5; - const ::google::protobuf::Timestamp& started_at() const; - ::google::protobuf::Timestamp* release_started_at(); - ::google::protobuf::Timestamp* mutable_started_at(); - void set_allocated_started_at(::google::protobuf::Timestamp* started_at); - - // .google.protobuf.Duration duration = 6; - bool has_duration() const; - void clear_duration(); - static const int kDurationFieldNumber = 6; - const ::google::protobuf::Duration& duration() const; - ::google::protobuf::Duration* release_duration(); - ::google::protobuf::Duration* mutable_duration(); - void set_allocated_duration(::google::protobuf::Duration* duration); - - // .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); - - // .google.protobuf.Timestamp updated_at = 8; - bool has_updated_at() const; - void clear_updated_at(); - static const int kUpdatedAtFieldNumber = 8; - const ::google::protobuf::Timestamp& updated_at() const; - ::google::protobuf::Timestamp* release_updated_at(); - ::google::protobuf::Timestamp* mutable_updated_at(); - void set_allocated_updated_at(::google::protobuf::Timestamp* updated_at); - - // .google.protobuf.Struct custom_info = 9; - bool has_custom_info() const; - void clear_custom_info(); - static const int kCustomInfoFieldNumber = 9; - const ::google::protobuf::Struct& custom_info() const; - ::google::protobuf::Struct* release_custom_info(); - ::google::protobuf::Struct* mutable_custom_info(); - void set_allocated_custom_info(::google::protobuf::Struct* custom_info); - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 16; - const ::flyteidl::event::TaskExecutionMetadata& metadata() const; - ::flyteidl::event::TaskExecutionMetadata* release_metadata(); - ::flyteidl::event::TaskExecutionMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::event::TaskExecutionMetadata* metadata); - - // .flyteidl.core.TaskExecution.Phase phase = 3; - void clear_phase(); - static const int kPhaseFieldNumber = 3; - ::flyteidl::core::TaskExecution_Phase phase() const; - void set_phase(::flyteidl::core::TaskExecution_Phase value); - - // int32 event_version = 17; - void clear_event_version(); - static const int kEventVersionFieldNumber = 17; - ::google::protobuf::int32 event_version() const; - void set_event_version(::google::protobuf::int32 value); - - // string output_uri = 1 [deprecated = true]; - private: - bool has_output_uri() const; - public: - PROTOBUF_DEPRECATED void clear_output_uri(); - PROTOBUF_DEPRECATED static const int kOutputUriFieldNumber = 1; - PROTOBUF_DEPRECATED const ::std::string& output_uri() const; - PROTOBUF_DEPRECATED void set_output_uri(const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void set_output_uri(::std::string&& value); - #endif - PROTOBUF_DEPRECATED void set_output_uri(const char* value); - PROTOBUF_DEPRECATED void set_output_uri(const char* value, size_t size); - PROTOBUF_DEPRECATED ::std::string* mutable_output_uri(); - PROTOBUF_DEPRECATED ::std::string* release_output_uri(); - PROTOBUF_DEPRECATED void set_allocated_output_uri(::std::string* output_uri); - - // .flyteidl.core.ExecutionError error = 2; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 2; - const ::flyteidl::core::ExecutionError& error() const; - ::flyteidl::core::ExecutionError* release_error(); - ::flyteidl::core::ExecutionError* mutable_error(); - void set_allocated_error(::flyteidl::core::ExecutionError* error); - - // .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_output_data() const; - PROTOBUF_DEPRECATED void clear_output_data(); - PROTOBUF_DEPRECATED static const int kOutputDataFieldNumber = 12; - PROTOBUF_DEPRECATED const ::flyteidl::core::LiteralMap& output_data() const; - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* release_output_data(); - PROTOBUF_DEPRECATED ::flyteidl::core::LiteralMap* mutable_output_data(); - PROTOBUF_DEPRECATED void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - void clear_output_result(); - OutputResultCase output_result_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionClosure) - private: - class HasBitSetters; - void set_has_output_uri(); - void set_has_error(); - void set_has_output_data(); - - inline bool has_output_result() const; - inline void clear_has_output_result(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog > logs_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason > reasons_; - ::google::protobuf::internal::ArenaStringPtr reason_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::google::protobuf::Timestamp* started_at_; - ::google::protobuf::Duration* duration_; - ::google::protobuf::Timestamp* created_at_; - ::google::protobuf::Timestamp* updated_at_; - ::google::protobuf::Struct* custom_info_; - ::flyteidl::event::TaskExecutionMetadata* metadata_; - int phase_; - ::google::protobuf::int32 event_version_; - union OutputResultUnion { - OutputResultUnion() {} - ::google::protobuf::internal::ArenaStringPtr output_uri_; - ::flyteidl::core::ExecutionError* error_; - ::flyteidl::core::LiteralMap* output_data_; - } output_result_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class Reason final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Reason) */ { - public: - Reason(); - virtual ~Reason(); - - Reason(const Reason& from); - - inline Reason& operator=(const Reason& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Reason(Reason&& from) noexcept - : Reason() { - *this = ::std::move(from); - } - - inline Reason& operator=(Reason&& 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 Reason& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Reason* internal_default_instance() { - return reinterpret_cast( - &_Reason_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(Reason* other); - friend void swap(Reason& a, Reason& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Reason* New() const final { - return CreateMaybeMessage(nullptr); - } - - Reason* 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 Reason& from); - void MergeFrom(const Reason& 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(Reason* 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 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); - - // .google.protobuf.Timestamp occurred_at = 1; - bool has_occurred_at() const; - void clear_occurred_at(); - static const int kOccurredAtFieldNumber = 1; - const ::google::protobuf::Timestamp& occurred_at() const; - ::google::protobuf::Timestamp* release_occurred_at(); - ::google::protobuf::Timestamp* mutable_occurred_at(); - void set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Reason) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr message_; - ::google::protobuf::Timestamp* occurred_at_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionGetDataRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionGetDataRequest) */ { - public: - TaskExecutionGetDataRequest(); - virtual ~TaskExecutionGetDataRequest(); - - TaskExecutionGetDataRequest(const TaskExecutionGetDataRequest& from); - - inline TaskExecutionGetDataRequest& operator=(const TaskExecutionGetDataRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionGetDataRequest(TaskExecutionGetDataRequest&& from) noexcept - : TaskExecutionGetDataRequest() { - *this = ::std::move(from); - } - - inline TaskExecutionGetDataRequest& operator=(TaskExecutionGetDataRequest&& 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 TaskExecutionGetDataRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionGetDataRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionGetDataRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(TaskExecutionGetDataRequest* other); - friend void swap(TaskExecutionGetDataRequest& a, TaskExecutionGetDataRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionGetDataRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionGetDataRequest* 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 TaskExecutionGetDataRequest& from); - void MergeFrom(const TaskExecutionGetDataRequest& 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(TaskExecutionGetDataRequest* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::TaskExecutionIdentifier& id() const; - ::flyteidl::core::TaskExecutionIdentifier* release_id(); - ::flyteidl::core::TaskExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetDataRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::TaskExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionGetDataResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionGetDataResponse) */ { - public: - TaskExecutionGetDataResponse(); - virtual ~TaskExecutionGetDataResponse(); - - TaskExecutionGetDataResponse(const TaskExecutionGetDataResponse& from); - - inline TaskExecutionGetDataResponse& operator=(const TaskExecutionGetDataResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionGetDataResponse(TaskExecutionGetDataResponse&& from) noexcept - : TaskExecutionGetDataResponse() { - *this = ::std::move(from); - } - - inline TaskExecutionGetDataResponse& operator=(TaskExecutionGetDataResponse&& 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 TaskExecutionGetDataResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionGetDataResponse* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionGetDataResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(TaskExecutionGetDataResponse* other); - friend void swap(TaskExecutionGetDataResponse& a, TaskExecutionGetDataResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionGetDataResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionGetDataResponse* 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 TaskExecutionGetDataResponse& from); - void MergeFrom(const TaskExecutionGetDataResponse& 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(TaskExecutionGetDataResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_inputs() const; - PROTOBUF_DEPRECATED void clear_inputs(); - PROTOBUF_DEPRECATED static const int kInputsFieldNumber = 1; - PROTOBUF_DEPRECATED const ::flyteidl::admin::UrlBlob& inputs() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* release_inputs(); - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* mutable_inputs(); - PROTOBUF_DEPRECATED void set_allocated_inputs(::flyteidl::admin::UrlBlob* inputs); - - // .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_outputs() const; - PROTOBUF_DEPRECATED void clear_outputs(); - PROTOBUF_DEPRECATED static const int kOutputsFieldNumber = 2; - PROTOBUF_DEPRECATED const ::flyteidl::admin::UrlBlob& outputs() const; - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* release_outputs(); - PROTOBUF_DEPRECATED ::flyteidl::admin::UrlBlob* mutable_outputs(); - PROTOBUF_DEPRECATED void set_allocated_outputs(::flyteidl::admin::UrlBlob* outputs); - - // .flyteidl.core.LiteralMap full_inputs = 3; - bool has_full_inputs() const; - void clear_full_inputs(); - static const int kFullInputsFieldNumber = 3; - const ::flyteidl::core::LiteralMap& full_inputs() const; - ::flyteidl::core::LiteralMap* release_full_inputs(); - ::flyteidl::core::LiteralMap* mutable_full_inputs(); - void set_allocated_full_inputs(::flyteidl::core::LiteralMap* full_inputs); - - // .flyteidl.core.LiteralMap full_outputs = 4; - bool has_full_outputs() const; - void clear_full_outputs(); - static const int kFullOutputsFieldNumber = 4; - const ::flyteidl::core::LiteralMap& full_outputs() const; - ::flyteidl::core::LiteralMap* release_full_outputs(); - ::flyteidl::core::LiteralMap* mutable_full_outputs(); - void set_allocated_full_outputs(::flyteidl::core::LiteralMap* full_outputs); - - // .flyteidl.admin.FlyteURLs flyte_urls = 5; - bool has_flyte_urls() const; - void clear_flyte_urls(); - static const int kFlyteUrlsFieldNumber = 5; - const ::flyteidl::admin::FlyteURLs& flyte_urls() const; - ::flyteidl::admin::FlyteURLs* release_flyte_urls(); - ::flyteidl::admin::FlyteURLs* mutable_flyte_urls(); - void set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetDataResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::UrlBlob* inputs_; - ::flyteidl::admin::UrlBlob* outputs_; - ::flyteidl::core::LiteralMap* full_inputs_; - ::flyteidl::core::LiteralMap* full_outputs_; - ::flyteidl::admin::FlyteURLs* flyte_urls_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// TaskExecutionGetRequest - -// .flyteidl.core.TaskExecutionIdentifier id = 1; -inline bool TaskExecutionGetRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::TaskExecutionIdentifier& TaskExecutionGetRequest::id() const { - const ::flyteidl::core::TaskExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecutionGetRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetRequest.id) - - ::flyteidl::core::TaskExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecutionGetRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetRequest.id) - return id_; -} -inline void TaskExecutionGetRequest::set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetRequest.id) -} - -// ------------------------------------------------------------------- - -// TaskExecutionListRequest - -// .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; -inline bool TaskExecutionListRequest::has_node_execution_id() const { - return this != internal_default_instance() && node_execution_id_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& TaskExecutionListRequest::node_execution_id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = node_execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionListRequest.node_execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* TaskExecutionListRequest::release_node_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionListRequest.node_execution_id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = node_execution_id_; - node_execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* TaskExecutionListRequest::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.admin.TaskExecutionListRequest.node_execution_id) - return node_execution_id_; -} -inline void TaskExecutionListRequest::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.admin.TaskExecutionListRequest.node_execution_id) -} - -// uint32 limit = 2; -inline void TaskExecutionListRequest::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 TaskExecutionListRequest::limit() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionListRequest.limit) - return limit_; -} -inline void TaskExecutionListRequest::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionListRequest.limit) -} - -// string token = 3; -inline void TaskExecutionListRequest::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionListRequest::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionListRequest.token) - return token_.GetNoArena(); -} -inline void TaskExecutionListRequest::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionListRequest.token) -} -#if LANG_CXX11 -inline void TaskExecutionListRequest::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionListRequest.token) -} -#endif -inline void TaskExecutionListRequest::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionListRequest.token) -} -inline void TaskExecutionListRequest::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionListRequest.token) -} -inline ::std::string* TaskExecutionListRequest::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionListRequest.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionListRequest::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionListRequest.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionListRequest::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionListRequest.token) -} - -// string filters = 4; -inline void TaskExecutionListRequest::clear_filters() { - filters_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionListRequest::filters() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionListRequest.filters) - return filters_.GetNoArena(); -} -inline void TaskExecutionListRequest::set_filters(const ::std::string& value) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionListRequest.filters) -} -#if LANG_CXX11 -inline void TaskExecutionListRequest::set_filters(::std::string&& value) { - - filters_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionListRequest.filters) -} -#endif -inline void TaskExecutionListRequest::set_filters(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionListRequest.filters) -} -inline void TaskExecutionListRequest::set_filters(const char* value, size_t size) { - - filters_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionListRequest.filters) -} -inline ::std::string* TaskExecutionListRequest::mutable_filters() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionListRequest.filters) - return filters_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionListRequest::release_filters() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionListRequest.filters) - - return filters_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionListRequest::set_allocated_filters(::std::string* filters) { - if (filters != nullptr) { - - } else { - - } - filters_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filters); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionListRequest.filters) -} - -// .flyteidl.admin.Sort sort_by = 5; -inline bool TaskExecutionListRequest::has_sort_by() const { - return this != internal_default_instance() && sort_by_ != nullptr; -} -inline const ::flyteidl::admin::Sort& TaskExecutionListRequest::sort_by() const { - const ::flyteidl::admin::Sort* p = sort_by_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionListRequest.sort_by) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Sort_default_instance_); -} -inline ::flyteidl::admin::Sort* TaskExecutionListRequest::release_sort_by() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionListRequest.sort_by) - - ::flyteidl::admin::Sort* temp = sort_by_; - sort_by_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Sort* TaskExecutionListRequest::mutable_sort_by() { - - if (sort_by_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Sort>(GetArenaNoVirtual()); - sort_by_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionListRequest.sort_by) - return sort_by_; -} -inline void TaskExecutionListRequest::set_allocated_sort_by(::flyteidl::admin::Sort* sort_by) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(sort_by_); - } - if (sort_by) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sort_by = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sort_by, submessage_arena); - } - - } else { - - } - sort_by_ = sort_by; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionListRequest.sort_by) -} - -// ------------------------------------------------------------------- - -// TaskExecution - -// .flyteidl.core.TaskExecutionIdentifier id = 1; -inline bool TaskExecution::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::TaskExecutionIdentifier& TaskExecution::id() const { - const ::flyteidl::core::TaskExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecution.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecution::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecution.id) - - ::flyteidl::core::TaskExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecution::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecution.id) - return id_; -} -inline void TaskExecution::set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecution.id) -} - -// string input_uri = 2; -inline void TaskExecution::clear_input_uri() { - input_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecution::input_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecution.input_uri) - return input_uri_.GetNoArena(); -} -inline void TaskExecution::set_input_uri(const ::std::string& value) { - - input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecution.input_uri) -} -#if LANG_CXX11 -inline void TaskExecution::set_input_uri(::std::string&& value) { - - input_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecution.input_uri) -} -#endif -inline void TaskExecution::set_input_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecution.input_uri) -} -inline void TaskExecution::set_input_uri(const char* value, size_t size) { - - input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecution.input_uri) -} -inline ::std::string* TaskExecution::mutable_input_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecution.input_uri) - return input_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecution::release_input_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecution.input_uri) - - return input_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecution::set_allocated_input_uri(::std::string* input_uri) { - if (input_uri != nullptr) { - - } else { - - } - input_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), input_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecution.input_uri) -} - -// .flyteidl.admin.TaskExecutionClosure closure = 3; -inline bool TaskExecution::has_closure() const { - return this != internal_default_instance() && closure_ != nullptr; -} -inline void TaskExecution::clear_closure() { - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; -} -inline const ::flyteidl::admin::TaskExecutionClosure& TaskExecution::closure() const { - const ::flyteidl::admin::TaskExecutionClosure* p = closure_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecution.closure) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_TaskExecutionClosure_default_instance_); -} -inline ::flyteidl::admin::TaskExecutionClosure* TaskExecution::release_closure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecution.closure) - - ::flyteidl::admin::TaskExecutionClosure* temp = closure_; - closure_ = nullptr; - return temp; -} -inline ::flyteidl::admin::TaskExecutionClosure* TaskExecution::mutable_closure() { - - if (closure_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::TaskExecutionClosure>(GetArenaNoVirtual()); - closure_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecution.closure) - return closure_; -} -inline void TaskExecution::set_allocated_closure(::flyteidl::admin::TaskExecutionClosure* closure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete closure_; - } - if (closure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - closure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, closure, submessage_arena); - } - - } else { - - } - closure_ = closure; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecution.closure) -} - -// bool is_parent = 4; -inline void TaskExecution::clear_is_parent() { - is_parent_ = false; -} -inline bool TaskExecution::is_parent() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecution.is_parent) - return is_parent_; -} -inline void TaskExecution::set_is_parent(bool value) { - - is_parent_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecution.is_parent) -} - -// ------------------------------------------------------------------- - -// TaskExecutionList - -// repeated .flyteidl.admin.TaskExecution task_executions = 1; -inline int TaskExecutionList::task_executions_size() const { - return task_executions_.size(); -} -inline void TaskExecutionList::clear_task_executions() { - task_executions_.Clear(); -} -inline ::flyteidl::admin::TaskExecution* TaskExecutionList::mutable_task_executions(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionList.task_executions) - return task_executions_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::TaskExecution >* -TaskExecutionList::mutable_task_executions() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.TaskExecutionList.task_executions) - return &task_executions_; -} -inline const ::flyteidl::admin::TaskExecution& TaskExecutionList::task_executions(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionList.task_executions) - return task_executions_.Get(index); -} -inline ::flyteidl::admin::TaskExecution* TaskExecutionList::add_task_executions() { - // @@protoc_insertion_point(field_add:flyteidl.admin.TaskExecutionList.task_executions) - return task_executions_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::TaskExecution >& -TaskExecutionList::task_executions() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.TaskExecutionList.task_executions) - return task_executions_; -} - -// string token = 2; -inline void TaskExecutionList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionList.token) - return token_.GetNoArena(); -} -inline void TaskExecutionList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionList.token) -} -#if LANG_CXX11 -inline void TaskExecutionList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionList.token) -} -#endif -inline void TaskExecutionList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionList.token) -} -inline void TaskExecutionList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionList.token) -} -inline ::std::string* TaskExecutionList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionList.token) -} - -// ------------------------------------------------------------------- - -// TaskExecutionClosure - -// string output_uri = 1 [deprecated = true]; -inline bool TaskExecutionClosure::has_output_uri() const { - return output_result_case() == kOutputUri; -} -inline void TaskExecutionClosure::set_has_output_uri() { - _oneof_case_[0] = kOutputUri; -} -inline void TaskExecutionClosure::clear_output_uri() { - if (has_output_uri()) { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_output_result(); - } -} -inline const ::std::string& TaskExecutionClosure::output_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.output_uri) - if (has_output_uri()) { - return output_result_.output_uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void TaskExecutionClosure::set_output_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.output_uri) -} -#if LANG_CXX11 -inline void TaskExecutionClosure::set_output_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionClosure.output_uri) -} -#endif -inline void TaskExecutionClosure::set_output_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionClosure.output_uri) -} -inline void TaskExecutionClosure::set_output_uri(const char* value, size_t size) { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionClosure.output_uri) -} -inline ::std::string* TaskExecutionClosure::mutable_output_uri() { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.output_uri) - return output_result_.output_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionClosure::release_output_uri() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.output_uri) - if (has_output_uri()) { - clear_has_output_result(); - return output_result_.output_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void TaskExecutionClosure::set_allocated_output_uri(::std::string* output_uri) { - if (has_output_result()) { - clear_output_result(); - } - if (output_uri != nullptr) { - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(output_uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.output_uri) -} - -// .flyteidl.core.ExecutionError error = 2; -inline bool TaskExecutionClosure::has_error() const { - return output_result_case() == kError; -} -inline void TaskExecutionClosure::set_has_error() { - _oneof_case_[0] = kError; -} -inline ::flyteidl::core::ExecutionError* TaskExecutionClosure::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.error) - if (has_error()) { - clear_has_output_result(); - ::flyteidl::core::ExecutionError* temp = output_result_.error_; - output_result_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ExecutionError& TaskExecutionClosure::error() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.error) - return has_error() - ? *output_result_.error_ - : *reinterpret_cast< ::flyteidl::core::ExecutionError*>(&::flyteidl::core::_ExecutionError_default_instance_); -} -inline ::flyteidl::core::ExecutionError* TaskExecutionClosure::mutable_error() { - if (!has_error()) { - clear_output_result(); - set_has_error(); - output_result_.error_ = CreateMaybeMessage< ::flyteidl::core::ExecutionError >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.error) - return output_result_.error_; -} - -// .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; -inline bool TaskExecutionClosure::has_output_data() const { - return output_result_case() == kOutputData; -} -inline void TaskExecutionClosure::set_has_output_data() { - _oneof_case_[0] = kOutputData; -} -inline ::flyteidl::core::LiteralMap* TaskExecutionClosure::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.output_data) - if (has_output_data()) { - clear_has_output_result(); - ::flyteidl::core::LiteralMap* temp = output_result_.output_data_; - output_result_.output_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& TaskExecutionClosure::output_data() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.output_data) - return has_output_data() - ? *output_result_.output_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* TaskExecutionClosure::mutable_output_data() { - if (!has_output_data()) { - clear_output_result(); - set_has_output_data(); - output_result_.output_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.output_data) - return output_result_.output_data_; -} - -// .flyteidl.core.TaskExecution.Phase phase = 3; -inline void TaskExecutionClosure::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::TaskExecution_Phase TaskExecutionClosure::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.phase) - return static_cast< ::flyteidl::core::TaskExecution_Phase >(phase_); -} -inline void TaskExecutionClosure::set_phase(::flyteidl::core::TaskExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.phase) -} - -// repeated .flyteidl.core.TaskLog logs = 4; -inline int TaskExecutionClosure::logs_size() const { - return logs_.size(); -} -inline ::flyteidl::core::TaskLog* TaskExecutionClosure::mutable_logs(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.logs) - return logs_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* -TaskExecutionClosure::mutable_logs() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.TaskExecutionClosure.logs) - return &logs_; -} -inline const ::flyteidl::core::TaskLog& TaskExecutionClosure::logs(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.logs) - return logs_.Get(index); -} -inline ::flyteidl::core::TaskLog* TaskExecutionClosure::add_logs() { - // @@protoc_insertion_point(field_add:flyteidl.admin.TaskExecutionClosure.logs) - return logs_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& -TaskExecutionClosure::logs() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.TaskExecutionClosure.logs) - return logs_; -} - -// .google.protobuf.Timestamp started_at = 5; -inline bool TaskExecutionClosure::has_started_at() const { - return this != internal_default_instance() && started_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& TaskExecutionClosure::started_at() const { - const ::google::protobuf::Timestamp* p = started_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.started_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* TaskExecutionClosure::release_started_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.started_at) - - ::google::protobuf::Timestamp* temp = started_at_; - started_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* TaskExecutionClosure::mutable_started_at() { - - if (started_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - started_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.started_at) - return started_at_; -} -inline void TaskExecutionClosure::set_allocated_started_at(::google::protobuf::Timestamp* started_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(started_at_); - } - if (started_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(started_at)->GetArena(); - if (message_arena != submessage_arena) { - started_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, started_at, submessage_arena); - } - - } else { - - } - started_at_ = started_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.started_at) -} - -// .google.protobuf.Duration duration = 6; -inline bool TaskExecutionClosure::has_duration() const { - return this != internal_default_instance() && duration_ != nullptr; -} -inline const ::google::protobuf::Duration& TaskExecutionClosure::duration() const { - const ::google::protobuf::Duration* p = duration_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.duration) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* TaskExecutionClosure::release_duration() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.duration) - - ::google::protobuf::Duration* temp = duration_; - duration_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* TaskExecutionClosure::mutable_duration() { - - if (duration_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - duration_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.duration) - return duration_; -} -inline void TaskExecutionClosure::set_allocated_duration(::google::protobuf::Duration* duration) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(duration_); - } - if (duration) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(duration)->GetArena(); - if (message_arena != submessage_arena) { - duration = ::google::protobuf::internal::GetOwnedMessage( - message_arena, duration, submessage_arena); - } - - } else { - - } - duration_ = duration; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.duration) -} - -// .google.protobuf.Timestamp created_at = 7; -inline bool TaskExecutionClosure::has_created_at() const { - return this != internal_default_instance() && created_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& TaskExecutionClosure::created_at() const { - const ::google::protobuf::Timestamp* p = created_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.created_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* TaskExecutionClosure::release_created_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.created_at) - - ::google::protobuf::Timestamp* temp = created_at_; - created_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* TaskExecutionClosure::mutable_created_at() { - - if (created_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - created_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.created_at) - return created_at_; -} -inline void TaskExecutionClosure::set_allocated_created_at(::google::protobuf::Timestamp* created_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(created_at_); - } - if (created_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(created_at)->GetArena(); - if (message_arena != submessage_arena) { - created_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, created_at, submessage_arena); - } - - } else { - - } - created_at_ = created_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.created_at) -} - -// .google.protobuf.Timestamp updated_at = 8; -inline bool TaskExecutionClosure::has_updated_at() const { - return this != internal_default_instance() && updated_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& TaskExecutionClosure::updated_at() const { - const ::google::protobuf::Timestamp* p = updated_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.updated_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* TaskExecutionClosure::release_updated_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.updated_at) - - ::google::protobuf::Timestamp* temp = updated_at_; - updated_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* TaskExecutionClosure::mutable_updated_at() { - - if (updated_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - updated_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.updated_at) - return updated_at_; -} -inline void TaskExecutionClosure::set_allocated_updated_at(::google::protobuf::Timestamp* updated_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(updated_at_); - } - if (updated_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(updated_at)->GetArena(); - if (message_arena != submessage_arena) { - updated_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, updated_at, submessage_arena); - } - - } else { - - } - updated_at_ = updated_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.updated_at) -} - -// .google.protobuf.Struct custom_info = 9; -inline bool TaskExecutionClosure::has_custom_info() const { - return this != internal_default_instance() && custom_info_ != nullptr; -} -inline const ::google::protobuf::Struct& TaskExecutionClosure::custom_info() const { - const ::google::protobuf::Struct* p = custom_info_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.custom_info) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* TaskExecutionClosure::release_custom_info() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.custom_info) - - ::google::protobuf::Struct* temp = custom_info_; - custom_info_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* TaskExecutionClosure::mutable_custom_info() { - - if (custom_info_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - custom_info_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.custom_info) - return custom_info_; -} -inline void TaskExecutionClosure::set_allocated_custom_info(::google::protobuf::Struct* custom_info) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(custom_info_); - } - if (custom_info) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(custom_info)->GetArena(); - if (message_arena != submessage_arena) { - custom_info = ::google::protobuf::internal::GetOwnedMessage( - message_arena, custom_info, submessage_arena); - } - - } else { - - } - custom_info_ = custom_info; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.custom_info) -} - -// string reason = 10; -inline void TaskExecutionClosure::clear_reason() { - reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionClosure::reason() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.reason) - return reason_.GetNoArena(); -} -inline void TaskExecutionClosure::set_reason(const ::std::string& value) { - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.reason) -} -#if LANG_CXX11 -inline void TaskExecutionClosure::set_reason(::std::string&& value) { - - reason_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionClosure.reason) -} -#endif -inline void TaskExecutionClosure::set_reason(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionClosure.reason) -} -inline void TaskExecutionClosure::set_reason(const char* value, size_t size) { - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionClosure.reason) -} -inline ::std::string* TaskExecutionClosure::mutable_reason() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.reason) - return reason_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionClosure::release_reason() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.reason) - - return reason_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionClosure::set_allocated_reason(::std::string* reason) { - if (reason != nullptr) { - - } else { - - } - reason_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.reason) -} - -// string task_type = 11; -inline void TaskExecutionClosure::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionClosure::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.task_type) - return task_type_.GetNoArena(); -} -inline void TaskExecutionClosure::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.task_type) -} -#if LANG_CXX11 -inline void TaskExecutionClosure::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskExecutionClosure.task_type) -} -#endif -inline void TaskExecutionClosure::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskExecutionClosure.task_type) -} -inline void TaskExecutionClosure::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskExecutionClosure.task_type) -} -inline ::std::string* TaskExecutionClosure::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionClosure::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionClosure::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.task_type) -} - -// .flyteidl.event.TaskExecutionMetadata metadata = 16; -inline bool TaskExecutionClosure::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline const ::flyteidl::event::TaskExecutionMetadata& TaskExecutionClosure::metadata() const { - const ::flyteidl::event::TaskExecutionMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_TaskExecutionMetadata_default_instance_); -} -inline ::flyteidl::event::TaskExecutionMetadata* TaskExecutionClosure::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionClosure.metadata) - - ::flyteidl::event::TaskExecutionMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::event::TaskExecutionMetadata* TaskExecutionClosure::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::TaskExecutionMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.metadata) - return metadata_; -} -inline void TaskExecutionClosure::set_allocated_metadata(::flyteidl::event::TaskExecutionMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(metadata_); - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionClosure.metadata) -} - -// int32 event_version = 17; -inline void TaskExecutionClosure::clear_event_version() { - event_version_ = 0; -} -inline ::google::protobuf::int32 TaskExecutionClosure::event_version() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.event_version) - return event_version_; -} -inline void TaskExecutionClosure::set_event_version(::google::protobuf::int32 value) { - - event_version_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.event_version) -} - -// repeated .flyteidl.admin.Reason reasons = 18; -inline int TaskExecutionClosure::reasons_size() const { - return reasons_.size(); -} -inline void TaskExecutionClosure::clear_reasons() { - reasons_.Clear(); -} -inline ::flyteidl::admin::Reason* TaskExecutionClosure::mutable_reasons(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.reasons) - return reasons_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >* -TaskExecutionClosure::mutable_reasons() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.TaskExecutionClosure.reasons) - return &reasons_; -} -inline const ::flyteidl::admin::Reason& TaskExecutionClosure::reasons(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.reasons) - return reasons_.Get(index); -} -inline ::flyteidl::admin::Reason* TaskExecutionClosure::add_reasons() { - // @@protoc_insertion_point(field_add:flyteidl.admin.TaskExecutionClosure.reasons) - return reasons_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >& -TaskExecutionClosure::reasons() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.TaskExecutionClosure.reasons) - return reasons_; -} - -inline bool TaskExecutionClosure::has_output_result() const { - return output_result_case() != OUTPUT_RESULT_NOT_SET; -} -inline void TaskExecutionClosure::clear_has_output_result() { - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} -inline TaskExecutionClosure::OutputResultCase TaskExecutionClosure::output_result_case() const { - return TaskExecutionClosure::OutputResultCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Reason - -// .google.protobuf.Timestamp occurred_at = 1; -inline bool Reason::has_occurred_at() const { - return this != internal_default_instance() && occurred_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& Reason::occurred_at() const { - const ::google::protobuf::Timestamp* p = occurred_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Reason.occurred_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* Reason::release_occurred_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Reason.occurred_at) - - ::google::protobuf::Timestamp* temp = occurred_at_; - occurred_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Reason::mutable_occurred_at() { - - if (occurred_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - occurred_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Reason.occurred_at) - return occurred_at_; -} -inline void Reason::set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(occurred_at_); - } - if (occurred_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(occurred_at)->GetArena(); - if (message_arena != submessage_arena) { - occurred_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, occurred_at, submessage_arena); - } - - } else { - - } - occurred_at_ = occurred_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Reason.occurred_at) -} - -// string message = 2; -inline void Reason::clear_message() { - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Reason::message() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Reason.message) - return message_.GetNoArena(); -} -inline void Reason::set_message(const ::std::string& value) { - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Reason.message) -} -#if LANG_CXX11 -inline void Reason::set_message(::std::string&& value) { - - message_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Reason.message) -} -#endif -inline void Reason::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.admin.Reason.message) -} -inline void Reason::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.admin.Reason.message) -} -inline ::std::string* Reason::mutable_message() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Reason.message) - return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Reason::release_message() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Reason.message) - - return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Reason::set_allocated_message(::std::string* message) { - if (message != nullptr) { - - } else { - - } - message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Reason.message) -} - -// ------------------------------------------------------------------- - -// TaskExecutionGetDataRequest - -// .flyteidl.core.TaskExecutionIdentifier id = 1; -inline bool TaskExecutionGetDataRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::TaskExecutionIdentifier& TaskExecutionGetDataRequest::id() const { - const ::flyteidl::core::TaskExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetDataRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecutionGetDataRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetDataRequest.id) - - ::flyteidl::core::TaskExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskExecutionIdentifier* TaskExecutionGetDataRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetDataRequest.id) - return id_; -} -inline void TaskExecutionGetDataRequest::set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataRequest.id) -} - -// ------------------------------------------------------------------- - -// TaskExecutionGetDataResponse - -// .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; -inline bool TaskExecutionGetDataResponse::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline const ::flyteidl::admin::UrlBlob& TaskExecutionGetDataResponse::inputs() const { - const ::flyteidl::admin::UrlBlob* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetDataResponse.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_UrlBlob_default_instance_); -} -inline ::flyteidl::admin::UrlBlob* TaskExecutionGetDataResponse::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetDataResponse.inputs) - - ::flyteidl::admin::UrlBlob* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::UrlBlob* TaskExecutionGetDataResponse::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::UrlBlob>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetDataResponse.inputs) - return inputs_; -} -inline void TaskExecutionGetDataResponse::set_allocated_inputs(::flyteidl::admin::UrlBlob* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataResponse.inputs) -} - -// .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; -inline bool TaskExecutionGetDataResponse::has_outputs() const { - return this != internal_default_instance() && outputs_ != nullptr; -} -inline const ::flyteidl::admin::UrlBlob& TaskExecutionGetDataResponse::outputs() const { - const ::flyteidl::admin::UrlBlob* p = outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetDataResponse.outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_UrlBlob_default_instance_); -} -inline ::flyteidl::admin::UrlBlob* TaskExecutionGetDataResponse::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetDataResponse.outputs) - - ::flyteidl::admin::UrlBlob* temp = outputs_; - outputs_ = nullptr; - return temp; -} -inline ::flyteidl::admin::UrlBlob* TaskExecutionGetDataResponse::mutable_outputs() { - - if (outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::UrlBlob>(GetArenaNoVirtual()); - outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetDataResponse.outputs) - return outputs_; -} -inline void TaskExecutionGetDataResponse::set_allocated_outputs(::flyteidl::admin::UrlBlob* outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(outputs_); - } - if (outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, outputs, submessage_arena); - } - - } else { - - } - outputs_ = outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataResponse.outputs) -} - -// .flyteidl.core.LiteralMap full_inputs = 3; -inline bool TaskExecutionGetDataResponse::has_full_inputs() const { - return this != internal_default_instance() && full_inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& TaskExecutionGetDataResponse::full_inputs() const { - const ::flyteidl::core::LiteralMap* p = full_inputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetDataResponse.full_inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* TaskExecutionGetDataResponse::release_full_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetDataResponse.full_inputs) - - ::flyteidl::core::LiteralMap* temp = full_inputs_; - full_inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* TaskExecutionGetDataResponse::mutable_full_inputs() { - - if (full_inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - full_inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetDataResponse.full_inputs) - return full_inputs_; -} -inline void TaskExecutionGetDataResponse::set_allocated_full_inputs(::flyteidl::core::LiteralMap* full_inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(full_inputs_); - } - if (full_inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - full_inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, full_inputs, submessage_arena); - } - - } else { - - } - full_inputs_ = full_inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataResponse.full_inputs) -} - -// .flyteidl.core.LiteralMap full_outputs = 4; -inline bool TaskExecutionGetDataResponse::has_full_outputs() const { - return this != internal_default_instance() && full_outputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& TaskExecutionGetDataResponse::full_outputs() const { - const ::flyteidl::core::LiteralMap* p = full_outputs_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetDataResponse.full_outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* TaskExecutionGetDataResponse::release_full_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetDataResponse.full_outputs) - - ::flyteidl::core::LiteralMap* temp = full_outputs_; - full_outputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* TaskExecutionGetDataResponse::mutable_full_outputs() { - - if (full_outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - full_outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetDataResponse.full_outputs) - return full_outputs_; -} -inline void TaskExecutionGetDataResponse::set_allocated_full_outputs(::flyteidl::core::LiteralMap* full_outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(full_outputs_); - } - if (full_outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - full_outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, full_outputs, submessage_arena); - } - - } else { - - } - full_outputs_ = full_outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataResponse.full_outputs) -} - -// .flyteidl.admin.FlyteURLs flyte_urls = 5; -inline bool TaskExecutionGetDataResponse::has_flyte_urls() const { - return this != internal_default_instance() && flyte_urls_ != nullptr; -} -inline const ::flyteidl::admin::FlyteURLs& TaskExecutionGetDataResponse::flyte_urls() const { - const ::flyteidl::admin::FlyteURLs* p = flyte_urls_; - // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_FlyteURLs_default_instance_); -} -inline ::flyteidl::admin::FlyteURLs* TaskExecutionGetDataResponse::release_flyte_urls() { - // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) - - ::flyteidl::admin::FlyteURLs* temp = flyte_urls_; - flyte_urls_ = nullptr; - return temp; -} -inline ::flyteidl::admin::FlyteURLs* TaskExecutionGetDataResponse::mutable_flyte_urls() { - - if (flyte_urls_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::FlyteURLs>(GetArenaNoVirtual()); - flyte_urls_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) - return flyte_urls_; -} -inline void TaskExecutionGetDataResponse::set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(flyte_urls_); - } - if (flyte_urls) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - flyte_urls = ::google::protobuf::internal::GetOwnedMessage( - message_arena, flyte_urls, submessage_arena); - } - - } else { - - } - flyte_urls_ = flyte_urls; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2ftask_5fexecution_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/version.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/version.grpc.pb.cc deleted file mode 100644 index a85e4ae531..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/version.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/version.proto - -#include "flyteidl/admin/version.pb.h" -#include "flyteidl/admin/version.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/version.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/version.grpc.pb.h deleted file mode 100644 index 72c37eb83f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/version.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/version.proto -#ifndef GRPC_flyteidl_2fadmin_2fversion_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fversion_2eproto__INCLUDED - -#include "flyteidl/admin/version.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fversion_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/version.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/version.pb.cc deleted file mode 100644 index a135d06626..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/version.pb.cc +++ /dev/null @@ -1,1112 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/version.proto - -#include "flyteidl/admin/version.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fversion_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Version_flyteidl_2fadmin_2fversion_2eproto; -namespace flyteidl { -namespace admin { -class GetVersionResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetVersionResponse_default_instance_; -class VersionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Version_default_instance_; -class GetVersionRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetVersionRequest_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsGetVersionResponse_flyteidl_2fadmin_2fversion_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetVersionResponse_default_instance_; - new (ptr) ::flyteidl::admin::GetVersionResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetVersionResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetVersionResponse_flyteidl_2fadmin_2fversion_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetVersionResponse_flyteidl_2fadmin_2fversion_2eproto}, { - &scc_info_Version_flyteidl_2fadmin_2fversion_2eproto.base,}}; - -static void InitDefaultsVersion_flyteidl_2fadmin_2fversion_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Version_default_instance_; - new (ptr) ::flyteidl::admin::Version(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Version::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Version_flyteidl_2fadmin_2fversion_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsVersion_flyteidl_2fadmin_2fversion_2eproto}, {}}; - -static void InitDefaultsGetVersionRequest_flyteidl_2fadmin_2fversion_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_GetVersionRequest_default_instance_; - new (ptr) ::flyteidl::admin::GetVersionRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::GetVersionRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_GetVersionRequest_flyteidl_2fadmin_2fversion_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetVersionRequest_flyteidl_2fadmin_2fversion_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fversion_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_GetVersionResponse_flyteidl_2fadmin_2fversion_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Version_flyteidl_2fadmin_2fversion_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetVersionRequest_flyteidl_2fadmin_2fversion_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fversion_2eproto[3]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fversion_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fversion_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fversion_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetVersionResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetVersionResponse, control_plane_version_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Version, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Version, build_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Version, version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Version, buildtime_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GetVersionRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::GetVersionResponse)}, - { 6, -1, sizeof(::flyteidl::admin::Version)}, - { 14, -1, sizeof(::flyteidl::admin::GetVersionRequest)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_GetVersionResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Version_default_instance_), - reinterpret_cast(&::flyteidl::admin::_GetVersionRequest_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fversion_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fversion_2eproto, "flyteidl/admin/version.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fversion_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fversion_2eproto, 3, file_level_enum_descriptors_flyteidl_2fadmin_2fversion_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fversion_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fversion_2eproto[] = - "\n\034flyteidl/admin/version.proto\022\016flyteidl" - ".admin\"L\n\022GetVersionResponse\0226\n\025control_" - "plane_version\030\001 \001(\0132\027.flyteidl.admin.Ver" - "sion\"<\n\007Version\022\r\n\005Build\030\001 \001(\t\022\017\n\007Versio" - "n\030\002 \001(\t\022\021\n\tBuildTime\030\003 \001(\t\"\023\n\021GetVersion" - "RequestB=Z;github.com/flyteorg/flyte/fly" - "teidl/gen/pb-go/flyteidl/adminb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fversion_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fversion_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fversion_2eproto, - "flyteidl/admin/version.proto", &assign_descriptors_table_flyteidl_2fadmin_2fversion_2eproto, 278, -}; - -void AddDescriptors_flyteidl_2fadmin_2fversion_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fversion_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fversion_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fversion_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void GetVersionResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_GetVersionResponse_default_instance_._instance.get_mutable()->control_plane_version_ = const_cast< ::flyteidl::admin::Version*>( - ::flyteidl::admin::Version::internal_default_instance()); -} -class GetVersionResponse::HasBitSetters { - public: - static const ::flyteidl::admin::Version& control_plane_version(const GetVersionResponse* msg); -}; - -const ::flyteidl::admin::Version& -GetVersionResponse::HasBitSetters::control_plane_version(const GetVersionResponse* msg) { - return *msg->control_plane_version_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetVersionResponse::kControlPlaneVersionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVersionResponse::GetVersionResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetVersionResponse) -} -GetVersionResponse::GetVersionResponse(const GetVersionResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_control_plane_version()) { - control_plane_version_ = new ::flyteidl::admin::Version(*from.control_plane_version_); - } else { - control_plane_version_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetVersionResponse) -} - -void GetVersionResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetVersionResponse_flyteidl_2fadmin_2fversion_2eproto.base); - control_plane_version_ = nullptr; -} - -GetVersionResponse::~GetVersionResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetVersionResponse) - SharedDtor(); -} - -void GetVersionResponse::SharedDtor() { - if (this != internal_default_instance()) delete control_plane_version_; -} - -void GetVersionResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetVersionResponse& GetVersionResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetVersionResponse_flyteidl_2fadmin_2fversion_2eproto.base); - return *internal_default_instance(); -} - - -void GetVersionResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetVersionResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && control_plane_version_ != nullptr) { - delete control_plane_version_; - } - control_plane_version_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetVersionResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.Version control_plane_version = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::Version::_InternalParse; - object = msg->mutable_control_plane_version(); - 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 GetVersionResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetVersionResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.Version control_plane_version = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_control_plane_version())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetVersionResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetVersionResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetVersionResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetVersionResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Version control_plane_version = 1; - if (this->has_control_plane_version()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::control_plane_version(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetVersionResponse) -} - -::google::protobuf::uint8* GetVersionResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetVersionResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.Version control_plane_version = 1; - if (this->has_control_plane_version()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::control_plane_version(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GetVersionResponse) - return target; -} - -size_t GetVersionResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetVersionResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.Version control_plane_version = 1; - if (this->has_control_plane_version()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *control_plane_version_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetVersionResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetVersionResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetVersionResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetVersionResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetVersionResponse) - MergeFrom(*source); - } -} - -void GetVersionResponse::MergeFrom(const GetVersionResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetVersionResponse) - 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_control_plane_version()) { - mutable_control_plane_version()->::flyteidl::admin::Version::MergeFrom(from.control_plane_version()); - } -} - -void GetVersionResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetVersionResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVersionResponse::CopyFrom(const GetVersionResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetVersionResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVersionResponse::IsInitialized() const { - return true; -} - -void GetVersionResponse::Swap(GetVersionResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVersionResponse::InternalSwap(GetVersionResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(control_plane_version_, other->control_plane_version_); -} - -::google::protobuf::Metadata GetVersionResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fversion_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fversion_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Version::InitAsDefaultInstance() { -} -class Version::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Version::kBuildFieldNumber; -const int Version::kVersionFieldNumber; -const int Version::kBuildTimeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Version::Version() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Version) -} -Version::Version(const Version& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - build_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.build().size() > 0) { - build_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.build_); - } - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.version().size() > 0) { - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - buildtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.buildtime().size() > 0) { - buildtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.buildtime_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Version) -} - -void Version::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Version_flyteidl_2fadmin_2fversion_2eproto.base); - build_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - buildtime_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Version::~Version() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Version) - SharedDtor(); -} - -void Version::SharedDtor() { - build_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - buildtime_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Version::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Version& Version::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Version_flyteidl_2fadmin_2fversion_2eproto.base); - return *internal_default_instance(); -} - - -void Version::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Version) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - build_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - buildtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Version::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string Build = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Version.Build"); - object = msg->mutable_build(); - 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 Version = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Version.Version"); - object = msg->mutable_version(); - 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 BuildTime = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Version.BuildTime"); - object = msg->mutable_buildtime(); - 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 Version::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Version) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string Build = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_build())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->build().data(), static_cast(this->build().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Version.Build")); - } else { - goto handle_unusual; - } - break; - } - - // string Version = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Version.Version")); - } else { - goto handle_unusual; - } - break; - } - - // string BuildTime = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_buildtime())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->buildtime().data(), static_cast(this->buildtime().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Version.BuildTime")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Version) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Version) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Version::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Version) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string Build = 1; - if (this->build().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->build().data(), static_cast(this->build().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Version.Build"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->build(), output); - } - - // string Version = 2; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Version.Version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->version(), output); - } - - // string BuildTime = 3; - if (this->buildtime().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->buildtime().data(), static_cast(this->buildtime().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Version.BuildTime"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->buildtime(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Version) -} - -::google::protobuf::uint8* Version::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Version) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string Build = 1; - if (this->build().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->build().data(), static_cast(this->build().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Version.Build"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->build(), target); - } - - // string Version = 2; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Version.Version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->version(), target); - } - - // string BuildTime = 3; - if (this->buildtime().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->buildtime().data(), static_cast(this->buildtime().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Version.BuildTime"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->buildtime(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Version) - return target; -} - -size_t Version::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Version) - 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 Build = 1; - if (this->build().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->build()); - } - - // string Version = 2; - if (this->version().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->version()); - } - - // string BuildTime = 3; - if (this->buildtime().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->buildtime()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Version::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Version) - GOOGLE_DCHECK_NE(&from, this); - const Version* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Version) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Version) - MergeFrom(*source); - } -} - -void Version::MergeFrom(const Version& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Version) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.build().size() > 0) { - - build_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.build_); - } - if (from.version().size() > 0) { - - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - if (from.buildtime().size() > 0) { - - buildtime_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.buildtime_); - } -} - -void Version::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Version) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Version::CopyFrom(const Version& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Version) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Version::IsInitialized() const { - return true; -} - -void Version::Swap(Version* other) { - if (other == this) return; - InternalSwap(other); -} -void Version::InternalSwap(Version* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - build_.Swap(&other->build_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - buildtime_.Swap(&other->buildtime_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Version::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fversion_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fversion_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetVersionRequest::InitAsDefaultInstance() { -} -class GetVersionRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetVersionRequest::GetVersionRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.GetVersionRequest) -} -GetVersionRequest::GetVersionRequest(const GetVersionRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GetVersionRequest) -} - -void GetVersionRequest::SharedCtor() { -} - -GetVersionRequest::~GetVersionRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.GetVersionRequest) - SharedDtor(); -} - -void GetVersionRequest::SharedDtor() { -} - -void GetVersionRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetVersionRequest& GetVersionRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetVersionRequest_flyteidl_2fadmin_2fversion_2eproto.base); - return *internal_default_instance(); -} - - -void GetVersionRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GetVersionRequest) - ::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* GetVersionRequest::_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 GetVersionRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.GetVersionRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.GetVersionRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.GetVersionRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetVersionRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.GetVersionRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.GetVersionRequest) -} - -::google::protobuf::uint8* GetVersionRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GetVersionRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GetVersionRequest) - return target; -} - -size_t GetVersionRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GetVersionRequest) - 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 GetVersionRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GetVersionRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetVersionRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GetVersionRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GetVersionRequest) - MergeFrom(*source); - } -} - -void GetVersionRequest::MergeFrom(const GetVersionRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GetVersionRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void GetVersionRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GetVersionRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetVersionRequest::CopyFrom(const GetVersionRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GetVersionRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetVersionRequest::IsInitialized() const { - return true; -} - -void GetVersionRequest::Swap(GetVersionRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetVersionRequest::InternalSwap(GetVersionRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata GetVersionRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fversion_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fversion_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetVersionResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::GetVersionResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetVersionResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Version* Arena::CreateMaybeMessage< ::flyteidl::admin::Version >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Version >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::GetVersionRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::GetVersionRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::GetVersionRequest >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/version.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/version.pb.h deleted file mode 100644 index 898f4ef3ca..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/version.pb.h +++ /dev/null @@ -1,689 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/version.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fversion_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fversion_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fversion_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fversion_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[3] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fversion_2eproto(); -namespace flyteidl { -namespace admin { -class GetVersionRequest; -class GetVersionRequestDefaultTypeInternal; -extern GetVersionRequestDefaultTypeInternal _GetVersionRequest_default_instance_; -class GetVersionResponse; -class GetVersionResponseDefaultTypeInternal; -extern GetVersionResponseDefaultTypeInternal _GetVersionResponse_default_instance_; -class Version; -class VersionDefaultTypeInternal; -extern VersionDefaultTypeInternal _Version_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::GetVersionRequest* Arena::CreateMaybeMessage<::flyteidl::admin::GetVersionRequest>(Arena*); -template<> ::flyteidl::admin::GetVersionResponse* Arena::CreateMaybeMessage<::flyteidl::admin::GetVersionResponse>(Arena*); -template<> ::flyteidl::admin::Version* Arena::CreateMaybeMessage<::flyteidl::admin::Version>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class GetVersionResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetVersionResponse) */ { - public: - GetVersionResponse(); - virtual ~GetVersionResponse(); - - GetVersionResponse(const GetVersionResponse& from); - - inline GetVersionResponse& operator=(const GetVersionResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVersionResponse(GetVersionResponse&& from) noexcept - : GetVersionResponse() { - *this = ::std::move(from); - } - - inline GetVersionResponse& operator=(GetVersionResponse&& 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 GetVersionResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVersionResponse* internal_default_instance() { - return reinterpret_cast( - &_GetVersionResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(GetVersionResponse* other); - friend void swap(GetVersionResponse& a, GetVersionResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVersionResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetVersionResponse* 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 GetVersionResponse& from); - void MergeFrom(const GetVersionResponse& 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(GetVersionResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.Version control_plane_version = 1; - bool has_control_plane_version() const; - void clear_control_plane_version(); - static const int kControlPlaneVersionFieldNumber = 1; - const ::flyteidl::admin::Version& control_plane_version() const; - ::flyteidl::admin::Version* release_control_plane_version(); - ::flyteidl::admin::Version* mutable_control_plane_version(); - void set_allocated_control_plane_version(::flyteidl::admin::Version* control_plane_version); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetVersionResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::Version* control_plane_version_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fversion_2eproto; -}; -// ------------------------------------------------------------------- - -class Version final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Version) */ { - public: - Version(); - virtual ~Version(); - - Version(const Version& from); - - inline Version& operator=(const Version& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Version(Version&& from) noexcept - : Version() { - *this = ::std::move(from); - } - - inline Version& operator=(Version&& 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 Version& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Version* internal_default_instance() { - return reinterpret_cast( - &_Version_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(Version* other); - friend void swap(Version& a, Version& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Version* New() const final { - return CreateMaybeMessage(nullptr); - } - - Version* 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 Version& from); - void MergeFrom(const Version& 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(Version* 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 Build = 1; - void clear_build(); - static const int kBuildFieldNumber = 1; - const ::std::string& build() const; - void set_build(const ::std::string& value); - #if LANG_CXX11 - void set_build(::std::string&& value); - #endif - void set_build(const char* value); - void set_build(const char* value, size_t size); - ::std::string* mutable_build(); - ::std::string* release_build(); - void set_allocated_build(::std::string* build); - - // string Version = 2; - void clear_version(); - static const int kVersionFieldNumber = 2; - 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 BuildTime = 3; - void clear_buildtime(); - static const int kBuildTimeFieldNumber = 3; - const ::std::string& buildtime() const; - void set_buildtime(const ::std::string& value); - #if LANG_CXX11 - void set_buildtime(::std::string&& value); - #endif - void set_buildtime(const char* value); - void set_buildtime(const char* value, size_t size); - ::std::string* mutable_buildtime(); - ::std::string* release_buildtime(); - void set_allocated_buildtime(::std::string* buildtime); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Version) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr build_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::google::protobuf::internal::ArenaStringPtr buildtime_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fversion_2eproto; -}; -// ------------------------------------------------------------------- - -class GetVersionRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GetVersionRequest) */ { - public: - GetVersionRequest(); - virtual ~GetVersionRequest(); - - GetVersionRequest(const GetVersionRequest& from); - - inline GetVersionRequest& operator=(const GetVersionRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetVersionRequest(GetVersionRequest&& from) noexcept - : GetVersionRequest() { - *this = ::std::move(from); - } - - inline GetVersionRequest& operator=(GetVersionRequest&& 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 GetVersionRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetVersionRequest* internal_default_instance() { - return reinterpret_cast( - &_GetVersionRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(GetVersionRequest* other); - friend void swap(GetVersionRequest& a, GetVersionRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetVersionRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetVersionRequest* 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 GetVersionRequest& from); - void MergeFrom(const GetVersionRequest& 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(GetVersionRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetVersionRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fversion_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// GetVersionResponse - -// .flyteidl.admin.Version control_plane_version = 1; -inline bool GetVersionResponse::has_control_plane_version() const { - return this != internal_default_instance() && control_plane_version_ != nullptr; -} -inline void GetVersionResponse::clear_control_plane_version() { - if (GetArenaNoVirtual() == nullptr && control_plane_version_ != nullptr) { - delete control_plane_version_; - } - control_plane_version_ = nullptr; -} -inline const ::flyteidl::admin::Version& GetVersionResponse::control_plane_version() const { - const ::flyteidl::admin::Version* p = control_plane_version_; - // @@protoc_insertion_point(field_get:flyteidl.admin.GetVersionResponse.control_plane_version) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_Version_default_instance_); -} -inline ::flyteidl::admin::Version* GetVersionResponse::release_control_plane_version() { - // @@protoc_insertion_point(field_release:flyteidl.admin.GetVersionResponse.control_plane_version) - - ::flyteidl::admin::Version* temp = control_plane_version_; - control_plane_version_ = nullptr; - return temp; -} -inline ::flyteidl::admin::Version* GetVersionResponse::mutable_control_plane_version() { - - if (control_plane_version_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::Version>(GetArenaNoVirtual()); - control_plane_version_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.GetVersionResponse.control_plane_version) - return control_plane_version_; -} -inline void GetVersionResponse::set_allocated_control_plane_version(::flyteidl::admin::Version* control_plane_version) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete control_plane_version_; - } - if (control_plane_version) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - control_plane_version = ::google::protobuf::internal::GetOwnedMessage( - message_arena, control_plane_version, submessage_arena); - } - - } else { - - } - control_plane_version_ = control_plane_version; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.GetVersionResponse.control_plane_version) -} - -// ------------------------------------------------------------------- - -// Version - -// string Build = 1; -inline void Version::clear_build() { - build_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Version::build() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Version.Build) - return build_.GetNoArena(); -} -inline void Version::set_build(const ::std::string& value) { - - build_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Version.Build) -} -#if LANG_CXX11 -inline void Version::set_build(::std::string&& value) { - - build_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Version.Build) -} -#endif -inline void Version::set_build(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - build_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Version.Build) -} -inline void Version::set_build(const char* value, size_t size) { - - build_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Version.Build) -} -inline ::std::string* Version::mutable_build() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Version.Build) - return build_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Version::release_build() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Version.Build) - - return build_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Version::set_allocated_build(::std::string* build) { - if (build != nullptr) { - - } else { - - } - build_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Version.Build) -} - -// string Version = 2; -inline void Version::clear_version() { - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Version::version() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Version.Version) - return version_.GetNoArena(); -} -inline void Version::set_version(const ::std::string& value) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Version.Version) -} -#if LANG_CXX11 -inline void Version::set_version(::std::string&& value) { - - version_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Version.Version) -} -#endif -inline void Version::set_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Version.Version) -} -inline void Version::set_version(const char* value, size_t size) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Version.Version) -} -inline ::std::string* Version::mutable_version() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Version.Version) - return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Version::release_version() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Version.Version) - - return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Version::set_allocated_version(::std::string* version) { - if (version != nullptr) { - - } else { - - } - version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Version.Version) -} - -// string BuildTime = 3; -inline void Version::clear_buildtime() { - buildtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Version::buildtime() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Version.BuildTime) - return buildtime_.GetNoArena(); -} -inline void Version::set_buildtime(const ::std::string& value) { - - buildtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Version.BuildTime) -} -#if LANG_CXX11 -inline void Version::set_buildtime(::std::string&& value) { - - buildtime_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Version.BuildTime) -} -#endif -inline void Version::set_buildtime(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - buildtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Version.BuildTime) -} -inline void Version::set_buildtime(const char* value, size_t size) { - - buildtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Version.BuildTime) -} -inline ::std::string* Version::mutable_buildtime() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Version.BuildTime) - return buildtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Version::release_buildtime() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Version.BuildTime) - - return buildtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Version::set_allocated_buildtime(::std::string* buildtime) { - if (buildtime != nullptr) { - - } else { - - } - buildtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), buildtime); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Version.BuildTime) -} - -// ------------------------------------------------------------------- - -// GetVersionRequest - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fversion_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.grpc.pb.cc deleted file mode 100644 index 0ddae032f7..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/workflow.proto - -#include "flyteidl/admin/workflow.pb.h" -#include "flyteidl/admin/workflow.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.grpc.pb.h deleted file mode 100644 index 49ac7a56b8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/workflow.proto -#ifndef GRPC_flyteidl_2fadmin_2fworkflow_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fworkflow_2eproto__INCLUDED - -#include "flyteidl/admin/workflow.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fworkflow_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.pb.cc deleted file mode 100644 index f3b09dede9..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.pb.cc +++ /dev/null @@ -1,3573 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/workflow.proto - -#include "flyteidl/admin/workflow.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fdescription_5fentity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Workflow_flyteidl_2fadmin_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace admin { -class WorkflowCreateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowCreateRequest_default_instance_; -class WorkflowCreateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowCreateResponse_default_instance_; -class WorkflowDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Workflow_default_instance_; -class WorkflowListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowList_default_instance_; -class WorkflowSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowSpec_default_instance_; -class WorkflowClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowClosure_default_instance_; -class WorkflowErrorExistsDifferentStructureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowErrorExistsDifferentStructure_default_instance_; -class WorkflowErrorExistsIdenticalStructureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowErrorExistsIdenticalStructure_default_instance_; -class CreateWorkflowFailureReasonDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* exists_different_structure_; - const ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* exists_identical_structure_; -} _CreateWorkflowFailureReason_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsWorkflowCreateRequest_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowCreateRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowCreateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowCreateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowCreateRequest_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflowCreateRequest_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_WorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto.base,}}; - -static void InitDefaultsWorkflowCreateResponse_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowCreateResponse_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowCreateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowCreateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowCreateResponse_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowCreateResponse_flyteidl_2fadmin_2fworkflow_2eproto}, {}}; - -static void InitDefaultsWorkflow_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_Workflow_default_instance_; - new (ptr) ::flyteidl::admin::Workflow(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::Workflow::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Workflow_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflow_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_WorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto.base,}}; - -static void InitDefaultsWorkflowList_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowList_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowList_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowList_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_Workflow_flyteidl_2fadmin_2fworkflow_2eproto.base,}}; - -static void InitDefaultsWorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowSpec_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_DescriptionEntity_flyteidl_2fadmin_2fdescription_5fentity_2eproto.base,}}; - -static void InitDefaultsWorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowClosure_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsWorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowErrorExistsDifferentStructure_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowErrorExistsDifferentStructure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowErrorExistsDifferentStructure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsWorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowErrorExistsIdenticalStructure_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsCreateWorkflowFailureReason_flyteidl_2fadmin_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_CreateWorkflowFailureReason_default_instance_; - new (ptr) ::flyteidl::admin::CreateWorkflowFailureReason(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::CreateWorkflowFailureReason::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_CreateWorkflowFailureReason_flyteidl_2fadmin_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCreateWorkflowFailureReason_flyteidl_2fadmin_2fworkflow_2eproto}, { - &scc_info_WorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto.base, - &scc_info_WorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto.base,}}; - -void InitDefaults_flyteidl_2fadmin_2fworkflow_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowCreateRequest_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowCreateResponse_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Workflow_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowList_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateWorkflowFailureReason_flyteidl_2fadmin_2fworkflow_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[9]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fworkflow_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fworkflow_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fworkflow_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowCreateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowCreateRequest, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowCreateRequest, spec_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowCreateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Workflow, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Workflow, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Workflow, closure_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Workflow, short_description_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowList, workflows_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowList, token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSpec, template__), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSpec, sub_workflows_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSpec, description_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowClosure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowClosure, compiled_workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowClosure, created_at_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowErrorExistsDifferentStructure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowErrorExistsDifferentStructure, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowErrorExistsIdenticalStructure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowErrorExistsIdenticalStructure, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateWorkflowFailureReason, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateWorkflowFailureReason, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::admin::CreateWorkflowFailureReasonDefaultTypeInternal, exists_different_structure_), - offsetof(::flyteidl::admin::CreateWorkflowFailureReasonDefaultTypeInternal, exists_identical_structure_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::CreateWorkflowFailureReason, reason_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::WorkflowCreateRequest)}, - { 7, -1, sizeof(::flyteidl::admin::WorkflowCreateResponse)}, - { 12, -1, sizeof(::flyteidl::admin::Workflow)}, - { 20, -1, sizeof(::flyteidl::admin::WorkflowList)}, - { 27, -1, sizeof(::flyteidl::admin::WorkflowSpec)}, - { 35, -1, sizeof(::flyteidl::admin::WorkflowClosure)}, - { 42, -1, sizeof(::flyteidl::admin::WorkflowErrorExistsDifferentStructure)}, - { 48, -1, sizeof(::flyteidl::admin::WorkflowErrorExistsIdenticalStructure)}, - { 54, -1, sizeof(::flyteidl::admin::CreateWorkflowFailureReason)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_WorkflowCreateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowCreateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_Workflow_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowList_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowSpec_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowClosure_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowErrorExistsDifferentStructure_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowErrorExistsIdenticalStructure_default_instance_), - reinterpret_cast(&::flyteidl::admin::_CreateWorkflowFailureReason_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fworkflow_2eproto, "flyteidl/admin/workflow.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fworkflow_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto, 9, file_level_enum_descriptors_flyteidl_2fadmin_2fworkflow_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fworkflow_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fworkflow_2eproto[] = - "\n\035flyteidl/admin/workflow.proto\022\016flyteid" - "l.admin\032\034flyteidl/core/compiler.proto\032\036f" - "lyteidl/core/identifier.proto\032\034flyteidl/" - "core/workflow.proto\032\'flyteidl/admin/desc" - "ription_entity.proto\032\037google/protobuf/ti" - "mestamp.proto\"j\n\025WorkflowCreateRequest\022%" - "\n\002id\030\001 \001(\0132\031.flyteidl.core.Identifier\022*\n" - "\004spec\030\002 \001(\0132\034.flyteidl.admin.WorkflowSpe" - "c\"\030\n\026WorkflowCreateResponse\"~\n\010Workflow\022" - "%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identifier\0220" - "\n\007closure\030\002 \001(\0132\037.flyteidl.admin.Workflo" - "wClosure\022\031\n\021short_description\030\003 \001(\t\"J\n\014W" - "orkflowList\022+\n\tworkflows\030\001 \003(\0132\030.flyteid" - "l.admin.Workflow\022\r\n\005token\030\002 \001(\t\"\261\001\n\014Work" - "flowSpec\0221\n\010template\030\001 \001(\0132\037.flyteidl.co" - "re.WorkflowTemplate\0226\n\rsub_workflows\030\002 \003" - "(\0132\037.flyteidl.core.WorkflowTemplate\0226\n\013d" - "escription\030\003 \001(\0132!.flyteidl.admin.Descri" - "ptionEntity\"\204\001\n\017WorkflowClosure\022A\n\021compi" - "led_workflow\030\001 \001(\0132&.flyteidl.core.Compi" - "ledWorkflowClosure\022.\n\ncreated_at\030\002 \001(\0132\032" - ".google.protobuf.Timestamp\"N\n%WorkflowEr" - "rorExistsDifferentStructure\022%\n\002id\030\001 \001(\0132" - "\031.flyteidl.core.Identifier\"N\n%WorkflowEr" - "rorExistsIdenticalStructure\022%\n\002id\030\001 \001(\0132" - "\031.flyteidl.core.Identifier\"\341\001\n\033CreateWor" - "kflowFailureReason\022[\n\032exists_different_s" - "tructure\030\001 \001(\01325.flyteidl.admin.Workflow" - "ErrorExistsDifferentStructureH\000\022[\n\032exist" - "s_identical_structure\030\002 \001(\01325.flyteidl.a" - "dmin.WorkflowErrorExistsIdenticalStructu" - "reH\000B\010\n\006reasonB=Z;github.com/flyteorg/fl" - "yte/flyteidl/gen/pb-go/flyteidl/adminb\006p" - "roto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fworkflow_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fworkflow_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fworkflow_2eproto, - "flyteidl/admin/workflow.proto", &assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto, 1325, -}; - -void AddDescriptors_flyteidl_2fadmin_2fworkflow_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[5] = - { - ::AddDescriptors_flyteidl_2fcore_2fcompiler_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fworkflow_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fworkflow_2eproto, deps, 5); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fworkflow_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fworkflow_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void WorkflowCreateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowCreateRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_WorkflowCreateRequest_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::admin::WorkflowSpec*>( - ::flyteidl::admin::WorkflowSpec::internal_default_instance()); -} -class WorkflowCreateRequest::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const WorkflowCreateRequest* msg); - static const ::flyteidl::admin::WorkflowSpec& spec(const WorkflowCreateRequest* msg); -}; - -const ::flyteidl::core::Identifier& -WorkflowCreateRequest::HasBitSetters::id(const WorkflowCreateRequest* msg) { - return *msg->id_; -} -const ::flyteidl::admin::WorkflowSpec& -WorkflowCreateRequest::HasBitSetters::spec(const WorkflowCreateRequest* msg) { - return *msg->spec_; -} -void WorkflowCreateRequest::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowCreateRequest::kIdFieldNumber; -const int WorkflowCreateRequest::kSpecFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowCreateRequest::WorkflowCreateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowCreateRequest) -} -WorkflowCreateRequest::WorkflowCreateRequest(const WorkflowCreateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_spec()) { - spec_ = new ::flyteidl::admin::WorkflowSpec(*from.spec_); - } else { - spec_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowCreateRequest) -} - -void WorkflowCreateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowCreateRequest_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&spec_) - - reinterpret_cast(&id_)) + sizeof(spec_)); -} - -WorkflowCreateRequest::~WorkflowCreateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowCreateRequest) - SharedDtor(); -} - -void WorkflowCreateRequest::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete spec_; -} - -void WorkflowCreateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowCreateRequest& WorkflowCreateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowCreateRequest_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowCreateRequest::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.admin.WorkflowSpec spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowSpec::_InternalParse; - object = msg->mutable_spec(); - 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 WorkflowCreateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowCreateRequest) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.WorkflowSpec spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_spec())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowCreateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowCreateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowCreateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.WorkflowSpec spec = 2; - if (this->has_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::spec(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowCreateRequest) -} - -::google::protobuf::uint8* WorkflowCreateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.WorkflowSpec spec = 2; - if (this->has_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::spec(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowCreateRequest) - return target; -} - -size_t WorkflowCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowCreateRequest) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.WorkflowSpec spec = 2; - if (this->has_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *spec_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowCreateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowCreateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowCreateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowCreateRequest) - MergeFrom(*source); - } -} - -void WorkflowCreateRequest::MergeFrom(const WorkflowCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowCreateRequest) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_spec()) { - mutable_spec()->::flyteidl::admin::WorkflowSpec::MergeFrom(from.spec()); - } -} - -void WorkflowCreateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowCreateRequest::CopyFrom(const WorkflowCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowCreateRequest::IsInitialized() const { - return true; -} - -void WorkflowCreateRequest::Swap(WorkflowCreateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowCreateRequest::InternalSwap(WorkflowCreateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); - swap(spec_, other->spec_); -} - -::google::protobuf::Metadata WorkflowCreateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowCreateResponse::InitAsDefaultInstance() { -} -class WorkflowCreateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowCreateResponse::WorkflowCreateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowCreateResponse) -} -WorkflowCreateResponse::WorkflowCreateResponse(const WorkflowCreateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowCreateResponse) -} - -void WorkflowCreateResponse::SharedCtor() { -} - -WorkflowCreateResponse::~WorkflowCreateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowCreateResponse) - SharedDtor(); -} - -void WorkflowCreateResponse::SharedDtor() { -} - -void WorkflowCreateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowCreateResponse& WorkflowCreateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowCreateResponse_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowCreateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowCreateResponse) - ::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* WorkflowCreateResponse::_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 WorkflowCreateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowCreateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowCreateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowCreateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowCreateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowCreateResponse) -} - -::google::protobuf::uint8* WorkflowCreateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowCreateResponse) - return target; -} - -size_t WorkflowCreateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowCreateResponse) - 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 WorkflowCreateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowCreateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowCreateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowCreateResponse) - MergeFrom(*source); - } -} - -void WorkflowCreateResponse::MergeFrom(const WorkflowCreateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void WorkflowCreateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowCreateResponse::CopyFrom(const WorkflowCreateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowCreateResponse::IsInitialized() const { - return true; -} - -void WorkflowCreateResponse::Swap(WorkflowCreateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowCreateResponse::InternalSwap(WorkflowCreateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata WorkflowCreateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Workflow::InitAsDefaultInstance() { - ::flyteidl::admin::_Workflow_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::admin::_Workflow_default_instance_._instance.get_mutable()->closure_ = const_cast< ::flyteidl::admin::WorkflowClosure*>( - ::flyteidl::admin::WorkflowClosure::internal_default_instance()); -} -class Workflow::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const Workflow* msg); - static const ::flyteidl::admin::WorkflowClosure& closure(const Workflow* msg); -}; - -const ::flyteidl::core::Identifier& -Workflow::HasBitSetters::id(const Workflow* msg) { - return *msg->id_; -} -const ::flyteidl::admin::WorkflowClosure& -Workflow::HasBitSetters::closure(const Workflow* msg) { - return *msg->closure_; -} -void Workflow::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Workflow::kIdFieldNumber; -const int Workflow::kClosureFieldNumber; -const int Workflow::kShortDescriptionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Workflow::Workflow() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.Workflow) -} -Workflow::Workflow(const Workflow& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.short_description().size() > 0) { - short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_closure()) { - closure_ = new ::flyteidl::admin::WorkflowClosure(*from.closure_); - } else { - closure_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Workflow) -} - -void Workflow::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Workflow_flyteidl_2fadmin_2fworkflow_2eproto.base); - short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&closure_) - - reinterpret_cast(&id_)) + sizeof(closure_)); -} - -Workflow::~Workflow() { - // @@protoc_insertion_point(destructor:flyteidl.admin.Workflow) - SharedDtor(); -} - -void Workflow::SharedDtor() { - short_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete closure_; -} - -void Workflow::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Workflow& Workflow::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Workflow_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void Workflow::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Workflow) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Workflow::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.admin.WorkflowClosure closure = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowClosure::_InternalParse; - object = msg->mutable_closure(); - 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 short_description = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.Workflow.short_description"); - object = msg->mutable_short_description(); - 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 Workflow::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.Workflow) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.WorkflowClosure closure = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_closure())); - } else { - goto handle_unusual; - } - break; - } - - // string short_description = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_short_description())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.Workflow.short_description")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.Workflow) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.Workflow) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Workflow::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.Workflow) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.admin.WorkflowClosure closure = 2; - if (this->has_closure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::closure(this), output); - } - - // string short_description = 3; - if (this->short_description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Workflow.short_description"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->short_description(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.Workflow) -} - -::google::protobuf::uint8* Workflow::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Workflow) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.admin.WorkflowClosure closure = 2; - if (this->has_closure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::closure(this), target); - } - - // string short_description = 3; - if (this->short_description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->short_description().data(), static_cast(this->short_description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.Workflow.short_description"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->short_description(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Workflow) - return target; -} - -size_t Workflow::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Workflow) - 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 short_description = 3; - if (this->short_description().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->short_description()); - } - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.admin.WorkflowClosure closure = 2; - if (this->has_closure()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *closure_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Workflow::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Workflow) - GOOGLE_DCHECK_NE(&from, this); - const Workflow* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Workflow) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Workflow) - MergeFrom(*source); - } -} - -void Workflow::MergeFrom(const Workflow& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Workflow) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.short_description().size() > 0) { - - short_description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.short_description_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_closure()) { - mutable_closure()->::flyteidl::admin::WorkflowClosure::MergeFrom(from.closure()); - } -} - -void Workflow::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Workflow) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Workflow::CopyFrom(const Workflow& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Workflow) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Workflow::IsInitialized() const { - return true; -} - -void Workflow::Swap(Workflow* other) { - if (other == this) return; - InternalSwap(other); -} -void Workflow::InternalSwap(Workflow* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - short_description_.Swap(&other->short_description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(closure_, other->closure_); -} - -::google::protobuf::Metadata Workflow::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowList::InitAsDefaultInstance() { -} -class WorkflowList::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowList::kWorkflowsFieldNumber; -const int WorkflowList::kTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowList::WorkflowList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowList) -} -WorkflowList::WorkflowList(const WorkflowList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - workflows_(from.workflows_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowList) -} - -void WorkflowList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowList_flyteidl_2fadmin_2fworkflow_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -WorkflowList::~WorkflowList() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowList) - SharedDtor(); -} - -void WorkflowList::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void WorkflowList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowList& WorkflowList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowList_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - workflows_.Clear(); - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowList::_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.admin.Workflow workflows = 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::admin::Workflow::_InternalParse; - object = msg->add_workflows(); - 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; - } - // string token = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowList.token"); - object = msg->mutable_token(); - 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 WorkflowList::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowList) - 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.admin.Workflow workflows = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_workflows())); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowList.token")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Workflow workflows = 1; - for (unsigned int i = 0, - n = static_cast(this->workflows_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->workflows(static_cast(i)), - output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowList.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowList) -} - -::google::protobuf::uint8* WorkflowList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.admin.Workflow workflows = 1; - for (unsigned int i = 0, - n = static_cast(this->workflows_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->workflows(static_cast(i)), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowList.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowList) - return target; -} - -size_t WorkflowList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowList) - 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.admin.Workflow workflows = 1; - { - unsigned int count = static_cast(this->workflows_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->workflows(static_cast(i))); - } - } - - // string token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowList) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowList) - MergeFrom(*source); - } -} - -void WorkflowList::MergeFrom(const WorkflowList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - workflows_.MergeFrom(from.workflows_); - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } -} - -void WorkflowList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowList::CopyFrom(const WorkflowList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowList::IsInitialized() const { - return true; -} - -void WorkflowList::Swap(WorkflowList* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowList::InternalSwap(WorkflowList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&workflows_)->InternalSwap(CastToBase(&other->workflows_)); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata WorkflowList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowSpec::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowSpec_default_instance_._instance.get_mutable()->template__ = const_cast< ::flyteidl::core::WorkflowTemplate*>( - ::flyteidl::core::WorkflowTemplate::internal_default_instance()); - ::flyteidl::admin::_WorkflowSpec_default_instance_._instance.get_mutable()->description_ = const_cast< ::flyteidl::admin::DescriptionEntity*>( - ::flyteidl::admin::DescriptionEntity::internal_default_instance()); -} -class WorkflowSpec::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowTemplate& template_(const WorkflowSpec* msg); - static const ::flyteidl::admin::DescriptionEntity& description(const WorkflowSpec* msg); -}; - -const ::flyteidl::core::WorkflowTemplate& -WorkflowSpec::HasBitSetters::template_(const WorkflowSpec* msg) { - return *msg->template__; -} -const ::flyteidl::admin::DescriptionEntity& -WorkflowSpec::HasBitSetters::description(const WorkflowSpec* msg) { - return *msg->description_; -} -void WorkflowSpec::clear_template_() { - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; -} -void WorkflowSpec::clear_sub_workflows() { - sub_workflows_.Clear(); -} -void WorkflowSpec::clear_description() { - if (GetArenaNoVirtual() == nullptr && description_ != nullptr) { - delete description_; - } - description_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowSpec::kTemplateFieldNumber; -const int WorkflowSpec::kSubWorkflowsFieldNumber; -const int WorkflowSpec::kDescriptionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowSpec::WorkflowSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowSpec) -} -WorkflowSpec::WorkflowSpec(const WorkflowSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - sub_workflows_(from.sub_workflows_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_template_()) { - template__ = new ::flyteidl::core::WorkflowTemplate(*from.template__); - } else { - template__ = nullptr; - } - if (from.has_description()) { - description_ = new ::flyteidl::admin::DescriptionEntity(*from.description_); - } else { - description_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowSpec) -} - -void WorkflowSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::memset(&template__, 0, static_cast( - reinterpret_cast(&description_) - - reinterpret_cast(&template__)) + sizeof(description_)); -} - -WorkflowSpec::~WorkflowSpec() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowSpec) - SharedDtor(); -} - -void WorkflowSpec::SharedDtor() { - if (this != internal_default_instance()) delete template__; - if (this != internal_default_instance()) delete description_; -} - -void WorkflowSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowSpec& WorkflowSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowSpec_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - sub_workflows_.Clear(); - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; - if (GetArenaNoVirtual() == nullptr && description_ != nullptr) { - delete description_; - } - description_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowSpec::_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.WorkflowTemplate template = 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::WorkflowTemplate::_InternalParse; - object = msg->mutable_template_(); - 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; - } - // repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::WorkflowTemplate::_InternalParse; - object = msg->add_sub_workflows(); - 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) == 18 && (ptr += 1)); - break; - } - // .flyteidl.admin.DescriptionEntity description = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::DescriptionEntity::_InternalParse; - object = msg->mutable_description(); - 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 WorkflowSpec::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowSpec) - 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.WorkflowTemplate template = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_template_())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_sub_workflows())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.DescriptionEntity description = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_description())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowTemplate template = 1; - if (this->has_template_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::template_(this), output); - } - - // repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - for (unsigned int i = 0, - n = static_cast(this->sub_workflows_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->sub_workflows(static_cast(i)), - output); - } - - // .flyteidl.admin.DescriptionEntity description = 3; - if (this->has_description()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::description(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowSpec) -} - -::google::protobuf::uint8* WorkflowSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowTemplate template = 1; - if (this->has_template_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::template_(this), target); - } - - // repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - for (unsigned int i = 0, - n = static_cast(this->sub_workflows_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->sub_workflows(static_cast(i)), target); - } - - // .flyteidl.admin.DescriptionEntity description = 3; - if (this->has_description()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::description(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowSpec) - return target; -} - -size_t WorkflowSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowSpec) - 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.WorkflowTemplate sub_workflows = 2; - { - unsigned int count = static_cast(this->sub_workflows_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->sub_workflows(static_cast(i))); - } - } - - // .flyteidl.core.WorkflowTemplate template = 1; - if (this->has_template_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *template__); - } - - // .flyteidl.admin.DescriptionEntity description = 3; - if (this->has_description()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *description_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowSpec) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowSpec) - MergeFrom(*source); - } -} - -void WorkflowSpec::MergeFrom(const WorkflowSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - sub_workflows_.MergeFrom(from.sub_workflows_); - if (from.has_template_()) { - mutable_template_()->::flyteidl::core::WorkflowTemplate::MergeFrom(from.template_()); - } - if (from.has_description()) { - mutable_description()->::flyteidl::admin::DescriptionEntity::MergeFrom(from.description()); - } -} - -void WorkflowSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowSpec::CopyFrom(const WorkflowSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowSpec::IsInitialized() const { - return true; -} - -void WorkflowSpec::Swap(WorkflowSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowSpec::InternalSwap(WorkflowSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&sub_workflows_)->InternalSwap(CastToBase(&other->sub_workflows_)); - swap(template__, other->template__); - swap(description_, other->description_); -} - -::google::protobuf::Metadata WorkflowSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowClosure::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowClosure_default_instance_._instance.get_mutable()->compiled_workflow_ = const_cast< ::flyteidl::core::CompiledWorkflowClosure*>( - ::flyteidl::core::CompiledWorkflowClosure::internal_default_instance()); - ::flyteidl::admin::_WorkflowClosure_default_instance_._instance.get_mutable()->created_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class WorkflowClosure::HasBitSetters { - public: - static const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow(const WorkflowClosure* msg); - static const ::google::protobuf::Timestamp& created_at(const WorkflowClosure* msg); -}; - -const ::flyteidl::core::CompiledWorkflowClosure& -WorkflowClosure::HasBitSetters::compiled_workflow(const WorkflowClosure* msg) { - return *msg->compiled_workflow_; -} -const ::google::protobuf::Timestamp& -WorkflowClosure::HasBitSetters::created_at(const WorkflowClosure* msg) { - return *msg->created_at_; -} -void WorkflowClosure::clear_compiled_workflow() { - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; -} -void WorkflowClosure::clear_created_at() { - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowClosure::kCompiledWorkflowFieldNumber; -const int WorkflowClosure::kCreatedAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowClosure::WorkflowClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowClosure) -} -WorkflowClosure::WorkflowClosure(const WorkflowClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_compiled_workflow()) { - compiled_workflow_ = new ::flyteidl::core::CompiledWorkflowClosure(*from.compiled_workflow_); - } else { - compiled_workflow_ = nullptr; - } - if (from.has_created_at()) { - created_at_ = new ::google::protobuf::Timestamp(*from.created_at_); - } else { - created_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowClosure) -} - -void WorkflowClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto.base); - ::memset(&compiled_workflow_, 0, static_cast( - reinterpret_cast(&created_at_) - - reinterpret_cast(&compiled_workflow_)) + sizeof(created_at_)); -} - -WorkflowClosure::~WorkflowClosure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowClosure) - SharedDtor(); -} - -void WorkflowClosure::SharedDtor() { - if (this != internal_default_instance()) delete compiled_workflow_; - if (this != internal_default_instance()) delete created_at_; -} - -void WorkflowClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowClosure& WorkflowClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowClosure_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowClosure::_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.CompiledWorkflowClosure compiled_workflow = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CompiledWorkflowClosure::_InternalParse; - object = msg->mutable_compiled_workflow(); - 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; - } - // .google.protobuf.Timestamp created_at = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_created_at(); - 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 WorkflowClosure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowClosure) - 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.CompiledWorkflowClosure compiled_workflow = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_compiled_workflow())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp created_at = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_created_at())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - if (this->has_compiled_workflow()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::compiled_workflow(this), output); - } - - // .google.protobuf.Timestamp created_at = 2; - if (this->has_created_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::created_at(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowClosure) -} - -::google::protobuf::uint8* WorkflowClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - if (this->has_compiled_workflow()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::compiled_workflow(this), target); - } - - // .google.protobuf.Timestamp created_at = 2; - if (this->has_created_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::created_at(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowClosure) - return target; -} - -size_t WorkflowClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowClosure) - 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.CompiledWorkflowClosure compiled_workflow = 1; - if (this->has_compiled_workflow()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *compiled_workflow_); - } - - // .google.protobuf.Timestamp created_at = 2; - if (this->has_created_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *created_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowClosure) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowClosure) - MergeFrom(*source); - } -} - -void WorkflowClosure::MergeFrom(const WorkflowClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowClosure) - 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_compiled_workflow()) { - mutable_compiled_workflow()->::flyteidl::core::CompiledWorkflowClosure::MergeFrom(from.compiled_workflow()); - } - if (from.has_created_at()) { - mutable_created_at()->::google::protobuf::Timestamp::MergeFrom(from.created_at()); - } -} - -void WorkflowClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowClosure::CopyFrom(const WorkflowClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowClosure::IsInitialized() const { - return true; -} - -void WorkflowClosure::Swap(WorkflowClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowClosure::InternalSwap(WorkflowClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(compiled_workflow_, other->compiled_workflow_); - swap(created_at_, other->created_at_); -} - -::google::protobuf::Metadata WorkflowClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowErrorExistsDifferentStructure::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowErrorExistsDifferentStructure_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class WorkflowErrorExistsDifferentStructure::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const WorkflowErrorExistsDifferentStructure* msg); -}; - -const ::flyteidl::core::Identifier& -WorkflowErrorExistsDifferentStructure::HasBitSetters::id(const WorkflowErrorExistsDifferentStructure* msg) { - return *msg->id_; -} -void WorkflowErrorExistsDifferentStructure::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowErrorExistsDifferentStructure::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowErrorExistsDifferentStructure::WorkflowErrorExistsDifferentStructure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowErrorExistsDifferentStructure) -} -WorkflowErrorExistsDifferentStructure::WorkflowErrorExistsDifferentStructure(const WorkflowErrorExistsDifferentStructure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowErrorExistsDifferentStructure) -} - -void WorkflowErrorExistsDifferentStructure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto.base); - id_ = nullptr; -} - -WorkflowErrorExistsDifferentStructure::~WorkflowErrorExistsDifferentStructure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - SharedDtor(); -} - -void WorkflowErrorExistsDifferentStructure::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void WorkflowErrorExistsDifferentStructure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowErrorExistsDifferentStructure& WorkflowErrorExistsDifferentStructure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowErrorExistsDifferentStructure_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowErrorExistsDifferentStructure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowErrorExistsDifferentStructure::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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 WorkflowErrorExistsDifferentStructure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.WorkflowErrorExistsDifferentStructure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowErrorExistsDifferentStructure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.WorkflowErrorExistsDifferentStructure) -} - -::google::protobuf::uint8* WorkflowErrorExistsDifferentStructure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.WorkflowErrorExistsDifferentStructure) - return target; -} - -size_t WorkflowErrorExistsDifferentStructure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowErrorExistsDifferentStructure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowErrorExistsDifferentStructure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - MergeFrom(*source); - } -} - -void WorkflowErrorExistsDifferentStructure::MergeFrom(const WorkflowErrorExistsDifferentStructure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } -} - -void WorkflowErrorExistsDifferentStructure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowErrorExistsDifferentStructure::CopyFrom(const WorkflowErrorExistsDifferentStructure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowErrorExistsDifferentStructure::IsInitialized() const { - return true; -} - -void WorkflowErrorExistsDifferentStructure::Swap(WorkflowErrorExistsDifferentStructure* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowErrorExistsDifferentStructure::InternalSwap(WorkflowErrorExistsDifferentStructure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata WorkflowErrorExistsDifferentStructure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowErrorExistsIdenticalStructure::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowErrorExistsIdenticalStructure_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class WorkflowErrorExistsIdenticalStructure::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const WorkflowErrorExistsIdenticalStructure* msg); -}; - -const ::flyteidl::core::Identifier& -WorkflowErrorExistsIdenticalStructure::HasBitSetters::id(const WorkflowErrorExistsIdenticalStructure* msg) { - return *msg->id_; -} -void WorkflowErrorExistsIdenticalStructure::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowErrorExistsIdenticalStructure::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowErrorExistsIdenticalStructure::WorkflowErrorExistsIdenticalStructure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) -} -WorkflowErrorExistsIdenticalStructure::WorkflowErrorExistsIdenticalStructure(const WorkflowErrorExistsIdenticalStructure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) -} - -void WorkflowErrorExistsIdenticalStructure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto.base); - id_ = nullptr; -} - -WorkflowErrorExistsIdenticalStructure::~WorkflowErrorExistsIdenticalStructure() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - SharedDtor(); -} - -void WorkflowErrorExistsIdenticalStructure::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void WorkflowErrorExistsIdenticalStructure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowErrorExistsIdenticalStructure& WorkflowErrorExistsIdenticalStructure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowErrorExistsIdenticalStructure_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowErrorExistsIdenticalStructure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowErrorExistsIdenticalStructure::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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 WorkflowErrorExistsIdenticalStructure::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.admin.WorkflowErrorExistsIdenticalStructure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowErrorExistsIdenticalStructure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.admin.WorkflowErrorExistsIdenticalStructure) -} - -::google::protobuf::uint8* WorkflowErrorExistsIdenticalStructure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.admin.WorkflowErrorExistsIdenticalStructure) - return target; -} - -size_t WorkflowErrorExistsIdenticalStructure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - 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.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowErrorExistsIdenticalStructure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowErrorExistsIdenticalStructure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - MergeFrom(*source); - } -} - -void WorkflowErrorExistsIdenticalStructure::MergeFrom(const WorkflowErrorExistsIdenticalStructure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - 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_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } -} - -void WorkflowErrorExistsIdenticalStructure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowErrorExistsIdenticalStructure::CopyFrom(const WorkflowErrorExistsIdenticalStructure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowErrorExistsIdenticalStructure::IsInitialized() const { - return true; -} - -void WorkflowErrorExistsIdenticalStructure::Swap(WorkflowErrorExistsIdenticalStructure* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowErrorExistsIdenticalStructure::InternalSwap(WorkflowErrorExistsIdenticalStructure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata WorkflowErrorExistsIdenticalStructure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateWorkflowFailureReason::InitAsDefaultInstance() { - ::flyteidl::admin::_CreateWorkflowFailureReason_default_instance_.exists_different_structure_ = const_cast< ::flyteidl::admin::WorkflowErrorExistsDifferentStructure*>( - ::flyteidl::admin::WorkflowErrorExistsDifferentStructure::internal_default_instance()); - ::flyteidl::admin::_CreateWorkflowFailureReason_default_instance_.exists_identical_structure_ = const_cast< ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure*>( - ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure::internal_default_instance()); -} -class CreateWorkflowFailureReason::HasBitSetters { - public: - static const ::flyteidl::admin::WorkflowErrorExistsDifferentStructure& exists_different_structure(const CreateWorkflowFailureReason* msg); - static const ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure& exists_identical_structure(const CreateWorkflowFailureReason* msg); -}; - -const ::flyteidl::admin::WorkflowErrorExistsDifferentStructure& -CreateWorkflowFailureReason::HasBitSetters::exists_different_structure(const CreateWorkflowFailureReason* msg) { - return *msg->reason_.exists_different_structure_; -} -const ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure& -CreateWorkflowFailureReason::HasBitSetters::exists_identical_structure(const CreateWorkflowFailureReason* msg) { - return *msg->reason_.exists_identical_structure_; -} -void CreateWorkflowFailureReason::set_allocated_exists_different_structure(::flyteidl::admin::WorkflowErrorExistsDifferentStructure* exists_different_structure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_reason(); - if (exists_different_structure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - exists_different_structure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, exists_different_structure, submessage_arena); - } - set_has_exists_different_structure(); - reason_.exists_different_structure_ = exists_different_structure; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateWorkflowFailureReason.exists_different_structure) -} -void CreateWorkflowFailureReason::set_allocated_exists_identical_structure(::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* exists_identical_structure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_reason(); - if (exists_identical_structure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - exists_identical_structure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, exists_identical_structure, submessage_arena); - } - set_has_exists_identical_structure(); - reason_.exists_identical_structure_ = exists_identical_structure; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.CreateWorkflowFailureReason.exists_identical_structure) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateWorkflowFailureReason::kExistsDifferentStructureFieldNumber; -const int CreateWorkflowFailureReason::kExistsIdenticalStructureFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateWorkflowFailureReason::CreateWorkflowFailureReason() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.CreateWorkflowFailureReason) -} -CreateWorkflowFailureReason::CreateWorkflowFailureReason(const CreateWorkflowFailureReason& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_reason(); - switch (from.reason_case()) { - case kExistsDifferentStructure: { - mutable_exists_different_structure()->::flyteidl::admin::WorkflowErrorExistsDifferentStructure::MergeFrom(from.exists_different_structure()); - break; - } - case kExistsIdenticalStructure: { - mutable_exists_identical_structure()->::flyteidl::admin::WorkflowErrorExistsIdenticalStructure::MergeFrom(from.exists_identical_structure()); - break; - } - case REASON_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.CreateWorkflowFailureReason) -} - -void CreateWorkflowFailureReason::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateWorkflowFailureReason_flyteidl_2fadmin_2fworkflow_2eproto.base); - clear_has_reason(); -} - -CreateWorkflowFailureReason::~CreateWorkflowFailureReason() { - // @@protoc_insertion_point(destructor:flyteidl.admin.CreateWorkflowFailureReason) - SharedDtor(); -} - -void CreateWorkflowFailureReason::SharedDtor() { - if (has_reason()) { - clear_reason(); - } -} - -void CreateWorkflowFailureReason::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateWorkflowFailureReason& CreateWorkflowFailureReason::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateWorkflowFailureReason_flyteidl_2fadmin_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void CreateWorkflowFailureReason::clear_reason() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.CreateWorkflowFailureReason) - switch (reason_case()) { - case kExistsDifferentStructure: { - delete reason_.exists_different_structure_; - break; - } - case kExistsIdenticalStructure: { - delete reason_.exists_identical_structure_; - break; - } - case REASON_NOT_SET: { - break; - } - } - _oneof_case_[0] = REASON_NOT_SET; -} - - -void CreateWorkflowFailureReason::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.CreateWorkflowFailureReason) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_reason(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateWorkflowFailureReason::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowErrorExistsDifferentStructure::_InternalParse; - object = msg->mutable_exists_different_structure(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure::_InternalParse; - object = msg->mutable_exists_identical_structure(); - 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 CreateWorkflowFailureReason::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.CreateWorkflowFailureReason) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_exists_different_structure())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_exists_identical_structure())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.CreateWorkflowFailureReason) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.CreateWorkflowFailureReason) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateWorkflowFailureReason::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.CreateWorkflowFailureReason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - if (has_exists_different_structure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::exists_different_structure(this), output); - } - - // .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - if (has_exists_identical_structure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::exists_identical_structure(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.CreateWorkflowFailureReason) -} - -::google::protobuf::uint8* CreateWorkflowFailureReason::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.CreateWorkflowFailureReason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - if (has_exists_different_structure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::exists_different_structure(this), target); - } - - // .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - if (has_exists_identical_structure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::exists_identical_structure(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.CreateWorkflowFailureReason) - return target; -} - -size_t CreateWorkflowFailureReason::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.CreateWorkflowFailureReason) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (reason_case()) { - // .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - case kExistsDifferentStructure: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reason_.exists_different_structure_); - break; - } - // .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - case kExistsIdenticalStructure: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reason_.exists_identical_structure_); - break; - } - case REASON_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateWorkflowFailureReason::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.CreateWorkflowFailureReason) - GOOGLE_DCHECK_NE(&from, this); - const CreateWorkflowFailureReason* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.CreateWorkflowFailureReason) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.CreateWorkflowFailureReason) - MergeFrom(*source); - } -} - -void CreateWorkflowFailureReason::MergeFrom(const CreateWorkflowFailureReason& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.CreateWorkflowFailureReason) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.reason_case()) { - case kExistsDifferentStructure: { - mutable_exists_different_structure()->::flyteidl::admin::WorkflowErrorExistsDifferentStructure::MergeFrom(from.exists_different_structure()); - break; - } - case kExistsIdenticalStructure: { - mutable_exists_identical_structure()->::flyteidl::admin::WorkflowErrorExistsIdenticalStructure::MergeFrom(from.exists_identical_structure()); - break; - } - case REASON_NOT_SET: { - break; - } - } -} - -void CreateWorkflowFailureReason::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.CreateWorkflowFailureReason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateWorkflowFailureReason::CopyFrom(const CreateWorkflowFailureReason& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.CreateWorkflowFailureReason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateWorkflowFailureReason::IsInitialized() const { - return true; -} - -void CreateWorkflowFailureReason::Swap(CreateWorkflowFailureReason* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateWorkflowFailureReason::InternalSwap(CreateWorkflowFailureReason* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(reason_, other->reason_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata CreateWorkflowFailureReason::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowCreateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowCreateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowCreateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Workflow* Arena::CreateMaybeMessage< ::flyteidl::admin::Workflow >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Workflow >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowList* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowSpec >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowClosure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowErrorExistsDifferentStructure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowErrorExistsDifferentStructure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::CreateWorkflowFailureReason* Arena::CreateMaybeMessage< ::flyteidl::admin::CreateWorkflowFailureReason >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::CreateWorkflowFailureReason >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.pb.h deleted file mode 100644 index ffed86790b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow.pb.h +++ /dev/null @@ -1,2030 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/workflow.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/compiler.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/workflow.pb.h" -#include "flyteidl/admin/description_entity.pb.h" -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fworkflow_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[9] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fworkflow_2eproto(); -namespace flyteidl { -namespace admin { -class CreateWorkflowFailureReason; -class CreateWorkflowFailureReasonDefaultTypeInternal; -extern CreateWorkflowFailureReasonDefaultTypeInternal _CreateWorkflowFailureReason_default_instance_; -class Workflow; -class WorkflowDefaultTypeInternal; -extern WorkflowDefaultTypeInternal _Workflow_default_instance_; -class WorkflowClosure; -class WorkflowClosureDefaultTypeInternal; -extern WorkflowClosureDefaultTypeInternal _WorkflowClosure_default_instance_; -class WorkflowCreateRequest; -class WorkflowCreateRequestDefaultTypeInternal; -extern WorkflowCreateRequestDefaultTypeInternal _WorkflowCreateRequest_default_instance_; -class WorkflowCreateResponse; -class WorkflowCreateResponseDefaultTypeInternal; -extern WorkflowCreateResponseDefaultTypeInternal _WorkflowCreateResponse_default_instance_; -class WorkflowErrorExistsDifferentStructure; -class WorkflowErrorExistsDifferentStructureDefaultTypeInternal; -extern WorkflowErrorExistsDifferentStructureDefaultTypeInternal _WorkflowErrorExistsDifferentStructure_default_instance_; -class WorkflowErrorExistsIdenticalStructure; -class WorkflowErrorExistsIdenticalStructureDefaultTypeInternal; -extern WorkflowErrorExistsIdenticalStructureDefaultTypeInternal _WorkflowErrorExistsIdenticalStructure_default_instance_; -class WorkflowList; -class WorkflowListDefaultTypeInternal; -extern WorkflowListDefaultTypeInternal _WorkflowList_default_instance_; -class WorkflowSpec; -class WorkflowSpecDefaultTypeInternal; -extern WorkflowSpecDefaultTypeInternal _WorkflowSpec_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::CreateWorkflowFailureReason* Arena::CreateMaybeMessage<::flyteidl::admin::CreateWorkflowFailureReason>(Arena*); -template<> ::flyteidl::admin::Workflow* Arena::CreateMaybeMessage<::flyteidl::admin::Workflow>(Arena*); -template<> ::flyteidl::admin::WorkflowClosure* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowClosure>(Arena*); -template<> ::flyteidl::admin::WorkflowCreateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowCreateRequest>(Arena*); -template<> ::flyteidl::admin::WorkflowCreateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowCreateResponse>(Arena*); -template<> ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowErrorExistsDifferentStructure>(Arena*); -template<> ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowErrorExistsIdenticalStructure>(Arena*); -template<> ::flyteidl::admin::WorkflowList* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowList>(Arena*); -template<> ::flyteidl::admin::WorkflowSpec* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowSpec>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class WorkflowCreateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowCreateRequest) */ { - public: - WorkflowCreateRequest(); - virtual ~WorkflowCreateRequest(); - - WorkflowCreateRequest(const WorkflowCreateRequest& from); - - inline WorkflowCreateRequest& operator=(const WorkflowCreateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowCreateRequest(WorkflowCreateRequest&& from) noexcept - : WorkflowCreateRequest() { - *this = ::std::move(from); - } - - inline WorkflowCreateRequest& operator=(WorkflowCreateRequest&& 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 WorkflowCreateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowCreateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(WorkflowCreateRequest* other); - friend void swap(WorkflowCreateRequest& a, WorkflowCreateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowCreateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowCreateRequest* 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 WorkflowCreateRequest& from); - void MergeFrom(const WorkflowCreateRequest& 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(WorkflowCreateRequest* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.WorkflowSpec spec = 2; - bool has_spec() const; - void clear_spec(); - static const int kSpecFieldNumber = 2; - const ::flyteidl::admin::WorkflowSpec& spec() const; - ::flyteidl::admin::WorkflowSpec* release_spec(); - ::flyteidl::admin::WorkflowSpec* mutable_spec(); - void set_allocated_spec(::flyteidl::admin::WorkflowSpec* spec); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowCreateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::admin::WorkflowSpec* spec_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowCreateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowCreateResponse) */ { - public: - WorkflowCreateResponse(); - virtual ~WorkflowCreateResponse(); - - WorkflowCreateResponse(const WorkflowCreateResponse& from); - - inline WorkflowCreateResponse& operator=(const WorkflowCreateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowCreateResponse(WorkflowCreateResponse&& from) noexcept - : WorkflowCreateResponse() { - *this = ::std::move(from); - } - - inline WorkflowCreateResponse& operator=(WorkflowCreateResponse&& 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 WorkflowCreateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowCreateResponse* internal_default_instance() { - return reinterpret_cast( - &_WorkflowCreateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(WorkflowCreateResponse* other); - friend void swap(WorkflowCreateResponse& a, WorkflowCreateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowCreateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowCreateResponse* 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 WorkflowCreateResponse& from); - void MergeFrom(const WorkflowCreateResponse& 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(WorkflowCreateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowCreateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class Workflow final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Workflow) */ { - public: - Workflow(); - virtual ~Workflow(); - - Workflow(const Workflow& from); - - inline Workflow& operator=(const Workflow& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Workflow(Workflow&& from) noexcept - : Workflow() { - *this = ::std::move(from); - } - - inline Workflow& operator=(Workflow&& 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 Workflow& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Workflow* internal_default_instance() { - return reinterpret_cast( - &_Workflow_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(Workflow* other); - friend void swap(Workflow& a, Workflow& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Workflow* New() const final { - return CreateMaybeMessage(nullptr); - } - - Workflow* 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 Workflow& from); - void MergeFrom(const Workflow& 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(Workflow* 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 short_description = 3; - void clear_short_description(); - static const int kShortDescriptionFieldNumber = 3; - const ::std::string& short_description() const; - void set_short_description(const ::std::string& value); - #if LANG_CXX11 - void set_short_description(::std::string&& value); - #endif - void set_short_description(const char* value); - void set_short_description(const char* value, size_t size); - ::std::string* mutable_short_description(); - ::std::string* release_short_description(); - void set_allocated_short_description(::std::string* short_description); - - // .flyteidl.core.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.admin.WorkflowClosure closure = 2; - bool has_closure() const; - void clear_closure(); - static const int kClosureFieldNumber = 2; - const ::flyteidl::admin::WorkflowClosure& closure() const; - ::flyteidl::admin::WorkflowClosure* release_closure(); - ::flyteidl::admin::WorkflowClosure* mutable_closure(); - void set_allocated_closure(::flyteidl::admin::WorkflowClosure* closure); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Workflow) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr short_description_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::admin::WorkflowClosure* closure_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowList) */ { - public: - WorkflowList(); - virtual ~WorkflowList(); - - WorkflowList(const WorkflowList& from); - - inline WorkflowList& operator=(const WorkflowList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowList(WorkflowList&& from) noexcept - : WorkflowList() { - *this = ::std::move(from); - } - - inline WorkflowList& operator=(WorkflowList&& 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 WorkflowList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowList* internal_default_instance() { - return reinterpret_cast( - &_WorkflowList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(WorkflowList* other); - friend void swap(WorkflowList& a, WorkflowList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowList* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowList* 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 WorkflowList& from); - void MergeFrom(const WorkflowList& 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(WorkflowList* 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.admin.Workflow workflows = 1; - int workflows_size() const; - void clear_workflows(); - static const int kWorkflowsFieldNumber = 1; - ::flyteidl::admin::Workflow* mutable_workflows(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Workflow >* - mutable_workflows(); - const ::flyteidl::admin::Workflow& workflows(int index) const; - ::flyteidl::admin::Workflow* add_workflows(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Workflow >& - workflows() const; - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Workflow > workflows_; - ::google::protobuf::internal::ArenaStringPtr token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowSpec) */ { - public: - WorkflowSpec(); - virtual ~WorkflowSpec(); - - WorkflowSpec(const WorkflowSpec& from); - - inline WorkflowSpec& operator=(const WorkflowSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowSpec(WorkflowSpec&& from) noexcept - : WorkflowSpec() { - *this = ::std::move(from); - } - - inline WorkflowSpec& operator=(WorkflowSpec&& 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 WorkflowSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowSpec* internal_default_instance() { - return reinterpret_cast( - &_WorkflowSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(WorkflowSpec* other); - friend void swap(WorkflowSpec& a, WorkflowSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowSpec* 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 WorkflowSpec& from); - void MergeFrom(const WorkflowSpec& 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(WorkflowSpec* 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.WorkflowTemplate sub_workflows = 2; - int sub_workflows_size() const; - void clear_sub_workflows(); - static const int kSubWorkflowsFieldNumber = 2; - ::flyteidl::core::WorkflowTemplate* mutable_sub_workflows(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >* - mutable_sub_workflows(); - const ::flyteidl::core::WorkflowTemplate& sub_workflows(int index) const; - ::flyteidl::core::WorkflowTemplate* add_sub_workflows(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >& - sub_workflows() const; - - // .flyteidl.core.WorkflowTemplate template = 1; - bool has_template_() const; - void clear_template_(); - static const int kTemplateFieldNumber = 1; - const ::flyteidl::core::WorkflowTemplate& template_() const; - ::flyteidl::core::WorkflowTemplate* release_template_(); - ::flyteidl::core::WorkflowTemplate* mutable_template_(); - void set_allocated_template_(::flyteidl::core::WorkflowTemplate* template_); - - // .flyteidl.admin.DescriptionEntity description = 3; - bool has_description() const; - void clear_description(); - static const int kDescriptionFieldNumber = 3; - const ::flyteidl::admin::DescriptionEntity& description() const; - ::flyteidl::admin::DescriptionEntity* release_description(); - ::flyteidl::admin::DescriptionEntity* mutable_description(); - void set_allocated_description(::flyteidl::admin::DescriptionEntity* description); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate > sub_workflows_; - ::flyteidl::core::WorkflowTemplate* template__; - ::flyteidl::admin::DescriptionEntity* description_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowClosure) */ { - public: - WorkflowClosure(); - virtual ~WorkflowClosure(); - - WorkflowClosure(const WorkflowClosure& from); - - inline WorkflowClosure& operator=(const WorkflowClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowClosure(WorkflowClosure&& from) noexcept - : WorkflowClosure() { - *this = ::std::move(from); - } - - inline WorkflowClosure& operator=(WorkflowClosure&& 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 WorkflowClosure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowClosure* internal_default_instance() { - return reinterpret_cast( - &_WorkflowClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(WorkflowClosure* other); - friend void swap(WorkflowClosure& a, WorkflowClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowClosure* 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 WorkflowClosure& from); - void MergeFrom(const WorkflowClosure& 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(WorkflowClosure* 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.CompiledWorkflowClosure compiled_workflow = 1; - bool has_compiled_workflow() const; - void clear_compiled_workflow(); - static const int kCompiledWorkflowFieldNumber = 1; - const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow() const; - ::flyteidl::core::CompiledWorkflowClosure* release_compiled_workflow(); - ::flyteidl::core::CompiledWorkflowClosure* mutable_compiled_workflow(); - void set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow); - - // .google.protobuf.Timestamp created_at = 2; - bool has_created_at() const; - void clear_created_at(); - static const int kCreatedAtFieldNumber = 2; - 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:flyteidl.admin.WorkflowClosure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::CompiledWorkflowClosure* compiled_workflow_; - ::google::protobuf::Timestamp* created_at_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowErrorExistsDifferentStructure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowErrorExistsDifferentStructure) */ { - public: - WorkflowErrorExistsDifferentStructure(); - virtual ~WorkflowErrorExistsDifferentStructure(); - - WorkflowErrorExistsDifferentStructure(const WorkflowErrorExistsDifferentStructure& from); - - inline WorkflowErrorExistsDifferentStructure& operator=(const WorkflowErrorExistsDifferentStructure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowErrorExistsDifferentStructure(WorkflowErrorExistsDifferentStructure&& from) noexcept - : WorkflowErrorExistsDifferentStructure() { - *this = ::std::move(from); - } - - inline WorkflowErrorExistsDifferentStructure& operator=(WorkflowErrorExistsDifferentStructure&& 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 WorkflowErrorExistsDifferentStructure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowErrorExistsDifferentStructure* internal_default_instance() { - return reinterpret_cast( - &_WorkflowErrorExistsDifferentStructure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(WorkflowErrorExistsDifferentStructure* other); - friend void swap(WorkflowErrorExistsDifferentStructure& a, WorkflowErrorExistsDifferentStructure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowErrorExistsDifferentStructure* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowErrorExistsDifferentStructure* 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 WorkflowErrorExistsDifferentStructure& from); - void MergeFrom(const WorkflowErrorExistsDifferentStructure& 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(WorkflowErrorExistsDifferentStructure* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowErrorExistsIdenticalStructure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) */ { - public: - WorkflowErrorExistsIdenticalStructure(); - virtual ~WorkflowErrorExistsIdenticalStructure(); - - WorkflowErrorExistsIdenticalStructure(const WorkflowErrorExistsIdenticalStructure& from); - - inline WorkflowErrorExistsIdenticalStructure& operator=(const WorkflowErrorExistsIdenticalStructure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowErrorExistsIdenticalStructure(WorkflowErrorExistsIdenticalStructure&& from) noexcept - : WorkflowErrorExistsIdenticalStructure() { - *this = ::std::move(from); - } - - inline WorkflowErrorExistsIdenticalStructure& operator=(WorkflowErrorExistsIdenticalStructure&& 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 WorkflowErrorExistsIdenticalStructure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowErrorExistsIdenticalStructure* internal_default_instance() { - return reinterpret_cast( - &_WorkflowErrorExistsIdenticalStructure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(WorkflowErrorExistsIdenticalStructure* other); - friend void swap(WorkflowErrorExistsIdenticalStructure& a, WorkflowErrorExistsIdenticalStructure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowErrorExistsIdenticalStructure* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowErrorExistsIdenticalStructure* 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 WorkflowErrorExistsIdenticalStructure& from); - void MergeFrom(const WorkflowErrorExistsIdenticalStructure& 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(WorkflowErrorExistsIdenticalStructure* 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.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateWorkflowFailureReason final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.CreateWorkflowFailureReason) */ { - public: - CreateWorkflowFailureReason(); - virtual ~CreateWorkflowFailureReason(); - - CreateWorkflowFailureReason(const CreateWorkflowFailureReason& from); - - inline CreateWorkflowFailureReason& operator=(const CreateWorkflowFailureReason& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateWorkflowFailureReason(CreateWorkflowFailureReason&& from) noexcept - : CreateWorkflowFailureReason() { - *this = ::std::move(from); - } - - inline CreateWorkflowFailureReason& operator=(CreateWorkflowFailureReason&& 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 CreateWorkflowFailureReason& default_instance(); - - enum ReasonCase { - kExistsDifferentStructure = 1, - kExistsIdenticalStructure = 2, - REASON_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateWorkflowFailureReason* internal_default_instance() { - return reinterpret_cast( - &_CreateWorkflowFailureReason_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(CreateWorkflowFailureReason* other); - friend void swap(CreateWorkflowFailureReason& a, CreateWorkflowFailureReason& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateWorkflowFailureReason* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateWorkflowFailureReason* 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 CreateWorkflowFailureReason& from); - void MergeFrom(const CreateWorkflowFailureReason& 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(CreateWorkflowFailureReason* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - bool has_exists_different_structure() const; - void clear_exists_different_structure(); - static const int kExistsDifferentStructureFieldNumber = 1; - const ::flyteidl::admin::WorkflowErrorExistsDifferentStructure& exists_different_structure() const; - ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* release_exists_different_structure(); - ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* mutable_exists_different_structure(); - void set_allocated_exists_different_structure(::flyteidl::admin::WorkflowErrorExistsDifferentStructure* exists_different_structure); - - // .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - bool has_exists_identical_structure() const; - void clear_exists_identical_structure(); - static const int kExistsIdenticalStructureFieldNumber = 2; - const ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure& exists_identical_structure() const; - ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* release_exists_identical_structure(); - ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* mutable_exists_identical_structure(); - void set_allocated_exists_identical_structure(::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* exists_identical_structure); - - void clear_reason(); - ReasonCase reason_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.admin.CreateWorkflowFailureReason) - private: - class HasBitSetters; - void set_has_exists_different_structure(); - void set_has_exists_identical_structure(); - - inline bool has_reason() const; - inline void clear_has_reason(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ReasonUnion { - ReasonUnion() {} - ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* exists_different_structure_; - ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* exists_identical_structure_; - } reason_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// WorkflowCreateRequest - -// .flyteidl.core.Identifier id = 1; -inline bool WorkflowCreateRequest::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& WorkflowCreateRequest::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowCreateRequest.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* WorkflowCreateRequest::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowCreateRequest.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* WorkflowCreateRequest::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowCreateRequest.id) - return id_; -} -inline void WorkflowCreateRequest::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowCreateRequest.id) -} - -// .flyteidl.admin.WorkflowSpec spec = 2; -inline bool WorkflowCreateRequest::has_spec() const { - return this != internal_default_instance() && spec_ != nullptr; -} -inline void WorkflowCreateRequest::clear_spec() { - if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { - delete spec_; - } - spec_ = nullptr; -} -inline const ::flyteidl::admin::WorkflowSpec& WorkflowCreateRequest::spec() const { - const ::flyteidl::admin::WorkflowSpec* p = spec_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowCreateRequest.spec) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_WorkflowSpec_default_instance_); -} -inline ::flyteidl::admin::WorkflowSpec* WorkflowCreateRequest::release_spec() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowCreateRequest.spec) - - ::flyteidl::admin::WorkflowSpec* temp = spec_; - spec_ = nullptr; - return temp; -} -inline ::flyteidl::admin::WorkflowSpec* WorkflowCreateRequest::mutable_spec() { - - if (spec_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::WorkflowSpec>(GetArenaNoVirtual()); - spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowCreateRequest.spec) - return spec_; -} -inline void WorkflowCreateRequest::set_allocated_spec(::flyteidl::admin::WorkflowSpec* spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete spec_; - } - if (spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, spec, submessage_arena); - } - - } else { - - } - spec_ = spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowCreateRequest.spec) -} - -// ------------------------------------------------------------------- - -// WorkflowCreateResponse - -// ------------------------------------------------------------------- - -// Workflow - -// .flyteidl.core.Identifier id = 1; -inline bool Workflow::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& Workflow::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Workflow.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* Workflow::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Workflow.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* Workflow::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Workflow.id) - return id_; -} -inline void Workflow::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Workflow.id) -} - -// .flyteidl.admin.WorkflowClosure closure = 2; -inline bool Workflow::has_closure() const { - return this != internal_default_instance() && closure_ != nullptr; -} -inline void Workflow::clear_closure() { - if (GetArenaNoVirtual() == nullptr && closure_ != nullptr) { - delete closure_; - } - closure_ = nullptr; -} -inline const ::flyteidl::admin::WorkflowClosure& Workflow::closure() const { - const ::flyteidl::admin::WorkflowClosure* p = closure_; - // @@protoc_insertion_point(field_get:flyteidl.admin.Workflow.closure) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_WorkflowClosure_default_instance_); -} -inline ::flyteidl::admin::WorkflowClosure* Workflow::release_closure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Workflow.closure) - - ::flyteidl::admin::WorkflowClosure* temp = closure_; - closure_ = nullptr; - return temp; -} -inline ::flyteidl::admin::WorkflowClosure* Workflow::mutable_closure() { - - if (closure_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::WorkflowClosure>(GetArenaNoVirtual()); - closure_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Workflow.closure) - return closure_; -} -inline void Workflow::set_allocated_closure(::flyteidl::admin::WorkflowClosure* closure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete closure_; - } - if (closure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - closure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, closure, submessage_arena); - } - - } else { - - } - closure_ = closure; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Workflow.closure) -} - -// string short_description = 3; -inline void Workflow::clear_short_description() { - short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Workflow::short_description() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.Workflow.short_description) - return short_description_.GetNoArena(); -} -inline void Workflow::set_short_description(const ::std::string& value) { - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.Workflow.short_description) -} -#if LANG_CXX11 -inline void Workflow::set_short_description(::std::string&& value) { - - short_description_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Workflow.short_description) -} -#endif -inline void Workflow::set_short_description(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.Workflow.short_description) -} -inline void Workflow::set_short_description(const char* value, size_t size) { - - short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Workflow.short_description) -} -inline ::std::string* Workflow::mutable_short_description() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.Workflow.short_description) - return short_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Workflow::release_short_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.Workflow.short_description) - - return short_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Workflow::set_allocated_short_description(::std::string* short_description) { - if (short_description != nullptr) { - - } else { - - } - short_description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), short_description); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Workflow.short_description) -} - -// ------------------------------------------------------------------- - -// WorkflowList - -// repeated .flyteidl.admin.Workflow workflows = 1; -inline int WorkflowList::workflows_size() const { - return workflows_.size(); -} -inline void WorkflowList::clear_workflows() { - workflows_.Clear(); -} -inline ::flyteidl::admin::Workflow* WorkflowList::mutable_workflows(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowList.workflows) - return workflows_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Workflow >* -WorkflowList::mutable_workflows() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.WorkflowList.workflows) - return &workflows_; -} -inline const ::flyteidl::admin::Workflow& WorkflowList::workflows(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowList.workflows) - return workflows_.Get(index); -} -inline ::flyteidl::admin::Workflow* WorkflowList::add_workflows() { - // @@protoc_insertion_point(field_add:flyteidl.admin.WorkflowList.workflows) - return workflows_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Workflow >& -WorkflowList::workflows() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.WorkflowList.workflows) - return workflows_; -} - -// string token = 2; -inline void WorkflowList::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowList::token() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowList.token) - return token_.GetNoArena(); -} -inline void WorkflowList::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowList.token) -} -#if LANG_CXX11 -inline void WorkflowList::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowList.token) -} -#endif -inline void WorkflowList::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowList.token) -} -inline void WorkflowList::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowList.token) -} -inline ::std::string* WorkflowList::mutable_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowList.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowList::release_token() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowList.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowList::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowList.token) -} - -// ------------------------------------------------------------------- - -// WorkflowSpec - -// .flyteidl.core.WorkflowTemplate template = 1; -inline bool WorkflowSpec::has_template_() const { - return this != internal_default_instance() && template__ != nullptr; -} -inline const ::flyteidl::core::WorkflowTemplate& WorkflowSpec::template_() const { - const ::flyteidl::core::WorkflowTemplate* p = template__; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowSpec.template) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowTemplate_default_instance_); -} -inline ::flyteidl::core::WorkflowTemplate* WorkflowSpec::release_template_() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowSpec.template) - - ::flyteidl::core::WorkflowTemplate* temp = template__; - template__ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowTemplate* WorkflowSpec::mutable_template_() { - - if (template__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowTemplate>(GetArenaNoVirtual()); - template__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowSpec.template) - return template__; -} -inline void WorkflowSpec::set_allocated_template_(::flyteidl::core::WorkflowTemplate* template_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(template__); - } - if (template_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - template_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, template_, submessage_arena); - } - - } else { - - } - template__ = template_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowSpec.template) -} - -// repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; -inline int WorkflowSpec::sub_workflows_size() const { - return sub_workflows_.size(); -} -inline ::flyteidl::core::WorkflowTemplate* WorkflowSpec::mutable_sub_workflows(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowSpec.sub_workflows) - return sub_workflows_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >* -WorkflowSpec::mutable_sub_workflows() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.WorkflowSpec.sub_workflows) - return &sub_workflows_; -} -inline const ::flyteidl::core::WorkflowTemplate& WorkflowSpec::sub_workflows(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowSpec.sub_workflows) - return sub_workflows_.Get(index); -} -inline ::flyteidl::core::WorkflowTemplate* WorkflowSpec::add_sub_workflows() { - // @@protoc_insertion_point(field_add:flyteidl.admin.WorkflowSpec.sub_workflows) - return sub_workflows_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >& -WorkflowSpec::sub_workflows() const { - // @@protoc_insertion_point(field_list:flyteidl.admin.WorkflowSpec.sub_workflows) - return sub_workflows_; -} - -// .flyteidl.admin.DescriptionEntity description = 3; -inline bool WorkflowSpec::has_description() const { - return this != internal_default_instance() && description_ != nullptr; -} -inline const ::flyteidl::admin::DescriptionEntity& WorkflowSpec::description() const { - const ::flyteidl::admin::DescriptionEntity* p = description_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowSpec.description) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_DescriptionEntity_default_instance_); -} -inline ::flyteidl::admin::DescriptionEntity* WorkflowSpec::release_description() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowSpec.description) - - ::flyteidl::admin::DescriptionEntity* temp = description_; - description_ = nullptr; - return temp; -} -inline ::flyteidl::admin::DescriptionEntity* WorkflowSpec::mutable_description() { - - if (description_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::DescriptionEntity>(GetArenaNoVirtual()); - description_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowSpec.description) - return description_; -} -inline void WorkflowSpec::set_allocated_description(::flyteidl::admin::DescriptionEntity* description) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(description_); - } - if (description) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - description = ::google::protobuf::internal::GetOwnedMessage( - message_arena, description, submessage_arena); - } - - } else { - - } - description_ = description; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowSpec.description) -} - -// ------------------------------------------------------------------- - -// WorkflowClosure - -// .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; -inline bool WorkflowClosure::has_compiled_workflow() const { - return this != internal_default_instance() && compiled_workflow_ != nullptr; -} -inline const ::flyteidl::core::CompiledWorkflowClosure& WorkflowClosure::compiled_workflow() const { - const ::flyteidl::core::CompiledWorkflowClosure* p = compiled_workflow_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowClosure.compiled_workflow) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CompiledWorkflowClosure_default_instance_); -} -inline ::flyteidl::core::CompiledWorkflowClosure* WorkflowClosure::release_compiled_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowClosure.compiled_workflow) - - ::flyteidl::core::CompiledWorkflowClosure* temp = compiled_workflow_; - compiled_workflow_ = nullptr; - return temp; -} -inline ::flyteidl::core::CompiledWorkflowClosure* WorkflowClosure::mutable_compiled_workflow() { - - if (compiled_workflow_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CompiledWorkflowClosure>(GetArenaNoVirtual()); - compiled_workflow_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowClosure.compiled_workflow) - return compiled_workflow_; -} -inline void WorkflowClosure::set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(compiled_workflow_); - } - if (compiled_workflow) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - compiled_workflow = ::google::protobuf::internal::GetOwnedMessage( - message_arena, compiled_workflow, submessage_arena); - } - - } else { - - } - compiled_workflow_ = compiled_workflow; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowClosure.compiled_workflow) -} - -// .google.protobuf.Timestamp created_at = 2; -inline bool WorkflowClosure::has_created_at() const { - return this != internal_default_instance() && created_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& WorkflowClosure::created_at() const { - const ::google::protobuf::Timestamp* p = created_at_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowClosure.created_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* WorkflowClosure::release_created_at() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowClosure.created_at) - - ::google::protobuf::Timestamp* temp = created_at_; - created_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* WorkflowClosure::mutable_created_at() { - - if (created_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - created_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowClosure.created_at) - return created_at_; -} -inline void WorkflowClosure::set_allocated_created_at(::google::protobuf::Timestamp* created_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(created_at_); - } - if (created_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(created_at)->GetArena(); - if (message_arena != submessage_arena) { - created_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, created_at, submessage_arena); - } - - } else { - - } - created_at_ = created_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowClosure.created_at) -} - -// ------------------------------------------------------------------- - -// WorkflowErrorExistsDifferentStructure - -// .flyteidl.core.Identifier id = 1; -inline bool WorkflowErrorExistsDifferentStructure::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& WorkflowErrorExistsDifferentStructure::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowErrorExistsDifferentStructure.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* WorkflowErrorExistsDifferentStructure::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowErrorExistsDifferentStructure.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* WorkflowErrorExistsDifferentStructure::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowErrorExistsDifferentStructure.id) - return id_; -} -inline void WorkflowErrorExistsDifferentStructure::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowErrorExistsDifferentStructure.id) -} - -// ------------------------------------------------------------------- - -// WorkflowErrorExistsIdenticalStructure - -// .flyteidl.core.Identifier id = 1; -inline bool WorkflowErrorExistsIdenticalStructure::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& WorkflowErrorExistsIdenticalStructure::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowErrorExistsIdenticalStructure.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* WorkflowErrorExistsIdenticalStructure::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowErrorExistsIdenticalStructure.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* WorkflowErrorExistsIdenticalStructure::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowErrorExistsIdenticalStructure.id) - return id_; -} -inline void WorkflowErrorExistsIdenticalStructure::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowErrorExistsIdenticalStructure.id) -} - -// ------------------------------------------------------------------- - -// CreateWorkflowFailureReason - -// .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; -inline bool CreateWorkflowFailureReason::has_exists_different_structure() const { - return reason_case() == kExistsDifferentStructure; -} -inline void CreateWorkflowFailureReason::set_has_exists_different_structure() { - _oneof_case_[0] = kExistsDifferentStructure; -} -inline void CreateWorkflowFailureReason::clear_exists_different_structure() { - if (has_exists_different_structure()) { - delete reason_.exists_different_structure_; - clear_has_reason(); - } -} -inline ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* CreateWorkflowFailureReason::release_exists_different_structure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateWorkflowFailureReason.exists_different_structure) - if (has_exists_different_structure()) { - clear_has_reason(); - ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* temp = reason_.exists_different_structure_; - reason_.exists_different_structure_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::WorkflowErrorExistsDifferentStructure& CreateWorkflowFailureReason::exists_different_structure() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateWorkflowFailureReason.exists_different_structure) - return has_exists_different_structure() - ? *reason_.exists_different_structure_ - : *reinterpret_cast< ::flyteidl::admin::WorkflowErrorExistsDifferentStructure*>(&::flyteidl::admin::_WorkflowErrorExistsDifferentStructure_default_instance_); -} -inline ::flyteidl::admin::WorkflowErrorExistsDifferentStructure* CreateWorkflowFailureReason::mutable_exists_different_structure() { - if (!has_exists_different_structure()) { - clear_reason(); - set_has_exists_different_structure(); - reason_.exists_different_structure_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowErrorExistsDifferentStructure >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateWorkflowFailureReason.exists_different_structure) - return reason_.exists_different_structure_; -} - -// .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; -inline bool CreateWorkflowFailureReason::has_exists_identical_structure() const { - return reason_case() == kExistsIdenticalStructure; -} -inline void CreateWorkflowFailureReason::set_has_exists_identical_structure() { - _oneof_case_[0] = kExistsIdenticalStructure; -} -inline void CreateWorkflowFailureReason::clear_exists_identical_structure() { - if (has_exists_identical_structure()) { - delete reason_.exists_identical_structure_; - clear_has_reason(); - } -} -inline ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* CreateWorkflowFailureReason::release_exists_identical_structure() { - // @@protoc_insertion_point(field_release:flyteidl.admin.CreateWorkflowFailureReason.exists_identical_structure) - if (has_exists_identical_structure()) { - clear_has_reason(); - ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* temp = reason_.exists_identical_structure_; - reason_.exists_identical_structure_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure& CreateWorkflowFailureReason::exists_identical_structure() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.CreateWorkflowFailureReason.exists_identical_structure) - return has_exists_identical_structure() - ? *reason_.exists_identical_structure_ - : *reinterpret_cast< ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure*>(&::flyteidl::admin::_WorkflowErrorExistsIdenticalStructure_default_instance_); -} -inline ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure* CreateWorkflowFailureReason::mutable_exists_identical_structure() { - if (!has_exists_identical_structure()) { - clear_reason(); - set_has_exists_identical_structure(); - reason_.exists_identical_structure_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowErrorExistsIdenticalStructure >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.CreateWorkflowFailureReason.exists_identical_structure) - return reason_.exists_identical_structure_; -} - -inline bool CreateWorkflowFailureReason::has_reason() const { - return reason_case() != REASON_NOT_SET; -} -inline void CreateWorkflowFailureReason::clear_has_reason() { - _oneof_case_[0] = REASON_NOT_SET; -} -inline CreateWorkflowFailureReason::ReasonCase CreateWorkflowFailureReason::reason_case() const { - return CreateWorkflowFailureReason::ReasonCase(_oneof_case_[0]); -} -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.cc deleted file mode 100644 index c42027a322..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/workflow_attributes.proto - -#include "flyteidl/admin/workflow_attributes.pb.h" -#include "flyteidl/admin/workflow_attributes.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace admin { - -} // namespace flyteidl -} // namespace admin - diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.h deleted file mode 100644 index 4f2a22456a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/admin/workflow_attributes.proto -#ifndef GRPC_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto__INCLUDED -#define GRPC_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto__INCLUDED - -#include "flyteidl/admin/workflow_attributes.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace grpc_impl { -class Channel; -class CompletionQueue; -class ServerCompletionQueue; -} // namespace grpc_impl - -namespace grpc { -namespace experimental { -template -class MessageAllocator; -} // namespace experimental -} // namespace grpc_impl - -namespace grpc { -class ServerContext; -} // namespace grpc - -namespace flyteidl { -namespace admin { - -} // namespace admin -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.cc deleted file mode 100644 index f181c74738..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.cc +++ /dev/null @@ -1,3031 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/workflow_attributes.proto - -#include "flyteidl/admin/workflow_attributes.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -namespace flyteidl { -namespace admin { -class WorkflowAttributesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowAttributes_default_instance_; -class WorkflowAttributesUpdateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowAttributesUpdateRequest_default_instance_; -class WorkflowAttributesUpdateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowAttributesUpdateResponse_default_instance_; -class WorkflowAttributesGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowAttributesGetRequest_default_instance_; -class WorkflowAttributesGetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowAttributesGetResponse_default_instance_; -class WorkflowAttributesDeleteRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowAttributesDeleteRequest_default_instance_; -class WorkflowAttributesDeleteResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowAttributesDeleteResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -static void InitDefaultsWorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowAttributes_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowAttributes(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowAttributes::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, { - &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; - -static void InitDefaultsWorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowAttributesUpdateRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowAttributesUpdateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowAttributesUpdateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, { - &scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base,}}; - -static void InitDefaultsWorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowAttributesUpdateResponse_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowAttributesUpdateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowAttributesUpdateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, {}}; - -static void InitDefaultsWorkflowAttributesGetRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowAttributesGetRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowAttributesGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowAttributesGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowAttributesGetRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowAttributesGetRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, {}}; - -static void InitDefaultsWorkflowAttributesGetResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowAttributesGetResponse_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowAttributesGetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowAttributesGetResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowAttributesGetResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowAttributesGetResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, { - &scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base,}}; - -static void InitDefaultsWorkflowAttributesDeleteRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowAttributesDeleteRequest_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowAttributesDeleteRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowAttributesDeleteRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowAttributesDeleteRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowAttributesDeleteRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, {}}; - -static void InitDefaultsWorkflowAttributesDeleteResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_WorkflowAttributesDeleteResponse_default_instance_; - new (ptr) ::flyteidl::admin::WorkflowAttributesDeleteResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::admin::WorkflowAttributesDeleteResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowAttributesDeleteResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowAttributesDeleteResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, {}}; - -void InitDefaults_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesGetRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesGetResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesDeleteRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesDeleteResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[7]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, matching_attributes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesUpdateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesUpdateRequest, attributes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesUpdateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetRequest, workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesGetResponse, attributes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesDeleteRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesDeleteRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesDeleteRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesDeleteRequest, workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesDeleteRequest, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesDeleteRequest, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesDeleteResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::admin::WorkflowAttributes)}, - { 10, -1, sizeof(::flyteidl::admin::WorkflowAttributesUpdateRequest)}, - { 16, -1, sizeof(::flyteidl::admin::WorkflowAttributesUpdateResponse)}, - { 21, -1, sizeof(::flyteidl::admin::WorkflowAttributesGetRequest)}, - { 31, -1, sizeof(::flyteidl::admin::WorkflowAttributesGetResponse)}, - { 37, -1, sizeof(::flyteidl::admin::WorkflowAttributesDeleteRequest)}, - { 47, -1, sizeof(::flyteidl::admin::WorkflowAttributesDeleteResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_WorkflowAttributes_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesUpdateRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesUpdateResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesGetResponse_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesDeleteRequest_default_instance_), - reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesDeleteResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = { - {}, AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, "flyteidl/admin/workflow_attributes.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, 7, file_level_enum_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[] = - "\n(flyteidl/admin/workflow_attributes.pro" - "to\022\016flyteidl.admin\032\'flyteidl/admin/match" - "able_resource.proto\"\225\001\n\022WorkflowAttribut" - "es\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010w" - "orkflow\030\003 \001(\t\022\?\n\023matching_attributes\030\004 \001" - "(\0132\".flyteidl.admin.MatchingAttributes\022\013" - "\n\003org\030\005 \001(\t\"Y\n\037WorkflowAttributesUpdateR" - "equest\0226\n\nattributes\030\001 \001(\0132\".flyteidl.ad" - "min.WorkflowAttributes\"\"\n WorkflowAttrib" - "utesUpdateResponse\"\230\001\n\034WorkflowAttribute" - "sGetRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002" - " \001(\t\022\020\n\010workflow\030\003 \001(\t\0228\n\rresource_type\030" - "\004 \001(\0162!.flyteidl.admin.MatchableResource" - "\022\013\n\003org\030\005 \001(\t\"W\n\035WorkflowAttributesGetRe" - "sponse\0226\n\nattributes\030\001 \001(\0132\".flyteidl.ad" - "min.WorkflowAttributes\"\233\001\n\037WorkflowAttri" - "butesDeleteRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006d" - "omain\030\002 \001(\t\022\020\n\010workflow\030\003 \001(\t\0228\n\rresourc" - "e_type\030\004 \001(\0162!.flyteidl.admin.MatchableR" - "esource\022\013\n\003org\030\005 \001(\t\"\"\n WorkflowAttribut" - "esDeleteResponseB=Z;github.com/flyteorg/" - "flyte/flyteidl/gen/pb-go/flyteidl/adminb" - "\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = { - false, InitDefaults_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, - descriptor_table_protodef_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, - "flyteidl/admin/workflow_attributes.proto", &assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, 887, -}; - -void AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto(); return true; }(); -namespace flyteidl { -namespace admin { - -// =================================================================== - -void WorkflowAttributes::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowAttributes_default_instance_._instance.get_mutable()->matching_attributes_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); -} -class WorkflowAttributes::HasBitSetters { - public: - static const ::flyteidl::admin::MatchingAttributes& matching_attributes(const WorkflowAttributes* msg); -}; - -const ::flyteidl::admin::MatchingAttributes& -WorkflowAttributes::HasBitSetters::matching_attributes(const WorkflowAttributes* msg) { - return *msg->matching_attributes_; -} -void WorkflowAttributes::clear_matching_attributes() { - if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { - delete matching_attributes_; - } - matching_attributes_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowAttributes::kProjectFieldNumber; -const int WorkflowAttributes::kDomainFieldNumber; -const int WorkflowAttributes::kWorkflowFieldNumber; -const int WorkflowAttributes::kMatchingAttributesFieldNumber; -const int WorkflowAttributes::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowAttributes::WorkflowAttributes() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributes) -} -WorkflowAttributes::WorkflowAttributes(const WorkflowAttributes& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.workflow().size() > 0) { - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_matching_attributes()) { - matching_attributes_ = new ::flyteidl::admin::MatchingAttributes(*from.matching_attributes_); - } else { - matching_attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributes) -} - -void WorkflowAttributes::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - matching_attributes_ = nullptr; -} - -WorkflowAttributes::~WorkflowAttributes() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributes) - SharedDtor(); -} - -void WorkflowAttributes::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete matching_attributes_; -} - -void WorkflowAttributes::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowAttributes& WorkflowAttributes::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowAttributes::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { - delete matching_attributes_; - } - matching_attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowAttributes::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributes.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributes.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string workflow = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributes.workflow"); - object = msg->mutable_workflow(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchingAttributes matching_attributes = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; - object = msg->mutable_matching_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // string org = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributes.org"); - object = msg->mutable_org(); - 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 WorkflowAttributes::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowAttributes) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributes.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributes.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string workflow = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_workflow())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributes.workflow")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_matching_attributes())); - } else { - goto handle_unusual; - } - break; - } - - // string org = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributes.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowAttributes) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributes) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowAttributes::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.workflow"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->workflow(), output); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 4; - if (this->has_matching_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::matching_attributes(this), output); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowAttributes) -} - -::google::protobuf::uint8* WorkflowAttributes::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributes) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.workflow"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->workflow(), target); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 4; - if (this->has_matching_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::matching_attributes(this), target); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributes.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowAttributes) - return target; -} - -size_t WorkflowAttributes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributes) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->workflow()); - } - - // string org = 5; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchingAttributes matching_attributes = 4; - if (this->has_matching_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *matching_attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowAttributes::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributes) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowAttributes* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributes) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributes) - MergeFrom(*source); - } -} - -void WorkflowAttributes::MergeFrom(const WorkflowAttributes& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributes) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.workflow().size() > 0) { - - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.has_matching_attributes()) { - mutable_matching_attributes()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.matching_attributes()); - } -} - -void WorkflowAttributes::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowAttributes::CopyFrom(const WorkflowAttributes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowAttributes::IsInitialized() const { - return true; -} - -void WorkflowAttributes::Swap(WorkflowAttributes* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowAttributes::InternalSwap(WorkflowAttributes* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - workflow_.Swap(&other->workflow_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(matching_attributes_, other->matching_attributes_); -} - -::google::protobuf::Metadata WorkflowAttributes::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowAttributesUpdateRequest::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowAttributesUpdateRequest_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::WorkflowAttributes*>( - ::flyteidl::admin::WorkflowAttributes::internal_default_instance()); -} -class WorkflowAttributesUpdateRequest::HasBitSetters { - public: - static const ::flyteidl::admin::WorkflowAttributes& attributes(const WorkflowAttributesUpdateRequest* msg); -}; - -const ::flyteidl::admin::WorkflowAttributes& -WorkflowAttributesUpdateRequest::HasBitSetters::attributes(const WorkflowAttributesUpdateRequest* msg) { - return *msg->attributes_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowAttributesUpdateRequest::kAttributesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowAttributesUpdateRequest::WorkflowAttributesUpdateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesUpdateRequest) -} -WorkflowAttributesUpdateRequest::WorkflowAttributesUpdateRequest(const WorkflowAttributesUpdateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_attributes()) { - attributes_ = new ::flyteidl::admin::WorkflowAttributes(*from.attributes_); - } else { - attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesUpdateRequest) -} - -void WorkflowAttributesUpdateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - attributes_ = nullptr; -} - -WorkflowAttributesUpdateRequest::~WorkflowAttributesUpdateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesUpdateRequest) - SharedDtor(); -} - -void WorkflowAttributesUpdateRequest::SharedDtor() { - if (this != internal_default_instance()) delete attributes_; -} - -void WorkflowAttributesUpdateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowAttributesUpdateRequest& WorkflowAttributesUpdateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowAttributesUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowAttributesUpdateRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.WorkflowAttributes attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowAttributes::_InternalParse; - object = msg->mutable_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkflowAttributesUpdateRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.WorkflowAttributes attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_attributes())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowAttributesUpdateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesUpdateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowAttributesUpdateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - if (this->has_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::attributes(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowAttributesUpdateRequest) -} - -::google::protobuf::uint8* WorkflowAttributesUpdateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - if (this->has_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::attributes(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowAttributesUpdateRequest) - return target; -} - -size_t WorkflowAttributesUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - if (this->has_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowAttributesUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowAttributesUpdateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesUpdateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesUpdateRequest) - MergeFrom(*source); - } -} - -void WorkflowAttributesUpdateRequest::MergeFrom(const WorkflowAttributesUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_attributes()) { - mutable_attributes()->::flyteidl::admin::WorkflowAttributes::MergeFrom(from.attributes()); - } -} - -void WorkflowAttributesUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowAttributesUpdateRequest::CopyFrom(const WorkflowAttributesUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowAttributesUpdateRequest::IsInitialized() const { - return true; -} - -void WorkflowAttributesUpdateRequest::Swap(WorkflowAttributesUpdateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowAttributesUpdateRequest::InternalSwap(WorkflowAttributesUpdateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(attributes_, other->attributes_); -} - -::google::protobuf::Metadata WorkflowAttributesUpdateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowAttributesUpdateResponse::InitAsDefaultInstance() { -} -class WorkflowAttributesUpdateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowAttributesUpdateResponse::WorkflowAttributesUpdateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesUpdateResponse) -} -WorkflowAttributesUpdateResponse::WorkflowAttributesUpdateResponse(const WorkflowAttributesUpdateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesUpdateResponse) -} - -void WorkflowAttributesUpdateResponse::SharedCtor() { -} - -WorkflowAttributesUpdateResponse::~WorkflowAttributesUpdateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesUpdateResponse) - SharedDtor(); -} - -void WorkflowAttributesUpdateResponse::SharedDtor() { -} - -void WorkflowAttributesUpdateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowAttributesUpdateResponse& WorkflowAttributesUpdateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowAttributesUpdateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowAttributesUpdateResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - default: { - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkflowAttributesUpdateResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowAttributesUpdateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesUpdateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowAttributesUpdateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowAttributesUpdateResponse) -} - -::google::protobuf::uint8* WorkflowAttributesUpdateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowAttributesUpdateResponse) - return target; -} - -size_t WorkflowAttributesUpdateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowAttributesUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowAttributesUpdateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesUpdateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesUpdateResponse) - MergeFrom(*source); - } -} - -void WorkflowAttributesUpdateResponse::MergeFrom(const WorkflowAttributesUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void WorkflowAttributesUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowAttributesUpdateResponse::CopyFrom(const WorkflowAttributesUpdateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowAttributesUpdateResponse::IsInitialized() const { - return true; -} - -void WorkflowAttributesUpdateResponse::Swap(WorkflowAttributesUpdateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowAttributesUpdateResponse::InternalSwap(WorkflowAttributesUpdateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata WorkflowAttributesUpdateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowAttributesGetRequest::InitAsDefaultInstance() { -} -class WorkflowAttributesGetRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowAttributesGetRequest::kProjectFieldNumber; -const int WorkflowAttributesGetRequest::kDomainFieldNumber; -const int WorkflowAttributesGetRequest::kWorkflowFieldNumber; -const int WorkflowAttributesGetRequest::kResourceTypeFieldNumber; -const int WorkflowAttributesGetRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowAttributesGetRequest::WorkflowAttributesGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesGetRequest) -} -WorkflowAttributesGetRequest::WorkflowAttributesGetRequest(const WorkflowAttributesGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.workflow().size() > 0) { - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesGetRequest) -} - -void WorkflowAttributesGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowAttributesGetRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -WorkflowAttributesGetRequest::~WorkflowAttributesGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesGetRequest) - SharedDtor(); -} - -void WorkflowAttributesGetRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void WorkflowAttributesGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowAttributesGetRequest& WorkflowAttributesGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesGetRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowAttributesGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowAttributesGetRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesGetRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesGetRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string workflow = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesGetRequest.workflow"); - object = msg->mutable_workflow(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchableResource resource_type = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_resource_type(static_cast<::flyteidl::admin::MatchableResource>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesGetRequest.org"); - object = msg->mutable_org(); - 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 WorkflowAttributesGetRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowAttributesGetRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesGetRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesGetRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string workflow = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_workflow())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesGetRequest.workflow")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_resource_type(static_cast< ::flyteidl::admin::MatchableResource >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesGetRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowAttributesGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowAttributesGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.workflow"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->workflow(), output); - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->resource_type(), output); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowAttributesGetRequest) -} - -::google::protobuf::uint8* WorkflowAttributesGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.workflow"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->workflow(), target); - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->resource_type(), target); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesGetRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowAttributesGetRequest) - return target; -} - -size_t WorkflowAttributesGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesGetRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->workflow()); - } - - // string org = 5; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowAttributesGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowAttributesGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesGetRequest) - MergeFrom(*source); - } -} - -void WorkflowAttributesGetRequest::MergeFrom(const WorkflowAttributesGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesGetRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.workflow().size() > 0) { - - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void WorkflowAttributesGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowAttributesGetRequest::CopyFrom(const WorkflowAttributesGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowAttributesGetRequest::IsInitialized() const { - return true; -} - -void WorkflowAttributesGetRequest::Swap(WorkflowAttributesGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowAttributesGetRequest::InternalSwap(WorkflowAttributesGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - workflow_.Swap(&other->workflow_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata WorkflowAttributesGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowAttributesGetResponse::InitAsDefaultInstance() { - ::flyteidl::admin::_WorkflowAttributesGetResponse_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::WorkflowAttributes*>( - ::flyteidl::admin::WorkflowAttributes::internal_default_instance()); -} -class WorkflowAttributesGetResponse::HasBitSetters { - public: - static const ::flyteidl::admin::WorkflowAttributes& attributes(const WorkflowAttributesGetResponse* msg); -}; - -const ::flyteidl::admin::WorkflowAttributes& -WorkflowAttributesGetResponse::HasBitSetters::attributes(const WorkflowAttributesGetResponse* msg) { - return *msg->attributes_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowAttributesGetResponse::kAttributesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowAttributesGetResponse::WorkflowAttributesGetResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesGetResponse) -} -WorkflowAttributesGetResponse::WorkflowAttributesGetResponse(const WorkflowAttributesGetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_attributes()) { - attributes_ = new ::flyteidl::admin::WorkflowAttributes(*from.attributes_); - } else { - attributes_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesGetResponse) -} - -void WorkflowAttributesGetResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowAttributesGetResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - attributes_ = nullptr; -} - -WorkflowAttributesGetResponse::~WorkflowAttributesGetResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesGetResponse) - SharedDtor(); -} - -void WorkflowAttributesGetResponse::SharedDtor() { - if (this != internal_default_instance()) delete attributes_; -} - -void WorkflowAttributesGetResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowAttributesGetResponse& WorkflowAttributesGetResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesGetResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowAttributesGetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowAttributesGetResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // .flyteidl.admin.WorkflowAttributes attributes = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::WorkflowAttributes::_InternalParse; - object = msg->mutable_attributes(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkflowAttributesGetResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowAttributesGetResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.WorkflowAttributes attributes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_attributes())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowAttributesGetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesGetResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowAttributesGetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - if (this->has_attributes()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::attributes(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowAttributesGetResponse) -} - -::google::protobuf::uint8* WorkflowAttributesGetResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - if (this->has_attributes()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::attributes(this), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowAttributesGetResponse) - return target; -} - -size_t WorkflowAttributesGetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesGetResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - if (this->has_attributes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *attributes_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowAttributesGetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesGetResponse) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowAttributesGetResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesGetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesGetResponse) - MergeFrom(*source); - } -} - -void WorkflowAttributesGetResponse::MergeFrom(const WorkflowAttributesGetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesGetResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.has_attributes()) { - mutable_attributes()->::flyteidl::admin::WorkflowAttributes::MergeFrom(from.attributes()); - } -} - -void WorkflowAttributesGetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowAttributesGetResponse::CopyFrom(const WorkflowAttributesGetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowAttributesGetResponse::IsInitialized() const { - return true; -} - -void WorkflowAttributesGetResponse::Swap(WorkflowAttributesGetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowAttributesGetResponse::InternalSwap(WorkflowAttributesGetResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(attributes_, other->attributes_); -} - -::google::protobuf::Metadata WorkflowAttributesGetResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowAttributesDeleteRequest::InitAsDefaultInstance() { -} -class WorkflowAttributesDeleteRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowAttributesDeleteRequest::kProjectFieldNumber; -const int WorkflowAttributesDeleteRequest::kDomainFieldNumber; -const int WorkflowAttributesDeleteRequest::kWorkflowFieldNumber; -const int WorkflowAttributesDeleteRequest::kResourceTypeFieldNumber; -const int WorkflowAttributesDeleteRequest::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowAttributesDeleteRequest::WorkflowAttributesDeleteRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesDeleteRequest) -} -WorkflowAttributesDeleteRequest::WorkflowAttributesDeleteRequest(const WorkflowAttributesDeleteRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.workflow().size() > 0) { - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesDeleteRequest) -} - -void WorkflowAttributesDeleteRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowAttributesDeleteRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -WorkflowAttributesDeleteRequest::~WorkflowAttributesDeleteRequest() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesDeleteRequest) - SharedDtor(); -} - -void WorkflowAttributesDeleteRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void WorkflowAttributesDeleteRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowAttributesDeleteRequest& WorkflowAttributesDeleteRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesDeleteRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowAttributesDeleteRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowAttributesDeleteRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesDeleteRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesDeleteRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string workflow = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesDeleteRequest.workflow"); - object = msg->mutable_workflow(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // .flyteidl.admin.MatchableResource resource_type = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_resource_type(static_cast<::flyteidl::admin::MatchableResource>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string org = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowAttributesDeleteRequest.org"); - object = msg->mutable_org(); - 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 WorkflowAttributesDeleteRequest::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string workflow = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_workflow())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.workflow")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_resource_type(static_cast< ::flyteidl::admin::MatchableResource >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string org = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.org")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowAttributesDeleteRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesDeleteRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowAttributesDeleteRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.workflow"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->workflow(), output); - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->resource_type(), output); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowAttributesDeleteRequest) -} - -::google::protobuf::uint8* WorkflowAttributesDeleteRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow().data(), static_cast(this->workflow().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.workflow"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->workflow(), target); - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->resource_type(), target); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.WorkflowAttributesDeleteRequest.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->org(), target); - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowAttributesDeleteRequest) - return target; -} - -size_t WorkflowAttributesDeleteRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string workflow = 3; - if (this->workflow().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->workflow()); - } - - // string org = 5; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.admin.MatchableResource resource_type = 4; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowAttributesDeleteRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowAttributesDeleteRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesDeleteRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesDeleteRequest) - MergeFrom(*source); - } -} - -void WorkflowAttributesDeleteRequest::MergeFrom(const WorkflowAttributesDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.workflow().size() > 0) { - - workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void WorkflowAttributesDeleteRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowAttributesDeleteRequest::CopyFrom(const WorkflowAttributesDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowAttributesDeleteRequest::IsInitialized() const { - return true; -} - -void WorkflowAttributesDeleteRequest::Swap(WorkflowAttributesDeleteRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowAttributesDeleteRequest::InternalSwap(WorkflowAttributesDeleteRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - workflow_.Swap(&other->workflow_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata WorkflowAttributesDeleteRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowAttributesDeleteResponse::InitAsDefaultInstance() { -} -class WorkflowAttributesDeleteResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowAttributesDeleteResponse::WorkflowAttributesDeleteResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesDeleteResponse) -} -WorkflowAttributesDeleteResponse::WorkflowAttributesDeleteResponse(const WorkflowAttributesDeleteResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesDeleteResponse) -} - -void WorkflowAttributesDeleteResponse::SharedCtor() { -} - -WorkflowAttributesDeleteResponse::~WorkflowAttributesDeleteResponse() { - // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesDeleteResponse) - SharedDtor(); -} - -void WorkflowAttributesDeleteResponse::SharedDtor() { -} - -void WorkflowAttributesDeleteResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowAttributesDeleteResponse& WorkflowAttributesDeleteResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesDeleteResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowAttributesDeleteResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - ::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* WorkflowAttributesDeleteResponse::_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 WorkflowAttributesDeleteResponse::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowAttributesDeleteResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesDeleteResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowAttributesDeleteResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowAttributesDeleteResponse) -} - -::google::protobuf::uint8* WorkflowAttributesDeleteResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowAttributesDeleteResponse) - return target; -} - -size_t WorkflowAttributesDeleteResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - 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 WorkflowAttributesDeleteResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowAttributesDeleteResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesDeleteResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesDeleteResponse) - MergeFrom(*source); - } -} - -void WorkflowAttributesDeleteResponse::MergeFrom(const WorkflowAttributesDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void WorkflowAttributesDeleteResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowAttributesDeleteResponse::CopyFrom(const WorkflowAttributesDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowAttributesDeleteResponse::IsInitialized() const { - return true; -} - -void WorkflowAttributesDeleteResponse::Swap(WorkflowAttributesDeleteResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowAttributesDeleteResponse::InternalSwap(WorkflowAttributesDeleteResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata WorkflowAttributesDeleteResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributes >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributes >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesUpdateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesUpdateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesUpdateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesUpdateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesGetResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesGetResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesGetResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesDeleteRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesDeleteRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesDeleteRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesDeleteResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesDeleteResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesDeleteResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.h deleted file mode 100644 index 52d266d94b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.h +++ /dev/null @@ -1,1920 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/workflow_attributes.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/admin/matchable_resource.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[7] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto(); -namespace flyteidl { -namespace admin { -class WorkflowAttributes; -class WorkflowAttributesDefaultTypeInternal; -extern WorkflowAttributesDefaultTypeInternal _WorkflowAttributes_default_instance_; -class WorkflowAttributesDeleteRequest; -class WorkflowAttributesDeleteRequestDefaultTypeInternal; -extern WorkflowAttributesDeleteRequestDefaultTypeInternal _WorkflowAttributesDeleteRequest_default_instance_; -class WorkflowAttributesDeleteResponse; -class WorkflowAttributesDeleteResponseDefaultTypeInternal; -extern WorkflowAttributesDeleteResponseDefaultTypeInternal _WorkflowAttributesDeleteResponse_default_instance_; -class WorkflowAttributesGetRequest; -class WorkflowAttributesGetRequestDefaultTypeInternal; -extern WorkflowAttributesGetRequestDefaultTypeInternal _WorkflowAttributesGetRequest_default_instance_; -class WorkflowAttributesGetResponse; -class WorkflowAttributesGetResponseDefaultTypeInternal; -extern WorkflowAttributesGetResponseDefaultTypeInternal _WorkflowAttributesGetResponse_default_instance_; -class WorkflowAttributesUpdateRequest; -class WorkflowAttributesUpdateRequestDefaultTypeInternal; -extern WorkflowAttributesUpdateRequestDefaultTypeInternal _WorkflowAttributesUpdateRequest_default_instance_; -class WorkflowAttributesUpdateResponse; -class WorkflowAttributesUpdateResponseDefaultTypeInternal; -extern WorkflowAttributesUpdateResponseDefaultTypeInternal _WorkflowAttributesUpdateResponse_default_instance_; -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::admin::WorkflowAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributes>(Arena*); -template<> ::flyteidl::admin::WorkflowAttributesDeleteRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesDeleteRequest>(Arena*); -template<> ::flyteidl::admin::WorkflowAttributesDeleteResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesDeleteResponse>(Arena*); -template<> ::flyteidl::admin::WorkflowAttributesGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesGetRequest>(Arena*); -template<> ::flyteidl::admin::WorkflowAttributesGetResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesGetResponse>(Arena*); -template<> ::flyteidl::admin::WorkflowAttributesUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesUpdateRequest>(Arena*); -template<> ::flyteidl::admin::WorkflowAttributesUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesUpdateResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace admin { - -// =================================================================== - -class WorkflowAttributes final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributes) */ { - public: - WorkflowAttributes(); - virtual ~WorkflowAttributes(); - - WorkflowAttributes(const WorkflowAttributes& from); - - inline WorkflowAttributes& operator=(const WorkflowAttributes& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowAttributes(WorkflowAttributes&& from) noexcept - : WorkflowAttributes() { - *this = ::std::move(from); - } - - inline WorkflowAttributes& operator=(WorkflowAttributes&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const WorkflowAttributes& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowAttributes* internal_default_instance() { - return reinterpret_cast( - &_WorkflowAttributes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(WorkflowAttributes* other); - friend void swap(WorkflowAttributes& a, WorkflowAttributes& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowAttributes* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowAttributes* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const WorkflowAttributes& from); - void MergeFrom(const WorkflowAttributes& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(WorkflowAttributes* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string workflow = 3; - void clear_workflow(); - static const int kWorkflowFieldNumber = 3; - const ::std::string& workflow() const; - void set_workflow(const ::std::string& value); - #if LANG_CXX11 - void set_workflow(::std::string&& value); - #endif - void set_workflow(const char* value); - void set_workflow(const char* value, size_t size); - ::std::string* mutable_workflow(); - ::std::string* release_workflow(); - void set_allocated_workflow(::std::string* workflow); - - // string org = 5; - void clear_org(); - static const int kOrgFieldNumber = 5; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchingAttributes matching_attributes = 4; - bool has_matching_attributes() const; - void clear_matching_attributes(); - static const int kMatchingAttributesFieldNumber = 4; - const ::flyteidl::admin::MatchingAttributes& matching_attributes() const; - ::flyteidl::admin::MatchingAttributes* release_matching_attributes(); - ::flyteidl::admin::MatchingAttributes* mutable_matching_attributes(); - void set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributes) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr workflow_; - ::google::protobuf::internal::ArenaStringPtr org_; - ::flyteidl::admin::MatchingAttributes* matching_attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowAttributesUpdateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesUpdateRequest) */ { - public: - WorkflowAttributesUpdateRequest(); - virtual ~WorkflowAttributesUpdateRequest(); - - WorkflowAttributesUpdateRequest(const WorkflowAttributesUpdateRequest& from); - - inline WorkflowAttributesUpdateRequest& operator=(const WorkflowAttributesUpdateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowAttributesUpdateRequest(WorkflowAttributesUpdateRequest&& from) noexcept - : WorkflowAttributesUpdateRequest() { - *this = ::std::move(from); - } - - inline WorkflowAttributesUpdateRequest& operator=(WorkflowAttributesUpdateRequest&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const WorkflowAttributesUpdateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowAttributesUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowAttributesUpdateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(WorkflowAttributesUpdateRequest* other); - friend void swap(WorkflowAttributesUpdateRequest& a, WorkflowAttributesUpdateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowAttributesUpdateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowAttributesUpdateRequest* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const WorkflowAttributesUpdateRequest& from); - void MergeFrom(const WorkflowAttributesUpdateRequest& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(WorkflowAttributesUpdateRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - bool has_attributes() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::flyteidl::admin::WorkflowAttributes& attributes() const; - ::flyteidl::admin::WorkflowAttributes* release_attributes(); - ::flyteidl::admin::WorkflowAttributes* mutable_attributes(); - void set_allocated_attributes(::flyteidl::admin::WorkflowAttributes* attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::WorkflowAttributes* attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowAttributesUpdateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesUpdateResponse) */ { - public: - WorkflowAttributesUpdateResponse(); - virtual ~WorkflowAttributesUpdateResponse(); - - WorkflowAttributesUpdateResponse(const WorkflowAttributesUpdateResponse& from); - - inline WorkflowAttributesUpdateResponse& operator=(const WorkflowAttributesUpdateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowAttributesUpdateResponse(WorkflowAttributesUpdateResponse&& from) noexcept - : WorkflowAttributesUpdateResponse() { - *this = ::std::move(from); - } - - inline WorkflowAttributesUpdateResponse& operator=(WorkflowAttributesUpdateResponse&& from) noexcept { - if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { - if (this != &from) InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const WorkflowAttributesUpdateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowAttributesUpdateResponse* internal_default_instance() { - return reinterpret_cast( - &_WorkflowAttributesUpdateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(WorkflowAttributesUpdateResponse* other); - friend void swap(WorkflowAttributesUpdateResponse& a, WorkflowAttributesUpdateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowAttributesUpdateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowAttributesUpdateResponse* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); - } - void CopyFrom(const ::google::protobuf::Message& from) final; - void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const WorkflowAttributesUpdateResponse& from); - void MergeFrom(const WorkflowAttributesUpdateResponse& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); - ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } - #else - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) final; - #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const final; - ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(WorkflowAttributesUpdateResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowAttributesGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesGetRequest) */ { - public: - WorkflowAttributesGetRequest(); - virtual ~WorkflowAttributesGetRequest(); - - WorkflowAttributesGetRequest(const WorkflowAttributesGetRequest& from); - - inline WorkflowAttributesGetRequest& operator=(const WorkflowAttributesGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowAttributesGetRequest(WorkflowAttributesGetRequest&& from) noexcept - : WorkflowAttributesGetRequest() { - *this = ::std::move(from); - } - - inline WorkflowAttributesGetRequest& operator=(WorkflowAttributesGetRequest&& 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 WorkflowAttributesGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowAttributesGetRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowAttributesGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(WorkflowAttributesGetRequest* other); - friend void swap(WorkflowAttributesGetRequest& a, WorkflowAttributesGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowAttributesGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowAttributesGetRequest* 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 WorkflowAttributesGetRequest& from); - void MergeFrom(const WorkflowAttributesGetRequest& 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(WorkflowAttributesGetRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string workflow = 3; - void clear_workflow(); - static const int kWorkflowFieldNumber = 3; - const ::std::string& workflow() const; - void set_workflow(const ::std::string& value); - #if LANG_CXX11 - void set_workflow(::std::string&& value); - #endif - void set_workflow(const char* value); - void set_workflow(const char* value, size_t size); - ::std::string* mutable_workflow(); - ::std::string* release_workflow(); - void set_allocated_workflow(::std::string* workflow); - - // string org = 5; - void clear_org(); - static const int kOrgFieldNumber = 5; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchableResource resource_type = 4; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 4; - ::flyteidl::admin::MatchableResource resource_type() const; - void set_resource_type(::flyteidl::admin::MatchableResource value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr workflow_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowAttributesGetResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesGetResponse) */ { - public: - WorkflowAttributesGetResponse(); - virtual ~WorkflowAttributesGetResponse(); - - WorkflowAttributesGetResponse(const WorkflowAttributesGetResponse& from); - - inline WorkflowAttributesGetResponse& operator=(const WorkflowAttributesGetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowAttributesGetResponse(WorkflowAttributesGetResponse&& from) noexcept - : WorkflowAttributesGetResponse() { - *this = ::std::move(from); - } - - inline WorkflowAttributesGetResponse& operator=(WorkflowAttributesGetResponse&& 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 WorkflowAttributesGetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowAttributesGetResponse* internal_default_instance() { - return reinterpret_cast( - &_WorkflowAttributesGetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(WorkflowAttributesGetResponse* other); - friend void swap(WorkflowAttributesGetResponse& a, WorkflowAttributesGetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowAttributesGetResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowAttributesGetResponse* 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 WorkflowAttributesGetResponse& from); - void MergeFrom(const WorkflowAttributesGetResponse& 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(WorkflowAttributesGetResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // .flyteidl.admin.WorkflowAttributes attributes = 1; - bool has_attributes() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 1; - const ::flyteidl::admin::WorkflowAttributes& attributes() const; - ::flyteidl::admin::WorkflowAttributes* release_attributes(); - ::flyteidl::admin::WorkflowAttributes* mutable_attributes(); - void set_allocated_attributes(::flyteidl::admin::WorkflowAttributes* attributes); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesGetResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::WorkflowAttributes* attributes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowAttributesDeleteRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesDeleteRequest) */ { - public: - WorkflowAttributesDeleteRequest(); - virtual ~WorkflowAttributesDeleteRequest(); - - WorkflowAttributesDeleteRequest(const WorkflowAttributesDeleteRequest& from); - - inline WorkflowAttributesDeleteRequest& operator=(const WorkflowAttributesDeleteRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowAttributesDeleteRequest(WorkflowAttributesDeleteRequest&& from) noexcept - : WorkflowAttributesDeleteRequest() { - *this = ::std::move(from); - } - - inline WorkflowAttributesDeleteRequest& operator=(WorkflowAttributesDeleteRequest&& 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 WorkflowAttributesDeleteRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowAttributesDeleteRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkflowAttributesDeleteRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(WorkflowAttributesDeleteRequest* other); - friend void swap(WorkflowAttributesDeleteRequest& a, WorkflowAttributesDeleteRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowAttributesDeleteRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowAttributesDeleteRequest* 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 WorkflowAttributesDeleteRequest& from); - void MergeFrom(const WorkflowAttributesDeleteRequest& 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(WorkflowAttributesDeleteRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string workflow = 3; - void clear_workflow(); - static const int kWorkflowFieldNumber = 3; - const ::std::string& workflow() const; - void set_workflow(const ::std::string& value); - #if LANG_CXX11 - void set_workflow(::std::string&& value); - #endif - void set_workflow(const char* value); - void set_workflow(const char* value, size_t size); - ::std::string* mutable_workflow(); - ::std::string* release_workflow(); - void set_allocated_workflow(::std::string* workflow); - - // string org = 5; - void clear_org(); - static const int kOrgFieldNumber = 5; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.admin.MatchableResource resource_type = 4; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 4; - ::flyteidl::admin::MatchableResource resource_type() const; - void set_resource_type(::flyteidl::admin::MatchableResource value); - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesDeleteRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr workflow_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowAttributesDeleteResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesDeleteResponse) */ { - public: - WorkflowAttributesDeleteResponse(); - virtual ~WorkflowAttributesDeleteResponse(); - - WorkflowAttributesDeleteResponse(const WorkflowAttributesDeleteResponse& from); - - inline WorkflowAttributesDeleteResponse& operator=(const WorkflowAttributesDeleteResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowAttributesDeleteResponse(WorkflowAttributesDeleteResponse&& from) noexcept - : WorkflowAttributesDeleteResponse() { - *this = ::std::move(from); - } - - inline WorkflowAttributesDeleteResponse& operator=(WorkflowAttributesDeleteResponse&& 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 WorkflowAttributesDeleteResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowAttributesDeleteResponse* internal_default_instance() { - return reinterpret_cast( - &_WorkflowAttributesDeleteResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(WorkflowAttributesDeleteResponse* other); - friend void swap(WorkflowAttributesDeleteResponse& a, WorkflowAttributesDeleteResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowAttributesDeleteResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowAttributesDeleteResponse* 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 WorkflowAttributesDeleteResponse& from); - void MergeFrom(const WorkflowAttributesDeleteResponse& 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(WorkflowAttributesDeleteResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesDeleteResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// WorkflowAttributes - -// string project = 1; -inline void WorkflowAttributes::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributes::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.project) - return project_.GetNoArena(); -} -inline void WorkflowAttributes::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributes.project) -} -#if LANG_CXX11 -inline void WorkflowAttributes::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributes.project) -} -#endif -inline void WorkflowAttributes::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributes.project) -} -inline void WorkflowAttributes::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributes.project) -} -inline ::std::string* WorkflowAttributes::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributes::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributes::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributes.project) -} - -// string domain = 2; -inline void WorkflowAttributes::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributes::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.domain) - return domain_.GetNoArena(); -} -inline void WorkflowAttributes::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributes.domain) -} -#if LANG_CXX11 -inline void WorkflowAttributes::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributes.domain) -} -#endif -inline void WorkflowAttributes::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributes.domain) -} -inline void WorkflowAttributes::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributes.domain) -} -inline ::std::string* WorkflowAttributes::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributes::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributes::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributes.domain) -} - -// string workflow = 3; -inline void WorkflowAttributes::clear_workflow() { - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributes::workflow() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.workflow) - return workflow_.GetNoArena(); -} -inline void WorkflowAttributes::set_workflow(const ::std::string& value) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributes.workflow) -} -#if LANG_CXX11 -inline void WorkflowAttributes::set_workflow(::std::string&& value) { - - workflow_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributes.workflow) -} -#endif -inline void WorkflowAttributes::set_workflow(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributes.workflow) -} -inline void WorkflowAttributes::set_workflow(const char* value, size_t size) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributes.workflow) -} -inline ::std::string* WorkflowAttributes::mutable_workflow() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.workflow) - return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributes::release_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.workflow) - - return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributes::set_allocated_workflow(::std::string* workflow) { - if (workflow != nullptr) { - - } else { - - } - workflow_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributes.workflow) -} - -// .flyteidl.admin.MatchingAttributes matching_attributes = 4; -inline bool WorkflowAttributes::has_matching_attributes() const { - return this != internal_default_instance() && matching_attributes_ != nullptr; -} -inline const ::flyteidl::admin::MatchingAttributes& WorkflowAttributes::matching_attributes() const { - const ::flyteidl::admin::MatchingAttributes* p = matching_attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.matching_attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); -} -inline ::flyteidl::admin::MatchingAttributes* WorkflowAttributes::release_matching_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.matching_attributes) - - ::flyteidl::admin::MatchingAttributes* temp = matching_attributes_; - matching_attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::MatchingAttributes* WorkflowAttributes::mutable_matching_attributes() { - - if (matching_attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); - matching_attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.matching_attributes) - return matching_attributes_; -} -inline void WorkflowAttributes::set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(matching_attributes_); - } - if (matching_attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - matching_attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, matching_attributes, submessage_arena); - } - - } else { - - } - matching_attributes_ = matching_attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributes.matching_attributes) -} - -// string org = 5; -inline void WorkflowAttributes::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributes::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.org) - return org_.GetNoArena(); -} -inline void WorkflowAttributes::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributes.org) -} -#if LANG_CXX11 -inline void WorkflowAttributes::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributes.org) -} -#endif -inline void WorkflowAttributes::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributes.org) -} -inline void WorkflowAttributes::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributes.org) -} -inline ::std::string* WorkflowAttributes::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributes::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributes::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributes.org) -} - -// ------------------------------------------------------------------- - -// WorkflowAttributesUpdateRequest - -// .flyteidl.admin.WorkflowAttributes attributes = 1; -inline bool WorkflowAttributesUpdateRequest::has_attributes() const { - return this != internal_default_instance() && attributes_ != nullptr; -} -inline void WorkflowAttributesUpdateRequest::clear_attributes() { - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; -} -inline const ::flyteidl::admin::WorkflowAttributes& WorkflowAttributesUpdateRequest::attributes() const { - const ::flyteidl::admin::WorkflowAttributes* p = attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_WorkflowAttributes_default_instance_); -} -inline ::flyteidl::admin::WorkflowAttributes* WorkflowAttributesUpdateRequest::release_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) - - ::flyteidl::admin::WorkflowAttributes* temp = attributes_; - attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::WorkflowAttributes* WorkflowAttributesUpdateRequest::mutable_attributes() { - - if (attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::WorkflowAttributes>(GetArenaNoVirtual()); - attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) - return attributes_; -} -inline void WorkflowAttributesUpdateRequest::set_allocated_attributes(::flyteidl::admin::WorkflowAttributes* attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete attributes_; - } - if (attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, attributes, submessage_arena); - } - - } else { - - } - attributes_ = attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) -} - -// ------------------------------------------------------------------- - -// WorkflowAttributesUpdateResponse - -// ------------------------------------------------------------------- - -// WorkflowAttributesGetRequest - -// string project = 1; -inline void WorkflowAttributesGetRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesGetRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesGetRequest.project) - return project_.GetNoArena(); -} -inline void WorkflowAttributesGetRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesGetRequest.project) -} -#if LANG_CXX11 -inline void WorkflowAttributesGetRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesGetRequest.project) -} -#endif -inline void WorkflowAttributesGetRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesGetRequest.project) -} -inline void WorkflowAttributesGetRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesGetRequest.project) -} -inline ::std::string* WorkflowAttributesGetRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesGetRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesGetRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesGetRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesGetRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesGetRequest.project) -} - -// string domain = 2; -inline void WorkflowAttributesGetRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesGetRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesGetRequest.domain) - return domain_.GetNoArena(); -} -inline void WorkflowAttributesGetRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesGetRequest.domain) -} -#if LANG_CXX11 -inline void WorkflowAttributesGetRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesGetRequest.domain) -} -#endif -inline void WorkflowAttributesGetRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesGetRequest.domain) -} -inline void WorkflowAttributesGetRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesGetRequest.domain) -} -inline ::std::string* WorkflowAttributesGetRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesGetRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesGetRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesGetRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesGetRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesGetRequest.domain) -} - -// string workflow = 3; -inline void WorkflowAttributesGetRequest::clear_workflow() { - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesGetRequest::workflow() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesGetRequest.workflow) - return workflow_.GetNoArena(); -} -inline void WorkflowAttributesGetRequest::set_workflow(const ::std::string& value) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesGetRequest.workflow) -} -#if LANG_CXX11 -inline void WorkflowAttributesGetRequest::set_workflow(::std::string&& value) { - - workflow_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesGetRequest.workflow) -} -#endif -inline void WorkflowAttributesGetRequest::set_workflow(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesGetRequest.workflow) -} -inline void WorkflowAttributesGetRequest::set_workflow(const char* value, size_t size) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesGetRequest.workflow) -} -inline ::std::string* WorkflowAttributesGetRequest::mutable_workflow() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesGetRequest.workflow) - return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesGetRequest::release_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesGetRequest.workflow) - - return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesGetRequest::set_allocated_workflow(::std::string* workflow) { - if (workflow != nullptr) { - - } else { - - } - workflow_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesGetRequest.workflow) -} - -// .flyteidl.admin.MatchableResource resource_type = 4; -inline void WorkflowAttributesGetRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::admin::MatchableResource WorkflowAttributesGetRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesGetRequest.resource_type) - return static_cast< ::flyteidl::admin::MatchableResource >(resource_type_); -} -inline void WorkflowAttributesGetRequest::set_resource_type(::flyteidl::admin::MatchableResource value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesGetRequest.resource_type) -} - -// string org = 5; -inline void WorkflowAttributesGetRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesGetRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesGetRequest.org) - return org_.GetNoArena(); -} -inline void WorkflowAttributesGetRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesGetRequest.org) -} -#if LANG_CXX11 -inline void WorkflowAttributesGetRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesGetRequest.org) -} -#endif -inline void WorkflowAttributesGetRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesGetRequest.org) -} -inline void WorkflowAttributesGetRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesGetRequest.org) -} -inline ::std::string* WorkflowAttributesGetRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesGetRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesGetRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesGetRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesGetRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesGetRequest.org) -} - -// ------------------------------------------------------------------- - -// WorkflowAttributesGetResponse - -// .flyteidl.admin.WorkflowAttributes attributes = 1; -inline bool WorkflowAttributesGetResponse::has_attributes() const { - return this != internal_default_instance() && attributes_ != nullptr; -} -inline void WorkflowAttributesGetResponse::clear_attributes() { - if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { - delete attributes_; - } - attributes_ = nullptr; -} -inline const ::flyteidl::admin::WorkflowAttributes& WorkflowAttributesGetResponse::attributes() const { - const ::flyteidl::admin::WorkflowAttributes* p = attributes_; - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesGetResponse.attributes) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_WorkflowAttributes_default_instance_); -} -inline ::flyteidl::admin::WorkflowAttributes* WorkflowAttributesGetResponse::release_attributes() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesGetResponse.attributes) - - ::flyteidl::admin::WorkflowAttributes* temp = attributes_; - attributes_ = nullptr; - return temp; -} -inline ::flyteidl::admin::WorkflowAttributes* WorkflowAttributesGetResponse::mutable_attributes() { - - if (attributes_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::WorkflowAttributes>(GetArenaNoVirtual()); - attributes_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesGetResponse.attributes) - return attributes_; -} -inline void WorkflowAttributesGetResponse::set_allocated_attributes(::flyteidl::admin::WorkflowAttributes* attributes) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete attributes_; - } - if (attributes) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - attributes = ::google::protobuf::internal::GetOwnedMessage( - message_arena, attributes, submessage_arena); - } - - } else { - - } - attributes_ = attributes; - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesGetResponse.attributes) -} - -// ------------------------------------------------------------------- - -// WorkflowAttributesDeleteRequest - -// string project = 1; -inline void WorkflowAttributesDeleteRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesDeleteRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesDeleteRequest.project) - return project_.GetNoArena(); -} -inline void WorkflowAttributesDeleteRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesDeleteRequest.project) -} -#if LANG_CXX11 -inline void WorkflowAttributesDeleteRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesDeleteRequest.project) -} -#endif -inline void WorkflowAttributesDeleteRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesDeleteRequest.project) -} -inline void WorkflowAttributesDeleteRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesDeleteRequest.project) -} -inline ::std::string* WorkflowAttributesDeleteRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesDeleteRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesDeleteRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesDeleteRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesDeleteRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesDeleteRequest.project) -} - -// string domain = 2; -inline void WorkflowAttributesDeleteRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesDeleteRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) - return domain_.GetNoArena(); -} -inline void WorkflowAttributesDeleteRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) -} -#if LANG_CXX11 -inline void WorkflowAttributesDeleteRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) -} -#endif -inline void WorkflowAttributesDeleteRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) -} -inline void WorkflowAttributesDeleteRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) -} -inline ::std::string* WorkflowAttributesDeleteRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesDeleteRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesDeleteRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesDeleteRequest.domain) -} - -// string workflow = 3; -inline void WorkflowAttributesDeleteRequest::clear_workflow() { - workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesDeleteRequest::workflow() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) - return workflow_.GetNoArena(); -} -inline void WorkflowAttributesDeleteRequest::set_workflow(const ::std::string& value) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) -} -#if LANG_CXX11 -inline void WorkflowAttributesDeleteRequest::set_workflow(::std::string&& value) { - - workflow_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) -} -#endif -inline void WorkflowAttributesDeleteRequest::set_workflow(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) -} -inline void WorkflowAttributesDeleteRequest::set_workflow(const char* value, size_t size) { - - workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) -} -inline ::std::string* WorkflowAttributesDeleteRequest::mutable_workflow() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) - return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesDeleteRequest::release_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) - - return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesDeleteRequest::set_allocated_workflow(::std::string* workflow) { - if (workflow != nullptr) { - - } else { - - } - workflow_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesDeleteRequest.workflow) -} - -// .flyteidl.admin.MatchableResource resource_type = 4; -inline void WorkflowAttributesDeleteRequest::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::admin::MatchableResource WorkflowAttributesDeleteRequest::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesDeleteRequest.resource_type) - return static_cast< ::flyteidl::admin::MatchableResource >(resource_type_); -} -inline void WorkflowAttributesDeleteRequest::set_resource_type(::flyteidl::admin::MatchableResource value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesDeleteRequest.resource_type) -} - -// string org = 5; -inline void WorkflowAttributesDeleteRequest::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowAttributesDeleteRequest::org() const { - // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesDeleteRequest.org) - return org_.GetNoArena(); -} -inline void WorkflowAttributesDeleteRequest::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributesDeleteRequest.org) -} -#if LANG_CXX11 -inline void WorkflowAttributesDeleteRequest::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributesDeleteRequest.org) -} -#endif -inline void WorkflowAttributesDeleteRequest::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowAttributesDeleteRequest.org) -} -inline void WorkflowAttributesDeleteRequest::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowAttributesDeleteRequest.org) -} -inline ::std::string* WorkflowAttributesDeleteRequest::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesDeleteRequest.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowAttributesDeleteRequest::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesDeleteRequest.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowAttributesDeleteRequest::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesDeleteRequest.org) -} - -// ------------------------------------------------------------------- - -// WorkflowAttributesDeleteResponse - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace admin -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc deleted file mode 100644 index 7e2047e59d..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/artifact_id.proto - -#include "flyteidl/core/artifact_id.pb.h" -#include "flyteidl/core/artifact_id.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h deleted file mode 100644 index ff4cbf1920..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/artifact_id.proto -#ifndef GRPC_flyteidl_2fcore_2fartifact_5fid_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fartifact_5fid_2eproto__INCLUDED - -#include "flyteidl/core/artifact_id.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fartifact_5fid_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc deleted file mode 100644 index 29b1b207ed..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc +++ /dev/null @@ -1,4389 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/artifact_id.proto - -#include "flyteidl/core/artifact_id.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace core { -class ArtifactKeyDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ArtifactKey_default_instance_; -class ArtifactBindingDataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr partition_key_; - bool bind_to_time_partition_; -} _ArtifactBindingData_default_instance_; -class InputBindingDataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _InputBindingData_default_instance_; -class LabelValueDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr static_value_; - const ::google::protobuf::Timestamp* time_value_; - const ::flyteidl::core::ArtifactBindingData* triggered_binding_; - const ::flyteidl::core::InputBindingData* input_binding_; -} _LabelValue_default_instance_; -class Partitions_ValueEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Partitions_ValueEntry_DoNotUse_default_instance_; -class PartitionsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Partitions_default_instance_; -class TimePartitionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TimePartition_default_instance_; -class ArtifactIDDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ArtifactID_default_instance_; -class ArtifactTagDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ArtifactTag_default_instance_; -class ArtifactQueryDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::ArtifactID* artifact_id_; - const ::flyteidl::core::ArtifactTag* artifact_tag_; - ::google::protobuf::internal::ArenaStringPtr uri_; - const ::flyteidl::core::ArtifactBindingData* binding_; -} _ArtifactQuery_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ArtifactKey_default_instance_; - new (ptr) ::flyteidl::core::ArtifactKey(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ArtifactKey::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto}, {}}; - -static void InitDefaultsArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ArtifactBindingData_default_instance_; - new (ptr) ::flyteidl::core::ArtifactBindingData(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ArtifactBindingData::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto}, {}}; - -static void InitDefaultsInputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_InputBindingData_default_instance_; - new (ptr) ::flyteidl::core::InputBindingData(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::InputBindingData::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsInputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto}, {}}; - -static void InitDefaultsLabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_LabelValue_default_instance_; - new (ptr) ::flyteidl::core::LabelValue(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::LabelValue::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsLabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsPartitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Partitions_ValueEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::Partitions_ValueEntry_DoNotUse(); - } - ::flyteidl::core::Partitions_ValueEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPartitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto}, { - &scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsPartitions_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Partitions_default_instance_; - new (ptr) ::flyteidl::core::Partitions(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Partitions::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPartitions_flyteidl_2fcore_2fartifact_5fid_2eproto}, { - &scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsTimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TimePartition_default_instance_; - new (ptr) ::flyteidl::core::TimePartition(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TimePartition::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto}, { - &scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ArtifactID_default_instance_; - new (ptr) ::flyteidl::core::ArtifactID(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ArtifactID::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto}, { - &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_TimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ArtifactTag_default_instance_; - new (ptr) ::flyteidl::core::ArtifactTag(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ArtifactTag::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto}, { - &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ArtifactQuery_default_instance_; - new (ptr) ::flyteidl::core::ArtifactQuery(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ArtifactQuery::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto}, { - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fartifact_5fid_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Partitions_ValueEntry_DoNotUse_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[10]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactKey, name_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, index_), - offsetof(::flyteidl::core::ArtifactBindingDataDefaultTypeInternal, partition_key_), - offsetof(::flyteidl::core::ArtifactBindingDataDefaultTypeInternal, bind_to_time_partition_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, transform_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, partition_data_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::InputBindingData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::InputBindingData, var_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LabelValue, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LabelValue, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::LabelValueDefaultTypeInternal, static_value_), - offsetof(::flyteidl::core::LabelValueDefaultTypeInternal, time_value_), - offsetof(::flyteidl::core::LabelValueDefaultTypeInternal, triggered_binding_), - offsetof(::flyteidl::core::LabelValueDefaultTypeInternal, input_binding_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LabelValue, value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions_ValueEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Partitions, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TimePartition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TimePartition, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, artifact_key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, partitions_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, time_partition_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactTag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactTag, artifact_key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactTag, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactQuery, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactQuery, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, artifact_id_), - offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, artifact_tag_), - offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, uri_), - offsetof(::flyteidl::core::ArtifactQueryDefaultTypeInternal, binding_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactQuery, identifier_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::ArtifactKey)}, - { 8, -1, sizeof(::flyteidl::core::ArtifactBindingData)}, - { 18, -1, sizeof(::flyteidl::core::InputBindingData)}, - { 24, -1, sizeof(::flyteidl::core::LabelValue)}, - { 34, 41, sizeof(::flyteidl::core::Partitions_ValueEntry_DoNotUse)}, - { 43, -1, sizeof(::flyteidl::core::Partitions)}, - { 49, -1, sizeof(::flyteidl::core::TimePartition)}, - { 55, -1, sizeof(::flyteidl::core::ArtifactID)}, - { 64, -1, sizeof(::flyteidl::core::ArtifactTag)}, - { 71, -1, sizeof(::flyteidl::core::ArtifactQuery)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_ArtifactKey_default_instance_), - reinterpret_cast(&::flyteidl::core::_ArtifactBindingData_default_instance_), - reinterpret_cast(&::flyteidl::core::_InputBindingData_default_instance_), - reinterpret_cast(&::flyteidl::core::_LabelValue_default_instance_), - reinterpret_cast(&::flyteidl::core::_Partitions_ValueEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_Partitions_default_instance_), - reinterpret_cast(&::flyteidl::core::_TimePartition_default_instance_), - reinterpret_cast(&::flyteidl::core::_ArtifactID_default_instance_), - reinterpret_cast(&::flyteidl::core::_ArtifactTag_default_instance_), - reinterpret_cast(&::flyteidl::core::_ArtifactQuery_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, "flyteidl/core/artifact_id.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto, 10, file_level_enum_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fartifact_5fid_2eproto[] = - "\n\037flyteidl/core/artifact_id.proto\022\rflyte" - "idl.core\032\037google/protobuf/timestamp.prot" - "o\032\036flyteidl/core/identifier.proto\"<\n\013Art" - "ifactKey\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(" - "\t\022\014\n\004name\030\003 \001(\t\"\204\001\n\023ArtifactBindingData\022" - "\r\n\005index\030\001 \001(\r\022\027\n\rpartition_key\030\002 \001(\tH\000\022" - " \n\026bind_to_time_partition\030\003 \001(\010H\000\022\021\n\ttra" - "nsform\030\004 \001(\tB\020\n\016partition_data\"\037\n\020InputB" - "indingData\022\013\n\003var\030\001 \001(\t\"\332\001\n\nLabelValue\022\026" - "\n\014static_value\030\001 \001(\tH\000\0220\n\ntime_value\030\002 \001" - "(\0132\032.google.protobuf.TimestampH\000\022\?\n\021trig" - "gered_binding\030\003 \001(\0132\".flyteidl.core.Arti" - "factBindingDataH\000\0228\n\rinput_binding\030\004 \001(\013" - "2\037.flyteidl.core.InputBindingDataH\000B\007\n\005v" - "alue\"\212\001\n\nPartitions\0223\n\005value\030\001 \003(\0132$.fly" - "teidl.core.Partitions.ValueEntry\032G\n\nValu" - "eEntry\022\013\n\003key\030\001 \001(\t\022(\n\005value\030\002 \001(\0132\031.fly" - "teidl.core.LabelValue:\0028\001\"9\n\rTimePartiti" - "on\022(\n\005value\030\001 \001(\0132\031.flyteidl.core.LabelV" - "alue\"\264\001\n\nArtifactID\0220\n\014artifact_key\030\001 \001(" - "\0132\032.flyteidl.core.ArtifactKey\022\017\n\007version" - "\030\002 \001(\t\022-\n\npartitions\030\003 \001(\0132\031.flyteidl.co" - "re.Partitions\0224\n\016time_partition\030\004 \001(\0132\034." - "flyteidl.core.TimePartition\"i\n\013ArtifactT" - "ag\0220\n\014artifact_key\030\001 \001(\0132\032.flyteidl.core" - ".ArtifactKey\022(\n\005value\030\002 \001(\0132\031.flyteidl.c" - "ore.LabelValue\"\311\001\n\rArtifactQuery\0220\n\013arti" - "fact_id\030\001 \001(\0132\031.flyteidl.core.ArtifactID" - "H\000\0222\n\014artifact_tag\030\002 \001(\0132\032.flyteidl.core" - ".ArtifactTagH\000\022\r\n\003uri\030\003 \001(\tH\000\0225\n\007binding" - "\030\004 \001(\0132\".flyteidl.core.ArtifactBindingDa" - "taH\000B\014\n\nidentifierB= 1900 -const int ArtifactKey::kProjectFieldNumber; -const int ArtifactKey::kDomainFieldNumber; -const int ArtifactKey::kNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArtifactKey::ArtifactKey() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactKey) -} -ArtifactKey::ArtifactKey(const ArtifactKey& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactKey) -} - -void ArtifactKey::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ArtifactKey::~ArtifactKey() { - // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactKey) - SharedDtor(); -} - -void ArtifactKey::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ArtifactKey::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArtifactKey& ArtifactKey::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void ArtifactKey::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactKey) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArtifactKey::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactKey.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactKey.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string 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("flyteidl.core.ArtifactKey.name"); - object = msg->mutable_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 ArtifactKey::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.ArtifactKey) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ArtifactKey.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ArtifactKey.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ArtifactKey.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:flyteidl.core.ArtifactKey) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactKey) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArtifactKey::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactKey) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactKey.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactKey.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactKey.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->name(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ArtifactKey) -} - -::google::protobuf::uint8* ArtifactKey::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactKey) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactKey.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactKey.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string name = 3; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactKey.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->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:flyteidl.core.ArtifactKey) - return target; -} - -size_t ArtifactKey::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactKey) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string name = 3; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArtifactKey::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactKey) - GOOGLE_DCHECK_NE(&from, this); - const ArtifactKey* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactKey) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactKey) - MergeFrom(*source); - } -} - -void ArtifactKey::MergeFrom(const ArtifactKey& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactKey) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } -} - -void ArtifactKey::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactKey) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArtifactKey::CopyFrom(const ArtifactKey& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactKey) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArtifactKey::IsInitialized() const { - return true; -} - -void ArtifactKey::Swap(ArtifactKey* other) { - if (other == this) return; - InternalSwap(other); -} -void ArtifactKey::InternalSwap(ArtifactKey* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ArtifactKey::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ArtifactBindingData::InitAsDefaultInstance() { - ::flyteidl::core::_ArtifactBindingData_default_instance_.partition_key_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::core::_ArtifactBindingData_default_instance_.bind_to_time_partition_ = false; -} -class ArtifactBindingData::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArtifactBindingData::kIndexFieldNumber; -const int ArtifactBindingData::kPartitionKeyFieldNumber; -const int ArtifactBindingData::kBindToTimePartitionFieldNumber; -const int ArtifactBindingData::kTransformFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArtifactBindingData::ArtifactBindingData() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactBindingData) -} -ArtifactBindingData::ArtifactBindingData(const ArtifactBindingData& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - transform_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.transform().size() > 0) { - transform_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transform_); - } - index_ = from.index_; - clear_has_partition_data(); - switch (from.partition_data_case()) { - case kPartitionKey: { - set_partition_key(from.partition_key()); - break; - } - case kBindToTimePartition: { - set_bind_to_time_partition(from.bind_to_time_partition()); - break; - } - case PARTITION_DATA_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactBindingData) -} - -void ArtifactBindingData::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - transform_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - index_ = 0u; - clear_has_partition_data(); -} - -ArtifactBindingData::~ArtifactBindingData() { - // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactBindingData) - SharedDtor(); -} - -void ArtifactBindingData::SharedDtor() { - transform_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (has_partition_data()) { - clear_partition_data(); - } -} - -void ArtifactBindingData::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArtifactBindingData& ArtifactBindingData::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void ArtifactBindingData::clear_partition_data() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.ArtifactBindingData) - switch (partition_data_case()) { - case kPartitionKey: { - partition_data_.partition_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kBindToTimePartition: { - // No need to clear - break; - } - case PARTITION_DATA_NOT_SET: { - break; - } - } - _oneof_case_[0] = PARTITION_DATA_NOT_SET; -} - - -void ArtifactBindingData::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactBindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - transform_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - index_ = 0u; - clear_partition_data(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArtifactBindingData::_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) { - // uint32 index = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_index(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string partition_key = 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.ArtifactBindingData.partition_key"); - object = msg->mutable_partition_key(); - 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; - } - // bool bind_to_time_partition = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_bind_to_time_partition(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string transform = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactBindingData.transform"); - object = msg->mutable_transform(); - 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 ArtifactBindingData::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.ArtifactBindingData) - 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)) { - // uint32 index = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &index_))); - } else { - goto handle_unusual; - } - break; - } - - // string partition_key = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_partition_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partition_key().data(), static_cast(this->partition_key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ArtifactBindingData.partition_key")); - } else { - goto handle_unusual; - } - break; - } - - // bool bind_to_time_partition = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - clear_partition_data(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &partition_data_.bind_to_time_partition_))); - set_has_bind_to_time_partition(); - } else { - goto handle_unusual; - } - break; - } - - // string transform = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_transform())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->transform().data(), static_cast(this->transform().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ArtifactBindingData.transform")); - } 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.ArtifactBindingData) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactBindingData) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArtifactBindingData::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactBindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 index = 1; - if (this->index() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->index(), output); - } - - // string partition_key = 2; - if (has_partition_key()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partition_key().data(), static_cast(this->partition_key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactBindingData.partition_key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->partition_key(), output); - } - - // bool bind_to_time_partition = 3; - if (has_bind_to_time_partition()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->bind_to_time_partition(), output); - } - - // string transform = 4; - if (this->transform().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->transform().data(), static_cast(this->transform().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactBindingData.transform"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->transform(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ArtifactBindingData) -} - -::google::protobuf::uint8* ArtifactBindingData::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactBindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 index = 1; - if (this->index() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->index(), target); - } - - // string partition_key = 2; - if (has_partition_key()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partition_key().data(), static_cast(this->partition_key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactBindingData.partition_key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->partition_key(), target); - } - - // bool bind_to_time_partition = 3; - if (has_bind_to_time_partition()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->bind_to_time_partition(), target); - } - - // string transform = 4; - if (this->transform().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->transform().data(), static_cast(this->transform().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactBindingData.transform"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->transform(), 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.ArtifactBindingData) - return target; -} - -size_t ArtifactBindingData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactBindingData) - 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 transform = 4; - if (this->transform().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->transform()); - } - - // uint32 index = 1; - if (this->index() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->index()); - } - - switch (partition_data_case()) { - // string partition_key = 2; - case kPartitionKey: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->partition_key()); - break; - } - // bool bind_to_time_partition = 3; - case kBindToTimePartition: { - total_size += 1 + 1; - break; - } - case PARTITION_DATA_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArtifactBindingData::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactBindingData) - GOOGLE_DCHECK_NE(&from, this); - const ArtifactBindingData* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactBindingData) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactBindingData) - MergeFrom(*source); - } -} - -void ArtifactBindingData::MergeFrom(const ArtifactBindingData& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactBindingData) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.transform().size() > 0) { - - transform_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transform_); - } - if (from.index() != 0) { - set_index(from.index()); - } - switch (from.partition_data_case()) { - case kPartitionKey: { - set_partition_key(from.partition_key()); - break; - } - case kBindToTimePartition: { - set_bind_to_time_partition(from.bind_to_time_partition()); - break; - } - case PARTITION_DATA_NOT_SET: { - break; - } - } -} - -void ArtifactBindingData::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactBindingData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArtifactBindingData::CopyFrom(const ArtifactBindingData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactBindingData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArtifactBindingData::IsInitialized() const { - return true; -} - -void ArtifactBindingData::Swap(ArtifactBindingData* other) { - if (other == this) return; - InternalSwap(other); -} -void ArtifactBindingData::InternalSwap(ArtifactBindingData* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - transform_.Swap(&other->transform_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(index_, other->index_); - swap(partition_data_, other->partition_data_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata ArtifactBindingData::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void InputBindingData::InitAsDefaultInstance() { -} -class InputBindingData::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int InputBindingData::kVarFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -InputBindingData::InputBindingData() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.InputBindingData) -} -InputBindingData::InputBindingData(const InputBindingData& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.var().size() > 0) { - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.InputBindingData) -} - -void InputBindingData::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -InputBindingData::~InputBindingData() { - // @@protoc_insertion_point(destructor:flyteidl.core.InputBindingData) - SharedDtor(); -} - -void InputBindingData::SharedDtor() { - var_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void InputBindingData::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const InputBindingData& InputBindingData::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_InputBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void InputBindingData::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.InputBindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* InputBindingData::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string var = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.InputBindingData.var"); - object = msg->mutable_var(); - 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 InputBindingData::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.InputBindingData) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string var = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_var())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.InputBindingData.var")); - } 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.InputBindingData) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.InputBindingData) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void InputBindingData::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.InputBindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string var = 1; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.InputBindingData.var"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->var(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.InputBindingData) -} - -::google::protobuf::uint8* InputBindingData::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.InputBindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string var = 1; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.InputBindingData.var"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->var(), 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.InputBindingData) - return target; -} - -size_t InputBindingData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.InputBindingData) - 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 var = 1; - if (this->var().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->var()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void InputBindingData::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.InputBindingData) - GOOGLE_DCHECK_NE(&from, this); - const InputBindingData* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.InputBindingData) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.InputBindingData) - MergeFrom(*source); - } -} - -void InputBindingData::MergeFrom(const InputBindingData& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.InputBindingData) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.var().size() > 0) { - - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } -} - -void InputBindingData::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.InputBindingData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void InputBindingData::CopyFrom(const InputBindingData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.InputBindingData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool InputBindingData::IsInitialized() const { - return true; -} - -void InputBindingData::Swap(InputBindingData* other) { - if (other == this) return; - InternalSwap(other); -} -void InputBindingData::InternalSwap(InputBindingData* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - var_.Swap(&other->var_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata InputBindingData::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LabelValue::InitAsDefaultInstance() { - ::flyteidl::core::_LabelValue_default_instance_.static_value_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::core::_LabelValue_default_instance_.time_value_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::core::_LabelValue_default_instance_.triggered_binding_ = const_cast< ::flyteidl::core::ArtifactBindingData*>( - ::flyteidl::core::ArtifactBindingData::internal_default_instance()); - ::flyteidl::core::_LabelValue_default_instance_.input_binding_ = const_cast< ::flyteidl::core::InputBindingData*>( - ::flyteidl::core::InputBindingData::internal_default_instance()); -} -class LabelValue::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& time_value(const LabelValue* msg); - static const ::flyteidl::core::ArtifactBindingData& triggered_binding(const LabelValue* msg); - static const ::flyteidl::core::InputBindingData& input_binding(const LabelValue* msg); -}; - -const ::google::protobuf::Timestamp& -LabelValue::HasBitSetters::time_value(const LabelValue* msg) { - return *msg->value_.time_value_; -} -const ::flyteidl::core::ArtifactBindingData& -LabelValue::HasBitSetters::triggered_binding(const LabelValue* msg) { - return *msg->value_.triggered_binding_; -} -const ::flyteidl::core::InputBindingData& -LabelValue::HasBitSetters::input_binding(const LabelValue* msg) { - return *msg->value_.input_binding_; -} -void LabelValue::set_allocated_time_value(::google::protobuf::Timestamp* time_value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (time_value) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(time_value)->GetArena(); - if (message_arena != submessage_arena) { - time_value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, time_value, submessage_arena); - } - set_has_time_value(); - value_.time_value_ = time_value; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LabelValue.time_value) -} -void LabelValue::clear_time_value() { - if (has_time_value()) { - delete value_.time_value_; - clear_has_value(); - } -} -void LabelValue::set_allocated_triggered_binding(::flyteidl::core::ArtifactBindingData* triggered_binding) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (triggered_binding) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - triggered_binding = ::google::protobuf::internal::GetOwnedMessage( - message_arena, triggered_binding, submessage_arena); - } - set_has_triggered_binding(); - value_.triggered_binding_ = triggered_binding; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LabelValue.triggered_binding) -} -void LabelValue::set_allocated_input_binding(::flyteidl::core::InputBindingData* input_binding) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (input_binding) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - input_binding = ::google::protobuf::internal::GetOwnedMessage( - message_arena, input_binding, submessage_arena); - } - set_has_input_binding(); - value_.input_binding_ = input_binding; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LabelValue.input_binding) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LabelValue::kStaticValueFieldNumber; -const int LabelValue::kTimeValueFieldNumber; -const int LabelValue::kTriggeredBindingFieldNumber; -const int LabelValue::kInputBindingFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LabelValue::LabelValue() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.LabelValue) -} -LabelValue::LabelValue(const LabelValue& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_value(); - switch (from.value_case()) { - case kStaticValue: { - set_static_value(from.static_value()); - break; - } - case kTimeValue: { - mutable_time_value()->::google::protobuf::Timestamp::MergeFrom(from.time_value()); - break; - } - case kTriggeredBinding: { - mutable_triggered_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.triggered_binding()); - break; - } - case kInputBinding: { - mutable_input_binding()->::flyteidl::core::InputBindingData::MergeFrom(from.input_binding()); - break; - } - case VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.LabelValue) -} - -void LabelValue::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - clear_has_value(); -} - -LabelValue::~LabelValue() { - // @@protoc_insertion_point(destructor:flyteidl.core.LabelValue) - SharedDtor(); -} - -void LabelValue::SharedDtor() { - if (has_value()) { - clear_value(); - } -} - -void LabelValue::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LabelValue& LabelValue::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void LabelValue::clear_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.LabelValue) - switch (value_case()) { - case kStaticValue: { - value_.static_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kTimeValue: { - delete value_.time_value_; - break; - } - case kTriggeredBinding: { - delete value_.triggered_binding_; - break; - } - case kInputBinding: { - delete value_.input_binding_; - break; - } - case VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUE_NOT_SET; -} - - -void LabelValue::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.LabelValue) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LabelValue::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string static_value = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.LabelValue.static_value"); - object = msg->mutable_static_value(); - 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; - } - // .google.protobuf.Timestamp time_value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_time_value(); - 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.ArtifactBindingData triggered_binding = 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::ArtifactBindingData::_InternalParse; - object = msg->mutable_triggered_binding(); - 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.InputBindingData input_binding = 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::InputBindingData::_InternalParse; - object = msg->mutable_input_binding(); - 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 LabelValue::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.LabelValue) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string static_value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_static_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->static_value().data(), static_cast(this->static_value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.LabelValue.static_value")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp time_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_time_value())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArtifactBindingData triggered_binding = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_triggered_binding())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.InputBindingData input_binding = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_input_binding())); - } 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.LabelValue) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.LabelValue) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LabelValue::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.LabelValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string static_value = 1; - if (has_static_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->static_value().data(), static_cast(this->static_value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.LabelValue.static_value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->static_value(), output); - } - - // .google.protobuf.Timestamp time_value = 2; - if (has_time_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::time_value(this), output); - } - - // .flyteidl.core.ArtifactBindingData triggered_binding = 3; - if (has_triggered_binding()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::triggered_binding(this), output); - } - - // .flyteidl.core.InputBindingData input_binding = 4; - if (has_input_binding()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::input_binding(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.LabelValue) -} - -::google::protobuf::uint8* LabelValue::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.LabelValue) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string static_value = 1; - if (has_static_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->static_value().data(), static_cast(this->static_value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.LabelValue.static_value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->static_value(), target); - } - - // .google.protobuf.Timestamp time_value = 2; - if (has_time_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::time_value(this), target); - } - - // .flyteidl.core.ArtifactBindingData triggered_binding = 3; - if (has_triggered_binding()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::triggered_binding(this), target); - } - - // .flyteidl.core.InputBindingData input_binding = 4; - if (has_input_binding()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::input_binding(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.LabelValue) - return target; -} - -size_t LabelValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.LabelValue) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (value_case()) { - // string static_value = 1; - case kStaticValue: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->static_value()); - break; - } - // .google.protobuf.Timestamp time_value = 2; - case kTimeValue: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.time_value_); - break; - } - // .flyteidl.core.ArtifactBindingData triggered_binding = 3; - case kTriggeredBinding: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.triggered_binding_); - break; - } - // .flyteidl.core.InputBindingData input_binding = 4; - case kInputBinding: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.input_binding_); - break; - } - case VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LabelValue::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.LabelValue) - GOOGLE_DCHECK_NE(&from, this); - const LabelValue* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.LabelValue) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.LabelValue) - MergeFrom(*source); - } -} - -void LabelValue::MergeFrom(const LabelValue& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.LabelValue) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.value_case()) { - case kStaticValue: { - set_static_value(from.static_value()); - break; - } - case kTimeValue: { - mutable_time_value()->::google::protobuf::Timestamp::MergeFrom(from.time_value()); - break; - } - case kTriggeredBinding: { - mutable_triggered_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.triggered_binding()); - break; - } - case kInputBinding: { - mutable_input_binding()->::flyteidl::core::InputBindingData::MergeFrom(from.input_binding()); - break; - } - case VALUE_NOT_SET: { - break; - } - } -} - -void LabelValue::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.LabelValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LabelValue::CopyFrom(const LabelValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.LabelValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LabelValue::IsInitialized() const { - return true; -} - -void LabelValue::Swap(LabelValue* other) { - if (other == this) return; - InternalSwap(other); -} -void LabelValue::InternalSwap(LabelValue* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(value_, other->value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata LabelValue::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -Partitions_ValueEntry_DoNotUse::Partitions_ValueEntry_DoNotUse() {} -Partitions_ValueEntry_DoNotUse::Partitions_ValueEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void Partitions_ValueEntry_DoNotUse::MergeFrom(const Partitions_ValueEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata Partitions_ValueEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[4]; -} -void Partitions_ValueEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Partitions_ValueEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - Partitions_ValueEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Partitions.ValueEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void Partitions::InitAsDefaultInstance() { -} -class Partitions::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Partitions::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Partitions::Partitions() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Partitions) -} -Partitions::Partitions(const Partitions& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - value_.MergeFrom(from.value_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Partitions) -} - -void Partitions::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base); -} - -Partitions::~Partitions() { - // @@protoc_insertion_point(destructor:flyteidl.core.Partitions) - SharedDtor(); -} - -void Partitions::SharedDtor() { -} - -void Partitions::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Partitions& Partitions::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void Partitions::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Partitions) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - value_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Partitions::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map value = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::Partitions_ValueEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->value_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Partitions::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.Partitions) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - Partitions_ValueEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - Partitions_ValueEntry_DoNotUse, - ::std::string, ::flyteidl::core::LabelValue, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue > > parser(&value_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Partitions.ValueEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Partitions) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Partitions) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Partitions::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Partitions) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map value = 1; - if (!this->value().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Partitions.ValueEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->value().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->value().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator - it = this->value().begin(); - it != this->value().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(value_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator - it = this->value().begin(); - it != this->value().end(); ++it) { - entry.reset(value_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Partitions) -} - -::google::protobuf::uint8* Partitions::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Partitions) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map value = 1; - if (!this->value().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Partitions.ValueEntry.key"); - } - }; - - if (false && - this->value().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->value().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator - it = this->value().begin(); - it != this->value().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(value_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator - it = this->value().begin(); - it != this->value().end(); ++it) { - entry.reset(value_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.Partitions) - return target; -} - -size_t Partitions::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Partitions) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map value = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->value_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >::const_iterator - it = this->value().begin(); - it != this->value().end(); ++it) { - entry.reset(value_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Partitions::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Partitions) - GOOGLE_DCHECK_NE(&from, this); - const Partitions* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Partitions) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Partitions) - MergeFrom(*source); - } -} - -void Partitions::MergeFrom(const Partitions& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Partitions) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - value_.MergeFrom(from.value_); -} - -void Partitions::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Partitions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Partitions::CopyFrom(const Partitions& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Partitions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Partitions::IsInitialized() const { - return true; -} - -void Partitions::Swap(Partitions* other) { - if (other == this) return; - InternalSwap(other); -} -void Partitions::InternalSwap(Partitions* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - value_.Swap(&other->value_); -} - -::google::protobuf::Metadata Partitions::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TimePartition::InitAsDefaultInstance() { - ::flyteidl::core::_TimePartition_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::LabelValue*>( - ::flyteidl::core::LabelValue::internal_default_instance()); -} -class TimePartition::HasBitSetters { - public: - static const ::flyteidl::core::LabelValue& value(const TimePartition* msg); -}; - -const ::flyteidl::core::LabelValue& -TimePartition::HasBitSetters::value(const TimePartition* msg) { - return *msg->value_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TimePartition::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TimePartition::TimePartition() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TimePartition) -} -TimePartition::TimePartition(const TimePartition& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_value()) { - value_ = new ::flyteidl::core::LabelValue(*from.value_); - } else { - value_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TimePartition) -} - -void TimePartition::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - value_ = nullptr; -} - -TimePartition::~TimePartition() { - // @@protoc_insertion_point(destructor:flyteidl.core.TimePartition) - SharedDtor(); -} - -void TimePartition::SharedDtor() { - if (this != internal_default_instance()) delete value_; -} - -void TimePartition::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TimePartition& TimePartition::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TimePartition_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void TimePartition::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TimePartition) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TimePartition::_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.LabelValue value = 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::LabelValue::_InternalParse; - object = msg->mutable_value(); - 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 TimePartition::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.TimePartition) - 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.LabelValue value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.TimePartition) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TimePartition) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TimePartition::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TimePartition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LabelValue value = 1; - if (this->has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::value(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.TimePartition) -} - -::google::protobuf::uint8* TimePartition::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TimePartition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LabelValue value = 1; - if (this->has_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::value(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.TimePartition) - return target; -} - -size_t TimePartition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TimePartition) - 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.LabelValue value = 1; - if (this->has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TimePartition::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TimePartition) - GOOGLE_DCHECK_NE(&from, this); - const TimePartition* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TimePartition) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TimePartition) - MergeFrom(*source); - } -} - -void TimePartition::MergeFrom(const TimePartition& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TimePartition) - 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_value()) { - mutable_value()->::flyteidl::core::LabelValue::MergeFrom(from.value()); - } -} - -void TimePartition::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TimePartition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TimePartition::CopyFrom(const TimePartition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TimePartition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TimePartition::IsInitialized() const { - return true; -} - -void TimePartition::Swap(TimePartition* other) { - if (other == this) return; - InternalSwap(other); -} -void TimePartition::InternalSwap(TimePartition* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(value_, other->value_); -} - -::google::protobuf::Metadata TimePartition::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ArtifactID::InitAsDefaultInstance() { - ::flyteidl::core::_ArtifactID_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( - ::flyteidl::core::ArtifactKey::internal_default_instance()); - ::flyteidl::core::_ArtifactID_default_instance_._instance.get_mutable()->partitions_ = const_cast< ::flyteidl::core::Partitions*>( - ::flyteidl::core::Partitions::internal_default_instance()); - ::flyteidl::core::_ArtifactID_default_instance_._instance.get_mutable()->time_partition_ = const_cast< ::flyteidl::core::TimePartition*>( - ::flyteidl::core::TimePartition::internal_default_instance()); -} -class ArtifactID::HasBitSetters { - public: - static const ::flyteidl::core::ArtifactKey& artifact_key(const ArtifactID* msg); - static const ::flyteidl::core::Partitions& partitions(const ArtifactID* msg); - static const ::flyteidl::core::TimePartition& time_partition(const ArtifactID* msg); -}; - -const ::flyteidl::core::ArtifactKey& -ArtifactID::HasBitSetters::artifact_key(const ArtifactID* msg) { - return *msg->artifact_key_; -} -const ::flyteidl::core::Partitions& -ArtifactID::HasBitSetters::partitions(const ArtifactID* msg) { - return *msg->partitions_; -} -const ::flyteidl::core::TimePartition& -ArtifactID::HasBitSetters::time_partition(const ArtifactID* msg) { - return *msg->time_partition_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArtifactID::kArtifactKeyFieldNumber; -const int ArtifactID::kVersionFieldNumber; -const int ArtifactID::kPartitionsFieldNumber; -const int ArtifactID::kTimePartitionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArtifactID::ArtifactID() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactID) -} -ArtifactID::ArtifactID(const ArtifactID& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.version().size() > 0) { - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - if (from.has_artifact_key()) { - artifact_key_ = new ::flyteidl::core::ArtifactKey(*from.artifact_key_); - } else { - artifact_key_ = nullptr; - } - if (from.has_partitions()) { - partitions_ = new ::flyteidl::core::Partitions(*from.partitions_); - } else { - partitions_ = nullptr; - } - if (from.has_time_partition()) { - time_partition_ = new ::flyteidl::core::TimePartition(*from.time_partition_); - } else { - time_partition_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactID) -} - -void ArtifactID::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&artifact_key_, 0, static_cast( - reinterpret_cast(&time_partition_) - - reinterpret_cast(&artifact_key_)) + sizeof(time_partition_)); -} - -ArtifactID::~ArtifactID() { - // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactID) - SharedDtor(); -} - -void ArtifactID::SharedDtor() { - version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete artifact_key_; - if (this != internal_default_instance()) delete partitions_; - if (this != internal_default_instance()) delete time_partition_; -} - -void ArtifactID::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArtifactID& ArtifactID::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void ArtifactID::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactID) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { - delete artifact_key_; - } - artifact_key_ = nullptr; - if (GetArenaNoVirtual() == nullptr && partitions_ != nullptr) { - delete partitions_; - } - partitions_ = nullptr; - if (GetArenaNoVirtual() == nullptr && time_partition_ != nullptr) { - delete time_partition_; - } - time_partition_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArtifactID::_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.ArtifactKey artifact_key = 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::ArtifactKey::_InternalParse; - object = msg->mutable_artifact_key(); - 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 version = 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.ArtifactID.version"); - object = msg->mutable_version(); - 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.Partitions partitions = 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::Partitions::_InternalParse; - object = msg->mutable_partitions(); - 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.TimePartition time_partition = 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::TimePartition::_InternalParse; - object = msg->mutable_time_partition(); - 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 ArtifactID::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.ArtifactID) - 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.ArtifactKey artifact_key = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_key())); - } else { - goto handle_unusual; - } - break; - } - - // string version = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ArtifactID.version")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Partitions partitions = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_partitions())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TimePartition time_partition = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_time_partition())); - } 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.ArtifactID) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactID) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArtifactID::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactID) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ArtifactKey artifact_key = 1; - if (this->has_artifact_key()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::artifact_key(this), output); - } - - // string version = 2; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactID.version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->version(), output); - } - - // .flyteidl.core.Partitions partitions = 3; - if (this->has_partitions()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::partitions(this), output); - } - - // .flyteidl.core.TimePartition time_partition = 4; - if (this->has_time_partition()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::time_partition(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.ArtifactID) -} - -::google::protobuf::uint8* ArtifactID::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactID) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ArtifactKey artifact_key = 1; - if (this->has_artifact_key()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::artifact_key(this), target); - } - - // string version = 2; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactID.version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->version(), target); - } - - // .flyteidl.core.Partitions partitions = 3; - if (this->has_partitions()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::partitions(this), target); - } - - // .flyteidl.core.TimePartition time_partition = 4; - if (this->has_time_partition()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::time_partition(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.ArtifactID) - return target; -} - -size_t ArtifactID::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactID) - 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 version = 2; - if (this->version().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->version()); - } - - // .flyteidl.core.ArtifactKey artifact_key = 1; - if (this->has_artifact_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *artifact_key_); - } - - // .flyteidl.core.Partitions partitions = 3; - if (this->has_partitions()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *partitions_); - } - - // .flyteidl.core.TimePartition time_partition = 4; - if (this->has_time_partition()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *time_partition_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArtifactID::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactID) - GOOGLE_DCHECK_NE(&from, this); - const ArtifactID* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactID) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactID) - MergeFrom(*source); - } -} - -void ArtifactID::MergeFrom(const ArtifactID& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactID) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.version().size() > 0) { - - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - if (from.has_artifact_key()) { - mutable_artifact_key()->::flyteidl::core::ArtifactKey::MergeFrom(from.artifact_key()); - } - if (from.has_partitions()) { - mutable_partitions()->::flyteidl::core::Partitions::MergeFrom(from.partitions()); - } - if (from.has_time_partition()) { - mutable_time_partition()->::flyteidl::core::TimePartition::MergeFrom(from.time_partition()); - } -} - -void ArtifactID::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactID) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArtifactID::CopyFrom(const ArtifactID& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactID) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArtifactID::IsInitialized() const { - return true; -} - -void ArtifactID::Swap(ArtifactID* other) { - if (other == this) return; - InternalSwap(other); -} -void ArtifactID::InternalSwap(ArtifactID* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(artifact_key_, other->artifact_key_); - swap(partitions_, other->partitions_); - swap(time_partition_, other->time_partition_); -} - -::google::protobuf::Metadata ArtifactID::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ArtifactTag::InitAsDefaultInstance() { - ::flyteidl::core::_ArtifactTag_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( - ::flyteidl::core::ArtifactKey::internal_default_instance()); - ::flyteidl::core::_ArtifactTag_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::LabelValue*>( - ::flyteidl::core::LabelValue::internal_default_instance()); -} -class ArtifactTag::HasBitSetters { - public: - static const ::flyteidl::core::ArtifactKey& artifact_key(const ArtifactTag* msg); - static const ::flyteidl::core::LabelValue& value(const ArtifactTag* msg); -}; - -const ::flyteidl::core::ArtifactKey& -ArtifactTag::HasBitSetters::artifact_key(const ArtifactTag* msg) { - return *msg->artifact_key_; -} -const ::flyteidl::core::LabelValue& -ArtifactTag::HasBitSetters::value(const ArtifactTag* msg) { - return *msg->value_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArtifactTag::kArtifactKeyFieldNumber; -const int ArtifactTag::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArtifactTag::ArtifactTag() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactTag) -} -ArtifactTag::ArtifactTag(const ArtifactTag& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_artifact_key()) { - artifact_key_ = new ::flyteidl::core::ArtifactKey(*from.artifact_key_); - } else { - artifact_key_ = nullptr; - } - if (from.has_value()) { - value_ = new ::flyteidl::core::LabelValue(*from.value_); - } else { - value_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactTag) -} - -void ArtifactTag::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - ::memset(&artifact_key_, 0, static_cast( - reinterpret_cast(&value_) - - reinterpret_cast(&artifact_key_)) + sizeof(value_)); -} - -ArtifactTag::~ArtifactTag() { - // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactTag) - SharedDtor(); -} - -void ArtifactTag::SharedDtor() { - if (this != internal_default_instance()) delete artifact_key_; - if (this != internal_default_instance()) delete value_; -} - -void ArtifactTag::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArtifactTag& ArtifactTag::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void ArtifactTag::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactTag) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { - delete artifact_key_; - } - artifact_key_ = nullptr; - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArtifactTag::_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.ArtifactKey artifact_key = 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::ArtifactKey::_InternalParse; - object = msg->mutable_artifact_key(); - 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.LabelValue value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LabelValue::_InternalParse; - object = msg->mutable_value(); - 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 ArtifactTag::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.ArtifactTag) - 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.ArtifactKey artifact_key = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_key())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LabelValue value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.ArtifactTag) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactTag) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArtifactTag::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactTag) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ArtifactKey artifact_key = 1; - if (this->has_artifact_key()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::artifact_key(this), output); - } - - // .flyteidl.core.LabelValue value = 2; - if (this->has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::value(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.ArtifactTag) -} - -::google::protobuf::uint8* ArtifactTag::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactTag) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ArtifactKey artifact_key = 1; - if (this->has_artifact_key()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::artifact_key(this), target); - } - - // .flyteidl.core.LabelValue value = 2; - if (this->has_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::value(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.ArtifactTag) - return target; -} - -size_t ArtifactTag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactTag) - 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.ArtifactKey artifact_key = 1; - if (this->has_artifact_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *artifact_key_); - } - - // .flyteidl.core.LabelValue value = 2; - if (this->has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArtifactTag::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactTag) - GOOGLE_DCHECK_NE(&from, this); - const ArtifactTag* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactTag) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactTag) - MergeFrom(*source); - } -} - -void ArtifactTag::MergeFrom(const ArtifactTag& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactTag) - 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_artifact_key()) { - mutable_artifact_key()->::flyteidl::core::ArtifactKey::MergeFrom(from.artifact_key()); - } - if (from.has_value()) { - mutable_value()->::flyteidl::core::LabelValue::MergeFrom(from.value()); - } -} - -void ArtifactTag::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactTag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArtifactTag::CopyFrom(const ArtifactTag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactTag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArtifactTag::IsInitialized() const { - return true; -} - -void ArtifactTag::Swap(ArtifactTag* other) { - if (other == this) return; - InternalSwap(other); -} -void ArtifactTag::InternalSwap(ArtifactTag* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(artifact_key_, other->artifact_key_); - swap(value_, other->value_); -} - -::google::protobuf::Metadata ArtifactTag::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ArtifactQuery::InitAsDefaultInstance() { - ::flyteidl::core::_ArtifactQuery_default_instance_.artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( - ::flyteidl::core::ArtifactID::internal_default_instance()); - ::flyteidl::core::_ArtifactQuery_default_instance_.artifact_tag_ = const_cast< ::flyteidl::core::ArtifactTag*>( - ::flyteidl::core::ArtifactTag::internal_default_instance()); - ::flyteidl::core::_ArtifactQuery_default_instance_.uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::core::_ArtifactQuery_default_instance_.binding_ = const_cast< ::flyteidl::core::ArtifactBindingData*>( - ::flyteidl::core::ArtifactBindingData::internal_default_instance()); -} -class ArtifactQuery::HasBitSetters { - public: - static const ::flyteidl::core::ArtifactID& artifact_id(const ArtifactQuery* msg); - static const ::flyteidl::core::ArtifactTag& artifact_tag(const ArtifactQuery* msg); - static const ::flyteidl::core::ArtifactBindingData& binding(const ArtifactQuery* msg); -}; - -const ::flyteidl::core::ArtifactID& -ArtifactQuery::HasBitSetters::artifact_id(const ArtifactQuery* msg) { - return *msg->identifier_.artifact_id_; -} -const ::flyteidl::core::ArtifactTag& -ArtifactQuery::HasBitSetters::artifact_tag(const ArtifactQuery* msg) { - return *msg->identifier_.artifact_tag_; -} -const ::flyteidl::core::ArtifactBindingData& -ArtifactQuery::HasBitSetters::binding(const ArtifactQuery* msg) { - return *msg->identifier_.binding_; -} -void ArtifactQuery::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_identifier(); - if (artifact_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_id, submessage_arena); - } - set_has_artifact_id(); - identifier_.artifact_id_ = artifact_id; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.artifact_id) -} -void ArtifactQuery::set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_identifier(); - if (artifact_tag) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_tag = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_tag, submessage_arena); - } - set_has_artifact_tag(); - identifier_.artifact_tag_ = artifact_tag; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.artifact_tag) -} -void ArtifactQuery::set_allocated_binding(::flyteidl::core::ArtifactBindingData* binding) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_identifier(); - if (binding) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - binding = ::google::protobuf::internal::GetOwnedMessage( - message_arena, binding, submessage_arena); - } - set_has_binding(); - identifier_.binding_ = binding; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.binding) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArtifactQuery::kArtifactIdFieldNumber; -const int ArtifactQuery::kArtifactTagFieldNumber; -const int ArtifactQuery::kUriFieldNumber; -const int ArtifactQuery::kBindingFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArtifactQuery::ArtifactQuery() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ArtifactQuery) -} -ArtifactQuery::ArtifactQuery(const ArtifactQuery& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_identifier(); - switch (from.identifier_case()) { - case kArtifactId: { - mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); - break; - } - case kArtifactTag: { - mutable_artifact_tag()->::flyteidl::core::ArtifactTag::MergeFrom(from.artifact_tag()); - break; - } - case kUri: { - set_uri(from.uri()); - break; - } - case kBinding: { - mutable_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.binding()); - break; - } - case IDENTIFIER_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactQuery) -} - -void ArtifactQuery::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - clear_has_identifier(); -} - -ArtifactQuery::~ArtifactQuery() { - // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactQuery) - SharedDtor(); -} - -void ArtifactQuery::SharedDtor() { - if (has_identifier()) { - clear_identifier(); - } -} - -void ArtifactQuery::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArtifactQuery& ArtifactQuery::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base); - return *internal_default_instance(); -} - - -void ArtifactQuery::clear_identifier() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.ArtifactQuery) - switch (identifier_case()) { - case kArtifactId: { - delete identifier_.artifact_id_; - break; - } - case kArtifactTag: { - delete identifier_.artifact_tag_; - break; - } - case kUri: { - identifier_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kBinding: { - delete identifier_.binding_; - break; - } - case IDENTIFIER_NOT_SET: { - break; - } - } - _oneof_case_[0] = IDENTIFIER_NOT_SET; -} - - -void ArtifactQuery::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArtifactQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_identifier(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArtifactQuery::_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.ArtifactID artifact_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::ArtifactID::_InternalParse; - object = msg->mutable_artifact_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.ArtifactTag artifact_tag = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ArtifactTag::_InternalParse; - object = msg->mutable_artifact_tag(); - 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 uri = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ArtifactQuery.uri"); - object = msg->mutable_uri(); - 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.ArtifactBindingData binding = 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::ArtifactBindingData::_InternalParse; - object = msg->mutable_binding(); - 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 ArtifactQuery::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.ArtifactQuery) - 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.ArtifactID artifact_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArtifactTag artifact_tag = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_tag())); - } else { - goto handle_unusual; - } - break; - } - - // string uri = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ArtifactQuery.uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArtifactBindingData binding = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_binding())); - } 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.ArtifactQuery) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ArtifactQuery) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArtifactQuery::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ArtifactQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ArtifactID artifact_id = 1; - if (has_artifact_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::artifact_id(this), output); - } - - // .flyteidl.core.ArtifactTag artifact_tag = 2; - if (has_artifact_tag()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::artifact_tag(this), output); - } - - // string uri = 3; - if (has_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactQuery.uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->uri(), output); - } - - // .flyteidl.core.ArtifactBindingData binding = 4; - if (has_binding()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::binding(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.ArtifactQuery) -} - -::google::protobuf::uint8* ArtifactQuery::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArtifactQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ArtifactID artifact_id = 1; - if (has_artifact_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::artifact_id(this), target); - } - - // .flyteidl.core.ArtifactTag artifact_tag = 2; - if (has_artifact_tag()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::artifact_tag(this), target); - } - - // string uri = 3; - if (has_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ArtifactQuery.uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->uri(), target); - } - - // .flyteidl.core.ArtifactBindingData binding = 4; - if (has_binding()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::binding(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.ArtifactQuery) - return target; -} - -size_t ArtifactQuery::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArtifactQuery) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (identifier_case()) { - // .flyteidl.core.ArtifactID artifact_id = 1; - case kArtifactId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *identifier_.artifact_id_); - break; - } - // .flyteidl.core.ArtifactTag artifact_tag = 2; - case kArtifactTag: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *identifier_.artifact_tag_); - break; - } - // string uri = 3; - case kUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uri()); - break; - } - // .flyteidl.core.ArtifactBindingData binding = 4; - case kBinding: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *identifier_.binding_); - break; - } - case IDENTIFIER_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArtifactQuery::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArtifactQuery) - GOOGLE_DCHECK_NE(&from, this); - const ArtifactQuery* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArtifactQuery) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArtifactQuery) - MergeFrom(*source); - } -} - -void ArtifactQuery::MergeFrom(const ArtifactQuery& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArtifactQuery) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.identifier_case()) { - case kArtifactId: { - mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); - break; - } - case kArtifactTag: { - mutable_artifact_tag()->::flyteidl::core::ArtifactTag::MergeFrom(from.artifact_tag()); - break; - } - case kUri: { - set_uri(from.uri()); - break; - } - case kBinding: { - mutable_binding()->::flyteidl::core::ArtifactBindingData::MergeFrom(from.binding()); - break; - } - case IDENTIFIER_NOT_SET: { - break; - } - } -} - -void ArtifactQuery::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArtifactQuery) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArtifactQuery::CopyFrom(const ArtifactQuery& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArtifactQuery) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArtifactQuery::IsInitialized() const { - return true; -} - -void ArtifactQuery::Swap(ArtifactQuery* other) { - if (other == this) return; - InternalSwap(other); -} -void ArtifactQuery::InternalSwap(ArtifactQuery* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(identifier_, other->identifier_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata ArtifactQuery::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fartifact_5fid_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fartifact_5fid_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactKey* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactKey >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ArtifactKey >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactBindingData* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactBindingData >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ArtifactBindingData >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::InputBindingData* Arena::CreateMaybeMessage< ::flyteidl::core::InputBindingData >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::InputBindingData >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::LabelValue* Arena::CreateMaybeMessage< ::flyteidl::core::LabelValue >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::LabelValue >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Partitions_ValueEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::Partitions_ValueEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Partitions_ValueEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Partitions* Arena::CreateMaybeMessage< ::flyteidl::core::Partitions >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Partitions >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TimePartition* Arena::CreateMaybeMessage< ::flyteidl::core::TimePartition >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TimePartition >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactID* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactID >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ArtifactID >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactTag* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactTag >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ArtifactTag >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ArtifactQuery* Arena::CreateMaybeMessage< ::flyteidl::core::ArtifactQuery >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ArtifactQuery >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h deleted file mode 100644 index 5efd7a8cfb..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h +++ /dev/null @@ -1,2738 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/artifact_id.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fartifact_5fid_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fartifact_5fid_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include "flyteidl/core/identifier.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fartifact_5fid_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[10] - 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_2fcore_2fartifact_5fid_2eproto(); -namespace flyteidl { -namespace core { -class ArtifactBindingData; -class ArtifactBindingDataDefaultTypeInternal; -extern ArtifactBindingDataDefaultTypeInternal _ArtifactBindingData_default_instance_; -class ArtifactID; -class ArtifactIDDefaultTypeInternal; -extern ArtifactIDDefaultTypeInternal _ArtifactID_default_instance_; -class ArtifactKey; -class ArtifactKeyDefaultTypeInternal; -extern ArtifactKeyDefaultTypeInternal _ArtifactKey_default_instance_; -class ArtifactQuery; -class ArtifactQueryDefaultTypeInternal; -extern ArtifactQueryDefaultTypeInternal _ArtifactQuery_default_instance_; -class ArtifactTag; -class ArtifactTagDefaultTypeInternal; -extern ArtifactTagDefaultTypeInternal _ArtifactTag_default_instance_; -class InputBindingData; -class InputBindingDataDefaultTypeInternal; -extern InputBindingDataDefaultTypeInternal _InputBindingData_default_instance_; -class LabelValue; -class LabelValueDefaultTypeInternal; -extern LabelValueDefaultTypeInternal _LabelValue_default_instance_; -class Partitions; -class PartitionsDefaultTypeInternal; -extern PartitionsDefaultTypeInternal _Partitions_default_instance_; -class Partitions_ValueEntry_DoNotUse; -class Partitions_ValueEntry_DoNotUseDefaultTypeInternal; -extern Partitions_ValueEntry_DoNotUseDefaultTypeInternal _Partitions_ValueEntry_DoNotUse_default_instance_; -class TimePartition; -class TimePartitionDefaultTypeInternal; -extern TimePartitionDefaultTypeInternal _TimePartition_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::ArtifactBindingData* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactBindingData>(Arena*); -template<> ::flyteidl::core::ArtifactID* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactID>(Arena*); -template<> ::flyteidl::core::ArtifactKey* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactKey>(Arena*); -template<> ::flyteidl::core::ArtifactQuery* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactQuery>(Arena*); -template<> ::flyteidl::core::ArtifactTag* Arena::CreateMaybeMessage<::flyteidl::core::ArtifactTag>(Arena*); -template<> ::flyteidl::core::InputBindingData* Arena::CreateMaybeMessage<::flyteidl::core::InputBindingData>(Arena*); -template<> ::flyteidl::core::LabelValue* Arena::CreateMaybeMessage<::flyteidl::core::LabelValue>(Arena*); -template<> ::flyteidl::core::Partitions* Arena::CreateMaybeMessage<::flyteidl::core::Partitions>(Arena*); -template<> ::flyteidl::core::Partitions_ValueEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::Partitions_ValueEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::TimePartition* Arena::CreateMaybeMessage<::flyteidl::core::TimePartition>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -// =================================================================== - -class ArtifactKey final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactKey) */ { - public: - ArtifactKey(); - virtual ~ArtifactKey(); - - ArtifactKey(const ArtifactKey& from); - - inline ArtifactKey& operator=(const ArtifactKey& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArtifactKey(ArtifactKey&& from) noexcept - : ArtifactKey() { - *this = ::std::move(from); - } - - inline ArtifactKey& operator=(ArtifactKey&& 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 ArtifactKey& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactKey* internal_default_instance() { - return reinterpret_cast( - &_ArtifactKey_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ArtifactKey* other); - friend void swap(ArtifactKey& a, ArtifactKey& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArtifactKey* New() const final { - return CreateMaybeMessage(nullptr); - } - - ArtifactKey* 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 ArtifactKey& from); - void MergeFrom(const ArtifactKey& 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(ArtifactKey* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string name = 3; - void clear_name(); - static const int kNameFieldNumber = 3; - 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); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactKey) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr name_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class ArtifactBindingData final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactBindingData) */ { - public: - ArtifactBindingData(); - virtual ~ArtifactBindingData(); - - ArtifactBindingData(const ArtifactBindingData& from); - - inline ArtifactBindingData& operator=(const ArtifactBindingData& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArtifactBindingData(ArtifactBindingData&& from) noexcept - : ArtifactBindingData() { - *this = ::std::move(from); - } - - inline ArtifactBindingData& operator=(ArtifactBindingData&& 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 ArtifactBindingData& default_instance(); - - enum PartitionDataCase { - kPartitionKey = 2, - kBindToTimePartition = 3, - PARTITION_DATA_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactBindingData* internal_default_instance() { - return reinterpret_cast( - &_ArtifactBindingData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(ArtifactBindingData* other); - friend void swap(ArtifactBindingData& a, ArtifactBindingData& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArtifactBindingData* New() const final { - return CreateMaybeMessage(nullptr); - } - - ArtifactBindingData* 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 ArtifactBindingData& from); - void MergeFrom(const ArtifactBindingData& 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(ArtifactBindingData* 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 transform = 4; - void clear_transform(); - static const int kTransformFieldNumber = 4; - const ::std::string& transform() const; - void set_transform(const ::std::string& value); - #if LANG_CXX11 - void set_transform(::std::string&& value); - #endif - void set_transform(const char* value); - void set_transform(const char* value, size_t size); - ::std::string* mutable_transform(); - ::std::string* release_transform(); - void set_allocated_transform(::std::string* transform); - - // uint32 index = 1; - void clear_index(); - static const int kIndexFieldNumber = 1; - ::google::protobuf::uint32 index() const; - void set_index(::google::protobuf::uint32 value); - - // string partition_key = 2; - private: - bool has_partition_key() const; - public: - void clear_partition_key(); - static const int kPartitionKeyFieldNumber = 2; - const ::std::string& partition_key() const; - void set_partition_key(const ::std::string& value); - #if LANG_CXX11 - void set_partition_key(::std::string&& value); - #endif - void set_partition_key(const char* value); - void set_partition_key(const char* value, size_t size); - ::std::string* mutable_partition_key(); - ::std::string* release_partition_key(); - void set_allocated_partition_key(::std::string* partition_key); - - // bool bind_to_time_partition = 3; - private: - bool has_bind_to_time_partition() const; - public: - void clear_bind_to_time_partition(); - static const int kBindToTimePartitionFieldNumber = 3; - bool bind_to_time_partition() const; - void set_bind_to_time_partition(bool value); - - void clear_partition_data(); - PartitionDataCase partition_data_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactBindingData) - private: - class HasBitSetters; - void set_has_partition_key(); - void set_has_bind_to_time_partition(); - - inline bool has_partition_data() const; - inline void clear_has_partition_data(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr transform_; - ::google::protobuf::uint32 index_; - union PartitionDataUnion { - PartitionDataUnion() {} - ::google::protobuf::internal::ArenaStringPtr partition_key_; - bool bind_to_time_partition_; - } partition_data_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class InputBindingData final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.InputBindingData) */ { - public: - InputBindingData(); - virtual ~InputBindingData(); - - InputBindingData(const InputBindingData& from); - - inline InputBindingData& operator=(const InputBindingData& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - InputBindingData(InputBindingData&& from) noexcept - : InputBindingData() { - *this = ::std::move(from); - } - - inline InputBindingData& operator=(InputBindingData&& 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 InputBindingData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const InputBindingData* internal_default_instance() { - return reinterpret_cast( - &_InputBindingData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(InputBindingData* other); - friend void swap(InputBindingData& a, InputBindingData& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline InputBindingData* New() const final { - return CreateMaybeMessage(nullptr); - } - - InputBindingData* 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 InputBindingData& from); - void MergeFrom(const InputBindingData& 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(InputBindingData* 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 var = 1; - void clear_var(); - static const int kVarFieldNumber = 1; - const ::std::string& var() const; - void set_var(const ::std::string& value); - #if LANG_CXX11 - void set_var(::std::string&& value); - #endif - void set_var(const char* value); - void set_var(const char* value, size_t size); - ::std::string* mutable_var(); - ::std::string* release_var(); - void set_allocated_var(::std::string* var); - - // @@protoc_insertion_point(class_scope:flyteidl.core.InputBindingData) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr var_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class LabelValue final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.LabelValue) */ { - public: - LabelValue(); - virtual ~LabelValue(); - - LabelValue(const LabelValue& from); - - inline LabelValue& operator=(const LabelValue& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LabelValue(LabelValue&& from) noexcept - : LabelValue() { - *this = ::std::move(from); - } - - inline LabelValue& operator=(LabelValue&& 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 LabelValue& default_instance(); - - enum ValueCase { - kStaticValue = 1, - kTimeValue = 2, - kTriggeredBinding = 3, - kInputBinding = 4, - VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LabelValue* internal_default_instance() { - return reinterpret_cast( - &_LabelValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(LabelValue* other); - friend void swap(LabelValue& a, LabelValue& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LabelValue* New() const final { - return CreateMaybeMessage(nullptr); - } - - LabelValue* 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 LabelValue& from); - void MergeFrom(const LabelValue& 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(LabelValue* 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 static_value = 1; - private: - bool has_static_value() const; - public: - void clear_static_value(); - static const int kStaticValueFieldNumber = 1; - const ::std::string& static_value() const; - void set_static_value(const ::std::string& value); - #if LANG_CXX11 - void set_static_value(::std::string&& value); - #endif - void set_static_value(const char* value); - void set_static_value(const char* value, size_t size); - ::std::string* mutable_static_value(); - ::std::string* release_static_value(); - void set_allocated_static_value(::std::string* static_value); - - // .google.protobuf.Timestamp time_value = 2; - bool has_time_value() const; - void clear_time_value(); - static const int kTimeValueFieldNumber = 2; - const ::google::protobuf::Timestamp& time_value() const; - ::google::protobuf::Timestamp* release_time_value(); - ::google::protobuf::Timestamp* mutable_time_value(); - void set_allocated_time_value(::google::protobuf::Timestamp* time_value); - - // .flyteidl.core.ArtifactBindingData triggered_binding = 3; - bool has_triggered_binding() const; - void clear_triggered_binding(); - static const int kTriggeredBindingFieldNumber = 3; - const ::flyteidl::core::ArtifactBindingData& triggered_binding() const; - ::flyteidl::core::ArtifactBindingData* release_triggered_binding(); - ::flyteidl::core::ArtifactBindingData* mutable_triggered_binding(); - void set_allocated_triggered_binding(::flyteidl::core::ArtifactBindingData* triggered_binding); - - // .flyteidl.core.InputBindingData input_binding = 4; - bool has_input_binding() const; - void clear_input_binding(); - static const int kInputBindingFieldNumber = 4; - const ::flyteidl::core::InputBindingData& input_binding() const; - ::flyteidl::core::InputBindingData* release_input_binding(); - ::flyteidl::core::InputBindingData* mutable_input_binding(); - void set_allocated_input_binding(::flyteidl::core::InputBindingData* input_binding); - - void clear_value(); - ValueCase value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.LabelValue) - private: - class HasBitSetters; - void set_has_static_value(); - void set_has_time_value(); - void set_has_triggered_binding(); - void set_has_input_binding(); - - inline bool has_value() const; - inline void clear_has_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ValueUnion { - ValueUnion() {} - ::google::protobuf::internal::ArenaStringPtr static_value_; - ::google::protobuf::Timestamp* time_value_; - ::flyteidl::core::ArtifactBindingData* triggered_binding_; - ::flyteidl::core::InputBindingData* input_binding_; - } value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class Partitions_ValueEntry_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; - Partitions_ValueEntry_DoNotUse(); - Partitions_ValueEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const Partitions_ValueEntry_DoNotUse& other); - static const Partitions_ValueEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Partitions_ValueEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class Partitions final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Partitions) */ { - public: - Partitions(); - virtual ~Partitions(); - - Partitions(const Partitions& from); - - inline Partitions& operator=(const Partitions& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Partitions(Partitions&& from) noexcept - : Partitions() { - *this = ::std::move(from); - } - - inline Partitions& operator=(Partitions&& 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 Partitions& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Partitions* internal_default_instance() { - return reinterpret_cast( - &_Partitions_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(Partitions* other); - friend void swap(Partitions& a, Partitions& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Partitions* New() const final { - return CreateMaybeMessage(nullptr); - } - - Partitions* 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 Partitions& from); - void MergeFrom(const Partitions& 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(Partitions* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map value = 1; - int value_size() const; - void clear_value(); - static const int kValueFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >& - value() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >* - mutable_value(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Partitions) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - Partitions_ValueEntry_DoNotUse, - ::std::string, ::flyteidl::core::LabelValue, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class TimePartition final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TimePartition) */ { - public: - TimePartition(); - virtual ~TimePartition(); - - TimePartition(const TimePartition& from); - - inline TimePartition& operator=(const TimePartition& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TimePartition(TimePartition&& from) noexcept - : TimePartition() { - *this = ::std::move(from); - } - - inline TimePartition& operator=(TimePartition&& 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 TimePartition& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TimePartition* internal_default_instance() { - return reinterpret_cast( - &_TimePartition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(TimePartition* other); - friend void swap(TimePartition& a, TimePartition& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TimePartition* New() const final { - return CreateMaybeMessage(nullptr); - } - - TimePartition* 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 TimePartition& from); - void MergeFrom(const TimePartition& 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(TimePartition* 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.LabelValue value = 1; - bool has_value() const; - void clear_value(); - static const int kValueFieldNumber = 1; - const ::flyteidl::core::LabelValue& value() const; - ::flyteidl::core::LabelValue* release_value(); - ::flyteidl::core::LabelValue* mutable_value(); - void set_allocated_value(::flyteidl::core::LabelValue* value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.TimePartition) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::LabelValue* value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class ArtifactID final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactID) */ { - public: - ArtifactID(); - virtual ~ArtifactID(); - - ArtifactID(const ArtifactID& from); - - inline ArtifactID& operator=(const ArtifactID& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArtifactID(ArtifactID&& from) noexcept - : ArtifactID() { - *this = ::std::move(from); - } - - inline ArtifactID& operator=(ArtifactID&& 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 ArtifactID& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactID* internal_default_instance() { - return reinterpret_cast( - &_ArtifactID_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(ArtifactID* other); - friend void swap(ArtifactID& a, ArtifactID& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArtifactID* New() const final { - return CreateMaybeMessage(nullptr); - } - - ArtifactID* 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 ArtifactID& from); - void MergeFrom(const ArtifactID& 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(ArtifactID* 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 version = 2; - void clear_version(); - static const int kVersionFieldNumber = 2; - 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); - - // .flyteidl.core.ArtifactKey artifact_key = 1; - bool has_artifact_key() const; - void clear_artifact_key(); - static const int kArtifactKeyFieldNumber = 1; - const ::flyteidl::core::ArtifactKey& artifact_key() const; - ::flyteidl::core::ArtifactKey* release_artifact_key(); - ::flyteidl::core::ArtifactKey* mutable_artifact_key(); - void set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key); - - // .flyteidl.core.Partitions partitions = 3; - bool has_partitions() const; - void clear_partitions(); - static const int kPartitionsFieldNumber = 3; - const ::flyteidl::core::Partitions& partitions() const; - ::flyteidl::core::Partitions* release_partitions(); - ::flyteidl::core::Partitions* mutable_partitions(); - void set_allocated_partitions(::flyteidl::core::Partitions* partitions); - - // .flyteidl.core.TimePartition time_partition = 4; - bool has_time_partition() const; - void clear_time_partition(); - static const int kTimePartitionFieldNumber = 4; - const ::flyteidl::core::TimePartition& time_partition() const; - ::flyteidl::core::TimePartition* release_time_partition(); - ::flyteidl::core::TimePartition* mutable_time_partition(); - void set_allocated_time_partition(::flyteidl::core::TimePartition* time_partition); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactID) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::flyteidl::core::ArtifactKey* artifact_key_; - ::flyteidl::core::Partitions* partitions_; - ::flyteidl::core::TimePartition* time_partition_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class ArtifactTag final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactTag) */ { - public: - ArtifactTag(); - virtual ~ArtifactTag(); - - ArtifactTag(const ArtifactTag& from); - - inline ArtifactTag& operator=(const ArtifactTag& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArtifactTag(ArtifactTag&& from) noexcept - : ArtifactTag() { - *this = ::std::move(from); - } - - inline ArtifactTag& operator=(ArtifactTag&& 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 ArtifactTag& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactTag* internal_default_instance() { - return reinterpret_cast( - &_ArtifactTag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(ArtifactTag* other); - friend void swap(ArtifactTag& a, ArtifactTag& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArtifactTag* New() const final { - return CreateMaybeMessage(nullptr); - } - - ArtifactTag* 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 ArtifactTag& from); - void MergeFrom(const ArtifactTag& 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(ArtifactTag* 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.ArtifactKey artifact_key = 1; - bool has_artifact_key() const; - void clear_artifact_key(); - static const int kArtifactKeyFieldNumber = 1; - const ::flyteidl::core::ArtifactKey& artifact_key() const; - ::flyteidl::core::ArtifactKey* release_artifact_key(); - ::flyteidl::core::ArtifactKey* mutable_artifact_key(); - void set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key); - - // .flyteidl.core.LabelValue value = 2; - bool has_value() const; - void clear_value(); - static const int kValueFieldNumber = 2; - const ::flyteidl::core::LabelValue& value() const; - ::flyteidl::core::LabelValue* release_value(); - ::flyteidl::core::LabelValue* mutable_value(); - void set_allocated_value(::flyteidl::core::LabelValue* value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactTag) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::ArtifactKey* artifact_key_; - ::flyteidl::core::LabelValue* value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// ------------------------------------------------------------------- - -class ArtifactQuery final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArtifactQuery) */ { - public: - ArtifactQuery(); - virtual ~ArtifactQuery(); - - ArtifactQuery(const ArtifactQuery& from); - - inline ArtifactQuery& operator=(const ArtifactQuery& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArtifactQuery(ArtifactQuery&& from) noexcept - : ArtifactQuery() { - *this = ::std::move(from); - } - - inline ArtifactQuery& operator=(ArtifactQuery&& 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 ArtifactQuery& default_instance(); - - enum IdentifierCase { - kArtifactId = 1, - kArtifactTag = 2, - kUri = 3, - kBinding = 4, - IDENTIFIER_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactQuery* internal_default_instance() { - return reinterpret_cast( - &_ArtifactQuery_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(ArtifactQuery* other); - friend void swap(ArtifactQuery& a, ArtifactQuery& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArtifactQuery* New() const final { - return CreateMaybeMessage(nullptr); - } - - ArtifactQuery* 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 ArtifactQuery& from); - void MergeFrom(const ArtifactQuery& 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(ArtifactQuery* 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.ArtifactID artifact_id = 1; - bool has_artifact_id() const; - void clear_artifact_id(); - static const int kArtifactIdFieldNumber = 1; - const ::flyteidl::core::ArtifactID& artifact_id() const; - ::flyteidl::core::ArtifactID* release_artifact_id(); - ::flyteidl::core::ArtifactID* mutable_artifact_id(); - void set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id); - - // .flyteidl.core.ArtifactTag artifact_tag = 2; - bool has_artifact_tag() const; - void clear_artifact_tag(); - static const int kArtifactTagFieldNumber = 2; - const ::flyteidl::core::ArtifactTag& artifact_tag() const; - ::flyteidl::core::ArtifactTag* release_artifact_tag(); - ::flyteidl::core::ArtifactTag* mutable_artifact_tag(); - void set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag); - - // string uri = 3; - private: - bool has_uri() const; - public: - void clear_uri(); - static const int kUriFieldNumber = 3; - const ::std::string& uri() const; - void set_uri(const ::std::string& value); - #if LANG_CXX11 - void set_uri(::std::string&& value); - #endif - void set_uri(const char* value); - void set_uri(const char* value, size_t size); - ::std::string* mutable_uri(); - ::std::string* release_uri(); - void set_allocated_uri(::std::string* uri); - - // .flyteidl.core.ArtifactBindingData binding = 4; - bool has_binding() const; - void clear_binding(); - static const int kBindingFieldNumber = 4; - const ::flyteidl::core::ArtifactBindingData& binding() const; - ::flyteidl::core::ArtifactBindingData* release_binding(); - ::flyteidl::core::ArtifactBindingData* mutable_binding(); - void set_allocated_binding(::flyteidl::core::ArtifactBindingData* binding); - - void clear_identifier(); - IdentifierCase identifier_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactQuery) - private: - class HasBitSetters; - void set_has_artifact_id(); - void set_has_artifact_tag(); - void set_has_uri(); - void set_has_binding(); - - inline bool has_identifier() const; - inline void clear_has_identifier(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union IdentifierUnion { - IdentifierUnion() {} - ::flyteidl::core::ArtifactID* artifact_id_; - ::flyteidl::core::ArtifactTag* artifact_tag_; - ::google::protobuf::internal::ArenaStringPtr uri_; - ::flyteidl::core::ArtifactBindingData* binding_; - } identifier_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fartifact_5fid_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ArtifactKey - -// string project = 1; -inline void ArtifactKey::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ArtifactKey::project() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactKey.project) - return project_.GetNoArena(); -} -inline void ArtifactKey::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactKey.project) -} -#if LANG_CXX11 -inline void ArtifactKey::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactKey.project) -} -#endif -inline void ArtifactKey::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactKey.project) -} -inline void ArtifactKey::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactKey.project) -} -inline ::std::string* ArtifactKey::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactKey.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactKey::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactKey.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ArtifactKey::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactKey.project) -} - -// string domain = 2; -inline void ArtifactKey::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ArtifactKey::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactKey.domain) - return domain_.GetNoArena(); -} -inline void ArtifactKey::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactKey.domain) -} -#if LANG_CXX11 -inline void ArtifactKey::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactKey.domain) -} -#endif -inline void ArtifactKey::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactKey.domain) -} -inline void ArtifactKey::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactKey.domain) -} -inline ::std::string* ArtifactKey::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactKey.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactKey::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactKey.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ArtifactKey::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactKey.domain) -} - -// string name = 3; -inline void ArtifactKey::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ArtifactKey::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactKey.name) - return name_.GetNoArena(); -} -inline void ArtifactKey::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactKey.name) -} -#if LANG_CXX11 -inline void ArtifactKey::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactKey.name) -} -#endif -inline void ArtifactKey::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactKey.name) -} -inline void ArtifactKey::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactKey.name) -} -inline ::std::string* ArtifactKey::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactKey.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactKey::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactKey.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ArtifactKey::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactKey.name) -} - -// ------------------------------------------------------------------- - -// ArtifactBindingData - -// uint32 index = 1; -inline void ArtifactBindingData::clear_index() { - index_ = 0u; -} -inline ::google::protobuf::uint32 ArtifactBindingData::index() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.index) - return index_; -} -inline void ArtifactBindingData::set_index(::google::protobuf::uint32 value) { - - index_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.index) -} - -// string partition_key = 2; -inline bool ArtifactBindingData::has_partition_key() const { - return partition_data_case() == kPartitionKey; -} -inline void ArtifactBindingData::set_has_partition_key() { - _oneof_case_[0] = kPartitionKey; -} -inline void ArtifactBindingData::clear_partition_key() { - if (has_partition_key()) { - partition_data_.partition_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_partition_data(); - } -} -inline const ::std::string& ArtifactBindingData::partition_key() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.partition_key) - if (has_partition_key()) { - return partition_data_.partition_key_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void ArtifactBindingData::set_partition_key(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.partition_key) - if (!has_partition_key()) { - clear_partition_data(); - set_has_partition_key(); - partition_data_.partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_data_.partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.partition_key) -} -#if LANG_CXX11 -inline void ArtifactBindingData::set_partition_key(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.partition_key) - if (!has_partition_key()) { - clear_partition_data(); - set_has_partition_key(); - partition_data_.partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_data_.partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactBindingData.partition_key) -} -#endif -inline void ArtifactBindingData::set_partition_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_partition_key()) { - clear_partition_data(); - set_has_partition_key(); - partition_data_.partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_data_.partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactBindingData.partition_key) -} -inline void ArtifactBindingData::set_partition_key(const char* value, size_t size) { - if (!has_partition_key()) { - clear_partition_data(); - set_has_partition_key(); - partition_data_.partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_data_.partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactBindingData.partition_key) -} -inline ::std::string* ArtifactBindingData::mutable_partition_key() { - if (!has_partition_key()) { - clear_partition_data(); - set_has_partition_key(); - partition_data_.partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactBindingData.partition_key) - return partition_data_.partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactBindingData::release_partition_key() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactBindingData.partition_key) - if (has_partition_key()) { - clear_has_partition_data(); - return partition_data_.partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void ArtifactBindingData::set_allocated_partition_key(::std::string* partition_key) { - if (has_partition_data()) { - clear_partition_data(); - } - if (partition_key != nullptr) { - set_has_partition_key(); - partition_data_.partition_key_.UnsafeSetDefault(partition_key); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactBindingData.partition_key) -} - -// bool bind_to_time_partition = 3; -inline bool ArtifactBindingData::has_bind_to_time_partition() const { - return partition_data_case() == kBindToTimePartition; -} -inline void ArtifactBindingData::set_has_bind_to_time_partition() { - _oneof_case_[0] = kBindToTimePartition; -} -inline void ArtifactBindingData::clear_bind_to_time_partition() { - if (has_bind_to_time_partition()) { - partition_data_.bind_to_time_partition_ = false; - clear_has_partition_data(); - } -} -inline bool ArtifactBindingData::bind_to_time_partition() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.bind_to_time_partition) - if (has_bind_to_time_partition()) { - return partition_data_.bind_to_time_partition_; - } - return false; -} -inline void ArtifactBindingData::set_bind_to_time_partition(bool value) { - if (!has_bind_to_time_partition()) { - clear_partition_data(); - set_has_bind_to_time_partition(); - } - partition_data_.bind_to_time_partition_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.bind_to_time_partition) -} - -// string transform = 4; -inline void ArtifactBindingData::clear_transform() { - transform_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ArtifactBindingData::transform() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.transform) - return transform_.GetNoArena(); -} -inline void ArtifactBindingData::set_transform(const ::std::string& value) { - - transform_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactBindingData.transform) -} -#if LANG_CXX11 -inline void ArtifactBindingData::set_transform(::std::string&& value) { - - transform_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactBindingData.transform) -} -#endif -inline void ArtifactBindingData::set_transform(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - transform_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactBindingData.transform) -} -inline void ArtifactBindingData::set_transform(const char* value, size_t size) { - - transform_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactBindingData.transform) -} -inline ::std::string* ArtifactBindingData::mutable_transform() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactBindingData.transform) - return transform_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactBindingData::release_transform() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactBindingData.transform) - - return transform_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ArtifactBindingData::set_allocated_transform(::std::string* transform) { - if (transform != nullptr) { - - } else { - - } - transform_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transform); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactBindingData.transform) -} - -inline bool ArtifactBindingData::has_partition_data() const { - return partition_data_case() != PARTITION_DATA_NOT_SET; -} -inline void ArtifactBindingData::clear_has_partition_data() { - _oneof_case_[0] = PARTITION_DATA_NOT_SET; -} -inline ArtifactBindingData::PartitionDataCase ArtifactBindingData::partition_data_case() const { - return ArtifactBindingData::PartitionDataCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// InputBindingData - -// string var = 1; -inline void InputBindingData::clear_var() { - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& InputBindingData::var() const { - // @@protoc_insertion_point(field_get:flyteidl.core.InputBindingData.var) - return var_.GetNoArena(); -} -inline void InputBindingData::set_var(const ::std::string& value) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.InputBindingData.var) -} -#if LANG_CXX11 -inline void InputBindingData::set_var(::std::string&& value) { - - var_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.InputBindingData.var) -} -#endif -inline void InputBindingData::set_var(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.InputBindingData.var) -} -inline void InputBindingData::set_var(const char* value, size_t size) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.InputBindingData.var) -} -inline ::std::string* InputBindingData::mutable_var() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.InputBindingData.var) - return var_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* InputBindingData::release_var() { - // @@protoc_insertion_point(field_release:flyteidl.core.InputBindingData.var) - - return var_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void InputBindingData::set_allocated_var(::std::string* var) { - if (var != nullptr) { - - } else { - - } - var_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), var); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.InputBindingData.var) -} - -// ------------------------------------------------------------------- - -// LabelValue - -// string static_value = 1; -inline bool LabelValue::has_static_value() const { - return value_case() == kStaticValue; -} -inline void LabelValue::set_has_static_value() { - _oneof_case_[0] = kStaticValue; -} -inline void LabelValue::clear_static_value() { - if (has_static_value()) { - value_.static_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_value(); - } -} -inline const ::std::string& LabelValue::static_value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LabelValue.static_value) - if (has_static_value()) { - return value_.static_value_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void LabelValue::set_static_value(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.LabelValue.static_value) - if (!has_static_value()) { - clear_value(); - set_has_static_value(); - value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.LabelValue.static_value) -} -#if LANG_CXX11 -inline void LabelValue::set_static_value(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.LabelValue.static_value) - if (!has_static_value()) { - clear_value(); - set_has_static_value(); - value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.LabelValue.static_value) -} -#endif -inline void LabelValue::set_static_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_static_value()) { - clear_value(); - set_has_static_value(); - value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.LabelValue.static_value) -} -inline void LabelValue::set_static_value(const char* value, size_t size) { - if (!has_static_value()) { - clear_value(); - set_has_static_value(); - value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.static_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.LabelValue.static_value) -} -inline ::std::string* LabelValue::mutable_static_value() { - if (!has_static_value()) { - clear_value(); - set_has_static_value(); - value_.static_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LabelValue.static_value) - return value_.static_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* LabelValue::release_static_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.LabelValue.static_value) - if (has_static_value()) { - clear_has_value(); - return value_.static_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void LabelValue::set_allocated_static_value(::std::string* static_value) { - if (has_value()) { - clear_value(); - } - if (static_value != nullptr) { - set_has_static_value(); - value_.static_value_.UnsafeSetDefault(static_value); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LabelValue.static_value) -} - -// .google.protobuf.Timestamp time_value = 2; -inline bool LabelValue::has_time_value() const { - return value_case() == kTimeValue; -} -inline void LabelValue::set_has_time_value() { - _oneof_case_[0] = kTimeValue; -} -inline ::google::protobuf::Timestamp* LabelValue::release_time_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.LabelValue.time_value) - if (has_time_value()) { - clear_has_value(); - ::google::protobuf::Timestamp* temp = value_.time_value_; - value_.time_value_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::google::protobuf::Timestamp& LabelValue::time_value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LabelValue.time_value) - return has_time_value() - ? *value_.time_value_ - : *reinterpret_cast< ::google::protobuf::Timestamp*>(&::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* LabelValue::mutable_time_value() { - if (!has_time_value()) { - clear_value(); - set_has_time_value(); - value_.time_value_ = CreateMaybeMessage< ::google::protobuf::Timestamp >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LabelValue.time_value) - return value_.time_value_; -} - -// .flyteidl.core.ArtifactBindingData triggered_binding = 3; -inline bool LabelValue::has_triggered_binding() const { - return value_case() == kTriggeredBinding; -} -inline void LabelValue::set_has_triggered_binding() { - _oneof_case_[0] = kTriggeredBinding; -} -inline void LabelValue::clear_triggered_binding() { - if (has_triggered_binding()) { - delete value_.triggered_binding_; - clear_has_value(); - } -} -inline ::flyteidl::core::ArtifactBindingData* LabelValue::release_triggered_binding() { - // @@protoc_insertion_point(field_release:flyteidl.core.LabelValue.triggered_binding) - if (has_triggered_binding()) { - clear_has_value(); - ::flyteidl::core::ArtifactBindingData* temp = value_.triggered_binding_; - value_.triggered_binding_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ArtifactBindingData& LabelValue::triggered_binding() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LabelValue.triggered_binding) - return has_triggered_binding() - ? *value_.triggered_binding_ - : *reinterpret_cast< ::flyteidl::core::ArtifactBindingData*>(&::flyteidl::core::_ArtifactBindingData_default_instance_); -} -inline ::flyteidl::core::ArtifactBindingData* LabelValue::mutable_triggered_binding() { - if (!has_triggered_binding()) { - clear_value(); - set_has_triggered_binding(); - value_.triggered_binding_ = CreateMaybeMessage< ::flyteidl::core::ArtifactBindingData >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LabelValue.triggered_binding) - return value_.triggered_binding_; -} - -// .flyteidl.core.InputBindingData input_binding = 4; -inline bool LabelValue::has_input_binding() const { - return value_case() == kInputBinding; -} -inline void LabelValue::set_has_input_binding() { - _oneof_case_[0] = kInputBinding; -} -inline void LabelValue::clear_input_binding() { - if (has_input_binding()) { - delete value_.input_binding_; - clear_has_value(); - } -} -inline ::flyteidl::core::InputBindingData* LabelValue::release_input_binding() { - // @@protoc_insertion_point(field_release:flyteidl.core.LabelValue.input_binding) - if (has_input_binding()) { - clear_has_value(); - ::flyteidl::core::InputBindingData* temp = value_.input_binding_; - value_.input_binding_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::InputBindingData& LabelValue::input_binding() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LabelValue.input_binding) - return has_input_binding() - ? *value_.input_binding_ - : *reinterpret_cast< ::flyteidl::core::InputBindingData*>(&::flyteidl::core::_InputBindingData_default_instance_); -} -inline ::flyteidl::core::InputBindingData* LabelValue::mutable_input_binding() { - if (!has_input_binding()) { - clear_value(); - set_has_input_binding(); - value_.input_binding_ = CreateMaybeMessage< ::flyteidl::core::InputBindingData >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LabelValue.input_binding) - return value_.input_binding_; -} - -inline bool LabelValue::has_value() const { - return value_case() != VALUE_NOT_SET; -} -inline void LabelValue::clear_has_value() { - _oneof_case_[0] = VALUE_NOT_SET; -} -inline LabelValue::ValueCase LabelValue::value_case() const { - return LabelValue::ValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// Partitions - -// map value = 1; -inline int Partitions::value_size() const { - return value_.size(); -} -inline void Partitions::clear_value() { - value_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >& -Partitions::value() const { - // @@protoc_insertion_point(field_map:flyteidl.core.Partitions.value) - return value_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::LabelValue >* -Partitions::mutable_value() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.Partitions.value) - return value_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// TimePartition - -// .flyteidl.core.LabelValue value = 1; -inline bool TimePartition::has_value() const { - return this != internal_default_instance() && value_ != nullptr; -} -inline void TimePartition::clear_value() { - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; -} -inline const ::flyteidl::core::LabelValue& TimePartition::value() const { - const ::flyteidl::core::LabelValue* p = value_; - // @@protoc_insertion_point(field_get:flyteidl.core.TimePartition.value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LabelValue_default_instance_); -} -inline ::flyteidl::core::LabelValue* TimePartition::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.TimePartition.value) - - ::flyteidl::core::LabelValue* temp = value_; - value_ = nullptr; - return temp; -} -inline ::flyteidl::core::LabelValue* TimePartition::mutable_value() { - - if (value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LabelValue>(GetArenaNoVirtual()); - value_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TimePartition.value) - return value_; -} -inline void TimePartition::set_allocated_value(::flyteidl::core::LabelValue* value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete value_; - } - if (value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - - } else { - - } - value_ = value; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TimePartition.value) -} - -// ------------------------------------------------------------------- - -// ArtifactID - -// .flyteidl.core.ArtifactKey artifact_key = 1; -inline bool ArtifactID::has_artifact_key() const { - return this != internal_default_instance() && artifact_key_ != nullptr; -} -inline void ArtifactID::clear_artifact_key() { - if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { - delete artifact_key_; - } - artifact_key_ = nullptr; -} -inline const ::flyteidl::core::ArtifactKey& ArtifactID::artifact_key() const { - const ::flyteidl::core::ArtifactKey* p = artifact_key_; - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.artifact_key) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ArtifactKey_default_instance_); -} -inline ::flyteidl::core::ArtifactKey* ArtifactID::release_artifact_key() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.artifact_key) - - ::flyteidl::core::ArtifactKey* temp = artifact_key_; - artifact_key_ = nullptr; - return temp; -} -inline ::flyteidl::core::ArtifactKey* ArtifactID::mutable_artifact_key() { - - if (artifact_key_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); - artifact_key_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.artifact_key) - return artifact_key_; -} -inline void ArtifactID::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete artifact_key_; - } - if (artifact_key) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_key = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_key, submessage_arena); - } - - } else { - - } - artifact_key_ = artifact_key; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.artifact_key) -} - -// string version = 2; -inline void ArtifactID::clear_version() { - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ArtifactID::version() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.version) - return version_.GetNoArena(); -} -inline void ArtifactID::set_version(const ::std::string& value) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactID.version) -} -#if LANG_CXX11 -inline void ArtifactID::set_version(::std::string&& value) { - - version_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactID.version) -} -#endif -inline void ArtifactID::set_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactID.version) -} -inline void ArtifactID::set_version(const char* value, size_t size) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactID.version) -} -inline ::std::string* ArtifactID::mutable_version() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.version) - return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactID::release_version() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.version) - - return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ArtifactID::set_allocated_version(::std::string* version) { - if (version != nullptr) { - - } else { - - } - version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.version) -} - -// .flyteidl.core.Partitions partitions = 3; -inline bool ArtifactID::has_partitions() const { - return this != internal_default_instance() && partitions_ != nullptr; -} -inline void ArtifactID::clear_partitions() { - if (GetArenaNoVirtual() == nullptr && partitions_ != nullptr) { - delete partitions_; - } - partitions_ = nullptr; -} -inline const ::flyteidl::core::Partitions& ArtifactID::partitions() const { - const ::flyteidl::core::Partitions* p = partitions_; - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.partitions) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Partitions_default_instance_); -} -inline ::flyteidl::core::Partitions* ArtifactID::release_partitions() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.partitions) - - ::flyteidl::core::Partitions* temp = partitions_; - partitions_ = nullptr; - return temp; -} -inline ::flyteidl::core::Partitions* ArtifactID::mutable_partitions() { - - if (partitions_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Partitions>(GetArenaNoVirtual()); - partitions_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.partitions) - return partitions_; -} -inline void ArtifactID::set_allocated_partitions(::flyteidl::core::Partitions* partitions) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete partitions_; - } - if (partitions) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - partitions = ::google::protobuf::internal::GetOwnedMessage( - message_arena, partitions, submessage_arena); - } - - } else { - - } - partitions_ = partitions; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.partitions) -} - -// .flyteidl.core.TimePartition time_partition = 4; -inline bool ArtifactID::has_time_partition() const { - return this != internal_default_instance() && time_partition_ != nullptr; -} -inline void ArtifactID::clear_time_partition() { - if (GetArenaNoVirtual() == nullptr && time_partition_ != nullptr) { - delete time_partition_; - } - time_partition_ = nullptr; -} -inline const ::flyteidl::core::TimePartition& ArtifactID::time_partition() const { - const ::flyteidl::core::TimePartition* p = time_partition_; - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.time_partition) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TimePartition_default_instance_); -} -inline ::flyteidl::core::TimePartition* ArtifactID::release_time_partition() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.time_partition) - - ::flyteidl::core::TimePartition* temp = time_partition_; - time_partition_ = nullptr; - return temp; -} -inline ::flyteidl::core::TimePartition* ArtifactID::mutable_time_partition() { - - if (time_partition_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TimePartition>(GetArenaNoVirtual()); - time_partition_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.time_partition) - return time_partition_; -} -inline void ArtifactID::set_allocated_time_partition(::flyteidl::core::TimePartition* time_partition) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete time_partition_; - } - if (time_partition) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - time_partition = ::google::protobuf::internal::GetOwnedMessage( - message_arena, time_partition, submessage_arena); - } - - } else { - - } - time_partition_ = time_partition; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.time_partition) -} - -// ------------------------------------------------------------------- - -// ArtifactTag - -// .flyteidl.core.ArtifactKey artifact_key = 1; -inline bool ArtifactTag::has_artifact_key() const { - return this != internal_default_instance() && artifact_key_ != nullptr; -} -inline void ArtifactTag::clear_artifact_key() { - if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { - delete artifact_key_; - } - artifact_key_ = nullptr; -} -inline const ::flyteidl::core::ArtifactKey& ArtifactTag::artifact_key() const { - const ::flyteidl::core::ArtifactKey* p = artifact_key_; - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactTag.artifact_key) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ArtifactKey_default_instance_); -} -inline ::flyteidl::core::ArtifactKey* ArtifactTag::release_artifact_key() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactTag.artifact_key) - - ::flyteidl::core::ArtifactKey* temp = artifact_key_; - artifact_key_ = nullptr; - return temp; -} -inline ::flyteidl::core::ArtifactKey* ArtifactTag::mutable_artifact_key() { - - if (artifact_key_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); - artifact_key_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactTag.artifact_key) - return artifact_key_; -} -inline void ArtifactTag::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete artifact_key_; - } - if (artifact_key) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_key = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_key, submessage_arena); - } - - } else { - - } - artifact_key_ = artifact_key; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactTag.artifact_key) -} - -// .flyteidl.core.LabelValue value = 2; -inline bool ArtifactTag::has_value() const { - return this != internal_default_instance() && value_ != nullptr; -} -inline void ArtifactTag::clear_value() { - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; -} -inline const ::flyteidl::core::LabelValue& ArtifactTag::value() const { - const ::flyteidl::core::LabelValue* p = value_; - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactTag.value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LabelValue_default_instance_); -} -inline ::flyteidl::core::LabelValue* ArtifactTag::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactTag.value) - - ::flyteidl::core::LabelValue* temp = value_; - value_ = nullptr; - return temp; -} -inline ::flyteidl::core::LabelValue* ArtifactTag::mutable_value() { - - if (value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LabelValue>(GetArenaNoVirtual()); - value_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactTag.value) - return value_; -} -inline void ArtifactTag::set_allocated_value(::flyteidl::core::LabelValue* value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete value_; - } - if (value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - - } else { - - } - value_ = value; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactTag.value) -} - -// ------------------------------------------------------------------- - -// ArtifactQuery - -// .flyteidl.core.ArtifactID artifact_id = 1; -inline bool ArtifactQuery::has_artifact_id() const { - return identifier_case() == kArtifactId; -} -inline void ArtifactQuery::set_has_artifact_id() { - _oneof_case_[0] = kArtifactId; -} -inline void ArtifactQuery::clear_artifact_id() { - if (has_artifact_id()) { - delete identifier_.artifact_id_; - clear_has_identifier(); - } -} -inline ::flyteidl::core::ArtifactID* ArtifactQuery::release_artifact_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.artifact_id) - if (has_artifact_id()) { - clear_has_identifier(); - ::flyteidl::core::ArtifactID* temp = identifier_.artifact_id_; - identifier_.artifact_id_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ArtifactID& ArtifactQuery::artifact_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.artifact_id) - return has_artifact_id() - ? *identifier_.artifact_id_ - : *reinterpret_cast< ::flyteidl::core::ArtifactID*>(&::flyteidl::core::_ArtifactID_default_instance_); -} -inline ::flyteidl::core::ArtifactID* ArtifactQuery::mutable_artifact_id() { - if (!has_artifact_id()) { - clear_identifier(); - set_has_artifact_id(); - identifier_.artifact_id_ = CreateMaybeMessage< ::flyteidl::core::ArtifactID >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.artifact_id) - return identifier_.artifact_id_; -} - -// .flyteidl.core.ArtifactTag artifact_tag = 2; -inline bool ArtifactQuery::has_artifact_tag() const { - return identifier_case() == kArtifactTag; -} -inline void ArtifactQuery::set_has_artifact_tag() { - _oneof_case_[0] = kArtifactTag; -} -inline void ArtifactQuery::clear_artifact_tag() { - if (has_artifact_tag()) { - delete identifier_.artifact_tag_; - clear_has_identifier(); - } -} -inline ::flyteidl::core::ArtifactTag* ArtifactQuery::release_artifact_tag() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.artifact_tag) - if (has_artifact_tag()) { - clear_has_identifier(); - ::flyteidl::core::ArtifactTag* temp = identifier_.artifact_tag_; - identifier_.artifact_tag_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ArtifactTag& ArtifactQuery::artifact_tag() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.artifact_tag) - return has_artifact_tag() - ? *identifier_.artifact_tag_ - : *reinterpret_cast< ::flyteidl::core::ArtifactTag*>(&::flyteidl::core::_ArtifactTag_default_instance_); -} -inline ::flyteidl::core::ArtifactTag* ArtifactQuery::mutable_artifact_tag() { - if (!has_artifact_tag()) { - clear_identifier(); - set_has_artifact_tag(); - identifier_.artifact_tag_ = CreateMaybeMessage< ::flyteidl::core::ArtifactTag >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.artifact_tag) - return identifier_.artifact_tag_; -} - -// string uri = 3; -inline bool ArtifactQuery::has_uri() const { - return identifier_case() == kUri; -} -inline void ArtifactQuery::set_has_uri() { - _oneof_case_[0] = kUri; -} -inline void ArtifactQuery::clear_uri() { - if (has_uri()) { - identifier_.uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_identifier(); - } -} -inline const ::std::string& ArtifactQuery::uri() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.uri) - if (has_uri()) { - return identifier_.uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void ArtifactQuery::set_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactQuery.uri) - if (!has_uri()) { - clear_identifier(); - set_has_uri(); - identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactQuery.uri) -} -#if LANG_CXX11 -inline void ArtifactQuery::set_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.ArtifactQuery.uri) - if (!has_uri()) { - clear_identifier(); - set_has_uri(); - identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ArtifactQuery.uri) -} -#endif -inline void ArtifactQuery::set_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_uri()) { - clear_identifier(); - set_has_uri(); - identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ArtifactQuery.uri) -} -inline void ArtifactQuery::set_uri(const char* value, size_t size) { - if (!has_uri()) { - clear_identifier(); - set_has_uri(); - identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - identifier_.uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ArtifactQuery.uri) -} -inline ::std::string* ArtifactQuery::mutable_uri() { - if (!has_uri()) { - clear_identifier(); - set_has_uri(); - identifier_.uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.uri) - return identifier_.uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactQuery::release_uri() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.uri) - if (has_uri()) { - clear_has_identifier(); - return identifier_.uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void ArtifactQuery::set_allocated_uri(::std::string* uri) { - if (has_identifier()) { - clear_identifier(); - } - if (uri != nullptr) { - set_has_uri(); - identifier_.uri_.UnsafeSetDefault(uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactQuery.uri) -} - -// .flyteidl.core.ArtifactBindingData binding = 4; -inline bool ArtifactQuery::has_binding() const { - return identifier_case() == kBinding; -} -inline void ArtifactQuery::set_has_binding() { - _oneof_case_[0] = kBinding; -} -inline void ArtifactQuery::clear_binding() { - if (has_binding()) { - delete identifier_.binding_; - clear_has_identifier(); - } -} -inline ::flyteidl::core::ArtifactBindingData* ArtifactQuery::release_binding() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactQuery.binding) - if (has_binding()) { - clear_has_identifier(); - ::flyteidl::core::ArtifactBindingData* temp = identifier_.binding_; - identifier_.binding_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ArtifactBindingData& ArtifactQuery::binding() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactQuery.binding) - return has_binding() - ? *identifier_.binding_ - : *reinterpret_cast< ::flyteidl::core::ArtifactBindingData*>(&::flyteidl::core::_ArtifactBindingData_default_instance_); -} -inline ::flyteidl::core::ArtifactBindingData* ArtifactQuery::mutable_binding() { - if (!has_binding()) { - clear_identifier(); - set_has_binding(); - identifier_.binding_ = CreateMaybeMessage< ::flyteidl::core::ArtifactBindingData >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactQuery.binding) - return identifier_.binding_; -} - -inline bool ArtifactQuery::has_identifier() const { - return identifier_case() != IDENTIFIER_NOT_SET; -} -inline void ArtifactQuery::clear_has_identifier() { - _oneof_case_[0] = IDENTIFIER_NOT_SET; -} -inline ArtifactQuery::IdentifierCase ArtifactQuery::identifier_case() const { - return ArtifactQuery::IdentifierCase(_oneof_case_[0]); -} -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fartifact_5fid_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/catalog.grpc.pb.cc deleted file mode 100644 index 3503ab8884..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/catalog.proto - -#include "flyteidl/core/catalog.pb.h" -#include "flyteidl/core/catalog.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/catalog.grpc.pb.h deleted file mode 100644 index b6c1b8f436..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/catalog.proto -#ifndef GRPC_flyteidl_2fcore_2fcatalog_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fcatalog_2eproto__INCLUDED - -#include "flyteidl/core/catalog.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fcatalog_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/catalog.pb.cc deleted file mode 100644 index 83c7bb3fe6..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.pb.cc +++ /dev/null @@ -1,1299 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/catalog.proto - -#include "flyteidl/core/catalog.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_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 CatalogArtifactTagDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CatalogArtifactTag_default_instance_; -class CatalogMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::TaskExecutionIdentifier* source_task_execution_; -} _CatalogMetadata_default_instance_; -class CatalogReservationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CatalogReservation_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsCatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_CatalogArtifactTag_default_instance_; - new (ptr) ::flyteidl::core::CatalogArtifactTag(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::CatalogArtifactTag::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_CatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto}, {}}; - -static void InitDefaultsCatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_CatalogMetadata_default_instance_; - new (ptr) ::flyteidl::core::CatalogMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::CatalogMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsCatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_CatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto.base, - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsCatalogReservation_flyteidl_2fcore_2fcatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_CatalogReservation_default_instance_; - new (ptr) ::flyteidl::core::CatalogReservation(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::CatalogReservation::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_CatalogReservation_flyteidl_2fcore_2fcatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCatalogReservation_flyteidl_2fcore_2fcatalog_2eproto}, {}}; - -void InitDefaults_flyteidl_2fcore_2fcatalog_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_CatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CatalogReservation_flyteidl_2fcore_2fcatalog_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fcatalog_2eproto[3]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2fcatalog_2eproto[2]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fcatalog_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fcatalog_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogArtifactTag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogArtifactTag, artifact_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogArtifactTag, name_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogMetadata, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogMetadata, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogMetadata, dataset_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogMetadata, artifact_tag_), - offsetof(::flyteidl::core::CatalogMetadataDefaultTypeInternal, source_task_execution_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogMetadata, source_execution_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CatalogReservation, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::CatalogArtifactTag)}, - { 7, -1, sizeof(::flyteidl::core::CatalogMetadata)}, - { 16, -1, sizeof(::flyteidl::core::CatalogReservation)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_CatalogArtifactTag_default_instance_), - reinterpret_cast(&::flyteidl::core::_CatalogMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_CatalogReservation_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fcatalog_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fcatalog_2eproto, "flyteidl/core/catalog.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fcatalog_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fcatalog_2eproto, 3, file_level_enum_descriptors_flyteidl_2fcore_2fcatalog_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fcatalog_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fcatalog_2eproto[] = - "\n\033flyteidl/core/catalog.proto\022\rflyteidl." - "core\032\036flyteidl/core/identifier.proto\"7\n\022" - "CatalogArtifactTag\022\023\n\013artifact_id\030\001 \001(\t\022" - "\014\n\004name\030\002 \001(\t\"\326\001\n\017CatalogMetadata\022-\n\ndat" - "aset_id\030\001 \001(\0132\031.flyteidl.core.Identifier" - "\0227\n\014artifact_tag\030\002 \001(\0132!.flyteidl.core.C" - "atalogArtifactTag\022G\n\025source_task_executi" - "on\030\003 \001(\0132&.flyteidl.core.TaskExecutionId" - "entifierH\000B\022\n\020source_execution\"\236\001\n\022Catal" - "ogReservation\"\207\001\n\006Status\022\030\n\024RESERVATION_" - "DISABLED\020\000\022\030\n\024RESERVATION_ACQUIRED\020\001\022\026\n\022" - "RESERVATION_EXISTS\020\002\022\030\n\024RESERVATION_RELE" - "ASED\020\003\022\027\n\023RESERVATION_FAILURE\020\004*\263\001\n\022Cata" - "logCacheStatus\022\022\n\016CACHE_DISABLED\020\000\022\016\n\nCA" - "CHE_MISS\020\001\022\r\n\tCACHE_HIT\020\002\022\023\n\017CACHE_POPUL" - "ATED\020\003\022\030\n\024CACHE_LOOKUP_FAILURE\020\004\022\025\n\021CACH" - "E_PUT_FAILURE\020\005\022\021\n\rCACHE_SKIPPED\020\006\022\021\n\rCA" - "CHE_EVICTED\020\007B= 1900 -const CatalogReservation_Status CatalogReservation::RESERVATION_DISABLED; -const CatalogReservation_Status CatalogReservation::RESERVATION_ACQUIRED; -const CatalogReservation_Status CatalogReservation::RESERVATION_EXISTS; -const CatalogReservation_Status CatalogReservation::RESERVATION_RELEASED; -const CatalogReservation_Status CatalogReservation::RESERVATION_FAILURE; -const CatalogReservation_Status CatalogReservation::Status_MIN; -const CatalogReservation_Status CatalogReservation::Status_MAX; -const int CatalogReservation::Status_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* CatalogCacheStatus_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fcatalog_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fcatalog_2eproto[1]; -} -bool CatalogCacheStatus_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - return true; - default: - return false; - } -} - - -// =================================================================== - -void CatalogArtifactTag::InitAsDefaultInstance() { -} -class CatalogArtifactTag::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CatalogArtifactTag::kArtifactIdFieldNumber; -const int CatalogArtifactTag::kNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CatalogArtifactTag::CatalogArtifactTag() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.CatalogArtifactTag) -} -CatalogArtifactTag::CatalogArtifactTag(const CatalogArtifactTag& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.artifact_id().size() > 0) { - artifact_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.artifact_id_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.CatalogArtifactTag) -} - -void CatalogArtifactTag::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto.base); - artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -CatalogArtifactTag::~CatalogArtifactTag() { - // @@protoc_insertion_point(destructor:flyteidl.core.CatalogArtifactTag) - SharedDtor(); -} - -void CatalogArtifactTag::SharedDtor() { - artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void CatalogArtifactTag::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CatalogArtifactTag& CatalogArtifactTag::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CatalogArtifactTag_flyteidl_2fcore_2fcatalog_2eproto.base); - return *internal_default_instance(); -} - - -void CatalogArtifactTag::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.CatalogArtifactTag) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - artifact_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CatalogArtifactTag::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string artifact_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.CatalogArtifactTag.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 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("flyteidl.core.CatalogArtifactTag.name"); - object = msg->mutable_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 CatalogArtifactTag::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.CatalogArtifactTag) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string artifact_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 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, - "flyteidl.core.CatalogArtifactTag.artifact_id")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.CatalogArtifactTag.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:flyteidl.core.CatalogArtifactTag) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.CatalogArtifactTag) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CatalogArtifactTag::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.CatalogArtifactTag) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string artifact_id = 1; - if (this->artifact_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_id().data(), static_cast(this->artifact_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.CatalogArtifactTag.artifact_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->artifact_id(), output); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.CatalogArtifactTag.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.CatalogArtifactTag) -} - -::google::protobuf::uint8* CatalogArtifactTag::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CatalogArtifactTag) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string artifact_id = 1; - if (this->artifact_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_id().data(), static_cast(this->artifact_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.CatalogArtifactTag.artifact_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->artifact_id(), target); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.CatalogArtifactTag.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->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:flyteidl.core.CatalogArtifactTag) - return target; -} - -size_t CatalogArtifactTag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CatalogArtifactTag) - 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 artifact_id = 1; - if (this->artifact_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->artifact_id()); - } - - // string name = 2; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CatalogArtifactTag::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CatalogArtifactTag) - GOOGLE_DCHECK_NE(&from, this); - const CatalogArtifactTag* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CatalogArtifactTag) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CatalogArtifactTag) - MergeFrom(*source); - } -} - -void CatalogArtifactTag::MergeFrom(const CatalogArtifactTag& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CatalogArtifactTag) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.artifact_id().size() > 0) { - - artifact_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.artifact_id_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } -} - -void CatalogArtifactTag::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CatalogArtifactTag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CatalogArtifactTag::CopyFrom(const CatalogArtifactTag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CatalogArtifactTag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CatalogArtifactTag::IsInitialized() const { - return true; -} - -void CatalogArtifactTag::Swap(CatalogArtifactTag* other) { - if (other == this) return; - InternalSwap(other); -} -void CatalogArtifactTag::InternalSwap(CatalogArtifactTag* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - artifact_id_.Swap(&other->artifact_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata CatalogArtifactTag::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcatalog_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CatalogMetadata::InitAsDefaultInstance() { - ::flyteidl::core::_CatalogMetadata_default_instance_._instance.get_mutable()->dataset_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::core::_CatalogMetadata_default_instance_._instance.get_mutable()->artifact_tag_ = const_cast< ::flyteidl::core::CatalogArtifactTag*>( - ::flyteidl::core::CatalogArtifactTag::internal_default_instance()); - ::flyteidl::core::_CatalogMetadata_default_instance_.source_task_execution_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); -} -class CatalogMetadata::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& dataset_id(const CatalogMetadata* msg); - static const ::flyteidl::core::CatalogArtifactTag& artifact_tag(const CatalogMetadata* msg); - static const ::flyteidl::core::TaskExecutionIdentifier& source_task_execution(const CatalogMetadata* msg); -}; - -const ::flyteidl::core::Identifier& -CatalogMetadata::HasBitSetters::dataset_id(const CatalogMetadata* msg) { - return *msg->dataset_id_; -} -const ::flyteidl::core::CatalogArtifactTag& -CatalogMetadata::HasBitSetters::artifact_tag(const CatalogMetadata* msg) { - return *msg->artifact_tag_; -} -const ::flyteidl::core::TaskExecutionIdentifier& -CatalogMetadata::HasBitSetters::source_task_execution(const CatalogMetadata* msg) { - return *msg->source_execution_.source_task_execution_; -} -void CatalogMetadata::clear_dataset_id() { - if (GetArenaNoVirtual() == nullptr && dataset_id_ != nullptr) { - delete dataset_id_; - } - dataset_id_ = nullptr; -} -void CatalogMetadata::set_allocated_source_task_execution(::flyteidl::core::TaskExecutionIdentifier* source_task_execution) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_source_execution(); - if (source_task_execution) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - source_task_execution = ::google::protobuf::internal::GetOwnedMessage( - message_arena, source_task_execution, submessage_arena); - } - set_has_source_task_execution(); - source_execution_.source_task_execution_ = source_task_execution; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CatalogMetadata.source_task_execution) -} -void CatalogMetadata::clear_source_task_execution() { - if (has_source_task_execution()) { - delete source_execution_.source_task_execution_; - clear_has_source_execution(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CatalogMetadata::kDatasetIdFieldNumber; -const int CatalogMetadata::kArtifactTagFieldNumber; -const int CatalogMetadata::kSourceTaskExecutionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CatalogMetadata::CatalogMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.CatalogMetadata) -} -CatalogMetadata::CatalogMetadata(const CatalogMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_dataset_id()) { - dataset_id_ = new ::flyteidl::core::Identifier(*from.dataset_id_); - } else { - dataset_id_ = nullptr; - } - if (from.has_artifact_tag()) { - artifact_tag_ = new ::flyteidl::core::CatalogArtifactTag(*from.artifact_tag_); - } else { - artifact_tag_ = nullptr; - } - clear_has_source_execution(); - switch (from.source_execution_case()) { - case kSourceTaskExecution: { - mutable_source_task_execution()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.source_task_execution()); - break; - } - case SOURCE_EXECUTION_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.CatalogMetadata) -} - -void CatalogMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto.base); - ::memset(&dataset_id_, 0, static_cast( - reinterpret_cast(&artifact_tag_) - - reinterpret_cast(&dataset_id_)) + sizeof(artifact_tag_)); - clear_has_source_execution(); -} - -CatalogMetadata::~CatalogMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.CatalogMetadata) - SharedDtor(); -} - -void CatalogMetadata::SharedDtor() { - if (this != internal_default_instance()) delete dataset_id_; - if (this != internal_default_instance()) delete artifact_tag_; - if (has_source_execution()) { - clear_source_execution(); - } -} - -void CatalogMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CatalogMetadata& CatalogMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto.base); - return *internal_default_instance(); -} - - -void CatalogMetadata::clear_source_execution() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.CatalogMetadata) - switch (source_execution_case()) { - case kSourceTaskExecution: { - delete source_execution_.source_task_execution_; - break; - } - case SOURCE_EXECUTION_NOT_SET: { - break; - } - } - _oneof_case_[0] = SOURCE_EXECUTION_NOT_SET; -} - - -void CatalogMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.CatalogMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && dataset_id_ != nullptr) { - delete dataset_id_; - } - dataset_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && artifact_tag_ != nullptr) { - delete artifact_tag_; - } - artifact_tag_ = nullptr; - clear_source_execution(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CatalogMetadata::_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.Identifier 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 = ::flyteidl::core::Identifier::_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; - } - // .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CatalogArtifactTag::_InternalParse; - object = msg->mutable_artifact_tag(); - 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 source_task_execution = 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::TaskExecutionIdentifier::_InternalParse; - object = msg->mutable_source_task_execution(); - 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 CatalogMetadata::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.CatalogMetadata) - 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.Identifier 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; - } - - // .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_tag())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_source_task_execution())); - } 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.CatalogMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.CatalogMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CatalogMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.CatalogMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier dataset_id = 1; - if (this->has_dataset_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset_id(this), output); - } - - // .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - if (this->has_artifact_tag()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::artifact_tag(this), output); - } - - // .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - if (has_source_task_execution()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::source_task_execution(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.CatalogMetadata) -} - -::google::protobuf::uint8* CatalogMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CatalogMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier dataset_id = 1; - if (this->has_dataset_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::dataset_id(this), target); - } - - // .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - if (this->has_artifact_tag()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::artifact_tag(this), target); - } - - // .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - if (has_source_task_execution()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::source_task_execution(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.CatalogMetadata) - return target; -} - -size_t CatalogMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CatalogMetadata) - 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.Identifier dataset_id = 1; - if (this->has_dataset_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dataset_id_); - } - - // .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - if (this->has_artifact_tag()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *artifact_tag_); - } - - switch (source_execution_case()) { - // .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - case kSourceTaskExecution: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *source_execution_.source_task_execution_); - break; - } - case SOURCE_EXECUTION_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CatalogMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CatalogMetadata) - GOOGLE_DCHECK_NE(&from, this); - const CatalogMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CatalogMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CatalogMetadata) - MergeFrom(*source); - } -} - -void CatalogMetadata::MergeFrom(const CatalogMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CatalogMetadata) - 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_id()) { - mutable_dataset_id()->::flyteidl::core::Identifier::MergeFrom(from.dataset_id()); - } - if (from.has_artifact_tag()) { - mutable_artifact_tag()->::flyteidl::core::CatalogArtifactTag::MergeFrom(from.artifact_tag()); - } - switch (from.source_execution_case()) { - case kSourceTaskExecution: { - mutable_source_task_execution()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.source_task_execution()); - break; - } - case SOURCE_EXECUTION_NOT_SET: { - break; - } - } -} - -void CatalogMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CatalogMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CatalogMetadata::CopyFrom(const CatalogMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CatalogMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CatalogMetadata::IsInitialized() const { - return true; -} - -void CatalogMetadata::Swap(CatalogMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void CatalogMetadata::InternalSwap(CatalogMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(dataset_id_, other->dataset_id_); - swap(artifact_tag_, other->artifact_tag_); - swap(source_execution_, other->source_execution_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata CatalogMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcatalog_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CatalogReservation::InitAsDefaultInstance() { -} -class CatalogReservation::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CatalogReservation::CatalogReservation() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.CatalogReservation) -} -CatalogReservation::CatalogReservation(const CatalogReservation& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.CatalogReservation) -} - -void CatalogReservation::SharedCtor() { -} - -CatalogReservation::~CatalogReservation() { - // @@protoc_insertion_point(destructor:flyteidl.core.CatalogReservation) - SharedDtor(); -} - -void CatalogReservation::SharedDtor() { -} - -void CatalogReservation::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CatalogReservation& CatalogReservation::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CatalogReservation_flyteidl_2fcore_2fcatalog_2eproto.base); - return *internal_default_instance(); -} - - -void CatalogReservation::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.CatalogReservation) - ::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* CatalogReservation::_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 CatalogReservation::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.CatalogReservation) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.CatalogReservation) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.CatalogReservation) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CatalogReservation::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.CatalogReservation) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.CatalogReservation) -} - -::google::protobuf::uint8* CatalogReservation::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CatalogReservation) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.CatalogReservation) - return target; -} - -size_t CatalogReservation::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CatalogReservation) - 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 CatalogReservation::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CatalogReservation) - GOOGLE_DCHECK_NE(&from, this); - const CatalogReservation* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CatalogReservation) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CatalogReservation) - MergeFrom(*source); - } -} - -void CatalogReservation::MergeFrom(const CatalogReservation& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CatalogReservation) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void CatalogReservation::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CatalogReservation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CatalogReservation::CopyFrom(const CatalogReservation& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CatalogReservation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CatalogReservation::IsInitialized() const { - return true; -} - -void CatalogReservation::Swap(CatalogReservation* other) { - if (other == this) return; - InternalSwap(other); -} -void CatalogReservation::InternalSwap(CatalogReservation* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata CatalogReservation::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcatalog_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcatalog_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::CatalogArtifactTag* Arena::CreateMaybeMessage< ::flyteidl::core::CatalogArtifactTag >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::CatalogArtifactTag >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::CatalogMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::CatalogMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::CatalogMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::CatalogReservation* Arena::CreateMaybeMessage< ::flyteidl::core::CatalogReservation >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::CatalogReservation >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/catalog.pb.h deleted file mode 100644 index a99e02fb04..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/catalog.pb.h +++ /dev/null @@ -1,848 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/catalog.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fcatalog_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fcatalog_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 -#include "flyteidl/core/identifier.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcatalog_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fcatalog_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_2fcore_2fcatalog_2eproto(); -namespace flyteidl { -namespace core { -class CatalogArtifactTag; -class CatalogArtifactTagDefaultTypeInternal; -extern CatalogArtifactTagDefaultTypeInternal _CatalogArtifactTag_default_instance_; -class CatalogMetadata; -class CatalogMetadataDefaultTypeInternal; -extern CatalogMetadataDefaultTypeInternal _CatalogMetadata_default_instance_; -class CatalogReservation; -class CatalogReservationDefaultTypeInternal; -extern CatalogReservationDefaultTypeInternal _CatalogReservation_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::CatalogArtifactTag* Arena::CreateMaybeMessage<::flyteidl::core::CatalogArtifactTag>(Arena*); -template<> ::flyteidl::core::CatalogMetadata* Arena::CreateMaybeMessage<::flyteidl::core::CatalogMetadata>(Arena*); -template<> ::flyteidl::core::CatalogReservation* Arena::CreateMaybeMessage<::flyteidl::core::CatalogReservation>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum CatalogReservation_Status { - CatalogReservation_Status_RESERVATION_DISABLED = 0, - CatalogReservation_Status_RESERVATION_ACQUIRED = 1, - CatalogReservation_Status_RESERVATION_EXISTS = 2, - CatalogReservation_Status_RESERVATION_RELEASED = 3, - CatalogReservation_Status_RESERVATION_FAILURE = 4, - CatalogReservation_Status_CatalogReservation_Status_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - CatalogReservation_Status_CatalogReservation_Status_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool CatalogReservation_Status_IsValid(int value); -const CatalogReservation_Status CatalogReservation_Status_Status_MIN = CatalogReservation_Status_RESERVATION_DISABLED; -const CatalogReservation_Status CatalogReservation_Status_Status_MAX = CatalogReservation_Status_RESERVATION_FAILURE; -const int CatalogReservation_Status_Status_ARRAYSIZE = CatalogReservation_Status_Status_MAX + 1; - -const ::google::protobuf::EnumDescriptor* CatalogReservation_Status_descriptor(); -inline const ::std::string& CatalogReservation_Status_Name(CatalogReservation_Status value) { - return ::google::protobuf::internal::NameOfEnum( - CatalogReservation_Status_descriptor(), value); -} -inline bool CatalogReservation_Status_Parse( - const ::std::string& name, CatalogReservation_Status* value) { - return ::google::protobuf::internal::ParseNamedEnum( - CatalogReservation_Status_descriptor(), name, value); -} -enum CatalogCacheStatus { - CACHE_DISABLED = 0, - CACHE_MISS = 1, - CACHE_HIT = 2, - CACHE_POPULATED = 3, - CACHE_LOOKUP_FAILURE = 4, - CACHE_PUT_FAILURE = 5, - CACHE_SKIPPED = 6, - CACHE_EVICTED = 7, - CatalogCacheStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - CatalogCacheStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool CatalogCacheStatus_IsValid(int value); -const CatalogCacheStatus CatalogCacheStatus_MIN = CACHE_DISABLED; -const CatalogCacheStatus CatalogCacheStatus_MAX = CACHE_EVICTED; -const int CatalogCacheStatus_ARRAYSIZE = CatalogCacheStatus_MAX + 1; - -const ::google::protobuf::EnumDescriptor* CatalogCacheStatus_descriptor(); -inline const ::std::string& CatalogCacheStatus_Name(CatalogCacheStatus value) { - return ::google::protobuf::internal::NameOfEnum( - CatalogCacheStatus_descriptor(), value); -} -inline bool CatalogCacheStatus_Parse( - const ::std::string& name, CatalogCacheStatus* value) { - return ::google::protobuf::internal::ParseNamedEnum( - CatalogCacheStatus_descriptor(), name, value); -} -// =================================================================== - -class CatalogArtifactTag final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CatalogArtifactTag) */ { - public: - CatalogArtifactTag(); - virtual ~CatalogArtifactTag(); - - CatalogArtifactTag(const CatalogArtifactTag& from); - - inline CatalogArtifactTag& operator=(const CatalogArtifactTag& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CatalogArtifactTag(CatalogArtifactTag&& from) noexcept - : CatalogArtifactTag() { - *this = ::std::move(from); - } - - inline CatalogArtifactTag& operator=(CatalogArtifactTag&& 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 CatalogArtifactTag& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CatalogArtifactTag* internal_default_instance() { - return reinterpret_cast( - &_CatalogArtifactTag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(CatalogArtifactTag* other); - friend void swap(CatalogArtifactTag& a, CatalogArtifactTag& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CatalogArtifactTag* New() const final { - return CreateMaybeMessage(nullptr); - } - - CatalogArtifactTag* 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 CatalogArtifactTag& from); - void MergeFrom(const CatalogArtifactTag& 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(CatalogArtifactTag* 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; - 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); - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.core.CatalogArtifactTag) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr artifact_id_; - ::google::protobuf::internal::ArenaStringPtr name_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class CatalogMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CatalogMetadata) */ { - public: - CatalogMetadata(); - virtual ~CatalogMetadata(); - - CatalogMetadata(const CatalogMetadata& from); - - inline CatalogMetadata& operator=(const CatalogMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CatalogMetadata(CatalogMetadata&& from) noexcept - : CatalogMetadata() { - *this = ::std::move(from); - } - - inline CatalogMetadata& operator=(CatalogMetadata&& 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 CatalogMetadata& default_instance(); - - enum SourceExecutionCase { - kSourceTaskExecution = 3, - SOURCE_EXECUTION_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CatalogMetadata* internal_default_instance() { - return reinterpret_cast( - &_CatalogMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(CatalogMetadata* other); - friend void swap(CatalogMetadata& a, CatalogMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CatalogMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - CatalogMetadata* 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 CatalogMetadata& from); - void MergeFrom(const CatalogMetadata& 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(CatalogMetadata* 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.Identifier dataset_id = 1; - bool has_dataset_id() const; - void clear_dataset_id(); - static const int kDatasetIdFieldNumber = 1; - const ::flyteidl::core::Identifier& dataset_id() const; - ::flyteidl::core::Identifier* release_dataset_id(); - ::flyteidl::core::Identifier* mutable_dataset_id(); - void set_allocated_dataset_id(::flyteidl::core::Identifier* dataset_id); - - // .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - bool has_artifact_tag() const; - void clear_artifact_tag(); - static const int kArtifactTagFieldNumber = 2; - const ::flyteidl::core::CatalogArtifactTag& artifact_tag() const; - ::flyteidl::core::CatalogArtifactTag* release_artifact_tag(); - ::flyteidl::core::CatalogArtifactTag* mutable_artifact_tag(); - void set_allocated_artifact_tag(::flyteidl::core::CatalogArtifactTag* artifact_tag); - - // .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - bool has_source_task_execution() const; - void clear_source_task_execution(); - static const int kSourceTaskExecutionFieldNumber = 3; - const ::flyteidl::core::TaskExecutionIdentifier& source_task_execution() const; - ::flyteidl::core::TaskExecutionIdentifier* release_source_task_execution(); - ::flyteidl::core::TaskExecutionIdentifier* mutable_source_task_execution(); - void set_allocated_source_task_execution(::flyteidl::core::TaskExecutionIdentifier* source_task_execution); - - void clear_source_execution(); - SourceExecutionCase source_execution_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.CatalogMetadata) - private: - class HasBitSetters; - void set_has_source_task_execution(); - - inline bool has_source_execution() const; - inline void clear_has_source_execution(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* dataset_id_; - ::flyteidl::core::CatalogArtifactTag* artifact_tag_; - union SourceExecutionUnion { - SourceExecutionUnion() {} - ::flyteidl::core::TaskExecutionIdentifier* source_task_execution_; - } source_execution_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fcatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class CatalogReservation final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CatalogReservation) */ { - public: - CatalogReservation(); - virtual ~CatalogReservation(); - - CatalogReservation(const CatalogReservation& from); - - inline CatalogReservation& operator=(const CatalogReservation& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CatalogReservation(CatalogReservation&& from) noexcept - : CatalogReservation() { - *this = ::std::move(from); - } - - inline CatalogReservation& operator=(CatalogReservation&& 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 CatalogReservation& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CatalogReservation* internal_default_instance() { - return reinterpret_cast( - &_CatalogReservation_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(CatalogReservation* other); - friend void swap(CatalogReservation& a, CatalogReservation& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CatalogReservation* New() const final { - return CreateMaybeMessage(nullptr); - } - - CatalogReservation* 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 CatalogReservation& from); - void MergeFrom(const CatalogReservation& 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(CatalogReservation* 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 CatalogReservation_Status Status; - static const Status RESERVATION_DISABLED = - CatalogReservation_Status_RESERVATION_DISABLED; - static const Status RESERVATION_ACQUIRED = - CatalogReservation_Status_RESERVATION_ACQUIRED; - static const Status RESERVATION_EXISTS = - CatalogReservation_Status_RESERVATION_EXISTS; - static const Status RESERVATION_RELEASED = - CatalogReservation_Status_RESERVATION_RELEASED; - static const Status RESERVATION_FAILURE = - CatalogReservation_Status_RESERVATION_FAILURE; - static inline bool Status_IsValid(int value) { - return CatalogReservation_Status_IsValid(value); - } - static const Status Status_MIN = - CatalogReservation_Status_Status_MIN; - static const Status Status_MAX = - CatalogReservation_Status_Status_MAX; - static const int Status_ARRAYSIZE = - CatalogReservation_Status_Status_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Status_descriptor() { - return CatalogReservation_Status_descriptor(); - } - static inline const ::std::string& Status_Name(Status value) { - return CatalogReservation_Status_Name(value); - } - static inline bool Status_Parse(const ::std::string& name, - Status* value) { - return CatalogReservation_Status_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.core.CatalogReservation) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcatalog_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CatalogArtifactTag - -// string artifact_id = 1; -inline void CatalogArtifactTag::clear_artifact_id() { - artifact_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CatalogArtifactTag::artifact_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.CatalogArtifactTag.artifact_id) - return artifact_id_.GetNoArena(); -} -inline void CatalogArtifactTag::set_artifact_id(const ::std::string& value) { - - artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.CatalogArtifactTag.artifact_id) -} -#if LANG_CXX11 -inline void CatalogArtifactTag::set_artifact_id(::std::string&& value) { - - artifact_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.CatalogArtifactTag.artifact_id) -} -#endif -inline void CatalogArtifactTag::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:flyteidl.core.CatalogArtifactTag.artifact_id) -} -inline void CatalogArtifactTag::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:flyteidl.core.CatalogArtifactTag.artifact_id) -} -inline ::std::string* CatalogArtifactTag::mutable_artifact_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.CatalogArtifactTag.artifact_id) - return artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CatalogArtifactTag::release_artifact_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.CatalogArtifactTag.artifact_id) - - return artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CatalogArtifactTag::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:flyteidl.core.CatalogArtifactTag.artifact_id) -} - -// string name = 2; -inline void CatalogArtifactTag::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CatalogArtifactTag::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.CatalogArtifactTag.name) - return name_.GetNoArena(); -} -inline void CatalogArtifactTag::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.CatalogArtifactTag.name) -} -#if LANG_CXX11 -inline void CatalogArtifactTag::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.CatalogArtifactTag.name) -} -#endif -inline void CatalogArtifactTag::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.CatalogArtifactTag.name) -} -inline void CatalogArtifactTag::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.CatalogArtifactTag.name) -} -inline ::std::string* CatalogArtifactTag::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.CatalogArtifactTag.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CatalogArtifactTag::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.CatalogArtifactTag.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CatalogArtifactTag::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CatalogArtifactTag.name) -} - -// ------------------------------------------------------------------- - -// CatalogMetadata - -// .flyteidl.core.Identifier dataset_id = 1; -inline bool CatalogMetadata::has_dataset_id() const { - return this != internal_default_instance() && dataset_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& CatalogMetadata::dataset_id() const { - const ::flyteidl::core::Identifier* p = dataset_id_; - // @@protoc_insertion_point(field_get:flyteidl.core.CatalogMetadata.dataset_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* CatalogMetadata::release_dataset_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.CatalogMetadata.dataset_id) - - ::flyteidl::core::Identifier* temp = dataset_id_; - dataset_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* CatalogMetadata::mutable_dataset_id() { - - if (dataset_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - dataset_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.CatalogMetadata.dataset_id) - return dataset_id_; -} -inline void CatalogMetadata::set_allocated_dataset_id(::flyteidl::core::Identifier* dataset_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(dataset_id_); - } - if (dataset_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - dataset_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, dataset_id, submessage_arena); - } - - } else { - - } - dataset_id_ = dataset_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CatalogMetadata.dataset_id) -} - -// .flyteidl.core.CatalogArtifactTag artifact_tag = 2; -inline bool CatalogMetadata::has_artifact_tag() const { - return this != internal_default_instance() && artifact_tag_ != nullptr; -} -inline void CatalogMetadata::clear_artifact_tag() { - if (GetArenaNoVirtual() == nullptr && artifact_tag_ != nullptr) { - delete artifact_tag_; - } - artifact_tag_ = nullptr; -} -inline const ::flyteidl::core::CatalogArtifactTag& CatalogMetadata::artifact_tag() const { - const ::flyteidl::core::CatalogArtifactTag* p = artifact_tag_; - // @@protoc_insertion_point(field_get:flyteidl.core.CatalogMetadata.artifact_tag) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CatalogArtifactTag_default_instance_); -} -inline ::flyteidl::core::CatalogArtifactTag* CatalogMetadata::release_artifact_tag() { - // @@protoc_insertion_point(field_release:flyteidl.core.CatalogMetadata.artifact_tag) - - ::flyteidl::core::CatalogArtifactTag* temp = artifact_tag_; - artifact_tag_ = nullptr; - return temp; -} -inline ::flyteidl::core::CatalogArtifactTag* CatalogMetadata::mutable_artifact_tag() { - - if (artifact_tag_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CatalogArtifactTag>(GetArenaNoVirtual()); - artifact_tag_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.CatalogMetadata.artifact_tag) - return artifact_tag_; -} -inline void CatalogMetadata::set_allocated_artifact_tag(::flyteidl::core::CatalogArtifactTag* artifact_tag) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete artifact_tag_; - } - if (artifact_tag) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_tag = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_tag, submessage_arena); - } - - } else { - - } - artifact_tag_ = artifact_tag; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CatalogMetadata.artifact_tag) -} - -// .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; -inline bool CatalogMetadata::has_source_task_execution() const { - return source_execution_case() == kSourceTaskExecution; -} -inline void CatalogMetadata::set_has_source_task_execution() { - _oneof_case_[0] = kSourceTaskExecution; -} -inline ::flyteidl::core::TaskExecutionIdentifier* CatalogMetadata::release_source_task_execution() { - // @@protoc_insertion_point(field_release:flyteidl.core.CatalogMetadata.source_task_execution) - if (has_source_task_execution()) { - clear_has_source_execution(); - ::flyteidl::core::TaskExecutionIdentifier* temp = source_execution_.source_task_execution_; - source_execution_.source_task_execution_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::TaskExecutionIdentifier& CatalogMetadata::source_task_execution() const { - // @@protoc_insertion_point(field_get:flyteidl.core.CatalogMetadata.source_task_execution) - return has_source_task_execution() - ? *source_execution_.source_task_execution_ - : *reinterpret_cast< ::flyteidl::core::TaskExecutionIdentifier*>(&::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* CatalogMetadata::mutable_source_task_execution() { - if (!has_source_task_execution()) { - clear_source_execution(); - set_has_source_task_execution(); - source_execution_.source_task_execution_ = CreateMaybeMessage< ::flyteidl::core::TaskExecutionIdentifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.CatalogMetadata.source_task_execution) - return source_execution_.source_task_execution_; -} - -inline bool CatalogMetadata::has_source_execution() const { - return source_execution_case() != SOURCE_EXECUTION_NOT_SET; -} -inline void CatalogMetadata::clear_has_source_execution() { - _oneof_case_[0] = SOURCE_EXECUTION_NOT_SET; -} -inline CatalogMetadata::SourceExecutionCase CatalogMetadata::source_execution_case() const { - return CatalogMetadata::SourceExecutionCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// CatalogReservation - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::CatalogReservation_Status> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::CatalogReservation_Status>() { - return ::flyteidl::core::CatalogReservation_Status_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::CatalogCacheStatus> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::CatalogCacheStatus>() { - return ::flyteidl::core::CatalogCacheStatus_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fcatalog_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/compiler.grpc.pb.cc deleted file mode 100644 index 67571c8750..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/compiler.proto - -#include "flyteidl/core/compiler.pb.h" -#include "flyteidl/core/compiler.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/compiler.grpc.pb.h deleted file mode 100644 index 30a332b1ed..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/compiler.proto -#ifndef GRPC_flyteidl_2fcore_2fcompiler_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fcompiler_2eproto__INCLUDED - -#include "flyteidl/core/compiler.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fcompiler_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/compiler.pb.cc deleted file mode 100644 index 1b397f1030..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.pb.cc +++ /dev/null @@ -1,2279 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/compiler.proto - -#include "flyteidl/core/compiler.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ConnectionSet_DownstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ConnectionSet_UpstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_CompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ConnectionSet_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto; -namespace flyteidl { -namespace core { -class ConnectionSet_IdListDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ConnectionSet_IdList_default_instance_; -class ConnectionSet_DownstreamEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ConnectionSet_DownstreamEntry_DoNotUse_default_instance_; -class ConnectionSet_UpstreamEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ConnectionSet_UpstreamEntry_DoNotUse_default_instance_; -class ConnectionSetDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ConnectionSet_default_instance_; -class CompiledWorkflowDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CompiledWorkflow_default_instance_; -class CompiledTaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CompiledTask_default_instance_; -class CompiledWorkflowClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CompiledWorkflowClosure_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ConnectionSet_IdList_default_instance_; - new (ptr) ::flyteidl::core::ConnectionSet_IdList(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ConnectionSet_IdList::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto}, {}}; - -static void InitDefaultsConnectionSet_DownstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ConnectionSet_DownstreamEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse(); - } - ::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ConnectionSet_DownstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsConnectionSet_DownstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto}, { - &scc_info_ConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -static void InitDefaultsConnectionSet_UpstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ConnectionSet_UpstreamEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse(); - } - ::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ConnectionSet_UpstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsConnectionSet_UpstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto}, { - &scc_info_ConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -static void InitDefaultsConnectionSet_flyteidl_2fcore_2fcompiler_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ConnectionSet_default_instance_; - new (ptr) ::flyteidl::core::ConnectionSet(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ConnectionSet::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_ConnectionSet_flyteidl_2fcore_2fcompiler_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsConnectionSet_flyteidl_2fcore_2fcompiler_2eproto}, { - &scc_info_ConnectionSet_DownstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto.base, - &scc_info_ConnectionSet_UpstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -static void InitDefaultsCompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_CompiledWorkflow_default_instance_; - new (ptr) ::flyteidl::core::CompiledWorkflow(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::CompiledWorkflow::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_CompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto}, { - &scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_ConnectionSet_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -static void InitDefaultsCompiledTask_flyteidl_2fcore_2fcompiler_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_CompiledTask_default_instance_; - new (ptr) ::flyteidl::core::CompiledTask(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::CompiledTask::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCompiledTask_flyteidl_2fcore_2fcompiler_2eproto}, { - &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsCompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_CompiledWorkflowClosure_default_instance_; - new (ptr) ::flyteidl::core::CompiledWorkflowClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::CompiledWorkflowClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto}, { - &scc_info_CompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto.base, - &scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fcompiler_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ConnectionSet_DownstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ConnectionSet_UpstreamEntry_DoNotUse_flyteidl_2fcore_2fcompiler_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ConnectionSet_flyteidl_2fcore_2fcompiler_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[7]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fcompiler_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fcompiler_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fcompiler_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_IdList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_IdList, ids_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet, downstream_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConnectionSet, upstream_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledWorkflow, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledWorkflow, template__), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledWorkflow, connections_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledTask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledTask, template__), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledWorkflowClosure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledWorkflowClosure, primary_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledWorkflowClosure, sub_workflows_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::CompiledWorkflowClosure, tasks_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::ConnectionSet_IdList)}, - { 6, 13, sizeof(::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse)}, - { 15, 22, sizeof(::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse)}, - { 24, -1, sizeof(::flyteidl::core::ConnectionSet)}, - { 31, -1, sizeof(::flyteidl::core::CompiledWorkflow)}, - { 38, -1, sizeof(::flyteidl::core::CompiledTask)}, - { 44, -1, sizeof(::flyteidl::core::CompiledWorkflowClosure)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_ConnectionSet_IdList_default_instance_), - reinterpret_cast(&::flyteidl::core::_ConnectionSet_DownstreamEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_ConnectionSet_UpstreamEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_ConnectionSet_default_instance_), - reinterpret_cast(&::flyteidl::core::_CompiledWorkflow_default_instance_), - reinterpret_cast(&::flyteidl::core::_CompiledTask_default_instance_), - reinterpret_cast(&::flyteidl::core::_CompiledWorkflowClosure_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fcompiler_2eproto, "flyteidl/core/compiler.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fcompiler_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto, 7, file_level_enum_descriptors_flyteidl_2fcore_2fcompiler_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fcompiler_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fcompiler_2eproto[] = - "\n\034flyteidl/core/compiler.proto\022\rflyteidl" - ".core\032\034flyteidl/core/workflow.proto\032\031fly" - "teidl/core/tasks.proto\"\324\002\n\rConnectionSet" - "\022@\n\ndownstream\030\007 \003(\0132,.flyteidl.core.Con" - "nectionSet.DownstreamEntry\022<\n\010upstream\030\010" - " \003(\0132*.flyteidl.core.ConnectionSet.Upstr" - "eamEntry\032\025\n\006IdList\022\013\n\003ids\030\001 \003(\t\032V\n\017Downs" - "treamEntry\022\013\n\003key\030\001 \001(\t\0222\n\005value\030\002 \001(\0132#" - ".flyteidl.core.ConnectionSet.IdList:\0028\001\032" - "T\n\rUpstreamEntry\022\013\n\003key\030\001 \001(\t\0222\n\005value\030\002" - " \001(\0132#.flyteidl.core.ConnectionSet.IdLis" - "t:\0028\001\"x\n\020CompiledWorkflow\0221\n\010template\030\001 " - "\001(\0132\037.flyteidl.core.WorkflowTemplate\0221\n\013" - "connections\030\002 \001(\0132\034.flyteidl.core.Connec" - "tionSet\"=\n\014CompiledTask\022-\n\010template\030\001 \001(" - "\0132\033.flyteidl.core.TaskTemplate\"\257\001\n\027Compi" - "ledWorkflowClosure\0220\n\007primary\030\001 \001(\0132\037.fl" - "yteidl.core.CompiledWorkflow\0226\n\rsub_work" - "flows\030\002 \003(\0132\037.flyteidl.core.CompiledWork" - "flow\022*\n\005tasks\030\003 \003(\0132\033.flyteidl.core.Comp" - "iledTaskB= 1900 -const int ConnectionSet_IdList::kIdsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ConnectionSet_IdList::ConnectionSet_IdList() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ConnectionSet.IdList) -} -ConnectionSet_IdList::ConnectionSet_IdList(const ConnectionSet_IdList& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - ids_(from.ids_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ConnectionSet.IdList) -} - -void ConnectionSet_IdList::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto.base); -} - -ConnectionSet_IdList::~ConnectionSet_IdList() { - // @@protoc_insertion_point(destructor:flyteidl.core.ConnectionSet.IdList) - SharedDtor(); -} - -void ConnectionSet_IdList::SharedDtor() { -} - -void ConnectionSet_IdList::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ConnectionSet_IdList& ConnectionSet_IdList::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ConnectionSet_IdList_flyteidl_2fcore_2fcompiler_2eproto.base); - return *internal_default_instance(); -} - - -void ConnectionSet_IdList::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ConnectionSet.IdList) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ids_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ConnectionSet_IdList::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string ids = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ConnectionSet.IdList.ids"); - object = msg->add_ids(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ConnectionSet_IdList::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.ConnectionSet.IdList) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string ids = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_ids())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->ids(this->ids_size() - 1).data(), - static_cast(this->ids(this->ids_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ConnectionSet.IdList.ids")); - } 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.ConnectionSet.IdList) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ConnectionSet.IdList) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ConnectionSet_IdList::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ConnectionSet.IdList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string ids = 1; - for (int i = 0, n = this->ids_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->ids(i).data(), static_cast(this->ids(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ConnectionSet.IdList.ids"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->ids(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.ConnectionSet.IdList) -} - -::google::protobuf::uint8* ConnectionSet_IdList::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ConnectionSet.IdList) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string ids = 1; - for (int i = 0, n = this->ids_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->ids(i).data(), static_cast(this->ids(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ConnectionSet.IdList.ids"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->ids(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.ConnectionSet.IdList) - return target; -} - -size_t ConnectionSet_IdList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ConnectionSet.IdList) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string ids = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->ids_size()); - for (int i = 0, n = this->ids_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->ids(i)); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ConnectionSet_IdList::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ConnectionSet.IdList) - GOOGLE_DCHECK_NE(&from, this); - const ConnectionSet_IdList* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ConnectionSet.IdList) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ConnectionSet.IdList) - MergeFrom(*source); - } -} - -void ConnectionSet_IdList::MergeFrom(const ConnectionSet_IdList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ConnectionSet.IdList) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - ids_.MergeFrom(from.ids_); -} - -void ConnectionSet_IdList::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ConnectionSet.IdList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ConnectionSet_IdList::CopyFrom(const ConnectionSet_IdList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ConnectionSet.IdList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ConnectionSet_IdList::IsInitialized() const { - return true; -} - -void ConnectionSet_IdList::Swap(ConnectionSet_IdList* other) { - if (other == this) return; - InternalSwap(other); -} -void ConnectionSet_IdList::InternalSwap(ConnectionSet_IdList* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - ids_.InternalSwap(CastToBase(&other->ids_)); -} - -::google::protobuf::Metadata ConnectionSet_IdList::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -ConnectionSet_DownstreamEntry_DoNotUse::ConnectionSet_DownstreamEntry_DoNotUse() {} -ConnectionSet_DownstreamEntry_DoNotUse::ConnectionSet_DownstreamEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void ConnectionSet_DownstreamEntry_DoNotUse::MergeFrom(const ConnectionSet_DownstreamEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata ConnectionSet_DownstreamEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[1]; -} -void ConnectionSet_DownstreamEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ConnectionSet_DownstreamEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - ConnectionSet_DownstreamEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ConnectionSet.DownstreamEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -ConnectionSet_UpstreamEntry_DoNotUse::ConnectionSet_UpstreamEntry_DoNotUse() {} -ConnectionSet_UpstreamEntry_DoNotUse::ConnectionSet_UpstreamEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void ConnectionSet_UpstreamEntry_DoNotUse::MergeFrom(const ConnectionSet_UpstreamEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata ConnectionSet_UpstreamEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[2]; -} -void ConnectionSet_UpstreamEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ConnectionSet_UpstreamEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - ConnectionSet_UpstreamEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ConnectionSet.UpstreamEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void ConnectionSet::InitAsDefaultInstance() { -} -class ConnectionSet::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ConnectionSet::kDownstreamFieldNumber; -const int ConnectionSet::kUpstreamFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ConnectionSet::ConnectionSet() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ConnectionSet) -} -ConnectionSet::ConnectionSet(const ConnectionSet& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - downstream_.MergeFrom(from.downstream_); - upstream_.MergeFrom(from.upstream_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ConnectionSet) -} - -void ConnectionSet::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ConnectionSet_flyteidl_2fcore_2fcompiler_2eproto.base); -} - -ConnectionSet::~ConnectionSet() { - // @@protoc_insertion_point(destructor:flyteidl.core.ConnectionSet) - SharedDtor(); -} - -void ConnectionSet::SharedDtor() { -} - -void ConnectionSet::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ConnectionSet& ConnectionSet::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ConnectionSet_flyteidl_2fcore_2fcompiler_2eproto.base); - return *internal_default_instance(); -} - - -void ConnectionSet::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ConnectionSet) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - downstream_.Clear(); - upstream_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ConnectionSet::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map downstream = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->downstream_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 58 && (ptr += 1)); - break; - } - // map upstream = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->upstream_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 66 && (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 ConnectionSet::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.ConnectionSet) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map downstream = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - ConnectionSet_DownstreamEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - ConnectionSet_DownstreamEntry_DoNotUse, - ::std::string, ::flyteidl::core::ConnectionSet_IdList, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList > > parser(&downstream_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ConnectionSet.DownstreamEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - // map upstream = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - ConnectionSet_UpstreamEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - ConnectionSet_UpstreamEntry_DoNotUse, - ::std::string, ::flyteidl::core::ConnectionSet_IdList, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList > > parser(&upstream_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ConnectionSet.UpstreamEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.ConnectionSet) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ConnectionSet) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ConnectionSet::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ConnectionSet) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map downstream = 7; - if (!this->downstream().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ConnectionSet.DownstreamEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->downstream().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->downstream().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->downstream().begin(); - it != this->downstream().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(downstream_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(7, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->downstream().begin(); - it != this->downstream().end(); ++it) { - entry.reset(downstream_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(7, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // map upstream = 8; - if (!this->upstream().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ConnectionSet.UpstreamEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->upstream().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->upstream().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->upstream().begin(); - it != this->upstream().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(upstream_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(8, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->upstream().begin(); - it != this->upstream().end(); ++it) { - entry.reset(upstream_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(8, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ConnectionSet) -} - -::google::protobuf::uint8* ConnectionSet::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ConnectionSet) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map downstream = 7; - if (!this->downstream().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ConnectionSet.DownstreamEntry.key"); - } - }; - - if (false && - this->downstream().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->downstream().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->downstream().begin(); - it != this->downstream().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(downstream_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(7, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->downstream().begin(); - it != this->downstream().end(); ++it) { - entry.reset(downstream_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(7, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // map upstream = 8; - if (!this->upstream().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ConnectionSet.UpstreamEntry.key"); - } - }; - - if (false && - this->upstream().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->upstream().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->upstream().begin(); - it != this->upstream().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(upstream_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(8, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->upstream().begin(); - it != this->upstream().end(); ++it) { - entry.reset(upstream_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(8, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.ConnectionSet) - return target; -} - -size_t ConnectionSet::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ConnectionSet) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map downstream = 7; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->downstream_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->downstream().begin(); - it != this->downstream().end(); ++it) { - entry.reset(downstream_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // map upstream = 8; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->upstream_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >::const_iterator - it = this->upstream().begin(); - it != this->upstream().end(); ++it) { - entry.reset(upstream_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ConnectionSet::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ConnectionSet) - GOOGLE_DCHECK_NE(&from, this); - const ConnectionSet* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ConnectionSet) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ConnectionSet) - MergeFrom(*source); - } -} - -void ConnectionSet::MergeFrom(const ConnectionSet& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ConnectionSet) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - downstream_.MergeFrom(from.downstream_); - upstream_.MergeFrom(from.upstream_); -} - -void ConnectionSet::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ConnectionSet) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ConnectionSet::CopyFrom(const ConnectionSet& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ConnectionSet) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ConnectionSet::IsInitialized() const { - return true; -} - -void ConnectionSet::Swap(ConnectionSet* other) { - if (other == this) return; - InternalSwap(other); -} -void ConnectionSet::InternalSwap(ConnectionSet* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - downstream_.Swap(&other->downstream_); - upstream_.Swap(&other->upstream_); -} - -::google::protobuf::Metadata ConnectionSet::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CompiledWorkflow::InitAsDefaultInstance() { - ::flyteidl::core::_CompiledWorkflow_default_instance_._instance.get_mutable()->template__ = const_cast< ::flyteidl::core::WorkflowTemplate*>( - ::flyteidl::core::WorkflowTemplate::internal_default_instance()); - ::flyteidl::core::_CompiledWorkflow_default_instance_._instance.get_mutable()->connections_ = const_cast< ::flyteidl::core::ConnectionSet*>( - ::flyteidl::core::ConnectionSet::internal_default_instance()); -} -class CompiledWorkflow::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowTemplate& template_(const CompiledWorkflow* msg); - static const ::flyteidl::core::ConnectionSet& connections(const CompiledWorkflow* msg); -}; - -const ::flyteidl::core::WorkflowTemplate& -CompiledWorkflow::HasBitSetters::template_(const CompiledWorkflow* msg) { - return *msg->template__; -} -const ::flyteidl::core::ConnectionSet& -CompiledWorkflow::HasBitSetters::connections(const CompiledWorkflow* msg) { - return *msg->connections_; -} -void CompiledWorkflow::clear_template_() { - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CompiledWorkflow::kTemplateFieldNumber; -const int CompiledWorkflow::kConnectionsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CompiledWorkflow::CompiledWorkflow() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.CompiledWorkflow) -} -CompiledWorkflow::CompiledWorkflow(const CompiledWorkflow& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_template_()) { - template__ = new ::flyteidl::core::WorkflowTemplate(*from.template__); - } else { - template__ = nullptr; - } - if (from.has_connections()) { - connections_ = new ::flyteidl::core::ConnectionSet(*from.connections_); - } else { - connections_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.CompiledWorkflow) -} - -void CompiledWorkflow::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto.base); - ::memset(&template__, 0, static_cast( - reinterpret_cast(&connections_) - - reinterpret_cast(&template__)) + sizeof(connections_)); -} - -CompiledWorkflow::~CompiledWorkflow() { - // @@protoc_insertion_point(destructor:flyteidl.core.CompiledWorkflow) - SharedDtor(); -} - -void CompiledWorkflow::SharedDtor() { - if (this != internal_default_instance()) delete template__; - if (this != internal_default_instance()) delete connections_; -} - -void CompiledWorkflow::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CompiledWorkflow& CompiledWorkflow::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CompiledWorkflow_flyteidl_2fcore_2fcompiler_2eproto.base); - return *internal_default_instance(); -} - - -void CompiledWorkflow::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.CompiledWorkflow) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; - if (GetArenaNoVirtual() == nullptr && connections_ != nullptr) { - delete connections_; - } - connections_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CompiledWorkflow::_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.WorkflowTemplate template = 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::WorkflowTemplate::_InternalParse; - object = msg->mutable_template_(); - 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.ConnectionSet connections = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ConnectionSet::_InternalParse; - object = msg->mutable_connections(); - 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 CompiledWorkflow::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.CompiledWorkflow) - 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.WorkflowTemplate template = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_template_())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ConnectionSet connections = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_connections())); - } 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.CompiledWorkflow) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.CompiledWorkflow) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CompiledWorkflow::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.CompiledWorkflow) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowTemplate template = 1; - if (this->has_template_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::template_(this), output); - } - - // .flyteidl.core.ConnectionSet connections = 2; - if (this->has_connections()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::connections(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.CompiledWorkflow) -} - -::google::protobuf::uint8* CompiledWorkflow::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CompiledWorkflow) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowTemplate template = 1; - if (this->has_template_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::template_(this), target); - } - - // .flyteidl.core.ConnectionSet connections = 2; - if (this->has_connections()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::connections(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.CompiledWorkflow) - return target; -} - -size_t CompiledWorkflow::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CompiledWorkflow) - 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.WorkflowTemplate template = 1; - if (this->has_template_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *template__); - } - - // .flyteidl.core.ConnectionSet connections = 2; - if (this->has_connections()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *connections_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CompiledWorkflow::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CompiledWorkflow) - GOOGLE_DCHECK_NE(&from, this); - const CompiledWorkflow* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CompiledWorkflow) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CompiledWorkflow) - MergeFrom(*source); - } -} - -void CompiledWorkflow::MergeFrom(const CompiledWorkflow& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CompiledWorkflow) - 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_template_()) { - mutable_template_()->::flyteidl::core::WorkflowTemplate::MergeFrom(from.template_()); - } - if (from.has_connections()) { - mutable_connections()->::flyteidl::core::ConnectionSet::MergeFrom(from.connections()); - } -} - -void CompiledWorkflow::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CompiledWorkflow) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CompiledWorkflow::CopyFrom(const CompiledWorkflow& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CompiledWorkflow) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CompiledWorkflow::IsInitialized() const { - return true; -} - -void CompiledWorkflow::Swap(CompiledWorkflow* other) { - if (other == this) return; - InternalSwap(other); -} -void CompiledWorkflow::InternalSwap(CompiledWorkflow* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(template__, other->template__); - swap(connections_, other->connections_); -} - -::google::protobuf::Metadata CompiledWorkflow::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CompiledTask::InitAsDefaultInstance() { - ::flyteidl::core::_CompiledTask_default_instance_._instance.get_mutable()->template__ = const_cast< ::flyteidl::core::TaskTemplate*>( - ::flyteidl::core::TaskTemplate::internal_default_instance()); -} -class CompiledTask::HasBitSetters { - public: - static const ::flyteidl::core::TaskTemplate& template_(const CompiledTask* msg); -}; - -const ::flyteidl::core::TaskTemplate& -CompiledTask::HasBitSetters::template_(const CompiledTask* msg) { - return *msg->template__; -} -void CompiledTask::clear_template_() { - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CompiledTask::kTemplateFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CompiledTask::CompiledTask() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.CompiledTask) -} -CompiledTask::CompiledTask(const CompiledTask& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_template_()) { - template__ = new ::flyteidl::core::TaskTemplate(*from.template__); - } else { - template__ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.CompiledTask) -} - -void CompiledTask::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto.base); - template__ = nullptr; -} - -CompiledTask::~CompiledTask() { - // @@protoc_insertion_point(destructor:flyteidl.core.CompiledTask) - SharedDtor(); -} - -void CompiledTask::SharedDtor() { - if (this != internal_default_instance()) delete template__; -} - -void CompiledTask::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CompiledTask& CompiledTask::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CompiledTask_flyteidl_2fcore_2fcompiler_2eproto.base); - return *internal_default_instance(); -} - - -void CompiledTask::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.CompiledTask) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CompiledTask::_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.TaskTemplate template = 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::TaskTemplate::_InternalParse; - object = msg->mutable_template_(); - 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 CompiledTask::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.CompiledTask) - 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.TaskTemplate template = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_template_())); - } 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.CompiledTask) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.CompiledTask) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CompiledTask::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.CompiledTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskTemplate template = 1; - if (this->has_template_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::template_(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.CompiledTask) -} - -::google::protobuf::uint8* CompiledTask::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CompiledTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskTemplate template = 1; - if (this->has_template_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::template_(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.CompiledTask) - return target; -} - -size_t CompiledTask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CompiledTask) - 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.TaskTemplate template = 1; - if (this->has_template_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *template__); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CompiledTask::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CompiledTask) - GOOGLE_DCHECK_NE(&from, this); - const CompiledTask* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CompiledTask) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CompiledTask) - MergeFrom(*source); - } -} - -void CompiledTask::MergeFrom(const CompiledTask& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CompiledTask) - 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_template_()) { - mutable_template_()->::flyteidl::core::TaskTemplate::MergeFrom(from.template_()); - } -} - -void CompiledTask::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CompiledTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CompiledTask::CopyFrom(const CompiledTask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CompiledTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CompiledTask::IsInitialized() const { - return true; -} - -void CompiledTask::Swap(CompiledTask* other) { - if (other == this) return; - InternalSwap(other); -} -void CompiledTask::InternalSwap(CompiledTask* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(template__, other->template__); -} - -::google::protobuf::Metadata CompiledTask::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CompiledWorkflowClosure::InitAsDefaultInstance() { - ::flyteidl::core::_CompiledWorkflowClosure_default_instance_._instance.get_mutable()->primary_ = const_cast< ::flyteidl::core::CompiledWorkflow*>( - ::flyteidl::core::CompiledWorkflow::internal_default_instance()); -} -class CompiledWorkflowClosure::HasBitSetters { - public: - static const ::flyteidl::core::CompiledWorkflow& primary(const CompiledWorkflowClosure* msg); -}; - -const ::flyteidl::core::CompiledWorkflow& -CompiledWorkflowClosure::HasBitSetters::primary(const CompiledWorkflowClosure* msg) { - return *msg->primary_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CompiledWorkflowClosure::kPrimaryFieldNumber; -const int CompiledWorkflowClosure::kSubWorkflowsFieldNumber; -const int CompiledWorkflowClosure::kTasksFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CompiledWorkflowClosure::CompiledWorkflowClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.CompiledWorkflowClosure) -} -CompiledWorkflowClosure::CompiledWorkflowClosure(const CompiledWorkflowClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - sub_workflows_(from.sub_workflows_), - tasks_(from.tasks_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_primary()) { - primary_ = new ::flyteidl::core::CompiledWorkflow(*from.primary_); - } else { - primary_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.CompiledWorkflowClosure) -} - -void CompiledWorkflowClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto.base); - primary_ = nullptr; -} - -CompiledWorkflowClosure::~CompiledWorkflowClosure() { - // @@protoc_insertion_point(destructor:flyteidl.core.CompiledWorkflowClosure) - SharedDtor(); -} - -void CompiledWorkflowClosure::SharedDtor() { - if (this != internal_default_instance()) delete primary_; -} - -void CompiledWorkflowClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CompiledWorkflowClosure& CompiledWorkflowClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto.base); - return *internal_default_instance(); -} - - -void CompiledWorkflowClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.CompiledWorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - sub_workflows_.Clear(); - tasks_.Clear(); - if (GetArenaNoVirtual() == nullptr && primary_ != nullptr) { - delete primary_; - } - primary_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CompiledWorkflowClosure::_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.CompiledWorkflow primary = 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::CompiledWorkflow::_InternalParse; - object = msg->mutable_primary(); - 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; - } - // repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CompiledWorkflow::_InternalParse; - object = msg->add_sub_workflows(); - 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) == 18 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.CompiledTask tasks = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CompiledTask::_InternalParse; - object = msg->add_tasks(); - 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) == 26 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool CompiledWorkflowClosure::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.CompiledWorkflowClosure) - 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.CompiledWorkflow primary = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_primary())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_sub_workflows())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.CompiledTask tasks = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_tasks())); - } 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.CompiledWorkflowClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.CompiledWorkflowClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CompiledWorkflowClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.CompiledWorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledWorkflow primary = 1; - if (this->has_primary()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::primary(this), output); - } - - // repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - for (unsigned int i = 0, - n = static_cast(this->sub_workflows_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->sub_workflows(static_cast(i)), - output); - } - - // repeated .flyteidl.core.CompiledTask tasks = 3; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->tasks(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.CompiledWorkflowClosure) -} - -::google::protobuf::uint8* CompiledWorkflowClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CompiledWorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CompiledWorkflow primary = 1; - if (this->has_primary()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::primary(this), target); - } - - // repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - for (unsigned int i = 0, - n = static_cast(this->sub_workflows_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->sub_workflows(static_cast(i)), target); - } - - // repeated .flyteidl.core.CompiledTask tasks = 3; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->tasks(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.CompiledWorkflowClosure) - return target; -} - -size_t CompiledWorkflowClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CompiledWorkflowClosure) - 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.CompiledWorkflow sub_workflows = 2; - { - unsigned int count = static_cast(this->sub_workflows_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->sub_workflows(static_cast(i))); - } - } - - // repeated .flyteidl.core.CompiledTask tasks = 3; - { - unsigned int count = static_cast(this->tasks_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->tasks(static_cast(i))); - } - } - - // .flyteidl.core.CompiledWorkflow primary = 1; - if (this->has_primary()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *primary_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CompiledWorkflowClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CompiledWorkflowClosure) - GOOGLE_DCHECK_NE(&from, this); - const CompiledWorkflowClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CompiledWorkflowClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CompiledWorkflowClosure) - MergeFrom(*source); - } -} - -void CompiledWorkflowClosure::MergeFrom(const CompiledWorkflowClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CompiledWorkflowClosure) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - sub_workflows_.MergeFrom(from.sub_workflows_); - tasks_.MergeFrom(from.tasks_); - if (from.has_primary()) { - mutable_primary()->::flyteidl::core::CompiledWorkflow::MergeFrom(from.primary()); - } -} - -void CompiledWorkflowClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CompiledWorkflowClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CompiledWorkflowClosure::CopyFrom(const CompiledWorkflowClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CompiledWorkflowClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CompiledWorkflowClosure::IsInitialized() const { - return true; -} - -void CompiledWorkflowClosure::Swap(CompiledWorkflowClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void CompiledWorkflowClosure::InternalSwap(CompiledWorkflowClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&sub_workflows_)->InternalSwap(CastToBase(&other->sub_workflows_)); - CastToBase(&tasks_)->InternalSwap(CastToBase(&other->tasks_)); - swap(primary_, other->primary_); -} - -::google::protobuf::Metadata CompiledWorkflowClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcompiler_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcompiler_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::ConnectionSet_IdList* Arena::CreateMaybeMessage< ::flyteidl::core::ConnectionSet_IdList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ConnectionSet_IdList >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ConnectionSet* Arena::CreateMaybeMessage< ::flyteidl::core::ConnectionSet >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ConnectionSet >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::CompiledWorkflow* Arena::CreateMaybeMessage< ::flyteidl::core::CompiledWorkflow >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::CompiledWorkflow >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::CompiledTask* Arena::CreateMaybeMessage< ::flyteidl::core::CompiledTask >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::CompiledTask >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::CompiledWorkflowClosure* Arena::CreateMaybeMessage< ::flyteidl::core::CompiledWorkflowClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::CompiledWorkflowClosure >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/compiler.pb.h deleted file mode 100644 index 09ab9de1a4..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/compiler.pb.h +++ /dev/null @@ -1,1201 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/compiler.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fcompiler_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fcompiler_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include "flyteidl/core/workflow.pb.h" -#include "flyteidl/core/tasks.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fcompiler_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[7] - 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_2fcore_2fcompiler_2eproto(); -namespace flyteidl { -namespace core { -class CompiledTask; -class CompiledTaskDefaultTypeInternal; -extern CompiledTaskDefaultTypeInternal _CompiledTask_default_instance_; -class CompiledWorkflow; -class CompiledWorkflowDefaultTypeInternal; -extern CompiledWorkflowDefaultTypeInternal _CompiledWorkflow_default_instance_; -class CompiledWorkflowClosure; -class CompiledWorkflowClosureDefaultTypeInternal; -extern CompiledWorkflowClosureDefaultTypeInternal _CompiledWorkflowClosure_default_instance_; -class ConnectionSet; -class ConnectionSetDefaultTypeInternal; -extern ConnectionSetDefaultTypeInternal _ConnectionSet_default_instance_; -class ConnectionSet_DownstreamEntry_DoNotUse; -class ConnectionSet_DownstreamEntry_DoNotUseDefaultTypeInternal; -extern ConnectionSet_DownstreamEntry_DoNotUseDefaultTypeInternal _ConnectionSet_DownstreamEntry_DoNotUse_default_instance_; -class ConnectionSet_IdList; -class ConnectionSet_IdListDefaultTypeInternal; -extern ConnectionSet_IdListDefaultTypeInternal _ConnectionSet_IdList_default_instance_; -class ConnectionSet_UpstreamEntry_DoNotUse; -class ConnectionSet_UpstreamEntry_DoNotUseDefaultTypeInternal; -extern ConnectionSet_UpstreamEntry_DoNotUseDefaultTypeInternal _ConnectionSet_UpstreamEntry_DoNotUse_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::CompiledTask* Arena::CreateMaybeMessage<::flyteidl::core::CompiledTask>(Arena*); -template<> ::flyteidl::core::CompiledWorkflow* Arena::CreateMaybeMessage<::flyteidl::core::CompiledWorkflow>(Arena*); -template<> ::flyteidl::core::CompiledWorkflowClosure* Arena::CreateMaybeMessage<::flyteidl::core::CompiledWorkflowClosure>(Arena*); -template<> ::flyteidl::core::ConnectionSet* Arena::CreateMaybeMessage<::flyteidl::core::ConnectionSet>(Arena*); -template<> ::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::ConnectionSet_DownstreamEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::ConnectionSet_IdList* Arena::CreateMaybeMessage<::flyteidl::core::ConnectionSet_IdList>(Arena*); -template<> ::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::ConnectionSet_UpstreamEntry_DoNotUse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -// =================================================================== - -class ConnectionSet_IdList final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ConnectionSet.IdList) */ { - public: - ConnectionSet_IdList(); - virtual ~ConnectionSet_IdList(); - - ConnectionSet_IdList(const ConnectionSet_IdList& from); - - inline ConnectionSet_IdList& operator=(const ConnectionSet_IdList& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ConnectionSet_IdList(ConnectionSet_IdList&& from) noexcept - : ConnectionSet_IdList() { - *this = ::std::move(from); - } - - inline ConnectionSet_IdList& operator=(ConnectionSet_IdList&& 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 ConnectionSet_IdList& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ConnectionSet_IdList* internal_default_instance() { - return reinterpret_cast( - &_ConnectionSet_IdList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ConnectionSet_IdList* other); - friend void swap(ConnectionSet_IdList& a, ConnectionSet_IdList& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ConnectionSet_IdList* New() const final { - return CreateMaybeMessage(nullptr); - } - - ConnectionSet_IdList* 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 ConnectionSet_IdList& from); - void MergeFrom(const ConnectionSet_IdList& 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(ConnectionSet_IdList* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string ids = 1; - int ids_size() const; - void clear_ids(); - static const int kIdsFieldNumber = 1; - const ::std::string& ids(int index) const; - ::std::string* mutable_ids(int index); - void set_ids(int index, const ::std::string& value); - #if LANG_CXX11 - void set_ids(int index, ::std::string&& value); - #endif - void set_ids(int index, const char* value); - void set_ids(int index, const char* value, size_t size); - ::std::string* add_ids(); - void add_ids(const ::std::string& value); - #if LANG_CXX11 - void add_ids(::std::string&& value); - #endif - void add_ids(const char* value); - void add_ids(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& ids() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_ids(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ConnectionSet.IdList) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> ids_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcompiler_2eproto; -}; -// ------------------------------------------------------------------- - -class ConnectionSet_DownstreamEntry_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; - ConnectionSet_DownstreamEntry_DoNotUse(); - ConnectionSet_DownstreamEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const ConnectionSet_DownstreamEntry_DoNotUse& other); - static const ConnectionSet_DownstreamEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_ConnectionSet_DownstreamEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class ConnectionSet_UpstreamEntry_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; - ConnectionSet_UpstreamEntry_DoNotUse(); - ConnectionSet_UpstreamEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const ConnectionSet_UpstreamEntry_DoNotUse& other); - static const ConnectionSet_UpstreamEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_ConnectionSet_UpstreamEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class ConnectionSet final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ConnectionSet) */ { - public: - ConnectionSet(); - virtual ~ConnectionSet(); - - ConnectionSet(const ConnectionSet& from); - - inline ConnectionSet& operator=(const ConnectionSet& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ConnectionSet(ConnectionSet&& from) noexcept - : ConnectionSet() { - *this = ::std::move(from); - } - - inline ConnectionSet& operator=(ConnectionSet&& 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 ConnectionSet& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ConnectionSet* internal_default_instance() { - return reinterpret_cast( - &_ConnectionSet_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ConnectionSet* other); - friend void swap(ConnectionSet& a, ConnectionSet& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ConnectionSet* New() const final { - return CreateMaybeMessage(nullptr); - } - - ConnectionSet* 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 ConnectionSet& from); - void MergeFrom(const ConnectionSet& 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(ConnectionSet* 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 ConnectionSet_IdList IdList; - - // accessors ------------------------------------------------------- - - // map downstream = 7; - int downstream_size() const; - void clear_downstream(); - static const int kDownstreamFieldNumber = 7; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >& - downstream() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >* - mutable_downstream(); - - // map upstream = 8; - int upstream_size() const; - void clear_upstream(); - static const int kUpstreamFieldNumber = 8; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >& - upstream() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >* - mutable_upstream(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ConnectionSet) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - ConnectionSet_DownstreamEntry_DoNotUse, - ::std::string, ::flyteidl::core::ConnectionSet_IdList, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > downstream_; - ::google::protobuf::internal::MapField< - ConnectionSet_UpstreamEntry_DoNotUse, - ::std::string, ::flyteidl::core::ConnectionSet_IdList, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > upstream_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcompiler_2eproto; -}; -// ------------------------------------------------------------------- - -class CompiledWorkflow final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CompiledWorkflow) */ { - public: - CompiledWorkflow(); - virtual ~CompiledWorkflow(); - - CompiledWorkflow(const CompiledWorkflow& from); - - inline CompiledWorkflow& operator=(const CompiledWorkflow& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CompiledWorkflow(CompiledWorkflow&& from) noexcept - : CompiledWorkflow() { - *this = ::std::move(from); - } - - inline CompiledWorkflow& operator=(CompiledWorkflow&& 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 CompiledWorkflow& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CompiledWorkflow* internal_default_instance() { - return reinterpret_cast( - &_CompiledWorkflow_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(CompiledWorkflow* other); - friend void swap(CompiledWorkflow& a, CompiledWorkflow& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CompiledWorkflow* New() const final { - return CreateMaybeMessage(nullptr); - } - - CompiledWorkflow* 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 CompiledWorkflow& from); - void MergeFrom(const CompiledWorkflow& 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(CompiledWorkflow* 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.WorkflowTemplate template = 1; - bool has_template_() const; - void clear_template_(); - static const int kTemplateFieldNumber = 1; - const ::flyteidl::core::WorkflowTemplate& template_() const; - ::flyteidl::core::WorkflowTemplate* release_template_(); - ::flyteidl::core::WorkflowTemplate* mutable_template_(); - void set_allocated_template_(::flyteidl::core::WorkflowTemplate* template_); - - // .flyteidl.core.ConnectionSet connections = 2; - bool has_connections() const; - void clear_connections(); - static const int kConnectionsFieldNumber = 2; - const ::flyteidl::core::ConnectionSet& connections() const; - ::flyteidl::core::ConnectionSet* release_connections(); - ::flyteidl::core::ConnectionSet* mutable_connections(); - void set_allocated_connections(::flyteidl::core::ConnectionSet* connections); - - // @@protoc_insertion_point(class_scope:flyteidl.core.CompiledWorkflow) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowTemplate* template__; - ::flyteidl::core::ConnectionSet* connections_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcompiler_2eproto; -}; -// ------------------------------------------------------------------- - -class CompiledTask final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CompiledTask) */ { - public: - CompiledTask(); - virtual ~CompiledTask(); - - CompiledTask(const CompiledTask& from); - - inline CompiledTask& operator=(const CompiledTask& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CompiledTask(CompiledTask&& from) noexcept - : CompiledTask() { - *this = ::std::move(from); - } - - inline CompiledTask& operator=(CompiledTask&& 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 CompiledTask& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CompiledTask* internal_default_instance() { - return reinterpret_cast( - &_CompiledTask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(CompiledTask* other); - friend void swap(CompiledTask& a, CompiledTask& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CompiledTask* New() const final { - return CreateMaybeMessage(nullptr); - } - - CompiledTask* 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 CompiledTask& from); - void MergeFrom(const CompiledTask& 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(CompiledTask* 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.TaskTemplate template = 1; - bool has_template_() const; - void clear_template_(); - static const int kTemplateFieldNumber = 1; - const ::flyteidl::core::TaskTemplate& template_() const; - ::flyteidl::core::TaskTemplate* release_template_(); - ::flyteidl::core::TaskTemplate* mutable_template_(); - void set_allocated_template_(::flyteidl::core::TaskTemplate* template_); - - // @@protoc_insertion_point(class_scope:flyteidl.core.CompiledTask) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::TaskTemplate* template__; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcompiler_2eproto; -}; -// ------------------------------------------------------------------- - -class CompiledWorkflowClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CompiledWorkflowClosure) */ { - public: - CompiledWorkflowClosure(); - virtual ~CompiledWorkflowClosure(); - - CompiledWorkflowClosure(const CompiledWorkflowClosure& from); - - inline CompiledWorkflowClosure& operator=(const CompiledWorkflowClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CompiledWorkflowClosure(CompiledWorkflowClosure&& from) noexcept - : CompiledWorkflowClosure() { - *this = ::std::move(from); - } - - inline CompiledWorkflowClosure& operator=(CompiledWorkflowClosure&& 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 CompiledWorkflowClosure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CompiledWorkflowClosure* internal_default_instance() { - return reinterpret_cast( - &_CompiledWorkflowClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(CompiledWorkflowClosure* other); - friend void swap(CompiledWorkflowClosure& a, CompiledWorkflowClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CompiledWorkflowClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - CompiledWorkflowClosure* 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 CompiledWorkflowClosure& from); - void MergeFrom(const CompiledWorkflowClosure& 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(CompiledWorkflowClosure* 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.CompiledWorkflow sub_workflows = 2; - int sub_workflows_size() const; - void clear_sub_workflows(); - static const int kSubWorkflowsFieldNumber = 2; - ::flyteidl::core::CompiledWorkflow* mutable_sub_workflows(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledWorkflow >* - mutable_sub_workflows(); - const ::flyteidl::core::CompiledWorkflow& sub_workflows(int index) const; - ::flyteidl::core::CompiledWorkflow* add_sub_workflows(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledWorkflow >& - sub_workflows() const; - - // repeated .flyteidl.core.CompiledTask tasks = 3; - int tasks_size() const; - void clear_tasks(); - static const int kTasksFieldNumber = 3; - ::flyteidl::core::CompiledTask* mutable_tasks(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledTask >* - mutable_tasks(); - const ::flyteidl::core::CompiledTask& tasks(int index) const; - ::flyteidl::core::CompiledTask* add_tasks(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledTask >& - tasks() const; - - // .flyteidl.core.CompiledWorkflow primary = 1; - bool has_primary() const; - void clear_primary(); - static const int kPrimaryFieldNumber = 1; - const ::flyteidl::core::CompiledWorkflow& primary() const; - ::flyteidl::core::CompiledWorkflow* release_primary(); - ::flyteidl::core::CompiledWorkflow* mutable_primary(); - void set_allocated_primary(::flyteidl::core::CompiledWorkflow* primary); - - // @@protoc_insertion_point(class_scope:flyteidl.core.CompiledWorkflowClosure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledWorkflow > sub_workflows_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledTask > tasks_; - ::flyteidl::core::CompiledWorkflow* primary_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcompiler_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ConnectionSet_IdList - -// repeated string ids = 1; -inline int ConnectionSet_IdList::ids_size() const { - return ids_.size(); -} -inline void ConnectionSet_IdList::clear_ids() { - ids_.Clear(); -} -inline const ::std::string& ConnectionSet_IdList::ids(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.ConnectionSet.IdList.ids) - return ids_.Get(index); -} -inline ::std::string* ConnectionSet_IdList::mutable_ids(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.ConnectionSet.IdList.ids) - return ids_.Mutable(index); -} -inline void ConnectionSet_IdList::set_ids(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.ConnectionSet.IdList.ids) - ids_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void ConnectionSet_IdList::set_ids(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.ConnectionSet.IdList.ids) - ids_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void ConnectionSet_IdList::set_ids(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - ids_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ConnectionSet.IdList.ids) -} -inline void ConnectionSet_IdList::set_ids(int index, const char* value, size_t size) { - ids_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ConnectionSet.IdList.ids) -} -inline ::std::string* ConnectionSet_IdList::add_ids() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.core.ConnectionSet.IdList.ids) - return ids_.Add(); -} -inline void ConnectionSet_IdList::add_ids(const ::std::string& value) { - ids_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.core.ConnectionSet.IdList.ids) -} -#if LANG_CXX11 -inline void ConnectionSet_IdList::add_ids(::std::string&& value) { - ids_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.core.ConnectionSet.IdList.ids) -} -#endif -inline void ConnectionSet_IdList::add_ids(const char* value) { - GOOGLE_DCHECK(value != nullptr); - ids_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.core.ConnectionSet.IdList.ids) -} -inline void ConnectionSet_IdList::add_ids(const char* value, size_t size) { - ids_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.core.ConnectionSet.IdList.ids) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -ConnectionSet_IdList::ids() const { - // @@protoc_insertion_point(field_list:flyteidl.core.ConnectionSet.IdList.ids) - return ids_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -ConnectionSet_IdList::mutable_ids() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.ConnectionSet.IdList.ids) - return &ids_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ConnectionSet - -// map downstream = 7; -inline int ConnectionSet::downstream_size() const { - return downstream_.size(); -} -inline void ConnectionSet::clear_downstream() { - downstream_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >& -ConnectionSet::downstream() const { - // @@protoc_insertion_point(field_map:flyteidl.core.ConnectionSet.downstream) - return downstream_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >* -ConnectionSet::mutable_downstream() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.ConnectionSet.downstream) - return downstream_.MutableMap(); -} - -// map upstream = 8; -inline int ConnectionSet::upstream_size() const { - return upstream_.size(); -} -inline void ConnectionSet::clear_upstream() { - upstream_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >& -ConnectionSet::upstream() const { - // @@protoc_insertion_point(field_map:flyteidl.core.ConnectionSet.upstream) - return upstream_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::ConnectionSet_IdList >* -ConnectionSet::mutable_upstream() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.ConnectionSet.upstream) - return upstream_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// CompiledWorkflow - -// .flyteidl.core.WorkflowTemplate template = 1; -inline bool CompiledWorkflow::has_template_() const { - return this != internal_default_instance() && template__ != nullptr; -} -inline const ::flyteidl::core::WorkflowTemplate& CompiledWorkflow::template_() const { - const ::flyteidl::core::WorkflowTemplate* p = template__; - // @@protoc_insertion_point(field_get:flyteidl.core.CompiledWorkflow.template) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowTemplate_default_instance_); -} -inline ::flyteidl::core::WorkflowTemplate* CompiledWorkflow::release_template_() { - // @@protoc_insertion_point(field_release:flyteidl.core.CompiledWorkflow.template) - - ::flyteidl::core::WorkflowTemplate* temp = template__; - template__ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowTemplate* CompiledWorkflow::mutable_template_() { - - if (template__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowTemplate>(GetArenaNoVirtual()); - template__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.CompiledWorkflow.template) - return template__; -} -inline void CompiledWorkflow::set_allocated_template_(::flyteidl::core::WorkflowTemplate* template_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(template__); - } - if (template_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - template_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, template_, submessage_arena); - } - - } else { - - } - template__ = template_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CompiledWorkflow.template) -} - -// .flyteidl.core.ConnectionSet connections = 2; -inline bool CompiledWorkflow::has_connections() const { - return this != internal_default_instance() && connections_ != nullptr; -} -inline void CompiledWorkflow::clear_connections() { - if (GetArenaNoVirtual() == nullptr && connections_ != nullptr) { - delete connections_; - } - connections_ = nullptr; -} -inline const ::flyteidl::core::ConnectionSet& CompiledWorkflow::connections() const { - const ::flyteidl::core::ConnectionSet* p = connections_; - // @@protoc_insertion_point(field_get:flyteidl.core.CompiledWorkflow.connections) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ConnectionSet_default_instance_); -} -inline ::flyteidl::core::ConnectionSet* CompiledWorkflow::release_connections() { - // @@protoc_insertion_point(field_release:flyteidl.core.CompiledWorkflow.connections) - - ::flyteidl::core::ConnectionSet* temp = connections_; - connections_ = nullptr; - return temp; -} -inline ::flyteidl::core::ConnectionSet* CompiledWorkflow::mutable_connections() { - - if (connections_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ConnectionSet>(GetArenaNoVirtual()); - connections_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.CompiledWorkflow.connections) - return connections_; -} -inline void CompiledWorkflow::set_allocated_connections(::flyteidl::core::ConnectionSet* connections) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete connections_; - } - if (connections) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - connections = ::google::protobuf::internal::GetOwnedMessage( - message_arena, connections, submessage_arena); - } - - } else { - - } - connections_ = connections; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CompiledWorkflow.connections) -} - -// ------------------------------------------------------------------- - -// CompiledTask - -// .flyteidl.core.TaskTemplate template = 1; -inline bool CompiledTask::has_template_() const { - return this != internal_default_instance() && template__ != nullptr; -} -inline const ::flyteidl::core::TaskTemplate& CompiledTask::template_() const { - const ::flyteidl::core::TaskTemplate* p = template__; - // @@protoc_insertion_point(field_get:flyteidl.core.CompiledTask.template) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskTemplate_default_instance_); -} -inline ::flyteidl::core::TaskTemplate* CompiledTask::release_template_() { - // @@protoc_insertion_point(field_release:flyteidl.core.CompiledTask.template) - - ::flyteidl::core::TaskTemplate* temp = template__; - template__ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskTemplate* CompiledTask::mutable_template_() { - - if (template__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskTemplate>(GetArenaNoVirtual()); - template__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.CompiledTask.template) - return template__; -} -inline void CompiledTask::set_allocated_template_(::flyteidl::core::TaskTemplate* template_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(template__); - } - if (template_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - template_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, template_, submessage_arena); - } - - } else { - - } - template__ = template_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CompiledTask.template) -} - -// ------------------------------------------------------------------- - -// CompiledWorkflowClosure - -// .flyteidl.core.CompiledWorkflow primary = 1; -inline bool CompiledWorkflowClosure::has_primary() const { - return this != internal_default_instance() && primary_ != nullptr; -} -inline void CompiledWorkflowClosure::clear_primary() { - if (GetArenaNoVirtual() == nullptr && primary_ != nullptr) { - delete primary_; - } - primary_ = nullptr; -} -inline const ::flyteidl::core::CompiledWorkflow& CompiledWorkflowClosure::primary() const { - const ::flyteidl::core::CompiledWorkflow* p = primary_; - // @@protoc_insertion_point(field_get:flyteidl.core.CompiledWorkflowClosure.primary) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CompiledWorkflow_default_instance_); -} -inline ::flyteidl::core::CompiledWorkflow* CompiledWorkflowClosure::release_primary() { - // @@protoc_insertion_point(field_release:flyteidl.core.CompiledWorkflowClosure.primary) - - ::flyteidl::core::CompiledWorkflow* temp = primary_; - primary_ = nullptr; - return temp; -} -inline ::flyteidl::core::CompiledWorkflow* CompiledWorkflowClosure::mutable_primary() { - - if (primary_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CompiledWorkflow>(GetArenaNoVirtual()); - primary_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.CompiledWorkflowClosure.primary) - return primary_; -} -inline void CompiledWorkflowClosure::set_allocated_primary(::flyteidl::core::CompiledWorkflow* primary) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete primary_; - } - if (primary) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - primary = ::google::protobuf::internal::GetOwnedMessage( - message_arena, primary, submessage_arena); - } - - } else { - - } - primary_ = primary; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CompiledWorkflowClosure.primary) -} - -// repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; -inline int CompiledWorkflowClosure::sub_workflows_size() const { - return sub_workflows_.size(); -} -inline void CompiledWorkflowClosure::clear_sub_workflows() { - sub_workflows_.Clear(); -} -inline ::flyteidl::core::CompiledWorkflow* CompiledWorkflowClosure::mutable_sub_workflows(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.CompiledWorkflowClosure.sub_workflows) - return sub_workflows_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledWorkflow >* -CompiledWorkflowClosure::mutable_sub_workflows() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.CompiledWorkflowClosure.sub_workflows) - return &sub_workflows_; -} -inline const ::flyteidl::core::CompiledWorkflow& CompiledWorkflowClosure::sub_workflows(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.CompiledWorkflowClosure.sub_workflows) - return sub_workflows_.Get(index); -} -inline ::flyteidl::core::CompiledWorkflow* CompiledWorkflowClosure::add_sub_workflows() { - // @@protoc_insertion_point(field_add:flyteidl.core.CompiledWorkflowClosure.sub_workflows) - return sub_workflows_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledWorkflow >& -CompiledWorkflowClosure::sub_workflows() const { - // @@protoc_insertion_point(field_list:flyteidl.core.CompiledWorkflowClosure.sub_workflows) - return sub_workflows_; -} - -// repeated .flyteidl.core.CompiledTask tasks = 3; -inline int CompiledWorkflowClosure::tasks_size() const { - return tasks_.size(); -} -inline void CompiledWorkflowClosure::clear_tasks() { - tasks_.Clear(); -} -inline ::flyteidl::core::CompiledTask* CompiledWorkflowClosure::mutable_tasks(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.CompiledWorkflowClosure.tasks) - return tasks_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledTask >* -CompiledWorkflowClosure::mutable_tasks() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.CompiledWorkflowClosure.tasks) - return &tasks_; -} -inline const ::flyteidl::core::CompiledTask& CompiledWorkflowClosure::tasks(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.CompiledWorkflowClosure.tasks) - return tasks_.Get(index); -} -inline ::flyteidl::core::CompiledTask* CompiledWorkflowClosure::add_tasks() { - // @@protoc_insertion_point(field_add:flyteidl.core.CompiledWorkflowClosure.tasks) - return tasks_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CompiledTask >& -CompiledWorkflowClosure::tasks() const { - // @@protoc_insertion_point(field_list:flyteidl.core.CompiledWorkflowClosure.tasks) - return tasks_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fcompiler_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/condition.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/condition.grpc.pb.cc deleted file mode 100644 index b549057d69..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/condition.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/condition.proto - -#include "flyteidl/core/condition.pb.h" -#include "flyteidl/core/condition.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/condition.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/condition.grpc.pb.h deleted file mode 100644 index d0c0d08f32..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/condition.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/condition.proto -#ifndef GRPC_flyteidl_2fcore_2fcondition_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fcondition_2eproto__INCLUDED - -#include "flyteidl/core/condition.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fcondition_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc deleted file mode 100644 index e3d506cdf1..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc +++ /dev/null @@ -1,1995 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/condition.proto - -#include "flyteidl/core/condition.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ComparisonExpression_flyteidl_2fcore_2fcondition_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Operand_flyteidl_2fcore_2fcondition_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto; -namespace flyteidl { -namespace core { -class ComparisonExpressionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ComparisonExpression_default_instance_; -class OperandDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Primitive* primitive_; - ::google::protobuf::internal::ArenaStringPtr var_; - const ::flyteidl::core::Scalar* scalar_; -} _Operand_default_instance_; -class BooleanExpressionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::ConjunctionExpression* conjunction_; - const ::flyteidl::core::ComparisonExpression* comparison_; -} _BooleanExpression_default_instance_; -class ConjunctionExpressionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ConjunctionExpression_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsComparisonExpression_flyteidl_2fcore_2fcondition_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ComparisonExpression_default_instance_; - new (ptr) ::flyteidl::core::ComparisonExpression(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ComparisonExpression::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ComparisonExpression_flyteidl_2fcore_2fcondition_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsComparisonExpression_flyteidl_2fcore_2fcondition_2eproto}, { - &scc_info_Operand_flyteidl_2fcore_2fcondition_2eproto.base,}}; - -static void InitDefaultsOperand_flyteidl_2fcore_2fcondition_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Operand_default_instance_; - new (ptr) ::flyteidl::core::Operand(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Operand::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Operand_flyteidl_2fcore_2fcondition_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsOperand_flyteidl_2fcore_2fcondition_2eproto}, { - &scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsBooleanExpression_flyteidl_2fcore_2fcondition_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_BooleanExpression_default_instance_; - new (ptr) ::flyteidl::core::BooleanExpression(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_ConjunctionExpression_default_instance_; - new (ptr) ::flyteidl::core::ConjunctionExpression(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::BooleanExpression::InitAsDefaultInstance(); - ::flyteidl::core::ConjunctionExpression::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsBooleanExpression_flyteidl_2fcore_2fcondition_2eproto}, { - &scc_info_ComparisonExpression_flyteidl_2fcore_2fcondition_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fcondition_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ComparisonExpression_flyteidl_2fcore_2fcondition_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Operand_flyteidl_2fcore_2fcondition_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fcondition_2eproto[4]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2fcondition_2eproto[2]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fcondition_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fcondition_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ComparisonExpression, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ComparisonExpression, operator__), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ComparisonExpression, left_value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ComparisonExpression, right_value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Operand, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Operand, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::OperandDefaultTypeInternal, primitive_), - offsetof(::flyteidl::core::OperandDefaultTypeInternal, var_), - offsetof(::flyteidl::core::OperandDefaultTypeInternal, scalar_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Operand, val_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BooleanExpression, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BooleanExpression, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::BooleanExpressionDefaultTypeInternal, conjunction_), - offsetof(::flyteidl::core::BooleanExpressionDefaultTypeInternal, comparison_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BooleanExpression, expr_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConjunctionExpression, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConjunctionExpression, operator__), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConjunctionExpression, left_expression_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ConjunctionExpression, right_expression_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::ComparisonExpression)}, - { 8, -1, sizeof(::flyteidl::core::Operand)}, - { 17, -1, sizeof(::flyteidl::core::BooleanExpression)}, - { 25, -1, sizeof(::flyteidl::core::ConjunctionExpression)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_ComparisonExpression_default_instance_), - reinterpret_cast(&::flyteidl::core::_Operand_default_instance_), - reinterpret_cast(&::flyteidl::core::_BooleanExpression_default_instance_), - reinterpret_cast(&::flyteidl::core::_ConjunctionExpression_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fcondition_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fcondition_2eproto, "flyteidl/core/condition.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fcondition_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fcondition_2eproto, 4, file_level_enum_descriptors_flyteidl_2fcore_2fcondition_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fcondition_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fcondition_2eproto[] = - "\n\035flyteidl/core/condition.proto\022\rflyteid" - "l.core\032\034flyteidl/core/literals.proto\"\356\001\n" - "\024ComparisonExpression\022>\n\010operator\030\001 \001(\0162" - ",.flyteidl.core.ComparisonExpression.Ope" - "rator\022*\n\nleft_value\030\002 \001(\0132\026.flyteidl.cor" - "e.Operand\022+\n\013right_value\030\003 \001(\0132\026.flyteid" - "l.core.Operand\"=\n\010Operator\022\006\n\002EQ\020\000\022\007\n\003NE" - "Q\020\001\022\006\n\002GT\020\002\022\007\n\003GTE\020\003\022\006\n\002LT\020\004\022\007\n\003LTE\020\005\"{\n" - "\007Operand\0221\n\tprimitive\030\001 \001(\0132\030.flyteidl.c" - "ore.PrimitiveB\002\030\001H\000\022\r\n\003var\030\002 \001(\tH\000\022\'\n\006sc" - "alar\030\003 \001(\0132\025.flyteidl.core.ScalarH\000B\005\n\003v" - "al\"\223\001\n\021BooleanExpression\022;\n\013conjunction\030" - "\001 \001(\0132$.flyteidl.core.ConjunctionExpress" - "ionH\000\0229\n\ncomparison\030\002 \001(\0132#.flyteidl.cor" - "e.ComparisonExpressionH\000B\006\n\004expr\"\372\001\n\025Con" - "junctionExpression\022F\n\010operator\030\001 \001(\01624.f" - "lyteidl.core.ConjunctionExpression.Logic" - "alOperator\0229\n\017left_expression\030\002 \001(\0132 .fl" - "yteidl.core.BooleanExpression\022:\n\020right_e" - "xpression\030\003 \001(\0132 .flyteidl.core.BooleanE" - "xpression\"\"\n\017LogicalOperator\022\007\n\003AND\020\000\022\006\n" - "\002OR\020\001B= 1900 -const ComparisonExpression_Operator ComparisonExpression::EQ; -const ComparisonExpression_Operator ComparisonExpression::NEQ; -const ComparisonExpression_Operator ComparisonExpression::GT; -const ComparisonExpression_Operator ComparisonExpression::GTE; -const ComparisonExpression_Operator ComparisonExpression::LT; -const ComparisonExpression_Operator ComparisonExpression::LTE; -const ComparisonExpression_Operator ComparisonExpression::Operator_MIN; -const ComparisonExpression_Operator ComparisonExpression::Operator_MAX; -const int ComparisonExpression::Operator_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* ConjunctionExpression_LogicalOperator_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fcondition_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fcondition_2eproto[1]; -} -bool ConjunctionExpression_LogicalOperator_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const ConjunctionExpression_LogicalOperator ConjunctionExpression::AND; -const ConjunctionExpression_LogicalOperator ConjunctionExpression::OR; -const ConjunctionExpression_LogicalOperator ConjunctionExpression::LogicalOperator_MIN; -const ConjunctionExpression_LogicalOperator ConjunctionExpression::LogicalOperator_MAX; -const int ConjunctionExpression::LogicalOperator_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void ComparisonExpression::InitAsDefaultInstance() { - ::flyteidl::core::_ComparisonExpression_default_instance_._instance.get_mutable()->left_value_ = const_cast< ::flyteidl::core::Operand*>( - ::flyteidl::core::Operand::internal_default_instance()); - ::flyteidl::core::_ComparisonExpression_default_instance_._instance.get_mutable()->right_value_ = const_cast< ::flyteidl::core::Operand*>( - ::flyteidl::core::Operand::internal_default_instance()); -} -class ComparisonExpression::HasBitSetters { - public: - static const ::flyteidl::core::Operand& left_value(const ComparisonExpression* msg); - static const ::flyteidl::core::Operand& right_value(const ComparisonExpression* msg); -}; - -const ::flyteidl::core::Operand& -ComparisonExpression::HasBitSetters::left_value(const ComparisonExpression* msg) { - return *msg->left_value_; -} -const ::flyteidl::core::Operand& -ComparisonExpression::HasBitSetters::right_value(const ComparisonExpression* msg) { - return *msg->right_value_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ComparisonExpression::kOperatorFieldNumber; -const int ComparisonExpression::kLeftValueFieldNumber; -const int ComparisonExpression::kRightValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ComparisonExpression::ComparisonExpression() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ComparisonExpression) -} -ComparisonExpression::ComparisonExpression(const ComparisonExpression& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_left_value()) { - left_value_ = new ::flyteidl::core::Operand(*from.left_value_); - } else { - left_value_ = nullptr; - } - if (from.has_right_value()) { - right_value_ = new ::flyteidl::core::Operand(*from.right_value_); - } else { - right_value_ = nullptr; - } - operator__ = from.operator__; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ComparisonExpression) -} - -void ComparisonExpression::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ComparisonExpression_flyteidl_2fcore_2fcondition_2eproto.base); - ::memset(&left_value_, 0, static_cast( - reinterpret_cast(&operator__) - - reinterpret_cast(&left_value_)) + sizeof(operator__)); -} - -ComparisonExpression::~ComparisonExpression() { - // @@protoc_insertion_point(destructor:flyteidl.core.ComparisonExpression) - SharedDtor(); -} - -void ComparisonExpression::SharedDtor() { - if (this != internal_default_instance()) delete left_value_; - if (this != internal_default_instance()) delete right_value_; -} - -void ComparisonExpression::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ComparisonExpression& ComparisonExpression::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ComparisonExpression_flyteidl_2fcore_2fcondition_2eproto.base); - return *internal_default_instance(); -} - - -void ComparisonExpression::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ComparisonExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && left_value_ != nullptr) { - delete left_value_; - } - left_value_ = nullptr; - if (GetArenaNoVirtual() == nullptr && right_value_ != nullptr) { - delete right_value_; - } - right_value_ = nullptr; - operator__ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ComparisonExpression::_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.ComparisonExpression.Operator operator = 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_operator_(static_cast<::flyteidl::core::ComparisonExpression_Operator>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.Operand left_value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Operand::_InternalParse; - object = msg->mutable_left_value(); - 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.Operand right_value = 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::Operand::_InternalParse; - object = msg->mutable_right_value(); - 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 ComparisonExpression::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.ComparisonExpression) - 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.ComparisonExpression.Operator operator = 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_operator_(static_cast< ::flyteidl::core::ComparisonExpression_Operator >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Operand left_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_left_value())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Operand right_value = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_right_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.ComparisonExpression) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ComparisonExpression) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ComparisonExpression::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ComparisonExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ComparisonExpression.Operator operator = 1; - if (this->operator_() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->operator_(), output); - } - - // .flyteidl.core.Operand left_value = 2; - if (this->has_left_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::left_value(this), output); - } - - // .flyteidl.core.Operand right_value = 3; - if (this->has_right_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::right_value(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.ComparisonExpression) -} - -::google::protobuf::uint8* ComparisonExpression::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ComparisonExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ComparisonExpression.Operator operator = 1; - if (this->operator_() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->operator_(), target); - } - - // .flyteidl.core.Operand left_value = 2; - if (this->has_left_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::left_value(this), target); - } - - // .flyteidl.core.Operand right_value = 3; - if (this->has_right_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::right_value(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.ComparisonExpression) - return target; -} - -size_t ComparisonExpression::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ComparisonExpression) - 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.Operand left_value = 2; - if (this->has_left_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *left_value_); - } - - // .flyteidl.core.Operand right_value = 3; - if (this->has_right_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *right_value_); - } - - // .flyteidl.core.ComparisonExpression.Operator operator = 1; - if (this->operator_() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->operator_()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ComparisonExpression::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ComparisonExpression) - GOOGLE_DCHECK_NE(&from, this); - const ComparisonExpression* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ComparisonExpression) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ComparisonExpression) - MergeFrom(*source); - } -} - -void ComparisonExpression::MergeFrom(const ComparisonExpression& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ComparisonExpression) - 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_left_value()) { - mutable_left_value()->::flyteidl::core::Operand::MergeFrom(from.left_value()); - } - if (from.has_right_value()) { - mutable_right_value()->::flyteidl::core::Operand::MergeFrom(from.right_value()); - } - if (from.operator_() != 0) { - set_operator_(from.operator_()); - } -} - -void ComparisonExpression::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ComparisonExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ComparisonExpression::CopyFrom(const ComparisonExpression& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ComparisonExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ComparisonExpression::IsInitialized() const { - return true; -} - -void ComparisonExpression::Swap(ComparisonExpression* other) { - if (other == this) return; - InternalSwap(other); -} -void ComparisonExpression::InternalSwap(ComparisonExpression* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(left_value_, other->left_value_); - swap(right_value_, other->right_value_); - swap(operator__, other->operator__); -} - -::google::protobuf::Metadata ComparisonExpression::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcondition_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcondition_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Operand::InitAsDefaultInstance() { - ::flyteidl::core::_Operand_default_instance_.primitive_ = const_cast< ::flyteidl::core::Primitive*>( - ::flyteidl::core::Primitive::internal_default_instance()); - ::flyteidl::core::_Operand_default_instance_.var_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::core::_Operand_default_instance_.scalar_ = const_cast< ::flyteidl::core::Scalar*>( - ::flyteidl::core::Scalar::internal_default_instance()); -} -class Operand::HasBitSetters { - public: - static const ::flyteidl::core::Primitive& primitive(const Operand* msg); - static const ::flyteidl::core::Scalar& scalar(const Operand* msg); -}; - -const ::flyteidl::core::Primitive& -Operand::HasBitSetters::primitive(const Operand* msg) { - return *msg->val_.primitive_; -} -const ::flyteidl::core::Scalar& -Operand::HasBitSetters::scalar(const Operand* msg) { - return *msg->val_.scalar_; -} -void Operand::set_allocated_primitive(::flyteidl::core::Primitive* primitive) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_val(); - if (primitive) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - primitive = ::google::protobuf::internal::GetOwnedMessage( - message_arena, primitive, submessage_arena); - } - set_has_primitive(); - val_.primitive_ = primitive; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Operand.primitive) -} -void Operand::clear_primitive() { - if (has_primitive()) { - delete val_.primitive_; - clear_has_val(); - } -} -void Operand::set_allocated_scalar(::flyteidl::core::Scalar* scalar) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_val(); - if (scalar) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - scalar = ::google::protobuf::internal::GetOwnedMessage( - message_arena, scalar, submessage_arena); - } - set_has_scalar(); - val_.scalar_ = scalar; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Operand.scalar) -} -void Operand::clear_scalar() { - if (has_scalar()) { - delete val_.scalar_; - clear_has_val(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Operand::kPrimitiveFieldNumber; -const int Operand::kVarFieldNumber; -const int Operand::kScalarFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Operand::Operand() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Operand) -} -Operand::Operand(const Operand& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_val(); - switch (from.val_case()) { - case kPrimitive: { - mutable_primitive()->::flyteidl::core::Primitive::MergeFrom(from.primitive()); - break; - } - case kVar: { - set_var(from.var()); - break; - } - case kScalar: { - mutable_scalar()->::flyteidl::core::Scalar::MergeFrom(from.scalar()); - break; - } - case VAL_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Operand) -} - -void Operand::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Operand_flyteidl_2fcore_2fcondition_2eproto.base); - clear_has_val(); -} - -Operand::~Operand() { - // @@protoc_insertion_point(destructor:flyteidl.core.Operand) - SharedDtor(); -} - -void Operand::SharedDtor() { - if (has_val()) { - clear_val(); - } -} - -void Operand::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Operand& Operand::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Operand_flyteidl_2fcore_2fcondition_2eproto.base); - return *internal_default_instance(); -} - - -void Operand::clear_val() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Operand) - switch (val_case()) { - case kPrimitive: { - delete val_.primitive_; - break; - } - case kVar: { - val_.var_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kScalar: { - delete val_.scalar_; - break; - } - case VAL_NOT_SET: { - break; - } - } - _oneof_case_[0] = VAL_NOT_SET; -} - - -void Operand::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Operand) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_val(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Operand::_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.Primitive primitive = 1 [deprecated = true]; - 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::Primitive::_InternalParse; - object = msg->mutable_primitive(); - 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 var = 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.Operand.var"); - object = msg->mutable_var(); - 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.Scalar scalar = 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::Scalar::_InternalParse; - object = msg->mutable_scalar(); - 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 Operand::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.Operand) - 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.Primitive primitive = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_primitive())); - } else { - goto handle_unusual; - } - break; - } - - // string var = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_var())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Operand.var")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Scalar scalar = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_scalar())); - } 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.Operand) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Operand) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Operand::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Operand) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - if (has_primitive()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::primitive(this), output); - } - - // string var = 2; - if (has_var()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Operand.var"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->var(), output); - } - - // .flyteidl.core.Scalar scalar = 3; - if (has_scalar()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::scalar(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.Operand) -} - -::google::protobuf::uint8* Operand::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Operand) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - if (has_primitive()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::primitive(this), target); - } - - // string var = 2; - if (has_var()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Operand.var"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->var(), target); - } - - // .flyteidl.core.Scalar scalar = 3; - if (has_scalar()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::scalar(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.Operand) - return target; -} - -size_t Operand::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Operand) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (val_case()) { - // .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - case kPrimitive: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *val_.primitive_); - break; - } - // string var = 2; - case kVar: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->var()); - break; - } - // .flyteidl.core.Scalar scalar = 3; - case kScalar: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *val_.scalar_); - break; - } - case VAL_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Operand::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Operand) - GOOGLE_DCHECK_NE(&from, this); - const Operand* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Operand) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Operand) - MergeFrom(*source); - } -} - -void Operand::MergeFrom(const Operand& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Operand) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.val_case()) { - case kPrimitive: { - mutable_primitive()->::flyteidl::core::Primitive::MergeFrom(from.primitive()); - break; - } - case kVar: { - set_var(from.var()); - break; - } - case kScalar: { - mutable_scalar()->::flyteidl::core::Scalar::MergeFrom(from.scalar()); - break; - } - case VAL_NOT_SET: { - break; - } - } -} - -void Operand::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Operand) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Operand::CopyFrom(const Operand& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Operand) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Operand::IsInitialized() const { - return true; -} - -void Operand::Swap(Operand* other) { - if (other == this) return; - InternalSwap(other); -} -void Operand::InternalSwap(Operand* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(val_, other->val_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Operand::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcondition_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcondition_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void BooleanExpression::InitAsDefaultInstance() { - ::flyteidl::core::_BooleanExpression_default_instance_.conjunction_ = const_cast< ::flyteidl::core::ConjunctionExpression*>( - ::flyteidl::core::ConjunctionExpression::internal_default_instance()); - ::flyteidl::core::_BooleanExpression_default_instance_.comparison_ = const_cast< ::flyteidl::core::ComparisonExpression*>( - ::flyteidl::core::ComparisonExpression::internal_default_instance()); -} -class BooleanExpression::HasBitSetters { - public: - static const ::flyteidl::core::ConjunctionExpression& conjunction(const BooleanExpression* msg); - static const ::flyteidl::core::ComparisonExpression& comparison(const BooleanExpression* msg); -}; - -const ::flyteidl::core::ConjunctionExpression& -BooleanExpression::HasBitSetters::conjunction(const BooleanExpression* msg) { - return *msg->expr_.conjunction_; -} -const ::flyteidl::core::ComparisonExpression& -BooleanExpression::HasBitSetters::comparison(const BooleanExpression* msg) { - return *msg->expr_.comparison_; -} -void BooleanExpression::set_allocated_conjunction(::flyteidl::core::ConjunctionExpression* conjunction) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_expr(); - if (conjunction) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - conjunction = ::google::protobuf::internal::GetOwnedMessage( - message_arena, conjunction, submessage_arena); - } - set_has_conjunction(); - expr_.conjunction_ = conjunction; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BooleanExpression.conjunction) -} -void BooleanExpression::set_allocated_comparison(::flyteidl::core::ComparisonExpression* comparison) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_expr(); - if (comparison) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - comparison = ::google::protobuf::internal::GetOwnedMessage( - message_arena, comparison, submessage_arena); - } - set_has_comparison(); - expr_.comparison_ = comparison; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BooleanExpression.comparison) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BooleanExpression::kConjunctionFieldNumber; -const int BooleanExpression::kComparisonFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BooleanExpression::BooleanExpression() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.BooleanExpression) -} -BooleanExpression::BooleanExpression(const BooleanExpression& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_expr(); - switch (from.expr_case()) { - case kConjunction: { - mutable_conjunction()->::flyteidl::core::ConjunctionExpression::MergeFrom(from.conjunction()); - break; - } - case kComparison: { - mutable_comparison()->::flyteidl::core::ComparisonExpression::MergeFrom(from.comparison()); - break; - } - case EXPR_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.BooleanExpression) -} - -void BooleanExpression::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto.base); - clear_has_expr(); -} - -BooleanExpression::~BooleanExpression() { - // @@protoc_insertion_point(destructor:flyteidl.core.BooleanExpression) - SharedDtor(); -} - -void BooleanExpression::SharedDtor() { - if (has_expr()) { - clear_expr(); - } -} - -void BooleanExpression::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const BooleanExpression& BooleanExpression::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto.base); - return *internal_default_instance(); -} - - -void BooleanExpression::clear_expr() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.BooleanExpression) - switch (expr_case()) { - case kConjunction: { - delete expr_.conjunction_; - break; - } - case kComparison: { - delete expr_.comparison_; - break; - } - case EXPR_NOT_SET: { - break; - } - } - _oneof_case_[0] = EXPR_NOT_SET; -} - - -void BooleanExpression::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.BooleanExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_expr(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* BooleanExpression::_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.ConjunctionExpression conjunction = 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::ConjunctionExpression::_InternalParse; - object = msg->mutable_conjunction(); - 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.ComparisonExpression comparison = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ComparisonExpression::_InternalParse; - object = msg->mutable_comparison(); - 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 BooleanExpression::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.BooleanExpression) - 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.ConjunctionExpression conjunction = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_conjunction())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ComparisonExpression comparison = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_comparison())); - } 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.BooleanExpression) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.BooleanExpression) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void BooleanExpression::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.BooleanExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ConjunctionExpression conjunction = 1; - if (has_conjunction()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::conjunction(this), output); - } - - // .flyteidl.core.ComparisonExpression comparison = 2; - if (has_comparison()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::comparison(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.BooleanExpression) -} - -::google::protobuf::uint8* BooleanExpression::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.BooleanExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ConjunctionExpression conjunction = 1; - if (has_conjunction()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::conjunction(this), target); - } - - // .flyteidl.core.ComparisonExpression comparison = 2; - if (has_comparison()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::comparison(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.BooleanExpression) - return target; -} - -size_t BooleanExpression::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.BooleanExpression) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (expr_case()) { - // .flyteidl.core.ConjunctionExpression conjunction = 1; - case kConjunction: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expr_.conjunction_); - break; - } - // .flyteidl.core.ComparisonExpression comparison = 2; - case kComparison: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expr_.comparison_); - break; - } - case EXPR_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void BooleanExpression::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.BooleanExpression) - GOOGLE_DCHECK_NE(&from, this); - const BooleanExpression* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.BooleanExpression) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.BooleanExpression) - MergeFrom(*source); - } -} - -void BooleanExpression::MergeFrom(const BooleanExpression& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.BooleanExpression) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.expr_case()) { - case kConjunction: { - mutable_conjunction()->::flyteidl::core::ConjunctionExpression::MergeFrom(from.conjunction()); - break; - } - case kComparison: { - mutable_comparison()->::flyteidl::core::ComparisonExpression::MergeFrom(from.comparison()); - break; - } - case EXPR_NOT_SET: { - break; - } - } -} - -void BooleanExpression::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.BooleanExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BooleanExpression::CopyFrom(const BooleanExpression& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.BooleanExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BooleanExpression::IsInitialized() const { - return true; -} - -void BooleanExpression::Swap(BooleanExpression* other) { - if (other == this) return; - InternalSwap(other); -} -void BooleanExpression::InternalSwap(BooleanExpression* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(expr_, other->expr_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata BooleanExpression::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcondition_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcondition_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ConjunctionExpression::InitAsDefaultInstance() { - ::flyteidl::core::_ConjunctionExpression_default_instance_._instance.get_mutable()->left_expression_ = const_cast< ::flyteidl::core::BooleanExpression*>( - ::flyteidl::core::BooleanExpression::internal_default_instance()); - ::flyteidl::core::_ConjunctionExpression_default_instance_._instance.get_mutable()->right_expression_ = const_cast< ::flyteidl::core::BooleanExpression*>( - ::flyteidl::core::BooleanExpression::internal_default_instance()); -} -class ConjunctionExpression::HasBitSetters { - public: - static const ::flyteidl::core::BooleanExpression& left_expression(const ConjunctionExpression* msg); - static const ::flyteidl::core::BooleanExpression& right_expression(const ConjunctionExpression* msg); -}; - -const ::flyteidl::core::BooleanExpression& -ConjunctionExpression::HasBitSetters::left_expression(const ConjunctionExpression* msg) { - return *msg->left_expression_; -} -const ::flyteidl::core::BooleanExpression& -ConjunctionExpression::HasBitSetters::right_expression(const ConjunctionExpression* msg) { - return *msg->right_expression_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ConjunctionExpression::kOperatorFieldNumber; -const int ConjunctionExpression::kLeftExpressionFieldNumber; -const int ConjunctionExpression::kRightExpressionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ConjunctionExpression::ConjunctionExpression() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ConjunctionExpression) -} -ConjunctionExpression::ConjunctionExpression(const ConjunctionExpression& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_left_expression()) { - left_expression_ = new ::flyteidl::core::BooleanExpression(*from.left_expression_); - } else { - left_expression_ = nullptr; - } - if (from.has_right_expression()) { - right_expression_ = new ::flyteidl::core::BooleanExpression(*from.right_expression_); - } else { - right_expression_ = nullptr; - } - operator__ = from.operator__; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ConjunctionExpression) -} - -void ConjunctionExpression::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto.base); - ::memset(&left_expression_, 0, static_cast( - reinterpret_cast(&operator__) - - reinterpret_cast(&left_expression_)) + sizeof(operator__)); -} - -ConjunctionExpression::~ConjunctionExpression() { - // @@protoc_insertion_point(destructor:flyteidl.core.ConjunctionExpression) - SharedDtor(); -} - -void ConjunctionExpression::SharedDtor() { - if (this != internal_default_instance()) delete left_expression_; - if (this != internal_default_instance()) delete right_expression_; -} - -void ConjunctionExpression::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ConjunctionExpression& ConjunctionExpression::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto.base); - return *internal_default_instance(); -} - - -void ConjunctionExpression::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ConjunctionExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && left_expression_ != nullptr) { - delete left_expression_; - } - left_expression_ = nullptr; - if (GetArenaNoVirtual() == nullptr && right_expression_ != nullptr) { - delete right_expression_; - } - right_expression_ = nullptr; - operator__ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ConjunctionExpression::_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.ConjunctionExpression.LogicalOperator operator = 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_operator_(static_cast<::flyteidl::core::ConjunctionExpression_LogicalOperator>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.BooleanExpression left_expression = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::BooleanExpression::_InternalParse; - object = msg->mutable_left_expression(); - 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.BooleanExpression right_expression = 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::BooleanExpression::_InternalParse; - object = msg->mutable_right_expression(); - 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 ConjunctionExpression::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.ConjunctionExpression) - 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.ConjunctionExpression.LogicalOperator operator = 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_operator_(static_cast< ::flyteidl::core::ConjunctionExpression_LogicalOperator >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BooleanExpression left_expression = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_left_expression())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BooleanExpression right_expression = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_right_expression())); - } 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.ConjunctionExpression) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ConjunctionExpression) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ConjunctionExpression::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ConjunctionExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - if (this->operator_() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->operator_(), output); - } - - // .flyteidl.core.BooleanExpression left_expression = 2; - if (this->has_left_expression()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::left_expression(this), output); - } - - // .flyteidl.core.BooleanExpression right_expression = 3; - if (this->has_right_expression()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::right_expression(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.ConjunctionExpression) -} - -::google::protobuf::uint8* ConjunctionExpression::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ConjunctionExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - if (this->operator_() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->operator_(), target); - } - - // .flyteidl.core.BooleanExpression left_expression = 2; - if (this->has_left_expression()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::left_expression(this), target); - } - - // .flyteidl.core.BooleanExpression right_expression = 3; - if (this->has_right_expression()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::right_expression(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.ConjunctionExpression) - return target; -} - -size_t ConjunctionExpression::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ConjunctionExpression) - 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.BooleanExpression left_expression = 2; - if (this->has_left_expression()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *left_expression_); - } - - // .flyteidl.core.BooleanExpression right_expression = 3; - if (this->has_right_expression()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *right_expression_); - } - - // .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - if (this->operator_() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->operator_()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ConjunctionExpression::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ConjunctionExpression) - GOOGLE_DCHECK_NE(&from, this); - const ConjunctionExpression* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ConjunctionExpression) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ConjunctionExpression) - MergeFrom(*source); - } -} - -void ConjunctionExpression::MergeFrom(const ConjunctionExpression& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ConjunctionExpression) - 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_left_expression()) { - mutable_left_expression()->::flyteidl::core::BooleanExpression::MergeFrom(from.left_expression()); - } - if (from.has_right_expression()) { - mutable_right_expression()->::flyteidl::core::BooleanExpression::MergeFrom(from.right_expression()); - } - if (from.operator_() != 0) { - set_operator_(from.operator_()); - } -} - -void ConjunctionExpression::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ConjunctionExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ConjunctionExpression::CopyFrom(const ConjunctionExpression& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ConjunctionExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ConjunctionExpression::IsInitialized() const { - return true; -} - -void ConjunctionExpression::Swap(ConjunctionExpression* other) { - if (other == this) return; - InternalSwap(other); -} -void ConjunctionExpression::InternalSwap(ConjunctionExpression* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(left_expression_, other->left_expression_); - swap(right_expression_, other->right_expression_); - swap(operator__, other->operator__); -} - -::google::protobuf::Metadata ConjunctionExpression::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fcondition_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fcondition_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::ComparisonExpression* Arena::CreateMaybeMessage< ::flyteidl::core::ComparisonExpression >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ComparisonExpression >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Operand* Arena::CreateMaybeMessage< ::flyteidl::core::Operand >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Operand >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BooleanExpression* Arena::CreateMaybeMessage< ::flyteidl::core::BooleanExpression >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BooleanExpression >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ConjunctionExpression* Arena::CreateMaybeMessage< ::flyteidl::core::ConjunctionExpression >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ConjunctionExpression >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.h deleted file mode 100644 index d90d75750e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.h +++ /dev/null @@ -1,1308 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/condition.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fcondition_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fcondition_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 -#include "flyteidl/core/literals.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fcondition_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[4] - 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_2fcore_2fcondition_2eproto(); -namespace flyteidl { -namespace core { -class BooleanExpression; -class BooleanExpressionDefaultTypeInternal; -extern BooleanExpressionDefaultTypeInternal _BooleanExpression_default_instance_; -class ComparisonExpression; -class ComparisonExpressionDefaultTypeInternal; -extern ComparisonExpressionDefaultTypeInternal _ComparisonExpression_default_instance_; -class ConjunctionExpression; -class ConjunctionExpressionDefaultTypeInternal; -extern ConjunctionExpressionDefaultTypeInternal _ConjunctionExpression_default_instance_; -class Operand; -class OperandDefaultTypeInternal; -extern OperandDefaultTypeInternal _Operand_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::BooleanExpression* Arena::CreateMaybeMessage<::flyteidl::core::BooleanExpression>(Arena*); -template<> ::flyteidl::core::ComparisonExpression* Arena::CreateMaybeMessage<::flyteidl::core::ComparisonExpression>(Arena*); -template<> ::flyteidl::core::ConjunctionExpression* Arena::CreateMaybeMessage<::flyteidl::core::ConjunctionExpression>(Arena*); -template<> ::flyteidl::core::Operand* Arena::CreateMaybeMessage<::flyteidl::core::Operand>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum ComparisonExpression_Operator { - ComparisonExpression_Operator_EQ = 0, - ComparisonExpression_Operator_NEQ = 1, - ComparisonExpression_Operator_GT = 2, - ComparisonExpression_Operator_GTE = 3, - ComparisonExpression_Operator_LT = 4, - ComparisonExpression_Operator_LTE = 5, - ComparisonExpression_Operator_ComparisonExpression_Operator_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ComparisonExpression_Operator_ComparisonExpression_Operator_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ComparisonExpression_Operator_IsValid(int value); -const ComparisonExpression_Operator ComparisonExpression_Operator_Operator_MIN = ComparisonExpression_Operator_EQ; -const ComparisonExpression_Operator ComparisonExpression_Operator_Operator_MAX = ComparisonExpression_Operator_LTE; -const int ComparisonExpression_Operator_Operator_ARRAYSIZE = ComparisonExpression_Operator_Operator_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ComparisonExpression_Operator_descriptor(); -inline const ::std::string& ComparisonExpression_Operator_Name(ComparisonExpression_Operator value) { - return ::google::protobuf::internal::NameOfEnum( - ComparisonExpression_Operator_descriptor(), value); -} -inline bool ComparisonExpression_Operator_Parse( - const ::std::string& name, ComparisonExpression_Operator* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ComparisonExpression_Operator_descriptor(), name, value); -} -enum ConjunctionExpression_LogicalOperator { - ConjunctionExpression_LogicalOperator_AND = 0, - ConjunctionExpression_LogicalOperator_OR = 1, - ConjunctionExpression_LogicalOperator_ConjunctionExpression_LogicalOperator_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ConjunctionExpression_LogicalOperator_ConjunctionExpression_LogicalOperator_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ConjunctionExpression_LogicalOperator_IsValid(int value); -const ConjunctionExpression_LogicalOperator ConjunctionExpression_LogicalOperator_LogicalOperator_MIN = ConjunctionExpression_LogicalOperator_AND; -const ConjunctionExpression_LogicalOperator ConjunctionExpression_LogicalOperator_LogicalOperator_MAX = ConjunctionExpression_LogicalOperator_OR; -const int ConjunctionExpression_LogicalOperator_LogicalOperator_ARRAYSIZE = ConjunctionExpression_LogicalOperator_LogicalOperator_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ConjunctionExpression_LogicalOperator_descriptor(); -inline const ::std::string& ConjunctionExpression_LogicalOperator_Name(ConjunctionExpression_LogicalOperator value) { - return ::google::protobuf::internal::NameOfEnum( - ConjunctionExpression_LogicalOperator_descriptor(), value); -} -inline bool ConjunctionExpression_LogicalOperator_Parse( - const ::std::string& name, ConjunctionExpression_LogicalOperator* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ConjunctionExpression_LogicalOperator_descriptor(), name, value); -} -// =================================================================== - -class ComparisonExpression final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ComparisonExpression) */ { - public: - ComparisonExpression(); - virtual ~ComparisonExpression(); - - ComparisonExpression(const ComparisonExpression& from); - - inline ComparisonExpression& operator=(const ComparisonExpression& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ComparisonExpression(ComparisonExpression&& from) noexcept - : ComparisonExpression() { - *this = ::std::move(from); - } - - inline ComparisonExpression& operator=(ComparisonExpression&& 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 ComparisonExpression& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ComparisonExpression* internal_default_instance() { - return reinterpret_cast( - &_ComparisonExpression_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ComparisonExpression* other); - friend void swap(ComparisonExpression& a, ComparisonExpression& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ComparisonExpression* New() const final { - return CreateMaybeMessage(nullptr); - } - - ComparisonExpression* 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 ComparisonExpression& from); - void MergeFrom(const ComparisonExpression& 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(ComparisonExpression* 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 ComparisonExpression_Operator Operator; - static const Operator EQ = - ComparisonExpression_Operator_EQ; - static const Operator NEQ = - ComparisonExpression_Operator_NEQ; - static const Operator GT = - ComparisonExpression_Operator_GT; - static const Operator GTE = - ComparisonExpression_Operator_GTE; - static const Operator LT = - ComparisonExpression_Operator_LT; - static const Operator LTE = - ComparisonExpression_Operator_LTE; - static inline bool Operator_IsValid(int value) { - return ComparisonExpression_Operator_IsValid(value); - } - static const Operator Operator_MIN = - ComparisonExpression_Operator_Operator_MIN; - static const Operator Operator_MAX = - ComparisonExpression_Operator_Operator_MAX; - static const int Operator_ARRAYSIZE = - ComparisonExpression_Operator_Operator_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Operator_descriptor() { - return ComparisonExpression_Operator_descriptor(); - } - static inline const ::std::string& Operator_Name(Operator value) { - return ComparisonExpression_Operator_Name(value); - } - static inline bool Operator_Parse(const ::std::string& name, - Operator* value) { - return ComparisonExpression_Operator_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // .flyteidl.core.Operand left_value = 2; - bool has_left_value() const; - void clear_left_value(); - static const int kLeftValueFieldNumber = 2; - const ::flyteidl::core::Operand& left_value() const; - ::flyteidl::core::Operand* release_left_value(); - ::flyteidl::core::Operand* mutable_left_value(); - void set_allocated_left_value(::flyteidl::core::Operand* left_value); - - // .flyteidl.core.Operand right_value = 3; - bool has_right_value() const; - void clear_right_value(); - static const int kRightValueFieldNumber = 3; - const ::flyteidl::core::Operand& right_value() const; - ::flyteidl::core::Operand* release_right_value(); - ::flyteidl::core::Operand* mutable_right_value(); - void set_allocated_right_value(::flyteidl::core::Operand* right_value); - - // .flyteidl.core.ComparisonExpression.Operator operator = 1; - void clear_operator_(); - static const int kOperatorFieldNumber = 1; - ::flyteidl::core::ComparisonExpression_Operator operator_() const; - void set_operator_(::flyteidl::core::ComparisonExpression_Operator value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ComparisonExpression) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Operand* left_value_; - ::flyteidl::core::Operand* right_value_; - int operator__; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcondition_2eproto; -}; -// ------------------------------------------------------------------- - -class Operand final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Operand) */ { - public: - Operand(); - virtual ~Operand(); - - Operand(const Operand& from); - - inline Operand& operator=(const Operand& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Operand(Operand&& from) noexcept - : Operand() { - *this = ::std::move(from); - } - - inline Operand& operator=(Operand&& 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 Operand& default_instance(); - - enum ValCase { - kPrimitive = 1, - kVar = 2, - kScalar = 3, - VAL_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Operand* internal_default_instance() { - return reinterpret_cast( - &_Operand_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(Operand* other); - friend void swap(Operand& a, Operand& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Operand* New() const final { - return CreateMaybeMessage(nullptr); - } - - Operand* 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 Operand& from); - void MergeFrom(const Operand& 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(Operand* 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.Primitive primitive = 1 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_primitive() const; - PROTOBUF_DEPRECATED void clear_primitive(); - PROTOBUF_DEPRECATED static const int kPrimitiveFieldNumber = 1; - PROTOBUF_DEPRECATED const ::flyteidl::core::Primitive& primitive() const; - PROTOBUF_DEPRECATED ::flyteidl::core::Primitive* release_primitive(); - PROTOBUF_DEPRECATED ::flyteidl::core::Primitive* mutable_primitive(); - PROTOBUF_DEPRECATED void set_allocated_primitive(::flyteidl::core::Primitive* primitive); - - // string var = 2; - private: - bool has_var() const; - public: - void clear_var(); - static const int kVarFieldNumber = 2; - const ::std::string& var() const; - void set_var(const ::std::string& value); - #if LANG_CXX11 - void set_var(::std::string&& value); - #endif - void set_var(const char* value); - void set_var(const char* value, size_t size); - ::std::string* mutable_var(); - ::std::string* release_var(); - void set_allocated_var(::std::string* var); - - // .flyteidl.core.Scalar scalar = 3; - bool has_scalar() const; - void clear_scalar(); - static const int kScalarFieldNumber = 3; - const ::flyteidl::core::Scalar& scalar() const; - ::flyteidl::core::Scalar* release_scalar(); - ::flyteidl::core::Scalar* mutable_scalar(); - void set_allocated_scalar(::flyteidl::core::Scalar* scalar); - - void clear_val(); - ValCase val_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.Operand) - private: - class HasBitSetters; - void set_has_primitive(); - void set_has_var(); - void set_has_scalar(); - - inline bool has_val() const; - inline void clear_has_val(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ValUnion { - ValUnion() {} - ::flyteidl::core::Primitive* primitive_; - ::google::protobuf::internal::ArenaStringPtr var_; - ::flyteidl::core::Scalar* scalar_; - } val_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fcondition_2eproto; -}; -// ------------------------------------------------------------------- - -class BooleanExpression final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.BooleanExpression) */ { - public: - BooleanExpression(); - virtual ~BooleanExpression(); - - BooleanExpression(const BooleanExpression& from); - - inline BooleanExpression& operator=(const BooleanExpression& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BooleanExpression(BooleanExpression&& from) noexcept - : BooleanExpression() { - *this = ::std::move(from); - } - - inline BooleanExpression& operator=(BooleanExpression&& 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 BooleanExpression& default_instance(); - - enum ExprCase { - kConjunction = 1, - kComparison = 2, - EXPR_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BooleanExpression* internal_default_instance() { - return reinterpret_cast( - &_BooleanExpression_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(BooleanExpression* other); - friend void swap(BooleanExpression& a, BooleanExpression& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BooleanExpression* New() const final { - return CreateMaybeMessage(nullptr); - } - - BooleanExpression* 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 BooleanExpression& from); - void MergeFrom(const BooleanExpression& 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(BooleanExpression* 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.ConjunctionExpression conjunction = 1; - bool has_conjunction() const; - void clear_conjunction(); - static const int kConjunctionFieldNumber = 1; - const ::flyteidl::core::ConjunctionExpression& conjunction() const; - ::flyteidl::core::ConjunctionExpression* release_conjunction(); - ::flyteidl::core::ConjunctionExpression* mutable_conjunction(); - void set_allocated_conjunction(::flyteidl::core::ConjunctionExpression* conjunction); - - // .flyteidl.core.ComparisonExpression comparison = 2; - bool has_comparison() const; - void clear_comparison(); - static const int kComparisonFieldNumber = 2; - const ::flyteidl::core::ComparisonExpression& comparison() const; - ::flyteidl::core::ComparisonExpression* release_comparison(); - ::flyteidl::core::ComparisonExpression* mutable_comparison(); - void set_allocated_comparison(::flyteidl::core::ComparisonExpression* comparison); - - void clear_expr(); - ExprCase expr_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.BooleanExpression) - private: - class HasBitSetters; - void set_has_conjunction(); - void set_has_comparison(); - - inline bool has_expr() const; - inline void clear_has_expr(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ExprUnion { - ExprUnion() {} - ::flyteidl::core::ConjunctionExpression* conjunction_; - ::flyteidl::core::ComparisonExpression* comparison_; - } expr_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fcondition_2eproto; -}; -// ------------------------------------------------------------------- - -class ConjunctionExpression final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ConjunctionExpression) */ { - public: - ConjunctionExpression(); - virtual ~ConjunctionExpression(); - - ConjunctionExpression(const ConjunctionExpression& from); - - inline ConjunctionExpression& operator=(const ConjunctionExpression& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ConjunctionExpression(ConjunctionExpression&& from) noexcept - : ConjunctionExpression() { - *this = ::std::move(from); - } - - inline ConjunctionExpression& operator=(ConjunctionExpression&& 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 ConjunctionExpression& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ConjunctionExpression* internal_default_instance() { - return reinterpret_cast( - &_ConjunctionExpression_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ConjunctionExpression* other); - friend void swap(ConjunctionExpression& a, ConjunctionExpression& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ConjunctionExpression* New() const final { - return CreateMaybeMessage(nullptr); - } - - ConjunctionExpression* 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 ConjunctionExpression& from); - void MergeFrom(const ConjunctionExpression& 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(ConjunctionExpression* 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 ConjunctionExpression_LogicalOperator LogicalOperator; - static const LogicalOperator AND = - ConjunctionExpression_LogicalOperator_AND; - static const LogicalOperator OR = - ConjunctionExpression_LogicalOperator_OR; - static inline bool LogicalOperator_IsValid(int value) { - return ConjunctionExpression_LogicalOperator_IsValid(value); - } - static const LogicalOperator LogicalOperator_MIN = - ConjunctionExpression_LogicalOperator_LogicalOperator_MIN; - static const LogicalOperator LogicalOperator_MAX = - ConjunctionExpression_LogicalOperator_LogicalOperator_MAX; - static const int LogicalOperator_ARRAYSIZE = - ConjunctionExpression_LogicalOperator_LogicalOperator_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - LogicalOperator_descriptor() { - return ConjunctionExpression_LogicalOperator_descriptor(); - } - static inline const ::std::string& LogicalOperator_Name(LogicalOperator value) { - return ConjunctionExpression_LogicalOperator_Name(value); - } - static inline bool LogicalOperator_Parse(const ::std::string& name, - LogicalOperator* value) { - return ConjunctionExpression_LogicalOperator_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // .flyteidl.core.BooleanExpression left_expression = 2; - bool has_left_expression() const; - void clear_left_expression(); - static const int kLeftExpressionFieldNumber = 2; - const ::flyteidl::core::BooleanExpression& left_expression() const; - ::flyteidl::core::BooleanExpression* release_left_expression(); - ::flyteidl::core::BooleanExpression* mutable_left_expression(); - void set_allocated_left_expression(::flyteidl::core::BooleanExpression* left_expression); - - // .flyteidl.core.BooleanExpression right_expression = 3; - bool has_right_expression() const; - void clear_right_expression(); - static const int kRightExpressionFieldNumber = 3; - const ::flyteidl::core::BooleanExpression& right_expression() const; - ::flyteidl::core::BooleanExpression* release_right_expression(); - ::flyteidl::core::BooleanExpression* mutable_right_expression(); - void set_allocated_right_expression(::flyteidl::core::BooleanExpression* right_expression); - - // .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - void clear_operator_(); - static const int kOperatorFieldNumber = 1; - ::flyteidl::core::ConjunctionExpression_LogicalOperator operator_() const; - void set_operator_(::flyteidl::core::ConjunctionExpression_LogicalOperator value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ConjunctionExpression) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::BooleanExpression* left_expression_; - ::flyteidl::core::BooleanExpression* right_expression_; - int operator__; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fcondition_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ComparisonExpression - -// .flyteidl.core.ComparisonExpression.Operator operator = 1; -inline void ComparisonExpression::clear_operator_() { - operator__ = 0; -} -inline ::flyteidl::core::ComparisonExpression_Operator ComparisonExpression::operator_() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ComparisonExpression.operator) - return static_cast< ::flyteidl::core::ComparisonExpression_Operator >(operator__); -} -inline void ComparisonExpression::set_operator_(::flyteidl::core::ComparisonExpression_Operator value) { - - operator__ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ComparisonExpression.operator) -} - -// .flyteidl.core.Operand left_value = 2; -inline bool ComparisonExpression::has_left_value() const { - return this != internal_default_instance() && left_value_ != nullptr; -} -inline void ComparisonExpression::clear_left_value() { - if (GetArenaNoVirtual() == nullptr && left_value_ != nullptr) { - delete left_value_; - } - left_value_ = nullptr; -} -inline const ::flyteidl::core::Operand& ComparisonExpression::left_value() const { - const ::flyteidl::core::Operand* p = left_value_; - // @@protoc_insertion_point(field_get:flyteidl.core.ComparisonExpression.left_value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Operand_default_instance_); -} -inline ::flyteidl::core::Operand* ComparisonExpression::release_left_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.ComparisonExpression.left_value) - - ::flyteidl::core::Operand* temp = left_value_; - left_value_ = nullptr; - return temp; -} -inline ::flyteidl::core::Operand* ComparisonExpression::mutable_left_value() { - - if (left_value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Operand>(GetArenaNoVirtual()); - left_value_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ComparisonExpression.left_value) - return left_value_; -} -inline void ComparisonExpression::set_allocated_left_value(::flyteidl::core::Operand* left_value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete left_value_; - } - if (left_value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - left_value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, left_value, submessage_arena); - } - - } else { - - } - left_value_ = left_value; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ComparisonExpression.left_value) -} - -// .flyteidl.core.Operand right_value = 3; -inline bool ComparisonExpression::has_right_value() const { - return this != internal_default_instance() && right_value_ != nullptr; -} -inline void ComparisonExpression::clear_right_value() { - if (GetArenaNoVirtual() == nullptr && right_value_ != nullptr) { - delete right_value_; - } - right_value_ = nullptr; -} -inline const ::flyteidl::core::Operand& ComparisonExpression::right_value() const { - const ::flyteidl::core::Operand* p = right_value_; - // @@protoc_insertion_point(field_get:flyteidl.core.ComparisonExpression.right_value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Operand_default_instance_); -} -inline ::flyteidl::core::Operand* ComparisonExpression::release_right_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.ComparisonExpression.right_value) - - ::flyteidl::core::Operand* temp = right_value_; - right_value_ = nullptr; - return temp; -} -inline ::flyteidl::core::Operand* ComparisonExpression::mutable_right_value() { - - if (right_value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Operand>(GetArenaNoVirtual()); - right_value_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ComparisonExpression.right_value) - return right_value_; -} -inline void ComparisonExpression::set_allocated_right_value(::flyteidl::core::Operand* right_value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete right_value_; - } - if (right_value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - right_value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, right_value, submessage_arena); - } - - } else { - - } - right_value_ = right_value; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ComparisonExpression.right_value) -} - -// ------------------------------------------------------------------- - -// Operand - -// .flyteidl.core.Primitive primitive = 1 [deprecated = true]; -inline bool Operand::has_primitive() const { - return val_case() == kPrimitive; -} -inline void Operand::set_has_primitive() { - _oneof_case_[0] = kPrimitive; -} -inline ::flyteidl::core::Primitive* Operand::release_primitive() { - // @@protoc_insertion_point(field_release:flyteidl.core.Operand.primitive) - if (has_primitive()) { - clear_has_val(); - ::flyteidl::core::Primitive* temp = val_.primitive_; - val_.primitive_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Primitive& Operand::primitive() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Operand.primitive) - return has_primitive() - ? *val_.primitive_ - : *reinterpret_cast< ::flyteidl::core::Primitive*>(&::flyteidl::core::_Primitive_default_instance_); -} -inline ::flyteidl::core::Primitive* Operand::mutable_primitive() { - if (!has_primitive()) { - clear_val(); - set_has_primitive(); - val_.primitive_ = CreateMaybeMessage< ::flyteidl::core::Primitive >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Operand.primitive) - return val_.primitive_; -} - -// string var = 2; -inline bool Operand::has_var() const { - return val_case() == kVar; -} -inline void Operand::set_has_var() { - _oneof_case_[0] = kVar; -} -inline void Operand::clear_var() { - if (has_var()) { - val_.var_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_val(); - } -} -inline const ::std::string& Operand::var() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Operand.var) - if (has_var()) { - return val_.var_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Operand::set_var(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Operand.var) - if (!has_var()) { - clear_val(); - set_has_var(); - val_.var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - val_.var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Operand.var) -} -#if LANG_CXX11 -inline void Operand::set_var(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Operand.var) - if (!has_var()) { - clear_val(); - set_has_var(); - val_.var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - val_.var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Operand.var) -} -#endif -inline void Operand::set_var(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_var()) { - clear_val(); - set_has_var(); - val_.var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - val_.var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Operand.var) -} -inline void Operand::set_var(const char* value, size_t size) { - if (!has_var()) { - clear_val(); - set_has_var(); - val_.var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - val_.var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Operand.var) -} -inline ::std::string* Operand::mutable_var() { - if (!has_var()) { - clear_val(); - set_has_var(); - val_.var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Operand.var) - return val_.var_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Operand::release_var() { - // @@protoc_insertion_point(field_release:flyteidl.core.Operand.var) - if (has_var()) { - clear_has_val(); - return val_.var_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void Operand::set_allocated_var(::std::string* var) { - if (has_val()) { - clear_val(); - } - if (var != nullptr) { - set_has_var(); - val_.var_.UnsafeSetDefault(var); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Operand.var) -} - -// .flyteidl.core.Scalar scalar = 3; -inline bool Operand::has_scalar() const { - return val_case() == kScalar; -} -inline void Operand::set_has_scalar() { - _oneof_case_[0] = kScalar; -} -inline ::flyteidl::core::Scalar* Operand::release_scalar() { - // @@protoc_insertion_point(field_release:flyteidl.core.Operand.scalar) - if (has_scalar()) { - clear_has_val(); - ::flyteidl::core::Scalar* temp = val_.scalar_; - val_.scalar_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Scalar& Operand::scalar() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Operand.scalar) - return has_scalar() - ? *val_.scalar_ - : *reinterpret_cast< ::flyteidl::core::Scalar*>(&::flyteidl::core::_Scalar_default_instance_); -} -inline ::flyteidl::core::Scalar* Operand::mutable_scalar() { - if (!has_scalar()) { - clear_val(); - set_has_scalar(); - val_.scalar_ = CreateMaybeMessage< ::flyteidl::core::Scalar >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Operand.scalar) - return val_.scalar_; -} - -inline bool Operand::has_val() const { - return val_case() != VAL_NOT_SET; -} -inline void Operand::clear_has_val() { - _oneof_case_[0] = VAL_NOT_SET; -} -inline Operand::ValCase Operand::val_case() const { - return Operand::ValCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// BooleanExpression - -// .flyteidl.core.ConjunctionExpression conjunction = 1; -inline bool BooleanExpression::has_conjunction() const { - return expr_case() == kConjunction; -} -inline void BooleanExpression::set_has_conjunction() { - _oneof_case_[0] = kConjunction; -} -inline void BooleanExpression::clear_conjunction() { - if (has_conjunction()) { - delete expr_.conjunction_; - clear_has_expr(); - } -} -inline ::flyteidl::core::ConjunctionExpression* BooleanExpression::release_conjunction() { - // @@protoc_insertion_point(field_release:flyteidl.core.BooleanExpression.conjunction) - if (has_conjunction()) { - clear_has_expr(); - ::flyteidl::core::ConjunctionExpression* temp = expr_.conjunction_; - expr_.conjunction_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ConjunctionExpression& BooleanExpression::conjunction() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BooleanExpression.conjunction) - return has_conjunction() - ? *expr_.conjunction_ - : *reinterpret_cast< ::flyteidl::core::ConjunctionExpression*>(&::flyteidl::core::_ConjunctionExpression_default_instance_); -} -inline ::flyteidl::core::ConjunctionExpression* BooleanExpression::mutable_conjunction() { - if (!has_conjunction()) { - clear_expr(); - set_has_conjunction(); - expr_.conjunction_ = CreateMaybeMessage< ::flyteidl::core::ConjunctionExpression >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BooleanExpression.conjunction) - return expr_.conjunction_; -} - -// .flyteidl.core.ComparisonExpression comparison = 2; -inline bool BooleanExpression::has_comparison() const { - return expr_case() == kComparison; -} -inline void BooleanExpression::set_has_comparison() { - _oneof_case_[0] = kComparison; -} -inline void BooleanExpression::clear_comparison() { - if (has_comparison()) { - delete expr_.comparison_; - clear_has_expr(); - } -} -inline ::flyteidl::core::ComparisonExpression* BooleanExpression::release_comparison() { - // @@protoc_insertion_point(field_release:flyteidl.core.BooleanExpression.comparison) - if (has_comparison()) { - clear_has_expr(); - ::flyteidl::core::ComparisonExpression* temp = expr_.comparison_; - expr_.comparison_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ComparisonExpression& BooleanExpression::comparison() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BooleanExpression.comparison) - return has_comparison() - ? *expr_.comparison_ - : *reinterpret_cast< ::flyteidl::core::ComparisonExpression*>(&::flyteidl::core::_ComparisonExpression_default_instance_); -} -inline ::flyteidl::core::ComparisonExpression* BooleanExpression::mutable_comparison() { - if (!has_comparison()) { - clear_expr(); - set_has_comparison(); - expr_.comparison_ = CreateMaybeMessage< ::flyteidl::core::ComparisonExpression >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BooleanExpression.comparison) - return expr_.comparison_; -} - -inline bool BooleanExpression::has_expr() const { - return expr_case() != EXPR_NOT_SET; -} -inline void BooleanExpression::clear_has_expr() { - _oneof_case_[0] = EXPR_NOT_SET; -} -inline BooleanExpression::ExprCase BooleanExpression::expr_case() const { - return BooleanExpression::ExprCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ConjunctionExpression - -// .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; -inline void ConjunctionExpression::clear_operator_() { - operator__ = 0; -} -inline ::flyteidl::core::ConjunctionExpression_LogicalOperator ConjunctionExpression::operator_() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ConjunctionExpression.operator) - return static_cast< ::flyteidl::core::ConjunctionExpression_LogicalOperator >(operator__); -} -inline void ConjunctionExpression::set_operator_(::flyteidl::core::ConjunctionExpression_LogicalOperator value) { - - operator__ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ConjunctionExpression.operator) -} - -// .flyteidl.core.BooleanExpression left_expression = 2; -inline bool ConjunctionExpression::has_left_expression() const { - return this != internal_default_instance() && left_expression_ != nullptr; -} -inline void ConjunctionExpression::clear_left_expression() { - if (GetArenaNoVirtual() == nullptr && left_expression_ != nullptr) { - delete left_expression_; - } - left_expression_ = nullptr; -} -inline const ::flyteidl::core::BooleanExpression& ConjunctionExpression::left_expression() const { - const ::flyteidl::core::BooleanExpression* p = left_expression_; - // @@protoc_insertion_point(field_get:flyteidl.core.ConjunctionExpression.left_expression) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_BooleanExpression_default_instance_); -} -inline ::flyteidl::core::BooleanExpression* ConjunctionExpression::release_left_expression() { - // @@protoc_insertion_point(field_release:flyteidl.core.ConjunctionExpression.left_expression) - - ::flyteidl::core::BooleanExpression* temp = left_expression_; - left_expression_ = nullptr; - return temp; -} -inline ::flyteidl::core::BooleanExpression* ConjunctionExpression::mutable_left_expression() { - - if (left_expression_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::BooleanExpression>(GetArenaNoVirtual()); - left_expression_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ConjunctionExpression.left_expression) - return left_expression_; -} -inline void ConjunctionExpression::set_allocated_left_expression(::flyteidl::core::BooleanExpression* left_expression) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete left_expression_; - } - if (left_expression) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - left_expression = ::google::protobuf::internal::GetOwnedMessage( - message_arena, left_expression, submessage_arena); - } - - } else { - - } - left_expression_ = left_expression; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ConjunctionExpression.left_expression) -} - -// .flyteidl.core.BooleanExpression right_expression = 3; -inline bool ConjunctionExpression::has_right_expression() const { - return this != internal_default_instance() && right_expression_ != nullptr; -} -inline void ConjunctionExpression::clear_right_expression() { - if (GetArenaNoVirtual() == nullptr && right_expression_ != nullptr) { - delete right_expression_; - } - right_expression_ = nullptr; -} -inline const ::flyteidl::core::BooleanExpression& ConjunctionExpression::right_expression() const { - const ::flyteidl::core::BooleanExpression* p = right_expression_; - // @@protoc_insertion_point(field_get:flyteidl.core.ConjunctionExpression.right_expression) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_BooleanExpression_default_instance_); -} -inline ::flyteidl::core::BooleanExpression* ConjunctionExpression::release_right_expression() { - // @@protoc_insertion_point(field_release:flyteidl.core.ConjunctionExpression.right_expression) - - ::flyteidl::core::BooleanExpression* temp = right_expression_; - right_expression_ = nullptr; - return temp; -} -inline ::flyteidl::core::BooleanExpression* ConjunctionExpression::mutable_right_expression() { - - if (right_expression_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::BooleanExpression>(GetArenaNoVirtual()); - right_expression_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ConjunctionExpression.right_expression) - return right_expression_; -} -inline void ConjunctionExpression::set_allocated_right_expression(::flyteidl::core::BooleanExpression* right_expression) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete right_expression_; - } - if (right_expression) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - right_expression = ::google::protobuf::internal::GetOwnedMessage( - message_arena, right_expression, submessage_arena); - } - - } else { - - } - right_expression_ = right_expression; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ConjunctionExpression.right_expression) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::ComparisonExpression_Operator> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::ComparisonExpression_Operator>() { - return ::flyteidl::core::ComparisonExpression_Operator_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::ConjunctionExpression_LogicalOperator> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::ConjunctionExpression_LogicalOperator>() { - return ::flyteidl::core::ConjunctionExpression_LogicalOperator_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fcondition_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.grpc.pb.cc deleted file mode 100644 index 4b2e553c43..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/dynamic_job.proto - -#include "flyteidl/core/dynamic_job.pb.h" -#include "flyteidl/core/dynamic_job.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.grpc.pb.h deleted file mode 100644 index 0e8e0566f0..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/dynamic_job.proto -#ifndef GRPC_flyteidl_2fcore_2fdynamic_5fjob_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fdynamic_5fjob_2eproto__INCLUDED - -#include "flyteidl/core/dynamic_job.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fdynamic_5fjob_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.pb.cc deleted file mode 100644 index 40f059d1ba..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.pb.cc +++ /dev/null @@ -1,646 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/dynamic_job.proto - -#include "flyteidl/core/dynamic_job.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto; -namespace flyteidl { -namespace core { -class DynamicJobSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DynamicJobSpec_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsDynamicJobSpec_flyteidl_2fcore_2fdynamic_5fjob_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_DynamicJobSpec_default_instance_; - new (ptr) ::flyteidl::core::DynamicJobSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::DynamicJobSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_DynamicJobSpec_flyteidl_2fcore_2fdynamic_5fjob_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsDynamicJobSpec_flyteidl_2fcore_2fdynamic_5fjob_2eproto}, { - &scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fdynamic_5fjob_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_DynamicJobSpec_flyteidl_2fcore_2fdynamic_5fjob_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fdynamic_5fjob_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fdynamic_5fjob_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fdynamic_5fjob_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fdynamic_5fjob_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DynamicJobSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DynamicJobSpec, nodes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DynamicJobSpec, min_successes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DynamicJobSpec, outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DynamicJobSpec, tasks_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DynamicJobSpec, subworkflows_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::DynamicJobSpec)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_DynamicJobSpec_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fdynamic_5fjob_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fdynamic_5fjob_2eproto, "flyteidl/core/dynamic_job.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fdynamic_5fjob_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fdynamic_5fjob_2eproto, 1, file_level_enum_descriptors_flyteidl_2fcore_2fdynamic_5fjob_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fdynamic_5fjob_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fdynamic_5fjob_2eproto[] = - "\n\037flyteidl/core/dynamic_job.proto\022\rflyte" - "idl.core\032\031flyteidl/core/tasks.proto\032\034fly" - "teidl/core/workflow.proto\032\034flyteidl/core" - "/literals.proto\"\327\001\n\016DynamicJobSpec\022\"\n\005no" - "des\030\001 \003(\0132\023.flyteidl.core.Node\022\025\n\rmin_su" - "ccesses\030\002 \001(\003\022\'\n\007outputs\030\003 \003(\0132\026.flyteid" - "l.core.Binding\022*\n\005tasks\030\004 \003(\0132\033.flyteidl" - ".core.TaskTemplate\0225\n\014subworkflows\030\005 \003(\013" - "2\037.flyteidl.core.WorkflowTemplateB= 1900 -const int DynamicJobSpec::kNodesFieldNumber; -const int DynamicJobSpec::kMinSuccessesFieldNumber; -const int DynamicJobSpec::kOutputsFieldNumber; -const int DynamicJobSpec::kTasksFieldNumber; -const int DynamicJobSpec::kSubworkflowsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DynamicJobSpec::DynamicJobSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.DynamicJobSpec) -} -DynamicJobSpec::DynamicJobSpec(const DynamicJobSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - nodes_(from.nodes_), - outputs_(from.outputs_), - tasks_(from.tasks_), - subworkflows_(from.subworkflows_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - min_successes_ = from.min_successes_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.DynamicJobSpec) -} - -void DynamicJobSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DynamicJobSpec_flyteidl_2fcore_2fdynamic_5fjob_2eproto.base); - min_successes_ = PROTOBUF_LONGLONG(0); -} - -DynamicJobSpec::~DynamicJobSpec() { - // @@protoc_insertion_point(destructor:flyteidl.core.DynamicJobSpec) - SharedDtor(); -} - -void DynamicJobSpec::SharedDtor() { -} - -void DynamicJobSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DynamicJobSpec& DynamicJobSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DynamicJobSpec_flyteidl_2fcore_2fdynamic_5fjob_2eproto.base); - return *internal_default_instance(); -} - - -void DynamicJobSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.DynamicJobSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - nodes_.Clear(); - outputs_.Clear(); - tasks_.Clear(); - subworkflows_.Clear(); - min_successes_ = PROTOBUF_LONGLONG(0); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DynamicJobSpec::_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.Node nodes = 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::Node::_InternalParse; - object = msg->add_nodes(); - 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; - } - // int64 min_successes = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_min_successes(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // repeated .flyteidl.core.Binding outputs = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Binding::_InternalParse; - object = msg->add_outputs(); - 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) == 26 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.TaskTemplate tasks = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskTemplate::_InternalParse; - object = msg->add_tasks(); - 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) == 34 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::WorkflowTemplate::_InternalParse; - object = msg->add_subworkflows(); - 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) == 42 && (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 DynamicJobSpec::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.DynamicJobSpec) - 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.Node nodes = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_nodes())); - } else { - goto handle_unusual; - } - break; - } - - // int64 min_successes = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( - input, &min_successes_))); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Binding outputs = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.TaskTemplate tasks = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_tasks())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_subworkflows())); - } 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.DynamicJobSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.DynamicJobSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DynamicJobSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.DynamicJobSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.Node nodes = 1; - for (unsigned int i = 0, - n = static_cast(this->nodes_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->nodes(static_cast(i)), - output); - } - - // int64 min_successes = 2; - if (this->min_successes() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->min_successes(), output); - } - - // repeated .flyteidl.core.Binding outputs = 3; - for (unsigned int i = 0, - n = static_cast(this->outputs_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->outputs(static_cast(i)), - output); - } - - // repeated .flyteidl.core.TaskTemplate tasks = 4; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, - this->tasks(static_cast(i)), - output); - } - - // repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - for (unsigned int i = 0, - n = static_cast(this->subworkflows_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, - this->subworkflows(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.DynamicJobSpec) -} - -::google::protobuf::uint8* DynamicJobSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.DynamicJobSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.Node nodes = 1; - for (unsigned int i = 0, - n = static_cast(this->nodes_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->nodes(static_cast(i)), target); - } - - // int64 min_successes = 2; - if (this->min_successes() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->min_successes(), target); - } - - // repeated .flyteidl.core.Binding outputs = 3; - for (unsigned int i = 0, - n = static_cast(this->outputs_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->outputs(static_cast(i)), target); - } - - // repeated .flyteidl.core.TaskTemplate tasks = 4; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->tasks(static_cast(i)), target); - } - - // repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - for (unsigned int i = 0, - n = static_cast(this->subworkflows_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, this->subworkflows(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.DynamicJobSpec) - return target; -} - -size_t DynamicJobSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.DynamicJobSpec) - 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.Node nodes = 1; - { - unsigned int count = static_cast(this->nodes_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->nodes(static_cast(i))); - } - } - - // repeated .flyteidl.core.Binding outputs = 3; - { - unsigned int count = static_cast(this->outputs_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->outputs(static_cast(i))); - } - } - - // repeated .flyteidl.core.TaskTemplate tasks = 4; - { - unsigned int count = static_cast(this->tasks_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->tasks(static_cast(i))); - } - } - - // repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - { - unsigned int count = static_cast(this->subworkflows_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->subworkflows(static_cast(i))); - } - } - - // int64 min_successes = 2; - if (this->min_successes() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int64Size( - this->min_successes()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DynamicJobSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.DynamicJobSpec) - GOOGLE_DCHECK_NE(&from, this); - const DynamicJobSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.DynamicJobSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.DynamicJobSpec) - MergeFrom(*source); - } -} - -void DynamicJobSpec::MergeFrom(const DynamicJobSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.DynamicJobSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - nodes_.MergeFrom(from.nodes_); - outputs_.MergeFrom(from.outputs_); - tasks_.MergeFrom(from.tasks_); - subworkflows_.MergeFrom(from.subworkflows_); - if (from.min_successes() != 0) { - set_min_successes(from.min_successes()); - } -} - -void DynamicJobSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.DynamicJobSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DynamicJobSpec::CopyFrom(const DynamicJobSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.DynamicJobSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DynamicJobSpec::IsInitialized() const { - return true; -} - -void DynamicJobSpec::Swap(DynamicJobSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void DynamicJobSpec::InternalSwap(DynamicJobSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&nodes_)->InternalSwap(CastToBase(&other->nodes_)); - CastToBase(&outputs_)->InternalSwap(CastToBase(&other->outputs_)); - CastToBase(&tasks_)->InternalSwap(CastToBase(&other->tasks_)); - CastToBase(&subworkflows_)->InternalSwap(CastToBase(&other->subworkflows_)); - swap(min_successes_, other->min_successes_); -} - -::google::protobuf::Metadata DynamicJobSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fdynamic_5fjob_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fdynamic_5fjob_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::DynamicJobSpec* Arena::CreateMaybeMessage< ::flyteidl::core::DynamicJobSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::DynamicJobSpec >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.pb.h deleted file mode 100644 index c4fc525e63..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/dynamic_job.pb.h +++ /dev/null @@ -1,378 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/dynamic_job.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fdynamic_5fjob_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fdynamic_5fjob_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/core/workflow.pb.h" -#include "flyteidl/core/literals.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fdynamic_5fjob_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fdynamic_5fjob_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[1] - 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_2fcore_2fdynamic_5fjob_2eproto(); -namespace flyteidl { -namespace core { -class DynamicJobSpec; -class DynamicJobSpecDefaultTypeInternal; -extern DynamicJobSpecDefaultTypeInternal _DynamicJobSpec_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::DynamicJobSpec* Arena::CreateMaybeMessage<::flyteidl::core::DynamicJobSpec>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -// =================================================================== - -class DynamicJobSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.DynamicJobSpec) */ { - public: - DynamicJobSpec(); - virtual ~DynamicJobSpec(); - - DynamicJobSpec(const DynamicJobSpec& from); - - inline DynamicJobSpec& operator=(const DynamicJobSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DynamicJobSpec(DynamicJobSpec&& from) noexcept - : DynamicJobSpec() { - *this = ::std::move(from); - } - - inline DynamicJobSpec& operator=(DynamicJobSpec&& 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 DynamicJobSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DynamicJobSpec* internal_default_instance() { - return reinterpret_cast( - &_DynamicJobSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(DynamicJobSpec* other); - friend void swap(DynamicJobSpec& a, DynamicJobSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DynamicJobSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - DynamicJobSpec* 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 DynamicJobSpec& from); - void MergeFrom(const DynamicJobSpec& 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(DynamicJobSpec* 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.Node nodes = 1; - int nodes_size() const; - void clear_nodes(); - static const int kNodesFieldNumber = 1; - ::flyteidl::core::Node* mutable_nodes(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >* - mutable_nodes(); - const ::flyteidl::core::Node& nodes(int index) const; - ::flyteidl::core::Node* add_nodes(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >& - nodes() const; - - // repeated .flyteidl.core.Binding outputs = 3; - int outputs_size() const; - void clear_outputs(); - static const int kOutputsFieldNumber = 3; - ::flyteidl::core::Binding* mutable_outputs(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >* - mutable_outputs(); - const ::flyteidl::core::Binding& outputs(int index) const; - ::flyteidl::core::Binding* add_outputs(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >& - outputs() const; - - // repeated .flyteidl.core.TaskTemplate tasks = 4; - int tasks_size() const; - void clear_tasks(); - static const int kTasksFieldNumber = 4; - ::flyteidl::core::TaskTemplate* mutable_tasks(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >* - mutable_tasks(); - const ::flyteidl::core::TaskTemplate& tasks(int index) const; - ::flyteidl::core::TaskTemplate* add_tasks(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >& - tasks() const; - - // repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - int subworkflows_size() const; - void clear_subworkflows(); - static const int kSubworkflowsFieldNumber = 5; - ::flyteidl::core::WorkflowTemplate* mutable_subworkflows(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >* - mutable_subworkflows(); - const ::flyteidl::core::WorkflowTemplate& subworkflows(int index) const; - ::flyteidl::core::WorkflowTemplate* add_subworkflows(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >& - subworkflows() const; - - // int64 min_successes = 2; - void clear_min_successes(); - static const int kMinSuccessesFieldNumber = 2; - ::google::protobuf::int64 min_successes() const; - void set_min_successes(::google::protobuf::int64 value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.DynamicJobSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node > nodes_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding > outputs_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate > tasks_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate > subworkflows_; - ::google::protobuf::int64 min_successes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fdynamic_5fjob_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DynamicJobSpec - -// repeated .flyteidl.core.Node nodes = 1; -inline int DynamicJobSpec::nodes_size() const { - return nodes_.size(); -} -inline ::flyteidl::core::Node* DynamicJobSpec::mutable_nodes(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.DynamicJobSpec.nodes) - return nodes_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >* -DynamicJobSpec::mutable_nodes() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.DynamicJobSpec.nodes) - return &nodes_; -} -inline const ::flyteidl::core::Node& DynamicJobSpec::nodes(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.DynamicJobSpec.nodes) - return nodes_.Get(index); -} -inline ::flyteidl::core::Node* DynamicJobSpec::add_nodes() { - // @@protoc_insertion_point(field_add:flyteidl.core.DynamicJobSpec.nodes) - return nodes_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >& -DynamicJobSpec::nodes() const { - // @@protoc_insertion_point(field_list:flyteidl.core.DynamicJobSpec.nodes) - return nodes_; -} - -// int64 min_successes = 2; -inline void DynamicJobSpec::clear_min_successes() { - min_successes_ = PROTOBUF_LONGLONG(0); -} -inline ::google::protobuf::int64 DynamicJobSpec::min_successes() const { - // @@protoc_insertion_point(field_get:flyteidl.core.DynamicJobSpec.min_successes) - return min_successes_; -} -inline void DynamicJobSpec::set_min_successes(::google::protobuf::int64 value) { - - min_successes_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.DynamicJobSpec.min_successes) -} - -// repeated .flyteidl.core.Binding outputs = 3; -inline int DynamicJobSpec::outputs_size() const { - return outputs_.size(); -} -inline ::flyteidl::core::Binding* DynamicJobSpec::mutable_outputs(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.DynamicJobSpec.outputs) - return outputs_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >* -DynamicJobSpec::mutable_outputs() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.DynamicJobSpec.outputs) - return &outputs_; -} -inline const ::flyteidl::core::Binding& DynamicJobSpec::outputs(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.DynamicJobSpec.outputs) - return outputs_.Get(index); -} -inline ::flyteidl::core::Binding* DynamicJobSpec::add_outputs() { - // @@protoc_insertion_point(field_add:flyteidl.core.DynamicJobSpec.outputs) - return outputs_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >& -DynamicJobSpec::outputs() const { - // @@protoc_insertion_point(field_list:flyteidl.core.DynamicJobSpec.outputs) - return outputs_; -} - -// repeated .flyteidl.core.TaskTemplate tasks = 4; -inline int DynamicJobSpec::tasks_size() const { - return tasks_.size(); -} -inline ::flyteidl::core::TaskTemplate* DynamicJobSpec::mutable_tasks(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.DynamicJobSpec.tasks) - return tasks_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >* -DynamicJobSpec::mutable_tasks() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.DynamicJobSpec.tasks) - return &tasks_; -} -inline const ::flyteidl::core::TaskTemplate& DynamicJobSpec::tasks(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.DynamicJobSpec.tasks) - return tasks_.Get(index); -} -inline ::flyteidl::core::TaskTemplate* DynamicJobSpec::add_tasks() { - // @@protoc_insertion_point(field_add:flyteidl.core.DynamicJobSpec.tasks) - return tasks_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >& -DynamicJobSpec::tasks() const { - // @@protoc_insertion_point(field_list:flyteidl.core.DynamicJobSpec.tasks) - return tasks_; -} - -// repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; -inline int DynamicJobSpec::subworkflows_size() const { - return subworkflows_.size(); -} -inline ::flyteidl::core::WorkflowTemplate* DynamicJobSpec::mutable_subworkflows(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.DynamicJobSpec.subworkflows) - return subworkflows_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >* -DynamicJobSpec::mutable_subworkflows() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.DynamicJobSpec.subworkflows) - return &subworkflows_; -} -inline const ::flyteidl::core::WorkflowTemplate& DynamicJobSpec::subworkflows(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.DynamicJobSpec.subworkflows) - return subworkflows_.Get(index); -} -inline ::flyteidl::core::WorkflowTemplate* DynamicJobSpec::add_subworkflows() { - // @@protoc_insertion_point(field_add:flyteidl.core.DynamicJobSpec.subworkflows) - return subworkflows_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::WorkflowTemplate >& -DynamicJobSpec::subworkflows() const { - // @@protoc_insertion_point(field_list:flyteidl.core.DynamicJobSpec.subworkflows) - return subworkflows_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fdynamic_5fjob_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/errors.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/errors.grpc.pb.cc deleted file mode 100644 index 9ff2dd82ba..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/errors.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/errors.proto - -#include "flyteidl/core/errors.pb.h" -#include "flyteidl/core/errors.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/errors.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/errors.grpc.pb.h deleted file mode 100644 index 0556d5e341..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/errors.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/errors.proto -#ifndef GRPC_flyteidl_2fcore_2ferrors_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2ferrors_2eproto__INCLUDED - -#include "flyteidl/core/errors.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2ferrors_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/errors.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/errors.pb.cc deleted file mode 100644 index 2028b8f067..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/errors.pb.cc +++ /dev/null @@ -1,927 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/errors.proto - -#include "flyteidl/core/errors.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<0> scc_info_ContainerError_flyteidl_2fcore_2ferrors_2eproto; -namespace flyteidl { -namespace core { -class ContainerErrorDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ContainerError_default_instance_; -class ErrorDocumentDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ErrorDocument_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsContainerError_flyteidl_2fcore_2ferrors_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ContainerError_default_instance_; - new (ptr) ::flyteidl::core::ContainerError(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ContainerError::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ContainerError_flyteidl_2fcore_2ferrors_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsContainerError_flyteidl_2fcore_2ferrors_2eproto}, {}}; - -static void InitDefaultsErrorDocument_flyteidl_2fcore_2ferrors_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ErrorDocument_default_instance_; - new (ptr) ::flyteidl::core::ErrorDocument(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ErrorDocument::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ErrorDocument_flyteidl_2fcore_2ferrors_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsErrorDocument_flyteidl_2fcore_2ferrors_2eproto}, { - &scc_info_ContainerError_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::Metadata file_level_metadata_flyteidl_2fcore_2ferrors_2eproto[2]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2ferrors_2eproto[1]; -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) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ContainerError, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ContainerError, code_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ContainerError, message_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ContainerError, kind_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ContainerError, origin_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ErrorDocument, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ErrorDocument, error_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::ContainerError)}, - { 9, -1, sizeof(::flyteidl::core::ErrorDocument)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_ContainerError_default_instance_), - reinterpret_cast(&::flyteidl::core::_ErrorDocument_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, -}; - -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.ContainerErrorB= 1900 -const ContainerError_Kind ContainerError::NON_RECOVERABLE; -const ContainerError_Kind ContainerError::RECOVERABLE; -const ContainerError_Kind ContainerError::Kind_MIN; -const ContainerError_Kind ContainerError::Kind_MAX; -const int ContainerError::Kind_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void ContainerError::InitAsDefaultInstance() { -} -class ContainerError::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ContainerError::kCodeFieldNumber; -const int ContainerError::kMessageFieldNumber; -const int ContainerError::kKindFieldNumber; -const int ContainerError::kOriginFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ContainerError::ContainerError() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ContainerError) -} -ContainerError::ContainerError(const ContainerError& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.code().size() > 0) { - code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.code_); - } - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.message().size() > 0) { - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - ::memcpy(&kind_, &from.kind_, - static_cast(reinterpret_cast(&origin_) - - reinterpret_cast(&kind_)) + sizeof(origin_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ContainerError) -} - -void ContainerError::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ContainerError_flyteidl_2fcore_2ferrors_2eproto.base); - code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&kind_, 0, static_cast( - reinterpret_cast(&origin_) - - reinterpret_cast(&kind_)) + sizeof(origin_)); -} - -ContainerError::~ContainerError() { - // @@protoc_insertion_point(destructor:flyteidl.core.ContainerError) - SharedDtor(); -} - -void ContainerError::SharedDtor() { - code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ContainerError::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ContainerError& ContainerError::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ContainerError_flyteidl_2fcore_2ferrors_2eproto.base); - return *internal_default_instance(); -} - - -void ContainerError::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ContainerError) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - code_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&kind_, 0, static_cast( - reinterpret_cast(&origin_) - - reinterpret_cast(&kind_)) + sizeof(origin_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ContainerError::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string code = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ContainerError.code"); - object = msg->mutable_code(); - 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 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.ContainerError.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.ContainerError.Kind kind = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_kind(static_cast<::flyteidl::core::ContainerError_Kind>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.ExecutionError.ErrorKind origin = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_origin(static_cast<::flyteidl::core::ExecutionError_ErrorKind>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 ContainerError::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.ContainerError) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string code = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_code())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code().data(), static_cast(this->code().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ContainerError.code")); - } 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.ContainerError.message")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ContainerError.Kind kind = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_kind(static_cast< ::flyteidl::core::ContainerError_Kind >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError.ErrorKind origin = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_origin(static_cast< ::flyteidl::core::ExecutionError_ErrorKind >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.ContainerError) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ContainerError) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ContainerError::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ContainerError) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string code = 1; - if (this->code().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code().data(), static_cast(this->code().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ContainerError.code"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 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.ContainerError.message"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->message(), output); - } - - // .flyteidl.core.ContainerError.Kind kind = 3; - if (this->kind() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->kind(), output); - } - - // .flyteidl.core.ExecutionError.ErrorKind origin = 4; - if (this->origin() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->origin(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ContainerError) -} - -::google::protobuf::uint8* ContainerError::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ContainerError) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string code = 1; - if (this->code().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code().data(), static_cast(this->code().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ContainerError.code"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 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.ContainerError.message"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->message(), target); - } - - // .flyteidl.core.ContainerError.Kind kind = 3; - if (this->kind() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->kind(), target); - } - - // .flyteidl.core.ExecutionError.ErrorKind origin = 4; - if (this->origin() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->origin(), 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.ContainerError) - return target; -} - -size_t ContainerError::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ContainerError) - 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 code = 1; - if (this->code().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->code()); - } - - // string message = 2; - if (this->message().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->message()); - } - - // .flyteidl.core.ContainerError.Kind kind = 3; - if (this->kind() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->kind()); - } - - // .flyteidl.core.ExecutionError.ErrorKind origin = 4; - if (this->origin() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->origin()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ContainerError::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ContainerError) - GOOGLE_DCHECK_NE(&from, this); - const ContainerError* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ContainerError) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ContainerError) - MergeFrom(*source); - } -} - -void ContainerError::MergeFrom(const ContainerError& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ContainerError) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.code().size() > 0) { - - code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.code_); - } - if (from.message().size() > 0) { - - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - if (from.kind() != 0) { - set_kind(from.kind()); - } - if (from.origin() != 0) { - set_origin(from.origin()); - } -} - -void ContainerError::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ContainerError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ContainerError::CopyFrom(const ContainerError& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ContainerError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ContainerError::IsInitialized() const { - return true; -} - -void ContainerError::Swap(ContainerError* other) { - if (other == this) return; - InternalSwap(other); -} -void ContainerError::InternalSwap(ContainerError* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - code_.Swap(&other->code_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - message_.Swap(&other->message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(kind_, other->kind_); - swap(origin_, other->origin_); -} - -::google::protobuf::Metadata ContainerError::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ferrors_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ferrors_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ErrorDocument::InitAsDefaultInstance() { - ::flyteidl::core::_ErrorDocument_default_instance_._instance.get_mutable()->error_ = const_cast< ::flyteidl::core::ContainerError*>( - ::flyteidl::core::ContainerError::internal_default_instance()); -} -class ErrorDocument::HasBitSetters { - public: - static const ::flyteidl::core::ContainerError& error(const ErrorDocument* msg); -}; - -const ::flyteidl::core::ContainerError& -ErrorDocument::HasBitSetters::error(const ErrorDocument* msg) { - return *msg->error_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ErrorDocument::kErrorFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ErrorDocument::ErrorDocument() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ErrorDocument) -} -ErrorDocument::ErrorDocument(const ErrorDocument& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_error()) { - error_ = new ::flyteidl::core::ContainerError(*from.error_); - } else { - error_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ErrorDocument) -} - -void ErrorDocument::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ErrorDocument_flyteidl_2fcore_2ferrors_2eproto.base); - error_ = nullptr; -} - -ErrorDocument::~ErrorDocument() { - // @@protoc_insertion_point(destructor:flyteidl.core.ErrorDocument) - SharedDtor(); -} - -void ErrorDocument::SharedDtor() { - if (this != internal_default_instance()) delete error_; -} - -void ErrorDocument::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ErrorDocument& ErrorDocument::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ErrorDocument_flyteidl_2fcore_2ferrors_2eproto.base); - return *internal_default_instance(); -} - - -void ErrorDocument::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ErrorDocument) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && error_ != nullptr) { - delete error_; - } - error_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ErrorDocument::_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.ContainerError error = 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::ContainerError::_InternalParse; - object = msg->mutable_error(); - 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 ErrorDocument::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.ErrorDocument) - 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.ContainerError error = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } 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.ErrorDocument) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ErrorDocument) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ErrorDocument::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ErrorDocument) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ContainerError error = 1; - if (this->has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::error(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.ErrorDocument) -} - -::google::protobuf::uint8* ErrorDocument::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ErrorDocument) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ContainerError error = 1; - if (this->has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::error(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.ErrorDocument) - return target; -} - -size_t ErrorDocument::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ErrorDocument) - 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.ContainerError error = 1; - if (this->has_error()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *error_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ErrorDocument::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ErrorDocument) - GOOGLE_DCHECK_NE(&from, this); - const ErrorDocument* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ErrorDocument) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ErrorDocument) - MergeFrom(*source); - } -} - -void ErrorDocument::MergeFrom(const ErrorDocument& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ErrorDocument) - 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_error()) { - mutable_error()->::flyteidl::core::ContainerError::MergeFrom(from.error()); - } -} - -void ErrorDocument::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ErrorDocument) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ErrorDocument::CopyFrom(const ErrorDocument& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ErrorDocument) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ErrorDocument::IsInitialized() const { - return true; -} - -void ErrorDocument::Swap(ErrorDocument* other) { - if (other == this) return; - InternalSwap(other); -} -void ErrorDocument::InternalSwap(ErrorDocument* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(error_, other->error_); -} - -::google::protobuf::Metadata ErrorDocument::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); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/errors.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/errors.pb.h deleted file mode 100644 index 993d23487c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/errors.pb.h +++ /dev/null @@ -1,609 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/errors.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2ferrors_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2ferrors_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 -#include "flyteidl/core/execution.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ferrors_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2ferrors_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[2] - 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_2fcore_2ferrors_2eproto(); -namespace flyteidl { -namespace core { -class ContainerError; -class ContainerErrorDefaultTypeInternal; -extern ContainerErrorDefaultTypeInternal _ContainerError_default_instance_; -class ErrorDocument; -class ErrorDocumentDefaultTypeInternal; -extern ErrorDocumentDefaultTypeInternal _ErrorDocument_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::ContainerError* Arena::CreateMaybeMessage<::flyteidl::core::ContainerError>(Arena*); -template<> ::flyteidl::core::ErrorDocument* Arena::CreateMaybeMessage<::flyteidl::core::ErrorDocument>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum ContainerError_Kind { - ContainerError_Kind_NON_RECOVERABLE = 0, - ContainerError_Kind_RECOVERABLE = 1, - ContainerError_Kind_ContainerError_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ContainerError_Kind_ContainerError_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ContainerError_Kind_IsValid(int value); -const ContainerError_Kind ContainerError_Kind_Kind_MIN = ContainerError_Kind_NON_RECOVERABLE; -const ContainerError_Kind ContainerError_Kind_Kind_MAX = ContainerError_Kind_RECOVERABLE; -const int ContainerError_Kind_Kind_ARRAYSIZE = ContainerError_Kind_Kind_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ContainerError_Kind_descriptor(); -inline const ::std::string& ContainerError_Kind_Name(ContainerError_Kind value) { - return ::google::protobuf::internal::NameOfEnum( - ContainerError_Kind_descriptor(), value); -} -inline bool ContainerError_Kind_Parse( - const ::std::string& name, ContainerError_Kind* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ContainerError_Kind_descriptor(), name, value); -} -// =================================================================== - -class ContainerError final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ContainerError) */ { - public: - ContainerError(); - virtual ~ContainerError(); - - ContainerError(const ContainerError& from); - - inline ContainerError& operator=(const ContainerError& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ContainerError(ContainerError&& from) noexcept - : ContainerError() { - *this = ::std::move(from); - } - - inline ContainerError& operator=(ContainerError&& 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 ContainerError& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ContainerError* internal_default_instance() { - return reinterpret_cast( - &_ContainerError_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ContainerError* other); - friend void swap(ContainerError& a, ContainerError& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ContainerError* New() const final { - return CreateMaybeMessage(nullptr); - } - - ContainerError* 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 ContainerError& from); - void MergeFrom(const ContainerError& 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(ContainerError* 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 ContainerError_Kind Kind; - static const Kind NON_RECOVERABLE = - ContainerError_Kind_NON_RECOVERABLE; - static const Kind RECOVERABLE = - ContainerError_Kind_RECOVERABLE; - static inline bool Kind_IsValid(int value) { - return ContainerError_Kind_IsValid(value); - } - static const Kind Kind_MIN = - ContainerError_Kind_Kind_MIN; - static const Kind Kind_MAX = - ContainerError_Kind_Kind_MAX; - static const int Kind_ARRAYSIZE = - ContainerError_Kind_Kind_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Kind_descriptor() { - return ContainerError_Kind_descriptor(); - } - static inline const ::std::string& Kind_Name(Kind value) { - return ContainerError_Kind_Name(value); - } - static inline bool Kind_Parse(const ::std::string& name, - Kind* value) { - return ContainerError_Kind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string code = 1; - void clear_code(); - static const int kCodeFieldNumber = 1; - const ::std::string& code() const; - void set_code(const ::std::string& value); - #if LANG_CXX11 - void set_code(::std::string&& value); - #endif - void set_code(const char* value); - void set_code(const char* value, size_t size); - ::std::string* mutable_code(); - ::std::string* release_code(); - void set_allocated_code(::std::string* code); - - // 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.ContainerError.Kind kind = 3; - void clear_kind(); - static const int kKindFieldNumber = 3; - ::flyteidl::core::ContainerError_Kind kind() const; - void set_kind(::flyteidl::core::ContainerError_Kind value); - - // .flyteidl.core.ExecutionError.ErrorKind origin = 4; - void clear_origin(); - static const int kOriginFieldNumber = 4; - ::flyteidl::core::ExecutionError_ErrorKind origin() const; - void set_origin(::flyteidl::core::ExecutionError_ErrorKind value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ContainerError) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr code_; - ::google::protobuf::internal::ArenaStringPtr message_; - int kind_; - int origin_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ferrors_2eproto; -}; -// ------------------------------------------------------------------- - -class ErrorDocument final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ErrorDocument) */ { - public: - ErrorDocument(); - virtual ~ErrorDocument(); - - ErrorDocument(const ErrorDocument& from); - - inline ErrorDocument& operator=(const ErrorDocument& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ErrorDocument(ErrorDocument&& from) noexcept - : ErrorDocument() { - *this = ::std::move(from); - } - - inline ErrorDocument& operator=(ErrorDocument&& 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 ErrorDocument& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ErrorDocument* internal_default_instance() { - return reinterpret_cast( - &_ErrorDocument_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(ErrorDocument* other); - friend void swap(ErrorDocument& a, ErrorDocument& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ErrorDocument* New() const final { - return CreateMaybeMessage(nullptr); - } - - ErrorDocument* 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 ErrorDocument& from); - void MergeFrom(const ErrorDocument& 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(ErrorDocument* 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.ContainerError error = 1; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 1; - const ::flyteidl::core::ContainerError& error() const; - ::flyteidl::core::ContainerError* release_error(); - ::flyteidl::core::ContainerError* mutable_error(); - void set_allocated_error(::flyteidl::core::ContainerError* error); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ErrorDocument) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::ContainerError* error_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ferrors_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ContainerError - -// string code = 1; -inline void ContainerError::clear_code() { - code_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ContainerError::code() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ContainerError.code) - return code_.GetNoArena(); -} -inline void ContainerError::set_code(const ::std::string& value) { - - code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ContainerError.code) -} -#if LANG_CXX11 -inline void ContainerError::set_code(::std::string&& value) { - - code_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ContainerError.code) -} -#endif -inline void ContainerError::set_code(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ContainerError.code) -} -inline void ContainerError::set_code(const char* value, size_t size) { - - code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ContainerError.code) -} -inline ::std::string* ContainerError::mutable_code() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ContainerError.code) - return code_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ContainerError::release_code() { - // @@protoc_insertion_point(field_release:flyteidl.core.ContainerError.code) - - return code_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ContainerError::set_allocated_code(::std::string* code) { - if (code != nullptr) { - - } else { - - } - code_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), code); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ContainerError.code) -} - -// string message = 2; -inline void ContainerError::clear_message() { - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ContainerError::message() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ContainerError.message) - return message_.GetNoArena(); -} -inline void ContainerError::set_message(const ::std::string& value) { - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ContainerError.message) -} -#if LANG_CXX11 -inline void ContainerError::set_message(::std::string&& value) { - - message_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ContainerError.message) -} -#endif -inline void ContainerError::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.ContainerError.message) -} -inline void ContainerError::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.ContainerError.message) -} -inline ::std::string* ContainerError::mutable_message() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ContainerError.message) - return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ContainerError::release_message() { - // @@protoc_insertion_point(field_release:flyteidl.core.ContainerError.message) - - return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ContainerError::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.ContainerError.message) -} - -// .flyteidl.core.ContainerError.Kind kind = 3; -inline void ContainerError::clear_kind() { - kind_ = 0; -} -inline ::flyteidl::core::ContainerError_Kind ContainerError::kind() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ContainerError.kind) - return static_cast< ::flyteidl::core::ContainerError_Kind >(kind_); -} -inline void ContainerError::set_kind(::flyteidl::core::ContainerError_Kind value) { - - kind_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ContainerError.kind) -} - -// .flyteidl.core.ExecutionError.ErrorKind origin = 4; -inline void ContainerError::clear_origin() { - origin_ = 0; -} -inline ::flyteidl::core::ExecutionError_ErrorKind ContainerError::origin() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ContainerError.origin) - return static_cast< ::flyteidl::core::ExecutionError_ErrorKind >(origin_); -} -inline void ContainerError::set_origin(::flyteidl::core::ExecutionError_ErrorKind value) { - - origin_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ContainerError.origin) -} - -// ------------------------------------------------------------------- - -// ErrorDocument - -// .flyteidl.core.ContainerError error = 1; -inline bool ErrorDocument::has_error() const { - return this != internal_default_instance() && error_ != nullptr; -} -inline void ErrorDocument::clear_error() { - if (GetArenaNoVirtual() == nullptr && error_ != nullptr) { - delete error_; - } - error_ = nullptr; -} -inline const ::flyteidl::core::ContainerError& ErrorDocument::error() const { - const ::flyteidl::core::ContainerError* p = error_; - // @@protoc_insertion_point(field_get:flyteidl.core.ErrorDocument.error) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ContainerError_default_instance_); -} -inline ::flyteidl::core::ContainerError* ErrorDocument::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.core.ErrorDocument.error) - - ::flyteidl::core::ContainerError* temp = error_; - error_ = nullptr; - return temp; -} -inline ::flyteidl::core::ContainerError* ErrorDocument::mutable_error() { - - if (error_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ContainerError>(GetArenaNoVirtual()); - error_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ErrorDocument.error) - return error_; -} -inline void ErrorDocument::set_allocated_error(::flyteidl::core::ContainerError* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete error_; - } - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - - } else { - - } - error_ = error; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ErrorDocument.error) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::ContainerError_Kind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::ContainerError_Kind>() { - return ::flyteidl::core::ContainerError_Kind_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2ferrors_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/execution.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/execution.grpc.pb.cc deleted file mode 100644 index e3dc0e7ad2..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/execution.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/execution.proto - -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/execution.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/execution.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/execution.grpc.pb.h deleted file mode 100644 index ad903a7355..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/execution.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/execution.proto -#ifndef GRPC_flyteidl_2fcore_2fexecution_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fexecution_2eproto__INCLUDED - -#include "flyteidl/core/execution.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fexecution_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/execution.pb.cc deleted file mode 100644 index 2573dbaf41..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/execution.pb.cc +++ /dev/null @@ -1,2798 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/execution.proto - -#include "flyteidl/core/execution.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -namespace flyteidl { -namespace core { -class WorkflowExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecution_default_instance_; -class NodeExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecution_default_instance_; -class TaskExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecution_default_instance_; -class ExecutionErrorDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionError_default_instance_; -class TaskLogDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskLog_default_instance_; -class QualityOfServiceSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _QualityOfServiceSpec_default_instance_; -class QualityOfServiceDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - int tier_; - const ::flyteidl::core::QualityOfServiceSpec* spec_; -} _QualityOfService_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsWorkflowExecution_flyteidl_2fcore_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowExecution_default_instance_; - new (ptr) ::flyteidl::core::WorkflowExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::WorkflowExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecution_flyteidl_2fcore_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowExecution_flyteidl_2fcore_2fexecution_2eproto}, {}}; - -static void InitDefaultsNodeExecution_flyteidl_2fcore_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_NodeExecution_default_instance_; - new (ptr) ::flyteidl::core::NodeExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::NodeExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_NodeExecution_flyteidl_2fcore_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNodeExecution_flyteidl_2fcore_2fexecution_2eproto}, {}}; - -static void InitDefaultsTaskExecution_flyteidl_2fcore_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskExecution_default_instance_; - new (ptr) ::flyteidl::core::TaskExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TaskExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskExecution_flyteidl_2fcore_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskExecution_flyteidl_2fcore_2fexecution_2eproto}, {}}; - -static void InitDefaultsExecutionError_flyteidl_2fcore_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ExecutionError_default_instance_; - new (ptr) ::flyteidl::core::ExecutionError(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ExecutionError::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionError_flyteidl_2fcore_2fexecution_2eproto}, {}}; - -static void InitDefaultsTaskLog_flyteidl_2fcore_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskLog_default_instance_; - new (ptr) ::flyteidl::core::TaskLog(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TaskLog::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskLog_flyteidl_2fcore_2fexecution_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsQualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_QualityOfServiceSpec_default_instance_; - new (ptr) ::flyteidl::core::QualityOfServiceSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::QualityOfServiceSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsQualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsQualityOfService_flyteidl_2fcore_2fexecution_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_QualityOfService_default_instance_; - new (ptr) ::flyteidl::core::QualityOfService(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::QualityOfService::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsQualityOfService_flyteidl_2fcore_2fexecution_2eproto}, { - &scc_info_QualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fexecution_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecution_flyteidl_2fcore_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecution_flyteidl_2fcore_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecution_flyteidl_2fcore_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_QualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[7]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2fexecution_2eproto[6]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fexecution_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fexecution_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionError, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionError, code_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionError, message_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionError, error_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionError, kind_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskLog, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskLog, uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskLog, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskLog, message_format_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskLog, ttl_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::QualityOfServiceSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::QualityOfServiceSpec, queueing_budget_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::QualityOfService, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::QualityOfService, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::QualityOfServiceDefaultTypeInternal, tier_), - offsetof(::flyteidl::core::QualityOfServiceDefaultTypeInternal, spec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::QualityOfService, designation_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::WorkflowExecution)}, - { 5, -1, sizeof(::flyteidl::core::NodeExecution)}, - { 10, -1, sizeof(::flyteidl::core::TaskExecution)}, - { 15, -1, sizeof(::flyteidl::core::ExecutionError)}, - { 24, -1, sizeof(::flyteidl::core::TaskLog)}, - { 33, -1, sizeof(::flyteidl::core::QualityOfServiceSpec)}, - { 39, -1, sizeof(::flyteidl::core::QualityOfService)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_WorkflowExecution_default_instance_), - reinterpret_cast(&::flyteidl::core::_NodeExecution_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskExecution_default_instance_), - reinterpret_cast(&::flyteidl::core::_ExecutionError_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskLog_default_instance_), - reinterpret_cast(&::flyteidl::core::_QualityOfServiceSpec_default_instance_), - reinterpret_cast(&::flyteidl::core::_QualityOfService_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, "flyteidl/core/execution.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fexecution_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fexecution_2eproto, 7, file_level_enum_descriptors_flyteidl_2fcore_2fexecution_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fexecution_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fexecution_2eproto[] = - "\n\035flyteidl/core/execution.proto\022\rflyteid" - "l.core\032\036google/protobuf/duration.proto\"\247" - "\001\n\021WorkflowExecution\"\221\001\n\005Phase\022\r\n\tUNDEFI" - "NED\020\000\022\n\n\006QUEUED\020\001\022\013\n\007RUNNING\020\002\022\016\n\nSUCCEE" - "DING\020\003\022\r\n\tSUCCEEDED\020\004\022\013\n\007FAILING\020\005\022\n\n\006FA" - "ILED\020\006\022\013\n\007ABORTED\020\007\022\r\n\tTIMED_OUT\020\010\022\014\n\010AB" - "ORTING\020\t\"\266\001\n\rNodeExecution\"\244\001\n\005Phase\022\r\n\t" - "UNDEFINED\020\000\022\n\n\006QUEUED\020\001\022\013\n\007RUNNING\020\002\022\r\n\t" - "SUCCEEDED\020\003\022\013\n\007FAILING\020\004\022\n\n\006FAILED\020\005\022\013\n\007" - "ABORTED\020\006\022\013\n\007SKIPPED\020\007\022\r\n\tTIMED_OUT\020\010\022\023\n" - "\017DYNAMIC_RUNNING\020\t\022\r\n\tRECOVERED\020\n\"\226\001\n\rTa" - "skExecution\"\204\001\n\005Phase\022\r\n\tUNDEFINED\020\000\022\n\n\006" - "QUEUED\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\013\n\007" - "ABORTED\020\004\022\n\n\006FAILED\020\005\022\020\n\014INITIALIZING\020\006\022" - "\031\n\025WAITING_FOR_RESOURCES\020\007\"\251\001\n\016Execution" - "Error\022\014\n\004code\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\022\021\n\t" - "error_uri\030\003 \001(\t\0225\n\004kind\030\004 \001(\0162\'.flyteidl" - ".core.ExecutionError.ErrorKind\".\n\tErrorK" - "ind\022\013\n\007UNKNOWN\020\000\022\010\n\004USER\020\001\022\n\n\006SYSTEM\020\002\"\273" - "\001\n\007TaskLog\022\013\n\003uri\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022<\n" - "\016message_format\030\003 \001(\0162$.flyteidl.core.Ta" - "skLog.MessageFormat\022&\n\003ttl\030\004 \001(\0132\031.googl" - "e.protobuf.Duration\"/\n\rMessageFormat\022\013\n\007" - "UNKNOWN\020\000\022\007\n\003CSV\020\001\022\010\n\004JSON\020\002\"J\n\024QualityO" - "fServiceSpec\0222\n\017queueing_budget\030\001 \001(\0132\031." - "google.protobuf.Duration\"\302\001\n\020QualityOfSe" - "rvice\0224\n\004tier\030\001 \001(\0162$.flyteidl.core.Qual" - "ityOfService.TierH\000\0223\n\004spec\030\002 \001(\0132#.flyt" - "eidl.core.QualityOfServiceSpecH\000\"4\n\004Tier" - "\022\r\n\tUNDEFINED\020\000\022\010\n\004HIGH\020\001\022\n\n\006MEDIUM\020\002\022\007\n" - "\003LOW\020\003B\r\n\013designationB= 1900 -const WorkflowExecution_Phase WorkflowExecution::UNDEFINED; -const WorkflowExecution_Phase WorkflowExecution::QUEUED; -const WorkflowExecution_Phase WorkflowExecution::RUNNING; -const WorkflowExecution_Phase WorkflowExecution::SUCCEEDING; -const WorkflowExecution_Phase WorkflowExecution::SUCCEEDED; -const WorkflowExecution_Phase WorkflowExecution::FAILING; -const WorkflowExecution_Phase WorkflowExecution::FAILED; -const WorkflowExecution_Phase WorkflowExecution::ABORTED; -const WorkflowExecution_Phase WorkflowExecution::TIMED_OUT; -const WorkflowExecution_Phase WorkflowExecution::ABORTING; -const WorkflowExecution_Phase WorkflowExecution::Phase_MIN; -const WorkflowExecution_Phase WorkflowExecution::Phase_MAX; -const int WorkflowExecution::Phase_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* NodeExecution_Phase_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fexecution_2eproto[1]; -} -bool NodeExecution_Phase_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const NodeExecution_Phase NodeExecution::UNDEFINED; -const NodeExecution_Phase NodeExecution::QUEUED; -const NodeExecution_Phase NodeExecution::RUNNING; -const NodeExecution_Phase NodeExecution::SUCCEEDED; -const NodeExecution_Phase NodeExecution::FAILING; -const NodeExecution_Phase NodeExecution::FAILED; -const NodeExecution_Phase NodeExecution::ABORTED; -const NodeExecution_Phase NodeExecution::SKIPPED; -const NodeExecution_Phase NodeExecution::TIMED_OUT; -const NodeExecution_Phase NodeExecution::DYNAMIC_RUNNING; -const NodeExecution_Phase NodeExecution::RECOVERED; -const NodeExecution_Phase NodeExecution::Phase_MIN; -const NodeExecution_Phase NodeExecution::Phase_MAX; -const int NodeExecution::Phase_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* TaskExecution_Phase_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fexecution_2eproto[2]; -} -bool TaskExecution_Phase_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const TaskExecution_Phase TaskExecution::UNDEFINED; -const TaskExecution_Phase TaskExecution::QUEUED; -const TaskExecution_Phase TaskExecution::RUNNING; -const TaskExecution_Phase TaskExecution::SUCCEEDED; -const TaskExecution_Phase TaskExecution::ABORTED; -const TaskExecution_Phase TaskExecution::FAILED; -const TaskExecution_Phase TaskExecution::INITIALIZING; -const TaskExecution_Phase TaskExecution::WAITING_FOR_RESOURCES; -const TaskExecution_Phase TaskExecution::Phase_MIN; -const TaskExecution_Phase TaskExecution::Phase_MAX; -const int TaskExecution::Phase_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* ExecutionError_ErrorKind_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fexecution_2eproto[3]; -} -bool ExecutionError_ErrorKind_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const ExecutionError_ErrorKind ExecutionError::UNKNOWN; -const ExecutionError_ErrorKind ExecutionError::USER; -const ExecutionError_ErrorKind ExecutionError::SYSTEM; -const ExecutionError_ErrorKind ExecutionError::ErrorKind_MIN; -const ExecutionError_ErrorKind ExecutionError::ErrorKind_MAX; -const int ExecutionError::ErrorKind_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* TaskLog_MessageFormat_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fexecution_2eproto[4]; -} -bool TaskLog_MessageFormat_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const TaskLog_MessageFormat TaskLog::UNKNOWN; -const TaskLog_MessageFormat TaskLog::CSV; -const TaskLog_MessageFormat TaskLog::JSON; -const TaskLog_MessageFormat TaskLog::MessageFormat_MIN; -const TaskLog_MessageFormat TaskLog::MessageFormat_MAX; -const int TaskLog::MessageFormat_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* QualityOfService_Tier_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fexecution_2eproto[5]; -} -bool QualityOfService_Tier_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const QualityOfService_Tier QualityOfService::UNDEFINED; -const QualityOfService_Tier QualityOfService::HIGH; -const QualityOfService_Tier QualityOfService::MEDIUM; -const QualityOfService_Tier QualityOfService::LOW; -const QualityOfService_Tier QualityOfService::Tier_MIN; -const QualityOfService_Tier QualityOfService::Tier_MAX; -const int QualityOfService::Tier_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void WorkflowExecution::InitAsDefaultInstance() { -} -class WorkflowExecution::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecution::WorkflowExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.WorkflowExecution) -} -WorkflowExecution::WorkflowExecution(const WorkflowExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.WorkflowExecution) -} - -void WorkflowExecution::SharedCtor() { -} - -WorkflowExecution::~WorkflowExecution() { - // @@protoc_insertion_point(destructor:flyteidl.core.WorkflowExecution) - SharedDtor(); -} - -void WorkflowExecution::SharedDtor() { -} - -void WorkflowExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecution& WorkflowExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecution_flyteidl_2fcore_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.WorkflowExecution) - ::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* WorkflowExecution::_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 WorkflowExecution::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.WorkflowExecution) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.WorkflowExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.WorkflowExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.WorkflowExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.WorkflowExecution) -} - -::google::protobuf::uint8* WorkflowExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.WorkflowExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.WorkflowExecution) - return target; -} - -size_t WorkflowExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.WorkflowExecution) - 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 WorkflowExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.WorkflowExecution) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.WorkflowExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.WorkflowExecution) - MergeFrom(*source); - } -} - -void WorkflowExecution::MergeFrom(const WorkflowExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.WorkflowExecution) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void WorkflowExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.WorkflowExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecution::CopyFrom(const WorkflowExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.WorkflowExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecution::IsInitialized() const { - return true; -} - -void WorkflowExecution::Swap(WorkflowExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecution::InternalSwap(WorkflowExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata WorkflowExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecution::InitAsDefaultInstance() { -} -class NodeExecution::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecution::NodeExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.NodeExecution) -} -NodeExecution::NodeExecution(const NodeExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.NodeExecution) -} - -void NodeExecution::SharedCtor() { -} - -NodeExecution::~NodeExecution() { - // @@protoc_insertion_point(destructor:flyteidl.core.NodeExecution) - SharedDtor(); -} - -void NodeExecution::SharedDtor() { -} - -void NodeExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecution& NodeExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecution_flyteidl_2fcore_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.NodeExecution) - ::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* NodeExecution::_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 NodeExecution::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.NodeExecution) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.NodeExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.NodeExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.NodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.NodeExecution) -} - -::google::protobuf::uint8* NodeExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.NodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.NodeExecution) - return target; -} - -size_t NodeExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.NodeExecution) - 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 NodeExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.NodeExecution) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.NodeExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.NodeExecution) - MergeFrom(*source); - } -} - -void NodeExecution::MergeFrom(const NodeExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.NodeExecution) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void NodeExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.NodeExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecution::CopyFrom(const NodeExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.NodeExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecution::IsInitialized() const { - return true; -} - -void NodeExecution::Swap(NodeExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecution::InternalSwap(NodeExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata NodeExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecution::InitAsDefaultInstance() { -} -class TaskExecution::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecution::TaskExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TaskExecution) -} -TaskExecution::TaskExecution(const TaskExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TaskExecution) -} - -void TaskExecution::SharedCtor() { -} - -TaskExecution::~TaskExecution() { - // @@protoc_insertion_point(destructor:flyteidl.core.TaskExecution) - SharedDtor(); -} - -void TaskExecution::SharedDtor() { -} - -void TaskExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecution& TaskExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecution_flyteidl_2fcore_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TaskExecution) - ::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* TaskExecution::_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 TaskExecution::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.TaskExecution) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.TaskExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TaskExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.TaskExecution) -} - -::google::protobuf::uint8* TaskExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.TaskExecution) - return target; -} - -size_t TaskExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TaskExecution) - 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 TaskExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TaskExecution) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TaskExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TaskExecution) - MergeFrom(*source); - } -} - -void TaskExecution::MergeFrom(const TaskExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TaskExecution) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void TaskExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TaskExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecution::CopyFrom(const TaskExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TaskExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecution::IsInitialized() const { - return true; -} - -void TaskExecution::Swap(TaskExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecution::InternalSwap(TaskExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata TaskExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionError::InitAsDefaultInstance() { -} -class ExecutionError::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionError::kCodeFieldNumber; -const int ExecutionError::kMessageFieldNumber; -const int ExecutionError::kErrorUriFieldNumber; -const int ExecutionError::kKindFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionError::ExecutionError() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ExecutionError) -} -ExecutionError::ExecutionError(const ExecutionError& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.code().size() > 0) { - code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.code_); - } - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.message().size() > 0) { - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - error_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.error_uri().size() > 0) { - error_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.error_uri_); - } - kind_ = from.kind_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ExecutionError) -} - -void ExecutionError::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base); - code_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - error_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kind_ = 0; -} - -ExecutionError::~ExecutionError() { - // @@protoc_insertion_point(destructor:flyteidl.core.ExecutionError) - SharedDtor(); -} - -void ExecutionError::SharedDtor() { - code_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - error_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ExecutionError::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionError& ExecutionError::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionError::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ExecutionError) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - code_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - error_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - kind_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionError::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string code = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ExecutionError.code"); - object = msg->mutable_code(); - 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 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.ExecutionError.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; - } - // string error_uri = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ExecutionError.error_uri"); - object = msg->mutable_error_uri(); - 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.ExecutionError.ErrorKind kind = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_kind(static_cast<::flyteidl::core::ExecutionError_ErrorKind>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 ExecutionError::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.ExecutionError) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string code = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_code())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code().data(), static_cast(this->code().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ExecutionError.code")); - } 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.ExecutionError.message")); - } else { - goto handle_unusual; - } - break; - } - - // string error_uri = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_error_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->error_uri().data(), static_cast(this->error_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ExecutionError.error_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError.ErrorKind kind = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_kind(static_cast< ::flyteidl::core::ExecutionError_ErrorKind >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.ExecutionError) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ExecutionError) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionError::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ExecutionError) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string code = 1; - if (this->code().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code().data(), static_cast(this->code().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ExecutionError.code"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 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.ExecutionError.message"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->message(), output); - } - - // string error_uri = 3; - if (this->error_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->error_uri().data(), static_cast(this->error_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ExecutionError.error_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->error_uri(), output); - } - - // .flyteidl.core.ExecutionError.ErrorKind kind = 4; - if (this->kind() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->kind(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ExecutionError) -} - -::google::protobuf::uint8* ExecutionError::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ExecutionError) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string code = 1; - if (this->code().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code().data(), static_cast(this->code().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ExecutionError.code"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 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.ExecutionError.message"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->message(), target); - } - - // string error_uri = 3; - if (this->error_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->error_uri().data(), static_cast(this->error_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ExecutionError.error_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->error_uri(), target); - } - - // .flyteidl.core.ExecutionError.ErrorKind kind = 4; - if (this->kind() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->kind(), 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.ExecutionError) - return target; -} - -size_t ExecutionError::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ExecutionError) - 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 code = 1; - if (this->code().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->code()); - } - - // string message = 2; - if (this->message().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->message()); - } - - // string error_uri = 3; - if (this->error_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->error_uri()); - } - - // .flyteidl.core.ExecutionError.ErrorKind kind = 4; - if (this->kind() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->kind()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionError::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ExecutionError) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionError* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ExecutionError) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ExecutionError) - MergeFrom(*source); - } -} - -void ExecutionError::MergeFrom(const ExecutionError& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ExecutionError) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.code().size() > 0) { - - code_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.code_); - } - if (from.message().size() > 0) { - - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - if (from.error_uri().size() > 0) { - - error_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.error_uri_); - } - if (from.kind() != 0) { - set_kind(from.kind()); - } -} - -void ExecutionError::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ExecutionError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionError::CopyFrom(const ExecutionError& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ExecutionError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionError::IsInitialized() const { - return true; -} - -void ExecutionError::Swap(ExecutionError* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionError::InternalSwap(ExecutionError* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - code_.Swap(&other->code_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - message_.Swap(&other->message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - error_uri_.Swap(&other->error_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(kind_, other->kind_); -} - -::google::protobuf::Metadata ExecutionError::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskLog::InitAsDefaultInstance() { - ::flyteidl::core::_TaskLog_default_instance_._instance.get_mutable()->ttl_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class TaskLog::HasBitSetters { - public: - static const ::google::protobuf::Duration& ttl(const TaskLog* msg); -}; - -const ::google::protobuf::Duration& -TaskLog::HasBitSetters::ttl(const TaskLog* msg) { - return *msg->ttl_; -} -void TaskLog::clear_ttl() { - if (GetArenaNoVirtual() == nullptr && ttl_ != nullptr) { - delete ttl_; - } - ttl_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskLog::kUriFieldNumber; -const int TaskLog::kNameFieldNumber; -const int TaskLog::kMessageFormatFieldNumber; -const int TaskLog::kTtlFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskLog::TaskLog() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TaskLog) -} -TaskLog::TaskLog(const TaskLog& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.uri().size() > 0) { - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_ttl()) { - ttl_ = new ::google::protobuf::Duration(*from.ttl_); - } else { - ttl_ = nullptr; - } - message_format_ = from.message_format_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TaskLog) -} - -void TaskLog::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&ttl_, 0, static_cast( - reinterpret_cast(&message_format_) - - reinterpret_cast(&ttl_)) + sizeof(message_format_)); -} - -TaskLog::~TaskLog() { - // @@protoc_insertion_point(destructor:flyteidl.core.TaskLog) - SharedDtor(); -} - -void TaskLog::SharedDtor() { - uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete ttl_; -} - -void TaskLog::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskLog& TaskLog::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void TaskLog::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TaskLog) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && ttl_ != nullptr) { - delete ttl_; - } - ttl_ = nullptr; - message_format_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskLog::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string uri = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.TaskLog.uri"); - object = msg->mutable_uri(); - 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 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("flyteidl.core.TaskLog.name"); - object = msg->mutable_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; - } - // .flyteidl.core.TaskLog.MessageFormat message_format = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_message_format(static_cast<::flyteidl::core::TaskLog_MessageFormat>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Duration ttl = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_ttl(); - 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 TaskLog::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.TaskLog) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string uri = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskLog.uri")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskLog.name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskLog.MessageFormat message_format = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_message_format(static_cast< ::flyteidl::core::TaskLog_MessageFormat >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration ttl = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_ttl())); - } 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.TaskLog) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TaskLog) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskLog::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TaskLog) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uri = 1; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskLog.uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->uri(), output); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskLog.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - // .flyteidl.core.TaskLog.MessageFormat message_format = 3; - if (this->message_format() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->message_format(), output); - } - - // .google.protobuf.Duration ttl = 4; - if (this->has_ttl()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::ttl(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.TaskLog) -} - -::google::protobuf::uint8* TaskLog::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TaskLog) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uri = 1; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskLog.uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->uri(), target); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskLog.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->name(), target); - } - - // .flyteidl.core.TaskLog.MessageFormat message_format = 3; - if (this->message_format() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->message_format(), target); - } - - // .google.protobuf.Duration ttl = 4; - if (this->has_ttl()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::ttl(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.TaskLog) - return target; -} - -size_t TaskLog::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TaskLog) - 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 uri = 1; - if (this->uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uri()); - } - - // string name = 2; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // .google.protobuf.Duration ttl = 4; - if (this->has_ttl()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *ttl_); - } - - // .flyteidl.core.TaskLog.MessageFormat message_format = 3; - if (this->message_format() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->message_format()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskLog::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TaskLog) - GOOGLE_DCHECK_NE(&from, this); - const TaskLog* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TaskLog) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TaskLog) - MergeFrom(*source); - } -} - -void TaskLog::MergeFrom(const TaskLog& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TaskLog) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.uri().size() > 0) { - - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_ttl()) { - mutable_ttl()->::google::protobuf::Duration::MergeFrom(from.ttl()); - } - if (from.message_format() != 0) { - set_message_format(from.message_format()); - } -} - -void TaskLog::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TaskLog) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskLog::CopyFrom(const TaskLog& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TaskLog) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskLog::IsInitialized() const { - return true; -} - -void TaskLog::Swap(TaskLog* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskLog::InternalSwap(TaskLog* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uri_.Swap(&other->uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(ttl_, other->ttl_); - swap(message_format_, other->message_format_); -} - -::google::protobuf::Metadata TaskLog::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void QualityOfServiceSpec::InitAsDefaultInstance() { - ::flyteidl::core::_QualityOfServiceSpec_default_instance_._instance.get_mutable()->queueing_budget_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class QualityOfServiceSpec::HasBitSetters { - public: - static const ::google::protobuf::Duration& queueing_budget(const QualityOfServiceSpec* msg); -}; - -const ::google::protobuf::Duration& -QualityOfServiceSpec::HasBitSetters::queueing_budget(const QualityOfServiceSpec* msg) { - return *msg->queueing_budget_; -} -void QualityOfServiceSpec::clear_queueing_budget() { - if (GetArenaNoVirtual() == nullptr && queueing_budget_ != nullptr) { - delete queueing_budget_; - } - queueing_budget_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int QualityOfServiceSpec::kQueueingBudgetFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -QualityOfServiceSpec::QualityOfServiceSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.QualityOfServiceSpec) -} -QualityOfServiceSpec::QualityOfServiceSpec(const QualityOfServiceSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_queueing_budget()) { - queueing_budget_ = new ::google::protobuf::Duration(*from.queueing_budget_); - } else { - queueing_budget_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.QualityOfServiceSpec) -} - -void QualityOfServiceSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_QualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto.base); - queueing_budget_ = nullptr; -} - -QualityOfServiceSpec::~QualityOfServiceSpec() { - // @@protoc_insertion_point(destructor:flyteidl.core.QualityOfServiceSpec) - SharedDtor(); -} - -void QualityOfServiceSpec::SharedDtor() { - if (this != internal_default_instance()) delete queueing_budget_; -} - -void QualityOfServiceSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const QualityOfServiceSpec& QualityOfServiceSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_QualityOfServiceSpec_flyteidl_2fcore_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void QualityOfServiceSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.QualityOfServiceSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && queueing_budget_ != nullptr) { - delete queueing_budget_; - } - queueing_budget_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* QualityOfServiceSpec::_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) { - // .google.protobuf.Duration queueing_budget = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_queueing_budget(); - 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 QualityOfServiceSpec::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.QualityOfServiceSpec) - 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)) { - // .google.protobuf.Duration queueing_budget = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_queueing_budget())); - } 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.QualityOfServiceSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.QualityOfServiceSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void QualityOfServiceSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.QualityOfServiceSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Duration queueing_budget = 1; - if (this->has_queueing_budget()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::queueing_budget(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.QualityOfServiceSpec) -} - -::google::protobuf::uint8* QualityOfServiceSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.QualityOfServiceSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Duration queueing_budget = 1; - if (this->has_queueing_budget()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::queueing_budget(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.QualityOfServiceSpec) - return target; -} - -size_t QualityOfServiceSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.QualityOfServiceSpec) - 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; - - // .google.protobuf.Duration queueing_budget = 1; - if (this->has_queueing_budget()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *queueing_budget_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void QualityOfServiceSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.QualityOfServiceSpec) - GOOGLE_DCHECK_NE(&from, this); - const QualityOfServiceSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.QualityOfServiceSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.QualityOfServiceSpec) - MergeFrom(*source); - } -} - -void QualityOfServiceSpec::MergeFrom(const QualityOfServiceSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.QualityOfServiceSpec) - 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_queueing_budget()) { - mutable_queueing_budget()->::google::protobuf::Duration::MergeFrom(from.queueing_budget()); - } -} - -void QualityOfServiceSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.QualityOfServiceSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void QualityOfServiceSpec::CopyFrom(const QualityOfServiceSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.QualityOfServiceSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool QualityOfServiceSpec::IsInitialized() const { - return true; -} - -void QualityOfServiceSpec::Swap(QualityOfServiceSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void QualityOfServiceSpec::InternalSwap(QualityOfServiceSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(queueing_budget_, other->queueing_budget_); -} - -::google::protobuf::Metadata QualityOfServiceSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void QualityOfService::InitAsDefaultInstance() { - ::flyteidl::core::_QualityOfService_default_instance_.tier_ = 0; - ::flyteidl::core::_QualityOfService_default_instance_.spec_ = const_cast< ::flyteidl::core::QualityOfServiceSpec*>( - ::flyteidl::core::QualityOfServiceSpec::internal_default_instance()); -} -class QualityOfService::HasBitSetters { - public: - static const ::flyteidl::core::QualityOfServiceSpec& spec(const QualityOfService* msg); -}; - -const ::flyteidl::core::QualityOfServiceSpec& -QualityOfService::HasBitSetters::spec(const QualityOfService* msg) { - return *msg->designation_.spec_; -} -void QualityOfService::set_allocated_spec(::flyteidl::core::QualityOfServiceSpec* spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_designation(); - if (spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, spec, submessage_arena); - } - set_has_spec(); - designation_.spec_ = spec; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.QualityOfService.spec) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int QualityOfService::kTierFieldNumber; -const int QualityOfService::kSpecFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -QualityOfService::QualityOfService() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.QualityOfService) -} -QualityOfService::QualityOfService(const QualityOfService& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_designation(); - switch (from.designation_case()) { - case kTier: { - set_tier(from.tier()); - break; - } - case kSpec: { - mutable_spec()->::flyteidl::core::QualityOfServiceSpec::MergeFrom(from.spec()); - break; - } - case DESIGNATION_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.QualityOfService) -} - -void QualityOfService::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base); - clear_has_designation(); -} - -QualityOfService::~QualityOfService() { - // @@protoc_insertion_point(destructor:flyteidl.core.QualityOfService) - SharedDtor(); -} - -void QualityOfService::SharedDtor() { - if (has_designation()) { - clear_designation(); - } -} - -void QualityOfService::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const QualityOfService& QualityOfService::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base); - return *internal_default_instance(); -} - - -void QualityOfService::clear_designation() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.QualityOfService) - switch (designation_case()) { - case kTier: { - // No need to clear - break; - } - case kSpec: { - delete designation_.spec_; - break; - } - case DESIGNATION_NOT_SET: { - break; - } - } - _oneof_case_[0] = DESIGNATION_NOT_SET; -} - - -void QualityOfService::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.QualityOfService) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_designation(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* QualityOfService::_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.QualityOfService.Tier tier = 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_tier(static_cast<::flyteidl::core::QualityOfService_Tier>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.QualityOfServiceSpec spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::QualityOfServiceSpec::_InternalParse; - object = msg->mutable_spec(); - 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 QualityOfService::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.QualityOfService) - 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.QualityOfService.Tier tier = 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_tier(static_cast< ::flyteidl::core::QualityOfService_Tier >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.QualityOfServiceSpec spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_spec())); - } 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.QualityOfService) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.QualityOfService) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void QualityOfService::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.QualityOfService) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.QualityOfService.Tier tier = 1; - if (has_tier()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->tier(), output); - } - - // .flyteidl.core.QualityOfServiceSpec spec = 2; - if (has_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::spec(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.QualityOfService) -} - -::google::protobuf::uint8* QualityOfService::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.QualityOfService) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.QualityOfService.Tier tier = 1; - if (has_tier()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->tier(), target); - } - - // .flyteidl.core.QualityOfServiceSpec spec = 2; - if (has_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::spec(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.QualityOfService) - return target; -} - -size_t QualityOfService::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.QualityOfService) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (designation_case()) { - // .flyteidl.core.QualityOfService.Tier tier = 1; - case kTier: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->tier()); - break; - } - // .flyteidl.core.QualityOfServiceSpec spec = 2; - case kSpec: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *designation_.spec_); - break; - } - case DESIGNATION_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void QualityOfService::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.QualityOfService) - GOOGLE_DCHECK_NE(&from, this); - const QualityOfService* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.QualityOfService) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.QualityOfService) - MergeFrom(*source); - } -} - -void QualityOfService::MergeFrom(const QualityOfService& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.QualityOfService) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.designation_case()) { - case kTier: { - set_tier(from.tier()); - break; - } - case kSpec: { - mutable_spec()->::flyteidl::core::QualityOfServiceSpec::MergeFrom(from.spec()); - break; - } - case DESIGNATION_NOT_SET: { - break; - } - } -} - -void QualityOfService::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.QualityOfService) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void QualityOfService::CopyFrom(const QualityOfService& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.QualityOfService) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool QualityOfService::IsInitialized() const { - return true; -} - -void QualityOfService::Swap(QualityOfService* other) { - if (other == this) return; - InternalSwap(other); -} -void QualityOfService::InternalSwap(QualityOfService* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(designation_, other->designation_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata QualityOfService::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fexecution_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fexecution_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowExecution* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::NodeExecution* Arena::CreateMaybeMessage< ::flyteidl::core::NodeExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::NodeExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskExecution* Arena::CreateMaybeMessage< ::flyteidl::core::TaskExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ExecutionError* Arena::CreateMaybeMessage< ::flyteidl::core::ExecutionError >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ExecutionError >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskLog* Arena::CreateMaybeMessage< ::flyteidl::core::TaskLog >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskLog >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::QualityOfServiceSpec* Arena::CreateMaybeMessage< ::flyteidl::core::QualityOfServiceSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::QualityOfServiceSpec >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::QualityOfService* Arena::CreateMaybeMessage< ::flyteidl::core::QualityOfService >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::QualityOfService >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/execution.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/execution.pb.h deleted file mode 100644 index 6613332d60..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/execution.pb.h +++ /dev/null @@ -1,1897 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/execution.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fexecution_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fexecution_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 -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fexecution_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[7] - 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_2fcore_2fexecution_2eproto(); -namespace flyteidl { -namespace core { -class ExecutionError; -class ExecutionErrorDefaultTypeInternal; -extern ExecutionErrorDefaultTypeInternal _ExecutionError_default_instance_; -class NodeExecution; -class NodeExecutionDefaultTypeInternal; -extern NodeExecutionDefaultTypeInternal _NodeExecution_default_instance_; -class QualityOfService; -class QualityOfServiceDefaultTypeInternal; -extern QualityOfServiceDefaultTypeInternal _QualityOfService_default_instance_; -class QualityOfServiceSpec; -class QualityOfServiceSpecDefaultTypeInternal; -extern QualityOfServiceSpecDefaultTypeInternal _QualityOfServiceSpec_default_instance_; -class TaskExecution; -class TaskExecutionDefaultTypeInternal; -extern TaskExecutionDefaultTypeInternal _TaskExecution_default_instance_; -class TaskLog; -class TaskLogDefaultTypeInternal; -extern TaskLogDefaultTypeInternal _TaskLog_default_instance_; -class WorkflowExecution; -class WorkflowExecutionDefaultTypeInternal; -extern WorkflowExecutionDefaultTypeInternal _WorkflowExecution_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::ExecutionError* Arena::CreateMaybeMessage<::flyteidl::core::ExecutionError>(Arena*); -template<> ::flyteidl::core::NodeExecution* Arena::CreateMaybeMessage<::flyteidl::core::NodeExecution>(Arena*); -template<> ::flyteidl::core::QualityOfService* Arena::CreateMaybeMessage<::flyteidl::core::QualityOfService>(Arena*); -template<> ::flyteidl::core::QualityOfServiceSpec* Arena::CreateMaybeMessage<::flyteidl::core::QualityOfServiceSpec>(Arena*); -template<> ::flyteidl::core::TaskExecution* Arena::CreateMaybeMessage<::flyteidl::core::TaskExecution>(Arena*); -template<> ::flyteidl::core::TaskLog* Arena::CreateMaybeMessage<::flyteidl::core::TaskLog>(Arena*); -template<> ::flyteidl::core::WorkflowExecution* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowExecution>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum WorkflowExecution_Phase { - WorkflowExecution_Phase_UNDEFINED = 0, - WorkflowExecution_Phase_QUEUED = 1, - WorkflowExecution_Phase_RUNNING = 2, - WorkflowExecution_Phase_SUCCEEDING = 3, - WorkflowExecution_Phase_SUCCEEDED = 4, - WorkflowExecution_Phase_FAILING = 5, - WorkflowExecution_Phase_FAILED = 6, - WorkflowExecution_Phase_ABORTED = 7, - WorkflowExecution_Phase_TIMED_OUT = 8, - WorkflowExecution_Phase_ABORTING = 9, - WorkflowExecution_Phase_WorkflowExecution_Phase_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - WorkflowExecution_Phase_WorkflowExecution_Phase_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool WorkflowExecution_Phase_IsValid(int value); -const WorkflowExecution_Phase WorkflowExecution_Phase_Phase_MIN = WorkflowExecution_Phase_UNDEFINED; -const WorkflowExecution_Phase WorkflowExecution_Phase_Phase_MAX = WorkflowExecution_Phase_ABORTING; -const int WorkflowExecution_Phase_Phase_ARRAYSIZE = WorkflowExecution_Phase_Phase_MAX + 1; - -const ::google::protobuf::EnumDescriptor* WorkflowExecution_Phase_descriptor(); -inline const ::std::string& WorkflowExecution_Phase_Name(WorkflowExecution_Phase value) { - return ::google::protobuf::internal::NameOfEnum( - WorkflowExecution_Phase_descriptor(), value); -} -inline bool WorkflowExecution_Phase_Parse( - const ::std::string& name, WorkflowExecution_Phase* value) { - return ::google::protobuf::internal::ParseNamedEnum( - WorkflowExecution_Phase_descriptor(), name, value); -} -enum NodeExecution_Phase { - NodeExecution_Phase_UNDEFINED = 0, - NodeExecution_Phase_QUEUED = 1, - NodeExecution_Phase_RUNNING = 2, - NodeExecution_Phase_SUCCEEDED = 3, - NodeExecution_Phase_FAILING = 4, - NodeExecution_Phase_FAILED = 5, - NodeExecution_Phase_ABORTED = 6, - NodeExecution_Phase_SKIPPED = 7, - NodeExecution_Phase_TIMED_OUT = 8, - NodeExecution_Phase_DYNAMIC_RUNNING = 9, - NodeExecution_Phase_RECOVERED = 10, - NodeExecution_Phase_NodeExecution_Phase_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - NodeExecution_Phase_NodeExecution_Phase_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool NodeExecution_Phase_IsValid(int value); -const NodeExecution_Phase NodeExecution_Phase_Phase_MIN = NodeExecution_Phase_UNDEFINED; -const NodeExecution_Phase NodeExecution_Phase_Phase_MAX = NodeExecution_Phase_RECOVERED; -const int NodeExecution_Phase_Phase_ARRAYSIZE = NodeExecution_Phase_Phase_MAX + 1; - -const ::google::protobuf::EnumDescriptor* NodeExecution_Phase_descriptor(); -inline const ::std::string& NodeExecution_Phase_Name(NodeExecution_Phase value) { - return ::google::protobuf::internal::NameOfEnum( - NodeExecution_Phase_descriptor(), value); -} -inline bool NodeExecution_Phase_Parse( - const ::std::string& name, NodeExecution_Phase* value) { - return ::google::protobuf::internal::ParseNamedEnum( - NodeExecution_Phase_descriptor(), name, value); -} -enum TaskExecution_Phase { - TaskExecution_Phase_UNDEFINED = 0, - TaskExecution_Phase_QUEUED = 1, - TaskExecution_Phase_RUNNING = 2, - TaskExecution_Phase_SUCCEEDED = 3, - TaskExecution_Phase_ABORTED = 4, - TaskExecution_Phase_FAILED = 5, - TaskExecution_Phase_INITIALIZING = 6, - TaskExecution_Phase_WAITING_FOR_RESOURCES = 7, - TaskExecution_Phase_TaskExecution_Phase_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - TaskExecution_Phase_TaskExecution_Phase_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool TaskExecution_Phase_IsValid(int value); -const TaskExecution_Phase TaskExecution_Phase_Phase_MIN = TaskExecution_Phase_UNDEFINED; -const TaskExecution_Phase TaskExecution_Phase_Phase_MAX = TaskExecution_Phase_WAITING_FOR_RESOURCES; -const int TaskExecution_Phase_Phase_ARRAYSIZE = TaskExecution_Phase_Phase_MAX + 1; - -const ::google::protobuf::EnumDescriptor* TaskExecution_Phase_descriptor(); -inline const ::std::string& TaskExecution_Phase_Name(TaskExecution_Phase value) { - return ::google::protobuf::internal::NameOfEnum( - TaskExecution_Phase_descriptor(), value); -} -inline bool TaskExecution_Phase_Parse( - const ::std::string& name, TaskExecution_Phase* value) { - return ::google::protobuf::internal::ParseNamedEnum( - TaskExecution_Phase_descriptor(), name, value); -} -enum ExecutionError_ErrorKind { - ExecutionError_ErrorKind_UNKNOWN = 0, - ExecutionError_ErrorKind_USER = 1, - ExecutionError_ErrorKind_SYSTEM = 2, - ExecutionError_ErrorKind_ExecutionError_ErrorKind_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ExecutionError_ErrorKind_ExecutionError_ErrorKind_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ExecutionError_ErrorKind_IsValid(int value); -const ExecutionError_ErrorKind ExecutionError_ErrorKind_ErrorKind_MIN = ExecutionError_ErrorKind_UNKNOWN; -const ExecutionError_ErrorKind ExecutionError_ErrorKind_ErrorKind_MAX = ExecutionError_ErrorKind_SYSTEM; -const int ExecutionError_ErrorKind_ErrorKind_ARRAYSIZE = ExecutionError_ErrorKind_ErrorKind_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ExecutionError_ErrorKind_descriptor(); -inline const ::std::string& ExecutionError_ErrorKind_Name(ExecutionError_ErrorKind value) { - return ::google::protobuf::internal::NameOfEnum( - ExecutionError_ErrorKind_descriptor(), value); -} -inline bool ExecutionError_ErrorKind_Parse( - const ::std::string& name, ExecutionError_ErrorKind* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ExecutionError_ErrorKind_descriptor(), name, value); -} -enum TaskLog_MessageFormat { - TaskLog_MessageFormat_UNKNOWN = 0, - TaskLog_MessageFormat_CSV = 1, - TaskLog_MessageFormat_JSON = 2, - TaskLog_MessageFormat_TaskLog_MessageFormat_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - TaskLog_MessageFormat_TaskLog_MessageFormat_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool TaskLog_MessageFormat_IsValid(int value); -const TaskLog_MessageFormat TaskLog_MessageFormat_MessageFormat_MIN = TaskLog_MessageFormat_UNKNOWN; -const TaskLog_MessageFormat TaskLog_MessageFormat_MessageFormat_MAX = TaskLog_MessageFormat_JSON; -const int TaskLog_MessageFormat_MessageFormat_ARRAYSIZE = TaskLog_MessageFormat_MessageFormat_MAX + 1; - -const ::google::protobuf::EnumDescriptor* TaskLog_MessageFormat_descriptor(); -inline const ::std::string& TaskLog_MessageFormat_Name(TaskLog_MessageFormat value) { - return ::google::protobuf::internal::NameOfEnum( - TaskLog_MessageFormat_descriptor(), value); -} -inline bool TaskLog_MessageFormat_Parse( - const ::std::string& name, TaskLog_MessageFormat* value) { - return ::google::protobuf::internal::ParseNamedEnum( - TaskLog_MessageFormat_descriptor(), name, value); -} -enum QualityOfService_Tier { - QualityOfService_Tier_UNDEFINED = 0, - QualityOfService_Tier_HIGH = 1, - QualityOfService_Tier_MEDIUM = 2, - QualityOfService_Tier_LOW = 3, - QualityOfService_Tier_QualityOfService_Tier_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - QualityOfService_Tier_QualityOfService_Tier_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool QualityOfService_Tier_IsValid(int value); -const QualityOfService_Tier QualityOfService_Tier_Tier_MIN = QualityOfService_Tier_UNDEFINED; -const QualityOfService_Tier QualityOfService_Tier_Tier_MAX = QualityOfService_Tier_LOW; -const int QualityOfService_Tier_Tier_ARRAYSIZE = QualityOfService_Tier_Tier_MAX + 1; - -const ::google::protobuf::EnumDescriptor* QualityOfService_Tier_descriptor(); -inline const ::std::string& QualityOfService_Tier_Name(QualityOfService_Tier value) { - return ::google::protobuf::internal::NameOfEnum( - QualityOfService_Tier_descriptor(), value); -} -inline bool QualityOfService_Tier_Parse( - const ::std::string& name, QualityOfService_Tier* value) { - return ::google::protobuf::internal::ParseNamedEnum( - QualityOfService_Tier_descriptor(), name, value); -} -// =================================================================== - -class WorkflowExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.WorkflowExecution) */ { - public: - WorkflowExecution(); - virtual ~WorkflowExecution(); - - WorkflowExecution(const WorkflowExecution& from); - - inline WorkflowExecution& operator=(const WorkflowExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecution(WorkflowExecution&& from) noexcept - : WorkflowExecution() { - *this = ::std::move(from); - } - - inline WorkflowExecution& operator=(WorkflowExecution&& 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 WorkflowExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecution* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(WorkflowExecution* other); - friend void swap(WorkflowExecution& a, WorkflowExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecution* 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 WorkflowExecution& from); - void MergeFrom(const WorkflowExecution& 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(WorkflowExecution* 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 WorkflowExecution_Phase Phase; - static const Phase UNDEFINED = - WorkflowExecution_Phase_UNDEFINED; - static const Phase QUEUED = - WorkflowExecution_Phase_QUEUED; - static const Phase RUNNING = - WorkflowExecution_Phase_RUNNING; - static const Phase SUCCEEDING = - WorkflowExecution_Phase_SUCCEEDING; - static const Phase SUCCEEDED = - WorkflowExecution_Phase_SUCCEEDED; - static const Phase FAILING = - WorkflowExecution_Phase_FAILING; - static const Phase FAILED = - WorkflowExecution_Phase_FAILED; - static const Phase ABORTED = - WorkflowExecution_Phase_ABORTED; - static const Phase TIMED_OUT = - WorkflowExecution_Phase_TIMED_OUT; - static const Phase ABORTING = - WorkflowExecution_Phase_ABORTING; - static inline bool Phase_IsValid(int value) { - return WorkflowExecution_Phase_IsValid(value); - } - static const Phase Phase_MIN = - WorkflowExecution_Phase_Phase_MIN; - static const Phase Phase_MAX = - WorkflowExecution_Phase_Phase_MAX; - static const int Phase_ARRAYSIZE = - WorkflowExecution_Phase_Phase_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Phase_descriptor() { - return WorkflowExecution_Phase_descriptor(); - } - static inline const ::std::string& Phase_Name(Phase value) { - return WorkflowExecution_Phase_Name(value); - } - static inline bool Phase_Parse(const ::std::string& name, - Phase* value) { - return WorkflowExecution_Phase_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.NodeExecution) */ { - public: - NodeExecution(); - virtual ~NodeExecution(); - - NodeExecution(const NodeExecution& from); - - inline NodeExecution& operator=(const NodeExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecution(NodeExecution&& from) noexcept - : NodeExecution() { - *this = ::std::move(from); - } - - inline NodeExecution& operator=(NodeExecution&& 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 NodeExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecution* internal_default_instance() { - return reinterpret_cast( - &_NodeExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(NodeExecution* other); - friend void swap(NodeExecution& a, NodeExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecution* 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 NodeExecution& from); - void MergeFrom(const NodeExecution& 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(NodeExecution* 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 NodeExecution_Phase Phase; - static const Phase UNDEFINED = - NodeExecution_Phase_UNDEFINED; - static const Phase QUEUED = - NodeExecution_Phase_QUEUED; - static const Phase RUNNING = - NodeExecution_Phase_RUNNING; - static const Phase SUCCEEDED = - NodeExecution_Phase_SUCCEEDED; - static const Phase FAILING = - NodeExecution_Phase_FAILING; - static const Phase FAILED = - NodeExecution_Phase_FAILED; - static const Phase ABORTED = - NodeExecution_Phase_ABORTED; - static const Phase SKIPPED = - NodeExecution_Phase_SKIPPED; - static const Phase TIMED_OUT = - NodeExecution_Phase_TIMED_OUT; - static const Phase DYNAMIC_RUNNING = - NodeExecution_Phase_DYNAMIC_RUNNING; - static const Phase RECOVERED = - NodeExecution_Phase_RECOVERED; - static inline bool Phase_IsValid(int value) { - return NodeExecution_Phase_IsValid(value); - } - static const Phase Phase_MIN = - NodeExecution_Phase_Phase_MIN; - static const Phase Phase_MAX = - NodeExecution_Phase_Phase_MAX; - static const int Phase_ARRAYSIZE = - NodeExecution_Phase_Phase_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Phase_descriptor() { - return NodeExecution_Phase_descriptor(); - } - static inline const ::std::string& Phase_Name(Phase value) { - return NodeExecution_Phase_Name(value); - } - static inline bool Phase_Parse(const ::std::string& name, - Phase* value) { - return NodeExecution_Phase_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.core.NodeExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TaskExecution) */ { - public: - TaskExecution(); - virtual ~TaskExecution(); - - TaskExecution(const TaskExecution& from); - - inline TaskExecution& operator=(const TaskExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecution(TaskExecution&& from) noexcept - : TaskExecution() { - *this = ::std::move(from); - } - - inline TaskExecution& operator=(TaskExecution&& 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 TaskExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecution* internal_default_instance() { - return reinterpret_cast( - &_TaskExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(TaskExecution* other); - friend void swap(TaskExecution& a, TaskExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecution* 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 TaskExecution& from); - void MergeFrom(const TaskExecution& 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(TaskExecution* 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 TaskExecution_Phase Phase; - static const Phase UNDEFINED = - TaskExecution_Phase_UNDEFINED; - static const Phase QUEUED = - TaskExecution_Phase_QUEUED; - static const Phase RUNNING = - TaskExecution_Phase_RUNNING; - static const Phase SUCCEEDED = - TaskExecution_Phase_SUCCEEDED; - static const Phase ABORTED = - TaskExecution_Phase_ABORTED; - static const Phase FAILED = - TaskExecution_Phase_FAILED; - static const Phase INITIALIZING = - TaskExecution_Phase_INITIALIZING; - static const Phase WAITING_FOR_RESOURCES = - TaskExecution_Phase_WAITING_FOR_RESOURCES; - static inline bool Phase_IsValid(int value) { - return TaskExecution_Phase_IsValid(value); - } - static const Phase Phase_MIN = - TaskExecution_Phase_Phase_MIN; - static const Phase Phase_MAX = - TaskExecution_Phase_Phase_MAX; - static const int Phase_ARRAYSIZE = - TaskExecution_Phase_Phase_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Phase_descriptor() { - return TaskExecution_Phase_descriptor(); - } - static inline const ::std::string& Phase_Name(Phase value) { - return TaskExecution_Phase_Name(value); - } - static inline bool Phase_Parse(const ::std::string& name, - Phase* value) { - return TaskExecution_Phase_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionError final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ExecutionError) */ { - public: - ExecutionError(); - virtual ~ExecutionError(); - - ExecutionError(const ExecutionError& from); - - inline ExecutionError& operator=(const ExecutionError& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionError(ExecutionError&& from) noexcept - : ExecutionError() { - *this = ::std::move(from); - } - - inline ExecutionError& operator=(ExecutionError&& 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 ExecutionError& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionError* internal_default_instance() { - return reinterpret_cast( - &_ExecutionError_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ExecutionError* other); - friend void swap(ExecutionError& a, ExecutionError& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionError* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionError* 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 ExecutionError& from); - void MergeFrom(const ExecutionError& 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(ExecutionError* 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 ExecutionError_ErrorKind ErrorKind; - static const ErrorKind UNKNOWN = - ExecutionError_ErrorKind_UNKNOWN; - static const ErrorKind USER = - ExecutionError_ErrorKind_USER; - static const ErrorKind SYSTEM = - ExecutionError_ErrorKind_SYSTEM; - static inline bool ErrorKind_IsValid(int value) { - return ExecutionError_ErrorKind_IsValid(value); - } - static const ErrorKind ErrorKind_MIN = - ExecutionError_ErrorKind_ErrorKind_MIN; - static const ErrorKind ErrorKind_MAX = - ExecutionError_ErrorKind_ErrorKind_MAX; - static const int ErrorKind_ARRAYSIZE = - ExecutionError_ErrorKind_ErrorKind_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - ErrorKind_descriptor() { - return ExecutionError_ErrorKind_descriptor(); - } - static inline const ::std::string& ErrorKind_Name(ErrorKind value) { - return ExecutionError_ErrorKind_Name(value); - } - static inline bool ErrorKind_Parse(const ::std::string& name, - ErrorKind* value) { - return ExecutionError_ErrorKind_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string code = 1; - void clear_code(); - static const int kCodeFieldNumber = 1; - const ::std::string& code() const; - void set_code(const ::std::string& value); - #if LANG_CXX11 - void set_code(::std::string&& value); - #endif - void set_code(const char* value); - void set_code(const char* value, size_t size); - ::std::string* mutable_code(); - ::std::string* release_code(); - void set_allocated_code(::std::string* code); - - // 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); - - // string error_uri = 3; - void clear_error_uri(); - static const int kErrorUriFieldNumber = 3; - const ::std::string& error_uri() const; - void set_error_uri(const ::std::string& value); - #if LANG_CXX11 - void set_error_uri(::std::string&& value); - #endif - void set_error_uri(const char* value); - void set_error_uri(const char* value, size_t size); - ::std::string* mutable_error_uri(); - ::std::string* release_error_uri(); - void set_allocated_error_uri(::std::string* error_uri); - - // .flyteidl.core.ExecutionError.ErrorKind kind = 4; - void clear_kind(); - static const int kKindFieldNumber = 4; - ::flyteidl::core::ExecutionError_ErrorKind kind() const; - void set_kind(::flyteidl::core::ExecutionError_ErrorKind value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ExecutionError) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr code_; - ::google::protobuf::internal::ArenaStringPtr message_; - ::google::protobuf::internal::ArenaStringPtr error_uri_; - int kind_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskLog final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TaskLog) */ { - public: - TaskLog(); - virtual ~TaskLog(); - - TaskLog(const TaskLog& from); - - inline TaskLog& operator=(const TaskLog& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskLog(TaskLog&& from) noexcept - : TaskLog() { - *this = ::std::move(from); - } - - inline TaskLog& operator=(TaskLog&& 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 TaskLog& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskLog* internal_default_instance() { - return reinterpret_cast( - &_TaskLog_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(TaskLog* other); - friend void swap(TaskLog& a, TaskLog& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskLog* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskLog* 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 TaskLog& from); - void MergeFrom(const TaskLog& 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(TaskLog* 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 TaskLog_MessageFormat MessageFormat; - static const MessageFormat UNKNOWN = - TaskLog_MessageFormat_UNKNOWN; - static const MessageFormat CSV = - TaskLog_MessageFormat_CSV; - static const MessageFormat JSON = - TaskLog_MessageFormat_JSON; - static inline bool MessageFormat_IsValid(int value) { - return TaskLog_MessageFormat_IsValid(value); - } - static const MessageFormat MessageFormat_MIN = - TaskLog_MessageFormat_MessageFormat_MIN; - static const MessageFormat MessageFormat_MAX = - TaskLog_MessageFormat_MessageFormat_MAX; - static const int MessageFormat_ARRAYSIZE = - TaskLog_MessageFormat_MessageFormat_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - MessageFormat_descriptor() { - return TaskLog_MessageFormat_descriptor(); - } - static inline const ::std::string& MessageFormat_Name(MessageFormat value) { - return TaskLog_MessageFormat_Name(value); - } - static inline bool MessageFormat_Parse(const ::std::string& name, - MessageFormat* value) { - return TaskLog_MessageFormat_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string uri = 1; - void clear_uri(); - static const int kUriFieldNumber = 1; - const ::std::string& uri() const; - void set_uri(const ::std::string& value); - #if LANG_CXX11 - void set_uri(::std::string&& value); - #endif - void set_uri(const char* value); - void set_uri(const char* value, size_t size); - ::std::string* mutable_uri(); - ::std::string* release_uri(); - void set_allocated_uri(::std::string* uri); - - // 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); - - // .google.protobuf.Duration ttl = 4; - bool has_ttl() const; - void clear_ttl(); - static const int kTtlFieldNumber = 4; - const ::google::protobuf::Duration& ttl() const; - ::google::protobuf::Duration* release_ttl(); - ::google::protobuf::Duration* mutable_ttl(); - void set_allocated_ttl(::google::protobuf::Duration* ttl); - - // .flyteidl.core.TaskLog.MessageFormat message_format = 3; - void clear_message_format(); - static const int kMessageFormatFieldNumber = 3; - ::flyteidl::core::TaskLog_MessageFormat message_format() const; - void set_message_format(::flyteidl::core::TaskLog_MessageFormat value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskLog) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr uri_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::Duration* ttl_; - int message_format_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class QualityOfServiceSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.QualityOfServiceSpec) */ { - public: - QualityOfServiceSpec(); - virtual ~QualityOfServiceSpec(); - - QualityOfServiceSpec(const QualityOfServiceSpec& from); - - inline QualityOfServiceSpec& operator=(const QualityOfServiceSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - QualityOfServiceSpec(QualityOfServiceSpec&& from) noexcept - : QualityOfServiceSpec() { - *this = ::std::move(from); - } - - inline QualityOfServiceSpec& operator=(QualityOfServiceSpec&& 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 QualityOfServiceSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const QualityOfServiceSpec* internal_default_instance() { - return reinterpret_cast( - &_QualityOfServiceSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(QualityOfServiceSpec* other); - friend void swap(QualityOfServiceSpec& a, QualityOfServiceSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline QualityOfServiceSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - QualityOfServiceSpec* 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 QualityOfServiceSpec& from); - void MergeFrom(const QualityOfServiceSpec& 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(QualityOfServiceSpec* 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 ------------------------------------------------------- - - // .google.protobuf.Duration queueing_budget = 1; - bool has_queueing_budget() const; - void clear_queueing_budget(); - static const int kQueueingBudgetFieldNumber = 1; - const ::google::protobuf::Duration& queueing_budget() const; - ::google::protobuf::Duration* release_queueing_budget(); - ::google::protobuf::Duration* mutable_queueing_budget(); - void set_allocated_queueing_budget(::google::protobuf::Duration* queueing_budget); - - // @@protoc_insertion_point(class_scope:flyteidl.core.QualityOfServiceSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::Duration* queueing_budget_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fexecution_2eproto; -}; -// ------------------------------------------------------------------- - -class QualityOfService final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.QualityOfService) */ { - public: - QualityOfService(); - virtual ~QualityOfService(); - - QualityOfService(const QualityOfService& from); - - inline QualityOfService& operator=(const QualityOfService& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - QualityOfService(QualityOfService&& from) noexcept - : QualityOfService() { - *this = ::std::move(from); - } - - inline QualityOfService& operator=(QualityOfService&& 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 QualityOfService& default_instance(); - - enum DesignationCase { - kTier = 1, - kSpec = 2, - DESIGNATION_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const QualityOfService* internal_default_instance() { - return reinterpret_cast( - &_QualityOfService_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(QualityOfService* other); - friend void swap(QualityOfService& a, QualityOfService& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline QualityOfService* New() const final { - return CreateMaybeMessage(nullptr); - } - - QualityOfService* 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 QualityOfService& from); - void MergeFrom(const QualityOfService& 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(QualityOfService* 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 QualityOfService_Tier Tier; - static const Tier UNDEFINED = - QualityOfService_Tier_UNDEFINED; - static const Tier HIGH = - QualityOfService_Tier_HIGH; - static const Tier MEDIUM = - QualityOfService_Tier_MEDIUM; - static const Tier LOW = - QualityOfService_Tier_LOW; - static inline bool Tier_IsValid(int value) { - return QualityOfService_Tier_IsValid(value); - } - static const Tier Tier_MIN = - QualityOfService_Tier_Tier_MIN; - static const Tier Tier_MAX = - QualityOfService_Tier_Tier_MAX; - static const int Tier_ARRAYSIZE = - QualityOfService_Tier_Tier_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Tier_descriptor() { - return QualityOfService_Tier_descriptor(); - } - static inline const ::std::string& Tier_Name(Tier value) { - return QualityOfService_Tier_Name(value); - } - static inline bool Tier_Parse(const ::std::string& name, - Tier* value) { - return QualityOfService_Tier_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // .flyteidl.core.QualityOfService.Tier tier = 1; - private: - bool has_tier() const; - public: - void clear_tier(); - static const int kTierFieldNumber = 1; - ::flyteidl::core::QualityOfService_Tier tier() const; - void set_tier(::flyteidl::core::QualityOfService_Tier value); - - // .flyteidl.core.QualityOfServiceSpec spec = 2; - bool has_spec() const; - void clear_spec(); - static const int kSpecFieldNumber = 2; - const ::flyteidl::core::QualityOfServiceSpec& spec() const; - ::flyteidl::core::QualityOfServiceSpec* release_spec(); - ::flyteidl::core::QualityOfServiceSpec* mutable_spec(); - void set_allocated_spec(::flyteidl::core::QualityOfServiceSpec* spec); - - void clear_designation(); - DesignationCase designation_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.QualityOfService) - private: - class HasBitSetters; - void set_has_tier(); - void set_has_spec(); - - inline bool has_designation() const; - inline void clear_has_designation(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union DesignationUnion { - DesignationUnion() {} - int tier_; - ::flyteidl::core::QualityOfServiceSpec* spec_; - } designation_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fexecution_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// WorkflowExecution - -// ------------------------------------------------------------------- - -// NodeExecution - -// ------------------------------------------------------------------- - -// TaskExecution - -// ------------------------------------------------------------------- - -// ExecutionError - -// string code = 1; -inline void ExecutionError::clear_code() { - code_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionError::code() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ExecutionError.code) - return code_.GetNoArena(); -} -inline void ExecutionError::set_code(const ::std::string& value) { - - code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ExecutionError.code) -} -#if LANG_CXX11 -inline void ExecutionError::set_code(::std::string&& value) { - - code_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ExecutionError.code) -} -#endif -inline void ExecutionError::set_code(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ExecutionError.code) -} -inline void ExecutionError::set_code(const char* value, size_t size) { - - code_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ExecutionError.code) -} -inline ::std::string* ExecutionError::mutable_code() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ExecutionError.code) - return code_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionError::release_code() { - // @@protoc_insertion_point(field_release:flyteidl.core.ExecutionError.code) - - return code_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionError::set_allocated_code(::std::string* code) { - if (code != nullptr) { - - } else { - - } - code_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), code); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ExecutionError.code) -} - -// string message = 2; -inline void ExecutionError::clear_message() { - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionError::message() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ExecutionError.message) - return message_.GetNoArena(); -} -inline void ExecutionError::set_message(const ::std::string& value) { - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ExecutionError.message) -} -#if LANG_CXX11 -inline void ExecutionError::set_message(::std::string&& value) { - - message_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ExecutionError.message) -} -#endif -inline void ExecutionError::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.ExecutionError.message) -} -inline void ExecutionError::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.ExecutionError.message) -} -inline ::std::string* ExecutionError::mutable_message() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ExecutionError.message) - return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionError::release_message() { - // @@protoc_insertion_point(field_release:flyteidl.core.ExecutionError.message) - - return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionError::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.ExecutionError.message) -} - -// string error_uri = 3; -inline void ExecutionError::clear_error_uri() { - error_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionError::error_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ExecutionError.error_uri) - return error_uri_.GetNoArena(); -} -inline void ExecutionError::set_error_uri(const ::std::string& value) { - - error_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ExecutionError.error_uri) -} -#if LANG_CXX11 -inline void ExecutionError::set_error_uri(::std::string&& value) { - - error_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ExecutionError.error_uri) -} -#endif -inline void ExecutionError::set_error_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - error_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ExecutionError.error_uri) -} -inline void ExecutionError::set_error_uri(const char* value, size_t size) { - - error_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ExecutionError.error_uri) -} -inline ::std::string* ExecutionError::mutable_error_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ExecutionError.error_uri) - return error_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionError::release_error_uri() { - // @@protoc_insertion_point(field_release:flyteidl.core.ExecutionError.error_uri) - - return error_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionError::set_allocated_error_uri(::std::string* error_uri) { - if (error_uri != nullptr) { - - } else { - - } - error_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ExecutionError.error_uri) -} - -// .flyteidl.core.ExecutionError.ErrorKind kind = 4; -inline void ExecutionError::clear_kind() { - kind_ = 0; -} -inline ::flyteidl::core::ExecutionError_ErrorKind ExecutionError::kind() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ExecutionError.kind) - return static_cast< ::flyteidl::core::ExecutionError_ErrorKind >(kind_); -} -inline void ExecutionError::set_kind(::flyteidl::core::ExecutionError_ErrorKind value) { - - kind_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ExecutionError.kind) -} - -// ------------------------------------------------------------------- - -// TaskLog - -// string uri = 1; -inline void TaskLog::clear_uri() { - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskLog::uri() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskLog.uri) - return uri_.GetNoArena(); -} -inline void TaskLog::set_uri(const ::std::string& value) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.TaskLog.uri) -} -#if LANG_CXX11 -inline void TaskLog::set_uri(::std::string&& value) { - - uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.TaskLog.uri) -} -#endif -inline void TaskLog::set_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TaskLog.uri) -} -inline void TaskLog::set_uri(const char* value, size_t size) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TaskLog.uri) -} -inline ::std::string* TaskLog::mutable_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskLog.uri) - return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskLog::release_uri() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskLog.uri) - - return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskLog::set_allocated_uri(::std::string* uri) { - if (uri != nullptr) { - - } else { - - } - uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskLog.uri) -} - -// string name = 2; -inline void TaskLog::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskLog::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskLog.name) - return name_.GetNoArena(); -} -inline void TaskLog::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.TaskLog.name) -} -#if LANG_CXX11 -inline void TaskLog::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.TaskLog.name) -} -#endif -inline void TaskLog::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TaskLog.name) -} -inline void TaskLog::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TaskLog.name) -} -inline ::std::string* TaskLog::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskLog.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskLog::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskLog.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskLog::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskLog.name) -} - -// .flyteidl.core.TaskLog.MessageFormat message_format = 3; -inline void TaskLog::clear_message_format() { - message_format_ = 0; -} -inline ::flyteidl::core::TaskLog_MessageFormat TaskLog::message_format() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskLog.message_format) - return static_cast< ::flyteidl::core::TaskLog_MessageFormat >(message_format_); -} -inline void TaskLog::set_message_format(::flyteidl::core::TaskLog_MessageFormat value) { - - message_format_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.TaskLog.message_format) -} - -// .google.protobuf.Duration ttl = 4; -inline bool TaskLog::has_ttl() const { - return this != internal_default_instance() && ttl_ != nullptr; -} -inline const ::google::protobuf::Duration& TaskLog::ttl() const { - const ::google::protobuf::Duration* p = ttl_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskLog.ttl) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* TaskLog::release_ttl() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskLog.ttl) - - ::google::protobuf::Duration* temp = ttl_; - ttl_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* TaskLog::mutable_ttl() { - - if (ttl_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - ttl_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskLog.ttl) - return ttl_; -} -inline void TaskLog::set_allocated_ttl(::google::protobuf::Duration* ttl) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(ttl_); - } - if (ttl) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(ttl)->GetArena(); - if (message_arena != submessage_arena) { - ttl = ::google::protobuf::internal::GetOwnedMessage( - message_arena, ttl, submessage_arena); - } - - } else { - - } - ttl_ = ttl; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskLog.ttl) -} - -// ------------------------------------------------------------------- - -// QualityOfServiceSpec - -// .google.protobuf.Duration queueing_budget = 1; -inline bool QualityOfServiceSpec::has_queueing_budget() const { - return this != internal_default_instance() && queueing_budget_ != nullptr; -} -inline const ::google::protobuf::Duration& QualityOfServiceSpec::queueing_budget() const { - const ::google::protobuf::Duration* p = queueing_budget_; - // @@protoc_insertion_point(field_get:flyteidl.core.QualityOfServiceSpec.queueing_budget) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* QualityOfServiceSpec::release_queueing_budget() { - // @@protoc_insertion_point(field_release:flyteidl.core.QualityOfServiceSpec.queueing_budget) - - ::google::protobuf::Duration* temp = queueing_budget_; - queueing_budget_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* QualityOfServiceSpec::mutable_queueing_budget() { - - if (queueing_budget_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - queueing_budget_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.QualityOfServiceSpec.queueing_budget) - return queueing_budget_; -} -inline void QualityOfServiceSpec::set_allocated_queueing_budget(::google::protobuf::Duration* queueing_budget) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(queueing_budget_); - } - if (queueing_budget) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(queueing_budget)->GetArena(); - if (message_arena != submessage_arena) { - queueing_budget = ::google::protobuf::internal::GetOwnedMessage( - message_arena, queueing_budget, submessage_arena); - } - - } else { - - } - queueing_budget_ = queueing_budget; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.QualityOfServiceSpec.queueing_budget) -} - -// ------------------------------------------------------------------- - -// QualityOfService - -// .flyteidl.core.QualityOfService.Tier tier = 1; -inline bool QualityOfService::has_tier() const { - return designation_case() == kTier; -} -inline void QualityOfService::set_has_tier() { - _oneof_case_[0] = kTier; -} -inline void QualityOfService::clear_tier() { - if (has_tier()) { - designation_.tier_ = 0; - clear_has_designation(); - } -} -inline ::flyteidl::core::QualityOfService_Tier QualityOfService::tier() const { - // @@protoc_insertion_point(field_get:flyteidl.core.QualityOfService.tier) - if (has_tier()) { - return static_cast< ::flyteidl::core::QualityOfService_Tier >(designation_.tier_); - } - return static_cast< ::flyteidl::core::QualityOfService_Tier >(0); -} -inline void QualityOfService::set_tier(::flyteidl::core::QualityOfService_Tier value) { - if (!has_tier()) { - clear_designation(); - set_has_tier(); - } - designation_.tier_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.QualityOfService.tier) -} - -// .flyteidl.core.QualityOfServiceSpec spec = 2; -inline bool QualityOfService::has_spec() const { - return designation_case() == kSpec; -} -inline void QualityOfService::set_has_spec() { - _oneof_case_[0] = kSpec; -} -inline void QualityOfService::clear_spec() { - if (has_spec()) { - delete designation_.spec_; - clear_has_designation(); - } -} -inline ::flyteidl::core::QualityOfServiceSpec* QualityOfService::release_spec() { - // @@protoc_insertion_point(field_release:flyteidl.core.QualityOfService.spec) - if (has_spec()) { - clear_has_designation(); - ::flyteidl::core::QualityOfServiceSpec* temp = designation_.spec_; - designation_.spec_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::QualityOfServiceSpec& QualityOfService::spec() const { - // @@protoc_insertion_point(field_get:flyteidl.core.QualityOfService.spec) - return has_spec() - ? *designation_.spec_ - : *reinterpret_cast< ::flyteidl::core::QualityOfServiceSpec*>(&::flyteidl::core::_QualityOfServiceSpec_default_instance_); -} -inline ::flyteidl::core::QualityOfServiceSpec* QualityOfService::mutable_spec() { - if (!has_spec()) { - clear_designation(); - set_has_spec(); - designation_.spec_ = CreateMaybeMessage< ::flyteidl::core::QualityOfServiceSpec >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.QualityOfService.spec) - return designation_.spec_; -} - -inline bool QualityOfService::has_designation() const { - return designation_case() != DESIGNATION_NOT_SET; -} -inline void QualityOfService::clear_has_designation() { - _oneof_case_[0] = DESIGNATION_NOT_SET; -} -inline QualityOfService::DesignationCase QualityOfService::designation_case() const { - return QualityOfService::DesignationCase(_oneof_case_[0]); -} -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::WorkflowExecution_Phase> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::WorkflowExecution_Phase>() { - return ::flyteidl::core::WorkflowExecution_Phase_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::NodeExecution_Phase> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::NodeExecution_Phase>() { - return ::flyteidl::core::NodeExecution_Phase_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::TaskExecution_Phase> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::TaskExecution_Phase>() { - return ::flyteidl::core::TaskExecution_Phase_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::ExecutionError_ErrorKind> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::ExecutionError_ErrorKind>() { - return ::flyteidl::core::ExecutionError_ErrorKind_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::TaskLog_MessageFormat> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::TaskLog_MessageFormat>() { - return ::flyteidl::core::TaskLog_MessageFormat_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::QualityOfService_Tier> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::QualityOfService_Tier>() { - return ::flyteidl::core::QualityOfService_Tier_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fexecution_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/identifier.grpc.pb.cc deleted file mode 100644 index 1c8d0f1336..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/identifier.proto - -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/identifier.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/identifier.grpc.pb.h deleted file mode 100644 index 05f26415a6..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/identifier.proto -#ifndef GRPC_flyteidl_2fcore_2fidentifier_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fidentifier_2eproto__INCLUDED - -#include "flyteidl/core/identifier.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fidentifier_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/identifier.pb.cc deleted file mode 100644 index 1e16dd7858..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.pb.cc +++ /dev/null @@ -1,2560 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/identifier.proto - -#include "flyteidl/core/identifier.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_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; -namespace flyteidl { -namespace core { -class IdentifierDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Identifier_default_instance_; -class WorkflowExecutionIdentifierDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowExecutionIdentifier_default_instance_; -class NodeExecutionIdentifierDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _NodeExecutionIdentifier_default_instance_; -class TaskExecutionIdentifierDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionIdentifier_default_instance_; -class SignalIdentifierDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SignalIdentifier_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsIdentifier_flyteidl_2fcore_2fidentifier_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Identifier_default_instance_; - new (ptr) ::flyteidl::core::Identifier(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Identifier::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsIdentifier_flyteidl_2fcore_2fidentifier_2eproto}, {}}; - -static void InitDefaultsWorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_; - new (ptr) ::flyteidl::core::WorkflowExecutionIdentifier(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::WorkflowExecutionIdentifier::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto}, {}}; - -static void InitDefaultsNodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_NodeExecutionIdentifier_default_instance_; - new (ptr) ::flyteidl::core::NodeExecutionIdentifier(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::NodeExecutionIdentifier::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsTaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskExecutionIdentifier_default_instance_; - new (ptr) ::flyteidl::core::TaskExecutionIdentifier(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TaskExecutionIdentifier::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsSignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_SignalIdentifier_default_instance_; - new (ptr) ::flyteidl::core::SignalIdentifier(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::SignalIdentifier::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fidentifier_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fidentifier_2eproto[5]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2fidentifier_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fidentifier_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fidentifier_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identifier, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identifier, resource_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identifier, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identifier, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identifier, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identifier, version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identifier, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowExecutionIdentifier, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowExecutionIdentifier, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowExecutionIdentifier, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowExecutionIdentifier, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowExecutionIdentifier, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeExecutionIdentifier, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeExecutionIdentifier, node_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeExecutionIdentifier, execution_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskExecutionIdentifier, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskExecutionIdentifier, task_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskExecutionIdentifier, node_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskExecutionIdentifier, retry_attempt_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SignalIdentifier, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SignalIdentifier, signal_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SignalIdentifier, execution_id_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::Identifier)}, - { 11, -1, sizeof(::flyteidl::core::WorkflowExecutionIdentifier)}, - { 20, -1, sizeof(::flyteidl::core::NodeExecutionIdentifier)}, - { 27, -1, sizeof(::flyteidl::core::TaskExecutionIdentifier)}, - { 35, -1, sizeof(::flyteidl::core::SignalIdentifier)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_Identifier_default_instance_), - reinterpret_cast(&::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_), - reinterpret_cast(&::flyteidl::core::_NodeExecutionIdentifier_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskExecutionIdentifier_default_instance_), - reinterpret_cast(&::flyteidl::core::_SignalIdentifier_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fidentifier_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, "flyteidl/core/identifier.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fidentifier_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fidentifier_2eproto, 5, file_level_enum_descriptors_flyteidl_2fcore_2fidentifier_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fidentifier_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fidentifier_2eproto[] = - "\n\036flyteidl/core/identifier.proto\022\rflytei" - "dl.core\"\215\001\n\nIdentifier\0222\n\rresource_type\030" - "\001 \001(\0162\033.flyteidl.core.ResourceType\022\017\n\007pr" - "oject\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\014\n\004name\030\004 \001(" - "\t\022\017\n\007version\030\005 \001(\t\022\013\n\003org\030\006 \001(\t\"Y\n\033Workf" - "lowExecutionIdentifier\022\017\n\007project\030\001 \001(\t\022" - "\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\004 \001(\t\022\013\n\003org\030\005 \001" - "(\t\"l\n\027NodeExecutionIdentifier\022\017\n\007node_id" - "\030\001 \001(\t\022@\n\014execution_id\030\002 \001(\0132*.flyteidl." - "core.WorkflowExecutionIdentifier\"\237\001\n\027Tas" - "kExecutionIdentifier\022*\n\007task_id\030\001 \001(\0132\031." - "flyteidl.core.Identifier\022A\n\021node_executi" - "on_id\030\002 \001(\0132&.flyteidl.core.NodeExecutio" - "nIdentifier\022\025\n\rretry_attempt\030\003 \001(\r\"g\n\020Si" - "gnalIdentifier\022\021\n\tsignal_id\030\001 \001(\t\022@\n\014exe" - "cution_id\030\002 \001(\0132*.flyteidl.core.Workflow" - "ExecutionIdentifier*U\n\014ResourceType\022\017\n\013U" - "NSPECIFIED\020\000\022\010\n\004TASK\020\001\022\014\n\010WORKFLOW\020\002\022\017\n\013" - "LAUNCH_PLAN\020\003\022\013\n\007DATASET\020\004B= 1900 -const int Identifier::kResourceTypeFieldNumber; -const int Identifier::kProjectFieldNumber; -const int Identifier::kDomainFieldNumber; -const int Identifier::kNameFieldNumber; -const int Identifier::kVersionFieldNumber; -const int Identifier::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Identifier::Identifier() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Identifier) -} -Identifier::Identifier(const Identifier& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.version().size() > 0) { - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - resource_type_ = from.resource_type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Identifier) -} - -void Identifier::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; -} - -Identifier::~Identifier() { - // @@protoc_insertion_point(destructor:flyteidl.core.Identifier) - SharedDtor(); -} - -void Identifier::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Identifier::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Identifier& Identifier::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base); - return *internal_default_instance(); -} - - -void Identifier::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Identifier) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resource_type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Identifier::_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.ResourceType resource_type = 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_resource_type(static_cast<::flyteidl::core::ResourceType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string project = 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.Identifier.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Identifier.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string name = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Identifier.name"); - object = msg->mutable_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; - } - // string version = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Identifier.version"); - object = msg->mutable_version(); - 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 org = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Identifier.org"); - object = msg->mutable_org(); - 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 Identifier::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.Identifier) - 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.ResourceType resource_type = 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_resource_type(static_cast< ::flyteidl::core::ResourceType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string project = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identifier.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identifier.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identifier.name")); - } else { - goto handle_unusual; - } - break; - } - - // string version = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identifier.version")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identifier.org")); - } 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.Identifier) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Identifier) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Identifier::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Identifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->resource_type(), output); - } - - // string project = 2; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->project(), output); - } - - // string domain = 3; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->domain(), output); - } - - // string name = 4; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->name(), output); - } - - // string version = 5; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->version(), output); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Identifier) -} - -::google::protobuf::uint8* Identifier::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Identifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->resource_type(), target); - } - - // string project = 2; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->project(), target); - } - - // string domain = 3; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->domain(), target); - } - - // string name = 4; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->name(), target); - } - - // string version = 5; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->version(), target); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identifier.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->org(), 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.Identifier) - return target; -} - -size_t Identifier::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Identifier) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 2; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 3; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string name = 4; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string version = 5; - if (this->version().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->version()); - } - - // string org = 6; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - // .flyteidl.core.ResourceType resource_type = 1; - if (this->resource_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Identifier::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Identifier) - GOOGLE_DCHECK_NE(&from, this); - const Identifier* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Identifier) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Identifier) - MergeFrom(*source); - } -} - -void Identifier::MergeFrom(const Identifier& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Identifier) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.version().size() > 0) { - - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - if (from.resource_type() != 0) { - set_resource_type(from.resource_type()); - } -} - -void Identifier::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Identifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Identifier::CopyFrom(const Identifier& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Identifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Identifier::IsInitialized() const { - return true; -} - -void Identifier::Swap(Identifier* other) { - if (other == this) return; - InternalSwap(other); -} -void Identifier::InternalSwap(Identifier* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resource_type_, other->resource_type_); -} - -::google::protobuf::Metadata Identifier::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fidentifier_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fidentifier_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowExecutionIdentifier::InitAsDefaultInstance() { -} -class WorkflowExecutionIdentifier::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionIdentifier::kProjectFieldNumber; -const int WorkflowExecutionIdentifier::kDomainFieldNumber; -const int WorkflowExecutionIdentifier::kNameFieldNumber; -const int WorkflowExecutionIdentifier::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionIdentifier::WorkflowExecutionIdentifier() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.WorkflowExecutionIdentifier) -} -WorkflowExecutionIdentifier::WorkflowExecutionIdentifier(const WorkflowExecutionIdentifier& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.WorkflowExecutionIdentifier) -} - -void WorkflowExecutionIdentifier::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -WorkflowExecutionIdentifier::~WorkflowExecutionIdentifier() { - // @@protoc_insertion_point(destructor:flyteidl.core.WorkflowExecutionIdentifier) - SharedDtor(); -} - -void WorkflowExecutionIdentifier::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void WorkflowExecutionIdentifier::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionIdentifier& WorkflowExecutionIdentifier::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionIdentifier::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.WorkflowExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionIdentifier::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.WorkflowExecutionIdentifier.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.WorkflowExecutionIdentifier.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string name = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.WorkflowExecutionIdentifier.name"); - object = msg->mutable_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; - } - // string org = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.WorkflowExecutionIdentifier.org"); - object = msg->mutable_org(); - 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 WorkflowExecutionIdentifier::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.WorkflowExecutionIdentifier) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowExecutionIdentifier.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowExecutionIdentifier.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowExecutionIdentifier.name")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowExecutionIdentifier.org")); - } 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.WorkflowExecutionIdentifier) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.WorkflowExecutionIdentifier) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionIdentifier::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.WorkflowExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string name = 4; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->name(), output); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.WorkflowExecutionIdentifier) -} - -::google::protobuf::uint8* WorkflowExecutionIdentifier::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.WorkflowExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string name = 4; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->name(), target); - } - - // string org = 5; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowExecutionIdentifier.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->org(), 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.WorkflowExecutionIdentifier) - return target; -} - -size_t WorkflowExecutionIdentifier::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.WorkflowExecutionIdentifier) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string name = 4; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string org = 5; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionIdentifier::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.WorkflowExecutionIdentifier) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionIdentifier* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.WorkflowExecutionIdentifier) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.WorkflowExecutionIdentifier) - MergeFrom(*source); - } -} - -void WorkflowExecutionIdentifier::MergeFrom(const WorkflowExecutionIdentifier& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.WorkflowExecutionIdentifier) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } -} - -void WorkflowExecutionIdentifier::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.WorkflowExecutionIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionIdentifier::CopyFrom(const WorkflowExecutionIdentifier& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.WorkflowExecutionIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionIdentifier::IsInitialized() const { - return true; -} - -void WorkflowExecutionIdentifier::Swap(WorkflowExecutionIdentifier* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionIdentifier::InternalSwap(WorkflowExecutionIdentifier* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata WorkflowExecutionIdentifier::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fidentifier_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fidentifier_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionIdentifier::InitAsDefaultInstance() { - ::flyteidl::core::_NodeExecutionIdentifier_default_instance_._instance.get_mutable()->execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class NodeExecutionIdentifier::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id(const NodeExecutionIdentifier* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -NodeExecutionIdentifier::HasBitSetters::execution_id(const NodeExecutionIdentifier* msg) { - return *msg->execution_id_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionIdentifier::kNodeIdFieldNumber; -const int NodeExecutionIdentifier::kExecutionIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionIdentifier::NodeExecutionIdentifier() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.NodeExecutionIdentifier) -} -NodeExecutionIdentifier::NodeExecutionIdentifier(const NodeExecutionIdentifier& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.node_id().size() > 0) { - node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_id_); - } - if (from.has_execution_id()) { - execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.execution_id_); - } else { - execution_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.NodeExecutionIdentifier) -} - -void NodeExecutionIdentifier::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - execution_id_ = nullptr; -} - -NodeExecutionIdentifier::~NodeExecutionIdentifier() { - // @@protoc_insertion_point(destructor:flyteidl.core.NodeExecutionIdentifier) - SharedDtor(); -} - -void NodeExecutionIdentifier::SharedDtor() { - node_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete execution_id_; -} - -void NodeExecutionIdentifier::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionIdentifier& NodeExecutionIdentifier::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionIdentifier::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.NodeExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionIdentifier::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string node_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.NodeExecutionIdentifier.node_id"); - object = msg->mutable_node_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; - } - // .flyteidl.core.WorkflowExecutionIdentifier execution_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); - parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; - object = msg->mutable_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 NodeExecutionIdentifier::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.NodeExecutionIdentifier) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string node_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_node_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.NodeExecutionIdentifier.node_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.NodeExecutionIdentifier) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.NodeExecutionIdentifier) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionIdentifier::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.NodeExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string node_id = 1; - if (this->node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.NodeExecutionIdentifier.node_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->node_id(), output); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - if (this->has_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::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.NodeExecutionIdentifier) -} - -::google::protobuf::uint8* NodeExecutionIdentifier::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.NodeExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string node_id = 1; - if (this->node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.NodeExecutionIdentifier.node_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->node_id(), target); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - if (this->has_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::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.NodeExecutionIdentifier) - return target; -} - -size_t NodeExecutionIdentifier::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.NodeExecutionIdentifier) - 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 node_id = 1; - if (this->node_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->node_id()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - if (this->has_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *execution_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionIdentifier::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.NodeExecutionIdentifier) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionIdentifier* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.NodeExecutionIdentifier) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.NodeExecutionIdentifier) - MergeFrom(*source); - } -} - -void NodeExecutionIdentifier::MergeFrom(const NodeExecutionIdentifier& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.NodeExecutionIdentifier) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.node_id().size() > 0) { - - node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_id_); - } - if (from.has_execution_id()) { - mutable_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution_id()); - } -} - -void NodeExecutionIdentifier::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.NodeExecutionIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionIdentifier::CopyFrom(const NodeExecutionIdentifier& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.NodeExecutionIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionIdentifier::IsInitialized() const { - return true; -} - -void NodeExecutionIdentifier::Swap(NodeExecutionIdentifier* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionIdentifier::InternalSwap(NodeExecutionIdentifier* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - node_id_.Swap(&other->node_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(execution_id_, other->execution_id_); -} - -::google::protobuf::Metadata NodeExecutionIdentifier::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fidentifier_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fidentifier_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionIdentifier::InitAsDefaultInstance() { - ::flyteidl::core::_TaskExecutionIdentifier_default_instance_._instance.get_mutable()->task_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::core::_TaskExecutionIdentifier_default_instance_._instance.get_mutable()->node_execution_id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); -} -class TaskExecutionIdentifier::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& task_id(const TaskExecutionIdentifier* msg); - static const ::flyteidl::core::NodeExecutionIdentifier& node_execution_id(const TaskExecutionIdentifier* msg); -}; - -const ::flyteidl::core::Identifier& -TaskExecutionIdentifier::HasBitSetters::task_id(const TaskExecutionIdentifier* msg) { - return *msg->task_id_; -} -const ::flyteidl::core::NodeExecutionIdentifier& -TaskExecutionIdentifier::HasBitSetters::node_execution_id(const TaskExecutionIdentifier* msg) { - return *msg->node_execution_id_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionIdentifier::kTaskIdFieldNumber; -const int TaskExecutionIdentifier::kNodeExecutionIdFieldNumber; -const int TaskExecutionIdentifier::kRetryAttemptFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionIdentifier::TaskExecutionIdentifier() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TaskExecutionIdentifier) -} -TaskExecutionIdentifier::TaskExecutionIdentifier(const TaskExecutionIdentifier& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_task_id()) { - task_id_ = new ::flyteidl::core::Identifier(*from.task_id_); - } else { - task_id_ = nullptr; - } - if (from.has_node_execution_id()) { - node_execution_id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.node_execution_id_); - } else { - node_execution_id_ = nullptr; - } - retry_attempt_ = from.retry_attempt_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TaskExecutionIdentifier) -} - -void TaskExecutionIdentifier::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - ::memset(&task_id_, 0, static_cast( - reinterpret_cast(&retry_attempt_) - - reinterpret_cast(&task_id_)) + sizeof(retry_attempt_)); -} - -TaskExecutionIdentifier::~TaskExecutionIdentifier() { - // @@protoc_insertion_point(destructor:flyteidl.core.TaskExecutionIdentifier) - SharedDtor(); -} - -void TaskExecutionIdentifier::SharedDtor() { - if (this != internal_default_instance()) delete task_id_; - if (this != internal_default_instance()) delete node_execution_id_; -} - -void TaskExecutionIdentifier::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionIdentifier& TaskExecutionIdentifier::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionIdentifier::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TaskExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && task_id_ != nullptr) { - delete task_id_; - } - task_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && node_execution_id_ != nullptr) { - delete node_execution_id_; - } - node_execution_id_ = nullptr; - retry_attempt_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionIdentifier::_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.Identifier task_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::Identifier::_InternalParse; - object = msg->mutable_task_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.NodeExecutionIdentifier node_execution_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); - 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; - } - // uint32 retry_attempt = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_retry_attempt(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 TaskExecutionIdentifier::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.TaskExecutionIdentifier) - 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.Identifier task_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_node_execution_id())); - } else { - goto handle_unusual; - } - break; - } - - // uint32 retry_attempt = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &retry_attempt_))); - } 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.TaskExecutionIdentifier) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TaskExecutionIdentifier) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionIdentifier::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TaskExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier task_id = 1; - if (this->has_task_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::task_id(this), output); - } - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - if (this->has_node_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::node_execution_id(this), output); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->retry_attempt(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.TaskExecutionIdentifier) -} - -::google::protobuf::uint8* TaskExecutionIdentifier::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TaskExecutionIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier task_id = 1; - if (this->has_task_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::task_id(this), target); - } - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - if (this->has_node_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::node_execution_id(this), target); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->retry_attempt(), 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.TaskExecutionIdentifier) - return target; -} - -size_t TaskExecutionIdentifier::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TaskExecutionIdentifier) - 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.Identifier task_id = 1; - if (this->has_task_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *task_id_); - } - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - if (this->has_node_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *node_execution_id_); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->retry_attempt()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionIdentifier::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TaskExecutionIdentifier) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionIdentifier* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TaskExecutionIdentifier) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TaskExecutionIdentifier) - MergeFrom(*source); - } -} - -void TaskExecutionIdentifier::MergeFrom(const TaskExecutionIdentifier& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TaskExecutionIdentifier) - 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_id()) { - mutable_task_id()->::flyteidl::core::Identifier::MergeFrom(from.task_id()); - } - if (from.has_node_execution_id()) { - mutable_node_execution_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_execution_id()); - } - if (from.retry_attempt() != 0) { - set_retry_attempt(from.retry_attempt()); - } -} - -void TaskExecutionIdentifier::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TaskExecutionIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionIdentifier::CopyFrom(const TaskExecutionIdentifier& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TaskExecutionIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionIdentifier::IsInitialized() const { - return true; -} - -void TaskExecutionIdentifier::Swap(TaskExecutionIdentifier* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionIdentifier::InternalSwap(TaskExecutionIdentifier* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(task_id_, other->task_id_); - swap(node_execution_id_, other->node_execution_id_); - swap(retry_attempt_, other->retry_attempt_); -} - -::google::protobuf::Metadata TaskExecutionIdentifier::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fidentifier_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fidentifier_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SignalIdentifier::InitAsDefaultInstance() { - ::flyteidl::core::_SignalIdentifier_default_instance_._instance.get_mutable()->execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class SignalIdentifier::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id(const SignalIdentifier* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -SignalIdentifier::HasBitSetters::execution_id(const SignalIdentifier* msg) { - return *msg->execution_id_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SignalIdentifier::kSignalIdFieldNumber; -const int SignalIdentifier::kExecutionIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SignalIdentifier::SignalIdentifier() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.SignalIdentifier) -} -SignalIdentifier::SignalIdentifier(const SignalIdentifier& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - signal_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.signal_id().size() > 0) { - signal_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signal_id_); - } - if (from.has_execution_id()) { - execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.execution_id_); - } else { - execution_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.SignalIdentifier) -} - -void SignalIdentifier::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - signal_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - execution_id_ = nullptr; -} - -SignalIdentifier::~SignalIdentifier() { - // @@protoc_insertion_point(destructor:flyteidl.core.SignalIdentifier) - SharedDtor(); -} - -void SignalIdentifier::SharedDtor() { - signal_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete execution_id_; -} - -void SignalIdentifier::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SignalIdentifier& SignalIdentifier::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SignalIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base); - return *internal_default_instance(); -} - - -void SignalIdentifier::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.SignalIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signal_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SignalIdentifier::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string signal_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.SignalIdentifier.signal_id"); - object = msg->mutable_signal_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; - } - // .flyteidl.core.WorkflowExecutionIdentifier execution_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); - parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; - object = msg->mutable_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 SignalIdentifier::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.SignalIdentifier) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string signal_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_signal_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.SignalIdentifier.signal_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.SignalIdentifier) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.SignalIdentifier) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SignalIdentifier::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.SignalIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signal_id = 1; - if (this->signal_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SignalIdentifier.signal_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->signal_id(), output); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - if (this->has_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::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.SignalIdentifier) -} - -::google::protobuf::uint8* SignalIdentifier::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.SignalIdentifier) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signal_id = 1; - if (this->signal_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SignalIdentifier.signal_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->signal_id(), target); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - if (this->has_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::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.SignalIdentifier) - return target; -} - -size_t SignalIdentifier::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.SignalIdentifier) - 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 signal_id = 1; - if (this->signal_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->signal_id()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - if (this->has_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *execution_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SignalIdentifier::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.SignalIdentifier) - GOOGLE_DCHECK_NE(&from, this); - const SignalIdentifier* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.SignalIdentifier) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.SignalIdentifier) - MergeFrom(*source); - } -} - -void SignalIdentifier::MergeFrom(const SignalIdentifier& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.SignalIdentifier) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.signal_id().size() > 0) { - - signal_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signal_id_); - } - if (from.has_execution_id()) { - mutable_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution_id()); - } -} - -void SignalIdentifier::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.SignalIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SignalIdentifier::CopyFrom(const SignalIdentifier& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.SignalIdentifier) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SignalIdentifier::IsInitialized() const { - return true; -} - -void SignalIdentifier::Swap(SignalIdentifier* other) { - if (other == this) return; - InternalSwap(other); -} -void SignalIdentifier::InternalSwap(SignalIdentifier* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - signal_id_.Swap(&other->signal_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(execution_id_, other->execution_id_); -} - -::google::protobuf::Metadata SignalIdentifier::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fidentifier_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fidentifier_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::Identifier* Arena::CreateMaybeMessage< ::flyteidl::core::Identifier >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Identifier >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowExecutionIdentifier* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowExecutionIdentifier >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowExecutionIdentifier >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::NodeExecutionIdentifier* Arena::CreateMaybeMessage< ::flyteidl::core::NodeExecutionIdentifier >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::NodeExecutionIdentifier >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskExecutionIdentifier* Arena::CreateMaybeMessage< ::flyteidl::core::TaskExecutionIdentifier >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskExecutionIdentifier >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::SignalIdentifier* Arena::CreateMaybeMessage< ::flyteidl::core::SignalIdentifier >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::SignalIdentifier >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/identifier.pb.h deleted file mode 100644 index efcc339874..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/identifier.pb.h +++ /dev/null @@ -1,1725 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/identifier.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fidentifier_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fidentifier_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fidentifier_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[5] - 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_2fcore_2fidentifier_2eproto(); -namespace flyteidl { -namespace core { -class Identifier; -class IdentifierDefaultTypeInternal; -extern IdentifierDefaultTypeInternal _Identifier_default_instance_; -class NodeExecutionIdentifier; -class NodeExecutionIdentifierDefaultTypeInternal; -extern NodeExecutionIdentifierDefaultTypeInternal _NodeExecutionIdentifier_default_instance_; -class SignalIdentifier; -class SignalIdentifierDefaultTypeInternal; -extern SignalIdentifierDefaultTypeInternal _SignalIdentifier_default_instance_; -class TaskExecutionIdentifier; -class TaskExecutionIdentifierDefaultTypeInternal; -extern TaskExecutionIdentifierDefaultTypeInternal _TaskExecutionIdentifier_default_instance_; -class WorkflowExecutionIdentifier; -class WorkflowExecutionIdentifierDefaultTypeInternal; -extern WorkflowExecutionIdentifierDefaultTypeInternal _WorkflowExecutionIdentifier_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::Identifier* Arena::CreateMaybeMessage<::flyteidl::core::Identifier>(Arena*); -template<> ::flyteidl::core::NodeExecutionIdentifier* Arena::CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(Arena*); -template<> ::flyteidl::core::SignalIdentifier* Arena::CreateMaybeMessage<::flyteidl::core::SignalIdentifier>(Arena*); -template<> ::flyteidl::core::TaskExecutionIdentifier* Arena::CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(Arena*); -template<> ::flyteidl::core::WorkflowExecutionIdentifier* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum ResourceType { - UNSPECIFIED = 0, - TASK = 1, - WORKFLOW = 2, - LAUNCH_PLAN = 3, - DATASET = 4, - ResourceType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ResourceType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ResourceType_IsValid(int value); -const ResourceType ResourceType_MIN = UNSPECIFIED; -const ResourceType ResourceType_MAX = DATASET; -const int ResourceType_ARRAYSIZE = ResourceType_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ResourceType_descriptor(); -inline const ::std::string& ResourceType_Name(ResourceType value) { - return ::google::protobuf::internal::NameOfEnum( - ResourceType_descriptor(), value); -} -inline bool ResourceType_Parse( - const ::std::string& name, ResourceType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ResourceType_descriptor(), name, value); -} -// =================================================================== - -class Identifier final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Identifier) */ { - public: - Identifier(); - virtual ~Identifier(); - - Identifier(const Identifier& from); - - inline Identifier& operator=(const Identifier& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Identifier(Identifier&& from) noexcept - : Identifier() { - *this = ::std::move(from); - } - - inline Identifier& operator=(Identifier&& 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 Identifier& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Identifier* internal_default_instance() { - return reinterpret_cast( - &_Identifier_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Identifier* other); - friend void swap(Identifier& a, Identifier& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Identifier* New() const final { - return CreateMaybeMessage(nullptr); - } - - Identifier* 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 Identifier& from); - void MergeFrom(const Identifier& 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(Identifier* 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 = 2; - void clear_project(); - static const int kProjectFieldNumber = 2; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 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 name = 4; - void clear_name(); - static const int kNameFieldNumber = 4; - 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 version = 5; - void clear_version(); - static const int kVersionFieldNumber = 5; - 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 org = 6; - void clear_org(); - static const int kOrgFieldNumber = 6; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // .flyteidl.core.ResourceType resource_type = 1; - void clear_resource_type(); - static const int kResourceTypeFieldNumber = 1; - ::flyteidl::core::ResourceType resource_type() const; - void set_resource_type(::flyteidl::core::ResourceType value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Identifier) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::google::protobuf::internal::ArenaStringPtr org_; - int resource_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fidentifier_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowExecutionIdentifier final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.WorkflowExecutionIdentifier) */ { - public: - WorkflowExecutionIdentifier(); - virtual ~WorkflowExecutionIdentifier(); - - WorkflowExecutionIdentifier(const WorkflowExecutionIdentifier& from); - - inline WorkflowExecutionIdentifier& operator=(const WorkflowExecutionIdentifier& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionIdentifier(WorkflowExecutionIdentifier&& from) noexcept - : WorkflowExecutionIdentifier() { - *this = ::std::move(from); - } - - inline WorkflowExecutionIdentifier& operator=(WorkflowExecutionIdentifier&& 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 WorkflowExecutionIdentifier& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionIdentifier* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionIdentifier_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(WorkflowExecutionIdentifier* other); - friend void swap(WorkflowExecutionIdentifier& a, WorkflowExecutionIdentifier& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionIdentifier* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionIdentifier* 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 WorkflowExecutionIdentifier& from); - void MergeFrom(const WorkflowExecutionIdentifier& 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(WorkflowExecutionIdentifier* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string name = 4; - void clear_name(); - static const int kNameFieldNumber = 4; - 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 org = 5; - void clear_org(); - static const int kOrgFieldNumber = 5; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowExecutionIdentifier) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr org_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fidentifier_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionIdentifier final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.NodeExecutionIdentifier) */ { - public: - NodeExecutionIdentifier(); - virtual ~NodeExecutionIdentifier(); - - NodeExecutionIdentifier(const NodeExecutionIdentifier& from); - - inline NodeExecutionIdentifier& operator=(const NodeExecutionIdentifier& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionIdentifier(NodeExecutionIdentifier&& from) noexcept - : NodeExecutionIdentifier() { - *this = ::std::move(from); - } - - inline NodeExecutionIdentifier& operator=(NodeExecutionIdentifier&& 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 NodeExecutionIdentifier& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionIdentifier* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionIdentifier_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(NodeExecutionIdentifier* other); - friend void swap(NodeExecutionIdentifier& a, NodeExecutionIdentifier& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionIdentifier* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionIdentifier* 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 NodeExecutionIdentifier& from); - void MergeFrom(const NodeExecutionIdentifier& 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(NodeExecutionIdentifier* 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 node_id = 1; - void clear_node_id(); - static const int kNodeIdFieldNumber = 1; - const ::std::string& node_id() const; - void set_node_id(const ::std::string& value); - #if LANG_CXX11 - void set_node_id(::std::string&& value); - #endif - void set_node_id(const char* value); - void set_node_id(const char* value, size_t size); - ::std::string* mutable_node_id(); - ::std::string* release_node_id(); - void set_allocated_node_id(::std::string* node_id); - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - bool has_execution_id() const; - void clear_execution_id(); - static const int kExecutionIdFieldNumber = 2; - const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_execution_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_execution_id(); - void set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id); - - // @@protoc_insertion_point(class_scope:flyteidl.core.NodeExecutionIdentifier) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr node_id_; - ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fidentifier_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionIdentifier final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TaskExecutionIdentifier) */ { - public: - TaskExecutionIdentifier(); - virtual ~TaskExecutionIdentifier(); - - TaskExecutionIdentifier(const TaskExecutionIdentifier& from); - - inline TaskExecutionIdentifier& operator=(const TaskExecutionIdentifier& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionIdentifier(TaskExecutionIdentifier&& from) noexcept - : TaskExecutionIdentifier() { - *this = ::std::move(from); - } - - inline TaskExecutionIdentifier& operator=(TaskExecutionIdentifier&& 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 TaskExecutionIdentifier& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionIdentifier* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionIdentifier_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TaskExecutionIdentifier* other); - friend void swap(TaskExecutionIdentifier& a, TaskExecutionIdentifier& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionIdentifier* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionIdentifier* 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 TaskExecutionIdentifier& from); - void MergeFrom(const TaskExecutionIdentifier& 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(TaskExecutionIdentifier* 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.Identifier task_id = 1; - bool has_task_id() const; - void clear_task_id(); - static const int kTaskIdFieldNumber = 1; - const ::flyteidl::core::Identifier& task_id() const; - ::flyteidl::core::Identifier* release_task_id(); - ::flyteidl::core::Identifier* mutable_task_id(); - void set_allocated_task_id(::flyteidl::core::Identifier* task_id); - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - bool has_node_execution_id() const; - void clear_node_execution_id(); - static const int kNodeExecutionIdFieldNumber = 2; - 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); - - // uint32 retry_attempt = 3; - void clear_retry_attempt(); - static const int kRetryAttemptFieldNumber = 3; - ::google::protobuf::uint32 retry_attempt() const; - void set_retry_attempt(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskExecutionIdentifier) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Identifier* task_id_; - ::flyteidl::core::NodeExecutionIdentifier* node_execution_id_; - ::google::protobuf::uint32 retry_attempt_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fidentifier_2eproto; -}; -// ------------------------------------------------------------------- - -class SignalIdentifier final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.SignalIdentifier) */ { - public: - SignalIdentifier(); - virtual ~SignalIdentifier(); - - SignalIdentifier(const SignalIdentifier& from); - - inline SignalIdentifier& operator=(const SignalIdentifier& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SignalIdentifier(SignalIdentifier&& from) noexcept - : SignalIdentifier() { - *this = ::std::move(from); - } - - inline SignalIdentifier& operator=(SignalIdentifier&& 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 SignalIdentifier& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SignalIdentifier* internal_default_instance() { - return reinterpret_cast( - &_SignalIdentifier_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(SignalIdentifier* other); - friend void swap(SignalIdentifier& a, SignalIdentifier& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SignalIdentifier* New() const final { - return CreateMaybeMessage(nullptr); - } - - SignalIdentifier* 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 SignalIdentifier& from); - void MergeFrom(const SignalIdentifier& 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(SignalIdentifier* 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 signal_id = 1; - void clear_signal_id(); - static const int kSignalIdFieldNumber = 1; - const ::std::string& signal_id() const; - void set_signal_id(const ::std::string& value); - #if LANG_CXX11 - void set_signal_id(::std::string&& value); - #endif - void set_signal_id(const char* value); - void set_signal_id(const char* value, size_t size); - ::std::string* mutable_signal_id(); - ::std::string* release_signal_id(); - void set_allocated_signal_id(::std::string* signal_id); - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - bool has_execution_id() const; - void clear_execution_id(); - static const int kExecutionIdFieldNumber = 2; - const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_execution_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_execution_id(); - void set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id); - - // @@protoc_insertion_point(class_scope:flyteidl.core.SignalIdentifier) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr signal_id_; - ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fidentifier_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Identifier - -// .flyteidl.core.ResourceType resource_type = 1; -inline void Identifier::clear_resource_type() { - resource_type_ = 0; -} -inline ::flyteidl::core::ResourceType Identifier::resource_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identifier.resource_type) - return static_cast< ::flyteidl::core::ResourceType >(resource_type_); -} -inline void Identifier::set_resource_type(::flyteidl::core::ResourceType value) { - - resource_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Identifier.resource_type) -} - -// string project = 2; -inline void Identifier::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identifier::project() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identifier.project) - return project_.GetNoArena(); -} -inline void Identifier::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identifier.project) -} -#if LANG_CXX11 -inline void Identifier::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identifier.project) -} -#endif -inline void Identifier::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identifier.project) -} -inline void Identifier::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identifier.project) -} -inline ::std::string* Identifier::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identifier.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identifier::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identifier.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identifier::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identifier.project) -} - -// string domain = 3; -inline void Identifier::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identifier::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identifier.domain) - return domain_.GetNoArena(); -} -inline void Identifier::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identifier.domain) -} -#if LANG_CXX11 -inline void Identifier::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identifier.domain) -} -#endif -inline void Identifier::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identifier.domain) -} -inline void Identifier::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identifier.domain) -} -inline ::std::string* Identifier::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identifier.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identifier::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identifier.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identifier::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identifier.domain) -} - -// string name = 4; -inline void Identifier::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identifier::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identifier.name) - return name_.GetNoArena(); -} -inline void Identifier::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identifier.name) -} -#if LANG_CXX11 -inline void Identifier::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identifier.name) -} -#endif -inline void Identifier::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identifier.name) -} -inline void Identifier::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identifier.name) -} -inline ::std::string* Identifier::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identifier.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identifier::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identifier.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identifier::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identifier.name) -} - -// string version = 5; -inline void Identifier::clear_version() { - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identifier::version() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identifier.version) - return version_.GetNoArena(); -} -inline void Identifier::set_version(const ::std::string& value) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identifier.version) -} -#if LANG_CXX11 -inline void Identifier::set_version(::std::string&& value) { - - version_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identifier.version) -} -#endif -inline void Identifier::set_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identifier.version) -} -inline void Identifier::set_version(const char* value, size_t size) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identifier.version) -} -inline ::std::string* Identifier::mutable_version() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identifier.version) - return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identifier::release_version() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identifier.version) - - return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identifier::set_allocated_version(::std::string* version) { - if (version != nullptr) { - - } else { - - } - version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identifier.version) -} - -// string org = 6; -inline void Identifier::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identifier::org() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identifier.org) - return org_.GetNoArena(); -} -inline void Identifier::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identifier.org) -} -#if LANG_CXX11 -inline void Identifier::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identifier.org) -} -#endif -inline void Identifier::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identifier.org) -} -inline void Identifier::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identifier.org) -} -inline ::std::string* Identifier::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identifier.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identifier::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identifier.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identifier::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identifier.org) -} - -// ------------------------------------------------------------------- - -// WorkflowExecutionIdentifier - -// string project = 1; -inline void WorkflowExecutionIdentifier::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowExecutionIdentifier::project() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowExecutionIdentifier.project) - return project_.GetNoArena(); -} -inline void WorkflowExecutionIdentifier::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.WorkflowExecutionIdentifier.project) -} -#if LANG_CXX11 -inline void WorkflowExecutionIdentifier::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.WorkflowExecutionIdentifier.project) -} -#endif -inline void WorkflowExecutionIdentifier::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.WorkflowExecutionIdentifier.project) -} -inline void WorkflowExecutionIdentifier::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.WorkflowExecutionIdentifier.project) -} -inline ::std::string* WorkflowExecutionIdentifier::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowExecutionIdentifier.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowExecutionIdentifier::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowExecutionIdentifier.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowExecutionIdentifier::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowExecutionIdentifier.project) -} - -// string domain = 2; -inline void WorkflowExecutionIdentifier::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowExecutionIdentifier::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowExecutionIdentifier.domain) - return domain_.GetNoArena(); -} -inline void WorkflowExecutionIdentifier::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.WorkflowExecutionIdentifier.domain) -} -#if LANG_CXX11 -inline void WorkflowExecutionIdentifier::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.WorkflowExecutionIdentifier.domain) -} -#endif -inline void WorkflowExecutionIdentifier::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.WorkflowExecutionIdentifier.domain) -} -inline void WorkflowExecutionIdentifier::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.WorkflowExecutionIdentifier.domain) -} -inline ::std::string* WorkflowExecutionIdentifier::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowExecutionIdentifier.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowExecutionIdentifier::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowExecutionIdentifier.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowExecutionIdentifier::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowExecutionIdentifier.domain) -} - -// string name = 4; -inline void WorkflowExecutionIdentifier::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowExecutionIdentifier::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowExecutionIdentifier.name) - return name_.GetNoArena(); -} -inline void WorkflowExecutionIdentifier::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.WorkflowExecutionIdentifier.name) -} -#if LANG_CXX11 -inline void WorkflowExecutionIdentifier::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.WorkflowExecutionIdentifier.name) -} -#endif -inline void WorkflowExecutionIdentifier::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.WorkflowExecutionIdentifier.name) -} -inline void WorkflowExecutionIdentifier::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.WorkflowExecutionIdentifier.name) -} -inline ::std::string* WorkflowExecutionIdentifier::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowExecutionIdentifier.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowExecutionIdentifier::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowExecutionIdentifier.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowExecutionIdentifier::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowExecutionIdentifier.name) -} - -// string org = 5; -inline void WorkflowExecutionIdentifier::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowExecutionIdentifier::org() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowExecutionIdentifier.org) - return org_.GetNoArena(); -} -inline void WorkflowExecutionIdentifier::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.WorkflowExecutionIdentifier.org) -} -#if LANG_CXX11 -inline void WorkflowExecutionIdentifier::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.WorkflowExecutionIdentifier.org) -} -#endif -inline void WorkflowExecutionIdentifier::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.WorkflowExecutionIdentifier.org) -} -inline void WorkflowExecutionIdentifier::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.WorkflowExecutionIdentifier.org) -} -inline ::std::string* WorkflowExecutionIdentifier::mutable_org() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowExecutionIdentifier.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowExecutionIdentifier::release_org() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowExecutionIdentifier.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowExecutionIdentifier::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowExecutionIdentifier.org) -} - -// ------------------------------------------------------------------- - -// NodeExecutionIdentifier - -// string node_id = 1; -inline void NodeExecutionIdentifier::clear_node_id() { - node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionIdentifier::node_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.NodeExecutionIdentifier.node_id) - return node_id_.GetNoArena(); -} -inline void NodeExecutionIdentifier::set_node_id(const ::std::string& value) { - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.NodeExecutionIdentifier.node_id) -} -#if LANG_CXX11 -inline void NodeExecutionIdentifier::set_node_id(::std::string&& value) { - - node_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.NodeExecutionIdentifier.node_id) -} -#endif -inline void NodeExecutionIdentifier::set_node_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.NodeExecutionIdentifier.node_id) -} -inline void NodeExecutionIdentifier::set_node_id(const char* value, size_t size) { - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.NodeExecutionIdentifier.node_id) -} -inline ::std::string* NodeExecutionIdentifier::mutable_node_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.NodeExecutionIdentifier.node_id) - return node_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionIdentifier::release_node_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.NodeExecutionIdentifier.node_id) - - return node_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionIdentifier::set_allocated_node_id(::std::string* node_id) { - if (node_id != nullptr) { - - } else { - - } - node_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), node_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.NodeExecutionIdentifier.node_id) -} - -// .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; -inline bool NodeExecutionIdentifier::has_execution_id() const { - return this != internal_default_instance() && execution_id_ != nullptr; -} -inline void NodeExecutionIdentifier::clear_execution_id() { - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& NodeExecutionIdentifier::execution_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.core.NodeExecutionIdentifier.execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* NodeExecutionIdentifier::release_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.NodeExecutionIdentifier.execution_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_id_; - execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* NodeExecutionIdentifier::mutable_execution_id() { - - if (execution_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - execution_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.NodeExecutionIdentifier.execution_id) - return execution_id_; -} -inline void NodeExecutionIdentifier::set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete execution_id_; - } - if (execution_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - execution_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, execution_id, submessage_arena); - } - - } else { - - } - execution_id_ = execution_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.NodeExecutionIdentifier.execution_id) -} - -// ------------------------------------------------------------------- - -// TaskExecutionIdentifier - -// .flyteidl.core.Identifier task_id = 1; -inline bool TaskExecutionIdentifier::has_task_id() const { - return this != internal_default_instance() && task_id_ != nullptr; -} -inline void TaskExecutionIdentifier::clear_task_id() { - if (GetArenaNoVirtual() == nullptr && task_id_ != nullptr) { - delete task_id_; - } - task_id_ = nullptr; -} -inline const ::flyteidl::core::Identifier& TaskExecutionIdentifier::task_id() const { - const ::flyteidl::core::Identifier* p = task_id_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskExecutionIdentifier.task_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* TaskExecutionIdentifier::release_task_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskExecutionIdentifier.task_id) - - ::flyteidl::core::Identifier* temp = task_id_; - task_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* TaskExecutionIdentifier::mutable_task_id() { - - if (task_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - task_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskExecutionIdentifier.task_id) - return task_id_; -} -inline void TaskExecutionIdentifier::set_allocated_task_id(::flyteidl::core::Identifier* task_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete task_id_; - } - if (task_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_id, submessage_arena); - } - - } else { - - } - task_id_ = task_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskExecutionIdentifier.task_id) -} - -// .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; -inline bool TaskExecutionIdentifier::has_node_execution_id() const { - return this != internal_default_instance() && node_execution_id_ != nullptr; -} -inline void TaskExecutionIdentifier::clear_node_execution_id() { - if (GetArenaNoVirtual() == nullptr && node_execution_id_ != nullptr) { - delete node_execution_id_; - } - node_execution_id_ = nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& TaskExecutionIdentifier::node_execution_id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = node_execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskExecutionIdentifier.node_execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* TaskExecutionIdentifier::release_node_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskExecutionIdentifier.node_execution_id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = node_execution_id_; - node_execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* TaskExecutionIdentifier::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.TaskExecutionIdentifier.node_execution_id) - return node_execution_id_; -} -inline void TaskExecutionIdentifier::set_allocated_node_execution_id(::flyteidl::core::NodeExecutionIdentifier* node_execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete 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.TaskExecutionIdentifier.node_execution_id) -} - -// uint32 retry_attempt = 3; -inline void TaskExecutionIdentifier::clear_retry_attempt() { - retry_attempt_ = 0u; -} -inline ::google::protobuf::uint32 TaskExecutionIdentifier::retry_attempt() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskExecutionIdentifier.retry_attempt) - return retry_attempt_; -} -inline void TaskExecutionIdentifier::set_retry_attempt(::google::protobuf::uint32 value) { - - retry_attempt_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.TaskExecutionIdentifier.retry_attempt) -} - -// ------------------------------------------------------------------- - -// SignalIdentifier - -// string signal_id = 1; -inline void SignalIdentifier::clear_signal_id() { - signal_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SignalIdentifier::signal_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.SignalIdentifier.signal_id) - return signal_id_.GetNoArena(); -} -inline void SignalIdentifier::set_signal_id(const ::std::string& value) { - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.SignalIdentifier.signal_id) -} -#if LANG_CXX11 -inline void SignalIdentifier::set_signal_id(::std::string&& value) { - - signal_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.SignalIdentifier.signal_id) -} -#endif -inline void SignalIdentifier::set_signal_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.SignalIdentifier.signal_id) -} -inline void SignalIdentifier::set_signal_id(const char* value, size_t size) { - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.SignalIdentifier.signal_id) -} -inline ::std::string* SignalIdentifier::mutable_signal_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.SignalIdentifier.signal_id) - return signal_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SignalIdentifier::release_signal_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.SignalIdentifier.signal_id) - - return signal_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SignalIdentifier::set_allocated_signal_id(::std::string* signal_id) { - if (signal_id != nullptr) { - - } else { - - } - signal_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), signal_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SignalIdentifier.signal_id) -} - -// .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; -inline bool SignalIdentifier::has_execution_id() const { - return this != internal_default_instance() && execution_id_ != nullptr; -} -inline void SignalIdentifier::clear_execution_id() { - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& SignalIdentifier::execution_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.core.SignalIdentifier.execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* SignalIdentifier::release_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.SignalIdentifier.execution_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_id_; - execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* SignalIdentifier::mutable_execution_id() { - - if (execution_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - execution_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.SignalIdentifier.execution_id) - return execution_id_; -} -inline void SignalIdentifier::set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete execution_id_; - } - if (execution_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - execution_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, execution_id, submessage_arena); - } - - } else { - - } - execution_id_ = execution_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SignalIdentifier.execution_id) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::ResourceType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::ResourceType>() { - return ::flyteidl::core::ResourceType_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fidentifier_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/interface.grpc.pb.cc deleted file mode 100644 index 94c018c70b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/interface.proto - -#include "flyteidl/core/interface.pb.h" -#include "flyteidl/core/interface.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/interface.grpc.pb.h deleted file mode 100644 index d4b6633cae..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/interface.proto -#ifndef GRPC_flyteidl_2fcore_2finterface_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2finterface_2eproto__INCLUDED - -#include "flyteidl/core/interface.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2finterface_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc deleted file mode 100644 index 3304c00c25..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc +++ /dev/null @@ -1,2659 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/interface.proto - -#include "flyteidl/core/interface.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; -namespace flyteidl { -namespace core { -class VariableDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Variable_default_instance_; -class VariableMap_VariablesEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _VariableMap_VariablesEntry_DoNotUse_default_instance_; -class VariableMapDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _VariableMap_default_instance_; -class TypedInterfaceDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TypedInterface_default_instance_; -class ParameterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Literal* default__; - bool required_; - const ::flyteidl::core::ArtifactQuery* artifact_query_; - const ::flyteidl::core::ArtifactID* artifact_id_; -} _Parameter_default_instance_; -class ParameterMap_ParametersEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ParameterMap_ParametersEntry_DoNotUse_default_instance_; -class ParameterMapDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ParameterMap_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsVariable_flyteidl_2fcore_2finterface_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Variable_default_instance_; - new (ptr) ::flyteidl::core::Variable(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Variable::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsVariable_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_ArtifactTag_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsVariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_VariableMap_VariablesEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::VariableMap_VariablesEntry_DoNotUse(); - } - ::flyteidl::core::VariableMap_VariablesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsVariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base,}}; - -static void InitDefaultsVariableMap_flyteidl_2fcore_2finterface_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_VariableMap_default_instance_; - new (ptr) ::flyteidl::core::VariableMap(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::VariableMap::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsVariableMap_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_VariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto.base,}}; - -static void InitDefaultsTypedInterface_flyteidl_2fcore_2finterface_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TypedInterface_default_instance_; - new (ptr) ::flyteidl::core::TypedInterface(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TypedInterface::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTypedInterface_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto.base,}}; - -static void InitDefaultsParameter_flyteidl_2fcore_2finterface_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Parameter_default_instance_; - new (ptr) ::flyteidl::core::Parameter(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Parameter::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsParameter_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -static void InitDefaultsParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ParameterMap_ParametersEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse(); - } - ::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto.base,}}; - -static void InitDefaultsParameterMap_flyteidl_2fcore_2finterface_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ParameterMap_default_instance_; - new (ptr) ::flyteidl::core::ParameterMap(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ParameterMap::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsParameterMap_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_ParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2finterface_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_VariableMap_VariablesEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ParameterMap_ParametersEntry_DoNotUse_flyteidl_2fcore_2finterface_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2finterface_2eproto[7]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2finterface_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2finterface_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2finterface_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, description_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, artifact_partial_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Variable, artifact_tag_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::VariableMap, variables_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypedInterface, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypedInterface, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypedInterface, outputs_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Parameter, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Parameter, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Parameter, var_), - offsetof(::flyteidl::core::ParameterDefaultTypeInternal, default__), - offsetof(::flyteidl::core::ParameterDefaultTypeInternal, required_), - offsetof(::flyteidl::core::ParameterDefaultTypeInternal, artifact_query_), - offsetof(::flyteidl::core::ParameterDefaultTypeInternal, artifact_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Parameter, behavior_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ParameterMap, parameters_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::Variable)}, - { 9, 16, sizeof(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse)}, - { 18, -1, sizeof(::flyteidl::core::VariableMap)}, - { 24, -1, sizeof(::flyteidl::core::TypedInterface)}, - { 31, -1, sizeof(::flyteidl::core::Parameter)}, - { 42, 49, sizeof(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse)}, - { 51, -1, sizeof(::flyteidl::core::ParameterMap)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_Variable_default_instance_), - reinterpret_cast(&::flyteidl::core::_VariableMap_VariablesEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_VariableMap_default_instance_), - reinterpret_cast(&::flyteidl::core::_TypedInterface_default_instance_), - reinterpret_cast(&::flyteidl::core::_Parameter_default_instance_), - reinterpret_cast(&::flyteidl::core::_ParameterMap_ParametersEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_ParameterMap_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2finterface_2eproto, "flyteidl/core/interface.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2finterface_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2finterface_2eproto, 7, file_level_enum_descriptors_flyteidl_2fcore_2finterface_2eproto, file_level_service_descriptors_flyteidl_2fcore_2finterface_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2finterface_2eproto[] = - "\n\035flyteidl/core/interface.proto\022\rflyteid" - "l.core\032\031flyteidl/core/types.proto\032\034flyte" - "idl/core/literals.proto\032\037flyteidl/core/a" - "rtifact_id.proto\"\263\001\n\010Variable\022(\n\004type\030\001 " - "\001(\0132\032.flyteidl.core.LiteralType\022\023\n\013descr" - "iption\030\002 \001(\t\0226\n\023artifact_partial_id\030\003 \001(" - "\0132\031.flyteidl.core.ArtifactID\0220\n\014artifact" - "_tag\030\004 \001(\0132\032.flyteidl.core.ArtifactTag\"\226" - "\001\n\013VariableMap\022<\n\tvariables\030\001 \003(\0132).flyt" - "eidl.core.VariableMap.VariablesEntry\032I\n\016" - "VariablesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001" - "(\0132\027.flyteidl.core.Variable:\0028\001\"i\n\016Typed" - "Interface\022*\n\006inputs\030\001 \001(\0132\032.flyteidl.cor" - "e.VariableMap\022+\n\007outputs\030\002 \001(\0132\032.flyteid" - "l.core.VariableMap\"\346\001\n\tParameter\022$\n\003var\030" - "\001 \001(\0132\027.flyteidl.core.Variable\022)\n\007defaul" - "t\030\002 \001(\0132\026.flyteidl.core.LiteralH\000\022\022\n\010req" - "uired\030\003 \001(\010H\000\0226\n\016artifact_query\030\004 \001(\0132\034." - "flyteidl.core.ArtifactQueryH\000\0220\n\013artifac" - "t_id\030\005 \001(\0132\031.flyteidl.core.ArtifactIDH\000B" - "\n\n\010behavior\"\234\001\n\014ParameterMap\022\?\n\nparamete" - "rs\030\001 \003(\0132+.flyteidl.core.ParameterMap.Pa" - "rametersEntry\032K\n\017ParametersEntry\022\013\n\003key\030" - "\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.flyteidl.core.Par" - "ameter:\0028\001Btype_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); - ::flyteidl::core::_Variable_default_instance_._instance.get_mutable()->artifact_partial_id_ = const_cast< ::flyteidl::core::ArtifactID*>( - ::flyteidl::core::ArtifactID::internal_default_instance()); - ::flyteidl::core::_Variable_default_instance_._instance.get_mutable()->artifact_tag_ = const_cast< ::flyteidl::core::ArtifactTag*>( - ::flyteidl::core::ArtifactTag::internal_default_instance()); -} -class Variable::HasBitSetters { - public: - static const ::flyteidl::core::LiteralType& type(const Variable* msg); - static const ::flyteidl::core::ArtifactID& artifact_partial_id(const Variable* msg); - static const ::flyteidl::core::ArtifactTag& artifact_tag(const Variable* msg); -}; - -const ::flyteidl::core::LiteralType& -Variable::HasBitSetters::type(const Variable* msg) { - return *msg->type_; -} -const ::flyteidl::core::ArtifactID& -Variable::HasBitSetters::artifact_partial_id(const Variable* msg) { - return *msg->artifact_partial_id_; -} -const ::flyteidl::core::ArtifactTag& -Variable::HasBitSetters::artifact_tag(const Variable* msg) { - return *msg->artifact_tag_; -} -void Variable::clear_type() { - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; -} -void Variable::clear_artifact_partial_id() { - if (GetArenaNoVirtual() == nullptr && artifact_partial_id_ != nullptr) { - delete artifact_partial_id_; - } - artifact_partial_id_ = nullptr; -} -void Variable::clear_artifact_tag() { - if (GetArenaNoVirtual() == nullptr && artifact_tag_ != nullptr) { - delete artifact_tag_; - } - artifact_tag_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Variable::kTypeFieldNumber; -const int Variable::kDescriptionFieldNumber; -const int Variable::kArtifactPartialIdFieldNumber; -const int Variable::kArtifactTagFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Variable::Variable() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Variable) -} -Variable::Variable(const Variable& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.description().size() > 0) { - description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); - } - if (from.has_type()) { - type_ = new ::flyteidl::core::LiteralType(*from.type_); - } else { - type_ = nullptr; - } - if (from.has_artifact_partial_id()) { - artifact_partial_id_ = new ::flyteidl::core::ArtifactID(*from.artifact_partial_id_); - } else { - artifact_partial_id_ = nullptr; - } - if (from.has_artifact_tag()) { - artifact_tag_ = new ::flyteidl::core::ArtifactTag(*from.artifact_tag_); - } else { - artifact_tag_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Variable) -} - -void Variable::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base); - description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&type_, 0, static_cast( - reinterpret_cast(&artifact_tag_) - - reinterpret_cast(&type_)) + sizeof(artifact_tag_)); -} - -Variable::~Variable() { - // @@protoc_insertion_point(destructor:flyteidl.core.Variable) - SharedDtor(); -} - -void Variable::SharedDtor() { - description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete type_; - if (this != internal_default_instance()) delete artifact_partial_id_; - if (this != internal_default_instance()) delete artifact_tag_; -} - -void Variable::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Variable& Variable::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base); - return *internal_default_instance(); -} - - -void Variable::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Variable) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; - if (GetArenaNoVirtual() == nullptr && artifact_partial_id_ != nullptr) { - delete artifact_partial_id_; - } - artifact_partial_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && artifact_tag_ != nullptr) { - delete artifact_tag_; - } - artifact_tag_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Variable::_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.LiteralType type = 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::LiteralType::_InternalParse; - object = msg->mutable_type(); - 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 description = 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.Variable.description"); - object = msg->mutable_description(); - 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.ArtifactID artifact_partial_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::ArtifactID::_InternalParse; - object = msg->mutable_artifact_partial_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.ArtifactTag artifact_tag = 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::ArtifactTag::_InternalParse; - object = msg->mutable_artifact_tag(); - 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 Variable::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.Variable) - 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.LiteralType type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_type())); - } else { - goto handle_unusual; - } - break; - } - - // string description = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_description())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Variable.description")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArtifactID artifact_partial_id = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_partial_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArtifactTag artifact_tag = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_tag())); - } 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.Variable) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Variable) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Variable::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Variable) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralType type = 1; - if (this->has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::type(this), output); - } - - // string description = 2; - if (this->description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Variable.description"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->description(), output); - } - - // .flyteidl.core.ArtifactID artifact_partial_id = 3; - if (this->has_artifact_partial_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::artifact_partial_id(this), output); - } - - // .flyteidl.core.ArtifactTag artifact_tag = 4; - if (this->has_artifact_tag()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::artifact_tag(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.Variable) -} - -::google::protobuf::uint8* Variable::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Variable) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralType type = 1; - if (this->has_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::type(this), target); - } - - // string description = 2; - if (this->description().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->description().data(), static_cast(this->description().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Variable.description"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->description(), target); - } - - // .flyteidl.core.ArtifactID artifact_partial_id = 3; - if (this->has_artifact_partial_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::artifact_partial_id(this), target); - } - - // .flyteidl.core.ArtifactTag artifact_tag = 4; - if (this->has_artifact_tag()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::artifact_tag(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.Variable) - return target; -} - -size_t Variable::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Variable) - 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 description = 2; - if (this->description().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->description()); - } - - // .flyteidl.core.LiteralType type = 1; - if (this->has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_); - } - - // .flyteidl.core.ArtifactID artifact_partial_id = 3; - if (this->has_artifact_partial_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *artifact_partial_id_); - } - - // .flyteidl.core.ArtifactTag artifact_tag = 4; - if (this->has_artifact_tag()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *artifact_tag_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Variable::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Variable) - GOOGLE_DCHECK_NE(&from, this); - const Variable* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Variable) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Variable) - MergeFrom(*source); - } -} - -void Variable::MergeFrom(const Variable& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Variable) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.description().size() > 0) { - - description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); - } - if (from.has_type()) { - mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); - } - if (from.has_artifact_partial_id()) { - mutable_artifact_partial_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_partial_id()); - } - if (from.has_artifact_tag()) { - mutable_artifact_tag()->::flyteidl::core::ArtifactTag::MergeFrom(from.artifact_tag()); - } -} - -void Variable::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Variable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Variable::CopyFrom(const Variable& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Variable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Variable::IsInitialized() const { - return true; -} - -void Variable::Swap(Variable* other) { - if (other == this) return; - InternalSwap(other); -} -void Variable::InternalSwap(Variable* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - description_.Swap(&other->description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(type_, other->type_); - swap(artifact_partial_id_, other->artifact_partial_id_); - swap(artifact_tag_, other->artifact_tag_); -} - -::google::protobuf::Metadata Variable::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2finterface_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -VariableMap_VariablesEntry_DoNotUse::VariableMap_VariablesEntry_DoNotUse() {} -VariableMap_VariablesEntry_DoNotUse::VariableMap_VariablesEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void VariableMap_VariablesEntry_DoNotUse::MergeFrom(const VariableMap_VariablesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata VariableMap_VariablesEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2finterface_2eproto[1]; -} -void VariableMap_VariablesEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool VariableMap_VariablesEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - VariableMap_VariablesEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.VariableMap.VariablesEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void VariableMap::InitAsDefaultInstance() { -} -class VariableMap::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int VariableMap::kVariablesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -VariableMap::VariableMap() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.VariableMap) -} -VariableMap::VariableMap(const VariableMap& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - variables_.MergeFrom(from.variables_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.VariableMap) -} - -void VariableMap::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto.base); -} - -VariableMap::~VariableMap() { - // @@protoc_insertion_point(destructor:flyteidl.core.VariableMap) - SharedDtor(); -} - -void VariableMap::SharedDtor() { -} - -void VariableMap::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const VariableMap& VariableMap::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto.base); - return *internal_default_instance(); -} - - -void VariableMap::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.VariableMap) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - variables_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* VariableMap::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map variables = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::VariableMap_VariablesEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->variables_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool VariableMap::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.VariableMap) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map variables = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - VariableMap_VariablesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - VariableMap_VariablesEntry_DoNotUse, - ::std::string, ::flyteidl::core::Variable, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable > > parser(&variables_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.VariableMap.VariablesEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.VariableMap) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.VariableMap) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void VariableMap::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.VariableMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map variables = 1; - if (!this->variables().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.VariableMap.VariablesEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->variables().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->variables().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::const_iterator - it = this->variables().begin(); - it != this->variables().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(variables_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::const_iterator - it = this->variables().begin(); - it != this->variables().end(); ++it) { - entry.reset(variables_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.VariableMap) -} - -::google::protobuf::uint8* VariableMap::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.VariableMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map variables = 1; - if (!this->variables().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.VariableMap.VariablesEntry.key"); - } - }; - - if (false && - this->variables().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->variables().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::const_iterator - it = this->variables().begin(); - it != this->variables().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(variables_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::const_iterator - it = this->variables().begin(); - it != this->variables().end(); ++it) { - entry.reset(variables_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.VariableMap) - return target; -} - -size_t VariableMap::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.VariableMap) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map variables = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->variables_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >::const_iterator - it = this->variables().begin(); - it != this->variables().end(); ++it) { - entry.reset(variables_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void VariableMap::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.VariableMap) - GOOGLE_DCHECK_NE(&from, this); - const VariableMap* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.VariableMap) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.VariableMap) - MergeFrom(*source); - } -} - -void VariableMap::MergeFrom(const VariableMap& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.VariableMap) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - variables_.MergeFrom(from.variables_); -} - -void VariableMap::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.VariableMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void VariableMap::CopyFrom(const VariableMap& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.VariableMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool VariableMap::IsInitialized() const { - return true; -} - -void VariableMap::Swap(VariableMap* other) { - if (other == this) return; - InternalSwap(other); -} -void VariableMap::InternalSwap(VariableMap* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - variables_.Swap(&other->variables_); -} - -::google::protobuf::Metadata VariableMap::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2finterface_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TypedInterface::InitAsDefaultInstance() { - ::flyteidl::core::_TypedInterface_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::VariableMap*>( - ::flyteidl::core::VariableMap::internal_default_instance()); - ::flyteidl::core::_TypedInterface_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::core::VariableMap*>( - ::flyteidl::core::VariableMap::internal_default_instance()); -} -class TypedInterface::HasBitSetters { - public: - static const ::flyteidl::core::VariableMap& inputs(const TypedInterface* msg); - static const ::flyteidl::core::VariableMap& outputs(const TypedInterface* msg); -}; - -const ::flyteidl::core::VariableMap& -TypedInterface::HasBitSetters::inputs(const TypedInterface* msg) { - return *msg->inputs_; -} -const ::flyteidl::core::VariableMap& -TypedInterface::HasBitSetters::outputs(const TypedInterface* msg) { - return *msg->outputs_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TypedInterface::kInputsFieldNumber; -const int TypedInterface::kOutputsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TypedInterface::TypedInterface() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TypedInterface) -} -TypedInterface::TypedInterface(const TypedInterface& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_inputs()) { - inputs_ = new ::flyteidl::core::VariableMap(*from.inputs_); - } else { - inputs_ = nullptr; - } - if (from.has_outputs()) { - outputs_ = new ::flyteidl::core::VariableMap(*from.outputs_); - } else { - outputs_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TypedInterface) -} - -void TypedInterface::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base); - ::memset(&inputs_, 0, static_cast( - reinterpret_cast(&outputs_) - - reinterpret_cast(&inputs_)) + sizeof(outputs_)); -} - -TypedInterface::~TypedInterface() { - // @@protoc_insertion_point(destructor:flyteidl.core.TypedInterface) - SharedDtor(); -} - -void TypedInterface::SharedDtor() { - if (this != internal_default_instance()) delete inputs_; - if (this != internal_default_instance()) delete outputs_; -} - -void TypedInterface::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TypedInterface& TypedInterface::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base); - return *internal_default_instance(); -} - - -void TypedInterface::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TypedInterface) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TypedInterface::_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.VariableMap inputs = 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::VariableMap::_InternalParse; - object = msg->mutable_inputs(); - 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.VariableMap outputs = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::VariableMap::_InternalParse; - object = msg->mutable_outputs(); - 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 TypedInterface::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.TypedInterface) - 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.VariableMap inputs = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.VariableMap outputs = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_outputs())); - } 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.TypedInterface) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TypedInterface) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TypedInterface::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TypedInterface) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.VariableMap inputs = 1; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::inputs(this), output); - } - - // .flyteidl.core.VariableMap outputs = 2; - if (this->has_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::outputs(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.TypedInterface) -} - -::google::protobuf::uint8* TypedInterface::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TypedInterface) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.VariableMap inputs = 1; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::inputs(this), target); - } - - // .flyteidl.core.VariableMap outputs = 2; - if (this->has_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::outputs(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.TypedInterface) - return target; -} - -size_t TypedInterface::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TypedInterface) - 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.VariableMap inputs = 1; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - // .flyteidl.core.VariableMap outputs = 2; - if (this->has_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *outputs_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TypedInterface::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TypedInterface) - GOOGLE_DCHECK_NE(&from, this); - const TypedInterface* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TypedInterface) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TypedInterface) - MergeFrom(*source); - } -} - -void TypedInterface::MergeFrom(const TypedInterface& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TypedInterface) - 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_inputs()) { - mutable_inputs()->::flyteidl::core::VariableMap::MergeFrom(from.inputs()); - } - if (from.has_outputs()) { - mutable_outputs()->::flyteidl::core::VariableMap::MergeFrom(from.outputs()); - } -} - -void TypedInterface::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TypedInterface) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TypedInterface::CopyFrom(const TypedInterface& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TypedInterface) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypedInterface::IsInitialized() const { - return true; -} - -void TypedInterface::Swap(TypedInterface* other) { - if (other == this) return; - InternalSwap(other); -} -void TypedInterface::InternalSwap(TypedInterface* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(inputs_, other->inputs_); - swap(outputs_, other->outputs_); -} - -::google::protobuf::Metadata TypedInterface::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2finterface_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Parameter::InitAsDefaultInstance() { - ::flyteidl::core::_Parameter_default_instance_._instance.get_mutable()->var_ = const_cast< ::flyteidl::core::Variable*>( - ::flyteidl::core::Variable::internal_default_instance()); - ::flyteidl::core::_Parameter_default_instance_.default__ = const_cast< ::flyteidl::core::Literal*>( - ::flyteidl::core::Literal::internal_default_instance()); - ::flyteidl::core::_Parameter_default_instance_.required_ = false; - ::flyteidl::core::_Parameter_default_instance_.artifact_query_ = const_cast< ::flyteidl::core::ArtifactQuery*>( - ::flyteidl::core::ArtifactQuery::internal_default_instance()); - ::flyteidl::core::_Parameter_default_instance_.artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( - ::flyteidl::core::ArtifactID::internal_default_instance()); -} -class Parameter::HasBitSetters { - public: - static const ::flyteidl::core::Variable& var(const Parameter* msg); - static const ::flyteidl::core::Literal& default_(const Parameter* msg); - static const ::flyteidl::core::ArtifactQuery& artifact_query(const Parameter* msg); - static const ::flyteidl::core::ArtifactID& artifact_id(const Parameter* msg); -}; - -const ::flyteidl::core::Variable& -Parameter::HasBitSetters::var(const Parameter* msg) { - return *msg->var_; -} -const ::flyteidl::core::Literal& -Parameter::HasBitSetters::default_(const Parameter* msg) { - return *msg->behavior_.default__; -} -const ::flyteidl::core::ArtifactQuery& -Parameter::HasBitSetters::artifact_query(const Parameter* msg) { - return *msg->behavior_.artifact_query_; -} -const ::flyteidl::core::ArtifactID& -Parameter::HasBitSetters::artifact_id(const Parameter* msg) { - return *msg->behavior_.artifact_id_; -} -void Parameter::set_allocated_default_(::flyteidl::core::Literal* default_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_behavior(); - if (default_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - default_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, default_, submessage_arena); - } - set_has_default_(); - behavior_.default__ = default_; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Parameter.default) -} -void Parameter::clear_default_() { - if (has_default_()) { - delete behavior_.default__; - clear_has_behavior(); - } -} -void Parameter::set_allocated_artifact_query(::flyteidl::core::ArtifactQuery* artifact_query) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_behavior(); - if (artifact_query) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_query = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_query, submessage_arena); - } - set_has_artifact_query(); - behavior_.artifact_query_ = artifact_query; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Parameter.artifact_query) -} -void Parameter::clear_artifact_query() { - if (has_artifact_query()) { - delete behavior_.artifact_query_; - clear_has_behavior(); - } -} -void Parameter::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_behavior(); - if (artifact_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_id, submessage_arena); - } - set_has_artifact_id(); - behavior_.artifact_id_ = artifact_id; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Parameter.artifact_id) -} -void Parameter::clear_artifact_id() { - if (has_artifact_id()) { - delete behavior_.artifact_id_; - clear_has_behavior(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Parameter::kVarFieldNumber; -const int Parameter::kDefaultFieldNumber; -const int Parameter::kRequiredFieldNumber; -const int Parameter::kArtifactQueryFieldNumber; -const int Parameter::kArtifactIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Parameter::Parameter() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Parameter) -} -Parameter::Parameter(const Parameter& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_var()) { - var_ = new ::flyteidl::core::Variable(*from.var_); - } else { - var_ = nullptr; - } - clear_has_behavior(); - switch (from.behavior_case()) { - case kDefault: { - mutable_default_()->::flyteidl::core::Literal::MergeFrom(from.default_()); - break; - } - case kRequired: { - set_required(from.required()); - break; - } - case kArtifactQuery: { - mutable_artifact_query()->::flyteidl::core::ArtifactQuery::MergeFrom(from.artifact_query()); - break; - } - case kArtifactId: { - mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); - break; - } - case BEHAVIOR_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Parameter) -} - -void Parameter::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto.base); - var_ = nullptr; - clear_has_behavior(); -} - -Parameter::~Parameter() { - // @@protoc_insertion_point(destructor:flyteidl.core.Parameter) - SharedDtor(); -} - -void Parameter::SharedDtor() { - if (this != internal_default_instance()) delete var_; - if (has_behavior()) { - clear_behavior(); - } -} - -void Parameter::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Parameter& Parameter::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto.base); - return *internal_default_instance(); -} - - -void Parameter::clear_behavior() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Parameter) - switch (behavior_case()) { - case kDefault: { - delete behavior_.default__; - break; - } - case kRequired: { - // No need to clear - break; - } - case kArtifactQuery: { - delete behavior_.artifact_query_; - break; - } - case kArtifactId: { - delete behavior_.artifact_id_; - break; - } - case BEHAVIOR_NOT_SET: { - break; - } - } - _oneof_case_[0] = BEHAVIOR_NOT_SET; -} - - -void Parameter::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Parameter) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && var_ != nullptr) { - delete var_; - } - var_ = nullptr; - clear_behavior(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Parameter::_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.Variable var = 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::Variable::_InternalParse; - object = msg->mutable_var(); - 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.Literal default = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Literal::_InternalParse; - object = msg->mutable_default_(); - 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; - } - // bool required = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_required(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.ArtifactQuery artifact_query = 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::ArtifactQuery::_InternalParse; - object = msg->mutable_artifact_query(); - 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.ArtifactID artifact_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::ArtifactID::_InternalParse; - object = msg->mutable_artifact_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 Parameter::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.Parameter) - 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.Variable var = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_var())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Literal default = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_default_())); - } else { - goto handle_unusual; - } - break; - } - - // bool required = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - clear_behavior(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &behavior_.required_))); - set_has_required(); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArtifactQuery artifact_query = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_query())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArtifactID artifact_id = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_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.Parameter) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Parameter) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Parameter::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Parameter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Variable var = 1; - if (this->has_var()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::var(this), output); - } - - // .flyteidl.core.Literal default = 2; - if (has_default_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::default_(this), output); - } - - // bool required = 3; - if (has_required()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->required(), output); - } - - // .flyteidl.core.ArtifactQuery artifact_query = 4; - if (has_artifact_query()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::artifact_query(this), output); - } - - // .flyteidl.core.ArtifactID artifact_id = 5; - if (has_artifact_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::artifact_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.Parameter) -} - -::google::protobuf::uint8* Parameter::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Parameter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Variable var = 1; - if (this->has_var()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::var(this), target); - } - - // .flyteidl.core.Literal default = 2; - if (has_default_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::default_(this), target); - } - - // bool required = 3; - if (has_required()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->required(), target); - } - - // .flyteidl.core.ArtifactQuery artifact_query = 4; - if (has_artifact_query()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::artifact_query(this), target); - } - - // .flyteidl.core.ArtifactID artifact_id = 5; - if (has_artifact_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::artifact_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.Parameter) - return target; -} - -size_t Parameter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Parameter) - 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.Variable var = 1; - if (this->has_var()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *var_); - } - - switch (behavior_case()) { - // .flyteidl.core.Literal default = 2; - case kDefault: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *behavior_.default__); - break; - } - // bool required = 3; - case kRequired: { - total_size += 1 + 1; - break; - } - // .flyteidl.core.ArtifactQuery artifact_query = 4; - case kArtifactQuery: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *behavior_.artifact_query_); - break; - } - // .flyteidl.core.ArtifactID artifact_id = 5; - case kArtifactId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *behavior_.artifact_id_); - break; - } - case BEHAVIOR_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Parameter::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Parameter) - GOOGLE_DCHECK_NE(&from, this); - const Parameter* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Parameter) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Parameter) - MergeFrom(*source); - } -} - -void Parameter::MergeFrom(const Parameter& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Parameter) - 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_var()) { - mutable_var()->::flyteidl::core::Variable::MergeFrom(from.var()); - } - switch (from.behavior_case()) { - case kDefault: { - mutable_default_()->::flyteidl::core::Literal::MergeFrom(from.default_()); - break; - } - case kRequired: { - set_required(from.required()); - break; - } - case kArtifactQuery: { - mutable_artifact_query()->::flyteidl::core::ArtifactQuery::MergeFrom(from.artifact_query()); - break; - } - case kArtifactId: { - mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); - break; - } - case BEHAVIOR_NOT_SET: { - break; - } - } -} - -void Parameter::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Parameter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Parameter::CopyFrom(const Parameter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Parameter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Parameter::IsInitialized() const { - return true; -} - -void Parameter::Swap(Parameter* other) { - if (other == this) return; - InternalSwap(other); -} -void Parameter::InternalSwap(Parameter* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(var_, other->var_); - swap(behavior_, other->behavior_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Parameter::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2finterface_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -ParameterMap_ParametersEntry_DoNotUse::ParameterMap_ParametersEntry_DoNotUse() {} -ParameterMap_ParametersEntry_DoNotUse::ParameterMap_ParametersEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void ParameterMap_ParametersEntry_DoNotUse::MergeFrom(const ParameterMap_ParametersEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata ParameterMap_ParametersEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2finterface_2eproto[5]; -} -void ParameterMap_ParametersEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ParameterMap_ParametersEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - ParameterMap_ParametersEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ParameterMap.ParametersEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void ParameterMap::InitAsDefaultInstance() { -} -class ParameterMap::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ParameterMap::kParametersFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ParameterMap::ParameterMap() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ParameterMap) -} -ParameterMap::ParameterMap(const ParameterMap& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - parameters_.MergeFrom(from.parameters_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ParameterMap) -} - -void ParameterMap::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base); -} - -ParameterMap::~ParameterMap() { - // @@protoc_insertion_point(destructor:flyteidl.core.ParameterMap) - SharedDtor(); -} - -void ParameterMap::SharedDtor() { -} - -void ParameterMap::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ParameterMap& ParameterMap::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base); - return *internal_default_instance(); -} - - -void ParameterMap::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ParameterMap) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - parameters_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ParameterMap::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map parameters = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->parameters_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ParameterMap::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.ParameterMap) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map parameters = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - ParameterMap_ParametersEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - ParameterMap_ParametersEntry_DoNotUse, - ::std::string, ::flyteidl::core::Parameter, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter > > parser(¶meters_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ParameterMap.ParametersEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.ParameterMap) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ParameterMap) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ParameterMap::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ParameterMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map parameters = 1; - if (!this->parameters().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ParameterMap.ParametersEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->parameters().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->parameters().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::const_iterator - it = this->parameters().begin(); - it != this->parameters().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(parameters_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::const_iterator - it = this->parameters().begin(); - it != this->parameters().end(); ++it) { - entry.reset(parameters_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ParameterMap) -} - -::google::protobuf::uint8* ParameterMap::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ParameterMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map parameters = 1; - if (!this->parameters().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ParameterMap.ParametersEntry.key"); - } - }; - - if (false && - this->parameters().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->parameters().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::const_iterator - it = this->parameters().begin(); - it != this->parameters().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(parameters_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::const_iterator - it = this->parameters().begin(); - it != this->parameters().end(); ++it) { - entry.reset(parameters_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.ParameterMap) - return target; -} - -size_t ParameterMap::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ParameterMap) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map parameters = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->parameters_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >::const_iterator - it = this->parameters().begin(); - it != this->parameters().end(); ++it) { - entry.reset(parameters_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ParameterMap::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ParameterMap) - GOOGLE_DCHECK_NE(&from, this); - const ParameterMap* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ParameterMap) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ParameterMap) - MergeFrom(*source); - } -} - -void ParameterMap::MergeFrom(const ParameterMap& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ParameterMap) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - parameters_.MergeFrom(from.parameters_); -} - -void ParameterMap::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ParameterMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ParameterMap::CopyFrom(const ParameterMap& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ParameterMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ParameterMap::IsInitialized() const { - return true; -} - -void ParameterMap::Swap(ParameterMap* other) { - if (other == this) return; - InternalSwap(other); -} -void ParameterMap::InternalSwap(ParameterMap* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - parameters_.Swap(&other->parameters_); -} - -::google::protobuf::Metadata ParameterMap::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2finterface_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2finterface_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::Variable* Arena::CreateMaybeMessage< ::flyteidl::core::Variable >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Variable >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::VariableMap_VariablesEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::VariableMap_VariablesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::VariableMap_VariablesEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::VariableMap* Arena::CreateMaybeMessage< ::flyteidl::core::VariableMap >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::VariableMap >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TypedInterface* Arena::CreateMaybeMessage< ::flyteidl::core::TypedInterface >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TypedInterface >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Parameter* Arena::CreateMaybeMessage< ::flyteidl::core::Parameter >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Parameter >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ParameterMap* Arena::CreateMaybeMessage< ::flyteidl::core::ParameterMap >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ParameterMap >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h deleted file mode 100644 index db01d703d8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h +++ /dev/null @@ -1,1413 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/interface.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2finterface_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2finterface_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include "flyteidl/core/types.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/artifact_id.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2finterface_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[7] - 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_2fcore_2finterface_2eproto(); -namespace flyteidl { -namespace core { -class Parameter; -class ParameterDefaultTypeInternal; -extern ParameterDefaultTypeInternal _Parameter_default_instance_; -class ParameterMap; -class ParameterMapDefaultTypeInternal; -extern ParameterMapDefaultTypeInternal _ParameterMap_default_instance_; -class ParameterMap_ParametersEntry_DoNotUse; -class ParameterMap_ParametersEntry_DoNotUseDefaultTypeInternal; -extern ParameterMap_ParametersEntry_DoNotUseDefaultTypeInternal _ParameterMap_ParametersEntry_DoNotUse_default_instance_; -class TypedInterface; -class TypedInterfaceDefaultTypeInternal; -extern TypedInterfaceDefaultTypeInternal _TypedInterface_default_instance_; -class Variable; -class VariableDefaultTypeInternal; -extern VariableDefaultTypeInternal _Variable_default_instance_; -class VariableMap; -class VariableMapDefaultTypeInternal; -extern VariableMapDefaultTypeInternal _VariableMap_default_instance_; -class VariableMap_VariablesEntry_DoNotUse; -class VariableMap_VariablesEntry_DoNotUseDefaultTypeInternal; -extern VariableMap_VariablesEntry_DoNotUseDefaultTypeInternal _VariableMap_VariablesEntry_DoNotUse_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::Parameter* Arena::CreateMaybeMessage<::flyteidl::core::Parameter>(Arena*); -template<> ::flyteidl::core::ParameterMap* Arena::CreateMaybeMessage<::flyteidl::core::ParameterMap>(Arena*); -template<> ::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::TypedInterface* Arena::CreateMaybeMessage<::flyteidl::core::TypedInterface>(Arena*); -template<> ::flyteidl::core::Variable* Arena::CreateMaybeMessage<::flyteidl::core::Variable>(Arena*); -template<> ::flyteidl::core::VariableMap* Arena::CreateMaybeMessage<::flyteidl::core::VariableMap>(Arena*); -template<> ::flyteidl::core::VariableMap_VariablesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::VariableMap_VariablesEntry_DoNotUse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -// =================================================================== - -class Variable final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Variable) */ { - public: - Variable(); - virtual ~Variable(); - - Variable(const Variable& from); - - inline Variable& operator=(const Variable& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Variable(Variable&& from) noexcept - : Variable() { - *this = ::std::move(from); - } - - inline Variable& operator=(Variable&& 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 Variable& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Variable* internal_default_instance() { - return reinterpret_cast( - &_Variable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Variable* other); - friend void swap(Variable& a, Variable& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Variable* New() const final { - return CreateMaybeMessage(nullptr); - } - - Variable* 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 Variable& from); - void MergeFrom(const Variable& 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(Variable* 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 description = 2; - void clear_description(); - static const int kDescriptionFieldNumber = 2; - const ::std::string& description() const; - void set_description(const ::std::string& value); - #if LANG_CXX11 - void set_description(::std::string&& value); - #endif - void set_description(const char* value); - void set_description(const char* value, size_t size); - ::std::string* mutable_description(); - ::std::string* release_description(); - void set_allocated_description(::std::string* description); - - // .flyteidl.core.LiteralType type = 1; - bool has_type() const; - void clear_type(); - static const int kTypeFieldNumber = 1; - const ::flyteidl::core::LiteralType& type() const; - ::flyteidl::core::LiteralType* release_type(); - ::flyteidl::core::LiteralType* mutable_type(); - void set_allocated_type(::flyteidl::core::LiteralType* type); - - // .flyteidl.core.ArtifactID artifact_partial_id = 3; - bool has_artifact_partial_id() const; - void clear_artifact_partial_id(); - static const int kArtifactPartialIdFieldNumber = 3; - const ::flyteidl::core::ArtifactID& artifact_partial_id() const; - ::flyteidl::core::ArtifactID* release_artifact_partial_id(); - ::flyteidl::core::ArtifactID* mutable_artifact_partial_id(); - void set_allocated_artifact_partial_id(::flyteidl::core::ArtifactID* artifact_partial_id); - - // .flyteidl.core.ArtifactTag artifact_tag = 4; - bool has_artifact_tag() const; - void clear_artifact_tag(); - static const int kArtifactTagFieldNumber = 4; - const ::flyteidl::core::ArtifactTag& artifact_tag() const; - ::flyteidl::core::ArtifactTag* release_artifact_tag(); - ::flyteidl::core::ArtifactTag* mutable_artifact_tag(); - void set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Variable) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr description_; - ::flyteidl::core::LiteralType* type_; - ::flyteidl::core::ArtifactID* artifact_partial_id_; - ::flyteidl::core::ArtifactTag* artifact_tag_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2finterface_2eproto; -}; -// ------------------------------------------------------------------- - -class VariableMap_VariablesEntry_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; - VariableMap_VariablesEntry_DoNotUse(); - VariableMap_VariablesEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const VariableMap_VariablesEntry_DoNotUse& other); - static const VariableMap_VariablesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_VariableMap_VariablesEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class VariableMap final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.VariableMap) */ { - public: - VariableMap(); - virtual ~VariableMap(); - - VariableMap(const VariableMap& from); - - inline VariableMap& operator=(const VariableMap& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - VariableMap(VariableMap&& from) noexcept - : VariableMap() { - *this = ::std::move(from); - } - - inline VariableMap& operator=(VariableMap&& 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 VariableMap& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const VariableMap* internal_default_instance() { - return reinterpret_cast( - &_VariableMap_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(VariableMap* other); - friend void swap(VariableMap& a, VariableMap& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline VariableMap* New() const final { - return CreateMaybeMessage(nullptr); - } - - VariableMap* 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 VariableMap& from); - void MergeFrom(const VariableMap& 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(VariableMap* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map variables = 1; - int variables_size() const; - void clear_variables(); - static const int kVariablesFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >& - variables() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >* - mutable_variables(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.VariableMap) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - VariableMap_VariablesEntry_DoNotUse, - ::std::string, ::flyteidl::core::Variable, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > variables_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2finterface_2eproto; -}; -// ------------------------------------------------------------------- - -class TypedInterface final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TypedInterface) */ { - public: - TypedInterface(); - virtual ~TypedInterface(); - - TypedInterface(const TypedInterface& from); - - inline TypedInterface& operator=(const TypedInterface& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TypedInterface(TypedInterface&& from) noexcept - : TypedInterface() { - *this = ::std::move(from); - } - - inline TypedInterface& operator=(TypedInterface&& 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 TypedInterface& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TypedInterface* internal_default_instance() { - return reinterpret_cast( - &_TypedInterface_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TypedInterface* other); - friend void swap(TypedInterface& a, TypedInterface& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TypedInterface* New() const final { - return CreateMaybeMessage(nullptr); - } - - TypedInterface* 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 TypedInterface& from); - void MergeFrom(const TypedInterface& 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(TypedInterface* 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.VariableMap inputs = 1; - bool has_inputs() const; - void clear_inputs(); - static const int kInputsFieldNumber = 1; - const ::flyteidl::core::VariableMap& inputs() const; - ::flyteidl::core::VariableMap* release_inputs(); - ::flyteidl::core::VariableMap* mutable_inputs(); - void set_allocated_inputs(::flyteidl::core::VariableMap* inputs); - - // .flyteidl.core.VariableMap outputs = 2; - bool has_outputs() const; - void clear_outputs(); - static const int kOutputsFieldNumber = 2; - const ::flyteidl::core::VariableMap& outputs() const; - ::flyteidl::core::VariableMap* release_outputs(); - ::flyteidl::core::VariableMap* mutable_outputs(); - void set_allocated_outputs(::flyteidl::core::VariableMap* outputs); - - // @@protoc_insertion_point(class_scope:flyteidl.core.TypedInterface) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::VariableMap* inputs_; - ::flyteidl::core::VariableMap* outputs_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2finterface_2eproto; -}; -// ------------------------------------------------------------------- - -class Parameter final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Parameter) */ { - public: - Parameter(); - virtual ~Parameter(); - - Parameter(const Parameter& from); - - inline Parameter& operator=(const Parameter& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Parameter(Parameter&& from) noexcept - : Parameter() { - *this = ::std::move(from); - } - - inline Parameter& operator=(Parameter&& 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 Parameter& default_instance(); - - enum BehaviorCase { - kDefault = 2, - kRequired = 3, - kArtifactQuery = 4, - kArtifactId = 5, - BEHAVIOR_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Parameter* internal_default_instance() { - return reinterpret_cast( - &_Parameter_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(Parameter* other); - friend void swap(Parameter& a, Parameter& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Parameter* New() const final { - return CreateMaybeMessage(nullptr); - } - - Parameter* 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 Parameter& from); - void MergeFrom(const Parameter& 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(Parameter* 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.Variable var = 1; - bool has_var() const; - void clear_var(); - static const int kVarFieldNumber = 1; - const ::flyteidl::core::Variable& var() const; - ::flyteidl::core::Variable* release_var(); - ::flyteidl::core::Variable* mutable_var(); - void set_allocated_var(::flyteidl::core::Variable* var); - - // .flyteidl.core.Literal default = 2; - bool has_default_() const; - void clear_default_(); - static const int kDefaultFieldNumber = 2; - const ::flyteidl::core::Literal& default_() const; - ::flyteidl::core::Literal* release_default_(); - ::flyteidl::core::Literal* mutable_default_(); - void set_allocated_default_(::flyteidl::core::Literal* default_); - - // bool required = 3; - private: - bool has_required() const; - public: - void clear_required(); - static const int kRequiredFieldNumber = 3; - bool required() const; - void set_required(bool value); - - // .flyteidl.core.ArtifactQuery artifact_query = 4; - bool has_artifact_query() const; - void clear_artifact_query(); - static const int kArtifactQueryFieldNumber = 4; - const ::flyteidl::core::ArtifactQuery& artifact_query() const; - ::flyteidl::core::ArtifactQuery* release_artifact_query(); - ::flyteidl::core::ArtifactQuery* mutable_artifact_query(); - void set_allocated_artifact_query(::flyteidl::core::ArtifactQuery* artifact_query); - - // .flyteidl.core.ArtifactID artifact_id = 5; - bool has_artifact_id() const; - void clear_artifact_id(); - static const int kArtifactIdFieldNumber = 5; - const ::flyteidl::core::ArtifactID& artifact_id() const; - ::flyteidl::core::ArtifactID* release_artifact_id(); - ::flyteidl::core::ArtifactID* mutable_artifact_id(); - void set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id); - - void clear_behavior(); - BehaviorCase behavior_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.Parameter) - private: - class HasBitSetters; - void set_has_default_(); - void set_has_required(); - void set_has_artifact_query(); - void set_has_artifact_id(); - - inline bool has_behavior() const; - inline void clear_has_behavior(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Variable* var_; - union BehaviorUnion { - BehaviorUnion() {} - ::flyteidl::core::Literal* default__; - bool required_; - ::flyteidl::core::ArtifactQuery* artifact_query_; - ::flyteidl::core::ArtifactID* artifact_id_; - } behavior_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2finterface_2eproto; -}; -// ------------------------------------------------------------------- - -class ParameterMap_ParametersEntry_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; - ParameterMap_ParametersEntry_DoNotUse(); - ParameterMap_ParametersEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const ParameterMap_ParametersEntry_DoNotUse& other); - static const ParameterMap_ParametersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_ParameterMap_ParametersEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class ParameterMap final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ParameterMap) */ { - public: - ParameterMap(); - virtual ~ParameterMap(); - - ParameterMap(const ParameterMap& from); - - inline ParameterMap& operator=(const ParameterMap& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ParameterMap(ParameterMap&& from) noexcept - : ParameterMap() { - *this = ::std::move(from); - } - - inline ParameterMap& operator=(ParameterMap&& 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 ParameterMap& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ParameterMap* internal_default_instance() { - return reinterpret_cast( - &_ParameterMap_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(ParameterMap* other); - friend void swap(ParameterMap& a, ParameterMap& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ParameterMap* New() const final { - return CreateMaybeMessage(nullptr); - } - - ParameterMap* 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 ParameterMap& from); - void MergeFrom(const ParameterMap& 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(ParameterMap* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map parameters = 1; - int parameters_size() const; - void clear_parameters(); - static const int kParametersFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >& - parameters() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >* - mutable_parameters(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ParameterMap) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - ParameterMap_ParametersEntry_DoNotUse, - ::std::string, ::flyteidl::core::Parameter, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > parameters_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2finterface_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Variable - -// .flyteidl.core.LiteralType type = 1; -inline bool Variable::has_type() const { - return this != internal_default_instance() && type_ != nullptr; -} -inline const ::flyteidl::core::LiteralType& Variable::type() const { - const ::flyteidl::core::LiteralType* p = type_; - // @@protoc_insertion_point(field_get:flyteidl.core.Variable.type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* Variable::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.Variable.type) - - ::flyteidl::core::LiteralType* temp = type_; - type_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralType* Variable::mutable_type() { - - if (type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); - type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Variable.type) - return type_; -} -inline void Variable::set_allocated_type(::flyteidl::core::LiteralType* type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); - } - if (type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - - } else { - - } - type_ = type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Variable.type) -} - -// string description = 2; -inline void Variable::clear_description() { - description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Variable::description() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Variable.description) - return description_.GetNoArena(); -} -inline void Variable::set_description(const ::std::string& value) { - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Variable.description) -} -#if LANG_CXX11 -inline void Variable::set_description(::std::string&& value) { - - description_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Variable.description) -} -#endif -inline void Variable::set_description(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Variable.description) -} -inline void Variable::set_description(const char* value, size_t size) { - - description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Variable.description) -} -inline ::std::string* Variable::mutable_description() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Variable.description) - return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Variable::release_description() { - // @@protoc_insertion_point(field_release:flyteidl.core.Variable.description) - - return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Variable::set_allocated_description(::std::string* description) { - if (description != nullptr) { - - } else { - - } - description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Variable.description) -} - -// .flyteidl.core.ArtifactID artifact_partial_id = 3; -inline bool Variable::has_artifact_partial_id() const { - return this != internal_default_instance() && artifact_partial_id_ != nullptr; -} -inline const ::flyteidl::core::ArtifactID& Variable::artifact_partial_id() const { - const ::flyteidl::core::ArtifactID* p = artifact_partial_id_; - // @@protoc_insertion_point(field_get:flyteidl.core.Variable.artifact_partial_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ArtifactID_default_instance_); -} -inline ::flyteidl::core::ArtifactID* Variable::release_artifact_partial_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Variable.artifact_partial_id) - - ::flyteidl::core::ArtifactID* temp = artifact_partial_id_; - artifact_partial_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::ArtifactID* Variable::mutable_artifact_partial_id() { - - if (artifact_partial_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactID>(GetArenaNoVirtual()); - artifact_partial_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Variable.artifact_partial_id) - return artifact_partial_id_; -} -inline void Variable::set_allocated_artifact_partial_id(::flyteidl::core::ArtifactID* artifact_partial_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_partial_id_); - } - if (artifact_partial_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_partial_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_partial_id, submessage_arena); - } - - } else { - - } - artifact_partial_id_ = artifact_partial_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Variable.artifact_partial_id) -} - -// .flyteidl.core.ArtifactTag artifact_tag = 4; -inline bool Variable::has_artifact_tag() const { - return this != internal_default_instance() && artifact_tag_ != nullptr; -} -inline const ::flyteidl::core::ArtifactTag& Variable::artifact_tag() const { - const ::flyteidl::core::ArtifactTag* p = artifact_tag_; - // @@protoc_insertion_point(field_get:flyteidl.core.Variable.artifact_tag) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ArtifactTag_default_instance_); -} -inline ::flyteidl::core::ArtifactTag* Variable::release_artifact_tag() { - // @@protoc_insertion_point(field_release:flyteidl.core.Variable.artifact_tag) - - ::flyteidl::core::ArtifactTag* temp = artifact_tag_; - artifact_tag_ = nullptr; - return temp; -} -inline ::flyteidl::core::ArtifactTag* Variable::mutable_artifact_tag() { - - if (artifact_tag_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactTag>(GetArenaNoVirtual()); - artifact_tag_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Variable.artifact_tag) - return artifact_tag_; -} -inline void Variable::set_allocated_artifact_tag(::flyteidl::core::ArtifactTag* artifact_tag) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_tag_); - } - if (artifact_tag) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_tag = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_tag, submessage_arena); - } - - } else { - - } - artifact_tag_ = artifact_tag; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Variable.artifact_tag) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// VariableMap - -// map variables = 1; -inline int VariableMap::variables_size() const { - return variables_.size(); -} -inline void VariableMap::clear_variables() { - variables_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >& -VariableMap::variables() const { - // @@protoc_insertion_point(field_map:flyteidl.core.VariableMap.variables) - return variables_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::Variable >* -VariableMap::mutable_variables() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.VariableMap.variables) - return variables_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// TypedInterface - -// .flyteidl.core.VariableMap inputs = 1; -inline bool TypedInterface::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline void TypedInterface::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -inline const ::flyteidl::core::VariableMap& TypedInterface::inputs() const { - const ::flyteidl::core::VariableMap* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.core.TypedInterface.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_VariableMap_default_instance_); -} -inline ::flyteidl::core::VariableMap* TypedInterface::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.core.TypedInterface.inputs) - - ::flyteidl::core::VariableMap* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::VariableMap* TypedInterface::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::VariableMap>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TypedInterface.inputs) - return inputs_; -} -inline void TypedInterface::set_allocated_inputs(::flyteidl::core::VariableMap* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete inputs_; - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TypedInterface.inputs) -} - -// .flyteidl.core.VariableMap outputs = 2; -inline bool TypedInterface::has_outputs() const { - return this != internal_default_instance() && outputs_ != nullptr; -} -inline void TypedInterface::clear_outputs() { - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; -} -inline const ::flyteidl::core::VariableMap& TypedInterface::outputs() const { - const ::flyteidl::core::VariableMap* p = outputs_; - // @@protoc_insertion_point(field_get:flyteidl.core.TypedInterface.outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_VariableMap_default_instance_); -} -inline ::flyteidl::core::VariableMap* TypedInterface::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.core.TypedInterface.outputs) - - ::flyteidl::core::VariableMap* temp = outputs_; - outputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::VariableMap* TypedInterface::mutable_outputs() { - - if (outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::VariableMap>(GetArenaNoVirtual()); - outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TypedInterface.outputs) - return outputs_; -} -inline void TypedInterface::set_allocated_outputs(::flyteidl::core::VariableMap* outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete outputs_; - } - if (outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, outputs, submessage_arena); - } - - } else { - - } - outputs_ = outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TypedInterface.outputs) -} - -// ------------------------------------------------------------------- - -// Parameter - -// .flyteidl.core.Variable var = 1; -inline bool Parameter::has_var() const { - return this != internal_default_instance() && var_ != nullptr; -} -inline void Parameter::clear_var() { - if (GetArenaNoVirtual() == nullptr && var_ != nullptr) { - delete var_; - } - var_ = nullptr; -} -inline const ::flyteidl::core::Variable& Parameter::var() const { - const ::flyteidl::core::Variable* p = var_; - // @@protoc_insertion_point(field_get:flyteidl.core.Parameter.var) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Variable_default_instance_); -} -inline ::flyteidl::core::Variable* Parameter::release_var() { - // @@protoc_insertion_point(field_release:flyteidl.core.Parameter.var) - - ::flyteidl::core::Variable* temp = var_; - var_ = nullptr; - return temp; -} -inline ::flyteidl::core::Variable* Parameter::mutable_var() { - - if (var_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Variable>(GetArenaNoVirtual()); - var_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Parameter.var) - return var_; -} -inline void Parameter::set_allocated_var(::flyteidl::core::Variable* var) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete var_; - } - if (var) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - var = ::google::protobuf::internal::GetOwnedMessage( - message_arena, var, submessage_arena); - } - - } else { - - } - var_ = var; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Parameter.var) -} - -// .flyteidl.core.Literal default = 2; -inline bool Parameter::has_default_() const { - return behavior_case() == kDefault; -} -inline void Parameter::set_has_default_() { - _oneof_case_[0] = kDefault; -} -inline ::flyteidl::core::Literal* Parameter::release_default_() { - // @@protoc_insertion_point(field_release:flyteidl.core.Parameter.default) - if (has_default_()) { - clear_has_behavior(); - ::flyteidl::core::Literal* temp = behavior_.default__; - behavior_.default__ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Literal& Parameter::default_() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Parameter.default) - return has_default_() - ? *behavior_.default__ - : *reinterpret_cast< ::flyteidl::core::Literal*>(&::flyteidl::core::_Literal_default_instance_); -} -inline ::flyteidl::core::Literal* Parameter::mutable_default_() { - if (!has_default_()) { - clear_behavior(); - set_has_default_(); - behavior_.default__ = CreateMaybeMessage< ::flyteidl::core::Literal >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Parameter.default) - return behavior_.default__; -} - -// bool required = 3; -inline bool Parameter::has_required() const { - return behavior_case() == kRequired; -} -inline void Parameter::set_has_required() { - _oneof_case_[0] = kRequired; -} -inline void Parameter::clear_required() { - if (has_required()) { - behavior_.required_ = false; - clear_has_behavior(); - } -} -inline bool Parameter::required() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Parameter.required) - if (has_required()) { - return behavior_.required_; - } - return false; -} -inline void Parameter::set_required(bool value) { - if (!has_required()) { - clear_behavior(); - set_has_required(); - } - behavior_.required_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Parameter.required) -} - -// .flyteidl.core.ArtifactQuery artifact_query = 4; -inline bool Parameter::has_artifact_query() const { - return behavior_case() == kArtifactQuery; -} -inline void Parameter::set_has_artifact_query() { - _oneof_case_[0] = kArtifactQuery; -} -inline ::flyteidl::core::ArtifactQuery* Parameter::release_artifact_query() { - // @@protoc_insertion_point(field_release:flyteidl.core.Parameter.artifact_query) - if (has_artifact_query()) { - clear_has_behavior(); - ::flyteidl::core::ArtifactQuery* temp = behavior_.artifact_query_; - behavior_.artifact_query_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ArtifactQuery& Parameter::artifact_query() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Parameter.artifact_query) - return has_artifact_query() - ? *behavior_.artifact_query_ - : *reinterpret_cast< ::flyteidl::core::ArtifactQuery*>(&::flyteidl::core::_ArtifactQuery_default_instance_); -} -inline ::flyteidl::core::ArtifactQuery* Parameter::mutable_artifact_query() { - if (!has_artifact_query()) { - clear_behavior(); - set_has_artifact_query(); - behavior_.artifact_query_ = CreateMaybeMessage< ::flyteidl::core::ArtifactQuery >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Parameter.artifact_query) - return behavior_.artifact_query_; -} - -// .flyteidl.core.ArtifactID artifact_id = 5; -inline bool Parameter::has_artifact_id() const { - return behavior_case() == kArtifactId; -} -inline void Parameter::set_has_artifact_id() { - _oneof_case_[0] = kArtifactId; -} -inline ::flyteidl::core::ArtifactID* Parameter::release_artifact_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Parameter.artifact_id) - if (has_artifact_id()) { - clear_has_behavior(); - ::flyteidl::core::ArtifactID* temp = behavior_.artifact_id_; - behavior_.artifact_id_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ArtifactID& Parameter::artifact_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Parameter.artifact_id) - return has_artifact_id() - ? *behavior_.artifact_id_ - : *reinterpret_cast< ::flyteidl::core::ArtifactID*>(&::flyteidl::core::_ArtifactID_default_instance_); -} -inline ::flyteidl::core::ArtifactID* Parameter::mutable_artifact_id() { - if (!has_artifact_id()) { - clear_behavior(); - set_has_artifact_id(); - behavior_.artifact_id_ = CreateMaybeMessage< ::flyteidl::core::ArtifactID >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Parameter.artifact_id) - return behavior_.artifact_id_; -} - -inline bool Parameter::has_behavior() const { - return behavior_case() != BEHAVIOR_NOT_SET; -} -inline void Parameter::clear_has_behavior() { - _oneof_case_[0] = BEHAVIOR_NOT_SET; -} -inline Parameter::BehaviorCase Parameter::behavior_case() const { - return Parameter::BehaviorCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ParameterMap - -// map parameters = 1; -inline int ParameterMap::parameters_size() const { - return parameters_.size(); -} -inline void ParameterMap::clear_parameters() { - parameters_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >& -ParameterMap::parameters() const { - // @@protoc_insertion_point(field_map:flyteidl.core.ParameterMap.parameters) - return parameters_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::Parameter >* -ParameterMap::mutable_parameters() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.ParameterMap.parameters) - return parameters_.MutableMap(); -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2finterface_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/literals.grpc.pb.cc deleted file mode 100644 index 96d50e5323..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/literals.proto - -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/literals.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/literals.grpc.pb.h deleted file mode 100644 index 0f2956748e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/literals.proto -#ifndef GRPC_flyteidl_2fcore_2fliterals_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fliterals_2eproto__INCLUDED - -#include "flyteidl/core/literals.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fliterals_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc deleted file mode 100644 index c6ccc044a3..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc +++ /dev/null @@ -1,9163 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/literals.proto - -#include "flyteidl/core/literals.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Void_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_BlobMetadata_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_StructuredDataset_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Error_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_OutputReference_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace core { -class PrimitiveDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::int64 integer_; - double float_value_; - ::google::protobuf::internal::ArenaStringPtr string_value_; - bool boolean_; - const ::google::protobuf::Timestamp* datetime_; - const ::google::protobuf::Duration* duration_; -} _Primitive_default_instance_; -class VoidDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Void_default_instance_; -class BlobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Blob_default_instance_; -class BlobMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _BlobMetadata_default_instance_; -class BinaryDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Binary_default_instance_; -class SchemaDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Schema_default_instance_; -class UnionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Union_default_instance_; -class StructuredDatasetMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _StructuredDatasetMetadata_default_instance_; -class StructuredDatasetDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _StructuredDataset_default_instance_; -class ScalarDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Primitive* primitive_; - const ::flyteidl::core::Blob* blob_; - const ::flyteidl::core::Binary* binary_; - const ::flyteidl::core::Schema* schema_; - const ::flyteidl::core::Void* none_type_; - const ::flyteidl::core::Error* error_; - const ::google::protobuf::Struct* generic_; - const ::flyteidl::core::StructuredDataset* structured_dataset_; - const ::flyteidl::core::Union* union__; -} _Scalar_default_instance_; -class Literal_MetadataEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Literal_MetadataEntry_DoNotUse_default_instance_; -class LiteralDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Scalar* scalar_; - const ::flyteidl::core::LiteralCollection* collection_; - const ::flyteidl::core::LiteralMap* map_; -} _Literal_default_instance_; -class LiteralCollectionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LiteralCollection_default_instance_; -class LiteralMap_LiteralsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LiteralMap_LiteralsEntry_DoNotUse_default_instance_; -class LiteralMapDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _LiteralMap_default_instance_; -class BindingDataCollectionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _BindingDataCollection_default_instance_; -class BindingDataMap_BindingsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _BindingDataMap_BindingsEntry_DoNotUse_default_instance_; -class BindingDataMapDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _BindingDataMap_default_instance_; -class UnionInfoDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _UnionInfo_default_instance_; -class BindingDataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Scalar* scalar_; - const ::flyteidl::core::BindingDataCollection* collection_; - const ::flyteidl::core::OutputReference* promise_; - const ::flyteidl::core::BindingDataMap* map_; -} _BindingData_default_instance_; -class BindingDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Binding_default_instance_; -class KeyValuePairDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _KeyValuePair_default_instance_; -class RetryStrategyDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _RetryStrategy_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsPrimitive_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Primitive_default_instance_; - new (ptr) ::flyteidl::core::Primitive(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Primitive::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsPrimitive_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsVoid_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Void_default_instance_; - new (ptr) ::flyteidl::core::Void(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Void::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Void_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsVoid_flyteidl_2fcore_2fliterals_2eproto}, {}}; - -static void InitDefaultsBlob_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Blob_default_instance_; - new (ptr) ::flyteidl::core::Blob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Blob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsBlob_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_BlobMetadata_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsBlobMetadata_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_BlobMetadata_default_instance_; - new (ptr) ::flyteidl::core::BlobMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::BlobMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_BlobMetadata_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsBlobMetadata_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsBinary_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Binary_default_instance_; - new (ptr) ::flyteidl::core::Binary(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Binary::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsBinary_flyteidl_2fcore_2fliterals_2eproto}, {}}; - -static void InitDefaultsSchema_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Schema_default_instance_; - new (ptr) ::flyteidl::core::Schema(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Schema::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSchema_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsStructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_StructuredDatasetMetadata_default_instance_; - new (ptr) ::flyteidl::core::StructuredDatasetMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::StructuredDatasetMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsStructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsStructuredDataset_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_StructuredDataset_default_instance_; - new (ptr) ::flyteidl::core::StructuredDataset(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::StructuredDataset::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_StructuredDataset_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsStructuredDataset_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsLiteral_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Literal_MetadataEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::Literal_MetadataEntry_DoNotUse(); - } - ::flyteidl::core::Literal_MetadataEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLiteral_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto}, {}}; - -static void InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Union_default_instance_; - new (ptr) ::flyteidl::core::Union(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_Scalar_default_instance_; - new (ptr) ::flyteidl::core::Scalar(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_Literal_default_instance_; - new (ptr) ::flyteidl::core::Literal(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_LiteralCollection_default_instance_; - new (ptr) ::flyteidl::core::LiteralCollection(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_LiteralMap_LiteralsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse(); - } - { - void* ptr = &::flyteidl::core::_LiteralMap_default_instance_; - new (ptr) ::flyteidl::core::LiteralMap(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Union::InitAsDefaultInstance(); - ::flyteidl::core::Scalar::InitAsDefaultInstance(); - ::flyteidl::core::Literal::InitAsDefaultInstance(); - ::flyteidl::core::LiteralCollection::InitAsDefaultInstance(); - ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse::InitAsDefaultInstance(); - ::flyteidl::core::LiteralMap::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 10, InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Void_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Error_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, - &scc_info_StructuredDataset_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsUnionInfo_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_UnionInfo_default_instance_; - new (ptr) ::flyteidl::core::UnionInfo(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::UnionInfo::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsUnionInfo_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsBindingData_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_BindingDataCollection_default_instance_; - new (ptr) ::flyteidl::core::BindingDataCollection(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_BindingDataMap_BindingsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse(); - } - { - void* ptr = &::flyteidl::core::_BindingDataMap_default_instance_; - new (ptr) ::flyteidl::core::BindingDataMap(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_BindingData_default_instance_; - new (ptr) ::flyteidl::core::BindingData(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::BindingDataCollection::InitAsDefaultInstance(); - ::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse::InitAsDefaultInstance(); - ::flyteidl::core::BindingDataMap::InitAsDefaultInstance(); - ::flyteidl::core::BindingData::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsBindingData_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_OutputReference_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsBinding_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Binding_default_instance_; - new (ptr) ::flyteidl::core::Binding(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Binding::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsBinding_flyteidl_2fcore_2fliterals_2eproto}, { - &scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsKeyValuePair_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_KeyValuePair_default_instance_; - new (ptr) ::flyteidl::core::KeyValuePair(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::KeyValuePair::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsKeyValuePair_flyteidl_2fcore_2fliterals_2eproto}, {}}; - -static void InitDefaultsRetryStrategy_flyteidl_2fcore_2fliterals_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_RetryStrategy_default_instance_; - new (ptr) ::flyteidl::core::RetryStrategy(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::RetryStrategy::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRetryStrategy_flyteidl_2fcore_2fliterals_2eproto}, {}}; - -void InitDefaults_flyteidl_2fcore_2fliterals_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Void_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_BlobMetadata_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_StructuredDataset_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Literal_MetadataEntry_DoNotUse_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[23]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fliterals_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fliterals_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fliterals_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Primitive, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Primitive, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::PrimitiveDefaultTypeInternal, integer_), - offsetof(::flyteidl::core::PrimitiveDefaultTypeInternal, float_value_), - offsetof(::flyteidl::core::PrimitiveDefaultTypeInternal, string_value_), - offsetof(::flyteidl::core::PrimitiveDefaultTypeInternal, boolean_), - offsetof(::flyteidl::core::PrimitiveDefaultTypeInternal, datetime_), - offsetof(::flyteidl::core::PrimitiveDefaultTypeInternal, duration_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Primitive, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Void, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Blob, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Blob, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Blob, uri_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BlobMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BlobMetadata, type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Binary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Binary, value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Binary, tag_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Schema, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Schema, uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Schema, type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Union, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Union, value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Union, type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetMetadata, structured_dataset_type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDataset, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDataset, uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDataset, metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Scalar, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Scalar, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, primitive_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, blob_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, binary_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, schema_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, none_type_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, error_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, generic_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, structured_dataset_), - offsetof(::flyteidl::core::ScalarDefaultTypeInternal, union__), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Scalar, value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal_MetadataEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::LiteralDefaultTypeInternal, scalar_), - offsetof(::flyteidl::core::LiteralDefaultTypeInternal, collection_), - offsetof(::flyteidl::core::LiteralDefaultTypeInternal, map_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, hash_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Literal, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralCollection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralCollection, literals_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralMap, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralMap, literals_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataCollection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataCollection, bindings_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataMap, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingDataMap, bindings_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::UnionInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::UnionInfo, targettype_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingData, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingData, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::BindingDataDefaultTypeInternal, scalar_), - offsetof(::flyteidl::core::BindingDataDefaultTypeInternal, collection_), - offsetof(::flyteidl::core::BindingDataDefaultTypeInternal, promise_), - offsetof(::flyteidl::core::BindingDataDefaultTypeInternal, map_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingData, union__), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BindingData, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Binding, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Binding, var_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Binding, binding_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::KeyValuePair, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::KeyValuePair, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::KeyValuePair, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::RetryStrategy, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::RetryStrategy, retries_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::Primitive)}, - { 12, -1, sizeof(::flyteidl::core::Void)}, - { 17, -1, sizeof(::flyteidl::core::Blob)}, - { 24, -1, sizeof(::flyteidl::core::BlobMetadata)}, - { 30, -1, sizeof(::flyteidl::core::Binary)}, - { 37, -1, sizeof(::flyteidl::core::Schema)}, - { 44, -1, sizeof(::flyteidl::core::Union)}, - { 51, -1, sizeof(::flyteidl::core::StructuredDatasetMetadata)}, - { 57, -1, sizeof(::flyteidl::core::StructuredDataset)}, - { 64, -1, sizeof(::flyteidl::core::Scalar)}, - { 79, 86, sizeof(::flyteidl::core::Literal_MetadataEntry_DoNotUse)}, - { 88, -1, sizeof(::flyteidl::core::Literal)}, - { 99, -1, sizeof(::flyteidl::core::LiteralCollection)}, - { 105, 112, sizeof(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse)}, - { 114, -1, sizeof(::flyteidl::core::LiteralMap)}, - { 120, -1, sizeof(::flyteidl::core::BindingDataCollection)}, - { 126, 133, sizeof(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse)}, - { 135, -1, sizeof(::flyteidl::core::BindingDataMap)}, - { 141, -1, sizeof(::flyteidl::core::UnionInfo)}, - { 147, -1, sizeof(::flyteidl::core::BindingData)}, - { 158, -1, sizeof(::flyteidl::core::Binding)}, - { 165, -1, sizeof(::flyteidl::core::KeyValuePair)}, - { 172, -1, sizeof(::flyteidl::core::RetryStrategy)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_Primitive_default_instance_), - reinterpret_cast(&::flyteidl::core::_Void_default_instance_), - reinterpret_cast(&::flyteidl::core::_Blob_default_instance_), - reinterpret_cast(&::flyteidl::core::_BlobMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_Binary_default_instance_), - reinterpret_cast(&::flyteidl::core::_Schema_default_instance_), - reinterpret_cast(&::flyteidl::core::_Union_default_instance_), - reinterpret_cast(&::flyteidl::core::_StructuredDatasetMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_StructuredDataset_default_instance_), - reinterpret_cast(&::flyteidl::core::_Scalar_default_instance_), - reinterpret_cast(&::flyteidl::core::_Literal_MetadataEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_Literal_default_instance_), - reinterpret_cast(&::flyteidl::core::_LiteralCollection_default_instance_), - reinterpret_cast(&::flyteidl::core::_LiteralMap_LiteralsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_LiteralMap_default_instance_), - reinterpret_cast(&::flyteidl::core::_BindingDataCollection_default_instance_), - reinterpret_cast(&::flyteidl::core::_BindingDataMap_BindingsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_BindingDataMap_default_instance_), - reinterpret_cast(&::flyteidl::core::_UnionInfo_default_instance_), - reinterpret_cast(&::flyteidl::core::_BindingData_default_instance_), - reinterpret_cast(&::flyteidl::core::_Binding_default_instance_), - reinterpret_cast(&::flyteidl::core::_KeyValuePair_default_instance_), - reinterpret_cast(&::flyteidl::core::_RetryStrategy_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, "flyteidl/core/literals.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fliterals_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fliterals_2eproto, 23, file_level_enum_descriptors_flyteidl_2fcore_2fliterals_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fliterals_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fliterals_2eproto[] = - "\n\034flyteidl/core/literals.proto\022\rflyteidl" - ".core\032\037google/protobuf/timestamp.proto\032\036" - "google/protobuf/duration.proto\032\034google/p" - "rotobuf/struct.proto\032\031flyteidl/core/type" - "s.proto\"\310\001\n\tPrimitive\022\021\n\007integer\030\001 \001(\003H\000" - "\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014string_value\030" - "\003 \001(\tH\000\022\021\n\007boolean\030\004 \001(\010H\000\022.\n\010datetime\030\005" - " \001(\0132\032.google.protobuf.TimestampH\000\022-\n\010du" - "ration\030\006 \001(\0132\031.google.protobuf.DurationH" - "\000B\007\n\005value\"\006\n\004Void\"B\n\004Blob\022-\n\010metadata\030\001" - " \001(\0132\033.flyteidl.core.BlobMetadata\022\013\n\003uri" - "\030\003 \001(\t\"5\n\014BlobMetadata\022%\n\004type\030\001 \001(\0132\027.f" - "lyteidl.core.BlobType\"$\n\006Binary\022\r\n\005value" - "\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\">\n\006Schema\022\013\n\003uri\030\001 \001" - "(\t\022\'\n\004type\030\003 \001(\0132\031.flyteidl.core.SchemaT" - "ype\"X\n\005Union\022%\n\005value\030\001 \001(\0132\026.flyteidl.c" - "ore.Literal\022(\n\004type\030\002 \001(\0132\032.flyteidl.cor" - "e.LiteralType\"b\n\031StructuredDatasetMetada" - "ta\022E\n\027structured_dataset_type\030\001 \001(\0132$.fl" - "yteidl.core.StructuredDatasetType\"\\\n\021Str" - "ucturedDataset\022\013\n\003uri\030\001 \001(\t\022:\n\010metadata\030" - "\002 \001(\0132(.flyteidl.core.StructuredDatasetM" - "etadata\"\233\003\n\006Scalar\022-\n\tprimitive\030\001 \001(\0132\030." - "flyteidl.core.PrimitiveH\000\022#\n\004blob\030\002 \001(\0132" - "\023.flyteidl.core.BlobH\000\022\'\n\006binary\030\003 \001(\0132\025" - ".flyteidl.core.BinaryH\000\022\'\n\006schema\030\004 \001(\0132" - "\025.flyteidl.core.SchemaH\000\022(\n\tnone_type\030\005 " - "\001(\0132\023.flyteidl.core.VoidH\000\022%\n\005error\030\006 \001(" - "\0132\024.flyteidl.core.ErrorH\000\022*\n\007generic\030\007 \001" - "(\0132\027.google.protobuf.StructH\000\022>\n\022structu" - "red_dataset\030\010 \001(\0132 .flyteidl.core.Struct" - "uredDatasetH\000\022%\n\005union\030\t \001(\0132\024.flyteidl." - "core.UnionH\000B\007\n\005value\"\224\002\n\007Literal\022\'\n\006sca" - "lar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\0226\n\nco" - "llection\030\002 \001(\0132 .flyteidl.core.LiteralCo" - "llectionH\000\022(\n\003map\030\003 \001(\0132\031.flyteidl.core." - "LiteralMapH\000\022\014\n\004hash\030\004 \001(\t\0226\n\010metadata\030\005" - " \003(\0132$.flyteidl.core.Literal.MetadataEnt" - "ry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - "e\030\002 \001(\t:\0028\001B\007\n\005value\"=\n\021LiteralCollectio" - "n\022(\n\010literals\030\001 \003(\0132\026.flyteidl.core.Lite" - "ral\"\220\001\n\nLiteralMap\0229\n\010literals\030\001 \003(\0132\'.f" - "lyteidl.core.LiteralMap.LiteralsEntry\032G\n" - "\rLiteralsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001" - "(\0132\026.flyteidl.core.Literal:\0028\001\"E\n\025Bindin" - "gDataCollection\022,\n\010bindings\030\001 \003(\0132\032.flyt" - "eidl.core.BindingData\"\234\001\n\016BindingDataMap" - "\022=\n\010bindings\030\001 \003(\0132+.flyteidl.core.Bindi" - "ngDataMap.BindingsEntry\032K\n\rBindingsEntry" - "\022\013\n\003key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.flyteidl." - "core.BindingData:\0028\001\";\n\tUnionInfo\022.\n\ntar" - "getType\030\001 \001(\0132\032.flyteidl.core.LiteralTyp" - "e\"\205\002\n\013BindingData\022\'\n\006scalar\030\001 \001(\0132\025.flyt" - "eidl.core.ScalarH\000\022:\n\ncollection\030\002 \001(\0132$" - ".flyteidl.core.BindingDataCollectionH\000\0221" - "\n\007promise\030\003 \001(\0132\036.flyteidl.core.OutputRe" - "ferenceH\000\022,\n\003map\030\004 \001(\0132\035.flyteidl.core.B" - "indingDataMapH\000\022\'\n\005union\030\005 \001(\0132\030.flyteid" - "l.core.UnionInfoB\007\n\005value\"C\n\007Binding\022\013\n\003" - "var\030\001 \001(\t\022+\n\007binding\030\002 \001(\0132\032.flyteidl.co" - "re.BindingData\"*\n\014KeyValuePair\022\013\n\003key\030\001 " - "\001(\t\022\r\n\005value\030\002 \001(\t\" \n\rRetryStrategy\022\017\n\007r" - "etries\030\005 \001(\rB( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::core::_Primitive_default_instance_.duration_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class Primitive::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& datetime(const Primitive* msg); - static const ::google::protobuf::Duration& duration(const Primitive* msg); -}; - -const ::google::protobuf::Timestamp& -Primitive::HasBitSetters::datetime(const Primitive* msg) { - return *msg->value_.datetime_; -} -const ::google::protobuf::Duration& -Primitive::HasBitSetters::duration(const Primitive* msg) { - return *msg->value_.duration_; -} -void Primitive::set_allocated_datetime(::google::protobuf::Timestamp* datetime) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (datetime) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(datetime)->GetArena(); - if (message_arena != submessage_arena) { - datetime = ::google::protobuf::internal::GetOwnedMessage( - message_arena, datetime, submessage_arena); - } - set_has_datetime(); - value_.datetime_ = datetime; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Primitive.datetime) -} -void Primitive::clear_datetime() { - if (has_datetime()) { - delete value_.datetime_; - clear_has_value(); - } -} -void Primitive::set_allocated_duration(::google::protobuf::Duration* duration) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (duration) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(duration)->GetArena(); - if (message_arena != submessage_arena) { - duration = ::google::protobuf::internal::GetOwnedMessage( - message_arena, duration, submessage_arena); - } - set_has_duration(); - value_.duration_ = duration; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Primitive.duration) -} -void Primitive::clear_duration() { - if (has_duration()) { - delete value_.duration_; - clear_has_value(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Primitive::kIntegerFieldNumber; -const int Primitive::kFloatValueFieldNumber; -const int Primitive::kStringValueFieldNumber; -const int Primitive::kBooleanFieldNumber; -const int Primitive::kDatetimeFieldNumber; -const int Primitive::kDurationFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Primitive::Primitive() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Primitive) -} -Primitive::Primitive(const Primitive& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_value(); - switch (from.value_case()) { - case kInteger: { - set_integer(from.integer()); - break; - } - case kFloatValue: { - set_float_value(from.float_value()); - break; - } - case kStringValue: { - set_string_value(from.string_value()); - break; - } - case kBoolean: { - set_boolean(from.boolean()); - break; - } - case kDatetime: { - mutable_datetime()->::google::protobuf::Timestamp::MergeFrom(from.datetime()); - break; - } - case kDuration: { - mutable_duration()->::google::protobuf::Duration::MergeFrom(from.duration()); - break; - } - case VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Primitive) -} - -void Primitive::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto.base); - clear_has_value(); -} - -Primitive::~Primitive() { - // @@protoc_insertion_point(destructor:flyteidl.core.Primitive) - SharedDtor(); -} - -void Primitive::SharedDtor() { - if (has_value()) { - clear_value(); - } -} - -void Primitive::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Primitive& Primitive::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Primitive_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Primitive::clear_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Primitive) - switch (value_case()) { - case kInteger: { - // No need to clear - break; - } - case kFloatValue: { - // No need to clear - break; - } - case kStringValue: { - value_.string_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kBoolean: { - // No need to clear - break; - } - case kDatetime: { - delete value_.datetime_; - break; - } - case kDuration: { - delete value_.duration_; - break; - } - case VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUE_NOT_SET; -} - - -void Primitive::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Primitive) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Primitive::_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) { - // int64 integer = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_integer(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // double float_value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 17) goto handle_unusual; - msg->set_float_value(::google::protobuf::io::UnalignedLoad(ptr)); - ptr += sizeof(double); - break; - } - // string string_value = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Primitive.string_value"); - object = msg->mutable_string_value(); - 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; - } - // bool boolean = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_boolean(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Timestamp datetime = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_datetime(); - 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; - } - // .google.protobuf.Duration duration = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_duration(); - 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 Primitive::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.Primitive) - 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)) { - // int64 integer = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - clear_value(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( - input, &value_.integer_))); - set_has_integer(); - } else { - goto handle_unusual; - } - break; - } - - // double float_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (17 & 0xFF)) { - clear_value(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &value_.float_value_))); - set_has_float_value(); - } else { - goto handle_unusual; - } - break; - } - - // string string_value = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_string_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->string_value().data(), static_cast(this->string_value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Primitive.string_value")); - } else { - goto handle_unusual; - } - break; - } - - // bool boolean = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - clear_value(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &value_.boolean_))); - set_has_boolean(); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp datetime = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_datetime())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration duration = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_duration())); - } 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.Primitive) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Primitive) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Primitive::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Primitive) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int64 integer = 1; - if (has_integer()) { - ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->integer(), output); - } - - // double float_value = 2; - if (has_float_value()) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->float_value(), output); - } - - // string string_value = 3; - if (has_string_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->string_value().data(), static_cast(this->string_value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Primitive.string_value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->string_value(), output); - } - - // bool boolean = 4; - if (has_boolean()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->boolean(), output); - } - - // .google.protobuf.Timestamp datetime = 5; - if (has_datetime()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::datetime(this), output); - } - - // .google.protobuf.Duration duration = 6; - if (has_duration()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::duration(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.Primitive) -} - -::google::protobuf::uint8* Primitive::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Primitive) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int64 integer = 1; - if (has_integer()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->integer(), target); - } - - // double float_value = 2; - if (has_float_value()) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->float_value(), target); - } - - // string string_value = 3; - if (has_string_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->string_value().data(), static_cast(this->string_value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Primitive.string_value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->string_value(), target); - } - - // bool boolean = 4; - if (has_boolean()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->boolean(), target); - } - - // .google.protobuf.Timestamp datetime = 5; - if (has_datetime()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::datetime(this), target); - } - - // .google.protobuf.Duration duration = 6; - if (has_duration()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::duration(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.Primitive) - return target; -} - -size_t Primitive::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Primitive) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (value_case()) { - // int64 integer = 1; - case kInteger: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int64Size( - this->integer()); - break; - } - // double float_value = 2; - case kFloatValue: { - total_size += 1 + 8; - break; - } - // string string_value = 3; - case kStringValue: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->string_value()); - break; - } - // bool boolean = 4; - case kBoolean: { - total_size += 1 + 1; - break; - } - // .google.protobuf.Timestamp datetime = 5; - case kDatetime: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.datetime_); - break; - } - // .google.protobuf.Duration duration = 6; - case kDuration: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.duration_); - break; - } - case VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Primitive::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Primitive) - GOOGLE_DCHECK_NE(&from, this); - const Primitive* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Primitive) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Primitive) - MergeFrom(*source); - } -} - -void Primitive::MergeFrom(const Primitive& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Primitive) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.value_case()) { - case kInteger: { - set_integer(from.integer()); - break; - } - case kFloatValue: { - set_float_value(from.float_value()); - break; - } - case kStringValue: { - set_string_value(from.string_value()); - break; - } - case kBoolean: { - set_boolean(from.boolean()); - break; - } - case kDatetime: { - mutable_datetime()->::google::protobuf::Timestamp::MergeFrom(from.datetime()); - break; - } - case kDuration: { - mutable_duration()->::google::protobuf::Duration::MergeFrom(from.duration()); - break; - } - case VALUE_NOT_SET: { - break; - } - } -} - -void Primitive::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Primitive) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Primitive::CopyFrom(const Primitive& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Primitive) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Primitive::IsInitialized() const { - return true; -} - -void Primitive::Swap(Primitive* other) { - if (other == this) return; - InternalSwap(other); -} -void Primitive::InternalSwap(Primitive* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(value_, other->value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Primitive::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Void::InitAsDefaultInstance() { -} -class Void::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Void::Void() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Void) -} -Void::Void(const Void& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Void) -} - -void Void::SharedCtor() { -} - -Void::~Void() { - // @@protoc_insertion_point(destructor:flyteidl.core.Void) - SharedDtor(); -} - -void Void::SharedDtor() { -} - -void Void::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Void& Void::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Void_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Void::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Void) - ::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* Void::_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 Void::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.Void) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Void) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Void) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Void::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Void) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Void) -} - -::google::protobuf::uint8* Void::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Void) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.Void) - return target; -} - -size_t Void::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Void) - 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 Void::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Void) - GOOGLE_DCHECK_NE(&from, this); - const Void* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Void) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Void) - MergeFrom(*source); - } -} - -void Void::MergeFrom(const Void& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Void) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void Void::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Void) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Void::CopyFrom(const Void& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Void) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Void::IsInitialized() const { - return true; -} - -void Void::Swap(Void* other) { - if (other == this) return; - InternalSwap(other); -} -void Void::InternalSwap(Void* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata Void::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Blob::InitAsDefaultInstance() { - ::flyteidl::core::_Blob_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::core::BlobMetadata*>( - ::flyteidl::core::BlobMetadata::internal_default_instance()); -} -class Blob::HasBitSetters { - public: - static const ::flyteidl::core::BlobMetadata& metadata(const Blob* msg); -}; - -const ::flyteidl::core::BlobMetadata& -Blob::HasBitSetters::metadata(const Blob* msg) { - return *msg->metadata_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Blob::kMetadataFieldNumber; -const int Blob::kUriFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Blob::Blob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Blob) -} -Blob::Blob(const Blob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.uri().size() > 0) { - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::core::BlobMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Blob) -} - -void Blob::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto.base); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - metadata_ = nullptr; -} - -Blob::~Blob() { - // @@protoc_insertion_point(destructor:flyteidl.core.Blob) - SharedDtor(); -} - -void Blob::SharedDtor() { - uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete metadata_; -} - -void Blob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Blob& Blob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Blob_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Blob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Blob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Blob::_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.BlobMetadata metadata = 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::BlobMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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 uri = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Blob.uri"); - object = msg->mutable_uri(); - 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 Blob::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.Blob) - 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.BlobMetadata metadata = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // string uri = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Blob.uri")); - } 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.Blob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Blob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Blob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Blob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.BlobMetadata metadata = 1; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::metadata(this), output); - } - - // string uri = 3; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Blob.uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->uri(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Blob) -} - -::google::protobuf::uint8* Blob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Blob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.BlobMetadata metadata = 1; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::metadata(this), target); - } - - // string uri = 3; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Blob.uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->uri(), 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.Blob) - return target; -} - -size_t Blob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Blob) - 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 uri = 3; - if (this->uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uri()); - } - - // .flyteidl.core.BlobMetadata metadata = 1; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Blob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Blob) - GOOGLE_DCHECK_NE(&from, this); - const Blob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Blob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Blob) - MergeFrom(*source); - } -} - -void Blob::MergeFrom(const Blob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Blob) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.uri().size() > 0) { - - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::core::BlobMetadata::MergeFrom(from.metadata()); - } -} - -void Blob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Blob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Blob::CopyFrom(const Blob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Blob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Blob::IsInitialized() const { - return true; -} - -void Blob::Swap(Blob* other) { - if (other == this) return; - InternalSwap(other); -} -void Blob::InternalSwap(Blob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uri_.Swap(&other->uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(metadata_, other->metadata_); -} - -::google::protobuf::Metadata Blob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void BlobMetadata::InitAsDefaultInstance() { - ::flyteidl::core::_BlobMetadata_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::BlobType*>( - ::flyteidl::core::BlobType::internal_default_instance()); -} -class BlobMetadata::HasBitSetters { - public: - static const ::flyteidl::core::BlobType& type(const BlobMetadata* msg); -}; - -const ::flyteidl::core::BlobType& -BlobMetadata::HasBitSetters::type(const BlobMetadata* msg) { - return *msg->type_; -} -void BlobMetadata::clear_type() { - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BlobMetadata::kTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BlobMetadata::BlobMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.BlobMetadata) -} -BlobMetadata::BlobMetadata(const BlobMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_type()) { - type_ = new ::flyteidl::core::BlobType(*from.type_); - } else { - type_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.BlobMetadata) -} - -void BlobMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_BlobMetadata_flyteidl_2fcore_2fliterals_2eproto.base); - type_ = nullptr; -} - -BlobMetadata::~BlobMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.BlobMetadata) - SharedDtor(); -} - -void BlobMetadata::SharedDtor() { - if (this != internal_default_instance()) delete type_; -} - -void BlobMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const BlobMetadata& BlobMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_BlobMetadata_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void BlobMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.BlobMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* BlobMetadata::_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.BlobType type = 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::BlobType::_InternalParse; - object = msg->mutable_type(); - 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 BlobMetadata::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.BlobMetadata) - 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.BlobType type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_type())); - } 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.BlobMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.BlobMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void BlobMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.BlobMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.BlobType type = 1; - if (this->has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::type(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.BlobMetadata) -} - -::google::protobuf::uint8* BlobMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.BlobMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.BlobType type = 1; - if (this->has_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::type(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.BlobMetadata) - return target; -} - -size_t BlobMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.BlobMetadata) - 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.BlobType type = 1; - if (this->has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void BlobMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.BlobMetadata) - GOOGLE_DCHECK_NE(&from, this); - const BlobMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.BlobMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.BlobMetadata) - MergeFrom(*source); - } -} - -void BlobMetadata::MergeFrom(const BlobMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.BlobMetadata) - 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_type()) { - mutable_type()->::flyteidl::core::BlobType::MergeFrom(from.type()); - } -} - -void BlobMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.BlobMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BlobMetadata::CopyFrom(const BlobMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.BlobMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BlobMetadata::IsInitialized() const { - return true; -} - -void BlobMetadata::Swap(BlobMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void BlobMetadata::InternalSwap(BlobMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(type_, other->type_); -} - -::google::protobuf::Metadata BlobMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Binary::InitAsDefaultInstance() { -} -class Binary::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Binary::kValueFieldNumber; -const int Binary::kTagFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Binary::Binary() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Binary) -} -Binary::Binary(const Binary& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.value().size() > 0) { - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.tag().size() > 0) { - tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Binary) -} - -void Binary::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto.base); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Binary::~Binary() { - // @@protoc_insertion_point(destructor:flyteidl.core.Binary) - SharedDtor(); -} - -void Binary::SharedDtor() { - value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - tag_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Binary::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Binary& Binary::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Binary_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Binary::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Binary) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Binary::_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) { - // bytes value = 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); - object = msg->mutable_value(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string tag = 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.Binary.tag"); - object = msg->mutable_tag(); - 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 Binary::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.Binary) - 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)) { - // bytes value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_value())); - } else { - goto handle_unusual; - } - break; - } - - // string tag = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_tag())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tag().data(), static_cast(this->tag().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Binary.tag")); - } 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.Binary) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Binary) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Binary::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Binary) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bytes value = 1; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 1, this->value(), output); - } - - // string tag = 2; - if (this->tag().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tag().data(), static_cast(this->tag().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Binary.tag"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->tag(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Binary) -} - -::google::protobuf::uint8* Binary::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Binary) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bytes value = 1; - if (this->value().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 1, this->value(), target); - } - - // string tag = 2; - if (this->tag().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tag().data(), static_cast(this->tag().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Binary.tag"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->tag(), 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.Binary) - return target; -} - -size_t Binary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Binary) - 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; - - // bytes value = 1; - if (this->value().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->value()); - } - - // string tag = 2; - if (this->tag().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->tag()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Binary::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Binary) - GOOGLE_DCHECK_NE(&from, this); - const Binary* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Binary) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Binary) - MergeFrom(*source); - } -} - -void Binary::MergeFrom(const Binary& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Binary) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value().size() > 0) { - - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - if (from.tag().size() > 0) { - - tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); - } -} - -void Binary::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Binary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Binary::CopyFrom(const Binary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Binary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Binary::IsInitialized() const { - return true; -} - -void Binary::Swap(Binary* other) { - if (other == this) return; - InternalSwap(other); -} -void Binary::InternalSwap(Binary* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - tag_.Swap(&other->tag_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Binary::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Schema::InitAsDefaultInstance() { - ::flyteidl::core::_Schema_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::SchemaType*>( - ::flyteidl::core::SchemaType::internal_default_instance()); -} -class Schema::HasBitSetters { - public: - static const ::flyteidl::core::SchemaType& type(const Schema* msg); -}; - -const ::flyteidl::core::SchemaType& -Schema::HasBitSetters::type(const Schema* msg) { - return *msg->type_; -} -void Schema::clear_type() { - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Schema::kUriFieldNumber; -const int Schema::kTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Schema::Schema() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Schema) -} -Schema::Schema(const Schema& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.uri().size() > 0) { - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - if (from.has_type()) { - type_ = new ::flyteidl::core::SchemaType(*from.type_); - } else { - type_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Schema) -} - -void Schema::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto.base); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = nullptr; -} - -Schema::~Schema() { - // @@protoc_insertion_point(destructor:flyteidl.core.Schema) - SharedDtor(); -} - -void Schema::SharedDtor() { - uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete type_; -} - -void Schema::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Schema& Schema::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Schema_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Schema::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Schema) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Schema::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string uri = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Schema.uri"); - object = msg->mutable_uri(); - 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.SchemaType type = 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::SchemaType::_InternalParse; - object = msg->mutable_type(); - 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 Schema::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.Schema) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string uri = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Schema.uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SchemaType type = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_type())); - } 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.Schema) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Schema) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Schema::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Schema) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uri = 1; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Schema.uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->uri(), output); - } - - // .flyteidl.core.SchemaType type = 3; - if (this->has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::type(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.Schema) -} - -::google::protobuf::uint8* Schema::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Schema) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uri = 1; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Schema.uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->uri(), target); - } - - // .flyteidl.core.SchemaType type = 3; - if (this->has_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::type(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.Schema) - return target; -} - -size_t Schema::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Schema) - 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 uri = 1; - if (this->uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uri()); - } - - // .flyteidl.core.SchemaType type = 3; - if (this->has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Schema::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Schema) - GOOGLE_DCHECK_NE(&from, this); - const Schema* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Schema) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Schema) - MergeFrom(*source); - } -} - -void Schema::MergeFrom(const Schema& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Schema) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.uri().size() > 0) { - - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - if (from.has_type()) { - mutable_type()->::flyteidl::core::SchemaType::MergeFrom(from.type()); - } -} - -void Schema::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Schema) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Schema::CopyFrom(const Schema& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Schema) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Schema::IsInitialized() const { - return true; -} - -void Schema::Swap(Schema* other) { - if (other == this) return; - InternalSwap(other); -} -void Schema::InternalSwap(Schema* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uri_.Swap(&other->uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(type_, other->type_); -} - -::google::protobuf::Metadata Schema::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Union::InitAsDefaultInstance() { - ::flyteidl::core::_Union_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::Literal*>( - ::flyteidl::core::Literal::internal_default_instance()); - ::flyteidl::core::_Union_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); -} -class Union::HasBitSetters { - public: - static const ::flyteidl::core::Literal& value(const Union* msg); - static const ::flyteidl::core::LiteralType& type(const Union* msg); -}; - -const ::flyteidl::core::Literal& -Union::HasBitSetters::value(const Union* msg) { - return *msg->value_; -} -const ::flyteidl::core::LiteralType& -Union::HasBitSetters::type(const Union* msg) { - return *msg->type_; -} -void Union::clear_type() { - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Union::kValueFieldNumber; -const int Union::kTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Union::Union() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Union) -} -Union::Union(const Union& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_value()) { - value_ = new ::flyteidl::core::Literal(*from.value_); - } else { - value_ = nullptr; - } - if (from.has_type()) { - type_ = new ::flyteidl::core::LiteralType(*from.type_); - } else { - type_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Union) -} - -void Union::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - ::memset(&value_, 0, static_cast( - reinterpret_cast(&type_) - - reinterpret_cast(&value_)) + sizeof(type_)); -} - -Union::~Union() { - // @@protoc_insertion_point(destructor:flyteidl.core.Union) - SharedDtor(); -} - -void Union::SharedDtor() { - if (this != internal_default_instance()) delete value_; - if (this != internal_default_instance()) delete type_; -} - -void Union::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Union& Union::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Union::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Union) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Union::_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.Literal value = 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::Literal::_InternalParse; - object = msg->mutable_value(); - 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.LiteralType type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralType::_InternalParse; - object = msg->mutable_type(); - 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 Union::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.Union) - 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.Literal value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_value())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralType type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_type())); - } 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.Union) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Union) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Union::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Union) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Literal value = 1; - if (this->has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::value(this), output); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::type(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.Union) -} - -::google::protobuf::uint8* Union::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Union) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Literal value = 1; - if (this->has_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::value(this), target); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::type(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.Union) - return target; -} - -size_t Union::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Union) - 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.Literal value = 1; - if (this->has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Union::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Union) - GOOGLE_DCHECK_NE(&from, this); - const Union* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Union) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Union) - MergeFrom(*source); - } -} - -void Union::MergeFrom(const Union& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Union) - 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_value()) { - mutable_value()->::flyteidl::core::Literal::MergeFrom(from.value()); - } - if (from.has_type()) { - mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); - } -} - -void Union::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Union) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Union::CopyFrom(const Union& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Union) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Union::IsInitialized() const { - return true; -} - -void Union::Swap(Union* other) { - if (other == this) return; - InternalSwap(other); -} -void Union::InternalSwap(Union* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(value_, other->value_); - swap(type_, other->type_); -} - -::google::protobuf::Metadata Union::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void StructuredDatasetMetadata::InitAsDefaultInstance() { - ::flyteidl::core::_StructuredDatasetMetadata_default_instance_._instance.get_mutable()->structured_dataset_type_ = const_cast< ::flyteidl::core::StructuredDatasetType*>( - ::flyteidl::core::StructuredDatasetType::internal_default_instance()); -} -class StructuredDatasetMetadata::HasBitSetters { - public: - static const ::flyteidl::core::StructuredDatasetType& structured_dataset_type(const StructuredDatasetMetadata* msg); -}; - -const ::flyteidl::core::StructuredDatasetType& -StructuredDatasetMetadata::HasBitSetters::structured_dataset_type(const StructuredDatasetMetadata* msg) { - return *msg->structured_dataset_type_; -} -void StructuredDatasetMetadata::clear_structured_dataset_type() { - if (GetArenaNoVirtual() == nullptr && structured_dataset_type_ != nullptr) { - delete structured_dataset_type_; - } - structured_dataset_type_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int StructuredDatasetMetadata::kStructuredDatasetTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -StructuredDatasetMetadata::StructuredDatasetMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.StructuredDatasetMetadata) -} -StructuredDatasetMetadata::StructuredDatasetMetadata(const StructuredDatasetMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_structured_dataset_type()) { - structured_dataset_type_ = new ::flyteidl::core::StructuredDatasetType(*from.structured_dataset_type_); - } else { - structured_dataset_type_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.StructuredDatasetMetadata) -} - -void StructuredDatasetMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto.base); - structured_dataset_type_ = nullptr; -} - -StructuredDatasetMetadata::~StructuredDatasetMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.StructuredDatasetMetadata) - SharedDtor(); -} - -void StructuredDatasetMetadata::SharedDtor() { - if (this != internal_default_instance()) delete structured_dataset_type_; -} - -void StructuredDatasetMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const StructuredDatasetMetadata& StructuredDatasetMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_StructuredDatasetMetadata_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void StructuredDatasetMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.StructuredDatasetMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && structured_dataset_type_ != nullptr) { - delete structured_dataset_type_; - } - structured_dataset_type_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* StructuredDatasetMetadata::_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.StructuredDatasetType structured_dataset_type = 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::StructuredDatasetType::_InternalParse; - object = msg->mutable_structured_dataset_type(); - 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 StructuredDatasetMetadata::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.StructuredDatasetMetadata) - 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.StructuredDatasetType structured_dataset_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_structured_dataset_type())); - } 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.StructuredDatasetMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.StructuredDatasetMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void StructuredDatasetMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.StructuredDatasetMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - if (this->has_structured_dataset_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::structured_dataset_type(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.StructuredDatasetMetadata) -} - -::google::protobuf::uint8* StructuredDatasetMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.StructuredDatasetMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - if (this->has_structured_dataset_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::structured_dataset_type(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.StructuredDatasetMetadata) - return target; -} - -size_t StructuredDatasetMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.StructuredDatasetMetadata) - 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.StructuredDatasetType structured_dataset_type = 1; - if (this->has_structured_dataset_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *structured_dataset_type_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void StructuredDatasetMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.StructuredDatasetMetadata) - GOOGLE_DCHECK_NE(&from, this); - const StructuredDatasetMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.StructuredDatasetMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.StructuredDatasetMetadata) - MergeFrom(*source); - } -} - -void StructuredDatasetMetadata::MergeFrom(const StructuredDatasetMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.StructuredDatasetMetadata) - 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_structured_dataset_type()) { - mutable_structured_dataset_type()->::flyteidl::core::StructuredDatasetType::MergeFrom(from.structured_dataset_type()); - } -} - -void StructuredDatasetMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.StructuredDatasetMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StructuredDatasetMetadata::CopyFrom(const StructuredDatasetMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.StructuredDatasetMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructuredDatasetMetadata::IsInitialized() const { - return true; -} - -void StructuredDatasetMetadata::Swap(StructuredDatasetMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void StructuredDatasetMetadata::InternalSwap(StructuredDatasetMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(structured_dataset_type_, other->structured_dataset_type_); -} - -::google::protobuf::Metadata StructuredDatasetMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void StructuredDataset::InitAsDefaultInstance() { - ::flyteidl::core::_StructuredDataset_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::core::StructuredDatasetMetadata*>( - ::flyteidl::core::StructuredDatasetMetadata::internal_default_instance()); -} -class StructuredDataset::HasBitSetters { - public: - static const ::flyteidl::core::StructuredDatasetMetadata& metadata(const StructuredDataset* msg); -}; - -const ::flyteidl::core::StructuredDatasetMetadata& -StructuredDataset::HasBitSetters::metadata(const StructuredDataset* msg) { - return *msg->metadata_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int StructuredDataset::kUriFieldNumber; -const int StructuredDataset::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -StructuredDataset::StructuredDataset() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.StructuredDataset) -} -StructuredDataset::StructuredDataset(const StructuredDataset& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.uri().size() > 0) { - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::core::StructuredDatasetMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.StructuredDataset) -} - -void StructuredDataset::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_StructuredDataset_flyteidl_2fcore_2fliterals_2eproto.base); - uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - metadata_ = nullptr; -} - -StructuredDataset::~StructuredDataset() { - // @@protoc_insertion_point(destructor:flyteidl.core.StructuredDataset) - SharedDtor(); -} - -void StructuredDataset::SharedDtor() { - uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete metadata_; -} - -void StructuredDataset::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const StructuredDataset& StructuredDataset::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_StructuredDataset_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void StructuredDataset::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.StructuredDataset) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* StructuredDataset::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string uri = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.StructuredDataset.uri"); - object = msg->mutable_uri(); - 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.StructuredDatasetMetadata metadata = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::StructuredDatasetMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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 StructuredDataset::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.StructuredDataset) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string uri = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.StructuredDataset.uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.StructuredDatasetMetadata metadata = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } 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.StructuredDataset) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.StructuredDataset) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void StructuredDataset::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.StructuredDataset) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uri = 1; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDataset.uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->uri(), output); - } - - // .flyteidl.core.StructuredDatasetMetadata metadata = 2; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::metadata(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.StructuredDataset) -} - -::google::protobuf::uint8* StructuredDataset::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.StructuredDataset) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string uri = 1; - if (this->uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uri().data(), static_cast(this->uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDataset.uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->uri(), target); - } - - // .flyteidl.core.StructuredDatasetMetadata metadata = 2; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::metadata(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.StructuredDataset) - return target; -} - -size_t StructuredDataset::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.StructuredDataset) - 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 uri = 1; - if (this->uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uri()); - } - - // .flyteidl.core.StructuredDatasetMetadata metadata = 2; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void StructuredDataset::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.StructuredDataset) - GOOGLE_DCHECK_NE(&from, this); - const StructuredDataset* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.StructuredDataset) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.StructuredDataset) - MergeFrom(*source); - } -} - -void StructuredDataset::MergeFrom(const StructuredDataset& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.StructuredDataset) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.uri().size() > 0) { - - uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uri_); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::core::StructuredDatasetMetadata::MergeFrom(from.metadata()); - } -} - -void StructuredDataset::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.StructuredDataset) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StructuredDataset::CopyFrom(const StructuredDataset& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.StructuredDataset) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructuredDataset::IsInitialized() const { - return true; -} - -void StructuredDataset::Swap(StructuredDataset* other) { - if (other == this) return; - InternalSwap(other); -} -void StructuredDataset::InternalSwap(StructuredDataset* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - uri_.Swap(&other->uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(metadata_, other->metadata_); -} - -::google::protobuf::Metadata StructuredDataset::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Scalar::InitAsDefaultInstance() { - ::flyteidl::core::_Scalar_default_instance_.primitive_ = const_cast< ::flyteidl::core::Primitive*>( - ::flyteidl::core::Primitive::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.blob_ = const_cast< ::flyteidl::core::Blob*>( - ::flyteidl::core::Blob::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.binary_ = const_cast< ::flyteidl::core::Binary*>( - ::flyteidl::core::Binary::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.schema_ = const_cast< ::flyteidl::core::Schema*>( - ::flyteidl::core::Schema::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.none_type_ = const_cast< ::flyteidl::core::Void*>( - ::flyteidl::core::Void::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.error_ = const_cast< ::flyteidl::core::Error*>( - ::flyteidl::core::Error::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.generic_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.structured_dataset_ = const_cast< ::flyteidl::core::StructuredDataset*>( - ::flyteidl::core::StructuredDataset::internal_default_instance()); - ::flyteidl::core::_Scalar_default_instance_.union__ = const_cast< ::flyteidl::core::Union*>( - ::flyteidl::core::Union::internal_default_instance()); -} -class Scalar::HasBitSetters { - public: - static const ::flyteidl::core::Primitive& primitive(const Scalar* msg); - static const ::flyteidl::core::Blob& blob(const Scalar* msg); - static const ::flyteidl::core::Binary& binary(const Scalar* msg); - static const ::flyteidl::core::Schema& schema(const Scalar* msg); - static const ::flyteidl::core::Void& none_type(const Scalar* msg); - static const ::flyteidl::core::Error& error(const Scalar* msg); - static const ::google::protobuf::Struct& generic(const Scalar* msg); - static const ::flyteidl::core::StructuredDataset& structured_dataset(const Scalar* msg); - static const ::flyteidl::core::Union& union_(const Scalar* msg); -}; - -const ::flyteidl::core::Primitive& -Scalar::HasBitSetters::primitive(const Scalar* msg) { - return *msg->value_.primitive_; -} -const ::flyteidl::core::Blob& -Scalar::HasBitSetters::blob(const Scalar* msg) { - return *msg->value_.blob_; -} -const ::flyteidl::core::Binary& -Scalar::HasBitSetters::binary(const Scalar* msg) { - return *msg->value_.binary_; -} -const ::flyteidl::core::Schema& -Scalar::HasBitSetters::schema(const Scalar* msg) { - return *msg->value_.schema_; -} -const ::flyteidl::core::Void& -Scalar::HasBitSetters::none_type(const Scalar* msg) { - return *msg->value_.none_type_; -} -const ::flyteidl::core::Error& -Scalar::HasBitSetters::error(const Scalar* msg) { - return *msg->value_.error_; -} -const ::google::protobuf::Struct& -Scalar::HasBitSetters::generic(const Scalar* msg) { - return *msg->value_.generic_; -} -const ::flyteidl::core::StructuredDataset& -Scalar::HasBitSetters::structured_dataset(const Scalar* msg) { - return *msg->value_.structured_dataset_; -} -const ::flyteidl::core::Union& -Scalar::HasBitSetters::union_(const Scalar* msg) { - return *msg->value_.union__; -} -void Scalar::set_allocated_primitive(::flyteidl::core::Primitive* primitive) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (primitive) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - primitive = ::google::protobuf::internal::GetOwnedMessage( - message_arena, primitive, submessage_arena); - } - set_has_primitive(); - value_.primitive_ = primitive; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.primitive) -} -void Scalar::set_allocated_blob(::flyteidl::core::Blob* blob) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (blob) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - blob = ::google::protobuf::internal::GetOwnedMessage( - message_arena, blob, submessage_arena); - } - set_has_blob(); - value_.blob_ = blob; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.blob) -} -void Scalar::set_allocated_binary(::flyteidl::core::Binary* binary) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (binary) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - binary = ::google::protobuf::internal::GetOwnedMessage( - message_arena, binary, submessage_arena); - } - set_has_binary(); - value_.binary_ = binary; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.binary) -} -void Scalar::set_allocated_schema(::flyteidl::core::Schema* schema) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (schema) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - schema = ::google::protobuf::internal::GetOwnedMessage( - message_arena, schema, submessage_arena); - } - set_has_schema(); - value_.schema_ = schema; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.schema) -} -void Scalar::set_allocated_none_type(::flyteidl::core::Void* none_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (none_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - none_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, none_type, submessage_arena); - } - set_has_none_type(); - value_.none_type_ = none_type; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.none_type) -} -void Scalar::set_allocated_error(::flyteidl::core::Error* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - value_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.error) -} -void Scalar::clear_error() { - if (has_error()) { - delete value_.error_; - clear_has_value(); - } -} -void Scalar::set_allocated_generic(::google::protobuf::Struct* generic) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (generic) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(generic)->GetArena(); - if (message_arena != submessage_arena) { - generic = ::google::protobuf::internal::GetOwnedMessage( - message_arena, generic, submessage_arena); - } - set_has_generic(); - value_.generic_ = generic; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.generic) -} -void Scalar::clear_generic() { - if (has_generic()) { - delete value_.generic_; - clear_has_value(); - } -} -void Scalar::set_allocated_structured_dataset(::flyteidl::core::StructuredDataset* structured_dataset) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (structured_dataset) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - structured_dataset = ::google::protobuf::internal::GetOwnedMessage( - message_arena, structured_dataset, submessage_arena); - } - set_has_structured_dataset(); - value_.structured_dataset_ = structured_dataset; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.structured_dataset) -} -void Scalar::set_allocated_union_(::flyteidl::core::Union* union_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (union_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - union_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, union_, submessage_arena); - } - set_has_union_(); - value_.union__ = union_; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Scalar.union) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Scalar::kPrimitiveFieldNumber; -const int Scalar::kBlobFieldNumber; -const int Scalar::kBinaryFieldNumber; -const int Scalar::kSchemaFieldNumber; -const int Scalar::kNoneTypeFieldNumber; -const int Scalar::kErrorFieldNumber; -const int Scalar::kGenericFieldNumber; -const int Scalar::kStructuredDatasetFieldNumber; -const int Scalar::kUnionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Scalar::Scalar() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Scalar) -} -Scalar::Scalar(const Scalar& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_value(); - switch (from.value_case()) { - case kPrimitive: { - mutable_primitive()->::flyteidl::core::Primitive::MergeFrom(from.primitive()); - break; - } - case kBlob: { - mutable_blob()->::flyteidl::core::Blob::MergeFrom(from.blob()); - break; - } - case kBinary: { - mutable_binary()->::flyteidl::core::Binary::MergeFrom(from.binary()); - break; - } - case kSchema: { - mutable_schema()->::flyteidl::core::Schema::MergeFrom(from.schema()); - break; - } - case kNoneType: { - mutable_none_type()->::flyteidl::core::Void::MergeFrom(from.none_type()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::Error::MergeFrom(from.error()); - break; - } - case kGeneric: { - mutable_generic()->::google::protobuf::Struct::MergeFrom(from.generic()); - break; - } - case kStructuredDataset: { - mutable_structured_dataset()->::flyteidl::core::StructuredDataset::MergeFrom(from.structured_dataset()); - break; - } - case kUnion: { - mutable_union_()->::flyteidl::core::Union::MergeFrom(from.union_()); - break; - } - case VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Scalar) -} - -void Scalar::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - clear_has_value(); -} - -Scalar::~Scalar() { - // @@protoc_insertion_point(destructor:flyteidl.core.Scalar) - SharedDtor(); -} - -void Scalar::SharedDtor() { - if (has_value()) { - clear_value(); - } -} - -void Scalar::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Scalar& Scalar::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Scalar::clear_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Scalar) - switch (value_case()) { - case kPrimitive: { - delete value_.primitive_; - break; - } - case kBlob: { - delete value_.blob_; - break; - } - case kBinary: { - delete value_.binary_; - break; - } - case kSchema: { - delete value_.schema_; - break; - } - case kNoneType: { - delete value_.none_type_; - break; - } - case kError: { - delete value_.error_; - break; - } - case kGeneric: { - delete value_.generic_; - break; - } - case kStructuredDataset: { - delete value_.structured_dataset_; - break; - } - case kUnion: { - delete value_.union__; - break; - } - case VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUE_NOT_SET; -} - - -void Scalar::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Scalar) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Scalar::_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.Primitive primitive = 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::Primitive::_InternalParse; - object = msg->mutable_primitive(); - 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.Blob blob = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Blob::_InternalParse; - object = msg->mutable_blob(); - 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.Binary binary = 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::Binary::_InternalParse; - object = msg->mutable_binary(); - 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.Schema schema = 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::Schema::_InternalParse; - object = msg->mutable_schema(); - 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.Void none_type = 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::Void::_InternalParse; - object = msg->mutable_none_type(); - 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.Error error = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Error::_InternalParse; - object = msg->mutable_error(); - 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; - } - // .google.protobuf.Struct generic = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_generic(); - 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.StructuredDataset structured_dataset = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::StructuredDataset::_InternalParse; - object = msg->mutable_structured_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; - } - // .flyteidl.core.Union union = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Union::_InternalParse; - object = msg->mutable_union_(); - 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 Scalar::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.Scalar) - 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.Primitive primitive = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_primitive())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Blob blob = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_blob())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Binary binary = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_binary())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Schema schema = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_schema())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Void none_type = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_none_type())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Error error = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct generic = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_generic())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.StructuredDataset structured_dataset = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_structured_dataset())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Union union = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_union_())); - } 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.Scalar) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Scalar) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Scalar::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Scalar) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Primitive primitive = 1; - if (has_primitive()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::primitive(this), output); - } - - // .flyteidl.core.Blob blob = 2; - if (has_blob()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::blob(this), output); - } - - // .flyteidl.core.Binary binary = 3; - if (has_binary()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::binary(this), output); - } - - // .flyteidl.core.Schema schema = 4; - if (has_schema()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::schema(this), output); - } - - // .flyteidl.core.Void none_type = 5; - if (has_none_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::none_type(this), output); - } - - // .flyteidl.core.Error error = 6; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::error(this), output); - } - - // .google.protobuf.Struct generic = 7; - if (has_generic()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::generic(this), output); - } - - // .flyteidl.core.StructuredDataset structured_dataset = 8; - if (has_structured_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::structured_dataset(this), output); - } - - // .flyteidl.core.Union union = 9; - if (has_union_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::union_(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.Scalar) -} - -::google::protobuf::uint8* Scalar::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Scalar) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Primitive primitive = 1; - if (has_primitive()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::primitive(this), target); - } - - // .flyteidl.core.Blob blob = 2; - if (has_blob()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::blob(this), target); - } - - // .flyteidl.core.Binary binary = 3; - if (has_binary()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::binary(this), target); - } - - // .flyteidl.core.Schema schema = 4; - if (has_schema()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::schema(this), target); - } - - // .flyteidl.core.Void none_type = 5; - if (has_none_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::none_type(this), target); - } - - // .flyteidl.core.Error error = 6; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::error(this), target); - } - - // .google.protobuf.Struct generic = 7; - if (has_generic()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::generic(this), target); - } - - // .flyteidl.core.StructuredDataset structured_dataset = 8; - if (has_structured_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::structured_dataset(this), target); - } - - // .flyteidl.core.Union union = 9; - if (has_union_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::union_(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.Scalar) - return target; -} - -size_t Scalar::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Scalar) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (value_case()) { - // .flyteidl.core.Primitive primitive = 1; - case kPrimitive: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.primitive_); - break; - } - // .flyteidl.core.Blob blob = 2; - case kBlob: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.blob_); - break; - } - // .flyteidl.core.Binary binary = 3; - case kBinary: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.binary_); - break; - } - // .flyteidl.core.Schema schema = 4; - case kSchema: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.schema_); - break; - } - // .flyteidl.core.Void none_type = 5; - case kNoneType: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.none_type_); - break; - } - // .flyteidl.core.Error error = 6; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.error_); - break; - } - // .google.protobuf.Struct generic = 7; - case kGeneric: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.generic_); - break; - } - // .flyteidl.core.StructuredDataset structured_dataset = 8; - case kStructuredDataset: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.structured_dataset_); - break; - } - // .flyteidl.core.Union union = 9; - case kUnion: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.union__); - break; - } - case VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Scalar::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Scalar) - GOOGLE_DCHECK_NE(&from, this); - const Scalar* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Scalar) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Scalar) - MergeFrom(*source); - } -} - -void Scalar::MergeFrom(const Scalar& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Scalar) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.value_case()) { - case kPrimitive: { - mutable_primitive()->::flyteidl::core::Primitive::MergeFrom(from.primitive()); - break; - } - case kBlob: { - mutable_blob()->::flyteidl::core::Blob::MergeFrom(from.blob()); - break; - } - case kBinary: { - mutable_binary()->::flyteidl::core::Binary::MergeFrom(from.binary()); - break; - } - case kSchema: { - mutable_schema()->::flyteidl::core::Schema::MergeFrom(from.schema()); - break; - } - case kNoneType: { - mutable_none_type()->::flyteidl::core::Void::MergeFrom(from.none_type()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::Error::MergeFrom(from.error()); - break; - } - case kGeneric: { - mutable_generic()->::google::protobuf::Struct::MergeFrom(from.generic()); - break; - } - case kStructuredDataset: { - mutable_structured_dataset()->::flyteidl::core::StructuredDataset::MergeFrom(from.structured_dataset()); - break; - } - case kUnion: { - mutable_union_()->::flyteidl::core::Union::MergeFrom(from.union_()); - break; - } - case VALUE_NOT_SET: { - break; - } - } -} - -void Scalar::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Scalar) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Scalar::CopyFrom(const Scalar& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Scalar) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Scalar::IsInitialized() const { - return true; -} - -void Scalar::Swap(Scalar* other) { - if (other == this) return; - InternalSwap(other); -} -void Scalar::InternalSwap(Scalar* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(value_, other->value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Scalar::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -Literal_MetadataEntry_DoNotUse::Literal_MetadataEntry_DoNotUse() {} -Literal_MetadataEntry_DoNotUse::Literal_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void Literal_MetadataEntry_DoNotUse::MergeFrom(const Literal_MetadataEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata Literal_MetadataEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[10]; -} -void Literal_MetadataEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Literal_MetadataEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - Literal_MetadataEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Literal.MetadataEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Literal.MetadataEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void Literal::InitAsDefaultInstance() { - ::flyteidl::core::_Literal_default_instance_.scalar_ = const_cast< ::flyteidl::core::Scalar*>( - ::flyteidl::core::Scalar::internal_default_instance()); - ::flyteidl::core::_Literal_default_instance_.collection_ = const_cast< ::flyteidl::core::LiteralCollection*>( - ::flyteidl::core::LiteralCollection::internal_default_instance()); - ::flyteidl::core::_Literal_default_instance_.map_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); -} -class Literal::HasBitSetters { - public: - static const ::flyteidl::core::Scalar& scalar(const Literal* msg); - static const ::flyteidl::core::LiteralCollection& collection(const Literal* msg); - static const ::flyteidl::core::LiteralMap& map(const Literal* msg); -}; - -const ::flyteidl::core::Scalar& -Literal::HasBitSetters::scalar(const Literal* msg) { - return *msg->value_.scalar_; -} -const ::flyteidl::core::LiteralCollection& -Literal::HasBitSetters::collection(const Literal* msg) { - return *msg->value_.collection_; -} -const ::flyteidl::core::LiteralMap& -Literal::HasBitSetters::map(const Literal* msg) { - return *msg->value_.map_; -} -void Literal::set_allocated_scalar(::flyteidl::core::Scalar* scalar) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (scalar) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - scalar = ::google::protobuf::internal::GetOwnedMessage( - message_arena, scalar, submessage_arena); - } - set_has_scalar(); - value_.scalar_ = scalar; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Literal.scalar) -} -void Literal::set_allocated_collection(::flyteidl::core::LiteralCollection* collection) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (collection) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - collection = ::google::protobuf::internal::GetOwnedMessage( - message_arena, collection, submessage_arena); - } - set_has_collection(); - value_.collection_ = collection; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Literal.collection) -} -void Literal::set_allocated_map(::flyteidl::core::LiteralMap* map) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (map) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - map = ::google::protobuf::internal::GetOwnedMessage( - message_arena, map, submessage_arena); - } - set_has_map(); - value_.map_ = map; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Literal.map) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Literal::kScalarFieldNumber; -const int Literal::kCollectionFieldNumber; -const int Literal::kMapFieldNumber; -const int Literal::kHashFieldNumber; -const int Literal::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Literal::Literal() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Literal) -} -Literal::Literal(const Literal& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - metadata_.MergeFrom(from.metadata_); - hash_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.hash().size() > 0) { - hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hash_); - } - clear_has_value(); - switch (from.value_case()) { - case kScalar: { - mutable_scalar()->::flyteidl::core::Scalar::MergeFrom(from.scalar()); - break; - } - case kCollection: { - mutable_collection()->::flyteidl::core::LiteralCollection::MergeFrom(from.collection()); - break; - } - case kMap: { - mutable_map()->::flyteidl::core::LiteralMap::MergeFrom(from.map()); - break; - } - case VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Literal) -} - -void Literal::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - hash_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_value(); -} - -Literal::~Literal() { - // @@protoc_insertion_point(destructor:flyteidl.core.Literal) - SharedDtor(); -} - -void Literal::SharedDtor() { - hash_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (has_value()) { - clear_value(); - } -} - -void Literal::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Literal& Literal::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Literal::clear_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Literal) - switch (value_case()) { - case kScalar: { - delete value_.scalar_; - break; - } - case kCollection: { - delete value_.collection_; - break; - } - case kMap: { - delete value_.map_; - break; - } - case VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUE_NOT_SET; -} - - -void Literal::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Literal) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - metadata_.Clear(); - hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Literal::_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.Scalar scalar = 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::Scalar::_InternalParse; - object = msg->mutable_scalar(); - 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.LiteralCollection collection = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralCollection::_InternalParse; - object = msg->mutable_collection(); - 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.LiteralMap map = 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::LiteralMap::_InternalParse; - object = msg->mutable_map(); - 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 hash = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Literal.hash"); - object = msg->mutable_hash(); - 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; - } - // map metadata = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::Literal_MetadataEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->metadata_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Literal::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.Literal) - 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.Scalar scalar = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_scalar())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralCollection collection = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_collection())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap map = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_map())); - } else { - goto handle_unusual; - } - break; - } - - // string hash = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_hash())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->hash().data(), static_cast(this->hash().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Literal.hash")); - } else { - goto handle_unusual; - } - break; - } - - // map metadata = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - Literal_MetadataEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - Literal_MetadataEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&metadata_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Literal.MetadataEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Literal.MetadataEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Literal) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Literal) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Literal::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Literal) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Scalar scalar = 1; - if (has_scalar()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::scalar(this), output); - } - - // .flyteidl.core.LiteralCollection collection = 2; - if (has_collection()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::collection(this), output); - } - - // .flyteidl.core.LiteralMap map = 3; - if (has_map()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::map(this), output); - } - - // string hash = 4; - if (this->hash().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->hash().data(), static_cast(this->hash().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Literal.hash"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->hash(), output); - } - - // map metadata = 5; - if (!this->metadata().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Literal.MetadataEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Literal.MetadataEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->metadata().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->metadata().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->metadata().begin(); - it != this->metadata().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(metadata_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->metadata().begin(); - it != this->metadata().end(); ++it) { - entry.reset(metadata_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Literal) -} - -::google::protobuf::uint8* Literal::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Literal) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Scalar scalar = 1; - if (has_scalar()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::scalar(this), target); - } - - // .flyteidl.core.LiteralCollection collection = 2; - if (has_collection()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::collection(this), target); - } - - // .flyteidl.core.LiteralMap map = 3; - if (has_map()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::map(this), target); - } - - // string hash = 4; - if (this->hash().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->hash().data(), static_cast(this->hash().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Literal.hash"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->hash(), target); - } - - // map metadata = 5; - if (!this->metadata().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Literal.MetadataEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Literal.MetadataEntry.value"); - } - }; - - if (false && - this->metadata().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->metadata().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->metadata().begin(); - it != this->metadata().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(metadata_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->metadata().begin(); - it != this->metadata().end(); ++it) { - entry.reset(metadata_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.Literal) - return target; -} - -size_t Literal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Literal) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map metadata = 5; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->metadata_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->metadata().begin(); - it != this->metadata().end(); ++it) { - entry.reset(metadata_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // string hash = 4; - if (this->hash().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->hash()); - } - - switch (value_case()) { - // .flyteidl.core.Scalar scalar = 1; - case kScalar: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.scalar_); - break; - } - // .flyteidl.core.LiteralCollection collection = 2; - case kCollection: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.collection_); - break; - } - // .flyteidl.core.LiteralMap map = 3; - case kMap: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.map_); - break; - } - case VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Literal::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Literal) - GOOGLE_DCHECK_NE(&from, this); - const Literal* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Literal) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Literal) - MergeFrom(*source); - } -} - -void Literal::MergeFrom(const Literal& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Literal) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - metadata_.MergeFrom(from.metadata_); - if (from.hash().size() > 0) { - - hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.hash_); - } - switch (from.value_case()) { - case kScalar: { - mutable_scalar()->::flyteidl::core::Scalar::MergeFrom(from.scalar()); - break; - } - case kCollection: { - mutable_collection()->::flyteidl::core::LiteralCollection::MergeFrom(from.collection()); - break; - } - case kMap: { - mutable_map()->::flyteidl::core::LiteralMap::MergeFrom(from.map()); - break; - } - case VALUE_NOT_SET: { - break; - } - } -} - -void Literal::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Literal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Literal::CopyFrom(const Literal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Literal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Literal::IsInitialized() const { - return true; -} - -void Literal::Swap(Literal* other) { - if (other == this) return; - InternalSwap(other); -} -void Literal::InternalSwap(Literal* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - metadata_.Swap(&other->metadata_); - hash_.Swap(&other->hash_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(value_, other->value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Literal::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LiteralCollection::InitAsDefaultInstance() { -} -class LiteralCollection::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LiteralCollection::kLiteralsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LiteralCollection::LiteralCollection() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.LiteralCollection) -} -LiteralCollection::LiteralCollection(const LiteralCollection& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - literals_(from.literals_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.LiteralCollection) -} - -void LiteralCollection::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); -} - -LiteralCollection::~LiteralCollection() { - // @@protoc_insertion_point(destructor:flyteidl.core.LiteralCollection) - SharedDtor(); -} - -void LiteralCollection::SharedDtor() { -} - -void LiteralCollection::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LiteralCollection& LiteralCollection::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void LiteralCollection::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.LiteralCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - literals_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LiteralCollection::_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.Literal literals = 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::Literal::_InternalParse; - object = msg->add_literals(); - 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 LiteralCollection::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.LiteralCollection) - 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.Literal literals = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_literals())); - } 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.LiteralCollection) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.LiteralCollection) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LiteralCollection::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.LiteralCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.Literal literals = 1; - for (unsigned int i = 0, - n = static_cast(this->literals_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->literals(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.LiteralCollection) -} - -::google::protobuf::uint8* LiteralCollection::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.LiteralCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.Literal literals = 1; - for (unsigned int i = 0, - n = static_cast(this->literals_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->literals(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.LiteralCollection) - return target; -} - -size_t LiteralCollection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.LiteralCollection) - 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.Literal literals = 1; - { - unsigned int count = static_cast(this->literals_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->literals(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LiteralCollection::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.LiteralCollection) - GOOGLE_DCHECK_NE(&from, this); - const LiteralCollection* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.LiteralCollection) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.LiteralCollection) - MergeFrom(*source); - } -} - -void LiteralCollection::MergeFrom(const LiteralCollection& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.LiteralCollection) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - literals_.MergeFrom(from.literals_); -} - -void LiteralCollection::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.LiteralCollection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LiteralCollection::CopyFrom(const LiteralCollection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.LiteralCollection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LiteralCollection::IsInitialized() const { - return true; -} - -void LiteralCollection::Swap(LiteralCollection* other) { - if (other == this) return; - InternalSwap(other); -} -void LiteralCollection::InternalSwap(LiteralCollection* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&literals_)->InternalSwap(CastToBase(&other->literals_)); -} - -::google::protobuf::Metadata LiteralCollection::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -LiteralMap_LiteralsEntry_DoNotUse::LiteralMap_LiteralsEntry_DoNotUse() {} -LiteralMap_LiteralsEntry_DoNotUse::LiteralMap_LiteralsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void LiteralMap_LiteralsEntry_DoNotUse::MergeFrom(const LiteralMap_LiteralsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata LiteralMap_LiteralsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[13]; -} -void LiteralMap_LiteralsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool LiteralMap_LiteralsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - LiteralMap_LiteralsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.LiteralMap.LiteralsEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void LiteralMap::InitAsDefaultInstance() { -} -class LiteralMap::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LiteralMap::kLiteralsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LiteralMap::LiteralMap() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.LiteralMap) -} -LiteralMap::LiteralMap(const LiteralMap& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - literals_.MergeFrom(from.literals_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.LiteralMap) -} - -void LiteralMap::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); -} - -LiteralMap::~LiteralMap() { - // @@protoc_insertion_point(destructor:flyteidl.core.LiteralMap) - SharedDtor(); -} - -void LiteralMap::SharedDtor() { -} - -void LiteralMap::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LiteralMap& LiteralMap::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void LiteralMap::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.LiteralMap) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - literals_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LiteralMap::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map literals = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->literals_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool LiteralMap::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.LiteralMap) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map literals = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - LiteralMap_LiteralsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - LiteralMap_LiteralsEntry_DoNotUse, - ::std::string, ::flyteidl::core::Literal, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal > > parser(&literals_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.LiteralMap.LiteralsEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.LiteralMap) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.LiteralMap) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LiteralMap::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.LiteralMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map literals = 1; - if (!this->literals().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.LiteralMap.LiteralsEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->literals().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->literals().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::const_iterator - it = this->literals().begin(); - it != this->literals().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(literals_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::const_iterator - it = this->literals().begin(); - it != this->literals().end(); ++it) { - entry.reset(literals_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.LiteralMap) -} - -::google::protobuf::uint8* LiteralMap::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.LiteralMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map literals = 1; - if (!this->literals().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.LiteralMap.LiteralsEntry.key"); - } - }; - - if (false && - this->literals().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->literals().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::const_iterator - it = this->literals().begin(); - it != this->literals().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(literals_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::const_iterator - it = this->literals().begin(); - it != this->literals().end(); ++it) { - entry.reset(literals_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.LiteralMap) - return target; -} - -size_t LiteralMap::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.LiteralMap) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map literals = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->literals_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >::const_iterator - it = this->literals().begin(); - it != this->literals().end(); ++it) { - entry.reset(literals_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LiteralMap::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.LiteralMap) - GOOGLE_DCHECK_NE(&from, this); - const LiteralMap* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.LiteralMap) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.LiteralMap) - MergeFrom(*source); - } -} - -void LiteralMap::MergeFrom(const LiteralMap& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.LiteralMap) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - literals_.MergeFrom(from.literals_); -} - -void LiteralMap::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.LiteralMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LiteralMap::CopyFrom(const LiteralMap& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.LiteralMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LiteralMap::IsInitialized() const { - return true; -} - -void LiteralMap::Swap(LiteralMap* other) { - if (other == this) return; - InternalSwap(other); -} -void LiteralMap::InternalSwap(LiteralMap* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - literals_.Swap(&other->literals_); -} - -::google::protobuf::Metadata LiteralMap::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void BindingDataCollection::InitAsDefaultInstance() { -} -class BindingDataCollection::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BindingDataCollection::kBindingsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BindingDataCollection::BindingDataCollection() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.BindingDataCollection) -} -BindingDataCollection::BindingDataCollection(const BindingDataCollection& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - bindings_(from.bindings_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.BindingDataCollection) -} - -void BindingDataCollection::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); -} - -BindingDataCollection::~BindingDataCollection() { - // @@protoc_insertion_point(destructor:flyteidl.core.BindingDataCollection) - SharedDtor(); -} - -void BindingDataCollection::SharedDtor() { -} - -void BindingDataCollection::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const BindingDataCollection& BindingDataCollection::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void BindingDataCollection::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.BindingDataCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - bindings_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* BindingDataCollection::_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.BindingData bindings = 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::BindingData::_InternalParse; - object = msg->add_bindings(); - 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 BindingDataCollection::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.BindingDataCollection) - 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.BindingData bindings = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_bindings())); - } 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.BindingDataCollection) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.BindingDataCollection) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void BindingDataCollection::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.BindingDataCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.BindingData bindings = 1; - for (unsigned int i = 0, - n = static_cast(this->bindings_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->bindings(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.BindingDataCollection) -} - -::google::protobuf::uint8* BindingDataCollection::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.BindingDataCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.BindingData bindings = 1; - for (unsigned int i = 0, - n = static_cast(this->bindings_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->bindings(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.BindingDataCollection) - return target; -} - -size_t BindingDataCollection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.BindingDataCollection) - 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.BindingData bindings = 1; - { - unsigned int count = static_cast(this->bindings_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->bindings(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void BindingDataCollection::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.BindingDataCollection) - GOOGLE_DCHECK_NE(&from, this); - const BindingDataCollection* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.BindingDataCollection) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.BindingDataCollection) - MergeFrom(*source); - } -} - -void BindingDataCollection::MergeFrom(const BindingDataCollection& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.BindingDataCollection) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - bindings_.MergeFrom(from.bindings_); -} - -void BindingDataCollection::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.BindingDataCollection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BindingDataCollection::CopyFrom(const BindingDataCollection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.BindingDataCollection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BindingDataCollection::IsInitialized() const { - return true; -} - -void BindingDataCollection::Swap(BindingDataCollection* other) { - if (other == this) return; - InternalSwap(other); -} -void BindingDataCollection::InternalSwap(BindingDataCollection* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&bindings_)->InternalSwap(CastToBase(&other->bindings_)); -} - -::google::protobuf::Metadata BindingDataCollection::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -BindingDataMap_BindingsEntry_DoNotUse::BindingDataMap_BindingsEntry_DoNotUse() {} -BindingDataMap_BindingsEntry_DoNotUse::BindingDataMap_BindingsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void BindingDataMap_BindingsEntry_DoNotUse::MergeFrom(const BindingDataMap_BindingsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata BindingDataMap_BindingsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[16]; -} -void BindingDataMap_BindingsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool BindingDataMap_BindingsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - BindingDataMap_BindingsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.BindingDataMap.BindingsEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void BindingDataMap::InitAsDefaultInstance() { -} -class BindingDataMap::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BindingDataMap::kBindingsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BindingDataMap::BindingDataMap() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.BindingDataMap) -} -BindingDataMap::BindingDataMap(const BindingDataMap& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - bindings_.MergeFrom(from.bindings_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.BindingDataMap) -} - -void BindingDataMap::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); -} - -BindingDataMap::~BindingDataMap() { - // @@protoc_insertion_point(destructor:flyteidl.core.BindingDataMap) - SharedDtor(); -} - -void BindingDataMap::SharedDtor() { -} - -void BindingDataMap::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const BindingDataMap& BindingDataMap::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void BindingDataMap::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.BindingDataMap) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - bindings_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* BindingDataMap::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map bindings = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->bindings_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool BindingDataMap::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.BindingDataMap) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map bindings = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - BindingDataMap_BindingsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - BindingDataMap_BindingsEntry_DoNotUse, - ::std::string, ::flyteidl::core::BindingData, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData > > parser(&bindings_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.BindingDataMap.BindingsEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.BindingDataMap) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.BindingDataMap) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void BindingDataMap::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.BindingDataMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map bindings = 1; - if (!this->bindings().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.BindingDataMap.BindingsEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->bindings().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->bindings().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::const_iterator - it = this->bindings().begin(); - it != this->bindings().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(bindings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::const_iterator - it = this->bindings().begin(); - it != this->bindings().end(); ++it) { - entry.reset(bindings_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.BindingDataMap) -} - -::google::protobuf::uint8* BindingDataMap::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.BindingDataMap) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map bindings = 1; - if (!this->bindings().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.BindingDataMap.BindingsEntry.key"); - } - }; - - if (false && - this->bindings().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->bindings().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::const_iterator - it = this->bindings().begin(); - it != this->bindings().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(bindings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::const_iterator - it = this->bindings().begin(); - it != this->bindings().end(); ++it) { - entry.reset(bindings_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.BindingDataMap) - return target; -} - -size_t BindingDataMap::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.BindingDataMap) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map bindings = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->bindings_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >::const_iterator - it = this->bindings().begin(); - it != this->bindings().end(); ++it) { - entry.reset(bindings_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void BindingDataMap::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.BindingDataMap) - GOOGLE_DCHECK_NE(&from, this); - const BindingDataMap* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.BindingDataMap) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.BindingDataMap) - MergeFrom(*source); - } -} - -void BindingDataMap::MergeFrom(const BindingDataMap& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.BindingDataMap) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - bindings_.MergeFrom(from.bindings_); -} - -void BindingDataMap::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.BindingDataMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BindingDataMap::CopyFrom(const BindingDataMap& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.BindingDataMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BindingDataMap::IsInitialized() const { - return true; -} - -void BindingDataMap::Swap(BindingDataMap* other) { - if (other == this) return; - InternalSwap(other); -} -void BindingDataMap::InternalSwap(BindingDataMap* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - bindings_.Swap(&other->bindings_); -} - -::google::protobuf::Metadata BindingDataMap::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void UnionInfo::InitAsDefaultInstance() { - ::flyteidl::core::_UnionInfo_default_instance_._instance.get_mutable()->targettype_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); -} -class UnionInfo::HasBitSetters { - public: - static const ::flyteidl::core::LiteralType& targettype(const UnionInfo* msg); -}; - -const ::flyteidl::core::LiteralType& -UnionInfo::HasBitSetters::targettype(const UnionInfo* msg) { - return *msg->targettype_; -} -void UnionInfo::clear_targettype() { - if (GetArenaNoVirtual() == nullptr && targettype_ != nullptr) { - delete targettype_; - } - targettype_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UnionInfo::kTargetTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UnionInfo::UnionInfo() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.UnionInfo) -} -UnionInfo::UnionInfo(const UnionInfo& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_targettype()) { - targettype_ = new ::flyteidl::core::LiteralType(*from.targettype_); - } else { - targettype_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.UnionInfo) -} - -void UnionInfo::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto.base); - targettype_ = nullptr; -} - -UnionInfo::~UnionInfo() { - // @@protoc_insertion_point(destructor:flyteidl.core.UnionInfo) - SharedDtor(); -} - -void UnionInfo::SharedDtor() { - if (this != internal_default_instance()) delete targettype_; -} - -void UnionInfo::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const UnionInfo& UnionInfo::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_UnionInfo_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void UnionInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.UnionInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && targettype_ != nullptr) { - delete targettype_; - } - targettype_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* UnionInfo::_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.LiteralType targetType = 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::LiteralType::_InternalParse; - object = msg->mutable_targettype(); - 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 UnionInfo::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.UnionInfo) - 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.LiteralType targetType = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_targettype())); - } 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.UnionInfo) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.UnionInfo) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void UnionInfo::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.UnionInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralType targetType = 1; - if (this->has_targettype()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::targettype(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.UnionInfo) -} - -::google::protobuf::uint8* UnionInfo::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.UnionInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralType targetType = 1; - if (this->has_targettype()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::targettype(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.UnionInfo) - return target; -} - -size_t UnionInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.UnionInfo) - 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.LiteralType targetType = 1; - if (this->has_targettype()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *targettype_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void UnionInfo::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.UnionInfo) - GOOGLE_DCHECK_NE(&from, this); - const UnionInfo* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.UnionInfo) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.UnionInfo) - MergeFrom(*source); - } -} - -void UnionInfo::MergeFrom(const UnionInfo& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.UnionInfo) - 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_targettype()) { - mutable_targettype()->::flyteidl::core::LiteralType::MergeFrom(from.targettype()); - } -} - -void UnionInfo::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.UnionInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UnionInfo::CopyFrom(const UnionInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.UnionInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UnionInfo::IsInitialized() const { - return true; -} - -void UnionInfo::Swap(UnionInfo* other) { - if (other == this) return; - InternalSwap(other); -} -void UnionInfo::InternalSwap(UnionInfo* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(targettype_, other->targettype_); -} - -::google::protobuf::Metadata UnionInfo::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void BindingData::InitAsDefaultInstance() { - ::flyteidl::core::_BindingData_default_instance_.scalar_ = const_cast< ::flyteidl::core::Scalar*>( - ::flyteidl::core::Scalar::internal_default_instance()); - ::flyteidl::core::_BindingData_default_instance_.collection_ = const_cast< ::flyteidl::core::BindingDataCollection*>( - ::flyteidl::core::BindingDataCollection::internal_default_instance()); - ::flyteidl::core::_BindingData_default_instance_.promise_ = const_cast< ::flyteidl::core::OutputReference*>( - ::flyteidl::core::OutputReference::internal_default_instance()); - ::flyteidl::core::_BindingData_default_instance_.map_ = const_cast< ::flyteidl::core::BindingDataMap*>( - ::flyteidl::core::BindingDataMap::internal_default_instance()); - ::flyteidl::core::_BindingData_default_instance_._instance.get_mutable()->union__ = const_cast< ::flyteidl::core::UnionInfo*>( - ::flyteidl::core::UnionInfo::internal_default_instance()); -} -class BindingData::HasBitSetters { - public: - static const ::flyteidl::core::Scalar& scalar(const BindingData* msg); - static const ::flyteidl::core::BindingDataCollection& collection(const BindingData* msg); - static const ::flyteidl::core::OutputReference& promise(const BindingData* msg); - static const ::flyteidl::core::BindingDataMap& map(const BindingData* msg); - static const ::flyteidl::core::UnionInfo& union_(const BindingData* msg); -}; - -const ::flyteidl::core::Scalar& -BindingData::HasBitSetters::scalar(const BindingData* msg) { - return *msg->value_.scalar_; -} -const ::flyteidl::core::BindingDataCollection& -BindingData::HasBitSetters::collection(const BindingData* msg) { - return *msg->value_.collection_; -} -const ::flyteidl::core::OutputReference& -BindingData::HasBitSetters::promise(const BindingData* msg) { - return *msg->value_.promise_; -} -const ::flyteidl::core::BindingDataMap& -BindingData::HasBitSetters::map(const BindingData* msg) { - return *msg->value_.map_; -} -const ::flyteidl::core::UnionInfo& -BindingData::HasBitSetters::union_(const BindingData* msg) { - return *msg->union__; -} -void BindingData::set_allocated_scalar(::flyteidl::core::Scalar* scalar) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (scalar) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - scalar = ::google::protobuf::internal::GetOwnedMessage( - message_arena, scalar, submessage_arena); - } - set_has_scalar(); - value_.scalar_ = scalar; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BindingData.scalar) -} -void BindingData::set_allocated_collection(::flyteidl::core::BindingDataCollection* collection) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (collection) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - collection = ::google::protobuf::internal::GetOwnedMessage( - message_arena, collection, submessage_arena); - } - set_has_collection(); - value_.collection_ = collection; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BindingData.collection) -} -void BindingData::set_allocated_promise(::flyteidl::core::OutputReference* promise) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (promise) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - promise = ::google::protobuf::internal::GetOwnedMessage( - message_arena, promise, submessage_arena); - } - set_has_promise(); - value_.promise_ = promise; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BindingData.promise) -} -void BindingData::clear_promise() { - if (has_promise()) { - delete value_.promise_; - clear_has_value(); - } -} -void BindingData::set_allocated_map(::flyteidl::core::BindingDataMap* map) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_value(); - if (map) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - map = ::google::protobuf::internal::GetOwnedMessage( - message_arena, map, submessage_arena); - } - set_has_map(); - value_.map_ = map; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BindingData.map) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BindingData::kScalarFieldNumber; -const int BindingData::kCollectionFieldNumber; -const int BindingData::kPromiseFieldNumber; -const int BindingData::kMapFieldNumber; -const int BindingData::kUnionFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BindingData::BindingData() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.BindingData) -} -BindingData::BindingData(const BindingData& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_union_()) { - union__ = new ::flyteidl::core::UnionInfo(*from.union__); - } else { - union__ = nullptr; - } - clear_has_value(); - switch (from.value_case()) { - case kScalar: { - mutable_scalar()->::flyteidl::core::Scalar::MergeFrom(from.scalar()); - break; - } - case kCollection: { - mutable_collection()->::flyteidl::core::BindingDataCollection::MergeFrom(from.collection()); - break; - } - case kPromise: { - mutable_promise()->::flyteidl::core::OutputReference::MergeFrom(from.promise()); - break; - } - case kMap: { - mutable_map()->::flyteidl::core::BindingDataMap::MergeFrom(from.map()); - break; - } - case VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.BindingData) -} - -void BindingData::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); - union__ = nullptr; - clear_has_value(); -} - -BindingData::~BindingData() { - // @@protoc_insertion_point(destructor:flyteidl.core.BindingData) - SharedDtor(); -} - -void BindingData::SharedDtor() { - if (this != internal_default_instance()) delete union__; - if (has_value()) { - clear_value(); - } -} - -void BindingData::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const BindingData& BindingData::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_BindingData_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void BindingData::clear_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.BindingData) - switch (value_case()) { - case kScalar: { - delete value_.scalar_; - break; - } - case kCollection: { - delete value_.collection_; - break; - } - case kPromise: { - delete value_.promise_; - break; - } - case kMap: { - delete value_.map_; - break; - } - case VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUE_NOT_SET; -} - - -void BindingData::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.BindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && union__ != nullptr) { - delete union__; - } - union__ = nullptr; - clear_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* BindingData::_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.Scalar scalar = 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::Scalar::_InternalParse; - object = msg->mutable_scalar(); - 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.BindingDataCollection collection = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::BindingDataCollection::_InternalParse; - object = msg->mutable_collection(); - 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.OutputReference promise = 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::OutputReference::_InternalParse; - object = msg->mutable_promise(); - 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.BindingDataMap map = 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::BindingDataMap::_InternalParse; - object = msg->mutable_map(); - 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.UnionInfo union = 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::UnionInfo::_InternalParse; - object = msg->mutable_union_(); - 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 BindingData::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.BindingData) - 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.Scalar scalar = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_scalar())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BindingDataCollection collection = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_collection())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.OutputReference promise = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_promise())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BindingDataMap map = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_map())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.UnionInfo union = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_union_())); - } 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.BindingData) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.BindingData) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void BindingData::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.BindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Scalar scalar = 1; - if (has_scalar()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::scalar(this), output); - } - - // .flyteidl.core.BindingDataCollection collection = 2; - if (has_collection()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::collection(this), output); - } - - // .flyteidl.core.OutputReference promise = 3; - if (has_promise()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::promise(this), output); - } - - // .flyteidl.core.BindingDataMap map = 4; - if (has_map()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::map(this), output); - } - - // .flyteidl.core.UnionInfo union = 5; - if (this->has_union_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::union_(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.BindingData) -} - -::google::protobuf::uint8* BindingData::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.BindingData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Scalar scalar = 1; - if (has_scalar()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::scalar(this), target); - } - - // .flyteidl.core.BindingDataCollection collection = 2; - if (has_collection()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::collection(this), target); - } - - // .flyteidl.core.OutputReference promise = 3; - if (has_promise()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::promise(this), target); - } - - // .flyteidl.core.BindingDataMap map = 4; - if (has_map()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::map(this), target); - } - - // .flyteidl.core.UnionInfo union = 5; - if (this->has_union_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::union_(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.BindingData) - return target; -} - -size_t BindingData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.BindingData) - 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.UnionInfo union = 5; - if (this->has_union_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *union__); - } - - switch (value_case()) { - // .flyteidl.core.Scalar scalar = 1; - case kScalar: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.scalar_); - break; - } - // .flyteidl.core.BindingDataCollection collection = 2; - case kCollection: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.collection_); - break; - } - // .flyteidl.core.OutputReference promise = 3; - case kPromise: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.promise_); - break; - } - // .flyteidl.core.BindingDataMap map = 4; - case kMap: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_.map_); - break; - } - case VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void BindingData::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.BindingData) - GOOGLE_DCHECK_NE(&from, this); - const BindingData* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.BindingData) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.BindingData) - MergeFrom(*source); - } -} - -void BindingData::MergeFrom(const BindingData& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.BindingData) - 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_union_()) { - mutable_union_()->::flyteidl::core::UnionInfo::MergeFrom(from.union_()); - } - switch (from.value_case()) { - case kScalar: { - mutable_scalar()->::flyteidl::core::Scalar::MergeFrom(from.scalar()); - break; - } - case kCollection: { - mutable_collection()->::flyteidl::core::BindingDataCollection::MergeFrom(from.collection()); - break; - } - case kPromise: { - mutable_promise()->::flyteidl::core::OutputReference::MergeFrom(from.promise()); - break; - } - case kMap: { - mutable_map()->::flyteidl::core::BindingDataMap::MergeFrom(from.map()); - break; - } - case VALUE_NOT_SET: { - break; - } - } -} - -void BindingData::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.BindingData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BindingData::CopyFrom(const BindingData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.BindingData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BindingData::IsInitialized() const { - return true; -} - -void BindingData::Swap(BindingData* other) { - if (other == this) return; - InternalSwap(other); -} -void BindingData::InternalSwap(BindingData* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(union__, other->union__); - swap(value_, other->value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata BindingData::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Binding::InitAsDefaultInstance() { - ::flyteidl::core::_Binding_default_instance_._instance.get_mutable()->binding_ = const_cast< ::flyteidl::core::BindingData*>( - ::flyteidl::core::BindingData::internal_default_instance()); -} -class Binding::HasBitSetters { - public: - static const ::flyteidl::core::BindingData& binding(const Binding* msg); -}; - -const ::flyteidl::core::BindingData& -Binding::HasBitSetters::binding(const Binding* msg) { - return *msg->binding_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Binding::kVarFieldNumber; -const int Binding::kBindingFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Binding::Binding() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Binding) -} -Binding::Binding(const Binding& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.var().size() > 0) { - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } - if (from.has_binding()) { - binding_ = new ::flyteidl::core::BindingData(*from.binding_); - } else { - binding_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Binding) -} - -void Binding::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto.base); - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - binding_ = nullptr; -} - -Binding::~Binding() { - // @@protoc_insertion_point(destructor:flyteidl.core.Binding) - SharedDtor(); -} - -void Binding::SharedDtor() { - var_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete binding_; -} - -void Binding::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Binding& Binding::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void Binding::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Binding) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && binding_ != nullptr) { - delete binding_; - } - binding_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Binding::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string var = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Binding.var"); - object = msg->mutable_var(); - 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.BindingData binding = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::BindingData::_InternalParse; - object = msg->mutable_binding(); - 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 Binding::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.Binding) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string var = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_var())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Binding.var")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BindingData binding = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_binding())); - } 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.Binding) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Binding) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Binding::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Binding) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string var = 1; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Binding.var"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->var(), output); - } - - // .flyteidl.core.BindingData binding = 2; - if (this->has_binding()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::binding(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.Binding) -} - -::google::protobuf::uint8* Binding::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Binding) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string var = 1; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Binding.var"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->var(), target); - } - - // .flyteidl.core.BindingData binding = 2; - if (this->has_binding()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::binding(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.Binding) - return target; -} - -size_t Binding::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Binding) - 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 var = 1; - if (this->var().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->var()); - } - - // .flyteidl.core.BindingData binding = 2; - if (this->has_binding()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *binding_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Binding::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Binding) - GOOGLE_DCHECK_NE(&from, this); - const Binding* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Binding) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Binding) - MergeFrom(*source); - } -} - -void Binding::MergeFrom(const Binding& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Binding) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.var().size() > 0) { - - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } - if (from.has_binding()) { - mutable_binding()->::flyteidl::core::BindingData::MergeFrom(from.binding()); - } -} - -void Binding::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Binding) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Binding::CopyFrom(const Binding& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Binding) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Binding::IsInitialized() const { - return true; -} - -void Binding::Swap(Binding* other) { - if (other == this) return; - InternalSwap(other); -} -void Binding::InternalSwap(Binding* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - var_.Swap(&other->var_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(binding_, other->binding_); -} - -::google::protobuf::Metadata Binding::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void KeyValuePair::InitAsDefaultInstance() { -} -class KeyValuePair::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int KeyValuePair::kKeyFieldNumber; -const int KeyValuePair::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -KeyValuePair::KeyValuePair() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.KeyValuePair) -} -KeyValuePair::KeyValuePair(const KeyValuePair& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.key().size() > 0) { - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.value().size() > 0) { - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.KeyValuePair) -} - -void KeyValuePair::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto.base); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -KeyValuePair::~KeyValuePair() { - // @@protoc_insertion_point(destructor:flyteidl.core.KeyValuePair) - SharedDtor(); -} - -void KeyValuePair::SharedDtor() { - key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void KeyValuePair::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const KeyValuePair& KeyValuePair::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void KeyValuePair::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.KeyValuePair) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* KeyValuePair::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string key = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.KeyValuePair.key"); - object = msg->mutable_key(); - 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 value = 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.KeyValuePair.value"); - object = msg->mutable_value(); - 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 KeyValuePair::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.KeyValuePair) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string key = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.KeyValuePair.key")); - } else { - goto handle_unusual; - } - break; - } - - // string value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.KeyValuePair.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.KeyValuePair) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.KeyValuePair) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void KeyValuePair::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.KeyValuePair) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.KeyValuePair.key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->key(), output); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.KeyValuePair.value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->value(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.KeyValuePair) -} - -::google::protobuf::uint8* KeyValuePair::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.KeyValuePair) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.KeyValuePair.key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.KeyValuePair.value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->value(), 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.KeyValuePair) - return target; -} - -size_t KeyValuePair::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.KeyValuePair) - 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 key = 1; - if (this->key().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } - - // string value = 2; - if (this->value().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void KeyValuePair::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.KeyValuePair) - GOOGLE_DCHECK_NE(&from, this); - const KeyValuePair* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.KeyValuePair) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.KeyValuePair) - MergeFrom(*source); - } -} - -void KeyValuePair::MergeFrom(const KeyValuePair& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.KeyValuePair) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.key().size() > 0) { - - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - if (from.value().size() > 0) { - - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } -} - -void KeyValuePair::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.KeyValuePair) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void KeyValuePair::CopyFrom(const KeyValuePair& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.KeyValuePair) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool KeyValuePair::IsInitialized() const { - return true; -} - -void KeyValuePair::Swap(KeyValuePair* other) { - if (other == this) return; - InternalSwap(other); -} -void KeyValuePair::InternalSwap(KeyValuePair* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - key_.Swap(&other->key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata KeyValuePair::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void RetryStrategy::InitAsDefaultInstance() { -} -class RetryStrategy::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RetryStrategy::kRetriesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RetryStrategy::RetryStrategy() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.RetryStrategy) -} -RetryStrategy::RetryStrategy(const RetryStrategy& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - retries_ = from.retries_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.RetryStrategy) -} - -void RetryStrategy::SharedCtor() { - retries_ = 0u; -} - -RetryStrategy::~RetryStrategy() { - // @@protoc_insertion_point(destructor:flyteidl.core.RetryStrategy) - SharedDtor(); -} - -void RetryStrategy::SharedDtor() { -} - -void RetryStrategy::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RetryStrategy& RetryStrategy::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto.base); - return *internal_default_instance(); -} - - -void RetryStrategy::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.RetryStrategy) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - retries_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RetryStrategy::_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) { - // uint32 retries = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; - msg->set_retries(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool RetryStrategy::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.RetryStrategy) - 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)) { - // uint32 retries = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &retries_))); - } 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.RetryStrategy) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.RetryStrategy) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RetryStrategy::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.RetryStrategy) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 retries = 5; - if (this->retries() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->retries(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.RetryStrategy) -} - -::google::protobuf::uint8* RetryStrategy::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.RetryStrategy) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 retries = 5; - if (this->retries() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->retries(), 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.RetryStrategy) - return target; -} - -size_t RetryStrategy::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.RetryStrategy) - 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; - - // uint32 retries = 5; - if (this->retries() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->retries()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RetryStrategy::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.RetryStrategy) - GOOGLE_DCHECK_NE(&from, this); - const RetryStrategy* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.RetryStrategy) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.RetryStrategy) - MergeFrom(*source); - } -} - -void RetryStrategy::MergeFrom(const RetryStrategy& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.RetryStrategy) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.retries() != 0) { - set_retries(from.retries()); - } -} - -void RetryStrategy::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.RetryStrategy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RetryStrategy::CopyFrom(const RetryStrategy& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.RetryStrategy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RetryStrategy::IsInitialized() const { - return true; -} - -void RetryStrategy::Swap(RetryStrategy* other) { - if (other == this) return; - InternalSwap(other); -} -void RetryStrategy::InternalSwap(RetryStrategy* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(retries_, other->retries_); -} - -::google::protobuf::Metadata RetryStrategy::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fliterals_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::Primitive* Arena::CreateMaybeMessage< ::flyteidl::core::Primitive >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Primitive >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Void* Arena::CreateMaybeMessage< ::flyteidl::core::Void >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Void >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Blob* Arena::CreateMaybeMessage< ::flyteidl::core::Blob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Blob >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BlobMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::BlobMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BlobMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Binary* Arena::CreateMaybeMessage< ::flyteidl::core::Binary >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Binary >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Schema* Arena::CreateMaybeMessage< ::flyteidl::core::Schema >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Schema >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Union* Arena::CreateMaybeMessage< ::flyteidl::core::Union >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Union >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::StructuredDatasetMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::StructuredDatasetMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::StructuredDatasetMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::StructuredDataset* Arena::CreateMaybeMessage< ::flyteidl::core::StructuredDataset >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::StructuredDataset >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Scalar* Arena::CreateMaybeMessage< ::flyteidl::core::Scalar >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Scalar >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Literal_MetadataEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::Literal_MetadataEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Literal_MetadataEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Literal* Arena::CreateMaybeMessage< ::flyteidl::core::Literal >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Literal >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::LiteralCollection* Arena::CreateMaybeMessage< ::flyteidl::core::LiteralCollection >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::LiteralCollection >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::LiteralMap* Arena::CreateMaybeMessage< ::flyteidl::core::LiteralMap >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::LiteralMap >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BindingDataCollection* Arena::CreateMaybeMessage< ::flyteidl::core::BindingDataCollection >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BindingDataCollection >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BindingDataMap* Arena::CreateMaybeMessage< ::flyteidl::core::BindingDataMap >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BindingDataMap >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::UnionInfo* Arena::CreateMaybeMessage< ::flyteidl::core::UnionInfo >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::UnionInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BindingData* Arena::CreateMaybeMessage< ::flyteidl::core::BindingData >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BindingData >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Binding* Arena::CreateMaybeMessage< ::flyteidl::core::Binding >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Binding >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::KeyValuePair* Arena::CreateMaybeMessage< ::flyteidl::core::KeyValuePair >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::KeyValuePair >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::RetryStrategy* Arena::CreateMaybeMessage< ::flyteidl::core::RetryStrategy >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::RetryStrategy >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h deleted file mode 100644 index e167eef934..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h +++ /dev/null @@ -1,5134 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/literals.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fliterals_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fliterals_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include -#include -#include "flyteidl/core/types.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fliterals_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[23] - 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_2fcore_2fliterals_2eproto(); -namespace flyteidl { -namespace core { -class Binary; -class BinaryDefaultTypeInternal; -extern BinaryDefaultTypeInternal _Binary_default_instance_; -class Binding; -class BindingDefaultTypeInternal; -extern BindingDefaultTypeInternal _Binding_default_instance_; -class BindingData; -class BindingDataDefaultTypeInternal; -extern BindingDataDefaultTypeInternal _BindingData_default_instance_; -class BindingDataCollection; -class BindingDataCollectionDefaultTypeInternal; -extern BindingDataCollectionDefaultTypeInternal _BindingDataCollection_default_instance_; -class BindingDataMap; -class BindingDataMapDefaultTypeInternal; -extern BindingDataMapDefaultTypeInternal _BindingDataMap_default_instance_; -class BindingDataMap_BindingsEntry_DoNotUse; -class BindingDataMap_BindingsEntry_DoNotUseDefaultTypeInternal; -extern BindingDataMap_BindingsEntry_DoNotUseDefaultTypeInternal _BindingDataMap_BindingsEntry_DoNotUse_default_instance_; -class Blob; -class BlobDefaultTypeInternal; -extern BlobDefaultTypeInternal _Blob_default_instance_; -class BlobMetadata; -class BlobMetadataDefaultTypeInternal; -extern BlobMetadataDefaultTypeInternal _BlobMetadata_default_instance_; -class KeyValuePair; -class KeyValuePairDefaultTypeInternal; -extern KeyValuePairDefaultTypeInternal _KeyValuePair_default_instance_; -class Literal; -class LiteralDefaultTypeInternal; -extern LiteralDefaultTypeInternal _Literal_default_instance_; -class LiteralCollection; -class LiteralCollectionDefaultTypeInternal; -extern LiteralCollectionDefaultTypeInternal _LiteralCollection_default_instance_; -class LiteralMap; -class LiteralMapDefaultTypeInternal; -extern LiteralMapDefaultTypeInternal _LiteralMap_default_instance_; -class LiteralMap_LiteralsEntry_DoNotUse; -class LiteralMap_LiteralsEntry_DoNotUseDefaultTypeInternal; -extern LiteralMap_LiteralsEntry_DoNotUseDefaultTypeInternal _LiteralMap_LiteralsEntry_DoNotUse_default_instance_; -class Literal_MetadataEntry_DoNotUse; -class Literal_MetadataEntry_DoNotUseDefaultTypeInternal; -extern Literal_MetadataEntry_DoNotUseDefaultTypeInternal _Literal_MetadataEntry_DoNotUse_default_instance_; -class Primitive; -class PrimitiveDefaultTypeInternal; -extern PrimitiveDefaultTypeInternal _Primitive_default_instance_; -class RetryStrategy; -class RetryStrategyDefaultTypeInternal; -extern RetryStrategyDefaultTypeInternal _RetryStrategy_default_instance_; -class Scalar; -class ScalarDefaultTypeInternal; -extern ScalarDefaultTypeInternal _Scalar_default_instance_; -class Schema; -class SchemaDefaultTypeInternal; -extern SchemaDefaultTypeInternal _Schema_default_instance_; -class StructuredDataset; -class StructuredDatasetDefaultTypeInternal; -extern StructuredDatasetDefaultTypeInternal _StructuredDataset_default_instance_; -class StructuredDatasetMetadata; -class StructuredDatasetMetadataDefaultTypeInternal; -extern StructuredDatasetMetadataDefaultTypeInternal _StructuredDatasetMetadata_default_instance_; -class Union; -class UnionDefaultTypeInternal; -extern UnionDefaultTypeInternal _Union_default_instance_; -class UnionInfo; -class UnionInfoDefaultTypeInternal; -extern UnionInfoDefaultTypeInternal _UnionInfo_default_instance_; -class Void; -class VoidDefaultTypeInternal; -extern VoidDefaultTypeInternal _Void_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::Binary* Arena::CreateMaybeMessage<::flyteidl::core::Binary>(Arena*); -template<> ::flyteidl::core::Binding* Arena::CreateMaybeMessage<::flyteidl::core::Binding>(Arena*); -template<> ::flyteidl::core::BindingData* Arena::CreateMaybeMessage<::flyteidl::core::BindingData>(Arena*); -template<> ::flyteidl::core::BindingDataCollection* Arena::CreateMaybeMessage<::flyteidl::core::BindingDataCollection>(Arena*); -template<> ::flyteidl::core::BindingDataMap* Arena::CreateMaybeMessage<::flyteidl::core::BindingDataMap>(Arena*); -template<> ::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::Blob* Arena::CreateMaybeMessage<::flyteidl::core::Blob>(Arena*); -template<> ::flyteidl::core::BlobMetadata* Arena::CreateMaybeMessage<::flyteidl::core::BlobMetadata>(Arena*); -template<> ::flyteidl::core::KeyValuePair* Arena::CreateMaybeMessage<::flyteidl::core::KeyValuePair>(Arena*); -template<> ::flyteidl::core::Literal* Arena::CreateMaybeMessage<::flyteidl::core::Literal>(Arena*); -template<> ::flyteidl::core::LiteralCollection* Arena::CreateMaybeMessage<::flyteidl::core::LiteralCollection>(Arena*); -template<> ::flyteidl::core::LiteralMap* Arena::CreateMaybeMessage<::flyteidl::core::LiteralMap>(Arena*); -template<> ::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::Literal_MetadataEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::Literal_MetadataEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::Primitive* Arena::CreateMaybeMessage<::flyteidl::core::Primitive>(Arena*); -template<> ::flyteidl::core::RetryStrategy* Arena::CreateMaybeMessage<::flyteidl::core::RetryStrategy>(Arena*); -template<> ::flyteidl::core::Scalar* Arena::CreateMaybeMessage<::flyteidl::core::Scalar>(Arena*); -template<> ::flyteidl::core::Schema* Arena::CreateMaybeMessage<::flyteidl::core::Schema>(Arena*); -template<> ::flyteidl::core::StructuredDataset* Arena::CreateMaybeMessage<::flyteidl::core::StructuredDataset>(Arena*); -template<> ::flyteidl::core::StructuredDatasetMetadata* Arena::CreateMaybeMessage<::flyteidl::core::StructuredDatasetMetadata>(Arena*); -template<> ::flyteidl::core::Union* Arena::CreateMaybeMessage<::flyteidl::core::Union>(Arena*); -template<> ::flyteidl::core::UnionInfo* Arena::CreateMaybeMessage<::flyteidl::core::UnionInfo>(Arena*); -template<> ::flyteidl::core::Void* Arena::CreateMaybeMessage<::flyteidl::core::Void>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -// =================================================================== - -class Primitive final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Primitive) */ { - public: - Primitive(); - virtual ~Primitive(); - - Primitive(const Primitive& from); - - inline Primitive& operator=(const Primitive& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Primitive(Primitive&& from) noexcept - : Primitive() { - *this = ::std::move(from); - } - - inline Primitive& operator=(Primitive&& 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 Primitive& default_instance(); - - enum ValueCase { - kInteger = 1, - kFloatValue = 2, - kStringValue = 3, - kBoolean = 4, - kDatetime = 5, - kDuration = 6, - VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Primitive* internal_default_instance() { - return reinterpret_cast( - &_Primitive_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Primitive* other); - friend void swap(Primitive& a, Primitive& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Primitive* New() const final { - return CreateMaybeMessage(nullptr); - } - - Primitive* 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 Primitive& from); - void MergeFrom(const Primitive& 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(Primitive* 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 ------------------------------------------------------- - - // int64 integer = 1; - private: - bool has_integer() const; - public: - void clear_integer(); - static const int kIntegerFieldNumber = 1; - ::google::protobuf::int64 integer() const; - void set_integer(::google::protobuf::int64 value); - - // double float_value = 2; - private: - bool has_float_value() const; - public: - void clear_float_value(); - static const int kFloatValueFieldNumber = 2; - double float_value() const; - void set_float_value(double value); - - // string string_value = 3; - private: - bool has_string_value() const; - public: - void clear_string_value(); - static const int kStringValueFieldNumber = 3; - const ::std::string& string_value() const; - void set_string_value(const ::std::string& value); - #if LANG_CXX11 - void set_string_value(::std::string&& value); - #endif - void set_string_value(const char* value); - void set_string_value(const char* value, size_t size); - ::std::string* mutable_string_value(); - ::std::string* release_string_value(); - void set_allocated_string_value(::std::string* string_value); - - // bool boolean = 4; - private: - bool has_boolean() const; - public: - void clear_boolean(); - static const int kBooleanFieldNumber = 4; - bool boolean() const; - void set_boolean(bool value); - - // .google.protobuf.Timestamp datetime = 5; - bool has_datetime() const; - void clear_datetime(); - static const int kDatetimeFieldNumber = 5; - const ::google::protobuf::Timestamp& datetime() const; - ::google::protobuf::Timestamp* release_datetime(); - ::google::protobuf::Timestamp* mutable_datetime(); - void set_allocated_datetime(::google::protobuf::Timestamp* datetime); - - // .google.protobuf.Duration duration = 6; - bool has_duration() const; - void clear_duration(); - static const int kDurationFieldNumber = 6; - const ::google::protobuf::Duration& duration() const; - ::google::protobuf::Duration* release_duration(); - ::google::protobuf::Duration* mutable_duration(); - void set_allocated_duration(::google::protobuf::Duration* duration); - - void clear_value(); - ValueCase value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.Primitive) - private: - class HasBitSetters; - void set_has_integer(); - void set_has_float_value(); - void set_has_string_value(); - void set_has_boolean(); - void set_has_datetime(); - void set_has_duration(); - - inline bool has_value() const; - inline void clear_has_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ValueUnion { - ValueUnion() {} - ::google::protobuf::int64 integer_; - double float_value_; - ::google::protobuf::internal::ArenaStringPtr string_value_; - bool boolean_; - ::google::protobuf::Timestamp* datetime_; - ::google::protobuf::Duration* duration_; - } value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Void final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Void) */ { - public: - Void(); - virtual ~Void(); - - Void(const Void& from); - - inline Void& operator=(const Void& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Void(Void&& from) noexcept - : Void() { - *this = ::std::move(from); - } - - inline Void& operator=(Void&& 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 Void& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Void* internal_default_instance() { - return reinterpret_cast( - &_Void_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(Void* other); - friend void swap(Void& a, Void& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Void* New() const final { - return CreateMaybeMessage(nullptr); - } - - Void* 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 Void& from); - void MergeFrom(const Void& 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(Void* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.core.Void) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Blob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Blob) */ { - public: - Blob(); - virtual ~Blob(); - - Blob(const Blob& from); - - inline Blob& operator=(const Blob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Blob(Blob&& from) noexcept - : Blob() { - *this = ::std::move(from); - } - - inline Blob& operator=(Blob&& 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 Blob& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Blob* internal_default_instance() { - return reinterpret_cast( - &_Blob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(Blob* other); - friend void swap(Blob& a, Blob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Blob* New() const final { - return CreateMaybeMessage(nullptr); - } - - Blob* 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 Blob& from); - void MergeFrom(const Blob& 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(Blob* 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 uri = 3; - void clear_uri(); - static const int kUriFieldNumber = 3; - const ::std::string& uri() const; - void set_uri(const ::std::string& value); - #if LANG_CXX11 - void set_uri(::std::string&& value); - #endif - void set_uri(const char* value); - void set_uri(const char* value, size_t size); - ::std::string* mutable_uri(); - ::std::string* release_uri(); - void set_allocated_uri(::std::string* uri); - - // .flyteidl.core.BlobMetadata metadata = 1; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 1; - const ::flyteidl::core::BlobMetadata& metadata() const; - ::flyteidl::core::BlobMetadata* release_metadata(); - ::flyteidl::core::BlobMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::core::BlobMetadata* metadata); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Blob) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr uri_; - ::flyteidl::core::BlobMetadata* metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class BlobMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.BlobMetadata) */ { - public: - BlobMetadata(); - virtual ~BlobMetadata(); - - BlobMetadata(const BlobMetadata& from); - - inline BlobMetadata& operator=(const BlobMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BlobMetadata(BlobMetadata&& from) noexcept - : BlobMetadata() { - *this = ::std::move(from); - } - - inline BlobMetadata& operator=(BlobMetadata&& 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 BlobMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BlobMetadata* internal_default_instance() { - return reinterpret_cast( - &_BlobMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(BlobMetadata* other); - friend void swap(BlobMetadata& a, BlobMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BlobMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - BlobMetadata* 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 BlobMetadata& from); - void MergeFrom(const BlobMetadata& 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(BlobMetadata* 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.BlobType type = 1; - bool has_type() const; - void clear_type(); - static const int kTypeFieldNumber = 1; - const ::flyteidl::core::BlobType& type() const; - ::flyteidl::core::BlobType* release_type(); - ::flyteidl::core::BlobType* mutable_type(); - void set_allocated_type(::flyteidl::core::BlobType* type); - - // @@protoc_insertion_point(class_scope:flyteidl.core.BlobMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::BlobType* type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Binary final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Binary) */ { - public: - Binary(); - virtual ~Binary(); - - Binary(const Binary& from); - - inline Binary& operator=(const Binary& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Binary(Binary&& from) noexcept - : Binary() { - *this = ::std::move(from); - } - - inline Binary& operator=(Binary&& 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 Binary& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Binary* internal_default_instance() { - return reinterpret_cast( - &_Binary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(Binary* other); - friend void swap(Binary& a, Binary& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Binary* New() const final { - return CreateMaybeMessage(nullptr); - } - - Binary* 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 Binary& from); - void MergeFrom(const Binary& 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(Binary* 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 ------------------------------------------------------- - - // bytes value = 1; - void clear_value(); - static const int kValueFieldNumber = 1; - 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 void* value, size_t size); - ::std::string* mutable_value(); - ::std::string* release_value(); - void set_allocated_value(::std::string* value); - - // string tag = 2; - void clear_tag(); - static const int kTagFieldNumber = 2; - const ::std::string& tag() const; - void set_tag(const ::std::string& value); - #if LANG_CXX11 - void set_tag(::std::string&& value); - #endif - void set_tag(const char* value); - void set_tag(const char* value, size_t size); - ::std::string* mutable_tag(); - ::std::string* release_tag(); - void set_allocated_tag(::std::string* tag); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Binary) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr value_; - ::google::protobuf::internal::ArenaStringPtr tag_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Schema final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Schema) */ { - public: - Schema(); - virtual ~Schema(); - - Schema(const Schema& from); - - inline Schema& operator=(const Schema& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Schema(Schema&& from) noexcept - : Schema() { - *this = ::std::move(from); - } - - inline Schema& operator=(Schema&& 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 Schema& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Schema* internal_default_instance() { - return reinterpret_cast( - &_Schema_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(Schema* other); - friend void swap(Schema& a, Schema& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Schema* New() const final { - return CreateMaybeMessage(nullptr); - } - - Schema* 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 Schema& from); - void MergeFrom(const Schema& 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(Schema* 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 uri = 1; - void clear_uri(); - static const int kUriFieldNumber = 1; - const ::std::string& uri() const; - void set_uri(const ::std::string& value); - #if LANG_CXX11 - void set_uri(::std::string&& value); - #endif - void set_uri(const char* value); - void set_uri(const char* value, size_t size); - ::std::string* mutable_uri(); - ::std::string* release_uri(); - void set_allocated_uri(::std::string* uri); - - // .flyteidl.core.SchemaType type = 3; - bool has_type() const; - void clear_type(); - static const int kTypeFieldNumber = 3; - const ::flyteidl::core::SchemaType& type() const; - ::flyteidl::core::SchemaType* release_type(); - ::flyteidl::core::SchemaType* mutable_type(); - void set_allocated_type(::flyteidl::core::SchemaType* type); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Schema) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr uri_; - ::flyteidl::core::SchemaType* type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Union final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Union) */ { - public: - Union(); - virtual ~Union(); - - Union(const Union& from); - - inline Union& operator=(const Union& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Union(Union&& from) noexcept - : Union() { - *this = ::std::move(from); - } - - inline Union& operator=(Union&& 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 Union& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Union* internal_default_instance() { - return reinterpret_cast( - &_Union_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(Union* other); - friend void swap(Union& a, Union& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Union* New() const final { - return CreateMaybeMessage(nullptr); - } - - Union* 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 Union& from); - void MergeFrom(const Union& 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(Union* 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.Literal value = 1; - bool has_value() const; - void clear_value(); - static const int kValueFieldNumber = 1; - const ::flyteidl::core::Literal& value() const; - ::flyteidl::core::Literal* release_value(); - ::flyteidl::core::Literal* mutable_value(); - void set_allocated_value(::flyteidl::core::Literal* value); - - // .flyteidl.core.LiteralType type = 2; - bool has_type() const; - void clear_type(); - static const int kTypeFieldNumber = 2; - const ::flyteidl::core::LiteralType& type() const; - ::flyteidl::core::LiteralType* release_type(); - ::flyteidl::core::LiteralType* mutable_type(); - void set_allocated_type(::flyteidl::core::LiteralType* type); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Union) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Literal* value_; - ::flyteidl::core::LiteralType* type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class StructuredDatasetMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.StructuredDatasetMetadata) */ { - public: - StructuredDatasetMetadata(); - virtual ~StructuredDatasetMetadata(); - - StructuredDatasetMetadata(const StructuredDatasetMetadata& from); - - inline StructuredDatasetMetadata& operator=(const StructuredDatasetMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - StructuredDatasetMetadata(StructuredDatasetMetadata&& from) noexcept - : StructuredDatasetMetadata() { - *this = ::std::move(from); - } - - inline StructuredDatasetMetadata& operator=(StructuredDatasetMetadata&& 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 StructuredDatasetMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const StructuredDatasetMetadata* internal_default_instance() { - return reinterpret_cast( - &_StructuredDatasetMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(StructuredDatasetMetadata* other); - friend void swap(StructuredDatasetMetadata& a, StructuredDatasetMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline StructuredDatasetMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - StructuredDatasetMetadata* 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 StructuredDatasetMetadata& from); - void MergeFrom(const StructuredDatasetMetadata& 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(StructuredDatasetMetadata* 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.StructuredDatasetType structured_dataset_type = 1; - bool has_structured_dataset_type() const; - void clear_structured_dataset_type(); - static const int kStructuredDatasetTypeFieldNumber = 1; - const ::flyteidl::core::StructuredDatasetType& structured_dataset_type() const; - ::flyteidl::core::StructuredDatasetType* release_structured_dataset_type(); - ::flyteidl::core::StructuredDatasetType* mutable_structured_dataset_type(); - void set_allocated_structured_dataset_type(::flyteidl::core::StructuredDatasetType* structured_dataset_type); - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDatasetMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::StructuredDatasetType* structured_dataset_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class StructuredDataset final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.StructuredDataset) */ { - public: - StructuredDataset(); - virtual ~StructuredDataset(); - - StructuredDataset(const StructuredDataset& from); - - inline StructuredDataset& operator=(const StructuredDataset& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - StructuredDataset(StructuredDataset&& from) noexcept - : StructuredDataset() { - *this = ::std::move(from); - } - - inline StructuredDataset& operator=(StructuredDataset&& 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 StructuredDataset& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const StructuredDataset* internal_default_instance() { - return reinterpret_cast( - &_StructuredDataset_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(StructuredDataset* other); - friend void swap(StructuredDataset& a, StructuredDataset& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline StructuredDataset* New() const final { - return CreateMaybeMessage(nullptr); - } - - StructuredDataset* 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 StructuredDataset& from); - void MergeFrom(const StructuredDataset& 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(StructuredDataset* 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 uri = 1; - void clear_uri(); - static const int kUriFieldNumber = 1; - const ::std::string& uri() const; - void set_uri(const ::std::string& value); - #if LANG_CXX11 - void set_uri(::std::string&& value); - #endif - void set_uri(const char* value); - void set_uri(const char* value, size_t size); - ::std::string* mutable_uri(); - ::std::string* release_uri(); - void set_allocated_uri(::std::string* uri); - - // .flyteidl.core.StructuredDatasetMetadata metadata = 2; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 2; - const ::flyteidl::core::StructuredDatasetMetadata& metadata() const; - ::flyteidl::core::StructuredDatasetMetadata* release_metadata(); - ::flyteidl::core::StructuredDatasetMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::core::StructuredDatasetMetadata* metadata); - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDataset) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr uri_; - ::flyteidl::core::StructuredDatasetMetadata* metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Scalar final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Scalar) */ { - public: - Scalar(); - virtual ~Scalar(); - - Scalar(const Scalar& from); - - inline Scalar& operator=(const Scalar& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Scalar(Scalar&& from) noexcept - : Scalar() { - *this = ::std::move(from); - } - - inline Scalar& operator=(Scalar&& 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 Scalar& default_instance(); - - enum ValueCase { - kPrimitive = 1, - kBlob = 2, - kBinary = 3, - kSchema = 4, - kNoneType = 5, - kError = 6, - kGeneric = 7, - kStructuredDataset = 8, - kUnion = 9, - VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Scalar* internal_default_instance() { - return reinterpret_cast( - &_Scalar_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(Scalar* other); - friend void swap(Scalar& a, Scalar& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Scalar* New() const final { - return CreateMaybeMessage(nullptr); - } - - Scalar* 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 Scalar& from); - void MergeFrom(const Scalar& 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(Scalar* 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.Primitive primitive = 1; - bool has_primitive() const; - void clear_primitive(); - static const int kPrimitiveFieldNumber = 1; - const ::flyteidl::core::Primitive& primitive() const; - ::flyteidl::core::Primitive* release_primitive(); - ::flyteidl::core::Primitive* mutable_primitive(); - void set_allocated_primitive(::flyteidl::core::Primitive* primitive); - - // .flyteidl.core.Blob blob = 2; - bool has_blob() const; - void clear_blob(); - static const int kBlobFieldNumber = 2; - const ::flyteidl::core::Blob& blob() const; - ::flyteidl::core::Blob* release_blob(); - ::flyteidl::core::Blob* mutable_blob(); - void set_allocated_blob(::flyteidl::core::Blob* blob); - - // .flyteidl.core.Binary binary = 3; - bool has_binary() const; - void clear_binary(); - static const int kBinaryFieldNumber = 3; - const ::flyteidl::core::Binary& binary() const; - ::flyteidl::core::Binary* release_binary(); - ::flyteidl::core::Binary* mutable_binary(); - void set_allocated_binary(::flyteidl::core::Binary* binary); - - // .flyteidl.core.Schema schema = 4; - bool has_schema() const; - void clear_schema(); - static const int kSchemaFieldNumber = 4; - const ::flyteidl::core::Schema& schema() const; - ::flyteidl::core::Schema* release_schema(); - ::flyteidl::core::Schema* mutable_schema(); - void set_allocated_schema(::flyteidl::core::Schema* schema); - - // .flyteidl.core.Void none_type = 5; - bool has_none_type() const; - void clear_none_type(); - static const int kNoneTypeFieldNumber = 5; - const ::flyteidl::core::Void& none_type() const; - ::flyteidl::core::Void* release_none_type(); - ::flyteidl::core::Void* mutable_none_type(); - void set_allocated_none_type(::flyteidl::core::Void* none_type); - - // .flyteidl.core.Error error = 6; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 6; - const ::flyteidl::core::Error& error() const; - ::flyteidl::core::Error* release_error(); - ::flyteidl::core::Error* mutable_error(); - void set_allocated_error(::flyteidl::core::Error* error); - - // .google.protobuf.Struct generic = 7; - bool has_generic() const; - void clear_generic(); - static const int kGenericFieldNumber = 7; - const ::google::protobuf::Struct& generic() const; - ::google::protobuf::Struct* release_generic(); - ::google::protobuf::Struct* mutable_generic(); - void set_allocated_generic(::google::protobuf::Struct* generic); - - // .flyteidl.core.StructuredDataset structured_dataset = 8; - bool has_structured_dataset() const; - void clear_structured_dataset(); - static const int kStructuredDatasetFieldNumber = 8; - const ::flyteidl::core::StructuredDataset& structured_dataset() const; - ::flyteidl::core::StructuredDataset* release_structured_dataset(); - ::flyteidl::core::StructuredDataset* mutable_structured_dataset(); - void set_allocated_structured_dataset(::flyteidl::core::StructuredDataset* structured_dataset); - - // .flyteidl.core.Union union = 9; - bool has_union_() const; - void clear_union_(); - static const int kUnionFieldNumber = 9; - const ::flyteidl::core::Union& union_() const; - ::flyteidl::core::Union* release_union_(); - ::flyteidl::core::Union* mutable_union_(); - void set_allocated_union_(::flyteidl::core::Union* union_); - - void clear_value(); - ValueCase value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.Scalar) - private: - class HasBitSetters; - void set_has_primitive(); - void set_has_blob(); - void set_has_binary(); - void set_has_schema(); - void set_has_none_type(); - void set_has_error(); - void set_has_generic(); - void set_has_structured_dataset(); - void set_has_union_(); - - inline bool has_value() const; - inline void clear_has_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ValueUnion { - ValueUnion() {} - ::flyteidl::core::Primitive* primitive_; - ::flyteidl::core::Blob* blob_; - ::flyteidl::core::Binary* binary_; - ::flyteidl::core::Schema* schema_; - ::flyteidl::core::Void* none_type_; - ::flyteidl::core::Error* error_; - ::google::protobuf::Struct* generic_; - ::flyteidl::core::StructuredDataset* structured_dataset_; - ::flyteidl::core::Union* union__; - } value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Literal_MetadataEntry_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; - Literal_MetadataEntry_DoNotUse(); - Literal_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const Literal_MetadataEntry_DoNotUse& other); - static const Literal_MetadataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Literal_MetadataEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class Literal final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Literal) */ { - public: - Literal(); - virtual ~Literal(); - - Literal(const Literal& from); - - inline Literal& operator=(const Literal& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Literal(Literal&& from) noexcept - : Literal() { - *this = ::std::move(from); - } - - inline Literal& operator=(Literal&& 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 Literal& default_instance(); - - enum ValueCase { - kScalar = 1, - kCollection = 2, - kMap = 3, - VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Literal* internal_default_instance() { - return reinterpret_cast( - &_Literal_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(Literal* other); - friend void swap(Literal& a, Literal& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Literal* New() const final { - return CreateMaybeMessage(nullptr); - } - - Literal* 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 Literal& from); - void MergeFrom(const Literal& 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(Literal* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map metadata = 5; - int metadata_size() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 5; - const ::google::protobuf::Map< ::std::string, ::std::string >& - metadata() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_metadata(); - - // string hash = 4; - void clear_hash(); - static const int kHashFieldNumber = 4; - const ::std::string& hash() const; - void set_hash(const ::std::string& value); - #if LANG_CXX11 - void set_hash(::std::string&& value); - #endif - void set_hash(const char* value); - void set_hash(const char* value, size_t size); - ::std::string* mutable_hash(); - ::std::string* release_hash(); - void set_allocated_hash(::std::string* hash); - - // .flyteidl.core.Scalar scalar = 1; - bool has_scalar() const; - void clear_scalar(); - static const int kScalarFieldNumber = 1; - const ::flyteidl::core::Scalar& scalar() const; - ::flyteidl::core::Scalar* release_scalar(); - ::flyteidl::core::Scalar* mutable_scalar(); - void set_allocated_scalar(::flyteidl::core::Scalar* scalar); - - // .flyteidl.core.LiteralCollection collection = 2; - bool has_collection() const; - void clear_collection(); - static const int kCollectionFieldNumber = 2; - const ::flyteidl::core::LiteralCollection& collection() const; - ::flyteidl::core::LiteralCollection* release_collection(); - ::flyteidl::core::LiteralCollection* mutable_collection(); - void set_allocated_collection(::flyteidl::core::LiteralCollection* collection); - - // .flyteidl.core.LiteralMap map = 3; - bool has_map() const; - void clear_map(); - static const int kMapFieldNumber = 3; - const ::flyteidl::core::LiteralMap& map() const; - ::flyteidl::core::LiteralMap* release_map(); - ::flyteidl::core::LiteralMap* mutable_map(); - void set_allocated_map(::flyteidl::core::LiteralMap* map); - - void clear_value(); - ValueCase value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.Literal) - private: - class HasBitSetters; - void set_has_scalar(); - void set_has_collection(); - void set_has_map(); - - inline bool has_value() const; - inline void clear_has_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - Literal_MetadataEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > metadata_; - ::google::protobuf::internal::ArenaStringPtr hash_; - union ValueUnion { - ValueUnion() {} - ::flyteidl::core::Scalar* scalar_; - ::flyteidl::core::LiteralCollection* collection_; - ::flyteidl::core::LiteralMap* map_; - } value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class LiteralCollection final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.LiteralCollection) */ { - public: - LiteralCollection(); - virtual ~LiteralCollection(); - - LiteralCollection(const LiteralCollection& from); - - inline LiteralCollection& operator=(const LiteralCollection& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LiteralCollection(LiteralCollection&& from) noexcept - : LiteralCollection() { - *this = ::std::move(from); - } - - inline LiteralCollection& operator=(LiteralCollection&& 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 LiteralCollection& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LiteralCollection* internal_default_instance() { - return reinterpret_cast( - &_LiteralCollection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(LiteralCollection* other); - friend void swap(LiteralCollection& a, LiteralCollection& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LiteralCollection* New() const final { - return CreateMaybeMessage(nullptr); - } - - LiteralCollection* 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 LiteralCollection& from); - void MergeFrom(const LiteralCollection& 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(LiteralCollection* 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.Literal literals = 1; - int literals_size() const; - void clear_literals(); - static const int kLiteralsFieldNumber = 1; - ::flyteidl::core::Literal* mutable_literals(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Literal >* - mutable_literals(); - const ::flyteidl::core::Literal& literals(int index) const; - ::flyteidl::core::Literal* add_literals(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Literal >& - literals() const; - - // @@protoc_insertion_point(class_scope:flyteidl.core.LiteralCollection) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Literal > literals_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class LiteralMap_LiteralsEntry_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; - LiteralMap_LiteralsEntry_DoNotUse(); - LiteralMap_LiteralsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const LiteralMap_LiteralsEntry_DoNotUse& other); - static const LiteralMap_LiteralsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_LiteralMap_LiteralsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class LiteralMap final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.LiteralMap) */ { - public: - LiteralMap(); - virtual ~LiteralMap(); - - LiteralMap(const LiteralMap& from); - - inline LiteralMap& operator=(const LiteralMap& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LiteralMap(LiteralMap&& from) noexcept - : LiteralMap() { - *this = ::std::move(from); - } - - inline LiteralMap& operator=(LiteralMap&& 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 LiteralMap& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LiteralMap* internal_default_instance() { - return reinterpret_cast( - &_LiteralMap_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - void Swap(LiteralMap* other); - friend void swap(LiteralMap& a, LiteralMap& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LiteralMap* New() const final { - return CreateMaybeMessage(nullptr); - } - - LiteralMap* 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 LiteralMap& from); - void MergeFrom(const LiteralMap& 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(LiteralMap* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map literals = 1; - int literals_size() const; - void clear_literals(); - static const int kLiteralsFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >& - literals() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >* - mutable_literals(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.LiteralMap) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - LiteralMap_LiteralsEntry_DoNotUse, - ::std::string, ::flyteidl::core::Literal, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > literals_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class BindingDataCollection final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.BindingDataCollection) */ { - public: - BindingDataCollection(); - virtual ~BindingDataCollection(); - - BindingDataCollection(const BindingDataCollection& from); - - inline BindingDataCollection& operator=(const BindingDataCollection& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BindingDataCollection(BindingDataCollection&& from) noexcept - : BindingDataCollection() { - *this = ::std::move(from); - } - - inline BindingDataCollection& operator=(BindingDataCollection&& 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 BindingDataCollection& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BindingDataCollection* internal_default_instance() { - return reinterpret_cast( - &_BindingDataCollection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - void Swap(BindingDataCollection* other); - friend void swap(BindingDataCollection& a, BindingDataCollection& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BindingDataCollection* New() const final { - return CreateMaybeMessage(nullptr); - } - - BindingDataCollection* 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 BindingDataCollection& from); - void MergeFrom(const BindingDataCollection& 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(BindingDataCollection* 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.BindingData bindings = 1; - int bindings_size() const; - void clear_bindings(); - static const int kBindingsFieldNumber = 1; - ::flyteidl::core::BindingData* mutable_bindings(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::BindingData >* - mutable_bindings(); - const ::flyteidl::core::BindingData& bindings(int index) const; - ::flyteidl::core::BindingData* add_bindings(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::BindingData >& - bindings() const; - - // @@protoc_insertion_point(class_scope:flyteidl.core.BindingDataCollection) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::BindingData > bindings_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class BindingDataMap_BindingsEntry_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; - BindingDataMap_BindingsEntry_DoNotUse(); - BindingDataMap_BindingsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const BindingDataMap_BindingsEntry_DoNotUse& other); - static const BindingDataMap_BindingsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_BindingDataMap_BindingsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class BindingDataMap final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.BindingDataMap) */ { - public: - BindingDataMap(); - virtual ~BindingDataMap(); - - BindingDataMap(const BindingDataMap& from); - - inline BindingDataMap& operator=(const BindingDataMap& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BindingDataMap(BindingDataMap&& from) noexcept - : BindingDataMap() { - *this = ::std::move(from); - } - - inline BindingDataMap& operator=(BindingDataMap&& 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 BindingDataMap& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BindingDataMap* internal_default_instance() { - return reinterpret_cast( - &_BindingDataMap_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - void Swap(BindingDataMap* other); - friend void swap(BindingDataMap& a, BindingDataMap& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BindingDataMap* New() const final { - return CreateMaybeMessage(nullptr); - } - - BindingDataMap* 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 BindingDataMap& from); - void MergeFrom(const BindingDataMap& 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(BindingDataMap* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map bindings = 1; - int bindings_size() const; - void clear_bindings(); - static const int kBindingsFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >& - bindings() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >* - mutable_bindings(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.BindingDataMap) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - BindingDataMap_BindingsEntry_DoNotUse, - ::std::string, ::flyteidl::core::BindingData, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > bindings_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class UnionInfo final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.UnionInfo) */ { - public: - UnionInfo(); - virtual ~UnionInfo(); - - UnionInfo(const UnionInfo& from); - - inline UnionInfo& operator=(const UnionInfo& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UnionInfo(UnionInfo&& from) noexcept - : UnionInfo() { - *this = ::std::move(from); - } - - inline UnionInfo& operator=(UnionInfo&& 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 UnionInfo& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UnionInfo* internal_default_instance() { - return reinterpret_cast( - &_UnionInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - void Swap(UnionInfo* other); - friend void swap(UnionInfo& a, UnionInfo& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UnionInfo* New() const final { - return CreateMaybeMessage(nullptr); - } - - UnionInfo* 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 UnionInfo& from); - void MergeFrom(const UnionInfo& 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(UnionInfo* 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.LiteralType targetType = 1; - bool has_targettype() const; - void clear_targettype(); - static const int kTargetTypeFieldNumber = 1; - const ::flyteidl::core::LiteralType& targettype() const; - ::flyteidl::core::LiteralType* release_targettype(); - ::flyteidl::core::LiteralType* mutable_targettype(); - void set_allocated_targettype(::flyteidl::core::LiteralType* targettype); - - // @@protoc_insertion_point(class_scope:flyteidl.core.UnionInfo) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::LiteralType* targettype_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class BindingData final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.BindingData) */ { - public: - BindingData(); - virtual ~BindingData(); - - BindingData(const BindingData& from); - - inline BindingData& operator=(const BindingData& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BindingData(BindingData&& from) noexcept - : BindingData() { - *this = ::std::move(from); - } - - inline BindingData& operator=(BindingData&& 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 BindingData& default_instance(); - - enum ValueCase { - kScalar = 1, - kCollection = 2, - kPromise = 3, - kMap = 4, - VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BindingData* internal_default_instance() { - return reinterpret_cast( - &_BindingData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - void Swap(BindingData* other); - friend void swap(BindingData& a, BindingData& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BindingData* New() const final { - return CreateMaybeMessage(nullptr); - } - - BindingData* 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 BindingData& from); - void MergeFrom(const BindingData& 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(BindingData* 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.UnionInfo union = 5; - bool has_union_() const; - void clear_union_(); - static const int kUnionFieldNumber = 5; - const ::flyteidl::core::UnionInfo& union_() const; - ::flyteidl::core::UnionInfo* release_union_(); - ::flyteidl::core::UnionInfo* mutable_union_(); - void set_allocated_union_(::flyteidl::core::UnionInfo* union_); - - // .flyteidl.core.Scalar scalar = 1; - bool has_scalar() const; - void clear_scalar(); - static const int kScalarFieldNumber = 1; - const ::flyteidl::core::Scalar& scalar() const; - ::flyteidl::core::Scalar* release_scalar(); - ::flyteidl::core::Scalar* mutable_scalar(); - void set_allocated_scalar(::flyteidl::core::Scalar* scalar); - - // .flyteidl.core.BindingDataCollection collection = 2; - bool has_collection() const; - void clear_collection(); - static const int kCollectionFieldNumber = 2; - const ::flyteidl::core::BindingDataCollection& collection() const; - ::flyteidl::core::BindingDataCollection* release_collection(); - ::flyteidl::core::BindingDataCollection* mutable_collection(); - void set_allocated_collection(::flyteidl::core::BindingDataCollection* collection); - - // .flyteidl.core.OutputReference promise = 3; - bool has_promise() const; - void clear_promise(); - static const int kPromiseFieldNumber = 3; - const ::flyteidl::core::OutputReference& promise() const; - ::flyteidl::core::OutputReference* release_promise(); - ::flyteidl::core::OutputReference* mutable_promise(); - void set_allocated_promise(::flyteidl::core::OutputReference* promise); - - // .flyteidl.core.BindingDataMap map = 4; - bool has_map() const; - void clear_map(); - static const int kMapFieldNumber = 4; - const ::flyteidl::core::BindingDataMap& map() const; - ::flyteidl::core::BindingDataMap* release_map(); - ::flyteidl::core::BindingDataMap* mutable_map(); - void set_allocated_map(::flyteidl::core::BindingDataMap* map); - - void clear_value(); - ValueCase value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.BindingData) - private: - class HasBitSetters; - void set_has_scalar(); - void set_has_collection(); - void set_has_promise(); - void set_has_map(); - - inline bool has_value() const; - inline void clear_has_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::UnionInfo* union__; - union ValueUnion { - ValueUnion() {} - ::flyteidl::core::Scalar* scalar_; - ::flyteidl::core::BindingDataCollection* collection_; - ::flyteidl::core::OutputReference* promise_; - ::flyteidl::core::BindingDataMap* map_; - } value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class Binding final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Binding) */ { - public: - Binding(); - virtual ~Binding(); - - Binding(const Binding& from); - - inline Binding& operator=(const Binding& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Binding(Binding&& from) noexcept - : Binding() { - *this = ::std::move(from); - } - - inline Binding& operator=(Binding&& 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 Binding& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Binding* internal_default_instance() { - return reinterpret_cast( - &_Binding_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - void Swap(Binding* other); - friend void swap(Binding& a, Binding& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Binding* New() const final { - return CreateMaybeMessage(nullptr); - } - - Binding* 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 Binding& from); - void MergeFrom(const Binding& 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(Binding* 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 var = 1; - void clear_var(); - static const int kVarFieldNumber = 1; - const ::std::string& var() const; - void set_var(const ::std::string& value); - #if LANG_CXX11 - void set_var(::std::string&& value); - #endif - void set_var(const char* value); - void set_var(const char* value, size_t size); - ::std::string* mutable_var(); - ::std::string* release_var(); - void set_allocated_var(::std::string* var); - - // .flyteidl.core.BindingData binding = 2; - bool has_binding() const; - void clear_binding(); - static const int kBindingFieldNumber = 2; - const ::flyteidl::core::BindingData& binding() const; - ::flyteidl::core::BindingData* release_binding(); - ::flyteidl::core::BindingData* mutable_binding(); - void set_allocated_binding(::flyteidl::core::BindingData* binding); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Binding) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr var_; - ::flyteidl::core::BindingData* binding_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class KeyValuePair final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.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 = - 21; - - 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:flyteidl.core.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_2fcore_2fliterals_2eproto; -}; -// ------------------------------------------------------------------- - -class RetryStrategy final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.RetryStrategy) */ { - public: - RetryStrategy(); - virtual ~RetryStrategy(); - - RetryStrategy(const RetryStrategy& from); - - inline RetryStrategy& operator=(const RetryStrategy& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RetryStrategy(RetryStrategy&& from) noexcept - : RetryStrategy() { - *this = ::std::move(from); - } - - inline RetryStrategy& operator=(RetryStrategy&& 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 RetryStrategy& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RetryStrategy* internal_default_instance() { - return reinterpret_cast( - &_RetryStrategy_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - void Swap(RetryStrategy* other); - friend void swap(RetryStrategy& a, RetryStrategy& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RetryStrategy* New() const final { - return CreateMaybeMessage(nullptr); - } - - RetryStrategy* 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 RetryStrategy& from); - void MergeFrom(const RetryStrategy& 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(RetryStrategy* 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 ------------------------------------------------------- - - // uint32 retries = 5; - void clear_retries(); - static const int kRetriesFieldNumber = 5; - ::google::protobuf::uint32 retries() const; - void set_retries(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.RetryStrategy) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::uint32 retries_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fliterals_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Primitive - -// int64 integer = 1; -inline bool Primitive::has_integer() const { - return value_case() == kInteger; -} -inline void Primitive::set_has_integer() { - _oneof_case_[0] = kInteger; -} -inline void Primitive::clear_integer() { - if (has_integer()) { - value_.integer_ = PROTOBUF_LONGLONG(0); - clear_has_value(); - } -} -inline ::google::protobuf::int64 Primitive::integer() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Primitive.integer) - if (has_integer()) { - return value_.integer_; - } - return PROTOBUF_LONGLONG(0); -} -inline void Primitive::set_integer(::google::protobuf::int64 value) { - if (!has_integer()) { - clear_value(); - set_has_integer(); - } - value_.integer_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Primitive.integer) -} - -// double float_value = 2; -inline bool Primitive::has_float_value() const { - return value_case() == kFloatValue; -} -inline void Primitive::set_has_float_value() { - _oneof_case_[0] = kFloatValue; -} -inline void Primitive::clear_float_value() { - if (has_float_value()) { - value_.float_value_ = 0; - clear_has_value(); - } -} -inline double Primitive::float_value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Primitive.float_value) - if (has_float_value()) { - return value_.float_value_; - } - return 0; -} -inline void Primitive::set_float_value(double value) { - if (!has_float_value()) { - clear_value(); - set_has_float_value(); - } - value_.float_value_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Primitive.float_value) -} - -// string string_value = 3; -inline bool Primitive::has_string_value() const { - return value_case() == kStringValue; -} -inline void Primitive::set_has_string_value() { - _oneof_case_[0] = kStringValue; -} -inline void Primitive::clear_string_value() { - if (has_string_value()) { - value_.string_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_value(); - } -} -inline const ::std::string& Primitive::string_value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Primitive.string_value) - if (has_string_value()) { - return value_.string_value_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Primitive::set_string_value(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Primitive.string_value) - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Primitive.string_value) -} -#if LANG_CXX11 -inline void Primitive::set_string_value(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Primitive.string_value) - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Primitive.string_value) -} -#endif -inline void Primitive::set_string_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Primitive.string_value) -} -inline void Primitive::set_string_value(const char* value, size_t size) { - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Primitive.string_value) -} -inline ::std::string* Primitive::mutable_string_value() { - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Primitive.string_value) - return value_.string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Primitive::release_string_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.Primitive.string_value) - if (has_string_value()) { - clear_has_value(); - return value_.string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void Primitive::set_allocated_string_value(::std::string* string_value) { - if (has_value()) { - clear_value(); - } - if (string_value != nullptr) { - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(string_value); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Primitive.string_value) -} - -// bool boolean = 4; -inline bool Primitive::has_boolean() const { - return value_case() == kBoolean; -} -inline void Primitive::set_has_boolean() { - _oneof_case_[0] = kBoolean; -} -inline void Primitive::clear_boolean() { - if (has_boolean()) { - value_.boolean_ = false; - clear_has_value(); - } -} -inline bool Primitive::boolean() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Primitive.boolean) - if (has_boolean()) { - return value_.boolean_; - } - return false; -} -inline void Primitive::set_boolean(bool value) { - if (!has_boolean()) { - clear_value(); - set_has_boolean(); - } - value_.boolean_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Primitive.boolean) -} - -// .google.protobuf.Timestamp datetime = 5; -inline bool Primitive::has_datetime() const { - return value_case() == kDatetime; -} -inline void Primitive::set_has_datetime() { - _oneof_case_[0] = kDatetime; -} -inline ::google::protobuf::Timestamp* Primitive::release_datetime() { - // @@protoc_insertion_point(field_release:flyteidl.core.Primitive.datetime) - if (has_datetime()) { - clear_has_value(); - ::google::protobuf::Timestamp* temp = value_.datetime_; - value_.datetime_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::google::protobuf::Timestamp& Primitive::datetime() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Primitive.datetime) - return has_datetime() - ? *value_.datetime_ - : *reinterpret_cast< ::google::protobuf::Timestamp*>(&::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* Primitive::mutable_datetime() { - if (!has_datetime()) { - clear_value(); - set_has_datetime(); - value_.datetime_ = CreateMaybeMessage< ::google::protobuf::Timestamp >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Primitive.datetime) - return value_.datetime_; -} - -// .google.protobuf.Duration duration = 6; -inline bool Primitive::has_duration() const { - return value_case() == kDuration; -} -inline void Primitive::set_has_duration() { - _oneof_case_[0] = kDuration; -} -inline ::google::protobuf::Duration* Primitive::release_duration() { - // @@protoc_insertion_point(field_release:flyteidl.core.Primitive.duration) - if (has_duration()) { - clear_has_value(); - ::google::protobuf::Duration* temp = value_.duration_; - value_.duration_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::google::protobuf::Duration& Primitive::duration() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Primitive.duration) - return has_duration() - ? *value_.duration_ - : *reinterpret_cast< ::google::protobuf::Duration*>(&::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* Primitive::mutable_duration() { - if (!has_duration()) { - clear_value(); - set_has_duration(); - value_.duration_ = CreateMaybeMessage< ::google::protobuf::Duration >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Primitive.duration) - return value_.duration_; -} - -inline bool Primitive::has_value() const { - return value_case() != VALUE_NOT_SET; -} -inline void Primitive::clear_has_value() { - _oneof_case_[0] = VALUE_NOT_SET; -} -inline Primitive::ValueCase Primitive::value_case() const { - return Primitive::ValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Void - -// ------------------------------------------------------------------- - -// Blob - -// .flyteidl.core.BlobMetadata metadata = 1; -inline bool Blob::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void Blob::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::core::BlobMetadata& Blob::metadata() const { - const ::flyteidl::core::BlobMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.core.Blob.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_BlobMetadata_default_instance_); -} -inline ::flyteidl::core::BlobMetadata* Blob::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.core.Blob.metadata) - - ::flyteidl::core::BlobMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::core::BlobMetadata* Blob::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::BlobMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Blob.metadata) - return metadata_; -} -inline void Blob::set_allocated_metadata(::flyteidl::core::BlobMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Blob.metadata) -} - -// string uri = 3; -inline void Blob::clear_uri() { - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Blob::uri() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Blob.uri) - return uri_.GetNoArena(); -} -inline void Blob::set_uri(const ::std::string& value) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Blob.uri) -} -#if LANG_CXX11 -inline void Blob::set_uri(::std::string&& value) { - - uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Blob.uri) -} -#endif -inline void Blob::set_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Blob.uri) -} -inline void Blob::set_uri(const char* value, size_t size) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Blob.uri) -} -inline ::std::string* Blob::mutable_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Blob.uri) - return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Blob::release_uri() { - // @@protoc_insertion_point(field_release:flyteidl.core.Blob.uri) - - return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Blob::set_allocated_uri(::std::string* uri) { - if (uri != nullptr) { - - } else { - - } - uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Blob.uri) -} - -// ------------------------------------------------------------------- - -// BlobMetadata - -// .flyteidl.core.BlobType type = 1; -inline bool BlobMetadata::has_type() const { - return this != internal_default_instance() && type_ != nullptr; -} -inline const ::flyteidl::core::BlobType& BlobMetadata::type() const { - const ::flyteidl::core::BlobType* p = type_; - // @@protoc_insertion_point(field_get:flyteidl.core.BlobMetadata.type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_BlobType_default_instance_); -} -inline ::flyteidl::core::BlobType* BlobMetadata::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.BlobMetadata.type) - - ::flyteidl::core::BlobType* temp = type_; - type_ = nullptr; - return temp; -} -inline ::flyteidl::core::BlobType* BlobMetadata::mutable_type() { - - if (type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::BlobType>(GetArenaNoVirtual()); - type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BlobMetadata.type) - return type_; -} -inline void BlobMetadata::set_allocated_type(::flyteidl::core::BlobType* type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); - } - if (type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - - } else { - - } - type_ = type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BlobMetadata.type) -} - -// ------------------------------------------------------------------- - -// Binary - -// bytes value = 1; -inline void Binary::clear_value() { - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Binary::value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Binary.value) - return value_.GetNoArena(); -} -inline void Binary::set_value(const ::std::string& value) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Binary.value) -} -#if LANG_CXX11 -inline void Binary::set_value(::std::string&& value) { - - value_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Binary.value) -} -#endif -inline void Binary::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Binary.value) -} -inline void Binary::set_value(const void* value, size_t size) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Binary.value) -} -inline ::std::string* Binary::mutable_value() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Binary.value) - return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Binary::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.Binary.value) - - return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Binary::set_allocated_value(::std::string* value) { - if (value != nullptr) { - - } else { - - } - value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Binary.value) -} - -// string tag = 2; -inline void Binary::clear_tag() { - tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Binary::tag() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Binary.tag) - return tag_.GetNoArena(); -} -inline void Binary::set_tag(const ::std::string& value) { - - tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Binary.tag) -} -#if LANG_CXX11 -inline void Binary::set_tag(::std::string&& value) { - - tag_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Binary.tag) -} -#endif -inline void Binary::set_tag(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Binary.tag) -} -inline void Binary::set_tag(const char* value, size_t size) { - - tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Binary.tag) -} -inline ::std::string* Binary::mutable_tag() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Binary.tag) - return tag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Binary::release_tag() { - // @@protoc_insertion_point(field_release:flyteidl.core.Binary.tag) - - return tag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Binary::set_allocated_tag(::std::string* tag) { - if (tag != nullptr) { - - } else { - - } - tag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tag); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Binary.tag) -} - -// ------------------------------------------------------------------- - -// Schema - -// string uri = 1; -inline void Schema::clear_uri() { - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Schema::uri() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Schema.uri) - return uri_.GetNoArena(); -} -inline void Schema::set_uri(const ::std::string& value) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Schema.uri) -} -#if LANG_CXX11 -inline void Schema::set_uri(::std::string&& value) { - - uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Schema.uri) -} -#endif -inline void Schema::set_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Schema.uri) -} -inline void Schema::set_uri(const char* value, size_t size) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Schema.uri) -} -inline ::std::string* Schema::mutable_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Schema.uri) - return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Schema::release_uri() { - // @@protoc_insertion_point(field_release:flyteidl.core.Schema.uri) - - return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Schema::set_allocated_uri(::std::string* uri) { - if (uri != nullptr) { - - } else { - - } - uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Schema.uri) -} - -// .flyteidl.core.SchemaType type = 3; -inline bool Schema::has_type() const { - return this != internal_default_instance() && type_ != nullptr; -} -inline const ::flyteidl::core::SchemaType& Schema::type() const { - const ::flyteidl::core::SchemaType* p = type_; - // @@protoc_insertion_point(field_get:flyteidl.core.Schema.type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SchemaType_default_instance_); -} -inline ::flyteidl::core::SchemaType* Schema::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.Schema.type) - - ::flyteidl::core::SchemaType* temp = type_; - type_ = nullptr; - return temp; -} -inline ::flyteidl::core::SchemaType* Schema::mutable_type() { - - if (type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SchemaType>(GetArenaNoVirtual()); - type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Schema.type) - return type_; -} -inline void Schema::set_allocated_type(::flyteidl::core::SchemaType* type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); - } - if (type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - - } else { - - } - type_ = type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Schema.type) -} - -// ------------------------------------------------------------------- - -// Union - -// .flyteidl.core.Literal value = 1; -inline bool Union::has_value() const { - return this != internal_default_instance() && value_ != nullptr; -} -inline void Union::clear_value() { - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; -} -inline const ::flyteidl::core::Literal& Union::value() const { - const ::flyteidl::core::Literal* p = value_; - // @@protoc_insertion_point(field_get:flyteidl.core.Union.value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Literal_default_instance_); -} -inline ::flyteidl::core::Literal* Union::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.Union.value) - - ::flyteidl::core::Literal* temp = value_; - value_ = nullptr; - return temp; -} -inline ::flyteidl::core::Literal* Union::mutable_value() { - - if (value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Literal>(GetArenaNoVirtual()); - value_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Union.value) - return value_; -} -inline void Union::set_allocated_value(::flyteidl::core::Literal* value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete value_; - } - if (value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - - } else { - - } - value_ = value; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Union.value) -} - -// .flyteidl.core.LiteralType type = 2; -inline bool Union::has_type() const { - return this != internal_default_instance() && type_ != nullptr; -} -inline const ::flyteidl::core::LiteralType& Union::type() const { - const ::flyteidl::core::LiteralType* p = type_; - // @@protoc_insertion_point(field_get:flyteidl.core.Union.type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* Union::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.Union.type) - - ::flyteidl::core::LiteralType* temp = type_; - type_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralType* Union::mutable_type() { - - if (type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); - type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Union.type) - return type_; -} -inline void Union::set_allocated_type(::flyteidl::core::LiteralType* type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); - } - if (type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - - } else { - - } - type_ = type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Union.type) -} - -// ------------------------------------------------------------------- - -// StructuredDatasetMetadata - -// .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; -inline bool StructuredDatasetMetadata::has_structured_dataset_type() const { - return this != internal_default_instance() && structured_dataset_type_ != nullptr; -} -inline const ::flyteidl::core::StructuredDatasetType& StructuredDatasetMetadata::structured_dataset_type() const { - const ::flyteidl::core::StructuredDatasetType* p = structured_dataset_type_; - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDatasetMetadata.structured_dataset_type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_StructuredDatasetType_default_instance_); -} -inline ::flyteidl::core::StructuredDatasetType* StructuredDatasetMetadata::release_structured_dataset_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDatasetMetadata.structured_dataset_type) - - ::flyteidl::core::StructuredDatasetType* temp = structured_dataset_type_; - structured_dataset_type_ = nullptr; - return temp; -} -inline ::flyteidl::core::StructuredDatasetType* StructuredDatasetMetadata::mutable_structured_dataset_type() { - - if (structured_dataset_type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::StructuredDatasetType>(GetArenaNoVirtual()); - structured_dataset_type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDatasetMetadata.structured_dataset_type) - return structured_dataset_type_; -} -inline void StructuredDatasetMetadata::set_allocated_structured_dataset_type(::flyteidl::core::StructuredDatasetType* structured_dataset_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(structured_dataset_type_); - } - if (structured_dataset_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - structured_dataset_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, structured_dataset_type, submessage_arena); - } - - } else { - - } - structured_dataset_type_ = structured_dataset_type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDatasetMetadata.structured_dataset_type) -} - -// ------------------------------------------------------------------- - -// StructuredDataset - -// string uri = 1; -inline void StructuredDataset::clear_uri() { - uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& StructuredDataset::uri() const { - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDataset.uri) - return uri_.GetNoArena(); -} -inline void StructuredDataset::set_uri(const ::std::string& value) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.StructuredDataset.uri) -} -#if LANG_CXX11 -inline void StructuredDataset::set_uri(::std::string&& value) { - - uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.StructuredDataset.uri) -} -#endif -inline void StructuredDataset::set_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.StructuredDataset.uri) -} -inline void StructuredDataset::set_uri(const char* value, size_t size) { - - uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.StructuredDataset.uri) -} -inline ::std::string* StructuredDataset::mutable_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDataset.uri) - return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* StructuredDataset::release_uri() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDataset.uri) - - return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void StructuredDataset::set_allocated_uri(::std::string* uri) { - if (uri != nullptr) { - - } else { - - } - uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDataset.uri) -} - -// .flyteidl.core.StructuredDatasetMetadata metadata = 2; -inline bool StructuredDataset::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void StructuredDataset::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::core::StructuredDatasetMetadata& StructuredDataset::metadata() const { - const ::flyteidl::core::StructuredDatasetMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDataset.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_StructuredDatasetMetadata_default_instance_); -} -inline ::flyteidl::core::StructuredDatasetMetadata* StructuredDataset::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDataset.metadata) - - ::flyteidl::core::StructuredDatasetMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::core::StructuredDatasetMetadata* StructuredDataset::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::StructuredDatasetMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDataset.metadata) - return metadata_; -} -inline void StructuredDataset::set_allocated_metadata(::flyteidl::core::StructuredDatasetMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDataset.metadata) -} - -// ------------------------------------------------------------------- - -// Scalar - -// .flyteidl.core.Primitive primitive = 1; -inline bool Scalar::has_primitive() const { - return value_case() == kPrimitive; -} -inline void Scalar::set_has_primitive() { - _oneof_case_[0] = kPrimitive; -} -inline void Scalar::clear_primitive() { - if (has_primitive()) { - delete value_.primitive_; - clear_has_value(); - } -} -inline ::flyteidl::core::Primitive* Scalar::release_primitive() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.primitive) - if (has_primitive()) { - clear_has_value(); - ::flyteidl::core::Primitive* temp = value_.primitive_; - value_.primitive_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Primitive& Scalar::primitive() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.primitive) - return has_primitive() - ? *value_.primitive_ - : *reinterpret_cast< ::flyteidl::core::Primitive*>(&::flyteidl::core::_Primitive_default_instance_); -} -inline ::flyteidl::core::Primitive* Scalar::mutable_primitive() { - if (!has_primitive()) { - clear_value(); - set_has_primitive(); - value_.primitive_ = CreateMaybeMessage< ::flyteidl::core::Primitive >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.primitive) - return value_.primitive_; -} - -// .flyteidl.core.Blob blob = 2; -inline bool Scalar::has_blob() const { - return value_case() == kBlob; -} -inline void Scalar::set_has_blob() { - _oneof_case_[0] = kBlob; -} -inline void Scalar::clear_blob() { - if (has_blob()) { - delete value_.blob_; - clear_has_value(); - } -} -inline ::flyteidl::core::Blob* Scalar::release_blob() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.blob) - if (has_blob()) { - clear_has_value(); - ::flyteidl::core::Blob* temp = value_.blob_; - value_.blob_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Blob& Scalar::blob() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.blob) - return has_blob() - ? *value_.blob_ - : *reinterpret_cast< ::flyteidl::core::Blob*>(&::flyteidl::core::_Blob_default_instance_); -} -inline ::flyteidl::core::Blob* Scalar::mutable_blob() { - if (!has_blob()) { - clear_value(); - set_has_blob(); - value_.blob_ = CreateMaybeMessage< ::flyteidl::core::Blob >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.blob) - return value_.blob_; -} - -// .flyteidl.core.Binary binary = 3; -inline bool Scalar::has_binary() const { - return value_case() == kBinary; -} -inline void Scalar::set_has_binary() { - _oneof_case_[0] = kBinary; -} -inline void Scalar::clear_binary() { - if (has_binary()) { - delete value_.binary_; - clear_has_value(); - } -} -inline ::flyteidl::core::Binary* Scalar::release_binary() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.binary) - if (has_binary()) { - clear_has_value(); - ::flyteidl::core::Binary* temp = value_.binary_; - value_.binary_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Binary& Scalar::binary() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.binary) - return has_binary() - ? *value_.binary_ - : *reinterpret_cast< ::flyteidl::core::Binary*>(&::flyteidl::core::_Binary_default_instance_); -} -inline ::flyteidl::core::Binary* Scalar::mutable_binary() { - if (!has_binary()) { - clear_value(); - set_has_binary(); - value_.binary_ = CreateMaybeMessage< ::flyteidl::core::Binary >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.binary) - return value_.binary_; -} - -// .flyteidl.core.Schema schema = 4; -inline bool Scalar::has_schema() const { - return value_case() == kSchema; -} -inline void Scalar::set_has_schema() { - _oneof_case_[0] = kSchema; -} -inline void Scalar::clear_schema() { - if (has_schema()) { - delete value_.schema_; - clear_has_value(); - } -} -inline ::flyteidl::core::Schema* Scalar::release_schema() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.schema) - if (has_schema()) { - clear_has_value(); - ::flyteidl::core::Schema* temp = value_.schema_; - value_.schema_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Schema& Scalar::schema() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.schema) - return has_schema() - ? *value_.schema_ - : *reinterpret_cast< ::flyteidl::core::Schema*>(&::flyteidl::core::_Schema_default_instance_); -} -inline ::flyteidl::core::Schema* Scalar::mutable_schema() { - if (!has_schema()) { - clear_value(); - set_has_schema(); - value_.schema_ = CreateMaybeMessage< ::flyteidl::core::Schema >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.schema) - return value_.schema_; -} - -// .flyteidl.core.Void none_type = 5; -inline bool Scalar::has_none_type() const { - return value_case() == kNoneType; -} -inline void Scalar::set_has_none_type() { - _oneof_case_[0] = kNoneType; -} -inline void Scalar::clear_none_type() { - if (has_none_type()) { - delete value_.none_type_; - clear_has_value(); - } -} -inline ::flyteidl::core::Void* Scalar::release_none_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.none_type) - if (has_none_type()) { - clear_has_value(); - ::flyteidl::core::Void* temp = value_.none_type_; - value_.none_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Void& Scalar::none_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.none_type) - return has_none_type() - ? *value_.none_type_ - : *reinterpret_cast< ::flyteidl::core::Void*>(&::flyteidl::core::_Void_default_instance_); -} -inline ::flyteidl::core::Void* Scalar::mutable_none_type() { - if (!has_none_type()) { - clear_value(); - set_has_none_type(); - value_.none_type_ = CreateMaybeMessage< ::flyteidl::core::Void >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.none_type) - return value_.none_type_; -} - -// .flyteidl.core.Error error = 6; -inline bool Scalar::has_error() const { - return value_case() == kError; -} -inline void Scalar::set_has_error() { - _oneof_case_[0] = kError; -} -inline ::flyteidl::core::Error* Scalar::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.error) - if (has_error()) { - clear_has_value(); - ::flyteidl::core::Error* temp = value_.error_; - value_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Error& Scalar::error() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.error) - return has_error() - ? *value_.error_ - : *reinterpret_cast< ::flyteidl::core::Error*>(&::flyteidl::core::_Error_default_instance_); -} -inline ::flyteidl::core::Error* Scalar::mutable_error() { - if (!has_error()) { - clear_value(); - set_has_error(); - value_.error_ = CreateMaybeMessage< ::flyteidl::core::Error >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.error) - return value_.error_; -} - -// .google.protobuf.Struct generic = 7; -inline bool Scalar::has_generic() const { - return value_case() == kGeneric; -} -inline void Scalar::set_has_generic() { - _oneof_case_[0] = kGeneric; -} -inline ::google::protobuf::Struct* Scalar::release_generic() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.generic) - if (has_generic()) { - clear_has_value(); - ::google::protobuf::Struct* temp = value_.generic_; - value_.generic_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::google::protobuf::Struct& Scalar::generic() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.generic) - return has_generic() - ? *value_.generic_ - : *reinterpret_cast< ::google::protobuf::Struct*>(&::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* Scalar::mutable_generic() { - if (!has_generic()) { - clear_value(); - set_has_generic(); - value_.generic_ = CreateMaybeMessage< ::google::protobuf::Struct >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.generic) - return value_.generic_; -} - -// .flyteidl.core.StructuredDataset structured_dataset = 8; -inline bool Scalar::has_structured_dataset() const { - return value_case() == kStructuredDataset; -} -inline void Scalar::set_has_structured_dataset() { - _oneof_case_[0] = kStructuredDataset; -} -inline void Scalar::clear_structured_dataset() { - if (has_structured_dataset()) { - delete value_.structured_dataset_; - clear_has_value(); - } -} -inline ::flyteidl::core::StructuredDataset* Scalar::release_structured_dataset() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.structured_dataset) - if (has_structured_dataset()) { - clear_has_value(); - ::flyteidl::core::StructuredDataset* temp = value_.structured_dataset_; - value_.structured_dataset_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::StructuredDataset& Scalar::structured_dataset() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.structured_dataset) - return has_structured_dataset() - ? *value_.structured_dataset_ - : *reinterpret_cast< ::flyteidl::core::StructuredDataset*>(&::flyteidl::core::_StructuredDataset_default_instance_); -} -inline ::flyteidl::core::StructuredDataset* Scalar::mutable_structured_dataset() { - if (!has_structured_dataset()) { - clear_value(); - set_has_structured_dataset(); - value_.structured_dataset_ = CreateMaybeMessage< ::flyteidl::core::StructuredDataset >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.structured_dataset) - return value_.structured_dataset_; -} - -// .flyteidl.core.Union union = 9; -inline bool Scalar::has_union_() const { - return value_case() == kUnion; -} -inline void Scalar::set_has_union_() { - _oneof_case_[0] = kUnion; -} -inline void Scalar::clear_union_() { - if (has_union_()) { - delete value_.union__; - clear_has_value(); - } -} -inline ::flyteidl::core::Union* Scalar::release_union_() { - // @@protoc_insertion_point(field_release:flyteidl.core.Scalar.union) - if (has_union_()) { - clear_has_value(); - ::flyteidl::core::Union* temp = value_.union__; - value_.union__ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Union& Scalar::union_() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Scalar.union) - return has_union_() - ? *value_.union__ - : *reinterpret_cast< ::flyteidl::core::Union*>(&::flyteidl::core::_Union_default_instance_); -} -inline ::flyteidl::core::Union* Scalar::mutable_union_() { - if (!has_union_()) { - clear_value(); - set_has_union_(); - value_.union__ = CreateMaybeMessage< ::flyteidl::core::Union >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Scalar.union) - return value_.union__; -} - -inline bool Scalar::has_value() const { - return value_case() != VALUE_NOT_SET; -} -inline void Scalar::clear_has_value() { - _oneof_case_[0] = VALUE_NOT_SET; -} -inline Scalar::ValueCase Scalar::value_case() const { - return Scalar::ValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// Literal - -// .flyteidl.core.Scalar scalar = 1; -inline bool Literal::has_scalar() const { - return value_case() == kScalar; -} -inline void Literal::set_has_scalar() { - _oneof_case_[0] = kScalar; -} -inline void Literal::clear_scalar() { - if (has_scalar()) { - delete value_.scalar_; - clear_has_value(); - } -} -inline ::flyteidl::core::Scalar* Literal::release_scalar() { - // @@protoc_insertion_point(field_release:flyteidl.core.Literal.scalar) - if (has_scalar()) { - clear_has_value(); - ::flyteidl::core::Scalar* temp = value_.scalar_; - value_.scalar_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Scalar& Literal::scalar() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Literal.scalar) - return has_scalar() - ? *value_.scalar_ - : *reinterpret_cast< ::flyteidl::core::Scalar*>(&::flyteidl::core::_Scalar_default_instance_); -} -inline ::flyteidl::core::Scalar* Literal::mutable_scalar() { - if (!has_scalar()) { - clear_value(); - set_has_scalar(); - value_.scalar_ = CreateMaybeMessage< ::flyteidl::core::Scalar >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Literal.scalar) - return value_.scalar_; -} - -// .flyteidl.core.LiteralCollection collection = 2; -inline bool Literal::has_collection() const { - return value_case() == kCollection; -} -inline void Literal::set_has_collection() { - _oneof_case_[0] = kCollection; -} -inline void Literal::clear_collection() { - if (has_collection()) { - delete value_.collection_; - clear_has_value(); - } -} -inline ::flyteidl::core::LiteralCollection* Literal::release_collection() { - // @@protoc_insertion_point(field_release:flyteidl.core.Literal.collection) - if (has_collection()) { - clear_has_value(); - ::flyteidl::core::LiteralCollection* temp = value_.collection_; - value_.collection_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralCollection& Literal::collection() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Literal.collection) - return has_collection() - ? *value_.collection_ - : *reinterpret_cast< ::flyteidl::core::LiteralCollection*>(&::flyteidl::core::_LiteralCollection_default_instance_); -} -inline ::flyteidl::core::LiteralCollection* Literal::mutable_collection() { - if (!has_collection()) { - clear_value(); - set_has_collection(); - value_.collection_ = CreateMaybeMessage< ::flyteidl::core::LiteralCollection >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Literal.collection) - return value_.collection_; -} - -// .flyteidl.core.LiteralMap map = 3; -inline bool Literal::has_map() const { - return value_case() == kMap; -} -inline void Literal::set_has_map() { - _oneof_case_[0] = kMap; -} -inline void Literal::clear_map() { - if (has_map()) { - delete value_.map_; - clear_has_value(); - } -} -inline ::flyteidl::core::LiteralMap* Literal::release_map() { - // @@protoc_insertion_point(field_release:flyteidl.core.Literal.map) - if (has_map()) { - clear_has_value(); - ::flyteidl::core::LiteralMap* temp = value_.map_; - value_.map_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& Literal::map() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Literal.map) - return has_map() - ? *value_.map_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* Literal::mutable_map() { - if (!has_map()) { - clear_value(); - set_has_map(); - value_.map_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Literal.map) - return value_.map_; -} - -// string hash = 4; -inline void Literal::clear_hash() { - hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Literal::hash() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Literal.hash) - return hash_.GetNoArena(); -} -inline void Literal::set_hash(const ::std::string& value) { - - hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Literal.hash) -} -#if LANG_CXX11 -inline void Literal::set_hash(::std::string&& value) { - - hash_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Literal.hash) -} -#endif -inline void Literal::set_hash(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Literal.hash) -} -inline void Literal::set_hash(const char* value, size_t size) { - - hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Literal.hash) -} -inline ::std::string* Literal::mutable_hash() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Literal.hash) - return hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Literal::release_hash() { - // @@protoc_insertion_point(field_release:flyteidl.core.Literal.hash) - - return hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Literal::set_allocated_hash(::std::string* hash) { - if (hash != nullptr) { - - } else { - - } - hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hash); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Literal.hash) -} - -// map metadata = 5; -inline int Literal::metadata_size() const { - return metadata_.size(); -} -inline void Literal::clear_metadata() { - metadata_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -Literal::metadata() const { - // @@protoc_insertion_point(field_map:flyteidl.core.Literal.metadata) - return metadata_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -Literal::mutable_metadata() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.Literal.metadata) - return metadata_.MutableMap(); -} - -inline bool Literal::has_value() const { - return value_case() != VALUE_NOT_SET; -} -inline void Literal::clear_has_value() { - _oneof_case_[0] = VALUE_NOT_SET; -} -inline Literal::ValueCase Literal::value_case() const { - return Literal::ValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// LiteralCollection - -// repeated .flyteidl.core.Literal literals = 1; -inline int LiteralCollection::literals_size() const { - return literals_.size(); -} -inline void LiteralCollection::clear_literals() { - literals_.Clear(); -} -inline ::flyteidl::core::Literal* LiteralCollection::mutable_literals(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralCollection.literals) - return literals_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Literal >* -LiteralCollection::mutable_literals() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.LiteralCollection.literals) - return &literals_; -} -inline const ::flyteidl::core::Literal& LiteralCollection::literals(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralCollection.literals) - return literals_.Get(index); -} -inline ::flyteidl::core::Literal* LiteralCollection::add_literals() { - // @@protoc_insertion_point(field_add:flyteidl.core.LiteralCollection.literals) - return literals_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Literal >& -LiteralCollection::literals() const { - // @@protoc_insertion_point(field_list:flyteidl.core.LiteralCollection.literals) - return literals_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// LiteralMap - -// map literals = 1; -inline int LiteralMap::literals_size() const { - return literals_.size(); -} -inline void LiteralMap::clear_literals() { - literals_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >& -LiteralMap::literals() const { - // @@protoc_insertion_point(field_map:flyteidl.core.LiteralMap.literals) - return literals_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::Literal >* -LiteralMap::mutable_literals() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.LiteralMap.literals) - return literals_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// BindingDataCollection - -// repeated .flyteidl.core.BindingData bindings = 1; -inline int BindingDataCollection::bindings_size() const { - return bindings_.size(); -} -inline void BindingDataCollection::clear_bindings() { - bindings_.Clear(); -} -inline ::flyteidl::core::BindingData* BindingDataCollection::mutable_bindings(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.BindingDataCollection.bindings) - return bindings_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::BindingData >* -BindingDataCollection::mutable_bindings() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.BindingDataCollection.bindings) - return &bindings_; -} -inline const ::flyteidl::core::BindingData& BindingDataCollection::bindings(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.BindingDataCollection.bindings) - return bindings_.Get(index); -} -inline ::flyteidl::core::BindingData* BindingDataCollection::add_bindings() { - // @@protoc_insertion_point(field_add:flyteidl.core.BindingDataCollection.bindings) - return bindings_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::BindingData >& -BindingDataCollection::bindings() const { - // @@protoc_insertion_point(field_list:flyteidl.core.BindingDataCollection.bindings) - return bindings_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// BindingDataMap - -// map bindings = 1; -inline int BindingDataMap::bindings_size() const { - return bindings_.size(); -} -inline void BindingDataMap::clear_bindings() { - bindings_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >& -BindingDataMap::bindings() const { - // @@protoc_insertion_point(field_map:flyteidl.core.BindingDataMap.bindings) - return bindings_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::BindingData >* -BindingDataMap::mutable_bindings() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.BindingDataMap.bindings) - return bindings_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// UnionInfo - -// .flyteidl.core.LiteralType targetType = 1; -inline bool UnionInfo::has_targettype() const { - return this != internal_default_instance() && targettype_ != nullptr; -} -inline const ::flyteidl::core::LiteralType& UnionInfo::targettype() const { - const ::flyteidl::core::LiteralType* p = targettype_; - // @@protoc_insertion_point(field_get:flyteidl.core.UnionInfo.targetType) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* UnionInfo::release_targettype() { - // @@protoc_insertion_point(field_release:flyteidl.core.UnionInfo.targetType) - - ::flyteidl::core::LiteralType* temp = targettype_; - targettype_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralType* UnionInfo::mutable_targettype() { - - if (targettype_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); - targettype_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.UnionInfo.targetType) - return targettype_; -} -inline void UnionInfo::set_allocated_targettype(::flyteidl::core::LiteralType* targettype) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(targettype_); - } - if (targettype) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - targettype = ::google::protobuf::internal::GetOwnedMessage( - message_arena, targettype, submessage_arena); - } - - } else { - - } - targettype_ = targettype; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.UnionInfo.targetType) -} - -// ------------------------------------------------------------------- - -// BindingData - -// .flyteidl.core.Scalar scalar = 1; -inline bool BindingData::has_scalar() const { - return value_case() == kScalar; -} -inline void BindingData::set_has_scalar() { - _oneof_case_[0] = kScalar; -} -inline void BindingData::clear_scalar() { - if (has_scalar()) { - delete value_.scalar_; - clear_has_value(); - } -} -inline ::flyteidl::core::Scalar* BindingData::release_scalar() { - // @@protoc_insertion_point(field_release:flyteidl.core.BindingData.scalar) - if (has_scalar()) { - clear_has_value(); - ::flyteidl::core::Scalar* temp = value_.scalar_; - value_.scalar_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Scalar& BindingData::scalar() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BindingData.scalar) - return has_scalar() - ? *value_.scalar_ - : *reinterpret_cast< ::flyteidl::core::Scalar*>(&::flyteidl::core::_Scalar_default_instance_); -} -inline ::flyteidl::core::Scalar* BindingData::mutable_scalar() { - if (!has_scalar()) { - clear_value(); - set_has_scalar(); - value_.scalar_ = CreateMaybeMessage< ::flyteidl::core::Scalar >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BindingData.scalar) - return value_.scalar_; -} - -// .flyteidl.core.BindingDataCollection collection = 2; -inline bool BindingData::has_collection() const { - return value_case() == kCollection; -} -inline void BindingData::set_has_collection() { - _oneof_case_[0] = kCollection; -} -inline void BindingData::clear_collection() { - if (has_collection()) { - delete value_.collection_; - clear_has_value(); - } -} -inline ::flyteidl::core::BindingDataCollection* BindingData::release_collection() { - // @@protoc_insertion_point(field_release:flyteidl.core.BindingData.collection) - if (has_collection()) { - clear_has_value(); - ::flyteidl::core::BindingDataCollection* temp = value_.collection_; - value_.collection_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::BindingDataCollection& BindingData::collection() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BindingData.collection) - return has_collection() - ? *value_.collection_ - : *reinterpret_cast< ::flyteidl::core::BindingDataCollection*>(&::flyteidl::core::_BindingDataCollection_default_instance_); -} -inline ::flyteidl::core::BindingDataCollection* BindingData::mutable_collection() { - if (!has_collection()) { - clear_value(); - set_has_collection(); - value_.collection_ = CreateMaybeMessage< ::flyteidl::core::BindingDataCollection >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BindingData.collection) - return value_.collection_; -} - -// .flyteidl.core.OutputReference promise = 3; -inline bool BindingData::has_promise() const { - return value_case() == kPromise; -} -inline void BindingData::set_has_promise() { - _oneof_case_[0] = kPromise; -} -inline ::flyteidl::core::OutputReference* BindingData::release_promise() { - // @@protoc_insertion_point(field_release:flyteidl.core.BindingData.promise) - if (has_promise()) { - clear_has_value(); - ::flyteidl::core::OutputReference* temp = value_.promise_; - value_.promise_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::OutputReference& BindingData::promise() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BindingData.promise) - return has_promise() - ? *value_.promise_ - : *reinterpret_cast< ::flyteidl::core::OutputReference*>(&::flyteidl::core::_OutputReference_default_instance_); -} -inline ::flyteidl::core::OutputReference* BindingData::mutable_promise() { - if (!has_promise()) { - clear_value(); - set_has_promise(); - value_.promise_ = CreateMaybeMessage< ::flyteidl::core::OutputReference >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BindingData.promise) - return value_.promise_; -} - -// .flyteidl.core.BindingDataMap map = 4; -inline bool BindingData::has_map() const { - return value_case() == kMap; -} -inline void BindingData::set_has_map() { - _oneof_case_[0] = kMap; -} -inline void BindingData::clear_map() { - if (has_map()) { - delete value_.map_; - clear_has_value(); - } -} -inline ::flyteidl::core::BindingDataMap* BindingData::release_map() { - // @@protoc_insertion_point(field_release:flyteidl.core.BindingData.map) - if (has_map()) { - clear_has_value(); - ::flyteidl::core::BindingDataMap* temp = value_.map_; - value_.map_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::BindingDataMap& BindingData::map() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BindingData.map) - return has_map() - ? *value_.map_ - : *reinterpret_cast< ::flyteidl::core::BindingDataMap*>(&::flyteidl::core::_BindingDataMap_default_instance_); -} -inline ::flyteidl::core::BindingDataMap* BindingData::mutable_map() { - if (!has_map()) { - clear_value(); - set_has_map(); - value_.map_ = CreateMaybeMessage< ::flyteidl::core::BindingDataMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BindingData.map) - return value_.map_; -} - -// .flyteidl.core.UnionInfo union = 5; -inline bool BindingData::has_union_() const { - return this != internal_default_instance() && union__ != nullptr; -} -inline void BindingData::clear_union_() { - if (GetArenaNoVirtual() == nullptr && union__ != nullptr) { - delete union__; - } - union__ = nullptr; -} -inline const ::flyteidl::core::UnionInfo& BindingData::union_() const { - const ::flyteidl::core::UnionInfo* p = union__; - // @@protoc_insertion_point(field_get:flyteidl.core.BindingData.union) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_UnionInfo_default_instance_); -} -inline ::flyteidl::core::UnionInfo* BindingData::release_union_() { - // @@protoc_insertion_point(field_release:flyteidl.core.BindingData.union) - - ::flyteidl::core::UnionInfo* temp = union__; - union__ = nullptr; - return temp; -} -inline ::flyteidl::core::UnionInfo* BindingData::mutable_union_() { - - if (union__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::UnionInfo>(GetArenaNoVirtual()); - union__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BindingData.union) - return union__; -} -inline void BindingData::set_allocated_union_(::flyteidl::core::UnionInfo* union_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete union__; - } - if (union_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - union_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, union_, submessage_arena); - } - - } else { - - } - union__ = union_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BindingData.union) -} - -inline bool BindingData::has_value() const { - return value_case() != VALUE_NOT_SET; -} -inline void BindingData::clear_has_value() { - _oneof_case_[0] = VALUE_NOT_SET; -} -inline BindingData::ValueCase BindingData::value_case() const { - return BindingData::ValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Binding - -// string var = 1; -inline void Binding::clear_var() { - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Binding::var() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Binding.var) - return var_.GetNoArena(); -} -inline void Binding::set_var(const ::std::string& value) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Binding.var) -} -#if LANG_CXX11 -inline void Binding::set_var(::std::string&& value) { - - var_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Binding.var) -} -#endif -inline void Binding::set_var(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Binding.var) -} -inline void Binding::set_var(const char* value, size_t size) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Binding.var) -} -inline ::std::string* Binding::mutable_var() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Binding.var) - return var_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Binding::release_var() { - // @@protoc_insertion_point(field_release:flyteidl.core.Binding.var) - - return var_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Binding::set_allocated_var(::std::string* var) { - if (var != nullptr) { - - } else { - - } - var_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), var); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Binding.var) -} - -// .flyteidl.core.BindingData binding = 2; -inline bool Binding::has_binding() const { - return this != internal_default_instance() && binding_ != nullptr; -} -inline void Binding::clear_binding() { - if (GetArenaNoVirtual() == nullptr && binding_ != nullptr) { - delete binding_; - } - binding_ = nullptr; -} -inline const ::flyteidl::core::BindingData& Binding::binding() const { - const ::flyteidl::core::BindingData* p = binding_; - // @@protoc_insertion_point(field_get:flyteidl.core.Binding.binding) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_BindingData_default_instance_); -} -inline ::flyteidl::core::BindingData* Binding::release_binding() { - // @@protoc_insertion_point(field_release:flyteidl.core.Binding.binding) - - ::flyteidl::core::BindingData* temp = binding_; - binding_ = nullptr; - return temp; -} -inline ::flyteidl::core::BindingData* Binding::mutable_binding() { - - if (binding_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::BindingData>(GetArenaNoVirtual()); - binding_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Binding.binding) - return binding_; -} -inline void Binding::set_allocated_binding(::flyteidl::core::BindingData* binding) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete binding_; - } - if (binding) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - binding = ::google::protobuf::internal::GetOwnedMessage( - message_arena, binding, submessage_arena); - } - - } else { - - } - binding_ = binding; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Binding.binding) -} - -// ------------------------------------------------------------------- - -// KeyValuePair - -// string key = 1; -inline void KeyValuePair::clear_key() { - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& KeyValuePair::key() const { - // @@protoc_insertion_point(field_get:flyteidl.core.KeyValuePair.key) - return key_.GetNoArena(); -} -inline void KeyValuePair::set_key(const ::std::string& value) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.KeyValuePair.key) -} -#if LANG_CXX11 -inline void KeyValuePair::set_key(::std::string&& value) { - - key_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.KeyValuePair.key) -} -#endif -inline void KeyValuePair::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.KeyValuePair.key) -} -inline void KeyValuePair::set_key(const char* value, size_t size) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.KeyValuePair.key) -} -inline ::std::string* KeyValuePair::mutable_key() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.KeyValuePair.key) - return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* KeyValuePair::release_key() { - // @@protoc_insertion_point(field_release:flyteidl.core.KeyValuePair.key) - - return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void KeyValuePair::set_allocated_key(::std::string* key) { - if (key != nullptr) { - - } else { - - } - key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.KeyValuePair.key) -} - -// string value = 2; -inline void KeyValuePair::clear_value() { - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& KeyValuePair::value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.KeyValuePair.value) - return value_.GetNoArena(); -} -inline void KeyValuePair::set_value(const ::std::string& value) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.KeyValuePair.value) -} -#if LANG_CXX11 -inline void KeyValuePair::set_value(::std::string&& value) { - - value_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.KeyValuePair.value) -} -#endif -inline void KeyValuePair::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.KeyValuePair.value) -} -inline void KeyValuePair::set_value(const char* value, size_t size) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.KeyValuePair.value) -} -inline ::std::string* KeyValuePair::mutable_value() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.KeyValuePair.value) - return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* KeyValuePair::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.KeyValuePair.value) - - return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void KeyValuePair::set_allocated_value(::std::string* value) { - if (value != nullptr) { - - } else { - - } - value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.KeyValuePair.value) -} - -// ------------------------------------------------------------------- - -// RetryStrategy - -// uint32 retries = 5; -inline void RetryStrategy::clear_retries() { - retries_ = 0u; -} -inline ::google::protobuf::uint32 RetryStrategy::retries() const { - // @@protoc_insertion_point(field_get:flyteidl.core.RetryStrategy.retries) - return retries_; -} -inline void RetryStrategy::set_retries(::google::protobuf::uint32 value) { - - retries_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.RetryStrategy.retries) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fliterals_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.cc deleted file mode 100644 index e48bb1256e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/metrics.proto - -#include "flyteidl/core/metrics.pb.h" -#include "flyteidl/core/metrics.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.h deleted file mode 100644 index 1bd56797b5..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/metrics.proto -#ifndef GRPC_flyteidl_2fcore_2fmetrics_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fmetrics_2eproto__INCLUDED - -#include "flyteidl/core/metrics.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fmetrics_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/metrics.pb.cc deleted file mode 100644 index c96ae09bdb..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.pb.cc +++ /dev/null @@ -1,1337 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/metrics.proto - -#include "flyteidl/core/metrics.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -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; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace core { -class SpanDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::WorkflowExecutionIdentifier* workflow_id_; - const ::flyteidl::core::NodeExecutionIdentifier* node_id_; - const ::flyteidl::core::TaskExecutionIdentifier* task_id_; - ::google::protobuf::internal::ArenaStringPtr operation_id_; -} _Span_default_instance_; -class ExecutionMetricResultDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExecutionMetricResult_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsSpan_flyteidl_2fcore_2fmetrics_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Span_default_instance_; - new (ptr) ::flyteidl::core::Span(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Span::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsSpan_flyteidl_2fcore_2fmetrics_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ExecutionMetricResult_default_instance_; - new (ptr) ::flyteidl::core::ExecutionMetricResult(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ExecutionMetricResult::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto}, { - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fmetrics_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fmetrics_2eproto[2]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fmetrics_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fmetrics_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fmetrics_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, start_time_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, end_time_), - offsetof(::flyteidl::core::SpanDefaultTypeInternal, workflow_id_), - offsetof(::flyteidl::core::SpanDefaultTypeInternal, node_id_), - offsetof(::flyteidl::core::SpanDefaultTypeInternal, task_id_), - offsetof(::flyteidl::core::SpanDefaultTypeInternal, operation_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, spans_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionMetricResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionMetricResult, metric_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExecutionMetricResult, data_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::Span)}, - { 13, -1, sizeof(::flyteidl::core::ExecutionMetricResult)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_Span_default_instance_), - reinterpret_cast(&::flyteidl::core::_ExecutionMetricResult_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fmetrics_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto, "flyteidl/core/metrics.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fmetrics_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fmetrics_2eproto, 2, file_level_enum_descriptors_flyteidl_2fcore_2fmetrics_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fmetrics_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fmetrics_2eproto[] = - "\n\033flyteidl/core/metrics.proto\022\rflyteidl." - "core\032\036flyteidl/core/identifier.proto\032\037go" - "ogle/protobuf/timestamp.proto\032\034google/pr" - "otobuf/struct.proto\"\337\002\n\004Span\022.\n\nstart_ti" - "me\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" - "end_time\030\002 \001(\0132\032.google.protobuf.Timesta" - "mp\022A\n\013workflow_id\030\003 \001(\0132*.flyteidl.core." - "WorkflowExecutionIdentifierH\000\0229\n\007node_id" - "\030\004 \001(\0132&.flyteidl.core.NodeExecutionIden" - "tifierH\000\0229\n\007task_id\030\005 \001(\0132&.flyteidl.cor" - "e.TaskExecutionIdentifierH\000\022\026\n\014operation" - "_id\030\006 \001(\tH\000\022\"\n\005spans\030\007 \003(\0132\023.flyteidl.co" - "re.SpanB\004\n\002id\"N\n\025ExecutionMetricResult\022\016" - "\n\006metric\030\001 \001(\t\022%\n\004data\030\002 \001(\0132\027.google.pr" - "otobuf.StructBstart_time_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::core::_Span_default_instance_._instance.get_mutable()->end_time_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::core::_Span_default_instance_.workflow_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::core::_Span_default_instance_.node_id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); - ::flyteidl::core::_Span_default_instance_.task_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); - ::flyteidl::core::_Span_default_instance_.operation_id_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class Span::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& start_time(const Span* msg); - static const ::google::protobuf::Timestamp& end_time(const Span* msg); - static const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_id(const Span* msg); - static const ::flyteidl::core::NodeExecutionIdentifier& node_id(const Span* msg); - static const ::flyteidl::core::TaskExecutionIdentifier& task_id(const Span* msg); -}; - -const ::google::protobuf::Timestamp& -Span::HasBitSetters::start_time(const Span* msg) { - return *msg->start_time_; -} -const ::google::protobuf::Timestamp& -Span::HasBitSetters::end_time(const Span* msg) { - return *msg->end_time_; -} -const ::flyteidl::core::WorkflowExecutionIdentifier& -Span::HasBitSetters::workflow_id(const Span* msg) { - return *msg->id_.workflow_id_; -} -const ::flyteidl::core::NodeExecutionIdentifier& -Span::HasBitSetters::node_id(const Span* msg) { - return *msg->id_.node_id_; -} -const ::flyteidl::core::TaskExecutionIdentifier& -Span::HasBitSetters::task_id(const Span* msg) { - return *msg->id_.task_id_; -} -void Span::clear_start_time() { - if (GetArenaNoVirtual() == nullptr && start_time_ != nullptr) { - delete start_time_; - } - start_time_ = nullptr; -} -void Span::clear_end_time() { - if (GetArenaNoVirtual() == nullptr && end_time_ != nullptr) { - delete end_time_; - } - end_time_ = nullptr; -} -void Span::set_allocated_workflow_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_id(); - if (workflow_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_id, submessage_arena); - } - set_has_workflow_id(); - id_.workflow_id_ = workflow_id; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.workflow_id) -} -void Span::clear_workflow_id() { - if (has_workflow_id()) { - delete id_.workflow_id_; - clear_has_id(); - } -} -void Span::set_allocated_node_id(::flyteidl::core::NodeExecutionIdentifier* node_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_id(); - if (node_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - node_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, node_id, submessage_arena); - } - set_has_node_id(); - id_.node_id_ = node_id; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.node_id) -} -void Span::clear_node_id() { - if (has_node_id()) { - delete id_.node_id_; - clear_has_id(); - } -} -void Span::set_allocated_task_id(::flyteidl::core::TaskExecutionIdentifier* task_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_id(); - if (task_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_id, submessage_arena); - } - set_has_task_id(); - id_.task_id_ = task_id; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.task_id) -} -void Span::clear_task_id() { - if (has_task_id()) { - delete id_.task_id_; - clear_has_id(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Span::kStartTimeFieldNumber; -const int Span::kEndTimeFieldNumber; -const int Span::kWorkflowIdFieldNumber; -const int Span::kNodeIdFieldNumber; -const int Span::kTaskIdFieldNumber; -const int Span::kOperationIdFieldNumber; -const int Span::kSpansFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Span::Span() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Span) -} -Span::Span(const Span& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - spans_(from.spans_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_start_time()) { - start_time_ = new ::google::protobuf::Timestamp(*from.start_time_); - } else { - start_time_ = nullptr; - } - if (from.has_end_time()) { - end_time_ = new ::google::protobuf::Timestamp(*from.end_time_); - } else { - end_time_ = nullptr; - } - clear_has_id(); - switch (from.id_case()) { - case kWorkflowId: { - mutable_workflow_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_id()); - break; - } - case kNodeId: { - mutable_node_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_id()); - break; - } - case kTaskId: { - mutable_task_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_id()); - break; - } - case kOperationId: { - set_operation_id(from.operation_id()); - break; - } - case ID_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Span) -} - -void Span::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base); - ::memset(&start_time_, 0, static_cast( - reinterpret_cast(&end_time_) - - reinterpret_cast(&start_time_)) + sizeof(end_time_)); - clear_has_id(); -} - -Span::~Span() { - // @@protoc_insertion_point(destructor:flyteidl.core.Span) - SharedDtor(); -} - -void Span::SharedDtor() { - if (this != internal_default_instance()) delete start_time_; - if (this != internal_default_instance()) delete end_time_; - if (has_id()) { - clear_id(); - } -} - -void Span::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Span& Span::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base); - return *internal_default_instance(); -} - - -void Span::clear_id() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Span) - switch (id_case()) { - case kWorkflowId: { - delete id_.workflow_id_; - break; - } - case kNodeId: { - delete id_.node_id_; - break; - } - case kTaskId: { - delete id_.task_id_; - break; - } - case kOperationId: { - id_.operation_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case ID_NOT_SET: { - break; - } - } - _oneof_case_[0] = ID_NOT_SET; -} - - -void Span::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Span) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - spans_.Clear(); - if (GetArenaNoVirtual() == nullptr && start_time_ != nullptr) { - delete start_time_; - } - start_time_ = nullptr; - if (GetArenaNoVirtual() == nullptr && end_time_ != nullptr) { - delete end_time_; - } - end_time_ = nullptr; - clear_id(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Span::_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) { - // .google.protobuf.Timestamp start_time = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_start_time(); - 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; - } - // .google.protobuf.Timestamp end_time = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_end_time(); - 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_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::WorkflowExecutionIdentifier::_InternalParse; - object = msg->mutable_workflow_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.NodeExecutionIdentifier node_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::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_node_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_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::TaskExecutionIdentifier::_InternalParse; - object = msg->mutable_task_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 operation_id = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Span.operation_id"); - object = msg->mutable_operation_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; - } - // repeated .flyteidl.core.Span spans = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Span::_InternalParse; - object = msg->add_spans(); - 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) == 58 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Span::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.Span) - 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)) { - // .google.protobuf.Timestamp start_time = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_start_time())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp end_time = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_end_time())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.NodeExecutionIdentifier node_id = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_node_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskExecutionIdentifier task_id = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_id())); - } else { - goto handle_unusual; - } - break; - } - - // string operation_id = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_operation_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->operation_id().data(), static_cast(this->operation_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Span.operation_id")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Span spans = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_spans())); - } 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.Span) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Span) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Span::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Span) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Timestamp start_time = 1; - if (this->has_start_time()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::start_time(this), output); - } - - // .google.protobuf.Timestamp end_time = 2; - if (this->has_end_time()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::end_time(this), output); - } - - // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - if (has_workflow_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::workflow_id(this), output); - } - - // .flyteidl.core.NodeExecutionIdentifier node_id = 4; - if (has_node_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::node_id(this), output); - } - - // .flyteidl.core.TaskExecutionIdentifier task_id = 5; - if (has_task_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::task_id(this), output); - } - - // string operation_id = 6; - if (has_operation_id()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->operation_id().data(), static_cast(this->operation_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Span.operation_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->operation_id(), output); - } - - // repeated .flyteidl.core.Span spans = 7; - for (unsigned int i = 0, - n = static_cast(this->spans_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, - this->spans(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.Span) -} - -::google::protobuf::uint8* Span::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Span) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Timestamp start_time = 1; - if (this->has_start_time()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::start_time(this), target); - } - - // .google.protobuf.Timestamp end_time = 2; - if (this->has_end_time()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::end_time(this), target); - } - - // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - if (has_workflow_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::workflow_id(this), target); - } - - // .flyteidl.core.NodeExecutionIdentifier node_id = 4; - if (has_node_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::node_id(this), target); - } - - // .flyteidl.core.TaskExecutionIdentifier task_id = 5; - if (has_task_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::task_id(this), target); - } - - // string operation_id = 6; - if (has_operation_id()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->operation_id().data(), static_cast(this->operation_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Span.operation_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->operation_id(), target); - } - - // repeated .flyteidl.core.Span spans = 7; - for (unsigned int i = 0, - n = static_cast(this->spans_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, this->spans(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.Span) - return target; -} - -size_t Span::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Span) - 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.Span spans = 7; - { - unsigned int count = static_cast(this->spans_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->spans(static_cast(i))); - } - } - - // .google.protobuf.Timestamp start_time = 1; - if (this->has_start_time()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *start_time_); - } - - // .google.protobuf.Timestamp end_time = 2; - if (this->has_end_time()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *end_time_); - } - - switch (id_case()) { - // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - case kWorkflowId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_.workflow_id_); - break; - } - // .flyteidl.core.NodeExecutionIdentifier node_id = 4; - case kNodeId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_.node_id_); - break; - } - // .flyteidl.core.TaskExecutionIdentifier task_id = 5; - case kTaskId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_.task_id_); - break; - } - // string operation_id = 6; - case kOperationId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->operation_id()); - break; - } - case ID_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Span::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Span) - GOOGLE_DCHECK_NE(&from, this); - const Span* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Span) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Span) - MergeFrom(*source); - } -} - -void Span::MergeFrom(const Span& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Span) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - spans_.MergeFrom(from.spans_); - if (from.has_start_time()) { - mutable_start_time()->::google::protobuf::Timestamp::MergeFrom(from.start_time()); - } - if (from.has_end_time()) { - mutable_end_time()->::google::protobuf::Timestamp::MergeFrom(from.end_time()); - } - switch (from.id_case()) { - case kWorkflowId: { - mutable_workflow_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_id()); - break; - } - case kNodeId: { - mutable_node_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_id()); - break; - } - case kTaskId: { - mutable_task_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_id()); - break; - } - case kOperationId: { - set_operation_id(from.operation_id()); - break; - } - case ID_NOT_SET: { - break; - } - } -} - -void Span::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Span) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Span::CopyFrom(const Span& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Span) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Span::IsInitialized() const { - return true; -} - -void Span::Swap(Span* other) { - if (other == this) return; - InternalSwap(other); -} -void Span::InternalSwap(Span* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&spans_)->InternalSwap(CastToBase(&other->spans_)); - swap(start_time_, other->start_time_); - swap(end_time_, other->end_time_); - swap(id_, other->id_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Span::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fmetrics_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fmetrics_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExecutionMetricResult::InitAsDefaultInstance() { - ::flyteidl::core::_ExecutionMetricResult_default_instance_._instance.get_mutable()->data_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); -} -class ExecutionMetricResult::HasBitSetters { - public: - static const ::google::protobuf::Struct& data(const ExecutionMetricResult* msg); -}; - -const ::google::protobuf::Struct& -ExecutionMetricResult::HasBitSetters::data(const ExecutionMetricResult* msg) { - return *msg->data_; -} -void ExecutionMetricResult::clear_data() { - if (GetArenaNoVirtual() == nullptr && data_ != nullptr) { - delete data_; - } - data_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExecutionMetricResult::kMetricFieldNumber; -const int ExecutionMetricResult::kDataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExecutionMetricResult::ExecutionMetricResult() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ExecutionMetricResult) -} -ExecutionMetricResult::ExecutionMetricResult(const ExecutionMetricResult& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - metric_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.metric().size() > 0) { - metric_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.metric_); - } - if (from.has_data()) { - data_ = new ::google::protobuf::Struct(*from.data_); - } else { - data_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ExecutionMetricResult) -} - -void ExecutionMetricResult::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto.base); - metric_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - data_ = nullptr; -} - -ExecutionMetricResult::~ExecutionMetricResult() { - // @@protoc_insertion_point(destructor:flyteidl.core.ExecutionMetricResult) - SharedDtor(); -} - -void ExecutionMetricResult::SharedDtor() { - metric_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete data_; -} - -void ExecutionMetricResult::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExecutionMetricResult& ExecutionMetricResult::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionMetricResult_flyteidl_2fcore_2fmetrics_2eproto.base); - return *internal_default_instance(); -} - - -void ExecutionMetricResult::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ExecutionMetricResult) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - metric_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && data_ != nullptr) { - delete data_; - } - data_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExecutionMetricResult::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string metric = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ExecutionMetricResult.metric"); - object = msg->mutable_metric(); - 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; - } - // .google.protobuf.Struct data = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_data(); - 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 ExecutionMetricResult::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.ExecutionMetricResult) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string metric = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_metric())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->metric().data(), static_cast(this->metric().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ExecutionMetricResult.metric")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct data = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_data())); - } 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.ExecutionMetricResult) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ExecutionMetricResult) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExecutionMetricResult::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ExecutionMetricResult) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string metric = 1; - if (this->metric().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->metric().data(), static_cast(this->metric().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ExecutionMetricResult.metric"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->metric(), output); - } - - // .google.protobuf.Struct data = 2; - if (this->has_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::data(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.ExecutionMetricResult) -} - -::google::protobuf::uint8* ExecutionMetricResult::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ExecutionMetricResult) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string metric = 1; - if (this->metric().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->metric().data(), static_cast(this->metric().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ExecutionMetricResult.metric"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->metric(), target); - } - - // .google.protobuf.Struct data = 2; - if (this->has_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::data(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.ExecutionMetricResult) - return target; -} - -size_t ExecutionMetricResult::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ExecutionMetricResult) - 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 metric = 1; - if (this->metric().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->metric()); - } - - // .google.protobuf.Struct data = 2; - if (this->has_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *data_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExecutionMetricResult::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ExecutionMetricResult) - GOOGLE_DCHECK_NE(&from, this); - const ExecutionMetricResult* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ExecutionMetricResult) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ExecutionMetricResult) - MergeFrom(*source); - } -} - -void ExecutionMetricResult::MergeFrom(const ExecutionMetricResult& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ExecutionMetricResult) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.metric().size() > 0) { - - metric_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.metric_); - } - if (from.has_data()) { - mutable_data()->::google::protobuf::Struct::MergeFrom(from.data()); - } -} - -void ExecutionMetricResult::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ExecutionMetricResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExecutionMetricResult::CopyFrom(const ExecutionMetricResult& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ExecutionMetricResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExecutionMetricResult::IsInitialized() const { - return true; -} - -void ExecutionMetricResult::Swap(ExecutionMetricResult* other) { - if (other == this) return; - InternalSwap(other); -} -void ExecutionMetricResult::InternalSwap(ExecutionMetricResult* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - metric_.Swap(&other->metric_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(data_, other->data_); -} - -::google::protobuf::Metadata ExecutionMetricResult::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fmetrics_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fmetrics_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::Span* Arena::CreateMaybeMessage< ::flyteidl::core::Span >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Span >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ExecutionMetricResult* Arena::CreateMaybeMessage< ::flyteidl::core::ExecutionMetricResult >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ExecutionMetricResult >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/metrics.pb.h deleted file mode 100644 index 8c7140c273..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/metrics.pb.h +++ /dev/null @@ -1,867 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/metrics.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fmetrics_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fmetrics_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/identifier.pb.h" -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fmetrics_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[2] - 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_2fcore_2fmetrics_2eproto(); -namespace flyteidl { -namespace core { -class ExecutionMetricResult; -class ExecutionMetricResultDefaultTypeInternal; -extern ExecutionMetricResultDefaultTypeInternal _ExecutionMetricResult_default_instance_; -class Span; -class SpanDefaultTypeInternal; -extern SpanDefaultTypeInternal _Span_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::ExecutionMetricResult* Arena::CreateMaybeMessage<::flyteidl::core::ExecutionMetricResult>(Arena*); -template<> ::flyteidl::core::Span* Arena::CreateMaybeMessage<::flyteidl::core::Span>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -// =================================================================== - -class Span final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Span) */ { - public: - Span(); - virtual ~Span(); - - Span(const Span& from); - - inline Span& operator=(const Span& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Span(Span&& from) noexcept - : Span() { - *this = ::std::move(from); - } - - inline Span& operator=(Span&& 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 Span& default_instance(); - - enum IdCase { - kWorkflowId = 3, - kNodeId = 4, - kTaskId = 5, - kOperationId = 6, - ID_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Span* internal_default_instance() { - return reinterpret_cast( - &_Span_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Span* other); - friend void swap(Span& a, Span& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Span* New() const final { - return CreateMaybeMessage(nullptr); - } - - Span* 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 Span& from); - void MergeFrom(const Span& 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(Span* 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.Span spans = 7; - int spans_size() const; - void clear_spans(); - static const int kSpansFieldNumber = 7; - ::flyteidl::core::Span* mutable_spans(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >* - mutable_spans(); - const ::flyteidl::core::Span& spans(int index) const; - ::flyteidl::core::Span* add_spans(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >& - spans() const; - - // .google.protobuf.Timestamp start_time = 1; - bool has_start_time() const; - void clear_start_time(); - static const int kStartTimeFieldNumber = 1; - const ::google::protobuf::Timestamp& start_time() const; - ::google::protobuf::Timestamp* release_start_time(); - ::google::protobuf::Timestamp* mutable_start_time(); - void set_allocated_start_time(::google::protobuf::Timestamp* start_time); - - // .google.protobuf.Timestamp end_time = 2; - bool has_end_time() const; - void clear_end_time(); - static const int kEndTimeFieldNumber = 2; - const ::google::protobuf::Timestamp& end_time() const; - ::google::protobuf::Timestamp* release_end_time(); - ::google::protobuf::Timestamp* mutable_end_time(); - void set_allocated_end_time(::google::protobuf::Timestamp* end_time); - - // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - bool has_workflow_id() const; - void clear_workflow_id(); - static const int kWorkflowIdFieldNumber = 3; - const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_workflow_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_workflow_id(); - void set_allocated_workflow_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_id); - - // .flyteidl.core.NodeExecutionIdentifier node_id = 4; - bool has_node_id() const; - void clear_node_id(); - static const int kNodeIdFieldNumber = 4; - const ::flyteidl::core::NodeExecutionIdentifier& node_id() const; - ::flyteidl::core::NodeExecutionIdentifier* release_node_id(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_node_id(); - void set_allocated_node_id(::flyteidl::core::NodeExecutionIdentifier* node_id); - - // .flyteidl.core.TaskExecutionIdentifier task_id = 5; - bool has_task_id() const; - void clear_task_id(); - static const int kTaskIdFieldNumber = 5; - const ::flyteidl::core::TaskExecutionIdentifier& task_id() const; - ::flyteidl::core::TaskExecutionIdentifier* release_task_id(); - ::flyteidl::core::TaskExecutionIdentifier* mutable_task_id(); - void set_allocated_task_id(::flyteidl::core::TaskExecutionIdentifier* task_id); - - // string operation_id = 6; - private: - bool has_operation_id() const; - public: - void clear_operation_id(); - static const int kOperationIdFieldNumber = 6; - const ::std::string& operation_id() const; - void set_operation_id(const ::std::string& value); - #if LANG_CXX11 - void set_operation_id(::std::string&& value); - #endif - void set_operation_id(const char* value); - void set_operation_id(const char* value, size_t size); - ::std::string* mutable_operation_id(); - ::std::string* release_operation_id(); - void set_allocated_operation_id(::std::string* operation_id); - - void clear_id(); - IdCase id_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.Span) - private: - class HasBitSetters; - void set_has_workflow_id(); - void set_has_node_id(); - void set_has_task_id(); - void set_has_operation_id(); - - inline bool has_id() const; - inline void clear_has_id(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span > spans_; - ::google::protobuf::Timestamp* start_time_; - ::google::protobuf::Timestamp* end_time_; - union IdUnion { - IdUnion() {} - ::flyteidl::core::WorkflowExecutionIdentifier* workflow_id_; - ::flyteidl::core::NodeExecutionIdentifier* node_id_; - ::flyteidl::core::TaskExecutionIdentifier* task_id_; - ::google::protobuf::internal::ArenaStringPtr operation_id_; - } id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fmetrics_2eproto; -}; -// ------------------------------------------------------------------- - -class ExecutionMetricResult final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ExecutionMetricResult) */ { - public: - ExecutionMetricResult(); - virtual ~ExecutionMetricResult(); - - ExecutionMetricResult(const ExecutionMetricResult& from); - - inline ExecutionMetricResult& operator=(const ExecutionMetricResult& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExecutionMetricResult(ExecutionMetricResult&& from) noexcept - : ExecutionMetricResult() { - *this = ::std::move(from); - } - - inline ExecutionMetricResult& operator=(ExecutionMetricResult&& 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 ExecutionMetricResult& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExecutionMetricResult* internal_default_instance() { - return reinterpret_cast( - &_ExecutionMetricResult_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(ExecutionMetricResult* other); - friend void swap(ExecutionMetricResult& a, ExecutionMetricResult& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExecutionMetricResult* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExecutionMetricResult* 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 ExecutionMetricResult& from); - void MergeFrom(const ExecutionMetricResult& 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(ExecutionMetricResult* 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 metric = 1; - void clear_metric(); - static const int kMetricFieldNumber = 1; - const ::std::string& metric() const; - void set_metric(const ::std::string& value); - #if LANG_CXX11 - void set_metric(::std::string&& value); - #endif - void set_metric(const char* value); - void set_metric(const char* value, size_t size); - ::std::string* mutable_metric(); - ::std::string* release_metric(); - void set_allocated_metric(::std::string* metric); - - // .google.protobuf.Struct data = 2; - bool has_data() const; - void clear_data(); - static const int kDataFieldNumber = 2; - const ::google::protobuf::Struct& data() const; - ::google::protobuf::Struct* release_data(); - ::google::protobuf::Struct* mutable_data(); - void set_allocated_data(::google::protobuf::Struct* data); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ExecutionMetricResult) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr metric_; - ::google::protobuf::Struct* data_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fmetrics_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Span - -// .google.protobuf.Timestamp start_time = 1; -inline bool Span::has_start_time() const { - return this != internal_default_instance() && start_time_ != nullptr; -} -inline const ::google::protobuf::Timestamp& Span::start_time() const { - const ::google::protobuf::Timestamp* p = start_time_; - // @@protoc_insertion_point(field_get:flyteidl.core.Span.start_time) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* Span::release_start_time() { - // @@protoc_insertion_point(field_release:flyteidl.core.Span.start_time) - - ::google::protobuf::Timestamp* temp = start_time_; - start_time_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Span::mutable_start_time() { - - if (start_time_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - start_time_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.start_time) - return start_time_; -} -inline void Span::set_allocated_start_time(::google::protobuf::Timestamp* start_time) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(start_time_); - } - if (start_time) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(start_time)->GetArena(); - if (message_arena != submessage_arena) { - start_time = ::google::protobuf::internal::GetOwnedMessage( - message_arena, start_time, submessage_arena); - } - - } else { - - } - start_time_ = start_time; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.start_time) -} - -// .google.protobuf.Timestamp end_time = 2; -inline bool Span::has_end_time() const { - return this != internal_default_instance() && end_time_ != nullptr; -} -inline const ::google::protobuf::Timestamp& Span::end_time() const { - const ::google::protobuf::Timestamp* p = end_time_; - // @@protoc_insertion_point(field_get:flyteidl.core.Span.end_time) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* Span::release_end_time() { - // @@protoc_insertion_point(field_release:flyteidl.core.Span.end_time) - - ::google::protobuf::Timestamp* temp = end_time_; - end_time_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Span::mutable_end_time() { - - if (end_time_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - end_time_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.end_time) - return end_time_; -} -inline void Span::set_allocated_end_time(::google::protobuf::Timestamp* end_time) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(end_time_); - } - if (end_time) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(end_time)->GetArena(); - if (message_arena != submessage_arena) { - end_time = ::google::protobuf::internal::GetOwnedMessage( - message_arena, end_time, submessage_arena); - } - - } else { - - } - end_time_ = end_time; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.end_time) -} - -// .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; -inline bool Span::has_workflow_id() const { - return id_case() == kWorkflowId; -} -inline void Span::set_has_workflow_id() { - _oneof_case_[0] = kWorkflowId; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* Span::release_workflow_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Span.workflow_id) - if (has_workflow_id()) { - clear_has_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_.workflow_id_; - id_.workflow_id_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& Span::workflow_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Span.workflow_id) - return has_workflow_id() - ? *id_.workflow_id_ - : *reinterpret_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>(&::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* Span::mutable_workflow_id() { - if (!has_workflow_id()) { - clear_id(); - set_has_workflow_id(); - id_.workflow_id_ = CreateMaybeMessage< ::flyteidl::core::WorkflowExecutionIdentifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.workflow_id) - return id_.workflow_id_; -} - -// .flyteidl.core.NodeExecutionIdentifier node_id = 4; -inline bool Span::has_node_id() const { - return id_case() == kNodeId; -} -inline void Span::set_has_node_id() { - _oneof_case_[0] = kNodeId; -} -inline ::flyteidl::core::NodeExecutionIdentifier* Span::release_node_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Span.node_id) - if (has_node_id()) { - clear_has_id(); - ::flyteidl::core::NodeExecutionIdentifier* temp = id_.node_id_; - id_.node_id_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::NodeExecutionIdentifier& Span::node_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Span.node_id) - return has_node_id() - ? *id_.node_id_ - : *reinterpret_cast< ::flyteidl::core::NodeExecutionIdentifier*>(&::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* Span::mutable_node_id() { - if (!has_node_id()) { - clear_id(); - set_has_node_id(); - id_.node_id_ = CreateMaybeMessage< ::flyteidl::core::NodeExecutionIdentifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.node_id) - return id_.node_id_; -} - -// .flyteidl.core.TaskExecutionIdentifier task_id = 5; -inline bool Span::has_task_id() const { - return id_case() == kTaskId; -} -inline void Span::set_has_task_id() { - _oneof_case_[0] = kTaskId; -} -inline ::flyteidl::core::TaskExecutionIdentifier* Span::release_task_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Span.task_id) - if (has_task_id()) { - clear_has_id(); - ::flyteidl::core::TaskExecutionIdentifier* temp = id_.task_id_; - id_.task_id_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::TaskExecutionIdentifier& Span::task_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Span.task_id) - return has_task_id() - ? *id_.task_id_ - : *reinterpret_cast< ::flyteidl::core::TaskExecutionIdentifier*>(&::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* Span::mutable_task_id() { - if (!has_task_id()) { - clear_id(); - set_has_task_id(); - id_.task_id_ = CreateMaybeMessage< ::flyteidl::core::TaskExecutionIdentifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.task_id) - return id_.task_id_; -} - -// string operation_id = 6; -inline bool Span::has_operation_id() const { - return id_case() == kOperationId; -} -inline void Span::set_has_operation_id() { - _oneof_case_[0] = kOperationId; -} -inline void Span::clear_operation_id() { - if (has_operation_id()) { - id_.operation_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_id(); - } -} -inline const ::std::string& Span::operation_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Span.operation_id) - if (has_operation_id()) { - return id_.operation_id_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Span::set_operation_id(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Span.operation_id) - if (!has_operation_id()) { - clear_id(); - set_has_operation_id(); - id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Span.operation_id) -} -#if LANG_CXX11 -inline void Span::set_operation_id(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Span.operation_id) - if (!has_operation_id()) { - clear_id(); - set_has_operation_id(); - id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Span.operation_id) -} -#endif -inline void Span::set_operation_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_operation_id()) { - clear_id(); - set_has_operation_id(); - id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Span.operation_id) -} -inline void Span::set_operation_id(const char* value, size_t size) { - if (!has_operation_id()) { - clear_id(); - set_has_operation_id(); - id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Span.operation_id) -} -inline ::std::string* Span::mutable_operation_id() { - if (!has_operation_id()) { - clear_id(); - set_has_operation_id(); - id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.operation_id) - return id_.operation_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Span::release_operation_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Span.operation_id) - if (has_operation_id()) { - clear_has_id(); - return id_.operation_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void Span::set_allocated_operation_id(::std::string* operation_id) { - if (has_id()) { - clear_id(); - } - if (operation_id != nullptr) { - set_has_operation_id(); - id_.operation_id_.UnsafeSetDefault(operation_id); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.operation_id) -} - -// repeated .flyteidl.core.Span spans = 7; -inline int Span::spans_size() const { - return spans_.size(); -} -inline void Span::clear_spans() { - spans_.Clear(); -} -inline ::flyteidl::core::Span* Span::mutable_spans(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.spans) - return spans_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >* -Span::mutable_spans() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Span.spans) - return &spans_; -} -inline const ::flyteidl::core::Span& Span::spans(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Span.spans) - return spans_.Get(index); -} -inline ::flyteidl::core::Span* Span::add_spans() { - // @@protoc_insertion_point(field_add:flyteidl.core.Span.spans) - return spans_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >& -Span::spans() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Span.spans) - return spans_; -} - -inline bool Span::has_id() const { - return id_case() != ID_NOT_SET; -} -inline void Span::clear_has_id() { - _oneof_case_[0] = ID_NOT_SET; -} -inline Span::IdCase Span::id_case() const { - return Span::IdCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ExecutionMetricResult - -// string metric = 1; -inline void ExecutionMetricResult::clear_metric() { - metric_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExecutionMetricResult::metric() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ExecutionMetricResult.metric) - return metric_.GetNoArena(); -} -inline void ExecutionMetricResult::set_metric(const ::std::string& value) { - - metric_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ExecutionMetricResult.metric) -} -#if LANG_CXX11 -inline void ExecutionMetricResult::set_metric(::std::string&& value) { - - metric_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ExecutionMetricResult.metric) -} -#endif -inline void ExecutionMetricResult::set_metric(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - metric_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ExecutionMetricResult.metric) -} -inline void ExecutionMetricResult::set_metric(const char* value, size_t size) { - - metric_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ExecutionMetricResult.metric) -} -inline ::std::string* ExecutionMetricResult::mutable_metric() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ExecutionMetricResult.metric) - return metric_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExecutionMetricResult::release_metric() { - // @@protoc_insertion_point(field_release:flyteidl.core.ExecutionMetricResult.metric) - - return metric_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExecutionMetricResult::set_allocated_metric(::std::string* metric) { - if (metric != nullptr) { - - } else { - - } - metric_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), metric); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ExecutionMetricResult.metric) -} - -// .google.protobuf.Struct data = 2; -inline bool ExecutionMetricResult::has_data() const { - return this != internal_default_instance() && data_ != nullptr; -} -inline const ::google::protobuf::Struct& ExecutionMetricResult::data() const { - const ::google::protobuf::Struct* p = data_; - // @@protoc_insertion_point(field_get:flyteidl.core.ExecutionMetricResult.data) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* ExecutionMetricResult::release_data() { - // @@protoc_insertion_point(field_release:flyteidl.core.ExecutionMetricResult.data) - - ::google::protobuf::Struct* temp = data_; - data_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* ExecutionMetricResult::mutable_data() { - - if (data_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ExecutionMetricResult.data) - return data_; -} -inline void ExecutionMetricResult::set_allocated_data(::google::protobuf::Struct* data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(data_); - } - if (data) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(data)->GetArena(); - if (message_arena != submessage_arena) { - data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - - } else { - - } - data_ = data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ExecutionMetricResult.data) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fmetrics_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/security.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/security.grpc.pb.cc deleted file mode 100644 index 8260e8bed5..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/security.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/security.proto - -#include "flyteidl/core/security.pb.h" -#include "flyteidl/core/security.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/security.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/security.grpc.pb.h deleted file mode 100644 index 2bac085949..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/security.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/security.proto -#ifndef GRPC_flyteidl_2fcore_2fsecurity_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fsecurity_2eproto__INCLUDED - -#include "flyteidl/core/security.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fsecurity_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/security.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/security.pb.cc deleted file mode 100644 index a429955ef2..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/security.pb.cc +++ /dev/null @@ -1,2641 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/security.proto - -#include "flyteidl/core/security.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Secret_flyteidl_2fcore_2fsecurity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Identity_flyteidl_2fcore_2fsecurity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_OAuth2Client_flyteidl_2fcore_2fsecurity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_OAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto; -namespace flyteidl { -namespace core { -class SecretDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Secret_default_instance_; -class OAuth2ClientDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _OAuth2Client_default_instance_; -class IdentityDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Identity_default_instance_; -class OAuth2TokenRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _OAuth2TokenRequest_default_instance_; -class SecurityContextDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SecurityContext_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsSecret_flyteidl_2fcore_2fsecurity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Secret_default_instance_; - new (ptr) ::flyteidl::core::Secret(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Secret::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Secret_flyteidl_2fcore_2fsecurity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSecret_flyteidl_2fcore_2fsecurity_2eproto}, {}}; - -static void InitDefaultsOAuth2Client_flyteidl_2fcore_2fsecurity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_OAuth2Client_default_instance_; - new (ptr) ::flyteidl::core::OAuth2Client(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::OAuth2Client::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_OAuth2Client_flyteidl_2fcore_2fsecurity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsOAuth2Client_flyteidl_2fcore_2fsecurity_2eproto}, { - &scc_info_Secret_flyteidl_2fcore_2fsecurity_2eproto.base,}}; - -static void InitDefaultsIdentity_flyteidl_2fcore_2fsecurity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Identity_default_instance_; - new (ptr) ::flyteidl::core::Identity(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Identity::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Identity_flyteidl_2fcore_2fsecurity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsIdentity_flyteidl_2fcore_2fsecurity_2eproto}, { - &scc_info_OAuth2Client_flyteidl_2fcore_2fsecurity_2eproto.base,}}; - -static void InitDefaultsOAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_OAuth2TokenRequest_default_instance_; - new (ptr) ::flyteidl::core::OAuth2TokenRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::OAuth2TokenRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_OAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsOAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto}, { - &scc_info_OAuth2Client_flyteidl_2fcore_2fsecurity_2eproto.base,}}; - -static void InitDefaultsSecurityContext_flyteidl_2fcore_2fsecurity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_SecurityContext_default_instance_; - new (ptr) ::flyteidl::core::SecurityContext(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::SecurityContext::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsSecurityContext_flyteidl_2fcore_2fsecurity_2eproto}, { - &scc_info_Identity_flyteidl_2fcore_2fsecurity_2eproto.base, - &scc_info_Secret_flyteidl_2fcore_2fsecurity_2eproto.base, - &scc_info_OAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fsecurity_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Secret_flyteidl_2fcore_2fsecurity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_OAuth2Client_flyteidl_2fcore_2fsecurity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Identity_flyteidl_2fcore_2fsecurity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_OAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fsecurity_2eproto[5]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2fsecurity_2eproto[2]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fsecurity_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fsecurity_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Secret, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Secret, group_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Secret, group_version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Secret, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Secret, mount_requirement_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2Client, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2Client, client_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2Client, client_secret_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, iam_role_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, k8s_service_account_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, oauth2_client_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, execution_identity_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2TokenRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2TokenRequest, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2TokenRequest, type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2TokenRequest, client_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2TokenRequest, idp_discovery_endpoint_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2TokenRequest, token_endpoint_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SecurityContext, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SecurityContext, run_as_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SecurityContext, secrets_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SecurityContext, tokens_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::Secret)}, - { 9, -1, sizeof(::flyteidl::core::OAuth2Client)}, - { 16, -1, sizeof(::flyteidl::core::Identity)}, - { 25, -1, sizeof(::flyteidl::core::OAuth2TokenRequest)}, - { 35, -1, sizeof(::flyteidl::core::SecurityContext)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_Secret_default_instance_), - reinterpret_cast(&::flyteidl::core::_OAuth2Client_default_instance_), - reinterpret_cast(&::flyteidl::core::_Identity_default_instance_), - reinterpret_cast(&::flyteidl::core::_OAuth2TokenRequest_default_instance_), - reinterpret_cast(&::flyteidl::core::_SecurityContext_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto, "flyteidl/core/security.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fsecurity_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fsecurity_2eproto, 5, file_level_enum_descriptors_flyteidl_2fcore_2fsecurity_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fsecurity_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fsecurity_2eproto[] = - "\n\034flyteidl/core/security.proto\022\rflyteidl" - ".core\"\244\001\n\006Secret\022\r\n\005group\030\001 \001(\t\022\025\n\rgroup" - "_version\030\002 \001(\t\022\013\n\003key\030\003 \001(\t\022:\n\021mount_req" - "uirement\030\004 \001(\0162\037.flyteidl.core.Secret.Mo" - "untType\"+\n\tMountType\022\007\n\003ANY\020\000\022\013\n\007ENV_VAR" - "\020\001\022\010\n\004FILE\020\002\"O\n\014OAuth2Client\022\021\n\tclient_i" - "d\030\001 \001(\t\022,\n\rclient_secret\030\002 \001(\0132\025.flyteid" - "l.core.Secret\"\211\001\n\010Identity\022\020\n\010iam_role\030\001" - " \001(\t\022\033\n\023k8s_service_account\030\002 \001(\t\0222\n\roau" - "th2_client\030\003 \001(\0132\033.flyteidl.core.OAuth2C" - "lient\022\032\n\022execution_identity\030\004 \001(\t\"\335\001\n\022OA" - "uth2TokenRequest\022\014\n\004name\030\001 \001(\t\0224\n\004type\030\002" - " \001(\0162&.flyteidl.core.OAuth2TokenRequest." - "Type\022+\n\006client\030\003 \001(\0132\033.flyteidl.core.OAu" - "th2Client\022\036\n\026idp_discovery_endpoint\030\004 \001(" - "\t\022\026\n\016token_endpoint\030\005 \001(\t\"\036\n\004Type\022\026\n\022CLI" - "ENT_CREDENTIALS\020\000\"\225\001\n\017SecurityContext\022\'\n" - "\006run_as\030\001 \001(\0132\027.flyteidl.core.Identity\022&" - "\n\007secrets\030\002 \003(\0132\025.flyteidl.core.Secret\0221" - "\n\006tokens\030\003 \003(\0132!.flyteidl.core.OAuth2Tok" - "enRequestB= 1900 -const Secret_MountType Secret::ANY; -const Secret_MountType Secret::ENV_VAR; -const Secret_MountType Secret::FILE; -const Secret_MountType Secret::MountType_MIN; -const Secret_MountType Secret::MountType_MAX; -const int Secret::MountType_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* OAuth2TokenRequest_Type_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2fsecurity_2eproto[1]; -} -bool OAuth2TokenRequest_Type_IsValid(int value) { - switch (value) { - case 0: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const OAuth2TokenRequest_Type OAuth2TokenRequest::CLIENT_CREDENTIALS; -const OAuth2TokenRequest_Type OAuth2TokenRequest::Type_MIN; -const OAuth2TokenRequest_Type OAuth2TokenRequest::Type_MAX; -const int OAuth2TokenRequest::Type_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void Secret::InitAsDefaultInstance() { -} -class Secret::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Secret::kGroupFieldNumber; -const int Secret::kGroupVersionFieldNumber; -const int Secret::kKeyFieldNumber; -const int Secret::kMountRequirementFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Secret::Secret() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Secret) -} -Secret::Secret(const Secret& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.group().size() > 0) { - group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.group_); - } - group_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.group_version().size() > 0) { - group_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.group_version_); - } - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.key().size() > 0) { - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - mount_requirement_ = from.mount_requirement_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Secret) -} - -void Secret::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Secret_flyteidl_2fcore_2fsecurity_2eproto.base); - group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - group_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - mount_requirement_ = 0; -} - -Secret::~Secret() { - // @@protoc_insertion_point(destructor:flyteidl.core.Secret) - SharedDtor(); -} - -void Secret::SharedDtor() { - group_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - group_version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Secret::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Secret& Secret::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Secret_flyteidl_2fcore_2fsecurity_2eproto.base); - return *internal_default_instance(); -} - - -void Secret::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Secret) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - group_version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - mount_requirement_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Secret::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string group = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Secret.group"); - object = msg->mutable_group(); - 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 group_version = 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.Secret.group_version"); - object = msg->mutable_group_version(); - 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 key = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Secret.key"); - object = msg->mutable_key(); - 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.Secret.MountType mount_requirement = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_mount_requirement(static_cast<::flyteidl::core::Secret_MountType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 Secret::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.Secret) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string group = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_group())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group().data(), static_cast(this->group().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Secret.group")); - } else { - goto handle_unusual; - } - break; - } - - // string group_version = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_group_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group_version().data(), static_cast(this->group_version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Secret.group_version")); - } else { - goto handle_unusual; - } - break; - } - - // string key = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Secret.key")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Secret.MountType mount_requirement = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_mount_requirement(static_cast< ::flyteidl::core::Secret_MountType >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Secret) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Secret) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Secret::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Secret) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string group = 1; - if (this->group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group().data(), static_cast(this->group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Secret.group"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->group(), output); - } - - // string group_version = 2; - if (this->group_version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group_version().data(), static_cast(this->group_version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Secret.group_version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->group_version(), output); - } - - // string key = 3; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Secret.key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->key(), output); - } - - // .flyteidl.core.Secret.MountType mount_requirement = 4; - if (this->mount_requirement() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->mount_requirement(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Secret) -} - -::google::protobuf::uint8* Secret::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Secret) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string group = 1; - if (this->group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group().data(), static_cast(this->group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Secret.group"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->group(), target); - } - - // string group_version = 2; - if (this->group_version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group_version().data(), static_cast(this->group_version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Secret.group_version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->group_version(), target); - } - - // string key = 3; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Secret.key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->key(), target); - } - - // .flyteidl.core.Secret.MountType mount_requirement = 4; - if (this->mount_requirement() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->mount_requirement(), 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.Secret) - return target; -} - -size_t Secret::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Secret) - 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 group = 1; - if (this->group().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->group()); - } - - // string group_version = 2; - if (this->group_version().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->group_version()); - } - - // string key = 3; - if (this->key().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } - - // .flyteidl.core.Secret.MountType mount_requirement = 4; - if (this->mount_requirement() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->mount_requirement()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Secret::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Secret) - GOOGLE_DCHECK_NE(&from, this); - const Secret* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Secret) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Secret) - MergeFrom(*source); - } -} - -void Secret::MergeFrom(const Secret& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Secret) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.group().size() > 0) { - - group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.group_); - } - if (from.group_version().size() > 0) { - - group_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.group_version_); - } - if (from.key().size() > 0) { - - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - if (from.mount_requirement() != 0) { - set_mount_requirement(from.mount_requirement()); - } -} - -void Secret::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Secret) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Secret::CopyFrom(const Secret& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Secret) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Secret::IsInitialized() const { - return true; -} - -void Secret::Swap(Secret* other) { - if (other == this) return; - InternalSwap(other); -} -void Secret::InternalSwap(Secret* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - group_.Swap(&other->group_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - group_version_.Swap(&other->group_version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - key_.Swap(&other->key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(mount_requirement_, other->mount_requirement_); -} - -::google::protobuf::Metadata Secret::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fsecurity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void OAuth2Client::InitAsDefaultInstance() { - ::flyteidl::core::_OAuth2Client_default_instance_._instance.get_mutable()->client_secret_ = const_cast< ::flyteidl::core::Secret*>( - ::flyteidl::core::Secret::internal_default_instance()); -} -class OAuth2Client::HasBitSetters { - public: - static const ::flyteidl::core::Secret& client_secret(const OAuth2Client* msg); -}; - -const ::flyteidl::core::Secret& -OAuth2Client::HasBitSetters::client_secret(const OAuth2Client* msg) { - return *msg->client_secret_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int OAuth2Client::kClientIdFieldNumber; -const int OAuth2Client::kClientSecretFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -OAuth2Client::OAuth2Client() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.OAuth2Client) -} -OAuth2Client::OAuth2Client(const OAuth2Client& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - client_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.client_id().size() > 0) { - client_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.client_id_); - } - if (from.has_client_secret()) { - client_secret_ = new ::flyteidl::core::Secret(*from.client_secret_); - } else { - client_secret_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.OAuth2Client) -} - -void OAuth2Client::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_OAuth2Client_flyteidl_2fcore_2fsecurity_2eproto.base); - client_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - client_secret_ = nullptr; -} - -OAuth2Client::~OAuth2Client() { - // @@protoc_insertion_point(destructor:flyteidl.core.OAuth2Client) - SharedDtor(); -} - -void OAuth2Client::SharedDtor() { - client_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete client_secret_; -} - -void OAuth2Client::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const OAuth2Client& OAuth2Client::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_OAuth2Client_flyteidl_2fcore_2fsecurity_2eproto.base); - return *internal_default_instance(); -} - - -void OAuth2Client::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.OAuth2Client) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - client_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && client_secret_ != nullptr) { - delete client_secret_; - } - client_secret_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* OAuth2Client::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string client_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.OAuth2Client.client_id"); - object = msg->mutable_client_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; - } - // .flyteidl.core.Secret client_secret = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Secret::_InternalParse; - object = msg->mutable_client_secret(); - 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 OAuth2Client::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.OAuth2Client) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string client_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_client_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->client_id().data(), static_cast(this->client_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.OAuth2Client.client_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Secret client_secret = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_client_secret())); - } 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.OAuth2Client) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.OAuth2Client) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void OAuth2Client::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.OAuth2Client) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string client_id = 1; - if (this->client_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->client_id().data(), static_cast(this->client_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2Client.client_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->client_id(), output); - } - - // .flyteidl.core.Secret client_secret = 2; - if (this->has_client_secret()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::client_secret(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.OAuth2Client) -} - -::google::protobuf::uint8* OAuth2Client::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.OAuth2Client) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string client_id = 1; - if (this->client_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->client_id().data(), static_cast(this->client_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2Client.client_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->client_id(), target); - } - - // .flyteidl.core.Secret client_secret = 2; - if (this->has_client_secret()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::client_secret(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.OAuth2Client) - return target; -} - -size_t OAuth2Client::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.OAuth2Client) - 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 client_id = 1; - if (this->client_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->client_id()); - } - - // .flyteidl.core.Secret client_secret = 2; - if (this->has_client_secret()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *client_secret_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void OAuth2Client::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.OAuth2Client) - GOOGLE_DCHECK_NE(&from, this); - const OAuth2Client* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.OAuth2Client) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.OAuth2Client) - MergeFrom(*source); - } -} - -void OAuth2Client::MergeFrom(const OAuth2Client& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.OAuth2Client) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.client_id().size() > 0) { - - client_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.client_id_); - } - if (from.has_client_secret()) { - mutable_client_secret()->::flyteidl::core::Secret::MergeFrom(from.client_secret()); - } -} - -void OAuth2Client::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.OAuth2Client) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void OAuth2Client::CopyFrom(const OAuth2Client& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.OAuth2Client) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OAuth2Client::IsInitialized() const { - return true; -} - -void OAuth2Client::Swap(OAuth2Client* other) { - if (other == this) return; - InternalSwap(other); -} -void OAuth2Client::InternalSwap(OAuth2Client* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - client_id_.Swap(&other->client_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(client_secret_, other->client_secret_); -} - -::google::protobuf::Metadata OAuth2Client::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fsecurity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Identity::InitAsDefaultInstance() { - ::flyteidl::core::_Identity_default_instance_._instance.get_mutable()->oauth2_client_ = const_cast< ::flyteidl::core::OAuth2Client*>( - ::flyteidl::core::OAuth2Client::internal_default_instance()); -} -class Identity::HasBitSetters { - public: - static const ::flyteidl::core::OAuth2Client& oauth2_client(const Identity* msg); -}; - -const ::flyteidl::core::OAuth2Client& -Identity::HasBitSetters::oauth2_client(const Identity* msg) { - return *msg->oauth2_client_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Identity::kIamRoleFieldNumber; -const int Identity::kK8SServiceAccountFieldNumber; -const int Identity::kOauth2ClientFieldNumber; -const int Identity::kExecutionIdentityFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Identity::Identity() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Identity) -} -Identity::Identity(const Identity& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - iam_role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.iam_role().size() > 0) { - iam_role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.iam_role_); - } - k8s_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.k8s_service_account().size() > 0) { - k8s_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.k8s_service_account_); - } - execution_identity_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.execution_identity().size() > 0) { - execution_identity_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.execution_identity_); - } - if (from.has_oauth2_client()) { - oauth2_client_ = new ::flyteidl::core::OAuth2Client(*from.oauth2_client_); - } else { - oauth2_client_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Identity) -} - -void Identity::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Identity_flyteidl_2fcore_2fsecurity_2eproto.base); - iam_role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - k8s_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - execution_identity_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - oauth2_client_ = nullptr; -} - -Identity::~Identity() { - // @@protoc_insertion_point(destructor:flyteidl.core.Identity) - SharedDtor(); -} - -void Identity::SharedDtor() { - iam_role_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - k8s_service_account_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - execution_identity_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete oauth2_client_; -} - -void Identity::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Identity& Identity::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Identity_flyteidl_2fcore_2fsecurity_2eproto.base); - return *internal_default_instance(); -} - - -void Identity::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Identity) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - iam_role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - k8s_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - execution_identity_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && oauth2_client_ != nullptr) { - delete oauth2_client_; - } - oauth2_client_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Identity::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string iam_role = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Identity.iam_role"); - object = msg->mutable_iam_role(); - 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 k8s_service_account = 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.Identity.k8s_service_account"); - object = msg->mutable_k8s_service_account(); - 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.OAuth2Client oauth2_client = 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::OAuth2Client::_InternalParse; - object = msg->mutable_oauth2_client(); - 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 execution_identity = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Identity.execution_identity"); - object = msg->mutable_execution_identity(); - 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 Identity::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.Identity) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string iam_role = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_iam_role())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->iam_role().data(), static_cast(this->iam_role().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identity.iam_role")); - } else { - goto handle_unusual; - } - break; - } - - // string k8s_service_account = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_k8s_service_account())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->k8s_service_account().data(), static_cast(this->k8s_service_account().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identity.k8s_service_account")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.OAuth2Client oauth2_client = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_oauth2_client())); - } else { - goto handle_unusual; - } - break; - } - - // string execution_identity = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_execution_identity())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->execution_identity().data(), static_cast(this->execution_identity().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Identity.execution_identity")); - } 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.Identity) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Identity) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Identity::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Identity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string iam_role = 1; - if (this->iam_role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->iam_role().data(), static_cast(this->iam_role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identity.iam_role"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->iam_role(), output); - } - - // string k8s_service_account = 2; - if (this->k8s_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->k8s_service_account().data(), static_cast(this->k8s_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identity.k8s_service_account"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->k8s_service_account(), output); - } - - // .flyteidl.core.OAuth2Client oauth2_client = 3; - if (this->has_oauth2_client()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::oauth2_client(this), output); - } - - // string execution_identity = 4; - if (this->execution_identity().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->execution_identity().data(), static_cast(this->execution_identity().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identity.execution_identity"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->execution_identity(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Identity) -} - -::google::protobuf::uint8* Identity::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Identity) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string iam_role = 1; - if (this->iam_role().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->iam_role().data(), static_cast(this->iam_role().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identity.iam_role"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->iam_role(), target); - } - - // string k8s_service_account = 2; - if (this->k8s_service_account().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->k8s_service_account().data(), static_cast(this->k8s_service_account().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identity.k8s_service_account"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->k8s_service_account(), target); - } - - // .flyteidl.core.OAuth2Client oauth2_client = 3; - if (this->has_oauth2_client()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::oauth2_client(this), target); - } - - // string execution_identity = 4; - if (this->execution_identity().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->execution_identity().data(), static_cast(this->execution_identity().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Identity.execution_identity"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->execution_identity(), 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.Identity) - return target; -} - -size_t Identity::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Identity) - 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 iam_role = 1; - if (this->iam_role().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->iam_role()); - } - - // string k8s_service_account = 2; - if (this->k8s_service_account().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->k8s_service_account()); - } - - // string execution_identity = 4; - if (this->execution_identity().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->execution_identity()); - } - - // .flyteidl.core.OAuth2Client oauth2_client = 3; - if (this->has_oauth2_client()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *oauth2_client_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Identity::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Identity) - GOOGLE_DCHECK_NE(&from, this); - const Identity* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Identity) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Identity) - MergeFrom(*source); - } -} - -void Identity::MergeFrom(const Identity& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Identity) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.iam_role().size() > 0) { - - iam_role_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.iam_role_); - } - if (from.k8s_service_account().size() > 0) { - - k8s_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.k8s_service_account_); - } - if (from.execution_identity().size() > 0) { - - execution_identity_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.execution_identity_); - } - if (from.has_oauth2_client()) { - mutable_oauth2_client()->::flyteidl::core::OAuth2Client::MergeFrom(from.oauth2_client()); - } -} - -void Identity::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Identity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Identity::CopyFrom(const Identity& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Identity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Identity::IsInitialized() const { - return true; -} - -void Identity::Swap(Identity* other) { - if (other == this) return; - InternalSwap(other); -} -void Identity::InternalSwap(Identity* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - iam_role_.Swap(&other->iam_role_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - k8s_service_account_.Swap(&other->k8s_service_account_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - execution_identity_.Swap(&other->execution_identity_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(oauth2_client_, other->oauth2_client_); -} - -::google::protobuf::Metadata Identity::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fsecurity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void OAuth2TokenRequest::InitAsDefaultInstance() { - ::flyteidl::core::_OAuth2TokenRequest_default_instance_._instance.get_mutable()->client_ = const_cast< ::flyteidl::core::OAuth2Client*>( - ::flyteidl::core::OAuth2Client::internal_default_instance()); -} -class OAuth2TokenRequest::HasBitSetters { - public: - static const ::flyteidl::core::OAuth2Client& client(const OAuth2TokenRequest* msg); -}; - -const ::flyteidl::core::OAuth2Client& -OAuth2TokenRequest::HasBitSetters::client(const OAuth2TokenRequest* msg) { - return *msg->client_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int OAuth2TokenRequest::kNameFieldNumber; -const int OAuth2TokenRequest::kTypeFieldNumber; -const int OAuth2TokenRequest::kClientFieldNumber; -const int OAuth2TokenRequest::kIdpDiscoveryEndpointFieldNumber; -const int OAuth2TokenRequest::kTokenEndpointFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -OAuth2TokenRequest::OAuth2TokenRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.OAuth2TokenRequest) -} -OAuth2TokenRequest::OAuth2TokenRequest(const OAuth2TokenRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - idp_discovery_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.idp_discovery_endpoint().size() > 0) { - idp_discovery_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.idp_discovery_endpoint_); - } - token_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token_endpoint().size() > 0) { - token_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_endpoint_); - } - if (from.has_client()) { - client_ = new ::flyteidl::core::OAuth2Client(*from.client_); - } else { - client_ = nullptr; - } - type_ = from.type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.OAuth2TokenRequest) -} - -void OAuth2TokenRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_OAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - idp_discovery_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&client_, 0, static_cast( - reinterpret_cast(&type_) - - reinterpret_cast(&client_)) + sizeof(type_)); -} - -OAuth2TokenRequest::~OAuth2TokenRequest() { - // @@protoc_insertion_point(destructor:flyteidl.core.OAuth2TokenRequest) - SharedDtor(); -} - -void OAuth2TokenRequest::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - idp_discovery_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete client_; -} - -void OAuth2TokenRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const OAuth2TokenRequest& OAuth2TokenRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_OAuth2TokenRequest_flyteidl_2fcore_2fsecurity_2eproto.base); - return *internal_default_instance(); -} - - -void OAuth2TokenRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.OAuth2TokenRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - idp_discovery_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && client_ != nullptr) { - delete client_; - } - client_ = nullptr; - type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* OAuth2TokenRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.OAuth2TokenRequest.name"); - object = msg->mutable_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; - } - // .flyteidl.core.OAuth2TokenRequest.Type type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_type(static_cast<::flyteidl::core::OAuth2TokenRequest_Type>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.OAuth2Client client = 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::OAuth2Client::_InternalParse; - object = msg->mutable_client(); - 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 idp_discovery_endpoint = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint"); - object = msg->mutable_idp_discovery_endpoint(); - 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 token_endpoint = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.OAuth2TokenRequest.token_endpoint"); - object = msg->mutable_token_endpoint(); - 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 OAuth2TokenRequest::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.OAuth2TokenRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.OAuth2TokenRequest.name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.OAuth2TokenRequest.Type type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_type(static_cast< ::flyteidl::core::OAuth2TokenRequest_Type >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.OAuth2Client client = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_client())); - } else { - goto handle_unusual; - } - break; - } - - // string idp_discovery_endpoint = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_idp_discovery_endpoint())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->idp_discovery_endpoint().data(), static_cast(this->idp_discovery_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint")); - } else { - goto handle_unusual; - } - break; - } - - // string token_endpoint = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token_endpoint())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint().data(), static_cast(this->token_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.OAuth2TokenRequest.token_endpoint")); - } 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.OAuth2TokenRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.OAuth2TokenRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void OAuth2TokenRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.OAuth2TokenRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2TokenRequest.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // .flyteidl.core.OAuth2TokenRequest.Type type = 2; - if (this->type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->type(), output); - } - - // .flyteidl.core.OAuth2Client client = 3; - if (this->has_client()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::client(this), output); - } - - // string idp_discovery_endpoint = 4; - if (this->idp_discovery_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->idp_discovery_endpoint().data(), static_cast(this->idp_discovery_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->idp_discovery_endpoint(), output); - } - - // string token_endpoint = 5; - if (this->token_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint().data(), static_cast(this->token_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2TokenRequest.token_endpoint"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->token_endpoint(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.OAuth2TokenRequest) -} - -::google::protobuf::uint8* OAuth2TokenRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.OAuth2TokenRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2TokenRequest.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // .flyteidl.core.OAuth2TokenRequest.Type type = 2; - if (this->type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->type(), target); - } - - // .flyteidl.core.OAuth2Client client = 3; - if (this->has_client()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::client(this), target); - } - - // string idp_discovery_endpoint = 4; - if (this->idp_discovery_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->idp_discovery_endpoint().data(), static_cast(this->idp_discovery_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->idp_discovery_endpoint(), target); - } - - // string token_endpoint = 5; - if (this->token_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint().data(), static_cast(this->token_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OAuth2TokenRequest.token_endpoint"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->token_endpoint(), 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.OAuth2TokenRequest) - return target; -} - -size_t OAuth2TokenRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.OAuth2TokenRequest) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string idp_discovery_endpoint = 4; - if (this->idp_discovery_endpoint().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->idp_discovery_endpoint()); - } - - // string token_endpoint = 5; - if (this->token_endpoint().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token_endpoint()); - } - - // .flyteidl.core.OAuth2Client client = 3; - if (this->has_client()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *client_); - } - - // .flyteidl.core.OAuth2TokenRequest.Type type = 2; - if (this->type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void OAuth2TokenRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.OAuth2TokenRequest) - GOOGLE_DCHECK_NE(&from, this); - const OAuth2TokenRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.OAuth2TokenRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.OAuth2TokenRequest) - MergeFrom(*source); - } -} - -void OAuth2TokenRequest::MergeFrom(const OAuth2TokenRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.OAuth2TokenRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.idp_discovery_endpoint().size() > 0) { - - idp_discovery_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.idp_discovery_endpoint_); - } - if (from.token_endpoint().size() > 0) { - - token_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_endpoint_); - } - if (from.has_client()) { - mutable_client()->::flyteidl::core::OAuth2Client::MergeFrom(from.client()); - } - if (from.type() != 0) { - set_type(from.type()); - } -} - -void OAuth2TokenRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.OAuth2TokenRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void OAuth2TokenRequest::CopyFrom(const OAuth2TokenRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.OAuth2TokenRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OAuth2TokenRequest::IsInitialized() const { - return true; -} - -void OAuth2TokenRequest::Swap(OAuth2TokenRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void OAuth2TokenRequest::InternalSwap(OAuth2TokenRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - idp_discovery_endpoint_.Swap(&other->idp_discovery_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - token_endpoint_.Swap(&other->token_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(client_, other->client_); - swap(type_, other->type_); -} - -::google::protobuf::Metadata OAuth2TokenRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fsecurity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SecurityContext::InitAsDefaultInstance() { - ::flyteidl::core::_SecurityContext_default_instance_._instance.get_mutable()->run_as_ = const_cast< ::flyteidl::core::Identity*>( - ::flyteidl::core::Identity::internal_default_instance()); -} -class SecurityContext::HasBitSetters { - public: - static const ::flyteidl::core::Identity& run_as(const SecurityContext* msg); -}; - -const ::flyteidl::core::Identity& -SecurityContext::HasBitSetters::run_as(const SecurityContext* msg) { - return *msg->run_as_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SecurityContext::kRunAsFieldNumber; -const int SecurityContext::kSecretsFieldNumber; -const int SecurityContext::kTokensFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SecurityContext::SecurityContext() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.SecurityContext) -} -SecurityContext::SecurityContext(const SecurityContext& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - secrets_(from.secrets_), - tokens_(from.tokens_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_run_as()) { - run_as_ = new ::flyteidl::core::Identity(*from.run_as_); - } else { - run_as_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.SecurityContext) -} - -void SecurityContext::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base); - run_as_ = nullptr; -} - -SecurityContext::~SecurityContext() { - // @@protoc_insertion_point(destructor:flyteidl.core.SecurityContext) - SharedDtor(); -} - -void SecurityContext::SharedDtor() { - if (this != internal_default_instance()) delete run_as_; -} - -void SecurityContext::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SecurityContext& SecurityContext::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base); - return *internal_default_instance(); -} - - -void SecurityContext::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.SecurityContext) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - secrets_.Clear(); - tokens_.Clear(); - if (GetArenaNoVirtual() == nullptr && run_as_ != nullptr) { - delete run_as_; - } - run_as_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SecurityContext::_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.Identity run_as = 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::Identity::_InternalParse; - object = msg->mutable_run_as(); - 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; - } - // repeated .flyteidl.core.Secret secrets = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Secret::_InternalParse; - object = msg->add_secrets(); - 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) == 18 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::OAuth2TokenRequest::_InternalParse; - object = msg->add_tokens(); - 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) == 26 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool SecurityContext::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.SecurityContext) - 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.Identity run_as = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_run_as())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Secret secrets = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_secrets())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_tokens())); - } 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.SecurityContext) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.SecurityContext) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SecurityContext::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.SecurityContext) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identity run_as = 1; - if (this->has_run_as()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::run_as(this), output); - } - - // repeated .flyteidl.core.Secret secrets = 2; - for (unsigned int i = 0, - n = static_cast(this->secrets_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->secrets(static_cast(i)), - output); - } - - // repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - for (unsigned int i = 0, - n = static_cast(this->tokens_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->tokens(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.SecurityContext) -} - -::google::protobuf::uint8* SecurityContext::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.SecurityContext) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identity run_as = 1; - if (this->has_run_as()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::run_as(this), target); - } - - // repeated .flyteidl.core.Secret secrets = 2; - for (unsigned int i = 0, - n = static_cast(this->secrets_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->secrets(static_cast(i)), target); - } - - // repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - for (unsigned int i = 0, - n = static_cast(this->tokens_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->tokens(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.SecurityContext) - return target; -} - -size_t SecurityContext::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.SecurityContext) - 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.Secret secrets = 2; - { - unsigned int count = static_cast(this->secrets_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->secrets(static_cast(i))); - } - } - - // repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - { - unsigned int count = static_cast(this->tokens_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->tokens(static_cast(i))); - } - } - - // .flyteidl.core.Identity run_as = 1; - if (this->has_run_as()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *run_as_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SecurityContext::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.SecurityContext) - GOOGLE_DCHECK_NE(&from, this); - const SecurityContext* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.SecurityContext) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.SecurityContext) - MergeFrom(*source); - } -} - -void SecurityContext::MergeFrom(const SecurityContext& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.SecurityContext) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - secrets_.MergeFrom(from.secrets_); - tokens_.MergeFrom(from.tokens_); - if (from.has_run_as()) { - mutable_run_as()->::flyteidl::core::Identity::MergeFrom(from.run_as()); - } -} - -void SecurityContext::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.SecurityContext) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SecurityContext::CopyFrom(const SecurityContext& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.SecurityContext) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SecurityContext::IsInitialized() const { - return true; -} - -void SecurityContext::Swap(SecurityContext* other) { - if (other == this) return; - InternalSwap(other); -} -void SecurityContext::InternalSwap(SecurityContext* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&secrets_)->InternalSwap(CastToBase(&other->secrets_)); - CastToBase(&tokens_)->InternalSwap(CastToBase(&other->tokens_)); - swap(run_as_, other->run_as_); -} - -::google::protobuf::Metadata SecurityContext::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fsecurity_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::Secret* Arena::CreateMaybeMessage< ::flyteidl::core::Secret >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Secret >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::OAuth2Client* Arena::CreateMaybeMessage< ::flyteidl::core::OAuth2Client >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::OAuth2Client >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Identity* Arena::CreateMaybeMessage< ::flyteidl::core::Identity >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Identity >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::OAuth2TokenRequest* Arena::CreateMaybeMessage< ::flyteidl::core::OAuth2TokenRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::OAuth2TokenRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::SecurityContext* Arena::CreateMaybeMessage< ::flyteidl::core::SecurityContext >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::SecurityContext >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/security.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/security.pb.h deleted file mode 100644 index d503075579..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/security.pb.h +++ /dev/null @@ -1,1818 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/security.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fsecurity_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fsecurity_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fsecurity_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[5] - 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_2fcore_2fsecurity_2eproto(); -namespace flyteidl { -namespace core { -class Identity; -class IdentityDefaultTypeInternal; -extern IdentityDefaultTypeInternal _Identity_default_instance_; -class OAuth2Client; -class OAuth2ClientDefaultTypeInternal; -extern OAuth2ClientDefaultTypeInternal _OAuth2Client_default_instance_; -class OAuth2TokenRequest; -class OAuth2TokenRequestDefaultTypeInternal; -extern OAuth2TokenRequestDefaultTypeInternal _OAuth2TokenRequest_default_instance_; -class Secret; -class SecretDefaultTypeInternal; -extern SecretDefaultTypeInternal _Secret_default_instance_; -class SecurityContext; -class SecurityContextDefaultTypeInternal; -extern SecurityContextDefaultTypeInternal _SecurityContext_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::Identity* Arena::CreateMaybeMessage<::flyteidl::core::Identity>(Arena*); -template<> ::flyteidl::core::OAuth2Client* Arena::CreateMaybeMessage<::flyteidl::core::OAuth2Client>(Arena*); -template<> ::flyteidl::core::OAuth2TokenRequest* Arena::CreateMaybeMessage<::flyteidl::core::OAuth2TokenRequest>(Arena*); -template<> ::flyteidl::core::Secret* Arena::CreateMaybeMessage<::flyteidl::core::Secret>(Arena*); -template<> ::flyteidl::core::SecurityContext* Arena::CreateMaybeMessage<::flyteidl::core::SecurityContext>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum Secret_MountType { - Secret_MountType_ANY = 0, - Secret_MountType_ENV_VAR = 1, - Secret_MountType_FILE = 2, - Secret_MountType_Secret_MountType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - Secret_MountType_Secret_MountType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool Secret_MountType_IsValid(int value); -const Secret_MountType Secret_MountType_MountType_MIN = Secret_MountType_ANY; -const Secret_MountType Secret_MountType_MountType_MAX = Secret_MountType_FILE; -const int Secret_MountType_MountType_ARRAYSIZE = Secret_MountType_MountType_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Secret_MountType_descriptor(); -inline const ::std::string& Secret_MountType_Name(Secret_MountType value) { - return ::google::protobuf::internal::NameOfEnum( - Secret_MountType_descriptor(), value); -} -inline bool Secret_MountType_Parse( - const ::std::string& name, Secret_MountType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Secret_MountType_descriptor(), name, value); -} -enum OAuth2TokenRequest_Type { - OAuth2TokenRequest_Type_CLIENT_CREDENTIALS = 0, - OAuth2TokenRequest_Type_OAuth2TokenRequest_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - OAuth2TokenRequest_Type_OAuth2TokenRequest_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool OAuth2TokenRequest_Type_IsValid(int value); -const OAuth2TokenRequest_Type OAuth2TokenRequest_Type_Type_MIN = OAuth2TokenRequest_Type_CLIENT_CREDENTIALS; -const OAuth2TokenRequest_Type OAuth2TokenRequest_Type_Type_MAX = OAuth2TokenRequest_Type_CLIENT_CREDENTIALS; -const int OAuth2TokenRequest_Type_Type_ARRAYSIZE = OAuth2TokenRequest_Type_Type_MAX + 1; - -const ::google::protobuf::EnumDescriptor* OAuth2TokenRequest_Type_descriptor(); -inline const ::std::string& OAuth2TokenRequest_Type_Name(OAuth2TokenRequest_Type value) { - return ::google::protobuf::internal::NameOfEnum( - OAuth2TokenRequest_Type_descriptor(), value); -} -inline bool OAuth2TokenRequest_Type_Parse( - const ::std::string& name, OAuth2TokenRequest_Type* value) { - return ::google::protobuf::internal::ParseNamedEnum( - OAuth2TokenRequest_Type_descriptor(), name, value); -} -// =================================================================== - -class Secret final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Secret) */ { - public: - Secret(); - virtual ~Secret(); - - Secret(const Secret& from); - - inline Secret& operator=(const Secret& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Secret(Secret&& from) noexcept - : Secret() { - *this = ::std::move(from); - } - - inline Secret& operator=(Secret&& 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 Secret& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Secret* internal_default_instance() { - return reinterpret_cast( - &_Secret_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Secret* other); - friend void swap(Secret& a, Secret& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Secret* New() const final { - return CreateMaybeMessage(nullptr); - } - - Secret* 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 Secret& from); - void MergeFrom(const Secret& 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(Secret* 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 Secret_MountType MountType; - static const MountType ANY = - Secret_MountType_ANY; - static const MountType ENV_VAR = - Secret_MountType_ENV_VAR; - static const MountType FILE = - Secret_MountType_FILE; - static inline bool MountType_IsValid(int value) { - return Secret_MountType_IsValid(value); - } - static const MountType MountType_MIN = - Secret_MountType_MountType_MIN; - static const MountType MountType_MAX = - Secret_MountType_MountType_MAX; - static const int MountType_ARRAYSIZE = - Secret_MountType_MountType_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - MountType_descriptor() { - return Secret_MountType_descriptor(); - } - static inline const ::std::string& MountType_Name(MountType value) { - return Secret_MountType_Name(value); - } - static inline bool MountType_Parse(const ::std::string& name, - MountType* value) { - return Secret_MountType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string group = 1; - void clear_group(); - static const int kGroupFieldNumber = 1; - const ::std::string& group() const; - void set_group(const ::std::string& value); - #if LANG_CXX11 - void set_group(::std::string&& value); - #endif - void set_group(const char* value); - void set_group(const char* value, size_t size); - ::std::string* mutable_group(); - ::std::string* release_group(); - void set_allocated_group(::std::string* group); - - // string group_version = 2; - void clear_group_version(); - static const int kGroupVersionFieldNumber = 2; - const ::std::string& group_version() const; - void set_group_version(const ::std::string& value); - #if LANG_CXX11 - void set_group_version(::std::string&& value); - #endif - void set_group_version(const char* value); - void set_group_version(const char* value, size_t size); - ::std::string* mutable_group_version(); - ::std::string* release_group_version(); - void set_allocated_group_version(::std::string* group_version); - - // string key = 3; - void clear_key(); - static const int kKeyFieldNumber = 3; - 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); - - // .flyteidl.core.Secret.MountType mount_requirement = 4; - void clear_mount_requirement(); - static const int kMountRequirementFieldNumber = 4; - ::flyteidl::core::Secret_MountType mount_requirement() const; - void set_mount_requirement(::flyteidl::core::Secret_MountType value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Secret) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr group_; - ::google::protobuf::internal::ArenaStringPtr group_version_; - ::google::protobuf::internal::ArenaStringPtr key_; - int mount_requirement_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fsecurity_2eproto; -}; -// ------------------------------------------------------------------- - -class OAuth2Client final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.OAuth2Client) */ { - public: - OAuth2Client(); - virtual ~OAuth2Client(); - - OAuth2Client(const OAuth2Client& from); - - inline OAuth2Client& operator=(const OAuth2Client& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - OAuth2Client(OAuth2Client&& from) noexcept - : OAuth2Client() { - *this = ::std::move(from); - } - - inline OAuth2Client& operator=(OAuth2Client&& 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 OAuth2Client& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const OAuth2Client* internal_default_instance() { - return reinterpret_cast( - &_OAuth2Client_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(OAuth2Client* other); - friend void swap(OAuth2Client& a, OAuth2Client& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline OAuth2Client* New() const final { - return CreateMaybeMessage(nullptr); - } - - OAuth2Client* 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 OAuth2Client& from); - void MergeFrom(const OAuth2Client& 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(OAuth2Client* 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 client_id = 1; - void clear_client_id(); - static const int kClientIdFieldNumber = 1; - const ::std::string& client_id() const; - void set_client_id(const ::std::string& value); - #if LANG_CXX11 - void set_client_id(::std::string&& value); - #endif - void set_client_id(const char* value); - void set_client_id(const char* value, size_t size); - ::std::string* mutable_client_id(); - ::std::string* release_client_id(); - void set_allocated_client_id(::std::string* client_id); - - // .flyteidl.core.Secret client_secret = 2; - bool has_client_secret() const; - void clear_client_secret(); - static const int kClientSecretFieldNumber = 2; - const ::flyteidl::core::Secret& client_secret() const; - ::flyteidl::core::Secret* release_client_secret(); - ::flyteidl::core::Secret* mutable_client_secret(); - void set_allocated_client_secret(::flyteidl::core::Secret* client_secret); - - // @@protoc_insertion_point(class_scope:flyteidl.core.OAuth2Client) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr client_id_; - ::flyteidl::core::Secret* client_secret_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fsecurity_2eproto; -}; -// ------------------------------------------------------------------- - -class Identity final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Identity) */ { - public: - Identity(); - virtual ~Identity(); - - Identity(const Identity& from); - - inline Identity& operator=(const Identity& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Identity(Identity&& from) noexcept - : Identity() { - *this = ::std::move(from); - } - - inline Identity& operator=(Identity&& 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 Identity& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Identity* internal_default_instance() { - return reinterpret_cast( - &_Identity_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(Identity* other); - friend void swap(Identity& a, Identity& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Identity* New() const final { - return CreateMaybeMessage(nullptr); - } - - Identity* 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 Identity& from); - void MergeFrom(const Identity& 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(Identity* 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 iam_role = 1; - void clear_iam_role(); - static const int kIamRoleFieldNumber = 1; - const ::std::string& iam_role() const; - void set_iam_role(const ::std::string& value); - #if LANG_CXX11 - void set_iam_role(::std::string&& value); - #endif - void set_iam_role(const char* value); - void set_iam_role(const char* value, size_t size); - ::std::string* mutable_iam_role(); - ::std::string* release_iam_role(); - void set_allocated_iam_role(::std::string* iam_role); - - // string k8s_service_account = 2; - void clear_k8s_service_account(); - static const int kK8SServiceAccountFieldNumber = 2; - const ::std::string& k8s_service_account() const; - void set_k8s_service_account(const ::std::string& value); - #if LANG_CXX11 - void set_k8s_service_account(::std::string&& value); - #endif - void set_k8s_service_account(const char* value); - void set_k8s_service_account(const char* value, size_t size); - ::std::string* mutable_k8s_service_account(); - ::std::string* release_k8s_service_account(); - void set_allocated_k8s_service_account(::std::string* k8s_service_account); - - // string execution_identity = 4; - void clear_execution_identity(); - static const int kExecutionIdentityFieldNumber = 4; - const ::std::string& execution_identity() const; - void set_execution_identity(const ::std::string& value); - #if LANG_CXX11 - void set_execution_identity(::std::string&& value); - #endif - void set_execution_identity(const char* value); - void set_execution_identity(const char* value, size_t size); - ::std::string* mutable_execution_identity(); - ::std::string* release_execution_identity(); - void set_allocated_execution_identity(::std::string* execution_identity); - - // .flyteidl.core.OAuth2Client oauth2_client = 3; - bool has_oauth2_client() const; - void clear_oauth2_client(); - static const int kOauth2ClientFieldNumber = 3; - const ::flyteidl::core::OAuth2Client& oauth2_client() const; - ::flyteidl::core::OAuth2Client* release_oauth2_client(); - ::flyteidl::core::OAuth2Client* mutable_oauth2_client(); - void set_allocated_oauth2_client(::flyteidl::core::OAuth2Client* oauth2_client); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Identity) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr iam_role_; - ::google::protobuf::internal::ArenaStringPtr k8s_service_account_; - ::google::protobuf::internal::ArenaStringPtr execution_identity_; - ::flyteidl::core::OAuth2Client* oauth2_client_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fsecurity_2eproto; -}; -// ------------------------------------------------------------------- - -class OAuth2TokenRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.OAuth2TokenRequest) */ { - public: - OAuth2TokenRequest(); - virtual ~OAuth2TokenRequest(); - - OAuth2TokenRequest(const OAuth2TokenRequest& from); - - inline OAuth2TokenRequest& operator=(const OAuth2TokenRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - OAuth2TokenRequest(OAuth2TokenRequest&& from) noexcept - : OAuth2TokenRequest() { - *this = ::std::move(from); - } - - inline OAuth2TokenRequest& operator=(OAuth2TokenRequest&& 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 OAuth2TokenRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const OAuth2TokenRequest* internal_default_instance() { - return reinterpret_cast( - &_OAuth2TokenRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(OAuth2TokenRequest* other); - friend void swap(OAuth2TokenRequest& a, OAuth2TokenRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline OAuth2TokenRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - OAuth2TokenRequest* 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 OAuth2TokenRequest& from); - void MergeFrom(const OAuth2TokenRequest& 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(OAuth2TokenRequest* 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 OAuth2TokenRequest_Type Type; - static const Type CLIENT_CREDENTIALS = - OAuth2TokenRequest_Type_CLIENT_CREDENTIALS; - static inline bool Type_IsValid(int value) { - return OAuth2TokenRequest_Type_IsValid(value); - } - static const Type Type_MIN = - OAuth2TokenRequest_Type_Type_MIN; - static const Type Type_MAX = - OAuth2TokenRequest_Type_Type_MAX; - static const int Type_ARRAYSIZE = - OAuth2TokenRequest_Type_Type_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Type_descriptor() { - return OAuth2TokenRequest_Type_descriptor(); - } - static inline const ::std::string& Type_Name(Type value) { - return OAuth2TokenRequest_Type_Name(value); - } - static inline bool Type_Parse(const ::std::string& name, - Type* value) { - return OAuth2TokenRequest_Type_Parse(name, value); - } - - // 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 idp_discovery_endpoint = 4; - void clear_idp_discovery_endpoint(); - static const int kIdpDiscoveryEndpointFieldNumber = 4; - const ::std::string& idp_discovery_endpoint() const; - void set_idp_discovery_endpoint(const ::std::string& value); - #if LANG_CXX11 - void set_idp_discovery_endpoint(::std::string&& value); - #endif - void set_idp_discovery_endpoint(const char* value); - void set_idp_discovery_endpoint(const char* value, size_t size); - ::std::string* mutable_idp_discovery_endpoint(); - ::std::string* release_idp_discovery_endpoint(); - void set_allocated_idp_discovery_endpoint(::std::string* idp_discovery_endpoint); - - // string token_endpoint = 5; - void clear_token_endpoint(); - static const int kTokenEndpointFieldNumber = 5; - const ::std::string& token_endpoint() const; - void set_token_endpoint(const ::std::string& value); - #if LANG_CXX11 - void set_token_endpoint(::std::string&& value); - #endif - void set_token_endpoint(const char* value); - void set_token_endpoint(const char* value, size_t size); - ::std::string* mutable_token_endpoint(); - ::std::string* release_token_endpoint(); - void set_allocated_token_endpoint(::std::string* token_endpoint); - - // .flyteidl.core.OAuth2Client client = 3; - bool has_client() const; - void clear_client(); - static const int kClientFieldNumber = 3; - const ::flyteidl::core::OAuth2Client& client() const; - ::flyteidl::core::OAuth2Client* release_client(); - ::flyteidl::core::OAuth2Client* mutable_client(); - void set_allocated_client(::flyteidl::core::OAuth2Client* client); - - // .flyteidl.core.OAuth2TokenRequest.Type type = 2; - void clear_type(); - static const int kTypeFieldNumber = 2; - ::flyteidl::core::OAuth2TokenRequest_Type type() const; - void set_type(::flyteidl::core::OAuth2TokenRequest_Type value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.OAuth2TokenRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr idp_discovery_endpoint_; - ::google::protobuf::internal::ArenaStringPtr token_endpoint_; - ::flyteidl::core::OAuth2Client* client_; - int type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fsecurity_2eproto; -}; -// ------------------------------------------------------------------- - -class SecurityContext final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.SecurityContext) */ { - public: - SecurityContext(); - virtual ~SecurityContext(); - - SecurityContext(const SecurityContext& from); - - inline SecurityContext& operator=(const SecurityContext& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SecurityContext(SecurityContext&& from) noexcept - : SecurityContext() { - *this = ::std::move(from); - } - - inline SecurityContext& operator=(SecurityContext&& 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 SecurityContext& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SecurityContext* internal_default_instance() { - return reinterpret_cast( - &_SecurityContext_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(SecurityContext* other); - friend void swap(SecurityContext& a, SecurityContext& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SecurityContext* New() const final { - return CreateMaybeMessage(nullptr); - } - - SecurityContext* 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 SecurityContext& from); - void MergeFrom(const SecurityContext& 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(SecurityContext* 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.Secret secrets = 2; - int secrets_size() const; - void clear_secrets(); - static const int kSecretsFieldNumber = 2; - ::flyteidl::core::Secret* mutable_secrets(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Secret >* - mutable_secrets(); - const ::flyteidl::core::Secret& secrets(int index) const; - ::flyteidl::core::Secret* add_secrets(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Secret >& - secrets() const; - - // repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - int tokens_size() const; - void clear_tokens(); - static const int kTokensFieldNumber = 3; - ::flyteidl::core::OAuth2TokenRequest* mutable_tokens(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::OAuth2TokenRequest >* - mutable_tokens(); - const ::flyteidl::core::OAuth2TokenRequest& tokens(int index) const; - ::flyteidl::core::OAuth2TokenRequest* add_tokens(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::OAuth2TokenRequest >& - tokens() const; - - // .flyteidl.core.Identity run_as = 1; - bool has_run_as() const; - void clear_run_as(); - static const int kRunAsFieldNumber = 1; - const ::flyteidl::core::Identity& run_as() const; - ::flyteidl::core::Identity* release_run_as(); - ::flyteidl::core::Identity* mutable_run_as(); - void set_allocated_run_as(::flyteidl::core::Identity* run_as); - - // @@protoc_insertion_point(class_scope:flyteidl.core.SecurityContext) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Secret > secrets_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::OAuth2TokenRequest > tokens_; - ::flyteidl::core::Identity* run_as_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fsecurity_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Secret - -// string group = 1; -inline void Secret::clear_group() { - group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Secret::group() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Secret.group) - return group_.GetNoArena(); -} -inline void Secret::set_group(const ::std::string& value) { - - group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Secret.group) -} -#if LANG_CXX11 -inline void Secret::set_group(::std::string&& value) { - - group_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Secret.group) -} -#endif -inline void Secret::set_group(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Secret.group) -} -inline void Secret::set_group(const char* value, size_t size) { - - group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Secret.group) -} -inline ::std::string* Secret::mutable_group() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Secret.group) - return group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Secret::release_group() { - // @@protoc_insertion_point(field_release:flyteidl.core.Secret.group) - - return group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Secret::set_allocated_group(::std::string* group) { - if (group != nullptr) { - - } else { - - } - group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Secret.group) -} - -// string group_version = 2; -inline void Secret::clear_group_version() { - group_version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Secret::group_version() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Secret.group_version) - return group_version_.GetNoArena(); -} -inline void Secret::set_group_version(const ::std::string& value) { - - group_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Secret.group_version) -} -#if LANG_CXX11 -inline void Secret::set_group_version(::std::string&& value) { - - group_version_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Secret.group_version) -} -#endif -inline void Secret::set_group_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - group_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Secret.group_version) -} -inline void Secret::set_group_version(const char* value, size_t size) { - - group_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Secret.group_version) -} -inline ::std::string* Secret::mutable_group_version() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Secret.group_version) - return group_version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Secret::release_group_version() { - // @@protoc_insertion_point(field_release:flyteidl.core.Secret.group_version) - - return group_version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Secret::set_allocated_group_version(::std::string* group_version) { - if (group_version != nullptr) { - - } else { - - } - group_version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group_version); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Secret.group_version) -} - -// string key = 3; -inline void Secret::clear_key() { - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Secret::key() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Secret.key) - return key_.GetNoArena(); -} -inline void Secret::set_key(const ::std::string& value) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Secret.key) -} -#if LANG_CXX11 -inline void Secret::set_key(::std::string&& value) { - - key_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Secret.key) -} -#endif -inline void Secret::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Secret.key) -} -inline void Secret::set_key(const char* value, size_t size) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Secret.key) -} -inline ::std::string* Secret::mutable_key() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Secret.key) - return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Secret::release_key() { - // @@protoc_insertion_point(field_release:flyteidl.core.Secret.key) - - return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Secret::set_allocated_key(::std::string* key) { - if (key != nullptr) { - - } else { - - } - key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Secret.key) -} - -// .flyteidl.core.Secret.MountType mount_requirement = 4; -inline void Secret::clear_mount_requirement() { - mount_requirement_ = 0; -} -inline ::flyteidl::core::Secret_MountType Secret::mount_requirement() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Secret.mount_requirement) - return static_cast< ::flyteidl::core::Secret_MountType >(mount_requirement_); -} -inline void Secret::set_mount_requirement(::flyteidl::core::Secret_MountType value) { - - mount_requirement_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Secret.mount_requirement) -} - -// ------------------------------------------------------------------- - -// OAuth2Client - -// string client_id = 1; -inline void OAuth2Client::clear_client_id() { - client_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2Client::client_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.OAuth2Client.client_id) - return client_id_.GetNoArena(); -} -inline void OAuth2Client::set_client_id(const ::std::string& value) { - - client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.OAuth2Client.client_id) -} -#if LANG_CXX11 -inline void OAuth2Client::set_client_id(::std::string&& value) { - - client_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.OAuth2Client.client_id) -} -#endif -inline void OAuth2Client::set_client_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.OAuth2Client.client_id) -} -inline void OAuth2Client::set_client_id(const char* value, size_t size) { - - client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.OAuth2Client.client_id) -} -inline ::std::string* OAuth2Client::mutable_client_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.OAuth2Client.client_id) - return client_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2Client::release_client_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.OAuth2Client.client_id) - - return client_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2Client::set_allocated_client_id(::std::string* client_id) { - if (client_id != nullptr) { - - } else { - - } - client_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), client_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OAuth2Client.client_id) -} - -// .flyteidl.core.Secret client_secret = 2; -inline bool OAuth2Client::has_client_secret() const { - return this != internal_default_instance() && client_secret_ != nullptr; -} -inline void OAuth2Client::clear_client_secret() { - if (GetArenaNoVirtual() == nullptr && client_secret_ != nullptr) { - delete client_secret_; - } - client_secret_ = nullptr; -} -inline const ::flyteidl::core::Secret& OAuth2Client::client_secret() const { - const ::flyteidl::core::Secret* p = client_secret_; - // @@protoc_insertion_point(field_get:flyteidl.core.OAuth2Client.client_secret) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Secret_default_instance_); -} -inline ::flyteidl::core::Secret* OAuth2Client::release_client_secret() { - // @@protoc_insertion_point(field_release:flyteidl.core.OAuth2Client.client_secret) - - ::flyteidl::core::Secret* temp = client_secret_; - client_secret_ = nullptr; - return temp; -} -inline ::flyteidl::core::Secret* OAuth2Client::mutable_client_secret() { - - if (client_secret_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Secret>(GetArenaNoVirtual()); - client_secret_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.OAuth2Client.client_secret) - return client_secret_; -} -inline void OAuth2Client::set_allocated_client_secret(::flyteidl::core::Secret* client_secret) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete client_secret_; - } - if (client_secret) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - client_secret = ::google::protobuf::internal::GetOwnedMessage( - message_arena, client_secret, submessage_arena); - } - - } else { - - } - client_secret_ = client_secret; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OAuth2Client.client_secret) -} - -// ------------------------------------------------------------------- - -// Identity - -// string iam_role = 1; -inline void Identity::clear_iam_role() { - iam_role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identity::iam_role() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identity.iam_role) - return iam_role_.GetNoArena(); -} -inline void Identity::set_iam_role(const ::std::string& value) { - - iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identity.iam_role) -} -#if LANG_CXX11 -inline void Identity::set_iam_role(::std::string&& value) { - - iam_role_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identity.iam_role) -} -#endif -inline void Identity::set_iam_role(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identity.iam_role) -} -inline void Identity::set_iam_role(const char* value, size_t size) { - - iam_role_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identity.iam_role) -} -inline ::std::string* Identity::mutable_iam_role() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identity.iam_role) - return iam_role_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identity::release_iam_role() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identity.iam_role) - - return iam_role_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identity::set_allocated_iam_role(::std::string* iam_role) { - if (iam_role != nullptr) { - - } else { - - } - iam_role_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), iam_role); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identity.iam_role) -} - -// string k8s_service_account = 2; -inline void Identity::clear_k8s_service_account() { - k8s_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identity::k8s_service_account() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identity.k8s_service_account) - return k8s_service_account_.GetNoArena(); -} -inline void Identity::set_k8s_service_account(const ::std::string& value) { - - k8s_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identity.k8s_service_account) -} -#if LANG_CXX11 -inline void Identity::set_k8s_service_account(::std::string&& value) { - - k8s_service_account_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identity.k8s_service_account) -} -#endif -inline void Identity::set_k8s_service_account(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - k8s_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identity.k8s_service_account) -} -inline void Identity::set_k8s_service_account(const char* value, size_t size) { - - k8s_service_account_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identity.k8s_service_account) -} -inline ::std::string* Identity::mutable_k8s_service_account() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identity.k8s_service_account) - return k8s_service_account_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identity::release_k8s_service_account() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identity.k8s_service_account) - - return k8s_service_account_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identity::set_allocated_k8s_service_account(::std::string* k8s_service_account) { - if (k8s_service_account != nullptr) { - - } else { - - } - k8s_service_account_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), k8s_service_account); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identity.k8s_service_account) -} - -// .flyteidl.core.OAuth2Client oauth2_client = 3; -inline bool Identity::has_oauth2_client() const { - return this != internal_default_instance() && oauth2_client_ != nullptr; -} -inline void Identity::clear_oauth2_client() { - if (GetArenaNoVirtual() == nullptr && oauth2_client_ != nullptr) { - delete oauth2_client_; - } - oauth2_client_ = nullptr; -} -inline const ::flyteidl::core::OAuth2Client& Identity::oauth2_client() const { - const ::flyteidl::core::OAuth2Client* p = oauth2_client_; - // @@protoc_insertion_point(field_get:flyteidl.core.Identity.oauth2_client) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_OAuth2Client_default_instance_); -} -inline ::flyteidl::core::OAuth2Client* Identity::release_oauth2_client() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identity.oauth2_client) - - ::flyteidl::core::OAuth2Client* temp = oauth2_client_; - oauth2_client_ = nullptr; - return temp; -} -inline ::flyteidl::core::OAuth2Client* Identity::mutable_oauth2_client() { - - if (oauth2_client_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::OAuth2Client>(GetArenaNoVirtual()); - oauth2_client_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identity.oauth2_client) - return oauth2_client_; -} -inline void Identity::set_allocated_oauth2_client(::flyteidl::core::OAuth2Client* oauth2_client) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete oauth2_client_; - } - if (oauth2_client) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - oauth2_client = ::google::protobuf::internal::GetOwnedMessage( - message_arena, oauth2_client, submessage_arena); - } - - } else { - - } - oauth2_client_ = oauth2_client; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identity.oauth2_client) -} - -// string execution_identity = 4; -inline void Identity::clear_execution_identity() { - execution_identity_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Identity::execution_identity() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Identity.execution_identity) - return execution_identity_.GetNoArena(); -} -inline void Identity::set_execution_identity(const ::std::string& value) { - - execution_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Identity.execution_identity) -} -#if LANG_CXX11 -inline void Identity::set_execution_identity(::std::string&& value) { - - execution_identity_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identity.execution_identity) -} -#endif -inline void Identity::set_execution_identity(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - execution_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Identity.execution_identity) -} -inline void Identity::set_execution_identity(const char* value, size_t size) { - - execution_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identity.execution_identity) -} -inline ::std::string* Identity::mutable_execution_identity() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Identity.execution_identity) - return execution_identity_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Identity::release_execution_identity() { - // @@protoc_insertion_point(field_release:flyteidl.core.Identity.execution_identity) - - return execution_identity_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Identity::set_allocated_execution_identity(::std::string* execution_identity) { - if (execution_identity != nullptr) { - - } else { - - } - execution_identity_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), execution_identity); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identity.execution_identity) -} - -// ------------------------------------------------------------------- - -// OAuth2TokenRequest - -// string name = 1; -inline void OAuth2TokenRequest::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2TokenRequest::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.OAuth2TokenRequest.name) - return name_.GetNoArena(); -} -inline void OAuth2TokenRequest::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.OAuth2TokenRequest.name) -} -#if LANG_CXX11 -inline void OAuth2TokenRequest::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.OAuth2TokenRequest.name) -} -#endif -inline void OAuth2TokenRequest::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.OAuth2TokenRequest.name) -} -inline void OAuth2TokenRequest::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.OAuth2TokenRequest.name) -} -inline ::std::string* OAuth2TokenRequest::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.OAuth2TokenRequest.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2TokenRequest::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.OAuth2TokenRequest.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2TokenRequest::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OAuth2TokenRequest.name) -} - -// .flyteidl.core.OAuth2TokenRequest.Type type = 2; -inline void OAuth2TokenRequest::clear_type() { - type_ = 0; -} -inline ::flyteidl::core::OAuth2TokenRequest_Type OAuth2TokenRequest::type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.OAuth2TokenRequest.type) - return static_cast< ::flyteidl::core::OAuth2TokenRequest_Type >(type_); -} -inline void OAuth2TokenRequest::set_type(::flyteidl::core::OAuth2TokenRequest_Type value) { - - type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.OAuth2TokenRequest.type) -} - -// .flyteidl.core.OAuth2Client client = 3; -inline bool OAuth2TokenRequest::has_client() const { - return this != internal_default_instance() && client_ != nullptr; -} -inline void OAuth2TokenRequest::clear_client() { - if (GetArenaNoVirtual() == nullptr && client_ != nullptr) { - delete client_; - } - client_ = nullptr; -} -inline const ::flyteidl::core::OAuth2Client& OAuth2TokenRequest::client() const { - const ::flyteidl::core::OAuth2Client* p = client_; - // @@protoc_insertion_point(field_get:flyteidl.core.OAuth2TokenRequest.client) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_OAuth2Client_default_instance_); -} -inline ::flyteidl::core::OAuth2Client* OAuth2TokenRequest::release_client() { - // @@protoc_insertion_point(field_release:flyteidl.core.OAuth2TokenRequest.client) - - ::flyteidl::core::OAuth2Client* temp = client_; - client_ = nullptr; - return temp; -} -inline ::flyteidl::core::OAuth2Client* OAuth2TokenRequest::mutable_client() { - - if (client_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::OAuth2Client>(GetArenaNoVirtual()); - client_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.OAuth2TokenRequest.client) - return client_; -} -inline void OAuth2TokenRequest::set_allocated_client(::flyteidl::core::OAuth2Client* client) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete client_; - } - if (client) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - client = ::google::protobuf::internal::GetOwnedMessage( - message_arena, client, submessage_arena); - } - - } else { - - } - client_ = client; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OAuth2TokenRequest.client) -} - -// string idp_discovery_endpoint = 4; -inline void OAuth2TokenRequest::clear_idp_discovery_endpoint() { - idp_discovery_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2TokenRequest::idp_discovery_endpoint() const { - // @@protoc_insertion_point(field_get:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) - return idp_discovery_endpoint_.GetNoArena(); -} -inline void OAuth2TokenRequest::set_idp_discovery_endpoint(const ::std::string& value) { - - idp_discovery_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) -} -#if LANG_CXX11 -inline void OAuth2TokenRequest::set_idp_discovery_endpoint(::std::string&& value) { - - idp_discovery_endpoint_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) -} -#endif -inline void OAuth2TokenRequest::set_idp_discovery_endpoint(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - idp_discovery_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) -} -inline void OAuth2TokenRequest::set_idp_discovery_endpoint(const char* value, size_t size) { - - idp_discovery_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) -} -inline ::std::string* OAuth2TokenRequest::mutable_idp_discovery_endpoint() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) - return idp_discovery_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2TokenRequest::release_idp_discovery_endpoint() { - // @@protoc_insertion_point(field_release:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) - - return idp_discovery_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2TokenRequest::set_allocated_idp_discovery_endpoint(::std::string* idp_discovery_endpoint) { - if (idp_discovery_endpoint != nullptr) { - - } else { - - } - idp_discovery_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), idp_discovery_endpoint); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OAuth2TokenRequest.idp_discovery_endpoint) -} - -// string token_endpoint = 5; -inline void OAuth2TokenRequest::clear_token_endpoint() { - token_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2TokenRequest::token_endpoint() const { - // @@protoc_insertion_point(field_get:flyteidl.core.OAuth2TokenRequest.token_endpoint) - return token_endpoint_.GetNoArena(); -} -inline void OAuth2TokenRequest::set_token_endpoint(const ::std::string& value) { - - token_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.OAuth2TokenRequest.token_endpoint) -} -#if LANG_CXX11 -inline void OAuth2TokenRequest::set_token_endpoint(::std::string&& value) { - - token_endpoint_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.OAuth2TokenRequest.token_endpoint) -} -#endif -inline void OAuth2TokenRequest::set_token_endpoint(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.OAuth2TokenRequest.token_endpoint) -} -inline void OAuth2TokenRequest::set_token_endpoint(const char* value, size_t size) { - - token_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.OAuth2TokenRequest.token_endpoint) -} -inline ::std::string* OAuth2TokenRequest::mutable_token_endpoint() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.OAuth2TokenRequest.token_endpoint) - return token_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2TokenRequest::release_token_endpoint() { - // @@protoc_insertion_point(field_release:flyteidl.core.OAuth2TokenRequest.token_endpoint) - - return token_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2TokenRequest::set_allocated_token_endpoint(::std::string* token_endpoint) { - if (token_endpoint != nullptr) { - - } else { - - } - token_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token_endpoint); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OAuth2TokenRequest.token_endpoint) -} - -// ------------------------------------------------------------------- - -// SecurityContext - -// .flyteidl.core.Identity run_as = 1; -inline bool SecurityContext::has_run_as() const { - return this != internal_default_instance() && run_as_ != nullptr; -} -inline void SecurityContext::clear_run_as() { - if (GetArenaNoVirtual() == nullptr && run_as_ != nullptr) { - delete run_as_; - } - run_as_ = nullptr; -} -inline const ::flyteidl::core::Identity& SecurityContext::run_as() const { - const ::flyteidl::core::Identity* p = run_as_; - // @@protoc_insertion_point(field_get:flyteidl.core.SecurityContext.run_as) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identity_default_instance_); -} -inline ::flyteidl::core::Identity* SecurityContext::release_run_as() { - // @@protoc_insertion_point(field_release:flyteidl.core.SecurityContext.run_as) - - ::flyteidl::core::Identity* temp = run_as_; - run_as_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identity* SecurityContext::mutable_run_as() { - - if (run_as_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identity>(GetArenaNoVirtual()); - run_as_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.SecurityContext.run_as) - return run_as_; -} -inline void SecurityContext::set_allocated_run_as(::flyteidl::core::Identity* run_as) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete run_as_; - } - if (run_as) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - run_as = ::google::protobuf::internal::GetOwnedMessage( - message_arena, run_as, submessage_arena); - } - - } else { - - } - run_as_ = run_as; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SecurityContext.run_as) -} - -// repeated .flyteidl.core.Secret secrets = 2; -inline int SecurityContext::secrets_size() const { - return secrets_.size(); -} -inline void SecurityContext::clear_secrets() { - secrets_.Clear(); -} -inline ::flyteidl::core::Secret* SecurityContext::mutable_secrets(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.SecurityContext.secrets) - return secrets_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Secret >* -SecurityContext::mutable_secrets() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.SecurityContext.secrets) - return &secrets_; -} -inline const ::flyteidl::core::Secret& SecurityContext::secrets(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.SecurityContext.secrets) - return secrets_.Get(index); -} -inline ::flyteidl::core::Secret* SecurityContext::add_secrets() { - // @@protoc_insertion_point(field_add:flyteidl.core.SecurityContext.secrets) - return secrets_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Secret >& -SecurityContext::secrets() const { - // @@protoc_insertion_point(field_list:flyteidl.core.SecurityContext.secrets) - return secrets_; -} - -// repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; -inline int SecurityContext::tokens_size() const { - return tokens_.size(); -} -inline void SecurityContext::clear_tokens() { - tokens_.Clear(); -} -inline ::flyteidl::core::OAuth2TokenRequest* SecurityContext::mutable_tokens(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.SecurityContext.tokens) - return tokens_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::OAuth2TokenRequest >* -SecurityContext::mutable_tokens() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.SecurityContext.tokens) - return &tokens_; -} -inline const ::flyteidl::core::OAuth2TokenRequest& SecurityContext::tokens(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.SecurityContext.tokens) - return tokens_.Get(index); -} -inline ::flyteidl::core::OAuth2TokenRequest* SecurityContext::add_tokens() { - // @@protoc_insertion_point(field_add:flyteidl.core.SecurityContext.tokens) - return tokens_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::OAuth2TokenRequest >& -SecurityContext::tokens() const { - // @@protoc_insertion_point(field_list:flyteidl.core.SecurityContext.tokens) - return tokens_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::Secret_MountType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::Secret_MountType>() { - return ::flyteidl::core::Secret_MountType_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::OAuth2TokenRequest_Type> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::OAuth2TokenRequest_Type>() { - return ::flyteidl::core::OAuth2TokenRequest_Type_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fsecurity_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/tasks.grpc.pb.cc deleted file mode 100644 index 50c654c88e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/tasks.proto - -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/core/tasks.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/tasks.grpc.pb.h deleted file mode 100644 index f1499d007f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/tasks.proto -#ifndef GRPC_flyteidl_2fcore_2ftasks_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2ftasks_2eproto__INCLUDED - -#include "flyteidl/core/tasks.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2ftasks_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/tasks.pb.cc deleted file mode 100644 index 5646e9ab8c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.pb.cc +++ /dev/null @@ -1,8512 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/tasks.proto - -#include "flyteidl/core/tasks.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ContainerPort_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_GPUAccelerator_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_IOStrategy_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_K8sObjectMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_K8sObjectMetadata_LabelsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Resources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sql_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TaskMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TaskTemplate_ConfigEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Container_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_TaskMetadata_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -namespace flyteidl { -namespace core { -class Resources_ResourceEntryDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Resources_ResourceEntry_default_instance_; -class ResourcesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Resources_default_instance_; -class GPUAcceleratorDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - bool unpartitioned_; - ::google::protobuf::internal::ArenaStringPtr partition_size_; -} _GPUAccelerator_default_instance_; -class ExtendedResourcesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExtendedResources_default_instance_; -class RuntimeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _RuntimeMetadata_default_instance_; -class TaskMetadata_TagsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskMetadata_TagsEntry_DoNotUse_default_instance_; -class TaskMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - bool interruptible_; -} _TaskMetadata_default_instance_; -class TaskTemplate_ConfigEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskTemplate_ConfigEntry_DoNotUse_default_instance_; -class TaskTemplateDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Container* container_; - const ::flyteidl::core::K8sPod* k8s_pod_; - const ::flyteidl::core::Sql* sql_; -} _TaskTemplate_default_instance_; -class ContainerPortDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ContainerPort_default_instance_; -class ContainerDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Container_default_instance_; -class IOStrategyDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _IOStrategy_default_instance_; -class DataLoadingConfigDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DataLoadingConfig_default_instance_; -class K8sPodDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _K8sPod_default_instance_; -class K8sObjectMetadata_LabelsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _K8sObjectMetadata_LabelsEntry_DoNotUse_default_instance_; -class K8sObjectMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _K8sObjectMetadata_AnnotationsEntry_DoNotUse_default_instance_; -class K8sObjectMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _K8sObjectMetadata_default_instance_; -class SqlDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Sql_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsResources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Resources_ResourceEntry_default_instance_; - new (ptr) ::flyteidl::core::Resources_ResourceEntry(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Resources_ResourceEntry::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Resources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsResources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsResources_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Resources_default_instance_; - new (ptr) ::flyteidl::core::Resources(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Resources::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsResources_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_Resources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsGPUAccelerator_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_GPUAccelerator_default_instance_; - new (ptr) ::flyteidl::core::GPUAccelerator(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::GPUAccelerator::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_GPUAccelerator_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGPUAccelerator_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsExtendedResources_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ExtendedResources_default_instance_; - new (ptr) ::flyteidl::core::ExtendedResources(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ExtendedResources::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExtendedResources_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_GPUAccelerator_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsRuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_RuntimeMetadata_default_instance_; - new (ptr) ::flyteidl::core::RuntimeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::RuntimeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_RuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsTaskMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskMetadata_TagsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse(); - } - ::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsTaskMetadata_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskMetadata_default_instance_; - new (ptr) ::flyteidl::core::TaskMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TaskMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_TaskMetadata_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsTaskMetadata_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_RuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, - &scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_TaskMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsTaskTemplate_ConfigEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskTemplate_ConfigEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse(); - } - ::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskTemplate_ConfigEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskTemplate_ConfigEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsTaskTemplate_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskTemplate_default_instance_; - new (ptr) ::flyteidl::core::TaskTemplate(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TaskTemplate::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 10, InitDefaultsTaskTemplate_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskMetadata_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, - &scc_info_Container_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_Sql_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base, - &scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_TaskTemplate_ConfigEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsContainerPort_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ContainerPort_default_instance_; - new (ptr) ::flyteidl::core::ContainerPort(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ContainerPort::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ContainerPort_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsContainerPort_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsContainer_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Container_default_instance_; - new (ptr) ::flyteidl::core::Container(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Container::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_Container_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsContainer_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_ContainerPort_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsIOStrategy_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_IOStrategy_default_instance_; - new (ptr) ::flyteidl::core::IOStrategy(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::IOStrategy::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_IOStrategy_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsIOStrategy_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsDataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_DataLoadingConfig_default_instance_; - new (ptr) ::flyteidl::core::DataLoadingConfig(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::DataLoadingConfig::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_IOStrategy_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsK8sPod_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_K8sPod_default_instance_; - new (ptr) ::flyteidl::core::K8sPod(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::K8sPod::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsK8sPod_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, - &scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsK8sObjectMetadata_LabelsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_K8sObjectMetadata_LabelsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse(); - } - ::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_K8sObjectMetadata_LabelsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsK8sObjectMetadata_LabelsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsK8sObjectMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_K8sObjectMetadata_AnnotationsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse(); - } - ::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_K8sObjectMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsK8sObjectMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -static void InitDefaultsK8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_K8sObjectMetadata_default_instance_; - new (ptr) ::flyteidl::core::K8sObjectMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::K8sObjectMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsK8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto}, { - &scc_info_K8sObjectMetadata_LabelsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_K8sObjectMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsSql_flyteidl_2fcore_2ftasks_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Sql_default_instance_; - new (ptr) ::flyteidl::core::Sql(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Sql::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Sql_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSql_flyteidl_2fcore_2ftasks_2eproto}, {}}; - -void InitDefaults_flyteidl_2fcore_2ftasks_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Resources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GPUAccelerator_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_RuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskTemplate_ConfigEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ContainerPort_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Container_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_IOStrategy_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_K8sObjectMetadata_LabelsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_K8sObjectMetadata_AnnotationsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Sql_flyteidl_2fcore_2ftasks_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[18]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto[7]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2ftasks_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2ftasks_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Resources_ResourceEntry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Resources_ResourceEntry, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Resources_ResourceEntry, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Resources, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Resources, requests_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Resources, limits_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::GPUAccelerator, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::GPUAccelerator, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::GPUAccelerator, device_), - offsetof(::flyteidl::core::GPUAcceleratorDefaultTypeInternal, unpartitioned_), - offsetof(::flyteidl::core::GPUAcceleratorDefaultTypeInternal, partition_size_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::GPUAccelerator, partition_size_value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExtendedResources, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ExtendedResources, gpu_accelerator_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::RuntimeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::RuntimeMetadata, type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::RuntimeMetadata, version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::RuntimeMetadata, flavor_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, discoverable_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, runtime_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, timeout_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, retries_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, discovery_version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, deprecated_error_message_), - offsetof(::flyteidl::core::TaskMetadataDefaultTypeInternal, interruptible_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, cache_serializable_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, generates_deck_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, tags_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, pod_template_name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, cache_ignore_input_vars_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskMetadata, interruptible_value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, custom_), - offsetof(::flyteidl::core::TaskTemplateDefaultTypeInternal, container_), - offsetof(::flyteidl::core::TaskTemplateDefaultTypeInternal, k8s_pod_), - offsetof(::flyteidl::core::TaskTemplateDefaultTypeInternal, sql_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, task_type_version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, security_context_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, extended_resources_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, config_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskTemplate, target_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ContainerPort, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ContainerPort, container_port_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, image_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, command_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, args_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, resources_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, env_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, config_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, ports_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, data_config_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Container, architecture_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IOStrategy, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IOStrategy, download_mode_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IOStrategy, upload_mode_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DataLoadingConfig, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DataLoadingConfig, enabled_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DataLoadingConfig, input_path_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DataLoadingConfig, output_path_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DataLoadingConfig, format_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::DataLoadingConfig, io_strategy_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sPod, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sPod, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sPod, pod_spec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sPod, data_config_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata, labels_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata, annotations_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Sql, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Sql, statement_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Sql, dialect_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::Resources_ResourceEntry)}, - { 7, -1, sizeof(::flyteidl::core::Resources)}, - { 14, -1, sizeof(::flyteidl::core::GPUAccelerator)}, - { 23, -1, sizeof(::flyteidl::core::ExtendedResources)}, - { 29, -1, sizeof(::flyteidl::core::RuntimeMetadata)}, - { 37, 44, sizeof(::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse)}, - { 46, -1, sizeof(::flyteidl::core::TaskMetadata)}, - { 64, 71, sizeof(::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse)}, - { 73, -1, sizeof(::flyteidl::core::TaskTemplate)}, - { 91, -1, sizeof(::flyteidl::core::ContainerPort)}, - { 97, -1, sizeof(::flyteidl::core::Container)}, - { 111, -1, sizeof(::flyteidl::core::IOStrategy)}, - { 118, -1, sizeof(::flyteidl::core::DataLoadingConfig)}, - { 128, -1, sizeof(::flyteidl::core::K8sPod)}, - { 136, 143, sizeof(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse)}, - { 145, 152, sizeof(::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse)}, - { 154, -1, sizeof(::flyteidl::core::K8sObjectMetadata)}, - { 161, -1, sizeof(::flyteidl::core::Sql)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_Resources_ResourceEntry_default_instance_), - reinterpret_cast(&::flyteidl::core::_Resources_default_instance_), - reinterpret_cast(&::flyteidl::core::_GPUAccelerator_default_instance_), - reinterpret_cast(&::flyteidl::core::_ExtendedResources_default_instance_), - reinterpret_cast(&::flyteidl::core::_RuntimeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskMetadata_TagsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskTemplate_ConfigEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskTemplate_default_instance_), - reinterpret_cast(&::flyteidl::core::_ContainerPort_default_instance_), - reinterpret_cast(&::flyteidl::core::_Container_default_instance_), - reinterpret_cast(&::flyteidl::core::_IOStrategy_default_instance_), - reinterpret_cast(&::flyteidl::core::_DataLoadingConfig_default_instance_), - reinterpret_cast(&::flyteidl::core::_K8sPod_default_instance_), - reinterpret_cast(&::flyteidl::core::_K8sObjectMetadata_LabelsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_K8sObjectMetadata_AnnotationsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_K8sObjectMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_Sql_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, "flyteidl/core/tasks.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2ftasks_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2ftasks_2eproto, 18, file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto, file_level_service_descriptors_flyteidl_2fcore_2ftasks_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2ftasks_2eproto[] = - "\n\031flyteidl/core/tasks.proto\022\rflyteidl.co" - "re\032\036flyteidl/core/identifier.proto\032\035flyt" - "eidl/core/interface.proto\032\034flyteidl/core" - "/literals.proto\032\034flyteidl/core/security." - "proto\032\036google/protobuf/duration.proto\032\034g" - "oogle/protobuf/struct.proto\"\261\002\n\tResource" - "s\0228\n\010requests\030\001 \003(\0132&.flyteidl.core.Reso" - "urces.ResourceEntry\0226\n\006limits\030\002 \003(\0132&.fl" - "yteidl.core.Resources.ResourceEntry\032S\n\rR" - "esourceEntry\0223\n\004name\030\001 \001(\0162%.flyteidl.co" - "re.Resources.ResourceName\022\r\n\005value\030\002 \001(\t" - "\"]\n\014ResourceName\022\013\n\007UNKNOWN\020\000\022\007\n\003CPU\020\001\022\007" - "\n\003GPU\020\002\022\n\n\006MEMORY\020\003\022\013\n\007STORAGE\020\004\022\025\n\021EPHE" - "MERAL_STORAGE\020\005\"k\n\016GPUAccelerator\022\016\n\006dev" - "ice\030\001 \001(\t\022\027\n\runpartitioned\030\002 \001(\010H\000\022\030\n\016pa" - "rtition_size\030\003 \001(\tH\000B\026\n\024partition_size_v" - "alue\"K\n\021ExtendedResources\0226\n\017gpu_acceler" - "ator\030\001 \001(\0132\035.flyteidl.core.GPUAccelerato" - "r\"\225\001\n\017RuntimeMetadata\0228\n\004type\030\001 \001(\0162*.fl" - "yteidl.core.RuntimeMetadata.RuntimeType\022" - "\017\n\007version\030\002 \001(\t\022\016\n\006flavor\030\003 \001(\t\"\'\n\013Runt" - "imeType\022\t\n\005OTHER\020\000\022\r\n\tFLYTE_SDK\020\001\"\357\003\n\014Ta" - "skMetadata\022\024\n\014discoverable\030\001 \001(\010\022/\n\007runt" - "ime\030\002 \001(\0132\036.flyteidl.core.RuntimeMetadat" - "a\022*\n\007timeout\030\004 \001(\0132\031.google.protobuf.Dur" - "ation\022-\n\007retries\030\005 \001(\0132\034.flyteidl.core.R" - "etryStrategy\022\031\n\021discovery_version\030\006 \001(\t\022" - " \n\030deprecated_error_message\030\007 \001(\t\022\027\n\rint" - "erruptible\030\010 \001(\010H\000\022\032\n\022cache_serializable" - "\030\t \001(\010\022\026\n\016generates_deck\030\n \001(\010\0223\n\004tags\030\013" - " \003(\0132%.flyteidl.core.TaskMetadata.TagsEn" - "try\022\031\n\021pod_template_name\030\014 \001(\t\022\037\n\027cache_" - "ignore_input_vars\030\r \003(\t\032+\n\tTagsEntry\022\013\n\003" - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\025\n\023interrup" - "tible_value\"\316\004\n\014TaskTemplate\022%\n\002id\030\001 \001(\013" - "2\031.flyteidl.core.Identifier\022\014\n\004type\030\002 \001(" - "\t\022-\n\010metadata\030\003 \001(\0132\033.flyteidl.core.Task" - "Metadata\0220\n\tinterface\030\004 \001(\0132\035.flyteidl.c" - "ore.TypedInterface\022\'\n\006custom\030\005 \001(\0132\027.goo" - "gle.protobuf.Struct\022-\n\tcontainer\030\006 \001(\0132\030" - ".flyteidl.core.ContainerH\000\022(\n\007k8s_pod\030\021 " - "\001(\0132\025.flyteidl.core.K8sPodH\000\022!\n\003sql\030\022 \001(" - "\0132\022.flyteidl.core.SqlH\000\022\031\n\021task_type_ver" - "sion\030\007 \001(\005\0228\n\020security_context\030\010 \001(\0132\036.f" - "lyteidl.core.SecurityContext\022<\n\022extended" - "_resources\030\t \001(\0132 .flyteidl.core.Extende" - "dResources\0227\n\006config\030\020 \003(\0132\'.flyteidl.co" - "re.TaskTemplate.ConfigEntry\032-\n\013ConfigEnt" - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\010\n\006ta" - "rget\"\'\n\rContainerPort\022\026\n\016container_port\030" - "\001 \001(\r\"\255\003\n\tContainer\022\r\n\005image\030\001 \001(\t\022\017\n\007co" - "mmand\030\002 \003(\t\022\014\n\004args\030\003 \003(\t\022+\n\tresources\030\004" - " \001(\0132\030.flyteidl.core.Resources\022(\n\003env\030\005 " - "\003(\0132\033.flyteidl.core.KeyValuePair\022/\n\006conf" - "ig\030\006 \003(\0132\033.flyteidl.core.KeyValuePairB\002\030" - "\001\022+\n\005ports\030\007 \003(\0132\034.flyteidl.core.Contain" - "erPort\0225\n\013data_config\030\t \001(\0132 .flyteidl.c" - "ore.DataLoadingConfig\022;\n\014architecture\030\n " - "\001(\0162%.flyteidl.core.Container.Architectu" - "re\"I\n\014Architecture\022\013\n\007UNKNOWN\020\000\022\t\n\005AMD64" - "\020\001\022\t\n\005ARM64\020\002\022\n\n\006ARM_V6\020\003\022\n\n\006ARM_V7\020\004\"\233\002" - "\n\nIOStrategy\022=\n\rdownload_mode\030\001 \001(\0162&.fl" - "yteidl.core.IOStrategy.DownloadMode\0229\n\013u" - "pload_mode\030\002 \001(\0162$.flyteidl.core.IOStrat" - "egy.UploadMode\"L\n\014DownloadMode\022\022\n\016DOWNLO" - "AD_EAGER\020\000\022\023\n\017DOWNLOAD_STREAM\020\001\022\023\n\017DO_NO" - "T_DOWNLOAD\020\002\"E\n\nUploadMode\022\022\n\016UPLOAD_ON_" - "EXIT\020\000\022\020\n\014UPLOAD_EAGER\020\001\022\021\n\rDO_NOT_UPLOA" - "D\020\002\"\363\001\n\021DataLoadingConfig\022\017\n\007enabled\030\001 \001" - "(\010\022\022\n\ninput_path\030\002 \001(\t\022\023\n\013output_path\030\003 " - "\001(\t\022A\n\006format\030\004 \001(\01621.flyteidl.core.Data" - "LoadingConfig.LiteralMapFormat\022.\n\013io_str" - "ategy\030\005 \001(\0132\031.flyteidl.core.IOStrategy\"1" - "\n\020LiteralMapFormat\022\010\n\004JSON\020\000\022\010\n\004YAML\020\001\022\t" - "\n\005PROTO\020\002\"\236\001\n\006K8sPod\0222\n\010metadata\030\001 \001(\0132 " - ".flyteidl.core.K8sObjectMetadata\022)\n\010pod_" - "spec\030\002 \001(\0132\027.google.protobuf.Struct\0225\n\013d" - "ata_config\030\003 \001(\0132 .flyteidl.core.DataLoa" - "dingConfig\"\374\001\n\021K8sObjectMetadata\022<\n\006labe" - "ls\030\001 \003(\0132,.flyteidl.core.K8sObjectMetada" - "ta.LabelsEntry\022F\n\013annotations\030\002 \003(\01321.fl" - "yteidl.core.K8sObjectMetadata.Annotation" - "sEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - "lue\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key" - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"~\n\003Sql\022\021\n\tstat" - "ement\030\001 \001(\t\022+\n\007dialect\030\002 \001(\0162\032.flyteidl." - "core.Sql.Dialect\"7\n\007Dialect\022\r\n\tUNDEFINED" - "\020\000\022\010\n\004ANSI\020\001\022\010\n\004HIVE\020\002\022\t\n\005OTHER\020\003B= 1900 -const Resources_ResourceName Resources::UNKNOWN; -const Resources_ResourceName Resources::CPU; -const Resources_ResourceName Resources::GPU; -const Resources_ResourceName Resources::MEMORY; -const Resources_ResourceName Resources::STORAGE; -const Resources_ResourceName Resources::EPHEMERAL_STORAGE; -const Resources_ResourceName Resources::ResourceName_MIN; -const Resources_ResourceName Resources::ResourceName_MAX; -const int Resources::ResourceName_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* RuntimeMetadata_RuntimeType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto[1]; -} -bool RuntimeMetadata_RuntimeType_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const RuntimeMetadata_RuntimeType RuntimeMetadata::OTHER; -const RuntimeMetadata_RuntimeType RuntimeMetadata::FLYTE_SDK; -const RuntimeMetadata_RuntimeType RuntimeMetadata::RuntimeType_MIN; -const RuntimeMetadata_RuntimeType RuntimeMetadata::RuntimeType_MAX; -const int RuntimeMetadata::RuntimeType_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* Container_Architecture_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto[2]; -} -bool Container_Architecture_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 Container_Architecture Container::UNKNOWN; -const Container_Architecture Container::AMD64; -const Container_Architecture Container::ARM64; -const Container_Architecture Container::ARM_V6; -const Container_Architecture Container::ARM_V7; -const Container_Architecture Container::Architecture_MIN; -const Container_Architecture Container::Architecture_MAX; -const int Container::Architecture_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* IOStrategy_DownloadMode_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto[3]; -} -bool IOStrategy_DownloadMode_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const IOStrategy_DownloadMode IOStrategy::DOWNLOAD_EAGER; -const IOStrategy_DownloadMode IOStrategy::DOWNLOAD_STREAM; -const IOStrategy_DownloadMode IOStrategy::DO_NOT_DOWNLOAD; -const IOStrategy_DownloadMode IOStrategy::DownloadMode_MIN; -const IOStrategy_DownloadMode IOStrategy::DownloadMode_MAX; -const int IOStrategy::DownloadMode_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* IOStrategy_UploadMode_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto[4]; -} -bool IOStrategy_UploadMode_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const IOStrategy_UploadMode IOStrategy::UPLOAD_ON_EXIT; -const IOStrategy_UploadMode IOStrategy::UPLOAD_EAGER; -const IOStrategy_UploadMode IOStrategy::DO_NOT_UPLOAD; -const IOStrategy_UploadMode IOStrategy::UploadMode_MIN; -const IOStrategy_UploadMode IOStrategy::UploadMode_MAX; -const int IOStrategy::UploadMode_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* DataLoadingConfig_LiteralMapFormat_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto[5]; -} -bool DataLoadingConfig_LiteralMapFormat_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const DataLoadingConfig_LiteralMapFormat DataLoadingConfig::JSON; -const DataLoadingConfig_LiteralMapFormat DataLoadingConfig::YAML; -const DataLoadingConfig_LiteralMapFormat DataLoadingConfig::PROTO; -const DataLoadingConfig_LiteralMapFormat DataLoadingConfig::LiteralMapFormat_MIN; -const DataLoadingConfig_LiteralMapFormat DataLoadingConfig::LiteralMapFormat_MAX; -const int DataLoadingConfig::LiteralMapFormat_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* Sql_Dialect_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftasks_2eproto[6]; -} -bool Sql_Dialect_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const Sql_Dialect Sql::UNDEFINED; -const Sql_Dialect Sql::ANSI; -const Sql_Dialect Sql::HIVE; -const Sql_Dialect Sql::OTHER; -const Sql_Dialect Sql::Dialect_MIN; -const Sql_Dialect Sql::Dialect_MAX; -const int Sql::Dialect_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void Resources_ResourceEntry::InitAsDefaultInstance() { -} -class Resources_ResourceEntry::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Resources_ResourceEntry::kNameFieldNumber; -const int Resources_ResourceEntry::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Resources_ResourceEntry::Resources_ResourceEntry() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Resources.ResourceEntry) -} -Resources_ResourceEntry::Resources_ResourceEntry(const Resources_ResourceEntry& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.value().size() > 0) { - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - name_ = from.name_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Resources.ResourceEntry) -} - -void Resources_ResourceEntry::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Resources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto.base); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_ = 0; -} - -Resources_ResourceEntry::~Resources_ResourceEntry() { - // @@protoc_insertion_point(destructor:flyteidl.core.Resources.ResourceEntry) - SharedDtor(); -} - -void Resources_ResourceEntry::SharedDtor() { - value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Resources_ResourceEntry::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Resources_ResourceEntry& Resources_ResourceEntry::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Resources_ResourceEntry_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void Resources_ResourceEntry::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Resources.ResourceEntry) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Resources_ResourceEntry::_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.Resources.ResourceName name = 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_name(static_cast<::flyteidl::core::Resources_ResourceName>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string value = 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.Resources.ResourceEntry.value"); - object = msg->mutable_value(); - 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 Resources_ResourceEntry::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.Resources.ResourceEntry) - 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.Resources.ResourceName name = 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_name(static_cast< ::flyteidl::core::Resources_ResourceName >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Resources.ResourceEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Resources.ResourceEntry) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Resources.ResourceEntry) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Resources_ResourceEntry::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Resources.ResourceEntry) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Resources.ResourceName name = 1; - if (this->name() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->name(), output); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Resources.ResourceEntry.value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->value(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Resources.ResourceEntry) -} - -::google::protobuf::uint8* Resources_ResourceEntry::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Resources.ResourceEntry) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Resources.ResourceName name = 1; - if (this->name() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->name(), target); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Resources.ResourceEntry.value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->value(), 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.Resources.ResourceEntry) - return target; -} - -size_t Resources_ResourceEntry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Resources.ResourceEntry) - 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 value = 2; - if (this->value().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - } - - // .flyteidl.core.Resources.ResourceName name = 1; - if (this->name() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->name()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Resources_ResourceEntry::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Resources.ResourceEntry) - GOOGLE_DCHECK_NE(&from, this); - const Resources_ResourceEntry* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Resources.ResourceEntry) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Resources.ResourceEntry) - MergeFrom(*source); - } -} - -void Resources_ResourceEntry::MergeFrom(const Resources_ResourceEntry& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Resources.ResourceEntry) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.value().size() > 0) { - - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - if (from.name() != 0) { - set_name(from.name()); - } -} - -void Resources_ResourceEntry::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Resources.ResourceEntry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Resources_ResourceEntry::CopyFrom(const Resources_ResourceEntry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Resources.ResourceEntry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Resources_ResourceEntry::IsInitialized() const { - return true; -} - -void Resources_ResourceEntry::Swap(Resources_ResourceEntry* other) { - if (other == this) return; - InternalSwap(other); -} -void Resources_ResourceEntry::InternalSwap(Resources_ResourceEntry* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(name_, other->name_); -} - -::google::protobuf::Metadata Resources_ResourceEntry::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Resources::InitAsDefaultInstance() { -} -class Resources::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Resources::kRequestsFieldNumber; -const int Resources::kLimitsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Resources::Resources() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Resources) -} -Resources::Resources(const Resources& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - requests_(from.requests_), - limits_(from.limits_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Resources) -} - -void Resources::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base); -} - -Resources::~Resources() { - // @@protoc_insertion_point(destructor:flyteidl.core.Resources) - SharedDtor(); -} - -void Resources::SharedDtor() { -} - -void Resources::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Resources& Resources::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void Resources::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Resources) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - requests_.Clear(); - limits_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Resources::_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.Resources.ResourceEntry requests = 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::Resources_ResourceEntry::_InternalParse; - object = msg->add_requests(); - 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; - } - // repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Resources_ResourceEntry::_InternalParse; - object = msg->add_limits(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Resources::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.Resources) - 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.Resources.ResourceEntry requests = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_requests())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_limits())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Resources) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Resources) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Resources::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Resources) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - for (unsigned int i = 0, - n = static_cast(this->requests_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->requests(static_cast(i)), - output); - } - - // repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - for (unsigned int i = 0, - n = static_cast(this->limits_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->limits(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.Resources) -} - -::google::protobuf::uint8* Resources::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Resources) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - for (unsigned int i = 0, - n = static_cast(this->requests_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->requests(static_cast(i)), target); - } - - // repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - for (unsigned int i = 0, - n = static_cast(this->limits_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->limits(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.Resources) - return target; -} - -size_t Resources::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Resources) - 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.Resources.ResourceEntry requests = 1; - { - unsigned int count = static_cast(this->requests_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->requests(static_cast(i))); - } - } - - // repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - { - unsigned int count = static_cast(this->limits_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->limits(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Resources::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Resources) - GOOGLE_DCHECK_NE(&from, this); - const Resources* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Resources) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Resources) - MergeFrom(*source); - } -} - -void Resources::MergeFrom(const Resources& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Resources) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - requests_.MergeFrom(from.requests_); - limits_.MergeFrom(from.limits_); -} - -void Resources::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Resources) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Resources::CopyFrom(const Resources& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Resources) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Resources::IsInitialized() const { - return true; -} - -void Resources::Swap(Resources* other) { - if (other == this) return; - InternalSwap(other); -} -void Resources::InternalSwap(Resources* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&requests_)->InternalSwap(CastToBase(&other->requests_)); - CastToBase(&limits_)->InternalSwap(CastToBase(&other->limits_)); -} - -::google::protobuf::Metadata Resources::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GPUAccelerator::InitAsDefaultInstance() { - ::flyteidl::core::_GPUAccelerator_default_instance_.unpartitioned_ = false; - ::flyteidl::core::_GPUAccelerator_default_instance_.partition_size_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class GPUAccelerator::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GPUAccelerator::kDeviceFieldNumber; -const int GPUAccelerator::kUnpartitionedFieldNumber; -const int GPUAccelerator::kPartitionSizeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GPUAccelerator::GPUAccelerator() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.GPUAccelerator) -} -GPUAccelerator::GPUAccelerator(const GPUAccelerator& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - device_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.device().size() > 0) { - device_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_); - } - clear_has_partition_size_value(); - switch (from.partition_size_value_case()) { - case kUnpartitioned: { - set_unpartitioned(from.unpartitioned()); - break; - } - case kPartitionSize: { - set_partition_size(from.partition_size()); - break; - } - case PARTITION_SIZE_VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.GPUAccelerator) -} - -void GPUAccelerator::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GPUAccelerator_flyteidl_2fcore_2ftasks_2eproto.base); - device_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_partition_size_value(); -} - -GPUAccelerator::~GPUAccelerator() { - // @@protoc_insertion_point(destructor:flyteidl.core.GPUAccelerator) - SharedDtor(); -} - -void GPUAccelerator::SharedDtor() { - device_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (has_partition_size_value()) { - clear_partition_size_value(); - } -} - -void GPUAccelerator::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GPUAccelerator& GPUAccelerator::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GPUAccelerator_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void GPUAccelerator::clear_partition_size_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.GPUAccelerator) - switch (partition_size_value_case()) { - case kUnpartitioned: { - // No need to clear - break; - } - case kPartitionSize: { - partition_size_value_.partition_size_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case PARTITION_SIZE_VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = PARTITION_SIZE_VALUE_NOT_SET; -} - - -void GPUAccelerator::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.GPUAccelerator) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_partition_size_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GPUAccelerator::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string device = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.GPUAccelerator.device"); - object = msg->mutable_device(); - 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; - } - // bool unpartitioned = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_unpartitioned(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string partition_size = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.GPUAccelerator.partition_size"); - object = msg->mutable_partition_size(); - 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 GPUAccelerator::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.GPUAccelerator) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string device = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_device())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->device().data(), static_cast(this->device().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.GPUAccelerator.device")); - } else { - goto handle_unusual; - } - break; - } - - // bool unpartitioned = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - clear_partition_size_value(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &partition_size_value_.unpartitioned_))); - set_has_unpartitioned(); - } else { - goto handle_unusual; - } - break; - } - - // string partition_size = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_partition_size())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partition_size().data(), static_cast(this->partition_size().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.GPUAccelerator.partition_size")); - } 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.GPUAccelerator) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.GPUAccelerator) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GPUAccelerator::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.GPUAccelerator) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string device = 1; - if (this->device().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->device().data(), static_cast(this->device().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.GPUAccelerator.device"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->device(), output); - } - - // bool unpartitioned = 2; - if (has_unpartitioned()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->unpartitioned(), output); - } - - // string partition_size = 3; - if (has_partition_size()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partition_size().data(), static_cast(this->partition_size().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.GPUAccelerator.partition_size"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->partition_size(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.GPUAccelerator) -} - -::google::protobuf::uint8* GPUAccelerator::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.GPUAccelerator) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string device = 1; - if (this->device().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->device().data(), static_cast(this->device().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.GPUAccelerator.device"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->device(), target); - } - - // bool unpartitioned = 2; - if (has_unpartitioned()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->unpartitioned(), target); - } - - // string partition_size = 3; - if (has_partition_size()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partition_size().data(), static_cast(this->partition_size().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.GPUAccelerator.partition_size"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->partition_size(), 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.GPUAccelerator) - return target; -} - -size_t GPUAccelerator::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.GPUAccelerator) - 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 device = 1; - if (this->device().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->device()); - } - - switch (partition_size_value_case()) { - // bool unpartitioned = 2; - case kUnpartitioned: { - total_size += 1 + 1; - break; - } - // string partition_size = 3; - case kPartitionSize: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->partition_size()); - break; - } - case PARTITION_SIZE_VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GPUAccelerator::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.GPUAccelerator) - GOOGLE_DCHECK_NE(&from, this); - const GPUAccelerator* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.GPUAccelerator) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.GPUAccelerator) - MergeFrom(*source); - } -} - -void GPUAccelerator::MergeFrom(const GPUAccelerator& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.GPUAccelerator) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.device().size() > 0) { - - device_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_); - } - switch (from.partition_size_value_case()) { - case kUnpartitioned: { - set_unpartitioned(from.unpartitioned()); - break; - } - case kPartitionSize: { - set_partition_size(from.partition_size()); - break; - } - case PARTITION_SIZE_VALUE_NOT_SET: { - break; - } - } -} - -void GPUAccelerator::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.GPUAccelerator) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GPUAccelerator::CopyFrom(const GPUAccelerator& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.GPUAccelerator) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GPUAccelerator::IsInitialized() const { - return true; -} - -void GPUAccelerator::Swap(GPUAccelerator* other) { - if (other == this) return; - InternalSwap(other); -} -void GPUAccelerator::InternalSwap(GPUAccelerator* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - device_.Swap(&other->device_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(partition_size_value_, other->partition_size_value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata GPUAccelerator::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExtendedResources::InitAsDefaultInstance() { - ::flyteidl::core::_ExtendedResources_default_instance_._instance.get_mutable()->gpu_accelerator_ = const_cast< ::flyteidl::core::GPUAccelerator*>( - ::flyteidl::core::GPUAccelerator::internal_default_instance()); -} -class ExtendedResources::HasBitSetters { - public: - static const ::flyteidl::core::GPUAccelerator& gpu_accelerator(const ExtendedResources* msg); -}; - -const ::flyteidl::core::GPUAccelerator& -ExtendedResources::HasBitSetters::gpu_accelerator(const ExtendedResources* msg) { - return *msg->gpu_accelerator_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExtendedResources::kGpuAcceleratorFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExtendedResources::ExtendedResources() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ExtendedResources) -} -ExtendedResources::ExtendedResources(const ExtendedResources& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_gpu_accelerator()) { - gpu_accelerator_ = new ::flyteidl::core::GPUAccelerator(*from.gpu_accelerator_); - } else { - gpu_accelerator_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ExtendedResources) -} - -void ExtendedResources::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto.base); - gpu_accelerator_ = nullptr; -} - -ExtendedResources::~ExtendedResources() { - // @@protoc_insertion_point(destructor:flyteidl.core.ExtendedResources) - SharedDtor(); -} - -void ExtendedResources::SharedDtor() { - if (this != internal_default_instance()) delete gpu_accelerator_; -} - -void ExtendedResources::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExtendedResources& ExtendedResources::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void ExtendedResources::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ExtendedResources) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && gpu_accelerator_ != nullptr) { - delete gpu_accelerator_; - } - gpu_accelerator_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExtendedResources::_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.GPUAccelerator gpu_accelerator = 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::GPUAccelerator::_InternalParse; - object = msg->mutable_gpu_accelerator(); - 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 ExtendedResources::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.ExtendedResources) - 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.GPUAccelerator gpu_accelerator = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_gpu_accelerator())); - } 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.ExtendedResources) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ExtendedResources) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExtendedResources::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ExtendedResources) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - if (this->has_gpu_accelerator()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::gpu_accelerator(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.ExtendedResources) -} - -::google::protobuf::uint8* ExtendedResources::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ExtendedResources) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - if (this->has_gpu_accelerator()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::gpu_accelerator(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.ExtendedResources) - return target; -} - -size_t ExtendedResources::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ExtendedResources) - 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.GPUAccelerator gpu_accelerator = 1; - if (this->has_gpu_accelerator()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *gpu_accelerator_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExtendedResources::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ExtendedResources) - GOOGLE_DCHECK_NE(&from, this); - const ExtendedResources* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ExtendedResources) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ExtendedResources) - MergeFrom(*source); - } -} - -void ExtendedResources::MergeFrom(const ExtendedResources& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ExtendedResources) - 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_gpu_accelerator()) { - mutable_gpu_accelerator()->::flyteidl::core::GPUAccelerator::MergeFrom(from.gpu_accelerator()); - } -} - -void ExtendedResources::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ExtendedResources) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExtendedResources::CopyFrom(const ExtendedResources& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ExtendedResources) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExtendedResources::IsInitialized() const { - return true; -} - -void ExtendedResources::Swap(ExtendedResources* other) { - if (other == this) return; - InternalSwap(other); -} -void ExtendedResources::InternalSwap(ExtendedResources* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(gpu_accelerator_, other->gpu_accelerator_); -} - -::google::protobuf::Metadata ExtendedResources::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void RuntimeMetadata::InitAsDefaultInstance() { -} -class RuntimeMetadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RuntimeMetadata::kTypeFieldNumber; -const int RuntimeMetadata::kVersionFieldNumber; -const int RuntimeMetadata::kFlavorFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RuntimeMetadata::RuntimeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.RuntimeMetadata) -} -RuntimeMetadata::RuntimeMetadata(const RuntimeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.version().size() > 0) { - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - flavor_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.flavor().size() > 0) { - flavor_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flavor_); - } - type_ = from.type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.RuntimeMetadata) -} - -void RuntimeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_RuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - flavor_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = 0; -} - -RuntimeMetadata::~RuntimeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.RuntimeMetadata) - SharedDtor(); -} - -void RuntimeMetadata::SharedDtor() { - version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - flavor_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void RuntimeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RuntimeMetadata& RuntimeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_RuntimeMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void RuntimeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.RuntimeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - flavor_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RuntimeMetadata::_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.RuntimeMetadata.RuntimeType type = 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_type(static_cast<::flyteidl::core::RuntimeMetadata_RuntimeType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string version = 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.RuntimeMetadata.version"); - object = msg->mutable_version(); - 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 flavor = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.RuntimeMetadata.flavor"); - object = msg->mutable_flavor(); - 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 RuntimeMetadata::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.RuntimeMetadata) - 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.RuntimeMetadata.RuntimeType type = 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_type(static_cast< ::flyteidl::core::RuntimeMetadata_RuntimeType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string version = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.RuntimeMetadata.version")); - } else { - goto handle_unusual; - } - break; - } - - // string flavor = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_flavor())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->flavor().data(), static_cast(this->flavor().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.RuntimeMetadata.flavor")); - } 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.RuntimeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.RuntimeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RuntimeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.RuntimeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - if (this->type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->type(), output); - } - - // string version = 2; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.RuntimeMetadata.version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->version(), output); - } - - // string flavor = 3; - if (this->flavor().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->flavor().data(), static_cast(this->flavor().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.RuntimeMetadata.flavor"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->flavor(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.RuntimeMetadata) -} - -::google::protobuf::uint8* RuntimeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.RuntimeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - if (this->type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->type(), target); - } - - // string version = 2; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.RuntimeMetadata.version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->version(), target); - } - - // string flavor = 3; - if (this->flavor().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->flavor().data(), static_cast(this->flavor().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.RuntimeMetadata.flavor"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->flavor(), 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.RuntimeMetadata) - return target; -} - -size_t RuntimeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.RuntimeMetadata) - 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 version = 2; - if (this->version().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->version()); - } - - // string flavor = 3; - if (this->flavor().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->flavor()); - } - - // .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - if (this->type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RuntimeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.RuntimeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const RuntimeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.RuntimeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.RuntimeMetadata) - MergeFrom(*source); - } -} - -void RuntimeMetadata::MergeFrom(const RuntimeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.RuntimeMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.version().size() > 0) { - - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - if (from.flavor().size() > 0) { - - flavor_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flavor_); - } - if (from.type() != 0) { - set_type(from.type()); - } -} - -void RuntimeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.RuntimeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RuntimeMetadata::CopyFrom(const RuntimeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.RuntimeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RuntimeMetadata::IsInitialized() const { - return true; -} - -void RuntimeMetadata::Swap(RuntimeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void RuntimeMetadata::InternalSwap(RuntimeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - flavor_.Swap(&other->flavor_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(type_, other->type_); -} - -::google::protobuf::Metadata RuntimeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -TaskMetadata_TagsEntry_DoNotUse::TaskMetadata_TagsEntry_DoNotUse() {} -TaskMetadata_TagsEntry_DoNotUse::TaskMetadata_TagsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void TaskMetadata_TagsEntry_DoNotUse::MergeFrom(const TaskMetadata_TagsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata TaskMetadata_TagsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[5]; -} -void TaskMetadata_TagsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskMetadata_TagsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - TaskMetadata_TagsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.TagsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.TagsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void TaskMetadata::InitAsDefaultInstance() { - ::flyteidl::core::_TaskMetadata_default_instance_._instance.get_mutable()->runtime_ = const_cast< ::flyteidl::core::RuntimeMetadata*>( - ::flyteidl::core::RuntimeMetadata::internal_default_instance()); - ::flyteidl::core::_TaskMetadata_default_instance_._instance.get_mutable()->timeout_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); - ::flyteidl::core::_TaskMetadata_default_instance_._instance.get_mutable()->retries_ = const_cast< ::flyteidl::core::RetryStrategy*>( - ::flyteidl::core::RetryStrategy::internal_default_instance()); - ::flyteidl::core::_TaskMetadata_default_instance_.interruptible_ = false; -} -class TaskMetadata::HasBitSetters { - public: - static const ::flyteidl::core::RuntimeMetadata& runtime(const TaskMetadata* msg); - static const ::google::protobuf::Duration& timeout(const TaskMetadata* msg); - static const ::flyteidl::core::RetryStrategy& retries(const TaskMetadata* msg); -}; - -const ::flyteidl::core::RuntimeMetadata& -TaskMetadata::HasBitSetters::runtime(const TaskMetadata* msg) { - return *msg->runtime_; -} -const ::google::protobuf::Duration& -TaskMetadata::HasBitSetters::timeout(const TaskMetadata* msg) { - return *msg->timeout_; -} -const ::flyteidl::core::RetryStrategy& -TaskMetadata::HasBitSetters::retries(const TaskMetadata* msg) { - return *msg->retries_; -} -void TaskMetadata::clear_timeout() { - if (GetArenaNoVirtual() == nullptr && timeout_ != nullptr) { - delete timeout_; - } - timeout_ = nullptr; -} -void TaskMetadata::clear_retries() { - if (GetArenaNoVirtual() == nullptr && retries_ != nullptr) { - delete retries_; - } - retries_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskMetadata::kDiscoverableFieldNumber; -const int TaskMetadata::kRuntimeFieldNumber; -const int TaskMetadata::kTimeoutFieldNumber; -const int TaskMetadata::kRetriesFieldNumber; -const int TaskMetadata::kDiscoveryVersionFieldNumber; -const int TaskMetadata::kDeprecatedErrorMessageFieldNumber; -const int TaskMetadata::kInterruptibleFieldNumber; -const int TaskMetadata::kCacheSerializableFieldNumber; -const int TaskMetadata::kGeneratesDeckFieldNumber; -const int TaskMetadata::kTagsFieldNumber; -const int TaskMetadata::kPodTemplateNameFieldNumber; -const int TaskMetadata::kCacheIgnoreInputVarsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskMetadata::TaskMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TaskMetadata) -} -TaskMetadata::TaskMetadata(const TaskMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - cache_ignore_input_vars_(from.cache_ignore_input_vars_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - tags_.MergeFrom(from.tags_); - discovery_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.discovery_version().size() > 0) { - discovery_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.discovery_version_); - } - deprecated_error_message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.deprecated_error_message().size() > 0) { - deprecated_error_message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deprecated_error_message_); - } - pod_template_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.pod_template_name().size() > 0) { - pod_template_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pod_template_name_); - } - if (from.has_runtime()) { - runtime_ = new ::flyteidl::core::RuntimeMetadata(*from.runtime_); - } else { - runtime_ = nullptr; - } - if (from.has_timeout()) { - timeout_ = new ::google::protobuf::Duration(*from.timeout_); - } else { - timeout_ = nullptr; - } - if (from.has_retries()) { - retries_ = new ::flyteidl::core::RetryStrategy(*from.retries_); - } else { - retries_ = nullptr; - } - ::memcpy(&discoverable_, &from.discoverable_, - static_cast(reinterpret_cast(&generates_deck_) - - reinterpret_cast(&discoverable_)) + sizeof(generates_deck_)); - clear_has_interruptible_value(); - switch (from.interruptible_value_case()) { - case kInterruptible: { - set_interruptible(from.interruptible()); - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TaskMetadata) -} - -void TaskMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - discovery_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deprecated_error_message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - pod_template_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&runtime_, 0, static_cast( - reinterpret_cast(&generates_deck_) - - reinterpret_cast(&runtime_)) + sizeof(generates_deck_)); - clear_has_interruptible_value(); -} - -TaskMetadata::~TaskMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.TaskMetadata) - SharedDtor(); -} - -void TaskMetadata::SharedDtor() { - discovery_version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deprecated_error_message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - pod_template_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete runtime_; - if (this != internal_default_instance()) delete timeout_; - if (this != internal_default_instance()) delete retries_; - if (has_interruptible_value()) { - clear_interruptible_value(); - } -} - -void TaskMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskMetadata& TaskMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void TaskMetadata::clear_interruptible_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.TaskMetadata) - switch (interruptible_value_case()) { - case kInterruptible: { - // No need to clear - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = INTERRUPTIBLE_VALUE_NOT_SET; -} - - -void TaskMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TaskMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tags_.Clear(); - cache_ignore_input_vars_.Clear(); - discovery_version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deprecated_error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - pod_template_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && runtime_ != nullptr) { - delete runtime_; - } - runtime_ = nullptr; - if (GetArenaNoVirtual() == nullptr && timeout_ != nullptr) { - delete timeout_; - } - timeout_ = nullptr; - if (GetArenaNoVirtual() == nullptr && retries_ != nullptr) { - delete retries_; - } - retries_ = nullptr; - ::memset(&discoverable_, 0, static_cast( - reinterpret_cast(&generates_deck_) - - reinterpret_cast(&discoverable_)) + sizeof(generates_deck_)); - clear_interruptible_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskMetadata::_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) { - // bool discoverable = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_discoverable(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.RuntimeMetadata runtime = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::RuntimeMetadata::_InternalParse; - object = msg->mutable_runtime(); - 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; - } - // .google.protobuf.Duration timeout = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_timeout(); - 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.RetryStrategy retries = 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::RetryStrategy::_InternalParse; - object = msg->mutable_retries(); - 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 discovery_version = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.TaskMetadata.discovery_version"); - object = msg->mutable_discovery_version(); - 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 deprecated_error_message = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.TaskMetadata.deprecated_error_message"); - object = msg->mutable_deprecated_error_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; - } - // bool interruptible = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 64) goto handle_unusual; - msg->set_interruptible(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // bool cache_serializable = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 72) goto handle_unusual; - msg->set_cache_serializable(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // bool generates_deck = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 80) goto handle_unusual; - msg->set_generates_deck(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // map tags = 11; - case 11: { - if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->tags_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 90 && (ptr += 1)); - break; - } - // string pod_template_name = 12; - case 12: { - if (static_cast<::google::protobuf::uint8>(tag) != 98) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.TaskMetadata.pod_template_name"); - object = msg->mutable_pod_template_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; - } - // repeated string cache_ignore_input_vars = 13; - case 13: { - if (static_cast<::google::protobuf::uint8>(tag) != 106) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.TaskMetadata.cache_ignore_input_vars"); - object = msg->add_cache_ignore_input_vars(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 106 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskMetadata::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.TaskMetadata) - 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)) { - // bool discoverable = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &discoverable_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.RuntimeMetadata runtime = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_runtime())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration timeout = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_timeout())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.RetryStrategy retries = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_retries())); - } else { - goto handle_unusual; - } - break; - } - - // string discovery_version = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_discovery_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->discovery_version().data(), static_cast(this->discovery_version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.discovery_version")); - } else { - goto handle_unusual; - } - break; - } - - // string deprecated_error_message = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_deprecated_error_message())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deprecated_error_message().data(), static_cast(this->deprecated_error_message().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.deprecated_error_message")); - } else { - goto handle_unusual; - } - break; - } - - // bool interruptible = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (64 & 0xFF)) { - clear_interruptible_value(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &interruptible_value_.interruptible_))); - set_has_interruptible(); - } else { - goto handle_unusual; - } - break; - } - - // bool cache_serializable = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (72 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &cache_serializable_))); - } else { - goto handle_unusual; - } - break; - } - - // bool generates_deck = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (80 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &generates_deck_))); - } else { - goto handle_unusual; - } - break; - } - - // map tags = 11; - case 11: { - if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { - TaskMetadata_TagsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - TaskMetadata_TagsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&tags_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.TagsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.TagsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - // string pod_template_name = 12; - case 12: { - if (static_cast< ::google::protobuf::uint8>(tag) == (98 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_pod_template_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->pod_template_name().data(), static_cast(this->pod_template_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.pod_template_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string cache_ignore_input_vars = 13; - case 13: { - if (static_cast< ::google::protobuf::uint8>(tag) == (106 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_cache_ignore_input_vars())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cache_ignore_input_vars(this->cache_ignore_input_vars_size() - 1).data(), - static_cast(this->cache_ignore_input_vars(this->cache_ignore_input_vars_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskMetadata.cache_ignore_input_vars")); - } 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.TaskMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TaskMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TaskMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool discoverable = 1; - if (this->discoverable() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->discoverable(), output); - } - - // .flyteidl.core.RuntimeMetadata runtime = 2; - if (this->has_runtime()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::runtime(this), output); - } - - // .google.protobuf.Duration timeout = 4; - if (this->has_timeout()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::timeout(this), output); - } - - // .flyteidl.core.RetryStrategy retries = 5; - if (this->has_retries()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::retries(this), output); - } - - // string discovery_version = 6; - if (this->discovery_version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->discovery_version().data(), static_cast(this->discovery_version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.discovery_version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->discovery_version(), output); - } - - // string deprecated_error_message = 7; - if (this->deprecated_error_message().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deprecated_error_message().data(), static_cast(this->deprecated_error_message().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.deprecated_error_message"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->deprecated_error_message(), output); - } - - // bool interruptible = 8; - if (has_interruptible()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->interruptible(), output); - } - - // bool cache_serializable = 9; - if (this->cache_serializable() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->cache_serializable(), output); - } - - // bool generates_deck = 10; - if (this->generates_deck() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->generates_deck(), output); - } - - // map tags = 11; - if (!this->tags().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.TagsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.TagsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->tags().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->tags().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(tags_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(11, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it) { - entry.reset(tags_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(11, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // string pod_template_name = 12; - if (this->pod_template_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->pod_template_name().data(), static_cast(this->pod_template_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.pod_template_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 12, this->pod_template_name(), output); - } - - // repeated string cache_ignore_input_vars = 13; - for (int i = 0, n = this->cache_ignore_input_vars_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cache_ignore_input_vars(i).data(), static_cast(this->cache_ignore_input_vars(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.cache_ignore_input_vars"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 13, this->cache_ignore_input_vars(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.TaskMetadata) -} - -::google::protobuf::uint8* TaskMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TaskMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool discoverable = 1; - if (this->discoverable() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->discoverable(), target); - } - - // .flyteidl.core.RuntimeMetadata runtime = 2; - if (this->has_runtime()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::runtime(this), target); - } - - // .google.protobuf.Duration timeout = 4; - if (this->has_timeout()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::timeout(this), target); - } - - // .flyteidl.core.RetryStrategy retries = 5; - if (this->has_retries()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::retries(this), target); - } - - // string discovery_version = 6; - if (this->discovery_version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->discovery_version().data(), static_cast(this->discovery_version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.discovery_version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->discovery_version(), target); - } - - // string deprecated_error_message = 7; - if (this->deprecated_error_message().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deprecated_error_message().data(), static_cast(this->deprecated_error_message().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.deprecated_error_message"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->deprecated_error_message(), target); - } - - // bool interruptible = 8; - if (has_interruptible()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->interruptible(), target); - } - - // bool cache_serializable = 9; - if (this->cache_serializable() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->cache_serializable(), target); - } - - // bool generates_deck = 10; - if (this->generates_deck() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->generates_deck(), target); - } - - // map tags = 11; - if (!this->tags().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.TagsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.TagsEntry.value"); - } - }; - - if (false && - this->tags().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->tags().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(tags_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(11, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it) { - entry.reset(tags_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(11, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // string pod_template_name = 12; - if (this->pod_template_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->pod_template_name().data(), static_cast(this->pod_template_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.pod_template_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 12, this->pod_template_name(), target); - } - - // repeated string cache_ignore_input_vars = 13; - for (int i = 0, n = this->cache_ignore_input_vars_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cache_ignore_input_vars(i).data(), static_cast(this->cache_ignore_input_vars(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskMetadata.cache_ignore_input_vars"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(13, this->cache_ignore_input_vars(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.TaskMetadata) - return target; -} - -size_t TaskMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TaskMetadata) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map tags = 11; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->tags_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it) { - entry.reset(tags_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // repeated string cache_ignore_input_vars = 13; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->cache_ignore_input_vars_size()); - for (int i = 0, n = this->cache_ignore_input_vars_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->cache_ignore_input_vars(i)); - } - - // string discovery_version = 6; - if (this->discovery_version().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->discovery_version()); - } - - // string deprecated_error_message = 7; - if (this->deprecated_error_message().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->deprecated_error_message()); - } - - // string pod_template_name = 12; - if (this->pod_template_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->pod_template_name()); - } - - // .flyteidl.core.RuntimeMetadata runtime = 2; - if (this->has_runtime()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *runtime_); - } - - // .google.protobuf.Duration timeout = 4; - if (this->has_timeout()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *timeout_); - } - - // .flyteidl.core.RetryStrategy retries = 5; - if (this->has_retries()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *retries_); - } - - // bool discoverable = 1; - if (this->discoverable() != 0) { - total_size += 1 + 1; - } - - // bool cache_serializable = 9; - if (this->cache_serializable() != 0) { - total_size += 1 + 1; - } - - // bool generates_deck = 10; - if (this->generates_deck() != 0) { - total_size += 1 + 1; - } - - switch (interruptible_value_case()) { - // bool interruptible = 8; - case kInterruptible: { - total_size += 1 + 1; - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TaskMetadata) - GOOGLE_DCHECK_NE(&from, this); - const TaskMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TaskMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TaskMetadata) - MergeFrom(*source); - } -} - -void TaskMetadata::MergeFrom(const TaskMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TaskMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tags_.MergeFrom(from.tags_); - cache_ignore_input_vars_.MergeFrom(from.cache_ignore_input_vars_); - if (from.discovery_version().size() > 0) { - - discovery_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.discovery_version_); - } - if (from.deprecated_error_message().size() > 0) { - - deprecated_error_message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deprecated_error_message_); - } - if (from.pod_template_name().size() > 0) { - - pod_template_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pod_template_name_); - } - if (from.has_runtime()) { - mutable_runtime()->::flyteidl::core::RuntimeMetadata::MergeFrom(from.runtime()); - } - if (from.has_timeout()) { - mutable_timeout()->::google::protobuf::Duration::MergeFrom(from.timeout()); - } - if (from.has_retries()) { - mutable_retries()->::flyteidl::core::RetryStrategy::MergeFrom(from.retries()); - } - if (from.discoverable() != 0) { - set_discoverable(from.discoverable()); - } - if (from.cache_serializable() != 0) { - set_cache_serializable(from.cache_serializable()); - } - if (from.generates_deck() != 0) { - set_generates_deck(from.generates_deck()); - } - switch (from.interruptible_value_case()) { - case kInterruptible: { - set_interruptible(from.interruptible()); - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } -} - -void TaskMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TaskMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskMetadata::CopyFrom(const TaskMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TaskMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskMetadata::IsInitialized() const { - return true; -} - -void TaskMetadata::Swap(TaskMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskMetadata::InternalSwap(TaskMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tags_.Swap(&other->tags_); - cache_ignore_input_vars_.InternalSwap(CastToBase(&other->cache_ignore_input_vars_)); - discovery_version_.Swap(&other->discovery_version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - deprecated_error_message_.Swap(&other->deprecated_error_message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - pod_template_name_.Swap(&other->pod_template_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(runtime_, other->runtime_); - swap(timeout_, other->timeout_); - swap(retries_, other->retries_); - swap(discoverable_, other->discoverable_); - swap(cache_serializable_, other->cache_serializable_); - swap(generates_deck_, other->generates_deck_); - swap(interruptible_value_, other->interruptible_value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata TaskMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -TaskTemplate_ConfigEntry_DoNotUse::TaskTemplate_ConfigEntry_DoNotUse() {} -TaskTemplate_ConfigEntry_DoNotUse::TaskTemplate_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void TaskTemplate_ConfigEntry_DoNotUse::MergeFrom(const TaskTemplate_ConfigEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata TaskTemplate_ConfigEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[7]; -} -void TaskTemplate_ConfigEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TaskTemplate_ConfigEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - TaskTemplate_ConfigEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskTemplate.ConfigEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskTemplate.ConfigEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void TaskTemplate::InitAsDefaultInstance() { - ::flyteidl::core::_TaskTemplate_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::core::TaskMetadata*>( - ::flyteidl::core::TaskMetadata::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_._instance.get_mutable()->interface_ = const_cast< ::flyteidl::core::TypedInterface*>( - ::flyteidl::core::TypedInterface::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_._instance.get_mutable()->custom_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_.container_ = const_cast< ::flyteidl::core::Container*>( - ::flyteidl::core::Container::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_.k8s_pod_ = const_cast< ::flyteidl::core::K8sPod*>( - ::flyteidl::core::K8sPod::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_.sql_ = const_cast< ::flyteidl::core::Sql*>( - ::flyteidl::core::Sql::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_._instance.get_mutable()->security_context_ = const_cast< ::flyteidl::core::SecurityContext*>( - ::flyteidl::core::SecurityContext::internal_default_instance()); - ::flyteidl::core::_TaskTemplate_default_instance_._instance.get_mutable()->extended_resources_ = const_cast< ::flyteidl::core::ExtendedResources*>( - ::flyteidl::core::ExtendedResources::internal_default_instance()); -} -class TaskTemplate::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const TaskTemplate* msg); - static const ::flyteidl::core::TaskMetadata& metadata(const TaskTemplate* msg); - static const ::flyteidl::core::TypedInterface& interface(const TaskTemplate* msg); - static const ::google::protobuf::Struct& custom(const TaskTemplate* msg); - static const ::flyteidl::core::Container& container(const TaskTemplate* msg); - static const ::flyteidl::core::K8sPod& k8s_pod(const TaskTemplate* msg); - static const ::flyteidl::core::Sql& sql(const TaskTemplate* msg); - static const ::flyteidl::core::SecurityContext& security_context(const TaskTemplate* msg); - static const ::flyteidl::core::ExtendedResources& extended_resources(const TaskTemplate* msg); -}; - -const ::flyteidl::core::Identifier& -TaskTemplate::HasBitSetters::id(const TaskTemplate* msg) { - return *msg->id_; -} -const ::flyteidl::core::TaskMetadata& -TaskTemplate::HasBitSetters::metadata(const TaskTemplate* msg) { - return *msg->metadata_; -} -const ::flyteidl::core::TypedInterface& -TaskTemplate::HasBitSetters::interface(const TaskTemplate* msg) { - return *msg->interface_; -} -const ::google::protobuf::Struct& -TaskTemplate::HasBitSetters::custom(const TaskTemplate* msg) { - return *msg->custom_; -} -const ::flyteidl::core::Container& -TaskTemplate::HasBitSetters::container(const TaskTemplate* msg) { - return *msg->target_.container_; -} -const ::flyteidl::core::K8sPod& -TaskTemplate::HasBitSetters::k8s_pod(const TaskTemplate* msg) { - return *msg->target_.k8s_pod_; -} -const ::flyteidl::core::Sql& -TaskTemplate::HasBitSetters::sql(const TaskTemplate* msg) { - return *msg->target_.sql_; -} -const ::flyteidl::core::SecurityContext& -TaskTemplate::HasBitSetters::security_context(const TaskTemplate* msg) { - return *msg->security_context_; -} -const ::flyteidl::core::ExtendedResources& -TaskTemplate::HasBitSetters::extended_resources(const TaskTemplate* msg) { - return *msg->extended_resources_; -} -void TaskTemplate::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void TaskTemplate::clear_interface() { - if (GetArenaNoVirtual() == nullptr && interface_ != nullptr) { - delete interface_; - } - interface_ = nullptr; -} -void TaskTemplate::clear_custom() { - if (GetArenaNoVirtual() == nullptr && custom_ != nullptr) { - delete custom_; - } - custom_ = nullptr; -} -void TaskTemplate::set_allocated_container(::flyteidl::core::Container* container) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (container) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - container = ::google::protobuf::internal::GetOwnedMessage( - message_arena, container, submessage_arena); - } - set_has_container(); - target_.container_ = container; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.container) -} -void TaskTemplate::set_allocated_k8s_pod(::flyteidl::core::K8sPod* k8s_pod) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (k8s_pod) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - k8s_pod = ::google::protobuf::internal::GetOwnedMessage( - message_arena, k8s_pod, submessage_arena); - } - set_has_k8s_pod(); - target_.k8s_pod_ = k8s_pod; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.k8s_pod) -} -void TaskTemplate::set_allocated_sql(::flyteidl::core::Sql* sql) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (sql) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sql = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sql, submessage_arena); - } - set_has_sql(); - target_.sql_ = sql; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.sql) -} -void TaskTemplate::clear_security_context() { - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskTemplate::kIdFieldNumber; -const int TaskTemplate::kTypeFieldNumber; -const int TaskTemplate::kMetadataFieldNumber; -const int TaskTemplate::kInterfaceFieldNumber; -const int TaskTemplate::kCustomFieldNumber; -const int TaskTemplate::kContainerFieldNumber; -const int TaskTemplate::kK8SPodFieldNumber; -const int TaskTemplate::kSqlFieldNumber; -const int TaskTemplate::kTaskTypeVersionFieldNumber; -const int TaskTemplate::kSecurityContextFieldNumber; -const int TaskTemplate::kExtendedResourcesFieldNumber; -const int TaskTemplate::kConfigFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskTemplate::TaskTemplate() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TaskTemplate) -} -TaskTemplate::TaskTemplate(const TaskTemplate& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - config_.MergeFrom(from.config_); - type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.type().size() > 0) { - type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::core::TaskMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - if (from.has_interface()) { - interface_ = new ::flyteidl::core::TypedInterface(*from.interface_); - } else { - interface_ = nullptr; - } - if (from.has_custom()) { - custom_ = new ::google::protobuf::Struct(*from.custom_); - } else { - custom_ = nullptr; - } - if (from.has_security_context()) { - security_context_ = new ::flyteidl::core::SecurityContext(*from.security_context_); - } else { - security_context_ = nullptr; - } - if (from.has_extended_resources()) { - extended_resources_ = new ::flyteidl::core::ExtendedResources(*from.extended_resources_); - } else { - extended_resources_ = nullptr; - } - task_type_version_ = from.task_type_version_; - clear_has_target(); - switch (from.target_case()) { - case kContainer: { - mutable_container()->::flyteidl::core::Container::MergeFrom(from.container()); - break; - } - case kK8SPod: { - mutable_k8s_pod()->::flyteidl::core::K8sPod::MergeFrom(from.k8s_pod()); - break; - } - case kSql: { - mutable_sql()->::flyteidl::core::Sql::MergeFrom(from.sql()); - break; - } - case TARGET_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TaskTemplate) -} - -void TaskTemplate::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base); - type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&task_type_version_) - - reinterpret_cast(&id_)) + sizeof(task_type_version_)); - clear_has_target(); -} - -TaskTemplate::~TaskTemplate() { - // @@protoc_insertion_point(destructor:flyteidl.core.TaskTemplate) - SharedDtor(); -} - -void TaskTemplate::SharedDtor() { - type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete metadata_; - if (this != internal_default_instance()) delete interface_; - if (this != internal_default_instance()) delete custom_; - if (this != internal_default_instance()) delete security_context_; - if (this != internal_default_instance()) delete extended_resources_; - if (has_target()) { - clear_target(); - } -} - -void TaskTemplate::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskTemplate& TaskTemplate::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void TaskTemplate::clear_target() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.TaskTemplate) - switch (target_case()) { - case kContainer: { - delete target_.container_; - break; - } - case kK8SPod: { - delete target_.k8s_pod_; - break; - } - case kSql: { - delete target_.sql_; - break; - } - case TARGET_NOT_SET: { - break; - } - } - _oneof_case_[0] = TARGET_NOT_SET; -} - - -void TaskTemplate::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TaskTemplate) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - config_.Clear(); - type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && interface_ != nullptr) { - delete interface_; - } - interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && custom_ != nullptr) { - delete custom_; - } - custom_ = nullptr; - if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { - delete security_context_; - } - security_context_ = nullptr; - if (GetArenaNoVirtual() == nullptr && extended_resources_ != nullptr) { - delete extended_resources_; - } - extended_resources_ = nullptr; - task_type_version_ = 0; - clear_target(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskTemplate::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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 type = 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.TaskTemplate.type"); - object = msg->mutable_type(); - 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.TaskMetadata metadata = 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::TaskMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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.TypedInterface interface = 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::TypedInterface::_InternalParse; - object = msg->mutable_interface(); - 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; - } - // .google.protobuf.Struct custom = 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 = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_custom(); - 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.Container container = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Container::_InternalParse; - object = msg->mutable_container(); - 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; - } - // int32 task_type_version = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 56) goto handle_unusual; - msg->set_task_type_version(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.SecurityContext security_context = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::SecurityContext::_InternalParse; - object = msg->mutable_security_context(); - 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.ExtendedResources extended_resources = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExtendedResources::_InternalParse; - object = msg->mutable_extended_resources(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - // map config = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->config_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 65535) == 386 && (ptr += 2)); - break; - } - // .flyteidl.core.K8sPod k8s_pod = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 138) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::K8sPod::_InternalParse; - object = msg->mutable_k8s_pod(); - 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.Sql sql = 18; - case 18: { - if (static_cast<::google::protobuf::uint8>(tag) != 146) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Sql::_InternalParse; - object = msg->mutable_sql(); - 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 TaskTemplate::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.TaskTemplate) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.core.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskTemplate.type")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskMetadata metadata = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TypedInterface interface = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_interface())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct custom = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_custom())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Container container = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_container())); - } else { - goto handle_unusual; - } - break; - } - - // int32 task_type_version = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (56 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &task_type_version_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SecurityContext security_context = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_security_context())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExtendedResources extended_resources = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_extended_resources())); - } else { - goto handle_unusual; - } - break; - } - - // map config = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - TaskTemplate_ConfigEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - TaskTemplate_ConfigEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&config_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskTemplate.ConfigEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TaskTemplate.ConfigEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.K8sPod k8s_pod = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (138 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_k8s_pod())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Sql sql = 18; - case 18: { - if (static_cast< ::google::protobuf::uint8>(tag) == (146 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sql())); - } 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.TaskTemplate) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TaskTemplate) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskTemplate::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TaskTemplate) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string type = 2; - if (this->type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskTemplate.type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->type(), output); - } - - // .flyteidl.core.TaskMetadata metadata = 3; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::metadata(this), output); - } - - // .flyteidl.core.TypedInterface interface = 4; - if (this->has_interface()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::interface(this), output); - } - - // .google.protobuf.Struct custom = 5; - if (this->has_custom()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::custom(this), output); - } - - // .flyteidl.core.Container container = 6; - if (has_container()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::container(this), output); - } - - // int32 task_type_version = 7; - if (this->task_type_version() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->task_type_version(), output); - } - - // .flyteidl.core.SecurityContext security_context = 8; - if (this->has_security_context()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::security_context(this), output); - } - - // .flyteidl.core.ExtendedResources extended_resources = 9; - if (this->has_extended_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::extended_resources(this), output); - } - - // map config = 16; - if (!this->config().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskTemplate.ConfigEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskTemplate.ConfigEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->config().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->config().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->config().begin(); - it != this->config().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(config_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(16, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->config().begin(); - it != this->config().end(); ++it) { - entry.reset(config_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(16, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // .flyteidl.core.K8sPod k8s_pod = 17; - if (has_k8s_pod()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 17, HasBitSetters::k8s_pod(this), output); - } - - // .flyteidl.core.Sql sql = 18; - if (has_sql()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 18, HasBitSetters::sql(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.TaskTemplate) -} - -::google::protobuf::uint8* TaskTemplate::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TaskTemplate) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string type = 2; - if (this->type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->type().data(), static_cast(this->type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskTemplate.type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->type(), target); - } - - // .flyteidl.core.TaskMetadata metadata = 3; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::metadata(this), target); - } - - // .flyteidl.core.TypedInterface interface = 4; - if (this->has_interface()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::interface(this), target); - } - - // .google.protobuf.Struct custom = 5; - if (this->has_custom()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::custom(this), target); - } - - // .flyteidl.core.Container container = 6; - if (has_container()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::container(this), target); - } - - // int32 task_type_version = 7; - if (this->task_type_version() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->task_type_version(), target); - } - - // .flyteidl.core.SecurityContext security_context = 8; - if (this->has_security_context()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::security_context(this), target); - } - - // .flyteidl.core.ExtendedResources extended_resources = 9; - if (this->has_extended_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::extended_resources(this), target); - } - - // map config = 16; - if (!this->config().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskTemplate.ConfigEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TaskTemplate.ConfigEntry.value"); - } - }; - - if (false && - this->config().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->config().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->config().begin(); - it != this->config().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(config_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(16, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->config().begin(); - it != this->config().end(); ++it) { - entry.reset(config_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(16, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // .flyteidl.core.K8sPod k8s_pod = 17; - if (has_k8s_pod()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 17, HasBitSetters::k8s_pod(this), target); - } - - // .flyteidl.core.Sql sql = 18; - if (has_sql()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 18, HasBitSetters::sql(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.TaskTemplate) - return target; -} - -size_t TaskTemplate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TaskTemplate) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map config = 16; - total_size += 2 * - ::google::protobuf::internal::FromIntSize(this->config_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->config().begin(); - it != this->config().end(); ++it) { - entry.reset(config_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // string type = 2; - if (this->type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->type()); - } - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.TaskMetadata metadata = 3; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .flyteidl.core.TypedInterface interface = 4; - if (this->has_interface()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *interface_); - } - - // .google.protobuf.Struct custom = 5; - if (this->has_custom()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *custom_); - } - - // .flyteidl.core.SecurityContext security_context = 8; - if (this->has_security_context()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *security_context_); - } - - // .flyteidl.core.ExtendedResources extended_resources = 9; - if (this->has_extended_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *extended_resources_); - } - - // int32 task_type_version = 7; - if (this->task_type_version() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->task_type_version()); - } - - switch (target_case()) { - // .flyteidl.core.Container container = 6; - case kContainer: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.container_); - break; - } - // .flyteidl.core.K8sPod k8s_pod = 17; - case kK8SPod: { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.k8s_pod_); - break; - } - // .flyteidl.core.Sql sql = 18; - case kSql: { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.sql_); - break; - } - case TARGET_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskTemplate::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TaskTemplate) - GOOGLE_DCHECK_NE(&from, this); - const TaskTemplate* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TaskTemplate) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TaskTemplate) - MergeFrom(*source); - } -} - -void TaskTemplate::MergeFrom(const TaskTemplate& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TaskTemplate) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - config_.MergeFrom(from.config_); - if (from.type().size() > 0) { - - type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::core::TaskMetadata::MergeFrom(from.metadata()); - } - if (from.has_interface()) { - mutable_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.interface()); - } - if (from.has_custom()) { - mutable_custom()->::google::protobuf::Struct::MergeFrom(from.custom()); - } - if (from.has_security_context()) { - mutable_security_context()->::flyteidl::core::SecurityContext::MergeFrom(from.security_context()); - } - if (from.has_extended_resources()) { - mutable_extended_resources()->::flyteidl::core::ExtendedResources::MergeFrom(from.extended_resources()); - } - if (from.task_type_version() != 0) { - set_task_type_version(from.task_type_version()); - } - switch (from.target_case()) { - case kContainer: { - mutable_container()->::flyteidl::core::Container::MergeFrom(from.container()); - break; - } - case kK8SPod: { - mutable_k8s_pod()->::flyteidl::core::K8sPod::MergeFrom(from.k8s_pod()); - break; - } - case kSql: { - mutable_sql()->::flyteidl::core::Sql::MergeFrom(from.sql()); - break; - } - case TARGET_NOT_SET: { - break; - } - } -} - -void TaskTemplate::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TaskTemplate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskTemplate::CopyFrom(const TaskTemplate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TaskTemplate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskTemplate::IsInitialized() const { - return true; -} - -void TaskTemplate::Swap(TaskTemplate* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskTemplate::InternalSwap(TaskTemplate* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - config_.Swap(&other->config_); - type_.Swap(&other->type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(metadata_, other->metadata_); - swap(interface_, other->interface_); - swap(custom_, other->custom_); - swap(security_context_, other->security_context_); - swap(extended_resources_, other->extended_resources_); - swap(task_type_version_, other->task_type_version_); - swap(target_, other->target_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata TaskTemplate::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ContainerPort::InitAsDefaultInstance() { -} -class ContainerPort::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ContainerPort::kContainerPortFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ContainerPort::ContainerPort() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ContainerPort) -} -ContainerPort::ContainerPort(const ContainerPort& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - container_port_ = from.container_port_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ContainerPort) -} - -void ContainerPort::SharedCtor() { - container_port_ = 0u; -} - -ContainerPort::~ContainerPort() { - // @@protoc_insertion_point(destructor:flyteidl.core.ContainerPort) - SharedDtor(); -} - -void ContainerPort::SharedDtor() { -} - -void ContainerPort::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ContainerPort& ContainerPort::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ContainerPort_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void ContainerPort::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ContainerPort) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - container_port_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ContainerPort::_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) { - // uint32 container_port = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_container_port(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ContainerPort::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.ContainerPort) - 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)) { - // uint32 container_port = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &container_port_))); - } 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.ContainerPort) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ContainerPort) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ContainerPort::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ContainerPort) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 container_port = 1; - if (this->container_port() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->container_port(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ContainerPort) -} - -::google::protobuf::uint8* ContainerPort::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ContainerPort) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 container_port = 1; - if (this->container_port() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->container_port(), 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.ContainerPort) - return target; -} - -size_t ContainerPort::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ContainerPort) - 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; - - // uint32 container_port = 1; - if (this->container_port() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->container_port()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ContainerPort::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ContainerPort) - GOOGLE_DCHECK_NE(&from, this); - const ContainerPort* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ContainerPort) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ContainerPort) - MergeFrom(*source); - } -} - -void ContainerPort::MergeFrom(const ContainerPort& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ContainerPort) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.container_port() != 0) { - set_container_port(from.container_port()); - } -} - -void ContainerPort::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ContainerPort) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ContainerPort::CopyFrom(const ContainerPort& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ContainerPort) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ContainerPort::IsInitialized() const { - return true; -} - -void ContainerPort::Swap(ContainerPort* other) { - if (other == this) return; - InternalSwap(other); -} -void ContainerPort::InternalSwap(ContainerPort* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(container_port_, other->container_port_); -} - -::google::protobuf::Metadata ContainerPort::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Container::InitAsDefaultInstance() { - ::flyteidl::core::_Container_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( - ::flyteidl::core::Resources::internal_default_instance()); - ::flyteidl::core::_Container_default_instance_._instance.get_mutable()->data_config_ = const_cast< ::flyteidl::core::DataLoadingConfig*>( - ::flyteidl::core::DataLoadingConfig::internal_default_instance()); -} -class Container::HasBitSetters { - public: - static const ::flyteidl::core::Resources& resources(const Container* msg); - static const ::flyteidl::core::DataLoadingConfig& data_config(const Container* msg); -}; - -const ::flyteidl::core::Resources& -Container::HasBitSetters::resources(const Container* msg) { - return *msg->resources_; -} -const ::flyteidl::core::DataLoadingConfig& -Container::HasBitSetters::data_config(const Container* msg) { - return *msg->data_config_; -} -void Container::clear_env() { - env_.Clear(); -} -void Container::clear_config() { - config_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Container::kImageFieldNumber; -const int Container::kCommandFieldNumber; -const int Container::kArgsFieldNumber; -const int Container::kResourcesFieldNumber; -const int Container::kEnvFieldNumber; -const int Container::kConfigFieldNumber; -const int Container::kPortsFieldNumber; -const int Container::kDataConfigFieldNumber; -const int Container::kArchitectureFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Container::Container() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Container) -} -Container::Container(const Container& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - command_(from.command_), - args_(from.args_), - env_(from.env_), - config_(from.config_), - ports_(from.ports_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.image().size() > 0) { - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - resources_ = new ::flyteidl::core::Resources(*from.resources_); - } else { - resources_ = nullptr; - } - if (from.has_data_config()) { - data_config_ = new ::flyteidl::core::DataLoadingConfig(*from.data_config_); - } else { - data_config_ = nullptr; - } - architecture_ = from.architecture_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Container) -} - -void Container::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Container_flyteidl_2fcore_2ftasks_2eproto.base); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&resources_, 0, static_cast( - reinterpret_cast(&architecture_) - - reinterpret_cast(&resources_)) + sizeof(architecture_)); -} - -Container::~Container() { - // @@protoc_insertion_point(destructor:flyteidl.core.Container) - SharedDtor(); -} - -void Container::SharedDtor() { - image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete resources_; - if (this != internal_default_instance()) delete data_config_; -} - -void Container::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Container& Container::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Container_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void Container::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Container) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - command_.Clear(); - args_.Clear(); - env_.Clear(); - config_.Clear(); - ports_.Clear(); - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; - if (GetArenaNoVirtual() == nullptr && data_config_ != nullptr) { - delete data_config_; - } - data_config_ = nullptr; - architecture_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Container::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string image = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Container.image"); - object = msg->mutable_image(); - 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; - } - // repeated string command = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Container.command"); - object = msg->add_command(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); - break; - } - // repeated string args = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Container.args"); - object = msg->add_args(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); - break; - } - // .flyteidl.core.Resources resources = 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::Resources::_InternalParse; - object = msg->mutable_resources(); - 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; - } - // repeated .flyteidl.core.KeyValuePair env = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::KeyValuePair::_InternalParse; - object = msg->add_env(); - 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) == 42 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::KeyValuePair::_InternalParse; - object = msg->add_config(); - 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) == 50 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.ContainerPort ports = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ContainerPort::_InternalParse; - object = msg->add_ports(); - 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) == 58 && (ptr += 1)); - break; - } - // .flyteidl.core.DataLoadingConfig data_config = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::DataLoadingConfig::_InternalParse; - object = msg->mutable_data_config(); - 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.Container.Architecture architecture = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 80) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_architecture(static_cast<::flyteidl::core::Container_Architecture>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 Container::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.Container) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string image = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_image())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Container.image")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string command = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_command())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->command(this->command_size() - 1).data(), - static_cast(this->command(this->command_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Container.command")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string args = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_args())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->args(this->args_size() - 1).data(), - static_cast(this->args(this->args_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Container.args")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Resources resources = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resources())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.KeyValuePair env = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_env())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_config())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.ContainerPort ports = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_ports())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.DataLoadingConfig data_config = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_data_config())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Container.Architecture architecture = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (80 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_architecture(static_cast< ::flyteidl::core::Container_Architecture >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Container) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Container) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Container::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Container) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string image = 1; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Container.image"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->image(), output); - } - - // repeated string command = 2; - for (int i = 0, n = this->command_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->command(i).data(), static_cast(this->command(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Container.command"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->command(i), output); - } - - // repeated string args = 3; - for (int i = 0, n = this->args_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->args(i).data(), static_cast(this->args(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Container.args"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 3, this->args(i), output); - } - - // .flyteidl.core.Resources resources = 4; - if (this->has_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::resources(this), output); - } - - // repeated .flyteidl.core.KeyValuePair env = 5; - for (unsigned int i = 0, - n = static_cast(this->env_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, - this->env(static_cast(i)), - output); - } - - // repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - for (unsigned int i = 0, - n = static_cast(this->config_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, - this->config(static_cast(i)), - output); - } - - // repeated .flyteidl.core.ContainerPort ports = 7; - for (unsigned int i = 0, - n = static_cast(this->ports_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, - this->ports(static_cast(i)), - output); - } - - // .flyteidl.core.DataLoadingConfig data_config = 9; - if (this->has_data_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::data_config(this), output); - } - - // .flyteidl.core.Container.Architecture architecture = 10; - if (this->architecture() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 10, this->architecture(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Container) -} - -::google::protobuf::uint8* Container::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Container) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string image = 1; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Container.image"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->image(), target); - } - - // repeated string command = 2; - for (int i = 0, n = this->command_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->command(i).data(), static_cast(this->command(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Container.command"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(2, this->command(i), target); - } - - // repeated string args = 3; - for (int i = 0, n = this->args_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->args(i).data(), static_cast(this->args(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Container.args"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(3, this->args(i), target); - } - - // .flyteidl.core.Resources resources = 4; - if (this->has_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::resources(this), target); - } - - // repeated .flyteidl.core.KeyValuePair env = 5; - for (unsigned int i = 0, - n = static_cast(this->env_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, this->env(static_cast(i)), target); - } - - // repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - for (unsigned int i = 0, - n = static_cast(this->config_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, this->config(static_cast(i)), target); - } - - // repeated .flyteidl.core.ContainerPort ports = 7; - for (unsigned int i = 0, - n = static_cast(this->ports_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, this->ports(static_cast(i)), target); - } - - // .flyteidl.core.DataLoadingConfig data_config = 9; - if (this->has_data_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::data_config(this), target); - } - - // .flyteidl.core.Container.Architecture architecture = 10; - if (this->architecture() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 10, this->architecture(), 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.Container) - return target; -} - -size_t Container::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Container) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string command = 2; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->command_size()); - for (int i = 0, n = this->command_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->command(i)); - } - - // repeated string args = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->args_size()); - for (int i = 0, n = this->args_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->args(i)); - } - - // repeated .flyteidl.core.KeyValuePair env = 5; - { - unsigned int count = static_cast(this->env_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->env(static_cast(i))); - } - } - - // repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - { - unsigned int count = static_cast(this->config_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->config(static_cast(i))); - } - } - - // repeated .flyteidl.core.ContainerPort ports = 7; - { - unsigned int count = static_cast(this->ports_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->ports(static_cast(i))); - } - } - - // string image = 1; - if (this->image().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->image()); - } - - // .flyteidl.core.Resources resources = 4; - if (this->has_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resources_); - } - - // .flyteidl.core.DataLoadingConfig data_config = 9; - if (this->has_data_config()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *data_config_); - } - - // .flyteidl.core.Container.Architecture architecture = 10; - if (this->architecture() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->architecture()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Container::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Container) - GOOGLE_DCHECK_NE(&from, this); - const Container* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Container) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Container) - MergeFrom(*source); - } -} - -void Container::MergeFrom(const Container& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Container) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - command_.MergeFrom(from.command_); - args_.MergeFrom(from.args_); - env_.MergeFrom(from.env_); - config_.MergeFrom(from.config_); - ports_.MergeFrom(from.ports_); - if (from.image().size() > 0) { - - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); - } - if (from.has_data_config()) { - mutable_data_config()->::flyteidl::core::DataLoadingConfig::MergeFrom(from.data_config()); - } - if (from.architecture() != 0) { - set_architecture(from.architecture()); - } -} - -void Container::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Container) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Container::CopyFrom(const Container& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Container) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Container::IsInitialized() const { - return true; -} - -void Container::Swap(Container* other) { - if (other == this) return; - InternalSwap(other); -} -void Container::InternalSwap(Container* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - command_.InternalSwap(CastToBase(&other->command_)); - args_.InternalSwap(CastToBase(&other->args_)); - CastToBase(&env_)->InternalSwap(CastToBase(&other->env_)); - CastToBase(&config_)->InternalSwap(CastToBase(&other->config_)); - CastToBase(&ports_)->InternalSwap(CastToBase(&other->ports_)); - image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resources_, other->resources_); - swap(data_config_, other->data_config_); - swap(architecture_, other->architecture_); -} - -::google::protobuf::Metadata Container::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void IOStrategy::InitAsDefaultInstance() { -} -class IOStrategy::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int IOStrategy::kDownloadModeFieldNumber; -const int IOStrategy::kUploadModeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -IOStrategy::IOStrategy() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.IOStrategy) -} -IOStrategy::IOStrategy(const IOStrategy& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&download_mode_, &from.download_mode_, - static_cast(reinterpret_cast(&upload_mode_) - - reinterpret_cast(&download_mode_)) + sizeof(upload_mode_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.IOStrategy) -} - -void IOStrategy::SharedCtor() { - ::memset(&download_mode_, 0, static_cast( - reinterpret_cast(&upload_mode_) - - reinterpret_cast(&download_mode_)) + sizeof(upload_mode_)); -} - -IOStrategy::~IOStrategy() { - // @@protoc_insertion_point(destructor:flyteidl.core.IOStrategy) - SharedDtor(); -} - -void IOStrategy::SharedDtor() { -} - -void IOStrategy::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const IOStrategy& IOStrategy::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_IOStrategy_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void IOStrategy::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.IOStrategy) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&download_mode_, 0, static_cast( - reinterpret_cast(&upload_mode_) - - reinterpret_cast(&download_mode_)) + sizeof(upload_mode_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* IOStrategy::_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.IOStrategy.DownloadMode download_mode = 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_download_mode(static_cast<::flyteidl::core::IOStrategy_DownloadMode>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_upload_mode(static_cast<::flyteidl::core::IOStrategy_UploadMode>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool IOStrategy::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.IOStrategy) - 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.IOStrategy.DownloadMode download_mode = 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_download_mode(static_cast< ::flyteidl::core::IOStrategy_DownloadMode >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_upload_mode(static_cast< ::flyteidl::core::IOStrategy_UploadMode >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.IOStrategy) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.IOStrategy) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void IOStrategy::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.IOStrategy) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - if (this->download_mode() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->download_mode(), output); - } - - // .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - if (this->upload_mode() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->upload_mode(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.IOStrategy) -} - -::google::protobuf::uint8* IOStrategy::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.IOStrategy) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - if (this->download_mode() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->download_mode(), target); - } - - // .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - if (this->upload_mode() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->upload_mode(), 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.IOStrategy) - return target; -} - -size_t IOStrategy::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.IOStrategy) - 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.IOStrategy.DownloadMode download_mode = 1; - if (this->download_mode() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->download_mode()); - } - - // .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - if (this->upload_mode() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->upload_mode()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void IOStrategy::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.IOStrategy) - GOOGLE_DCHECK_NE(&from, this); - const IOStrategy* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.IOStrategy) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.IOStrategy) - MergeFrom(*source); - } -} - -void IOStrategy::MergeFrom(const IOStrategy& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.IOStrategy) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.download_mode() != 0) { - set_download_mode(from.download_mode()); - } - if (from.upload_mode() != 0) { - set_upload_mode(from.upload_mode()); - } -} - -void IOStrategy::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.IOStrategy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void IOStrategy::CopyFrom(const IOStrategy& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.IOStrategy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IOStrategy::IsInitialized() const { - return true; -} - -void IOStrategy::Swap(IOStrategy* other) { - if (other == this) return; - InternalSwap(other); -} -void IOStrategy::InternalSwap(IOStrategy* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(download_mode_, other->download_mode_); - swap(upload_mode_, other->upload_mode_); -} - -::google::protobuf::Metadata IOStrategy::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DataLoadingConfig::InitAsDefaultInstance() { - ::flyteidl::core::_DataLoadingConfig_default_instance_._instance.get_mutable()->io_strategy_ = const_cast< ::flyteidl::core::IOStrategy*>( - ::flyteidl::core::IOStrategy::internal_default_instance()); -} -class DataLoadingConfig::HasBitSetters { - public: - static const ::flyteidl::core::IOStrategy& io_strategy(const DataLoadingConfig* msg); -}; - -const ::flyteidl::core::IOStrategy& -DataLoadingConfig::HasBitSetters::io_strategy(const DataLoadingConfig* msg) { - return *msg->io_strategy_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DataLoadingConfig::kEnabledFieldNumber; -const int DataLoadingConfig::kInputPathFieldNumber; -const int DataLoadingConfig::kOutputPathFieldNumber; -const int DataLoadingConfig::kFormatFieldNumber; -const int DataLoadingConfig::kIoStrategyFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DataLoadingConfig::DataLoadingConfig() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.DataLoadingConfig) -} -DataLoadingConfig::DataLoadingConfig(const DataLoadingConfig& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - input_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.input_path().size() > 0) { - input_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.input_path_); - } - output_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.output_path().size() > 0) { - output_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_path_); - } - if (from.has_io_strategy()) { - io_strategy_ = new ::flyteidl::core::IOStrategy(*from.io_strategy_); - } else { - io_strategy_ = nullptr; - } - ::memcpy(&enabled_, &from.enabled_, - static_cast(reinterpret_cast(&format_) - - reinterpret_cast(&enabled_)) + sizeof(format_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.DataLoadingConfig) -} - -void DataLoadingConfig::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto.base); - input_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - output_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&io_strategy_, 0, static_cast( - reinterpret_cast(&format_) - - reinterpret_cast(&io_strategy_)) + sizeof(format_)); -} - -DataLoadingConfig::~DataLoadingConfig() { - // @@protoc_insertion_point(destructor:flyteidl.core.DataLoadingConfig) - SharedDtor(); -} - -void DataLoadingConfig::SharedDtor() { - input_path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - output_path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete io_strategy_; -} - -void DataLoadingConfig::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DataLoadingConfig& DataLoadingConfig::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void DataLoadingConfig::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.DataLoadingConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - input_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - output_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && io_strategy_ != nullptr) { - delete io_strategy_; - } - io_strategy_ = nullptr; - ::memset(&enabled_, 0, static_cast( - reinterpret_cast(&format_) - - reinterpret_cast(&enabled_)) + sizeof(format_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DataLoadingConfig::_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) { - // bool enabled = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_enabled(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string input_path = 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.DataLoadingConfig.input_path"); - object = msg->mutable_input_path(); - 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 output_path = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.DataLoadingConfig.output_path"); - object = msg->mutable_output_path(); - 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.DataLoadingConfig.LiteralMapFormat format = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_format(static_cast<::flyteidl::core::DataLoadingConfig_LiteralMapFormat>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.IOStrategy io_strategy = 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::IOStrategy::_InternalParse; - object = msg->mutable_io_strategy(); - 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 DataLoadingConfig::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.DataLoadingConfig) - 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)) { - // bool enabled = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &enabled_))); - } else { - goto handle_unusual; - } - break; - } - - // string input_path = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_input_path())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_path().data(), static_cast(this->input_path().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.DataLoadingConfig.input_path")); - } else { - goto handle_unusual; - } - break; - } - - // string output_path = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_path())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_path().data(), static_cast(this->output_path().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.DataLoadingConfig.output_path")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_format(static_cast< ::flyteidl::core::DataLoadingConfig_LiteralMapFormat >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.IOStrategy io_strategy = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_io_strategy())); - } 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.DataLoadingConfig) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.DataLoadingConfig) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DataLoadingConfig::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.DataLoadingConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool enabled = 1; - if (this->enabled() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->enabled(), output); - } - - // string input_path = 2; - if (this->input_path().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_path().data(), static_cast(this->input_path().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.DataLoadingConfig.input_path"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->input_path(), output); - } - - // string output_path = 3; - if (this->output_path().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_path().data(), static_cast(this->output_path().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.DataLoadingConfig.output_path"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->output_path(), output); - } - - // .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - if (this->format() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->format(), output); - } - - // .flyteidl.core.IOStrategy io_strategy = 5; - if (this->has_io_strategy()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::io_strategy(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.DataLoadingConfig) -} - -::google::protobuf::uint8* DataLoadingConfig::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.DataLoadingConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool enabled = 1; - if (this->enabled() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->enabled(), target); - } - - // string input_path = 2; - if (this->input_path().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_path().data(), static_cast(this->input_path().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.DataLoadingConfig.input_path"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->input_path(), target); - } - - // string output_path = 3; - if (this->output_path().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_path().data(), static_cast(this->output_path().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.DataLoadingConfig.output_path"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->output_path(), target); - } - - // .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - if (this->format() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->format(), target); - } - - // .flyteidl.core.IOStrategy io_strategy = 5; - if (this->has_io_strategy()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::io_strategy(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.DataLoadingConfig) - return target; -} - -size_t DataLoadingConfig::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.DataLoadingConfig) - 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 input_path = 2; - if (this->input_path().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->input_path()); - } - - // string output_path = 3; - if (this->output_path().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_path()); - } - - // .flyteidl.core.IOStrategy io_strategy = 5; - if (this->has_io_strategy()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *io_strategy_); - } - - // bool enabled = 1; - if (this->enabled() != 0) { - total_size += 1 + 1; - } - - // .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - if (this->format() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DataLoadingConfig::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.DataLoadingConfig) - GOOGLE_DCHECK_NE(&from, this); - const DataLoadingConfig* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.DataLoadingConfig) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.DataLoadingConfig) - MergeFrom(*source); - } -} - -void DataLoadingConfig::MergeFrom(const DataLoadingConfig& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.DataLoadingConfig) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.input_path().size() > 0) { - - input_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.input_path_); - } - if (from.output_path().size() > 0) { - - output_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_path_); - } - if (from.has_io_strategy()) { - mutable_io_strategy()->::flyteidl::core::IOStrategy::MergeFrom(from.io_strategy()); - } - if (from.enabled() != 0) { - set_enabled(from.enabled()); - } - if (from.format() != 0) { - set_format(from.format()); - } -} - -void DataLoadingConfig::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.DataLoadingConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DataLoadingConfig::CopyFrom(const DataLoadingConfig& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.DataLoadingConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DataLoadingConfig::IsInitialized() const { - return true; -} - -void DataLoadingConfig::Swap(DataLoadingConfig* other) { - if (other == this) return; - InternalSwap(other); -} -void DataLoadingConfig::InternalSwap(DataLoadingConfig* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - input_path_.Swap(&other->input_path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - output_path_.Swap(&other->output_path_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(io_strategy_, other->io_strategy_); - swap(enabled_, other->enabled_); - swap(format_, other->format_); -} - -::google::protobuf::Metadata DataLoadingConfig::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void K8sPod::InitAsDefaultInstance() { - ::flyteidl::core::_K8sPod_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::core::K8sObjectMetadata*>( - ::flyteidl::core::K8sObjectMetadata::internal_default_instance()); - ::flyteidl::core::_K8sPod_default_instance_._instance.get_mutable()->pod_spec_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); - ::flyteidl::core::_K8sPod_default_instance_._instance.get_mutable()->data_config_ = const_cast< ::flyteidl::core::DataLoadingConfig*>( - ::flyteidl::core::DataLoadingConfig::internal_default_instance()); -} -class K8sPod::HasBitSetters { - public: - static const ::flyteidl::core::K8sObjectMetadata& metadata(const K8sPod* msg); - static const ::google::protobuf::Struct& pod_spec(const K8sPod* msg); - static const ::flyteidl::core::DataLoadingConfig& data_config(const K8sPod* msg); -}; - -const ::flyteidl::core::K8sObjectMetadata& -K8sPod::HasBitSetters::metadata(const K8sPod* msg) { - return *msg->metadata_; -} -const ::google::protobuf::Struct& -K8sPod::HasBitSetters::pod_spec(const K8sPod* msg) { - return *msg->pod_spec_; -} -const ::flyteidl::core::DataLoadingConfig& -K8sPod::HasBitSetters::data_config(const K8sPod* msg) { - return *msg->data_config_; -} -void K8sPod::clear_pod_spec() { - if (GetArenaNoVirtual() == nullptr && pod_spec_ != nullptr) { - delete pod_spec_; - } - pod_spec_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int K8sPod::kMetadataFieldNumber; -const int K8sPod::kPodSpecFieldNumber; -const int K8sPod::kDataConfigFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -K8sPod::K8sPod() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.K8sPod) -} -K8sPod::K8sPod(const K8sPod& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_metadata()) { - metadata_ = new ::flyteidl::core::K8sObjectMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - if (from.has_pod_spec()) { - pod_spec_ = new ::google::protobuf::Struct(*from.pod_spec_); - } else { - pod_spec_ = nullptr; - } - if (from.has_data_config()) { - data_config_ = new ::flyteidl::core::DataLoadingConfig(*from.data_config_); - } else { - data_config_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.K8sPod) -} - -void K8sPod::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto.base); - ::memset(&metadata_, 0, static_cast( - reinterpret_cast(&data_config_) - - reinterpret_cast(&metadata_)) + sizeof(data_config_)); -} - -K8sPod::~K8sPod() { - // @@protoc_insertion_point(destructor:flyteidl.core.K8sPod) - SharedDtor(); -} - -void K8sPod::SharedDtor() { - if (this != internal_default_instance()) delete metadata_; - if (this != internal_default_instance()) delete pod_spec_; - if (this != internal_default_instance()) delete data_config_; -} - -void K8sPod::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const K8sPod& K8sPod::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void K8sPod::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.K8sPod) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && pod_spec_ != nullptr) { - delete pod_spec_; - } - pod_spec_ = nullptr; - if (GetArenaNoVirtual() == nullptr && data_config_ != nullptr) { - delete data_config_; - } - data_config_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* K8sPod::_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.K8sObjectMetadata metadata = 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::K8sObjectMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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; - } - // .google.protobuf.Struct pod_spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_pod_spec(); - 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.DataLoadingConfig data_config = 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::DataLoadingConfig::_InternalParse; - object = msg->mutable_data_config(); - 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 K8sPod::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.K8sPod) - 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.K8sObjectMetadata metadata = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct pod_spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_pod_spec())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.DataLoadingConfig data_config = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_data_config())); - } 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.K8sPod) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.K8sPod) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void K8sPod::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.K8sPod) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.K8sObjectMetadata metadata = 1; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::metadata(this), output); - } - - // .google.protobuf.Struct pod_spec = 2; - if (this->has_pod_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::pod_spec(this), output); - } - - // .flyteidl.core.DataLoadingConfig data_config = 3; - if (this->has_data_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::data_config(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.K8sPod) -} - -::google::protobuf::uint8* K8sPod::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.K8sPod) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.K8sObjectMetadata metadata = 1; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::metadata(this), target); - } - - // .google.protobuf.Struct pod_spec = 2; - if (this->has_pod_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::pod_spec(this), target); - } - - // .flyteidl.core.DataLoadingConfig data_config = 3; - if (this->has_data_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::data_config(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.K8sPod) - return target; -} - -size_t K8sPod::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.K8sPod) - 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.K8sObjectMetadata metadata = 1; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .google.protobuf.Struct pod_spec = 2; - if (this->has_pod_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *pod_spec_); - } - - // .flyteidl.core.DataLoadingConfig data_config = 3; - if (this->has_data_config()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *data_config_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void K8sPod::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.K8sPod) - GOOGLE_DCHECK_NE(&from, this); - const K8sPod* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.K8sPod) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.K8sPod) - MergeFrom(*source); - } -} - -void K8sPod::MergeFrom(const K8sPod& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.K8sPod) - 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_metadata()) { - mutable_metadata()->::flyteidl::core::K8sObjectMetadata::MergeFrom(from.metadata()); - } - if (from.has_pod_spec()) { - mutable_pod_spec()->::google::protobuf::Struct::MergeFrom(from.pod_spec()); - } - if (from.has_data_config()) { - mutable_data_config()->::flyteidl::core::DataLoadingConfig::MergeFrom(from.data_config()); - } -} - -void K8sPod::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.K8sPod) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void K8sPod::CopyFrom(const K8sPod& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.K8sPod) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool K8sPod::IsInitialized() const { - return true; -} - -void K8sPod::Swap(K8sPod* other) { - if (other == this) return; - InternalSwap(other); -} -void K8sPod::InternalSwap(K8sPod* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(metadata_, other->metadata_); - swap(pod_spec_, other->pod_spec_); - swap(data_config_, other->data_config_); -} - -::google::protobuf::Metadata K8sPod::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -K8sObjectMetadata_LabelsEntry_DoNotUse::K8sObjectMetadata_LabelsEntry_DoNotUse() {} -K8sObjectMetadata_LabelsEntry_DoNotUse::K8sObjectMetadata_LabelsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void K8sObjectMetadata_LabelsEntry_DoNotUse::MergeFrom(const K8sObjectMetadata_LabelsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata K8sObjectMetadata_LabelsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[14]; -} -void K8sObjectMetadata_LabelsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool K8sObjectMetadata_LabelsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - K8sObjectMetadata_LabelsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -K8sObjectMetadata_AnnotationsEntry_DoNotUse::K8sObjectMetadata_AnnotationsEntry_DoNotUse() {} -K8sObjectMetadata_AnnotationsEntry_DoNotUse::K8sObjectMetadata_AnnotationsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void K8sObjectMetadata_AnnotationsEntry_DoNotUse::MergeFrom(const K8sObjectMetadata_AnnotationsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata K8sObjectMetadata_AnnotationsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[15]; -} -void K8sObjectMetadata_AnnotationsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool K8sObjectMetadata_AnnotationsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - K8sObjectMetadata_AnnotationsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void K8sObjectMetadata::InitAsDefaultInstance() { -} -class K8sObjectMetadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int K8sObjectMetadata::kLabelsFieldNumber; -const int K8sObjectMetadata::kAnnotationsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -K8sObjectMetadata::K8sObjectMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.K8sObjectMetadata) -} -K8sObjectMetadata::K8sObjectMetadata(const K8sObjectMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - labels_.MergeFrom(from.labels_); - annotations_.MergeFrom(from.annotations_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.K8sObjectMetadata) -} - -void K8sObjectMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto.base); -} - -K8sObjectMetadata::~K8sObjectMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.K8sObjectMetadata) - SharedDtor(); -} - -void K8sObjectMetadata::SharedDtor() { -} - -void K8sObjectMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const K8sObjectMetadata& K8sObjectMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void K8sObjectMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.K8sObjectMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - labels_.Clear(); - annotations_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* K8sObjectMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map labels = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->labels_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - // map annotations = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->annotations_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool K8sObjectMetadata::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.K8sObjectMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map labels = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - K8sObjectMetadata_LabelsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - K8sObjectMetadata_LabelsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&labels_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - // map annotations = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - K8sObjectMetadata_AnnotationsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - K8sObjectMetadata_AnnotationsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&annotations_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.K8sObjectMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.K8sObjectMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void K8sObjectMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.K8sObjectMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map labels = 1; - if (!this->labels().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->labels().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->labels().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(labels_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it) { - entry.reset(labels_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // map annotations = 2; - if (!this->annotations().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->annotations().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->annotations().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(annotations_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(2, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it) { - entry.reset(annotations_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(2, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.K8sObjectMetadata) -} - -::google::protobuf::uint8* K8sObjectMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.K8sObjectMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map labels = 1; - if (!this->labels().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.LabelsEntry.value"); - } - }; - - if (false && - this->labels().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->labels().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(labels_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it) { - entry.reset(labels_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // map annotations = 2; - if (!this->annotations().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.K8sObjectMetadata.AnnotationsEntry.value"); - } - }; - - if (false && - this->annotations().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->annotations().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(annotations_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(2, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it) { - entry.reset(annotations_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(2, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.K8sObjectMetadata) - return target; -} - -size_t K8sObjectMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.K8sObjectMetadata) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map labels = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->labels_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->labels().begin(); - it != this->labels().end(); ++it) { - entry.reset(labels_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // map annotations = 2; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->annotations_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->annotations().begin(); - it != this->annotations().end(); ++it) { - entry.reset(annotations_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void K8sObjectMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.K8sObjectMetadata) - GOOGLE_DCHECK_NE(&from, this); - const K8sObjectMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.K8sObjectMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.K8sObjectMetadata) - MergeFrom(*source); - } -} - -void K8sObjectMetadata::MergeFrom(const K8sObjectMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.K8sObjectMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - labels_.MergeFrom(from.labels_); - annotations_.MergeFrom(from.annotations_); -} - -void K8sObjectMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.K8sObjectMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void K8sObjectMetadata::CopyFrom(const K8sObjectMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.K8sObjectMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool K8sObjectMetadata::IsInitialized() const { - return true; -} - -void K8sObjectMetadata::Swap(K8sObjectMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void K8sObjectMetadata::InternalSwap(K8sObjectMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - labels_.Swap(&other->labels_); - annotations_.Swap(&other->annotations_); -} - -::google::protobuf::Metadata K8sObjectMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Sql::InitAsDefaultInstance() { -} -class Sql::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Sql::kStatementFieldNumber; -const int Sql::kDialectFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Sql::Sql() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Sql) -} -Sql::Sql(const Sql& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - statement_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.statement().size() > 0) { - statement_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statement_); - } - dialect_ = from.dialect_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Sql) -} - -void Sql::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Sql_flyteidl_2fcore_2ftasks_2eproto.base); - statement_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dialect_ = 0; -} - -Sql::~Sql() { - // @@protoc_insertion_point(destructor:flyteidl.core.Sql) - SharedDtor(); -} - -void Sql::SharedDtor() { - statement_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Sql::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Sql& Sql::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Sql_flyteidl_2fcore_2ftasks_2eproto.base); - return *internal_default_instance(); -} - - -void Sql::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Sql) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - statement_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dialect_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Sql::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string statement = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Sql.statement"); - object = msg->mutable_statement(); - 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.Sql.Dialect dialect = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_dialect(static_cast<::flyteidl::core::Sql_Dialect>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 Sql::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.Sql) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string statement = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_statement())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->statement().data(), static_cast(this->statement().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Sql.statement")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Sql.Dialect dialect = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_dialect(static_cast< ::flyteidl::core::Sql_Dialect >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.Sql) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Sql) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Sql::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Sql) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string statement = 1; - if (this->statement().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->statement().data(), static_cast(this->statement().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Sql.statement"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->statement(), output); - } - - // .flyteidl.core.Sql.Dialect dialect = 2; - if (this->dialect() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->dialect(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Sql) -} - -::google::protobuf::uint8* Sql::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Sql) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string statement = 1; - if (this->statement().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->statement().data(), static_cast(this->statement().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Sql.statement"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->statement(), target); - } - - // .flyteidl.core.Sql.Dialect dialect = 2; - if (this->dialect() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->dialect(), 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.Sql) - return target; -} - -size_t Sql::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Sql) - 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 statement = 1; - if (this->statement().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->statement()); - } - - // .flyteidl.core.Sql.Dialect dialect = 2; - if (this->dialect() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->dialect()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Sql::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Sql) - GOOGLE_DCHECK_NE(&from, this); - const Sql* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Sql) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Sql) - MergeFrom(*source); - } -} - -void Sql::MergeFrom(const Sql& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Sql) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.statement().size() > 0) { - - statement_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statement_); - } - if (from.dialect() != 0) { - set_dialect(from.dialect()); - } -} - -void Sql::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Sql) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Sql::CopyFrom(const Sql& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Sql) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Sql::IsInitialized() const { - return true; -} - -void Sql::Swap(Sql* other) { - if (other == this) return; - InternalSwap(other); -} -void Sql::InternalSwap(Sql* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - statement_.Swap(&other->statement_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(dialect_, other->dialect_); -} - -::google::protobuf::Metadata Sql::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftasks_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::Resources_ResourceEntry* Arena::CreateMaybeMessage< ::flyteidl::core::Resources_ResourceEntry >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Resources_ResourceEntry >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Resources* Arena::CreateMaybeMessage< ::flyteidl::core::Resources >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Resources >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::GPUAccelerator* Arena::CreateMaybeMessage< ::flyteidl::core::GPUAccelerator >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::GPUAccelerator >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ExtendedResources* Arena::CreateMaybeMessage< ::flyteidl::core::ExtendedResources >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ExtendedResources >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::RuntimeMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::RuntimeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::RuntimeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::TaskMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskTemplate* Arena::CreateMaybeMessage< ::flyteidl::core::TaskTemplate >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskTemplate >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ContainerPort* Arena::CreateMaybeMessage< ::flyteidl::core::ContainerPort >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ContainerPort >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Container* Arena::CreateMaybeMessage< ::flyteidl::core::Container >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Container >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::IOStrategy* Arena::CreateMaybeMessage< ::flyteidl::core::IOStrategy >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::IOStrategy >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::DataLoadingConfig* Arena::CreateMaybeMessage< ::flyteidl::core::DataLoadingConfig >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::DataLoadingConfig >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::K8sPod* Arena::CreateMaybeMessage< ::flyteidl::core::K8sPod >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::K8sPod >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::K8sObjectMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::K8sObjectMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::K8sObjectMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Sql* Arena::CreateMaybeMessage< ::flyteidl::core::Sql >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Sql >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/tasks.pb.h deleted file mode 100644 index 3bd1db9d2e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/tasks.pb.h +++ /dev/null @@ -1,5304 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/tasks.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2ftasks_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2ftasks_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/interface.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/security.pb.h" -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2ftasks_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[18] - 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_2fcore_2ftasks_2eproto(); -namespace flyteidl { -namespace core { -class Container; -class ContainerDefaultTypeInternal; -extern ContainerDefaultTypeInternal _Container_default_instance_; -class ContainerPort; -class ContainerPortDefaultTypeInternal; -extern ContainerPortDefaultTypeInternal _ContainerPort_default_instance_; -class DataLoadingConfig; -class DataLoadingConfigDefaultTypeInternal; -extern DataLoadingConfigDefaultTypeInternal _DataLoadingConfig_default_instance_; -class ExtendedResources; -class ExtendedResourcesDefaultTypeInternal; -extern ExtendedResourcesDefaultTypeInternal _ExtendedResources_default_instance_; -class GPUAccelerator; -class GPUAcceleratorDefaultTypeInternal; -extern GPUAcceleratorDefaultTypeInternal _GPUAccelerator_default_instance_; -class IOStrategy; -class IOStrategyDefaultTypeInternal; -extern IOStrategyDefaultTypeInternal _IOStrategy_default_instance_; -class K8sObjectMetadata; -class K8sObjectMetadataDefaultTypeInternal; -extern K8sObjectMetadataDefaultTypeInternal _K8sObjectMetadata_default_instance_; -class K8sObjectMetadata_AnnotationsEntry_DoNotUse; -class K8sObjectMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal; -extern K8sObjectMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal _K8sObjectMetadata_AnnotationsEntry_DoNotUse_default_instance_; -class K8sObjectMetadata_LabelsEntry_DoNotUse; -class K8sObjectMetadata_LabelsEntry_DoNotUseDefaultTypeInternal; -extern K8sObjectMetadata_LabelsEntry_DoNotUseDefaultTypeInternal _K8sObjectMetadata_LabelsEntry_DoNotUse_default_instance_; -class K8sPod; -class K8sPodDefaultTypeInternal; -extern K8sPodDefaultTypeInternal _K8sPod_default_instance_; -class Resources; -class ResourcesDefaultTypeInternal; -extern ResourcesDefaultTypeInternal _Resources_default_instance_; -class Resources_ResourceEntry; -class Resources_ResourceEntryDefaultTypeInternal; -extern Resources_ResourceEntryDefaultTypeInternal _Resources_ResourceEntry_default_instance_; -class RuntimeMetadata; -class RuntimeMetadataDefaultTypeInternal; -extern RuntimeMetadataDefaultTypeInternal _RuntimeMetadata_default_instance_; -class Sql; -class SqlDefaultTypeInternal; -extern SqlDefaultTypeInternal _Sql_default_instance_; -class TaskMetadata; -class TaskMetadataDefaultTypeInternal; -extern TaskMetadataDefaultTypeInternal _TaskMetadata_default_instance_; -class TaskMetadata_TagsEntry_DoNotUse; -class TaskMetadata_TagsEntry_DoNotUseDefaultTypeInternal; -extern TaskMetadata_TagsEntry_DoNotUseDefaultTypeInternal _TaskMetadata_TagsEntry_DoNotUse_default_instance_; -class TaskTemplate; -class TaskTemplateDefaultTypeInternal; -extern TaskTemplateDefaultTypeInternal _TaskTemplate_default_instance_; -class TaskTemplate_ConfigEntry_DoNotUse; -class TaskTemplate_ConfigEntry_DoNotUseDefaultTypeInternal; -extern TaskTemplate_ConfigEntry_DoNotUseDefaultTypeInternal _TaskTemplate_ConfigEntry_DoNotUse_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::Container* Arena::CreateMaybeMessage<::flyteidl::core::Container>(Arena*); -template<> ::flyteidl::core::ContainerPort* Arena::CreateMaybeMessage<::flyteidl::core::ContainerPort>(Arena*); -template<> ::flyteidl::core::DataLoadingConfig* Arena::CreateMaybeMessage<::flyteidl::core::DataLoadingConfig>(Arena*); -template<> ::flyteidl::core::ExtendedResources* Arena::CreateMaybeMessage<::flyteidl::core::ExtendedResources>(Arena*); -template<> ::flyteidl::core::GPUAccelerator* Arena::CreateMaybeMessage<::flyteidl::core::GPUAccelerator>(Arena*); -template<> ::flyteidl::core::IOStrategy* Arena::CreateMaybeMessage<::flyteidl::core::IOStrategy>(Arena*); -template<> ::flyteidl::core::K8sObjectMetadata* Arena::CreateMaybeMessage<::flyteidl::core::K8sObjectMetadata>(Arena*); -template<> ::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::K8sPod* Arena::CreateMaybeMessage<::flyteidl::core::K8sPod>(Arena*); -template<> ::flyteidl::core::Resources* Arena::CreateMaybeMessage<::flyteidl::core::Resources>(Arena*); -template<> ::flyteidl::core::Resources_ResourceEntry* Arena::CreateMaybeMessage<::flyteidl::core::Resources_ResourceEntry>(Arena*); -template<> ::flyteidl::core::RuntimeMetadata* Arena::CreateMaybeMessage<::flyteidl::core::RuntimeMetadata>(Arena*); -template<> ::flyteidl::core::Sql* Arena::CreateMaybeMessage<::flyteidl::core::Sql>(Arena*); -template<> ::flyteidl::core::TaskMetadata* Arena::CreateMaybeMessage<::flyteidl::core::TaskMetadata>(Arena*); -template<> ::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::TaskMetadata_TagsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::TaskTemplate* Arena::CreateMaybeMessage<::flyteidl::core::TaskTemplate>(Arena*); -template<> ::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::TaskTemplate_ConfigEntry_DoNotUse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum Resources_ResourceName { - Resources_ResourceName_UNKNOWN = 0, - Resources_ResourceName_CPU = 1, - Resources_ResourceName_GPU = 2, - Resources_ResourceName_MEMORY = 3, - Resources_ResourceName_STORAGE = 4, - Resources_ResourceName_EPHEMERAL_STORAGE = 5, - Resources_ResourceName_Resources_ResourceName_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - Resources_ResourceName_Resources_ResourceName_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool Resources_ResourceName_IsValid(int value); -const Resources_ResourceName Resources_ResourceName_ResourceName_MIN = Resources_ResourceName_UNKNOWN; -const Resources_ResourceName Resources_ResourceName_ResourceName_MAX = Resources_ResourceName_EPHEMERAL_STORAGE; -const int Resources_ResourceName_ResourceName_ARRAYSIZE = Resources_ResourceName_ResourceName_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Resources_ResourceName_descriptor(); -inline const ::std::string& Resources_ResourceName_Name(Resources_ResourceName value) { - return ::google::protobuf::internal::NameOfEnum( - Resources_ResourceName_descriptor(), value); -} -inline bool Resources_ResourceName_Parse( - const ::std::string& name, Resources_ResourceName* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Resources_ResourceName_descriptor(), name, value); -} -enum RuntimeMetadata_RuntimeType { - RuntimeMetadata_RuntimeType_OTHER = 0, - RuntimeMetadata_RuntimeType_FLYTE_SDK = 1, - RuntimeMetadata_RuntimeType_RuntimeMetadata_RuntimeType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - RuntimeMetadata_RuntimeType_RuntimeMetadata_RuntimeType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool RuntimeMetadata_RuntimeType_IsValid(int value); -const RuntimeMetadata_RuntimeType RuntimeMetadata_RuntimeType_RuntimeType_MIN = RuntimeMetadata_RuntimeType_OTHER; -const RuntimeMetadata_RuntimeType RuntimeMetadata_RuntimeType_RuntimeType_MAX = RuntimeMetadata_RuntimeType_FLYTE_SDK; -const int RuntimeMetadata_RuntimeType_RuntimeType_ARRAYSIZE = RuntimeMetadata_RuntimeType_RuntimeType_MAX + 1; - -const ::google::protobuf::EnumDescriptor* RuntimeMetadata_RuntimeType_descriptor(); -inline const ::std::string& RuntimeMetadata_RuntimeType_Name(RuntimeMetadata_RuntimeType value) { - return ::google::protobuf::internal::NameOfEnum( - RuntimeMetadata_RuntimeType_descriptor(), value); -} -inline bool RuntimeMetadata_RuntimeType_Parse( - const ::std::string& name, RuntimeMetadata_RuntimeType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - RuntimeMetadata_RuntimeType_descriptor(), name, value); -} -enum Container_Architecture { - Container_Architecture_UNKNOWN = 0, - Container_Architecture_AMD64 = 1, - Container_Architecture_ARM64 = 2, - Container_Architecture_ARM_V6 = 3, - Container_Architecture_ARM_V7 = 4, - Container_Architecture_Container_Architecture_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - Container_Architecture_Container_Architecture_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool Container_Architecture_IsValid(int value); -const Container_Architecture Container_Architecture_Architecture_MIN = Container_Architecture_UNKNOWN; -const Container_Architecture Container_Architecture_Architecture_MAX = Container_Architecture_ARM_V7; -const int Container_Architecture_Architecture_ARRAYSIZE = Container_Architecture_Architecture_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Container_Architecture_descriptor(); -inline const ::std::string& Container_Architecture_Name(Container_Architecture value) { - return ::google::protobuf::internal::NameOfEnum( - Container_Architecture_descriptor(), value); -} -inline bool Container_Architecture_Parse( - const ::std::string& name, Container_Architecture* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Container_Architecture_descriptor(), name, value); -} -enum IOStrategy_DownloadMode { - IOStrategy_DownloadMode_DOWNLOAD_EAGER = 0, - IOStrategy_DownloadMode_DOWNLOAD_STREAM = 1, - IOStrategy_DownloadMode_DO_NOT_DOWNLOAD = 2, - IOStrategy_DownloadMode_IOStrategy_DownloadMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - IOStrategy_DownloadMode_IOStrategy_DownloadMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool IOStrategy_DownloadMode_IsValid(int value); -const IOStrategy_DownloadMode IOStrategy_DownloadMode_DownloadMode_MIN = IOStrategy_DownloadMode_DOWNLOAD_EAGER; -const IOStrategy_DownloadMode IOStrategy_DownloadMode_DownloadMode_MAX = IOStrategy_DownloadMode_DO_NOT_DOWNLOAD; -const int IOStrategy_DownloadMode_DownloadMode_ARRAYSIZE = IOStrategy_DownloadMode_DownloadMode_MAX + 1; - -const ::google::protobuf::EnumDescriptor* IOStrategy_DownloadMode_descriptor(); -inline const ::std::string& IOStrategy_DownloadMode_Name(IOStrategy_DownloadMode value) { - return ::google::protobuf::internal::NameOfEnum( - IOStrategy_DownloadMode_descriptor(), value); -} -inline bool IOStrategy_DownloadMode_Parse( - const ::std::string& name, IOStrategy_DownloadMode* value) { - return ::google::protobuf::internal::ParseNamedEnum( - IOStrategy_DownloadMode_descriptor(), name, value); -} -enum IOStrategy_UploadMode { - IOStrategy_UploadMode_UPLOAD_ON_EXIT = 0, - IOStrategy_UploadMode_UPLOAD_EAGER = 1, - IOStrategy_UploadMode_DO_NOT_UPLOAD = 2, - IOStrategy_UploadMode_IOStrategy_UploadMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - IOStrategy_UploadMode_IOStrategy_UploadMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool IOStrategy_UploadMode_IsValid(int value); -const IOStrategy_UploadMode IOStrategy_UploadMode_UploadMode_MIN = IOStrategy_UploadMode_UPLOAD_ON_EXIT; -const IOStrategy_UploadMode IOStrategy_UploadMode_UploadMode_MAX = IOStrategy_UploadMode_DO_NOT_UPLOAD; -const int IOStrategy_UploadMode_UploadMode_ARRAYSIZE = IOStrategy_UploadMode_UploadMode_MAX + 1; - -const ::google::protobuf::EnumDescriptor* IOStrategy_UploadMode_descriptor(); -inline const ::std::string& IOStrategy_UploadMode_Name(IOStrategy_UploadMode value) { - return ::google::protobuf::internal::NameOfEnum( - IOStrategy_UploadMode_descriptor(), value); -} -inline bool IOStrategy_UploadMode_Parse( - const ::std::string& name, IOStrategy_UploadMode* value) { - return ::google::protobuf::internal::ParseNamedEnum( - IOStrategy_UploadMode_descriptor(), name, value); -} -enum DataLoadingConfig_LiteralMapFormat { - DataLoadingConfig_LiteralMapFormat_JSON = 0, - DataLoadingConfig_LiteralMapFormat_YAML = 1, - DataLoadingConfig_LiteralMapFormat_PROTO = 2, - DataLoadingConfig_LiteralMapFormat_DataLoadingConfig_LiteralMapFormat_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - DataLoadingConfig_LiteralMapFormat_DataLoadingConfig_LiteralMapFormat_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool DataLoadingConfig_LiteralMapFormat_IsValid(int value); -const DataLoadingConfig_LiteralMapFormat DataLoadingConfig_LiteralMapFormat_LiteralMapFormat_MIN = DataLoadingConfig_LiteralMapFormat_JSON; -const DataLoadingConfig_LiteralMapFormat DataLoadingConfig_LiteralMapFormat_LiteralMapFormat_MAX = DataLoadingConfig_LiteralMapFormat_PROTO; -const int DataLoadingConfig_LiteralMapFormat_LiteralMapFormat_ARRAYSIZE = DataLoadingConfig_LiteralMapFormat_LiteralMapFormat_MAX + 1; - -const ::google::protobuf::EnumDescriptor* DataLoadingConfig_LiteralMapFormat_descriptor(); -inline const ::std::string& DataLoadingConfig_LiteralMapFormat_Name(DataLoadingConfig_LiteralMapFormat value) { - return ::google::protobuf::internal::NameOfEnum( - DataLoadingConfig_LiteralMapFormat_descriptor(), value); -} -inline bool DataLoadingConfig_LiteralMapFormat_Parse( - const ::std::string& name, DataLoadingConfig_LiteralMapFormat* value) { - return ::google::protobuf::internal::ParseNamedEnum( - DataLoadingConfig_LiteralMapFormat_descriptor(), name, value); -} -enum Sql_Dialect { - Sql_Dialect_UNDEFINED = 0, - Sql_Dialect_ANSI = 1, - Sql_Dialect_HIVE = 2, - Sql_Dialect_OTHER = 3, - Sql_Dialect_Sql_Dialect_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - Sql_Dialect_Sql_Dialect_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool Sql_Dialect_IsValid(int value); -const Sql_Dialect Sql_Dialect_Dialect_MIN = Sql_Dialect_UNDEFINED; -const Sql_Dialect Sql_Dialect_Dialect_MAX = Sql_Dialect_OTHER; -const int Sql_Dialect_Dialect_ARRAYSIZE = Sql_Dialect_Dialect_MAX + 1; - -const ::google::protobuf::EnumDescriptor* Sql_Dialect_descriptor(); -inline const ::std::string& Sql_Dialect_Name(Sql_Dialect value) { - return ::google::protobuf::internal::NameOfEnum( - Sql_Dialect_descriptor(), value); -} -inline bool Sql_Dialect_Parse( - const ::std::string& name, Sql_Dialect* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Sql_Dialect_descriptor(), name, value); -} -// =================================================================== - -class Resources_ResourceEntry final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Resources.ResourceEntry) */ { - public: - Resources_ResourceEntry(); - virtual ~Resources_ResourceEntry(); - - Resources_ResourceEntry(const Resources_ResourceEntry& from); - - inline Resources_ResourceEntry& operator=(const Resources_ResourceEntry& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Resources_ResourceEntry(Resources_ResourceEntry&& from) noexcept - : Resources_ResourceEntry() { - *this = ::std::move(from); - } - - inline Resources_ResourceEntry& operator=(Resources_ResourceEntry&& 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 Resources_ResourceEntry& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Resources_ResourceEntry* internal_default_instance() { - return reinterpret_cast( - &_Resources_ResourceEntry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Resources_ResourceEntry* other); - friend void swap(Resources_ResourceEntry& a, Resources_ResourceEntry& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Resources_ResourceEntry* New() const final { - return CreateMaybeMessage(nullptr); - } - - Resources_ResourceEntry* 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 Resources_ResourceEntry& from); - void MergeFrom(const Resources_ResourceEntry& 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(Resources_ResourceEntry* 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 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); - - // .flyteidl.core.Resources.ResourceName name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - ::flyteidl::core::Resources_ResourceName name() const; - void set_name(::flyteidl::core::Resources_ResourceName value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Resources.ResourceEntry) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr value_; - int name_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class Resources final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Resources) */ { - public: - Resources(); - virtual ~Resources(); - - Resources(const Resources& from); - - inline Resources& operator=(const Resources& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Resources(Resources&& from) noexcept - : Resources() { - *this = ::std::move(from); - } - - inline Resources& operator=(Resources&& 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 Resources& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Resources* internal_default_instance() { - return reinterpret_cast( - &_Resources_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(Resources* other); - friend void swap(Resources& a, Resources& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Resources* New() const final { - return CreateMaybeMessage(nullptr); - } - - Resources* 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 Resources& from); - void MergeFrom(const Resources& 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(Resources* 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 Resources_ResourceEntry ResourceEntry; - - typedef Resources_ResourceName ResourceName; - static const ResourceName UNKNOWN = - Resources_ResourceName_UNKNOWN; - static const ResourceName CPU = - Resources_ResourceName_CPU; - static const ResourceName GPU = - Resources_ResourceName_GPU; - static const ResourceName MEMORY = - Resources_ResourceName_MEMORY; - static const ResourceName STORAGE = - Resources_ResourceName_STORAGE; - static const ResourceName EPHEMERAL_STORAGE = - Resources_ResourceName_EPHEMERAL_STORAGE; - static inline bool ResourceName_IsValid(int value) { - return Resources_ResourceName_IsValid(value); - } - static const ResourceName ResourceName_MIN = - Resources_ResourceName_ResourceName_MIN; - static const ResourceName ResourceName_MAX = - Resources_ResourceName_ResourceName_MAX; - static const int ResourceName_ARRAYSIZE = - Resources_ResourceName_ResourceName_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - ResourceName_descriptor() { - return Resources_ResourceName_descriptor(); - } - static inline const ::std::string& ResourceName_Name(ResourceName value) { - return Resources_ResourceName_Name(value); - } - static inline bool ResourceName_Parse(const ::std::string& name, - ResourceName* value) { - return Resources_ResourceName_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - int requests_size() const; - void clear_requests(); - static const int kRequestsFieldNumber = 1; - ::flyteidl::core::Resources_ResourceEntry* mutable_requests(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >* - mutable_requests(); - const ::flyteidl::core::Resources_ResourceEntry& requests(int index) const; - ::flyteidl::core::Resources_ResourceEntry* add_requests(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >& - requests() const; - - // repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - int limits_size() const; - void clear_limits(); - static const int kLimitsFieldNumber = 2; - ::flyteidl::core::Resources_ResourceEntry* mutable_limits(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >* - mutable_limits(); - const ::flyteidl::core::Resources_ResourceEntry& limits(int index) const; - ::flyteidl::core::Resources_ResourceEntry* add_limits(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >& - limits() const; - - // @@protoc_insertion_point(class_scope:flyteidl.core.Resources) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry > requests_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry > limits_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class GPUAccelerator final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.GPUAccelerator) */ { - public: - GPUAccelerator(); - virtual ~GPUAccelerator(); - - GPUAccelerator(const GPUAccelerator& from); - - inline GPUAccelerator& operator=(const GPUAccelerator& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GPUAccelerator(GPUAccelerator&& from) noexcept - : GPUAccelerator() { - *this = ::std::move(from); - } - - inline GPUAccelerator& operator=(GPUAccelerator&& 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 GPUAccelerator& default_instance(); - - enum PartitionSizeValueCase { - kUnpartitioned = 2, - kPartitionSize = 3, - PARTITION_SIZE_VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GPUAccelerator* internal_default_instance() { - return reinterpret_cast( - &_GPUAccelerator_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(GPUAccelerator* other); - friend void swap(GPUAccelerator& a, GPUAccelerator& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GPUAccelerator* New() const final { - return CreateMaybeMessage(nullptr); - } - - GPUAccelerator* 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 GPUAccelerator& from); - void MergeFrom(const GPUAccelerator& 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(GPUAccelerator* 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 device = 1; - void clear_device(); - static const int kDeviceFieldNumber = 1; - const ::std::string& device() const; - void set_device(const ::std::string& value); - #if LANG_CXX11 - void set_device(::std::string&& value); - #endif - void set_device(const char* value); - void set_device(const char* value, size_t size); - ::std::string* mutable_device(); - ::std::string* release_device(); - void set_allocated_device(::std::string* device); - - // bool unpartitioned = 2; - private: - bool has_unpartitioned() const; - public: - void clear_unpartitioned(); - static const int kUnpartitionedFieldNumber = 2; - bool unpartitioned() const; - void set_unpartitioned(bool value); - - // string partition_size = 3; - private: - bool has_partition_size() const; - public: - void clear_partition_size(); - static const int kPartitionSizeFieldNumber = 3; - const ::std::string& partition_size() const; - void set_partition_size(const ::std::string& value); - #if LANG_CXX11 - void set_partition_size(::std::string&& value); - #endif - void set_partition_size(const char* value); - void set_partition_size(const char* value, size_t size); - ::std::string* mutable_partition_size(); - ::std::string* release_partition_size(); - void set_allocated_partition_size(::std::string* partition_size); - - void clear_partition_size_value(); - PartitionSizeValueCase partition_size_value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.GPUAccelerator) - private: - class HasBitSetters; - void set_has_unpartitioned(); - void set_has_partition_size(); - - inline bool has_partition_size_value() const; - inline void clear_has_partition_size_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr device_; - union PartitionSizeValueUnion { - PartitionSizeValueUnion() {} - bool unpartitioned_; - ::google::protobuf::internal::ArenaStringPtr partition_size_; - } partition_size_value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class ExtendedResources final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ExtendedResources) */ { - public: - ExtendedResources(); - virtual ~ExtendedResources(); - - ExtendedResources(const ExtendedResources& from); - - inline ExtendedResources& operator=(const ExtendedResources& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExtendedResources(ExtendedResources&& from) noexcept - : ExtendedResources() { - *this = ::std::move(from); - } - - inline ExtendedResources& operator=(ExtendedResources&& 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 ExtendedResources& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExtendedResources* internal_default_instance() { - return reinterpret_cast( - &_ExtendedResources_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(ExtendedResources* other); - friend void swap(ExtendedResources& a, ExtendedResources& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExtendedResources* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExtendedResources* 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 ExtendedResources& from); - void MergeFrom(const ExtendedResources& 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(ExtendedResources* 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.GPUAccelerator gpu_accelerator = 1; - bool has_gpu_accelerator() const; - void clear_gpu_accelerator(); - static const int kGpuAcceleratorFieldNumber = 1; - const ::flyteidl::core::GPUAccelerator& gpu_accelerator() const; - ::flyteidl::core::GPUAccelerator* release_gpu_accelerator(); - ::flyteidl::core::GPUAccelerator* mutable_gpu_accelerator(); - void set_allocated_gpu_accelerator(::flyteidl::core::GPUAccelerator* gpu_accelerator); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ExtendedResources) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::GPUAccelerator* gpu_accelerator_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class RuntimeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.RuntimeMetadata) */ { - public: - RuntimeMetadata(); - virtual ~RuntimeMetadata(); - - RuntimeMetadata(const RuntimeMetadata& from); - - inline RuntimeMetadata& operator=(const RuntimeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RuntimeMetadata(RuntimeMetadata&& from) noexcept - : RuntimeMetadata() { - *this = ::std::move(from); - } - - inline RuntimeMetadata& operator=(RuntimeMetadata&& 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 RuntimeMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RuntimeMetadata* internal_default_instance() { - return reinterpret_cast( - &_RuntimeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(RuntimeMetadata* other); - friend void swap(RuntimeMetadata& a, RuntimeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RuntimeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - RuntimeMetadata* 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 RuntimeMetadata& from); - void MergeFrom(const RuntimeMetadata& 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(RuntimeMetadata* 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 RuntimeMetadata_RuntimeType RuntimeType; - static const RuntimeType OTHER = - RuntimeMetadata_RuntimeType_OTHER; - static const RuntimeType FLYTE_SDK = - RuntimeMetadata_RuntimeType_FLYTE_SDK; - static inline bool RuntimeType_IsValid(int value) { - return RuntimeMetadata_RuntimeType_IsValid(value); - } - static const RuntimeType RuntimeType_MIN = - RuntimeMetadata_RuntimeType_RuntimeType_MIN; - static const RuntimeType RuntimeType_MAX = - RuntimeMetadata_RuntimeType_RuntimeType_MAX; - static const int RuntimeType_ARRAYSIZE = - RuntimeMetadata_RuntimeType_RuntimeType_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - RuntimeType_descriptor() { - return RuntimeMetadata_RuntimeType_descriptor(); - } - static inline const ::std::string& RuntimeType_Name(RuntimeType value) { - return RuntimeMetadata_RuntimeType_Name(value); - } - static inline bool RuntimeType_Parse(const ::std::string& name, - RuntimeType* value) { - return RuntimeMetadata_RuntimeType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string version = 2; - void clear_version(); - static const int kVersionFieldNumber = 2; - 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 flavor = 3; - void clear_flavor(); - static const int kFlavorFieldNumber = 3; - const ::std::string& flavor() const; - void set_flavor(const ::std::string& value); - #if LANG_CXX11 - void set_flavor(::std::string&& value); - #endif - void set_flavor(const char* value); - void set_flavor(const char* value, size_t size); - ::std::string* mutable_flavor(); - ::std::string* release_flavor(); - void set_allocated_flavor(::std::string* flavor); - - // .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - void clear_type(); - static const int kTypeFieldNumber = 1; - ::flyteidl::core::RuntimeMetadata_RuntimeType type() const; - void set_type(::flyteidl::core::RuntimeMetadata_RuntimeType value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.RuntimeMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::google::protobuf::internal::ArenaStringPtr flavor_; - int type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskMetadata_TagsEntry_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; - TaskMetadata_TagsEntry_DoNotUse(); - TaskMetadata_TagsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const TaskMetadata_TagsEntry_DoNotUse& other); - static const TaskMetadata_TagsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_TaskMetadata_TagsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class TaskMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TaskMetadata) */ { - public: - TaskMetadata(); - virtual ~TaskMetadata(); - - TaskMetadata(const TaskMetadata& from); - - inline TaskMetadata& operator=(const TaskMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskMetadata(TaskMetadata&& from) noexcept - : TaskMetadata() { - *this = ::std::move(from); - } - - inline TaskMetadata& operator=(TaskMetadata&& 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 TaskMetadata& default_instance(); - - enum InterruptibleValueCase { - kInterruptible = 8, - INTERRUPTIBLE_VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskMetadata* internal_default_instance() { - return reinterpret_cast( - &_TaskMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(TaskMetadata* other); - friend void swap(TaskMetadata& a, TaskMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskMetadata* 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 TaskMetadata& from); - void MergeFrom(const TaskMetadata& 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(TaskMetadata* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map tags = 11; - int tags_size() const; - void clear_tags(); - static const int kTagsFieldNumber = 11; - const ::google::protobuf::Map< ::std::string, ::std::string >& - tags() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_tags(); - - // repeated string cache_ignore_input_vars = 13; - int cache_ignore_input_vars_size() const; - void clear_cache_ignore_input_vars(); - static const int kCacheIgnoreInputVarsFieldNumber = 13; - const ::std::string& cache_ignore_input_vars(int index) const; - ::std::string* mutable_cache_ignore_input_vars(int index); - void set_cache_ignore_input_vars(int index, const ::std::string& value); - #if LANG_CXX11 - void set_cache_ignore_input_vars(int index, ::std::string&& value); - #endif - void set_cache_ignore_input_vars(int index, const char* value); - void set_cache_ignore_input_vars(int index, const char* value, size_t size); - ::std::string* add_cache_ignore_input_vars(); - void add_cache_ignore_input_vars(const ::std::string& value); - #if LANG_CXX11 - void add_cache_ignore_input_vars(::std::string&& value); - #endif - void add_cache_ignore_input_vars(const char* value); - void add_cache_ignore_input_vars(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& cache_ignore_input_vars() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_cache_ignore_input_vars(); - - // string discovery_version = 6; - void clear_discovery_version(); - static const int kDiscoveryVersionFieldNumber = 6; - const ::std::string& discovery_version() const; - void set_discovery_version(const ::std::string& value); - #if LANG_CXX11 - void set_discovery_version(::std::string&& value); - #endif - void set_discovery_version(const char* value); - void set_discovery_version(const char* value, size_t size); - ::std::string* mutable_discovery_version(); - ::std::string* release_discovery_version(); - void set_allocated_discovery_version(::std::string* discovery_version); - - // string deprecated_error_message = 7; - void clear_deprecated_error_message(); - static const int kDeprecatedErrorMessageFieldNumber = 7; - const ::std::string& deprecated_error_message() const; - void set_deprecated_error_message(const ::std::string& value); - #if LANG_CXX11 - void set_deprecated_error_message(::std::string&& value); - #endif - void set_deprecated_error_message(const char* value); - void set_deprecated_error_message(const char* value, size_t size); - ::std::string* mutable_deprecated_error_message(); - ::std::string* release_deprecated_error_message(); - void set_allocated_deprecated_error_message(::std::string* deprecated_error_message); - - // string pod_template_name = 12; - void clear_pod_template_name(); - static const int kPodTemplateNameFieldNumber = 12; - const ::std::string& pod_template_name() const; - void set_pod_template_name(const ::std::string& value); - #if LANG_CXX11 - void set_pod_template_name(::std::string&& value); - #endif - void set_pod_template_name(const char* value); - void set_pod_template_name(const char* value, size_t size); - ::std::string* mutable_pod_template_name(); - ::std::string* release_pod_template_name(); - void set_allocated_pod_template_name(::std::string* pod_template_name); - - // .flyteidl.core.RuntimeMetadata runtime = 2; - bool has_runtime() const; - void clear_runtime(); - static const int kRuntimeFieldNumber = 2; - const ::flyteidl::core::RuntimeMetadata& runtime() const; - ::flyteidl::core::RuntimeMetadata* release_runtime(); - ::flyteidl::core::RuntimeMetadata* mutable_runtime(); - void set_allocated_runtime(::flyteidl::core::RuntimeMetadata* runtime); - - // .google.protobuf.Duration timeout = 4; - bool has_timeout() const; - void clear_timeout(); - static const int kTimeoutFieldNumber = 4; - const ::google::protobuf::Duration& timeout() const; - ::google::protobuf::Duration* release_timeout(); - ::google::protobuf::Duration* mutable_timeout(); - void set_allocated_timeout(::google::protobuf::Duration* timeout); - - // .flyteidl.core.RetryStrategy retries = 5; - bool has_retries() const; - void clear_retries(); - static const int kRetriesFieldNumber = 5; - const ::flyteidl::core::RetryStrategy& retries() const; - ::flyteidl::core::RetryStrategy* release_retries(); - ::flyteidl::core::RetryStrategy* mutable_retries(); - void set_allocated_retries(::flyteidl::core::RetryStrategy* retries); - - // bool discoverable = 1; - void clear_discoverable(); - static const int kDiscoverableFieldNumber = 1; - bool discoverable() const; - void set_discoverable(bool value); - - // bool cache_serializable = 9; - void clear_cache_serializable(); - static const int kCacheSerializableFieldNumber = 9; - bool cache_serializable() const; - void set_cache_serializable(bool value); - - // bool generates_deck = 10; - void clear_generates_deck(); - static const int kGeneratesDeckFieldNumber = 10; - bool generates_deck() const; - void set_generates_deck(bool value); - - // bool interruptible = 8; - private: - bool has_interruptible() const; - public: - void clear_interruptible(); - static const int kInterruptibleFieldNumber = 8; - bool interruptible() const; - void set_interruptible(bool value); - - void clear_interruptible_value(); - InterruptibleValueCase interruptible_value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskMetadata) - private: - class HasBitSetters; - void set_has_interruptible(); - - inline bool has_interruptible_value() const; - inline void clear_has_interruptible_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - TaskMetadata_TagsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > tags_; - ::google::protobuf::RepeatedPtrField<::std::string> cache_ignore_input_vars_; - ::google::protobuf::internal::ArenaStringPtr discovery_version_; - ::google::protobuf::internal::ArenaStringPtr deprecated_error_message_; - ::google::protobuf::internal::ArenaStringPtr pod_template_name_; - ::flyteidl::core::RuntimeMetadata* runtime_; - ::google::protobuf::Duration* timeout_; - ::flyteidl::core::RetryStrategy* retries_; - bool discoverable_; - bool cache_serializable_; - bool generates_deck_; - union InterruptibleValueUnion { - InterruptibleValueUnion() {} - bool interruptible_; - } interruptible_value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskTemplate_ConfigEntry_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; - TaskTemplate_ConfigEntry_DoNotUse(); - TaskTemplate_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const TaskTemplate_ConfigEntry_DoNotUse& other); - static const TaskTemplate_ConfigEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_TaskTemplate_ConfigEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class TaskTemplate final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TaskTemplate) */ { - public: - TaskTemplate(); - virtual ~TaskTemplate(); - - TaskTemplate(const TaskTemplate& from); - - inline TaskTemplate& operator=(const TaskTemplate& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskTemplate(TaskTemplate&& from) noexcept - : TaskTemplate() { - *this = ::std::move(from); - } - - inline TaskTemplate& operator=(TaskTemplate&& 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 TaskTemplate& default_instance(); - - enum TargetCase { - kContainer = 6, - kK8SPod = 17, - kSql = 18, - TARGET_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskTemplate* internal_default_instance() { - return reinterpret_cast( - &_TaskTemplate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(TaskTemplate* other); - friend void swap(TaskTemplate& a, TaskTemplate& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskTemplate* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskTemplate* 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 TaskTemplate& from); - void MergeFrom(const TaskTemplate& 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(TaskTemplate* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map config = 16; - int config_size() const; - void clear_config(); - static const int kConfigFieldNumber = 16; - const ::google::protobuf::Map< ::std::string, ::std::string >& - config() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_config(); - - // string type = 2; - void clear_type(); - static const int kTypeFieldNumber = 2; - const ::std::string& type() const; - void set_type(const ::std::string& value); - #if LANG_CXX11 - void set_type(::std::string&& value); - #endif - void set_type(const char* value); - void set_type(const char* value, size_t size); - ::std::string* mutable_type(); - ::std::string* release_type(); - void set_allocated_type(::std::string* type); - - // .flyteidl.core.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.core.TaskMetadata metadata = 3; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 3; - const ::flyteidl::core::TaskMetadata& metadata() const; - ::flyteidl::core::TaskMetadata* release_metadata(); - ::flyteidl::core::TaskMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::core::TaskMetadata* metadata); - - // .flyteidl.core.TypedInterface interface = 4; - bool has_interface() const; - void clear_interface(); - static const int kInterfaceFieldNumber = 4; - const ::flyteidl::core::TypedInterface& interface() const; - ::flyteidl::core::TypedInterface* release_interface(); - ::flyteidl::core::TypedInterface* mutable_interface(); - void set_allocated_interface(::flyteidl::core::TypedInterface* interface); - - // .google.protobuf.Struct custom = 5; - bool has_custom() const; - void clear_custom(); - static const int kCustomFieldNumber = 5; - const ::google::protobuf::Struct& custom() const; - ::google::protobuf::Struct* release_custom(); - ::google::protobuf::Struct* mutable_custom(); - void set_allocated_custom(::google::protobuf::Struct* custom); - - // .flyteidl.core.SecurityContext security_context = 8; - bool has_security_context() const; - void clear_security_context(); - static const int kSecurityContextFieldNumber = 8; - const ::flyteidl::core::SecurityContext& security_context() const; - ::flyteidl::core::SecurityContext* release_security_context(); - ::flyteidl::core::SecurityContext* mutable_security_context(); - void set_allocated_security_context(::flyteidl::core::SecurityContext* security_context); - - // .flyteidl.core.ExtendedResources extended_resources = 9; - bool has_extended_resources() const; - void clear_extended_resources(); - static const int kExtendedResourcesFieldNumber = 9; - const ::flyteidl::core::ExtendedResources& extended_resources() const; - ::flyteidl::core::ExtendedResources* release_extended_resources(); - ::flyteidl::core::ExtendedResources* mutable_extended_resources(); - void set_allocated_extended_resources(::flyteidl::core::ExtendedResources* extended_resources); - - // int32 task_type_version = 7; - void clear_task_type_version(); - static const int kTaskTypeVersionFieldNumber = 7; - ::google::protobuf::int32 task_type_version() const; - void set_task_type_version(::google::protobuf::int32 value); - - // .flyteidl.core.Container container = 6; - bool has_container() const; - void clear_container(); - static const int kContainerFieldNumber = 6; - const ::flyteidl::core::Container& container() const; - ::flyteidl::core::Container* release_container(); - ::flyteidl::core::Container* mutable_container(); - void set_allocated_container(::flyteidl::core::Container* container); - - // .flyteidl.core.K8sPod k8s_pod = 17; - bool has_k8s_pod() const; - void clear_k8s_pod(); - static const int kK8SPodFieldNumber = 17; - const ::flyteidl::core::K8sPod& k8s_pod() const; - ::flyteidl::core::K8sPod* release_k8s_pod(); - ::flyteidl::core::K8sPod* mutable_k8s_pod(); - void set_allocated_k8s_pod(::flyteidl::core::K8sPod* k8s_pod); - - // .flyteidl.core.Sql sql = 18; - bool has_sql() const; - void clear_sql(); - static const int kSqlFieldNumber = 18; - const ::flyteidl::core::Sql& sql() const; - ::flyteidl::core::Sql* release_sql(); - ::flyteidl::core::Sql* mutable_sql(); - void set_allocated_sql(::flyteidl::core::Sql* sql); - - void clear_target(); - TargetCase target_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskTemplate) - private: - class HasBitSetters; - void set_has_container(); - void set_has_k8s_pod(); - void set_has_sql(); - - inline bool has_target() const; - inline void clear_has_target(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - TaskTemplate_ConfigEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > config_; - ::google::protobuf::internal::ArenaStringPtr type_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::core::TaskMetadata* metadata_; - ::flyteidl::core::TypedInterface* interface_; - ::google::protobuf::Struct* custom_; - ::flyteidl::core::SecurityContext* security_context_; - ::flyteidl::core::ExtendedResources* extended_resources_; - ::google::protobuf::int32 task_type_version_; - union TargetUnion { - TargetUnion() {} - ::flyteidl::core::Container* container_; - ::flyteidl::core::K8sPod* k8s_pod_; - ::flyteidl::core::Sql* sql_; - } target_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class ContainerPort final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ContainerPort) */ { - public: - ContainerPort(); - virtual ~ContainerPort(); - - ContainerPort(const ContainerPort& from); - - inline ContainerPort& operator=(const ContainerPort& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ContainerPort(ContainerPort&& from) noexcept - : ContainerPort() { - *this = ::std::move(from); - } - - inline ContainerPort& operator=(ContainerPort&& 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 ContainerPort& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ContainerPort* internal_default_instance() { - return reinterpret_cast( - &_ContainerPort_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(ContainerPort* other); - friend void swap(ContainerPort& a, ContainerPort& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ContainerPort* New() const final { - return CreateMaybeMessage(nullptr); - } - - ContainerPort* 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 ContainerPort& from); - void MergeFrom(const ContainerPort& 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(ContainerPort* 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 ------------------------------------------------------- - - // uint32 container_port = 1; - void clear_container_port(); - static const int kContainerPortFieldNumber = 1; - ::google::protobuf::uint32 container_port() const; - void set_container_port(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ContainerPort) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::uint32 container_port_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class Container final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Container) */ { - public: - Container(); - virtual ~Container(); - - Container(const Container& from); - - inline Container& operator=(const Container& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Container(Container&& from) noexcept - : Container() { - *this = ::std::move(from); - } - - inline Container& operator=(Container&& 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 Container& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Container* internal_default_instance() { - return reinterpret_cast( - &_Container_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(Container* other); - friend void swap(Container& a, Container& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Container* New() const final { - return CreateMaybeMessage(nullptr); - } - - Container* 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 Container& from); - void MergeFrom(const Container& 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(Container* 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 Container_Architecture Architecture; - static const Architecture UNKNOWN = - Container_Architecture_UNKNOWN; - static const Architecture AMD64 = - Container_Architecture_AMD64; - static const Architecture ARM64 = - Container_Architecture_ARM64; - static const Architecture ARM_V6 = - Container_Architecture_ARM_V6; - static const Architecture ARM_V7 = - Container_Architecture_ARM_V7; - static inline bool Architecture_IsValid(int value) { - return Container_Architecture_IsValid(value); - } - static const Architecture Architecture_MIN = - Container_Architecture_Architecture_MIN; - static const Architecture Architecture_MAX = - Container_Architecture_Architecture_MAX; - static const int Architecture_ARRAYSIZE = - Container_Architecture_Architecture_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Architecture_descriptor() { - return Container_Architecture_descriptor(); - } - static inline const ::std::string& Architecture_Name(Architecture value) { - return Container_Architecture_Name(value); - } - static inline bool Architecture_Parse(const ::std::string& name, - Architecture* value) { - return Container_Architecture_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // repeated string command = 2; - int command_size() const; - void clear_command(); - static const int kCommandFieldNumber = 2; - const ::std::string& command(int index) const; - ::std::string* mutable_command(int index); - void set_command(int index, const ::std::string& value); - #if LANG_CXX11 - void set_command(int index, ::std::string&& value); - #endif - void set_command(int index, const char* value); - void set_command(int index, const char* value, size_t size); - ::std::string* add_command(); - void add_command(const ::std::string& value); - #if LANG_CXX11 - void add_command(::std::string&& value); - #endif - void add_command(const char* value); - void add_command(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& command() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_command(); - - // repeated string args = 3; - int args_size() const; - void clear_args(); - static const int kArgsFieldNumber = 3; - const ::std::string& args(int index) const; - ::std::string* mutable_args(int index); - void set_args(int index, const ::std::string& value); - #if LANG_CXX11 - void set_args(int index, ::std::string&& value); - #endif - void set_args(int index, const char* value); - void set_args(int index, const char* value, size_t size); - ::std::string* add_args(); - void add_args(const ::std::string& value); - #if LANG_CXX11 - void add_args(::std::string&& value); - #endif - void add_args(const char* value); - void add_args(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& args() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_args(); - - // repeated .flyteidl.core.KeyValuePair env = 5; - int env_size() const; - void clear_env(); - static const int kEnvFieldNumber = 5; - ::flyteidl::core::KeyValuePair* mutable_env(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* - mutable_env(); - const ::flyteidl::core::KeyValuePair& env(int index) const; - ::flyteidl::core::KeyValuePair* add_env(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& - env() const; - - // repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - PROTOBUF_DEPRECATED int config_size() const; - PROTOBUF_DEPRECATED void clear_config(); - PROTOBUF_DEPRECATED static const int kConfigFieldNumber = 6; - PROTOBUF_DEPRECATED ::flyteidl::core::KeyValuePair* mutable_config(int index); - PROTOBUF_DEPRECATED ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* - mutable_config(); - PROTOBUF_DEPRECATED const ::flyteidl::core::KeyValuePair& config(int index) const; - PROTOBUF_DEPRECATED ::flyteidl::core::KeyValuePair* add_config(); - PROTOBUF_DEPRECATED const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& - config() const; - - // repeated .flyteidl.core.ContainerPort ports = 7; - int ports_size() const; - void clear_ports(); - static const int kPortsFieldNumber = 7; - ::flyteidl::core::ContainerPort* mutable_ports(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ContainerPort >* - mutable_ports(); - const ::flyteidl::core::ContainerPort& ports(int index) const; - ::flyteidl::core::ContainerPort* add_ports(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ContainerPort >& - ports() const; - - // string image = 1; - void clear_image(); - static const int kImageFieldNumber = 1; - const ::std::string& image() const; - void set_image(const ::std::string& value); - #if LANG_CXX11 - void set_image(::std::string&& value); - #endif - void set_image(const char* value); - void set_image(const char* value, size_t size); - ::std::string* mutable_image(); - ::std::string* release_image(); - void set_allocated_image(::std::string* image); - - // .flyteidl.core.Resources resources = 4; - bool has_resources() const; - void clear_resources(); - static const int kResourcesFieldNumber = 4; - const ::flyteidl::core::Resources& resources() const; - ::flyteidl::core::Resources* release_resources(); - ::flyteidl::core::Resources* mutable_resources(); - void set_allocated_resources(::flyteidl::core::Resources* resources); - - // .flyteidl.core.DataLoadingConfig data_config = 9; - bool has_data_config() const; - void clear_data_config(); - static const int kDataConfigFieldNumber = 9; - const ::flyteidl::core::DataLoadingConfig& data_config() const; - ::flyteidl::core::DataLoadingConfig* release_data_config(); - ::flyteidl::core::DataLoadingConfig* mutable_data_config(); - void set_allocated_data_config(::flyteidl::core::DataLoadingConfig* data_config); - - // .flyteidl.core.Container.Architecture architecture = 10; - void clear_architecture(); - static const int kArchitectureFieldNumber = 10; - ::flyteidl::core::Container_Architecture architecture() const; - void set_architecture(::flyteidl::core::Container_Architecture value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Container) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> command_; - ::google::protobuf::RepeatedPtrField<::std::string> args_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair > env_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair > config_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ContainerPort > ports_; - ::google::protobuf::internal::ArenaStringPtr image_; - ::flyteidl::core::Resources* resources_; - ::flyteidl::core::DataLoadingConfig* data_config_; - int architecture_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class IOStrategy final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.IOStrategy) */ { - public: - IOStrategy(); - virtual ~IOStrategy(); - - IOStrategy(const IOStrategy& from); - - inline IOStrategy& operator=(const IOStrategy& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - IOStrategy(IOStrategy&& from) noexcept - : IOStrategy() { - *this = ::std::move(from); - } - - inline IOStrategy& operator=(IOStrategy&& 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 IOStrategy& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const IOStrategy* internal_default_instance() { - return reinterpret_cast( - &_IOStrategy_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(IOStrategy* other); - friend void swap(IOStrategy& a, IOStrategy& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline IOStrategy* New() const final { - return CreateMaybeMessage(nullptr); - } - - IOStrategy* 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 IOStrategy& from); - void MergeFrom(const IOStrategy& 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(IOStrategy* 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 IOStrategy_DownloadMode DownloadMode; - static const DownloadMode DOWNLOAD_EAGER = - IOStrategy_DownloadMode_DOWNLOAD_EAGER; - static const DownloadMode DOWNLOAD_STREAM = - IOStrategy_DownloadMode_DOWNLOAD_STREAM; - static const DownloadMode DO_NOT_DOWNLOAD = - IOStrategy_DownloadMode_DO_NOT_DOWNLOAD; - static inline bool DownloadMode_IsValid(int value) { - return IOStrategy_DownloadMode_IsValid(value); - } - static const DownloadMode DownloadMode_MIN = - IOStrategy_DownloadMode_DownloadMode_MIN; - static const DownloadMode DownloadMode_MAX = - IOStrategy_DownloadMode_DownloadMode_MAX; - static const int DownloadMode_ARRAYSIZE = - IOStrategy_DownloadMode_DownloadMode_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - DownloadMode_descriptor() { - return IOStrategy_DownloadMode_descriptor(); - } - static inline const ::std::string& DownloadMode_Name(DownloadMode value) { - return IOStrategy_DownloadMode_Name(value); - } - static inline bool DownloadMode_Parse(const ::std::string& name, - DownloadMode* value) { - return IOStrategy_DownloadMode_Parse(name, value); - } - - typedef IOStrategy_UploadMode UploadMode; - static const UploadMode UPLOAD_ON_EXIT = - IOStrategy_UploadMode_UPLOAD_ON_EXIT; - static const UploadMode UPLOAD_EAGER = - IOStrategy_UploadMode_UPLOAD_EAGER; - static const UploadMode DO_NOT_UPLOAD = - IOStrategy_UploadMode_DO_NOT_UPLOAD; - static inline bool UploadMode_IsValid(int value) { - return IOStrategy_UploadMode_IsValid(value); - } - static const UploadMode UploadMode_MIN = - IOStrategy_UploadMode_UploadMode_MIN; - static const UploadMode UploadMode_MAX = - IOStrategy_UploadMode_UploadMode_MAX; - static const int UploadMode_ARRAYSIZE = - IOStrategy_UploadMode_UploadMode_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - UploadMode_descriptor() { - return IOStrategy_UploadMode_descriptor(); - } - static inline const ::std::string& UploadMode_Name(UploadMode value) { - return IOStrategy_UploadMode_Name(value); - } - static inline bool UploadMode_Parse(const ::std::string& name, - UploadMode* value) { - return IOStrategy_UploadMode_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - void clear_download_mode(); - static const int kDownloadModeFieldNumber = 1; - ::flyteidl::core::IOStrategy_DownloadMode download_mode() const; - void set_download_mode(::flyteidl::core::IOStrategy_DownloadMode value); - - // .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - void clear_upload_mode(); - static const int kUploadModeFieldNumber = 2; - ::flyteidl::core::IOStrategy_UploadMode upload_mode() const; - void set_upload_mode(::flyteidl::core::IOStrategy_UploadMode value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.IOStrategy) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int download_mode_; - int upload_mode_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class DataLoadingConfig final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.DataLoadingConfig) */ { - public: - DataLoadingConfig(); - virtual ~DataLoadingConfig(); - - DataLoadingConfig(const DataLoadingConfig& from); - - inline DataLoadingConfig& operator=(const DataLoadingConfig& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DataLoadingConfig(DataLoadingConfig&& from) noexcept - : DataLoadingConfig() { - *this = ::std::move(from); - } - - inline DataLoadingConfig& operator=(DataLoadingConfig&& 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 DataLoadingConfig& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DataLoadingConfig* internal_default_instance() { - return reinterpret_cast( - &_DataLoadingConfig_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(DataLoadingConfig* other); - friend void swap(DataLoadingConfig& a, DataLoadingConfig& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DataLoadingConfig* New() const final { - return CreateMaybeMessage(nullptr); - } - - DataLoadingConfig* 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 DataLoadingConfig& from); - void MergeFrom(const DataLoadingConfig& 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(DataLoadingConfig* 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 DataLoadingConfig_LiteralMapFormat LiteralMapFormat; - static const LiteralMapFormat JSON = - DataLoadingConfig_LiteralMapFormat_JSON; - static const LiteralMapFormat YAML = - DataLoadingConfig_LiteralMapFormat_YAML; - static const LiteralMapFormat PROTO = - DataLoadingConfig_LiteralMapFormat_PROTO; - static inline bool LiteralMapFormat_IsValid(int value) { - return DataLoadingConfig_LiteralMapFormat_IsValid(value); - } - static const LiteralMapFormat LiteralMapFormat_MIN = - DataLoadingConfig_LiteralMapFormat_LiteralMapFormat_MIN; - static const LiteralMapFormat LiteralMapFormat_MAX = - DataLoadingConfig_LiteralMapFormat_LiteralMapFormat_MAX; - static const int LiteralMapFormat_ARRAYSIZE = - DataLoadingConfig_LiteralMapFormat_LiteralMapFormat_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - LiteralMapFormat_descriptor() { - return DataLoadingConfig_LiteralMapFormat_descriptor(); - } - static inline const ::std::string& LiteralMapFormat_Name(LiteralMapFormat value) { - return DataLoadingConfig_LiteralMapFormat_Name(value); - } - static inline bool LiteralMapFormat_Parse(const ::std::string& name, - LiteralMapFormat* value) { - return DataLoadingConfig_LiteralMapFormat_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string input_path = 2; - void clear_input_path(); - static const int kInputPathFieldNumber = 2; - const ::std::string& input_path() const; - void set_input_path(const ::std::string& value); - #if LANG_CXX11 - void set_input_path(::std::string&& value); - #endif - void set_input_path(const char* value); - void set_input_path(const char* value, size_t size); - ::std::string* mutable_input_path(); - ::std::string* release_input_path(); - void set_allocated_input_path(::std::string* input_path); - - // string output_path = 3; - void clear_output_path(); - static const int kOutputPathFieldNumber = 3; - const ::std::string& output_path() const; - void set_output_path(const ::std::string& value); - #if LANG_CXX11 - void set_output_path(::std::string&& value); - #endif - void set_output_path(const char* value); - void set_output_path(const char* value, size_t size); - ::std::string* mutable_output_path(); - ::std::string* release_output_path(); - void set_allocated_output_path(::std::string* output_path); - - // .flyteidl.core.IOStrategy io_strategy = 5; - bool has_io_strategy() const; - void clear_io_strategy(); - static const int kIoStrategyFieldNumber = 5; - const ::flyteidl::core::IOStrategy& io_strategy() const; - ::flyteidl::core::IOStrategy* release_io_strategy(); - ::flyteidl::core::IOStrategy* mutable_io_strategy(); - void set_allocated_io_strategy(::flyteidl::core::IOStrategy* io_strategy); - - // bool enabled = 1; - void clear_enabled(); - static const int kEnabledFieldNumber = 1; - bool enabled() const; - void set_enabled(bool value); - - // .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - void clear_format(); - static const int kFormatFieldNumber = 4; - ::flyteidl::core::DataLoadingConfig_LiteralMapFormat format() const; - void set_format(::flyteidl::core::DataLoadingConfig_LiteralMapFormat value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.DataLoadingConfig) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr input_path_; - ::google::protobuf::internal::ArenaStringPtr output_path_; - ::flyteidl::core::IOStrategy* io_strategy_; - bool enabled_; - int format_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class K8sPod final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.K8sPod) */ { - public: - K8sPod(); - virtual ~K8sPod(); - - K8sPod(const K8sPod& from); - - inline K8sPod& operator=(const K8sPod& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - K8sPod(K8sPod&& from) noexcept - : K8sPod() { - *this = ::std::move(from); - } - - inline K8sPod& operator=(K8sPod&& 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 K8sPod& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const K8sPod* internal_default_instance() { - return reinterpret_cast( - &_K8sPod_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - void Swap(K8sPod* other); - friend void swap(K8sPod& a, K8sPod& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline K8sPod* New() const final { - return CreateMaybeMessage(nullptr); - } - - K8sPod* 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 K8sPod& from); - void MergeFrom(const K8sPod& 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(K8sPod* 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.K8sObjectMetadata metadata = 1; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 1; - const ::flyteidl::core::K8sObjectMetadata& metadata() const; - ::flyteidl::core::K8sObjectMetadata* release_metadata(); - ::flyteidl::core::K8sObjectMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::core::K8sObjectMetadata* metadata); - - // .google.protobuf.Struct pod_spec = 2; - bool has_pod_spec() const; - void clear_pod_spec(); - static const int kPodSpecFieldNumber = 2; - const ::google::protobuf::Struct& pod_spec() const; - ::google::protobuf::Struct* release_pod_spec(); - ::google::protobuf::Struct* mutable_pod_spec(); - void set_allocated_pod_spec(::google::protobuf::Struct* pod_spec); - - // .flyteidl.core.DataLoadingConfig data_config = 3; - bool has_data_config() const; - void clear_data_config(); - static const int kDataConfigFieldNumber = 3; - const ::flyteidl::core::DataLoadingConfig& data_config() const; - ::flyteidl::core::DataLoadingConfig* release_data_config(); - ::flyteidl::core::DataLoadingConfig* mutable_data_config(); - void set_allocated_data_config(::flyteidl::core::DataLoadingConfig* data_config); - - // @@protoc_insertion_point(class_scope:flyteidl.core.K8sPod) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::K8sObjectMetadata* metadata_; - ::google::protobuf::Struct* pod_spec_; - ::flyteidl::core::DataLoadingConfig* data_config_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class K8sObjectMetadata_LabelsEntry_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; - K8sObjectMetadata_LabelsEntry_DoNotUse(); - K8sObjectMetadata_LabelsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const K8sObjectMetadata_LabelsEntry_DoNotUse& other); - static const K8sObjectMetadata_LabelsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_K8sObjectMetadata_LabelsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class K8sObjectMetadata_AnnotationsEntry_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; - K8sObjectMetadata_AnnotationsEntry_DoNotUse(); - K8sObjectMetadata_AnnotationsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const K8sObjectMetadata_AnnotationsEntry_DoNotUse& other); - static const K8sObjectMetadata_AnnotationsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_K8sObjectMetadata_AnnotationsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class K8sObjectMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.K8sObjectMetadata) */ { - public: - K8sObjectMetadata(); - virtual ~K8sObjectMetadata(); - - K8sObjectMetadata(const K8sObjectMetadata& from); - - inline K8sObjectMetadata& operator=(const K8sObjectMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - K8sObjectMetadata(K8sObjectMetadata&& from) noexcept - : K8sObjectMetadata() { - *this = ::std::move(from); - } - - inline K8sObjectMetadata& operator=(K8sObjectMetadata&& 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 K8sObjectMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const K8sObjectMetadata* internal_default_instance() { - return reinterpret_cast( - &_K8sObjectMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - void Swap(K8sObjectMetadata* other); - friend void swap(K8sObjectMetadata& a, K8sObjectMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline K8sObjectMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - K8sObjectMetadata* 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 K8sObjectMetadata& from); - void MergeFrom(const K8sObjectMetadata& 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(K8sObjectMetadata* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map labels = 1; - int labels_size() const; - void clear_labels(); - static const int kLabelsFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::std::string >& - labels() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_labels(); - - // map annotations = 2; - int annotations_size() const; - void clear_annotations(); - static const int kAnnotationsFieldNumber = 2; - const ::google::protobuf::Map< ::std::string, ::std::string >& - annotations() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_annotations(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.K8sObjectMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - K8sObjectMetadata_LabelsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > labels_; - ::google::protobuf::internal::MapField< - K8sObjectMetadata_AnnotationsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > annotations_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// ------------------------------------------------------------------- - -class Sql final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Sql) */ { - public: - Sql(); - virtual ~Sql(); - - Sql(const Sql& from); - - inline Sql& operator=(const Sql& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Sql(Sql&& from) noexcept - : Sql() { - *this = ::std::move(from); - } - - inline Sql& operator=(Sql&& 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 Sql& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Sql* internal_default_instance() { - return reinterpret_cast( - &_Sql_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - void Swap(Sql* other); - friend void swap(Sql& a, Sql& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Sql* New() const final { - return CreateMaybeMessage(nullptr); - } - - Sql* 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 Sql& from); - void MergeFrom(const Sql& 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(Sql* 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 Sql_Dialect Dialect; - static const Dialect UNDEFINED = - Sql_Dialect_UNDEFINED; - static const Dialect ANSI = - Sql_Dialect_ANSI; - static const Dialect HIVE = - Sql_Dialect_HIVE; - static const Dialect OTHER = - Sql_Dialect_OTHER; - static inline bool Dialect_IsValid(int value) { - return Sql_Dialect_IsValid(value); - } - static const Dialect Dialect_MIN = - Sql_Dialect_Dialect_MIN; - static const Dialect Dialect_MAX = - Sql_Dialect_Dialect_MAX; - static const int Dialect_ARRAYSIZE = - Sql_Dialect_Dialect_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Dialect_descriptor() { - return Sql_Dialect_descriptor(); - } - static inline const ::std::string& Dialect_Name(Dialect value) { - return Sql_Dialect_Name(value); - } - static inline bool Dialect_Parse(const ::std::string& name, - Dialect* value) { - return Sql_Dialect_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string statement = 1; - void clear_statement(); - static const int kStatementFieldNumber = 1; - const ::std::string& statement() const; - void set_statement(const ::std::string& value); - #if LANG_CXX11 - void set_statement(::std::string&& value); - #endif - void set_statement(const char* value); - void set_statement(const char* value, size_t size); - ::std::string* mutable_statement(); - ::std::string* release_statement(); - void set_allocated_statement(::std::string* statement); - - // .flyteidl.core.Sql.Dialect dialect = 2; - void clear_dialect(); - static const int kDialectFieldNumber = 2; - ::flyteidl::core::Sql_Dialect dialect() const; - void set_dialect(::flyteidl::core::Sql_Dialect value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Sql) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr statement_; - int dialect_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Resources_ResourceEntry - -// .flyteidl.core.Resources.ResourceName name = 1; -inline void Resources_ResourceEntry::clear_name() { - name_ = 0; -} -inline ::flyteidl::core::Resources_ResourceName Resources_ResourceEntry::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Resources.ResourceEntry.name) - return static_cast< ::flyteidl::core::Resources_ResourceName >(name_); -} -inline void Resources_ResourceEntry::set_name(::flyteidl::core::Resources_ResourceName value) { - - name_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Resources.ResourceEntry.name) -} - -// string value = 2; -inline void Resources_ResourceEntry::clear_value() { - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Resources_ResourceEntry::value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Resources.ResourceEntry.value) - return value_.GetNoArena(); -} -inline void Resources_ResourceEntry::set_value(const ::std::string& value) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Resources.ResourceEntry.value) -} -#if LANG_CXX11 -inline void Resources_ResourceEntry::set_value(::std::string&& value) { - - value_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Resources.ResourceEntry.value) -} -#endif -inline void Resources_ResourceEntry::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Resources.ResourceEntry.value) -} -inline void Resources_ResourceEntry::set_value(const char* value, size_t size) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Resources.ResourceEntry.value) -} -inline ::std::string* Resources_ResourceEntry::mutable_value() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Resources.ResourceEntry.value) - return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Resources_ResourceEntry::release_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.Resources.ResourceEntry.value) - - return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Resources_ResourceEntry::set_allocated_value(::std::string* value) { - if (value != nullptr) { - - } else { - - } - value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Resources.ResourceEntry.value) -} - -// ------------------------------------------------------------------- - -// Resources - -// repeated .flyteidl.core.Resources.ResourceEntry requests = 1; -inline int Resources::requests_size() const { - return requests_.size(); -} -inline void Resources::clear_requests() { - requests_.Clear(); -} -inline ::flyteidl::core::Resources_ResourceEntry* Resources::mutable_requests(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Resources.requests) - return requests_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >* -Resources::mutable_requests() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Resources.requests) - return &requests_; -} -inline const ::flyteidl::core::Resources_ResourceEntry& Resources::requests(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Resources.requests) - return requests_.Get(index); -} -inline ::flyteidl::core::Resources_ResourceEntry* Resources::add_requests() { - // @@protoc_insertion_point(field_add:flyteidl.core.Resources.requests) - return requests_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >& -Resources::requests() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Resources.requests) - return requests_; -} - -// repeated .flyteidl.core.Resources.ResourceEntry limits = 2; -inline int Resources::limits_size() const { - return limits_.size(); -} -inline void Resources::clear_limits() { - limits_.Clear(); -} -inline ::flyteidl::core::Resources_ResourceEntry* Resources::mutable_limits(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Resources.limits) - return limits_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >* -Resources::mutable_limits() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Resources.limits) - return &limits_; -} -inline const ::flyteidl::core::Resources_ResourceEntry& Resources::limits(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Resources.limits) - return limits_.Get(index); -} -inline ::flyteidl::core::Resources_ResourceEntry* Resources::add_limits() { - // @@protoc_insertion_point(field_add:flyteidl.core.Resources.limits) - return limits_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Resources_ResourceEntry >& -Resources::limits() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Resources.limits) - return limits_; -} - -// ------------------------------------------------------------------- - -// GPUAccelerator - -// string device = 1; -inline void GPUAccelerator::clear_device() { - device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GPUAccelerator::device() const { - // @@protoc_insertion_point(field_get:flyteidl.core.GPUAccelerator.device) - return device_.GetNoArena(); -} -inline void GPUAccelerator::set_device(const ::std::string& value) { - - device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.GPUAccelerator.device) -} -#if LANG_CXX11 -inline void GPUAccelerator::set_device(::std::string&& value) { - - device_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.GPUAccelerator.device) -} -#endif -inline void GPUAccelerator::set_device(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.GPUAccelerator.device) -} -inline void GPUAccelerator::set_device(const char* value, size_t size) { - - device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.GPUAccelerator.device) -} -inline ::std::string* GPUAccelerator::mutable_device() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.GPUAccelerator.device) - return device_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GPUAccelerator::release_device() { - // @@protoc_insertion_point(field_release:flyteidl.core.GPUAccelerator.device) - - return device_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GPUAccelerator::set_allocated_device(::std::string* device) { - if (device != nullptr) { - - } else { - - } - device_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), device); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.GPUAccelerator.device) -} - -// bool unpartitioned = 2; -inline bool GPUAccelerator::has_unpartitioned() const { - return partition_size_value_case() == kUnpartitioned; -} -inline void GPUAccelerator::set_has_unpartitioned() { - _oneof_case_[0] = kUnpartitioned; -} -inline void GPUAccelerator::clear_unpartitioned() { - if (has_unpartitioned()) { - partition_size_value_.unpartitioned_ = false; - clear_has_partition_size_value(); - } -} -inline bool GPUAccelerator::unpartitioned() const { - // @@protoc_insertion_point(field_get:flyteidl.core.GPUAccelerator.unpartitioned) - if (has_unpartitioned()) { - return partition_size_value_.unpartitioned_; - } - return false; -} -inline void GPUAccelerator::set_unpartitioned(bool value) { - if (!has_unpartitioned()) { - clear_partition_size_value(); - set_has_unpartitioned(); - } - partition_size_value_.unpartitioned_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.GPUAccelerator.unpartitioned) -} - -// string partition_size = 3; -inline bool GPUAccelerator::has_partition_size() const { - return partition_size_value_case() == kPartitionSize; -} -inline void GPUAccelerator::set_has_partition_size() { - _oneof_case_[0] = kPartitionSize; -} -inline void GPUAccelerator::clear_partition_size() { - if (has_partition_size()) { - partition_size_value_.partition_size_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_partition_size_value(); - } -} -inline const ::std::string& GPUAccelerator::partition_size() const { - // @@protoc_insertion_point(field_get:flyteidl.core.GPUAccelerator.partition_size) - if (has_partition_size()) { - return partition_size_value_.partition_size_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void GPUAccelerator::set_partition_size(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.GPUAccelerator.partition_size) - if (!has_partition_size()) { - clear_partition_size_value(); - set_has_partition_size(); - partition_size_value_.partition_size_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_size_value_.partition_size_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.GPUAccelerator.partition_size) -} -#if LANG_CXX11 -inline void GPUAccelerator::set_partition_size(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.GPUAccelerator.partition_size) - if (!has_partition_size()) { - clear_partition_size_value(); - set_has_partition_size(); - partition_size_value_.partition_size_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_size_value_.partition_size_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.GPUAccelerator.partition_size) -} -#endif -inline void GPUAccelerator::set_partition_size(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_partition_size()) { - clear_partition_size_value(); - set_has_partition_size(); - partition_size_value_.partition_size_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_size_value_.partition_size_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.GPUAccelerator.partition_size) -} -inline void GPUAccelerator::set_partition_size(const char* value, size_t size) { - if (!has_partition_size()) { - clear_partition_size_value(); - set_has_partition_size(); - partition_size_value_.partition_size_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - partition_size_value_.partition_size_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.GPUAccelerator.partition_size) -} -inline ::std::string* GPUAccelerator::mutable_partition_size() { - if (!has_partition_size()) { - clear_partition_size_value(); - set_has_partition_size(); - partition_size_value_.partition_size_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.GPUAccelerator.partition_size) - return partition_size_value_.partition_size_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GPUAccelerator::release_partition_size() { - // @@protoc_insertion_point(field_release:flyteidl.core.GPUAccelerator.partition_size) - if (has_partition_size()) { - clear_has_partition_size_value(); - return partition_size_value_.partition_size_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void GPUAccelerator::set_allocated_partition_size(::std::string* partition_size) { - if (has_partition_size_value()) { - clear_partition_size_value(); - } - if (partition_size != nullptr) { - set_has_partition_size(); - partition_size_value_.partition_size_.UnsafeSetDefault(partition_size); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.GPUAccelerator.partition_size) -} - -inline bool GPUAccelerator::has_partition_size_value() const { - return partition_size_value_case() != PARTITION_SIZE_VALUE_NOT_SET; -} -inline void GPUAccelerator::clear_has_partition_size_value() { - _oneof_case_[0] = PARTITION_SIZE_VALUE_NOT_SET; -} -inline GPUAccelerator::PartitionSizeValueCase GPUAccelerator::partition_size_value_case() const { - return GPUAccelerator::PartitionSizeValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ExtendedResources - -// .flyteidl.core.GPUAccelerator gpu_accelerator = 1; -inline bool ExtendedResources::has_gpu_accelerator() const { - return this != internal_default_instance() && gpu_accelerator_ != nullptr; -} -inline void ExtendedResources::clear_gpu_accelerator() { - if (GetArenaNoVirtual() == nullptr && gpu_accelerator_ != nullptr) { - delete gpu_accelerator_; - } - gpu_accelerator_ = nullptr; -} -inline const ::flyteidl::core::GPUAccelerator& ExtendedResources::gpu_accelerator() const { - const ::flyteidl::core::GPUAccelerator* p = gpu_accelerator_; - // @@protoc_insertion_point(field_get:flyteidl.core.ExtendedResources.gpu_accelerator) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_GPUAccelerator_default_instance_); -} -inline ::flyteidl::core::GPUAccelerator* ExtendedResources::release_gpu_accelerator() { - // @@protoc_insertion_point(field_release:flyteidl.core.ExtendedResources.gpu_accelerator) - - ::flyteidl::core::GPUAccelerator* temp = gpu_accelerator_; - gpu_accelerator_ = nullptr; - return temp; -} -inline ::flyteidl::core::GPUAccelerator* ExtendedResources::mutable_gpu_accelerator() { - - if (gpu_accelerator_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::GPUAccelerator>(GetArenaNoVirtual()); - gpu_accelerator_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ExtendedResources.gpu_accelerator) - return gpu_accelerator_; -} -inline void ExtendedResources::set_allocated_gpu_accelerator(::flyteidl::core::GPUAccelerator* gpu_accelerator) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete gpu_accelerator_; - } - if (gpu_accelerator) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - gpu_accelerator = ::google::protobuf::internal::GetOwnedMessage( - message_arena, gpu_accelerator, submessage_arena); - } - - } else { - - } - gpu_accelerator_ = gpu_accelerator; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ExtendedResources.gpu_accelerator) -} - -// ------------------------------------------------------------------- - -// RuntimeMetadata - -// .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; -inline void RuntimeMetadata::clear_type() { - type_ = 0; -} -inline ::flyteidl::core::RuntimeMetadata_RuntimeType RuntimeMetadata::type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.RuntimeMetadata.type) - return static_cast< ::flyteidl::core::RuntimeMetadata_RuntimeType >(type_); -} -inline void RuntimeMetadata::set_type(::flyteidl::core::RuntimeMetadata_RuntimeType value) { - - type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.RuntimeMetadata.type) -} - -// string version = 2; -inline void RuntimeMetadata::clear_version() { - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& RuntimeMetadata::version() const { - // @@protoc_insertion_point(field_get:flyteidl.core.RuntimeMetadata.version) - return version_.GetNoArena(); -} -inline void RuntimeMetadata::set_version(const ::std::string& value) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.RuntimeMetadata.version) -} -#if LANG_CXX11 -inline void RuntimeMetadata::set_version(::std::string&& value) { - - version_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.RuntimeMetadata.version) -} -#endif -inline void RuntimeMetadata::set_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.RuntimeMetadata.version) -} -inline void RuntimeMetadata::set_version(const char* value, size_t size) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.RuntimeMetadata.version) -} -inline ::std::string* RuntimeMetadata::mutable_version() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.RuntimeMetadata.version) - return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* RuntimeMetadata::release_version() { - // @@protoc_insertion_point(field_release:flyteidl.core.RuntimeMetadata.version) - - return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void RuntimeMetadata::set_allocated_version(::std::string* version) { - if (version != nullptr) { - - } else { - - } - version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.RuntimeMetadata.version) -} - -// string flavor = 3; -inline void RuntimeMetadata::clear_flavor() { - flavor_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& RuntimeMetadata::flavor() const { - // @@protoc_insertion_point(field_get:flyteidl.core.RuntimeMetadata.flavor) - return flavor_.GetNoArena(); -} -inline void RuntimeMetadata::set_flavor(const ::std::string& value) { - - flavor_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.RuntimeMetadata.flavor) -} -#if LANG_CXX11 -inline void RuntimeMetadata::set_flavor(::std::string&& value) { - - flavor_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.RuntimeMetadata.flavor) -} -#endif -inline void RuntimeMetadata::set_flavor(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - flavor_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.RuntimeMetadata.flavor) -} -inline void RuntimeMetadata::set_flavor(const char* value, size_t size) { - - flavor_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.RuntimeMetadata.flavor) -} -inline ::std::string* RuntimeMetadata::mutable_flavor() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.RuntimeMetadata.flavor) - return flavor_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* RuntimeMetadata::release_flavor() { - // @@protoc_insertion_point(field_release:flyteidl.core.RuntimeMetadata.flavor) - - return flavor_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void RuntimeMetadata::set_allocated_flavor(::std::string* flavor) { - if (flavor != nullptr) { - - } else { - - } - flavor_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), flavor); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.RuntimeMetadata.flavor) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// TaskMetadata - -// bool discoverable = 1; -inline void TaskMetadata::clear_discoverable() { - discoverable_ = false; -} -inline bool TaskMetadata::discoverable() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.discoverable) - return discoverable_; -} -inline void TaskMetadata::set_discoverable(bool value) { - - discoverable_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.discoverable) -} - -// .flyteidl.core.RuntimeMetadata runtime = 2; -inline bool TaskMetadata::has_runtime() const { - return this != internal_default_instance() && runtime_ != nullptr; -} -inline void TaskMetadata::clear_runtime() { - if (GetArenaNoVirtual() == nullptr && runtime_ != nullptr) { - delete runtime_; - } - runtime_ = nullptr; -} -inline const ::flyteidl::core::RuntimeMetadata& TaskMetadata::runtime() const { - const ::flyteidl::core::RuntimeMetadata* p = runtime_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.runtime) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_RuntimeMetadata_default_instance_); -} -inline ::flyteidl::core::RuntimeMetadata* TaskMetadata::release_runtime() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskMetadata.runtime) - - ::flyteidl::core::RuntimeMetadata* temp = runtime_; - runtime_ = nullptr; - return temp; -} -inline ::flyteidl::core::RuntimeMetadata* TaskMetadata::mutable_runtime() { - - if (runtime_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::RuntimeMetadata>(GetArenaNoVirtual()); - runtime_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskMetadata.runtime) - return runtime_; -} -inline void TaskMetadata::set_allocated_runtime(::flyteidl::core::RuntimeMetadata* runtime) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete runtime_; - } - if (runtime) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - runtime = ::google::protobuf::internal::GetOwnedMessage( - message_arena, runtime, submessage_arena); - } - - } else { - - } - runtime_ = runtime; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskMetadata.runtime) -} - -// .google.protobuf.Duration timeout = 4; -inline bool TaskMetadata::has_timeout() const { - return this != internal_default_instance() && timeout_ != nullptr; -} -inline const ::google::protobuf::Duration& TaskMetadata::timeout() const { - const ::google::protobuf::Duration* p = timeout_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.timeout) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* TaskMetadata::release_timeout() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskMetadata.timeout) - - ::google::protobuf::Duration* temp = timeout_; - timeout_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* TaskMetadata::mutable_timeout() { - - if (timeout_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - timeout_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskMetadata.timeout) - return timeout_; -} -inline void TaskMetadata::set_allocated_timeout(::google::protobuf::Duration* timeout) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(timeout_); - } - if (timeout) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(timeout)->GetArena(); - if (message_arena != submessage_arena) { - timeout = ::google::protobuf::internal::GetOwnedMessage( - message_arena, timeout, submessage_arena); - } - - } else { - - } - timeout_ = timeout; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskMetadata.timeout) -} - -// .flyteidl.core.RetryStrategy retries = 5; -inline bool TaskMetadata::has_retries() const { - return this != internal_default_instance() && retries_ != nullptr; -} -inline const ::flyteidl::core::RetryStrategy& TaskMetadata::retries() const { - const ::flyteidl::core::RetryStrategy* p = retries_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.retries) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_RetryStrategy_default_instance_); -} -inline ::flyteidl::core::RetryStrategy* TaskMetadata::release_retries() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskMetadata.retries) - - ::flyteidl::core::RetryStrategy* temp = retries_; - retries_ = nullptr; - return temp; -} -inline ::flyteidl::core::RetryStrategy* TaskMetadata::mutable_retries() { - - if (retries_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::RetryStrategy>(GetArenaNoVirtual()); - retries_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskMetadata.retries) - return retries_; -} -inline void TaskMetadata::set_allocated_retries(::flyteidl::core::RetryStrategy* retries) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(retries_); - } - if (retries) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - retries = ::google::protobuf::internal::GetOwnedMessage( - message_arena, retries, submessage_arena); - } - - } else { - - } - retries_ = retries; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskMetadata.retries) -} - -// string discovery_version = 6; -inline void TaskMetadata::clear_discovery_version() { - discovery_version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskMetadata::discovery_version() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.discovery_version) - return discovery_version_.GetNoArena(); -} -inline void TaskMetadata::set_discovery_version(const ::std::string& value) { - - discovery_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.discovery_version) -} -#if LANG_CXX11 -inline void TaskMetadata::set_discovery_version(::std::string&& value) { - - discovery_version_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.TaskMetadata.discovery_version) -} -#endif -inline void TaskMetadata::set_discovery_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - discovery_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TaskMetadata.discovery_version) -} -inline void TaskMetadata::set_discovery_version(const char* value, size_t size) { - - discovery_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TaskMetadata.discovery_version) -} -inline ::std::string* TaskMetadata::mutable_discovery_version() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskMetadata.discovery_version) - return discovery_version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskMetadata::release_discovery_version() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskMetadata.discovery_version) - - return discovery_version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskMetadata::set_allocated_discovery_version(::std::string* discovery_version) { - if (discovery_version != nullptr) { - - } else { - - } - discovery_version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), discovery_version); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskMetadata.discovery_version) -} - -// string deprecated_error_message = 7; -inline void TaskMetadata::clear_deprecated_error_message() { - deprecated_error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskMetadata::deprecated_error_message() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.deprecated_error_message) - return deprecated_error_message_.GetNoArena(); -} -inline void TaskMetadata::set_deprecated_error_message(const ::std::string& value) { - - deprecated_error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.deprecated_error_message) -} -#if LANG_CXX11 -inline void TaskMetadata::set_deprecated_error_message(::std::string&& value) { - - deprecated_error_message_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.TaskMetadata.deprecated_error_message) -} -#endif -inline void TaskMetadata::set_deprecated_error_message(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - deprecated_error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TaskMetadata.deprecated_error_message) -} -inline void TaskMetadata::set_deprecated_error_message(const char* value, size_t size) { - - deprecated_error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TaskMetadata.deprecated_error_message) -} -inline ::std::string* TaskMetadata::mutable_deprecated_error_message() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskMetadata.deprecated_error_message) - return deprecated_error_message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskMetadata::release_deprecated_error_message() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskMetadata.deprecated_error_message) - - return deprecated_error_message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskMetadata::set_allocated_deprecated_error_message(::std::string* deprecated_error_message) { - if (deprecated_error_message != nullptr) { - - } else { - - } - deprecated_error_message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), deprecated_error_message); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskMetadata.deprecated_error_message) -} - -// bool interruptible = 8; -inline bool TaskMetadata::has_interruptible() const { - return interruptible_value_case() == kInterruptible; -} -inline void TaskMetadata::set_has_interruptible() { - _oneof_case_[0] = kInterruptible; -} -inline void TaskMetadata::clear_interruptible() { - if (has_interruptible()) { - interruptible_value_.interruptible_ = false; - clear_has_interruptible_value(); - } -} -inline bool TaskMetadata::interruptible() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.interruptible) - if (has_interruptible()) { - return interruptible_value_.interruptible_; - } - return false; -} -inline void TaskMetadata::set_interruptible(bool value) { - if (!has_interruptible()) { - clear_interruptible_value(); - set_has_interruptible(); - } - interruptible_value_.interruptible_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.interruptible) -} - -// bool cache_serializable = 9; -inline void TaskMetadata::clear_cache_serializable() { - cache_serializable_ = false; -} -inline bool TaskMetadata::cache_serializable() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.cache_serializable) - return cache_serializable_; -} -inline void TaskMetadata::set_cache_serializable(bool value) { - - cache_serializable_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.cache_serializable) -} - -// bool generates_deck = 10; -inline void TaskMetadata::clear_generates_deck() { - generates_deck_ = false; -} -inline bool TaskMetadata::generates_deck() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.generates_deck) - return generates_deck_; -} -inline void TaskMetadata::set_generates_deck(bool value) { - - generates_deck_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.generates_deck) -} - -// map tags = 11; -inline int TaskMetadata::tags_size() const { - return tags_.size(); -} -inline void TaskMetadata::clear_tags() { - tags_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -TaskMetadata::tags() const { - // @@protoc_insertion_point(field_map:flyteidl.core.TaskMetadata.tags) - return tags_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -TaskMetadata::mutable_tags() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.TaskMetadata.tags) - return tags_.MutableMap(); -} - -// string pod_template_name = 12; -inline void TaskMetadata::clear_pod_template_name() { - pod_template_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskMetadata::pod_template_name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.pod_template_name) - return pod_template_name_.GetNoArena(); -} -inline void TaskMetadata::set_pod_template_name(const ::std::string& value) { - - pod_template_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.pod_template_name) -} -#if LANG_CXX11 -inline void TaskMetadata::set_pod_template_name(::std::string&& value) { - - pod_template_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.TaskMetadata.pod_template_name) -} -#endif -inline void TaskMetadata::set_pod_template_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - pod_template_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TaskMetadata.pod_template_name) -} -inline void TaskMetadata::set_pod_template_name(const char* value, size_t size) { - - pod_template_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TaskMetadata.pod_template_name) -} -inline ::std::string* TaskMetadata::mutable_pod_template_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskMetadata.pod_template_name) - return pod_template_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskMetadata::release_pod_template_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskMetadata.pod_template_name) - - return pod_template_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskMetadata::set_allocated_pod_template_name(::std::string* pod_template_name) { - if (pod_template_name != nullptr) { - - } else { - - } - pod_template_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pod_template_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskMetadata.pod_template_name) -} - -// repeated string cache_ignore_input_vars = 13; -inline int TaskMetadata::cache_ignore_input_vars_size() const { - return cache_ignore_input_vars_.size(); -} -inline void TaskMetadata::clear_cache_ignore_input_vars() { - cache_ignore_input_vars_.Clear(); -} -inline const ::std::string& TaskMetadata::cache_ignore_input_vars(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskMetadata.cache_ignore_input_vars) - return cache_ignore_input_vars_.Get(index); -} -inline ::std::string* TaskMetadata::mutable_cache_ignore_input_vars(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskMetadata.cache_ignore_input_vars) - return cache_ignore_input_vars_.Mutable(index); -} -inline void TaskMetadata::set_cache_ignore_input_vars(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.cache_ignore_input_vars) - cache_ignore_input_vars_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void TaskMetadata::set_cache_ignore_input_vars(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.TaskMetadata.cache_ignore_input_vars) - cache_ignore_input_vars_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void TaskMetadata::set_cache_ignore_input_vars(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - cache_ignore_input_vars_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TaskMetadata.cache_ignore_input_vars) -} -inline void TaskMetadata::set_cache_ignore_input_vars(int index, const char* value, size_t size) { - cache_ignore_input_vars_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TaskMetadata.cache_ignore_input_vars) -} -inline ::std::string* TaskMetadata::add_cache_ignore_input_vars() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.core.TaskMetadata.cache_ignore_input_vars) - return cache_ignore_input_vars_.Add(); -} -inline void TaskMetadata::add_cache_ignore_input_vars(const ::std::string& value) { - cache_ignore_input_vars_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.core.TaskMetadata.cache_ignore_input_vars) -} -#if LANG_CXX11 -inline void TaskMetadata::add_cache_ignore_input_vars(::std::string&& value) { - cache_ignore_input_vars_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.core.TaskMetadata.cache_ignore_input_vars) -} -#endif -inline void TaskMetadata::add_cache_ignore_input_vars(const char* value) { - GOOGLE_DCHECK(value != nullptr); - cache_ignore_input_vars_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.core.TaskMetadata.cache_ignore_input_vars) -} -inline void TaskMetadata::add_cache_ignore_input_vars(const char* value, size_t size) { - cache_ignore_input_vars_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.core.TaskMetadata.cache_ignore_input_vars) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -TaskMetadata::cache_ignore_input_vars() const { - // @@protoc_insertion_point(field_list:flyteidl.core.TaskMetadata.cache_ignore_input_vars) - return cache_ignore_input_vars_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -TaskMetadata::mutable_cache_ignore_input_vars() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.TaskMetadata.cache_ignore_input_vars) - return &cache_ignore_input_vars_; -} - -inline bool TaskMetadata::has_interruptible_value() const { - return interruptible_value_case() != INTERRUPTIBLE_VALUE_NOT_SET; -} -inline void TaskMetadata::clear_has_interruptible_value() { - _oneof_case_[0] = INTERRUPTIBLE_VALUE_NOT_SET; -} -inline TaskMetadata::InterruptibleValueCase TaskMetadata::interruptible_value_case() const { - return TaskMetadata::InterruptibleValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// TaskTemplate - -// .flyteidl.core.Identifier id = 1; -inline bool TaskTemplate::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& TaskTemplate::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* TaskTemplate::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* TaskTemplate::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.id) - return id_; -} -inline void TaskTemplate::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.id) -} - -// string type = 2; -inline void TaskTemplate::clear_type() { - type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskTemplate::type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.type) - return type_.GetNoArena(); -} -inline void TaskTemplate::set_type(const ::std::string& value) { - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.TaskTemplate.type) -} -#if LANG_CXX11 -inline void TaskTemplate::set_type(::std::string&& value) { - - type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.TaskTemplate.type) -} -#endif -inline void TaskTemplate::set_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TaskTemplate.type) -} -inline void TaskTemplate::set_type(const char* value, size_t size) { - - type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TaskTemplate.type) -} -inline ::std::string* TaskTemplate::mutable_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.type) - return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskTemplate::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.type) - - return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskTemplate::set_allocated_type(::std::string* type) { - if (type != nullptr) { - - } else { - - } - type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.type) -} - -// .flyteidl.core.TaskMetadata metadata = 3; -inline bool TaskTemplate::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void TaskTemplate::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::core::TaskMetadata& TaskTemplate::metadata() const { - const ::flyteidl::core::TaskMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskMetadata_default_instance_); -} -inline ::flyteidl::core::TaskMetadata* TaskTemplate::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.metadata) - - ::flyteidl::core::TaskMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskMetadata* TaskTemplate::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.metadata) - return metadata_; -} -inline void TaskTemplate::set_allocated_metadata(::flyteidl::core::TaskMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.metadata) -} - -// .flyteidl.core.TypedInterface interface = 4; -inline bool TaskTemplate::has_interface() const { - return this != internal_default_instance() && interface_ != nullptr; -} -inline const ::flyteidl::core::TypedInterface& TaskTemplate::interface() const { - const ::flyteidl::core::TypedInterface* p = interface_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.interface) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TypedInterface_default_instance_); -} -inline ::flyteidl::core::TypedInterface* TaskTemplate::release_interface() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.interface) - - ::flyteidl::core::TypedInterface* temp = interface_; - interface_ = nullptr; - return temp; -} -inline ::flyteidl::core::TypedInterface* TaskTemplate::mutable_interface() { - - if (interface_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TypedInterface>(GetArenaNoVirtual()); - interface_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.interface) - return interface_; -} -inline void TaskTemplate::set_allocated_interface(::flyteidl::core::TypedInterface* interface) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(interface_); - } - if (interface) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - interface = ::google::protobuf::internal::GetOwnedMessage( - message_arena, interface, submessage_arena); - } - - } else { - - } - interface_ = interface; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.interface) -} - -// .google.protobuf.Struct custom = 5; -inline bool TaskTemplate::has_custom() const { - return this != internal_default_instance() && custom_ != nullptr; -} -inline const ::google::protobuf::Struct& TaskTemplate::custom() const { - const ::google::protobuf::Struct* p = custom_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.custom) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* TaskTemplate::release_custom() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.custom) - - ::google::protobuf::Struct* temp = custom_; - custom_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* TaskTemplate::mutable_custom() { - - if (custom_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - custom_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.custom) - return custom_; -} -inline void TaskTemplate::set_allocated_custom(::google::protobuf::Struct* custom) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(custom_); - } - if (custom) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(custom)->GetArena(); - if (message_arena != submessage_arena) { - custom = ::google::protobuf::internal::GetOwnedMessage( - message_arena, custom, submessage_arena); - } - - } else { - - } - custom_ = custom; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.custom) -} - -// .flyteidl.core.Container container = 6; -inline bool TaskTemplate::has_container() const { - return target_case() == kContainer; -} -inline void TaskTemplate::set_has_container() { - _oneof_case_[0] = kContainer; -} -inline void TaskTemplate::clear_container() { - if (has_container()) { - delete target_.container_; - clear_has_target(); - } -} -inline ::flyteidl::core::Container* TaskTemplate::release_container() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.container) - if (has_container()) { - clear_has_target(); - ::flyteidl::core::Container* temp = target_.container_; - target_.container_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Container& TaskTemplate::container() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.container) - return has_container() - ? *target_.container_ - : *reinterpret_cast< ::flyteidl::core::Container*>(&::flyteidl::core::_Container_default_instance_); -} -inline ::flyteidl::core::Container* TaskTemplate::mutable_container() { - if (!has_container()) { - clear_target(); - set_has_container(); - target_.container_ = CreateMaybeMessage< ::flyteidl::core::Container >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.container) - return target_.container_; -} - -// .flyteidl.core.K8sPod k8s_pod = 17; -inline bool TaskTemplate::has_k8s_pod() const { - return target_case() == kK8SPod; -} -inline void TaskTemplate::set_has_k8s_pod() { - _oneof_case_[0] = kK8SPod; -} -inline void TaskTemplate::clear_k8s_pod() { - if (has_k8s_pod()) { - delete target_.k8s_pod_; - clear_has_target(); - } -} -inline ::flyteidl::core::K8sPod* TaskTemplate::release_k8s_pod() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.k8s_pod) - if (has_k8s_pod()) { - clear_has_target(); - ::flyteidl::core::K8sPod* temp = target_.k8s_pod_; - target_.k8s_pod_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::K8sPod& TaskTemplate::k8s_pod() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.k8s_pod) - return has_k8s_pod() - ? *target_.k8s_pod_ - : *reinterpret_cast< ::flyteidl::core::K8sPod*>(&::flyteidl::core::_K8sPod_default_instance_); -} -inline ::flyteidl::core::K8sPod* TaskTemplate::mutable_k8s_pod() { - if (!has_k8s_pod()) { - clear_target(); - set_has_k8s_pod(); - target_.k8s_pod_ = CreateMaybeMessage< ::flyteidl::core::K8sPod >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.k8s_pod) - return target_.k8s_pod_; -} - -// .flyteidl.core.Sql sql = 18; -inline bool TaskTemplate::has_sql() const { - return target_case() == kSql; -} -inline void TaskTemplate::set_has_sql() { - _oneof_case_[0] = kSql; -} -inline void TaskTemplate::clear_sql() { - if (has_sql()) { - delete target_.sql_; - clear_has_target(); - } -} -inline ::flyteidl::core::Sql* TaskTemplate::release_sql() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.sql) - if (has_sql()) { - clear_has_target(); - ::flyteidl::core::Sql* temp = target_.sql_; - target_.sql_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Sql& TaskTemplate::sql() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.sql) - return has_sql() - ? *target_.sql_ - : *reinterpret_cast< ::flyteidl::core::Sql*>(&::flyteidl::core::_Sql_default_instance_); -} -inline ::flyteidl::core::Sql* TaskTemplate::mutable_sql() { - if (!has_sql()) { - clear_target(); - set_has_sql(); - target_.sql_ = CreateMaybeMessage< ::flyteidl::core::Sql >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.sql) - return target_.sql_; -} - -// int32 task_type_version = 7; -inline void TaskTemplate::clear_task_type_version() { - task_type_version_ = 0; -} -inline ::google::protobuf::int32 TaskTemplate::task_type_version() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.task_type_version) - return task_type_version_; -} -inline void TaskTemplate::set_task_type_version(::google::protobuf::int32 value) { - - task_type_version_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.TaskTemplate.task_type_version) -} - -// .flyteidl.core.SecurityContext security_context = 8; -inline bool TaskTemplate::has_security_context() const { - return this != internal_default_instance() && security_context_ != nullptr; -} -inline const ::flyteidl::core::SecurityContext& TaskTemplate::security_context() const { - const ::flyteidl::core::SecurityContext* p = security_context_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.security_context) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_SecurityContext_default_instance_); -} -inline ::flyteidl::core::SecurityContext* TaskTemplate::release_security_context() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.security_context) - - ::flyteidl::core::SecurityContext* temp = security_context_; - security_context_ = nullptr; - return temp; -} -inline ::flyteidl::core::SecurityContext* TaskTemplate::mutable_security_context() { - - if (security_context_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::SecurityContext>(GetArenaNoVirtual()); - security_context_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.security_context) - return security_context_; -} -inline void TaskTemplate::set_allocated_security_context(::flyteidl::core::SecurityContext* security_context) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(security_context_); - } - if (security_context) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - security_context = ::google::protobuf::internal::GetOwnedMessage( - message_arena, security_context, submessage_arena); - } - - } else { - - } - security_context_ = security_context; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.security_context) -} - -// .flyteidl.core.ExtendedResources extended_resources = 9; -inline bool TaskTemplate::has_extended_resources() const { - return this != internal_default_instance() && extended_resources_ != nullptr; -} -inline void TaskTemplate::clear_extended_resources() { - if (GetArenaNoVirtual() == nullptr && extended_resources_ != nullptr) { - delete extended_resources_; - } - extended_resources_ = nullptr; -} -inline const ::flyteidl::core::ExtendedResources& TaskTemplate::extended_resources() const { - const ::flyteidl::core::ExtendedResources* p = extended_resources_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskTemplate.extended_resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ExtendedResources_default_instance_); -} -inline ::flyteidl::core::ExtendedResources* TaskTemplate::release_extended_resources() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskTemplate.extended_resources) - - ::flyteidl::core::ExtendedResources* temp = extended_resources_; - extended_resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::ExtendedResources* TaskTemplate::mutable_extended_resources() { - - if (extended_resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ExtendedResources>(GetArenaNoVirtual()); - extended_resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskTemplate.extended_resources) - return extended_resources_; -} -inline void TaskTemplate::set_allocated_extended_resources(::flyteidl::core::ExtendedResources* extended_resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete extended_resources_; - } - if (extended_resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - extended_resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, extended_resources, submessage_arena); - } - - } else { - - } - extended_resources_ = extended_resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskTemplate.extended_resources) -} - -// map config = 16; -inline int TaskTemplate::config_size() const { - return config_.size(); -} -inline void TaskTemplate::clear_config() { - config_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -TaskTemplate::config() const { - // @@protoc_insertion_point(field_map:flyteidl.core.TaskTemplate.config) - return config_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -TaskTemplate::mutable_config() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.TaskTemplate.config) - return config_.MutableMap(); -} - -inline bool TaskTemplate::has_target() const { - return target_case() != TARGET_NOT_SET; -} -inline void TaskTemplate::clear_has_target() { - _oneof_case_[0] = TARGET_NOT_SET; -} -inline TaskTemplate::TargetCase TaskTemplate::target_case() const { - return TaskTemplate::TargetCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ContainerPort - -// uint32 container_port = 1; -inline void ContainerPort::clear_container_port() { - container_port_ = 0u; -} -inline ::google::protobuf::uint32 ContainerPort::container_port() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ContainerPort.container_port) - return container_port_; -} -inline void ContainerPort::set_container_port(::google::protobuf::uint32 value) { - - container_port_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ContainerPort.container_port) -} - -// ------------------------------------------------------------------- - -// Container - -// string image = 1; -inline void Container::clear_image() { - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Container::image() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Container.image) - return image_.GetNoArena(); -} -inline void Container::set_image(const ::std::string& value) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Container.image) -} -#if LANG_CXX11 -inline void Container::set_image(::std::string&& value) { - - image_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Container.image) -} -#endif -inline void Container::set_image(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Container.image) -} -inline void Container::set_image(const char* value, size_t size) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Container.image) -} -inline ::std::string* Container::mutable_image() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.image) - return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Container::release_image() { - // @@protoc_insertion_point(field_release:flyteidl.core.Container.image) - - return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Container::set_allocated_image(::std::string* image) { - if (image != nullptr) { - - } else { - - } - image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Container.image) -} - -// repeated string command = 2; -inline int Container::command_size() const { - return command_.size(); -} -inline void Container::clear_command() { - command_.Clear(); -} -inline const ::std::string& Container::command(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Container.command) - return command_.Get(index); -} -inline ::std::string* Container::mutable_command(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.command) - return command_.Mutable(index); -} -inline void Container::set_command(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Container.command) - command_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void Container::set_command(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Container.command) - command_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void Container::set_command(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - command_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Container.command) -} -inline void Container::set_command(int index, const char* value, size_t size) { - command_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Container.command) -} -inline ::std::string* Container::add_command() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.core.Container.command) - return command_.Add(); -} -inline void Container::add_command(const ::std::string& value) { - command_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.core.Container.command) -} -#if LANG_CXX11 -inline void Container::add_command(::std::string&& value) { - command_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.core.Container.command) -} -#endif -inline void Container::add_command(const char* value) { - GOOGLE_DCHECK(value != nullptr); - command_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.core.Container.command) -} -inline void Container::add_command(const char* value, size_t size) { - command_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.core.Container.command) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -Container::command() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Container.command) - return command_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -Container::mutable_command() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Container.command) - return &command_; -} - -// repeated string args = 3; -inline int Container::args_size() const { - return args_.size(); -} -inline void Container::clear_args() { - args_.Clear(); -} -inline const ::std::string& Container::args(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Container.args) - return args_.Get(index); -} -inline ::std::string* Container::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.args) - return args_.Mutable(index); -} -inline void Container::set_args(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Container.args) - args_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void Container::set_args(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Container.args) - args_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void Container::set_args(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - args_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Container.args) -} -inline void Container::set_args(int index, const char* value, size_t size) { - args_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Container.args) -} -inline ::std::string* Container::add_args() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.core.Container.args) - return args_.Add(); -} -inline void Container::add_args(const ::std::string& value) { - args_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.core.Container.args) -} -#if LANG_CXX11 -inline void Container::add_args(::std::string&& value) { - args_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.core.Container.args) -} -#endif -inline void Container::add_args(const char* value) { - GOOGLE_DCHECK(value != nullptr); - args_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.core.Container.args) -} -inline void Container::add_args(const char* value, size_t size) { - args_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.core.Container.args) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -Container::args() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Container.args) - return args_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -Container::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Container.args) - return &args_; -} - -// .flyteidl.core.Resources resources = 4; -inline bool Container::has_resources() const { - return this != internal_default_instance() && resources_ != nullptr; -} -inline void Container::clear_resources() { - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; -} -inline const ::flyteidl::core::Resources& Container::resources() const { - const ::flyteidl::core::Resources* p = resources_; - // @@protoc_insertion_point(field_get:flyteidl.core.Container.resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Resources_default_instance_); -} -inline ::flyteidl::core::Resources* Container::release_resources() { - // @@protoc_insertion_point(field_release:flyteidl.core.Container.resources) - - ::flyteidl::core::Resources* temp = resources_; - resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::Resources* Container::mutable_resources() { - - if (resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); - resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.resources) - return resources_; -} -inline void Container::set_allocated_resources(::flyteidl::core::Resources* resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete resources_; - } - if (resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resources, submessage_arena); - } - - } else { - - } - resources_ = resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Container.resources) -} - -// repeated .flyteidl.core.KeyValuePair env = 5; -inline int Container::env_size() const { - return env_.size(); -} -inline ::flyteidl::core::KeyValuePair* Container::mutable_env(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.env) - return env_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* -Container::mutable_env() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Container.env) - return &env_; -} -inline const ::flyteidl::core::KeyValuePair& Container::env(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Container.env) - return env_.Get(index); -} -inline ::flyteidl::core::KeyValuePair* Container::add_env() { - // @@protoc_insertion_point(field_add:flyteidl.core.Container.env) - return env_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& -Container::env() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Container.env) - return env_; -} - -// repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; -inline int Container::config_size() const { - return config_.size(); -} -inline ::flyteidl::core::KeyValuePair* Container::mutable_config(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.config) - return config_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* -Container::mutable_config() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Container.config) - return &config_; -} -inline const ::flyteidl::core::KeyValuePair& Container::config(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Container.config) - return config_.Get(index); -} -inline ::flyteidl::core::KeyValuePair* Container::add_config() { - // @@protoc_insertion_point(field_add:flyteidl.core.Container.config) - return config_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& -Container::config() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Container.config) - return config_; -} - -// repeated .flyteidl.core.ContainerPort ports = 7; -inline int Container::ports_size() const { - return ports_.size(); -} -inline void Container::clear_ports() { - ports_.Clear(); -} -inline ::flyteidl::core::ContainerPort* Container::mutable_ports(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.ports) - return ports_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ContainerPort >* -Container::mutable_ports() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Container.ports) - return &ports_; -} -inline const ::flyteidl::core::ContainerPort& Container::ports(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Container.ports) - return ports_.Get(index); -} -inline ::flyteidl::core::ContainerPort* Container::add_ports() { - // @@protoc_insertion_point(field_add:flyteidl.core.Container.ports) - return ports_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ContainerPort >& -Container::ports() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Container.ports) - return ports_; -} - -// .flyteidl.core.DataLoadingConfig data_config = 9; -inline bool Container::has_data_config() const { - return this != internal_default_instance() && data_config_ != nullptr; -} -inline void Container::clear_data_config() { - if (GetArenaNoVirtual() == nullptr && data_config_ != nullptr) { - delete data_config_; - } - data_config_ = nullptr; -} -inline const ::flyteidl::core::DataLoadingConfig& Container::data_config() const { - const ::flyteidl::core::DataLoadingConfig* p = data_config_; - // @@protoc_insertion_point(field_get:flyteidl.core.Container.data_config) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_DataLoadingConfig_default_instance_); -} -inline ::flyteidl::core::DataLoadingConfig* Container::release_data_config() { - // @@protoc_insertion_point(field_release:flyteidl.core.Container.data_config) - - ::flyteidl::core::DataLoadingConfig* temp = data_config_; - data_config_ = nullptr; - return temp; -} -inline ::flyteidl::core::DataLoadingConfig* Container::mutable_data_config() { - - if (data_config_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::DataLoadingConfig>(GetArenaNoVirtual()); - data_config_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Container.data_config) - return data_config_; -} -inline void Container::set_allocated_data_config(::flyteidl::core::DataLoadingConfig* data_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete data_config_; - } - if (data_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - data_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, data_config, submessage_arena); - } - - } else { - - } - data_config_ = data_config; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Container.data_config) -} - -// .flyteidl.core.Container.Architecture architecture = 10; -inline void Container::clear_architecture() { - architecture_ = 0; -} -inline ::flyteidl::core::Container_Architecture Container::architecture() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Container.architecture) - return static_cast< ::flyteidl::core::Container_Architecture >(architecture_); -} -inline void Container::set_architecture(::flyteidl::core::Container_Architecture value) { - - architecture_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Container.architecture) -} - -// ------------------------------------------------------------------- - -// IOStrategy - -// .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; -inline void IOStrategy::clear_download_mode() { - download_mode_ = 0; -} -inline ::flyteidl::core::IOStrategy_DownloadMode IOStrategy::download_mode() const { - // @@protoc_insertion_point(field_get:flyteidl.core.IOStrategy.download_mode) - return static_cast< ::flyteidl::core::IOStrategy_DownloadMode >(download_mode_); -} -inline void IOStrategy::set_download_mode(::flyteidl::core::IOStrategy_DownloadMode value) { - - download_mode_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.IOStrategy.download_mode) -} - -// .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; -inline void IOStrategy::clear_upload_mode() { - upload_mode_ = 0; -} -inline ::flyteidl::core::IOStrategy_UploadMode IOStrategy::upload_mode() const { - // @@protoc_insertion_point(field_get:flyteidl.core.IOStrategy.upload_mode) - return static_cast< ::flyteidl::core::IOStrategy_UploadMode >(upload_mode_); -} -inline void IOStrategy::set_upload_mode(::flyteidl::core::IOStrategy_UploadMode value) { - - upload_mode_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.IOStrategy.upload_mode) -} - -// ------------------------------------------------------------------- - -// DataLoadingConfig - -// bool enabled = 1; -inline void DataLoadingConfig::clear_enabled() { - enabled_ = false; -} -inline bool DataLoadingConfig::enabled() const { - // @@protoc_insertion_point(field_get:flyteidl.core.DataLoadingConfig.enabled) - return enabled_; -} -inline void DataLoadingConfig::set_enabled(bool value) { - - enabled_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.DataLoadingConfig.enabled) -} - -// string input_path = 2; -inline void DataLoadingConfig::clear_input_path() { - input_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DataLoadingConfig::input_path() const { - // @@protoc_insertion_point(field_get:flyteidl.core.DataLoadingConfig.input_path) - return input_path_.GetNoArena(); -} -inline void DataLoadingConfig::set_input_path(const ::std::string& value) { - - input_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.DataLoadingConfig.input_path) -} -#if LANG_CXX11 -inline void DataLoadingConfig::set_input_path(::std::string&& value) { - - input_path_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.DataLoadingConfig.input_path) -} -#endif -inline void DataLoadingConfig::set_input_path(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - input_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.DataLoadingConfig.input_path) -} -inline void DataLoadingConfig::set_input_path(const char* value, size_t size) { - - input_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.DataLoadingConfig.input_path) -} -inline ::std::string* DataLoadingConfig::mutable_input_path() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.DataLoadingConfig.input_path) - return input_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DataLoadingConfig::release_input_path() { - // @@protoc_insertion_point(field_release:flyteidl.core.DataLoadingConfig.input_path) - - return input_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DataLoadingConfig::set_allocated_input_path(::std::string* input_path) { - if (input_path != nullptr) { - - } else { - - } - input_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), input_path); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.DataLoadingConfig.input_path) -} - -// string output_path = 3; -inline void DataLoadingConfig::clear_output_path() { - output_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DataLoadingConfig::output_path() const { - // @@protoc_insertion_point(field_get:flyteidl.core.DataLoadingConfig.output_path) - return output_path_.GetNoArena(); -} -inline void DataLoadingConfig::set_output_path(const ::std::string& value) { - - output_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.DataLoadingConfig.output_path) -} -#if LANG_CXX11 -inline void DataLoadingConfig::set_output_path(::std::string&& value) { - - output_path_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.DataLoadingConfig.output_path) -} -#endif -inline void DataLoadingConfig::set_output_path(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - output_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.DataLoadingConfig.output_path) -} -inline void DataLoadingConfig::set_output_path(const char* value, size_t size) { - - output_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.DataLoadingConfig.output_path) -} -inline ::std::string* DataLoadingConfig::mutable_output_path() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.DataLoadingConfig.output_path) - return output_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DataLoadingConfig::release_output_path() { - // @@protoc_insertion_point(field_release:flyteidl.core.DataLoadingConfig.output_path) - - return output_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DataLoadingConfig::set_allocated_output_path(::std::string* output_path) { - if (output_path != nullptr) { - - } else { - - } - output_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_path); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.DataLoadingConfig.output_path) -} - -// .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; -inline void DataLoadingConfig::clear_format() { - format_ = 0; -} -inline ::flyteidl::core::DataLoadingConfig_LiteralMapFormat DataLoadingConfig::format() const { - // @@protoc_insertion_point(field_get:flyteidl.core.DataLoadingConfig.format) - return static_cast< ::flyteidl::core::DataLoadingConfig_LiteralMapFormat >(format_); -} -inline void DataLoadingConfig::set_format(::flyteidl::core::DataLoadingConfig_LiteralMapFormat value) { - - format_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.DataLoadingConfig.format) -} - -// .flyteidl.core.IOStrategy io_strategy = 5; -inline bool DataLoadingConfig::has_io_strategy() const { - return this != internal_default_instance() && io_strategy_ != nullptr; -} -inline void DataLoadingConfig::clear_io_strategy() { - if (GetArenaNoVirtual() == nullptr && io_strategy_ != nullptr) { - delete io_strategy_; - } - io_strategy_ = nullptr; -} -inline const ::flyteidl::core::IOStrategy& DataLoadingConfig::io_strategy() const { - const ::flyteidl::core::IOStrategy* p = io_strategy_; - // @@protoc_insertion_point(field_get:flyteidl.core.DataLoadingConfig.io_strategy) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_IOStrategy_default_instance_); -} -inline ::flyteidl::core::IOStrategy* DataLoadingConfig::release_io_strategy() { - // @@protoc_insertion_point(field_release:flyteidl.core.DataLoadingConfig.io_strategy) - - ::flyteidl::core::IOStrategy* temp = io_strategy_; - io_strategy_ = nullptr; - return temp; -} -inline ::flyteidl::core::IOStrategy* DataLoadingConfig::mutable_io_strategy() { - - if (io_strategy_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::IOStrategy>(GetArenaNoVirtual()); - io_strategy_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.DataLoadingConfig.io_strategy) - return io_strategy_; -} -inline void DataLoadingConfig::set_allocated_io_strategy(::flyteidl::core::IOStrategy* io_strategy) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete io_strategy_; - } - if (io_strategy) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - io_strategy = ::google::protobuf::internal::GetOwnedMessage( - message_arena, io_strategy, submessage_arena); - } - - } else { - - } - io_strategy_ = io_strategy; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.DataLoadingConfig.io_strategy) -} - -// ------------------------------------------------------------------- - -// K8sPod - -// .flyteidl.core.K8sObjectMetadata metadata = 1; -inline bool K8sPod::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void K8sPod::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::core::K8sObjectMetadata& K8sPod::metadata() const { - const ::flyteidl::core::K8sObjectMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.core.K8sPod.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_K8sObjectMetadata_default_instance_); -} -inline ::flyteidl::core::K8sObjectMetadata* K8sPod::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.core.K8sPod.metadata) - - ::flyteidl::core::K8sObjectMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::core::K8sObjectMetadata* K8sPod::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::K8sObjectMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.K8sPod.metadata) - return metadata_; -} -inline void K8sPod::set_allocated_metadata(::flyteidl::core::K8sObjectMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.K8sPod.metadata) -} - -// .google.protobuf.Struct pod_spec = 2; -inline bool K8sPod::has_pod_spec() const { - return this != internal_default_instance() && pod_spec_ != nullptr; -} -inline const ::google::protobuf::Struct& K8sPod::pod_spec() const { - const ::google::protobuf::Struct* p = pod_spec_; - // @@protoc_insertion_point(field_get:flyteidl.core.K8sPod.pod_spec) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* K8sPod::release_pod_spec() { - // @@protoc_insertion_point(field_release:flyteidl.core.K8sPod.pod_spec) - - ::google::protobuf::Struct* temp = pod_spec_; - pod_spec_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* K8sPod::mutable_pod_spec() { - - if (pod_spec_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - pod_spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.K8sPod.pod_spec) - return pod_spec_; -} -inline void K8sPod::set_allocated_pod_spec(::google::protobuf::Struct* pod_spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(pod_spec_); - } - if (pod_spec) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(pod_spec)->GetArena(); - if (message_arena != submessage_arena) { - pod_spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, pod_spec, submessage_arena); - } - - } else { - - } - pod_spec_ = pod_spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.K8sPod.pod_spec) -} - -// .flyteidl.core.DataLoadingConfig data_config = 3; -inline bool K8sPod::has_data_config() const { - return this != internal_default_instance() && data_config_ != nullptr; -} -inline void K8sPod::clear_data_config() { - if (GetArenaNoVirtual() == nullptr && data_config_ != nullptr) { - delete data_config_; - } - data_config_ = nullptr; -} -inline const ::flyteidl::core::DataLoadingConfig& K8sPod::data_config() const { - const ::flyteidl::core::DataLoadingConfig* p = data_config_; - // @@protoc_insertion_point(field_get:flyteidl.core.K8sPod.data_config) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_DataLoadingConfig_default_instance_); -} -inline ::flyteidl::core::DataLoadingConfig* K8sPod::release_data_config() { - // @@protoc_insertion_point(field_release:flyteidl.core.K8sPod.data_config) - - ::flyteidl::core::DataLoadingConfig* temp = data_config_; - data_config_ = nullptr; - return temp; -} -inline ::flyteidl::core::DataLoadingConfig* K8sPod::mutable_data_config() { - - if (data_config_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::DataLoadingConfig>(GetArenaNoVirtual()); - data_config_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.K8sPod.data_config) - return data_config_; -} -inline void K8sPod::set_allocated_data_config(::flyteidl::core::DataLoadingConfig* data_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete data_config_; - } - if (data_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - data_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, data_config, submessage_arena); - } - - } else { - - } - data_config_ = data_config; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.K8sPod.data_config) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// K8sObjectMetadata - -// map labels = 1; -inline int K8sObjectMetadata::labels_size() const { - return labels_.size(); -} -inline void K8sObjectMetadata::clear_labels() { - labels_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -K8sObjectMetadata::labels() const { - // @@protoc_insertion_point(field_map:flyteidl.core.K8sObjectMetadata.labels) - return labels_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -K8sObjectMetadata::mutable_labels() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.K8sObjectMetadata.labels) - return labels_.MutableMap(); -} - -// map annotations = 2; -inline int K8sObjectMetadata::annotations_size() const { - return annotations_.size(); -} -inline void K8sObjectMetadata::clear_annotations() { - annotations_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -K8sObjectMetadata::annotations() const { - // @@protoc_insertion_point(field_map:flyteidl.core.K8sObjectMetadata.annotations) - return annotations_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -K8sObjectMetadata::mutable_annotations() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.K8sObjectMetadata.annotations) - return annotations_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// Sql - -// string statement = 1; -inline void Sql::clear_statement() { - statement_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Sql::statement() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Sql.statement) - return statement_.GetNoArena(); -} -inline void Sql::set_statement(const ::std::string& value) { - - statement_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Sql.statement) -} -#if LANG_CXX11 -inline void Sql::set_statement(::std::string&& value) { - - statement_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Sql.statement) -} -#endif -inline void Sql::set_statement(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - statement_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Sql.statement) -} -inline void Sql::set_statement(const char* value, size_t size) { - - statement_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Sql.statement) -} -inline ::std::string* Sql::mutable_statement() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Sql.statement) - return statement_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Sql::release_statement() { - // @@protoc_insertion_point(field_release:flyteidl.core.Sql.statement) - - return statement_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Sql::set_allocated_statement(::std::string* statement) { - if (statement != nullptr) { - - } else { - - } - statement_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), statement); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Sql.statement) -} - -// .flyteidl.core.Sql.Dialect dialect = 2; -inline void Sql::clear_dialect() { - dialect_ = 0; -} -inline ::flyteidl::core::Sql_Dialect Sql::dialect() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Sql.dialect) - return static_cast< ::flyteidl::core::Sql_Dialect >(dialect_); -} -inline void Sql::set_dialect(::flyteidl::core::Sql_Dialect value) { - - dialect_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.Sql.dialect) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::Resources_ResourceName> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::Resources_ResourceName>() { - return ::flyteidl::core::Resources_ResourceName_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::RuntimeMetadata_RuntimeType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::RuntimeMetadata_RuntimeType>() { - return ::flyteidl::core::RuntimeMetadata_RuntimeType_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::Container_Architecture> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::Container_Architecture>() { - return ::flyteidl::core::Container_Architecture_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::IOStrategy_DownloadMode> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::IOStrategy_DownloadMode>() { - return ::flyteidl::core::IOStrategy_DownloadMode_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::IOStrategy_UploadMode> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::IOStrategy_UploadMode>() { - return ::flyteidl::core::IOStrategy_UploadMode_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::DataLoadingConfig_LiteralMapFormat> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::DataLoadingConfig_LiteralMapFormat>() { - return ::flyteidl::core::DataLoadingConfig_LiteralMapFormat_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::Sql_Dialect> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::Sql_Dialect>() { - return ::flyteidl::core::Sql_Dialect_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2ftasks_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/types.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/types.grpc.pb.cc deleted file mode 100644 index 8d9dc646c4..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/types.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/types.proto - -#include "flyteidl/core/types.pb.h" -#include "flyteidl/core/types.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/types.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/types.grpc.pb.h deleted file mode 100644 index 02aa993e49..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/types.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/types.proto -#ifndef GRPC_flyteidl_2fcore_2ftypes_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2ftypes_2eproto__INCLUDED - -#include "flyteidl/core/types.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2ftypes_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/types.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/types.pb.cc deleted file mode 100644 index 959fbc8858..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/types.pb.cc +++ /dev/null @@ -1,6043 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/types.proto - -#include "flyteidl/core/types.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_EnumType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_PromiseAttribute_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TypeAnnotation_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -namespace flyteidl { -namespace core { -class SchemaType_SchemaColumnDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SchemaType_SchemaColumn_default_instance_; -class SchemaTypeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SchemaType_default_instance_; -class StructuredDatasetType_DatasetColumnDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _StructuredDatasetType_DatasetColumn_default_instance_; -class StructuredDatasetTypeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _StructuredDatasetType_default_instance_; -class BlobTypeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _BlobType_default_instance_; -class EnumTypeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _EnumType_default_instance_; -class UnionTypeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _UnionType_default_instance_; -class TypeStructure_DataclassTypeEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TypeStructure_DataclassTypeEntry_DoNotUse_default_instance_; -class TypeStructureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TypeStructure_default_instance_; -class TypeAnnotationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TypeAnnotation_default_instance_; -class LiteralTypeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - int simple_; - const ::flyteidl::core::SchemaType* schema_; - const ::flyteidl::core::LiteralType* collection_type_; - const ::flyteidl::core::LiteralType* map_value_type_; - const ::flyteidl::core::BlobType* blob_; - const ::flyteidl::core::EnumType* enum_type_; - const ::flyteidl::core::StructuredDatasetType* structured_dataset_type_; - const ::flyteidl::core::UnionType* union_type_; -} _LiteralType_default_instance_; -class OutputReferenceDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _OutputReference_default_instance_; -class PromiseAttributeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr string_value_; - ::google::protobuf::int32 int_value_; -} _PromiseAttribute_default_instance_; -class ErrorDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Error_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsSchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_SchemaType_SchemaColumn_default_instance_; - new (ptr) ::flyteidl::core::SchemaType_SchemaColumn(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::SchemaType_SchemaColumn::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto}, {}}; - -static void InitDefaultsSchemaType_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_SchemaType_default_instance_; - new (ptr) ::flyteidl::core::SchemaType(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::SchemaType::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSchemaType_flyteidl_2fcore_2ftypes_2eproto}, { - &scc_info_SchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsBlobType_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_BlobType_default_instance_; - new (ptr) ::flyteidl::core::BlobType(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::BlobType::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsBlobType_flyteidl_2fcore_2ftypes_2eproto}, {}}; - -static void InitDefaultsEnumType_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_EnumType_default_instance_; - new (ptr) ::flyteidl::core::EnumType(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::EnumType::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_EnumType_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsEnumType_flyteidl_2fcore_2ftypes_2eproto}, {}}; - -static void InitDefaultsTypeAnnotation_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TypeAnnotation_default_instance_; - new (ptr) ::flyteidl::core::TypeAnnotation(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TypeAnnotation::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TypeAnnotation_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTypeAnnotation_flyteidl_2fcore_2ftypes_2eproto}, { - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base,}}; - -static void InitDefaultsLiteralType_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_StructuredDatasetType_DatasetColumn_default_instance_; - new (ptr) ::flyteidl::core::StructuredDatasetType_DatasetColumn(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_StructuredDatasetType_default_instance_; - new (ptr) ::flyteidl::core::StructuredDatasetType(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_UnionType_default_instance_; - new (ptr) ::flyteidl::core::UnionType(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_TypeStructure_DataclassTypeEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse(); - } - { - void* ptr = &::flyteidl::core::_TypeStructure_default_instance_; - new (ptr) ::flyteidl::core::TypeStructure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_LiteralType_default_instance_; - new (ptr) ::flyteidl::core::LiteralType(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::StructuredDatasetType_DatasetColumn::InitAsDefaultInstance(); - ::flyteidl::core::StructuredDatasetType::InitAsDefaultInstance(); - ::flyteidl::core::UnionType::InitAsDefaultInstance(); - ::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse::InitAsDefaultInstance(); - ::flyteidl::core::TypeStructure::InitAsDefaultInstance(); - ::flyteidl::core::LiteralType::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsLiteralType_flyteidl_2fcore_2ftypes_2eproto}, { - &scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_EnumType_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, - &scc_info_TypeAnnotation_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsOutputReference_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_OutputReference_default_instance_; - new (ptr) ::flyteidl::core::OutputReference(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::OutputReference::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_OutputReference_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsOutputReference_flyteidl_2fcore_2ftypes_2eproto}, { - &scc_info_PromiseAttribute_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsPromiseAttribute_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_PromiseAttribute_default_instance_; - new (ptr) ::flyteidl::core::PromiseAttribute(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::PromiseAttribute::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_PromiseAttribute_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPromiseAttribute_flyteidl_2fcore_2ftypes_2eproto}, {}}; - -static void InitDefaultsError_flyteidl_2fcore_2ftypes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Error_default_instance_; - new (ptr) ::flyteidl::core::Error(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Error::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Error_flyteidl_2fcore_2ftypes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsError_flyteidl_2fcore_2ftypes_2eproto}, {}}; - -void InitDefaults_flyteidl_2fcore_2ftypes_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_SchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_EnumType_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TypeAnnotation_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_OutputReference_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PromiseAttribute_flyteidl_2fcore_2ftypes_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Error_flyteidl_2fcore_2ftypes_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[14]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2ftypes_2eproto[3]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2ftypes_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2ftypes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SchemaType_SchemaColumn, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SchemaType_SchemaColumn, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SchemaType_SchemaColumn, type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SchemaType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SchemaType, columns_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType_DatasetColumn, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType_DatasetColumn, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType_DatasetColumn, literal_type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType, columns_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType, format_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType, external_schema_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::StructuredDatasetType, external_schema_bytes_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BlobType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BlobType, format_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BlobType, dimensionality_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::EnumType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::EnumType, values_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::UnionType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::UnionType, variants_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeStructure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeStructure, tag_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeStructure, dataclass_type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeAnnotation, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TypeAnnotation, annotations_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralType, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralType, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, simple_), - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, schema_), - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, collection_type_), - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, map_value_type_), - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, blob_), - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, enum_type_), - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, structured_dataset_type_), - offsetof(::flyteidl::core::LiteralTypeDefaultTypeInternal, union_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralType, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralType, annotation_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralType, structure_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::LiteralType, type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OutputReference, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OutputReference, node_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OutputReference, var_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::OutputReference, attr_path_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::PromiseAttribute, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::PromiseAttribute, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::PromiseAttributeDefaultTypeInternal, string_value_), - offsetof(::flyteidl::core::PromiseAttributeDefaultTypeInternal, int_value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::PromiseAttribute, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Error, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Error, failed_node_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Error, message_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::SchemaType_SchemaColumn)}, - { 7, -1, sizeof(::flyteidl::core::SchemaType)}, - { 13, -1, sizeof(::flyteidl::core::StructuredDatasetType_DatasetColumn)}, - { 20, -1, sizeof(::flyteidl::core::StructuredDatasetType)}, - { 29, -1, sizeof(::flyteidl::core::BlobType)}, - { 36, -1, sizeof(::flyteidl::core::EnumType)}, - { 42, -1, sizeof(::flyteidl::core::UnionType)}, - { 48, 55, sizeof(::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse)}, - { 57, -1, sizeof(::flyteidl::core::TypeStructure)}, - { 64, -1, sizeof(::flyteidl::core::TypeAnnotation)}, - { 70, -1, sizeof(::flyteidl::core::LiteralType)}, - { 87, -1, sizeof(::flyteidl::core::OutputReference)}, - { 95, -1, sizeof(::flyteidl::core::PromiseAttribute)}, - { 103, -1, sizeof(::flyteidl::core::Error)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_SchemaType_SchemaColumn_default_instance_), - reinterpret_cast(&::flyteidl::core::_SchemaType_default_instance_), - reinterpret_cast(&::flyteidl::core::_StructuredDatasetType_DatasetColumn_default_instance_), - reinterpret_cast(&::flyteidl::core::_StructuredDatasetType_default_instance_), - reinterpret_cast(&::flyteidl::core::_BlobType_default_instance_), - reinterpret_cast(&::flyteidl::core::_EnumType_default_instance_), - reinterpret_cast(&::flyteidl::core::_UnionType_default_instance_), - reinterpret_cast(&::flyteidl::core::_TypeStructure_DataclassTypeEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_TypeStructure_default_instance_), - reinterpret_cast(&::flyteidl::core::_TypeAnnotation_default_instance_), - reinterpret_cast(&::flyteidl::core::_LiteralType_default_instance_), - reinterpret_cast(&::flyteidl::core::_OutputReference_default_instance_), - reinterpret_cast(&::flyteidl::core::_PromiseAttribute_default_instance_), - reinterpret_cast(&::flyteidl::core::_Error_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2ftypes_2eproto, "flyteidl/core/types.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2ftypes_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2ftypes_2eproto, 14, file_level_enum_descriptors_flyteidl_2fcore_2ftypes_2eproto, file_level_service_descriptors_flyteidl_2fcore_2ftypes_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2ftypes_2eproto[] = - "\n\031flyteidl/core/types.proto\022\rflyteidl.co" - "re\032\034google/protobuf/struct.proto\"\214\002\n\nSch" - "emaType\0227\n\007columns\030\003 \003(\0132&.flyteidl.core" - ".SchemaType.SchemaColumn\032\304\001\n\014SchemaColum" - "n\022\014\n\004name\030\001 \001(\t\022E\n\004type\030\002 \001(\01627.flyteidl" - ".core.SchemaType.SchemaColumn.SchemaColu" - "mnType\"_\n\020SchemaColumnType\022\013\n\007INTEGER\020\000\022" - "\t\n\005FLOAT\020\001\022\n\n\006STRING\020\002\022\013\n\007BOOLEAN\020\003\022\014\n\010D" - "ATETIME\020\004\022\014\n\010DURATION\020\005\"\372\001\n\025StructuredDa" - "tasetType\022C\n\007columns\030\001 \003(\01322.flyteidl.co" - "re.StructuredDatasetType.DatasetColumn\022\016" - "\n\006format\030\002 \001(\t\022\034\n\024external_schema_type\030\003" - " \001(\t\022\035\n\025external_schema_bytes\030\004 \001(\014\032O\n\rD" - "atasetColumn\022\014\n\004name\030\001 \001(\t\0220\n\014literal_ty" - "pe\030\002 \001(\0132\032.flyteidl.core.LiteralType\"\217\001\n" - "\010BlobType\022\016\n\006format\030\001 \001(\t\022B\n\016dimensional" - "ity\030\002 \001(\0162*.flyteidl.core.BlobType.BlobD" - "imensionality\"/\n\022BlobDimensionality\022\n\n\006S" - "INGLE\020\000\022\r\n\tMULTIPART\020\001\"\032\n\010EnumType\022\016\n\006va" - "lues\030\001 \003(\t\"9\n\tUnionType\022,\n\010variants\030\001 \003(" - "\0132\032.flyteidl.core.LiteralType\"\267\001\n\rTypeSt" - "ructure\022\013\n\003tag\030\001 \001(\t\022G\n\016dataclass_type\030\002" - " \003(\0132/.flyteidl.core.TypeStructure.Datac" - "lassTypeEntry\032P\n\022DataclassTypeEntry\022\013\n\003k" - "ey\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.flyteidl.core." - "LiteralType:\0028\001\">\n\016TypeAnnotation\022,\n\013ann" - "otations\030\001 \001(\0132\027.google.protobuf.Struct\"" - "\273\004\n\013LiteralType\022+\n\006simple\030\001 \001(\0162\031.flytei" - "dl.core.SimpleTypeH\000\022+\n\006schema\030\002 \001(\0132\031.f" - "lyteidl.core.SchemaTypeH\000\0225\n\017collection_" - "type\030\003 \001(\0132\032.flyteidl.core.LiteralTypeH\000" - "\0224\n\016map_value_type\030\004 \001(\0132\032.flyteidl.core" - ".LiteralTypeH\000\022\'\n\004blob\030\005 \001(\0132\027.flyteidl." - "core.BlobTypeH\000\022,\n\tenum_type\030\007 \001(\0132\027.fly" - "teidl.core.EnumTypeH\000\022G\n\027structured_data" - "set_type\030\010 \001(\0132$.flyteidl.core.Structure" - "dDatasetTypeH\000\022.\n\nunion_type\030\n \001(\0132\030.fly" - "teidl.core.UnionTypeH\000\022)\n\010metadata\030\006 \001(\013" - "2\027.google.protobuf.Struct\0221\n\nannotation\030" - "\t \001(\0132\035.flyteidl.core.TypeAnnotation\022/\n\t" - "structure\030\013 \001(\0132\034.flyteidl.core.TypeStru" - "ctureB\006\n\004type\"c\n\017OutputReference\022\017\n\007node" - "_id\030\001 \001(\t\022\013\n\003var\030\002 \001(\t\0222\n\tattr_path\030\003 \003(" - "\0132\037.flyteidl.core.PromiseAttribute\"H\n\020Pr" - "omiseAttribute\022\026\n\014string_value\030\001 \001(\tH\000\022\023" - "\n\tint_value\030\002 \001(\005H\000B\007\n\005value\"0\n\005Error\022\026\n" - "\016failed_node_id\030\001 \001(\t\022\017\n\007message\030\002 \001(\t*\206" - "\001\n\nSimpleType\022\010\n\004NONE\020\000\022\013\n\007INTEGER\020\001\022\t\n\005" - "FLOAT\020\002\022\n\n\006STRING\020\003\022\013\n\007BOOLEAN\020\004\022\014\n\010DATE" - "TIME\020\005\022\014\n\010DURATION\020\006\022\n\n\006BINARY\020\007\022\t\n\005ERRO" - "R\020\010\022\n\n\006STRUCT\020\tB= 1900 -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::INTEGER; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::FLOAT; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::STRING; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::BOOLEAN; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::DATETIME; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::DURATION; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::SchemaColumnType_MIN; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::SchemaColumnType_MAX; -const int SchemaType_SchemaColumn::SchemaColumnType_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* BlobType_BlobDimensionality_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftypes_2eproto[1]; -} -bool BlobType_BlobDimensionality_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const BlobType_BlobDimensionality BlobType::SINGLE; -const BlobType_BlobDimensionality BlobType::MULTIPART; -const BlobType_BlobDimensionality BlobType::BlobDimensionality_MIN; -const BlobType_BlobDimensionality BlobType::BlobDimensionality_MAX; -const int BlobType::BlobDimensionality_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* SimpleType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return file_level_enum_descriptors_flyteidl_2fcore_2ftypes_2eproto[2]; -} -bool SimpleType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - return true; - default: - return false; - } -} - - -// =================================================================== - -void SchemaType_SchemaColumn::InitAsDefaultInstance() { -} -class SchemaType_SchemaColumn::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SchemaType_SchemaColumn::kNameFieldNumber; -const int SchemaType_SchemaColumn::kTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SchemaType_SchemaColumn::SchemaType_SchemaColumn() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.SchemaType.SchemaColumn) -} -SchemaType_SchemaColumn::SchemaType_SchemaColumn(const SchemaType_SchemaColumn& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - type_ = from.type_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.SchemaType.SchemaColumn) -} - -void SchemaType_SchemaColumn::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = 0; -} - -SchemaType_SchemaColumn::~SchemaType_SchemaColumn() { - // @@protoc_insertion_point(destructor:flyteidl.core.SchemaType.SchemaColumn) - SharedDtor(); -} - -void SchemaType_SchemaColumn::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void SchemaType_SchemaColumn::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SchemaType_SchemaColumn& SchemaType_SchemaColumn::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SchemaType_SchemaColumn_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void SchemaType_SchemaColumn::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.SchemaType.SchemaColumn) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SchemaType_SchemaColumn::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.SchemaType.SchemaColumn.name"); - object = msg->mutable_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; - } - // .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_type(static_cast<::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 SchemaType_SchemaColumn::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.SchemaType.SchemaColumn) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.SchemaType.SchemaColumn.name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_type(static_cast< ::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.SchemaType.SchemaColumn) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.SchemaType.SchemaColumn) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SchemaType_SchemaColumn::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.SchemaType.SchemaColumn) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SchemaType.SchemaColumn.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - if (this->type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->type(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.SchemaType.SchemaColumn) -} - -::google::protobuf::uint8* SchemaType_SchemaColumn::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.SchemaType.SchemaColumn) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SchemaType.SchemaColumn.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - if (this->type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->type(), 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.SchemaType.SchemaColumn) - return target; -} - -size_t SchemaType_SchemaColumn::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.SchemaType.SchemaColumn) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - if (this->type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SchemaType_SchemaColumn::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.SchemaType.SchemaColumn) - GOOGLE_DCHECK_NE(&from, this); - const SchemaType_SchemaColumn* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.SchemaType.SchemaColumn) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.SchemaType.SchemaColumn) - MergeFrom(*source); - } -} - -void SchemaType_SchemaColumn::MergeFrom(const SchemaType_SchemaColumn& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.SchemaType.SchemaColumn) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.type() != 0) { - set_type(from.type()); - } -} - -void SchemaType_SchemaColumn::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.SchemaType.SchemaColumn) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SchemaType_SchemaColumn::CopyFrom(const SchemaType_SchemaColumn& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.SchemaType.SchemaColumn) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SchemaType_SchemaColumn::IsInitialized() const { - return true; -} - -void SchemaType_SchemaColumn::Swap(SchemaType_SchemaColumn* other) { - if (other == this) return; - InternalSwap(other); -} -void SchemaType_SchemaColumn::InternalSwap(SchemaType_SchemaColumn* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(type_, other->type_); -} - -::google::protobuf::Metadata SchemaType_SchemaColumn::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SchemaType::InitAsDefaultInstance() { -} -class SchemaType::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SchemaType::kColumnsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SchemaType::SchemaType() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.SchemaType) -} -SchemaType::SchemaType(const SchemaType& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - columns_(from.columns_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.SchemaType) -} - -void SchemaType::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto.base); -} - -SchemaType::~SchemaType() { - // @@protoc_insertion_point(destructor:flyteidl.core.SchemaType) - SharedDtor(); -} - -void SchemaType::SharedDtor() { -} - -void SchemaType::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SchemaType& SchemaType::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SchemaType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void SchemaType::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.SchemaType) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - columns_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SchemaType::_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.SchemaType.SchemaColumn columns = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::SchemaType_SchemaColumn::_InternalParse; - object = msg->add_columns(); - 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) == 26 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool SchemaType::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.SchemaType) - 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.SchemaType.SchemaColumn columns = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_columns())); - } 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.SchemaType) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.SchemaType) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SchemaType::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.SchemaType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - for (unsigned int i = 0, - n = static_cast(this->columns_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->columns(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.SchemaType) -} - -::google::protobuf::uint8* SchemaType::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.SchemaType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - for (unsigned int i = 0, - n = static_cast(this->columns_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->columns(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.SchemaType) - return target; -} - -size_t SchemaType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.SchemaType) - 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.SchemaType.SchemaColumn columns = 3; - { - unsigned int count = static_cast(this->columns_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->columns(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SchemaType::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.SchemaType) - GOOGLE_DCHECK_NE(&from, this); - const SchemaType* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.SchemaType) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.SchemaType) - MergeFrom(*source); - } -} - -void SchemaType::MergeFrom(const SchemaType& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.SchemaType) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - columns_.MergeFrom(from.columns_); -} - -void SchemaType::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.SchemaType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SchemaType::CopyFrom(const SchemaType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.SchemaType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SchemaType::IsInitialized() const { - return true; -} - -void SchemaType::Swap(SchemaType* other) { - if (other == this) return; - InternalSwap(other); -} -void SchemaType::InternalSwap(SchemaType* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&columns_)->InternalSwap(CastToBase(&other->columns_)); -} - -::google::protobuf::Metadata SchemaType::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void StructuredDatasetType_DatasetColumn::InitAsDefaultInstance() { - ::flyteidl::core::_StructuredDatasetType_DatasetColumn_default_instance_._instance.get_mutable()->literal_type_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); -} -class StructuredDatasetType_DatasetColumn::HasBitSetters { - public: - static const ::flyteidl::core::LiteralType& literal_type(const StructuredDatasetType_DatasetColumn* msg); -}; - -const ::flyteidl::core::LiteralType& -StructuredDatasetType_DatasetColumn::HasBitSetters::literal_type(const StructuredDatasetType_DatasetColumn* msg) { - return *msg->literal_type_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int StructuredDatasetType_DatasetColumn::kNameFieldNumber; -const int StructuredDatasetType_DatasetColumn::kLiteralTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -StructuredDatasetType_DatasetColumn::StructuredDatasetType_DatasetColumn() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.StructuredDatasetType.DatasetColumn) -} -StructuredDatasetType_DatasetColumn::StructuredDatasetType_DatasetColumn(const StructuredDatasetType_DatasetColumn& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_literal_type()) { - literal_type_ = new ::flyteidl::core::LiteralType(*from.literal_type_); - } else { - literal_type_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.StructuredDatasetType.DatasetColumn) -} - -void StructuredDatasetType_DatasetColumn::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - literal_type_ = nullptr; -} - -StructuredDatasetType_DatasetColumn::~StructuredDatasetType_DatasetColumn() { - // @@protoc_insertion_point(destructor:flyteidl.core.StructuredDatasetType.DatasetColumn) - SharedDtor(); -} - -void StructuredDatasetType_DatasetColumn::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete literal_type_; -} - -void StructuredDatasetType_DatasetColumn::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const StructuredDatasetType_DatasetColumn& StructuredDatasetType_DatasetColumn::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void StructuredDatasetType_DatasetColumn::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && literal_type_ != nullptr) { - delete literal_type_; - } - literal_type_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* StructuredDatasetType_DatasetColumn::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.StructuredDatasetType.DatasetColumn.name"); - object = msg->mutable_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; - } - // .flyteidl.core.LiteralType literal_type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralType::_InternalParse; - object = msg->mutable_literal_type(); - 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 StructuredDatasetType_DatasetColumn::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.StructuredDatasetType.DatasetColumn) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.StructuredDatasetType.DatasetColumn.name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralType literal_type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_literal_type())); - } 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.StructuredDatasetType.DatasetColumn) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.StructuredDatasetType.DatasetColumn) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void StructuredDatasetType_DatasetColumn::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDatasetType.DatasetColumn.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // .flyteidl.core.LiteralType literal_type = 2; - if (this->has_literal_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::literal_type(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.StructuredDatasetType.DatasetColumn) -} - -::google::protobuf::uint8* StructuredDatasetType_DatasetColumn::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDatasetType.DatasetColumn.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // .flyteidl.core.LiteralType literal_type = 2; - if (this->has_literal_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::literal_type(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.StructuredDatasetType.DatasetColumn) - return target; -} - -size_t StructuredDatasetType_DatasetColumn::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // .flyteidl.core.LiteralType literal_type = 2; - if (this->has_literal_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *literal_type_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void StructuredDatasetType_DatasetColumn::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - GOOGLE_DCHECK_NE(&from, this); - const StructuredDatasetType_DatasetColumn* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.StructuredDatasetType.DatasetColumn) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.StructuredDatasetType.DatasetColumn) - MergeFrom(*source); - } -} - -void StructuredDatasetType_DatasetColumn::MergeFrom(const StructuredDatasetType_DatasetColumn& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_literal_type()) { - mutable_literal_type()->::flyteidl::core::LiteralType::MergeFrom(from.literal_type()); - } -} - -void StructuredDatasetType_DatasetColumn::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StructuredDatasetType_DatasetColumn::CopyFrom(const StructuredDatasetType_DatasetColumn& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.StructuredDatasetType.DatasetColumn) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructuredDatasetType_DatasetColumn::IsInitialized() const { - return true; -} - -void StructuredDatasetType_DatasetColumn::Swap(StructuredDatasetType_DatasetColumn* other) { - if (other == this) return; - InternalSwap(other); -} -void StructuredDatasetType_DatasetColumn::InternalSwap(StructuredDatasetType_DatasetColumn* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(literal_type_, other->literal_type_); -} - -::google::protobuf::Metadata StructuredDatasetType_DatasetColumn::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void StructuredDatasetType::InitAsDefaultInstance() { -} -class StructuredDatasetType::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int StructuredDatasetType::kColumnsFieldNumber; -const int StructuredDatasetType::kFormatFieldNumber; -const int StructuredDatasetType::kExternalSchemaTypeFieldNumber; -const int StructuredDatasetType::kExternalSchemaBytesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -StructuredDatasetType::StructuredDatasetType() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.StructuredDatasetType) -} -StructuredDatasetType::StructuredDatasetType(const StructuredDatasetType& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - columns_(from.columns_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.format().size() > 0) { - format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_); - } - external_schema_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.external_schema_type().size() > 0) { - external_schema_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_schema_type_); - } - external_schema_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.external_schema_bytes().size() > 0) { - external_schema_bytes_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_schema_bytes_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.StructuredDatasetType) -} - -void StructuredDatasetType::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - external_schema_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - external_schema_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -StructuredDatasetType::~StructuredDatasetType() { - // @@protoc_insertion_point(destructor:flyteidl.core.StructuredDatasetType) - SharedDtor(); -} - -void StructuredDatasetType::SharedDtor() { - format_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - external_schema_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - external_schema_bytes_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void StructuredDatasetType::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const StructuredDatasetType& StructuredDatasetType::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void StructuredDatasetType::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.StructuredDatasetType) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - columns_.Clear(); - format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - external_schema_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - external_schema_bytes_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* StructuredDatasetType::_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.StructuredDatasetType.DatasetColumn columns = 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::StructuredDatasetType_DatasetColumn::_InternalParse; - object = msg->add_columns(); - 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; - } - // string format = 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.StructuredDatasetType.format"); - object = msg->mutable_format(); - 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 external_schema_type = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.StructuredDatasetType.external_schema_type"); - object = msg->mutable_external_schema_type(); - 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; - } - // bytes external_schema_bytes = 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); - object = msg->mutable_external_schema_bytes(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(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 StructuredDatasetType::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.StructuredDatasetType) - 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.StructuredDatasetType.DatasetColumn columns = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_columns())); - } else { - goto handle_unusual; - } - break; - } - - // string format = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_format())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->format().data(), static_cast(this->format().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.StructuredDatasetType.format")); - } else { - goto handle_unusual; - } - break; - } - - // string external_schema_type = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_external_schema_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->external_schema_type().data(), static_cast(this->external_schema_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.StructuredDatasetType.external_schema_type")); - } else { - goto handle_unusual; - } - break; - } - - // bytes external_schema_bytes = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_external_schema_bytes())); - } 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.StructuredDatasetType) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.StructuredDatasetType) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void StructuredDatasetType::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.StructuredDatasetType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - for (unsigned int i = 0, - n = static_cast(this->columns_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->columns(static_cast(i)), - output); - } - - // string format = 2; - if (this->format().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->format().data(), static_cast(this->format().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDatasetType.format"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->format(), output); - } - - // string external_schema_type = 3; - if (this->external_schema_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->external_schema_type().data(), static_cast(this->external_schema_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDatasetType.external_schema_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->external_schema_type(), output); - } - - // bytes external_schema_bytes = 4; - if (this->external_schema_bytes().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 4, this->external_schema_bytes(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.StructuredDatasetType) -} - -::google::protobuf::uint8* StructuredDatasetType::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.StructuredDatasetType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - for (unsigned int i = 0, - n = static_cast(this->columns_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->columns(static_cast(i)), target); - } - - // string format = 2; - if (this->format().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->format().data(), static_cast(this->format().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDatasetType.format"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->format(), target); - } - - // string external_schema_type = 3; - if (this->external_schema_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->external_schema_type().data(), static_cast(this->external_schema_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.StructuredDatasetType.external_schema_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->external_schema_type(), target); - } - - // bytes external_schema_bytes = 4; - if (this->external_schema_bytes().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 4, this->external_schema_bytes(), 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.StructuredDatasetType) - return target; -} - -size_t StructuredDatasetType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.StructuredDatasetType) - 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.StructuredDatasetType.DatasetColumn columns = 1; - { - unsigned int count = static_cast(this->columns_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->columns(static_cast(i))); - } - } - - // string format = 2; - if (this->format().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->format()); - } - - // string external_schema_type = 3; - if (this->external_schema_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->external_schema_type()); - } - - // bytes external_schema_bytes = 4; - if (this->external_schema_bytes().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->external_schema_bytes()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void StructuredDatasetType::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.StructuredDatasetType) - GOOGLE_DCHECK_NE(&from, this); - const StructuredDatasetType* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.StructuredDatasetType) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.StructuredDatasetType) - MergeFrom(*source); - } -} - -void StructuredDatasetType::MergeFrom(const StructuredDatasetType& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.StructuredDatasetType) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - columns_.MergeFrom(from.columns_); - if (from.format().size() > 0) { - - format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_); - } - if (from.external_schema_type().size() > 0) { - - external_schema_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_schema_type_); - } - if (from.external_schema_bytes().size() > 0) { - - external_schema_bytes_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_schema_bytes_); - } -} - -void StructuredDatasetType::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.StructuredDatasetType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StructuredDatasetType::CopyFrom(const StructuredDatasetType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.StructuredDatasetType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StructuredDatasetType::IsInitialized() const { - return true; -} - -void StructuredDatasetType::Swap(StructuredDatasetType* other) { - if (other == this) return; - InternalSwap(other); -} -void StructuredDatasetType::InternalSwap(StructuredDatasetType* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&columns_)->InternalSwap(CastToBase(&other->columns_)); - format_.Swap(&other->format_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - external_schema_type_.Swap(&other->external_schema_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - external_schema_bytes_.Swap(&other->external_schema_bytes_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata StructuredDatasetType::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void BlobType::InitAsDefaultInstance() { -} -class BlobType::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BlobType::kFormatFieldNumber; -const int BlobType::kDimensionalityFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BlobType::BlobType() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.BlobType) -} -BlobType::BlobType(const BlobType& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.format().size() > 0) { - format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_); - } - dimensionality_ = from.dimensionality_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.BlobType) -} - -void BlobType::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto.base); - format_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dimensionality_ = 0; -} - -BlobType::~BlobType() { - // @@protoc_insertion_point(destructor:flyteidl.core.BlobType) - SharedDtor(); -} - -void BlobType::SharedDtor() { - format_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void BlobType::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const BlobType& BlobType::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_BlobType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void BlobType::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.BlobType) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dimensionality_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* BlobType::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string format = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.BlobType.format"); - object = msg->mutable_format(); - 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.BlobType.BlobDimensionality dimensionality = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_dimensionality(static_cast<::flyteidl::core::BlobType_BlobDimensionality>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 BlobType::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.BlobType) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string format = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_format())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->format().data(), static_cast(this->format().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.BlobType.format")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_dimensionality(static_cast< ::flyteidl::core::BlobType_BlobDimensionality >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.BlobType) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.BlobType) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void BlobType::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.BlobType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string format = 1; - if (this->format().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->format().data(), static_cast(this->format().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.BlobType.format"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->format(), output); - } - - // .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - if (this->dimensionality() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->dimensionality(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.BlobType) -} - -::google::protobuf::uint8* BlobType::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.BlobType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string format = 1; - if (this->format().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->format().data(), static_cast(this->format().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.BlobType.format"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->format(), target); - } - - // .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - if (this->dimensionality() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->dimensionality(), 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.BlobType) - return target; -} - -size_t BlobType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.BlobType) - 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 format = 1; - if (this->format().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->format()); - } - - // .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - if (this->dimensionality() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->dimensionality()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void BlobType::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.BlobType) - GOOGLE_DCHECK_NE(&from, this); - const BlobType* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.BlobType) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.BlobType) - MergeFrom(*source); - } -} - -void BlobType::MergeFrom(const BlobType& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.BlobType) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.format().size() > 0) { - - format_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.format_); - } - if (from.dimensionality() != 0) { - set_dimensionality(from.dimensionality()); - } -} - -void BlobType::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.BlobType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BlobType::CopyFrom(const BlobType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.BlobType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BlobType::IsInitialized() const { - return true; -} - -void BlobType::Swap(BlobType* other) { - if (other == this) return; - InternalSwap(other); -} -void BlobType::InternalSwap(BlobType* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - format_.Swap(&other->format_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(dimensionality_, other->dimensionality_); -} - -::google::protobuf::Metadata BlobType::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void EnumType::InitAsDefaultInstance() { -} -class EnumType::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int EnumType::kValuesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -EnumType::EnumType() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.EnumType) -} -EnumType::EnumType(const EnumType& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - values_(from.values_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.EnumType) -} - -void EnumType::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_EnumType_flyteidl_2fcore_2ftypes_2eproto.base); -} - -EnumType::~EnumType() { - // @@protoc_insertion_point(destructor:flyteidl.core.EnumType) - SharedDtor(); -} - -void EnumType::SharedDtor() { -} - -void EnumType::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EnumType& EnumType::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_EnumType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void EnumType::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.EnumType) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - values_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* EnumType::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string values = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.EnumType.values"); - object = msg->add_values(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool EnumType::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.EnumType) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string values = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_values())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->values(this->values_size() - 1).data(), - static_cast(this->values(this->values_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.EnumType.values")); - } 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.EnumType) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.EnumType) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void EnumType::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.EnumType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string values = 1; - for (int i = 0, n = this->values_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->values(i).data(), static_cast(this->values(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.EnumType.values"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->values(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.EnumType) -} - -::google::protobuf::uint8* EnumType::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.EnumType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string values = 1; - for (int i = 0, n = this->values_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->values(i).data(), static_cast(this->values(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.EnumType.values"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->values(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.EnumType) - return target; -} - -size_t EnumType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.EnumType) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string values = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->values_size()); - for (int i = 0, n = this->values_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->values(i)); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EnumType::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.EnumType) - GOOGLE_DCHECK_NE(&from, this); - const EnumType* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.EnumType) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.EnumType) - MergeFrom(*source); - } -} - -void EnumType::MergeFrom(const EnumType& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.EnumType) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - values_.MergeFrom(from.values_); -} - -void EnumType::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.EnumType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EnumType::CopyFrom(const EnumType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.EnumType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EnumType::IsInitialized() const { - return true; -} - -void EnumType::Swap(EnumType* other) { - if (other == this) return; - InternalSwap(other); -} -void EnumType::InternalSwap(EnumType* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - values_.InternalSwap(CastToBase(&other->values_)); -} - -::google::protobuf::Metadata EnumType::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void UnionType::InitAsDefaultInstance() { -} -class UnionType::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UnionType::kVariantsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UnionType::UnionType() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.UnionType) -} -UnionType::UnionType(const UnionType& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - variants_(from.variants_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.core.UnionType) -} - -void UnionType::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); -} - -UnionType::~UnionType() { - // @@protoc_insertion_point(destructor:flyteidl.core.UnionType) - SharedDtor(); -} - -void UnionType::SharedDtor() { -} - -void UnionType::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const UnionType& UnionType::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void UnionType::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.UnionType) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - variants_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* UnionType::_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.LiteralType variants = 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::LiteralType::_InternalParse; - object = msg->add_variants(); - 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 UnionType::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.UnionType) - 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.LiteralType variants = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_variants())); - } 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.UnionType) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.UnionType) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void UnionType::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.UnionType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.LiteralType variants = 1; - for (unsigned int i = 0, - n = static_cast(this->variants_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->variants(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.UnionType) -} - -::google::protobuf::uint8* UnionType::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.UnionType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.core.LiteralType variants = 1; - for (unsigned int i = 0, - n = static_cast(this->variants_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->variants(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.UnionType) - return target; -} - -size_t UnionType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.UnionType) - 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.LiteralType variants = 1; - { - unsigned int count = static_cast(this->variants_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->variants(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void UnionType::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.UnionType) - GOOGLE_DCHECK_NE(&from, this); - const UnionType* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.UnionType) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.UnionType) - MergeFrom(*source); - } -} - -void UnionType::MergeFrom(const UnionType& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.UnionType) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - variants_.MergeFrom(from.variants_); -} - -void UnionType::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.UnionType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UnionType::CopyFrom(const UnionType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.UnionType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UnionType::IsInitialized() const { - return true; -} - -void UnionType::Swap(UnionType* other) { - if (other == this) return; - InternalSwap(other); -} -void UnionType::InternalSwap(UnionType* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&variants_)->InternalSwap(CastToBase(&other->variants_)); -} - -::google::protobuf::Metadata UnionType::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -TypeStructure_DataclassTypeEntry_DoNotUse::TypeStructure_DataclassTypeEntry_DoNotUse() {} -TypeStructure_DataclassTypeEntry_DoNotUse::TypeStructure_DataclassTypeEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void TypeStructure_DataclassTypeEntry_DoNotUse::MergeFrom(const TypeStructure_DataclassTypeEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata TypeStructure_DataclassTypeEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[7]; -} -void TypeStructure_DataclassTypeEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool TypeStructure_DataclassTypeEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - TypeStructure_DataclassTypeEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TypeStructure.DataclassTypeEntry.key")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void TypeStructure::InitAsDefaultInstance() { -} -class TypeStructure::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TypeStructure::kTagFieldNumber; -const int TypeStructure::kDataclassTypeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TypeStructure::TypeStructure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TypeStructure) -} -TypeStructure::TypeStructure(const TypeStructure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - dataclass_type_.MergeFrom(from.dataclass_type_); - tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.tag().size() > 0) { - tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TypeStructure) -} - -void TypeStructure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -TypeStructure::~TypeStructure() { - // @@protoc_insertion_point(destructor:flyteidl.core.TypeStructure) - SharedDtor(); -} - -void TypeStructure::SharedDtor() { - tag_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TypeStructure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TypeStructure& TypeStructure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void TypeStructure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TypeStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - dataclass_type_.Clear(); - tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TypeStructure::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string tag = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.TypeStructure.tag"); - object = msg->mutable_tag(); - 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; - } - // map dataclass_type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->dataclass_type_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -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 TypeStructure::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.TypeStructure) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string tag = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_tag())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tag().data(), static_cast(this->tag().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TypeStructure.tag")); - } else { - goto handle_unusual; - } - break; - } - - // map dataclass_type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - TypeStructure_DataclassTypeEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - TypeStructure_DataclassTypeEntry_DoNotUse, - ::std::string, ::flyteidl::core::LiteralType, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 >, - ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType > > parser(&dataclass_type_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.TypeStructure.DataclassTypeEntry.key")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.TypeStructure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TypeStructure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TypeStructure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TypeStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string tag = 1; - if (this->tag().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tag().data(), static_cast(this->tag().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TypeStructure.tag"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->tag(), output); - } - - // map dataclass_type = 2; - if (!this->dataclass_type().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TypeStructure.DataclassTypeEntry.key"); - } - }; - - if (output->IsSerializationDeterministic() && - this->dataclass_type().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->dataclass_type().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::const_iterator - it = this->dataclass_type().begin(); - it != this->dataclass_type().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(dataclass_type_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(2, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::const_iterator - it = this->dataclass_type().begin(); - it != this->dataclass_type().end(); ++it) { - entry.reset(dataclass_type_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(2, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.TypeStructure) -} - -::google::protobuf::uint8* TypeStructure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TypeStructure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string tag = 1; - if (this->tag().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tag().data(), static_cast(this->tag().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TypeStructure.tag"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->tag(), target); - } - - // map dataclass_type = 2; - if (!this->dataclass_type().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.TypeStructure.DataclassTypeEntry.key"); - } - }; - - if (false && - this->dataclass_type().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->dataclass_type().size()]); - typedef ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::const_iterator - it = this->dataclass_type().begin(); - it != this->dataclass_type().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(dataclass_type_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(2, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::const_iterator - it = this->dataclass_type().begin(); - it != this->dataclass_type().end(); ++it) { - entry.reset(dataclass_type_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(2, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.TypeStructure) - return target; -} - -size_t TypeStructure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TypeStructure) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map dataclass_type = 2; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->dataclass_type_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >::const_iterator - it = this->dataclass_type().begin(); - it != this->dataclass_type().end(); ++it) { - entry.reset(dataclass_type_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // string tag = 1; - if (this->tag().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->tag()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TypeStructure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TypeStructure) - GOOGLE_DCHECK_NE(&from, this); - const TypeStructure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TypeStructure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TypeStructure) - MergeFrom(*source); - } -} - -void TypeStructure::MergeFrom(const TypeStructure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TypeStructure) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - dataclass_type_.MergeFrom(from.dataclass_type_); - if (from.tag().size() > 0) { - - tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); - } -} - -void TypeStructure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TypeStructure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TypeStructure::CopyFrom(const TypeStructure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TypeStructure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypeStructure::IsInitialized() const { - return true; -} - -void TypeStructure::Swap(TypeStructure* other) { - if (other == this) return; - InternalSwap(other); -} -void TypeStructure::InternalSwap(TypeStructure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - dataclass_type_.Swap(&other->dataclass_type_); - tag_.Swap(&other->tag_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata TypeStructure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TypeAnnotation::InitAsDefaultInstance() { - ::flyteidl::core::_TypeAnnotation_default_instance_._instance.get_mutable()->annotations_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); -} -class TypeAnnotation::HasBitSetters { - public: - static const ::google::protobuf::Struct& annotations(const TypeAnnotation* msg); -}; - -const ::google::protobuf::Struct& -TypeAnnotation::HasBitSetters::annotations(const TypeAnnotation* msg) { - return *msg->annotations_; -} -void TypeAnnotation::clear_annotations() { - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TypeAnnotation::kAnnotationsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TypeAnnotation::TypeAnnotation() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TypeAnnotation) -} -TypeAnnotation::TypeAnnotation(const TypeAnnotation& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_annotations()) { - annotations_ = new ::google::protobuf::Struct(*from.annotations_); - } else { - annotations_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TypeAnnotation) -} - -void TypeAnnotation::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TypeAnnotation_flyteidl_2fcore_2ftypes_2eproto.base); - annotations_ = nullptr; -} - -TypeAnnotation::~TypeAnnotation() { - // @@protoc_insertion_point(destructor:flyteidl.core.TypeAnnotation) - SharedDtor(); -} - -void TypeAnnotation::SharedDtor() { - if (this != internal_default_instance()) delete annotations_; -} - -void TypeAnnotation::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TypeAnnotation& TypeAnnotation::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TypeAnnotation_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void TypeAnnotation::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TypeAnnotation) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && annotations_ != nullptr) { - delete annotations_; - } - annotations_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TypeAnnotation::_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) { - // .google.protobuf.Struct annotations = 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 = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_annotations(); - 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 TypeAnnotation::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.TypeAnnotation) - 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)) { - // .google.protobuf.Struct annotations = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_annotations())); - } 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.TypeAnnotation) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TypeAnnotation) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TypeAnnotation::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TypeAnnotation) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Struct annotations = 1; - if (this->has_annotations()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::annotations(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.TypeAnnotation) -} - -::google::protobuf::uint8* TypeAnnotation::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TypeAnnotation) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Struct annotations = 1; - if (this->has_annotations()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::annotations(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.TypeAnnotation) - return target; -} - -size_t TypeAnnotation::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TypeAnnotation) - 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; - - // .google.protobuf.Struct annotations = 1; - if (this->has_annotations()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *annotations_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TypeAnnotation::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TypeAnnotation) - GOOGLE_DCHECK_NE(&from, this); - const TypeAnnotation* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TypeAnnotation) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TypeAnnotation) - MergeFrom(*source); - } -} - -void TypeAnnotation::MergeFrom(const TypeAnnotation& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TypeAnnotation) - 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_annotations()) { - mutable_annotations()->::google::protobuf::Struct::MergeFrom(from.annotations()); - } -} - -void TypeAnnotation::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TypeAnnotation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TypeAnnotation::CopyFrom(const TypeAnnotation& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TypeAnnotation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TypeAnnotation::IsInitialized() const { - return true; -} - -void TypeAnnotation::Swap(TypeAnnotation* other) { - if (other == this) return; - InternalSwap(other); -} -void TypeAnnotation::InternalSwap(TypeAnnotation* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(annotations_, other->annotations_); -} - -::google::protobuf::Metadata TypeAnnotation::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void LiteralType::InitAsDefaultInstance() { - ::flyteidl::core::_LiteralType_default_instance_.simple_ = 0; - ::flyteidl::core::_LiteralType_default_instance_.schema_ = const_cast< ::flyteidl::core::SchemaType*>( - ::flyteidl::core::SchemaType::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_.collection_type_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_.map_value_type_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_.blob_ = const_cast< ::flyteidl::core::BlobType*>( - ::flyteidl::core::BlobType::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_.enum_type_ = const_cast< ::flyteidl::core::EnumType*>( - ::flyteidl::core::EnumType::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_.structured_dataset_type_ = const_cast< ::flyteidl::core::StructuredDatasetType*>( - ::flyteidl::core::StructuredDatasetType::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_.union_type_ = const_cast< ::flyteidl::core::UnionType*>( - ::flyteidl::core::UnionType::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_._instance.get_mutable()->annotation_ = const_cast< ::flyteidl::core::TypeAnnotation*>( - ::flyteidl::core::TypeAnnotation::internal_default_instance()); - ::flyteidl::core::_LiteralType_default_instance_._instance.get_mutable()->structure_ = const_cast< ::flyteidl::core::TypeStructure*>( - ::flyteidl::core::TypeStructure::internal_default_instance()); -} -class LiteralType::HasBitSetters { - public: - static const ::flyteidl::core::SchemaType& schema(const LiteralType* msg); - static const ::flyteidl::core::LiteralType& collection_type(const LiteralType* msg); - static const ::flyteidl::core::LiteralType& map_value_type(const LiteralType* msg); - static const ::flyteidl::core::BlobType& blob(const LiteralType* msg); - static const ::flyteidl::core::EnumType& enum_type(const LiteralType* msg); - static const ::flyteidl::core::StructuredDatasetType& structured_dataset_type(const LiteralType* msg); - static const ::flyteidl::core::UnionType& union_type(const LiteralType* msg); - static const ::google::protobuf::Struct& metadata(const LiteralType* msg); - static const ::flyteidl::core::TypeAnnotation& annotation(const LiteralType* msg); - static const ::flyteidl::core::TypeStructure& structure(const LiteralType* msg); -}; - -const ::flyteidl::core::SchemaType& -LiteralType::HasBitSetters::schema(const LiteralType* msg) { - return *msg->type_.schema_; -} -const ::flyteidl::core::LiteralType& -LiteralType::HasBitSetters::collection_type(const LiteralType* msg) { - return *msg->type_.collection_type_; -} -const ::flyteidl::core::LiteralType& -LiteralType::HasBitSetters::map_value_type(const LiteralType* msg) { - return *msg->type_.map_value_type_; -} -const ::flyteidl::core::BlobType& -LiteralType::HasBitSetters::blob(const LiteralType* msg) { - return *msg->type_.blob_; -} -const ::flyteidl::core::EnumType& -LiteralType::HasBitSetters::enum_type(const LiteralType* msg) { - return *msg->type_.enum_type_; -} -const ::flyteidl::core::StructuredDatasetType& -LiteralType::HasBitSetters::structured_dataset_type(const LiteralType* msg) { - return *msg->type_.structured_dataset_type_; -} -const ::flyteidl::core::UnionType& -LiteralType::HasBitSetters::union_type(const LiteralType* msg) { - return *msg->type_.union_type_; -} -const ::google::protobuf::Struct& -LiteralType::HasBitSetters::metadata(const LiteralType* msg) { - return *msg->metadata_; -} -const ::flyteidl::core::TypeAnnotation& -LiteralType::HasBitSetters::annotation(const LiteralType* msg) { - return *msg->annotation_; -} -const ::flyteidl::core::TypeStructure& -LiteralType::HasBitSetters::structure(const LiteralType* msg) { - return *msg->structure_; -} -void LiteralType::set_allocated_schema(::flyteidl::core::SchemaType* schema) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (schema) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - schema = ::google::protobuf::internal::GetOwnedMessage( - message_arena, schema, submessage_arena); - } - set_has_schema(); - type_.schema_ = schema; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.schema) -} -void LiteralType::set_allocated_collection_type(::flyteidl::core::LiteralType* collection_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (collection_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - collection_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, collection_type, submessage_arena); - } - set_has_collection_type(); - type_.collection_type_ = collection_type; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.collection_type) -} -void LiteralType::set_allocated_map_value_type(::flyteidl::core::LiteralType* map_value_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (map_value_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - map_value_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, map_value_type, submessage_arena); - } - set_has_map_value_type(); - type_.map_value_type_ = map_value_type; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.map_value_type) -} -void LiteralType::set_allocated_blob(::flyteidl::core::BlobType* blob) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (blob) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - blob = ::google::protobuf::internal::GetOwnedMessage( - message_arena, blob, submessage_arena); - } - set_has_blob(); - type_.blob_ = blob; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.blob) -} -void LiteralType::set_allocated_enum_type(::flyteidl::core::EnumType* enum_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (enum_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - enum_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, enum_type, submessage_arena); - } - set_has_enum_type(); - type_.enum_type_ = enum_type; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.enum_type) -} -void LiteralType::set_allocated_structured_dataset_type(::flyteidl::core::StructuredDatasetType* structured_dataset_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (structured_dataset_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - structured_dataset_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, structured_dataset_type, submessage_arena); - } - set_has_structured_dataset_type(); - type_.structured_dataset_type_ = structured_dataset_type; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.structured_dataset_type) -} -void LiteralType::set_allocated_union_type(::flyteidl::core::UnionType* union_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_type(); - if (union_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - union_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, union_type, submessage_arena); - } - set_has_union_type(); - type_.union_type_ = union_type; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.union_type) -} -void LiteralType::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int LiteralType::kSimpleFieldNumber; -const int LiteralType::kSchemaFieldNumber; -const int LiteralType::kCollectionTypeFieldNumber; -const int LiteralType::kMapValueTypeFieldNumber; -const int LiteralType::kBlobFieldNumber; -const int LiteralType::kEnumTypeFieldNumber; -const int LiteralType::kStructuredDatasetTypeFieldNumber; -const int LiteralType::kUnionTypeFieldNumber; -const int LiteralType::kMetadataFieldNumber; -const int LiteralType::kAnnotationFieldNumber; -const int LiteralType::kStructureFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -LiteralType::LiteralType() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.LiteralType) -} -LiteralType::LiteralType(const LiteralType& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_metadata()) { - metadata_ = new ::google::protobuf::Struct(*from.metadata_); - } else { - metadata_ = nullptr; - } - if (from.has_annotation()) { - annotation_ = new ::flyteidl::core::TypeAnnotation(*from.annotation_); - } else { - annotation_ = nullptr; - } - if (from.has_structure()) { - structure_ = new ::flyteidl::core::TypeStructure(*from.structure_); - } else { - structure_ = nullptr; - } - clear_has_type(); - switch (from.type_case()) { - case kSimple: { - set_simple(from.simple()); - break; - } - case kSchema: { - mutable_schema()->::flyteidl::core::SchemaType::MergeFrom(from.schema()); - break; - } - case kCollectionType: { - mutable_collection_type()->::flyteidl::core::LiteralType::MergeFrom(from.collection_type()); - break; - } - case kMapValueType: { - mutable_map_value_type()->::flyteidl::core::LiteralType::MergeFrom(from.map_value_type()); - break; - } - case kBlob: { - mutable_blob()->::flyteidl::core::BlobType::MergeFrom(from.blob()); - break; - } - case kEnumType: { - mutable_enum_type()->::flyteidl::core::EnumType::MergeFrom(from.enum_type()); - break; - } - case kStructuredDatasetType: { - mutable_structured_dataset_type()->::flyteidl::core::StructuredDatasetType::MergeFrom(from.structured_dataset_type()); - break; - } - case kUnionType: { - mutable_union_type()->::flyteidl::core::UnionType::MergeFrom(from.union_type()); - break; - } - case TYPE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.LiteralType) -} - -void LiteralType::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - ::memset(&metadata_, 0, static_cast( - reinterpret_cast(&structure_) - - reinterpret_cast(&metadata_)) + sizeof(structure_)); - clear_has_type(); -} - -LiteralType::~LiteralType() { - // @@protoc_insertion_point(destructor:flyteidl.core.LiteralType) - SharedDtor(); -} - -void LiteralType::SharedDtor() { - if (this != internal_default_instance()) delete metadata_; - if (this != internal_default_instance()) delete annotation_; - if (this != internal_default_instance()) delete structure_; - if (has_type()) { - clear_type(); - } -} - -void LiteralType::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const LiteralType& LiteralType::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void LiteralType::clear_type() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.LiteralType) - switch (type_case()) { - case kSimple: { - // No need to clear - break; - } - case kSchema: { - delete type_.schema_; - break; - } - case kCollectionType: { - delete type_.collection_type_; - break; - } - case kMapValueType: { - delete type_.map_value_type_; - break; - } - case kBlob: { - delete type_.blob_; - break; - } - case kEnumType: { - delete type_.enum_type_; - break; - } - case kStructuredDatasetType: { - delete type_.structured_dataset_type_; - break; - } - case kUnionType: { - delete type_.union_type_; - break; - } - case TYPE_NOT_SET: { - break; - } - } - _oneof_case_[0] = TYPE_NOT_SET; -} - - -void LiteralType::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.LiteralType) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && annotation_ != nullptr) { - delete annotation_; - } - annotation_ = nullptr; - if (GetArenaNoVirtual() == nullptr && structure_ != nullptr) { - delete structure_; - } - structure_ = nullptr; - clear_type(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* LiteralType::_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.SimpleType simple = 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_simple(static_cast<::flyteidl::core::SimpleType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.SchemaType schema = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::SchemaType::_InternalParse; - object = msg->mutable_schema(); - 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.LiteralType collection_type = 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::LiteralType::_InternalParse; - object = msg->mutable_collection_type(); - 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.LiteralType map_value_type = 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::LiteralType::_InternalParse; - object = msg->mutable_map_value_type(); - 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.BlobType blob = 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::BlobType::_InternalParse; - object = msg->mutable_blob(); - 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; - } - // .google.protobuf.Struct metadata = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_metadata(); - 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.EnumType enum_type = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::EnumType::_InternalParse; - object = msg->mutable_enum_type(); - 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.StructuredDatasetType structured_dataset_type = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::StructuredDatasetType::_InternalParse; - object = msg->mutable_structured_dataset_type(); - 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.TypeAnnotation annotation = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TypeAnnotation::_InternalParse; - object = msg->mutable_annotation(); - 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.UnionType union_type = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::UnionType::_InternalParse; - object = msg->mutable_union_type(); - 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.TypeStructure structure = 11; - case 11: { - if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TypeStructure::_InternalParse; - object = msg->mutable_structure(); - 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 LiteralType::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.LiteralType) - 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.SimpleType simple = 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_simple(static_cast< ::flyteidl::core::SimpleType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SchemaType schema = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_schema())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralType collection_type = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_collection_type())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralType map_value_type = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_map_value_type())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BlobType blob = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_blob())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct metadata = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.EnumType enum_type = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_enum_type())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_structured_dataset_type())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TypeAnnotation annotation = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_annotation())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.UnionType union_type = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_union_type())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TypeStructure structure = 11; - case 11: { - if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_structure())); - } 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.LiteralType) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.LiteralType) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void LiteralType::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.LiteralType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SimpleType simple = 1; - if (has_simple()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->simple(), output); - } - - // .flyteidl.core.SchemaType schema = 2; - if (has_schema()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::schema(this), output); - } - - // .flyteidl.core.LiteralType collection_type = 3; - if (has_collection_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::collection_type(this), output); - } - - // .flyteidl.core.LiteralType map_value_type = 4; - if (has_map_value_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::map_value_type(this), output); - } - - // .flyteidl.core.BlobType blob = 5; - if (has_blob()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::blob(this), output); - } - - // .google.protobuf.Struct metadata = 6; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::metadata(this), output); - } - - // .flyteidl.core.EnumType enum_type = 7; - if (has_enum_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::enum_type(this), output); - } - - // .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - if (has_structured_dataset_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::structured_dataset_type(this), output); - } - - // .flyteidl.core.TypeAnnotation annotation = 9; - if (this->has_annotation()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::annotation(this), output); - } - - // .flyteidl.core.UnionType union_type = 10; - if (has_union_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, HasBitSetters::union_type(this), output); - } - - // .flyteidl.core.TypeStructure structure = 11; - if (this->has_structure()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 11, HasBitSetters::structure(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.LiteralType) -} - -::google::protobuf::uint8* LiteralType::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.LiteralType) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.SimpleType simple = 1; - if (has_simple()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->simple(), target); - } - - // .flyteidl.core.SchemaType schema = 2; - if (has_schema()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::schema(this), target); - } - - // .flyteidl.core.LiteralType collection_type = 3; - if (has_collection_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::collection_type(this), target); - } - - // .flyteidl.core.LiteralType map_value_type = 4; - if (has_map_value_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::map_value_type(this), target); - } - - // .flyteidl.core.BlobType blob = 5; - if (has_blob()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::blob(this), target); - } - - // .google.protobuf.Struct metadata = 6; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::metadata(this), target); - } - - // .flyteidl.core.EnumType enum_type = 7; - if (has_enum_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::enum_type(this), target); - } - - // .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - if (has_structured_dataset_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::structured_dataset_type(this), target); - } - - // .flyteidl.core.TypeAnnotation annotation = 9; - if (this->has_annotation()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::annotation(this), target); - } - - // .flyteidl.core.UnionType union_type = 10; - if (has_union_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 10, HasBitSetters::union_type(this), target); - } - - // .flyteidl.core.TypeStructure structure = 11; - if (this->has_structure()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 11, HasBitSetters::structure(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.LiteralType) - return target; -} - -size_t LiteralType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.LiteralType) - 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; - - // .google.protobuf.Struct metadata = 6; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .flyteidl.core.TypeAnnotation annotation = 9; - if (this->has_annotation()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *annotation_); - } - - // .flyteidl.core.TypeStructure structure = 11; - if (this->has_structure()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *structure_); - } - - switch (type_case()) { - // .flyteidl.core.SimpleType simple = 1; - case kSimple: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->simple()); - break; - } - // .flyteidl.core.SchemaType schema = 2; - case kSchema: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.schema_); - break; - } - // .flyteidl.core.LiteralType collection_type = 3; - case kCollectionType: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.collection_type_); - break; - } - // .flyteidl.core.LiteralType map_value_type = 4; - case kMapValueType: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.map_value_type_); - break; - } - // .flyteidl.core.BlobType blob = 5; - case kBlob: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.blob_); - break; - } - // .flyteidl.core.EnumType enum_type = 7; - case kEnumType: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.enum_type_); - break; - } - // .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - case kStructuredDatasetType: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.structured_dataset_type_); - break; - } - // .flyteidl.core.UnionType union_type = 10; - case kUnionType: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_.union_type_); - break; - } - case TYPE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void LiteralType::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.LiteralType) - GOOGLE_DCHECK_NE(&from, this); - const LiteralType* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.LiteralType) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.LiteralType) - MergeFrom(*source); - } -} - -void LiteralType::MergeFrom(const LiteralType& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.LiteralType) - 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_metadata()) { - mutable_metadata()->::google::protobuf::Struct::MergeFrom(from.metadata()); - } - if (from.has_annotation()) { - mutable_annotation()->::flyteidl::core::TypeAnnotation::MergeFrom(from.annotation()); - } - if (from.has_structure()) { - mutable_structure()->::flyteidl::core::TypeStructure::MergeFrom(from.structure()); - } - switch (from.type_case()) { - case kSimple: { - set_simple(from.simple()); - break; - } - case kSchema: { - mutable_schema()->::flyteidl::core::SchemaType::MergeFrom(from.schema()); - break; - } - case kCollectionType: { - mutable_collection_type()->::flyteidl::core::LiteralType::MergeFrom(from.collection_type()); - break; - } - case kMapValueType: { - mutable_map_value_type()->::flyteidl::core::LiteralType::MergeFrom(from.map_value_type()); - break; - } - case kBlob: { - mutable_blob()->::flyteidl::core::BlobType::MergeFrom(from.blob()); - break; - } - case kEnumType: { - mutable_enum_type()->::flyteidl::core::EnumType::MergeFrom(from.enum_type()); - break; - } - case kStructuredDatasetType: { - mutable_structured_dataset_type()->::flyteidl::core::StructuredDatasetType::MergeFrom(from.structured_dataset_type()); - break; - } - case kUnionType: { - mutable_union_type()->::flyteidl::core::UnionType::MergeFrom(from.union_type()); - break; - } - case TYPE_NOT_SET: { - break; - } - } -} - -void LiteralType::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.LiteralType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void LiteralType::CopyFrom(const LiteralType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.LiteralType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool LiteralType::IsInitialized() const { - return true; -} - -void LiteralType::Swap(LiteralType* other) { - if (other == this) return; - InternalSwap(other); -} -void LiteralType::InternalSwap(LiteralType* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(metadata_, other->metadata_); - swap(annotation_, other->annotation_); - swap(structure_, other->structure_); - swap(type_, other->type_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata LiteralType::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void OutputReference::InitAsDefaultInstance() { -} -class OutputReference::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int OutputReference::kNodeIdFieldNumber; -const int OutputReference::kVarFieldNumber; -const int OutputReference::kAttrPathFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -OutputReference::OutputReference() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.OutputReference) -} -OutputReference::OutputReference(const OutputReference& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - attr_path_(from.attr_path_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.node_id().size() > 0) { - node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_id_); - } - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.var().size() > 0) { - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.OutputReference) -} - -void OutputReference::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_OutputReference_flyteidl_2fcore_2ftypes_2eproto.base); - node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -OutputReference::~OutputReference() { - // @@protoc_insertion_point(destructor:flyteidl.core.OutputReference) - SharedDtor(); -} - -void OutputReference::SharedDtor() { - node_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - var_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void OutputReference::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const OutputReference& OutputReference::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_OutputReference_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void OutputReference::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.OutputReference) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - attr_path_.Clear(); - node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* OutputReference::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string node_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.OutputReference.node_id"); - object = msg->mutable_node_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 var = 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.OutputReference.var"); - object = msg->mutable_var(); - 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; - } - // repeated .flyteidl.core.PromiseAttribute attr_path = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::PromiseAttribute::_InternalParse; - object = msg->add_attr_path(); - 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) == 26 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool OutputReference::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.OutputReference) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string node_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_node_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.OutputReference.node_id")); - } else { - goto handle_unusual; - } - break; - } - - // string var = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_var())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.OutputReference.var")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.PromiseAttribute attr_path = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_attr_path())); - } 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.OutputReference) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.OutputReference) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void OutputReference::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.OutputReference) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string node_id = 1; - if (this->node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OutputReference.node_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->node_id(), output); - } - - // string var = 2; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OutputReference.var"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->var(), output); - } - - // repeated .flyteidl.core.PromiseAttribute attr_path = 3; - for (unsigned int i = 0, - n = static_cast(this->attr_path_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->attr_path(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.OutputReference) -} - -::google::protobuf::uint8* OutputReference::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.OutputReference) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string node_id = 1; - if (this->node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OutputReference.node_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->node_id(), target); - } - - // string var = 2; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.OutputReference.var"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->var(), target); - } - - // repeated .flyteidl.core.PromiseAttribute attr_path = 3; - for (unsigned int i = 0, - n = static_cast(this->attr_path_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->attr_path(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.OutputReference) - return target; -} - -size_t OutputReference::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.OutputReference) - 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.PromiseAttribute attr_path = 3; - { - unsigned int count = static_cast(this->attr_path_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->attr_path(static_cast(i))); - } - } - - // string node_id = 1; - if (this->node_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->node_id()); - } - - // string var = 2; - if (this->var().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->var()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void OutputReference::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.OutputReference) - GOOGLE_DCHECK_NE(&from, this); - const OutputReference* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.OutputReference) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.OutputReference) - MergeFrom(*source); - } -} - -void OutputReference::MergeFrom(const OutputReference& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.OutputReference) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - attr_path_.MergeFrom(from.attr_path_); - if (from.node_id().size() > 0) { - - node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_id_); - } - if (from.var().size() > 0) { - - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } -} - -void OutputReference::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.OutputReference) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void OutputReference::CopyFrom(const OutputReference& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.OutputReference) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OutputReference::IsInitialized() const { - return true; -} - -void OutputReference::Swap(OutputReference* other) { - if (other == this) return; - InternalSwap(other); -} -void OutputReference::InternalSwap(OutputReference* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&attr_path_)->InternalSwap(CastToBase(&other->attr_path_)); - node_id_.Swap(&other->node_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - var_.Swap(&other->var_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata OutputReference::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PromiseAttribute::InitAsDefaultInstance() { - ::flyteidl::core::_PromiseAttribute_default_instance_.string_value_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::core::_PromiseAttribute_default_instance_.int_value_ = 0; -} -class PromiseAttribute::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PromiseAttribute::kStringValueFieldNumber; -const int PromiseAttribute::kIntValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PromiseAttribute::PromiseAttribute() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.PromiseAttribute) -} -PromiseAttribute::PromiseAttribute(const PromiseAttribute& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_value(); - switch (from.value_case()) { - case kStringValue: { - set_string_value(from.string_value()); - break; - } - case kIntValue: { - set_int_value(from.int_value()); - break; - } - case VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.PromiseAttribute) -} - -void PromiseAttribute::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PromiseAttribute_flyteidl_2fcore_2ftypes_2eproto.base); - clear_has_value(); -} - -PromiseAttribute::~PromiseAttribute() { - // @@protoc_insertion_point(destructor:flyteidl.core.PromiseAttribute) - SharedDtor(); -} - -void PromiseAttribute::SharedDtor() { - if (has_value()) { - clear_value(); - } -} - -void PromiseAttribute::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PromiseAttribute& PromiseAttribute::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PromiseAttribute_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void PromiseAttribute::clear_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.PromiseAttribute) - switch (value_case()) { - case kStringValue: { - value_.string_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kIntValue: { - // No need to clear - break; - } - case VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = VALUE_NOT_SET; -} - - -void PromiseAttribute::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.PromiseAttribute) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PromiseAttribute::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string string_value = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.PromiseAttribute.string_value"); - object = msg->mutable_string_value(); - 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; - } - // int32 int_value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_int_value(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 PromiseAttribute::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.PromiseAttribute) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string string_value = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_string_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->string_value().data(), static_cast(this->string_value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.PromiseAttribute.string_value")); - } else { - goto handle_unusual; - } - break; - } - - // int32 int_value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - clear_value(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &value_.int_value_))); - set_has_int_value(); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.PromiseAttribute) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.PromiseAttribute) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PromiseAttribute::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.PromiseAttribute) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string string_value = 1; - if (has_string_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->string_value().data(), static_cast(this->string_value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.PromiseAttribute.string_value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->string_value(), output); - } - - // int32 int_value = 2; - if (has_int_value()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->int_value(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.PromiseAttribute) -} - -::google::protobuf::uint8* PromiseAttribute::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.PromiseAttribute) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string string_value = 1; - if (has_string_value()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->string_value().data(), static_cast(this->string_value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.PromiseAttribute.string_value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->string_value(), target); - } - - // int32 int_value = 2; - if (has_int_value()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->int_value(), 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.PromiseAttribute) - return target; -} - -size_t PromiseAttribute::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.PromiseAttribute) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (value_case()) { - // string string_value = 1; - case kStringValue: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->string_value()); - break; - } - // int32 int_value = 2; - case kIntValue: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->int_value()); - break; - } - case VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PromiseAttribute::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.PromiseAttribute) - GOOGLE_DCHECK_NE(&from, this); - const PromiseAttribute* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.PromiseAttribute) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.PromiseAttribute) - MergeFrom(*source); - } -} - -void PromiseAttribute::MergeFrom(const PromiseAttribute& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.PromiseAttribute) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.value_case()) { - case kStringValue: { - set_string_value(from.string_value()); - break; - } - case kIntValue: { - set_int_value(from.int_value()); - break; - } - case VALUE_NOT_SET: { - break; - } - } -} - -void PromiseAttribute::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.PromiseAttribute) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PromiseAttribute::CopyFrom(const PromiseAttribute& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.PromiseAttribute) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PromiseAttribute::IsInitialized() const { - return true; -} - -void PromiseAttribute::Swap(PromiseAttribute* other) { - if (other == this) return; - InternalSwap(other); -} -void PromiseAttribute::InternalSwap(PromiseAttribute* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(value_, other->value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata PromiseAttribute::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Error::InitAsDefaultInstance() { -} -class Error::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Error::kFailedNodeIdFieldNumber; -const int Error::kMessageFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Error::Error() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Error) -} -Error::Error(const Error& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - failed_node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.failed_node_id().size() > 0) { - failed_node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.failed_node_id_); - } - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.message().size() > 0) { - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Error) -} - -void Error::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Error_flyteidl_2fcore_2ftypes_2eproto.base); - failed_node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Error::~Error() { - // @@protoc_insertion_point(destructor:flyteidl.core.Error) - SharedDtor(); -} - -void Error::SharedDtor() { - failed_node_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Error::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Error& Error::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Error_flyteidl_2fcore_2ftypes_2eproto.base); - return *internal_default_instance(); -} - - -void Error::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Error) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - failed_node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Error::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string failed_node_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Error.failed_node_id"); - object = msg->mutable_failed_node_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 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.Error.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; - } - 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 Error::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.Error) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string failed_node_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_failed_node_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->failed_node_id().data(), static_cast(this->failed_node_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Error.failed_node_id")); - } 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.Error.message")); - } 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.Error) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Error) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Error::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Error) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string failed_node_id = 1; - if (this->failed_node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->failed_node_id().data(), static_cast(this->failed_node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Error.failed_node_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->failed_node_id(), 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.Error.message"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->message(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Error) -} - -::google::protobuf::uint8* Error::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Error) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string failed_node_id = 1; - if (this->failed_node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->failed_node_id().data(), static_cast(this->failed_node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Error.failed_node_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->failed_node_id(), 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.Error.message"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->message(), 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.Error) - return target; -} - -size_t Error::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Error) - 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 failed_node_id = 1; - if (this->failed_node_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->failed_node_id()); - } - - // string message = 2; - if (this->message().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->message()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Error::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Error) - GOOGLE_DCHECK_NE(&from, this); - const Error* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Error) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Error) - MergeFrom(*source); - } -} - -void Error::MergeFrom(const Error& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Error) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.failed_node_id().size() > 0) { - - failed_node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.failed_node_id_); - } - if (from.message().size() > 0) { - - message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); - } -} - -void Error::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Error) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Error::CopyFrom(const Error& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Error) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Error::IsInitialized() const { - return true; -} - -void Error::Swap(Error* other) { - if (other == this) return; - InternalSwap(other); -} -void Error::InternalSwap(Error* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - failed_node_id_.Swap(&other->failed_node_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - message_.Swap(&other->message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Error::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ftypes_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2ftypes_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::SchemaType_SchemaColumn* Arena::CreateMaybeMessage< ::flyteidl::core::SchemaType_SchemaColumn >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::SchemaType_SchemaColumn >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::SchemaType* Arena::CreateMaybeMessage< ::flyteidl::core::SchemaType >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::SchemaType >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::StructuredDatasetType_DatasetColumn* Arena::CreateMaybeMessage< ::flyteidl::core::StructuredDatasetType_DatasetColumn >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::StructuredDatasetType_DatasetColumn >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::StructuredDatasetType* Arena::CreateMaybeMessage< ::flyteidl::core::StructuredDatasetType >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::StructuredDatasetType >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BlobType* Arena::CreateMaybeMessage< ::flyteidl::core::BlobType >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BlobType >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::EnumType* Arena::CreateMaybeMessage< ::flyteidl::core::EnumType >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::EnumType >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::UnionType* Arena::CreateMaybeMessage< ::flyteidl::core::UnionType >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::UnionType >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TypeStructure* Arena::CreateMaybeMessage< ::flyteidl::core::TypeStructure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TypeStructure >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TypeAnnotation* Arena::CreateMaybeMessage< ::flyteidl::core::TypeAnnotation >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TypeAnnotation >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::LiteralType* Arena::CreateMaybeMessage< ::flyteidl::core::LiteralType >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::LiteralType >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::OutputReference* Arena::CreateMaybeMessage< ::flyteidl::core::OutputReference >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::OutputReference >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::PromiseAttribute* Arena::CreateMaybeMessage< ::flyteidl::core::PromiseAttribute >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::PromiseAttribute >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Error* Arena::CreateMaybeMessage< ::flyteidl::core::Error >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Error >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/types.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/types.pb.h deleted file mode 100644 index 014627a096..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/types.pb.h +++ /dev/null @@ -1,3766 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/types.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2ftypes_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2ftypes_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2ftypes_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[14] - 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_2fcore_2ftypes_2eproto(); -namespace flyteidl { -namespace core { -class BlobType; -class BlobTypeDefaultTypeInternal; -extern BlobTypeDefaultTypeInternal _BlobType_default_instance_; -class EnumType; -class EnumTypeDefaultTypeInternal; -extern EnumTypeDefaultTypeInternal _EnumType_default_instance_; -class Error; -class ErrorDefaultTypeInternal; -extern ErrorDefaultTypeInternal _Error_default_instance_; -class LiteralType; -class LiteralTypeDefaultTypeInternal; -extern LiteralTypeDefaultTypeInternal _LiteralType_default_instance_; -class OutputReference; -class OutputReferenceDefaultTypeInternal; -extern OutputReferenceDefaultTypeInternal _OutputReference_default_instance_; -class PromiseAttribute; -class PromiseAttributeDefaultTypeInternal; -extern PromiseAttributeDefaultTypeInternal _PromiseAttribute_default_instance_; -class SchemaType; -class SchemaTypeDefaultTypeInternal; -extern SchemaTypeDefaultTypeInternal _SchemaType_default_instance_; -class SchemaType_SchemaColumn; -class SchemaType_SchemaColumnDefaultTypeInternal; -extern SchemaType_SchemaColumnDefaultTypeInternal _SchemaType_SchemaColumn_default_instance_; -class StructuredDatasetType; -class StructuredDatasetTypeDefaultTypeInternal; -extern StructuredDatasetTypeDefaultTypeInternal _StructuredDatasetType_default_instance_; -class StructuredDatasetType_DatasetColumn; -class StructuredDatasetType_DatasetColumnDefaultTypeInternal; -extern StructuredDatasetType_DatasetColumnDefaultTypeInternal _StructuredDatasetType_DatasetColumn_default_instance_; -class TypeAnnotation; -class TypeAnnotationDefaultTypeInternal; -extern TypeAnnotationDefaultTypeInternal _TypeAnnotation_default_instance_; -class TypeStructure; -class TypeStructureDefaultTypeInternal; -extern TypeStructureDefaultTypeInternal _TypeStructure_default_instance_; -class TypeStructure_DataclassTypeEntry_DoNotUse; -class TypeStructure_DataclassTypeEntry_DoNotUseDefaultTypeInternal; -extern TypeStructure_DataclassTypeEntry_DoNotUseDefaultTypeInternal _TypeStructure_DataclassTypeEntry_DoNotUse_default_instance_; -class UnionType; -class UnionTypeDefaultTypeInternal; -extern UnionTypeDefaultTypeInternal _UnionType_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::BlobType* Arena::CreateMaybeMessage<::flyteidl::core::BlobType>(Arena*); -template<> ::flyteidl::core::EnumType* Arena::CreateMaybeMessage<::flyteidl::core::EnumType>(Arena*); -template<> ::flyteidl::core::Error* Arena::CreateMaybeMessage<::flyteidl::core::Error>(Arena*); -template<> ::flyteidl::core::LiteralType* Arena::CreateMaybeMessage<::flyteidl::core::LiteralType>(Arena*); -template<> ::flyteidl::core::OutputReference* Arena::CreateMaybeMessage<::flyteidl::core::OutputReference>(Arena*); -template<> ::flyteidl::core::PromiseAttribute* Arena::CreateMaybeMessage<::flyteidl::core::PromiseAttribute>(Arena*); -template<> ::flyteidl::core::SchemaType* Arena::CreateMaybeMessage<::flyteidl::core::SchemaType>(Arena*); -template<> ::flyteidl::core::SchemaType_SchemaColumn* Arena::CreateMaybeMessage<::flyteidl::core::SchemaType_SchemaColumn>(Arena*); -template<> ::flyteidl::core::StructuredDatasetType* Arena::CreateMaybeMessage<::flyteidl::core::StructuredDatasetType>(Arena*); -template<> ::flyteidl::core::StructuredDatasetType_DatasetColumn* Arena::CreateMaybeMessage<::flyteidl::core::StructuredDatasetType_DatasetColumn>(Arena*); -template<> ::flyteidl::core::TypeAnnotation* Arena::CreateMaybeMessage<::flyteidl::core::TypeAnnotation>(Arena*); -template<> ::flyteidl::core::TypeStructure* Arena::CreateMaybeMessage<::flyteidl::core::TypeStructure>(Arena*); -template<> ::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::TypeStructure_DataclassTypeEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::UnionType* Arena::CreateMaybeMessage<::flyteidl::core::UnionType>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum SchemaType_SchemaColumn_SchemaColumnType { - SchemaType_SchemaColumn_SchemaColumnType_INTEGER = 0, - SchemaType_SchemaColumn_SchemaColumnType_FLOAT = 1, - SchemaType_SchemaColumn_SchemaColumnType_STRING = 2, - SchemaType_SchemaColumn_SchemaColumnType_BOOLEAN = 3, - SchemaType_SchemaColumn_SchemaColumnType_DATETIME = 4, - SchemaType_SchemaColumn_SchemaColumnType_DURATION = 5, - SchemaType_SchemaColumn_SchemaColumnType_SchemaType_SchemaColumn_SchemaColumnType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - SchemaType_SchemaColumn_SchemaColumnType_SchemaType_SchemaColumn_SchemaColumnType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool SchemaType_SchemaColumn_SchemaColumnType_IsValid(int value); -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn_SchemaColumnType_SchemaColumnType_MIN = SchemaType_SchemaColumn_SchemaColumnType_INTEGER; -const SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn_SchemaColumnType_SchemaColumnType_MAX = SchemaType_SchemaColumn_SchemaColumnType_DURATION; -const int SchemaType_SchemaColumn_SchemaColumnType_SchemaColumnType_ARRAYSIZE = SchemaType_SchemaColumn_SchemaColumnType_SchemaColumnType_MAX + 1; - -const ::google::protobuf::EnumDescriptor* SchemaType_SchemaColumn_SchemaColumnType_descriptor(); -inline const ::std::string& SchemaType_SchemaColumn_SchemaColumnType_Name(SchemaType_SchemaColumn_SchemaColumnType value) { - return ::google::protobuf::internal::NameOfEnum( - SchemaType_SchemaColumn_SchemaColumnType_descriptor(), value); -} -inline bool SchemaType_SchemaColumn_SchemaColumnType_Parse( - const ::std::string& name, SchemaType_SchemaColumn_SchemaColumnType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SchemaType_SchemaColumn_SchemaColumnType_descriptor(), name, value); -} -enum BlobType_BlobDimensionality { - BlobType_BlobDimensionality_SINGLE = 0, - BlobType_BlobDimensionality_MULTIPART = 1, - BlobType_BlobDimensionality_BlobType_BlobDimensionality_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - BlobType_BlobDimensionality_BlobType_BlobDimensionality_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool BlobType_BlobDimensionality_IsValid(int value); -const BlobType_BlobDimensionality BlobType_BlobDimensionality_BlobDimensionality_MIN = BlobType_BlobDimensionality_SINGLE; -const BlobType_BlobDimensionality BlobType_BlobDimensionality_BlobDimensionality_MAX = BlobType_BlobDimensionality_MULTIPART; -const int BlobType_BlobDimensionality_BlobDimensionality_ARRAYSIZE = BlobType_BlobDimensionality_BlobDimensionality_MAX + 1; - -const ::google::protobuf::EnumDescriptor* BlobType_BlobDimensionality_descriptor(); -inline const ::std::string& BlobType_BlobDimensionality_Name(BlobType_BlobDimensionality value) { - return ::google::protobuf::internal::NameOfEnum( - BlobType_BlobDimensionality_descriptor(), value); -} -inline bool BlobType_BlobDimensionality_Parse( - const ::std::string& name, BlobType_BlobDimensionality* value) { - return ::google::protobuf::internal::ParseNamedEnum( - BlobType_BlobDimensionality_descriptor(), name, value); -} -enum SimpleType { - NONE = 0, - INTEGER = 1, - FLOAT = 2, - STRING = 3, - BOOLEAN = 4, - DATETIME = 5, - DURATION = 6, - BINARY = 7, - ERROR = 8, - STRUCT = 9, - SimpleType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - SimpleType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool SimpleType_IsValid(int value); -const SimpleType SimpleType_MIN = NONE; -const SimpleType SimpleType_MAX = STRUCT; -const int SimpleType_ARRAYSIZE = SimpleType_MAX + 1; - -const ::google::protobuf::EnumDescriptor* SimpleType_descriptor(); -inline const ::std::string& SimpleType_Name(SimpleType value) { - return ::google::protobuf::internal::NameOfEnum( - SimpleType_descriptor(), value); -} -inline bool SimpleType_Parse( - const ::std::string& name, SimpleType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SimpleType_descriptor(), name, value); -} -// =================================================================== - -class SchemaType_SchemaColumn final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.SchemaType.SchemaColumn) */ { - public: - SchemaType_SchemaColumn(); - virtual ~SchemaType_SchemaColumn(); - - SchemaType_SchemaColumn(const SchemaType_SchemaColumn& from); - - inline SchemaType_SchemaColumn& operator=(const SchemaType_SchemaColumn& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SchemaType_SchemaColumn(SchemaType_SchemaColumn&& from) noexcept - : SchemaType_SchemaColumn() { - *this = ::std::move(from); - } - - inline SchemaType_SchemaColumn& operator=(SchemaType_SchemaColumn&& 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 SchemaType_SchemaColumn& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SchemaType_SchemaColumn* internal_default_instance() { - return reinterpret_cast( - &_SchemaType_SchemaColumn_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(SchemaType_SchemaColumn* other); - friend void swap(SchemaType_SchemaColumn& a, SchemaType_SchemaColumn& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SchemaType_SchemaColumn* New() const final { - return CreateMaybeMessage(nullptr); - } - - SchemaType_SchemaColumn* 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 SchemaType_SchemaColumn& from); - void MergeFrom(const SchemaType_SchemaColumn& 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(SchemaType_SchemaColumn* 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 SchemaType_SchemaColumn_SchemaColumnType SchemaColumnType; - static const SchemaColumnType INTEGER = - SchemaType_SchemaColumn_SchemaColumnType_INTEGER; - static const SchemaColumnType FLOAT = - SchemaType_SchemaColumn_SchemaColumnType_FLOAT; - static const SchemaColumnType STRING = - SchemaType_SchemaColumn_SchemaColumnType_STRING; - static const SchemaColumnType BOOLEAN = - SchemaType_SchemaColumn_SchemaColumnType_BOOLEAN; - static const SchemaColumnType DATETIME = - SchemaType_SchemaColumn_SchemaColumnType_DATETIME; - static const SchemaColumnType DURATION = - SchemaType_SchemaColumn_SchemaColumnType_DURATION; - static inline bool SchemaColumnType_IsValid(int value) { - return SchemaType_SchemaColumn_SchemaColumnType_IsValid(value); - } - static const SchemaColumnType SchemaColumnType_MIN = - SchemaType_SchemaColumn_SchemaColumnType_SchemaColumnType_MIN; - static const SchemaColumnType SchemaColumnType_MAX = - SchemaType_SchemaColumn_SchemaColumnType_SchemaColumnType_MAX; - static const int SchemaColumnType_ARRAYSIZE = - SchemaType_SchemaColumn_SchemaColumnType_SchemaColumnType_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - SchemaColumnType_descriptor() { - return SchemaType_SchemaColumn_SchemaColumnType_descriptor(); - } - static inline const ::std::string& SchemaColumnType_Name(SchemaColumnType value) { - return SchemaType_SchemaColumn_SchemaColumnType_Name(value); - } - static inline bool SchemaColumnType_Parse(const ::std::string& name, - SchemaColumnType* value) { - return SchemaType_SchemaColumn_SchemaColumnType_Parse(name, value); - } - - // 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.SchemaType.SchemaColumn.SchemaColumnType type = 2; - void clear_type(); - static const int kTypeFieldNumber = 2; - ::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType type() const; - void set_type(::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.SchemaType.SchemaColumn) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - int type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class SchemaType final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.SchemaType) */ { - public: - SchemaType(); - virtual ~SchemaType(); - - SchemaType(const SchemaType& from); - - inline SchemaType& operator=(const SchemaType& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SchemaType(SchemaType&& from) noexcept - : SchemaType() { - *this = ::std::move(from); - } - - inline SchemaType& operator=(SchemaType&& 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 SchemaType& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SchemaType* internal_default_instance() { - return reinterpret_cast( - &_SchemaType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(SchemaType* other); - friend void swap(SchemaType& a, SchemaType& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SchemaType* New() const final { - return CreateMaybeMessage(nullptr); - } - - SchemaType* 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 SchemaType& from); - void MergeFrom(const SchemaType& 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(SchemaType* 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 SchemaType_SchemaColumn SchemaColumn; - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - int columns_size() const; - void clear_columns(); - static const int kColumnsFieldNumber = 3; - ::flyteidl::core::SchemaType_SchemaColumn* mutable_columns(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::SchemaType_SchemaColumn >* - mutable_columns(); - const ::flyteidl::core::SchemaType_SchemaColumn& columns(int index) const; - ::flyteidl::core::SchemaType_SchemaColumn* add_columns(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::SchemaType_SchemaColumn >& - columns() const; - - // @@protoc_insertion_point(class_scope:flyteidl.core.SchemaType) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::SchemaType_SchemaColumn > columns_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class StructuredDatasetType_DatasetColumn final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.StructuredDatasetType.DatasetColumn) */ { - public: - StructuredDatasetType_DatasetColumn(); - virtual ~StructuredDatasetType_DatasetColumn(); - - StructuredDatasetType_DatasetColumn(const StructuredDatasetType_DatasetColumn& from); - - inline StructuredDatasetType_DatasetColumn& operator=(const StructuredDatasetType_DatasetColumn& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - StructuredDatasetType_DatasetColumn(StructuredDatasetType_DatasetColumn&& from) noexcept - : StructuredDatasetType_DatasetColumn() { - *this = ::std::move(from); - } - - inline StructuredDatasetType_DatasetColumn& operator=(StructuredDatasetType_DatasetColumn&& 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 StructuredDatasetType_DatasetColumn& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const StructuredDatasetType_DatasetColumn* internal_default_instance() { - return reinterpret_cast( - &_StructuredDatasetType_DatasetColumn_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(StructuredDatasetType_DatasetColumn* other); - friend void swap(StructuredDatasetType_DatasetColumn& a, StructuredDatasetType_DatasetColumn& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline StructuredDatasetType_DatasetColumn* New() const final { - return CreateMaybeMessage(nullptr); - } - - StructuredDatasetType_DatasetColumn* 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 StructuredDatasetType_DatasetColumn& from); - void MergeFrom(const StructuredDatasetType_DatasetColumn& 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(StructuredDatasetType_DatasetColumn* 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 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.LiteralType literal_type = 2; - bool has_literal_type() const; - void clear_literal_type(); - static const int kLiteralTypeFieldNumber = 2; - const ::flyteidl::core::LiteralType& literal_type() const; - ::flyteidl::core::LiteralType* release_literal_type(); - ::flyteidl::core::LiteralType* mutable_literal_type(); - void set_allocated_literal_type(::flyteidl::core::LiteralType* literal_type); - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDatasetType.DatasetColumn) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flyteidl::core::LiteralType* literal_type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class StructuredDatasetType final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.StructuredDatasetType) */ { - public: - StructuredDatasetType(); - virtual ~StructuredDatasetType(); - - StructuredDatasetType(const StructuredDatasetType& from); - - inline StructuredDatasetType& operator=(const StructuredDatasetType& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - StructuredDatasetType(StructuredDatasetType&& from) noexcept - : StructuredDatasetType() { - *this = ::std::move(from); - } - - inline StructuredDatasetType& operator=(StructuredDatasetType&& 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 StructuredDatasetType& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const StructuredDatasetType* internal_default_instance() { - return reinterpret_cast( - &_StructuredDatasetType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(StructuredDatasetType* other); - friend void swap(StructuredDatasetType& a, StructuredDatasetType& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline StructuredDatasetType* New() const final { - return CreateMaybeMessage(nullptr); - } - - StructuredDatasetType* 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 StructuredDatasetType& from); - void MergeFrom(const StructuredDatasetType& 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(StructuredDatasetType* 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 StructuredDatasetType_DatasetColumn DatasetColumn; - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - int columns_size() const; - void clear_columns(); - static const int kColumnsFieldNumber = 1; - ::flyteidl::core::StructuredDatasetType_DatasetColumn* mutable_columns(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::StructuredDatasetType_DatasetColumn >* - mutable_columns(); - const ::flyteidl::core::StructuredDatasetType_DatasetColumn& columns(int index) const; - ::flyteidl::core::StructuredDatasetType_DatasetColumn* add_columns(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::StructuredDatasetType_DatasetColumn >& - columns() const; - - // string format = 2; - void clear_format(); - static const int kFormatFieldNumber = 2; - const ::std::string& format() const; - void set_format(const ::std::string& value); - #if LANG_CXX11 - void set_format(::std::string&& value); - #endif - void set_format(const char* value); - void set_format(const char* value, size_t size); - ::std::string* mutable_format(); - ::std::string* release_format(); - void set_allocated_format(::std::string* format); - - // string external_schema_type = 3; - void clear_external_schema_type(); - static const int kExternalSchemaTypeFieldNumber = 3; - const ::std::string& external_schema_type() const; - void set_external_schema_type(const ::std::string& value); - #if LANG_CXX11 - void set_external_schema_type(::std::string&& value); - #endif - void set_external_schema_type(const char* value); - void set_external_schema_type(const char* value, size_t size); - ::std::string* mutable_external_schema_type(); - ::std::string* release_external_schema_type(); - void set_allocated_external_schema_type(::std::string* external_schema_type); - - // bytes external_schema_bytes = 4; - void clear_external_schema_bytes(); - static const int kExternalSchemaBytesFieldNumber = 4; - const ::std::string& external_schema_bytes() const; - void set_external_schema_bytes(const ::std::string& value); - #if LANG_CXX11 - void set_external_schema_bytes(::std::string&& value); - #endif - void set_external_schema_bytes(const char* value); - void set_external_schema_bytes(const void* value, size_t size); - ::std::string* mutable_external_schema_bytes(); - ::std::string* release_external_schema_bytes(); - void set_allocated_external_schema_bytes(::std::string* external_schema_bytes); - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDatasetType) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::StructuredDatasetType_DatasetColumn > columns_; - ::google::protobuf::internal::ArenaStringPtr format_; - ::google::protobuf::internal::ArenaStringPtr external_schema_type_; - ::google::protobuf::internal::ArenaStringPtr external_schema_bytes_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class BlobType final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.BlobType) */ { - public: - BlobType(); - virtual ~BlobType(); - - BlobType(const BlobType& from); - - inline BlobType& operator=(const BlobType& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BlobType(BlobType&& from) noexcept - : BlobType() { - *this = ::std::move(from); - } - - inline BlobType& operator=(BlobType&& 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 BlobType& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BlobType* internal_default_instance() { - return reinterpret_cast( - &_BlobType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(BlobType* other); - friend void swap(BlobType& a, BlobType& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BlobType* New() const final { - return CreateMaybeMessage(nullptr); - } - - BlobType* 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 BlobType& from); - void MergeFrom(const BlobType& 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(BlobType* 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 BlobType_BlobDimensionality BlobDimensionality; - static const BlobDimensionality SINGLE = - BlobType_BlobDimensionality_SINGLE; - static const BlobDimensionality MULTIPART = - BlobType_BlobDimensionality_MULTIPART; - static inline bool BlobDimensionality_IsValid(int value) { - return BlobType_BlobDimensionality_IsValid(value); - } - static const BlobDimensionality BlobDimensionality_MIN = - BlobType_BlobDimensionality_BlobDimensionality_MIN; - static const BlobDimensionality BlobDimensionality_MAX = - BlobType_BlobDimensionality_BlobDimensionality_MAX; - static const int BlobDimensionality_ARRAYSIZE = - BlobType_BlobDimensionality_BlobDimensionality_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - BlobDimensionality_descriptor() { - return BlobType_BlobDimensionality_descriptor(); - } - static inline const ::std::string& BlobDimensionality_Name(BlobDimensionality value) { - return BlobType_BlobDimensionality_Name(value); - } - static inline bool BlobDimensionality_Parse(const ::std::string& name, - BlobDimensionality* value) { - return BlobType_BlobDimensionality_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // string format = 1; - void clear_format(); - static const int kFormatFieldNumber = 1; - const ::std::string& format() const; - void set_format(const ::std::string& value); - #if LANG_CXX11 - void set_format(::std::string&& value); - #endif - void set_format(const char* value); - void set_format(const char* value, size_t size); - ::std::string* mutable_format(); - ::std::string* release_format(); - void set_allocated_format(::std::string* format); - - // .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - void clear_dimensionality(); - static const int kDimensionalityFieldNumber = 2; - ::flyteidl::core::BlobType_BlobDimensionality dimensionality() const; - void set_dimensionality(::flyteidl::core::BlobType_BlobDimensionality value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.BlobType) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr format_; - int dimensionality_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class EnumType final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.EnumType) */ { - public: - EnumType(); - virtual ~EnumType(); - - EnumType(const EnumType& from); - - inline EnumType& operator=(const EnumType& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - EnumType(EnumType&& from) noexcept - : EnumType() { - *this = ::std::move(from); - } - - inline EnumType& operator=(EnumType&& 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 EnumType& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EnumType* internal_default_instance() { - return reinterpret_cast( - &_EnumType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(EnumType* other); - friend void swap(EnumType& a, EnumType& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline EnumType* New() const final { - return CreateMaybeMessage(nullptr); - } - - EnumType* 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 EnumType& from); - void MergeFrom(const EnumType& 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(EnumType* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string values = 1; - int values_size() const; - void clear_values(); - static const int kValuesFieldNumber = 1; - const ::std::string& values(int index) const; - ::std::string* mutable_values(int index); - void set_values(int index, const ::std::string& value); - #if LANG_CXX11 - void set_values(int index, ::std::string&& value); - #endif - void set_values(int index, const char* value); - void set_values(int index, const char* value, size_t size); - ::std::string* add_values(); - void add_values(const ::std::string& value); - #if LANG_CXX11 - void add_values(::std::string&& value); - #endif - void add_values(const char* value); - void add_values(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& values() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_values(); - - // @@protoc_insertion_point(class_scope:flyteidl.core.EnumType) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> values_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class UnionType final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.UnionType) */ { - public: - UnionType(); - virtual ~UnionType(); - - UnionType(const UnionType& from); - - inline UnionType& operator=(const UnionType& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UnionType(UnionType&& from) noexcept - : UnionType() { - *this = ::std::move(from); - } - - inline UnionType& operator=(UnionType&& 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 UnionType& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UnionType* internal_default_instance() { - return reinterpret_cast( - &_UnionType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(UnionType* other); - friend void swap(UnionType& a, UnionType& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UnionType* New() const final { - return CreateMaybeMessage(nullptr); - } - - UnionType* 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 UnionType& from); - void MergeFrom(const UnionType& 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(UnionType* 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.LiteralType variants = 1; - int variants_size() const; - void clear_variants(); - static const int kVariantsFieldNumber = 1; - ::flyteidl::core::LiteralType* mutable_variants(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::LiteralType >* - mutable_variants(); - const ::flyteidl::core::LiteralType& variants(int index) const; - ::flyteidl::core::LiteralType* add_variants(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::LiteralType >& - variants() const; - - // @@protoc_insertion_point(class_scope:flyteidl.core.UnionType) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::LiteralType > variants_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class TypeStructure_DataclassTypeEntry_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; - TypeStructure_DataclassTypeEntry_DoNotUse(); - TypeStructure_DataclassTypeEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const TypeStructure_DataclassTypeEntry_DoNotUse& other); - static const TypeStructure_DataclassTypeEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_TypeStructure_DataclassTypeEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class TypeStructure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TypeStructure) */ { - public: - TypeStructure(); - virtual ~TypeStructure(); - - TypeStructure(const TypeStructure& from); - - inline TypeStructure& operator=(const TypeStructure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TypeStructure(TypeStructure&& from) noexcept - : TypeStructure() { - *this = ::std::move(from); - } - - inline TypeStructure& operator=(TypeStructure&& 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 TypeStructure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TypeStructure* internal_default_instance() { - return reinterpret_cast( - &_TypeStructure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(TypeStructure* other); - friend void swap(TypeStructure& a, TypeStructure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TypeStructure* New() const final { - return CreateMaybeMessage(nullptr); - } - - TypeStructure* 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 TypeStructure& from); - void MergeFrom(const TypeStructure& 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(TypeStructure* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map dataclass_type = 2; - int dataclass_type_size() const; - void clear_dataclass_type(); - static const int kDataclassTypeFieldNumber = 2; - const ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >& - dataclass_type() const; - ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >* - mutable_dataclass_type(); - - // string tag = 1; - void clear_tag(); - static const int kTagFieldNumber = 1; - const ::std::string& tag() const; - void set_tag(const ::std::string& value); - #if LANG_CXX11 - void set_tag(::std::string&& value); - #endif - void set_tag(const char* value); - void set_tag(const char* value, size_t size); - ::std::string* mutable_tag(); - ::std::string* release_tag(); - void set_allocated_tag(::std::string* tag); - - // @@protoc_insertion_point(class_scope:flyteidl.core.TypeStructure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - TypeStructure_DataclassTypeEntry_DoNotUse, - ::std::string, ::flyteidl::core::LiteralType, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, - 0 > dataclass_type_; - ::google::protobuf::internal::ArenaStringPtr tag_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class TypeAnnotation final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TypeAnnotation) */ { - public: - TypeAnnotation(); - virtual ~TypeAnnotation(); - - TypeAnnotation(const TypeAnnotation& from); - - inline TypeAnnotation& operator=(const TypeAnnotation& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TypeAnnotation(TypeAnnotation&& from) noexcept - : TypeAnnotation() { - *this = ::std::move(from); - } - - inline TypeAnnotation& operator=(TypeAnnotation&& 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 TypeAnnotation& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TypeAnnotation* internal_default_instance() { - return reinterpret_cast( - &_TypeAnnotation_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(TypeAnnotation* other); - friend void swap(TypeAnnotation& a, TypeAnnotation& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TypeAnnotation* New() const final { - return CreateMaybeMessage(nullptr); - } - - TypeAnnotation* 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 TypeAnnotation& from); - void MergeFrom(const TypeAnnotation& 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(TypeAnnotation* 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 ------------------------------------------------------- - - // .google.protobuf.Struct annotations = 1; - bool has_annotations() const; - void clear_annotations(); - static const int kAnnotationsFieldNumber = 1; - const ::google::protobuf::Struct& annotations() const; - ::google::protobuf::Struct* release_annotations(); - ::google::protobuf::Struct* mutable_annotations(); - void set_allocated_annotations(::google::protobuf::Struct* annotations); - - // @@protoc_insertion_point(class_scope:flyteidl.core.TypeAnnotation) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::Struct* annotations_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class LiteralType final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.LiteralType) */ { - public: - LiteralType(); - virtual ~LiteralType(); - - LiteralType(const LiteralType& from); - - inline LiteralType& operator=(const LiteralType& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - LiteralType(LiteralType&& from) noexcept - : LiteralType() { - *this = ::std::move(from); - } - - inline LiteralType& operator=(LiteralType&& 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 LiteralType& default_instance(); - - enum TypeCase { - kSimple = 1, - kSchema = 2, - kCollectionType = 3, - kMapValueType = 4, - kBlob = 5, - kEnumType = 7, - kStructuredDatasetType = 8, - kUnionType = 10, - TYPE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const LiteralType* internal_default_instance() { - return reinterpret_cast( - &_LiteralType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(LiteralType* other); - friend void swap(LiteralType& a, LiteralType& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline LiteralType* New() const final { - return CreateMaybeMessage(nullptr); - } - - LiteralType* 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 LiteralType& from); - void MergeFrom(const LiteralType& 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(LiteralType* 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 ------------------------------------------------------- - - // .google.protobuf.Struct metadata = 6; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 6; - const ::google::protobuf::Struct& metadata() const; - ::google::protobuf::Struct* release_metadata(); - ::google::protobuf::Struct* mutable_metadata(); - void set_allocated_metadata(::google::protobuf::Struct* metadata); - - // .flyteidl.core.TypeAnnotation annotation = 9; - bool has_annotation() const; - void clear_annotation(); - static const int kAnnotationFieldNumber = 9; - const ::flyteidl::core::TypeAnnotation& annotation() const; - ::flyteidl::core::TypeAnnotation* release_annotation(); - ::flyteidl::core::TypeAnnotation* mutable_annotation(); - void set_allocated_annotation(::flyteidl::core::TypeAnnotation* annotation); - - // .flyteidl.core.TypeStructure structure = 11; - bool has_structure() const; - void clear_structure(); - static const int kStructureFieldNumber = 11; - const ::flyteidl::core::TypeStructure& structure() const; - ::flyteidl::core::TypeStructure* release_structure(); - ::flyteidl::core::TypeStructure* mutable_structure(); - void set_allocated_structure(::flyteidl::core::TypeStructure* structure); - - // .flyteidl.core.SimpleType simple = 1; - private: - bool has_simple() const; - public: - void clear_simple(); - static const int kSimpleFieldNumber = 1; - ::flyteidl::core::SimpleType simple() const; - void set_simple(::flyteidl::core::SimpleType value); - - // .flyteidl.core.SchemaType schema = 2; - bool has_schema() const; - void clear_schema(); - static const int kSchemaFieldNumber = 2; - const ::flyteidl::core::SchemaType& schema() const; - ::flyteidl::core::SchemaType* release_schema(); - ::flyteidl::core::SchemaType* mutable_schema(); - void set_allocated_schema(::flyteidl::core::SchemaType* schema); - - // .flyteidl.core.LiteralType collection_type = 3; - bool has_collection_type() const; - void clear_collection_type(); - static const int kCollectionTypeFieldNumber = 3; - const ::flyteidl::core::LiteralType& collection_type() const; - ::flyteidl::core::LiteralType* release_collection_type(); - ::flyteidl::core::LiteralType* mutable_collection_type(); - void set_allocated_collection_type(::flyteidl::core::LiteralType* collection_type); - - // .flyteidl.core.LiteralType map_value_type = 4; - bool has_map_value_type() const; - void clear_map_value_type(); - static const int kMapValueTypeFieldNumber = 4; - const ::flyteidl::core::LiteralType& map_value_type() const; - ::flyteidl::core::LiteralType* release_map_value_type(); - ::flyteidl::core::LiteralType* mutable_map_value_type(); - void set_allocated_map_value_type(::flyteidl::core::LiteralType* map_value_type); - - // .flyteidl.core.BlobType blob = 5; - bool has_blob() const; - void clear_blob(); - static const int kBlobFieldNumber = 5; - const ::flyteidl::core::BlobType& blob() const; - ::flyteidl::core::BlobType* release_blob(); - ::flyteidl::core::BlobType* mutable_blob(); - void set_allocated_blob(::flyteidl::core::BlobType* blob); - - // .flyteidl.core.EnumType enum_type = 7; - bool has_enum_type() const; - void clear_enum_type(); - static const int kEnumTypeFieldNumber = 7; - const ::flyteidl::core::EnumType& enum_type() const; - ::flyteidl::core::EnumType* release_enum_type(); - ::flyteidl::core::EnumType* mutable_enum_type(); - void set_allocated_enum_type(::flyteidl::core::EnumType* enum_type); - - // .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - bool has_structured_dataset_type() const; - void clear_structured_dataset_type(); - static const int kStructuredDatasetTypeFieldNumber = 8; - const ::flyteidl::core::StructuredDatasetType& structured_dataset_type() const; - ::flyteidl::core::StructuredDatasetType* release_structured_dataset_type(); - ::flyteidl::core::StructuredDatasetType* mutable_structured_dataset_type(); - void set_allocated_structured_dataset_type(::flyteidl::core::StructuredDatasetType* structured_dataset_type); - - // .flyteidl.core.UnionType union_type = 10; - bool has_union_type() const; - void clear_union_type(); - static const int kUnionTypeFieldNumber = 10; - const ::flyteidl::core::UnionType& union_type() const; - ::flyteidl::core::UnionType* release_union_type(); - ::flyteidl::core::UnionType* mutable_union_type(); - void set_allocated_union_type(::flyteidl::core::UnionType* union_type); - - void clear_type(); - TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.LiteralType) - private: - class HasBitSetters; - void set_has_simple(); - void set_has_schema(); - void set_has_collection_type(); - void set_has_map_value_type(); - void set_has_blob(); - void set_has_enum_type(); - void set_has_structured_dataset_type(); - void set_has_union_type(); - - inline bool has_type() const; - inline void clear_has_type(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::Struct* metadata_; - ::flyteidl::core::TypeAnnotation* annotation_; - ::flyteidl::core::TypeStructure* structure_; - union TypeUnion { - TypeUnion() {} - int simple_; - ::flyteidl::core::SchemaType* schema_; - ::flyteidl::core::LiteralType* collection_type_; - ::flyteidl::core::LiteralType* map_value_type_; - ::flyteidl::core::BlobType* blob_; - ::flyteidl::core::EnumType* enum_type_; - ::flyteidl::core::StructuredDatasetType* structured_dataset_type_; - ::flyteidl::core::UnionType* union_type_; - } type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class OutputReference final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.OutputReference) */ { - public: - OutputReference(); - virtual ~OutputReference(); - - OutputReference(const OutputReference& from); - - inline OutputReference& operator=(const OutputReference& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - OutputReference(OutputReference&& from) noexcept - : OutputReference() { - *this = ::std::move(from); - } - - inline OutputReference& operator=(OutputReference&& 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 OutputReference& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const OutputReference* internal_default_instance() { - return reinterpret_cast( - &_OutputReference_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(OutputReference* other); - friend void swap(OutputReference& a, OutputReference& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline OutputReference* New() const final { - return CreateMaybeMessage(nullptr); - } - - OutputReference* 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 OutputReference& from); - void MergeFrom(const OutputReference& 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(OutputReference* 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.PromiseAttribute attr_path = 3; - int attr_path_size() const; - void clear_attr_path(); - static const int kAttrPathFieldNumber = 3; - ::flyteidl::core::PromiseAttribute* mutable_attr_path(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::PromiseAttribute >* - mutable_attr_path(); - const ::flyteidl::core::PromiseAttribute& attr_path(int index) const; - ::flyteidl::core::PromiseAttribute* add_attr_path(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::PromiseAttribute >& - attr_path() const; - - // string node_id = 1; - void clear_node_id(); - static const int kNodeIdFieldNumber = 1; - const ::std::string& node_id() const; - void set_node_id(const ::std::string& value); - #if LANG_CXX11 - void set_node_id(::std::string&& value); - #endif - void set_node_id(const char* value); - void set_node_id(const char* value, size_t size); - ::std::string* mutable_node_id(); - ::std::string* release_node_id(); - void set_allocated_node_id(::std::string* node_id); - - // string var = 2; - void clear_var(); - static const int kVarFieldNumber = 2; - const ::std::string& var() const; - void set_var(const ::std::string& value); - #if LANG_CXX11 - void set_var(::std::string&& value); - #endif - void set_var(const char* value); - void set_var(const char* value, size_t size); - ::std::string* mutable_var(); - ::std::string* release_var(); - void set_allocated_var(::std::string* var); - - // @@protoc_insertion_point(class_scope:flyteidl.core.OutputReference) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::PromiseAttribute > attr_path_; - ::google::protobuf::internal::ArenaStringPtr node_id_; - ::google::protobuf::internal::ArenaStringPtr var_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class PromiseAttribute final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.PromiseAttribute) */ { - public: - PromiseAttribute(); - virtual ~PromiseAttribute(); - - PromiseAttribute(const PromiseAttribute& from); - - inline PromiseAttribute& operator=(const PromiseAttribute& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PromiseAttribute(PromiseAttribute&& from) noexcept - : PromiseAttribute() { - *this = ::std::move(from); - } - - inline PromiseAttribute& operator=(PromiseAttribute&& 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 PromiseAttribute& default_instance(); - - enum ValueCase { - kStringValue = 1, - kIntValue = 2, - VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PromiseAttribute* internal_default_instance() { - return reinterpret_cast( - &_PromiseAttribute_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(PromiseAttribute* other); - friend void swap(PromiseAttribute& a, PromiseAttribute& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PromiseAttribute* New() const final { - return CreateMaybeMessage(nullptr); - } - - PromiseAttribute* 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 PromiseAttribute& from); - void MergeFrom(const PromiseAttribute& 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(PromiseAttribute* 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 string_value = 1; - private: - bool has_string_value() const; - public: - void clear_string_value(); - static const int kStringValueFieldNumber = 1; - const ::std::string& string_value() const; - void set_string_value(const ::std::string& value); - #if LANG_CXX11 - void set_string_value(::std::string&& value); - #endif - void set_string_value(const char* value); - void set_string_value(const char* value, size_t size); - ::std::string* mutable_string_value(); - ::std::string* release_string_value(); - void set_allocated_string_value(::std::string* string_value); - - // int32 int_value = 2; - private: - bool has_int_value() const; - public: - void clear_int_value(); - static const int kIntValueFieldNumber = 2; - ::google::protobuf::int32 int_value() const; - void set_int_value(::google::protobuf::int32 value); - - void clear_value(); - ValueCase value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.PromiseAttribute) - private: - class HasBitSetters; - void set_has_string_value(); - void set_has_int_value(); - - inline bool has_value() const; - inline void clear_has_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ValueUnion { - ValueUnion() {} - ::google::protobuf::internal::ArenaStringPtr string_value_; - ::google::protobuf::int32 int_value_; - } value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// ------------------------------------------------------------------- - -class Error final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Error) */ { - public: - Error(); - virtual ~Error(); - - Error(const Error& from); - - inline Error& operator=(const Error& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Error(Error&& from) noexcept - : Error() { - *this = ::std::move(from); - } - - inline Error& operator=(Error&& 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 Error& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Error* internal_default_instance() { - return reinterpret_cast( - &_Error_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - void Swap(Error* other); - friend void swap(Error& a, Error& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Error* New() const final { - return CreateMaybeMessage(nullptr); - } - - Error* 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 Error& from); - void MergeFrom(const Error& 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(Error* 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 failed_node_id = 1; - void clear_failed_node_id(); - static const int kFailedNodeIdFieldNumber = 1; - const ::std::string& failed_node_id() const; - void set_failed_node_id(const ::std::string& value); - #if LANG_CXX11 - void set_failed_node_id(::std::string&& value); - #endif - void set_failed_node_id(const char* value); - void set_failed_node_id(const char* value, size_t size); - ::std::string* mutable_failed_node_id(); - ::std::string* release_failed_node_id(); - void set_allocated_failed_node_id(::std::string* failed_node_id); - - // 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); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Error) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr failed_node_id_; - ::google::protobuf::internal::ArenaStringPtr message_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2ftypes_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// SchemaType_SchemaColumn - -// string name = 1; -inline void SchemaType_SchemaColumn::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SchemaType_SchemaColumn::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.SchemaType.SchemaColumn.name) - return name_.GetNoArena(); -} -inline void SchemaType_SchemaColumn::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.SchemaType.SchemaColumn.name) -} -#if LANG_CXX11 -inline void SchemaType_SchemaColumn::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.SchemaType.SchemaColumn.name) -} -#endif -inline void SchemaType_SchemaColumn::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.SchemaType.SchemaColumn.name) -} -inline void SchemaType_SchemaColumn::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.SchemaType.SchemaColumn.name) -} -inline ::std::string* SchemaType_SchemaColumn::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.SchemaType.SchemaColumn.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SchemaType_SchemaColumn::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.SchemaType.SchemaColumn.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SchemaType_SchemaColumn::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SchemaType.SchemaColumn.name) -} - -// .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; -inline void SchemaType_SchemaColumn::clear_type() { - type_ = 0; -} -inline ::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType SchemaType_SchemaColumn::type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.SchemaType.SchemaColumn.type) - return static_cast< ::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType >(type_); -} -inline void SchemaType_SchemaColumn::set_type(::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType value) { - - type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.SchemaType.SchemaColumn.type) -} - -// ------------------------------------------------------------------- - -// SchemaType - -// repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; -inline int SchemaType::columns_size() const { - return columns_.size(); -} -inline void SchemaType::clear_columns() { - columns_.Clear(); -} -inline ::flyteidl::core::SchemaType_SchemaColumn* SchemaType::mutable_columns(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.SchemaType.columns) - return columns_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::SchemaType_SchemaColumn >* -SchemaType::mutable_columns() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.SchemaType.columns) - return &columns_; -} -inline const ::flyteidl::core::SchemaType_SchemaColumn& SchemaType::columns(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.SchemaType.columns) - return columns_.Get(index); -} -inline ::flyteidl::core::SchemaType_SchemaColumn* SchemaType::add_columns() { - // @@protoc_insertion_point(field_add:flyteidl.core.SchemaType.columns) - return columns_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::SchemaType_SchemaColumn >& -SchemaType::columns() const { - // @@protoc_insertion_point(field_list:flyteidl.core.SchemaType.columns) - return columns_; -} - -// ------------------------------------------------------------------- - -// StructuredDatasetType_DatasetColumn - -// string name = 1; -inline void StructuredDatasetType_DatasetColumn::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& StructuredDatasetType_DatasetColumn::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDatasetType.DatasetColumn.name) - return name_.GetNoArena(); -} -inline void StructuredDatasetType_DatasetColumn::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.StructuredDatasetType.DatasetColumn.name) -} -#if LANG_CXX11 -inline void StructuredDatasetType_DatasetColumn::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.StructuredDatasetType.DatasetColumn.name) -} -#endif -inline void StructuredDatasetType_DatasetColumn::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.StructuredDatasetType.DatasetColumn.name) -} -inline void StructuredDatasetType_DatasetColumn::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.StructuredDatasetType.DatasetColumn.name) -} -inline ::std::string* StructuredDatasetType_DatasetColumn::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDatasetType.DatasetColumn.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* StructuredDatasetType_DatasetColumn::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDatasetType.DatasetColumn.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void StructuredDatasetType_DatasetColumn::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDatasetType.DatasetColumn.name) -} - -// .flyteidl.core.LiteralType literal_type = 2; -inline bool StructuredDatasetType_DatasetColumn::has_literal_type() const { - return this != internal_default_instance() && literal_type_ != nullptr; -} -inline void StructuredDatasetType_DatasetColumn::clear_literal_type() { - if (GetArenaNoVirtual() == nullptr && literal_type_ != nullptr) { - delete literal_type_; - } - literal_type_ = nullptr; -} -inline const ::flyteidl::core::LiteralType& StructuredDatasetType_DatasetColumn::literal_type() const { - const ::flyteidl::core::LiteralType* p = literal_type_; - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDatasetType.DatasetColumn.literal_type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* StructuredDatasetType_DatasetColumn::release_literal_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDatasetType.DatasetColumn.literal_type) - - ::flyteidl::core::LiteralType* temp = literal_type_; - literal_type_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralType* StructuredDatasetType_DatasetColumn::mutable_literal_type() { - - if (literal_type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); - literal_type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDatasetType.DatasetColumn.literal_type) - return literal_type_; -} -inline void StructuredDatasetType_DatasetColumn::set_allocated_literal_type(::flyteidl::core::LiteralType* literal_type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete literal_type_; - } - if (literal_type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - literal_type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, literal_type, submessage_arena); - } - - } else { - - } - literal_type_ = literal_type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDatasetType.DatasetColumn.literal_type) -} - -// ------------------------------------------------------------------- - -// StructuredDatasetType - -// repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; -inline int StructuredDatasetType::columns_size() const { - return columns_.size(); -} -inline void StructuredDatasetType::clear_columns() { - columns_.Clear(); -} -inline ::flyteidl::core::StructuredDatasetType_DatasetColumn* StructuredDatasetType::mutable_columns(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDatasetType.columns) - return columns_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::StructuredDatasetType_DatasetColumn >* -StructuredDatasetType::mutable_columns() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.StructuredDatasetType.columns) - return &columns_; -} -inline const ::flyteidl::core::StructuredDatasetType_DatasetColumn& StructuredDatasetType::columns(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDatasetType.columns) - return columns_.Get(index); -} -inline ::flyteidl::core::StructuredDatasetType_DatasetColumn* StructuredDatasetType::add_columns() { - // @@protoc_insertion_point(field_add:flyteidl.core.StructuredDatasetType.columns) - return columns_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::StructuredDatasetType_DatasetColumn >& -StructuredDatasetType::columns() const { - // @@protoc_insertion_point(field_list:flyteidl.core.StructuredDatasetType.columns) - return columns_; -} - -// string format = 2; -inline void StructuredDatasetType::clear_format() { - format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& StructuredDatasetType::format() const { - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDatasetType.format) - return format_.GetNoArena(); -} -inline void StructuredDatasetType::set_format(const ::std::string& value) { - - format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.StructuredDatasetType.format) -} -#if LANG_CXX11 -inline void StructuredDatasetType::set_format(::std::string&& value) { - - format_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.StructuredDatasetType.format) -} -#endif -inline void StructuredDatasetType::set_format(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.StructuredDatasetType.format) -} -inline void StructuredDatasetType::set_format(const char* value, size_t size) { - - format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.StructuredDatasetType.format) -} -inline ::std::string* StructuredDatasetType::mutable_format() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDatasetType.format) - return format_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* StructuredDatasetType::release_format() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDatasetType.format) - - return format_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void StructuredDatasetType::set_allocated_format(::std::string* format) { - if (format != nullptr) { - - } else { - - } - format_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), format); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDatasetType.format) -} - -// string external_schema_type = 3; -inline void StructuredDatasetType::clear_external_schema_type() { - external_schema_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& StructuredDatasetType::external_schema_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDatasetType.external_schema_type) - return external_schema_type_.GetNoArena(); -} -inline void StructuredDatasetType::set_external_schema_type(const ::std::string& value) { - - external_schema_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.StructuredDatasetType.external_schema_type) -} -#if LANG_CXX11 -inline void StructuredDatasetType::set_external_schema_type(::std::string&& value) { - - external_schema_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.StructuredDatasetType.external_schema_type) -} -#endif -inline void StructuredDatasetType::set_external_schema_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - external_schema_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.StructuredDatasetType.external_schema_type) -} -inline void StructuredDatasetType::set_external_schema_type(const char* value, size_t size) { - - external_schema_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.StructuredDatasetType.external_schema_type) -} -inline ::std::string* StructuredDatasetType::mutable_external_schema_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDatasetType.external_schema_type) - return external_schema_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* StructuredDatasetType::release_external_schema_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDatasetType.external_schema_type) - - return external_schema_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void StructuredDatasetType::set_allocated_external_schema_type(::std::string* external_schema_type) { - if (external_schema_type != nullptr) { - - } else { - - } - external_schema_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), external_schema_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDatasetType.external_schema_type) -} - -// bytes external_schema_bytes = 4; -inline void StructuredDatasetType::clear_external_schema_bytes() { - external_schema_bytes_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& StructuredDatasetType::external_schema_bytes() const { - // @@protoc_insertion_point(field_get:flyteidl.core.StructuredDatasetType.external_schema_bytes) - return external_schema_bytes_.GetNoArena(); -} -inline void StructuredDatasetType::set_external_schema_bytes(const ::std::string& value) { - - external_schema_bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.StructuredDatasetType.external_schema_bytes) -} -#if LANG_CXX11 -inline void StructuredDatasetType::set_external_schema_bytes(::std::string&& value) { - - external_schema_bytes_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.StructuredDatasetType.external_schema_bytes) -} -#endif -inline void StructuredDatasetType::set_external_schema_bytes(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - external_schema_bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.StructuredDatasetType.external_schema_bytes) -} -inline void StructuredDatasetType::set_external_schema_bytes(const void* value, size_t size) { - - external_schema_bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.StructuredDatasetType.external_schema_bytes) -} -inline ::std::string* StructuredDatasetType::mutable_external_schema_bytes() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.StructuredDatasetType.external_schema_bytes) - return external_schema_bytes_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* StructuredDatasetType::release_external_schema_bytes() { - // @@protoc_insertion_point(field_release:flyteidl.core.StructuredDatasetType.external_schema_bytes) - - return external_schema_bytes_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void StructuredDatasetType::set_allocated_external_schema_bytes(::std::string* external_schema_bytes) { - if (external_schema_bytes != nullptr) { - - } else { - - } - external_schema_bytes_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), external_schema_bytes); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.StructuredDatasetType.external_schema_bytes) -} - -// ------------------------------------------------------------------- - -// BlobType - -// string format = 1; -inline void BlobType::clear_format() { - format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& BlobType::format() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BlobType.format) - return format_.GetNoArena(); -} -inline void BlobType::set_format(const ::std::string& value) { - - format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.BlobType.format) -} -#if LANG_CXX11 -inline void BlobType::set_format(::std::string&& value) { - - format_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.BlobType.format) -} -#endif -inline void BlobType::set_format(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.BlobType.format) -} -inline void BlobType::set_format(const char* value, size_t size) { - - format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.BlobType.format) -} -inline ::std::string* BlobType::mutable_format() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.BlobType.format) - return format_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* BlobType::release_format() { - // @@protoc_insertion_point(field_release:flyteidl.core.BlobType.format) - - return format_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void BlobType::set_allocated_format(::std::string* format) { - if (format != nullptr) { - - } else { - - } - format_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), format); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BlobType.format) -} - -// .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; -inline void BlobType::clear_dimensionality() { - dimensionality_ = 0; -} -inline ::flyteidl::core::BlobType_BlobDimensionality BlobType::dimensionality() const { - // @@protoc_insertion_point(field_get:flyteidl.core.BlobType.dimensionality) - return static_cast< ::flyteidl::core::BlobType_BlobDimensionality >(dimensionality_); -} -inline void BlobType::set_dimensionality(::flyteidl::core::BlobType_BlobDimensionality value) { - - dimensionality_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.BlobType.dimensionality) -} - -// ------------------------------------------------------------------- - -// EnumType - -// repeated string values = 1; -inline int EnumType::values_size() const { - return values_.size(); -} -inline void EnumType::clear_values() { - values_.Clear(); -} -inline const ::std::string& EnumType::values(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.EnumType.values) - return values_.Get(index); -} -inline ::std::string* EnumType::mutable_values(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.EnumType.values) - return values_.Mutable(index); -} -inline void EnumType::set_values(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.EnumType.values) - values_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void EnumType::set_values(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.EnumType.values) - values_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void EnumType::set_values(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - values_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.core.EnumType.values) -} -inline void EnumType::set_values(int index, const char* value, size_t size) { - values_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.EnumType.values) -} -inline ::std::string* EnumType::add_values() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.core.EnumType.values) - return values_.Add(); -} -inline void EnumType::add_values(const ::std::string& value) { - values_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.core.EnumType.values) -} -#if LANG_CXX11 -inline void EnumType::add_values(::std::string&& value) { - values_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.core.EnumType.values) -} -#endif -inline void EnumType::add_values(const char* value) { - GOOGLE_DCHECK(value != nullptr); - values_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.core.EnumType.values) -} -inline void EnumType::add_values(const char* value, size_t size) { - values_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.core.EnumType.values) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -EnumType::values() const { - // @@protoc_insertion_point(field_list:flyteidl.core.EnumType.values) - return values_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -EnumType::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.EnumType.values) - return &values_; -} - -// ------------------------------------------------------------------- - -// UnionType - -// repeated .flyteidl.core.LiteralType variants = 1; -inline int UnionType::variants_size() const { - return variants_.size(); -} -inline void UnionType::clear_variants() { - variants_.Clear(); -} -inline ::flyteidl::core::LiteralType* UnionType::mutable_variants(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.UnionType.variants) - return variants_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::LiteralType >* -UnionType::mutable_variants() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.UnionType.variants) - return &variants_; -} -inline const ::flyteidl::core::LiteralType& UnionType::variants(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.UnionType.variants) - return variants_.Get(index); -} -inline ::flyteidl::core::LiteralType* UnionType::add_variants() { - // @@protoc_insertion_point(field_add:flyteidl.core.UnionType.variants) - return variants_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::LiteralType >& -UnionType::variants() const { - // @@protoc_insertion_point(field_list:flyteidl.core.UnionType.variants) - return variants_; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// TypeStructure - -// string tag = 1; -inline void TypeStructure::clear_tag() { - tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TypeStructure::tag() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TypeStructure.tag) - return tag_.GetNoArena(); -} -inline void TypeStructure::set_tag(const ::std::string& value) { - - tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.TypeStructure.tag) -} -#if LANG_CXX11 -inline void TypeStructure::set_tag(::std::string&& value) { - - tag_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.TypeStructure.tag) -} -#endif -inline void TypeStructure::set_tag(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.TypeStructure.tag) -} -inline void TypeStructure::set_tag(const char* value, size_t size) { - - tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.TypeStructure.tag) -} -inline ::std::string* TypeStructure::mutable_tag() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.TypeStructure.tag) - return tag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TypeStructure::release_tag() { - // @@protoc_insertion_point(field_release:flyteidl.core.TypeStructure.tag) - - return tag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TypeStructure::set_allocated_tag(::std::string* tag) { - if (tag != nullptr) { - - } else { - - } - tag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tag); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TypeStructure.tag) -} - -// map dataclass_type = 2; -inline int TypeStructure::dataclass_type_size() const { - return dataclass_type_.size(); -} -inline void TypeStructure::clear_dataclass_type() { - dataclass_type_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >& -TypeStructure::dataclass_type() const { - // @@protoc_insertion_point(field_map:flyteidl.core.TypeStructure.dataclass_type) - return dataclass_type_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::flyteidl::core::LiteralType >* -TypeStructure::mutable_dataclass_type() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.TypeStructure.dataclass_type) - return dataclass_type_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// TypeAnnotation - -// .google.protobuf.Struct annotations = 1; -inline bool TypeAnnotation::has_annotations() const { - return this != internal_default_instance() && annotations_ != nullptr; -} -inline const ::google::protobuf::Struct& TypeAnnotation::annotations() const { - const ::google::protobuf::Struct* p = annotations_; - // @@protoc_insertion_point(field_get:flyteidl.core.TypeAnnotation.annotations) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* TypeAnnotation::release_annotations() { - // @@protoc_insertion_point(field_release:flyteidl.core.TypeAnnotation.annotations) - - ::google::protobuf::Struct* temp = annotations_; - annotations_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* TypeAnnotation::mutable_annotations() { - - if (annotations_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - annotations_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TypeAnnotation.annotations) - return annotations_; -} -inline void TypeAnnotation::set_allocated_annotations(::google::protobuf::Struct* annotations) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(annotations_); - } - if (annotations) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(annotations)->GetArena(); - if (message_arena != submessage_arena) { - annotations = ::google::protobuf::internal::GetOwnedMessage( - message_arena, annotations, submessage_arena); - } - - } else { - - } - annotations_ = annotations; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TypeAnnotation.annotations) -} - -// ------------------------------------------------------------------- - -// LiteralType - -// .flyteidl.core.SimpleType simple = 1; -inline bool LiteralType::has_simple() const { - return type_case() == kSimple; -} -inline void LiteralType::set_has_simple() { - _oneof_case_[0] = kSimple; -} -inline void LiteralType::clear_simple() { - if (has_simple()) { - type_.simple_ = 0; - clear_has_type(); - } -} -inline ::flyteidl::core::SimpleType LiteralType::simple() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.simple) - if (has_simple()) { - return static_cast< ::flyteidl::core::SimpleType >(type_.simple_); - } - return static_cast< ::flyteidl::core::SimpleType >(0); -} -inline void LiteralType::set_simple(::flyteidl::core::SimpleType value) { - if (!has_simple()) { - clear_type(); - set_has_simple(); - } - type_.simple_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.LiteralType.simple) -} - -// .flyteidl.core.SchemaType schema = 2; -inline bool LiteralType::has_schema() const { - return type_case() == kSchema; -} -inline void LiteralType::set_has_schema() { - _oneof_case_[0] = kSchema; -} -inline void LiteralType::clear_schema() { - if (has_schema()) { - delete type_.schema_; - clear_has_type(); - } -} -inline ::flyteidl::core::SchemaType* LiteralType::release_schema() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.schema) - if (has_schema()) { - clear_has_type(); - ::flyteidl::core::SchemaType* temp = type_.schema_; - type_.schema_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::SchemaType& LiteralType::schema() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.schema) - return has_schema() - ? *type_.schema_ - : *reinterpret_cast< ::flyteidl::core::SchemaType*>(&::flyteidl::core::_SchemaType_default_instance_); -} -inline ::flyteidl::core::SchemaType* LiteralType::mutable_schema() { - if (!has_schema()) { - clear_type(); - set_has_schema(); - type_.schema_ = CreateMaybeMessage< ::flyteidl::core::SchemaType >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.schema) - return type_.schema_; -} - -// .flyteidl.core.LiteralType collection_type = 3; -inline bool LiteralType::has_collection_type() const { - return type_case() == kCollectionType; -} -inline void LiteralType::set_has_collection_type() { - _oneof_case_[0] = kCollectionType; -} -inline void LiteralType::clear_collection_type() { - if (has_collection_type()) { - delete type_.collection_type_; - clear_has_type(); - } -} -inline ::flyteidl::core::LiteralType* LiteralType::release_collection_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.collection_type) - if (has_collection_type()) { - clear_has_type(); - ::flyteidl::core::LiteralType* temp = type_.collection_type_; - type_.collection_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralType& LiteralType::collection_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.collection_type) - return has_collection_type() - ? *type_.collection_type_ - : *reinterpret_cast< ::flyteidl::core::LiteralType*>(&::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* LiteralType::mutable_collection_type() { - if (!has_collection_type()) { - clear_type(); - set_has_collection_type(); - type_.collection_type_ = CreateMaybeMessage< ::flyteidl::core::LiteralType >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.collection_type) - return type_.collection_type_; -} - -// .flyteidl.core.LiteralType map_value_type = 4; -inline bool LiteralType::has_map_value_type() const { - return type_case() == kMapValueType; -} -inline void LiteralType::set_has_map_value_type() { - _oneof_case_[0] = kMapValueType; -} -inline void LiteralType::clear_map_value_type() { - if (has_map_value_type()) { - delete type_.map_value_type_; - clear_has_type(); - } -} -inline ::flyteidl::core::LiteralType* LiteralType::release_map_value_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.map_value_type) - if (has_map_value_type()) { - clear_has_type(); - ::flyteidl::core::LiteralType* temp = type_.map_value_type_; - type_.map_value_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralType& LiteralType::map_value_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.map_value_type) - return has_map_value_type() - ? *type_.map_value_type_ - : *reinterpret_cast< ::flyteidl::core::LiteralType*>(&::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* LiteralType::mutable_map_value_type() { - if (!has_map_value_type()) { - clear_type(); - set_has_map_value_type(); - type_.map_value_type_ = CreateMaybeMessage< ::flyteidl::core::LiteralType >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.map_value_type) - return type_.map_value_type_; -} - -// .flyteidl.core.BlobType blob = 5; -inline bool LiteralType::has_blob() const { - return type_case() == kBlob; -} -inline void LiteralType::set_has_blob() { - _oneof_case_[0] = kBlob; -} -inline void LiteralType::clear_blob() { - if (has_blob()) { - delete type_.blob_; - clear_has_type(); - } -} -inline ::flyteidl::core::BlobType* LiteralType::release_blob() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.blob) - if (has_blob()) { - clear_has_type(); - ::flyteidl::core::BlobType* temp = type_.blob_; - type_.blob_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::BlobType& LiteralType::blob() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.blob) - return has_blob() - ? *type_.blob_ - : *reinterpret_cast< ::flyteidl::core::BlobType*>(&::flyteidl::core::_BlobType_default_instance_); -} -inline ::flyteidl::core::BlobType* LiteralType::mutable_blob() { - if (!has_blob()) { - clear_type(); - set_has_blob(); - type_.blob_ = CreateMaybeMessage< ::flyteidl::core::BlobType >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.blob) - return type_.blob_; -} - -// .flyteidl.core.EnumType enum_type = 7; -inline bool LiteralType::has_enum_type() const { - return type_case() == kEnumType; -} -inline void LiteralType::set_has_enum_type() { - _oneof_case_[0] = kEnumType; -} -inline void LiteralType::clear_enum_type() { - if (has_enum_type()) { - delete type_.enum_type_; - clear_has_type(); - } -} -inline ::flyteidl::core::EnumType* LiteralType::release_enum_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.enum_type) - if (has_enum_type()) { - clear_has_type(); - ::flyteidl::core::EnumType* temp = type_.enum_type_; - type_.enum_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::EnumType& LiteralType::enum_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.enum_type) - return has_enum_type() - ? *type_.enum_type_ - : *reinterpret_cast< ::flyteidl::core::EnumType*>(&::flyteidl::core::_EnumType_default_instance_); -} -inline ::flyteidl::core::EnumType* LiteralType::mutable_enum_type() { - if (!has_enum_type()) { - clear_type(); - set_has_enum_type(); - type_.enum_type_ = CreateMaybeMessage< ::flyteidl::core::EnumType >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.enum_type) - return type_.enum_type_; -} - -// .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; -inline bool LiteralType::has_structured_dataset_type() const { - return type_case() == kStructuredDatasetType; -} -inline void LiteralType::set_has_structured_dataset_type() { - _oneof_case_[0] = kStructuredDatasetType; -} -inline void LiteralType::clear_structured_dataset_type() { - if (has_structured_dataset_type()) { - delete type_.structured_dataset_type_; - clear_has_type(); - } -} -inline ::flyteidl::core::StructuredDatasetType* LiteralType::release_structured_dataset_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.structured_dataset_type) - if (has_structured_dataset_type()) { - clear_has_type(); - ::flyteidl::core::StructuredDatasetType* temp = type_.structured_dataset_type_; - type_.structured_dataset_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::StructuredDatasetType& LiteralType::structured_dataset_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.structured_dataset_type) - return has_structured_dataset_type() - ? *type_.structured_dataset_type_ - : *reinterpret_cast< ::flyteidl::core::StructuredDatasetType*>(&::flyteidl::core::_StructuredDatasetType_default_instance_); -} -inline ::flyteidl::core::StructuredDatasetType* LiteralType::mutable_structured_dataset_type() { - if (!has_structured_dataset_type()) { - clear_type(); - set_has_structured_dataset_type(); - type_.structured_dataset_type_ = CreateMaybeMessage< ::flyteidl::core::StructuredDatasetType >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.structured_dataset_type) - return type_.structured_dataset_type_; -} - -// .flyteidl.core.UnionType union_type = 10; -inline bool LiteralType::has_union_type() const { - return type_case() == kUnionType; -} -inline void LiteralType::set_has_union_type() { - _oneof_case_[0] = kUnionType; -} -inline void LiteralType::clear_union_type() { - if (has_union_type()) { - delete type_.union_type_; - clear_has_type(); - } -} -inline ::flyteidl::core::UnionType* LiteralType::release_union_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.union_type) - if (has_union_type()) { - clear_has_type(); - ::flyteidl::core::UnionType* temp = type_.union_type_; - type_.union_type_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::UnionType& LiteralType::union_type() const { - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.union_type) - return has_union_type() - ? *type_.union_type_ - : *reinterpret_cast< ::flyteidl::core::UnionType*>(&::flyteidl::core::_UnionType_default_instance_); -} -inline ::flyteidl::core::UnionType* LiteralType::mutable_union_type() { - if (!has_union_type()) { - clear_type(); - set_has_union_type(); - type_.union_type_ = CreateMaybeMessage< ::flyteidl::core::UnionType >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.union_type) - return type_.union_type_; -} - -// .google.protobuf.Struct metadata = 6; -inline bool LiteralType::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline const ::google::protobuf::Struct& LiteralType::metadata() const { - const ::google::protobuf::Struct* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* LiteralType::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.metadata) - - ::google::protobuf::Struct* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* LiteralType::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.metadata) - return metadata_; -} -inline void LiteralType::set_allocated_metadata(::google::protobuf::Struct* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(metadata_); - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(metadata)->GetArena(); - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.metadata) -} - -// .flyteidl.core.TypeAnnotation annotation = 9; -inline bool LiteralType::has_annotation() const { - return this != internal_default_instance() && annotation_ != nullptr; -} -inline void LiteralType::clear_annotation() { - if (GetArenaNoVirtual() == nullptr && annotation_ != nullptr) { - delete annotation_; - } - annotation_ = nullptr; -} -inline const ::flyteidl::core::TypeAnnotation& LiteralType::annotation() const { - const ::flyteidl::core::TypeAnnotation* p = annotation_; - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.annotation) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TypeAnnotation_default_instance_); -} -inline ::flyteidl::core::TypeAnnotation* LiteralType::release_annotation() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.annotation) - - ::flyteidl::core::TypeAnnotation* temp = annotation_; - annotation_ = nullptr; - return temp; -} -inline ::flyteidl::core::TypeAnnotation* LiteralType::mutable_annotation() { - - if (annotation_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TypeAnnotation>(GetArenaNoVirtual()); - annotation_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.annotation) - return annotation_; -} -inline void LiteralType::set_allocated_annotation(::flyteidl::core::TypeAnnotation* annotation) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete annotation_; - } - if (annotation) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - annotation = ::google::protobuf::internal::GetOwnedMessage( - message_arena, annotation, submessage_arena); - } - - } else { - - } - annotation_ = annotation; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.annotation) -} - -// .flyteidl.core.TypeStructure structure = 11; -inline bool LiteralType::has_structure() const { - return this != internal_default_instance() && structure_ != nullptr; -} -inline void LiteralType::clear_structure() { - if (GetArenaNoVirtual() == nullptr && structure_ != nullptr) { - delete structure_; - } - structure_ = nullptr; -} -inline const ::flyteidl::core::TypeStructure& LiteralType::structure() const { - const ::flyteidl::core::TypeStructure* p = structure_; - // @@protoc_insertion_point(field_get:flyteidl.core.LiteralType.structure) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TypeStructure_default_instance_); -} -inline ::flyteidl::core::TypeStructure* LiteralType::release_structure() { - // @@protoc_insertion_point(field_release:flyteidl.core.LiteralType.structure) - - ::flyteidl::core::TypeStructure* temp = structure_; - structure_ = nullptr; - return temp; -} -inline ::flyteidl::core::TypeStructure* LiteralType::mutable_structure() { - - if (structure_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TypeStructure>(GetArenaNoVirtual()); - structure_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.LiteralType.structure) - return structure_; -} -inline void LiteralType::set_allocated_structure(::flyteidl::core::TypeStructure* structure) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete structure_; - } - if (structure) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - structure = ::google::protobuf::internal::GetOwnedMessage( - message_arena, structure, submessage_arena); - } - - } else { - - } - structure_ = structure; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.LiteralType.structure) -} - -inline bool LiteralType::has_type() const { - return type_case() != TYPE_NOT_SET; -} -inline void LiteralType::clear_has_type() { - _oneof_case_[0] = TYPE_NOT_SET; -} -inline LiteralType::TypeCase LiteralType::type_case() const { - return LiteralType::TypeCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// OutputReference - -// string node_id = 1; -inline void OutputReference::clear_node_id() { - node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OutputReference::node_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.OutputReference.node_id) - return node_id_.GetNoArena(); -} -inline void OutputReference::set_node_id(const ::std::string& value) { - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.OutputReference.node_id) -} -#if LANG_CXX11 -inline void OutputReference::set_node_id(::std::string&& value) { - - node_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.OutputReference.node_id) -} -#endif -inline void OutputReference::set_node_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.OutputReference.node_id) -} -inline void OutputReference::set_node_id(const char* value, size_t size) { - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.OutputReference.node_id) -} -inline ::std::string* OutputReference::mutable_node_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.OutputReference.node_id) - return node_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OutputReference::release_node_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.OutputReference.node_id) - - return node_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OutputReference::set_allocated_node_id(::std::string* node_id) { - if (node_id != nullptr) { - - } else { - - } - node_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), node_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OutputReference.node_id) -} - -// string var = 2; -inline void OutputReference::clear_var() { - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OutputReference::var() const { - // @@protoc_insertion_point(field_get:flyteidl.core.OutputReference.var) - return var_.GetNoArena(); -} -inline void OutputReference::set_var(const ::std::string& value) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.OutputReference.var) -} -#if LANG_CXX11 -inline void OutputReference::set_var(::std::string&& value) { - - var_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.OutputReference.var) -} -#endif -inline void OutputReference::set_var(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.OutputReference.var) -} -inline void OutputReference::set_var(const char* value, size_t size) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.OutputReference.var) -} -inline ::std::string* OutputReference::mutable_var() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.OutputReference.var) - return var_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OutputReference::release_var() { - // @@protoc_insertion_point(field_release:flyteidl.core.OutputReference.var) - - return var_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OutputReference::set_allocated_var(::std::string* var) { - if (var != nullptr) { - - } else { - - } - var_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), var); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.OutputReference.var) -} - -// repeated .flyteidl.core.PromiseAttribute attr_path = 3; -inline int OutputReference::attr_path_size() const { - return attr_path_.size(); -} -inline void OutputReference::clear_attr_path() { - attr_path_.Clear(); -} -inline ::flyteidl::core::PromiseAttribute* OutputReference::mutable_attr_path(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.OutputReference.attr_path) - return attr_path_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::PromiseAttribute >* -OutputReference::mutable_attr_path() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.OutputReference.attr_path) - return &attr_path_; -} -inline const ::flyteidl::core::PromiseAttribute& OutputReference::attr_path(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.OutputReference.attr_path) - return attr_path_.Get(index); -} -inline ::flyteidl::core::PromiseAttribute* OutputReference::add_attr_path() { - // @@protoc_insertion_point(field_add:flyteidl.core.OutputReference.attr_path) - return attr_path_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::PromiseAttribute >& -OutputReference::attr_path() const { - // @@protoc_insertion_point(field_list:flyteidl.core.OutputReference.attr_path) - return attr_path_; -} - -// ------------------------------------------------------------------- - -// PromiseAttribute - -// string string_value = 1; -inline bool PromiseAttribute::has_string_value() const { - return value_case() == kStringValue; -} -inline void PromiseAttribute::set_has_string_value() { - _oneof_case_[0] = kStringValue; -} -inline void PromiseAttribute::clear_string_value() { - if (has_string_value()) { - value_.string_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_value(); - } -} -inline const ::std::string& PromiseAttribute::string_value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.PromiseAttribute.string_value) - if (has_string_value()) { - return value_.string_value_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void PromiseAttribute::set_string_value(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.PromiseAttribute.string_value) - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.PromiseAttribute.string_value) -} -#if LANG_CXX11 -inline void PromiseAttribute::set_string_value(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.PromiseAttribute.string_value) - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.PromiseAttribute.string_value) -} -#endif -inline void PromiseAttribute::set_string_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.PromiseAttribute.string_value) -} -inline void PromiseAttribute::set_string_value(const char* value, size_t size) { - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.PromiseAttribute.string_value) -} -inline ::std::string* PromiseAttribute::mutable_string_value() { - if (!has_string_value()) { - clear_value(); - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.PromiseAttribute.string_value) - return value_.string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PromiseAttribute::release_string_value() { - // @@protoc_insertion_point(field_release:flyteidl.core.PromiseAttribute.string_value) - if (has_string_value()) { - clear_has_value(); - return value_.string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void PromiseAttribute::set_allocated_string_value(::std::string* string_value) { - if (has_value()) { - clear_value(); - } - if (string_value != nullptr) { - set_has_string_value(); - value_.string_value_.UnsafeSetDefault(string_value); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.PromiseAttribute.string_value) -} - -// int32 int_value = 2; -inline bool PromiseAttribute::has_int_value() const { - return value_case() == kIntValue; -} -inline void PromiseAttribute::set_has_int_value() { - _oneof_case_[0] = kIntValue; -} -inline void PromiseAttribute::clear_int_value() { - if (has_int_value()) { - value_.int_value_ = 0; - clear_has_value(); - } -} -inline ::google::protobuf::int32 PromiseAttribute::int_value() const { - // @@protoc_insertion_point(field_get:flyteidl.core.PromiseAttribute.int_value) - if (has_int_value()) { - return value_.int_value_; - } - return 0; -} -inline void PromiseAttribute::set_int_value(::google::protobuf::int32 value) { - if (!has_int_value()) { - clear_value(); - set_has_int_value(); - } - value_.int_value_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.PromiseAttribute.int_value) -} - -inline bool PromiseAttribute::has_value() const { - return value_case() != VALUE_NOT_SET; -} -inline void PromiseAttribute::clear_has_value() { - _oneof_case_[0] = VALUE_NOT_SET; -} -inline PromiseAttribute::ValueCase PromiseAttribute::value_case() const { - return PromiseAttribute::ValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Error - -// string failed_node_id = 1; -inline void Error::clear_failed_node_id() { - failed_node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Error::failed_node_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Error.failed_node_id) - return failed_node_id_.GetNoArena(); -} -inline void Error::set_failed_node_id(const ::std::string& value) { - - failed_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Error.failed_node_id) -} -#if LANG_CXX11 -inline void Error::set_failed_node_id(::std::string&& value) { - - failed_node_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Error.failed_node_id) -} -#endif -inline void Error::set_failed_node_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - failed_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Error.failed_node_id) -} -inline void Error::set_failed_node_id(const char* value, size_t size) { - - failed_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Error.failed_node_id) -} -inline ::std::string* Error::mutable_failed_node_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Error.failed_node_id) - return failed_node_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Error::release_failed_node_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Error.failed_node_id) - - return failed_node_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Error::set_allocated_failed_node_id(::std::string* failed_node_id) { - if (failed_node_id != nullptr) { - - } else { - - } - failed_node_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), failed_node_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Error.failed_node_id) -} - -// string message = 2; -inline void Error::clear_message() { - message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Error::message() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Error.message) - return message_.GetNoArena(); -} -inline void Error::set_message(const ::std::string& value) { - - message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Error.message) -} -#if LANG_CXX11 -inline void Error::set_message(::std::string&& value) { - - message_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Error.message) -} -#endif -inline void Error::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.Error.message) -} -inline void Error::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.Error.message) -} -inline ::std::string* Error::mutable_message() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Error.message) - return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Error::release_message() { - // @@protoc_insertion_point(field_release:flyteidl.core.Error.message) - - return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Error::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.Error.message) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType>() { - return ::flyteidl::core::SchemaType_SchemaColumn_SchemaColumnType_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::BlobType_BlobDimensionality> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::BlobType_BlobDimensionality>() { - return ::flyteidl::core::BlobType_BlobDimensionality_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::core::SimpleType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::SimpleType>() { - return ::flyteidl::core::SimpleType_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2ftypes_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/workflow.grpc.pb.cc deleted file mode 100644 index 7faf2a04a3..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/workflow.proto - -#include "flyteidl/core/workflow.pb.h" -#include "flyteidl/core/workflow.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/workflow.grpc.pb.h deleted file mode 100644 index 24dcf482a1..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/workflow.proto -#ifndef GRPC_flyteidl_2fcore_2fworkflow_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fworkflow_2eproto__INCLUDED - -#include "flyteidl/core/workflow.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fworkflow_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/workflow.pb.cc deleted file mode 100644 index e51e967c13..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.pb.cc +++ /dev/null @@ -1,8538 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/workflow.proto - -#include "flyteidl/core/workflow.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcondition_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Error_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Alias_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ApproveCondition_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowMetadataDefaults_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SignalCondition_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SleepCondition_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowNode_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_NodeMetadata_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskNode_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_GateNode_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -namespace flyteidl { -namespace core { -class IfBlockDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _IfBlock_default_instance_; -class IfElseBlockDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Node* else_node_; - const ::flyteidl::core::Error* error_; -} _IfElseBlock_default_instance_; -class BranchNodeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _BranchNode_default_instance_; -class TaskNodeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Identifier* reference_id_; -} _TaskNode_default_instance_; -class WorkflowNodeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::Identifier* launchplan_ref_; - const ::flyteidl::core::Identifier* sub_workflow_ref_; -} _WorkflowNode_default_instance_; -class ApproveConditionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ApproveCondition_default_instance_; -class SignalConditionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SignalCondition_default_instance_; -class SleepConditionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SleepCondition_default_instance_; -class GateNodeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::ApproveCondition* approve_; - const ::flyteidl::core::SignalCondition* signal_; - const ::flyteidl::core::SleepCondition* sleep_; -} _GateNode_default_instance_; -class ArrayNodeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::uint32 min_successes_; - float min_success_ratio_; -} _ArrayNode_default_instance_; -class NodeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - bool interruptible_; -} _NodeMetadata_default_instance_; -class AliasDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Alias_default_instance_; -class NodeDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::TaskNode* task_node_; - const ::flyteidl::core::WorkflowNode* workflow_node_; - const ::flyteidl::core::BranchNode* branch_node_; - const ::flyteidl::core::GateNode* gate_node_; - const ::flyteidl::core::ArrayNode* array_node_; -} _Node_default_instance_; -class WorkflowMetadata_TagsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowMetadata_TagsEntry_DoNotUse_default_instance_; -class WorkflowMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowMetadata_default_instance_; -class WorkflowMetadataDefaultsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowMetadataDefaults_default_instance_; -class WorkflowTemplateDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowTemplate_default_instance_; -class TaskNodeOverridesDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskNodeOverrides_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsTaskNode_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskNode_default_instance_; - new (ptr) ::flyteidl::core::TaskNode(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TaskNode::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskNode_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskNode_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto.base,}}; - -static void InitDefaultsWorkflowNode_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowNode_default_instance_; - new (ptr) ::flyteidl::core::WorkflowNode(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::WorkflowNode::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowNode_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowNode_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsApproveCondition_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_ApproveCondition_default_instance_; - new (ptr) ::flyteidl::core::ApproveCondition(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::ApproveCondition::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ApproveCondition_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsApproveCondition_flyteidl_2fcore_2fworkflow_2eproto}, {}}; - -static void InitDefaultsSignalCondition_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_SignalCondition_default_instance_; - new (ptr) ::flyteidl::core::SignalCondition(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::SignalCondition::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_SignalCondition_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSignalCondition_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base,}}; - -static void InitDefaultsSleepCondition_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_SleepCondition_default_instance_; - new (ptr) ::flyteidl::core::SleepCondition(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::SleepCondition::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_SleepCondition_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSleepCondition_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsGateNode_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_GateNode_default_instance_; - new (ptr) ::flyteidl::core::GateNode(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::GateNode::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_GateNode_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsGateNode_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_ApproveCondition_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_SignalCondition_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_SleepCondition_flyteidl_2fcore_2fworkflow_2eproto.base,}}; - -static void InitDefaultsArrayNode_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_IfBlock_default_instance_; - new (ptr) ::flyteidl::core::IfBlock(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_IfElseBlock_default_instance_; - new (ptr) ::flyteidl::core::IfElseBlock(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_BranchNode_default_instance_; - new (ptr) ::flyteidl::core::BranchNode(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_ArrayNode_default_instance_; - new (ptr) ::flyteidl::core::ArrayNode(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - { - void* ptr = &::flyteidl::core::_Node_default_instance_; - new (ptr) ::flyteidl::core::Node(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::IfBlock::InitAsDefaultInstance(); - ::flyteidl::core::IfElseBlock::InitAsDefaultInstance(); - ::flyteidl::core::BranchNode::InitAsDefaultInstance(); - ::flyteidl::core::ArrayNode::InitAsDefaultInstance(); - ::flyteidl::core::Node::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<8> scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 8, InitDefaultsArrayNode_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_BooleanExpression_flyteidl_2fcore_2fcondition_2eproto.base, - &scc_info_Error_flyteidl_2fcore_2ftypes_2eproto.base, - &scc_info_NodeMetadata_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_Alias_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_TaskNode_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_WorkflowNode_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_GateNode_flyteidl_2fcore_2fworkflow_2eproto.base,}}; - -static void InitDefaultsNodeMetadata_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_NodeMetadata_default_instance_; - new (ptr) ::flyteidl::core::NodeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::NodeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_NodeMetadata_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsNodeMetadata_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, - &scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsAlias_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_Alias_default_instance_; - new (ptr) ::flyteidl::core::Alias(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::Alias::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Alias_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAlias_flyteidl_2fcore_2fworkflow_2eproto}, {}}; - -static void InitDefaultsWorkflowMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowMetadata_TagsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse(); - } - ::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2fworkflow_2eproto}, {}}; - -static void InitDefaultsWorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowMetadata_default_instance_; - new (ptr) ::flyteidl::core::WorkflowMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::WorkflowMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_WorkflowMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2fworkflow_2eproto.base,}}; - -static void InitDefaultsWorkflowMetadataDefaults_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowMetadataDefaults_default_instance_; - new (ptr) ::flyteidl::core::WorkflowMetadataDefaults(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::WorkflowMetadataDefaults::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowMetadataDefaults_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowMetadataDefaults_flyteidl_2fcore_2fworkflow_2eproto}, {}}; - -static void InitDefaultsWorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowTemplate_default_instance_; - new (ptr) ::flyteidl::core::WorkflowTemplate(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::WorkflowTemplate::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsWorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_WorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_Binding_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_WorkflowMetadataDefaults_flyteidl_2fcore_2fworkflow_2eproto.base,}}; - -static void InitDefaultsTaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_TaskNodeOverrides_default_instance_; - new (ptr) ::flyteidl::core::TaskNodeOverrides(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::TaskNodeOverrides::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto}, { - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_ExtendedResources_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fworkflow_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_TaskNode_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowNode_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ApproveCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SignalCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SleepCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GateNode_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeMetadata_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Alias_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowMetadata_TagsEntry_DoNotUse_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowMetadataDefaults_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[18]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2fworkflow_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fworkflow_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fworkflow_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfBlock, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfBlock, condition_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfBlock, then_node_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfElseBlock, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfElseBlock, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfElseBlock, case__), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfElseBlock, other_), - offsetof(::flyteidl::core::IfElseBlockDefaultTypeInternal, else_node_), - offsetof(::flyteidl::core::IfElseBlockDefaultTypeInternal, error_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::IfElseBlock, default_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BranchNode, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::BranchNode, if_else_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskNode, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskNode, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::TaskNodeDefaultTypeInternal, reference_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskNode, overrides_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskNode, reference_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowNode, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowNode, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::WorkflowNodeDefaultTypeInternal, launchplan_ref_), - offsetof(::flyteidl::core::WorkflowNodeDefaultTypeInternal, sub_workflow_ref_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowNode, reference_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ApproveCondition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ApproveCondition, signal_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SignalCondition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SignalCondition, signal_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SignalCondition, type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SignalCondition, output_variable_name_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SleepCondition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::SleepCondition, duration_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::GateNode, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::GateNode, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::core::GateNodeDefaultTypeInternal, approve_), - offsetof(::flyteidl::core::GateNodeDefaultTypeInternal, signal_), - offsetof(::flyteidl::core::GateNodeDefaultTypeInternal, sleep_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::GateNode, condition_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArrayNode, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArrayNode, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArrayNode, node_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArrayNode, parallelism_), - offsetof(::flyteidl::core::ArrayNodeDefaultTypeInternal, min_successes_), - offsetof(::flyteidl::core::ArrayNodeDefaultTypeInternal, min_success_ratio_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArrayNode, success_criteria_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeMetadata, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeMetadata, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeMetadata, timeout_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeMetadata, retries_), - offsetof(::flyteidl::core::NodeMetadataDefaultTypeInternal, interruptible_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::NodeMetadata, interruptible_value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Alias, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Alias, var_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Alias, alias_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, upstream_node_ids_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, output_aliases_), - offsetof(::flyteidl::core::NodeDefaultTypeInternal, task_node_), - offsetof(::flyteidl::core::NodeDefaultTypeInternal, workflow_node_), - offsetof(::flyteidl::core::NodeDefaultTypeInternal, branch_node_), - offsetof(::flyteidl::core::NodeDefaultTypeInternal, gate_node_), - offsetof(::flyteidl::core::NodeDefaultTypeInternal, array_node_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::Node, target_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata, quality_of_service_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata, on_failure_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadata, tags_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadataDefaults, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowMetadataDefaults, interruptible_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, nodes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, outputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, failure_node_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowTemplate, metadata_defaults_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskNodeOverrides, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskNodeOverrides, resources_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::TaskNodeOverrides, extended_resources_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::IfBlock)}, - { 7, -1, sizeof(::flyteidl::core::IfElseBlock)}, - { 17, -1, sizeof(::flyteidl::core::BranchNode)}, - { 23, -1, sizeof(::flyteidl::core::TaskNode)}, - { 31, -1, sizeof(::flyteidl::core::WorkflowNode)}, - { 39, -1, sizeof(::flyteidl::core::ApproveCondition)}, - { 45, -1, sizeof(::flyteidl::core::SignalCondition)}, - { 53, -1, sizeof(::flyteidl::core::SleepCondition)}, - { 59, -1, sizeof(::flyteidl::core::GateNode)}, - { 68, -1, sizeof(::flyteidl::core::ArrayNode)}, - { 78, -1, sizeof(::flyteidl::core::NodeMetadata)}, - { 88, -1, sizeof(::flyteidl::core::Alias)}, - { 95, -1, sizeof(::flyteidl::core::Node)}, - { 111, 118, sizeof(::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse)}, - { 120, -1, sizeof(::flyteidl::core::WorkflowMetadata)}, - { 128, -1, sizeof(::flyteidl::core::WorkflowMetadataDefaults)}, - { 134, -1, sizeof(::flyteidl::core::WorkflowTemplate)}, - { 146, -1, sizeof(::flyteidl::core::TaskNodeOverrides)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_IfBlock_default_instance_), - reinterpret_cast(&::flyteidl::core::_IfElseBlock_default_instance_), - reinterpret_cast(&::flyteidl::core::_BranchNode_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskNode_default_instance_), - reinterpret_cast(&::flyteidl::core::_WorkflowNode_default_instance_), - reinterpret_cast(&::flyteidl::core::_ApproveCondition_default_instance_), - reinterpret_cast(&::flyteidl::core::_SignalCondition_default_instance_), - reinterpret_cast(&::flyteidl::core::_SleepCondition_default_instance_), - reinterpret_cast(&::flyteidl::core::_GateNode_default_instance_), - reinterpret_cast(&::flyteidl::core::_ArrayNode_default_instance_), - reinterpret_cast(&::flyteidl::core::_NodeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_Alias_default_instance_), - reinterpret_cast(&::flyteidl::core::_Node_default_instance_), - reinterpret_cast(&::flyteidl::core::_WorkflowMetadata_TagsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::core::_WorkflowMetadata_default_instance_), - reinterpret_cast(&::flyteidl::core::_WorkflowMetadataDefaults_default_instance_), - reinterpret_cast(&::flyteidl::core::_WorkflowTemplate_default_instance_), - reinterpret_cast(&::flyteidl::core::_TaskNodeOverrides_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fworkflow_2eproto, "flyteidl/core/workflow.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fworkflow_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto, 18, file_level_enum_descriptors_flyteidl_2fcore_2fworkflow_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fworkflow_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fworkflow_2eproto[] = - "\n\034flyteidl/core/workflow.proto\022\rflyteidl" - ".core\032\035flyteidl/core/condition.proto\032\035fl" - "yteidl/core/execution.proto\032\036flyteidl/co" - "re/identifier.proto\032\035flyteidl/core/inter" - "face.proto\032\034flyteidl/core/literals.proto" - "\032\031flyteidl/core/tasks.proto\032\031flyteidl/co" - "re/types.proto\032\034flyteidl/core/security.p" - "roto\032\036google/protobuf/duration.proto\"f\n\007" - "IfBlock\0223\n\tcondition\030\001 \001(\0132 .flyteidl.co" - "re.BooleanExpression\022&\n\tthen_node\030\002 \001(\0132" - "\023.flyteidl.core.Node\"\266\001\n\013IfElseBlock\022$\n\004" - "case\030\001 \001(\0132\026.flyteidl.core.IfBlock\022%\n\005ot" - "her\030\002 \003(\0132\026.flyteidl.core.IfBlock\022(\n\tels" - "e_node\030\003 \001(\0132\023.flyteidl.core.NodeH\000\022%\n\005e" - "rror\030\004 \001(\0132\024.flyteidl.core.ErrorH\000B\t\n\007de" - "fault\"9\n\nBranchNode\022+\n\007if_else\030\001 \001(\0132\032.f" - "lyteidl.core.IfElseBlock\"\177\n\010TaskNode\0221\n\014" - "reference_id\030\001 \001(\0132\031.flyteidl.core.Ident" - "ifierH\000\0223\n\toverrides\030\002 \001(\0132 .flyteidl.co" - "re.TaskNodeOverridesB\013\n\treference\"\207\001\n\014Wo" - "rkflowNode\0223\n\016launchplan_ref\030\001 \001(\0132\031.fly" - "teidl.core.IdentifierH\000\0225\n\020sub_workflow_" - "ref\030\002 \001(\0132\031.flyteidl.core.IdentifierH\000B\013" - "\n\treference\"%\n\020ApproveCondition\022\021\n\tsigna" - "l_id\030\001 \001(\t\"l\n\017SignalCondition\022\021\n\tsignal_" - "id\030\001 \001(\t\022(\n\004type\030\002 \001(\0132\032.flyteidl.core.L" - "iteralType\022\034\n\024output_variable_name\030\003 \001(\t" - "\"=\n\016SleepCondition\022+\n\010duration\030\001 \001(\0132\031.g" - "oogle.protobuf.Duration\"\255\001\n\010GateNode\0222\n\007" - "approve\030\001 \001(\0132\037.flyteidl.core.ApproveCon" - "ditionH\000\0220\n\006signal\030\002 \001(\0132\036.flyteidl.core" - ".SignalConditionH\000\022.\n\005sleep\030\003 \001(\0132\035.flyt" - "eidl.core.SleepConditionH\000B\013\n\tcondition\"" - "\215\001\n\tArrayNode\022!\n\004node\030\001 \001(\0132\023.flyteidl.c" - "ore.Node\022\023\n\013parallelism\030\002 \001(\r\022\027\n\rmin_suc" - "cesses\030\003 \001(\rH\000\022\033\n\021min_success_ratio\030\004 \001(" - "\002H\000B\022\n\020success_criteria\"\247\001\n\014NodeMetadata" - "\022\014\n\004name\030\001 \001(\t\022*\n\007timeout\030\004 \001(\0132\031.google" - ".protobuf.Duration\022-\n\007retries\030\005 \001(\0132\034.fl" - "yteidl.core.RetryStrategy\022\027\n\rinterruptib" - "le\030\006 \001(\010H\000B\025\n\023interruptible_value\"#\n\005Ali" - "as\022\013\n\003var\030\001 \001(\t\022\r\n\005alias\030\002 \001(\t\"\260\003\n\004Node\022" - "\n\n\002id\030\001 \001(\t\022-\n\010metadata\030\002 \001(\0132\033.flyteidl" - ".core.NodeMetadata\022&\n\006inputs\030\003 \003(\0132\026.fly" - "teidl.core.Binding\022\031\n\021upstream_node_ids\030" - "\004 \003(\t\022,\n\016output_aliases\030\005 \003(\0132\024.flyteidl" - ".core.Alias\022,\n\ttask_node\030\006 \001(\0132\027.flyteid" - "l.core.TaskNodeH\000\0224\n\rworkflow_node\030\007 \001(\013" - "2\033.flyteidl.core.WorkflowNodeH\000\0220\n\013branc" - "h_node\030\010 \001(\0132\031.flyteidl.core.BranchNodeH" - "\000\022,\n\tgate_node\030\t \001(\0132\027.flyteidl.core.Gat" - "eNodeH\000\022.\n\narray_node\030\n \001(\0132\030.flyteidl.c" - "ore.ArrayNodeH\000B\010\n\006target\"\315\002\n\020WorkflowMe" - "tadata\022;\n\022quality_of_service\030\001 \001(\0132\037.fly" - "teidl.core.QualityOfService\022C\n\non_failur" - "e\030\002 \001(\0162/.flyteidl.core.WorkflowMetadata" - ".OnFailurePolicy\0227\n\004tags\030\003 \003(\0132).flyteid" - "l.core.WorkflowMetadata.TagsEntry\032+\n\tTag" - "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Q" - "\n\017OnFailurePolicy\022\024\n\020FAIL_IMMEDIATELY\020\000\022" - "(\n$FAIL_AFTER_EXECUTABLE_NODES_COMPLETE\020" - "\001\"1\n\030WorkflowMetadataDefaults\022\025\n\rinterru" - "ptible\030\001 \001(\010\"\332\002\n\020WorkflowTemplate\022%\n\002id\030" - "\001 \001(\0132\031.flyteidl.core.Identifier\0221\n\010meta" - "data\030\002 \001(\0132\037.flyteidl.core.WorkflowMetad" - "ata\0220\n\tinterface\030\003 \001(\0132\035.flyteidl.core.T" - "ypedInterface\022\"\n\005nodes\030\004 \003(\0132\023.flyteidl." - "core.Node\022\'\n\007outputs\030\005 \003(\0132\026.flyteidl.co" - "re.Binding\022)\n\014failure_node\030\006 \001(\0132\023.flyte" - "idl.core.Node\022B\n\021metadata_defaults\030\007 \001(\013" - "2\'.flyteidl.core.WorkflowMetadataDefault" - "s\"~\n\021TaskNodeOverrides\022+\n\tresources\030\001 \001(" - "\0132\030.flyteidl.core.Resources\022<\n\022extended_" - "resources\030\002 \001(\0132 .flyteidl.core.Extended" - "ResourcesB= 1900 -const WorkflowMetadata_OnFailurePolicy WorkflowMetadata::FAIL_IMMEDIATELY; -const WorkflowMetadata_OnFailurePolicy WorkflowMetadata::FAIL_AFTER_EXECUTABLE_NODES_COMPLETE; -const WorkflowMetadata_OnFailurePolicy WorkflowMetadata::OnFailurePolicy_MIN; -const WorkflowMetadata_OnFailurePolicy WorkflowMetadata::OnFailurePolicy_MAX; -const int WorkflowMetadata::OnFailurePolicy_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void IfBlock::InitAsDefaultInstance() { - ::flyteidl::core::_IfBlock_default_instance_._instance.get_mutable()->condition_ = const_cast< ::flyteidl::core::BooleanExpression*>( - ::flyteidl::core::BooleanExpression::internal_default_instance()); - ::flyteidl::core::_IfBlock_default_instance_._instance.get_mutable()->then_node_ = const_cast< ::flyteidl::core::Node*>( - ::flyteidl::core::Node::internal_default_instance()); -} -class IfBlock::HasBitSetters { - public: - static const ::flyteidl::core::BooleanExpression& condition(const IfBlock* msg); - static const ::flyteidl::core::Node& then_node(const IfBlock* msg); -}; - -const ::flyteidl::core::BooleanExpression& -IfBlock::HasBitSetters::condition(const IfBlock* msg) { - return *msg->condition_; -} -const ::flyteidl::core::Node& -IfBlock::HasBitSetters::then_node(const IfBlock* msg) { - return *msg->then_node_; -} -void IfBlock::clear_condition() { - if (GetArenaNoVirtual() == nullptr && condition_ != nullptr) { - delete condition_; - } - condition_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int IfBlock::kConditionFieldNumber; -const int IfBlock::kThenNodeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -IfBlock::IfBlock() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.IfBlock) -} -IfBlock::IfBlock(const IfBlock& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_condition()) { - condition_ = new ::flyteidl::core::BooleanExpression(*from.condition_); - } else { - condition_ = nullptr; - } - if (from.has_then_node()) { - then_node_ = new ::flyteidl::core::Node(*from.then_node_); - } else { - then_node_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.IfBlock) -} - -void IfBlock::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - ::memset(&condition_, 0, static_cast( - reinterpret_cast(&then_node_) - - reinterpret_cast(&condition_)) + sizeof(then_node_)); -} - -IfBlock::~IfBlock() { - // @@protoc_insertion_point(destructor:flyteidl.core.IfBlock) - SharedDtor(); -} - -void IfBlock::SharedDtor() { - if (this != internal_default_instance()) delete condition_; - if (this != internal_default_instance()) delete then_node_; -} - -void IfBlock::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const IfBlock& IfBlock::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void IfBlock::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.IfBlock) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && condition_ != nullptr) { - delete condition_; - } - condition_ = nullptr; - if (GetArenaNoVirtual() == nullptr && then_node_ != nullptr) { - delete then_node_; - } - then_node_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* IfBlock::_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.BooleanExpression condition = 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::BooleanExpression::_InternalParse; - object = msg->mutable_condition(); - 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.Node then_node = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Node::_InternalParse; - object = msg->mutable_then_node(); - 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 IfBlock::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.IfBlock) - 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.BooleanExpression condition = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_condition())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Node then_node = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_then_node())); - } 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.IfBlock) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.IfBlock) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void IfBlock::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.IfBlock) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.BooleanExpression condition = 1; - if (this->has_condition()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::condition(this), output); - } - - // .flyteidl.core.Node then_node = 2; - if (this->has_then_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::then_node(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.IfBlock) -} - -::google::protobuf::uint8* IfBlock::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.IfBlock) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.BooleanExpression condition = 1; - if (this->has_condition()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::condition(this), target); - } - - // .flyteidl.core.Node then_node = 2; - if (this->has_then_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::then_node(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.IfBlock) - return target; -} - -size_t IfBlock::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.IfBlock) - 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.BooleanExpression condition = 1; - if (this->has_condition()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *condition_); - } - - // .flyteidl.core.Node then_node = 2; - if (this->has_then_node()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *then_node_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void IfBlock::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.IfBlock) - GOOGLE_DCHECK_NE(&from, this); - const IfBlock* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.IfBlock) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.IfBlock) - MergeFrom(*source); - } -} - -void IfBlock::MergeFrom(const IfBlock& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.IfBlock) - 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_condition()) { - mutable_condition()->::flyteidl::core::BooleanExpression::MergeFrom(from.condition()); - } - if (from.has_then_node()) { - mutable_then_node()->::flyteidl::core::Node::MergeFrom(from.then_node()); - } -} - -void IfBlock::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.IfBlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void IfBlock::CopyFrom(const IfBlock& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.IfBlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IfBlock::IsInitialized() const { - return true; -} - -void IfBlock::Swap(IfBlock* other) { - if (other == this) return; - InternalSwap(other); -} -void IfBlock::InternalSwap(IfBlock* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(condition_, other->condition_); - swap(then_node_, other->then_node_); -} - -::google::protobuf::Metadata IfBlock::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void IfElseBlock::InitAsDefaultInstance() { - ::flyteidl::core::_IfElseBlock_default_instance_._instance.get_mutable()->case__ = const_cast< ::flyteidl::core::IfBlock*>( - ::flyteidl::core::IfBlock::internal_default_instance()); - ::flyteidl::core::_IfElseBlock_default_instance_.else_node_ = const_cast< ::flyteidl::core::Node*>( - ::flyteidl::core::Node::internal_default_instance()); - ::flyteidl::core::_IfElseBlock_default_instance_.error_ = const_cast< ::flyteidl::core::Error*>( - ::flyteidl::core::Error::internal_default_instance()); -} -class IfElseBlock::HasBitSetters { - public: - static const ::flyteidl::core::IfBlock& case_(const IfElseBlock* msg); - static const ::flyteidl::core::Node& else_node(const IfElseBlock* msg); - static const ::flyteidl::core::Error& error(const IfElseBlock* msg); -}; - -const ::flyteidl::core::IfBlock& -IfElseBlock::HasBitSetters::case_(const IfElseBlock* msg) { - return *msg->case__; -} -const ::flyteidl::core::Node& -IfElseBlock::HasBitSetters::else_node(const IfElseBlock* msg) { - return *msg->default_.else_node_; -} -const ::flyteidl::core::Error& -IfElseBlock::HasBitSetters::error(const IfElseBlock* msg) { - return *msg->default_.error_; -} -void IfElseBlock::set_allocated_else_node(::flyteidl::core::Node* else_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_default(); - if (else_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - else_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, else_node, submessage_arena); - } - set_has_else_node(); - default_.else_node_ = else_node; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.IfElseBlock.else_node) -} -void IfElseBlock::set_allocated_error(::flyteidl::core::Error* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_default(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - default_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.IfElseBlock.error) -} -void IfElseBlock::clear_error() { - if (has_error()) { - delete default_.error_; - clear_has_default(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int IfElseBlock::kCaseFieldNumber; -const int IfElseBlock::kOtherFieldNumber; -const int IfElseBlock::kElseNodeFieldNumber; -const int IfElseBlock::kErrorFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -IfElseBlock::IfElseBlock() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.IfElseBlock) -} -IfElseBlock::IfElseBlock(const IfElseBlock& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - other_(from.other_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_case_()) { - case__ = new ::flyteidl::core::IfBlock(*from.case__); - } else { - case__ = nullptr; - } - clear_has_default(); - switch (from.default_case()) { - case kElseNode: { - mutable_else_node()->::flyteidl::core::Node::MergeFrom(from.else_node()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::Error::MergeFrom(from.error()); - break; - } - case DEFAULT_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.IfElseBlock) -} - -void IfElseBlock::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - case__ = nullptr; - clear_has_default(); -} - -IfElseBlock::~IfElseBlock() { - // @@protoc_insertion_point(destructor:flyteidl.core.IfElseBlock) - SharedDtor(); -} - -void IfElseBlock::SharedDtor() { - if (this != internal_default_instance()) delete case__; - if (has_default()) { - clear_default(); - } -} - -void IfElseBlock::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const IfElseBlock& IfElseBlock::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void IfElseBlock::clear_default() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.IfElseBlock) - switch (default_case()) { - case kElseNode: { - delete default_.else_node_; - break; - } - case kError: { - delete default_.error_; - break; - } - case DEFAULT_NOT_SET: { - break; - } - } - _oneof_case_[0] = DEFAULT_NOT_SET; -} - - -void IfElseBlock::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.IfElseBlock) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - other_.Clear(); - if (GetArenaNoVirtual() == nullptr && case__ != nullptr) { - delete case__; - } - case__ = nullptr; - clear_default(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* IfElseBlock::_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.IfBlock case = 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::IfBlock::_InternalParse; - object = msg->mutable_case_(); - 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; - } - // repeated .flyteidl.core.IfBlock other = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::IfBlock::_InternalParse; - object = msg->add_other(); - 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) == 18 && (ptr += 1)); - break; - } - // .flyteidl.core.Node else_node = 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::Node::_InternalParse; - object = msg->mutable_else_node(); - 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.Error error = 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::Error::_InternalParse; - object = msg->mutable_error(); - 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 IfElseBlock::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.IfElseBlock) - 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.IfBlock case = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_case_())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.IfBlock other = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_other())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Node else_node = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_else_node())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Error error = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } 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.IfElseBlock) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.IfElseBlock) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void IfElseBlock::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.IfElseBlock) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.IfBlock case = 1; - if (this->has_case_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::case_(this), output); - } - - // repeated .flyteidl.core.IfBlock other = 2; - for (unsigned int i = 0, - n = static_cast(this->other_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->other(static_cast(i)), - output); - } - - // .flyteidl.core.Node else_node = 3; - if (has_else_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::else_node(this), output); - } - - // .flyteidl.core.Error error = 4; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::error(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.IfElseBlock) -} - -::google::protobuf::uint8* IfElseBlock::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.IfElseBlock) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.IfBlock case = 1; - if (this->has_case_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::case_(this), target); - } - - // repeated .flyteidl.core.IfBlock other = 2; - for (unsigned int i = 0, - n = static_cast(this->other_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->other(static_cast(i)), target); - } - - // .flyteidl.core.Node else_node = 3; - if (has_else_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::else_node(this), target); - } - - // .flyteidl.core.Error error = 4; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::error(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.IfElseBlock) - return target; -} - -size_t IfElseBlock::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.IfElseBlock) - 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.IfBlock other = 2; - { - unsigned int count = static_cast(this->other_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->other(static_cast(i))); - } - } - - // .flyteidl.core.IfBlock case = 1; - if (this->has_case_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *case__); - } - - switch (default_case()) { - // .flyteidl.core.Node else_node = 3; - case kElseNode: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *default_.else_node_); - break; - } - // .flyteidl.core.Error error = 4; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *default_.error_); - break; - } - case DEFAULT_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void IfElseBlock::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.IfElseBlock) - GOOGLE_DCHECK_NE(&from, this); - const IfElseBlock* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.IfElseBlock) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.IfElseBlock) - MergeFrom(*source); - } -} - -void IfElseBlock::MergeFrom(const IfElseBlock& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.IfElseBlock) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - other_.MergeFrom(from.other_); - if (from.has_case_()) { - mutable_case_()->::flyteidl::core::IfBlock::MergeFrom(from.case_()); - } - switch (from.default_case()) { - case kElseNode: { - mutable_else_node()->::flyteidl::core::Node::MergeFrom(from.else_node()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::Error::MergeFrom(from.error()); - break; - } - case DEFAULT_NOT_SET: { - break; - } - } -} - -void IfElseBlock::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.IfElseBlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void IfElseBlock::CopyFrom(const IfElseBlock& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.IfElseBlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IfElseBlock::IsInitialized() const { - return true; -} - -void IfElseBlock::Swap(IfElseBlock* other) { - if (other == this) return; - InternalSwap(other); -} -void IfElseBlock::InternalSwap(IfElseBlock* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&other_)->InternalSwap(CastToBase(&other->other_)); - swap(case__, other->case__); - swap(default_, other->default_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata IfElseBlock::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void BranchNode::InitAsDefaultInstance() { - ::flyteidl::core::_BranchNode_default_instance_._instance.get_mutable()->if_else_ = const_cast< ::flyteidl::core::IfElseBlock*>( - ::flyteidl::core::IfElseBlock::internal_default_instance()); -} -class BranchNode::HasBitSetters { - public: - static const ::flyteidl::core::IfElseBlock& if_else(const BranchNode* msg); -}; - -const ::flyteidl::core::IfElseBlock& -BranchNode::HasBitSetters::if_else(const BranchNode* msg) { - return *msg->if_else_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int BranchNode::kIfElseFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -BranchNode::BranchNode() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.BranchNode) -} -BranchNode::BranchNode(const BranchNode& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_if_else()) { - if_else_ = new ::flyteidl::core::IfElseBlock(*from.if_else_); - } else { - if_else_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.BranchNode) -} - -void BranchNode::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - if_else_ = nullptr; -} - -BranchNode::~BranchNode() { - // @@protoc_insertion_point(destructor:flyteidl.core.BranchNode) - SharedDtor(); -} - -void BranchNode::SharedDtor() { - if (this != internal_default_instance()) delete if_else_; -} - -void BranchNode::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const BranchNode& BranchNode::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void BranchNode::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.BranchNode) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && if_else_ != nullptr) { - delete if_else_; - } - if_else_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* BranchNode::_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.IfElseBlock if_else = 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::IfElseBlock::_InternalParse; - object = msg->mutable_if_else(); - 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 BranchNode::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.BranchNode) - 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.IfElseBlock if_else = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_if_else())); - } 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.BranchNode) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.BranchNode) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void BranchNode::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.BranchNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.IfElseBlock if_else = 1; - if (this->has_if_else()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::if_else(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.BranchNode) -} - -::google::protobuf::uint8* BranchNode::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.BranchNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.IfElseBlock if_else = 1; - if (this->has_if_else()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::if_else(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.BranchNode) - return target; -} - -size_t BranchNode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.BranchNode) - 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.IfElseBlock if_else = 1; - if (this->has_if_else()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *if_else_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void BranchNode::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.BranchNode) - GOOGLE_DCHECK_NE(&from, this); - const BranchNode* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.BranchNode) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.BranchNode) - MergeFrom(*source); - } -} - -void BranchNode::MergeFrom(const BranchNode& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.BranchNode) - 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_if_else()) { - mutable_if_else()->::flyteidl::core::IfElseBlock::MergeFrom(from.if_else()); - } -} - -void BranchNode::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.BranchNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void BranchNode::CopyFrom(const BranchNode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.BranchNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool BranchNode::IsInitialized() const { - return true; -} - -void BranchNode::Swap(BranchNode* other) { - if (other == this) return; - InternalSwap(other); -} -void BranchNode::InternalSwap(BranchNode* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(if_else_, other->if_else_); -} - -::google::protobuf::Metadata BranchNode::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskNode::InitAsDefaultInstance() { - ::flyteidl::core::_TaskNode_default_instance_.reference_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::core::_TaskNode_default_instance_._instance.get_mutable()->overrides_ = const_cast< ::flyteidl::core::TaskNodeOverrides*>( - ::flyteidl::core::TaskNodeOverrides::internal_default_instance()); -} -class TaskNode::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& reference_id(const TaskNode* msg); - static const ::flyteidl::core::TaskNodeOverrides& overrides(const TaskNode* msg); -}; - -const ::flyteidl::core::Identifier& -TaskNode::HasBitSetters::reference_id(const TaskNode* msg) { - return *msg->reference_.reference_id_; -} -const ::flyteidl::core::TaskNodeOverrides& -TaskNode::HasBitSetters::overrides(const TaskNode* msg) { - return *msg->overrides_; -} -void TaskNode::set_allocated_reference_id(::flyteidl::core::Identifier* reference_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_reference(); - if (reference_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - reference_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reference_id, submessage_arena); - } - set_has_reference_id(); - reference_.reference_id_ = reference_id; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskNode.reference_id) -} -void TaskNode::clear_reference_id() { - if (has_reference_id()) { - delete reference_.reference_id_; - clear_has_reference(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskNode::kReferenceIdFieldNumber; -const int TaskNode::kOverridesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskNode::TaskNode() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TaskNode) -} -TaskNode::TaskNode(const TaskNode& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_overrides()) { - overrides_ = new ::flyteidl::core::TaskNodeOverrides(*from.overrides_); - } else { - overrides_ = nullptr; - } - clear_has_reference(); - switch (from.reference_case()) { - case kReferenceId: { - mutable_reference_id()->::flyteidl::core::Identifier::MergeFrom(from.reference_id()); - break; - } - case REFERENCE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TaskNode) -} - -void TaskNode::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskNode_flyteidl_2fcore_2fworkflow_2eproto.base); - overrides_ = nullptr; - clear_has_reference(); -} - -TaskNode::~TaskNode() { - // @@protoc_insertion_point(destructor:flyteidl.core.TaskNode) - SharedDtor(); -} - -void TaskNode::SharedDtor() { - if (this != internal_default_instance()) delete overrides_; - if (has_reference()) { - clear_reference(); - } -} - -void TaskNode::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskNode& TaskNode::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void TaskNode::clear_reference() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.TaskNode) - switch (reference_case()) { - case kReferenceId: { - delete reference_.reference_id_; - break; - } - case REFERENCE_NOT_SET: { - break; - } - } - _oneof_case_[0] = REFERENCE_NOT_SET; -} - - -void TaskNode::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TaskNode) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && overrides_ != nullptr) { - delete overrides_; - } - overrides_ = nullptr; - clear_reference(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskNode::_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.Identifier reference_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::Identifier::_InternalParse; - object = msg->mutable_reference_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.TaskNodeOverrides overrides = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskNodeOverrides::_InternalParse; - object = msg->mutable_overrides(); - 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 TaskNode::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.TaskNode) - 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.Identifier reference_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reference_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskNodeOverrides overrides = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_overrides())); - } 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.TaskNode) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TaskNode) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskNode::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TaskNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier reference_id = 1; - if (has_reference_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::reference_id(this), output); - } - - // .flyteidl.core.TaskNodeOverrides overrides = 2; - if (this->has_overrides()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::overrides(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.TaskNode) -} - -::google::protobuf::uint8* TaskNode::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TaskNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier reference_id = 1; - if (has_reference_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::reference_id(this), target); - } - - // .flyteidl.core.TaskNodeOverrides overrides = 2; - if (this->has_overrides()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::overrides(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.TaskNode) - return target; -} - -size_t TaskNode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TaskNode) - 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.TaskNodeOverrides overrides = 2; - if (this->has_overrides()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *overrides_); - } - - switch (reference_case()) { - // .flyteidl.core.Identifier reference_id = 1; - case kReferenceId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reference_.reference_id_); - break; - } - case REFERENCE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskNode::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TaskNode) - GOOGLE_DCHECK_NE(&from, this); - const TaskNode* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TaskNode) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TaskNode) - MergeFrom(*source); - } -} - -void TaskNode::MergeFrom(const TaskNode& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TaskNode) - 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_overrides()) { - mutable_overrides()->::flyteidl::core::TaskNodeOverrides::MergeFrom(from.overrides()); - } - switch (from.reference_case()) { - case kReferenceId: { - mutable_reference_id()->::flyteidl::core::Identifier::MergeFrom(from.reference_id()); - break; - } - case REFERENCE_NOT_SET: { - break; - } - } -} - -void TaskNode::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TaskNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskNode::CopyFrom(const TaskNode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TaskNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskNode::IsInitialized() const { - return true; -} - -void TaskNode::Swap(TaskNode* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskNode::InternalSwap(TaskNode* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(overrides_, other->overrides_); - swap(reference_, other->reference_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata TaskNode::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowNode::InitAsDefaultInstance() { - ::flyteidl::core::_WorkflowNode_default_instance_.launchplan_ref_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::core::_WorkflowNode_default_instance_.sub_workflow_ref_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class WorkflowNode::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& launchplan_ref(const WorkflowNode* msg); - static const ::flyteidl::core::Identifier& sub_workflow_ref(const WorkflowNode* msg); -}; - -const ::flyteidl::core::Identifier& -WorkflowNode::HasBitSetters::launchplan_ref(const WorkflowNode* msg) { - return *msg->reference_.launchplan_ref_; -} -const ::flyteidl::core::Identifier& -WorkflowNode::HasBitSetters::sub_workflow_ref(const WorkflowNode* msg) { - return *msg->reference_.sub_workflow_ref_; -} -void WorkflowNode::set_allocated_launchplan_ref(::flyteidl::core::Identifier* launchplan_ref) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_reference(); - if (launchplan_ref) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - launchplan_ref = ::google::protobuf::internal::GetOwnedMessage( - message_arena, launchplan_ref, submessage_arena); - } - set_has_launchplan_ref(); - reference_.launchplan_ref_ = launchplan_ref; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowNode.launchplan_ref) -} -void WorkflowNode::clear_launchplan_ref() { - if (has_launchplan_ref()) { - delete reference_.launchplan_ref_; - clear_has_reference(); - } -} -void WorkflowNode::set_allocated_sub_workflow_ref(::flyteidl::core::Identifier* sub_workflow_ref) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_reference(); - if (sub_workflow_ref) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sub_workflow_ref = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sub_workflow_ref, submessage_arena); - } - set_has_sub_workflow_ref(); - reference_.sub_workflow_ref_ = sub_workflow_ref; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowNode.sub_workflow_ref) -} -void WorkflowNode::clear_sub_workflow_ref() { - if (has_sub_workflow_ref()) { - delete reference_.sub_workflow_ref_; - clear_has_reference(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowNode::kLaunchplanRefFieldNumber; -const int WorkflowNode::kSubWorkflowRefFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowNode::WorkflowNode() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.WorkflowNode) -} -WorkflowNode::WorkflowNode(const WorkflowNode& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_reference(); - switch (from.reference_case()) { - case kLaunchplanRef: { - mutable_launchplan_ref()->::flyteidl::core::Identifier::MergeFrom(from.launchplan_ref()); - break; - } - case kSubWorkflowRef: { - mutable_sub_workflow_ref()->::flyteidl::core::Identifier::MergeFrom(from.sub_workflow_ref()); - break; - } - case REFERENCE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.WorkflowNode) -} - -void WorkflowNode::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowNode_flyteidl_2fcore_2fworkflow_2eproto.base); - clear_has_reference(); -} - -WorkflowNode::~WorkflowNode() { - // @@protoc_insertion_point(destructor:flyteidl.core.WorkflowNode) - SharedDtor(); -} - -void WorkflowNode::SharedDtor() { - if (has_reference()) { - clear_reference(); - } -} - -void WorkflowNode::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowNode& WorkflowNode::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowNode::clear_reference() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.WorkflowNode) - switch (reference_case()) { - case kLaunchplanRef: { - delete reference_.launchplan_ref_; - break; - } - case kSubWorkflowRef: { - delete reference_.sub_workflow_ref_; - break; - } - case REFERENCE_NOT_SET: { - break; - } - } - _oneof_case_[0] = REFERENCE_NOT_SET; -} - - -void WorkflowNode::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.WorkflowNode) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_reference(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowNode::_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.Identifier launchplan_ref = 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::Identifier::_InternalParse; - object = msg->mutable_launchplan_ref(); - 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.Identifier sub_workflow_ref = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Identifier::_InternalParse; - object = msg->mutable_sub_workflow_ref(); - 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 WorkflowNode::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.WorkflowNode) - 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.Identifier launchplan_ref = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_launchplan_ref())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Identifier sub_workflow_ref = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sub_workflow_ref())); - } 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.WorkflowNode) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.WorkflowNode) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowNode::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.WorkflowNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier launchplan_ref = 1; - if (has_launchplan_ref()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::launchplan_ref(this), output); - } - - // .flyteidl.core.Identifier sub_workflow_ref = 2; - if (has_sub_workflow_ref()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::sub_workflow_ref(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.WorkflowNode) -} - -::google::protobuf::uint8* WorkflowNode::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.WorkflowNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier launchplan_ref = 1; - if (has_launchplan_ref()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::launchplan_ref(this), target); - } - - // .flyteidl.core.Identifier sub_workflow_ref = 2; - if (has_sub_workflow_ref()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::sub_workflow_ref(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.WorkflowNode) - return target; -} - -size_t WorkflowNode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.WorkflowNode) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (reference_case()) { - // .flyteidl.core.Identifier launchplan_ref = 1; - case kLaunchplanRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reference_.launchplan_ref_); - break; - } - // .flyteidl.core.Identifier sub_workflow_ref = 2; - case kSubWorkflowRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reference_.sub_workflow_ref_); - break; - } - case REFERENCE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowNode::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.WorkflowNode) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowNode* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.WorkflowNode) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.WorkflowNode) - MergeFrom(*source); - } -} - -void WorkflowNode::MergeFrom(const WorkflowNode& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.WorkflowNode) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.reference_case()) { - case kLaunchplanRef: { - mutable_launchplan_ref()->::flyteidl::core::Identifier::MergeFrom(from.launchplan_ref()); - break; - } - case kSubWorkflowRef: { - mutable_sub_workflow_ref()->::flyteidl::core::Identifier::MergeFrom(from.sub_workflow_ref()); - break; - } - case REFERENCE_NOT_SET: { - break; - } - } -} - -void WorkflowNode::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.WorkflowNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowNode::CopyFrom(const WorkflowNode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.WorkflowNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowNode::IsInitialized() const { - return true; -} - -void WorkflowNode::Swap(WorkflowNode* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowNode::InternalSwap(WorkflowNode* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(reference_, other->reference_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata WorkflowNode::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ApproveCondition::InitAsDefaultInstance() { -} -class ApproveCondition::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ApproveCondition::kSignalIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ApproveCondition::ApproveCondition() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ApproveCondition) -} -ApproveCondition::ApproveCondition(const ApproveCondition& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - signal_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.signal_id().size() > 0) { - signal_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signal_id_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ApproveCondition) -} - -void ApproveCondition::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ApproveCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - signal_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ApproveCondition::~ApproveCondition() { - // @@protoc_insertion_point(destructor:flyteidl.core.ApproveCondition) - SharedDtor(); -} - -void ApproveCondition::SharedDtor() { - signal_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ApproveCondition::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ApproveCondition& ApproveCondition::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ApproveCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void ApproveCondition::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ApproveCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signal_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ApproveCondition::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string signal_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.ApproveCondition.signal_id"); - object = msg->mutable_signal_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; - } - 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 ApproveCondition::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.ApproveCondition) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string signal_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_signal_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.ApproveCondition.signal_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.ApproveCondition) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ApproveCondition) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ApproveCondition::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ApproveCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signal_id = 1; - if (this->signal_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ApproveCondition.signal_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->signal_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ApproveCondition) -} - -::google::protobuf::uint8* ApproveCondition::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ApproveCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signal_id = 1; - if (this->signal_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.ApproveCondition.signal_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->signal_id(), 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.ApproveCondition) - return target; -} - -size_t ApproveCondition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ApproveCondition) - 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 signal_id = 1; - if (this->signal_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->signal_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ApproveCondition::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ApproveCondition) - GOOGLE_DCHECK_NE(&from, this); - const ApproveCondition* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ApproveCondition) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ApproveCondition) - MergeFrom(*source); - } -} - -void ApproveCondition::MergeFrom(const ApproveCondition& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ApproveCondition) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.signal_id().size() > 0) { - - signal_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signal_id_); - } -} - -void ApproveCondition::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ApproveCondition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ApproveCondition::CopyFrom(const ApproveCondition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ApproveCondition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ApproveCondition::IsInitialized() const { - return true; -} - -void ApproveCondition::Swap(ApproveCondition* other) { - if (other == this) return; - InternalSwap(other); -} -void ApproveCondition::InternalSwap(ApproveCondition* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - signal_id_.Swap(&other->signal_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ApproveCondition::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SignalCondition::InitAsDefaultInstance() { - ::flyteidl::core::_SignalCondition_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::LiteralType*>( - ::flyteidl::core::LiteralType::internal_default_instance()); -} -class SignalCondition::HasBitSetters { - public: - static const ::flyteidl::core::LiteralType& type(const SignalCondition* msg); -}; - -const ::flyteidl::core::LiteralType& -SignalCondition::HasBitSetters::type(const SignalCondition* msg) { - return *msg->type_; -} -void SignalCondition::clear_type() { - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SignalCondition::kSignalIdFieldNumber; -const int SignalCondition::kTypeFieldNumber; -const int SignalCondition::kOutputVariableNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SignalCondition::SignalCondition() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.SignalCondition) -} -SignalCondition::SignalCondition(const SignalCondition& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - signal_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.signal_id().size() > 0) { - signal_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signal_id_); - } - output_variable_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.output_variable_name().size() > 0) { - output_variable_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_variable_name_); - } - if (from.has_type()) { - type_ = new ::flyteidl::core::LiteralType(*from.type_); - } else { - type_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.SignalCondition) -} - -void SignalCondition::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SignalCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - signal_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - output_variable_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = nullptr; -} - -SignalCondition::~SignalCondition() { - // @@protoc_insertion_point(destructor:flyteidl.core.SignalCondition) - SharedDtor(); -} - -void SignalCondition::SharedDtor() { - signal_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - output_variable_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete type_; -} - -void SignalCondition::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SignalCondition& SignalCondition::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SignalCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void SignalCondition::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.SignalCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signal_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - output_variable_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { - delete type_; - } - type_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SignalCondition::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string signal_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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.SignalCondition.signal_id"); - object = msg->mutable_signal_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; - } - // .flyteidl.core.LiteralType type = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralType::_InternalParse; - object = msg->mutable_type(); - 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 output_variable_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("flyteidl.core.SignalCondition.output_variable_name"); - object = msg->mutable_output_variable_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 SignalCondition::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.SignalCondition) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string signal_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_signal_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.SignalCondition.signal_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralType type = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_type())); - } else { - goto handle_unusual; - } - break; - } - - // string output_variable_name = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_variable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_variable_name().data(), static_cast(this->output_variable_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.SignalCondition.output_variable_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:flyteidl.core.SignalCondition) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.SignalCondition) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SignalCondition::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.SignalCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signal_id = 1; - if (this->signal_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SignalCondition.signal_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->signal_id(), output); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::type(this), output); - } - - // string output_variable_name = 3; - if (this->output_variable_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_variable_name().data(), static_cast(this->output_variable_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SignalCondition.output_variable_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->output_variable_name(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.SignalCondition) -} - -::google::protobuf::uint8* SignalCondition::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.SignalCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signal_id = 1; - if (this->signal_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signal_id().data(), static_cast(this->signal_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SignalCondition.signal_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->signal_id(), target); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::type(this), target); - } - - // string output_variable_name = 3; - if (this->output_variable_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_variable_name().data(), static_cast(this->output_variable_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.SignalCondition.output_variable_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->output_variable_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:flyteidl.core.SignalCondition) - return target; -} - -size_t SignalCondition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.SignalCondition) - 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 signal_id = 1; - if (this->signal_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->signal_id()); - } - - // string output_variable_name = 3; - if (this->output_variable_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_variable_name()); - } - - // .flyteidl.core.LiteralType type = 2; - if (this->has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *type_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SignalCondition::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.SignalCondition) - GOOGLE_DCHECK_NE(&from, this); - const SignalCondition* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.SignalCondition) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.SignalCondition) - MergeFrom(*source); - } -} - -void SignalCondition::MergeFrom(const SignalCondition& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.SignalCondition) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.signal_id().size() > 0) { - - signal_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signal_id_); - } - if (from.output_variable_name().size() > 0) { - - output_variable_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_variable_name_); - } - if (from.has_type()) { - mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); - } -} - -void SignalCondition::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.SignalCondition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SignalCondition::CopyFrom(const SignalCondition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.SignalCondition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SignalCondition::IsInitialized() const { - return true; -} - -void SignalCondition::Swap(SignalCondition* other) { - if (other == this) return; - InternalSwap(other); -} -void SignalCondition::InternalSwap(SignalCondition* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - signal_id_.Swap(&other->signal_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - output_variable_name_.Swap(&other->output_variable_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(type_, other->type_); -} - -::google::protobuf::Metadata SignalCondition::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SleepCondition::InitAsDefaultInstance() { - ::flyteidl::core::_SleepCondition_default_instance_._instance.get_mutable()->duration_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class SleepCondition::HasBitSetters { - public: - static const ::google::protobuf::Duration& duration(const SleepCondition* msg); -}; - -const ::google::protobuf::Duration& -SleepCondition::HasBitSetters::duration(const SleepCondition* msg) { - return *msg->duration_; -} -void SleepCondition::clear_duration() { - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SleepCondition::kDurationFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SleepCondition::SleepCondition() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.SleepCondition) -} -SleepCondition::SleepCondition(const SleepCondition& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_duration()) { - duration_ = new ::google::protobuf::Duration(*from.duration_); - } else { - duration_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.SleepCondition) -} - -void SleepCondition::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SleepCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - duration_ = nullptr; -} - -SleepCondition::~SleepCondition() { - // @@protoc_insertion_point(destructor:flyteidl.core.SleepCondition) - SharedDtor(); -} - -void SleepCondition::SharedDtor() { - if (this != internal_default_instance()) delete duration_; -} - -void SleepCondition::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SleepCondition& SleepCondition::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SleepCondition_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void SleepCondition::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.SleepCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && duration_ != nullptr) { - delete duration_; - } - duration_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SleepCondition::_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) { - // .google.protobuf.Duration duration = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_duration(); - 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 SleepCondition::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.SleepCondition) - 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)) { - // .google.protobuf.Duration duration = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_duration())); - } 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.SleepCondition) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.SleepCondition) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SleepCondition::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.SleepCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Duration duration = 1; - if (this->has_duration()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::duration(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.SleepCondition) -} - -::google::protobuf::uint8* SleepCondition::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.SleepCondition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .google.protobuf.Duration duration = 1; - if (this->has_duration()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::duration(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.SleepCondition) - return target; -} - -size_t SleepCondition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.SleepCondition) - 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; - - // .google.protobuf.Duration duration = 1; - if (this->has_duration()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *duration_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SleepCondition::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.SleepCondition) - GOOGLE_DCHECK_NE(&from, this); - const SleepCondition* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.SleepCondition) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.SleepCondition) - MergeFrom(*source); - } -} - -void SleepCondition::MergeFrom(const SleepCondition& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.SleepCondition) - 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_duration()) { - mutable_duration()->::google::protobuf::Duration::MergeFrom(from.duration()); - } -} - -void SleepCondition::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.SleepCondition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SleepCondition::CopyFrom(const SleepCondition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.SleepCondition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SleepCondition::IsInitialized() const { - return true; -} - -void SleepCondition::Swap(SleepCondition* other) { - if (other == this) return; - InternalSwap(other); -} -void SleepCondition::InternalSwap(SleepCondition* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(duration_, other->duration_); -} - -::google::protobuf::Metadata SleepCondition::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GateNode::InitAsDefaultInstance() { - ::flyteidl::core::_GateNode_default_instance_.approve_ = const_cast< ::flyteidl::core::ApproveCondition*>( - ::flyteidl::core::ApproveCondition::internal_default_instance()); - ::flyteidl::core::_GateNode_default_instance_.signal_ = const_cast< ::flyteidl::core::SignalCondition*>( - ::flyteidl::core::SignalCondition::internal_default_instance()); - ::flyteidl::core::_GateNode_default_instance_.sleep_ = const_cast< ::flyteidl::core::SleepCondition*>( - ::flyteidl::core::SleepCondition::internal_default_instance()); -} -class GateNode::HasBitSetters { - public: - static const ::flyteidl::core::ApproveCondition& approve(const GateNode* msg); - static const ::flyteidl::core::SignalCondition& signal(const GateNode* msg); - static const ::flyteidl::core::SleepCondition& sleep(const GateNode* msg); -}; - -const ::flyteidl::core::ApproveCondition& -GateNode::HasBitSetters::approve(const GateNode* msg) { - return *msg->condition_.approve_; -} -const ::flyteidl::core::SignalCondition& -GateNode::HasBitSetters::signal(const GateNode* msg) { - return *msg->condition_.signal_; -} -const ::flyteidl::core::SleepCondition& -GateNode::HasBitSetters::sleep(const GateNode* msg) { - return *msg->condition_.sleep_; -} -void GateNode::set_allocated_approve(::flyteidl::core::ApproveCondition* approve) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_condition(); - if (approve) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - approve = ::google::protobuf::internal::GetOwnedMessage( - message_arena, approve, submessage_arena); - } - set_has_approve(); - condition_.approve_ = approve; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.GateNode.approve) -} -void GateNode::set_allocated_signal(::flyteidl::core::SignalCondition* signal) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_condition(); - if (signal) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - signal = ::google::protobuf::internal::GetOwnedMessage( - message_arena, signal, submessage_arena); - } - set_has_signal(); - condition_.signal_ = signal; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.GateNode.signal) -} -void GateNode::set_allocated_sleep(::flyteidl::core::SleepCondition* sleep) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_condition(); - if (sleep) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - sleep = ::google::protobuf::internal::GetOwnedMessage( - message_arena, sleep, submessage_arena); - } - set_has_sleep(); - condition_.sleep_ = sleep; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.GateNode.sleep) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GateNode::kApproveFieldNumber; -const int GateNode::kSignalFieldNumber; -const int GateNode::kSleepFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GateNode::GateNode() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.GateNode) -} -GateNode::GateNode(const GateNode& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_condition(); - switch (from.condition_case()) { - case kApprove: { - mutable_approve()->::flyteidl::core::ApproveCondition::MergeFrom(from.approve()); - break; - } - case kSignal: { - mutable_signal()->::flyteidl::core::SignalCondition::MergeFrom(from.signal()); - break; - } - case kSleep: { - mutable_sleep()->::flyteidl::core::SleepCondition::MergeFrom(from.sleep()); - break; - } - case CONDITION_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.GateNode) -} - -void GateNode::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GateNode_flyteidl_2fcore_2fworkflow_2eproto.base); - clear_has_condition(); -} - -GateNode::~GateNode() { - // @@protoc_insertion_point(destructor:flyteidl.core.GateNode) - SharedDtor(); -} - -void GateNode::SharedDtor() { - if (has_condition()) { - clear_condition(); - } -} - -void GateNode::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GateNode& GateNode::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GateNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void GateNode::clear_condition() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.GateNode) - switch (condition_case()) { - case kApprove: { - delete condition_.approve_; - break; - } - case kSignal: { - delete condition_.signal_; - break; - } - case kSleep: { - delete condition_.sleep_; - break; - } - case CONDITION_NOT_SET: { - break; - } - } - _oneof_case_[0] = CONDITION_NOT_SET; -} - - -void GateNode::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.GateNode) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_condition(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GateNode::_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.ApproveCondition approve = 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::ApproveCondition::_InternalParse; - object = msg->mutable_approve(); - 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.SignalCondition signal = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::SignalCondition::_InternalParse; - object = msg->mutable_signal(); - 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.SleepCondition sleep = 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::SleepCondition::_InternalParse; - object = msg->mutable_sleep(); - 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 GateNode::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.GateNode) - 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.ApproveCondition approve = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_approve())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SignalCondition signal = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_signal())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.SleepCondition sleep = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_sleep())); - } 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.GateNode) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.GateNode) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GateNode::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.GateNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ApproveCondition approve = 1; - if (has_approve()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::approve(this), output); - } - - // .flyteidl.core.SignalCondition signal = 2; - if (has_signal()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::signal(this), output); - } - - // .flyteidl.core.SleepCondition sleep = 3; - if (has_sleep()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::sleep(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.GateNode) -} - -::google::protobuf::uint8* GateNode::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.GateNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.ApproveCondition approve = 1; - if (has_approve()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::approve(this), target); - } - - // .flyteidl.core.SignalCondition signal = 2; - if (has_signal()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::signal(this), target); - } - - // .flyteidl.core.SleepCondition sleep = 3; - if (has_sleep()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::sleep(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.GateNode) - return target; -} - -size_t GateNode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.GateNode) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (condition_case()) { - // .flyteidl.core.ApproveCondition approve = 1; - case kApprove: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *condition_.approve_); - break; - } - // .flyteidl.core.SignalCondition signal = 2; - case kSignal: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *condition_.signal_); - break; - } - // .flyteidl.core.SleepCondition sleep = 3; - case kSleep: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *condition_.sleep_); - break; - } - case CONDITION_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GateNode::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.GateNode) - GOOGLE_DCHECK_NE(&from, this); - const GateNode* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.GateNode) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.GateNode) - MergeFrom(*source); - } -} - -void GateNode::MergeFrom(const GateNode& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.GateNode) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.condition_case()) { - case kApprove: { - mutable_approve()->::flyteidl::core::ApproveCondition::MergeFrom(from.approve()); - break; - } - case kSignal: { - mutable_signal()->::flyteidl::core::SignalCondition::MergeFrom(from.signal()); - break; - } - case kSleep: { - mutable_sleep()->::flyteidl::core::SleepCondition::MergeFrom(from.sleep()); - break; - } - case CONDITION_NOT_SET: { - break; - } - } -} - -void GateNode::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.GateNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GateNode::CopyFrom(const GateNode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.GateNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GateNode::IsInitialized() const { - return true; -} - -void GateNode::Swap(GateNode* other) { - if (other == this) return; - InternalSwap(other); -} -void GateNode::InternalSwap(GateNode* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(condition_, other->condition_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata GateNode::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ArrayNode::InitAsDefaultInstance() { - ::flyteidl::core::_ArrayNode_default_instance_._instance.get_mutable()->node_ = const_cast< ::flyteidl::core::Node*>( - ::flyteidl::core::Node::internal_default_instance()); - ::flyteidl::core::_ArrayNode_default_instance_.min_successes_ = 0u; - ::flyteidl::core::_ArrayNode_default_instance_.min_success_ratio_ = 0; -} -class ArrayNode::HasBitSetters { - public: - static const ::flyteidl::core::Node& node(const ArrayNode* msg); -}; - -const ::flyteidl::core::Node& -ArrayNode::HasBitSetters::node(const ArrayNode* msg) { - return *msg->node_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArrayNode::kNodeFieldNumber; -const int ArrayNode::kParallelismFieldNumber; -const int ArrayNode::kMinSuccessesFieldNumber; -const int ArrayNode::kMinSuccessRatioFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArrayNode::ArrayNode() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.ArrayNode) -} -ArrayNode::ArrayNode(const ArrayNode& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_node()) { - node_ = new ::flyteidl::core::Node(*from.node_); - } else { - node_ = nullptr; - } - parallelism_ = from.parallelism_; - clear_has_success_criteria(); - switch (from.success_criteria_case()) { - case kMinSuccesses: { - set_min_successes(from.min_successes()); - break; - } - case kMinSuccessRatio: { - set_min_success_ratio(from.min_success_ratio()); - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArrayNode) -} - -void ArrayNode::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - ::memset(&node_, 0, static_cast( - reinterpret_cast(¶llelism_) - - reinterpret_cast(&node_)) + sizeof(parallelism_)); - clear_has_success_criteria(); -} - -ArrayNode::~ArrayNode() { - // @@protoc_insertion_point(destructor:flyteidl.core.ArrayNode) - SharedDtor(); -} - -void ArrayNode::SharedDtor() { - if (this != internal_default_instance()) delete node_; - if (has_success_criteria()) { - clear_success_criteria(); - } -} - -void ArrayNode::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArrayNode& ArrayNode::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void ArrayNode::clear_success_criteria() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.ArrayNode) - switch (success_criteria_case()) { - case kMinSuccesses: { - // No need to clear - break; - } - case kMinSuccessRatio: { - // No need to clear - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } - _oneof_case_[0] = SUCCESS_CRITERIA_NOT_SET; -} - - -void ArrayNode::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.ArrayNode) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && node_ != nullptr) { - delete node_; - } - node_ = nullptr; - parallelism_ = 0u; - clear_success_criteria(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArrayNode::_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.Node node = 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::Node::_InternalParse; - object = msg->mutable_node(); - 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; - } - // uint32 parallelism = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_parallelism(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // uint32 min_successes = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_min_successes(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // float min_success_ratio = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 37) goto handle_unusual; - msg->set_min_success_ratio(::google::protobuf::io::UnalignedLoad(ptr)); - ptr += sizeof(float); - 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 ArrayNode::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.ArrayNode) - 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.Node node = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_node())); - } else { - goto handle_unusual; - } - break; - } - - // uint32 parallelism = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, ¶llelism_))); - } else { - goto handle_unusual; - } - break; - } - - // uint32 min_successes = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - clear_success_criteria(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &success_criteria_.min_successes_))); - set_has_min_successes(); - } else { - goto handle_unusual; - } - break; - } - - // float min_success_ratio = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (37 & 0xFF)) { - clear_success_criteria(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( - input, &success_criteria_.min_success_ratio_))); - set_has_min_success_ratio(); - } 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.ArrayNode) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.ArrayNode) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArrayNode::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.ArrayNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Node node = 1; - if (this->has_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::node(this), output); - } - - // uint32 parallelism = 2; - if (this->parallelism() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->parallelism(), output); - } - - // uint32 min_successes = 3; - if (has_min_successes()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->min_successes(), output); - } - - // float min_success_ratio = 4; - if (has_min_success_ratio()) { - ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->min_success_ratio(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.ArrayNode) -} - -::google::protobuf::uint8* ArrayNode::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.ArrayNode) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Node node = 1; - if (this->has_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::node(this), target); - } - - // uint32 parallelism = 2; - if (this->parallelism() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->parallelism(), target); - } - - // uint32 min_successes = 3; - if (has_min_successes()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->min_successes(), target); - } - - // float min_success_ratio = 4; - if (has_min_success_ratio()) { - target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->min_success_ratio(), 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.ArrayNode) - return target; -} - -size_t ArrayNode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.ArrayNode) - 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.Node node = 1; - if (this->has_node()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *node_); - } - - // uint32 parallelism = 2; - if (this->parallelism() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->parallelism()); - } - - switch (success_criteria_case()) { - // uint32 min_successes = 3; - case kMinSuccesses: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->min_successes()); - break; - } - // float min_success_ratio = 4; - case kMinSuccessRatio: { - total_size += 1 + 4; - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArrayNode::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.ArrayNode) - GOOGLE_DCHECK_NE(&from, this); - const ArrayNode* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.ArrayNode) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.ArrayNode) - MergeFrom(*source); - } -} - -void ArrayNode::MergeFrom(const ArrayNode& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.ArrayNode) - 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_node()) { - mutable_node()->::flyteidl::core::Node::MergeFrom(from.node()); - } - if (from.parallelism() != 0) { - set_parallelism(from.parallelism()); - } - switch (from.success_criteria_case()) { - case kMinSuccesses: { - set_min_successes(from.min_successes()); - break; - } - case kMinSuccessRatio: { - set_min_success_ratio(from.min_success_ratio()); - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } -} - -void ArrayNode::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.ArrayNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArrayNode::CopyFrom(const ArrayNode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.ArrayNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayNode::IsInitialized() const { - return true; -} - -void ArrayNode::Swap(ArrayNode* other) { - if (other == this) return; - InternalSwap(other); -} -void ArrayNode::InternalSwap(ArrayNode* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(node_, other->node_); - swap(parallelism_, other->parallelism_); - swap(success_criteria_, other->success_criteria_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata ArrayNode::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeMetadata::InitAsDefaultInstance() { - ::flyteidl::core::_NodeMetadata_default_instance_._instance.get_mutable()->timeout_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); - ::flyteidl::core::_NodeMetadata_default_instance_._instance.get_mutable()->retries_ = const_cast< ::flyteidl::core::RetryStrategy*>( - ::flyteidl::core::RetryStrategy::internal_default_instance()); - ::flyteidl::core::_NodeMetadata_default_instance_.interruptible_ = false; -} -class NodeMetadata::HasBitSetters { - public: - static const ::google::protobuf::Duration& timeout(const NodeMetadata* msg); - static const ::flyteidl::core::RetryStrategy& retries(const NodeMetadata* msg); -}; - -const ::google::protobuf::Duration& -NodeMetadata::HasBitSetters::timeout(const NodeMetadata* msg) { - return *msg->timeout_; -} -const ::flyteidl::core::RetryStrategy& -NodeMetadata::HasBitSetters::retries(const NodeMetadata* msg) { - return *msg->retries_; -} -void NodeMetadata::clear_timeout() { - if (GetArenaNoVirtual() == nullptr && timeout_ != nullptr) { - delete timeout_; - } - timeout_ = nullptr; -} -void NodeMetadata::clear_retries() { - if (GetArenaNoVirtual() == nullptr && retries_ != nullptr) { - delete retries_; - } - retries_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeMetadata::kNameFieldNumber; -const int NodeMetadata::kTimeoutFieldNumber; -const int NodeMetadata::kRetriesFieldNumber; -const int NodeMetadata::kInterruptibleFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeMetadata::NodeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.NodeMetadata) -} -NodeMetadata::NodeMetadata(const NodeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_timeout()) { - timeout_ = new ::google::protobuf::Duration(*from.timeout_); - } else { - timeout_ = nullptr; - } - if (from.has_retries()) { - retries_ = new ::flyteidl::core::RetryStrategy(*from.retries_); - } else { - retries_ = nullptr; - } - clear_has_interruptible_value(); - switch (from.interruptible_value_case()) { - case kInterruptible: { - set_interruptible(from.interruptible()); - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.NodeMetadata) -} - -void NodeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeMetadata_flyteidl_2fcore_2fworkflow_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&timeout_, 0, static_cast( - reinterpret_cast(&retries_) - - reinterpret_cast(&timeout_)) + sizeof(retries_)); - clear_has_interruptible_value(); -} - -NodeMetadata::~NodeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.NodeMetadata) - SharedDtor(); -} - -void NodeMetadata::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete timeout_; - if (this != internal_default_instance()) delete retries_; - if (has_interruptible_value()) { - clear_interruptible_value(); - } -} - -void NodeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeMetadata& NodeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeMetadata_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void NodeMetadata::clear_interruptible_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.NodeMetadata) - switch (interruptible_value_case()) { - case kInterruptible: { - // No need to clear - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = INTERRUPTIBLE_VALUE_NOT_SET; -} - - -void NodeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.NodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && timeout_ != nullptr) { - delete timeout_; - } - timeout_ = nullptr; - if (GetArenaNoVirtual() == nullptr && retries_ != nullptr) { - delete retries_; - } - retries_ = nullptr; - clear_interruptible_value(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.NodeMetadata.name"); - object = msg->mutable_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; - } - // .google.protobuf.Duration timeout = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_timeout(); - 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.RetryStrategy retries = 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::RetryStrategy::_InternalParse; - object = msg->mutable_retries(); - 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; - } - // bool interruptible = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 48) goto handle_unusual; - msg->set_interruptible(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 NodeMetadata::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.NodeMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.NodeMetadata.name")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration timeout = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_timeout())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.RetryStrategy retries = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_retries())); - } else { - goto handle_unusual; - } - break; - } - - // bool interruptible = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (48 & 0xFF)) { - clear_interruptible_value(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &interruptible_value_.interruptible_))); - set_has_interruptible(); - } 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.NodeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.NodeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.NodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.NodeMetadata.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // .google.protobuf.Duration timeout = 4; - if (this->has_timeout()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::timeout(this), output); - } - - // .flyteidl.core.RetryStrategy retries = 5; - if (this->has_retries()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::retries(this), output); - } - - // bool interruptible = 6; - if (has_interruptible()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->interruptible(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.NodeMetadata) -} - -::google::protobuf::uint8* NodeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.NodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.NodeMetadata.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // .google.protobuf.Duration timeout = 4; - if (this->has_timeout()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::timeout(this), target); - } - - // .flyteidl.core.RetryStrategy retries = 5; - if (this->has_retries()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::retries(this), target); - } - - // bool interruptible = 6; - if (has_interruptible()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->interruptible(), 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.NodeMetadata) - return target; -} - -size_t NodeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.NodeMetadata) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // .google.protobuf.Duration timeout = 4; - if (this->has_timeout()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *timeout_); - } - - // .flyteidl.core.RetryStrategy retries = 5; - if (this->has_retries()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *retries_); - } - - switch (interruptible_value_case()) { - // bool interruptible = 6; - case kInterruptible: { - total_size += 1 + 1; - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.NodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const NodeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.NodeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.NodeMetadata) - MergeFrom(*source); - } -} - -void NodeMetadata::MergeFrom(const NodeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.NodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_timeout()) { - mutable_timeout()->::google::protobuf::Duration::MergeFrom(from.timeout()); - } - if (from.has_retries()) { - mutable_retries()->::flyteidl::core::RetryStrategy::MergeFrom(from.retries()); - } - switch (from.interruptible_value_case()) { - case kInterruptible: { - set_interruptible(from.interruptible()); - break; - } - case INTERRUPTIBLE_VALUE_NOT_SET: { - break; - } - } -} - -void NodeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.NodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeMetadata::CopyFrom(const NodeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.NodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeMetadata::IsInitialized() const { - return true; -} - -void NodeMetadata::Swap(NodeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeMetadata::InternalSwap(NodeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(timeout_, other->timeout_); - swap(retries_, other->retries_); - swap(interruptible_value_, other->interruptible_value_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata NodeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Alias::InitAsDefaultInstance() { -} -class Alias::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Alias::kVarFieldNumber; -const int Alias::kAliasFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Alias::Alias() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Alias) -} -Alias::Alias(const Alias& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.var().size() > 0) { - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } - alias_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.alias().size() > 0) { - alias_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.alias_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Alias) -} - -void Alias::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Alias_flyteidl_2fcore_2fworkflow_2eproto.base); - var_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - alias_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Alias::~Alias() { - // @@protoc_insertion_point(destructor:flyteidl.core.Alias) - SharedDtor(); -} - -void Alias::SharedDtor() { - var_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - alias_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Alias::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Alias& Alias::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Alias_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void Alias::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Alias) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - alias_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Alias::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string var = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Alias.var"); - object = msg->mutable_var(); - 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 alias = 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.Alias.alias"); - object = msg->mutable_alias(); - 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 Alias::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.Alias) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string var = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_var())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Alias.var")); - } else { - goto handle_unusual; - } - break; - } - - // string alias = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_alias())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->alias().data(), static_cast(this->alias().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Alias.alias")); - } 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.Alias) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Alias) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Alias::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Alias) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string var = 1; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Alias.var"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->var(), output); - } - - // string alias = 2; - if (this->alias().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->alias().data(), static_cast(this->alias().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Alias.alias"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->alias(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.Alias) -} - -::google::protobuf::uint8* Alias::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Alias) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string var = 1; - if (this->var().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->var().data(), static_cast(this->var().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Alias.var"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->var(), target); - } - - // string alias = 2; - if (this->alias().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->alias().data(), static_cast(this->alias().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Alias.alias"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->alias(), 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.Alias) - return target; -} - -size_t Alias::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Alias) - 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 var = 1; - if (this->var().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->var()); - } - - // string alias = 2; - if (this->alias().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->alias()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Alias::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Alias) - GOOGLE_DCHECK_NE(&from, this); - const Alias* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Alias) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Alias) - MergeFrom(*source); - } -} - -void Alias::MergeFrom(const Alias& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Alias) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.var().size() > 0) { - - var_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.var_); - } - if (from.alias().size() > 0) { - - alias_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.alias_); - } -} - -void Alias::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Alias) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Alias::CopyFrom(const Alias& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Alias) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Alias::IsInitialized() const { - return true; -} - -void Alias::Swap(Alias* other) { - if (other == this) return; - InternalSwap(other); -} -void Alias::InternalSwap(Alias* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - var_.Swap(&other->var_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - alias_.Swap(&other->alias_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Alias::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Node::InitAsDefaultInstance() { - ::flyteidl::core::_Node_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::core::NodeMetadata*>( - ::flyteidl::core::NodeMetadata::internal_default_instance()); - ::flyteidl::core::_Node_default_instance_.task_node_ = const_cast< ::flyteidl::core::TaskNode*>( - ::flyteidl::core::TaskNode::internal_default_instance()); - ::flyteidl::core::_Node_default_instance_.workflow_node_ = const_cast< ::flyteidl::core::WorkflowNode*>( - ::flyteidl::core::WorkflowNode::internal_default_instance()); - ::flyteidl::core::_Node_default_instance_.branch_node_ = const_cast< ::flyteidl::core::BranchNode*>( - ::flyteidl::core::BranchNode::internal_default_instance()); - ::flyteidl::core::_Node_default_instance_.gate_node_ = const_cast< ::flyteidl::core::GateNode*>( - ::flyteidl::core::GateNode::internal_default_instance()); - ::flyteidl::core::_Node_default_instance_.array_node_ = const_cast< ::flyteidl::core::ArrayNode*>( - ::flyteidl::core::ArrayNode::internal_default_instance()); -} -class Node::HasBitSetters { - public: - static const ::flyteidl::core::NodeMetadata& metadata(const Node* msg); - static const ::flyteidl::core::TaskNode& task_node(const Node* msg); - static const ::flyteidl::core::WorkflowNode& workflow_node(const Node* msg); - static const ::flyteidl::core::BranchNode& branch_node(const Node* msg); - static const ::flyteidl::core::GateNode& gate_node(const Node* msg); - static const ::flyteidl::core::ArrayNode& array_node(const Node* msg); -}; - -const ::flyteidl::core::NodeMetadata& -Node::HasBitSetters::metadata(const Node* msg) { - return *msg->metadata_; -} -const ::flyteidl::core::TaskNode& -Node::HasBitSetters::task_node(const Node* msg) { - return *msg->target_.task_node_; -} -const ::flyteidl::core::WorkflowNode& -Node::HasBitSetters::workflow_node(const Node* msg) { - return *msg->target_.workflow_node_; -} -const ::flyteidl::core::BranchNode& -Node::HasBitSetters::branch_node(const Node* msg) { - return *msg->target_.branch_node_; -} -const ::flyteidl::core::GateNode& -Node::HasBitSetters::gate_node(const Node* msg) { - return *msg->target_.gate_node_; -} -const ::flyteidl::core::ArrayNode& -Node::HasBitSetters::array_node(const Node* msg) { - return *msg->target_.array_node_; -} -void Node::clear_inputs() { - inputs_.Clear(); -} -void Node::set_allocated_task_node(::flyteidl::core::TaskNode* task_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (task_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_node, submessage_arena); - } - set_has_task_node(); - target_.task_node_ = task_node; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Node.task_node) -} -void Node::set_allocated_workflow_node(::flyteidl::core::WorkflowNode* workflow_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (workflow_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_node, submessage_arena); - } - set_has_workflow_node(); - target_.workflow_node_ = workflow_node; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Node.workflow_node) -} -void Node::set_allocated_branch_node(::flyteidl::core::BranchNode* branch_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (branch_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - branch_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, branch_node, submessage_arena); - } - set_has_branch_node(); - target_.branch_node_ = branch_node; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Node.branch_node) -} -void Node::set_allocated_gate_node(::flyteidl::core::GateNode* gate_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (gate_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - gate_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, gate_node, submessage_arena); - } - set_has_gate_node(); - target_.gate_node_ = gate_node; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Node.gate_node) -} -void Node::set_allocated_array_node(::flyteidl::core::ArrayNode* array_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target(); - if (array_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - array_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, array_node, submessage_arena); - } - set_has_array_node(); - target_.array_node_ = array_node; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Node.array_node) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Node::kIdFieldNumber; -const int Node::kMetadataFieldNumber; -const int Node::kInputsFieldNumber; -const int Node::kUpstreamNodeIdsFieldNumber; -const int Node::kOutputAliasesFieldNumber; -const int Node::kTaskNodeFieldNumber; -const int Node::kWorkflowNodeFieldNumber; -const int Node::kBranchNodeFieldNumber; -const int Node::kGateNodeFieldNumber; -const int Node::kArrayNodeFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Node::Node() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.Node) -} -Node::Node(const Node& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - inputs_(from.inputs_), - upstream_node_ids_(from.upstream_node_ids_), - output_aliases_(from.output_aliases_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.id().size() > 0) { - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::core::NodeMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - clear_has_target(); - switch (from.target_case()) { - case kTaskNode: { - mutable_task_node()->::flyteidl::core::TaskNode::MergeFrom(from.task_node()); - break; - } - case kWorkflowNode: { - mutable_workflow_node()->::flyteidl::core::WorkflowNode::MergeFrom(from.workflow_node()); - break; - } - case kBranchNode: { - mutable_branch_node()->::flyteidl::core::BranchNode::MergeFrom(from.branch_node()); - break; - } - case kGateNode: { - mutable_gate_node()->::flyteidl::core::GateNode::MergeFrom(from.gate_node()); - break; - } - case kArrayNode: { - mutable_array_node()->::flyteidl::core::ArrayNode::MergeFrom(from.array_node()); - break; - } - case TARGET_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.Node) -} - -void Node::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - metadata_ = nullptr; - clear_has_target(); -} - -Node::~Node() { - // @@protoc_insertion_point(destructor:flyteidl.core.Node) - SharedDtor(); -} - -void Node::SharedDtor() { - id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete metadata_; - if (has_target()) { - clear_target(); - } -} - -void Node::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Node& Node::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArrayNode_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void Node::clear_target() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Node) - switch (target_case()) { - case kTaskNode: { - delete target_.task_node_; - break; - } - case kWorkflowNode: { - delete target_.workflow_node_; - break; - } - case kBranchNode: { - delete target_.branch_node_; - break; - } - case kGateNode: { - delete target_.gate_node_; - break; - } - case kArrayNode: { - delete target_.array_node_; - break; - } - case TARGET_NOT_SET: { - break; - } - } - _oneof_case_[0] = TARGET_NOT_SET; -} - - -void Node::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.Node) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - inputs_.Clear(); - upstream_node_ids_.Clear(); - output_aliases_.Clear(); - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - clear_target(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Node::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string 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); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Node.id"); - object = msg->mutable_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; - } - // .flyteidl.core.NodeMetadata metadata = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::NodeMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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; - } - // repeated .flyteidl.core.Binding inputs = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Binding::_InternalParse; - object = msg->add_inputs(); - 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) == 26 && (ptr += 1)); - break; - } - // repeated string upstream_node_ids = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.core.Node.upstream_node_ids"); - object = msg->add_upstream_node_ids(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.Alias output_aliases = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Alias::_InternalParse; - object = msg->add_output_aliases(); - 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) == 42 && (ptr += 1)); - break; - } - // .flyteidl.core.TaskNode task_node = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskNode::_InternalParse; - object = msg->mutable_task_node(); - 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.WorkflowNode workflow_node = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::WorkflowNode::_InternalParse; - object = msg->mutable_workflow_node(); - 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.BranchNode branch_node = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::BranchNode::_InternalParse; - object = msg->mutable_branch_node(); - 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.GateNode gate_node = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::GateNode::_InternalParse; - object = msg->mutable_gate_node(); - 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.ArrayNode array_node = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ArrayNode::_InternalParse; - object = msg->mutable_array_node(); - 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 Node::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.Node) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Node.id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.NodeMetadata metadata = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Binding inputs = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string upstream_node_ids = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_upstream_node_ids())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->upstream_node_ids(this->upstream_node_ids_size() - 1).data(), - static_cast(this->upstream_node_ids(this->upstream_node_ids_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.Node.upstream_node_ids")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Alias output_aliases = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_output_aliases())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskNode task_node = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_node())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowNode workflow_node = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_node())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.BranchNode branch_node = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_branch_node())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.GateNode gate_node = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_gate_node())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ArrayNode array_node = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_array_node())); - } 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.Node) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.Node) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Node::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.Node) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Node.id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->id(), output); - } - - // .flyteidl.core.NodeMetadata metadata = 2; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::metadata(this), output); - } - - // repeated .flyteidl.core.Binding inputs = 3; - for (unsigned int i = 0, - n = static_cast(this->inputs_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->inputs(static_cast(i)), - output); - } - - // repeated string upstream_node_ids = 4; - for (int i = 0, n = this->upstream_node_ids_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->upstream_node_ids(i).data(), static_cast(this->upstream_node_ids(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Node.upstream_node_ids"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 4, this->upstream_node_ids(i), output); - } - - // repeated .flyteidl.core.Alias output_aliases = 5; - for (unsigned int i = 0, - n = static_cast(this->output_aliases_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, - this->output_aliases(static_cast(i)), - output); - } - - // .flyteidl.core.TaskNode task_node = 6; - if (has_task_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::task_node(this), output); - } - - // .flyteidl.core.WorkflowNode workflow_node = 7; - if (has_workflow_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::workflow_node(this), output); - } - - // .flyteidl.core.BranchNode branch_node = 8; - if (has_branch_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::branch_node(this), output); - } - - // .flyteidl.core.GateNode gate_node = 9; - if (has_gate_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::gate_node(this), output); - } - - // .flyteidl.core.ArrayNode array_node = 10; - if (has_array_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, HasBitSetters::array_node(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.Node) -} - -::google::protobuf::uint8* Node::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Node) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Node.id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->id(), target); - } - - // .flyteidl.core.NodeMetadata metadata = 2; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::metadata(this), target); - } - - // repeated .flyteidl.core.Binding inputs = 3; - for (unsigned int i = 0, - n = static_cast(this->inputs_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->inputs(static_cast(i)), target); - } - - // repeated string upstream_node_ids = 4; - for (int i = 0, n = this->upstream_node_ids_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->upstream_node_ids(i).data(), static_cast(this->upstream_node_ids(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.Node.upstream_node_ids"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(4, this->upstream_node_ids(i), target); - } - - // repeated .flyteidl.core.Alias output_aliases = 5; - for (unsigned int i = 0, - n = static_cast(this->output_aliases_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, this->output_aliases(static_cast(i)), target); - } - - // .flyteidl.core.TaskNode task_node = 6; - if (has_task_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::task_node(this), target); - } - - // .flyteidl.core.WorkflowNode workflow_node = 7; - if (has_workflow_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::workflow_node(this), target); - } - - // .flyteidl.core.BranchNode branch_node = 8; - if (has_branch_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::branch_node(this), target); - } - - // .flyteidl.core.GateNode gate_node = 9; - if (has_gate_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::gate_node(this), target); - } - - // .flyteidl.core.ArrayNode array_node = 10; - if (has_array_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 10, HasBitSetters::array_node(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.Node) - return target; -} - -size_t Node::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Node) - 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.Binding inputs = 3; - { - unsigned int count = static_cast(this->inputs_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->inputs(static_cast(i))); - } - } - - // repeated string upstream_node_ids = 4; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->upstream_node_ids_size()); - for (int i = 0, n = this->upstream_node_ids_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->upstream_node_ids(i)); - } - - // repeated .flyteidl.core.Alias output_aliases = 5; - { - unsigned int count = static_cast(this->output_aliases_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->output_aliases(static_cast(i))); - } - } - - // string id = 1; - if (this->id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->id()); - } - - // .flyteidl.core.NodeMetadata metadata = 2; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - switch (target_case()) { - // .flyteidl.core.TaskNode task_node = 6; - case kTaskNode: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.task_node_); - break; - } - // .flyteidl.core.WorkflowNode workflow_node = 7; - case kWorkflowNode: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.workflow_node_); - break; - } - // .flyteidl.core.BranchNode branch_node = 8; - case kBranchNode: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.branch_node_); - break; - } - // .flyteidl.core.GateNode gate_node = 9; - case kGateNode: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.gate_node_); - break; - } - // .flyteidl.core.ArrayNode array_node = 10; - case kArrayNode: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_.array_node_); - break; - } - case TARGET_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Node::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Node) - GOOGLE_DCHECK_NE(&from, this); - const Node* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Node) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Node) - MergeFrom(*source); - } -} - -void Node::MergeFrom(const Node& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Node) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - inputs_.MergeFrom(from.inputs_); - upstream_node_ids_.MergeFrom(from.upstream_node_ids_); - output_aliases_.MergeFrom(from.output_aliases_); - if (from.id().size() > 0) { - - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::core::NodeMetadata::MergeFrom(from.metadata()); - } - switch (from.target_case()) { - case kTaskNode: { - mutable_task_node()->::flyteidl::core::TaskNode::MergeFrom(from.task_node()); - break; - } - case kWorkflowNode: { - mutable_workflow_node()->::flyteidl::core::WorkflowNode::MergeFrom(from.workflow_node()); - break; - } - case kBranchNode: { - mutable_branch_node()->::flyteidl::core::BranchNode::MergeFrom(from.branch_node()); - break; - } - case kGateNode: { - mutable_gate_node()->::flyteidl::core::GateNode::MergeFrom(from.gate_node()); - break; - } - case kArrayNode: { - mutable_array_node()->::flyteidl::core::ArrayNode::MergeFrom(from.array_node()); - break; - } - case TARGET_NOT_SET: { - break; - } - } -} - -void Node::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Node) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Node::CopyFrom(const Node& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Node) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Node::IsInitialized() const { - return true; -} - -void Node::Swap(Node* other) { - if (other == this) return; - InternalSwap(other); -} -void Node::InternalSwap(Node* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&inputs_)->InternalSwap(CastToBase(&other->inputs_)); - upstream_node_ids_.InternalSwap(CastToBase(&other->upstream_node_ids_)); - CastToBase(&output_aliases_)->InternalSwap(CastToBase(&other->output_aliases_)); - id_.Swap(&other->id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(metadata_, other->metadata_); - swap(target_, other->target_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata Node::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -WorkflowMetadata_TagsEntry_DoNotUse::WorkflowMetadata_TagsEntry_DoNotUse() {} -WorkflowMetadata_TagsEntry_DoNotUse::WorkflowMetadata_TagsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void WorkflowMetadata_TagsEntry_DoNotUse::MergeFrom(const WorkflowMetadata_TagsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata WorkflowMetadata_TagsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[13]; -} -void WorkflowMetadata_TagsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkflowMetadata_TagsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - WorkflowMetadata_TagsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowMetadata.TagsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowMetadata.TagsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void WorkflowMetadata::InitAsDefaultInstance() { - ::flyteidl::core::_WorkflowMetadata_default_instance_._instance.get_mutable()->quality_of_service_ = const_cast< ::flyteidl::core::QualityOfService*>( - ::flyteidl::core::QualityOfService::internal_default_instance()); -} -class WorkflowMetadata::HasBitSetters { - public: - static const ::flyteidl::core::QualityOfService& quality_of_service(const WorkflowMetadata* msg); -}; - -const ::flyteidl::core::QualityOfService& -WorkflowMetadata::HasBitSetters::quality_of_service(const WorkflowMetadata* msg) { - return *msg->quality_of_service_; -} -void WorkflowMetadata::clear_quality_of_service() { - if (GetArenaNoVirtual() == nullptr && quality_of_service_ != nullptr) { - delete quality_of_service_; - } - quality_of_service_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowMetadata::kQualityOfServiceFieldNumber; -const int WorkflowMetadata::kOnFailureFieldNumber; -const int WorkflowMetadata::kTagsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowMetadata::WorkflowMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.WorkflowMetadata) -} -WorkflowMetadata::WorkflowMetadata(const WorkflowMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - tags_.MergeFrom(from.tags_); - if (from.has_quality_of_service()) { - quality_of_service_ = new ::flyteidl::core::QualityOfService(*from.quality_of_service_); - } else { - quality_of_service_ = nullptr; - } - on_failure_ = from.on_failure_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.WorkflowMetadata) -} - -void WorkflowMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto.base); - ::memset(&quality_of_service_, 0, static_cast( - reinterpret_cast(&on_failure_) - - reinterpret_cast(&quality_of_service_)) + sizeof(on_failure_)); -} - -WorkflowMetadata::~WorkflowMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.core.WorkflowMetadata) - SharedDtor(); -} - -void WorkflowMetadata::SharedDtor() { - if (this != internal_default_instance()) delete quality_of_service_; -} - -void WorkflowMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowMetadata& WorkflowMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowMetadata_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.WorkflowMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tags_.Clear(); - if (GetArenaNoVirtual() == nullptr && quality_of_service_ != nullptr) { - delete quality_of_service_; - } - quality_of_service_ = nullptr; - on_failure_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowMetadata::_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.QualityOfService quality_of_service = 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::QualityOfService::_InternalParse; - object = msg->mutable_quality_of_service(); - 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.WorkflowMetadata.OnFailurePolicy on_failure = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_on_failure(static_cast<::flyteidl::core::WorkflowMetadata_OnFailurePolicy>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // map tags = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->tags_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkflowMetadata::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.WorkflowMetadata) - 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.QualityOfService quality_of_service = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_quality_of_service())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_on_failure(static_cast< ::flyteidl::core::WorkflowMetadata_OnFailurePolicy >(value)); - } else { - goto handle_unusual; - } - break; - } - - // map tags = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - WorkflowMetadata_TagsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - WorkflowMetadata_TagsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&tags_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowMetadata.TagsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.core.WorkflowMetadata.TagsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.core.WorkflowMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.WorkflowMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.WorkflowMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.QualityOfService quality_of_service = 1; - if (this->has_quality_of_service()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::quality_of_service(this), output); - } - - // .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - if (this->on_failure() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->on_failure(), output); - } - - // map tags = 3; - if (!this->tags().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowMetadata.TagsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowMetadata.TagsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->tags().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->tags().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(tags_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it) { - entry.reset(tags_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.WorkflowMetadata) -} - -::google::protobuf::uint8* WorkflowMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.WorkflowMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.QualityOfService quality_of_service = 1; - if (this->has_quality_of_service()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::quality_of_service(this), target); - } - - // .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - if (this->on_failure() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->on_failure(), target); - } - - // map tags = 3; - if (!this->tags().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowMetadata.TagsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.core.WorkflowMetadata.TagsEntry.value"); - } - }; - - if (false && - this->tags().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->tags().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(tags_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it) { - entry.reset(tags_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.WorkflowMetadata) - return target; -} - -size_t WorkflowMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.WorkflowMetadata) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map tags = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->tags_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->tags().begin(); - it != this->tags().end(); ++it) { - entry.reset(tags_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // .flyteidl.core.QualityOfService quality_of_service = 1; - if (this->has_quality_of_service()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *quality_of_service_); - } - - // .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - if (this->on_failure() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->on_failure()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.WorkflowMetadata) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.WorkflowMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.WorkflowMetadata) - MergeFrom(*source); - } -} - -void WorkflowMetadata::MergeFrom(const WorkflowMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.WorkflowMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tags_.MergeFrom(from.tags_); - if (from.has_quality_of_service()) { - mutable_quality_of_service()->::flyteidl::core::QualityOfService::MergeFrom(from.quality_of_service()); - } - if (from.on_failure() != 0) { - set_on_failure(from.on_failure()); - } -} - -void WorkflowMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.WorkflowMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowMetadata::CopyFrom(const WorkflowMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.WorkflowMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowMetadata::IsInitialized() const { - return true; -} - -void WorkflowMetadata::Swap(WorkflowMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowMetadata::InternalSwap(WorkflowMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tags_.Swap(&other->tags_); - swap(quality_of_service_, other->quality_of_service_); - swap(on_failure_, other->on_failure_); -} - -::google::protobuf::Metadata WorkflowMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowMetadataDefaults::InitAsDefaultInstance() { -} -class WorkflowMetadataDefaults::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowMetadataDefaults::kInterruptibleFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowMetadataDefaults::WorkflowMetadataDefaults() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.WorkflowMetadataDefaults) -} -WorkflowMetadataDefaults::WorkflowMetadataDefaults(const WorkflowMetadataDefaults& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - interruptible_ = from.interruptible_; - // @@protoc_insertion_point(copy_constructor:flyteidl.core.WorkflowMetadataDefaults) -} - -void WorkflowMetadataDefaults::SharedCtor() { - interruptible_ = false; -} - -WorkflowMetadataDefaults::~WorkflowMetadataDefaults() { - // @@protoc_insertion_point(destructor:flyteidl.core.WorkflowMetadataDefaults) - SharedDtor(); -} - -void WorkflowMetadataDefaults::SharedDtor() { -} - -void WorkflowMetadataDefaults::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowMetadataDefaults& WorkflowMetadataDefaults::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowMetadataDefaults_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowMetadataDefaults::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.WorkflowMetadataDefaults) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - interruptible_ = false; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowMetadataDefaults::_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) { - // bool interruptible = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_interruptible(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkflowMetadataDefaults::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.WorkflowMetadataDefaults) - 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)) { - // bool interruptible = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &interruptible_))); - } 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.WorkflowMetadataDefaults) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.WorkflowMetadataDefaults) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowMetadataDefaults::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.WorkflowMetadataDefaults) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool interruptible = 1; - if (this->interruptible() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->interruptible(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.core.WorkflowMetadataDefaults) -} - -::google::protobuf::uint8* WorkflowMetadataDefaults::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.WorkflowMetadataDefaults) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // bool interruptible = 1; - if (this->interruptible() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->interruptible(), 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.WorkflowMetadataDefaults) - return target; -} - -size_t WorkflowMetadataDefaults::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.WorkflowMetadataDefaults) - 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; - - // bool interruptible = 1; - if (this->interruptible() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowMetadataDefaults::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.WorkflowMetadataDefaults) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowMetadataDefaults* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.WorkflowMetadataDefaults) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.WorkflowMetadataDefaults) - MergeFrom(*source); - } -} - -void WorkflowMetadataDefaults::MergeFrom(const WorkflowMetadataDefaults& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.WorkflowMetadataDefaults) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.interruptible() != 0) { - set_interruptible(from.interruptible()); - } -} - -void WorkflowMetadataDefaults::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.WorkflowMetadataDefaults) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowMetadataDefaults::CopyFrom(const WorkflowMetadataDefaults& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.WorkflowMetadataDefaults) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowMetadataDefaults::IsInitialized() const { - return true; -} - -void WorkflowMetadataDefaults::Swap(WorkflowMetadataDefaults* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowMetadataDefaults::InternalSwap(WorkflowMetadataDefaults* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(interruptible_, other->interruptible_); -} - -::google::protobuf::Metadata WorkflowMetadataDefaults::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowTemplate::InitAsDefaultInstance() { - ::flyteidl::core::_WorkflowTemplate_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::core::_WorkflowTemplate_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::core::WorkflowMetadata*>( - ::flyteidl::core::WorkflowMetadata::internal_default_instance()); - ::flyteidl::core::_WorkflowTemplate_default_instance_._instance.get_mutable()->interface_ = const_cast< ::flyteidl::core::TypedInterface*>( - ::flyteidl::core::TypedInterface::internal_default_instance()); - ::flyteidl::core::_WorkflowTemplate_default_instance_._instance.get_mutable()->failure_node_ = const_cast< ::flyteidl::core::Node*>( - ::flyteidl::core::Node::internal_default_instance()); - ::flyteidl::core::_WorkflowTemplate_default_instance_._instance.get_mutable()->metadata_defaults_ = const_cast< ::flyteidl::core::WorkflowMetadataDefaults*>( - ::flyteidl::core::WorkflowMetadataDefaults::internal_default_instance()); -} -class WorkflowTemplate::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const WorkflowTemplate* msg); - static const ::flyteidl::core::WorkflowMetadata& metadata(const WorkflowTemplate* msg); - static const ::flyteidl::core::TypedInterface& interface(const WorkflowTemplate* msg); - static const ::flyteidl::core::Node& failure_node(const WorkflowTemplate* msg); - static const ::flyteidl::core::WorkflowMetadataDefaults& metadata_defaults(const WorkflowTemplate* msg); -}; - -const ::flyteidl::core::Identifier& -WorkflowTemplate::HasBitSetters::id(const WorkflowTemplate* msg) { - return *msg->id_; -} -const ::flyteidl::core::WorkflowMetadata& -WorkflowTemplate::HasBitSetters::metadata(const WorkflowTemplate* msg) { - return *msg->metadata_; -} -const ::flyteidl::core::TypedInterface& -WorkflowTemplate::HasBitSetters::interface(const WorkflowTemplate* msg) { - return *msg->interface_; -} -const ::flyteidl::core::Node& -WorkflowTemplate::HasBitSetters::failure_node(const WorkflowTemplate* msg) { - return *msg->failure_node_; -} -const ::flyteidl::core::WorkflowMetadataDefaults& -WorkflowTemplate::HasBitSetters::metadata_defaults(const WorkflowTemplate* msg) { - return *msg->metadata_defaults_; -} -void WorkflowTemplate::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void WorkflowTemplate::clear_interface() { - if (GetArenaNoVirtual() == nullptr && interface_ != nullptr) { - delete interface_; - } - interface_ = nullptr; -} -void WorkflowTemplate::clear_outputs() { - outputs_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowTemplate::kIdFieldNumber; -const int WorkflowTemplate::kMetadataFieldNumber; -const int WorkflowTemplate::kInterfaceFieldNumber; -const int WorkflowTemplate::kNodesFieldNumber; -const int WorkflowTemplate::kOutputsFieldNumber; -const int WorkflowTemplate::kFailureNodeFieldNumber; -const int WorkflowTemplate::kMetadataDefaultsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowTemplate::WorkflowTemplate() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.WorkflowTemplate) -} -WorkflowTemplate::WorkflowTemplate(const WorkflowTemplate& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - nodes_(from.nodes_), - outputs_(from.outputs_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::core::WorkflowMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - if (from.has_interface()) { - interface_ = new ::flyteidl::core::TypedInterface(*from.interface_); - } else { - interface_ = nullptr; - } - if (from.has_failure_node()) { - failure_node_ = new ::flyteidl::core::Node(*from.failure_node_); - } else { - failure_node_ = nullptr; - } - if (from.has_metadata_defaults()) { - metadata_defaults_ = new ::flyteidl::core::WorkflowMetadataDefaults(*from.metadata_defaults_); - } else { - metadata_defaults_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.WorkflowTemplate) -} - -void WorkflowTemplate::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&metadata_defaults_) - - reinterpret_cast(&id_)) + sizeof(metadata_defaults_)); -} - -WorkflowTemplate::~WorkflowTemplate() { - // @@protoc_insertion_point(destructor:flyteidl.core.WorkflowTemplate) - SharedDtor(); -} - -void WorkflowTemplate::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete metadata_; - if (this != internal_default_instance()) delete interface_; - if (this != internal_default_instance()) delete failure_node_; - if (this != internal_default_instance()) delete metadata_defaults_; -} - -void WorkflowTemplate::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowTemplate& WorkflowTemplate::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowTemplate::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.WorkflowTemplate) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - nodes_.Clear(); - outputs_.Clear(); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && interface_ != nullptr) { - delete interface_; - } - interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && failure_node_ != nullptr) { - delete failure_node_; - } - failure_node_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_defaults_ != nullptr) { - delete metadata_defaults_; - } - metadata_defaults_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowTemplate::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.WorkflowMetadata metadata = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::WorkflowMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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.TypedInterface interface = 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::TypedInterface::_InternalParse; - object = msg->mutable_interface(); - 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; - } - // repeated .flyteidl.core.Node nodes = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Node::_InternalParse; - object = msg->add_nodes(); - 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) == 34 && (ptr += 1)); - break; - } - // repeated .flyteidl.core.Binding outputs = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Binding::_InternalParse; - object = msg->add_outputs(); - 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) == 42 && (ptr += 1)); - break; - } - // .flyteidl.core.Node failure_node = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Node::_InternalParse; - object = msg->mutable_failure_node(); - 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.WorkflowMetadataDefaults metadata_defaults = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::WorkflowMetadataDefaults::_InternalParse; - object = msg->mutable_metadata_defaults(); - if (size > end - ptr) goto len_delim_till_end; - ptr += size; - GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( - {parser_till_end, object}, ptr - size, ptr)); - break; - } - 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 WorkflowTemplate::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.WorkflowTemplate) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowMetadata metadata = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TypedInterface interface = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_interface())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Node nodes = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_nodes())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.Binding outputs = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_outputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Node failure_node = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_failure_node())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata_defaults())); - } 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.WorkflowTemplate) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.WorkflowTemplate) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowTemplate::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.WorkflowTemplate) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.core.WorkflowMetadata metadata = 2; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::metadata(this), output); - } - - // .flyteidl.core.TypedInterface interface = 3; - if (this->has_interface()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::interface(this), output); - } - - // repeated .flyteidl.core.Node nodes = 4; - for (unsigned int i = 0, - n = static_cast(this->nodes_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, - this->nodes(static_cast(i)), - output); - } - - // repeated .flyteidl.core.Binding outputs = 5; - for (unsigned int i = 0, - n = static_cast(this->outputs_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, - this->outputs(static_cast(i)), - output); - } - - // .flyteidl.core.Node failure_node = 6; - if (this->has_failure_node()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::failure_node(this), output); - } - - // .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - if (this->has_metadata_defaults()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::metadata_defaults(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.WorkflowTemplate) -} - -::google::protobuf::uint8* WorkflowTemplate::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.WorkflowTemplate) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.core.WorkflowMetadata metadata = 2; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::metadata(this), target); - } - - // .flyteidl.core.TypedInterface interface = 3; - if (this->has_interface()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::interface(this), target); - } - - // repeated .flyteidl.core.Node nodes = 4; - for (unsigned int i = 0, - n = static_cast(this->nodes_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->nodes(static_cast(i)), target); - } - - // repeated .flyteidl.core.Binding outputs = 5; - for (unsigned int i = 0, - n = static_cast(this->outputs_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, this->outputs(static_cast(i)), target); - } - - // .flyteidl.core.Node failure_node = 6; - if (this->has_failure_node()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::failure_node(this), target); - } - - // .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - if (this->has_metadata_defaults()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::metadata_defaults(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.WorkflowTemplate) - return target; -} - -size_t WorkflowTemplate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.WorkflowTemplate) - 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.Node nodes = 4; - { - unsigned int count = static_cast(this->nodes_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->nodes(static_cast(i))); - } - } - - // repeated .flyteidl.core.Binding outputs = 5; - { - unsigned int count = static_cast(this->outputs_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->outputs(static_cast(i))); - } - } - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.WorkflowMetadata metadata = 2; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .flyteidl.core.TypedInterface interface = 3; - if (this->has_interface()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *interface_); - } - - // .flyteidl.core.Node failure_node = 6; - if (this->has_failure_node()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *failure_node_); - } - - // .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - if (this->has_metadata_defaults()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_defaults_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowTemplate::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.WorkflowTemplate) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowTemplate* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.WorkflowTemplate) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.WorkflowTemplate) - MergeFrom(*source); - } -} - -void WorkflowTemplate::MergeFrom(const WorkflowTemplate& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.WorkflowTemplate) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - nodes_.MergeFrom(from.nodes_); - outputs_.MergeFrom(from.outputs_); - if (from.has_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::core::WorkflowMetadata::MergeFrom(from.metadata()); - } - if (from.has_interface()) { - mutable_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.interface()); - } - if (from.has_failure_node()) { - mutable_failure_node()->::flyteidl::core::Node::MergeFrom(from.failure_node()); - } - if (from.has_metadata_defaults()) { - mutable_metadata_defaults()->::flyteidl::core::WorkflowMetadataDefaults::MergeFrom(from.metadata_defaults()); - } -} - -void WorkflowTemplate::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.WorkflowTemplate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowTemplate::CopyFrom(const WorkflowTemplate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.WorkflowTemplate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowTemplate::IsInitialized() const { - return true; -} - -void WorkflowTemplate::Swap(WorkflowTemplate* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowTemplate::InternalSwap(WorkflowTemplate* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&nodes_)->InternalSwap(CastToBase(&other->nodes_)); - CastToBase(&outputs_)->InternalSwap(CastToBase(&other->outputs_)); - swap(id_, other->id_); - swap(metadata_, other->metadata_); - swap(interface_, other->interface_); - swap(failure_node_, other->failure_node_); - swap(metadata_defaults_, other->metadata_defaults_); -} - -::google::protobuf::Metadata WorkflowTemplate::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskNodeOverrides::InitAsDefaultInstance() { - ::flyteidl::core::_TaskNodeOverrides_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( - ::flyteidl::core::Resources::internal_default_instance()); - ::flyteidl::core::_TaskNodeOverrides_default_instance_._instance.get_mutable()->extended_resources_ = const_cast< ::flyteidl::core::ExtendedResources*>( - ::flyteidl::core::ExtendedResources::internal_default_instance()); -} -class TaskNodeOverrides::HasBitSetters { - public: - static const ::flyteidl::core::Resources& resources(const TaskNodeOverrides* msg); - static const ::flyteidl::core::ExtendedResources& extended_resources(const TaskNodeOverrides* msg); -}; - -const ::flyteidl::core::Resources& -TaskNodeOverrides::HasBitSetters::resources(const TaskNodeOverrides* msg) { - return *msg->resources_; -} -const ::flyteidl::core::ExtendedResources& -TaskNodeOverrides::HasBitSetters::extended_resources(const TaskNodeOverrides* msg) { - return *msg->extended_resources_; -} -void TaskNodeOverrides::clear_resources() { - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; -} -void TaskNodeOverrides::clear_extended_resources() { - if (GetArenaNoVirtual() == nullptr && extended_resources_ != nullptr) { - delete extended_resources_; - } - extended_resources_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskNodeOverrides::kResourcesFieldNumber; -const int TaskNodeOverrides::kExtendedResourcesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskNodeOverrides::TaskNodeOverrides() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.TaskNodeOverrides) -} -TaskNodeOverrides::TaskNodeOverrides(const TaskNodeOverrides& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_resources()) { - resources_ = new ::flyteidl::core::Resources(*from.resources_); - } else { - resources_ = nullptr; - } - if (from.has_extended_resources()) { - extended_resources_ = new ::flyteidl::core::ExtendedResources(*from.extended_resources_); - } else { - extended_resources_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.TaskNodeOverrides) -} - -void TaskNodeOverrides::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto.base); - ::memset(&resources_, 0, static_cast( - reinterpret_cast(&extended_resources_) - - reinterpret_cast(&resources_)) + sizeof(extended_resources_)); -} - -TaskNodeOverrides::~TaskNodeOverrides() { - // @@protoc_insertion_point(destructor:flyteidl.core.TaskNodeOverrides) - SharedDtor(); -} - -void TaskNodeOverrides::SharedDtor() { - if (this != internal_default_instance()) delete resources_; - if (this != internal_default_instance()) delete extended_resources_; -} - -void TaskNodeOverrides::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskNodeOverrides& TaskNodeOverrides::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskNodeOverrides_flyteidl_2fcore_2fworkflow_2eproto.base); - return *internal_default_instance(); -} - - -void TaskNodeOverrides::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.TaskNodeOverrides) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; - if (GetArenaNoVirtual() == nullptr && extended_resources_ != nullptr) { - delete extended_resources_; - } - extended_resources_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskNodeOverrides::_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.Resources resources = 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::Resources::_InternalParse; - object = msg->mutable_resources(); - 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.ExtendedResources extended_resources = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExtendedResources::_InternalParse; - object = msg->mutable_extended_resources(); - 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 TaskNodeOverrides::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.TaskNodeOverrides) - 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.Resources resources = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resources())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExtendedResources extended_resources = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_extended_resources())); - } 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.TaskNodeOverrides) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.TaskNodeOverrides) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskNodeOverrides::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.TaskNodeOverrides) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Resources resources = 1; - if (this->has_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::resources(this), output); - } - - // .flyteidl.core.ExtendedResources extended_resources = 2; - if (this->has_extended_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::extended_resources(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.TaskNodeOverrides) -} - -::google::protobuf::uint8* TaskNodeOverrides::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.TaskNodeOverrides) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Resources resources = 1; - if (this->has_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::resources(this), target); - } - - // .flyteidl.core.ExtendedResources extended_resources = 2; - if (this->has_extended_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::extended_resources(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.TaskNodeOverrides) - return target; -} - -size_t TaskNodeOverrides::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.TaskNodeOverrides) - 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.Resources resources = 1; - if (this->has_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resources_); - } - - // .flyteidl.core.ExtendedResources extended_resources = 2; - if (this->has_extended_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *extended_resources_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskNodeOverrides::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.TaskNodeOverrides) - GOOGLE_DCHECK_NE(&from, this); - const TaskNodeOverrides* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.TaskNodeOverrides) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.TaskNodeOverrides) - MergeFrom(*source); - } -} - -void TaskNodeOverrides::MergeFrom(const TaskNodeOverrides& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.TaskNodeOverrides) - 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_resources()) { - mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); - } - if (from.has_extended_resources()) { - mutable_extended_resources()->::flyteidl::core::ExtendedResources::MergeFrom(from.extended_resources()); - } -} - -void TaskNodeOverrides::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.TaskNodeOverrides) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskNodeOverrides::CopyFrom(const TaskNodeOverrides& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.TaskNodeOverrides) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskNodeOverrides::IsInitialized() const { - return true; -} - -void TaskNodeOverrides::Swap(TaskNodeOverrides* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskNodeOverrides::InternalSwap(TaskNodeOverrides* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(resources_, other->resources_); - swap(extended_resources_, other->extended_resources_); -} - -::google::protobuf::Metadata TaskNodeOverrides::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::IfBlock* Arena::CreateMaybeMessage< ::flyteidl::core::IfBlock >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::IfBlock >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::IfElseBlock* Arena::CreateMaybeMessage< ::flyteidl::core::IfElseBlock >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::IfElseBlock >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::BranchNode* Arena::CreateMaybeMessage< ::flyteidl::core::BranchNode >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::BranchNode >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskNode* Arena::CreateMaybeMessage< ::flyteidl::core::TaskNode >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskNode >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowNode* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowNode >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowNode >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ApproveCondition* Arena::CreateMaybeMessage< ::flyteidl::core::ApproveCondition >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ApproveCondition >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::SignalCondition* Arena::CreateMaybeMessage< ::flyteidl::core::SignalCondition >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::SignalCondition >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::SleepCondition* Arena::CreateMaybeMessage< ::flyteidl::core::SleepCondition >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::SleepCondition >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::GateNode* Arena::CreateMaybeMessage< ::flyteidl::core::GateNode >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::GateNode >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::ArrayNode* Arena::CreateMaybeMessage< ::flyteidl::core::ArrayNode >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ArrayNode >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::NodeMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::NodeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::NodeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Alias* Arena::CreateMaybeMessage< ::flyteidl::core::Alias >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Alias >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::Node* Arena::CreateMaybeMessage< ::flyteidl::core::Node >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::Node >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowMetadata* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowMetadataDefaults* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowMetadataDefaults >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowMetadataDefaults >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowTemplate* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowTemplate >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowTemplate >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::core::TaskNodeOverrides* Arena::CreateMaybeMessage< ::flyteidl::core::TaskNodeOverrides >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::TaskNodeOverrides >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/workflow.pb.h deleted file mode 100644 index 390fd2e31f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow.pb.h +++ /dev/null @@ -1,5062 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/workflow.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fworkflow_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fworkflow_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include "flyteidl/core/condition.pb.h" -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/interface.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/core/types.pb.h" -#include "flyteidl/core/security.pb.h" -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fworkflow_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[18] - 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_2fcore_2fworkflow_2eproto(); -namespace flyteidl { -namespace core { -class Alias; -class AliasDefaultTypeInternal; -extern AliasDefaultTypeInternal _Alias_default_instance_; -class ApproveCondition; -class ApproveConditionDefaultTypeInternal; -extern ApproveConditionDefaultTypeInternal _ApproveCondition_default_instance_; -class ArrayNode; -class ArrayNodeDefaultTypeInternal; -extern ArrayNodeDefaultTypeInternal _ArrayNode_default_instance_; -class BranchNode; -class BranchNodeDefaultTypeInternal; -extern BranchNodeDefaultTypeInternal _BranchNode_default_instance_; -class GateNode; -class GateNodeDefaultTypeInternal; -extern GateNodeDefaultTypeInternal _GateNode_default_instance_; -class IfBlock; -class IfBlockDefaultTypeInternal; -extern IfBlockDefaultTypeInternal _IfBlock_default_instance_; -class IfElseBlock; -class IfElseBlockDefaultTypeInternal; -extern IfElseBlockDefaultTypeInternal _IfElseBlock_default_instance_; -class Node; -class NodeDefaultTypeInternal; -extern NodeDefaultTypeInternal _Node_default_instance_; -class NodeMetadata; -class NodeMetadataDefaultTypeInternal; -extern NodeMetadataDefaultTypeInternal _NodeMetadata_default_instance_; -class SignalCondition; -class SignalConditionDefaultTypeInternal; -extern SignalConditionDefaultTypeInternal _SignalCondition_default_instance_; -class SleepCondition; -class SleepConditionDefaultTypeInternal; -extern SleepConditionDefaultTypeInternal _SleepCondition_default_instance_; -class TaskNode; -class TaskNodeDefaultTypeInternal; -extern TaskNodeDefaultTypeInternal _TaskNode_default_instance_; -class TaskNodeOverrides; -class TaskNodeOverridesDefaultTypeInternal; -extern TaskNodeOverridesDefaultTypeInternal _TaskNodeOverrides_default_instance_; -class WorkflowMetadata; -class WorkflowMetadataDefaultTypeInternal; -extern WorkflowMetadataDefaultTypeInternal _WorkflowMetadata_default_instance_; -class WorkflowMetadataDefaults; -class WorkflowMetadataDefaultsDefaultTypeInternal; -extern WorkflowMetadataDefaultsDefaultTypeInternal _WorkflowMetadataDefaults_default_instance_; -class WorkflowMetadata_TagsEntry_DoNotUse; -class WorkflowMetadata_TagsEntry_DoNotUseDefaultTypeInternal; -extern WorkflowMetadata_TagsEntry_DoNotUseDefaultTypeInternal _WorkflowMetadata_TagsEntry_DoNotUse_default_instance_; -class WorkflowNode; -class WorkflowNodeDefaultTypeInternal; -extern WorkflowNodeDefaultTypeInternal _WorkflowNode_default_instance_; -class WorkflowTemplate; -class WorkflowTemplateDefaultTypeInternal; -extern WorkflowTemplateDefaultTypeInternal _WorkflowTemplate_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::Alias* Arena::CreateMaybeMessage<::flyteidl::core::Alias>(Arena*); -template<> ::flyteidl::core::ApproveCondition* Arena::CreateMaybeMessage<::flyteidl::core::ApproveCondition>(Arena*); -template<> ::flyteidl::core::ArrayNode* Arena::CreateMaybeMessage<::flyteidl::core::ArrayNode>(Arena*); -template<> ::flyteidl::core::BranchNode* Arena::CreateMaybeMessage<::flyteidl::core::BranchNode>(Arena*); -template<> ::flyteidl::core::GateNode* Arena::CreateMaybeMessage<::flyteidl::core::GateNode>(Arena*); -template<> ::flyteidl::core::IfBlock* Arena::CreateMaybeMessage<::flyteidl::core::IfBlock>(Arena*); -template<> ::flyteidl::core::IfElseBlock* Arena::CreateMaybeMessage<::flyteidl::core::IfElseBlock>(Arena*); -template<> ::flyteidl::core::Node* Arena::CreateMaybeMessage<::flyteidl::core::Node>(Arena*); -template<> ::flyteidl::core::NodeMetadata* Arena::CreateMaybeMessage<::flyteidl::core::NodeMetadata>(Arena*); -template<> ::flyteidl::core::SignalCondition* Arena::CreateMaybeMessage<::flyteidl::core::SignalCondition>(Arena*); -template<> ::flyteidl::core::SleepCondition* Arena::CreateMaybeMessage<::flyteidl::core::SleepCondition>(Arena*); -template<> ::flyteidl::core::TaskNode* Arena::CreateMaybeMessage<::flyteidl::core::TaskNode>(Arena*); -template<> ::flyteidl::core::TaskNodeOverrides* Arena::CreateMaybeMessage<::flyteidl::core::TaskNodeOverrides>(Arena*); -template<> ::flyteidl::core::WorkflowMetadata* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowMetadata>(Arena*); -template<> ::flyteidl::core::WorkflowMetadataDefaults* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowMetadataDefaults>(Arena*); -template<> ::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowMetadata_TagsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::core::WorkflowNode* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowNode>(Arena*); -template<> ::flyteidl::core::WorkflowTemplate* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowTemplate>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -enum WorkflowMetadata_OnFailurePolicy { - WorkflowMetadata_OnFailurePolicy_FAIL_IMMEDIATELY = 0, - WorkflowMetadata_OnFailurePolicy_FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1, - WorkflowMetadata_OnFailurePolicy_WorkflowMetadata_OnFailurePolicy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - WorkflowMetadata_OnFailurePolicy_WorkflowMetadata_OnFailurePolicy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool WorkflowMetadata_OnFailurePolicy_IsValid(int value); -const WorkflowMetadata_OnFailurePolicy WorkflowMetadata_OnFailurePolicy_OnFailurePolicy_MIN = WorkflowMetadata_OnFailurePolicy_FAIL_IMMEDIATELY; -const WorkflowMetadata_OnFailurePolicy WorkflowMetadata_OnFailurePolicy_OnFailurePolicy_MAX = WorkflowMetadata_OnFailurePolicy_FAIL_AFTER_EXECUTABLE_NODES_COMPLETE; -const int WorkflowMetadata_OnFailurePolicy_OnFailurePolicy_ARRAYSIZE = WorkflowMetadata_OnFailurePolicy_OnFailurePolicy_MAX + 1; - -const ::google::protobuf::EnumDescriptor* WorkflowMetadata_OnFailurePolicy_descriptor(); -inline const ::std::string& WorkflowMetadata_OnFailurePolicy_Name(WorkflowMetadata_OnFailurePolicy value) { - return ::google::protobuf::internal::NameOfEnum( - WorkflowMetadata_OnFailurePolicy_descriptor(), value); -} -inline bool WorkflowMetadata_OnFailurePolicy_Parse( - const ::std::string& name, WorkflowMetadata_OnFailurePolicy* value) { - return ::google::protobuf::internal::ParseNamedEnum( - WorkflowMetadata_OnFailurePolicy_descriptor(), name, value); -} -// =================================================================== - -class IfBlock final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.IfBlock) */ { - public: - IfBlock(); - virtual ~IfBlock(); - - IfBlock(const IfBlock& from); - - inline IfBlock& operator=(const IfBlock& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - IfBlock(IfBlock&& from) noexcept - : IfBlock() { - *this = ::std::move(from); - } - - inline IfBlock& operator=(IfBlock&& 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 IfBlock& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const IfBlock* internal_default_instance() { - return reinterpret_cast( - &_IfBlock_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(IfBlock* other); - friend void swap(IfBlock& a, IfBlock& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline IfBlock* New() const final { - return CreateMaybeMessage(nullptr); - } - - IfBlock* 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 IfBlock& from); - void MergeFrom(const IfBlock& 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(IfBlock* 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.BooleanExpression condition = 1; - bool has_condition() const; - void clear_condition(); - static const int kConditionFieldNumber = 1; - const ::flyteidl::core::BooleanExpression& condition() const; - ::flyteidl::core::BooleanExpression* release_condition(); - ::flyteidl::core::BooleanExpression* mutable_condition(); - void set_allocated_condition(::flyteidl::core::BooleanExpression* condition); - - // .flyteidl.core.Node then_node = 2; - bool has_then_node() const; - void clear_then_node(); - static const int kThenNodeFieldNumber = 2; - const ::flyteidl::core::Node& then_node() const; - ::flyteidl::core::Node* release_then_node(); - ::flyteidl::core::Node* mutable_then_node(); - void set_allocated_then_node(::flyteidl::core::Node* then_node); - - // @@protoc_insertion_point(class_scope:flyteidl.core.IfBlock) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::BooleanExpression* condition_; - ::flyteidl::core::Node* then_node_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class IfElseBlock final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.IfElseBlock) */ { - public: - IfElseBlock(); - virtual ~IfElseBlock(); - - IfElseBlock(const IfElseBlock& from); - - inline IfElseBlock& operator=(const IfElseBlock& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - IfElseBlock(IfElseBlock&& from) noexcept - : IfElseBlock() { - *this = ::std::move(from); - } - - inline IfElseBlock& operator=(IfElseBlock&& 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 IfElseBlock& default_instance(); - - enum DefaultCase { - kElseNode = 3, - kError = 4, - DEFAULT_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const IfElseBlock* internal_default_instance() { - return reinterpret_cast( - &_IfElseBlock_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(IfElseBlock* other); - friend void swap(IfElseBlock& a, IfElseBlock& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline IfElseBlock* New() const final { - return CreateMaybeMessage(nullptr); - } - - IfElseBlock* 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 IfElseBlock& from); - void MergeFrom(const IfElseBlock& 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(IfElseBlock* 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.IfBlock other = 2; - int other_size() const; - void clear_other(); - static const int kOtherFieldNumber = 2; - ::flyteidl::core::IfBlock* mutable_other(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::IfBlock >* - mutable_other(); - const ::flyteidl::core::IfBlock& other(int index) const; - ::flyteidl::core::IfBlock* add_other(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::IfBlock >& - other() const; - - // .flyteidl.core.IfBlock case = 1; - bool has_case_() const; - void clear_case_(); - static const int kCaseFieldNumber = 1; - const ::flyteidl::core::IfBlock& case_() const; - ::flyteidl::core::IfBlock* release_case_(); - ::flyteidl::core::IfBlock* mutable_case_(); - void set_allocated_case_(::flyteidl::core::IfBlock* case_); - - // .flyteidl.core.Node else_node = 3; - bool has_else_node() const; - void clear_else_node(); - static const int kElseNodeFieldNumber = 3; - const ::flyteidl::core::Node& else_node() const; - ::flyteidl::core::Node* release_else_node(); - ::flyteidl::core::Node* mutable_else_node(); - void set_allocated_else_node(::flyteidl::core::Node* else_node); - - // .flyteidl.core.Error error = 4; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 4; - const ::flyteidl::core::Error& error() const; - ::flyteidl::core::Error* release_error(); - ::flyteidl::core::Error* mutable_error(); - void set_allocated_error(::flyteidl::core::Error* error); - - void clear_default(); - DefaultCase default_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.IfElseBlock) - private: - class HasBitSetters; - void set_has_else_node(); - void set_has_error(); - - inline bool has_default() const; - inline void clear_has_default(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::IfBlock > other_; - ::flyteidl::core::IfBlock* case__; - union DefaultUnion { - DefaultUnion() {} - ::flyteidl::core::Node* else_node_; - ::flyteidl::core::Error* error_; - } default_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class BranchNode final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.BranchNode) */ { - public: - BranchNode(); - virtual ~BranchNode(); - - BranchNode(const BranchNode& from); - - inline BranchNode& operator=(const BranchNode& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - BranchNode(BranchNode&& from) noexcept - : BranchNode() { - *this = ::std::move(from); - } - - inline BranchNode& operator=(BranchNode&& 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 BranchNode& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const BranchNode* internal_default_instance() { - return reinterpret_cast( - &_BranchNode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(BranchNode* other); - friend void swap(BranchNode& a, BranchNode& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline BranchNode* New() const final { - return CreateMaybeMessage(nullptr); - } - - BranchNode* 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 BranchNode& from); - void MergeFrom(const BranchNode& 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(BranchNode* 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.IfElseBlock if_else = 1; - bool has_if_else() const; - void clear_if_else(); - static const int kIfElseFieldNumber = 1; - const ::flyteidl::core::IfElseBlock& if_else() const; - ::flyteidl::core::IfElseBlock* release_if_else(); - ::flyteidl::core::IfElseBlock* mutable_if_else(); - void set_allocated_if_else(::flyteidl::core::IfElseBlock* if_else); - - // @@protoc_insertion_point(class_scope:flyteidl.core.BranchNode) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::IfElseBlock* if_else_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskNode final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TaskNode) */ { - public: - TaskNode(); - virtual ~TaskNode(); - - TaskNode(const TaskNode& from); - - inline TaskNode& operator=(const TaskNode& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskNode(TaskNode&& from) noexcept - : TaskNode() { - *this = ::std::move(from); - } - - inline TaskNode& operator=(TaskNode&& 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 TaskNode& default_instance(); - - enum ReferenceCase { - kReferenceId = 1, - REFERENCE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskNode* internal_default_instance() { - return reinterpret_cast( - &_TaskNode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TaskNode* other); - friend void swap(TaskNode& a, TaskNode& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskNode* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskNode* 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 TaskNode& from); - void MergeFrom(const TaskNode& 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(TaskNode* 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.TaskNodeOverrides overrides = 2; - bool has_overrides() const; - void clear_overrides(); - static const int kOverridesFieldNumber = 2; - const ::flyteidl::core::TaskNodeOverrides& overrides() const; - ::flyteidl::core::TaskNodeOverrides* release_overrides(); - ::flyteidl::core::TaskNodeOverrides* mutable_overrides(); - void set_allocated_overrides(::flyteidl::core::TaskNodeOverrides* overrides); - - // .flyteidl.core.Identifier reference_id = 1; - bool has_reference_id() const; - void clear_reference_id(); - static const int kReferenceIdFieldNumber = 1; - const ::flyteidl::core::Identifier& reference_id() const; - ::flyteidl::core::Identifier* release_reference_id(); - ::flyteidl::core::Identifier* mutable_reference_id(); - void set_allocated_reference_id(::flyteidl::core::Identifier* reference_id); - - void clear_reference(); - ReferenceCase reference_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskNode) - private: - class HasBitSetters; - void set_has_reference_id(); - - inline bool has_reference() const; - inline void clear_has_reference(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::TaskNodeOverrides* overrides_; - union ReferenceUnion { - ReferenceUnion() {} - ::flyteidl::core::Identifier* reference_id_; - } reference_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowNode final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.WorkflowNode) */ { - public: - WorkflowNode(); - virtual ~WorkflowNode(); - - WorkflowNode(const WorkflowNode& from); - - inline WorkflowNode& operator=(const WorkflowNode& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowNode(WorkflowNode&& from) noexcept - : WorkflowNode() { - *this = ::std::move(from); - } - - inline WorkflowNode& operator=(WorkflowNode&& 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 WorkflowNode& default_instance(); - - enum ReferenceCase { - kLaunchplanRef = 1, - kSubWorkflowRef = 2, - REFERENCE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowNode* internal_default_instance() { - return reinterpret_cast( - &_WorkflowNode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(WorkflowNode* other); - friend void swap(WorkflowNode& a, WorkflowNode& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowNode* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowNode* 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 WorkflowNode& from); - void MergeFrom(const WorkflowNode& 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(WorkflowNode* 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.Identifier launchplan_ref = 1; - bool has_launchplan_ref() const; - void clear_launchplan_ref(); - static const int kLaunchplanRefFieldNumber = 1; - const ::flyteidl::core::Identifier& launchplan_ref() const; - ::flyteidl::core::Identifier* release_launchplan_ref(); - ::flyteidl::core::Identifier* mutable_launchplan_ref(); - void set_allocated_launchplan_ref(::flyteidl::core::Identifier* launchplan_ref); - - // .flyteidl.core.Identifier sub_workflow_ref = 2; - bool has_sub_workflow_ref() const; - void clear_sub_workflow_ref(); - static const int kSubWorkflowRefFieldNumber = 2; - const ::flyteidl::core::Identifier& sub_workflow_ref() const; - ::flyteidl::core::Identifier* release_sub_workflow_ref(); - ::flyteidl::core::Identifier* mutable_sub_workflow_ref(); - void set_allocated_sub_workflow_ref(::flyteidl::core::Identifier* sub_workflow_ref); - - void clear_reference(); - ReferenceCase reference_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowNode) - private: - class HasBitSetters; - void set_has_launchplan_ref(); - void set_has_sub_workflow_ref(); - - inline bool has_reference() const; - inline void clear_has_reference(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ReferenceUnion { - ReferenceUnion() {} - ::flyteidl::core::Identifier* launchplan_ref_; - ::flyteidl::core::Identifier* sub_workflow_ref_; - } reference_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class ApproveCondition final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ApproveCondition) */ { - public: - ApproveCondition(); - virtual ~ApproveCondition(); - - ApproveCondition(const ApproveCondition& from); - - inline ApproveCondition& operator=(const ApproveCondition& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ApproveCondition(ApproveCondition&& from) noexcept - : ApproveCondition() { - *this = ::std::move(from); - } - - inline ApproveCondition& operator=(ApproveCondition&& 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 ApproveCondition& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ApproveCondition* internal_default_instance() { - return reinterpret_cast( - &_ApproveCondition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(ApproveCondition* other); - friend void swap(ApproveCondition& a, ApproveCondition& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ApproveCondition* New() const final { - return CreateMaybeMessage(nullptr); - } - - ApproveCondition* 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 ApproveCondition& from); - void MergeFrom(const ApproveCondition& 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(ApproveCondition* 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 signal_id = 1; - void clear_signal_id(); - static const int kSignalIdFieldNumber = 1; - const ::std::string& signal_id() const; - void set_signal_id(const ::std::string& value); - #if LANG_CXX11 - void set_signal_id(::std::string&& value); - #endif - void set_signal_id(const char* value); - void set_signal_id(const char* value, size_t size); - ::std::string* mutable_signal_id(); - ::std::string* release_signal_id(); - void set_allocated_signal_id(::std::string* signal_id); - - // @@protoc_insertion_point(class_scope:flyteidl.core.ApproveCondition) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr signal_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class SignalCondition final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.SignalCondition) */ { - public: - SignalCondition(); - virtual ~SignalCondition(); - - SignalCondition(const SignalCondition& from); - - inline SignalCondition& operator=(const SignalCondition& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SignalCondition(SignalCondition&& from) noexcept - : SignalCondition() { - *this = ::std::move(from); - } - - inline SignalCondition& operator=(SignalCondition&& 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 SignalCondition& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SignalCondition* internal_default_instance() { - return reinterpret_cast( - &_SignalCondition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(SignalCondition* other); - friend void swap(SignalCondition& a, SignalCondition& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SignalCondition* New() const final { - return CreateMaybeMessage(nullptr); - } - - SignalCondition* 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 SignalCondition& from); - void MergeFrom(const SignalCondition& 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(SignalCondition* 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 signal_id = 1; - void clear_signal_id(); - static const int kSignalIdFieldNumber = 1; - const ::std::string& signal_id() const; - void set_signal_id(const ::std::string& value); - #if LANG_CXX11 - void set_signal_id(::std::string&& value); - #endif - void set_signal_id(const char* value); - void set_signal_id(const char* value, size_t size); - ::std::string* mutable_signal_id(); - ::std::string* release_signal_id(); - void set_allocated_signal_id(::std::string* signal_id); - - // string output_variable_name = 3; - void clear_output_variable_name(); - static const int kOutputVariableNameFieldNumber = 3; - const ::std::string& output_variable_name() const; - void set_output_variable_name(const ::std::string& value); - #if LANG_CXX11 - void set_output_variable_name(::std::string&& value); - #endif - void set_output_variable_name(const char* value); - void set_output_variable_name(const char* value, size_t size); - ::std::string* mutable_output_variable_name(); - ::std::string* release_output_variable_name(); - void set_allocated_output_variable_name(::std::string* output_variable_name); - - // .flyteidl.core.LiteralType type = 2; - bool has_type() const; - void clear_type(); - static const int kTypeFieldNumber = 2; - const ::flyteidl::core::LiteralType& type() const; - ::flyteidl::core::LiteralType* release_type(); - ::flyteidl::core::LiteralType* mutable_type(); - void set_allocated_type(::flyteidl::core::LiteralType* type); - - // @@protoc_insertion_point(class_scope:flyteidl.core.SignalCondition) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr signal_id_; - ::google::protobuf::internal::ArenaStringPtr output_variable_name_; - ::flyteidl::core::LiteralType* type_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class SleepCondition final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.SleepCondition) */ { - public: - SleepCondition(); - virtual ~SleepCondition(); - - SleepCondition(const SleepCondition& from); - - inline SleepCondition& operator=(const SleepCondition& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SleepCondition(SleepCondition&& from) noexcept - : SleepCondition() { - *this = ::std::move(from); - } - - inline SleepCondition& operator=(SleepCondition&& 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 SleepCondition& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SleepCondition* internal_default_instance() { - return reinterpret_cast( - &_SleepCondition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(SleepCondition* other); - friend void swap(SleepCondition& a, SleepCondition& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SleepCondition* New() const final { - return CreateMaybeMessage(nullptr); - } - - SleepCondition* 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 SleepCondition& from); - void MergeFrom(const SleepCondition& 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(SleepCondition* 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 ------------------------------------------------------- - - // .google.protobuf.Duration duration = 1; - bool has_duration() const; - void clear_duration(); - static const int kDurationFieldNumber = 1; - const ::google::protobuf::Duration& duration() const; - ::google::protobuf::Duration* release_duration(); - ::google::protobuf::Duration* mutable_duration(); - void set_allocated_duration(::google::protobuf::Duration* duration); - - // @@protoc_insertion_point(class_scope:flyteidl.core.SleepCondition) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::Duration* duration_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class GateNode final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.GateNode) */ { - public: - GateNode(); - virtual ~GateNode(); - - GateNode(const GateNode& from); - - inline GateNode& operator=(const GateNode& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GateNode(GateNode&& from) noexcept - : GateNode() { - *this = ::std::move(from); - } - - inline GateNode& operator=(GateNode&& 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 GateNode& default_instance(); - - enum ConditionCase { - kApprove = 1, - kSignal = 2, - kSleep = 3, - CONDITION_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GateNode* internal_default_instance() { - return reinterpret_cast( - &_GateNode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(GateNode* other); - friend void swap(GateNode& a, GateNode& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GateNode* New() const final { - return CreateMaybeMessage(nullptr); - } - - GateNode* 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 GateNode& from); - void MergeFrom(const GateNode& 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(GateNode* 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.ApproveCondition approve = 1; - bool has_approve() const; - void clear_approve(); - static const int kApproveFieldNumber = 1; - const ::flyteidl::core::ApproveCondition& approve() const; - ::flyteidl::core::ApproveCondition* release_approve(); - ::flyteidl::core::ApproveCondition* mutable_approve(); - void set_allocated_approve(::flyteidl::core::ApproveCondition* approve); - - // .flyteidl.core.SignalCondition signal = 2; - bool has_signal() const; - void clear_signal(); - static const int kSignalFieldNumber = 2; - const ::flyteidl::core::SignalCondition& signal() const; - ::flyteidl::core::SignalCondition* release_signal(); - ::flyteidl::core::SignalCondition* mutable_signal(); - void set_allocated_signal(::flyteidl::core::SignalCondition* signal); - - // .flyteidl.core.SleepCondition sleep = 3; - bool has_sleep() const; - void clear_sleep(); - static const int kSleepFieldNumber = 3; - const ::flyteidl::core::SleepCondition& sleep() const; - ::flyteidl::core::SleepCondition* release_sleep(); - ::flyteidl::core::SleepCondition* mutable_sleep(); - void set_allocated_sleep(::flyteidl::core::SleepCondition* sleep); - - void clear_condition(); - ConditionCase condition_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.GateNode) - private: - class HasBitSetters; - void set_has_approve(); - void set_has_signal(); - void set_has_sleep(); - - inline bool has_condition() const; - inline void clear_has_condition(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union ConditionUnion { - ConditionUnion() {} - ::flyteidl::core::ApproveCondition* approve_; - ::flyteidl::core::SignalCondition* signal_; - ::flyteidl::core::SleepCondition* sleep_; - } condition_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class ArrayNode final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.ArrayNode) */ { - public: - ArrayNode(); - virtual ~ArrayNode(); - - ArrayNode(const ArrayNode& from); - - inline ArrayNode& operator=(const ArrayNode& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArrayNode(ArrayNode&& from) noexcept - : ArrayNode() { - *this = ::std::move(from); - } - - inline ArrayNode& operator=(ArrayNode&& 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 ArrayNode& default_instance(); - - enum SuccessCriteriaCase { - kMinSuccesses = 3, - kMinSuccessRatio = 4, - SUCCESS_CRITERIA_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArrayNode* internal_default_instance() { - return reinterpret_cast( - &_ArrayNode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(ArrayNode* other); - friend void swap(ArrayNode& a, ArrayNode& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArrayNode* New() const final { - return CreateMaybeMessage(nullptr); - } - - ArrayNode* 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 ArrayNode& from); - void MergeFrom(const ArrayNode& 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(ArrayNode* 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.Node node = 1; - bool has_node() const; - void clear_node(); - static const int kNodeFieldNumber = 1; - const ::flyteidl::core::Node& node() const; - ::flyteidl::core::Node* release_node(); - ::flyteidl::core::Node* mutable_node(); - void set_allocated_node(::flyteidl::core::Node* node); - - // uint32 parallelism = 2; - void clear_parallelism(); - static const int kParallelismFieldNumber = 2; - ::google::protobuf::uint32 parallelism() const; - void set_parallelism(::google::protobuf::uint32 value); - - // uint32 min_successes = 3; - private: - bool has_min_successes() const; - public: - void clear_min_successes(); - static const int kMinSuccessesFieldNumber = 3; - ::google::protobuf::uint32 min_successes() const; - void set_min_successes(::google::protobuf::uint32 value); - - // float min_success_ratio = 4; - private: - bool has_min_success_ratio() const; - public: - void clear_min_success_ratio(); - static const int kMinSuccessRatioFieldNumber = 4; - float min_success_ratio() const; - void set_min_success_ratio(float value); - - void clear_success_criteria(); - SuccessCriteriaCase success_criteria_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.ArrayNode) - private: - class HasBitSetters; - void set_has_min_successes(); - void set_has_min_success_ratio(); - - inline bool has_success_criteria() const; - inline void clear_has_success_criteria(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Node* node_; - ::google::protobuf::uint32 parallelism_; - union SuccessCriteriaUnion { - SuccessCriteriaUnion() {} - ::google::protobuf::uint32 min_successes_; - float min_success_ratio_; - } success_criteria_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.NodeMetadata) */ { - public: - NodeMetadata(); - virtual ~NodeMetadata(); - - NodeMetadata(const NodeMetadata& from); - - inline NodeMetadata& operator=(const NodeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeMetadata(NodeMetadata&& from) noexcept - : NodeMetadata() { - *this = ::std::move(from); - } - - inline NodeMetadata& operator=(NodeMetadata&& 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 NodeMetadata& default_instance(); - - enum InterruptibleValueCase { - kInterruptible = 6, - INTERRUPTIBLE_VALUE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeMetadata* internal_default_instance() { - return reinterpret_cast( - &_NodeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(NodeMetadata* other); - friend void swap(NodeMetadata& a, NodeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeMetadata* 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 NodeMetadata& from); - void MergeFrom(const NodeMetadata& 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(NodeMetadata* 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 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); - - // .google.protobuf.Duration timeout = 4; - bool has_timeout() const; - void clear_timeout(); - static const int kTimeoutFieldNumber = 4; - const ::google::protobuf::Duration& timeout() const; - ::google::protobuf::Duration* release_timeout(); - ::google::protobuf::Duration* mutable_timeout(); - void set_allocated_timeout(::google::protobuf::Duration* timeout); - - // .flyteidl.core.RetryStrategy retries = 5; - bool has_retries() const; - void clear_retries(); - static const int kRetriesFieldNumber = 5; - const ::flyteidl::core::RetryStrategy& retries() const; - ::flyteidl::core::RetryStrategy* release_retries(); - ::flyteidl::core::RetryStrategy* mutable_retries(); - void set_allocated_retries(::flyteidl::core::RetryStrategy* retries); - - // bool interruptible = 6; - private: - bool has_interruptible() const; - public: - void clear_interruptible(); - static const int kInterruptibleFieldNumber = 6; - bool interruptible() const; - void set_interruptible(bool value); - - void clear_interruptible_value(); - InterruptibleValueCase interruptible_value_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.NodeMetadata) - private: - class HasBitSetters; - void set_has_interruptible(); - - inline bool has_interruptible_value() const; - inline void clear_has_interruptible_value(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::Duration* timeout_; - ::flyteidl::core::RetryStrategy* retries_; - union InterruptibleValueUnion { - InterruptibleValueUnion() {} - bool interruptible_; - } interruptible_value_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class Alias final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Alias) */ { - public: - Alias(); - virtual ~Alias(); - - Alias(const Alias& from); - - inline Alias& operator=(const Alias& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Alias(Alias&& from) noexcept - : Alias() { - *this = ::std::move(from); - } - - inline Alias& operator=(Alias&& 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 Alias& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Alias* internal_default_instance() { - return reinterpret_cast( - &_Alias_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(Alias* other); - friend void swap(Alias& a, Alias& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Alias* New() const final { - return CreateMaybeMessage(nullptr); - } - - Alias* 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 Alias& from); - void MergeFrom(const Alias& 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(Alias* 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 var = 1; - void clear_var(); - static const int kVarFieldNumber = 1; - const ::std::string& var() const; - void set_var(const ::std::string& value); - #if LANG_CXX11 - void set_var(::std::string&& value); - #endif - void set_var(const char* value); - void set_var(const char* value, size_t size); - ::std::string* mutable_var(); - ::std::string* release_var(); - void set_allocated_var(::std::string* var); - - // string alias = 2; - void clear_alias(); - static const int kAliasFieldNumber = 2; - const ::std::string& alias() const; - void set_alias(const ::std::string& value); - #if LANG_CXX11 - void set_alias(::std::string&& value); - #endif - void set_alias(const char* value); - void set_alias(const char* value, size_t size); - ::std::string* mutable_alias(); - ::std::string* release_alias(); - void set_allocated_alias(::std::string* alias); - - // @@protoc_insertion_point(class_scope:flyteidl.core.Alias) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr var_; - ::google::protobuf::internal::ArenaStringPtr alias_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class Node final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Node) */ { - public: - Node(); - virtual ~Node(); - - Node(const Node& from); - - inline Node& operator=(const Node& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Node(Node&& from) noexcept - : Node() { - *this = ::std::move(from); - } - - inline Node& operator=(Node&& 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 Node& default_instance(); - - enum TargetCase { - kTaskNode = 6, - kWorkflowNode = 7, - kBranchNode = 8, - kGateNode = 9, - kArrayNode = 10, - TARGET_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Node* internal_default_instance() { - return reinterpret_cast( - &_Node_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(Node* other); - friend void swap(Node& a, Node& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Node* New() const final { - return CreateMaybeMessage(nullptr); - } - - Node* 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 Node& from); - void MergeFrom(const Node& 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(Node* 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.Binding inputs = 3; - int inputs_size() const; - void clear_inputs(); - static const int kInputsFieldNumber = 3; - ::flyteidl::core::Binding* mutable_inputs(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >* - mutable_inputs(); - const ::flyteidl::core::Binding& inputs(int index) const; - ::flyteidl::core::Binding* add_inputs(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >& - inputs() const; - - // repeated string upstream_node_ids = 4; - int upstream_node_ids_size() const; - void clear_upstream_node_ids(); - static const int kUpstreamNodeIdsFieldNumber = 4; - const ::std::string& upstream_node_ids(int index) const; - ::std::string* mutable_upstream_node_ids(int index); - void set_upstream_node_ids(int index, const ::std::string& value); - #if LANG_CXX11 - void set_upstream_node_ids(int index, ::std::string&& value); - #endif - void set_upstream_node_ids(int index, const char* value); - void set_upstream_node_ids(int index, const char* value, size_t size); - ::std::string* add_upstream_node_ids(); - void add_upstream_node_ids(const ::std::string& value); - #if LANG_CXX11 - void add_upstream_node_ids(::std::string&& value); - #endif - void add_upstream_node_ids(const char* value); - void add_upstream_node_ids(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& upstream_node_ids() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_upstream_node_ids(); - - // repeated .flyteidl.core.Alias output_aliases = 5; - int output_aliases_size() const; - void clear_output_aliases(); - static const int kOutputAliasesFieldNumber = 5; - ::flyteidl::core::Alias* mutable_output_aliases(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Alias >* - mutable_output_aliases(); - const ::flyteidl::core::Alias& output_aliases(int index) const; - ::flyteidl::core::Alias* add_output_aliases(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Alias >& - output_aliases() 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); - - // .flyteidl.core.NodeMetadata metadata = 2; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 2; - const ::flyteidl::core::NodeMetadata& metadata() const; - ::flyteidl::core::NodeMetadata* release_metadata(); - ::flyteidl::core::NodeMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::core::NodeMetadata* metadata); - - // .flyteidl.core.TaskNode task_node = 6; - bool has_task_node() const; - void clear_task_node(); - static const int kTaskNodeFieldNumber = 6; - const ::flyteidl::core::TaskNode& task_node() const; - ::flyteidl::core::TaskNode* release_task_node(); - ::flyteidl::core::TaskNode* mutable_task_node(); - void set_allocated_task_node(::flyteidl::core::TaskNode* task_node); - - // .flyteidl.core.WorkflowNode workflow_node = 7; - bool has_workflow_node() const; - void clear_workflow_node(); - static const int kWorkflowNodeFieldNumber = 7; - const ::flyteidl::core::WorkflowNode& workflow_node() const; - ::flyteidl::core::WorkflowNode* release_workflow_node(); - ::flyteidl::core::WorkflowNode* mutable_workflow_node(); - void set_allocated_workflow_node(::flyteidl::core::WorkflowNode* workflow_node); - - // .flyteidl.core.BranchNode branch_node = 8; - bool has_branch_node() const; - void clear_branch_node(); - static const int kBranchNodeFieldNumber = 8; - const ::flyteidl::core::BranchNode& branch_node() const; - ::flyteidl::core::BranchNode* release_branch_node(); - ::flyteidl::core::BranchNode* mutable_branch_node(); - void set_allocated_branch_node(::flyteidl::core::BranchNode* branch_node); - - // .flyteidl.core.GateNode gate_node = 9; - bool has_gate_node() const; - void clear_gate_node(); - static const int kGateNodeFieldNumber = 9; - const ::flyteidl::core::GateNode& gate_node() const; - ::flyteidl::core::GateNode* release_gate_node(); - ::flyteidl::core::GateNode* mutable_gate_node(); - void set_allocated_gate_node(::flyteidl::core::GateNode* gate_node); - - // .flyteidl.core.ArrayNode array_node = 10; - bool has_array_node() const; - void clear_array_node(); - static const int kArrayNodeFieldNumber = 10; - const ::flyteidl::core::ArrayNode& array_node() const; - ::flyteidl::core::ArrayNode* release_array_node(); - ::flyteidl::core::ArrayNode* mutable_array_node(); - void set_allocated_array_node(::flyteidl::core::ArrayNode* array_node); - - void clear_target(); - TargetCase target_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.core.Node) - private: - class HasBitSetters; - void set_has_task_node(); - void set_has_workflow_node(); - void set_has_branch_node(); - void set_has_gate_node(); - void set_has_array_node(); - - inline bool has_target() const; - inline void clear_has_target(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding > inputs_; - ::google::protobuf::RepeatedPtrField<::std::string> upstream_node_ids_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Alias > output_aliases_; - ::google::protobuf::internal::ArenaStringPtr id_; - ::flyteidl::core::NodeMetadata* metadata_; - union TargetUnion { - TargetUnion() {} - ::flyteidl::core::TaskNode* task_node_; - ::flyteidl::core::WorkflowNode* workflow_node_; - ::flyteidl::core::BranchNode* branch_node_; - ::flyteidl::core::GateNode* gate_node_; - ::flyteidl::core::ArrayNode* array_node_; - } target_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowMetadata_TagsEntry_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; - WorkflowMetadata_TagsEntry_DoNotUse(); - WorkflowMetadata_TagsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const WorkflowMetadata_TagsEntry_DoNotUse& other); - static const WorkflowMetadata_TagsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_WorkflowMetadata_TagsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class WorkflowMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.WorkflowMetadata) */ { - public: - WorkflowMetadata(); - virtual ~WorkflowMetadata(); - - WorkflowMetadata(const WorkflowMetadata& from); - - inline WorkflowMetadata& operator=(const WorkflowMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowMetadata(WorkflowMetadata&& from) noexcept - : WorkflowMetadata() { - *this = ::std::move(from); - } - - inline WorkflowMetadata& operator=(WorkflowMetadata&& 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 WorkflowMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowMetadata* internal_default_instance() { - return reinterpret_cast( - &_WorkflowMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - void Swap(WorkflowMetadata* other); - friend void swap(WorkflowMetadata& a, WorkflowMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowMetadata* 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 WorkflowMetadata& from); - void MergeFrom(const WorkflowMetadata& 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(WorkflowMetadata* 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 WorkflowMetadata_OnFailurePolicy OnFailurePolicy; - static const OnFailurePolicy FAIL_IMMEDIATELY = - WorkflowMetadata_OnFailurePolicy_FAIL_IMMEDIATELY; - static const OnFailurePolicy FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = - WorkflowMetadata_OnFailurePolicy_FAIL_AFTER_EXECUTABLE_NODES_COMPLETE; - static inline bool OnFailurePolicy_IsValid(int value) { - return WorkflowMetadata_OnFailurePolicy_IsValid(value); - } - static const OnFailurePolicy OnFailurePolicy_MIN = - WorkflowMetadata_OnFailurePolicy_OnFailurePolicy_MIN; - static const OnFailurePolicy OnFailurePolicy_MAX = - WorkflowMetadata_OnFailurePolicy_OnFailurePolicy_MAX; - static const int OnFailurePolicy_ARRAYSIZE = - WorkflowMetadata_OnFailurePolicy_OnFailurePolicy_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - OnFailurePolicy_descriptor() { - return WorkflowMetadata_OnFailurePolicy_descriptor(); - } - static inline const ::std::string& OnFailurePolicy_Name(OnFailurePolicy value) { - return WorkflowMetadata_OnFailurePolicy_Name(value); - } - static inline bool OnFailurePolicy_Parse(const ::std::string& name, - OnFailurePolicy* value) { - return WorkflowMetadata_OnFailurePolicy_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // map tags = 3; - int tags_size() const; - void clear_tags(); - static const int kTagsFieldNumber = 3; - const ::google::protobuf::Map< ::std::string, ::std::string >& - tags() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_tags(); - - // .flyteidl.core.QualityOfService quality_of_service = 1; - bool has_quality_of_service() const; - void clear_quality_of_service(); - static const int kQualityOfServiceFieldNumber = 1; - const ::flyteidl::core::QualityOfService& quality_of_service() const; - ::flyteidl::core::QualityOfService* release_quality_of_service(); - ::flyteidl::core::QualityOfService* mutable_quality_of_service(); - void set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service); - - // .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - void clear_on_failure(); - static const int kOnFailureFieldNumber = 2; - ::flyteidl::core::WorkflowMetadata_OnFailurePolicy on_failure() const; - void set_on_failure(::flyteidl::core::WorkflowMetadata_OnFailurePolicy value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - WorkflowMetadata_TagsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > tags_; - ::flyteidl::core::QualityOfService* quality_of_service_; - int on_failure_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowMetadataDefaults final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.WorkflowMetadataDefaults) */ { - public: - WorkflowMetadataDefaults(); - virtual ~WorkflowMetadataDefaults(); - - WorkflowMetadataDefaults(const WorkflowMetadataDefaults& from); - - inline WorkflowMetadataDefaults& operator=(const WorkflowMetadataDefaults& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowMetadataDefaults(WorkflowMetadataDefaults&& from) noexcept - : WorkflowMetadataDefaults() { - *this = ::std::move(from); - } - - inline WorkflowMetadataDefaults& operator=(WorkflowMetadataDefaults&& 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 WorkflowMetadataDefaults& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowMetadataDefaults* internal_default_instance() { - return reinterpret_cast( - &_WorkflowMetadataDefaults_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - void Swap(WorkflowMetadataDefaults* other); - friend void swap(WorkflowMetadataDefaults& a, WorkflowMetadataDefaults& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowMetadataDefaults* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowMetadataDefaults* 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 WorkflowMetadataDefaults& from); - void MergeFrom(const WorkflowMetadataDefaults& 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(WorkflowMetadataDefaults* 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 ------------------------------------------------------- - - // bool interruptible = 1; - void clear_interruptible(); - static const int kInterruptibleFieldNumber = 1; - bool interruptible() const; - void set_interruptible(bool value); - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowMetadataDefaults) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - bool interruptible_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowTemplate final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.WorkflowTemplate) */ { - public: - WorkflowTemplate(); - virtual ~WorkflowTemplate(); - - WorkflowTemplate(const WorkflowTemplate& from); - - inline WorkflowTemplate& operator=(const WorkflowTemplate& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowTemplate(WorkflowTemplate&& from) noexcept - : WorkflowTemplate() { - *this = ::std::move(from); - } - - inline WorkflowTemplate& operator=(WorkflowTemplate&& 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 WorkflowTemplate& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowTemplate* internal_default_instance() { - return reinterpret_cast( - &_WorkflowTemplate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - void Swap(WorkflowTemplate* other); - friend void swap(WorkflowTemplate& a, WorkflowTemplate& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowTemplate* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowTemplate* 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 WorkflowTemplate& from); - void MergeFrom(const WorkflowTemplate& 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(WorkflowTemplate* 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.Node nodes = 4; - int nodes_size() const; - void clear_nodes(); - static const int kNodesFieldNumber = 4; - ::flyteidl::core::Node* mutable_nodes(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >* - mutable_nodes(); - const ::flyteidl::core::Node& nodes(int index) const; - ::flyteidl::core::Node* add_nodes(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >& - nodes() const; - - // repeated .flyteidl.core.Binding outputs = 5; - int outputs_size() const; - void clear_outputs(); - static const int kOutputsFieldNumber = 5; - ::flyteidl::core::Binding* mutable_outputs(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >* - mutable_outputs(); - const ::flyteidl::core::Binding& outputs(int index) const; - ::flyteidl::core::Binding* add_outputs(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >& - outputs() const; - - // .flyteidl.core.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.core.WorkflowMetadata metadata = 2; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 2; - const ::flyteidl::core::WorkflowMetadata& metadata() const; - ::flyteidl::core::WorkflowMetadata* release_metadata(); - ::flyteidl::core::WorkflowMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::core::WorkflowMetadata* metadata); - - // .flyteidl.core.TypedInterface interface = 3; - bool has_interface() const; - void clear_interface(); - static const int kInterfaceFieldNumber = 3; - const ::flyteidl::core::TypedInterface& interface() const; - ::flyteidl::core::TypedInterface* release_interface(); - ::flyteidl::core::TypedInterface* mutable_interface(); - void set_allocated_interface(::flyteidl::core::TypedInterface* interface); - - // .flyteidl.core.Node failure_node = 6; - bool has_failure_node() const; - void clear_failure_node(); - static const int kFailureNodeFieldNumber = 6; - const ::flyteidl::core::Node& failure_node() const; - ::flyteidl::core::Node* release_failure_node(); - ::flyteidl::core::Node* mutable_failure_node(); - void set_allocated_failure_node(::flyteidl::core::Node* failure_node); - - // .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - bool has_metadata_defaults() const; - void clear_metadata_defaults(); - static const int kMetadataDefaultsFieldNumber = 7; - const ::flyteidl::core::WorkflowMetadataDefaults& metadata_defaults() const; - ::flyteidl::core::WorkflowMetadataDefaults* release_metadata_defaults(); - ::flyteidl::core::WorkflowMetadataDefaults* mutable_metadata_defaults(); - void set_allocated_metadata_defaults(::flyteidl::core::WorkflowMetadataDefaults* metadata_defaults); - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowTemplate) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node > nodes_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding > outputs_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::core::WorkflowMetadata* metadata_; - ::flyteidl::core::TypedInterface* interface_; - ::flyteidl::core::Node* failure_node_; - ::flyteidl::core::WorkflowMetadataDefaults* metadata_defaults_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskNodeOverrides final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.TaskNodeOverrides) */ { - public: - TaskNodeOverrides(); - virtual ~TaskNodeOverrides(); - - TaskNodeOverrides(const TaskNodeOverrides& from); - - inline TaskNodeOverrides& operator=(const TaskNodeOverrides& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskNodeOverrides(TaskNodeOverrides&& from) noexcept - : TaskNodeOverrides() { - *this = ::std::move(from); - } - - inline TaskNodeOverrides& operator=(TaskNodeOverrides&& 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 TaskNodeOverrides& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskNodeOverrides* internal_default_instance() { - return reinterpret_cast( - &_TaskNodeOverrides_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - void Swap(TaskNodeOverrides* other); - friend void swap(TaskNodeOverrides& a, TaskNodeOverrides& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskNodeOverrides* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskNodeOverrides* 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 TaskNodeOverrides& from); - void MergeFrom(const TaskNodeOverrides& 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(TaskNodeOverrides* 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.Resources resources = 1; - bool has_resources() const; - void clear_resources(); - static const int kResourcesFieldNumber = 1; - const ::flyteidl::core::Resources& resources() const; - ::flyteidl::core::Resources* release_resources(); - ::flyteidl::core::Resources* mutable_resources(); - void set_allocated_resources(::flyteidl::core::Resources* resources); - - // .flyteidl.core.ExtendedResources extended_resources = 2; - bool has_extended_resources() const; - void clear_extended_resources(); - static const int kExtendedResourcesFieldNumber = 2; - const ::flyteidl::core::ExtendedResources& extended_resources() const; - ::flyteidl::core::ExtendedResources* release_extended_resources(); - ::flyteidl::core::ExtendedResources* mutable_extended_resources(); - void set_allocated_extended_resources(::flyteidl::core::ExtendedResources* extended_resources); - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskNodeOverrides) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::Resources* resources_; - ::flyteidl::core::ExtendedResources* extended_resources_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// IfBlock - -// .flyteidl.core.BooleanExpression condition = 1; -inline bool IfBlock::has_condition() const { - return this != internal_default_instance() && condition_ != nullptr; -} -inline const ::flyteidl::core::BooleanExpression& IfBlock::condition() const { - const ::flyteidl::core::BooleanExpression* p = condition_; - // @@protoc_insertion_point(field_get:flyteidl.core.IfBlock.condition) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_BooleanExpression_default_instance_); -} -inline ::flyteidl::core::BooleanExpression* IfBlock::release_condition() { - // @@protoc_insertion_point(field_release:flyteidl.core.IfBlock.condition) - - ::flyteidl::core::BooleanExpression* temp = condition_; - condition_ = nullptr; - return temp; -} -inline ::flyteidl::core::BooleanExpression* IfBlock::mutable_condition() { - - if (condition_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::BooleanExpression>(GetArenaNoVirtual()); - condition_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.IfBlock.condition) - return condition_; -} -inline void IfBlock::set_allocated_condition(::flyteidl::core::BooleanExpression* condition) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(condition_); - } - if (condition) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - condition = ::google::protobuf::internal::GetOwnedMessage( - message_arena, condition, submessage_arena); - } - - } else { - - } - condition_ = condition; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.IfBlock.condition) -} - -// .flyteidl.core.Node then_node = 2; -inline bool IfBlock::has_then_node() const { - return this != internal_default_instance() && then_node_ != nullptr; -} -inline void IfBlock::clear_then_node() { - if (GetArenaNoVirtual() == nullptr && then_node_ != nullptr) { - delete then_node_; - } - then_node_ = nullptr; -} -inline const ::flyteidl::core::Node& IfBlock::then_node() const { - const ::flyteidl::core::Node* p = then_node_; - // @@protoc_insertion_point(field_get:flyteidl.core.IfBlock.then_node) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Node_default_instance_); -} -inline ::flyteidl::core::Node* IfBlock::release_then_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.IfBlock.then_node) - - ::flyteidl::core::Node* temp = then_node_; - then_node_ = nullptr; - return temp; -} -inline ::flyteidl::core::Node* IfBlock::mutable_then_node() { - - if (then_node_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Node>(GetArenaNoVirtual()); - then_node_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.IfBlock.then_node) - return then_node_; -} -inline void IfBlock::set_allocated_then_node(::flyteidl::core::Node* then_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete then_node_; - } - if (then_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - then_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, then_node, submessage_arena); - } - - } else { - - } - then_node_ = then_node; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.IfBlock.then_node) -} - -// ------------------------------------------------------------------- - -// IfElseBlock - -// .flyteidl.core.IfBlock case = 1; -inline bool IfElseBlock::has_case_() const { - return this != internal_default_instance() && case__ != nullptr; -} -inline void IfElseBlock::clear_case_() { - if (GetArenaNoVirtual() == nullptr && case__ != nullptr) { - delete case__; - } - case__ = nullptr; -} -inline const ::flyteidl::core::IfBlock& IfElseBlock::case_() const { - const ::flyteidl::core::IfBlock* p = case__; - // @@protoc_insertion_point(field_get:flyteidl.core.IfElseBlock.case) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_IfBlock_default_instance_); -} -inline ::flyteidl::core::IfBlock* IfElseBlock::release_case_() { - // @@protoc_insertion_point(field_release:flyteidl.core.IfElseBlock.case) - - ::flyteidl::core::IfBlock* temp = case__; - case__ = nullptr; - return temp; -} -inline ::flyteidl::core::IfBlock* IfElseBlock::mutable_case_() { - - if (case__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::IfBlock>(GetArenaNoVirtual()); - case__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.IfElseBlock.case) - return case__; -} -inline void IfElseBlock::set_allocated_case_(::flyteidl::core::IfBlock* case_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete case__; - } - if (case_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - case_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, case_, submessage_arena); - } - - } else { - - } - case__ = case_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.IfElseBlock.case) -} - -// repeated .flyteidl.core.IfBlock other = 2; -inline int IfElseBlock::other_size() const { - return other_.size(); -} -inline void IfElseBlock::clear_other() { - other_.Clear(); -} -inline ::flyteidl::core::IfBlock* IfElseBlock::mutable_other(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.IfElseBlock.other) - return other_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::IfBlock >* -IfElseBlock::mutable_other() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.IfElseBlock.other) - return &other_; -} -inline const ::flyteidl::core::IfBlock& IfElseBlock::other(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.IfElseBlock.other) - return other_.Get(index); -} -inline ::flyteidl::core::IfBlock* IfElseBlock::add_other() { - // @@protoc_insertion_point(field_add:flyteidl.core.IfElseBlock.other) - return other_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::IfBlock >& -IfElseBlock::other() const { - // @@protoc_insertion_point(field_list:flyteidl.core.IfElseBlock.other) - return other_; -} - -// .flyteidl.core.Node else_node = 3; -inline bool IfElseBlock::has_else_node() const { - return default_case() == kElseNode; -} -inline void IfElseBlock::set_has_else_node() { - _oneof_case_[0] = kElseNode; -} -inline void IfElseBlock::clear_else_node() { - if (has_else_node()) { - delete default_.else_node_; - clear_has_default(); - } -} -inline ::flyteidl::core::Node* IfElseBlock::release_else_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.IfElseBlock.else_node) - if (has_else_node()) { - clear_has_default(); - ::flyteidl::core::Node* temp = default_.else_node_; - default_.else_node_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Node& IfElseBlock::else_node() const { - // @@protoc_insertion_point(field_get:flyteidl.core.IfElseBlock.else_node) - return has_else_node() - ? *default_.else_node_ - : *reinterpret_cast< ::flyteidl::core::Node*>(&::flyteidl::core::_Node_default_instance_); -} -inline ::flyteidl::core::Node* IfElseBlock::mutable_else_node() { - if (!has_else_node()) { - clear_default(); - set_has_else_node(); - default_.else_node_ = CreateMaybeMessage< ::flyteidl::core::Node >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.IfElseBlock.else_node) - return default_.else_node_; -} - -// .flyteidl.core.Error error = 4; -inline bool IfElseBlock::has_error() const { - return default_case() == kError; -} -inline void IfElseBlock::set_has_error() { - _oneof_case_[0] = kError; -} -inline ::flyteidl::core::Error* IfElseBlock::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.core.IfElseBlock.error) - if (has_error()) { - clear_has_default(); - ::flyteidl::core::Error* temp = default_.error_; - default_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Error& IfElseBlock::error() const { - // @@protoc_insertion_point(field_get:flyteidl.core.IfElseBlock.error) - return has_error() - ? *default_.error_ - : *reinterpret_cast< ::flyteidl::core::Error*>(&::flyteidl::core::_Error_default_instance_); -} -inline ::flyteidl::core::Error* IfElseBlock::mutable_error() { - if (!has_error()) { - clear_default(); - set_has_error(); - default_.error_ = CreateMaybeMessage< ::flyteidl::core::Error >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.IfElseBlock.error) - return default_.error_; -} - -inline bool IfElseBlock::has_default() const { - return default_case() != DEFAULT_NOT_SET; -} -inline void IfElseBlock::clear_has_default() { - _oneof_case_[0] = DEFAULT_NOT_SET; -} -inline IfElseBlock::DefaultCase IfElseBlock::default_case() const { - return IfElseBlock::DefaultCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// BranchNode - -// .flyteidl.core.IfElseBlock if_else = 1; -inline bool BranchNode::has_if_else() const { - return this != internal_default_instance() && if_else_ != nullptr; -} -inline void BranchNode::clear_if_else() { - if (GetArenaNoVirtual() == nullptr && if_else_ != nullptr) { - delete if_else_; - } - if_else_ = nullptr; -} -inline const ::flyteidl::core::IfElseBlock& BranchNode::if_else() const { - const ::flyteidl::core::IfElseBlock* p = if_else_; - // @@protoc_insertion_point(field_get:flyteidl.core.BranchNode.if_else) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_IfElseBlock_default_instance_); -} -inline ::flyteidl::core::IfElseBlock* BranchNode::release_if_else() { - // @@protoc_insertion_point(field_release:flyteidl.core.BranchNode.if_else) - - ::flyteidl::core::IfElseBlock* temp = if_else_; - if_else_ = nullptr; - return temp; -} -inline ::flyteidl::core::IfElseBlock* BranchNode::mutable_if_else() { - - if (if_else_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::IfElseBlock>(GetArenaNoVirtual()); - if_else_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.BranchNode.if_else) - return if_else_; -} -inline void BranchNode::set_allocated_if_else(::flyteidl::core::IfElseBlock* if_else) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete if_else_; - } - if (if_else) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - if_else = ::google::protobuf::internal::GetOwnedMessage( - message_arena, if_else, submessage_arena); - } - - } else { - - } - if_else_ = if_else; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.BranchNode.if_else) -} - -// ------------------------------------------------------------------- - -// TaskNode - -// .flyteidl.core.Identifier reference_id = 1; -inline bool TaskNode::has_reference_id() const { - return reference_case() == kReferenceId; -} -inline void TaskNode::set_has_reference_id() { - _oneof_case_[0] = kReferenceId; -} -inline ::flyteidl::core::Identifier* TaskNode::release_reference_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskNode.reference_id) - if (has_reference_id()) { - clear_has_reference(); - ::flyteidl::core::Identifier* temp = reference_.reference_id_; - reference_.reference_id_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Identifier& TaskNode::reference_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.TaskNode.reference_id) - return has_reference_id() - ? *reference_.reference_id_ - : *reinterpret_cast< ::flyteidl::core::Identifier*>(&::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* TaskNode::mutable_reference_id() { - if (!has_reference_id()) { - clear_reference(); - set_has_reference_id(); - reference_.reference_id_ = CreateMaybeMessage< ::flyteidl::core::Identifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskNode.reference_id) - return reference_.reference_id_; -} - -// .flyteidl.core.TaskNodeOverrides overrides = 2; -inline bool TaskNode::has_overrides() const { - return this != internal_default_instance() && overrides_ != nullptr; -} -inline void TaskNode::clear_overrides() { - if (GetArenaNoVirtual() == nullptr && overrides_ != nullptr) { - delete overrides_; - } - overrides_ = nullptr; -} -inline const ::flyteidl::core::TaskNodeOverrides& TaskNode::overrides() const { - const ::flyteidl::core::TaskNodeOverrides* p = overrides_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskNode.overrides) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskNodeOverrides_default_instance_); -} -inline ::flyteidl::core::TaskNodeOverrides* TaskNode::release_overrides() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskNode.overrides) - - ::flyteidl::core::TaskNodeOverrides* temp = overrides_; - overrides_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskNodeOverrides* TaskNode::mutable_overrides() { - - if (overrides_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskNodeOverrides>(GetArenaNoVirtual()); - overrides_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskNode.overrides) - return overrides_; -} -inline void TaskNode::set_allocated_overrides(::flyteidl::core::TaskNodeOverrides* overrides) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete overrides_; - } - if (overrides) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - overrides = ::google::protobuf::internal::GetOwnedMessage( - message_arena, overrides, submessage_arena); - } - - } else { - - } - overrides_ = overrides; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskNode.overrides) -} - -inline bool TaskNode::has_reference() const { - return reference_case() != REFERENCE_NOT_SET; -} -inline void TaskNode::clear_has_reference() { - _oneof_case_[0] = REFERENCE_NOT_SET; -} -inline TaskNode::ReferenceCase TaskNode::reference_case() const { - return TaskNode::ReferenceCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// WorkflowNode - -// .flyteidl.core.Identifier launchplan_ref = 1; -inline bool WorkflowNode::has_launchplan_ref() const { - return reference_case() == kLaunchplanRef; -} -inline void WorkflowNode::set_has_launchplan_ref() { - _oneof_case_[0] = kLaunchplanRef; -} -inline ::flyteidl::core::Identifier* WorkflowNode::release_launchplan_ref() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowNode.launchplan_ref) - if (has_launchplan_ref()) { - clear_has_reference(); - ::flyteidl::core::Identifier* temp = reference_.launchplan_ref_; - reference_.launchplan_ref_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Identifier& WorkflowNode::launchplan_ref() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowNode.launchplan_ref) - return has_launchplan_ref() - ? *reference_.launchplan_ref_ - : *reinterpret_cast< ::flyteidl::core::Identifier*>(&::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* WorkflowNode::mutable_launchplan_ref() { - if (!has_launchplan_ref()) { - clear_reference(); - set_has_launchplan_ref(); - reference_.launchplan_ref_ = CreateMaybeMessage< ::flyteidl::core::Identifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowNode.launchplan_ref) - return reference_.launchplan_ref_; -} - -// .flyteidl.core.Identifier sub_workflow_ref = 2; -inline bool WorkflowNode::has_sub_workflow_ref() const { - return reference_case() == kSubWorkflowRef; -} -inline void WorkflowNode::set_has_sub_workflow_ref() { - _oneof_case_[0] = kSubWorkflowRef; -} -inline ::flyteidl::core::Identifier* WorkflowNode::release_sub_workflow_ref() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowNode.sub_workflow_ref) - if (has_sub_workflow_ref()) { - clear_has_reference(); - ::flyteidl::core::Identifier* temp = reference_.sub_workflow_ref_; - reference_.sub_workflow_ref_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Identifier& WorkflowNode::sub_workflow_ref() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowNode.sub_workflow_ref) - return has_sub_workflow_ref() - ? *reference_.sub_workflow_ref_ - : *reinterpret_cast< ::flyteidl::core::Identifier*>(&::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* WorkflowNode::mutable_sub_workflow_ref() { - if (!has_sub_workflow_ref()) { - clear_reference(); - set_has_sub_workflow_ref(); - reference_.sub_workflow_ref_ = CreateMaybeMessage< ::flyteidl::core::Identifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowNode.sub_workflow_ref) - return reference_.sub_workflow_ref_; -} - -inline bool WorkflowNode::has_reference() const { - return reference_case() != REFERENCE_NOT_SET; -} -inline void WorkflowNode::clear_has_reference() { - _oneof_case_[0] = REFERENCE_NOT_SET; -} -inline WorkflowNode::ReferenceCase WorkflowNode::reference_case() const { - return WorkflowNode::ReferenceCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ApproveCondition - -// string signal_id = 1; -inline void ApproveCondition::clear_signal_id() { - signal_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ApproveCondition::signal_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ApproveCondition.signal_id) - return signal_id_.GetNoArena(); -} -inline void ApproveCondition::set_signal_id(const ::std::string& value) { - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.ApproveCondition.signal_id) -} -#if LANG_CXX11 -inline void ApproveCondition::set_signal_id(::std::string&& value) { - - signal_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.ApproveCondition.signal_id) -} -#endif -inline void ApproveCondition::set_signal_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.ApproveCondition.signal_id) -} -inline void ApproveCondition::set_signal_id(const char* value, size_t size) { - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.ApproveCondition.signal_id) -} -inline ::std::string* ApproveCondition::mutable_signal_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.ApproveCondition.signal_id) - return signal_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ApproveCondition::release_signal_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.ApproveCondition.signal_id) - - return signal_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ApproveCondition::set_allocated_signal_id(::std::string* signal_id) { - if (signal_id != nullptr) { - - } else { - - } - signal_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), signal_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ApproveCondition.signal_id) -} - -// ------------------------------------------------------------------- - -// SignalCondition - -// string signal_id = 1; -inline void SignalCondition::clear_signal_id() { - signal_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SignalCondition::signal_id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.SignalCondition.signal_id) - return signal_id_.GetNoArena(); -} -inline void SignalCondition::set_signal_id(const ::std::string& value) { - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.SignalCondition.signal_id) -} -#if LANG_CXX11 -inline void SignalCondition::set_signal_id(::std::string&& value) { - - signal_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.SignalCondition.signal_id) -} -#endif -inline void SignalCondition::set_signal_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.SignalCondition.signal_id) -} -inline void SignalCondition::set_signal_id(const char* value, size_t size) { - - signal_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.SignalCondition.signal_id) -} -inline ::std::string* SignalCondition::mutable_signal_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.SignalCondition.signal_id) - return signal_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SignalCondition::release_signal_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.SignalCondition.signal_id) - - return signal_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SignalCondition::set_allocated_signal_id(::std::string* signal_id) { - if (signal_id != nullptr) { - - } else { - - } - signal_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), signal_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SignalCondition.signal_id) -} - -// .flyteidl.core.LiteralType type = 2; -inline bool SignalCondition::has_type() const { - return this != internal_default_instance() && type_ != nullptr; -} -inline const ::flyteidl::core::LiteralType& SignalCondition::type() const { - const ::flyteidl::core::LiteralType* p = type_; - // @@protoc_insertion_point(field_get:flyteidl.core.SignalCondition.type) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralType_default_instance_); -} -inline ::flyteidl::core::LiteralType* SignalCondition::release_type() { - // @@protoc_insertion_point(field_release:flyteidl.core.SignalCondition.type) - - ::flyteidl::core::LiteralType* temp = type_; - type_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralType* SignalCondition::mutable_type() { - - if (type_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); - type_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.SignalCondition.type) - return type_; -} -inline void SignalCondition::set_allocated_type(::flyteidl::core::LiteralType* type) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); - } - if (type) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - type = ::google::protobuf::internal::GetOwnedMessage( - message_arena, type, submessage_arena); - } - - } else { - - } - type_ = type; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SignalCondition.type) -} - -// string output_variable_name = 3; -inline void SignalCondition::clear_output_variable_name() { - output_variable_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SignalCondition::output_variable_name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.SignalCondition.output_variable_name) - return output_variable_name_.GetNoArena(); -} -inline void SignalCondition::set_output_variable_name(const ::std::string& value) { - - output_variable_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.SignalCondition.output_variable_name) -} -#if LANG_CXX11 -inline void SignalCondition::set_output_variable_name(::std::string&& value) { - - output_variable_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.SignalCondition.output_variable_name) -} -#endif -inline void SignalCondition::set_output_variable_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - output_variable_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.SignalCondition.output_variable_name) -} -inline void SignalCondition::set_output_variable_name(const char* value, size_t size) { - - output_variable_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.SignalCondition.output_variable_name) -} -inline ::std::string* SignalCondition::mutable_output_variable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.SignalCondition.output_variable_name) - return output_variable_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SignalCondition::release_output_variable_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.SignalCondition.output_variable_name) - - return output_variable_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SignalCondition::set_allocated_output_variable_name(::std::string* output_variable_name) { - if (output_variable_name != nullptr) { - - } else { - - } - output_variable_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_variable_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SignalCondition.output_variable_name) -} - -// ------------------------------------------------------------------- - -// SleepCondition - -// .google.protobuf.Duration duration = 1; -inline bool SleepCondition::has_duration() const { - return this != internal_default_instance() && duration_ != nullptr; -} -inline const ::google::protobuf::Duration& SleepCondition::duration() const { - const ::google::protobuf::Duration* p = duration_; - // @@protoc_insertion_point(field_get:flyteidl.core.SleepCondition.duration) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* SleepCondition::release_duration() { - // @@protoc_insertion_point(field_release:flyteidl.core.SleepCondition.duration) - - ::google::protobuf::Duration* temp = duration_; - duration_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* SleepCondition::mutable_duration() { - - if (duration_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - duration_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.SleepCondition.duration) - return duration_; -} -inline void SleepCondition::set_allocated_duration(::google::protobuf::Duration* duration) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(duration_); - } - if (duration) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(duration)->GetArena(); - if (message_arena != submessage_arena) { - duration = ::google::protobuf::internal::GetOwnedMessage( - message_arena, duration, submessage_arena); - } - - } else { - - } - duration_ = duration; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.SleepCondition.duration) -} - -// ------------------------------------------------------------------- - -// GateNode - -// .flyteidl.core.ApproveCondition approve = 1; -inline bool GateNode::has_approve() const { - return condition_case() == kApprove; -} -inline void GateNode::set_has_approve() { - _oneof_case_[0] = kApprove; -} -inline void GateNode::clear_approve() { - if (has_approve()) { - delete condition_.approve_; - clear_has_condition(); - } -} -inline ::flyteidl::core::ApproveCondition* GateNode::release_approve() { - // @@protoc_insertion_point(field_release:flyteidl.core.GateNode.approve) - if (has_approve()) { - clear_has_condition(); - ::flyteidl::core::ApproveCondition* temp = condition_.approve_; - condition_.approve_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ApproveCondition& GateNode::approve() const { - // @@protoc_insertion_point(field_get:flyteidl.core.GateNode.approve) - return has_approve() - ? *condition_.approve_ - : *reinterpret_cast< ::flyteidl::core::ApproveCondition*>(&::flyteidl::core::_ApproveCondition_default_instance_); -} -inline ::flyteidl::core::ApproveCondition* GateNode::mutable_approve() { - if (!has_approve()) { - clear_condition(); - set_has_approve(); - condition_.approve_ = CreateMaybeMessage< ::flyteidl::core::ApproveCondition >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.GateNode.approve) - return condition_.approve_; -} - -// .flyteidl.core.SignalCondition signal = 2; -inline bool GateNode::has_signal() const { - return condition_case() == kSignal; -} -inline void GateNode::set_has_signal() { - _oneof_case_[0] = kSignal; -} -inline void GateNode::clear_signal() { - if (has_signal()) { - delete condition_.signal_; - clear_has_condition(); - } -} -inline ::flyteidl::core::SignalCondition* GateNode::release_signal() { - // @@protoc_insertion_point(field_release:flyteidl.core.GateNode.signal) - if (has_signal()) { - clear_has_condition(); - ::flyteidl::core::SignalCondition* temp = condition_.signal_; - condition_.signal_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::SignalCondition& GateNode::signal() const { - // @@protoc_insertion_point(field_get:flyteidl.core.GateNode.signal) - return has_signal() - ? *condition_.signal_ - : *reinterpret_cast< ::flyteidl::core::SignalCondition*>(&::flyteidl::core::_SignalCondition_default_instance_); -} -inline ::flyteidl::core::SignalCondition* GateNode::mutable_signal() { - if (!has_signal()) { - clear_condition(); - set_has_signal(); - condition_.signal_ = CreateMaybeMessage< ::flyteidl::core::SignalCondition >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.GateNode.signal) - return condition_.signal_; -} - -// .flyteidl.core.SleepCondition sleep = 3; -inline bool GateNode::has_sleep() const { - return condition_case() == kSleep; -} -inline void GateNode::set_has_sleep() { - _oneof_case_[0] = kSleep; -} -inline void GateNode::clear_sleep() { - if (has_sleep()) { - delete condition_.sleep_; - clear_has_condition(); - } -} -inline ::flyteidl::core::SleepCondition* GateNode::release_sleep() { - // @@protoc_insertion_point(field_release:flyteidl.core.GateNode.sleep) - if (has_sleep()) { - clear_has_condition(); - ::flyteidl::core::SleepCondition* temp = condition_.sleep_; - condition_.sleep_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::SleepCondition& GateNode::sleep() const { - // @@protoc_insertion_point(field_get:flyteidl.core.GateNode.sleep) - return has_sleep() - ? *condition_.sleep_ - : *reinterpret_cast< ::flyteidl::core::SleepCondition*>(&::flyteidl::core::_SleepCondition_default_instance_); -} -inline ::flyteidl::core::SleepCondition* GateNode::mutable_sleep() { - if (!has_sleep()) { - clear_condition(); - set_has_sleep(); - condition_.sleep_ = CreateMaybeMessage< ::flyteidl::core::SleepCondition >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.GateNode.sleep) - return condition_.sleep_; -} - -inline bool GateNode::has_condition() const { - return condition_case() != CONDITION_NOT_SET; -} -inline void GateNode::clear_has_condition() { - _oneof_case_[0] = CONDITION_NOT_SET; -} -inline GateNode::ConditionCase GateNode::condition_case() const { - return GateNode::ConditionCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ArrayNode - -// .flyteidl.core.Node node = 1; -inline bool ArrayNode::has_node() const { - return this != internal_default_instance() && node_ != nullptr; -} -inline void ArrayNode::clear_node() { - if (GetArenaNoVirtual() == nullptr && node_ != nullptr) { - delete node_; - } - node_ = nullptr; -} -inline const ::flyteidl::core::Node& ArrayNode::node() const { - const ::flyteidl::core::Node* p = node_; - // @@protoc_insertion_point(field_get:flyteidl.core.ArrayNode.node) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Node_default_instance_); -} -inline ::flyteidl::core::Node* ArrayNode::release_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.ArrayNode.node) - - ::flyteidl::core::Node* temp = node_; - node_ = nullptr; - return temp; -} -inline ::flyteidl::core::Node* ArrayNode::mutable_node() { - - if (node_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Node>(GetArenaNoVirtual()); - node_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.ArrayNode.node) - return node_; -} -inline void ArrayNode::set_allocated_node(::flyteidl::core::Node* node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete node_; - } - if (node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, node, submessage_arena); - } - - } else { - - } - node_ = node; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArrayNode.node) -} - -// uint32 parallelism = 2; -inline void ArrayNode::clear_parallelism() { - parallelism_ = 0u; -} -inline ::google::protobuf::uint32 ArrayNode::parallelism() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArrayNode.parallelism) - return parallelism_; -} -inline void ArrayNode::set_parallelism(::google::protobuf::uint32 value) { - - parallelism_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ArrayNode.parallelism) -} - -// uint32 min_successes = 3; -inline bool ArrayNode::has_min_successes() const { - return success_criteria_case() == kMinSuccesses; -} -inline void ArrayNode::set_has_min_successes() { - _oneof_case_[0] = kMinSuccesses; -} -inline void ArrayNode::clear_min_successes() { - if (has_min_successes()) { - success_criteria_.min_successes_ = 0u; - clear_has_success_criteria(); - } -} -inline ::google::protobuf::uint32 ArrayNode::min_successes() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArrayNode.min_successes) - if (has_min_successes()) { - return success_criteria_.min_successes_; - } - return 0u; -} -inline void ArrayNode::set_min_successes(::google::protobuf::uint32 value) { - if (!has_min_successes()) { - clear_success_criteria(); - set_has_min_successes(); - } - success_criteria_.min_successes_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ArrayNode.min_successes) -} - -// float min_success_ratio = 4; -inline bool ArrayNode::has_min_success_ratio() const { - return success_criteria_case() == kMinSuccessRatio; -} -inline void ArrayNode::set_has_min_success_ratio() { - _oneof_case_[0] = kMinSuccessRatio; -} -inline void ArrayNode::clear_min_success_ratio() { - if (has_min_success_ratio()) { - success_criteria_.min_success_ratio_ = 0; - clear_has_success_criteria(); - } -} -inline float ArrayNode::min_success_ratio() const { - // @@protoc_insertion_point(field_get:flyteidl.core.ArrayNode.min_success_ratio) - if (has_min_success_ratio()) { - return success_criteria_.min_success_ratio_; - } - return 0; -} -inline void ArrayNode::set_min_success_ratio(float value) { - if (!has_min_success_ratio()) { - clear_success_criteria(); - set_has_min_success_ratio(); - } - success_criteria_.min_success_ratio_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.ArrayNode.min_success_ratio) -} - -inline bool ArrayNode::has_success_criteria() const { - return success_criteria_case() != SUCCESS_CRITERIA_NOT_SET; -} -inline void ArrayNode::clear_has_success_criteria() { - _oneof_case_[0] = SUCCESS_CRITERIA_NOT_SET; -} -inline ArrayNode::SuccessCriteriaCase ArrayNode::success_criteria_case() const { - return ArrayNode::SuccessCriteriaCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// NodeMetadata - -// string name = 1; -inline void NodeMetadata::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeMetadata::name() const { - // @@protoc_insertion_point(field_get:flyteidl.core.NodeMetadata.name) - return name_.GetNoArena(); -} -inline void NodeMetadata::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.NodeMetadata.name) -} -#if LANG_CXX11 -inline void NodeMetadata::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.NodeMetadata.name) -} -#endif -inline void NodeMetadata::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.NodeMetadata.name) -} -inline void NodeMetadata::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.NodeMetadata.name) -} -inline ::std::string* NodeMetadata::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.NodeMetadata.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeMetadata::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.core.NodeMetadata.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeMetadata::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.NodeMetadata.name) -} - -// .google.protobuf.Duration timeout = 4; -inline bool NodeMetadata::has_timeout() const { - return this != internal_default_instance() && timeout_ != nullptr; -} -inline const ::google::protobuf::Duration& NodeMetadata::timeout() const { - const ::google::protobuf::Duration* p = timeout_; - // @@protoc_insertion_point(field_get:flyteidl.core.NodeMetadata.timeout) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* NodeMetadata::release_timeout() { - // @@protoc_insertion_point(field_release:flyteidl.core.NodeMetadata.timeout) - - ::google::protobuf::Duration* temp = timeout_; - timeout_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* NodeMetadata::mutable_timeout() { - - if (timeout_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - timeout_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.NodeMetadata.timeout) - return timeout_; -} -inline void NodeMetadata::set_allocated_timeout(::google::protobuf::Duration* timeout) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(timeout_); - } - if (timeout) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(timeout)->GetArena(); - if (message_arena != submessage_arena) { - timeout = ::google::protobuf::internal::GetOwnedMessage( - message_arena, timeout, submessage_arena); - } - - } else { - - } - timeout_ = timeout; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.NodeMetadata.timeout) -} - -// .flyteidl.core.RetryStrategy retries = 5; -inline bool NodeMetadata::has_retries() const { - return this != internal_default_instance() && retries_ != nullptr; -} -inline const ::flyteidl::core::RetryStrategy& NodeMetadata::retries() const { - const ::flyteidl::core::RetryStrategy* p = retries_; - // @@protoc_insertion_point(field_get:flyteidl.core.NodeMetadata.retries) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_RetryStrategy_default_instance_); -} -inline ::flyteidl::core::RetryStrategy* NodeMetadata::release_retries() { - // @@protoc_insertion_point(field_release:flyteidl.core.NodeMetadata.retries) - - ::flyteidl::core::RetryStrategy* temp = retries_; - retries_ = nullptr; - return temp; -} -inline ::flyteidl::core::RetryStrategy* NodeMetadata::mutable_retries() { - - if (retries_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::RetryStrategy>(GetArenaNoVirtual()); - retries_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.NodeMetadata.retries) - return retries_; -} -inline void NodeMetadata::set_allocated_retries(::flyteidl::core::RetryStrategy* retries) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(retries_); - } - if (retries) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - retries = ::google::protobuf::internal::GetOwnedMessage( - message_arena, retries, submessage_arena); - } - - } else { - - } - retries_ = retries; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.NodeMetadata.retries) -} - -// bool interruptible = 6; -inline bool NodeMetadata::has_interruptible() const { - return interruptible_value_case() == kInterruptible; -} -inline void NodeMetadata::set_has_interruptible() { - _oneof_case_[0] = kInterruptible; -} -inline void NodeMetadata::clear_interruptible() { - if (has_interruptible()) { - interruptible_value_.interruptible_ = false; - clear_has_interruptible_value(); - } -} -inline bool NodeMetadata::interruptible() const { - // @@protoc_insertion_point(field_get:flyteidl.core.NodeMetadata.interruptible) - if (has_interruptible()) { - return interruptible_value_.interruptible_; - } - return false; -} -inline void NodeMetadata::set_interruptible(bool value) { - if (!has_interruptible()) { - clear_interruptible_value(); - set_has_interruptible(); - } - interruptible_value_.interruptible_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.NodeMetadata.interruptible) -} - -inline bool NodeMetadata::has_interruptible_value() const { - return interruptible_value_case() != INTERRUPTIBLE_VALUE_NOT_SET; -} -inline void NodeMetadata::clear_has_interruptible_value() { - _oneof_case_[0] = INTERRUPTIBLE_VALUE_NOT_SET; -} -inline NodeMetadata::InterruptibleValueCase NodeMetadata::interruptible_value_case() const { - return NodeMetadata::InterruptibleValueCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Alias - -// string var = 1; -inline void Alias::clear_var() { - var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Alias::var() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Alias.var) - return var_.GetNoArena(); -} -inline void Alias::set_var(const ::std::string& value) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Alias.var) -} -#if LANG_CXX11 -inline void Alias::set_var(::std::string&& value) { - - var_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Alias.var) -} -#endif -inline void Alias::set_var(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Alias.var) -} -inline void Alias::set_var(const char* value, size_t size) { - - var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Alias.var) -} -inline ::std::string* Alias::mutable_var() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Alias.var) - return var_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Alias::release_var() { - // @@protoc_insertion_point(field_release:flyteidl.core.Alias.var) - - return var_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Alias::set_allocated_var(::std::string* var) { - if (var != nullptr) { - - } else { - - } - var_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), var); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Alias.var) -} - -// string alias = 2; -inline void Alias::clear_alias() { - alias_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Alias::alias() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Alias.alias) - return alias_.GetNoArena(); -} -inline void Alias::set_alias(const ::std::string& value) { - - alias_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Alias.alias) -} -#if LANG_CXX11 -inline void Alias::set_alias(::std::string&& value) { - - alias_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Alias.alias) -} -#endif -inline void Alias::set_alias(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - alias_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Alias.alias) -} -inline void Alias::set_alias(const char* value, size_t size) { - - alias_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Alias.alias) -} -inline ::std::string* Alias::mutable_alias() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Alias.alias) - return alias_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Alias::release_alias() { - // @@protoc_insertion_point(field_release:flyteidl.core.Alias.alias) - - return alias_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Alias::set_allocated_alias(::std::string* alias) { - if (alias != nullptr) { - - } else { - - } - alias_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), alias); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Alias.alias) -} - -// ------------------------------------------------------------------- - -// Node - -// string id = 1; -inline void Node::clear_id() { - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Node::id() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.id) - return id_.GetNoArena(); -} -inline void Node::set_id(const ::std::string& value) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.core.Node.id) -} -#if LANG_CXX11 -inline void Node::set_id(::std::string&& value) { - - id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Node.id) -} -#endif -inline void Node::set_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Node.id) -} -inline void Node::set_id(const char* value, size_t size) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Node.id) -} -inline ::std::string* Node::mutable_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.id) - return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Node::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.Node.id) - - return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Node::set_allocated_id(::std::string* id) { - if (id != nullptr) { - - } else { - - } - id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Node.id) -} - -// .flyteidl.core.NodeMetadata metadata = 2; -inline bool Node::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void Node::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::core::NodeMetadata& Node::metadata() const { - const ::flyteidl::core::NodeMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.core.Node.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeMetadata_default_instance_); -} -inline ::flyteidl::core::NodeMetadata* Node::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.core.Node.metadata) - - ::flyteidl::core::NodeMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeMetadata* Node::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.metadata) - return metadata_; -} -inline void Node::set_allocated_metadata(::flyteidl::core::NodeMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Node.metadata) -} - -// repeated .flyteidl.core.Binding inputs = 3; -inline int Node::inputs_size() const { - return inputs_.size(); -} -inline ::flyteidl::core::Binding* Node::mutable_inputs(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.inputs) - return inputs_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >* -Node::mutable_inputs() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Node.inputs) - return &inputs_; -} -inline const ::flyteidl::core::Binding& Node::inputs(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.inputs) - return inputs_.Get(index); -} -inline ::flyteidl::core::Binding* Node::add_inputs() { - // @@protoc_insertion_point(field_add:flyteidl.core.Node.inputs) - return inputs_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >& -Node::inputs() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Node.inputs) - return inputs_; -} - -// repeated string upstream_node_ids = 4; -inline int Node::upstream_node_ids_size() const { - return upstream_node_ids_.size(); -} -inline void Node::clear_upstream_node_ids() { - upstream_node_ids_.Clear(); -} -inline const ::std::string& Node::upstream_node_ids(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.upstream_node_ids) - return upstream_node_ids_.Get(index); -} -inline ::std::string* Node::mutable_upstream_node_ids(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.upstream_node_ids) - return upstream_node_ids_.Mutable(index); -} -inline void Node::set_upstream_node_ids(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Node.upstream_node_ids) - upstream_node_ids_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void Node::set_upstream_node_ids(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.core.Node.upstream_node_ids) - upstream_node_ids_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void Node::set_upstream_node_ids(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - upstream_node_ids_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.core.Node.upstream_node_ids) -} -inline void Node::set_upstream_node_ids(int index, const char* value, size_t size) { - upstream_node_ids_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Node.upstream_node_ids) -} -inline ::std::string* Node::add_upstream_node_ids() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.core.Node.upstream_node_ids) - return upstream_node_ids_.Add(); -} -inline void Node::add_upstream_node_ids(const ::std::string& value) { - upstream_node_ids_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.core.Node.upstream_node_ids) -} -#if LANG_CXX11 -inline void Node::add_upstream_node_ids(::std::string&& value) { - upstream_node_ids_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.core.Node.upstream_node_ids) -} -#endif -inline void Node::add_upstream_node_ids(const char* value) { - GOOGLE_DCHECK(value != nullptr); - upstream_node_ids_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.core.Node.upstream_node_ids) -} -inline void Node::add_upstream_node_ids(const char* value, size_t size) { - upstream_node_ids_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.core.Node.upstream_node_ids) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -Node::upstream_node_ids() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Node.upstream_node_ids) - return upstream_node_ids_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -Node::mutable_upstream_node_ids() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Node.upstream_node_ids) - return &upstream_node_ids_; -} - -// repeated .flyteidl.core.Alias output_aliases = 5; -inline int Node::output_aliases_size() const { - return output_aliases_.size(); -} -inline void Node::clear_output_aliases() { - output_aliases_.Clear(); -} -inline ::flyteidl::core::Alias* Node::mutable_output_aliases(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.output_aliases) - return output_aliases_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Alias >* -Node::mutable_output_aliases() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Node.output_aliases) - return &output_aliases_; -} -inline const ::flyteidl::core::Alias& Node::output_aliases(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.output_aliases) - return output_aliases_.Get(index); -} -inline ::flyteidl::core::Alias* Node::add_output_aliases() { - // @@protoc_insertion_point(field_add:flyteidl.core.Node.output_aliases) - return output_aliases_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Alias >& -Node::output_aliases() const { - // @@protoc_insertion_point(field_list:flyteidl.core.Node.output_aliases) - return output_aliases_; -} - -// .flyteidl.core.TaskNode task_node = 6; -inline bool Node::has_task_node() const { - return target_case() == kTaskNode; -} -inline void Node::set_has_task_node() { - _oneof_case_[0] = kTaskNode; -} -inline void Node::clear_task_node() { - if (has_task_node()) { - delete target_.task_node_; - clear_has_target(); - } -} -inline ::flyteidl::core::TaskNode* Node::release_task_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.Node.task_node) - if (has_task_node()) { - clear_has_target(); - ::flyteidl::core::TaskNode* temp = target_.task_node_; - target_.task_node_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::TaskNode& Node::task_node() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.task_node) - return has_task_node() - ? *target_.task_node_ - : *reinterpret_cast< ::flyteidl::core::TaskNode*>(&::flyteidl::core::_TaskNode_default_instance_); -} -inline ::flyteidl::core::TaskNode* Node::mutable_task_node() { - if (!has_task_node()) { - clear_target(); - set_has_task_node(); - target_.task_node_ = CreateMaybeMessage< ::flyteidl::core::TaskNode >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.task_node) - return target_.task_node_; -} - -// .flyteidl.core.WorkflowNode workflow_node = 7; -inline bool Node::has_workflow_node() const { - return target_case() == kWorkflowNode; -} -inline void Node::set_has_workflow_node() { - _oneof_case_[0] = kWorkflowNode; -} -inline void Node::clear_workflow_node() { - if (has_workflow_node()) { - delete target_.workflow_node_; - clear_has_target(); - } -} -inline ::flyteidl::core::WorkflowNode* Node::release_workflow_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.Node.workflow_node) - if (has_workflow_node()) { - clear_has_target(); - ::flyteidl::core::WorkflowNode* temp = target_.workflow_node_; - target_.workflow_node_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::WorkflowNode& Node::workflow_node() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.workflow_node) - return has_workflow_node() - ? *target_.workflow_node_ - : *reinterpret_cast< ::flyteidl::core::WorkflowNode*>(&::flyteidl::core::_WorkflowNode_default_instance_); -} -inline ::flyteidl::core::WorkflowNode* Node::mutable_workflow_node() { - if (!has_workflow_node()) { - clear_target(); - set_has_workflow_node(); - target_.workflow_node_ = CreateMaybeMessage< ::flyteidl::core::WorkflowNode >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.workflow_node) - return target_.workflow_node_; -} - -// .flyteidl.core.BranchNode branch_node = 8; -inline bool Node::has_branch_node() const { - return target_case() == kBranchNode; -} -inline void Node::set_has_branch_node() { - _oneof_case_[0] = kBranchNode; -} -inline void Node::clear_branch_node() { - if (has_branch_node()) { - delete target_.branch_node_; - clear_has_target(); - } -} -inline ::flyteidl::core::BranchNode* Node::release_branch_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.Node.branch_node) - if (has_branch_node()) { - clear_has_target(); - ::flyteidl::core::BranchNode* temp = target_.branch_node_; - target_.branch_node_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::BranchNode& Node::branch_node() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.branch_node) - return has_branch_node() - ? *target_.branch_node_ - : *reinterpret_cast< ::flyteidl::core::BranchNode*>(&::flyteidl::core::_BranchNode_default_instance_); -} -inline ::flyteidl::core::BranchNode* Node::mutable_branch_node() { - if (!has_branch_node()) { - clear_target(); - set_has_branch_node(); - target_.branch_node_ = CreateMaybeMessage< ::flyteidl::core::BranchNode >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.branch_node) - return target_.branch_node_; -} - -// .flyteidl.core.GateNode gate_node = 9; -inline bool Node::has_gate_node() const { - return target_case() == kGateNode; -} -inline void Node::set_has_gate_node() { - _oneof_case_[0] = kGateNode; -} -inline void Node::clear_gate_node() { - if (has_gate_node()) { - delete target_.gate_node_; - clear_has_target(); - } -} -inline ::flyteidl::core::GateNode* Node::release_gate_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.Node.gate_node) - if (has_gate_node()) { - clear_has_target(); - ::flyteidl::core::GateNode* temp = target_.gate_node_; - target_.gate_node_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::GateNode& Node::gate_node() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.gate_node) - return has_gate_node() - ? *target_.gate_node_ - : *reinterpret_cast< ::flyteidl::core::GateNode*>(&::flyteidl::core::_GateNode_default_instance_); -} -inline ::flyteidl::core::GateNode* Node::mutable_gate_node() { - if (!has_gate_node()) { - clear_target(); - set_has_gate_node(); - target_.gate_node_ = CreateMaybeMessage< ::flyteidl::core::GateNode >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.gate_node) - return target_.gate_node_; -} - -// .flyteidl.core.ArrayNode array_node = 10; -inline bool Node::has_array_node() const { - return target_case() == kArrayNode; -} -inline void Node::set_has_array_node() { - _oneof_case_[0] = kArrayNode; -} -inline void Node::clear_array_node() { - if (has_array_node()) { - delete target_.array_node_; - clear_has_target(); - } -} -inline ::flyteidl::core::ArrayNode* Node::release_array_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.Node.array_node) - if (has_array_node()) { - clear_has_target(); - ::flyteidl::core::ArrayNode* temp = target_.array_node_; - target_.array_node_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ArrayNode& Node::array_node() const { - // @@protoc_insertion_point(field_get:flyteidl.core.Node.array_node) - return has_array_node() - ? *target_.array_node_ - : *reinterpret_cast< ::flyteidl::core::ArrayNode*>(&::flyteidl::core::_ArrayNode_default_instance_); -} -inline ::flyteidl::core::ArrayNode* Node::mutable_array_node() { - if (!has_array_node()) { - clear_target(); - set_has_array_node(); - target_.array_node_ = CreateMaybeMessage< ::flyteidl::core::ArrayNode >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.Node.array_node) - return target_.array_node_; -} - -inline bool Node::has_target() const { - return target_case() != TARGET_NOT_SET; -} -inline void Node::clear_has_target() { - _oneof_case_[0] = TARGET_NOT_SET; -} -inline Node::TargetCase Node::target_case() const { - return Node::TargetCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// WorkflowMetadata - -// .flyteidl.core.QualityOfService quality_of_service = 1; -inline bool WorkflowMetadata::has_quality_of_service() const { - return this != internal_default_instance() && quality_of_service_ != nullptr; -} -inline const ::flyteidl::core::QualityOfService& WorkflowMetadata::quality_of_service() const { - const ::flyteidl::core::QualityOfService* p = quality_of_service_; - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowMetadata.quality_of_service) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_QualityOfService_default_instance_); -} -inline ::flyteidl::core::QualityOfService* WorkflowMetadata::release_quality_of_service() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowMetadata.quality_of_service) - - ::flyteidl::core::QualityOfService* temp = quality_of_service_; - quality_of_service_ = nullptr; - return temp; -} -inline ::flyteidl::core::QualityOfService* WorkflowMetadata::mutable_quality_of_service() { - - if (quality_of_service_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::QualityOfService>(GetArenaNoVirtual()); - quality_of_service_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowMetadata.quality_of_service) - return quality_of_service_; -} -inline void WorkflowMetadata::set_allocated_quality_of_service(::flyteidl::core::QualityOfService* quality_of_service) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(quality_of_service_); - } - if (quality_of_service) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - quality_of_service = ::google::protobuf::internal::GetOwnedMessage( - message_arena, quality_of_service, submessage_arena); - } - - } else { - - } - quality_of_service_ = quality_of_service; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowMetadata.quality_of_service) -} - -// .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; -inline void WorkflowMetadata::clear_on_failure() { - on_failure_ = 0; -} -inline ::flyteidl::core::WorkflowMetadata_OnFailurePolicy WorkflowMetadata::on_failure() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowMetadata.on_failure) - return static_cast< ::flyteidl::core::WorkflowMetadata_OnFailurePolicy >(on_failure_); -} -inline void WorkflowMetadata::set_on_failure(::flyteidl::core::WorkflowMetadata_OnFailurePolicy value) { - - on_failure_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.WorkflowMetadata.on_failure) -} - -// map tags = 3; -inline int WorkflowMetadata::tags_size() const { - return tags_.size(); -} -inline void WorkflowMetadata::clear_tags() { - tags_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -WorkflowMetadata::tags() const { - // @@protoc_insertion_point(field_map:flyteidl.core.WorkflowMetadata.tags) - return tags_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -WorkflowMetadata::mutable_tags() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.core.WorkflowMetadata.tags) - return tags_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// WorkflowMetadataDefaults - -// bool interruptible = 1; -inline void WorkflowMetadataDefaults::clear_interruptible() { - interruptible_ = false; -} -inline bool WorkflowMetadataDefaults::interruptible() const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowMetadataDefaults.interruptible) - return interruptible_; -} -inline void WorkflowMetadataDefaults::set_interruptible(bool value) { - - interruptible_ = value; - // @@protoc_insertion_point(field_set:flyteidl.core.WorkflowMetadataDefaults.interruptible) -} - -// ------------------------------------------------------------------- - -// WorkflowTemplate - -// .flyteidl.core.Identifier id = 1; -inline bool WorkflowTemplate::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& WorkflowTemplate::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowTemplate.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* WorkflowTemplate::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowTemplate.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* WorkflowTemplate::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowTemplate.id) - return id_; -} -inline void WorkflowTemplate::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowTemplate.id) -} - -// .flyteidl.core.WorkflowMetadata metadata = 2; -inline bool WorkflowTemplate::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void WorkflowTemplate::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::core::WorkflowMetadata& WorkflowTemplate::metadata() const { - const ::flyteidl::core::WorkflowMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowTemplate.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowMetadata_default_instance_); -} -inline ::flyteidl::core::WorkflowMetadata* WorkflowTemplate::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowTemplate.metadata) - - ::flyteidl::core::WorkflowMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowMetadata* WorkflowTemplate::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowTemplate.metadata) - return metadata_; -} -inline void WorkflowTemplate::set_allocated_metadata(::flyteidl::core::WorkflowMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowTemplate.metadata) -} - -// .flyteidl.core.TypedInterface interface = 3; -inline bool WorkflowTemplate::has_interface() const { - return this != internal_default_instance() && interface_ != nullptr; -} -inline const ::flyteidl::core::TypedInterface& WorkflowTemplate::interface() const { - const ::flyteidl::core::TypedInterface* p = interface_; - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowTemplate.interface) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TypedInterface_default_instance_); -} -inline ::flyteidl::core::TypedInterface* WorkflowTemplate::release_interface() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowTemplate.interface) - - ::flyteidl::core::TypedInterface* temp = interface_; - interface_ = nullptr; - return temp; -} -inline ::flyteidl::core::TypedInterface* WorkflowTemplate::mutable_interface() { - - if (interface_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TypedInterface>(GetArenaNoVirtual()); - interface_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowTemplate.interface) - return interface_; -} -inline void WorkflowTemplate::set_allocated_interface(::flyteidl::core::TypedInterface* interface) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(interface_); - } - if (interface) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - interface = ::google::protobuf::internal::GetOwnedMessage( - message_arena, interface, submessage_arena); - } - - } else { - - } - interface_ = interface; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowTemplate.interface) -} - -// repeated .flyteidl.core.Node nodes = 4; -inline int WorkflowTemplate::nodes_size() const { - return nodes_.size(); -} -inline void WorkflowTemplate::clear_nodes() { - nodes_.Clear(); -} -inline ::flyteidl::core::Node* WorkflowTemplate::mutable_nodes(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowTemplate.nodes) - return nodes_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >* -WorkflowTemplate::mutable_nodes() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.WorkflowTemplate.nodes) - return &nodes_; -} -inline const ::flyteidl::core::Node& WorkflowTemplate::nodes(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowTemplate.nodes) - return nodes_.Get(index); -} -inline ::flyteidl::core::Node* WorkflowTemplate::add_nodes() { - // @@protoc_insertion_point(field_add:flyteidl.core.WorkflowTemplate.nodes) - return nodes_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Node >& -WorkflowTemplate::nodes() const { - // @@protoc_insertion_point(field_list:flyteidl.core.WorkflowTemplate.nodes) - return nodes_; -} - -// repeated .flyteidl.core.Binding outputs = 5; -inline int WorkflowTemplate::outputs_size() const { - return outputs_.size(); -} -inline ::flyteidl::core::Binding* WorkflowTemplate::mutable_outputs(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowTemplate.outputs) - return outputs_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >* -WorkflowTemplate::mutable_outputs() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.WorkflowTemplate.outputs) - return &outputs_; -} -inline const ::flyteidl::core::Binding& WorkflowTemplate::outputs(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowTemplate.outputs) - return outputs_.Get(index); -} -inline ::flyteidl::core::Binding* WorkflowTemplate::add_outputs() { - // @@protoc_insertion_point(field_add:flyteidl.core.WorkflowTemplate.outputs) - return outputs_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Binding >& -WorkflowTemplate::outputs() const { - // @@protoc_insertion_point(field_list:flyteidl.core.WorkflowTemplate.outputs) - return outputs_; -} - -// .flyteidl.core.Node failure_node = 6; -inline bool WorkflowTemplate::has_failure_node() const { - return this != internal_default_instance() && failure_node_ != nullptr; -} -inline void WorkflowTemplate::clear_failure_node() { - if (GetArenaNoVirtual() == nullptr && failure_node_ != nullptr) { - delete failure_node_; - } - failure_node_ = nullptr; -} -inline const ::flyteidl::core::Node& WorkflowTemplate::failure_node() const { - const ::flyteidl::core::Node* p = failure_node_; - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowTemplate.failure_node) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Node_default_instance_); -} -inline ::flyteidl::core::Node* WorkflowTemplate::release_failure_node() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowTemplate.failure_node) - - ::flyteidl::core::Node* temp = failure_node_; - failure_node_ = nullptr; - return temp; -} -inline ::flyteidl::core::Node* WorkflowTemplate::mutable_failure_node() { - - if (failure_node_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Node>(GetArenaNoVirtual()); - failure_node_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowTemplate.failure_node) - return failure_node_; -} -inline void WorkflowTemplate::set_allocated_failure_node(::flyteidl::core::Node* failure_node) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete failure_node_; - } - if (failure_node) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - failure_node = ::google::protobuf::internal::GetOwnedMessage( - message_arena, failure_node, submessage_arena); - } - - } else { - - } - failure_node_ = failure_node; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowTemplate.failure_node) -} - -// .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; -inline bool WorkflowTemplate::has_metadata_defaults() const { - return this != internal_default_instance() && metadata_defaults_ != nullptr; -} -inline void WorkflowTemplate::clear_metadata_defaults() { - if (GetArenaNoVirtual() == nullptr && metadata_defaults_ != nullptr) { - delete metadata_defaults_; - } - metadata_defaults_ = nullptr; -} -inline const ::flyteidl::core::WorkflowMetadataDefaults& WorkflowTemplate::metadata_defaults() const { - const ::flyteidl::core::WorkflowMetadataDefaults* p = metadata_defaults_; - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowTemplate.metadata_defaults) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowMetadataDefaults_default_instance_); -} -inline ::flyteidl::core::WorkflowMetadataDefaults* WorkflowTemplate::release_metadata_defaults() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowTemplate.metadata_defaults) - - ::flyteidl::core::WorkflowMetadataDefaults* temp = metadata_defaults_; - metadata_defaults_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowMetadataDefaults* WorkflowTemplate::mutable_metadata_defaults() { - - if (metadata_defaults_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowMetadataDefaults>(GetArenaNoVirtual()); - metadata_defaults_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowTemplate.metadata_defaults) - return metadata_defaults_; -} -inline void WorkflowTemplate::set_allocated_metadata_defaults(::flyteidl::core::WorkflowMetadataDefaults* metadata_defaults) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_defaults_; - } - if (metadata_defaults) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata_defaults = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata_defaults, submessage_arena); - } - - } else { - - } - metadata_defaults_ = metadata_defaults; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowTemplate.metadata_defaults) -} - -// ------------------------------------------------------------------- - -// TaskNodeOverrides - -// .flyteidl.core.Resources resources = 1; -inline bool TaskNodeOverrides::has_resources() const { - return this != internal_default_instance() && resources_ != nullptr; -} -inline const ::flyteidl::core::Resources& TaskNodeOverrides::resources() const { - const ::flyteidl::core::Resources* p = resources_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskNodeOverrides.resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Resources_default_instance_); -} -inline ::flyteidl::core::Resources* TaskNodeOverrides::release_resources() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskNodeOverrides.resources) - - ::flyteidl::core::Resources* temp = resources_; - resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::Resources* TaskNodeOverrides::mutable_resources() { - - if (resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); - resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskNodeOverrides.resources) - return resources_; -} -inline void TaskNodeOverrides::set_allocated_resources(::flyteidl::core::Resources* resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); - } - if (resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resources, submessage_arena); - } - - } else { - - } - resources_ = resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskNodeOverrides.resources) -} - -// .flyteidl.core.ExtendedResources extended_resources = 2; -inline bool TaskNodeOverrides::has_extended_resources() const { - return this != internal_default_instance() && extended_resources_ != nullptr; -} -inline const ::flyteidl::core::ExtendedResources& TaskNodeOverrides::extended_resources() const { - const ::flyteidl::core::ExtendedResources* p = extended_resources_; - // @@protoc_insertion_point(field_get:flyteidl.core.TaskNodeOverrides.extended_resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_ExtendedResources_default_instance_); -} -inline ::flyteidl::core::ExtendedResources* TaskNodeOverrides::release_extended_resources() { - // @@protoc_insertion_point(field_release:flyteidl.core.TaskNodeOverrides.extended_resources) - - ::flyteidl::core::ExtendedResources* temp = extended_resources_; - extended_resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::ExtendedResources* TaskNodeOverrides::mutable_extended_resources() { - - if (extended_resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::ExtendedResources>(GetArenaNoVirtual()); - extended_resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.TaskNodeOverrides.extended_resources) - return extended_resources_; -} -inline void TaskNodeOverrides::set_allocated_extended_resources(::flyteidl::core::ExtendedResources* extended_resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(extended_resources_); - } - if (extended_resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - extended_resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, extended_resources, submessage_arena); - } - - } else { - - } - extended_resources_ = extended_resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.TaskNodeOverrides.extended_resources) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::core::WorkflowMetadata_OnFailurePolicy> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::WorkflowMetadata_OnFailurePolicy>() { - return ::flyteidl::core::WorkflowMetadata_OnFailurePolicy_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fworkflow_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.grpc.pb.cc deleted file mode 100644 index 680f5eac42..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/workflow_closure.proto - -#include "flyteidl/core/workflow_closure.pb.h" -#include "flyteidl/core/workflow_closure.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace core { - -} // namespace flyteidl -} // namespace core - diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.grpc.pb.h deleted file mode 100644 index bd096c854c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/core/workflow_closure.proto -#ifndef GRPC_flyteidl_2fcore_2fworkflow_5fclosure_2eproto__INCLUDED -#define GRPC_flyteidl_2fcore_2fworkflow_5fclosure_2eproto__INCLUDED - -#include "flyteidl/core/workflow_closure.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 core { - -} // namespace core -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fcore_2fworkflow_5fclosure_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.pb.cc deleted file mode 100644 index d515bf7450..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.pb.cc +++ /dev/null @@ -1,474 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/workflow_closure.proto - -#include "flyteidl/core/workflow_closure.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto; -namespace flyteidl { -namespace core { -class WorkflowClosureDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowClosure_default_instance_; -} // namespace core -} // namespace flyteidl -static void InitDefaultsWorkflowClosure_flyteidl_2fcore_2fworkflow_5fclosure_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::core::_WorkflowClosure_default_instance_; - new (ptr) ::flyteidl::core::WorkflowClosure(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::core::WorkflowClosure::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowClosure_flyteidl_2fcore_2fworkflow_5fclosure_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflowClosure_flyteidl_2fcore_2fworkflow_5fclosure_2eproto}, { - &scc_info_WorkflowTemplate_flyteidl_2fcore_2fworkflow_2eproto.base, - &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -void InitDefaults_flyteidl_2fcore_2fworkflow_5fclosure_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowClosure_flyteidl_2fcore_2fworkflow_5fclosure_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fworkflow_5fclosure_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fworkflow_5fclosure_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fworkflow_5fclosure_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fworkflow_5fclosure_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowClosure, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowClosure, workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::core::WorkflowClosure, tasks_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::core::WorkflowClosure)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::core::_WorkflowClosure_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fworkflow_5fclosure_2eproto = { - {}, AddDescriptors_flyteidl_2fcore_2fworkflow_5fclosure_2eproto, "flyteidl/core/workflow_closure.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fcore_2fworkflow_5fclosure_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2fworkflow_5fclosure_2eproto, 1, file_level_enum_descriptors_flyteidl_2fcore_2fworkflow_5fclosure_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fworkflow_5fclosure_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fcore_2fworkflow_5fclosure_2eproto[] = - "\n$flyteidl/core/workflow_closure.proto\022\r" - "flyteidl.core\032\034flyteidl/core/workflow.pr" - "oto\032\031flyteidl/core/tasks.proto\"p\n\017Workfl" - "owClosure\0221\n\010workflow\030\001 \001(\0132\037.flyteidl.c" - "ore.WorkflowTemplate\022*\n\005tasks\030\002 \003(\0132\033.fl" - "yteidl.core.TaskTemplateBworkflow_ = const_cast< ::flyteidl::core::WorkflowTemplate*>( - ::flyteidl::core::WorkflowTemplate::internal_default_instance()); -} -class WorkflowClosure::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowTemplate& workflow(const WorkflowClosure* msg); -}; - -const ::flyteidl::core::WorkflowTemplate& -WorkflowClosure::HasBitSetters::workflow(const WorkflowClosure* msg) { - return *msg->workflow_; -} -void WorkflowClosure::clear_workflow() { - if (GetArenaNoVirtual() == nullptr && workflow_ != nullptr) { - delete workflow_; - } - workflow_ = nullptr; -} -void WorkflowClosure::clear_tasks() { - tasks_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowClosure::kWorkflowFieldNumber; -const int WorkflowClosure::kTasksFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowClosure::WorkflowClosure() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.core.WorkflowClosure) -} -WorkflowClosure::WorkflowClosure(const WorkflowClosure& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - tasks_(from.tasks_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_workflow()) { - workflow_ = new ::flyteidl::core::WorkflowTemplate(*from.workflow_); - } else { - workflow_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.core.WorkflowClosure) -} - -void WorkflowClosure::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowClosure_flyteidl_2fcore_2fworkflow_5fclosure_2eproto.base); - workflow_ = nullptr; -} - -WorkflowClosure::~WorkflowClosure() { - // @@protoc_insertion_point(destructor:flyteidl.core.WorkflowClosure) - SharedDtor(); -} - -void WorkflowClosure::SharedDtor() { - if (this != internal_default_instance()) delete workflow_; -} - -void WorkflowClosure::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowClosure& WorkflowClosure::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowClosure_flyteidl_2fcore_2fworkflow_5fclosure_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowClosure::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.core.WorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tasks_.Clear(); - if (GetArenaNoVirtual() == nullptr && workflow_ != nullptr) { - delete workflow_; - } - workflow_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowClosure::_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.WorkflowTemplate workflow = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::WorkflowTemplate::_InternalParse; - object = msg->mutable_workflow(); - 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; - } - // repeated .flyteidl.core.TaskTemplate tasks = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskTemplate::_InternalParse; - object = msg->add_tasks(); - 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) == 18 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkflowClosure::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.WorkflowClosure) - 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.WorkflowTemplate workflow = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.TaskTemplate tasks = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_tasks())); - } 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.WorkflowClosure) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.core.WorkflowClosure) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowClosure::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.core.WorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowTemplate workflow = 1; - if (this->has_workflow()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::workflow(this), output); - } - - // repeated .flyteidl.core.TaskTemplate tasks = 2; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->tasks(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.WorkflowClosure) -} - -::google::protobuf::uint8* WorkflowClosure::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.WorkflowClosure) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowTemplate workflow = 1; - if (this->has_workflow()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::workflow(this), target); - } - - // repeated .flyteidl.core.TaskTemplate tasks = 2; - for (unsigned int i = 0, - n = static_cast(this->tasks_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->tasks(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.WorkflowClosure) - return target; -} - -size_t WorkflowClosure::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.WorkflowClosure) - 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.TaskTemplate tasks = 2; - { - unsigned int count = static_cast(this->tasks_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->tasks(static_cast(i))); - } - } - - // .flyteidl.core.WorkflowTemplate workflow = 1; - if (this->has_workflow()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *workflow_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowClosure::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.WorkflowClosure) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowClosure* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.WorkflowClosure) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.WorkflowClosure) - MergeFrom(*source); - } -} - -void WorkflowClosure::MergeFrom(const WorkflowClosure& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.WorkflowClosure) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tasks_.MergeFrom(from.tasks_); - if (from.has_workflow()) { - mutable_workflow()->::flyteidl::core::WorkflowTemplate::MergeFrom(from.workflow()); - } -} - -void WorkflowClosure::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.WorkflowClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowClosure::CopyFrom(const WorkflowClosure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.WorkflowClosure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowClosure::IsInitialized() const { - return true; -} - -void WorkflowClosure::Swap(WorkflowClosure* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowClosure::InternalSwap(WorkflowClosure* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&tasks_)->InternalSwap(CastToBase(&other->tasks_)); - swap(workflow_, other->workflow_); -} - -::google::protobuf::Metadata WorkflowClosure::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fworkflow_5fclosure_2eproto); - return ::file_level_metadata_flyteidl_2fcore_2fworkflow_5fclosure_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::WorkflowClosure* Arena::CreateMaybeMessage< ::flyteidl::core::WorkflowClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::WorkflowClosure >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.pb.h deleted file mode 100644 index f70671ea56..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/core/workflow_closure.pb.h +++ /dev/null @@ -1,291 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/workflow_closure.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fworkflow_5fclosure_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fworkflow_5fclosure_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/workflow.pb.h" -#include "flyteidl/core/tasks.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fworkflow_5fclosure_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fcore_2fworkflow_5fclosure_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[1] - 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_2fcore_2fworkflow_5fclosure_2eproto(); -namespace flyteidl { -namespace core { -class WorkflowClosure; -class WorkflowClosureDefaultTypeInternal; -extern WorkflowClosureDefaultTypeInternal _WorkflowClosure_default_instance_; -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::core::WorkflowClosure* Arena::CreateMaybeMessage<::flyteidl::core::WorkflowClosure>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace core { - -// =================================================================== - -class WorkflowClosure final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.WorkflowClosure) */ { - public: - WorkflowClosure(); - virtual ~WorkflowClosure(); - - WorkflowClosure(const WorkflowClosure& from); - - inline WorkflowClosure& operator=(const WorkflowClosure& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowClosure(WorkflowClosure&& from) noexcept - : WorkflowClosure() { - *this = ::std::move(from); - } - - inline WorkflowClosure& operator=(WorkflowClosure&& 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 WorkflowClosure& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowClosure* internal_default_instance() { - return reinterpret_cast( - &_WorkflowClosure_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(WorkflowClosure* other); - friend void swap(WorkflowClosure& a, WorkflowClosure& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowClosure* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowClosure* 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 WorkflowClosure& from); - void MergeFrom(const WorkflowClosure& 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(WorkflowClosure* 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.TaskTemplate tasks = 2; - int tasks_size() const; - void clear_tasks(); - static const int kTasksFieldNumber = 2; - ::flyteidl::core::TaskTemplate* mutable_tasks(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >* - mutable_tasks(); - const ::flyteidl::core::TaskTemplate& tasks(int index) const; - ::flyteidl::core::TaskTemplate* add_tasks(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >& - tasks() const; - - // .flyteidl.core.WorkflowTemplate workflow = 1; - bool has_workflow() const; - void clear_workflow(); - static const int kWorkflowFieldNumber = 1; - const ::flyteidl::core::WorkflowTemplate& workflow() const; - ::flyteidl::core::WorkflowTemplate* release_workflow(); - ::flyteidl::core::WorkflowTemplate* mutable_workflow(); - void set_allocated_workflow(::flyteidl::core::WorkflowTemplate* workflow); - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowClosure) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate > tasks_; - ::flyteidl::core::WorkflowTemplate* workflow_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fcore_2fworkflow_5fclosure_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// WorkflowClosure - -// .flyteidl.core.WorkflowTemplate workflow = 1; -inline bool WorkflowClosure::has_workflow() const { - return this != internal_default_instance() && workflow_ != nullptr; -} -inline const ::flyteidl::core::WorkflowTemplate& WorkflowClosure::workflow() const { - const ::flyteidl::core::WorkflowTemplate* p = workflow_; - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowClosure.workflow) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowTemplate_default_instance_); -} -inline ::flyteidl::core::WorkflowTemplate* WorkflowClosure::release_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.core.WorkflowClosure.workflow) - - ::flyteidl::core::WorkflowTemplate* temp = workflow_; - workflow_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowTemplate* WorkflowClosure::mutable_workflow() { - - if (workflow_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowTemplate>(GetArenaNoVirtual()); - workflow_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowClosure.workflow) - return workflow_; -} -inline void WorkflowClosure::set_allocated_workflow(::flyteidl::core::WorkflowTemplate* workflow) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_); - } - if (workflow) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow, submessage_arena); - } - - } else { - - } - workflow_ = workflow; - // @@protoc_insertion_point(field_set_allocated:flyteidl.core.WorkflowClosure.workflow) -} - -// repeated .flyteidl.core.TaskTemplate tasks = 2; -inline int WorkflowClosure::tasks_size() const { - return tasks_.size(); -} -inline ::flyteidl::core::TaskTemplate* WorkflowClosure::mutable_tasks(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.core.WorkflowClosure.tasks) - return tasks_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >* -WorkflowClosure::mutable_tasks() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.core.WorkflowClosure.tasks) - return &tasks_; -} -inline const ::flyteidl::core::TaskTemplate& WorkflowClosure::tasks(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.core.WorkflowClosure.tasks) - return tasks_.Get(index); -} -inline ::flyteidl::core::TaskTemplate* WorkflowClosure::add_tasks() { - // @@protoc_insertion_point(field_add:flyteidl.core.WorkflowClosure.tasks) - return tasks_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskTemplate >& -WorkflowClosure::tasks() const { - // @@protoc_insertion_point(field_list:flyteidl.core.WorkflowClosure.tasks) - return tasks_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace core -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fworkflow_5fclosure_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.cc deleted file mode 100644 index 9fa10c82c8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.cc +++ /dev/null @@ -1,461 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/datacatalog/datacatalog.proto - -#include "flyteidl/datacatalog/datacatalog.pb.h" -#include "flyteidl/datacatalog/datacatalog.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace datacatalog { - -static const char* DataCatalog_method_names[] = { - "/datacatalog.DataCatalog/CreateDataset", - "/datacatalog.DataCatalog/GetDataset", - "/datacatalog.DataCatalog/CreateArtifact", - "/datacatalog.DataCatalog/GetArtifact", - "/datacatalog.DataCatalog/AddTag", - "/datacatalog.DataCatalog/ListArtifacts", - "/datacatalog.DataCatalog/ListDatasets", - "/datacatalog.DataCatalog/UpdateArtifact", - "/datacatalog.DataCatalog/GetOrExtendReservation", - "/datacatalog.DataCatalog/ReleaseReservation", -}; - -std::unique_ptr< DataCatalog::Stub> DataCatalog::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< DataCatalog::Stub> stub(new DataCatalog::Stub(channel)); - return stub; -} - -DataCatalog::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_CreateDataset_(DataCatalog_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetDataset_(DataCatalog_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateArtifact_(DataCatalog_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetArtifact_(DataCatalog_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AddTag_(DataCatalog_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , 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) - {} - -::grpc::Status DataCatalog::Stub::CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::datacatalog::CreateDatasetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateDataset_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateDataset_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::CreateDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateDatasetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateDataset_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateDataset_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::CreateDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateDataset_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::CreateDatasetResponse>* DataCatalog::Stub::AsyncCreateDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::CreateDatasetResponse>::Create(channel_.get(), cq, rpcmethod_CreateDataset_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::CreateDatasetResponse>* DataCatalog::Stub::PrepareAsyncCreateDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::CreateDatasetResponse>::Create(channel_.get(), cq, rpcmethod_CreateDataset_, context, request, false); -} - -::grpc::Status DataCatalog::Stub::GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::datacatalog::GetDatasetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetDataset_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetDataset_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::GetDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetDatasetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetDataset_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetDataset_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::GetDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetDataset_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>* DataCatalog::Stub::AsyncGetDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetDatasetResponse>::Create(channel_.get(), cq, rpcmethod_GetDataset_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>* DataCatalog::Stub::PrepareAsyncGetDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetDatasetResponse>::Create(channel_.get(), cq, rpcmethod_GetDataset_, context, request, false); -} - -::grpc::Status DataCatalog::Stub::CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::datacatalog::CreateArtifactResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateArtifact_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateArtifactResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>* DataCatalog::Stub::AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::CreateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_CreateArtifact_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>* DataCatalog::Stub::PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::CreateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_CreateArtifact_, context, request, false); -} - -::grpc::Status DataCatalog::Stub::GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::datacatalog::GetArtifactResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetArtifact_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetArtifactResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>* DataCatalog::Stub::AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetArtifactResponse>::Create(channel_.get(), cq, rpcmethod_GetArtifact_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>* DataCatalog::Stub::PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetArtifactResponse>::Create(channel_.get(), cq, rpcmethod_GetArtifact_, context, request, false); -} - -::grpc::Status DataCatalog::Stub::AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::datacatalog::AddTagResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_AddTag_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::AddTagResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>* DataCatalog::Stub::AsyncAddTagRaw(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::AddTagResponse>::Create(channel_.get(), cq, rpcmethod_AddTag_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>* DataCatalog::Stub::PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::AddTagResponse>::Create(channel_.get(), cq, rpcmethod_AddTag_, context, request, false); -} - -::grpc::Status DataCatalog::Stub::ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::datacatalog::ListArtifactsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListArtifacts_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListArtifacts_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::ListArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListArtifactsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListArtifacts_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListArtifacts_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::ListArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListArtifacts_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>* DataCatalog::Stub::AsyncListArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ListArtifactsResponse>::Create(channel_.get(), cq, rpcmethod_ListArtifacts_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>* DataCatalog::Stub::PrepareAsyncListArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ListArtifactsResponse>::Create(channel_.get(), cq, rpcmethod_ListArtifacts_, context, request, false); -} - -::grpc::Status DataCatalog::Stub::ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::datacatalog::ListDatasetsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListDatasets_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListDatasets_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::ListDatasets(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListDatasetsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListDatasets_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListDatasets_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::ListDatasets(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListDatasetsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListDatasets_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>* DataCatalog::Stub::AsyncListDatasetsRaw(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ListDatasetsResponse>::Create(channel_.get(), cq, rpcmethod_ListDatasets_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>* DataCatalog::Stub::PrepareAsyncListDatasetsRaw(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ListDatasetsResponse>::Create(channel_.get(), cq, rpcmethod_ListDatasets_, context, request, false); -} - -::grpc::Status DataCatalog::Stub::UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::datacatalog::UpdateArtifactResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateArtifact_, context, request, response); -} - -void DataCatalog::Stub::experimental_async::UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateArtifact_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::UpdateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::UpdateArtifactResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateArtifact_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateArtifact_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::UpdateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::UpdateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateArtifact_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>* DataCatalog::Stub::AsyncUpdateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::UpdateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_UpdateArtifact_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>* DataCatalog::Stub::PrepareAsyncUpdateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::UpdateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_UpdateArtifact_, 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); -} - -void DataCatalog::Stub::experimental_async::GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservation_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::GetOrExtendReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservation_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservation_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::GetOrExtendReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservation_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>* DataCatalog::Stub::AsyncGetOrExtendReservationRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetOrExtendReservationResponse>::Create(channel_.get(), cq, rpcmethod_GetOrExtendReservation_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>* DataCatalog::Stub::PrepareAsyncGetOrExtendReservationRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetOrExtendReservationResponse>::Create(channel_.get(), cq, rpcmethod_GetOrExtendReservation_, 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); -} - -void DataCatalog::Stub::experimental_async::ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservation_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::ReleaseReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservation_, context, request, response, std::move(f)); -} - -void DataCatalog::Stub::experimental_async::ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservation_, context, request, response, reactor); -} - -void DataCatalog::Stub::experimental_async::ReleaseReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservation_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* DataCatalog::Stub::AsyncReleaseReservationRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ReleaseReservationResponse>::Create(channel_.get(), cq, rpcmethod_ReleaseReservation_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* DataCatalog::Stub::PrepareAsyncReleaseReservationRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ReleaseReservationResponse>::Create(channel_.get(), cq, rpcmethod_ReleaseReservation_, context, request, false); -} - -DataCatalog::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::CreateDatasetRequest, ::datacatalog::CreateDatasetResponse>( - std::mem_fn(&DataCatalog::Service::CreateDataset), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::GetDatasetRequest, ::datacatalog::GetDatasetResponse>( - std::mem_fn(&DataCatalog::Service::GetDataset), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::CreateArtifactRequest, ::datacatalog::CreateArtifactResponse>( - std::mem_fn(&DataCatalog::Service::CreateArtifact), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[3], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::GetArtifactRequest, ::datacatalog::GetArtifactResponse>( - std::mem_fn(&DataCatalog::Service::GetArtifact), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[4], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::AddTagRequest, ::datacatalog::AddTagResponse>( - std::mem_fn(&DataCatalog::Service::AddTag), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[5], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::ListArtifactsRequest, ::datacatalog::ListArtifactsResponse>( - std::mem_fn(&DataCatalog::Service::ListArtifacts), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[6], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::ListDatasetsRequest, ::datacatalog::ListDatasetsResponse>( - std::mem_fn(&DataCatalog::Service::ListDatasets), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[7], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::UpdateArtifactRequest, ::datacatalog::UpdateArtifactResponse>( - std::mem_fn(&DataCatalog::Service::UpdateArtifact), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[8], - ::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], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>( - std::mem_fn(&DataCatalog::Service::ReleaseReservation), this))); -} - -DataCatalog::Service::~Service() { -} - -::grpc::Status DataCatalog::Service::CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataCatalog::Service::GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataCatalog::Service::CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataCatalog::Service::GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataCatalog::Service::AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataCatalog::Service::ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataCatalog::Service::ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataCatalog::Service::UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* 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; - (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; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace datacatalog - diff --git a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.h deleted file mode 100644 index 358bfd9ded..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.h +++ /dev/null @@ -1,1775 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/datacatalog/datacatalog.proto -#ifndef GRPC_flyteidl_2fdatacatalog_2fdatacatalog_2eproto__INCLUDED -#define GRPC_flyteidl_2fdatacatalog_2fdatacatalog_2eproto__INCLUDED - -#include "flyteidl/datacatalog/datacatalog.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 datacatalog { - -// -// Data Catalog service definition -// Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions. -// Artifacts are associated with a Dataset, and can be tagged for retrieval. -class DataCatalog final { - public: - static constexpr char const* service_full_name() { - return "datacatalog.DataCatalog"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. - // Each dataset can have one or more artifacts - virtual ::grpc::Status CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::datacatalog::CreateDatasetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateDatasetResponse>> AsyncCreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateDatasetResponse>>(AsyncCreateDatasetRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateDatasetResponse>> PrepareAsyncCreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateDatasetResponse>>(PrepareAsyncCreateDatasetRaw(context, request, cq)); - } - // Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. - virtual ::grpc::Status GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::datacatalog::GetDatasetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetDatasetResponse>> AsyncGetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetDatasetResponse>>(AsyncGetDatasetRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetDatasetResponse>> PrepareAsyncGetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetDatasetResponse>>(PrepareAsyncGetDatasetRaw(context, request, cq)); - } - // Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary - // files or data values - virtual ::grpc::Status CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::datacatalog::CreateArtifactResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateArtifactResponse>> AsyncCreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateArtifactResponse>>(AsyncCreateArtifactRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateArtifactResponse>> PrepareAsyncCreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateArtifactResponse>>(PrepareAsyncCreateArtifactRaw(context, request, cq)); - } - // Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. - virtual ::grpc::Status GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::datacatalog::GetArtifactResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetArtifactResponse>> AsyncGetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetArtifactResponse>>(AsyncGetArtifactRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetArtifactResponse>> PrepareAsyncGetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetArtifactResponse>>(PrepareAsyncGetArtifactRaw(context, request, cq)); - } - // Associate a tag with an artifact. Tags are unique within a Dataset. - virtual ::grpc::Status AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::datacatalog::AddTagResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::AddTagResponse>>(AsyncAddTagRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::AddTagResponse>> PrepareAsyncAddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::AddTagResponse>>(PrepareAsyncAddTagRaw(context, request, cq)); - } - // Return a paginated list of artifacts - virtual ::grpc::Status ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::datacatalog::ListArtifactsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListArtifactsResponse>> AsyncListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListArtifactsResponse>>(AsyncListArtifactsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListArtifactsResponse>> PrepareAsyncListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListArtifactsResponse>>(PrepareAsyncListArtifactsRaw(context, request, cq)); - } - // Return a paginated list of datasets - virtual ::grpc::Status ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::datacatalog::ListDatasetsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListDatasetsResponse>> AsyncListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListDatasetsResponse>>(AsyncListDatasetsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListDatasetsResponse>> PrepareAsyncListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListDatasetsResponse>>(PrepareAsyncListDatasetsRaw(context, request, cq)); - } - // Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage. - virtual ::grpc::Status UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::datacatalog::UpdateArtifactResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::UpdateArtifactResponse>> AsyncUpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::UpdateArtifactResponse>>(AsyncUpdateArtifactRaw(context, request, cq)); - } - 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)); - } - // 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. - virtual ::grpc::Status GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::datacatalog::GetOrExtendReservationResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationResponse>> AsyncGetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationResponse>>(AsyncGetOrExtendReservationRaw(context, request, cq)); - } - 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)); - } - // 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; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>> AsyncReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>>(AsyncReleaseReservationRaw(context, request, cq)); - } - 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)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. - // Each dataset can have one or more artifacts - virtual void CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response, std::function) = 0; - virtual void CreateDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateDatasetResponse* response, std::function) = 0; - virtual void CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. - virtual void GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response, std::function) = 0; - virtual void GetDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetDatasetResponse* response, std::function) = 0; - virtual void GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary - // files or data values - virtual void CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response, std::function) = 0; - virtual void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateArtifactResponse* response, std::function) = 0; - virtual void CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. - virtual void GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response, std::function) = 0; - virtual void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetArtifactResponse* response, std::function) = 0; - virtual void GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Associate a tag with an artifact. Tags are unique within a Dataset. - virtual void AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response, std::function) = 0; - virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::AddTagResponse* response, std::function) = 0; - virtual void AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Return a paginated list of artifacts - virtual void ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response, std::function) = 0; - virtual void ListArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListArtifactsResponse* response, std::function) = 0; - virtual void ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Return a paginated list of datasets - virtual void ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response, std::function) = 0; - virtual void ListDatasets(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListDatasetsResponse* response, std::function) = 0; - virtual void ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListDatasets(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListDatasetsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage. - virtual void UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response, std::function) = 0; - 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; - // 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. - virtual void GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response, std::function) = 0; - 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; - // 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; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateDatasetResponse>* AsyncCreateDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateDatasetResponse>* PrepareAsyncCreateDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetDatasetResponse>* AsyncGetDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetDatasetResponse>* PrepareAsyncGetDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateArtifactResponse>* AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::CreateArtifactResponse>* PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetArtifactResponse>* AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetArtifactResponse>* PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListArtifactsResponse>* AsyncListArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListArtifactsResponse>* PrepareAsyncListArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListDatasetsResponse>* AsyncListDatasetsRaw(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) = 0; - 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::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::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; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::datacatalog::CreateDatasetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateDatasetResponse>> AsyncCreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateDatasetResponse>>(AsyncCreateDatasetRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateDatasetResponse>> PrepareAsyncCreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateDatasetResponse>>(PrepareAsyncCreateDatasetRaw(context, request, cq)); - } - ::grpc::Status GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::datacatalog::GetDatasetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>> AsyncGetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>>(AsyncGetDatasetRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>> PrepareAsyncGetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>>(PrepareAsyncGetDatasetRaw(context, request, cq)); - } - ::grpc::Status CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::datacatalog::CreateArtifactResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>> AsyncCreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>>(AsyncCreateArtifactRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>> PrepareAsyncCreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>>(PrepareAsyncCreateArtifactRaw(context, request, cq)); - } - ::grpc::Status GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::datacatalog::GetArtifactResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>> AsyncGetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>>(AsyncGetArtifactRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>> PrepareAsyncGetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>>(PrepareAsyncGetArtifactRaw(context, request, cq)); - } - ::grpc::Status AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::datacatalog::AddTagResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>>(AsyncAddTagRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>> PrepareAsyncAddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>>(PrepareAsyncAddTagRaw(context, request, cq)); - } - ::grpc::Status ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::datacatalog::ListArtifactsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>> AsyncListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>>(AsyncListArtifactsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>> PrepareAsyncListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>>(PrepareAsyncListArtifactsRaw(context, request, cq)); - } - ::grpc::Status ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::datacatalog::ListDatasetsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>> AsyncListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>>(AsyncListDatasetsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>> PrepareAsyncListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>>(PrepareAsyncListDatasetsRaw(context, request, cq)); - } - ::grpc::Status UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::datacatalog::UpdateArtifactResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>> AsyncUpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>>(AsyncUpdateArtifactRaw(context, request, cq)); - } - 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 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)); - } - 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 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)); - } - 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)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response, std::function) override; - void CreateDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateDatasetResponse* response, std::function) override; - void CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response, std::function) override; - void GetDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetDatasetResponse* response, std::function) override; - void GetDataset(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetDataset(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetDatasetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response, std::function) override; - void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateArtifactResponse* response, std::function) override; - void CreateArtifact(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response, std::function) override; - void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetArtifactResponse* response, std::function) override; - void GetArtifact(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response, std::function) override; - void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::AddTagResponse* response, std::function) override; - void AddTag(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response, std::function) override; - void ListArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListArtifactsResponse* response, std::function) override; - void ListArtifacts(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response, std::function) override; - void ListDatasets(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListDatasetsResponse* response, std::function) override; - void ListDatasets(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListDatasets(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ListDatasetsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response, std::function) override; - 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 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 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; - 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< ::datacatalog::CreateDatasetResponse>* AsyncCreateDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateDatasetResponse>* PrepareAsyncCreateDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>* AsyncGetDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::GetDatasetResponse>* PrepareAsyncGetDatasetRaw(::grpc::ClientContext* context, const ::datacatalog::GetDatasetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>* AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::CreateArtifactResponse>* PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>* AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::GetArtifactResponse>* PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::datacatalog::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>* AsyncListArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::ListArtifactsResponse>* PrepareAsyncListArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::ListArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>* AsyncListDatasetsRaw(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) override; - ::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::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::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; - const ::grpc::internal::RpcMethod rpcmethod_CreateDataset_; - const ::grpc::internal::RpcMethod rpcmethod_GetDataset_; - const ::grpc::internal::RpcMethod rpcmethod_CreateArtifact_; - const ::grpc::internal::RpcMethod rpcmethod_GetArtifact_; - const ::grpc::internal::RpcMethod rpcmethod_AddTag_; - const ::grpc::internal::RpcMethod rpcmethod_ListArtifacts_; - const ::grpc::internal::RpcMethod rpcmethod_ListDatasets_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateArtifact_; - const ::grpc::internal::RpcMethod rpcmethod_GetOrExtendReservation_; - const ::grpc::internal::RpcMethod rpcmethod_ReleaseReservation_; - }; - 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(); - // Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. - // Each dataset can have one or more artifacts - virtual ::grpc::Status CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response); - // Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. - virtual ::grpc::Status GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response); - // Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary - // files or data values - virtual ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response); - // Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. - virtual ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response); - // Associate a tag with an artifact. Tags are unique within a Dataset. - virtual ::grpc::Status AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response); - // Return a paginated list of artifacts - virtual ::grpc::Status ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response); - // Return a paginated list of datasets - 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); - // 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. - virtual ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* 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); - }; - template - class WithAsyncMethod_CreateDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateDataset() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_CreateDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateDataset(::grpc::ServerContext* context, ::datacatalog::CreateDatasetRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::CreateDatasetResponse>* 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_GetDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetDataset() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_GetDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetDataset(::grpc::ServerContext* context, ::datacatalog::GetDatasetRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::GetDatasetResponse>* 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 WithAsyncMethod_CreateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateArtifact() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_CreateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateArtifact(::grpc::ServerContext* context, ::datacatalog::CreateArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::CreateArtifactResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetArtifact() { - ::grpc::Service::MarkMethodAsync(3); - } - ~WithAsyncMethod_GetArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetArtifact(::grpc::ServerContext* context, ::datacatalog::GetArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::GetArtifactResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_AddTag : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_AddTag() { - ::grpc::Service::MarkMethodAsync(4); - } - ~WithAsyncMethod_AddTag() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestAddTag(::grpc::ServerContext* context, ::datacatalog::AddTagRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::AddTagResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListArtifacts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListArtifacts() { - ::grpc::Service::MarkMethodAsync(5); - } - ~WithAsyncMethod_ListArtifacts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListArtifacts(::grpc::ServerContext* context, ::datacatalog::ListArtifactsRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::ListArtifactsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListDatasets : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListDatasets() { - ::grpc::Service::MarkMethodAsync(6); - } - ~WithAsyncMethod_ListDatasets() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListDatasets(::grpc::ServerContext* context, ::datacatalog::ListDatasetsRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::ListDatasetsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UpdateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateArtifact() { - ::grpc::Service::MarkMethodAsync(7); - } - ~WithAsyncMethod_UpdateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateArtifact(::grpc::ServerContext* context, ::datacatalog::UpdateArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::UpdateArtifactResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(7, 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); - } - ~WithAsyncMethod_GetOrExtendReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response) override { - abort(); - 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); - } - }; - template - class WithAsyncMethod_ReleaseReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ReleaseReservation() { - ::grpc::Service::MarkMethodAsync(9); - } - ~WithAsyncMethod_ReleaseReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { - abort(); - 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); - } - }; - typedef WithAsyncMethod_CreateDataset > > > > > > > > > AsyncService; - template - class ExperimentalWithCallbackMethod_CreateDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateDataset() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::CreateDatasetRequest, ::datacatalog::CreateDatasetResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::CreateDatasetRequest* request, - ::datacatalog::CreateDatasetResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateDataset(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateDataset( - ::grpc::experimental::MessageAllocator< ::datacatalog::CreateDatasetRequest, ::datacatalog::CreateDatasetResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::CreateDatasetRequest, ::datacatalog::CreateDatasetResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetDataset() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetDatasetRequest, ::datacatalog::GetDatasetResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::GetDatasetRequest* request, - ::datacatalog::GetDatasetResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetDataset(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetDataset( - ::grpc::experimental::MessageAllocator< ::datacatalog::GetDatasetRequest, ::datacatalog::GetDatasetResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetDatasetRequest, ::datacatalog::GetDatasetResponse>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateArtifact() { - ::grpc::Service::experimental().MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::CreateArtifactRequest, ::datacatalog::CreateArtifactResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::CreateArtifactRequest* request, - ::datacatalog::CreateArtifactResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateArtifact(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateArtifact( - ::grpc::experimental::MessageAllocator< ::datacatalog::CreateArtifactRequest, ::datacatalog::CreateArtifactResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::CreateArtifactRequest, ::datacatalog::CreateArtifactResponse>*>( - ::grpc::Service::experimental().GetHandler(2)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetArtifact() { - ::grpc::Service::experimental().MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetArtifactRequest, ::datacatalog::GetArtifactResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::GetArtifactRequest* request, - ::datacatalog::GetArtifactResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetArtifact(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetArtifact( - ::grpc::experimental::MessageAllocator< ::datacatalog::GetArtifactRequest, ::datacatalog::GetArtifactResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetArtifactRequest, ::datacatalog::GetArtifactResponse>*>( - ::grpc::Service::experimental().GetHandler(3)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_AddTag : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_AddTag() { - ::grpc::Service::experimental().MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::AddTagRequest, ::datacatalog::AddTagResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::AddTagRequest* request, - ::datacatalog::AddTagResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->AddTag(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_AddTag( - ::grpc::experimental::MessageAllocator< ::datacatalog::AddTagRequest, ::datacatalog::AddTagResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::AddTagRequest, ::datacatalog::AddTagResponse>*>( - ::grpc::Service::experimental().GetHandler(4)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_AddTag() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListArtifacts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListArtifacts() { - ::grpc::Service::experimental().MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::ListArtifactsRequest, ::datacatalog::ListArtifactsResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::ListArtifactsRequest* request, - ::datacatalog::ListArtifactsResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListArtifacts(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListArtifacts( - ::grpc::experimental::MessageAllocator< ::datacatalog::ListArtifactsRequest, ::datacatalog::ListArtifactsResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::ListArtifactsRequest, ::datacatalog::ListArtifactsResponse>*>( - ::grpc::Service::experimental().GetHandler(5)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListArtifacts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListDatasets : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListDatasets() { - ::grpc::Service::experimental().MarkMethodCallback(6, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::ListDatasetsRequest, ::datacatalog::ListDatasetsResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::ListDatasetsRequest* request, - ::datacatalog::ListDatasetsResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListDatasets(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListDatasets( - ::grpc::experimental::MessageAllocator< ::datacatalog::ListDatasetsRequest, ::datacatalog::ListDatasetsResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::ListDatasetsRequest, ::datacatalog::ListDatasetsResponse>*>( - ::grpc::Service::experimental().GetHandler(6)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListDatasets() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateArtifact() { - ::grpc::Service::experimental().MarkMethodCallback(7, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::UpdateArtifactRequest, ::datacatalog::UpdateArtifactResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::UpdateArtifactRequest* request, - ::datacatalog::UpdateArtifactResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateArtifact(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateArtifact( - ::grpc::experimental::MessageAllocator< ::datacatalog::UpdateArtifactRequest, ::datacatalog::UpdateArtifactResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::UpdateArtifactRequest, ::datacatalog::UpdateArtifactResponse>*>( - ::grpc::Service::experimental().GetHandler(7)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - 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_GetOrExtendReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetOrExtendReservation() { - ::grpc::Service::experimental().MarkMethodCallback(8, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetOrExtendReservationRequest, ::datacatalog::GetOrExtendReservationResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::GetOrExtendReservationRequest* request, - ::datacatalog::GetOrExtendReservationResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetOrExtendReservation(context, request, response, controller); - })); - } - 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)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetOrExtendReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - 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_ReleaseReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ReleaseReservation() { - ::grpc::Service::experimental().MarkMethodCallback(9, - new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>( - [this](::grpc::ServerContext* context, - const ::datacatalog::ReleaseReservationRequest* request, - ::datacatalog::ReleaseReservationResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ReleaseReservation(context, request, response, controller); - })); - } - 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)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ReleaseReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - 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 WithGenericMethod_CreateDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateDataset() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_CreateDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetDataset() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_GetDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateArtifact() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_CreateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetArtifact() { - ::grpc::Service::MarkMethodGeneric(3); - } - ~WithGenericMethod_GetArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_AddTag : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_AddTag() { - ::grpc::Service::MarkMethodGeneric(4); - } - ~WithGenericMethod_AddTag() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListArtifacts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListArtifacts() { - ::grpc::Service::MarkMethodGeneric(5); - } - ~WithGenericMethod_ListArtifacts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListDatasets : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListDatasets() { - ::grpc::Service::MarkMethodGeneric(6); - } - ~WithGenericMethod_ListDatasets() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateArtifact() { - ::grpc::Service::MarkMethodGeneric(7); - } - ~WithGenericMethod_UpdateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* 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); - } - ~WithGenericMethod_GetOrExtendReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* 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); - } - ~WithGenericMethod_ReleaseReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_CreateDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateDataset() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_CreateDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateDataset(::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_GetDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetDataset() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_GetDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetDataset(::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 WithRawMethod_CreateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateArtifact() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_CreateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateArtifact(::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(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetArtifact() { - ::grpc::Service::MarkMethodRaw(3); - } - ~WithRawMethod_GetArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetArtifact(::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(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_AddTag : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_AddTag() { - ::grpc::Service::MarkMethodRaw(4); - } - ~WithRawMethod_AddTag() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestAddTag(::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(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListArtifacts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListArtifacts() { - ::grpc::Service::MarkMethodRaw(5); - } - ~WithRawMethod_ListArtifacts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListArtifacts(::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(5, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListDatasets : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListDatasets() { - ::grpc::Service::MarkMethodRaw(6); - } - ~WithRawMethod_ListDatasets() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListDatasets(::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(6, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UpdateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateArtifact() { - ::grpc::Service::MarkMethodRaw(7); - } - ~WithRawMethod_UpdateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateArtifact(::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(7, 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); - } - ~WithRawMethod_GetOrExtendReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response) override { - abort(); - 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); - } - }; - template - class WithRawMethod_ReleaseReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ReleaseReservation() { - ::grpc::Service::MarkMethodRaw(9); - } - ~WithRawMethod_ReleaseReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { - abort(); - 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); - } - }; - template - class ExperimentalWithRawCallbackMethod_CreateDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateDataset() { - ::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->CreateDataset(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateDataset(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetDataset() { - ::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->GetDataset(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetDataset(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateArtifact() { - ::grpc::Service::experimental().MarkMethodRawCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->CreateArtifact(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateArtifact(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetArtifact() { - ::grpc::Service::experimental().MarkMethodRawCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetArtifact(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetArtifact(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_AddTag : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_AddTag() { - ::grpc::Service::experimental().MarkMethodRawCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->AddTag(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_AddTag() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void AddTag(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListArtifacts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListArtifacts() { - ::grpc::Service::experimental().MarkMethodRawCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListArtifacts(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListArtifacts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListArtifacts(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListDatasets : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListDatasets() { - ::grpc::Service::experimental().MarkMethodRawCallback(6, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListDatasets(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListDatasets() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListDatasets(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateArtifact() { - ::grpc::Service::experimental().MarkMethodRawCallback(7, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateArtifact(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - 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_GetOrExtendReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetOrExtendReservation() { - ::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->GetOrExtendReservation(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetOrExtendReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - 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_ReleaseReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ReleaseReservation() { - ::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->ReleaseReservation(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ReleaseReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - 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 WithStreamedUnaryMethod_CreateDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateDataset() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::CreateDatasetRequest, ::datacatalog::CreateDatasetResponse>(std::bind(&WithStreamedUnaryMethod_CreateDataset::StreamedCreateDataset, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateDataset(::grpc::ServerContext* context, const ::datacatalog::CreateDatasetRequest* request, ::datacatalog::CreateDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateDataset(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::CreateDatasetRequest,::datacatalog::CreateDatasetResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetDataset : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetDataset() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::GetDatasetRequest, ::datacatalog::GetDatasetResponse>(std::bind(&WithStreamedUnaryMethod_GetDataset::StreamedGetDataset, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetDataset() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetDataset(::grpc::ServerContext* context, const ::datacatalog::GetDatasetRequest* request, ::datacatalog::GetDatasetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetDataset(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::GetDatasetRequest,::datacatalog::GetDatasetResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateArtifact() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::CreateArtifactRequest, ::datacatalog::CreateArtifactResponse>(std::bind(&WithStreamedUnaryMethod_CreateArtifact::StreamedCreateArtifact, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::datacatalog::CreateArtifactRequest* request, ::datacatalog::CreateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateArtifact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::CreateArtifactRequest,::datacatalog::CreateArtifactResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetArtifact() { - ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::GetArtifactRequest, ::datacatalog::GetArtifactResponse>(std::bind(&WithStreamedUnaryMethod_GetArtifact::StreamedGetArtifact, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::datacatalog::GetArtifactRequest* request, ::datacatalog::GetArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetArtifact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::GetArtifactRequest,::datacatalog::GetArtifactResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_AddTag : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_AddTag() { - ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::AddTagRequest, ::datacatalog::AddTagResponse>(std::bind(&WithStreamedUnaryMethod_AddTag::StreamedAddTag, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_AddTag() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status AddTag(::grpc::ServerContext* context, const ::datacatalog::AddTagRequest* request, ::datacatalog::AddTagResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAddTag(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::AddTagRequest,::datacatalog::AddTagResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListArtifacts : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListArtifacts() { - ::grpc::Service::MarkMethodStreamed(5, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::ListArtifactsRequest, ::datacatalog::ListArtifactsResponse>(std::bind(&WithStreamedUnaryMethod_ListArtifacts::StreamedListArtifacts, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListArtifacts() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListArtifacts(::grpc::ServerContext* context, const ::datacatalog::ListArtifactsRequest* request, ::datacatalog::ListArtifactsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListArtifacts(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::ListArtifactsRequest,::datacatalog::ListArtifactsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListDatasets : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListDatasets() { - ::grpc::Service::MarkMethodStreamed(6, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::ListDatasetsRequest, ::datacatalog::ListDatasetsResponse>(std::bind(&WithStreamedUnaryMethod_ListDatasets::StreamedListDatasets, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListDatasets() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListDatasets(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::ListDatasetsRequest,::datacatalog::ListDatasetsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateArtifact : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateArtifact() { - ::grpc::Service::MarkMethodStreamed(7, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::UpdateArtifactRequest, ::datacatalog::UpdateArtifactResponse>(std::bind(&WithStreamedUnaryMethod_UpdateArtifact::StreamedUpdateArtifact, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateArtifact() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateArtifact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::UpdateArtifactRequest,::datacatalog::UpdateArtifactResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetOrExtendReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetOrExtendReservation() { - ::grpc::Service::MarkMethodStreamed(8, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::GetOrExtendReservationRequest, ::datacatalog::GetOrExtendReservationResponse>(std::bind(&WithStreamedUnaryMethod_GetOrExtendReservation::StreamedGetOrExtendReservation, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetOrExtendReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetOrExtendReservation(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::GetOrExtendReservationRequest,::datacatalog::GetOrExtendReservationResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ReleaseReservation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ReleaseReservation() { - ::grpc::Service::MarkMethodStreamed(9, - new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>(std::bind(&WithStreamedUnaryMethod_ReleaseReservation::StreamedReleaseReservation, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ReleaseReservation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // 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; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateDataset > > > > > > > > > StreamedService; -}; - -} // namespace datacatalog - - -#endif // GRPC_flyteidl_2fdatacatalog_2fdatacatalog_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc deleted file mode 100644 index 1ce63673cb..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc +++ /dev/null @@ -1,15675 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/datacatalog/datacatalog.proto - -#include "flyteidl/datacatalog/datacatalog.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_KeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Metadata_KeyMapEntry_DoNotUse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -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_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_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<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; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace datacatalog { -class CreateDatasetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateDatasetRequest_default_instance_; -class CreateDatasetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateDatasetResponse_default_instance_; -class GetDatasetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetDatasetRequest_default_instance_; -class GetDatasetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetDatasetResponse_default_instance_; -class GetArtifactRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr artifact_id_; - ::google::protobuf::internal::ArenaStringPtr tag_name_; -} _GetArtifactRequest_default_instance_; -class GetArtifactResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetArtifactResponse_default_instance_; -class CreateArtifactRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateArtifactRequest_default_instance_; -class CreateArtifactResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateArtifactResponse_default_instance_; -class AddTagRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _AddTagRequest_default_instance_; -class AddTagResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _AddTagResponse_default_instance_; -class ListArtifactsRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListArtifactsRequest_default_instance_; -class ListArtifactsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListArtifactsResponse_default_instance_; -class ListDatasetsRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListDatasetsRequest_default_instance_; -class ListDatasetsResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ListDatasetsResponse_default_instance_; -class UpdateArtifactRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr artifact_id_; - ::google::protobuf::internal::ArenaStringPtr tag_name_; -} _UpdateArtifactRequest_default_instance_; -class UpdateArtifactResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _UpdateArtifactResponse_default_instance_; -class ReservationIDDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ReservationID_default_instance_; -class GetOrExtendReservationRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetOrExtendReservationRequest_default_instance_; -class ReservationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Reservation_default_instance_; -class GetOrExtendReservationResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetOrExtendReservationResponse_default_instance_; -class ReleaseReservationRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ReleaseReservationRequest_default_instance_; -class ReleaseReservationResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ReleaseReservationResponse_default_instance_; -class DatasetDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Dataset_default_instance_; -class PartitionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Partition_default_instance_; -class DatasetIDDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DatasetID_default_instance_; -class ArtifactDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Artifact_default_instance_; -class ArtifactDataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ArtifactData_default_instance_; -class TagDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Tag_default_instance_; -class Metadata_KeyMapEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Metadata_KeyMapEntry_DoNotUse_default_instance_; -class MetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Metadata_default_instance_; -class FilterExpressionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _FilterExpression_default_instance_; -class SinglePropertyFilterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::datacatalog::TagPropertyFilter* tag_filter_; - const ::datacatalog::PartitionPropertyFilter* partition_filter_; - const ::datacatalog::ArtifactPropertyFilter* artifact_filter_; - const ::datacatalog::DatasetPropertyFilter* dataset_filter_; -} _SinglePropertyFilter_default_instance_; -class ArtifactPropertyFilterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr artifact_id_; -} _ArtifactPropertyFilter_default_instance_; -class TagPropertyFilterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr tag_name_; -} _TagPropertyFilter_default_instance_; -class PartitionPropertyFilterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::datacatalog::KeyValuePair* key_val_; -} _PartitionPropertyFilter_default_instance_; -class KeyValuePairDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _KeyValuePair_default_instance_; -class DatasetPropertyFilterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::google::protobuf::internal::ArenaStringPtr org_; -} _DatasetPropertyFilter_default_instance_; -class PaginationOptionsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PaginationOptions_default_instance_; -} // namespace datacatalog -static void InitDefaultsCreateDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_CreateDatasetRequest_default_instance_; - new (ptr) ::datacatalog::CreateDatasetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::CreateDatasetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CreateDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsCreateDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_CreateDatasetResponse_default_instance_; - new (ptr) ::datacatalog::CreateDatasetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::CreateDatasetResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_CreateDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsGetDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_GetDatasetRequest_default_instance_; - new (ptr) ::datacatalog::GetDatasetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::GetDatasetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsGetDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_GetDatasetResponse_default_instance_; - new (ptr) ::datacatalog::GetDatasetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::GetDatasetResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsGetArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_GetArtifactRequest_default_instance_; - new (ptr) ::datacatalog::GetArtifactRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::GetArtifactRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsGetArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_GetArtifactResponse_default_instance_; - new (ptr) ::datacatalog::GetArtifactResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::GetArtifactResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsCreateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_CreateArtifactRequest_default_instance_; - new (ptr) ::datacatalog::CreateArtifactRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::CreateArtifactRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CreateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsCreateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_CreateArtifactResponse_default_instance_; - new (ptr) ::datacatalog::CreateArtifactResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::CreateArtifactResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_CreateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsAddTagRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_AddTagRequest_default_instance_; - new (ptr) ::datacatalog::AddTagRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::AddTagRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_AddTagRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAddTagRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Tag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsAddTagResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_AddTagResponse_default_instance_; - new (ptr) ::datacatalog::AddTagResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::AddTagResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_AddTagResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAddTagResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsListArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ListArtifactsRequest_default_instance_; - new (ptr) ::datacatalog::ListArtifactsRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ListArtifactsRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_ListArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsListArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_FilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsListArtifactsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ListArtifactsResponse_default_instance_; - new (ptr) ::datacatalog::ListArtifactsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ListArtifactsResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ListArtifactsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListArtifactsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsListDatasetsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ListDatasetsRequest_default_instance_; - new (ptr) ::datacatalog::ListDatasetsRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ListDatasetsRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_ListDatasetsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsListDatasetsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_FilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsListDatasetsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ListDatasetsResponse_default_instance_; - new (ptr) ::datacatalog::ListDatasetsResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ListDatasetsResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ListDatasetsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsListDatasetsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsUpdateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_UpdateArtifactRequest_default_instance_; - new (ptr) ::datacatalog::UpdateArtifactRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::UpdateArtifactRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_UpdateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsUpdateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_ArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsUpdateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_UpdateArtifactResponse_default_instance_; - new (ptr) ::datacatalog::UpdateArtifactResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::UpdateArtifactResponse::InitAsDefaultInstance(); -} - -::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 InitDefaultsReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ReservationID_default_instance_; - new (ptr) ::datacatalog::ReservationID(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ReservationID::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsGetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_GetOrExtendReservationRequest_default_instance_; - new (ptr) ::datacatalog::GetOrExtendReservationRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::GetOrExtendReservationRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_GetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsReservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_Reservation_default_instance_; - new (ptr) ::datacatalog::Reservation(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::Reservation::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsReservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsGetOrExtendReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_GetOrExtendReservationResponse_default_instance_; - new (ptr) ::datacatalog::GetOrExtendReservationResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::GetOrExtendReservationResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_GetOrExtendReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetOrExtendReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ReleaseReservationRequest_default_instance_; - new (ptr) ::datacatalog::ReleaseReservationRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ReleaseReservationRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsReleaseReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ReleaseReservationResponse_default_instance_; - new (ptr) ::datacatalog::ReleaseReservationResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ReleaseReservationResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ReleaseReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsReleaseReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsDataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_Dataset_default_instance_; - new (ptr) ::datacatalog::Dataset(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::Dataset::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsPartition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_Partition_default_instance_; - new (ptr) ::datacatalog::Partition(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::Partition::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Partition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPartition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsDatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_DatasetID_default_instance_; - new (ptr) ::datacatalog::DatasetID(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::DatasetID::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsArtifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_Artifact_default_instance_; - new (ptr) ::datacatalog::Artifact(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::Artifact::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<6> scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsArtifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_ArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Partition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Tag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ArtifactData_default_instance_; - new (ptr) ::datacatalog::ArtifactData(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ArtifactData::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsTag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_Tag_default_instance_; - new (ptr) ::datacatalog::Tag(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::Tag::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Tag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsMetadata_KeyMapEntry_DoNotUse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_Metadata_KeyMapEntry_DoNotUse_default_instance_; - new (ptr) ::datacatalog::Metadata_KeyMapEntry_DoNotUse(); - } - ::datacatalog::Metadata_KeyMapEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_Metadata_KeyMapEntry_DoNotUse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsMetadata_KeyMapEntry_DoNotUse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsMetadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_Metadata_default_instance_; - new (ptr) ::datacatalog::Metadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::Metadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsMetadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_Metadata_KeyMapEntry_DoNotUse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsFilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_FilterExpression_default_instance_; - new (ptr) ::datacatalog::FilterExpression(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::FilterExpression::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_FilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsFilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_SinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsSinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_SinglePropertyFilter_default_instance_; - new (ptr) ::datacatalog::SinglePropertyFilter(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::SinglePropertyFilter::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_SinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsSinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_TagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_PartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_ArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, - &scc_info_DatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_ArtifactPropertyFilter_default_instance_; - new (ptr) ::datacatalog::ArtifactPropertyFilter(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::ArtifactPropertyFilter::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsTagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_TagPropertyFilter_default_instance_; - new (ptr) ::datacatalog::TagPropertyFilter(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::TagPropertyFilter::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsPartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_PartitionPropertyFilter_default_instance_; - new (ptr) ::datacatalog::PartitionPropertyFilter(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::PartitionPropertyFilter::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_PartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { - &scc_info_KeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; - -static void InitDefaultsKeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_KeyValuePair_default_instance_; - new (ptr) ::datacatalog::KeyValuePair(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::KeyValuePair::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_KeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsKeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsDatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_DatasetPropertyFilter_default_instance_; - new (ptr) ::datacatalog::DatasetPropertyFilter(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::DatasetPropertyFilter::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_DatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -static void InitDefaultsPaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::datacatalog::_PaginationOptions_default_instance_; - new (ptr) ::datacatalog::PaginationOptions(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::datacatalog::PaginationOptions::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; - -void InitDefaults_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_CreateDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_AddTagRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_AddTagResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ListArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ListArtifactsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ListDatasetsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::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_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetOrExtendReservationRequest_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_ReleaseReservationRequest_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); - ::google::protobuf::internal::InitSCC(&scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Tag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Metadata_KeyMapEntry_DoNotUse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_FilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_KeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[38]; -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; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::CreateDatasetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::CreateDatasetRequest, dataset_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::CreateDatasetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetDatasetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetDatasetRequest, dataset_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetDatasetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetDatasetResponse, dataset_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetArtifactRequest, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetArtifactRequest, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetArtifactRequest, dataset_), - offsetof(::datacatalog::GetArtifactRequestDefaultTypeInternal, artifact_id_), - offsetof(::datacatalog::GetArtifactRequestDefaultTypeInternal, tag_name_), - PROTOBUF_FIELD_OFFSET(::datacatalog::GetArtifactRequest, query_handle_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetArtifactResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetArtifactResponse, artifact_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::CreateArtifactRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::CreateArtifactRequest, artifact_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::CreateArtifactResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::AddTagRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::AddTagRequest, tag_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::AddTagResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListArtifactsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListArtifactsRequest, dataset_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ListArtifactsRequest, filter_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ListArtifactsRequest, pagination_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListArtifactsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListArtifactsResponse, artifacts_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ListArtifactsResponse, next_token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListDatasetsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListDatasetsRequest, filter_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ListDatasetsRequest, pagination_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListDatasetsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ListDatasetsResponse, datasets_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ListDatasetsResponse, next_token_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactRequest, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactRequest, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactRequest, dataset_), - offsetof(::datacatalog::UpdateArtifactRequestDefaultTypeInternal, artifact_id_), - offsetof(::datacatalog::UpdateArtifactRequestDefaultTypeInternal, tag_name_), - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactRequest, data_), - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactRequest, metadata_), - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactRequest, query_handle_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactResponse, artifact_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ReservationID, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ReservationID, dataset_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ReservationID, tag_name_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationRequest, reservation_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationRequest, owner_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationRequest, heartbeat_interval_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Reservation, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Reservation, reservation_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Reservation, owner_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Reservation, heartbeat_interval_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Reservation, expires_at_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Reservation, metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationResponse, reservation_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationRequest, reservation_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationRequest, owner_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Dataset, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Dataset, id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Dataset, metadata_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Dataset, partitionkeys_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Partition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Partition, key_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Partition, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetID, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetID, project_), - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetID, name_), - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetID, domain_), - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetID, version_), - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetID, uuid_), - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetID, org_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, dataset_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, data_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, metadata_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, partitions_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, tags_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Artifact, created_at_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ArtifactData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ArtifactData, name_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ArtifactData, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Tag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Tag, name_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Tag, artifact_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Tag, dataset_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Metadata_KeyMapEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Metadata_KeyMapEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Metadata_KeyMapEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::datacatalog::Metadata_KeyMapEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Metadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::Metadata, key_map_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::FilterExpression, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::FilterExpression, filters_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::SinglePropertyFilter, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::datacatalog::SinglePropertyFilter, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::datacatalog::SinglePropertyFilterDefaultTypeInternal, tag_filter_), - offsetof(::datacatalog::SinglePropertyFilterDefaultTypeInternal, partition_filter_), - offsetof(::datacatalog::SinglePropertyFilterDefaultTypeInternal, artifact_filter_), - offsetof(::datacatalog::SinglePropertyFilterDefaultTypeInternal, dataset_filter_), - PROTOBUF_FIELD_OFFSET(::datacatalog::SinglePropertyFilter, operator__), - PROTOBUF_FIELD_OFFSET(::datacatalog::SinglePropertyFilter, property_filter_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ArtifactPropertyFilter, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::datacatalog::ArtifactPropertyFilter, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::datacatalog::ArtifactPropertyFilterDefaultTypeInternal, artifact_id_), - PROTOBUF_FIELD_OFFSET(::datacatalog::ArtifactPropertyFilter, property_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::TagPropertyFilter, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::datacatalog::TagPropertyFilter, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::datacatalog::TagPropertyFilterDefaultTypeInternal, tag_name_), - PROTOBUF_FIELD_OFFSET(::datacatalog::TagPropertyFilter, property_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::PartitionPropertyFilter, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::datacatalog::PartitionPropertyFilter, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::datacatalog::PartitionPropertyFilterDefaultTypeInternal, key_val_), - PROTOBUF_FIELD_OFFSET(::datacatalog::PartitionPropertyFilter, property_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::KeyValuePair, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::KeyValuePair, key_), - PROTOBUF_FIELD_OFFSET(::datacatalog::KeyValuePair, value_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetPropertyFilter, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetPropertyFilter, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::datacatalog::DatasetPropertyFilterDefaultTypeInternal, project_), - offsetof(::datacatalog::DatasetPropertyFilterDefaultTypeInternal, name_), - offsetof(::datacatalog::DatasetPropertyFilterDefaultTypeInternal, domain_), - offsetof(::datacatalog::DatasetPropertyFilterDefaultTypeInternal, version_), - offsetof(::datacatalog::DatasetPropertyFilterDefaultTypeInternal, org_), - PROTOBUF_FIELD_OFFSET(::datacatalog::DatasetPropertyFilter, property_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::datacatalog::PaginationOptions, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::datacatalog::PaginationOptions, limit_), - PROTOBUF_FIELD_OFFSET(::datacatalog::PaginationOptions, token_), - PROTOBUF_FIELD_OFFSET(::datacatalog::PaginationOptions, sortkey_), - PROTOBUF_FIELD_OFFSET(::datacatalog::PaginationOptions, sortorder_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::datacatalog::CreateDatasetRequest)}, - { 6, -1, sizeof(::datacatalog::CreateDatasetResponse)}, - { 11, -1, sizeof(::datacatalog::GetDatasetRequest)}, - { 17, -1, sizeof(::datacatalog::GetDatasetResponse)}, - { 23, -1, sizeof(::datacatalog::GetArtifactRequest)}, - { 32, -1, sizeof(::datacatalog::GetArtifactResponse)}, - { 38, -1, sizeof(::datacatalog::CreateArtifactRequest)}, - { 44, -1, sizeof(::datacatalog::CreateArtifactResponse)}, - { 49, -1, sizeof(::datacatalog::AddTagRequest)}, - { 55, -1, sizeof(::datacatalog::AddTagResponse)}, - { 60, -1, sizeof(::datacatalog::ListArtifactsRequest)}, - { 68, -1, sizeof(::datacatalog::ListArtifactsResponse)}, - { 75, -1, sizeof(::datacatalog::ListDatasetsRequest)}, - { 82, -1, sizeof(::datacatalog::ListDatasetsResponse)}, - { 89, -1, sizeof(::datacatalog::UpdateArtifactRequest)}, - { 100, -1, sizeof(::datacatalog::UpdateArtifactResponse)}, - { 106, -1, sizeof(::datacatalog::ReservationID)}, - { 113, -1, sizeof(::datacatalog::GetOrExtendReservationRequest)}, - { 121, -1, sizeof(::datacatalog::Reservation)}, - { 131, -1, sizeof(::datacatalog::GetOrExtendReservationResponse)}, - { 137, -1, sizeof(::datacatalog::ReleaseReservationRequest)}, - { 144, -1, sizeof(::datacatalog::ReleaseReservationResponse)}, - { 149, -1, sizeof(::datacatalog::Dataset)}, - { 157, -1, sizeof(::datacatalog::Partition)}, - { 164, -1, sizeof(::datacatalog::DatasetID)}, - { 175, -1, sizeof(::datacatalog::Artifact)}, - { 187, -1, sizeof(::datacatalog::ArtifactData)}, - { 194, -1, sizeof(::datacatalog::Tag)}, - { 202, 209, sizeof(::datacatalog::Metadata_KeyMapEntry_DoNotUse)}, - { 211, -1, sizeof(::datacatalog::Metadata)}, - { 217, -1, sizeof(::datacatalog::FilterExpression)}, - { 223, -1, sizeof(::datacatalog::SinglePropertyFilter)}, - { 234, -1, sizeof(::datacatalog::ArtifactPropertyFilter)}, - { 241, -1, sizeof(::datacatalog::TagPropertyFilter)}, - { 248, -1, sizeof(::datacatalog::PartitionPropertyFilter)}, - { 255, -1, sizeof(::datacatalog::KeyValuePair)}, - { 262, -1, sizeof(::datacatalog::DatasetPropertyFilter)}, - { 273, -1, sizeof(::datacatalog::PaginationOptions)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::datacatalog::_CreateDatasetRequest_default_instance_), - reinterpret_cast(&::datacatalog::_CreateDatasetResponse_default_instance_), - reinterpret_cast(&::datacatalog::_GetDatasetRequest_default_instance_), - reinterpret_cast(&::datacatalog::_GetDatasetResponse_default_instance_), - reinterpret_cast(&::datacatalog::_GetArtifactRequest_default_instance_), - reinterpret_cast(&::datacatalog::_GetArtifactResponse_default_instance_), - reinterpret_cast(&::datacatalog::_CreateArtifactRequest_default_instance_), - reinterpret_cast(&::datacatalog::_CreateArtifactResponse_default_instance_), - reinterpret_cast(&::datacatalog::_AddTagRequest_default_instance_), - reinterpret_cast(&::datacatalog::_AddTagResponse_default_instance_), - reinterpret_cast(&::datacatalog::_ListArtifactsRequest_default_instance_), - reinterpret_cast(&::datacatalog::_ListArtifactsResponse_default_instance_), - reinterpret_cast(&::datacatalog::_ListDatasetsRequest_default_instance_), - reinterpret_cast(&::datacatalog::_ListDatasetsResponse_default_instance_), - reinterpret_cast(&::datacatalog::_UpdateArtifactRequest_default_instance_), - reinterpret_cast(&::datacatalog::_UpdateArtifactResponse_default_instance_), - reinterpret_cast(&::datacatalog::_ReservationID_default_instance_), - reinterpret_cast(&::datacatalog::_GetOrExtendReservationRequest_default_instance_), - reinterpret_cast(&::datacatalog::_Reservation_default_instance_), - reinterpret_cast(&::datacatalog::_GetOrExtendReservationResponse_default_instance_), - reinterpret_cast(&::datacatalog::_ReleaseReservationRequest_default_instance_), - reinterpret_cast(&::datacatalog::_ReleaseReservationResponse_default_instance_), - reinterpret_cast(&::datacatalog::_Dataset_default_instance_), - reinterpret_cast(&::datacatalog::_Partition_default_instance_), - reinterpret_cast(&::datacatalog::_DatasetID_default_instance_), - reinterpret_cast(&::datacatalog::_Artifact_default_instance_), - reinterpret_cast(&::datacatalog::_ArtifactData_default_instance_), - reinterpret_cast(&::datacatalog::_Tag_default_instance_), - reinterpret_cast(&::datacatalog::_Metadata_KeyMapEntry_DoNotUse_default_instance_), - reinterpret_cast(&::datacatalog::_Metadata_default_instance_), - reinterpret_cast(&::datacatalog::_FilterExpression_default_instance_), - reinterpret_cast(&::datacatalog::_SinglePropertyFilter_default_instance_), - reinterpret_cast(&::datacatalog::_ArtifactPropertyFilter_default_instance_), - reinterpret_cast(&::datacatalog::_TagPropertyFilter_default_instance_), - reinterpret_cast(&::datacatalog::_PartitionPropertyFilter_default_instance_), - reinterpret_cast(&::datacatalog::_KeyValuePair_default_instance_), - reinterpret_cast(&::datacatalog::_DatasetPropertyFilter_default_instance_), - reinterpret_cast(&::datacatalog::_PaginationOptions_default_instance_), -}; - -::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, -}; - -const char descriptor_table_protodef_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[] = - "\n&flyteidl/datacatalog/datacatalog.proto" - "\022\013datacatalog\032\034flyteidl/core/literals.pr" - "oto\032\036google/protobuf/duration.proto\032\037goo" - "gle/protobuf/timestamp.proto\"=\n\024CreateDa" - "tasetRequest\022%\n\007dataset\030\001 \001(\0132\024.datacata" - "log.Dataset\"\027\n\025CreateDatasetResponse\"<\n\021" - "GetDatasetRequest\022\'\n\007dataset\030\001 \001(\0132\026.dat" - "acatalog.DatasetID\";\n\022GetDatasetResponse" - "\022%\n\007dataset\030\001 \001(\0132\024.datacatalog.Dataset\"" - "x\n\022GetArtifactRequest\022\'\n\007dataset\030\001 \001(\0132\026" - ".datacatalog.DatasetID\022\025\n\013artifact_id\030\002 " - "\001(\tH\000\022\022\n\010tag_name\030\003 \001(\tH\000B\016\n\014query_handl" - "e\">\n\023GetArtifactResponse\022\'\n\010artifact\030\001 \001" - "(\0132\025.datacatalog.Artifact\"@\n\025CreateArtif" - "actRequest\022\'\n\010artifact\030\001 \001(\0132\025.datacatal" - "og.Artifact\"\030\n\026CreateArtifactResponse\".\n" - "\rAddTagRequest\022\035\n\003tag\030\001 \001(\0132\020.datacatalo" - "g.Tag\"\020\n\016AddTagResponse\"\242\001\n\024ListArtifact" - "sRequest\022\'\n\007dataset\030\001 \001(\0132\026.datacatalog." - "DatasetID\022-\n\006filter\030\002 \001(\0132\035.datacatalog." - "FilterExpression\0222\n\npagination\030\003 \001(\0132\036.d" - "atacatalog.PaginationOptions\"U\n\025ListArti" - "factsResponse\022(\n\tartifacts\030\001 \003(\0132\025.datac" - "atalog.Artifact\022\022\n\nnext_token\030\002 \001(\t\"x\n\023L" - "istDatasetsRequest\022-\n\006filter\030\001 \001(\0132\035.dat" - "acatalog.FilterExpression\0222\n\npagination\030" - "\002 \001(\0132\036.datacatalog.PaginationOptions\"R\n" - "\024ListDatasetsResponse\022&\n\010datasets\030\001 \003(\0132" - "\024.datacatalog.Dataset\022\022\n\nnext_token\030\002 \001(" - "\t\"\315\001\n\025UpdateArtifactRequest\022\'\n\007dataset\030\001" - " \001(\0132\026.datacatalog.DatasetID\022\025\n\013artifact" - "_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.ArtifactData\022\'\n\010meta" - "data\030\005 \001(\0132\025.datacatalog.MetadataB\016\n\014que" - "ry_handle\"-\n\026UpdateArtifactResponse\022\023\n\013a" - "rtifact_id\030\001 \001(\t\"M\n\rReservationID\022*\n\ndat" - "aset_id\030\001 \001(\0132\026.datacatalog.DatasetID\022\020\n" - "\010tag_name\030\002 \001(\t\"\234\001\n\035GetOrExtendReservati" - "onRequest\0222\n\016reservation_id\030\001 \001(\0132\032.data" - "catalog.ReservationID\022\020\n\010owner_id\030\002 \001(\t\022" - "5\n\022heartbeat_interval\030\003 \001(\0132\031.google.pro" - "tobuf.Duration\"\343\001\n\013Reservation\0222\n\016reserv" - "ation_id\030\001 \001(\0132\032.datacatalog.Reservation" - "ID\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heartbeat_interv" - "al\030\003 \001(\0132\031.google.protobuf.Duration\022.\n\ne" - "xpires_at\030\004 \001(\0132\032.google.protobuf.Timest" - "amp\022\'\n\010metadata\030\006 \001(\0132\025.datacatalog.Meta" - "data\"O\n\036GetOrExtendReservationResponse\022-" - "\n\013reservation\030\001 \001(\0132\030.datacatalog.Reserv" - "ation\"a\n\031ReleaseReservationRequest\0222\n\016re" - "servation_id\030\001 \001(\0132\032.datacatalog.Reserva" - "tionID\022\020\n\010owner_id\030\002 \001(\t\"\034\n\032ReleaseReser" - "vationResponse\"m\n\007Dataset\022\"\n\002id\030\001 \001(\0132\026." - "datacatalog.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\"f\n\tDatasetID\022\017\n\007project\030\001 \001(\t\022\014\n\004" - "name\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\022\013\n\003org\030\006 \001(\t\"\215\002\n\010Artif" - "act\022\n\n\002id\030\001 \001(\t\022\'\n\007dataset\030\002 \001(\0132\026.datac" - "atalog.DatasetID\022\'\n\004data\030\003 \003(\0132\031.datacat" - "alog.ArtifactData\022\'\n\010metadata\030\004 \001(\0132\025.da" - "tacatalog.Metadata\022*\n\npartitions\030\005 \003(\0132\026" - ".datacatalog.Partition\022\036\n\004tags\030\006 \003(\0132\020.d" - "atacatalog.Tag\022.\n\ncreated_at\030\007 \001(\0132\032.goo" - "gle.protobuf.Timestamp\"C\n\014ArtifactData\022\014" - "\n\004name\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.flyteidl.c" - "ore.Literal\"Q\n\003Tag\022\014\n\004name\030\001 \001(\t\022\023\n\013arti" - "fact_id\030\002 \001(\t\022\'\n\007dataset\030\003 \001(\0132\026.datacat" - "alog.DatasetID\"m\n\010Metadata\0222\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.SinglePropertyFilter\"\211\003" - "\n\024SinglePropertyFilter\0224\n\ntag_filter\030\001 \001" - "(\0132\036.datacatalog.TagPropertyFilterH\000\022@\n\020" - "partition_filter\030\002 \001(\0132$.datacatalog.Par" - "titionPropertyFilterH\000\022>\n\017artifact_filte" - "r\030\003 \001(\0132#.datacatalog.ArtifactPropertyFi" - "lterH\000\022<\n\016dataset_filter\030\004 \001(\0132\".datacat" - "alog.DatasetPropertyFilterH\000\022F\n\010operator" - "\030\n \001(\01624.datacatalog.SinglePropertyFilte" - "r.ComparisonOperator\" \n\022ComparisonOperat" - "or\022\n\n\006EQUALS\020\000B\021\n\017property_filter\";\n\026Art" - "ifactPropertyFilter\022\025\n\013artifact_id\030\001 \001(\t" - "H\000B\n\n\010property\"3\n\021TagPropertyFilter\022\022\n\010t" - "ag_name\030\001 \001(\tH\000B\n\n\010property\"S\n\027Partition" - "PropertyFilter\022,\n\007key_val\030\001 \001(\0132\031.dataca" - "talog.KeyValuePairH\000B\n\n\010property\"*\n\014KeyV" - "aluePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"z\n\025" - "DatasetPropertyFilter\022\021\n\007project\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\007ve" - "rsion\030\004 \001(\tH\000\022\r\n\003org\030\005 \001(\tH\000B\n\n\010property" - "\"\361\001\n\021PaginationOptions\022\r\n\005limit\030\001 \001(\r\022\r\n" - "\005token\030\002 \001(\t\0227\n\007sortKey\030\003 \001(\0162&.datacata" - "log.PaginationOptions.SortKey\022;\n\tsortOrd" - "er\030\004 \001(\0162(.datacatalog.PaginationOptions" - ".SortOrder\"*\n\tSortOrder\022\016\n\nDESCENDING\020\000\022" - "\r\n\tASCENDING\020\001\"\034\n\007SortKey\022\021\n\rCREATION_TI" - "ME\020\0002\206\007\n\013DataCatalog\022V\n\rCreateDataset\022!." - "datacatalog.CreateDatasetRequest\032\".datac" - "atalog.CreateDatasetResponse\022M\n\nGetDatas" - "et\022\036.datacatalog.GetDatasetRequest\032\037.dat" - "acatalog.GetDatasetResponse\022Y\n\016CreateArt" - "ifact\022\".datacatalog.CreateArtifactReques" - "t\032#.datacatalog.CreateArtifactResponse\022P" - "\n\013GetArtifact\022\037.datacatalog.GetArtifactR" - "equest\032 .datacatalog.GetArtifactResponse" - "\022A\n\006AddTag\022\032.datacatalog.AddTagRequest\032\033" - ".datacatalog.AddTagResponse\022V\n\rListArtif" - "acts\022!.datacatalog.ListArtifactsRequest\032" - "\".datacatalog.ListArtifactsResponse\022S\n\014L" - "istDatasets\022 .datacatalog.ListDatasetsRe" - "quest\032!.datacatalog.ListDatasetsResponse" - "\022Y\n\016UpdateArtifact\022\".datacatalog.UpdateA" - "rtifactRequest\032#.datacatalog.UpdateArtif" - "actResponse\022q\n\026GetOrExtendReservation\022*." - "datacatalog.GetOrExtendReservationReques" - "t\032+.datacatalog.GetOrExtendReservationRe" - "sponse\022e\n\022ReleaseReservation\022&.datacatal" - "og.ReleaseReservationRequest\032\'.datacatal" - "og.ReleaseReservationResponseBCZAgithub." - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" - "yteidl/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, 4946, -}; - -void AddDescriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[3] = - { - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, deps, 3); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = []() { AddDescriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto(); return true; }(); -namespace datacatalog { -const ::google::protobuf::EnumDescriptor* SinglePropertyFilter_ComparisonOperator_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return file_level_enum_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[0]; -} -bool SinglePropertyFilter_ComparisonOperator_IsValid(int value) { - switch (value) { - case 0: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const SinglePropertyFilter_ComparisonOperator SinglePropertyFilter::EQUALS; -const SinglePropertyFilter_ComparisonOperator SinglePropertyFilter::ComparisonOperator_MIN; -const SinglePropertyFilter_ComparisonOperator SinglePropertyFilter::ComparisonOperator_MAX; -const int SinglePropertyFilter::ComparisonOperator_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* PaginationOptions_SortOrder_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return file_level_enum_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[1]; -} -bool PaginationOptions_SortOrder_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const PaginationOptions_SortOrder PaginationOptions::DESCENDING; -const PaginationOptions_SortOrder PaginationOptions::ASCENDING; -const PaginationOptions_SortOrder PaginationOptions::SortOrder_MIN; -const PaginationOptions_SortOrder PaginationOptions::SortOrder_MAX; -const int PaginationOptions::SortOrder_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::google::protobuf::EnumDescriptor* PaginationOptions_SortKey_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return file_level_enum_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[2]; -} -bool PaginationOptions_SortKey_IsValid(int value) { - switch (value) { - case 0: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const PaginationOptions_SortKey PaginationOptions::CREATION_TIME; -const PaginationOptions_SortKey PaginationOptions::SortKey_MIN; -const PaginationOptions_SortKey PaginationOptions::SortKey_MAX; -const int PaginationOptions::SortKey_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void CreateDatasetRequest::InitAsDefaultInstance() { - ::datacatalog::_CreateDatasetRequest_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::Dataset*>( - ::datacatalog::Dataset::internal_default_instance()); -} -class CreateDatasetRequest::HasBitSetters { - public: - static const ::datacatalog::Dataset& dataset(const CreateDatasetRequest* msg); -}; - -const ::datacatalog::Dataset& -CreateDatasetRequest::HasBitSetters::dataset(const CreateDatasetRequest* msg) { - return *msg->dataset_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateDatasetRequest::kDatasetFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateDatasetRequest::CreateDatasetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.CreateDatasetRequest) -} -CreateDatasetRequest::CreateDatasetRequest(const CreateDatasetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_dataset()) { - dataset_ = new ::datacatalog::Dataset(*from.dataset_); - } else { - dataset_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.CreateDatasetRequest) -} - -void CreateDatasetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - dataset_ = nullptr; -} - -CreateDatasetRequest::~CreateDatasetRequest() { - // @@protoc_insertion_point(destructor:datacatalog.CreateDatasetRequest) - SharedDtor(); -} - -void CreateDatasetRequest::SharedDtor() { - if (this != internal_default_instance()) delete dataset_; -} - -void CreateDatasetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateDatasetRequest& CreateDatasetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void CreateDatasetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.CreateDatasetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateDatasetRequest::_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.Dataset 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::Dataset::_InternalParse; - 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; - } - 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 CreateDatasetRequest::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.CreateDatasetRequest) - 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.Dataset dataset = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } 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.CreateDatasetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.CreateDatasetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateDatasetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.CreateDatasetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Dataset dataset = 1; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.CreateDatasetRequest) -} - -::google::protobuf::uint8* CreateDatasetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.CreateDatasetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Dataset dataset = 1; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::dataset(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.CreateDatasetRequest) - return target; -} - -size_t CreateDatasetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.CreateDatasetRequest) - 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.Dataset dataset = 1; - if (this->has_dataset()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dataset_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateDatasetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.CreateDatasetRequest) - GOOGLE_DCHECK_NE(&from, this); - const CreateDatasetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.CreateDatasetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.CreateDatasetRequest) - MergeFrom(*source); - } -} - -void CreateDatasetRequest::MergeFrom(const CreateDatasetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.CreateDatasetRequest) - 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::Dataset::MergeFrom(from.dataset()); - } -} - -void CreateDatasetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.CreateDatasetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateDatasetRequest::CopyFrom(const CreateDatasetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.CreateDatasetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateDatasetRequest::IsInitialized() const { - return true; -} - -void CreateDatasetRequest::Swap(CreateDatasetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateDatasetRequest::InternalSwap(CreateDatasetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(dataset_, other->dataset_); -} - -::google::protobuf::Metadata CreateDatasetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateDatasetResponse::InitAsDefaultInstance() { -} -class CreateDatasetResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateDatasetResponse::CreateDatasetResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.CreateDatasetResponse) -} -CreateDatasetResponse::CreateDatasetResponse(const CreateDatasetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:datacatalog.CreateDatasetResponse) -} - -void CreateDatasetResponse::SharedCtor() { -} - -CreateDatasetResponse::~CreateDatasetResponse() { - // @@protoc_insertion_point(destructor:datacatalog.CreateDatasetResponse) - SharedDtor(); -} - -void CreateDatasetResponse::SharedDtor() { -} - -void CreateDatasetResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateDatasetResponse& CreateDatasetResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void CreateDatasetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.CreateDatasetResponse) - ::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* CreateDatasetResponse::_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 CreateDatasetResponse::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.CreateDatasetResponse) - 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.CreateDatasetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.CreateDatasetResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateDatasetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.CreateDatasetResponse) - ::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.CreateDatasetResponse) -} - -::google::protobuf::uint8* CreateDatasetResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.CreateDatasetResponse) - ::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.CreateDatasetResponse) - return target; -} - -size_t CreateDatasetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.CreateDatasetResponse) - 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 CreateDatasetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.CreateDatasetResponse) - GOOGLE_DCHECK_NE(&from, this); - const CreateDatasetResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.CreateDatasetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.CreateDatasetResponse) - MergeFrom(*source); - } -} - -void CreateDatasetResponse::MergeFrom(const CreateDatasetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.CreateDatasetResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void CreateDatasetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.CreateDatasetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateDatasetResponse::CopyFrom(const CreateDatasetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.CreateDatasetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateDatasetResponse::IsInitialized() const { - return true; -} - -void CreateDatasetResponse::Swap(CreateDatasetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateDatasetResponse::InternalSwap(CreateDatasetResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata CreateDatasetResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetDatasetRequest::InitAsDefaultInstance() { - ::datacatalog::_GetDatasetRequest_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::DatasetID*>( - ::datacatalog::DatasetID::internal_default_instance()); -} -class GetDatasetRequest::HasBitSetters { - public: - static const ::datacatalog::DatasetID& dataset(const GetDatasetRequest* msg); -}; - -const ::datacatalog::DatasetID& -GetDatasetRequest::HasBitSetters::dataset(const GetDatasetRequest* msg) { - return *msg->dataset_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetDatasetRequest::kDatasetFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetDatasetRequest::GetDatasetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.GetDatasetRequest) -} -GetDatasetRequest::GetDatasetRequest(const GetDatasetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_dataset()) { - dataset_ = new ::datacatalog::DatasetID(*from.dataset_); - } else { - dataset_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.GetDatasetRequest) -} - -void GetDatasetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - dataset_ = nullptr; -} - -GetDatasetRequest::~GetDatasetRequest() { - // @@protoc_insertion_point(destructor:datacatalog.GetDatasetRequest) - SharedDtor(); -} - -void GetDatasetRequest::SharedDtor() { - if (this != internal_default_instance()) delete dataset_; -} - -void GetDatasetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetDatasetRequest& GetDatasetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetDatasetRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void GetDatasetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.GetDatasetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetDatasetRequest::_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 = 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(); - 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 GetDatasetRequest::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.GetDatasetRequest) - 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 = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } 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.GetDatasetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.GetDatasetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetDatasetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.GetDatasetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.GetDatasetRequest) -} - -::google::protobuf::uint8* GetDatasetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetDatasetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::dataset(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.GetDatasetRequest) - return target; -} - -size_t GetDatasetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetDatasetRequest) - 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_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetDatasetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetDatasetRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetDatasetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetDatasetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetDatasetRequest) - MergeFrom(*source); - } -} - -void GetDatasetRequest::MergeFrom(const GetDatasetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetDatasetRequest) - 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()); - } -} - -void GetDatasetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetDatasetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetDatasetRequest::CopyFrom(const GetDatasetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetDatasetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetDatasetRequest::IsInitialized() const { - return true; -} - -void GetDatasetRequest::Swap(GetDatasetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetDatasetRequest::InternalSwap(GetDatasetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(dataset_, other->dataset_); -} - -::google::protobuf::Metadata GetDatasetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetDatasetResponse::InitAsDefaultInstance() { - ::datacatalog::_GetDatasetResponse_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::Dataset*>( - ::datacatalog::Dataset::internal_default_instance()); -} -class GetDatasetResponse::HasBitSetters { - public: - static const ::datacatalog::Dataset& dataset(const GetDatasetResponse* msg); -}; - -const ::datacatalog::Dataset& -GetDatasetResponse::HasBitSetters::dataset(const GetDatasetResponse* msg) { - return *msg->dataset_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetDatasetResponse::kDatasetFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetDatasetResponse::GetDatasetResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.GetDatasetResponse) -} -GetDatasetResponse::GetDatasetResponse(const GetDatasetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_dataset()) { - dataset_ = new ::datacatalog::Dataset(*from.dataset_); - } else { - dataset_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.GetDatasetResponse) -} - -void GetDatasetResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - dataset_ = nullptr; -} - -GetDatasetResponse::~GetDatasetResponse() { - // @@protoc_insertion_point(destructor:datacatalog.GetDatasetResponse) - SharedDtor(); -} - -void GetDatasetResponse::SharedDtor() { - if (this != internal_default_instance()) delete dataset_; -} - -void GetDatasetResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetDatasetResponse& GetDatasetResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetDatasetResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void GetDatasetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.GetDatasetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetDatasetResponse::_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.Dataset 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::Dataset::_InternalParse; - 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; - } - 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 GetDatasetResponse::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.GetDatasetResponse) - 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.Dataset dataset = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } 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.GetDatasetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.GetDatasetResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetDatasetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.GetDatasetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Dataset dataset = 1; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.GetDatasetResponse) -} - -::google::protobuf::uint8* GetDatasetResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetDatasetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Dataset dataset = 1; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::dataset(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.GetDatasetResponse) - return target; -} - -size_t GetDatasetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetDatasetResponse) - 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.Dataset dataset = 1; - if (this->has_dataset()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dataset_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetDatasetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetDatasetResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetDatasetResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetDatasetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetDatasetResponse) - MergeFrom(*source); - } -} - -void GetDatasetResponse::MergeFrom(const GetDatasetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetDatasetResponse) - 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::Dataset::MergeFrom(from.dataset()); - } -} - -void GetDatasetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetDatasetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetDatasetResponse::CopyFrom(const GetDatasetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetDatasetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetDatasetResponse::IsInitialized() const { - return true; -} - -void GetDatasetResponse::Swap(GetDatasetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetDatasetResponse::InternalSwap(GetDatasetResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(dataset_, other->dataset_); -} - -::google::protobuf::Metadata GetDatasetResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetArtifactRequest::InitAsDefaultInstance() { - ::datacatalog::_GetArtifactRequest_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::DatasetID*>( - ::datacatalog::DatasetID::internal_default_instance()); - ::datacatalog::_GetArtifactRequest_default_instance_.artifact_id_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::datacatalog::_GetArtifactRequest_default_instance_.tag_name_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class GetArtifactRequest::HasBitSetters { - public: - static const ::datacatalog::DatasetID& dataset(const GetArtifactRequest* msg); -}; - -const ::datacatalog::DatasetID& -GetArtifactRequest::HasBitSetters::dataset(const GetArtifactRequest* msg) { - return *msg->dataset_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetArtifactRequest::kDatasetFieldNumber; -const int GetArtifactRequest::kArtifactIdFieldNumber; -const int GetArtifactRequest::kTagNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetArtifactRequest::GetArtifactRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.GetArtifactRequest) -} -GetArtifactRequest::GetArtifactRequest(const GetArtifactRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_dataset()) { - dataset_ = new ::datacatalog::DatasetID(*from.dataset_); - } else { - dataset_ = nullptr; - } - 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.GetArtifactRequest) -} - -void GetArtifactRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - dataset_ = nullptr; - clear_has_query_handle(); -} - -GetArtifactRequest::~GetArtifactRequest() { - // @@protoc_insertion_point(destructor:datacatalog.GetArtifactRequest) - SharedDtor(); -} - -void GetArtifactRequest::SharedDtor() { - if (this != internal_default_instance()) delete dataset_; - if (has_query_handle()) { - clear_query_handle(); - } -} - -void GetArtifactRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetArtifactRequest& GetArtifactRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void GetArtifactRequest::clear_query_handle() { -// @@protoc_insertion_point(one_of_clear_start:datacatalog.GetArtifactRequest) - 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 GetArtifactRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.GetArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - clear_query_handle(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetArtifactRequest::_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 = 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(); - 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 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.GetArtifactRequest.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.GetArtifactRequest.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 GetArtifactRequest::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.GetArtifactRequest) - 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 = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } else { - goto handle_unusual; - } - break; - } - - // 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.GetArtifactRequest.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.GetArtifactRequest.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.GetArtifactRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.GetArtifactRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetArtifactRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.GetArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset(this), output); - } - - // 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.GetArtifactRequest.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.GetArtifactRequest.tag_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 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.GetArtifactRequest) -} - -::google::protobuf::uint8* GetArtifactRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::dataset(this), target); - } - - // 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.GetArtifactRequest.artifact_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 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.GetArtifactRequest.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.GetArtifactRequest) - return target; -} - -size_t GetArtifactRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetArtifactRequest) - 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 GetArtifactRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetArtifactRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetArtifactRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetArtifactRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetArtifactRequest) - MergeFrom(*source); - } -} - -void GetArtifactRequest::MergeFrom(const GetArtifactRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetArtifactRequest) - 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 GetArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetArtifactRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetArtifactRequest::CopyFrom(const GetArtifactRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetArtifactRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetArtifactRequest::IsInitialized() const { - return true; -} - -void GetArtifactRequest::Swap(GetArtifactRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetArtifactRequest::InternalSwap(GetArtifactRequest* 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 GetArtifactRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetArtifactResponse::InitAsDefaultInstance() { - ::datacatalog::_GetArtifactResponse_default_instance_._instance.get_mutable()->artifact_ = const_cast< ::datacatalog::Artifact*>( - ::datacatalog::Artifact::internal_default_instance()); -} -class GetArtifactResponse::HasBitSetters { - public: - static const ::datacatalog::Artifact& artifact(const GetArtifactResponse* msg); -}; - -const ::datacatalog::Artifact& -GetArtifactResponse::HasBitSetters::artifact(const GetArtifactResponse* msg) { - return *msg->artifact_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetArtifactResponse::kArtifactFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetArtifactResponse::GetArtifactResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.GetArtifactResponse) -} -GetArtifactResponse::GetArtifactResponse(const GetArtifactResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_artifact()) { - artifact_ = new ::datacatalog::Artifact(*from.artifact_); - } else { - artifact_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.GetArtifactResponse) -} - -void GetArtifactResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - artifact_ = nullptr; -} - -GetArtifactResponse::~GetArtifactResponse() { - // @@protoc_insertion_point(destructor:datacatalog.GetArtifactResponse) - SharedDtor(); -} - -void GetArtifactResponse::SharedDtor() { - if (this != internal_default_instance()) delete artifact_; -} - -void GetArtifactResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetArtifactResponse& GetArtifactResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void GetArtifactResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.GetArtifactResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { - delete artifact_; - } - artifact_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetArtifactResponse::_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.Artifact artifact = 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::Artifact::_InternalParse; - object = msg->mutable_artifact(); - 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 GetArtifactResponse::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.GetArtifactResponse) - 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.Artifact artifact = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact())); - } 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.GetArtifactResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.GetArtifactResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetArtifactResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.GetArtifactResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Artifact artifact = 1; - if (this->has_artifact()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::artifact(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.GetArtifactResponse) -} - -::google::protobuf::uint8* GetArtifactResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetArtifactResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Artifact artifact = 1; - if (this->has_artifact()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::artifact(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.GetArtifactResponse) - return target; -} - -size_t GetArtifactResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetArtifactResponse) - 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.Artifact artifact = 1; - if (this->has_artifact()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *artifact_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetArtifactResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetArtifactResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetArtifactResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetArtifactResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetArtifactResponse) - MergeFrom(*source); - } -} - -void GetArtifactResponse::MergeFrom(const GetArtifactResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetArtifactResponse) - 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_artifact()) { - mutable_artifact()->::datacatalog::Artifact::MergeFrom(from.artifact()); - } -} - -void GetArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetArtifactResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetArtifactResponse::CopyFrom(const GetArtifactResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetArtifactResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetArtifactResponse::IsInitialized() const { - return true; -} - -void GetArtifactResponse::Swap(GetArtifactResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetArtifactResponse::InternalSwap(GetArtifactResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(artifact_, other->artifact_); -} - -::google::protobuf::Metadata GetArtifactResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateArtifactRequest::InitAsDefaultInstance() { - ::datacatalog::_CreateArtifactRequest_default_instance_._instance.get_mutable()->artifact_ = const_cast< ::datacatalog::Artifact*>( - ::datacatalog::Artifact::internal_default_instance()); -} -class CreateArtifactRequest::HasBitSetters { - public: - static const ::datacatalog::Artifact& artifact(const CreateArtifactRequest* msg); -}; - -const ::datacatalog::Artifact& -CreateArtifactRequest::HasBitSetters::artifact(const CreateArtifactRequest* msg) { - return *msg->artifact_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateArtifactRequest::kArtifactFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateArtifactRequest::CreateArtifactRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.CreateArtifactRequest) -} -CreateArtifactRequest::CreateArtifactRequest(const CreateArtifactRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_artifact()) { - artifact_ = new ::datacatalog::Artifact(*from.artifact_); - } else { - artifact_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.CreateArtifactRequest) -} - -void CreateArtifactRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - artifact_ = nullptr; -} - -CreateArtifactRequest::~CreateArtifactRequest() { - // @@protoc_insertion_point(destructor:datacatalog.CreateArtifactRequest) - SharedDtor(); -} - -void CreateArtifactRequest::SharedDtor() { - if (this != internal_default_instance()) delete artifact_; -} - -void CreateArtifactRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateArtifactRequest& CreateArtifactRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void CreateArtifactRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.CreateArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { - delete artifact_; - } - artifact_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateArtifactRequest::_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.Artifact artifact = 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::Artifact::_InternalParse; - object = msg->mutable_artifact(); - 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 CreateArtifactRequest::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.CreateArtifactRequest) - 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.Artifact artifact = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact())); - } 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.CreateArtifactRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.CreateArtifactRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateArtifactRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.CreateArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Artifact artifact = 1; - if (this->has_artifact()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::artifact(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.CreateArtifactRequest) -} - -::google::protobuf::uint8* CreateArtifactRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.CreateArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Artifact artifact = 1; - if (this->has_artifact()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::artifact(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.CreateArtifactRequest) - return target; -} - -size_t CreateArtifactRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.CreateArtifactRequest) - 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.Artifact artifact = 1; - if (this->has_artifact()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *artifact_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateArtifactRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.CreateArtifactRequest) - GOOGLE_DCHECK_NE(&from, this); - const CreateArtifactRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.CreateArtifactRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.CreateArtifactRequest) - MergeFrom(*source); - } -} - -void CreateArtifactRequest::MergeFrom(const CreateArtifactRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.CreateArtifactRequest) - 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_artifact()) { - mutable_artifact()->::datacatalog::Artifact::MergeFrom(from.artifact()); - } -} - -void CreateArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.CreateArtifactRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateArtifactRequest::CopyFrom(const CreateArtifactRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.CreateArtifactRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateArtifactRequest::IsInitialized() const { - return true; -} - -void CreateArtifactRequest::Swap(CreateArtifactRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateArtifactRequest::InternalSwap(CreateArtifactRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(artifact_, other->artifact_); -} - -::google::protobuf::Metadata CreateArtifactRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateArtifactResponse::InitAsDefaultInstance() { -} -class CreateArtifactResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateArtifactResponse::CreateArtifactResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.CreateArtifactResponse) -} -CreateArtifactResponse::CreateArtifactResponse(const CreateArtifactResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:datacatalog.CreateArtifactResponse) -} - -void CreateArtifactResponse::SharedCtor() { -} - -CreateArtifactResponse::~CreateArtifactResponse() { - // @@protoc_insertion_point(destructor:datacatalog.CreateArtifactResponse) - SharedDtor(); -} - -void CreateArtifactResponse::SharedDtor() { -} - -void CreateArtifactResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateArtifactResponse& CreateArtifactResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void CreateArtifactResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.CreateArtifactResponse) - ::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* CreateArtifactResponse::_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 CreateArtifactResponse::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.CreateArtifactResponse) - 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.CreateArtifactResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.CreateArtifactResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateArtifactResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.CreateArtifactResponse) - ::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.CreateArtifactResponse) -} - -::google::protobuf::uint8* CreateArtifactResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.CreateArtifactResponse) - ::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.CreateArtifactResponse) - return target; -} - -size_t CreateArtifactResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.CreateArtifactResponse) - 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 CreateArtifactResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.CreateArtifactResponse) - GOOGLE_DCHECK_NE(&from, this); - const CreateArtifactResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.CreateArtifactResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.CreateArtifactResponse) - MergeFrom(*source); - } -} - -void CreateArtifactResponse::MergeFrom(const CreateArtifactResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.CreateArtifactResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void CreateArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.CreateArtifactResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateArtifactResponse::CopyFrom(const CreateArtifactResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.CreateArtifactResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateArtifactResponse::IsInitialized() const { - return true; -} - -void CreateArtifactResponse::Swap(CreateArtifactResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateArtifactResponse::InternalSwap(CreateArtifactResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata CreateArtifactResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void AddTagRequest::InitAsDefaultInstance() { - ::datacatalog::_AddTagRequest_default_instance_._instance.get_mutable()->tag_ = const_cast< ::datacatalog::Tag*>( - ::datacatalog::Tag::internal_default_instance()); -} -class AddTagRequest::HasBitSetters { - public: - static const ::datacatalog::Tag& tag(const AddTagRequest* msg); -}; - -const ::datacatalog::Tag& -AddTagRequest::HasBitSetters::tag(const AddTagRequest* msg) { - return *msg->tag_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int AddTagRequest::kTagFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AddTagRequest::AddTagRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.AddTagRequest) -} -AddTagRequest::AddTagRequest(const AddTagRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_tag()) { - tag_ = new ::datacatalog::Tag(*from.tag_); - } else { - tag_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.AddTagRequest) -} - -void AddTagRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_AddTagRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - tag_ = nullptr; -} - -AddTagRequest::~AddTagRequest() { - // @@protoc_insertion_point(destructor:datacatalog.AddTagRequest) - SharedDtor(); -} - -void AddTagRequest::SharedDtor() { - if (this != internal_default_instance()) delete tag_; -} - -void AddTagRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const AddTagRequest& AddTagRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_AddTagRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void AddTagRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.AddTagRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && tag_ != nullptr) { - delete tag_; - } - tag_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* AddTagRequest::_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.Tag tag = 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::Tag::_InternalParse; - object = msg->mutable_tag(); - 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 AddTagRequest::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.AddTagRequest) - 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.Tag tag = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_tag())); - } 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.AddTagRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.AddTagRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void AddTagRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.AddTagRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Tag tag = 1; - if (this->has_tag()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::tag(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.AddTagRequest) -} - -::google::protobuf::uint8* AddTagRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.AddTagRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Tag tag = 1; - if (this->has_tag()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::tag(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.AddTagRequest) - return target; -} - -size_t AddTagRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.AddTagRequest) - 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.Tag tag = 1; - if (this->has_tag()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *tag_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void AddTagRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.AddTagRequest) - GOOGLE_DCHECK_NE(&from, this); - const AddTagRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.AddTagRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.AddTagRequest) - MergeFrom(*source); - } -} - -void AddTagRequest::MergeFrom(const AddTagRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.AddTagRequest) - 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_tag()) { - mutable_tag()->::datacatalog::Tag::MergeFrom(from.tag()); - } -} - -void AddTagRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.AddTagRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AddTagRequest::CopyFrom(const AddTagRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.AddTagRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AddTagRequest::IsInitialized() const { - return true; -} - -void AddTagRequest::Swap(AddTagRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void AddTagRequest::InternalSwap(AddTagRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(tag_, other->tag_); -} - -::google::protobuf::Metadata AddTagRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void AddTagResponse::InitAsDefaultInstance() { -} -class AddTagResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -AddTagResponse::AddTagResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.AddTagResponse) -} -AddTagResponse::AddTagResponse(const AddTagResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:datacatalog.AddTagResponse) -} - -void AddTagResponse::SharedCtor() { -} - -AddTagResponse::~AddTagResponse() { - // @@protoc_insertion_point(destructor:datacatalog.AddTagResponse) - SharedDtor(); -} - -void AddTagResponse::SharedDtor() { -} - -void AddTagResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const AddTagResponse& AddTagResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_AddTagResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void AddTagResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.AddTagResponse) - ::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* AddTagResponse::_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 AddTagResponse::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.AddTagResponse) - 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.AddTagResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.AddTagResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void AddTagResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.AddTagResponse) - ::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.AddTagResponse) -} - -::google::protobuf::uint8* AddTagResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.AddTagResponse) - ::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.AddTagResponse) - return target; -} - -size_t AddTagResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.AddTagResponse) - 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 AddTagResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.AddTagResponse) - GOOGLE_DCHECK_NE(&from, this); - const AddTagResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.AddTagResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.AddTagResponse) - MergeFrom(*source); - } -} - -void AddTagResponse::MergeFrom(const AddTagResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.AddTagResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void AddTagResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.AddTagResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void AddTagResponse::CopyFrom(const AddTagResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.AddTagResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AddTagResponse::IsInitialized() const { - return true; -} - -void AddTagResponse::Swap(AddTagResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void AddTagResponse::InternalSwap(AddTagResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata AddTagResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListArtifactsRequest::InitAsDefaultInstance() { - ::datacatalog::_ListArtifactsRequest_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::DatasetID*>( - ::datacatalog::DatasetID::internal_default_instance()); - ::datacatalog::_ListArtifactsRequest_default_instance_._instance.get_mutable()->filter_ = const_cast< ::datacatalog::FilterExpression*>( - ::datacatalog::FilterExpression::internal_default_instance()); - ::datacatalog::_ListArtifactsRequest_default_instance_._instance.get_mutable()->pagination_ = const_cast< ::datacatalog::PaginationOptions*>( - ::datacatalog::PaginationOptions::internal_default_instance()); -} -class ListArtifactsRequest::HasBitSetters { - public: - static const ::datacatalog::DatasetID& dataset(const ListArtifactsRequest* msg); - static const ::datacatalog::FilterExpression& filter(const ListArtifactsRequest* msg); - static const ::datacatalog::PaginationOptions& pagination(const ListArtifactsRequest* msg); -}; - -const ::datacatalog::DatasetID& -ListArtifactsRequest::HasBitSetters::dataset(const ListArtifactsRequest* msg) { - return *msg->dataset_; -} -const ::datacatalog::FilterExpression& -ListArtifactsRequest::HasBitSetters::filter(const ListArtifactsRequest* msg) { - return *msg->filter_; -} -const ::datacatalog::PaginationOptions& -ListArtifactsRequest::HasBitSetters::pagination(const ListArtifactsRequest* msg) { - return *msg->pagination_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ListArtifactsRequest::kDatasetFieldNumber; -const int ListArtifactsRequest::kFilterFieldNumber; -const int ListArtifactsRequest::kPaginationFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListArtifactsRequest::ListArtifactsRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ListArtifactsRequest) -} -ListArtifactsRequest::ListArtifactsRequest(const ListArtifactsRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_dataset()) { - dataset_ = new ::datacatalog::DatasetID(*from.dataset_); - } else { - dataset_ = nullptr; - } - if (from.has_filter()) { - filter_ = new ::datacatalog::FilterExpression(*from.filter_); - } else { - filter_ = nullptr; - } - if (from.has_pagination()) { - pagination_ = new ::datacatalog::PaginationOptions(*from.pagination_); - } else { - pagination_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.ListArtifactsRequest) -} - -void ListArtifactsRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ListArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::memset(&dataset_, 0, static_cast( - reinterpret_cast(&pagination_) - - reinterpret_cast(&dataset_)) + sizeof(pagination_)); -} - -ListArtifactsRequest::~ListArtifactsRequest() { - // @@protoc_insertion_point(destructor:datacatalog.ListArtifactsRequest) - SharedDtor(); -} - -void ListArtifactsRequest::SharedDtor() { - if (this != internal_default_instance()) delete dataset_; - if (this != internal_default_instance()) delete filter_; - if (this != internal_default_instance()) delete pagination_; -} - -void ListArtifactsRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListArtifactsRequest& ListArtifactsRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ListArtifactsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ListArtifactsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - if (GetArenaNoVirtual() == nullptr && filter_ != nullptr) { - delete filter_; - } - filter_ = nullptr; - if (GetArenaNoVirtual() == nullptr && pagination_ != nullptr) { - delete pagination_; - } - pagination_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ListArtifactsRequest::_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 = 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(); - 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; - } - // .datacatalog.FilterExpression filter = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::FilterExpression::_InternalParse; - object = msg->mutable_filter(); - 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; - } - // .datacatalog.PaginationOptions pagination = 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 = ::datacatalog::PaginationOptions::_InternalParse; - object = msg->mutable_pagination(); - 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 ListArtifactsRequest::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.ListArtifactsRequest) - 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 = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.FilterExpression filter = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_filter())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.PaginationOptions pagination = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_pagination())); - } 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.ListArtifactsRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ListArtifactsRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListArtifactsRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ListArtifactsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset(this), output); - } - - // .datacatalog.FilterExpression filter = 2; - if (this->has_filter()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::filter(this), output); - } - - // .datacatalog.PaginationOptions pagination = 3; - if (this->has_pagination()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::pagination(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.ListArtifactsRequest) -} - -::google::protobuf::uint8* ListArtifactsRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ListArtifactsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::dataset(this), target); - } - - // .datacatalog.FilterExpression filter = 2; - if (this->has_filter()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::filter(this), target); - } - - // .datacatalog.PaginationOptions pagination = 3; - if (this->has_pagination()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::pagination(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.ListArtifactsRequest) - return target; -} - -size_t ListArtifactsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ListArtifactsRequest) - 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_); - } - - // .datacatalog.FilterExpression filter = 2; - if (this->has_filter()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *filter_); - } - - // .datacatalog.PaginationOptions pagination = 3; - if (this->has_pagination()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *pagination_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListArtifactsRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ListArtifactsRequest) - GOOGLE_DCHECK_NE(&from, this); - const ListArtifactsRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ListArtifactsRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ListArtifactsRequest) - MergeFrom(*source); - } -} - -void ListArtifactsRequest::MergeFrom(const ListArtifactsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ListArtifactsRequest) - 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()); - } - if (from.has_filter()) { - mutable_filter()->::datacatalog::FilterExpression::MergeFrom(from.filter()); - } - if (from.has_pagination()) { - mutable_pagination()->::datacatalog::PaginationOptions::MergeFrom(from.pagination()); - } -} - -void ListArtifactsRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ListArtifactsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListArtifactsRequest::CopyFrom(const ListArtifactsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ListArtifactsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListArtifactsRequest::IsInitialized() const { - return true; -} - -void ListArtifactsRequest::Swap(ListArtifactsRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ListArtifactsRequest::InternalSwap(ListArtifactsRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(dataset_, other->dataset_); - swap(filter_, other->filter_); - swap(pagination_, other->pagination_); -} - -::google::protobuf::Metadata ListArtifactsRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListArtifactsResponse::InitAsDefaultInstance() { -} -class ListArtifactsResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ListArtifactsResponse::kArtifactsFieldNumber; -const int ListArtifactsResponse::kNextTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListArtifactsResponse::ListArtifactsResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ListArtifactsResponse) -} -ListArtifactsResponse::ListArtifactsResponse(const ListArtifactsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - artifacts_(from.artifacts_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - next_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.next_token().size() > 0) { - next_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.next_token_); - } - // @@protoc_insertion_point(copy_constructor:datacatalog.ListArtifactsResponse) -} - -void ListArtifactsResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ListArtifactsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - next_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ListArtifactsResponse::~ListArtifactsResponse() { - // @@protoc_insertion_point(destructor:datacatalog.ListArtifactsResponse) - SharedDtor(); -} - -void ListArtifactsResponse::SharedDtor() { - next_token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ListArtifactsResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListArtifactsResponse& ListArtifactsResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListArtifactsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ListArtifactsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ListArtifactsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - artifacts_.Clear(); - next_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ListArtifactsResponse::_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.Artifact 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::Artifact::_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; - } - // string next_token = 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.ListArtifactsResponse.next_token"); - object = msg->mutable_next_token(); - 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 ListArtifactsResponse::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.ListArtifactsResponse) - 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.Artifact 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; - } - - // string next_token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_next_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->next_token().data(), static_cast(this->next_token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.ListArtifactsResponse.next_token")); - } 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.ListArtifactsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ListArtifactsResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListArtifactsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ListArtifactsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .datacatalog.Artifact 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); - } - - // string next_token = 2; - if (this->next_token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->next_token().data(), static_cast(this->next_token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ListArtifactsResponse.next_token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->next_token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.ListArtifactsResponse) -} - -::google::protobuf::uint8* ListArtifactsResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ListArtifactsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .datacatalog.Artifact 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); - } - - // string next_token = 2; - if (this->next_token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->next_token().data(), static_cast(this->next_token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ListArtifactsResponse.next_token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->next_token(), 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.ListArtifactsResponse) - return target; -} - -size_t ListArtifactsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ListArtifactsResponse) - 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.Artifact 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))); - } - } - - // string next_token = 2; - if (this->next_token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->next_token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListArtifactsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ListArtifactsResponse) - GOOGLE_DCHECK_NE(&from, this); - const ListArtifactsResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ListArtifactsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ListArtifactsResponse) - MergeFrom(*source); - } -} - -void ListArtifactsResponse::MergeFrom(const ListArtifactsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ListArtifactsResponse) - 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_); - if (from.next_token().size() > 0) { - - next_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.next_token_); - } -} - -void ListArtifactsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ListArtifactsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListArtifactsResponse::CopyFrom(const ListArtifactsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ListArtifactsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListArtifactsResponse::IsInitialized() const { - return true; -} - -void ListArtifactsResponse::Swap(ListArtifactsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ListArtifactsResponse::InternalSwap(ListArtifactsResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&artifacts_)->InternalSwap(CastToBase(&other->artifacts_)); - next_token_.Swap(&other->next_token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ListArtifactsResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListDatasetsRequest::InitAsDefaultInstance() { - ::datacatalog::_ListDatasetsRequest_default_instance_._instance.get_mutable()->filter_ = const_cast< ::datacatalog::FilterExpression*>( - ::datacatalog::FilterExpression::internal_default_instance()); - ::datacatalog::_ListDatasetsRequest_default_instance_._instance.get_mutable()->pagination_ = const_cast< ::datacatalog::PaginationOptions*>( - ::datacatalog::PaginationOptions::internal_default_instance()); -} -class ListDatasetsRequest::HasBitSetters { - public: - static const ::datacatalog::FilterExpression& filter(const ListDatasetsRequest* msg); - static const ::datacatalog::PaginationOptions& pagination(const ListDatasetsRequest* msg); -}; - -const ::datacatalog::FilterExpression& -ListDatasetsRequest::HasBitSetters::filter(const ListDatasetsRequest* msg) { - return *msg->filter_; -} -const ::datacatalog::PaginationOptions& -ListDatasetsRequest::HasBitSetters::pagination(const ListDatasetsRequest* msg) { - return *msg->pagination_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ListDatasetsRequest::kFilterFieldNumber; -const int ListDatasetsRequest::kPaginationFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListDatasetsRequest::ListDatasetsRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ListDatasetsRequest) -} -ListDatasetsRequest::ListDatasetsRequest(const ListDatasetsRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_filter()) { - filter_ = new ::datacatalog::FilterExpression(*from.filter_); - } else { - filter_ = nullptr; - } - if (from.has_pagination()) { - pagination_ = new ::datacatalog::PaginationOptions(*from.pagination_); - } else { - pagination_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.ListDatasetsRequest) -} - -void ListDatasetsRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ListDatasetsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::memset(&filter_, 0, static_cast( - reinterpret_cast(&pagination_) - - reinterpret_cast(&filter_)) + sizeof(pagination_)); -} - -ListDatasetsRequest::~ListDatasetsRequest() { - // @@protoc_insertion_point(destructor:datacatalog.ListDatasetsRequest) - SharedDtor(); -} - -void ListDatasetsRequest::SharedDtor() { - if (this != internal_default_instance()) delete filter_; - if (this != internal_default_instance()) delete pagination_; -} - -void ListDatasetsRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListDatasetsRequest& ListDatasetsRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListDatasetsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ListDatasetsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ListDatasetsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && filter_ != nullptr) { - delete filter_; - } - filter_ = nullptr; - if (GetArenaNoVirtual() == nullptr && pagination_ != nullptr) { - delete pagination_; - } - pagination_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ListDatasetsRequest::_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.FilterExpression filter = 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::FilterExpression::_InternalParse; - object = msg->mutable_filter(); - 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; - } - // .datacatalog.PaginationOptions pagination = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::PaginationOptions::_InternalParse; - object = msg->mutable_pagination(); - 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 ListDatasetsRequest::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.ListDatasetsRequest) - 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.FilterExpression filter = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_filter())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.PaginationOptions pagination = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_pagination())); - } 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.ListDatasetsRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ListDatasetsRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListDatasetsRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ListDatasetsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.FilterExpression filter = 1; - if (this->has_filter()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::filter(this), output); - } - - // .datacatalog.PaginationOptions pagination = 2; - if (this->has_pagination()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::pagination(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.ListDatasetsRequest) -} - -::google::protobuf::uint8* ListDatasetsRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ListDatasetsRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.FilterExpression filter = 1; - if (this->has_filter()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::filter(this), target); - } - - // .datacatalog.PaginationOptions pagination = 2; - if (this->has_pagination()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::pagination(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.ListDatasetsRequest) - return target; -} - -size_t ListDatasetsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ListDatasetsRequest) - 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.FilterExpression filter = 1; - if (this->has_filter()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *filter_); - } - - // .datacatalog.PaginationOptions pagination = 2; - if (this->has_pagination()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *pagination_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListDatasetsRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ListDatasetsRequest) - GOOGLE_DCHECK_NE(&from, this); - const ListDatasetsRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ListDatasetsRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ListDatasetsRequest) - MergeFrom(*source); - } -} - -void ListDatasetsRequest::MergeFrom(const ListDatasetsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ListDatasetsRequest) - 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_filter()) { - mutable_filter()->::datacatalog::FilterExpression::MergeFrom(from.filter()); - } - if (from.has_pagination()) { - mutable_pagination()->::datacatalog::PaginationOptions::MergeFrom(from.pagination()); - } -} - -void ListDatasetsRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ListDatasetsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListDatasetsRequest::CopyFrom(const ListDatasetsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ListDatasetsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListDatasetsRequest::IsInitialized() const { - return true; -} - -void ListDatasetsRequest::Swap(ListDatasetsRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ListDatasetsRequest::InternalSwap(ListDatasetsRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(filter_, other->filter_); - swap(pagination_, other->pagination_); -} - -::google::protobuf::Metadata ListDatasetsRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ListDatasetsResponse::InitAsDefaultInstance() { -} -class ListDatasetsResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ListDatasetsResponse::kDatasetsFieldNumber; -const int ListDatasetsResponse::kNextTokenFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ListDatasetsResponse::ListDatasetsResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ListDatasetsResponse) -} -ListDatasetsResponse::ListDatasetsResponse(const ListDatasetsResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - datasets_(from.datasets_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - next_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.next_token().size() > 0) { - next_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.next_token_); - } - // @@protoc_insertion_point(copy_constructor:datacatalog.ListDatasetsResponse) -} - -void ListDatasetsResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ListDatasetsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - next_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ListDatasetsResponse::~ListDatasetsResponse() { - // @@protoc_insertion_point(destructor:datacatalog.ListDatasetsResponse) - SharedDtor(); -} - -void ListDatasetsResponse::SharedDtor() { - next_token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ListDatasetsResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ListDatasetsResponse& ListDatasetsResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ListDatasetsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ListDatasetsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ListDatasetsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - datasets_.Clear(); - next_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ListDatasetsResponse::_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.Dataset datasets = 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::Dataset::_InternalParse; - object = msg->add_datasets(); - 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; - } - // string next_token = 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.ListDatasetsResponse.next_token"); - object = msg->mutable_next_token(); - 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 ListDatasetsResponse::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.ListDatasetsResponse) - 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.Dataset datasets = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_datasets())); - } else { - goto handle_unusual; - } - break; - } - - // string next_token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_next_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->next_token().data(), static_cast(this->next_token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.ListDatasetsResponse.next_token")); - } 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.ListDatasetsResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ListDatasetsResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ListDatasetsResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ListDatasetsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .datacatalog.Dataset datasets = 1; - for (unsigned int i = 0, - n = static_cast(this->datasets_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->datasets(static_cast(i)), - output); - } - - // string next_token = 2; - if (this->next_token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->next_token().data(), static_cast(this->next_token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ListDatasetsResponse.next_token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->next_token(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.ListDatasetsResponse) -} - -::google::protobuf::uint8* ListDatasetsResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ListDatasetsResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .datacatalog.Dataset datasets = 1; - for (unsigned int i = 0, - n = static_cast(this->datasets_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->datasets(static_cast(i)), target); - } - - // string next_token = 2; - if (this->next_token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->next_token().data(), static_cast(this->next_token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ListDatasetsResponse.next_token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->next_token(), 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.ListDatasetsResponse) - return target; -} - -size_t ListDatasetsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ListDatasetsResponse) - 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.Dataset datasets = 1; - { - unsigned int count = static_cast(this->datasets_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->datasets(static_cast(i))); - } - } - - // string next_token = 2; - if (this->next_token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->next_token()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ListDatasetsResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ListDatasetsResponse) - GOOGLE_DCHECK_NE(&from, this); - const ListDatasetsResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ListDatasetsResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ListDatasetsResponse) - MergeFrom(*source); - } -} - -void ListDatasetsResponse::MergeFrom(const ListDatasetsResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ListDatasetsResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - datasets_.MergeFrom(from.datasets_); - if (from.next_token().size() > 0) { - - next_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.next_token_); - } -} - -void ListDatasetsResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ListDatasetsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ListDatasetsResponse::CopyFrom(const ListDatasetsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ListDatasetsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ListDatasetsResponse::IsInitialized() const { - return true; -} - -void ListDatasetsResponse::Swap(ListDatasetsResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ListDatasetsResponse::InternalSwap(ListDatasetsResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&datasets_)->InternalSwap(CastToBase(&other->datasets_)); - next_token_.Swap(&other->next_token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ListDatasetsResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void UpdateArtifactRequest::InitAsDefaultInstance() { - ::datacatalog::_UpdateArtifactRequest_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::DatasetID*>( - ::datacatalog::DatasetID::internal_default_instance()); - ::datacatalog::_UpdateArtifactRequest_default_instance_.artifact_id_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::datacatalog::_UpdateArtifactRequest_default_instance_.tag_name_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::datacatalog::_UpdateArtifactRequest_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::datacatalog::Metadata*>( - ::datacatalog::Metadata::internal_default_instance()); -} -class UpdateArtifactRequest::HasBitSetters { - public: - static const ::datacatalog::DatasetID& dataset(const UpdateArtifactRequest* msg); - static const ::datacatalog::Metadata& metadata(const UpdateArtifactRequest* msg); -}; - -const ::datacatalog::DatasetID& -UpdateArtifactRequest::HasBitSetters::dataset(const UpdateArtifactRequest* msg) { - return *msg->dataset_; -} -const ::datacatalog::Metadata& -UpdateArtifactRequest::HasBitSetters::metadata(const UpdateArtifactRequest* msg) { - return *msg->metadata_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UpdateArtifactRequest::kDatasetFieldNumber; -const int UpdateArtifactRequest::kArtifactIdFieldNumber; -const int UpdateArtifactRequest::kTagNameFieldNumber; -const int UpdateArtifactRequest::kDataFieldNumber; -const int UpdateArtifactRequest::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UpdateArtifactRequest::UpdateArtifactRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.UpdateArtifactRequest) -} -UpdateArtifactRequest::UpdateArtifactRequest(const UpdateArtifactRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - data_(from.data_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_dataset()) { - dataset_ = new ::datacatalog::DatasetID(*from.dataset_); - } else { - dataset_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::datacatalog::Metadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - 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.UpdateArtifactRequest) -} - -void UpdateArtifactRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_UpdateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::memset(&dataset_, 0, static_cast( - reinterpret_cast(&metadata_) - - reinterpret_cast(&dataset_)) + sizeof(metadata_)); - clear_has_query_handle(); -} - -UpdateArtifactRequest::~UpdateArtifactRequest() { - // @@protoc_insertion_point(destructor:datacatalog.UpdateArtifactRequest) - SharedDtor(); -} - -void UpdateArtifactRequest::SharedDtor() { - if (this != internal_default_instance()) delete dataset_; - if (this != internal_default_instance()) delete metadata_; - if (has_query_handle()) { - clear_query_handle(); - } -} - -void UpdateArtifactRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const UpdateArtifactRequest& UpdateArtifactRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_UpdateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void UpdateArtifactRequest::clear_query_handle() { -// @@protoc_insertion_point(one_of_clear_start:datacatalog.UpdateArtifactRequest) - 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 UpdateArtifactRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.UpdateArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - data_.Clear(); - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - clear_query_handle(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* UpdateArtifactRequest::_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 = 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(); - 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 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.UpdateArtifactRequest.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.UpdateArtifactRequest.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; - } - // repeated .datacatalog.ArtifactData data = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::ArtifactData::_InternalParse; - object = msg->add_data(); - 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) == 34 && (ptr += 1)); - break; - } - // .datacatalog.Metadata metadata = 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 = ::datacatalog::Metadata::_InternalParse; - object = msg->mutable_metadata(); - 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 UpdateArtifactRequest::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.UpdateArtifactRequest) - 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 = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } else { - goto handle_unusual; - } - break; - } - - // 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.UpdateArtifactRequest.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.UpdateArtifactRequest.tag_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .datacatalog.ArtifactData data = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_data())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.Metadata metadata = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } 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.UpdateArtifactRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.UpdateArtifactRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void UpdateArtifactRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.UpdateArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset(this), output); - } - - // 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.UpdateArtifactRequest.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.UpdateArtifactRequest.tag_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->tag_name(), output); - } - - // repeated .datacatalog.ArtifactData data = 4; - for (unsigned int i = 0, - n = static_cast(this->data_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, - this->data(static_cast(i)), - output); - } - - // .datacatalog.Metadata metadata = 5; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::metadata(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.UpdateArtifactRequest) -} - -::google::protobuf::uint8* UpdateArtifactRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.UpdateArtifactRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::dataset(this), target); - } - - // 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.UpdateArtifactRequest.artifact_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 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.UpdateArtifactRequest.tag_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->tag_name(), target); - } - - // repeated .datacatalog.ArtifactData data = 4; - for (unsigned int i = 0, - n = static_cast(this->data_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->data(static_cast(i)), target); - } - - // .datacatalog.Metadata metadata = 5; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::metadata(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.UpdateArtifactRequest) - return target; -} - -size_t UpdateArtifactRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.UpdateArtifactRequest) - 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.ArtifactData data = 4; - { - unsigned int count = static_cast(this->data_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->data(static_cast(i))); - } - } - - // .datacatalog.DatasetID dataset = 1; - if (this->has_dataset()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dataset_); - } - - // .datacatalog.Metadata metadata = 5; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - 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 UpdateArtifactRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.UpdateArtifactRequest) - GOOGLE_DCHECK_NE(&from, this); - const UpdateArtifactRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.UpdateArtifactRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.UpdateArtifactRequest) - MergeFrom(*source); - } -} - -void UpdateArtifactRequest::MergeFrom(const UpdateArtifactRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.UpdateArtifactRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - data_.MergeFrom(from.data_); - if (from.has_dataset()) { - mutable_dataset()->::datacatalog::DatasetID::MergeFrom(from.dataset()); - } - if (from.has_metadata()) { - mutable_metadata()->::datacatalog::Metadata::MergeFrom(from.metadata()); - } - 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 UpdateArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.UpdateArtifactRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UpdateArtifactRequest::CopyFrom(const UpdateArtifactRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.UpdateArtifactRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UpdateArtifactRequest::IsInitialized() const { - return true; -} - -void UpdateArtifactRequest::Swap(UpdateArtifactRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void UpdateArtifactRequest::InternalSwap(UpdateArtifactRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&data_)->InternalSwap(CastToBase(&other->data_)); - swap(dataset_, other->dataset_); - swap(metadata_, other->metadata_); - swap(query_handle_, other->query_handle_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata UpdateArtifactRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void UpdateArtifactResponse::InitAsDefaultInstance() { -} -class UpdateArtifactResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UpdateArtifactResponse::kArtifactIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UpdateArtifactResponse::UpdateArtifactResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.UpdateArtifactResponse) -} -UpdateArtifactResponse::UpdateArtifactResponse(const UpdateArtifactResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.artifact_id().size() > 0) { - artifact_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.artifact_id_); - } - // @@protoc_insertion_point(copy_constructor:datacatalog.UpdateArtifactResponse) -} - -void UpdateArtifactResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_UpdateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -UpdateArtifactResponse::~UpdateArtifactResponse() { - // @@protoc_insertion_point(destructor:datacatalog.UpdateArtifactResponse) - SharedDtor(); -} - -void UpdateArtifactResponse::SharedDtor() { - artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void UpdateArtifactResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const UpdateArtifactResponse& UpdateArtifactResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_UpdateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void UpdateArtifactResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.UpdateArtifactResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - artifact_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* UpdateArtifactResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string artifact_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); - ctx->extra_parse_data().SetFieldName("datacatalog.UpdateArtifactResponse.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; - } - 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 UpdateArtifactResponse::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.UpdateArtifactResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string artifact_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 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.UpdateArtifactResponse.artifact_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:datacatalog.UpdateArtifactResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.UpdateArtifactResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void UpdateArtifactResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.UpdateArtifactResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string artifact_id = 1; - if (this->artifact_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_id().data(), static_cast(this->artifact_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.UpdateArtifactResponse.artifact_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->artifact_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.UpdateArtifactResponse) -} - -::google::protobuf::uint8* UpdateArtifactResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.UpdateArtifactResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string artifact_id = 1; - if (this->artifact_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_id().data(), static_cast(this->artifact_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.UpdateArtifactResponse.artifact_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->artifact_id(), 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.UpdateArtifactResponse) - return target; -} - -size_t UpdateArtifactResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.UpdateArtifactResponse) - 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 artifact_id = 1; - if (this->artifact_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->artifact_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void UpdateArtifactResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.UpdateArtifactResponse) - GOOGLE_DCHECK_NE(&from, this); - const UpdateArtifactResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.UpdateArtifactResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.UpdateArtifactResponse) - MergeFrom(*source); - } -} - -void UpdateArtifactResponse::MergeFrom(const UpdateArtifactResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.UpdateArtifactResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.artifact_id().size() > 0) { - - artifact_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.artifact_id_); - } -} - -void UpdateArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.UpdateArtifactResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UpdateArtifactResponse::CopyFrom(const UpdateArtifactResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.UpdateArtifactResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UpdateArtifactResponse::IsInitialized() const { - return true; -} - -void UpdateArtifactResponse::Swap(UpdateArtifactResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void UpdateArtifactResponse::InternalSwap(UpdateArtifactResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - artifact_id_.Swap(&other->artifact_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata UpdateArtifactResponse::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()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:datacatalog.ReservationID) - return target; -} - -size_t ReservationID::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ReservationID) - 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 tag_name = 2; - if (this->tag_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->tag_name()); - } - - // .datacatalog.DatasetID dataset_id = 1; - if (this->has_dataset_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dataset_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ReservationID::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ReservationID) - GOOGLE_DCHECK_NE(&from, this); - const ReservationID* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ReservationID) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ReservationID) - MergeFrom(*source); - } -} - -void ReservationID::MergeFrom(const ReservationID& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ReservationID) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.tag_name().size() > 0) { - - tag_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_name_); - } - if (from.has_dataset_id()) { - mutable_dataset_id()->::datacatalog::DatasetID::MergeFrom(from.dataset_id()); - } -} - -void ReservationID::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ReservationID) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ReservationID::CopyFrom(const ReservationID& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ReservationID) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ReservationID::IsInitialized() const { - return true; -} - -void ReservationID::Swap(ReservationID* other) { - if (other == this) return; - InternalSwap(other); -} -void ReservationID::InternalSwap(ReservationID* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tag_name_.Swap(&other->tag_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(dataset_id_, other->dataset_id_); -} - -::google::protobuf::Metadata ReservationID::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetOrExtendReservationRequest::InitAsDefaultInstance() { - ::datacatalog::_GetOrExtendReservationRequest_default_instance_._instance.get_mutable()->reservation_id_ = const_cast< ::datacatalog::ReservationID*>( - ::datacatalog::ReservationID::internal_default_instance()); - ::datacatalog::_GetOrExtendReservationRequest_default_instance_._instance.get_mutable()->heartbeat_interval_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class GetOrExtendReservationRequest::HasBitSetters { - public: - static const ::datacatalog::ReservationID& reservation_id(const GetOrExtendReservationRequest* msg); - static const ::google::protobuf::Duration& heartbeat_interval(const GetOrExtendReservationRequest* msg); -}; - -const ::datacatalog::ReservationID& -GetOrExtendReservationRequest::HasBitSetters::reservation_id(const GetOrExtendReservationRequest* msg) { - return *msg->reservation_id_; -} -const ::google::protobuf::Duration& -GetOrExtendReservationRequest::HasBitSetters::heartbeat_interval(const GetOrExtendReservationRequest* msg) { - return *msg->heartbeat_interval_; -} -void GetOrExtendReservationRequest::clear_heartbeat_interval() { - if (GetArenaNoVirtual() == nullptr && heartbeat_interval_ != nullptr) { - delete heartbeat_interval_; - } - heartbeat_interval_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetOrExtendReservationRequest::kReservationIdFieldNumber; -const int GetOrExtendReservationRequest::kOwnerIdFieldNumber; -const int GetOrExtendReservationRequest::kHeartbeatIntervalFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetOrExtendReservationRequest::GetOrExtendReservationRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.GetOrExtendReservationRequest) -} -GetOrExtendReservationRequest::GetOrExtendReservationRequest(const GetOrExtendReservationRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.owner_id().size() > 0) { - owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); - } - if (from.has_reservation_id()) { - reservation_id_ = new ::datacatalog::ReservationID(*from.reservation_id_); - } else { - reservation_id_ = nullptr; - } - if (from.has_heartbeat_interval()) { - heartbeat_interval_ = new ::google::protobuf::Duration(*from.heartbeat_interval_); - } else { - heartbeat_interval_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.GetOrExtendReservationRequest) -} - -void GetOrExtendReservationRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&reservation_id_, 0, static_cast( - reinterpret_cast(&heartbeat_interval_) - - reinterpret_cast(&reservation_id_)) + sizeof(heartbeat_interval_)); -} - -GetOrExtendReservationRequest::~GetOrExtendReservationRequest() { - // @@protoc_insertion_point(destructor:datacatalog.GetOrExtendReservationRequest) - SharedDtor(); -} - -void GetOrExtendReservationRequest::SharedDtor() { - owner_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete reservation_id_; - if (this != internal_default_instance()) delete heartbeat_interval_; -} - -void GetOrExtendReservationRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetOrExtendReservationRequest& GetOrExtendReservationRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void GetOrExtendReservationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.GetOrExtendReservationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - owner_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && reservation_id_ != nullptr) { - delete reservation_id_; - } - reservation_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && heartbeat_interval_ != nullptr) { - delete heartbeat_interval_; - } - heartbeat_interval_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetOrExtendReservationRequest::_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.ReservationID reservation_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::ReservationID::_InternalParse; - object = msg->mutable_reservation_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 owner_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.GetOrExtendReservationRequest.owner_id"); - object = msg->mutable_owner_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; - } - // .google.protobuf.Duration heartbeat_interval = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_heartbeat_interval(); - 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 GetOrExtendReservationRequest::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.GetOrExtendReservationRequest) - 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.ReservationID reservation_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reservation_id())); - } else { - goto handle_unusual; - } - break; - } - - // string owner_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_owner_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.GetOrExtendReservationRequest.owner_id")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration heartbeat_interval = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_heartbeat_interval())); - } 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.GetOrExtendReservationRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.GetOrExtendReservationRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetOrExtendReservationRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.GetOrExtendReservationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::reservation_id(this), output); - } - - // string owner_id = 2; - if (this->owner_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.GetOrExtendReservationRequest.owner_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->owner_id(), output); - } - - // .google.protobuf.Duration heartbeat_interval = 3; - if (this->has_heartbeat_interval()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::heartbeat_interval(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.GetOrExtendReservationRequest) -} - -::google::protobuf::uint8* GetOrExtendReservationRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetOrExtendReservationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::reservation_id(this), target); - } - - // string owner_id = 2; - if (this->owner_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.GetOrExtendReservationRequest.owner_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->owner_id(), target); - } - - // .google.protobuf.Duration heartbeat_interval = 3; - if (this->has_heartbeat_interval()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::heartbeat_interval(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.GetOrExtendReservationRequest) - return target; -} - -size_t GetOrExtendReservationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetOrExtendReservationRequest) - 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 owner_id = 2; - if (this->owner_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->owner_id()); - } - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reservation_id_); - } - - // .google.protobuf.Duration heartbeat_interval = 3; - if (this->has_heartbeat_interval()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *heartbeat_interval_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetOrExtendReservationRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetOrExtendReservationRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetOrExtendReservationRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetOrExtendReservationRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetOrExtendReservationRequest) - MergeFrom(*source); - } -} - -void GetOrExtendReservationRequest::MergeFrom(const GetOrExtendReservationRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetOrExtendReservationRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.owner_id().size() > 0) { - - owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); - } - if (from.has_reservation_id()) { - mutable_reservation_id()->::datacatalog::ReservationID::MergeFrom(from.reservation_id()); - } - if (from.has_heartbeat_interval()) { - mutable_heartbeat_interval()->::google::protobuf::Duration::MergeFrom(from.heartbeat_interval()); - } -} - -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 Reservation::InitAsDefaultInstance() { - ::datacatalog::_Reservation_default_instance_._instance.get_mutable()->reservation_id_ = const_cast< ::datacatalog::ReservationID*>( - ::datacatalog::ReservationID::internal_default_instance()); - ::datacatalog::_Reservation_default_instance_._instance.get_mutable()->heartbeat_interval_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); - ::datacatalog::_Reservation_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::datacatalog::_Reservation_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::datacatalog::Metadata*>( - ::datacatalog::Metadata::internal_default_instance()); -} -class Reservation::HasBitSetters { - public: - static const ::datacatalog::ReservationID& reservation_id(const Reservation* msg); - static const ::google::protobuf::Duration& heartbeat_interval(const Reservation* msg); - static const ::google::protobuf::Timestamp& expires_at(const Reservation* msg); - static const ::datacatalog::Metadata& metadata(const Reservation* msg); -}; - -const ::datacatalog::ReservationID& -Reservation::HasBitSetters::reservation_id(const Reservation* msg) { - return *msg->reservation_id_; -} -const ::google::protobuf::Duration& -Reservation::HasBitSetters::heartbeat_interval(const Reservation* msg) { - return *msg->heartbeat_interval_; -} -const ::google::protobuf::Timestamp& -Reservation::HasBitSetters::expires_at(const Reservation* msg) { - return *msg->expires_at_; -} -const ::datacatalog::Metadata& -Reservation::HasBitSetters::metadata(const Reservation* msg) { - return *msg->metadata_; -} -void Reservation::clear_heartbeat_interval() { - if (GetArenaNoVirtual() == nullptr && heartbeat_interval_ != nullptr) { - delete heartbeat_interval_; - } - heartbeat_interval_ = nullptr; -} -void Reservation::clear_expires_at() { - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Reservation::kReservationIdFieldNumber; -const int Reservation::kOwnerIdFieldNumber; -const int Reservation::kHeartbeatIntervalFieldNumber; -const int Reservation::kExpiresAtFieldNumber; -const int Reservation::kMetadataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Reservation::Reservation() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.Reservation) -} -Reservation::Reservation(const Reservation& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.owner_id().size() > 0) { - owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); - } - if (from.has_reservation_id()) { - reservation_id_ = new ::datacatalog::ReservationID(*from.reservation_id_); - } else { - reservation_id_ = nullptr; - } - if (from.has_heartbeat_interval()) { - heartbeat_interval_ = new ::google::protobuf::Duration(*from.heartbeat_interval_); - } else { - heartbeat_interval_ = nullptr; - } - if (from.has_expires_at()) { - expires_at_ = new ::google::protobuf::Timestamp(*from.expires_at_); - } else { - expires_at_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::datacatalog::Metadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.Reservation) -} - -void Reservation::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&reservation_id_, 0, static_cast( - reinterpret_cast(&metadata_) - - reinterpret_cast(&reservation_id_)) + sizeof(metadata_)); -} - -Reservation::~Reservation() { - // @@protoc_insertion_point(destructor:datacatalog.Reservation) - SharedDtor(); -} - -void Reservation::SharedDtor() { - owner_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete reservation_id_; - if (this != internal_default_instance()) delete heartbeat_interval_; - if (this != internal_default_instance()) delete expires_at_; - if (this != internal_default_instance()) delete metadata_; -} - -void Reservation::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Reservation& Reservation::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void Reservation::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.Reservation) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - owner_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && reservation_id_ != nullptr) { - delete reservation_id_; - } - reservation_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && heartbeat_interval_ != nullptr) { - delete heartbeat_interval_; - } - heartbeat_interval_ = nullptr; - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Reservation::_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.ReservationID reservation_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::ReservationID::_InternalParse; - object = msg->mutable_reservation_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 owner_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.Reservation.owner_id"); - object = msg->mutable_owner_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; - } - // .google.protobuf.Duration heartbeat_interval = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_heartbeat_interval(); - 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; - } - // .google.protobuf.Timestamp expires_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_expires_at(); - 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; - } - // .datacatalog.Metadata metadata = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::Metadata::_InternalParse; - object = msg->mutable_metadata(); - 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 Reservation::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.Reservation) - 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.ReservationID reservation_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reservation_id())); - } else { - goto handle_unusual; - } - break; - } - - // string owner_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_owner_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Reservation.owner_id")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration heartbeat_interval = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_heartbeat_interval())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp expires_at = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_at())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.Metadata metadata = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } 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.Reservation) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.Reservation) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Reservation::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.Reservation) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::reservation_id(this), output); - } - - // string owner_id = 2; - if (this->owner_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Reservation.owner_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->owner_id(), output); - } - - // .google.protobuf.Duration heartbeat_interval = 3; - if (this->has_heartbeat_interval()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::heartbeat_interval(this), output); - } - - // .google.protobuf.Timestamp expires_at = 4; - if (this->has_expires_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::expires_at(this), output); - } - - // .datacatalog.Metadata metadata = 6; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::metadata(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.Reservation) -} - -::google::protobuf::uint8* Reservation::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.Reservation) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::reservation_id(this), target); - } - - // string owner_id = 2; - if (this->owner_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Reservation.owner_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->owner_id(), target); - } - - // .google.protobuf.Duration heartbeat_interval = 3; - if (this->has_heartbeat_interval()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::heartbeat_interval(this), target); - } - - // .google.protobuf.Timestamp expires_at = 4; - if (this->has_expires_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::expires_at(this), target); - } - - // .datacatalog.Metadata metadata = 6; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::metadata(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.Reservation) - return target; -} - -size_t Reservation::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.Reservation) - 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 owner_id = 2; - if (this->owner_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->owner_id()); - } - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reservation_id_); - } - - // .google.protobuf.Duration heartbeat_interval = 3; - if (this->has_heartbeat_interval()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *heartbeat_interval_); - } - - // .google.protobuf.Timestamp expires_at = 4; - if (this->has_expires_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_at_); - } - - // .datacatalog.Metadata metadata = 6; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Reservation::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.Reservation) - GOOGLE_DCHECK_NE(&from, this); - const Reservation* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.Reservation) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.Reservation) - MergeFrom(*source); - } -} - -void Reservation::MergeFrom(const Reservation& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.Reservation) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.owner_id().size() > 0) { - - owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); - } - if (from.has_reservation_id()) { - mutable_reservation_id()->::datacatalog::ReservationID::MergeFrom(from.reservation_id()); - } - if (from.has_heartbeat_interval()) { - mutable_heartbeat_interval()->::google::protobuf::Duration::MergeFrom(from.heartbeat_interval()); - } - if (from.has_expires_at()) { - mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); - } - if (from.has_metadata()) { - mutable_metadata()->::datacatalog::Metadata::MergeFrom(from.metadata()); - } -} - -void Reservation::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.Reservation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Reservation::CopyFrom(const Reservation& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.Reservation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Reservation::IsInitialized() const { - return true; -} - -void Reservation::Swap(Reservation* other) { - if (other == this) return; - InternalSwap(other); -} -void Reservation::InternalSwap(Reservation* 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_); - swap(expires_at_, other->expires_at_); - swap(metadata_, other->metadata_); -} - -::google::protobuf::Metadata Reservation::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetOrExtendReservationResponse::InitAsDefaultInstance() { - ::datacatalog::_GetOrExtendReservationResponse_default_instance_._instance.get_mutable()->reservation_ = const_cast< ::datacatalog::Reservation*>( - ::datacatalog::Reservation::internal_default_instance()); -} -class GetOrExtendReservationResponse::HasBitSetters { - public: - static const ::datacatalog::Reservation& reservation(const GetOrExtendReservationResponse* msg); -}; - -const ::datacatalog::Reservation& -GetOrExtendReservationResponse::HasBitSetters::reservation(const GetOrExtendReservationResponse* msg) { - return *msg->reservation_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetOrExtendReservationResponse::kReservationFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetOrExtendReservationResponse::GetOrExtendReservationResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.GetOrExtendReservationResponse) -} -GetOrExtendReservationResponse::GetOrExtendReservationResponse(const GetOrExtendReservationResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_reservation()) { - reservation_ = new ::datacatalog::Reservation(*from.reservation_); - } else { - reservation_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.GetOrExtendReservationResponse) -} - -void GetOrExtendReservationResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetOrExtendReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - reservation_ = nullptr; -} - -GetOrExtendReservationResponse::~GetOrExtendReservationResponse() { - // @@protoc_insertion_point(destructor:datacatalog.GetOrExtendReservationResponse) - SharedDtor(); -} - -void GetOrExtendReservationResponse::SharedDtor() { - if (this != internal_default_instance()) delete reservation_; -} - -void GetOrExtendReservationResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetOrExtendReservationResponse& GetOrExtendReservationResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetOrExtendReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void GetOrExtendReservationResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.GetOrExtendReservationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && reservation_ != nullptr) { - delete reservation_; - } - reservation_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetOrExtendReservationResponse::_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.Reservation reservation = 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::Reservation::_InternalParse; - object = msg->mutable_reservation(); - 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 GetOrExtendReservationResponse::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.GetOrExtendReservationResponse) - 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.Reservation reservation = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reservation())); - } 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.GetOrExtendReservationResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.GetOrExtendReservationResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetOrExtendReservationResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.GetOrExtendReservationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Reservation reservation = 1; - if (this->has_reservation()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::reservation(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.GetOrExtendReservationResponse) -} - -::google::protobuf::uint8* GetOrExtendReservationResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetOrExtendReservationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.Reservation reservation = 1; - if (this->has_reservation()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 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 ReleaseReservationRequest::InitAsDefaultInstance() { - ::datacatalog::_ReleaseReservationRequest_default_instance_._instance.get_mutable()->reservation_id_ = const_cast< ::datacatalog::ReservationID*>( - ::datacatalog::ReservationID::internal_default_instance()); -} -class ReleaseReservationRequest::HasBitSetters { - public: - static const ::datacatalog::ReservationID& reservation_id(const ReleaseReservationRequest* msg); -}; - -const ::datacatalog::ReservationID& -ReleaseReservationRequest::HasBitSetters::reservation_id(const ReleaseReservationRequest* msg) { - return *msg->reservation_id_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ReleaseReservationRequest::kReservationIdFieldNumber; -const int ReleaseReservationRequest::kOwnerIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ReleaseReservationRequest::ReleaseReservationRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ReleaseReservationRequest) -} -ReleaseReservationRequest::ReleaseReservationRequest(const ReleaseReservationRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.owner_id().size() > 0) { - owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); - } - if (from.has_reservation_id()) { - reservation_id_ = new ::datacatalog::ReservationID(*from.reservation_id_); - } else { - reservation_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.ReleaseReservationRequest) -} - -void ReleaseReservationRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - owner_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - reservation_id_ = nullptr; -} - -ReleaseReservationRequest::~ReleaseReservationRequest() { - // @@protoc_insertion_point(destructor:datacatalog.ReleaseReservationRequest) - SharedDtor(); -} - -void ReleaseReservationRequest::SharedDtor() { - owner_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete reservation_id_; -} - -void ReleaseReservationRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ReleaseReservationRequest& ReleaseReservationRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ReleaseReservationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ReleaseReservationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - owner_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && reservation_id_ != nullptr) { - delete reservation_id_; - } - reservation_id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ReleaseReservationRequest::_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.ReservationID reservation_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::ReservationID::_InternalParse; - object = msg->mutable_reservation_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 owner_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.ReleaseReservationRequest.owner_id"); - object = msg->mutable_owner_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; - } - 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 ReleaseReservationRequest::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.ReleaseReservationRequest) - 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.ReservationID reservation_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reservation_id())); - } else { - goto handle_unusual; - } - break; - } - - // string owner_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_owner_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.ReleaseReservationRequest.owner_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:datacatalog.ReleaseReservationRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ReleaseReservationRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ReleaseReservationRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ReleaseReservationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::reservation_id(this), output); - } - - // string owner_id = 2; - if (this->owner_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ReleaseReservationRequest.owner_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->owner_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.ReleaseReservationRequest) -} - -::google::protobuf::uint8* ReleaseReservationRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ReleaseReservationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::reservation_id(this), target); - } - - // string owner_id = 2; - if (this->owner_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->owner_id().data(), static_cast(this->owner_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ReleaseReservationRequest.owner_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->owner_id(), 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.ReleaseReservationRequest) - return target; -} - -size_t ReleaseReservationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ReleaseReservationRequest) - 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 owner_id = 2; - if (this->owner_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->owner_id()); - } - - // .datacatalog.ReservationID reservation_id = 1; - if (this->has_reservation_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reservation_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ReleaseReservationRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ReleaseReservationRequest) - GOOGLE_DCHECK_NE(&from, this); - const ReleaseReservationRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ReleaseReservationRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ReleaseReservationRequest) - MergeFrom(*source); - } -} - -void ReleaseReservationRequest::MergeFrom(const ReleaseReservationRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ReleaseReservationRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.owner_id().size() > 0) { - - owner_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.owner_id_); - } - if (from.has_reservation_id()) { - mutable_reservation_id()->::datacatalog::ReservationID::MergeFrom(from.reservation_id()); - } -} - -void ReleaseReservationRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ReleaseReservationRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ReleaseReservationRequest::CopyFrom(const ReleaseReservationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ReleaseReservationRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ReleaseReservationRequest::IsInitialized() const { - return true; -} - -void ReleaseReservationRequest::Swap(ReleaseReservationRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void ReleaseReservationRequest::InternalSwap(ReleaseReservationRequest* 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_); -} - -::google::protobuf::Metadata ReleaseReservationRequest::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() { -} -class ReleaseReservationResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ReleaseReservationResponse::ReleaseReservationResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ReleaseReservationResponse) -} -ReleaseReservationResponse::ReleaseReservationResponse(const ReleaseReservationResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:datacatalog.ReleaseReservationResponse) -} - -void ReleaseReservationResponse::SharedCtor() { -} - -ReleaseReservationResponse::~ReleaseReservationResponse() { - // @@protoc_insertion_point(destructor:datacatalog.ReleaseReservationResponse) - SharedDtor(); -} - -void ReleaseReservationResponse::SharedDtor() { -} - -void ReleaseReservationResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ReleaseReservationResponse& ReleaseReservationResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ReleaseReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ReleaseReservationResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ReleaseReservationResponse) - ::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* ReleaseReservationResponse::_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 ReleaseReservationResponse::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.ReleaseReservationResponse) - 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.ReleaseReservationResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ReleaseReservationResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ReleaseReservationResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ReleaseReservationResponse) - ::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.ReleaseReservationResponse) -} - -::google::protobuf::uint8* ReleaseReservationResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ReleaseReservationResponse) - ::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.ReleaseReservationResponse) - return target; -} - -size_t ReleaseReservationResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ReleaseReservationResponse) - 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 ReleaseReservationResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ReleaseReservationResponse) - GOOGLE_DCHECK_NE(&from, this); - const ReleaseReservationResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ReleaseReservationResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ReleaseReservationResponse) - MergeFrom(*source); - } -} - -void ReleaseReservationResponse::MergeFrom(const ReleaseReservationResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ReleaseReservationResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void ReleaseReservationResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ReleaseReservationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ReleaseReservationResponse::CopyFrom(const ReleaseReservationResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ReleaseReservationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ReleaseReservationResponse::IsInitialized() const { - return true; -} - -void ReleaseReservationResponse::Swap(ReleaseReservationResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void ReleaseReservationResponse::InternalSwap(ReleaseReservationResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata ReleaseReservationResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Dataset::InitAsDefaultInstance() { - ::datacatalog::_Dataset_default_instance_._instance.get_mutable()->id_ = const_cast< ::datacatalog::DatasetID*>( - ::datacatalog::DatasetID::internal_default_instance()); - ::datacatalog::_Dataset_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::datacatalog::Metadata*>( - ::datacatalog::Metadata::internal_default_instance()); -} -class Dataset::HasBitSetters { - public: - static const ::datacatalog::DatasetID& id(const Dataset* msg); - static const ::datacatalog::Metadata& metadata(const Dataset* msg); -}; - -const ::datacatalog::DatasetID& -Dataset::HasBitSetters::id(const Dataset* msg) { - return *msg->id_; -} -const ::datacatalog::Metadata& -Dataset::HasBitSetters::metadata(const Dataset* msg) { - return *msg->metadata_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Dataset::kIdFieldNumber; -const int Dataset::kMetadataFieldNumber; -const int Dataset::kPartitionKeysFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Dataset::Dataset() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.Dataset) -} -Dataset::Dataset(const Dataset& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - partitionkeys_(from.partitionkeys_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::datacatalog::DatasetID(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::datacatalog::Metadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.Dataset) -} - -void Dataset::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&metadata_) - - reinterpret_cast(&id_)) + sizeof(metadata_)); -} - -Dataset::~Dataset() { - // @@protoc_insertion_point(destructor:datacatalog.Dataset) - SharedDtor(); -} - -void Dataset::SharedDtor() { - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete metadata_; -} - -void Dataset::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Dataset& Dataset::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void Dataset::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.Dataset) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - partitionkeys_.Clear(); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Dataset::_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 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_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; - } - // .datacatalog.Metadata metadata = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::Metadata::_InternalParse; - object = msg->mutable_metadata(); - 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; - } - // repeated string partitionKeys = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.Dataset.partitionKeys"); - object = msg->add_partitionkeys(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Dataset::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.Dataset) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.Metadata metadata = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string partitionKeys = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_partitionkeys())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partitionkeys(this->partitionkeys_size() - 1).data(), - static_cast(this->partitionkeys(this->partitionkeys_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Dataset.partitionKeys")); - } 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.Dataset) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.Dataset) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Dataset::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.Dataset) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .datacatalog.Metadata metadata = 2; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::metadata(this), output); - } - - // repeated string partitionKeys = 3; - for (int i = 0, n = this->partitionkeys_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partitionkeys(i).data(), static_cast(this->partitionkeys(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Dataset.partitionKeys"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 3, this->partitionkeys(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.Dataset) -} - -::google::protobuf::uint8* Dataset::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.Dataset) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.DatasetID id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .datacatalog.Metadata metadata = 2; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::metadata(this), target); - } - - // repeated string partitionKeys = 3; - for (int i = 0, n = this->partitionkeys_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->partitionkeys(i).data(), static_cast(this->partitionkeys(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Dataset.partitionKeys"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(3, this->partitionkeys(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.Dataset) - return target; -} - -size_t Dataset::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.Dataset) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string partitionKeys = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->partitionkeys_size()); - for (int i = 0, n = this->partitionkeys_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->partitionkeys(i)); - } - - // .datacatalog.DatasetID id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .datacatalog.Metadata metadata = 2; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Dataset::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.Dataset) - GOOGLE_DCHECK_NE(&from, this); - const Dataset* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.Dataset) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.Dataset) - MergeFrom(*source); - } -} - -void Dataset::MergeFrom(const Dataset& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.Dataset) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - partitionkeys_.MergeFrom(from.partitionkeys_); - if (from.has_id()) { - mutable_id()->::datacatalog::DatasetID::MergeFrom(from.id()); - } - if (from.has_metadata()) { - mutable_metadata()->::datacatalog::Metadata::MergeFrom(from.metadata()); - } -} - -void Dataset::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.Dataset) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Dataset::CopyFrom(const Dataset& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.Dataset) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Dataset::IsInitialized() const { - return true; -} - -void Dataset::Swap(Dataset* other) { - if (other == this) return; - InternalSwap(other); -} -void Dataset::InternalSwap(Dataset* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - partitionkeys_.InternalSwap(CastToBase(&other->partitionkeys_)); - swap(id_, other->id_); - swap(metadata_, other->metadata_); -} - -::google::protobuf::Metadata Dataset::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Partition::InitAsDefaultInstance() { -} -class Partition::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Partition::kKeyFieldNumber; -const int Partition::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Partition::Partition() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.Partition) -} -Partition::Partition(const Partition& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.key().size() > 0) { - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.value().size() > 0) { - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - // @@protoc_insertion_point(copy_constructor:datacatalog.Partition) -} - -void Partition::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Partition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -Partition::~Partition() { - // @@protoc_insertion_point(destructor:datacatalog.Partition) - SharedDtor(); -} - -void Partition::SharedDtor() { - key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void Partition::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Partition& Partition::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Partition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void Partition::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.Partition) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Partition::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string key = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.Partition.key"); - object = msg->mutable_key(); - 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 value = 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.Partition.value"); - object = msg->mutable_value(); - 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 Partition::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.Partition) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string key = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Partition.key")); - } else { - goto handle_unusual; - } - break; - } - - // string value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Partition.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:datacatalog.Partition) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.Partition) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Partition::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.Partition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Partition.key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->key(), output); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Partition.value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->value(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.Partition) -} - -::google::protobuf::uint8* Partition::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.Partition) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Partition.key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Partition.value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->value(), 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.Partition) - return target; -} - -size_t Partition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.Partition) - 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 key = 1; - if (this->key().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } - - // string value = 2; - if (this->value().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Partition::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.Partition) - GOOGLE_DCHECK_NE(&from, this); - const Partition* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.Partition) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.Partition) - MergeFrom(*source); - } -} - -void Partition::MergeFrom(const Partition& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.Partition) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.key().size() > 0) { - - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - if (from.value().size() > 0) { - - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } -} - -void Partition::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.Partition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Partition::CopyFrom(const Partition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.Partition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Partition::IsInitialized() const { - return true; -} - -void Partition::Swap(Partition* other) { - if (other == this) return; - InternalSwap(other); -} -void Partition::InternalSwap(Partition* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - key_.Swap(&other->key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata Partition::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DatasetID::InitAsDefaultInstance() { -} -class DatasetID::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DatasetID::kProjectFieldNumber; -const int DatasetID::kNameFieldNumber; -const int DatasetID::kDomainFieldNumber; -const int DatasetID::kVersionFieldNumber; -const int DatasetID::kUUIDFieldNumber; -const int DatasetID::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DatasetID::DatasetID() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.DatasetID) -} -DatasetID::DatasetID(const DatasetID& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.version().size() > 0) { - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.uuid().size() > 0) { - uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.org().size() > 0) { - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } - // @@protoc_insertion_point(copy_constructor:datacatalog.DatasetID) -} - -void DatasetID::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -DatasetID::~DatasetID() { - // @@protoc_insertion_point(destructor:datacatalog.DatasetID) - SharedDtor(); -} - -void DatasetID::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void DatasetID::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DatasetID& DatasetID::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void DatasetID::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.DatasetID) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DatasetID::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.DatasetID.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string 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.DatasetID.name"); - object = msg->mutable_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; - } - // string domain = 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.DatasetID.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string version = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.DatasetID.version"); - object = msg->mutable_version(); - 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 UUID = 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); - ctx->extra_parse_data().SetFieldName("datacatalog.DatasetID.UUID"); - object = msg->mutable_uuid(); - 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 org = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.DatasetID.org"); - object = msg->mutable_org(); - 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 DatasetID::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.DatasetID) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetID.project")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetID.name")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetID.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string version = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetID.version")); - } else { - goto handle_unusual; - } - break; - } - - // string UUID = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_uuid())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uuid().data(), static_cast(this->uuid().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetID.UUID")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetID.org")); - } 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.DatasetID) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.DatasetID) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DatasetID::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.DatasetID) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - // string domain = 3; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->domain(), output); - } - - // string version = 4; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->version(), output); - } - - // string UUID = 5; - if (this->uuid().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uuid().data(), static_cast(this->uuid().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.UUID"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->uuid(), output); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.DatasetID) -} - -::google::protobuf::uint8* DatasetID::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.DatasetID) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->name(), target); - } - - // string domain = 3; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->domain(), target); - } - - // string version = 4; - if (this->version().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->version(), target); - } - - // string UUID = 5; - if (this->uuid().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->uuid().data(), static_cast(this->uuid().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.UUID"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->uuid(), target); - } - - // string org = 6; - if (this->org().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetID.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->org(), 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.DatasetID) - return target; -} - -size_t DatasetID::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.DatasetID) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string name = 2; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string domain = 3; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string version = 4; - if (this->version().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->version()); - } - - // string UUID = 5; - if (this->uuid().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->uuid()); - } - - // string org = 6; - if (this->org().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DatasetID::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.DatasetID) - GOOGLE_DCHECK_NE(&from, this); - const DatasetID* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.DatasetID) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.DatasetID) - MergeFrom(*source); - } -} - -void DatasetID::MergeFrom(const DatasetID& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.DatasetID) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.version().size() > 0) { - - version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); - } - if (from.uuid().size() > 0) { - - uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uuid_); - } - if (from.org().size() > 0) { - - org_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.org_); - } -} - -void DatasetID::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.DatasetID) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DatasetID::CopyFrom(const DatasetID& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.DatasetID) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DatasetID::IsInitialized() const { - return true; -} - -void DatasetID::Swap(DatasetID* other) { - if (other == this) return; - InternalSwap(other); -} -void DatasetID::InternalSwap(DatasetID* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - uuid_.Swap(&other->uuid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - org_.Swap(&other->org_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata DatasetID::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Artifact::InitAsDefaultInstance() { - ::datacatalog::_Artifact_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::DatasetID*>( - ::datacatalog::DatasetID::internal_default_instance()); - ::datacatalog::_Artifact_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::datacatalog::Metadata*>( - ::datacatalog::Metadata::internal_default_instance()); - ::datacatalog::_Artifact_default_instance_._instance.get_mutable()->created_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class Artifact::HasBitSetters { - public: - static const ::datacatalog::DatasetID& dataset(const Artifact* msg); - static const ::datacatalog::Metadata& metadata(const Artifact* msg); - static const ::google::protobuf::Timestamp& created_at(const Artifact* msg); -}; - -const ::datacatalog::DatasetID& -Artifact::HasBitSetters::dataset(const Artifact* msg) { - return *msg->dataset_; -} -const ::datacatalog::Metadata& -Artifact::HasBitSetters::metadata(const Artifact* msg) { - return *msg->metadata_; -} -const ::google::protobuf::Timestamp& -Artifact::HasBitSetters::created_at(const Artifact* msg) { - return *msg->created_at_; -} -void Artifact::clear_created_at() { - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Artifact::kIdFieldNumber; -const int Artifact::kDatasetFieldNumber; -const int Artifact::kDataFieldNumber; -const int Artifact::kMetadataFieldNumber; -const int Artifact::kPartitionsFieldNumber; -const int Artifact::kTagsFieldNumber; -const int Artifact::kCreatedAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Artifact::Artifact() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.Artifact) -} -Artifact::Artifact(const Artifact& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - data_(from.data_), - partitions_(from.partitions_), - tags_(from.tags_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.id().size() > 0) { - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - if (from.has_dataset()) { - dataset_ = new ::datacatalog::DatasetID(*from.dataset_); - } else { - dataset_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::datacatalog::Metadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - if (from.has_created_at()) { - created_at_ = new ::google::protobuf::Timestamp(*from.created_at_); - } else { - created_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.Artifact) -} - -void Artifact::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&dataset_, 0, static_cast( - reinterpret_cast(&created_at_) - - reinterpret_cast(&dataset_)) + sizeof(created_at_)); -} - -Artifact::~Artifact() { - // @@protoc_insertion_point(destructor:datacatalog.Artifact) - SharedDtor(); -} - -void Artifact::SharedDtor() { - id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete dataset_; - if (this != internal_default_instance()) delete metadata_; - if (this != internal_default_instance()) delete created_at_; -} - -void Artifact::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Artifact& Artifact::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void Artifact::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.Artifact) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - data_.Clear(); - partitions_.Clear(); - tags_.Clear(); - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && created_at_ != nullptr) { - delete created_at_; - } - created_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Artifact::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string 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); - ctx->extra_parse_data().SetFieldName("datacatalog.Artifact.id"); - object = msg->mutable_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; - } - // .datacatalog.DatasetID dataset = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::DatasetID::_InternalParse; - 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; - } - // repeated .datacatalog.ArtifactData data = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::ArtifactData::_InternalParse; - object = msg->add_data(); - 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) == 26 && (ptr += 1)); - break; - } - // .datacatalog.Metadata metadata = 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 = ::datacatalog::Metadata::_InternalParse; - object = msg->mutable_metadata(); - 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; - } - // repeated .datacatalog.Partition partitions = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::Partition::_InternalParse; - object = msg->add_partitions(); - 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) == 42 && (ptr += 1)); - break; - } - // repeated .datacatalog.Tag tags = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::Tag::_InternalParse; - object = msg->add_tags(); - 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) == 50 && (ptr += 1)); - break; - } - // .google.protobuf.Timestamp created_at = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_created_at(); - 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 Artifact::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.Artifact) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Artifact.id")); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.DatasetID dataset = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .datacatalog.ArtifactData data = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_data())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.Metadata metadata = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .datacatalog.Partition partitions = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_partitions())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .datacatalog.Tag tags = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_tags())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp created_at = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_created_at())); - } 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.Artifact) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.Artifact) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Artifact::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.Artifact) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Artifact.id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->id(), output); - } - - // .datacatalog.DatasetID dataset = 2; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::dataset(this), output); - } - - // repeated .datacatalog.ArtifactData data = 3; - for (unsigned int i = 0, - n = static_cast(this->data_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->data(static_cast(i)), - output); - } - - // .datacatalog.Metadata metadata = 4; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::metadata(this), output); - } - - // repeated .datacatalog.Partition partitions = 5; - for (unsigned int i = 0, - n = static_cast(this->partitions_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, - this->partitions(static_cast(i)), - output); - } - - // repeated .datacatalog.Tag tags = 6; - for (unsigned int i = 0, - n = static_cast(this->tags_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, - this->tags(static_cast(i)), - output); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::created_at(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.Artifact) -} - -::google::protobuf::uint8* Artifact::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.Artifact) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string id = 1; - if (this->id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->id().data(), static_cast(this->id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Artifact.id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->id(), target); - } - - // .datacatalog.DatasetID dataset = 2; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::dataset(this), target); - } - - // repeated .datacatalog.ArtifactData data = 3; - for (unsigned int i = 0, - n = static_cast(this->data_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->data(static_cast(i)), target); - } - - // .datacatalog.Metadata metadata = 4; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::metadata(this), target); - } - - // repeated .datacatalog.Partition partitions = 5; - for (unsigned int i = 0, - n = static_cast(this->partitions_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, this->partitions(static_cast(i)), target); - } - - // repeated .datacatalog.Tag tags = 6; - for (unsigned int i = 0, - n = static_cast(this->tags_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, this->tags(static_cast(i)), target); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::created_at(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.Artifact) - return target; -} - -size_t Artifact::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.Artifact) - 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.ArtifactData data = 3; - { - unsigned int count = static_cast(this->data_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->data(static_cast(i))); - } - } - - // repeated .datacatalog.Partition partitions = 5; - { - unsigned int count = static_cast(this->partitions_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->partitions(static_cast(i))); - } - } - - // repeated .datacatalog.Tag tags = 6; - { - unsigned int count = static_cast(this->tags_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->tags(static_cast(i))); - } - } - - // string id = 1; - if (this->id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->id()); - } - - // .datacatalog.DatasetID dataset = 2; - if (this->has_dataset()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dataset_); - } - - // .datacatalog.Metadata metadata = 4; - if (this->has_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .google.protobuf.Timestamp created_at = 7; - if (this->has_created_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *created_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Artifact::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.Artifact) - GOOGLE_DCHECK_NE(&from, this); - const Artifact* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.Artifact) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.Artifact) - MergeFrom(*source); - } -} - -void Artifact::MergeFrom(const Artifact& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.Artifact) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - data_.MergeFrom(from.data_); - partitions_.MergeFrom(from.partitions_); - tags_.MergeFrom(from.tags_); - if (from.id().size() > 0) { - - id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); - } - if (from.has_dataset()) { - mutable_dataset()->::datacatalog::DatasetID::MergeFrom(from.dataset()); - } - if (from.has_metadata()) { - mutable_metadata()->::datacatalog::Metadata::MergeFrom(from.metadata()); - } - if (from.has_created_at()) { - mutable_created_at()->::google::protobuf::Timestamp::MergeFrom(from.created_at()); - } -} - -void Artifact::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.Artifact) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Artifact::CopyFrom(const Artifact& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.Artifact) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Artifact::IsInitialized() const { - return true; -} - -void Artifact::Swap(Artifact* other) { - if (other == this) return; - InternalSwap(other); -} -void Artifact::InternalSwap(Artifact* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&data_)->InternalSwap(CastToBase(&other->data_)); - CastToBase(&partitions_)->InternalSwap(CastToBase(&other->partitions_)); - CastToBase(&tags_)->InternalSwap(CastToBase(&other->tags_)); - id_.Swap(&other->id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(dataset_, other->dataset_); - swap(metadata_, other->metadata_); - swap(created_at_, other->created_at_); -} - -::google::protobuf::Metadata Artifact::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ArtifactData::InitAsDefaultInstance() { - ::datacatalog::_ArtifactData_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::Literal*>( - ::flyteidl::core::Literal::internal_default_instance()); -} -class ArtifactData::HasBitSetters { - public: - static const ::flyteidl::core::Literal& value(const ArtifactData* msg); -}; - -const ::flyteidl::core::Literal& -ArtifactData::HasBitSetters::value(const ArtifactData* msg) { - return *msg->value_; -} -void ArtifactData::clear_value() { - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArtifactData::kNameFieldNumber; -const int ArtifactData::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArtifactData::ArtifactData() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ArtifactData) -} -ArtifactData::ArtifactData(const ArtifactData& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_value()) { - value_ = new ::flyteidl::core::Literal(*from.value_); - } else { - value_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.ArtifactData) -} - -void ArtifactData::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_ = nullptr; -} - -ArtifactData::~ArtifactData() { - // @@protoc_insertion_point(destructor:datacatalog.ArtifactData) - SharedDtor(); -} - -void ArtifactData::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete value_; -} - -void ArtifactData::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArtifactData& ArtifactData::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ArtifactData::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ArtifactData) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { - delete value_; - } - value_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArtifactData::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.ArtifactData.name"); - object = msg->mutable_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; - } - // .flyteidl.core.Literal value = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Literal::_InternalParse; - object = msg->mutable_value(); - 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 ArtifactData::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.ArtifactData) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.ArtifactData.name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Literal value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_value())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:datacatalog.ArtifactData) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ArtifactData) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArtifactData::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ArtifactData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ArtifactData.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // .flyteidl.core.Literal value = 2; - if (this->has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::value(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.ArtifactData) -} - -::google::protobuf::uint8* ArtifactData::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ArtifactData) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ArtifactData.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // .flyteidl.core.Literal value = 2; - if (this->has_value()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::value(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.ArtifactData) - return target; -} - -size_t ArtifactData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ArtifactData) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // .flyteidl.core.Literal value = 2; - if (this->has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *value_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArtifactData::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ArtifactData) - GOOGLE_DCHECK_NE(&from, this); - const ArtifactData* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ArtifactData) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ArtifactData) - MergeFrom(*source); - } -} - -void ArtifactData::MergeFrom(const ArtifactData& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ArtifactData) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.has_value()) { - mutable_value()->::flyteidl::core::Literal::MergeFrom(from.value()); - } -} - -void ArtifactData::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ArtifactData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArtifactData::CopyFrom(const ArtifactData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ArtifactData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArtifactData::IsInitialized() const { - return true; -} - -void ArtifactData::Swap(ArtifactData* other) { - if (other == this) return; - InternalSwap(other); -} -void ArtifactData::InternalSwap(ArtifactData* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(value_, other->value_); -} - -::google::protobuf::Metadata ArtifactData::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void Tag::InitAsDefaultInstance() { - ::datacatalog::_Tag_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::DatasetID*>( - ::datacatalog::DatasetID::internal_default_instance()); -} -class Tag::HasBitSetters { - public: - static const ::datacatalog::DatasetID& dataset(const Tag* msg); -}; - -const ::datacatalog::DatasetID& -Tag::HasBitSetters::dataset(const Tag* msg) { - return *msg->dataset_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Tag::kNameFieldNumber; -const int Tag::kArtifactIdFieldNumber; -const int Tag::kDatasetFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Tag::Tag() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.Tag) -} -Tag::Tag(const Tag& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.artifact_id().size() > 0) { - artifact_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.artifact_id_); - } - if (from.has_dataset()) { - dataset_ = new ::datacatalog::DatasetID(*from.dataset_); - } else { - dataset_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:datacatalog.Tag) -} - -void Tag::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Tag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dataset_ = nullptr; -} - -Tag::~Tag() { - // @@protoc_insertion_point(destructor:datacatalog.Tag) - SharedDtor(); -} - -void Tag::SharedDtor() { - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete dataset_; -} - -void Tag::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Tag& Tag::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Tag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void Tag::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.Tag) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - artifact_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Tag::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.Tag.name"); - object = msg->mutable_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; - } - // 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.Tag.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; - } - // .datacatalog.DatasetID dataset = 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 = ::datacatalog::DatasetID::_InternalParse; - 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; - } - 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 Tag::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.Tag) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Tag.name")); - } else { - goto handle_unusual; - } - break; - } - - // 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.Tag.artifact_id")); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.DatasetID dataset = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset())); - } 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.Tag) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.Tag) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Tag::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.Tag) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Tag.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->name(), output); - } - - // string artifact_id = 2; - if (this->artifact_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_id().data(), static_cast(this->artifact_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Tag.artifact_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->artifact_id(), output); - } - - // .datacatalog.DatasetID dataset = 3; - if (this->has_dataset()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::dataset(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.Tag) -} - -::google::protobuf::uint8* Tag::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.Tag) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string name = 1; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Tag.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } - - // string artifact_id = 2; - if (this->artifact_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_id().data(), static_cast(this->artifact_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Tag.artifact_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->artifact_id(), target); - } - - // .datacatalog.DatasetID dataset = 3; - if (this->has_dataset()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::dataset(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.Tag) - return target; -} - -size_t Tag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.Tag) - 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 name = 1; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string artifact_id = 2; - if (this->artifact_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->artifact_id()); - } - - // .datacatalog.DatasetID dataset = 3; - if (this->has_dataset()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dataset_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Tag::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.Tag) - GOOGLE_DCHECK_NE(&from, this); - const Tag* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.Tag) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.Tag) - MergeFrom(*source); - } -} - -void Tag::MergeFrom(const Tag& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.Tag) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.artifact_id().size() > 0) { - - artifact_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.artifact_id_); - } - if (from.has_dataset()) { - mutable_dataset()->::datacatalog::DatasetID::MergeFrom(from.dataset()); - } -} - -void Tag::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.Tag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Tag::CopyFrom(const Tag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.Tag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Tag::IsInitialized() const { - return true; -} - -void Tag::Swap(Tag* other) { - if (other == this) return; - InternalSwap(other); -} -void Tag::InternalSwap(Tag* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - artifact_id_.Swap(&other->artifact_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(dataset_, other->dataset_); -} - -::google::protobuf::Metadata Tag::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -Metadata_KeyMapEntry_DoNotUse::Metadata_KeyMapEntry_DoNotUse() {} -Metadata_KeyMapEntry_DoNotUse::Metadata_KeyMapEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void Metadata_KeyMapEntry_DoNotUse::MergeFrom(const Metadata_KeyMapEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::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]; -} -void Metadata_KeyMapEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Metadata_KeyMapEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - Metadata_KeyMapEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Metadata.KeyMapEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Metadata.KeyMapEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void Metadata::InitAsDefaultInstance() { -} -class Metadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Metadata::kKeyMapFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Metadata::Metadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.Metadata) -} -Metadata::Metadata(const Metadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - key_map_.MergeFrom(from.key_map_); - // @@protoc_insertion_point(copy_constructor:datacatalog.Metadata) -} - -void Metadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); -} - -Metadata::~Metadata() { - // @@protoc_insertion_point(destructor:datacatalog.Metadata) - SharedDtor(); -} - -void Metadata::SharedDtor() { -} - -void Metadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Metadata& Metadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void Metadata::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.Metadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - key_map_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Metadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map key_map = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::datacatalog::Metadata_KeyMapEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->key_map_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool Metadata::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.Metadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map key_map = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - Metadata_KeyMapEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - Metadata_KeyMapEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&key_map_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Metadata.KeyMapEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.Metadata.KeyMapEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:datacatalog.Metadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.Metadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Metadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.Metadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map key_map = 1; - if (!this->key_map().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Metadata.KeyMapEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Metadata.KeyMapEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->key_map().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->key_map().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->key_map().begin(); - it != this->key_map().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(key_map_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->key_map().begin(); - it != this->key_map().end(); ++it) { - entry.reset(key_map_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.Metadata) -} - -::google::protobuf::uint8* Metadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.Metadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map key_map = 1; - if (!this->key_map().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Metadata.KeyMapEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.Metadata.KeyMapEntry.value"); - } - }; - - if (false && - this->key_map().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->key_map().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->key_map().begin(); - it != this->key_map().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(key_map_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->key_map().begin(); - it != this->key_map().end(); ++it) { - entry.reset(key_map_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:datacatalog.Metadata) - return target; -} - -size_t Metadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.Metadata) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map key_map = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->key_map_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->key_map().begin(); - it != this->key_map().end(); ++it) { - entry.reset(key_map_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Metadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.Metadata) - GOOGLE_DCHECK_NE(&from, this); - const Metadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.Metadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.Metadata) - MergeFrom(*source); - } -} - -void Metadata::MergeFrom(const Metadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.Metadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - key_map_.MergeFrom(from.key_map_); -} - -void Metadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.Metadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Metadata::CopyFrom(const Metadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.Metadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Metadata::IsInitialized() const { - return true; -} - -void Metadata::Swap(Metadata* other) { - if (other == this) return; - InternalSwap(other); -} -void Metadata::InternalSwap(Metadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - key_map_.Swap(&other->key_map_); -} - -::google::protobuf::Metadata Metadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void FilterExpression::InitAsDefaultInstance() { -} -class FilterExpression::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int FilterExpression::kFiltersFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -FilterExpression::FilterExpression() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.FilterExpression) -} -FilterExpression::FilterExpression(const FilterExpression& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - filters_(from.filters_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:datacatalog.FilterExpression) -} - -void FilterExpression::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_FilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); -} - -FilterExpression::~FilterExpression() { - // @@protoc_insertion_point(destructor:datacatalog.FilterExpression) - SharedDtor(); -} - -void FilterExpression::SharedDtor() { -} - -void FilterExpression::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const FilterExpression& FilterExpression::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_FilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void FilterExpression::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.FilterExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - filters_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* FilterExpression::_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.SinglePropertyFilter filters = 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::SinglePropertyFilter::_InternalParse; - object = msg->add_filters(); - 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 FilterExpression::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.FilterExpression) - 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.SinglePropertyFilter filters = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_filters())); - } 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.FilterExpression) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.FilterExpression) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void FilterExpression::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.FilterExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .datacatalog.SinglePropertyFilter filters = 1; - for (unsigned int i = 0, - n = static_cast(this->filters_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, - this->filters(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.FilterExpression) -} - -::google::protobuf::uint8* FilterExpression::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.FilterExpression) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .datacatalog.SinglePropertyFilter filters = 1; - for (unsigned int i = 0, - n = static_cast(this->filters_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, this->filters(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.FilterExpression) - return target; -} - -size_t FilterExpression::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.FilterExpression) - 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.SinglePropertyFilter filters = 1; - { - unsigned int count = static_cast(this->filters_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->filters(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void FilterExpression::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.FilterExpression) - GOOGLE_DCHECK_NE(&from, this); - const FilterExpression* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.FilterExpression) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.FilterExpression) - MergeFrom(*source); - } -} - -void FilterExpression::MergeFrom(const FilterExpression& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.FilterExpression) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - filters_.MergeFrom(from.filters_); -} - -void FilterExpression::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.FilterExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void FilterExpression::CopyFrom(const FilterExpression& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.FilterExpression) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool FilterExpression::IsInitialized() const { - return true; -} - -void FilterExpression::Swap(FilterExpression* other) { - if (other == this) return; - InternalSwap(other); -} -void FilterExpression::InternalSwap(FilterExpression* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&filters_)->InternalSwap(CastToBase(&other->filters_)); -} - -::google::protobuf::Metadata FilterExpression::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void SinglePropertyFilter::InitAsDefaultInstance() { - ::datacatalog::_SinglePropertyFilter_default_instance_.tag_filter_ = const_cast< ::datacatalog::TagPropertyFilter*>( - ::datacatalog::TagPropertyFilter::internal_default_instance()); - ::datacatalog::_SinglePropertyFilter_default_instance_.partition_filter_ = const_cast< ::datacatalog::PartitionPropertyFilter*>( - ::datacatalog::PartitionPropertyFilter::internal_default_instance()); - ::datacatalog::_SinglePropertyFilter_default_instance_.artifact_filter_ = const_cast< ::datacatalog::ArtifactPropertyFilter*>( - ::datacatalog::ArtifactPropertyFilter::internal_default_instance()); - ::datacatalog::_SinglePropertyFilter_default_instance_.dataset_filter_ = const_cast< ::datacatalog::DatasetPropertyFilter*>( - ::datacatalog::DatasetPropertyFilter::internal_default_instance()); -} -class SinglePropertyFilter::HasBitSetters { - public: - static const ::datacatalog::TagPropertyFilter& tag_filter(const SinglePropertyFilter* msg); - static const ::datacatalog::PartitionPropertyFilter& partition_filter(const SinglePropertyFilter* msg); - static const ::datacatalog::ArtifactPropertyFilter& artifact_filter(const SinglePropertyFilter* msg); - static const ::datacatalog::DatasetPropertyFilter& dataset_filter(const SinglePropertyFilter* msg); -}; - -const ::datacatalog::TagPropertyFilter& -SinglePropertyFilter::HasBitSetters::tag_filter(const SinglePropertyFilter* msg) { - return *msg->property_filter_.tag_filter_; -} -const ::datacatalog::PartitionPropertyFilter& -SinglePropertyFilter::HasBitSetters::partition_filter(const SinglePropertyFilter* msg) { - return *msg->property_filter_.partition_filter_; -} -const ::datacatalog::ArtifactPropertyFilter& -SinglePropertyFilter::HasBitSetters::artifact_filter(const SinglePropertyFilter* msg) { - return *msg->property_filter_.artifact_filter_; -} -const ::datacatalog::DatasetPropertyFilter& -SinglePropertyFilter::HasBitSetters::dataset_filter(const SinglePropertyFilter* msg) { - return *msg->property_filter_.dataset_filter_; -} -void SinglePropertyFilter::set_allocated_tag_filter(::datacatalog::TagPropertyFilter* tag_filter) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_property_filter(); - if (tag_filter) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - tag_filter = ::google::protobuf::internal::GetOwnedMessage( - message_arena, tag_filter, submessage_arena); - } - set_has_tag_filter(); - property_filter_.tag_filter_ = tag_filter; - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.SinglePropertyFilter.tag_filter) -} -void SinglePropertyFilter::set_allocated_partition_filter(::datacatalog::PartitionPropertyFilter* partition_filter) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_property_filter(); - if (partition_filter) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - partition_filter = ::google::protobuf::internal::GetOwnedMessage( - message_arena, partition_filter, submessage_arena); - } - set_has_partition_filter(); - property_filter_.partition_filter_ = partition_filter; - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.SinglePropertyFilter.partition_filter) -} -void SinglePropertyFilter::set_allocated_artifact_filter(::datacatalog::ArtifactPropertyFilter* artifact_filter) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_property_filter(); - if (artifact_filter) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact_filter = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact_filter, submessage_arena); - } - set_has_artifact_filter(); - property_filter_.artifact_filter_ = artifact_filter; - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.SinglePropertyFilter.artifact_filter) -} -void SinglePropertyFilter::set_allocated_dataset_filter(::datacatalog::DatasetPropertyFilter* dataset_filter) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_property_filter(); - if (dataset_filter) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - dataset_filter = ::google::protobuf::internal::GetOwnedMessage( - message_arena, dataset_filter, submessage_arena); - } - set_has_dataset_filter(); - property_filter_.dataset_filter_ = dataset_filter; - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.SinglePropertyFilter.dataset_filter) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SinglePropertyFilter::kTagFilterFieldNumber; -const int SinglePropertyFilter::kPartitionFilterFieldNumber; -const int SinglePropertyFilter::kArtifactFilterFieldNumber; -const int SinglePropertyFilter::kDatasetFilterFieldNumber; -const int SinglePropertyFilter::kOperatorFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SinglePropertyFilter::SinglePropertyFilter() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.SinglePropertyFilter) -} -SinglePropertyFilter::SinglePropertyFilter(const SinglePropertyFilter& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - operator__ = from.operator__; - clear_has_property_filter(); - switch (from.property_filter_case()) { - case kTagFilter: { - mutable_tag_filter()->::datacatalog::TagPropertyFilter::MergeFrom(from.tag_filter()); - break; - } - case kPartitionFilter: { - mutable_partition_filter()->::datacatalog::PartitionPropertyFilter::MergeFrom(from.partition_filter()); - break; - } - case kArtifactFilter: { - mutable_artifact_filter()->::datacatalog::ArtifactPropertyFilter::MergeFrom(from.artifact_filter()); - break; - } - case kDatasetFilter: { - mutable_dataset_filter()->::datacatalog::DatasetPropertyFilter::MergeFrom(from.dataset_filter()); - break; - } - case PROPERTY_FILTER_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:datacatalog.SinglePropertyFilter) -} - -void SinglePropertyFilter::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - operator__ = 0; - clear_has_property_filter(); -} - -SinglePropertyFilter::~SinglePropertyFilter() { - // @@protoc_insertion_point(destructor:datacatalog.SinglePropertyFilter) - SharedDtor(); -} - -void SinglePropertyFilter::SharedDtor() { - if (has_property_filter()) { - clear_property_filter(); - } -} - -void SinglePropertyFilter::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SinglePropertyFilter& SinglePropertyFilter::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void SinglePropertyFilter::clear_property_filter() { -// @@protoc_insertion_point(one_of_clear_start:datacatalog.SinglePropertyFilter) - switch (property_filter_case()) { - case kTagFilter: { - delete property_filter_.tag_filter_; - break; - } - case kPartitionFilter: { - delete property_filter_.partition_filter_; - break; - } - case kArtifactFilter: { - delete property_filter_.artifact_filter_; - break; - } - case kDatasetFilter: { - delete property_filter_.dataset_filter_; - break; - } - case PROPERTY_FILTER_NOT_SET: { - break; - } - } - _oneof_case_[0] = PROPERTY_FILTER_NOT_SET; -} - - -void SinglePropertyFilter::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.SinglePropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - operator__ = 0; - clear_property_filter(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SinglePropertyFilter::_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.TagPropertyFilter tag_filter = 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::TagPropertyFilter::_InternalParse; - object = msg->mutable_tag_filter(); - 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; - } - // .datacatalog.PartitionPropertyFilter partition_filter = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::datacatalog::PartitionPropertyFilter::_InternalParse; - object = msg->mutable_partition_filter(); - 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; - } - // .datacatalog.ArtifactPropertyFilter artifact_filter = 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 = ::datacatalog::ArtifactPropertyFilter::_InternalParse; - object = msg->mutable_artifact_filter(); - 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; - } - // .datacatalog.DatasetPropertyFilter dataset_filter = 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 = ::datacatalog::DatasetPropertyFilter::_InternalParse; - object = msg->mutable_dataset_filter(); - 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; - } - // .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 80) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_operator_(static_cast<::datacatalog::SinglePropertyFilter_ComparisonOperator>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 SinglePropertyFilter::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.SinglePropertyFilter) - 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.TagPropertyFilter tag_filter = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_tag_filter())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.PartitionPropertyFilter partition_filter = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_partition_filter())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_artifact_filter())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.DatasetPropertyFilter dataset_filter = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset_filter())); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (80 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_operator_(static_cast< ::datacatalog::SinglePropertyFilter_ComparisonOperator >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:datacatalog.SinglePropertyFilter) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.SinglePropertyFilter) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SinglePropertyFilter::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.SinglePropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.TagPropertyFilter tag_filter = 1; - if (has_tag_filter()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::tag_filter(this), output); - } - - // .datacatalog.PartitionPropertyFilter partition_filter = 2; - if (has_partition_filter()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::partition_filter(this), output); - } - - // .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - if (has_artifact_filter()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::artifact_filter(this), output); - } - - // .datacatalog.DatasetPropertyFilter dataset_filter = 4; - if (has_dataset_filter()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::dataset_filter(this), output); - } - - // .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - if (this->operator_() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 10, this->operator_(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.SinglePropertyFilter) -} - -::google::protobuf::uint8* SinglePropertyFilter::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.SinglePropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.TagPropertyFilter tag_filter = 1; - if (has_tag_filter()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::tag_filter(this), target); - } - - // .datacatalog.PartitionPropertyFilter partition_filter = 2; - if (has_partition_filter()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::partition_filter(this), target); - } - - // .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - if (has_artifact_filter()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::artifact_filter(this), target); - } - - // .datacatalog.DatasetPropertyFilter dataset_filter = 4; - if (has_dataset_filter()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::dataset_filter(this), target); - } - - // .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - if (this->operator_() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 10, this->operator_(), 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.SinglePropertyFilter) - return target; -} - -size_t SinglePropertyFilter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.SinglePropertyFilter) - 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.SinglePropertyFilter.ComparisonOperator operator = 10; - if (this->operator_() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->operator_()); - } - - switch (property_filter_case()) { - // .datacatalog.TagPropertyFilter tag_filter = 1; - case kTagFilter: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *property_filter_.tag_filter_); - break; - } - // .datacatalog.PartitionPropertyFilter partition_filter = 2; - case kPartitionFilter: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *property_filter_.partition_filter_); - break; - } - // .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - case kArtifactFilter: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *property_filter_.artifact_filter_); - break; - } - // .datacatalog.DatasetPropertyFilter dataset_filter = 4; - case kDatasetFilter: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *property_filter_.dataset_filter_); - break; - } - case PROPERTY_FILTER_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SinglePropertyFilter::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.SinglePropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - const SinglePropertyFilter* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.SinglePropertyFilter) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.SinglePropertyFilter) - MergeFrom(*source); - } -} - -void SinglePropertyFilter::MergeFrom(const SinglePropertyFilter& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.SinglePropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.operator_() != 0) { - set_operator_(from.operator_()); - } - switch (from.property_filter_case()) { - case kTagFilter: { - mutable_tag_filter()->::datacatalog::TagPropertyFilter::MergeFrom(from.tag_filter()); - break; - } - case kPartitionFilter: { - mutable_partition_filter()->::datacatalog::PartitionPropertyFilter::MergeFrom(from.partition_filter()); - break; - } - case kArtifactFilter: { - mutable_artifact_filter()->::datacatalog::ArtifactPropertyFilter::MergeFrom(from.artifact_filter()); - break; - } - case kDatasetFilter: { - mutable_dataset_filter()->::datacatalog::DatasetPropertyFilter::MergeFrom(from.dataset_filter()); - break; - } - case PROPERTY_FILTER_NOT_SET: { - break; - } - } -} - -void SinglePropertyFilter::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.SinglePropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SinglePropertyFilter::CopyFrom(const SinglePropertyFilter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.SinglePropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SinglePropertyFilter::IsInitialized() const { - return true; -} - -void SinglePropertyFilter::Swap(SinglePropertyFilter* other) { - if (other == this) return; - InternalSwap(other); -} -void SinglePropertyFilter::InternalSwap(SinglePropertyFilter* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(operator__, other->operator__); - swap(property_filter_, other->property_filter_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata SinglePropertyFilter::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ArtifactPropertyFilter::InitAsDefaultInstance() { - ::datacatalog::_ArtifactPropertyFilter_default_instance_.artifact_id_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class ArtifactPropertyFilter::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArtifactPropertyFilter::kArtifactIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArtifactPropertyFilter::ArtifactPropertyFilter() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ArtifactPropertyFilter) -} -ArtifactPropertyFilter::ArtifactPropertyFilter(const ArtifactPropertyFilter& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_property(); - switch (from.property_case()) { - case kArtifactId: { - set_artifact_id(from.artifact_id()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:datacatalog.ArtifactPropertyFilter) -} - -void ArtifactPropertyFilter::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - clear_has_property(); -} - -ArtifactPropertyFilter::~ArtifactPropertyFilter() { - // @@protoc_insertion_point(destructor:datacatalog.ArtifactPropertyFilter) - SharedDtor(); -} - -void ArtifactPropertyFilter::SharedDtor() { - if (has_property()) { - clear_property(); - } -} - -void ArtifactPropertyFilter::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArtifactPropertyFilter& ArtifactPropertyFilter::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void ArtifactPropertyFilter::clear_property() { -// @@protoc_insertion_point(one_of_clear_start:datacatalog.ArtifactPropertyFilter) - switch (property_case()) { - case kArtifactId: { - property_.artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - _oneof_case_[0] = PROPERTY_NOT_SET; -} - - -void ArtifactPropertyFilter::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ArtifactPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_property(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArtifactPropertyFilter::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string artifact_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); - ctx->extra_parse_data().SetFieldName("datacatalog.ArtifactPropertyFilter.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; - } - 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 ArtifactPropertyFilter::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.ArtifactPropertyFilter) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string artifact_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 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.ArtifactPropertyFilter.artifact_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:datacatalog.ArtifactPropertyFilter) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ArtifactPropertyFilter) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArtifactPropertyFilter::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ArtifactPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string artifact_id = 1; - 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.ArtifactPropertyFilter.artifact_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->artifact_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.ArtifactPropertyFilter) -} - -::google::protobuf::uint8* ArtifactPropertyFilter::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ArtifactPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string artifact_id = 1; - 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.ArtifactPropertyFilter.artifact_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->artifact_id(), 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.ArtifactPropertyFilter) - return target; -} - -size_t ArtifactPropertyFilter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.ArtifactPropertyFilter) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (property_case()) { - // string artifact_id = 1; - case kArtifactId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->artifact_id()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArtifactPropertyFilter::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ArtifactPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - const ArtifactPropertyFilter* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ArtifactPropertyFilter) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ArtifactPropertyFilter) - MergeFrom(*source); - } -} - -void ArtifactPropertyFilter::MergeFrom(const ArtifactPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ArtifactPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.property_case()) { - case kArtifactId: { - set_artifact_id(from.artifact_id()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } -} - -void ArtifactPropertyFilter::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ArtifactPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArtifactPropertyFilter::CopyFrom(const ArtifactPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ArtifactPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArtifactPropertyFilter::IsInitialized() const { - return true; -} - -void ArtifactPropertyFilter::Swap(ArtifactPropertyFilter* other) { - if (other == this) return; - InternalSwap(other); -} -void ArtifactPropertyFilter::InternalSwap(ArtifactPropertyFilter* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(property_, other->property_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata ArtifactPropertyFilter::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TagPropertyFilter::InitAsDefaultInstance() { - ::datacatalog::_TagPropertyFilter_default_instance_.tag_name_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class TagPropertyFilter::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TagPropertyFilter::kTagNameFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TagPropertyFilter::TagPropertyFilter() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.TagPropertyFilter) -} -TagPropertyFilter::TagPropertyFilter(const TagPropertyFilter& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_property(); - switch (from.property_case()) { - case kTagName: { - set_tag_name(from.tag_name()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:datacatalog.TagPropertyFilter) -} - -void TagPropertyFilter::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - clear_has_property(); -} - -TagPropertyFilter::~TagPropertyFilter() { - // @@protoc_insertion_point(destructor:datacatalog.TagPropertyFilter) - SharedDtor(); -} - -void TagPropertyFilter::SharedDtor() { - if (has_property()) { - clear_property(); - } -} - -void TagPropertyFilter::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TagPropertyFilter& TagPropertyFilter::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void TagPropertyFilter::clear_property() { -// @@protoc_insertion_point(one_of_clear_start:datacatalog.TagPropertyFilter) - switch (property_case()) { - case kTagName: { - property_.tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - _oneof_case_[0] = PROPERTY_NOT_SET; -} - - -void TagPropertyFilter::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.TagPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_property(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TagPropertyFilter::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string tag_name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.TagPropertyFilter.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 TagPropertyFilter::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.TagPropertyFilter) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string tag_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 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.TagPropertyFilter.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.TagPropertyFilter) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.TagPropertyFilter) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TagPropertyFilter::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.TagPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string tag_name = 1; - 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.TagPropertyFilter.tag_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, 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.TagPropertyFilter) -} - -::google::protobuf::uint8* TagPropertyFilter::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.TagPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string tag_name = 1; - 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.TagPropertyFilter.tag_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, 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.TagPropertyFilter) - return target; -} - -size_t TagPropertyFilter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.TagPropertyFilter) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (property_case()) { - // string tag_name = 1; - case kTagName: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->tag_name()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TagPropertyFilter::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.TagPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - const TagPropertyFilter* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.TagPropertyFilter) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.TagPropertyFilter) - MergeFrom(*source); - } -} - -void TagPropertyFilter::MergeFrom(const TagPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.TagPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.property_case()) { - case kTagName: { - set_tag_name(from.tag_name()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } -} - -void TagPropertyFilter::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.TagPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TagPropertyFilter::CopyFrom(const TagPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.TagPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TagPropertyFilter::IsInitialized() const { - return true; -} - -void TagPropertyFilter::Swap(TagPropertyFilter* other) { - if (other == this) return; - InternalSwap(other); -} -void TagPropertyFilter::InternalSwap(TagPropertyFilter* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(property_, other->property_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata TagPropertyFilter::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PartitionPropertyFilter::InitAsDefaultInstance() { - ::datacatalog::_PartitionPropertyFilter_default_instance_.key_val_ = const_cast< ::datacatalog::KeyValuePair*>( - ::datacatalog::KeyValuePair::internal_default_instance()); -} -class PartitionPropertyFilter::HasBitSetters { - public: - static const ::datacatalog::KeyValuePair& key_val(const PartitionPropertyFilter* msg); -}; - -const ::datacatalog::KeyValuePair& -PartitionPropertyFilter::HasBitSetters::key_val(const PartitionPropertyFilter* msg) { - return *msg->property_.key_val_; -} -void PartitionPropertyFilter::set_allocated_key_val(::datacatalog::KeyValuePair* key_val) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_property(); - if (key_val) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - key_val = ::google::protobuf::internal::GetOwnedMessage( - message_arena, key_val, submessage_arena); - } - set_has_key_val(); - property_.key_val_ = key_val; - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.PartitionPropertyFilter.key_val) -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PartitionPropertyFilter::kKeyValFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PartitionPropertyFilter::PartitionPropertyFilter() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.PartitionPropertyFilter) -} -PartitionPropertyFilter::PartitionPropertyFilter(const PartitionPropertyFilter& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_property(); - switch (from.property_case()) { - case kKeyVal: { - mutable_key_val()->::datacatalog::KeyValuePair::MergeFrom(from.key_val()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:datacatalog.PartitionPropertyFilter) -} - -void PartitionPropertyFilter::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - clear_has_property(); -} - -PartitionPropertyFilter::~PartitionPropertyFilter() { - // @@protoc_insertion_point(destructor:datacatalog.PartitionPropertyFilter) - SharedDtor(); -} - -void PartitionPropertyFilter::SharedDtor() { - if (has_property()) { - clear_property(); - } -} - -void PartitionPropertyFilter::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PartitionPropertyFilter& PartitionPropertyFilter::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void PartitionPropertyFilter::clear_property() { -// @@protoc_insertion_point(one_of_clear_start:datacatalog.PartitionPropertyFilter) - switch (property_case()) { - case kKeyVal: { - delete property_.key_val_; - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - _oneof_case_[0] = PROPERTY_NOT_SET; -} - - -void PartitionPropertyFilter::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.PartitionPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_property(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PartitionPropertyFilter::_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.KeyValuePair key_val = 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::KeyValuePair::_InternalParse; - object = msg->mutable_key_val(); - 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 PartitionPropertyFilter::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.PartitionPropertyFilter) - 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.KeyValuePair key_val = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_key_val())); - } 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.PartitionPropertyFilter) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.PartitionPropertyFilter) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PartitionPropertyFilter::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.PartitionPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.KeyValuePair key_val = 1; - if (has_key_val()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::key_val(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.PartitionPropertyFilter) -} - -::google::protobuf::uint8* PartitionPropertyFilter::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.PartitionPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .datacatalog.KeyValuePair key_val = 1; - if (has_key_val()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::key_val(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.PartitionPropertyFilter) - return target; -} - -size_t PartitionPropertyFilter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.PartitionPropertyFilter) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (property_case()) { - // .datacatalog.KeyValuePair key_val = 1; - case kKeyVal: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *property_.key_val_); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PartitionPropertyFilter::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.PartitionPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - const PartitionPropertyFilter* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.PartitionPropertyFilter) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.PartitionPropertyFilter) - MergeFrom(*source); - } -} - -void PartitionPropertyFilter::MergeFrom(const PartitionPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.PartitionPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.property_case()) { - case kKeyVal: { - mutable_key_val()->::datacatalog::KeyValuePair::MergeFrom(from.key_val()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } -} - -void PartitionPropertyFilter::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.PartitionPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PartitionPropertyFilter::CopyFrom(const PartitionPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.PartitionPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PartitionPropertyFilter::IsInitialized() const { - return true; -} - -void PartitionPropertyFilter::Swap(PartitionPropertyFilter* other) { - if (other == this) return; - InternalSwap(other); -} -void PartitionPropertyFilter::InternalSwap(PartitionPropertyFilter* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(property_, other->property_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata PartitionPropertyFilter::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void KeyValuePair::InitAsDefaultInstance() { -} -class KeyValuePair::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int KeyValuePair::kKeyFieldNumber; -const int KeyValuePair::kValueFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -KeyValuePair::KeyValuePair() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.KeyValuePair) -} -KeyValuePair::KeyValuePair(const KeyValuePair& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.key().size() > 0) { - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.value().size() > 0) { - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } - // @@protoc_insertion_point(copy_constructor:datacatalog.KeyValuePair) -} - -void KeyValuePair::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_KeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -KeyValuePair::~KeyValuePair() { - // @@protoc_insertion_point(destructor:datacatalog.KeyValuePair) - SharedDtor(); -} - -void KeyValuePair::SharedDtor() { - key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void KeyValuePair::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const KeyValuePair& KeyValuePair::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_KeyValuePair_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void KeyValuePair::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.KeyValuePair) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* KeyValuePair::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string key = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.KeyValuePair.key"); - object = msg->mutable_key(); - 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 value = 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.KeyValuePair.value"); - object = msg->mutable_value(); - 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 KeyValuePair::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.KeyValuePair) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string key = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.KeyValuePair.key")); - } else { - goto handle_unusual; - } - break; - } - - // string value = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.KeyValuePair.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:datacatalog.KeyValuePair) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.KeyValuePair) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void KeyValuePair::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.KeyValuePair) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.KeyValuePair.key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->key(), output); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.KeyValuePair.value"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->value(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.KeyValuePair) -} - -::google::protobuf::uint8* KeyValuePair::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.KeyValuePair) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string key = 1; - if (this->key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->key().data(), static_cast(this->key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.KeyValuePair.key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } - - // string value = 2; - if (this->value().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->value().data(), static_cast(this->value().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.KeyValuePair.value"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->value(), 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.KeyValuePair) - return target; -} - -size_t KeyValuePair::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.KeyValuePair) - 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 key = 1; - if (this->key().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } - - // string value = 2; - if (this->value().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void KeyValuePair::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.KeyValuePair) - GOOGLE_DCHECK_NE(&from, this); - const KeyValuePair* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.KeyValuePair) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.KeyValuePair) - MergeFrom(*source); - } -} - -void KeyValuePair::MergeFrom(const KeyValuePair& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.KeyValuePair) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.key().size() > 0) { - - key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); - } - if (from.value().size() > 0) { - - value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); - } -} - -void KeyValuePair::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.KeyValuePair) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void KeyValuePair::CopyFrom(const KeyValuePair& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.KeyValuePair) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool KeyValuePair::IsInitialized() const { - return true; -} - -void KeyValuePair::Swap(KeyValuePair* other) { - if (other == this) return; - InternalSwap(other); -} -void KeyValuePair::InternalSwap(KeyValuePair* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - key_.Swap(&other->key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata KeyValuePair::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DatasetPropertyFilter::InitAsDefaultInstance() { - ::datacatalog::_DatasetPropertyFilter_default_instance_.project_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::datacatalog::_DatasetPropertyFilter_default_instance_.name_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::datacatalog::_DatasetPropertyFilter_default_instance_.domain_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::datacatalog::_DatasetPropertyFilter_default_instance_.version_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::datacatalog::_DatasetPropertyFilter_default_instance_.org_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -class DatasetPropertyFilter::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DatasetPropertyFilter::kProjectFieldNumber; -const int DatasetPropertyFilter::kNameFieldNumber; -const int DatasetPropertyFilter::kDomainFieldNumber; -const int DatasetPropertyFilter::kVersionFieldNumber; -const int DatasetPropertyFilter::kOrgFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DatasetPropertyFilter::DatasetPropertyFilter() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.DatasetPropertyFilter) -} -DatasetPropertyFilter::DatasetPropertyFilter(const DatasetPropertyFilter& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_property(); - switch (from.property_case()) { - case kProject: { - set_project(from.project()); - break; - } - case kName: { - set_name(from.name()); - break; - } - case kDomain: { - set_domain(from.domain()); - break; - } - case kVersion: { - set_version(from.version()); - break; - } - case kOrg: { - set_org(from.org()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:datacatalog.DatasetPropertyFilter) -} - -void DatasetPropertyFilter::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - clear_has_property(); -} - -DatasetPropertyFilter::~DatasetPropertyFilter() { - // @@protoc_insertion_point(destructor:datacatalog.DatasetPropertyFilter) - SharedDtor(); -} - -void DatasetPropertyFilter::SharedDtor() { - if (has_property()) { - clear_property(); - } -} - -void DatasetPropertyFilter::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DatasetPropertyFilter& DatasetPropertyFilter::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DatasetPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void DatasetPropertyFilter::clear_property() { -// @@protoc_insertion_point(one_of_clear_start:datacatalog.DatasetPropertyFilter) - switch (property_case()) { - case kProject: { - property_.project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kName: { - property_.name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kDomain: { - property_.domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kVersion: { - property_.version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kOrg: { - property_.org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - _oneof_case_[0] = PROPERTY_NOT_SET; -} - - -void DatasetPropertyFilter::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.DatasetPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_property(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DatasetPropertyFilter::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.DatasetPropertyFilter.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string 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.DatasetPropertyFilter.name"); - object = msg->mutable_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; - } - // string domain = 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.DatasetPropertyFilter.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string version = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("datacatalog.DatasetPropertyFilter.version"); - object = msg->mutable_version(); - 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 org = 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); - ctx->extra_parse_data().SetFieldName("datacatalog.DatasetPropertyFilter.org"); - object = msg->mutable_org(); - 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 DatasetPropertyFilter::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.DatasetPropertyFilter) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetPropertyFilter.project")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetPropertyFilter.name")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetPropertyFilter.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string version = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_version())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetPropertyFilter.version")); - } else { - goto handle_unusual; - } - break; - } - - // string org = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_org())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.DatasetPropertyFilter.org")); - } 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.DatasetPropertyFilter) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.DatasetPropertyFilter) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DatasetPropertyFilter::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.DatasetPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (has_project()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string name = 2; - if (has_name()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - // string domain = 3; - if (has_domain()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->domain(), output); - } - - // string version = 4; - if (has_version()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.version"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->version(), output); - } - - // string org = 5; - if (has_org()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.org"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->org(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.DatasetPropertyFilter) -} - -::google::protobuf::uint8* DatasetPropertyFilter::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.DatasetPropertyFilter) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (has_project()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string name = 2; - if (has_name()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->name(), target); - } - - // string domain = 3; - if (has_domain()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->domain(), target); - } - - // string version = 4; - if (has_version()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->version().data(), static_cast(this->version().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.version"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->version(), target); - } - - // string org = 5; - if (has_org()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->org().data(), static_cast(this->org().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.DatasetPropertyFilter.org"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->org(), 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.DatasetPropertyFilter) - return target; -} - -size_t DatasetPropertyFilter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.DatasetPropertyFilter) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (property_case()) { - // string project = 1; - case kProject: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - break; - } - // string name = 2; - case kName: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - break; - } - // string domain = 3; - case kDomain: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - break; - } - // string version = 4; - case kVersion: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->version()); - break; - } - // string org = 5; - case kOrg: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->org()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DatasetPropertyFilter::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.DatasetPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - const DatasetPropertyFilter* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.DatasetPropertyFilter) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.DatasetPropertyFilter) - MergeFrom(*source); - } -} - -void DatasetPropertyFilter::MergeFrom(const DatasetPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.DatasetPropertyFilter) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.property_case()) { - case kProject: { - set_project(from.project()); - break; - } - case kName: { - set_name(from.name()); - break; - } - case kDomain: { - set_domain(from.domain()); - break; - } - case kVersion: { - set_version(from.version()); - break; - } - case kOrg: { - set_org(from.org()); - break; - } - case PROPERTY_NOT_SET: { - break; - } - } -} - -void DatasetPropertyFilter::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.DatasetPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DatasetPropertyFilter::CopyFrom(const DatasetPropertyFilter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.DatasetPropertyFilter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DatasetPropertyFilter::IsInitialized() const { - return true; -} - -void DatasetPropertyFilter::Swap(DatasetPropertyFilter* other) { - if (other == this) return; - InternalSwap(other); -} -void DatasetPropertyFilter::InternalSwap(DatasetPropertyFilter* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(property_, other->property_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata DatasetPropertyFilter::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PaginationOptions::InitAsDefaultInstance() { -} -class PaginationOptions::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PaginationOptions::kLimitFieldNumber; -const int PaginationOptions::kTokenFieldNumber; -const int PaginationOptions::kSortKeyFieldNumber; -const int PaginationOptions::kSortOrderFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PaginationOptions::PaginationOptions() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.PaginationOptions) -} -PaginationOptions::PaginationOptions(const PaginationOptions& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token().size() > 0) { - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - ::memcpy(&limit_, &from.limit_, - static_cast(reinterpret_cast(&sortorder_) - - reinterpret_cast(&limit_)) + sizeof(sortorder_)); - // @@protoc_insertion_point(copy_constructor:datacatalog.PaginationOptions) -} - -void PaginationOptions::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&limit_, 0, static_cast( - reinterpret_cast(&sortorder_) - - reinterpret_cast(&limit_)) + sizeof(sortorder_)); -} - -PaginationOptions::~PaginationOptions() { - // @@protoc_insertion_point(destructor:datacatalog.PaginationOptions) - SharedDtor(); -} - -void PaginationOptions::SharedDtor() { - token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void PaginationOptions::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PaginationOptions& PaginationOptions::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - return *internal_default_instance(); -} - - -void PaginationOptions::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.PaginationOptions) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&limit_, 0, static_cast( - reinterpret_cast(&sortorder_) - - reinterpret_cast(&limit_)) + sizeof(sortorder_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PaginationOptions::_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) { - // uint32 limit = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string token = 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.PaginationOptions.token"); - object = msg->mutable_token(); - 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; - } - // .datacatalog.PaginationOptions.SortKey sortKey = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_sortkey(static_cast<::datacatalog::PaginationOptions_SortKey>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_sortorder(static_cast<::datacatalog::PaginationOptions_SortOrder>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 PaginationOptions::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.PaginationOptions) - 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)) { - // uint32 limit = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &limit_))); - } else { - goto handle_unusual; - } - break; - } - - // string token = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.PaginationOptions.token")); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.PaginationOptions.SortKey sortKey = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_sortkey(static_cast< ::datacatalog::PaginationOptions_SortKey >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_sortorder(static_cast< ::datacatalog::PaginationOptions_SortOrder >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:datacatalog.PaginationOptions) - return true; -failure: - // @@protoc_insertion_point(parse_failure:datacatalog.PaginationOptions) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PaginationOptions::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.PaginationOptions) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 limit = 1; - if (this->limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->limit(), output); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.PaginationOptions.token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->token(), output); - } - - // .datacatalog.PaginationOptions.SortKey sortKey = 3; - if (this->sortkey() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->sortkey(), output); - } - - // .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - if (this->sortorder() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->sortorder(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:datacatalog.PaginationOptions) -} - -::google::protobuf::uint8* PaginationOptions::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.PaginationOptions) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 limit = 1; - if (this->limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->limit(), target); - } - - // string token = 2; - if (this->token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token().data(), static_cast(this->token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.PaginationOptions.token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->token(), target); - } - - // .datacatalog.PaginationOptions.SortKey sortKey = 3; - if (this->sortkey() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->sortkey(), target); - } - - // .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - if (this->sortorder() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->sortorder(), 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.PaginationOptions) - return target; -} - -size_t PaginationOptions::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.PaginationOptions) - 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 token = 2; - if (this->token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token()); - } - - // uint32 limit = 1; - if (this->limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->limit()); - } - - // .datacatalog.PaginationOptions.SortKey sortKey = 3; - if (this->sortkey() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->sortkey()); - } - - // .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - if (this->sortorder() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->sortorder()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PaginationOptions::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.PaginationOptions) - GOOGLE_DCHECK_NE(&from, this); - const PaginationOptions* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.PaginationOptions) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.PaginationOptions) - MergeFrom(*source); - } -} - -void PaginationOptions::MergeFrom(const PaginationOptions& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.PaginationOptions) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.token().size() > 0) { - - token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); - } - if (from.limit() != 0) { - set_limit(from.limit()); - } - if (from.sortkey() != 0) { - set_sortkey(from.sortkey()); - } - if (from.sortorder() != 0) { - set_sortorder(from.sortorder()); - } -} - -void PaginationOptions::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.PaginationOptions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PaginationOptions::CopyFrom(const PaginationOptions& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.PaginationOptions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PaginationOptions::IsInitialized() const { - return true; -} - -void PaginationOptions::Swap(PaginationOptions* other) { - if (other == this) return; - InternalSwap(other); -} -void PaginationOptions::InternalSwap(PaginationOptions* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(limit_, other->limit_); - swap(sortkey_, other->sortkey_); - swap(sortorder_, other->sortorder_); -} - -::google::protobuf::Metadata PaginationOptions::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace datacatalog -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::datacatalog::CreateDatasetRequest* Arena::CreateMaybeMessage< ::datacatalog::CreateDatasetRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::CreateDatasetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::CreateDatasetResponse* Arena::CreateMaybeMessage< ::datacatalog::CreateDatasetResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::CreateDatasetResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::GetDatasetRequest* Arena::CreateMaybeMessage< ::datacatalog::GetDatasetRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::GetDatasetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::GetDatasetResponse* Arena::CreateMaybeMessage< ::datacatalog::GetDatasetResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::GetDatasetResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::GetArtifactRequest* Arena::CreateMaybeMessage< ::datacatalog::GetArtifactRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::GetArtifactRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::GetArtifactResponse* Arena::CreateMaybeMessage< ::datacatalog::GetArtifactResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::GetArtifactResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::CreateArtifactRequest* Arena::CreateMaybeMessage< ::datacatalog::CreateArtifactRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::CreateArtifactRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::CreateArtifactResponse* Arena::CreateMaybeMessage< ::datacatalog::CreateArtifactResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::CreateArtifactResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::AddTagRequest* Arena::CreateMaybeMessage< ::datacatalog::AddTagRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::AddTagRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::AddTagResponse* Arena::CreateMaybeMessage< ::datacatalog::AddTagResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::AddTagResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::ListArtifactsRequest* Arena::CreateMaybeMessage< ::datacatalog::ListArtifactsRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ListArtifactsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::ListArtifactsResponse* Arena::CreateMaybeMessage< ::datacatalog::ListArtifactsResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ListArtifactsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::ListDatasetsRequest* Arena::CreateMaybeMessage< ::datacatalog::ListDatasetsRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ListDatasetsRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::ListDatasetsResponse* Arena::CreateMaybeMessage< ::datacatalog::ListDatasetsResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ListDatasetsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::UpdateArtifactRequest* Arena::CreateMaybeMessage< ::datacatalog::UpdateArtifactRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::UpdateArtifactRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::UpdateArtifactResponse* Arena::CreateMaybeMessage< ::datacatalog::UpdateArtifactResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::UpdateArtifactResponse >(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::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::ReleaseReservationRequest* Arena::CreateMaybeMessage< ::datacatalog::ReleaseReservationRequest >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ReleaseReservationRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::ReleaseReservationResponse* Arena::CreateMaybeMessage< ::datacatalog::ReleaseReservationResponse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ReleaseReservationResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::Dataset* Arena::CreateMaybeMessage< ::datacatalog::Dataset >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::Dataset >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::Partition* Arena::CreateMaybeMessage< ::datacatalog::Partition >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::Partition >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::DatasetID* Arena::CreateMaybeMessage< ::datacatalog::DatasetID >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::DatasetID >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::Artifact* Arena::CreateMaybeMessage< ::datacatalog::Artifact >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::Artifact >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::ArtifactData* Arena::CreateMaybeMessage< ::datacatalog::ArtifactData >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ArtifactData >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::Tag* Arena::CreateMaybeMessage< ::datacatalog::Tag >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::Tag >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::Metadata_KeyMapEntry_DoNotUse* Arena::CreateMaybeMessage< ::datacatalog::Metadata_KeyMapEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::Metadata_KeyMapEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::Metadata* Arena::CreateMaybeMessage< ::datacatalog::Metadata >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::Metadata >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::FilterExpression* Arena::CreateMaybeMessage< ::datacatalog::FilterExpression >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::FilterExpression >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::SinglePropertyFilter* Arena::CreateMaybeMessage< ::datacatalog::SinglePropertyFilter >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::SinglePropertyFilter >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::ArtifactPropertyFilter* Arena::CreateMaybeMessage< ::datacatalog::ArtifactPropertyFilter >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::ArtifactPropertyFilter >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::TagPropertyFilter* Arena::CreateMaybeMessage< ::datacatalog::TagPropertyFilter >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::TagPropertyFilter >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::PartitionPropertyFilter* Arena::CreateMaybeMessage< ::datacatalog::PartitionPropertyFilter >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::PartitionPropertyFilter >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::KeyValuePair* Arena::CreateMaybeMessage< ::datacatalog::KeyValuePair >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::KeyValuePair >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::DatasetPropertyFilter* Arena::CreateMaybeMessage< ::datacatalog::DatasetPropertyFilter >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::DatasetPropertyFilter >(arena); -} -template<> PROTOBUF_NOINLINE ::datacatalog::PaginationOptions* Arena::CreateMaybeMessage< ::datacatalog::PaginationOptions >(Arena* arena) { - return Arena::CreateInternal< ::datacatalog::PaginationOptions >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.h b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.h deleted file mode 100644 index 27a69c19e7..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.h +++ /dev/null @@ -1,9995 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/datacatalog/datacatalog.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fdatacatalog_2fdatacatalog_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fdatacatalog_2fdatacatalog_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include "flyteidl/core/literals.pb.h" -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_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[38] - 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_2fdatacatalog_2fdatacatalog_2eproto(); -namespace datacatalog { -class AddTagRequest; -class AddTagRequestDefaultTypeInternal; -extern AddTagRequestDefaultTypeInternal _AddTagRequest_default_instance_; -class AddTagResponse; -class AddTagResponseDefaultTypeInternal; -extern AddTagResponseDefaultTypeInternal _AddTagResponse_default_instance_; -class Artifact; -class ArtifactDefaultTypeInternal; -extern ArtifactDefaultTypeInternal _Artifact_default_instance_; -class ArtifactData; -class ArtifactDataDefaultTypeInternal; -extern ArtifactDataDefaultTypeInternal _ArtifactData_default_instance_; -class ArtifactPropertyFilter; -class ArtifactPropertyFilterDefaultTypeInternal; -extern ArtifactPropertyFilterDefaultTypeInternal _ArtifactPropertyFilter_default_instance_; -class CreateArtifactRequest; -class CreateArtifactRequestDefaultTypeInternal; -extern CreateArtifactRequestDefaultTypeInternal _CreateArtifactRequest_default_instance_; -class CreateArtifactResponse; -class CreateArtifactResponseDefaultTypeInternal; -extern CreateArtifactResponseDefaultTypeInternal _CreateArtifactResponse_default_instance_; -class CreateDatasetRequest; -class CreateDatasetRequestDefaultTypeInternal; -extern CreateDatasetRequestDefaultTypeInternal _CreateDatasetRequest_default_instance_; -class CreateDatasetResponse; -class CreateDatasetResponseDefaultTypeInternal; -extern CreateDatasetResponseDefaultTypeInternal _CreateDatasetResponse_default_instance_; -class Dataset; -class DatasetDefaultTypeInternal; -extern DatasetDefaultTypeInternal _Dataset_default_instance_; -class DatasetID; -class DatasetIDDefaultTypeInternal; -extern DatasetIDDefaultTypeInternal _DatasetID_default_instance_; -class DatasetPropertyFilter; -class DatasetPropertyFilterDefaultTypeInternal; -extern DatasetPropertyFilterDefaultTypeInternal _DatasetPropertyFilter_default_instance_; -class FilterExpression; -class FilterExpressionDefaultTypeInternal; -extern FilterExpressionDefaultTypeInternal _FilterExpression_default_instance_; -class GetArtifactRequest; -class GetArtifactRequestDefaultTypeInternal; -extern GetArtifactRequestDefaultTypeInternal _GetArtifactRequest_default_instance_; -class GetArtifactResponse; -class GetArtifactResponseDefaultTypeInternal; -extern GetArtifactResponseDefaultTypeInternal _GetArtifactResponse_default_instance_; -class GetDatasetRequest; -class GetDatasetRequestDefaultTypeInternal; -extern GetDatasetRequestDefaultTypeInternal _GetDatasetRequest_default_instance_; -class GetDatasetResponse; -class GetDatasetResponseDefaultTypeInternal; -extern GetDatasetResponseDefaultTypeInternal _GetDatasetResponse_default_instance_; -class GetOrExtendReservationRequest; -class GetOrExtendReservationRequestDefaultTypeInternal; -extern GetOrExtendReservationRequestDefaultTypeInternal _GetOrExtendReservationRequest_default_instance_; -class GetOrExtendReservationResponse; -class GetOrExtendReservationResponseDefaultTypeInternal; -extern GetOrExtendReservationResponseDefaultTypeInternal _GetOrExtendReservationResponse_default_instance_; -class KeyValuePair; -class KeyValuePairDefaultTypeInternal; -extern KeyValuePairDefaultTypeInternal _KeyValuePair_default_instance_; -class ListArtifactsRequest; -class ListArtifactsRequestDefaultTypeInternal; -extern ListArtifactsRequestDefaultTypeInternal _ListArtifactsRequest_default_instance_; -class ListArtifactsResponse; -class ListArtifactsResponseDefaultTypeInternal; -extern ListArtifactsResponseDefaultTypeInternal _ListArtifactsResponse_default_instance_; -class ListDatasetsRequest; -class ListDatasetsRequestDefaultTypeInternal; -extern ListDatasetsRequestDefaultTypeInternal _ListDatasetsRequest_default_instance_; -class ListDatasetsResponse; -class ListDatasetsResponseDefaultTypeInternal; -extern ListDatasetsResponseDefaultTypeInternal _ListDatasetsResponse_default_instance_; -class Metadata; -class MetadataDefaultTypeInternal; -extern MetadataDefaultTypeInternal _Metadata_default_instance_; -class Metadata_KeyMapEntry_DoNotUse; -class Metadata_KeyMapEntry_DoNotUseDefaultTypeInternal; -extern Metadata_KeyMapEntry_DoNotUseDefaultTypeInternal _Metadata_KeyMapEntry_DoNotUse_default_instance_; -class PaginationOptions; -class PaginationOptionsDefaultTypeInternal; -extern PaginationOptionsDefaultTypeInternal _PaginationOptions_default_instance_; -class Partition; -class PartitionDefaultTypeInternal; -extern PartitionDefaultTypeInternal _Partition_default_instance_; -class PartitionPropertyFilter; -class PartitionPropertyFilterDefaultTypeInternal; -extern PartitionPropertyFilterDefaultTypeInternal _PartitionPropertyFilter_default_instance_; -class ReleaseReservationRequest; -class ReleaseReservationRequestDefaultTypeInternal; -extern ReleaseReservationRequestDefaultTypeInternal _ReleaseReservationRequest_default_instance_; -class ReleaseReservationResponse; -class ReleaseReservationResponseDefaultTypeInternal; -extern ReleaseReservationResponseDefaultTypeInternal _ReleaseReservationResponse_default_instance_; -class Reservation; -class ReservationDefaultTypeInternal; -extern ReservationDefaultTypeInternal _Reservation_default_instance_; -class ReservationID; -class ReservationIDDefaultTypeInternal; -extern ReservationIDDefaultTypeInternal _ReservationID_default_instance_; -class SinglePropertyFilter; -class SinglePropertyFilterDefaultTypeInternal; -extern SinglePropertyFilterDefaultTypeInternal _SinglePropertyFilter_default_instance_; -class Tag; -class TagDefaultTypeInternal; -extern TagDefaultTypeInternal _Tag_default_instance_; -class TagPropertyFilter; -class TagPropertyFilterDefaultTypeInternal; -extern TagPropertyFilterDefaultTypeInternal _TagPropertyFilter_default_instance_; -class UpdateArtifactRequest; -class UpdateArtifactRequestDefaultTypeInternal; -extern UpdateArtifactRequestDefaultTypeInternal _UpdateArtifactRequest_default_instance_; -class UpdateArtifactResponse; -class UpdateArtifactResponseDefaultTypeInternal; -extern UpdateArtifactResponseDefaultTypeInternal _UpdateArtifactResponse_default_instance_; -} // namespace datacatalog -namespace google { -namespace protobuf { -template<> ::datacatalog::AddTagRequest* Arena::CreateMaybeMessage<::datacatalog::AddTagRequest>(Arena*); -template<> ::datacatalog::AddTagResponse* Arena::CreateMaybeMessage<::datacatalog::AddTagResponse>(Arena*); -template<> ::datacatalog::Artifact* Arena::CreateMaybeMessage<::datacatalog::Artifact>(Arena*); -template<> ::datacatalog::ArtifactData* Arena::CreateMaybeMessage<::datacatalog::ArtifactData>(Arena*); -template<> ::datacatalog::ArtifactPropertyFilter* Arena::CreateMaybeMessage<::datacatalog::ArtifactPropertyFilter>(Arena*); -template<> ::datacatalog::CreateArtifactRequest* Arena::CreateMaybeMessage<::datacatalog::CreateArtifactRequest>(Arena*); -template<> ::datacatalog::CreateArtifactResponse* Arena::CreateMaybeMessage<::datacatalog::CreateArtifactResponse>(Arena*); -template<> ::datacatalog::CreateDatasetRequest* Arena::CreateMaybeMessage<::datacatalog::CreateDatasetRequest>(Arena*); -template<> ::datacatalog::CreateDatasetResponse* Arena::CreateMaybeMessage<::datacatalog::CreateDatasetResponse>(Arena*); -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::FilterExpression* Arena::CreateMaybeMessage<::datacatalog::FilterExpression>(Arena*); -template<> ::datacatalog::GetArtifactRequest* Arena::CreateMaybeMessage<::datacatalog::GetArtifactRequest>(Arena*); -template<> ::datacatalog::GetArtifactResponse* Arena::CreateMaybeMessage<::datacatalog::GetArtifactResponse>(Arena*); -template<> ::datacatalog::GetDatasetRequest* Arena::CreateMaybeMessage<::datacatalog::GetDatasetRequest>(Arena*); -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::KeyValuePair* Arena::CreateMaybeMessage<::datacatalog::KeyValuePair>(Arena*); -template<> ::datacatalog::ListArtifactsRequest* Arena::CreateMaybeMessage<::datacatalog::ListArtifactsRequest>(Arena*); -template<> ::datacatalog::ListArtifactsResponse* Arena::CreateMaybeMessage<::datacatalog::ListArtifactsResponse>(Arena*); -template<> ::datacatalog::ListDatasetsRequest* Arena::CreateMaybeMessage<::datacatalog::ListDatasetsRequest>(Arena*); -template<> ::datacatalog::ListDatasetsResponse* Arena::CreateMaybeMessage<::datacatalog::ListDatasetsResponse>(Arena*); -template<> ::datacatalog::Metadata* Arena::CreateMaybeMessage<::datacatalog::Metadata>(Arena*); -template<> ::datacatalog::Metadata_KeyMapEntry_DoNotUse* Arena::CreateMaybeMessage<::datacatalog::Metadata_KeyMapEntry_DoNotUse>(Arena*); -template<> ::datacatalog::PaginationOptions* Arena::CreateMaybeMessage<::datacatalog::PaginationOptions>(Arena*); -template<> ::datacatalog::Partition* Arena::CreateMaybeMessage<::datacatalog::Partition>(Arena*); -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::Reservation* Arena::CreateMaybeMessage<::datacatalog::Reservation>(Arena*); -template<> ::datacatalog::ReservationID* Arena::CreateMaybeMessage<::datacatalog::ReservationID>(Arena*); -template<> ::datacatalog::SinglePropertyFilter* Arena::CreateMaybeMessage<::datacatalog::SinglePropertyFilter>(Arena*); -template<> ::datacatalog::Tag* Arena::CreateMaybeMessage<::datacatalog::Tag>(Arena*); -template<> ::datacatalog::TagPropertyFilter* Arena::CreateMaybeMessage<::datacatalog::TagPropertyFilter>(Arena*); -template<> ::datacatalog::UpdateArtifactRequest* Arena::CreateMaybeMessage<::datacatalog::UpdateArtifactRequest>(Arena*); -template<> ::datacatalog::UpdateArtifactResponse* Arena::CreateMaybeMessage<::datacatalog::UpdateArtifactResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace datacatalog { - -enum SinglePropertyFilter_ComparisonOperator { - SinglePropertyFilter_ComparisonOperator_EQUALS = 0, - SinglePropertyFilter_ComparisonOperator_SinglePropertyFilter_ComparisonOperator_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - SinglePropertyFilter_ComparisonOperator_SinglePropertyFilter_ComparisonOperator_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool SinglePropertyFilter_ComparisonOperator_IsValid(int value); -const SinglePropertyFilter_ComparisonOperator SinglePropertyFilter_ComparisonOperator_ComparisonOperator_MIN = SinglePropertyFilter_ComparisonOperator_EQUALS; -const SinglePropertyFilter_ComparisonOperator SinglePropertyFilter_ComparisonOperator_ComparisonOperator_MAX = SinglePropertyFilter_ComparisonOperator_EQUALS; -const int SinglePropertyFilter_ComparisonOperator_ComparisonOperator_ARRAYSIZE = SinglePropertyFilter_ComparisonOperator_ComparisonOperator_MAX + 1; - -const ::google::protobuf::EnumDescriptor* SinglePropertyFilter_ComparisonOperator_descriptor(); -inline const ::std::string& SinglePropertyFilter_ComparisonOperator_Name(SinglePropertyFilter_ComparisonOperator value) { - return ::google::protobuf::internal::NameOfEnum( - SinglePropertyFilter_ComparisonOperator_descriptor(), value); -} -inline bool SinglePropertyFilter_ComparisonOperator_Parse( - const ::std::string& name, SinglePropertyFilter_ComparisonOperator* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SinglePropertyFilter_ComparisonOperator_descriptor(), name, value); -} -enum PaginationOptions_SortOrder { - PaginationOptions_SortOrder_DESCENDING = 0, - PaginationOptions_SortOrder_ASCENDING = 1, - PaginationOptions_SortOrder_PaginationOptions_SortOrder_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - PaginationOptions_SortOrder_PaginationOptions_SortOrder_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool PaginationOptions_SortOrder_IsValid(int value); -const PaginationOptions_SortOrder PaginationOptions_SortOrder_SortOrder_MIN = PaginationOptions_SortOrder_DESCENDING; -const PaginationOptions_SortOrder PaginationOptions_SortOrder_SortOrder_MAX = PaginationOptions_SortOrder_ASCENDING; -const int PaginationOptions_SortOrder_SortOrder_ARRAYSIZE = PaginationOptions_SortOrder_SortOrder_MAX + 1; - -const ::google::protobuf::EnumDescriptor* PaginationOptions_SortOrder_descriptor(); -inline const ::std::string& PaginationOptions_SortOrder_Name(PaginationOptions_SortOrder value) { - return ::google::protobuf::internal::NameOfEnum( - PaginationOptions_SortOrder_descriptor(), value); -} -inline bool PaginationOptions_SortOrder_Parse( - const ::std::string& name, PaginationOptions_SortOrder* value) { - return ::google::protobuf::internal::ParseNamedEnum( - PaginationOptions_SortOrder_descriptor(), name, value); -} -enum PaginationOptions_SortKey { - PaginationOptions_SortKey_CREATION_TIME = 0, - PaginationOptions_SortKey_PaginationOptions_SortKey_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - PaginationOptions_SortKey_PaginationOptions_SortKey_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool PaginationOptions_SortKey_IsValid(int value); -const PaginationOptions_SortKey PaginationOptions_SortKey_SortKey_MIN = PaginationOptions_SortKey_CREATION_TIME; -const PaginationOptions_SortKey PaginationOptions_SortKey_SortKey_MAX = PaginationOptions_SortKey_CREATION_TIME; -const int PaginationOptions_SortKey_SortKey_ARRAYSIZE = PaginationOptions_SortKey_SortKey_MAX + 1; - -const ::google::protobuf::EnumDescriptor* PaginationOptions_SortKey_descriptor(); -inline const ::std::string& PaginationOptions_SortKey_Name(PaginationOptions_SortKey value) { - return ::google::protobuf::internal::NameOfEnum( - PaginationOptions_SortKey_descriptor(), value); -} -inline bool PaginationOptions_SortKey_Parse( - const ::std::string& name, PaginationOptions_SortKey* value) { - return ::google::protobuf::internal::ParseNamedEnum( - PaginationOptions_SortKey_descriptor(), name, value); -} -// =================================================================== - -class CreateDatasetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.CreateDatasetRequest) */ { - public: - CreateDatasetRequest(); - virtual ~CreateDatasetRequest(); - - CreateDatasetRequest(const CreateDatasetRequest& from); - - inline CreateDatasetRequest& operator=(const CreateDatasetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateDatasetRequest(CreateDatasetRequest&& from) noexcept - : CreateDatasetRequest() { - *this = ::std::move(from); - } - - inline CreateDatasetRequest& operator=(CreateDatasetRequest&& 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 CreateDatasetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateDatasetRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateDatasetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(CreateDatasetRequest* other); - friend void swap(CreateDatasetRequest& a, CreateDatasetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateDatasetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateDatasetRequest* 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 CreateDatasetRequest& from); - void MergeFrom(const CreateDatasetRequest& 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(CreateDatasetRequest* 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.Dataset dataset = 1; - bool has_dataset() const; - void clear_dataset(); - static const int kDatasetFieldNumber = 1; - const ::datacatalog::Dataset& dataset() const; - ::datacatalog::Dataset* release_dataset(); - ::datacatalog::Dataset* mutable_dataset(); - void set_allocated_dataset(::datacatalog::Dataset* dataset); - - // @@protoc_insertion_point(class_scope:datacatalog.CreateDatasetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::Dataset* dataset_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateDatasetResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.CreateDatasetResponse) */ { - public: - CreateDatasetResponse(); - virtual ~CreateDatasetResponse(); - - CreateDatasetResponse(const CreateDatasetResponse& from); - - inline CreateDatasetResponse& operator=(const CreateDatasetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateDatasetResponse(CreateDatasetResponse&& from) noexcept - : CreateDatasetResponse() { - *this = ::std::move(from); - } - - inline CreateDatasetResponse& operator=(CreateDatasetResponse&& 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 CreateDatasetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateDatasetResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateDatasetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(CreateDatasetResponse* other); - friend void swap(CreateDatasetResponse& a, CreateDatasetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateDatasetResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateDatasetResponse* 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 CreateDatasetResponse& from); - void MergeFrom(const CreateDatasetResponse& 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(CreateDatasetResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:datacatalog.CreateDatasetResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class GetDatasetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetDatasetRequest) */ { - public: - GetDatasetRequest(); - virtual ~GetDatasetRequest(); - - GetDatasetRequest(const GetDatasetRequest& from); - - inline GetDatasetRequest& operator=(const GetDatasetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetDatasetRequest(GetDatasetRequest&& from) noexcept - : GetDatasetRequest() { - *this = ::std::move(from); - } - - inline GetDatasetRequest& operator=(GetDatasetRequest&& 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 GetDatasetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetDatasetRequest* internal_default_instance() { - return reinterpret_cast( - &_GetDatasetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(GetDatasetRequest* other); - friend void swap(GetDatasetRequest& a, GetDatasetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetDatasetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetDatasetRequest* 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 GetDatasetRequest& from); - void MergeFrom(const GetDatasetRequest& 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(GetDatasetRequest* 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.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); - - // @@protoc_insertion_point(class_scope:datacatalog.GetDatasetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::DatasetID* dataset_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class GetDatasetResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetDatasetResponse) */ { - public: - GetDatasetResponse(); - virtual ~GetDatasetResponse(); - - GetDatasetResponse(const GetDatasetResponse& from); - - inline GetDatasetResponse& operator=(const GetDatasetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetDatasetResponse(GetDatasetResponse&& from) noexcept - : GetDatasetResponse() { - *this = ::std::move(from); - } - - inline GetDatasetResponse& operator=(GetDatasetResponse&& 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 GetDatasetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetDatasetResponse* internal_default_instance() { - return reinterpret_cast( - &_GetDatasetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(GetDatasetResponse* other); - friend void swap(GetDatasetResponse& a, GetDatasetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetDatasetResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetDatasetResponse* 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 GetDatasetResponse& from); - void MergeFrom(const GetDatasetResponse& 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(GetDatasetResponse* 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.Dataset dataset = 1; - bool has_dataset() const; - void clear_dataset(); - static const int kDatasetFieldNumber = 1; - const ::datacatalog::Dataset& dataset() const; - ::datacatalog::Dataset* release_dataset(); - ::datacatalog::Dataset* mutable_dataset(); - void set_allocated_dataset(::datacatalog::Dataset* dataset); - - // @@protoc_insertion_point(class_scope:datacatalog.GetDatasetResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::Dataset* dataset_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class GetArtifactRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetArtifactRequest) */ { - public: - GetArtifactRequest(); - virtual ~GetArtifactRequest(); - - GetArtifactRequest(const GetArtifactRequest& from); - - inline GetArtifactRequest& operator=(const GetArtifactRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetArtifactRequest(GetArtifactRequest&& from) noexcept - : GetArtifactRequest() { - *this = ::std::move(from); - } - - inline GetArtifactRequest& operator=(GetArtifactRequest&& 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 GetArtifactRequest& default_instance(); - - enum QueryHandleCase { - kArtifactId = 2, - kTagName = 3, - QUERY_HANDLE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetArtifactRequest* internal_default_instance() { - return reinterpret_cast( - &_GetArtifactRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(GetArtifactRequest* other); - friend void swap(GetArtifactRequest& a, GetArtifactRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetArtifactRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetArtifactRequest* 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 GetArtifactRequest& from); - void MergeFrom(const GetArtifactRequest& 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(GetArtifactRequest* 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.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 = 3; - 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_query_handle(); - QueryHandleCase query_handle_case() const; - // @@protoc_insertion_point(class_scope:datacatalog.GetArtifactRequest) - 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_; - ::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 GetArtifactResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetArtifactResponse) */ { - public: - GetArtifactResponse(); - virtual ~GetArtifactResponse(); - - GetArtifactResponse(const GetArtifactResponse& from); - - inline GetArtifactResponse& operator=(const GetArtifactResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetArtifactResponse(GetArtifactResponse&& from) noexcept - : GetArtifactResponse() { - *this = ::std::move(from); - } - - inline GetArtifactResponse& operator=(GetArtifactResponse&& 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 GetArtifactResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetArtifactResponse* internal_default_instance() { - return reinterpret_cast( - &_GetArtifactResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(GetArtifactResponse* other); - friend void swap(GetArtifactResponse& a, GetArtifactResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetArtifactResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetArtifactResponse* 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 GetArtifactResponse& from); - void MergeFrom(const GetArtifactResponse& 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(GetArtifactResponse* 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.Artifact artifact = 1; - bool has_artifact() const; - void clear_artifact(); - static const int kArtifactFieldNumber = 1; - const ::datacatalog::Artifact& artifact() const; - ::datacatalog::Artifact* release_artifact(); - ::datacatalog::Artifact* mutable_artifact(); - void set_allocated_artifact(::datacatalog::Artifact* artifact); - - // @@protoc_insertion_point(class_scope:datacatalog.GetArtifactResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::Artifact* artifact_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateArtifactRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.CreateArtifactRequest) */ { - public: - CreateArtifactRequest(); - virtual ~CreateArtifactRequest(); - - CreateArtifactRequest(const CreateArtifactRequest& from); - - inline CreateArtifactRequest& operator=(const CreateArtifactRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateArtifactRequest(CreateArtifactRequest&& from) noexcept - : CreateArtifactRequest() { - *this = ::std::move(from); - } - - inline CreateArtifactRequest& operator=(CreateArtifactRequest&& 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 CreateArtifactRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateArtifactRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateArtifactRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(CreateArtifactRequest* other); - friend void swap(CreateArtifactRequest& a, CreateArtifactRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateArtifactRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateArtifactRequest* 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 CreateArtifactRequest& from); - void MergeFrom(const CreateArtifactRequest& 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(CreateArtifactRequest* 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.Artifact artifact = 1; - bool has_artifact() const; - void clear_artifact(); - static const int kArtifactFieldNumber = 1; - const ::datacatalog::Artifact& artifact() const; - ::datacatalog::Artifact* release_artifact(); - ::datacatalog::Artifact* mutable_artifact(); - void set_allocated_artifact(::datacatalog::Artifact* artifact); - - // @@protoc_insertion_point(class_scope:datacatalog.CreateArtifactRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::Artifact* artifact_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateArtifactResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.CreateArtifactResponse) */ { - public: - CreateArtifactResponse(); - virtual ~CreateArtifactResponse(); - - CreateArtifactResponse(const CreateArtifactResponse& from); - - inline CreateArtifactResponse& operator=(const CreateArtifactResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateArtifactResponse(CreateArtifactResponse&& from) noexcept - : CreateArtifactResponse() { - *this = ::std::move(from); - } - - inline CreateArtifactResponse& operator=(CreateArtifactResponse&& 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 CreateArtifactResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateArtifactResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateArtifactResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(CreateArtifactResponse* other); - friend void swap(CreateArtifactResponse& a, CreateArtifactResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateArtifactResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateArtifactResponse* 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 CreateArtifactResponse& from); - void MergeFrom(const CreateArtifactResponse& 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(CreateArtifactResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:datacatalog.CreateArtifactResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class AddTagRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.AddTagRequest) */ { - public: - AddTagRequest(); - virtual ~AddTagRequest(); - - AddTagRequest(const AddTagRequest& from); - - inline AddTagRequest& operator=(const AddTagRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AddTagRequest(AddTagRequest&& from) noexcept - : AddTagRequest() { - *this = ::std::move(from); - } - - inline AddTagRequest& operator=(AddTagRequest&& 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 AddTagRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AddTagRequest* internal_default_instance() { - return reinterpret_cast( - &_AddTagRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(AddTagRequest* other); - friend void swap(AddTagRequest& a, AddTagRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AddTagRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - AddTagRequest* 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 AddTagRequest& from); - void MergeFrom(const AddTagRequest& 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(AddTagRequest* 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.Tag tag = 1; - bool has_tag() const; - void clear_tag(); - static const int kTagFieldNumber = 1; - const ::datacatalog::Tag& tag() const; - ::datacatalog::Tag* release_tag(); - ::datacatalog::Tag* mutable_tag(); - void set_allocated_tag(::datacatalog::Tag* tag); - - // @@protoc_insertion_point(class_scope:datacatalog.AddTagRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::Tag* tag_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class AddTagResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.AddTagResponse) */ { - public: - AddTagResponse(); - virtual ~AddTagResponse(); - - AddTagResponse(const AddTagResponse& from); - - inline AddTagResponse& operator=(const AddTagResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - AddTagResponse(AddTagResponse&& from) noexcept - : AddTagResponse() { - *this = ::std::move(from); - } - - inline AddTagResponse& operator=(AddTagResponse&& 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 AddTagResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const AddTagResponse* internal_default_instance() { - return reinterpret_cast( - &_AddTagResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(AddTagResponse* other); - friend void swap(AddTagResponse& a, AddTagResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline AddTagResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - AddTagResponse* 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 AddTagResponse& from); - void MergeFrom(const AddTagResponse& 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(AddTagResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:datacatalog.AddTagResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class ListArtifactsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ListArtifactsRequest) */ { - public: - ListArtifactsRequest(); - virtual ~ListArtifactsRequest(); - - ListArtifactsRequest(const ListArtifactsRequest& from); - - inline ListArtifactsRequest& operator=(const ListArtifactsRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListArtifactsRequest(ListArtifactsRequest&& from) noexcept - : ListArtifactsRequest() { - *this = ::std::move(from); - } - - inline ListArtifactsRequest& operator=(ListArtifactsRequest&& 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 ListArtifactsRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListArtifactsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListArtifactsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(ListArtifactsRequest* other); - friend void swap(ListArtifactsRequest& a, ListArtifactsRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListArtifactsRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListArtifactsRequest* 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 ListArtifactsRequest& from); - void MergeFrom(const ListArtifactsRequest& 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(ListArtifactsRequest* 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.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); - - // .datacatalog.FilterExpression filter = 2; - bool has_filter() const; - void clear_filter(); - static const int kFilterFieldNumber = 2; - const ::datacatalog::FilterExpression& filter() const; - ::datacatalog::FilterExpression* release_filter(); - ::datacatalog::FilterExpression* mutable_filter(); - void set_allocated_filter(::datacatalog::FilterExpression* filter); - - // .datacatalog.PaginationOptions pagination = 3; - bool has_pagination() const; - void clear_pagination(); - static const int kPaginationFieldNumber = 3; - const ::datacatalog::PaginationOptions& pagination() const; - ::datacatalog::PaginationOptions* release_pagination(); - ::datacatalog::PaginationOptions* mutable_pagination(); - void set_allocated_pagination(::datacatalog::PaginationOptions* pagination); - - // @@protoc_insertion_point(class_scope:datacatalog.ListArtifactsRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::DatasetID* dataset_; - ::datacatalog::FilterExpression* filter_; - ::datacatalog::PaginationOptions* pagination_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class ListArtifactsResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ListArtifactsResponse) */ { - public: - ListArtifactsResponse(); - virtual ~ListArtifactsResponse(); - - ListArtifactsResponse(const ListArtifactsResponse& from); - - inline ListArtifactsResponse& operator=(const ListArtifactsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListArtifactsResponse(ListArtifactsResponse&& from) noexcept - : ListArtifactsResponse() { - *this = ::std::move(from); - } - - inline ListArtifactsResponse& operator=(ListArtifactsResponse&& 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 ListArtifactsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListArtifactsResponse* internal_default_instance() { - return reinterpret_cast( - &_ListArtifactsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(ListArtifactsResponse* other); - friend void swap(ListArtifactsResponse& a, ListArtifactsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListArtifactsResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListArtifactsResponse* 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 ListArtifactsResponse& from); - void MergeFrom(const ListArtifactsResponse& 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(ListArtifactsResponse* 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 .datacatalog.Artifact artifacts = 1; - int artifacts_size() const; - void clear_artifacts(); - static const int kArtifactsFieldNumber = 1; - ::datacatalog::Artifact* mutable_artifacts(int index); - ::google::protobuf::RepeatedPtrField< ::datacatalog::Artifact >* - mutable_artifacts(); - const ::datacatalog::Artifact& artifacts(int index) const; - ::datacatalog::Artifact* add_artifacts(); - const ::google::protobuf::RepeatedPtrField< ::datacatalog::Artifact >& - artifacts() const; - - // string next_token = 2; - void clear_next_token(); - static const int kNextTokenFieldNumber = 2; - const ::std::string& next_token() const; - void set_next_token(const ::std::string& value); - #if LANG_CXX11 - void set_next_token(::std::string&& value); - #endif - void set_next_token(const char* value); - void set_next_token(const char* value, size_t size); - ::std::string* mutable_next_token(); - ::std::string* release_next_token(); - void set_allocated_next_token(::std::string* next_token); - - // @@protoc_insertion_point(class_scope:datacatalog.ListArtifactsResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::datacatalog::Artifact > artifacts_; - ::google::protobuf::internal::ArenaStringPtr next_token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class ListDatasetsRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ListDatasetsRequest) */ { - public: - ListDatasetsRequest(); - virtual ~ListDatasetsRequest(); - - ListDatasetsRequest(const ListDatasetsRequest& from); - - inline ListDatasetsRequest& operator=(const ListDatasetsRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListDatasetsRequest(ListDatasetsRequest&& from) noexcept - : ListDatasetsRequest() { - *this = ::std::move(from); - } - - inline ListDatasetsRequest& operator=(ListDatasetsRequest&& 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 ListDatasetsRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListDatasetsRequest* internal_default_instance() { - return reinterpret_cast( - &_ListDatasetsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - void Swap(ListDatasetsRequest* other); - friend void swap(ListDatasetsRequest& a, ListDatasetsRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListDatasetsRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListDatasetsRequest* 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 ListDatasetsRequest& from); - void MergeFrom(const ListDatasetsRequest& 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(ListDatasetsRequest* 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.FilterExpression filter = 1; - bool has_filter() const; - void clear_filter(); - static const int kFilterFieldNumber = 1; - const ::datacatalog::FilterExpression& filter() const; - ::datacatalog::FilterExpression* release_filter(); - ::datacatalog::FilterExpression* mutable_filter(); - void set_allocated_filter(::datacatalog::FilterExpression* filter); - - // .datacatalog.PaginationOptions pagination = 2; - bool has_pagination() const; - void clear_pagination(); - static const int kPaginationFieldNumber = 2; - const ::datacatalog::PaginationOptions& pagination() const; - ::datacatalog::PaginationOptions* release_pagination(); - ::datacatalog::PaginationOptions* mutable_pagination(); - void set_allocated_pagination(::datacatalog::PaginationOptions* pagination); - - // @@protoc_insertion_point(class_scope:datacatalog.ListDatasetsRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::FilterExpression* filter_; - ::datacatalog::PaginationOptions* pagination_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class ListDatasetsResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ListDatasetsResponse) */ { - public: - ListDatasetsResponse(); - virtual ~ListDatasetsResponse(); - - ListDatasetsResponse(const ListDatasetsResponse& from); - - inline ListDatasetsResponse& operator=(const ListDatasetsResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ListDatasetsResponse(ListDatasetsResponse&& from) noexcept - : ListDatasetsResponse() { - *this = ::std::move(from); - } - - inline ListDatasetsResponse& operator=(ListDatasetsResponse&& 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 ListDatasetsResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ListDatasetsResponse* internal_default_instance() { - return reinterpret_cast( - &_ListDatasetsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - void Swap(ListDatasetsResponse* other); - friend void swap(ListDatasetsResponse& a, ListDatasetsResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ListDatasetsResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - ListDatasetsResponse* 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 ListDatasetsResponse& from); - void MergeFrom(const ListDatasetsResponse& 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(ListDatasetsResponse* 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 .datacatalog.Dataset datasets = 1; - int datasets_size() const; - void clear_datasets(); - static const int kDatasetsFieldNumber = 1; - ::datacatalog::Dataset* mutable_datasets(int index); - ::google::protobuf::RepeatedPtrField< ::datacatalog::Dataset >* - mutable_datasets(); - const ::datacatalog::Dataset& datasets(int index) const; - ::datacatalog::Dataset* add_datasets(); - const ::google::protobuf::RepeatedPtrField< ::datacatalog::Dataset >& - datasets() const; - - // string next_token = 2; - void clear_next_token(); - static const int kNextTokenFieldNumber = 2; - const ::std::string& next_token() const; - void set_next_token(const ::std::string& value); - #if LANG_CXX11 - void set_next_token(::std::string&& value); - #endif - void set_next_token(const char* value); - void set_next_token(const char* value, size_t size); - ::std::string* mutable_next_token(); - ::std::string* release_next_token(); - void set_allocated_next_token(::std::string* next_token); - - // @@protoc_insertion_point(class_scope:datacatalog.ListDatasetsResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::datacatalog::Dataset > datasets_; - ::google::protobuf::internal::ArenaStringPtr next_token_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateArtifactRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.UpdateArtifactRequest) */ { - public: - UpdateArtifactRequest(); - virtual ~UpdateArtifactRequest(); - - UpdateArtifactRequest(const UpdateArtifactRequest& from); - - inline UpdateArtifactRequest& operator=(const UpdateArtifactRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UpdateArtifactRequest(UpdateArtifactRequest&& from) noexcept - : UpdateArtifactRequest() { - *this = ::std::move(from); - } - - inline UpdateArtifactRequest& operator=(UpdateArtifactRequest&& 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 UpdateArtifactRequest& default_instance(); - - enum QueryHandleCase { - kArtifactId = 2, - kTagName = 3, - QUERY_HANDLE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UpdateArtifactRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateArtifactRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - void Swap(UpdateArtifactRequest* other); - friend void swap(UpdateArtifactRequest& a, UpdateArtifactRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UpdateArtifactRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - UpdateArtifactRequest* 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 UpdateArtifactRequest& from); - void MergeFrom(const UpdateArtifactRequest& 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(UpdateArtifactRequest* 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 .datacatalog.ArtifactData data = 4; - int data_size() const; - void clear_data(); - static const int kDataFieldNumber = 4; - ::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; - - // .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); - - // .datacatalog.Metadata metadata = 5; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 5; - const ::datacatalog::Metadata& metadata() const; - ::datacatalog::Metadata* release_metadata(); - ::datacatalog::Metadata* mutable_metadata(); - void set_allocated_metadata(::datacatalog::Metadata* metadata); - - // 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 = 3; - 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_query_handle(); - QueryHandleCase query_handle_case() const; - // @@protoc_insertion_point(class_scope:datacatalog.UpdateArtifactRequest) - 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::RepeatedPtrField< ::datacatalog::ArtifactData > data_; - ::datacatalog::DatasetID* dataset_; - ::datacatalog::Metadata* metadata_; - 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 UpdateArtifactResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.UpdateArtifactResponse) */ { - public: - UpdateArtifactResponse(); - virtual ~UpdateArtifactResponse(); - - UpdateArtifactResponse(const UpdateArtifactResponse& from); - - inline UpdateArtifactResponse& operator=(const UpdateArtifactResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UpdateArtifactResponse(UpdateArtifactResponse&& from) noexcept - : UpdateArtifactResponse() { - *this = ::std::move(from); - } - - inline UpdateArtifactResponse& operator=(UpdateArtifactResponse&& 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 UpdateArtifactResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UpdateArtifactResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateArtifactResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - void Swap(UpdateArtifactResponse* other); - friend void swap(UpdateArtifactResponse& a, UpdateArtifactResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UpdateArtifactResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - UpdateArtifactResponse* 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 UpdateArtifactResponse& from); - void MergeFrom(const UpdateArtifactResponse& 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(UpdateArtifactResponse* 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; - 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); - - // @@protoc_insertion_point(class_scope:datacatalog.UpdateArtifactResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr artifact_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; -}; -// ------------------------------------------------------------------- - -class ReservationID final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReservationID) */ { - public: - ReservationID(); - virtual ~ReservationID(); - - ReservationID(const ReservationID& from); - - inline ReservationID& operator=(const ReservationID& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ReservationID(ReservationID&& from) noexcept - : ReservationID() { - *this = ::std::move(from); - } - - inline ReservationID& operator=(ReservationID&& 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 ReservationID& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ReservationID* internal_default_instance() { - return reinterpret_cast( - &_ReservationID_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - void Swap(ReservationID* other); - friend void swap(ReservationID& a, ReservationID& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ReservationID* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 ReservationID& from); - void MergeFrom(const ReservationID& 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(ReservationID* 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 = 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); - - // .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_; - ::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 GetOrExtendReservationRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetOrExtendReservationRequest) */ { - public: - GetOrExtendReservationRequest(); - virtual ~GetOrExtendReservationRequest(); - - GetOrExtendReservationRequest(const GetOrExtendReservationRequest& from); - - inline GetOrExtendReservationRequest& operator=(const GetOrExtendReservationRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetOrExtendReservationRequest(GetOrExtendReservationRequest&& from) noexcept - : GetOrExtendReservationRequest() { - *this = ::std::move(from); - } - - inline GetOrExtendReservationRequest& operator=(GetOrExtendReservationRequest&& 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 GetOrExtendReservationRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetOrExtendReservationRequest* internal_default_instance() { - return reinterpret_cast( - &_GetOrExtendReservationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - void Swap(GetOrExtendReservationRequest* other); - friend void swap(GetOrExtendReservationRequest& a, GetOrExtendReservationRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetOrExtendReservationRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 GetOrExtendReservationRequest& from); - void MergeFrom(const GetOrExtendReservationRequest& 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(GetOrExtendReservationRequest* 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 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); - - // @@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 Reservation final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Reservation) */ { - public: - Reservation(); - virtual ~Reservation(); - - Reservation(const Reservation& from); - - inline Reservation& operator=(const Reservation& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Reservation(Reservation&& from) noexcept - : Reservation() { - *this = ::std::move(from); - } - - inline Reservation& operator=(Reservation&& 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 Reservation& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Reservation* internal_default_instance() { - return reinterpret_cast( - &_Reservation_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - void Swap(Reservation* other); - friend void swap(Reservation& a, Reservation& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Reservation* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 Reservation& from); - void MergeFrom(const Reservation& 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(Reservation* 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 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) - 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) */ { - public: - GetOrExtendReservationResponse(); - virtual ~GetOrExtendReservationResponse(); - - GetOrExtendReservationResponse(const GetOrExtendReservationResponse& from); - - inline GetOrExtendReservationResponse& operator=(const GetOrExtendReservationResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetOrExtendReservationResponse(GetOrExtendReservationResponse&& from) noexcept - : GetOrExtendReservationResponse() { - *this = ::std::move(from); - } - - inline GetOrExtendReservationResponse& operator=(GetOrExtendReservationResponse&& 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 GetOrExtendReservationResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetOrExtendReservationResponse* internal_default_instance() { - return reinterpret_cast( - &_GetOrExtendReservationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - void Swap(GetOrExtendReservationResponse* other); - friend void swap(GetOrExtendReservationResponse& a, GetOrExtendReservationResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetOrExtendReservationResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 GetOrExtendReservationResponse& from); - void MergeFrom(const GetOrExtendReservationResponse& 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(GetOrExtendReservationResponse* 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.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.GetOrExtendReservationResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::Reservation* reservation_; - 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) */ { - public: - ReleaseReservationRequest(); - virtual ~ReleaseReservationRequest(); - - ReleaseReservationRequest(const ReleaseReservationRequest& from); - - inline ReleaseReservationRequest& operator=(const ReleaseReservationRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ReleaseReservationRequest(ReleaseReservationRequest&& from) noexcept - : ReleaseReservationRequest() { - *this = ::std::move(from); - } - - inline ReleaseReservationRequest& operator=(ReleaseReservationRequest&& 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 ReleaseReservationRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ReleaseReservationRequest* internal_default_instance() { - return reinterpret_cast( - &_ReleaseReservationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - void Swap(ReleaseReservationRequest* other); - friend void swap(ReleaseReservationRequest& a, ReleaseReservationRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ReleaseReservationRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 ReleaseReservationRequest& from); - void MergeFrom(const ReleaseReservationRequest& 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(ReleaseReservationRequest* 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 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); - - // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::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 ReleaseReservationResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReleaseReservationResponse) */ { - public: - ReleaseReservationResponse(); - virtual ~ReleaseReservationResponse(); - - ReleaseReservationResponse(const ReleaseReservationResponse& from); - - inline ReleaseReservationResponse& operator=(const ReleaseReservationResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ReleaseReservationResponse(ReleaseReservationResponse&& from) noexcept - : ReleaseReservationResponse() { - *this = ::std::move(from); - } - - inline ReleaseReservationResponse& operator=(ReleaseReservationResponse&& 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 ReleaseReservationResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ReleaseReservationResponse* internal_default_instance() { - return reinterpret_cast( - &_ReleaseReservationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - void Swap(ReleaseReservationResponse* other); - friend void swap(ReleaseReservationResponse& a, ReleaseReservationResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ReleaseReservationResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 ReleaseReservationResponse& from); - void MergeFrom(const ReleaseReservationResponse& 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(ReleaseReservationResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - 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) */ { - public: - Dataset(); - virtual ~Dataset(); - - Dataset(const Dataset& from); - - inline Dataset& operator=(const Dataset& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Dataset(Dataset&& from) noexcept - : Dataset() { - *this = ::std::move(from); - } - - inline Dataset& operator=(Dataset&& 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 Dataset& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Dataset* internal_default_instance() { - return reinterpret_cast( - &_Dataset_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - void Swap(Dataset* other); - friend void swap(Dataset& a, Dataset& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Dataset* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 Dataset& from); - void MergeFrom(const Dataset& 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(Dataset* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string 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(); - - // .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::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 Partition final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Partition) */ { - public: - Partition(); - virtual ~Partition(); - - Partition(const Partition& from); - - inline Partition& operator=(const Partition& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Partition(Partition&& from) noexcept - : Partition() { - *this = ::std::move(from); - } - - inline Partition& operator=(Partition&& 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 Partition& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Partition* internal_default_instance() { - return reinterpret_cast( - &_Partition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - void Swap(Partition* other); - friend void swap(Partition& a, Partition& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Partition* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 Partition& from); - void MergeFrom(const Partition& 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(Partition* 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.Partition) - 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 DatasetID final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DatasetID) */ { - public: - DatasetID(); - virtual ~DatasetID(); - - DatasetID(const DatasetID& from); - - inline DatasetID& operator=(const DatasetID& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DatasetID(DatasetID&& from) noexcept - : DatasetID() { - *this = ::std::move(from); - } - - inline DatasetID& operator=(DatasetID&& 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 DatasetID& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DatasetID* internal_default_instance() { - return reinterpret_cast( - &_DatasetID_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - void Swap(DatasetID* other); - friend void swap(DatasetID& a, DatasetID& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DatasetID* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 DatasetID& from); - void MergeFrom(const DatasetID& 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(DatasetID* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string 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); - - // string org = 6; - void clear_org(); - static const int kOrgFieldNumber = 6; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - // @@protoc_insertion_point(class_scope:datacatalog.DatasetID) - 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::internal::ArenaStringPtr org_; - 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) */ { - public: - Artifact(); - virtual ~Artifact(); - - Artifact(const Artifact& from); - - inline Artifact& operator=(const Artifact& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Artifact(Artifact&& from) noexcept - : Artifact() { - *this = ::std::move(from); - } - - inline Artifact& operator=(Artifact&& 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 Artifact& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Artifact* internal_default_instance() { - return reinterpret_cast( - &_Artifact_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - void Swap(Artifact* other); - friend void swap(Artifact& a, Artifact& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Artifact* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 Artifact& from); - void MergeFrom(const Artifact& 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(Artifact* 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 .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_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); - - // @@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 ArtifactData final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ArtifactData) */ { - public: - ArtifactData(); - virtual ~ArtifactData(); - - ArtifactData(const ArtifactData& from); - - inline ArtifactData& operator=(const ArtifactData& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArtifactData(ArtifactData&& from) noexcept - : ArtifactData() { - *this = ::std::move(from); - } - - inline ArtifactData& operator=(ArtifactData&& 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 ArtifactData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactData* internal_default_instance() { - return reinterpret_cast( - &_ArtifactData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - void Swap(ArtifactData* other); - friend void swap(ArtifactData& a, ArtifactData& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArtifactData* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 ArtifactData& from); - void MergeFrom(const ArtifactData& 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(ArtifactData* 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 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) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flyteidl::core::Literal* value_; - 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) */ { - public: - Tag(); - virtual ~Tag(); - - Tag(const Tag& from); - - inline Tag& operator=(const Tag& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Tag(Tag&& from) noexcept - : Tag() { - *this = ::std::move(from); - } - - inline Tag& operator=(Tag&& 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 Tag& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Tag* internal_default_instance() { - return reinterpret_cast( - &_Tag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - void Swap(Tag* other); - friend void swap(Tag& a, Tag& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Tag* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 Tag& from); - void MergeFrom(const Tag& 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(Tag* 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 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) - 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) */ { - 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 { - CopyFrom(from); - } - return *this; - } - #endif - static const ::google::protobuf::Descriptor* descriptor() { - return default_instance().GetDescriptor(); - } - static const Metadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Metadata* internal_default_instance() { - return reinterpret_cast( - &_Metadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - void Swap(Metadata* other); - friend void swap(Metadata& a, Metadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Metadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 Metadata& from); - void MergeFrom(const Metadata& 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(Metadata* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map 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.Metadata) - 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_; - 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) */ { - public: - FilterExpression(); - virtual ~FilterExpression(); - - FilterExpression(const FilterExpression& from); - - inline FilterExpression& operator=(const FilterExpression& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - FilterExpression(FilterExpression&& from) noexcept - : FilterExpression() { - *this = ::std::move(from); - } - - inline FilterExpression& operator=(FilterExpression&& 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 FilterExpression& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const FilterExpression* internal_default_instance() { - return reinterpret_cast( - &_FilterExpression_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - void Swap(FilterExpression* other); - friend void swap(FilterExpression& a, FilterExpression& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline FilterExpression* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 FilterExpression& from); - void MergeFrom(const FilterExpression& 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(FilterExpression* 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 .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; - - // @@protoc_insertion_point(class_scope:datacatalog.FilterExpression) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter > filters_; - 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) */ { - public: - SinglePropertyFilter(); - virtual ~SinglePropertyFilter(); - - SinglePropertyFilter(const SinglePropertyFilter& from); - - inline SinglePropertyFilter& operator=(const SinglePropertyFilter& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SinglePropertyFilter(SinglePropertyFilter&& from) noexcept - : SinglePropertyFilter() { - *this = ::std::move(from); - } - - inline SinglePropertyFilter& operator=(SinglePropertyFilter&& 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 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 SinglePropertyFilter* internal_default_instance() { - return reinterpret_cast( - &_SinglePropertyFilter_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - void Swap(SinglePropertyFilter* other); - friend void swap(SinglePropertyFilter& a, SinglePropertyFilter& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SinglePropertyFilter* New() const final { - return CreateMaybeMessage(nullptr); - } - - 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 SinglePropertyFilter& from); - void MergeFrom(const SinglePropertyFilter& 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(SinglePropertyFilter* 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 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); - - // .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.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); - - // .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_; - 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); - - inline ArtifactPropertyFilter& operator=(const ArtifactPropertyFilter& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArtifactPropertyFilter(ArtifactPropertyFilter&& from) noexcept - : ArtifactPropertyFilter() { - *this = ::std::move(from); - } - - inline ArtifactPropertyFilter& operator=(ArtifactPropertyFilter&& 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 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 = - 32; - - 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 = - 33; - - 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 = - 34; - - 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 = - 35; - - 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, - kOrg = 5, - 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 = - 36; - - 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); - - // string org = 5; - private: - bool has_org() const; - public: - void clear_org(); - static const int kOrgFieldNumber = 5; - const ::std::string& org() const; - void set_org(const ::std::string& value); - #if LANG_CXX11 - void set_org(::std::string&& value); - #endif - void set_org(const char* value); - void set_org(const char* value, size_t size); - ::std::string* mutable_org(); - ::std::string* release_org(); - void set_allocated_org(::std::string* org); - - 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(); - void set_has_org(); - - 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_; - ::google::protobuf::internal::ArenaStringPtr org_; - } 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 = - 37; - - 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( - &::datacatalog::_Dataset_default_instance_); -} -inline ::datacatalog::Dataset* CreateDatasetRequest::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.CreateDatasetRequest.dataset) - - ::datacatalog::Dataset* temp = dataset_; - dataset_ = nullptr; - return temp; -} -inline ::datacatalog::Dataset* CreateDatasetRequest::mutable_dataset() { - - if (dataset_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Dataset>(GetArenaNoVirtual()); - dataset_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.CreateDatasetRequest.dataset) - return dataset_; -} -inline void CreateDatasetRequest::set_allocated_dataset(::datacatalog::Dataset* 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.CreateDatasetRequest.dataset) -} - -// ------------------------------------------------------------------- - -// CreateDatasetResponse - -// ------------------------------------------------------------------- - -// GetDatasetRequest - -// .datacatalog.DatasetID dataset = 1; -inline bool GetDatasetRequest::has_dataset() const { - return this != internal_default_instance() && dataset_ != nullptr; -} -inline void GetDatasetRequest::clear_dataset() { - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; -} -inline const ::datacatalog::DatasetID& GetDatasetRequest::dataset() const { - const ::datacatalog::DatasetID* p = dataset_; - // @@protoc_insertion_point(field_get:datacatalog.GetDatasetRequest.dataset) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_DatasetID_default_instance_); -} -inline ::datacatalog::DatasetID* GetDatasetRequest::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.GetDatasetRequest.dataset) - - ::datacatalog::DatasetID* temp = dataset_; - dataset_ = nullptr; - return temp; -} -inline ::datacatalog::DatasetID* GetDatasetRequest::mutable_dataset() { - - if (dataset_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); - dataset_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.GetDatasetRequest.dataset) - return dataset_; -} -inline void GetDatasetRequest::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.GetDatasetRequest.dataset) -} - -// ------------------------------------------------------------------- - -// GetDatasetResponse - -// .datacatalog.Dataset dataset = 1; -inline bool GetDatasetResponse::has_dataset() const { - return this != internal_default_instance() && dataset_ != nullptr; -} -inline void GetDatasetResponse::clear_dataset() { - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; -} -inline const ::datacatalog::Dataset& GetDatasetResponse::dataset() const { - const ::datacatalog::Dataset* p = dataset_; - // @@protoc_insertion_point(field_get:datacatalog.GetDatasetResponse.dataset) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Dataset_default_instance_); -} -inline ::datacatalog::Dataset* GetDatasetResponse::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.GetDatasetResponse.dataset) - - ::datacatalog::Dataset* temp = dataset_; - dataset_ = nullptr; - return temp; -} -inline ::datacatalog::Dataset* GetDatasetResponse::mutable_dataset() { - - if (dataset_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Dataset>(GetArenaNoVirtual()); - dataset_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.GetDatasetResponse.dataset) - return dataset_; -} -inline void GetDatasetResponse::set_allocated_dataset(::datacatalog::Dataset* 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.GetDatasetResponse.dataset) -} - -// ------------------------------------------------------------------- - -// GetArtifactRequest - -// .datacatalog.DatasetID dataset = 1; -inline bool GetArtifactRequest::has_dataset() const { - return this != internal_default_instance() && dataset_ != nullptr; -} -inline void GetArtifactRequest::clear_dataset() { - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; -} -inline const ::datacatalog::DatasetID& GetArtifactRequest::dataset() const { - const ::datacatalog::DatasetID* p = dataset_; - // @@protoc_insertion_point(field_get:datacatalog.GetArtifactRequest.dataset) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_DatasetID_default_instance_); -} -inline ::datacatalog::DatasetID* GetArtifactRequest::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.GetArtifactRequest.dataset) - - ::datacatalog::DatasetID* temp = dataset_; - dataset_ = nullptr; - return temp; -} -inline ::datacatalog::DatasetID* GetArtifactRequest::mutable_dataset() { - - if (dataset_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); - dataset_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.GetArtifactRequest.dataset) - return dataset_; -} -inline void GetArtifactRequest::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.GetArtifactRequest.dataset) -} - -// string artifact_id = 2; -inline bool GetArtifactRequest::has_artifact_id() const { - return query_handle_case() == kArtifactId; -} -inline void GetArtifactRequest::set_has_artifact_id() { - _oneof_case_[0] = kArtifactId; -} -inline void GetArtifactRequest::clear_artifact_id() { - if (has_artifact_id()) { - query_handle_.artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_query_handle(); - } -} -inline const ::std::string& GetArtifactRequest::artifact_id() const { - // @@protoc_insertion_point(field_get:datacatalog.GetArtifactRequest.artifact_id) - if (has_artifact_id()) { - return query_handle_.artifact_id_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void GetArtifactRequest::set_artifact_id(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.GetArtifactRequest.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.GetArtifactRequest.artifact_id) -} -#if LANG_CXX11 -inline void GetArtifactRequest::set_artifact_id(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.GetArtifactRequest.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.GetArtifactRequest.artifact_id) -} -#endif -inline void GetArtifactRequest::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.GetArtifactRequest.artifact_id) -} -inline void GetArtifactRequest::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.GetArtifactRequest.artifact_id) -} -inline ::std::string* GetArtifactRequest::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.GetArtifactRequest.artifact_id) - return query_handle_.artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetArtifactRequest::release_artifact_id() { - // @@protoc_insertion_point(field_release:datacatalog.GetArtifactRequest.artifact_id) - if (has_artifact_id()) { - clear_has_query_handle(); - return query_handle_.artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void GetArtifactRequest::set_allocated_artifact_id(::std::string* artifact_id) { - if (has_query_handle()) { - clear_query_handle(); - } - if (artifact_id != nullptr) { - set_has_artifact_id(); - query_handle_.artifact_id_.UnsafeSetDefault(artifact_id); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.GetArtifactRequest.artifact_id) -} - -// string tag_name = 3; -inline bool GetArtifactRequest::has_tag_name() const { - return query_handle_case() == kTagName; -} -inline void GetArtifactRequest::set_has_tag_name() { - _oneof_case_[0] = kTagName; -} -inline void GetArtifactRequest::clear_tag_name() { - if (has_tag_name()) { - query_handle_.tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_query_handle(); - } -} -inline const ::std::string& GetArtifactRequest::tag_name() const { - // @@protoc_insertion_point(field_get:datacatalog.GetArtifactRequest.tag_name) - if (has_tag_name()) { - return query_handle_.tag_name_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void GetArtifactRequest::set_tag_name(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.GetArtifactRequest.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.GetArtifactRequest.tag_name) -} -#if LANG_CXX11 -inline void GetArtifactRequest::set_tag_name(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.GetArtifactRequest.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.GetArtifactRequest.tag_name) -} -#endif -inline void GetArtifactRequest::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()); - } - query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.GetArtifactRequest.tag_name) -} -inline void GetArtifactRequest::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.GetArtifactRequest.tag_name) -} -inline ::std::string* GetArtifactRequest::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.GetArtifactRequest.tag_name) - return query_handle_.tag_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetArtifactRequest::release_tag_name() { - // @@protoc_insertion_point(field_release:datacatalog.GetArtifactRequest.tag_name) - if (has_tag_name()) { - clear_has_query_handle(); - return query_handle_.tag_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void GetArtifactRequest::set_allocated_tag_name(::std::string* tag_name) { - if (has_query_handle()) { - clear_query_handle(); - } - if (tag_name != nullptr) { - set_has_tag_name(); - query_handle_.tag_name_.UnsafeSetDefault(tag_name); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.GetArtifactRequest.tag_name) -} - -inline bool GetArtifactRequest::has_query_handle() const { - return query_handle_case() != QUERY_HANDLE_NOT_SET; -} -inline void GetArtifactRequest::clear_has_query_handle() { - _oneof_case_[0] = QUERY_HANDLE_NOT_SET; -} -inline GetArtifactRequest::QueryHandleCase GetArtifactRequest::query_handle_case() const { - return GetArtifactRequest::QueryHandleCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// GetArtifactResponse - -// .datacatalog.Artifact artifact = 1; -inline bool GetArtifactResponse::has_artifact() const { - return this != internal_default_instance() && artifact_ != nullptr; -} -inline void GetArtifactResponse::clear_artifact() { - if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { - delete artifact_; - } - artifact_ = nullptr; -} -inline const ::datacatalog::Artifact& GetArtifactResponse::artifact() const { - const ::datacatalog::Artifact* p = artifact_; - // @@protoc_insertion_point(field_get:datacatalog.GetArtifactResponse.artifact) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Artifact_default_instance_); -} -inline ::datacatalog::Artifact* GetArtifactResponse::release_artifact() { - // @@protoc_insertion_point(field_release:datacatalog.GetArtifactResponse.artifact) - - ::datacatalog::Artifact* temp = artifact_; - artifact_ = nullptr; - return temp; -} -inline ::datacatalog::Artifact* GetArtifactResponse::mutable_artifact() { - - if (artifact_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Artifact>(GetArenaNoVirtual()); - artifact_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.GetArtifactResponse.artifact) - return artifact_; -} -inline void GetArtifactResponse::set_allocated_artifact(::datacatalog::Artifact* artifact) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete artifact_; - } - if (artifact) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact, submessage_arena); - } - - } else { - - } - artifact_ = artifact; - // @@protoc_insertion_point(field_set_allocated:datacatalog.GetArtifactResponse.artifact) -} - -// ------------------------------------------------------------------- - -// CreateArtifactRequest - -// .datacatalog.Artifact artifact = 1; -inline bool CreateArtifactRequest::has_artifact() const { - return this != internal_default_instance() && artifact_ != nullptr; -} -inline void CreateArtifactRequest::clear_artifact() { - if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { - delete artifact_; - } - artifact_ = nullptr; -} -inline const ::datacatalog::Artifact& CreateArtifactRequest::artifact() const { - const ::datacatalog::Artifact* p = artifact_; - // @@protoc_insertion_point(field_get:datacatalog.CreateArtifactRequest.artifact) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Artifact_default_instance_); -} -inline ::datacatalog::Artifact* CreateArtifactRequest::release_artifact() { - // @@protoc_insertion_point(field_release:datacatalog.CreateArtifactRequest.artifact) - - ::datacatalog::Artifact* temp = artifact_; - artifact_ = nullptr; - return temp; -} -inline ::datacatalog::Artifact* CreateArtifactRequest::mutable_artifact() { - - if (artifact_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Artifact>(GetArenaNoVirtual()); - artifact_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.CreateArtifactRequest.artifact) - return artifact_; -} -inline void CreateArtifactRequest::set_allocated_artifact(::datacatalog::Artifact* artifact) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete artifact_; - } - if (artifact) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - artifact = ::google::protobuf::internal::GetOwnedMessage( - message_arena, artifact, submessage_arena); - } - - } else { - - } - artifact_ = artifact; - // @@protoc_insertion_point(field_set_allocated:datacatalog.CreateArtifactRequest.artifact) -} - -// ------------------------------------------------------------------- - -// CreateArtifactResponse - -// ------------------------------------------------------------------- - -// AddTagRequest - -// .datacatalog.Tag tag = 1; -inline bool AddTagRequest::has_tag() const { - return this != internal_default_instance() && tag_ != nullptr; -} -inline void AddTagRequest::clear_tag() { - if (GetArenaNoVirtual() == nullptr && tag_ != nullptr) { - delete tag_; - } - tag_ = nullptr; -} -inline const ::datacatalog::Tag& AddTagRequest::tag() const { - const ::datacatalog::Tag* p = tag_; - // @@protoc_insertion_point(field_get:datacatalog.AddTagRequest.tag) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Tag_default_instance_); -} -inline ::datacatalog::Tag* AddTagRequest::release_tag() { - // @@protoc_insertion_point(field_release:datacatalog.AddTagRequest.tag) - - ::datacatalog::Tag* temp = tag_; - tag_ = nullptr; - return temp; -} -inline ::datacatalog::Tag* AddTagRequest::mutable_tag() { - - if (tag_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Tag>(GetArenaNoVirtual()); - tag_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.AddTagRequest.tag) - return tag_; -} -inline void AddTagRequest::set_allocated_tag(::datacatalog::Tag* tag) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete tag_; - } - if (tag) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - tag = ::google::protobuf::internal::GetOwnedMessage( - message_arena, tag, submessage_arena); - } - - } else { - - } - tag_ = tag; - // @@protoc_insertion_point(field_set_allocated:datacatalog.AddTagRequest.tag) -} - -// ------------------------------------------------------------------- - -// AddTagResponse - -// ------------------------------------------------------------------- - -// ListArtifactsRequest - -// .datacatalog.DatasetID dataset = 1; -inline bool ListArtifactsRequest::has_dataset() const { - return this != internal_default_instance() && dataset_ != nullptr; -} -inline void ListArtifactsRequest::clear_dataset() { - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; -} -inline const ::datacatalog::DatasetID& ListArtifactsRequest::dataset() const { - const ::datacatalog::DatasetID* p = dataset_; - // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsRequest.dataset) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_DatasetID_default_instance_); -} -inline ::datacatalog::DatasetID* ListArtifactsRequest::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.ListArtifactsRequest.dataset) - - ::datacatalog::DatasetID* temp = dataset_; - dataset_ = nullptr; - return temp; -} -inline ::datacatalog::DatasetID* ListArtifactsRequest::mutable_dataset() { - - if (dataset_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); - dataset_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsRequest.dataset) - return dataset_; -} -inline void ListArtifactsRequest::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.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) -} - -// ------------------------------------------------------------------- - -// 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_; - } - filter_ = nullptr; -} -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_); -} -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* ListDatasetsRequest::mutable_filter() { - - if (filter_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::FilterExpression>(GetArenaNoVirtual()); - filter_ = p; - } - // @@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_; - } - 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.ListDatasetsRequest.filter) -} - -// .datacatalog.PaginationOptions pagination = 2; -inline bool ListDatasetsRequest::has_pagination() const { - return this != internal_default_instance() && pagination_ != nullptr; -} -inline void ListDatasetsRequest::clear_pagination() { - if (GetArenaNoVirtual() == nullptr && pagination_ != nullptr) { - delete pagination_; - } - pagination_ = nullptr; -} -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 ::datacatalog::PaginationOptions* ListDatasetsRequest::release_pagination() { - // @@protoc_insertion_point(field_release:datacatalog.ListDatasetsRequest.pagination) - - ::datacatalog::PaginationOptions* temp = pagination_; - pagination_ = nullptr; - return temp; -} -inline ::datacatalog::PaginationOptions* ListDatasetsRequest::mutable_pagination() { - - if (pagination_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::PaginationOptions>(GetArenaNoVirtual()); - pagination_ = p; - } - // @@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_; - } - 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.ListDatasetsRequest.pagination) -} - -// ------------------------------------------------------------------- - -// ListDatasetsResponse - -// repeated .datacatalog.Dataset datasets = 1; -inline int ListDatasetsResponse::datasets_size() const { - return datasets_.size(); -} -inline void ListDatasetsResponse::clear_datasets() { - datasets_.Clear(); -} -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::Dataset >* -ListDatasetsResponse::mutable_datasets() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.ListDatasetsResponse.datasets) - return &datasets_; -} -inline const ::datacatalog::Dataset& ListDatasetsResponse::datasets(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsResponse.datasets) - return datasets_.Get(index); -} -inline ::datacatalog::Dataset* ListDatasetsResponse::add_datasets() { - // @@protoc_insertion_point(field_add:datacatalog.ListDatasetsResponse.datasets) - return datasets_.Add(); -} -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 ListDatasetsResponse::clear_next_token() { - next_token_.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 void ListDatasetsResponse::set_next_token(const ::std::string& value) { - - next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.ListDatasetsResponse.next_token) -} -#if LANG_CXX11 -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.ListDatasetsResponse.next_token) -} -#endif -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.ListDatasetsResponse.next_token) -} -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.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 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* 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 ::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; - } -} -inline void UpdateArtifactRequest::set_allocated_artifact_id(::std::string* artifact_id) { - if (has_query_handle()) { - clear_query_handle(); - } - 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) -} - -// string tag_name = 3; -inline bool UpdateArtifactRequest::has_tag_name() const { - return query_handle_case() == kTagName; -} -inline void UpdateArtifactRequest::set_has_tag_name() { - _oneof_case_[0] = kTagName; -} -inline void UpdateArtifactRequest::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) - 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) - 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) -} -#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) -} -#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()); - } - query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.UpdateArtifactRequest.tag_name) -} -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 ::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 ::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; - } -} -inline void UpdateArtifactRequest::set_allocated_tag_name(::std::string* tag_name) { - if (has_query_handle()) { - clear_query_handle(); - } - if (tag_name != nullptr) { - 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_; -} - -// .datacatalog.Metadata metadata = 5; -inline bool UpdateArtifactRequest::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void UpdateArtifactRequest::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::datacatalog::Metadata& UpdateArtifactRequest::metadata() const { - const ::datacatalog::Metadata* p = metadata_; - // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Metadata_default_instance_); -} -inline ::datacatalog::Metadata* UpdateArtifactRequest::release_metadata() { - // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactRequest.metadata) - - ::datacatalog::Metadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::datacatalog::Metadata* UpdateArtifactRequest::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Metadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.metadata) - return metadata_; -} -inline void UpdateArtifactRequest::set_allocated_metadata(::datacatalog::Metadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactRequest.metadata) -} - -inline bool UpdateArtifactRequest::has_query_handle() const { - return query_handle_case() != QUERY_HANDLE_NOT_SET; -} -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]); -} -// ------------------------------------------------------------------- - -// UpdateArtifactResponse - -// 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) -} -#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) -} -#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 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 ::std::string* UpdateArtifactResponse::mutable_artifact_id() { - - // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactResponse.artifact_id) - return artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -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 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) -} - -// ------------------------------------------------------------------- - -// ReservationID - -// .datacatalog.DatasetID dataset_id = 1; -inline bool ReservationID::has_dataset_id() const { - return this != internal_default_instance() && dataset_id_ != nullptr; -} -inline void ReservationID::clear_dataset_id() { - if (GetArenaNoVirtual() == nullptr && dataset_id_ != nullptr) { - delete dataset_id_; - } - dataset_id_ = nullptr; -} -inline const ::datacatalog::DatasetID& ReservationID::dataset_id() const { - const ::datacatalog::DatasetID* p = dataset_id_; - // @@protoc_insertion_point(field_get:datacatalog.ReservationID.dataset_id) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_DatasetID_default_instance_); -} -inline ::datacatalog::DatasetID* ReservationID::release_dataset_id() { - // @@protoc_insertion_point(field_release:datacatalog.ReservationID.dataset_id) - - ::datacatalog::DatasetID* temp = dataset_id_; - dataset_id_ = nullptr; - return temp; -} -inline ::datacatalog::DatasetID* ReservationID::mutable_dataset_id() { - - if (dataset_id_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); - dataset_id_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.ReservationID.dataset_id) - return dataset_id_; -} -inline void ReservationID::set_allocated_dataset_id(::datacatalog::DatasetID* dataset_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete dataset_id_; - } - if (dataset_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - dataset_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, dataset_id, submessage_arena); - } - - } else { - - } - dataset_id_ = dataset_id; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ReservationID.dataset_id) -} - -// string tag_name = 2; -inline void ReservationID::clear_tag_name() { - tag_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ReservationID::tag_name() const { - // @@protoc_insertion_point(field_get:datacatalog.ReservationID.tag_name) - return tag_name_.GetNoArena(); -} -inline void ReservationID::set_tag_name(const ::std::string& value) { - - tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.ReservationID.tag_name) -} -#if LANG_CXX11 -inline void ReservationID::set_tag_name(::std::string&& value) { - - tag_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.ReservationID.tag_name) -} -#endif -inline void ReservationID::set_tag_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.ReservationID.tag_name) -} -inline void ReservationID::set_tag_name(const char* value, size_t size) { - - tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.ReservationID.tag_name) -} -inline ::std::string* ReservationID::mutable_tag_name() { - - // @@protoc_insertion_point(field_mutable:datacatalog.ReservationID.tag_name) - return tag_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ReservationID::release_tag_name() { - // @@protoc_insertion_point(field_release:datacatalog.ReservationID.tag_name) - - return tag_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ReservationID::set_allocated_tag_name(::std::string* tag_name) { - if (tag_name != nullptr) { - - } else { - - } - tag_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tag_name); - // @@protoc_insertion_point(field_set_allocated:datacatalog.ReservationID.tag_name) -} - -// ------------------------------------------------------------------- - -// GetOrExtendReservationRequest - -// .datacatalog.ReservationID reservation_id = 1; -inline bool GetOrExtendReservationRequest::has_reservation_id() const { - return this != internal_default_instance() && reservation_id_ != nullptr; -} -inline void GetOrExtendReservationRequest::clear_reservation_id() { - if (GetArenaNoVirtual() == nullptr && reservation_id_ != nullptr) { - delete reservation_id_; - } - reservation_id_ = nullptr; -} -inline const ::datacatalog::ReservationID& GetOrExtendReservationRequest::reservation_id() const { - const ::datacatalog::ReservationID* p = reservation_id_; - // @@protoc_insertion_point(field_get:datacatalog.GetOrExtendReservationRequest.reservation_id) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_ReservationID_default_instance_); -} -inline ::datacatalog::ReservationID* GetOrExtendReservationRequest::release_reservation_id() { - // @@protoc_insertion_point(field_release:datacatalog.GetOrExtendReservationRequest.reservation_id) - - ::datacatalog::ReservationID* temp = reservation_id_; - reservation_id_ = nullptr; - return temp; -} -inline ::datacatalog::ReservationID* GetOrExtendReservationRequest::mutable_reservation_id() { - - if (reservation_id_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::ReservationID>(GetArenaNoVirtual()); - reservation_id_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.GetOrExtendReservationRequest.reservation_id) - return reservation_id_; -} -inline void GetOrExtendReservationRequest::set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reservation_id_; - } - if (reservation_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - reservation_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reservation_id, submessage_arena); - } - - } else { - - } - reservation_id_ = reservation_id; - // @@protoc_insertion_point(field_set_allocated:datacatalog.GetOrExtendReservationRequest.reservation_id) -} - -// string owner_id = 2; -inline void GetOrExtendReservationRequest::clear_owner_id() { - owner_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetOrExtendReservationRequest::owner_id() const { - // @@protoc_insertion_point(field_get:datacatalog.GetOrExtendReservationRequest.owner_id) - return owner_id_.GetNoArena(); -} -inline void GetOrExtendReservationRequest::set_owner_id(const ::std::string& value) { - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.GetOrExtendReservationRequest.owner_id) -} -#if LANG_CXX11 -inline void GetOrExtendReservationRequest::set_owner_id(::std::string&& value) { - - owner_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.GetOrExtendReservationRequest.owner_id) -} -#endif -inline void GetOrExtendReservationRequest::set_owner_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.GetOrExtendReservationRequest.owner_id) -} -inline void GetOrExtendReservationRequest::set_owner_id(const char* value, size_t size) { - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.GetOrExtendReservationRequest.owner_id) -} -inline ::std::string* GetOrExtendReservationRequest::mutable_owner_id() { - - // @@protoc_insertion_point(field_mutable:datacatalog.GetOrExtendReservationRequest.owner_id) - return owner_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetOrExtendReservationRequest::release_owner_id() { - // @@protoc_insertion_point(field_release:datacatalog.GetOrExtendReservationRequest.owner_id) - - return owner_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetOrExtendReservationRequest::set_allocated_owner_id(::std::string* owner_id) { - if (owner_id != nullptr) { - - } else { - - } - owner_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner_id); - // @@protoc_insertion_point(field_set_allocated:datacatalog.GetOrExtendReservationRequest.owner_id) -} - -// .google.protobuf.Duration heartbeat_interval = 3; -inline bool GetOrExtendReservationRequest::has_heartbeat_interval() const { - return this != internal_default_instance() && heartbeat_interval_ != nullptr; -} -inline const ::google::protobuf::Duration& GetOrExtendReservationRequest::heartbeat_interval() const { - const ::google::protobuf::Duration* p = heartbeat_interval_; - // @@protoc_insertion_point(field_get:datacatalog.GetOrExtendReservationRequest.heartbeat_interval) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* GetOrExtendReservationRequest::release_heartbeat_interval() { - // @@protoc_insertion_point(field_release:datacatalog.GetOrExtendReservationRequest.heartbeat_interval) - - ::google::protobuf::Duration* temp = heartbeat_interval_; - heartbeat_interval_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* GetOrExtendReservationRequest::mutable_heartbeat_interval() { - - if (heartbeat_interval_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - heartbeat_interval_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.GetOrExtendReservationRequest.heartbeat_interval) - return heartbeat_interval_; -} -inline void GetOrExtendReservationRequest::set_allocated_heartbeat_interval(::google::protobuf::Duration* heartbeat_interval) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(heartbeat_interval_); - } - if (heartbeat_interval) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(heartbeat_interval)->GetArena(); - if (message_arena != submessage_arena) { - heartbeat_interval = ::google::protobuf::internal::GetOwnedMessage( - message_arena, heartbeat_interval, submessage_arena); - } - - } else { - - } - heartbeat_interval_ = heartbeat_interval; - // @@protoc_insertion_point(field_set_allocated:datacatalog.GetOrExtendReservationRequest.heartbeat_interval) -} - -// ------------------------------------------------------------------- - -// Reservation - -// .datacatalog.ReservationID reservation_id = 1; -inline bool Reservation::has_reservation_id() const { - return this != internal_default_instance() && reservation_id_ != nullptr; -} -inline void Reservation::clear_reservation_id() { - if (GetArenaNoVirtual() == nullptr && reservation_id_ != nullptr) { - delete reservation_id_; - } - reservation_id_ = nullptr; -} -inline const ::datacatalog::ReservationID& Reservation::reservation_id() const { - const ::datacatalog::ReservationID* p = reservation_id_; - // @@protoc_insertion_point(field_get:datacatalog.Reservation.reservation_id) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_ReservationID_default_instance_); -} -inline ::datacatalog::ReservationID* Reservation::release_reservation_id() { - // @@protoc_insertion_point(field_release:datacatalog.Reservation.reservation_id) - - ::datacatalog::ReservationID* temp = reservation_id_; - reservation_id_ = nullptr; - return temp; -} -inline ::datacatalog::ReservationID* Reservation::mutable_reservation_id() { - - if (reservation_id_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::ReservationID>(GetArenaNoVirtual()); - reservation_id_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Reservation.reservation_id) - return reservation_id_; -} -inline void Reservation::set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reservation_id_; - } - if (reservation_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - reservation_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reservation_id, submessage_arena); - } - - } else { - - } - reservation_id_ = reservation_id; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Reservation.reservation_id) -} - -// string owner_id = 2; -inline void Reservation::clear_owner_id() { - owner_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Reservation::owner_id() const { - // @@protoc_insertion_point(field_get:datacatalog.Reservation.owner_id) - return owner_id_.GetNoArena(); -} -inline void Reservation::set_owner_id(const ::std::string& value) { - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.Reservation.owner_id) -} -#if LANG_CXX11 -inline void Reservation::set_owner_id(::std::string&& value) { - - owner_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.Reservation.owner_id) -} -#endif -inline void Reservation::set_owner_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.Reservation.owner_id) -} -inline void Reservation::set_owner_id(const char* value, size_t size) { - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.Reservation.owner_id) -} -inline ::std::string* Reservation::mutable_owner_id() { - - // @@protoc_insertion_point(field_mutable:datacatalog.Reservation.owner_id) - return owner_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Reservation::release_owner_id() { - // @@protoc_insertion_point(field_release:datacatalog.Reservation.owner_id) - - return owner_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Reservation::set_allocated_owner_id(::std::string* owner_id) { - if (owner_id != nullptr) { - - } else { - - } - owner_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner_id); - // @@protoc_insertion_point(field_set_allocated:datacatalog.Reservation.owner_id) -} - -// .google.protobuf.Duration heartbeat_interval = 3; -inline bool Reservation::has_heartbeat_interval() const { - return this != internal_default_instance() && heartbeat_interval_ != nullptr; -} -inline const ::google::protobuf::Duration& Reservation::heartbeat_interval() const { - const ::google::protobuf::Duration* p = heartbeat_interval_; - // @@protoc_insertion_point(field_get:datacatalog.Reservation.heartbeat_interval) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* Reservation::release_heartbeat_interval() { - // @@protoc_insertion_point(field_release:datacatalog.Reservation.heartbeat_interval) - - ::google::protobuf::Duration* temp = heartbeat_interval_; - heartbeat_interval_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* Reservation::mutable_heartbeat_interval() { - - if (heartbeat_interval_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - heartbeat_interval_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Reservation.heartbeat_interval) - return heartbeat_interval_; -} -inline void Reservation::set_allocated_heartbeat_interval(::google::protobuf::Duration* heartbeat_interval) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(heartbeat_interval_); - } - if (heartbeat_interval) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(heartbeat_interval)->GetArena(); - if (message_arena != submessage_arena) { - heartbeat_interval = ::google::protobuf::internal::GetOwnedMessage( - message_arena, heartbeat_interval, submessage_arena); - } - - } else { - - } - heartbeat_interval_ = heartbeat_interval; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Reservation.heartbeat_interval) -} - -// .google.protobuf.Timestamp expires_at = 4; -inline bool Reservation::has_expires_at() const { - return this != internal_default_instance() && expires_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& Reservation::expires_at() const { - const ::google::protobuf::Timestamp* p = expires_at_; - // @@protoc_insertion_point(field_get:datacatalog.Reservation.expires_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* Reservation::release_expires_at() { - // @@protoc_insertion_point(field_release:datacatalog.Reservation.expires_at) - - ::google::protobuf::Timestamp* temp = expires_at_; - expires_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Reservation::mutable_expires_at() { - - if (expires_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - expires_at_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Reservation.expires_at) - return expires_at_; -} -inline void Reservation::set_allocated_expires_at(::google::protobuf::Timestamp* expires_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_at_); - } - if (expires_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_at)->GetArena(); - if (message_arena != submessage_arena) { - expires_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_at, submessage_arena); - } - - } else { - - } - expires_at_ = expires_at; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Reservation.expires_at) -} - -// .datacatalog.Metadata metadata = 6; -inline bool Reservation::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void Reservation::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::datacatalog::Metadata& Reservation::metadata() const { - const ::datacatalog::Metadata* p = metadata_; - // @@protoc_insertion_point(field_get:datacatalog.Reservation.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Metadata_default_instance_); -} -inline ::datacatalog::Metadata* Reservation::release_metadata() { - // @@protoc_insertion_point(field_release:datacatalog.Reservation.metadata) - - ::datacatalog::Metadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::datacatalog::Metadata* Reservation::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Metadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Reservation.metadata) - return metadata_; -} -inline void Reservation::set_allocated_metadata(::datacatalog::Metadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Reservation.metadata) -} - -// ------------------------------------------------------------------- - -// GetOrExtendReservationResponse - -// .datacatalog.Reservation reservation = 1; -inline bool GetOrExtendReservationResponse::has_reservation() const { - return this != internal_default_instance() && reservation_ != nullptr; -} -inline void GetOrExtendReservationResponse::clear_reservation() { - if (GetArenaNoVirtual() == nullptr && reservation_ != nullptr) { - delete reservation_; - } - reservation_ = nullptr; -} -inline const ::datacatalog::Reservation& GetOrExtendReservationResponse::reservation() const { - const ::datacatalog::Reservation* p = reservation_; - // @@protoc_insertion_point(field_get:datacatalog.GetOrExtendReservationResponse.reservation) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Reservation_default_instance_); -} -inline ::datacatalog::Reservation* GetOrExtendReservationResponse::release_reservation() { - // @@protoc_insertion_point(field_release:datacatalog.GetOrExtendReservationResponse.reservation) - - ::datacatalog::Reservation* temp = reservation_; - reservation_ = nullptr; - return temp; -} -inline ::datacatalog::Reservation* GetOrExtendReservationResponse::mutable_reservation() { - - if (reservation_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Reservation>(GetArenaNoVirtual()); - reservation_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.GetOrExtendReservationResponse.reservation) - return reservation_; -} -inline void GetOrExtendReservationResponse::set_allocated_reservation(::datacatalog::Reservation* reservation) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reservation_; - } - if (reservation) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - reservation = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reservation, submessage_arena); - } - - } else { - - } - reservation_ = reservation; - // @@protoc_insertion_point(field_set_allocated:datacatalog.GetOrExtendReservationResponse.reservation) -} - -// ------------------------------------------------------------------- - -// ReleaseReservationRequest - -// .datacatalog.ReservationID reservation_id = 1; -inline bool ReleaseReservationRequest::has_reservation_id() const { - return this != internal_default_instance() && reservation_id_ != nullptr; -} -inline void ReleaseReservationRequest::clear_reservation_id() { - if (GetArenaNoVirtual() == nullptr && reservation_id_ != nullptr) { - delete reservation_id_; - } - reservation_id_ = nullptr; -} -inline const ::datacatalog::ReservationID& ReleaseReservationRequest::reservation_id() const { - const ::datacatalog::ReservationID* p = reservation_id_; - // @@protoc_insertion_point(field_get:datacatalog.ReleaseReservationRequest.reservation_id) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_ReservationID_default_instance_); -} -inline ::datacatalog::ReservationID* ReleaseReservationRequest::release_reservation_id() { - // @@protoc_insertion_point(field_release:datacatalog.ReleaseReservationRequest.reservation_id) - - ::datacatalog::ReservationID* temp = reservation_id_; - reservation_id_ = nullptr; - return temp; -} -inline ::datacatalog::ReservationID* ReleaseReservationRequest::mutable_reservation_id() { - - if (reservation_id_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::ReservationID>(GetArenaNoVirtual()); - reservation_id_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.ReleaseReservationRequest.reservation_id) - return reservation_id_; -} -inline void ReleaseReservationRequest::set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reservation_id_; - } - if (reservation_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - reservation_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reservation_id, submessage_arena); - } - - } else { - - } - reservation_id_ = reservation_id; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ReleaseReservationRequest.reservation_id) -} - -// string owner_id = 2; -inline void ReleaseReservationRequest::clear_owner_id() { - owner_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ReleaseReservationRequest::owner_id() const { - // @@protoc_insertion_point(field_get:datacatalog.ReleaseReservationRequest.owner_id) - return owner_id_.GetNoArena(); -} -inline void ReleaseReservationRequest::set_owner_id(const ::std::string& value) { - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.ReleaseReservationRequest.owner_id) -} -#if LANG_CXX11 -inline void ReleaseReservationRequest::set_owner_id(::std::string&& value) { - - owner_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.ReleaseReservationRequest.owner_id) -} -#endif -inline void ReleaseReservationRequest::set_owner_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.ReleaseReservationRequest.owner_id) -} -inline void ReleaseReservationRequest::set_owner_id(const char* value, size_t size) { - - owner_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.ReleaseReservationRequest.owner_id) -} -inline ::std::string* ReleaseReservationRequest::mutable_owner_id() { - - // @@protoc_insertion_point(field_mutable:datacatalog.ReleaseReservationRequest.owner_id) - return owner_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ReleaseReservationRequest::release_owner_id() { - // @@protoc_insertion_point(field_release:datacatalog.ReleaseReservationRequest.owner_id) - - return owner_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ReleaseReservationRequest::set_allocated_owner_id(::std::string* owner_id) { - if (owner_id != nullptr) { - - } else { - - } - owner_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner_id); - // @@protoc_insertion_point(field_set_allocated:datacatalog.ReleaseReservationRequest.owner_id) -} - -// ------------------------------------------------------------------- - -// ReleaseReservationResponse - -// ------------------------------------------------------------------- - -// Dataset - -// .datacatalog.DatasetID id = 1; -inline bool Dataset::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline void Dataset::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -inline const ::datacatalog::DatasetID& Dataset::id() const { - const ::datacatalog::DatasetID* p = id_; - // @@protoc_insertion_point(field_get:datacatalog.Dataset.id) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_DatasetID_default_instance_); -} -inline ::datacatalog::DatasetID* Dataset::release_id() { - // @@protoc_insertion_point(field_release:datacatalog.Dataset.id) - - ::datacatalog::DatasetID* temp = id_; - id_ = nullptr; - return temp; -} -inline ::datacatalog::DatasetID* Dataset::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Dataset.id) - return id_; -} -inline void Dataset::set_allocated_id(::datacatalog::DatasetID* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete id_; - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Dataset.id) -} - -// .datacatalog.Metadata metadata = 2; -inline bool Dataset::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void Dataset::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::datacatalog::Metadata& Dataset::metadata() const { - const ::datacatalog::Metadata* p = metadata_; - // @@protoc_insertion_point(field_get:datacatalog.Dataset.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Metadata_default_instance_); -} -inline ::datacatalog::Metadata* Dataset::release_metadata() { - // @@protoc_insertion_point(field_release:datacatalog.Dataset.metadata) - - ::datacatalog::Metadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::datacatalog::Metadata* Dataset::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Metadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Dataset.metadata) - return metadata_; -} -inline void Dataset::set_allocated_metadata(::datacatalog::Metadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Dataset.metadata) -} - -// repeated string partitionKeys = 3; -inline int Dataset::partitionkeys_size() const { - return partitionkeys_.size(); -} -inline void Dataset::clear_partitionkeys() { - partitionkeys_.Clear(); -} -inline const ::std::string& Dataset::partitionkeys(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.Dataset.partitionKeys) - return partitionkeys_.Get(index); -} -inline ::std::string* Dataset::mutable_partitionkeys(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.Dataset.partitionKeys) - return partitionkeys_.Mutable(index); -} -inline void Dataset::set_partitionkeys(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.Dataset.partitionKeys) - partitionkeys_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void Dataset::set_partitionkeys(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.Dataset.partitionKeys) - partitionkeys_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void Dataset::set_partitionkeys(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - partitionkeys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:datacatalog.Dataset.partitionKeys) -} -inline void Dataset::set_partitionkeys(int index, const char* value, size_t size) { - partitionkeys_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:datacatalog.Dataset.partitionKeys) -} -inline ::std::string* Dataset::add_partitionkeys() { - // @@protoc_insertion_point(field_add_mutable:datacatalog.Dataset.partitionKeys) - return partitionkeys_.Add(); -} -inline void Dataset::add_partitionkeys(const ::std::string& value) { - partitionkeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:datacatalog.Dataset.partitionKeys) -} -#if LANG_CXX11 -inline void Dataset::add_partitionkeys(::std::string&& value) { - partitionkeys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:datacatalog.Dataset.partitionKeys) -} -#endif -inline void Dataset::add_partitionkeys(const char* value) { - GOOGLE_DCHECK(value != nullptr); - partitionkeys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:datacatalog.Dataset.partitionKeys) -} -inline void Dataset::add_partitionkeys(const char* value, size_t size) { - partitionkeys_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:datacatalog.Dataset.partitionKeys) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -Dataset::partitionkeys() const { - // @@protoc_insertion_point(field_list:datacatalog.Dataset.partitionKeys) - return partitionkeys_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -Dataset::mutable_partitionkeys() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.Dataset.partitionKeys) - return &partitionkeys_; -} - -// ------------------------------------------------------------------- - -// Partition - -// string key = 1; -inline void Partition::clear_key() { - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Partition::key() const { - // @@protoc_insertion_point(field_get:datacatalog.Partition.key) - return key_.GetNoArena(); -} -inline void Partition::set_key(const ::std::string& value) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.Partition.key) -} -#if LANG_CXX11 -inline void Partition::set_key(::std::string&& value) { - - key_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.Partition.key) -} -#endif -inline void Partition::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.Partition.key) -} -inline void Partition::set_key(const char* value, size_t size) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.Partition.key) -} -inline ::std::string* Partition::mutable_key() { - - // @@protoc_insertion_point(field_mutable:datacatalog.Partition.key) - return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Partition::release_key() { - // @@protoc_insertion_point(field_release:datacatalog.Partition.key) - - return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Partition::set_allocated_key(::std::string* key) { - if (key != nullptr) { - - } else { - - } - key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); - // @@protoc_insertion_point(field_set_allocated:datacatalog.Partition.key) -} - -// string value = 2; -inline void Partition::clear_value() { - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Partition::value() const { - // @@protoc_insertion_point(field_get:datacatalog.Partition.value) - return value_.GetNoArena(); -} -inline void Partition::set_value(const ::std::string& value) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.Partition.value) -} -#if LANG_CXX11 -inline void Partition::set_value(::std::string&& value) { - - value_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.Partition.value) -} -#endif -inline void Partition::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.Partition.value) -} -inline void Partition::set_value(const char* value, size_t size) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.Partition.value) -} -inline ::std::string* Partition::mutable_value() { - - // @@protoc_insertion_point(field_mutable:datacatalog.Partition.value) - return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Partition::release_value() { - // @@protoc_insertion_point(field_release:datacatalog.Partition.value) - - return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Partition::set_allocated_value(::std::string* value) { - if (value != nullptr) { - - } else { - - } - value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set_allocated:datacatalog.Partition.value) -} - -// ------------------------------------------------------------------- - -// DatasetID - -// string project = 1; -inline void DatasetID::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DatasetID::project() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetID.project) - return project_.GetNoArena(); -} -inline void DatasetID::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetID.project) -} -#if LANG_CXX11 -inline void DatasetID::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetID.project) -} -#endif -inline void DatasetID::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetID.project) -} -inline void DatasetID::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetID.project) -} -inline ::std::string* DatasetID::mutable_project() { - - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetID.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetID::release_project() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetID.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DatasetID::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetID.project) -} - -// string name = 2; -inline void DatasetID::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DatasetID::name() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetID.name) - return name_.GetNoArena(); -} -inline void DatasetID::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetID.name) -} -#if LANG_CXX11 -inline void DatasetID::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetID.name) -} -#endif -inline void DatasetID::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetID.name) -} -inline void DatasetID::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetID.name) -} -inline ::std::string* DatasetID::mutable_name() { - - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetID.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetID::release_name() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetID.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DatasetID::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetID.name) -} - -// string domain = 3; -inline void DatasetID::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DatasetID::domain() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetID.domain) - return domain_.GetNoArena(); -} -inline void DatasetID::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetID.domain) -} -#if LANG_CXX11 -inline void DatasetID::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetID.domain) -} -#endif -inline void DatasetID::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetID.domain) -} -inline void DatasetID::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetID.domain) -} -inline ::std::string* DatasetID::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetID.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetID::release_domain() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetID.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DatasetID::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetID.domain) -} - -// string version = 4; -inline void DatasetID::clear_version() { - version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DatasetID::version() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetID.version) - return version_.GetNoArena(); -} -inline void DatasetID::set_version(const ::std::string& value) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetID.version) -} -#if LANG_CXX11 -inline void DatasetID::set_version(::std::string&& value) { - - version_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetID.version) -} -#endif -inline void DatasetID::set_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetID.version) -} -inline void DatasetID::set_version(const char* value, size_t size) { - - version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetID.version) -} -inline ::std::string* DatasetID::mutable_version() { - - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetID.version) - return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetID::release_version() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetID.version) - - return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DatasetID::set_allocated_version(::std::string* version) { - if (version != nullptr) { - - } else { - - } - version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetID.version) -} - -// string UUID = 5; -inline void DatasetID::clear_uuid() { - uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DatasetID::uuid() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetID.UUID) - return uuid_.GetNoArena(); -} -inline void DatasetID::set_uuid(const ::std::string& value) { - - uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetID.UUID) -} -#if LANG_CXX11 -inline void DatasetID::set_uuid(::std::string&& value) { - - uuid_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetID.UUID) -} -#endif -inline void DatasetID::set_uuid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetID.UUID) -} -inline void DatasetID::set_uuid(const char* value, size_t size) { - - uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetID.UUID) -} -inline ::std::string* DatasetID::mutable_uuid() { - - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetID.UUID) - return uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetID::release_uuid() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetID.UUID) - - return uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DatasetID::set_allocated_uuid(::std::string* uuid) { - if (uuid != nullptr) { - - } else { - - } - uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uuid); - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetID.UUID) -} - -// string org = 6; -inline void DatasetID::clear_org() { - org_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DatasetID::org() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetID.org) - return org_.GetNoArena(); -} -inline void DatasetID::set_org(const ::std::string& value) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetID.org) -} -#if LANG_CXX11 -inline void DatasetID::set_org(::std::string&& value) { - - org_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetID.org) -} -#endif -inline void DatasetID::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetID.org) -} -inline void DatasetID::set_org(const char* value, size_t size) { - - org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetID.org) -} -inline ::std::string* DatasetID::mutable_org() { - - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetID.org) - return org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetID::release_org() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetID.org) - - return org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DatasetID::set_allocated_org(::std::string* org) { - if (org != nullptr) { - - } else { - - } - org_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), org); - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetID.org) -} - -// ------------------------------------------------------------------- - -// Artifact - -// string id = 1; -inline void Artifact::clear_id() { - id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Artifact::id() const { - // @@protoc_insertion_point(field_get:datacatalog.Artifact.id) - return id_.GetNoArena(); -} -inline void Artifact::set_id(const ::std::string& value) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.Artifact.id) -} -#if LANG_CXX11 -inline void Artifact::set_id(::std::string&& value) { - - id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.Artifact.id) -} -#endif -inline void Artifact::set_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.Artifact.id) -} -inline void Artifact::set_id(const char* value, size_t size) { - - id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.Artifact.id) -} -inline ::std::string* Artifact::mutable_id() { - - // @@protoc_insertion_point(field_mutable:datacatalog.Artifact.id) - return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Artifact::release_id() { - // @@protoc_insertion_point(field_release:datacatalog.Artifact.id) - - return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Artifact::set_allocated_id(::std::string* id) { - if (id != nullptr) { - - } else { - - } - id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); - // @@protoc_insertion_point(field_set_allocated:datacatalog.Artifact.id) -} - -// .datacatalog.DatasetID dataset = 2; -inline bool Artifact::has_dataset() const { - return this != internal_default_instance() && dataset_ != nullptr; -} -inline void Artifact::clear_dataset() { - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; -} -inline const ::datacatalog::DatasetID& Artifact::dataset() const { - const ::datacatalog::DatasetID* p = dataset_; - // @@protoc_insertion_point(field_get:datacatalog.Artifact.dataset) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_DatasetID_default_instance_); -} -inline ::datacatalog::DatasetID* Artifact::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.Artifact.dataset) - - ::datacatalog::DatasetID* temp = dataset_; - dataset_ = nullptr; - return temp; -} -inline ::datacatalog::DatasetID* Artifact::mutable_dataset() { - - if (dataset_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); - dataset_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Artifact.dataset) - return dataset_; -} -inline void Artifact::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.Artifact.dataset) -} - -// repeated .datacatalog.ArtifactData data = 3; -inline int Artifact::data_size() const { - return data_.size(); -} -inline void Artifact::clear_data() { - data_.Clear(); -} -inline ::datacatalog::ArtifactData* Artifact::mutable_data(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.Artifact.data) - return data_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >* -Artifact::mutable_data() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.Artifact.data) - return &data_; -} -inline const ::datacatalog::ArtifactData& Artifact::data(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.Artifact.data) - return data_.Get(index); -} -inline ::datacatalog::ArtifactData* Artifact::add_data() { - // @@protoc_insertion_point(field_add:datacatalog.Artifact.data) - return data_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >& -Artifact::data() const { - // @@protoc_insertion_point(field_list:datacatalog.Artifact.data) - return data_; -} - -// .datacatalog.Metadata metadata = 4; -inline bool Artifact::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void Artifact::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::datacatalog::Metadata& Artifact::metadata() const { - const ::datacatalog::Metadata* p = metadata_; - // @@protoc_insertion_point(field_get:datacatalog.Artifact.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_Metadata_default_instance_); -} -inline ::datacatalog::Metadata* Artifact::release_metadata() { - // @@protoc_insertion_point(field_release:datacatalog.Artifact.metadata) - - ::datacatalog::Metadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::datacatalog::Metadata* Artifact::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::Metadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Artifact.metadata) - return metadata_; -} -inline void Artifact::set_allocated_metadata(::datacatalog::Metadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Artifact.metadata) -} - -// repeated .datacatalog.Partition partitions = 5; -inline int Artifact::partitions_size() const { - return partitions_.size(); -} -inline void Artifact::clear_partitions() { - partitions_.Clear(); -} -inline ::datacatalog::Partition* Artifact::mutable_partitions(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.Artifact.partitions) - return partitions_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition >* -Artifact::mutable_partitions() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.Artifact.partitions) - return &partitions_; -} -inline const ::datacatalog::Partition& Artifact::partitions(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.Artifact.partitions) - return partitions_.Get(index); -} -inline ::datacatalog::Partition* Artifact::add_partitions() { - // @@protoc_insertion_point(field_add:datacatalog.Artifact.partitions) - return partitions_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition >& -Artifact::partitions() const { - // @@protoc_insertion_point(field_list:datacatalog.Artifact.partitions) - return partitions_; -} - -// repeated .datacatalog.Tag tags = 6; -inline int Artifact::tags_size() const { - return tags_.size(); -} -inline void Artifact::clear_tags() { - tags_.Clear(); -} -inline ::datacatalog::Tag* Artifact::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.Artifact.tags) - return tags_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag >* -Artifact::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.Artifact.tags) - return &tags_; -} -inline const ::datacatalog::Tag& Artifact::tags(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.Artifact.tags) - return tags_.Get(index); -} -inline ::datacatalog::Tag* Artifact::add_tags() { - // @@protoc_insertion_point(field_add:datacatalog.Artifact.tags) - return tags_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag >& -Artifact::tags() const { - // @@protoc_insertion_point(field_list:datacatalog.Artifact.tags) - return tags_; -} - -// .google.protobuf.Timestamp created_at = 7; -inline bool Artifact::has_created_at() const { - return this != internal_default_instance() && created_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& Artifact::created_at() const { - const ::google::protobuf::Timestamp* p = created_at_; - // @@protoc_insertion_point(field_get:datacatalog.Artifact.created_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* Artifact::release_created_at() { - // @@protoc_insertion_point(field_release:datacatalog.Artifact.created_at) - - ::google::protobuf::Timestamp* temp = created_at_; - created_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Artifact::mutable_created_at() { - - if (created_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - created_at_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Artifact.created_at) - return created_at_; -} -inline void Artifact::set_allocated_created_at(::google::protobuf::Timestamp* created_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(created_at_); - } - if (created_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(created_at)->GetArena(); - if (message_arena != submessage_arena) { - created_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, created_at, submessage_arena); - } - - } else { - - } - created_at_ = created_at; - // @@protoc_insertion_point(field_set_allocated:datacatalog.Artifact.created_at) -} - -// ------------------------------------------------------------------- - -// ArtifactData - -// string name = 1; -inline void ArtifactData::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ArtifactData::name() const { - // @@protoc_insertion_point(field_get:datacatalog.ArtifactData.name) - return name_.GetNoArena(); -} -inline void ArtifactData::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.ArtifactData.name) -} -#if LANG_CXX11 -inline void ArtifactData::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.ArtifactData.name) -} -#endif -inline void ArtifactData::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.ArtifactData.name) -} -inline void ArtifactData::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.ArtifactData.name) -} -inline ::std::string* ArtifactData::mutable_name() { - - // @@protoc_insertion_point(field_mutable:datacatalog.ArtifactData.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactData::release_name() { - // @@protoc_insertion_point(field_release:datacatalog.ArtifactData.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ArtifactData::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:datacatalog.ArtifactData.name) -} - -// .flyteidl.core.Literal value = 2; -inline bool ArtifactData::has_value() const { - return this != internal_default_instance() && value_ != nullptr; -} -inline const ::flyteidl::core::Literal& ArtifactData::value() const { - const ::flyteidl::core::Literal* p = value_; - // @@protoc_insertion_point(field_get:datacatalog.ArtifactData.value) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Literal_default_instance_); -} -inline ::flyteidl::core::Literal* ArtifactData::release_value() { - // @@protoc_insertion_point(field_release:datacatalog.ArtifactData.value) - - ::flyteidl::core::Literal* temp = value_; - value_ = nullptr; - return temp; -} -inline ::flyteidl::core::Literal* ArtifactData::mutable_value() { - - if (value_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Literal>(GetArenaNoVirtual()); - value_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.ArtifactData.value) - return value_; -} -inline void ArtifactData::set_allocated_value(::flyteidl::core::Literal* value) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(value_); - } - if (value) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - - } else { - - } - value_ = value; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ArtifactData.value) -} - -// ------------------------------------------------------------------- - -// Tag - -// string name = 1; -inline void Tag::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Tag::name() const { - // @@protoc_insertion_point(field_get:datacatalog.Tag.name) - return name_.GetNoArena(); -} -inline void Tag::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.Tag.name) -} -#if LANG_CXX11 -inline void Tag::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.Tag.name) -} -#endif -inline void Tag::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.Tag.name) -} -inline void Tag::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.Tag.name) -} -inline ::std::string* Tag::mutable_name() { - - // @@protoc_insertion_point(field_mutable:datacatalog.Tag.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Tag::release_name() { - // @@protoc_insertion_point(field_release:datacatalog.Tag.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Tag::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:datacatalog.Tag.name) -} - -// string artifact_id = 2; -inline void Tag::clear_artifact_id() { - artifact_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Tag::artifact_id() const { - // @@protoc_insertion_point(field_get:datacatalog.Tag.artifact_id) - return artifact_id_.GetNoArena(); -} -inline void Tag::set_artifact_id(const ::std::string& value) { - - artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.Tag.artifact_id) -} -#if LANG_CXX11 -inline void Tag::set_artifact_id(::std::string&& value) { - - artifact_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.Tag.artifact_id) -} -#endif -inline void Tag::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.Tag.artifact_id) -} -inline void Tag::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.Tag.artifact_id) -} -inline ::std::string* Tag::mutable_artifact_id() { - - // @@protoc_insertion_point(field_mutable:datacatalog.Tag.artifact_id) - return artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Tag::release_artifact_id() { - // @@protoc_insertion_point(field_release:datacatalog.Tag.artifact_id) - - return artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Tag::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.Tag.artifact_id) -} - -// .datacatalog.DatasetID dataset = 3; -inline bool Tag::has_dataset() const { - return this != internal_default_instance() && dataset_ != nullptr; -} -inline void Tag::clear_dataset() { - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; - } - dataset_ = nullptr; -} -inline const ::datacatalog::DatasetID& Tag::dataset() const { - const ::datacatalog::DatasetID* p = dataset_; - // @@protoc_insertion_point(field_get:datacatalog.Tag.dataset) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_DatasetID_default_instance_); -} -inline ::datacatalog::DatasetID* Tag::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.Tag.dataset) - - ::datacatalog::DatasetID* temp = dataset_; - dataset_ = nullptr; - return temp; -} -inline ::datacatalog::DatasetID* Tag::mutable_dataset() { - - if (dataset_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); - dataset_ = p; - } - // @@protoc_insertion_point(field_mutable:datacatalog.Tag.dataset) - return dataset_; -} -inline void Tag::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.Tag.dataset) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// Metadata - -// map key_map = 1; -inline int Metadata::key_map_size() const { - return key_map_.size(); -} -inline void Metadata::clear_key_map() { - key_map_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -Metadata::key_map() const { - // @@protoc_insertion_point(field_map:datacatalog.Metadata.key_map) - return key_map_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -Metadata::mutable_key_map() { - // @@protoc_insertion_point(field_mutable_map:datacatalog.Metadata.key_map) - return key_map_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// FilterExpression - -// repeated .datacatalog.SinglePropertyFilter filters = 1; -inline int FilterExpression::filters_size() const { - return filters_.size(); -} -inline void FilterExpression::clear_filters() { - filters_.Clear(); -} -inline ::datacatalog::SinglePropertyFilter* FilterExpression::mutable_filters(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.FilterExpression.filters) - return filters_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter >* -FilterExpression::mutable_filters() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.FilterExpression.filters) - return &filters_; -} -inline const ::datacatalog::SinglePropertyFilter& FilterExpression::filters(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.FilterExpression.filters) - return filters_.Get(index); -} -inline ::datacatalog::SinglePropertyFilter* FilterExpression::add_filters() { - // @@protoc_insertion_point(field_add:datacatalog.FilterExpression.filters) - return filters_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter >& -FilterExpression::filters() const { - // @@protoc_insertion_point(field_list:datacatalog.FilterExpression.filters) - return filters_; -} - -// ------------------------------------------------------------------- - -// SinglePropertyFilter - -// .datacatalog.TagPropertyFilter tag_filter = 1; -inline bool SinglePropertyFilter::has_tag_filter() const { - return property_filter_case() == kTagFilter; -} -inline void SinglePropertyFilter::set_has_tag_filter() { - _oneof_case_[0] = kTagFilter; -} -inline void SinglePropertyFilter::clear_tag_filter() { - if (has_tag_filter()) { - delete property_filter_.tag_filter_; - clear_has_property_filter(); - } -} -inline ::datacatalog::TagPropertyFilter* SinglePropertyFilter::release_tag_filter() { - // @@protoc_insertion_point(field_release:datacatalog.SinglePropertyFilter.tag_filter) - if (has_tag_filter()) { - clear_has_property_filter(); - ::datacatalog::TagPropertyFilter* temp = property_filter_.tag_filter_; - property_filter_.tag_filter_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::datacatalog::TagPropertyFilter& SinglePropertyFilter::tag_filter() const { - // @@protoc_insertion_point(field_get:datacatalog.SinglePropertyFilter.tag_filter) - return has_tag_filter() - ? *property_filter_.tag_filter_ - : *reinterpret_cast< ::datacatalog::TagPropertyFilter*>(&::datacatalog::_TagPropertyFilter_default_instance_); -} -inline ::datacatalog::TagPropertyFilter* SinglePropertyFilter::mutable_tag_filter() { - if (!has_tag_filter()) { - clear_property_filter(); - set_has_tag_filter(); - property_filter_.tag_filter_ = CreateMaybeMessage< ::datacatalog::TagPropertyFilter >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.SinglePropertyFilter.tag_filter) - return property_filter_.tag_filter_; -} - -// .datacatalog.PartitionPropertyFilter partition_filter = 2; -inline bool SinglePropertyFilter::has_partition_filter() const { - return property_filter_case() == kPartitionFilter; -} -inline void SinglePropertyFilter::set_has_partition_filter() { - _oneof_case_[0] = kPartitionFilter; -} -inline void SinglePropertyFilter::clear_partition_filter() { - if (has_partition_filter()) { - delete property_filter_.partition_filter_; - clear_has_property_filter(); - } -} -inline ::datacatalog::PartitionPropertyFilter* SinglePropertyFilter::release_partition_filter() { - // @@protoc_insertion_point(field_release:datacatalog.SinglePropertyFilter.partition_filter) - if (has_partition_filter()) { - clear_has_property_filter(); - ::datacatalog::PartitionPropertyFilter* temp = property_filter_.partition_filter_; - property_filter_.partition_filter_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::datacatalog::PartitionPropertyFilter& SinglePropertyFilter::partition_filter() const { - // @@protoc_insertion_point(field_get:datacatalog.SinglePropertyFilter.partition_filter) - return has_partition_filter() - ? *property_filter_.partition_filter_ - : *reinterpret_cast< ::datacatalog::PartitionPropertyFilter*>(&::datacatalog::_PartitionPropertyFilter_default_instance_); -} -inline ::datacatalog::PartitionPropertyFilter* SinglePropertyFilter::mutable_partition_filter() { - if (!has_partition_filter()) { - clear_property_filter(); - set_has_partition_filter(); - property_filter_.partition_filter_ = CreateMaybeMessage< ::datacatalog::PartitionPropertyFilter >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.SinglePropertyFilter.partition_filter) - return property_filter_.partition_filter_; -} - -// .datacatalog.ArtifactPropertyFilter artifact_filter = 3; -inline bool SinglePropertyFilter::has_artifact_filter() const { - return property_filter_case() == kArtifactFilter; -} -inline void SinglePropertyFilter::set_has_artifact_filter() { - _oneof_case_[0] = kArtifactFilter; -} -inline void SinglePropertyFilter::clear_artifact_filter() { - if (has_artifact_filter()) { - delete property_filter_.artifact_filter_; - clear_has_property_filter(); - } -} -inline ::datacatalog::ArtifactPropertyFilter* SinglePropertyFilter::release_artifact_filter() { - // @@protoc_insertion_point(field_release:datacatalog.SinglePropertyFilter.artifact_filter) - if (has_artifact_filter()) { - clear_has_property_filter(); - ::datacatalog::ArtifactPropertyFilter* temp = property_filter_.artifact_filter_; - property_filter_.artifact_filter_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::datacatalog::ArtifactPropertyFilter& SinglePropertyFilter::artifact_filter() const { - // @@protoc_insertion_point(field_get:datacatalog.SinglePropertyFilter.artifact_filter) - return has_artifact_filter() - ? *property_filter_.artifact_filter_ - : *reinterpret_cast< ::datacatalog::ArtifactPropertyFilter*>(&::datacatalog::_ArtifactPropertyFilter_default_instance_); -} -inline ::datacatalog::ArtifactPropertyFilter* SinglePropertyFilter::mutable_artifact_filter() { - if (!has_artifact_filter()) { - clear_property_filter(); - set_has_artifact_filter(); - property_filter_.artifact_filter_ = CreateMaybeMessage< ::datacatalog::ArtifactPropertyFilter >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.SinglePropertyFilter.artifact_filter) - return property_filter_.artifact_filter_; -} - -// .datacatalog.DatasetPropertyFilter dataset_filter = 4; -inline bool SinglePropertyFilter::has_dataset_filter() const { - return property_filter_case() == kDatasetFilter; -} -inline void SinglePropertyFilter::set_has_dataset_filter() { - _oneof_case_[0] = kDatasetFilter; -} -inline void SinglePropertyFilter::clear_dataset_filter() { - if (has_dataset_filter()) { - delete property_filter_.dataset_filter_; - clear_has_property_filter(); - } -} -inline ::datacatalog::DatasetPropertyFilter* SinglePropertyFilter::release_dataset_filter() { - // @@protoc_insertion_point(field_release:datacatalog.SinglePropertyFilter.dataset_filter) - if (has_dataset_filter()) { - clear_has_property_filter(); - ::datacatalog::DatasetPropertyFilter* temp = property_filter_.dataset_filter_; - property_filter_.dataset_filter_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::datacatalog::DatasetPropertyFilter& SinglePropertyFilter::dataset_filter() const { - // @@protoc_insertion_point(field_get:datacatalog.SinglePropertyFilter.dataset_filter) - return has_dataset_filter() - ? *property_filter_.dataset_filter_ - : *reinterpret_cast< ::datacatalog::DatasetPropertyFilter*>(&::datacatalog::_DatasetPropertyFilter_default_instance_); -} -inline ::datacatalog::DatasetPropertyFilter* SinglePropertyFilter::mutable_dataset_filter() { - if (!has_dataset_filter()) { - clear_property_filter(); - set_has_dataset_filter(); - property_filter_.dataset_filter_ = CreateMaybeMessage< ::datacatalog::DatasetPropertyFilter >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.SinglePropertyFilter.dataset_filter) - return property_filter_.dataset_filter_; -} - -// .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; -inline void SinglePropertyFilter::clear_operator_() { - operator__ = 0; -} -inline ::datacatalog::SinglePropertyFilter_ComparisonOperator SinglePropertyFilter::operator_() const { - // @@protoc_insertion_point(field_get:datacatalog.SinglePropertyFilter.operator) - return static_cast< ::datacatalog::SinglePropertyFilter_ComparisonOperator >(operator__); -} -inline void SinglePropertyFilter::set_operator_(::datacatalog::SinglePropertyFilter_ComparisonOperator value) { - - operator__ = value; - // @@protoc_insertion_point(field_set:datacatalog.SinglePropertyFilter.operator) -} - -inline bool SinglePropertyFilter::has_property_filter() const { - return property_filter_case() != PROPERTY_FILTER_NOT_SET; -} -inline void SinglePropertyFilter::clear_has_property_filter() { - _oneof_case_[0] = PROPERTY_FILTER_NOT_SET; -} -inline SinglePropertyFilter::PropertyFilterCase SinglePropertyFilter::property_filter_case() const { - return SinglePropertyFilter::PropertyFilterCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// ArtifactPropertyFilter - -// string artifact_id = 1; -inline bool ArtifactPropertyFilter::has_artifact_id() const { - return property_case() == kArtifactId; -} -inline void ArtifactPropertyFilter::set_has_artifact_id() { - _oneof_case_[0] = kArtifactId; -} -inline void ArtifactPropertyFilter::clear_artifact_id() { - if (has_artifact_id()) { - property_.artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_property(); - } -} -inline const ::std::string& ArtifactPropertyFilter::artifact_id() const { - // @@protoc_insertion_point(field_get:datacatalog.ArtifactPropertyFilter.artifact_id) - if (has_artifact_id()) { - return property_.artifact_id_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void ArtifactPropertyFilter::set_artifact_id(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.ArtifactPropertyFilter.artifact_id) - if (!has_artifact_id()) { - clear_property(); - set_has_artifact_id(); - property_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.ArtifactPropertyFilter.artifact_id) -} -#if LANG_CXX11 -inline void ArtifactPropertyFilter::set_artifact_id(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.ArtifactPropertyFilter.artifact_id) - if (!has_artifact_id()) { - clear_property(); - set_has_artifact_id(); - property_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.ArtifactPropertyFilter.artifact_id) -} -#endif -inline void ArtifactPropertyFilter::set_artifact_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_artifact_id()) { - clear_property(); - set_has_artifact_id(); - property_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.ArtifactPropertyFilter.artifact_id) -} -inline void ArtifactPropertyFilter::set_artifact_id(const char* value, size_t size) { - if (!has_artifact_id()) { - clear_property(); - set_has_artifact_id(); - property_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.ArtifactPropertyFilter.artifact_id) -} -inline ::std::string* ArtifactPropertyFilter::mutable_artifact_id() { - if (!has_artifact_id()) { - clear_property(); - set_has_artifact_id(); - property_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.ArtifactPropertyFilter.artifact_id) - return property_.artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ArtifactPropertyFilter::release_artifact_id() { - // @@protoc_insertion_point(field_release:datacatalog.ArtifactPropertyFilter.artifact_id) - if (has_artifact_id()) { - clear_has_property(); - return property_.artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void ArtifactPropertyFilter::set_allocated_artifact_id(::std::string* artifact_id) { - if (has_property()) { - clear_property(); - } - if (artifact_id != nullptr) { - set_has_artifact_id(); - property_.artifact_id_.UnsafeSetDefault(artifact_id); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.ArtifactPropertyFilter.artifact_id) -} - -inline bool ArtifactPropertyFilter::has_property() const { - return property_case() != PROPERTY_NOT_SET; -} -inline void ArtifactPropertyFilter::clear_has_property() { - _oneof_case_[0] = PROPERTY_NOT_SET; -} -inline ArtifactPropertyFilter::PropertyCase ArtifactPropertyFilter::property_case() const { - return ArtifactPropertyFilter::PropertyCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// TagPropertyFilter - -// string tag_name = 1; -inline bool TagPropertyFilter::has_tag_name() const { - return property_case() == kTagName; -} -inline void TagPropertyFilter::set_has_tag_name() { - _oneof_case_[0] = kTagName; -} -inline void TagPropertyFilter::clear_tag_name() { - if (has_tag_name()) { - property_.tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_property(); - } -} -inline const ::std::string& TagPropertyFilter::tag_name() const { - // @@protoc_insertion_point(field_get:datacatalog.TagPropertyFilter.tag_name) - if (has_tag_name()) { - return property_.tag_name_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void TagPropertyFilter::set_tag_name(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.TagPropertyFilter.tag_name) - if (!has_tag_name()) { - clear_property(); - set_has_tag_name(); - property_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.TagPropertyFilter.tag_name) -} -#if LANG_CXX11 -inline void TagPropertyFilter::set_tag_name(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.TagPropertyFilter.tag_name) - if (!has_tag_name()) { - clear_property(); - set_has_tag_name(); - property_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.TagPropertyFilter.tag_name) -} -#endif -inline void TagPropertyFilter::set_tag_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_tag_name()) { - clear_property(); - set_has_tag_name(); - property_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.TagPropertyFilter.tag_name) -} -inline void TagPropertyFilter::set_tag_name(const char* value, size_t size) { - if (!has_tag_name()) { - clear_property(); - set_has_tag_name(); - property_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.TagPropertyFilter.tag_name) -} -inline ::std::string* TagPropertyFilter::mutable_tag_name() { - if (!has_tag_name()) { - clear_property(); - set_has_tag_name(); - property_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.TagPropertyFilter.tag_name) - return property_.tag_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TagPropertyFilter::release_tag_name() { - // @@protoc_insertion_point(field_release:datacatalog.TagPropertyFilter.tag_name) - if (has_tag_name()) { - clear_has_property(); - return property_.tag_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void TagPropertyFilter::set_allocated_tag_name(::std::string* tag_name) { - if (has_property()) { - clear_property(); - } - if (tag_name != nullptr) { - set_has_tag_name(); - property_.tag_name_.UnsafeSetDefault(tag_name); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.TagPropertyFilter.tag_name) -} - -inline bool TagPropertyFilter::has_property() const { - return property_case() != PROPERTY_NOT_SET; -} -inline void TagPropertyFilter::clear_has_property() { - _oneof_case_[0] = PROPERTY_NOT_SET; -} -inline TagPropertyFilter::PropertyCase TagPropertyFilter::property_case() const { - return TagPropertyFilter::PropertyCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// PartitionPropertyFilter - -// .datacatalog.KeyValuePair key_val = 1; -inline bool PartitionPropertyFilter::has_key_val() const { - return property_case() == kKeyVal; -} -inline void PartitionPropertyFilter::set_has_key_val() { - _oneof_case_[0] = kKeyVal; -} -inline void PartitionPropertyFilter::clear_key_val() { - if (has_key_val()) { - delete property_.key_val_; - clear_has_property(); - } -} -inline ::datacatalog::KeyValuePair* PartitionPropertyFilter::release_key_val() { - // @@protoc_insertion_point(field_release:datacatalog.PartitionPropertyFilter.key_val) - if (has_key_val()) { - clear_has_property(); - ::datacatalog::KeyValuePair* temp = property_.key_val_; - property_.key_val_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::datacatalog::KeyValuePair& PartitionPropertyFilter::key_val() const { - // @@protoc_insertion_point(field_get:datacatalog.PartitionPropertyFilter.key_val) - return has_key_val() - ? *property_.key_val_ - : *reinterpret_cast< ::datacatalog::KeyValuePair*>(&::datacatalog::_KeyValuePair_default_instance_); -} -inline ::datacatalog::KeyValuePair* PartitionPropertyFilter::mutable_key_val() { - if (!has_key_val()) { - clear_property(); - set_has_key_val(); - property_.key_val_ = CreateMaybeMessage< ::datacatalog::KeyValuePair >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.PartitionPropertyFilter.key_val) - return property_.key_val_; -} - -inline bool PartitionPropertyFilter::has_property() const { - return property_case() != PROPERTY_NOT_SET; -} -inline void PartitionPropertyFilter::clear_has_property() { - _oneof_case_[0] = PROPERTY_NOT_SET; -} -inline PartitionPropertyFilter::PropertyCase PartitionPropertyFilter::property_case() const { - return PartitionPropertyFilter::PropertyCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// KeyValuePair - -// string key = 1; -inline void KeyValuePair::clear_key() { - key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& KeyValuePair::key() const { - // @@protoc_insertion_point(field_get:datacatalog.KeyValuePair.key) - return key_.GetNoArena(); -} -inline void KeyValuePair::set_key(const ::std::string& value) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.KeyValuePair.key) -} -#if LANG_CXX11 -inline void KeyValuePair::set_key(::std::string&& value) { - - key_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.KeyValuePair.key) -} -#endif -inline void KeyValuePair::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.KeyValuePair.key) -} -inline void KeyValuePair::set_key(const char* value, size_t size) { - - key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.KeyValuePair.key) -} -inline ::std::string* KeyValuePair::mutable_key() { - - // @@protoc_insertion_point(field_mutable:datacatalog.KeyValuePair.key) - return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* KeyValuePair::release_key() { - // @@protoc_insertion_point(field_release:datacatalog.KeyValuePair.key) - - return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void KeyValuePair::set_allocated_key(::std::string* key) { - if (key != nullptr) { - - } else { - - } - key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); - // @@protoc_insertion_point(field_set_allocated:datacatalog.KeyValuePair.key) -} - -// string value = 2; -inline void KeyValuePair::clear_value() { - value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& KeyValuePair::value() const { - // @@protoc_insertion_point(field_get:datacatalog.KeyValuePair.value) - return value_.GetNoArena(); -} -inline void KeyValuePair::set_value(const ::std::string& value) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.KeyValuePair.value) -} -#if LANG_CXX11 -inline void KeyValuePair::set_value(::std::string&& value) { - - value_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.KeyValuePair.value) -} -#endif -inline void KeyValuePair::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.KeyValuePair.value) -} -inline void KeyValuePair::set_value(const char* value, size_t size) { - - value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.KeyValuePair.value) -} -inline ::std::string* KeyValuePair::mutable_value() { - - // @@protoc_insertion_point(field_mutable:datacatalog.KeyValuePair.value) - return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* KeyValuePair::release_value() { - // @@protoc_insertion_point(field_release:datacatalog.KeyValuePair.value) - - return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void KeyValuePair::set_allocated_value(::std::string* value) { - if (value != nullptr) { - - } else { - - } - value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set_allocated:datacatalog.KeyValuePair.value) -} - -// ------------------------------------------------------------------- - -// DatasetPropertyFilter - -// string project = 1; -inline bool DatasetPropertyFilter::has_project() const { - return property_case() == kProject; -} -inline void DatasetPropertyFilter::set_has_project() { - _oneof_case_[0] = kProject; -} -inline void DatasetPropertyFilter::clear_project() { - if (has_project()) { - property_.project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_property(); - } -} -inline const ::std::string& DatasetPropertyFilter::project() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetPropertyFilter.project) - if (has_project()) { - return property_.project_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void DatasetPropertyFilter::set_project(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.project) - if (!has_project()) { - clear_property(); - set_has_project(); - property_.project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.project) -} -#if LANG_CXX11 -inline void DatasetPropertyFilter::set_project(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.project) - if (!has_project()) { - clear_property(); - set_has_project(); - property_.project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetPropertyFilter.project) -} -#endif -inline void DatasetPropertyFilter::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_project()) { - clear_property(); - set_has_project(); - property_.project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetPropertyFilter.project) -} -inline void DatasetPropertyFilter::set_project(const char* value, size_t size) { - if (!has_project()) { - clear_property(); - set_has_project(); - property_.project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetPropertyFilter.project) -} -inline ::std::string* DatasetPropertyFilter::mutable_project() { - if (!has_project()) { - clear_property(); - set_has_project(); - property_.project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetPropertyFilter.project) - return property_.project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetPropertyFilter::release_project() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetPropertyFilter.project) - if (has_project()) { - clear_has_property(); - return property_.project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void DatasetPropertyFilter::set_allocated_project(::std::string* project) { - if (has_property()) { - clear_property(); - } - if (project != nullptr) { - set_has_project(); - property_.project_.UnsafeSetDefault(project); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetPropertyFilter.project) -} - -// string name = 2; -inline bool DatasetPropertyFilter::has_name() const { - return property_case() == kName; -} -inline void DatasetPropertyFilter::set_has_name() { - _oneof_case_[0] = kName; -} -inline void DatasetPropertyFilter::clear_name() { - if (has_name()) { - property_.name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_property(); - } -} -inline const ::std::string& DatasetPropertyFilter::name() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetPropertyFilter.name) - if (has_name()) { - return property_.name_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void DatasetPropertyFilter::set_name(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.name) - if (!has_name()) { - clear_property(); - set_has_name(); - property_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.name) -} -#if LANG_CXX11 -inline void DatasetPropertyFilter::set_name(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.name) - if (!has_name()) { - clear_property(); - set_has_name(); - property_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetPropertyFilter.name) -} -#endif -inline void DatasetPropertyFilter::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_name()) { - clear_property(); - set_has_name(); - property_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetPropertyFilter.name) -} -inline void DatasetPropertyFilter::set_name(const char* value, size_t size) { - if (!has_name()) { - clear_property(); - set_has_name(); - property_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetPropertyFilter.name) -} -inline ::std::string* DatasetPropertyFilter::mutable_name() { - if (!has_name()) { - clear_property(); - set_has_name(); - property_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetPropertyFilter.name) - return property_.name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetPropertyFilter::release_name() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetPropertyFilter.name) - if (has_name()) { - clear_has_property(); - return property_.name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void DatasetPropertyFilter::set_allocated_name(::std::string* name) { - if (has_property()) { - clear_property(); - } - if (name != nullptr) { - set_has_name(); - property_.name_.UnsafeSetDefault(name); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetPropertyFilter.name) -} - -// string domain = 3; -inline bool DatasetPropertyFilter::has_domain() const { - return property_case() == kDomain; -} -inline void DatasetPropertyFilter::set_has_domain() { - _oneof_case_[0] = kDomain; -} -inline void DatasetPropertyFilter::clear_domain() { - if (has_domain()) { - property_.domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_property(); - } -} -inline const ::std::string& DatasetPropertyFilter::domain() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetPropertyFilter.domain) - if (has_domain()) { - return property_.domain_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void DatasetPropertyFilter::set_domain(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.domain) - if (!has_domain()) { - clear_property(); - set_has_domain(); - property_.domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.domain) -} -#if LANG_CXX11 -inline void DatasetPropertyFilter::set_domain(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.domain) - if (!has_domain()) { - clear_property(); - set_has_domain(); - property_.domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetPropertyFilter.domain) -} -#endif -inline void DatasetPropertyFilter::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_domain()) { - clear_property(); - set_has_domain(); - property_.domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetPropertyFilter.domain) -} -inline void DatasetPropertyFilter::set_domain(const char* value, size_t size) { - if (!has_domain()) { - clear_property(); - set_has_domain(); - property_.domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetPropertyFilter.domain) -} -inline ::std::string* DatasetPropertyFilter::mutable_domain() { - if (!has_domain()) { - clear_property(); - set_has_domain(); - property_.domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetPropertyFilter.domain) - return property_.domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetPropertyFilter::release_domain() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetPropertyFilter.domain) - if (has_domain()) { - clear_has_property(); - return property_.domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void DatasetPropertyFilter::set_allocated_domain(::std::string* domain) { - if (has_property()) { - clear_property(); - } - if (domain != nullptr) { - set_has_domain(); - property_.domain_.UnsafeSetDefault(domain); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetPropertyFilter.domain) -} - -// string version = 4; -inline bool DatasetPropertyFilter::has_version() const { - return property_case() == kVersion; -} -inline void DatasetPropertyFilter::set_has_version() { - _oneof_case_[0] = kVersion; -} -inline void DatasetPropertyFilter::clear_version() { - if (has_version()) { - property_.version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_property(); - } -} -inline const ::std::string& DatasetPropertyFilter::version() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetPropertyFilter.version) - if (has_version()) { - return property_.version_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void DatasetPropertyFilter::set_version(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.version) - if (!has_version()) { - clear_property(); - set_has_version(); - property_.version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.version) -} -#if LANG_CXX11 -inline void DatasetPropertyFilter::set_version(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.version) - if (!has_version()) { - clear_property(); - set_has_version(); - property_.version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetPropertyFilter.version) -} -#endif -inline void DatasetPropertyFilter::set_version(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_version()) { - clear_property(); - set_has_version(); - property_.version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetPropertyFilter.version) -} -inline void DatasetPropertyFilter::set_version(const char* value, size_t size) { - if (!has_version()) { - clear_property(); - set_has_version(); - property_.version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetPropertyFilter.version) -} -inline ::std::string* DatasetPropertyFilter::mutable_version() { - if (!has_version()) { - clear_property(); - set_has_version(); - property_.version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetPropertyFilter.version) - return property_.version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetPropertyFilter::release_version() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetPropertyFilter.version) - if (has_version()) { - clear_has_property(); - return property_.version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void DatasetPropertyFilter::set_allocated_version(::std::string* version) { - if (has_property()) { - clear_property(); - } - if (version != nullptr) { - set_has_version(); - property_.version_.UnsafeSetDefault(version); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetPropertyFilter.version) -} - -// string org = 5; -inline bool DatasetPropertyFilter::has_org() const { - return property_case() == kOrg; -} -inline void DatasetPropertyFilter::set_has_org() { - _oneof_case_[0] = kOrg; -} -inline void DatasetPropertyFilter::clear_org() { - if (has_org()) { - property_.org_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_property(); - } -} -inline const ::std::string& DatasetPropertyFilter::org() const { - // @@protoc_insertion_point(field_get:datacatalog.DatasetPropertyFilter.org) - if (has_org()) { - return property_.org_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void DatasetPropertyFilter::set_org(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.org) - if (!has_org()) { - clear_property(); - set_has_org(); - property_.org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.org) -} -#if LANG_CXX11 -inline void DatasetPropertyFilter::set_org(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.DatasetPropertyFilter.org) - if (!has_org()) { - clear_property(); - set_has_org(); - property_.org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.DatasetPropertyFilter.org) -} -#endif -inline void DatasetPropertyFilter::set_org(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_org()) { - clear_property(); - set_has_org(); - property_.org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.DatasetPropertyFilter.org) -} -inline void DatasetPropertyFilter::set_org(const char* value, size_t size) { - if (!has_org()) { - clear_property(); - set_has_org(); - property_.org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - property_.org_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.DatasetPropertyFilter.org) -} -inline ::std::string* DatasetPropertyFilter::mutable_org() { - if (!has_org()) { - clear_property(); - set_has_org(); - property_.org_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:datacatalog.DatasetPropertyFilter.org) - return property_.org_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DatasetPropertyFilter::release_org() { - // @@protoc_insertion_point(field_release:datacatalog.DatasetPropertyFilter.org) - if (has_org()) { - clear_has_property(); - return property_.org_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void DatasetPropertyFilter::set_allocated_org(::std::string* org) { - if (has_property()) { - clear_property(); - } - if (org != nullptr) { - set_has_org(); - property_.org_.UnsafeSetDefault(org); - } - // @@protoc_insertion_point(field_set_allocated:datacatalog.DatasetPropertyFilter.org) -} - -inline bool DatasetPropertyFilter::has_property() const { - return property_case() != PROPERTY_NOT_SET; -} -inline void DatasetPropertyFilter::clear_has_property() { - _oneof_case_[0] = PROPERTY_NOT_SET; -} -inline DatasetPropertyFilter::PropertyCase DatasetPropertyFilter::property_case() const { - return DatasetPropertyFilter::PropertyCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// PaginationOptions - -// uint32 limit = 1; -inline void PaginationOptions::clear_limit() { - limit_ = 0u; -} -inline ::google::protobuf::uint32 PaginationOptions::limit() const { - // @@protoc_insertion_point(field_get:datacatalog.PaginationOptions.limit) - return limit_; -} -inline void PaginationOptions::set_limit(::google::protobuf::uint32 value) { - - limit_ = value; - // @@protoc_insertion_point(field_set:datacatalog.PaginationOptions.limit) -} - -// string token = 2; -inline void PaginationOptions::clear_token() { - token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PaginationOptions::token() const { - // @@protoc_insertion_point(field_get:datacatalog.PaginationOptions.token) - return token_.GetNoArena(); -} -inline void PaginationOptions::set_token(const ::std::string& value) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.PaginationOptions.token) -} -#if LANG_CXX11 -inline void PaginationOptions::set_token(::std::string&& value) { - - token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.PaginationOptions.token) -} -#endif -inline void PaginationOptions::set_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.PaginationOptions.token) -} -inline void PaginationOptions::set_token(const char* value, size_t size) { - - token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.PaginationOptions.token) -} -inline ::std::string* PaginationOptions::mutable_token() { - - // @@protoc_insertion_point(field_mutable:datacatalog.PaginationOptions.token) - return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PaginationOptions::release_token() { - // @@protoc_insertion_point(field_release:datacatalog.PaginationOptions.token) - - return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PaginationOptions::set_allocated_token(::std::string* token) { - if (token != nullptr) { - - } else { - - } - token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); - // @@protoc_insertion_point(field_set_allocated:datacatalog.PaginationOptions.token) -} - -// .datacatalog.PaginationOptions.SortKey sortKey = 3; -inline void PaginationOptions::clear_sortkey() { - sortkey_ = 0; -} -inline ::datacatalog::PaginationOptions_SortKey PaginationOptions::sortkey() const { - // @@protoc_insertion_point(field_get:datacatalog.PaginationOptions.sortKey) - return static_cast< ::datacatalog::PaginationOptions_SortKey >(sortkey_); -} -inline void PaginationOptions::set_sortkey(::datacatalog::PaginationOptions_SortKey value) { - - sortkey_ = value; - // @@protoc_insertion_point(field_set:datacatalog.PaginationOptions.sortKey) -} - -// .datacatalog.PaginationOptions.SortOrder sortOrder = 4; -inline void PaginationOptions::clear_sortorder() { - sortorder_ = 0; -} -inline ::datacatalog::PaginationOptions_SortOrder PaginationOptions::sortorder() const { - // @@protoc_insertion_point(field_get:datacatalog.PaginationOptions.sortOrder) - return static_cast< ::datacatalog::PaginationOptions_SortOrder >(sortorder_); -} -inline void PaginationOptions::set_sortorder(::datacatalog::PaginationOptions_SortOrder value) { - - sortorder_ = value; - // @@protoc_insertion_point(field_set:datacatalog.PaginationOptions.sortOrder) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace datacatalog - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::datacatalog::SinglePropertyFilter_ComparisonOperator> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::datacatalog::SinglePropertyFilter_ComparisonOperator>() { - return ::datacatalog::SinglePropertyFilter_ComparisonOperator_descriptor(); -} -template <> struct is_proto_enum< ::datacatalog::PaginationOptions_SortOrder> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::datacatalog::PaginationOptions_SortOrder>() { - return ::datacatalog::PaginationOptions_SortOrder_descriptor(); -} -template <> struct is_proto_enum< ::datacatalog::PaginationOptions_SortKey> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::datacatalog::PaginationOptions_SortKey>() { - return ::datacatalog::PaginationOptions_SortKey_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fdatacatalog_2fdatacatalog_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc deleted file mode 100644 index dd34f52276..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/event/cloudevents.proto - -#include "flyteidl/event/cloudevents.pb.h" -#include "flyteidl/event/cloudevents.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace event { - -} // namespace flyteidl -} // namespace event - diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h deleted file mode 100644 index 3572885d64..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/event/cloudevents.proto -#ifndef GRPC_flyteidl_2fevent_2fcloudevents_2eproto__INCLUDED -#define GRPC_flyteidl_2fevent_2fcloudevents_2eproto__INCLUDED - -#include "flyteidl/event/cloudevents.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 event { - -} // namespace event -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fevent_2fcloudevents_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc deleted file mode 100644 index 60b397bfa4..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc +++ /dev/null @@ -1,2512 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/event/cloudevents.proto - -#include "flyteidl/event/cloudevents.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_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; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto; -namespace flyteidl { -namespace event { -class CloudEventWorkflowExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CloudEventWorkflowExecution_default_instance_; -class CloudEventNodeExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CloudEventNodeExecution_default_instance_; -class CloudEventTaskExecutionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CloudEventTaskExecution_default_instance_; -class CloudEventExecutionStartDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CloudEventExecutionStart_default_instance_; -} // namespace event -} // namespace flyteidl -static void InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_CloudEventWorkflowExecution_default_instance_; - new (ptr) ::flyteidl::event::CloudEventWorkflowExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::CloudEventWorkflowExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<5> scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { - &scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_CloudEventNodeExecution_default_instance_; - new (ptr) ::flyteidl::event::CloudEventNodeExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::CloudEventNodeExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<5> scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { - &scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TypedInterface_flyteidl_2fcore_2finterface_2eproto.base, - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsCloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_CloudEventTaskExecution_default_instance_; - new (ptr) ::flyteidl::event::CloudEventTaskExecution(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::CloudEventTaskExecution::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { - &scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base,}}; - -static void InitDefaultsCloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_CloudEventExecutionStart_default_instance_; - new (ptr) ::flyteidl::event::CloudEventExecutionStart(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::CloudEventExecutionStart::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsCloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; - -void InitDefaults_flyteidl_2fevent_2fcloudevents_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[4]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fevent_2fcloudevents_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fevent_2fcloudevents_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, raw_event_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, artifact_ids_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, reference_execution_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, principal_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, launch_plan_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, raw_event_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, task_exec_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, output_interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, artifact_ids_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, principal_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, launch_plan_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventTaskExecution, raw_event_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, launch_plan_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, workflow_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, artifact_ids_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, artifact_trackers_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventExecutionStart, principal_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::event::CloudEventWorkflowExecution)}, - { 11, -1, sizeof(::flyteidl::event::CloudEventNodeExecution)}, - { 22, -1, sizeof(::flyteidl::event::CloudEventTaskExecution)}, - { 28, -1, sizeof(::flyteidl::event::CloudEventExecutionStart)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::event::_CloudEventWorkflowExecution_default_instance_), - reinterpret_cast(&::flyteidl::event::_CloudEventNodeExecution_default_instance_), - reinterpret_cast(&::flyteidl::event::_CloudEventTaskExecution_default_instance_), - reinterpret_cast(&::flyteidl::event::_CloudEventExecutionStart_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto = { - {}, AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto, "flyteidl/event/cloudevents.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fevent_2fcloudevents_2eproto::offsets, - file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto, 4, file_level_enum_descriptors_flyteidl_2fevent_2fcloudevents_2eproto, file_level_service_descriptors_flyteidl_2fevent_2fcloudevents_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fevent_2fcloudevents_2eproto[] = - "\n flyteidl/event/cloudevents.proto\022\016flyt" - "eidl.event\032\032flyteidl/event/event.proto\032\034" - "flyteidl/core/literals.proto\032\035flyteidl/c" - "ore/interface.proto\032\037flyteidl/core/artif" - "act_id.proto\032\036flyteidl/core/identifier.p" - "roto\032\037google/protobuf/timestamp.proto\"\321\002" - "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" - "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" - "ionEvent\0227\n\020output_interface\030\002 \001(\0132\035.fly" - "teidl.core.TypedInterface\022/\n\014artifact_id" - "s\030\003 \003(\0132\031.flyteidl.core.ArtifactID\022G\n\023re" - "ference_execution\030\004 \001(\0132*.flyteidl.core." - "WorkflowExecutionIdentifier\022\021\n\tprincipal" - "\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flyteid" - "l.core.Identifier\"\276\002\n\027CloudEventNodeExec" - "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" - "t.NodeExecutionEvent\022<\n\014task_exec_id\030\002 \001" - "(\0132&.flyteidl.core.TaskExecutionIdentifi" - "er\0227\n\020output_interface\030\003 \001(\0132\035.flyteidl." - "core.TypedInterface\022/\n\014artifact_ids\030\004 \003(" - "\0132\031.flyteidl.core.ArtifactID\022\021\n\tprincipa" - "l\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flytei" - "dl.core.Identifier\"P\n\027CloudEventTaskExec" - "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" - "t.TaskExecutionEvent\"\236\002\n\030CloudEventExecu" - "tionStart\022@\n\014execution_id\030\001 \001(\0132*.flytei" - "dl.core.WorkflowExecutionIdentifier\0221\n\016l" - "aunch_plan_id\030\002 \001(\0132\031.flyteidl.core.Iden" - "tifier\022.\n\013workflow_id\030\003 \001(\0132\031.flyteidl.c" - "ore.Identifier\022/\n\014artifact_ids\030\004 \003(\0132\031.f" - "lyteidl.core.ArtifactID\022\031\n\021artifact_trac" - "kers\030\005 \003(\t\022\021\n\tprincipal\030\006 \001(\tB=Z;github." - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" - "yteidl/eventb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fevent_2fcloudevents_2eproto = { - false, InitDefaults_flyteidl_2fevent_2fcloudevents_2eproto, - descriptor_table_protodef_flyteidl_2fevent_2fcloudevents_2eproto, - "flyteidl/event/cloudevents.proto", &assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto, 1340, -}; - -void AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[6] = - { - ::AddDescriptors_flyteidl_2fevent_2fevent_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fcore_2finterface_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fevent_2fcloudevents_2eproto, deps, 6); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fevent_2fcloudevents_2eproto = []() { AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto(); return true; }(); -namespace flyteidl { -namespace event { - -// =================================================================== - -void CloudEventWorkflowExecution::InitAsDefaultInstance() { - ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->raw_event_ = const_cast< ::flyteidl::event::WorkflowExecutionEvent*>( - ::flyteidl::event::WorkflowExecutionEvent::internal_default_instance()); - ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->output_interface_ = const_cast< ::flyteidl::core::TypedInterface*>( - ::flyteidl::core::TypedInterface::internal_default_instance()); - ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->reference_execution_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::event::_CloudEventWorkflowExecution_default_instance_._instance.get_mutable()->launch_plan_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class CloudEventWorkflowExecution::HasBitSetters { - public: - static const ::flyteidl::event::WorkflowExecutionEvent& raw_event(const CloudEventWorkflowExecution* msg); - static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventWorkflowExecution* msg); - static const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution(const CloudEventWorkflowExecution* msg); - static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventWorkflowExecution* msg); -}; - -const ::flyteidl::event::WorkflowExecutionEvent& -CloudEventWorkflowExecution::HasBitSetters::raw_event(const CloudEventWorkflowExecution* msg) { - return *msg->raw_event_; -} -const ::flyteidl::core::TypedInterface& -CloudEventWorkflowExecution::HasBitSetters::output_interface(const CloudEventWorkflowExecution* msg) { - return *msg->output_interface_; -} -const ::flyteidl::core::WorkflowExecutionIdentifier& -CloudEventWorkflowExecution::HasBitSetters::reference_execution(const CloudEventWorkflowExecution* msg) { - return *msg->reference_execution_; -} -const ::flyteidl::core::Identifier& -CloudEventWorkflowExecution::HasBitSetters::launch_plan_id(const CloudEventWorkflowExecution* msg) { - return *msg->launch_plan_id_; -} -void CloudEventWorkflowExecution::clear_raw_event() { - if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { - delete raw_event_; - } - raw_event_ = nullptr; -} -void CloudEventWorkflowExecution::clear_output_interface() { - if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { - delete output_interface_; - } - output_interface_ = nullptr; -} -void CloudEventWorkflowExecution::clear_artifact_ids() { - artifact_ids_.Clear(); -} -void CloudEventWorkflowExecution::clear_reference_execution() { - if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { - delete reference_execution_; - } - reference_execution_ = nullptr; -} -void CloudEventWorkflowExecution::clear_launch_plan_id() { - if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { - delete launch_plan_id_; - } - launch_plan_id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CloudEventWorkflowExecution::kRawEventFieldNumber; -const int CloudEventWorkflowExecution::kOutputInterfaceFieldNumber; -const int CloudEventWorkflowExecution::kArtifactIdsFieldNumber; -const int CloudEventWorkflowExecution::kReferenceExecutionFieldNumber; -const int CloudEventWorkflowExecution::kPrincipalFieldNumber; -const int CloudEventWorkflowExecution::kLaunchPlanIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CloudEventWorkflowExecution::CloudEventWorkflowExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventWorkflowExecution) -} -CloudEventWorkflowExecution::CloudEventWorkflowExecution(const CloudEventWorkflowExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - artifact_ids_(from.artifact_ids_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.principal().size() > 0) { - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_raw_event()) { - raw_event_ = new ::flyteidl::event::WorkflowExecutionEvent(*from.raw_event_); - } else { - raw_event_ = nullptr; - } - if (from.has_output_interface()) { - output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); - } else { - output_interface_ = nullptr; - } - if (from.has_reference_execution()) { - reference_execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.reference_execution_); - } else { - reference_execution_ = nullptr; - } - if (from.has_launch_plan_id()) { - launch_plan_id_ = new ::flyteidl::core::Identifier(*from.launch_plan_id_); - } else { - launch_plan_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventWorkflowExecution) -} - -void CloudEventWorkflowExecution::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&raw_event_, 0, static_cast( - reinterpret_cast(&launch_plan_id_) - - reinterpret_cast(&raw_event_)) + sizeof(launch_plan_id_)); -} - -CloudEventWorkflowExecution::~CloudEventWorkflowExecution() { - // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventWorkflowExecution) - SharedDtor(); -} - -void CloudEventWorkflowExecution::SharedDtor() { - principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete raw_event_; - if (this != internal_default_instance()) delete output_interface_; - if (this != internal_default_instance()) delete reference_execution_; - if (this != internal_default_instance()) delete launch_plan_id_; -} - -void CloudEventWorkflowExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CloudEventWorkflowExecution& CloudEventWorkflowExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - return *internal_default_instance(); -} - - -void CloudEventWorkflowExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventWorkflowExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - artifact_ids_.Clear(); - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { - delete raw_event_; - } - raw_event_ = nullptr; - if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { - delete output_interface_; - } - output_interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { - delete reference_execution_; - } - reference_execution_ = nullptr; - if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { - delete launch_plan_id_; - } - launch_plan_id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CloudEventWorkflowExecution::_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.event.WorkflowExecutionEvent raw_event = 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::event::WorkflowExecutionEvent::_InternalParse; - object = msg->mutable_raw_event(); - 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.TypedInterface output_interface = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TypedInterface::_InternalParse; - object = msg->mutable_output_interface(); - 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; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; - object = msg->add_artifact_ids(); - 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) == 26 && (ptr += 1)); - break; - } - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 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::WorkflowExecutionIdentifier::_InternalParse; - object = msg->mutable_reference_execution(); - 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 principal = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventWorkflowExecution.principal"); - object = msg->mutable_principal(); - 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.Identifier launch_plan_id = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Identifier::_InternalParse; - object = msg->mutable_launch_plan_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 CloudEventWorkflowExecution::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.event.CloudEventWorkflowExecution) - 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.event.WorkflowExecutionEvent raw_event = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_raw_event())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TypedInterface output_interface = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_interface())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reference_execution())); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_principal())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.CloudEventWorkflowExecution.principal")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_launch_plan_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.event.CloudEventWorkflowExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventWorkflowExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CloudEventWorkflowExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventWorkflowExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::raw_event(this), output); - } - - // .flyteidl.core.TypedInterface output_interface = 2; - if (this->has_output_interface()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::output_interface(this), output); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 3; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->artifact_ids(static_cast(i)), - output); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - if (this->has_reference_execution()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::reference_execution(this), output); - } - - // string principal = 5; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventWorkflowExecution.principal"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->principal(), output); - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - if (this->has_launch_plan_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::launch_plan_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.event.CloudEventWorkflowExecution) -} - -::google::protobuf::uint8* CloudEventWorkflowExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventWorkflowExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::raw_event(this), target); - } - - // .flyteidl.core.TypedInterface output_interface = 2; - if (this->has_output_interface()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::output_interface(this), target); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 3; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->artifact_ids(static_cast(i)), target); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - if (this->has_reference_execution()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::reference_execution(this), target); - } - - // string principal = 5; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventWorkflowExecution.principal"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->principal(), target); - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - if (this->has_launch_plan_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::launch_plan_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.event.CloudEventWorkflowExecution) - return target; -} - -size_t CloudEventWorkflowExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventWorkflowExecution) - 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.ArtifactID artifact_ids = 3; - { - unsigned int count = static_cast(this->artifact_ids_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->artifact_ids(static_cast(i))); - } - } - - // string principal = 5; - if (this->principal().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->principal()); - } - - // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *raw_event_); - } - - // .flyteidl.core.TypedInterface output_interface = 2; - if (this->has_output_interface()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_interface_); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - if (this->has_reference_execution()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reference_execution_); - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - if (this->has_launch_plan_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *launch_plan_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CloudEventWorkflowExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventWorkflowExecution) - GOOGLE_DCHECK_NE(&from, this); - const CloudEventWorkflowExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventWorkflowExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventWorkflowExecution) - MergeFrom(*source); - } -} - -void CloudEventWorkflowExecution::MergeFrom(const CloudEventWorkflowExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventWorkflowExecution) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - artifact_ids_.MergeFrom(from.artifact_ids_); - if (from.principal().size() > 0) { - - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_raw_event()) { - mutable_raw_event()->::flyteidl::event::WorkflowExecutionEvent::MergeFrom(from.raw_event()); - } - if (from.has_output_interface()) { - mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); - } - if (from.has_reference_execution()) { - mutable_reference_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.reference_execution()); - } - if (from.has_launch_plan_id()) { - mutable_launch_plan_id()->::flyteidl::core::Identifier::MergeFrom(from.launch_plan_id()); - } -} - -void CloudEventWorkflowExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventWorkflowExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CloudEventWorkflowExecution::CopyFrom(const CloudEventWorkflowExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventWorkflowExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CloudEventWorkflowExecution::IsInitialized() const { - return true; -} - -void CloudEventWorkflowExecution::Swap(CloudEventWorkflowExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void CloudEventWorkflowExecution::InternalSwap(CloudEventWorkflowExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); - principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(raw_event_, other->raw_event_); - swap(output_interface_, other->output_interface_); - swap(reference_execution_, other->reference_execution_); - swap(launch_plan_id_, other->launch_plan_id_); -} - -::google::protobuf::Metadata CloudEventWorkflowExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CloudEventNodeExecution::InitAsDefaultInstance() { - ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->raw_event_ = const_cast< ::flyteidl::event::NodeExecutionEvent*>( - ::flyteidl::event::NodeExecutionEvent::internal_default_instance()); - ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->task_exec_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); - ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->output_interface_ = const_cast< ::flyteidl::core::TypedInterface*>( - ::flyteidl::core::TypedInterface::internal_default_instance()); - ::flyteidl::event::_CloudEventNodeExecution_default_instance_._instance.get_mutable()->launch_plan_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class CloudEventNodeExecution::HasBitSetters { - public: - static const ::flyteidl::event::NodeExecutionEvent& raw_event(const CloudEventNodeExecution* msg); - static const ::flyteidl::core::TaskExecutionIdentifier& task_exec_id(const CloudEventNodeExecution* msg); - static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventNodeExecution* msg); - static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventNodeExecution* msg); -}; - -const ::flyteidl::event::NodeExecutionEvent& -CloudEventNodeExecution::HasBitSetters::raw_event(const CloudEventNodeExecution* msg) { - return *msg->raw_event_; -} -const ::flyteidl::core::TaskExecutionIdentifier& -CloudEventNodeExecution::HasBitSetters::task_exec_id(const CloudEventNodeExecution* msg) { - return *msg->task_exec_id_; -} -const ::flyteidl::core::TypedInterface& -CloudEventNodeExecution::HasBitSetters::output_interface(const CloudEventNodeExecution* msg) { - return *msg->output_interface_; -} -const ::flyteidl::core::Identifier& -CloudEventNodeExecution::HasBitSetters::launch_plan_id(const CloudEventNodeExecution* msg) { - return *msg->launch_plan_id_; -} -void CloudEventNodeExecution::clear_raw_event() { - if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { - delete raw_event_; - } - raw_event_ = nullptr; -} -void CloudEventNodeExecution::clear_task_exec_id() { - if (GetArenaNoVirtual() == nullptr && task_exec_id_ != nullptr) { - delete task_exec_id_; - } - task_exec_id_ = nullptr; -} -void CloudEventNodeExecution::clear_output_interface() { - if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { - delete output_interface_; - } - output_interface_ = nullptr; -} -void CloudEventNodeExecution::clear_artifact_ids() { - artifact_ids_.Clear(); -} -void CloudEventNodeExecution::clear_launch_plan_id() { - if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { - delete launch_plan_id_; - } - launch_plan_id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CloudEventNodeExecution::kRawEventFieldNumber; -const int CloudEventNodeExecution::kTaskExecIdFieldNumber; -const int CloudEventNodeExecution::kOutputInterfaceFieldNumber; -const int CloudEventNodeExecution::kArtifactIdsFieldNumber; -const int CloudEventNodeExecution::kPrincipalFieldNumber; -const int CloudEventNodeExecution::kLaunchPlanIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CloudEventNodeExecution::CloudEventNodeExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventNodeExecution) -} -CloudEventNodeExecution::CloudEventNodeExecution(const CloudEventNodeExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - artifact_ids_(from.artifact_ids_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.principal().size() > 0) { - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_raw_event()) { - raw_event_ = new ::flyteidl::event::NodeExecutionEvent(*from.raw_event_); - } else { - raw_event_ = nullptr; - } - if (from.has_task_exec_id()) { - task_exec_id_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.task_exec_id_); - } else { - task_exec_id_ = nullptr; - } - if (from.has_output_interface()) { - output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); - } else { - output_interface_ = nullptr; - } - if (from.has_launch_plan_id()) { - launch_plan_id_ = new ::flyteidl::core::Identifier(*from.launch_plan_id_); - } else { - launch_plan_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventNodeExecution) -} - -void CloudEventNodeExecution::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&raw_event_, 0, static_cast( - reinterpret_cast(&launch_plan_id_) - - reinterpret_cast(&raw_event_)) + sizeof(launch_plan_id_)); -} - -CloudEventNodeExecution::~CloudEventNodeExecution() { - // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventNodeExecution) - SharedDtor(); -} - -void CloudEventNodeExecution::SharedDtor() { - principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete raw_event_; - if (this != internal_default_instance()) delete task_exec_id_; - if (this != internal_default_instance()) delete output_interface_; - if (this != internal_default_instance()) delete launch_plan_id_; -} - -void CloudEventNodeExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CloudEventNodeExecution& CloudEventNodeExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - return *internal_default_instance(); -} - - -void CloudEventNodeExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventNodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - artifact_ids_.Clear(); - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { - delete raw_event_; - } - raw_event_ = nullptr; - if (GetArenaNoVirtual() == nullptr && task_exec_id_ != nullptr) { - delete task_exec_id_; - } - task_exec_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { - delete output_interface_; - } - output_interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { - delete launch_plan_id_; - } - launch_plan_id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CloudEventNodeExecution::_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.event.NodeExecutionEvent raw_event = 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::event::NodeExecutionEvent::_InternalParse; - object = msg->mutable_raw_event(); - 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_exec_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); - parser_till_end = ::flyteidl::core::TaskExecutionIdentifier::_InternalParse; - object = msg->mutable_task_exec_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.TypedInterface output_interface = 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::TypedInterface::_InternalParse; - object = msg->mutable_output_interface(); - 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; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; - object = msg->add_artifact_ids(); - 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) == 34 && (ptr += 1)); - break; - } - // string principal = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventNodeExecution.principal"); - object = msg->mutable_principal(); - 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.Identifier launch_plan_id = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Identifier::_InternalParse; - object = msg->mutable_launch_plan_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 CloudEventNodeExecution::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.event.CloudEventNodeExecution) - 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.event.NodeExecutionEvent raw_event = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_raw_event())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_exec_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TypedInterface output_interface = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_interface())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_principal())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.CloudEventNodeExecution.principal")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_launch_plan_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.event.CloudEventNodeExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventNodeExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CloudEventNodeExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventNodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.event.NodeExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::raw_event(this), output); - } - - // .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - if (this->has_task_exec_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::task_exec_id(this), output); - } - - // .flyteidl.core.TypedInterface output_interface = 3; - if (this->has_output_interface()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::output_interface(this), output); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, - this->artifact_ids(static_cast(i)), - output); - } - - // string principal = 5; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventNodeExecution.principal"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->principal(), output); - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - if (this->has_launch_plan_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::launch_plan_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.event.CloudEventNodeExecution) -} - -::google::protobuf::uint8* CloudEventNodeExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventNodeExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.event.NodeExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::raw_event(this), target); - } - - // .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - if (this->has_task_exec_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::task_exec_id(this), target); - } - - // .flyteidl.core.TypedInterface output_interface = 3; - if (this->has_output_interface()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::output_interface(this), target); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->artifact_ids(static_cast(i)), target); - } - - // string principal = 5; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventNodeExecution.principal"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->principal(), target); - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - if (this->has_launch_plan_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::launch_plan_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.event.CloudEventNodeExecution) - return target; -} - -size_t CloudEventNodeExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventNodeExecution) - 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.ArtifactID artifact_ids = 4; - { - unsigned int count = static_cast(this->artifact_ids_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->artifact_ids(static_cast(i))); - } - } - - // string principal = 5; - if (this->principal().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->principal()); - } - - // .flyteidl.event.NodeExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *raw_event_); - } - - // .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - if (this->has_task_exec_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *task_exec_id_); - } - - // .flyteidl.core.TypedInterface output_interface = 3; - if (this->has_output_interface()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_interface_); - } - - // .flyteidl.core.Identifier launch_plan_id = 6; - if (this->has_launch_plan_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *launch_plan_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CloudEventNodeExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventNodeExecution) - GOOGLE_DCHECK_NE(&from, this); - const CloudEventNodeExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventNodeExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventNodeExecution) - MergeFrom(*source); - } -} - -void CloudEventNodeExecution::MergeFrom(const CloudEventNodeExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventNodeExecution) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - artifact_ids_.MergeFrom(from.artifact_ids_); - if (from.principal().size() > 0) { - - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_raw_event()) { - mutable_raw_event()->::flyteidl::event::NodeExecutionEvent::MergeFrom(from.raw_event()); - } - if (from.has_task_exec_id()) { - mutable_task_exec_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_exec_id()); - } - if (from.has_output_interface()) { - mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); - } - if (from.has_launch_plan_id()) { - mutable_launch_plan_id()->::flyteidl::core::Identifier::MergeFrom(from.launch_plan_id()); - } -} - -void CloudEventNodeExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventNodeExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CloudEventNodeExecution::CopyFrom(const CloudEventNodeExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventNodeExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CloudEventNodeExecution::IsInitialized() const { - return true; -} - -void CloudEventNodeExecution::Swap(CloudEventNodeExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void CloudEventNodeExecution::InternalSwap(CloudEventNodeExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); - principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(raw_event_, other->raw_event_); - swap(task_exec_id_, other->task_exec_id_); - swap(output_interface_, other->output_interface_); - swap(launch_plan_id_, other->launch_plan_id_); -} - -::google::protobuf::Metadata CloudEventNodeExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CloudEventTaskExecution::InitAsDefaultInstance() { - ::flyteidl::event::_CloudEventTaskExecution_default_instance_._instance.get_mutable()->raw_event_ = const_cast< ::flyteidl::event::TaskExecutionEvent*>( - ::flyteidl::event::TaskExecutionEvent::internal_default_instance()); -} -class CloudEventTaskExecution::HasBitSetters { - public: - static const ::flyteidl::event::TaskExecutionEvent& raw_event(const CloudEventTaskExecution* msg); -}; - -const ::flyteidl::event::TaskExecutionEvent& -CloudEventTaskExecution::HasBitSetters::raw_event(const CloudEventTaskExecution* msg) { - return *msg->raw_event_; -} -void CloudEventTaskExecution::clear_raw_event() { - if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { - delete raw_event_; - } - raw_event_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CloudEventTaskExecution::kRawEventFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CloudEventTaskExecution::CloudEventTaskExecution() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventTaskExecution) -} -CloudEventTaskExecution::CloudEventTaskExecution(const CloudEventTaskExecution& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_raw_event()) { - raw_event_ = new ::flyteidl::event::TaskExecutionEvent(*from.raw_event_); - } else { - raw_event_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventTaskExecution) -} - -void CloudEventTaskExecution::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - raw_event_ = nullptr; -} - -CloudEventTaskExecution::~CloudEventTaskExecution() { - // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventTaskExecution) - SharedDtor(); -} - -void CloudEventTaskExecution::SharedDtor() { - if (this != internal_default_instance()) delete raw_event_; -} - -void CloudEventTaskExecution::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CloudEventTaskExecution& CloudEventTaskExecution::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventTaskExecution_flyteidl_2fevent_2fcloudevents_2eproto.base); - return *internal_default_instance(); -} - - -void CloudEventTaskExecution::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventTaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && raw_event_ != nullptr) { - delete raw_event_; - } - raw_event_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CloudEventTaskExecution::_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.event.TaskExecutionEvent raw_event = 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::event::TaskExecutionEvent::_InternalParse; - object = msg->mutable_raw_event(); - 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 CloudEventTaskExecution::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.event.CloudEventTaskExecution) - 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.event.TaskExecutionEvent raw_event = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_raw_event())); - } 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.event.CloudEventTaskExecution) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventTaskExecution) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CloudEventTaskExecution::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventTaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.event.TaskExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::raw_event(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.CloudEventTaskExecution) -} - -::google::protobuf::uint8* CloudEventTaskExecution::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventTaskExecution) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.event.TaskExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::raw_event(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.event.CloudEventTaskExecution) - return target; -} - -size_t CloudEventTaskExecution::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventTaskExecution) - 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.event.TaskExecutionEvent raw_event = 1; - if (this->has_raw_event()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *raw_event_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CloudEventTaskExecution::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventTaskExecution) - GOOGLE_DCHECK_NE(&from, this); - const CloudEventTaskExecution* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventTaskExecution) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventTaskExecution) - MergeFrom(*source); - } -} - -void CloudEventTaskExecution::MergeFrom(const CloudEventTaskExecution& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventTaskExecution) - 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_raw_event()) { - mutable_raw_event()->::flyteidl::event::TaskExecutionEvent::MergeFrom(from.raw_event()); - } -} - -void CloudEventTaskExecution::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventTaskExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CloudEventTaskExecution::CopyFrom(const CloudEventTaskExecution& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventTaskExecution) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CloudEventTaskExecution::IsInitialized() const { - return true; -} - -void CloudEventTaskExecution::Swap(CloudEventTaskExecution* other) { - if (other == this) return; - InternalSwap(other); -} -void CloudEventTaskExecution::InternalSwap(CloudEventTaskExecution* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(raw_event_, other->raw_event_); -} - -::google::protobuf::Metadata CloudEventTaskExecution::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CloudEventExecutionStart::InitAsDefaultInstance() { - ::flyteidl::event::_CloudEventExecutionStart_default_instance_._instance.get_mutable()->execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::event::_CloudEventExecutionStart_default_instance_._instance.get_mutable()->launch_plan_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::event::_CloudEventExecutionStart_default_instance_._instance.get_mutable()->workflow_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); -} -class CloudEventExecutionStart::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id(const CloudEventExecutionStart* msg); - static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventExecutionStart* msg); - static const ::flyteidl::core::Identifier& workflow_id(const CloudEventExecutionStart* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -CloudEventExecutionStart::HasBitSetters::execution_id(const CloudEventExecutionStart* msg) { - return *msg->execution_id_; -} -const ::flyteidl::core::Identifier& -CloudEventExecutionStart::HasBitSetters::launch_plan_id(const CloudEventExecutionStart* msg) { - return *msg->launch_plan_id_; -} -const ::flyteidl::core::Identifier& -CloudEventExecutionStart::HasBitSetters::workflow_id(const CloudEventExecutionStart* msg) { - return *msg->workflow_id_; -} -void CloudEventExecutionStart::clear_execution_id() { - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; -} -void CloudEventExecutionStart::clear_launch_plan_id() { - if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { - delete launch_plan_id_; - } - launch_plan_id_ = nullptr; -} -void CloudEventExecutionStart::clear_workflow_id() { - if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { - delete workflow_id_; - } - workflow_id_ = nullptr; -} -void CloudEventExecutionStart::clear_artifact_ids() { - artifact_ids_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CloudEventExecutionStart::kExecutionIdFieldNumber; -const int CloudEventExecutionStart::kLaunchPlanIdFieldNumber; -const int CloudEventExecutionStart::kWorkflowIdFieldNumber; -const int CloudEventExecutionStart::kArtifactIdsFieldNumber; -const int CloudEventExecutionStart::kArtifactTrackersFieldNumber; -const int CloudEventExecutionStart::kPrincipalFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CloudEventExecutionStart::CloudEventExecutionStart() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.CloudEventExecutionStart) -} -CloudEventExecutionStart::CloudEventExecutionStart(const CloudEventExecutionStart& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - artifact_ids_(from.artifact_ids_), - artifact_trackers_(from.artifact_trackers_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.principal().size() > 0) { - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_execution_id()) { - execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.execution_id_); - } else { - execution_id_ = nullptr; - } - if (from.has_launch_plan_id()) { - launch_plan_id_ = new ::flyteidl::core::Identifier(*from.launch_plan_id_); - } else { - launch_plan_id_ = nullptr; - } - if (from.has_workflow_id()) { - workflow_id_ = new ::flyteidl::core::Identifier(*from.workflow_id_); - } else { - workflow_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.CloudEventExecutionStart) -} - -void CloudEventExecutionStart::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto.base); - principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&execution_id_, 0, static_cast( - reinterpret_cast(&workflow_id_) - - reinterpret_cast(&execution_id_)) + sizeof(workflow_id_)); -} - -CloudEventExecutionStart::~CloudEventExecutionStart() { - // @@protoc_insertion_point(destructor:flyteidl.event.CloudEventExecutionStart) - SharedDtor(); -} - -void CloudEventExecutionStart::SharedDtor() { - principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete execution_id_; - if (this != internal_default_instance()) delete launch_plan_id_; - if (this != internal_default_instance()) delete workflow_id_; -} - -void CloudEventExecutionStart::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CloudEventExecutionStart& CloudEventExecutionStart::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CloudEventExecutionStart_flyteidl_2fevent_2fcloudevents_2eproto.base); - return *internal_default_instance(); -} - - -void CloudEventExecutionStart::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.CloudEventExecutionStart) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - artifact_ids_.Clear(); - artifact_trackers_.Clear(); - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { - delete launch_plan_id_; - } - launch_plan_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { - delete workflow_id_; - } - workflow_id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CloudEventExecutionStart::_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 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_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.Identifier launch_plan_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); - parser_till_end = ::flyteidl::core::Identifier::_InternalParse; - object = msg->mutable_launch_plan_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.Identifier workflow_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::Identifier::_InternalParse; - object = msg->mutable_workflow_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; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ArtifactID::_InternalParse; - object = msg->add_artifact_ids(); - 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) == 34 && (ptr += 1)); - break; - } - // repeated string artifact_trackers = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventExecutionStart.artifact_trackers"); - object = msg->add_artifact_trackers(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); - break; - } - // string principal = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.CloudEventExecutionStart.principal"); - object = msg->mutable_principal(); - 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 CloudEventExecutionStart::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.event.CloudEventExecutionStart) - 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 execution_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_execution_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Identifier launch_plan_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_launch_plan_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Identifier workflow_id = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_id())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string artifact_trackers = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_artifact_trackers())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_trackers(this->artifact_trackers_size() - 1).data(), - static_cast(this->artifact_trackers(this->artifact_trackers_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.CloudEventExecutionStart.artifact_trackers")); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_principal())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.CloudEventExecutionStart.principal")); - } 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.event.CloudEventExecutionStart) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.CloudEventExecutionStart) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CloudEventExecutionStart::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.CloudEventExecutionStart) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::execution_id(this), output); - } - - // .flyteidl.core.Identifier launch_plan_id = 2; - if (this->has_launch_plan_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::launch_plan_id(this), output); - } - - // .flyteidl.core.Identifier workflow_id = 3; - if (this->has_workflow_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::workflow_id(this), output); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, - this->artifact_ids(static_cast(i)), - output); - } - - // repeated string artifact_trackers = 5; - for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_trackers(i).data(), static_cast(this->artifact_trackers(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.artifact_trackers"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 5, this->artifact_trackers(i), output); - } - - // string principal = 6; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.principal"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->principal(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.CloudEventExecutionStart) -} - -::google::protobuf::uint8* CloudEventExecutionStart::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.CloudEventExecutionStart) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::execution_id(this), target); - } - - // .flyteidl.core.Identifier launch_plan_id = 2; - if (this->has_launch_plan_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::launch_plan_id(this), target); - } - - // .flyteidl.core.Identifier workflow_id = 3; - if (this->has_workflow_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::workflow_id(this), target); - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 4; - for (unsigned int i = 0, - n = static_cast(this->artifact_ids_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, this->artifact_ids(static_cast(i)), target); - } - - // repeated string artifact_trackers = 5; - for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_trackers(i).data(), static_cast(this->artifact_trackers(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.artifact_trackers"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(5, this->artifact_trackers(i), target); - } - - // string principal = 6; - if (this->principal().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->principal().data(), static_cast(this->principal().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.principal"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->principal(), 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.event.CloudEventExecutionStart) - return target; -} - -size_t CloudEventExecutionStart::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.CloudEventExecutionStart) - 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.ArtifactID artifact_ids = 4; - { - unsigned int count = static_cast(this->artifact_ids_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->artifact_ids(static_cast(i))); - } - } - - // repeated string artifact_trackers = 5; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->artifact_trackers_size()); - for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->artifact_trackers(i)); - } - - // string principal = 6; - if (this->principal().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->principal()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *execution_id_); - } - - // .flyteidl.core.Identifier launch_plan_id = 2; - if (this->has_launch_plan_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *launch_plan_id_); - } - - // .flyteidl.core.Identifier workflow_id = 3; - if (this->has_workflow_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *workflow_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CloudEventExecutionStart::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.CloudEventExecutionStart) - GOOGLE_DCHECK_NE(&from, this); - const CloudEventExecutionStart* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.CloudEventExecutionStart) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.CloudEventExecutionStart) - MergeFrom(*source); - } -} - -void CloudEventExecutionStart::MergeFrom(const CloudEventExecutionStart& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.CloudEventExecutionStart) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - artifact_ids_.MergeFrom(from.artifact_ids_); - artifact_trackers_.MergeFrom(from.artifact_trackers_); - if (from.principal().size() > 0) { - - principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); - } - if (from.has_execution_id()) { - mutable_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution_id()); - } - if (from.has_launch_plan_id()) { - mutable_launch_plan_id()->::flyteidl::core::Identifier::MergeFrom(from.launch_plan_id()); - } - if (from.has_workflow_id()) { - mutable_workflow_id()->::flyteidl::core::Identifier::MergeFrom(from.workflow_id()); - } -} - -void CloudEventExecutionStart::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.CloudEventExecutionStart) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CloudEventExecutionStart::CopyFrom(const CloudEventExecutionStart& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.CloudEventExecutionStart) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CloudEventExecutionStart::IsInitialized() const { - return true; -} - -void CloudEventExecutionStart::Swap(CloudEventExecutionStart* other) { - if (other == this) return; - InternalSwap(other); -} -void CloudEventExecutionStart::InternalSwap(CloudEventExecutionStart* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); - artifact_trackers_.InternalSwap(CastToBase(&other->artifact_trackers_)); - principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(execution_id_, other->execution_id_); - swap(launch_plan_id_, other->launch_plan_id_); - swap(workflow_id_, other->workflow_id_); -} - -::google::protobuf::Metadata CloudEventExecutionStart::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fcloudevents_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace event -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventWorkflowExecution* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventWorkflowExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::CloudEventWorkflowExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventNodeExecution* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventNodeExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::CloudEventNodeExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventTaskExecution* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventTaskExecution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::CloudEventTaskExecution >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::CloudEventExecutionStart* Arena::CreateMaybeMessage< ::flyteidl::event::CloudEventExecutionStart >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::CloudEventExecutionStart >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h deleted file mode 100644 index ac0a1cc959..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h +++ /dev/null @@ -1,1621 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/event/cloudevents.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fevent_2fcloudevents_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fevent_2fcloudevents_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/event/event.pb.h" -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/interface.pb.h" -#include "flyteidl/core/artifact_id.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fcloudevents_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fevent_2fcloudevents_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[4] - 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_2fevent_2fcloudevents_2eproto(); -namespace flyteidl { -namespace event { -class CloudEventExecutionStart; -class CloudEventExecutionStartDefaultTypeInternal; -extern CloudEventExecutionStartDefaultTypeInternal _CloudEventExecutionStart_default_instance_; -class CloudEventNodeExecution; -class CloudEventNodeExecutionDefaultTypeInternal; -extern CloudEventNodeExecutionDefaultTypeInternal _CloudEventNodeExecution_default_instance_; -class CloudEventTaskExecution; -class CloudEventTaskExecutionDefaultTypeInternal; -extern CloudEventTaskExecutionDefaultTypeInternal _CloudEventTaskExecution_default_instance_; -class CloudEventWorkflowExecution; -class CloudEventWorkflowExecutionDefaultTypeInternal; -extern CloudEventWorkflowExecutionDefaultTypeInternal _CloudEventWorkflowExecution_default_instance_; -} // namespace event -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::event::CloudEventExecutionStart* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventExecutionStart>(Arena*); -template<> ::flyteidl::event::CloudEventNodeExecution* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventNodeExecution>(Arena*); -template<> ::flyteidl::event::CloudEventTaskExecution* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventTaskExecution>(Arena*); -template<> ::flyteidl::event::CloudEventWorkflowExecution* Arena::CreateMaybeMessage<::flyteidl::event::CloudEventWorkflowExecution>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace event { - -// =================================================================== - -class CloudEventWorkflowExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventWorkflowExecution) */ { - public: - CloudEventWorkflowExecution(); - virtual ~CloudEventWorkflowExecution(); - - CloudEventWorkflowExecution(const CloudEventWorkflowExecution& from); - - inline CloudEventWorkflowExecution& operator=(const CloudEventWorkflowExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CloudEventWorkflowExecution(CloudEventWorkflowExecution&& from) noexcept - : CloudEventWorkflowExecution() { - *this = ::std::move(from); - } - - inline CloudEventWorkflowExecution& operator=(CloudEventWorkflowExecution&& 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 CloudEventWorkflowExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CloudEventWorkflowExecution* internal_default_instance() { - return reinterpret_cast( - &_CloudEventWorkflowExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(CloudEventWorkflowExecution* other); - friend void swap(CloudEventWorkflowExecution& a, CloudEventWorkflowExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CloudEventWorkflowExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - CloudEventWorkflowExecution* 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 CloudEventWorkflowExecution& from); - void MergeFrom(const CloudEventWorkflowExecution& 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(CloudEventWorkflowExecution* 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.ArtifactID artifact_ids = 3; - int artifact_ids_size() const; - void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 3; - ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* - mutable_artifact_ids(); - const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; - ::flyteidl::core::ArtifactID* add_artifact_ids(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& - artifact_ids() const; - - // string principal = 5; - void clear_principal(); - static const int kPrincipalFieldNumber = 5; - const ::std::string& principal() const; - void set_principal(const ::std::string& value); - #if LANG_CXX11 - void set_principal(::std::string&& value); - #endif - void set_principal(const char* value); - void set_principal(const char* value, size_t size); - ::std::string* mutable_principal(); - ::std::string* release_principal(); - void set_allocated_principal(::std::string* principal); - - // .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - bool has_raw_event() const; - void clear_raw_event(); - static const int kRawEventFieldNumber = 1; - const ::flyteidl::event::WorkflowExecutionEvent& raw_event() const; - ::flyteidl::event::WorkflowExecutionEvent* release_raw_event(); - ::flyteidl::event::WorkflowExecutionEvent* mutable_raw_event(); - void set_allocated_raw_event(::flyteidl::event::WorkflowExecutionEvent* raw_event); - - // .flyteidl.core.TypedInterface output_interface = 2; - bool has_output_interface() const; - void clear_output_interface(); - static const int kOutputInterfaceFieldNumber = 2; - const ::flyteidl::core::TypedInterface& output_interface() const; - ::flyteidl::core::TypedInterface* release_output_interface(); - ::flyteidl::core::TypedInterface* mutable_output_interface(); - void set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface); - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - bool has_reference_execution() const; - void clear_reference_execution(); - static const int kReferenceExecutionFieldNumber = 4; - const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_reference_execution(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_reference_execution(); - void set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution); - - // .flyteidl.core.Identifier launch_plan_id = 6; - bool has_launch_plan_id() const; - void clear_launch_plan_id(); - static const int kLaunchPlanIdFieldNumber = 6; - const ::flyteidl::core::Identifier& launch_plan_id() const; - ::flyteidl::core::Identifier* release_launch_plan_id(); - ::flyteidl::core::Identifier* mutable_launch_plan_id(); - void set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id); - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventWorkflowExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; - ::google::protobuf::internal::ArenaStringPtr principal_; - ::flyteidl::event::WorkflowExecutionEvent* raw_event_; - ::flyteidl::core::TypedInterface* output_interface_; - ::flyteidl::core::WorkflowExecutionIdentifier* reference_execution_; - ::flyteidl::core::Identifier* launch_plan_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CloudEventNodeExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventNodeExecution) */ { - public: - CloudEventNodeExecution(); - virtual ~CloudEventNodeExecution(); - - CloudEventNodeExecution(const CloudEventNodeExecution& from); - - inline CloudEventNodeExecution& operator=(const CloudEventNodeExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CloudEventNodeExecution(CloudEventNodeExecution&& from) noexcept - : CloudEventNodeExecution() { - *this = ::std::move(from); - } - - inline CloudEventNodeExecution& operator=(CloudEventNodeExecution&& 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 CloudEventNodeExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CloudEventNodeExecution* internal_default_instance() { - return reinterpret_cast( - &_CloudEventNodeExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(CloudEventNodeExecution* other); - friend void swap(CloudEventNodeExecution& a, CloudEventNodeExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CloudEventNodeExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - CloudEventNodeExecution* 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 CloudEventNodeExecution& from); - void MergeFrom(const CloudEventNodeExecution& 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(CloudEventNodeExecution* 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.ArtifactID artifact_ids = 4; - int artifact_ids_size() const; - void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 4; - ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* - mutable_artifact_ids(); - const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; - ::flyteidl::core::ArtifactID* add_artifact_ids(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& - artifact_ids() const; - - // string principal = 5; - void clear_principal(); - static const int kPrincipalFieldNumber = 5; - const ::std::string& principal() const; - void set_principal(const ::std::string& value); - #if LANG_CXX11 - void set_principal(::std::string&& value); - #endif - void set_principal(const char* value); - void set_principal(const char* value, size_t size); - ::std::string* mutable_principal(); - ::std::string* release_principal(); - void set_allocated_principal(::std::string* principal); - - // .flyteidl.event.NodeExecutionEvent raw_event = 1; - bool has_raw_event() const; - void clear_raw_event(); - static const int kRawEventFieldNumber = 1; - const ::flyteidl::event::NodeExecutionEvent& raw_event() const; - ::flyteidl::event::NodeExecutionEvent* release_raw_event(); - ::flyteidl::event::NodeExecutionEvent* mutable_raw_event(); - void set_allocated_raw_event(::flyteidl::event::NodeExecutionEvent* raw_event); - - // .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - bool has_task_exec_id() const; - void clear_task_exec_id(); - static const int kTaskExecIdFieldNumber = 2; - const ::flyteidl::core::TaskExecutionIdentifier& task_exec_id() const; - ::flyteidl::core::TaskExecutionIdentifier* release_task_exec_id(); - ::flyteidl::core::TaskExecutionIdentifier* mutable_task_exec_id(); - void set_allocated_task_exec_id(::flyteidl::core::TaskExecutionIdentifier* task_exec_id); - - // .flyteidl.core.TypedInterface output_interface = 3; - bool has_output_interface() const; - void clear_output_interface(); - static const int kOutputInterfaceFieldNumber = 3; - const ::flyteidl::core::TypedInterface& output_interface() const; - ::flyteidl::core::TypedInterface* release_output_interface(); - ::flyteidl::core::TypedInterface* mutable_output_interface(); - void set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface); - - // .flyteidl.core.Identifier launch_plan_id = 6; - bool has_launch_plan_id() const; - void clear_launch_plan_id(); - static const int kLaunchPlanIdFieldNumber = 6; - const ::flyteidl::core::Identifier& launch_plan_id() const; - ::flyteidl::core::Identifier* release_launch_plan_id(); - ::flyteidl::core::Identifier* mutable_launch_plan_id(); - void set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id); - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventNodeExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; - ::google::protobuf::internal::ArenaStringPtr principal_; - ::flyteidl::event::NodeExecutionEvent* raw_event_; - ::flyteidl::core::TaskExecutionIdentifier* task_exec_id_; - ::flyteidl::core::TypedInterface* output_interface_; - ::flyteidl::core::Identifier* launch_plan_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CloudEventTaskExecution final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventTaskExecution) */ { - public: - CloudEventTaskExecution(); - virtual ~CloudEventTaskExecution(); - - CloudEventTaskExecution(const CloudEventTaskExecution& from); - - inline CloudEventTaskExecution& operator=(const CloudEventTaskExecution& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CloudEventTaskExecution(CloudEventTaskExecution&& from) noexcept - : CloudEventTaskExecution() { - *this = ::std::move(from); - } - - inline CloudEventTaskExecution& operator=(CloudEventTaskExecution&& 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 CloudEventTaskExecution& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CloudEventTaskExecution* internal_default_instance() { - return reinterpret_cast( - &_CloudEventTaskExecution_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(CloudEventTaskExecution* other); - friend void swap(CloudEventTaskExecution& a, CloudEventTaskExecution& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CloudEventTaskExecution* New() const final { - return CreateMaybeMessage(nullptr); - } - - CloudEventTaskExecution* 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 CloudEventTaskExecution& from); - void MergeFrom(const CloudEventTaskExecution& 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(CloudEventTaskExecution* 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.event.TaskExecutionEvent raw_event = 1; - bool has_raw_event() const; - void clear_raw_event(); - static const int kRawEventFieldNumber = 1; - const ::flyteidl::event::TaskExecutionEvent& raw_event() const; - ::flyteidl::event::TaskExecutionEvent* release_raw_event(); - ::flyteidl::event::TaskExecutionEvent* mutable_raw_event(); - void set_allocated_raw_event(::flyteidl::event::TaskExecutionEvent* raw_event); - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventTaskExecution) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::event::TaskExecutionEvent* raw_event_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CloudEventExecutionStart final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.CloudEventExecutionStart) */ { - public: - CloudEventExecutionStart(); - virtual ~CloudEventExecutionStart(); - - CloudEventExecutionStart(const CloudEventExecutionStart& from); - - inline CloudEventExecutionStart& operator=(const CloudEventExecutionStart& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CloudEventExecutionStart(CloudEventExecutionStart&& from) noexcept - : CloudEventExecutionStart() { - *this = ::std::move(from); - } - - inline CloudEventExecutionStart& operator=(CloudEventExecutionStart&& 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 CloudEventExecutionStart& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CloudEventExecutionStart* internal_default_instance() { - return reinterpret_cast( - &_CloudEventExecutionStart_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(CloudEventExecutionStart* other); - friend void swap(CloudEventExecutionStart& a, CloudEventExecutionStart& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CloudEventExecutionStart* New() const final { - return CreateMaybeMessage(nullptr); - } - - CloudEventExecutionStart* 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 CloudEventExecutionStart& from); - void MergeFrom(const CloudEventExecutionStart& 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(CloudEventExecutionStart* 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.ArtifactID artifact_ids = 4; - int artifact_ids_size() const; - void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 4; - ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* - mutable_artifact_ids(); - const ::flyteidl::core::ArtifactID& artifact_ids(int index) const; - ::flyteidl::core::ArtifactID* add_artifact_ids(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& - artifact_ids() const; - - // repeated string artifact_trackers = 5; - int artifact_trackers_size() const; - void clear_artifact_trackers(); - static const int kArtifactTrackersFieldNumber = 5; - const ::std::string& artifact_trackers(int index) const; - ::std::string* mutable_artifact_trackers(int index); - void set_artifact_trackers(int index, const ::std::string& value); - #if LANG_CXX11 - void set_artifact_trackers(int index, ::std::string&& value); - #endif - void set_artifact_trackers(int index, const char* value); - void set_artifact_trackers(int index, const char* value, size_t size); - ::std::string* add_artifact_trackers(); - void add_artifact_trackers(const ::std::string& value); - #if LANG_CXX11 - void add_artifact_trackers(::std::string&& value); - #endif - void add_artifact_trackers(const char* value); - void add_artifact_trackers(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& artifact_trackers() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_artifact_trackers(); - - // string principal = 6; - void clear_principal(); - static const int kPrincipalFieldNumber = 6; - const ::std::string& principal() const; - void set_principal(const ::std::string& value); - #if LANG_CXX11 - void set_principal(::std::string&& value); - #endif - void set_principal(const char* value); - void set_principal(const char* value, size_t size); - ::std::string* mutable_principal(); - ::std::string* release_principal(); - void set_allocated_principal(::std::string* principal); - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - bool has_execution_id() const; - void clear_execution_id(); - static const int kExecutionIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_execution_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_execution_id(); - void set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id); - - // .flyteidl.core.Identifier launch_plan_id = 2; - bool has_launch_plan_id() const; - void clear_launch_plan_id(); - static const int kLaunchPlanIdFieldNumber = 2; - const ::flyteidl::core::Identifier& launch_plan_id() const; - ::flyteidl::core::Identifier* release_launch_plan_id(); - ::flyteidl::core::Identifier* mutable_launch_plan_id(); - void set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id); - - // .flyteidl.core.Identifier workflow_id = 3; - bool has_workflow_id() const; - void clear_workflow_id(); - static const int kWorkflowIdFieldNumber = 3; - const ::flyteidl::core::Identifier& workflow_id() const; - ::flyteidl::core::Identifier* release_workflow_id(); - ::flyteidl::core::Identifier* mutable_workflow_id(); - void set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id); - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventExecutionStart) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; - ::google::protobuf::RepeatedPtrField<::std::string> artifact_trackers_; - ::google::protobuf::internal::ArenaStringPtr principal_; - ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; - ::flyteidl::core::Identifier* launch_plan_id_; - ::flyteidl::core::Identifier* workflow_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CloudEventWorkflowExecution - -// .flyteidl.event.WorkflowExecutionEvent raw_event = 1; -inline bool CloudEventWorkflowExecution::has_raw_event() const { - return this != internal_default_instance() && raw_event_ != nullptr; -} -inline const ::flyteidl::event::WorkflowExecutionEvent& CloudEventWorkflowExecution::raw_event() const { - const ::flyteidl::event::WorkflowExecutionEvent* p = raw_event_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.raw_event) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_WorkflowExecutionEvent_default_instance_); -} -inline ::flyteidl::event::WorkflowExecutionEvent* CloudEventWorkflowExecution::release_raw_event() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.raw_event) - - ::flyteidl::event::WorkflowExecutionEvent* temp = raw_event_; - raw_event_ = nullptr; - return temp; -} -inline ::flyteidl::event::WorkflowExecutionEvent* CloudEventWorkflowExecution::mutable_raw_event() { - - if (raw_event_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::WorkflowExecutionEvent>(GetArenaNoVirtual()); - raw_event_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.raw_event) - return raw_event_; -} -inline void CloudEventWorkflowExecution::set_allocated_raw_event(::flyteidl::event::WorkflowExecutionEvent* raw_event) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_event_); - } - if (raw_event) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - raw_event = ::google::protobuf::internal::GetOwnedMessage( - message_arena, raw_event, submessage_arena); - } - - } else { - - } - raw_event_ = raw_event; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.raw_event) -} - -// .flyteidl.core.TypedInterface output_interface = 2; -inline bool CloudEventWorkflowExecution::has_output_interface() const { - return this != internal_default_instance() && output_interface_ != nullptr; -} -inline const ::flyteidl::core::TypedInterface& CloudEventWorkflowExecution::output_interface() const { - const ::flyteidl::core::TypedInterface* p = output_interface_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.output_interface) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TypedInterface_default_instance_); -} -inline ::flyteidl::core::TypedInterface* CloudEventWorkflowExecution::release_output_interface() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.output_interface) - - ::flyteidl::core::TypedInterface* temp = output_interface_; - output_interface_ = nullptr; - return temp; -} -inline ::flyteidl::core::TypedInterface* CloudEventWorkflowExecution::mutable_output_interface() { - - if (output_interface_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TypedInterface>(GetArenaNoVirtual()); - output_interface_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.output_interface) - return output_interface_; -} -inline void CloudEventWorkflowExecution::set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_interface_); - } - if (output_interface) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_interface = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_interface, submessage_arena); - } - - } else { - - } - output_interface_ = output_interface; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_interface) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 3; -inline int CloudEventWorkflowExecution::artifact_ids_size() const { - return artifact_ids_.size(); -} -inline ::flyteidl::core::ArtifactID* CloudEventWorkflowExecution::mutable_artifact_ids(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) - return artifact_ids_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* -CloudEventWorkflowExecution::mutable_artifact_ids() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) - return &artifact_ids_; -} -inline const ::flyteidl::core::ArtifactID& CloudEventWorkflowExecution::artifact_ids(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) - return artifact_ids_.Get(index); -} -inline ::flyteidl::core::ArtifactID* CloudEventWorkflowExecution::add_artifact_ids() { - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) - return artifact_ids_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& -CloudEventWorkflowExecution::artifact_ids() const { - // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventWorkflowExecution.artifact_ids) - return artifact_ids_; -} - -// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; -inline bool CloudEventWorkflowExecution::has_reference_execution() const { - return this != internal_default_instance() && reference_execution_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& CloudEventWorkflowExecution::reference_execution() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = reference_execution_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.reference_execution) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventWorkflowExecution::release_reference_execution() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.reference_execution) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = reference_execution_; - reference_execution_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventWorkflowExecution::mutable_reference_execution() { - - if (reference_execution_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - reference_execution_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.reference_execution) - return reference_execution_; -} -inline void CloudEventWorkflowExecution::set_allocated_reference_execution(::flyteidl::core::WorkflowExecutionIdentifier* reference_execution) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(reference_execution_); - } - if (reference_execution) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - reference_execution = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reference_execution, submessage_arena); - } - - } else { - - } - reference_execution_ = reference_execution; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.reference_execution) -} - -// string principal = 5; -inline void CloudEventWorkflowExecution::clear_principal() { - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CloudEventWorkflowExecution::principal() const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.principal) - return principal_.GetNoArena(); -} -inline void CloudEventWorkflowExecution::set_principal(const ::std::string& value) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventWorkflowExecution.principal) -} -#if LANG_CXX11 -inline void CloudEventWorkflowExecution::set_principal(::std::string&& value) { - - principal_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.CloudEventWorkflowExecution.principal) -} -#endif -inline void CloudEventWorkflowExecution::set_principal(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventWorkflowExecution.principal) -} -inline void CloudEventWorkflowExecution::set_principal(const char* value, size_t size) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventWorkflowExecution.principal) -} -inline ::std::string* CloudEventWorkflowExecution::mutable_principal() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.principal) - return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CloudEventWorkflowExecution::release_principal() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.principal) - - return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CloudEventWorkflowExecution::set_allocated_principal(::std::string* principal) { - if (principal != nullptr) { - - } else { - - } - principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.principal) -} - -// .flyteidl.core.Identifier launch_plan_id = 6; -inline bool CloudEventWorkflowExecution::has_launch_plan_id() const { - return this != internal_default_instance() && launch_plan_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& CloudEventWorkflowExecution::launch_plan_id() const { - const ::flyteidl::core::Identifier* p = launch_plan_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.launch_plan_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* CloudEventWorkflowExecution::release_launch_plan_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.launch_plan_id) - - ::flyteidl::core::Identifier* temp = launch_plan_id_; - launch_plan_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* CloudEventWorkflowExecution::mutable_launch_plan_id() { - - if (launch_plan_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - launch_plan_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.launch_plan_id) - return launch_plan_id_; -} -inline void CloudEventWorkflowExecution::set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(launch_plan_id_); - } - if (launch_plan_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - launch_plan_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, launch_plan_id, submessage_arena); - } - - } else { - - } - launch_plan_id_ = launch_plan_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.launch_plan_id) -} - -// ------------------------------------------------------------------- - -// CloudEventNodeExecution - -// .flyteidl.event.NodeExecutionEvent raw_event = 1; -inline bool CloudEventNodeExecution::has_raw_event() const { - return this != internal_default_instance() && raw_event_ != nullptr; -} -inline const ::flyteidl::event::NodeExecutionEvent& CloudEventNodeExecution::raw_event() const { - const ::flyteidl::event::NodeExecutionEvent* p = raw_event_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.raw_event) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_NodeExecutionEvent_default_instance_); -} -inline ::flyteidl::event::NodeExecutionEvent* CloudEventNodeExecution::release_raw_event() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.raw_event) - - ::flyteidl::event::NodeExecutionEvent* temp = raw_event_; - raw_event_ = nullptr; - return temp; -} -inline ::flyteidl::event::NodeExecutionEvent* CloudEventNodeExecution::mutable_raw_event() { - - if (raw_event_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::NodeExecutionEvent>(GetArenaNoVirtual()); - raw_event_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.raw_event) - return raw_event_; -} -inline void CloudEventNodeExecution::set_allocated_raw_event(::flyteidl::event::NodeExecutionEvent* raw_event) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_event_); - } - if (raw_event) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - raw_event = ::google::protobuf::internal::GetOwnedMessage( - message_arena, raw_event, submessage_arena); - } - - } else { - - } - raw_event_ = raw_event; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.raw_event) -} - -// .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; -inline bool CloudEventNodeExecution::has_task_exec_id() const { - return this != internal_default_instance() && task_exec_id_ != nullptr; -} -inline const ::flyteidl::core::TaskExecutionIdentifier& CloudEventNodeExecution::task_exec_id() const { - const ::flyteidl::core::TaskExecutionIdentifier* p = task_exec_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.task_exec_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* CloudEventNodeExecution::release_task_exec_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.task_exec_id) - - ::flyteidl::core::TaskExecutionIdentifier* temp = task_exec_id_; - task_exec_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskExecutionIdentifier* CloudEventNodeExecution::mutable_task_exec_id() { - - if (task_exec_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(GetArenaNoVirtual()); - task_exec_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.task_exec_id) - return task_exec_id_; -} -inline void CloudEventNodeExecution::set_allocated_task_exec_id(::flyteidl::core::TaskExecutionIdentifier* task_exec_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(task_exec_id_); - } - if (task_exec_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_exec_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_exec_id, submessage_arena); - } - - } else { - - } - task_exec_id_ = task_exec_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.task_exec_id) -} - -// .flyteidl.core.TypedInterface output_interface = 3; -inline bool CloudEventNodeExecution::has_output_interface() const { - return this != internal_default_instance() && output_interface_ != nullptr; -} -inline const ::flyteidl::core::TypedInterface& CloudEventNodeExecution::output_interface() const { - const ::flyteidl::core::TypedInterface* p = output_interface_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.output_interface) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TypedInterface_default_instance_); -} -inline ::flyteidl::core::TypedInterface* CloudEventNodeExecution::release_output_interface() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.output_interface) - - ::flyteidl::core::TypedInterface* temp = output_interface_; - output_interface_ = nullptr; - return temp; -} -inline ::flyteidl::core::TypedInterface* CloudEventNodeExecution::mutable_output_interface() { - - if (output_interface_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TypedInterface>(GetArenaNoVirtual()); - output_interface_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.output_interface) - return output_interface_; -} -inline void CloudEventNodeExecution::set_allocated_output_interface(::flyteidl::core::TypedInterface* output_interface) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_interface_); - } - if (output_interface) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_interface = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_interface, submessage_arena); - } - - } else { - - } - output_interface_ = output_interface; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.output_interface) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 4; -inline int CloudEventNodeExecution::artifact_ids_size() const { - return artifact_ids_.size(); -} -inline ::flyteidl::core::ArtifactID* CloudEventNodeExecution::mutable_artifact_ids(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.artifact_ids) - return artifact_ids_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* -CloudEventNodeExecution::mutable_artifact_ids() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventNodeExecution.artifact_ids) - return &artifact_ids_; -} -inline const ::flyteidl::core::ArtifactID& CloudEventNodeExecution::artifact_ids(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.artifact_ids) - return artifact_ids_.Get(index); -} -inline ::flyteidl::core::ArtifactID* CloudEventNodeExecution::add_artifact_ids() { - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventNodeExecution.artifact_ids) - return artifact_ids_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& -CloudEventNodeExecution::artifact_ids() const { - // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventNodeExecution.artifact_ids) - return artifact_ids_; -} - -// string principal = 5; -inline void CloudEventNodeExecution::clear_principal() { - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CloudEventNodeExecution::principal() const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.principal) - return principal_.GetNoArena(); -} -inline void CloudEventNodeExecution::set_principal(const ::std::string& value) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventNodeExecution.principal) -} -#if LANG_CXX11 -inline void CloudEventNodeExecution::set_principal(::std::string&& value) { - - principal_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.CloudEventNodeExecution.principal) -} -#endif -inline void CloudEventNodeExecution::set_principal(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventNodeExecution.principal) -} -inline void CloudEventNodeExecution::set_principal(const char* value, size_t size) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventNodeExecution.principal) -} -inline ::std::string* CloudEventNodeExecution::mutable_principal() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.principal) - return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CloudEventNodeExecution::release_principal() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.principal) - - return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CloudEventNodeExecution::set_allocated_principal(::std::string* principal) { - if (principal != nullptr) { - - } else { - - } - principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.principal) -} - -// .flyteidl.core.Identifier launch_plan_id = 6; -inline bool CloudEventNodeExecution::has_launch_plan_id() const { - return this != internal_default_instance() && launch_plan_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& CloudEventNodeExecution::launch_plan_id() const { - const ::flyteidl::core::Identifier* p = launch_plan_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.launch_plan_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* CloudEventNodeExecution::release_launch_plan_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.launch_plan_id) - - ::flyteidl::core::Identifier* temp = launch_plan_id_; - launch_plan_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* CloudEventNodeExecution::mutable_launch_plan_id() { - - if (launch_plan_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - launch_plan_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.launch_plan_id) - return launch_plan_id_; -} -inline void CloudEventNodeExecution::set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(launch_plan_id_); - } - if (launch_plan_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - launch_plan_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, launch_plan_id, submessage_arena); - } - - } else { - - } - launch_plan_id_ = launch_plan_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.launch_plan_id) -} - -// ------------------------------------------------------------------- - -// CloudEventTaskExecution - -// .flyteidl.event.TaskExecutionEvent raw_event = 1; -inline bool CloudEventTaskExecution::has_raw_event() const { - return this != internal_default_instance() && raw_event_ != nullptr; -} -inline const ::flyteidl::event::TaskExecutionEvent& CloudEventTaskExecution::raw_event() const { - const ::flyteidl::event::TaskExecutionEvent* p = raw_event_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventTaskExecution.raw_event) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_TaskExecutionEvent_default_instance_); -} -inline ::flyteidl::event::TaskExecutionEvent* CloudEventTaskExecution::release_raw_event() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventTaskExecution.raw_event) - - ::flyteidl::event::TaskExecutionEvent* temp = raw_event_; - raw_event_ = nullptr; - return temp; -} -inline ::flyteidl::event::TaskExecutionEvent* CloudEventTaskExecution::mutable_raw_event() { - - if (raw_event_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::TaskExecutionEvent>(GetArenaNoVirtual()); - raw_event_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventTaskExecution.raw_event) - return raw_event_; -} -inline void CloudEventTaskExecution::set_allocated_raw_event(::flyteidl::event::TaskExecutionEvent* raw_event) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(raw_event_); - } - if (raw_event) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - raw_event = ::google::protobuf::internal::GetOwnedMessage( - message_arena, raw_event, submessage_arena); - } - - } else { - - } - raw_event_ = raw_event; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventTaskExecution.raw_event) -} - -// ------------------------------------------------------------------- - -// CloudEventExecutionStart - -// .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; -inline bool CloudEventExecutionStart::has_execution_id() const { - return this != internal_default_instance() && execution_id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& CloudEventExecutionStart::execution_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventExecutionStart::release_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventExecutionStart.execution_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_id_; - execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* CloudEventExecutionStart::mutable_execution_id() { - - if (execution_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - execution_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.execution_id) - return execution_id_; -} -inline void CloudEventExecutionStart::set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_id_); - } - if (execution_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - execution_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, execution_id, submessage_arena); - } - - } else { - - } - execution_id_ = execution_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventExecutionStart.execution_id) -} - -// .flyteidl.core.Identifier launch_plan_id = 2; -inline bool CloudEventExecutionStart::has_launch_plan_id() const { - return this != internal_default_instance() && launch_plan_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& CloudEventExecutionStart::launch_plan_id() const { - const ::flyteidl::core::Identifier* p = launch_plan_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.launch_plan_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* CloudEventExecutionStart::release_launch_plan_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventExecutionStart.launch_plan_id) - - ::flyteidl::core::Identifier* temp = launch_plan_id_; - launch_plan_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* CloudEventExecutionStart::mutable_launch_plan_id() { - - if (launch_plan_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - launch_plan_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.launch_plan_id) - return launch_plan_id_; -} -inline void CloudEventExecutionStart::set_allocated_launch_plan_id(::flyteidl::core::Identifier* launch_plan_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(launch_plan_id_); - } - if (launch_plan_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - launch_plan_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, launch_plan_id, submessage_arena); - } - - } else { - - } - launch_plan_id_ = launch_plan_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventExecutionStart.launch_plan_id) -} - -// .flyteidl.core.Identifier workflow_id = 3; -inline bool CloudEventExecutionStart::has_workflow_id() const { - return this != internal_default_instance() && workflow_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& CloudEventExecutionStart::workflow_id() const { - const ::flyteidl::core::Identifier* p = workflow_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.workflow_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* CloudEventExecutionStart::release_workflow_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventExecutionStart.workflow_id) - - ::flyteidl::core::Identifier* temp = workflow_id_; - workflow_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* CloudEventExecutionStart::mutable_workflow_id() { - - if (workflow_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - workflow_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.workflow_id) - return workflow_id_; -} -inline void CloudEventExecutionStart::set_allocated_workflow_id(::flyteidl::core::Identifier* workflow_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_id_); - } - if (workflow_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_id, submessage_arena); - } - - } else { - - } - workflow_id_ = workflow_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventExecutionStart.workflow_id) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 4; -inline int CloudEventExecutionStart::artifact_ids_size() const { - return artifact_ids_.size(); -} -inline ::flyteidl::core::ArtifactID* CloudEventExecutionStart::mutable_artifact_ids(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_ids) - return artifact_ids_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* -CloudEventExecutionStart::mutable_artifact_ids() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_ids) - return &artifact_ids_; -} -inline const ::flyteidl::core::ArtifactID& CloudEventExecutionStart::artifact_ids(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_ids) - return artifact_ids_.Get(index); -} -inline ::flyteidl::core::ArtifactID* CloudEventExecutionStart::add_artifact_ids() { - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_ids) - return artifact_ids_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& -CloudEventExecutionStart::artifact_ids() const { - // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_ids) - return artifact_ids_; -} - -// repeated string artifact_trackers = 5; -inline int CloudEventExecutionStart::artifact_trackers_size() const { - return artifact_trackers_.size(); -} -inline void CloudEventExecutionStart::clear_artifact_trackers() { - artifact_trackers_.Clear(); -} -inline const ::std::string& CloudEventExecutionStart::artifact_trackers(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_trackers) - return artifact_trackers_.Get(index); -} -inline ::std::string* CloudEventExecutionStart::mutable_artifact_trackers(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_trackers) - return artifact_trackers_.Mutable(index); -} -inline void CloudEventExecutionStart::set_artifact_trackers(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_trackers) - artifact_trackers_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void CloudEventExecutionStart::set_artifact_trackers(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_trackers) - artifact_trackers_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void CloudEventExecutionStart::set_artifact_trackers(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - artifact_trackers_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.artifact_trackers) -} -inline void CloudEventExecutionStart::set_artifact_trackers(int index, const char* value, size_t size) { - artifact_trackers_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventExecutionStart.artifact_trackers) -} -inline ::std::string* CloudEventExecutionStart::add_artifact_trackers() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.event.CloudEventExecutionStart.artifact_trackers) - return artifact_trackers_.Add(); -} -inline void CloudEventExecutionStart::add_artifact_trackers(const ::std::string& value) { - artifact_trackers_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_trackers) -} -#if LANG_CXX11 -inline void CloudEventExecutionStart::add_artifact_trackers(::std::string&& value) { - artifact_trackers_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_trackers) -} -#endif -inline void CloudEventExecutionStart::add_artifact_trackers(const char* value) { - GOOGLE_DCHECK(value != nullptr); - artifact_trackers_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.event.CloudEventExecutionStart.artifact_trackers) -} -inline void CloudEventExecutionStart::add_artifact_trackers(const char* value, size_t size) { - artifact_trackers_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.event.CloudEventExecutionStart.artifact_trackers) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -CloudEventExecutionStart::artifact_trackers() const { - // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_trackers) - return artifact_trackers_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -CloudEventExecutionStart::mutable_artifact_trackers() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_trackers) - return &artifact_trackers_; -} - -// string principal = 6; -inline void CloudEventExecutionStart::clear_principal() { - principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CloudEventExecutionStart::principal() const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.principal) - return principal_.GetNoArena(); -} -inline void CloudEventExecutionStart::set_principal(const ::std::string& value) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.principal) -} -#if LANG_CXX11 -inline void CloudEventExecutionStart::set_principal(::std::string&& value) { - - principal_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.CloudEventExecutionStart.principal) -} -#endif -inline void CloudEventExecutionStart::set_principal(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.principal) -} -inline void CloudEventExecutionStart::set_principal(const char* value, size_t size) { - - principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventExecutionStart.principal) -} -inline ::std::string* CloudEventExecutionStart::mutable_principal() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.principal) - return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CloudEventExecutionStart::release_principal() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventExecutionStart.principal) - - return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CloudEventExecutionStart::set_allocated_principal(::std::string* principal) { - if (principal != nullptr) { - - } else { - - } - principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventExecutionStart.principal) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace event -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fevent_2fcloudevents_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/event.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/event.grpc.pb.cc deleted file mode 100644 index e45d92a954..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/event.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/event/event.proto - -#include "flyteidl/event/event.pb.h" -#include "flyteidl/event/event.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace event { - -} // namespace flyteidl -} // namespace event - diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/event.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/event.grpc.pb.h deleted file mode 100644 index 2d2b1a92de..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/event.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/event/event.proto -#ifndef GRPC_flyteidl_2fevent_2fevent_2eproto__INCLUDED -#define GRPC_flyteidl_2fevent_2fevent_2eproto__INCLUDED - -#include "flyteidl/event/event.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 event { - -} // namespace event -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fevent_2fevent_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc deleted file mode 100644 index 08a81f6438..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc +++ /dev/null @@ -1,8589 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/event/event.proto - -#include "flyteidl/event/event.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcatalog_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fcompiler_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_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; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_EventReason_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace event { -class WorkflowExecutionEventDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr output_uri_; - const ::flyteidl::core::ExecutionError* error_; - const ::flyteidl::core::LiteralMap* output_data_; -} _WorkflowExecutionEvent_default_instance_; -class NodeExecutionEventDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr input_uri_; - const ::flyteidl::core::LiteralMap* input_data_; - ::google::protobuf::internal::ArenaStringPtr output_uri_; - const ::flyteidl::core::ExecutionError* error_; - const ::flyteidl::core::LiteralMap* output_data_; - const ::flyteidl::event::WorkflowNodeMetadata* workflow_node_metadata_; - const ::flyteidl::event::TaskNodeMetadata* task_node_metadata_; -} _NodeExecutionEvent_default_instance_; -class WorkflowNodeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkflowNodeMetadata_default_instance_; -class TaskNodeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskNodeMetadata_default_instance_; -class DynamicWorkflowNodeMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DynamicWorkflowNodeMetadata_default_instance_; -class ParentTaskExecutionMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ParentTaskExecutionMetadata_default_instance_; -class ParentNodeExecutionMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ParentNodeExecutionMetadata_default_instance_; -class EventReasonDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _EventReason_default_instance_; -class TaskExecutionEventDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::internal::ArenaStringPtr input_uri_; - const ::flyteidl::core::LiteralMap* input_data_; - ::google::protobuf::internal::ArenaStringPtr output_uri_; - const ::flyteidl::core::ExecutionError* error_; - const ::flyteidl::core::LiteralMap* output_data_; -} _TaskExecutionEvent_default_instance_; -class ExternalResourceInfoDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ExternalResourceInfo_default_instance_; -class ResourcePoolInfoDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ResourcePoolInfo_default_instance_; -class TaskExecutionMetadataDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskExecutionMetadata_default_instance_; -} // namespace event -} // namespace flyteidl -static void InitDefaultsWorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_WorkflowExecutionEvent_default_instance_; - new (ptr) ::flyteidl::event::WorkflowExecutionEvent(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::WorkflowExecutionEvent::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<4> scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsWorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsNodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_NodeExecutionEvent_default_instance_; - new (ptr) ::flyteidl::event::NodeExecutionEvent(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::NodeExecutionEvent::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<8> scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 8, InitDefaultsNodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_WorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_TaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_ParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_ParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base,}}; - -static void InitDefaultsWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_WorkflowNodeMetadata_default_instance_; - new (ptr) ::flyteidl::event::WorkflowNodeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::WorkflowNodeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsTaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_TaskNodeMetadata_default_instance_; - new (ptr) ::flyteidl::event::TaskNodeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::TaskNodeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_CatalogMetadata_flyteidl_2fcore_2fcatalog_2eproto.base, - &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base,}}; - -static void InitDefaultsDynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_DynamicWorkflowNodeMetadata_default_instance_; - new (ptr) ::flyteidl::event::DynamicWorkflowNodeMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::DynamicWorkflowNodeMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_CompiledWorkflowClosure_flyteidl_2fcore_2fcompiler_2eproto.base,}}; - -static void InitDefaultsParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_ParentTaskExecutionMetadata_default_instance_; - new (ptr) ::flyteidl::event::ParentTaskExecutionMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::ParentTaskExecutionMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_ParentNodeExecutionMetadata_default_instance_; - new (ptr) ::flyteidl::event::ParentNodeExecutionMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::ParentNodeExecutionMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto}, {}}; - -static void InitDefaultsEventReason_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_EventReason_default_instance_; - new (ptr) ::flyteidl::event::EventReason(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::EventReason::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_EventReason_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsEventReason_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsTaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_TaskExecutionEvent_default_instance_; - new (ptr) ::flyteidl::event::TaskExecutionEvent(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::TaskExecutionEvent::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<9> scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 9, InitDefaultsTaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, - &scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, - &scc_info_EventReason_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base,}}; - -static void InitDefaultsExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_ExternalResourceInfo_default_instance_; - new (ptr) ::flyteidl::event::ExternalResourceInfo(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::ExternalResourceInfo::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_ExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base,}}; - -static void InitDefaultsResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_ResourcePoolInfo_default_instance_; - new (ptr) ::flyteidl::event::ResourcePoolInfo(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::ResourcePoolInfo::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto}, {}}; - -static void InitDefaultsTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::event::_TaskExecutionMetadata_default_instance_; - new (ptr) ::flyteidl::event::TaskExecutionMetadata(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::event::TaskExecutionMetadata::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto}, { - &scc_info_ExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto.base, - &scc_info_ResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto.base,}}; - -void InitDefaults_flyteidl_2fevent_2fevent_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_EventReason_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_ResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fevent_2fevent_2eproto[12]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fevent_2fevent_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fevent_2fevent_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fevent_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowExecutionEvent, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowExecutionEvent, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowExecutionEvent, execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowExecutionEvent, producer_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowExecutionEvent, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowExecutionEvent, occurred_at_), - offsetof(::flyteidl::event::WorkflowExecutionEventDefaultTypeInternal, output_uri_), - offsetof(::flyteidl::event::WorkflowExecutionEventDefaultTypeInternal, error_), - offsetof(::flyteidl::event::WorkflowExecutionEventDefaultTypeInternal, output_data_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowExecutionEvent, output_result_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, producer_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, occurred_at_), - offsetof(::flyteidl::event::NodeExecutionEventDefaultTypeInternal, input_uri_), - offsetof(::flyteidl::event::NodeExecutionEventDefaultTypeInternal, input_data_), - offsetof(::flyteidl::event::NodeExecutionEventDefaultTypeInternal, output_uri_), - offsetof(::flyteidl::event::NodeExecutionEventDefaultTypeInternal, error_), - offsetof(::flyteidl::event::NodeExecutionEventDefaultTypeInternal, output_data_), - offsetof(::flyteidl::event::NodeExecutionEventDefaultTypeInternal, workflow_node_metadata_), - offsetof(::flyteidl::event::NodeExecutionEventDefaultTypeInternal, task_node_metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, parent_task_metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, parent_node_metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, retry_group_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, spec_node_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, node_name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, event_version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, is_parent_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, is_dynamic_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, deck_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, reported_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, is_array_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, input_value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, output_result_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, target_metadata_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowNodeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::WorkflowNodeMetadata, execution_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskNodeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskNodeMetadata, cache_status_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskNodeMetadata, catalog_key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskNodeMetadata, reservation_status_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskNodeMetadata, checkpoint_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskNodeMetadata, dynamic_workflow_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::DynamicWorkflowNodeMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::DynamicWorkflowNodeMetadata, id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::DynamicWorkflowNodeMetadata, compiled_workflow_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::DynamicWorkflowNodeMetadata, dynamic_job_spec_uri_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ParentTaskExecutionMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ParentTaskExecutionMetadata, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ParentNodeExecutionMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ParentNodeExecutionMetadata, node_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::EventReason, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::EventReason, reason_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::EventReason, occurred_at_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, task_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, parent_node_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, retry_attempt_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, producer_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, logs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, occurred_at_), - offsetof(::flyteidl::event::TaskExecutionEventDefaultTypeInternal, input_uri_), - offsetof(::flyteidl::event::TaskExecutionEventDefaultTypeInternal, input_data_), - offsetof(::flyteidl::event::TaskExecutionEventDefaultTypeInternal, output_uri_), - offsetof(::flyteidl::event::TaskExecutionEventDefaultTypeInternal, error_), - offsetof(::flyteidl::event::TaskExecutionEventDefaultTypeInternal, output_data_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, custom_info_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, phase_version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, reason_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, reasons_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, metadata_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, event_version_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, reported_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, input_value_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, output_result_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ExternalResourceInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ExternalResourceInfo, external_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ExternalResourceInfo, index_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ExternalResourceInfo, retry_attempt_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ExternalResourceInfo, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ExternalResourceInfo, cache_status_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ExternalResourceInfo, logs_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ResourcePoolInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ResourcePoolInfo, allocation_token_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::ResourcePoolInfo, namespace__), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionMetadata, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionMetadata, generated_name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionMetadata, external_resources_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionMetadata, resource_pool_info_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionMetadata, plugin_identifier_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionMetadata, instance_class_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::event::WorkflowExecutionEvent)}, - { 13, -1, sizeof(::flyteidl::event::NodeExecutionEvent)}, - { 43, -1, sizeof(::flyteidl::event::WorkflowNodeMetadata)}, - { 49, -1, sizeof(::flyteidl::event::TaskNodeMetadata)}, - { 59, -1, sizeof(::flyteidl::event::DynamicWorkflowNodeMetadata)}, - { 67, -1, sizeof(::flyteidl::event::ParentTaskExecutionMetadata)}, - { 73, -1, sizeof(::flyteidl::event::ParentNodeExecutionMetadata)}, - { 79, -1, sizeof(::flyteidl::event::EventReason)}, - { 86, -1, sizeof(::flyteidl::event::TaskExecutionEvent)}, - { 113, -1, sizeof(::flyteidl::event::ExternalResourceInfo)}, - { 124, -1, sizeof(::flyteidl::event::ResourcePoolInfo)}, - { 131, -1, sizeof(::flyteidl::event::TaskExecutionMetadata)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::event::_WorkflowExecutionEvent_default_instance_), - reinterpret_cast(&::flyteidl::event::_NodeExecutionEvent_default_instance_), - reinterpret_cast(&::flyteidl::event::_WorkflowNodeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::event::_TaskNodeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::event::_DynamicWorkflowNodeMetadata_default_instance_), - reinterpret_cast(&::flyteidl::event::_ParentTaskExecutionMetadata_default_instance_), - reinterpret_cast(&::flyteidl::event::_ParentNodeExecutionMetadata_default_instance_), - reinterpret_cast(&::flyteidl::event::_EventReason_default_instance_), - reinterpret_cast(&::flyteidl::event::_TaskExecutionEvent_default_instance_), - reinterpret_cast(&::flyteidl::event::_ExternalResourceInfo_default_instance_), - reinterpret_cast(&::flyteidl::event::_ResourcePoolInfo_default_instance_), - reinterpret_cast(&::flyteidl::event::_TaskExecutionMetadata_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto = { - {}, AddDescriptors_flyteidl_2fevent_2fevent_2eproto, "flyteidl/event/event.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fevent_2fevent_2eproto::offsets, - file_level_metadata_flyteidl_2fevent_2fevent_2eproto, 12, file_level_enum_descriptors_flyteidl_2fevent_2fevent_2eproto, file_level_service_descriptors_flyteidl_2fevent_2fevent_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fevent_2fevent_2eproto[] = - "\n\032flyteidl/event/event.proto\022\016flyteidl.e" - "vent\032\034flyteidl/core/literals.proto\032\034flyt" - "eidl/core/compiler.proto\032\035flyteidl/core/" - "execution.proto\032\036flyteidl/core/identifie" - "r.proto\032\033flyteidl/core/catalog.proto\032\037go" - "ogle/protobuf/timestamp.proto\032\034google/pr" - "otobuf/struct.proto\"\340\002\n\026WorkflowExecutio" - "nEvent\022@\n\014execution_id\030\001 \001(\0132*.flyteidl." - "core.WorkflowExecutionIdentifier\022\023\n\013prod" - "ucer_id\030\002 \001(\t\0225\n\005phase\030\003 \001(\0162&.flyteidl." - "core.WorkflowExecution.Phase\022/\n\013occurred" - "_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022\024\n" - "\noutput_uri\030\005 \001(\tH\000\022.\n\005error\030\006 \001(\0132\035.fly" - "teidl.core.ExecutionErrorH\000\0220\n\013output_da" - "ta\030\007 \001(\0132\031.flyteidl.core.LiteralMapH\000B\017\n" - "\routput_result\"\241\007\n\022NodeExecutionEvent\0222\n" - "\002id\030\001 \001(\0132&.flyteidl.core.NodeExecutionI" - "dentifier\022\023\n\013producer_id\030\002 \001(\t\0221\n\005phase\030" - "\003 \001(\0162\".flyteidl.core.NodeExecution.Phas" - "e\022/\n\013occurred_at\030\004 \001(\0132\032.google.protobuf" - ".Timestamp\022\023\n\tinput_uri\030\005 \001(\tH\000\022/\n\ninput" - "_data\030\024 \001(\0132\031.flyteidl.core.LiteralMapH\000" - "\022\024\n\noutput_uri\030\006 \001(\tH\001\022.\n\005error\030\007 \001(\0132\035." - "flyteidl.core.ExecutionErrorH\001\0220\n\013output" - "_data\030\017 \001(\0132\031.flyteidl.core.LiteralMapH\001" - "\022F\n\026workflow_node_metadata\030\010 \001(\0132$.flyte" - "idl.event.WorkflowNodeMetadataH\002\022>\n\022task" - "_node_metadata\030\016 \001(\0132 .flyteidl.event.Ta" - "skNodeMetadataH\002\022I\n\024parent_task_metadata" - "\030\t \001(\0132+.flyteidl.event.ParentTaskExecut" - "ionMetadata\022I\n\024parent_node_metadata\030\n \001(" - "\0132+.flyteidl.event.ParentNodeExecutionMe" - "tadata\022\023\n\013retry_group\030\013 \001(\t\022\024\n\014spec_node" - "_id\030\014 \001(\t\022\021\n\tnode_name\030\r \001(\t\022\025\n\revent_ve" - "rsion\030\020 \001(\005\022\021\n\tis_parent\030\021 \001(\010\022\022\n\nis_dyn" - "amic\030\022 \001(\010\022\020\n\010deck_uri\030\023 \001(\t\022/\n\013reported" - "_at\030\025 \001(\0132\032.google.protobuf.Timestamp\022\020\n" - "\010is_array\030\026 \001(\010B\r\n\013input_valueB\017\n\routput" - "_resultB\021\n\017target_metadata\"X\n\024WorkflowNo" - "deMetadata\022@\n\014execution_id\030\001 \001(\0132*.flyte" - "idl.core.WorkflowExecutionIdentifier\"\245\002\n" - "\020TaskNodeMetadata\0227\n\014cache_status\030\001 \001(\0162" - "!.flyteidl.core.CatalogCacheStatus\0223\n\013ca" - "talog_key\030\002 \001(\0132\036.flyteidl.core.CatalogM" - "etadata\022D\n\022reservation_status\030\003 \001(\0162(.fl" - "yteidl.core.CatalogReservation.Status\022\026\n" - "\016checkpoint_uri\030\004 \001(\t\022E\n\020dynamic_workflo" - "w\030\020 \001(\0132+.flyteidl.event.DynamicWorkflow" - "NodeMetadata\"\245\001\n\033DynamicWorkflowNodeMeta" - "data\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identif" - "ier\022A\n\021compiled_workflow\030\002 \001(\0132&.flyteid" - "l.core.CompiledWorkflowClosure\022\034\n\024dynami" - "c_job_spec_uri\030\003 \001(\t\"Q\n\033ParentTaskExecut" - "ionMetadata\0222\n\002id\030\001 \001(\0132&.flyteidl.core." - "TaskExecutionIdentifier\".\n\033ParentNodeExe" - "cutionMetadata\022\017\n\007node_id\030\001 \001(\t\"N\n\013Event" - "Reason\022\016\n\006reason\030\001 \001(\t\022/\n\013occurred_at\030\002 " - "\001(\0132\032.google.protobuf.Timestamp\"\271\006\n\022Task" - "ExecutionEvent\022*\n\007task_id\030\001 \001(\0132\031.flytei" - "dl.core.Identifier\022H\n\030parent_node_execut" - "ion_id\030\002 \001(\0132&.flyteidl.core.NodeExecuti" - "onIdentifier\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005p" - "hase\030\004 \001(\0162\".flyteidl.core.TaskExecution" - ".Phase\022\023\n\013producer_id\030\005 \001(\t\022$\n\004logs\030\006 \003(" - "\0132\026.flyteidl.core.TaskLog\022/\n\013occurred_at" - "\030\007 \001(\0132\032.google.protobuf.Timestamp\022\023\n\tin" - "put_uri\030\010 \001(\tH\000\022/\n\ninput_data\030\023 \001(\0132\031.fl" - "yteidl.core.LiteralMapH\000\022\024\n\noutput_uri\030\t" - " \001(\tH\001\022.\n\005error\030\n \001(\0132\035.flyteidl.core.Ex" - "ecutionErrorH\001\0220\n\013output_data\030\021 \001(\0132\031.fl" - "yteidl.core.LiteralMapH\001\022,\n\013custom_info\030" - "\013 \001(\0132\027.google.protobuf.Struct\022\025\n\rphase_" - "version\030\014 \001(\r\022\022\n\006reason\030\r \001(\tB\002\030\001\022,\n\007rea" - "sons\030\025 \003(\0132\033.flyteidl.event.EventReason\022" - "\021\n\ttask_type\030\016 \001(\t\0227\n\010metadata\030\020 \001(\0132%.f" - "lyteidl.event.TaskExecutionMetadata\022\025\n\re" - "vent_version\030\022 \001(\005\022/\n\013reported_at\030\024 \001(\0132" - "\032.google.protobuf.TimestampB\r\n\013input_val" - "ueB\017\n\routput_result\"\343\001\n\024ExternalResource" - "Info\022\023\n\013external_id\030\001 \001(\t\022\r\n\005index\030\002 \001(\r" - "\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001(\0162\"" - ".flyteidl.core.TaskExecution.Phase\0227\n\014ca" - "che_status\030\005 \001(\0162!.flyteidl.core.Catalog" - "CacheStatus\022$\n\004logs\030\006 \003(\0132\026.flyteidl.cor" - "e.TaskLog\"\?\n\020ResourcePoolInfo\022\030\n\020allocat" - "ion_token\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\310\002\n\025T" - "askExecutionMetadata\022\026\n\016generated_name\030\001" - " \001(\t\022@\n\022external_resources\030\002 \003(\0132$.flyte" - "idl.event.ExternalResourceInfo\022<\n\022resour" - "ce_pool_info\030\003 \003(\0132 .flyteidl.event.Reso" - "urcePoolInfo\022\031\n\021plugin_identifier\030\004 \001(\t\022" - "K\n\016instance_class\030\020 \001(\01623.flyteidl.event" - ".TaskExecutionMetadata.InstanceClass\"/\n\r" - "InstanceClass\022\013\n\007DEFAULT\020\000\022\021\n\rINTERRUPTI" - "BLE\020\001B=Z;github.com/flyteorg/flyte/flyte" - "idl/gen/pb-go/flyteidl/eventb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fevent_2fevent_2eproto = { - false, InitDefaults_flyteidl_2fevent_2fevent_2eproto, - descriptor_table_protodef_flyteidl_2fevent_2fevent_2eproto, - "flyteidl/event/event.proto", &assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto, 3836, -}; - -void AddDescriptors_flyteidl_2fevent_2fevent_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[7] = - { - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fcompiler_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fcatalog_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - ::AddDescriptors_google_2fprotobuf_2fstruct_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fevent_2fevent_2eproto, deps, 7); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fevent_2fevent_2eproto = []() { AddDescriptors_flyteidl_2fevent_2fevent_2eproto(); return true; }(); -namespace flyteidl { -namespace event { -const ::google::protobuf::EnumDescriptor* TaskExecutionMetadata_InstanceClass_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return file_level_enum_descriptors_flyteidl_2fevent_2fevent_2eproto[0]; -} -bool TaskExecutionMetadata_InstanceClass_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const TaskExecutionMetadata_InstanceClass TaskExecutionMetadata::DEFAULT; -const TaskExecutionMetadata_InstanceClass TaskExecutionMetadata::INTERRUPTIBLE; -const TaskExecutionMetadata_InstanceClass TaskExecutionMetadata::InstanceClass_MIN; -const TaskExecutionMetadata_InstanceClass TaskExecutionMetadata::InstanceClass_MAX; -const int TaskExecutionMetadata::InstanceClass_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void WorkflowExecutionEvent::InitAsDefaultInstance() { - ::flyteidl::event::_WorkflowExecutionEvent_default_instance_._instance.get_mutable()->execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); - ::flyteidl::event::_WorkflowExecutionEvent_default_instance_._instance.get_mutable()->occurred_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::event::_WorkflowExecutionEvent_default_instance_.output_uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::event::_WorkflowExecutionEvent_default_instance_.error_ = const_cast< ::flyteidl::core::ExecutionError*>( - ::flyteidl::core::ExecutionError::internal_default_instance()); - ::flyteidl::event::_WorkflowExecutionEvent_default_instance_.output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); -} -class WorkflowExecutionEvent::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id(const WorkflowExecutionEvent* msg); - static const ::google::protobuf::Timestamp& occurred_at(const WorkflowExecutionEvent* msg); - static const ::flyteidl::core::ExecutionError& error(const WorkflowExecutionEvent* msg); - static const ::flyteidl::core::LiteralMap& output_data(const WorkflowExecutionEvent* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -WorkflowExecutionEvent::HasBitSetters::execution_id(const WorkflowExecutionEvent* msg) { - return *msg->execution_id_; -} -const ::google::protobuf::Timestamp& -WorkflowExecutionEvent::HasBitSetters::occurred_at(const WorkflowExecutionEvent* msg) { - return *msg->occurred_at_; -} -const ::flyteidl::core::ExecutionError& -WorkflowExecutionEvent::HasBitSetters::error(const WorkflowExecutionEvent* msg) { - return *msg->output_result_.error_; -} -const ::flyteidl::core::LiteralMap& -WorkflowExecutionEvent::HasBitSetters::output_data(const WorkflowExecutionEvent* msg) { - return *msg->output_result_.output_data_; -} -void WorkflowExecutionEvent::clear_execution_id() { - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; -} -void WorkflowExecutionEvent::clear_occurred_at() { - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; -} -void WorkflowExecutionEvent::set_allocated_error(::flyteidl::core::ExecutionError* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - output_result_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.WorkflowExecutionEvent.error) -} -void WorkflowExecutionEvent::clear_error() { - if (has_error()) { - delete output_result_.error_; - clear_has_output_result(); - } -} -void WorkflowExecutionEvent::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - set_has_output_data(); - output_result_.output_data_ = output_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.WorkflowExecutionEvent.output_data) -} -void WorkflowExecutionEvent::clear_output_data() { - if (has_output_data()) { - delete output_result_.output_data_; - clear_has_output_result(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowExecutionEvent::kExecutionIdFieldNumber; -const int WorkflowExecutionEvent::kProducerIdFieldNumber; -const int WorkflowExecutionEvent::kPhaseFieldNumber; -const int WorkflowExecutionEvent::kOccurredAtFieldNumber; -const int WorkflowExecutionEvent::kOutputUriFieldNumber; -const int WorkflowExecutionEvent::kErrorFieldNumber; -const int WorkflowExecutionEvent::kOutputDataFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowExecutionEvent::WorkflowExecutionEvent() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.WorkflowExecutionEvent) -} -WorkflowExecutionEvent::WorkflowExecutionEvent(const WorkflowExecutionEvent& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.producer_id().size() > 0) { - producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_); - } - if (from.has_execution_id()) { - execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.execution_id_); - } else { - execution_id_ = nullptr; - } - if (from.has_occurred_at()) { - occurred_at_ = new ::google::protobuf::Timestamp(*from.occurred_at_); - } else { - occurred_at_ = nullptr; - } - phase_ = from.phase_; - clear_has_output_result(); - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.WorkflowExecutionEvent) -} - -void WorkflowExecutionEvent::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&execution_id_, 0, static_cast( - reinterpret_cast(&phase_) - - reinterpret_cast(&execution_id_)) + sizeof(phase_)); - clear_has_output_result(); -} - -WorkflowExecutionEvent::~WorkflowExecutionEvent() { - // @@protoc_insertion_point(destructor:flyteidl.event.WorkflowExecutionEvent) - SharedDtor(); -} - -void WorkflowExecutionEvent::SharedDtor() { - producer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete execution_id_; - if (this != internal_default_instance()) delete occurred_at_; - if (has_output_result()) { - clear_output_result(); - } -} - -void WorkflowExecutionEvent::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowExecutionEvent& WorkflowExecutionEvent::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowExecutionEvent::clear_output_result() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.event.WorkflowExecutionEvent) - switch (output_result_case()) { - case kOutputUri: { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kError: { - delete output_result_.error_; - break; - } - case kOutputData: { - delete output_result_.output_data_; - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} - - -void WorkflowExecutionEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.WorkflowExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; - phase_ = 0; - clear_output_result(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowExecutionEvent::_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 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_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; - } - // string producer_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("flyteidl.event.WorkflowExecutionEvent.producer_id"); - object = msg->mutable_producer_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; - } - // .flyteidl.core.WorkflowExecution.Phase phase = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::WorkflowExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Timestamp occurred_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_occurred_at(); - 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 output_uri = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.event.WorkflowExecutionEvent.output_uri"); - object = msg->mutable_output_uri(); - 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.ExecutionError error = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExecutionError::_InternalParse; - object = msg->mutable_error(); - 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.LiteralMap output_data = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - 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 WorkflowExecutionEvent::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.event.WorkflowExecutionEvent) - 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 execution_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_execution_id())); - } else { - goto handle_unusual; - } - break; - } - - // string producer_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_producer_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.WorkflowExecutionEvent.producer_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::WorkflowExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp occurred_at = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_occurred_at())); - } else { - goto handle_unusual; - } - break; - } - - // string output_uri = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.WorkflowExecutionEvent.output_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError error = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap output_data = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); - } 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.event.WorkflowExecutionEvent) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.WorkflowExecutionEvent) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowExecutionEvent::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.WorkflowExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::execution_id(this), output); - } - - // string producer_id = 2; - if (this->producer_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.WorkflowExecutionEvent.producer_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->producer_id(), output); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 3; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->phase(), output); - } - - // .google.protobuf.Timestamp occurred_at = 4; - if (this->has_occurred_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::occurred_at(this), output); - } - - // string output_uri = 5; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.WorkflowExecutionEvent.output_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->output_uri(), output); - } - - // .flyteidl.core.ExecutionError error = 6; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::error(this), output); - } - - // .flyteidl.core.LiteralMap output_data = 7; - if (has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::output_data(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.WorkflowExecutionEvent) -} - -::google::protobuf::uint8* WorkflowExecutionEvent::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.WorkflowExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::execution_id(this), target); - } - - // string producer_id = 2; - if (this->producer_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.WorkflowExecutionEvent.producer_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->producer_id(), target); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 3; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->phase(), target); - } - - // .google.protobuf.Timestamp occurred_at = 4; - if (this->has_occurred_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::occurred_at(this), target); - } - - // string output_uri = 5; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.WorkflowExecutionEvent.output_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->output_uri(), target); - } - - // .flyteidl.core.ExecutionError error = 6; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, HasBitSetters::error(this), target); - } - - // .flyteidl.core.LiteralMap output_data = 7; - if (has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::output_data(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.event.WorkflowExecutionEvent) - return target; -} - -size_t WorkflowExecutionEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.WorkflowExecutionEvent) - 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 producer_id = 2; - if (this->producer_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->producer_id()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *execution_id_); - } - - // .google.protobuf.Timestamp occurred_at = 4; - if (this->has_occurred_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *occurred_at_); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 3; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - switch (output_result_case()) { - // string output_uri = 5; - case kOutputUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_uri()); - break; - } - // .flyteidl.core.ExecutionError error = 6; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.error_); - break; - } - // .flyteidl.core.LiteralMap output_data = 7; - case kOutputData: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.output_data_); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowExecutionEvent::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.WorkflowExecutionEvent) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowExecutionEvent* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.WorkflowExecutionEvent) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.WorkflowExecutionEvent) - MergeFrom(*source); - } -} - -void WorkflowExecutionEvent::MergeFrom(const WorkflowExecutionEvent& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.WorkflowExecutionEvent) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.producer_id().size() > 0) { - - producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_); - } - if (from.has_execution_id()) { - mutable_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution_id()); - } - if (from.has_occurred_at()) { - mutable_occurred_at()->::google::protobuf::Timestamp::MergeFrom(from.occurred_at()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } -} - -void WorkflowExecutionEvent::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.WorkflowExecutionEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowExecutionEvent::CopyFrom(const WorkflowExecutionEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.WorkflowExecutionEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowExecutionEvent::IsInitialized() const { - return true; -} - -void WorkflowExecutionEvent::Swap(WorkflowExecutionEvent* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowExecutionEvent::InternalSwap(WorkflowExecutionEvent* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - producer_id_.Swap(&other->producer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(execution_id_, other->execution_id_); - swap(occurred_at_, other->occurred_at_); - swap(phase_, other->phase_); - swap(output_result_, other->output_result_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata WorkflowExecutionEvent::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void NodeExecutionEvent::InitAsDefaultInstance() { - ::flyteidl::event::_NodeExecutionEvent_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_._instance.get_mutable()->occurred_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_.input_uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_.input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_.output_uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_.error_ = const_cast< ::flyteidl::core::ExecutionError*>( - ::flyteidl::core::ExecutionError::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_.output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_.workflow_node_metadata_ = const_cast< ::flyteidl::event::WorkflowNodeMetadata*>( - ::flyteidl::event::WorkflowNodeMetadata::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_.task_node_metadata_ = const_cast< ::flyteidl::event::TaskNodeMetadata*>( - ::flyteidl::event::TaskNodeMetadata::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_._instance.get_mutable()->parent_task_metadata_ = const_cast< ::flyteidl::event::ParentTaskExecutionMetadata*>( - ::flyteidl::event::ParentTaskExecutionMetadata::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_._instance.get_mutable()->parent_node_metadata_ = const_cast< ::flyteidl::event::ParentNodeExecutionMetadata*>( - ::flyteidl::event::ParentNodeExecutionMetadata::internal_default_instance()); - ::flyteidl::event::_NodeExecutionEvent_default_instance_._instance.get_mutable()->reported_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class NodeExecutionEvent::HasBitSetters { - public: - static const ::flyteidl::core::NodeExecutionIdentifier& id(const NodeExecutionEvent* msg); - static const ::google::protobuf::Timestamp& occurred_at(const NodeExecutionEvent* msg); - static const ::flyteidl::core::LiteralMap& input_data(const NodeExecutionEvent* msg); - static const ::flyteidl::core::ExecutionError& error(const NodeExecutionEvent* msg); - static const ::flyteidl::core::LiteralMap& output_data(const NodeExecutionEvent* msg); - static const ::flyteidl::event::WorkflowNodeMetadata& workflow_node_metadata(const NodeExecutionEvent* msg); - static const ::flyteidl::event::TaskNodeMetadata& task_node_metadata(const NodeExecutionEvent* msg); - static const ::flyteidl::event::ParentTaskExecutionMetadata& parent_task_metadata(const NodeExecutionEvent* msg); - static const ::flyteidl::event::ParentNodeExecutionMetadata& parent_node_metadata(const NodeExecutionEvent* msg); - static const ::google::protobuf::Timestamp& reported_at(const NodeExecutionEvent* msg); -}; - -const ::flyteidl::core::NodeExecutionIdentifier& -NodeExecutionEvent::HasBitSetters::id(const NodeExecutionEvent* msg) { - return *msg->id_; -} -const ::google::protobuf::Timestamp& -NodeExecutionEvent::HasBitSetters::occurred_at(const NodeExecutionEvent* msg) { - return *msg->occurred_at_; -} -const ::flyteidl::core::LiteralMap& -NodeExecutionEvent::HasBitSetters::input_data(const NodeExecutionEvent* msg) { - return *msg->input_value_.input_data_; -} -const ::flyteidl::core::ExecutionError& -NodeExecutionEvent::HasBitSetters::error(const NodeExecutionEvent* msg) { - return *msg->output_result_.error_; -} -const ::flyteidl::core::LiteralMap& -NodeExecutionEvent::HasBitSetters::output_data(const NodeExecutionEvent* msg) { - return *msg->output_result_.output_data_; -} -const ::flyteidl::event::WorkflowNodeMetadata& -NodeExecutionEvent::HasBitSetters::workflow_node_metadata(const NodeExecutionEvent* msg) { - return *msg->target_metadata_.workflow_node_metadata_; -} -const ::flyteidl::event::TaskNodeMetadata& -NodeExecutionEvent::HasBitSetters::task_node_metadata(const NodeExecutionEvent* msg) { - return *msg->target_metadata_.task_node_metadata_; -} -const ::flyteidl::event::ParentTaskExecutionMetadata& -NodeExecutionEvent::HasBitSetters::parent_task_metadata(const NodeExecutionEvent* msg) { - return *msg->parent_task_metadata_; -} -const ::flyteidl::event::ParentNodeExecutionMetadata& -NodeExecutionEvent::HasBitSetters::parent_node_metadata(const NodeExecutionEvent* msg) { - return *msg->parent_node_metadata_; -} -const ::google::protobuf::Timestamp& -NodeExecutionEvent::HasBitSetters::reported_at(const NodeExecutionEvent* msg) { - return *msg->reported_at_; -} -void NodeExecutionEvent::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void NodeExecutionEvent::clear_occurred_at() { - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; -} -void NodeExecutionEvent::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_input_value(); - if (input_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - input_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, input_data, submessage_arena); - } - set_has_input_data(); - input_value_.input_data_ = input_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.input_data) -} -void NodeExecutionEvent::clear_input_data() { - if (has_input_data()) { - delete input_value_.input_data_; - clear_has_input_value(); - } -} -void NodeExecutionEvent::set_allocated_error(::flyteidl::core::ExecutionError* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - output_result_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.error) -} -void NodeExecutionEvent::clear_error() { - if (has_error()) { - delete output_result_.error_; - clear_has_output_result(); - } -} -void NodeExecutionEvent::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - set_has_output_data(); - output_result_.output_data_ = output_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.output_data) -} -void NodeExecutionEvent::clear_output_data() { - if (has_output_data()) { - delete output_result_.output_data_; - clear_has_output_result(); - } -} -void NodeExecutionEvent::set_allocated_workflow_node_metadata(::flyteidl::event::WorkflowNodeMetadata* workflow_node_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target_metadata(); - if (workflow_node_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workflow_node_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workflow_node_metadata, submessage_arena); - } - set_has_workflow_node_metadata(); - target_metadata_.workflow_node_metadata_ = workflow_node_metadata; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.workflow_node_metadata) -} -void NodeExecutionEvent::set_allocated_task_node_metadata(::flyteidl::event::TaskNodeMetadata* task_node_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_target_metadata(); - if (task_node_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_node_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_node_metadata, submessage_arena); - } - set_has_task_node_metadata(); - target_metadata_.task_node_metadata_ = task_node_metadata; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.task_node_metadata) -} -void NodeExecutionEvent::clear_reported_at() { - if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { - delete reported_at_; - } - reported_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int NodeExecutionEvent::kIdFieldNumber; -const int NodeExecutionEvent::kProducerIdFieldNumber; -const int NodeExecutionEvent::kPhaseFieldNumber; -const int NodeExecutionEvent::kOccurredAtFieldNumber; -const int NodeExecutionEvent::kInputUriFieldNumber; -const int NodeExecutionEvent::kInputDataFieldNumber; -const int NodeExecutionEvent::kOutputUriFieldNumber; -const int NodeExecutionEvent::kErrorFieldNumber; -const int NodeExecutionEvent::kOutputDataFieldNumber; -const int NodeExecutionEvent::kWorkflowNodeMetadataFieldNumber; -const int NodeExecutionEvent::kTaskNodeMetadataFieldNumber; -const int NodeExecutionEvent::kParentTaskMetadataFieldNumber; -const int NodeExecutionEvent::kParentNodeMetadataFieldNumber; -const int NodeExecutionEvent::kRetryGroupFieldNumber; -const int NodeExecutionEvent::kSpecNodeIdFieldNumber; -const int NodeExecutionEvent::kNodeNameFieldNumber; -const int NodeExecutionEvent::kEventVersionFieldNumber; -const int NodeExecutionEvent::kIsParentFieldNumber; -const int NodeExecutionEvent::kIsDynamicFieldNumber; -const int NodeExecutionEvent::kDeckUriFieldNumber; -const int NodeExecutionEvent::kReportedAtFieldNumber; -const int NodeExecutionEvent::kIsArrayFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -NodeExecutionEvent::NodeExecutionEvent() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.NodeExecutionEvent) -} -NodeExecutionEvent::NodeExecutionEvent(const NodeExecutionEvent& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.producer_id().size() > 0) { - producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_); - } - retry_group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.retry_group().size() > 0) { - retry_group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.retry_group_); - } - spec_node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.spec_node_id().size() > 0) { - spec_node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.spec_node_id_); - } - node_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.node_name().size() > 0) { - node_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_name_); - } - deck_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.deck_uri().size() > 0) { - deck_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_uri_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_occurred_at()) { - occurred_at_ = new ::google::protobuf::Timestamp(*from.occurred_at_); - } else { - occurred_at_ = nullptr; - } - if (from.has_parent_task_metadata()) { - parent_task_metadata_ = new ::flyteidl::event::ParentTaskExecutionMetadata(*from.parent_task_metadata_); - } else { - parent_task_metadata_ = nullptr; - } - if (from.has_parent_node_metadata()) { - parent_node_metadata_ = new ::flyteidl::event::ParentNodeExecutionMetadata(*from.parent_node_metadata_); - } else { - parent_node_metadata_ = nullptr; - } - if (from.has_reported_at()) { - reported_at_ = new ::google::protobuf::Timestamp(*from.reported_at_); - } else { - reported_at_ = nullptr; - } - ::memcpy(&phase_, &from.phase_, - static_cast(reinterpret_cast(&is_array_) - - reinterpret_cast(&phase_)) + sizeof(is_array_)); - clear_has_input_value(); - switch (from.input_value_case()) { - case kInputUri: { - set_input_uri(from.input_uri()); - break; - } - case kInputData: { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - clear_has_output_result(); - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - clear_has_target_metadata(); - switch (from.target_metadata_case()) { - case kWorkflowNodeMetadata: { - mutable_workflow_node_metadata()->::flyteidl::event::WorkflowNodeMetadata::MergeFrom(from.workflow_node_metadata()); - break; - } - case kTaskNodeMetadata: { - mutable_task_node_metadata()->::flyteidl::event::TaskNodeMetadata::MergeFrom(from.task_node_metadata()); - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.NodeExecutionEvent) -} - -void NodeExecutionEvent::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - retry_group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - spec_node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - node_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deck_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&is_array_) - - reinterpret_cast(&id_)) + sizeof(is_array_)); - clear_has_input_value(); - clear_has_output_result(); - clear_has_target_metadata(); -} - -NodeExecutionEvent::~NodeExecutionEvent() { - // @@protoc_insertion_point(destructor:flyteidl.event.NodeExecutionEvent) - SharedDtor(); -} - -void NodeExecutionEvent::SharedDtor() { - producer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - retry_group_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - spec_node_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - node_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deck_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete occurred_at_; - if (this != internal_default_instance()) delete parent_task_metadata_; - if (this != internal_default_instance()) delete parent_node_metadata_; - if (this != internal_default_instance()) delete reported_at_; - if (has_input_value()) { - clear_input_value(); - } - if (has_output_result()) { - clear_output_result(); - } - if (has_target_metadata()) { - clear_target_metadata(); - } -} - -void NodeExecutionEvent::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const NodeExecutionEvent& NodeExecutionEvent::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void NodeExecutionEvent::clear_input_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.event.NodeExecutionEvent) - switch (input_value_case()) { - case kInputUri: { - input_value_.input_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kInputData: { - delete input_value_.input_data_; - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = INPUT_VALUE_NOT_SET; -} - -void NodeExecutionEvent::clear_output_result() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.event.NodeExecutionEvent) - switch (output_result_case()) { - case kOutputUri: { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kError: { - delete output_result_.error_; - break; - } - case kOutputData: { - delete output_result_.output_data_; - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - _oneof_case_[1] = OUTPUT_RESULT_NOT_SET; -} - -void NodeExecutionEvent::clear_target_metadata() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.event.NodeExecutionEvent) - switch (target_metadata_case()) { - case kWorkflowNodeMetadata: { - delete target_metadata_.workflow_node_metadata_; - break; - } - case kTaskNodeMetadata: { - delete target_metadata_.task_node_metadata_; - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } - _oneof_case_[2] = TARGET_METADATA_NOT_SET; -} - - -void NodeExecutionEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.NodeExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - retry_group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - spec_node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - node_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - deck_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && parent_task_metadata_ != nullptr) { - delete parent_task_metadata_; - } - parent_task_metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && parent_node_metadata_ != nullptr) { - delete parent_node_metadata_; - } - parent_node_metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { - delete reported_at_; - } - reported_at_ = nullptr; - ::memset(&phase_, 0, static_cast( - reinterpret_cast(&is_array_) - - reinterpret_cast(&phase_)) + sizeof(is_array_)); - clear_input_value(); - clear_output_result(); - clear_target_metadata(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* NodeExecutionEvent::_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.NodeExecutionIdentifier 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::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_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 producer_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("flyteidl.event.NodeExecutionEvent.producer_id"); - object = msg->mutable_producer_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; - } - // .flyteidl.core.NodeExecution.Phase phase = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::NodeExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Timestamp occurred_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_occurred_at(); - 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 input_uri = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.event.NodeExecutionEvent.input_uri"); - object = msg->mutable_input_uri(); - 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 output_uri = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.NodeExecutionEvent.output_uri"); - object = msg->mutable_output_uri(); - 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.ExecutionError error = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExecutionError::_InternalParse; - object = msg->mutable_error(); - 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.event.WorkflowNodeMetadata workflow_node_metadata = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::WorkflowNodeMetadata::_InternalParse; - object = msg->mutable_workflow_node_metadata(); - 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.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::ParentTaskExecutionMetadata::_InternalParse; - object = msg->mutable_parent_task_metadata(); - 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.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::ParentNodeExecutionMetadata::_InternalParse; - object = msg->mutable_parent_node_metadata(); - 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 retry_group = 11; - case 11: { - if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.NodeExecutionEvent.retry_group"); - object = msg->mutable_retry_group(); - 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 spec_node_id = 12; - case 12: { - if (static_cast<::google::protobuf::uint8>(tag) != 98) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.NodeExecutionEvent.spec_node_id"); - object = msg->mutable_spec_node_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 node_name = 13; - case 13: { - if (static_cast<::google::protobuf::uint8>(tag) != 106) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.NodeExecutionEvent.node_name"); - object = msg->mutable_node_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; - } - // .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - case 14: { - if (static_cast<::google::protobuf::uint8>(tag) != 114) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::TaskNodeMetadata::_InternalParse; - object = msg->mutable_task_node_metadata(); - 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.LiteralMap output_data = 15; - case 15: { - if (static_cast<::google::protobuf::uint8>(tag) != 122) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - 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; - } - // int32 event_version = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 128) goto handle_unusual; - msg->set_event_version(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // bool is_parent = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 136) goto handle_unusual; - msg->set_is_parent(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // bool is_dynamic = 18; - case 18: { - if (static_cast<::google::protobuf::uint8>(tag) != 144) goto handle_unusual; - msg->set_is_dynamic(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string deck_uri = 19; - case 19: { - if (static_cast<::google::protobuf::uint8>(tag) != 154) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.NodeExecutionEvent.deck_uri"); - object = msg->mutable_deck_uri(); - 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.LiteralMap input_data = 20; - case 20: { - if (static_cast<::google::protobuf::uint8>(tag) != 162) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_input_data(); - 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; - } - // .google.protobuf.Timestamp reported_at = 21; - case 21: { - if (static_cast<::google::protobuf::uint8>(tag) != 170) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_reported_at(); - 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; - } - // bool is_array = 22; - case 22: { - if (static_cast<::google::protobuf::uint8>(tag) != 176) goto handle_unusual; - msg->set_is_array(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 NodeExecutionEvent::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.event.NodeExecutionEvent) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.core.NodeExecutionIdentifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // string producer_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_producer_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.NodeExecutionEvent.producer_id")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::NodeExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp occurred_at = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_occurred_at())); - } else { - goto handle_unusual; - } - break; - } - - // string input_uri = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_input_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.NodeExecutionEvent.input_uri")); - } else { - goto handle_unusual; - } - break; - } - - // string output_uri = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.NodeExecutionEvent.output_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError error = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workflow_node_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_parent_task_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_parent_node_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // string retry_group = 11; - case 11: { - if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_retry_group())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->retry_group().data(), static_cast(this->retry_group().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.NodeExecutionEvent.retry_group")); - } else { - goto handle_unusual; - } - break; - } - - // string spec_node_id = 12; - case 12: { - if (static_cast< ::google::protobuf::uint8>(tag) == (98 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_spec_node_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->spec_node_id().data(), static_cast(this->spec_node_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.NodeExecutionEvent.spec_node_id")); - } else { - goto handle_unusual; - } - break; - } - - // string node_name = 13; - case 13: { - if (static_cast< ::google::protobuf::uint8>(tag) == (106 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_node_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_name().data(), static_cast(this->node_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.NodeExecutionEvent.node_name")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - case 14: { - if (static_cast< ::google::protobuf::uint8>(tag) == (114 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_node_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap output_data = 15; - case 15: { - if (static_cast< ::google::protobuf::uint8>(tag) == (122 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); - } else { - goto handle_unusual; - } - break; - } - - // int32 event_version = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (128 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &event_version_))); - } else { - goto handle_unusual; - } - break; - } - - // bool is_parent = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (136 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &is_parent_))); - } else { - goto handle_unusual; - } - break; - } - - // bool is_dynamic = 18; - case 18: { - if (static_cast< ::google::protobuf::uint8>(tag) == (144 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &is_dynamic_))); - } else { - goto handle_unusual; - } - break; - } - - // string deck_uri = 19; - case 19: { - if (static_cast< ::google::protobuf::uint8>(tag) == (154 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_deck_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck_uri().data(), static_cast(this->deck_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.NodeExecutionEvent.deck_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap input_data = 20; - case 20: { - if (static_cast< ::google::protobuf::uint8>(tag) == (162 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_input_data())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp reported_at = 21; - case 21: { - if (static_cast< ::google::protobuf::uint8>(tag) == (170 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reported_at())); - } else { - goto handle_unusual; - } - break; - } - - // bool is_array = 22; - case 22: { - if (static_cast< ::google::protobuf::uint8>(tag) == (176 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &is_array_))); - } 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.event.NodeExecutionEvent) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.NodeExecutionEvent) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void NodeExecutionEvent::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.NodeExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // string producer_id = 2; - if (this->producer_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.producer_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->producer_id(), output); - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->phase(), output); - } - - // .google.protobuf.Timestamp occurred_at = 4; - if (this->has_occurred_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::occurred_at(this), output); - } - - // string input_uri = 5; - if (has_input_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.input_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->input_uri(), output); - } - - // string output_uri = 6; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.output_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->output_uri(), output); - } - - // .flyteidl.core.ExecutionError error = 7; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::error(this), output); - } - - // .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - if (has_workflow_node_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::workflow_node_metadata(this), output); - } - - // .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - if (this->has_parent_task_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, HasBitSetters::parent_task_metadata(this), output); - } - - // .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - if (this->has_parent_node_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, HasBitSetters::parent_node_metadata(this), output); - } - - // string retry_group = 11; - if (this->retry_group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->retry_group().data(), static_cast(this->retry_group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.retry_group"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 11, this->retry_group(), output); - } - - // string spec_node_id = 12; - if (this->spec_node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->spec_node_id().data(), static_cast(this->spec_node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.spec_node_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 12, this->spec_node_id(), output); - } - - // string node_name = 13; - if (this->node_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_name().data(), static_cast(this->node_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.node_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 13, this->node_name(), output); - } - - // .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - if (has_task_node_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 14, HasBitSetters::task_node_metadata(this), output); - } - - // .flyteidl.core.LiteralMap output_data = 15; - if (has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 15, HasBitSetters::output_data(this), output); - } - - // int32 event_version = 16; - if (this->event_version() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->event_version(), output); - } - - // bool is_parent = 17; - if (this->is_parent() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->is_parent(), output); - } - - // bool is_dynamic = 18; - if (this->is_dynamic() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(18, this->is_dynamic(), output); - } - - // string deck_uri = 19; - if (this->deck_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck_uri().data(), static_cast(this->deck_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.deck_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 19, this->deck_uri(), output); - } - - // .flyteidl.core.LiteralMap input_data = 20; - if (has_input_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 20, HasBitSetters::input_data(this), output); - } - - // .google.protobuf.Timestamp reported_at = 21; - if (this->has_reported_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 21, HasBitSetters::reported_at(this), output); - } - - // bool is_array = 22; - if (this->is_array() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(22, this->is_array(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.NodeExecutionEvent) -} - -::google::protobuf::uint8* NodeExecutionEvent::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.NodeExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // string producer_id = 2; - if (this->producer_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.producer_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->producer_id(), target); - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->phase(), target); - } - - // .google.protobuf.Timestamp occurred_at = 4; - if (this->has_occurred_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::occurred_at(this), target); - } - - // string input_uri = 5; - if (has_input_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.input_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->input_uri(), target); - } - - // string output_uri = 6; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.output_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->output_uri(), target); - } - - // .flyteidl.core.ExecutionError error = 7; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::error(this), target); - } - - // .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - if (has_workflow_node_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::workflow_node_metadata(this), target); - } - - // .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - if (this->has_parent_task_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 9, HasBitSetters::parent_task_metadata(this), target); - } - - // .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - if (this->has_parent_node_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 10, HasBitSetters::parent_node_metadata(this), target); - } - - // string retry_group = 11; - if (this->retry_group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->retry_group().data(), static_cast(this->retry_group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.retry_group"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 11, this->retry_group(), target); - } - - // string spec_node_id = 12; - if (this->spec_node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->spec_node_id().data(), static_cast(this->spec_node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.spec_node_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 12, this->spec_node_id(), target); - } - - // string node_name = 13; - if (this->node_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_name().data(), static_cast(this->node_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.node_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 13, this->node_name(), target); - } - - // .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - if (has_task_node_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 14, HasBitSetters::task_node_metadata(this), target); - } - - // .flyteidl.core.LiteralMap output_data = 15; - if (has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 15, HasBitSetters::output_data(this), target); - } - - // int32 event_version = 16; - if (this->event_version() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->event_version(), target); - } - - // bool is_parent = 17; - if (this->is_parent() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->is_parent(), target); - } - - // bool is_dynamic = 18; - if (this->is_dynamic() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(18, this->is_dynamic(), target); - } - - // string deck_uri = 19; - if (this->deck_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->deck_uri().data(), static_cast(this->deck_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.NodeExecutionEvent.deck_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 19, this->deck_uri(), target); - } - - // .flyteidl.core.LiteralMap input_data = 20; - if (has_input_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 20, HasBitSetters::input_data(this), target); - } - - // .google.protobuf.Timestamp reported_at = 21; - if (this->has_reported_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 21, HasBitSetters::reported_at(this), target); - } - - // bool is_array = 22; - if (this->is_array() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(22, this->is_array(), 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.event.NodeExecutionEvent) - return target; -} - -size_t NodeExecutionEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.NodeExecutionEvent) - 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 producer_id = 2; - if (this->producer_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->producer_id()); - } - - // string retry_group = 11; - if (this->retry_group().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->retry_group()); - } - - // string spec_node_id = 12; - if (this->spec_node_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->spec_node_id()); - } - - // string node_name = 13; - if (this->node_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->node_name()); - } - - // string deck_uri = 19; - if (this->deck_uri().size() > 0) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->deck_uri()); - } - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .google.protobuf.Timestamp occurred_at = 4; - if (this->has_occurred_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *occurred_at_); - } - - // .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - if (this->has_parent_task_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *parent_task_metadata_); - } - - // .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - if (this->has_parent_node_metadata()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *parent_node_metadata_); - } - - // .google.protobuf.Timestamp reported_at = 21; - if (this->has_reported_at()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reported_at_); - } - - // .flyteidl.core.NodeExecution.Phase phase = 3; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - // int32 event_version = 16; - if (this->event_version() != 0) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->event_version()); - } - - // bool is_parent = 17; - if (this->is_parent() != 0) { - total_size += 2 + 1; - } - - // bool is_dynamic = 18; - if (this->is_dynamic() != 0) { - total_size += 2 + 1; - } - - // bool is_array = 22; - if (this->is_array() != 0) { - total_size += 2 + 1; - } - - switch (input_value_case()) { - // string input_uri = 5; - case kInputUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->input_uri()); - break; - } - // .flyteidl.core.LiteralMap input_data = 20; - case kInputData: { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *input_value_.input_data_); - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - switch (output_result_case()) { - // string output_uri = 6; - case kOutputUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_uri()); - break; - } - // .flyteidl.core.ExecutionError error = 7; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.error_); - break; - } - // .flyteidl.core.LiteralMap output_data = 15; - case kOutputData: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.output_data_); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - switch (target_metadata_case()) { - // .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - case kWorkflowNodeMetadata: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_metadata_.workflow_node_metadata_); - break; - } - // .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - case kTaskNodeMetadata: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *target_metadata_.task_node_metadata_); - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void NodeExecutionEvent::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.NodeExecutionEvent) - GOOGLE_DCHECK_NE(&from, this); - const NodeExecutionEvent* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.NodeExecutionEvent) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.NodeExecutionEvent) - MergeFrom(*source); - } -} - -void NodeExecutionEvent::MergeFrom(const NodeExecutionEvent& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.NodeExecutionEvent) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.producer_id().size() > 0) { - - producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_); - } - if (from.retry_group().size() > 0) { - - retry_group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.retry_group_); - } - if (from.spec_node_id().size() > 0) { - - spec_node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.spec_node_id_); - } - if (from.node_name().size() > 0) { - - node_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_name_); - } - if (from.deck_uri().size() > 0) { - - deck_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_uri_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.id()); - } - if (from.has_occurred_at()) { - mutable_occurred_at()->::google::protobuf::Timestamp::MergeFrom(from.occurred_at()); - } - if (from.has_parent_task_metadata()) { - mutable_parent_task_metadata()->::flyteidl::event::ParentTaskExecutionMetadata::MergeFrom(from.parent_task_metadata()); - } - if (from.has_parent_node_metadata()) { - mutable_parent_node_metadata()->::flyteidl::event::ParentNodeExecutionMetadata::MergeFrom(from.parent_node_metadata()); - } - if (from.has_reported_at()) { - mutable_reported_at()->::google::protobuf::Timestamp::MergeFrom(from.reported_at()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } - if (from.event_version() != 0) { - set_event_version(from.event_version()); - } - if (from.is_parent() != 0) { - set_is_parent(from.is_parent()); - } - if (from.is_dynamic() != 0) { - set_is_dynamic(from.is_dynamic()); - } - if (from.is_array() != 0) { - set_is_array(from.is_array()); - } - switch (from.input_value_case()) { - case kInputUri: { - set_input_uri(from.input_uri()); - break; - } - case kInputData: { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - switch (from.target_metadata_case()) { - case kWorkflowNodeMetadata: { - mutable_workflow_node_metadata()->::flyteidl::event::WorkflowNodeMetadata::MergeFrom(from.workflow_node_metadata()); - break; - } - case kTaskNodeMetadata: { - mutable_task_node_metadata()->::flyteidl::event::TaskNodeMetadata::MergeFrom(from.task_node_metadata()); - break; - } - case TARGET_METADATA_NOT_SET: { - break; - } - } -} - -void NodeExecutionEvent::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.NodeExecutionEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void NodeExecutionEvent::CopyFrom(const NodeExecutionEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.NodeExecutionEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NodeExecutionEvent::IsInitialized() const { - return true; -} - -void NodeExecutionEvent::Swap(NodeExecutionEvent* other) { - if (other == this) return; - InternalSwap(other); -} -void NodeExecutionEvent::InternalSwap(NodeExecutionEvent* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - producer_id_.Swap(&other->producer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - retry_group_.Swap(&other->retry_group_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - spec_node_id_.Swap(&other->spec_node_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - node_name_.Swap(&other->node_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - deck_uri_.Swap(&other->deck_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(occurred_at_, other->occurred_at_); - swap(parent_task_metadata_, other->parent_task_metadata_); - swap(parent_node_metadata_, other->parent_node_metadata_); - swap(reported_at_, other->reported_at_); - swap(phase_, other->phase_); - swap(event_version_, other->event_version_); - swap(is_parent_, other->is_parent_); - swap(is_dynamic_, other->is_dynamic_); - swap(is_array_, other->is_array_); - swap(input_value_, other->input_value_); - swap(output_result_, other->output_result_); - swap(target_metadata_, other->target_metadata_); - swap(_oneof_case_[0], other->_oneof_case_[0]); - swap(_oneof_case_[1], other->_oneof_case_[1]); - swap(_oneof_case_[2], other->_oneof_case_[2]); -} - -::google::protobuf::Metadata NodeExecutionEvent::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void WorkflowNodeMetadata::InitAsDefaultInstance() { - ::flyteidl::event::_WorkflowNodeMetadata_default_instance_._instance.get_mutable()->execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class WorkflowNodeMetadata::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id(const WorkflowNodeMetadata* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -WorkflowNodeMetadata::HasBitSetters::execution_id(const WorkflowNodeMetadata* msg) { - return *msg->execution_id_; -} -void WorkflowNodeMetadata::clear_execution_id() { - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkflowNodeMetadata::kExecutionIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkflowNodeMetadata::WorkflowNodeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.WorkflowNodeMetadata) -} -WorkflowNodeMetadata::WorkflowNodeMetadata(const WorkflowNodeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_execution_id()) { - execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.execution_id_); - } else { - execution_id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.WorkflowNodeMetadata) -} - -void WorkflowNodeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - execution_id_ = nullptr; -} - -WorkflowNodeMetadata::~WorkflowNodeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.event.WorkflowNodeMetadata) - SharedDtor(); -} - -void WorkflowNodeMetadata::SharedDtor() { - if (this != internal_default_instance()) delete execution_id_; -} - -void WorkflowNodeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkflowNodeMetadata& WorkflowNodeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void WorkflowNodeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.WorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { - delete execution_id_; - } - execution_id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkflowNodeMetadata::_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 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_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 WorkflowNodeMetadata::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.event.WorkflowNodeMetadata) - 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 execution_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.event.WorkflowNodeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.WorkflowNodeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkflowNodeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.WorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.event.WorkflowNodeMetadata) -} - -::google::protobuf::uint8* WorkflowNodeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.WorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - if (this->has_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.event.WorkflowNodeMetadata) - return target; -} - -size_t WorkflowNodeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.WorkflowNodeMetadata) - 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 execution_id = 1; - if (this->has_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *execution_id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkflowNodeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.WorkflowNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const WorkflowNodeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.WorkflowNodeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.WorkflowNodeMetadata) - MergeFrom(*source); - } -} - -void WorkflowNodeMetadata::MergeFrom(const WorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.WorkflowNodeMetadata) - 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_execution_id()) { - mutable_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution_id()); - } -} - -void WorkflowNodeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.WorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkflowNodeMetadata::CopyFrom(const WorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.WorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkflowNodeMetadata::IsInitialized() const { - return true; -} - -void WorkflowNodeMetadata::Swap(WorkflowNodeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkflowNodeMetadata::InternalSwap(WorkflowNodeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(execution_id_, other->execution_id_); -} - -::google::protobuf::Metadata WorkflowNodeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskNodeMetadata::InitAsDefaultInstance() { - ::flyteidl::event::_TaskNodeMetadata_default_instance_._instance.get_mutable()->catalog_key_ = const_cast< ::flyteidl::core::CatalogMetadata*>( - ::flyteidl::core::CatalogMetadata::internal_default_instance()); - ::flyteidl::event::_TaskNodeMetadata_default_instance_._instance.get_mutable()->dynamic_workflow_ = const_cast< ::flyteidl::event::DynamicWorkflowNodeMetadata*>( - ::flyteidl::event::DynamicWorkflowNodeMetadata::internal_default_instance()); -} -class TaskNodeMetadata::HasBitSetters { - public: - static const ::flyteidl::core::CatalogMetadata& catalog_key(const TaskNodeMetadata* msg); - static const ::flyteidl::event::DynamicWorkflowNodeMetadata& dynamic_workflow(const TaskNodeMetadata* msg); -}; - -const ::flyteidl::core::CatalogMetadata& -TaskNodeMetadata::HasBitSetters::catalog_key(const TaskNodeMetadata* msg) { - return *msg->catalog_key_; -} -const ::flyteidl::event::DynamicWorkflowNodeMetadata& -TaskNodeMetadata::HasBitSetters::dynamic_workflow(const TaskNodeMetadata* msg) { - return *msg->dynamic_workflow_; -} -void TaskNodeMetadata::clear_catalog_key() { - if (GetArenaNoVirtual() == nullptr && catalog_key_ != nullptr) { - delete catalog_key_; - } - catalog_key_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskNodeMetadata::kCacheStatusFieldNumber; -const int TaskNodeMetadata::kCatalogKeyFieldNumber; -const int TaskNodeMetadata::kReservationStatusFieldNumber; -const int TaskNodeMetadata::kCheckpointUriFieldNumber; -const int TaskNodeMetadata::kDynamicWorkflowFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskNodeMetadata::TaskNodeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.TaskNodeMetadata) -} -TaskNodeMetadata::TaskNodeMetadata(const TaskNodeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - checkpoint_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.checkpoint_uri().size() > 0) { - checkpoint_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.checkpoint_uri_); - } - if (from.has_catalog_key()) { - catalog_key_ = new ::flyteidl::core::CatalogMetadata(*from.catalog_key_); - } else { - catalog_key_ = nullptr; - } - if (from.has_dynamic_workflow()) { - dynamic_workflow_ = new ::flyteidl::event::DynamicWorkflowNodeMetadata(*from.dynamic_workflow_); - } else { - dynamic_workflow_ = nullptr; - } - ::memcpy(&cache_status_, &from.cache_status_, - static_cast(reinterpret_cast(&reservation_status_) - - reinterpret_cast(&cache_status_)) + sizeof(reservation_status_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.event.TaskNodeMetadata) -} - -void TaskNodeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - checkpoint_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&catalog_key_, 0, static_cast( - reinterpret_cast(&reservation_status_) - - reinterpret_cast(&catalog_key_)) + sizeof(reservation_status_)); -} - -TaskNodeMetadata::~TaskNodeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.event.TaskNodeMetadata) - SharedDtor(); -} - -void TaskNodeMetadata::SharedDtor() { - checkpoint_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete catalog_key_; - if (this != internal_default_instance()) delete dynamic_workflow_; -} - -void TaskNodeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskNodeMetadata& TaskNodeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void TaskNodeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.TaskNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - checkpoint_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && catalog_key_ != nullptr) { - delete catalog_key_; - } - catalog_key_ = nullptr; - if (GetArenaNoVirtual() == nullptr && dynamic_workflow_ != nullptr) { - delete dynamic_workflow_; - } - dynamic_workflow_ = nullptr; - ::memset(&cache_status_, 0, static_cast( - reinterpret_cast(&reservation_status_) - - reinterpret_cast(&cache_status_)) + sizeof(reservation_status_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskNodeMetadata::_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.CatalogCacheStatus cache_status = 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_cache_status(static_cast<::flyteidl::core::CatalogCacheStatus>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.CatalogMetadata catalog_key = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CatalogMetadata::_InternalParse; - object = msg->mutable_catalog_key(); - 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.CatalogReservation.Status reservation_status = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_reservation_status(static_cast<::flyteidl::core::CatalogReservation_Status>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string checkpoint_uri = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskNodeMetadata.checkpoint_uri"); - object = msg->mutable_checkpoint_uri(); - 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.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::DynamicWorkflowNodeMetadata::_InternalParse; - object = msg->mutable_dynamic_workflow(); - 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 TaskNodeMetadata::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.event.TaskNodeMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.core.CatalogCacheStatus cache_status = 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_cache_status(static_cast< ::flyteidl::core::CatalogCacheStatus >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_catalog_key())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.CatalogReservation.Status reservation_status = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_reservation_status(static_cast< ::flyteidl::core::CatalogReservation_Status >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string checkpoint_uri = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_checkpoint_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->checkpoint_uri().data(), static_cast(this->checkpoint_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskNodeMetadata.checkpoint_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dynamic_workflow())); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.event.TaskNodeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.TaskNodeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskNodeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.TaskNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - if (this->cache_status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->cache_status(), output); - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - if (this->has_catalog_key()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::catalog_key(this), output); - } - - // .flyteidl.core.CatalogReservation.Status reservation_status = 3; - if (this->reservation_status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->reservation_status(), output); - } - - // string checkpoint_uri = 4; - if (this->checkpoint_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->checkpoint_uri().data(), static_cast(this->checkpoint_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskNodeMetadata.checkpoint_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->checkpoint_uri(), output); - } - - // .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - if (this->has_dynamic_workflow()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 16, HasBitSetters::dynamic_workflow(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.TaskNodeMetadata) -} - -::google::protobuf::uint8* TaskNodeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.TaskNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - if (this->cache_status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->cache_status(), target); - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - if (this->has_catalog_key()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::catalog_key(this), target); - } - - // .flyteidl.core.CatalogReservation.Status reservation_status = 3; - if (this->reservation_status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->reservation_status(), target); - } - - // string checkpoint_uri = 4; - if (this->checkpoint_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->checkpoint_uri().data(), static_cast(this->checkpoint_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskNodeMetadata.checkpoint_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->checkpoint_uri(), target); - } - - // .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - if (this->has_dynamic_workflow()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 16, HasBitSetters::dynamic_workflow(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.event.TaskNodeMetadata) - return target; -} - -size_t TaskNodeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.TaskNodeMetadata) - 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 checkpoint_uri = 4; - if (this->checkpoint_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->checkpoint_uri()); - } - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - if (this->has_catalog_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *catalog_key_); - } - - // .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - if (this->has_dynamic_workflow()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *dynamic_workflow_); - } - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - if (this->cache_status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->cache_status()); - } - - // .flyteidl.core.CatalogReservation.Status reservation_status = 3; - if (this->reservation_status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->reservation_status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskNodeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.TaskNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const TaskNodeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.TaskNodeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.TaskNodeMetadata) - MergeFrom(*source); - } -} - -void TaskNodeMetadata::MergeFrom(const TaskNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.TaskNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.checkpoint_uri().size() > 0) { - - checkpoint_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.checkpoint_uri_); - } - if (from.has_catalog_key()) { - mutable_catalog_key()->::flyteidl::core::CatalogMetadata::MergeFrom(from.catalog_key()); - } - if (from.has_dynamic_workflow()) { - mutable_dynamic_workflow()->::flyteidl::event::DynamicWorkflowNodeMetadata::MergeFrom(from.dynamic_workflow()); - } - if (from.cache_status() != 0) { - set_cache_status(from.cache_status()); - } - if (from.reservation_status() != 0) { - set_reservation_status(from.reservation_status()); - } -} - -void TaskNodeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.TaskNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskNodeMetadata::CopyFrom(const TaskNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.TaskNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskNodeMetadata::IsInitialized() const { - return true; -} - -void TaskNodeMetadata::Swap(TaskNodeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskNodeMetadata::InternalSwap(TaskNodeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - checkpoint_uri_.Swap(&other->checkpoint_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(catalog_key_, other->catalog_key_); - swap(dynamic_workflow_, other->dynamic_workflow_); - swap(cache_status_, other->cache_status_); - swap(reservation_status_, other->reservation_status_); -} - -::google::protobuf::Metadata TaskNodeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DynamicWorkflowNodeMetadata::InitAsDefaultInstance() { - ::flyteidl::event::_DynamicWorkflowNodeMetadata_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::event::_DynamicWorkflowNodeMetadata_default_instance_._instance.get_mutable()->compiled_workflow_ = const_cast< ::flyteidl::core::CompiledWorkflowClosure*>( - ::flyteidl::core::CompiledWorkflowClosure::internal_default_instance()); -} -class DynamicWorkflowNodeMetadata::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& id(const DynamicWorkflowNodeMetadata* msg); - static const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow(const DynamicWorkflowNodeMetadata* msg); -}; - -const ::flyteidl::core::Identifier& -DynamicWorkflowNodeMetadata::HasBitSetters::id(const DynamicWorkflowNodeMetadata* msg) { - return *msg->id_; -} -const ::flyteidl::core::CompiledWorkflowClosure& -DynamicWorkflowNodeMetadata::HasBitSetters::compiled_workflow(const DynamicWorkflowNodeMetadata* msg) { - return *msg->compiled_workflow_; -} -void DynamicWorkflowNodeMetadata::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -void DynamicWorkflowNodeMetadata::clear_compiled_workflow() { - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DynamicWorkflowNodeMetadata::kIdFieldNumber; -const int DynamicWorkflowNodeMetadata::kCompiledWorkflowFieldNumber; -const int DynamicWorkflowNodeMetadata::kDynamicJobSpecUriFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.DynamicWorkflowNodeMetadata) -} -DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata(const DynamicWorkflowNodeMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.dynamic_job_spec_uri().size() > 0) { - dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); - } - if (from.has_id()) { - id_ = new ::flyteidl::core::Identifier(*from.id_); - } else { - id_ = nullptr; - } - if (from.has_compiled_workflow()) { - compiled_workflow_ = new ::flyteidl::core::CompiledWorkflowClosure(*from.compiled_workflow_); - } else { - compiled_workflow_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.DynamicWorkflowNodeMetadata) -} - -void DynamicWorkflowNodeMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&id_, 0, static_cast( - reinterpret_cast(&compiled_workflow_) - - reinterpret_cast(&id_)) + sizeof(compiled_workflow_)); -} - -DynamicWorkflowNodeMetadata::~DynamicWorkflowNodeMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.event.DynamicWorkflowNodeMetadata) - SharedDtor(); -} - -void DynamicWorkflowNodeMetadata::SharedDtor() { - dynamic_job_spec_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete id_; - if (this != internal_default_instance()) delete compiled_workflow_; -} - -void DynamicWorkflowNodeMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DynamicWorkflowNodeMetadata& DynamicWorkflowNodeMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void DynamicWorkflowNodeMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.DynamicWorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && compiled_workflow_ != nullptr) { - delete compiled_workflow_; - } - compiled_workflow_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DynamicWorkflowNodeMetadata::_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.Identifier 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::Identifier::_InternalParse; - object = msg->mutable_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.CompiledWorkflowClosure compiled_workflow = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::CompiledWorkflowClosure::_InternalParse; - object = msg->mutable_compiled_workflow(); - 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 dynamic_job_spec_uri = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); - object = msg->mutable_dynamic_job_spec_uri(); - 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 DynamicWorkflowNodeMetadata::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.event.DynamicWorkflowNodeMetadata) - 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.Identifier id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_compiled_workflow())); - } else { - goto handle_unusual; - } - break; - } - - // string dynamic_job_spec_uri = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_dynamic_job_spec_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri")); - } 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.event.DynamicWorkflowNodeMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.DynamicWorkflowNodeMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DynamicWorkflowNodeMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.DynamicWorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::id(this), output); - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - if (this->has_compiled_workflow()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::compiled_workflow(this), output); - } - - // string dynamic_job_spec_uri = 3; - if (this->dynamic_job_spec_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->dynamic_job_spec_uri(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.DynamicWorkflowNodeMetadata) -} - -::google::protobuf::uint8* DynamicWorkflowNodeMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.DynamicWorkflowNodeMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::id(this), target); - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - if (this->has_compiled_workflow()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::compiled_workflow(this), target); - } - - // string dynamic_job_spec_uri = 3; - if (this->dynamic_job_spec_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->dynamic_job_spec_uri(), 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.event.DynamicWorkflowNodeMetadata) - return target; -} - -size_t DynamicWorkflowNodeMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.DynamicWorkflowNodeMetadata) - 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 dynamic_job_spec_uri = 3; - if (this->dynamic_job_spec_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->dynamic_job_spec_uri()); - } - - // .flyteidl.core.Identifier id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - if (this->has_compiled_workflow()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *compiled_workflow_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DynamicWorkflowNodeMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.DynamicWorkflowNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - const DynamicWorkflowNodeMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.DynamicWorkflowNodeMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.DynamicWorkflowNodeMetadata) - MergeFrom(*source); - } -} - -void DynamicWorkflowNodeMetadata::MergeFrom(const DynamicWorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.DynamicWorkflowNodeMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.dynamic_job_spec_uri().size() > 0) { - - dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); - } - if (from.has_id()) { - mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); - } - if (from.has_compiled_workflow()) { - mutable_compiled_workflow()->::flyteidl::core::CompiledWorkflowClosure::MergeFrom(from.compiled_workflow()); - } -} - -void DynamicWorkflowNodeMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.DynamicWorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DynamicWorkflowNodeMetadata::CopyFrom(const DynamicWorkflowNodeMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.DynamicWorkflowNodeMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DynamicWorkflowNodeMetadata::IsInitialized() const { - return true; -} - -void DynamicWorkflowNodeMetadata::Swap(DynamicWorkflowNodeMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void DynamicWorkflowNodeMetadata::InternalSwap(DynamicWorkflowNodeMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - dynamic_job_spec_uri_.Swap(&other->dynamic_job_spec_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(id_, other->id_); - swap(compiled_workflow_, other->compiled_workflow_); -} - -::google::protobuf::Metadata DynamicWorkflowNodeMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ParentTaskExecutionMetadata::InitAsDefaultInstance() { - ::flyteidl::event::_ParentTaskExecutionMetadata_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( - ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); -} -class ParentTaskExecutionMetadata::HasBitSetters { - public: - static const ::flyteidl::core::TaskExecutionIdentifier& id(const ParentTaskExecutionMetadata* msg); -}; - -const ::flyteidl::core::TaskExecutionIdentifier& -ParentTaskExecutionMetadata::HasBitSetters::id(const ParentTaskExecutionMetadata* msg) { - return *msg->id_; -} -void ParentTaskExecutionMetadata::clear_id() { - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ParentTaskExecutionMetadata::kIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ParentTaskExecutionMetadata::ParentTaskExecutionMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.ParentTaskExecutionMetadata) -} -ParentTaskExecutionMetadata::ParentTaskExecutionMetadata(const ParentTaskExecutionMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_id()) { - id_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.id_); - } else { - id_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.ParentTaskExecutionMetadata) -} - -void ParentTaskExecutionMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - id_ = nullptr; -} - -ParentTaskExecutionMetadata::~ParentTaskExecutionMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.event.ParentTaskExecutionMetadata) - SharedDtor(); -} - -void ParentTaskExecutionMetadata::SharedDtor() { - if (this != internal_default_instance()) delete id_; -} - -void ParentTaskExecutionMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ParentTaskExecutionMetadata& ParentTaskExecutionMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ParentTaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void ParentTaskExecutionMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.ParentTaskExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { - delete id_; - } - id_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ParentTaskExecutionMetadata::_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 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_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 ParentTaskExecutionMetadata::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.event.ParentTaskExecutionMetadata) - 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 id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_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.event.ParentTaskExecutionMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.ParentTaskExecutionMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ParentTaskExecutionMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.ParentTaskExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::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.event.ParentTaskExecutionMetadata) -} - -::google::protobuf::uint8* ParentTaskExecutionMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.ParentTaskExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.TaskExecutionIdentifier id = 1; - if (this->has_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::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.event.ParentTaskExecutionMetadata) - return target; -} - -size_t ParentTaskExecutionMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.ParentTaskExecutionMetadata) - 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 id = 1; - if (this->has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *id_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ParentTaskExecutionMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.ParentTaskExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - const ParentTaskExecutionMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.ParentTaskExecutionMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.ParentTaskExecutionMetadata) - MergeFrom(*source); - } -} - -void ParentTaskExecutionMetadata::MergeFrom(const ParentTaskExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.ParentTaskExecutionMetadata) - 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_id()) { - mutable_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.id()); - } -} - -void ParentTaskExecutionMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.ParentTaskExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ParentTaskExecutionMetadata::CopyFrom(const ParentTaskExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.ParentTaskExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ParentTaskExecutionMetadata::IsInitialized() const { - return true; -} - -void ParentTaskExecutionMetadata::Swap(ParentTaskExecutionMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void ParentTaskExecutionMetadata::InternalSwap(ParentTaskExecutionMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::google::protobuf::Metadata ParentTaskExecutionMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ParentNodeExecutionMetadata::InitAsDefaultInstance() { -} -class ParentNodeExecutionMetadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ParentNodeExecutionMetadata::kNodeIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ParentNodeExecutionMetadata::ParentNodeExecutionMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.ParentNodeExecutionMetadata) -} -ParentNodeExecutionMetadata::ParentNodeExecutionMetadata(const ParentNodeExecutionMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.node_id().size() > 0) { - node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_id_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.ParentNodeExecutionMetadata) -} - -void ParentNodeExecutionMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ParentNodeExecutionMetadata::~ParentNodeExecutionMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.event.ParentNodeExecutionMetadata) - SharedDtor(); -} - -void ParentNodeExecutionMetadata::SharedDtor() { - node_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ParentNodeExecutionMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ParentNodeExecutionMetadata& ParentNodeExecutionMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ParentNodeExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void ParentNodeExecutionMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.ParentNodeExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ParentNodeExecutionMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string node_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); - ctx->extra_parse_data().SetFieldName("flyteidl.event.ParentNodeExecutionMetadata.node_id"); - object = msg->mutable_node_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; - } - 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 ParentNodeExecutionMetadata::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.event.ParentNodeExecutionMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string node_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_node_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.ParentNodeExecutionMetadata.node_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.event.ParentNodeExecutionMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.ParentNodeExecutionMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ParentNodeExecutionMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.ParentNodeExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string node_id = 1; - if (this->node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ParentNodeExecutionMetadata.node_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->node_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.ParentNodeExecutionMetadata) -} - -::google::protobuf::uint8* ParentNodeExecutionMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.ParentNodeExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string node_id = 1; - if (this->node_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->node_id().data(), static_cast(this->node_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ParentNodeExecutionMetadata.node_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->node_id(), 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.event.ParentNodeExecutionMetadata) - return target; -} - -size_t ParentNodeExecutionMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.ParentNodeExecutionMetadata) - 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 node_id = 1; - if (this->node_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->node_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ParentNodeExecutionMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.ParentNodeExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - const ParentNodeExecutionMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.ParentNodeExecutionMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.ParentNodeExecutionMetadata) - MergeFrom(*source); - } -} - -void ParentNodeExecutionMetadata::MergeFrom(const ParentNodeExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.ParentNodeExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.node_id().size() > 0) { - - node_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.node_id_); - } -} - -void ParentNodeExecutionMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.ParentNodeExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ParentNodeExecutionMetadata::CopyFrom(const ParentNodeExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.ParentNodeExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ParentNodeExecutionMetadata::IsInitialized() const { - return true; -} - -void ParentNodeExecutionMetadata::Swap(ParentNodeExecutionMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void ParentNodeExecutionMetadata::InternalSwap(ParentNodeExecutionMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - node_id_.Swap(&other->node_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ParentNodeExecutionMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void EventReason::InitAsDefaultInstance() { - ::flyteidl::event::_EventReason_default_instance_._instance.get_mutable()->occurred_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class EventReason::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& occurred_at(const EventReason* msg); -}; - -const ::google::protobuf::Timestamp& -EventReason::HasBitSetters::occurred_at(const EventReason* msg) { - return *msg->occurred_at_; -} -void EventReason::clear_occurred_at() { - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int EventReason::kReasonFieldNumber; -const int EventReason::kOccurredAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -EventReason::EventReason() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.EventReason) -} -EventReason::EventReason(const EventReason& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - reason_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.reason().size() > 0) { - reason_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_); - } - if (from.has_occurred_at()) { - occurred_at_ = new ::google::protobuf::Timestamp(*from.occurred_at_); - } else { - occurred_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.EventReason) -} - -void EventReason::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_EventReason_flyteidl_2fevent_2fevent_2eproto.base); - reason_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - occurred_at_ = nullptr; -} - -EventReason::~EventReason() { - // @@protoc_insertion_point(destructor:flyteidl.event.EventReason) - SharedDtor(); -} - -void EventReason::SharedDtor() { - reason_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete occurred_at_; -} - -void EventReason::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const EventReason& EventReason::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_EventReason_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void EventReason::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.EventReason) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* EventReason::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string reason = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.EventReason.reason"); - object = msg->mutable_reason(); - 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; - } - // .google.protobuf.Timestamp occurred_at = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_occurred_at(); - 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 EventReason::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.event.EventReason) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string reason = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_reason())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.EventReason.reason")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp occurred_at = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_occurred_at())); - } 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.event.EventReason) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.EventReason) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void EventReason::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.EventReason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string reason = 1; - if (this->reason().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.EventReason.reason"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->reason(), output); - } - - // .google.protobuf.Timestamp occurred_at = 2; - if (this->has_occurred_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::occurred_at(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.EventReason) -} - -::google::protobuf::uint8* EventReason::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.EventReason) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string reason = 1; - if (this->reason().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.EventReason.reason"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->reason(), target); - } - - // .google.protobuf.Timestamp occurred_at = 2; - if (this->has_occurred_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::occurred_at(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.event.EventReason) - return target; -} - -size_t EventReason::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.EventReason) - 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 reason = 1; - if (this->reason().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->reason()); - } - - // .google.protobuf.Timestamp occurred_at = 2; - if (this->has_occurred_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *occurred_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void EventReason::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.EventReason) - GOOGLE_DCHECK_NE(&from, this); - const EventReason* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.EventReason) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.EventReason) - MergeFrom(*source); - } -} - -void EventReason::MergeFrom(const EventReason& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.EventReason) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.reason().size() > 0) { - - reason_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_); - } - if (from.has_occurred_at()) { - mutable_occurred_at()->::google::protobuf::Timestamp::MergeFrom(from.occurred_at()); - } -} - -void EventReason::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.EventReason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void EventReason::CopyFrom(const EventReason& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.EventReason) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool EventReason::IsInitialized() const { - return true; -} - -void EventReason::Swap(EventReason* other) { - if (other == this) return; - InternalSwap(other); -} -void EventReason::InternalSwap(EventReason* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - reason_.Swap(&other->reason_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(occurred_at_, other->occurred_at_); -} - -::google::protobuf::Metadata EventReason::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionEvent::InitAsDefaultInstance() { - ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->task_id_ = const_cast< ::flyteidl::core::Identifier*>( - ::flyteidl::core::Identifier::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->parent_node_execution_id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->occurred_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_.input_uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_.input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_.output_uri_.UnsafeSetDefault( - &::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_.error_ = const_cast< ::flyteidl::core::ExecutionError*>( - ::flyteidl::core::ExecutionError::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_.output_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->custom_info_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::event::TaskExecutionMetadata*>( - ::flyteidl::event::TaskExecutionMetadata::internal_default_instance()); - ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->reported_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class TaskExecutionEvent::HasBitSetters { - public: - static const ::flyteidl::core::Identifier& task_id(const TaskExecutionEvent* msg); - static const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution_id(const TaskExecutionEvent* msg); - static const ::google::protobuf::Timestamp& occurred_at(const TaskExecutionEvent* msg); - static const ::flyteidl::core::LiteralMap& input_data(const TaskExecutionEvent* msg); - static const ::flyteidl::core::ExecutionError& error(const TaskExecutionEvent* msg); - static const ::flyteidl::core::LiteralMap& output_data(const TaskExecutionEvent* msg); - static const ::google::protobuf::Struct& custom_info(const TaskExecutionEvent* msg); - static const ::flyteidl::event::TaskExecutionMetadata& metadata(const TaskExecutionEvent* msg); - static const ::google::protobuf::Timestamp& reported_at(const TaskExecutionEvent* msg); -}; - -const ::flyteidl::core::Identifier& -TaskExecutionEvent::HasBitSetters::task_id(const TaskExecutionEvent* msg) { - return *msg->task_id_; -} -const ::flyteidl::core::NodeExecutionIdentifier& -TaskExecutionEvent::HasBitSetters::parent_node_execution_id(const TaskExecutionEvent* msg) { - return *msg->parent_node_execution_id_; -} -const ::google::protobuf::Timestamp& -TaskExecutionEvent::HasBitSetters::occurred_at(const TaskExecutionEvent* msg) { - return *msg->occurred_at_; -} -const ::flyteidl::core::LiteralMap& -TaskExecutionEvent::HasBitSetters::input_data(const TaskExecutionEvent* msg) { - return *msg->input_value_.input_data_; -} -const ::flyteidl::core::ExecutionError& -TaskExecutionEvent::HasBitSetters::error(const TaskExecutionEvent* msg) { - return *msg->output_result_.error_; -} -const ::flyteidl::core::LiteralMap& -TaskExecutionEvent::HasBitSetters::output_data(const TaskExecutionEvent* msg) { - return *msg->output_result_.output_data_; -} -const ::google::protobuf::Struct& -TaskExecutionEvent::HasBitSetters::custom_info(const TaskExecutionEvent* msg) { - return *msg->custom_info_; -} -const ::flyteidl::event::TaskExecutionMetadata& -TaskExecutionEvent::HasBitSetters::metadata(const TaskExecutionEvent* msg) { - return *msg->metadata_; -} -const ::google::protobuf::Timestamp& -TaskExecutionEvent::HasBitSetters::reported_at(const TaskExecutionEvent* msg) { - return *msg->reported_at_; -} -void TaskExecutionEvent::clear_task_id() { - if (GetArenaNoVirtual() == nullptr && task_id_ != nullptr) { - delete task_id_; - } - task_id_ = nullptr; -} -void TaskExecutionEvent::clear_parent_node_execution_id() { - if (GetArenaNoVirtual() == nullptr && parent_node_execution_id_ != nullptr) { - delete parent_node_execution_id_; - } - parent_node_execution_id_ = nullptr; -} -void TaskExecutionEvent::clear_logs() { - logs_.Clear(); -} -void TaskExecutionEvent::clear_occurred_at() { - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; -} -void TaskExecutionEvent::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_input_value(); - if (input_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - input_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, input_data, submessage_arena); - } - set_has_input_data(); - input_value_.input_data_ = input_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.input_data) -} -void TaskExecutionEvent::clear_input_data() { - if (has_input_data()) { - delete input_value_.input_data_; - clear_has_input_value(); - } -} -void TaskExecutionEvent::set_allocated_error(::flyteidl::core::ExecutionError* error) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (error) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - error = ::google::protobuf::internal::GetOwnedMessage( - message_arena, error, submessage_arena); - } - set_has_error(); - output_result_.error_ = error; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.error) -} -void TaskExecutionEvent::clear_error() { - if (has_error()) { - delete output_result_.error_; - clear_has_output_result(); - } -} -void TaskExecutionEvent::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_output_result(); - if (output_data) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - output_data = ::google::protobuf::internal::GetOwnedMessage( - message_arena, output_data, submessage_arena); - } - set_has_output_data(); - output_result_.output_data_ = output_data; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.output_data) -} -void TaskExecutionEvent::clear_output_data() { - if (has_output_data()) { - delete output_result_.output_data_; - clear_has_output_result(); - } -} -void TaskExecutionEvent::clear_custom_info() { - if (GetArenaNoVirtual() == nullptr && custom_info_ != nullptr) { - delete custom_info_; - } - custom_info_ = nullptr; -} -void TaskExecutionEvent::clear_reported_at() { - if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { - delete reported_at_; - } - reported_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionEvent::kTaskIdFieldNumber; -const int TaskExecutionEvent::kParentNodeExecutionIdFieldNumber; -const int TaskExecutionEvent::kRetryAttemptFieldNumber; -const int TaskExecutionEvent::kPhaseFieldNumber; -const int TaskExecutionEvent::kProducerIdFieldNumber; -const int TaskExecutionEvent::kLogsFieldNumber; -const int TaskExecutionEvent::kOccurredAtFieldNumber; -const int TaskExecutionEvent::kInputUriFieldNumber; -const int TaskExecutionEvent::kInputDataFieldNumber; -const int TaskExecutionEvent::kOutputUriFieldNumber; -const int TaskExecutionEvent::kErrorFieldNumber; -const int TaskExecutionEvent::kOutputDataFieldNumber; -const int TaskExecutionEvent::kCustomInfoFieldNumber; -const int TaskExecutionEvent::kPhaseVersionFieldNumber; -const int TaskExecutionEvent::kReasonFieldNumber; -const int TaskExecutionEvent::kReasonsFieldNumber; -const int TaskExecutionEvent::kTaskTypeFieldNumber; -const int TaskExecutionEvent::kMetadataFieldNumber; -const int TaskExecutionEvent::kEventVersionFieldNumber; -const int TaskExecutionEvent::kReportedAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionEvent::TaskExecutionEvent() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.TaskExecutionEvent) -} -TaskExecutionEvent::TaskExecutionEvent(const TaskExecutionEvent& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - logs_(from.logs_), - reasons_(from.reasons_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.producer_id().size() > 0) { - producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_); - } - reason_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.reason().size() > 0) { - reason_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_); - } - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.has_task_id()) { - task_id_ = new ::flyteidl::core::Identifier(*from.task_id_); - } else { - task_id_ = nullptr; - } - if (from.has_parent_node_execution_id()) { - parent_node_execution_id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.parent_node_execution_id_); - } else { - parent_node_execution_id_ = nullptr; - } - if (from.has_occurred_at()) { - occurred_at_ = new ::google::protobuf::Timestamp(*from.occurred_at_); - } else { - occurred_at_ = nullptr; - } - if (from.has_custom_info()) { - custom_info_ = new ::google::protobuf::Struct(*from.custom_info_); - } else { - custom_info_ = nullptr; - } - if (from.has_metadata()) { - metadata_ = new ::flyteidl::event::TaskExecutionMetadata(*from.metadata_); - } else { - metadata_ = nullptr; - } - if (from.has_reported_at()) { - reported_at_ = new ::google::protobuf::Timestamp(*from.reported_at_); - } else { - reported_at_ = nullptr; - } - ::memcpy(&retry_attempt_, &from.retry_attempt_, - static_cast(reinterpret_cast(&event_version_) - - reinterpret_cast(&retry_attempt_)) + sizeof(event_version_)); - clear_has_input_value(); - switch (from.input_value_case()) { - case kInputUri: { - set_input_uri(from.input_uri()); - break; - } - case kInputData: { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - clear_has_output_result(); - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.TaskExecutionEvent) -} - -void TaskExecutionEvent::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - producer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - reason_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&task_id_, 0, static_cast( - reinterpret_cast(&event_version_) - - reinterpret_cast(&task_id_)) + sizeof(event_version_)); - clear_has_input_value(); - clear_has_output_result(); -} - -TaskExecutionEvent::~TaskExecutionEvent() { - // @@protoc_insertion_point(destructor:flyteidl.event.TaskExecutionEvent) - SharedDtor(); -} - -void TaskExecutionEvent::SharedDtor() { - producer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - reason_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete task_id_; - if (this != internal_default_instance()) delete parent_node_execution_id_; - if (this != internal_default_instance()) delete occurred_at_; - if (this != internal_default_instance()) delete custom_info_; - if (this != internal_default_instance()) delete metadata_; - if (this != internal_default_instance()) delete reported_at_; - if (has_input_value()) { - clear_input_value(); - } - if (has_output_result()) { - clear_output_result(); - } -} - -void TaskExecutionEvent::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionEvent& TaskExecutionEvent::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionEvent::clear_input_value() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.event.TaskExecutionEvent) - switch (input_value_case()) { - case kInputUri: { - input_value_.input_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kInputData: { - delete input_value_.input_data_; - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - _oneof_case_[0] = INPUT_VALUE_NOT_SET; -} - -void TaskExecutionEvent::clear_output_result() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.event.TaskExecutionEvent) - switch (output_result_case()) { - case kOutputUri: { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - break; - } - case kError: { - delete output_result_.error_; - break; - } - case kOutputData: { - delete output_result_.output_data_; - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - _oneof_case_[1] = OUTPUT_RESULT_NOT_SET; -} - - -void TaskExecutionEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.TaskExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - logs_.Clear(); - reasons_.Clear(); - producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && task_id_ != nullptr) { - delete task_id_; - } - task_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && parent_node_execution_id_ != nullptr) { - delete parent_node_execution_id_; - } - parent_node_execution_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { - delete occurred_at_; - } - occurred_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && custom_info_ != nullptr) { - delete custom_info_; - } - custom_info_ = nullptr; - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; - if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { - delete reported_at_; - } - reported_at_ = nullptr; - ::memset(&retry_attempt_, 0, static_cast( - reinterpret_cast(&event_version_) - - reinterpret_cast(&retry_attempt_)) + sizeof(event_version_)); - clear_input_value(); - clear_output_result(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionEvent::_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.Identifier task_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::Identifier::_InternalParse; - object = msg->mutable_task_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.NodeExecutionIdentifier parent_node_execution_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); - parser_till_end = ::flyteidl::core::NodeExecutionIdentifier::_InternalParse; - object = msg->mutable_parent_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; - } - // uint32 retry_attempt = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_retry_attempt(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.TaskExecution.Phase phase = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::TaskExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string producer_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); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskExecutionEvent.producer_id"); - object = msg->mutable_producer_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; - } - // repeated .flyteidl.core.TaskLog logs = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskLog::_InternalParse; - object = msg->add_logs(); - 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) == 50 && (ptr += 1)); - break; - } - // .google.protobuf.Timestamp occurred_at = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_occurred_at(); - 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 input_uri = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskExecutionEvent.input_uri"); - object = msg->mutable_input_uri(); - 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 output_uri = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskExecutionEvent.output_uri"); - object = msg->mutable_output_uri(); - 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.ExecutionError error = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::ExecutionError::_InternalParse; - object = msg->mutable_error(); - 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; - } - // .google.protobuf.Struct custom_info = 11; - case 11: { - if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_custom_info(); - 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; - } - // uint32 phase_version = 12; - case 12: { - if (static_cast<::google::protobuf::uint8>(tag) != 96) goto handle_unusual; - msg->set_phase_version(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string reason = 13 [deprecated = true]; - case 13: { - if (static_cast<::google::protobuf::uint8>(tag) != 106) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskExecutionEvent.reason"); - object = msg->mutable_reason(); - 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 task_type = 14; - case 14: { - if (static_cast<::google::protobuf::uint8>(tag) != 114) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskExecutionEvent.task_type"); - object = msg->mutable_task_type(); - 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.event.TaskExecutionMetadata metadata = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 130) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::TaskExecutionMetadata::_InternalParse; - object = msg->mutable_metadata(); - 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.LiteralMap output_data = 17; - case 17: { - if (static_cast<::google::protobuf::uint8>(tag) != 138) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_output_data(); - 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; - } - // int32 event_version = 18; - case 18: { - if (static_cast<::google::protobuf::uint8>(tag) != 144) goto handle_unusual; - msg->set_event_version(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.LiteralMap input_data = 19; - case 19: { - if (static_cast<::google::protobuf::uint8>(tag) != 154) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_input_data(); - 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; - } - // .google.protobuf.Timestamp reported_at = 20; - case 20: { - if (static_cast<::google::protobuf::uint8>(tag) != 162) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_reported_at(); - 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; - } - // repeated .flyteidl.event.EventReason reasons = 21; - case 21: { - if (static_cast<::google::protobuf::uint8>(tag) != 170) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::EventReason::_InternalParse; - object = msg->add_reasons(); - 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) & 65535) == 426 && (ptr += 2)); - 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 TaskExecutionEvent::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.event.TaskExecutionEvent) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.core.Identifier task_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_task_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_parent_node_execution_id())); - } else { - goto handle_unusual; - } - break; - } - - // uint32 retry_attempt = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &retry_attempt_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::TaskExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string producer_id = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_producer_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskExecutionEvent.producer_id")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.TaskLog logs = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_logs())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp occurred_at = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_occurred_at())); - } else { - goto handle_unusual; - } - break; - } - - // string input_uri = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_input_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskExecutionEvent.input_uri")); - } else { - goto handle_unusual; - } - break; - } - - // string output_uri = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskExecutionEvent.output_uri")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.ExecutionError error = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_error())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct custom_info = 11; - case 11: { - if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_custom_info())); - } else { - goto handle_unusual; - } - break; - } - - // uint32 phase_version = 12; - case 12: { - if (static_cast< ::google::protobuf::uint8>(tag) == (96 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &phase_version_))); - } else { - goto handle_unusual; - } - break; - } - - // string reason = 13 [deprecated = true]; - case 13: { - if (static_cast< ::google::protobuf::uint8>(tag) == (106 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_reason())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskExecutionEvent.reason")); - } else { - goto handle_unusual; - } - break; - } - - // string task_type = 14; - case 14: { - if (static_cast< ::google::protobuf::uint8>(tag) == (114 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskExecutionEvent.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (130 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_metadata())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap output_data = 17; - case 17: { - if (static_cast< ::google::protobuf::uint8>(tag) == (138 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_output_data())); - } else { - goto handle_unusual; - } - break; - } - - // int32 event_version = 18; - case 18: { - if (static_cast< ::google::protobuf::uint8>(tag) == (144 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &event_version_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap input_data = 19; - case 19: { - if (static_cast< ::google::protobuf::uint8>(tag) == (154 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_input_data())); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp reported_at = 20; - case 20: { - if (static_cast< ::google::protobuf::uint8>(tag) == (162 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reported_at())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.event.EventReason reasons = 21; - case 21: { - if (static_cast< ::google::protobuf::uint8>(tag) == (170 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_reasons())); - } 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.event.TaskExecutionEvent) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.TaskExecutionEvent) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionEvent::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.TaskExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier task_id = 1; - if (this->has_task_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::task_id(this), output); - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - if (this->has_parent_node_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::parent_node_execution_id(this), output); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->retry_attempt(), output); - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->phase(), output); - } - - // string producer_id = 5; - if (this->producer_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.producer_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->producer_id(), output); - } - - // repeated .flyteidl.core.TaskLog logs = 6; - for (unsigned int i = 0, - n = static_cast(this->logs_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, - this->logs(static_cast(i)), - output); - } - - // .google.protobuf.Timestamp occurred_at = 7; - if (this->has_occurred_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::occurred_at(this), output); - } - - // string input_uri = 8; - if (has_input_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.input_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 8, this->input_uri(), output); - } - - // string output_uri = 9; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.output_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 9, this->output_uri(), output); - } - - // .flyteidl.core.ExecutionError error = 10; - if (has_error()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, HasBitSetters::error(this), output); - } - - // .google.protobuf.Struct custom_info = 11; - if (this->has_custom_info()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 11, HasBitSetters::custom_info(this), output); - } - - // uint32 phase_version = 12; - if (this->phase_version() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(12, this->phase_version(), output); - } - - // string reason = 13 [deprecated = true]; - if (this->reason().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.reason"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 13, this->reason(), output); - } - - // string task_type = 14; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 14, this->task_type(), output); - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - if (this->has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 16, HasBitSetters::metadata(this), output); - } - - // .flyteidl.core.LiteralMap output_data = 17; - if (has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 17, HasBitSetters::output_data(this), output); - } - - // int32 event_version = 18; - if (this->event_version() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(18, this->event_version(), output); - } - - // .flyteidl.core.LiteralMap input_data = 19; - if (has_input_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 19, HasBitSetters::input_data(this), output); - } - - // .google.protobuf.Timestamp reported_at = 20; - if (this->has_reported_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 20, HasBitSetters::reported_at(this), output); - } - - // repeated .flyteidl.event.EventReason reasons = 21; - for (unsigned int i = 0, - n = static_cast(this->reasons_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 21, - this->reasons(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.event.TaskExecutionEvent) -} - -::google::protobuf::uint8* TaskExecutionEvent::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.TaskExecutionEvent) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.Identifier task_id = 1; - if (this->has_task_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::task_id(this), target); - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - if (this->has_parent_node_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::parent_node_execution_id(this), target); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->retry_attempt(), target); - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->phase(), target); - } - - // string producer_id = 5; - if (this->producer_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->producer_id().data(), static_cast(this->producer_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.producer_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->producer_id(), target); - } - - // repeated .flyteidl.core.TaskLog logs = 6; - for (unsigned int i = 0, - n = static_cast(this->logs_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, this->logs(static_cast(i)), target); - } - - // .google.protobuf.Timestamp occurred_at = 7; - if (this->has_occurred_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::occurred_at(this), target); - } - - // string input_uri = 8; - if (has_input_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->input_uri().data(), static_cast(this->input_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.input_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 8, this->input_uri(), target); - } - - // string output_uri = 9; - if (has_output_uri()) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_uri().data(), static_cast(this->output_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.output_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 9, this->output_uri(), target); - } - - // .flyteidl.core.ExecutionError error = 10; - if (has_error()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 10, HasBitSetters::error(this), target); - } - - // .google.protobuf.Struct custom_info = 11; - if (this->has_custom_info()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 11, HasBitSetters::custom_info(this), target); - } - - // uint32 phase_version = 12; - if (this->phase_version() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(12, this->phase_version(), target); - } - - // string reason = 13 [deprecated = true]; - if (this->reason().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->reason().data(), static_cast(this->reason().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.reason"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 13, this->reason(), target); - } - - // string task_type = 14; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionEvent.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 14, this->task_type(), target); - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - if (this->has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 16, HasBitSetters::metadata(this), target); - } - - // .flyteidl.core.LiteralMap output_data = 17; - if (has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 17, HasBitSetters::output_data(this), target); - } - - // int32 event_version = 18; - if (this->event_version() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(18, this->event_version(), target); - } - - // .flyteidl.core.LiteralMap input_data = 19; - if (has_input_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 19, HasBitSetters::input_data(this), target); - } - - // .google.protobuf.Timestamp reported_at = 20; - if (this->has_reported_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 20, HasBitSetters::reported_at(this), target); - } - - // repeated .flyteidl.event.EventReason reasons = 21; - for (unsigned int i = 0, - n = static_cast(this->reasons_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 21, this->reasons(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.event.TaskExecutionEvent) - return target; -} - -size_t TaskExecutionEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.TaskExecutionEvent) - 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.TaskLog logs = 6; - { - unsigned int count = static_cast(this->logs_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->logs(static_cast(i))); - } - } - - // repeated .flyteidl.event.EventReason reasons = 21; - { - unsigned int count = static_cast(this->reasons_size()); - total_size += 2UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->reasons(static_cast(i))); - } - } - - // string producer_id = 5; - if (this->producer_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->producer_id()); - } - - // string reason = 13 [deprecated = true]; - if (this->reason().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->reason()); - } - - // string task_type = 14; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // .flyteidl.core.Identifier task_id = 1; - if (this->has_task_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *task_id_); - } - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - if (this->has_parent_node_execution_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *parent_node_execution_id_); - } - - // .google.protobuf.Timestamp occurred_at = 7; - if (this->has_occurred_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *occurred_at_); - } - - // .google.protobuf.Struct custom_info = 11; - if (this->has_custom_info()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *custom_info_); - } - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - if (this->has_metadata()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *metadata_); - } - - // .google.protobuf.Timestamp reported_at = 20; - if (this->has_reported_at()) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reported_at_); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->retry_attempt()); - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - // uint32 phase_version = 12; - if (this->phase_version() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->phase_version()); - } - - // int32 event_version = 18; - if (this->event_version() != 0) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->event_version()); - } - - switch (input_value_case()) { - // string input_uri = 8; - case kInputUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->input_uri()); - break; - } - // .flyteidl.core.LiteralMap input_data = 19; - case kInputData: { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *input_value_.input_data_); - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - switch (output_result_case()) { - // string output_uri = 9; - case kOutputUri: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_uri()); - break; - } - // .flyteidl.core.ExecutionError error = 10; - case kError: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.error_); - break; - } - // .flyteidl.core.LiteralMap output_data = 17; - case kOutputData: { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_result_.output_data_); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionEvent::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.TaskExecutionEvent) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionEvent* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.TaskExecutionEvent) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.TaskExecutionEvent) - MergeFrom(*source); - } -} - -void TaskExecutionEvent::MergeFrom(const TaskExecutionEvent& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.TaskExecutionEvent) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - logs_.MergeFrom(from.logs_); - reasons_.MergeFrom(from.reasons_); - if (from.producer_id().size() > 0) { - - producer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.producer_id_); - } - if (from.reason().size() > 0) { - - reason_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_); - } - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.has_task_id()) { - mutable_task_id()->::flyteidl::core::Identifier::MergeFrom(from.task_id()); - } - if (from.has_parent_node_execution_id()) { - mutable_parent_node_execution_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.parent_node_execution_id()); - } - if (from.has_occurred_at()) { - mutable_occurred_at()->::google::protobuf::Timestamp::MergeFrom(from.occurred_at()); - } - if (from.has_custom_info()) { - mutable_custom_info()->::google::protobuf::Struct::MergeFrom(from.custom_info()); - } - if (from.has_metadata()) { - mutable_metadata()->::flyteidl::event::TaskExecutionMetadata::MergeFrom(from.metadata()); - } - if (from.has_reported_at()) { - mutable_reported_at()->::google::protobuf::Timestamp::MergeFrom(from.reported_at()); - } - if (from.retry_attempt() != 0) { - set_retry_attempt(from.retry_attempt()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } - if (from.phase_version() != 0) { - set_phase_version(from.phase_version()); - } - if (from.event_version() != 0) { - set_event_version(from.event_version()); - } - switch (from.input_value_case()) { - case kInputUri: { - set_input_uri(from.input_uri()); - break; - } - case kInputData: { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - break; - } - case INPUT_VALUE_NOT_SET: { - break; - } - } - switch (from.output_result_case()) { - case kOutputUri: { - set_output_uri(from.output_uri()); - break; - } - case kError: { - mutable_error()->::flyteidl::core::ExecutionError::MergeFrom(from.error()); - break; - } - case kOutputData: { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - break; - } - case OUTPUT_RESULT_NOT_SET: { - break; - } - } -} - -void TaskExecutionEvent::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.TaskExecutionEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionEvent::CopyFrom(const TaskExecutionEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.TaskExecutionEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionEvent::IsInitialized() const { - return true; -} - -void TaskExecutionEvent::Swap(TaskExecutionEvent* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionEvent::InternalSwap(TaskExecutionEvent* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&logs_)->InternalSwap(CastToBase(&other->logs_)); - CastToBase(&reasons_)->InternalSwap(CastToBase(&other->reasons_)); - producer_id_.Swap(&other->producer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - reason_.Swap(&other->reason_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(task_id_, other->task_id_); - swap(parent_node_execution_id_, other->parent_node_execution_id_); - swap(occurred_at_, other->occurred_at_); - swap(custom_info_, other->custom_info_); - swap(metadata_, other->metadata_); - swap(reported_at_, other->reported_at_); - swap(retry_attempt_, other->retry_attempt_); - swap(phase_, other->phase_); - swap(phase_version_, other->phase_version_); - swap(event_version_, other->event_version_); - swap(input_value_, other->input_value_); - swap(output_result_, other->output_result_); - swap(_oneof_case_[0], other->_oneof_case_[0]); - swap(_oneof_case_[1], other->_oneof_case_[1]); -} - -::google::protobuf::Metadata TaskExecutionEvent::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ExternalResourceInfo::InitAsDefaultInstance() { -} -class ExternalResourceInfo::HasBitSetters { - public: -}; - -void ExternalResourceInfo::clear_logs() { - logs_.Clear(); -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ExternalResourceInfo::kExternalIdFieldNumber; -const int ExternalResourceInfo::kIndexFieldNumber; -const int ExternalResourceInfo::kRetryAttemptFieldNumber; -const int ExternalResourceInfo::kPhaseFieldNumber; -const int ExternalResourceInfo::kCacheStatusFieldNumber; -const int ExternalResourceInfo::kLogsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ExternalResourceInfo::ExternalResourceInfo() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.ExternalResourceInfo) -} -ExternalResourceInfo::ExternalResourceInfo(const ExternalResourceInfo& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - logs_(from.logs_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - external_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.external_id().size() > 0) { - external_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_id_); - } - ::memcpy(&index_, &from.index_, - static_cast(reinterpret_cast(&cache_status_) - - reinterpret_cast(&index_)) + sizeof(cache_status_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.event.ExternalResourceInfo) -} - -void ExternalResourceInfo::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto.base); - external_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&index_, 0, static_cast( - reinterpret_cast(&cache_status_) - - reinterpret_cast(&index_)) + sizeof(cache_status_)); -} - -ExternalResourceInfo::~ExternalResourceInfo() { - // @@protoc_insertion_point(destructor:flyteidl.event.ExternalResourceInfo) - SharedDtor(); -} - -void ExternalResourceInfo::SharedDtor() { - external_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ExternalResourceInfo::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ExternalResourceInfo& ExternalResourceInfo::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ExternalResourceInfo_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void ExternalResourceInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.ExternalResourceInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - logs_.Clear(); - external_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&index_, 0, static_cast( - reinterpret_cast(&cache_status_) - - reinterpret_cast(&index_)) + sizeof(cache_status_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ExternalResourceInfo::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string external_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); - ctx->extra_parse_data().SetFieldName("flyteidl.event.ExternalResourceInfo.external_id"); - object = msg->mutable_external_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; - } - // uint32 index = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_index(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // uint32 retry_attempt = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_retry_attempt(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.TaskExecution.Phase phase = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::TaskExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.CatalogCacheStatus cache_status = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_cache_status(static_cast<::flyteidl::core::CatalogCacheStatus>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // repeated .flyteidl.core.TaskLog logs = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskLog::_InternalParse; - object = msg->add_logs(); - 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) == 50 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ExternalResourceInfo::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.event.ExternalResourceInfo) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string external_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_external_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->external_id().data(), static_cast(this->external_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.ExternalResourceInfo.external_id")); - } else { - goto handle_unusual; - } - break; - } - - // uint32 index = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &index_))); - } else { - goto handle_unusual; - } - break; - } - - // uint32 retry_attempt = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &retry_attempt_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::TaskExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.CatalogCacheStatus cache_status = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_cache_status(static_cast< ::flyteidl::core::CatalogCacheStatus >(value)); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.TaskLog logs = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_logs())); - } 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.event.ExternalResourceInfo) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.ExternalResourceInfo) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ExternalResourceInfo::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.ExternalResourceInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string external_id = 1; - if (this->external_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->external_id().data(), static_cast(this->external_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ExternalResourceInfo.external_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->external_id(), output); - } - - // uint32 index = 2; - if (this->index() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->index(), output); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->retry_attempt(), output); - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->phase(), output); - } - - // .flyteidl.core.CatalogCacheStatus cache_status = 5; - if (this->cache_status() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 5, this->cache_status(), output); - } - - // repeated .flyteidl.core.TaskLog logs = 6; - for (unsigned int i = 0, - n = static_cast(this->logs_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, - this->logs(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.event.ExternalResourceInfo) -} - -::google::protobuf::uint8* ExternalResourceInfo::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.ExternalResourceInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string external_id = 1; - if (this->external_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->external_id().data(), static_cast(this->external_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ExternalResourceInfo.external_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->external_id(), target); - } - - // uint32 index = 2; - if (this->index() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->index(), target); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->retry_attempt(), target); - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->phase(), target); - } - - // .flyteidl.core.CatalogCacheStatus cache_status = 5; - if (this->cache_status() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 5, this->cache_status(), target); - } - - // repeated .flyteidl.core.TaskLog logs = 6; - for (unsigned int i = 0, - n = static_cast(this->logs_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 6, this->logs(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.event.ExternalResourceInfo) - return target; -} - -size_t ExternalResourceInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.ExternalResourceInfo) - 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.TaskLog logs = 6; - { - unsigned int count = static_cast(this->logs_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->logs(static_cast(i))); - } - } - - // string external_id = 1; - if (this->external_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->external_id()); - } - - // uint32 index = 2; - if (this->index() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->index()); - } - - // uint32 retry_attempt = 3; - if (this->retry_attempt() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->retry_attempt()); - } - - // .flyteidl.core.TaskExecution.Phase phase = 4; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - // .flyteidl.core.CatalogCacheStatus cache_status = 5; - if (this->cache_status() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->cache_status()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ExternalResourceInfo::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.ExternalResourceInfo) - GOOGLE_DCHECK_NE(&from, this); - const ExternalResourceInfo* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.ExternalResourceInfo) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.ExternalResourceInfo) - MergeFrom(*source); - } -} - -void ExternalResourceInfo::MergeFrom(const ExternalResourceInfo& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.ExternalResourceInfo) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - logs_.MergeFrom(from.logs_); - if (from.external_id().size() > 0) { - - external_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.external_id_); - } - if (from.index() != 0) { - set_index(from.index()); - } - if (from.retry_attempt() != 0) { - set_retry_attempt(from.retry_attempt()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } - if (from.cache_status() != 0) { - set_cache_status(from.cache_status()); - } -} - -void ExternalResourceInfo::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.ExternalResourceInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ExternalResourceInfo::CopyFrom(const ExternalResourceInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.ExternalResourceInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ExternalResourceInfo::IsInitialized() const { - return true; -} - -void ExternalResourceInfo::Swap(ExternalResourceInfo* other) { - if (other == this) return; - InternalSwap(other); -} -void ExternalResourceInfo::InternalSwap(ExternalResourceInfo* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&logs_)->InternalSwap(CastToBase(&other->logs_)); - external_id_.Swap(&other->external_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(index_, other->index_); - swap(retry_attempt_, other->retry_attempt_); - swap(phase_, other->phase_); - swap(cache_status_, other->cache_status_); -} - -::google::protobuf::Metadata ExternalResourceInfo::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void ResourcePoolInfo::InitAsDefaultInstance() { -} -class ResourcePoolInfo::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ResourcePoolInfo::kAllocationTokenFieldNumber; -const int ResourcePoolInfo::kNamespaceFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ResourcePoolInfo::ResourcePoolInfo() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.ResourcePoolInfo) -} -ResourcePoolInfo::ResourcePoolInfo(const ResourcePoolInfo& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - allocation_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.allocation_token().size() > 0) { - allocation_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.allocation_token_); - } - namespace__.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.namespace_().size() > 0) { - namespace__.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace__); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.event.ResourcePoolInfo) -} - -void ResourcePoolInfo::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto.base); - allocation_token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - namespace__.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -ResourcePoolInfo::~ResourcePoolInfo() { - // @@protoc_insertion_point(destructor:flyteidl.event.ResourcePoolInfo) - SharedDtor(); -} - -void ResourcePoolInfo::SharedDtor() { - allocation_token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - namespace__.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ResourcePoolInfo::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ResourcePoolInfo& ResourcePoolInfo::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ResourcePoolInfo_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void ResourcePoolInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.ResourcePoolInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - allocation_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - namespace__.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ResourcePoolInfo::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string allocation_token = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.ResourcePoolInfo.allocation_token"); - object = msg->mutable_allocation_token(); - 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 namespace = 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.event.ResourcePoolInfo.namespace"); - object = msg->mutable_namespace_(); - 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 ResourcePoolInfo::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.event.ResourcePoolInfo) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string allocation_token = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_allocation_token())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->allocation_token().data(), static_cast(this->allocation_token().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.ResourcePoolInfo.allocation_token")); - } else { - goto handle_unusual; - } - break; - } - - // string namespace = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_namespace_())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.ResourcePoolInfo.namespace")); - } 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.event.ResourcePoolInfo) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.ResourcePoolInfo) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ResourcePoolInfo::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.ResourcePoolInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string allocation_token = 1; - if (this->allocation_token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->allocation_token().data(), static_cast(this->allocation_token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ResourcePoolInfo.allocation_token"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->allocation_token(), output); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ResourcePoolInfo.namespace"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->namespace_(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.ResourcePoolInfo) -} - -::google::protobuf::uint8* ResourcePoolInfo::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.ResourcePoolInfo) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string allocation_token = 1; - if (this->allocation_token().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->allocation_token().data(), static_cast(this->allocation_token().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ResourcePoolInfo.allocation_token"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->allocation_token(), target); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->namespace_().data(), static_cast(this->namespace_().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.ResourcePoolInfo.namespace"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->namespace_(), 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.event.ResourcePoolInfo) - return target; -} - -size_t ResourcePoolInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.ResourcePoolInfo) - 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 allocation_token = 1; - if (this->allocation_token().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->allocation_token()); - } - - // string namespace = 2; - if (this->namespace_().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->namespace_()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ResourcePoolInfo::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.ResourcePoolInfo) - GOOGLE_DCHECK_NE(&from, this); - const ResourcePoolInfo* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.ResourcePoolInfo) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.ResourcePoolInfo) - MergeFrom(*source); - } -} - -void ResourcePoolInfo::MergeFrom(const ResourcePoolInfo& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.ResourcePoolInfo) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.allocation_token().size() > 0) { - - allocation_token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.allocation_token_); - } - if (from.namespace_().size() > 0) { - - namespace__.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.namespace__); - } -} - -void ResourcePoolInfo::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.ResourcePoolInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ResourcePoolInfo::CopyFrom(const ResourcePoolInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.ResourcePoolInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ResourcePoolInfo::IsInitialized() const { - return true; -} - -void ResourcePoolInfo::Swap(ResourcePoolInfo* other) { - if (other == this) return; - InternalSwap(other); -} -void ResourcePoolInfo::InternalSwap(ResourcePoolInfo* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - allocation_token_.Swap(&other->allocation_token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - namespace__.Swap(&other->namespace__, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata ResourcePoolInfo::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskExecutionMetadata::InitAsDefaultInstance() { -} -class TaskExecutionMetadata::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskExecutionMetadata::kGeneratedNameFieldNumber; -const int TaskExecutionMetadata::kExternalResourcesFieldNumber; -const int TaskExecutionMetadata::kResourcePoolInfoFieldNumber; -const int TaskExecutionMetadata::kPluginIdentifierFieldNumber; -const int TaskExecutionMetadata::kInstanceClassFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskExecutionMetadata::TaskExecutionMetadata() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.event.TaskExecutionMetadata) -} -TaskExecutionMetadata::TaskExecutionMetadata(const TaskExecutionMetadata& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - external_resources_(from.external_resources_), - resource_pool_info_(from.resource_pool_info_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - generated_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.generated_name().size() > 0) { - generated_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.generated_name_); - } - plugin_identifier_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.plugin_identifier().size() > 0) { - plugin_identifier_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plugin_identifier_); - } - instance_class_ = from.instance_class_; - // @@protoc_insertion_point(copy_constructor:flyteidl.event.TaskExecutionMetadata) -} - -void TaskExecutionMetadata::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - generated_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - plugin_identifier_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - instance_class_ = 0; -} - -TaskExecutionMetadata::~TaskExecutionMetadata() { - // @@protoc_insertion_point(destructor:flyteidl.event.TaskExecutionMetadata) - SharedDtor(); -} - -void TaskExecutionMetadata::SharedDtor() { - generated_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - plugin_identifier_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TaskExecutionMetadata::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskExecutionMetadata& TaskExecutionMetadata::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base); - return *internal_default_instance(); -} - - -void TaskExecutionMetadata::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.event.TaskExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - external_resources_.Clear(); - resource_pool_info_.Clear(); - generated_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - plugin_identifier_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - instance_class_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskExecutionMetadata::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string generated_name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskExecutionMetadata.generated_name"); - object = msg->mutable_generated_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; - } - // repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::ExternalResourceInfo::_InternalParse; - object = msg->add_external_resources(); - 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) == 18 && (ptr += 1)); - break; - } - // repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::event::ResourcePoolInfo::_InternalParse; - object = msg->add_resource_pool_info(); - 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) == 26 && (ptr += 1)); - break; - } - // string plugin_identifier = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.event.TaskExecutionMetadata.plugin_identifier"); - object = msg->mutable_plugin_identifier(); - 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.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - case 16: { - if (static_cast<::google::protobuf::uint8>(tag) != 128) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_instance_class(static_cast<::flyteidl::event::TaskExecutionMetadata_InstanceClass>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 TaskExecutionMetadata::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.event.TaskExecutionMetadata) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string generated_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_generated_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->generated_name().data(), static_cast(this->generated_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskExecutionMetadata.generated_name")); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_external_resources())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_resource_pool_info())); - } else { - goto handle_unusual; - } - break; - } - - // string plugin_identifier = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_plugin_identifier())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->plugin_identifier().data(), static_cast(this->plugin_identifier().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.event.TaskExecutionMetadata.plugin_identifier")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - case 16: { - if (static_cast< ::google::protobuf::uint8>(tag) == (128 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_instance_class(static_cast< ::flyteidl::event::TaskExecutionMetadata_InstanceClass >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.event.TaskExecutionMetadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.event.TaskExecutionMetadata) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskExecutionMetadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.event.TaskExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string generated_name = 1; - if (this->generated_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->generated_name().data(), static_cast(this->generated_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionMetadata.generated_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->generated_name(), output); - } - - // repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - for (unsigned int i = 0, - n = static_cast(this->external_resources_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->external_resources(static_cast(i)), - output); - } - - // repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - for (unsigned int i = 0, - n = static_cast(this->resource_pool_info_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, - this->resource_pool_info(static_cast(i)), - output); - } - - // string plugin_identifier = 4; - if (this->plugin_identifier().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->plugin_identifier().data(), static_cast(this->plugin_identifier().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionMetadata.plugin_identifier"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->plugin_identifier(), output); - } - - // .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - if (this->instance_class() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 16, this->instance_class(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.event.TaskExecutionMetadata) -} - -::google::protobuf::uint8* TaskExecutionMetadata::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.event.TaskExecutionMetadata) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string generated_name = 1; - if (this->generated_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->generated_name().data(), static_cast(this->generated_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionMetadata.generated_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->generated_name(), target); - } - - // repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - for (unsigned int i = 0, - n = static_cast(this->external_resources_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->external_resources(static_cast(i)), target); - } - - // repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - for (unsigned int i = 0, - n = static_cast(this->resource_pool_info_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, this->resource_pool_info(static_cast(i)), target); - } - - // string plugin_identifier = 4; - if (this->plugin_identifier().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->plugin_identifier().data(), static_cast(this->plugin_identifier().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.TaskExecutionMetadata.plugin_identifier"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->plugin_identifier(), target); - } - - // .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - if (this->instance_class() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 16, this->instance_class(), 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.event.TaskExecutionMetadata) - return target; -} - -size_t TaskExecutionMetadata::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.event.TaskExecutionMetadata) - 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.event.ExternalResourceInfo external_resources = 2; - { - unsigned int count = static_cast(this->external_resources_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->external_resources(static_cast(i))); - } - } - - // repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - { - unsigned int count = static_cast(this->resource_pool_info_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->resource_pool_info(static_cast(i))); - } - } - - // string generated_name = 1; - if (this->generated_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->generated_name()); - } - - // string plugin_identifier = 4; - if (this->plugin_identifier().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->plugin_identifier()); - } - - // .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - if (this->instance_class() != 0) { - total_size += 2 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->instance_class()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskExecutionMetadata::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.event.TaskExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - const TaskExecutionMetadata* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.event.TaskExecutionMetadata) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.event.TaskExecutionMetadata) - MergeFrom(*source); - } -} - -void TaskExecutionMetadata::MergeFrom(const TaskExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.event.TaskExecutionMetadata) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - external_resources_.MergeFrom(from.external_resources_); - resource_pool_info_.MergeFrom(from.resource_pool_info_); - if (from.generated_name().size() > 0) { - - generated_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.generated_name_); - } - if (from.plugin_identifier().size() > 0) { - - plugin_identifier_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.plugin_identifier_); - } - if (from.instance_class() != 0) { - set_instance_class(from.instance_class()); - } -} - -void TaskExecutionMetadata::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.event.TaskExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskExecutionMetadata::CopyFrom(const TaskExecutionMetadata& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.event.TaskExecutionMetadata) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskExecutionMetadata::IsInitialized() const { - return true; -} - -void TaskExecutionMetadata::Swap(TaskExecutionMetadata* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskExecutionMetadata::InternalSwap(TaskExecutionMetadata* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&external_resources_)->InternalSwap(CastToBase(&other->external_resources_)); - CastToBase(&resource_pool_info_)->InternalSwap(CastToBase(&other->resource_pool_info_)); - generated_name_.Swap(&other->generated_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - plugin_identifier_.Swap(&other->plugin_identifier_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(instance_class_, other->instance_class_); -} - -::google::protobuf::Metadata TaskExecutionMetadata::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto); - return ::file_level_metadata_flyteidl_2fevent_2fevent_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace event -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::event::WorkflowExecutionEvent* Arena::CreateMaybeMessage< ::flyteidl::event::WorkflowExecutionEvent >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::WorkflowExecutionEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::NodeExecutionEvent* Arena::CreateMaybeMessage< ::flyteidl::event::NodeExecutionEvent >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::NodeExecutionEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::WorkflowNodeMetadata* Arena::CreateMaybeMessage< ::flyteidl::event::WorkflowNodeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::WorkflowNodeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::TaskNodeMetadata* Arena::CreateMaybeMessage< ::flyteidl::event::TaskNodeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::TaskNodeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::DynamicWorkflowNodeMetadata* Arena::CreateMaybeMessage< ::flyteidl::event::DynamicWorkflowNodeMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::DynamicWorkflowNodeMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::ParentTaskExecutionMetadata* Arena::CreateMaybeMessage< ::flyteidl::event::ParentTaskExecutionMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::ParentTaskExecutionMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::ParentNodeExecutionMetadata* Arena::CreateMaybeMessage< ::flyteidl::event::ParentNodeExecutionMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::ParentNodeExecutionMetadata >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::EventReason* Arena::CreateMaybeMessage< ::flyteidl::event::EventReason >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::EventReason >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::TaskExecutionEvent* Arena::CreateMaybeMessage< ::flyteidl::event::TaskExecutionEvent >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::TaskExecutionEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::ExternalResourceInfo* Arena::CreateMaybeMessage< ::flyteidl::event::ExternalResourceInfo >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::ExternalResourceInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::ResourcePoolInfo* Arena::CreateMaybeMessage< ::flyteidl::event::ResourcePoolInfo >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::ResourcePoolInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::event::TaskExecutionMetadata* Arena::CreateMaybeMessage< ::flyteidl::event::TaskExecutionMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::event::TaskExecutionMetadata >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.h deleted file mode 100644 index bca21d5c6d..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.h +++ /dev/null @@ -1,5621 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/event/event.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fevent_2fevent_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fevent_2fevent_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 -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/compiler.pb.h" -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/catalog.pb.h" -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fevent_2fevent_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fevent_2fevent_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[12] - 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_2fevent_2fevent_2eproto(); -namespace flyteidl { -namespace event { -class DynamicWorkflowNodeMetadata; -class DynamicWorkflowNodeMetadataDefaultTypeInternal; -extern DynamicWorkflowNodeMetadataDefaultTypeInternal _DynamicWorkflowNodeMetadata_default_instance_; -class EventReason; -class EventReasonDefaultTypeInternal; -extern EventReasonDefaultTypeInternal _EventReason_default_instance_; -class ExternalResourceInfo; -class ExternalResourceInfoDefaultTypeInternal; -extern ExternalResourceInfoDefaultTypeInternal _ExternalResourceInfo_default_instance_; -class NodeExecutionEvent; -class NodeExecutionEventDefaultTypeInternal; -extern NodeExecutionEventDefaultTypeInternal _NodeExecutionEvent_default_instance_; -class ParentNodeExecutionMetadata; -class ParentNodeExecutionMetadataDefaultTypeInternal; -extern ParentNodeExecutionMetadataDefaultTypeInternal _ParentNodeExecutionMetadata_default_instance_; -class ParentTaskExecutionMetadata; -class ParentTaskExecutionMetadataDefaultTypeInternal; -extern ParentTaskExecutionMetadataDefaultTypeInternal _ParentTaskExecutionMetadata_default_instance_; -class ResourcePoolInfo; -class ResourcePoolInfoDefaultTypeInternal; -extern ResourcePoolInfoDefaultTypeInternal _ResourcePoolInfo_default_instance_; -class TaskExecutionEvent; -class TaskExecutionEventDefaultTypeInternal; -extern TaskExecutionEventDefaultTypeInternal _TaskExecutionEvent_default_instance_; -class TaskExecutionMetadata; -class TaskExecutionMetadataDefaultTypeInternal; -extern TaskExecutionMetadataDefaultTypeInternal _TaskExecutionMetadata_default_instance_; -class TaskNodeMetadata; -class TaskNodeMetadataDefaultTypeInternal; -extern TaskNodeMetadataDefaultTypeInternal _TaskNodeMetadata_default_instance_; -class WorkflowExecutionEvent; -class WorkflowExecutionEventDefaultTypeInternal; -extern WorkflowExecutionEventDefaultTypeInternal _WorkflowExecutionEvent_default_instance_; -class WorkflowNodeMetadata; -class WorkflowNodeMetadataDefaultTypeInternal; -extern WorkflowNodeMetadataDefaultTypeInternal _WorkflowNodeMetadata_default_instance_; -} // namespace event -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::event::DynamicWorkflowNodeMetadata* Arena::CreateMaybeMessage<::flyteidl::event::DynamicWorkflowNodeMetadata>(Arena*); -template<> ::flyteidl::event::EventReason* Arena::CreateMaybeMessage<::flyteidl::event::EventReason>(Arena*); -template<> ::flyteidl::event::ExternalResourceInfo* Arena::CreateMaybeMessage<::flyteidl::event::ExternalResourceInfo>(Arena*); -template<> ::flyteidl::event::NodeExecutionEvent* Arena::CreateMaybeMessage<::flyteidl::event::NodeExecutionEvent>(Arena*); -template<> ::flyteidl::event::ParentNodeExecutionMetadata* Arena::CreateMaybeMessage<::flyteidl::event::ParentNodeExecutionMetadata>(Arena*); -template<> ::flyteidl::event::ParentTaskExecutionMetadata* Arena::CreateMaybeMessage<::flyteidl::event::ParentTaskExecutionMetadata>(Arena*); -template<> ::flyteidl::event::ResourcePoolInfo* Arena::CreateMaybeMessage<::flyteidl::event::ResourcePoolInfo>(Arena*); -template<> ::flyteidl::event::TaskExecutionEvent* Arena::CreateMaybeMessage<::flyteidl::event::TaskExecutionEvent>(Arena*); -template<> ::flyteidl::event::TaskExecutionMetadata* Arena::CreateMaybeMessage<::flyteidl::event::TaskExecutionMetadata>(Arena*); -template<> ::flyteidl::event::TaskNodeMetadata* Arena::CreateMaybeMessage<::flyteidl::event::TaskNodeMetadata>(Arena*); -template<> ::flyteidl::event::WorkflowExecutionEvent* Arena::CreateMaybeMessage<::flyteidl::event::WorkflowExecutionEvent>(Arena*); -template<> ::flyteidl::event::WorkflowNodeMetadata* Arena::CreateMaybeMessage<::flyteidl::event::WorkflowNodeMetadata>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace event { - -enum TaskExecutionMetadata_InstanceClass { - TaskExecutionMetadata_InstanceClass_DEFAULT = 0, - TaskExecutionMetadata_InstanceClass_INTERRUPTIBLE = 1, - TaskExecutionMetadata_InstanceClass_TaskExecutionMetadata_InstanceClass_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - TaskExecutionMetadata_InstanceClass_TaskExecutionMetadata_InstanceClass_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool TaskExecutionMetadata_InstanceClass_IsValid(int value); -const TaskExecutionMetadata_InstanceClass TaskExecutionMetadata_InstanceClass_InstanceClass_MIN = TaskExecutionMetadata_InstanceClass_DEFAULT; -const TaskExecutionMetadata_InstanceClass TaskExecutionMetadata_InstanceClass_InstanceClass_MAX = TaskExecutionMetadata_InstanceClass_INTERRUPTIBLE; -const int TaskExecutionMetadata_InstanceClass_InstanceClass_ARRAYSIZE = TaskExecutionMetadata_InstanceClass_InstanceClass_MAX + 1; - -const ::google::protobuf::EnumDescriptor* TaskExecutionMetadata_InstanceClass_descriptor(); -inline const ::std::string& TaskExecutionMetadata_InstanceClass_Name(TaskExecutionMetadata_InstanceClass value) { - return ::google::protobuf::internal::NameOfEnum( - TaskExecutionMetadata_InstanceClass_descriptor(), value); -} -inline bool TaskExecutionMetadata_InstanceClass_Parse( - const ::std::string& name, TaskExecutionMetadata_InstanceClass* value) { - return ::google::protobuf::internal::ParseNamedEnum( - TaskExecutionMetadata_InstanceClass_descriptor(), name, value); -} -// =================================================================== - -class WorkflowExecutionEvent final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.WorkflowExecutionEvent) */ { - public: - WorkflowExecutionEvent(); - virtual ~WorkflowExecutionEvent(); - - WorkflowExecutionEvent(const WorkflowExecutionEvent& from); - - inline WorkflowExecutionEvent& operator=(const WorkflowExecutionEvent& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowExecutionEvent(WorkflowExecutionEvent&& from) noexcept - : WorkflowExecutionEvent() { - *this = ::std::move(from); - } - - inline WorkflowExecutionEvent& operator=(WorkflowExecutionEvent&& 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 WorkflowExecutionEvent& default_instance(); - - enum OutputResultCase { - kOutputUri = 5, - kError = 6, - kOutputData = 7, - OUTPUT_RESULT_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowExecutionEvent* internal_default_instance() { - return reinterpret_cast( - &_WorkflowExecutionEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(WorkflowExecutionEvent* other); - friend void swap(WorkflowExecutionEvent& a, WorkflowExecutionEvent& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowExecutionEvent* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowExecutionEvent* 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 WorkflowExecutionEvent& from); - void MergeFrom(const WorkflowExecutionEvent& 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(WorkflowExecutionEvent* 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 producer_id = 2; - void clear_producer_id(); - static const int kProducerIdFieldNumber = 2; - const ::std::string& producer_id() const; - void set_producer_id(const ::std::string& value); - #if LANG_CXX11 - void set_producer_id(::std::string&& value); - #endif - void set_producer_id(const char* value); - void set_producer_id(const char* value, size_t size); - ::std::string* mutable_producer_id(); - ::std::string* release_producer_id(); - void set_allocated_producer_id(::std::string* producer_id); - - // .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - bool has_execution_id() const; - void clear_execution_id(); - static const int kExecutionIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_execution_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_execution_id(); - void set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id); - - // .google.protobuf.Timestamp occurred_at = 4; - bool has_occurred_at() const; - void clear_occurred_at(); - static const int kOccurredAtFieldNumber = 4; - const ::google::protobuf::Timestamp& occurred_at() const; - ::google::protobuf::Timestamp* release_occurred_at(); - ::google::protobuf::Timestamp* mutable_occurred_at(); - void set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at); - - // .flyteidl.core.WorkflowExecution.Phase phase = 3; - void clear_phase(); - static const int kPhaseFieldNumber = 3; - ::flyteidl::core::WorkflowExecution_Phase phase() const; - void set_phase(::flyteidl::core::WorkflowExecution_Phase value); - - // string output_uri = 5; - private: - bool has_output_uri() const; - public: - void clear_output_uri(); - static const int kOutputUriFieldNumber = 5; - const ::std::string& output_uri() const; - void set_output_uri(const ::std::string& value); - #if LANG_CXX11 - void set_output_uri(::std::string&& value); - #endif - void set_output_uri(const char* value); - void set_output_uri(const char* value, size_t size); - ::std::string* mutable_output_uri(); - ::std::string* release_output_uri(); - void set_allocated_output_uri(::std::string* output_uri); - - // .flyteidl.core.ExecutionError error = 6; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 6; - const ::flyteidl::core::ExecutionError& error() const; - ::flyteidl::core::ExecutionError* release_error(); - ::flyteidl::core::ExecutionError* mutable_error(); - void set_allocated_error(::flyteidl::core::ExecutionError* error); - - // .flyteidl.core.LiteralMap output_data = 7; - bool has_output_data() const; - void clear_output_data(); - static const int kOutputDataFieldNumber = 7; - const ::flyteidl::core::LiteralMap& output_data() const; - ::flyteidl::core::LiteralMap* release_output_data(); - ::flyteidl::core::LiteralMap* mutable_output_data(); - void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - void clear_output_result(); - OutputResultCase output_result_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.event.WorkflowExecutionEvent) - private: - class HasBitSetters; - void set_has_output_uri(); - void set_has_error(); - void set_has_output_data(); - - inline bool has_output_result() const; - inline void clear_has_output_result(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr producer_id_; - ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; - ::google::protobuf::Timestamp* occurred_at_; - int phase_; - union OutputResultUnion { - OutputResultUnion() {} - ::google::protobuf::internal::ArenaStringPtr output_uri_; - ::flyteidl::core::ExecutionError* error_; - ::flyteidl::core::LiteralMap* output_data_; - } output_result_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeExecutionEvent final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.NodeExecutionEvent) */ { - public: - NodeExecutionEvent(); - virtual ~NodeExecutionEvent(); - - NodeExecutionEvent(const NodeExecutionEvent& from); - - inline NodeExecutionEvent& operator=(const NodeExecutionEvent& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - NodeExecutionEvent(NodeExecutionEvent&& from) noexcept - : NodeExecutionEvent() { - *this = ::std::move(from); - } - - inline NodeExecutionEvent& operator=(NodeExecutionEvent&& 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 NodeExecutionEvent& default_instance(); - - enum InputValueCase { - kInputUri = 5, - kInputData = 20, - INPUT_VALUE_NOT_SET = 0, - }; - - enum OutputResultCase { - kOutputUri = 6, - kError = 7, - kOutputData = 15, - OUTPUT_RESULT_NOT_SET = 0, - }; - - enum TargetMetadataCase { - kWorkflowNodeMetadata = 8, - kTaskNodeMetadata = 14, - TARGET_METADATA_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const NodeExecutionEvent* internal_default_instance() { - return reinterpret_cast( - &_NodeExecutionEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(NodeExecutionEvent* other); - friend void swap(NodeExecutionEvent& a, NodeExecutionEvent& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline NodeExecutionEvent* New() const final { - return CreateMaybeMessage(nullptr); - } - - NodeExecutionEvent* 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 NodeExecutionEvent& from); - void MergeFrom(const NodeExecutionEvent& 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(NodeExecutionEvent* 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 producer_id = 2; - void clear_producer_id(); - static const int kProducerIdFieldNumber = 2; - const ::std::string& producer_id() const; - void set_producer_id(const ::std::string& value); - #if LANG_CXX11 - void set_producer_id(::std::string&& value); - #endif - void set_producer_id(const char* value); - void set_producer_id(const char* value, size_t size); - ::std::string* mutable_producer_id(); - ::std::string* release_producer_id(); - void set_allocated_producer_id(::std::string* producer_id); - - // string retry_group = 11; - void clear_retry_group(); - static const int kRetryGroupFieldNumber = 11; - const ::std::string& retry_group() const; - void set_retry_group(const ::std::string& value); - #if LANG_CXX11 - void set_retry_group(::std::string&& value); - #endif - void set_retry_group(const char* value); - void set_retry_group(const char* value, size_t size); - ::std::string* mutable_retry_group(); - ::std::string* release_retry_group(); - void set_allocated_retry_group(::std::string* retry_group); - - // string spec_node_id = 12; - void clear_spec_node_id(); - static const int kSpecNodeIdFieldNumber = 12; - const ::std::string& spec_node_id() const; - void set_spec_node_id(const ::std::string& value); - #if LANG_CXX11 - void set_spec_node_id(::std::string&& value); - #endif - void set_spec_node_id(const char* value); - void set_spec_node_id(const char* value, size_t size); - ::std::string* mutable_spec_node_id(); - ::std::string* release_spec_node_id(); - void set_allocated_spec_node_id(::std::string* spec_node_id); - - // string node_name = 13; - void clear_node_name(); - static const int kNodeNameFieldNumber = 13; - const ::std::string& node_name() const; - void set_node_name(const ::std::string& value); - #if LANG_CXX11 - void set_node_name(::std::string&& value); - #endif - void set_node_name(const char* value); - void set_node_name(const char* value, size_t size); - ::std::string* mutable_node_name(); - ::std::string* release_node_name(); - void set_allocated_node_name(::std::string* node_name); - - // string deck_uri = 19; - void clear_deck_uri(); - static const int kDeckUriFieldNumber = 19; - const ::std::string& deck_uri() const; - void set_deck_uri(const ::std::string& value); - #if LANG_CXX11 - void set_deck_uri(::std::string&& value); - #endif - void set_deck_uri(const char* value); - void set_deck_uri(const char* value, size_t size); - ::std::string* mutable_deck_uri(); - ::std::string* release_deck_uri(); - void set_allocated_deck_uri(::std::string* deck_uri); - - // .flyteidl.core.NodeExecutionIdentifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::NodeExecutionIdentifier& id() const; - ::flyteidl::core::NodeExecutionIdentifier* release_id(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id); - - // .google.protobuf.Timestamp occurred_at = 4; - bool has_occurred_at() const; - void clear_occurred_at(); - static const int kOccurredAtFieldNumber = 4; - const ::google::protobuf::Timestamp& occurred_at() const; - ::google::protobuf::Timestamp* release_occurred_at(); - ::google::protobuf::Timestamp* mutable_occurred_at(); - void set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at); - - // .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - bool has_parent_task_metadata() const; - void clear_parent_task_metadata(); - static const int kParentTaskMetadataFieldNumber = 9; - const ::flyteidl::event::ParentTaskExecutionMetadata& parent_task_metadata() const; - ::flyteidl::event::ParentTaskExecutionMetadata* release_parent_task_metadata(); - ::flyteidl::event::ParentTaskExecutionMetadata* mutable_parent_task_metadata(); - void set_allocated_parent_task_metadata(::flyteidl::event::ParentTaskExecutionMetadata* parent_task_metadata); - - // .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - bool has_parent_node_metadata() const; - void clear_parent_node_metadata(); - static const int kParentNodeMetadataFieldNumber = 10; - const ::flyteidl::event::ParentNodeExecutionMetadata& parent_node_metadata() const; - ::flyteidl::event::ParentNodeExecutionMetadata* release_parent_node_metadata(); - ::flyteidl::event::ParentNodeExecutionMetadata* mutable_parent_node_metadata(); - void set_allocated_parent_node_metadata(::flyteidl::event::ParentNodeExecutionMetadata* parent_node_metadata); - - // .google.protobuf.Timestamp reported_at = 21; - bool has_reported_at() const; - void clear_reported_at(); - static const int kReportedAtFieldNumber = 21; - const ::google::protobuf::Timestamp& reported_at() const; - ::google::protobuf::Timestamp* release_reported_at(); - ::google::protobuf::Timestamp* mutable_reported_at(); - void set_allocated_reported_at(::google::protobuf::Timestamp* reported_at); - - // .flyteidl.core.NodeExecution.Phase phase = 3; - void clear_phase(); - static const int kPhaseFieldNumber = 3; - ::flyteidl::core::NodeExecution_Phase phase() const; - void set_phase(::flyteidl::core::NodeExecution_Phase value); - - // int32 event_version = 16; - void clear_event_version(); - static const int kEventVersionFieldNumber = 16; - ::google::protobuf::int32 event_version() const; - void set_event_version(::google::protobuf::int32 value); - - // bool is_parent = 17; - void clear_is_parent(); - static const int kIsParentFieldNumber = 17; - bool is_parent() const; - void set_is_parent(bool value); - - // bool is_dynamic = 18; - void clear_is_dynamic(); - static const int kIsDynamicFieldNumber = 18; - bool is_dynamic() const; - void set_is_dynamic(bool value); - - // bool is_array = 22; - void clear_is_array(); - static const int kIsArrayFieldNumber = 22; - bool is_array() const; - void set_is_array(bool value); - - // string input_uri = 5; - private: - bool has_input_uri() const; - public: - void clear_input_uri(); - static const int kInputUriFieldNumber = 5; - const ::std::string& input_uri() const; - void set_input_uri(const ::std::string& value); - #if LANG_CXX11 - void set_input_uri(::std::string&& value); - #endif - void set_input_uri(const char* value); - void set_input_uri(const char* value, size_t size); - ::std::string* mutable_input_uri(); - ::std::string* release_input_uri(); - void set_allocated_input_uri(::std::string* input_uri); - - // .flyteidl.core.LiteralMap input_data = 20; - bool has_input_data() const; - void clear_input_data(); - static const int kInputDataFieldNumber = 20; - const ::flyteidl::core::LiteralMap& input_data() const; - ::flyteidl::core::LiteralMap* release_input_data(); - ::flyteidl::core::LiteralMap* mutable_input_data(); - void set_allocated_input_data(::flyteidl::core::LiteralMap* input_data); - - // string output_uri = 6; - private: - bool has_output_uri() const; - public: - void clear_output_uri(); - static const int kOutputUriFieldNumber = 6; - const ::std::string& output_uri() const; - void set_output_uri(const ::std::string& value); - #if LANG_CXX11 - void set_output_uri(::std::string&& value); - #endif - void set_output_uri(const char* value); - void set_output_uri(const char* value, size_t size); - ::std::string* mutable_output_uri(); - ::std::string* release_output_uri(); - void set_allocated_output_uri(::std::string* output_uri); - - // .flyteidl.core.ExecutionError error = 7; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 7; - const ::flyteidl::core::ExecutionError& error() const; - ::flyteidl::core::ExecutionError* release_error(); - ::flyteidl::core::ExecutionError* mutable_error(); - void set_allocated_error(::flyteidl::core::ExecutionError* error); - - // .flyteidl.core.LiteralMap output_data = 15; - bool has_output_data() const; - void clear_output_data(); - static const int kOutputDataFieldNumber = 15; - const ::flyteidl::core::LiteralMap& output_data() const; - ::flyteidl::core::LiteralMap* release_output_data(); - ::flyteidl::core::LiteralMap* mutable_output_data(); - void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - // .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - bool has_workflow_node_metadata() const; - void clear_workflow_node_metadata(); - static const int kWorkflowNodeMetadataFieldNumber = 8; - const ::flyteidl::event::WorkflowNodeMetadata& workflow_node_metadata() const; - ::flyteidl::event::WorkflowNodeMetadata* release_workflow_node_metadata(); - ::flyteidl::event::WorkflowNodeMetadata* mutable_workflow_node_metadata(); - void set_allocated_workflow_node_metadata(::flyteidl::event::WorkflowNodeMetadata* workflow_node_metadata); - - // .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - bool has_task_node_metadata() const; - void clear_task_node_metadata(); - static const int kTaskNodeMetadataFieldNumber = 14; - const ::flyteidl::event::TaskNodeMetadata& task_node_metadata() const; - ::flyteidl::event::TaskNodeMetadata* release_task_node_metadata(); - ::flyteidl::event::TaskNodeMetadata* mutable_task_node_metadata(); - void set_allocated_task_node_metadata(::flyteidl::event::TaskNodeMetadata* task_node_metadata); - - void clear_input_value(); - InputValueCase input_value_case() const; - void clear_output_result(); - OutputResultCase output_result_case() const; - void clear_target_metadata(); - TargetMetadataCase target_metadata_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.event.NodeExecutionEvent) - private: - class HasBitSetters; - void set_has_input_uri(); - void set_has_input_data(); - void set_has_output_uri(); - void set_has_error(); - void set_has_output_data(); - void set_has_workflow_node_metadata(); - void set_has_task_node_metadata(); - - inline bool has_input_value() const; - inline void clear_has_input_value(); - - inline bool has_output_result() const; - inline void clear_has_output_result(); - - inline bool has_target_metadata() const; - inline void clear_has_target_metadata(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr producer_id_; - ::google::protobuf::internal::ArenaStringPtr retry_group_; - ::google::protobuf::internal::ArenaStringPtr spec_node_id_; - ::google::protobuf::internal::ArenaStringPtr node_name_; - ::google::protobuf::internal::ArenaStringPtr deck_uri_; - ::flyteidl::core::NodeExecutionIdentifier* id_; - ::google::protobuf::Timestamp* occurred_at_; - ::flyteidl::event::ParentTaskExecutionMetadata* parent_task_metadata_; - ::flyteidl::event::ParentNodeExecutionMetadata* parent_node_metadata_; - ::google::protobuf::Timestamp* reported_at_; - int phase_; - ::google::protobuf::int32 event_version_; - bool is_parent_; - bool is_dynamic_; - bool is_array_; - union InputValueUnion { - InputValueUnion() {} - ::google::protobuf::internal::ArenaStringPtr input_uri_; - ::flyteidl::core::LiteralMap* input_data_; - } input_value_; - union OutputResultUnion { - OutputResultUnion() {} - ::google::protobuf::internal::ArenaStringPtr output_uri_; - ::flyteidl::core::ExecutionError* error_; - ::flyteidl::core::LiteralMap* output_data_; - } output_result_; - union TargetMetadataUnion { - TargetMetadataUnion() {} - ::flyteidl::event::WorkflowNodeMetadata* workflow_node_metadata_; - ::flyteidl::event::TaskNodeMetadata* task_node_metadata_; - } target_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[3]; - - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkflowNodeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.WorkflowNodeMetadata) */ { - public: - WorkflowNodeMetadata(); - virtual ~WorkflowNodeMetadata(); - - WorkflowNodeMetadata(const WorkflowNodeMetadata& from); - - inline WorkflowNodeMetadata& operator=(const WorkflowNodeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkflowNodeMetadata(WorkflowNodeMetadata&& from) noexcept - : WorkflowNodeMetadata() { - *this = ::std::move(from); - } - - inline WorkflowNodeMetadata& operator=(WorkflowNodeMetadata&& 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 WorkflowNodeMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkflowNodeMetadata* internal_default_instance() { - return reinterpret_cast( - &_WorkflowNodeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(WorkflowNodeMetadata* other); - friend void swap(WorkflowNodeMetadata& a, WorkflowNodeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkflowNodeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkflowNodeMetadata* 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 WorkflowNodeMetadata& from); - void MergeFrom(const WorkflowNodeMetadata& 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(WorkflowNodeMetadata* 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 execution_id = 1; - bool has_execution_id() const; - void clear_execution_id(); - static const int kExecutionIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_execution_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_execution_id(); - void set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id); - - // @@protoc_insertion_point(class_scope:flyteidl.event.WorkflowNodeMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskNodeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.TaskNodeMetadata) */ { - public: - TaskNodeMetadata(); - virtual ~TaskNodeMetadata(); - - TaskNodeMetadata(const TaskNodeMetadata& from); - - inline TaskNodeMetadata& operator=(const TaskNodeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskNodeMetadata(TaskNodeMetadata&& from) noexcept - : TaskNodeMetadata() { - *this = ::std::move(from); - } - - inline TaskNodeMetadata& operator=(TaskNodeMetadata&& 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 TaskNodeMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskNodeMetadata* internal_default_instance() { - return reinterpret_cast( - &_TaskNodeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TaskNodeMetadata* other); - friend void swap(TaskNodeMetadata& a, TaskNodeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskNodeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskNodeMetadata* 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 TaskNodeMetadata& from); - void MergeFrom(const TaskNodeMetadata& 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(TaskNodeMetadata* 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 checkpoint_uri = 4; - void clear_checkpoint_uri(); - static const int kCheckpointUriFieldNumber = 4; - const ::std::string& checkpoint_uri() const; - void set_checkpoint_uri(const ::std::string& value); - #if LANG_CXX11 - void set_checkpoint_uri(::std::string&& value); - #endif - void set_checkpoint_uri(const char* value); - void set_checkpoint_uri(const char* value, size_t size); - ::std::string* mutable_checkpoint_uri(); - ::std::string* release_checkpoint_uri(); - void set_allocated_checkpoint_uri(::std::string* checkpoint_uri); - - // .flyteidl.core.CatalogMetadata catalog_key = 2; - bool has_catalog_key() const; - void clear_catalog_key(); - static const int kCatalogKeyFieldNumber = 2; - const ::flyteidl::core::CatalogMetadata& catalog_key() const; - ::flyteidl::core::CatalogMetadata* release_catalog_key(); - ::flyteidl::core::CatalogMetadata* mutable_catalog_key(); - void set_allocated_catalog_key(::flyteidl::core::CatalogMetadata* catalog_key); - - // .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - bool has_dynamic_workflow() const; - void clear_dynamic_workflow(); - static const int kDynamicWorkflowFieldNumber = 16; - const ::flyteidl::event::DynamicWorkflowNodeMetadata& dynamic_workflow() const; - ::flyteidl::event::DynamicWorkflowNodeMetadata* release_dynamic_workflow(); - ::flyteidl::event::DynamicWorkflowNodeMetadata* mutable_dynamic_workflow(); - void set_allocated_dynamic_workflow(::flyteidl::event::DynamicWorkflowNodeMetadata* dynamic_workflow); - - // .flyteidl.core.CatalogCacheStatus cache_status = 1; - void clear_cache_status(); - static const int kCacheStatusFieldNumber = 1; - ::flyteidl::core::CatalogCacheStatus cache_status() const; - void set_cache_status(::flyteidl::core::CatalogCacheStatus value); - - // .flyteidl.core.CatalogReservation.Status reservation_status = 3; - void clear_reservation_status(); - static const int kReservationStatusFieldNumber = 3; - ::flyteidl::core::CatalogReservation_Status reservation_status() const; - void set_reservation_status(::flyteidl::core::CatalogReservation_Status value); - - // @@protoc_insertion_point(class_scope:flyteidl.event.TaskNodeMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr checkpoint_uri_; - ::flyteidl::core::CatalogMetadata* catalog_key_; - ::flyteidl::event::DynamicWorkflowNodeMetadata* dynamic_workflow_; - int cache_status_; - int reservation_status_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class DynamicWorkflowNodeMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.DynamicWorkflowNodeMetadata) */ { - public: - DynamicWorkflowNodeMetadata(); - virtual ~DynamicWorkflowNodeMetadata(); - - DynamicWorkflowNodeMetadata(const DynamicWorkflowNodeMetadata& from); - - inline DynamicWorkflowNodeMetadata& operator=(const DynamicWorkflowNodeMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DynamicWorkflowNodeMetadata(DynamicWorkflowNodeMetadata&& from) noexcept - : DynamicWorkflowNodeMetadata() { - *this = ::std::move(from); - } - - inline DynamicWorkflowNodeMetadata& operator=(DynamicWorkflowNodeMetadata&& 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 DynamicWorkflowNodeMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DynamicWorkflowNodeMetadata* internal_default_instance() { - return reinterpret_cast( - &_DynamicWorkflowNodeMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(DynamicWorkflowNodeMetadata* other); - friend void swap(DynamicWorkflowNodeMetadata& a, DynamicWorkflowNodeMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DynamicWorkflowNodeMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - DynamicWorkflowNodeMetadata* 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 DynamicWorkflowNodeMetadata& from); - void MergeFrom(const DynamicWorkflowNodeMetadata& 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(DynamicWorkflowNodeMetadata* 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 dynamic_job_spec_uri = 3; - void clear_dynamic_job_spec_uri(); - static const int kDynamicJobSpecUriFieldNumber = 3; - const ::std::string& dynamic_job_spec_uri() const; - void set_dynamic_job_spec_uri(const ::std::string& value); - #if LANG_CXX11 - void set_dynamic_job_spec_uri(::std::string&& value); - #endif - void set_dynamic_job_spec_uri(const char* value); - void set_dynamic_job_spec_uri(const char* value, size_t size); - ::std::string* mutable_dynamic_job_spec_uri(); - ::std::string* release_dynamic_job_spec_uri(); - void set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri); - - // .flyteidl.core.Identifier id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::Identifier& id() const; - ::flyteidl::core::Identifier* release_id(); - ::flyteidl::core::Identifier* mutable_id(); - void set_allocated_id(::flyteidl::core::Identifier* id); - - // .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - bool has_compiled_workflow() const; - void clear_compiled_workflow(); - static const int kCompiledWorkflowFieldNumber = 2; - const ::flyteidl::core::CompiledWorkflowClosure& compiled_workflow() const; - ::flyteidl::core::CompiledWorkflowClosure* release_compiled_workflow(); - ::flyteidl::core::CompiledWorkflowClosure* mutable_compiled_workflow(); - void set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow); - - // @@protoc_insertion_point(class_scope:flyteidl.event.DynamicWorkflowNodeMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr dynamic_job_spec_uri_; - ::flyteidl::core::Identifier* id_; - ::flyteidl::core::CompiledWorkflowClosure* compiled_workflow_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class ParentTaskExecutionMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.ParentTaskExecutionMetadata) */ { - public: - ParentTaskExecutionMetadata(); - virtual ~ParentTaskExecutionMetadata(); - - ParentTaskExecutionMetadata(const ParentTaskExecutionMetadata& from); - - inline ParentTaskExecutionMetadata& operator=(const ParentTaskExecutionMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ParentTaskExecutionMetadata(ParentTaskExecutionMetadata&& from) noexcept - : ParentTaskExecutionMetadata() { - *this = ::std::move(from); - } - - inline ParentTaskExecutionMetadata& operator=(ParentTaskExecutionMetadata&& 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 ParentTaskExecutionMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ParentTaskExecutionMetadata* internal_default_instance() { - return reinterpret_cast( - &_ParentTaskExecutionMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(ParentTaskExecutionMetadata* other); - friend void swap(ParentTaskExecutionMetadata& a, ParentTaskExecutionMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ParentTaskExecutionMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - ParentTaskExecutionMetadata* 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 ParentTaskExecutionMetadata& from); - void MergeFrom(const ParentTaskExecutionMetadata& 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(ParentTaskExecutionMetadata* 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 id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::flyteidl::core::TaskExecutionIdentifier& id() const; - ::flyteidl::core::TaskExecutionIdentifier* release_id(); - ::flyteidl::core::TaskExecutionIdentifier* mutable_id(); - void set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id); - - // @@protoc_insertion_point(class_scope:flyteidl.event.ParentTaskExecutionMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::TaskExecutionIdentifier* id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class ParentNodeExecutionMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.ParentNodeExecutionMetadata) */ { - public: - ParentNodeExecutionMetadata(); - virtual ~ParentNodeExecutionMetadata(); - - ParentNodeExecutionMetadata(const ParentNodeExecutionMetadata& from); - - inline ParentNodeExecutionMetadata& operator=(const ParentNodeExecutionMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ParentNodeExecutionMetadata(ParentNodeExecutionMetadata&& from) noexcept - : ParentNodeExecutionMetadata() { - *this = ::std::move(from); - } - - inline ParentNodeExecutionMetadata& operator=(ParentNodeExecutionMetadata&& 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 ParentNodeExecutionMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ParentNodeExecutionMetadata* internal_default_instance() { - return reinterpret_cast( - &_ParentNodeExecutionMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(ParentNodeExecutionMetadata* other); - friend void swap(ParentNodeExecutionMetadata& a, ParentNodeExecutionMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ParentNodeExecutionMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - ParentNodeExecutionMetadata* 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 ParentNodeExecutionMetadata& from); - void MergeFrom(const ParentNodeExecutionMetadata& 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(ParentNodeExecutionMetadata* 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 node_id = 1; - void clear_node_id(); - static const int kNodeIdFieldNumber = 1; - const ::std::string& node_id() const; - void set_node_id(const ::std::string& value); - #if LANG_CXX11 - void set_node_id(::std::string&& value); - #endif - void set_node_id(const char* value); - void set_node_id(const char* value, size_t size); - ::std::string* mutable_node_id(); - ::std::string* release_node_id(); - void set_allocated_node_id(::std::string* node_id); - - // @@protoc_insertion_point(class_scope:flyteidl.event.ParentNodeExecutionMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr node_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class EventReason final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.EventReason) */ { - public: - EventReason(); - virtual ~EventReason(); - - EventReason(const EventReason& from); - - inline EventReason& operator=(const EventReason& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - EventReason(EventReason&& from) noexcept - : EventReason() { - *this = ::std::move(from); - } - - inline EventReason& operator=(EventReason&& 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 EventReason& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const EventReason* internal_default_instance() { - return reinterpret_cast( - &_EventReason_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(EventReason* other); - friend void swap(EventReason& a, EventReason& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline EventReason* New() const final { - return CreateMaybeMessage(nullptr); - } - - EventReason* 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 EventReason& from); - void MergeFrom(const EventReason& 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(EventReason* 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 reason = 1; - void clear_reason(); - static const int kReasonFieldNumber = 1; - const ::std::string& reason() const; - void set_reason(const ::std::string& value); - #if LANG_CXX11 - void set_reason(::std::string&& value); - #endif - void set_reason(const char* value); - void set_reason(const char* value, size_t size); - ::std::string* mutable_reason(); - ::std::string* release_reason(); - void set_allocated_reason(::std::string* reason); - - // .google.protobuf.Timestamp occurred_at = 2; - bool has_occurred_at() const; - void clear_occurred_at(); - static const int kOccurredAtFieldNumber = 2; - const ::google::protobuf::Timestamp& occurred_at() const; - ::google::protobuf::Timestamp* release_occurred_at(); - ::google::protobuf::Timestamp* mutable_occurred_at(); - void set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at); - - // @@protoc_insertion_point(class_scope:flyteidl.event.EventReason) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr reason_; - ::google::protobuf::Timestamp* occurred_at_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionEvent final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.TaskExecutionEvent) */ { - public: - TaskExecutionEvent(); - virtual ~TaskExecutionEvent(); - - TaskExecutionEvent(const TaskExecutionEvent& from); - - inline TaskExecutionEvent& operator=(const TaskExecutionEvent& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionEvent(TaskExecutionEvent&& from) noexcept - : TaskExecutionEvent() { - *this = ::std::move(from); - } - - inline TaskExecutionEvent& operator=(TaskExecutionEvent&& 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 TaskExecutionEvent& default_instance(); - - enum InputValueCase { - kInputUri = 8, - kInputData = 19, - INPUT_VALUE_NOT_SET = 0, - }; - - enum OutputResultCase { - kOutputUri = 9, - kError = 10, - kOutputData = 17, - OUTPUT_RESULT_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionEvent* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(TaskExecutionEvent* other); - friend void swap(TaskExecutionEvent& a, TaskExecutionEvent& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionEvent* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionEvent* 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 TaskExecutionEvent& from); - void MergeFrom(const TaskExecutionEvent& 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(TaskExecutionEvent* 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.TaskLog logs = 6; - int logs_size() const; - void clear_logs(); - static const int kLogsFieldNumber = 6; - ::flyteidl::core::TaskLog* mutable_logs(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* - mutable_logs(); - const ::flyteidl::core::TaskLog& logs(int index) const; - ::flyteidl::core::TaskLog* add_logs(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& - logs() const; - - // repeated .flyteidl.event.EventReason reasons = 21; - int reasons_size() const; - void clear_reasons(); - static const int kReasonsFieldNumber = 21; - ::flyteidl::event::EventReason* mutable_reasons(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::event::EventReason >* - mutable_reasons(); - const ::flyteidl::event::EventReason& reasons(int index) const; - ::flyteidl::event::EventReason* add_reasons(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::event::EventReason >& - reasons() const; - - // string producer_id = 5; - void clear_producer_id(); - static const int kProducerIdFieldNumber = 5; - const ::std::string& producer_id() const; - void set_producer_id(const ::std::string& value); - #if LANG_CXX11 - void set_producer_id(::std::string&& value); - #endif - void set_producer_id(const char* value); - void set_producer_id(const char* value, size_t size); - ::std::string* mutable_producer_id(); - ::std::string* release_producer_id(); - void set_allocated_producer_id(::std::string* producer_id); - - // string reason = 13 [deprecated = true]; - PROTOBUF_DEPRECATED void clear_reason(); - PROTOBUF_DEPRECATED static const int kReasonFieldNumber = 13; - PROTOBUF_DEPRECATED const ::std::string& reason() const; - PROTOBUF_DEPRECATED void set_reason(const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void set_reason(::std::string&& value); - #endif - PROTOBUF_DEPRECATED void set_reason(const char* value); - PROTOBUF_DEPRECATED void set_reason(const char* value, size_t size); - PROTOBUF_DEPRECATED ::std::string* mutable_reason(); - PROTOBUF_DEPRECATED ::std::string* release_reason(); - PROTOBUF_DEPRECATED void set_allocated_reason(::std::string* reason); - - // string task_type = 14; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 14; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // .flyteidl.core.Identifier task_id = 1; - bool has_task_id() const; - void clear_task_id(); - static const int kTaskIdFieldNumber = 1; - const ::flyteidl::core::Identifier& task_id() const; - ::flyteidl::core::Identifier* release_task_id(); - ::flyteidl::core::Identifier* mutable_task_id(); - void set_allocated_task_id(::flyteidl::core::Identifier* task_id); - - // .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - bool has_parent_node_execution_id() const; - void clear_parent_node_execution_id(); - static const int kParentNodeExecutionIdFieldNumber = 2; - const ::flyteidl::core::NodeExecutionIdentifier& parent_node_execution_id() const; - ::flyteidl::core::NodeExecutionIdentifier* release_parent_node_execution_id(); - ::flyteidl::core::NodeExecutionIdentifier* mutable_parent_node_execution_id(); - void set_allocated_parent_node_execution_id(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution_id); - - // .google.protobuf.Timestamp occurred_at = 7; - bool has_occurred_at() const; - void clear_occurred_at(); - static const int kOccurredAtFieldNumber = 7; - const ::google::protobuf::Timestamp& occurred_at() const; - ::google::protobuf::Timestamp* release_occurred_at(); - ::google::protobuf::Timestamp* mutable_occurred_at(); - void set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at); - - // .google.protobuf.Struct custom_info = 11; - bool has_custom_info() const; - void clear_custom_info(); - static const int kCustomInfoFieldNumber = 11; - const ::google::protobuf::Struct& custom_info() const; - ::google::protobuf::Struct* release_custom_info(); - ::google::protobuf::Struct* mutable_custom_info(); - void set_allocated_custom_info(::google::protobuf::Struct* custom_info); - - // .flyteidl.event.TaskExecutionMetadata metadata = 16; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 16; - const ::flyteidl::event::TaskExecutionMetadata& metadata() const; - ::flyteidl::event::TaskExecutionMetadata* release_metadata(); - ::flyteidl::event::TaskExecutionMetadata* mutable_metadata(); - void set_allocated_metadata(::flyteidl::event::TaskExecutionMetadata* metadata); - - // .google.protobuf.Timestamp reported_at = 20; - bool has_reported_at() const; - void clear_reported_at(); - static const int kReportedAtFieldNumber = 20; - const ::google::protobuf::Timestamp& reported_at() const; - ::google::protobuf::Timestamp* release_reported_at(); - ::google::protobuf::Timestamp* mutable_reported_at(); - void set_allocated_reported_at(::google::protobuf::Timestamp* reported_at); - - // uint32 retry_attempt = 3; - void clear_retry_attempt(); - static const int kRetryAttemptFieldNumber = 3; - ::google::protobuf::uint32 retry_attempt() const; - void set_retry_attempt(::google::protobuf::uint32 value); - - // .flyteidl.core.TaskExecution.Phase phase = 4; - void clear_phase(); - static const int kPhaseFieldNumber = 4; - ::flyteidl::core::TaskExecution_Phase phase() const; - void set_phase(::flyteidl::core::TaskExecution_Phase value); - - // uint32 phase_version = 12; - void clear_phase_version(); - static const int kPhaseVersionFieldNumber = 12; - ::google::protobuf::uint32 phase_version() const; - void set_phase_version(::google::protobuf::uint32 value); - - // int32 event_version = 18; - void clear_event_version(); - static const int kEventVersionFieldNumber = 18; - ::google::protobuf::int32 event_version() const; - void set_event_version(::google::protobuf::int32 value); - - // string input_uri = 8; - private: - bool has_input_uri() const; - public: - void clear_input_uri(); - static const int kInputUriFieldNumber = 8; - const ::std::string& input_uri() const; - void set_input_uri(const ::std::string& value); - #if LANG_CXX11 - void set_input_uri(::std::string&& value); - #endif - void set_input_uri(const char* value); - void set_input_uri(const char* value, size_t size); - ::std::string* mutable_input_uri(); - ::std::string* release_input_uri(); - void set_allocated_input_uri(::std::string* input_uri); - - // .flyteidl.core.LiteralMap input_data = 19; - bool has_input_data() const; - void clear_input_data(); - static const int kInputDataFieldNumber = 19; - const ::flyteidl::core::LiteralMap& input_data() const; - ::flyteidl::core::LiteralMap* release_input_data(); - ::flyteidl::core::LiteralMap* mutable_input_data(); - void set_allocated_input_data(::flyteidl::core::LiteralMap* input_data); - - // string output_uri = 9; - private: - bool has_output_uri() const; - public: - void clear_output_uri(); - static const int kOutputUriFieldNumber = 9; - const ::std::string& output_uri() const; - void set_output_uri(const ::std::string& value); - #if LANG_CXX11 - void set_output_uri(::std::string&& value); - #endif - void set_output_uri(const char* value); - void set_output_uri(const char* value, size_t size); - ::std::string* mutable_output_uri(); - ::std::string* release_output_uri(); - void set_allocated_output_uri(::std::string* output_uri); - - // .flyteidl.core.ExecutionError error = 10; - bool has_error() const; - void clear_error(); - static const int kErrorFieldNumber = 10; - const ::flyteidl::core::ExecutionError& error() const; - ::flyteidl::core::ExecutionError* release_error(); - ::flyteidl::core::ExecutionError* mutable_error(); - void set_allocated_error(::flyteidl::core::ExecutionError* error); - - // .flyteidl.core.LiteralMap output_data = 17; - bool has_output_data() const; - void clear_output_data(); - static const int kOutputDataFieldNumber = 17; - const ::flyteidl::core::LiteralMap& output_data() const; - ::flyteidl::core::LiteralMap* release_output_data(); - ::flyteidl::core::LiteralMap* mutable_output_data(); - void set_allocated_output_data(::flyteidl::core::LiteralMap* output_data); - - void clear_input_value(); - InputValueCase input_value_case() const; - void clear_output_result(); - OutputResultCase output_result_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.event.TaskExecutionEvent) - private: - class HasBitSetters; - void set_has_input_uri(); - void set_has_input_data(); - void set_has_output_uri(); - void set_has_error(); - void set_has_output_data(); - - inline bool has_input_value() const; - inline void clear_has_input_value(); - - inline bool has_output_result() const; - inline void clear_has_output_result(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog > logs_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::event::EventReason > reasons_; - ::google::protobuf::internal::ArenaStringPtr producer_id_; - ::google::protobuf::internal::ArenaStringPtr reason_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::flyteidl::core::Identifier* task_id_; - ::flyteidl::core::NodeExecutionIdentifier* parent_node_execution_id_; - ::google::protobuf::Timestamp* occurred_at_; - ::google::protobuf::Struct* custom_info_; - ::flyteidl::event::TaskExecutionMetadata* metadata_; - ::google::protobuf::Timestamp* reported_at_; - ::google::protobuf::uint32 retry_attempt_; - int phase_; - ::google::protobuf::uint32 phase_version_; - ::google::protobuf::int32 event_version_; - union InputValueUnion { - InputValueUnion() {} - ::google::protobuf::internal::ArenaStringPtr input_uri_; - ::flyteidl::core::LiteralMap* input_data_; - } input_value_; - union OutputResultUnion { - OutputResultUnion() {} - ::google::protobuf::internal::ArenaStringPtr output_uri_; - ::flyteidl::core::ExecutionError* error_; - ::flyteidl::core::LiteralMap* output_data_; - } output_result_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[2]; - - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class ExternalResourceInfo final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.ExternalResourceInfo) */ { - public: - ExternalResourceInfo(); - virtual ~ExternalResourceInfo(); - - ExternalResourceInfo(const ExternalResourceInfo& from); - - inline ExternalResourceInfo& operator=(const ExternalResourceInfo& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ExternalResourceInfo(ExternalResourceInfo&& from) noexcept - : ExternalResourceInfo() { - *this = ::std::move(from); - } - - inline ExternalResourceInfo& operator=(ExternalResourceInfo&& 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 ExternalResourceInfo& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ExternalResourceInfo* internal_default_instance() { - return reinterpret_cast( - &_ExternalResourceInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - void Swap(ExternalResourceInfo* other); - friend void swap(ExternalResourceInfo& a, ExternalResourceInfo& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ExternalResourceInfo* New() const final { - return CreateMaybeMessage(nullptr); - } - - ExternalResourceInfo* 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 ExternalResourceInfo& from); - void MergeFrom(const ExternalResourceInfo& 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(ExternalResourceInfo* 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.TaskLog logs = 6; - int logs_size() const; - void clear_logs(); - static const int kLogsFieldNumber = 6; - ::flyteidl::core::TaskLog* mutable_logs(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* - mutable_logs(); - const ::flyteidl::core::TaskLog& logs(int index) const; - ::flyteidl::core::TaskLog* add_logs(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& - logs() const; - - // string external_id = 1; - void clear_external_id(); - static const int kExternalIdFieldNumber = 1; - const ::std::string& external_id() const; - void set_external_id(const ::std::string& value); - #if LANG_CXX11 - void set_external_id(::std::string&& value); - #endif - void set_external_id(const char* value); - void set_external_id(const char* value, size_t size); - ::std::string* mutable_external_id(); - ::std::string* release_external_id(); - void set_allocated_external_id(::std::string* external_id); - - // uint32 index = 2; - void clear_index(); - static const int kIndexFieldNumber = 2; - ::google::protobuf::uint32 index() const; - void set_index(::google::protobuf::uint32 value); - - // uint32 retry_attempt = 3; - void clear_retry_attempt(); - static const int kRetryAttemptFieldNumber = 3; - ::google::protobuf::uint32 retry_attempt() const; - void set_retry_attempt(::google::protobuf::uint32 value); - - // .flyteidl.core.TaskExecution.Phase phase = 4; - void clear_phase(); - static const int kPhaseFieldNumber = 4; - ::flyteidl::core::TaskExecution_Phase phase() const; - void set_phase(::flyteidl::core::TaskExecution_Phase value); - - // .flyteidl.core.CatalogCacheStatus cache_status = 5; - void clear_cache_status(); - static const int kCacheStatusFieldNumber = 5; - ::flyteidl::core::CatalogCacheStatus cache_status() const; - void set_cache_status(::flyteidl::core::CatalogCacheStatus value); - - // @@protoc_insertion_point(class_scope:flyteidl.event.ExternalResourceInfo) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog > logs_; - ::google::protobuf::internal::ArenaStringPtr external_id_; - ::google::protobuf::uint32 index_; - ::google::protobuf::uint32 retry_attempt_; - int phase_; - int cache_status_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class ResourcePoolInfo final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.ResourcePoolInfo) */ { - public: - ResourcePoolInfo(); - virtual ~ResourcePoolInfo(); - - ResourcePoolInfo(const ResourcePoolInfo& from); - - inline ResourcePoolInfo& operator=(const ResourcePoolInfo& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ResourcePoolInfo(ResourcePoolInfo&& from) noexcept - : ResourcePoolInfo() { - *this = ::std::move(from); - } - - inline ResourcePoolInfo& operator=(ResourcePoolInfo&& 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 ResourcePoolInfo& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ResourcePoolInfo* internal_default_instance() { - return reinterpret_cast( - &_ResourcePoolInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - void Swap(ResourcePoolInfo* other); - friend void swap(ResourcePoolInfo& a, ResourcePoolInfo& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ResourcePoolInfo* New() const final { - return CreateMaybeMessage(nullptr); - } - - ResourcePoolInfo* 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 ResourcePoolInfo& from); - void MergeFrom(const ResourcePoolInfo& 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(ResourcePoolInfo* 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 allocation_token = 1; - void clear_allocation_token(); - static const int kAllocationTokenFieldNumber = 1; - const ::std::string& allocation_token() const; - void set_allocation_token(const ::std::string& value); - #if LANG_CXX11 - void set_allocation_token(::std::string&& value); - #endif - void set_allocation_token(const char* value); - void set_allocation_token(const char* value, size_t size); - ::std::string* mutable_allocation_token(); - ::std::string* release_allocation_token(); - void set_allocated_allocation_token(::std::string* allocation_token); - - // string namespace = 2; - void clear_namespace_(); - static const int kNamespaceFieldNumber = 2; - const ::std::string& namespace_() const; - void set_namespace_(const ::std::string& value); - #if LANG_CXX11 - void set_namespace_(::std::string&& value); - #endif - void set_namespace_(const char* value); - void set_namespace_(const char* value, size_t size); - ::std::string* mutable_namespace_(); - ::std::string* release_namespace_(); - void set_allocated_namespace_(::std::string* namespace_); - - // @@protoc_insertion_point(class_scope:flyteidl.event.ResourcePoolInfo) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr allocation_token_; - ::google::protobuf::internal::ArenaStringPtr namespace__; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskExecutionMetadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.event.TaskExecutionMetadata) */ { - public: - TaskExecutionMetadata(); - virtual ~TaskExecutionMetadata(); - - TaskExecutionMetadata(const TaskExecutionMetadata& from); - - inline TaskExecutionMetadata& operator=(const TaskExecutionMetadata& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskExecutionMetadata(TaskExecutionMetadata&& from) noexcept - : TaskExecutionMetadata() { - *this = ::std::move(from); - } - - inline TaskExecutionMetadata& operator=(TaskExecutionMetadata&& 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 TaskExecutionMetadata& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskExecutionMetadata* internal_default_instance() { - return reinterpret_cast( - &_TaskExecutionMetadata_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - void Swap(TaskExecutionMetadata* other); - friend void swap(TaskExecutionMetadata& a, TaskExecutionMetadata& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskExecutionMetadata* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskExecutionMetadata* 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 TaskExecutionMetadata& from); - void MergeFrom(const TaskExecutionMetadata& 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(TaskExecutionMetadata* 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 TaskExecutionMetadata_InstanceClass InstanceClass; - static const InstanceClass DEFAULT = - TaskExecutionMetadata_InstanceClass_DEFAULT; - static const InstanceClass INTERRUPTIBLE = - TaskExecutionMetadata_InstanceClass_INTERRUPTIBLE; - static inline bool InstanceClass_IsValid(int value) { - return TaskExecutionMetadata_InstanceClass_IsValid(value); - } - static const InstanceClass InstanceClass_MIN = - TaskExecutionMetadata_InstanceClass_InstanceClass_MIN; - static const InstanceClass InstanceClass_MAX = - TaskExecutionMetadata_InstanceClass_InstanceClass_MAX; - static const int InstanceClass_ARRAYSIZE = - TaskExecutionMetadata_InstanceClass_InstanceClass_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - InstanceClass_descriptor() { - return TaskExecutionMetadata_InstanceClass_descriptor(); - } - static inline const ::std::string& InstanceClass_Name(InstanceClass value) { - return TaskExecutionMetadata_InstanceClass_Name(value); - } - static inline bool InstanceClass_Parse(const ::std::string& name, - InstanceClass* value) { - return TaskExecutionMetadata_InstanceClass_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - int external_resources_size() const; - void clear_external_resources(); - static const int kExternalResourcesFieldNumber = 2; - ::flyteidl::event::ExternalResourceInfo* mutable_external_resources(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ExternalResourceInfo >* - mutable_external_resources(); - const ::flyteidl::event::ExternalResourceInfo& external_resources(int index) const; - ::flyteidl::event::ExternalResourceInfo* add_external_resources(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ExternalResourceInfo >& - external_resources() const; - - // repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - int resource_pool_info_size() const; - void clear_resource_pool_info(); - static const int kResourcePoolInfoFieldNumber = 3; - ::flyteidl::event::ResourcePoolInfo* mutable_resource_pool_info(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ResourcePoolInfo >* - mutable_resource_pool_info(); - const ::flyteidl::event::ResourcePoolInfo& resource_pool_info(int index) const; - ::flyteidl::event::ResourcePoolInfo* add_resource_pool_info(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ResourcePoolInfo >& - resource_pool_info() const; - - // string generated_name = 1; - void clear_generated_name(); - static const int kGeneratedNameFieldNumber = 1; - const ::std::string& generated_name() const; - void set_generated_name(const ::std::string& value); - #if LANG_CXX11 - void set_generated_name(::std::string&& value); - #endif - void set_generated_name(const char* value); - void set_generated_name(const char* value, size_t size); - ::std::string* mutable_generated_name(); - ::std::string* release_generated_name(); - void set_allocated_generated_name(::std::string* generated_name); - - // string plugin_identifier = 4; - void clear_plugin_identifier(); - static const int kPluginIdentifierFieldNumber = 4; - const ::std::string& plugin_identifier() const; - void set_plugin_identifier(const ::std::string& value); - #if LANG_CXX11 - void set_plugin_identifier(::std::string&& value); - #endif - void set_plugin_identifier(const char* value); - void set_plugin_identifier(const char* value, size_t size); - ::std::string* mutable_plugin_identifier(); - ::std::string* release_plugin_identifier(); - void set_allocated_plugin_identifier(::std::string* plugin_identifier); - - // .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - void clear_instance_class(); - static const int kInstanceClassFieldNumber = 16; - ::flyteidl::event::TaskExecutionMetadata_InstanceClass instance_class() const; - void set_instance_class(::flyteidl::event::TaskExecutionMetadata_InstanceClass value); - - // @@protoc_insertion_point(class_scope:flyteidl.event.TaskExecutionMetadata) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ExternalResourceInfo > external_resources_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ResourcePoolInfo > resource_pool_info_; - ::google::protobuf::internal::ArenaStringPtr generated_name_; - ::google::protobuf::internal::ArenaStringPtr plugin_identifier_; - int instance_class_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fevent_2fevent_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// WorkflowExecutionEvent - -// .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; -inline bool WorkflowExecutionEvent::has_execution_id() const { - return this != internal_default_instance() && execution_id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& WorkflowExecutionEvent::execution_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowExecutionEvent.execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionEvent::release_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.WorkflowExecutionEvent.execution_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_id_; - execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionEvent::mutable_execution_id() { - - if (execution_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - execution_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.WorkflowExecutionEvent.execution_id) - return execution_id_; -} -inline void WorkflowExecutionEvent::set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_id_); - } - if (execution_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - execution_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, execution_id, submessage_arena); - } - - } else { - - } - execution_id_ = execution_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.WorkflowExecutionEvent.execution_id) -} - -// string producer_id = 2; -inline void WorkflowExecutionEvent::clear_producer_id() { - producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkflowExecutionEvent::producer_id() const { - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowExecutionEvent.producer_id) - return producer_id_.GetNoArena(); -} -inline void WorkflowExecutionEvent::set_producer_id(const ::std::string& value) { - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.WorkflowExecutionEvent.producer_id) -} -#if LANG_CXX11 -inline void WorkflowExecutionEvent::set_producer_id(::std::string&& value) { - - producer_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.WorkflowExecutionEvent.producer_id) -} -#endif -inline void WorkflowExecutionEvent::set_producer_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.WorkflowExecutionEvent.producer_id) -} -inline void WorkflowExecutionEvent::set_producer_id(const char* value, size_t size) { - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.WorkflowExecutionEvent.producer_id) -} -inline ::std::string* WorkflowExecutionEvent::mutable_producer_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.WorkflowExecutionEvent.producer_id) - return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowExecutionEvent::release_producer_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.WorkflowExecutionEvent.producer_id) - - return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkflowExecutionEvent::set_allocated_producer_id(::std::string* producer_id) { - if (producer_id != nullptr) { - - } else { - - } - producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.WorkflowExecutionEvent.producer_id) -} - -// .flyteidl.core.WorkflowExecution.Phase phase = 3; -inline void WorkflowExecutionEvent::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::WorkflowExecution_Phase WorkflowExecutionEvent::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowExecutionEvent.phase) - return static_cast< ::flyteidl::core::WorkflowExecution_Phase >(phase_); -} -inline void WorkflowExecutionEvent::set_phase(::flyteidl::core::WorkflowExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.WorkflowExecutionEvent.phase) -} - -// .google.protobuf.Timestamp occurred_at = 4; -inline bool WorkflowExecutionEvent::has_occurred_at() const { - return this != internal_default_instance() && occurred_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& WorkflowExecutionEvent::occurred_at() const { - const ::google::protobuf::Timestamp* p = occurred_at_; - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowExecutionEvent.occurred_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* WorkflowExecutionEvent::release_occurred_at() { - // @@protoc_insertion_point(field_release:flyteidl.event.WorkflowExecutionEvent.occurred_at) - - ::google::protobuf::Timestamp* temp = occurred_at_; - occurred_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* WorkflowExecutionEvent::mutable_occurred_at() { - - if (occurred_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - occurred_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.WorkflowExecutionEvent.occurred_at) - return occurred_at_; -} -inline void WorkflowExecutionEvent::set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(occurred_at_); - } - if (occurred_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(occurred_at)->GetArena(); - if (message_arena != submessage_arena) { - occurred_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, occurred_at, submessage_arena); - } - - } else { - - } - occurred_at_ = occurred_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.WorkflowExecutionEvent.occurred_at) -} - -// string output_uri = 5; -inline bool WorkflowExecutionEvent::has_output_uri() const { - return output_result_case() == kOutputUri; -} -inline void WorkflowExecutionEvent::set_has_output_uri() { - _oneof_case_[0] = kOutputUri; -} -inline void WorkflowExecutionEvent::clear_output_uri() { - if (has_output_uri()) { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_output_result(); - } -} -inline const ::std::string& WorkflowExecutionEvent::output_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowExecutionEvent.output_uri) - if (has_output_uri()) { - return output_result_.output_uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void WorkflowExecutionEvent::set_output_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.WorkflowExecutionEvent.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.WorkflowExecutionEvent.output_uri) -} -#if LANG_CXX11 -inline void WorkflowExecutionEvent::set_output_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.WorkflowExecutionEvent.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.WorkflowExecutionEvent.output_uri) -} -#endif -inline void WorkflowExecutionEvent::set_output_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.WorkflowExecutionEvent.output_uri) -} -inline void WorkflowExecutionEvent::set_output_uri(const char* value, size_t size) { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.WorkflowExecutionEvent.output_uri) -} -inline ::std::string* WorkflowExecutionEvent::mutable_output_uri() { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.WorkflowExecutionEvent.output_uri) - return output_result_.output_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkflowExecutionEvent::release_output_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.WorkflowExecutionEvent.output_uri) - if (has_output_uri()) { - clear_has_output_result(); - return output_result_.output_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void WorkflowExecutionEvent::set_allocated_output_uri(::std::string* output_uri) { - if (has_output_result()) { - clear_output_result(); - } - if (output_uri != nullptr) { - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(output_uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.WorkflowExecutionEvent.output_uri) -} - -// .flyteidl.core.ExecutionError error = 6; -inline bool WorkflowExecutionEvent::has_error() const { - return output_result_case() == kError; -} -inline void WorkflowExecutionEvent::set_has_error() { - _oneof_case_[0] = kError; -} -inline ::flyteidl::core::ExecutionError* WorkflowExecutionEvent::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.event.WorkflowExecutionEvent.error) - if (has_error()) { - clear_has_output_result(); - ::flyteidl::core::ExecutionError* temp = output_result_.error_; - output_result_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ExecutionError& WorkflowExecutionEvent::error() const { - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowExecutionEvent.error) - return has_error() - ? *output_result_.error_ - : *reinterpret_cast< ::flyteidl::core::ExecutionError*>(&::flyteidl::core::_ExecutionError_default_instance_); -} -inline ::flyteidl::core::ExecutionError* WorkflowExecutionEvent::mutable_error() { - if (!has_error()) { - clear_output_result(); - set_has_error(); - output_result_.error_ = CreateMaybeMessage< ::flyteidl::core::ExecutionError >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.WorkflowExecutionEvent.error) - return output_result_.error_; -} - -// .flyteidl.core.LiteralMap output_data = 7; -inline bool WorkflowExecutionEvent::has_output_data() const { - return output_result_case() == kOutputData; -} -inline void WorkflowExecutionEvent::set_has_output_data() { - _oneof_case_[0] = kOutputData; -} -inline ::flyteidl::core::LiteralMap* WorkflowExecutionEvent::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.WorkflowExecutionEvent.output_data) - if (has_output_data()) { - clear_has_output_result(); - ::flyteidl::core::LiteralMap* temp = output_result_.output_data_; - output_result_.output_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& WorkflowExecutionEvent::output_data() const { - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowExecutionEvent.output_data) - return has_output_data() - ? *output_result_.output_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* WorkflowExecutionEvent::mutable_output_data() { - if (!has_output_data()) { - clear_output_result(); - set_has_output_data(); - output_result_.output_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.WorkflowExecutionEvent.output_data) - return output_result_.output_data_; -} - -inline bool WorkflowExecutionEvent::has_output_result() const { - return output_result_case() != OUTPUT_RESULT_NOT_SET; -} -inline void WorkflowExecutionEvent::clear_has_output_result() { - _oneof_case_[0] = OUTPUT_RESULT_NOT_SET; -} -inline WorkflowExecutionEvent::OutputResultCase WorkflowExecutionEvent::output_result_case() const { - return WorkflowExecutionEvent::OutputResultCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// NodeExecutionEvent - -// .flyteidl.core.NodeExecutionIdentifier id = 1; -inline bool NodeExecutionEvent::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& NodeExecutionEvent::id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecutionEvent::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* NodeExecutionEvent::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.id) - return id_; -} -inline void NodeExecutionEvent::set_allocated_id(::flyteidl::core::NodeExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.id) -} - -// string producer_id = 2; -inline void NodeExecutionEvent::clear_producer_id() { - producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionEvent::producer_id() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.producer_id) - return producer_id_.GetNoArena(); -} -inline void NodeExecutionEvent::set_producer_id(const ::std::string& value) { - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.producer_id) -} -#if LANG_CXX11 -inline void NodeExecutionEvent::set_producer_id(::std::string&& value) { - - producer_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.NodeExecutionEvent.producer_id) -} -#endif -inline void NodeExecutionEvent::set_producer_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.NodeExecutionEvent.producer_id) -} -inline void NodeExecutionEvent::set_producer_id(const char* value, size_t size) { - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.NodeExecutionEvent.producer_id) -} -inline ::std::string* NodeExecutionEvent::mutable_producer_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.producer_id) - return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEvent::release_producer_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.producer_id) - - return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionEvent::set_allocated_producer_id(::std::string* producer_id) { - if (producer_id != nullptr) { - - } else { - - } - producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.producer_id) -} - -// .flyteidl.core.NodeExecution.Phase phase = 3; -inline void NodeExecutionEvent::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::NodeExecution_Phase NodeExecutionEvent::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.phase) - return static_cast< ::flyteidl::core::NodeExecution_Phase >(phase_); -} -inline void NodeExecutionEvent::set_phase(::flyteidl::core::NodeExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.phase) -} - -// .google.protobuf.Timestamp occurred_at = 4; -inline bool NodeExecutionEvent::has_occurred_at() const { - return this != internal_default_instance() && occurred_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& NodeExecutionEvent::occurred_at() const { - const ::google::protobuf::Timestamp* p = occurred_at_; - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.occurred_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* NodeExecutionEvent::release_occurred_at() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.occurred_at) - - ::google::protobuf::Timestamp* temp = occurred_at_; - occurred_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* NodeExecutionEvent::mutable_occurred_at() { - - if (occurred_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - occurred_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.occurred_at) - return occurred_at_; -} -inline void NodeExecutionEvent::set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(occurred_at_); - } - if (occurred_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(occurred_at)->GetArena(); - if (message_arena != submessage_arena) { - occurred_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, occurred_at, submessage_arena); - } - - } else { - - } - occurred_at_ = occurred_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.occurred_at) -} - -// string input_uri = 5; -inline bool NodeExecutionEvent::has_input_uri() const { - return input_value_case() == kInputUri; -} -inline void NodeExecutionEvent::set_has_input_uri() { - _oneof_case_[0] = kInputUri; -} -inline void NodeExecutionEvent::clear_input_uri() { - if (has_input_uri()) { - input_value_.input_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_input_value(); - } -} -inline const ::std::string& NodeExecutionEvent::input_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.input_uri) - if (has_input_uri()) { - return input_value_.input_uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void NodeExecutionEvent::set_input_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.input_uri) - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.input_uri) -} -#if LANG_CXX11 -inline void NodeExecutionEvent::set_input_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.input_uri) - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.NodeExecutionEvent.input_uri) -} -#endif -inline void NodeExecutionEvent::set_input_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.NodeExecutionEvent.input_uri) -} -inline void NodeExecutionEvent::set_input_uri(const char* value, size_t size) { - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.NodeExecutionEvent.input_uri) -} -inline ::std::string* NodeExecutionEvent::mutable_input_uri() { - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.input_uri) - return input_value_.input_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEvent::release_input_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.input_uri) - if (has_input_uri()) { - clear_has_input_value(); - return input_value_.input_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void NodeExecutionEvent::set_allocated_input_uri(::std::string* input_uri) { - if (has_input_value()) { - clear_input_value(); - } - if (input_uri != nullptr) { - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(input_uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.input_uri) -} - -// .flyteidl.core.LiteralMap input_data = 20; -inline bool NodeExecutionEvent::has_input_data() const { - return input_value_case() == kInputData; -} -inline void NodeExecutionEvent::set_has_input_data() { - _oneof_case_[0] = kInputData; -} -inline ::flyteidl::core::LiteralMap* NodeExecutionEvent::release_input_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.input_data) - if (has_input_data()) { - clear_has_input_value(); - ::flyteidl::core::LiteralMap* temp = input_value_.input_data_; - input_value_.input_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& NodeExecutionEvent::input_data() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.input_data) - return has_input_data() - ? *input_value_.input_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* NodeExecutionEvent::mutable_input_data() { - if (!has_input_data()) { - clear_input_value(); - set_has_input_data(); - input_value_.input_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.input_data) - return input_value_.input_data_; -} - -// string output_uri = 6; -inline bool NodeExecutionEvent::has_output_uri() const { - return output_result_case() == kOutputUri; -} -inline void NodeExecutionEvent::set_has_output_uri() { - _oneof_case_[1] = kOutputUri; -} -inline void NodeExecutionEvent::clear_output_uri() { - if (has_output_uri()) { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_output_result(); - } -} -inline const ::std::string& NodeExecutionEvent::output_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.output_uri) - if (has_output_uri()) { - return output_result_.output_uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void NodeExecutionEvent::set_output_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.output_uri) -} -#if LANG_CXX11 -inline void NodeExecutionEvent::set_output_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.NodeExecutionEvent.output_uri) -} -#endif -inline void NodeExecutionEvent::set_output_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.NodeExecutionEvent.output_uri) -} -inline void NodeExecutionEvent::set_output_uri(const char* value, size_t size) { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.NodeExecutionEvent.output_uri) -} -inline ::std::string* NodeExecutionEvent::mutable_output_uri() { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.output_uri) - return output_result_.output_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEvent::release_output_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.output_uri) - if (has_output_uri()) { - clear_has_output_result(); - return output_result_.output_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void NodeExecutionEvent::set_allocated_output_uri(::std::string* output_uri) { - if (has_output_result()) { - clear_output_result(); - } - if (output_uri != nullptr) { - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(output_uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.output_uri) -} - -// .flyteidl.core.ExecutionError error = 7; -inline bool NodeExecutionEvent::has_error() const { - return output_result_case() == kError; -} -inline void NodeExecutionEvent::set_has_error() { - _oneof_case_[1] = kError; -} -inline ::flyteidl::core::ExecutionError* NodeExecutionEvent::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.error) - if (has_error()) { - clear_has_output_result(); - ::flyteidl::core::ExecutionError* temp = output_result_.error_; - output_result_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ExecutionError& NodeExecutionEvent::error() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.error) - return has_error() - ? *output_result_.error_ - : *reinterpret_cast< ::flyteidl::core::ExecutionError*>(&::flyteidl::core::_ExecutionError_default_instance_); -} -inline ::flyteidl::core::ExecutionError* NodeExecutionEvent::mutable_error() { - if (!has_error()) { - clear_output_result(); - set_has_error(); - output_result_.error_ = CreateMaybeMessage< ::flyteidl::core::ExecutionError >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.error) - return output_result_.error_; -} - -// .flyteidl.core.LiteralMap output_data = 15; -inline bool NodeExecutionEvent::has_output_data() const { - return output_result_case() == kOutputData; -} -inline void NodeExecutionEvent::set_has_output_data() { - _oneof_case_[1] = kOutputData; -} -inline ::flyteidl::core::LiteralMap* NodeExecutionEvent::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.output_data) - if (has_output_data()) { - clear_has_output_result(); - ::flyteidl::core::LiteralMap* temp = output_result_.output_data_; - output_result_.output_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& NodeExecutionEvent::output_data() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.output_data) - return has_output_data() - ? *output_result_.output_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* NodeExecutionEvent::mutable_output_data() { - if (!has_output_data()) { - clear_output_result(); - set_has_output_data(); - output_result_.output_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.output_data) - return output_result_.output_data_; -} - -// .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; -inline bool NodeExecutionEvent::has_workflow_node_metadata() const { - return target_metadata_case() == kWorkflowNodeMetadata; -} -inline void NodeExecutionEvent::set_has_workflow_node_metadata() { - _oneof_case_[2] = kWorkflowNodeMetadata; -} -inline void NodeExecutionEvent::clear_workflow_node_metadata() { - if (has_workflow_node_metadata()) { - delete target_metadata_.workflow_node_metadata_; - clear_has_target_metadata(); - } -} -inline ::flyteidl::event::WorkflowNodeMetadata* NodeExecutionEvent::release_workflow_node_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.workflow_node_metadata) - if (has_workflow_node_metadata()) { - clear_has_target_metadata(); - ::flyteidl::event::WorkflowNodeMetadata* temp = target_metadata_.workflow_node_metadata_; - target_metadata_.workflow_node_metadata_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::event::WorkflowNodeMetadata& NodeExecutionEvent::workflow_node_metadata() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.workflow_node_metadata) - return has_workflow_node_metadata() - ? *target_metadata_.workflow_node_metadata_ - : *reinterpret_cast< ::flyteidl::event::WorkflowNodeMetadata*>(&::flyteidl::event::_WorkflowNodeMetadata_default_instance_); -} -inline ::flyteidl::event::WorkflowNodeMetadata* NodeExecutionEvent::mutable_workflow_node_metadata() { - if (!has_workflow_node_metadata()) { - clear_target_metadata(); - set_has_workflow_node_metadata(); - target_metadata_.workflow_node_metadata_ = CreateMaybeMessage< ::flyteidl::event::WorkflowNodeMetadata >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.workflow_node_metadata) - return target_metadata_.workflow_node_metadata_; -} - -// .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; -inline bool NodeExecutionEvent::has_task_node_metadata() const { - return target_metadata_case() == kTaskNodeMetadata; -} -inline void NodeExecutionEvent::set_has_task_node_metadata() { - _oneof_case_[2] = kTaskNodeMetadata; -} -inline void NodeExecutionEvent::clear_task_node_metadata() { - if (has_task_node_metadata()) { - delete target_metadata_.task_node_metadata_; - clear_has_target_metadata(); - } -} -inline ::flyteidl::event::TaskNodeMetadata* NodeExecutionEvent::release_task_node_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.task_node_metadata) - if (has_task_node_metadata()) { - clear_has_target_metadata(); - ::flyteidl::event::TaskNodeMetadata* temp = target_metadata_.task_node_metadata_; - target_metadata_.task_node_metadata_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::event::TaskNodeMetadata& NodeExecutionEvent::task_node_metadata() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.task_node_metadata) - return has_task_node_metadata() - ? *target_metadata_.task_node_metadata_ - : *reinterpret_cast< ::flyteidl::event::TaskNodeMetadata*>(&::flyteidl::event::_TaskNodeMetadata_default_instance_); -} -inline ::flyteidl::event::TaskNodeMetadata* NodeExecutionEvent::mutable_task_node_metadata() { - if (!has_task_node_metadata()) { - clear_target_metadata(); - set_has_task_node_metadata(); - target_metadata_.task_node_metadata_ = CreateMaybeMessage< ::flyteidl::event::TaskNodeMetadata >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.task_node_metadata) - return target_metadata_.task_node_metadata_; -} - -// .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; -inline bool NodeExecutionEvent::has_parent_task_metadata() const { - return this != internal_default_instance() && parent_task_metadata_ != nullptr; -} -inline void NodeExecutionEvent::clear_parent_task_metadata() { - if (GetArenaNoVirtual() == nullptr && parent_task_metadata_ != nullptr) { - delete parent_task_metadata_; - } - parent_task_metadata_ = nullptr; -} -inline const ::flyteidl::event::ParentTaskExecutionMetadata& NodeExecutionEvent::parent_task_metadata() const { - const ::flyteidl::event::ParentTaskExecutionMetadata* p = parent_task_metadata_; - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.parent_task_metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_ParentTaskExecutionMetadata_default_instance_); -} -inline ::flyteidl::event::ParentTaskExecutionMetadata* NodeExecutionEvent::release_parent_task_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.parent_task_metadata) - - ::flyteidl::event::ParentTaskExecutionMetadata* temp = parent_task_metadata_; - parent_task_metadata_ = nullptr; - return temp; -} -inline ::flyteidl::event::ParentTaskExecutionMetadata* NodeExecutionEvent::mutable_parent_task_metadata() { - - if (parent_task_metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::ParentTaskExecutionMetadata>(GetArenaNoVirtual()); - parent_task_metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.parent_task_metadata) - return parent_task_metadata_; -} -inline void NodeExecutionEvent::set_allocated_parent_task_metadata(::flyteidl::event::ParentTaskExecutionMetadata* parent_task_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete parent_task_metadata_; - } - if (parent_task_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - parent_task_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, parent_task_metadata, submessage_arena); - } - - } else { - - } - parent_task_metadata_ = parent_task_metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.parent_task_metadata) -} - -// .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; -inline bool NodeExecutionEvent::has_parent_node_metadata() const { - return this != internal_default_instance() && parent_node_metadata_ != nullptr; -} -inline void NodeExecutionEvent::clear_parent_node_metadata() { - if (GetArenaNoVirtual() == nullptr && parent_node_metadata_ != nullptr) { - delete parent_node_metadata_; - } - parent_node_metadata_ = nullptr; -} -inline const ::flyteidl::event::ParentNodeExecutionMetadata& NodeExecutionEvent::parent_node_metadata() const { - const ::flyteidl::event::ParentNodeExecutionMetadata* p = parent_node_metadata_; - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.parent_node_metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_ParentNodeExecutionMetadata_default_instance_); -} -inline ::flyteidl::event::ParentNodeExecutionMetadata* NodeExecutionEvent::release_parent_node_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.parent_node_metadata) - - ::flyteidl::event::ParentNodeExecutionMetadata* temp = parent_node_metadata_; - parent_node_metadata_ = nullptr; - return temp; -} -inline ::flyteidl::event::ParentNodeExecutionMetadata* NodeExecutionEvent::mutable_parent_node_metadata() { - - if (parent_node_metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::ParentNodeExecutionMetadata>(GetArenaNoVirtual()); - parent_node_metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.parent_node_metadata) - return parent_node_metadata_; -} -inline void NodeExecutionEvent::set_allocated_parent_node_metadata(::flyteidl::event::ParentNodeExecutionMetadata* parent_node_metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete parent_node_metadata_; - } - if (parent_node_metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - parent_node_metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, parent_node_metadata, submessage_arena); - } - - } else { - - } - parent_node_metadata_ = parent_node_metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.parent_node_metadata) -} - -// string retry_group = 11; -inline void NodeExecutionEvent::clear_retry_group() { - retry_group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionEvent::retry_group() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.retry_group) - return retry_group_.GetNoArena(); -} -inline void NodeExecutionEvent::set_retry_group(const ::std::string& value) { - - retry_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.retry_group) -} -#if LANG_CXX11 -inline void NodeExecutionEvent::set_retry_group(::std::string&& value) { - - retry_group_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.NodeExecutionEvent.retry_group) -} -#endif -inline void NodeExecutionEvent::set_retry_group(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - retry_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.NodeExecutionEvent.retry_group) -} -inline void NodeExecutionEvent::set_retry_group(const char* value, size_t size) { - - retry_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.NodeExecutionEvent.retry_group) -} -inline ::std::string* NodeExecutionEvent::mutable_retry_group() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.retry_group) - return retry_group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEvent::release_retry_group() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.retry_group) - - return retry_group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionEvent::set_allocated_retry_group(::std::string* retry_group) { - if (retry_group != nullptr) { - - } else { - - } - retry_group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), retry_group); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.retry_group) -} - -// string spec_node_id = 12; -inline void NodeExecutionEvent::clear_spec_node_id() { - spec_node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionEvent::spec_node_id() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.spec_node_id) - return spec_node_id_.GetNoArena(); -} -inline void NodeExecutionEvent::set_spec_node_id(const ::std::string& value) { - - spec_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.spec_node_id) -} -#if LANG_CXX11 -inline void NodeExecutionEvent::set_spec_node_id(::std::string&& value) { - - spec_node_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.NodeExecutionEvent.spec_node_id) -} -#endif -inline void NodeExecutionEvent::set_spec_node_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - spec_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.NodeExecutionEvent.spec_node_id) -} -inline void NodeExecutionEvent::set_spec_node_id(const char* value, size_t size) { - - spec_node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.NodeExecutionEvent.spec_node_id) -} -inline ::std::string* NodeExecutionEvent::mutable_spec_node_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.spec_node_id) - return spec_node_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEvent::release_spec_node_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.spec_node_id) - - return spec_node_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionEvent::set_allocated_spec_node_id(::std::string* spec_node_id) { - if (spec_node_id != nullptr) { - - } else { - - } - spec_node_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), spec_node_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.spec_node_id) -} - -// string node_name = 13; -inline void NodeExecutionEvent::clear_node_name() { - node_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionEvent::node_name() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.node_name) - return node_name_.GetNoArena(); -} -inline void NodeExecutionEvent::set_node_name(const ::std::string& value) { - - node_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.node_name) -} -#if LANG_CXX11 -inline void NodeExecutionEvent::set_node_name(::std::string&& value) { - - node_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.NodeExecutionEvent.node_name) -} -#endif -inline void NodeExecutionEvent::set_node_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - node_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.NodeExecutionEvent.node_name) -} -inline void NodeExecutionEvent::set_node_name(const char* value, size_t size) { - - node_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.NodeExecutionEvent.node_name) -} -inline ::std::string* NodeExecutionEvent::mutable_node_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.node_name) - return node_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEvent::release_node_name() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.node_name) - - return node_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionEvent::set_allocated_node_name(::std::string* node_name) { - if (node_name != nullptr) { - - } else { - - } - node_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), node_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.node_name) -} - -// int32 event_version = 16; -inline void NodeExecutionEvent::clear_event_version() { - event_version_ = 0; -} -inline ::google::protobuf::int32 NodeExecutionEvent::event_version() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.event_version) - return event_version_; -} -inline void NodeExecutionEvent::set_event_version(::google::protobuf::int32 value) { - - event_version_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.event_version) -} - -// bool is_parent = 17; -inline void NodeExecutionEvent::clear_is_parent() { - is_parent_ = false; -} -inline bool NodeExecutionEvent::is_parent() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.is_parent) - return is_parent_; -} -inline void NodeExecutionEvent::set_is_parent(bool value) { - - is_parent_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.is_parent) -} - -// bool is_dynamic = 18; -inline void NodeExecutionEvent::clear_is_dynamic() { - is_dynamic_ = false; -} -inline bool NodeExecutionEvent::is_dynamic() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.is_dynamic) - return is_dynamic_; -} -inline void NodeExecutionEvent::set_is_dynamic(bool value) { - - is_dynamic_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.is_dynamic) -} - -// string deck_uri = 19; -inline void NodeExecutionEvent::clear_deck_uri() { - deck_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& NodeExecutionEvent::deck_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.deck_uri) - return deck_uri_.GetNoArena(); -} -inline void NodeExecutionEvent::set_deck_uri(const ::std::string& value) { - - deck_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.deck_uri) -} -#if LANG_CXX11 -inline void NodeExecutionEvent::set_deck_uri(::std::string&& value) { - - deck_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.NodeExecutionEvent.deck_uri) -} -#endif -inline void NodeExecutionEvent::set_deck_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - deck_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.NodeExecutionEvent.deck_uri) -} -inline void NodeExecutionEvent::set_deck_uri(const char* value, size_t size) { - - deck_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.NodeExecutionEvent.deck_uri) -} -inline ::std::string* NodeExecutionEvent::mutable_deck_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.deck_uri) - return deck_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* NodeExecutionEvent::release_deck_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.deck_uri) - - return deck_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void NodeExecutionEvent::set_allocated_deck_uri(::std::string* deck_uri) { - if (deck_uri != nullptr) { - - } else { - - } - deck_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), deck_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.deck_uri) -} - -// .google.protobuf.Timestamp reported_at = 21; -inline bool NodeExecutionEvent::has_reported_at() const { - return this != internal_default_instance() && reported_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& NodeExecutionEvent::reported_at() const { - const ::google::protobuf::Timestamp* p = reported_at_; - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.reported_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* NodeExecutionEvent::release_reported_at() { - // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.reported_at) - - ::google::protobuf::Timestamp* temp = reported_at_; - reported_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* NodeExecutionEvent::mutable_reported_at() { - - if (reported_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - reported_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.reported_at) - return reported_at_; -} -inline void NodeExecutionEvent::set_allocated_reported_at(::google::protobuf::Timestamp* reported_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(reported_at_); - } - if (reported_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(reported_at)->GetArena(); - if (message_arena != submessage_arena) { - reported_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reported_at, submessage_arena); - } - - } else { - - } - reported_at_ = reported_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.reported_at) -} - -// bool is_array = 22; -inline void NodeExecutionEvent::clear_is_array() { - is_array_ = false; -} -inline bool NodeExecutionEvent::is_array() const { - // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.is_array) - return is_array_; -} -inline void NodeExecutionEvent::set_is_array(bool value) { - - is_array_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.NodeExecutionEvent.is_array) -} - -inline bool NodeExecutionEvent::has_input_value() const { - return input_value_case() != INPUT_VALUE_NOT_SET; -} -inline void NodeExecutionEvent::clear_has_input_value() { - _oneof_case_[0] = INPUT_VALUE_NOT_SET; -} -inline bool NodeExecutionEvent::has_output_result() const { - return output_result_case() != OUTPUT_RESULT_NOT_SET; -} -inline void NodeExecutionEvent::clear_has_output_result() { - _oneof_case_[1] = OUTPUT_RESULT_NOT_SET; -} -inline bool NodeExecutionEvent::has_target_metadata() const { - return target_metadata_case() != TARGET_METADATA_NOT_SET; -} -inline void NodeExecutionEvent::clear_has_target_metadata() { - _oneof_case_[2] = TARGET_METADATA_NOT_SET; -} -inline NodeExecutionEvent::InputValueCase NodeExecutionEvent::input_value_case() const { - return NodeExecutionEvent::InputValueCase(_oneof_case_[0]); -} -inline NodeExecutionEvent::OutputResultCase NodeExecutionEvent::output_result_case() const { - return NodeExecutionEvent::OutputResultCase(_oneof_case_[1]); -} -inline NodeExecutionEvent::TargetMetadataCase NodeExecutionEvent::target_metadata_case() const { - return NodeExecutionEvent::TargetMetadataCase(_oneof_case_[2]); -} -// ------------------------------------------------------------------- - -// WorkflowNodeMetadata - -// .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; -inline bool WorkflowNodeMetadata::has_execution_id() const { - return this != internal_default_instance() && execution_id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& WorkflowNodeMetadata::execution_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.WorkflowNodeMetadata.execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowNodeMetadata::release_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.WorkflowNodeMetadata.execution_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_id_; - execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowNodeMetadata::mutable_execution_id() { - - if (execution_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - execution_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.WorkflowNodeMetadata.execution_id) - return execution_id_; -} -inline void WorkflowNodeMetadata::set_allocated_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_id_); - } - if (execution_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - execution_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, execution_id, submessage_arena); - } - - } else { - - } - execution_id_ = execution_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.WorkflowNodeMetadata.execution_id) -} - -// ------------------------------------------------------------------- - -// TaskNodeMetadata - -// .flyteidl.core.CatalogCacheStatus cache_status = 1; -inline void TaskNodeMetadata::clear_cache_status() { - cache_status_ = 0; -} -inline ::flyteidl::core::CatalogCacheStatus TaskNodeMetadata::cache_status() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskNodeMetadata.cache_status) - return static_cast< ::flyteidl::core::CatalogCacheStatus >(cache_status_); -} -inline void TaskNodeMetadata::set_cache_status(::flyteidl::core::CatalogCacheStatus value) { - - cache_status_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.TaskNodeMetadata.cache_status) -} - -// .flyteidl.core.CatalogMetadata catalog_key = 2; -inline bool TaskNodeMetadata::has_catalog_key() const { - return this != internal_default_instance() && catalog_key_ != nullptr; -} -inline const ::flyteidl::core::CatalogMetadata& TaskNodeMetadata::catalog_key() const { - const ::flyteidl::core::CatalogMetadata* p = catalog_key_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskNodeMetadata.catalog_key) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CatalogMetadata_default_instance_); -} -inline ::flyteidl::core::CatalogMetadata* TaskNodeMetadata::release_catalog_key() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskNodeMetadata.catalog_key) - - ::flyteidl::core::CatalogMetadata* temp = catalog_key_; - catalog_key_ = nullptr; - return temp; -} -inline ::flyteidl::core::CatalogMetadata* TaskNodeMetadata::mutable_catalog_key() { - - if (catalog_key_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CatalogMetadata>(GetArenaNoVirtual()); - catalog_key_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskNodeMetadata.catalog_key) - return catalog_key_; -} -inline void TaskNodeMetadata::set_allocated_catalog_key(::flyteidl::core::CatalogMetadata* catalog_key) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(catalog_key_); - } - if (catalog_key) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - catalog_key = ::google::protobuf::internal::GetOwnedMessage( - message_arena, catalog_key, submessage_arena); - } - - } else { - - } - catalog_key_ = catalog_key; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskNodeMetadata.catalog_key) -} - -// .flyteidl.core.CatalogReservation.Status reservation_status = 3; -inline void TaskNodeMetadata::clear_reservation_status() { - reservation_status_ = 0; -} -inline ::flyteidl::core::CatalogReservation_Status TaskNodeMetadata::reservation_status() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskNodeMetadata.reservation_status) - return static_cast< ::flyteidl::core::CatalogReservation_Status >(reservation_status_); -} -inline void TaskNodeMetadata::set_reservation_status(::flyteidl::core::CatalogReservation_Status value) { - - reservation_status_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.TaskNodeMetadata.reservation_status) -} - -// string checkpoint_uri = 4; -inline void TaskNodeMetadata::clear_checkpoint_uri() { - checkpoint_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskNodeMetadata::checkpoint_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskNodeMetadata.checkpoint_uri) - return checkpoint_uri_.GetNoArena(); -} -inline void TaskNodeMetadata::set_checkpoint_uri(const ::std::string& value) { - - checkpoint_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskNodeMetadata.checkpoint_uri) -} -#if LANG_CXX11 -inline void TaskNodeMetadata::set_checkpoint_uri(::std::string&& value) { - - checkpoint_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskNodeMetadata.checkpoint_uri) -} -#endif -inline void TaskNodeMetadata::set_checkpoint_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - checkpoint_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskNodeMetadata.checkpoint_uri) -} -inline void TaskNodeMetadata::set_checkpoint_uri(const char* value, size_t size) { - - checkpoint_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskNodeMetadata.checkpoint_uri) -} -inline ::std::string* TaskNodeMetadata::mutable_checkpoint_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskNodeMetadata.checkpoint_uri) - return checkpoint_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskNodeMetadata::release_checkpoint_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskNodeMetadata.checkpoint_uri) - - return checkpoint_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskNodeMetadata::set_allocated_checkpoint_uri(::std::string* checkpoint_uri) { - if (checkpoint_uri != nullptr) { - - } else { - - } - checkpoint_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), checkpoint_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskNodeMetadata.checkpoint_uri) -} - -// .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; -inline bool TaskNodeMetadata::has_dynamic_workflow() const { - return this != internal_default_instance() && dynamic_workflow_ != nullptr; -} -inline void TaskNodeMetadata::clear_dynamic_workflow() { - if (GetArenaNoVirtual() == nullptr && dynamic_workflow_ != nullptr) { - delete dynamic_workflow_; - } - dynamic_workflow_ = nullptr; -} -inline const ::flyteidl::event::DynamicWorkflowNodeMetadata& TaskNodeMetadata::dynamic_workflow() const { - const ::flyteidl::event::DynamicWorkflowNodeMetadata* p = dynamic_workflow_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskNodeMetadata.dynamic_workflow) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_DynamicWorkflowNodeMetadata_default_instance_); -} -inline ::flyteidl::event::DynamicWorkflowNodeMetadata* TaskNodeMetadata::release_dynamic_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskNodeMetadata.dynamic_workflow) - - ::flyteidl::event::DynamicWorkflowNodeMetadata* temp = dynamic_workflow_; - dynamic_workflow_ = nullptr; - return temp; -} -inline ::flyteidl::event::DynamicWorkflowNodeMetadata* TaskNodeMetadata::mutable_dynamic_workflow() { - - if (dynamic_workflow_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::DynamicWorkflowNodeMetadata>(GetArenaNoVirtual()); - dynamic_workflow_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskNodeMetadata.dynamic_workflow) - return dynamic_workflow_; -} -inline void TaskNodeMetadata::set_allocated_dynamic_workflow(::flyteidl::event::DynamicWorkflowNodeMetadata* dynamic_workflow) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete dynamic_workflow_; - } - if (dynamic_workflow) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - dynamic_workflow = ::google::protobuf::internal::GetOwnedMessage( - message_arena, dynamic_workflow, submessage_arena); - } - - } else { - - } - dynamic_workflow_ = dynamic_workflow; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskNodeMetadata.dynamic_workflow) -} - -// ------------------------------------------------------------------- - -// DynamicWorkflowNodeMetadata - -// .flyteidl.core.Identifier id = 1; -inline bool DynamicWorkflowNodeMetadata::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& DynamicWorkflowNodeMetadata::id() const { - const ::flyteidl::core::Identifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.event.DynamicWorkflowNodeMetadata.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* DynamicWorkflowNodeMetadata::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.DynamicWorkflowNodeMetadata.id) - - ::flyteidl::core::Identifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* DynamicWorkflowNodeMetadata::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.DynamicWorkflowNodeMetadata.id) - return id_; -} -inline void DynamicWorkflowNodeMetadata::set_allocated_id(::flyteidl::core::Identifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.DynamicWorkflowNodeMetadata.id) -} - -// .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; -inline bool DynamicWorkflowNodeMetadata::has_compiled_workflow() const { - return this != internal_default_instance() && compiled_workflow_ != nullptr; -} -inline const ::flyteidl::core::CompiledWorkflowClosure& DynamicWorkflowNodeMetadata::compiled_workflow() const { - const ::flyteidl::core::CompiledWorkflowClosure* p = compiled_workflow_; - // @@protoc_insertion_point(field_get:flyteidl.event.DynamicWorkflowNodeMetadata.compiled_workflow) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_CompiledWorkflowClosure_default_instance_); -} -inline ::flyteidl::core::CompiledWorkflowClosure* DynamicWorkflowNodeMetadata::release_compiled_workflow() { - // @@protoc_insertion_point(field_release:flyteidl.event.DynamicWorkflowNodeMetadata.compiled_workflow) - - ::flyteidl::core::CompiledWorkflowClosure* temp = compiled_workflow_; - compiled_workflow_ = nullptr; - return temp; -} -inline ::flyteidl::core::CompiledWorkflowClosure* DynamicWorkflowNodeMetadata::mutable_compiled_workflow() { - - if (compiled_workflow_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::CompiledWorkflowClosure>(GetArenaNoVirtual()); - compiled_workflow_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.DynamicWorkflowNodeMetadata.compiled_workflow) - return compiled_workflow_; -} -inline void DynamicWorkflowNodeMetadata::set_allocated_compiled_workflow(::flyteidl::core::CompiledWorkflowClosure* compiled_workflow) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(compiled_workflow_); - } - if (compiled_workflow) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - compiled_workflow = ::google::protobuf::internal::GetOwnedMessage( - message_arena, compiled_workflow, submessage_arena); - } - - } else { - - } - compiled_workflow_ = compiled_workflow; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.DynamicWorkflowNodeMetadata.compiled_workflow) -} - -// string dynamic_job_spec_uri = 3; -inline void DynamicWorkflowNodeMetadata::clear_dynamic_job_spec_uri() { - dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DynamicWorkflowNodeMetadata::dynamic_job_spec_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) - return dynamic_job_spec_uri_.GetNoArena(); -} -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const ::std::string& value) { - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -#if LANG_CXX11 -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(::std::string&& value) { - - dynamic_job_spec_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -#endif -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value, size_t size) { - - dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} -inline ::std::string* DynamicWorkflowNodeMetadata::mutable_dynamic_job_spec_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) - return dynamic_job_spec_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DynamicWorkflowNodeMetadata::release_dynamic_job_spec_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) - - return dynamic_job_spec_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DynamicWorkflowNodeMetadata::set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri) { - if (dynamic_job_spec_uri != nullptr) { - - } else { - - } - dynamic_job_spec_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dynamic_job_spec_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) -} - -// ------------------------------------------------------------------- - -// ParentTaskExecutionMetadata - -// .flyteidl.core.TaskExecutionIdentifier id = 1; -inline bool ParentTaskExecutionMetadata::has_id() const { - return this != internal_default_instance() && id_ != nullptr; -} -inline const ::flyteidl::core::TaskExecutionIdentifier& ParentTaskExecutionMetadata::id() const { - const ::flyteidl::core::TaskExecutionIdentifier* p = id_; - // @@protoc_insertion_point(field_get:flyteidl.event.ParentTaskExecutionMetadata.id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::TaskExecutionIdentifier* ParentTaskExecutionMetadata::release_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.ParentTaskExecutionMetadata.id) - - ::flyteidl::core::TaskExecutionIdentifier* temp = id_; - id_ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskExecutionIdentifier* ParentTaskExecutionMetadata::mutable_id() { - - if (id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(GetArenaNoVirtual()); - id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.ParentTaskExecutionMetadata.id) - return id_; -} -inline void ParentTaskExecutionMetadata::set_allocated_id(::flyteidl::core::TaskExecutionIdentifier* id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); - } - if (id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, id, submessage_arena); - } - - } else { - - } - id_ = id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.ParentTaskExecutionMetadata.id) -} - -// ------------------------------------------------------------------- - -// ParentNodeExecutionMetadata - -// string node_id = 1; -inline void ParentNodeExecutionMetadata::clear_node_id() { - node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ParentNodeExecutionMetadata::node_id() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ParentNodeExecutionMetadata.node_id) - return node_id_.GetNoArena(); -} -inline void ParentNodeExecutionMetadata::set_node_id(const ::std::string& value) { - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.ParentNodeExecutionMetadata.node_id) -} -#if LANG_CXX11 -inline void ParentNodeExecutionMetadata::set_node_id(::std::string&& value) { - - node_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.ParentNodeExecutionMetadata.node_id) -} -#endif -inline void ParentNodeExecutionMetadata::set_node_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.ParentNodeExecutionMetadata.node_id) -} -inline void ParentNodeExecutionMetadata::set_node_id(const char* value, size_t size) { - - node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.ParentNodeExecutionMetadata.node_id) -} -inline ::std::string* ParentNodeExecutionMetadata::mutable_node_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.ParentNodeExecutionMetadata.node_id) - return node_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ParentNodeExecutionMetadata::release_node_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.ParentNodeExecutionMetadata.node_id) - - return node_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ParentNodeExecutionMetadata::set_allocated_node_id(::std::string* node_id) { - if (node_id != nullptr) { - - } else { - - } - node_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), node_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.ParentNodeExecutionMetadata.node_id) -} - -// ------------------------------------------------------------------- - -// EventReason - -// string reason = 1; -inline void EventReason::clear_reason() { - reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& EventReason::reason() const { - // @@protoc_insertion_point(field_get:flyteidl.event.EventReason.reason) - return reason_.GetNoArena(); -} -inline void EventReason::set_reason(const ::std::string& value) { - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.EventReason.reason) -} -#if LANG_CXX11 -inline void EventReason::set_reason(::std::string&& value) { - - reason_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.EventReason.reason) -} -#endif -inline void EventReason::set_reason(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.EventReason.reason) -} -inline void EventReason::set_reason(const char* value, size_t size) { - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.EventReason.reason) -} -inline ::std::string* EventReason::mutable_reason() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.EventReason.reason) - return reason_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* EventReason::release_reason() { - // @@protoc_insertion_point(field_release:flyteidl.event.EventReason.reason) - - return reason_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void EventReason::set_allocated_reason(::std::string* reason) { - if (reason != nullptr) { - - } else { - - } - reason_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.EventReason.reason) -} - -// .google.protobuf.Timestamp occurred_at = 2; -inline bool EventReason::has_occurred_at() const { - return this != internal_default_instance() && occurred_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& EventReason::occurred_at() const { - const ::google::protobuf::Timestamp* p = occurred_at_; - // @@protoc_insertion_point(field_get:flyteidl.event.EventReason.occurred_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* EventReason::release_occurred_at() { - // @@protoc_insertion_point(field_release:flyteidl.event.EventReason.occurred_at) - - ::google::protobuf::Timestamp* temp = occurred_at_; - occurred_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* EventReason::mutable_occurred_at() { - - if (occurred_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - occurred_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.EventReason.occurred_at) - return occurred_at_; -} -inline void EventReason::set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(occurred_at_); - } - if (occurred_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(occurred_at)->GetArena(); - if (message_arena != submessage_arena) { - occurred_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, occurred_at, submessage_arena); - } - - } else { - - } - occurred_at_ = occurred_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.EventReason.occurred_at) -} - -// ------------------------------------------------------------------- - -// TaskExecutionEvent - -// .flyteidl.core.Identifier task_id = 1; -inline bool TaskExecutionEvent::has_task_id() const { - return this != internal_default_instance() && task_id_ != nullptr; -} -inline const ::flyteidl::core::Identifier& TaskExecutionEvent::task_id() const { - const ::flyteidl::core::Identifier* p = task_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.task_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Identifier_default_instance_); -} -inline ::flyteidl::core::Identifier* TaskExecutionEvent::release_task_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.task_id) - - ::flyteidl::core::Identifier* temp = task_id_; - task_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::Identifier* TaskExecutionEvent::mutable_task_id() { - - if (task_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); - task_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.task_id) - return task_id_; -} -inline void TaskExecutionEvent::set_allocated_task_id(::flyteidl::core::Identifier* task_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(task_id_); - } - if (task_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - task_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, task_id, submessage_arena); - } - - } else { - - } - task_id_ = task_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.task_id) -} - -// .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; -inline bool TaskExecutionEvent::has_parent_node_execution_id() const { - return this != internal_default_instance() && parent_node_execution_id_ != nullptr; -} -inline const ::flyteidl::core::NodeExecutionIdentifier& TaskExecutionEvent::parent_node_execution_id() const { - const ::flyteidl::core::NodeExecutionIdentifier* p = parent_node_execution_id_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.parent_node_execution_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* TaskExecutionEvent::release_parent_node_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.parent_node_execution_id) - - ::flyteidl::core::NodeExecutionIdentifier* temp = parent_node_execution_id_; - parent_node_execution_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::NodeExecutionIdentifier* TaskExecutionEvent::mutable_parent_node_execution_id() { - - if (parent_node_execution_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); - parent_node_execution_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.parent_node_execution_id) - return parent_node_execution_id_; -} -inline void TaskExecutionEvent::set_allocated_parent_node_execution_id(::flyteidl::core::NodeExecutionIdentifier* parent_node_execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(parent_node_execution_id_); - } - if (parent_node_execution_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - parent_node_execution_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, parent_node_execution_id, submessage_arena); - } - - } else { - - } - parent_node_execution_id_ = parent_node_execution_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.parent_node_execution_id) -} - -// uint32 retry_attempt = 3; -inline void TaskExecutionEvent::clear_retry_attempt() { - retry_attempt_ = 0u; -} -inline ::google::protobuf::uint32 TaskExecutionEvent::retry_attempt() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.retry_attempt) - return retry_attempt_; -} -inline void TaskExecutionEvent::set_retry_attempt(::google::protobuf::uint32 value) { - - retry_attempt_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.retry_attempt) -} - -// .flyteidl.core.TaskExecution.Phase phase = 4; -inline void TaskExecutionEvent::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::TaskExecution_Phase TaskExecutionEvent::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.phase) - return static_cast< ::flyteidl::core::TaskExecution_Phase >(phase_); -} -inline void TaskExecutionEvent::set_phase(::flyteidl::core::TaskExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.phase) -} - -// string producer_id = 5; -inline void TaskExecutionEvent::clear_producer_id() { - producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionEvent::producer_id() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.producer_id) - return producer_id_.GetNoArena(); -} -inline void TaskExecutionEvent::set_producer_id(const ::std::string& value) { - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.producer_id) -} -#if LANG_CXX11 -inline void TaskExecutionEvent::set_producer_id(::std::string&& value) { - - producer_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskExecutionEvent.producer_id) -} -#endif -inline void TaskExecutionEvent::set_producer_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskExecutionEvent.producer_id) -} -inline void TaskExecutionEvent::set_producer_id(const char* value, size_t size) { - - producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskExecutionEvent.producer_id) -} -inline ::std::string* TaskExecutionEvent::mutable_producer_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.producer_id) - return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionEvent::release_producer_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.producer_id) - - return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionEvent::set_allocated_producer_id(::std::string* producer_id) { - if (producer_id != nullptr) { - - } else { - - } - producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.producer_id) -} - -// repeated .flyteidl.core.TaskLog logs = 6; -inline int TaskExecutionEvent::logs_size() const { - return logs_.size(); -} -inline ::flyteidl::core::TaskLog* TaskExecutionEvent::mutable_logs(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.logs) - return logs_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* -TaskExecutionEvent::mutable_logs() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.TaskExecutionEvent.logs) - return &logs_; -} -inline const ::flyteidl::core::TaskLog& TaskExecutionEvent::logs(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.logs) - return logs_.Get(index); -} -inline ::flyteidl::core::TaskLog* TaskExecutionEvent::add_logs() { - // @@protoc_insertion_point(field_add:flyteidl.event.TaskExecutionEvent.logs) - return logs_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& -TaskExecutionEvent::logs() const { - // @@protoc_insertion_point(field_list:flyteidl.event.TaskExecutionEvent.logs) - return logs_; -} - -// .google.protobuf.Timestamp occurred_at = 7; -inline bool TaskExecutionEvent::has_occurred_at() const { - return this != internal_default_instance() && occurred_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& TaskExecutionEvent::occurred_at() const { - const ::google::protobuf::Timestamp* p = occurred_at_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.occurred_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* TaskExecutionEvent::release_occurred_at() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.occurred_at) - - ::google::protobuf::Timestamp* temp = occurred_at_; - occurred_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* TaskExecutionEvent::mutable_occurred_at() { - - if (occurred_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - occurred_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.occurred_at) - return occurred_at_; -} -inline void TaskExecutionEvent::set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(occurred_at_); - } - if (occurred_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(occurred_at)->GetArena(); - if (message_arena != submessage_arena) { - occurred_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, occurred_at, submessage_arena); - } - - } else { - - } - occurred_at_ = occurred_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.occurred_at) -} - -// string input_uri = 8; -inline bool TaskExecutionEvent::has_input_uri() const { - return input_value_case() == kInputUri; -} -inline void TaskExecutionEvent::set_has_input_uri() { - _oneof_case_[0] = kInputUri; -} -inline void TaskExecutionEvent::clear_input_uri() { - if (has_input_uri()) { - input_value_.input_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_input_value(); - } -} -inline const ::std::string& TaskExecutionEvent::input_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.input_uri) - if (has_input_uri()) { - return input_value_.input_uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void TaskExecutionEvent::set_input_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.input_uri) - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.input_uri) -} -#if LANG_CXX11 -inline void TaskExecutionEvent::set_input_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.input_uri) - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskExecutionEvent.input_uri) -} -#endif -inline void TaskExecutionEvent::set_input_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskExecutionEvent.input_uri) -} -inline void TaskExecutionEvent::set_input_uri(const char* value, size_t size) { - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - input_value_.input_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskExecutionEvent.input_uri) -} -inline ::std::string* TaskExecutionEvent::mutable_input_uri() { - if (!has_input_uri()) { - clear_input_value(); - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.input_uri) - return input_value_.input_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionEvent::release_input_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.input_uri) - if (has_input_uri()) { - clear_has_input_value(); - return input_value_.input_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void TaskExecutionEvent::set_allocated_input_uri(::std::string* input_uri) { - if (has_input_value()) { - clear_input_value(); - } - if (input_uri != nullptr) { - set_has_input_uri(); - input_value_.input_uri_.UnsafeSetDefault(input_uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.input_uri) -} - -// .flyteidl.core.LiteralMap input_data = 19; -inline bool TaskExecutionEvent::has_input_data() const { - return input_value_case() == kInputData; -} -inline void TaskExecutionEvent::set_has_input_data() { - _oneof_case_[0] = kInputData; -} -inline ::flyteidl::core::LiteralMap* TaskExecutionEvent::release_input_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.input_data) - if (has_input_data()) { - clear_has_input_value(); - ::flyteidl::core::LiteralMap* temp = input_value_.input_data_; - input_value_.input_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& TaskExecutionEvent::input_data() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.input_data) - return has_input_data() - ? *input_value_.input_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* TaskExecutionEvent::mutable_input_data() { - if (!has_input_data()) { - clear_input_value(); - set_has_input_data(); - input_value_.input_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.input_data) - return input_value_.input_data_; -} - -// string output_uri = 9; -inline bool TaskExecutionEvent::has_output_uri() const { - return output_result_case() == kOutputUri; -} -inline void TaskExecutionEvent::set_has_output_uri() { - _oneof_case_[1] = kOutputUri; -} -inline void TaskExecutionEvent::clear_output_uri() { - if (has_output_uri()) { - output_result_.output_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - clear_has_output_result(); - } -} -inline const ::std::string& TaskExecutionEvent::output_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.output_uri) - if (has_output_uri()) { - return output_result_.output_uri_.GetNoArena(); - } - return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void TaskExecutionEvent::set_output_uri(const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.output_uri) -} -#if LANG_CXX11 -inline void TaskExecutionEvent::set_output_uri(::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.output_uri) - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskExecutionEvent.output_uri) -} -#endif -inline void TaskExecutionEvent::set_output_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskExecutionEvent.output_uri) -} -inline void TaskExecutionEvent::set_output_uri(const char* value, size_t size) { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - output_result_.output_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskExecutionEvent.output_uri) -} -inline ::std::string* TaskExecutionEvent::mutable_output_uri() { - if (!has_output_uri()) { - clear_output_result(); - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.output_uri) - return output_result_.output_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionEvent::release_output_uri() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.output_uri) - if (has_output_uri()) { - clear_has_output_result(); - return output_result_.output_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } else { - return nullptr; - } -} -inline void TaskExecutionEvent::set_allocated_output_uri(::std::string* output_uri) { - if (has_output_result()) { - clear_output_result(); - } - if (output_uri != nullptr) { - set_has_output_uri(); - output_result_.output_uri_.UnsafeSetDefault(output_uri); - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.output_uri) -} - -// .flyteidl.core.ExecutionError error = 10; -inline bool TaskExecutionEvent::has_error() const { - return output_result_case() == kError; -} -inline void TaskExecutionEvent::set_has_error() { - _oneof_case_[1] = kError; -} -inline ::flyteidl::core::ExecutionError* TaskExecutionEvent::release_error() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.error) - if (has_error()) { - clear_has_output_result(); - ::flyteidl::core::ExecutionError* temp = output_result_.error_; - output_result_.error_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::ExecutionError& TaskExecutionEvent::error() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.error) - return has_error() - ? *output_result_.error_ - : *reinterpret_cast< ::flyteidl::core::ExecutionError*>(&::flyteidl::core::_ExecutionError_default_instance_); -} -inline ::flyteidl::core::ExecutionError* TaskExecutionEvent::mutable_error() { - if (!has_error()) { - clear_output_result(); - set_has_error(); - output_result_.error_ = CreateMaybeMessage< ::flyteidl::core::ExecutionError >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.error) - return output_result_.error_; -} - -// .flyteidl.core.LiteralMap output_data = 17; -inline bool TaskExecutionEvent::has_output_data() const { - return output_result_case() == kOutputData; -} -inline void TaskExecutionEvent::set_has_output_data() { - _oneof_case_[1] = kOutputData; -} -inline ::flyteidl::core::LiteralMap* TaskExecutionEvent::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.output_data) - if (has_output_data()) { - clear_has_output_result(); - ::flyteidl::core::LiteralMap* temp = output_result_.output_data_; - output_result_.output_data_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& TaskExecutionEvent::output_data() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.output_data) - return has_output_data() - ? *output_result_.output_data_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* TaskExecutionEvent::mutable_output_data() { - if (!has_output_data()) { - clear_output_result(); - set_has_output_data(); - output_result_.output_data_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.output_data) - return output_result_.output_data_; -} - -// .google.protobuf.Struct custom_info = 11; -inline bool TaskExecutionEvent::has_custom_info() const { - return this != internal_default_instance() && custom_info_ != nullptr; -} -inline const ::google::protobuf::Struct& TaskExecutionEvent::custom_info() const { - const ::google::protobuf::Struct* p = custom_info_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.custom_info) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* TaskExecutionEvent::release_custom_info() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.custom_info) - - ::google::protobuf::Struct* temp = custom_info_; - custom_info_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* TaskExecutionEvent::mutable_custom_info() { - - if (custom_info_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - custom_info_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.custom_info) - return custom_info_; -} -inline void TaskExecutionEvent::set_allocated_custom_info(::google::protobuf::Struct* custom_info) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(custom_info_); - } - if (custom_info) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(custom_info)->GetArena(); - if (message_arena != submessage_arena) { - custom_info = ::google::protobuf::internal::GetOwnedMessage( - message_arena, custom_info, submessage_arena); - } - - } else { - - } - custom_info_ = custom_info; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.custom_info) -} - -// uint32 phase_version = 12; -inline void TaskExecutionEvent::clear_phase_version() { - phase_version_ = 0u; -} -inline ::google::protobuf::uint32 TaskExecutionEvent::phase_version() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.phase_version) - return phase_version_; -} -inline void TaskExecutionEvent::set_phase_version(::google::protobuf::uint32 value) { - - phase_version_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.phase_version) -} - -// string reason = 13 [deprecated = true]; -inline void TaskExecutionEvent::clear_reason() { - reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionEvent::reason() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.reason) - return reason_.GetNoArena(); -} -inline void TaskExecutionEvent::set_reason(const ::std::string& value) { - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.reason) -} -#if LANG_CXX11 -inline void TaskExecutionEvent::set_reason(::std::string&& value) { - - reason_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskExecutionEvent.reason) -} -#endif -inline void TaskExecutionEvent::set_reason(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskExecutionEvent.reason) -} -inline void TaskExecutionEvent::set_reason(const char* value, size_t size) { - - reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskExecutionEvent.reason) -} -inline ::std::string* TaskExecutionEvent::mutable_reason() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.reason) - return reason_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionEvent::release_reason() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.reason) - - return reason_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionEvent::set_allocated_reason(::std::string* reason) { - if (reason != nullptr) { - - } else { - - } - reason_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.reason) -} - -// repeated .flyteidl.event.EventReason reasons = 21; -inline int TaskExecutionEvent::reasons_size() const { - return reasons_.size(); -} -inline void TaskExecutionEvent::clear_reasons() { - reasons_.Clear(); -} -inline ::flyteidl::event::EventReason* TaskExecutionEvent::mutable_reasons(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.reasons) - return reasons_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::event::EventReason >* -TaskExecutionEvent::mutable_reasons() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.TaskExecutionEvent.reasons) - return &reasons_; -} -inline const ::flyteidl::event::EventReason& TaskExecutionEvent::reasons(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.reasons) - return reasons_.Get(index); -} -inline ::flyteidl::event::EventReason* TaskExecutionEvent::add_reasons() { - // @@protoc_insertion_point(field_add:flyteidl.event.TaskExecutionEvent.reasons) - return reasons_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::event::EventReason >& -TaskExecutionEvent::reasons() const { - // @@protoc_insertion_point(field_list:flyteidl.event.TaskExecutionEvent.reasons) - return reasons_; -} - -// string task_type = 14; -inline void TaskExecutionEvent::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionEvent::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.task_type) - return task_type_.GetNoArena(); -} -inline void TaskExecutionEvent::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.task_type) -} -#if LANG_CXX11 -inline void TaskExecutionEvent::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskExecutionEvent.task_type) -} -#endif -inline void TaskExecutionEvent::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskExecutionEvent.task_type) -} -inline void TaskExecutionEvent::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskExecutionEvent.task_type) -} -inline ::std::string* TaskExecutionEvent::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionEvent::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionEvent::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.task_type) -} - -// .flyteidl.event.TaskExecutionMetadata metadata = 16; -inline bool TaskExecutionEvent::has_metadata() const { - return this != internal_default_instance() && metadata_ != nullptr; -} -inline void TaskExecutionEvent::clear_metadata() { - if (GetArenaNoVirtual() == nullptr && metadata_ != nullptr) { - delete metadata_; - } - metadata_ = nullptr; -} -inline const ::flyteidl::event::TaskExecutionMetadata& TaskExecutionEvent::metadata() const { - const ::flyteidl::event::TaskExecutionMetadata* p = metadata_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.metadata) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::event::_TaskExecutionMetadata_default_instance_); -} -inline ::flyteidl::event::TaskExecutionMetadata* TaskExecutionEvent::release_metadata() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.metadata) - - ::flyteidl::event::TaskExecutionMetadata* temp = metadata_; - metadata_ = nullptr; - return temp; -} -inline ::flyteidl::event::TaskExecutionMetadata* TaskExecutionEvent::mutable_metadata() { - - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::event::TaskExecutionMetadata>(GetArenaNoVirtual()); - metadata_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.metadata) - return metadata_; -} -inline void TaskExecutionEvent::set_allocated_metadata(::flyteidl::event::TaskExecutionMetadata* metadata) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete metadata_; - } - if (metadata) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - metadata = ::google::protobuf::internal::GetOwnedMessage( - message_arena, metadata, submessage_arena); - } - - } else { - - } - metadata_ = metadata; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.metadata) -} - -// int32 event_version = 18; -inline void TaskExecutionEvent::clear_event_version() { - event_version_ = 0; -} -inline ::google::protobuf::int32 TaskExecutionEvent::event_version() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.event_version) - return event_version_; -} -inline void TaskExecutionEvent::set_event_version(::google::protobuf::int32 value) { - - event_version_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.event_version) -} - -// .google.protobuf.Timestamp reported_at = 20; -inline bool TaskExecutionEvent::has_reported_at() const { - return this != internal_default_instance() && reported_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& TaskExecutionEvent::reported_at() const { - const ::google::protobuf::Timestamp* p = reported_at_; - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.reported_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* TaskExecutionEvent::release_reported_at() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.reported_at) - - ::google::protobuf::Timestamp* temp = reported_at_; - reported_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* TaskExecutionEvent::mutable_reported_at() { - - if (reported_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - reported_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.reported_at) - return reported_at_; -} -inline void TaskExecutionEvent::set_allocated_reported_at(::google::protobuf::Timestamp* reported_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(reported_at_); - } - if (reported_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(reported_at)->GetArena(); - if (message_arena != submessage_arena) { - reported_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, reported_at, submessage_arena); - } - - } else { - - } - reported_at_ = reported_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.reported_at) -} - -inline bool TaskExecutionEvent::has_input_value() const { - return input_value_case() != INPUT_VALUE_NOT_SET; -} -inline void TaskExecutionEvent::clear_has_input_value() { - _oneof_case_[0] = INPUT_VALUE_NOT_SET; -} -inline bool TaskExecutionEvent::has_output_result() const { - return output_result_case() != OUTPUT_RESULT_NOT_SET; -} -inline void TaskExecutionEvent::clear_has_output_result() { - _oneof_case_[1] = OUTPUT_RESULT_NOT_SET; -} -inline TaskExecutionEvent::InputValueCase TaskExecutionEvent::input_value_case() const { - return TaskExecutionEvent::InputValueCase(_oneof_case_[0]); -} -inline TaskExecutionEvent::OutputResultCase TaskExecutionEvent::output_result_case() const { - return TaskExecutionEvent::OutputResultCase(_oneof_case_[1]); -} -// ------------------------------------------------------------------- - -// ExternalResourceInfo - -// string external_id = 1; -inline void ExternalResourceInfo::clear_external_id() { - external_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ExternalResourceInfo::external_id() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ExternalResourceInfo.external_id) - return external_id_.GetNoArena(); -} -inline void ExternalResourceInfo::set_external_id(const ::std::string& value) { - - external_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.ExternalResourceInfo.external_id) -} -#if LANG_CXX11 -inline void ExternalResourceInfo::set_external_id(::std::string&& value) { - - external_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.ExternalResourceInfo.external_id) -} -#endif -inline void ExternalResourceInfo::set_external_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - external_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.ExternalResourceInfo.external_id) -} -inline void ExternalResourceInfo::set_external_id(const char* value, size_t size) { - - external_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.ExternalResourceInfo.external_id) -} -inline ::std::string* ExternalResourceInfo::mutable_external_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.ExternalResourceInfo.external_id) - return external_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ExternalResourceInfo::release_external_id() { - // @@protoc_insertion_point(field_release:flyteidl.event.ExternalResourceInfo.external_id) - - return external_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ExternalResourceInfo::set_allocated_external_id(::std::string* external_id) { - if (external_id != nullptr) { - - } else { - - } - external_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), external_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.ExternalResourceInfo.external_id) -} - -// uint32 index = 2; -inline void ExternalResourceInfo::clear_index() { - index_ = 0u; -} -inline ::google::protobuf::uint32 ExternalResourceInfo::index() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ExternalResourceInfo.index) - return index_; -} -inline void ExternalResourceInfo::set_index(::google::protobuf::uint32 value) { - - index_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.ExternalResourceInfo.index) -} - -// uint32 retry_attempt = 3; -inline void ExternalResourceInfo::clear_retry_attempt() { - retry_attempt_ = 0u; -} -inline ::google::protobuf::uint32 ExternalResourceInfo::retry_attempt() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ExternalResourceInfo.retry_attempt) - return retry_attempt_; -} -inline void ExternalResourceInfo::set_retry_attempt(::google::protobuf::uint32 value) { - - retry_attempt_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.ExternalResourceInfo.retry_attempt) -} - -// .flyteidl.core.TaskExecution.Phase phase = 4; -inline void ExternalResourceInfo::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::TaskExecution_Phase ExternalResourceInfo::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ExternalResourceInfo.phase) - return static_cast< ::flyteidl::core::TaskExecution_Phase >(phase_); -} -inline void ExternalResourceInfo::set_phase(::flyteidl::core::TaskExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.ExternalResourceInfo.phase) -} - -// .flyteidl.core.CatalogCacheStatus cache_status = 5; -inline void ExternalResourceInfo::clear_cache_status() { - cache_status_ = 0; -} -inline ::flyteidl::core::CatalogCacheStatus ExternalResourceInfo::cache_status() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ExternalResourceInfo.cache_status) - return static_cast< ::flyteidl::core::CatalogCacheStatus >(cache_status_); -} -inline void ExternalResourceInfo::set_cache_status(::flyteidl::core::CatalogCacheStatus value) { - - cache_status_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.ExternalResourceInfo.cache_status) -} - -// repeated .flyteidl.core.TaskLog logs = 6; -inline int ExternalResourceInfo::logs_size() const { - return logs_.size(); -} -inline ::flyteidl::core::TaskLog* ExternalResourceInfo::mutable_logs(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.ExternalResourceInfo.logs) - return logs_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >* -ExternalResourceInfo::mutable_logs() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.ExternalResourceInfo.logs) - return &logs_; -} -inline const ::flyteidl::core::TaskLog& ExternalResourceInfo::logs(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.ExternalResourceInfo.logs) - return logs_.Get(index); -} -inline ::flyteidl::core::TaskLog* ExternalResourceInfo::add_logs() { - // @@protoc_insertion_point(field_add:flyteidl.event.ExternalResourceInfo.logs) - return logs_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& -ExternalResourceInfo::logs() const { - // @@protoc_insertion_point(field_list:flyteidl.event.ExternalResourceInfo.logs) - return logs_; -} - -// ------------------------------------------------------------------- - -// ResourcePoolInfo - -// string allocation_token = 1; -inline void ResourcePoolInfo::clear_allocation_token() { - allocation_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ResourcePoolInfo::allocation_token() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ResourcePoolInfo.allocation_token) - return allocation_token_.GetNoArena(); -} -inline void ResourcePoolInfo::set_allocation_token(const ::std::string& value) { - - allocation_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.ResourcePoolInfo.allocation_token) -} -#if LANG_CXX11 -inline void ResourcePoolInfo::set_allocation_token(::std::string&& value) { - - allocation_token_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.ResourcePoolInfo.allocation_token) -} -#endif -inline void ResourcePoolInfo::set_allocation_token(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - allocation_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.ResourcePoolInfo.allocation_token) -} -inline void ResourcePoolInfo::set_allocation_token(const char* value, size_t size) { - - allocation_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.ResourcePoolInfo.allocation_token) -} -inline ::std::string* ResourcePoolInfo::mutable_allocation_token() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.ResourcePoolInfo.allocation_token) - return allocation_token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ResourcePoolInfo::release_allocation_token() { - // @@protoc_insertion_point(field_release:flyteidl.event.ResourcePoolInfo.allocation_token) - - return allocation_token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ResourcePoolInfo::set_allocated_allocation_token(::std::string* allocation_token) { - if (allocation_token != nullptr) { - - } else { - - } - allocation_token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), allocation_token); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.ResourcePoolInfo.allocation_token) -} - -// string namespace = 2; -inline void ResourcePoolInfo::clear_namespace_() { - namespace__.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ResourcePoolInfo::namespace_() const { - // @@protoc_insertion_point(field_get:flyteidl.event.ResourcePoolInfo.namespace) - return namespace__.GetNoArena(); -} -inline void ResourcePoolInfo::set_namespace_(const ::std::string& value) { - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.ResourcePoolInfo.namespace) -} -#if LANG_CXX11 -inline void ResourcePoolInfo::set_namespace_(::std::string&& value) { - - namespace__.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.ResourcePoolInfo.namespace) -} -#endif -inline void ResourcePoolInfo::set_namespace_(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.ResourcePoolInfo.namespace) -} -inline void ResourcePoolInfo::set_namespace_(const char* value, size_t size) { - - namespace__.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.ResourcePoolInfo.namespace) -} -inline ::std::string* ResourcePoolInfo::mutable_namespace_() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.ResourcePoolInfo.namespace) - return namespace__.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ResourcePoolInfo::release_namespace_() { - // @@protoc_insertion_point(field_release:flyteidl.event.ResourcePoolInfo.namespace) - - return namespace__.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ResourcePoolInfo::set_allocated_namespace_(::std::string* namespace_) { - if (namespace_ != nullptr) { - - } else { - - } - namespace__.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.ResourcePoolInfo.namespace) -} - -// ------------------------------------------------------------------- - -// TaskExecutionMetadata - -// string generated_name = 1; -inline void TaskExecutionMetadata::clear_generated_name() { - generated_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionMetadata::generated_name() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionMetadata.generated_name) - return generated_name_.GetNoArena(); -} -inline void TaskExecutionMetadata::set_generated_name(const ::std::string& value) { - - generated_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionMetadata.generated_name) -} -#if LANG_CXX11 -inline void TaskExecutionMetadata::set_generated_name(::std::string&& value) { - - generated_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskExecutionMetadata.generated_name) -} -#endif -inline void TaskExecutionMetadata::set_generated_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - generated_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskExecutionMetadata.generated_name) -} -inline void TaskExecutionMetadata::set_generated_name(const char* value, size_t size) { - - generated_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskExecutionMetadata.generated_name) -} -inline ::std::string* TaskExecutionMetadata::mutable_generated_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionMetadata.generated_name) - return generated_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionMetadata::release_generated_name() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionMetadata.generated_name) - - return generated_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionMetadata::set_allocated_generated_name(::std::string* generated_name) { - if (generated_name != nullptr) { - - } else { - - } - generated_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), generated_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionMetadata.generated_name) -} - -// repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; -inline int TaskExecutionMetadata::external_resources_size() const { - return external_resources_.size(); -} -inline void TaskExecutionMetadata::clear_external_resources() { - external_resources_.Clear(); -} -inline ::flyteidl::event::ExternalResourceInfo* TaskExecutionMetadata::mutable_external_resources(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionMetadata.external_resources) - return external_resources_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ExternalResourceInfo >* -TaskExecutionMetadata::mutable_external_resources() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.TaskExecutionMetadata.external_resources) - return &external_resources_; -} -inline const ::flyteidl::event::ExternalResourceInfo& TaskExecutionMetadata::external_resources(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionMetadata.external_resources) - return external_resources_.Get(index); -} -inline ::flyteidl::event::ExternalResourceInfo* TaskExecutionMetadata::add_external_resources() { - // @@protoc_insertion_point(field_add:flyteidl.event.TaskExecutionMetadata.external_resources) - return external_resources_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ExternalResourceInfo >& -TaskExecutionMetadata::external_resources() const { - // @@protoc_insertion_point(field_list:flyteidl.event.TaskExecutionMetadata.external_resources) - return external_resources_; -} - -// repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; -inline int TaskExecutionMetadata::resource_pool_info_size() const { - return resource_pool_info_.size(); -} -inline void TaskExecutionMetadata::clear_resource_pool_info() { - resource_pool_info_.Clear(); -} -inline ::flyteidl::event::ResourcePoolInfo* TaskExecutionMetadata::mutable_resource_pool_info(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionMetadata.resource_pool_info) - return resource_pool_info_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ResourcePoolInfo >* -TaskExecutionMetadata::mutable_resource_pool_info() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.TaskExecutionMetadata.resource_pool_info) - return &resource_pool_info_; -} -inline const ::flyteidl::event::ResourcePoolInfo& TaskExecutionMetadata::resource_pool_info(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionMetadata.resource_pool_info) - return resource_pool_info_.Get(index); -} -inline ::flyteidl::event::ResourcePoolInfo* TaskExecutionMetadata::add_resource_pool_info() { - // @@protoc_insertion_point(field_add:flyteidl.event.TaskExecutionMetadata.resource_pool_info) - return resource_pool_info_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::event::ResourcePoolInfo >& -TaskExecutionMetadata::resource_pool_info() const { - // @@protoc_insertion_point(field_list:flyteidl.event.TaskExecutionMetadata.resource_pool_info) - return resource_pool_info_; -} - -// string plugin_identifier = 4; -inline void TaskExecutionMetadata::clear_plugin_identifier() { - plugin_identifier_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskExecutionMetadata::plugin_identifier() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionMetadata.plugin_identifier) - return plugin_identifier_.GetNoArena(); -} -inline void TaskExecutionMetadata::set_plugin_identifier(const ::std::string& value) { - - plugin_identifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionMetadata.plugin_identifier) -} -#if LANG_CXX11 -inline void TaskExecutionMetadata::set_plugin_identifier(::std::string&& value) { - - plugin_identifier_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.TaskExecutionMetadata.plugin_identifier) -} -#endif -inline void TaskExecutionMetadata::set_plugin_identifier(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - plugin_identifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.event.TaskExecutionMetadata.plugin_identifier) -} -inline void TaskExecutionMetadata::set_plugin_identifier(const char* value, size_t size) { - - plugin_identifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.event.TaskExecutionMetadata.plugin_identifier) -} -inline ::std::string* TaskExecutionMetadata::mutable_plugin_identifier() { - - // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionMetadata.plugin_identifier) - return plugin_identifier_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskExecutionMetadata::release_plugin_identifier() { - // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionMetadata.plugin_identifier) - - return plugin_identifier_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskExecutionMetadata::set_allocated_plugin_identifier(::std::string* plugin_identifier) { - if (plugin_identifier != nullptr) { - - } else { - - } - plugin_identifier_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), plugin_identifier); - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionMetadata.plugin_identifier) -} - -// .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; -inline void TaskExecutionMetadata::clear_instance_class() { - instance_class_ = 0; -} -inline ::flyteidl::event::TaskExecutionMetadata_InstanceClass TaskExecutionMetadata::instance_class() const { - // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionMetadata.instance_class) - return static_cast< ::flyteidl::event::TaskExecutionMetadata_InstanceClass >(instance_class_); -} -inline void TaskExecutionMetadata::set_instance_class(::flyteidl::event::TaskExecutionMetadata_InstanceClass value) { - - instance_class_ = value; - // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionMetadata.instance_class) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace event -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::event::TaskExecutionMetadata_InstanceClass> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::event::TaskExecutionMetadata_InstanceClass>() { - return ::flyteidl::event::TaskExecutionMetadata_InstanceClass_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fevent_2fevent_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.grpc.pb.cc deleted file mode 100644 index 95f7bc732b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/array_job.proto - -#include "flyteidl/plugins/array_job.pb.h" -#include "flyteidl/plugins/array_job.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.grpc.pb.h deleted file mode 100644 index d448b70199..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/array_job.proto -#ifndef GRPC_flyteidl_2fplugins_2farray_5fjob_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2farray_5fjob_2eproto__INCLUDED - -#include "flyteidl/plugins/array_job.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2farray_5fjob_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.pb.cc deleted file mode 100644 index 82b8aa0bc8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.pb.cc +++ /dev/null @@ -1,560 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/array_job.proto - -#include "flyteidl/plugins/array_job.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace plugins { -class ArrayJobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - ::google::protobuf::int64 min_successes_; - float min_success_ratio_; -} _ArrayJob_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsArrayJob_flyteidl_2fplugins_2farray_5fjob_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_ArrayJob_default_instance_; - new (ptr) ::flyteidl::plugins::ArrayJob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::ArrayJob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ArrayJob_flyteidl_2fplugins_2farray_5fjob_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsArrayJob_flyteidl_2fplugins_2farray_5fjob_2eproto}, {}}; - -void InitDefaults_flyteidl_2fplugins_2farray_5fjob_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ArrayJob_flyteidl_2fplugins_2farray_5fjob_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2farray_5fjob_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2farray_5fjob_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2farray_5fjob_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2farray_5fjob_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ArrayJob, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ArrayJob, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ArrayJob, parallelism_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ArrayJob, size_), - offsetof(::flyteidl::plugins::ArrayJobDefaultTypeInternal, min_successes_), - offsetof(::flyteidl::plugins::ArrayJobDefaultTypeInternal, min_success_ratio_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ArrayJob, success_criteria_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::ArrayJob)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_ArrayJob_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2farray_5fjob_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2farray_5fjob_2eproto, "flyteidl/plugins/array_job.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2farray_5fjob_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2farray_5fjob_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2farray_5fjob_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2farray_5fjob_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2farray_5fjob_2eproto[] = - "\n flyteidl/plugins/array_job.proto\022\020flyt" - "eidl.plugins\"w\n\010ArrayJob\022\023\n\013parallelism\030" - "\001 \001(\003\022\014\n\004size\030\002 \001(\003\022\027\n\rmin_successes\030\003 \001" - "(\003H\000\022\033\n\021min_success_ratio\030\004 \001(\002H\000B\022\n\020suc" - "cess_criteriaB\?Z=github.com/flyteorg/fly" - "te/flyteidl/gen/pb-go/flyteidl/pluginsb\006" - "proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2farray_5fjob_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2farray_5fjob_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2farray_5fjob_2eproto, - "flyteidl/plugins/array_job.proto", &assign_descriptors_table_flyteidl_2fplugins_2farray_5fjob_2eproto, 246, -}; - -void AddDescriptors_flyteidl_2fplugins_2farray_5fjob_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2farray_5fjob_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2farray_5fjob_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2farray_5fjob_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void ArrayJob::InitAsDefaultInstance() { - ::flyteidl::plugins::_ArrayJob_default_instance_.min_successes_ = PROTOBUF_LONGLONG(0); - ::flyteidl::plugins::_ArrayJob_default_instance_.min_success_ratio_ = 0; -} -class ArrayJob::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ArrayJob::kParallelismFieldNumber; -const int ArrayJob::kSizeFieldNumber; -const int ArrayJob::kMinSuccessesFieldNumber; -const int ArrayJob::kMinSuccessRatioFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ArrayJob::ArrayJob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.ArrayJob) -} -ArrayJob::ArrayJob(const ArrayJob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(¶llelism_, &from.parallelism_, - static_cast(reinterpret_cast(&size_) - - reinterpret_cast(¶llelism_)) + sizeof(size_)); - clear_has_success_criteria(); - switch (from.success_criteria_case()) { - case kMinSuccesses: { - set_min_successes(from.min_successes()); - break; - } - case kMinSuccessRatio: { - set_min_success_ratio(from.min_success_ratio()); - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.ArrayJob) -} - -void ArrayJob::SharedCtor() { - ::memset(¶llelism_, 0, static_cast( - reinterpret_cast(&size_) - - reinterpret_cast(¶llelism_)) + sizeof(size_)); - clear_has_success_criteria(); -} - -ArrayJob::~ArrayJob() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.ArrayJob) - SharedDtor(); -} - -void ArrayJob::SharedDtor() { - if (has_success_criteria()) { - clear_success_criteria(); - } -} - -void ArrayJob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ArrayJob& ArrayJob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ArrayJob_flyteidl_2fplugins_2farray_5fjob_2eproto.base); - return *internal_default_instance(); -} - - -void ArrayJob::clear_success_criteria() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.plugins.ArrayJob) - switch (success_criteria_case()) { - case kMinSuccesses: { - // No need to clear - break; - } - case kMinSuccessRatio: { - // No need to clear - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } - _oneof_case_[0] = SUCCESS_CRITERIA_NOT_SET; -} - - -void ArrayJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.ArrayJob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(¶llelism_, 0, static_cast( - reinterpret_cast(&size_) - - reinterpret_cast(¶llelism_)) + sizeof(size_)); - clear_success_criteria(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ArrayJob::_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) { - // int64 parallelism = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_parallelism(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int64 size = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_size(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int64 min_successes = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_min_successes(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // float min_success_ratio = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 37) goto handle_unusual; - msg->set_min_success_ratio(::google::protobuf::io::UnalignedLoad(ptr)); - ptr += sizeof(float); - 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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ArrayJob::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.plugins.ArrayJob) - 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)) { - // int64 parallelism = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( - input, ¶llelism_))); - } else { - goto handle_unusual; - } - break; - } - - // int64 size = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( - input, &size_))); - } else { - goto handle_unusual; - } - break; - } - - // int64 min_successes = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - clear_success_criteria(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( - input, &success_criteria_.min_successes_))); - set_has_min_successes(); - } else { - goto handle_unusual; - } - break; - } - - // float min_success_ratio = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (37 & 0xFF)) { - clear_success_criteria(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( - input, &success_criteria_.min_success_ratio_))); - set_has_min_success_ratio(); - } 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.plugins.ArrayJob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.ArrayJob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ArrayJob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.ArrayJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int64 parallelism = 1; - if (this->parallelism() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->parallelism(), output); - } - - // int64 size = 2; - if (this->size() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->size(), output); - } - - // int64 min_successes = 3; - if (has_min_successes()) { - ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->min_successes(), output); - } - - // float min_success_ratio = 4; - if (has_min_success_ratio()) { - ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->min_success_ratio(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.ArrayJob) -} - -::google::protobuf::uint8* ArrayJob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.ArrayJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int64 parallelism = 1; - if (this->parallelism() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->parallelism(), target); - } - - // int64 size = 2; - if (this->size() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->size(), target); - } - - // int64 min_successes = 3; - if (has_min_successes()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->min_successes(), target); - } - - // float min_success_ratio = 4; - if (has_min_success_ratio()) { - target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->min_success_ratio(), 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.plugins.ArrayJob) - return target; -} - -size_t ArrayJob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.ArrayJob) - 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; - - // int64 parallelism = 1; - if (this->parallelism() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int64Size( - this->parallelism()); - } - - // int64 size = 2; - if (this->size() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int64Size( - this->size()); - } - - switch (success_criteria_case()) { - // int64 min_successes = 3; - case kMinSuccesses: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int64Size( - this->min_successes()); - break; - } - // float min_success_ratio = 4; - case kMinSuccessRatio: { - total_size += 1 + 4; - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ArrayJob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.ArrayJob) - GOOGLE_DCHECK_NE(&from, this); - const ArrayJob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.ArrayJob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.ArrayJob) - MergeFrom(*source); - } -} - -void ArrayJob::MergeFrom(const ArrayJob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.ArrayJob) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.parallelism() != 0) { - set_parallelism(from.parallelism()); - } - if (from.size() != 0) { - set_size(from.size()); - } - switch (from.success_criteria_case()) { - case kMinSuccesses: { - set_min_successes(from.min_successes()); - break; - } - case kMinSuccessRatio: { - set_min_success_ratio(from.min_success_ratio()); - break; - } - case SUCCESS_CRITERIA_NOT_SET: { - break; - } - } -} - -void ArrayJob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.ArrayJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ArrayJob::CopyFrom(const ArrayJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.ArrayJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ArrayJob::IsInitialized() const { - return true; -} - -void ArrayJob::Swap(ArrayJob* other) { - if (other == this) return; - InternalSwap(other); -} -void ArrayJob::InternalSwap(ArrayJob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(parallelism_, other->parallelism_); - swap(size_, other->size_); - swap(success_criteria_, other->success_criteria_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata ArrayJob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2farray_5fjob_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2farray_5fjob_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::ArrayJob* Arena::CreateMaybeMessage< ::flyteidl::plugins::ArrayJob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::ArrayJob >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.pb.h deleted file mode 100644 index a0e835f77d..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/array_job.pb.h +++ /dev/null @@ -1,341 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/array_job.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2farray_5fjob_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2farray_5fjob_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2farray_5fjob_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2farray_5fjob_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[1] - 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_2fplugins_2farray_5fjob_2eproto(); -namespace flyteidl { -namespace plugins { -class ArrayJob; -class ArrayJobDefaultTypeInternal; -extern ArrayJobDefaultTypeInternal _ArrayJob_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::ArrayJob* Arena::CreateMaybeMessage<::flyteidl::plugins::ArrayJob>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class ArrayJob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.ArrayJob) */ { - public: - ArrayJob(); - virtual ~ArrayJob(); - - ArrayJob(const ArrayJob& from); - - inline ArrayJob& operator=(const ArrayJob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ArrayJob(ArrayJob&& from) noexcept - : ArrayJob() { - *this = ::std::move(from); - } - - inline ArrayJob& operator=(ArrayJob&& 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 ArrayJob& default_instance(); - - enum SuccessCriteriaCase { - kMinSuccesses = 3, - kMinSuccessRatio = 4, - SUCCESS_CRITERIA_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArrayJob* internal_default_instance() { - return reinterpret_cast( - &_ArrayJob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ArrayJob* other); - friend void swap(ArrayJob& a, ArrayJob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ArrayJob* New() const final { - return CreateMaybeMessage(nullptr); - } - - ArrayJob* 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 ArrayJob& from); - void MergeFrom(const ArrayJob& 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(ArrayJob* 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 ------------------------------------------------------- - - // int64 parallelism = 1; - void clear_parallelism(); - static const int kParallelismFieldNumber = 1; - ::google::protobuf::int64 parallelism() const; - void set_parallelism(::google::protobuf::int64 value); - - // int64 size = 2; - void clear_size(); - static const int kSizeFieldNumber = 2; - ::google::protobuf::int64 size() const; - void set_size(::google::protobuf::int64 value); - - // int64 min_successes = 3; - private: - bool has_min_successes() const; - public: - void clear_min_successes(); - static const int kMinSuccessesFieldNumber = 3; - ::google::protobuf::int64 min_successes() const; - void set_min_successes(::google::protobuf::int64 value); - - // float min_success_ratio = 4; - private: - bool has_min_success_ratio() const; - public: - void clear_min_success_ratio(); - static const int kMinSuccessRatioFieldNumber = 4; - float min_success_ratio() const; - void set_min_success_ratio(float value); - - void clear_success_criteria(); - SuccessCriteriaCase success_criteria_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.plugins.ArrayJob) - private: - class HasBitSetters; - void set_has_min_successes(); - void set_has_min_success_ratio(); - - inline bool has_success_criteria() const; - inline void clear_has_success_criteria(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int64 parallelism_; - ::google::protobuf::int64 size_; - union SuccessCriteriaUnion { - SuccessCriteriaUnion() {} - ::google::protobuf::int64 min_successes_; - float min_success_ratio_; - } success_criteria_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fplugins_2farray_5fjob_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ArrayJob - -// int64 parallelism = 1; -inline void ArrayJob::clear_parallelism() { - parallelism_ = PROTOBUF_LONGLONG(0); -} -inline ::google::protobuf::int64 ArrayJob::parallelism() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ArrayJob.parallelism) - return parallelism_; -} -inline void ArrayJob::set_parallelism(::google::protobuf::int64 value) { - - parallelism_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ArrayJob.parallelism) -} - -// int64 size = 2; -inline void ArrayJob::clear_size() { - size_ = PROTOBUF_LONGLONG(0); -} -inline ::google::protobuf::int64 ArrayJob::size() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ArrayJob.size) - return size_; -} -inline void ArrayJob::set_size(::google::protobuf::int64 value) { - - size_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ArrayJob.size) -} - -// int64 min_successes = 3; -inline bool ArrayJob::has_min_successes() const { - return success_criteria_case() == kMinSuccesses; -} -inline void ArrayJob::set_has_min_successes() { - _oneof_case_[0] = kMinSuccesses; -} -inline void ArrayJob::clear_min_successes() { - if (has_min_successes()) { - success_criteria_.min_successes_ = PROTOBUF_LONGLONG(0); - clear_has_success_criteria(); - } -} -inline ::google::protobuf::int64 ArrayJob::min_successes() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ArrayJob.min_successes) - if (has_min_successes()) { - return success_criteria_.min_successes_; - } - return PROTOBUF_LONGLONG(0); -} -inline void ArrayJob::set_min_successes(::google::protobuf::int64 value) { - if (!has_min_successes()) { - clear_success_criteria(); - set_has_min_successes(); - } - success_criteria_.min_successes_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ArrayJob.min_successes) -} - -// float min_success_ratio = 4; -inline bool ArrayJob::has_min_success_ratio() const { - return success_criteria_case() == kMinSuccessRatio; -} -inline void ArrayJob::set_has_min_success_ratio() { - _oneof_case_[0] = kMinSuccessRatio; -} -inline void ArrayJob::clear_min_success_ratio() { - if (has_min_success_ratio()) { - success_criteria_.min_success_ratio_ = 0; - clear_has_success_criteria(); - } -} -inline float ArrayJob::min_success_ratio() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ArrayJob.min_success_ratio) - if (has_min_success_ratio()) { - return success_criteria_.min_success_ratio_; - } - return 0; -} -inline void ArrayJob::set_min_success_ratio(float value) { - if (!has_min_success_ratio()) { - clear_success_criteria(); - set_has_min_success_ratio(); - } - success_criteria_.min_success_ratio_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ArrayJob.min_success_ratio) -} - -inline bool ArrayJob::has_success_criteria() const { - return success_criteria_case() != SUCCESS_CRITERIA_NOT_SET; -} -inline void ArrayJob::clear_has_success_criteria() { - _oneof_case_[0] = SUCCESS_CRITERIA_NOT_SET; -} -inline ArrayJob::SuccessCriteriaCase ArrayJob::success_criteria_case() const { - return ArrayJob::SuccessCriteriaCase(_oneof_case_[0]); -} -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2farray_5fjob_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.grpc.pb.cc deleted file mode 100644 index c004653c96..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/dask.proto - -#include "flyteidl/plugins/dask.pb.h" -#include "flyteidl/plugins/dask.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.grpc.pb.h deleted file mode 100644 index 825c2c6ce3..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/dask.proto -#ifndef GRPC_flyteidl_2fplugins_2fdask_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fdask_2eproto__INCLUDED - -#include "flyteidl/plugins/dask.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fdask_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.pb.cc deleted file mode 100644 index 934cd52a86..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.pb.cc +++ /dev/null @@ -1,1328 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/dask.proto - -#include "flyteidl/plugins/dask.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fdask_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DaskScheduler_flyteidl_2fplugins_2fdask_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fdask_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto; -namespace flyteidl { -namespace plugins { -class DaskJobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DaskJob_default_instance_; -class DaskSchedulerDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DaskScheduler_default_instance_; -class DaskWorkerGroupDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DaskWorkerGroup_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsDaskJob_flyteidl_2fplugins_2fdask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_DaskJob_default_instance_; - new (ptr) ::flyteidl::plugins::DaskJob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::DaskJob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_DaskJob_flyteidl_2fplugins_2fdask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDaskJob_flyteidl_2fplugins_2fdask_2eproto}, { - &scc_info_DaskScheduler_flyteidl_2fplugins_2fdask_2eproto.base, - &scc_info_DaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto.base,}}; - -static void InitDefaultsDaskScheduler_flyteidl_2fplugins_2fdask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_DaskScheduler_default_instance_; - new (ptr) ::flyteidl::plugins::DaskScheduler(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::DaskScheduler::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DaskScheduler_flyteidl_2fplugins_2fdask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDaskScheduler_flyteidl_2fplugins_2fdask_2eproto}, { - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsDaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_DaskWorkerGroup_default_instance_; - new (ptr) ::flyteidl::plugins::DaskWorkerGroup(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::DaskWorkerGroup::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto}, { - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fdask_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_DaskJob_flyteidl_2fplugins_2fdask_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DaskScheduler_flyteidl_2fplugins_2fdask_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fdask_2eproto[3]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fdask_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fdask_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fdask_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskJob, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskJob, scheduler_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskJob, workers_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskScheduler, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskScheduler, image_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskScheduler, resources_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskWorkerGroup, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskWorkerGroup, number_of_workers_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskWorkerGroup, image_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DaskWorkerGroup, resources_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::DaskJob)}, - { 7, -1, sizeof(::flyteidl::plugins::DaskScheduler)}, - { 14, -1, sizeof(::flyteidl::plugins::DaskWorkerGroup)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_DaskJob_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_DaskScheduler_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_DaskWorkerGroup_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fdask_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fdask_2eproto, "flyteidl/plugins/dask.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fdask_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fdask_2eproto, 3, file_level_enum_descriptors_flyteidl_2fplugins_2fdask_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fdask_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fdask_2eproto[] = - "\n\033flyteidl/plugins/dask.proto\022\020flyteidl." - "plugins\032\031flyteidl/core/tasks.proto\"q\n\007Da" - "skJob\0222\n\tscheduler\030\001 \001(\0132\037.flyteidl.plug" - "ins.DaskScheduler\0222\n\007workers\030\002 \001(\0132!.fly" - "teidl.plugins.DaskWorkerGroup\"K\n\rDaskSch" - "eduler\022\r\n\005image\030\001 \001(\t\022+\n\tresources\030\002 \001(\013" - "2\030.flyteidl.core.Resources\"h\n\017DaskWorker" - "Group\022\031\n\021number_of_workers\030\001 \001(\r\022\r\n\005imag" - "e\030\002 \001(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.co" - "re.ResourcesB\?Z=github.com/flyteorg/flyt" - "e/flyteidl/gen/pb-go/flyteidl/pluginsb\006p" - "roto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fdask_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fdask_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fdask_2eproto, - "flyteidl/plugins/dask.proto", &assign_descriptors_table_flyteidl_2fplugins_2fdask_2eproto, 445, -}; - -void AddDescriptors_flyteidl_2fplugins_2fdask_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fdask_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fdask_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fdask_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void DaskJob::InitAsDefaultInstance() { - ::flyteidl::plugins::_DaskJob_default_instance_._instance.get_mutable()->scheduler_ = const_cast< ::flyteidl::plugins::DaskScheduler*>( - ::flyteidl::plugins::DaskScheduler::internal_default_instance()); - ::flyteidl::plugins::_DaskJob_default_instance_._instance.get_mutable()->workers_ = const_cast< ::flyteidl::plugins::DaskWorkerGroup*>( - ::flyteidl::plugins::DaskWorkerGroup::internal_default_instance()); -} -class DaskJob::HasBitSetters { - public: - static const ::flyteidl::plugins::DaskScheduler& scheduler(const DaskJob* msg); - static const ::flyteidl::plugins::DaskWorkerGroup& workers(const DaskJob* msg); -}; - -const ::flyteidl::plugins::DaskScheduler& -DaskJob::HasBitSetters::scheduler(const DaskJob* msg) { - return *msg->scheduler_; -} -const ::flyteidl::plugins::DaskWorkerGroup& -DaskJob::HasBitSetters::workers(const DaskJob* msg) { - return *msg->workers_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DaskJob::kSchedulerFieldNumber; -const int DaskJob::kWorkersFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DaskJob::DaskJob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.DaskJob) -} -DaskJob::DaskJob(const DaskJob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_scheduler()) { - scheduler_ = new ::flyteidl::plugins::DaskScheduler(*from.scheduler_); - } else { - scheduler_ = nullptr; - } - if (from.has_workers()) { - workers_ = new ::flyteidl::plugins::DaskWorkerGroup(*from.workers_); - } else { - workers_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.DaskJob) -} - -void DaskJob::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DaskJob_flyteidl_2fplugins_2fdask_2eproto.base); - ::memset(&scheduler_, 0, static_cast( - reinterpret_cast(&workers_) - - reinterpret_cast(&scheduler_)) + sizeof(workers_)); -} - -DaskJob::~DaskJob() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.DaskJob) - SharedDtor(); -} - -void DaskJob::SharedDtor() { - if (this != internal_default_instance()) delete scheduler_; - if (this != internal_default_instance()) delete workers_; -} - -void DaskJob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DaskJob& DaskJob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DaskJob_flyteidl_2fplugins_2fdask_2eproto.base); - return *internal_default_instance(); -} - - -void DaskJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.DaskJob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && scheduler_ != nullptr) { - delete scheduler_; - } - scheduler_ = nullptr; - if (GetArenaNoVirtual() == nullptr && workers_ != nullptr) { - delete workers_; - } - workers_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DaskJob::_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.plugins.DaskScheduler scheduler = 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::plugins::DaskScheduler::_InternalParse; - object = msg->mutable_scheduler(); - 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.plugins.DaskWorkerGroup workers = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::DaskWorkerGroup::_InternalParse; - object = msg->mutable_workers(); - 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 DaskJob::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.plugins.DaskJob) - 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.plugins.DaskScheduler scheduler = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_scheduler())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.DaskWorkerGroup workers = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_workers())); - } 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.plugins.DaskJob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.DaskJob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DaskJob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.DaskJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.DaskScheduler scheduler = 1; - if (this->has_scheduler()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::scheduler(this), output); - } - - // .flyteidl.plugins.DaskWorkerGroup workers = 2; - if (this->has_workers()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::workers(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.DaskJob) -} - -::google::protobuf::uint8* DaskJob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.DaskJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.DaskScheduler scheduler = 1; - if (this->has_scheduler()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::scheduler(this), target); - } - - // .flyteidl.plugins.DaskWorkerGroup workers = 2; - if (this->has_workers()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::workers(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.plugins.DaskJob) - return target; -} - -size_t DaskJob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.DaskJob) - 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.plugins.DaskScheduler scheduler = 1; - if (this->has_scheduler()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *scheduler_); - } - - // .flyteidl.plugins.DaskWorkerGroup workers = 2; - if (this->has_workers()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *workers_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DaskJob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.DaskJob) - GOOGLE_DCHECK_NE(&from, this); - const DaskJob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.DaskJob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.DaskJob) - MergeFrom(*source); - } -} - -void DaskJob::MergeFrom(const DaskJob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.DaskJob) - 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_scheduler()) { - mutable_scheduler()->::flyteidl::plugins::DaskScheduler::MergeFrom(from.scheduler()); - } - if (from.has_workers()) { - mutable_workers()->::flyteidl::plugins::DaskWorkerGroup::MergeFrom(from.workers()); - } -} - -void DaskJob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.DaskJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DaskJob::CopyFrom(const DaskJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.DaskJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DaskJob::IsInitialized() const { - return true; -} - -void DaskJob::Swap(DaskJob* other) { - if (other == this) return; - InternalSwap(other); -} -void DaskJob::InternalSwap(DaskJob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(scheduler_, other->scheduler_); - swap(workers_, other->workers_); -} - -::google::protobuf::Metadata DaskJob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fdask_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fdask_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DaskScheduler::InitAsDefaultInstance() { - ::flyteidl::plugins::_DaskScheduler_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( - ::flyteidl::core::Resources::internal_default_instance()); -} -class DaskScheduler::HasBitSetters { - public: - static const ::flyteidl::core::Resources& resources(const DaskScheduler* msg); -}; - -const ::flyteidl::core::Resources& -DaskScheduler::HasBitSetters::resources(const DaskScheduler* msg) { - return *msg->resources_; -} -void DaskScheduler::clear_resources() { - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DaskScheduler::kImageFieldNumber; -const int DaskScheduler::kResourcesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DaskScheduler::DaskScheduler() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.DaskScheduler) -} -DaskScheduler::DaskScheduler(const DaskScheduler& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.image().size() > 0) { - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - resources_ = new ::flyteidl::core::Resources(*from.resources_); - } else { - resources_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.DaskScheduler) -} - -void DaskScheduler::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DaskScheduler_flyteidl_2fplugins_2fdask_2eproto.base); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - resources_ = nullptr; -} - -DaskScheduler::~DaskScheduler() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.DaskScheduler) - SharedDtor(); -} - -void DaskScheduler::SharedDtor() { - image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete resources_; -} - -void DaskScheduler::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DaskScheduler& DaskScheduler::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DaskScheduler_flyteidl_2fplugins_2fdask_2eproto.base); - return *internal_default_instance(); -} - - -void DaskScheduler::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.DaskScheduler) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DaskScheduler::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string image = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.DaskScheduler.image"); - object = msg->mutable_image(); - 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.Resources resources = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::Resources::_InternalParse; - object = msg->mutable_resources(); - 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 DaskScheduler::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.plugins.DaskScheduler) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string image = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_image())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.DaskScheduler.image")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Resources resources = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resources())); - } 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.plugins.DaskScheduler) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.DaskScheduler) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DaskScheduler::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.DaskScheduler) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string image = 1; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.DaskScheduler.image"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->image(), output); - } - - // .flyteidl.core.Resources resources = 2; - if (this->has_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::resources(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.DaskScheduler) -} - -::google::protobuf::uint8* DaskScheduler::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.DaskScheduler) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string image = 1; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.DaskScheduler.image"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->image(), target); - } - - // .flyteidl.core.Resources resources = 2; - if (this->has_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::resources(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.plugins.DaskScheduler) - return target; -} - -size_t DaskScheduler::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.DaskScheduler) - 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 image = 1; - if (this->image().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->image()); - } - - // .flyteidl.core.Resources resources = 2; - if (this->has_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resources_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DaskScheduler::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.DaskScheduler) - GOOGLE_DCHECK_NE(&from, this); - const DaskScheduler* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.DaskScheduler) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.DaskScheduler) - MergeFrom(*source); - } -} - -void DaskScheduler::MergeFrom(const DaskScheduler& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.DaskScheduler) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.image().size() > 0) { - - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); - } -} - -void DaskScheduler::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.DaskScheduler) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DaskScheduler::CopyFrom(const DaskScheduler& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.DaskScheduler) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DaskScheduler::IsInitialized() const { - return true; -} - -void DaskScheduler::Swap(DaskScheduler* other) { - if (other == this) return; - InternalSwap(other); -} -void DaskScheduler::InternalSwap(DaskScheduler* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resources_, other->resources_); -} - -::google::protobuf::Metadata DaskScheduler::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fdask_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fdask_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DaskWorkerGroup::InitAsDefaultInstance() { - ::flyteidl::plugins::_DaskWorkerGroup_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( - ::flyteidl::core::Resources::internal_default_instance()); -} -class DaskWorkerGroup::HasBitSetters { - public: - static const ::flyteidl::core::Resources& resources(const DaskWorkerGroup* msg); -}; - -const ::flyteidl::core::Resources& -DaskWorkerGroup::HasBitSetters::resources(const DaskWorkerGroup* msg) { - return *msg->resources_; -} -void DaskWorkerGroup::clear_resources() { - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DaskWorkerGroup::kNumberOfWorkersFieldNumber; -const int DaskWorkerGroup::kImageFieldNumber; -const int DaskWorkerGroup::kResourcesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DaskWorkerGroup::DaskWorkerGroup() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.DaskWorkerGroup) -} -DaskWorkerGroup::DaskWorkerGroup(const DaskWorkerGroup& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.image().size() > 0) { - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - resources_ = new ::flyteidl::core::Resources(*from.resources_); - } else { - resources_ = nullptr; - } - number_of_workers_ = from.number_of_workers_; - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.DaskWorkerGroup) -} - -void DaskWorkerGroup::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto.base); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&resources_, 0, static_cast( - reinterpret_cast(&number_of_workers_) - - reinterpret_cast(&resources_)) + sizeof(number_of_workers_)); -} - -DaskWorkerGroup::~DaskWorkerGroup() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.DaskWorkerGroup) - SharedDtor(); -} - -void DaskWorkerGroup::SharedDtor() { - image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete resources_; -} - -void DaskWorkerGroup::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DaskWorkerGroup& DaskWorkerGroup::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DaskWorkerGroup_flyteidl_2fplugins_2fdask_2eproto.base); - return *internal_default_instance(); -} - - -void DaskWorkerGroup::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.DaskWorkerGroup) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; - number_of_workers_ = 0u; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DaskWorkerGroup::_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) { - // uint32 number_of_workers = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_number_of_workers(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string image = 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.plugins.DaskWorkerGroup.image"); - object = msg->mutable_image(); - 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.Resources resources = 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::Resources::_InternalParse; - object = msg->mutable_resources(); - 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 DaskWorkerGroup::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.plugins.DaskWorkerGroup) - 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)) { - // uint32 number_of_workers = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &number_of_workers_))); - } else { - goto handle_unusual; - } - break; - } - - // string image = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_image())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.DaskWorkerGroup.image")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Resources resources = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resources())); - } 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.plugins.DaskWorkerGroup) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.DaskWorkerGroup) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DaskWorkerGroup::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.DaskWorkerGroup) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 number_of_workers = 1; - if (this->number_of_workers() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->number_of_workers(), output); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.DaskWorkerGroup.image"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->image(), output); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::resources(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.DaskWorkerGroup) -} - -::google::protobuf::uint8* DaskWorkerGroup::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.DaskWorkerGroup) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // uint32 number_of_workers = 1; - if (this->number_of_workers() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->number_of_workers(), target); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.DaskWorkerGroup.image"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->image(), target); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::resources(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.plugins.DaskWorkerGroup) - return target; -} - -size_t DaskWorkerGroup::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.DaskWorkerGroup) - 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 image = 2; - if (this->image().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->image()); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resources_); - } - - // uint32 number_of_workers = 1; - if (this->number_of_workers() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->number_of_workers()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DaskWorkerGroup::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.DaskWorkerGroup) - GOOGLE_DCHECK_NE(&from, this); - const DaskWorkerGroup* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.DaskWorkerGroup) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.DaskWorkerGroup) - MergeFrom(*source); - } -} - -void DaskWorkerGroup::MergeFrom(const DaskWorkerGroup& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.DaskWorkerGroup) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.image().size() > 0) { - - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); - } - if (from.number_of_workers() != 0) { - set_number_of_workers(from.number_of_workers()); - } -} - -void DaskWorkerGroup::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.DaskWorkerGroup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DaskWorkerGroup::CopyFrom(const DaskWorkerGroup& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.DaskWorkerGroup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DaskWorkerGroup::IsInitialized() const { - return true; -} - -void DaskWorkerGroup::Swap(DaskWorkerGroup* other) { - if (other == this) return; - InternalSwap(other); -} -void DaskWorkerGroup::InternalSwap(DaskWorkerGroup* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resources_, other->resources_); - swap(number_of_workers_, other->number_of_workers_); -} - -::google::protobuf::Metadata DaskWorkerGroup::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fdask_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fdask_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::DaskJob* Arena::CreateMaybeMessage< ::flyteidl::plugins::DaskJob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::DaskJob >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::DaskScheduler* Arena::CreateMaybeMessage< ::flyteidl::plugins::DaskScheduler >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::DaskScheduler >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::DaskWorkerGroup* Arena::CreateMaybeMessage< ::flyteidl::plugins::DaskWorkerGroup >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::DaskWorkerGroup >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.pb.h deleted file mode 100644 index e1371fc2a3..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/dask.pb.h +++ /dev/null @@ -1,814 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/dask.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fdask_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fdask_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/tasks.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fdask_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fdask_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_2fplugins_2fdask_2eproto(); -namespace flyteidl { -namespace plugins { -class DaskJob; -class DaskJobDefaultTypeInternal; -extern DaskJobDefaultTypeInternal _DaskJob_default_instance_; -class DaskScheduler; -class DaskSchedulerDefaultTypeInternal; -extern DaskSchedulerDefaultTypeInternal _DaskScheduler_default_instance_; -class DaskWorkerGroup; -class DaskWorkerGroupDefaultTypeInternal; -extern DaskWorkerGroupDefaultTypeInternal _DaskWorkerGroup_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::DaskJob* Arena::CreateMaybeMessage<::flyteidl::plugins::DaskJob>(Arena*); -template<> ::flyteidl::plugins::DaskScheduler* Arena::CreateMaybeMessage<::flyteidl::plugins::DaskScheduler>(Arena*); -template<> ::flyteidl::plugins::DaskWorkerGroup* Arena::CreateMaybeMessage<::flyteidl::plugins::DaskWorkerGroup>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class DaskJob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.DaskJob) */ { - public: - DaskJob(); - virtual ~DaskJob(); - - DaskJob(const DaskJob& from); - - inline DaskJob& operator=(const DaskJob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DaskJob(DaskJob&& from) noexcept - : DaskJob() { - *this = ::std::move(from); - } - - inline DaskJob& operator=(DaskJob&& 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 DaskJob& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DaskJob* internal_default_instance() { - return reinterpret_cast( - &_DaskJob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(DaskJob* other); - friend void swap(DaskJob& a, DaskJob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DaskJob* New() const final { - return CreateMaybeMessage(nullptr); - } - - DaskJob* 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 DaskJob& from); - void MergeFrom(const DaskJob& 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(DaskJob* 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.plugins.DaskScheduler scheduler = 1; - bool has_scheduler() const; - void clear_scheduler(); - static const int kSchedulerFieldNumber = 1; - const ::flyteidl::plugins::DaskScheduler& scheduler() const; - ::flyteidl::plugins::DaskScheduler* release_scheduler(); - ::flyteidl::plugins::DaskScheduler* mutable_scheduler(); - void set_allocated_scheduler(::flyteidl::plugins::DaskScheduler* scheduler); - - // .flyteidl.plugins.DaskWorkerGroup workers = 2; - bool has_workers() const; - void clear_workers(); - static const int kWorkersFieldNumber = 2; - const ::flyteidl::plugins::DaskWorkerGroup& workers() const; - ::flyteidl::plugins::DaskWorkerGroup* release_workers(); - ::flyteidl::plugins::DaskWorkerGroup* mutable_workers(); - void set_allocated_workers(::flyteidl::plugins::DaskWorkerGroup* workers); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DaskJob) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::plugins::DaskScheduler* scheduler_; - ::flyteidl::plugins::DaskWorkerGroup* workers_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fdask_2eproto; -}; -// ------------------------------------------------------------------- - -class DaskScheduler final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.DaskScheduler) */ { - public: - DaskScheduler(); - virtual ~DaskScheduler(); - - DaskScheduler(const DaskScheduler& from); - - inline DaskScheduler& operator=(const DaskScheduler& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DaskScheduler(DaskScheduler&& from) noexcept - : DaskScheduler() { - *this = ::std::move(from); - } - - inline DaskScheduler& operator=(DaskScheduler&& 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 DaskScheduler& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DaskScheduler* internal_default_instance() { - return reinterpret_cast( - &_DaskScheduler_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(DaskScheduler* other); - friend void swap(DaskScheduler& a, DaskScheduler& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DaskScheduler* New() const final { - return CreateMaybeMessage(nullptr); - } - - DaskScheduler* 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 DaskScheduler& from); - void MergeFrom(const DaskScheduler& 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(DaskScheduler* 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 image = 1; - void clear_image(); - static const int kImageFieldNumber = 1; - const ::std::string& image() const; - void set_image(const ::std::string& value); - #if LANG_CXX11 - void set_image(::std::string&& value); - #endif - void set_image(const char* value); - void set_image(const char* value, size_t size); - ::std::string* mutable_image(); - ::std::string* release_image(); - void set_allocated_image(::std::string* image); - - // .flyteidl.core.Resources resources = 2; - bool has_resources() const; - void clear_resources(); - static const int kResourcesFieldNumber = 2; - const ::flyteidl::core::Resources& resources() const; - ::flyteidl::core::Resources* release_resources(); - ::flyteidl::core::Resources* mutable_resources(); - void set_allocated_resources(::flyteidl::core::Resources* resources); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DaskScheduler) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr image_; - ::flyteidl::core::Resources* resources_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fdask_2eproto; -}; -// ------------------------------------------------------------------- - -class DaskWorkerGroup final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.DaskWorkerGroup) */ { - public: - DaskWorkerGroup(); - virtual ~DaskWorkerGroup(); - - DaskWorkerGroup(const DaskWorkerGroup& from); - - inline DaskWorkerGroup& operator=(const DaskWorkerGroup& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DaskWorkerGroup(DaskWorkerGroup&& from) noexcept - : DaskWorkerGroup() { - *this = ::std::move(from); - } - - inline DaskWorkerGroup& operator=(DaskWorkerGroup&& 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 DaskWorkerGroup& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DaskWorkerGroup* internal_default_instance() { - return reinterpret_cast( - &_DaskWorkerGroup_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(DaskWorkerGroup* other); - friend void swap(DaskWorkerGroup& a, DaskWorkerGroup& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DaskWorkerGroup* New() const final { - return CreateMaybeMessage(nullptr); - } - - DaskWorkerGroup* 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 DaskWorkerGroup& from); - void MergeFrom(const DaskWorkerGroup& 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(DaskWorkerGroup* 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 image = 2; - void clear_image(); - static const int kImageFieldNumber = 2; - const ::std::string& image() const; - void set_image(const ::std::string& value); - #if LANG_CXX11 - void set_image(::std::string&& value); - #endif - void set_image(const char* value); - void set_image(const char* value, size_t size); - ::std::string* mutable_image(); - ::std::string* release_image(); - void set_allocated_image(::std::string* image); - - // .flyteidl.core.Resources resources = 3; - bool has_resources() const; - void clear_resources(); - static const int kResourcesFieldNumber = 3; - const ::flyteidl::core::Resources& resources() const; - ::flyteidl::core::Resources* release_resources(); - ::flyteidl::core::Resources* mutable_resources(); - void set_allocated_resources(::flyteidl::core::Resources* resources); - - // uint32 number_of_workers = 1; - void clear_number_of_workers(); - static const int kNumberOfWorkersFieldNumber = 1; - ::google::protobuf::uint32 number_of_workers() const; - void set_number_of_workers(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DaskWorkerGroup) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr image_; - ::flyteidl::core::Resources* resources_; - ::google::protobuf::uint32 number_of_workers_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fdask_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DaskJob - -// .flyteidl.plugins.DaskScheduler scheduler = 1; -inline bool DaskJob::has_scheduler() const { - return this != internal_default_instance() && scheduler_ != nullptr; -} -inline void DaskJob::clear_scheduler() { - if (GetArenaNoVirtual() == nullptr && scheduler_ != nullptr) { - delete scheduler_; - } - scheduler_ = nullptr; -} -inline const ::flyteidl::plugins::DaskScheduler& DaskJob::scheduler() const { - const ::flyteidl::plugins::DaskScheduler* p = scheduler_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.DaskJob.scheduler) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::_DaskScheduler_default_instance_); -} -inline ::flyteidl::plugins::DaskScheduler* DaskJob::release_scheduler() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.DaskJob.scheduler) - - ::flyteidl::plugins::DaskScheduler* temp = scheduler_; - scheduler_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::DaskScheduler* DaskJob::mutable_scheduler() { - - if (scheduler_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::DaskScheduler>(GetArenaNoVirtual()); - scheduler_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DaskJob.scheduler) - return scheduler_; -} -inline void DaskJob::set_allocated_scheduler(::flyteidl::plugins::DaskScheduler* scheduler) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete scheduler_; - } - if (scheduler) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - scheduler = ::google::protobuf::internal::GetOwnedMessage( - message_arena, scheduler, submessage_arena); - } - - } else { - - } - scheduler_ = scheduler; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DaskJob.scheduler) -} - -// .flyteidl.plugins.DaskWorkerGroup workers = 2; -inline bool DaskJob::has_workers() const { - return this != internal_default_instance() && workers_ != nullptr; -} -inline void DaskJob::clear_workers() { - if (GetArenaNoVirtual() == nullptr && workers_ != nullptr) { - delete workers_; - } - workers_ = nullptr; -} -inline const ::flyteidl::plugins::DaskWorkerGroup& DaskJob::workers() const { - const ::flyteidl::plugins::DaskWorkerGroup* p = workers_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.DaskJob.workers) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::_DaskWorkerGroup_default_instance_); -} -inline ::flyteidl::plugins::DaskWorkerGroup* DaskJob::release_workers() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.DaskJob.workers) - - ::flyteidl::plugins::DaskWorkerGroup* temp = workers_; - workers_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::DaskWorkerGroup* DaskJob::mutable_workers() { - - if (workers_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::DaskWorkerGroup>(GetArenaNoVirtual()); - workers_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DaskJob.workers) - return workers_; -} -inline void DaskJob::set_allocated_workers(::flyteidl::plugins::DaskWorkerGroup* workers) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete workers_; - } - if (workers) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - workers = ::google::protobuf::internal::GetOwnedMessage( - message_arena, workers, submessage_arena); - } - - } else { - - } - workers_ = workers; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DaskJob.workers) -} - -// ------------------------------------------------------------------- - -// DaskScheduler - -// string image = 1; -inline void DaskScheduler::clear_image() { - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DaskScheduler::image() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DaskScheduler.image) - return image_.GetNoArena(); -} -inline void DaskScheduler::set_image(const ::std::string& value) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.DaskScheduler.image) -} -#if LANG_CXX11 -inline void DaskScheduler::set_image(::std::string&& value) { - - image_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.DaskScheduler.image) -} -#endif -inline void DaskScheduler::set_image(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.DaskScheduler.image) -} -inline void DaskScheduler::set_image(const char* value, size_t size) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.DaskScheduler.image) -} -inline ::std::string* DaskScheduler::mutable_image() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DaskScheduler.image) - return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DaskScheduler::release_image() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.DaskScheduler.image) - - return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DaskScheduler::set_allocated_image(::std::string* image) { - if (image != nullptr) { - - } else { - - } - image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DaskScheduler.image) -} - -// .flyteidl.core.Resources resources = 2; -inline bool DaskScheduler::has_resources() const { - return this != internal_default_instance() && resources_ != nullptr; -} -inline const ::flyteidl::core::Resources& DaskScheduler::resources() const { - const ::flyteidl::core::Resources* p = resources_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.DaskScheduler.resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Resources_default_instance_); -} -inline ::flyteidl::core::Resources* DaskScheduler::release_resources() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.DaskScheduler.resources) - - ::flyteidl::core::Resources* temp = resources_; - resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::Resources* DaskScheduler::mutable_resources() { - - if (resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); - resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DaskScheduler.resources) - return resources_; -} -inline void DaskScheduler::set_allocated_resources(::flyteidl::core::Resources* resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); - } - if (resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resources, submessage_arena); - } - - } else { - - } - resources_ = resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DaskScheduler.resources) -} - -// ------------------------------------------------------------------- - -// DaskWorkerGroup - -// uint32 number_of_workers = 1; -inline void DaskWorkerGroup::clear_number_of_workers() { - number_of_workers_ = 0u; -} -inline ::google::protobuf::uint32 DaskWorkerGroup::number_of_workers() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DaskWorkerGroup.number_of_workers) - return number_of_workers_; -} -inline void DaskWorkerGroup::set_number_of_workers(::google::protobuf::uint32 value) { - - number_of_workers_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DaskWorkerGroup.number_of_workers) -} - -// string image = 2; -inline void DaskWorkerGroup::clear_image() { - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DaskWorkerGroup::image() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DaskWorkerGroup.image) - return image_.GetNoArena(); -} -inline void DaskWorkerGroup::set_image(const ::std::string& value) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.DaskWorkerGroup.image) -} -#if LANG_CXX11 -inline void DaskWorkerGroup::set_image(::std::string&& value) { - - image_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.DaskWorkerGroup.image) -} -#endif -inline void DaskWorkerGroup::set_image(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.DaskWorkerGroup.image) -} -inline void DaskWorkerGroup::set_image(const char* value, size_t size) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.DaskWorkerGroup.image) -} -inline ::std::string* DaskWorkerGroup::mutable_image() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DaskWorkerGroup.image) - return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DaskWorkerGroup::release_image() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.DaskWorkerGroup.image) - - return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DaskWorkerGroup::set_allocated_image(::std::string* image) { - if (image != nullptr) { - - } else { - - } - image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DaskWorkerGroup.image) -} - -// .flyteidl.core.Resources resources = 3; -inline bool DaskWorkerGroup::has_resources() const { - return this != internal_default_instance() && resources_ != nullptr; -} -inline const ::flyteidl::core::Resources& DaskWorkerGroup::resources() const { - const ::flyteidl::core::Resources* p = resources_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.DaskWorkerGroup.resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Resources_default_instance_); -} -inline ::flyteidl::core::Resources* DaskWorkerGroup::release_resources() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.DaskWorkerGroup.resources) - - ::flyteidl::core::Resources* temp = resources_; - resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::Resources* DaskWorkerGroup::mutable_resources() { - - if (resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); - resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DaskWorkerGroup.resources) - return resources_; -} -inline void DaskWorkerGroup::set_allocated_resources(::flyteidl::core::Resources* resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); - } - if (resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resources, submessage_arena); - } - - } else { - - } - resources_ = resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DaskWorkerGroup.resources) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fdask_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.cc deleted file mode 100644 index 97c9820090..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.cc +++ /dev/null @@ -1,26 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/common.proto - -#include "flyteidl/plugins/kubeflow/common.pb.h" -#include "flyteidl/plugins/kubeflow/common.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -} // namespace flyteidl -} // namespace plugins -} // namespace kubeflow - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.h deleted file mode 100644 index 010f31fab1..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.h +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/common.proto -#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto__INCLUDED - -#include "flyteidl/plugins/kubeflow/common.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 plugins { -namespace kubeflow { - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.cc deleted file mode 100644 index c94c733714..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.cc +++ /dev/null @@ -1,548 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/common.proto - -#include "flyteidl/plugins/kubeflow/common.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class RunPolicyDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _RunPolicy_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsRunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::RunPolicy(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::RunPolicy::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto}, {}}; - -void InitDefaults_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[1]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[2]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, clean_pod_policy_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, ttl_seconds_after_finished_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, active_deadline_seconds_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, backoff_limit_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::kubeflow::RunPolicy)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, "flyteidl/plugins/kubeflow/common.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[] = - "\n&flyteidl/plugins/kubeflow/common.proto" - "\022\031flyteidl.plugins.kubeflow\"\254\001\n\tRunPolic" - "y\022C\n\020clean_pod_policy\030\001 \001(\0162).flyteidl.p" - "lugins.kubeflow.CleanPodPolicy\022\"\n\032ttl_se" - "conds_after_finished\030\002 \001(\005\022\037\n\027active_dea" - "dline_seconds\030\003 \001(\005\022\025\n\rbackoff_limit\030\004 \001" - "(\005*c\n\rRestartPolicy\022\030\n\024RESTART_POLICY_NE" - "VER\020\000\022\035\n\031RESTART_POLICY_ON_FAILURE\020\001\022\031\n\025" - "RESTART_POLICY_ALWAYS\020\002*`\n\016CleanPodPolic" - "y\022\030\n\024CLEANPOD_POLICY_NONE\020\000\022\033\n\027CLEANPOD_" - "POLICY_RUNNING\020\001\022\027\n\023CLEANPOD_POLICY_ALL\020" - "\002B\?Z=github.com/flyteorg/flyte/flyteidl/" - "gen/pb-go/flyteidl/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, - "flyteidl/plugins/kubeflow/common.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, 514, -}; - -void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { -const ::google::protobuf::EnumDescriptor* RestartPolicy_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto); - return file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[0]; -} -bool RestartPolicy_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::google::protobuf::EnumDescriptor* CleanPodPolicy_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto); - return file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[1]; -} -bool CleanPodPolicy_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -void RunPolicy::InitAsDefaultInstance() { -} -class RunPolicy::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RunPolicy::kCleanPodPolicyFieldNumber; -const int RunPolicy::kTtlSecondsAfterFinishedFieldNumber; -const int RunPolicy::kActiveDeadlineSecondsFieldNumber; -const int RunPolicy::kBackoffLimitFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RunPolicy::RunPolicy() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.RunPolicy) -} -RunPolicy::RunPolicy(const RunPolicy& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&clean_pod_policy_, &from.clean_pod_policy_, - static_cast(reinterpret_cast(&backoff_limit_) - - reinterpret_cast(&clean_pod_policy_)) + sizeof(backoff_limit_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.RunPolicy) -} - -void RunPolicy::SharedCtor() { - ::memset(&clean_pod_policy_, 0, static_cast( - reinterpret_cast(&backoff_limit_) - - reinterpret_cast(&clean_pod_policy_)) + sizeof(backoff_limit_)); -} - -RunPolicy::~RunPolicy() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.RunPolicy) - SharedDtor(); -} - -void RunPolicy::SharedDtor() { -} - -void RunPolicy::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RunPolicy& RunPolicy::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base); - return *internal_default_instance(); -} - - -void RunPolicy::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.RunPolicy) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&clean_pod_policy_, 0, static_cast( - reinterpret_cast(&backoff_limit_) - - reinterpret_cast(&clean_pod_policy_)) + sizeof(backoff_limit_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RunPolicy::_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.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 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_clean_pod_policy(static_cast<::flyteidl::plugins::kubeflow::CleanPodPolicy>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 ttl_seconds_after_finished = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_ttl_seconds_after_finished(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 active_deadline_seconds = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_active_deadline_seconds(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 backoff_limit = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_backoff_limit(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool RunPolicy::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.plugins.kubeflow.RunPolicy) - 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.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 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_clean_pod_policy(static_cast< ::flyteidl::plugins::kubeflow::CleanPodPolicy >(value)); - } else { - goto handle_unusual; - } - break; - } - - // int32 ttl_seconds_after_finished = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &ttl_seconds_after_finished_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 active_deadline_seconds = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &active_deadline_seconds_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 backoff_limit = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &backoff_limit_))); - } 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.plugins.kubeflow.RunPolicy) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.RunPolicy) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RunPolicy::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.RunPolicy) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - if (this->clean_pod_policy() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->clean_pod_policy(), output); - } - - // int32 ttl_seconds_after_finished = 2; - if (this->ttl_seconds_after_finished() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ttl_seconds_after_finished(), output); - } - - // int32 active_deadline_seconds = 3; - if (this->active_deadline_seconds() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->active_deadline_seconds(), output); - } - - // int32 backoff_limit = 4; - if (this->backoff_limit() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->backoff_limit(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.RunPolicy) -} - -::google::protobuf::uint8* RunPolicy::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.RunPolicy) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - if (this->clean_pod_policy() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->clean_pod_policy(), target); - } - - // int32 ttl_seconds_after_finished = 2; - if (this->ttl_seconds_after_finished() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ttl_seconds_after_finished(), target); - } - - // int32 active_deadline_seconds = 3; - if (this->active_deadline_seconds() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->active_deadline_seconds(), target); - } - - // int32 backoff_limit = 4; - if (this->backoff_limit() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->backoff_limit(), 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.plugins.kubeflow.RunPolicy) - return target; -} - -size_t RunPolicy::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.RunPolicy) - 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.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - if (this->clean_pod_policy() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->clean_pod_policy()); - } - - // int32 ttl_seconds_after_finished = 2; - if (this->ttl_seconds_after_finished() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->ttl_seconds_after_finished()); - } - - // int32 active_deadline_seconds = 3; - if (this->active_deadline_seconds() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->active_deadline_seconds()); - } - - // int32 backoff_limit = 4; - if (this->backoff_limit() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->backoff_limit()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RunPolicy::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.RunPolicy) - GOOGLE_DCHECK_NE(&from, this); - const RunPolicy* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.RunPolicy) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.RunPolicy) - MergeFrom(*source); - } -} - -void RunPolicy::MergeFrom(const RunPolicy& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.RunPolicy) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.clean_pod_policy() != 0) { - set_clean_pod_policy(from.clean_pod_policy()); - } - if (from.ttl_seconds_after_finished() != 0) { - set_ttl_seconds_after_finished(from.ttl_seconds_after_finished()); - } - if (from.active_deadline_seconds() != 0) { - set_active_deadline_seconds(from.active_deadline_seconds()); - } - if (from.backoff_limit() != 0) { - set_backoff_limit(from.backoff_limit()); - } -} - -void RunPolicy::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.RunPolicy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RunPolicy::CopyFrom(const RunPolicy& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.RunPolicy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RunPolicy::IsInitialized() const { - return true; -} - -void RunPolicy::Swap(RunPolicy* other) { - if (other == this) return; - InternalSwap(other); -} -void RunPolicy::InternalSwap(RunPolicy* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(clean_pod_policy_, other->clean_pod_policy_); - swap(ttl_seconds_after_finished_, other->ttl_seconds_after_finished_); - swap(active_deadline_seconds_, other->active_deadline_seconds_); - swap(backoff_limit_, other->backoff_limit_); -} - -::google::protobuf::Metadata RunPolicy::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::RunPolicy* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::RunPolicy >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::RunPolicy >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.h deleted file mode 100644 index de4d80d2aa..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.h +++ /dev/null @@ -1,344 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/common.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fcommon_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_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[1] - 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_2fplugins_2fkubeflow_2fcommon_2eproto(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class RunPolicy; -class RunPolicyDefaultTypeInternal; -extern RunPolicyDefaultTypeInternal _RunPolicy_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::kubeflow::RunPolicy* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -enum RestartPolicy { - RESTART_POLICY_NEVER = 0, - RESTART_POLICY_ON_FAILURE = 1, - RESTART_POLICY_ALWAYS = 2, - RestartPolicy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - RestartPolicy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool RestartPolicy_IsValid(int value); -const RestartPolicy RestartPolicy_MIN = RESTART_POLICY_NEVER; -const RestartPolicy RestartPolicy_MAX = RESTART_POLICY_ALWAYS; -const int RestartPolicy_ARRAYSIZE = RestartPolicy_MAX + 1; - -const ::google::protobuf::EnumDescriptor* RestartPolicy_descriptor(); -inline const ::std::string& RestartPolicy_Name(RestartPolicy value) { - return ::google::protobuf::internal::NameOfEnum( - RestartPolicy_descriptor(), value); -} -inline bool RestartPolicy_Parse( - const ::std::string& name, RestartPolicy* value) { - return ::google::protobuf::internal::ParseNamedEnum( - RestartPolicy_descriptor(), name, value); -} -enum CleanPodPolicy { - CLEANPOD_POLICY_NONE = 0, - CLEANPOD_POLICY_RUNNING = 1, - CLEANPOD_POLICY_ALL = 2, - CleanPodPolicy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - CleanPodPolicy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool CleanPodPolicy_IsValid(int value); -const CleanPodPolicy CleanPodPolicy_MIN = CLEANPOD_POLICY_NONE; -const CleanPodPolicy CleanPodPolicy_MAX = CLEANPOD_POLICY_ALL; -const int CleanPodPolicy_ARRAYSIZE = CleanPodPolicy_MAX + 1; - -const ::google::protobuf::EnumDescriptor* CleanPodPolicy_descriptor(); -inline const ::std::string& CleanPodPolicy_Name(CleanPodPolicy value) { - return ::google::protobuf::internal::NameOfEnum( - CleanPodPolicy_descriptor(), value); -} -inline bool CleanPodPolicy_Parse( - const ::std::string& name, CleanPodPolicy* value) { - return ::google::protobuf::internal::ParseNamedEnum( - CleanPodPolicy_descriptor(), name, value); -} -// =================================================================== - -class RunPolicy final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.RunPolicy) */ { - public: - RunPolicy(); - virtual ~RunPolicy(); - - RunPolicy(const RunPolicy& from); - - inline RunPolicy& operator=(const RunPolicy& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RunPolicy(RunPolicy&& from) noexcept - : RunPolicy() { - *this = ::std::move(from); - } - - inline RunPolicy& operator=(RunPolicy&& 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 RunPolicy& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RunPolicy* internal_default_instance() { - return reinterpret_cast( - &_RunPolicy_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(RunPolicy* other); - friend void swap(RunPolicy& a, RunPolicy& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RunPolicy* New() const final { - return CreateMaybeMessage(nullptr); - } - - RunPolicy* 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 RunPolicy& from); - void MergeFrom(const RunPolicy& 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(RunPolicy* 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.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - void clear_clean_pod_policy(); - static const int kCleanPodPolicyFieldNumber = 1; - ::flyteidl::plugins::kubeflow::CleanPodPolicy clean_pod_policy() const; - void set_clean_pod_policy(::flyteidl::plugins::kubeflow::CleanPodPolicy value); - - // int32 ttl_seconds_after_finished = 2; - void clear_ttl_seconds_after_finished(); - static const int kTtlSecondsAfterFinishedFieldNumber = 2; - ::google::protobuf::int32 ttl_seconds_after_finished() const; - void set_ttl_seconds_after_finished(::google::protobuf::int32 value); - - // int32 active_deadline_seconds = 3; - void clear_active_deadline_seconds(); - static const int kActiveDeadlineSecondsFieldNumber = 3; - ::google::protobuf::int32 active_deadline_seconds() const; - void set_active_deadline_seconds(::google::protobuf::int32 value); - - // int32 backoff_limit = 4; - void clear_backoff_limit(); - static const int kBackoffLimitFieldNumber = 4; - ::google::protobuf::int32 backoff_limit() const; - void set_backoff_limit(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.RunPolicy) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int clean_pod_policy_; - ::google::protobuf::int32 ttl_seconds_after_finished_; - ::google::protobuf::int32 active_deadline_seconds_; - ::google::protobuf::int32 backoff_limit_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// RunPolicy - -// .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; -inline void RunPolicy::clear_clean_pod_policy() { - clean_pod_policy_ = 0; -} -inline ::flyteidl::plugins::kubeflow::CleanPodPolicy RunPolicy::clean_pod_policy() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.clean_pod_policy) - return static_cast< ::flyteidl::plugins::kubeflow::CleanPodPolicy >(clean_pod_policy_); -} -inline void RunPolicy::set_clean_pod_policy(::flyteidl::plugins::kubeflow::CleanPodPolicy value) { - - clean_pod_policy_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.clean_pod_policy) -} - -// int32 ttl_seconds_after_finished = 2; -inline void RunPolicy::clear_ttl_seconds_after_finished() { - ttl_seconds_after_finished_ = 0; -} -inline ::google::protobuf::int32 RunPolicy::ttl_seconds_after_finished() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.ttl_seconds_after_finished) - return ttl_seconds_after_finished_; -} -inline void RunPolicy::set_ttl_seconds_after_finished(::google::protobuf::int32 value) { - - ttl_seconds_after_finished_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.ttl_seconds_after_finished) -} - -// int32 active_deadline_seconds = 3; -inline void RunPolicy::clear_active_deadline_seconds() { - active_deadline_seconds_ = 0; -} -inline ::google::protobuf::int32 RunPolicy::active_deadline_seconds() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.active_deadline_seconds) - return active_deadline_seconds_; -} -inline void RunPolicy::set_active_deadline_seconds(::google::protobuf::int32 value) { - - active_deadline_seconds_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.active_deadline_seconds) -} - -// int32 backoff_limit = 4; -inline void RunPolicy::clear_backoff_limit() { - backoff_limit_ = 0; -} -inline ::google::protobuf::int32 RunPolicy::backoff_limit() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.backoff_limit) - return backoff_limit_; -} -inline void RunPolicy::set_backoff_limit(::google::protobuf::int32 value) { - - backoff_limit_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.backoff_limit) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::plugins::kubeflow::RestartPolicy> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::plugins::kubeflow::RestartPolicy>() { - return ::flyteidl::plugins::kubeflow::RestartPolicy_descriptor(); -} -template <> struct is_proto_enum< ::flyteidl::plugins::kubeflow::CleanPodPolicy> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::plugins::kubeflow::CleanPodPolicy>() { - return ::flyteidl::plugins::kubeflow::CleanPodPolicy_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.cc deleted file mode 100644 index bbf565e022..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.cc +++ /dev/null @@ -1,26 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/mpi.proto - -#include "flyteidl/plugins/kubeflow/mpi.pb.h" -#include "flyteidl/plugins/kubeflow/mpi.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -} // namespace flyteidl -} // namespace plugins -} // namespace kubeflow - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.h deleted file mode 100644 index c6570dd363..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.h +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/mpi.proto -#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto__INCLUDED - -#include "flyteidl/plugins/kubeflow/mpi.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 plugins { -namespace kubeflow { - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.cc deleted file mode 100644 index e996cb62d6..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.cc +++ /dev/null @@ -1,1174 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/mpi.proto - -#include "flyteidl/plugins/kubeflow/mpi.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto; -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class DistributedMPITrainingTaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedMPITrainingTask_default_instance_; -class DistributedMPITrainingReplicaSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedMPITrainingReplicaSpec_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsDistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto}, { - &scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base, - &scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base,}}; - -static void InitDefaultsDistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto}, { - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[2]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, worker_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, launcher_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, run_policy_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, slots_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, image_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, resources_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, restart_policy_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, command_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask)}, - { 9, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_), - reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, "flyteidl/plugins/kubeflow/mpi.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, 2, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[] = - "\n#flyteidl/plugins/kubeflow/mpi.proto\022\031f" - "lyteidl.plugins.kubeflow\032\031flyteidl/core/" - "tasks.proto\032&flyteidl/plugins/kubeflow/c" - "ommon.proto\"\225\002\n\032DistributedMPITrainingTa" - "sk\022U\n\017worker_replicas\030\001 \001(\0132<.flyteidl.p" - "lugins.kubeflow.DistributedMPITrainingRe" - "plicaSpec\022W\n\021launcher_replicas\030\002 \001(\0132<.f" - "lyteidl.plugins.kubeflow.DistributedMPIT" - "rainingReplicaSpec\0228\n\nrun_policy\030\003 \001(\0132$" - ".flyteidl.plugins.kubeflow.RunPolicy\022\r\n\005" - "slots\030\004 \001(\005\"\304\001\n!DistributedMPITrainingRe" - "plicaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001" - "(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Re" - "sources\022@\n\016restart_policy\030\004 \001(\0162(.flytei" - "dl.plugins.kubeflow.RestartPolicy\022\017\n\007com" - "mand\030\005 \003(\tB\?Z=github.com/flyteorg/flyte/" - "flyteidl/gen/pb-go/flyteidl/pluginsb\006pro" - "to3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, - "flyteidl/plugins/kubeflow/mpi.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, 683, -}; - -void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, - ::AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -// =================================================================== - -void DistributedMPITrainingTask::InitAsDefaultInstance() { - ::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_._instance.get_mutable()->worker_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_._instance.get_mutable()->launcher_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_._instance.get_mutable()->run_policy_ = const_cast< ::flyteidl::plugins::kubeflow::RunPolicy*>( - ::flyteidl::plugins::kubeflow::RunPolicy::internal_default_instance()); -} -class DistributedMPITrainingTask::HasBitSetters { - public: - static const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& worker_replicas(const DistributedMPITrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& launcher_replicas(const DistributedMPITrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy(const DistributedMPITrainingTask* msg); -}; - -const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& -DistributedMPITrainingTask::HasBitSetters::worker_replicas(const DistributedMPITrainingTask* msg) { - return *msg->worker_replicas_; -} -const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& -DistributedMPITrainingTask::HasBitSetters::launcher_replicas(const DistributedMPITrainingTask* msg) { - return *msg->launcher_replicas_; -} -const ::flyteidl::plugins::kubeflow::RunPolicy& -DistributedMPITrainingTask::HasBitSetters::run_policy(const DistributedMPITrainingTask* msg) { - return *msg->run_policy_; -} -void DistributedMPITrainingTask::clear_run_policy() { - if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { - delete run_policy_; - } - run_policy_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedMPITrainingTask::kWorkerReplicasFieldNumber; -const int DistributedMPITrainingTask::kLauncherReplicasFieldNumber; -const int DistributedMPITrainingTask::kRunPolicyFieldNumber; -const int DistributedMPITrainingTask::kSlotsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedMPITrainingTask::DistributedMPITrainingTask() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) -} -DistributedMPITrainingTask::DistributedMPITrainingTask(const DistributedMPITrainingTask& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_worker_replicas()) { - worker_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec(*from.worker_replicas_); - } else { - worker_replicas_ = nullptr; - } - if (from.has_launcher_replicas()) { - launcher_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec(*from.launcher_replicas_); - } else { - launcher_replicas_ = nullptr; - } - if (from.has_run_policy()) { - run_policy_ = new ::flyteidl::plugins::kubeflow::RunPolicy(*from.run_policy_); - } else { - run_policy_ = nullptr; - } - slots_ = from.slots_; - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) -} - -void DistributedMPITrainingTask::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); - ::memset(&worker_replicas_, 0, static_cast( - reinterpret_cast(&slots_) - - reinterpret_cast(&worker_replicas_)) + sizeof(slots_)); -} - -DistributedMPITrainingTask::~DistributedMPITrainingTask() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - SharedDtor(); -} - -void DistributedMPITrainingTask::SharedDtor() { - if (this != internal_default_instance()) delete worker_replicas_; - if (this != internal_default_instance()) delete launcher_replicas_; - if (this != internal_default_instance()) delete run_policy_; -} - -void DistributedMPITrainingTask::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedMPITrainingTask& DistributedMPITrainingTask::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedMPITrainingTask::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { - delete worker_replicas_; - } - worker_replicas_ = nullptr; - if (GetArenaNoVirtual() == nullptr && launcher_replicas_ != nullptr) { - delete launcher_replicas_; - } - launcher_replicas_ = nullptr; - if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { - delete run_policy_; - } - run_policy_ = nullptr; - slots_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedMPITrainingTask::_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.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 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::plugins::kubeflow::DistributedMPITrainingReplicaSpec::_InternalParse; - object = msg->mutable_worker_replicas(); - 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.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::_InternalParse; - object = msg->mutable_launcher_replicas(); - 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.plugins.kubeflow.RunPolicy run_policy = 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::plugins::kubeflow::RunPolicy::_InternalParse; - object = msg->mutable_run_policy(); - 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; - } - // int32 slots = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_slots(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 DistributedMPITrainingTask::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.plugins.kubeflow.DistributedMPITrainingTask) - 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.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_worker_replicas())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_launcher_replicas())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_run_policy())); - } else { - goto handle_unusual; - } - break; - } - - // int32 slots = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &slots_))); - } 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.plugins.kubeflow.DistributedMPITrainingTask) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedMPITrainingTask::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::worker_replicas(this), output); - } - - // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - if (this->has_launcher_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::launcher_replicas(this), output); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - if (this->has_run_policy()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::run_policy(this), output); - } - - // int32 slots = 4; - if (this->slots() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->slots(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) -} - -::google::protobuf::uint8* DistributedMPITrainingTask::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::worker_replicas(this), target); - } - - // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - if (this->has_launcher_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::launcher_replicas(this), target); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - if (this->has_run_policy()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::run_policy(this), target); - } - - // int32 slots = 4; - if (this->slots() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->slots(), 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.plugins.kubeflow.DistributedMPITrainingTask) - return target; -} - -size_t DistributedMPITrainingTask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - 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.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *worker_replicas_); - } - - // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - if (this->has_launcher_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *launcher_replicas_); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - if (this->has_run_policy()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *run_policy_); - } - - // int32 slots = 4; - if (this->slots() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->slots()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedMPITrainingTask::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - GOOGLE_DCHECK_NE(&from, this); - const DistributedMPITrainingTask* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - MergeFrom(*source); - } -} - -void DistributedMPITrainingTask::MergeFrom(const DistributedMPITrainingTask& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - 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_worker_replicas()) { - mutable_worker_replicas()->::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::MergeFrom(from.worker_replicas()); - } - if (from.has_launcher_replicas()) { - mutable_launcher_replicas()->::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::MergeFrom(from.launcher_replicas()); - } - if (from.has_run_policy()) { - mutable_run_policy()->::flyteidl::plugins::kubeflow::RunPolicy::MergeFrom(from.run_policy()); - } - if (from.slots() != 0) { - set_slots(from.slots()); - } -} - -void DistributedMPITrainingTask::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedMPITrainingTask::CopyFrom(const DistributedMPITrainingTask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedMPITrainingTask::IsInitialized() const { - return true; -} - -void DistributedMPITrainingTask::Swap(DistributedMPITrainingTask* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedMPITrainingTask::InternalSwap(DistributedMPITrainingTask* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(worker_replicas_, other->worker_replicas_); - swap(launcher_replicas_, other->launcher_replicas_); - swap(run_policy_, other->run_policy_); - swap(slots_, other->slots_); -} - -::google::protobuf::Metadata DistributedMPITrainingTask::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DistributedMPITrainingReplicaSpec::InitAsDefaultInstance() { - ::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( - ::flyteidl::core::Resources::internal_default_instance()); -} -class DistributedMPITrainingReplicaSpec::HasBitSetters { - public: - static const ::flyteidl::core::Resources& resources(const DistributedMPITrainingReplicaSpec* msg); -}; - -const ::flyteidl::core::Resources& -DistributedMPITrainingReplicaSpec::HasBitSetters::resources(const DistributedMPITrainingReplicaSpec* msg) { - return *msg->resources_; -} -void DistributedMPITrainingReplicaSpec::clear_resources() { - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedMPITrainingReplicaSpec::kReplicasFieldNumber; -const int DistributedMPITrainingReplicaSpec::kImageFieldNumber; -const int DistributedMPITrainingReplicaSpec::kResourcesFieldNumber; -const int DistributedMPITrainingReplicaSpec::kRestartPolicyFieldNumber; -const int DistributedMPITrainingReplicaSpec::kCommandFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedMPITrainingReplicaSpec::DistributedMPITrainingReplicaSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) -} -DistributedMPITrainingReplicaSpec::DistributedMPITrainingReplicaSpec(const DistributedMPITrainingReplicaSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - command_(from.command_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.image().size() > 0) { - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - resources_ = new ::flyteidl::core::Resources(*from.resources_); - } else { - resources_ = nullptr; - } - ::memcpy(&replicas_, &from.replicas_, - static_cast(reinterpret_cast(&restart_policy_) - - reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) -} - -void DistributedMPITrainingReplicaSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&resources_, 0, static_cast( - reinterpret_cast(&restart_policy_) - - reinterpret_cast(&resources_)) + sizeof(restart_policy_)); -} - -DistributedMPITrainingReplicaSpec::~DistributedMPITrainingReplicaSpec() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - SharedDtor(); -} - -void DistributedMPITrainingReplicaSpec::SharedDtor() { - image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete resources_; -} - -void DistributedMPITrainingReplicaSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedMPITrainingReplicaSpec& DistributedMPITrainingReplicaSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedMPITrainingReplicaSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - command_.Clear(); - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; - ::memset(&replicas_, 0, static_cast( - reinterpret_cast(&restart_policy_) - - reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedMPITrainingReplicaSpec::_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) { - // int32 replicas = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string image = 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.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image"); - object = msg->mutable_image(); - 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.Resources resources = 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::Resources::_InternalParse; - object = msg->mutable_resources(); - 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.plugins.kubeflow.RestartPolicy restart_policy = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_restart_policy(static_cast<::flyteidl::plugins::kubeflow::RestartPolicy>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // repeated string command = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command"); - object = msg->add_command(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DistributedMPITrainingReplicaSpec::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.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - 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)) { - // int32 replicas = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // string image = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_image())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Resources resources = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resources())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_restart_policy(static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(value)); - } else { - goto handle_unusual; - } - break; - } - - // repeated string command = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_command())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->command(this->command_size() - 1).data(), - static_cast(this->command(this->command_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command")); - } 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.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedMPITrainingReplicaSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 replicas = 1; - if (this->replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->replicas(), output); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->image(), output); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::resources(this), output); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->restart_policy(), output); - } - - // repeated string command = 5; - for (int i = 0, n = this->command_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->command(i).data(), static_cast(this->command(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 5, this->command(i), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) -} - -::google::protobuf::uint8* DistributedMPITrainingReplicaSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 replicas = 1; - if (this->replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->replicas(), target); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->image(), target); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::resources(this), target); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->restart_policy(), target); - } - - // repeated string command = 5; - for (int i = 0, n = this->command_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->command(i).data(), static_cast(this->command(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(5, this->command(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.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - return target; -} - -size_t DistributedMPITrainingReplicaSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string command = 5; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->command_size()); - for (int i = 0, n = this->command_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->command(i)); - } - - // string image = 2; - if (this->image().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->image()); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resources_); - } - - // int32 replicas = 1; - if (this->replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->replicas()); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->restart_policy()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedMPITrainingReplicaSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - GOOGLE_DCHECK_NE(&from, this); - const DistributedMPITrainingReplicaSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - MergeFrom(*source); - } -} - -void DistributedMPITrainingReplicaSpec::MergeFrom(const DistributedMPITrainingReplicaSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - command_.MergeFrom(from.command_); - if (from.image().size() > 0) { - - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); - } - if (from.replicas() != 0) { - set_replicas(from.replicas()); - } - if (from.restart_policy() != 0) { - set_restart_policy(from.restart_policy()); - } -} - -void DistributedMPITrainingReplicaSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedMPITrainingReplicaSpec::CopyFrom(const DistributedMPITrainingReplicaSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedMPITrainingReplicaSpec::IsInitialized() const { - return true; -} - -void DistributedMPITrainingReplicaSpec::Swap(DistributedMPITrainingReplicaSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedMPITrainingReplicaSpec::InternalSwap(DistributedMPITrainingReplicaSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - command_.InternalSwap(CastToBase(&other->command_)); - image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resources_, other->resources_); - swap(replicas_, other->replicas_); - swap(restart_policy_, other->restart_policy_); -} - -::google::protobuf::Metadata DistributedMPITrainingReplicaSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.h deleted file mode 100644 index 46d41ed497..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.h +++ /dev/null @@ -1,770 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/mpi.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/plugins/kubeflow/common.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_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[2] - 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_2fplugins_2fkubeflow_2fmpi_2eproto(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class DistributedMPITrainingReplicaSpec; -class DistributedMPITrainingReplicaSpecDefaultTypeInternal; -extern DistributedMPITrainingReplicaSpecDefaultTypeInternal _DistributedMPITrainingReplicaSpec_default_instance_; -class DistributedMPITrainingTask; -class DistributedMPITrainingTaskDefaultTypeInternal; -extern DistributedMPITrainingTaskDefaultTypeInternal _DistributedMPITrainingTask_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec>(Arena*); -template<> ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingTask>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -// =================================================================== - -class DistributedMPITrainingTask final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) */ { - public: - DistributedMPITrainingTask(); - virtual ~DistributedMPITrainingTask(); - - DistributedMPITrainingTask(const DistributedMPITrainingTask& from); - - inline DistributedMPITrainingTask& operator=(const DistributedMPITrainingTask& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedMPITrainingTask(DistributedMPITrainingTask&& from) noexcept - : DistributedMPITrainingTask() { - *this = ::std::move(from); - } - - inline DistributedMPITrainingTask& operator=(DistributedMPITrainingTask&& 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 DistributedMPITrainingTask& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedMPITrainingTask* internal_default_instance() { - return reinterpret_cast( - &_DistributedMPITrainingTask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(DistributedMPITrainingTask* other); - friend void swap(DistributedMPITrainingTask& a, DistributedMPITrainingTask& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedMPITrainingTask* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedMPITrainingTask* 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 DistributedMPITrainingTask& from); - void MergeFrom(const DistributedMPITrainingTask& 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(DistributedMPITrainingTask* 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.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - bool has_worker_replicas() const; - void clear_worker_replicas(); - static const int kWorkerReplicasFieldNumber = 1; - const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& worker_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* release_worker_replicas(); - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* mutable_worker_replicas(); - void set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* worker_replicas); - - // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - bool has_launcher_replicas() const; - void clear_launcher_replicas(); - static const int kLauncherReplicasFieldNumber = 2; - const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& launcher_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* release_launcher_replicas(); - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* mutable_launcher_replicas(); - void set_allocated_launcher_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* launcher_replicas); - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - bool has_run_policy() const; - void clear_run_policy(); - static const int kRunPolicyFieldNumber = 3; - const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy() const; - ::flyteidl::plugins::kubeflow::RunPolicy* release_run_policy(); - ::flyteidl::plugins::kubeflow::RunPolicy* mutable_run_policy(); - void set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy); - - // int32 slots = 4; - void clear_slots(); - static const int kSlotsFieldNumber = 4; - ::google::protobuf::int32 slots() const; - void set_slots(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* worker_replicas_; - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* launcher_replicas_; - ::flyteidl::plugins::kubeflow::RunPolicy* run_policy_; - ::google::protobuf::int32 slots_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto; -}; -// ------------------------------------------------------------------- - -class DistributedMPITrainingReplicaSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) */ { - public: - DistributedMPITrainingReplicaSpec(); - virtual ~DistributedMPITrainingReplicaSpec(); - - DistributedMPITrainingReplicaSpec(const DistributedMPITrainingReplicaSpec& from); - - inline DistributedMPITrainingReplicaSpec& operator=(const DistributedMPITrainingReplicaSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedMPITrainingReplicaSpec(DistributedMPITrainingReplicaSpec&& from) noexcept - : DistributedMPITrainingReplicaSpec() { - *this = ::std::move(from); - } - - inline DistributedMPITrainingReplicaSpec& operator=(DistributedMPITrainingReplicaSpec&& 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 DistributedMPITrainingReplicaSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedMPITrainingReplicaSpec* internal_default_instance() { - return reinterpret_cast( - &_DistributedMPITrainingReplicaSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(DistributedMPITrainingReplicaSpec* other); - friend void swap(DistributedMPITrainingReplicaSpec& a, DistributedMPITrainingReplicaSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedMPITrainingReplicaSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedMPITrainingReplicaSpec* 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 DistributedMPITrainingReplicaSpec& from); - void MergeFrom(const DistributedMPITrainingReplicaSpec& 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(DistributedMPITrainingReplicaSpec* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string command = 5; - int command_size() const; - void clear_command(); - static const int kCommandFieldNumber = 5; - const ::std::string& command(int index) const; - ::std::string* mutable_command(int index); - void set_command(int index, const ::std::string& value); - #if LANG_CXX11 - void set_command(int index, ::std::string&& value); - #endif - void set_command(int index, const char* value); - void set_command(int index, const char* value, size_t size); - ::std::string* add_command(); - void add_command(const ::std::string& value); - #if LANG_CXX11 - void add_command(::std::string&& value); - #endif - void add_command(const char* value); - void add_command(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& command() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_command(); - - // string image = 2; - void clear_image(); - static const int kImageFieldNumber = 2; - const ::std::string& image() const; - void set_image(const ::std::string& value); - #if LANG_CXX11 - void set_image(::std::string&& value); - #endif - void set_image(const char* value); - void set_image(const char* value, size_t size); - ::std::string* mutable_image(); - ::std::string* release_image(); - void set_allocated_image(::std::string* image); - - // .flyteidl.core.Resources resources = 3; - bool has_resources() const; - void clear_resources(); - static const int kResourcesFieldNumber = 3; - const ::flyteidl::core::Resources& resources() const; - ::flyteidl::core::Resources* release_resources(); - ::flyteidl::core::Resources* mutable_resources(); - void set_allocated_resources(::flyteidl::core::Resources* resources); - - // int32 replicas = 1; - void clear_replicas(); - static const int kReplicasFieldNumber = 1; - ::google::protobuf::int32 replicas() const; - void set_replicas(::google::protobuf::int32 value); - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - void clear_restart_policy(); - static const int kRestartPolicyFieldNumber = 4; - ::flyteidl::plugins::kubeflow::RestartPolicy restart_policy() const; - void set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> command_; - ::google::protobuf::internal::ArenaStringPtr image_; - ::flyteidl::core::Resources* resources_; - ::google::protobuf::int32 replicas_; - int restart_policy_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DistributedMPITrainingTask - -// .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; -inline bool DistributedMPITrainingTask::has_worker_replicas() const { - return this != internal_default_instance() && worker_replicas_ != nullptr; -} -inline void DistributedMPITrainingTask::clear_worker_replicas() { - if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { - delete worker_replicas_; - } - worker_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& DistributedMPITrainingTask::worker_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* p = worker_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::release_worker_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) - - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* temp = worker_replicas_; - worker_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::mutable_worker_replicas() { - - if (worker_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec>(GetArenaNoVirtual()); - worker_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) - return worker_replicas_; -} -inline void DistributedMPITrainingTask::set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* worker_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete worker_replicas_; - } - if (worker_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - worker_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, worker_replicas, submessage_arena); - } - - } else { - - } - worker_replicas_ = worker_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) -} - -// .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; -inline bool DistributedMPITrainingTask::has_launcher_replicas() const { - return this != internal_default_instance() && launcher_replicas_ != nullptr; -} -inline void DistributedMPITrainingTask::clear_launcher_replicas() { - if (GetArenaNoVirtual() == nullptr && launcher_replicas_ != nullptr) { - delete launcher_replicas_; - } - launcher_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& DistributedMPITrainingTask::launcher_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* p = launcher_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::release_launcher_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) - - ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* temp = launcher_replicas_; - launcher_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::mutable_launcher_replicas() { - - if (launcher_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec>(GetArenaNoVirtual()); - launcher_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) - return launcher_replicas_; -} -inline void DistributedMPITrainingTask::set_allocated_launcher_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* launcher_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete launcher_replicas_; - } - if (launcher_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - launcher_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, launcher_replicas, submessage_arena); - } - - } else { - - } - launcher_replicas_ = launcher_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) -} - -// .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; -inline bool DistributedMPITrainingTask::has_run_policy() const { - return this != internal_default_instance() && run_policy_ != nullptr; -} -inline const ::flyteidl::plugins::kubeflow::RunPolicy& DistributedMPITrainingTask::run_policy() const { - const ::flyteidl::plugins::kubeflow::RunPolicy* p = run_policy_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedMPITrainingTask::release_run_policy() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) - - ::flyteidl::plugins::kubeflow::RunPolicy* temp = run_policy_; - run_policy_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedMPITrainingTask::mutable_run_policy() { - - if (run_policy_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(GetArenaNoVirtual()); - run_policy_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) - return run_policy_; -} -inline void DistributedMPITrainingTask::set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(run_policy_); - } - if (run_policy) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - run_policy = ::google::protobuf::internal::GetOwnedMessage( - message_arena, run_policy, submessage_arena); - } - - } else { - - } - run_policy_ = run_policy; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) -} - -// int32 slots = 4; -inline void DistributedMPITrainingTask::clear_slots() { - slots_ = 0; -} -inline ::google::protobuf::int32 DistributedMPITrainingTask::slots() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.slots) - return slots_; -} -inline void DistributedMPITrainingTask::set_slots(::google::protobuf::int32 value) { - - slots_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.slots) -} - -// ------------------------------------------------------------------- - -// DistributedMPITrainingReplicaSpec - -// int32 replicas = 1; -inline void DistributedMPITrainingReplicaSpec::clear_replicas() { - replicas_ = 0; -} -inline ::google::protobuf::int32 DistributedMPITrainingReplicaSpec::replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.replicas) - return replicas_; -} -inline void DistributedMPITrainingReplicaSpec::set_replicas(::google::protobuf::int32 value) { - - replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.replicas) -} - -// string image = 2; -inline void DistributedMPITrainingReplicaSpec::clear_image() { - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DistributedMPITrainingReplicaSpec::image() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) - return image_.GetNoArena(); -} -inline void DistributedMPITrainingReplicaSpec::set_image(const ::std::string& value) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) -} -#if LANG_CXX11 -inline void DistributedMPITrainingReplicaSpec::set_image(::std::string&& value) { - - image_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) -} -#endif -inline void DistributedMPITrainingReplicaSpec::set_image(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) -} -inline void DistributedMPITrainingReplicaSpec::set_image(const char* value, size_t size) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) -} -inline ::std::string* DistributedMPITrainingReplicaSpec::mutable_image() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) - return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DistributedMPITrainingReplicaSpec::release_image() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) - - return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DistributedMPITrainingReplicaSpec::set_allocated_image(::std::string* image) { - if (image != nullptr) { - - } else { - - } - image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) -} - -// .flyteidl.core.Resources resources = 3; -inline bool DistributedMPITrainingReplicaSpec::has_resources() const { - return this != internal_default_instance() && resources_ != nullptr; -} -inline const ::flyteidl::core::Resources& DistributedMPITrainingReplicaSpec::resources() const { - const ::flyteidl::core::Resources* p = resources_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Resources_default_instance_); -} -inline ::flyteidl::core::Resources* DistributedMPITrainingReplicaSpec::release_resources() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) - - ::flyteidl::core::Resources* temp = resources_; - resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::Resources* DistributedMPITrainingReplicaSpec::mutable_resources() { - - if (resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); - resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) - return resources_; -} -inline void DistributedMPITrainingReplicaSpec::set_allocated_resources(::flyteidl::core::Resources* resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); - } - if (resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resources, submessage_arena); - } - - } else { - - } - resources_ = resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) -} - -// .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; -inline void DistributedMPITrainingReplicaSpec::clear_restart_policy() { - restart_policy_ = 0; -} -inline ::flyteidl::plugins::kubeflow::RestartPolicy DistributedMPITrainingReplicaSpec::restart_policy() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.restart_policy) - return static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(restart_policy_); -} -inline void DistributedMPITrainingReplicaSpec::set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value) { - - restart_policy_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.restart_policy) -} - -// repeated string command = 5; -inline int DistributedMPITrainingReplicaSpec::command_size() const { - return command_.size(); -} -inline void DistributedMPITrainingReplicaSpec::clear_command() { - command_.Clear(); -} -inline const ::std::string& DistributedMPITrainingReplicaSpec::command(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) - return command_.Get(index); -} -inline ::std::string* DistributedMPITrainingReplicaSpec::mutable_command(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) - return command_.Mutable(index); -} -inline void DistributedMPITrainingReplicaSpec::set_command(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) - command_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void DistributedMPITrainingReplicaSpec::set_command(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) - command_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void DistributedMPITrainingReplicaSpec::set_command(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - command_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) -} -inline void DistributedMPITrainingReplicaSpec::set_command(int index, const char* value, size_t size) { - command_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) -} -inline ::std::string* DistributedMPITrainingReplicaSpec::add_command() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) - return command_.Add(); -} -inline void DistributedMPITrainingReplicaSpec::add_command(const ::std::string& value) { - command_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) -} -#if LANG_CXX11 -inline void DistributedMPITrainingReplicaSpec::add_command(::std::string&& value) { - command_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) -} -#endif -inline void DistributedMPITrainingReplicaSpec::add_command(const char* value) { - GOOGLE_DCHECK(value != nullptr); - command_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) -} -inline void DistributedMPITrainingReplicaSpec::add_command(const char* value, size_t size) { - command_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -DistributedMPITrainingReplicaSpec::command() const { - // @@protoc_insertion_point(field_list:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) - return command_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -DistributedMPITrainingReplicaSpec::mutable_command() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) - return &command_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.cc deleted file mode 100644 index af2f89e97f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.cc +++ /dev/null @@ -1,26 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/pytorch.proto - -#include "flyteidl/plugins/kubeflow/pytorch.pb.h" -#include "flyteidl/plugins/kubeflow/pytorch.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -} // namespace flyteidl -} // namespace plugins -} // namespace kubeflow - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.h deleted file mode 100644 index 45c83cf06e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.h +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/pytorch.proto -#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto__INCLUDED - -#include "flyteidl/plugins/kubeflow/pytorch.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 plugins { -namespace kubeflow { - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.cc deleted file mode 100644 index 4193ba3c80..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.cc +++ /dev/null @@ -1,1641 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/pytorch.proto - -#include "flyteidl/plugins/kubeflow/pytorch.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class ElasticConfigDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ElasticConfig_default_instance_; -class DistributedPyTorchTrainingTaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedPyTorchTrainingTask_default_instance_; -class DistributedPyTorchTrainingReplicaSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedPyTorchTrainingReplicaSpec_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_ElasticConfig_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::ElasticConfig(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::ElasticConfig::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto}, {}}; - -static void InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto}, { - &scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base, - &scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base, - &scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base,}}; - -static void InitDefaultsDistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto}, { - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[3]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, rdzv_backend_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, min_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, max_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, nproc_per_node_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, max_restarts_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, worker_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, master_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, run_policy_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, elastic_config_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, image_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, resources_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, restart_policy_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::kubeflow::ElasticConfig)}, - { 10, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask)}, - { 19, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::kubeflow::_ElasticConfig_default_instance_), - reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_), - reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, "flyteidl/plugins/kubeflow/pytorch.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, 3, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[] = - "\n\'flyteidl/plugins/kubeflow/pytorch.prot" - "o\022\031flyteidl.plugins.kubeflow\032\031flyteidl/c" - "ore/tasks.proto\032&flyteidl/plugins/kubefl" - "ow/common.proto\"\177\n\rElasticConfig\022\024\n\014rdzv" - "_backend\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014" - "max_replicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001" - "(\005\022\024\n\014max_restarts\030\005 \001(\005\"\322\002\n\036Distributed" - "PyTorchTrainingTask\022Y\n\017worker_replicas\030\001" - " \001(\0132@.flyteidl.plugins.kubeflow.Distrib" - "utedPyTorchTrainingReplicaSpec\022Y\n\017master" - "_replicas\030\002 \001(\0132@.flyteidl.plugins.kubef" - "low.DistributedPyTorchTrainingReplicaSpe" - "c\0228\n\nrun_policy\030\003 \001(\0132$.flyteidl.plugins" - ".kubeflow.RunPolicy\022@\n\016elastic_config\030\004 " - "\001(\0132(.flyteidl.plugins.kubeflow.ElasticC" - "onfig\"\267\001\n%DistributedPyTorchTrainingRepl" - "icaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001(\t" - "\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Reso" - "urces\022@\n\016restart_policy\030\004 \001(\0162(.flyteidl" - ".plugins.kubeflow.RestartPolicyB\?Z=githu" - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" - "flyteidl/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, - "flyteidl/plugins/kubeflow/pytorch.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, 864, -}; - -void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, - ::AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -// =================================================================== - -void ElasticConfig::InitAsDefaultInstance() { -} -class ElasticConfig::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ElasticConfig::kRdzvBackendFieldNumber; -const int ElasticConfig::kMinReplicasFieldNumber; -const int ElasticConfig::kMaxReplicasFieldNumber; -const int ElasticConfig::kNprocPerNodeFieldNumber; -const int ElasticConfig::kMaxRestartsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ElasticConfig::ElasticConfig() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.ElasticConfig) -} -ElasticConfig::ElasticConfig(const ElasticConfig& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.rdzv_backend().size() > 0) { - rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); - } - ::memcpy(&min_replicas_, &from.min_replicas_, - static_cast(reinterpret_cast(&max_restarts_) - - reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.ElasticConfig) -} - -void ElasticConfig::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&min_replicas_, 0, static_cast( - reinterpret_cast(&max_restarts_) - - reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); -} - -ElasticConfig::~ElasticConfig() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.ElasticConfig) - SharedDtor(); -} - -void ElasticConfig::SharedDtor() { - rdzv_backend_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ElasticConfig::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ElasticConfig& ElasticConfig::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - return *internal_default_instance(); -} - - -void ElasticConfig::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.ElasticConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&min_replicas_, 0, static_cast( - reinterpret_cast(&max_restarts_) - - reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ElasticConfig::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string rdzv_backend = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend"); - object = msg->mutable_rdzv_backend(); - 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; - } - // int32 min_replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_min_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 max_replicas = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_max_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 nproc_per_node = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_nproc_per_node(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 max_restarts = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; - msg->set_max_restarts(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 ElasticConfig::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.plugins.kubeflow.ElasticConfig) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string rdzv_backend = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_rdzv_backend())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend")); - } else { - goto handle_unusual; - } - break; - } - - // int32 min_replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &min_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 max_replicas = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 nproc_per_node = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &nproc_per_node_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 max_restarts = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_restarts_))); - } 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.plugins.kubeflow.ElasticConfig) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.ElasticConfig) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ElasticConfig::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.ElasticConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string rdzv_backend = 1; - if (this->rdzv_backend().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->rdzv_backend(), output); - } - - // int32 min_replicas = 2; - if (this->min_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->min_replicas(), output); - } - - // int32 max_replicas = 3; - if (this->max_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->max_replicas(), output); - } - - // int32 nproc_per_node = 4; - if (this->nproc_per_node() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nproc_per_node(), output); - } - - // int32 max_restarts = 5; - if (this->max_restarts() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->max_restarts(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.ElasticConfig) -} - -::google::protobuf::uint8* ElasticConfig::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.ElasticConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string rdzv_backend = 1; - if (this->rdzv_backend().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->rdzv_backend(), target); - } - - // int32 min_replicas = 2; - if (this->min_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->min_replicas(), target); - } - - // int32 max_replicas = 3; - if (this->max_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->max_replicas(), target); - } - - // int32 nproc_per_node = 4; - if (this->nproc_per_node() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nproc_per_node(), target); - } - - // int32 max_restarts = 5; - if (this->max_restarts() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->max_restarts(), 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.plugins.kubeflow.ElasticConfig) - return target; -} - -size_t ElasticConfig::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.ElasticConfig) - 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 rdzv_backend = 1; - if (this->rdzv_backend().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->rdzv_backend()); - } - - // int32 min_replicas = 2; - if (this->min_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->min_replicas()); - } - - // int32 max_replicas = 3; - if (this->max_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_replicas()); - } - - // int32 nproc_per_node = 4; - if (this->nproc_per_node() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->nproc_per_node()); - } - - // int32 max_restarts = 5; - if (this->max_restarts() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_restarts()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ElasticConfig::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.ElasticConfig) - GOOGLE_DCHECK_NE(&from, this); - const ElasticConfig* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.ElasticConfig) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.ElasticConfig) - MergeFrom(*source); - } -} - -void ElasticConfig::MergeFrom(const ElasticConfig& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.ElasticConfig) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.rdzv_backend().size() > 0) { - - rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); - } - if (from.min_replicas() != 0) { - set_min_replicas(from.min_replicas()); - } - if (from.max_replicas() != 0) { - set_max_replicas(from.max_replicas()); - } - if (from.nproc_per_node() != 0) { - set_nproc_per_node(from.nproc_per_node()); - } - if (from.max_restarts() != 0) { - set_max_restarts(from.max_restarts()); - } -} - -void ElasticConfig::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.ElasticConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ElasticConfig::CopyFrom(const ElasticConfig& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.ElasticConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ElasticConfig::IsInitialized() const { - return true; -} - -void ElasticConfig::Swap(ElasticConfig* other) { - if (other == this) return; - InternalSwap(other); -} -void ElasticConfig::InternalSwap(ElasticConfig* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - rdzv_backend_.Swap(&other->rdzv_backend_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(min_replicas_, other->min_replicas_); - swap(max_replicas_, other->max_replicas_); - swap(nproc_per_node_, other->nproc_per_node_); - swap(max_restarts_, other->max_restarts_); -} - -::google::protobuf::Metadata ElasticConfig::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DistributedPyTorchTrainingTask::InitAsDefaultInstance() { - ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->worker_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->master_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->run_policy_ = const_cast< ::flyteidl::plugins::kubeflow::RunPolicy*>( - ::flyteidl::plugins::kubeflow::RunPolicy::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->elastic_config_ = const_cast< ::flyteidl::plugins::kubeflow::ElasticConfig*>( - ::flyteidl::plugins::kubeflow::ElasticConfig::internal_default_instance()); -} -class DistributedPyTorchTrainingTask::HasBitSetters { - public: - static const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& worker_replicas(const DistributedPyTorchTrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& master_replicas(const DistributedPyTorchTrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy(const DistributedPyTorchTrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::ElasticConfig& elastic_config(const DistributedPyTorchTrainingTask* msg); -}; - -const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& -DistributedPyTorchTrainingTask::HasBitSetters::worker_replicas(const DistributedPyTorchTrainingTask* msg) { - return *msg->worker_replicas_; -} -const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& -DistributedPyTorchTrainingTask::HasBitSetters::master_replicas(const DistributedPyTorchTrainingTask* msg) { - return *msg->master_replicas_; -} -const ::flyteidl::plugins::kubeflow::RunPolicy& -DistributedPyTorchTrainingTask::HasBitSetters::run_policy(const DistributedPyTorchTrainingTask* msg) { - return *msg->run_policy_; -} -const ::flyteidl::plugins::kubeflow::ElasticConfig& -DistributedPyTorchTrainingTask::HasBitSetters::elastic_config(const DistributedPyTorchTrainingTask* msg) { - return *msg->elastic_config_; -} -void DistributedPyTorchTrainingTask::clear_run_policy() { - if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { - delete run_policy_; - } - run_policy_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedPyTorchTrainingTask::kWorkerReplicasFieldNumber; -const int DistributedPyTorchTrainingTask::kMasterReplicasFieldNumber; -const int DistributedPyTorchTrainingTask::kRunPolicyFieldNumber; -const int DistributedPyTorchTrainingTask::kElasticConfigFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) -} -DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask(const DistributedPyTorchTrainingTask& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_worker_replicas()) { - worker_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec(*from.worker_replicas_); - } else { - worker_replicas_ = nullptr; - } - if (from.has_master_replicas()) { - master_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec(*from.master_replicas_); - } else { - master_replicas_ = nullptr; - } - if (from.has_run_policy()) { - run_policy_ = new ::flyteidl::plugins::kubeflow::RunPolicy(*from.run_policy_); - } else { - run_policy_ = nullptr; - } - if (from.has_elastic_config()) { - elastic_config_ = new ::flyteidl::plugins::kubeflow::ElasticConfig(*from.elastic_config_); - } else { - elastic_config_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) -} - -void DistributedPyTorchTrainingTask::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - ::memset(&worker_replicas_, 0, static_cast( - reinterpret_cast(&elastic_config_) - - reinterpret_cast(&worker_replicas_)) + sizeof(elastic_config_)); -} - -DistributedPyTorchTrainingTask::~DistributedPyTorchTrainingTask() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - SharedDtor(); -} - -void DistributedPyTorchTrainingTask::SharedDtor() { - if (this != internal_default_instance()) delete worker_replicas_; - if (this != internal_default_instance()) delete master_replicas_; - if (this != internal_default_instance()) delete run_policy_; - if (this != internal_default_instance()) delete elastic_config_; -} - -void DistributedPyTorchTrainingTask::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedPyTorchTrainingTask& DistributedPyTorchTrainingTask::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedPyTorchTrainingTask::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { - delete worker_replicas_; - } - worker_replicas_ = nullptr; - if (GetArenaNoVirtual() == nullptr && master_replicas_ != nullptr) { - delete master_replicas_; - } - master_replicas_ = nullptr; - if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { - delete run_policy_; - } - run_policy_ = nullptr; - if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { - delete elastic_config_; - } - elastic_config_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedPyTorchTrainingTask::_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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 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::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::_InternalParse; - object = msg->mutable_worker_replicas(); - 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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::_InternalParse; - object = msg->mutable_master_replicas(); - 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.plugins.kubeflow.RunPolicy run_policy = 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::plugins::kubeflow::RunPolicy::_InternalParse; - object = msg->mutable_run_policy(); - 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.plugins.kubeflow.ElasticConfig elastic_config = 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::plugins::kubeflow::ElasticConfig::_InternalParse; - object = msg->mutable_elastic_config(); - 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 DistributedPyTorchTrainingTask::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.plugins.kubeflow.DistributedPyTorchTrainingTask) - 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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_worker_replicas())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_master_replicas())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_run_policy())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_elastic_config())); - } 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.plugins.kubeflow.DistributedPyTorchTrainingTask) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedPyTorchTrainingTask::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::worker_replicas(this), output); - } - - // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - if (this->has_master_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::master_replicas(this), output); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - if (this->has_run_policy()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::run_policy(this), output); - } - - // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - if (this->has_elastic_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::elastic_config(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) -} - -::google::protobuf::uint8* DistributedPyTorchTrainingTask::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::worker_replicas(this), target); - } - - // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - if (this->has_master_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::master_replicas(this), target); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - if (this->has_run_policy()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::run_policy(this), target); - } - - // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - if (this->has_elastic_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::elastic_config(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.plugins.kubeflow.DistributedPyTorchTrainingTask) - return target; -} - -size_t DistributedPyTorchTrainingTask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - 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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *worker_replicas_); - } - - // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - if (this->has_master_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *master_replicas_); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - if (this->has_run_policy()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *run_policy_); - } - - // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - if (this->has_elastic_config()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *elastic_config_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedPyTorchTrainingTask::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - GOOGLE_DCHECK_NE(&from, this); - const DistributedPyTorchTrainingTask* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - MergeFrom(*source); - } -} - -void DistributedPyTorchTrainingTask::MergeFrom(const DistributedPyTorchTrainingTask& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - 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_worker_replicas()) { - mutable_worker_replicas()->::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::MergeFrom(from.worker_replicas()); - } - if (from.has_master_replicas()) { - mutable_master_replicas()->::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::MergeFrom(from.master_replicas()); - } - if (from.has_run_policy()) { - mutable_run_policy()->::flyteidl::plugins::kubeflow::RunPolicy::MergeFrom(from.run_policy()); - } - if (from.has_elastic_config()) { - mutable_elastic_config()->::flyteidl::plugins::kubeflow::ElasticConfig::MergeFrom(from.elastic_config()); - } -} - -void DistributedPyTorchTrainingTask::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedPyTorchTrainingTask::CopyFrom(const DistributedPyTorchTrainingTask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedPyTorchTrainingTask::IsInitialized() const { - return true; -} - -void DistributedPyTorchTrainingTask::Swap(DistributedPyTorchTrainingTask* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedPyTorchTrainingTask::InternalSwap(DistributedPyTorchTrainingTask* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(worker_replicas_, other->worker_replicas_); - swap(master_replicas_, other->master_replicas_); - swap(run_policy_, other->run_policy_); - swap(elastic_config_, other->elastic_config_); -} - -::google::protobuf::Metadata DistributedPyTorchTrainingTask::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DistributedPyTorchTrainingReplicaSpec::InitAsDefaultInstance() { - ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( - ::flyteidl::core::Resources::internal_default_instance()); -} -class DistributedPyTorchTrainingReplicaSpec::HasBitSetters { - public: - static const ::flyteidl::core::Resources& resources(const DistributedPyTorchTrainingReplicaSpec* msg); -}; - -const ::flyteidl::core::Resources& -DistributedPyTorchTrainingReplicaSpec::HasBitSetters::resources(const DistributedPyTorchTrainingReplicaSpec* msg) { - return *msg->resources_; -} -void DistributedPyTorchTrainingReplicaSpec::clear_resources() { - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedPyTorchTrainingReplicaSpec::kReplicasFieldNumber; -const int DistributedPyTorchTrainingReplicaSpec::kImageFieldNumber; -const int DistributedPyTorchTrainingReplicaSpec::kResourcesFieldNumber; -const int DistributedPyTorchTrainingReplicaSpec::kRestartPolicyFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedPyTorchTrainingReplicaSpec::DistributedPyTorchTrainingReplicaSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) -} -DistributedPyTorchTrainingReplicaSpec::DistributedPyTorchTrainingReplicaSpec(const DistributedPyTorchTrainingReplicaSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.image().size() > 0) { - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - resources_ = new ::flyteidl::core::Resources(*from.resources_); - } else { - resources_ = nullptr; - } - ::memcpy(&replicas_, &from.replicas_, - static_cast(reinterpret_cast(&restart_policy_) - - reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) -} - -void DistributedPyTorchTrainingReplicaSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&resources_, 0, static_cast( - reinterpret_cast(&restart_policy_) - - reinterpret_cast(&resources_)) + sizeof(restart_policy_)); -} - -DistributedPyTorchTrainingReplicaSpec::~DistributedPyTorchTrainingReplicaSpec() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - SharedDtor(); -} - -void DistributedPyTorchTrainingReplicaSpec::SharedDtor() { - image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete resources_; -} - -void DistributedPyTorchTrainingReplicaSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedPyTorchTrainingReplicaSpec& DistributedPyTorchTrainingReplicaSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedPyTorchTrainingReplicaSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; - ::memset(&replicas_, 0, static_cast( - reinterpret_cast(&restart_policy_) - - reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedPyTorchTrainingReplicaSpec::_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) { - // int32 replicas = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string image = 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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image"); - object = msg->mutable_image(); - 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.Resources resources = 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::Resources::_InternalParse; - object = msg->mutable_resources(); - 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.plugins.kubeflow.RestartPolicy restart_policy = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_restart_policy(static_cast<::flyteidl::plugins::kubeflow::RestartPolicy>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 DistributedPyTorchTrainingReplicaSpec::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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - 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)) { - // int32 replicas = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // string image = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_image())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Resources resources = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resources())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_restart_policy(static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedPyTorchTrainingReplicaSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 replicas = 1; - if (this->replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->replicas(), output); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->image(), output); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::resources(this), output); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->restart_policy(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) -} - -::google::protobuf::uint8* DistributedPyTorchTrainingReplicaSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 replicas = 1; - if (this->replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->replicas(), target); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->image(), target); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::resources(this), target); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->restart_policy(), 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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - return target; -} - -size_t DistributedPyTorchTrainingReplicaSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - 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 image = 2; - if (this->image().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->image()); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resources_); - } - - // int32 replicas = 1; - if (this->replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->replicas()); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->restart_policy()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedPyTorchTrainingReplicaSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - GOOGLE_DCHECK_NE(&from, this); - const DistributedPyTorchTrainingReplicaSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - MergeFrom(*source); - } -} - -void DistributedPyTorchTrainingReplicaSpec::MergeFrom(const DistributedPyTorchTrainingReplicaSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.image().size() > 0) { - - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); - } - if (from.replicas() != 0) { - set_replicas(from.replicas()); - } - if (from.restart_policy() != 0) { - set_restart_policy(from.restart_policy()); - } -} - -void DistributedPyTorchTrainingReplicaSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedPyTorchTrainingReplicaSpec::CopyFrom(const DistributedPyTorchTrainingReplicaSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedPyTorchTrainingReplicaSpec::IsInitialized() const { - return true; -} - -void DistributedPyTorchTrainingReplicaSpec::Swap(DistributedPyTorchTrainingReplicaSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedPyTorchTrainingReplicaSpec::InternalSwap(DistributedPyTorchTrainingReplicaSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resources_, other->resources_); - swap(replicas_, other->replicas_); - swap(restart_policy_, other->restart_policy_); -} - -::google::protobuf::Metadata DistributedPyTorchTrainingReplicaSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::ElasticConfig* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::ElasticConfig >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::ElasticConfig >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.h deleted file mode 100644 index f124f939a9..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.h +++ /dev/null @@ -1,985 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/pytorch.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/plugins/kubeflow/common.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_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_2fplugins_2fkubeflow_2fpytorch_2eproto(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class DistributedPyTorchTrainingReplicaSpec; -class DistributedPyTorchTrainingReplicaSpecDefaultTypeInternal; -extern DistributedPyTorchTrainingReplicaSpecDefaultTypeInternal _DistributedPyTorchTrainingReplicaSpec_default_instance_; -class DistributedPyTorchTrainingTask; -class DistributedPyTorchTrainingTaskDefaultTypeInternal; -extern DistributedPyTorchTrainingTaskDefaultTypeInternal _DistributedPyTorchTrainingTask_default_instance_; -class ElasticConfig; -class ElasticConfigDefaultTypeInternal; -extern ElasticConfigDefaultTypeInternal _ElasticConfig_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec>(Arena*); -template<> ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask>(Arena*); -template<> ::flyteidl::plugins::kubeflow::ElasticConfig* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::ElasticConfig>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -// =================================================================== - -class ElasticConfig final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.ElasticConfig) */ { - public: - ElasticConfig(); - virtual ~ElasticConfig(); - - ElasticConfig(const ElasticConfig& from); - - inline ElasticConfig& operator=(const ElasticConfig& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ElasticConfig(ElasticConfig&& from) noexcept - : ElasticConfig() { - *this = ::std::move(from); - } - - inline ElasticConfig& operator=(ElasticConfig&& 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 ElasticConfig& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ElasticConfig* internal_default_instance() { - return reinterpret_cast( - &_ElasticConfig_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ElasticConfig* other); - friend void swap(ElasticConfig& a, ElasticConfig& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ElasticConfig* New() const final { - return CreateMaybeMessage(nullptr); - } - - ElasticConfig* 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 ElasticConfig& from); - void MergeFrom(const ElasticConfig& 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(ElasticConfig* 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 rdzv_backend = 1; - void clear_rdzv_backend(); - static const int kRdzvBackendFieldNumber = 1; - const ::std::string& rdzv_backend() const; - void set_rdzv_backend(const ::std::string& value); - #if LANG_CXX11 - void set_rdzv_backend(::std::string&& value); - #endif - void set_rdzv_backend(const char* value); - void set_rdzv_backend(const char* value, size_t size); - ::std::string* mutable_rdzv_backend(); - ::std::string* release_rdzv_backend(); - void set_allocated_rdzv_backend(::std::string* rdzv_backend); - - // int32 min_replicas = 2; - void clear_min_replicas(); - static const int kMinReplicasFieldNumber = 2; - ::google::protobuf::int32 min_replicas() const; - void set_min_replicas(::google::protobuf::int32 value); - - // int32 max_replicas = 3; - void clear_max_replicas(); - static const int kMaxReplicasFieldNumber = 3; - ::google::protobuf::int32 max_replicas() const; - void set_max_replicas(::google::protobuf::int32 value); - - // int32 nproc_per_node = 4; - void clear_nproc_per_node(); - static const int kNprocPerNodeFieldNumber = 4; - ::google::protobuf::int32 nproc_per_node() const; - void set_nproc_per_node(::google::protobuf::int32 value); - - // int32 max_restarts = 5; - void clear_max_restarts(); - static const int kMaxRestartsFieldNumber = 5; - ::google::protobuf::int32 max_restarts() const; - void set_max_restarts(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.ElasticConfig) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr rdzv_backend_; - ::google::protobuf::int32 min_replicas_; - ::google::protobuf::int32 max_replicas_; - ::google::protobuf::int32 nproc_per_node_; - ::google::protobuf::int32 max_restarts_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; -}; -// ------------------------------------------------------------------- - -class DistributedPyTorchTrainingTask final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) */ { - public: - DistributedPyTorchTrainingTask(); - virtual ~DistributedPyTorchTrainingTask(); - - DistributedPyTorchTrainingTask(const DistributedPyTorchTrainingTask& from); - - inline DistributedPyTorchTrainingTask& operator=(const DistributedPyTorchTrainingTask& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedPyTorchTrainingTask(DistributedPyTorchTrainingTask&& from) noexcept - : DistributedPyTorchTrainingTask() { - *this = ::std::move(from); - } - - inline DistributedPyTorchTrainingTask& operator=(DistributedPyTorchTrainingTask&& 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 DistributedPyTorchTrainingTask& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedPyTorchTrainingTask* internal_default_instance() { - return reinterpret_cast( - &_DistributedPyTorchTrainingTask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(DistributedPyTorchTrainingTask* other); - friend void swap(DistributedPyTorchTrainingTask& a, DistributedPyTorchTrainingTask& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedPyTorchTrainingTask* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedPyTorchTrainingTask* 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 DistributedPyTorchTrainingTask& from); - void MergeFrom(const DistributedPyTorchTrainingTask& 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(DistributedPyTorchTrainingTask* 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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - bool has_worker_replicas() const; - void clear_worker_replicas(); - static const int kWorkerReplicasFieldNumber = 1; - const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& worker_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* release_worker_replicas(); - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* mutable_worker_replicas(); - void set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* worker_replicas); - - // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - bool has_master_replicas() const; - void clear_master_replicas(); - static const int kMasterReplicasFieldNumber = 2; - const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& master_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* release_master_replicas(); - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* mutable_master_replicas(); - void set_allocated_master_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* master_replicas); - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - bool has_run_policy() const; - void clear_run_policy(); - static const int kRunPolicyFieldNumber = 3; - const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy() const; - ::flyteidl::plugins::kubeflow::RunPolicy* release_run_policy(); - ::flyteidl::plugins::kubeflow::RunPolicy* mutable_run_policy(); - void set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy); - - // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - bool has_elastic_config() const; - void clear_elastic_config(); - static const int kElasticConfigFieldNumber = 4; - const ::flyteidl::plugins::kubeflow::ElasticConfig& elastic_config() const; - ::flyteidl::plugins::kubeflow::ElasticConfig* release_elastic_config(); - ::flyteidl::plugins::kubeflow::ElasticConfig* mutable_elastic_config(); - void set_allocated_elastic_config(::flyteidl::plugins::kubeflow::ElasticConfig* elastic_config); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* worker_replicas_; - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* master_replicas_; - ::flyteidl::plugins::kubeflow::RunPolicy* run_policy_; - ::flyteidl::plugins::kubeflow::ElasticConfig* elastic_config_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; -}; -// ------------------------------------------------------------------- - -class DistributedPyTorchTrainingReplicaSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) */ { - public: - DistributedPyTorchTrainingReplicaSpec(); - virtual ~DistributedPyTorchTrainingReplicaSpec(); - - DistributedPyTorchTrainingReplicaSpec(const DistributedPyTorchTrainingReplicaSpec& from); - - inline DistributedPyTorchTrainingReplicaSpec& operator=(const DistributedPyTorchTrainingReplicaSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedPyTorchTrainingReplicaSpec(DistributedPyTorchTrainingReplicaSpec&& from) noexcept - : DistributedPyTorchTrainingReplicaSpec() { - *this = ::std::move(from); - } - - inline DistributedPyTorchTrainingReplicaSpec& operator=(DistributedPyTorchTrainingReplicaSpec&& 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 DistributedPyTorchTrainingReplicaSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedPyTorchTrainingReplicaSpec* internal_default_instance() { - return reinterpret_cast( - &_DistributedPyTorchTrainingReplicaSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(DistributedPyTorchTrainingReplicaSpec* other); - friend void swap(DistributedPyTorchTrainingReplicaSpec& a, DistributedPyTorchTrainingReplicaSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedPyTorchTrainingReplicaSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedPyTorchTrainingReplicaSpec* 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 DistributedPyTorchTrainingReplicaSpec& from); - void MergeFrom(const DistributedPyTorchTrainingReplicaSpec& 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(DistributedPyTorchTrainingReplicaSpec* 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 image = 2; - void clear_image(); - static const int kImageFieldNumber = 2; - const ::std::string& image() const; - void set_image(const ::std::string& value); - #if LANG_CXX11 - void set_image(::std::string&& value); - #endif - void set_image(const char* value); - void set_image(const char* value, size_t size); - ::std::string* mutable_image(); - ::std::string* release_image(); - void set_allocated_image(::std::string* image); - - // .flyteidl.core.Resources resources = 3; - bool has_resources() const; - void clear_resources(); - static const int kResourcesFieldNumber = 3; - const ::flyteidl::core::Resources& resources() const; - ::flyteidl::core::Resources* release_resources(); - ::flyteidl::core::Resources* mutable_resources(); - void set_allocated_resources(::flyteidl::core::Resources* resources); - - // int32 replicas = 1; - void clear_replicas(); - static const int kReplicasFieldNumber = 1; - ::google::protobuf::int32 replicas() const; - void set_replicas(::google::protobuf::int32 value); - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - void clear_restart_policy(); - static const int kRestartPolicyFieldNumber = 4; - ::flyteidl::plugins::kubeflow::RestartPolicy restart_policy() const; - void set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr image_; - ::flyteidl::core::Resources* resources_; - ::google::protobuf::int32 replicas_; - int restart_policy_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ElasticConfig - -// string rdzv_backend = 1; -inline void ElasticConfig::clear_rdzv_backend() { - rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ElasticConfig::rdzv_backend() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) - return rdzv_backend_.GetNoArena(); -} -inline void ElasticConfig::set_rdzv_backend(const ::std::string& value) { - - rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) -} -#if LANG_CXX11 -inline void ElasticConfig::set_rdzv_backend(::std::string&& value) { - - rdzv_backend_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) -} -#endif -inline void ElasticConfig::set_rdzv_backend(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) -} -inline void ElasticConfig::set_rdzv_backend(const char* value, size_t size) { - - rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) -} -inline ::std::string* ElasticConfig::mutable_rdzv_backend() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) - return rdzv_backend_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ElasticConfig::release_rdzv_backend() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) - - return rdzv_backend_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ElasticConfig::set_allocated_rdzv_backend(::std::string* rdzv_backend) { - if (rdzv_backend != nullptr) { - - } else { - - } - rdzv_backend_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rdzv_backend); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) -} - -// int32 min_replicas = 2; -inline void ElasticConfig::clear_min_replicas() { - min_replicas_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::min_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.min_replicas) - return min_replicas_; -} -inline void ElasticConfig::set_min_replicas(::google::protobuf::int32 value) { - - min_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.min_replicas) -} - -// int32 max_replicas = 3; -inline void ElasticConfig::clear_max_replicas() { - max_replicas_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::max_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.max_replicas) - return max_replicas_; -} -inline void ElasticConfig::set_max_replicas(::google::protobuf::int32 value) { - - max_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.max_replicas) -} - -// int32 nproc_per_node = 4; -inline void ElasticConfig::clear_nproc_per_node() { - nproc_per_node_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::nproc_per_node() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.nproc_per_node) - return nproc_per_node_; -} -inline void ElasticConfig::set_nproc_per_node(::google::protobuf::int32 value) { - - nproc_per_node_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.nproc_per_node) -} - -// int32 max_restarts = 5; -inline void ElasticConfig::clear_max_restarts() { - max_restarts_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::max_restarts() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.max_restarts) - return max_restarts_; -} -inline void ElasticConfig::set_max_restarts(::google::protobuf::int32 value) { - - max_restarts_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.max_restarts) -} - -// ------------------------------------------------------------------- - -// DistributedPyTorchTrainingTask - -// .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; -inline bool DistributedPyTorchTrainingTask::has_worker_replicas() const { - return this != internal_default_instance() && worker_replicas_ != nullptr; -} -inline void DistributedPyTorchTrainingTask::clear_worker_replicas() { - if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { - delete worker_replicas_; - } - worker_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& DistributedPyTorchTrainingTask::worker_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* p = worker_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::release_worker_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) - - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* temp = worker_replicas_; - worker_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::mutable_worker_replicas() { - - if (worker_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec>(GetArenaNoVirtual()); - worker_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) - return worker_replicas_; -} -inline void DistributedPyTorchTrainingTask::set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* worker_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete worker_replicas_; - } - if (worker_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - worker_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, worker_replicas, submessage_arena); - } - - } else { - - } - worker_replicas_ = worker_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) -} - -// .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; -inline bool DistributedPyTorchTrainingTask::has_master_replicas() const { - return this != internal_default_instance() && master_replicas_ != nullptr; -} -inline void DistributedPyTorchTrainingTask::clear_master_replicas() { - if (GetArenaNoVirtual() == nullptr && master_replicas_ != nullptr) { - delete master_replicas_; - } - master_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& DistributedPyTorchTrainingTask::master_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* p = master_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::release_master_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) - - ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* temp = master_replicas_; - master_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::mutable_master_replicas() { - - if (master_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec>(GetArenaNoVirtual()); - master_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) - return master_replicas_; -} -inline void DistributedPyTorchTrainingTask::set_allocated_master_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* master_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete master_replicas_; - } - if (master_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - master_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, master_replicas, submessage_arena); - } - - } else { - - } - master_replicas_ = master_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) -} - -// .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; -inline bool DistributedPyTorchTrainingTask::has_run_policy() const { - return this != internal_default_instance() && run_policy_ != nullptr; -} -inline const ::flyteidl::plugins::kubeflow::RunPolicy& DistributedPyTorchTrainingTask::run_policy() const { - const ::flyteidl::plugins::kubeflow::RunPolicy* p = run_policy_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedPyTorchTrainingTask::release_run_policy() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) - - ::flyteidl::plugins::kubeflow::RunPolicy* temp = run_policy_; - run_policy_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedPyTorchTrainingTask::mutable_run_policy() { - - if (run_policy_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(GetArenaNoVirtual()); - run_policy_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) - return run_policy_; -} -inline void DistributedPyTorchTrainingTask::set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(run_policy_); - } - if (run_policy) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - run_policy = ::google::protobuf::internal::GetOwnedMessage( - message_arena, run_policy, submessage_arena); - } - - } else { - - } - run_policy_ = run_policy; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) -} - -// .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; -inline bool DistributedPyTorchTrainingTask::has_elastic_config() const { - return this != internal_default_instance() && elastic_config_ != nullptr; -} -inline void DistributedPyTorchTrainingTask::clear_elastic_config() { - if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { - delete elastic_config_; - } - elastic_config_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::ElasticConfig& DistributedPyTorchTrainingTask::elastic_config() const { - const ::flyteidl::plugins::kubeflow::ElasticConfig* p = elastic_config_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_ElasticConfig_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::ElasticConfig* DistributedPyTorchTrainingTask::release_elastic_config() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) - - ::flyteidl::plugins::kubeflow::ElasticConfig* temp = elastic_config_; - elastic_config_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::ElasticConfig* DistributedPyTorchTrainingTask::mutable_elastic_config() { - - if (elastic_config_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::ElasticConfig>(GetArenaNoVirtual()); - elastic_config_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) - return elastic_config_; -} -inline void DistributedPyTorchTrainingTask::set_allocated_elastic_config(::flyteidl::plugins::kubeflow::ElasticConfig* elastic_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete elastic_config_; - } - if (elastic_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - elastic_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, elastic_config, submessage_arena); - } - - } else { - - } - elastic_config_ = elastic_config; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) -} - -// ------------------------------------------------------------------- - -// DistributedPyTorchTrainingReplicaSpec - -// int32 replicas = 1; -inline void DistributedPyTorchTrainingReplicaSpec::clear_replicas() { - replicas_ = 0; -} -inline ::google::protobuf::int32 DistributedPyTorchTrainingReplicaSpec::replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.replicas) - return replicas_; -} -inline void DistributedPyTorchTrainingReplicaSpec::set_replicas(::google::protobuf::int32 value) { - - replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.replicas) -} - -// string image = 2; -inline void DistributedPyTorchTrainingReplicaSpec::clear_image() { - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DistributedPyTorchTrainingReplicaSpec::image() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) - return image_.GetNoArena(); -} -inline void DistributedPyTorchTrainingReplicaSpec::set_image(const ::std::string& value) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) -} -#if LANG_CXX11 -inline void DistributedPyTorchTrainingReplicaSpec::set_image(::std::string&& value) { - - image_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) -} -#endif -inline void DistributedPyTorchTrainingReplicaSpec::set_image(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) -} -inline void DistributedPyTorchTrainingReplicaSpec::set_image(const char* value, size_t size) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) -} -inline ::std::string* DistributedPyTorchTrainingReplicaSpec::mutable_image() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) - return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DistributedPyTorchTrainingReplicaSpec::release_image() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) - - return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DistributedPyTorchTrainingReplicaSpec::set_allocated_image(::std::string* image) { - if (image != nullptr) { - - } else { - - } - image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) -} - -// .flyteidl.core.Resources resources = 3; -inline bool DistributedPyTorchTrainingReplicaSpec::has_resources() const { - return this != internal_default_instance() && resources_ != nullptr; -} -inline const ::flyteidl::core::Resources& DistributedPyTorchTrainingReplicaSpec::resources() const { - const ::flyteidl::core::Resources* p = resources_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Resources_default_instance_); -} -inline ::flyteidl::core::Resources* DistributedPyTorchTrainingReplicaSpec::release_resources() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) - - ::flyteidl::core::Resources* temp = resources_; - resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::Resources* DistributedPyTorchTrainingReplicaSpec::mutable_resources() { - - if (resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); - resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) - return resources_; -} -inline void DistributedPyTorchTrainingReplicaSpec::set_allocated_resources(::flyteidl::core::Resources* resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); - } - if (resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resources, submessage_arena); - } - - } else { - - } - resources_ = resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) -} - -// .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; -inline void DistributedPyTorchTrainingReplicaSpec::clear_restart_policy() { - restart_policy_ = 0; -} -inline ::flyteidl::plugins::kubeflow::RestartPolicy DistributedPyTorchTrainingReplicaSpec::restart_policy() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.restart_policy) - return static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(restart_policy_); -} -inline void DistributedPyTorchTrainingReplicaSpec::set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value) { - - restart_policy_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.restart_policy) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.cc deleted file mode 100644 index 5360384595..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.cc +++ /dev/null @@ -1,26 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/tensorflow.proto - -#include "flyteidl/plugins/kubeflow/tensorflow.pb.h" -#include "flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -} // namespace flyteidl -} // namespace plugins -} // namespace kubeflow - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h deleted file mode 100644 index 2ab6f394d2..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/kubeflow/tensorflow.proto -#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto__INCLUDED - -#include "flyteidl/plugins/kubeflow/tensorflow.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 plugins { -namespace kubeflow { - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.cc deleted file mode 100644 index 187cc04817..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.cc +++ /dev/null @@ -1,1198 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/tensorflow.proto - -#include "flyteidl/plugins/kubeflow/tensorflow.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto; -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class DistributedTensorflowTrainingTaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedTensorflowTrainingTask_default_instance_; -class DistributedTensorflowTrainingReplicaSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedTensorflowTrainingReplicaSpec_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsDistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto}, { - &scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base, - &scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base,}}; - -static void InitDefaultsDistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_; - new (ptr) ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto}, { - &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[2]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, worker_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, ps_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, chief_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, run_policy_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, evaluator_replicas_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, image_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, resources_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, restart_policy_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask)}, - { 10, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_), - reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, "flyteidl/plugins/kubeflow/tensorflow.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, 2, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[] = - "\n*flyteidl/plugins/kubeflow/tensorflow.p" - "roto\022\031flyteidl.plugins.kubeflow\032\031flyteid" - "l/core/tasks.proto\032&flyteidl/plugins/kub" - "eflow/common.proto\"\323\003\n!DistributedTensor" - "flowTrainingTask\022\\\n\017worker_replicas\030\001 \001(" - "\0132C.flyteidl.plugins.kubeflow.Distribute" - "dTensorflowTrainingReplicaSpec\022X\n\013ps_rep" - "licas\030\002 \001(\0132C.flyteidl.plugins.kubeflow." - "DistributedTensorflowTrainingReplicaSpec" - "\022[\n\016chief_replicas\030\003 \001(\0132C.flyteidl.plug" - "ins.kubeflow.DistributedTensorflowTraini" - "ngReplicaSpec\0228\n\nrun_policy\030\004 \001(\0132$.flyt" - "eidl.plugins.kubeflow.RunPolicy\022_\n\022evalu" - "ator_replicas\030\005 \001(\0132C.flyteidl.plugins.k" - "ubeflow.DistributedTensorflowTrainingRep" - "licaSpec\"\272\001\n(DistributedTensorflowTraini" - "ngReplicaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image" - "\030\002 \001(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.cor" - "e.Resources\022@\n\016restart_policy\030\004 \001(\0162(.fl" - "yteidl.plugins.kubeflow.RestartPolicyB\?Z" - "=github.com/flyteorg/flyte/flyteidl/gen/" - "pb-go/flyteidl/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, - "flyteidl/plugins/kubeflow/tensorflow.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, 870, -}; - -void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, - ::AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -// =================================================================== - -void DistributedTensorflowTrainingTask::InitAsDefaultInstance() { - ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->worker_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->ps_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->chief_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->run_policy_ = const_cast< ::flyteidl::plugins::kubeflow::RunPolicy*>( - ::flyteidl::plugins::kubeflow::RunPolicy::internal_default_instance()); - ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->evaluator_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec*>( - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::internal_default_instance()); -} -class DistributedTensorflowTrainingTask::HasBitSetters { - public: - static const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& worker_replicas(const DistributedTensorflowTrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& ps_replicas(const DistributedTensorflowTrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& chief_replicas(const DistributedTensorflowTrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy(const DistributedTensorflowTrainingTask* msg); - static const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& evaluator_replicas(const DistributedTensorflowTrainingTask* msg); -}; - -const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& -DistributedTensorflowTrainingTask::HasBitSetters::worker_replicas(const DistributedTensorflowTrainingTask* msg) { - return *msg->worker_replicas_; -} -const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& -DistributedTensorflowTrainingTask::HasBitSetters::ps_replicas(const DistributedTensorflowTrainingTask* msg) { - return *msg->ps_replicas_; -} -const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& -DistributedTensorflowTrainingTask::HasBitSetters::chief_replicas(const DistributedTensorflowTrainingTask* msg) { - return *msg->chief_replicas_; -} -const ::flyteidl::plugins::kubeflow::RunPolicy& -DistributedTensorflowTrainingTask::HasBitSetters::run_policy(const DistributedTensorflowTrainingTask* msg) { - return *msg->run_policy_; -} -const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& -DistributedTensorflowTrainingTask::HasBitSetters::evaluator_replicas(const DistributedTensorflowTrainingTask* msg) { - return *msg->evaluator_replicas_; -} -void DistributedTensorflowTrainingTask::clear_run_policy() { - if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { - delete run_policy_; - } - run_policy_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedTensorflowTrainingTask::kWorkerReplicasFieldNumber; -const int DistributedTensorflowTrainingTask::kPsReplicasFieldNumber; -const int DistributedTensorflowTrainingTask::kChiefReplicasFieldNumber; -const int DistributedTensorflowTrainingTask::kRunPolicyFieldNumber; -const int DistributedTensorflowTrainingTask::kEvaluatorReplicasFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedTensorflowTrainingTask::DistributedTensorflowTrainingTask() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) -} -DistributedTensorflowTrainingTask::DistributedTensorflowTrainingTask(const DistributedTensorflowTrainingTask& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_worker_replicas()) { - worker_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(*from.worker_replicas_); - } else { - worker_replicas_ = nullptr; - } - if (from.has_ps_replicas()) { - ps_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(*from.ps_replicas_); - } else { - ps_replicas_ = nullptr; - } - if (from.has_chief_replicas()) { - chief_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(*from.chief_replicas_); - } else { - chief_replicas_ = nullptr; - } - if (from.has_run_policy()) { - run_policy_ = new ::flyteidl::plugins::kubeflow::RunPolicy(*from.run_policy_); - } else { - run_policy_ = nullptr; - } - if (from.has_evaluator_replicas()) { - evaluator_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(*from.evaluator_replicas_); - } else { - evaluator_replicas_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) -} - -void DistributedTensorflowTrainingTask::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); - ::memset(&worker_replicas_, 0, static_cast( - reinterpret_cast(&evaluator_replicas_) - - reinterpret_cast(&worker_replicas_)) + sizeof(evaluator_replicas_)); -} - -DistributedTensorflowTrainingTask::~DistributedTensorflowTrainingTask() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - SharedDtor(); -} - -void DistributedTensorflowTrainingTask::SharedDtor() { - if (this != internal_default_instance()) delete worker_replicas_; - if (this != internal_default_instance()) delete ps_replicas_; - if (this != internal_default_instance()) delete chief_replicas_; - if (this != internal_default_instance()) delete run_policy_; - if (this != internal_default_instance()) delete evaluator_replicas_; -} - -void DistributedTensorflowTrainingTask::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedTensorflowTrainingTask& DistributedTensorflowTrainingTask::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedTensorflowTrainingTask::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { - delete worker_replicas_; - } - worker_replicas_ = nullptr; - if (GetArenaNoVirtual() == nullptr && ps_replicas_ != nullptr) { - delete ps_replicas_; - } - ps_replicas_ = nullptr; - if (GetArenaNoVirtual() == nullptr && chief_replicas_ != nullptr) { - delete chief_replicas_; - } - chief_replicas_ = nullptr; - if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { - delete run_policy_; - } - run_policy_ = nullptr; - if (GetArenaNoVirtual() == nullptr && evaluator_replicas_ != nullptr) { - delete evaluator_replicas_; - } - evaluator_replicas_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedTensorflowTrainingTask::_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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 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::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::_InternalParse; - object = msg->mutable_worker_replicas(); - 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::_InternalParse; - object = msg->mutable_ps_replicas(); - 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 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::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::_InternalParse; - object = msg->mutable_chief_replicas(); - 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.plugins.kubeflow.RunPolicy run_policy = 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::plugins::kubeflow::RunPolicy::_InternalParse; - object = msg->mutable_run_policy(); - 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 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::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::_InternalParse; - object = msg->mutable_evaluator_replicas(); - 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 DistributedTensorflowTrainingTask::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.plugins.kubeflow.DistributedTensorflowTrainingTask) - 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_worker_replicas())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_ps_replicas())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_chief_replicas())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_run_policy())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_evaluator_replicas())); - } 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.plugins.kubeflow.DistributedTensorflowTrainingTask) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedTensorflowTrainingTask::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::worker_replicas(this), output); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - if (this->has_ps_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::ps_replicas(this), output); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - if (this->has_chief_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::chief_replicas(this), output); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - if (this->has_run_policy()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::run_policy(this), output); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - if (this->has_evaluator_replicas()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::evaluator_replicas(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) -} - -::google::protobuf::uint8* DistributedTensorflowTrainingTask::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::worker_replicas(this), target); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - if (this->has_ps_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::ps_replicas(this), target); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - if (this->has_chief_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::chief_replicas(this), target); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - if (this->has_run_policy()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::run_policy(this), target); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - if (this->has_evaluator_replicas()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::evaluator_replicas(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.plugins.kubeflow.DistributedTensorflowTrainingTask) - return target; -} - -size_t DistributedTensorflowTrainingTask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - if (this->has_worker_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *worker_replicas_); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - if (this->has_ps_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *ps_replicas_); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - if (this->has_chief_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *chief_replicas_); - } - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - if (this->has_run_policy()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *run_policy_); - } - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - if (this->has_evaluator_replicas()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *evaluator_replicas_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedTensorflowTrainingTask::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - GOOGLE_DCHECK_NE(&from, this); - const DistributedTensorflowTrainingTask* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - MergeFrom(*source); - } -} - -void DistributedTensorflowTrainingTask::MergeFrom(const DistributedTensorflowTrainingTask& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - 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_worker_replicas()) { - mutable_worker_replicas()->::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::MergeFrom(from.worker_replicas()); - } - if (from.has_ps_replicas()) { - mutable_ps_replicas()->::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::MergeFrom(from.ps_replicas()); - } - if (from.has_chief_replicas()) { - mutable_chief_replicas()->::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::MergeFrom(from.chief_replicas()); - } - if (from.has_run_policy()) { - mutable_run_policy()->::flyteidl::plugins::kubeflow::RunPolicy::MergeFrom(from.run_policy()); - } - if (from.has_evaluator_replicas()) { - mutable_evaluator_replicas()->::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::MergeFrom(from.evaluator_replicas()); - } -} - -void DistributedTensorflowTrainingTask::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedTensorflowTrainingTask::CopyFrom(const DistributedTensorflowTrainingTask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedTensorflowTrainingTask::IsInitialized() const { - return true; -} - -void DistributedTensorflowTrainingTask::Swap(DistributedTensorflowTrainingTask* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedTensorflowTrainingTask::InternalSwap(DistributedTensorflowTrainingTask* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(worker_replicas_, other->worker_replicas_); - swap(ps_replicas_, other->ps_replicas_); - swap(chief_replicas_, other->chief_replicas_); - swap(run_policy_, other->run_policy_); - swap(evaluator_replicas_, other->evaluator_replicas_); -} - -::google::protobuf::Metadata DistributedTensorflowTrainingTask::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DistributedTensorflowTrainingReplicaSpec::InitAsDefaultInstance() { - ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( - ::flyteidl::core::Resources::internal_default_instance()); -} -class DistributedTensorflowTrainingReplicaSpec::HasBitSetters { - public: - static const ::flyteidl::core::Resources& resources(const DistributedTensorflowTrainingReplicaSpec* msg); -}; - -const ::flyteidl::core::Resources& -DistributedTensorflowTrainingReplicaSpec::HasBitSetters::resources(const DistributedTensorflowTrainingReplicaSpec* msg) { - return *msg->resources_; -} -void DistributedTensorflowTrainingReplicaSpec::clear_resources() { - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedTensorflowTrainingReplicaSpec::kReplicasFieldNumber; -const int DistributedTensorflowTrainingReplicaSpec::kImageFieldNumber; -const int DistributedTensorflowTrainingReplicaSpec::kResourcesFieldNumber; -const int DistributedTensorflowTrainingReplicaSpec::kRestartPolicyFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedTensorflowTrainingReplicaSpec::DistributedTensorflowTrainingReplicaSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) -} -DistributedTensorflowTrainingReplicaSpec::DistributedTensorflowTrainingReplicaSpec(const DistributedTensorflowTrainingReplicaSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.image().size() > 0) { - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - resources_ = new ::flyteidl::core::Resources(*from.resources_); - } else { - resources_ = nullptr; - } - ::memcpy(&replicas_, &from.replicas_, - static_cast(reinterpret_cast(&restart_policy_) - - reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) -} - -void DistributedTensorflowTrainingReplicaSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); - image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&resources_, 0, static_cast( - reinterpret_cast(&restart_policy_) - - reinterpret_cast(&resources_)) + sizeof(restart_policy_)); -} - -DistributedTensorflowTrainingReplicaSpec::~DistributedTensorflowTrainingReplicaSpec() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - SharedDtor(); -} - -void DistributedTensorflowTrainingReplicaSpec::SharedDtor() { - image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete resources_; -} - -void DistributedTensorflowTrainingReplicaSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingReplicaSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedTensorflowTrainingReplicaSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { - delete resources_; - } - resources_ = nullptr; - ::memset(&replicas_, 0, static_cast( - reinterpret_cast(&restart_policy_) - - reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedTensorflowTrainingReplicaSpec::_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) { - // int32 replicas = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string image = 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image"); - object = msg->mutable_image(); - 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.Resources resources = 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::Resources::_InternalParse; - object = msg->mutable_resources(); - 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.plugins.kubeflow.RestartPolicy restart_policy = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_restart_policy(static_cast<::flyteidl::plugins::kubeflow::RestartPolicy>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 DistributedTensorflowTrainingReplicaSpec::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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - 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)) { - // int32 replicas = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // string image = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_image())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Resources resources = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_resources())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_restart_policy(static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(value)); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedTensorflowTrainingReplicaSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 replicas = 1; - if (this->replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->replicas(), output); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->image(), output); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::resources(this), output); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 4, this->restart_policy(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) -} - -::google::protobuf::uint8* DistributedTensorflowTrainingReplicaSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 replicas = 1; - if (this->replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->replicas(), target); - } - - // string image = 2; - if (this->image().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->image().data(), static_cast(this->image().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->image(), target); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::resources(this), target); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 4, this->restart_policy(), 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - return target; -} - -size_t DistributedTensorflowTrainingReplicaSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - 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 image = 2; - if (this->image().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->image()); - } - - // .flyteidl.core.Resources resources = 3; - if (this->has_resources()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *resources_); - } - - // int32 replicas = 1; - if (this->replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->replicas()); - } - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - if (this->restart_policy() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->restart_policy()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedTensorflowTrainingReplicaSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - GOOGLE_DCHECK_NE(&from, this); - const DistributedTensorflowTrainingReplicaSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - MergeFrom(*source); - } -} - -void DistributedTensorflowTrainingReplicaSpec::MergeFrom(const DistributedTensorflowTrainingReplicaSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.image().size() > 0) { - - image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); - } - if (from.has_resources()) { - mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); - } - if (from.replicas() != 0) { - set_replicas(from.replicas()); - } - if (from.restart_policy() != 0) { - set_restart_policy(from.restart_policy()); - } -} - -void DistributedTensorflowTrainingReplicaSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedTensorflowTrainingReplicaSpec::CopyFrom(const DistributedTensorflowTrainingReplicaSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedTensorflowTrainingReplicaSpec::IsInitialized() const { - return true; -} - -void DistributedTensorflowTrainingReplicaSpec::Swap(DistributedTensorflowTrainingReplicaSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedTensorflowTrainingReplicaSpec::InternalSwap(DistributedTensorflowTrainingReplicaSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(resources_, other->resources_); - swap(replicas_, other->replicas_); - swap(restart_policy_, other->restart_policy_); -} - -::google::protobuf::Metadata DistributedTensorflowTrainingReplicaSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.h deleted file mode 100644 index 4a100b0233..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.h +++ /dev/null @@ -1,779 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/tensorflow.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/tasks.pb.h" -#include "flyteidl/plugins/kubeflow/common.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_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[2] - 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_2fplugins_2fkubeflow_2ftensorflow_2eproto(); -namespace flyteidl { -namespace plugins { -namespace kubeflow { -class DistributedTensorflowTrainingReplicaSpec; -class DistributedTensorflowTrainingReplicaSpecDefaultTypeInternal; -extern DistributedTensorflowTrainingReplicaSpecDefaultTypeInternal _DistributedTensorflowTrainingReplicaSpec_default_instance_; -class DistributedTensorflowTrainingTask; -class DistributedTensorflowTrainingTaskDefaultTypeInternal; -extern DistributedTensorflowTrainingTaskDefaultTypeInternal _DistributedTensorflowTrainingTask_default_instance_; -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(Arena*); -template<> ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { -namespace kubeflow { - -// =================================================================== - -class DistributedTensorflowTrainingTask final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) */ { - public: - DistributedTensorflowTrainingTask(); - virtual ~DistributedTensorflowTrainingTask(); - - DistributedTensorflowTrainingTask(const DistributedTensorflowTrainingTask& from); - - inline DistributedTensorflowTrainingTask& operator=(const DistributedTensorflowTrainingTask& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedTensorflowTrainingTask(DistributedTensorflowTrainingTask&& from) noexcept - : DistributedTensorflowTrainingTask() { - *this = ::std::move(from); - } - - inline DistributedTensorflowTrainingTask& operator=(DistributedTensorflowTrainingTask&& 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 DistributedTensorflowTrainingTask& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedTensorflowTrainingTask* internal_default_instance() { - return reinterpret_cast( - &_DistributedTensorflowTrainingTask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(DistributedTensorflowTrainingTask* other); - friend void swap(DistributedTensorflowTrainingTask& a, DistributedTensorflowTrainingTask& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedTensorflowTrainingTask* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedTensorflowTrainingTask* 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 DistributedTensorflowTrainingTask& from); - void MergeFrom(const DistributedTensorflowTrainingTask& 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(DistributedTensorflowTrainingTask* 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - bool has_worker_replicas() const; - void clear_worker_replicas(); - static const int kWorkerReplicasFieldNumber = 1; - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& worker_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* release_worker_replicas(); - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* mutable_worker_replicas(); - void set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* worker_replicas); - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - bool has_ps_replicas() const; - void clear_ps_replicas(); - static const int kPsReplicasFieldNumber = 2; - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& ps_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* release_ps_replicas(); - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* mutable_ps_replicas(); - void set_allocated_ps_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* ps_replicas); - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - bool has_chief_replicas() const; - void clear_chief_replicas(); - static const int kChiefReplicasFieldNumber = 3; - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& chief_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* release_chief_replicas(); - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* mutable_chief_replicas(); - void set_allocated_chief_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* chief_replicas); - - // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - bool has_run_policy() const; - void clear_run_policy(); - static const int kRunPolicyFieldNumber = 4; - const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy() const; - ::flyteidl::plugins::kubeflow::RunPolicy* release_run_policy(); - ::flyteidl::plugins::kubeflow::RunPolicy* mutable_run_policy(); - void set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy); - - // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - bool has_evaluator_replicas() const; - void clear_evaluator_replicas(); - static const int kEvaluatorReplicasFieldNumber = 5; - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& evaluator_replicas() const; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* release_evaluator_replicas(); - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* mutable_evaluator_replicas(); - void set_allocated_evaluator_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* evaluator_replicas); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* worker_replicas_; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* ps_replicas_; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* chief_replicas_; - ::flyteidl::plugins::kubeflow::RunPolicy* run_policy_; - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* evaluator_replicas_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto; -}; -// ------------------------------------------------------------------- - -class DistributedTensorflowTrainingReplicaSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) */ { - public: - DistributedTensorflowTrainingReplicaSpec(); - virtual ~DistributedTensorflowTrainingReplicaSpec(); - - DistributedTensorflowTrainingReplicaSpec(const DistributedTensorflowTrainingReplicaSpec& from); - - inline DistributedTensorflowTrainingReplicaSpec& operator=(const DistributedTensorflowTrainingReplicaSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedTensorflowTrainingReplicaSpec(DistributedTensorflowTrainingReplicaSpec&& from) noexcept - : DistributedTensorflowTrainingReplicaSpec() { - *this = ::std::move(from); - } - - inline DistributedTensorflowTrainingReplicaSpec& operator=(DistributedTensorflowTrainingReplicaSpec&& 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 DistributedTensorflowTrainingReplicaSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedTensorflowTrainingReplicaSpec* internal_default_instance() { - return reinterpret_cast( - &_DistributedTensorflowTrainingReplicaSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(DistributedTensorflowTrainingReplicaSpec* other); - friend void swap(DistributedTensorflowTrainingReplicaSpec& a, DistributedTensorflowTrainingReplicaSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedTensorflowTrainingReplicaSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedTensorflowTrainingReplicaSpec* 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 DistributedTensorflowTrainingReplicaSpec& from); - void MergeFrom(const DistributedTensorflowTrainingReplicaSpec& 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(DistributedTensorflowTrainingReplicaSpec* 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 image = 2; - void clear_image(); - static const int kImageFieldNumber = 2; - const ::std::string& image() const; - void set_image(const ::std::string& value); - #if LANG_CXX11 - void set_image(::std::string&& value); - #endif - void set_image(const char* value); - void set_image(const char* value, size_t size); - ::std::string* mutable_image(); - ::std::string* release_image(); - void set_allocated_image(::std::string* image); - - // .flyteidl.core.Resources resources = 3; - bool has_resources() const; - void clear_resources(); - static const int kResourcesFieldNumber = 3; - const ::flyteidl::core::Resources& resources() const; - ::flyteidl::core::Resources* release_resources(); - ::flyteidl::core::Resources* mutable_resources(); - void set_allocated_resources(::flyteidl::core::Resources* resources); - - // int32 replicas = 1; - void clear_replicas(); - static const int kReplicasFieldNumber = 1; - ::google::protobuf::int32 replicas() const; - void set_replicas(::google::protobuf::int32 value); - - // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - void clear_restart_policy(); - static const int kRestartPolicyFieldNumber = 4; - ::flyteidl::plugins::kubeflow::RestartPolicy restart_policy() const; - void set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr image_; - ::flyteidl::core::Resources* resources_; - ::google::protobuf::int32 replicas_; - int restart_policy_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DistributedTensorflowTrainingTask - -// .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; -inline bool DistributedTensorflowTrainingTask::has_worker_replicas() const { - return this != internal_default_instance() && worker_replicas_ != nullptr; -} -inline void DistributedTensorflowTrainingTask::clear_worker_replicas() { - if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { - delete worker_replicas_; - } - worker_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingTask::worker_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* p = worker_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::release_worker_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) - - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* temp = worker_replicas_; - worker_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::mutable_worker_replicas() { - - if (worker_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(GetArenaNoVirtual()); - worker_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) - return worker_replicas_; -} -inline void DistributedTensorflowTrainingTask::set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* worker_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete worker_replicas_; - } - if (worker_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - worker_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, worker_replicas, submessage_arena); - } - - } else { - - } - worker_replicas_ = worker_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) -} - -// .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; -inline bool DistributedTensorflowTrainingTask::has_ps_replicas() const { - return this != internal_default_instance() && ps_replicas_ != nullptr; -} -inline void DistributedTensorflowTrainingTask::clear_ps_replicas() { - if (GetArenaNoVirtual() == nullptr && ps_replicas_ != nullptr) { - delete ps_replicas_; - } - ps_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingTask::ps_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* p = ps_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::release_ps_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) - - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* temp = ps_replicas_; - ps_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::mutable_ps_replicas() { - - if (ps_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(GetArenaNoVirtual()); - ps_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) - return ps_replicas_; -} -inline void DistributedTensorflowTrainingTask::set_allocated_ps_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* ps_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete ps_replicas_; - } - if (ps_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - ps_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, ps_replicas, submessage_arena); - } - - } else { - - } - ps_replicas_ = ps_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) -} - -// .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; -inline bool DistributedTensorflowTrainingTask::has_chief_replicas() const { - return this != internal_default_instance() && chief_replicas_ != nullptr; -} -inline void DistributedTensorflowTrainingTask::clear_chief_replicas() { - if (GetArenaNoVirtual() == nullptr && chief_replicas_ != nullptr) { - delete chief_replicas_; - } - chief_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingTask::chief_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* p = chief_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::release_chief_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) - - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* temp = chief_replicas_; - chief_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::mutable_chief_replicas() { - - if (chief_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(GetArenaNoVirtual()); - chief_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) - return chief_replicas_; -} -inline void DistributedTensorflowTrainingTask::set_allocated_chief_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* chief_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete chief_replicas_; - } - if (chief_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - chief_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, chief_replicas, submessage_arena); - } - - } else { - - } - chief_replicas_ = chief_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) -} - -// .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; -inline bool DistributedTensorflowTrainingTask::has_run_policy() const { - return this != internal_default_instance() && run_policy_ != nullptr; -} -inline const ::flyteidl::plugins::kubeflow::RunPolicy& DistributedTensorflowTrainingTask::run_policy() const { - const ::flyteidl::plugins::kubeflow::RunPolicy* p = run_policy_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedTensorflowTrainingTask::release_run_policy() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) - - ::flyteidl::plugins::kubeflow::RunPolicy* temp = run_policy_; - run_policy_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedTensorflowTrainingTask::mutable_run_policy() { - - if (run_policy_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(GetArenaNoVirtual()); - run_policy_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) - return run_policy_; -} -inline void DistributedTensorflowTrainingTask::set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(run_policy_); - } - if (run_policy) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - run_policy = ::google::protobuf::internal::GetOwnedMessage( - message_arena, run_policy, submessage_arena); - } - - } else { - - } - run_policy_ = run_policy; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) -} - -// .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; -inline bool DistributedTensorflowTrainingTask::has_evaluator_replicas() const { - return this != internal_default_instance() && evaluator_replicas_ != nullptr; -} -inline void DistributedTensorflowTrainingTask::clear_evaluator_replicas() { - if (GetArenaNoVirtual() == nullptr && evaluator_replicas_ != nullptr) { - delete evaluator_replicas_; - } - evaluator_replicas_ = nullptr; -} -inline const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingTask::evaluator_replicas() const { - const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* p = evaluator_replicas_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.evaluator_replicas) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_); -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::release_evaluator_replicas() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.evaluator_replicas) - - ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* temp = evaluator_replicas_; - evaluator_replicas_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::mutable_evaluator_replicas() { - - if (evaluator_replicas_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(GetArenaNoVirtual()); - evaluator_replicas_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.evaluator_replicas) - return evaluator_replicas_; -} -inline void DistributedTensorflowTrainingTask::set_allocated_evaluator_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* evaluator_replicas) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete evaluator_replicas_; - } - if (evaluator_replicas) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - evaluator_replicas = ::google::protobuf::internal::GetOwnedMessage( - message_arena, evaluator_replicas, submessage_arena); - } - - } else { - - } - evaluator_replicas_ = evaluator_replicas; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.evaluator_replicas) -} - -// ------------------------------------------------------------------- - -// DistributedTensorflowTrainingReplicaSpec - -// int32 replicas = 1; -inline void DistributedTensorflowTrainingReplicaSpec::clear_replicas() { - replicas_ = 0; -} -inline ::google::protobuf::int32 DistributedTensorflowTrainingReplicaSpec::replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.replicas) - return replicas_; -} -inline void DistributedTensorflowTrainingReplicaSpec::set_replicas(::google::protobuf::int32 value) { - - replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.replicas) -} - -// string image = 2; -inline void DistributedTensorflowTrainingReplicaSpec::clear_image() { - image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& DistributedTensorflowTrainingReplicaSpec::image() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) - return image_.GetNoArena(); -} -inline void DistributedTensorflowTrainingReplicaSpec::set_image(const ::std::string& value) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) -} -#if LANG_CXX11 -inline void DistributedTensorflowTrainingReplicaSpec::set_image(::std::string&& value) { - - image_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) -} -#endif -inline void DistributedTensorflowTrainingReplicaSpec::set_image(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) -} -inline void DistributedTensorflowTrainingReplicaSpec::set_image(const char* value, size_t size) { - - image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) -} -inline ::std::string* DistributedTensorflowTrainingReplicaSpec::mutable_image() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) - return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* DistributedTensorflowTrainingReplicaSpec::release_image() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) - - return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void DistributedTensorflowTrainingReplicaSpec::set_allocated_image(::std::string* image) { - if (image != nullptr) { - - } else { - - } - image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) -} - -// .flyteidl.core.Resources resources = 3; -inline bool DistributedTensorflowTrainingReplicaSpec::has_resources() const { - return this != internal_default_instance() && resources_ != nullptr; -} -inline const ::flyteidl::core::Resources& DistributedTensorflowTrainingReplicaSpec::resources() const { - const ::flyteidl::core::Resources* p = resources_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_Resources_default_instance_); -} -inline ::flyteidl::core::Resources* DistributedTensorflowTrainingReplicaSpec::release_resources() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) - - ::flyteidl::core::Resources* temp = resources_; - resources_ = nullptr; - return temp; -} -inline ::flyteidl::core::Resources* DistributedTensorflowTrainingReplicaSpec::mutable_resources() { - - if (resources_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); - resources_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) - return resources_; -} -inline void DistributedTensorflowTrainingReplicaSpec::set_allocated_resources(::flyteidl::core::Resources* resources) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); - } - if (resources) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - resources = ::google::protobuf::internal::GetOwnedMessage( - message_arena, resources, submessage_arena); - } - - } else { - - } - resources_ = resources; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) -} - -// .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; -inline void DistributedTensorflowTrainingReplicaSpec::clear_restart_policy() { - restart_policy_ = 0; -} -inline ::flyteidl::plugins::kubeflow::RestartPolicy DistributedTensorflowTrainingReplicaSpec::restart_policy() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.restart_policy) - return static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(restart_policy_); -} -inline void DistributedTensorflowTrainingReplicaSpec::set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value) { - - restart_policy_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.restart_policy) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace kubeflow -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.grpc.pb.cc deleted file mode 100644 index 8a312292c0..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/mpi.proto - -#include "flyteidl/plugins/mpi.pb.h" -#include "flyteidl/plugins/mpi.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.grpc.pb.h deleted file mode 100644 index 6725f0e0e8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/mpi.proto -#ifndef GRPC_flyteidl_2fplugins_2fmpi_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fmpi_2eproto__INCLUDED - -#include "flyteidl/plugins/mpi.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fmpi_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.pb.cc deleted file mode 100644 index 2b1736c4dd..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.pb.cc +++ /dev/null @@ -1,461 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/mpi.proto - -#include "flyteidl/plugins/mpi.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace plugins { -class DistributedMPITrainingTaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedMPITrainingTask_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsDistributedMPITrainingTask_flyteidl_2fplugins_2fmpi_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_DistributedMPITrainingTask_default_instance_; - new (ptr) ::flyteidl::plugins::DistributedMPITrainingTask(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::DistributedMPITrainingTask::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fmpi_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDistributedMPITrainingTask_flyteidl_2fplugins_2fmpi_2eproto}, {}}; - -void InitDefaults_flyteidl_2fplugins_2fmpi_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fmpi_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fmpi_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fmpi_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fmpi_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fmpi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedMPITrainingTask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedMPITrainingTask, num_workers_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedMPITrainingTask, num_launcher_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedMPITrainingTask, slots_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::DistributedMPITrainingTask)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_DistributedMPITrainingTask_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fmpi_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fmpi_2eproto, "flyteidl/plugins/mpi.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fmpi_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fmpi_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2fmpi_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fmpi_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fmpi_2eproto[] = - "\n\032flyteidl/plugins/mpi.proto\022\020flyteidl.p" - "lugins\"_\n\032DistributedMPITrainingTask\022\023\n\013" - "num_workers\030\001 \001(\005\022\035\n\025num_launcher_replic" - "as\030\002 \001(\005\022\r\n\005slots\030\003 \001(\005B\?Z=github.com/fl" - "yteorg/flyte/flyteidl/gen/pb-go/flyteidl" - "/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fmpi_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fmpi_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fmpi_2eproto, - "flyteidl/plugins/mpi.proto", &assign_descriptors_table_flyteidl_2fplugins_2fmpi_2eproto, 216, -}; - -void AddDescriptors_flyteidl_2fplugins_2fmpi_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fmpi_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fmpi_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fmpi_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void DistributedMPITrainingTask::InitAsDefaultInstance() { -} -class DistributedMPITrainingTask::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedMPITrainingTask::kNumWorkersFieldNumber; -const int DistributedMPITrainingTask::kNumLauncherReplicasFieldNumber; -const int DistributedMPITrainingTask::kSlotsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedMPITrainingTask::DistributedMPITrainingTask() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.DistributedMPITrainingTask) -} -DistributedMPITrainingTask::DistributedMPITrainingTask(const DistributedMPITrainingTask& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&num_workers_, &from.num_workers_, - static_cast(reinterpret_cast(&slots_) - - reinterpret_cast(&num_workers_)) + sizeof(slots_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.DistributedMPITrainingTask) -} - -void DistributedMPITrainingTask::SharedCtor() { - ::memset(&num_workers_, 0, static_cast( - reinterpret_cast(&slots_) - - reinterpret_cast(&num_workers_)) + sizeof(slots_)); -} - -DistributedMPITrainingTask::~DistributedMPITrainingTask() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.DistributedMPITrainingTask) - SharedDtor(); -} - -void DistributedMPITrainingTask::SharedDtor() { -} - -void DistributedMPITrainingTask::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedMPITrainingTask& DistributedMPITrainingTask::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fmpi_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedMPITrainingTask::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.DistributedMPITrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&num_workers_, 0, static_cast( - reinterpret_cast(&slots_) - - reinterpret_cast(&num_workers_)) + sizeof(slots_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedMPITrainingTask::_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) { - // int32 num_workers = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_num_workers(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 num_launcher_replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_num_launcher_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 slots = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_slots(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DistributedMPITrainingTask::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.plugins.DistributedMPITrainingTask) - 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)) { - // int32 num_workers = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &num_workers_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 num_launcher_replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &num_launcher_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 slots = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &slots_))); - } 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.plugins.DistributedMPITrainingTask) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.DistributedMPITrainingTask) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedMPITrainingTask::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.DistributedMPITrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 num_workers = 1; - if (this->num_workers() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->num_workers(), output); - } - - // int32 num_launcher_replicas = 2; - if (this->num_launcher_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_launcher_replicas(), output); - } - - // int32 slots = 3; - if (this->slots() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->slots(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.DistributedMPITrainingTask) -} - -::google::protobuf::uint8* DistributedMPITrainingTask::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.DistributedMPITrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 num_workers = 1; - if (this->num_workers() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->num_workers(), target); - } - - // int32 num_launcher_replicas = 2; - if (this->num_launcher_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_launcher_replicas(), target); - } - - // int32 slots = 3; - if (this->slots() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->slots(), 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.plugins.DistributedMPITrainingTask) - return target; -} - -size_t DistributedMPITrainingTask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.DistributedMPITrainingTask) - 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; - - // int32 num_workers = 1; - if (this->num_workers() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->num_workers()); - } - - // int32 num_launcher_replicas = 2; - if (this->num_launcher_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->num_launcher_replicas()); - } - - // int32 slots = 3; - if (this->slots() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->slots()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedMPITrainingTask::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.DistributedMPITrainingTask) - GOOGLE_DCHECK_NE(&from, this); - const DistributedMPITrainingTask* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.DistributedMPITrainingTask) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.DistributedMPITrainingTask) - MergeFrom(*source); - } -} - -void DistributedMPITrainingTask::MergeFrom(const DistributedMPITrainingTask& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.DistributedMPITrainingTask) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.num_workers() != 0) { - set_num_workers(from.num_workers()); - } - if (from.num_launcher_replicas() != 0) { - set_num_launcher_replicas(from.num_launcher_replicas()); - } - if (from.slots() != 0) { - set_slots(from.slots()); - } -} - -void DistributedMPITrainingTask::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.DistributedMPITrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedMPITrainingTask::CopyFrom(const DistributedMPITrainingTask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.DistributedMPITrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedMPITrainingTask::IsInitialized() const { - return true; -} - -void DistributedMPITrainingTask::Swap(DistributedMPITrainingTask* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedMPITrainingTask::InternalSwap(DistributedMPITrainingTask* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(num_workers_, other->num_workers_); - swap(num_launcher_replicas_, other->num_launcher_replicas_); - swap(slots_, other->slots_); -} - -::google::protobuf::Metadata DistributedMPITrainingTask::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fmpi_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fmpi_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::DistributedMPITrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::DistributedMPITrainingTask >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::DistributedMPITrainingTask >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.pb.h deleted file mode 100644 index 119bb2ca98..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/mpi.pb.h +++ /dev/null @@ -1,257 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/mpi.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fmpi_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fmpi_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fmpi_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fmpi_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[1] - 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_2fplugins_2fmpi_2eproto(); -namespace flyteidl { -namespace plugins { -class DistributedMPITrainingTask; -class DistributedMPITrainingTaskDefaultTypeInternal; -extern DistributedMPITrainingTaskDefaultTypeInternal _DistributedMPITrainingTask_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::DistributedMPITrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::DistributedMPITrainingTask>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class DistributedMPITrainingTask final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.DistributedMPITrainingTask) */ { - public: - DistributedMPITrainingTask(); - virtual ~DistributedMPITrainingTask(); - - DistributedMPITrainingTask(const DistributedMPITrainingTask& from); - - inline DistributedMPITrainingTask& operator=(const DistributedMPITrainingTask& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedMPITrainingTask(DistributedMPITrainingTask&& from) noexcept - : DistributedMPITrainingTask() { - *this = ::std::move(from); - } - - inline DistributedMPITrainingTask& operator=(DistributedMPITrainingTask&& 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 DistributedMPITrainingTask& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedMPITrainingTask* internal_default_instance() { - return reinterpret_cast( - &_DistributedMPITrainingTask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(DistributedMPITrainingTask* other); - friend void swap(DistributedMPITrainingTask& a, DistributedMPITrainingTask& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedMPITrainingTask* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedMPITrainingTask* 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 DistributedMPITrainingTask& from); - void MergeFrom(const DistributedMPITrainingTask& 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(DistributedMPITrainingTask* 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 ------------------------------------------------------- - - // int32 num_workers = 1; - void clear_num_workers(); - static const int kNumWorkersFieldNumber = 1; - ::google::protobuf::int32 num_workers() const; - void set_num_workers(::google::protobuf::int32 value); - - // int32 num_launcher_replicas = 2; - void clear_num_launcher_replicas(); - static const int kNumLauncherReplicasFieldNumber = 2; - ::google::protobuf::int32 num_launcher_replicas() const; - void set_num_launcher_replicas(::google::protobuf::int32 value); - - // int32 slots = 3; - void clear_slots(); - static const int kSlotsFieldNumber = 3; - ::google::protobuf::int32 slots() const; - void set_slots(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DistributedMPITrainingTask) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 num_workers_; - ::google::protobuf::int32 num_launcher_replicas_; - ::google::protobuf::int32 slots_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fmpi_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DistributedMPITrainingTask - -// int32 num_workers = 1; -inline void DistributedMPITrainingTask::clear_num_workers() { - num_workers_ = 0; -} -inline ::google::protobuf::int32 DistributedMPITrainingTask::num_workers() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedMPITrainingTask.num_workers) - return num_workers_; -} -inline void DistributedMPITrainingTask::set_num_workers(::google::protobuf::int32 value) { - - num_workers_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedMPITrainingTask.num_workers) -} - -// int32 num_launcher_replicas = 2; -inline void DistributedMPITrainingTask::clear_num_launcher_replicas() { - num_launcher_replicas_ = 0; -} -inline ::google::protobuf::int32 DistributedMPITrainingTask::num_launcher_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedMPITrainingTask.num_launcher_replicas) - return num_launcher_replicas_; -} -inline void DistributedMPITrainingTask::set_num_launcher_replicas(::google::protobuf::int32 value) { - - num_launcher_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedMPITrainingTask.num_launcher_replicas) -} - -// int32 slots = 3; -inline void DistributedMPITrainingTask::clear_slots() { - slots_ = 0; -} -inline ::google::protobuf::int32 DistributedMPITrainingTask::slots() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedMPITrainingTask.slots) - return slots_; -} -inline void DistributedMPITrainingTask::set_slots(::google::protobuf::int32 value) { - - slots_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedMPITrainingTask.slots) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fmpi_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.grpc.pb.cc deleted file mode 100644 index 04dda26e33..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/presto.proto - -#include "flyteidl/plugins/presto.pb.h" -#include "flyteidl/plugins/presto.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.grpc.pb.h deleted file mode 100644 index 8172a55c49..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/presto.proto -#ifndef GRPC_flyteidl_2fplugins_2fpresto_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fpresto_2eproto__INCLUDED - -#include "flyteidl/plugins/presto.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fpresto_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.pb.cc deleted file mode 100644 index b2c1181200..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.pb.cc +++ /dev/null @@ -1,628 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/presto.proto - -#include "flyteidl/plugins/presto.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace plugins { -class PrestoQueryDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PrestoQuery_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsPrestoQuery_flyteidl_2fplugins_2fpresto_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_PrestoQuery_default_instance_; - new (ptr) ::flyteidl::plugins::PrestoQuery(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::PrestoQuery::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_PrestoQuery_flyteidl_2fplugins_2fpresto_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPrestoQuery_flyteidl_2fplugins_2fpresto_2eproto}, {}}; - -void InitDefaults_flyteidl_2fplugins_2fpresto_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_PrestoQuery_flyteidl_2fplugins_2fpresto_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fpresto_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fpresto_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fpresto_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fpresto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::PrestoQuery, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::PrestoQuery, routing_group_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::PrestoQuery, catalog_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::PrestoQuery, schema_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::PrestoQuery, statement_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::PrestoQuery)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_PrestoQuery_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fpresto_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fpresto_2eproto, "flyteidl/plugins/presto.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fpresto_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fpresto_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2fpresto_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fpresto_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fpresto_2eproto[] = - "\n\035flyteidl/plugins/presto.proto\022\020flyteid" - "l.plugins\"X\n\013PrestoQuery\022\025\n\rrouting_grou" - "p\030\001 \001(\t\022\017\n\007catalog\030\002 \001(\t\022\016\n\006schema\030\003 \001(\t" - "\022\021\n\tstatement\030\004 \001(\tB\?Z=github.com/flyteo" - "rg/flyte/flyteidl/gen/pb-go/flyteidl/plu" - "ginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fpresto_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fpresto_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fpresto_2eproto, - "flyteidl/plugins/presto.proto", &assign_descriptors_table_flyteidl_2fplugins_2fpresto_2eproto, 212, -}; - -void AddDescriptors_flyteidl_2fplugins_2fpresto_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fpresto_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fpresto_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fpresto_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void PrestoQuery::InitAsDefaultInstance() { -} -class PrestoQuery::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PrestoQuery::kRoutingGroupFieldNumber; -const int PrestoQuery::kCatalogFieldNumber; -const int PrestoQuery::kSchemaFieldNumber; -const int PrestoQuery::kStatementFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PrestoQuery::PrestoQuery() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.PrestoQuery) -} -PrestoQuery::PrestoQuery(const PrestoQuery& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - routing_group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.routing_group().size() > 0) { - routing_group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.routing_group_); - } - catalog_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.catalog().size() > 0) { - catalog_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.catalog_); - } - schema_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.schema().size() > 0) { - schema_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schema_); - } - statement_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.statement().size() > 0) { - statement_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statement_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.PrestoQuery) -} - -void PrestoQuery::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PrestoQuery_flyteidl_2fplugins_2fpresto_2eproto.base); - routing_group_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - catalog_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - schema_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - statement_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -PrestoQuery::~PrestoQuery() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.PrestoQuery) - SharedDtor(); -} - -void PrestoQuery::SharedDtor() { - routing_group_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - catalog_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - schema_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - statement_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void PrestoQuery::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PrestoQuery& PrestoQuery::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PrestoQuery_flyteidl_2fplugins_2fpresto_2eproto.base); - return *internal_default_instance(); -} - - -void PrestoQuery::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.PrestoQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - routing_group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - catalog_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - schema_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - statement_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PrestoQuery::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string routing_group = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.PrestoQuery.routing_group"); - object = msg->mutable_routing_group(); - 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 catalog = 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.plugins.PrestoQuery.catalog"); - object = msg->mutable_catalog(); - 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 schema = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.PrestoQuery.schema"); - object = msg->mutable_schema(); - 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 statement = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.PrestoQuery.statement"); - object = msg->mutable_statement(); - 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 PrestoQuery::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.plugins.PrestoQuery) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string routing_group = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_routing_group())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->routing_group().data(), static_cast(this->routing_group().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.PrestoQuery.routing_group")); - } else { - goto handle_unusual; - } - break; - } - - // string catalog = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_catalog())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->catalog().data(), static_cast(this->catalog().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.PrestoQuery.catalog")); - } else { - goto handle_unusual; - } - break; - } - - // string schema = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_schema())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->schema().data(), static_cast(this->schema().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.PrestoQuery.schema")); - } else { - goto handle_unusual; - } - break; - } - - // string statement = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_statement())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->statement().data(), static_cast(this->statement().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.PrestoQuery.statement")); - } 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.plugins.PrestoQuery) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.PrestoQuery) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PrestoQuery::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.PrestoQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string routing_group = 1; - if (this->routing_group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->routing_group().data(), static_cast(this->routing_group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.routing_group"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->routing_group(), output); - } - - // string catalog = 2; - if (this->catalog().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->catalog().data(), static_cast(this->catalog().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.catalog"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->catalog(), output); - } - - // string schema = 3; - if (this->schema().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->schema().data(), static_cast(this->schema().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.schema"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->schema(), output); - } - - // string statement = 4; - if (this->statement().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->statement().data(), static_cast(this->statement().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.statement"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->statement(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.PrestoQuery) -} - -::google::protobuf::uint8* PrestoQuery::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.PrestoQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string routing_group = 1; - if (this->routing_group().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->routing_group().data(), static_cast(this->routing_group().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.routing_group"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->routing_group(), target); - } - - // string catalog = 2; - if (this->catalog().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->catalog().data(), static_cast(this->catalog().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.catalog"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->catalog(), target); - } - - // string schema = 3; - if (this->schema().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->schema().data(), static_cast(this->schema().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.schema"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->schema(), target); - } - - // string statement = 4; - if (this->statement().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->statement().data(), static_cast(this->statement().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.PrestoQuery.statement"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->statement(), 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.plugins.PrestoQuery) - return target; -} - -size_t PrestoQuery::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.PrestoQuery) - 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 routing_group = 1; - if (this->routing_group().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->routing_group()); - } - - // string catalog = 2; - if (this->catalog().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->catalog()); - } - - // string schema = 3; - if (this->schema().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->schema()); - } - - // string statement = 4; - if (this->statement().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->statement()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PrestoQuery::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.PrestoQuery) - GOOGLE_DCHECK_NE(&from, this); - const PrestoQuery* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.PrestoQuery) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.PrestoQuery) - MergeFrom(*source); - } -} - -void PrestoQuery::MergeFrom(const PrestoQuery& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.PrestoQuery) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.routing_group().size() > 0) { - - routing_group_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.routing_group_); - } - if (from.catalog().size() > 0) { - - catalog_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.catalog_); - } - if (from.schema().size() > 0) { - - schema_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schema_); - } - if (from.statement().size() > 0) { - - statement_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.statement_); - } -} - -void PrestoQuery::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.PrestoQuery) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PrestoQuery::CopyFrom(const PrestoQuery& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.PrestoQuery) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PrestoQuery::IsInitialized() const { - return true; -} - -void PrestoQuery::Swap(PrestoQuery* other) { - if (other == this) return; - InternalSwap(other); -} -void PrestoQuery::InternalSwap(PrestoQuery* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - routing_group_.Swap(&other->routing_group_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - catalog_.Swap(&other->catalog_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - schema_.Swap(&other->schema_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - statement_.Swap(&other->statement_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata PrestoQuery::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fpresto_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fpresto_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::PrestoQuery* Arena::CreateMaybeMessage< ::flyteidl::plugins::PrestoQuery >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::PrestoQuery >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.pb.h deleted file mode 100644 index e7d19f1b8a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/presto.pb.h +++ /dev/null @@ -1,466 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/presto.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fpresto_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fpresto_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fpresto_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fpresto_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[1] - 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_2fplugins_2fpresto_2eproto(); -namespace flyteidl { -namespace plugins { -class PrestoQuery; -class PrestoQueryDefaultTypeInternal; -extern PrestoQueryDefaultTypeInternal _PrestoQuery_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::PrestoQuery* Arena::CreateMaybeMessage<::flyteidl::plugins::PrestoQuery>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class PrestoQuery final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.PrestoQuery) */ { - public: - PrestoQuery(); - virtual ~PrestoQuery(); - - PrestoQuery(const PrestoQuery& from); - - inline PrestoQuery& operator=(const PrestoQuery& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PrestoQuery(PrestoQuery&& from) noexcept - : PrestoQuery() { - *this = ::std::move(from); - } - - inline PrestoQuery& operator=(PrestoQuery&& 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 PrestoQuery& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PrestoQuery* internal_default_instance() { - return reinterpret_cast( - &_PrestoQuery_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(PrestoQuery* other); - friend void swap(PrestoQuery& a, PrestoQuery& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PrestoQuery* New() const final { - return CreateMaybeMessage(nullptr); - } - - PrestoQuery* 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 PrestoQuery& from); - void MergeFrom(const PrestoQuery& 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(PrestoQuery* 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 routing_group = 1; - void clear_routing_group(); - static const int kRoutingGroupFieldNumber = 1; - const ::std::string& routing_group() const; - void set_routing_group(const ::std::string& value); - #if LANG_CXX11 - void set_routing_group(::std::string&& value); - #endif - void set_routing_group(const char* value); - void set_routing_group(const char* value, size_t size); - ::std::string* mutable_routing_group(); - ::std::string* release_routing_group(); - void set_allocated_routing_group(::std::string* routing_group); - - // string catalog = 2; - void clear_catalog(); - static const int kCatalogFieldNumber = 2; - const ::std::string& catalog() const; - void set_catalog(const ::std::string& value); - #if LANG_CXX11 - void set_catalog(::std::string&& value); - #endif - void set_catalog(const char* value); - void set_catalog(const char* value, size_t size); - ::std::string* mutable_catalog(); - ::std::string* release_catalog(); - void set_allocated_catalog(::std::string* catalog); - - // string schema = 3; - void clear_schema(); - static const int kSchemaFieldNumber = 3; - const ::std::string& schema() const; - void set_schema(const ::std::string& value); - #if LANG_CXX11 - void set_schema(::std::string&& value); - #endif - void set_schema(const char* value); - void set_schema(const char* value, size_t size); - ::std::string* mutable_schema(); - ::std::string* release_schema(); - void set_allocated_schema(::std::string* schema); - - // string statement = 4; - void clear_statement(); - static const int kStatementFieldNumber = 4; - const ::std::string& statement() const; - void set_statement(const ::std::string& value); - #if LANG_CXX11 - void set_statement(::std::string&& value); - #endif - void set_statement(const char* value); - void set_statement(const char* value, size_t size); - ::std::string* mutable_statement(); - ::std::string* release_statement(); - void set_allocated_statement(::std::string* statement); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.PrestoQuery) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr routing_group_; - ::google::protobuf::internal::ArenaStringPtr catalog_; - ::google::protobuf::internal::ArenaStringPtr schema_; - ::google::protobuf::internal::ArenaStringPtr statement_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fpresto_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// PrestoQuery - -// string routing_group = 1; -inline void PrestoQuery::clear_routing_group() { - routing_group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PrestoQuery::routing_group() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.PrestoQuery.routing_group) - return routing_group_.GetNoArena(); -} -inline void PrestoQuery::set_routing_group(const ::std::string& value) { - - routing_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.PrestoQuery.routing_group) -} -#if LANG_CXX11 -inline void PrestoQuery::set_routing_group(::std::string&& value) { - - routing_group_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.PrestoQuery.routing_group) -} -#endif -inline void PrestoQuery::set_routing_group(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - routing_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.PrestoQuery.routing_group) -} -inline void PrestoQuery::set_routing_group(const char* value, size_t size) { - - routing_group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.PrestoQuery.routing_group) -} -inline ::std::string* PrestoQuery::mutable_routing_group() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.PrestoQuery.routing_group) - return routing_group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PrestoQuery::release_routing_group() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.PrestoQuery.routing_group) - - return routing_group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PrestoQuery::set_allocated_routing_group(::std::string* routing_group) { - if (routing_group != nullptr) { - - } else { - - } - routing_group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), routing_group); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.PrestoQuery.routing_group) -} - -// string catalog = 2; -inline void PrestoQuery::clear_catalog() { - catalog_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PrestoQuery::catalog() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.PrestoQuery.catalog) - return catalog_.GetNoArena(); -} -inline void PrestoQuery::set_catalog(const ::std::string& value) { - - catalog_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.PrestoQuery.catalog) -} -#if LANG_CXX11 -inline void PrestoQuery::set_catalog(::std::string&& value) { - - catalog_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.PrestoQuery.catalog) -} -#endif -inline void PrestoQuery::set_catalog(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - catalog_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.PrestoQuery.catalog) -} -inline void PrestoQuery::set_catalog(const char* value, size_t size) { - - catalog_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.PrestoQuery.catalog) -} -inline ::std::string* PrestoQuery::mutable_catalog() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.PrestoQuery.catalog) - return catalog_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PrestoQuery::release_catalog() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.PrestoQuery.catalog) - - return catalog_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PrestoQuery::set_allocated_catalog(::std::string* catalog) { - if (catalog != nullptr) { - - } else { - - } - catalog_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), catalog); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.PrestoQuery.catalog) -} - -// string schema = 3; -inline void PrestoQuery::clear_schema() { - schema_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PrestoQuery::schema() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.PrestoQuery.schema) - return schema_.GetNoArena(); -} -inline void PrestoQuery::set_schema(const ::std::string& value) { - - schema_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.PrestoQuery.schema) -} -#if LANG_CXX11 -inline void PrestoQuery::set_schema(::std::string&& value) { - - schema_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.PrestoQuery.schema) -} -#endif -inline void PrestoQuery::set_schema(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - schema_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.PrestoQuery.schema) -} -inline void PrestoQuery::set_schema(const char* value, size_t size) { - - schema_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.PrestoQuery.schema) -} -inline ::std::string* PrestoQuery::mutable_schema() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.PrestoQuery.schema) - return schema_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PrestoQuery::release_schema() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.PrestoQuery.schema) - - return schema_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PrestoQuery::set_allocated_schema(::std::string* schema) { - if (schema != nullptr) { - - } else { - - } - schema_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), schema); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.PrestoQuery.schema) -} - -// string statement = 4; -inline void PrestoQuery::clear_statement() { - statement_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PrestoQuery::statement() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.PrestoQuery.statement) - return statement_.GetNoArena(); -} -inline void PrestoQuery::set_statement(const ::std::string& value) { - - statement_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.PrestoQuery.statement) -} -#if LANG_CXX11 -inline void PrestoQuery::set_statement(::std::string&& value) { - - statement_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.PrestoQuery.statement) -} -#endif -inline void PrestoQuery::set_statement(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - statement_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.PrestoQuery.statement) -} -inline void PrestoQuery::set_statement(const char* value, size_t size) { - - statement_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.PrestoQuery.statement) -} -inline ::std::string* PrestoQuery::mutable_statement() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.PrestoQuery.statement) - return statement_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PrestoQuery::release_statement() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.PrestoQuery.statement) - - return statement_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PrestoQuery::set_allocated_statement(::std::string* statement) { - if (statement != nullptr) { - - } else { - - } - statement_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), statement); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.PrestoQuery.statement) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fpresto_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.grpc.pb.cc deleted file mode 100644 index e626cd085f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/pytorch.proto - -#include "flyteidl/plugins/pytorch.pb.h" -#include "flyteidl/plugins/pytorch.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.grpc.pb.h deleted file mode 100644 index 8345dd3c68..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/pytorch.proto -#ifndef GRPC_flyteidl_2fplugins_2fpytorch_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fpytorch_2eproto__INCLUDED - -#include "flyteidl/plugins/pytorch.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fpytorch_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.pb.cc deleted file mode 100644 index f1c6129676..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.pb.cc +++ /dev/null @@ -1,956 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/pytorch.proto - -#include "flyteidl/plugins/pytorch.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fpytorch_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto; -namespace flyteidl { -namespace plugins { -class ElasticConfigDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ElasticConfig_default_instance_; -class DistributedPyTorchTrainingTaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedPyTorchTrainingTask_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_ElasticConfig_default_instance_; - new (ptr) ::flyteidl::plugins::ElasticConfig(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::ElasticConfig::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto}, {}}; - -static void InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_DistributedPyTorchTrainingTask_default_instance_; - new (ptr) ::flyteidl::plugins::DistributedPyTorchTrainingTask(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::DistributedPyTorchTrainingTask::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto}, { - &scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fpytorch_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto[2]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fpytorch_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fpytorch_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fpytorch_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, rdzv_backend_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, min_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, max_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, nproc_per_node_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, max_restarts_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedPyTorchTrainingTask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedPyTorchTrainingTask, workers_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedPyTorchTrainingTask, elastic_config_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::ElasticConfig)}, - { 10, -1, sizeof(::flyteidl::plugins::DistributedPyTorchTrainingTask)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_ElasticConfig_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_DistributedPyTorchTrainingTask_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fpytorch_2eproto, "flyteidl/plugins/pytorch.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fpytorch_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto, 2, file_level_enum_descriptors_flyteidl_2fplugins_2fpytorch_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fpytorch_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fpytorch_2eproto[] = - "\n\036flyteidl/plugins/pytorch.proto\022\020flytei" - "dl.plugins\"\177\n\rElasticConfig\022\024\n\014rdzv_back" - "end\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014max_r" - "eplicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001(\005\022\024\n" - "\014max_restarts\030\005 \001(\005\"j\n\036DistributedPyTorc" - "hTrainingTask\022\017\n\007workers\030\001 \001(\005\0227\n\016elasti" - "c_config\030\002 \001(\0132\037.flyteidl.plugins.Elasti" - "cConfigB\?Z=github.com/flyteorg/flyte/fly" - "teidl/gen/pb-go/flyteidl/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fpytorch_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fpytorch_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fpytorch_2eproto, - "flyteidl/plugins/pytorch.proto", &assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto, 360, -}; - -void AddDescriptors_flyteidl_2fplugins_2fpytorch_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fpytorch_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fpytorch_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fpytorch_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void ElasticConfig::InitAsDefaultInstance() { -} -class ElasticConfig::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ElasticConfig::kRdzvBackendFieldNumber; -const int ElasticConfig::kMinReplicasFieldNumber; -const int ElasticConfig::kMaxReplicasFieldNumber; -const int ElasticConfig::kNprocPerNodeFieldNumber; -const int ElasticConfig::kMaxRestartsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -ElasticConfig::ElasticConfig() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.ElasticConfig) -} -ElasticConfig::ElasticConfig(const ElasticConfig& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.rdzv_backend().size() > 0) { - rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); - } - ::memcpy(&min_replicas_, &from.min_replicas_, - static_cast(reinterpret_cast(&max_restarts_) - - reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.ElasticConfig) -} - -void ElasticConfig::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base); - rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&min_replicas_, 0, static_cast( - reinterpret_cast(&max_restarts_) - - reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); -} - -ElasticConfig::~ElasticConfig() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.ElasticConfig) - SharedDtor(); -} - -void ElasticConfig::SharedDtor() { - rdzv_backend_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void ElasticConfig::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const ElasticConfig& ElasticConfig::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base); - return *internal_default_instance(); -} - - -void ElasticConfig::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.ElasticConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&min_replicas_, 0, static_cast( - reinterpret_cast(&max_restarts_) - - reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ElasticConfig::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string rdzv_backend = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.ElasticConfig.rdzv_backend"); - object = msg->mutable_rdzv_backend(); - 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; - } - // int32 min_replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_min_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 max_replicas = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_max_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 nproc_per_node = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_nproc_per_node(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 max_restarts = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; - msg->set_max_restarts(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 ElasticConfig::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.plugins.ElasticConfig) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string rdzv_backend = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_rdzv_backend())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.ElasticConfig.rdzv_backend")); - } else { - goto handle_unusual; - } - break; - } - - // int32 min_replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &min_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 max_replicas = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 nproc_per_node = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &nproc_per_node_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 max_restarts = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_restarts_))); - } 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.plugins.ElasticConfig) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.ElasticConfig) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void ElasticConfig::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.ElasticConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string rdzv_backend = 1; - if (this->rdzv_backend().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.ElasticConfig.rdzv_backend"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->rdzv_backend(), output); - } - - // int32 min_replicas = 2; - if (this->min_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->min_replicas(), output); - } - - // int32 max_replicas = 3; - if (this->max_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->max_replicas(), output); - } - - // int32 nproc_per_node = 4; - if (this->nproc_per_node() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nproc_per_node(), output); - } - - // int32 max_restarts = 5; - if (this->max_restarts() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->max_restarts(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.ElasticConfig) -} - -::google::protobuf::uint8* ElasticConfig::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.ElasticConfig) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string rdzv_backend = 1; - if (this->rdzv_backend().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.ElasticConfig.rdzv_backend"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->rdzv_backend(), target); - } - - // int32 min_replicas = 2; - if (this->min_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->min_replicas(), target); - } - - // int32 max_replicas = 3; - if (this->max_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->max_replicas(), target); - } - - // int32 nproc_per_node = 4; - if (this->nproc_per_node() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nproc_per_node(), target); - } - - // int32 max_restarts = 5; - if (this->max_restarts() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->max_restarts(), 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.plugins.ElasticConfig) - return target; -} - -size_t ElasticConfig::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.ElasticConfig) - 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 rdzv_backend = 1; - if (this->rdzv_backend().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->rdzv_backend()); - } - - // int32 min_replicas = 2; - if (this->min_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->min_replicas()); - } - - // int32 max_replicas = 3; - if (this->max_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_replicas()); - } - - // int32 nproc_per_node = 4; - if (this->nproc_per_node() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->nproc_per_node()); - } - - // int32 max_restarts = 5; - if (this->max_restarts() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_restarts()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void ElasticConfig::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.ElasticConfig) - GOOGLE_DCHECK_NE(&from, this); - const ElasticConfig* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.ElasticConfig) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.ElasticConfig) - MergeFrom(*source); - } -} - -void ElasticConfig::MergeFrom(const ElasticConfig& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.ElasticConfig) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.rdzv_backend().size() > 0) { - - rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); - } - if (from.min_replicas() != 0) { - set_min_replicas(from.min_replicas()); - } - if (from.max_replicas() != 0) { - set_max_replicas(from.max_replicas()); - } - if (from.nproc_per_node() != 0) { - set_nproc_per_node(from.nproc_per_node()); - } - if (from.max_restarts() != 0) { - set_max_restarts(from.max_restarts()); - } -} - -void ElasticConfig::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.ElasticConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void ElasticConfig::CopyFrom(const ElasticConfig& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.ElasticConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ElasticConfig::IsInitialized() const { - return true; -} - -void ElasticConfig::Swap(ElasticConfig* other) { - if (other == this) return; - InternalSwap(other); -} -void ElasticConfig::InternalSwap(ElasticConfig* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - rdzv_backend_.Swap(&other->rdzv_backend_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(min_replicas_, other->min_replicas_); - swap(max_replicas_, other->max_replicas_); - swap(nproc_per_node_, other->nproc_per_node_); - swap(max_restarts_, other->max_restarts_); -} - -::google::protobuf::Metadata ElasticConfig::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void DistributedPyTorchTrainingTask::InitAsDefaultInstance() { - ::flyteidl::plugins::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->elastic_config_ = const_cast< ::flyteidl::plugins::ElasticConfig*>( - ::flyteidl::plugins::ElasticConfig::internal_default_instance()); -} -class DistributedPyTorchTrainingTask::HasBitSetters { - public: - static const ::flyteidl::plugins::ElasticConfig& elastic_config(const DistributedPyTorchTrainingTask* msg); -}; - -const ::flyteidl::plugins::ElasticConfig& -DistributedPyTorchTrainingTask::HasBitSetters::elastic_config(const DistributedPyTorchTrainingTask* msg) { - return *msg->elastic_config_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedPyTorchTrainingTask::kWorkersFieldNumber; -const int DistributedPyTorchTrainingTask::kElasticConfigFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.DistributedPyTorchTrainingTask) -} -DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask(const DistributedPyTorchTrainingTask& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_elastic_config()) { - elastic_config_ = new ::flyteidl::plugins::ElasticConfig(*from.elastic_config_); - } else { - elastic_config_ = nullptr; - } - workers_ = from.workers_; - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.DistributedPyTorchTrainingTask) -} - -void DistributedPyTorchTrainingTask::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto.base); - ::memset(&elastic_config_, 0, static_cast( - reinterpret_cast(&workers_) - - reinterpret_cast(&elastic_config_)) + sizeof(workers_)); -} - -DistributedPyTorchTrainingTask::~DistributedPyTorchTrainingTask() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.DistributedPyTorchTrainingTask) - SharedDtor(); -} - -void DistributedPyTorchTrainingTask::SharedDtor() { - if (this != internal_default_instance()) delete elastic_config_; -} - -void DistributedPyTorchTrainingTask::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedPyTorchTrainingTask& DistributedPyTorchTrainingTask::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedPyTorchTrainingTask::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { - delete elastic_config_; - } - elastic_config_ = nullptr; - workers_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedPyTorchTrainingTask::_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) { - // int32 workers = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_workers(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.plugins.ElasticConfig elastic_config = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::ElasticConfig::_InternalParse; - object = msg->mutable_elastic_config(); - 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 DistributedPyTorchTrainingTask::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.plugins.DistributedPyTorchTrainingTask) - 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)) { - // int32 workers = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &workers_))); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.ElasticConfig elastic_config = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_elastic_config())); - } 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.plugins.DistributedPyTorchTrainingTask) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.DistributedPyTorchTrainingTask) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedPyTorchTrainingTask::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 workers = 1; - if (this->workers() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->workers(), output); - } - - // .flyteidl.plugins.ElasticConfig elastic_config = 2; - if (this->has_elastic_config()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::elastic_config(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.DistributedPyTorchTrainingTask) -} - -::google::protobuf::uint8* DistributedPyTorchTrainingTask::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 workers = 1; - if (this->workers() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->workers(), target); - } - - // .flyteidl.plugins.ElasticConfig elastic_config = 2; - if (this->has_elastic_config()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::elastic_config(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.plugins.DistributedPyTorchTrainingTask) - return target; -} - -size_t DistributedPyTorchTrainingTask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - 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.plugins.ElasticConfig elastic_config = 2; - if (this->has_elastic_config()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *elastic_config_); - } - - // int32 workers = 1; - if (this->workers() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->workers()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedPyTorchTrainingTask::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - GOOGLE_DCHECK_NE(&from, this); - const DistributedPyTorchTrainingTask* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.DistributedPyTorchTrainingTask) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.DistributedPyTorchTrainingTask) - MergeFrom(*source); - } -} - -void DistributedPyTorchTrainingTask::MergeFrom(const DistributedPyTorchTrainingTask& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - 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_elastic_config()) { - mutable_elastic_config()->::flyteidl::plugins::ElasticConfig::MergeFrom(from.elastic_config()); - } - if (from.workers() != 0) { - set_workers(from.workers()); - } -} - -void DistributedPyTorchTrainingTask::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedPyTorchTrainingTask::CopyFrom(const DistributedPyTorchTrainingTask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.DistributedPyTorchTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedPyTorchTrainingTask::IsInitialized() const { - return true; -} - -void DistributedPyTorchTrainingTask::Swap(DistributedPyTorchTrainingTask* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedPyTorchTrainingTask::InternalSwap(DistributedPyTorchTrainingTask* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(elastic_config_, other->elastic_config_); - swap(workers_, other->workers_); -} - -::google::protobuf::Metadata DistributedPyTorchTrainingTask::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::ElasticConfig* Arena::CreateMaybeMessage< ::flyteidl::plugins::ElasticConfig >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::ElasticConfig >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::DistributedPyTorchTrainingTask >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::DistributedPyTorchTrainingTask >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.pb.h deleted file mode 100644 index b0d9b4a276..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/pytorch.pb.h +++ /dev/null @@ -1,543 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/pytorch.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fpytorch_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fpytorch_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fpytorch_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fpytorch_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[2] - 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_2fplugins_2fpytorch_2eproto(); -namespace flyteidl { -namespace plugins { -class DistributedPyTorchTrainingTask; -class DistributedPyTorchTrainingTaskDefaultTypeInternal; -extern DistributedPyTorchTrainingTaskDefaultTypeInternal _DistributedPyTorchTrainingTask_default_instance_; -class ElasticConfig; -class ElasticConfigDefaultTypeInternal; -extern ElasticConfigDefaultTypeInternal _ElasticConfig_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::DistributedPyTorchTrainingTask>(Arena*); -template<> ::flyteidl::plugins::ElasticConfig* Arena::CreateMaybeMessage<::flyteidl::plugins::ElasticConfig>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class ElasticConfig final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.ElasticConfig) */ { - public: - ElasticConfig(); - virtual ~ElasticConfig(); - - ElasticConfig(const ElasticConfig& from); - - inline ElasticConfig& operator=(const ElasticConfig& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - ElasticConfig(ElasticConfig&& from) noexcept - : ElasticConfig() { - *this = ::std::move(from); - } - - inline ElasticConfig& operator=(ElasticConfig&& 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 ElasticConfig& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ElasticConfig* internal_default_instance() { - return reinterpret_cast( - &_ElasticConfig_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(ElasticConfig* other); - friend void swap(ElasticConfig& a, ElasticConfig& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline ElasticConfig* New() const final { - return CreateMaybeMessage(nullptr); - } - - ElasticConfig* 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 ElasticConfig& from); - void MergeFrom(const ElasticConfig& 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(ElasticConfig* 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 rdzv_backend = 1; - void clear_rdzv_backend(); - static const int kRdzvBackendFieldNumber = 1; - const ::std::string& rdzv_backend() const; - void set_rdzv_backend(const ::std::string& value); - #if LANG_CXX11 - void set_rdzv_backend(::std::string&& value); - #endif - void set_rdzv_backend(const char* value); - void set_rdzv_backend(const char* value, size_t size); - ::std::string* mutable_rdzv_backend(); - ::std::string* release_rdzv_backend(); - void set_allocated_rdzv_backend(::std::string* rdzv_backend); - - // int32 min_replicas = 2; - void clear_min_replicas(); - static const int kMinReplicasFieldNumber = 2; - ::google::protobuf::int32 min_replicas() const; - void set_min_replicas(::google::protobuf::int32 value); - - // int32 max_replicas = 3; - void clear_max_replicas(); - static const int kMaxReplicasFieldNumber = 3; - ::google::protobuf::int32 max_replicas() const; - void set_max_replicas(::google::protobuf::int32 value); - - // int32 nproc_per_node = 4; - void clear_nproc_per_node(); - static const int kNprocPerNodeFieldNumber = 4; - ::google::protobuf::int32 nproc_per_node() const; - void set_nproc_per_node(::google::protobuf::int32 value); - - // int32 max_restarts = 5; - void clear_max_restarts(); - static const int kMaxRestartsFieldNumber = 5; - ::google::protobuf::int32 max_restarts() const; - void set_max_restarts(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.ElasticConfig) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr rdzv_backend_; - ::google::protobuf::int32 min_replicas_; - ::google::protobuf::int32 max_replicas_; - ::google::protobuf::int32 nproc_per_node_; - ::google::protobuf::int32 max_restarts_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fpytorch_2eproto; -}; -// ------------------------------------------------------------------- - -class DistributedPyTorchTrainingTask final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.DistributedPyTorchTrainingTask) */ { - public: - DistributedPyTorchTrainingTask(); - virtual ~DistributedPyTorchTrainingTask(); - - DistributedPyTorchTrainingTask(const DistributedPyTorchTrainingTask& from); - - inline DistributedPyTorchTrainingTask& operator=(const DistributedPyTorchTrainingTask& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedPyTorchTrainingTask(DistributedPyTorchTrainingTask&& from) noexcept - : DistributedPyTorchTrainingTask() { - *this = ::std::move(from); - } - - inline DistributedPyTorchTrainingTask& operator=(DistributedPyTorchTrainingTask&& 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 DistributedPyTorchTrainingTask& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedPyTorchTrainingTask* internal_default_instance() { - return reinterpret_cast( - &_DistributedPyTorchTrainingTask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(DistributedPyTorchTrainingTask* other); - friend void swap(DistributedPyTorchTrainingTask& a, DistributedPyTorchTrainingTask& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedPyTorchTrainingTask* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedPyTorchTrainingTask* 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 DistributedPyTorchTrainingTask& from); - void MergeFrom(const DistributedPyTorchTrainingTask& 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(DistributedPyTorchTrainingTask* 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.plugins.ElasticConfig elastic_config = 2; - bool has_elastic_config() const; - void clear_elastic_config(); - static const int kElasticConfigFieldNumber = 2; - const ::flyteidl::plugins::ElasticConfig& elastic_config() const; - ::flyteidl::plugins::ElasticConfig* release_elastic_config(); - ::flyteidl::plugins::ElasticConfig* mutable_elastic_config(); - void set_allocated_elastic_config(::flyteidl::plugins::ElasticConfig* elastic_config); - - // int32 workers = 1; - void clear_workers(); - static const int kWorkersFieldNumber = 1; - ::google::protobuf::int32 workers() const; - void set_workers(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DistributedPyTorchTrainingTask) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::plugins::ElasticConfig* elastic_config_; - ::google::protobuf::int32 workers_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fpytorch_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ElasticConfig - -// string rdzv_backend = 1; -inline void ElasticConfig::clear_rdzv_backend() { - rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& ElasticConfig::rdzv_backend() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.rdzv_backend) - return rdzv_backend_.GetNoArena(); -} -inline void ElasticConfig::set_rdzv_backend(const ::std::string& value) { - - rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.rdzv_backend) -} -#if LANG_CXX11 -inline void ElasticConfig::set_rdzv_backend(::std::string&& value) { - - rdzv_backend_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.ElasticConfig.rdzv_backend) -} -#endif -inline void ElasticConfig::set_rdzv_backend(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.ElasticConfig.rdzv_backend) -} -inline void ElasticConfig::set_rdzv_backend(const char* value, size_t size) { - - rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.ElasticConfig.rdzv_backend) -} -inline ::std::string* ElasticConfig::mutable_rdzv_backend() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.ElasticConfig.rdzv_backend) - return rdzv_backend_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* ElasticConfig::release_rdzv_backend() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.ElasticConfig.rdzv_backend) - - return rdzv_backend_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void ElasticConfig::set_allocated_rdzv_backend(::std::string* rdzv_backend) { - if (rdzv_backend != nullptr) { - - } else { - - } - rdzv_backend_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rdzv_backend); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.ElasticConfig.rdzv_backend) -} - -// int32 min_replicas = 2; -inline void ElasticConfig::clear_min_replicas() { - min_replicas_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::min_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.min_replicas) - return min_replicas_; -} -inline void ElasticConfig::set_min_replicas(::google::protobuf::int32 value) { - - min_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.min_replicas) -} - -// int32 max_replicas = 3; -inline void ElasticConfig::clear_max_replicas() { - max_replicas_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::max_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.max_replicas) - return max_replicas_; -} -inline void ElasticConfig::set_max_replicas(::google::protobuf::int32 value) { - - max_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.max_replicas) -} - -// int32 nproc_per_node = 4; -inline void ElasticConfig::clear_nproc_per_node() { - nproc_per_node_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::nproc_per_node() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.nproc_per_node) - return nproc_per_node_; -} -inline void ElasticConfig::set_nproc_per_node(::google::protobuf::int32 value) { - - nproc_per_node_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.nproc_per_node) -} - -// int32 max_restarts = 5; -inline void ElasticConfig::clear_max_restarts() { - max_restarts_ = 0; -} -inline ::google::protobuf::int32 ElasticConfig::max_restarts() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.max_restarts) - return max_restarts_; -} -inline void ElasticConfig::set_max_restarts(::google::protobuf::int32 value) { - - max_restarts_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.max_restarts) -} - -// ------------------------------------------------------------------- - -// DistributedPyTorchTrainingTask - -// int32 workers = 1; -inline void DistributedPyTorchTrainingTask::clear_workers() { - workers_ = 0; -} -inline ::google::protobuf::int32 DistributedPyTorchTrainingTask::workers() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedPyTorchTrainingTask.workers) - return workers_; -} -inline void DistributedPyTorchTrainingTask::set_workers(::google::protobuf::int32 value) { - - workers_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedPyTorchTrainingTask.workers) -} - -// .flyteidl.plugins.ElasticConfig elastic_config = 2; -inline bool DistributedPyTorchTrainingTask::has_elastic_config() const { - return this != internal_default_instance() && elastic_config_ != nullptr; -} -inline void DistributedPyTorchTrainingTask::clear_elastic_config() { - if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { - delete elastic_config_; - } - elastic_config_ = nullptr; -} -inline const ::flyteidl::plugins::ElasticConfig& DistributedPyTorchTrainingTask::elastic_config() const { - const ::flyteidl::plugins::ElasticConfig* p = elastic_config_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::_ElasticConfig_default_instance_); -} -inline ::flyteidl::plugins::ElasticConfig* DistributedPyTorchTrainingTask::release_elastic_config() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) - - ::flyteidl::plugins::ElasticConfig* temp = elastic_config_; - elastic_config_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::ElasticConfig* DistributedPyTorchTrainingTask::mutable_elastic_config() { - - if (elastic_config_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::ElasticConfig>(GetArenaNoVirtual()); - elastic_config_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) - return elastic_config_; -} -inline void DistributedPyTorchTrainingTask::set_allocated_elastic_config(::flyteidl::plugins::ElasticConfig* elastic_config) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete elastic_config_; - } - if (elastic_config) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - elastic_config = ::google::protobuf::internal::GetOwnedMessage( - message_arena, elastic_config, submessage_arena); - } - - } else { - - } - elastic_config_ = elastic_config; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fpytorch_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.grpc.pb.cc deleted file mode 100644 index a384ee84a8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/qubole.proto - -#include "flyteidl/plugins/qubole.pb.h" -#include "flyteidl/plugins/qubole.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.grpc.pb.h deleted file mode 100644 index 57da539c9e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/qubole.proto -#ifndef GRPC_flyteidl_2fplugins_2fqubole_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fqubole_2eproto__INCLUDED - -#include "flyteidl/plugins/qubole.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fqubole_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.pb.cc deleted file mode 100644 index 8effce416c..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.pb.cc +++ /dev/null @@ -1,1354 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/qubole.proto - -#include "flyteidl/plugins/qubole.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fqubole_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_HiveQuery_flyteidl_2fplugins_2fqubole_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fqubole_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_HiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto; -namespace flyteidl { -namespace plugins { -class HiveQueryDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _HiveQuery_default_instance_; -class HiveQueryCollectionDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _HiveQueryCollection_default_instance_; -class QuboleHiveJobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _QuboleHiveJob_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsHiveQuery_flyteidl_2fplugins_2fqubole_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_HiveQuery_default_instance_; - new (ptr) ::flyteidl::plugins::HiveQuery(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::HiveQuery::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_HiveQuery_flyteidl_2fplugins_2fqubole_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsHiveQuery_flyteidl_2fplugins_2fqubole_2eproto}, {}}; - -static void InitDefaultsHiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_HiveQueryCollection_default_instance_; - new (ptr) ::flyteidl::plugins::HiveQueryCollection(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::HiveQueryCollection::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_HiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsHiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto}, { - &scc_info_HiveQuery_flyteidl_2fplugins_2fqubole_2eproto.base,}}; - -static void InitDefaultsQuboleHiveJob_flyteidl_2fplugins_2fqubole_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_QuboleHiveJob_default_instance_; - new (ptr) ::flyteidl::plugins::QuboleHiveJob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::QuboleHiveJob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_QuboleHiveJob_flyteidl_2fplugins_2fqubole_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsQuboleHiveJob_flyteidl_2fplugins_2fqubole_2eproto}, { - &scc_info_HiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto.base, - &scc_info_HiveQuery_flyteidl_2fplugins_2fqubole_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fqubole_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_HiveQuery_flyteidl_2fplugins_2fqubole_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_HiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_QuboleHiveJob_flyteidl_2fplugins_2fqubole_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fqubole_2eproto[3]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fqubole_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fqubole_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fqubole_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HiveQuery, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HiveQuery, query_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HiveQuery, timeout_sec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HiveQuery, retrycount_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HiveQueryCollection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HiveQueryCollection, queries_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::QuboleHiveJob, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::QuboleHiveJob, cluster_label_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::QuboleHiveJob, query_collection_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::QuboleHiveJob, tags_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::QuboleHiveJob, query_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::HiveQuery)}, - { 8, -1, sizeof(::flyteidl::plugins::HiveQueryCollection)}, - { 14, -1, sizeof(::flyteidl::plugins::QuboleHiveJob)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_HiveQuery_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_HiveQueryCollection_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_QuboleHiveJob_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fqubole_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fqubole_2eproto, "flyteidl/plugins/qubole.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fqubole_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fqubole_2eproto, 3, file_level_enum_descriptors_flyteidl_2fplugins_2fqubole_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fqubole_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fqubole_2eproto[] = - "\n\035flyteidl/plugins/qubole.proto\022\020flyteid" - "l.plugins\"C\n\tHiveQuery\022\r\n\005query\030\001 \001(\t\022\023\n" - "\013timeout_sec\030\002 \001(\r\022\022\n\nretryCount\030\003 \001(\r\"C" - "\n\023HiveQueryCollection\022,\n\007queries\030\002 \003(\0132\033" - ".flyteidl.plugins.HiveQuery\"\245\001\n\rQuboleHi" - "veJob\022\025\n\rcluster_label\030\001 \001(\t\022C\n\020query_co" - "llection\030\002 \001(\0132%.flyteidl.plugins.HiveQu" - "eryCollectionB\002\030\001\022\014\n\004tags\030\003 \003(\t\022*\n\005query" - "\030\004 \001(\0132\033.flyteidl.plugins.HiveQueryB\?Z=g" - "ithub.com/flyteorg/flyte/flyteidl/gen/pb" - "-go/flyteidl/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fqubole_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fqubole_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fqubole_2eproto, - "flyteidl/plugins/qubole.proto", &assign_descriptors_table_flyteidl_2fplugins_2fqubole_2eproto, 428, -}; - -void AddDescriptors_flyteidl_2fplugins_2fqubole_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fqubole_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fqubole_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fqubole_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void HiveQuery::InitAsDefaultInstance() { -} -class HiveQuery::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int HiveQuery::kQueryFieldNumber; -const int HiveQuery::kTimeoutSecFieldNumber; -const int HiveQuery::kRetryCountFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -HiveQuery::HiveQuery() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.HiveQuery) -} -HiveQuery::HiveQuery(const HiveQuery& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - query_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.query().size() > 0) { - query_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.query_); - } - ::memcpy(&timeout_sec_, &from.timeout_sec_, - static_cast(reinterpret_cast(&retrycount_) - - reinterpret_cast(&timeout_sec_)) + sizeof(retrycount_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.HiveQuery) -} - -void HiveQuery::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_HiveQuery_flyteidl_2fplugins_2fqubole_2eproto.base); - query_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&timeout_sec_, 0, static_cast( - reinterpret_cast(&retrycount_) - - reinterpret_cast(&timeout_sec_)) + sizeof(retrycount_)); -} - -HiveQuery::~HiveQuery() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.HiveQuery) - SharedDtor(); -} - -void HiveQuery::SharedDtor() { - query_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void HiveQuery::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const HiveQuery& HiveQuery::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_HiveQuery_flyteidl_2fplugins_2fqubole_2eproto.base); - return *internal_default_instance(); -} - - -void HiveQuery::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.HiveQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - query_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&timeout_sec_, 0, static_cast( - reinterpret_cast(&retrycount_) - - reinterpret_cast(&timeout_sec_)) + sizeof(retrycount_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* HiveQuery::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string query = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.HiveQuery.query"); - object = msg->mutable_query(); - 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; - } - // uint32 timeout_sec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_timeout_sec(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // uint32 retryCount = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_retrycount(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 HiveQuery::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.plugins.HiveQuery) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string query = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_query())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->query().data(), static_cast(this->query().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.HiveQuery.query")); - } else { - goto handle_unusual; - } - break; - } - - // uint32 timeout_sec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &timeout_sec_))); - } else { - goto handle_unusual; - } - break; - } - - // uint32 retryCount = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &retrycount_))); - } 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.plugins.HiveQuery) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.HiveQuery) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void HiveQuery::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.HiveQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string query = 1; - if (this->query().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->query().data(), static_cast(this->query().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.HiveQuery.query"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->query(), output); - } - - // uint32 timeout_sec = 2; - if (this->timeout_sec() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->timeout_sec(), output); - } - - // uint32 retryCount = 3; - if (this->retrycount() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->retrycount(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.HiveQuery) -} - -::google::protobuf::uint8* HiveQuery::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.HiveQuery) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string query = 1; - if (this->query().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->query().data(), static_cast(this->query().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.HiveQuery.query"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->query(), target); - } - - // uint32 timeout_sec = 2; - if (this->timeout_sec() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->timeout_sec(), target); - } - - // uint32 retryCount = 3; - if (this->retrycount() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->retrycount(), 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.plugins.HiveQuery) - return target; -} - -size_t HiveQuery::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.HiveQuery) - 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 query = 1; - if (this->query().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->query()); - } - - // uint32 timeout_sec = 2; - if (this->timeout_sec() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->timeout_sec()); - } - - // uint32 retryCount = 3; - if (this->retrycount() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->retrycount()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void HiveQuery::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.HiveQuery) - GOOGLE_DCHECK_NE(&from, this); - const HiveQuery* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.HiveQuery) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.HiveQuery) - MergeFrom(*source); - } -} - -void HiveQuery::MergeFrom(const HiveQuery& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.HiveQuery) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.query().size() > 0) { - - query_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.query_); - } - if (from.timeout_sec() != 0) { - set_timeout_sec(from.timeout_sec()); - } - if (from.retrycount() != 0) { - set_retrycount(from.retrycount()); - } -} - -void HiveQuery::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.HiveQuery) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void HiveQuery::CopyFrom(const HiveQuery& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.HiveQuery) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool HiveQuery::IsInitialized() const { - return true; -} - -void HiveQuery::Swap(HiveQuery* other) { - if (other == this) return; - InternalSwap(other); -} -void HiveQuery::InternalSwap(HiveQuery* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - query_.Swap(&other->query_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(timeout_sec_, other->timeout_sec_); - swap(retrycount_, other->retrycount_); -} - -::google::protobuf::Metadata HiveQuery::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fqubole_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fqubole_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void HiveQueryCollection::InitAsDefaultInstance() { -} -class HiveQueryCollection::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int HiveQueryCollection::kQueriesFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -HiveQueryCollection::HiveQueryCollection() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.HiveQueryCollection) -} -HiveQueryCollection::HiveQueryCollection(const HiveQueryCollection& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - queries_(from.queries_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.HiveQueryCollection) -} - -void HiveQueryCollection::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_HiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto.base); -} - -HiveQueryCollection::~HiveQueryCollection() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.HiveQueryCollection) - SharedDtor(); -} - -void HiveQueryCollection::SharedDtor() { -} - -void HiveQueryCollection::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const HiveQueryCollection& HiveQueryCollection::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_HiveQueryCollection_flyteidl_2fplugins_2fqubole_2eproto.base); - return *internal_default_instance(); -} - - -void HiveQueryCollection::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.HiveQueryCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - queries_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* HiveQueryCollection::_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.plugins.HiveQuery queries = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::HiveQuery::_InternalParse; - object = msg->add_queries(); - 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) == 18 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool HiveQueryCollection::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.plugins.HiveQueryCollection) - 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.plugins.HiveQuery queries = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_queries())); - } 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.plugins.HiveQueryCollection) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.HiveQueryCollection) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void HiveQueryCollection::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.HiveQueryCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.plugins.HiveQuery queries = 2; - for (unsigned int i = 0, - n = static_cast(this->queries_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->queries(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.plugins.HiveQueryCollection) -} - -::google::protobuf::uint8* HiveQueryCollection::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.HiveQueryCollection) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .flyteidl.plugins.HiveQuery queries = 2; - for (unsigned int i = 0, - n = static_cast(this->queries_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->queries(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.plugins.HiveQueryCollection) - return target; -} - -size_t HiveQueryCollection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.HiveQueryCollection) - 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.plugins.HiveQuery queries = 2; - { - unsigned int count = static_cast(this->queries_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->queries(static_cast(i))); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void HiveQueryCollection::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.HiveQueryCollection) - GOOGLE_DCHECK_NE(&from, this); - const HiveQueryCollection* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.HiveQueryCollection) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.HiveQueryCollection) - MergeFrom(*source); - } -} - -void HiveQueryCollection::MergeFrom(const HiveQueryCollection& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.HiveQueryCollection) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - queries_.MergeFrom(from.queries_); -} - -void HiveQueryCollection::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.HiveQueryCollection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void HiveQueryCollection::CopyFrom(const HiveQueryCollection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.HiveQueryCollection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool HiveQueryCollection::IsInitialized() const { - return true; -} - -void HiveQueryCollection::Swap(HiveQueryCollection* other) { - if (other == this) return; - InternalSwap(other); -} -void HiveQueryCollection::InternalSwap(HiveQueryCollection* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&queries_)->InternalSwap(CastToBase(&other->queries_)); -} - -::google::protobuf::Metadata HiveQueryCollection::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fqubole_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fqubole_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void QuboleHiveJob::InitAsDefaultInstance() { - ::flyteidl::plugins::_QuboleHiveJob_default_instance_._instance.get_mutable()->query_collection_ = const_cast< ::flyteidl::plugins::HiveQueryCollection*>( - ::flyteidl::plugins::HiveQueryCollection::internal_default_instance()); - ::flyteidl::plugins::_QuboleHiveJob_default_instance_._instance.get_mutable()->query_ = const_cast< ::flyteidl::plugins::HiveQuery*>( - ::flyteidl::plugins::HiveQuery::internal_default_instance()); -} -class QuboleHiveJob::HasBitSetters { - public: - static const ::flyteidl::plugins::HiveQueryCollection& query_collection(const QuboleHiveJob* msg); - static const ::flyteidl::plugins::HiveQuery& query(const QuboleHiveJob* msg); -}; - -const ::flyteidl::plugins::HiveQueryCollection& -QuboleHiveJob::HasBitSetters::query_collection(const QuboleHiveJob* msg) { - return *msg->query_collection_; -} -const ::flyteidl::plugins::HiveQuery& -QuboleHiveJob::HasBitSetters::query(const QuboleHiveJob* msg) { - return *msg->query_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int QuboleHiveJob::kClusterLabelFieldNumber; -const int QuboleHiveJob::kQueryCollectionFieldNumber; -const int QuboleHiveJob::kTagsFieldNumber; -const int QuboleHiveJob::kQueryFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -QuboleHiveJob::QuboleHiveJob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.QuboleHiveJob) -} -QuboleHiveJob::QuboleHiveJob(const QuboleHiveJob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - tags_(from.tags_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - cluster_label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.cluster_label().size() > 0) { - cluster_label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_label_); - } - if (from.has_query_collection()) { - query_collection_ = new ::flyteidl::plugins::HiveQueryCollection(*from.query_collection_); - } else { - query_collection_ = nullptr; - } - if (from.has_query()) { - query_ = new ::flyteidl::plugins::HiveQuery(*from.query_); - } else { - query_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.QuboleHiveJob) -} - -void QuboleHiveJob::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_QuboleHiveJob_flyteidl_2fplugins_2fqubole_2eproto.base); - cluster_label_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&query_collection_, 0, static_cast( - reinterpret_cast(&query_) - - reinterpret_cast(&query_collection_)) + sizeof(query_)); -} - -QuboleHiveJob::~QuboleHiveJob() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.QuboleHiveJob) - SharedDtor(); -} - -void QuboleHiveJob::SharedDtor() { - cluster_label_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete query_collection_; - if (this != internal_default_instance()) delete query_; -} - -void QuboleHiveJob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const QuboleHiveJob& QuboleHiveJob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_QuboleHiveJob_flyteidl_2fplugins_2fqubole_2eproto.base); - return *internal_default_instance(); -} - - -void QuboleHiveJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.QuboleHiveJob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - tags_.Clear(); - cluster_label_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && query_collection_ != nullptr) { - delete query_collection_; - } - query_collection_ = nullptr; - if (GetArenaNoVirtual() == nullptr && query_ != nullptr) { - delete query_; - } - query_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* QuboleHiveJob::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string cluster_label = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.QuboleHiveJob.cluster_label"); - object = msg->mutable_cluster_label(); - 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.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::HiveQueryCollection::_InternalParse; - object = msg->mutable_query_collection(); - 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; - } - // repeated string tags = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.QuboleHiveJob.tags"); - object = msg->add_tags(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); - break; - } - // .flyteidl.plugins.HiveQuery query = 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::plugins::HiveQuery::_InternalParse; - object = msg->mutable_query(); - 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 QuboleHiveJob::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.plugins.QuboleHiveJob) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string cluster_label = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_cluster_label())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster_label().data(), static_cast(this->cluster_label().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.QuboleHiveJob.cluster_label")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_query_collection())); - } else { - goto handle_unusual; - } - break; - } - - // repeated string tags = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_tags())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(this->tags_size() - 1).data(), - static_cast(this->tags(this->tags_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.QuboleHiveJob.tags")); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.plugins.HiveQuery query = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_query())); - } 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.plugins.QuboleHiveJob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.QuboleHiveJob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void QuboleHiveJob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.QuboleHiveJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cluster_label = 1; - if (this->cluster_label().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster_label().data(), static_cast(this->cluster_label().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.QuboleHiveJob.cluster_label"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->cluster_label(), output); - } - - // .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - if (this->has_query_collection()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::query_collection(this), output); - } - - // repeated string tags = 3; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.QuboleHiveJob.tags"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 3, this->tags(i), output); - } - - // .flyteidl.plugins.HiveQuery query = 4; - if (this->has_query()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::query(this), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.QuboleHiveJob) -} - -::google::protobuf::uint8* QuboleHiveJob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.QuboleHiveJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string cluster_label = 1; - if (this->cluster_label().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->cluster_label().data(), static_cast(this->cluster_label().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.QuboleHiveJob.cluster_label"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->cluster_label(), target); - } - - // .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - if (this->has_query_collection()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::query_collection(this), target); - } - - // repeated string tags = 3; - for (int i = 0, n = this->tags_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tags(i).data(), static_cast(this->tags(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.QuboleHiveJob.tags"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(3, this->tags(i), target); - } - - // .flyteidl.plugins.HiveQuery query = 4; - if (this->has_query()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::query(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.plugins.QuboleHiveJob) - return target; -} - -size_t QuboleHiveJob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.QuboleHiveJob) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string tags = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->tags_size()); - for (int i = 0, n = this->tags_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->tags(i)); - } - - // string cluster_label = 1; - if (this->cluster_label().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->cluster_label()); - } - - // .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - if (this->has_query_collection()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *query_collection_); - } - - // .flyteidl.plugins.HiveQuery query = 4; - if (this->has_query()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *query_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void QuboleHiveJob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.QuboleHiveJob) - GOOGLE_DCHECK_NE(&from, this); - const QuboleHiveJob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.QuboleHiveJob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.QuboleHiveJob) - MergeFrom(*source); - } -} - -void QuboleHiveJob::MergeFrom(const QuboleHiveJob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.QuboleHiveJob) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - tags_.MergeFrom(from.tags_); - if (from.cluster_label().size() > 0) { - - cluster_label_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cluster_label_); - } - if (from.has_query_collection()) { - mutable_query_collection()->::flyteidl::plugins::HiveQueryCollection::MergeFrom(from.query_collection()); - } - if (from.has_query()) { - mutable_query()->::flyteidl::plugins::HiveQuery::MergeFrom(from.query()); - } -} - -void QuboleHiveJob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.QuboleHiveJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void QuboleHiveJob::CopyFrom(const QuboleHiveJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.QuboleHiveJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool QuboleHiveJob::IsInitialized() const { - return true; -} - -void QuboleHiveJob::Swap(QuboleHiveJob* other) { - if (other == this) return; - InternalSwap(other); -} -void QuboleHiveJob::InternalSwap(QuboleHiveJob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - tags_.InternalSwap(CastToBase(&other->tags_)); - cluster_label_.Swap(&other->cluster_label_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(query_collection_, other->query_collection_); - swap(query_, other->query_); -} - -::google::protobuf::Metadata QuboleHiveJob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fqubole_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fqubole_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::HiveQuery* Arena::CreateMaybeMessage< ::flyteidl::plugins::HiveQuery >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::HiveQuery >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::HiveQueryCollection* Arena::CreateMaybeMessage< ::flyteidl::plugins::HiveQueryCollection >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::HiveQueryCollection >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::QuboleHiveJob* Arena::CreateMaybeMessage< ::flyteidl::plugins::QuboleHiveJob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::QuboleHiveJob >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.pb.h deleted file mode 100644 index 346fc14645..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/qubole.pb.h +++ /dev/null @@ -1,859 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/qubole.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fqubole_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fqubole_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fqubole_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fqubole_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_2fplugins_2fqubole_2eproto(); -namespace flyteidl { -namespace plugins { -class HiveQuery; -class HiveQueryDefaultTypeInternal; -extern HiveQueryDefaultTypeInternal _HiveQuery_default_instance_; -class HiveQueryCollection; -class HiveQueryCollectionDefaultTypeInternal; -extern HiveQueryCollectionDefaultTypeInternal _HiveQueryCollection_default_instance_; -class QuboleHiveJob; -class QuboleHiveJobDefaultTypeInternal; -extern QuboleHiveJobDefaultTypeInternal _QuboleHiveJob_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::HiveQuery* Arena::CreateMaybeMessage<::flyteidl::plugins::HiveQuery>(Arena*); -template<> ::flyteidl::plugins::HiveQueryCollection* Arena::CreateMaybeMessage<::flyteidl::plugins::HiveQueryCollection>(Arena*); -template<> ::flyteidl::plugins::QuboleHiveJob* Arena::CreateMaybeMessage<::flyteidl::plugins::QuboleHiveJob>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class HiveQuery final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.HiveQuery) */ { - public: - HiveQuery(); - virtual ~HiveQuery(); - - HiveQuery(const HiveQuery& from); - - inline HiveQuery& operator=(const HiveQuery& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - HiveQuery(HiveQuery&& from) noexcept - : HiveQuery() { - *this = ::std::move(from); - } - - inline HiveQuery& operator=(HiveQuery&& 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 HiveQuery& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const HiveQuery* internal_default_instance() { - return reinterpret_cast( - &_HiveQuery_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(HiveQuery* other); - friend void swap(HiveQuery& a, HiveQuery& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline HiveQuery* New() const final { - return CreateMaybeMessage(nullptr); - } - - HiveQuery* 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 HiveQuery& from); - void MergeFrom(const HiveQuery& 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(HiveQuery* 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 query = 1; - void clear_query(); - static const int kQueryFieldNumber = 1; - const ::std::string& query() const; - void set_query(const ::std::string& value); - #if LANG_CXX11 - void set_query(::std::string&& value); - #endif - void set_query(const char* value); - void set_query(const char* value, size_t size); - ::std::string* mutable_query(); - ::std::string* release_query(); - void set_allocated_query(::std::string* query); - - // uint32 timeout_sec = 2; - void clear_timeout_sec(); - static const int kTimeoutSecFieldNumber = 2; - ::google::protobuf::uint32 timeout_sec() const; - void set_timeout_sec(::google::protobuf::uint32 value); - - // uint32 retryCount = 3; - void clear_retrycount(); - static const int kRetryCountFieldNumber = 3; - ::google::protobuf::uint32 retrycount() const; - void set_retrycount(::google::protobuf::uint32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.HiveQuery) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr query_; - ::google::protobuf::uint32 timeout_sec_; - ::google::protobuf::uint32 retrycount_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fqubole_2eproto; -}; -// ------------------------------------------------------------------- - -class HiveQueryCollection final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.HiveQueryCollection) */ { - public: - HiveQueryCollection(); - virtual ~HiveQueryCollection(); - - HiveQueryCollection(const HiveQueryCollection& from); - - inline HiveQueryCollection& operator=(const HiveQueryCollection& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - HiveQueryCollection(HiveQueryCollection&& from) noexcept - : HiveQueryCollection() { - *this = ::std::move(from); - } - - inline HiveQueryCollection& operator=(HiveQueryCollection&& 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 HiveQueryCollection& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const HiveQueryCollection* internal_default_instance() { - return reinterpret_cast( - &_HiveQueryCollection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(HiveQueryCollection* other); - friend void swap(HiveQueryCollection& a, HiveQueryCollection& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline HiveQueryCollection* New() const final { - return CreateMaybeMessage(nullptr); - } - - HiveQueryCollection* 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 HiveQueryCollection& from); - void MergeFrom(const HiveQueryCollection& 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(HiveQueryCollection* 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.plugins.HiveQuery queries = 2; - int queries_size() const; - void clear_queries(); - static const int kQueriesFieldNumber = 2; - ::flyteidl::plugins::HiveQuery* mutable_queries(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::HiveQuery >* - mutable_queries(); - const ::flyteidl::plugins::HiveQuery& queries(int index) const; - ::flyteidl::plugins::HiveQuery* add_queries(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::HiveQuery >& - queries() const; - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.HiveQueryCollection) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::HiveQuery > queries_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fqubole_2eproto; -}; -// ------------------------------------------------------------------- - -class QuboleHiveJob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.QuboleHiveJob) */ { - public: - QuboleHiveJob(); - virtual ~QuboleHiveJob(); - - QuboleHiveJob(const QuboleHiveJob& from); - - inline QuboleHiveJob& operator=(const QuboleHiveJob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - QuboleHiveJob(QuboleHiveJob&& from) noexcept - : QuboleHiveJob() { - *this = ::std::move(from); - } - - inline QuboleHiveJob& operator=(QuboleHiveJob&& 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 QuboleHiveJob& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const QuboleHiveJob* internal_default_instance() { - return reinterpret_cast( - &_QuboleHiveJob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(QuboleHiveJob* other); - friend void swap(QuboleHiveJob& a, QuboleHiveJob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline QuboleHiveJob* New() const final { - return CreateMaybeMessage(nullptr); - } - - QuboleHiveJob* 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 QuboleHiveJob& from); - void MergeFrom(const QuboleHiveJob& 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(QuboleHiveJob* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string tags = 3; - int tags_size() const; - void clear_tags(); - static const int kTagsFieldNumber = 3; - const ::std::string& tags(int index) const; - ::std::string* mutable_tags(int index); - void set_tags(int index, const ::std::string& value); - #if LANG_CXX11 - void set_tags(int index, ::std::string&& value); - #endif - void set_tags(int index, const char* value); - void set_tags(int index, const char* value, size_t size); - ::std::string* add_tags(); - void add_tags(const ::std::string& value); - #if LANG_CXX11 - void add_tags(::std::string&& value); - #endif - void add_tags(const char* value); - void add_tags(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& tags() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_tags(); - - // string cluster_label = 1; - void clear_cluster_label(); - static const int kClusterLabelFieldNumber = 1; - const ::std::string& cluster_label() const; - void set_cluster_label(const ::std::string& value); - #if LANG_CXX11 - void set_cluster_label(::std::string&& value); - #endif - void set_cluster_label(const char* value); - void set_cluster_label(const char* value, size_t size); - ::std::string* mutable_cluster_label(); - ::std::string* release_cluster_label(); - void set_allocated_cluster_label(::std::string* cluster_label); - - // .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_query_collection() const; - PROTOBUF_DEPRECATED void clear_query_collection(); - PROTOBUF_DEPRECATED static const int kQueryCollectionFieldNumber = 2; - PROTOBUF_DEPRECATED const ::flyteidl::plugins::HiveQueryCollection& query_collection() const; - PROTOBUF_DEPRECATED ::flyteidl::plugins::HiveQueryCollection* release_query_collection(); - PROTOBUF_DEPRECATED ::flyteidl::plugins::HiveQueryCollection* mutable_query_collection(); - PROTOBUF_DEPRECATED void set_allocated_query_collection(::flyteidl::plugins::HiveQueryCollection* query_collection); - - // .flyteidl.plugins.HiveQuery query = 4; - bool has_query() const; - void clear_query(); - static const int kQueryFieldNumber = 4; - const ::flyteidl::plugins::HiveQuery& query() const; - ::flyteidl::plugins::HiveQuery* release_query(); - ::flyteidl::plugins::HiveQuery* mutable_query(); - void set_allocated_query(::flyteidl::plugins::HiveQuery* query); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.QuboleHiveJob) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> tags_; - ::google::protobuf::internal::ArenaStringPtr cluster_label_; - ::flyteidl::plugins::HiveQueryCollection* query_collection_; - ::flyteidl::plugins::HiveQuery* query_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fqubole_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// HiveQuery - -// string query = 1; -inline void HiveQuery::clear_query() { - query_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& HiveQuery::query() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.HiveQuery.query) - return query_.GetNoArena(); -} -inline void HiveQuery::set_query(const ::std::string& value) { - - query_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.HiveQuery.query) -} -#if LANG_CXX11 -inline void HiveQuery::set_query(::std::string&& value) { - - query_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.HiveQuery.query) -} -#endif -inline void HiveQuery::set_query(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - query_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.HiveQuery.query) -} -inline void HiveQuery::set_query(const char* value, size_t size) { - - query_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.HiveQuery.query) -} -inline ::std::string* HiveQuery::mutable_query() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.HiveQuery.query) - return query_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* HiveQuery::release_query() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.HiveQuery.query) - - return query_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void HiveQuery::set_allocated_query(::std::string* query) { - if (query != nullptr) { - - } else { - - } - query_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), query); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.HiveQuery.query) -} - -// uint32 timeout_sec = 2; -inline void HiveQuery::clear_timeout_sec() { - timeout_sec_ = 0u; -} -inline ::google::protobuf::uint32 HiveQuery::timeout_sec() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.HiveQuery.timeout_sec) - return timeout_sec_; -} -inline void HiveQuery::set_timeout_sec(::google::protobuf::uint32 value) { - - timeout_sec_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.HiveQuery.timeout_sec) -} - -// uint32 retryCount = 3; -inline void HiveQuery::clear_retrycount() { - retrycount_ = 0u; -} -inline ::google::protobuf::uint32 HiveQuery::retrycount() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.HiveQuery.retryCount) - return retrycount_; -} -inline void HiveQuery::set_retrycount(::google::protobuf::uint32 value) { - - retrycount_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.HiveQuery.retryCount) -} - -// ------------------------------------------------------------------- - -// HiveQueryCollection - -// repeated .flyteidl.plugins.HiveQuery queries = 2; -inline int HiveQueryCollection::queries_size() const { - return queries_.size(); -} -inline void HiveQueryCollection::clear_queries() { - queries_.Clear(); -} -inline ::flyteidl::plugins::HiveQuery* HiveQueryCollection::mutable_queries(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.HiveQueryCollection.queries) - return queries_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::HiveQuery >* -HiveQueryCollection::mutable_queries() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.plugins.HiveQueryCollection.queries) - return &queries_; -} -inline const ::flyteidl::plugins::HiveQuery& HiveQueryCollection::queries(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.HiveQueryCollection.queries) - return queries_.Get(index); -} -inline ::flyteidl::plugins::HiveQuery* HiveQueryCollection::add_queries() { - // @@protoc_insertion_point(field_add:flyteidl.plugins.HiveQueryCollection.queries) - return queries_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::HiveQuery >& -HiveQueryCollection::queries() const { - // @@protoc_insertion_point(field_list:flyteidl.plugins.HiveQueryCollection.queries) - return queries_; -} - -// ------------------------------------------------------------------- - -// QuboleHiveJob - -// string cluster_label = 1; -inline void QuboleHiveJob::clear_cluster_label() { - cluster_label_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& QuboleHiveJob::cluster_label() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.QuboleHiveJob.cluster_label) - return cluster_label_.GetNoArena(); -} -inline void QuboleHiveJob::set_cluster_label(const ::std::string& value) { - - cluster_label_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.QuboleHiveJob.cluster_label) -} -#if LANG_CXX11 -inline void QuboleHiveJob::set_cluster_label(::std::string&& value) { - - cluster_label_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.QuboleHiveJob.cluster_label) -} -#endif -inline void QuboleHiveJob::set_cluster_label(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - cluster_label_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.QuboleHiveJob.cluster_label) -} -inline void QuboleHiveJob::set_cluster_label(const char* value, size_t size) { - - cluster_label_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.QuboleHiveJob.cluster_label) -} -inline ::std::string* QuboleHiveJob::mutable_cluster_label() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.QuboleHiveJob.cluster_label) - return cluster_label_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* QuboleHiveJob::release_cluster_label() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.QuboleHiveJob.cluster_label) - - return cluster_label_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void QuboleHiveJob::set_allocated_cluster_label(::std::string* cluster_label) { - if (cluster_label != nullptr) { - - } else { - - } - cluster_label_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cluster_label); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.QuboleHiveJob.cluster_label) -} - -// .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; -inline bool QuboleHiveJob::has_query_collection() const { - return this != internal_default_instance() && query_collection_ != nullptr; -} -inline void QuboleHiveJob::clear_query_collection() { - if (GetArenaNoVirtual() == nullptr && query_collection_ != nullptr) { - delete query_collection_; - } - query_collection_ = nullptr; -} -inline const ::flyteidl::plugins::HiveQueryCollection& QuboleHiveJob::query_collection() const { - const ::flyteidl::plugins::HiveQueryCollection* p = query_collection_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.QuboleHiveJob.query_collection) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::_HiveQueryCollection_default_instance_); -} -inline ::flyteidl::plugins::HiveQueryCollection* QuboleHiveJob::release_query_collection() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.QuboleHiveJob.query_collection) - - ::flyteidl::plugins::HiveQueryCollection* temp = query_collection_; - query_collection_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::HiveQueryCollection* QuboleHiveJob::mutable_query_collection() { - - if (query_collection_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::HiveQueryCollection>(GetArenaNoVirtual()); - query_collection_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.QuboleHiveJob.query_collection) - return query_collection_; -} -inline void QuboleHiveJob::set_allocated_query_collection(::flyteidl::plugins::HiveQueryCollection* query_collection) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete query_collection_; - } - if (query_collection) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - query_collection = ::google::protobuf::internal::GetOwnedMessage( - message_arena, query_collection, submessage_arena); - } - - } else { - - } - query_collection_ = query_collection; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.QuboleHiveJob.query_collection) -} - -// repeated string tags = 3; -inline int QuboleHiveJob::tags_size() const { - return tags_.size(); -} -inline void QuboleHiveJob::clear_tags() { - tags_.Clear(); -} -inline const ::std::string& QuboleHiveJob::tags(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.QuboleHiveJob.tags) - return tags_.Get(index); -} -inline ::std::string* QuboleHiveJob::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.QuboleHiveJob.tags) - return tags_.Mutable(index); -} -inline void QuboleHiveJob::set_tags(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.plugins.QuboleHiveJob.tags) - tags_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void QuboleHiveJob::set_tags(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.plugins.QuboleHiveJob.tags) - tags_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void QuboleHiveJob::set_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.QuboleHiveJob.tags) -} -inline void QuboleHiveJob::set_tags(int index, const char* value, size_t size) { - tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.QuboleHiveJob.tags) -} -inline ::std::string* QuboleHiveJob::add_tags() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.plugins.QuboleHiveJob.tags) - return tags_.Add(); -} -inline void QuboleHiveJob::add_tags(const ::std::string& value) { - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.plugins.QuboleHiveJob.tags) -} -#if LANG_CXX11 -inline void QuboleHiveJob::add_tags(::std::string&& value) { - tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.plugins.QuboleHiveJob.tags) -} -#endif -inline void QuboleHiveJob::add_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.plugins.QuboleHiveJob.tags) -} -inline void QuboleHiveJob::add_tags(const char* value, size_t size) { - tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.plugins.QuboleHiveJob.tags) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -QuboleHiveJob::tags() const { - // @@protoc_insertion_point(field_list:flyteidl.plugins.QuboleHiveJob.tags) - return tags_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -QuboleHiveJob::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.plugins.QuboleHiveJob.tags) - return &tags_; -} - -// .flyteidl.plugins.HiveQuery query = 4; -inline bool QuboleHiveJob::has_query() const { - return this != internal_default_instance() && query_ != nullptr; -} -inline void QuboleHiveJob::clear_query() { - if (GetArenaNoVirtual() == nullptr && query_ != nullptr) { - delete query_; - } - query_ = nullptr; -} -inline const ::flyteidl::plugins::HiveQuery& QuboleHiveJob::query() const { - const ::flyteidl::plugins::HiveQuery* p = query_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.QuboleHiveJob.query) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::_HiveQuery_default_instance_); -} -inline ::flyteidl::plugins::HiveQuery* QuboleHiveJob::release_query() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.QuboleHiveJob.query) - - ::flyteidl::plugins::HiveQuery* temp = query_; - query_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::HiveQuery* QuboleHiveJob::mutable_query() { - - if (query_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::HiveQuery>(GetArenaNoVirtual()); - query_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.QuboleHiveJob.query) - return query_; -} -inline void QuboleHiveJob::set_allocated_query(::flyteidl::plugins::HiveQuery* query) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete query_; - } - if (query) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - query = ::google::protobuf::internal::GetOwnedMessage( - message_arena, query, submessage_arena); - } - - } else { - - } - query_ = query; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.QuboleHiveJob.query) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fqubole_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.grpc.pb.cc deleted file mode 100644 index 035ec928b1..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/ray.proto - -#include "flyteidl/plugins/ray.pb.h" -#include "flyteidl/plugins/ray.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.grpc.pb.h deleted file mode 100644 index 44c8bae408..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/ray.proto -#ifndef GRPC_flyteidl_2fplugins_2fray_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fray_2eproto__INCLUDED - -#include "flyteidl/plugins/ray.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fray_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.cc deleted file mode 100644 index 7579e59cc0..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.cc +++ /dev/null @@ -1,2200 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/ray.proto - -#include "flyteidl/plugins/ray.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fray_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_HeadGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fray_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkerGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fray_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_HeadGroupSpec_flyteidl_2fplugins_2fray_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fray_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fray_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_RayCluster_flyteidl_2fplugins_2fray_2eproto; -namespace flyteidl { -namespace plugins { -class RayJobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _RayJob_default_instance_; -class RayClusterDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _RayCluster_default_instance_; -class HeadGroupSpec_RayStartParamsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _HeadGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_; -class HeadGroupSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _HeadGroupSpec_default_instance_; -class WorkerGroupSpec_RayStartParamsEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkerGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_; -class WorkerGroupSpecDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _WorkerGroupSpec_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsRayJob_flyteidl_2fplugins_2fray_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_RayJob_default_instance_; - new (ptr) ::flyteidl::plugins::RayJob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::RayJob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_RayJob_flyteidl_2fplugins_2fray_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRayJob_flyteidl_2fplugins_2fray_2eproto}, { - &scc_info_RayCluster_flyteidl_2fplugins_2fray_2eproto.base,}}; - -static void InitDefaultsRayCluster_flyteidl_2fplugins_2fray_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_RayCluster_default_instance_; - new (ptr) ::flyteidl::plugins::RayCluster(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::RayCluster::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_RayCluster_flyteidl_2fplugins_2fray_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsRayCluster_flyteidl_2fplugins_2fray_2eproto}, { - &scc_info_HeadGroupSpec_flyteidl_2fplugins_2fray_2eproto.base, - &scc_info_WorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto.base,}}; - -static void InitDefaultsHeadGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_HeadGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse(); - } - ::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_HeadGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsHeadGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto}, {}}; - -static void InitDefaultsHeadGroupSpec_flyteidl_2fplugins_2fray_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_HeadGroupSpec_default_instance_; - new (ptr) ::flyteidl::plugins::HeadGroupSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::HeadGroupSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_HeadGroupSpec_flyteidl_2fplugins_2fray_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsHeadGroupSpec_flyteidl_2fplugins_2fray_2eproto}, { - &scc_info_HeadGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto.base,}}; - -static void InitDefaultsWorkerGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_WorkerGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse(); - } - ::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_WorkerGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkerGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto}, {}}; - -static void InitDefaultsWorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_WorkerGroupSpec_default_instance_; - new (ptr) ::flyteidl::plugins::WorkerGroupSpec(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::WorkerGroupSpec::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_WorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto}, { - &scc_info_WorkerGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fray_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_RayJob_flyteidl_2fplugins_2fray_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_RayCluster_flyteidl_2fplugins_2fray_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_HeadGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_HeadGroupSpec_flyteidl_2fplugins_2fray_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkerGroupSpec_RayStartParamsEntry_DoNotUse_flyteidl_2fplugins_2fray_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_WorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fray_2eproto[6]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fray_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fray_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fray_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayJob, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayJob, ray_cluster_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayJob, runtime_env_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayJob, shutdown_after_job_finishes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayJob, ttl_seconds_after_finished_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayCluster, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayCluster, head_group_spec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayCluster, worker_group_spec_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::RayCluster, enable_autoscaling_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HeadGroupSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::HeadGroupSpec, ray_start_params_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec, group_name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec, replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec, min_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec, max_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::WorkerGroupSpec, ray_start_params_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::RayJob)}, - { 9, -1, sizeof(::flyteidl::plugins::RayCluster)}, - { 17, 24, sizeof(::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse)}, - { 26, -1, sizeof(::flyteidl::plugins::HeadGroupSpec)}, - { 32, 39, sizeof(::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse)}, - { 41, -1, sizeof(::flyteidl::plugins::WorkerGroupSpec)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_RayJob_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_RayCluster_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_HeadGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_HeadGroupSpec_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_WorkerGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_WorkerGroupSpec_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fray_2eproto, "flyteidl/plugins/ray.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fray_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fray_2eproto, 6, file_level_enum_descriptors_flyteidl_2fplugins_2fray_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fray_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fray_2eproto[] = - "\n\032flyteidl/plugins/ray.proto\022\020flyteidl.p" - "lugins\"\231\001\n\006RayJob\0221\n\013ray_cluster\030\001 \001(\0132\034" - ".flyteidl.plugins.RayCluster\022\023\n\013runtime_" - "env\030\002 \001(\t\022#\n\033shutdown_after_job_finishes" - "\030\003 \001(\010\022\"\n\032ttl_seconds_after_finished\030\004 \001" - "(\005\"\240\001\n\nRayCluster\0228\n\017head_group_spec\030\001 \001" - "(\0132\037.flyteidl.plugins.HeadGroupSpec\022<\n\021w" - "orker_group_spec\030\002 \003(\0132!.flyteidl.plugin" - "s.WorkerGroupSpec\022\032\n\022enable_autoscaling\030" - "\003 \001(\010\"\225\001\n\rHeadGroupSpec\022M\n\020ray_start_par" - "ams\030\001 \003(\01323.flyteidl.plugins.HeadGroupSp" - "ec.RayStartParamsEntry\0325\n\023RayStartParams" - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\353\001" - "\n\017WorkerGroupSpec\022\022\n\ngroup_name\030\001 \001(\t\022\020\n" - "\010replicas\030\002 \001(\005\022\024\n\014min_replicas\030\003 \001(\005\022\024\n" - "\014max_replicas\030\004 \001(\005\022O\n\020ray_start_params\030" - "\005 \003(\01325.flyteidl.plugins.WorkerGroupSpec" - ".RayStartParamsEntry\0325\n\023RayStartParamsEn" - "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\?Z=g" - "ithub.com/flyteorg/flyte/flyteidl/gen/pb" - "-go/flyteidl/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fray_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fray_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fray_2eproto, - "flyteidl/plugins/ray.proto", &assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto, 828, -}; - -void AddDescriptors_flyteidl_2fplugins_2fray_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fray_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fray_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fray_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void RayJob::InitAsDefaultInstance() { - ::flyteidl::plugins::_RayJob_default_instance_._instance.get_mutable()->ray_cluster_ = const_cast< ::flyteidl::plugins::RayCluster*>( - ::flyteidl::plugins::RayCluster::internal_default_instance()); -} -class RayJob::HasBitSetters { - public: - static const ::flyteidl::plugins::RayCluster& ray_cluster(const RayJob* msg); -}; - -const ::flyteidl::plugins::RayCluster& -RayJob::HasBitSetters::ray_cluster(const RayJob* msg) { - return *msg->ray_cluster_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RayJob::kRayClusterFieldNumber; -const int RayJob::kRuntimeEnvFieldNumber; -const int RayJob::kShutdownAfterJobFinishesFieldNumber; -const int RayJob::kTtlSecondsAfterFinishedFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RayJob::RayJob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.RayJob) -} -RayJob::RayJob(const RayJob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - runtime_env_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.runtime_env().size() > 0) { - runtime_env_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.runtime_env_); - } - if (from.has_ray_cluster()) { - ray_cluster_ = new ::flyteidl::plugins::RayCluster(*from.ray_cluster_); - } else { - ray_cluster_ = nullptr; - } - ::memcpy(&shutdown_after_job_finishes_, &from.shutdown_after_job_finishes_, - static_cast(reinterpret_cast(&ttl_seconds_after_finished_) - - reinterpret_cast(&shutdown_after_job_finishes_)) + sizeof(ttl_seconds_after_finished_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.RayJob) -} - -void RayJob::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_RayJob_flyteidl_2fplugins_2fray_2eproto.base); - runtime_env_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&ray_cluster_, 0, static_cast( - reinterpret_cast(&ttl_seconds_after_finished_) - - reinterpret_cast(&ray_cluster_)) + sizeof(ttl_seconds_after_finished_)); -} - -RayJob::~RayJob() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.RayJob) - SharedDtor(); -} - -void RayJob::SharedDtor() { - runtime_env_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete ray_cluster_; -} - -void RayJob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RayJob& RayJob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_RayJob_flyteidl_2fplugins_2fray_2eproto.base); - return *internal_default_instance(); -} - - -void RayJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.RayJob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - runtime_env_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && ray_cluster_ != nullptr) { - delete ray_cluster_; - } - ray_cluster_ = nullptr; - ::memset(&shutdown_after_job_finishes_, 0, static_cast( - reinterpret_cast(&ttl_seconds_after_finished_) - - reinterpret_cast(&shutdown_after_job_finishes_)) + sizeof(ttl_seconds_after_finished_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RayJob::_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.plugins.RayCluster ray_cluster = 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::plugins::RayCluster::_InternalParse; - object = msg->mutable_ray_cluster(); - 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 runtime_env = 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.plugins.RayJob.runtime_env"); - object = msg->mutable_runtime_env(); - 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; - } - // bool shutdown_after_job_finishes = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_shutdown_after_job_finishes(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 ttl_seconds_after_finished = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_ttl_seconds_after_finished(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 RayJob::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.plugins.RayJob) - 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.plugins.RayCluster ray_cluster = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_ray_cluster())); - } else { - goto handle_unusual; - } - break; - } - - // string runtime_env = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_runtime_env())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->runtime_env().data(), static_cast(this->runtime_env().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.RayJob.runtime_env")); - } else { - goto handle_unusual; - } - break; - } - - // bool shutdown_after_job_finishes = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &shutdown_after_job_finishes_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 ttl_seconds_after_finished = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &ttl_seconds_after_finished_))); - } 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.plugins.RayJob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.RayJob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RayJob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.RayJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.RayCluster ray_cluster = 1; - if (this->has_ray_cluster()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::ray_cluster(this), output); - } - - // string runtime_env = 2; - if (this->runtime_env().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->runtime_env().data(), static_cast(this->runtime_env().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.RayJob.runtime_env"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->runtime_env(), output); - } - - // bool shutdown_after_job_finishes = 3; - if (this->shutdown_after_job_finishes() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->shutdown_after_job_finishes(), output); - } - - // int32 ttl_seconds_after_finished = 4; - if (this->ttl_seconds_after_finished() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->ttl_seconds_after_finished(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.RayJob) -} - -::google::protobuf::uint8* RayJob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.RayJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.RayCluster ray_cluster = 1; - if (this->has_ray_cluster()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::ray_cluster(this), target); - } - - // string runtime_env = 2; - if (this->runtime_env().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->runtime_env().data(), static_cast(this->runtime_env().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.RayJob.runtime_env"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->runtime_env(), target); - } - - // bool shutdown_after_job_finishes = 3; - if (this->shutdown_after_job_finishes() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->shutdown_after_job_finishes(), target); - } - - // int32 ttl_seconds_after_finished = 4; - if (this->ttl_seconds_after_finished() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->ttl_seconds_after_finished(), 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.plugins.RayJob) - return target; -} - -size_t RayJob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.RayJob) - 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 runtime_env = 2; - if (this->runtime_env().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->runtime_env()); - } - - // .flyteidl.plugins.RayCluster ray_cluster = 1; - if (this->has_ray_cluster()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *ray_cluster_); - } - - // bool shutdown_after_job_finishes = 3; - if (this->shutdown_after_job_finishes() != 0) { - total_size += 1 + 1; - } - - // int32 ttl_seconds_after_finished = 4; - if (this->ttl_seconds_after_finished() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->ttl_seconds_after_finished()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RayJob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.RayJob) - GOOGLE_DCHECK_NE(&from, this); - const RayJob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.RayJob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.RayJob) - MergeFrom(*source); - } -} - -void RayJob::MergeFrom(const RayJob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.RayJob) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.runtime_env().size() > 0) { - - runtime_env_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.runtime_env_); - } - if (from.has_ray_cluster()) { - mutable_ray_cluster()->::flyteidl::plugins::RayCluster::MergeFrom(from.ray_cluster()); - } - if (from.shutdown_after_job_finishes() != 0) { - set_shutdown_after_job_finishes(from.shutdown_after_job_finishes()); - } - if (from.ttl_seconds_after_finished() != 0) { - set_ttl_seconds_after_finished(from.ttl_seconds_after_finished()); - } -} - -void RayJob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.RayJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RayJob::CopyFrom(const RayJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.RayJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RayJob::IsInitialized() const { - return true; -} - -void RayJob::Swap(RayJob* other) { - if (other == this) return; - InternalSwap(other); -} -void RayJob::InternalSwap(RayJob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - runtime_env_.Swap(&other->runtime_env_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(ray_cluster_, other->ray_cluster_); - swap(shutdown_after_job_finishes_, other->shutdown_after_job_finishes_); - swap(ttl_seconds_after_finished_, other->ttl_seconds_after_finished_); -} - -::google::protobuf::Metadata RayJob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fray_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void RayCluster::InitAsDefaultInstance() { - ::flyteidl::plugins::_RayCluster_default_instance_._instance.get_mutable()->head_group_spec_ = const_cast< ::flyteidl::plugins::HeadGroupSpec*>( - ::flyteidl::plugins::HeadGroupSpec::internal_default_instance()); -} -class RayCluster::HasBitSetters { - public: - static const ::flyteidl::plugins::HeadGroupSpec& head_group_spec(const RayCluster* msg); -}; - -const ::flyteidl::plugins::HeadGroupSpec& -RayCluster::HasBitSetters::head_group_spec(const RayCluster* msg) { - return *msg->head_group_spec_; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int RayCluster::kHeadGroupSpecFieldNumber; -const int RayCluster::kWorkerGroupSpecFieldNumber; -const int RayCluster::kEnableAutoscalingFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -RayCluster::RayCluster() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.RayCluster) -} -RayCluster::RayCluster(const RayCluster& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - worker_group_spec_(from.worker_group_spec_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_head_group_spec()) { - head_group_spec_ = new ::flyteidl::plugins::HeadGroupSpec(*from.head_group_spec_); - } else { - head_group_spec_ = nullptr; - } - enable_autoscaling_ = from.enable_autoscaling_; - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.RayCluster) -} - -void RayCluster::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_RayCluster_flyteidl_2fplugins_2fray_2eproto.base); - ::memset(&head_group_spec_, 0, static_cast( - reinterpret_cast(&enable_autoscaling_) - - reinterpret_cast(&head_group_spec_)) + sizeof(enable_autoscaling_)); -} - -RayCluster::~RayCluster() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.RayCluster) - SharedDtor(); -} - -void RayCluster::SharedDtor() { - if (this != internal_default_instance()) delete head_group_spec_; -} - -void RayCluster::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const RayCluster& RayCluster::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_RayCluster_flyteidl_2fplugins_2fray_2eproto.base); - return *internal_default_instance(); -} - - -void RayCluster::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.RayCluster) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - worker_group_spec_.Clear(); - if (GetArenaNoVirtual() == nullptr && head_group_spec_ != nullptr) { - delete head_group_spec_; - } - head_group_spec_ = nullptr; - enable_autoscaling_ = false; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* RayCluster::_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.plugins.HeadGroupSpec head_group_spec = 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::plugins::HeadGroupSpec::_InternalParse; - object = msg->mutable_head_group_spec(); - 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; - } - // repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::plugins::WorkerGroupSpec::_InternalParse; - object = msg->add_worker_group_spec(); - 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) == 18 && (ptr += 1)); - break; - } - // bool enable_autoscaling = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_enable_autoscaling(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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 RayCluster::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.plugins.RayCluster) - 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.plugins.HeadGroupSpec head_group_spec = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_head_group_spec())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_worker_group_spec())); - } else { - goto handle_unusual; - } - break; - } - - // bool enable_autoscaling = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &enable_autoscaling_))); - } 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.plugins.RayCluster) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.RayCluster) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void RayCluster::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.RayCluster) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - if (this->has_head_group_spec()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::head_group_spec(this), output); - } - - // repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - for (unsigned int i = 0, - n = static_cast(this->worker_group_spec_size()); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, - this->worker_group_spec(static_cast(i)), - output); - } - - // bool enable_autoscaling = 3; - if (this->enable_autoscaling() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->enable_autoscaling(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.RayCluster) -} - -::google::protobuf::uint8* RayCluster::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.RayCluster) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - if (this->has_head_group_spec()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::head_group_spec(this), target); - } - - // repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - for (unsigned int i = 0, - n = static_cast(this->worker_group_spec_size()); i < n; i++) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, this->worker_group_spec(static_cast(i)), target); - } - - // bool enable_autoscaling = 3; - if (this->enable_autoscaling() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->enable_autoscaling(), 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.plugins.RayCluster) - return target; -} - -size_t RayCluster::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.RayCluster) - 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.plugins.WorkerGroupSpec worker_group_spec = 2; - { - unsigned int count = static_cast(this->worker_group_spec_size()); - total_size += 1UL * count; - for (unsigned int i = 0; i < count; i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSize( - this->worker_group_spec(static_cast(i))); - } - } - - // .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - if (this->has_head_group_spec()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *head_group_spec_); - } - - // bool enable_autoscaling = 3; - if (this->enable_autoscaling() != 0) { - total_size += 1 + 1; - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void RayCluster::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.RayCluster) - GOOGLE_DCHECK_NE(&from, this); - const RayCluster* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.RayCluster) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.RayCluster) - MergeFrom(*source); - } -} - -void RayCluster::MergeFrom(const RayCluster& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.RayCluster) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - worker_group_spec_.MergeFrom(from.worker_group_spec_); - if (from.has_head_group_spec()) { - mutable_head_group_spec()->::flyteidl::plugins::HeadGroupSpec::MergeFrom(from.head_group_spec()); - } - if (from.enable_autoscaling() != 0) { - set_enable_autoscaling(from.enable_autoscaling()); - } -} - -void RayCluster::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.RayCluster) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void RayCluster::CopyFrom(const RayCluster& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.RayCluster) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool RayCluster::IsInitialized() const { - return true; -} - -void RayCluster::Swap(RayCluster* other) { - if (other == this) return; - InternalSwap(other); -} -void RayCluster::InternalSwap(RayCluster* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - CastToBase(&worker_group_spec_)->InternalSwap(CastToBase(&other->worker_group_spec_)); - swap(head_group_spec_, other->head_group_spec_); - swap(enable_autoscaling_, other->enable_autoscaling_); -} - -::google::protobuf::Metadata RayCluster::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fray_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -HeadGroupSpec_RayStartParamsEntry_DoNotUse::HeadGroupSpec_RayStartParamsEntry_DoNotUse() {} -HeadGroupSpec_RayStartParamsEntry_DoNotUse::HeadGroupSpec_RayStartParamsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void HeadGroupSpec_RayStartParamsEntry_DoNotUse::MergeFrom(const HeadGroupSpec_RayStartParamsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata HeadGroupSpec_RayStartParamsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fray_2eproto[2]; -} -void HeadGroupSpec_RayStartParamsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool HeadGroupSpec_RayStartParamsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - HeadGroupSpec_RayStartParamsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void HeadGroupSpec::InitAsDefaultInstance() { -} -class HeadGroupSpec::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int HeadGroupSpec::kRayStartParamsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -HeadGroupSpec::HeadGroupSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.HeadGroupSpec) -} -HeadGroupSpec::HeadGroupSpec(const HeadGroupSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ray_start_params_.MergeFrom(from.ray_start_params_); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.HeadGroupSpec) -} - -void HeadGroupSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_HeadGroupSpec_flyteidl_2fplugins_2fray_2eproto.base); -} - -HeadGroupSpec::~HeadGroupSpec() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.HeadGroupSpec) - SharedDtor(); -} - -void HeadGroupSpec::SharedDtor() { -} - -void HeadGroupSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const HeadGroupSpec& HeadGroupSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_HeadGroupSpec_flyteidl_2fplugins_2fray_2eproto.base); - return *internal_default_instance(); -} - - -void HeadGroupSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.HeadGroupSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ray_start_params_.Clear(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* HeadGroupSpec::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // map ray_start_params = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->ray_start_params_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool HeadGroupSpec::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.plugins.HeadGroupSpec) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // map ray_start_params = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - HeadGroupSpec_RayStartParamsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - HeadGroupSpec_RayStartParamsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&ray_start_params_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.plugins.HeadGroupSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.HeadGroupSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void HeadGroupSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.HeadGroupSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map ray_start_params = 1; - if (!this->ray_start_params().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->ray_start_params().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->ray_start_params().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(ray_start_params_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it) { - entry.reset(ray_start_params_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.HeadGroupSpec) -} - -::google::protobuf::uint8* HeadGroupSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.HeadGroupSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // map ray_start_params = 1; - if (!this->ray_start_params().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry.value"); - } - }; - - if (false && - this->ray_start_params().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->ray_start_params().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(ray_start_params_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it) { - entry.reset(ray_start_params_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.HeadGroupSpec) - return target; -} - -size_t HeadGroupSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.HeadGroupSpec) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map ray_start_params = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->ray_start_params_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it) { - entry.reset(ray_start_params_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void HeadGroupSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.HeadGroupSpec) - GOOGLE_DCHECK_NE(&from, this); - const HeadGroupSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.HeadGroupSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.HeadGroupSpec) - MergeFrom(*source); - } -} - -void HeadGroupSpec::MergeFrom(const HeadGroupSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.HeadGroupSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - ray_start_params_.MergeFrom(from.ray_start_params_); -} - -void HeadGroupSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.HeadGroupSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void HeadGroupSpec::CopyFrom(const HeadGroupSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.HeadGroupSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool HeadGroupSpec::IsInitialized() const { - return true; -} - -void HeadGroupSpec::Swap(HeadGroupSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void HeadGroupSpec::InternalSwap(HeadGroupSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - ray_start_params_.Swap(&other->ray_start_params_); -} - -::google::protobuf::Metadata HeadGroupSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fray_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -WorkerGroupSpec_RayStartParamsEntry_DoNotUse::WorkerGroupSpec_RayStartParamsEntry_DoNotUse() {} -WorkerGroupSpec_RayStartParamsEntry_DoNotUse::WorkerGroupSpec_RayStartParamsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void WorkerGroupSpec_RayStartParamsEntry_DoNotUse::MergeFrom(const WorkerGroupSpec_RayStartParamsEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata WorkerGroupSpec_RayStartParamsEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fray_2eproto[4]; -} -void WorkerGroupSpec_RayStartParamsEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkerGroupSpec_RayStartParamsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - WorkerGroupSpec_RayStartParamsEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void WorkerGroupSpec::InitAsDefaultInstance() { -} -class WorkerGroupSpec::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int WorkerGroupSpec::kGroupNameFieldNumber; -const int WorkerGroupSpec::kReplicasFieldNumber; -const int WorkerGroupSpec::kMinReplicasFieldNumber; -const int WorkerGroupSpec::kMaxReplicasFieldNumber; -const int WorkerGroupSpec::kRayStartParamsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -WorkerGroupSpec::WorkerGroupSpec() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.WorkerGroupSpec) -} -WorkerGroupSpec::WorkerGroupSpec(const WorkerGroupSpec& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ray_start_params_.MergeFrom(from.ray_start_params_); - group_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.group_name().size() > 0) { - group_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.group_name_); - } - ::memcpy(&replicas_, &from.replicas_, - static_cast(reinterpret_cast(&max_replicas_) - - reinterpret_cast(&replicas_)) + sizeof(max_replicas_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.WorkerGroupSpec) -} - -void WorkerGroupSpec::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_WorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto.base); - group_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&replicas_, 0, static_cast( - reinterpret_cast(&max_replicas_) - - reinterpret_cast(&replicas_)) + sizeof(max_replicas_)); -} - -WorkerGroupSpec::~WorkerGroupSpec() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.WorkerGroupSpec) - SharedDtor(); -} - -void WorkerGroupSpec::SharedDtor() { - group_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void WorkerGroupSpec::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const WorkerGroupSpec& WorkerGroupSpec::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_WorkerGroupSpec_flyteidl_2fplugins_2fray_2eproto.base); - return *internal_default_instance(); -} - - -void WorkerGroupSpec::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.WorkerGroupSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ray_start_params_.Clear(); - group_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&replicas_, 0, static_cast( - reinterpret_cast(&max_replicas_) - - reinterpret_cast(&replicas_)) + sizeof(max_replicas_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* WorkerGroupSpec::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string group_name = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.WorkerGroupSpec.group_name"); - object = msg->mutable_group_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; - } - // int32 replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 min_replicas = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_min_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 max_replicas = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_max_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // map ray_start_params = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->ray_start_params_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); - break; - } - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->EndGroup(tag); - return ptr; - } - auto res = UnknownFieldParse(tag, {_InternalParse, msg}, - ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); - ptr = res.first; - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); - if (res.second) return ptr; - } - } // switch - } // while - return ptr; -string_till_end: - static_cast<::std::string*>(object)->clear(); - static_cast<::std::string*>(object)->reserve(size); - goto len_delim_till_end; -len_delim_till_end: - return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, - {parser_till_end, object}, size); -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool WorkerGroupSpec::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.plugins.WorkerGroupSpec) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string group_name = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_group_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group_name().data(), static_cast(this->group_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.WorkerGroupSpec.group_name")); - } else { - goto handle_unusual; - } - break; - } - - // int32 replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 min_replicas = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &min_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 max_replicas = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // map ray_start_params = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - WorkerGroupSpec_RayStartParamsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - WorkerGroupSpec_RayStartParamsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&ray_start_params_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - default: { - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.plugins.WorkerGroupSpec) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.WorkerGroupSpec) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void WorkerGroupSpec::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.WorkerGroupSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string group_name = 1; - if (this->group_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group_name().data(), static_cast(this->group_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.WorkerGroupSpec.group_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->group_name(), output); - } - - // int32 replicas = 2; - if (this->replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->replicas(), output); - } - - // int32 min_replicas = 3; - if (this->min_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->min_replicas(), output); - } - - // int32 max_replicas = 4; - if (this->max_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->max_replicas(), output); - } - - // map ray_start_params = 5; - if (!this->ray_start_params().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->ray_start_params().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->ray_start_params().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(ray_start_params_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it) { - entry.reset(ray_start_params_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.WorkerGroupSpec) -} - -::google::protobuf::uint8* WorkerGroupSpec::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.WorkerGroupSpec) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string group_name = 1; - if (this->group_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->group_name().data(), static_cast(this->group_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.WorkerGroupSpec.group_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->group_name(), target); - } - - // int32 replicas = 2; - if (this->replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->replicas(), target); - } - - // int32 min_replicas = 3; - if (this->min_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->min_replicas(), target); - } - - // int32 max_replicas = 4; - if (this->max_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->max_replicas(), target); - } - - // map ray_start_params = 5; - if (!this->ray_start_params().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry.value"); - } - }; - - if (false && - this->ray_start_params().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->ray_start_params().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(ray_start_params_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it) { - entry.reset(ray_start_params_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.WorkerGroupSpec) - return target; -} - -size_t WorkerGroupSpec::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.WorkerGroupSpec) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map ray_start_params = 5; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->ray_start_params_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->ray_start_params().begin(); - it != this->ray_start_params().end(); ++it) { - entry.reset(ray_start_params_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // string group_name = 1; - if (this->group_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->group_name()); - } - - // int32 replicas = 2; - if (this->replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->replicas()); - } - - // int32 min_replicas = 3; - if (this->min_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->min_replicas()); - } - - // int32 max_replicas = 4; - if (this->max_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_replicas()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void WorkerGroupSpec::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.WorkerGroupSpec) - GOOGLE_DCHECK_NE(&from, this); - const WorkerGroupSpec* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.WorkerGroupSpec) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.WorkerGroupSpec) - MergeFrom(*source); - } -} - -void WorkerGroupSpec::MergeFrom(const WorkerGroupSpec& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.WorkerGroupSpec) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - ray_start_params_.MergeFrom(from.ray_start_params_); - if (from.group_name().size() > 0) { - - group_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.group_name_); - } - if (from.replicas() != 0) { - set_replicas(from.replicas()); - } - if (from.min_replicas() != 0) { - set_min_replicas(from.min_replicas()); - } - if (from.max_replicas() != 0) { - set_max_replicas(from.max_replicas()); - } -} - -void WorkerGroupSpec::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.WorkerGroupSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void WorkerGroupSpec::CopyFrom(const WorkerGroupSpec& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.WorkerGroupSpec) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WorkerGroupSpec::IsInitialized() const { - return true; -} - -void WorkerGroupSpec::Swap(WorkerGroupSpec* other) { - if (other == this) return; - InternalSwap(other); -} -void WorkerGroupSpec::InternalSwap(WorkerGroupSpec* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - ray_start_params_.Swap(&other->ray_start_params_); - group_name_.Swap(&other->group_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(replicas_, other->replicas_); - swap(min_replicas_, other->min_replicas_); - swap(max_replicas_, other->max_replicas_); -} - -::google::protobuf::Metadata WorkerGroupSpec::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fray_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::RayJob* Arena::CreateMaybeMessage< ::flyteidl::plugins::RayJob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::RayJob >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::RayCluster* Arena::CreateMaybeMessage< ::flyteidl::plugins::RayCluster >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::RayCluster >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::HeadGroupSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::HeadGroupSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::HeadGroupSpec >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::WorkerGroupSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::WorkerGroupSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::WorkerGroupSpec >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h deleted file mode 100644 index 6d49906b97..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h +++ /dev/null @@ -1,1101 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/ray.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fray_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fray_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fray_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fray_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[6] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fplugins_2fray_2eproto(); -namespace flyteidl { -namespace plugins { -class HeadGroupSpec; -class HeadGroupSpecDefaultTypeInternal; -extern HeadGroupSpecDefaultTypeInternal _HeadGroupSpec_default_instance_; -class HeadGroupSpec_RayStartParamsEntry_DoNotUse; -class HeadGroupSpec_RayStartParamsEntry_DoNotUseDefaultTypeInternal; -extern HeadGroupSpec_RayStartParamsEntry_DoNotUseDefaultTypeInternal _HeadGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_; -class RayCluster; -class RayClusterDefaultTypeInternal; -extern RayClusterDefaultTypeInternal _RayCluster_default_instance_; -class RayJob; -class RayJobDefaultTypeInternal; -extern RayJobDefaultTypeInternal _RayJob_default_instance_; -class WorkerGroupSpec; -class WorkerGroupSpecDefaultTypeInternal; -extern WorkerGroupSpecDefaultTypeInternal _WorkerGroupSpec_default_instance_; -class WorkerGroupSpec_RayStartParamsEntry_DoNotUse; -class WorkerGroupSpec_RayStartParamsEntry_DoNotUseDefaultTypeInternal; -extern WorkerGroupSpec_RayStartParamsEntry_DoNotUseDefaultTypeInternal _WorkerGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::HeadGroupSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::HeadGroupSpec>(Arena*); -template<> ::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse>(Arena*); -template<> ::flyteidl::plugins::RayCluster* Arena::CreateMaybeMessage<::flyteidl::plugins::RayCluster>(Arena*); -template<> ::flyteidl::plugins::RayJob* Arena::CreateMaybeMessage<::flyteidl::plugins::RayJob>(Arena*); -template<> ::flyteidl::plugins::WorkerGroupSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::WorkerGroupSpec>(Arena*); -template<> ::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class RayJob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.RayJob) */ { - public: - RayJob(); - virtual ~RayJob(); - - RayJob(const RayJob& from); - - inline RayJob& operator=(const RayJob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RayJob(RayJob&& from) noexcept - : RayJob() { - *this = ::std::move(from); - } - - inline RayJob& operator=(RayJob&& 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 RayJob& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RayJob* internal_default_instance() { - return reinterpret_cast( - &_RayJob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(RayJob* other); - friend void swap(RayJob& a, RayJob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RayJob* New() const final { - return CreateMaybeMessage(nullptr); - } - - RayJob* 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 RayJob& from); - void MergeFrom(const RayJob& 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(RayJob* 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 runtime_env = 2; - void clear_runtime_env(); - static const int kRuntimeEnvFieldNumber = 2; - const ::std::string& runtime_env() const; - void set_runtime_env(const ::std::string& value); - #if LANG_CXX11 - void set_runtime_env(::std::string&& value); - #endif - void set_runtime_env(const char* value); - void set_runtime_env(const char* value, size_t size); - ::std::string* mutable_runtime_env(); - ::std::string* release_runtime_env(); - void set_allocated_runtime_env(::std::string* runtime_env); - - // .flyteidl.plugins.RayCluster ray_cluster = 1; - bool has_ray_cluster() const; - void clear_ray_cluster(); - static const int kRayClusterFieldNumber = 1; - const ::flyteidl::plugins::RayCluster& ray_cluster() const; - ::flyteidl::plugins::RayCluster* release_ray_cluster(); - ::flyteidl::plugins::RayCluster* mutable_ray_cluster(); - void set_allocated_ray_cluster(::flyteidl::plugins::RayCluster* ray_cluster); - - // bool shutdown_after_job_finishes = 3; - void clear_shutdown_after_job_finishes(); - static const int kShutdownAfterJobFinishesFieldNumber = 3; - bool shutdown_after_job_finishes() const; - void set_shutdown_after_job_finishes(bool value); - - // int32 ttl_seconds_after_finished = 4; - void clear_ttl_seconds_after_finished(); - static const int kTtlSecondsAfterFinishedFieldNumber = 4; - ::google::protobuf::int32 ttl_seconds_after_finished() const; - void set_ttl_seconds_after_finished(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.RayJob) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr runtime_env_; - ::flyteidl::plugins::RayCluster* ray_cluster_; - bool shutdown_after_job_finishes_; - ::google::protobuf::int32 ttl_seconds_after_finished_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fray_2eproto; -}; -// ------------------------------------------------------------------- - -class RayCluster final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.RayCluster) */ { - public: - RayCluster(); - virtual ~RayCluster(); - - RayCluster(const RayCluster& from); - - inline RayCluster& operator=(const RayCluster& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - RayCluster(RayCluster&& from) noexcept - : RayCluster() { - *this = ::std::move(from); - } - - inline RayCluster& operator=(RayCluster&& 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 RayCluster& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const RayCluster* internal_default_instance() { - return reinterpret_cast( - &_RayCluster_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(RayCluster* other); - friend void swap(RayCluster& a, RayCluster& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline RayCluster* New() const final { - return CreateMaybeMessage(nullptr); - } - - RayCluster* 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 RayCluster& from); - void MergeFrom(const RayCluster& 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(RayCluster* 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.plugins.WorkerGroupSpec worker_group_spec = 2; - int worker_group_spec_size() const; - void clear_worker_group_spec(); - static const int kWorkerGroupSpecFieldNumber = 2; - ::flyteidl::plugins::WorkerGroupSpec* mutable_worker_group_spec(int index); - ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::WorkerGroupSpec >* - mutable_worker_group_spec(); - const ::flyteidl::plugins::WorkerGroupSpec& worker_group_spec(int index) const; - ::flyteidl::plugins::WorkerGroupSpec* add_worker_group_spec(); - const ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::WorkerGroupSpec >& - worker_group_spec() const; - - // .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - bool has_head_group_spec() const; - void clear_head_group_spec(); - static const int kHeadGroupSpecFieldNumber = 1; - const ::flyteidl::plugins::HeadGroupSpec& head_group_spec() const; - ::flyteidl::plugins::HeadGroupSpec* release_head_group_spec(); - ::flyteidl::plugins::HeadGroupSpec* mutable_head_group_spec(); - void set_allocated_head_group_spec(::flyteidl::plugins::HeadGroupSpec* head_group_spec); - - // bool enable_autoscaling = 3; - void clear_enable_autoscaling(); - static const int kEnableAutoscalingFieldNumber = 3; - bool enable_autoscaling() const; - void set_enable_autoscaling(bool value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.RayCluster) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::WorkerGroupSpec > worker_group_spec_; - ::flyteidl::plugins::HeadGroupSpec* head_group_spec_; - bool enable_autoscaling_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fray_2eproto; -}; -// ------------------------------------------------------------------- - -class HeadGroupSpec_RayStartParamsEntry_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; - HeadGroupSpec_RayStartParamsEntry_DoNotUse(); - HeadGroupSpec_RayStartParamsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const HeadGroupSpec_RayStartParamsEntry_DoNotUse& other); - static const HeadGroupSpec_RayStartParamsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_HeadGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class HeadGroupSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.HeadGroupSpec) */ { - public: - HeadGroupSpec(); - virtual ~HeadGroupSpec(); - - HeadGroupSpec(const HeadGroupSpec& from); - - inline HeadGroupSpec& operator=(const HeadGroupSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - HeadGroupSpec(HeadGroupSpec&& from) noexcept - : HeadGroupSpec() { - *this = ::std::move(from); - } - - inline HeadGroupSpec& operator=(HeadGroupSpec&& 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 HeadGroupSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const HeadGroupSpec* internal_default_instance() { - return reinterpret_cast( - &_HeadGroupSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(HeadGroupSpec* other); - friend void swap(HeadGroupSpec& a, HeadGroupSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline HeadGroupSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - HeadGroupSpec* 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 HeadGroupSpec& from); - void MergeFrom(const HeadGroupSpec& 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(HeadGroupSpec* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map ray_start_params = 1; - int ray_start_params_size() const; - void clear_ray_start_params(); - static const int kRayStartParamsFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::std::string >& - ray_start_params() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_ray_start_params(); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.HeadGroupSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - HeadGroupSpec_RayStartParamsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > ray_start_params_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fray_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkerGroupSpec_RayStartParamsEntry_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; - WorkerGroupSpec_RayStartParamsEntry_DoNotUse(); - WorkerGroupSpec_RayStartParamsEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const WorkerGroupSpec_RayStartParamsEntry_DoNotUse& other); - static const WorkerGroupSpec_RayStartParamsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_WorkerGroupSpec_RayStartParamsEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class WorkerGroupSpec final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.WorkerGroupSpec) */ { - public: - WorkerGroupSpec(); - virtual ~WorkerGroupSpec(); - - WorkerGroupSpec(const WorkerGroupSpec& from); - - inline WorkerGroupSpec& operator=(const WorkerGroupSpec& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - WorkerGroupSpec(WorkerGroupSpec&& from) noexcept - : WorkerGroupSpec() { - *this = ::std::move(from); - } - - inline WorkerGroupSpec& operator=(WorkerGroupSpec&& 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 WorkerGroupSpec& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const WorkerGroupSpec* internal_default_instance() { - return reinterpret_cast( - &_WorkerGroupSpec_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(WorkerGroupSpec* other); - friend void swap(WorkerGroupSpec& a, WorkerGroupSpec& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline WorkerGroupSpec* New() const final { - return CreateMaybeMessage(nullptr); - } - - WorkerGroupSpec* 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 WorkerGroupSpec& from); - void MergeFrom(const WorkerGroupSpec& 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(WorkerGroupSpec* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map ray_start_params = 5; - int ray_start_params_size() const; - void clear_ray_start_params(); - static const int kRayStartParamsFieldNumber = 5; - const ::google::protobuf::Map< ::std::string, ::std::string >& - ray_start_params() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_ray_start_params(); - - // string group_name = 1; - void clear_group_name(); - static const int kGroupNameFieldNumber = 1; - const ::std::string& group_name() const; - void set_group_name(const ::std::string& value); - #if LANG_CXX11 - void set_group_name(::std::string&& value); - #endif - void set_group_name(const char* value); - void set_group_name(const char* value, size_t size); - ::std::string* mutable_group_name(); - ::std::string* release_group_name(); - void set_allocated_group_name(::std::string* group_name); - - // int32 replicas = 2; - void clear_replicas(); - static const int kReplicasFieldNumber = 2; - ::google::protobuf::int32 replicas() const; - void set_replicas(::google::protobuf::int32 value); - - // int32 min_replicas = 3; - void clear_min_replicas(); - static const int kMinReplicasFieldNumber = 3; - ::google::protobuf::int32 min_replicas() const; - void set_min_replicas(::google::protobuf::int32 value); - - // int32 max_replicas = 4; - void clear_max_replicas(); - static const int kMaxReplicasFieldNumber = 4; - ::google::protobuf::int32 max_replicas() const; - void set_max_replicas(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.WorkerGroupSpec) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - WorkerGroupSpec_RayStartParamsEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > ray_start_params_; - ::google::protobuf::internal::ArenaStringPtr group_name_; - ::google::protobuf::int32 replicas_; - ::google::protobuf::int32 min_replicas_; - ::google::protobuf::int32 max_replicas_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fray_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// RayJob - -// .flyteidl.plugins.RayCluster ray_cluster = 1; -inline bool RayJob::has_ray_cluster() const { - return this != internal_default_instance() && ray_cluster_ != nullptr; -} -inline void RayJob::clear_ray_cluster() { - if (GetArenaNoVirtual() == nullptr && ray_cluster_ != nullptr) { - delete ray_cluster_; - } - ray_cluster_ = nullptr; -} -inline const ::flyteidl::plugins::RayCluster& RayJob::ray_cluster() const { - const ::flyteidl::plugins::RayCluster* p = ray_cluster_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.RayJob.ray_cluster) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::_RayCluster_default_instance_); -} -inline ::flyteidl::plugins::RayCluster* RayJob::release_ray_cluster() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.RayJob.ray_cluster) - - ::flyteidl::plugins::RayCluster* temp = ray_cluster_; - ray_cluster_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::RayCluster* RayJob::mutable_ray_cluster() { - - if (ray_cluster_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::RayCluster>(GetArenaNoVirtual()); - ray_cluster_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.RayJob.ray_cluster) - return ray_cluster_; -} -inline void RayJob::set_allocated_ray_cluster(::flyteidl::plugins::RayCluster* ray_cluster) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete ray_cluster_; - } - if (ray_cluster) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - ray_cluster = ::google::protobuf::internal::GetOwnedMessage( - message_arena, ray_cluster, submessage_arena); - } - - } else { - - } - ray_cluster_ = ray_cluster; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.RayJob.ray_cluster) -} - -// string runtime_env = 2; -inline void RayJob::clear_runtime_env() { - runtime_env_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& RayJob::runtime_env() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.RayJob.runtime_env) - return runtime_env_.GetNoArena(); -} -inline void RayJob::set_runtime_env(const ::std::string& value) { - - runtime_env_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.RayJob.runtime_env) -} -#if LANG_CXX11 -inline void RayJob::set_runtime_env(::std::string&& value) { - - runtime_env_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.RayJob.runtime_env) -} -#endif -inline void RayJob::set_runtime_env(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - runtime_env_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.RayJob.runtime_env) -} -inline void RayJob::set_runtime_env(const char* value, size_t size) { - - runtime_env_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.RayJob.runtime_env) -} -inline ::std::string* RayJob::mutable_runtime_env() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.RayJob.runtime_env) - return runtime_env_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* RayJob::release_runtime_env() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.RayJob.runtime_env) - - return runtime_env_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void RayJob::set_allocated_runtime_env(::std::string* runtime_env) { - if (runtime_env != nullptr) { - - } else { - - } - runtime_env_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), runtime_env); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.RayJob.runtime_env) -} - -// bool shutdown_after_job_finishes = 3; -inline void RayJob::clear_shutdown_after_job_finishes() { - shutdown_after_job_finishes_ = false; -} -inline bool RayJob::shutdown_after_job_finishes() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.RayJob.shutdown_after_job_finishes) - return shutdown_after_job_finishes_; -} -inline void RayJob::set_shutdown_after_job_finishes(bool value) { - - shutdown_after_job_finishes_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.RayJob.shutdown_after_job_finishes) -} - -// int32 ttl_seconds_after_finished = 4; -inline void RayJob::clear_ttl_seconds_after_finished() { - ttl_seconds_after_finished_ = 0; -} -inline ::google::protobuf::int32 RayJob::ttl_seconds_after_finished() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.RayJob.ttl_seconds_after_finished) - return ttl_seconds_after_finished_; -} -inline void RayJob::set_ttl_seconds_after_finished(::google::protobuf::int32 value) { - - ttl_seconds_after_finished_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.RayJob.ttl_seconds_after_finished) -} - -// ------------------------------------------------------------------- - -// RayCluster - -// .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; -inline bool RayCluster::has_head_group_spec() const { - return this != internal_default_instance() && head_group_spec_ != nullptr; -} -inline void RayCluster::clear_head_group_spec() { - if (GetArenaNoVirtual() == nullptr && head_group_spec_ != nullptr) { - delete head_group_spec_; - } - head_group_spec_ = nullptr; -} -inline const ::flyteidl::plugins::HeadGroupSpec& RayCluster::head_group_spec() const { - const ::flyteidl::plugins::HeadGroupSpec* p = head_group_spec_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.RayCluster.head_group_spec) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::plugins::_HeadGroupSpec_default_instance_); -} -inline ::flyteidl::plugins::HeadGroupSpec* RayCluster::release_head_group_spec() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.RayCluster.head_group_spec) - - ::flyteidl::plugins::HeadGroupSpec* temp = head_group_spec_; - head_group_spec_ = nullptr; - return temp; -} -inline ::flyteidl::plugins::HeadGroupSpec* RayCluster::mutable_head_group_spec() { - - if (head_group_spec_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::plugins::HeadGroupSpec>(GetArenaNoVirtual()); - head_group_spec_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.RayCluster.head_group_spec) - return head_group_spec_; -} -inline void RayCluster::set_allocated_head_group_spec(::flyteidl::plugins::HeadGroupSpec* head_group_spec) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete head_group_spec_; - } - if (head_group_spec) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - head_group_spec = ::google::protobuf::internal::GetOwnedMessage( - message_arena, head_group_spec, submessage_arena); - } - - } else { - - } - head_group_spec_ = head_group_spec; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.RayCluster.head_group_spec) -} - -// repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; -inline int RayCluster::worker_group_spec_size() const { - return worker_group_spec_.size(); -} -inline void RayCluster::clear_worker_group_spec() { - worker_group_spec_.Clear(); -} -inline ::flyteidl::plugins::WorkerGroupSpec* RayCluster::mutable_worker_group_spec(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.RayCluster.worker_group_spec) - return worker_group_spec_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::WorkerGroupSpec >* -RayCluster::mutable_worker_group_spec() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.plugins.RayCluster.worker_group_spec) - return &worker_group_spec_; -} -inline const ::flyteidl::plugins::WorkerGroupSpec& RayCluster::worker_group_spec(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.RayCluster.worker_group_spec) - return worker_group_spec_.Get(index); -} -inline ::flyteidl::plugins::WorkerGroupSpec* RayCluster::add_worker_group_spec() { - // @@protoc_insertion_point(field_add:flyteidl.plugins.RayCluster.worker_group_spec) - return worker_group_spec_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::plugins::WorkerGroupSpec >& -RayCluster::worker_group_spec() const { - // @@protoc_insertion_point(field_list:flyteidl.plugins.RayCluster.worker_group_spec) - return worker_group_spec_; -} - -// bool enable_autoscaling = 3; -inline void RayCluster::clear_enable_autoscaling() { - enable_autoscaling_ = false; -} -inline bool RayCluster::enable_autoscaling() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.RayCluster.enable_autoscaling) - return enable_autoscaling_; -} -inline void RayCluster::set_enable_autoscaling(bool value) { - - enable_autoscaling_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.RayCluster.enable_autoscaling) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// HeadGroupSpec - -// map ray_start_params = 1; -inline int HeadGroupSpec::ray_start_params_size() const { - return ray_start_params_.size(); -} -inline void HeadGroupSpec::clear_ray_start_params() { - ray_start_params_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -HeadGroupSpec::ray_start_params() const { - // @@protoc_insertion_point(field_map:flyteidl.plugins.HeadGroupSpec.ray_start_params) - return ray_start_params_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -HeadGroupSpec::mutable_ray_start_params() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.plugins.HeadGroupSpec.ray_start_params) - return ray_start_params_.MutableMap(); -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// WorkerGroupSpec - -// string group_name = 1; -inline void WorkerGroupSpec::clear_group_name() { - group_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& WorkerGroupSpec::group_name() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.WorkerGroupSpec.group_name) - return group_name_.GetNoArena(); -} -inline void WorkerGroupSpec::set_group_name(const ::std::string& value) { - - group_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.WorkerGroupSpec.group_name) -} -#if LANG_CXX11 -inline void WorkerGroupSpec::set_group_name(::std::string&& value) { - - group_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.WorkerGroupSpec.group_name) -} -#endif -inline void WorkerGroupSpec::set_group_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - group_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.WorkerGroupSpec.group_name) -} -inline void WorkerGroupSpec::set_group_name(const char* value, size_t size) { - - group_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.WorkerGroupSpec.group_name) -} -inline ::std::string* WorkerGroupSpec::mutable_group_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.WorkerGroupSpec.group_name) - return group_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* WorkerGroupSpec::release_group_name() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.WorkerGroupSpec.group_name) - - return group_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void WorkerGroupSpec::set_allocated_group_name(::std::string* group_name) { - if (group_name != nullptr) { - - } else { - - } - group_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.WorkerGroupSpec.group_name) -} - -// int32 replicas = 2; -inline void WorkerGroupSpec::clear_replicas() { - replicas_ = 0; -} -inline ::google::protobuf::int32 WorkerGroupSpec::replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.WorkerGroupSpec.replicas) - return replicas_; -} -inline void WorkerGroupSpec::set_replicas(::google::protobuf::int32 value) { - - replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.WorkerGroupSpec.replicas) -} - -// int32 min_replicas = 3; -inline void WorkerGroupSpec::clear_min_replicas() { - min_replicas_ = 0; -} -inline ::google::protobuf::int32 WorkerGroupSpec::min_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.WorkerGroupSpec.min_replicas) - return min_replicas_; -} -inline void WorkerGroupSpec::set_min_replicas(::google::protobuf::int32 value) { - - min_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.WorkerGroupSpec.min_replicas) -} - -// int32 max_replicas = 4; -inline void WorkerGroupSpec::clear_max_replicas() { - max_replicas_ = 0; -} -inline ::google::protobuf::int32 WorkerGroupSpec::max_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.WorkerGroupSpec.max_replicas) - return max_replicas_; -} -inline void WorkerGroupSpec::set_max_replicas(::google::protobuf::int32 value) { - - max_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.WorkerGroupSpec.max_replicas) -} - -// map ray_start_params = 5; -inline int WorkerGroupSpec::ray_start_params_size() const { - return ray_start_params_.size(); -} -inline void WorkerGroupSpec::clear_ray_start_params() { - ray_start_params_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -WorkerGroupSpec::ray_start_params() const { - // @@protoc_insertion_point(field_map:flyteidl.plugins.WorkerGroupSpec.ray_start_params) - return ray_start_params_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -WorkerGroupSpec::mutable_ray_start_params() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.plugins.WorkerGroupSpec.ray_start_params) - return ray_start_params_.MutableMap(); -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fray_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.grpc.pb.cc deleted file mode 100644 index 1f9111abee..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/spark.proto - -#include "flyteidl/plugins/spark.pb.h" -#include "flyteidl/plugins/spark.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.grpc.pb.h deleted file mode 100644 index c6a35b10ad..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/spark.proto -#ifndef GRPC_flyteidl_2fplugins_2fspark_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fspark_2eproto__INCLUDED - -#include "flyteidl/plugins/spark.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fspark_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.pb.cc deleted file mode 100644 index 8cb82c83b5..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.pb.cc +++ /dev/null @@ -1,1580 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/spark.proto - -#include "flyteidl/plugins/spark.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fspark_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SparkJob_HadoopConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fspark_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SparkJob_SparkConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -namespace flyteidl { -namespace plugins { -class SparkApplicationDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SparkApplication_default_instance_; -class SparkJob_SparkConfEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SparkJob_SparkConfEntry_DoNotUse_default_instance_; -class SparkJob_HadoopConfEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SparkJob_HadoopConfEntry_DoNotUse_default_instance_; -class SparkJobDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _SparkJob_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsSparkApplication_flyteidl_2fplugins_2fspark_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_SparkApplication_default_instance_; - new (ptr) ::flyteidl::plugins::SparkApplication(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::SparkApplication::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SparkApplication_flyteidl_2fplugins_2fspark_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSparkApplication_flyteidl_2fplugins_2fspark_2eproto}, {}}; - -static void InitDefaultsSparkJob_SparkConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_SparkJob_SparkConfEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse(); - } - ::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SparkJob_SparkConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSparkJob_SparkConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto}, {}}; - -static void InitDefaultsSparkJob_HadoopConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_SparkJob_HadoopConfEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse(); - } - ::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_SparkJob_HadoopConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSparkJob_HadoopConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto}, {}}; - -static void InitDefaultsSparkJob_flyteidl_2fplugins_2fspark_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_SparkJob_default_instance_; - new (ptr) ::flyteidl::plugins::SparkJob(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::SparkJob::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<3> scc_info_SparkJob_flyteidl_2fplugins_2fspark_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsSparkJob_flyteidl_2fplugins_2fspark_2eproto}, { - &scc_info_SparkJob_SparkConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto.base, - &scc_info_SparkJob_HadoopConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fspark_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_SparkApplication_flyteidl_2fplugins_2fspark_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SparkJob_SparkConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SparkJob_HadoopConfEntry_DoNotUse_flyteidl_2fplugins_2fspark_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_SparkJob_flyteidl_2fplugins_2fspark_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fspark_2eproto[4]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fplugins_2fspark_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fspark_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fspark_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkApplication, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse, value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse, value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, applicationtype_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, mainapplicationfile_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, mainclass_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, sparkconf_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, hadoopconf_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, executorpath_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, databricksconf_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, databrickstoken_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::SparkJob, databricksinstance_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::SparkApplication)}, - { 5, 12, sizeof(::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse)}, - { 14, 21, sizeof(::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse)}, - { 23, -1, sizeof(::flyteidl::plugins::SparkJob)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_SparkApplication_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_SparkJob_SparkConfEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_SparkJob_HadoopConfEntry_DoNotUse_default_instance_), - reinterpret_cast(&::flyteidl::plugins::_SparkJob_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fspark_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fspark_2eproto, "flyteidl/plugins/spark.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fspark_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fspark_2eproto, 4, file_level_enum_descriptors_flyteidl_2fplugins_2fspark_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fspark_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fspark_2eproto[] = - "\n\034flyteidl/plugins/spark.proto\022\020flyteidl" - ".plugins\032\034google/protobuf/struct.proto\"B" - "\n\020SparkApplication\".\n\004Type\022\n\n\006PYTHON\020\000\022\010" - "\n\004JAVA\020\001\022\t\n\005SCALA\020\002\022\005\n\001R\020\003\"\333\003\n\010SparkJob\022" - "@\n\017applicationType\030\001 \001(\0162\'.flyteidl.plug" - "ins.SparkApplication.Type\022\033\n\023mainApplica" - "tionFile\030\002 \001(\t\022\021\n\tmainClass\030\003 \001(\t\022<\n\tspa" - "rkConf\030\004 \003(\0132).flyteidl.plugins.SparkJob" - ".SparkConfEntry\022>\n\nhadoopConf\030\005 \003(\0132*.fl" - "yteidl.plugins.SparkJob.HadoopConfEntry\022" - "\024\n\014executorPath\030\006 \001(\t\022/\n\016databricksConf\030" - "\007 \001(\0132\027.google.protobuf.Struct\022\027\n\017databr" - "icksToken\030\010 \001(\t\022\032\n\022databricksInstance\030\t " - "\001(\t\0320\n\016SparkConfEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - "lue\030\002 \001(\t:\0028\001\0321\n\017HadoopConfEntry\022\013\n\003key\030" - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\?Z=github.com/f" - "lyteorg/flyte/flyteidl/gen/pb-go/flyteid" - "l/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fspark_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fspark_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fspark_2eproto, - "flyteidl/plugins/spark.proto", &assign_descriptors_table_flyteidl_2fplugins_2fspark_2eproto, 697, -}; - -void AddDescriptors_flyteidl_2fplugins_2fspark_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_google_2fprotobuf_2fstruct_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fspark_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fspark_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fspark_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { -const ::google::protobuf::EnumDescriptor* SparkApplication_Type_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fplugins_2fspark_2eproto); - return file_level_enum_descriptors_flyteidl_2fplugins_2fspark_2eproto[0]; -} -bool SparkApplication_Type_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const SparkApplication_Type SparkApplication::PYTHON; -const SparkApplication_Type SparkApplication::JAVA; -const SparkApplication_Type SparkApplication::SCALA; -const SparkApplication_Type SparkApplication::R; -const SparkApplication_Type SparkApplication::Type_MIN; -const SparkApplication_Type SparkApplication::Type_MAX; -const int SparkApplication::Type_ARRAYSIZE; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -// =================================================================== - -void SparkApplication::InitAsDefaultInstance() { -} -class SparkApplication::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SparkApplication::SparkApplication() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.SparkApplication) -} -SparkApplication::SparkApplication(const SparkApplication& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.SparkApplication) -} - -void SparkApplication::SharedCtor() { -} - -SparkApplication::~SparkApplication() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.SparkApplication) - SharedDtor(); -} - -void SparkApplication::SharedDtor() { -} - -void SparkApplication::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SparkApplication& SparkApplication::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SparkApplication_flyteidl_2fplugins_2fspark_2eproto.base); - return *internal_default_instance(); -} - - -void SparkApplication::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.SparkApplication) - ::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* SparkApplication::_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 SparkApplication::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.plugins.SparkApplication) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.plugins.SparkApplication) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.SparkApplication) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SparkApplication::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.SparkApplication) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.SparkApplication) -} - -::google::protobuf::uint8* SparkApplication::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.SparkApplication) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.SparkApplication) - return target; -} - -size_t SparkApplication::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.SparkApplication) - 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 SparkApplication::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.SparkApplication) - GOOGLE_DCHECK_NE(&from, this); - const SparkApplication* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.SparkApplication) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.SparkApplication) - MergeFrom(*source); - } -} - -void SparkApplication::MergeFrom(const SparkApplication& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.SparkApplication) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void SparkApplication::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.SparkApplication) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SparkApplication::CopyFrom(const SparkApplication& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.SparkApplication) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SparkApplication::IsInitialized() const { - return true; -} - -void SparkApplication::Swap(SparkApplication* other) { - if (other == this) return; - InternalSwap(other); -} -void SparkApplication::InternalSwap(SparkApplication* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata SparkApplication::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fspark_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fspark_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -SparkJob_SparkConfEntry_DoNotUse::SparkJob_SparkConfEntry_DoNotUse() {} -SparkJob_SparkConfEntry_DoNotUse::SparkJob_SparkConfEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void SparkJob_SparkConfEntry_DoNotUse::MergeFrom(const SparkJob_SparkConfEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata SparkJob_SparkConfEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fspark_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fspark_2eproto[1]; -} -void SparkJob_SparkConfEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool SparkJob_SparkConfEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - SparkJob_SparkConfEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.SparkConfEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.SparkConfEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -SparkJob_HadoopConfEntry_DoNotUse::SparkJob_HadoopConfEntry_DoNotUse() {} -SparkJob_HadoopConfEntry_DoNotUse::SparkJob_HadoopConfEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void SparkJob_HadoopConfEntry_DoNotUse::MergeFrom(const SparkJob_HadoopConfEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata SparkJob_HadoopConfEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fspark_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fspark_2eproto[2]; -} -void SparkJob_HadoopConfEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool SparkJob_HadoopConfEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - SparkJob_HadoopConfEntry_DoNotUse, EntryKeyType, EntryValueType, - kEntryKeyFieldType, kEntryValueFieldType, - kEntryDefaultEnumValue>; - auto mf = static_cast(object); - Parser> parser(mf); -#define DO_(x) if (!(x)) return false - DO_(parser.ParseMap(begin, end)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - -// =================================================================== - -void SparkJob::InitAsDefaultInstance() { - ::flyteidl::plugins::_SparkJob_default_instance_._instance.get_mutable()->databricksconf_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); -} -class SparkJob::HasBitSetters { - public: - static const ::google::protobuf::Struct& databricksconf(const SparkJob* msg); -}; - -const ::google::protobuf::Struct& -SparkJob::HasBitSetters::databricksconf(const SparkJob* msg) { - return *msg->databricksconf_; -} -void SparkJob::clear_databricksconf() { - if (GetArenaNoVirtual() == nullptr && databricksconf_ != nullptr) { - delete databricksconf_; - } - databricksconf_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int SparkJob::kApplicationTypeFieldNumber; -const int SparkJob::kMainApplicationFileFieldNumber; -const int SparkJob::kMainClassFieldNumber; -const int SparkJob::kSparkConfFieldNumber; -const int SparkJob::kHadoopConfFieldNumber; -const int SparkJob::kExecutorPathFieldNumber; -const int SparkJob::kDatabricksConfFieldNumber; -const int SparkJob::kDatabricksTokenFieldNumber; -const int SparkJob::kDatabricksInstanceFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -SparkJob::SparkJob() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.SparkJob) -} -SparkJob::SparkJob(const SparkJob& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - sparkconf_.MergeFrom(from.sparkconf_); - hadoopconf_.MergeFrom(from.hadoopconf_); - mainapplicationfile_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.mainapplicationfile().size() > 0) { - mainapplicationfile_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mainapplicationfile_); - } - mainclass_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.mainclass().size() > 0) { - mainclass_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mainclass_); - } - executorpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.executorpath().size() > 0) { - executorpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.executorpath_); - } - databrickstoken_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.databrickstoken().size() > 0) { - databrickstoken_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.databrickstoken_); - } - databricksinstance_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.databricksinstance().size() > 0) { - databricksinstance_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.databricksinstance_); - } - if (from.has_databricksconf()) { - databricksconf_ = new ::google::protobuf::Struct(*from.databricksconf_); - } else { - databricksconf_ = nullptr; - } - applicationtype_ = from.applicationtype_; - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.SparkJob) -} - -void SparkJob::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_SparkJob_flyteidl_2fplugins_2fspark_2eproto.base); - mainapplicationfile_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - mainclass_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - executorpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - databrickstoken_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - databricksinstance_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&databricksconf_, 0, static_cast( - reinterpret_cast(&applicationtype_) - - reinterpret_cast(&databricksconf_)) + sizeof(applicationtype_)); -} - -SparkJob::~SparkJob() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.SparkJob) - SharedDtor(); -} - -void SparkJob::SharedDtor() { - mainapplicationfile_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - mainclass_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - executorpath_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - databrickstoken_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - databricksinstance_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete databricksconf_; -} - -void SparkJob::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const SparkJob& SparkJob::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_SparkJob_flyteidl_2fplugins_2fspark_2eproto.base); - return *internal_default_instance(); -} - - -void SparkJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.SparkJob) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - sparkconf_.Clear(); - hadoopconf_.Clear(); - mainapplicationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - mainclass_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - executorpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - databrickstoken_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - databricksinstance_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && databricksconf_ != nullptr) { - delete databricksconf_; - } - databricksconf_ = nullptr; - applicationtype_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* SparkJob::_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.plugins.SparkApplication.Type applicationType = 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_applicationtype(static_cast<::flyteidl::plugins::SparkApplication_Type>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string mainApplicationFile = 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.plugins.SparkJob.mainApplicationFile"); - object = msg->mutable_mainapplicationfile(); - 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 mainClass = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.SparkJob.mainClass"); - object = msg->mutable_mainclass(); - 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; - } - // map sparkConf = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->sparkconf_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); - break; - } - // map hadoopConf = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; - auto parse_map = ::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->hadoopconf_; - if (size > end - ptr) goto len_delim_till_end; - auto newend = ptr + size; - GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); - ptr = newend; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); - break; - } - // string executorPath = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.SparkJob.executorPath"); - object = msg->mutable_executorpath(); - 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; - } - // .google.protobuf.Struct databricksConf = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_databricksconf(); - 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 databricksToken = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.SparkJob.databricksToken"); - object = msg->mutable_databrickstoken(); - 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 databricksInstance = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.SparkJob.databricksInstance"); - object = msg->mutable_databricksinstance(); - 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 SparkJob::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.plugins.SparkJob) - 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.plugins.SparkApplication.Type applicationType = 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_applicationtype(static_cast< ::flyteidl::plugins::SparkApplication_Type >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string mainApplicationFile = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_mainapplicationfile())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->mainapplicationfile().data(), static_cast(this->mainapplicationfile().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.mainApplicationFile")); - } else { - goto handle_unusual; - } - break; - } - - // string mainClass = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_mainclass())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->mainclass().data(), static_cast(this->mainclass().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.mainClass")); - } else { - goto handle_unusual; - } - break; - } - - // map sparkConf = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - SparkJob_SparkConfEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - SparkJob_SparkConfEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&sparkconf_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.SparkConfEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.SparkConfEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - // map hadoopConf = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - SparkJob_HadoopConfEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - SparkJob_HadoopConfEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&hadoopconf_); - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, &parser)); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.key().data(), static_cast(parser.key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.value")); - } else { - goto handle_unusual; - } - break; - } - - // string executorPath = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_executorpath())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->executorpath().data(), static_cast(this->executorpath().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.executorPath")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct databricksConf = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_databricksconf())); - } else { - goto handle_unusual; - } - break; - } - - // string databricksToken = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_databrickstoken())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->databrickstoken().data(), static_cast(this->databrickstoken().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.databricksToken")); - } else { - goto handle_unusual; - } - break; - } - - // string databricksInstance = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_databricksinstance())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->databricksinstance().data(), static_cast(this->databricksinstance().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.SparkJob.databricksInstance")); - } 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.plugins.SparkJob) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.SparkJob) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void SparkJob::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.SparkJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.SparkApplication.Type applicationType = 1; - if (this->applicationtype() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->applicationtype(), output); - } - - // string mainApplicationFile = 2; - if (this->mainapplicationfile().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->mainapplicationfile().data(), static_cast(this->mainapplicationfile().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.mainApplicationFile"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->mainapplicationfile(), output); - } - - // string mainClass = 3; - if (this->mainclass().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->mainclass().data(), static_cast(this->mainclass().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.mainClass"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->mainclass(), output); - } - - // map sparkConf = 4; - if (!this->sparkconf().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.SparkConfEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.SparkConfEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->sparkconf().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->sparkconf().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->sparkconf().begin(); - it != this->sparkconf().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(sparkconf_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(4, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->sparkconf().begin(); - it != this->sparkconf().end(); ++it) { - entry.reset(sparkconf_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(4, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // map hadoopConf = 5; - if (!this->hadoopconf().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->hadoopconf().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->hadoopconf().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->hadoopconf().begin(); - it != this->hadoopconf().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(hadoopconf_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->hadoopconf().begin(); - it != this->hadoopconf().end(); ++it) { - entry.reset(hadoopconf_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5, *entry, output); - Utf8Check::Check(&(*it)); - } - } - } - - // string executorPath = 6; - if (this->executorpath().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->executorpath().data(), static_cast(this->executorpath().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.executorPath"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->executorpath(), output); - } - - // .google.protobuf.Struct databricksConf = 7; - if (this->has_databricksconf()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, HasBitSetters::databricksconf(this), output); - } - - // string databricksToken = 8; - if (this->databrickstoken().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->databrickstoken().data(), static_cast(this->databrickstoken().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.databricksToken"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 8, this->databrickstoken(), output); - } - - // string databricksInstance = 9; - if (this->databricksinstance().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->databricksinstance().data(), static_cast(this->databricksinstance().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.databricksInstance"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 9, this->databricksinstance(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.SparkJob) -} - -::google::protobuf::uint8* SparkJob::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.SparkJob) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.plugins.SparkApplication.Type applicationType = 1; - if (this->applicationtype() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->applicationtype(), target); - } - - // string mainApplicationFile = 2; - if (this->mainapplicationfile().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->mainapplicationfile().data(), static_cast(this->mainapplicationfile().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.mainApplicationFile"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->mainapplicationfile(), target); - } - - // string mainClass = 3; - if (this->mainclass().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->mainclass().data(), static_cast(this->mainclass().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.mainClass"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->mainclass(), target); - } - - // map sparkConf = 4; - if (!this->sparkconf().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.SparkConfEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.SparkConfEntry.value"); - } - }; - - if (false && - this->sparkconf().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->sparkconf().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->sparkconf().begin(); - it != this->sparkconf().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(sparkconf_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(4, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->sparkconf().begin(); - it != this->sparkconf().end(); ++it) { - entry.reset(sparkconf_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(4, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // map hadoopConf = 5; - if (!this->hadoopconf().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::const_pointer - ConstPtr; - typedef ConstPtr SortItem; - typedef ::google::protobuf::internal::CompareByDerefFirst Less; - struct Utf8Check { - static void Check(ConstPtr p) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->first.data(), static_cast(p->first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.HadoopConfEntry.value"); - } - }; - - if (false && - this->hadoopconf().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->hadoopconf().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->hadoopconf().begin(); - it != this->hadoopconf().end(); ++it, ++n) { - items[static_cast(n)] = SortItem(&*it); - } - ::std::sort(&items[0], &items[static_cast(n)], Less()); - ::std::unique_ptr entry; - for (size_type i = 0; i < n; i++) { - entry.reset(hadoopconf_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); - Utf8Check::Check(&(*items[static_cast(i)])); - } - } else { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->hadoopconf().begin(); - it != this->hadoopconf().end(); ++it) { - entry.reset(hadoopconf_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(5, *entry, target); - Utf8Check::Check(&(*it)); - } - } - } - - // string executorPath = 6; - if (this->executorpath().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->executorpath().data(), static_cast(this->executorpath().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.executorPath"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->executorpath(), target); - } - - // .google.protobuf.Struct databricksConf = 7; - if (this->has_databricksconf()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 7, HasBitSetters::databricksconf(this), target); - } - - // string databricksToken = 8; - if (this->databrickstoken().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->databrickstoken().data(), static_cast(this->databrickstoken().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.databricksToken"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 8, this->databrickstoken(), target); - } - - // string databricksInstance = 9; - if (this->databricksinstance().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->databricksinstance().data(), static_cast(this->databricksinstance().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.SparkJob.databricksInstance"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 9, this->databricksinstance(), 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.plugins.SparkJob) - return target; -} - -size_t SparkJob::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.SparkJob) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // map sparkConf = 4; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->sparkconf_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->sparkconf().begin(); - it != this->sparkconf().end(); ++it) { - entry.reset(sparkconf_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // map hadoopConf = 5; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->hadoopconf_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->hadoopconf().begin(); - it != this->hadoopconf().end(); ++it) { - entry.reset(hadoopconf_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - - // string mainApplicationFile = 2; - if (this->mainapplicationfile().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->mainapplicationfile()); - } - - // string mainClass = 3; - if (this->mainclass().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->mainclass()); - } - - // string executorPath = 6; - if (this->executorpath().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->executorpath()); - } - - // string databricksToken = 8; - if (this->databrickstoken().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->databrickstoken()); - } - - // string databricksInstance = 9; - if (this->databricksinstance().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->databricksinstance()); - } - - // .google.protobuf.Struct databricksConf = 7; - if (this->has_databricksconf()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *databricksconf_); - } - - // .flyteidl.plugins.SparkApplication.Type applicationType = 1; - if (this->applicationtype() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->applicationtype()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void SparkJob::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.SparkJob) - GOOGLE_DCHECK_NE(&from, this); - const SparkJob* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.SparkJob) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.SparkJob) - MergeFrom(*source); - } -} - -void SparkJob::MergeFrom(const SparkJob& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.SparkJob) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - sparkconf_.MergeFrom(from.sparkconf_); - hadoopconf_.MergeFrom(from.hadoopconf_); - if (from.mainapplicationfile().size() > 0) { - - mainapplicationfile_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mainapplicationfile_); - } - if (from.mainclass().size() > 0) { - - mainclass_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mainclass_); - } - if (from.executorpath().size() > 0) { - - executorpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.executorpath_); - } - if (from.databrickstoken().size() > 0) { - - databrickstoken_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.databrickstoken_); - } - if (from.databricksinstance().size() > 0) { - - databricksinstance_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.databricksinstance_); - } - if (from.has_databricksconf()) { - mutable_databricksconf()->::google::protobuf::Struct::MergeFrom(from.databricksconf()); - } - if (from.applicationtype() != 0) { - set_applicationtype(from.applicationtype()); - } -} - -void SparkJob::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.SparkJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void SparkJob::CopyFrom(const SparkJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.SparkJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool SparkJob::IsInitialized() const { - return true; -} - -void SparkJob::Swap(SparkJob* other) { - if (other == this) return; - InternalSwap(other); -} -void SparkJob::InternalSwap(SparkJob* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - sparkconf_.Swap(&other->sparkconf_); - hadoopconf_.Swap(&other->hadoopconf_); - mainapplicationfile_.Swap(&other->mainapplicationfile_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - mainclass_.Swap(&other->mainclass_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - executorpath_.Swap(&other->executorpath_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - databrickstoken_.Swap(&other->databrickstoken_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - databricksinstance_.Swap(&other->databricksinstance_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(databricksconf_, other->databricksconf_); - swap(applicationtype_, other->applicationtype_); -} - -::google::protobuf::Metadata SparkJob::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fspark_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fspark_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::SparkApplication* Arena::CreateMaybeMessage< ::flyteidl::plugins::SparkApplication >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::SparkApplication >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::SparkJob* Arena::CreateMaybeMessage< ::flyteidl::plugins::SparkJob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::SparkJob >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.pb.h deleted file mode 100644 index 4b60371d82..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/spark.pb.h +++ /dev/null @@ -1,927 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/spark.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fspark_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fspark_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fspark_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fspark_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[4] - 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_2fplugins_2fspark_2eproto(); -namespace flyteidl { -namespace plugins { -class SparkApplication; -class SparkApplicationDefaultTypeInternal; -extern SparkApplicationDefaultTypeInternal _SparkApplication_default_instance_; -class SparkJob; -class SparkJobDefaultTypeInternal; -extern SparkJobDefaultTypeInternal _SparkJob_default_instance_; -class SparkJob_HadoopConfEntry_DoNotUse; -class SparkJob_HadoopConfEntry_DoNotUseDefaultTypeInternal; -extern SparkJob_HadoopConfEntry_DoNotUseDefaultTypeInternal _SparkJob_HadoopConfEntry_DoNotUse_default_instance_; -class SparkJob_SparkConfEntry_DoNotUse; -class SparkJob_SparkConfEntry_DoNotUseDefaultTypeInternal; -extern SparkJob_SparkConfEntry_DoNotUseDefaultTypeInternal _SparkJob_SparkConfEntry_DoNotUse_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::SparkApplication* Arena::CreateMaybeMessage<::flyteidl::plugins::SparkApplication>(Arena*); -template<> ::flyteidl::plugins::SparkJob* Arena::CreateMaybeMessage<::flyteidl::plugins::SparkJob>(Arena*); -template<> ::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::plugins::SparkJob_HadoopConfEntry_DoNotUse>(Arena*); -template<> ::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::plugins::SparkJob_SparkConfEntry_DoNotUse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -enum SparkApplication_Type { - SparkApplication_Type_PYTHON = 0, - SparkApplication_Type_JAVA = 1, - SparkApplication_Type_SCALA = 2, - SparkApplication_Type_R = 3, - SparkApplication_Type_SparkApplication_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - SparkApplication_Type_SparkApplication_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool SparkApplication_Type_IsValid(int value); -const SparkApplication_Type SparkApplication_Type_Type_MIN = SparkApplication_Type_PYTHON; -const SparkApplication_Type SparkApplication_Type_Type_MAX = SparkApplication_Type_R; -const int SparkApplication_Type_Type_ARRAYSIZE = SparkApplication_Type_Type_MAX + 1; - -const ::google::protobuf::EnumDescriptor* SparkApplication_Type_descriptor(); -inline const ::std::string& SparkApplication_Type_Name(SparkApplication_Type value) { - return ::google::protobuf::internal::NameOfEnum( - SparkApplication_Type_descriptor(), value); -} -inline bool SparkApplication_Type_Parse( - const ::std::string& name, SparkApplication_Type* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SparkApplication_Type_descriptor(), name, value); -} -// =================================================================== - -class SparkApplication final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.SparkApplication) */ { - public: - SparkApplication(); - virtual ~SparkApplication(); - - SparkApplication(const SparkApplication& from); - - inline SparkApplication& operator=(const SparkApplication& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SparkApplication(SparkApplication&& from) noexcept - : SparkApplication() { - *this = ::std::move(from); - } - - inline SparkApplication& operator=(SparkApplication&& 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 SparkApplication& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SparkApplication* internal_default_instance() { - return reinterpret_cast( - &_SparkApplication_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(SparkApplication* other); - friend void swap(SparkApplication& a, SparkApplication& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SparkApplication* New() const final { - return CreateMaybeMessage(nullptr); - } - - SparkApplication* 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 SparkApplication& from); - void MergeFrom(const SparkApplication& 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(SparkApplication* 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 SparkApplication_Type Type; - static const Type PYTHON = - SparkApplication_Type_PYTHON; - static const Type JAVA = - SparkApplication_Type_JAVA; - static const Type SCALA = - SparkApplication_Type_SCALA; - static const Type R = - SparkApplication_Type_R; - static inline bool Type_IsValid(int value) { - return SparkApplication_Type_IsValid(value); - } - static const Type Type_MIN = - SparkApplication_Type_Type_MIN; - static const Type Type_MAX = - SparkApplication_Type_Type_MAX; - static const int Type_ARRAYSIZE = - SparkApplication_Type_Type_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - Type_descriptor() { - return SparkApplication_Type_descriptor(); - } - static inline const ::std::string& Type_Name(Type value) { - return SparkApplication_Type_Name(value); - } - static inline bool Type_Parse(const ::std::string& name, - Type* value) { - return SparkApplication_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.SparkApplication) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fspark_2eproto; -}; -// ------------------------------------------------------------------- - -class SparkJob_SparkConfEntry_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; - SparkJob_SparkConfEntry_DoNotUse(); - SparkJob_SparkConfEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const SparkJob_SparkConfEntry_DoNotUse& other); - static const SparkJob_SparkConfEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_SparkJob_SparkConfEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class SparkJob_HadoopConfEntry_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; - SparkJob_HadoopConfEntry_DoNotUse(); - SparkJob_HadoopConfEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const SparkJob_HadoopConfEntry_DoNotUse& other); - static const SparkJob_HadoopConfEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_SparkJob_HadoopConfEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class SparkJob final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.SparkJob) */ { - public: - SparkJob(); - virtual ~SparkJob(); - - SparkJob(const SparkJob& from); - - inline SparkJob& operator=(const SparkJob& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - SparkJob(SparkJob&& from) noexcept - : SparkJob() { - *this = ::std::move(from); - } - - inline SparkJob& operator=(SparkJob&& 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 SparkJob& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SparkJob* internal_default_instance() { - return reinterpret_cast( - &_SparkJob_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(SparkJob* other); - friend void swap(SparkJob& a, SparkJob& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline SparkJob* New() const final { - return CreateMaybeMessage(nullptr); - } - - SparkJob* 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 SparkJob& from); - void MergeFrom(const SparkJob& 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(SparkJob* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - - // accessors ------------------------------------------------------- - - // map sparkConf = 4; - int sparkconf_size() const; - void clear_sparkconf(); - static const int kSparkConfFieldNumber = 4; - const ::google::protobuf::Map< ::std::string, ::std::string >& - sparkconf() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_sparkconf(); - - // map hadoopConf = 5; - int hadoopconf_size() const; - void clear_hadoopconf(); - static const int kHadoopConfFieldNumber = 5; - const ::google::protobuf::Map< ::std::string, ::std::string >& - hadoopconf() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_hadoopconf(); - - // string mainApplicationFile = 2; - void clear_mainapplicationfile(); - static const int kMainApplicationFileFieldNumber = 2; - const ::std::string& mainapplicationfile() const; - void set_mainapplicationfile(const ::std::string& value); - #if LANG_CXX11 - void set_mainapplicationfile(::std::string&& value); - #endif - void set_mainapplicationfile(const char* value); - void set_mainapplicationfile(const char* value, size_t size); - ::std::string* mutable_mainapplicationfile(); - ::std::string* release_mainapplicationfile(); - void set_allocated_mainapplicationfile(::std::string* mainapplicationfile); - - // string mainClass = 3; - void clear_mainclass(); - static const int kMainClassFieldNumber = 3; - const ::std::string& mainclass() const; - void set_mainclass(const ::std::string& value); - #if LANG_CXX11 - void set_mainclass(::std::string&& value); - #endif - void set_mainclass(const char* value); - void set_mainclass(const char* value, size_t size); - ::std::string* mutable_mainclass(); - ::std::string* release_mainclass(); - void set_allocated_mainclass(::std::string* mainclass); - - // string executorPath = 6; - void clear_executorpath(); - static const int kExecutorPathFieldNumber = 6; - const ::std::string& executorpath() const; - void set_executorpath(const ::std::string& value); - #if LANG_CXX11 - void set_executorpath(::std::string&& value); - #endif - void set_executorpath(const char* value); - void set_executorpath(const char* value, size_t size); - ::std::string* mutable_executorpath(); - ::std::string* release_executorpath(); - void set_allocated_executorpath(::std::string* executorpath); - - // string databricksToken = 8; - void clear_databrickstoken(); - static const int kDatabricksTokenFieldNumber = 8; - const ::std::string& databrickstoken() const; - void set_databrickstoken(const ::std::string& value); - #if LANG_CXX11 - void set_databrickstoken(::std::string&& value); - #endif - void set_databrickstoken(const char* value); - void set_databrickstoken(const char* value, size_t size); - ::std::string* mutable_databrickstoken(); - ::std::string* release_databrickstoken(); - void set_allocated_databrickstoken(::std::string* databrickstoken); - - // string databricksInstance = 9; - void clear_databricksinstance(); - static const int kDatabricksInstanceFieldNumber = 9; - const ::std::string& databricksinstance() const; - void set_databricksinstance(const ::std::string& value); - #if LANG_CXX11 - void set_databricksinstance(::std::string&& value); - #endif - void set_databricksinstance(const char* value); - void set_databricksinstance(const char* value, size_t size); - ::std::string* mutable_databricksinstance(); - ::std::string* release_databricksinstance(); - void set_allocated_databricksinstance(::std::string* databricksinstance); - - // .google.protobuf.Struct databricksConf = 7; - bool has_databricksconf() const; - void clear_databricksconf(); - static const int kDatabricksConfFieldNumber = 7; - const ::google::protobuf::Struct& databricksconf() const; - ::google::protobuf::Struct* release_databricksconf(); - ::google::protobuf::Struct* mutable_databricksconf(); - void set_allocated_databricksconf(::google::protobuf::Struct* databricksconf); - - // .flyteidl.plugins.SparkApplication.Type applicationType = 1; - void clear_applicationtype(); - static const int kApplicationTypeFieldNumber = 1; - ::flyteidl::plugins::SparkApplication_Type applicationtype() const; - void set_applicationtype(::flyteidl::plugins::SparkApplication_Type value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.SparkJob) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - SparkJob_SparkConfEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > sparkconf_; - ::google::protobuf::internal::MapField< - SparkJob_HadoopConfEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > hadoopconf_; - ::google::protobuf::internal::ArenaStringPtr mainapplicationfile_; - ::google::protobuf::internal::ArenaStringPtr mainclass_; - ::google::protobuf::internal::ArenaStringPtr executorpath_; - ::google::protobuf::internal::ArenaStringPtr databrickstoken_; - ::google::protobuf::internal::ArenaStringPtr databricksinstance_; - ::google::protobuf::Struct* databricksconf_; - int applicationtype_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fspark_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// SparkApplication - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// SparkJob - -// .flyteidl.plugins.SparkApplication.Type applicationType = 1; -inline void SparkJob::clear_applicationtype() { - applicationtype_ = 0; -} -inline ::flyteidl::plugins::SparkApplication_Type SparkJob::applicationtype() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.SparkJob.applicationType) - return static_cast< ::flyteidl::plugins::SparkApplication_Type >(applicationtype_); -} -inline void SparkJob::set_applicationtype(::flyteidl::plugins::SparkApplication_Type value) { - - applicationtype_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.SparkJob.applicationType) -} - -// string mainApplicationFile = 2; -inline void SparkJob::clear_mainapplicationfile() { - mainapplicationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SparkJob::mainapplicationfile() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.SparkJob.mainApplicationFile) - return mainapplicationfile_.GetNoArena(); -} -inline void SparkJob::set_mainapplicationfile(const ::std::string& value) { - - mainapplicationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.SparkJob.mainApplicationFile) -} -#if LANG_CXX11 -inline void SparkJob::set_mainapplicationfile(::std::string&& value) { - - mainapplicationfile_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.SparkJob.mainApplicationFile) -} -#endif -inline void SparkJob::set_mainapplicationfile(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - mainapplicationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.SparkJob.mainApplicationFile) -} -inline void SparkJob::set_mainapplicationfile(const char* value, size_t size) { - - mainapplicationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.SparkJob.mainApplicationFile) -} -inline ::std::string* SparkJob::mutable_mainapplicationfile() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.SparkJob.mainApplicationFile) - return mainapplicationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SparkJob::release_mainapplicationfile() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.SparkJob.mainApplicationFile) - - return mainapplicationfile_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SparkJob::set_allocated_mainapplicationfile(::std::string* mainapplicationfile) { - if (mainapplicationfile != nullptr) { - - } else { - - } - mainapplicationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mainapplicationfile); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.SparkJob.mainApplicationFile) -} - -// string mainClass = 3; -inline void SparkJob::clear_mainclass() { - mainclass_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SparkJob::mainclass() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.SparkJob.mainClass) - return mainclass_.GetNoArena(); -} -inline void SparkJob::set_mainclass(const ::std::string& value) { - - mainclass_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.SparkJob.mainClass) -} -#if LANG_CXX11 -inline void SparkJob::set_mainclass(::std::string&& value) { - - mainclass_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.SparkJob.mainClass) -} -#endif -inline void SparkJob::set_mainclass(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - mainclass_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.SparkJob.mainClass) -} -inline void SparkJob::set_mainclass(const char* value, size_t size) { - - mainclass_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.SparkJob.mainClass) -} -inline ::std::string* SparkJob::mutable_mainclass() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.SparkJob.mainClass) - return mainclass_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SparkJob::release_mainclass() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.SparkJob.mainClass) - - return mainclass_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SparkJob::set_allocated_mainclass(::std::string* mainclass) { - if (mainclass != nullptr) { - - } else { - - } - mainclass_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mainclass); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.SparkJob.mainClass) -} - -// map sparkConf = 4; -inline int SparkJob::sparkconf_size() const { - return sparkconf_.size(); -} -inline void SparkJob::clear_sparkconf() { - sparkconf_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -SparkJob::sparkconf() const { - // @@protoc_insertion_point(field_map:flyteidl.plugins.SparkJob.sparkConf) - return sparkconf_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -SparkJob::mutable_sparkconf() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.plugins.SparkJob.sparkConf) - return sparkconf_.MutableMap(); -} - -// map hadoopConf = 5; -inline int SparkJob::hadoopconf_size() const { - return hadoopconf_.size(); -} -inline void SparkJob::clear_hadoopconf() { - hadoopconf_.Clear(); -} -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -SparkJob::hadoopconf() const { - // @@protoc_insertion_point(field_map:flyteidl.plugins.SparkJob.hadoopConf) - return hadoopconf_.GetMap(); -} -inline ::google::protobuf::Map< ::std::string, ::std::string >* -SparkJob::mutable_hadoopconf() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.plugins.SparkJob.hadoopConf) - return hadoopconf_.MutableMap(); -} - -// string executorPath = 6; -inline void SparkJob::clear_executorpath() { - executorpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SparkJob::executorpath() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.SparkJob.executorPath) - return executorpath_.GetNoArena(); -} -inline void SparkJob::set_executorpath(const ::std::string& value) { - - executorpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.SparkJob.executorPath) -} -#if LANG_CXX11 -inline void SparkJob::set_executorpath(::std::string&& value) { - - executorpath_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.SparkJob.executorPath) -} -#endif -inline void SparkJob::set_executorpath(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - executorpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.SparkJob.executorPath) -} -inline void SparkJob::set_executorpath(const char* value, size_t size) { - - executorpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.SparkJob.executorPath) -} -inline ::std::string* SparkJob::mutable_executorpath() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.SparkJob.executorPath) - return executorpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SparkJob::release_executorpath() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.SparkJob.executorPath) - - return executorpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SparkJob::set_allocated_executorpath(::std::string* executorpath) { - if (executorpath != nullptr) { - - } else { - - } - executorpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), executorpath); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.SparkJob.executorPath) -} - -// .google.protobuf.Struct databricksConf = 7; -inline bool SparkJob::has_databricksconf() const { - return this != internal_default_instance() && databricksconf_ != nullptr; -} -inline const ::google::protobuf::Struct& SparkJob::databricksconf() const { - const ::google::protobuf::Struct* p = databricksconf_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.SparkJob.databricksConf) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* SparkJob::release_databricksconf() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.SparkJob.databricksConf) - - ::google::protobuf::Struct* temp = databricksconf_; - databricksconf_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* SparkJob::mutable_databricksconf() { - - if (databricksconf_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - databricksconf_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.SparkJob.databricksConf) - return databricksconf_; -} -inline void SparkJob::set_allocated_databricksconf(::google::protobuf::Struct* databricksconf) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(databricksconf_); - } - if (databricksconf) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(databricksconf)->GetArena(); - if (message_arena != submessage_arena) { - databricksconf = ::google::protobuf::internal::GetOwnedMessage( - message_arena, databricksconf, submessage_arena); - } - - } else { - - } - databricksconf_ = databricksconf; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.SparkJob.databricksConf) -} - -// string databricksToken = 8; -inline void SparkJob::clear_databrickstoken() { - databrickstoken_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SparkJob::databrickstoken() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.SparkJob.databricksToken) - return databrickstoken_.GetNoArena(); -} -inline void SparkJob::set_databrickstoken(const ::std::string& value) { - - databrickstoken_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.SparkJob.databricksToken) -} -#if LANG_CXX11 -inline void SparkJob::set_databrickstoken(::std::string&& value) { - - databrickstoken_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.SparkJob.databricksToken) -} -#endif -inline void SparkJob::set_databrickstoken(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - databrickstoken_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.SparkJob.databricksToken) -} -inline void SparkJob::set_databrickstoken(const char* value, size_t size) { - - databrickstoken_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.SparkJob.databricksToken) -} -inline ::std::string* SparkJob::mutable_databrickstoken() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.SparkJob.databricksToken) - return databrickstoken_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SparkJob::release_databrickstoken() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.SparkJob.databricksToken) - - return databrickstoken_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SparkJob::set_allocated_databrickstoken(::std::string* databrickstoken) { - if (databrickstoken != nullptr) { - - } else { - - } - databrickstoken_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), databrickstoken); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.SparkJob.databricksToken) -} - -// string databricksInstance = 9; -inline void SparkJob::clear_databricksinstance() { - databricksinstance_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& SparkJob::databricksinstance() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.SparkJob.databricksInstance) - return databricksinstance_.GetNoArena(); -} -inline void SparkJob::set_databricksinstance(const ::std::string& value) { - - databricksinstance_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.SparkJob.databricksInstance) -} -#if LANG_CXX11 -inline void SparkJob::set_databricksinstance(::std::string&& value) { - - databricksinstance_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.SparkJob.databricksInstance) -} -#endif -inline void SparkJob::set_databricksinstance(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - databricksinstance_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.SparkJob.databricksInstance) -} -inline void SparkJob::set_databricksinstance(const char* value, size_t size) { - - databricksinstance_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.SparkJob.databricksInstance) -} -inline ::std::string* SparkJob::mutable_databricksinstance() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.SparkJob.databricksInstance) - return databricksinstance_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* SparkJob::release_databricksinstance() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.SparkJob.databricksInstance) - - return databricksinstance_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void SparkJob::set_allocated_databricksinstance(::std::string* databricksinstance) { - if (databricksinstance != nullptr) { - - } else { - - } - databricksinstance_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), databricksinstance); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.SparkJob.databricksInstance) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::plugins::SparkApplication_Type> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::plugins::SparkApplication_Type>() { - return ::flyteidl::plugins::SparkApplication_Type_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fspark_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.grpc.pb.cc deleted file mode 100644 index f3a3c56229..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/tensorflow.proto - -#include "flyteidl/plugins/tensorflow.pb.h" -#include "flyteidl/plugins/tensorflow.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.grpc.pb.h deleted file mode 100644 index 1bc80de44e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/tensorflow.proto -#ifndef GRPC_flyteidl_2fplugins_2ftensorflow_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2ftensorflow_2eproto__INCLUDED - -#include "flyteidl/plugins/tensorflow.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2ftensorflow_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.pb.cc deleted file mode 100644 index 23d343be1a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.pb.cc +++ /dev/null @@ -1,505 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/tensorflow.proto - -#include "flyteidl/plugins/tensorflow.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace plugins { -class DistributedTensorflowTrainingTaskDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DistributedTensorflowTrainingTask_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsDistributedTensorflowTrainingTask_flyteidl_2fplugins_2ftensorflow_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_DistributedTensorflowTrainingTask_default_instance_; - new (ptr) ::flyteidl::plugins::DistributedTensorflowTrainingTask(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::DistributedTensorflowTrainingTask::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2ftensorflow_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDistributedTensorflowTrainingTask_flyteidl_2fplugins_2ftensorflow_2eproto}, {}}; - -void InitDefaults_flyteidl_2fplugins_2ftensorflow_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2ftensorflow_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2ftensorflow_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2ftensorflow_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2ftensorflow_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2ftensorflow_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedTensorflowTrainingTask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedTensorflowTrainingTask, workers_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedTensorflowTrainingTask, ps_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedTensorflowTrainingTask, chief_replicas_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedTensorflowTrainingTask, evaluator_replicas_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::DistributedTensorflowTrainingTask)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_DistributedTensorflowTrainingTask_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2ftensorflow_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2ftensorflow_2eproto, "flyteidl/plugins/tensorflow.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2ftensorflow_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2ftensorflow_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2ftensorflow_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2ftensorflow_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2ftensorflow_2eproto[] = - "\n!flyteidl/plugins/tensorflow.proto\022\020fly" - "teidl.plugins\"}\n!DistributedTensorflowTr" - "ainingTask\022\017\n\007workers\030\001 \001(\005\022\023\n\013ps_replic" - "as\030\002 \001(\005\022\026\n\016chief_replicas\030\003 \001(\005\022\032\n\022eval" - "uator_replicas\030\004 \001(\005B\?Z=github.com/flyte" - "org/flyte/flyteidl/gen/pb-go/flyteidl/pl" - "uginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2ftensorflow_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2ftensorflow_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2ftensorflow_2eproto, - "flyteidl/plugins/tensorflow.proto", &assign_descriptors_table_flyteidl_2fplugins_2ftensorflow_2eproto, 253, -}; - -void AddDescriptors_flyteidl_2fplugins_2ftensorflow_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2ftensorflow_2eproto, deps, 0); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2ftensorflow_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2ftensorflow_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void DistributedTensorflowTrainingTask::InitAsDefaultInstance() { -} -class DistributedTensorflowTrainingTask::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DistributedTensorflowTrainingTask::kWorkersFieldNumber; -const int DistributedTensorflowTrainingTask::kPsReplicasFieldNumber; -const int DistributedTensorflowTrainingTask::kChiefReplicasFieldNumber; -const int DistributedTensorflowTrainingTask::kEvaluatorReplicasFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -DistributedTensorflowTrainingTask::DistributedTensorflowTrainingTask() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.DistributedTensorflowTrainingTask) -} -DistributedTensorflowTrainingTask::DistributedTensorflowTrainingTask(const DistributedTensorflowTrainingTask& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::memcpy(&workers_, &from.workers_, - static_cast(reinterpret_cast(&evaluator_replicas_) - - reinterpret_cast(&workers_)) + sizeof(evaluator_replicas_)); - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.DistributedTensorflowTrainingTask) -} - -void DistributedTensorflowTrainingTask::SharedCtor() { - ::memset(&workers_, 0, static_cast( - reinterpret_cast(&evaluator_replicas_) - - reinterpret_cast(&workers_)) + sizeof(evaluator_replicas_)); -} - -DistributedTensorflowTrainingTask::~DistributedTensorflowTrainingTask() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.DistributedTensorflowTrainingTask) - SharedDtor(); -} - -void DistributedTensorflowTrainingTask::SharedDtor() { -} - -void DistributedTensorflowTrainingTask::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const DistributedTensorflowTrainingTask& DistributedTensorflowTrainingTask::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2ftensorflow_2eproto.base); - return *internal_default_instance(); -} - - -void DistributedTensorflowTrainingTask::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&workers_, 0, static_cast( - reinterpret_cast(&evaluator_replicas_) - - reinterpret_cast(&workers_)) + sizeof(evaluator_replicas_)); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DistributedTensorflowTrainingTask::_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) { - // int32 workers = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; - msg->set_workers(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 ps_replicas = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - msg->set_ps_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 chief_replicas = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_chief_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // int32 evaluator_replicas = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; - msg->set_evaluator_replicas(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(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; -} -#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DistributedTensorflowTrainingTask::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.plugins.DistributedTensorflowTrainingTask) - 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)) { - // int32 workers = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &workers_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 ps_replicas = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &ps_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 chief_replicas = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &chief_replicas_))); - } else { - goto handle_unusual; - } - break; - } - - // int32 evaluator_replicas = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { - - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &evaluator_replicas_))); - } 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.plugins.DistributedTensorflowTrainingTask) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.DistributedTensorflowTrainingTask) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void DistributedTensorflowTrainingTask::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 workers = 1; - if (this->workers() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->workers(), output); - } - - // int32 ps_replicas = 2; - if (this->ps_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ps_replicas(), output); - } - - // int32 chief_replicas = 3; - if (this->chief_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->chief_replicas(), output); - } - - // int32 evaluator_replicas = 4; - if (this->evaluator_replicas() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->evaluator_replicas(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.DistributedTensorflowTrainingTask) -} - -::google::protobuf::uint8* DistributedTensorflowTrainingTask::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // int32 workers = 1; - if (this->workers() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->workers(), target); - } - - // int32 ps_replicas = 2; - if (this->ps_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ps_replicas(), target); - } - - // int32 chief_replicas = 3; - if (this->chief_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->chief_replicas(), target); - } - - // int32 evaluator_replicas = 4; - if (this->evaluator_replicas() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->evaluator_replicas(), 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.plugins.DistributedTensorflowTrainingTask) - return target; -} - -size_t DistributedTensorflowTrainingTask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - 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; - - // int32 workers = 1; - if (this->workers() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->workers()); - } - - // int32 ps_replicas = 2; - if (this->ps_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->ps_replicas()); - } - - // int32 chief_replicas = 3; - if (this->chief_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->chief_replicas()); - } - - // int32 evaluator_replicas = 4; - if (this->evaluator_replicas() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->evaluator_replicas()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void DistributedTensorflowTrainingTask::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - GOOGLE_DCHECK_NE(&from, this); - const DistributedTensorflowTrainingTask* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.DistributedTensorflowTrainingTask) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.DistributedTensorflowTrainingTask) - MergeFrom(*source); - } -} - -void DistributedTensorflowTrainingTask::MergeFrom(const DistributedTensorflowTrainingTask& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.workers() != 0) { - set_workers(from.workers()); - } - if (from.ps_replicas() != 0) { - set_ps_replicas(from.ps_replicas()); - } - if (from.chief_replicas() != 0) { - set_chief_replicas(from.chief_replicas()); - } - if (from.evaluator_replicas() != 0) { - set_evaluator_replicas(from.evaluator_replicas()); - } -} - -void DistributedTensorflowTrainingTask::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void DistributedTensorflowTrainingTask::CopyFrom(const DistributedTensorflowTrainingTask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.DistributedTensorflowTrainingTask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DistributedTensorflowTrainingTask::IsInitialized() const { - return true; -} - -void DistributedTensorflowTrainingTask::Swap(DistributedTensorflowTrainingTask* other) { - if (other == this) return; - InternalSwap(other); -} -void DistributedTensorflowTrainingTask::InternalSwap(DistributedTensorflowTrainingTask* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(workers_, other->workers_); - swap(ps_replicas_, other->ps_replicas_); - swap(chief_replicas_, other->chief_replicas_); - swap(evaluator_replicas_, other->evaluator_replicas_); -} - -::google::protobuf::Metadata DistributedTensorflowTrainingTask::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2ftensorflow_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2ftensorflow_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::DistributedTensorflowTrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::DistributedTensorflowTrainingTask >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::DistributedTensorflowTrainingTask >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.pb.h deleted file mode 100644 index 4150592a60..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/tensorflow.pb.h +++ /dev/null @@ -1,278 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/tensorflow.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2ftensorflow_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2ftensorflow_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2ftensorflow_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2ftensorflow_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[1] - 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_2fplugins_2ftensorflow_2eproto(); -namespace flyteidl { -namespace plugins { -class DistributedTensorflowTrainingTask; -class DistributedTensorflowTrainingTaskDefaultTypeInternal; -extern DistributedTensorflowTrainingTaskDefaultTypeInternal _DistributedTensorflowTrainingTask_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::DistributedTensorflowTrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::DistributedTensorflowTrainingTask>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class DistributedTensorflowTrainingTask final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.DistributedTensorflowTrainingTask) */ { - public: - DistributedTensorflowTrainingTask(); - virtual ~DistributedTensorflowTrainingTask(); - - DistributedTensorflowTrainingTask(const DistributedTensorflowTrainingTask& from); - - inline DistributedTensorflowTrainingTask& operator=(const DistributedTensorflowTrainingTask& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - DistributedTensorflowTrainingTask(DistributedTensorflowTrainingTask&& from) noexcept - : DistributedTensorflowTrainingTask() { - *this = ::std::move(from); - } - - inline DistributedTensorflowTrainingTask& operator=(DistributedTensorflowTrainingTask&& 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 DistributedTensorflowTrainingTask& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DistributedTensorflowTrainingTask* internal_default_instance() { - return reinterpret_cast( - &_DistributedTensorflowTrainingTask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(DistributedTensorflowTrainingTask* other); - friend void swap(DistributedTensorflowTrainingTask& a, DistributedTensorflowTrainingTask& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline DistributedTensorflowTrainingTask* New() const final { - return CreateMaybeMessage(nullptr); - } - - DistributedTensorflowTrainingTask* 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 DistributedTensorflowTrainingTask& from); - void MergeFrom(const DistributedTensorflowTrainingTask& 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(DistributedTensorflowTrainingTask* 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 ------------------------------------------------------- - - // int32 workers = 1; - void clear_workers(); - static const int kWorkersFieldNumber = 1; - ::google::protobuf::int32 workers() const; - void set_workers(::google::protobuf::int32 value); - - // int32 ps_replicas = 2; - void clear_ps_replicas(); - static const int kPsReplicasFieldNumber = 2; - ::google::protobuf::int32 ps_replicas() const; - void set_ps_replicas(::google::protobuf::int32 value); - - // int32 chief_replicas = 3; - void clear_chief_replicas(); - static const int kChiefReplicasFieldNumber = 3; - ::google::protobuf::int32 chief_replicas() const; - void set_chief_replicas(::google::protobuf::int32 value); - - // int32 evaluator_replicas = 4; - void clear_evaluator_replicas(); - static const int kEvaluatorReplicasFieldNumber = 4; - ::google::protobuf::int32 evaluator_replicas() const; - void set_evaluator_replicas(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DistributedTensorflowTrainingTask) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::int32 workers_; - ::google::protobuf::int32 ps_replicas_; - ::google::protobuf::int32 chief_replicas_; - ::google::protobuf::int32 evaluator_replicas_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2ftensorflow_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// DistributedTensorflowTrainingTask - -// int32 workers = 1; -inline void DistributedTensorflowTrainingTask::clear_workers() { - workers_ = 0; -} -inline ::google::protobuf::int32 DistributedTensorflowTrainingTask::workers() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedTensorflowTrainingTask.workers) - return workers_; -} -inline void DistributedTensorflowTrainingTask::set_workers(::google::protobuf::int32 value) { - - workers_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedTensorflowTrainingTask.workers) -} - -// int32 ps_replicas = 2; -inline void DistributedTensorflowTrainingTask::clear_ps_replicas() { - ps_replicas_ = 0; -} -inline ::google::protobuf::int32 DistributedTensorflowTrainingTask::ps_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedTensorflowTrainingTask.ps_replicas) - return ps_replicas_; -} -inline void DistributedTensorflowTrainingTask::set_ps_replicas(::google::protobuf::int32 value) { - - ps_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedTensorflowTrainingTask.ps_replicas) -} - -// int32 chief_replicas = 3; -inline void DistributedTensorflowTrainingTask::clear_chief_replicas() { - chief_replicas_ = 0; -} -inline ::google::protobuf::int32 DistributedTensorflowTrainingTask::chief_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedTensorflowTrainingTask.chief_replicas) - return chief_replicas_; -} -inline void DistributedTensorflowTrainingTask::set_chief_replicas(::google::protobuf::int32 value) { - - chief_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedTensorflowTrainingTask.chief_replicas) -} - -// int32 evaluator_replicas = 4; -inline void DistributedTensorflowTrainingTask::clear_evaluator_replicas() { - evaluator_replicas_ = 0; -} -inline ::google::protobuf::int32 DistributedTensorflowTrainingTask::evaluator_replicas() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedTensorflowTrainingTask.evaluator_replicas) - return evaluator_replicas_; -} -inline void DistributedTensorflowTrainingTask::set_evaluator_replicas(::google::protobuf::int32 value) { - - evaluator_replicas_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedTensorflowTrainingTask.evaluator_replicas) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2ftensorflow_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.grpc.pb.cc deleted file mode 100644 index 4f9aeb135a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.grpc.pb.cc +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/waitable.proto - -#include "flyteidl/plugins/waitable.pb.h" -#include "flyteidl/plugins/waitable.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace plugins { - -} // namespace flyteidl -} // namespace plugins - diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.grpc.pb.h deleted file mode 100644 index 960be6017f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.grpc.pb.h +++ /dev/null @@ -1,47 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/plugins/waitable.proto -#ifndef GRPC_flyteidl_2fplugins_2fwaitable_2eproto__INCLUDED -#define GRPC_flyteidl_2fplugins_2fwaitable_2eproto__INCLUDED - -#include "flyteidl/plugins/waitable.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 plugins { - -} // namespace plugins -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fplugins_2fwaitable_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.pb.cc deleted file mode 100644 index da360d5ab5..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.pb.cc +++ /dev/null @@ -1,537 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/waitable.proto - -#include "flyteidl/plugins/waitable.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; -namespace flyteidl { -namespace plugins { -class WaitableDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _Waitable_default_instance_; -} // namespace plugins -} // namespace flyteidl -static void InitDefaultsWaitable_flyteidl_2fplugins_2fwaitable_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::plugins::_Waitable_default_instance_; - new (ptr) ::flyteidl::plugins::Waitable(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::plugins::Waitable::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_Waitable_flyteidl_2fplugins_2fwaitable_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWaitable_flyteidl_2fplugins_2fwaitable_2eproto}, { - &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -void InitDefaults_flyteidl_2fplugins_2fwaitable_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_Waitable_flyteidl_2fplugins_2fwaitable_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fwaitable_2eproto[1]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fwaitable_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fwaitable_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fwaitable_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::Waitable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::Waitable, wf_exec_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::Waitable, phase_), - PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::Waitable, workflow_id_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::Waitable)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::plugins::_Waitable_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fwaitable_2eproto = { - {}, AddDescriptors_flyteidl_2fplugins_2fwaitable_2eproto, "flyteidl/plugins/waitable.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fplugins_2fwaitable_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fwaitable_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2fwaitable_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fwaitable_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fplugins_2fwaitable_2eproto[] = - "\n\037flyteidl/plugins/waitable.proto\022\020flyte" - "idl.plugins\032\035flyteidl/core/execution.pro" - "to\032\036flyteidl/core/identifier.proto\"\226\001\n\010W" - "aitable\022>\n\nwf_exec_id\030\001 \001(\0132*.flyteidl.c" - "ore.WorkflowExecutionIdentifier\0225\n\005phase" - "\030\002 \001(\0162&.flyteidl.core.WorkflowExecution" - ".Phase\022\023\n\013workflow_id\030\003 \001(\tB\?Z=github.co" - "m/flyteorg/flyte/flyteidl/gen/pb-go/flyt" - "eidl/pluginsb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fwaitable_2eproto = { - false, InitDefaults_flyteidl_2fplugins_2fwaitable_2eproto, - descriptor_table_protodef_flyteidl_2fplugins_2fwaitable_2eproto, - "flyteidl/plugins/waitable.proto", &assign_descriptors_table_flyteidl_2fplugins_2fwaitable_2eproto, 340, -}; - -void AddDescriptors_flyteidl_2fplugins_2fwaitable_2eproto() { - 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_2fplugins_2fwaitable_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fplugins_2fwaitable_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fwaitable_2eproto(); return true; }(); -namespace flyteidl { -namespace plugins { - -// =================================================================== - -void Waitable::InitAsDefaultInstance() { - ::flyteidl::plugins::_Waitable_default_instance_._instance.get_mutable()->wf_exec_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( - ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); -} -class Waitable::HasBitSetters { - public: - static const ::flyteidl::core::WorkflowExecutionIdentifier& wf_exec_id(const Waitable* msg); -}; - -const ::flyteidl::core::WorkflowExecutionIdentifier& -Waitable::HasBitSetters::wf_exec_id(const Waitable* msg) { - return *msg->wf_exec_id_; -} -void Waitable::clear_wf_exec_id() { - if (GetArenaNoVirtual() == nullptr && wf_exec_id_ != nullptr) { - delete wf_exec_id_; - } - wf_exec_id_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int Waitable::kWfExecIdFieldNumber; -const int Waitable::kPhaseFieldNumber; -const int Waitable::kWorkflowIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -Waitable::Waitable() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.plugins.Waitable) -} -Waitable::Waitable(const Waitable& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - workflow_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.workflow_id().size() > 0) { - workflow_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_id_); - } - if (from.has_wf_exec_id()) { - wf_exec_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.wf_exec_id_); - } else { - wf_exec_id_ = nullptr; - } - phase_ = from.phase_; - // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.Waitable) -} - -void Waitable::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_Waitable_flyteidl_2fplugins_2fwaitable_2eproto.base); - workflow_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&wf_exec_id_, 0, static_cast( - reinterpret_cast(&phase_) - - reinterpret_cast(&wf_exec_id_)) + sizeof(phase_)); -} - -Waitable::~Waitable() { - // @@protoc_insertion_point(destructor:flyteidl.plugins.Waitable) - SharedDtor(); -} - -void Waitable::SharedDtor() { - workflow_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete wf_exec_id_; -} - -void Waitable::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const Waitable& Waitable::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_Waitable_flyteidl_2fplugins_2fwaitable_2eproto.base); - return *internal_default_instance(); -} - - -void Waitable::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.Waitable) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - workflow_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && wf_exec_id_ != nullptr) { - delete wf_exec_id_; - } - wf_exec_id_ = nullptr; - phase_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* Waitable::_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 wf_exec_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_wf_exec_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.WorkflowExecution.Phase phase = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; - ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); - msg->set_phase(static_cast<::flyteidl::core::WorkflowExecution_Phase>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // string workflow_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); - ctx->extra_parse_data().SetFieldName("flyteidl.plugins.Waitable.workflow_id"); - object = msg->mutable_workflow_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; - } - 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 Waitable::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.plugins.Waitable) - 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 wf_exec_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_wf_exec_id())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { - int value = 0; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - set_phase(static_cast< ::flyteidl::core::WorkflowExecution_Phase >(value)); - } else { - goto handle_unusual; - } - break; - } - - // string workflow_id = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_workflow_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow_id().data(), static_cast(this->workflow_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.plugins.Waitable.workflow_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.plugins.Waitable) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.plugins.Waitable) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void Waitable::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.plugins.Waitable) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - if (this->has_wf_exec_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::wf_exec_id(this), output); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 2; - if (this->phase() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 2, this->phase(), output); - } - - // string workflow_id = 3; - if (this->workflow_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow_id().data(), static_cast(this->workflow_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.Waitable.workflow_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->workflow_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.plugins.Waitable) -} - -::google::protobuf::uint8* Waitable::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.Waitable) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - if (this->has_wf_exec_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::wf_exec_id(this), target); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 2; - if (this->phase() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 2, this->phase(), target); - } - - // string workflow_id = 3; - if (this->workflow_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->workflow_id().data(), static_cast(this->workflow_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.plugins.Waitable.workflow_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->workflow_id(), 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.plugins.Waitable) - return target; -} - -size_t Waitable::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.Waitable) - 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 workflow_id = 3; - if (this->workflow_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->workflow_id()); - } - - // .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - if (this->has_wf_exec_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *wf_exec_id_); - } - - // .flyteidl.core.WorkflowExecution.Phase phase = 2; - if (this->phase() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->phase()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void Waitable::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.Waitable) - GOOGLE_DCHECK_NE(&from, this); - const Waitable* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.Waitable) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.Waitable) - MergeFrom(*source); - } -} - -void Waitable::MergeFrom(const Waitable& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.Waitable) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.workflow_id().size() > 0) { - - workflow_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_id_); - } - if (from.has_wf_exec_id()) { - mutable_wf_exec_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.wf_exec_id()); - } - if (from.phase() != 0) { - set_phase(from.phase()); - } -} - -void Waitable::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.Waitable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Waitable::CopyFrom(const Waitable& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.Waitable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Waitable::IsInitialized() const { - return true; -} - -void Waitable::Swap(Waitable* other) { - if (other == this) return; - InternalSwap(other); -} -void Waitable::InternalSwap(Waitable* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - workflow_id_.Swap(&other->workflow_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(wf_exec_id_, other->wf_exec_id_); - swap(phase_, other->phase_); -} - -::google::protobuf::Metadata Waitable::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fwaitable_2eproto); - return ::file_level_metadata_flyteidl_2fplugins_2fwaitable_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::plugins::Waitable* Arena::CreateMaybeMessage< ::flyteidl::plugins::Waitable >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::plugins::Waitable >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.pb.h deleted file mode 100644 index 3820c3dcfa..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/waitable.pb.h +++ /dev/null @@ -1,340 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/waitable.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fwaitable_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fwaitable_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3007000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "flyteidl/core/execution.pb.h" -#include "flyteidl/core/identifier.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fwaitable_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fplugins_2fwaitable_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[1] - 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_2fplugins_2fwaitable_2eproto(); -namespace flyteidl { -namespace plugins { -class Waitable; -class WaitableDefaultTypeInternal; -extern WaitableDefaultTypeInternal _Waitable_default_instance_; -} // namespace plugins -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::plugins::Waitable* Arena::CreateMaybeMessage<::flyteidl::plugins::Waitable>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace plugins { - -// =================================================================== - -class Waitable final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.Waitable) */ { - public: - Waitable(); - virtual ~Waitable(); - - Waitable(const Waitable& from); - - inline Waitable& operator=(const Waitable& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - Waitable(Waitable&& from) noexcept - : Waitable() { - *this = ::std::move(from); - } - - inline Waitable& operator=(Waitable&& 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 Waitable& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Waitable* internal_default_instance() { - return reinterpret_cast( - &_Waitable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(Waitable* other); - friend void swap(Waitable& a, Waitable& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline Waitable* New() const final { - return CreateMaybeMessage(nullptr); - } - - Waitable* 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 Waitable& from); - void MergeFrom(const Waitable& 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(Waitable* 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 workflow_id = 3; - void clear_workflow_id(); - static const int kWorkflowIdFieldNumber = 3; - const ::std::string& workflow_id() const; - void set_workflow_id(const ::std::string& value); - #if LANG_CXX11 - void set_workflow_id(::std::string&& value); - #endif - void set_workflow_id(const char* value); - void set_workflow_id(const char* value, size_t size); - ::std::string* mutable_workflow_id(); - ::std::string* release_workflow_id(); - void set_allocated_workflow_id(::std::string* workflow_id); - - // .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - bool has_wf_exec_id() const; - void clear_wf_exec_id(); - static const int kWfExecIdFieldNumber = 1; - const ::flyteidl::core::WorkflowExecutionIdentifier& wf_exec_id() const; - ::flyteidl::core::WorkflowExecutionIdentifier* release_wf_exec_id(); - ::flyteidl::core::WorkflowExecutionIdentifier* mutable_wf_exec_id(); - void set_allocated_wf_exec_id(::flyteidl::core::WorkflowExecutionIdentifier* wf_exec_id); - - // .flyteidl.core.WorkflowExecution.Phase phase = 2; - void clear_phase(); - static const int kPhaseFieldNumber = 2; - ::flyteidl::core::WorkflowExecution_Phase phase() const; - void set_phase(::flyteidl::core::WorkflowExecution_Phase value); - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.Waitable) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr workflow_id_; - ::flyteidl::core::WorkflowExecutionIdentifier* wf_exec_id_; - int phase_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fplugins_2fwaitable_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// Waitable - -// .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; -inline bool Waitable::has_wf_exec_id() const { - return this != internal_default_instance() && wf_exec_id_ != nullptr; -} -inline const ::flyteidl::core::WorkflowExecutionIdentifier& Waitable::wf_exec_id() const { - const ::flyteidl::core::WorkflowExecutionIdentifier* p = wf_exec_id_; - // @@protoc_insertion_point(field_get:flyteidl.plugins.Waitable.wf_exec_id) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* Waitable::release_wf_exec_id() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.Waitable.wf_exec_id) - - ::flyteidl::core::WorkflowExecutionIdentifier* temp = wf_exec_id_; - wf_exec_id_ = nullptr; - return temp; -} -inline ::flyteidl::core::WorkflowExecutionIdentifier* Waitable::mutable_wf_exec_id() { - - if (wf_exec_id_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); - wf_exec_id_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.Waitable.wf_exec_id) - return wf_exec_id_; -} -inline void Waitable::set_allocated_wf_exec_id(::flyteidl::core::WorkflowExecutionIdentifier* wf_exec_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(wf_exec_id_); - } - if (wf_exec_id) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - wf_exec_id = ::google::protobuf::internal::GetOwnedMessage( - message_arena, wf_exec_id, submessage_arena); - } - - } else { - - } - wf_exec_id_ = wf_exec_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.Waitable.wf_exec_id) -} - -// .flyteidl.core.WorkflowExecution.Phase phase = 2; -inline void Waitable::clear_phase() { - phase_ = 0; -} -inline ::flyteidl::core::WorkflowExecution_Phase Waitable::phase() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.Waitable.phase) - return static_cast< ::flyteidl::core::WorkflowExecution_Phase >(phase_); -} -inline void Waitable::set_phase(::flyteidl::core::WorkflowExecution_Phase value) { - - phase_ = value; - // @@protoc_insertion_point(field_set:flyteidl.plugins.Waitable.phase) -} - -// string workflow_id = 3; -inline void Waitable::clear_workflow_id() { - workflow_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& Waitable::workflow_id() const { - // @@protoc_insertion_point(field_get:flyteidl.plugins.Waitable.workflow_id) - return workflow_id_.GetNoArena(); -} -inline void Waitable::set_workflow_id(const ::std::string& value) { - - workflow_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.plugins.Waitable.workflow_id) -} -#if LANG_CXX11 -inline void Waitable::set_workflow_id(::std::string&& value) { - - workflow_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.Waitable.workflow_id) -} -#endif -inline void Waitable::set_workflow_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - workflow_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.plugins.Waitable.workflow_id) -} -inline void Waitable::set_workflow_id(const char* value, size_t size) { - - workflow_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.Waitable.workflow_id) -} -inline ::std::string* Waitable::mutable_workflow_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.plugins.Waitable.workflow_id) - return workflow_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* Waitable::release_workflow_id() { - // @@protoc_insertion_point(field_release:flyteidl.plugins.Waitable.workflow_id) - - return workflow_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void Waitable::set_allocated_workflow_id(::std::string* workflow_id) { - if (workflow_id != nullptr) { - - } else { - - } - workflow_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.Waitable.workflow_id) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - -} // namespace plugins -} // namespace flyteidl - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fwaitable_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc deleted file mode 100644 index 2af2441047..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc +++ /dev/null @@ -1,2311 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/admin.proto - -#include "flyteidl/service/admin.pb.h" -#include "flyteidl/service/admin.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace service { - -static const char* AdminService_method_names[] = { - "/flyteidl.service.AdminService/CreateTask", - "/flyteidl.service.AdminService/GetTask", - "/flyteidl.service.AdminService/ListTaskIds", - "/flyteidl.service.AdminService/ListTasks", - "/flyteidl.service.AdminService/CreateWorkflow", - "/flyteidl.service.AdminService/GetWorkflow", - "/flyteidl.service.AdminService/ListWorkflowIds", - "/flyteidl.service.AdminService/ListWorkflows", - "/flyteidl.service.AdminService/CreateLaunchPlan", - "/flyteidl.service.AdminService/GetLaunchPlan", - "/flyteidl.service.AdminService/GetActiveLaunchPlan", - "/flyteidl.service.AdminService/ListActiveLaunchPlans", - "/flyteidl.service.AdminService/ListLaunchPlanIds", - "/flyteidl.service.AdminService/ListLaunchPlans", - "/flyteidl.service.AdminService/UpdateLaunchPlan", - "/flyteidl.service.AdminService/CreateExecution", - "/flyteidl.service.AdminService/RelaunchExecution", - "/flyteidl.service.AdminService/RecoverExecution", - "/flyteidl.service.AdminService/GetExecution", - "/flyteidl.service.AdminService/UpdateExecution", - "/flyteidl.service.AdminService/GetExecutionData", - "/flyteidl.service.AdminService/ListExecutions", - "/flyteidl.service.AdminService/TerminateExecution", - "/flyteidl.service.AdminService/GetNodeExecution", - "/flyteidl.service.AdminService/GetDynamicNodeWorkflow", - "/flyteidl.service.AdminService/ListNodeExecutions", - "/flyteidl.service.AdminService/ListNodeExecutionsForTask", - "/flyteidl.service.AdminService/GetNodeExecutionData", - "/flyteidl.service.AdminService/RegisterProject", - "/flyteidl.service.AdminService/UpdateProject", - "/flyteidl.service.AdminService/ListProjects", - "/flyteidl.service.AdminService/CreateWorkflowEvent", - "/flyteidl.service.AdminService/CreateNodeEvent", - "/flyteidl.service.AdminService/CreateTaskEvent", - "/flyteidl.service.AdminService/GetTaskExecution", - "/flyteidl.service.AdminService/ListTaskExecutions", - "/flyteidl.service.AdminService/GetTaskExecutionData", - "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", - "/flyteidl.service.AdminService/GetProjectDomainAttributes", - "/flyteidl.service.AdminService/DeleteProjectDomainAttributes", - "/flyteidl.service.AdminService/UpdateProjectAttributes", - "/flyteidl.service.AdminService/GetProjectAttributes", - "/flyteidl.service.AdminService/DeleteProjectAttributes", - "/flyteidl.service.AdminService/UpdateWorkflowAttributes", - "/flyteidl.service.AdminService/GetWorkflowAttributes", - "/flyteidl.service.AdminService/DeleteWorkflowAttributes", - "/flyteidl.service.AdminService/ListMatchableAttributes", - "/flyteidl.service.AdminService/ListNamedEntities", - "/flyteidl.service.AdminService/GetNamedEntity", - "/flyteidl.service.AdminService/UpdateNamedEntity", - "/flyteidl.service.AdminService/GetVersion", - "/flyteidl.service.AdminService/GetDescriptionEntity", - "/flyteidl.service.AdminService/ListDescriptionEntities", - "/flyteidl.service.AdminService/GetExecutionMetrics", -}; - -std::unique_ptr< AdminService::Stub> AdminService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< AdminService::Stub> stub(new AdminService::Stub(channel)); - return stub; -} - -AdminService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_CreateTask_(AdminService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetTask_(AdminService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListTaskIds_(AdminService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListTasks_(AdminService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateWorkflow_(AdminService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetWorkflow_(AdminService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListWorkflowIds_(AdminService_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListWorkflows_(AdminService_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateLaunchPlan_(AdminService_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetLaunchPlan_(AdminService_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetActiveLaunchPlan_(AdminService_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListActiveLaunchPlans_(AdminService_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListLaunchPlanIds_(AdminService_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListLaunchPlans_(AdminService_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateLaunchPlan_(AdminService_method_names[14], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateExecution_(AdminService_method_names[15], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RelaunchExecution_(AdminService_method_names[16], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RecoverExecution_(AdminService_method_names[17], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetExecution_(AdminService_method_names[18], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateExecution_(AdminService_method_names[19], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetExecutionData_(AdminService_method_names[20], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListExecutions_(AdminService_method_names[21], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_TerminateExecution_(AdminService_method_names[22], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetNodeExecution_(AdminService_method_names[23], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetDynamicNodeWorkflow_(AdminService_method_names[24], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListNodeExecutions_(AdminService_method_names[25], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListNodeExecutionsForTask_(AdminService_method_names[26], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetNodeExecutionData_(AdminService_method_names[27], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_RegisterProject_(AdminService_method_names[28], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateProject_(AdminService_method_names[29], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListProjects_(AdminService_method_names[30], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateWorkflowEvent_(AdminService_method_names[31], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateNodeEvent_(AdminService_method_names[32], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateTaskEvent_(AdminService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetTaskExecution_(AdminService_method_names[34], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListTaskExecutions_(AdminService_method_names[35], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetTaskExecutionData_(AdminService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateProjectDomainAttributes_(AdminService_method_names[37], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetProjectDomainAttributes_(AdminService_method_names[38], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteProjectDomainAttributes_(AdminService_method_names[39], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateProjectAttributes_(AdminService_method_names[40], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetProjectAttributes_(AdminService_method_names[41], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteProjectAttributes_(AdminService_method_names[42], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateWorkflowAttributes_(AdminService_method_names[43], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetWorkflowAttributes_(AdminService_method_names[44], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteWorkflowAttributes_(AdminService_method_names[45], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListMatchableAttributes_(AdminService_method_names[46], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListNamedEntities_(AdminService_method_names[47], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetNamedEntity_(AdminService_method_names[48], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateNamedEntity_(AdminService_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetVersion_(AdminService_method_names[50], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetDescriptionEntity_(AdminService_method_names[51], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListDescriptionEntities_(AdminService_method_names[52], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetExecutionMetrics_(AdminService_method_names[53], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status AdminService::Stub::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::flyteidl::admin::TaskCreateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateTask_, context, request, response); -} - -void AdminService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskCreateResponse>* AdminService::Stub::AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskCreateResponse>* AdminService::Stub::PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::Task* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTask_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Task* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Task* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>* AdminService::Stub::AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Task>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>* AdminService::Stub::PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Task>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListTaskIds_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListTaskIds_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListTaskIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListTaskIds_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListTaskIds_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListTaskIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListTaskIds_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AdminService::Stub::AsyncListTaskIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityIdentifierList>::Create(channel_.get(), cq, rpcmethod_ListTaskIds_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AdminService::Stub::PrepareAsyncListTaskIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityIdentifierList>::Create(channel_.get(), cq, rpcmethod_ListTaskIds_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::TaskList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListTasks_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListTasks_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListTasks(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListTasks_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListTasks_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListTasks(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListTasks_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>* AdminService::Stub::AsyncListTasksRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskList>::Create(channel_.get(), cq, rpcmethod_ListTasks_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>* AdminService::Stub::PrepareAsyncListTasksRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskList>::Create(channel_.get(), cq, rpcmethod_ListTasks_, context, request, false); -} - -::grpc::Status AdminService::Stub::CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::flyteidl::admin::WorkflowCreateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateWorkflow_, context, request, response); -} - -void AdminService::Stub::experimental_async::CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflow_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflow_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflow_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::CreateWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflow_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>* AdminService::Stub::AsyncCreateWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateWorkflow_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>* AdminService::Stub::PrepareAsyncCreateWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateWorkflow_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::Workflow* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetWorkflow_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetWorkflow_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Workflow* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetWorkflow_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetWorkflow_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Workflow* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetWorkflow_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>* AdminService::Stub::AsyncGetWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Workflow>::Create(channel_.get(), cq, rpcmethod_GetWorkflow_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>* AdminService::Stub::PrepareAsyncGetWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Workflow>::Create(channel_.get(), cq, rpcmethod_GetWorkflow_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListWorkflowIds_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListWorkflowIds_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListWorkflowIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListWorkflowIds_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListWorkflowIds_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListWorkflowIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListWorkflowIds_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AdminService::Stub::AsyncListWorkflowIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityIdentifierList>::Create(channel_.get(), cq, rpcmethod_ListWorkflowIds_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AdminService::Stub::PrepareAsyncListWorkflowIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityIdentifierList>::Create(channel_.get(), cq, rpcmethod_ListWorkflowIds_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::WorkflowList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListWorkflows_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListWorkflows_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListWorkflows(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListWorkflows_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListWorkflows_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListWorkflows(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListWorkflows_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>* AdminService::Stub::AsyncListWorkflowsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowList>::Create(channel_.get(), cq, rpcmethod_ListWorkflows_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>* AdminService::Stub::PrepareAsyncListWorkflowsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowList>::Create(channel_.get(), cq, rpcmethod_ListWorkflows_, context, request, false); -} - -::grpc::Status AdminService::Stub::CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::flyteidl::admin::LaunchPlanCreateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateLaunchPlan_, context, request, response); -} - -void AdminService::Stub::experimental_async::CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateLaunchPlan_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::CreateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateLaunchPlan_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>* AdminService::Stub::AsyncCreateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateLaunchPlan_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>* AdminService::Stub::PrepareAsyncCreateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateLaunchPlan_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::LaunchPlan* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetLaunchPlan_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetLaunchPlan_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetLaunchPlan_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* AdminService::Stub::AsyncGetLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlan>::Create(channel_.get(), cq, rpcmethod_GetLaunchPlan_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* AdminService::Stub::PrepareAsyncGetLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlan>::Create(channel_.get(), cq, rpcmethod_GetLaunchPlan_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::flyteidl::admin::LaunchPlan* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetActiveLaunchPlan_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetActiveLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetActiveLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetActiveLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetActiveLaunchPlan_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetActiveLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetActiveLaunchPlan_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* AdminService::Stub::AsyncGetActiveLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlan>::Create(channel_.get(), cq, rpcmethod_GetActiveLaunchPlan_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* AdminService::Stub::PrepareAsyncGetActiveLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlan>::Create(channel_.get(), cq, rpcmethod_GetActiveLaunchPlan_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::flyteidl::admin::LaunchPlanList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListActiveLaunchPlans_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListActiveLaunchPlans_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListActiveLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListActiveLaunchPlans_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListActiveLaunchPlans_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListActiveLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListActiveLaunchPlans_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* AdminService::Stub::AsyncListActiveLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanList>::Create(channel_.get(), cq, rpcmethod_ListActiveLaunchPlans_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* AdminService::Stub::PrepareAsyncListActiveLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanList>::Create(channel_.get(), cq, rpcmethod_ListActiveLaunchPlans_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListLaunchPlanIds_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlanIds_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListLaunchPlanIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlanIds_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlanIds_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListLaunchPlanIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlanIds_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AdminService::Stub::AsyncListLaunchPlanIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityIdentifierList>::Create(channel_.get(), cq, rpcmethod_ListLaunchPlanIds_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AdminService::Stub::PrepareAsyncListLaunchPlanIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityIdentifierList>::Create(channel_.get(), cq, rpcmethod_ListLaunchPlanIds_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::LaunchPlanList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListLaunchPlans_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlans_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlans_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlans_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListLaunchPlans_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* AdminService::Stub::AsyncListLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanList>::Create(channel_.get(), cq, rpcmethod_ListLaunchPlans_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* AdminService::Stub::PrepareAsyncListLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanList>::Create(channel_.get(), cq, rpcmethod_ListLaunchPlans_, context, request, false); -} - -::grpc::Status AdminService::Stub::UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateLaunchPlan_, context, request, response); -} - -void AdminService::Stub::experimental_async::UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateLaunchPlan_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateLaunchPlan_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::UpdateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateLaunchPlan_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>* AdminService::Stub::AsyncUpdateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateLaunchPlan_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::LaunchPlanUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateLaunchPlan_, context, request, false); -} - -::grpc::Status AdminService::Stub::CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::CreateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AdminService::Stub::AsyncCreateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AdminService::Stub::PrepareAsyncCreateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RelaunchExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RelaunchExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::RelaunchExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RelaunchExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RelaunchExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::RelaunchExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RelaunchExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AdminService::Stub::AsyncRelaunchExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionCreateResponse>::Create(channel_.get(), cq, rpcmethod_RelaunchExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AdminService::Stub::PrepareAsyncRelaunchExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionCreateResponse>::Create(channel_.get(), cq, rpcmethod_RelaunchExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RecoverExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RecoverExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::RecoverExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RecoverExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RecoverExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::RecoverExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RecoverExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AdminService::Stub::AsyncRecoverExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionCreateResponse>::Create(channel_.get(), cq, rpcmethod_RecoverExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AdminService::Stub::PrepareAsyncRecoverExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionCreateResponse>::Create(channel_.get(), cq, rpcmethod_RecoverExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::flyteidl::admin::Execution* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Execution* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Execution* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>* AdminService::Stub::AsyncGetExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Execution>::Create(channel_.get(), cq, rpcmethod_GetExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>* AdminService::Stub::PrepareAsyncGetExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Execution>::Create(channel_.get(), cq, rpcmethod_GetExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::flyteidl::admin::ExecutionUpdateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::UpdateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>* AdminService::Stub::AsyncUpdateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetExecutionData_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecutionData_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecutionData_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecutionData_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecutionData_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>* AdminService::Stub::AsyncGetExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionGetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetExecutionData_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>* AdminService::Stub::PrepareAsyncGetExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionGetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetExecutionData_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::ExecutionList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListExecutions_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListExecutions_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListExecutions_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListExecutions_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListExecutions_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>* AdminService::Stub::AsyncListExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionList>::Create(channel_.get(), cq, rpcmethod_ListExecutions_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>* AdminService::Stub::PrepareAsyncListExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionList>::Create(channel_.get(), cq, rpcmethod_ListExecutions_, context, request, false); -} - -::grpc::Status AdminService::Stub::TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::flyteidl::admin::ExecutionTerminateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_TerminateExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_TerminateExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::TerminateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionTerminateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_TerminateExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_TerminateExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::TerminateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionTerminateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_TerminateExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>* AdminService::Stub::AsyncTerminateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionTerminateResponse>::Create(channel_.get(), cq, rpcmethod_TerminateExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>* AdminService::Stub::PrepareAsyncTerminateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ExecutionTerminateResponse>::Create(channel_.get(), cq, rpcmethod_TerminateExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::flyteidl::admin::NodeExecution* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetNodeExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetNodeExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecution* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetNodeExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>* AdminService::Stub::AsyncGetNodeExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecution>::Create(channel_.get(), cq, rpcmethod_GetNodeExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>* AdminService::Stub::PrepareAsyncGetNodeExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecution>::Create(channel_.get(), cq, rpcmethod_GetNodeExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetDynamicNodeWorkflow_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetDynamicNodeWorkflow_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetDynamicNodeWorkflow_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetDynamicNodeWorkflow_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetDynamicNodeWorkflow_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>* AdminService::Stub::AsyncGetDynamicNodeWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DynamicNodeWorkflowResponse>::Create(channel_.get(), cq, rpcmethod_GetDynamicNodeWorkflow_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>* AdminService::Stub::PrepareAsyncGetDynamicNodeWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DynamicNodeWorkflowResponse>::Create(channel_.get(), cq, rpcmethod_GetDynamicNodeWorkflow_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::flyteidl::admin::NodeExecutionList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListNodeExecutions_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutions_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListNodeExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutions_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutions_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListNodeExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutions_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* AdminService::Stub::AsyncListNodeExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionList>::Create(channel_.get(), cq, rpcmethod_ListNodeExecutions_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* AdminService::Stub::PrepareAsyncListNodeExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionList>::Create(channel_.get(), cq, rpcmethod_ListNodeExecutions_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::flyteidl::admin::NodeExecutionList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListNodeExecutionsForTask_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutionsForTask_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutionsForTask_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutionsForTask_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNodeExecutionsForTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* AdminService::Stub::AsyncListNodeExecutionsForTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionList>::Create(channel_.get(), cq, rpcmethod_ListNodeExecutionsForTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* AdminService::Stub::PrepareAsyncListNodeExecutionsForTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionList>::Create(channel_.get(), cq, rpcmethod_ListNodeExecutionsForTask_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetNodeExecutionData_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecutionData_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetNodeExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecutionData_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecutionData_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetNodeExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNodeExecutionData_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>* AdminService::Stub::AsyncGetNodeExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionGetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetNodeExecutionData_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>* AdminService::Stub::PrepareAsyncGetNodeExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionGetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetNodeExecutionData_, context, request, false); -} - -::grpc::Status AdminService::Stub::RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::flyteidl::admin::ProjectRegisterResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RegisterProject_, context, request, response); -} - -void AdminService::Stub::experimental_async::RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterProject_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::RegisterProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectRegisterResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterProject_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterProject_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::RegisterProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectRegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterProject_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>* AdminService::Stub::AsyncRegisterProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectRegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterProject_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>* AdminService::Stub::PrepareAsyncRegisterProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectRegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterProject_, context, request, false); -} - -::grpc::Status AdminService::Stub::UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::flyteidl::admin::ProjectUpdateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateProject_, context, request, response); -} - -void AdminService::Stub::experimental_async::UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProject_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProject_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProject_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::UpdateProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProject_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>* AdminService::Stub::AsyncUpdateProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProject_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProject_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::flyteidl::admin::Projects* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListProjects_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListProjects_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListProjects(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Projects* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListProjects_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListProjects_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListProjects(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Projects* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListProjects_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>* AdminService::Stub::AsyncListProjectsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Projects>::Create(channel_.get(), cq, rpcmethod_ListProjects_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>* AdminService::Stub::PrepareAsyncListProjectsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Projects>::Create(channel_.get(), cq, rpcmethod_ListProjects_, context, request, false); -} - -::grpc::Status AdminService::Stub::CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateWorkflowEvent_, context, request, response); -} - -void AdminService::Stub::experimental_async::CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflowEvent_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateWorkflowEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflowEvent_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflowEvent_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::CreateWorkflowEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateWorkflowEvent_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>* AdminService::Stub::AsyncCreateWorkflowEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionEventResponse>::Create(channel_.get(), cq, rpcmethod_CreateWorkflowEvent_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>* AdminService::Stub::PrepareAsyncCreateWorkflowEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionEventResponse>::Create(channel_.get(), cq, rpcmethod_CreateWorkflowEvent_, context, request, false); -} - -::grpc::Status AdminService::Stub::CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::flyteidl::admin::NodeExecutionEventResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateNodeEvent_, context, request, response); -} - -void AdminService::Stub::experimental_async::CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateNodeEvent_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateNodeEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionEventResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateNodeEvent_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateNodeEvent_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::CreateNodeEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateNodeEvent_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>* AdminService::Stub::AsyncCreateNodeEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionEventResponse>::Create(channel_.get(), cq, rpcmethod_CreateNodeEvent_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>* AdminService::Stub::PrepareAsyncCreateNodeEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NodeExecutionEventResponse>::Create(channel_.get(), cq, rpcmethod_CreateNodeEvent_, context, request, false); -} - -::grpc::Status AdminService::Stub::CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::flyteidl::admin::TaskExecutionEventResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateTaskEvent_, context, request, response); -} - -void AdminService::Stub::experimental_async::CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTaskEvent_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateTaskEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionEventResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTaskEvent_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTaskEvent_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::CreateTaskEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTaskEvent_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>* AdminService::Stub::AsyncCreateTaskEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecutionEventResponse>::Create(channel_.get(), cq, rpcmethod_CreateTaskEvent_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>* AdminService::Stub::PrepareAsyncCreateTaskEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecutionEventResponse>::Create(channel_.get(), cq, rpcmethod_CreateTaskEvent_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::flyteidl::admin::TaskExecution* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTaskExecution_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetTaskExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecution* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecution_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecution_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetTaskExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecution_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>* AdminService::Stub::AsyncGetTaskExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecution>::Create(channel_.get(), cq, rpcmethod_GetTaskExecution_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>* AdminService::Stub::PrepareAsyncGetTaskExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecution>::Create(channel_.get(), cq, rpcmethod_GetTaskExecution_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::flyteidl::admin::TaskExecutionList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListTaskExecutions_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListTaskExecutions_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListTaskExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListTaskExecutions_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListTaskExecutions_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListTaskExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListTaskExecutions_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>* AdminService::Stub::AsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecutionList>::Create(channel_.get(), cq, rpcmethod_ListTaskExecutions_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>* AdminService::Stub::PrepareAsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecutionList>::Create(channel_.get(), cq, rpcmethod_ListTaskExecutions_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTaskExecutionData_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecutionData_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecutionData_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecutionData_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskExecutionData_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>* AdminService::Stub::AsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecutionGetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetTaskExecutionData_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>* AdminService::Stub::PrepareAsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecutionGetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetTaskExecutionData_, context, request, false); -} - -::grpc::Status AdminService::Stub::UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateProjectDomainAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectDomainAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectDomainAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectDomainAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectDomainAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* AdminService::Stub::AsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProjectDomainAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProjectDomainAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetProjectDomainAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetProjectDomainAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetProjectDomainAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetProjectDomainAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetProjectDomainAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>* AdminService::Stub::AsyncGetProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectDomainAttributesGetResponse>::Create(channel_.get(), cq, rpcmethod_GetProjectDomainAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>* AdminService::Stub::PrepareAsyncGetProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectDomainAttributesGetResponse>::Create(channel_.get(), cq, rpcmethod_GetProjectDomainAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteProjectDomainAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectDomainAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectDomainAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectDomainAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectDomainAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* AdminService::Stub::AsyncDeleteProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteProjectDomainAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* AdminService::Stub::PrepareAsyncDeleteProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteProjectDomainAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateProjectAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AdminService::Stub::AsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProjectAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProjectAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::flyteidl::admin::ProjectAttributesGetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetProjectAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetProjectAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetProjectAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetProjectAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetProjectAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>* AdminService::Stub::AsyncGetProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesGetResponse>::Create(channel_.get(), cq, rpcmethod_GetProjectAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>* AdminService::Stub::PrepareAsyncGetProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesGetResponse>::Create(channel_.get(), cq, rpcmethod_GetProjectAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteProjectAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::DeleteProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::DeleteProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteProjectAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>* AdminService::Stub::AsyncDeleteProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteProjectAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>* AdminService::Stub::PrepareAsyncDeleteProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteProjectAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateWorkflowAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AdminService::Stub::AsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateWorkflowAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateWorkflowAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetWorkflowAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetWorkflowAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetWorkflowAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetWorkflowAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetWorkflowAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>* AdminService::Stub::AsyncGetWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesGetResponse>::Create(channel_.get(), cq, rpcmethod_GetWorkflowAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>* AdminService::Stub::PrepareAsyncGetWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesGetResponse>::Create(channel_.get(), cq, rpcmethod_GetWorkflowAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteWorkflowAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteWorkflowAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteWorkflowAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteWorkflowAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteWorkflowAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>* AdminService::Stub::AsyncDeleteWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteWorkflowAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>* AdminService::Stub::PrepareAsyncDeleteWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteWorkflowAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::flyteidl::admin::ListMatchableAttributesResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListMatchableAttributes_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListMatchableAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListMatchableAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListMatchableAttributes_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListMatchableAttributes_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListMatchableAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListMatchableAttributes_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>* AdminService::Stub::AsyncListMatchableAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ListMatchableAttributesResponse>::Create(channel_.get(), cq, rpcmethod_ListMatchableAttributes_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>* AdminService::Stub::PrepareAsyncListMatchableAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ListMatchableAttributesResponse>::Create(channel_.get(), cq, rpcmethod_ListMatchableAttributes_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::flyteidl::admin::NamedEntityList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListNamedEntities_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNamedEntities_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListNamedEntities_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNamedEntities_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListNamedEntities_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>* AdminService::Stub::AsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityList>::Create(channel_.get(), cq, rpcmethod_ListNamedEntities_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>* AdminService::Stub::PrepareAsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityList>::Create(channel_.get(), cq, rpcmethod_ListNamedEntities_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::flyteidl::admin::NamedEntity* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetNamedEntity_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNamedEntity_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntity* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetNamedEntity_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNamedEntity_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetNamedEntity_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>* AdminService::Stub::AsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntity>::Create(channel_.get(), cq, rpcmethod_GetNamedEntity_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>* AdminService::Stub::PrepareAsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntity>::Create(channel_.get(), cq, rpcmethod_GetNamedEntity_, context, request, false); -} - -::grpc::Status AdminService::Stub::UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::flyteidl::admin::NamedEntityUpdateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateNamedEntity_, context, request, response); -} - -void AdminService::Stub::experimental_async::UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateNamedEntity_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateNamedEntity_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateNamedEntity_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::UpdateNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateNamedEntity_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>* AdminService::Stub::AsyncUpdateNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateNamedEntity_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::NamedEntityUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateNamedEntity_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::flyteidl::admin::GetVersionResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetVersion_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetVersion_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetVersionResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetVersion_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetVersion_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetVersionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetVersion_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>* AdminService::Stub::AsyncGetVersionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetVersionResponse>::Create(channel_.get(), cq, rpcmethod_GetVersion_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>* AdminService::Stub::PrepareAsyncGetVersionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetVersionResponse>::Create(channel_.get(), cq, rpcmethod_GetVersion_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::DescriptionEntity* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetDescriptionEntity_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetDescriptionEntity_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetDescriptionEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntity* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetDescriptionEntity_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetDescriptionEntity_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetDescriptionEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetDescriptionEntity_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>* AdminService::Stub::AsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DescriptionEntity>::Create(channel_.get(), cq, rpcmethod_GetDescriptionEntity_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>* AdminService::Stub::PrepareAsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DescriptionEntity>::Create(channel_.get(), cq, rpcmethod_GetDescriptionEntity_, context, request, false); -} - -::grpc::Status AdminService::Stub::ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::flyteidl::admin::DescriptionEntityList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListDescriptionEntities_, context, request, response); -} - -void AdminService::Stub::experimental_async::ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListDescriptionEntities_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListDescriptionEntities_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListDescriptionEntities_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListDescriptionEntities_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>* AdminService::Stub::AsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DescriptionEntityList>::Create(channel_.get(), cq, rpcmethod_ListDescriptionEntities_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>* AdminService::Stub::PrepareAsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DescriptionEntityList>::Create(channel_.get(), cq, rpcmethod_ListDescriptionEntities_, context, request, false); -} - -::grpc::Status AdminService::Stub::GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetExecutionMetrics_, context, request, response); -} - -void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, std::move(f)); -} - -void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, reactor); -} - -void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AdminService::Stub::AsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>::Create(channel_.get(), cq, rpcmethod_GetExecutionMetrics_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AdminService::Stub::PrepareAsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>::Create(channel_.get(), cq, rpcmethod_GetExecutionMetrics_, context, request, false); -} - -AdminService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::TaskCreateRequest, ::flyteidl::admin::TaskCreateResponse>( - std::mem_fn(&AdminService::Service::CreateTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Task>( - std::mem_fn(&AdminService::Service::GetTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>( - std::mem_fn(&AdminService::Service::ListTaskIds), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[3], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::TaskList>( - std::mem_fn(&AdminService::Service::ListTasks), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[4], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowCreateRequest, ::flyteidl::admin::WorkflowCreateResponse>( - std::mem_fn(&AdminService::Service::CreateWorkflow), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[5], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Workflow>( - std::mem_fn(&AdminService::Service::GetWorkflow), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[6], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>( - std::mem_fn(&AdminService::Service::ListWorkflowIds), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[7], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::WorkflowList>( - std::mem_fn(&AdminService::Service::ListWorkflows), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[8], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::LaunchPlanCreateRequest, ::flyteidl::admin::LaunchPlanCreateResponse>( - std::mem_fn(&AdminService::Service::CreateLaunchPlan), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[9], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::LaunchPlan>( - std::mem_fn(&AdminService::Service::GetLaunchPlan), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[10], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ActiveLaunchPlanRequest, ::flyteidl::admin::LaunchPlan>( - std::mem_fn(&AdminService::Service::GetActiveLaunchPlan), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[11], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ActiveLaunchPlanListRequest, ::flyteidl::admin::LaunchPlanList>( - std::mem_fn(&AdminService::Service::ListActiveLaunchPlans), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[12], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>( - std::mem_fn(&AdminService::Service::ListLaunchPlanIds), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[13], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::LaunchPlanList>( - std::mem_fn(&AdminService::Service::ListLaunchPlans), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[14], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::LaunchPlanUpdateRequest, ::flyteidl::admin::LaunchPlanUpdateResponse>( - std::mem_fn(&AdminService::Service::UpdateLaunchPlan), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[15], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ExecutionCreateRequest, ::flyteidl::admin::ExecutionCreateResponse>( - std::mem_fn(&AdminService::Service::CreateExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[16], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ExecutionRelaunchRequest, ::flyteidl::admin::ExecutionCreateResponse>( - std::mem_fn(&AdminService::Service::RelaunchExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[17], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ExecutionRecoverRequest, ::flyteidl::admin::ExecutionCreateResponse>( - std::mem_fn(&AdminService::Service::RecoverExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[18], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowExecutionGetRequest, ::flyteidl::admin::Execution>( - std::mem_fn(&AdminService::Service::GetExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[19], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ExecutionUpdateRequest, ::flyteidl::admin::ExecutionUpdateResponse>( - std::mem_fn(&AdminService::Service::UpdateExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[20], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowExecutionGetDataRequest, ::flyteidl::admin::WorkflowExecutionGetDataResponse>( - std::mem_fn(&AdminService::Service::GetExecutionData), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[21], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::ExecutionList>( - std::mem_fn(&AdminService::Service::ListExecutions), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[22], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ExecutionTerminateRequest, ::flyteidl::admin::ExecutionTerminateResponse>( - std::mem_fn(&AdminService::Service::TerminateExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[23], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NodeExecutionGetRequest, ::flyteidl::admin::NodeExecution>( - std::mem_fn(&AdminService::Service::GetNodeExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[24], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::GetDynamicNodeWorkflowRequest, ::flyteidl::admin::DynamicNodeWorkflowResponse>( - std::mem_fn(&AdminService::Service::GetDynamicNodeWorkflow), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[25], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NodeExecutionListRequest, ::flyteidl::admin::NodeExecutionList>( - std::mem_fn(&AdminService::Service::ListNodeExecutions), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[26], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NodeExecutionForTaskListRequest, ::flyteidl::admin::NodeExecutionList>( - std::mem_fn(&AdminService::Service::ListNodeExecutionsForTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[27], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NodeExecutionGetDataRequest, ::flyteidl::admin::NodeExecutionGetDataResponse>( - std::mem_fn(&AdminService::Service::GetNodeExecutionData), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[28], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectRegisterRequest, ::flyteidl::admin::ProjectRegisterResponse>( - std::mem_fn(&AdminService::Service::RegisterProject), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[29], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::Project, ::flyteidl::admin::ProjectUpdateResponse>( - std::mem_fn(&AdminService::Service::UpdateProject), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[30], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectListRequest, ::flyteidl::admin::Projects>( - std::mem_fn(&AdminService::Service::ListProjects), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[31], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowExecutionEventRequest, ::flyteidl::admin::WorkflowExecutionEventResponse>( - std::mem_fn(&AdminService::Service::CreateWorkflowEvent), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[32], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NodeExecutionEventRequest, ::flyteidl::admin::NodeExecutionEventResponse>( - std::mem_fn(&AdminService::Service::CreateNodeEvent), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[33], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::TaskExecutionEventRequest, ::flyteidl::admin::TaskExecutionEventResponse>( - std::mem_fn(&AdminService::Service::CreateTaskEvent), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[34], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::TaskExecutionGetRequest, ::flyteidl::admin::TaskExecution>( - std::mem_fn(&AdminService::Service::GetTaskExecution), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[35], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::TaskExecutionListRequest, ::flyteidl::admin::TaskExecutionList>( - std::mem_fn(&AdminService::Service::ListTaskExecutions), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[36], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::TaskExecutionGetDataRequest, ::flyteidl::admin::TaskExecutionGetDataResponse>( - std::mem_fn(&AdminService::Service::GetTaskExecutionData), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[37], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>( - std::mem_fn(&AdminService::Service::UpdateProjectDomainAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[38], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectDomainAttributesGetRequest, ::flyteidl::admin::ProjectDomainAttributesGetResponse>( - std::mem_fn(&AdminService::Service::GetProjectDomainAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[39], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectDomainAttributesDeleteRequest, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>( - std::mem_fn(&AdminService::Service::DeleteProjectDomainAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[40], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>( - std::mem_fn(&AdminService::Service::UpdateProjectAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[41], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectAttributesGetRequest, ::flyteidl::admin::ProjectAttributesGetResponse>( - std::mem_fn(&AdminService::Service::GetProjectAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[42], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectAttributesDeleteRequest, ::flyteidl::admin::ProjectAttributesDeleteResponse>( - std::mem_fn(&AdminService::Service::DeleteProjectAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[43], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>( - std::mem_fn(&AdminService::Service::UpdateWorkflowAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[44], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowAttributesGetRequest, ::flyteidl::admin::WorkflowAttributesGetResponse>( - std::mem_fn(&AdminService::Service::GetWorkflowAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[45], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowAttributesDeleteRequest, ::flyteidl::admin::WorkflowAttributesDeleteResponse>( - std::mem_fn(&AdminService::Service::DeleteWorkflowAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[46], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ListMatchableAttributesRequest, ::flyteidl::admin::ListMatchableAttributesResponse>( - std::mem_fn(&AdminService::Service::ListMatchableAttributes), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[47], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>( - std::mem_fn(&AdminService::Service::ListNamedEntities), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[48], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>( - std::mem_fn(&AdminService::Service::GetNamedEntity), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[49], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>( - std::mem_fn(&AdminService::Service::UpdateNamedEntity), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[50], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::GetVersionRequest, ::flyteidl::admin::GetVersionResponse>( - std::mem_fn(&AdminService::Service::GetVersion), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[51], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::DescriptionEntity>( - std::mem_fn(&AdminService::Service::GetDescriptionEntity), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[52], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::DescriptionEntityListRequest, ::flyteidl::admin::DescriptionEntityList>( - std::mem_fn(&AdminService::Service::ListDescriptionEntities), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[53], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>( - std::mem_fn(&AdminService::Service::GetExecutionMetrics), this))); -} - -AdminService::Service::~Service() { -} - -::grpc::Status AdminService::Service::CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AdminService::Service::GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace flyteidl -} // namespace service - diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h deleted file mode 100644 index 102f1003b4..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h +++ /dev/null @@ -1,8967 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/admin.proto -#ifndef GRPC_flyteidl_2fservice_2fadmin_2eproto__INCLUDED -#define GRPC_flyteidl_2fservice_2fadmin_2eproto__INCLUDED - -#include "flyteidl/service/admin.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 { - -// The following defines an RPC service that is also served over HTTP via grpc-gateway. -// Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go -class AdminService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.AdminService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Create and upload a :ref:`ref_flyteidl.admin.Task` definition - virtual ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::flyteidl::admin::TaskCreateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskCreateResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskCreateResponse>>(AsyncCreateTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskCreateResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskCreateResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); - } - // Fetch a :ref:`ref_flyteidl.admin.Task` definition. - virtual ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::Task* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Task>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Task>>(AsyncGetTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Task>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Task>>(PrepareAsyncGetTaskRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. - virtual ::grpc::Status ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>> AsyncListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>>(AsyncListTaskIdsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>> PrepareAsyncListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>>(PrepareAsyncListTaskIdsRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - virtual ::grpc::Status ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::TaskList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskList>> AsyncListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskList>>(AsyncListTasksRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskList>> PrepareAsyncListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskList>>(PrepareAsyncListTasksRaw(context, request, cq)); - } - // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - virtual ::grpc::Status CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::flyteidl::admin::WorkflowCreateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowCreateResponse>> AsyncCreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowCreateResponse>>(AsyncCreateWorkflowRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowCreateResponse>> PrepareAsyncCreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowCreateResponse>>(PrepareAsyncCreateWorkflowRaw(context, request, cq)); - } - // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. - virtual ::grpc::Status GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::Workflow* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Workflow>> AsyncGetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Workflow>>(AsyncGetWorkflowRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Workflow>> PrepareAsyncGetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Workflow>>(PrepareAsyncGetWorkflowRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. - virtual ::grpc::Status ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>> AsyncListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>>(AsyncListWorkflowIdsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>> PrepareAsyncListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>>(PrepareAsyncListWorkflowIdsRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - virtual ::grpc::Status ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::WorkflowList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowList>> AsyncListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowList>>(AsyncListWorkflowsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowList>> PrepareAsyncListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowList>>(PrepareAsyncListWorkflowsRaw(context, request, cq)); - } - // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - virtual ::grpc::Status CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::flyteidl::admin::LaunchPlanCreateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanCreateResponse>> AsyncCreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanCreateResponse>>(AsyncCreateLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanCreateResponse>> PrepareAsyncCreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanCreateResponse>>(PrepareAsyncCreateLaunchPlanRaw(context, request, cq)); - } - // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. - virtual ::grpc::Status GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::LaunchPlan* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>> AsyncGetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>>(AsyncGetLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>> PrepareAsyncGetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>>(PrepareAsyncGetLaunchPlanRaw(context, request, cq)); - } - // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual ::grpc::Status GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::flyteidl::admin::LaunchPlan* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>> AsyncGetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>>(AsyncGetActiveLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>> PrepareAsyncGetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>>(PrepareAsyncGetActiveLaunchPlanRaw(context, request, cq)); - } - // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual ::grpc::Status ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::flyteidl::admin::LaunchPlanList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>> AsyncListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>>(AsyncListActiveLaunchPlansRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>> PrepareAsyncListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>>(PrepareAsyncListActiveLaunchPlansRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. - virtual ::grpc::Status ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>> AsyncListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>>(AsyncListLaunchPlanIdsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>> PrepareAsyncListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>>(PrepareAsyncListLaunchPlanIdsRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - virtual ::grpc::Status ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::LaunchPlanList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>> AsyncListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>>(AsyncListLaunchPlansRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>> PrepareAsyncListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>>(PrepareAsyncListLaunchPlansRaw(context, request, cq)); - } - // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual ::grpc::Status UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanUpdateResponse>> AsyncUpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanUpdateResponse>>(AsyncUpdateLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanUpdateResponse>> PrepareAsyncUpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanUpdateResponse>>(PrepareAsyncUpdateLaunchPlanRaw(context, request, cq)); - } - // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - virtual ::grpc::Status CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>> AsyncCreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>>(AsyncCreateExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>> PrepareAsyncCreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>>(PrepareAsyncCreateExecutionRaw(context, request, cq)); - } - // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - virtual ::grpc::Status RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>> AsyncRelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>>(AsyncRelaunchExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>> PrepareAsyncRelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>>(PrepareAsyncRelaunchExecutionRaw(context, request, cq)); - } - // Recreates a previously-run workflow execution that will only start executing from the last known failure point. - // In Recover mode, users cannot change any input parameters or update the version of the execution. - // This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, - // downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. - // See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - virtual ::grpc::Status RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>> AsyncRecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>>(AsyncRecoverExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>> PrepareAsyncRecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>>(PrepareAsyncRecoverExecutionRaw(context, request, cq)); - } - // Fetches a :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::flyteidl::admin::Execution* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Execution>> AsyncGetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Execution>>(AsyncGetExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Execution>> PrepareAsyncGetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Execution>>(PrepareAsyncGetExecutionRaw(context, request, cq)); - } - // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::flyteidl::admin::ExecutionUpdateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionUpdateResponse>> AsyncUpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionUpdateResponse>>(AsyncUpdateExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionUpdateResponse>> PrepareAsyncUpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionUpdateResponse>>(PrepareAsyncUpdateExecutionRaw(context, request, cq)); - } - // Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetDataResponse>> AsyncGetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetDataResponse>>(AsyncGetExecutionDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetDataResponse>> PrepareAsyncGetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetDataResponse>>(PrepareAsyncGetExecutionDataRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::ExecutionList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionList>> AsyncListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionList>>(AsyncListExecutionsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionList>> PrepareAsyncListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionList>>(PrepareAsyncListExecutionsRaw(context, request, cq)); - } - // Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::flyteidl::admin::ExecutionTerminateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionTerminateResponse>> AsyncTerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionTerminateResponse>>(AsyncTerminateExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionTerminateResponse>> PrepareAsyncTerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionTerminateResponse>>(PrepareAsyncTerminateExecutionRaw(context, request, cq)); - } - // Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - virtual ::grpc::Status GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::flyteidl::admin::NodeExecution* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecution>> AsyncGetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecution>>(AsyncGetNodeExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecution>> PrepareAsyncGetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecution>>(PrepareAsyncGetNodeExecutionRaw(context, request, cq)); - } - // Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. - virtual ::grpc::Status GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DynamicNodeWorkflowResponse>> AsyncGetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DynamicNodeWorkflowResponse>>(AsyncGetDynamicNodeWorkflowRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DynamicNodeWorkflowResponse>> PrepareAsyncGetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DynamicNodeWorkflowResponse>>(PrepareAsyncGetDynamicNodeWorkflowRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. - virtual ::grpc::Status ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::flyteidl::admin::NodeExecutionList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>> AsyncListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>>(AsyncListNodeExecutionsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>> PrepareAsyncListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>>(PrepareAsyncListNodeExecutionsRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::flyteidl::admin::NodeExecutionList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>> AsyncListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>>(AsyncListNodeExecutionsForTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>> PrepareAsyncListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>>(PrepareAsyncListNodeExecutionsForTaskRaw(context, request, cq)); - } - // Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - virtual ::grpc::Status GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionGetDataResponse>> AsyncGetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionGetDataResponse>>(AsyncGetNodeExecutionDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionGetDataResponse>> PrepareAsyncGetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionGetDataResponse>>(PrepareAsyncGetNodeExecutionDataRaw(context, request, cq)); - } - // Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - virtual ::grpc::Status RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::flyteidl::admin::ProjectRegisterResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectRegisterResponse>> AsyncRegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectRegisterResponse>>(AsyncRegisterProjectRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectRegisterResponse>> PrepareAsyncRegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectRegisterResponse>>(PrepareAsyncRegisterProjectRaw(context, request, cq)); - } - // Updates an existing :ref:`ref_flyteidl.admin.Project` - // flyteidl.admin.Project should be passed but the domains property should be empty; - // it will be ignored in the handler as domains cannot be updated via this API. - virtual ::grpc::Status UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::flyteidl::admin::ProjectUpdateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectUpdateResponse>> AsyncUpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectUpdateResponse>>(AsyncUpdateProjectRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectUpdateResponse>> PrepareAsyncUpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectUpdateResponse>>(PrepareAsyncUpdateProjectRaw(context, request, cq)); - } - // Fetches a list of :ref:`ref_flyteidl.admin.Project` - virtual ::grpc::Status ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::flyteidl::admin::Projects* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Projects>> AsyncListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Projects>>(AsyncListProjectsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Projects>> PrepareAsyncListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Projects>>(PrepareAsyncListProjectsRaw(context, request, cq)); - } - // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - virtual ::grpc::Status CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionEventResponse>> AsyncCreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionEventResponse>>(AsyncCreateWorkflowEventRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionEventResponse>> PrepareAsyncCreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionEventResponse>>(PrepareAsyncCreateWorkflowEventRaw(context, request, cq)); - } - // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - virtual ::grpc::Status CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::flyteidl::admin::NodeExecutionEventResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionEventResponse>> AsyncCreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionEventResponse>>(AsyncCreateNodeEventRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionEventResponse>> PrepareAsyncCreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionEventResponse>>(PrepareAsyncCreateNodeEventRaw(context, request, cq)); - } - // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - virtual ::grpc::Status CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::flyteidl::admin::TaskExecutionEventResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionEventResponse>> AsyncCreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionEventResponse>>(AsyncCreateTaskEventRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionEventResponse>> PrepareAsyncCreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionEventResponse>>(PrepareAsyncCreateTaskEventRaw(context, request, cq)); - } - // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::flyteidl::admin::TaskExecution* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecution>> AsyncGetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecution>>(AsyncGetTaskExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecution>> PrepareAsyncGetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecution>>(PrepareAsyncGetTaskExecutionRaw(context, request, cq)); - } - // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::flyteidl::admin::TaskExecutionList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionList>> AsyncListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionList>>(AsyncListTaskExecutionsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionList>> PrepareAsyncListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionList>>(PrepareAsyncListTaskExecutionsRaw(context, request, cq)); - } - // Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>> AsyncGetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>>(AsyncGetTaskExecutionDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>> PrepareAsyncGetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>>(PrepareAsyncGetTaskExecutionDataRaw(context, request, cq)); - } - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> AsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(AsyncUpdateProjectDomainAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> PrepareAsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(PrepareAsyncUpdateProjectDomainAttributesRaw(context, request, cq)); - } - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesGetResponse>> AsyncGetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesGetResponse>>(AsyncGetProjectDomainAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesGetResponse>> PrepareAsyncGetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesGetResponse>>(PrepareAsyncGetProjectDomainAttributesRaw(context, request, cq)); - } - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>> AsyncDeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>>(AsyncDeleteProjectDomainAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>> PrepareAsyncDeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>>(PrepareAsyncDeleteProjectDomainAttributesRaw(context, request, cq)); - } - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - virtual ::grpc::Status UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>> AsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(AsyncUpdateProjectAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>> PrepareAsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(PrepareAsyncUpdateProjectAttributesRaw(context, request, cq)); - } - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::flyteidl::admin::ProjectAttributesGetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesGetResponse>> AsyncGetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesGetResponse>>(AsyncGetProjectAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesGetResponse>> PrepareAsyncGetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesGetResponse>>(PrepareAsyncGetProjectAttributesRaw(context, request, cq)); - } - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesDeleteResponse>> AsyncDeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesDeleteResponse>>(AsyncDeleteProjectAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesDeleteResponse>> PrepareAsyncDeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesDeleteResponse>>(PrepareAsyncDeleteProjectAttributesRaw(context, request, cq)); - } - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual ::grpc::Status UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> AsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(AsyncUpdateWorkflowAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> PrepareAsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(PrepareAsyncUpdateWorkflowAttributesRaw(context, request, cq)); - } - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual ::grpc::Status GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesGetResponse>> AsyncGetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesGetResponse>>(AsyncGetWorkflowAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesGetResponse>> PrepareAsyncGetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesGetResponse>>(PrepareAsyncGetWorkflowAttributesRaw(context, request, cq)); - } - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual ::grpc::Status DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesDeleteResponse>> AsyncDeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesDeleteResponse>>(AsyncDeleteWorkflowAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesDeleteResponse>> PrepareAsyncDeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesDeleteResponse>>(PrepareAsyncDeleteWorkflowAttributesRaw(context, request, cq)); - } - // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. - virtual ::grpc::Status ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::flyteidl::admin::ListMatchableAttributesResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListMatchableAttributesResponse>> AsyncListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListMatchableAttributesResponse>>(AsyncListMatchableAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListMatchableAttributesResponse>> PrepareAsyncListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListMatchableAttributesResponse>>(PrepareAsyncListMatchableAttributesRaw(context, request, cq)); - } - // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. - virtual ::grpc::Status ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::flyteidl::admin::NamedEntityList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>> AsyncListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>>(AsyncListNamedEntitiesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>> PrepareAsyncListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>>(PrepareAsyncListNamedEntitiesRaw(context, request, cq)); - } - // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - virtual ::grpc::Status GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::flyteidl::admin::NamedEntity* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntity>> AsyncGetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntity>>(AsyncGetNamedEntityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntity>> PrepareAsyncGetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntity>>(PrepareAsyncGetNamedEntityRaw(context, request, cq)); - } - // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - virtual ::grpc::Status UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::flyteidl::admin::NamedEntityUpdateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityUpdateResponse>> AsyncUpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityUpdateResponse>>(AsyncUpdateNamedEntityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityUpdateResponse>> PrepareAsyncUpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityUpdateResponse>>(PrepareAsyncUpdateNamedEntityRaw(context, request, cq)); - } - virtual ::grpc::Status GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::flyteidl::admin::GetVersionResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetVersionResponse>> AsyncGetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetVersionResponse>>(AsyncGetVersionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetVersionResponse>> PrepareAsyncGetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetVersionResponse>>(PrepareAsyncGetVersionRaw(context, request, cq)); - } - // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - virtual ::grpc::Status GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::DescriptionEntity* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntity>> AsyncGetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntity>>(AsyncGetDescriptionEntityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntity>> PrepareAsyncGetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntity>>(PrepareAsyncGetDescriptionEntityRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - virtual ::grpc::Status ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::flyteidl::admin::DescriptionEntityList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>> AsyncListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>>(AsyncListDescriptionEntitiesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>> PrepareAsyncListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>>(PrepareAsyncListDescriptionEntitiesRaw(context, request, cq)); - } - // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> AsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(AsyncGetExecutionMetricsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> PrepareAsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(PrepareAsyncGetExecutionMetricsRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Create and upload a :ref:`ref_flyteidl.admin.Task` definition - virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response, std::function) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskCreateResponse* response, std::function) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a :ref:`ref_flyteidl.admin.Task` definition. - virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response, std::function) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Task* response, std::function) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Task* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. - virtual void ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) = 0; - virtual void ListTaskIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) = 0; - virtual void ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListTaskIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - virtual void ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response, std::function) = 0; - virtual void ListTasks(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskList* response, std::function) = 0; - virtual void ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListTasks(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - virtual void CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response, std::function) = 0; - virtual void CreateWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowCreateResponse* response, std::function) = 0; - virtual void CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. - virtual void GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response, std::function) = 0; - virtual void GetWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Workflow* response, std::function) = 0; - virtual void GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Workflow* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. - virtual void ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) = 0; - virtual void ListWorkflowIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) = 0; - virtual void ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListWorkflowIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - virtual void ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response, std::function) = 0; - virtual void ListWorkflows(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowList* response, std::function) = 0; - virtual void ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListWorkflows(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - virtual void CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, std::function) = 0; - virtual void CreateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, std::function) = 0; - virtual void CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. - virtual void GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response, std::function) = 0; - virtual void GetLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, std::function) = 0; - virtual void GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response, std::function) = 0; - virtual void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, std::function) = 0; - virtual void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response, std::function) = 0; - virtual void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, std::function) = 0; - virtual void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. - virtual void ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) = 0; - virtual void ListLaunchPlanIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) = 0; - virtual void ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListLaunchPlanIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - virtual void ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response, std::function) = 0; - virtual void ListLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, std::function) = 0; - virtual void ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual void UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, std::function) = 0; - virtual void UpdateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, std::function) = 0; - virtual void UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UpdateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - virtual void CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) = 0; - virtual void CreateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) = 0; - virtual void CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - virtual void RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) = 0; - virtual void RelaunchExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) = 0; - virtual void RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void RelaunchExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Recreates a previously-run workflow execution that will only start executing from the last known failure point. - // In Recover mode, users cannot change any input parameters or update the version of the execution. - // This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, - // downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. - // See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - virtual void RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) = 0; - virtual void RecoverExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) = 0; - virtual void RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void RecoverExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches a :ref:`ref_flyteidl.admin.Execution`. - virtual void GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response, std::function) = 0; - virtual void GetExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Execution* response, std::function) = 0; - virtual void GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Execution* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - virtual void UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response, std::function) = 0; - virtual void UpdateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionUpdateResponse* response, std::function) = 0; - virtual void UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UpdateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - virtual void GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, std::function) = 0; - virtual void GetExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, std::function) = 0; - virtual void GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.Execution`. - virtual void ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response, std::function) = 0; - virtual void ListExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionList* response, std::function) = 0; - virtual void ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - virtual void TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response, std::function) = 0; - virtual void TerminateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionTerminateResponse* response, std::function) = 0; - virtual void TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void TerminateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionTerminateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - virtual void GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response, std::function) = 0; - virtual void GetNodeExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecution* response, std::function) = 0; - virtual void GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetNodeExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. - virtual void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, std::function) = 0; - virtual void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, std::function) = 0; - virtual void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. - virtual void ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response, std::function) = 0; - virtual void ListNodeExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, std::function) = 0; - virtual void ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListNodeExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. - virtual void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response, std::function) = 0; - virtual void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, std::function) = 0; - virtual void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - virtual void GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, std::function) = 0; - virtual void GetNodeExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, std::function) = 0; - virtual void GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetNodeExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - virtual void RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response, std::function) = 0; - virtual void RegisterProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectRegisterResponse* response, std::function) = 0; - virtual void RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void RegisterProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectRegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Updates an existing :ref:`ref_flyteidl.admin.Project` - // flyteidl.admin.Project should be passed but the domains property should be empty; - // it will be ignored in the handler as domains cannot be updated via this API. - virtual void UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response, std::function) = 0; - virtual void UpdateProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectUpdateResponse* response, std::function) = 0; - virtual void UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UpdateProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches a list of :ref:`ref_flyteidl.admin.Project` - virtual void ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response, std::function) = 0; - virtual void ListProjects(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Projects* response, std::function) = 0; - virtual void ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListProjects(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Projects* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - virtual void CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, std::function) = 0; - virtual void CreateWorkflowEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, std::function) = 0; - virtual void CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateWorkflowEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - virtual void CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response, std::function) = 0; - virtual void CreateNodeEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionEventResponse* response, std::function) = 0; - virtual void CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateNodeEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - virtual void CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response, std::function) = 0; - virtual void CreateTaskEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionEventResponse* response, std::function) = 0; - virtual void CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateTaskEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. - virtual void GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response, std::function) = 0; - virtual void GetTaskExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecution* response, std::function) = 0; - virtual void GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetTaskExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. - virtual void ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response, std::function) = 0; - virtual void ListTaskExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionList* response, std::function) = 0; - virtual void ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListTaskExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. - virtual void GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function) = 0; - virtual void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function) = 0; - virtual void GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) = 0; - virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) = 0; - virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, std::function) = 0; - virtual void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, std::function) = 0; - virtual void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, std::function) = 0; - virtual void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, std::function) = 0; - virtual void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) = 0; - virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) = 0; - virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual void GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, std::function) = 0; - virtual void GetProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, std::function) = 0; - virtual void GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual void DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, std::function) = 0; - virtual void DeleteProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, std::function) = 0; - virtual void DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) = 0; - virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) = 0; - virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual void GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, std::function) = 0; - virtual void GetWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, std::function) = 0; - virtual void GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, std::function) = 0; - virtual void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, std::function) = 0; - virtual void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. - virtual void ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, std::function) = 0; - virtual void ListMatchableAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, std::function) = 0; - virtual void ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListMatchableAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. - virtual void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, std::function) = 0; - virtual void ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, std::function) = 0; - virtual void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - virtual void GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response, std::function) = 0; - virtual void GetNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntity* response, std::function) = 0; - virtual void GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - virtual void UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, std::function) = 0; - virtual void UpdateNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, std::function) = 0; - virtual void UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UpdateNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response, std::function) = 0; - virtual void GetVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetVersionResponse* response, std::function) = 0; - virtual void GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetVersionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - virtual void GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response, std::function) = 0; - virtual void GetDescriptionEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntity* response, std::function) = 0; - virtual void GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetDescriptionEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - virtual void ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, std::function) = 0; - virtual void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, std::function) = 0; - virtual void ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. - virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) = 0; - virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) = 0; - virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskCreateResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskCreateResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Task>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Task>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>* AsyncListTaskIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>* PrepareAsyncListTaskIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskList>* AsyncListTasksRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskList>* PrepareAsyncListTasksRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowCreateResponse>* AsyncCreateWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowCreateResponse>* PrepareAsyncCreateWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Workflow>* AsyncGetWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Workflow>* PrepareAsyncGetWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>* AsyncListWorkflowIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>* PrepareAsyncListWorkflowIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowList>* AsyncListWorkflowsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowList>* PrepareAsyncListWorkflowsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanCreateResponse>* AsyncCreateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanCreateResponse>* PrepareAsyncCreateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>* AsyncGetLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>* PrepareAsyncGetLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>* AsyncGetActiveLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlan>* PrepareAsyncGetActiveLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>* AsyncListActiveLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>* PrepareAsyncListActiveLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>* AsyncListLaunchPlanIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityIdentifierList>* PrepareAsyncListLaunchPlanIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>* AsyncListLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanList>* PrepareAsyncListLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanUpdateResponse>* AsyncUpdateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::LaunchPlanUpdateResponse>* PrepareAsyncUpdateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>* AsyncCreateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>* PrepareAsyncCreateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>* AsyncRelaunchExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>* PrepareAsyncRelaunchExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>* AsyncRecoverExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionCreateResponse>* PrepareAsyncRecoverExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Execution>* AsyncGetExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Execution>* PrepareAsyncGetExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionUpdateResponse>* AsyncUpdateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionUpdateResponse>* PrepareAsyncUpdateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetDataResponse>* AsyncGetExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetDataResponse>* PrepareAsyncGetExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionList>* AsyncListExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionList>* PrepareAsyncListExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionTerminateResponse>* AsyncTerminateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ExecutionTerminateResponse>* PrepareAsyncTerminateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecution>* AsyncGetNodeExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecution>* PrepareAsyncGetNodeExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DynamicNodeWorkflowResponse>* AsyncGetDynamicNodeWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DynamicNodeWorkflowResponse>* PrepareAsyncGetDynamicNodeWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>* AsyncListNodeExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>* PrepareAsyncListNodeExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>* AsyncListNodeExecutionsForTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionList>* PrepareAsyncListNodeExecutionsForTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionGetDataResponse>* AsyncGetNodeExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionGetDataResponse>* PrepareAsyncGetNodeExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectRegisterResponse>* AsyncRegisterProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectRegisterResponse>* PrepareAsyncRegisterProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectUpdateResponse>* AsyncUpdateProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectUpdateResponse>* PrepareAsyncUpdateProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Projects>* AsyncListProjectsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Projects>* PrepareAsyncListProjectsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionEventResponse>* AsyncCreateWorkflowEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionEventResponse>* PrepareAsyncCreateWorkflowEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionEventResponse>* AsyncCreateNodeEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NodeExecutionEventResponse>* PrepareAsyncCreateNodeEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionEventResponse>* AsyncCreateTaskEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionEventResponse>* PrepareAsyncCreateTaskEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecution>* AsyncGetTaskExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecution>* PrepareAsyncGetTaskExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionList>* AsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionList>* PrepareAsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>* AsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>* PrepareAsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* AsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* PrepareAsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesGetResponse>* AsyncGetProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesGetResponse>* PrepareAsyncGetProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* AsyncDeleteProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* PrepareAsyncDeleteProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>* PrepareAsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesGetResponse>* AsyncGetProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesGetResponse>* PrepareAsyncGetProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesDeleteResponse>* AsyncDeleteProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesDeleteResponse>* PrepareAsyncDeleteProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* PrepareAsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesGetResponse>* AsyncGetWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesGetResponse>* PrepareAsyncGetWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesDeleteResponse>* AsyncDeleteWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesDeleteResponse>* PrepareAsyncDeleteWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListMatchableAttributesResponse>* AsyncListMatchableAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListMatchableAttributesResponse>* PrepareAsyncListMatchableAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>* AsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>* PrepareAsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntity>* AsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntity>* PrepareAsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityUpdateResponse>* AsyncUpdateNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityUpdateResponse>* PrepareAsyncUpdateNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetVersionResponse>* AsyncGetVersionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetVersionResponse>* PrepareAsyncGetVersionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntity>* AsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntity>* PrepareAsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>* AsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>* PrepareAsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* PrepareAsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::flyteidl::admin::TaskCreateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskCreateResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskCreateResponse>>(AsyncCreateTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskCreateResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskCreateResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); - } - ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::Task* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>>(AsyncGetTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>>(PrepareAsyncGetTaskRaw(context, request, cq)); - } - ::grpc::Status ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>> AsyncListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>>(AsyncListTaskIdsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>> PrepareAsyncListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>>(PrepareAsyncListTaskIdsRaw(context, request, cq)); - } - ::grpc::Status ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::TaskList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>> AsyncListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>>(AsyncListTasksRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>> PrepareAsyncListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>>(PrepareAsyncListTasksRaw(context, request, cq)); - } - ::grpc::Status CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::flyteidl::admin::WorkflowCreateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>> AsyncCreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>>(AsyncCreateWorkflowRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>> PrepareAsyncCreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>>(PrepareAsyncCreateWorkflowRaw(context, request, cq)); - } - ::grpc::Status GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::Workflow* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>> AsyncGetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>>(AsyncGetWorkflowRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>> PrepareAsyncGetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>>(PrepareAsyncGetWorkflowRaw(context, request, cq)); - } - ::grpc::Status ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>> AsyncListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>>(AsyncListWorkflowIdsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>> PrepareAsyncListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>>(PrepareAsyncListWorkflowIdsRaw(context, request, cq)); - } - ::grpc::Status ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::WorkflowList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>> AsyncListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>>(AsyncListWorkflowsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>> PrepareAsyncListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>>(PrepareAsyncListWorkflowsRaw(context, request, cq)); - } - ::grpc::Status CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::flyteidl::admin::LaunchPlanCreateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>> AsyncCreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>>(AsyncCreateLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>> PrepareAsyncCreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>>(PrepareAsyncCreateLaunchPlanRaw(context, request, cq)); - } - ::grpc::Status GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::LaunchPlan* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>> AsyncGetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>>(AsyncGetLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>> PrepareAsyncGetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>>(PrepareAsyncGetLaunchPlanRaw(context, request, cq)); - } - ::grpc::Status GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::flyteidl::admin::LaunchPlan* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>> AsyncGetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>>(AsyncGetActiveLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>> PrepareAsyncGetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>>(PrepareAsyncGetActiveLaunchPlanRaw(context, request, cq)); - } - ::grpc::Status ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::flyteidl::admin::LaunchPlanList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>> AsyncListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>>(AsyncListActiveLaunchPlansRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>> PrepareAsyncListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>>(PrepareAsyncListActiveLaunchPlansRaw(context, request, cq)); - } - ::grpc::Status ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::flyteidl::admin::NamedEntityIdentifierList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>> AsyncListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>>(AsyncListLaunchPlanIdsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>> PrepareAsyncListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>>(PrepareAsyncListLaunchPlanIdsRaw(context, request, cq)); - } - ::grpc::Status ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::LaunchPlanList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>> AsyncListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>>(AsyncListLaunchPlansRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>> PrepareAsyncListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>>(PrepareAsyncListLaunchPlansRaw(context, request, cq)); - } - ::grpc::Status UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>> AsyncUpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>>(AsyncUpdateLaunchPlanRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>> PrepareAsyncUpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>>(PrepareAsyncUpdateLaunchPlanRaw(context, request, cq)); - } - ::grpc::Status CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>> AsyncCreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>>(AsyncCreateExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>> PrepareAsyncCreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>>(PrepareAsyncCreateExecutionRaw(context, request, cq)); - } - ::grpc::Status RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>> AsyncRelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>>(AsyncRelaunchExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>> PrepareAsyncRelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>>(PrepareAsyncRelaunchExecutionRaw(context, request, cq)); - } - ::grpc::Status RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::flyteidl::admin::ExecutionCreateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>> AsyncRecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>>(AsyncRecoverExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>> PrepareAsyncRecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>>(PrepareAsyncRecoverExecutionRaw(context, request, cq)); - } - ::grpc::Status GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::flyteidl::admin::Execution* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>> AsyncGetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>>(AsyncGetExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>> PrepareAsyncGetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>>(PrepareAsyncGetExecutionRaw(context, request, cq)); - } - ::grpc::Status UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::flyteidl::admin::ExecutionUpdateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>> AsyncUpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>>(AsyncUpdateExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>> PrepareAsyncUpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>>(PrepareAsyncUpdateExecutionRaw(context, request, cq)); - } - ::grpc::Status GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>> AsyncGetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>>(AsyncGetExecutionDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>> PrepareAsyncGetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>>(PrepareAsyncGetExecutionDataRaw(context, request, cq)); - } - ::grpc::Status ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::flyteidl::admin::ExecutionList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>> AsyncListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>>(AsyncListExecutionsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>> PrepareAsyncListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>>(PrepareAsyncListExecutionsRaw(context, request, cq)); - } - ::grpc::Status TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::flyteidl::admin::ExecutionTerminateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>> AsyncTerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>>(AsyncTerminateExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>> PrepareAsyncTerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>>(PrepareAsyncTerminateExecutionRaw(context, request, cq)); - } - ::grpc::Status GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::flyteidl::admin::NodeExecution* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>> AsyncGetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>>(AsyncGetNodeExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>> PrepareAsyncGetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>>(PrepareAsyncGetNodeExecutionRaw(context, request, cq)); - } - ::grpc::Status GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>> AsyncGetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>>(AsyncGetDynamicNodeWorkflowRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>> PrepareAsyncGetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>>(PrepareAsyncGetDynamicNodeWorkflowRaw(context, request, cq)); - } - ::grpc::Status ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::flyteidl::admin::NodeExecutionList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>> AsyncListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>>(AsyncListNodeExecutionsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>> PrepareAsyncListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>>(PrepareAsyncListNodeExecutionsRaw(context, request, cq)); - } - ::grpc::Status ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::flyteidl::admin::NodeExecutionList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>> AsyncListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>>(AsyncListNodeExecutionsForTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>> PrepareAsyncListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>>(PrepareAsyncListNodeExecutionsForTaskRaw(context, request, cq)); - } - ::grpc::Status GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>> AsyncGetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>>(AsyncGetNodeExecutionDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>> PrepareAsyncGetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>>(PrepareAsyncGetNodeExecutionDataRaw(context, request, cq)); - } - ::grpc::Status RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::flyteidl::admin::ProjectRegisterResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>> AsyncRegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>>(AsyncRegisterProjectRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>> PrepareAsyncRegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>>(PrepareAsyncRegisterProjectRaw(context, request, cq)); - } - ::grpc::Status UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::flyteidl::admin::ProjectUpdateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>> AsyncUpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>>(AsyncUpdateProjectRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>> PrepareAsyncUpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>>(PrepareAsyncUpdateProjectRaw(context, request, cq)); - } - ::grpc::Status ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::flyteidl::admin::Projects* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>> AsyncListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>>(AsyncListProjectsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>> PrepareAsyncListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>>(PrepareAsyncListProjectsRaw(context, request, cq)); - } - ::grpc::Status CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>> AsyncCreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>>(AsyncCreateWorkflowEventRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>> PrepareAsyncCreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>>(PrepareAsyncCreateWorkflowEventRaw(context, request, cq)); - } - ::grpc::Status CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::flyteidl::admin::NodeExecutionEventResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>> AsyncCreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>>(AsyncCreateNodeEventRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>> PrepareAsyncCreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>>(PrepareAsyncCreateNodeEventRaw(context, request, cq)); - } - ::grpc::Status CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::flyteidl::admin::TaskExecutionEventResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>> AsyncCreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>>(AsyncCreateTaskEventRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>> PrepareAsyncCreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>>(PrepareAsyncCreateTaskEventRaw(context, request, cq)); - } - ::grpc::Status GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::flyteidl::admin::TaskExecution* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>> AsyncGetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>>(AsyncGetTaskExecutionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>> PrepareAsyncGetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>>(PrepareAsyncGetTaskExecutionRaw(context, request, cq)); - } - ::grpc::Status ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::flyteidl::admin::TaskExecutionList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>> AsyncListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>>(AsyncListTaskExecutionsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>> PrepareAsyncListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>>(PrepareAsyncListTaskExecutionsRaw(context, request, cq)); - } - ::grpc::Status GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>> AsyncGetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>>(AsyncGetTaskExecutionDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>> PrepareAsyncGetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>>(PrepareAsyncGetTaskExecutionDataRaw(context, request, cq)); - } - ::grpc::Status UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> AsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(AsyncUpdateProjectDomainAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> PrepareAsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(PrepareAsyncUpdateProjectDomainAttributesRaw(context, request, cq)); - } - ::grpc::Status GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>> AsyncGetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>>(AsyncGetProjectDomainAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>> PrepareAsyncGetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>>(PrepareAsyncGetProjectDomainAttributesRaw(context, request, cq)); - } - ::grpc::Status DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>> AsyncDeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>>(AsyncDeleteProjectDomainAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>> PrepareAsyncDeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>>(PrepareAsyncDeleteProjectDomainAttributesRaw(context, request, cq)); - } - ::grpc::Status UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>> AsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(AsyncUpdateProjectAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>> PrepareAsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(PrepareAsyncUpdateProjectAttributesRaw(context, request, cq)); - } - ::grpc::Status GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::flyteidl::admin::ProjectAttributesGetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>> AsyncGetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>>(AsyncGetProjectAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>> PrepareAsyncGetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>>(PrepareAsyncGetProjectAttributesRaw(context, request, cq)); - } - ::grpc::Status DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>> AsyncDeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>>(AsyncDeleteProjectAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>> PrepareAsyncDeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>>(PrepareAsyncDeleteProjectAttributesRaw(context, request, cq)); - } - ::grpc::Status UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> AsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(AsyncUpdateWorkflowAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> PrepareAsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(PrepareAsyncUpdateWorkflowAttributesRaw(context, request, cq)); - } - ::grpc::Status GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>> AsyncGetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>>(AsyncGetWorkflowAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>> PrepareAsyncGetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>>(PrepareAsyncGetWorkflowAttributesRaw(context, request, cq)); - } - ::grpc::Status DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>> AsyncDeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>>(AsyncDeleteWorkflowAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>> PrepareAsyncDeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>>(PrepareAsyncDeleteWorkflowAttributesRaw(context, request, cq)); - } - ::grpc::Status ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::flyteidl::admin::ListMatchableAttributesResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>> AsyncListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>>(AsyncListMatchableAttributesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>> PrepareAsyncListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>>(PrepareAsyncListMatchableAttributesRaw(context, request, cq)); - } - ::grpc::Status ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::flyteidl::admin::NamedEntityList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>> AsyncListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>>(AsyncListNamedEntitiesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>> PrepareAsyncListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>>(PrepareAsyncListNamedEntitiesRaw(context, request, cq)); - } - ::grpc::Status GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::flyteidl::admin::NamedEntity* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>> AsyncGetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>>(AsyncGetNamedEntityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>> PrepareAsyncGetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>>(PrepareAsyncGetNamedEntityRaw(context, request, cq)); - } - ::grpc::Status UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::flyteidl::admin::NamedEntityUpdateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>> AsyncUpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>>(AsyncUpdateNamedEntityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>> PrepareAsyncUpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>>(PrepareAsyncUpdateNamedEntityRaw(context, request, cq)); - } - ::grpc::Status GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::flyteidl::admin::GetVersionResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>> AsyncGetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>>(AsyncGetVersionRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>> PrepareAsyncGetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>>(PrepareAsyncGetVersionRaw(context, request, cq)); - } - ::grpc::Status GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::flyteidl::admin::DescriptionEntity* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>> AsyncGetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>>(AsyncGetDescriptionEntityRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>> PrepareAsyncGetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>>(PrepareAsyncGetDescriptionEntityRaw(context, request, cq)); - } - ::grpc::Status ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::flyteidl::admin::DescriptionEntityList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>> AsyncListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>>(AsyncListDescriptionEntitiesRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>> PrepareAsyncListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>>(PrepareAsyncListDescriptionEntitiesRaw(context, request, cq)); - } - ::grpc::Status GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> AsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(AsyncGetExecutionMetricsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> PrepareAsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(PrepareAsyncGetExecutionMetricsRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response, std::function) override; - void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskCreateResponse* response, std::function) override; - void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response, std::function) override; - void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Task* response, std::function) override; - void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Task* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) override; - void ListTaskIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) override; - void ListTaskIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListTaskIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response, std::function) override; - void ListTasks(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskList* response, std::function) override; - void ListTasks(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListTasks(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response, std::function) override; - void CreateWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowCreateResponse* response, std::function) override; - void CreateWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response, std::function) override; - void GetWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Workflow* response, std::function) override; - void GetWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Workflow* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) override; - void ListWorkflowIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) override; - void ListWorkflowIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListWorkflowIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response, std::function) override; - void ListWorkflows(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowList* response, std::function) override; - void ListWorkflows(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListWorkflows(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, std::function) override; - void CreateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, std::function) override; - void CreateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response, std::function) override; - void GetLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, std::function) override; - void GetLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response, std::function) override; - void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, std::function) override; - void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetActiveLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response, std::function) override; - void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, std::function) override; - void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListActiveLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) override; - void ListLaunchPlanIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, std::function) override; - void ListLaunchPlanIds(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListLaunchPlanIds(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response, std::function) override; - void ListLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, std::function) override; - void ListLaunchPlans(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListLaunchPlans(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, std::function) override; - void UpdateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, std::function) override; - void UpdateLaunchPlan(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateLaunchPlan(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) override; - void CreateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) override; - void CreateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) override; - void RelaunchExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) override; - void RelaunchExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void RelaunchExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) override; - void RecoverExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, std::function) override; - void RecoverExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void RecoverExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response, std::function) override; - void GetExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Execution* response, std::function) override; - void GetExecution(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Execution* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response, std::function) override; - void UpdateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionUpdateResponse* response, std::function) override; - void UpdateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, std::function) override; - void GetExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, std::function) override; - void GetExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response, std::function) override; - void ListExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionList* response, std::function) override; - void ListExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response, std::function) override; - void TerminateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionTerminateResponse* response, std::function) override; - void TerminateExecution(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void TerminateExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ExecutionTerminateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response, std::function) override; - void GetNodeExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecution* response, std::function) override; - void GetNodeExecution(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetNodeExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, std::function) override; - void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, std::function) override; - void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetDynamicNodeWorkflow(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response, std::function) override; - void ListNodeExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, std::function) override; - void ListNodeExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListNodeExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response, std::function) override; - void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, std::function) override; - void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListNodeExecutionsForTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, std::function) override; - void GetNodeExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, std::function) override; - void GetNodeExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetNodeExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response, std::function) override; - void RegisterProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectRegisterResponse* response, std::function) override; - void RegisterProject(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void RegisterProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectRegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response, std::function) override; - void UpdateProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectUpdateResponse* response, std::function) override; - void UpdateProject(::grpc::ClientContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateProject(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response, std::function) override; - void ListProjects(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Projects* response, std::function) override; - void ListProjects(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListProjects(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Projects* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, std::function) override; - void CreateWorkflowEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, std::function) override; - void CreateWorkflowEvent(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateWorkflowEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response, std::function) override; - void CreateNodeEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionEventResponse* response, std::function) override; - void CreateNodeEvent(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateNodeEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NodeExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response, std::function) override; - void CreateTaskEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionEventResponse* response, std::function) override; - void CreateTaskEvent(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateTaskEvent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionEventResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response, std::function) override; - void GetTaskExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecution* response, std::function) override; - void GetTaskExecution(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskExecution(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecution* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response, std::function) override; - void ListTaskExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionList* response, std::function) override; - void ListTaskExecutions(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListTaskExecutions(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function) override; - void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function) override; - void GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) override; - void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) override; - void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, std::function) override; - void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, std::function) override; - void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, std::function) override; - void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, std::function) override; - void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) override; - void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) override; - void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, std::function) override; - void GetProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, std::function) override; - void GetProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, std::function) override; - void DeleteProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, std::function) override; - void DeleteProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) override; - void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) override; - void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, std::function) override; - void GetWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, std::function) override; - void GetWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, std::function) override; - void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, std::function) override; - void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, std::function) override; - void ListMatchableAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, std::function) override; - void ListMatchableAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListMatchableAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, std::function) override; - void ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, std::function) override; - void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response, std::function) override; - void GetNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntity* response, std::function) override; - void GetNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, std::function) override; - void UpdateNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, std::function) override; - void UpdateNamedEntity(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UpdateNamedEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response, std::function) override; - void GetVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetVersionResponse* response, std::function) override; - void GetVersion(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetVersionResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response, std::function) override; - void GetDescriptionEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntity* response, std::function) override; - void GetDescriptionEntity(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetDescriptionEntity(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntity* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, std::function) override; - void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, std::function) override; - void ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) override; - void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) override; - void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* 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::admin::TaskCreateResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskCreateResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Task>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AsyncListTaskIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* PrepareAsyncListTaskIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>* AsyncListTasksRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskList>* PrepareAsyncListTasksRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>* AsyncCreateWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowCreateResponse>* PrepareAsyncCreateWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>* AsyncGetWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Workflow>* PrepareAsyncGetWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AsyncListWorkflowIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* PrepareAsyncListWorkflowIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>* AsyncListWorkflowsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowList>* PrepareAsyncListWorkflowsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>* AsyncCreateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanCreateResponse>* PrepareAsyncCreateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* AsyncGetLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* PrepareAsyncGetLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* AsyncGetActiveLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlan>* PrepareAsyncGetActiveLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* AsyncListActiveLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* PrepareAsyncListActiveLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* AsyncListLaunchPlanIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityIdentifierList>* PrepareAsyncListLaunchPlanIdsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* AsyncListLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanList>* PrepareAsyncListLaunchPlansRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>* AsyncUpdateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::LaunchPlanUpdateResponse>* PrepareAsyncUpdateLaunchPlanRaw(::grpc::ClientContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AsyncCreateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* PrepareAsyncCreateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AsyncRelaunchExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* PrepareAsyncRelaunchExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* AsyncRecoverExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionCreateResponse>* PrepareAsyncRecoverExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionRecoverRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>* AsyncGetExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Execution>* PrepareAsyncGetExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>* AsyncUpdateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionUpdateResponse>* PrepareAsyncUpdateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>* AsyncGetExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetDataResponse>* PrepareAsyncGetExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>* AsyncListExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionList>* PrepareAsyncListExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ResourceListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>* AsyncTerminateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ExecutionTerminateResponse>* PrepareAsyncTerminateExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ExecutionTerminateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>* AsyncGetNodeExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecution>* PrepareAsyncGetNodeExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>* AsyncGetDynamicNodeWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DynamicNodeWorkflowResponse>* PrepareAsyncGetDynamicNodeWorkflowRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* AsyncListNodeExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* PrepareAsyncListNodeExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* AsyncListNodeExecutionsForTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionList>* PrepareAsyncListNodeExecutionsForTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>* AsyncGetNodeExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionGetDataResponse>* PrepareAsyncGetNodeExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>* AsyncRegisterProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectRegisterResponse>* PrepareAsyncRegisterProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectRegisterRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>* AsyncUpdateProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectUpdateResponse>* PrepareAsyncUpdateProjectRaw(::grpc::ClientContext* context, const ::flyteidl::admin::Project& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>* AsyncListProjectsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Projects>* PrepareAsyncListProjectsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>* AsyncCreateWorkflowEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionEventResponse>* PrepareAsyncCreateWorkflowEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>* AsyncCreateNodeEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NodeExecutionEventResponse>* PrepareAsyncCreateNodeEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NodeExecutionEventRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>* AsyncCreateTaskEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionEventResponse>* PrepareAsyncCreateTaskEventRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionEventRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>* AsyncGetTaskExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecution>* PrepareAsyncGetTaskExecutionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>* AsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>* PrepareAsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>* AsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>* PrepareAsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* AsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* PrepareAsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>* AsyncGetProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesGetResponse>* PrepareAsyncGetProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* AsyncDeleteProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* PrepareAsyncDeleteProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* PrepareAsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>* AsyncGetProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesGetResponse>* PrepareAsyncGetProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>* AsyncDeleteProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesDeleteResponse>* PrepareAsyncDeleteProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* PrepareAsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>* AsyncGetWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesGetResponse>* PrepareAsyncGetWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>* AsyncDeleteWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesDeleteResponse>* PrepareAsyncDeleteWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>* AsyncListMatchableAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListMatchableAttributesResponse>* PrepareAsyncListMatchableAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>* AsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>* PrepareAsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>* AsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>* PrepareAsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>* AsyncUpdateNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityUpdateResponse>* PrepareAsyncUpdateNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>* AsyncGetVersionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetVersionResponse>* PrepareAsyncGetVersionRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetVersionRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>* AsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>* PrepareAsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>* AsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>* PrepareAsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* PrepareAsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_CreateTask_; - const ::grpc::internal::RpcMethod rpcmethod_GetTask_; - const ::grpc::internal::RpcMethod rpcmethod_ListTaskIds_; - const ::grpc::internal::RpcMethod rpcmethod_ListTasks_; - const ::grpc::internal::RpcMethod rpcmethod_CreateWorkflow_; - const ::grpc::internal::RpcMethod rpcmethod_GetWorkflow_; - const ::grpc::internal::RpcMethod rpcmethod_ListWorkflowIds_; - const ::grpc::internal::RpcMethod rpcmethod_ListWorkflows_; - const ::grpc::internal::RpcMethod rpcmethod_CreateLaunchPlan_; - const ::grpc::internal::RpcMethod rpcmethod_GetLaunchPlan_; - const ::grpc::internal::RpcMethod rpcmethod_GetActiveLaunchPlan_; - const ::grpc::internal::RpcMethod rpcmethod_ListActiveLaunchPlans_; - const ::grpc::internal::RpcMethod rpcmethod_ListLaunchPlanIds_; - const ::grpc::internal::RpcMethod rpcmethod_ListLaunchPlans_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateLaunchPlan_; - const ::grpc::internal::RpcMethod rpcmethod_CreateExecution_; - const ::grpc::internal::RpcMethod rpcmethod_RelaunchExecution_; - const ::grpc::internal::RpcMethod rpcmethod_RecoverExecution_; - const ::grpc::internal::RpcMethod rpcmethod_GetExecution_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateExecution_; - const ::grpc::internal::RpcMethod rpcmethod_GetExecutionData_; - const ::grpc::internal::RpcMethod rpcmethod_ListExecutions_; - const ::grpc::internal::RpcMethod rpcmethod_TerminateExecution_; - const ::grpc::internal::RpcMethod rpcmethod_GetNodeExecution_; - const ::grpc::internal::RpcMethod rpcmethod_GetDynamicNodeWorkflow_; - const ::grpc::internal::RpcMethod rpcmethod_ListNodeExecutions_; - const ::grpc::internal::RpcMethod rpcmethod_ListNodeExecutionsForTask_; - const ::grpc::internal::RpcMethod rpcmethod_GetNodeExecutionData_; - const ::grpc::internal::RpcMethod rpcmethod_RegisterProject_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateProject_; - const ::grpc::internal::RpcMethod rpcmethod_ListProjects_; - const ::grpc::internal::RpcMethod rpcmethod_CreateWorkflowEvent_; - const ::grpc::internal::RpcMethod rpcmethod_CreateNodeEvent_; - const ::grpc::internal::RpcMethod rpcmethod_CreateTaskEvent_; - const ::grpc::internal::RpcMethod rpcmethod_GetTaskExecution_; - const ::grpc::internal::RpcMethod rpcmethod_ListTaskExecutions_; - const ::grpc::internal::RpcMethod rpcmethod_GetTaskExecutionData_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateProjectDomainAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_GetProjectDomainAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_DeleteProjectDomainAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateProjectAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_GetProjectAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_DeleteProjectAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateWorkflowAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_GetWorkflowAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_DeleteWorkflowAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_ListMatchableAttributes_; - const ::grpc::internal::RpcMethod rpcmethod_ListNamedEntities_; - const ::grpc::internal::RpcMethod rpcmethod_GetNamedEntity_; - const ::grpc::internal::RpcMethod rpcmethod_UpdateNamedEntity_; - const ::grpc::internal::RpcMethod rpcmethod_GetVersion_; - const ::grpc::internal::RpcMethod rpcmethod_GetDescriptionEntity_; - const ::grpc::internal::RpcMethod rpcmethod_ListDescriptionEntities_; - const ::grpc::internal::RpcMethod rpcmethod_GetExecutionMetrics_; - }; - 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(); - // Create and upload a :ref:`ref_flyteidl.admin.Task` definition - virtual ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response); - // Fetch a :ref:`ref_flyteidl.admin.Task` definition. - virtual ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response); - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. - virtual ::grpc::Status ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response); - // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - virtual ::grpc::Status ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response); - // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - virtual ::grpc::Status CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response); - // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. - virtual ::grpc::Status GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response); - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. - virtual ::grpc::Status ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response); - // Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - virtual ::grpc::Status ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response); - // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - virtual ::grpc::Status CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response); - // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. - virtual ::grpc::Status GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response); - // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual ::grpc::Status GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response); - // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual ::grpc::Status ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response); - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. - virtual ::grpc::Status ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response); - // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - virtual ::grpc::Status ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response); - // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - virtual ::grpc::Status UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response); - // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - virtual ::grpc::Status CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response); - // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - virtual ::grpc::Status RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response); - // Recreates a previously-run workflow execution that will only start executing from the last known failure point. - // In Recover mode, users cannot change any input parameters or update the version of the execution. - // This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, - // downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. - // See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - virtual ::grpc::Status RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response); - // Fetches a :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response); - // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response); - // Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response); - // Fetch a list of :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response); - // Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response); - // Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - virtual ::grpc::Status GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response); - // Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. - virtual ::grpc::Status GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response); - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. - virtual ::grpc::Status ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response); - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response); - // Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - virtual ::grpc::Status GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response); - // Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - virtual ::grpc::Status RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response); - // Updates an existing :ref:`ref_flyteidl.admin.Project` - // flyteidl.admin.Project should be passed but the domains property should be empty; - // it will be ignored in the handler as domains cannot be updated via this API. - virtual ::grpc::Status UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response); - // Fetches a list of :ref:`ref_flyteidl.admin.Project` - virtual ::grpc::Status ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response); - // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - virtual ::grpc::Status CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response); - // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - virtual ::grpc::Status CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response); - // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - virtual ::grpc::Status CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response); - // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response); - // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response); - // Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. - virtual ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response); - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response); - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response); - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response); - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - virtual ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response); - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response); - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - virtual ::grpc::Status DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response); - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response); - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual ::grpc::Status GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response); - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - virtual ::grpc::Status DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response); - // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. - virtual ::grpc::Status ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response); - // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. - virtual ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response); - // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - virtual ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response); - // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - virtual ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response); - virtual ::grpc::Status GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response); - // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - virtual ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response); - // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - virtual ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response); - // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. - virtual ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response); - }; - template - class WithAsyncMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateTask() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTask(::grpc::ServerContext* context, ::flyteidl::admin::TaskCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::TaskCreateResponse>* 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_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetTask() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTask(::grpc::ServerContext* context, ::flyteidl::admin::ObjectGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::Task>* 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 WithAsyncMethod_ListTaskIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListTaskIds() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_ListTaskIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListTaskIds(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntityIdentifierList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListTasks : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListTasks() { - ::grpc::Service::MarkMethodAsync(3); - } - ~WithAsyncMethod_ListTasks() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListTasks(::grpc::ServerContext* context, ::flyteidl::admin::ResourceListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::TaskList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_CreateWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateWorkflow() { - ::grpc::Service::MarkMethodAsync(4); - } - ~WithAsyncMethod_CreateWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateWorkflow(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowCreateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetWorkflow() { - ::grpc::Service::MarkMethodAsync(5); - } - ~WithAsyncMethod_GetWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetWorkflow(::grpc::ServerContext* context, ::flyteidl::admin::ObjectGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::Workflow>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListWorkflowIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListWorkflowIds() { - ::grpc::Service::MarkMethodAsync(6); - } - ~WithAsyncMethod_ListWorkflowIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListWorkflowIds(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntityIdentifierList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListWorkflows : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListWorkflows() { - ::grpc::Service::MarkMethodAsync(7); - } - ~WithAsyncMethod_ListWorkflows() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListWorkflows(::grpc::ServerContext* context, ::flyteidl::admin::ResourceListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(7, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_CreateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateLaunchPlan() { - ::grpc::Service::MarkMethodAsync(8); - } - ~WithAsyncMethod_CreateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateLaunchPlan(::grpc::ServerContext* context, ::flyteidl::admin::LaunchPlanCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::LaunchPlanCreateResponse>* 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_GetLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetLaunchPlan() { - ::grpc::Service::MarkMethodAsync(9); - } - ~WithAsyncMethod_GetLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetLaunchPlan(::grpc::ServerContext* context, ::flyteidl::admin::ObjectGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::LaunchPlan>* 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_GetActiveLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetActiveLaunchPlan() { - ::grpc::Service::MarkMethodAsync(10); - } - ~WithAsyncMethod_GetActiveLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetActiveLaunchPlan(::grpc::ServerContext* context, ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::LaunchPlan>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListActiveLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListActiveLaunchPlans() { - ::grpc::Service::MarkMethodAsync(11); - } - ~WithAsyncMethod_ListActiveLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListActiveLaunchPlans(::grpc::ServerContext* context, ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::LaunchPlanList>* 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 - class WithAsyncMethod_ListLaunchPlanIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListLaunchPlanIds() { - ::grpc::Service::MarkMethodAsync(12); - } - ~WithAsyncMethod_ListLaunchPlanIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListLaunchPlanIds(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntityIdentifierList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListLaunchPlans() { - ::grpc::Service::MarkMethodAsync(13); - } - ~WithAsyncMethod_ListLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListLaunchPlans(::grpc::ServerContext* context, ::flyteidl::admin::ResourceListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::LaunchPlanList>* 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 - class WithAsyncMethod_UpdateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateLaunchPlan() { - ::grpc::Service::MarkMethodAsync(14); - } - ~WithAsyncMethod_UpdateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateLaunchPlan(::grpc::ServerContext* context, ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::LaunchPlanUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(14, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_CreateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateExecution() { - ::grpc::Service::MarkMethodAsync(15); - } - ~WithAsyncMethod_CreateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateExecution(::grpc::ServerContext* context, ::flyteidl::admin::ExecutionCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ExecutionCreateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(15, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_RelaunchExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_RelaunchExecution() { - ::grpc::Service::MarkMethodAsync(16); - } - ~WithAsyncMethod_RelaunchExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRelaunchExecution(::grpc::ServerContext* context, ::flyteidl::admin::ExecutionRelaunchRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ExecutionCreateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(16, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_RecoverExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_RecoverExecution() { - ::grpc::Service::MarkMethodAsync(17); - } - ~WithAsyncMethod_RecoverExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRecoverExecution(::grpc::ServerContext* context, ::flyteidl::admin::ExecutionRecoverRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ExecutionCreateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(17, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetExecution() { - ::grpc::Service::MarkMethodAsync(18); - } - ~WithAsyncMethod_GetExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetExecution(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::Execution>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(18, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UpdateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateExecution() { - ::grpc::Service::MarkMethodAsync(19); - } - ~WithAsyncMethod_UpdateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateExecution(::grpc::ServerContext* context, ::flyteidl::admin::ExecutionUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ExecutionUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(19, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetExecutionData() { - ::grpc::Service::MarkMethodAsync(20); - } - ~WithAsyncMethod_GetExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetExecutionData(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowExecutionGetDataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(20, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListExecutions() { - ::grpc::Service::MarkMethodAsync(21); - } - ~WithAsyncMethod_ListExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListExecutions(::grpc::ServerContext* context, ::flyteidl::admin::ResourceListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ExecutionList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(21, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_TerminateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_TerminateExecution() { - ::grpc::Service::MarkMethodAsync(22); - } - ~WithAsyncMethod_TerminateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestTerminateExecution(::grpc::ServerContext* context, ::flyteidl::admin::ExecutionTerminateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ExecutionTerminateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(22, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetNodeExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetNodeExecution() { - ::grpc::Service::MarkMethodAsync(23); - } - ~WithAsyncMethod_GetNodeExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetNodeExecution(::grpc::ServerContext* context, ::flyteidl::admin::NodeExecutionGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NodeExecution>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(23, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetDynamicNodeWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetDynamicNodeWorkflow() { - ::grpc::Service::MarkMethodAsync(24); - } - ~WithAsyncMethod_GetDynamicNodeWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetDynamicNodeWorkflow(::grpc::ServerContext* context, ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::DynamicNodeWorkflowResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(24, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListNodeExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListNodeExecutions() { - ::grpc::Service::MarkMethodAsync(25); - } - ~WithAsyncMethod_ListNodeExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListNodeExecutions(::grpc::ServerContext* context, ::flyteidl::admin::NodeExecutionListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NodeExecutionList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(25, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListNodeExecutionsForTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListNodeExecutionsForTask() { - ::grpc::Service::MarkMethodAsync(26); - } - ~WithAsyncMethod_ListNodeExecutionsForTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListNodeExecutionsForTask(::grpc::ServerContext* context, ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NodeExecutionList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(26, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetNodeExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetNodeExecutionData() { - ::grpc::Service::MarkMethodAsync(27); - } - ~WithAsyncMethod_GetNodeExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetNodeExecutionData(::grpc::ServerContext* context, ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NodeExecutionGetDataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(27, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_RegisterProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_RegisterProject() { - ::grpc::Service::MarkMethodAsync(28); - } - ~WithAsyncMethod_RegisterProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRegisterProject(::grpc::ServerContext* context, ::flyteidl::admin::ProjectRegisterRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectRegisterResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(28, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UpdateProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateProject() { - ::grpc::Service::MarkMethodAsync(29); - } - ~WithAsyncMethod_UpdateProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateProject(::grpc::ServerContext* context, ::flyteidl::admin::Project* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(29, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListProjects : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListProjects() { - ::grpc::Service::MarkMethodAsync(30); - } - ~WithAsyncMethod_ListProjects() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListProjects(::grpc::ServerContext* context, ::flyteidl::admin::ProjectListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::Projects>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(30, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_CreateWorkflowEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateWorkflowEvent() { - ::grpc::Service::MarkMethodAsync(31); - } - ~WithAsyncMethod_CreateWorkflowEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateWorkflowEvent(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowExecutionEventResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(31, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_CreateNodeEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateNodeEvent() { - ::grpc::Service::MarkMethodAsync(32); - } - ~WithAsyncMethod_CreateNodeEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateNodeEvent(::grpc::ServerContext* context, ::flyteidl::admin::NodeExecutionEventRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NodeExecutionEventResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(32, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_CreateTaskEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateTaskEvent() { - ::grpc::Service::MarkMethodAsync(33); - } - ~WithAsyncMethod_CreateTaskEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTaskEvent(::grpc::ServerContext* context, ::flyteidl::admin::TaskExecutionEventRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::TaskExecutionEventResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetTaskExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetTaskExecution() { - ::grpc::Service::MarkMethodAsync(34); - } - ~WithAsyncMethod_GetTaskExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskExecution(::grpc::ServerContext* context, ::flyteidl::admin::TaskExecutionGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::TaskExecution>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListTaskExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListTaskExecutions() { - ::grpc::Service::MarkMethodAsync(35); - } - ~WithAsyncMethod_ListTaskExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListTaskExecutions(::grpc::ServerContext* context, ::flyteidl::admin::TaskExecutionListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::TaskExecutionList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetTaskExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetTaskExecutionData() { - ::grpc::Service::MarkMethodAsync(36); - } - ~WithAsyncMethod_GetTaskExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskExecutionData(::grpc::ServerContext* context, ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::TaskExecutionGetDataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UpdateProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodAsync(37); - } - ~WithAsyncMethod_UpdateProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateProjectDomainAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetProjectDomainAttributes() { - ::grpc::Service::MarkMethodAsync(38); - } - ~WithAsyncMethod_GetProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetProjectDomainAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectDomainAttributesGetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_DeleteProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_DeleteProjectDomainAttributes() { - ::grpc::Service::MarkMethodAsync(39); - } - ~WithAsyncMethod_DeleteProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteProjectDomainAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(39, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UpdateProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateProjectAttributes() { - ::grpc::Service::MarkMethodAsync(40); - } - ~WithAsyncMethod_UpdateProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateProjectAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectAttributesUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetProjectAttributes() { - ::grpc::Service::MarkMethodAsync(41); - } - ~WithAsyncMethod_GetProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetProjectAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectAttributesGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectAttributesGetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(41, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_DeleteProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_DeleteProjectAttributes() { - ::grpc::Service::MarkMethodAsync(42); - } - ~WithAsyncMethod_DeleteProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteProjectAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectAttributesDeleteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(42, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UpdateWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateWorkflowAttributes() { - ::grpc::Service::MarkMethodAsync(43); - } - ~WithAsyncMethod_UpdateWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateWorkflowAttributes(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetWorkflowAttributes() { - ::grpc::Service::MarkMethodAsync(44); - } - ~WithAsyncMethod_GetWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetWorkflowAttributes(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowAttributesGetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(44, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_DeleteWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_DeleteWorkflowAttributes() { - ::grpc::Service::MarkMethodAsync(45); - } - ~WithAsyncMethod_DeleteWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteWorkflowAttributes(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowAttributesDeleteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(45, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListMatchableAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListMatchableAttributes() { - ::grpc::Service::MarkMethodAsync(46); - } - ~WithAsyncMethod_ListMatchableAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListMatchableAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ListMatchableAttributesRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ListMatchableAttributesResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(46, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListNamedEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodAsync(47); - } - ~WithAsyncMethod_ListNamedEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListNamedEntities(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntityList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodAsync(48); - } - ~WithAsyncMethod_GetNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetNamedEntity(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntity>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_UpdateNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodAsync(49); - } - ~WithAsyncMethod_UpdateNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateNamedEntity(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntityUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetVersion() { - ::grpc::Service::MarkMethodAsync(50); - } - ~WithAsyncMethod_GetVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetVersion(::grpc::ServerContext* context, ::flyteidl::admin::GetVersionRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::GetVersionResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(50, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetDescriptionEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetDescriptionEntity() { - ::grpc::Service::MarkMethodAsync(51); - } - ~WithAsyncMethod_GetDescriptionEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetDescriptionEntity(::grpc::ServerContext* context, ::flyteidl::admin::ObjectGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::DescriptionEntity>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_ListDescriptionEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListDescriptionEntities() { - ::grpc::Service::MarkMethodAsync(52); - } - ~WithAsyncMethod_ListDescriptionEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListDescriptionEntities(::grpc::ServerContext* context, ::flyteidl::admin::DescriptionEntityListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::DescriptionEntityList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetExecutionMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetExecutionMetrics() { - ::grpc::Service::MarkMethodAsync(53); - } - ~WithAsyncMethod_GetExecutionMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetExecutionMetrics(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(53, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; - template - class ExperimentalWithCallbackMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateTask() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskCreateRequest, ::flyteidl::admin::TaskCreateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::TaskCreateRequest* request, - ::flyteidl::admin::TaskCreateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::TaskCreateRequest, ::flyteidl::admin::TaskCreateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskCreateRequest, ::flyteidl::admin::TaskCreateResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetTask() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Task>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ObjectGetRequest* request, - ::flyteidl::admin::Task* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Task>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Task>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListTaskIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListTaskIds() { - ::grpc::Service::experimental().MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, - ::flyteidl::admin::NamedEntityIdentifierList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListTaskIds(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListTaskIds( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>*>( - ::grpc::Service::experimental().GetHandler(2)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListTaskIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListTasks : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListTasks() { - ::grpc::Service::experimental().MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::TaskList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ResourceListRequest* request, - ::flyteidl::admin::TaskList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListTasks(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListTasks( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::TaskList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::TaskList>*>( - ::grpc::Service::experimental().GetHandler(3)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListTasks() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateWorkflow() { - ::grpc::Service::experimental().MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowCreateRequest, ::flyteidl::admin::WorkflowCreateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowCreateRequest* request, - ::flyteidl::admin::WorkflowCreateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateWorkflow(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateWorkflow( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowCreateRequest, ::flyteidl::admin::WorkflowCreateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowCreateRequest, ::flyteidl::admin::WorkflowCreateResponse>*>( - ::grpc::Service::experimental().GetHandler(4)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetWorkflow() { - ::grpc::Service::experimental().MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Workflow>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ObjectGetRequest* request, - ::flyteidl::admin::Workflow* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetWorkflow(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetWorkflow( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Workflow>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Workflow>*>( - ::grpc::Service::experimental().GetHandler(5)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListWorkflowIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListWorkflowIds() { - ::grpc::Service::experimental().MarkMethodCallback(6, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, - ::flyteidl::admin::NamedEntityIdentifierList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListWorkflowIds(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListWorkflowIds( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>*>( - ::grpc::Service::experimental().GetHandler(6)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListWorkflowIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListWorkflows : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListWorkflows() { - ::grpc::Service::experimental().MarkMethodCallback(7, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::WorkflowList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ResourceListRequest* request, - ::flyteidl::admin::WorkflowList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListWorkflows(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListWorkflows( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::WorkflowList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::WorkflowList>*>( - ::grpc::Service::experimental().GetHandler(7)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListWorkflows() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateLaunchPlan() { - ::grpc::Service::experimental().MarkMethodCallback(8, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::LaunchPlanCreateRequest, ::flyteidl::admin::LaunchPlanCreateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::LaunchPlanCreateRequest* request, - ::flyteidl::admin::LaunchPlanCreateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateLaunchPlan(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateLaunchPlan( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::LaunchPlanCreateRequest, ::flyteidl::admin::LaunchPlanCreateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::LaunchPlanCreateRequest, ::flyteidl::admin::LaunchPlanCreateResponse>*>( - ::grpc::Service::experimental().GetHandler(8)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetLaunchPlan() { - ::grpc::Service::experimental().MarkMethodCallback(9, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::LaunchPlan>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ObjectGetRequest* request, - ::flyteidl::admin::LaunchPlan* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetLaunchPlan(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetLaunchPlan( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::LaunchPlan>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::LaunchPlan>*>( - ::grpc::Service::experimental().GetHandler(9)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetActiveLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetActiveLaunchPlan() { - ::grpc::Service::experimental().MarkMethodCallback(10, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ActiveLaunchPlanRequest, ::flyteidl::admin::LaunchPlan>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ActiveLaunchPlanRequest* request, - ::flyteidl::admin::LaunchPlan* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetActiveLaunchPlan(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetActiveLaunchPlan( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ActiveLaunchPlanRequest, ::flyteidl::admin::LaunchPlan>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ActiveLaunchPlanRequest, ::flyteidl::admin::LaunchPlan>*>( - ::grpc::Service::experimental().GetHandler(10)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetActiveLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListActiveLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListActiveLaunchPlans() { - ::grpc::Service::experimental().MarkMethodCallback(11, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ActiveLaunchPlanListRequest, ::flyteidl::admin::LaunchPlanList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, - ::flyteidl::admin::LaunchPlanList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListActiveLaunchPlans(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListActiveLaunchPlans( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ActiveLaunchPlanListRequest, ::flyteidl::admin::LaunchPlanList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ActiveLaunchPlanListRequest, ::flyteidl::admin::LaunchPlanList>*>( - ::grpc::Service::experimental().GetHandler(11)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListActiveLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListLaunchPlanIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListLaunchPlanIds() { - ::grpc::Service::experimental().MarkMethodCallback(12, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, - ::flyteidl::admin::NamedEntityIdentifierList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListLaunchPlanIds(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListLaunchPlanIds( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>*>( - ::grpc::Service::experimental().GetHandler(12)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListLaunchPlanIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListLaunchPlans() { - ::grpc::Service::experimental().MarkMethodCallback(13, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::LaunchPlanList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ResourceListRequest* request, - ::flyteidl::admin::LaunchPlanList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListLaunchPlans(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListLaunchPlans( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::LaunchPlanList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::LaunchPlanList>*>( - ::grpc::Service::experimental().GetHandler(13)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateLaunchPlan() { - ::grpc::Service::experimental().MarkMethodCallback(14, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::LaunchPlanUpdateRequest, ::flyteidl::admin::LaunchPlanUpdateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::LaunchPlanUpdateRequest* request, - ::flyteidl::admin::LaunchPlanUpdateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateLaunchPlan(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateLaunchPlan( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::LaunchPlanUpdateRequest, ::flyteidl::admin::LaunchPlanUpdateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::LaunchPlanUpdateRequest, ::flyteidl::admin::LaunchPlanUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(14)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateExecution() { - ::grpc::Service::experimental().MarkMethodCallback(15, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionCreateRequest, ::flyteidl::admin::ExecutionCreateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ExecutionCreateRequest* request, - ::flyteidl::admin::ExecutionCreateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ExecutionCreateRequest, ::flyteidl::admin::ExecutionCreateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionCreateRequest, ::flyteidl::admin::ExecutionCreateResponse>*>( - ::grpc::Service::experimental().GetHandler(15)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_RelaunchExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_RelaunchExecution() { - ::grpc::Service::experimental().MarkMethodCallback(16, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionRelaunchRequest, ::flyteidl::admin::ExecutionCreateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ExecutionRelaunchRequest* request, - ::flyteidl::admin::ExecutionCreateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->RelaunchExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_RelaunchExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ExecutionRelaunchRequest, ::flyteidl::admin::ExecutionCreateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionRelaunchRequest, ::flyteidl::admin::ExecutionCreateResponse>*>( - ::grpc::Service::experimental().GetHandler(16)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_RelaunchExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_RecoverExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_RecoverExecution() { - ::grpc::Service::experimental().MarkMethodCallback(17, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionRecoverRequest, ::flyteidl::admin::ExecutionCreateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ExecutionRecoverRequest* request, - ::flyteidl::admin::ExecutionCreateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->RecoverExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_RecoverExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ExecutionRecoverRequest, ::flyteidl::admin::ExecutionCreateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionRecoverRequest, ::flyteidl::admin::ExecutionCreateResponse>*>( - ::grpc::Service::experimental().GetHandler(17)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_RecoverExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetExecution() { - ::grpc::Service::experimental().MarkMethodCallback(18, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetRequest, ::flyteidl::admin::Execution>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowExecutionGetRequest* request, - ::flyteidl::admin::Execution* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowExecutionGetRequest, ::flyteidl::admin::Execution>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetRequest, ::flyteidl::admin::Execution>*>( - ::grpc::Service::experimental().GetHandler(18)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateExecution() { - ::grpc::Service::experimental().MarkMethodCallback(19, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionUpdateRequest, ::flyteidl::admin::ExecutionUpdateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ExecutionUpdateRequest* request, - ::flyteidl::admin::ExecutionUpdateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ExecutionUpdateRequest, ::flyteidl::admin::ExecutionUpdateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionUpdateRequest, ::flyteidl::admin::ExecutionUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(19)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetExecutionData() { - ::grpc::Service::experimental().MarkMethodCallback(20, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetDataRequest, ::flyteidl::admin::WorkflowExecutionGetDataResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, - ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetExecutionData(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetExecutionData( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowExecutionGetDataRequest, ::flyteidl::admin::WorkflowExecutionGetDataResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetDataRequest, ::flyteidl::admin::WorkflowExecutionGetDataResponse>*>( - ::grpc::Service::experimental().GetHandler(20)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListExecutions() { - ::grpc::Service::experimental().MarkMethodCallback(21, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::ExecutionList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ResourceListRequest* request, - ::flyteidl::admin::ExecutionList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListExecutions(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListExecutions( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::ExecutionList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::ExecutionList>*>( - ::grpc::Service::experimental().GetHandler(21)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_TerminateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_TerminateExecution() { - ::grpc::Service::experimental().MarkMethodCallback(22, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionTerminateRequest, ::flyteidl::admin::ExecutionTerminateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ExecutionTerminateRequest* request, - ::flyteidl::admin::ExecutionTerminateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->TerminateExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_TerminateExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ExecutionTerminateRequest, ::flyteidl::admin::ExecutionTerminateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ExecutionTerminateRequest, ::flyteidl::admin::ExecutionTerminateResponse>*>( - ::grpc::Service::experimental().GetHandler(22)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_TerminateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetNodeExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetNodeExecution() { - ::grpc::Service::experimental().MarkMethodCallback(23, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionGetRequest, ::flyteidl::admin::NodeExecution>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NodeExecutionGetRequest* request, - ::flyteidl::admin::NodeExecution* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetNodeExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetNodeExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NodeExecutionGetRequest, ::flyteidl::admin::NodeExecution>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionGetRequest, ::flyteidl::admin::NodeExecution>*>( - ::grpc::Service::experimental().GetHandler(23)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetNodeExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetDynamicNodeWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetDynamicNodeWorkflow() { - ::grpc::Service::experimental().MarkMethodCallback(24, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetDynamicNodeWorkflowRequest, ::flyteidl::admin::DynamicNodeWorkflowResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, - ::flyteidl::admin::DynamicNodeWorkflowResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetDynamicNodeWorkflow(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetDynamicNodeWorkflow( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::GetDynamicNodeWorkflowRequest, ::flyteidl::admin::DynamicNodeWorkflowResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetDynamicNodeWorkflowRequest, ::flyteidl::admin::DynamicNodeWorkflowResponse>*>( - ::grpc::Service::experimental().GetHandler(24)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetDynamicNodeWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListNodeExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListNodeExecutions() { - ::grpc::Service::experimental().MarkMethodCallback(25, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionListRequest, ::flyteidl::admin::NodeExecutionList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NodeExecutionListRequest* request, - ::flyteidl::admin::NodeExecutionList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListNodeExecutions(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListNodeExecutions( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NodeExecutionListRequest, ::flyteidl::admin::NodeExecutionList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionListRequest, ::flyteidl::admin::NodeExecutionList>*>( - ::grpc::Service::experimental().GetHandler(25)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListNodeExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListNodeExecutionsForTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListNodeExecutionsForTask() { - ::grpc::Service::experimental().MarkMethodCallback(26, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionForTaskListRequest, ::flyteidl::admin::NodeExecutionList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, - ::flyteidl::admin::NodeExecutionList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListNodeExecutionsForTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListNodeExecutionsForTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NodeExecutionForTaskListRequest, ::flyteidl::admin::NodeExecutionList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionForTaskListRequest, ::flyteidl::admin::NodeExecutionList>*>( - ::grpc::Service::experimental().GetHandler(26)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListNodeExecutionsForTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetNodeExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetNodeExecutionData() { - ::grpc::Service::experimental().MarkMethodCallback(27, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionGetDataRequest, ::flyteidl::admin::NodeExecutionGetDataResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NodeExecutionGetDataRequest* request, - ::flyteidl::admin::NodeExecutionGetDataResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetNodeExecutionData(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetNodeExecutionData( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NodeExecutionGetDataRequest, ::flyteidl::admin::NodeExecutionGetDataResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionGetDataRequest, ::flyteidl::admin::NodeExecutionGetDataResponse>*>( - ::grpc::Service::experimental().GetHandler(27)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetNodeExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_RegisterProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_RegisterProject() { - ::grpc::Service::experimental().MarkMethodCallback(28, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectRegisterRequest, ::flyteidl::admin::ProjectRegisterResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectRegisterRequest* request, - ::flyteidl::admin::ProjectRegisterResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->RegisterProject(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_RegisterProject( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectRegisterRequest, ::flyteidl::admin::ProjectRegisterResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectRegisterRequest, ::flyteidl::admin::ProjectRegisterResponse>*>( - ::grpc::Service::experimental().GetHandler(28)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_RegisterProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateProject() { - ::grpc::Service::experimental().MarkMethodCallback(29, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::Project, ::flyteidl::admin::ProjectUpdateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::Project* request, - ::flyteidl::admin::ProjectUpdateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateProject(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateProject( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::Project, ::flyteidl::admin::ProjectUpdateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::Project, ::flyteidl::admin::ProjectUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(29)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListProjects : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListProjects() { - ::grpc::Service::experimental().MarkMethodCallback(30, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectListRequest, ::flyteidl::admin::Projects>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectListRequest* request, - ::flyteidl::admin::Projects* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListProjects(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListProjects( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectListRequest, ::flyteidl::admin::Projects>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectListRequest, ::flyteidl::admin::Projects>*>( - ::grpc::Service::experimental().GetHandler(30)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListProjects() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateWorkflowEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateWorkflowEvent() { - ::grpc::Service::experimental().MarkMethodCallback(31, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionEventRequest, ::flyteidl::admin::WorkflowExecutionEventResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowExecutionEventRequest* request, - ::flyteidl::admin::WorkflowExecutionEventResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateWorkflowEvent(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateWorkflowEvent( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowExecutionEventRequest, ::flyteidl::admin::WorkflowExecutionEventResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionEventRequest, ::flyteidl::admin::WorkflowExecutionEventResponse>*>( - ::grpc::Service::experimental().GetHandler(31)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateWorkflowEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateNodeEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateNodeEvent() { - ::grpc::Service::experimental().MarkMethodCallback(32, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionEventRequest, ::flyteidl::admin::NodeExecutionEventResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NodeExecutionEventRequest* request, - ::flyteidl::admin::NodeExecutionEventResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateNodeEvent(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateNodeEvent( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NodeExecutionEventRequest, ::flyteidl::admin::NodeExecutionEventResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NodeExecutionEventRequest, ::flyteidl::admin::NodeExecutionEventResponse>*>( - ::grpc::Service::experimental().GetHandler(32)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateNodeEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateTaskEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateTaskEvent() { - ::grpc::Service::experimental().MarkMethodCallback(33, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionEventRequest, ::flyteidl::admin::TaskExecutionEventResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::TaskExecutionEventRequest* request, - ::flyteidl::admin::TaskExecutionEventResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateTaskEvent(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateTaskEvent( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::TaskExecutionEventRequest, ::flyteidl::admin::TaskExecutionEventResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionEventRequest, ::flyteidl::admin::TaskExecutionEventResponse>*>( - ::grpc::Service::experimental().GetHandler(33)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateTaskEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetTaskExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetTaskExecution() { - ::grpc::Service::experimental().MarkMethodCallback(34, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionGetRequest, ::flyteidl::admin::TaskExecution>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::TaskExecutionGetRequest* request, - ::flyteidl::admin::TaskExecution* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetTaskExecution(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetTaskExecution( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::TaskExecutionGetRequest, ::flyteidl::admin::TaskExecution>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionGetRequest, ::flyteidl::admin::TaskExecution>*>( - ::grpc::Service::experimental().GetHandler(34)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetTaskExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListTaskExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListTaskExecutions() { - ::grpc::Service::experimental().MarkMethodCallback(35, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionListRequest, ::flyteidl::admin::TaskExecutionList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::TaskExecutionListRequest* request, - ::flyteidl::admin::TaskExecutionList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListTaskExecutions(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListTaskExecutions( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::TaskExecutionListRequest, ::flyteidl::admin::TaskExecutionList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionListRequest, ::flyteidl::admin::TaskExecutionList>*>( - ::grpc::Service::experimental().GetHandler(35)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListTaskExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetTaskExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetTaskExecutionData() { - ::grpc::Service::experimental().MarkMethodCallback(36, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionGetDataRequest, ::flyteidl::admin::TaskExecutionGetDataResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::TaskExecutionGetDataRequest* request, - ::flyteidl::admin::TaskExecutionGetDataResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetTaskExecutionData(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetTaskExecutionData( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::TaskExecutionGetDataRequest, ::flyteidl::admin::TaskExecutionGetDataResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::TaskExecutionGetDataRequest, ::flyteidl::admin::TaskExecutionGetDataResponse>*>( - ::grpc::Service::experimental().GetHandler(36)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetTaskExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(37, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, - ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateProjectDomainAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateProjectDomainAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(37)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(38, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesGetRequest, ::flyteidl::admin::ProjectDomainAttributesGetResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, - ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetProjectDomainAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetProjectDomainAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectDomainAttributesGetRequest, ::flyteidl::admin::ProjectDomainAttributesGetResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesGetRequest, ::flyteidl::admin::ProjectDomainAttributesGetResponse>*>( - ::grpc::Service::experimental().GetHandler(38)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_DeleteProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_DeleteProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(39, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesDeleteRequest, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, - ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->DeleteProjectDomainAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_DeleteProjectDomainAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectDomainAttributesDeleteRequest, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesDeleteRequest, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>*>( - ::grpc::Service::experimental().GetHandler(39)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_DeleteProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateProjectAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(40, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, - ::flyteidl::admin::ProjectAttributesUpdateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateProjectAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateProjectAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(40)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetProjectAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(41, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesGetRequest, ::flyteidl::admin::ProjectAttributesGetResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectAttributesGetRequest* request, - ::flyteidl::admin::ProjectAttributesGetResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetProjectAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetProjectAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectAttributesGetRequest, ::flyteidl::admin::ProjectAttributesGetResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesGetRequest, ::flyteidl::admin::ProjectAttributesGetResponse>*>( - ::grpc::Service::experimental().GetHandler(41)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_DeleteProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_DeleteProjectAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(42, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesDeleteRequest, ::flyteidl::admin::ProjectAttributesDeleteResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, - ::flyteidl::admin::ProjectAttributesDeleteResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->DeleteProjectAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_DeleteProjectAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectAttributesDeleteRequest, ::flyteidl::admin::ProjectAttributesDeleteResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesDeleteRequest, ::flyteidl::admin::ProjectAttributesDeleteResponse>*>( - ::grpc::Service::experimental().GetHandler(42)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_DeleteProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateWorkflowAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(43, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, - ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateWorkflowAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateWorkflowAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(43)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetWorkflowAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(44, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesGetRequest, ::flyteidl::admin::WorkflowAttributesGetResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowAttributesGetRequest* request, - ::flyteidl::admin::WorkflowAttributesGetResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetWorkflowAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetWorkflowAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowAttributesGetRequest, ::flyteidl::admin::WorkflowAttributesGetResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesGetRequest, ::flyteidl::admin::WorkflowAttributesGetResponse>*>( - ::grpc::Service::experimental().GetHandler(44)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_DeleteWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_DeleteWorkflowAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(45, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesDeleteRequest, ::flyteidl::admin::WorkflowAttributesDeleteResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, - ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->DeleteWorkflowAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_DeleteWorkflowAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowAttributesDeleteRequest, ::flyteidl::admin::WorkflowAttributesDeleteResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesDeleteRequest, ::flyteidl::admin::WorkflowAttributesDeleteResponse>*>( - ::grpc::Service::experimental().GetHandler(45)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_DeleteWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListMatchableAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListMatchableAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(46, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ListMatchableAttributesRequest, ::flyteidl::admin::ListMatchableAttributesResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ListMatchableAttributesRequest* request, - ::flyteidl::admin::ListMatchableAttributesResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListMatchableAttributes(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListMatchableAttributes( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ListMatchableAttributesRequest, ::flyteidl::admin::ListMatchableAttributesResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ListMatchableAttributesRequest, ::flyteidl::admin::ListMatchableAttributesResponse>*>( - ::grpc::Service::experimental().GetHandler(46)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListMatchableAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListNamedEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListNamedEntities() { - ::grpc::Service::experimental().MarkMethodCallback(47, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NamedEntityListRequest* request, - ::flyteidl::admin::NamedEntityList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListNamedEntities(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListNamedEntities( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>*>( - ::grpc::Service::experimental().GetHandler(47)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListNamedEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetNamedEntity() { - ::grpc::Service::experimental().MarkMethodCallback(48, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NamedEntityGetRequest* request, - ::flyteidl::admin::NamedEntity* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetNamedEntity(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetNamedEntity( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>*>( - ::grpc::Service::experimental().GetHandler(48)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_UpdateNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UpdateNamedEntity() { - ::grpc::Service::experimental().MarkMethodCallback(49, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::NamedEntityUpdateRequest* request, - ::flyteidl::admin::NamedEntityUpdateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UpdateNamedEntity(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UpdateNamedEntity( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(49)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UpdateNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetVersion() { - ::grpc::Service::experimental().MarkMethodCallback(50, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetVersionRequest, ::flyteidl::admin::GetVersionResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::GetVersionRequest* request, - ::flyteidl::admin::GetVersionResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetVersion(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetVersion( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::GetVersionRequest, ::flyteidl::admin::GetVersionResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetVersionRequest, ::flyteidl::admin::GetVersionResponse>*>( - ::grpc::Service::experimental().GetHandler(50)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetDescriptionEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetDescriptionEntity() { - ::grpc::Service::experimental().MarkMethodCallback(51, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::DescriptionEntity>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ObjectGetRequest* request, - ::flyteidl::admin::DescriptionEntity* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetDescriptionEntity(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetDescriptionEntity( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::DescriptionEntity>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::DescriptionEntity>*>( - ::grpc::Service::experimental().GetHandler(51)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetDescriptionEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListDescriptionEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListDescriptionEntities() { - ::grpc::Service::experimental().MarkMethodCallback(52, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::DescriptionEntityListRequest, ::flyteidl::admin::DescriptionEntityList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::DescriptionEntityListRequest* request, - ::flyteidl::admin::DescriptionEntityList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListDescriptionEntities(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListDescriptionEntities( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::DescriptionEntityListRequest, ::flyteidl::admin::DescriptionEntityList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::DescriptionEntityListRequest, ::flyteidl::admin::DescriptionEntityList>*>( - ::grpc::Service::experimental().GetHandler(52)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListDescriptionEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetExecutionMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetExecutionMetrics() { - ::grpc::Service::experimental().MarkMethodCallback(53, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, - ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetExecutionMetrics(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetExecutionMetrics( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>*>( - ::grpc::Service::experimental().GetHandler(53)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetExecutionMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; - template - class WithGenericMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateTask() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetTask() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListTaskIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListTaskIds() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_ListTaskIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListTasks : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListTasks() { - ::grpc::Service::MarkMethodGeneric(3); - } - ~WithGenericMethod_ListTasks() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateWorkflow() { - ::grpc::Service::MarkMethodGeneric(4); - } - ~WithGenericMethod_CreateWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetWorkflow() { - ::grpc::Service::MarkMethodGeneric(5); - } - ~WithGenericMethod_GetWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListWorkflowIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListWorkflowIds() { - ::grpc::Service::MarkMethodGeneric(6); - } - ~WithGenericMethod_ListWorkflowIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListWorkflows : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListWorkflows() { - ::grpc::Service::MarkMethodGeneric(7); - } - ~WithGenericMethod_ListWorkflows() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateLaunchPlan() { - ::grpc::Service::MarkMethodGeneric(8); - } - ~WithGenericMethod_CreateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetLaunchPlan() { - ::grpc::Service::MarkMethodGeneric(9); - } - ~WithGenericMethod_GetLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetActiveLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetActiveLaunchPlan() { - ::grpc::Service::MarkMethodGeneric(10); - } - ~WithGenericMethod_GetActiveLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListActiveLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListActiveLaunchPlans() { - ::grpc::Service::MarkMethodGeneric(11); - } - ~WithGenericMethod_ListActiveLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListLaunchPlanIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListLaunchPlanIds() { - ::grpc::Service::MarkMethodGeneric(12); - } - ~WithGenericMethod_ListLaunchPlanIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListLaunchPlans() { - ::grpc::Service::MarkMethodGeneric(13); - } - ~WithGenericMethod_ListLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateLaunchPlan() { - ::grpc::Service::MarkMethodGeneric(14); - } - ~WithGenericMethod_UpdateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateExecution() { - ::grpc::Service::MarkMethodGeneric(15); - } - ~WithGenericMethod_CreateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_RelaunchExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_RelaunchExecution() { - ::grpc::Service::MarkMethodGeneric(16); - } - ~WithGenericMethod_RelaunchExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_RecoverExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_RecoverExecution() { - ::grpc::Service::MarkMethodGeneric(17); - } - ~WithGenericMethod_RecoverExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetExecution() { - ::grpc::Service::MarkMethodGeneric(18); - } - ~WithGenericMethod_GetExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateExecution() { - ::grpc::Service::MarkMethodGeneric(19); - } - ~WithGenericMethod_UpdateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetExecutionData() { - ::grpc::Service::MarkMethodGeneric(20); - } - ~WithGenericMethod_GetExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListExecutions() { - ::grpc::Service::MarkMethodGeneric(21); - } - ~WithGenericMethod_ListExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_TerminateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_TerminateExecution() { - ::grpc::Service::MarkMethodGeneric(22); - } - ~WithGenericMethod_TerminateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetNodeExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetNodeExecution() { - ::grpc::Service::MarkMethodGeneric(23); - } - ~WithGenericMethod_GetNodeExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetDynamicNodeWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetDynamicNodeWorkflow() { - ::grpc::Service::MarkMethodGeneric(24); - } - ~WithGenericMethod_GetDynamicNodeWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListNodeExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListNodeExecutions() { - ::grpc::Service::MarkMethodGeneric(25); - } - ~WithGenericMethod_ListNodeExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListNodeExecutionsForTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListNodeExecutionsForTask() { - ::grpc::Service::MarkMethodGeneric(26); - } - ~WithGenericMethod_ListNodeExecutionsForTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetNodeExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetNodeExecutionData() { - ::grpc::Service::MarkMethodGeneric(27); - } - ~WithGenericMethod_GetNodeExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_RegisterProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_RegisterProject() { - ::grpc::Service::MarkMethodGeneric(28); - } - ~WithGenericMethod_RegisterProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateProject() { - ::grpc::Service::MarkMethodGeneric(29); - } - ~WithGenericMethod_UpdateProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListProjects : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListProjects() { - ::grpc::Service::MarkMethodGeneric(30); - } - ~WithGenericMethod_ListProjects() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateWorkflowEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateWorkflowEvent() { - ::grpc::Service::MarkMethodGeneric(31); - } - ~WithGenericMethod_CreateWorkflowEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateNodeEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateNodeEvent() { - ::grpc::Service::MarkMethodGeneric(32); - } - ~WithGenericMethod_CreateNodeEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateTaskEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateTaskEvent() { - ::grpc::Service::MarkMethodGeneric(33); - } - ~WithGenericMethod_CreateTaskEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetTaskExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetTaskExecution() { - ::grpc::Service::MarkMethodGeneric(34); - } - ~WithGenericMethod_GetTaskExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListTaskExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListTaskExecutions() { - ::grpc::Service::MarkMethodGeneric(35); - } - ~WithGenericMethod_ListTaskExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetTaskExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetTaskExecutionData() { - ::grpc::Service::MarkMethodGeneric(36); - } - ~WithGenericMethod_GetTaskExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodGeneric(37); - } - ~WithGenericMethod_UpdateProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetProjectDomainAttributes() { - ::grpc::Service::MarkMethodGeneric(38); - } - ~WithGenericMethod_GetProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_DeleteProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_DeleteProjectDomainAttributes() { - ::grpc::Service::MarkMethodGeneric(39); - } - ~WithGenericMethod_DeleteProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateProjectAttributes() { - ::grpc::Service::MarkMethodGeneric(40); - } - ~WithGenericMethod_UpdateProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetProjectAttributes() { - ::grpc::Service::MarkMethodGeneric(41); - } - ~WithGenericMethod_GetProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_DeleteProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_DeleteProjectAttributes() { - ::grpc::Service::MarkMethodGeneric(42); - } - ~WithGenericMethod_DeleteProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateWorkflowAttributes() { - ::grpc::Service::MarkMethodGeneric(43); - } - ~WithGenericMethod_UpdateWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetWorkflowAttributes() { - ::grpc::Service::MarkMethodGeneric(44); - } - ~WithGenericMethod_GetWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_DeleteWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_DeleteWorkflowAttributes() { - ::grpc::Service::MarkMethodGeneric(45); - } - ~WithGenericMethod_DeleteWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListMatchableAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListMatchableAttributes() { - ::grpc::Service::MarkMethodGeneric(46); - } - ~WithGenericMethod_ListMatchableAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListNamedEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodGeneric(47); - } - ~WithGenericMethod_ListNamedEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodGeneric(48); - } - ~WithGenericMethod_GetNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_UpdateNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodGeneric(49); - } - ~WithGenericMethod_UpdateNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetVersion() { - ::grpc::Service::MarkMethodGeneric(50); - } - ~WithGenericMethod_GetVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetDescriptionEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetDescriptionEntity() { - ::grpc::Service::MarkMethodGeneric(51); - } - ~WithGenericMethod_GetDescriptionEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListDescriptionEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListDescriptionEntities() { - ::grpc::Service::MarkMethodGeneric(52); - } - ~WithGenericMethod_ListDescriptionEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetExecutionMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetExecutionMetrics() { - ::grpc::Service::MarkMethodGeneric(53); - } - ~WithGenericMethod_GetExecutionMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateTask() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTask(::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_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetTask() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTask(::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 WithRawMethod_ListTaskIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListTaskIds() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_ListTaskIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListTaskIds(::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(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListTasks : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListTasks() { - ::grpc::Service::MarkMethodRaw(3); - } - ~WithRawMethod_ListTasks() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListTasks(::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(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_CreateWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateWorkflow() { - ::grpc::Service::MarkMethodRaw(4); - } - ~WithRawMethod_CreateWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateWorkflow(::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(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetWorkflow() { - ::grpc::Service::MarkMethodRaw(5); - } - ~WithRawMethod_GetWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetWorkflow(::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(5, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListWorkflowIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListWorkflowIds() { - ::grpc::Service::MarkMethodRaw(6); - } - ~WithRawMethod_ListWorkflowIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListWorkflowIds(::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(6, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListWorkflows : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListWorkflows() { - ::grpc::Service::MarkMethodRaw(7); - } - ~WithRawMethod_ListWorkflows() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListWorkflows(::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(7, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_CreateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateLaunchPlan() { - ::grpc::Service::MarkMethodRaw(8); - } - ~WithRawMethod_CreateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateLaunchPlan(::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_GetLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetLaunchPlan() { - ::grpc::Service::MarkMethodRaw(9); - } - ~WithRawMethod_GetLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetLaunchPlan(::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_GetActiveLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetActiveLaunchPlan() { - ::grpc::Service::MarkMethodRaw(10); - } - ~WithRawMethod_GetActiveLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetActiveLaunchPlan(::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(10, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListActiveLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListActiveLaunchPlans() { - ::grpc::Service::MarkMethodRaw(11); - } - ~WithRawMethod_ListActiveLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListActiveLaunchPlans(::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 - class WithRawMethod_ListLaunchPlanIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListLaunchPlanIds() { - ::grpc::Service::MarkMethodRaw(12); - } - ~WithRawMethod_ListLaunchPlanIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListLaunchPlanIds(::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(12, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListLaunchPlans() { - ::grpc::Service::MarkMethodRaw(13); - } - ~WithRawMethod_ListLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListLaunchPlans(::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 - class WithRawMethod_UpdateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateLaunchPlan() { - ::grpc::Service::MarkMethodRaw(14); - } - ~WithRawMethod_UpdateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateLaunchPlan(::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(14, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_CreateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateExecution() { - ::grpc::Service::MarkMethodRaw(15); - } - ~WithRawMethod_CreateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateExecution(::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(15, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_RelaunchExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_RelaunchExecution() { - ::grpc::Service::MarkMethodRaw(16); - } - ~WithRawMethod_RelaunchExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRelaunchExecution(::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(16, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_RecoverExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_RecoverExecution() { - ::grpc::Service::MarkMethodRaw(17); - } - ~WithRawMethod_RecoverExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRecoverExecution(::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(17, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetExecution() { - ::grpc::Service::MarkMethodRaw(18); - } - ~WithRawMethod_GetExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetExecution(::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(18, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UpdateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateExecution() { - ::grpc::Service::MarkMethodRaw(19); - } - ~WithRawMethod_UpdateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateExecution(::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(19, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetExecutionData() { - ::grpc::Service::MarkMethodRaw(20); - } - ~WithRawMethod_GetExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetExecutionData(::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(20, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListExecutions() { - ::grpc::Service::MarkMethodRaw(21); - } - ~WithRawMethod_ListExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListExecutions(::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(21, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_TerminateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_TerminateExecution() { - ::grpc::Service::MarkMethodRaw(22); - } - ~WithRawMethod_TerminateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestTerminateExecution(::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(22, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetNodeExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetNodeExecution() { - ::grpc::Service::MarkMethodRaw(23); - } - ~WithRawMethod_GetNodeExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetNodeExecution(::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(23, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetDynamicNodeWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetDynamicNodeWorkflow() { - ::grpc::Service::MarkMethodRaw(24); - } - ~WithRawMethod_GetDynamicNodeWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetDynamicNodeWorkflow(::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(24, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListNodeExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListNodeExecutions() { - ::grpc::Service::MarkMethodRaw(25); - } - ~WithRawMethod_ListNodeExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListNodeExecutions(::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(25, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListNodeExecutionsForTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListNodeExecutionsForTask() { - ::grpc::Service::MarkMethodRaw(26); - } - ~WithRawMethod_ListNodeExecutionsForTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListNodeExecutionsForTask(::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(26, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetNodeExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetNodeExecutionData() { - ::grpc::Service::MarkMethodRaw(27); - } - ~WithRawMethod_GetNodeExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetNodeExecutionData(::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(27, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_RegisterProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_RegisterProject() { - ::grpc::Service::MarkMethodRaw(28); - } - ~WithRawMethod_RegisterProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestRegisterProject(::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(28, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UpdateProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateProject() { - ::grpc::Service::MarkMethodRaw(29); - } - ~WithRawMethod_UpdateProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateProject(::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(29, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListProjects : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListProjects() { - ::grpc::Service::MarkMethodRaw(30); - } - ~WithRawMethod_ListProjects() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListProjects(::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(30, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_CreateWorkflowEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateWorkflowEvent() { - ::grpc::Service::MarkMethodRaw(31); - } - ~WithRawMethod_CreateWorkflowEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateWorkflowEvent(::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(31, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_CreateNodeEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateNodeEvent() { - ::grpc::Service::MarkMethodRaw(32); - } - ~WithRawMethod_CreateNodeEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateNodeEvent(::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(32, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_CreateTaskEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateTaskEvent() { - ::grpc::Service::MarkMethodRaw(33); - } - ~WithRawMethod_CreateTaskEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTaskEvent(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetTaskExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetTaskExecution() { - ::grpc::Service::MarkMethodRaw(34); - } - ~WithRawMethod_GetTaskExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskExecution(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListTaskExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListTaskExecutions() { - ::grpc::Service::MarkMethodRaw(35); - } - ~WithRawMethod_ListTaskExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListTaskExecutions(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetTaskExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetTaskExecutionData() { - ::grpc::Service::MarkMethodRaw(36); - } - ~WithRawMethod_GetTaskExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskExecutionData(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UpdateProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodRaw(37); - } - ~WithRawMethod_UpdateProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateProjectDomainAttributes(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetProjectDomainAttributes() { - ::grpc::Service::MarkMethodRaw(38); - } - ~WithRawMethod_GetProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetProjectDomainAttributes(::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(38, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_DeleteProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_DeleteProjectDomainAttributes() { - ::grpc::Service::MarkMethodRaw(39); - } - ~WithRawMethod_DeleteProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteProjectDomainAttributes(::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(39, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UpdateProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateProjectAttributes() { - ::grpc::Service::MarkMethodRaw(40); - } - ~WithRawMethod_UpdateProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateProjectAttributes(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(40, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetProjectAttributes() { - ::grpc::Service::MarkMethodRaw(41); - } - ~WithRawMethod_GetProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetProjectAttributes(::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(41, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_DeleteProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_DeleteProjectAttributes() { - ::grpc::Service::MarkMethodRaw(42); - } - ~WithRawMethod_DeleteProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteProjectAttributes(::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(42, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UpdateWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateWorkflowAttributes() { - ::grpc::Service::MarkMethodRaw(43); - } - ~WithRawMethod_UpdateWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateWorkflowAttributes(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(43, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetWorkflowAttributes() { - ::grpc::Service::MarkMethodRaw(44); - } - ~WithRawMethod_GetWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetWorkflowAttributes(::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(44, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_DeleteWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_DeleteWorkflowAttributes() { - ::grpc::Service::MarkMethodRaw(45); - } - ~WithRawMethod_DeleteWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteWorkflowAttributes(::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(45, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListMatchableAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListMatchableAttributes() { - ::grpc::Service::MarkMethodRaw(46); - } - ~WithRawMethod_ListMatchableAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListMatchableAttributes(::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(46, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListNamedEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodRaw(47); - } - ~WithRawMethod_ListNamedEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListNamedEntities(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(47, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodRaw(48); - } - ~WithRawMethod_GetNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetNamedEntity(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(48, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_UpdateNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodRaw(49); - } - ~WithRawMethod_UpdateNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUpdateNamedEntity(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(49, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetVersion() { - ::grpc::Service::MarkMethodRaw(50); - } - ~WithRawMethod_GetVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetVersion(::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(50, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetDescriptionEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetDescriptionEntity() { - ::grpc::Service::MarkMethodRaw(51); - } - ~WithRawMethod_GetDescriptionEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetDescriptionEntity(::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(51, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_ListDescriptionEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListDescriptionEntities() { - ::grpc::Service::MarkMethodRaw(52); - } - ~WithRawMethod_ListDescriptionEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListDescriptionEntities(::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(52, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetExecutionMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetExecutionMetrics() { - ::grpc::Service::MarkMethodRaw(53); - } - ~WithRawMethod_GetExecutionMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetExecutionMetrics(::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(53, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class ExperimentalWithRawCallbackMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateTask() { - ::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->CreateTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetTask() { - ::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->GetTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListTaskIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListTaskIds() { - ::grpc::Service::experimental().MarkMethodRawCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListTaskIds(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListTaskIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListTaskIds(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListTasks : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListTasks() { - ::grpc::Service::experimental().MarkMethodRawCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListTasks(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListTasks() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListTasks(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateWorkflow() { - ::grpc::Service::experimental().MarkMethodRawCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->CreateWorkflow(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateWorkflow(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetWorkflow() { - ::grpc::Service::experimental().MarkMethodRawCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetWorkflow(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetWorkflow(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListWorkflowIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListWorkflowIds() { - ::grpc::Service::experimental().MarkMethodRawCallback(6, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListWorkflowIds(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListWorkflowIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListWorkflowIds(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListWorkflows : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListWorkflows() { - ::grpc::Service::experimental().MarkMethodRawCallback(7, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListWorkflows(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListWorkflows() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListWorkflows(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateLaunchPlan() { - ::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->CreateLaunchPlan(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateLaunchPlan(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetLaunchPlan() { - ::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->GetLaunchPlan(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetLaunchPlan(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetActiveLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetActiveLaunchPlan() { - ::grpc::Service::experimental().MarkMethodRawCallback(10, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetActiveLaunchPlan(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetActiveLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetActiveLaunchPlan(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListActiveLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListActiveLaunchPlans() { - ::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->ListActiveLaunchPlans(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListActiveLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListActiveLaunchPlans(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListLaunchPlanIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListLaunchPlanIds() { - ::grpc::Service::experimental().MarkMethodRawCallback(12, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListLaunchPlanIds(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListLaunchPlanIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListLaunchPlanIds(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListLaunchPlans() { - ::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->ListLaunchPlans(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListLaunchPlans(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateLaunchPlan() { - ::grpc::Service::experimental().MarkMethodRawCallback(14, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateLaunchPlan(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateLaunchPlan(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(15, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->CreateExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_RelaunchExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_RelaunchExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(16, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->RelaunchExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_RelaunchExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void RelaunchExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_RecoverExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_RecoverExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(17, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->RecoverExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_RecoverExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void RecoverExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(18, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(19, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetExecutionData() { - ::grpc::Service::experimental().MarkMethodRawCallback(20, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetExecutionData(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetExecutionData(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListExecutions() { - ::grpc::Service::experimental().MarkMethodRawCallback(21, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListExecutions(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListExecutions(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_TerminateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_TerminateExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(22, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->TerminateExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_TerminateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void TerminateExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetNodeExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetNodeExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(23, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetNodeExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetNodeExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetNodeExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetDynamicNodeWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetDynamicNodeWorkflow() { - ::grpc::Service::experimental().MarkMethodRawCallback(24, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetDynamicNodeWorkflow(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetDynamicNodeWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListNodeExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListNodeExecutions() { - ::grpc::Service::experimental().MarkMethodRawCallback(25, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListNodeExecutions(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListNodeExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListNodeExecutions(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListNodeExecutionsForTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListNodeExecutionsForTask() { - ::grpc::Service::experimental().MarkMethodRawCallback(26, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListNodeExecutionsForTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListNodeExecutionsForTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetNodeExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetNodeExecutionData() { - ::grpc::Service::experimental().MarkMethodRawCallback(27, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetNodeExecutionData(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetNodeExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetNodeExecutionData(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_RegisterProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_RegisterProject() { - ::grpc::Service::experimental().MarkMethodRawCallback(28, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->RegisterProject(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_RegisterProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void RegisterProject(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateProject() { - ::grpc::Service::experimental().MarkMethodRawCallback(29, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateProject(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateProject(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListProjects : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListProjects() { - ::grpc::Service::experimental().MarkMethodRawCallback(30, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListProjects(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListProjects() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListProjects(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateWorkflowEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateWorkflowEvent() { - ::grpc::Service::experimental().MarkMethodRawCallback(31, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->CreateWorkflowEvent(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateWorkflowEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateWorkflowEvent(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateNodeEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateNodeEvent() { - ::grpc::Service::experimental().MarkMethodRawCallback(32, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->CreateNodeEvent(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateNodeEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateNodeEvent(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateTaskEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateTaskEvent() { - ::grpc::Service::experimental().MarkMethodRawCallback(33, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->CreateTaskEvent(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateTaskEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTaskEvent(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetTaskExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetTaskExecution() { - ::grpc::Service::experimental().MarkMethodRawCallback(34, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetTaskExecution(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetTaskExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskExecution(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListTaskExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListTaskExecutions() { - ::grpc::Service::experimental().MarkMethodRawCallback(35, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListTaskExecutions(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListTaskExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListTaskExecutions(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetTaskExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetTaskExecutionData() { - ::grpc::Service::experimental().MarkMethodRawCallback(36, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetTaskExecutionData(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetTaskExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskExecutionData(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(37, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateProjectDomainAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(38, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetProjectDomainAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetProjectDomainAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_DeleteProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_DeleteProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(39, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->DeleteProjectDomainAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_DeleteProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateProjectAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(40, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateProjectAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateProjectAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetProjectAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(41, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetProjectAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetProjectAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_DeleteProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_DeleteProjectAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(42, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->DeleteProjectAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_DeleteProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteProjectAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateWorkflowAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(43, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateWorkflowAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetWorkflowAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(44, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetWorkflowAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetWorkflowAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_DeleteWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_DeleteWorkflowAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(45, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->DeleteWorkflowAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_DeleteWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListMatchableAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListMatchableAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(46, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListMatchableAttributes(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListMatchableAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListMatchableAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListNamedEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListNamedEntities() { - ::grpc::Service::experimental().MarkMethodRawCallback(47, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListNamedEntities(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListNamedEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListNamedEntities(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetNamedEntity() { - ::grpc::Service::experimental().MarkMethodRawCallback(48, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetNamedEntity(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetNamedEntity(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_UpdateNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UpdateNamedEntity() { - ::grpc::Service::experimental().MarkMethodRawCallback(49, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->UpdateNamedEntity(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UpdateNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UpdateNamedEntity(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetVersion() { - ::grpc::Service::experimental().MarkMethodRawCallback(50, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetVersion(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetVersion(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetDescriptionEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetDescriptionEntity() { - ::grpc::Service::experimental().MarkMethodRawCallback(51, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetDescriptionEntity(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetDescriptionEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetDescriptionEntity(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListDescriptionEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListDescriptionEntities() { - ::grpc::Service::experimental().MarkMethodRawCallback(52, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->ListDescriptionEntities(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListDescriptionEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListDescriptionEntities(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetExecutionMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetExecutionMetrics() { - ::grpc::Service::experimental().MarkMethodRawCallback(53, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetExecutionMetrics(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetExecutionMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetExecutionMetrics(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateTask() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::TaskCreateRequest, ::flyteidl::admin::TaskCreateResponse>(std::bind(&WithStreamedUnaryMethod_CreateTask::StreamedCreateTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::TaskCreateRequest* request, ::flyteidl::admin::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::TaskCreateRequest,::flyteidl::admin::TaskCreateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetTask() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Task>(std::bind(&WithStreamedUnaryMethod_GetTask::StreamedGetTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Task* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ObjectGetRequest,::flyteidl::admin::Task>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListTaskIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListTaskIds() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>(std::bind(&WithStreamedUnaryMethod_ListTaskIds::StreamedListTaskIds, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListTaskIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListTaskIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListTaskIds(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NamedEntityIdentifierListRequest,::flyteidl::admin::NamedEntityIdentifierList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListTasks : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListTasks() { - ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::TaskList>(std::bind(&WithStreamedUnaryMethod_ListTasks::StreamedListTasks, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListTasks() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListTasks(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::TaskList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListTasks(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ResourceListRequest,::flyteidl::admin::TaskList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateWorkflow() { - ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowCreateRequest, ::flyteidl::admin::WorkflowCreateResponse>(std::bind(&WithStreamedUnaryMethod_CreateWorkflow::StreamedCreateWorkflow, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowCreateRequest* request, ::flyteidl::admin::WorkflowCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateWorkflow(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowCreateRequest,::flyteidl::admin::WorkflowCreateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetWorkflow() { - ::grpc::Service::MarkMethodStreamed(5, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::Workflow>(std::bind(&WithStreamedUnaryMethod_GetWorkflow::StreamedGetWorkflow, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::Workflow* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetWorkflow(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ObjectGetRequest,::flyteidl::admin::Workflow>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListWorkflowIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListWorkflowIds() { - ::grpc::Service::MarkMethodStreamed(6, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>(std::bind(&WithStreamedUnaryMethod_ListWorkflowIds::StreamedListWorkflowIds, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListWorkflowIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListWorkflowIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListWorkflowIds(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NamedEntityIdentifierListRequest,::flyteidl::admin::NamedEntityIdentifierList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListWorkflows : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListWorkflows() { - ::grpc::Service::MarkMethodStreamed(7, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::WorkflowList>(std::bind(&WithStreamedUnaryMethod_ListWorkflows::StreamedListWorkflows, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListWorkflows() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListWorkflows(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::WorkflowList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListWorkflows(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ResourceListRequest,::flyteidl::admin::WorkflowList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateLaunchPlan() { - ::grpc::Service::MarkMethodStreamed(8, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::LaunchPlanCreateRequest, ::flyteidl::admin::LaunchPlanCreateResponse>(std::bind(&WithStreamedUnaryMethod_CreateLaunchPlan::StreamedCreateLaunchPlan, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanCreateRequest* request, ::flyteidl::admin::LaunchPlanCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateLaunchPlan(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::LaunchPlanCreateRequest,::flyteidl::admin::LaunchPlanCreateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetLaunchPlan() { - ::grpc::Service::MarkMethodStreamed(9, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::LaunchPlan>(std::bind(&WithStreamedUnaryMethod_GetLaunchPlan::StreamedGetLaunchPlan, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetLaunchPlan(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ObjectGetRequest,::flyteidl::admin::LaunchPlan>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetActiveLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetActiveLaunchPlan() { - ::grpc::Service::MarkMethodStreamed(10, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ActiveLaunchPlanRequest, ::flyteidl::admin::LaunchPlan>(std::bind(&WithStreamedUnaryMethod_GetActiveLaunchPlan::StreamedGetActiveLaunchPlan, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetActiveLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetActiveLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanRequest* request, ::flyteidl::admin::LaunchPlan* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetActiveLaunchPlan(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ActiveLaunchPlanRequest,::flyteidl::admin::LaunchPlan>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListActiveLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListActiveLaunchPlans() { - ::grpc::Service::MarkMethodStreamed(11, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ActiveLaunchPlanListRequest, ::flyteidl::admin::LaunchPlanList>(std::bind(&WithStreamedUnaryMethod_ListActiveLaunchPlans::StreamedListActiveLaunchPlans, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListActiveLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListActiveLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ActiveLaunchPlanListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListActiveLaunchPlans(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ActiveLaunchPlanListRequest,::flyteidl::admin::LaunchPlanList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListLaunchPlanIds : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListLaunchPlanIds() { - ::grpc::Service::MarkMethodStreamed(12, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityIdentifierListRequest, ::flyteidl::admin::NamedEntityIdentifierList>(std::bind(&WithStreamedUnaryMethod_ListLaunchPlanIds::StreamedListLaunchPlanIds, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListLaunchPlanIds() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListLaunchPlanIds(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityIdentifierListRequest* request, ::flyteidl::admin::NamedEntityIdentifierList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListLaunchPlanIds(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NamedEntityIdentifierListRequest,::flyteidl::admin::NamedEntityIdentifierList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListLaunchPlans : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListLaunchPlans() { - ::grpc::Service::MarkMethodStreamed(13, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::LaunchPlanList>(std::bind(&WithStreamedUnaryMethod_ListLaunchPlans::StreamedListLaunchPlans, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListLaunchPlans() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListLaunchPlans(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::LaunchPlanList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListLaunchPlans(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ResourceListRequest,::flyteidl::admin::LaunchPlanList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateLaunchPlan : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateLaunchPlan() { - ::grpc::Service::MarkMethodStreamed(14, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::LaunchPlanUpdateRequest, ::flyteidl::admin::LaunchPlanUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateLaunchPlan::StreamedUpdateLaunchPlan, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateLaunchPlan() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateLaunchPlan(::grpc::ServerContext* context, const ::flyteidl::admin::LaunchPlanUpdateRequest* request, ::flyteidl::admin::LaunchPlanUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateLaunchPlan(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::LaunchPlanUpdateRequest,::flyteidl::admin::LaunchPlanUpdateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateExecution() { - ::grpc::Service::MarkMethodStreamed(15, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ExecutionCreateRequest, ::flyteidl::admin::ExecutionCreateResponse>(std::bind(&WithStreamedUnaryMethod_CreateExecution::StreamedCreateExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionCreateRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ExecutionCreateRequest,::flyteidl::admin::ExecutionCreateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_RelaunchExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_RelaunchExecution() { - ::grpc::Service::MarkMethodStreamed(16, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ExecutionRelaunchRequest, ::flyteidl::admin::ExecutionCreateResponse>(std::bind(&WithStreamedUnaryMethod_RelaunchExecution::StreamedRelaunchExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_RelaunchExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status RelaunchExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRelaunchRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedRelaunchExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ExecutionRelaunchRequest,::flyteidl::admin::ExecutionCreateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_RecoverExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_RecoverExecution() { - ::grpc::Service::MarkMethodStreamed(17, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ExecutionRecoverRequest, ::flyteidl::admin::ExecutionCreateResponse>(std::bind(&WithStreamedUnaryMethod_RecoverExecution::StreamedRecoverExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_RecoverExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status RecoverExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionRecoverRequest* request, ::flyteidl::admin::ExecutionCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedRecoverExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ExecutionRecoverRequest,::flyteidl::admin::ExecutionCreateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetExecution() { - ::grpc::Service::MarkMethodStreamed(18, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetRequest, ::flyteidl::admin::Execution>(std::bind(&WithStreamedUnaryMethod_GetExecution::StreamedGetExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetExecution(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetRequest* request, ::flyteidl::admin::Execution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowExecutionGetRequest,::flyteidl::admin::Execution>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateExecution() { - ::grpc::Service::MarkMethodStreamed(19, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ExecutionUpdateRequest, ::flyteidl::admin::ExecutionUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateExecution::StreamedUpdateExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionUpdateRequest* request, ::flyteidl::admin::ExecutionUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ExecutionUpdateRequest,::flyteidl::admin::ExecutionUpdateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetExecutionData() { - ::grpc::Service::MarkMethodStreamed(20, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetDataRequest, ::flyteidl::admin::WorkflowExecutionGetDataResponse>(std::bind(&WithStreamedUnaryMethod_GetExecutionData::StreamedGetExecutionData, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetDataRequest* request, ::flyteidl::admin::WorkflowExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetExecutionData(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowExecutionGetDataRequest,::flyteidl::admin::WorkflowExecutionGetDataResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListExecutions() { - ::grpc::Service::MarkMethodStreamed(21, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ResourceListRequest, ::flyteidl::admin::ExecutionList>(std::bind(&WithStreamedUnaryMethod_ListExecutions::StreamedListExecutions, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::ResourceListRequest* request, ::flyteidl::admin::ExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListExecutions(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ResourceListRequest,::flyteidl::admin::ExecutionList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_TerminateExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_TerminateExecution() { - ::grpc::Service::MarkMethodStreamed(22, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ExecutionTerminateRequest, ::flyteidl::admin::ExecutionTerminateResponse>(std::bind(&WithStreamedUnaryMethod_TerminateExecution::StreamedTerminateExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_TerminateExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status TerminateExecution(::grpc::ServerContext* context, const ::flyteidl::admin::ExecutionTerminateRequest* request, ::flyteidl::admin::ExecutionTerminateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedTerminateExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ExecutionTerminateRequest,::flyteidl::admin::ExecutionTerminateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetNodeExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetNodeExecution() { - ::grpc::Service::MarkMethodStreamed(23, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NodeExecutionGetRequest, ::flyteidl::admin::NodeExecution>(std::bind(&WithStreamedUnaryMethod_GetNodeExecution::StreamedGetNodeExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetNodeExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetNodeExecution(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetRequest* request, ::flyteidl::admin::NodeExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetNodeExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NodeExecutionGetRequest,::flyteidl::admin::NodeExecution>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetDynamicNodeWorkflow : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetDynamicNodeWorkflow() { - ::grpc::Service::MarkMethodStreamed(24, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::GetDynamicNodeWorkflowRequest, ::flyteidl::admin::DynamicNodeWorkflowResponse>(std::bind(&WithStreamedUnaryMethod_GetDynamicNodeWorkflow::StreamedGetDynamicNodeWorkflow, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetDynamicNodeWorkflow() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetDynamicNodeWorkflow(::grpc::ServerContext* context, const ::flyteidl::admin::GetDynamicNodeWorkflowRequest* request, ::flyteidl::admin::DynamicNodeWorkflowResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetDynamicNodeWorkflow(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::GetDynamicNodeWorkflowRequest,::flyteidl::admin::DynamicNodeWorkflowResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListNodeExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListNodeExecutions() { - ::grpc::Service::MarkMethodStreamed(25, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NodeExecutionListRequest, ::flyteidl::admin::NodeExecutionList>(std::bind(&WithStreamedUnaryMethod_ListNodeExecutions::StreamedListNodeExecutions, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListNodeExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListNodeExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListNodeExecutions(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NodeExecutionListRequest,::flyteidl::admin::NodeExecutionList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListNodeExecutionsForTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListNodeExecutionsForTask() { - ::grpc::Service::MarkMethodStreamed(26, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NodeExecutionForTaskListRequest, ::flyteidl::admin::NodeExecutionList>(std::bind(&WithStreamedUnaryMethod_ListNodeExecutionsForTask::StreamedListNodeExecutionsForTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListNodeExecutionsForTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListNodeExecutionsForTask(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionForTaskListRequest* request, ::flyteidl::admin::NodeExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListNodeExecutionsForTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NodeExecutionForTaskListRequest,::flyteidl::admin::NodeExecutionList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetNodeExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetNodeExecutionData() { - ::grpc::Service::MarkMethodStreamed(27, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NodeExecutionGetDataRequest, ::flyteidl::admin::NodeExecutionGetDataResponse>(std::bind(&WithStreamedUnaryMethod_GetNodeExecutionData::StreamedGetNodeExecutionData, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetNodeExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetNodeExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionGetDataRequest* request, ::flyteidl::admin::NodeExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetNodeExecutionData(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NodeExecutionGetDataRequest,::flyteidl::admin::NodeExecutionGetDataResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_RegisterProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_RegisterProject() { - ::grpc::Service::MarkMethodStreamed(28, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectRegisterRequest, ::flyteidl::admin::ProjectRegisterResponse>(std::bind(&WithStreamedUnaryMethod_RegisterProject::StreamedRegisterProject, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_RegisterProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status RegisterProject(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectRegisterRequest* request, ::flyteidl::admin::ProjectRegisterResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedRegisterProject(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectRegisterRequest,::flyteidl::admin::ProjectRegisterResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateProject : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateProject() { - ::grpc::Service::MarkMethodStreamed(29, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::Project, ::flyteidl::admin::ProjectUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateProject::StreamedUpdateProject, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateProject() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateProject(::grpc::ServerContext* context, const ::flyteidl::admin::Project* request, ::flyteidl::admin::ProjectUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateProject(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::Project,::flyteidl::admin::ProjectUpdateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListProjects : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListProjects() { - ::grpc::Service::MarkMethodStreamed(30, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectListRequest, ::flyteidl::admin::Projects>(std::bind(&WithStreamedUnaryMethod_ListProjects::StreamedListProjects, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListProjects() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListProjects(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectListRequest* request, ::flyteidl::admin::Projects* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListProjects(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectListRequest,::flyteidl::admin::Projects>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateWorkflowEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateWorkflowEvent() { - ::grpc::Service::MarkMethodStreamed(31, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowExecutionEventRequest, ::flyteidl::admin::WorkflowExecutionEventResponse>(std::bind(&WithStreamedUnaryMethod_CreateWorkflowEvent::StreamedCreateWorkflowEvent, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateWorkflowEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateWorkflowEvent(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionEventRequest* request, ::flyteidl::admin::WorkflowExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateWorkflowEvent(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowExecutionEventRequest,::flyteidl::admin::WorkflowExecutionEventResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateNodeEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateNodeEvent() { - ::grpc::Service::MarkMethodStreamed(32, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NodeExecutionEventRequest, ::flyteidl::admin::NodeExecutionEventResponse>(std::bind(&WithStreamedUnaryMethod_CreateNodeEvent::StreamedCreateNodeEvent, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateNodeEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateNodeEvent(::grpc::ServerContext* context, const ::flyteidl::admin::NodeExecutionEventRequest* request, ::flyteidl::admin::NodeExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateNodeEvent(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NodeExecutionEventRequest,::flyteidl::admin::NodeExecutionEventResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateTaskEvent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateTaskEvent() { - ::grpc::Service::MarkMethodStreamed(33, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::TaskExecutionEventRequest, ::flyteidl::admin::TaskExecutionEventResponse>(std::bind(&WithStreamedUnaryMethod_CreateTaskEvent::StreamedCreateTaskEvent, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateTaskEvent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateTaskEvent(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionEventRequest* request, ::flyteidl::admin::TaskExecutionEventResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateTaskEvent(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::TaskExecutionEventRequest,::flyteidl::admin::TaskExecutionEventResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetTaskExecution : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetTaskExecution() { - ::grpc::Service::MarkMethodStreamed(34, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::TaskExecutionGetRequest, ::flyteidl::admin::TaskExecution>(std::bind(&WithStreamedUnaryMethod_GetTaskExecution::StreamedGetTaskExecution, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetTaskExecution() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetTaskExecution(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::TaskExecutionGetRequest,::flyteidl::admin::TaskExecution>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListTaskExecutions : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListTaskExecutions() { - ::grpc::Service::MarkMethodStreamed(35, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::TaskExecutionListRequest, ::flyteidl::admin::TaskExecutionList>(std::bind(&WithStreamedUnaryMethod_ListTaskExecutions::StreamedListTaskExecutions, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListTaskExecutions() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListTaskExecutions(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::TaskExecutionListRequest,::flyteidl::admin::TaskExecutionList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetTaskExecutionData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetTaskExecutionData() { - ::grpc::Service::MarkMethodStreamed(36, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::TaskExecutionGetDataRequest, ::flyteidl::admin::TaskExecutionGetDataResponse>(std::bind(&WithStreamedUnaryMethod_GetTaskExecutionData::StreamedGetTaskExecutionData, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetTaskExecutionData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetTaskExecutionData(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::TaskExecutionGetDataRequest,::flyteidl::admin::TaskExecutionGetDataResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodStreamed(37, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateProjectDomainAttributes::StreamedUpdateProjectDomainAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateProjectDomainAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest,::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetProjectDomainAttributes() { - ::grpc::Service::MarkMethodStreamed(38, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesGetRequest, ::flyteidl::admin::ProjectDomainAttributesGetResponse>(std::bind(&WithStreamedUnaryMethod_GetProjectDomainAttributes::StreamedGetProjectDomainAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesGetRequest* request, ::flyteidl::admin::ProjectDomainAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetProjectDomainAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectDomainAttributesGetRequest,::flyteidl::admin::ProjectDomainAttributesGetResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_DeleteProjectDomainAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_DeleteProjectDomainAttributes() { - ::grpc::Service::MarkMethodStreamed(39, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesDeleteRequest, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse>(std::bind(&WithStreamedUnaryMethod_DeleteProjectDomainAttributes::StreamedDeleteProjectDomainAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_DeleteProjectDomainAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status DeleteProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesDeleteRequest* request, ::flyteidl::admin::ProjectDomainAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedDeleteProjectDomainAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectDomainAttributesDeleteRequest,::flyteidl::admin::ProjectDomainAttributesDeleteResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateProjectAttributes() { - ::grpc::Service::MarkMethodStreamed(40, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateProjectAttributes::StreamedUpdateProjectAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateProjectAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectAttributesUpdateRequest,::flyteidl::admin::ProjectAttributesUpdateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetProjectAttributes() { - ::grpc::Service::MarkMethodStreamed(41, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectAttributesGetRequest, ::flyteidl::admin::ProjectAttributesGetResponse>(std::bind(&WithStreamedUnaryMethod_GetProjectAttributes::StreamedGetProjectAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesGetRequest* request, ::flyteidl::admin::ProjectAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetProjectAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectAttributesGetRequest,::flyteidl::admin::ProjectAttributesGetResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_DeleteProjectAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_DeleteProjectAttributes() { - ::grpc::Service::MarkMethodStreamed(42, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectAttributesDeleteRequest, ::flyteidl::admin::ProjectAttributesDeleteResponse>(std::bind(&WithStreamedUnaryMethod_DeleteProjectAttributes::StreamedDeleteProjectAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_DeleteProjectAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status DeleteProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesDeleteRequest* request, ::flyteidl::admin::ProjectAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedDeleteProjectAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectAttributesDeleteRequest,::flyteidl::admin::ProjectAttributesDeleteResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateWorkflowAttributes() { - ::grpc::Service::MarkMethodStreamed(43, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateWorkflowAttributes::StreamedUpdateWorkflowAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateWorkflowAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowAttributesUpdateRequest,::flyteidl::admin::WorkflowAttributesUpdateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetWorkflowAttributes() { - ::grpc::Service::MarkMethodStreamed(44, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowAttributesGetRequest, ::flyteidl::admin::WorkflowAttributesGetResponse>(std::bind(&WithStreamedUnaryMethod_GetWorkflowAttributes::StreamedGetWorkflowAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesGetRequest* request, ::flyteidl::admin::WorkflowAttributesGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetWorkflowAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowAttributesGetRequest,::flyteidl::admin::WorkflowAttributesGetResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_DeleteWorkflowAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_DeleteWorkflowAttributes() { - ::grpc::Service::MarkMethodStreamed(45, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowAttributesDeleteRequest, ::flyteidl::admin::WorkflowAttributesDeleteResponse>(std::bind(&WithStreamedUnaryMethod_DeleteWorkflowAttributes::StreamedDeleteWorkflowAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_DeleteWorkflowAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status DeleteWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesDeleteRequest* request, ::flyteidl::admin::WorkflowAttributesDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedDeleteWorkflowAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowAttributesDeleteRequest,::flyteidl::admin::WorkflowAttributesDeleteResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListMatchableAttributes : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListMatchableAttributes() { - ::grpc::Service::MarkMethodStreamed(46, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ListMatchableAttributesRequest, ::flyteidl::admin::ListMatchableAttributesResponse>(std::bind(&WithStreamedUnaryMethod_ListMatchableAttributes::StreamedListMatchableAttributes, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListMatchableAttributes() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListMatchableAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ListMatchableAttributesRequest* request, ::flyteidl::admin::ListMatchableAttributesResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListMatchableAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ListMatchableAttributesRequest,::flyteidl::admin::ListMatchableAttributesResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListNamedEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodStreamed(47, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>(std::bind(&WithStreamedUnaryMethod_ListNamedEntities::StreamedListNamedEntities, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListNamedEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListNamedEntities(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NamedEntityListRequest,::flyteidl::admin::NamedEntityList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodStreamed(48, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>(std::bind(&WithStreamedUnaryMethod_GetNamedEntity::StreamedGetNamedEntity, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetNamedEntity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NamedEntityGetRequest,::flyteidl::admin::NamedEntity>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_UpdateNamedEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodStreamed(49, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateNamedEntity::StreamedUpdateNamedEntity, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UpdateNamedEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUpdateNamedEntity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NamedEntityUpdateRequest,::flyteidl::admin::NamedEntityUpdateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetVersion : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetVersion() { - ::grpc::Service::MarkMethodStreamed(50, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::GetVersionRequest, ::flyteidl::admin::GetVersionResponse>(std::bind(&WithStreamedUnaryMethod_GetVersion::StreamedGetVersion, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetVersion() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetVersion(::grpc::ServerContext* context, const ::flyteidl::admin::GetVersionRequest* request, ::flyteidl::admin::GetVersionResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetVersion(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::GetVersionRequest,::flyteidl::admin::GetVersionResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetDescriptionEntity : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetDescriptionEntity() { - ::grpc::Service::MarkMethodStreamed(51, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ObjectGetRequest, ::flyteidl::admin::DescriptionEntity>(std::bind(&WithStreamedUnaryMethod_GetDescriptionEntity::StreamedGetDescriptionEntity, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetDescriptionEntity() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetDescriptionEntity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ObjectGetRequest,::flyteidl::admin::DescriptionEntity>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListDescriptionEntities : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListDescriptionEntities() { - ::grpc::Service::MarkMethodStreamed(52, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::DescriptionEntityListRequest, ::flyteidl::admin::DescriptionEntityList>(std::bind(&WithStreamedUnaryMethod_ListDescriptionEntities::StreamedListDescriptionEntities, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListDescriptionEntities() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListDescriptionEntities(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::DescriptionEntityListRequest,::flyteidl::admin::DescriptionEntityList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetExecutionMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetExecutionMetrics() { - ::grpc::Service::MarkMethodStreamed(53, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>(std::bind(&WithStreamedUnaryMethod_GetExecutionMetrics::StreamedGetExecutionMetrics, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetExecutionMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetExecutionMetrics(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest,::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; -}; - -} // namespace service -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fservice_2fadmin_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc deleted file mode 100644 index 1eb48938ce..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc +++ /dev/null @@ -1,490 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/admin.proto - -#include "flyteidl/service/admin.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace service { -} // namespace service -} // namespace flyteidl -void InitDefaults_flyteidl_2fservice_2fadmin_2eproto() { -} - -constexpr ::google::protobuf::Metadata* file_level_metadata_flyteidl_2fservice_2fadmin_2eproto = nullptr; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fservice_2fadmin_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fadmin_2eproto = nullptr; -const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fadmin_2eproto::offsets[1] = {}; -static constexpr ::google::protobuf::internal::MigrationSchema* schemas = nullptr; -static constexpr ::google::protobuf::Message* const* file_default_instances = nullptr; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fadmin_2eproto = { - {}, AddDescriptors_flyteidl_2fservice_2fadmin_2eproto, "flyteidl/service/admin.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fservice_2fadmin_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fadmin_2eproto, 0, file_level_enum_descriptors_flyteidl_2fservice_2fadmin_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fadmin_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fservice_2fadmin_2eproto[] = - "\n\034flyteidl/service/admin.proto\022\020flyteidl" - ".service\032\034google/api/annotations.proto\032\034" - "flyteidl/admin/project.proto\032.flyteidl/a" - "dmin/project_domain_attributes.proto\032\'fl" - "yteidl/admin/project_attributes.proto\032\031f" - "lyteidl/admin/task.proto\032\035flyteidl/admin" - "/workflow.proto\032(flyteidl/admin/workflow" - "_attributes.proto\032 flyteidl/admin/launch" - "_plan.proto\032\032flyteidl/admin/event.proto\032" - "\036flyteidl/admin/execution.proto\032\'flyteid" - "l/admin/matchable_resource.proto\032#flytei" - "dl/admin/node_execution.proto\032#flyteidl/" - "admin/task_execution.proto\032\034flyteidl/adm" - "in/version.proto\032\033flyteidl/admin/common." - "proto\032\'flyteidl/admin/description_entity" - ".proto2\270y\n\014AdminService\022\216\001\n\nCreateTask\022!" - ".flyteidl.admin.TaskCreateRequest\032\".flyt" - "eidl.admin.TaskCreateResponse\"9\202\323\344\223\0023\"\r/" - "api/v1/tasks:\001*Z\037\"\032/api/v1/tasks/org/{id" - ".org}:\001*\022\330\001\n\007GetTask\022 .flyteidl.admin.Ob" - "jectGetRequest\032\024.flyteidl.admin.Task\"\224\001\202" - "\323\344\223\002\215\001\022=/api/v1/tasks/{id.project}/{id.d" - "omain}/{id.name}/{id.version}ZL\022J/api/v1" - "/tasks/org/{id.org}/{id.project}/{id.dom" - "ain}/{id.name}/{id.version}\022\305\001\n\013ListTask" - "Ids\0220.flyteidl.admin.NamedEntityIdentifi" - "erListRequest\032).flyteidl.admin.NamedEnti" - "tyIdentifierList\"Y\202\323\344\223\002S\022#/api/v1/task_i" - "ds/{project}/{domain}Z,\022*/api/v1/tasks/o" - "rg/{org}/{project}/{domain}\022\250\002\n\tListTask" - "s\022#.flyteidl.admin.ResourceListRequest\032\030" - ".flyteidl.admin.TaskList\"\333\001\202\323\344\223\002\324\001\0220/api" - "/v1/tasks/{id.project}/{id.domain}/{id.n" - "ame}Z\?\022=/api/v1/tasks/org/{id.org}/{id.p" - "roject}/{id.domain}/{id.name}Z(\022&/api/v1" - "/tasks/{id.project}/{id.domain}Z5\0223/api/" - "v1/tasks/org/{id.org}/{id.project}/{id.d" - "omain}\022\242\001\n\016CreateWorkflow\022%.flyteidl.adm" - "in.WorkflowCreateRequest\032&.flyteidl.admi" - "n.WorkflowCreateResponse\"A\202\323\344\223\002;\"\021/api/v" - "1/workflows:\001*Z#\"\036/api/v1/workflows/org/" - "{id.org}:\001*\022\350\001\n\013GetWorkflow\022 .flyteidl.a" - "dmin.ObjectGetRequest\032\030.flyteidl.admin.W" - "orkflow\"\234\001\202\323\344\223\002\225\001\022A/api/v1/workflows/{id" - ".project}/{id.domain}/{id.name}/{id.vers" - "ion}ZP\022N/api/v1/workflows/org/{id.org}/{" - "id.project}/{id.domain}/{id.name}/{id.ve" - "rsion}\022\321\001\n\017ListWorkflowIds\0220.flyteidl.ad" - "min.NamedEntityIdentifierListRequest\032).f" - "lyteidl.admin.NamedEntityIdentifierList\"" - "a\202\323\344\223\002[\022\'/api/v1/workflow_ids/{project}/" - "{domain}Z0\022./api/v1/workflows/org/{org}/" - "{project}/{domain}\022\300\002\n\rListWorkflows\022#.f" - "lyteidl.admin.ResourceListRequest\032\034.flyt" - "eidl.admin.WorkflowList\"\353\001\202\323\344\223\002\344\001\0224/api/" - "v1/workflows/{id.project}/{id.domain}/{i" - "d.name}ZC\022A/api/v1/workflows/org/{id.org" - "}/{id.project}/{id.domain}/{id.name}Z,\022*" - "/api/v1/workflows/{id.project}/{id.domai" - "n}Z9\0227/api/v1/workflows/org/{id.org}/{id" - ".project}/{id.domain}\022\256\001\n\020CreateLaunchPl" - "an\022\'.flyteidl.admin.LaunchPlanCreateRequ" - "est\032(.flyteidl.admin.LaunchPlanCreateRes" - "ponse\"G\202\323\344\223\002A\"\024/api/v1/launch_plans:\001*Z&" - "\"!/api/v1/launch_plans/org/{id.org}:\001*\022\362" - "\001\n\rGetLaunchPlan\022 .flyteidl.admin.Object" - "GetRequest\032\032.flyteidl.admin.LaunchPlan\"\242" - "\001\202\323\344\223\002\233\001\022D/api/v1/launch_plans/{id.proje" - "ct}/{id.domain}/{id.name}/{id.version}ZS" - "\022Q/api/v1/launch_plans/org/{id.org}/{id." - "project}/{id.domain}/{id.name}/{id.versi" - "on}\022\363\001\n\023GetActiveLaunchPlan\022\'.flyteidl.a" - "dmin.ActiveLaunchPlanRequest\032\032.flyteidl." - "admin.LaunchPlan\"\226\001\202\323\344\223\002\217\001\022>/api/v1/acti" - "ve_launch_plans/{id.project}/{id.domain}" - "/{id.name}ZM\022K/api/v1/active_launch_plan" - "s/org/{id.org}/{id.project}/{id.domain}/" - "{id.name}\022\330\001\n\025ListActiveLaunchPlans\022+.fl" - "yteidl.admin.ActiveLaunchPlanListRequest" - "\032\036.flyteidl.admin.LaunchPlanList\"r\202\323\344\223\002l" - "\022./api/v1/active_launch_plans/{project}/" - "{domain}Z:\0228/api/v1/active_launch_plans/" - "org/{org}/{project}/{domain}\022\334\001\n\021ListLau" - "nchPlanIds\0220.flyteidl.admin.NamedEntityI" - "dentifierListRequest\032).flyteidl.admin.Na" - "medEntityIdentifierList\"j\202\323\344\223\002d\022*/api/v1" - "/launch_plan_ids/{project}/{domain}Z6\0224/" - "api/v1/launch_plan_ids/org/{org}/{projec" - "t}/{domain}\022\320\002\n\017ListLaunchPlans\022#.flytei" - "dl.admin.ResourceListRequest\032\036.flyteidl." - "admin.LaunchPlanList\"\367\001\202\323\344\223\002\360\001\0227/api/v1/" - "launch_plans/{id.project}/{id.domain}/{i" - "d.name}ZF\022D/api/v1/launch_plans/org/{id." - "org}/{id.project}/{id.domain}/{id.name}Z" - "/\022-/api/v1/launch_plans/{id.project}/{id" - ".domain}Z<\022:/api/v1/launch_plans/org/{id" - ".org}/{id.project}/{id.domain}\022\215\002\n\020Updat" - "eLaunchPlan\022\'.flyteidl.admin.LaunchPlanU" - "pdateRequest\032(.flyteidl.admin.LaunchPlan" - "UpdateResponse\"\245\001\202\323\344\223\002\236\001\032D/api/v1/launch" - "_plans/{id.project}/{id.domain}/{id.name" - "}/{id.version}:\001*ZS\032Q/api/v1/launch_plan" - "s/org/{id.org}/{id.project}/{id.domain}/" - "{id.name}/{id.version}\022\244\001\n\017CreateExecuti" - "on\022&.flyteidl.admin.ExecutionCreateReque" - "st\032\'.flyteidl.admin.ExecutionCreateRespo" - "nse\"@\202\323\344\223\002:\"\022/api/v1/executions:\001*Z!\032\034/a" - "pi/v1/executions/org/{org}:\001*\022\275\001\n\021Relaun" - "chExecution\022(.flyteidl.admin.ExecutionRe" - "launchRequest\032\'.flyteidl.admin.Execution" - "CreateResponse\"U\202\323\344\223\002O\"\033/api/v1/executio" - "ns/relaunch:\001*Z-\"(/api/v1/executions/org" - "/{id.org}/relaunch:\001*\022\271\001\n\020RecoverExecuti" - "on\022\'.flyteidl.admin.ExecutionRecoverRequ" - "est\032\'.flyteidl.admin.ExecutionCreateResp" - "onse\"S\202\323\344\223\002M\"\032/api/v1/executions/recover" - ":\001*Z,\"\'/api/v1/executions/org/{id.org}/r" - "ecover:\001*\022\334\001\n\014GetExecution\022+.flyteidl.ad" - "min.WorkflowExecutionGetRequest\032\031.flytei" - "dl.admin.Execution\"\203\001\202\323\344\223\002}\0225/api/v1/exe" - "cutions/{id.project}/{id.domain}/{id.nam" - "e}ZD\022B/api/v1/executions/org/{id.org}/{i" - "d.project}/{id.domain}/{id.name}\022\357\001\n\017Upd" - "ateExecution\022&.flyteidl.admin.ExecutionU" - "pdateRequest\032\'.flyteidl.admin.ExecutionU" - "pdateResponse\"\212\001\202\323\344\223\002\203\001\0325/api/v1/executi" - "ons/{id.project}/{id.domain}/{id.name}:\001" - "*ZG\032B/api/v1/executions/org/{id.org}/{id" - ".project}/{id.domain}/{id.name}:\001*\022\206\002\n\020G" - "etExecutionData\022/.flyteidl.admin.Workflo" - "wExecutionGetDataRequest\0320.flyteidl.admi" - "n.WorkflowExecutionGetDataResponse\"\216\001\202\323\344" - "\223\002\207\001\022:/api/v1/data/executions/{id.projec" - "t}/{id.domain}/{id.name}ZI\022G/api/v1/data" - "/org/{id.org}/executions/{id.project}/{i" - "d.domain}/{id.name}\022\305\001\n\016ListExecutions\022#" - ".flyteidl.admin.ResourceListRequest\032\035.fl" - "yteidl.admin.ExecutionList\"o\202\323\344\223\002i\022+/api" - "/v1/executions/{id.project}/{id.domain}Z" - ":\0228/api/v1/executions/org/{id.org}/{id.p" - "roject}/{id.domain}\022\370\001\n\022TerminateExecuti" - "on\022).flyteidl.admin.ExecutionTerminateRe" - "quest\032*.flyteidl.admin.ExecutionTerminat" - "eResponse\"\212\001\202\323\344\223\002\203\001*5/api/v1/executions/" - "{id.project}/{id.domain}/{id.name}:\001*ZG*" - "B/api/v1/executions/org/{id.org}/{id.pro" - "ject}/{id.domain}/{id.name}:\001*\022\342\002\n\020GetNo" - "deExecution\022\'.flyteidl.admin.NodeExecuti" - "onGetRequest\032\035.flyteidl.admin.NodeExecut" - "ion\"\205\002\202\323\344\223\002\376\001\022n/api/v1/node_executions/{" - "id.execution_id.project}/{id.execution_i" - "d.domain}/{id.execution_id.name}/{id.nod" - "e_id}Z\213\001\022\210\001/api/v1/node_executions/org/{" - "id.execution_id.org}/{id.execution_id.pr" - "oject}/{id.execution_id.domain}/{id.exec" - "ution_id.name}/{id.node_id}\022\236\003\n\026GetDynam" - "icNodeWorkflow\022-.flyteidl.admin.GetDynam" - "icNodeWorkflowRequest\032+.flyteidl.admin.D" - "ynamicNodeWorkflowResponse\"\247\002\202\323\344\223\002\240\002\022\177/a" - "pi/v1/node_executions/{id.execution_id.p" - "roject}/{id.execution_id.domain}/{id.exe" - "cution_id.name}/{id.node_id}/dynamic_wor" - "kflowZ\234\001\022\231\001/api/v1/node_executions/org/{" - "id.execution_id.org}/{id.execution_id.pr" - "oject}/{id.execution_id.domain}/{id.exec" - "ution_id.name}/{id.node_id}/dynamic_work" - "flow\022\371\002\n\022ListNodeExecutions\022(.flyteidl.a" - "dmin.NodeExecutionListRequest\032!.flyteidl" - ".admin.NodeExecutionList\"\225\002\202\323\344\223\002\216\002\022s/api" - "/v1/node_executions/{workflow_execution_" - "id.project}/{workflow_execution_id.domai" - "n}/{workflow_execution_id.name}Z\226\001\022\223\001/ap" - "i/v1/node_executions/org/{workflow_execu" - "tion_id.org}/{workflow_execution_id.proj" - "ect}/{workflow_execution_id.domain}/{wor" - "kflow_execution_id.name}\022\217\010\n\031ListNodeExe" - "cutionsForTask\022/.flyteidl.admin.NodeExec" - "utionForTaskListRequest\032!.flyteidl.admin" - ".NodeExecutionList\"\235\007\202\323\344\223\002\226\007\022\251\003/api/v1/c" - "hildren/task_executions/{task_execution_" - "id.node_execution_id.execution_id.projec" - "t}/{task_execution_id.node_execution_id." - "execution_id.domain}/{task_execution_id." - "node_execution_id.execution_id.name}/{ta" - "sk_execution_id.node_execution_id.node_i" - "d}/{task_execution_id.task_id.project}/{" - "task_execution_id.task_id.domain}/{task_" - "execution_id.task_id.name}/{task_executi" - "on_id.task_id.version}/{task_execution_i" - "d.retry_attempt}Z\347\003\022\344\003/api/v1/children/o" - "rg/{task_execution_id.node_execution_id." - "execution_id.org}/task_executions/{task_" - "execution_id.node_execution_id.execution" - "_id.project}/{task_execution_id.node_exe" - "cution_id.execution_id.domain}/{task_exe" - "cution_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.doma" - "in}/{task_execution_id.task_id.name}/{ta" - "sk_execution_id.task_id.version}/{task_e" - "xecution_id.retry_attempt}\022\203\003\n\024GetNodeEx" - "ecutionData\022+.flyteidl.admin.NodeExecuti" - "onGetDataRequest\032,.flyteidl.admin.NodeEx" - "ecutionGetDataResponse\"\217\002\202\323\344\223\002\210\002\022s/api/v" - "1/data/node_executions/{id.execution_id." - "project}/{id.execution_id.domain}/{id.ex" - "ecution_id.name}/{id.node_id}Z\220\001\022\215\001/api/" - "v1/data/org/{id.execution_id.org}/node_e" - "xecutions/{id.execution_id.project}/{id." - "execution_id.domain}/{id.execution_id.na" - "me}/{id.node_id}\022\250\001\n\017RegisterProject\022&.f" - "lyteidl.admin.ProjectRegisterRequest\032\'.f" - "lyteidl.admin.ProjectRegisterResponse\"D\202" - "\323\344\223\002>\"\020/api/v1/projects:\001*Z\'\"\"/api/v1/pr" - "ojects/org/{project.org}:\001*\022\227\001\n\rUpdatePr" - "oject\022\027.flyteidl.admin.Project\032%.flyteid" - "l.admin.ProjectUpdateResponse\"F\202\323\344\223\002@\032\025/" - "api/v1/projects/{id}:\001*Z$\032\037/api/v1/proje" - "cts/org/{org}/{id}:\001*\022\204\001\n\014ListProjects\022\"" - ".flyteidl.admin.ProjectListRequest\032\030.fly" - "teidl.admin.Projects\"6\202\323\344\223\0020\022\020/api/v1/pr" - "ojectsZ\034\022\032/api/v1/projects/org/{org}\022\325\001\n" - "\023CreateWorkflowEvent\022-.flyteidl.admin.Wo" - "rkflowExecutionEventRequest\032..flyteidl.a" - "dmin.WorkflowExecutionEventResponse\"_\202\323\344" - "\223\002Y\"\030/api/v1/events/workflows:\001*Z:\"5/api" - "/v1/events/org/{event.execution_id.org}/" - "workflows:\001*\022\304\001\n\017CreateNodeEvent\022).flyte" - "idl.admin.NodeExecutionEventRequest\032*.fl" - "yteidl.admin.NodeExecutionEventResponse\"" - "Z\202\323\344\223\002T\"\024/api/v1/events/nodes:\001*Z9\"4/api" - "/v1/events/org/{event.id.execution_id.or" - "g}/nodes:\001*\022\332\001\n\017CreateTaskEvent\022).flytei" - "dl.admin.TaskExecutionEventRequest\032*.fly" - "teidl.admin.TaskExecutionEventResponse\"p" - "\202\323\344\223\002j\"\024/api/v1/events/tasks:\001*ZO\"J/api/" - "v1/events/org/{event.parent_node_executi" - "on_id.execution_id.org}/tasks:\001*\022\313\005\n\020Get" - "TaskExecution\022\'.flyteidl.admin.TaskExecu" - "tionGetRequest\032\035.flyteidl.admin.TaskExec" - "ution\"\356\004\202\323\344\223\002\347\004\022\231\002/api/v1/task_execution" - "s/{id.node_execution_id.execution_id.pro" - "ject}/{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}Z\310\002\022\305\002/api/v1/task_ex" - "ecutions/org/{id.node_execution_id.execu" - "tion_id.org}/{id.node_execution_id.execu" - "tion_id.project}/{id.node_execution_id.e" - "xecution_id.domain}/{id.node_execution_i" - "d.execution_id.name}/{id.node_execution_" - "id.node_id}/{id.task_id.project}/{id.tas" - "k_id.domain}/{id.task_id.name}/{id.task_" - "id.version}/{id.retry_attempt}\022\361\003\n\022ListT" - "askExecutions\022(.flyteidl.admin.TaskExecu" - "tionListRequest\032!.flyteidl.admin.TaskExe" - "cutionList\"\215\003\202\323\344\223\002\206\003\022\252\001/api/v1/task_exec" - "utions/{node_execution_id.execution_id.p" - "roject}/{node_execution_id.execution_id." - "domain}/{node_execution_id.execution_id." - "name}/{node_execution_id.node_id}Z\326\001\022\323\001/" - "api/v1/task_executions/org/{node_executi" - "on_id.execution_id.org}/{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\354\005\n\024GetTaskExecutionData\022+.fl" - "yteidl.admin.TaskExecutionGetDataRequest" - "\032,.flyteidl.admin.TaskExecutionGetDataRe" - "sponse\"\370\004\202\323\344\223\002\361\004\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}Z\315\002\022\312\002/api/v1/d" - "ata/org/{id.node_execution_id.execution_" - "id.org}/task_executions/{id.node_executi" - "on_id.execution_id.project}/{id.node_exe" - "cution_id.execution_id.domain}/{id.node_" - "execution_id.execution_id.name}/{id.node" - "_execution_id.node_id}/{id.task_id.proje" - "ct}/{id.task_id.domain}/{id.task_id.name" - "}/{id.task_id.version}/{id.retry_attempt" - "}\022\313\002\n\035UpdateProjectDomainAttributes\0224.fl" - "yteidl.admin.ProjectDomainAttributesUpda" - "teRequest\0325.flyteidl.admin.ProjectDomain" - "AttributesUpdateResponse\"\274\001\202\323\344\223\002\265\001\032J/api" - "/v1/project_domain_attributes/{attribute" - "s.project}/{attributes.domain}:\001*Zd\032_/ap" - "i/v1/project_domain_attributes/org/{attr" - "ibutes.org}/{attributes.project}/{attrib" - "utes.domain}:\001*\022\203\002\n\032GetProjectDomainAttr" - "ibutes\0221.flyteidl.admin.ProjectDomainAtt" - "ributesGetRequest\0322.flyteidl.admin.Proje" - "ctDomainAttributesGetResponse\"~\202\323\344\223\002x\0224/" - "api/v1/project_domain_attributes/{projec" - "t}/{domain}Z@\022>/api/v1/project_domain_at" - "tributes/org/{org}/{project}/{domain}\022\223\002" - "\n\035DeleteProjectDomainAttributes\0224.flytei" - "dl.admin.ProjectDomainAttributesDeleteRe" - "quest\0325.flyteidl.admin.ProjectDomainAttr" - "ibutesDeleteResponse\"\204\001\202\323\344\223\002~*4/api/v1/p" - "roject_domain_attributes/{project}/{doma" - "in}:\001*ZC*>/api/v1/project_domain_attribu" - "tes/org/{org}/{project}/{domain}:\001*\022\212\002\n\027" - "UpdateProjectAttributes\022..flyteidl.admin" - ".ProjectAttributesUpdateRequest\032/.flytei" - "dl.admin.ProjectAttributesUpdateResponse" - "\"\215\001\202\323\344\223\002\206\001\032//api/v1/project_attributes/{" - "attributes.project}:\001*ZP\032K/api/v1/projec" - "t_domain_attributes/org/{attributes.org}" - "/{attributes.project}:\001*\022\330\001\n\024GetProjectA" - "ttributes\022+.flyteidl.admin.ProjectAttrib" - "utesGetRequest\032,.flyteidl.admin.ProjectA" - "ttributesGetResponse\"e\202\323\344\223\002_\022$/api/v1/pr" - "oject_attributes/{project}Z7\0225/api/v1/pr" - "oject_domain_attributes/org/{org}/{proje" - "ct}\022\347\001\n\027DeleteProjectAttributes\022..flytei" - "dl.admin.ProjectAttributesDeleteRequest\032" - "/.flyteidl.admin.ProjectAttributesDelete" - "Response\"k\202\323\344\223\002e*$/api/v1/project_attrib" - "utes/{project}:\001*Z:*5/api/v1/project_dom" - "ain_attributes/org/{org}/{project}:\001*\022\334\002" - "\n\030UpdateWorkflowAttributes\022/.flyteidl.ad" - "min.WorkflowAttributesUpdateRequest\0320.fl" - "yteidl.admin.WorkflowAttributesUpdateRes" - "ponse\"\334\001\202\323\344\223\002\325\001\032Z/api/v1/workflow_attrib" - "utes/{attributes.project}/{attributes.do" - "main}/{attributes.workflow}:\001*Zt\032o/api/v" - "1/workflow_attributes/org/{attributes.or" - "g}/{attributes.project}/{attributes.doma" - "in}/{attributes.workflow}:\001*\022\200\002\n\025GetWork" - "flowAttributes\022,.flyteidl.admin.Workflow" - "AttributesGetRequest\032-.flyteidl.admin.Wo" - "rkflowAttributesGetResponse\"\211\001\202\323\344\223\002\202\001\0229/" - "api/v1/workflow_attributes/{project}/{do" - "main}/{workflow}ZE\022C/api/v1/workflow_att" - "ributes/org/{org}/{project}/{domain}/{wo" - "rkflow}\022\217\002\n\030DeleteWorkflowAttributes\022/.f" - "lyteidl.admin.WorkflowAttributesDeleteRe" - "quest\0320.flyteidl.admin.WorkflowAttribute" - "sDeleteResponse\"\217\001\202\323\344\223\002\210\001*9/api/v1/workf" - "low_attributes/{project}/{domain}/{workf" - "low}:\001*ZH*C/api/v1/workflow_attributes/o" - "rg/{org}/{project}/{domain}/{workflow}:\001" - "*\022\312\001\n\027ListMatchableAttributes\022..flyteidl" - ".admin.ListMatchableAttributesRequest\032/." - "flyteidl.admin.ListMatchableAttributesRe" - "sponse\"N\202\323\344\223\002H\022\034/api/v1/matchable_attrib" - "utesZ(\022&/api/v1/matchable_attributes/org" - "/{org}\022\350\001\n\021ListNamedEntities\022&.flyteidl." - "admin.NamedEntityListRequest\032\037.flyteidl." - "admin.NamedEntityList\"\211\001\202\323\344\223\002\202\001\0229/api/v1" - "/named_entities/{resource_type}/{project" - "}/{domain}ZE\022C/api/v1/named_entities/org" - "/{org}/{resource_type}/{project}/{domain" - "}\022\203\002\n\016GetNamedEntity\022%.flyteidl.admin.Na" - "medEntityGetRequest\032\033.flyteidl.admin.Nam" - "edEntity\"\254\001\202\323\344\223\002\245\001\022I/api/v1/named_entiti" - "es/{resource_type}/{id.project}/{id.doma" - "in}/{id.name}ZX\022V/api/v1/named_entities/" - "org/{id.org}/{resource_type}/{id.project" - "}/{id.domain}/{id.name}\022\235\002\n\021UpdateNamedE" - "ntity\022(.flyteidl.admin.NamedEntityUpdate" - "Request\032).flyteidl.admin.NamedEntityUpda" - "teResponse\"\262\001\202\323\344\223\002\253\001\032I/api/v1/named_enti" - "ties/{resource_type}/{id.project}/{id.do" - "main}/{id.name}:\001*Z[\032V/api/v1/named_enti" - "ties/org/{id.org}/{resource_type}/{id.pr" - "oject}/{id.domain}/{id.name}:\001*\022l\n\nGetVe" - "rsion\022!.flyteidl.admin.GetVersionRequest" - "\032\".flyteidl.admin.GetVersionResponse\"\027\202\323" - "\344\223\002\021\022\017/api/v1/version\022\266\002\n\024GetDescription" - "Entity\022 .flyteidl.admin.ObjectGetRequest" - "\032!.flyteidl.admin.DescriptionEntity\"\330\001\202\323" - "\344\223\002\321\001\022_/api/v1/description_entities/{id." - "resource_type}/{id.project}/{id.domain}/" - "{id.name}/{id.version}Zn\022l/api/v1/descri" - "ption_entities/org/{id.org}/{id.resource" - "_type}/{id.project}/{id.domain}/{id.name" - "}/{id.version}\022\310\003\n\027ListDescriptionEntiti" - "es\022,.flyteidl.admin.DescriptionEntityLis" - "tRequest\032%.flyteidl.admin.DescriptionEnt" - "ityList\"\327\002\202\323\344\223\002\320\002\022O/api/v1/description_e" - "ntities/{resource_type}/{id.project}/{id" - ".domain}/{id.name}Z^\022\\/api/v1/descriptio" - "n_entities/org/{id.org}/{resource_type}/" - "{id.project}/{id.domain}/{id.name}ZG\022E/a" - "pi/v1/description_entities/{resource_typ" - "e}/{id.project}/{id.domain}ZT\022R/api/v1/d" - "escription_entities/org/{id.org}/{resour" - "ce_type}/{id.project}/{id.domain}\022\225\002\n\023Ge" - "tExecutionMetrics\0222.flyteidl.admin.Workf" - "lowExecutionGetMetricsRequest\0323.flyteidl" - ".admin.WorkflowExecutionGetMetricsRespon" - "se\"\224\001\202\323\344\223\002\215\001\022=/api/v1/metrics/executions" - "/{id.project}/{id.domain}/{id.name}ZL\022J/" - "api/v1/metrics/executions/org/{id.org}/{" - "id.project}/{id.domain}/{id.name}B\?Z=git" - "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" - "o/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, 16226, -}; - -void AddDescriptors_flyteidl_2fservice_2fadmin_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[16] = - { - ::AddDescriptors_google_2fapi_2fannotations_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fproject_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2ftask_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fworkflow_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fevent_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fversion_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fadmin_2eproto, deps, 16); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fservice_2fadmin_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fadmin_2eproto(); return true; }(); -namespace flyteidl { -namespace service { - -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.h deleted file mode 100644 index ca8c835a94..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.h +++ /dev/null @@ -1,96 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/admin.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fadmin_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fadmin_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 // IWYU pragma: export -#include // IWYU pragma: export -#include "google/api/annotations.pb.h" -#include "flyteidl/admin/project.pb.h" -#include "flyteidl/admin/project_domain_attributes.pb.h" -#include "flyteidl/admin/project_attributes.pb.h" -#include "flyteidl/admin/task.pb.h" -#include "flyteidl/admin/workflow.pb.h" -#include "flyteidl/admin/workflow_attributes.pb.h" -#include "flyteidl/admin/launch_plan.pb.h" -#include "flyteidl/admin/event.pb.h" -#include "flyteidl/admin/execution.pb.h" -#include "flyteidl/admin/matchable_resource.pb.h" -#include "flyteidl/admin/node_execution.pb.h" -#include "flyteidl/admin/task_execution.pb.h" -#include "flyteidl/admin/version.pb.h" -#include "flyteidl/admin/common.pb.h" -#include "flyteidl/admin/description_entity.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fadmin_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fservice_2fadmin_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[1] - 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_2fadmin_2eproto(); -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace service { - -// =================================================================== - - -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#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_2fadmin_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/agent.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/agent.grpc.pb.cc deleted file mode 100644 index a167711437..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/agent.grpc.pb.cc +++ /dev/null @@ -1,356 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/agent.proto - -#include "flyteidl/service/agent.pb.h" -#include "flyteidl/service/agent.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace service { - -static const char* AsyncAgentService_method_names[] = { - "/flyteidl.service.AsyncAgentService/CreateTask", - "/flyteidl.service.AsyncAgentService/GetTask", - "/flyteidl.service.AsyncAgentService/DeleteTask", - "/flyteidl.service.AsyncAgentService/GetTaskMetrics", - "/flyteidl.service.AsyncAgentService/GetTaskLogs", -}; - -std::unique_ptr< AsyncAgentService::Stub> AsyncAgentService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< AsyncAgentService::Stub> stub(new AsyncAgentService::Stub(channel)); - return stub; -} - -AsyncAgentService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_CreateTask_(AsyncAgentService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetTask_(AsyncAgentService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteTask_(AsyncAgentService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetTaskMetrics_(AsyncAgentService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetTaskLogs_(AsyncAgentService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status AsyncAgentService::Stub::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::flyteidl::admin::CreateTaskResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateTask_, context, request, response); -} - -void AsyncAgentService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::CreateTaskResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); -} - -void AsyncAgentService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::CreateTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::CreateTaskResponse>* AsyncAgentService::Stub::AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::CreateTaskResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::CreateTaskResponse>* AsyncAgentService::Stub::PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::CreateTaskResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, false); -} - -::grpc::Status AsyncAgentService::Stub::GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::flyteidl::admin::GetTaskResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTask_, context, request, response); -} - -void AsyncAgentService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); -} - -void AsyncAgentService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>* AsyncAgentService::Stub::AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetTaskResponse>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>* AsyncAgentService::Stub::PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetTaskResponse>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, false); -} - -::grpc::Status AsyncAgentService::Stub::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::flyteidl::admin::DeleteTaskResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteTask_, context, request, response); -} - -void AsyncAgentService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DeleteTaskResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, reactor); -} - -void AsyncAgentService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DeleteTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>* AsyncAgentService::Stub::AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DeleteTaskResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>* AsyncAgentService::Stub::PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DeleteTaskResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTask_, context, request, false); -} - -::grpc::Status AsyncAgentService::Stub::GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::flyteidl::admin::GetTaskMetricsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTaskMetrics_, context, request, response); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskMetrics_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskMetricsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskMetrics_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskMetrics_, context, request, response, reactor); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskMetrics_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>* AsyncAgentService::Stub::AsyncGetTaskMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetTaskMetricsResponse>::Create(channel_.get(), cq, rpcmethod_GetTaskMetrics_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>* AsyncAgentService::Stub::PrepareAsyncGetTaskMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetTaskMetricsResponse>::Create(channel_.get(), cq, rpcmethod_GetTaskMetrics_, context, request, false); -} - -::grpc::Status AsyncAgentService::Stub::GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::flyteidl::admin::GetTaskLogsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTaskLogs_, context, request, response); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskLogs_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskLogs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskLogsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTaskLogs_, context, request, response, std::move(f)); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskLogs_, context, request, response, reactor); -} - -void AsyncAgentService::Stub::experimental_async::GetTaskLogs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskLogsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTaskLogs_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>* AsyncAgentService::Stub::AsyncGetTaskLogsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetTaskLogsResponse>::Create(channel_.get(), cq, rpcmethod_GetTaskLogs_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>* AsyncAgentService::Stub::PrepareAsyncGetTaskLogsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetTaskLogsResponse>::Create(channel_.get(), cq, rpcmethod_GetTaskLogs_, context, request, false); -} - -AsyncAgentService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - AsyncAgentService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AsyncAgentService::Service, ::flyteidl::admin::CreateTaskRequest, ::flyteidl::admin::CreateTaskResponse>( - std::mem_fn(&AsyncAgentService::Service::CreateTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AsyncAgentService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AsyncAgentService::Service, ::flyteidl::admin::GetTaskRequest, ::flyteidl::admin::GetTaskResponse>( - std::mem_fn(&AsyncAgentService::Service::GetTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AsyncAgentService_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AsyncAgentService::Service, ::flyteidl::admin::DeleteTaskRequest, ::flyteidl::admin::DeleteTaskResponse>( - std::mem_fn(&AsyncAgentService::Service::DeleteTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AsyncAgentService_method_names[3], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AsyncAgentService::Service, ::flyteidl::admin::GetTaskMetricsRequest, ::flyteidl::admin::GetTaskMetricsResponse>( - std::mem_fn(&AsyncAgentService::Service::GetTaskMetrics), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AsyncAgentService_method_names[4], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AsyncAgentService::Service, ::flyteidl::admin::GetTaskLogsRequest, ::flyteidl::admin::GetTaskLogsResponse>( - std::mem_fn(&AsyncAgentService::Service::GetTaskLogs), this))); -} - -AsyncAgentService::Service::~Service() { -} - -::grpc::Status AsyncAgentService::Service::CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AsyncAgentService::Service::GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AsyncAgentService::Service::DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AsyncAgentService::Service::GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AsyncAgentService::Service::GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -static const char* AgentMetadataService_method_names[] = { - "/flyteidl.service.AgentMetadataService/GetAgent", - "/flyteidl.service.AgentMetadataService/ListAgents", -}; - -std::unique_ptr< AgentMetadataService::Stub> AgentMetadataService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< AgentMetadataService::Stub> stub(new AgentMetadataService::Stub(channel)); - return stub; -} - -AgentMetadataService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_GetAgent_(AgentMetadataService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListAgents_(AgentMetadataService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status AgentMetadataService::Stub::GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::flyteidl::admin::GetAgentResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetAgent_, context, request, response); -} - -void AgentMetadataService::Stub::experimental_async::GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetAgent_, context, request, response, std::move(f)); -} - -void AgentMetadataService::Stub::experimental_async::GetAgent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetAgentResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetAgent_, context, request, response, std::move(f)); -} - -void AgentMetadataService::Stub::experimental_async::GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetAgent_, context, request, response, reactor); -} - -void AgentMetadataService::Stub::experimental_async::GetAgent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetAgentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetAgent_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetAgentResponse>* AgentMetadataService::Stub::AsyncGetAgentRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetAgentResponse>::Create(channel_.get(), cq, rpcmethod_GetAgent_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetAgentResponse>* AgentMetadataService::Stub::PrepareAsyncGetAgentRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::GetAgentResponse>::Create(channel_.get(), cq, rpcmethod_GetAgent_, context, request, false); -} - -::grpc::Status AgentMetadataService::Stub::ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::flyteidl::admin::ListAgentsResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListAgents_, context, request, response); -} - -void AgentMetadataService::Stub::experimental_async::ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListAgents_, context, request, response, std::move(f)); -} - -void AgentMetadataService::Stub::experimental_async::ListAgents(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListAgentsResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListAgents_, context, request, response, std::move(f)); -} - -void AgentMetadataService::Stub::experimental_async::ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListAgents_, context, request, response, reactor); -} - -void AgentMetadataService::Stub::experimental_async::ListAgents(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListAgentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListAgents_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>* AgentMetadataService::Stub::AsyncListAgentsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ListAgentsResponse>::Create(channel_.get(), cq, rpcmethod_ListAgents_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>* AgentMetadataService::Stub::PrepareAsyncListAgentsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ListAgentsResponse>::Create(channel_.get(), cq, rpcmethod_ListAgents_, context, request, false); -} - -AgentMetadataService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - AgentMetadataService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AgentMetadataService::Service, ::flyteidl::admin::GetAgentRequest, ::flyteidl::admin::GetAgentResponse>( - std::mem_fn(&AgentMetadataService::Service::GetAgent), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AgentMetadataService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AgentMetadataService::Service, ::flyteidl::admin::ListAgentsRequest, ::flyteidl::admin::ListAgentsResponse>( - std::mem_fn(&AgentMetadataService::Service::ListAgents), this))); -} - -AgentMetadataService::Service::~Service() { -} - -::grpc::Status AgentMetadataService::Service::GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AgentMetadataService::Service::ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace flyteidl -} // namespace service - diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/agent.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/agent.grpc.pb.h deleted file mode 100644 index e1ab9cd6e5..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/agent.grpc.pb.h +++ /dev/null @@ -1,1304 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/agent.proto -#ifndef GRPC_flyteidl_2fservice_2fagent_2eproto__INCLUDED -#define GRPC_flyteidl_2fservice_2fagent_2eproto__INCLUDED - -#include "flyteidl/service/agent.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 { - -// AsyncAgentService defines an RPC Service that allows propeller to send the request to the agent server. -class AsyncAgentService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.AsyncAgentService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Send a task create request to the agent server. - virtual ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::flyteidl::admin::CreateTaskResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::CreateTaskResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::CreateTaskResponse>>(AsyncCreateTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::CreateTaskResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::CreateTaskResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); - } - // Get job status. - virtual ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::flyteidl::admin::GetTaskResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskResponse>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskResponse>>(AsyncGetTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskResponse>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskResponse>>(PrepareAsyncGetTaskRaw(context, request, cq)); - } - // Delete the task resource. - virtual ::grpc::Status DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::flyteidl::admin::DeleteTaskResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DeleteTaskResponse>> AsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DeleteTaskResponse>>(AsyncDeleteTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DeleteTaskResponse>> PrepareAsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DeleteTaskResponse>>(PrepareAsyncDeleteTaskRaw(context, request, cq)); - } - // GetTaskMetrics returns one or more task execution metrics, if available. - // - // Errors include - // * OutOfRange if metrics are not available for the specified task time range - // * various other errors - virtual ::grpc::Status GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::flyteidl::admin::GetTaskMetricsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskMetricsResponse>> AsyncGetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskMetricsResponse>>(AsyncGetTaskMetricsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskMetricsResponse>> PrepareAsyncGetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskMetricsResponse>>(PrepareAsyncGetTaskMetricsRaw(context, request, cq)); - } - // GetTaskLogs returns task execution logs, if available. - virtual ::grpc::Status GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::flyteidl::admin::GetTaskLogsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskLogsResponse>> AsyncGetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskLogsResponse>>(AsyncGetTaskLogsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskLogsResponse>> PrepareAsyncGetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskLogsResponse>>(PrepareAsyncGetTaskLogsRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Send a task create request to the agent server. - virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response, std::function) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::CreateTaskResponse* response, std::function) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::CreateTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Get job status. - virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response, std::function) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskResponse* response, std::function) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Delete the task resource. - virtual void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response, std::function) = 0; - virtual void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DeleteTaskResponse* response, std::function) = 0; - virtual void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DeleteTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // GetTaskMetrics returns one or more task execution metrics, if available. - // - // Errors include - // * OutOfRange if metrics are not available for the specified task time range - // * various other errors - virtual void GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response, std::function) = 0; - virtual void GetTaskMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskMetricsResponse* response, std::function) = 0; - virtual void GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetTaskMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // GetTaskLogs returns task execution logs, if available. - virtual void GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response, std::function) = 0; - virtual void GetTaskLogs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskLogsResponse* response, std::function) = 0; - virtual void GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetTaskLogs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskLogsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::CreateTaskResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::CreateTaskResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskResponse>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskResponse>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DeleteTaskResponse>* AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DeleteTaskResponse>* PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskMetricsResponse>* AsyncGetTaskMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskMetricsResponse>* PrepareAsyncGetTaskMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskLogsResponse>* AsyncGetTaskLogsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetTaskLogsResponse>* PrepareAsyncGetTaskLogsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::flyteidl::admin::CreateTaskResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::CreateTaskResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::CreateTaskResponse>>(AsyncCreateTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::CreateTaskResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::CreateTaskResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); - } - ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::flyteidl::admin::GetTaskResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>>(AsyncGetTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>>(PrepareAsyncGetTaskRaw(context, request, cq)); - } - ::grpc::Status DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::flyteidl::admin::DeleteTaskResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>> AsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>>(AsyncDeleteTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>> PrepareAsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>>(PrepareAsyncDeleteTaskRaw(context, request, cq)); - } - ::grpc::Status GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::flyteidl::admin::GetTaskMetricsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>> AsyncGetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>>(AsyncGetTaskMetricsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>> PrepareAsyncGetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>>(PrepareAsyncGetTaskMetricsRaw(context, request, cq)); - } - ::grpc::Status GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::flyteidl::admin::GetTaskLogsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>> AsyncGetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>>(AsyncGetTaskLogsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>> PrepareAsyncGetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>>(PrepareAsyncGetTaskLogsRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response, std::function) override; - void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::CreateTaskResponse* response, std::function) override; - void CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::CreateTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response, std::function) override; - void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskResponse* response, std::function) override; - void GetTask(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response, std::function) override; - void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DeleteTaskResponse* response, std::function) override; - void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DeleteTaskResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response, std::function) override; - void GetTaskMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskMetricsResponse* response, std::function) override; - void GetTaskMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response, std::function) override; - void GetTaskLogs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskLogsResponse* response, std::function) override; - void GetTaskLogs(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTaskLogs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetTaskLogsResponse* 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::admin::CreateTaskResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::CreateTaskResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::CreateTaskRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskResponse>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>* AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DeleteTaskResponse>* PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DeleteTaskRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>* AsyncGetTaskMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskMetricsResponse>* PrepareAsyncGetTaskMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskMetricsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>* AsyncGetTaskLogsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetTaskLogsResponse>* PrepareAsyncGetTaskLogsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetTaskLogsRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_CreateTask_; - const ::grpc::internal::RpcMethod rpcmethod_GetTask_; - const ::grpc::internal::RpcMethod rpcmethod_DeleteTask_; - const ::grpc::internal::RpcMethod rpcmethod_GetTaskMetrics_; - const ::grpc::internal::RpcMethod rpcmethod_GetTaskLogs_; - }; - 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(); - // Send a task create request to the agent server. - virtual ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response); - // Get job status. - virtual ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response); - // Delete the task resource. - virtual ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response); - // GetTaskMetrics returns one or more task execution metrics, if available. - // - // Errors include - // * OutOfRange if metrics are not available for the specified task time range - // * various other errors - virtual ::grpc::Status GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response); - // GetTaskLogs returns task execution logs, if available. - virtual ::grpc::Status GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response); - }; - template - class WithAsyncMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateTask() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTask(::grpc::ServerContext* context, ::flyteidl::admin::CreateTaskRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::CreateTaskResponse>* 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_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetTask() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTask(::grpc::ServerContext* context, ::flyteidl::admin::GetTaskRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::GetTaskResponse>* 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 WithAsyncMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_DeleteTask() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteTask(::grpc::ServerContext* context, ::flyteidl::admin::DeleteTaskRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::DeleteTaskResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetTaskMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetTaskMetrics() { - ::grpc::Service::MarkMethodAsync(3); - } - ~WithAsyncMethod_GetTaskMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskMetrics(::grpc::ServerContext* context, ::flyteidl::admin::GetTaskMetricsRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::GetTaskMetricsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetTaskLogs : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetTaskLogs() { - ::grpc::Service::MarkMethodAsync(4); - } - ~WithAsyncMethod_GetTaskLogs() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskLogs(::grpc::ServerContext* context, ::flyteidl::admin::GetTaskLogsRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::GetTaskLogsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_CreateTask > > > > AsyncService; - template - class ExperimentalWithCallbackMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateTask() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::CreateTaskRequest, ::flyteidl::admin::CreateTaskResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::CreateTaskRequest* request, - ::flyteidl::admin::CreateTaskResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::CreateTaskRequest, ::flyteidl::admin::CreateTaskResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::CreateTaskRequest, ::flyteidl::admin::CreateTaskResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetTask() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetTaskRequest, ::flyteidl::admin::GetTaskResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::GetTaskRequest* request, - ::flyteidl::admin::GetTaskResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::GetTaskRequest, ::flyteidl::admin::GetTaskResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetTaskRequest, ::flyteidl::admin::GetTaskResponse>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_DeleteTask() { - ::grpc::Service::experimental().MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::DeleteTaskRequest, ::flyteidl::admin::DeleteTaskResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::DeleteTaskRequest* request, - ::flyteidl::admin::DeleteTaskResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->DeleteTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_DeleteTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::DeleteTaskRequest, ::flyteidl::admin::DeleteTaskResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::DeleteTaskRequest, ::flyteidl::admin::DeleteTaskResponse>*>( - ::grpc::Service::experimental().GetHandler(2)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetTaskMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetTaskMetrics() { - ::grpc::Service::experimental().MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetTaskMetricsRequest, ::flyteidl::admin::GetTaskMetricsResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::GetTaskMetricsRequest* request, - ::flyteidl::admin::GetTaskMetricsResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetTaskMetrics(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetTaskMetrics( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::GetTaskMetricsRequest, ::flyteidl::admin::GetTaskMetricsResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetTaskMetricsRequest, ::flyteidl::admin::GetTaskMetricsResponse>*>( - ::grpc::Service::experimental().GetHandler(3)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetTaskMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetTaskLogs : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetTaskLogs() { - ::grpc::Service::experimental().MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetTaskLogsRequest, ::flyteidl::admin::GetTaskLogsResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::GetTaskLogsRequest* request, - ::flyteidl::admin::GetTaskLogsResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetTaskLogs(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetTaskLogs( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::GetTaskLogsRequest, ::flyteidl::admin::GetTaskLogsResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetTaskLogsRequest, ::flyteidl::admin::GetTaskLogsResponse>*>( - ::grpc::Service::experimental().GetHandler(4)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetTaskLogs() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_CreateTask > > > > ExperimentalCallbackService; - template - class WithGenericMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateTask() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetTask() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_DeleteTask() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetTaskMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetTaskMetrics() { - ::grpc::Service::MarkMethodGeneric(3); - } - ~WithGenericMethod_GetTaskMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetTaskLogs : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetTaskLogs() { - ::grpc::Service::MarkMethodGeneric(4); - } - ~WithGenericMethod_GetTaskLogs() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateTask() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTask(::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_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetTask() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTask(::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 WithRawMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_DeleteTask() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteTask(::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(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetTaskMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetTaskMetrics() { - ::grpc::Service::MarkMethodRaw(3); - } - ~WithRawMethod_GetTaskMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskMetrics(::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(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetTaskLogs : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetTaskLogs() { - ::grpc::Service::MarkMethodRaw(4); - } - ~WithRawMethod_GetTaskLogs() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTaskLogs(::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(4, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class ExperimentalWithRawCallbackMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateTask() { - ::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->CreateTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetTask() { - ::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->GetTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_DeleteTask() { - ::grpc::Service::experimental().MarkMethodRawCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->DeleteTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetTaskMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetTaskMetrics() { - ::grpc::Service::experimental().MarkMethodRawCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetTaskMetrics(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetTaskMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskMetrics(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetTaskLogs : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetTaskLogs() { - ::grpc::Service::experimental().MarkMethodRawCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetTaskLogs(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetTaskLogs() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTaskLogs(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateTask() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::CreateTaskRequest, ::flyteidl::admin::CreateTaskResponse>(std::bind(&WithStreamedUnaryMethod_CreateTask::StreamedCreateTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::admin::CreateTaskRequest* request, ::flyteidl::admin::CreateTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::CreateTaskRequest,::flyteidl::admin::CreateTaskResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetTask() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::GetTaskRequest, ::flyteidl::admin::GetTaskResponse>(std::bind(&WithStreamedUnaryMethod_GetTask::StreamedGetTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskRequest* request, ::flyteidl::admin::GetTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::GetTaskRequest,::flyteidl::admin::GetTaskResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_DeleteTask() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::DeleteTaskRequest, ::flyteidl::admin::DeleteTaskResponse>(std::bind(&WithStreamedUnaryMethod_DeleteTask::StreamedDeleteTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::admin::DeleteTaskRequest* request, ::flyteidl::admin::DeleteTaskResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedDeleteTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::DeleteTaskRequest,::flyteidl::admin::DeleteTaskResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetTaskMetrics : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetTaskMetrics() { - ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::GetTaskMetricsRequest, ::flyteidl::admin::GetTaskMetricsResponse>(std::bind(&WithStreamedUnaryMethod_GetTaskMetrics::StreamedGetTaskMetrics, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetTaskMetrics() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetTaskMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskMetricsRequest* request, ::flyteidl::admin::GetTaskMetricsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetTaskMetrics(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::GetTaskMetricsRequest,::flyteidl::admin::GetTaskMetricsResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetTaskLogs : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetTaskLogs() { - ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::GetTaskLogsRequest, ::flyteidl::admin::GetTaskLogsResponse>(std::bind(&WithStreamedUnaryMethod_GetTaskLogs::StreamedGetTaskLogs, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetTaskLogs() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetTaskLogs(::grpc::ServerContext* context, const ::flyteidl::admin::GetTaskLogsRequest* request, ::flyteidl::admin::GetTaskLogsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetTaskLogs(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::GetTaskLogsRequest,::flyteidl::admin::GetTaskLogsResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_CreateTask > > > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateTask > > > > StreamedService; -}; - -// AgentMetadataService defines an RPC service that is also served over HTTP via grpc-gateway. -// This service allows propeller or users to get the metadata of agents. -class AgentMetadataService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.AgentMetadataService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Fetch a :ref:`ref_flyteidl.admin.Agent` definition. - virtual ::grpc::Status GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::flyteidl::admin::GetAgentResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetAgentResponse>> AsyncGetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetAgentResponse>>(AsyncGetAgentRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetAgentResponse>> PrepareAsyncGetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetAgentResponse>>(PrepareAsyncGetAgentRaw(context, request, cq)); - } - // Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. - virtual ::grpc::Status ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::flyteidl::admin::ListAgentsResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListAgentsResponse>> AsyncListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListAgentsResponse>>(AsyncListAgentsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListAgentsResponse>> PrepareAsyncListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListAgentsResponse>>(PrepareAsyncListAgentsRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Fetch a :ref:`ref_flyteidl.admin.Agent` definition. - virtual void GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response, std::function) = 0; - virtual void GetAgent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetAgentResponse* response, std::function) = 0; - virtual void GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetAgent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetAgentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. - virtual void ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response, std::function) = 0; - virtual void ListAgents(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListAgentsResponse* response, std::function) = 0; - virtual void ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListAgents(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListAgentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetAgentResponse>* AsyncGetAgentRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::GetAgentResponse>* PrepareAsyncGetAgentRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListAgentsResponse>* AsyncListAgentsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ListAgentsResponse>* PrepareAsyncListAgentsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::flyteidl::admin::GetAgentResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetAgentResponse>> AsyncGetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetAgentResponse>>(AsyncGetAgentRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetAgentResponse>> PrepareAsyncGetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetAgentResponse>>(PrepareAsyncGetAgentRaw(context, request, cq)); - } - ::grpc::Status ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::flyteidl::admin::ListAgentsResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>> AsyncListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>>(AsyncListAgentsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>> PrepareAsyncListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>>(PrepareAsyncListAgentsRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response, std::function) override; - void GetAgent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetAgentResponse* response, std::function) override; - void GetAgent(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetAgent(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::GetAgentResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response, std::function) override; - void ListAgents(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListAgentsResponse* response, std::function) override; - void ListAgents(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListAgents(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ListAgentsResponse* 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::admin::GetAgentResponse>* AsyncGetAgentRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::GetAgentResponse>* PrepareAsyncGetAgentRaw(::grpc::ClientContext* context, const ::flyteidl::admin::GetAgentRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>* AsyncListAgentsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ListAgentsResponse>* PrepareAsyncListAgentsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ListAgentsRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_GetAgent_; - const ::grpc::internal::RpcMethod rpcmethod_ListAgents_; - }; - 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(); - // Fetch a :ref:`ref_flyteidl.admin.Agent` definition. - virtual ::grpc::Status GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response); - // Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. - virtual ::grpc::Status ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response); - }; - template - class WithAsyncMethod_GetAgent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetAgent() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_GetAgent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetAgent(::grpc::ServerContext* context, ::flyteidl::admin::GetAgentRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::GetAgentResponse>* 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_ListAgents : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListAgents() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_ListAgents() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListAgents(::grpc::ServerContext* context, ::flyteidl::admin::ListAgentsRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ListAgentsResponse>* 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_GetAgent > AsyncService; - template - class ExperimentalWithCallbackMethod_GetAgent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetAgent() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetAgentRequest, ::flyteidl::admin::GetAgentResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::GetAgentRequest* request, - ::flyteidl::admin::GetAgentResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetAgent(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetAgent( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::GetAgentRequest, ::flyteidl::admin::GetAgentResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::GetAgentRequest, ::flyteidl::admin::GetAgentResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetAgent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListAgents : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListAgents() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ListAgentsRequest, ::flyteidl::admin::ListAgentsResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::ListAgentsRequest* request, - ::flyteidl::admin::ListAgentsResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListAgents(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListAgents( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ListAgentsRequest, ::flyteidl::admin::ListAgentsResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ListAgentsRequest, ::flyteidl::admin::ListAgentsResponse>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListAgents() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_GetAgent > ExperimentalCallbackService; - template - class WithGenericMethod_GetAgent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetAgent() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_GetAgent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListAgents : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListAgents() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_ListAgents() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_GetAgent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetAgent() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_GetAgent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetAgent(::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_ListAgents : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListAgents() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_ListAgents() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListAgents(::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_GetAgent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetAgent() { - ::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->GetAgent(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetAgent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetAgent(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListAgents : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListAgents() { - ::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->ListAgents(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListAgents() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListAgents(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_GetAgent : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetAgent() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::GetAgentRequest, ::flyteidl::admin::GetAgentResponse>(std::bind(&WithStreamedUnaryMethod_GetAgent::StreamedGetAgent, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetAgent() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetAgent(::grpc::ServerContext* context, const ::flyteidl::admin::GetAgentRequest* request, ::flyteidl::admin::GetAgentResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetAgent(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::GetAgentRequest,::flyteidl::admin::GetAgentResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListAgents : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListAgents() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ListAgentsRequest, ::flyteidl::admin::ListAgentsResponse>(std::bind(&WithStreamedUnaryMethod_ListAgents::StreamedListAgents, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListAgents() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListAgents(::grpc::ServerContext* context, const ::flyteidl::admin::ListAgentsRequest* request, ::flyteidl::admin::ListAgentsResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListAgents(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ListAgentsRequest,::flyteidl::admin::ListAgentsResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_GetAgent > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_GetAgent > StreamedService; -}; - -} // namespace service -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fservice_2fagent_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/agent.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/agent.pb.cc deleted file mode 100644 index 3d6379889b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/agent.pb.cc +++ /dev/null @@ -1,93 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/agent.proto - -#include "flyteidl/service/agent.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace service { -} // namespace service -} // namespace flyteidl -void InitDefaults_flyteidl_2fservice_2fagent_2eproto() { -} - -constexpr ::google::protobuf::Metadata* file_level_metadata_flyteidl_2fservice_2fagent_2eproto = nullptr; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fservice_2fagent_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fagent_2eproto = nullptr; -const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fagent_2eproto::offsets[1] = {}; -static constexpr ::google::protobuf::internal::MigrationSchema* schemas = nullptr; -static constexpr ::google::protobuf::Message* const* file_default_instances = nullptr; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fagent_2eproto = { - {}, AddDescriptors_flyteidl_2fservice_2fagent_2eproto, "flyteidl/service/agent.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fservice_2fagent_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fagent_2eproto, 0, file_level_enum_descriptors_flyteidl_2fservice_2fagent_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fagent_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fservice_2fagent_2eproto[] = - "\n\034flyteidl/service/agent.proto\022\020flyteidl" - ".service\032\034google/api/annotations.proto\032\032" - "flyteidl/admin/agent.proto2\314\003\n\021AsyncAgen" - "tService\022U\n\nCreateTask\022!.flyteidl.admin." - "CreateTaskRequest\032\".flyteidl.admin.Creat" - "eTaskResponse\"\000\022L\n\007GetTask\022\036.flyteidl.ad" - "min.GetTaskRequest\032\037.flyteidl.admin.GetT" - "askResponse\"\000\022U\n\nDeleteTask\022!.flyteidl.a" - "dmin.DeleteTaskRequest\032\".flyteidl.admin." - "DeleteTaskResponse\"\000\022a\n\016GetTaskMetrics\022%" - ".flyteidl.admin.GetTaskMetricsRequest\032&." - "flyteidl.admin.GetTaskMetricsResponse\"\000\022" - "X\n\013GetTaskLogs\022\".flyteidl.admin.GetTaskL" - "ogsRequest\032#.flyteidl.admin.GetTaskLogsR" - "esponse\"\0002\360\001\n\024AgentMetadataService\022k\n\010Ge" - "tAgent\022\037.flyteidl.admin.GetAgentRequest\032" - " .flyteidl.admin.GetAgentResponse\"\034\202\323\344\223\002" - "\026\022\024/api/v1/agent/{name}\022k\n\nListAgents\022!." - "flyteidl.admin.ListAgentsRequest\032\".flyte" - "idl.admin.ListAgentsResponse\"\026\202\323\344\223\002\020\022\016/a" - "pi/v1/agentsB\?Z=github.com/flyteorg/flyt" - "e/flyteidl/gen/pb-go/flyteidl/serviceb\006p" - "roto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fagent_2eproto = { - false, InitDefaults_flyteidl_2fservice_2fagent_2eproto, - descriptor_table_protodef_flyteidl_2fservice_2fagent_2eproto, - "flyteidl/service/agent.proto", &assign_descriptors_table_flyteidl_2fservice_2fagent_2eproto, 885, -}; - -void AddDescriptors_flyteidl_2fservice_2fagent_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_google_2fapi_2fannotations_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fagent_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fagent_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fservice_2fagent_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fagent_2eproto(); return true; }(); -namespace flyteidl { -namespace service { - -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/agent.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/agent.pb.h deleted file mode 100644 index 2b91672863..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/agent.pb.h +++ /dev/null @@ -1,82 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/agent.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fagent_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fagent_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 // IWYU pragma: export -#include // IWYU pragma: export -#include "google/api/annotations.pb.h" -#include "flyteidl/admin/agent.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fagent_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fservice_2fagent_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[1] - 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_2fagent_2eproto(); -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace service { - -// =================================================================== - - -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#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_2fagent_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/auth.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/auth.grpc.pb.cc deleted file mode 100644 index c56ddb445d..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/auth.grpc.pb.cc +++ /dev/null @@ -1,127 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/auth.proto - -#include "flyteidl/service/auth.pb.h" -#include "flyteidl/service/auth.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace service { - -static const char* AuthMetadataService_method_names[] = { - "/flyteidl.service.AuthMetadataService/GetOAuth2Metadata", - "/flyteidl.service.AuthMetadataService/GetPublicClientConfig", -}; - -std::unique_ptr< AuthMetadataService::Stub> AuthMetadataService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< AuthMetadataService::Stub> stub(new AuthMetadataService::Stub(channel)); - return stub; -} - -AuthMetadataService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_GetOAuth2Metadata_(AuthMetadataService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetPublicClientConfig_(AuthMetadataService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status AuthMetadataService::Stub::GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::flyteidl::service::OAuth2MetadataResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetOAuth2Metadata_, context, request, response); -} - -void AuthMetadataService::Stub::experimental_async::GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOAuth2Metadata_, context, request, response, std::move(f)); -} - -void AuthMetadataService::Stub::experimental_async::GetOAuth2Metadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::OAuth2MetadataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOAuth2Metadata_, context, request, response, std::move(f)); -} - -void AuthMetadataService::Stub::experimental_async::GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOAuth2Metadata_, context, request, response, reactor); -} - -void AuthMetadataService::Stub::experimental_async::GetOAuth2Metadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::OAuth2MetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOAuth2Metadata_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::OAuth2MetadataResponse>* AuthMetadataService::Stub::AsyncGetOAuth2MetadataRaw(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::OAuth2MetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetOAuth2Metadata_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::OAuth2MetadataResponse>* AuthMetadataService::Stub::PrepareAsyncGetOAuth2MetadataRaw(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::OAuth2MetadataResponse>::Create(channel_.get(), cq, rpcmethod_GetOAuth2Metadata_, context, request, false); -} - -::grpc::Status AuthMetadataService::Stub::GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::flyteidl::service::PublicClientAuthConfigResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetPublicClientConfig_, context, request, response); -} - -void AuthMetadataService::Stub::experimental_async::GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetPublicClientConfig_, context, request, response, std::move(f)); -} - -void AuthMetadataService::Stub::experimental_async::GetPublicClientConfig(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetPublicClientConfig_, context, request, response, std::move(f)); -} - -void AuthMetadataService::Stub::experimental_async::GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetPublicClientConfig_, context, request, response, reactor); -} - -void AuthMetadataService::Stub::experimental_async::GetPublicClientConfig(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetPublicClientConfig_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>* AuthMetadataService::Stub::AsyncGetPublicClientConfigRaw(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::PublicClientAuthConfigResponse>::Create(channel_.get(), cq, rpcmethod_GetPublicClientConfig_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>* AuthMetadataService::Stub::PrepareAsyncGetPublicClientConfigRaw(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::PublicClientAuthConfigResponse>::Create(channel_.get(), cq, rpcmethod_GetPublicClientConfig_, context, request, false); -} - -AuthMetadataService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - AuthMetadataService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AuthMetadataService::Service, ::flyteidl::service::OAuth2MetadataRequest, ::flyteidl::service::OAuth2MetadataResponse>( - std::mem_fn(&AuthMetadataService::Service::GetOAuth2Metadata), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - AuthMetadataService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AuthMetadataService::Service, ::flyteidl::service::PublicClientAuthConfigRequest, ::flyteidl::service::PublicClientAuthConfigResponse>( - std::mem_fn(&AuthMetadataService::Service::GetPublicClientConfig), this))); -} - -AuthMetadataService::Service::~Service() { -} - -::grpc::Status AuthMetadataService::Service::GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status AuthMetadataService::Service::GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace flyteidl -} // namespace service - diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/auth.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/auth.grpc.pb.h deleted file mode 100644 index 756b4eaa03..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/auth.grpc.pb.h +++ /dev/null @@ -1,428 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/auth.proto -#ifndef GRPC_flyteidl_2fservice_2fauth_2eproto__INCLUDED -#define GRPC_flyteidl_2fservice_2fauth_2eproto__INCLUDED - -#include "flyteidl/service/auth.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 { - -// The following defines an RPC service that is also served over HTTP via grpc-gateway. -// Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go -// RPCs defined in this service must be anonymously accessible. -class AuthMetadataService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.AuthMetadataService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Anonymously accessible. Retrieves local or external oauth authorization server metadata. - virtual ::grpc::Status GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::flyteidl::service::OAuth2MetadataResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::OAuth2MetadataResponse>> AsyncGetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::OAuth2MetadataResponse>>(AsyncGetOAuth2MetadataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::OAuth2MetadataResponse>> PrepareAsyncGetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::OAuth2MetadataResponse>>(PrepareAsyncGetOAuth2MetadataRaw(context, request, cq)); - } - // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization - // requests. - virtual ::grpc::Status GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::flyteidl::service::PublicClientAuthConfigResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::PublicClientAuthConfigResponse>> AsyncGetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::PublicClientAuthConfigResponse>>(AsyncGetPublicClientConfigRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::PublicClientAuthConfigResponse>> PrepareAsyncGetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::PublicClientAuthConfigResponse>>(PrepareAsyncGetPublicClientConfigRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Anonymously accessible. Retrieves local or external oauth authorization server metadata. - virtual void GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response, std::function) = 0; - virtual void GetOAuth2Metadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::OAuth2MetadataResponse* response, std::function) = 0; - virtual void GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetOAuth2Metadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::OAuth2MetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization - // requests. - virtual void GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, std::function) = 0; - virtual void GetPublicClientConfig(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, std::function) = 0; - virtual void GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetPublicClientConfig(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::OAuth2MetadataResponse>* AsyncGetOAuth2MetadataRaw(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::OAuth2MetadataResponse>* PrepareAsyncGetOAuth2MetadataRaw(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::PublicClientAuthConfigResponse>* AsyncGetPublicClientConfigRaw(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::PublicClientAuthConfigResponse>* PrepareAsyncGetPublicClientConfigRaw(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::flyteidl::service::OAuth2MetadataResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::OAuth2MetadataResponse>> AsyncGetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::OAuth2MetadataResponse>>(AsyncGetOAuth2MetadataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::OAuth2MetadataResponse>> PrepareAsyncGetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::OAuth2MetadataResponse>>(PrepareAsyncGetOAuth2MetadataRaw(context, request, cq)); - } - ::grpc::Status GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::flyteidl::service::PublicClientAuthConfigResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>> AsyncGetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>>(AsyncGetPublicClientConfigRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>> PrepareAsyncGetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>>(PrepareAsyncGetPublicClientConfigRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response, std::function) override; - void GetOAuth2Metadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::OAuth2MetadataResponse* response, std::function) override; - void GetOAuth2Metadata(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetOAuth2Metadata(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::OAuth2MetadataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, std::function) override; - void GetPublicClientConfig(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, std::function) override; - void GetPublicClientConfig(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetPublicClientConfig(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::PublicClientAuthConfigResponse* 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::OAuth2MetadataResponse>* AsyncGetOAuth2MetadataRaw(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::OAuth2MetadataResponse>* PrepareAsyncGetOAuth2MetadataRaw(::grpc::ClientContext* context, const ::flyteidl::service::OAuth2MetadataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>* AsyncGetPublicClientConfigRaw(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::PublicClientAuthConfigResponse>* PrepareAsyncGetPublicClientConfigRaw(::grpc::ClientContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_GetOAuth2Metadata_; - const ::grpc::internal::RpcMethod rpcmethod_GetPublicClientConfig_; - }; - 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(); - // Anonymously accessible. Retrieves local or external oauth authorization server metadata. - virtual ::grpc::Status GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response); - // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization - // requests. - virtual ::grpc::Status GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response); - }; - template - class WithAsyncMethod_GetOAuth2Metadata : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetOAuth2Metadata() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_GetOAuth2Metadata() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetOAuth2Metadata(::grpc::ServerContext* context, ::flyteidl::service::OAuth2MetadataRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::OAuth2MetadataResponse>* 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_GetPublicClientConfig : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetPublicClientConfig() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_GetPublicClientConfig() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetPublicClientConfig(::grpc::ServerContext* context, ::flyteidl::service::PublicClientAuthConfigRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::PublicClientAuthConfigResponse>* 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_GetOAuth2Metadata > AsyncService; - template - class ExperimentalWithCallbackMethod_GetOAuth2Metadata : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetOAuth2Metadata() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::OAuth2MetadataRequest, ::flyteidl::service::OAuth2MetadataResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::OAuth2MetadataRequest* request, - ::flyteidl::service::OAuth2MetadataResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetOAuth2Metadata(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetOAuth2Metadata( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::OAuth2MetadataRequest, ::flyteidl::service::OAuth2MetadataResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::OAuth2MetadataRequest, ::flyteidl::service::OAuth2MetadataResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetOAuth2Metadata() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetPublicClientConfig : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetPublicClientConfig() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::PublicClientAuthConfigRequest, ::flyteidl::service::PublicClientAuthConfigResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::PublicClientAuthConfigRequest* request, - ::flyteidl::service::PublicClientAuthConfigResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetPublicClientConfig(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetPublicClientConfig( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::PublicClientAuthConfigRequest, ::flyteidl::service::PublicClientAuthConfigResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::PublicClientAuthConfigRequest, ::flyteidl::service::PublicClientAuthConfigResponse>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetPublicClientConfig() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_GetOAuth2Metadata > ExperimentalCallbackService; - template - class WithGenericMethod_GetOAuth2Metadata : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetOAuth2Metadata() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_GetOAuth2Metadata() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetPublicClientConfig : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetPublicClientConfig() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_GetPublicClientConfig() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_GetOAuth2Metadata : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetOAuth2Metadata() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_GetOAuth2Metadata() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetOAuth2Metadata(::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_GetPublicClientConfig : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetPublicClientConfig() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_GetPublicClientConfig() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetPublicClientConfig(::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_GetOAuth2Metadata : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetOAuth2Metadata() { - ::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->GetOAuth2Metadata(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetOAuth2Metadata() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetOAuth2Metadata(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetPublicClientConfig : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetPublicClientConfig() { - ::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->GetPublicClientConfig(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetPublicClientConfig() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetPublicClientConfig(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_GetOAuth2Metadata : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetOAuth2Metadata() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::OAuth2MetadataRequest, ::flyteidl::service::OAuth2MetadataResponse>(std::bind(&WithStreamedUnaryMethod_GetOAuth2Metadata::StreamedGetOAuth2Metadata, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetOAuth2Metadata() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetOAuth2Metadata(::grpc::ServerContext* context, const ::flyteidl::service::OAuth2MetadataRequest* request, ::flyteidl::service::OAuth2MetadataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetOAuth2Metadata(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::OAuth2MetadataRequest,::flyteidl::service::OAuth2MetadataResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetPublicClientConfig : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetPublicClientConfig() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::PublicClientAuthConfigRequest, ::flyteidl::service::PublicClientAuthConfigResponse>(std::bind(&WithStreamedUnaryMethod_GetPublicClientConfig::StreamedGetPublicClientConfig, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetPublicClientConfig() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetPublicClientConfig(::grpc::ServerContext* context, const ::flyteidl::service::PublicClientAuthConfigRequest* request, ::flyteidl::service::PublicClientAuthConfigResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetPublicClientConfig(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::PublicClientAuthConfigRequest,::flyteidl::service::PublicClientAuthConfigResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_GetOAuth2Metadata > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_GetOAuth2Metadata > StreamedService; -}; - -} // namespace service -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fservice_2fauth_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/auth.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/auth.pb.cc deleted file mode 100644 index d505a960aa..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/auth.pb.cc +++ /dev/null @@ -1,2237 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/auth.proto - -#include "flyteidl/service/auth.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace service { -class OAuth2MetadataRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _OAuth2MetadataRequest_default_instance_; -class OAuth2MetadataResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _OAuth2MetadataResponse_default_instance_; -class PublicClientAuthConfigRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PublicClientAuthConfigRequest_default_instance_; -class PublicClientAuthConfigResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PublicClientAuthConfigResponse_default_instance_; -} // namespace service -} // namespace flyteidl -static void InitDefaultsOAuth2MetadataRequest_flyteidl_2fservice_2fauth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_OAuth2MetadataRequest_default_instance_; - new (ptr) ::flyteidl::service::OAuth2MetadataRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::OAuth2MetadataRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_OAuth2MetadataRequest_flyteidl_2fservice_2fauth_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOAuth2MetadataRequest_flyteidl_2fservice_2fauth_2eproto}, {}}; - -static void InitDefaultsOAuth2MetadataResponse_flyteidl_2fservice_2fauth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_OAuth2MetadataResponse_default_instance_; - new (ptr) ::flyteidl::service::OAuth2MetadataResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::OAuth2MetadataResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_OAuth2MetadataResponse_flyteidl_2fservice_2fauth_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsOAuth2MetadataResponse_flyteidl_2fservice_2fauth_2eproto}, {}}; - -static void InitDefaultsPublicClientAuthConfigRequest_flyteidl_2fservice_2fauth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_PublicClientAuthConfigRequest_default_instance_; - new (ptr) ::flyteidl::service::PublicClientAuthConfigRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::PublicClientAuthConfigRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_PublicClientAuthConfigRequest_flyteidl_2fservice_2fauth_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPublicClientAuthConfigRequest_flyteidl_2fservice_2fauth_2eproto}, {}}; - -static void InitDefaultsPublicClientAuthConfigResponse_flyteidl_2fservice_2fauth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_PublicClientAuthConfigResponse_default_instance_; - new (ptr) ::flyteidl::service::PublicClientAuthConfigResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::PublicClientAuthConfigResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_PublicClientAuthConfigResponse_flyteidl_2fservice_2fauth_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPublicClientAuthConfigResponse_flyteidl_2fservice_2fauth_2eproto}, {}}; - -void InitDefaults_flyteidl_2fservice_2fauth_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_OAuth2MetadataRequest_flyteidl_2fservice_2fauth_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_OAuth2MetadataResponse_flyteidl_2fservice_2fauth_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PublicClientAuthConfigRequest_flyteidl_2fservice_2fauth_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PublicClientAuthConfigResponse_flyteidl_2fservice_2fauth_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fauth_2eproto[4]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fservice_2fauth_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fauth_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fauth_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, issuer_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, authorization_endpoint_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, token_endpoint_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, response_types_supported_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, scopes_supported_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, token_endpoint_auth_methods_supported_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, jwks_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, code_challenge_methods_supported_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, grant_types_supported_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::OAuth2MetadataResponse, device_authorization_endpoint_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigResponse, client_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigResponse, redirect_uri_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigResponse, scopes_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigResponse, authorization_metadata_key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigResponse, service_http_endpoint_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PublicClientAuthConfigResponse, audience_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::service::OAuth2MetadataRequest)}, - { 5, -1, sizeof(::flyteidl::service::OAuth2MetadataResponse)}, - { 20, -1, sizeof(::flyteidl::service::PublicClientAuthConfigRequest)}, - { 25, -1, sizeof(::flyteidl::service::PublicClientAuthConfigResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::service::_OAuth2MetadataRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_OAuth2MetadataResponse_default_instance_), - reinterpret_cast(&::flyteidl::service::_PublicClientAuthConfigRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_PublicClientAuthConfigResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fauth_2eproto = { - {}, AddDescriptors_flyteidl_2fservice_2fauth_2eproto, "flyteidl/service/auth.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fservice_2fauth_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fauth_2eproto, 4, file_level_enum_descriptors_flyteidl_2fservice_2fauth_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fauth_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fservice_2fauth_2eproto[] = - "\n\033flyteidl/service/auth.proto\022\020flyteidl." - "service\032\034google/api/annotations.proto\"\027\n" - "\025OAuth2MetadataRequest\"\315\002\n\026OAuth2Metadat" - "aResponse\022\016\n\006issuer\030\001 \001(\t\022\036\n\026authorizati" - "on_endpoint\030\002 \001(\t\022\026\n\016token_endpoint\030\003 \001(" - "\t\022 \n\030response_types_supported\030\004 \003(\t\022\030\n\020s" - "copes_supported\030\005 \003(\t\022-\n%token_endpoint_" - "auth_methods_supported\030\006 \003(\t\022\020\n\010jwks_uri" - "\030\007 \001(\t\022(\n code_challenge_methods_support" - "ed\030\010 \003(\t\022\035\n\025grant_types_supported\030\t \003(\t\022" - "%\n\035device_authorization_endpoint\030\n \001(\t\"\037" - "\n\035PublicClientAuthConfigRequest\"\256\001\n\036Publ" - "icClientAuthConfigResponse\022\021\n\tclient_id\030" - "\001 \001(\t\022\024\n\014redirect_uri\030\002 \001(\t\022\016\n\006scopes\030\003 " - "\003(\t\022\"\n\032authorization_metadata_key\030\004 \001(\t\022" - "\035\n\025service_http_endpoint\030\005 \001(\t\022\020\n\010audien" - "ce\030\006 \001(\t2\315\002\n\023AuthMetadataService\022\227\001\n\021Get" - "OAuth2Metadata\022\'.flyteidl.service.OAuth2" - "MetadataRequest\032(.flyteidl.service.OAuth" - "2MetadataResponse\"/\202\323\344\223\002)\022\'/.well-known/" - "oauth-authorization-server\022\233\001\n\025GetPublic" - "ClientConfig\022/.flyteidl.service.PublicCl" - "ientAuthConfigRequest\0320.flyteidl.service" - ".PublicClientAuthConfigResponse\"\037\202\323\344\223\002\031\022" - "\027/config/v1/flyte_clientB\?Z=github.com/f" - "lyteorg/flyte/flyteidl/gen/pb-go/flyteid" - "l/serviceb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fauth_2eproto = { - false, InitDefaults_flyteidl_2fservice_2fauth_2eproto, - descriptor_table_protodef_flyteidl_2fservice_2fauth_2eproto, - "flyteidl/service/auth.proto", &assign_descriptors_table_flyteidl_2fservice_2fauth_2eproto, 1057, -}; - -void AddDescriptors_flyteidl_2fservice_2fauth_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = - { - ::AddDescriptors_google_2fapi_2fannotations_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fauth_2eproto, deps, 1); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fservice_2fauth_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fauth_2eproto(); return true; }(); -namespace flyteidl { -namespace service { - -// =================================================================== - -void OAuth2MetadataRequest::InitAsDefaultInstance() { -} -class OAuth2MetadataRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -OAuth2MetadataRequest::OAuth2MetadataRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.OAuth2MetadataRequest) -} -OAuth2MetadataRequest::OAuth2MetadataRequest(const OAuth2MetadataRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.service.OAuth2MetadataRequest) -} - -void OAuth2MetadataRequest::SharedCtor() { -} - -OAuth2MetadataRequest::~OAuth2MetadataRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.OAuth2MetadataRequest) - SharedDtor(); -} - -void OAuth2MetadataRequest::SharedDtor() { -} - -void OAuth2MetadataRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const OAuth2MetadataRequest& OAuth2MetadataRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_OAuth2MetadataRequest_flyteidl_2fservice_2fauth_2eproto.base); - return *internal_default_instance(); -} - - -void OAuth2MetadataRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.OAuth2MetadataRequest) - ::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* OAuth2MetadataRequest::_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 OAuth2MetadataRequest::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.OAuth2MetadataRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.service.OAuth2MetadataRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.OAuth2MetadataRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void OAuth2MetadataRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.OAuth2MetadataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.OAuth2MetadataRequest) -} - -::google::protobuf::uint8* OAuth2MetadataRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.OAuth2MetadataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.OAuth2MetadataRequest) - return target; -} - -size_t OAuth2MetadataRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.OAuth2MetadataRequest) - 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 OAuth2MetadataRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.OAuth2MetadataRequest) - GOOGLE_DCHECK_NE(&from, this); - const OAuth2MetadataRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.OAuth2MetadataRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.OAuth2MetadataRequest) - MergeFrom(*source); - } -} - -void OAuth2MetadataRequest::MergeFrom(const OAuth2MetadataRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.OAuth2MetadataRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void OAuth2MetadataRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.OAuth2MetadataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void OAuth2MetadataRequest::CopyFrom(const OAuth2MetadataRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.OAuth2MetadataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OAuth2MetadataRequest::IsInitialized() const { - return true; -} - -void OAuth2MetadataRequest::Swap(OAuth2MetadataRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void OAuth2MetadataRequest::InternalSwap(OAuth2MetadataRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata OAuth2MetadataRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fauth_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fauth_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void OAuth2MetadataResponse::InitAsDefaultInstance() { -} -class OAuth2MetadataResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int OAuth2MetadataResponse::kIssuerFieldNumber; -const int OAuth2MetadataResponse::kAuthorizationEndpointFieldNumber; -const int OAuth2MetadataResponse::kTokenEndpointFieldNumber; -const int OAuth2MetadataResponse::kResponseTypesSupportedFieldNumber; -const int OAuth2MetadataResponse::kScopesSupportedFieldNumber; -const int OAuth2MetadataResponse::kTokenEndpointAuthMethodsSupportedFieldNumber; -const int OAuth2MetadataResponse::kJwksUriFieldNumber; -const int OAuth2MetadataResponse::kCodeChallengeMethodsSupportedFieldNumber; -const int OAuth2MetadataResponse::kGrantTypesSupportedFieldNumber; -const int OAuth2MetadataResponse::kDeviceAuthorizationEndpointFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -OAuth2MetadataResponse::OAuth2MetadataResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.OAuth2MetadataResponse) -} -OAuth2MetadataResponse::OAuth2MetadataResponse(const OAuth2MetadataResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - response_types_supported_(from.response_types_supported_), - scopes_supported_(from.scopes_supported_), - token_endpoint_auth_methods_supported_(from.token_endpoint_auth_methods_supported_), - code_challenge_methods_supported_(from.code_challenge_methods_supported_), - grant_types_supported_(from.grant_types_supported_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - issuer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.issuer().size() > 0) { - issuer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.issuer_); - } - authorization_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.authorization_endpoint().size() > 0) { - authorization_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.authorization_endpoint_); - } - token_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.token_endpoint().size() > 0) { - token_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_endpoint_); - } - jwks_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.jwks_uri().size() > 0) { - jwks_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.jwks_uri_); - } - device_authorization_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.device_authorization_endpoint().size() > 0) { - device_authorization_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_authorization_endpoint_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.OAuth2MetadataResponse) -} - -void OAuth2MetadataResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_OAuth2MetadataResponse_flyteidl_2fservice_2fauth_2eproto.base); - issuer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - authorization_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - jwks_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - device_authorization_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -OAuth2MetadataResponse::~OAuth2MetadataResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.OAuth2MetadataResponse) - SharedDtor(); -} - -void OAuth2MetadataResponse::SharedDtor() { - issuer_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - authorization_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - jwks_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - device_authorization_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void OAuth2MetadataResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const OAuth2MetadataResponse& OAuth2MetadataResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_OAuth2MetadataResponse_flyteidl_2fservice_2fauth_2eproto.base); - return *internal_default_instance(); -} - - -void OAuth2MetadataResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.OAuth2MetadataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - response_types_supported_.Clear(); - scopes_supported_.Clear(); - token_endpoint_auth_methods_supported_.Clear(); - code_challenge_methods_supported_.Clear(); - grant_types_supported_.Clear(); - issuer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - authorization_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - token_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - jwks_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - device_authorization_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* OAuth2MetadataResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string issuer = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.issuer"); - object = msg->mutable_issuer(); - 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 authorization_endpoint = 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.service.OAuth2MetadataResponse.authorization_endpoint"); - object = msg->mutable_authorization_endpoint(); - 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 token_endpoint = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.token_endpoint"); - object = msg->mutable_token_endpoint(); - 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; - } - // repeated string response_types_supported = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.response_types_supported"); - object = msg->add_response_types_supported(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); - break; - } - // repeated string scopes_supported = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.scopes_supported"); - object = msg->add_scopes_supported(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); - break; - } - // repeated string token_endpoint_auth_methods_supported = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported"); - object = msg->add_token_endpoint_auth_methods_supported(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 50 && (ptr += 1)); - break; - } - // string jwks_uri = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.jwks_uri"); - object = msg->mutable_jwks_uri(); - 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; - } - // repeated string code_challenge_methods_supported = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported"); - object = msg->add_code_challenge_methods_supported(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 66 && (ptr += 1)); - break; - } - // repeated string grant_types_supported = 9; - case 9: { - if (static_cast<::google::protobuf::uint8>(tag) != 74) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.grant_types_supported"); - object = msg->add_grant_types_supported(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 74 && (ptr += 1)); - break; - } - // string device_authorization_endpoint = 10; - case 10: { - if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint"); - object = msg->mutable_device_authorization_endpoint(); - 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 OAuth2MetadataResponse::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.OAuth2MetadataResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string issuer = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_issuer())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->issuer().data(), static_cast(this->issuer().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.issuer")); - } else { - goto handle_unusual; - } - break; - } - - // string authorization_endpoint = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_authorization_endpoint())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->authorization_endpoint().data(), static_cast(this->authorization_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.authorization_endpoint")); - } else { - goto handle_unusual; - } - break; - } - - // string token_endpoint = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_token_endpoint())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint().data(), static_cast(this->token_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.token_endpoint")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string response_types_supported = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_response_types_supported())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->response_types_supported(this->response_types_supported_size() - 1).data(), - static_cast(this->response_types_supported(this->response_types_supported_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.response_types_supported")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string scopes_supported = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_scopes_supported())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->scopes_supported(this->scopes_supported_size() - 1).data(), - static_cast(this->scopes_supported(this->scopes_supported_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.scopes_supported")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string token_endpoint_auth_methods_supported = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_token_endpoint_auth_methods_supported())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint_auth_methods_supported(this->token_endpoint_auth_methods_supported_size() - 1).data(), - static_cast(this->token_endpoint_auth_methods_supported(this->token_endpoint_auth_methods_supported_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported")); - } else { - goto handle_unusual; - } - break; - } - - // string jwks_uri = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_jwks_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->jwks_uri().data(), static_cast(this->jwks_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.jwks_uri")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string code_challenge_methods_supported = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_code_challenge_methods_supported())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code_challenge_methods_supported(this->code_challenge_methods_supported_size() - 1).data(), - static_cast(this->code_challenge_methods_supported(this->code_challenge_methods_supported_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string grant_types_supported = 9; - case 9: { - if (static_cast< ::google::protobuf::uint8>(tag) == (74 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_grant_types_supported())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->grant_types_supported(this->grant_types_supported_size() - 1).data(), - static_cast(this->grant_types_supported(this->grant_types_supported_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.grant_types_supported")); - } else { - goto handle_unusual; - } - break; - } - - // string device_authorization_endpoint = 10; - case 10: { - if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_device_authorization_endpoint())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->device_authorization_endpoint().data(), static_cast(this->device_authorization_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint")); - } 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.OAuth2MetadataResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.OAuth2MetadataResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void OAuth2MetadataResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.OAuth2MetadataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string issuer = 1; - if (this->issuer().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->issuer().data(), static_cast(this->issuer().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.issuer"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->issuer(), output); - } - - // string authorization_endpoint = 2; - if (this->authorization_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->authorization_endpoint().data(), static_cast(this->authorization_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.authorization_endpoint"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->authorization_endpoint(), output); - } - - // string token_endpoint = 3; - if (this->token_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint().data(), static_cast(this->token_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.token_endpoint"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->token_endpoint(), output); - } - - // repeated string response_types_supported = 4; - for (int i = 0, n = this->response_types_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->response_types_supported(i).data(), static_cast(this->response_types_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.response_types_supported"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 4, this->response_types_supported(i), output); - } - - // repeated string scopes_supported = 5; - for (int i = 0, n = this->scopes_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->scopes_supported(i).data(), static_cast(this->scopes_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.scopes_supported"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 5, this->scopes_supported(i), output); - } - - // repeated string token_endpoint_auth_methods_supported = 6; - for (int i = 0, n = this->token_endpoint_auth_methods_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint_auth_methods_supported(i).data(), static_cast(this->token_endpoint_auth_methods_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 6, this->token_endpoint_auth_methods_supported(i), output); - } - - // string jwks_uri = 7; - if (this->jwks_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->jwks_uri().data(), static_cast(this->jwks_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.jwks_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->jwks_uri(), output); - } - - // repeated string code_challenge_methods_supported = 8; - for (int i = 0, n = this->code_challenge_methods_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code_challenge_methods_supported(i).data(), static_cast(this->code_challenge_methods_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 8, this->code_challenge_methods_supported(i), output); - } - - // repeated string grant_types_supported = 9; - for (int i = 0, n = this->grant_types_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->grant_types_supported(i).data(), static_cast(this->grant_types_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.grant_types_supported"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 9, this->grant_types_supported(i), output); - } - - // string device_authorization_endpoint = 10; - if (this->device_authorization_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->device_authorization_endpoint().data(), static_cast(this->device_authorization_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 10, this->device_authorization_endpoint(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.OAuth2MetadataResponse) -} - -::google::protobuf::uint8* OAuth2MetadataResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.OAuth2MetadataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string issuer = 1; - if (this->issuer().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->issuer().data(), static_cast(this->issuer().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.issuer"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->issuer(), target); - } - - // string authorization_endpoint = 2; - if (this->authorization_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->authorization_endpoint().data(), static_cast(this->authorization_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.authorization_endpoint"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->authorization_endpoint(), target); - } - - // string token_endpoint = 3; - if (this->token_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint().data(), static_cast(this->token_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.token_endpoint"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->token_endpoint(), target); - } - - // repeated string response_types_supported = 4; - for (int i = 0, n = this->response_types_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->response_types_supported(i).data(), static_cast(this->response_types_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.response_types_supported"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(4, this->response_types_supported(i), target); - } - - // repeated string scopes_supported = 5; - for (int i = 0, n = this->scopes_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->scopes_supported(i).data(), static_cast(this->scopes_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.scopes_supported"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(5, this->scopes_supported(i), target); - } - - // repeated string token_endpoint_auth_methods_supported = 6; - for (int i = 0, n = this->token_endpoint_auth_methods_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->token_endpoint_auth_methods_supported(i).data(), static_cast(this->token_endpoint_auth_methods_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(6, this->token_endpoint_auth_methods_supported(i), target); - } - - // string jwks_uri = 7; - if (this->jwks_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->jwks_uri().data(), static_cast(this->jwks_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.jwks_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->jwks_uri(), target); - } - - // repeated string code_challenge_methods_supported = 8; - for (int i = 0, n = this->code_challenge_methods_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->code_challenge_methods_supported(i).data(), static_cast(this->code_challenge_methods_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(8, this->code_challenge_methods_supported(i), target); - } - - // repeated string grant_types_supported = 9; - for (int i = 0, n = this->grant_types_supported_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->grant_types_supported(i).data(), static_cast(this->grant_types_supported(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.grant_types_supported"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(9, this->grant_types_supported(i), target); - } - - // string device_authorization_endpoint = 10; - if (this->device_authorization_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->device_authorization_endpoint().data(), static_cast(this->device_authorization_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 10, this->device_authorization_endpoint(), 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.OAuth2MetadataResponse) - return target; -} - -size_t OAuth2MetadataResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.OAuth2MetadataResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string response_types_supported = 4; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->response_types_supported_size()); - for (int i = 0, n = this->response_types_supported_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->response_types_supported(i)); - } - - // repeated string scopes_supported = 5; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->scopes_supported_size()); - for (int i = 0, n = this->scopes_supported_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->scopes_supported(i)); - } - - // repeated string token_endpoint_auth_methods_supported = 6; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->token_endpoint_auth_methods_supported_size()); - for (int i = 0, n = this->token_endpoint_auth_methods_supported_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->token_endpoint_auth_methods_supported(i)); - } - - // repeated string code_challenge_methods_supported = 8; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->code_challenge_methods_supported_size()); - for (int i = 0, n = this->code_challenge_methods_supported_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->code_challenge_methods_supported(i)); - } - - // repeated string grant_types_supported = 9; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->grant_types_supported_size()); - for (int i = 0, n = this->grant_types_supported_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->grant_types_supported(i)); - } - - // string issuer = 1; - if (this->issuer().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->issuer()); - } - - // string authorization_endpoint = 2; - if (this->authorization_endpoint().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->authorization_endpoint()); - } - - // string token_endpoint = 3; - if (this->token_endpoint().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->token_endpoint()); - } - - // string jwks_uri = 7; - if (this->jwks_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->jwks_uri()); - } - - // string device_authorization_endpoint = 10; - if (this->device_authorization_endpoint().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->device_authorization_endpoint()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void OAuth2MetadataResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.OAuth2MetadataResponse) - GOOGLE_DCHECK_NE(&from, this); - const OAuth2MetadataResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.OAuth2MetadataResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.OAuth2MetadataResponse) - MergeFrom(*source); - } -} - -void OAuth2MetadataResponse::MergeFrom(const OAuth2MetadataResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.OAuth2MetadataResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - response_types_supported_.MergeFrom(from.response_types_supported_); - scopes_supported_.MergeFrom(from.scopes_supported_); - token_endpoint_auth_methods_supported_.MergeFrom(from.token_endpoint_auth_methods_supported_); - code_challenge_methods_supported_.MergeFrom(from.code_challenge_methods_supported_); - grant_types_supported_.MergeFrom(from.grant_types_supported_); - if (from.issuer().size() > 0) { - - issuer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.issuer_); - } - if (from.authorization_endpoint().size() > 0) { - - authorization_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.authorization_endpoint_); - } - if (from.token_endpoint().size() > 0) { - - token_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_endpoint_); - } - if (from.jwks_uri().size() > 0) { - - jwks_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.jwks_uri_); - } - if (from.device_authorization_endpoint().size() > 0) { - - device_authorization_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.device_authorization_endpoint_); - } -} - -void OAuth2MetadataResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.OAuth2MetadataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void OAuth2MetadataResponse::CopyFrom(const OAuth2MetadataResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.OAuth2MetadataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OAuth2MetadataResponse::IsInitialized() const { - return true; -} - -void OAuth2MetadataResponse::Swap(OAuth2MetadataResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void OAuth2MetadataResponse::InternalSwap(OAuth2MetadataResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - response_types_supported_.InternalSwap(CastToBase(&other->response_types_supported_)); - scopes_supported_.InternalSwap(CastToBase(&other->scopes_supported_)); - token_endpoint_auth_methods_supported_.InternalSwap(CastToBase(&other->token_endpoint_auth_methods_supported_)); - code_challenge_methods_supported_.InternalSwap(CastToBase(&other->code_challenge_methods_supported_)); - grant_types_supported_.InternalSwap(CastToBase(&other->grant_types_supported_)); - issuer_.Swap(&other->issuer_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - authorization_endpoint_.Swap(&other->authorization_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - token_endpoint_.Swap(&other->token_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - jwks_uri_.Swap(&other->jwks_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - device_authorization_endpoint_.Swap(&other->device_authorization_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata OAuth2MetadataResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fauth_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fauth_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PublicClientAuthConfigRequest::InitAsDefaultInstance() { -} -class PublicClientAuthConfigRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PublicClientAuthConfigRequest::PublicClientAuthConfigRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.PublicClientAuthConfigRequest) -} -PublicClientAuthConfigRequest::PublicClientAuthConfigRequest(const PublicClientAuthConfigRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.service.PublicClientAuthConfigRequest) -} - -void PublicClientAuthConfigRequest::SharedCtor() { -} - -PublicClientAuthConfigRequest::~PublicClientAuthConfigRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.PublicClientAuthConfigRequest) - SharedDtor(); -} - -void PublicClientAuthConfigRequest::SharedDtor() { -} - -void PublicClientAuthConfigRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PublicClientAuthConfigRequest& PublicClientAuthConfigRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PublicClientAuthConfigRequest_flyteidl_2fservice_2fauth_2eproto.base); - return *internal_default_instance(); -} - - -void PublicClientAuthConfigRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.PublicClientAuthConfigRequest) - ::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* PublicClientAuthConfigRequest::_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 PublicClientAuthConfigRequest::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.PublicClientAuthConfigRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.service.PublicClientAuthConfigRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.PublicClientAuthConfigRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PublicClientAuthConfigRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.PublicClientAuthConfigRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.PublicClientAuthConfigRequest) -} - -::google::protobuf::uint8* PublicClientAuthConfigRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.PublicClientAuthConfigRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.PublicClientAuthConfigRequest) - return target; -} - -size_t PublicClientAuthConfigRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.PublicClientAuthConfigRequest) - 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 PublicClientAuthConfigRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.PublicClientAuthConfigRequest) - GOOGLE_DCHECK_NE(&from, this); - const PublicClientAuthConfigRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.PublicClientAuthConfigRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.PublicClientAuthConfigRequest) - MergeFrom(*source); - } -} - -void PublicClientAuthConfigRequest::MergeFrom(const PublicClientAuthConfigRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.PublicClientAuthConfigRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void PublicClientAuthConfigRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.PublicClientAuthConfigRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PublicClientAuthConfigRequest::CopyFrom(const PublicClientAuthConfigRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.PublicClientAuthConfigRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublicClientAuthConfigRequest::IsInitialized() const { - return true; -} - -void PublicClientAuthConfigRequest::Swap(PublicClientAuthConfigRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void PublicClientAuthConfigRequest::InternalSwap(PublicClientAuthConfigRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata PublicClientAuthConfigRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fauth_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fauth_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PublicClientAuthConfigResponse::InitAsDefaultInstance() { -} -class PublicClientAuthConfigResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PublicClientAuthConfigResponse::kClientIdFieldNumber; -const int PublicClientAuthConfigResponse::kRedirectUriFieldNumber; -const int PublicClientAuthConfigResponse::kScopesFieldNumber; -const int PublicClientAuthConfigResponse::kAuthorizationMetadataKeyFieldNumber; -const int PublicClientAuthConfigResponse::kServiceHttpEndpointFieldNumber; -const int PublicClientAuthConfigResponse::kAudienceFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PublicClientAuthConfigResponse::PublicClientAuthConfigResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.PublicClientAuthConfigResponse) -} -PublicClientAuthConfigResponse::PublicClientAuthConfigResponse(const PublicClientAuthConfigResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - scopes_(from.scopes_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - client_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.client_id().size() > 0) { - client_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.client_id_); - } - redirect_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.redirect_uri().size() > 0) { - redirect_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.redirect_uri_); - } - authorization_metadata_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.authorization_metadata_key().size() > 0) { - authorization_metadata_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.authorization_metadata_key_); - } - service_http_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.service_http_endpoint().size() > 0) { - service_http_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.service_http_endpoint_); - } - audience_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.audience().size() > 0) { - audience_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.audience_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.PublicClientAuthConfigResponse) -} - -void PublicClientAuthConfigResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PublicClientAuthConfigResponse_flyteidl_2fservice_2fauth_2eproto.base); - client_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - redirect_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - authorization_metadata_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - service_http_endpoint_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - audience_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -PublicClientAuthConfigResponse::~PublicClientAuthConfigResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.PublicClientAuthConfigResponse) - SharedDtor(); -} - -void PublicClientAuthConfigResponse::SharedDtor() { - client_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - redirect_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - authorization_metadata_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - service_http_endpoint_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - audience_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void PublicClientAuthConfigResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PublicClientAuthConfigResponse& PublicClientAuthConfigResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PublicClientAuthConfigResponse_flyteidl_2fservice_2fauth_2eproto.base); - return *internal_default_instance(); -} - - -void PublicClientAuthConfigResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.PublicClientAuthConfigResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - scopes_.Clear(); - client_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - redirect_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - authorization_metadata_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - service_http_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - audience_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PublicClientAuthConfigResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string client_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); - ctx->extra_parse_data().SetFieldName("flyteidl.service.PublicClientAuthConfigResponse.client_id"); - object = msg->mutable_client_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 redirect_uri = 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.service.PublicClientAuthConfigResponse.redirect_uri"); - object = msg->mutable_redirect_uri(); - 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; - } - // repeated string scopes = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.PublicClientAuthConfigResponse.scopes"); - object = msg->add_scopes(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); - break; - } - // string authorization_metadata_key = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key"); - object = msg->mutable_authorization_metadata_key(); - 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 service_http_endpoint = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint"); - object = msg->mutable_service_http_endpoint(); - 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 audience = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.PublicClientAuthConfigResponse.audience"); - object = msg->mutable_audience(); - 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 PublicClientAuthConfigResponse::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.PublicClientAuthConfigResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string client_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_client_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->client_id().data(), static_cast(this->client_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.PublicClientAuthConfigResponse.client_id")); - } else { - goto handle_unusual; - } - break; - } - - // string redirect_uri = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_redirect_uri())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->redirect_uri().data(), static_cast(this->redirect_uri().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.PublicClientAuthConfigResponse.redirect_uri")); - } else { - goto handle_unusual; - } - break; - } - - // repeated string scopes = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_scopes())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->scopes(this->scopes_size() - 1).data(), - static_cast(this->scopes(this->scopes_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.PublicClientAuthConfigResponse.scopes")); - } else { - goto handle_unusual; - } - break; - } - - // string authorization_metadata_key = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_authorization_metadata_key())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->authorization_metadata_key().data(), static_cast(this->authorization_metadata_key().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key")); - } else { - goto handle_unusual; - } - break; - } - - // string service_http_endpoint = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_service_http_endpoint())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->service_http_endpoint().data(), static_cast(this->service_http_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint")); - } else { - goto handle_unusual; - } - break; - } - - // string audience = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_audience())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->audience().data(), static_cast(this->audience().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.PublicClientAuthConfigResponse.audience")); - } 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.PublicClientAuthConfigResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.PublicClientAuthConfigResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PublicClientAuthConfigResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.PublicClientAuthConfigResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string client_id = 1; - if (this->client_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->client_id().data(), static_cast(this->client_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.client_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->client_id(), output); - } - - // string redirect_uri = 2; - if (this->redirect_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->redirect_uri().data(), static_cast(this->redirect_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.redirect_uri"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->redirect_uri(), output); - } - - // repeated string scopes = 3; - for (int i = 0, n = this->scopes_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->scopes(i).data(), static_cast(this->scopes(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.scopes"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 3, this->scopes(i), output); - } - - // string authorization_metadata_key = 4; - if (this->authorization_metadata_key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->authorization_metadata_key().data(), static_cast(this->authorization_metadata_key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->authorization_metadata_key(), output); - } - - // string service_http_endpoint = 5; - if (this->service_http_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->service_http_endpoint().data(), static_cast(this->service_http_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->service_http_endpoint(), output); - } - - // string audience = 6; - if (this->audience().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->audience().data(), static_cast(this->audience().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.audience"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->audience(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.PublicClientAuthConfigResponse) -} - -::google::protobuf::uint8* PublicClientAuthConfigResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.PublicClientAuthConfigResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string client_id = 1; - if (this->client_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->client_id().data(), static_cast(this->client_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.client_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->client_id(), target); - } - - // string redirect_uri = 2; - if (this->redirect_uri().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->redirect_uri().data(), static_cast(this->redirect_uri().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.redirect_uri"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->redirect_uri(), target); - } - - // repeated string scopes = 3; - for (int i = 0, n = this->scopes_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->scopes(i).data(), static_cast(this->scopes(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.scopes"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(3, this->scopes(i), target); - } - - // string authorization_metadata_key = 4; - if (this->authorization_metadata_key().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->authorization_metadata_key().data(), static_cast(this->authorization_metadata_key().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->authorization_metadata_key(), target); - } - - // string service_http_endpoint = 5; - if (this->service_http_endpoint().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->service_http_endpoint().data(), static_cast(this->service_http_endpoint().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->service_http_endpoint(), target); - } - - // string audience = 6; - if (this->audience().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->audience().data(), static_cast(this->audience().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PublicClientAuthConfigResponse.audience"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->audience(), 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.PublicClientAuthConfigResponse) - return target; -} - -size_t PublicClientAuthConfigResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.PublicClientAuthConfigResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string scopes = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->scopes_size()); - for (int i = 0, n = this->scopes_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->scopes(i)); - } - - // string client_id = 1; - if (this->client_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->client_id()); - } - - // string redirect_uri = 2; - if (this->redirect_uri().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->redirect_uri()); - } - - // string authorization_metadata_key = 4; - if (this->authorization_metadata_key().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->authorization_metadata_key()); - } - - // string service_http_endpoint = 5; - if (this->service_http_endpoint().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->service_http_endpoint()); - } - - // string audience = 6; - if (this->audience().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->audience()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PublicClientAuthConfigResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.PublicClientAuthConfigResponse) - GOOGLE_DCHECK_NE(&from, this); - const PublicClientAuthConfigResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.PublicClientAuthConfigResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.PublicClientAuthConfigResponse) - MergeFrom(*source); - } -} - -void PublicClientAuthConfigResponse::MergeFrom(const PublicClientAuthConfigResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.PublicClientAuthConfigResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - scopes_.MergeFrom(from.scopes_); - if (from.client_id().size() > 0) { - - client_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.client_id_); - } - if (from.redirect_uri().size() > 0) { - - redirect_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.redirect_uri_); - } - if (from.authorization_metadata_key().size() > 0) { - - authorization_metadata_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.authorization_metadata_key_); - } - if (from.service_http_endpoint().size() > 0) { - - service_http_endpoint_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.service_http_endpoint_); - } - if (from.audience().size() > 0) { - - audience_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.audience_); - } -} - -void PublicClientAuthConfigResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.PublicClientAuthConfigResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PublicClientAuthConfigResponse::CopyFrom(const PublicClientAuthConfigResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.PublicClientAuthConfigResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublicClientAuthConfigResponse::IsInitialized() const { - return true; -} - -void PublicClientAuthConfigResponse::Swap(PublicClientAuthConfigResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void PublicClientAuthConfigResponse::InternalSwap(PublicClientAuthConfigResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - scopes_.InternalSwap(CastToBase(&other->scopes_)); - client_id_.Swap(&other->client_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - redirect_uri_.Swap(&other->redirect_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - authorization_metadata_key_.Swap(&other->authorization_metadata_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - service_http_endpoint_.Swap(&other->service_http_endpoint_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - audience_.Swap(&other->audience_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata PublicClientAuthConfigResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fauth_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fauth_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::service::OAuth2MetadataRequest* Arena::CreateMaybeMessage< ::flyteidl::service::OAuth2MetadataRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::OAuth2MetadataRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::OAuth2MetadataResponse* Arena::CreateMaybeMessage< ::flyteidl::service::OAuth2MetadataResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::OAuth2MetadataResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::PublicClientAuthConfigRequest* Arena::CreateMaybeMessage< ::flyteidl::service::PublicClientAuthConfigRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::PublicClientAuthConfigRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::PublicClientAuthConfigResponse* Arena::CreateMaybeMessage< ::flyteidl::service::PublicClientAuthConfigResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::PublicClientAuthConfigResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/auth.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/auth.pb.h deleted file mode 100644 index c188b22a72..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/auth.pb.h +++ /dev/null @@ -1,1772 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/auth.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fauth_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fauth_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" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fauth_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fservice_2fauth_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[4] - 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_2fauth_2eproto(); -namespace flyteidl { -namespace service { -class OAuth2MetadataRequest; -class OAuth2MetadataRequestDefaultTypeInternal; -extern OAuth2MetadataRequestDefaultTypeInternal _OAuth2MetadataRequest_default_instance_; -class OAuth2MetadataResponse; -class OAuth2MetadataResponseDefaultTypeInternal; -extern OAuth2MetadataResponseDefaultTypeInternal _OAuth2MetadataResponse_default_instance_; -class PublicClientAuthConfigRequest; -class PublicClientAuthConfigRequestDefaultTypeInternal; -extern PublicClientAuthConfigRequestDefaultTypeInternal _PublicClientAuthConfigRequest_default_instance_; -class PublicClientAuthConfigResponse; -class PublicClientAuthConfigResponseDefaultTypeInternal; -extern PublicClientAuthConfigResponseDefaultTypeInternal _PublicClientAuthConfigResponse_default_instance_; -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::service::OAuth2MetadataRequest* Arena::CreateMaybeMessage<::flyteidl::service::OAuth2MetadataRequest>(Arena*); -template<> ::flyteidl::service::OAuth2MetadataResponse* Arena::CreateMaybeMessage<::flyteidl::service::OAuth2MetadataResponse>(Arena*); -template<> ::flyteidl::service::PublicClientAuthConfigRequest* Arena::CreateMaybeMessage<::flyteidl::service::PublicClientAuthConfigRequest>(Arena*); -template<> ::flyteidl::service::PublicClientAuthConfigResponse* Arena::CreateMaybeMessage<::flyteidl::service::PublicClientAuthConfigResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace service { - -// =================================================================== - -class OAuth2MetadataRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.OAuth2MetadataRequest) */ { - public: - OAuth2MetadataRequest(); - virtual ~OAuth2MetadataRequest(); - - OAuth2MetadataRequest(const OAuth2MetadataRequest& from); - - inline OAuth2MetadataRequest& operator=(const OAuth2MetadataRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - OAuth2MetadataRequest(OAuth2MetadataRequest&& from) noexcept - : OAuth2MetadataRequest() { - *this = ::std::move(from); - } - - inline OAuth2MetadataRequest& operator=(OAuth2MetadataRequest&& 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 OAuth2MetadataRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const OAuth2MetadataRequest* internal_default_instance() { - return reinterpret_cast( - &_OAuth2MetadataRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(OAuth2MetadataRequest* other); - friend void swap(OAuth2MetadataRequest& a, OAuth2MetadataRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline OAuth2MetadataRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - OAuth2MetadataRequest* 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 OAuth2MetadataRequest& from); - void MergeFrom(const OAuth2MetadataRequest& 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(OAuth2MetadataRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.service.OAuth2MetadataRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class OAuth2MetadataResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.OAuth2MetadataResponse) */ { - public: - OAuth2MetadataResponse(); - virtual ~OAuth2MetadataResponse(); - - OAuth2MetadataResponse(const OAuth2MetadataResponse& from); - - inline OAuth2MetadataResponse& operator=(const OAuth2MetadataResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - OAuth2MetadataResponse(OAuth2MetadataResponse&& from) noexcept - : OAuth2MetadataResponse() { - *this = ::std::move(from); - } - - inline OAuth2MetadataResponse& operator=(OAuth2MetadataResponse&& 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 OAuth2MetadataResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const OAuth2MetadataResponse* internal_default_instance() { - return reinterpret_cast( - &_OAuth2MetadataResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(OAuth2MetadataResponse* other); - friend void swap(OAuth2MetadataResponse& a, OAuth2MetadataResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline OAuth2MetadataResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - OAuth2MetadataResponse* 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 OAuth2MetadataResponse& from); - void MergeFrom(const OAuth2MetadataResponse& 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(OAuth2MetadataResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string response_types_supported = 4; - int response_types_supported_size() const; - void clear_response_types_supported(); - static const int kResponseTypesSupportedFieldNumber = 4; - const ::std::string& response_types_supported(int index) const; - ::std::string* mutable_response_types_supported(int index); - void set_response_types_supported(int index, const ::std::string& value); - #if LANG_CXX11 - void set_response_types_supported(int index, ::std::string&& value); - #endif - void set_response_types_supported(int index, const char* value); - void set_response_types_supported(int index, const char* value, size_t size); - ::std::string* add_response_types_supported(); - void add_response_types_supported(const ::std::string& value); - #if LANG_CXX11 - void add_response_types_supported(::std::string&& value); - #endif - void add_response_types_supported(const char* value); - void add_response_types_supported(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& response_types_supported() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_response_types_supported(); - - // repeated string scopes_supported = 5; - int scopes_supported_size() const; - void clear_scopes_supported(); - static const int kScopesSupportedFieldNumber = 5; - const ::std::string& scopes_supported(int index) const; - ::std::string* mutable_scopes_supported(int index); - void set_scopes_supported(int index, const ::std::string& value); - #if LANG_CXX11 - void set_scopes_supported(int index, ::std::string&& value); - #endif - void set_scopes_supported(int index, const char* value); - void set_scopes_supported(int index, const char* value, size_t size); - ::std::string* add_scopes_supported(); - void add_scopes_supported(const ::std::string& value); - #if LANG_CXX11 - void add_scopes_supported(::std::string&& value); - #endif - void add_scopes_supported(const char* value); - void add_scopes_supported(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& scopes_supported() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_scopes_supported(); - - // repeated string token_endpoint_auth_methods_supported = 6; - int token_endpoint_auth_methods_supported_size() const; - void clear_token_endpoint_auth_methods_supported(); - static const int kTokenEndpointAuthMethodsSupportedFieldNumber = 6; - const ::std::string& token_endpoint_auth_methods_supported(int index) const; - ::std::string* mutable_token_endpoint_auth_methods_supported(int index); - void set_token_endpoint_auth_methods_supported(int index, const ::std::string& value); - #if LANG_CXX11 - void set_token_endpoint_auth_methods_supported(int index, ::std::string&& value); - #endif - void set_token_endpoint_auth_methods_supported(int index, const char* value); - void set_token_endpoint_auth_methods_supported(int index, const char* value, size_t size); - ::std::string* add_token_endpoint_auth_methods_supported(); - void add_token_endpoint_auth_methods_supported(const ::std::string& value); - #if LANG_CXX11 - void add_token_endpoint_auth_methods_supported(::std::string&& value); - #endif - void add_token_endpoint_auth_methods_supported(const char* value); - void add_token_endpoint_auth_methods_supported(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& token_endpoint_auth_methods_supported() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_token_endpoint_auth_methods_supported(); - - // repeated string code_challenge_methods_supported = 8; - int code_challenge_methods_supported_size() const; - void clear_code_challenge_methods_supported(); - static const int kCodeChallengeMethodsSupportedFieldNumber = 8; - const ::std::string& code_challenge_methods_supported(int index) const; - ::std::string* mutable_code_challenge_methods_supported(int index); - void set_code_challenge_methods_supported(int index, const ::std::string& value); - #if LANG_CXX11 - void set_code_challenge_methods_supported(int index, ::std::string&& value); - #endif - void set_code_challenge_methods_supported(int index, const char* value); - void set_code_challenge_methods_supported(int index, const char* value, size_t size); - ::std::string* add_code_challenge_methods_supported(); - void add_code_challenge_methods_supported(const ::std::string& value); - #if LANG_CXX11 - void add_code_challenge_methods_supported(::std::string&& value); - #endif - void add_code_challenge_methods_supported(const char* value); - void add_code_challenge_methods_supported(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& code_challenge_methods_supported() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_code_challenge_methods_supported(); - - // repeated string grant_types_supported = 9; - int grant_types_supported_size() const; - void clear_grant_types_supported(); - static const int kGrantTypesSupportedFieldNumber = 9; - const ::std::string& grant_types_supported(int index) const; - ::std::string* mutable_grant_types_supported(int index); - void set_grant_types_supported(int index, const ::std::string& value); - #if LANG_CXX11 - void set_grant_types_supported(int index, ::std::string&& value); - #endif - void set_grant_types_supported(int index, const char* value); - void set_grant_types_supported(int index, const char* value, size_t size); - ::std::string* add_grant_types_supported(); - void add_grant_types_supported(const ::std::string& value); - #if LANG_CXX11 - void add_grant_types_supported(::std::string&& value); - #endif - void add_grant_types_supported(const char* value); - void add_grant_types_supported(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& grant_types_supported() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_grant_types_supported(); - - // string issuer = 1; - void clear_issuer(); - static const int kIssuerFieldNumber = 1; - const ::std::string& issuer() const; - void set_issuer(const ::std::string& value); - #if LANG_CXX11 - void set_issuer(::std::string&& value); - #endif - void set_issuer(const char* value); - void set_issuer(const char* value, size_t size); - ::std::string* mutable_issuer(); - ::std::string* release_issuer(); - void set_allocated_issuer(::std::string* issuer); - - // string authorization_endpoint = 2; - void clear_authorization_endpoint(); - static const int kAuthorizationEndpointFieldNumber = 2; - const ::std::string& authorization_endpoint() const; - void set_authorization_endpoint(const ::std::string& value); - #if LANG_CXX11 - void set_authorization_endpoint(::std::string&& value); - #endif - void set_authorization_endpoint(const char* value); - void set_authorization_endpoint(const char* value, size_t size); - ::std::string* mutable_authorization_endpoint(); - ::std::string* release_authorization_endpoint(); - void set_allocated_authorization_endpoint(::std::string* authorization_endpoint); - - // string token_endpoint = 3; - void clear_token_endpoint(); - static const int kTokenEndpointFieldNumber = 3; - const ::std::string& token_endpoint() const; - void set_token_endpoint(const ::std::string& value); - #if LANG_CXX11 - void set_token_endpoint(::std::string&& value); - #endif - void set_token_endpoint(const char* value); - void set_token_endpoint(const char* value, size_t size); - ::std::string* mutable_token_endpoint(); - ::std::string* release_token_endpoint(); - void set_allocated_token_endpoint(::std::string* token_endpoint); - - // string jwks_uri = 7; - void clear_jwks_uri(); - static const int kJwksUriFieldNumber = 7; - const ::std::string& jwks_uri() const; - void set_jwks_uri(const ::std::string& value); - #if LANG_CXX11 - void set_jwks_uri(::std::string&& value); - #endif - void set_jwks_uri(const char* value); - void set_jwks_uri(const char* value, size_t size); - ::std::string* mutable_jwks_uri(); - ::std::string* release_jwks_uri(); - void set_allocated_jwks_uri(::std::string* jwks_uri); - - // string device_authorization_endpoint = 10; - void clear_device_authorization_endpoint(); - static const int kDeviceAuthorizationEndpointFieldNumber = 10; - const ::std::string& device_authorization_endpoint() const; - void set_device_authorization_endpoint(const ::std::string& value); - #if LANG_CXX11 - void set_device_authorization_endpoint(::std::string&& value); - #endif - void set_device_authorization_endpoint(const char* value); - void set_device_authorization_endpoint(const char* value, size_t size); - ::std::string* mutable_device_authorization_endpoint(); - ::std::string* release_device_authorization_endpoint(); - void set_allocated_device_authorization_endpoint(::std::string* device_authorization_endpoint); - - // @@protoc_insertion_point(class_scope:flyteidl.service.OAuth2MetadataResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> response_types_supported_; - ::google::protobuf::RepeatedPtrField<::std::string> scopes_supported_; - ::google::protobuf::RepeatedPtrField<::std::string> token_endpoint_auth_methods_supported_; - ::google::protobuf::RepeatedPtrField<::std::string> code_challenge_methods_supported_; - ::google::protobuf::RepeatedPtrField<::std::string> grant_types_supported_; - ::google::protobuf::internal::ArenaStringPtr issuer_; - ::google::protobuf::internal::ArenaStringPtr authorization_endpoint_; - ::google::protobuf::internal::ArenaStringPtr token_endpoint_; - ::google::protobuf::internal::ArenaStringPtr jwks_uri_; - ::google::protobuf::internal::ArenaStringPtr device_authorization_endpoint_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class PublicClientAuthConfigRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.PublicClientAuthConfigRequest) */ { - public: - PublicClientAuthConfigRequest(); - virtual ~PublicClientAuthConfigRequest(); - - PublicClientAuthConfigRequest(const PublicClientAuthConfigRequest& from); - - inline PublicClientAuthConfigRequest& operator=(const PublicClientAuthConfigRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PublicClientAuthConfigRequest(PublicClientAuthConfigRequest&& from) noexcept - : PublicClientAuthConfigRequest() { - *this = ::std::move(from); - } - - inline PublicClientAuthConfigRequest& operator=(PublicClientAuthConfigRequest&& 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 PublicClientAuthConfigRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PublicClientAuthConfigRequest* internal_default_instance() { - return reinterpret_cast( - &_PublicClientAuthConfigRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(PublicClientAuthConfigRequest* other); - friend void swap(PublicClientAuthConfigRequest& a, PublicClientAuthConfigRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PublicClientAuthConfigRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - PublicClientAuthConfigRequest* 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 PublicClientAuthConfigRequest& from); - void MergeFrom(const PublicClientAuthConfigRequest& 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(PublicClientAuthConfigRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.service.PublicClientAuthConfigRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class PublicClientAuthConfigResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.PublicClientAuthConfigResponse) */ { - public: - PublicClientAuthConfigResponse(); - virtual ~PublicClientAuthConfigResponse(); - - PublicClientAuthConfigResponse(const PublicClientAuthConfigResponse& from); - - inline PublicClientAuthConfigResponse& operator=(const PublicClientAuthConfigResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PublicClientAuthConfigResponse(PublicClientAuthConfigResponse&& from) noexcept - : PublicClientAuthConfigResponse() { - *this = ::std::move(from); - } - - inline PublicClientAuthConfigResponse& operator=(PublicClientAuthConfigResponse&& 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 PublicClientAuthConfigResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PublicClientAuthConfigResponse* internal_default_instance() { - return reinterpret_cast( - &_PublicClientAuthConfigResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(PublicClientAuthConfigResponse* other); - friend void swap(PublicClientAuthConfigResponse& a, PublicClientAuthConfigResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PublicClientAuthConfigResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - PublicClientAuthConfigResponse* 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 PublicClientAuthConfigResponse& from); - void MergeFrom(const PublicClientAuthConfigResponse& 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(PublicClientAuthConfigResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string scopes = 3; - int scopes_size() const; - void clear_scopes(); - static const int kScopesFieldNumber = 3; - const ::std::string& scopes(int index) const; - ::std::string* mutable_scopes(int index); - void set_scopes(int index, const ::std::string& value); - #if LANG_CXX11 - void set_scopes(int index, ::std::string&& value); - #endif - void set_scopes(int index, const char* value); - void set_scopes(int index, const char* value, size_t size); - ::std::string* add_scopes(); - void add_scopes(const ::std::string& value); - #if LANG_CXX11 - void add_scopes(::std::string&& value); - #endif - void add_scopes(const char* value); - void add_scopes(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& scopes() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_scopes(); - - // string client_id = 1; - void clear_client_id(); - static const int kClientIdFieldNumber = 1; - const ::std::string& client_id() const; - void set_client_id(const ::std::string& value); - #if LANG_CXX11 - void set_client_id(::std::string&& value); - #endif - void set_client_id(const char* value); - void set_client_id(const char* value, size_t size); - ::std::string* mutable_client_id(); - ::std::string* release_client_id(); - void set_allocated_client_id(::std::string* client_id); - - // string redirect_uri = 2; - void clear_redirect_uri(); - static const int kRedirectUriFieldNumber = 2; - const ::std::string& redirect_uri() const; - void set_redirect_uri(const ::std::string& value); - #if LANG_CXX11 - void set_redirect_uri(::std::string&& value); - #endif - void set_redirect_uri(const char* value); - void set_redirect_uri(const char* value, size_t size); - ::std::string* mutable_redirect_uri(); - ::std::string* release_redirect_uri(); - void set_allocated_redirect_uri(::std::string* redirect_uri); - - // string authorization_metadata_key = 4; - void clear_authorization_metadata_key(); - static const int kAuthorizationMetadataKeyFieldNumber = 4; - const ::std::string& authorization_metadata_key() const; - void set_authorization_metadata_key(const ::std::string& value); - #if LANG_CXX11 - void set_authorization_metadata_key(::std::string&& value); - #endif - void set_authorization_metadata_key(const char* value); - void set_authorization_metadata_key(const char* value, size_t size); - ::std::string* mutable_authorization_metadata_key(); - ::std::string* release_authorization_metadata_key(); - void set_allocated_authorization_metadata_key(::std::string* authorization_metadata_key); - - // string service_http_endpoint = 5; - void clear_service_http_endpoint(); - static const int kServiceHttpEndpointFieldNumber = 5; - const ::std::string& service_http_endpoint() const; - void set_service_http_endpoint(const ::std::string& value); - #if LANG_CXX11 - void set_service_http_endpoint(::std::string&& value); - #endif - void set_service_http_endpoint(const char* value); - void set_service_http_endpoint(const char* value, size_t size); - ::std::string* mutable_service_http_endpoint(); - ::std::string* release_service_http_endpoint(); - void set_allocated_service_http_endpoint(::std::string* service_http_endpoint); - - // string audience = 6; - void clear_audience(); - static const int kAudienceFieldNumber = 6; - const ::std::string& audience() const; - void set_audience(const ::std::string& value); - #if LANG_CXX11 - void set_audience(::std::string&& value); - #endif - void set_audience(const char* value); - void set_audience(const char* value, size_t size); - ::std::string* mutable_audience(); - ::std::string* release_audience(); - void set_allocated_audience(::std::string* audience); - - // @@protoc_insertion_point(class_scope:flyteidl.service.PublicClientAuthConfigResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> scopes_; - ::google::protobuf::internal::ArenaStringPtr client_id_; - ::google::protobuf::internal::ArenaStringPtr redirect_uri_; - ::google::protobuf::internal::ArenaStringPtr authorization_metadata_key_; - ::google::protobuf::internal::ArenaStringPtr service_http_endpoint_; - ::google::protobuf::internal::ArenaStringPtr audience_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fauth_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// OAuth2MetadataRequest - -// ------------------------------------------------------------------- - -// OAuth2MetadataResponse - -// string issuer = 1; -inline void OAuth2MetadataResponse::clear_issuer() { - issuer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2MetadataResponse::issuer() const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.issuer) - return issuer_.GetNoArena(); -} -inline void OAuth2MetadataResponse::set_issuer(const ::std::string& value) { - - issuer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.issuer) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_issuer(::std::string&& value) { - - issuer_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.OAuth2MetadataResponse.issuer) -} -#endif -inline void OAuth2MetadataResponse::set_issuer(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - issuer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.issuer) -} -inline void OAuth2MetadataResponse::set_issuer(const char* value, size_t size) { - - issuer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.issuer) -} -inline ::std::string* OAuth2MetadataResponse::mutable_issuer() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.issuer) - return issuer_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2MetadataResponse::release_issuer() { - // @@protoc_insertion_point(field_release:flyteidl.service.OAuth2MetadataResponse.issuer) - - return issuer_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2MetadataResponse::set_allocated_issuer(::std::string* issuer) { - if (issuer != nullptr) { - - } else { - - } - issuer_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), issuer); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.OAuth2MetadataResponse.issuer) -} - -// string authorization_endpoint = 2; -inline void OAuth2MetadataResponse::clear_authorization_endpoint() { - authorization_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2MetadataResponse::authorization_endpoint() const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) - return authorization_endpoint_.GetNoArena(); -} -inline void OAuth2MetadataResponse::set_authorization_endpoint(const ::std::string& value) { - - authorization_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_authorization_endpoint(::std::string&& value) { - - authorization_endpoint_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) -} -#endif -inline void OAuth2MetadataResponse::set_authorization_endpoint(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - authorization_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) -} -inline void OAuth2MetadataResponse::set_authorization_endpoint(const char* value, size_t size) { - - authorization_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) -} -inline ::std::string* OAuth2MetadataResponse::mutable_authorization_endpoint() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) - return authorization_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2MetadataResponse::release_authorization_endpoint() { - // @@protoc_insertion_point(field_release:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) - - return authorization_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2MetadataResponse::set_allocated_authorization_endpoint(::std::string* authorization_endpoint) { - if (authorization_endpoint != nullptr) { - - } else { - - } - authorization_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), authorization_endpoint); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.OAuth2MetadataResponse.authorization_endpoint) -} - -// string token_endpoint = 3; -inline void OAuth2MetadataResponse::clear_token_endpoint() { - token_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2MetadataResponse::token_endpoint() const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.token_endpoint) - return token_endpoint_.GetNoArena(); -} -inline void OAuth2MetadataResponse::set_token_endpoint(const ::std::string& value) { - - token_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.token_endpoint) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_token_endpoint(::std::string&& value) { - - token_endpoint_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.OAuth2MetadataResponse.token_endpoint) -} -#endif -inline void OAuth2MetadataResponse::set_token_endpoint(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - token_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.token_endpoint) -} -inline void OAuth2MetadataResponse::set_token_endpoint(const char* value, size_t size) { - - token_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.token_endpoint) -} -inline ::std::string* OAuth2MetadataResponse::mutable_token_endpoint() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.token_endpoint) - return token_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2MetadataResponse::release_token_endpoint() { - // @@protoc_insertion_point(field_release:flyteidl.service.OAuth2MetadataResponse.token_endpoint) - - return token_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2MetadataResponse::set_allocated_token_endpoint(::std::string* token_endpoint) { - if (token_endpoint != nullptr) { - - } else { - - } - token_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token_endpoint); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.OAuth2MetadataResponse.token_endpoint) -} - -// repeated string response_types_supported = 4; -inline int OAuth2MetadataResponse::response_types_supported_size() const { - return response_types_supported_.size(); -} -inline void OAuth2MetadataResponse::clear_response_types_supported() { - response_types_supported_.Clear(); -} -inline const ::std::string& OAuth2MetadataResponse::response_types_supported(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.response_types_supported) - return response_types_supported_.Get(index); -} -inline ::std::string* OAuth2MetadataResponse::mutable_response_types_supported(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.response_types_supported) - return response_types_supported_.Mutable(index); -} -inline void OAuth2MetadataResponse::set_response_types_supported(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.response_types_supported) - response_types_supported_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_response_types_supported(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.response_types_supported) - response_types_supported_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void OAuth2MetadataResponse::set_response_types_supported(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - response_types_supported_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.response_types_supported) -} -inline void OAuth2MetadataResponse::set_response_types_supported(int index, const char* value, size_t size) { - response_types_supported_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.response_types_supported) -} -inline ::std::string* OAuth2MetadataResponse::add_response_types_supported() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.OAuth2MetadataResponse.response_types_supported) - return response_types_supported_.Add(); -} -inline void OAuth2MetadataResponse::add_response_types_supported(const ::std::string& value) { - response_types_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.response_types_supported) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::add_response_types_supported(::std::string&& value) { - response_types_supported_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.response_types_supported) -} -#endif -inline void OAuth2MetadataResponse::add_response_types_supported(const char* value) { - GOOGLE_DCHECK(value != nullptr); - response_types_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.OAuth2MetadataResponse.response_types_supported) -} -inline void OAuth2MetadataResponse::add_response_types_supported(const char* value, size_t size) { - response_types_supported_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.OAuth2MetadataResponse.response_types_supported) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -OAuth2MetadataResponse::response_types_supported() const { - // @@protoc_insertion_point(field_list:flyteidl.service.OAuth2MetadataResponse.response_types_supported) - return response_types_supported_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -OAuth2MetadataResponse::mutable_response_types_supported() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.OAuth2MetadataResponse.response_types_supported) - return &response_types_supported_; -} - -// repeated string scopes_supported = 5; -inline int OAuth2MetadataResponse::scopes_supported_size() const { - return scopes_supported_.size(); -} -inline void OAuth2MetadataResponse::clear_scopes_supported() { - scopes_supported_.Clear(); -} -inline const ::std::string& OAuth2MetadataResponse::scopes_supported(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.scopes_supported) - return scopes_supported_.Get(index); -} -inline ::std::string* OAuth2MetadataResponse::mutable_scopes_supported(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.scopes_supported) - return scopes_supported_.Mutable(index); -} -inline void OAuth2MetadataResponse::set_scopes_supported(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.scopes_supported) - scopes_supported_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_scopes_supported(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.scopes_supported) - scopes_supported_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void OAuth2MetadataResponse::set_scopes_supported(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - scopes_supported_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.scopes_supported) -} -inline void OAuth2MetadataResponse::set_scopes_supported(int index, const char* value, size_t size) { - scopes_supported_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.scopes_supported) -} -inline ::std::string* OAuth2MetadataResponse::add_scopes_supported() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.OAuth2MetadataResponse.scopes_supported) - return scopes_supported_.Add(); -} -inline void OAuth2MetadataResponse::add_scopes_supported(const ::std::string& value) { - scopes_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.scopes_supported) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::add_scopes_supported(::std::string&& value) { - scopes_supported_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.scopes_supported) -} -#endif -inline void OAuth2MetadataResponse::add_scopes_supported(const char* value) { - GOOGLE_DCHECK(value != nullptr); - scopes_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.OAuth2MetadataResponse.scopes_supported) -} -inline void OAuth2MetadataResponse::add_scopes_supported(const char* value, size_t size) { - scopes_supported_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.OAuth2MetadataResponse.scopes_supported) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -OAuth2MetadataResponse::scopes_supported() const { - // @@protoc_insertion_point(field_list:flyteidl.service.OAuth2MetadataResponse.scopes_supported) - return scopes_supported_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -OAuth2MetadataResponse::mutable_scopes_supported() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.OAuth2MetadataResponse.scopes_supported) - return &scopes_supported_; -} - -// repeated string token_endpoint_auth_methods_supported = 6; -inline int OAuth2MetadataResponse::token_endpoint_auth_methods_supported_size() const { - return token_endpoint_auth_methods_supported_.size(); -} -inline void OAuth2MetadataResponse::clear_token_endpoint_auth_methods_supported() { - token_endpoint_auth_methods_supported_.Clear(); -} -inline const ::std::string& OAuth2MetadataResponse::token_endpoint_auth_methods_supported(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) - return token_endpoint_auth_methods_supported_.Get(index); -} -inline ::std::string* OAuth2MetadataResponse::mutable_token_endpoint_auth_methods_supported(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) - return token_endpoint_auth_methods_supported_.Mutable(index); -} -inline void OAuth2MetadataResponse::set_token_endpoint_auth_methods_supported(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) - token_endpoint_auth_methods_supported_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_token_endpoint_auth_methods_supported(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) - token_endpoint_auth_methods_supported_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void OAuth2MetadataResponse::set_token_endpoint_auth_methods_supported(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - token_endpoint_auth_methods_supported_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) -} -inline void OAuth2MetadataResponse::set_token_endpoint_auth_methods_supported(int index, const char* value, size_t size) { - token_endpoint_auth_methods_supported_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) -} -inline ::std::string* OAuth2MetadataResponse::add_token_endpoint_auth_methods_supported() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) - return token_endpoint_auth_methods_supported_.Add(); -} -inline void OAuth2MetadataResponse::add_token_endpoint_auth_methods_supported(const ::std::string& value) { - token_endpoint_auth_methods_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::add_token_endpoint_auth_methods_supported(::std::string&& value) { - token_endpoint_auth_methods_supported_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) -} -#endif -inline void OAuth2MetadataResponse::add_token_endpoint_auth_methods_supported(const char* value) { - GOOGLE_DCHECK(value != nullptr); - token_endpoint_auth_methods_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) -} -inline void OAuth2MetadataResponse::add_token_endpoint_auth_methods_supported(const char* value, size_t size) { - token_endpoint_auth_methods_supported_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -OAuth2MetadataResponse::token_endpoint_auth_methods_supported() const { - // @@protoc_insertion_point(field_list:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) - return token_endpoint_auth_methods_supported_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -OAuth2MetadataResponse::mutable_token_endpoint_auth_methods_supported() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.OAuth2MetadataResponse.token_endpoint_auth_methods_supported) - return &token_endpoint_auth_methods_supported_; -} - -// string jwks_uri = 7; -inline void OAuth2MetadataResponse::clear_jwks_uri() { - jwks_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2MetadataResponse::jwks_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.jwks_uri) - return jwks_uri_.GetNoArena(); -} -inline void OAuth2MetadataResponse::set_jwks_uri(const ::std::string& value) { - - jwks_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.jwks_uri) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_jwks_uri(::std::string&& value) { - - jwks_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.OAuth2MetadataResponse.jwks_uri) -} -#endif -inline void OAuth2MetadataResponse::set_jwks_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - jwks_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.jwks_uri) -} -inline void OAuth2MetadataResponse::set_jwks_uri(const char* value, size_t size) { - - jwks_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.jwks_uri) -} -inline ::std::string* OAuth2MetadataResponse::mutable_jwks_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.jwks_uri) - return jwks_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2MetadataResponse::release_jwks_uri() { - // @@protoc_insertion_point(field_release:flyteidl.service.OAuth2MetadataResponse.jwks_uri) - - return jwks_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2MetadataResponse::set_allocated_jwks_uri(::std::string* jwks_uri) { - if (jwks_uri != nullptr) { - - } else { - - } - jwks_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), jwks_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.OAuth2MetadataResponse.jwks_uri) -} - -// repeated string code_challenge_methods_supported = 8; -inline int OAuth2MetadataResponse::code_challenge_methods_supported_size() const { - return code_challenge_methods_supported_.size(); -} -inline void OAuth2MetadataResponse::clear_code_challenge_methods_supported() { - code_challenge_methods_supported_.Clear(); -} -inline const ::std::string& OAuth2MetadataResponse::code_challenge_methods_supported(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) - return code_challenge_methods_supported_.Get(index); -} -inline ::std::string* OAuth2MetadataResponse::mutable_code_challenge_methods_supported(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) - return code_challenge_methods_supported_.Mutable(index); -} -inline void OAuth2MetadataResponse::set_code_challenge_methods_supported(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) - code_challenge_methods_supported_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_code_challenge_methods_supported(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) - code_challenge_methods_supported_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void OAuth2MetadataResponse::set_code_challenge_methods_supported(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - code_challenge_methods_supported_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) -} -inline void OAuth2MetadataResponse::set_code_challenge_methods_supported(int index, const char* value, size_t size) { - code_challenge_methods_supported_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) -} -inline ::std::string* OAuth2MetadataResponse::add_code_challenge_methods_supported() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) - return code_challenge_methods_supported_.Add(); -} -inline void OAuth2MetadataResponse::add_code_challenge_methods_supported(const ::std::string& value) { - code_challenge_methods_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::add_code_challenge_methods_supported(::std::string&& value) { - code_challenge_methods_supported_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) -} -#endif -inline void OAuth2MetadataResponse::add_code_challenge_methods_supported(const char* value) { - GOOGLE_DCHECK(value != nullptr); - code_challenge_methods_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) -} -inline void OAuth2MetadataResponse::add_code_challenge_methods_supported(const char* value, size_t size) { - code_challenge_methods_supported_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -OAuth2MetadataResponse::code_challenge_methods_supported() const { - // @@protoc_insertion_point(field_list:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) - return code_challenge_methods_supported_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -OAuth2MetadataResponse::mutable_code_challenge_methods_supported() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.OAuth2MetadataResponse.code_challenge_methods_supported) - return &code_challenge_methods_supported_; -} - -// repeated string grant_types_supported = 9; -inline int OAuth2MetadataResponse::grant_types_supported_size() const { - return grant_types_supported_.size(); -} -inline void OAuth2MetadataResponse::clear_grant_types_supported() { - grant_types_supported_.Clear(); -} -inline const ::std::string& OAuth2MetadataResponse::grant_types_supported(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) - return grant_types_supported_.Get(index); -} -inline ::std::string* OAuth2MetadataResponse::mutable_grant_types_supported(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) - return grant_types_supported_.Mutable(index); -} -inline void OAuth2MetadataResponse::set_grant_types_supported(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) - grant_types_supported_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_grant_types_supported(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) - grant_types_supported_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void OAuth2MetadataResponse::set_grant_types_supported(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - grant_types_supported_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) -} -inline void OAuth2MetadataResponse::set_grant_types_supported(int index, const char* value, size_t size) { - grant_types_supported_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) -} -inline ::std::string* OAuth2MetadataResponse::add_grant_types_supported() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) - return grant_types_supported_.Add(); -} -inline void OAuth2MetadataResponse::add_grant_types_supported(const ::std::string& value) { - grant_types_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::add_grant_types_supported(::std::string&& value) { - grant_types_supported_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) -} -#endif -inline void OAuth2MetadataResponse::add_grant_types_supported(const char* value) { - GOOGLE_DCHECK(value != nullptr); - grant_types_supported_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) -} -inline void OAuth2MetadataResponse::add_grant_types_supported(const char* value, size_t size) { - grant_types_supported_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -OAuth2MetadataResponse::grant_types_supported() const { - // @@protoc_insertion_point(field_list:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) - return grant_types_supported_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -OAuth2MetadataResponse::mutable_grant_types_supported() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.OAuth2MetadataResponse.grant_types_supported) - return &grant_types_supported_; -} - -// string device_authorization_endpoint = 10; -inline void OAuth2MetadataResponse::clear_device_authorization_endpoint() { - device_authorization_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& OAuth2MetadataResponse::device_authorization_endpoint() const { - // @@protoc_insertion_point(field_get:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) - return device_authorization_endpoint_.GetNoArena(); -} -inline void OAuth2MetadataResponse::set_device_authorization_endpoint(const ::std::string& value) { - - device_authorization_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) -} -#if LANG_CXX11 -inline void OAuth2MetadataResponse::set_device_authorization_endpoint(::std::string&& value) { - - device_authorization_endpoint_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) -} -#endif -inline void OAuth2MetadataResponse::set_device_authorization_endpoint(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - device_authorization_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) -} -inline void OAuth2MetadataResponse::set_device_authorization_endpoint(const char* value, size_t size) { - - device_authorization_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) -} -inline ::std::string* OAuth2MetadataResponse::mutable_device_authorization_endpoint() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) - return device_authorization_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* OAuth2MetadataResponse::release_device_authorization_endpoint() { - // @@protoc_insertion_point(field_release:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) - - return device_authorization_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void OAuth2MetadataResponse::set_allocated_device_authorization_endpoint(::std::string* device_authorization_endpoint) { - if (device_authorization_endpoint != nullptr) { - - } else { - - } - device_authorization_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), device_authorization_endpoint); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.OAuth2MetadataResponse.device_authorization_endpoint) -} - -// ------------------------------------------------------------------- - -// PublicClientAuthConfigRequest - -// ------------------------------------------------------------------- - -// PublicClientAuthConfigResponse - -// string client_id = 1; -inline void PublicClientAuthConfigResponse::clear_client_id() { - client_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PublicClientAuthConfigResponse::client_id() const { - // @@protoc_insertion_point(field_get:flyteidl.service.PublicClientAuthConfigResponse.client_id) - return client_id_.GetNoArena(); -} -inline void PublicClientAuthConfigResponse::set_client_id(const ::std::string& value) { - - client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.PublicClientAuthConfigResponse.client_id) -} -#if LANG_CXX11 -inline void PublicClientAuthConfigResponse::set_client_id(::std::string&& value) { - - client_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.PublicClientAuthConfigResponse.client_id) -} -#endif -inline void PublicClientAuthConfigResponse::set_client_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.PublicClientAuthConfigResponse.client_id) -} -inline void PublicClientAuthConfigResponse::set_client_id(const char* value, size_t size) { - - client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PublicClientAuthConfigResponse.client_id) -} -inline ::std::string* PublicClientAuthConfigResponse::mutable_client_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.PublicClientAuthConfigResponse.client_id) - return client_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PublicClientAuthConfigResponse::release_client_id() { - // @@protoc_insertion_point(field_release:flyteidl.service.PublicClientAuthConfigResponse.client_id) - - return client_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PublicClientAuthConfigResponse::set_allocated_client_id(::std::string* client_id) { - if (client_id != nullptr) { - - } else { - - } - client_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), client_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.PublicClientAuthConfigResponse.client_id) -} - -// string redirect_uri = 2; -inline void PublicClientAuthConfigResponse::clear_redirect_uri() { - redirect_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PublicClientAuthConfigResponse::redirect_uri() const { - // @@protoc_insertion_point(field_get:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) - return redirect_uri_.GetNoArena(); -} -inline void PublicClientAuthConfigResponse::set_redirect_uri(const ::std::string& value) { - - redirect_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) -} -#if LANG_CXX11 -inline void PublicClientAuthConfigResponse::set_redirect_uri(::std::string&& value) { - - redirect_uri_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) -} -#endif -inline void PublicClientAuthConfigResponse::set_redirect_uri(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - redirect_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) -} -inline void PublicClientAuthConfigResponse::set_redirect_uri(const char* value, size_t size) { - - redirect_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) -} -inline ::std::string* PublicClientAuthConfigResponse::mutable_redirect_uri() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) - return redirect_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PublicClientAuthConfigResponse::release_redirect_uri() { - // @@protoc_insertion_point(field_release:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) - - return redirect_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PublicClientAuthConfigResponse::set_allocated_redirect_uri(::std::string* redirect_uri) { - if (redirect_uri != nullptr) { - - } else { - - } - redirect_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), redirect_uri); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.PublicClientAuthConfigResponse.redirect_uri) -} - -// repeated string scopes = 3; -inline int PublicClientAuthConfigResponse::scopes_size() const { - return scopes_.size(); -} -inline void PublicClientAuthConfigResponse::clear_scopes() { - scopes_.Clear(); -} -inline const ::std::string& PublicClientAuthConfigResponse::scopes(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.PublicClientAuthConfigResponse.scopes) - return scopes_.Get(index); -} -inline ::std::string* PublicClientAuthConfigResponse::mutable_scopes(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.PublicClientAuthConfigResponse.scopes) - return scopes_.Mutable(index); -} -inline void PublicClientAuthConfigResponse::set_scopes(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.PublicClientAuthConfigResponse.scopes) - scopes_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void PublicClientAuthConfigResponse::set_scopes(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.PublicClientAuthConfigResponse.scopes) - scopes_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void PublicClientAuthConfigResponse::set_scopes(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - scopes_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.PublicClientAuthConfigResponse.scopes) -} -inline void PublicClientAuthConfigResponse::set_scopes(int index, const char* value, size_t size) { - scopes_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PublicClientAuthConfigResponse.scopes) -} -inline ::std::string* PublicClientAuthConfigResponse::add_scopes() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.PublicClientAuthConfigResponse.scopes) - return scopes_.Add(); -} -inline void PublicClientAuthConfigResponse::add_scopes(const ::std::string& value) { - scopes_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.PublicClientAuthConfigResponse.scopes) -} -#if LANG_CXX11 -inline void PublicClientAuthConfigResponse::add_scopes(::std::string&& value) { - scopes_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.PublicClientAuthConfigResponse.scopes) -} -#endif -inline void PublicClientAuthConfigResponse::add_scopes(const char* value) { - GOOGLE_DCHECK(value != nullptr); - scopes_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.PublicClientAuthConfigResponse.scopes) -} -inline void PublicClientAuthConfigResponse::add_scopes(const char* value, size_t size) { - scopes_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.PublicClientAuthConfigResponse.scopes) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -PublicClientAuthConfigResponse::scopes() const { - // @@protoc_insertion_point(field_list:flyteidl.service.PublicClientAuthConfigResponse.scopes) - return scopes_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -PublicClientAuthConfigResponse::mutable_scopes() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.PublicClientAuthConfigResponse.scopes) - return &scopes_; -} - -// string authorization_metadata_key = 4; -inline void PublicClientAuthConfigResponse::clear_authorization_metadata_key() { - authorization_metadata_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PublicClientAuthConfigResponse::authorization_metadata_key() const { - // @@protoc_insertion_point(field_get:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) - return authorization_metadata_key_.GetNoArena(); -} -inline void PublicClientAuthConfigResponse::set_authorization_metadata_key(const ::std::string& value) { - - authorization_metadata_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) -} -#if LANG_CXX11 -inline void PublicClientAuthConfigResponse::set_authorization_metadata_key(::std::string&& value) { - - authorization_metadata_key_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) -} -#endif -inline void PublicClientAuthConfigResponse::set_authorization_metadata_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - authorization_metadata_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) -} -inline void PublicClientAuthConfigResponse::set_authorization_metadata_key(const char* value, size_t size) { - - authorization_metadata_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) -} -inline ::std::string* PublicClientAuthConfigResponse::mutable_authorization_metadata_key() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) - return authorization_metadata_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PublicClientAuthConfigResponse::release_authorization_metadata_key() { - // @@protoc_insertion_point(field_release:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) - - return authorization_metadata_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PublicClientAuthConfigResponse::set_allocated_authorization_metadata_key(::std::string* authorization_metadata_key) { - if (authorization_metadata_key != nullptr) { - - } else { - - } - authorization_metadata_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), authorization_metadata_key); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.PublicClientAuthConfigResponse.authorization_metadata_key) -} - -// string service_http_endpoint = 5; -inline void PublicClientAuthConfigResponse::clear_service_http_endpoint() { - service_http_endpoint_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PublicClientAuthConfigResponse::service_http_endpoint() const { - // @@protoc_insertion_point(field_get:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) - return service_http_endpoint_.GetNoArena(); -} -inline void PublicClientAuthConfigResponse::set_service_http_endpoint(const ::std::string& value) { - - service_http_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) -} -#if LANG_CXX11 -inline void PublicClientAuthConfigResponse::set_service_http_endpoint(::std::string&& value) { - - service_http_endpoint_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) -} -#endif -inline void PublicClientAuthConfigResponse::set_service_http_endpoint(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - service_http_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) -} -inline void PublicClientAuthConfigResponse::set_service_http_endpoint(const char* value, size_t size) { - - service_http_endpoint_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) -} -inline ::std::string* PublicClientAuthConfigResponse::mutable_service_http_endpoint() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) - return service_http_endpoint_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PublicClientAuthConfigResponse::release_service_http_endpoint() { - // @@protoc_insertion_point(field_release:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) - - return service_http_endpoint_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PublicClientAuthConfigResponse::set_allocated_service_http_endpoint(::std::string* service_http_endpoint) { - if (service_http_endpoint != nullptr) { - - } else { - - } - service_http_endpoint_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), service_http_endpoint); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.PublicClientAuthConfigResponse.service_http_endpoint) -} - -// string audience = 6; -inline void PublicClientAuthConfigResponse::clear_audience() { - audience_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& PublicClientAuthConfigResponse::audience() const { - // @@protoc_insertion_point(field_get:flyteidl.service.PublicClientAuthConfigResponse.audience) - return audience_.GetNoArena(); -} -inline void PublicClientAuthConfigResponse::set_audience(const ::std::string& value) { - - audience_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.PublicClientAuthConfigResponse.audience) -} -#if LANG_CXX11 -inline void PublicClientAuthConfigResponse::set_audience(::std::string&& value) { - - audience_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.PublicClientAuthConfigResponse.audience) -} -#endif -inline void PublicClientAuthConfigResponse::set_audience(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - audience_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.PublicClientAuthConfigResponse.audience) -} -inline void PublicClientAuthConfigResponse::set_audience(const char* value, size_t size) { - - audience_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PublicClientAuthConfigResponse.audience) -} -inline ::std::string* PublicClientAuthConfigResponse::mutable_audience() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.PublicClientAuthConfigResponse.audience) - return audience_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* PublicClientAuthConfigResponse::release_audience() { - // @@protoc_insertion_point(field_release:flyteidl.service.PublicClientAuthConfigResponse.audience) - - return audience_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void PublicClientAuthConfigResponse::set_allocated_audience(::std::string* audience) { - if (audience != nullptr) { - - } else { - - } - audience_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), audience); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.PublicClientAuthConfigResponse.audience) -} - -#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_2fauth_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.cc deleted file mode 100644 index 2bff0c5a85..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.cc +++ /dev/null @@ -1,211 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/dataproxy.proto - -#include "flyteidl/service/dataproxy.pb.h" -#include "flyteidl/service/dataproxy.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace service { - -static const char* DataProxyService_method_names[] = { - "/flyteidl.service.DataProxyService/CreateUploadLocation", - "/flyteidl.service.DataProxyService/CreateDownloadLocation", - "/flyteidl.service.DataProxyService/CreateDownloadLink", - "/flyteidl.service.DataProxyService/GetData", -}; - -std::unique_ptr< DataProxyService::Stub> DataProxyService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< DataProxyService::Stub> stub(new DataProxyService::Stub(channel)); - return stub; -} - -DataProxyService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_CreateUploadLocation_(DataProxyService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateDownloadLocation_(DataProxyService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_CreateDownloadLink_(DataProxyService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetData_(DataProxyService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status DataProxyService::Stub::CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::flyteidl::service::CreateUploadLocationResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateUploadLocation_, context, request, response); -} - -void DataProxyService::Stub::experimental_async::CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateUploadLocation_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::CreateUploadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateUploadLocationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateUploadLocation_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateUploadLocation_, context, request, response, reactor); -} - -void DataProxyService::Stub::experimental_async::CreateUploadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateUploadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateUploadLocation_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateUploadLocationResponse>* DataProxyService::Stub::AsyncCreateUploadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::CreateUploadLocationResponse>::Create(channel_.get(), cq, rpcmethod_CreateUploadLocation_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateUploadLocationResponse>* DataProxyService::Stub::PrepareAsyncCreateUploadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::CreateUploadLocationResponse>::Create(channel_.get(), cq, rpcmethod_CreateUploadLocation_, context, request, false); -} - -::grpc::Status DataProxyService::Stub::CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::flyteidl::service::CreateDownloadLocationResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateDownloadLocation_, context, request, response); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLocation_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLocationResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLocation_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLocation_, context, request, response, reactor); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLocation_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>* DataProxyService::Stub::AsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::CreateDownloadLocationResponse>::Create(channel_.get(), cq, rpcmethod_CreateDownloadLocation_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>* DataProxyService::Stub::PrepareAsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::CreateDownloadLocationResponse>::Create(channel_.get(), cq, rpcmethod_CreateDownloadLocation_, context, request, false); -} - -::grpc::Status DataProxyService::Stub::CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::flyteidl::service::CreateDownloadLinkResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateDownloadLink_, context, request, response); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLink_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLink_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLink_, context, request, response, reactor); -} - -void DataProxyService::Stub::experimental_async::CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateDownloadLink_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>* DataProxyService::Stub::AsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::CreateDownloadLinkResponse>::Create(channel_.get(), cq, rpcmethod_CreateDownloadLink_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>* DataProxyService::Stub::PrepareAsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::CreateDownloadLinkResponse>::Create(channel_.get(), cq, rpcmethod_CreateDownloadLink_, context, request, false); -} - -::grpc::Status DataProxyService::Stub::GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::flyteidl::service::GetDataResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetData_, context, request, response); -} - -void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, std::move(f)); -} - -void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, reactor); -} - -void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* DataProxyService::Stub::AsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::GetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetData_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* DataProxyService::Stub::PrepareAsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::GetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetData_, context, request, false); -} - -DataProxyService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataProxyService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataProxyService::Service, ::flyteidl::service::CreateUploadLocationRequest, ::flyteidl::service::CreateUploadLocationResponse>( - std::mem_fn(&DataProxyService::Service::CreateUploadLocation), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataProxyService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataProxyService::Service, ::flyteidl::service::CreateDownloadLocationRequest, ::flyteidl::service::CreateDownloadLocationResponse>( - std::mem_fn(&DataProxyService::Service::CreateDownloadLocation), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataProxyService_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataProxyService::Service, ::flyteidl::service::CreateDownloadLinkRequest, ::flyteidl::service::CreateDownloadLinkResponse>( - std::mem_fn(&DataProxyService::Service::CreateDownloadLink), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - DataProxyService_method_names[3], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< DataProxyService::Service, ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>( - std::mem_fn(&DataProxyService::Service::GetData), this))); -} - -DataProxyService::Service::~Service() { -} - -::grpc::Status DataProxyService::Service::CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataProxyService::Service::CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataProxyService::Service::CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status DataProxyService::Service::GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace flyteidl -} // namespace service - diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.h deleted file mode 100644 index aaf05b601a..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.h +++ /dev/null @@ -1,748 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/dataproxy.proto -#ifndef GRPC_flyteidl_2fservice_2fdataproxy_2eproto__INCLUDED -#define GRPC_flyteidl_2fservice_2fdataproxy_2eproto__INCLUDED - -#include "flyteidl/service/dataproxy.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 { - -// DataProxyService defines an RPC Service that allows access to user-data in a controlled manner. -class DataProxyService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.DataProxyService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. - virtual ::grpc::Status CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::flyteidl::service::CreateUploadLocationResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateUploadLocationResponse>> AsyncCreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateUploadLocationResponse>>(AsyncCreateUploadLocationRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateUploadLocationResponse>> PrepareAsyncCreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateUploadLocationResponse>>(PrepareAsyncCreateUploadLocationRaw(context, request, cq)); - } - // CreateDownloadLocation creates a signed url to download artifacts. - virtual ::grpc::Status CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::flyteidl::service::CreateDownloadLocationResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLocationResponse>> AsyncCreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLocationResponse>>(AsyncCreateDownloadLocationRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLocationResponse>> PrepareAsyncCreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLocationResponse>>(PrepareAsyncCreateDownloadLocationRaw(context, request, cq)); - } - // CreateDownloadLocation creates a signed url to download artifacts. - virtual ::grpc::Status CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::flyteidl::service::CreateDownloadLinkResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>> AsyncCreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>>(AsyncCreateDownloadLinkRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>> PrepareAsyncCreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>>(PrepareAsyncCreateDownloadLinkRaw(context, request, cq)); - } - virtual ::grpc::Status GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::flyteidl::service::GetDataResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>> AsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>>(AsyncGetDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>> PrepareAsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>>(PrepareAsyncGetDataRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. - virtual void CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response, std::function) = 0; - virtual void CreateUploadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateUploadLocationResponse* response, std::function) = 0; - virtual void CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateUploadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateUploadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // CreateDownloadLocation creates a signed url to download artifacts. - virtual void CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response, std::function) = 0; - virtual void CreateDownloadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLocationResponse* response, std::function) = 0; - virtual void CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateDownloadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // CreateDownloadLocation creates a signed url to download artifacts. - virtual void CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function) = 0; - virtual void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function) = 0; - virtual void CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, std::function) = 0; - virtual void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, std::function) = 0; - virtual void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateUploadLocationResponse>* AsyncCreateUploadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateUploadLocationResponse>* PrepareAsyncCreateUploadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLocationResponse>* AsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLocationResponse>* PrepareAsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>* AsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>* PrepareAsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>* AsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>* PrepareAsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::flyteidl::service::CreateUploadLocationResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateUploadLocationResponse>> AsyncCreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateUploadLocationResponse>>(AsyncCreateUploadLocationRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateUploadLocationResponse>> PrepareAsyncCreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateUploadLocationResponse>>(PrepareAsyncCreateUploadLocationRaw(context, request, cq)); - } - ::grpc::Status CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::flyteidl::service::CreateDownloadLocationResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>> AsyncCreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>>(AsyncCreateDownloadLocationRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>> PrepareAsyncCreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>>(PrepareAsyncCreateDownloadLocationRaw(context, request, cq)); - } - ::grpc::Status CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::flyteidl::service::CreateDownloadLinkResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>> AsyncCreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>>(AsyncCreateDownloadLinkRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>> PrepareAsyncCreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>>(PrepareAsyncCreateDownloadLinkRaw(context, request, cq)); - } - ::grpc::Status GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::flyteidl::service::GetDataResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>> AsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>>(AsyncGetDataRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>> PrepareAsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>>(PrepareAsyncGetDataRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response, std::function) override; - void CreateUploadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateUploadLocationResponse* response, std::function) override; - void CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateUploadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateUploadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response, std::function) override; - void CreateDownloadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLocationResponse* response, std::function) override; - void CreateDownloadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateDownloadLocation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLocationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function) override; - void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function) override; - void CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, std::function) override; - void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, std::function) override; - void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* 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::CreateUploadLocationResponse>* AsyncCreateUploadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateUploadLocationResponse>* PrepareAsyncCreateUploadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>* AsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>* PrepareAsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>* AsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>* PrepareAsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* AsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* PrepareAsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_CreateUploadLocation_; - const ::grpc::internal::RpcMethod rpcmethod_CreateDownloadLocation_; - const ::grpc::internal::RpcMethod rpcmethod_CreateDownloadLink_; - const ::grpc::internal::RpcMethod rpcmethod_GetData_; - }; - 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(); - // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. - virtual ::grpc::Status CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response); - // CreateDownloadLocation creates a signed url to download artifacts. - virtual ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response); - // CreateDownloadLocation creates a signed url to download artifacts. - virtual ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response); - virtual ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response); - }; - template - class WithAsyncMethod_CreateUploadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateUploadLocation() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_CreateUploadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateUploadLocation(::grpc::ServerContext* context, ::flyteidl::service::CreateUploadLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::CreateUploadLocationResponse>* 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_CreateDownloadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateDownloadLocation() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_CreateDownloadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateDownloadLocation(::grpc::ServerContext* context, ::flyteidl::service::CreateDownloadLocationRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::CreateDownloadLocationResponse>* 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 WithAsyncMethod_CreateDownloadLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateDownloadLink() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_CreateDownloadLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateDownloadLink(::grpc::ServerContext* context, ::flyteidl::service::CreateDownloadLinkRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::CreateDownloadLinkResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithAsyncMethod_GetData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetData() { - ::grpc::Service::MarkMethodAsync(3); - } - ~WithAsyncMethod_GetData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetData(::grpc::ServerContext* context, ::flyteidl::service::GetDataRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::GetDataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_CreateUploadLocation > > > AsyncService; - template - class ExperimentalWithCallbackMethod_CreateUploadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateUploadLocation() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::CreateUploadLocationRequest, ::flyteidl::service::CreateUploadLocationResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::CreateUploadLocationRequest* request, - ::flyteidl::service::CreateUploadLocationResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateUploadLocation(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateUploadLocation( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::CreateUploadLocationRequest, ::flyteidl::service::CreateUploadLocationResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::CreateUploadLocationRequest, ::flyteidl::service::CreateUploadLocationResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateUploadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateDownloadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateDownloadLocation() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::CreateDownloadLocationRequest, ::flyteidl::service::CreateDownloadLocationResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::CreateDownloadLocationRequest* request, - ::flyteidl::service::CreateDownloadLocationResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateDownloadLocation(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateDownloadLocation( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::CreateDownloadLocationRequest, ::flyteidl::service::CreateDownloadLocationResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::CreateDownloadLocationRequest, ::flyteidl::service::CreateDownloadLocationResponse>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateDownloadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_CreateDownloadLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateDownloadLink() { - ::grpc::Service::experimental().MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::CreateDownloadLinkRequest, ::flyteidl::service::CreateDownloadLinkResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::CreateDownloadLinkRequest* request, - ::flyteidl::service::CreateDownloadLinkResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateDownloadLink(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateDownloadLink( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::CreateDownloadLinkRequest, ::flyteidl::service::CreateDownloadLinkResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::CreateDownloadLinkRequest, ::flyteidl::service::CreateDownloadLinkResponse>*>( - ::grpc::Service::experimental().GetHandler(2)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateDownloadLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetData() { - ::grpc::Service::experimental().MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::GetDataRequest* request, - ::flyteidl::service::GetDataResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetData(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetData( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>*>( - ::grpc::Service::experimental().GetHandler(3)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_CreateUploadLocation > > > ExperimentalCallbackService; - template - class WithGenericMethod_CreateUploadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateUploadLocation() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_CreateUploadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateDownloadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateDownloadLocation() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_CreateDownloadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_CreateDownloadLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateDownloadLink() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_CreateDownloadLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetData() { - ::grpc::Service::MarkMethodGeneric(3); - } - ~WithGenericMethod_GetData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_CreateUploadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateUploadLocation() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_CreateUploadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateUploadLocation(::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_CreateDownloadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateDownloadLocation() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_CreateDownloadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateDownloadLocation(::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 WithRawMethod_CreateDownloadLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateDownloadLink() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_CreateDownloadLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateDownloadLink(::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(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class WithRawMethod_GetData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetData() { - ::grpc::Service::MarkMethodRaw(3); - } - ~WithRawMethod_GetData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetData(::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(3, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class ExperimentalWithRawCallbackMethod_CreateUploadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateUploadLocation() { - ::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->CreateUploadLocation(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateUploadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateUploadLocation(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateDownloadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateDownloadLocation() { - ::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->CreateDownloadLocation(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateDownloadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateDownloadLocation(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_CreateDownloadLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateDownloadLink() { - ::grpc::Service::experimental().MarkMethodRawCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->CreateDownloadLink(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateDownloadLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateDownloadLink(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetData() { - ::grpc::Service::experimental().MarkMethodRawCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->GetData(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetData(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_CreateUploadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateUploadLocation() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::CreateUploadLocationRequest, ::flyteidl::service::CreateUploadLocationResponse>(std::bind(&WithStreamedUnaryMethod_CreateUploadLocation::StreamedCreateUploadLocation, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateUploadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateUploadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateUploadLocationRequest* request, ::flyteidl::service::CreateUploadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateUploadLocation(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::CreateUploadLocationRequest,::flyteidl::service::CreateUploadLocationResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateDownloadLocation : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateDownloadLocation() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::CreateDownloadLocationRequest, ::flyteidl::service::CreateDownloadLocationResponse>(std::bind(&WithStreamedUnaryMethod_CreateDownloadLocation::StreamedCreateDownloadLocation, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateDownloadLocation() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateDownloadLocation(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::CreateDownloadLocationRequest,::flyteidl::service::CreateDownloadLocationResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_CreateDownloadLink : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateDownloadLink() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::CreateDownloadLinkRequest, ::flyteidl::service::CreateDownloadLinkResponse>(std::bind(&WithStreamedUnaryMethod_CreateDownloadLink::StreamedCreateDownloadLink, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateDownloadLink() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateDownloadLink(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::CreateDownloadLinkRequest,::flyteidl::service::CreateDownloadLinkResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetData : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetData() { - ::grpc::Service::MarkMethodStreamed(3, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>(std::bind(&WithStreamedUnaryMethod_GetData::StreamedGetData, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetData() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetData(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::GetDataRequest,::flyteidl::service::GetDataResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_CreateUploadLocation > > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateUploadLocation > > > StreamedService; -}; - -} // namespace service -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fservice_2fdataproxy_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc deleted file mode 100644 index 8f6df06102..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc +++ /dev/null @@ -1,4341 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/dataproxy.proto - -#include "flyteidl/service/dataproxy.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -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_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fdataproxy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; -namespace flyteidl { -namespace service { -class CreateUploadLocationResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateUploadLocationResponse_default_instance_; -class CreateUploadLocationRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateUploadLocationRequest_default_instance_; -class CreateDownloadLocationRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateDownloadLocationRequest_default_instance_; -class CreateDownloadLocationResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateDownloadLocationResponse_default_instance_; -class CreateDownloadLinkRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::NodeExecutionIdentifier* node_execution_id_; -} _CreateDownloadLinkRequest_default_instance_; -class CreateDownloadLinkResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _CreateDownloadLinkResponse_default_instance_; -class PreSignedURLsDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _PreSignedURLs_default_instance_; -class GetDataRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _GetDataRequest_default_instance_; -class GetDataResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; - const ::flyteidl::core::LiteralMap* literal_map_; - const ::flyteidl::service::PreSignedURLs* pre_signed_urls_; - const ::flyteidl::core::Literal* literal_; -} _GetDataResponse_default_instance_; -} // namespace service -} // namespace flyteidl -static void InitDefaultsCreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_CreateUploadLocationResponse_default_instance_; - new (ptr) ::flyteidl::service::CreateUploadLocationResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::CreateUploadLocationResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsCreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_CreateUploadLocationRequest_default_instance_; - new (ptr) ::flyteidl::service::CreateUploadLocationRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::CreateUploadLocationRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsCreateDownloadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_CreateDownloadLocationRequest_default_instance_; - new (ptr) ::flyteidl::service::CreateDownloadLocationRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::CreateDownloadLocationRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CreateDownloadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateDownloadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; - -static void InitDefaultsCreateDownloadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_CreateDownloadLocationResponse_default_instance_; - new (ptr) ::flyteidl::service::CreateDownloadLocationResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::CreateDownloadLocationResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_CreateDownloadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateDownloadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsCreateDownloadLinkRequest_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_CreateDownloadLinkRequest_default_instance_; - new (ptr) ::flyteidl::service::CreateDownloadLinkRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::CreateDownloadLinkRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_CreateDownloadLinkRequest_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCreateDownloadLinkRequest_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, - &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; - -static void InitDefaultsCreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_CreateDownloadLinkResponse_default_instance_; - new (ptr) ::flyteidl::service::CreateDownloadLinkResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::CreateDownloadLinkResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, - &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base,}}; - -static void InitDefaultsPreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_PreSignedURLs_default_instance_; - new (ptr) ::flyteidl::service::PreSignedURLs(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::PreSignedURLs::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; - -static void InitDefaultsGetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_GetDataRequest_default_instance_; - new (ptr) ::flyteidl::service::GetDataRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::GetDataRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto}, {}}; - -static void InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_GetDataResponse_default_instance_; - new (ptr) ::flyteidl::service::GetDataResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::GetDataResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base,}}; - -void InitDefaults_flyteidl_2fservice_2fdataproxy_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateDownloadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateDownloadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateDownloadLinkRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[9]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fservice_2fdataproxy_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fdataproxy_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fdataproxy_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, signed_url_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, native_url_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationResponse, expires_at_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, project_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, filename_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, expires_in_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, content_md5_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateUploadLocationRequest, filename_root_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLocationRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLocationRequest, native_url_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLocationRequest, expires_in_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLocationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLocationResponse, signed_url_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLocationResponse, expires_at_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkRequest, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkRequest, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkRequest, artifact_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkRequest, expires_in_), - offsetof(::flyteidl::service::CreateDownloadLinkRequestDefaultTypeInternal, node_execution_id_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkRequest, source_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkResponse, signed_url_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkResponse, expires_at_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkResponse, pre_signed_urls_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PreSignedURLs, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PreSignedURLs, signed_url_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::PreSignedURLs, expires_at_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, flyte_url_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, _oneof_case_[0]), - ~0u, // no _weak_field_map_ - offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, literal_map_), - offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, pre_signed_urls_), - offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, literal_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, data_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::service::CreateUploadLocationResponse)}, - { 8, -1, sizeof(::flyteidl::service::CreateUploadLocationRequest)}, - { 19, -1, sizeof(::flyteidl::service::CreateDownloadLocationRequest)}, - { 26, -1, sizeof(::flyteidl::service::CreateDownloadLocationResponse)}, - { 33, -1, sizeof(::flyteidl::service::CreateDownloadLinkRequest)}, - { 42, -1, sizeof(::flyteidl::service::CreateDownloadLinkResponse)}, - { 50, -1, sizeof(::flyteidl::service::PreSignedURLs)}, - { 57, -1, sizeof(::flyteidl::service::GetDataRequest)}, - { 63, -1, sizeof(::flyteidl::service::GetDataResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::service::_CreateUploadLocationResponse_default_instance_), - reinterpret_cast(&::flyteidl::service::_CreateUploadLocationRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_CreateDownloadLocationRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_CreateDownloadLocationResponse_default_instance_), - reinterpret_cast(&::flyteidl::service::_CreateDownloadLinkRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_CreateDownloadLinkResponse_default_instance_), - reinterpret_cast(&::flyteidl::service::_PreSignedURLs_default_instance_), - reinterpret_cast(&::flyteidl::service::_GetDataRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_GetDataResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto = { - {}, AddDescriptors_flyteidl_2fservice_2fdataproxy_2eproto, "flyteidl/service/dataproxy.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fservice_2fdataproxy_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto, 9, file_level_enum_descriptors_flyteidl_2fservice_2fdataproxy_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fdataproxy_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fservice_2fdataproxy_2eproto[] = - "\n flyteidl/service/dataproxy.proto\022\020flyt" - "eidl.service\032\034google/api/annotations.pro" - "to\032\036google/protobuf/duration.proto\032\037goog" - "le/protobuf/timestamp.proto\032\036flyteidl/co" - "re/identifier.proto\032\034flyteidl/core/liter" - "als.proto\"v\n\034CreateUploadLocationRespons" - "e\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(" - "\t\022.\n\nexpires_at\030\003 \001(\0132\032.google.protobuf." - "Timestamp\"\253\001\n\033CreateUploadLocationReques" - "t\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010fi" - "lename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.googl" - "e.protobuf.Duration\022\023\n\013content_md5\030\005 \001(\014" - "\022\025\n\rfilename_root\030\006 \001(\t\"f\n\035CreateDownloa" - "dLocationRequest\022\022\n\nnative_url\030\001 \001(\t\022-\n\n" - "expires_in\030\002 \001(\0132\031.google.protobuf.Durat" - "ion:\002\030\001\"h\n\036CreateDownloadLocationRespons" - "e\022\022\n\nsigned_url\030\001 \001(\t\022.\n\nexpires_at\030\002 \001(" - "\0132\032.google.protobuf.Timestamp:\002\030\001\"\320\001\n\031Cr" - "eateDownloadLinkRequest\0225\n\rartifact_type" - "\030\001 \001(\0162\036.flyteidl.service.ArtifactType\022-" - "\n\nexpires_in\030\002 \001(\0132\031.google.protobuf.Dur" - "ation\022C\n\021node_execution_id\030\003 \001(\0132&.flyte" - "idl.core.NodeExecutionIdentifierH\000B\010\n\006so" - "urce\"\242\001\n\032CreateDownloadLinkResponse\022\026\n\ns" - "igned_url\030\001 \003(\tB\002\030\001\0222\n\nexpires_at\030\002 \001(\0132" - "\032.google.protobuf.TimestampB\002\030\001\0228\n\017pre_s" - "igned_urls\030\003 \001(\0132\037.flyteidl.service.PreS" - "ignedURLs\"S\n\rPreSignedURLs\022\022\n\nsigned_url" - "\030\001 \003(\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.prot" - "obuf.Timestamp\"#\n\016GetDataRequest\022\021\n\tflyt" - "e_url\030\001 \001(\t\"\262\001\n\017GetDataResponse\0220\n\013liter" - "al_map\030\001 \001(\0132\031.flyteidl.core.LiteralMapH" - "\000\022:\n\017pre_signed_urls\030\002 \001(\0132\037.flyteidl.se" - "rvice.PreSignedURLsH\000\022)\n\007literal\030\003 \001(\0132\026" - ".flyteidl.core.LiteralH\000B\006\n\004data*C\n\014Arti" - "factType\022\033\n\027ARTIFACT_TYPE_UNDEFINED\020\000\022\026\n" - "\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020DataProxyServi" - "ce\022\240\001\n\024CreateUploadLocation\022-.flyteidl.s" - "ervice.CreateUploadLocationRequest\032..fly" - "teidl.service.CreateUploadLocationRespon" - "se\")\202\323\344\223\002#\"\036/api/v1/dataproxy/artifact_u" - "rn:\001*\022\246\001\n\026CreateDownloadLocation\022/.flyte" - "idl.service.CreateDownloadLocationReques" - "t\0320.flyteidl.service.CreateDownloadLocat" - "ionResponse\")\210\002\001\202\323\344\223\002 \022\036/api/v1/dataprox" - "y/artifact_urn\022\233\001\n\022CreateDownloadLink\022+." - "flyteidl.service.CreateDownloadLinkReque" - "st\032,.flyteidl.service.CreateDownloadLink" - "Response\"*\202\323\344\223\002$\"\037/api/v1/dataproxy/arti" - "fact_link:\001*\022d\n\007GetData\022 .flyteidl.servi" - "ce.GetDataRequest\032!.flyteidl.service.Get" - "DataResponse\"\024\202\323\344\223\002\016\022\014/api/v1/dataB\?Z=gi" - "thub.com/flyteorg/flyte/flyteidl/gen/pb-" - "go/flyteidl/serviceb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto = { - false, InitDefaults_flyteidl_2fservice_2fdataproxy_2eproto, - descriptor_table_protodef_flyteidl_2fservice_2fdataproxy_2eproto, - "flyteidl/service/dataproxy.proto", &assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto, 2147, -}; - -void AddDescriptors_flyteidl_2fservice_2fdataproxy_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[5] = - { - ::AddDescriptors_google_2fapi_2fannotations_2eproto, - ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, - ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto, deps, 5); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fservice_2fdataproxy_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fdataproxy_2eproto(); return true; }(); -namespace flyteidl { -namespace service { -const ::google::protobuf::EnumDescriptor* ArtifactType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return file_level_enum_descriptors_flyteidl_2fservice_2fdataproxy_2eproto[0]; -} -bool ArtifactType_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - - -// =================================================================== - -void CreateUploadLocationResponse::InitAsDefaultInstance() { - ::flyteidl::service::_CreateUploadLocationResponse_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class CreateUploadLocationResponse::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& expires_at(const CreateUploadLocationResponse* msg); -}; - -const ::google::protobuf::Timestamp& -CreateUploadLocationResponse::HasBitSetters::expires_at(const CreateUploadLocationResponse* msg) { - return *msg->expires_at_; -} -void CreateUploadLocationResponse::clear_expires_at() { - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateUploadLocationResponse::kSignedUrlFieldNumber; -const int CreateUploadLocationResponse::kNativeUrlFieldNumber; -const int CreateUploadLocationResponse::kExpiresAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateUploadLocationResponse::CreateUploadLocationResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.CreateUploadLocationResponse) -} -CreateUploadLocationResponse::CreateUploadLocationResponse(const CreateUploadLocationResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - signed_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.signed_url().size() > 0) { - signed_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signed_url_); - } - native_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.native_url().size() > 0) { - native_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.native_url_); - } - if (from.has_expires_at()) { - expires_at_ = new ::google::protobuf::Timestamp(*from.expires_at_); - } else { - expires_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateUploadLocationResponse) -} - -void CreateUploadLocationResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - signed_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - native_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - expires_at_ = nullptr; -} - -CreateUploadLocationResponse::~CreateUploadLocationResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.CreateUploadLocationResponse) - SharedDtor(); -} - -void CreateUploadLocationResponse::SharedDtor() { - signed_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - native_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete expires_at_; -} - -void CreateUploadLocationResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateUploadLocationResponse& CreateUploadLocationResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void CreateUploadLocationResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.CreateUploadLocationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signed_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - native_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateUploadLocationResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string signed_url = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateUploadLocationResponse.signed_url"); - object = msg->mutable_signed_url(); - 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 native_url = 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.service.CreateUploadLocationResponse.native_url"); - object = msg->mutable_native_url(); - 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; - } - // .google.protobuf.Timestamp expires_at = 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 = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_expires_at(); - 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 CreateUploadLocationResponse::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.CreateUploadLocationResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string signed_url = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_signed_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url().data(), static_cast(this->signed_url().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateUploadLocationResponse.signed_url")); - } else { - goto handle_unusual; - } - break; - } - - // string native_url = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_native_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->native_url().data(), static_cast(this->native_url().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateUploadLocationResponse.native_url")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp expires_at = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_at())); - } 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.CreateUploadLocationResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.CreateUploadLocationResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateUploadLocationResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.CreateUploadLocationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signed_url = 1; - if (this->signed_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url().data(), static_cast(this->signed_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationResponse.signed_url"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->signed_url(), output); - } - - // string native_url = 2; - if (this->native_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->native_url().data(), static_cast(this->native_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationResponse.native_url"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->native_url(), output); - } - - // .google.protobuf.Timestamp expires_at = 3; - if (this->has_expires_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::expires_at(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.CreateUploadLocationResponse) -} - -::google::protobuf::uint8* CreateUploadLocationResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.CreateUploadLocationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signed_url = 1; - if (this->signed_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url().data(), static_cast(this->signed_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationResponse.signed_url"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->signed_url(), target); - } - - // string native_url = 2; - if (this->native_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->native_url().data(), static_cast(this->native_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationResponse.native_url"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->native_url(), target); - } - - // .google.protobuf.Timestamp expires_at = 3; - if (this->has_expires_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::expires_at(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.CreateUploadLocationResponse) - return target; -} - -size_t CreateUploadLocationResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.CreateUploadLocationResponse) - 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 signed_url = 1; - if (this->signed_url().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->signed_url()); - } - - // string native_url = 2; - if (this->native_url().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->native_url()); - } - - // .google.protobuf.Timestamp expires_at = 3; - if (this->has_expires_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateUploadLocationResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.CreateUploadLocationResponse) - GOOGLE_DCHECK_NE(&from, this); - const CreateUploadLocationResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.CreateUploadLocationResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.CreateUploadLocationResponse) - MergeFrom(*source); - } -} - -void CreateUploadLocationResponse::MergeFrom(const CreateUploadLocationResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.CreateUploadLocationResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.signed_url().size() > 0) { - - signed_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signed_url_); - } - if (from.native_url().size() > 0) { - - native_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.native_url_); - } - if (from.has_expires_at()) { - mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); - } -} - -void CreateUploadLocationResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.CreateUploadLocationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateUploadLocationResponse::CopyFrom(const CreateUploadLocationResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.CreateUploadLocationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateUploadLocationResponse::IsInitialized() const { - return true; -} - -void CreateUploadLocationResponse::Swap(CreateUploadLocationResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateUploadLocationResponse::InternalSwap(CreateUploadLocationResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - signed_url_.Swap(&other->signed_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - native_url_.Swap(&other->native_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(expires_at_, other->expires_at_); -} - -::google::protobuf::Metadata CreateUploadLocationResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateUploadLocationRequest::InitAsDefaultInstance() { - ::flyteidl::service::_CreateUploadLocationRequest_default_instance_._instance.get_mutable()->expires_in_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class CreateUploadLocationRequest::HasBitSetters { - public: - static const ::google::protobuf::Duration& expires_in(const CreateUploadLocationRequest* msg); -}; - -const ::google::protobuf::Duration& -CreateUploadLocationRequest::HasBitSetters::expires_in(const CreateUploadLocationRequest* msg) { - return *msg->expires_in_; -} -void CreateUploadLocationRequest::clear_expires_in() { - if (GetArenaNoVirtual() == nullptr && expires_in_ != nullptr) { - delete expires_in_; - } - expires_in_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateUploadLocationRequest::kProjectFieldNumber; -const int CreateUploadLocationRequest::kDomainFieldNumber; -const int CreateUploadLocationRequest::kFilenameFieldNumber; -const int CreateUploadLocationRequest::kExpiresInFieldNumber; -const int CreateUploadLocationRequest::kContentMd5FieldNumber; -const int CreateUploadLocationRequest::kFilenameRootFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateUploadLocationRequest::CreateUploadLocationRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.CreateUploadLocationRequest) -} -CreateUploadLocationRequest::CreateUploadLocationRequest(const CreateUploadLocationRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.project().size() > 0) { - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.domain().size() > 0) { - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filename().size() > 0) { - filename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_); - } - content_md5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.content_md5().size() > 0) { - content_md5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.content_md5_); - } - filename_root_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.filename_root().size() > 0) { - filename_root_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_root_); - } - if (from.has_expires_in()) { - expires_in_ = new ::google::protobuf::Duration(*from.expires_in_); - } else { - expires_in_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateUploadLocationRequest) -} - -void CreateUploadLocationRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - content_md5_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filename_root_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - expires_in_ = nullptr; -} - -CreateUploadLocationRequest::~CreateUploadLocationRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.CreateUploadLocationRequest) - SharedDtor(); -} - -void CreateUploadLocationRequest::SharedDtor() { - project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - content_md5_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filename_root_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete expires_in_; -} - -void CreateUploadLocationRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateUploadLocationRequest& CreateUploadLocationRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void CreateUploadLocationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.CreateUploadLocationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - content_md5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - filename_root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && expires_in_ != nullptr) { - delete expires_in_; - } - expires_in_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateUploadLocationRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string project = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateUploadLocationRequest.project"); - object = msg->mutable_project(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string domain = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateUploadLocationRequest.domain"); - object = msg->mutable_domain(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string filename = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateUploadLocationRequest.filename"); - object = msg->mutable_filename(); - 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; - } - // .google.protobuf.Duration expires_in = 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 = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_expires_in(); - 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; - } - // bytes content_md5 = 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); - object = msg->mutable_content_md5(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParser; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - break; - } - // string filename_root = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateUploadLocationRequest.filename_root"); - object = msg->mutable_filename_root(); - 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 CreateUploadLocationRequest::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.CreateUploadLocationRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string project = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_project())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateUploadLocationRequest.project")); - } else { - goto handle_unusual; - } - break; - } - - // string domain = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_domain())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateUploadLocationRequest.domain")); - } else { - goto handle_unusual; - } - break; - } - - // string filename = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filename())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filename().data(), static_cast(this->filename().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateUploadLocationRequest.filename")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration expires_in = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_in())); - } else { - goto handle_unusual; - } - break; - } - - // bytes content_md5 = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_content_md5())); - } else { - goto handle_unusual; - } - break; - } - - // string filename_root = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_filename_root())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filename_root().data(), static_cast(this->filename_root().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateUploadLocationRequest.filename_root")); - } 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.CreateUploadLocationRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.CreateUploadLocationRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateUploadLocationRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.CreateUploadLocationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.project"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->project(), output); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.domain"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->domain(), output); - } - - // string filename = 3; - if (this->filename().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filename().data(), static_cast(this->filename().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.filename"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->filename(), output); - } - - // .google.protobuf.Duration expires_in = 4; - if (this->has_expires_in()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::expires_in(this), output); - } - - // bytes content_md5 = 5; - if (this->content_md5().size() > 0) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 5, this->content_md5(), output); - } - - // string filename_root = 6; - if (this->filename_root().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filename_root().data(), static_cast(this->filename_root().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.filename_root"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->filename_root(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.CreateUploadLocationRequest) -} - -::google::protobuf::uint8* CreateUploadLocationRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.CreateUploadLocationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->project().data(), static_cast(this->project().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.project"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->project(), target); - } - - // string domain = 2; - if (this->domain().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->domain().data(), static_cast(this->domain().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.domain"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->domain(), target); - } - - // string filename = 3; - if (this->filename().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filename().data(), static_cast(this->filename().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.filename"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->filename(), target); - } - - // .google.protobuf.Duration expires_in = 4; - if (this->has_expires_in()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::expires_in(this), target); - } - - // bytes content_md5 = 5; - if (this->content_md5().size() > 0) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 5, this->content_md5(), target); - } - - // string filename_root = 6; - if (this->filename_root().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->filename_root().data(), static_cast(this->filename_root().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateUploadLocationRequest.filename_root"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->filename_root(), 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.CreateUploadLocationRequest) - return target; -} - -size_t CreateUploadLocationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.CreateUploadLocationRequest) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // string project = 1; - if (this->project().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->project()); - } - - // string domain = 2; - if (this->domain().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->domain()); - } - - // string filename = 3; - if (this->filename().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filename()); - } - - // bytes content_md5 = 5; - if (this->content_md5().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->content_md5()); - } - - // string filename_root = 6; - if (this->filename_root().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->filename_root()); - } - - // .google.protobuf.Duration expires_in = 4; - if (this->has_expires_in()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_in_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateUploadLocationRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.CreateUploadLocationRequest) - GOOGLE_DCHECK_NE(&from, this); - const CreateUploadLocationRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.CreateUploadLocationRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.CreateUploadLocationRequest) - MergeFrom(*source); - } -} - -void CreateUploadLocationRequest::MergeFrom(const CreateUploadLocationRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.CreateUploadLocationRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.project().size() > 0) { - - project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); - } - if (from.domain().size() > 0) { - - domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); - } - if (from.filename().size() > 0) { - - filename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_); - } - if (from.content_md5().size() > 0) { - - content_md5_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.content_md5_); - } - if (from.filename_root().size() > 0) { - - filename_root_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.filename_root_); - } - if (from.has_expires_in()) { - mutable_expires_in()->::google::protobuf::Duration::MergeFrom(from.expires_in()); - } -} - -void CreateUploadLocationRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.CreateUploadLocationRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateUploadLocationRequest::CopyFrom(const CreateUploadLocationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.CreateUploadLocationRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateUploadLocationRequest::IsInitialized() const { - return true; -} - -void CreateUploadLocationRequest::Swap(CreateUploadLocationRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateUploadLocationRequest::InternalSwap(CreateUploadLocationRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filename_.Swap(&other->filename_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - content_md5_.Swap(&other->content_md5_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - filename_root_.Swap(&other->filename_root_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(expires_in_, other->expires_in_); -} - -::google::protobuf::Metadata CreateUploadLocationRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateDownloadLocationRequest::InitAsDefaultInstance() { - ::flyteidl::service::_CreateDownloadLocationRequest_default_instance_._instance.get_mutable()->expires_in_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); -} -class CreateDownloadLocationRequest::HasBitSetters { - public: - static const ::google::protobuf::Duration& expires_in(const CreateDownloadLocationRequest* msg); -}; - -const ::google::protobuf::Duration& -CreateDownloadLocationRequest::HasBitSetters::expires_in(const CreateDownloadLocationRequest* msg) { - return *msg->expires_in_; -} -void CreateDownloadLocationRequest::clear_expires_in() { - if (GetArenaNoVirtual() == nullptr && expires_in_ != nullptr) { - delete expires_in_; - } - expires_in_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateDownloadLocationRequest::kNativeUrlFieldNumber; -const int CreateDownloadLocationRequest::kExpiresInFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateDownloadLocationRequest::CreateDownloadLocationRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.CreateDownloadLocationRequest) -} -CreateDownloadLocationRequest::CreateDownloadLocationRequest(const CreateDownloadLocationRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - native_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.native_url().size() > 0) { - native_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.native_url_); - } - if (from.has_expires_in()) { - expires_in_ = new ::google::protobuf::Duration(*from.expires_in_); - } else { - expires_in_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateDownloadLocationRequest) -} - -void CreateDownloadLocationRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateDownloadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - native_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - expires_in_ = nullptr; -} - -CreateDownloadLocationRequest::~CreateDownloadLocationRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.CreateDownloadLocationRequest) - SharedDtor(); -} - -void CreateDownloadLocationRequest::SharedDtor() { - native_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete expires_in_; -} - -void CreateDownloadLocationRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateDownloadLocationRequest& CreateDownloadLocationRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateDownloadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void CreateDownloadLocationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.CreateDownloadLocationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - native_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && expires_in_ != nullptr) { - delete expires_in_; - } - expires_in_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateDownloadLocationRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string native_url = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateDownloadLocationRequest.native_url"); - object = msg->mutable_native_url(); - 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; - } - // .google.protobuf.Duration expires_in = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_expires_in(); - 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 CreateDownloadLocationRequest::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.CreateDownloadLocationRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string native_url = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_native_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->native_url().data(), static_cast(this->native_url().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateDownloadLocationRequest.native_url")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration expires_in = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_in())); - } 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.CreateDownloadLocationRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.CreateDownloadLocationRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateDownloadLocationRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.CreateDownloadLocationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string native_url = 1; - if (this->native_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->native_url().data(), static_cast(this->native_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateDownloadLocationRequest.native_url"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->native_url(), output); - } - - // .google.protobuf.Duration expires_in = 2; - if (this->has_expires_in()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::expires_in(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.CreateDownloadLocationRequest) -} - -::google::protobuf::uint8* CreateDownloadLocationRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.CreateDownloadLocationRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string native_url = 1; - if (this->native_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->native_url().data(), static_cast(this->native_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateDownloadLocationRequest.native_url"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->native_url(), target); - } - - // .google.protobuf.Duration expires_in = 2; - if (this->has_expires_in()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::expires_in(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.CreateDownloadLocationRequest) - return target; -} - -size_t CreateDownloadLocationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.CreateDownloadLocationRequest) - 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 native_url = 1; - if (this->native_url().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->native_url()); - } - - // .google.protobuf.Duration expires_in = 2; - if (this->has_expires_in()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_in_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateDownloadLocationRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.CreateDownloadLocationRequest) - GOOGLE_DCHECK_NE(&from, this); - const CreateDownloadLocationRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.CreateDownloadLocationRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.CreateDownloadLocationRequest) - MergeFrom(*source); - } -} - -void CreateDownloadLocationRequest::MergeFrom(const CreateDownloadLocationRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.CreateDownloadLocationRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.native_url().size() > 0) { - - native_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.native_url_); - } - if (from.has_expires_in()) { - mutable_expires_in()->::google::protobuf::Duration::MergeFrom(from.expires_in()); - } -} - -void CreateDownloadLocationRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.CreateDownloadLocationRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateDownloadLocationRequest::CopyFrom(const CreateDownloadLocationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.CreateDownloadLocationRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateDownloadLocationRequest::IsInitialized() const { - return true; -} - -void CreateDownloadLocationRequest::Swap(CreateDownloadLocationRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateDownloadLocationRequest::InternalSwap(CreateDownloadLocationRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - native_url_.Swap(&other->native_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(expires_in_, other->expires_in_); -} - -::google::protobuf::Metadata CreateDownloadLocationRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateDownloadLocationResponse::InitAsDefaultInstance() { - ::flyteidl::service::_CreateDownloadLocationResponse_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class CreateDownloadLocationResponse::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& expires_at(const CreateDownloadLocationResponse* msg); -}; - -const ::google::protobuf::Timestamp& -CreateDownloadLocationResponse::HasBitSetters::expires_at(const CreateDownloadLocationResponse* msg) { - return *msg->expires_at_; -} -void CreateDownloadLocationResponse::clear_expires_at() { - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateDownloadLocationResponse::kSignedUrlFieldNumber; -const int CreateDownloadLocationResponse::kExpiresAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateDownloadLocationResponse::CreateDownloadLocationResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.CreateDownloadLocationResponse) -} -CreateDownloadLocationResponse::CreateDownloadLocationResponse(const CreateDownloadLocationResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - signed_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.signed_url().size() > 0) { - signed_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signed_url_); - } - if (from.has_expires_at()) { - expires_at_ = new ::google::protobuf::Timestamp(*from.expires_at_); - } else { - expires_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateDownloadLocationResponse) -} - -void CreateDownloadLocationResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateDownloadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - signed_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - expires_at_ = nullptr; -} - -CreateDownloadLocationResponse::~CreateDownloadLocationResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.CreateDownloadLocationResponse) - SharedDtor(); -} - -void CreateDownloadLocationResponse::SharedDtor() { - signed_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete expires_at_; -} - -void CreateDownloadLocationResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateDownloadLocationResponse& CreateDownloadLocationResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateDownloadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void CreateDownloadLocationResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.CreateDownloadLocationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signed_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateDownloadLocationResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string signed_url = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateDownloadLocationResponse.signed_url"); - object = msg->mutable_signed_url(); - 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; - } - // .google.protobuf.Timestamp expires_at = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_expires_at(); - 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 CreateDownloadLocationResponse::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.CreateDownloadLocationResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string signed_url = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_signed_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url().data(), static_cast(this->signed_url().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateDownloadLocationResponse.signed_url")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp expires_at = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_at())); - } 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.CreateDownloadLocationResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.CreateDownloadLocationResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateDownloadLocationResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.CreateDownloadLocationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signed_url = 1; - if (this->signed_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url().data(), static_cast(this->signed_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateDownloadLocationResponse.signed_url"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->signed_url(), output); - } - - // .google.protobuf.Timestamp expires_at = 2; - if (this->has_expires_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::expires_at(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.CreateDownloadLocationResponse) -} - -::google::protobuf::uint8* CreateDownloadLocationResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.CreateDownloadLocationResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string signed_url = 1; - if (this->signed_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url().data(), static_cast(this->signed_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateDownloadLocationResponse.signed_url"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->signed_url(), target); - } - - // .google.protobuf.Timestamp expires_at = 2; - if (this->has_expires_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::expires_at(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.CreateDownloadLocationResponse) - return target; -} - -size_t CreateDownloadLocationResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.CreateDownloadLocationResponse) - 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 signed_url = 1; - if (this->signed_url().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->signed_url()); - } - - // .google.protobuf.Timestamp expires_at = 2; - if (this->has_expires_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateDownloadLocationResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.CreateDownloadLocationResponse) - GOOGLE_DCHECK_NE(&from, this); - const CreateDownloadLocationResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.CreateDownloadLocationResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.CreateDownloadLocationResponse) - MergeFrom(*source); - } -} - -void CreateDownloadLocationResponse::MergeFrom(const CreateDownloadLocationResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.CreateDownloadLocationResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.signed_url().size() > 0) { - - signed_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.signed_url_); - } - if (from.has_expires_at()) { - mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); - } -} - -void CreateDownloadLocationResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.CreateDownloadLocationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateDownloadLocationResponse::CopyFrom(const CreateDownloadLocationResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.CreateDownloadLocationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateDownloadLocationResponse::IsInitialized() const { - return true; -} - -void CreateDownloadLocationResponse::Swap(CreateDownloadLocationResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateDownloadLocationResponse::InternalSwap(CreateDownloadLocationResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - signed_url_.Swap(&other->signed_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(expires_at_, other->expires_at_); -} - -::google::protobuf::Metadata CreateDownloadLocationResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateDownloadLinkRequest::InitAsDefaultInstance() { - ::flyteidl::service::_CreateDownloadLinkRequest_default_instance_._instance.get_mutable()->expires_in_ = const_cast< ::google::protobuf::Duration*>( - ::google::protobuf::Duration::internal_default_instance()); - ::flyteidl::service::_CreateDownloadLinkRequest_default_instance_.node_execution_id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( - ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); -} -class CreateDownloadLinkRequest::HasBitSetters { - public: - static const ::google::protobuf::Duration& expires_in(const CreateDownloadLinkRequest* msg); - static const ::flyteidl::core::NodeExecutionIdentifier& node_execution_id(const CreateDownloadLinkRequest* msg); -}; - -const ::google::protobuf::Duration& -CreateDownloadLinkRequest::HasBitSetters::expires_in(const CreateDownloadLinkRequest* msg) { - return *msg->expires_in_; -} -const ::flyteidl::core::NodeExecutionIdentifier& -CreateDownloadLinkRequest::HasBitSetters::node_execution_id(const CreateDownloadLinkRequest* msg) { - return *msg->source_.node_execution_id_; -} -void CreateDownloadLinkRequest::clear_expires_in() { - if (GetArenaNoVirtual() == nullptr && expires_in_ != nullptr) { - delete expires_in_; - } - expires_in_ = nullptr; -} -void CreateDownloadLinkRequest::set_allocated_node_execution_id(::flyteidl::core::NodeExecutionIdentifier* node_execution_id) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_source(); - 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); - } - set_has_node_execution_id(); - source_.node_execution_id_ = node_execution_id; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLinkRequest.node_execution_id) -} -void CreateDownloadLinkRequest::clear_node_execution_id() { - if (has_node_execution_id()) { - delete source_.node_execution_id_; - clear_has_source(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateDownloadLinkRequest::kArtifactTypeFieldNumber; -const int CreateDownloadLinkRequest::kExpiresInFieldNumber; -const int CreateDownloadLinkRequest::kNodeExecutionIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateDownloadLinkRequest::CreateDownloadLinkRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.CreateDownloadLinkRequest) -} -CreateDownloadLinkRequest::CreateDownloadLinkRequest(const CreateDownloadLinkRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_expires_in()) { - expires_in_ = new ::google::protobuf::Duration(*from.expires_in_); - } else { - expires_in_ = nullptr; - } - artifact_type_ = from.artifact_type_; - clear_has_source(); - switch (from.source_case()) { - case kNodeExecutionId: { - mutable_node_execution_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_execution_id()); - break; - } - case SOURCE_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateDownloadLinkRequest) -} - -void CreateDownloadLinkRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateDownloadLinkRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::memset(&expires_in_, 0, static_cast( - reinterpret_cast(&artifact_type_) - - reinterpret_cast(&expires_in_)) + sizeof(artifact_type_)); - clear_has_source(); -} - -CreateDownloadLinkRequest::~CreateDownloadLinkRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.CreateDownloadLinkRequest) - SharedDtor(); -} - -void CreateDownloadLinkRequest::SharedDtor() { - if (this != internal_default_instance()) delete expires_in_; - if (has_source()) { - clear_source(); - } -} - -void CreateDownloadLinkRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateDownloadLinkRequest& CreateDownloadLinkRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateDownloadLinkRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void CreateDownloadLinkRequest::clear_source() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.service.CreateDownloadLinkRequest) - switch (source_case()) { - case kNodeExecutionId: { - delete source_.node_execution_id_; - break; - } - case SOURCE_NOT_SET: { - break; - } - } - _oneof_case_[0] = SOURCE_NOT_SET; -} - - -void CreateDownloadLinkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.CreateDownloadLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && expires_in_ != nullptr) { - delete expires_in_; - } - expires_in_ = nullptr; - artifact_type_ = 0; - clear_source(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateDownloadLinkRequest::_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.service.ArtifactType artifact_type = 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_artifact_type(static_cast<::flyteidl::service::ArtifactType>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .google.protobuf.Duration expires_in = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Duration::_InternalParse; - object = msg->mutable_expires_in(); - 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.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; - } - 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 CreateDownloadLinkRequest::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.CreateDownloadLinkRequest) - 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.service.ArtifactType artifact_type = 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_artifact_type(static_cast< ::flyteidl::service::ArtifactType >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Duration expires_in = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_in())); - } 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; - } - - 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.CreateDownloadLinkRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.CreateDownloadLinkRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateDownloadLinkRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.CreateDownloadLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.service.ArtifactType artifact_type = 1; - if (this->artifact_type() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->artifact_type(), output); - } - - // .google.protobuf.Duration expires_in = 2; - if (this->has_expires_in()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::expires_in(this), output); - } - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - if (has_node_execution_id()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::node_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.CreateDownloadLinkRequest) -} - -::google::protobuf::uint8* CreateDownloadLinkRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.CreateDownloadLinkRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.service.ArtifactType artifact_type = 1; - if (this->artifact_type() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->artifact_type(), target); - } - - // .google.protobuf.Duration expires_in = 2; - if (this->has_expires_in()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::expires_in(this), target); - } - - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - if (has_node_execution_id()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::node_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.CreateDownloadLinkRequest) - return target; -} - -size_t CreateDownloadLinkRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.CreateDownloadLinkRequest) - 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; - - // .google.protobuf.Duration expires_in = 2; - if (this->has_expires_in()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_in_); - } - - // .flyteidl.service.ArtifactType artifact_type = 1; - if (this->artifact_type() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->artifact_type()); - } - - switch (source_case()) { - // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - case kNodeExecutionId: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *source_.node_execution_id_); - break; - } - case SOURCE_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateDownloadLinkRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.CreateDownloadLinkRequest) - GOOGLE_DCHECK_NE(&from, this); - const CreateDownloadLinkRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.CreateDownloadLinkRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.CreateDownloadLinkRequest) - MergeFrom(*source); - } -} - -void CreateDownloadLinkRequest::MergeFrom(const CreateDownloadLinkRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.CreateDownloadLinkRequest) - 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_expires_in()) { - mutable_expires_in()->::google::protobuf::Duration::MergeFrom(from.expires_in()); - } - if (from.artifact_type() != 0) { - set_artifact_type(from.artifact_type()); - } - switch (from.source_case()) { - case kNodeExecutionId: { - mutable_node_execution_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_execution_id()); - break; - } - case SOURCE_NOT_SET: { - break; - } - } -} - -void CreateDownloadLinkRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.CreateDownloadLinkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateDownloadLinkRequest::CopyFrom(const CreateDownloadLinkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.CreateDownloadLinkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateDownloadLinkRequest::IsInitialized() const { - return true; -} - -void CreateDownloadLinkRequest::Swap(CreateDownloadLinkRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateDownloadLinkRequest::InternalSwap(CreateDownloadLinkRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(expires_in_, other->expires_in_); - swap(artifact_type_, other->artifact_type_); - swap(source_, other->source_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata CreateDownloadLinkRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void CreateDownloadLinkResponse::InitAsDefaultInstance() { - ::flyteidl::service::_CreateDownloadLinkResponse_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); - ::flyteidl::service::_CreateDownloadLinkResponse_default_instance_._instance.get_mutable()->pre_signed_urls_ = const_cast< ::flyteidl::service::PreSignedURLs*>( - ::flyteidl::service::PreSignedURLs::internal_default_instance()); -} -class CreateDownloadLinkResponse::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& expires_at(const CreateDownloadLinkResponse* msg); - static const ::flyteidl::service::PreSignedURLs& pre_signed_urls(const CreateDownloadLinkResponse* msg); -}; - -const ::google::protobuf::Timestamp& -CreateDownloadLinkResponse::HasBitSetters::expires_at(const CreateDownloadLinkResponse* msg) { - return *msg->expires_at_; -} -const ::flyteidl::service::PreSignedURLs& -CreateDownloadLinkResponse::HasBitSetters::pre_signed_urls(const CreateDownloadLinkResponse* msg) { - return *msg->pre_signed_urls_; -} -void CreateDownloadLinkResponse::clear_expires_at() { - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int CreateDownloadLinkResponse::kSignedUrlFieldNumber; -const int CreateDownloadLinkResponse::kExpiresAtFieldNumber; -const int CreateDownloadLinkResponse::kPreSignedUrlsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -CreateDownloadLinkResponse::CreateDownloadLinkResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.CreateDownloadLinkResponse) -} -CreateDownloadLinkResponse::CreateDownloadLinkResponse(const CreateDownloadLinkResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - signed_url_(from.signed_url_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_expires_at()) { - expires_at_ = new ::google::protobuf::Timestamp(*from.expires_at_); - } else { - expires_at_ = nullptr; - } - if (from.has_pre_signed_urls()) { - pre_signed_urls_ = new ::flyteidl::service::PreSignedURLs(*from.pre_signed_urls_); - } else { - pre_signed_urls_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateDownloadLinkResponse) -} - -void CreateDownloadLinkResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - ::memset(&expires_at_, 0, static_cast( - reinterpret_cast(&pre_signed_urls_) - - reinterpret_cast(&expires_at_)) + sizeof(pre_signed_urls_)); -} - -CreateDownloadLinkResponse::~CreateDownloadLinkResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.CreateDownloadLinkResponse) - SharedDtor(); -} - -void CreateDownloadLinkResponse::SharedDtor() { - if (this != internal_default_instance()) delete expires_at_; - if (this != internal_default_instance()) delete pre_signed_urls_; -} - -void CreateDownloadLinkResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const CreateDownloadLinkResponse& CreateDownloadLinkResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void CreateDownloadLinkResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.CreateDownloadLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signed_url_.Clear(); - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; - if (GetArenaNoVirtual() == nullptr && pre_signed_urls_ != nullptr) { - delete pre_signed_urls_; - } - pre_signed_urls_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* CreateDownloadLinkResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string signed_url = 1 [deprecated = true]; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.CreateDownloadLinkResponse.signed_url"); - object = msg->add_signed_url(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_expires_at(); - 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.service.PreSignedURLs pre_signed_urls = 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::service::PreSignedURLs::_InternalParse; - object = msg->mutable_pre_signed_urls(); - 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 CreateDownloadLinkResponse::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.CreateDownloadLinkResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string signed_url = 1 [deprecated = true]; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_signed_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url(this->signed_url_size() - 1).data(), - static_cast(this->signed_url(this->signed_url_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.CreateDownloadLinkResponse.signed_url")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_at())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_pre_signed_urls())); - } 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.CreateDownloadLinkResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.CreateDownloadLinkResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void CreateDownloadLinkResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.CreateDownloadLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string signed_url = 1 [deprecated = true]; - for (int i = 0, n = this->signed_url_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url(i).data(), static_cast(this->signed_url(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateDownloadLinkResponse.signed_url"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->signed_url(i), output); - } - - // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - if (this->has_expires_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::expires_at(this), output); - } - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - if (this->has_pre_signed_urls()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::pre_signed_urls(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.CreateDownloadLinkResponse) -} - -::google::protobuf::uint8* CreateDownloadLinkResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.CreateDownloadLinkResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string signed_url = 1 [deprecated = true]; - for (int i = 0, n = this->signed_url_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url(i).data(), static_cast(this->signed_url(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.CreateDownloadLinkResponse.signed_url"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->signed_url(i), target); - } - - // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - if (this->has_expires_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::expires_at(this), target); - } - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - if (this->has_pre_signed_urls()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::pre_signed_urls(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.CreateDownloadLinkResponse) - return target; -} - -size_t CreateDownloadLinkResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.CreateDownloadLinkResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string signed_url = 1 [deprecated = true]; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->signed_url_size()); - for (int i = 0, n = this->signed_url_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->signed_url(i)); - } - - // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - if (this->has_expires_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_at_); - } - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - if (this->has_pre_signed_urls()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *pre_signed_urls_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void CreateDownloadLinkResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.CreateDownloadLinkResponse) - GOOGLE_DCHECK_NE(&from, this); - const CreateDownloadLinkResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.CreateDownloadLinkResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.CreateDownloadLinkResponse) - MergeFrom(*source); - } -} - -void CreateDownloadLinkResponse::MergeFrom(const CreateDownloadLinkResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.CreateDownloadLinkResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - signed_url_.MergeFrom(from.signed_url_); - if (from.has_expires_at()) { - mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); - } - if (from.has_pre_signed_urls()) { - mutable_pre_signed_urls()->::flyteidl::service::PreSignedURLs::MergeFrom(from.pre_signed_urls()); - } -} - -void CreateDownloadLinkResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.CreateDownloadLinkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void CreateDownloadLinkResponse::CopyFrom(const CreateDownloadLinkResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.CreateDownloadLinkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CreateDownloadLinkResponse::IsInitialized() const { - return true; -} - -void CreateDownloadLinkResponse::Swap(CreateDownloadLinkResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void CreateDownloadLinkResponse::InternalSwap(CreateDownloadLinkResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - signed_url_.InternalSwap(CastToBase(&other->signed_url_)); - swap(expires_at_, other->expires_at_); - swap(pre_signed_urls_, other->pre_signed_urls_); -} - -::google::protobuf::Metadata CreateDownloadLinkResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void PreSignedURLs::InitAsDefaultInstance() { - ::flyteidl::service::_PreSignedURLs_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( - ::google::protobuf::Timestamp::internal_default_instance()); -} -class PreSignedURLs::HasBitSetters { - public: - static const ::google::protobuf::Timestamp& expires_at(const PreSignedURLs* msg); -}; - -const ::google::protobuf::Timestamp& -PreSignedURLs::HasBitSetters::expires_at(const PreSignedURLs* msg) { - return *msg->expires_at_; -} -void PreSignedURLs::clear_expires_at() { - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int PreSignedURLs::kSignedUrlFieldNumber; -const int PreSignedURLs::kExpiresAtFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -PreSignedURLs::PreSignedURLs() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.PreSignedURLs) -} -PreSignedURLs::PreSignedURLs(const PreSignedURLs& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr), - signed_url_(from.signed_url_) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_expires_at()) { - expires_at_ = new ::google::protobuf::Timestamp(*from.expires_at_); - } else { - expires_at_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.PreSignedURLs) -} - -void PreSignedURLs::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base); - expires_at_ = nullptr; -} - -PreSignedURLs::~PreSignedURLs() { - // @@protoc_insertion_point(destructor:flyteidl.service.PreSignedURLs) - SharedDtor(); -} - -void PreSignedURLs::SharedDtor() { - if (this != internal_default_instance()) delete expires_at_; -} - -void PreSignedURLs::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const PreSignedURLs& PreSignedURLs::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void PreSignedURLs::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.PreSignedURLs) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - signed_url_.Clear(); - if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { - delete expires_at_; - } - expires_at_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* PreSignedURLs::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // repeated string signed_url = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - do { - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.PreSignedURLs.signed_url"); - object = msg->add_signed_url(); - if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { - parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; - goto string_till_end; - } - GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); - ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); - ptr += size; - if (ptr >= end) break; - } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); - break; - } - // .google.protobuf.Timestamp expires_at = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Timestamp::_InternalParse; - object = msg->mutable_expires_at(); - 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 PreSignedURLs::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.PreSignedURLs) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string signed_url = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->add_signed_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url(this->signed_url_size() - 1).data(), - static_cast(this->signed_url(this->signed_url_size() - 1).length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.PreSignedURLs.signed_url")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Timestamp expires_at = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_expires_at())); - } 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.PreSignedURLs) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.PreSignedURLs) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void PreSignedURLs::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.PreSignedURLs) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string signed_url = 1; - for (int i = 0, n = this->signed_url_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url(i).data(), static_cast(this->signed_url(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PreSignedURLs.signed_url"); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->signed_url(i), output); - } - - // .google.protobuf.Timestamp expires_at = 2; - if (this->has_expires_at()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::expires_at(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.PreSignedURLs) -} - -::google::protobuf::uint8* PreSignedURLs::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.PreSignedURLs) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string signed_url = 1; - for (int i = 0, n = this->signed_url_size(); i < n; i++) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->signed_url(i).data(), static_cast(this->signed_url(i).length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.PreSignedURLs.signed_url"); - target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(1, this->signed_url(i), target); - } - - // .google.protobuf.Timestamp expires_at = 2; - if (this->has_expires_at()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::expires_at(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.PreSignedURLs) - return target; -} - -size_t PreSignedURLs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.PreSignedURLs) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string signed_url = 1; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->signed_url_size()); - for (int i = 0, n = this->signed_url_size(); i < n; i++) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this->signed_url(i)); - } - - // .google.protobuf.Timestamp expires_at = 2; - if (this->has_expires_at()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *expires_at_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void PreSignedURLs::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.PreSignedURLs) - GOOGLE_DCHECK_NE(&from, this); - const PreSignedURLs* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.PreSignedURLs) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.PreSignedURLs) - MergeFrom(*source); - } -} - -void PreSignedURLs::MergeFrom(const PreSignedURLs& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.PreSignedURLs) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - signed_url_.MergeFrom(from.signed_url_); - if (from.has_expires_at()) { - mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); - } -} - -void PreSignedURLs::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.PreSignedURLs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void PreSignedURLs::CopyFrom(const PreSignedURLs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.PreSignedURLs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PreSignedURLs::IsInitialized() const { - return true; -} - -void PreSignedURLs::Swap(PreSignedURLs* other) { - if (other == this) return; - InternalSwap(other); -} -void PreSignedURLs::InternalSwap(PreSignedURLs* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - signed_url_.InternalSwap(CastToBase(&other->signed_url_)); - swap(expires_at_, other->expires_at_); -} - -::google::protobuf::Metadata PreSignedURLs::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetDataRequest::InitAsDefaultInstance() { -} -class GetDataRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetDataRequest::kFlyteUrlFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetDataRequest::GetDataRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.GetDataRequest) -} -GetDataRequest::GetDataRequest(const GetDataRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.flyte_url().size() > 0) { - flyte_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flyte_url_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.GetDataRequest) -} - -void GetDataRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -GetDataRequest::~GetDataRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.GetDataRequest) - SharedDtor(); -} - -void GetDataRequest::SharedDtor() { - flyte_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void GetDataRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetDataRequest& GetDataRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void GetDataRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.GetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - flyte_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetDataRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string flyte_url = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.GetDataRequest.flyte_url"); - object = msg->mutable_flyte_url(); - 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 GetDataRequest::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.GetDataRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string flyte_url = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_flyte_url())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->flyte_url().data(), static_cast(this->flyte_url().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.GetDataRequest.flyte_url")); - } 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.GetDataRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.GetDataRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetDataRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.GetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string flyte_url = 1; - if (this->flyte_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->flyte_url().data(), static_cast(this->flyte_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.GetDataRequest.flyte_url"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->flyte_url(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.GetDataRequest) -} - -::google::protobuf::uint8* GetDataRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.GetDataRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string flyte_url = 1; - if (this->flyte_url().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->flyte_url().data(), static_cast(this->flyte_url().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.GetDataRequest.flyte_url"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->flyte_url(), 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.GetDataRequest) - return target; -} - -size_t GetDataRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.GetDataRequest) - 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 flyte_url = 1; - if (this->flyte_url().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->flyte_url()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetDataRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.GetDataRequest) - GOOGLE_DCHECK_NE(&from, this); - const GetDataRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.GetDataRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.GetDataRequest) - MergeFrom(*source); - } -} - -void GetDataRequest::MergeFrom(const GetDataRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.GetDataRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.flyte_url().size() > 0) { - - flyte_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flyte_url_); - } -} - -void GetDataRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.GetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetDataRequest::CopyFrom(const GetDataRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.GetDataRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetDataRequest::IsInitialized() const { - return true; -} - -void GetDataRequest::Swap(GetDataRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void GetDataRequest::InternalSwap(GetDataRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - flyte_url_.Swap(&other->flyte_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata GetDataRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void GetDataResponse::InitAsDefaultInstance() { - ::flyteidl::service::_GetDataResponse_default_instance_.literal_map_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::service::_GetDataResponse_default_instance_.pre_signed_urls_ = const_cast< ::flyteidl::service::PreSignedURLs*>( - ::flyteidl::service::PreSignedURLs::internal_default_instance()); - ::flyteidl::service::_GetDataResponse_default_instance_.literal_ = const_cast< ::flyteidl::core::Literal*>( - ::flyteidl::core::Literal::internal_default_instance()); -} -class GetDataResponse::HasBitSetters { - public: - static const ::flyteidl::core::LiteralMap& literal_map(const GetDataResponse* msg); - static const ::flyteidl::service::PreSignedURLs& pre_signed_urls(const GetDataResponse* msg); - static const ::flyteidl::core::Literal& literal(const GetDataResponse* msg); -}; - -const ::flyteidl::core::LiteralMap& -GetDataResponse::HasBitSetters::literal_map(const GetDataResponse* msg) { - return *msg->data_.literal_map_; -} -const ::flyteidl::service::PreSignedURLs& -GetDataResponse::HasBitSetters::pre_signed_urls(const GetDataResponse* msg) { - return *msg->data_.pre_signed_urls_; -} -const ::flyteidl::core::Literal& -GetDataResponse::HasBitSetters::literal(const GetDataResponse* msg) { - return *msg->data_.literal_; -} -void GetDataResponse::set_allocated_literal_map(::flyteidl::core::LiteralMap* literal_map) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_data(); - if (literal_map) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - literal_map = ::google::protobuf::internal::GetOwnedMessage( - message_arena, literal_map, submessage_arena); - } - set_has_literal_map(); - data_.literal_map_ = literal_map; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataResponse.literal_map) -} -void GetDataResponse::clear_literal_map() { - if (has_literal_map()) { - delete data_.literal_map_; - clear_has_data(); - } -} -void GetDataResponse::set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_data(); - if (pre_signed_urls) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - pre_signed_urls = ::google::protobuf::internal::GetOwnedMessage( - message_arena, pre_signed_urls, submessage_arena); - } - set_has_pre_signed_urls(); - data_.pre_signed_urls_ = pre_signed_urls; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataResponse.pre_signed_urls) -} -void GetDataResponse::set_allocated_literal(::flyteidl::core::Literal* literal) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - clear_data(); - if (literal) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - literal = ::google::protobuf::internal::GetOwnedMessage( - message_arena, literal, submessage_arena); - } - set_has_literal(); - data_.literal_ = literal; - } - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataResponse.literal) -} -void GetDataResponse::clear_literal() { - if (has_literal()) { - delete data_.literal_; - clear_has_data(); - } -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int GetDataResponse::kLiteralMapFieldNumber; -const int GetDataResponse::kPreSignedUrlsFieldNumber; -const int GetDataResponse::kLiteralFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -GetDataResponse::GetDataResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.GetDataResponse) -} -GetDataResponse::GetDataResponse(const GetDataResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - clear_has_data(); - switch (from.data_case()) { - case kLiteralMap: { - mutable_literal_map()->::flyteidl::core::LiteralMap::MergeFrom(from.literal_map()); - break; - } - case kPreSignedUrls: { - mutable_pre_signed_urls()->::flyteidl::service::PreSignedURLs::MergeFrom(from.pre_signed_urls()); - break; - } - case kLiteral: { - mutable_literal()->::flyteidl::core::Literal::MergeFrom(from.literal()); - break; - } - case DATA_NOT_SET: { - break; - } - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.GetDataResponse) -} - -void GetDataResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - clear_has_data(); -} - -GetDataResponse::~GetDataResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.GetDataResponse) - SharedDtor(); -} - -void GetDataResponse::SharedDtor() { - if (has_data()) { - clear_data(); - } -} - -void GetDataResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const GetDataResponse& GetDataResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - return *internal_default_instance(); -} - - -void GetDataResponse::clear_data() { -// @@protoc_insertion_point(one_of_clear_start:flyteidl.service.GetDataResponse) - switch (data_case()) { - case kLiteralMap: { - delete data_.literal_map_; - break; - } - case kPreSignedUrls: { - delete data_.pre_signed_urls_; - break; - } - case kLiteral: { - delete data_.literal_; - break; - } - case DATA_NOT_SET: { - break; - } - } - _oneof_case_[0] = DATA_NOT_SET; -} - - -void GetDataResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.GetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - clear_data(); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* GetDataResponse::_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.LiteralMap literal_map = 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::LiteralMap::_InternalParse; - object = msg->mutable_literal_map(); - 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.service.PreSignedURLs pre_signed_urls = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::service::PreSignedURLs::_InternalParse; - object = msg->mutable_pre_signed_urls(); - 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.Literal literal = 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::Literal::_InternalParse; - object = msg->mutable_literal(); - 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 GetDataResponse::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.GetDataResponse) - 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.LiteralMap literal_map = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_literal_map())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_pre_signed_urls())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.Literal literal = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_literal())); - } 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.GetDataResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.GetDataResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void GetDataResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.GetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap literal_map = 1; - if (has_literal_map()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::literal_map(this), output); - } - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - if (has_pre_signed_urls()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::pre_signed_urls(this), output); - } - - // .flyteidl.core.Literal literal = 3; - if (has_literal()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::literal(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.GetDataResponse) -} - -::google::protobuf::uint8* GetDataResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.GetDataResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap literal_map = 1; - if (has_literal_map()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::literal_map(this), target); - } - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - if (has_pre_signed_urls()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::pre_signed_urls(this), target); - } - - // .flyteidl.core.Literal literal = 3; - if (has_literal()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::literal(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.GetDataResponse) - return target; -} - -size_t GetDataResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.GetDataResponse) - size_t total_size = 0; - - if (_internal_metadata_.have_unknown_fields()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - _internal_metadata_.unknown_fields()); - } - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - switch (data_case()) { - // .flyteidl.core.LiteralMap literal_map = 1; - case kLiteralMap: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *data_.literal_map_); - break; - } - // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - case kPreSignedUrls: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *data_.pre_signed_urls_); - break; - } - // .flyteidl.core.Literal literal = 3; - case kLiteral: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *data_.literal_); - break; - } - case DATA_NOT_SET: { - break; - } - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void GetDataResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.GetDataResponse) - GOOGLE_DCHECK_NE(&from, this); - const GetDataResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.GetDataResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.GetDataResponse) - MergeFrom(*source); - } -} - -void GetDataResponse::MergeFrom(const GetDataResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.GetDataResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - switch (from.data_case()) { - case kLiteralMap: { - mutable_literal_map()->::flyteidl::core::LiteralMap::MergeFrom(from.literal_map()); - break; - } - case kPreSignedUrls: { - mutable_pre_signed_urls()->::flyteidl::service::PreSignedURLs::MergeFrom(from.pre_signed_urls()); - break; - } - case kLiteral: { - mutable_literal()->::flyteidl::core::Literal::MergeFrom(from.literal()); - break; - } - case DATA_NOT_SET: { - break; - } - } -} - -void GetDataResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.GetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void GetDataResponse::CopyFrom(const GetDataResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.GetDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GetDataResponse::IsInitialized() const { - return true; -} - -void GetDataResponse::Swap(GetDataResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void GetDataResponse::InternalSwap(GetDataResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(data_, other->data_); - swap(_oneof_case_[0], other->_oneof_case_[0]); -} - -::google::protobuf::Metadata GetDataResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateUploadLocationResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateUploadLocationResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateUploadLocationResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateUploadLocationRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateUploadLocationRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateUploadLocationRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLocationRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLocationRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLocationRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLocationResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLocationResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLocationResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLinkRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLinkRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLinkRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLinkResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLinkResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLinkResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::PreSignedURLs* Arena::CreateMaybeMessage< ::flyteidl::service::PreSignedURLs >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::PreSignedURLs >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::GetDataRequest* Arena::CreateMaybeMessage< ::flyteidl::service::GetDataRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::GetDataRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::GetDataResponse* Arena::CreateMaybeMessage< ::flyteidl::service::GetDataResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::GetDataResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.h deleted file mode 100644 index 3332d747b5..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.h +++ /dev/null @@ -1,2731 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/dataproxy.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fdataproxy_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fdataproxy_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 -#include "google/api/annotations.pb.h" -#include -#include -#include "flyteidl/core/identifier.pb.h" -#include "flyteidl/core/literals.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fdataproxy_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fservice_2fdataproxy_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[9] - 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_2fdataproxy_2eproto(); -namespace flyteidl { -namespace service { -class CreateDownloadLinkRequest; -class CreateDownloadLinkRequestDefaultTypeInternal; -extern CreateDownloadLinkRequestDefaultTypeInternal _CreateDownloadLinkRequest_default_instance_; -class CreateDownloadLinkResponse; -class CreateDownloadLinkResponseDefaultTypeInternal; -extern CreateDownloadLinkResponseDefaultTypeInternal _CreateDownloadLinkResponse_default_instance_; -class CreateDownloadLocationRequest; -class CreateDownloadLocationRequestDefaultTypeInternal; -extern CreateDownloadLocationRequestDefaultTypeInternal _CreateDownloadLocationRequest_default_instance_; -class CreateDownloadLocationResponse; -class CreateDownloadLocationResponseDefaultTypeInternal; -extern CreateDownloadLocationResponseDefaultTypeInternal _CreateDownloadLocationResponse_default_instance_; -class CreateUploadLocationRequest; -class CreateUploadLocationRequestDefaultTypeInternal; -extern CreateUploadLocationRequestDefaultTypeInternal _CreateUploadLocationRequest_default_instance_; -class CreateUploadLocationResponse; -class CreateUploadLocationResponseDefaultTypeInternal; -extern CreateUploadLocationResponseDefaultTypeInternal _CreateUploadLocationResponse_default_instance_; -class GetDataRequest; -class GetDataRequestDefaultTypeInternal; -extern GetDataRequestDefaultTypeInternal _GetDataRequest_default_instance_; -class GetDataResponse; -class GetDataResponseDefaultTypeInternal; -extern GetDataResponseDefaultTypeInternal _GetDataResponse_default_instance_; -class PreSignedURLs; -class PreSignedURLsDefaultTypeInternal; -extern PreSignedURLsDefaultTypeInternal _PreSignedURLs_default_instance_; -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::service::CreateDownloadLinkRequest* Arena::CreateMaybeMessage<::flyteidl::service::CreateDownloadLinkRequest>(Arena*); -template<> ::flyteidl::service::CreateDownloadLinkResponse* Arena::CreateMaybeMessage<::flyteidl::service::CreateDownloadLinkResponse>(Arena*); -template<> ::flyteidl::service::CreateDownloadLocationRequest* Arena::CreateMaybeMessage<::flyteidl::service::CreateDownloadLocationRequest>(Arena*); -template<> ::flyteidl::service::CreateDownloadLocationResponse* Arena::CreateMaybeMessage<::flyteidl::service::CreateDownloadLocationResponse>(Arena*); -template<> ::flyteidl::service::CreateUploadLocationRequest* Arena::CreateMaybeMessage<::flyteidl::service::CreateUploadLocationRequest>(Arena*); -template<> ::flyteidl::service::CreateUploadLocationResponse* Arena::CreateMaybeMessage<::flyteidl::service::CreateUploadLocationResponse>(Arena*); -template<> ::flyteidl::service::GetDataRequest* Arena::CreateMaybeMessage<::flyteidl::service::GetDataRequest>(Arena*); -template<> ::flyteidl::service::GetDataResponse* Arena::CreateMaybeMessage<::flyteidl::service::GetDataResponse>(Arena*); -template<> ::flyteidl::service::PreSignedURLs* Arena::CreateMaybeMessage<::flyteidl::service::PreSignedURLs>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace service { - -enum ArtifactType { - ARTIFACT_TYPE_UNDEFINED = 0, - ARTIFACT_TYPE_DECK = 1, - ArtifactType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - ArtifactType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool ArtifactType_IsValid(int value); -const ArtifactType ArtifactType_MIN = ARTIFACT_TYPE_UNDEFINED; -const ArtifactType ArtifactType_MAX = ARTIFACT_TYPE_DECK; -const int ArtifactType_ARRAYSIZE = ArtifactType_MAX + 1; - -const ::google::protobuf::EnumDescriptor* ArtifactType_descriptor(); -inline const ::std::string& ArtifactType_Name(ArtifactType value) { - return ::google::protobuf::internal::NameOfEnum( - ArtifactType_descriptor(), value); -} -inline bool ArtifactType_Parse( - const ::std::string& name, ArtifactType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ArtifactType_descriptor(), name, value); -} -// =================================================================== - -class CreateUploadLocationResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.CreateUploadLocationResponse) */ { - public: - CreateUploadLocationResponse(); - virtual ~CreateUploadLocationResponse(); - - CreateUploadLocationResponse(const CreateUploadLocationResponse& from); - - inline CreateUploadLocationResponse& operator=(const CreateUploadLocationResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateUploadLocationResponse(CreateUploadLocationResponse&& from) noexcept - : CreateUploadLocationResponse() { - *this = ::std::move(from); - } - - inline CreateUploadLocationResponse& operator=(CreateUploadLocationResponse&& 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 CreateUploadLocationResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateUploadLocationResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateUploadLocationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(CreateUploadLocationResponse* other); - friend void swap(CreateUploadLocationResponse& a, CreateUploadLocationResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateUploadLocationResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateUploadLocationResponse* 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 CreateUploadLocationResponse& from); - void MergeFrom(const CreateUploadLocationResponse& 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(CreateUploadLocationResponse* 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 signed_url = 1; - void clear_signed_url(); - static const int kSignedUrlFieldNumber = 1; - const ::std::string& signed_url() const; - void set_signed_url(const ::std::string& value); - #if LANG_CXX11 - void set_signed_url(::std::string&& value); - #endif - void set_signed_url(const char* value); - void set_signed_url(const char* value, size_t size); - ::std::string* mutable_signed_url(); - ::std::string* release_signed_url(); - void set_allocated_signed_url(::std::string* signed_url); - - // string native_url = 2; - void clear_native_url(); - static const int kNativeUrlFieldNumber = 2; - const ::std::string& native_url() const; - void set_native_url(const ::std::string& value); - #if LANG_CXX11 - void set_native_url(::std::string&& value); - #endif - void set_native_url(const char* value); - void set_native_url(const char* value, size_t size); - ::std::string* mutable_native_url(); - ::std::string* release_native_url(); - void set_allocated_native_url(::std::string* native_url); - - // .google.protobuf.Timestamp expires_at = 3; - bool has_expires_at() const; - void clear_expires_at(); - static const int kExpiresAtFieldNumber = 3; - 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); - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateUploadLocationResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr signed_url_; - ::google::protobuf::internal::ArenaStringPtr native_url_; - ::google::protobuf::Timestamp* expires_at_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateUploadLocationRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.CreateUploadLocationRequest) */ { - public: - CreateUploadLocationRequest(); - virtual ~CreateUploadLocationRequest(); - - CreateUploadLocationRequest(const CreateUploadLocationRequest& from); - - inline CreateUploadLocationRequest& operator=(const CreateUploadLocationRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateUploadLocationRequest(CreateUploadLocationRequest&& from) noexcept - : CreateUploadLocationRequest() { - *this = ::std::move(from); - } - - inline CreateUploadLocationRequest& operator=(CreateUploadLocationRequest&& 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 CreateUploadLocationRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateUploadLocationRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateUploadLocationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(CreateUploadLocationRequest* other); - friend void swap(CreateUploadLocationRequest& a, CreateUploadLocationRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateUploadLocationRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateUploadLocationRequest* 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 CreateUploadLocationRequest& from); - void MergeFrom(const CreateUploadLocationRequest& 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(CreateUploadLocationRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // string project = 1; - void clear_project(); - static const int kProjectFieldNumber = 1; - const ::std::string& project() const; - void set_project(const ::std::string& value); - #if LANG_CXX11 - void set_project(::std::string&& value); - #endif - void set_project(const char* value); - void set_project(const char* value, size_t size); - ::std::string* mutable_project(); - ::std::string* release_project(); - void set_allocated_project(::std::string* project); - - // string domain = 2; - void clear_domain(); - static const int kDomainFieldNumber = 2; - const ::std::string& domain() const; - void set_domain(const ::std::string& value); - #if LANG_CXX11 - void set_domain(::std::string&& value); - #endif - void set_domain(const char* value); - void set_domain(const char* value, size_t size); - ::std::string* mutable_domain(); - ::std::string* release_domain(); - void set_allocated_domain(::std::string* domain); - - // string filename = 3; - void clear_filename(); - static const int kFilenameFieldNumber = 3; - const ::std::string& filename() const; - void set_filename(const ::std::string& value); - #if LANG_CXX11 - void set_filename(::std::string&& value); - #endif - void set_filename(const char* value); - void set_filename(const char* value, size_t size); - ::std::string* mutable_filename(); - ::std::string* release_filename(); - void set_allocated_filename(::std::string* filename); - - // bytes content_md5 = 5; - void clear_content_md5(); - static const int kContentMd5FieldNumber = 5; - const ::std::string& content_md5() const; - void set_content_md5(const ::std::string& value); - #if LANG_CXX11 - void set_content_md5(::std::string&& value); - #endif - void set_content_md5(const char* value); - void set_content_md5(const void* value, size_t size); - ::std::string* mutable_content_md5(); - ::std::string* release_content_md5(); - void set_allocated_content_md5(::std::string* content_md5); - - // string filename_root = 6; - void clear_filename_root(); - static const int kFilenameRootFieldNumber = 6; - const ::std::string& filename_root() const; - void set_filename_root(const ::std::string& value); - #if LANG_CXX11 - void set_filename_root(::std::string&& value); - #endif - void set_filename_root(const char* value); - void set_filename_root(const char* value, size_t size); - ::std::string* mutable_filename_root(); - ::std::string* release_filename_root(); - void set_allocated_filename_root(::std::string* filename_root); - - // .google.protobuf.Duration expires_in = 4; - bool has_expires_in() const; - void clear_expires_in(); - static const int kExpiresInFieldNumber = 4; - const ::google::protobuf::Duration& expires_in() const; - ::google::protobuf::Duration* release_expires_in(); - ::google::protobuf::Duration* mutable_expires_in(); - void set_allocated_expires_in(::google::protobuf::Duration* expires_in); - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateUploadLocationRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr filename_; - ::google::protobuf::internal::ArenaStringPtr content_md5_; - ::google::protobuf::internal::ArenaStringPtr filename_root_; - ::google::protobuf::Duration* expires_in_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateDownloadLocationRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.CreateDownloadLocationRequest) */ { - public: - CreateDownloadLocationRequest(); - virtual ~CreateDownloadLocationRequest(); - - CreateDownloadLocationRequest(const CreateDownloadLocationRequest& from); - - inline CreateDownloadLocationRequest& operator=(const CreateDownloadLocationRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateDownloadLocationRequest(CreateDownloadLocationRequest&& from) noexcept - : CreateDownloadLocationRequest() { - *this = ::std::move(from); - } - - inline CreateDownloadLocationRequest& operator=(CreateDownloadLocationRequest&& 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 CreateDownloadLocationRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateDownloadLocationRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateDownloadLocationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(CreateDownloadLocationRequest* other); - friend void swap(CreateDownloadLocationRequest& a, CreateDownloadLocationRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateDownloadLocationRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateDownloadLocationRequest* 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 CreateDownloadLocationRequest& from); - void MergeFrom(const CreateDownloadLocationRequest& 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(CreateDownloadLocationRequest* 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 native_url = 1; - void clear_native_url(); - static const int kNativeUrlFieldNumber = 1; - const ::std::string& native_url() const; - void set_native_url(const ::std::string& value); - #if LANG_CXX11 - void set_native_url(::std::string&& value); - #endif - void set_native_url(const char* value); - void set_native_url(const char* value, size_t size); - ::std::string* mutable_native_url(); - ::std::string* release_native_url(); - void set_allocated_native_url(::std::string* native_url); - - // .google.protobuf.Duration expires_in = 2; - bool has_expires_in() const; - void clear_expires_in(); - static const int kExpiresInFieldNumber = 2; - const ::google::protobuf::Duration& expires_in() const; - ::google::protobuf::Duration* release_expires_in(); - ::google::protobuf::Duration* mutable_expires_in(); - void set_allocated_expires_in(::google::protobuf::Duration* expires_in); - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLocationRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr native_url_; - ::google::protobuf::Duration* expires_in_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateDownloadLocationResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.CreateDownloadLocationResponse) */ { - public: - CreateDownloadLocationResponse(); - virtual ~CreateDownloadLocationResponse(); - - CreateDownloadLocationResponse(const CreateDownloadLocationResponse& from); - - inline CreateDownloadLocationResponse& operator=(const CreateDownloadLocationResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateDownloadLocationResponse(CreateDownloadLocationResponse&& from) noexcept - : CreateDownloadLocationResponse() { - *this = ::std::move(from); - } - - inline CreateDownloadLocationResponse& operator=(CreateDownloadLocationResponse&& 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 CreateDownloadLocationResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateDownloadLocationResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateDownloadLocationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(CreateDownloadLocationResponse* other); - friend void swap(CreateDownloadLocationResponse& a, CreateDownloadLocationResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateDownloadLocationResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateDownloadLocationResponse* 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 CreateDownloadLocationResponse& from); - void MergeFrom(const CreateDownloadLocationResponse& 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(CreateDownloadLocationResponse* 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 signed_url = 1; - void clear_signed_url(); - static const int kSignedUrlFieldNumber = 1; - const ::std::string& signed_url() const; - void set_signed_url(const ::std::string& value); - #if LANG_CXX11 - void set_signed_url(::std::string&& value); - #endif - void set_signed_url(const char* value); - void set_signed_url(const char* value, size_t size); - ::std::string* mutable_signed_url(); - ::std::string* release_signed_url(); - void set_allocated_signed_url(::std::string* signed_url); - - // .google.protobuf.Timestamp expires_at = 2; - bool has_expires_at() const; - void clear_expires_at(); - static const int kExpiresAtFieldNumber = 2; - 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); - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLocationResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr signed_url_; - ::google::protobuf::Timestamp* expires_at_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateDownloadLinkRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.CreateDownloadLinkRequest) */ { - public: - CreateDownloadLinkRequest(); - virtual ~CreateDownloadLinkRequest(); - - CreateDownloadLinkRequest(const CreateDownloadLinkRequest& from); - - inline CreateDownloadLinkRequest& operator=(const CreateDownloadLinkRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateDownloadLinkRequest(CreateDownloadLinkRequest&& from) noexcept - : CreateDownloadLinkRequest() { - *this = ::std::move(from); - } - - inline CreateDownloadLinkRequest& operator=(CreateDownloadLinkRequest&& 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 CreateDownloadLinkRequest& default_instance(); - - enum SourceCase { - kNodeExecutionId = 3, - SOURCE_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateDownloadLinkRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateDownloadLinkRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(CreateDownloadLinkRequest* other); - friend void swap(CreateDownloadLinkRequest& a, CreateDownloadLinkRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateDownloadLinkRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateDownloadLinkRequest* 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 CreateDownloadLinkRequest& from); - void MergeFrom(const CreateDownloadLinkRequest& 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(CreateDownloadLinkRequest* 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 ------------------------------------------------------- - - // .google.protobuf.Duration expires_in = 2; - bool has_expires_in() const; - void clear_expires_in(); - static const int kExpiresInFieldNumber = 2; - const ::google::protobuf::Duration& expires_in() const; - ::google::protobuf::Duration* release_expires_in(); - ::google::protobuf::Duration* mutable_expires_in(); - void set_allocated_expires_in(::google::protobuf::Duration* expires_in); - - // .flyteidl.service.ArtifactType artifact_type = 1; - void clear_artifact_type(); - static const int kArtifactTypeFieldNumber = 1; - ::flyteidl::service::ArtifactType artifact_type() const; - void set_artifact_type(::flyteidl::service::ArtifactType value); - - // .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); - - void clear_source(); - SourceCase source_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLinkRequest) - private: - class HasBitSetters; - void set_has_node_execution_id(); - - inline bool has_source() const; - inline void clear_has_source(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::Duration* expires_in_; - int artifact_type_; - union SourceUnion { - SourceUnion() {} - ::flyteidl::core::NodeExecutionIdentifier* node_execution_id_; - } source_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateDownloadLinkResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.CreateDownloadLinkResponse) */ { - public: - CreateDownloadLinkResponse(); - virtual ~CreateDownloadLinkResponse(); - - CreateDownloadLinkResponse(const CreateDownloadLinkResponse& from); - - inline CreateDownloadLinkResponse& operator=(const CreateDownloadLinkResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - CreateDownloadLinkResponse(CreateDownloadLinkResponse&& from) noexcept - : CreateDownloadLinkResponse() { - *this = ::std::move(from); - } - - inline CreateDownloadLinkResponse& operator=(CreateDownloadLinkResponse&& 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 CreateDownloadLinkResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const CreateDownloadLinkResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateDownloadLinkResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(CreateDownloadLinkResponse* other); - friend void swap(CreateDownloadLinkResponse& a, CreateDownloadLinkResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline CreateDownloadLinkResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - CreateDownloadLinkResponse* 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 CreateDownloadLinkResponse& from); - void MergeFrom(const CreateDownloadLinkResponse& 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(CreateDownloadLinkResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string signed_url = 1 [deprecated = true]; - PROTOBUF_DEPRECATED int signed_url_size() const; - PROTOBUF_DEPRECATED void clear_signed_url(); - PROTOBUF_DEPRECATED static const int kSignedUrlFieldNumber = 1; - PROTOBUF_DEPRECATED const ::std::string& signed_url(int index) const; - PROTOBUF_DEPRECATED ::std::string* mutable_signed_url(int index); - PROTOBUF_DEPRECATED void set_signed_url(int index, const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void set_signed_url(int index, ::std::string&& value); - #endif - PROTOBUF_DEPRECATED void set_signed_url(int index, const char* value); - PROTOBUF_DEPRECATED void set_signed_url(int index, const char* value, size_t size); - PROTOBUF_DEPRECATED ::std::string* add_signed_url(); - PROTOBUF_DEPRECATED void add_signed_url(const ::std::string& value); - #if LANG_CXX11 - PROTOBUF_DEPRECATED void add_signed_url(::std::string&& value); - #endif - PROTOBUF_DEPRECATED void add_signed_url(const char* value); - PROTOBUF_DEPRECATED void add_signed_url(const char* value, size_t size); - PROTOBUF_DEPRECATED const ::google::protobuf::RepeatedPtrField<::std::string>& signed_url() const; - PROTOBUF_DEPRECATED ::google::protobuf::RepeatedPtrField<::std::string>* mutable_signed_url(); - - // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - PROTOBUF_DEPRECATED bool has_expires_at() const; - PROTOBUF_DEPRECATED void clear_expires_at(); - PROTOBUF_DEPRECATED static const int kExpiresAtFieldNumber = 2; - PROTOBUF_DEPRECATED const ::google::protobuf::Timestamp& expires_at() const; - PROTOBUF_DEPRECATED ::google::protobuf::Timestamp* release_expires_at(); - PROTOBUF_DEPRECATED ::google::protobuf::Timestamp* mutable_expires_at(); - PROTOBUF_DEPRECATED void set_allocated_expires_at(::google::protobuf::Timestamp* expires_at); - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - bool has_pre_signed_urls() const; - void clear_pre_signed_urls(); - static const int kPreSignedUrlsFieldNumber = 3; - const ::flyteidl::service::PreSignedURLs& pre_signed_urls() const; - ::flyteidl::service::PreSignedURLs* release_pre_signed_urls(); - ::flyteidl::service::PreSignedURLs* mutable_pre_signed_urls(); - void set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls); - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLinkResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> signed_url_; - ::google::protobuf::Timestamp* expires_at_; - ::flyteidl::service::PreSignedURLs* pre_signed_urls_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class PreSignedURLs final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.PreSignedURLs) */ { - public: - PreSignedURLs(); - virtual ~PreSignedURLs(); - - PreSignedURLs(const PreSignedURLs& from); - - inline PreSignedURLs& operator=(const PreSignedURLs& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - PreSignedURLs(PreSignedURLs&& from) noexcept - : PreSignedURLs() { - *this = ::std::move(from); - } - - inline PreSignedURLs& operator=(PreSignedURLs&& 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 PreSignedURLs& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PreSignedURLs* internal_default_instance() { - return reinterpret_cast( - &_PreSignedURLs_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - void Swap(PreSignedURLs* other); - friend void swap(PreSignedURLs& a, PreSignedURLs& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline PreSignedURLs* New() const final { - return CreateMaybeMessage(nullptr); - } - - PreSignedURLs* 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 PreSignedURLs& from); - void MergeFrom(const PreSignedURLs& 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(PreSignedURLs* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // repeated string signed_url = 1; - int signed_url_size() const; - void clear_signed_url(); - static const int kSignedUrlFieldNumber = 1; - const ::std::string& signed_url(int index) const; - ::std::string* mutable_signed_url(int index); - void set_signed_url(int index, const ::std::string& value); - #if LANG_CXX11 - void set_signed_url(int index, ::std::string&& value); - #endif - void set_signed_url(int index, const char* value); - void set_signed_url(int index, const char* value, size_t size); - ::std::string* add_signed_url(); - void add_signed_url(const ::std::string& value); - #if LANG_CXX11 - void add_signed_url(::std::string&& value); - #endif - void add_signed_url(const char* value); - void add_signed_url(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& signed_url() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_signed_url(); - - // .google.protobuf.Timestamp expires_at = 2; - bool has_expires_at() const; - void clear_expires_at(); - static const int kExpiresAtFieldNumber = 2; - 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); - - // @@protoc_insertion_point(class_scope:flyteidl.service.PreSignedURLs) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> signed_url_; - ::google::protobuf::Timestamp* expires_at_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class GetDataRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.GetDataRequest) */ { - public: - GetDataRequest(); - virtual ~GetDataRequest(); - - GetDataRequest(const GetDataRequest& from); - - inline GetDataRequest& operator=(const GetDataRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetDataRequest(GetDataRequest&& from) noexcept - : GetDataRequest() { - *this = ::std::move(from); - } - - inline GetDataRequest& operator=(GetDataRequest&& 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 GetDataRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetDataRequest* internal_default_instance() { - return reinterpret_cast( - &_GetDataRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - void Swap(GetDataRequest* other); - friend void swap(GetDataRequest& a, GetDataRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetDataRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetDataRequest* 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 GetDataRequest& from); - void MergeFrom(const GetDataRequest& 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(GetDataRequest* 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 flyte_url = 1; - void clear_flyte_url(); - static const int kFlyteUrlFieldNumber = 1; - const ::std::string& flyte_url() const; - void set_flyte_url(const ::std::string& value); - #if LANG_CXX11 - void set_flyte_url(::std::string&& value); - #endif - void set_flyte_url(const char* value); - void set_flyte_url(const char* value, size_t size); - ::std::string* mutable_flyte_url(); - ::std::string* release_flyte_url(); - void set_allocated_flyte_url(::std::string* flyte_url); - - // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr flyte_url_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// ------------------------------------------------------------------- - -class GetDataResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.GetDataResponse) */ { - public: - GetDataResponse(); - virtual ~GetDataResponse(); - - GetDataResponse(const GetDataResponse& from); - - inline GetDataResponse& operator=(const GetDataResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - GetDataResponse(GetDataResponse&& from) noexcept - : GetDataResponse() { - *this = ::std::move(from); - } - - inline GetDataResponse& operator=(GetDataResponse&& 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 GetDataResponse& default_instance(); - - enum DataCase { - kLiteralMap = 1, - kPreSignedUrls = 2, - kLiteral = 3, - DATA_NOT_SET = 0, - }; - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetDataResponse* internal_default_instance() { - return reinterpret_cast( - &_GetDataResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - void Swap(GetDataResponse* other); - friend void swap(GetDataResponse& a, GetDataResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline GetDataResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - GetDataResponse* 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 GetDataResponse& from); - void MergeFrom(const GetDataResponse& 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(GetDataResponse* 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.LiteralMap literal_map = 1; - bool has_literal_map() const; - void clear_literal_map(); - static const int kLiteralMapFieldNumber = 1; - const ::flyteidl::core::LiteralMap& literal_map() const; - ::flyteidl::core::LiteralMap* release_literal_map(); - ::flyteidl::core::LiteralMap* mutable_literal_map(); - void set_allocated_literal_map(::flyteidl::core::LiteralMap* literal_map); - - // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - bool has_pre_signed_urls() const; - void clear_pre_signed_urls(); - static const int kPreSignedUrlsFieldNumber = 2; - const ::flyteidl::service::PreSignedURLs& pre_signed_urls() const; - ::flyteidl::service::PreSignedURLs* release_pre_signed_urls(); - ::flyteidl::service::PreSignedURLs* mutable_pre_signed_urls(); - void set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls); - - // .flyteidl.core.Literal literal = 3; - bool has_literal() const; - void clear_literal(); - static const int kLiteralFieldNumber = 3; - const ::flyteidl::core::Literal& literal() const; - ::flyteidl::core::Literal* release_literal(); - ::flyteidl::core::Literal* mutable_literal(); - void set_allocated_literal(::flyteidl::core::Literal* literal); - - void clear_data(); - DataCase data_case() const; - // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataResponse) - private: - class HasBitSetters; - void set_has_literal_map(); - void set_has_pre_signed_urls(); - void set_has_literal(); - - inline bool has_data() const; - inline void clear_has_data(); - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union DataUnion { - DataUnion() {} - ::flyteidl::core::LiteralMap* literal_map_; - ::flyteidl::service::PreSignedURLs* pre_signed_urls_; - ::flyteidl::core::Literal* literal_; - } data_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CreateUploadLocationResponse - -// string signed_url = 1; -inline void CreateUploadLocationResponse::clear_signed_url() { - signed_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateUploadLocationResponse::signed_url() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationResponse.signed_url) - return signed_url_.GetNoArena(); -} -inline void CreateUploadLocationResponse::set_signed_url(const ::std::string& value) { - - signed_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateUploadLocationResponse.signed_url) -} -#if LANG_CXX11 -inline void CreateUploadLocationResponse::set_signed_url(::std::string&& value) { - - signed_url_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateUploadLocationResponse.signed_url) -} -#endif -inline void CreateUploadLocationResponse::set_signed_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - signed_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateUploadLocationResponse.signed_url) -} -inline void CreateUploadLocationResponse::set_signed_url(const char* value, size_t size) { - - signed_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateUploadLocationResponse.signed_url) -} -inline ::std::string* CreateUploadLocationResponse::mutable_signed_url() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationResponse.signed_url) - return signed_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateUploadLocationResponse::release_signed_url() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationResponse.signed_url) - - return signed_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateUploadLocationResponse::set_allocated_signed_url(::std::string* signed_url) { - if (signed_url != nullptr) { - - } else { - - } - signed_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), signed_url); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationResponse.signed_url) -} - -// string native_url = 2; -inline void CreateUploadLocationResponse::clear_native_url() { - native_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateUploadLocationResponse::native_url() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationResponse.native_url) - return native_url_.GetNoArena(); -} -inline void CreateUploadLocationResponse::set_native_url(const ::std::string& value) { - - native_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateUploadLocationResponse.native_url) -} -#if LANG_CXX11 -inline void CreateUploadLocationResponse::set_native_url(::std::string&& value) { - - native_url_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateUploadLocationResponse.native_url) -} -#endif -inline void CreateUploadLocationResponse::set_native_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - native_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateUploadLocationResponse.native_url) -} -inline void CreateUploadLocationResponse::set_native_url(const char* value, size_t size) { - - native_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateUploadLocationResponse.native_url) -} -inline ::std::string* CreateUploadLocationResponse::mutable_native_url() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationResponse.native_url) - return native_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateUploadLocationResponse::release_native_url() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationResponse.native_url) - - return native_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateUploadLocationResponse::set_allocated_native_url(::std::string* native_url) { - if (native_url != nullptr) { - - } else { - - } - native_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), native_url); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationResponse.native_url) -} - -// .google.protobuf.Timestamp expires_at = 3; -inline bool CreateUploadLocationResponse::has_expires_at() const { - return this != internal_default_instance() && expires_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& CreateUploadLocationResponse::expires_at() const { - const ::google::protobuf::Timestamp* p = expires_at_; - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationResponse.expires_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* CreateUploadLocationResponse::release_expires_at() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationResponse.expires_at) - - ::google::protobuf::Timestamp* temp = expires_at_; - expires_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* CreateUploadLocationResponse::mutable_expires_at() { - - if (expires_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - expires_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationResponse.expires_at) - return expires_at_; -} -inline void CreateUploadLocationResponse::set_allocated_expires_at(::google::protobuf::Timestamp* expires_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_at_); - } - if (expires_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_at)->GetArena(); - if (message_arena != submessage_arena) { - expires_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_at, submessage_arena); - } - - } else { - - } - expires_at_ = expires_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationResponse.expires_at) -} - -// ------------------------------------------------------------------- - -// CreateUploadLocationRequest - -// string project = 1; -inline void CreateUploadLocationRequest::clear_project() { - project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateUploadLocationRequest::project() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationRequest.project) - return project_.GetNoArena(); -} -inline void CreateUploadLocationRequest::set_project(const ::std::string& value) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateUploadLocationRequest.project) -} -#if LANG_CXX11 -inline void CreateUploadLocationRequest::set_project(::std::string&& value) { - - project_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateUploadLocationRequest.project) -} -#endif -inline void CreateUploadLocationRequest::set_project(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateUploadLocationRequest.project) -} -inline void CreateUploadLocationRequest::set_project(const char* value, size_t size) { - - project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateUploadLocationRequest.project) -} -inline ::std::string* CreateUploadLocationRequest::mutable_project() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationRequest.project) - return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateUploadLocationRequest::release_project() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationRequest.project) - - return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateUploadLocationRequest::set_allocated_project(::std::string* project) { - if (project != nullptr) { - - } else { - - } - project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.project) -} - -// string domain = 2; -inline void CreateUploadLocationRequest::clear_domain() { - domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateUploadLocationRequest::domain() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationRequest.domain) - return domain_.GetNoArena(); -} -inline void CreateUploadLocationRequest::set_domain(const ::std::string& value) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateUploadLocationRequest.domain) -} -#if LANG_CXX11 -inline void CreateUploadLocationRequest::set_domain(::std::string&& value) { - - domain_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateUploadLocationRequest.domain) -} -#endif -inline void CreateUploadLocationRequest::set_domain(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateUploadLocationRequest.domain) -} -inline void CreateUploadLocationRequest::set_domain(const char* value, size_t size) { - - domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateUploadLocationRequest.domain) -} -inline ::std::string* CreateUploadLocationRequest::mutable_domain() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationRequest.domain) - return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateUploadLocationRequest::release_domain() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationRequest.domain) - - return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateUploadLocationRequest::set_allocated_domain(::std::string* domain) { - if (domain != nullptr) { - - } else { - - } - domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.domain) -} - -// string filename = 3; -inline void CreateUploadLocationRequest::clear_filename() { - filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateUploadLocationRequest::filename() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationRequest.filename) - return filename_.GetNoArena(); -} -inline void CreateUploadLocationRequest::set_filename(const ::std::string& value) { - - filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateUploadLocationRequest.filename) -} -#if LANG_CXX11 -inline void CreateUploadLocationRequest::set_filename(::std::string&& value) { - - filename_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateUploadLocationRequest.filename) -} -#endif -inline void CreateUploadLocationRequest::set_filename(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateUploadLocationRequest.filename) -} -inline void CreateUploadLocationRequest::set_filename(const char* value, size_t size) { - - filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateUploadLocationRequest.filename) -} -inline ::std::string* CreateUploadLocationRequest::mutable_filename() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationRequest.filename) - return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateUploadLocationRequest::release_filename() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationRequest.filename) - - return filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateUploadLocationRequest::set_allocated_filename(::std::string* filename) { - if (filename != nullptr) { - - } else { - - } - filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.filename) -} - -// .google.protobuf.Duration expires_in = 4; -inline bool CreateUploadLocationRequest::has_expires_in() const { - return this != internal_default_instance() && expires_in_ != nullptr; -} -inline const ::google::protobuf::Duration& CreateUploadLocationRequest::expires_in() const { - const ::google::protobuf::Duration* p = expires_in_; - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationRequest.expires_in) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* CreateUploadLocationRequest::release_expires_in() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationRequest.expires_in) - - ::google::protobuf::Duration* temp = expires_in_; - expires_in_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* CreateUploadLocationRequest::mutable_expires_in() { - - if (expires_in_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - expires_in_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationRequest.expires_in) - return expires_in_; -} -inline void CreateUploadLocationRequest::set_allocated_expires_in(::google::protobuf::Duration* expires_in) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_in_); - } - if (expires_in) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_in)->GetArena(); - if (message_arena != submessage_arena) { - expires_in = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_in, submessage_arena); - } - - } else { - - } - expires_in_ = expires_in; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.expires_in) -} - -// bytes content_md5 = 5; -inline void CreateUploadLocationRequest::clear_content_md5() { - content_md5_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateUploadLocationRequest::content_md5() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationRequest.content_md5) - return content_md5_.GetNoArena(); -} -inline void CreateUploadLocationRequest::set_content_md5(const ::std::string& value) { - - content_md5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateUploadLocationRequest.content_md5) -} -#if LANG_CXX11 -inline void CreateUploadLocationRequest::set_content_md5(::std::string&& value) { - - content_md5_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateUploadLocationRequest.content_md5) -} -#endif -inline void CreateUploadLocationRequest::set_content_md5(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - content_md5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateUploadLocationRequest.content_md5) -} -inline void CreateUploadLocationRequest::set_content_md5(const void* value, size_t size) { - - content_md5_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateUploadLocationRequest.content_md5) -} -inline ::std::string* CreateUploadLocationRequest::mutable_content_md5() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationRequest.content_md5) - return content_md5_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateUploadLocationRequest::release_content_md5() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationRequest.content_md5) - - return content_md5_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateUploadLocationRequest::set_allocated_content_md5(::std::string* content_md5) { - if (content_md5 != nullptr) { - - } else { - - } - content_md5_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), content_md5); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.content_md5) -} - -// string filename_root = 6; -inline void CreateUploadLocationRequest::clear_filename_root() { - filename_root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateUploadLocationRequest::filename_root() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateUploadLocationRequest.filename_root) - return filename_root_.GetNoArena(); -} -inline void CreateUploadLocationRequest::set_filename_root(const ::std::string& value) { - - filename_root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateUploadLocationRequest.filename_root) -} -#if LANG_CXX11 -inline void CreateUploadLocationRequest::set_filename_root(::std::string&& value) { - - filename_root_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateUploadLocationRequest.filename_root) -} -#endif -inline void CreateUploadLocationRequest::set_filename_root(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - filename_root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateUploadLocationRequest.filename_root) -} -inline void CreateUploadLocationRequest::set_filename_root(const char* value, size_t size) { - - filename_root_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateUploadLocationRequest.filename_root) -} -inline ::std::string* CreateUploadLocationRequest::mutable_filename_root() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateUploadLocationRequest.filename_root) - return filename_root_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateUploadLocationRequest::release_filename_root() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateUploadLocationRequest.filename_root) - - return filename_root_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateUploadLocationRequest::set_allocated_filename_root(::std::string* filename_root) { - if (filename_root != nullptr) { - - } else { - - } - filename_root_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename_root); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateUploadLocationRequest.filename_root) -} - -// ------------------------------------------------------------------- - -// CreateDownloadLocationRequest - -// string native_url = 1; -inline void CreateDownloadLocationRequest::clear_native_url() { - native_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateDownloadLocationRequest::native_url() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLocationRequest.native_url) - return native_url_.GetNoArena(); -} -inline void CreateDownloadLocationRequest::set_native_url(const ::std::string& value) { - - native_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateDownloadLocationRequest.native_url) -} -#if LANG_CXX11 -inline void CreateDownloadLocationRequest::set_native_url(::std::string&& value) { - - native_url_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateDownloadLocationRequest.native_url) -} -#endif -inline void CreateDownloadLocationRequest::set_native_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - native_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateDownloadLocationRequest.native_url) -} -inline void CreateDownloadLocationRequest::set_native_url(const char* value, size_t size) { - - native_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateDownloadLocationRequest.native_url) -} -inline ::std::string* CreateDownloadLocationRequest::mutable_native_url() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLocationRequest.native_url) - return native_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateDownloadLocationRequest::release_native_url() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLocationRequest.native_url) - - return native_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateDownloadLocationRequest::set_allocated_native_url(::std::string* native_url) { - if (native_url != nullptr) { - - } else { - - } - native_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), native_url); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLocationRequest.native_url) -} - -// .google.protobuf.Duration expires_in = 2; -inline bool CreateDownloadLocationRequest::has_expires_in() const { - return this != internal_default_instance() && expires_in_ != nullptr; -} -inline const ::google::protobuf::Duration& CreateDownloadLocationRequest::expires_in() const { - const ::google::protobuf::Duration* p = expires_in_; - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLocationRequest.expires_in) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* CreateDownloadLocationRequest::release_expires_in() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLocationRequest.expires_in) - - ::google::protobuf::Duration* temp = expires_in_; - expires_in_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* CreateDownloadLocationRequest::mutable_expires_in() { - - if (expires_in_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - expires_in_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLocationRequest.expires_in) - return expires_in_; -} -inline void CreateDownloadLocationRequest::set_allocated_expires_in(::google::protobuf::Duration* expires_in) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_in_); - } - if (expires_in) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_in)->GetArena(); - if (message_arena != submessage_arena) { - expires_in = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_in, submessage_arena); - } - - } else { - - } - expires_in_ = expires_in; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLocationRequest.expires_in) -} - -// ------------------------------------------------------------------- - -// CreateDownloadLocationResponse - -// string signed_url = 1; -inline void CreateDownloadLocationResponse::clear_signed_url() { - signed_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& CreateDownloadLocationResponse::signed_url() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLocationResponse.signed_url) - return signed_url_.GetNoArena(); -} -inline void CreateDownloadLocationResponse::set_signed_url(const ::std::string& value) { - - signed_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.CreateDownloadLocationResponse.signed_url) -} -#if LANG_CXX11 -inline void CreateDownloadLocationResponse::set_signed_url(::std::string&& value) { - - signed_url_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.CreateDownloadLocationResponse.signed_url) -} -#endif -inline void CreateDownloadLocationResponse::set_signed_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - signed_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateDownloadLocationResponse.signed_url) -} -inline void CreateDownloadLocationResponse::set_signed_url(const char* value, size_t size) { - - signed_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateDownloadLocationResponse.signed_url) -} -inline ::std::string* CreateDownloadLocationResponse::mutable_signed_url() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLocationResponse.signed_url) - return signed_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* CreateDownloadLocationResponse::release_signed_url() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLocationResponse.signed_url) - - return signed_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void CreateDownloadLocationResponse::set_allocated_signed_url(::std::string* signed_url) { - if (signed_url != nullptr) { - - } else { - - } - signed_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), signed_url); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLocationResponse.signed_url) -} - -// .google.protobuf.Timestamp expires_at = 2; -inline bool CreateDownloadLocationResponse::has_expires_at() const { - return this != internal_default_instance() && expires_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& CreateDownloadLocationResponse::expires_at() const { - const ::google::protobuf::Timestamp* p = expires_at_; - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLocationResponse.expires_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* CreateDownloadLocationResponse::release_expires_at() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLocationResponse.expires_at) - - ::google::protobuf::Timestamp* temp = expires_at_; - expires_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* CreateDownloadLocationResponse::mutable_expires_at() { - - if (expires_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - expires_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLocationResponse.expires_at) - return expires_at_; -} -inline void CreateDownloadLocationResponse::set_allocated_expires_at(::google::protobuf::Timestamp* expires_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_at_); - } - if (expires_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_at)->GetArena(); - if (message_arena != submessage_arena) { - expires_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_at, submessage_arena); - } - - } else { - - } - expires_at_ = expires_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLocationResponse.expires_at) -} - -// ------------------------------------------------------------------- - -// CreateDownloadLinkRequest - -// .flyteidl.service.ArtifactType artifact_type = 1; -inline void CreateDownloadLinkRequest::clear_artifact_type() { - artifact_type_ = 0; -} -inline ::flyteidl::service::ArtifactType CreateDownloadLinkRequest::artifact_type() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLinkRequest.artifact_type) - return static_cast< ::flyteidl::service::ArtifactType >(artifact_type_); -} -inline void CreateDownloadLinkRequest::set_artifact_type(::flyteidl::service::ArtifactType value) { - - artifact_type_ = value; - // @@protoc_insertion_point(field_set:flyteidl.service.CreateDownloadLinkRequest.artifact_type) -} - -// .google.protobuf.Duration expires_in = 2; -inline bool CreateDownloadLinkRequest::has_expires_in() const { - return this != internal_default_instance() && expires_in_ != nullptr; -} -inline const ::google::protobuf::Duration& CreateDownloadLinkRequest::expires_in() const { - const ::google::protobuf::Duration* p = expires_in_; - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLinkRequest.expires_in) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Duration_default_instance_); -} -inline ::google::protobuf::Duration* CreateDownloadLinkRequest::release_expires_in() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLinkRequest.expires_in) - - ::google::protobuf::Duration* temp = expires_in_; - expires_in_ = nullptr; - return temp; -} -inline ::google::protobuf::Duration* CreateDownloadLinkRequest::mutable_expires_in() { - - if (expires_in_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual()); - expires_in_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLinkRequest.expires_in) - return expires_in_; -} -inline void CreateDownloadLinkRequest::set_allocated_expires_in(::google::protobuf::Duration* expires_in) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_in_); - } - if (expires_in) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_in)->GetArena(); - if (message_arena != submessage_arena) { - expires_in = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_in, submessage_arena); - } - - } else { - - } - expires_in_ = expires_in; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLinkRequest.expires_in) -} - -// .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; -inline bool CreateDownloadLinkRequest::has_node_execution_id() const { - return source_case() == kNodeExecutionId; -} -inline void CreateDownloadLinkRequest::set_has_node_execution_id() { - _oneof_case_[0] = kNodeExecutionId; -} -inline ::flyteidl::core::NodeExecutionIdentifier* CreateDownloadLinkRequest::release_node_execution_id() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLinkRequest.node_execution_id) - if (has_node_execution_id()) { - clear_has_source(); - ::flyteidl::core::NodeExecutionIdentifier* temp = source_.node_execution_id_; - source_.node_execution_id_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::NodeExecutionIdentifier& CreateDownloadLinkRequest::node_execution_id() const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLinkRequest.node_execution_id) - return has_node_execution_id() - ? *source_.node_execution_id_ - : *reinterpret_cast< ::flyteidl::core::NodeExecutionIdentifier*>(&::flyteidl::core::_NodeExecutionIdentifier_default_instance_); -} -inline ::flyteidl::core::NodeExecutionIdentifier* CreateDownloadLinkRequest::mutable_node_execution_id() { - if (!has_node_execution_id()) { - clear_source(); - set_has_node_execution_id(); - source_.node_execution_id_ = CreateMaybeMessage< ::flyteidl::core::NodeExecutionIdentifier >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLinkRequest.node_execution_id) - return source_.node_execution_id_; -} - -inline bool CreateDownloadLinkRequest::has_source() const { - return source_case() != SOURCE_NOT_SET; -} -inline void CreateDownloadLinkRequest::clear_has_source() { - _oneof_case_[0] = SOURCE_NOT_SET; -} -inline CreateDownloadLinkRequest::SourceCase CreateDownloadLinkRequest::source_case() const { - return CreateDownloadLinkRequest::SourceCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// CreateDownloadLinkResponse - -// repeated string signed_url = 1 [deprecated = true]; -inline int CreateDownloadLinkResponse::signed_url_size() const { - return signed_url_.size(); -} -inline void CreateDownloadLinkResponse::clear_signed_url() { - signed_url_.Clear(); -} -inline const ::std::string& CreateDownloadLinkResponse::signed_url(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLinkResponse.signed_url) - return signed_url_.Get(index); -} -inline ::std::string* CreateDownloadLinkResponse::mutable_signed_url(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLinkResponse.signed_url) - return signed_url_.Mutable(index); -} -inline void CreateDownloadLinkResponse::set_signed_url(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.CreateDownloadLinkResponse.signed_url) - signed_url_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void CreateDownloadLinkResponse::set_signed_url(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.CreateDownloadLinkResponse.signed_url) - signed_url_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void CreateDownloadLinkResponse::set_signed_url(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - signed_url_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.CreateDownloadLinkResponse.signed_url) -} -inline void CreateDownloadLinkResponse::set_signed_url(int index, const char* value, size_t size) { - signed_url_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.CreateDownloadLinkResponse.signed_url) -} -inline ::std::string* CreateDownloadLinkResponse::add_signed_url() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.CreateDownloadLinkResponse.signed_url) - return signed_url_.Add(); -} -inline void CreateDownloadLinkResponse::add_signed_url(const ::std::string& value) { - signed_url_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.CreateDownloadLinkResponse.signed_url) -} -#if LANG_CXX11 -inline void CreateDownloadLinkResponse::add_signed_url(::std::string&& value) { - signed_url_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.CreateDownloadLinkResponse.signed_url) -} -#endif -inline void CreateDownloadLinkResponse::add_signed_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - signed_url_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.CreateDownloadLinkResponse.signed_url) -} -inline void CreateDownloadLinkResponse::add_signed_url(const char* value, size_t size) { - signed_url_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.CreateDownloadLinkResponse.signed_url) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -CreateDownloadLinkResponse::signed_url() const { - // @@protoc_insertion_point(field_list:flyteidl.service.CreateDownloadLinkResponse.signed_url) - return signed_url_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -CreateDownloadLinkResponse::mutable_signed_url() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.CreateDownloadLinkResponse.signed_url) - return &signed_url_; -} - -// .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; -inline bool CreateDownloadLinkResponse::has_expires_at() const { - return this != internal_default_instance() && expires_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& CreateDownloadLinkResponse::expires_at() const { - const ::google::protobuf::Timestamp* p = expires_at_; - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLinkResponse.expires_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* CreateDownloadLinkResponse::release_expires_at() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLinkResponse.expires_at) - - ::google::protobuf::Timestamp* temp = expires_at_; - expires_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* CreateDownloadLinkResponse::mutable_expires_at() { - - if (expires_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - expires_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLinkResponse.expires_at) - return expires_at_; -} -inline void CreateDownloadLinkResponse::set_allocated_expires_at(::google::protobuf::Timestamp* expires_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_at_); - } - if (expires_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_at)->GetArena(); - if (message_arena != submessage_arena) { - expires_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_at, submessage_arena); - } - - } else { - - } - expires_at_ = expires_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLinkResponse.expires_at) -} - -// .flyteidl.service.PreSignedURLs pre_signed_urls = 3; -inline bool CreateDownloadLinkResponse::has_pre_signed_urls() const { - return this != internal_default_instance() && pre_signed_urls_ != nullptr; -} -inline void CreateDownloadLinkResponse::clear_pre_signed_urls() { - if (GetArenaNoVirtual() == nullptr && pre_signed_urls_ != nullptr) { - delete pre_signed_urls_; - } - pre_signed_urls_ = nullptr; -} -inline const ::flyteidl::service::PreSignedURLs& CreateDownloadLinkResponse::pre_signed_urls() const { - const ::flyteidl::service::PreSignedURLs* p = pre_signed_urls_; - // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::service::_PreSignedURLs_default_instance_); -} -inline ::flyteidl::service::PreSignedURLs* CreateDownloadLinkResponse::release_pre_signed_urls() { - // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) - - ::flyteidl::service::PreSignedURLs* temp = pre_signed_urls_; - pre_signed_urls_ = nullptr; - return temp; -} -inline ::flyteidl::service::PreSignedURLs* CreateDownloadLinkResponse::mutable_pre_signed_urls() { - - if (pre_signed_urls_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::service::PreSignedURLs>(GetArenaNoVirtual()); - pre_signed_urls_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) - return pre_signed_urls_; -} -inline void CreateDownloadLinkResponse::set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete pre_signed_urls_; - } - if (pre_signed_urls) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - pre_signed_urls = ::google::protobuf::internal::GetOwnedMessage( - message_arena, pre_signed_urls, submessage_arena); - } - - } else { - - } - pre_signed_urls_ = pre_signed_urls; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) -} - -// ------------------------------------------------------------------- - -// PreSignedURLs - -// repeated string signed_url = 1; -inline int PreSignedURLs::signed_url_size() const { - return signed_url_.size(); -} -inline void PreSignedURLs::clear_signed_url() { - signed_url_.Clear(); -} -inline const ::std::string& PreSignedURLs::signed_url(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.service.PreSignedURLs.signed_url) - return signed_url_.Get(index); -} -inline ::std::string* PreSignedURLs::mutable_signed_url(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.service.PreSignedURLs.signed_url) - return signed_url_.Mutable(index); -} -inline void PreSignedURLs::set_signed_url(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.PreSignedURLs.signed_url) - signed_url_.Mutable(index)->assign(value); -} -#if LANG_CXX11 -inline void PreSignedURLs::set_signed_url(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.service.PreSignedURLs.signed_url) - signed_url_.Mutable(index)->assign(std::move(value)); -} -#endif -inline void PreSignedURLs::set_signed_url(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - signed_url_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.service.PreSignedURLs.signed_url) -} -inline void PreSignedURLs::set_signed_url(int index, const char* value, size_t size) { - signed_url_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PreSignedURLs.signed_url) -} -inline ::std::string* PreSignedURLs::add_signed_url() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.service.PreSignedURLs.signed_url) - return signed_url_.Add(); -} -inline void PreSignedURLs::add_signed_url(const ::std::string& value) { - signed_url_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.service.PreSignedURLs.signed_url) -} -#if LANG_CXX11 -inline void PreSignedURLs::add_signed_url(::std::string&& value) { - signed_url_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.service.PreSignedURLs.signed_url) -} -#endif -inline void PreSignedURLs::add_signed_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - signed_url_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.service.PreSignedURLs.signed_url) -} -inline void PreSignedURLs::add_signed_url(const char* value, size_t size) { - signed_url_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.service.PreSignedURLs.signed_url) -} -inline const ::google::protobuf::RepeatedPtrField<::std::string>& -PreSignedURLs::signed_url() const { - // @@protoc_insertion_point(field_list:flyteidl.service.PreSignedURLs.signed_url) - return signed_url_; -} -inline ::google::protobuf::RepeatedPtrField<::std::string>* -PreSignedURLs::mutable_signed_url() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.service.PreSignedURLs.signed_url) - return &signed_url_; -} - -// .google.protobuf.Timestamp expires_at = 2; -inline bool PreSignedURLs::has_expires_at() const { - return this != internal_default_instance() && expires_at_ != nullptr; -} -inline const ::google::protobuf::Timestamp& PreSignedURLs::expires_at() const { - const ::google::protobuf::Timestamp* p = expires_at_; - // @@protoc_insertion_point(field_get:flyteidl.service.PreSignedURLs.expires_at) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Timestamp_default_instance_); -} -inline ::google::protobuf::Timestamp* PreSignedURLs::release_expires_at() { - // @@protoc_insertion_point(field_release:flyteidl.service.PreSignedURLs.expires_at) - - ::google::protobuf::Timestamp* temp = expires_at_; - expires_at_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* PreSignedURLs::mutable_expires_at() { - - if (expires_at_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); - expires_at_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.PreSignedURLs.expires_at) - return expires_at_; -} -inline void PreSignedURLs::set_allocated_expires_at(::google::protobuf::Timestamp* expires_at) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_at_); - } - if (expires_at) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(expires_at)->GetArena(); - if (message_arena != submessage_arena) { - expires_at = ::google::protobuf::internal::GetOwnedMessage( - message_arena, expires_at, submessage_arena); - } - - } else { - - } - expires_at_ = expires_at; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.PreSignedURLs.expires_at) -} - -// ------------------------------------------------------------------- - -// GetDataRequest - -// string flyte_url = 1; -inline void GetDataRequest::clear_flyte_url() { - flyte_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& GetDataRequest::flyte_url() const { - // @@protoc_insertion_point(field_get:flyteidl.service.GetDataRequest.flyte_url) - return flyte_url_.GetNoArena(); -} -inline void GetDataRequest::set_flyte_url(const ::std::string& value) { - - flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.GetDataRequest.flyte_url) -} -#if LANG_CXX11 -inline void GetDataRequest::set_flyte_url(::std::string&& value) { - - flyte_url_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.GetDataRequest.flyte_url) -} -#endif -inline void GetDataRequest::set_flyte_url(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.GetDataRequest.flyte_url) -} -inline void GetDataRequest::set_flyte_url(const char* value, size_t size) { - - flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.GetDataRequest.flyte_url) -} -inline ::std::string* GetDataRequest::mutable_flyte_url() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataRequest.flyte_url) - return flyte_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* GetDataRequest::release_flyte_url() { - // @@protoc_insertion_point(field_release:flyteidl.service.GetDataRequest.flyte_url) - - return flyte_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void GetDataRequest::set_allocated_flyte_url(::std::string* flyte_url) { - if (flyte_url != nullptr) { - - } else { - - } - flyte_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), flyte_url); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataRequest.flyte_url) -} - -// ------------------------------------------------------------------- - -// GetDataResponse - -// .flyteidl.core.LiteralMap literal_map = 1; -inline bool GetDataResponse::has_literal_map() const { - return data_case() == kLiteralMap; -} -inline void GetDataResponse::set_has_literal_map() { - _oneof_case_[0] = kLiteralMap; -} -inline ::flyteidl::core::LiteralMap* GetDataResponse::release_literal_map() { - // @@protoc_insertion_point(field_release:flyteidl.service.GetDataResponse.literal_map) - if (has_literal_map()) { - clear_has_data(); - ::flyteidl::core::LiteralMap* temp = data_.literal_map_; - data_.literal_map_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::LiteralMap& GetDataResponse::literal_map() const { - // @@protoc_insertion_point(field_get:flyteidl.service.GetDataResponse.literal_map) - return has_literal_map() - ? *data_.literal_map_ - : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* GetDataResponse::mutable_literal_map() { - if (!has_literal_map()) { - clear_data(); - set_has_literal_map(); - data_.literal_map_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataResponse.literal_map) - return data_.literal_map_; -} - -// .flyteidl.service.PreSignedURLs pre_signed_urls = 2; -inline bool GetDataResponse::has_pre_signed_urls() const { - return data_case() == kPreSignedUrls; -} -inline void GetDataResponse::set_has_pre_signed_urls() { - _oneof_case_[0] = kPreSignedUrls; -} -inline void GetDataResponse::clear_pre_signed_urls() { - if (has_pre_signed_urls()) { - delete data_.pre_signed_urls_; - clear_has_data(); - } -} -inline ::flyteidl::service::PreSignedURLs* GetDataResponse::release_pre_signed_urls() { - // @@protoc_insertion_point(field_release:flyteidl.service.GetDataResponse.pre_signed_urls) - if (has_pre_signed_urls()) { - clear_has_data(); - ::flyteidl::service::PreSignedURLs* temp = data_.pre_signed_urls_; - data_.pre_signed_urls_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::service::PreSignedURLs& GetDataResponse::pre_signed_urls() const { - // @@protoc_insertion_point(field_get:flyteidl.service.GetDataResponse.pre_signed_urls) - return has_pre_signed_urls() - ? *data_.pre_signed_urls_ - : *reinterpret_cast< ::flyteidl::service::PreSignedURLs*>(&::flyteidl::service::_PreSignedURLs_default_instance_); -} -inline ::flyteidl::service::PreSignedURLs* GetDataResponse::mutable_pre_signed_urls() { - if (!has_pre_signed_urls()) { - clear_data(); - set_has_pre_signed_urls(); - data_.pre_signed_urls_ = CreateMaybeMessage< ::flyteidl::service::PreSignedURLs >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataResponse.pre_signed_urls) - return data_.pre_signed_urls_; -} - -// .flyteidl.core.Literal literal = 3; -inline bool GetDataResponse::has_literal() const { - return data_case() == kLiteral; -} -inline void GetDataResponse::set_has_literal() { - _oneof_case_[0] = kLiteral; -} -inline ::flyteidl::core::Literal* GetDataResponse::release_literal() { - // @@protoc_insertion_point(field_release:flyteidl.service.GetDataResponse.literal) - if (has_literal()) { - clear_has_data(); - ::flyteidl::core::Literal* temp = data_.literal_; - data_.literal_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flyteidl::core::Literal& GetDataResponse::literal() const { - // @@protoc_insertion_point(field_get:flyteidl.service.GetDataResponse.literal) - return has_literal() - ? *data_.literal_ - : *reinterpret_cast< ::flyteidl::core::Literal*>(&::flyteidl::core::_Literal_default_instance_); -} -inline ::flyteidl::core::Literal* GetDataResponse::mutable_literal() { - if (!has_literal()) { - clear_data(); - set_has_literal(); - data_.literal_ = CreateMaybeMessage< ::flyteidl::core::Literal >( - GetArenaNoVirtual()); - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataResponse.literal) - return data_.literal_; -} - -inline bool GetDataResponse::has_data() const { - return data_case() != DATA_NOT_SET; -} -inline void GetDataResponse::clear_has_data() { - _oneof_case_[0] = DATA_NOT_SET; -} -inline GetDataResponse::DataCase GetDataResponse::data_case() const { - return GetDataResponse::DataCase(_oneof_case_[0]); -} -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace service -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::service::ArtifactType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::service::ArtifactType>() { - return ::flyteidl::service::ArtifactType_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fservice_2fdataproxy_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.cc deleted file mode 100644 index be7a2ec520..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.cc +++ /dev/null @@ -1,169 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/external_plugin_service.proto - -#include "flyteidl/service/external_plugin_service.pb.h" -#include "flyteidl/service/external_plugin_service.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace service { - -static const char* ExternalPluginService_method_names[] = { - "/flyteidl.service.ExternalPluginService/CreateTask", - "/flyteidl.service.ExternalPluginService/GetTask", - "/flyteidl.service.ExternalPluginService/DeleteTask", -}; - -std::unique_ptr< ExternalPluginService::Stub> ExternalPluginService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< ExternalPluginService::Stub> stub(new ExternalPluginService::Stub(channel)); - return stub; -} - -ExternalPluginService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_CreateTask_(ExternalPluginService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetTask_(ExternalPluginService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteTask_(ExternalPluginService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status ExternalPluginService::Stub::CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::flyteidl::service::TaskCreateResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateTask_, context, request, response); -} - -void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); -} - -void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); -} - -void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); -} - -void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>* ExternalPluginService::Stub::AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>* ExternalPluginService::Stub::PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, false); -} - -::grpc::Status ExternalPluginService::Stub::GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::flyteidl::service::TaskGetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTask_, context, request, response); -} - -void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); -} - -void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); -} - -void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); -} - -void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* ExternalPluginService::Stub::AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskGetResponse>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* ExternalPluginService::Stub::PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskGetResponse>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, false); -} - -::grpc::Status ExternalPluginService::Stub::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::flyteidl::service::TaskDeleteResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteTask_, context, request, response); -} - -void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, std::move(f)); -} - -void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, std::move(f)); -} - -void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, reactor); -} - -void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* ExternalPluginService::Stub::AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTask_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* ExternalPluginService::Stub::PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTask_, context, request, false); -} - -ExternalPluginService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - ExternalPluginService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ExternalPluginService::Service, ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>( - std::mem_fn(&ExternalPluginService::Service::CreateTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ExternalPluginService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ExternalPluginService::Service, ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>( - std::mem_fn(&ExternalPluginService::Service::GetTask), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - ExternalPluginService_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ExternalPluginService::Service, ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>( - std::mem_fn(&ExternalPluginService::Service::DeleteTask), this))); -} - -ExternalPluginService::Service::~Service() { -} - -::grpc::Status ExternalPluginService::Service::CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ExternalPluginService::Service::GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status ExternalPluginService::Service::DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace flyteidl -} // namespace service - diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.h deleted file mode 100644 index bd26ab1805..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.h +++ /dev/null @@ -1,587 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/external_plugin_service.proto -#ifndef GRPC_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto__INCLUDED -#define GRPC_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto__INCLUDED - -#include "flyteidl/service/external_plugin_service.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 { - -// ExternalPluginService defines an RPC Service that allows propeller to send the request to the backend plugin server. -class ExternalPluginService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.ExternalPluginService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Send a task create request to the backend plugin server. - virtual ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::flyteidl::service::TaskCreateResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>>(AsyncCreateTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); - } - // Get job status. - virtual ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::flyteidl::service::TaskGetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>>(AsyncGetTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>>(PrepareAsyncGetTaskRaw(context, request, cq)); - } - // Delete the task resource. - virtual ::grpc::Status DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::flyteidl::service::TaskDeleteResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>> AsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>>(AsyncDeleteTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>> PrepareAsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>>(PrepareAsyncDeleteTaskRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Send a task create request to the backend plugin server. - virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, std::function) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, std::function) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Get job status. - virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, std::function) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, std::function) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Delete the task resource. - virtual void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) = 0; - virtual void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) = 0; - virtual void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>* AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>* PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::flyteidl::service::TaskCreateResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>>(AsyncCreateTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); - } - ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::flyteidl::service::TaskGetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>>(AsyncGetTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>>(PrepareAsyncGetTaskRaw(context, request, cq)); - } - ::grpc::Status DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::flyteidl::service::TaskDeleteResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>> AsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>>(AsyncDeleteTaskRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>> PrepareAsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>>(PrepareAsyncDeleteTaskRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, std::function) override; - void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, std::function) override; - void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, std::function) override; - void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, std::function) override; - void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) override; - void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) override; - void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* 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::TaskCreateResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_CreateTask_; - const ::grpc::internal::RpcMethod rpcmethod_GetTask_; - const ::grpc::internal::RpcMethod rpcmethod_DeleteTask_; - }; - 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(); - // Send a task create request to the backend plugin server. - virtual ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response); - // Get job status. - virtual ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response); - // Delete the task resource. - virtual ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response); - }; - template - class WithAsyncMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_CreateTask() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTask(::grpc::ServerContext* context, ::flyteidl::service::TaskCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::TaskCreateResponse>* 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_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetTask() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTask(::grpc::ServerContext* context, ::flyteidl::service::TaskGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::TaskGetResponse>* 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 WithAsyncMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_DeleteTask() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteTask(::grpc::ServerContext* context, ::flyteidl::service::TaskDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::TaskDeleteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_CreateTask > > AsyncService; - template - class ExperimentalWithCallbackMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_CreateTask() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::TaskCreateRequest* request, - ::flyteidl::service::TaskCreateResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->CreateTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_CreateTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetTask() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::TaskGetRequest* request, - ::flyteidl::service::TaskGetResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_DeleteTask() { - ::grpc::Service::experimental().MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::TaskDeleteRequest* request, - ::flyteidl::service::TaskDeleteResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->DeleteTask(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_DeleteTask( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>*>( - ::grpc::Service::experimental().GetHandler(2)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_CreateTask > > ExperimentalCallbackService; - template - class WithGenericMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_CreateTask() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetTask() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_DeleteTask() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_CreateTask() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestCreateTask(::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_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetTask() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetTask(::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 WithRawMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_DeleteTask() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestDeleteTask(::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(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class ExperimentalWithRawCallbackMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_CreateTask() { - ::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->CreateTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void CreateTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetTask() { - ::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->GetTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_DeleteTask() { - ::grpc::Service::experimental().MarkMethodRawCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->DeleteTask(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void DeleteTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_CreateTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_CreateTask() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>(std::bind(&WithStreamedUnaryMethod_CreateTask::StreamedCreateTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_CreateTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedCreateTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::TaskCreateRequest,::flyteidl::service::TaskCreateResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_GetTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetTask() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>(std::bind(&WithStreamedUnaryMethod_GetTask::StreamedGetTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::TaskGetRequest,::flyteidl::service::TaskGetResponse>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_DeleteTask : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_DeleteTask() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>(std::bind(&WithStreamedUnaryMethod_DeleteTask::StreamedDeleteTask, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_DeleteTask() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedDeleteTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::TaskDeleteRequest,::flyteidl::service::TaskDeleteResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_CreateTask > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateTask > > StreamedService; -}; - -} // namespace service -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc deleted file mode 100644 index 68b912f826..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc +++ /dev/null @@ -1,2339 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/external_plugin_service.proto - -#include "flyteidl/service/external_plugin_service.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; -namespace flyteidl { -namespace service { -class TaskCreateRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskCreateRequest_default_instance_; -class TaskCreateResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskCreateResponse_default_instance_; -class TaskGetRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskGetRequest_default_instance_; -class TaskGetResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskGetResponse_default_instance_; -class TaskDeleteRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskDeleteRequest_default_instance_; -class TaskDeleteResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _TaskDeleteResponse_default_instance_; -} // namespace service -} // namespace flyteidl -static void InitDefaultsTaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_TaskCreateRequest_default_instance_; - new (ptr) ::flyteidl::service::TaskCreateRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::TaskCreateRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<2> scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base,}}; - -static void InitDefaultsTaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_TaskCreateResponse_default_instance_; - new (ptr) ::flyteidl::service::TaskCreateResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::TaskCreateResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; - -static void InitDefaultsTaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_TaskGetRequest_default_instance_; - new (ptr) ::flyteidl::service::TaskGetRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::TaskGetRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; - -static void InitDefaultsTaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_TaskGetResponse_default_instance_; - new (ptr) ::flyteidl::service::TaskGetResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::TaskGetResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, { - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; - -static void InitDefaultsTaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_TaskDeleteRequest_default_instance_; - new (ptr) ::flyteidl::service::TaskDeleteRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::TaskDeleteRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; - -static void InitDefaultsTaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_TaskDeleteResponse_default_instance_; - new (ptr) ::flyteidl::service::TaskDeleteResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::TaskDeleteResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_TaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; - -void InitDefaults_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_TaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[6]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[1]; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, inputs_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, template__), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, output_prefix_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateResponse, job_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetRequest, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetRequest, job_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetResponse, state_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetResponse, outputs_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteRequest, task_type_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteRequest, job_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::service::TaskCreateRequest)}, - { 8, -1, sizeof(::flyteidl::service::TaskCreateResponse)}, - { 14, -1, sizeof(::flyteidl::service::TaskGetRequest)}, - { 21, -1, sizeof(::flyteidl::service::TaskGetResponse)}, - { 28, -1, sizeof(::flyteidl::service::TaskDeleteRequest)}, - { 35, -1, sizeof(::flyteidl::service::TaskDeleteResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::service::_TaskCreateRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_TaskCreateResponse_default_instance_), - reinterpret_cast(&::flyteidl::service::_TaskGetRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_TaskGetResponse_default_instance_), - reinterpret_cast(&::flyteidl::service::_TaskDeleteRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_TaskDeleteResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = { - {}, AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, "flyteidl/service/external_plugin_service.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, 6, file_level_enum_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[] = - "\n.flyteidl/service/external_plugin_servi" - "ce.proto\022\020flyteidl.service\032\034flyteidl/cor" - "e/literals.proto\032\031flyteidl/core/tasks.pr" - "oto\"\210\001\n\021TaskCreateRequest\022)\n\006inputs\030\001 \001(" - "\0132\031.flyteidl.core.LiteralMap\022-\n\010template" - "\030\002 \001(\0132\033.flyteidl.core.TaskTemplate\022\025\n\ro" - "utput_prefix\030\003 \001(\t:\002\030\001\"(\n\022TaskCreateResp" - "onse\022\016\n\006job_id\030\001 \001(\t:\002\030\001\"7\n\016TaskGetReque" - "st\022\021\n\ttask_type\030\001 \001(\t\022\016\n\006job_id\030\002 \001(\t:\002\030" - "\001\"i\n\017TaskGetResponse\022&\n\005state\030\001 \001(\0162\027.fl" - "yteidl.service.State\022*\n\007outputs\030\002 \001(\0132\031." - "flyteidl.core.LiteralMap:\002\030\001\":\n\021TaskDele" - "teRequest\022\021\n\ttask_type\030\001 \001(\t\022\016\n\006job_id\030\002" - " \001(\t:\002\030\001\"\030\n\022TaskDeleteResponse:\002\030\001*b\n\005St" - "ate\022\025\n\021RETRYABLE_FAILURE\020\000\022\025\n\021PERMANENT_" - "FAILURE\020\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" - "UCCEEDED\020\004\032\002\030\0012\250\002\n\025ExternalPluginService" - "\022\\\n\nCreateTask\022#.flyteidl.service.TaskCr" - "eateRequest\032$.flyteidl.service.TaskCreat" - "eResponse\"\003\210\002\001\022S\n\007GetTask\022 .flyteidl.ser" - "vice.TaskGetRequest\032!.flyteidl.service.T" - "askGetResponse\"\003\210\002\001\022\\\n\nDeleteTask\022#.flyt" - "eidl.service.TaskDeleteRequest\032$.flyteid" - "l.service.TaskDeleteResponse\"\003\210\002\001B\?Z=git" - "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" - "o/flyteidl/serviceb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = { - false, InitDefaults_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, - descriptor_table_protodef_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, - "flyteidl/service/external_plugin_service.proto", &assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, 1026, -}; - -void AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, - ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto(); return true; }(); -namespace flyteidl { -namespace service { -const ::google::protobuf::EnumDescriptor* State_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); - return file_level_enum_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[0]; -} -bool State_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - - -// =================================================================== - -void TaskCreateRequest::InitAsDefaultInstance() { - ::flyteidl::service::_TaskCreateRequest_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); - ::flyteidl::service::_TaskCreateRequest_default_instance_._instance.get_mutable()->template__ = const_cast< ::flyteidl::core::TaskTemplate*>( - ::flyteidl::core::TaskTemplate::internal_default_instance()); -} -class TaskCreateRequest::HasBitSetters { - public: - static const ::flyteidl::core::LiteralMap& inputs(const TaskCreateRequest* msg); - static const ::flyteidl::core::TaskTemplate& template_(const TaskCreateRequest* msg); -}; - -const ::flyteidl::core::LiteralMap& -TaskCreateRequest::HasBitSetters::inputs(const TaskCreateRequest* msg) { - return *msg->inputs_; -} -const ::flyteidl::core::TaskTemplate& -TaskCreateRequest::HasBitSetters::template_(const TaskCreateRequest* msg) { - return *msg->template__; -} -void TaskCreateRequest::clear_inputs() { - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; -} -void TaskCreateRequest::clear_template_() { - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskCreateRequest::kInputsFieldNumber; -const int TaskCreateRequest::kTemplateFieldNumber; -const int TaskCreateRequest::kOutputPrefixFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskCreateRequest::TaskCreateRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.TaskCreateRequest) -} -TaskCreateRequest::TaskCreateRequest(const TaskCreateRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - output_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.output_prefix().size() > 0) { - output_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_prefix_); - } - if (from.has_inputs()) { - inputs_ = new ::flyteidl::core::LiteralMap(*from.inputs_); - } else { - inputs_ = nullptr; - } - if (from.has_template_()) { - template__ = new ::flyteidl::core::TaskTemplate(*from.template__); - } else { - template__ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskCreateRequest) -} - -void TaskCreateRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - output_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ::memset(&inputs_, 0, static_cast( - reinterpret_cast(&template__) - - reinterpret_cast(&inputs_)) + sizeof(template__)); -} - -TaskCreateRequest::~TaskCreateRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.TaskCreateRequest) - SharedDtor(); -} - -void TaskCreateRequest::SharedDtor() { - output_prefix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete inputs_; - if (this != internal_default_instance()) delete template__; -} - -void TaskCreateRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskCreateRequest& TaskCreateRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - return *internal_default_instance(); -} - - -void TaskCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - output_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { - delete inputs_; - } - inputs_ = nullptr; - if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { - delete template__; - } - template__ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskCreateRequest::_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.LiteralMap inputs = 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::LiteralMap::_InternalParse; - object = msg->mutable_inputs(); - 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.TaskTemplate template = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::TaskTemplate::_InternalParse; - object = msg->mutable_template_(); - 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 output_prefix = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskCreateRequest.output_prefix"); - object = msg->mutable_output_prefix(); - 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 TaskCreateRequest::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.TaskCreateRequest) - 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.LiteralMap inputs = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_inputs())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.TaskTemplate template = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_template_())); - } else { - goto handle_unusual; - } - break; - } - - // string output_prefix = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_output_prefix())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_prefix().data(), static_cast(this->output_prefix().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.TaskCreateRequest.output_prefix")); - } 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.TaskCreateRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskCreateRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskCreateRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap inputs = 1; - if (this->has_inputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::inputs(this), output); - } - - // .flyteidl.core.TaskTemplate template = 2; - if (this->has_template_()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::template_(this), output); - } - - // string output_prefix = 3; - if (this->output_prefix().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_prefix().data(), static_cast(this->output_prefix().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskCreateRequest.output_prefix"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->output_prefix(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskCreateRequest) -} - -::google::protobuf::uint8* TaskCreateRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskCreateRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.core.LiteralMap inputs = 1; - if (this->has_inputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 1, HasBitSetters::inputs(this), target); - } - - // .flyteidl.core.TaskTemplate template = 2; - if (this->has_template_()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::template_(this), target); - } - - // string output_prefix = 3; - if (this->output_prefix().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->output_prefix().data(), static_cast(this->output_prefix().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskCreateRequest.output_prefix"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->output_prefix(), 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.TaskCreateRequest) - return target; -} - -size_t TaskCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskCreateRequest) - 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 output_prefix = 3; - if (this->output_prefix().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->output_prefix()); - } - - // .flyteidl.core.LiteralMap inputs = 1; - if (this->has_inputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *inputs_); - } - - // .flyteidl.core.TaskTemplate template = 2; - if (this->has_template_()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *template__); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskCreateRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskCreateRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskCreateRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskCreateRequest) - MergeFrom(*source); - } -} - -void TaskCreateRequest::MergeFrom(const TaskCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskCreateRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.output_prefix().size() > 0) { - - output_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_prefix_); - } - if (from.has_inputs()) { - mutable_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.inputs()); - } - if (from.has_template_()) { - mutable_template_()->::flyteidl::core::TaskTemplate::MergeFrom(from.template_()); - } -} - -void TaskCreateRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskCreateRequest::CopyFrom(const TaskCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskCreateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskCreateRequest::IsInitialized() const { - return true; -} - -void TaskCreateRequest::Swap(TaskCreateRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskCreateRequest::InternalSwap(TaskCreateRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - output_prefix_.Swap(&other->output_prefix_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(inputs_, other->inputs_); - swap(template__, other->template__); -} - -::google::protobuf::Metadata TaskCreateRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskCreateResponse::InitAsDefaultInstance() { -} -class TaskCreateResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskCreateResponse::kJobIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskCreateResponse::TaskCreateResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.TaskCreateResponse) -} -TaskCreateResponse::TaskCreateResponse(const TaskCreateResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.job_id().size() > 0) { - job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskCreateResponse) -} - -void TaskCreateResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -TaskCreateResponse::~TaskCreateResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.TaskCreateResponse) - SharedDtor(); -} - -void TaskCreateResponse::SharedDtor() { - job_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TaskCreateResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskCreateResponse& TaskCreateResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - return *internal_default_instance(); -} - - -void TaskCreateResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskCreateResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string job_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); - ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskCreateResponse.job_id"); - object = msg->mutable_job_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; - } - 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 TaskCreateResponse::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.TaskCreateResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string job_id = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_job_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.TaskCreateResponse.job_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.TaskCreateResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskCreateResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskCreateResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string job_id = 1; - if (this->job_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskCreateResponse.job_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->job_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskCreateResponse) -} - -::google::protobuf::uint8* TaskCreateResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskCreateResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string job_id = 1; - if (this->job_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskCreateResponse.job_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->job_id(), 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.TaskCreateResponse) - return target; -} - -size_t TaskCreateResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskCreateResponse) - 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 job_id = 1; - if (this->job_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->job_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskCreateResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - const TaskCreateResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskCreateResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskCreateResponse) - MergeFrom(*source); - } -} - -void TaskCreateResponse::MergeFrom(const TaskCreateResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskCreateResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.job_id().size() > 0) { - - job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); - } -} - -void TaskCreateResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskCreateResponse::CopyFrom(const TaskCreateResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskCreateResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskCreateResponse::IsInitialized() const { - return true; -} - -void TaskCreateResponse::Swap(TaskCreateResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskCreateResponse::InternalSwap(TaskCreateResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - job_id_.Swap(&other->job_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata TaskCreateResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskGetRequest::InitAsDefaultInstance() { -} -class TaskGetRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskGetRequest::kTaskTypeFieldNumber; -const int TaskGetRequest::kJobIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskGetRequest::TaskGetRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.TaskGetRequest) -} -TaskGetRequest::TaskGetRequest(const TaskGetRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.job_id().size() > 0) { - job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskGetRequest) -} - -void TaskGetRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -TaskGetRequest::~TaskGetRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.TaskGetRequest) - SharedDtor(); -} - -void TaskGetRequest::SharedDtor() { - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - job_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TaskGetRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskGetRequest& TaskGetRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - return *internal_default_instance(); -} - - -void TaskGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskGetRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string task_type = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskGetRequest.task_type"); - object = msg->mutable_task_type(); - 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 job_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("flyteidl.service.TaskGetRequest.job_id"); - object = msg->mutable_job_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; - } - 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 TaskGetRequest::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.TaskGetRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string task_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.TaskGetRequest.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // string job_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_job_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.TaskGetRequest.job_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.TaskGetRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskGetRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskGetRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskGetRequest.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->task_type(), output); - } - - // string job_id = 2; - if (this->job_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskGetRequest.job_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->job_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskGetRequest) -} - -::google::protobuf::uint8* TaskGetRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskGetRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskGetRequest.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->task_type(), target); - } - - // string job_id = 2; - if (this->job_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskGetRequest.job_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->job_id(), 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.TaskGetRequest) - return target; -} - -size_t TaskGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskGetRequest) - 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 task_type = 1; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // string job_id = 2; - if (this->job_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->job_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskGetRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskGetRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskGetRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskGetRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskGetRequest) - MergeFrom(*source); - } -} - -void TaskGetRequest::MergeFrom(const TaskGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskGetRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.job_id().size() > 0) { - - job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); - } -} - -void TaskGetRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskGetRequest::CopyFrom(const TaskGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskGetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskGetRequest::IsInitialized() const { - return true; -} - -void TaskGetRequest::Swap(TaskGetRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskGetRequest::InternalSwap(TaskGetRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - job_id_.Swap(&other->job_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata TaskGetRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskGetResponse::InitAsDefaultInstance() { - ::flyteidl::service::_TaskGetResponse_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::internal_default_instance()); -} -class TaskGetResponse::HasBitSetters { - public: - static const ::flyteidl::core::LiteralMap& outputs(const TaskGetResponse* msg); -}; - -const ::flyteidl::core::LiteralMap& -TaskGetResponse::HasBitSetters::outputs(const TaskGetResponse* msg) { - return *msg->outputs_; -} -void TaskGetResponse::clear_outputs() { - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskGetResponse::kStateFieldNumber; -const int TaskGetResponse::kOutputsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskGetResponse::TaskGetResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.TaskGetResponse) -} -TaskGetResponse::TaskGetResponse(const TaskGetResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - if (from.has_outputs()) { - outputs_ = new ::flyteidl::core::LiteralMap(*from.outputs_); - } else { - outputs_ = nullptr; - } - state_ = from.state_; - // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskGetResponse) -} - -void TaskGetResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - ::memset(&outputs_, 0, static_cast( - reinterpret_cast(&state_) - - reinterpret_cast(&outputs_)) + sizeof(state_)); -} - -TaskGetResponse::~TaskGetResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.TaskGetResponse) - SharedDtor(); -} - -void TaskGetResponse::SharedDtor() { - if (this != internal_default_instance()) delete outputs_; -} - -void TaskGetResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskGetResponse& TaskGetResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - return *internal_default_instance(); -} - - -void TaskGetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { - delete outputs_; - } - outputs_ = nullptr; - state_ = 0; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskGetResponse::_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.service.State state = 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_state(static_cast<::flyteidl::service::State>(val)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } - // .flyteidl.core.LiteralMap outputs = 2; - case 2: { - if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; - object = msg->mutable_outputs(); - 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 TaskGetResponse::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.TaskGetResponse) - 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.service.State state = 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_state(static_cast< ::flyteidl::service::State >(value)); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.LiteralMap outputs = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_outputs())); - } 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.TaskGetResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskGetResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskGetResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.service.State state = 1; - if (this->state() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->state(), output); - } - - // .flyteidl.core.LiteralMap outputs = 2; - if (this->has_outputs()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::outputs(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.TaskGetResponse) -} - -::google::protobuf::uint8* TaskGetResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskGetResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // .flyteidl.service.State state = 1; - if (this->state() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->state(), target); - } - - // .flyteidl.core.LiteralMap outputs = 2; - if (this->has_outputs()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::outputs(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.TaskGetResponse) - return target; -} - -size_t TaskGetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskGetResponse) - 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.LiteralMap outputs = 2; - if (this->has_outputs()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *outputs_); - } - - // .flyteidl.service.State state = 1; - if (this->state() != 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskGetResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskGetResponse) - GOOGLE_DCHECK_NE(&from, this); - const TaskGetResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskGetResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskGetResponse) - MergeFrom(*source); - } -} - -void TaskGetResponse::MergeFrom(const TaskGetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskGetResponse) - 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_outputs()) { - mutable_outputs()->::flyteidl::core::LiteralMap::MergeFrom(from.outputs()); - } - if (from.state() != 0) { - set_state(from.state()); - } -} - -void TaskGetResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskGetResponse::CopyFrom(const TaskGetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskGetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskGetResponse::IsInitialized() const { - return true; -} - -void TaskGetResponse::Swap(TaskGetResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskGetResponse::InternalSwap(TaskGetResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - swap(outputs_, other->outputs_); - swap(state_, other->state_); -} - -::google::protobuf::Metadata TaskGetResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskDeleteRequest::InitAsDefaultInstance() { -} -class TaskDeleteRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int TaskDeleteRequest::kTaskTypeFieldNumber; -const int TaskDeleteRequest::kJobIdFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskDeleteRequest::TaskDeleteRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.TaskDeleteRequest) -} -TaskDeleteRequest::TaskDeleteRequest(const TaskDeleteRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.task_type().size() > 0) { - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.job_id().size() > 0) { - job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskDeleteRequest) -} - -void TaskDeleteRequest::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -TaskDeleteRequest::~TaskDeleteRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.TaskDeleteRequest) - SharedDtor(); -} - -void TaskDeleteRequest::SharedDtor() { - task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - job_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} - -void TaskDeleteRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskDeleteRequest& TaskDeleteRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - return *internal_default_instance(); -} - - -void TaskDeleteRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* TaskDeleteRequest::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string task_type = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskDeleteRequest.task_type"); - object = msg->mutable_task_type(); - 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 job_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("flyteidl.service.TaskDeleteRequest.job_id"); - object = msg->mutable_job_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; - } - 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 TaskDeleteRequest::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.TaskDeleteRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string task_type = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_task_type())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.TaskDeleteRequest.task_type")); - } else { - goto handle_unusual; - } - break; - } - - // string job_id = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_job_id())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.TaskDeleteRequest.job_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.TaskDeleteRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskDeleteRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskDeleteRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskDeleteRequest.task_type"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->task_type(), output); - } - - // string job_id = 2; - if (this->job_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskDeleteRequest.job_id"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->job_id(), output); - } - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskDeleteRequest) -} - -::google::protobuf::uint8* TaskDeleteRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskDeleteRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string task_type = 1; - if (this->task_type().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->task_type().data(), static_cast(this->task_type().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskDeleteRequest.task_type"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->task_type(), target); - } - - // string job_id = 2; - if (this->job_id().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->job_id().data(), static_cast(this->job_id().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.TaskDeleteRequest.job_id"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->job_id(), 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.TaskDeleteRequest) - return target; -} - -size_t TaskDeleteRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskDeleteRequest) - 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 task_type = 1; - if (this->task_type().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->task_type()); - } - - // string job_id = 2; - if (this->job_id().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->job_id()); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void TaskDeleteRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - const TaskDeleteRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskDeleteRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskDeleteRequest) - MergeFrom(*source); - } -} - -void TaskDeleteRequest::MergeFrom(const TaskDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskDeleteRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.task_type().size() > 0) { - - task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); - } - if (from.job_id().size() > 0) { - - job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); - } -} - -void TaskDeleteRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskDeleteRequest::CopyFrom(const TaskDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskDeleteRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskDeleteRequest::IsInitialized() const { - return true; -} - -void TaskDeleteRequest::Swap(TaskDeleteRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskDeleteRequest::InternalSwap(TaskDeleteRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - job_id_.Swap(&other->job_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); -} - -::google::protobuf::Metadata TaskDeleteRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void TaskDeleteResponse::InitAsDefaultInstance() { -} -class TaskDeleteResponse::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -TaskDeleteResponse::TaskDeleteResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.TaskDeleteResponse) -} -TaskDeleteResponse::TaskDeleteResponse(const TaskDeleteResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskDeleteResponse) -} - -void TaskDeleteResponse::SharedCtor() { -} - -TaskDeleteResponse::~TaskDeleteResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.TaskDeleteResponse) - SharedDtor(); -} - -void TaskDeleteResponse::SharedDtor() { -} - -void TaskDeleteResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const TaskDeleteResponse& TaskDeleteResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_TaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); - return *internal_default_instance(); -} - - -void TaskDeleteResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskDeleteResponse) - ::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* TaskDeleteResponse::_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 TaskDeleteResponse::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.TaskDeleteResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.service.TaskDeleteResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskDeleteResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void TaskDeleteResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskDeleteResponse) -} - -::google::protobuf::uint8* TaskDeleteResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskDeleteResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.TaskDeleteResponse) - return target; -} - -size_t TaskDeleteResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskDeleteResponse) - 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 TaskDeleteResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - const TaskDeleteResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskDeleteResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskDeleteResponse) - MergeFrom(*source); - } -} - -void TaskDeleteResponse::MergeFrom(const TaskDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskDeleteResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void TaskDeleteResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void TaskDeleteResponse::CopyFrom(const TaskDeleteResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskDeleteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TaskDeleteResponse::IsInitialized() const { - return true; -} - -void TaskDeleteResponse::Swap(TaskDeleteResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void TaskDeleteResponse::InternalSwap(TaskDeleteResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata TaskDeleteResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::service::TaskCreateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::TaskCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::service::TaskCreateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::TaskCreateResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskGetRequest* Arena::CreateMaybeMessage< ::flyteidl::service::TaskGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::TaskGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskGetResponse* Arena::CreateMaybeMessage< ::flyteidl::service::TaskGetResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::TaskGetResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskDeleteRequest* Arena::CreateMaybeMessage< ::flyteidl::service::TaskDeleteRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::TaskDeleteRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskDeleteResponse* Arena::CreateMaybeMessage< ::flyteidl::service::TaskDeleteResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::TaskDeleteResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.h deleted file mode 100644 index bd326d980e..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.h +++ /dev/null @@ -1,1402 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/external_plugin_service.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fexternal_5fplugin_5fservice_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 -#include "flyteidl/core/literals.pb.h" -#include "flyteidl/core/tasks.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto { - static const ::google::protobuf::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[6] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::FieldMetadata field_metadata[]; - static const ::google::protobuf::internal::SerializationTable serialization_table[]; - static const ::google::protobuf::uint32 offsets[]; -}; -void AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto(); -namespace flyteidl { -namespace service { -class TaskCreateRequest; -class TaskCreateRequestDefaultTypeInternal; -extern TaskCreateRequestDefaultTypeInternal _TaskCreateRequest_default_instance_; -class TaskCreateResponse; -class TaskCreateResponseDefaultTypeInternal; -extern TaskCreateResponseDefaultTypeInternal _TaskCreateResponse_default_instance_; -class TaskDeleteRequest; -class TaskDeleteRequestDefaultTypeInternal; -extern TaskDeleteRequestDefaultTypeInternal _TaskDeleteRequest_default_instance_; -class TaskDeleteResponse; -class TaskDeleteResponseDefaultTypeInternal; -extern TaskDeleteResponseDefaultTypeInternal _TaskDeleteResponse_default_instance_; -class TaskGetRequest; -class TaskGetRequestDefaultTypeInternal; -extern TaskGetRequestDefaultTypeInternal _TaskGetRequest_default_instance_; -class TaskGetResponse; -class TaskGetResponseDefaultTypeInternal; -extern TaskGetResponseDefaultTypeInternal _TaskGetResponse_default_instance_; -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::service::TaskCreateRequest* Arena::CreateMaybeMessage<::flyteidl::service::TaskCreateRequest>(Arena*); -template<> ::flyteidl::service::TaskCreateResponse* Arena::CreateMaybeMessage<::flyteidl::service::TaskCreateResponse>(Arena*); -template<> ::flyteidl::service::TaskDeleteRequest* Arena::CreateMaybeMessage<::flyteidl::service::TaskDeleteRequest>(Arena*); -template<> ::flyteidl::service::TaskDeleteResponse* Arena::CreateMaybeMessage<::flyteidl::service::TaskDeleteResponse>(Arena*); -template<> ::flyteidl::service::TaskGetRequest* Arena::CreateMaybeMessage<::flyteidl::service::TaskGetRequest>(Arena*); -template<> ::flyteidl::service::TaskGetResponse* Arena::CreateMaybeMessage<::flyteidl::service::TaskGetResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace service { - -enum State { - RETRYABLE_FAILURE = 0, - PERMANENT_FAILURE = 1, - PENDING = 2, - RUNNING = 3, - SUCCEEDED = 4, - State_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), - State_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() -}; -bool State_IsValid(int value); -const State State_MIN = RETRYABLE_FAILURE; -const State State_MAX = SUCCEEDED; -const int State_ARRAYSIZE = State_MAX + 1; - -const ::google::protobuf::EnumDescriptor* State_descriptor(); -inline const ::std::string& State_Name(State value) { - return ::google::protobuf::internal::NameOfEnum( - State_descriptor(), value); -} -inline bool State_Parse( - const ::std::string& name, State* value) { - return ::google::protobuf::internal::ParseNamedEnum( - State_descriptor(), name, value); -} -// =================================================================== - -class TaskCreateRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskCreateRequest) */ { - public: - TaskCreateRequest(); - virtual ~TaskCreateRequest(); - - TaskCreateRequest(const TaskCreateRequest& from); - - inline TaskCreateRequest& operator=(const TaskCreateRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskCreateRequest(TaskCreateRequest&& from) noexcept - : TaskCreateRequest() { - *this = ::std::move(from); - } - - inline TaskCreateRequest& operator=(TaskCreateRequest&& 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 TaskCreateRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskCreateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(TaskCreateRequest* other); - friend void swap(TaskCreateRequest& a, TaskCreateRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskCreateRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskCreateRequest* 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 TaskCreateRequest& from); - void MergeFrom(const TaskCreateRequest& 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(TaskCreateRequest* 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 output_prefix = 3; - void clear_output_prefix(); - static const int kOutputPrefixFieldNumber = 3; - const ::std::string& output_prefix() const; - void set_output_prefix(const ::std::string& value); - #if LANG_CXX11 - void set_output_prefix(::std::string&& value); - #endif - void set_output_prefix(const char* value); - void set_output_prefix(const char* value, size_t size); - ::std::string* mutable_output_prefix(); - ::std::string* release_output_prefix(); - void set_allocated_output_prefix(::std::string* output_prefix); - - // .flyteidl.core.LiteralMap inputs = 1; - bool has_inputs() const; - void clear_inputs(); - static const int kInputsFieldNumber = 1; - const ::flyteidl::core::LiteralMap& inputs() const; - ::flyteidl::core::LiteralMap* release_inputs(); - ::flyteidl::core::LiteralMap* mutable_inputs(); - void set_allocated_inputs(::flyteidl::core::LiteralMap* inputs); - - // .flyteidl.core.TaskTemplate template = 2; - bool has_template_() const; - void clear_template_(); - static const int kTemplateFieldNumber = 2; - const ::flyteidl::core::TaskTemplate& template_() const; - ::flyteidl::core::TaskTemplate* release_template_(); - ::flyteidl::core::TaskTemplate* mutable_template_(); - void set_allocated_template_(::flyteidl::core::TaskTemplate* template_); - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr output_prefix_; - ::flyteidl::core::LiteralMap* inputs_; - ::flyteidl::core::TaskTemplate* template__; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskCreateResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskCreateResponse) */ { - public: - TaskCreateResponse(); - virtual ~TaskCreateResponse(); - - TaskCreateResponse(const TaskCreateResponse& from); - - inline TaskCreateResponse& operator=(const TaskCreateResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskCreateResponse(TaskCreateResponse&& from) noexcept - : TaskCreateResponse() { - *this = ::std::move(from); - } - - inline TaskCreateResponse& operator=(TaskCreateResponse&& 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 TaskCreateResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskCreateResponse* internal_default_instance() { - return reinterpret_cast( - &_TaskCreateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(TaskCreateResponse* other); - friend void swap(TaskCreateResponse& a, TaskCreateResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskCreateResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskCreateResponse* 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 TaskCreateResponse& from); - void MergeFrom(const TaskCreateResponse& 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(TaskCreateResponse* 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 job_id = 1; - void clear_job_id(); - static const int kJobIdFieldNumber = 1; - const ::std::string& job_id() const; - void set_job_id(const ::std::string& value); - #if LANG_CXX11 - void set_job_id(::std::string&& value); - #endif - void set_job_id(const char* value); - void set_job_id(const char* value, size_t size); - ::std::string* mutable_job_id(); - ::std::string* release_job_id(); - void set_allocated_job_id(::std::string* job_id); - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskGetRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskGetRequest) */ { - public: - TaskGetRequest(); - virtual ~TaskGetRequest(); - - TaskGetRequest(const TaskGetRequest& from); - - inline TaskGetRequest& operator=(const TaskGetRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskGetRequest(TaskGetRequest&& from) noexcept - : TaskGetRequest() { - *this = ::std::move(from); - } - - inline TaskGetRequest& operator=(TaskGetRequest&& 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 TaskGetRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskGetRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskGetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - void Swap(TaskGetRequest* other); - friend void swap(TaskGetRequest& a, TaskGetRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskGetRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskGetRequest* 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 TaskGetRequest& from); - void MergeFrom(const TaskGetRequest& 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(TaskGetRequest* 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 task_type = 1; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 1; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // string job_id = 2; - void clear_job_id(); - static const int kJobIdFieldNumber = 2; - const ::std::string& job_id() const; - void set_job_id(const ::std::string& value); - #if LANG_CXX11 - void set_job_id(::std::string&& value); - #endif - void set_job_id(const char* value); - void set_job_id(const char* value, size_t size); - ::std::string* mutable_job_id(); - ::std::string* release_job_id(); - void set_allocated_job_id(::std::string* job_id); - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskGetResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskGetResponse) */ { - public: - TaskGetResponse(); - virtual ~TaskGetResponse(); - - TaskGetResponse(const TaskGetResponse& from); - - inline TaskGetResponse& operator=(const TaskGetResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskGetResponse(TaskGetResponse&& from) noexcept - : TaskGetResponse() { - *this = ::std::move(from); - } - - inline TaskGetResponse& operator=(TaskGetResponse&& 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 TaskGetResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskGetResponse* internal_default_instance() { - return reinterpret_cast( - &_TaskGetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - void Swap(TaskGetResponse* other); - friend void swap(TaskGetResponse& a, TaskGetResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskGetResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskGetResponse* 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 TaskGetResponse& from); - void MergeFrom(const TaskGetResponse& 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(TaskGetResponse* 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.LiteralMap outputs = 2; - bool has_outputs() const; - void clear_outputs(); - static const int kOutputsFieldNumber = 2; - const ::flyteidl::core::LiteralMap& outputs() const; - ::flyteidl::core::LiteralMap* release_outputs(); - ::flyteidl::core::LiteralMap* mutable_outputs(); - void set_allocated_outputs(::flyteidl::core::LiteralMap* outputs); - - // .flyteidl.service.State state = 1; - void clear_state(); - static const int kStateFieldNumber = 1; - ::flyteidl::service::State state() const; - void set_state(::flyteidl::service::State value); - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::core::LiteralMap* outputs_; - int state_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskDeleteRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskDeleteRequest) */ { - public: - TaskDeleteRequest(); - virtual ~TaskDeleteRequest(); - - TaskDeleteRequest(const TaskDeleteRequest& from); - - inline TaskDeleteRequest& operator=(const TaskDeleteRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskDeleteRequest(TaskDeleteRequest&& from) noexcept - : TaskDeleteRequest() { - *this = ::std::move(from); - } - - inline TaskDeleteRequest& operator=(TaskDeleteRequest&& 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 TaskDeleteRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskDeleteRequest* internal_default_instance() { - return reinterpret_cast( - &_TaskDeleteRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - void Swap(TaskDeleteRequest* other); - friend void swap(TaskDeleteRequest& a, TaskDeleteRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskDeleteRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskDeleteRequest* 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 TaskDeleteRequest& from); - void MergeFrom(const TaskDeleteRequest& 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(TaskDeleteRequest* 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 task_type = 1; - void clear_task_type(); - static const int kTaskTypeFieldNumber = 1; - const ::std::string& task_type() const; - void set_task_type(const ::std::string& value); - #if LANG_CXX11 - void set_task_type(::std::string&& value); - #endif - void set_task_type(const char* value); - void set_task_type(const char* value, size_t size); - ::std::string* mutable_task_type(); - ::std::string* release_task_type(); - void set_allocated_task_type(::std::string* task_type); - - // string job_id = 2; - void clear_job_id(); - static const int kJobIdFieldNumber = 2; - const ::std::string& job_id() const; - void set_job_id(const ::std::string& value); - #if LANG_CXX11 - void set_job_id(::std::string&& value); - #endif - void set_job_id(const char* value); - void set_job_id(const char* value, size_t size); - ::std::string* mutable_job_id(); - ::std::string* release_job_id(); - void set_allocated_job_id(::std::string* job_id); - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr task_type_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; -}; -// ------------------------------------------------------------------- - -class TaskDeleteResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskDeleteResponse) */ { - public: - TaskDeleteResponse(); - virtual ~TaskDeleteResponse(); - - TaskDeleteResponse(const TaskDeleteResponse& from); - - inline TaskDeleteResponse& operator=(const TaskDeleteResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - TaskDeleteResponse(TaskDeleteResponse&& from) noexcept - : TaskDeleteResponse() { - *this = ::std::move(from); - } - - inline TaskDeleteResponse& operator=(TaskDeleteResponse&& 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 TaskDeleteResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TaskDeleteResponse* internal_default_instance() { - return reinterpret_cast( - &_TaskDeleteResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - void Swap(TaskDeleteResponse* other); - friend void swap(TaskDeleteResponse& a, TaskDeleteResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline TaskDeleteResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - TaskDeleteResponse* 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 TaskDeleteResponse& from); - void MergeFrom(const TaskDeleteResponse& 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(TaskDeleteResponse* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// TaskCreateRequest - -// .flyteidl.core.LiteralMap inputs = 1; -inline bool TaskCreateRequest::has_inputs() const { - return this != internal_default_instance() && inputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& TaskCreateRequest::inputs() const { - const ::flyteidl::core::LiteralMap* p = inputs_; - // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateRequest.inputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* TaskCreateRequest::release_inputs() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateRequest.inputs) - - ::flyteidl::core::LiteralMap* temp = inputs_; - inputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* TaskCreateRequest::mutable_inputs() { - - if (inputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - inputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateRequest.inputs) - return inputs_; -} -inline void TaskCreateRequest::set_allocated_inputs(::flyteidl::core::LiteralMap* inputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); - } - if (inputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - inputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, inputs, submessage_arena); - } - - } else { - - } - inputs_ = inputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateRequest.inputs) -} - -// .flyteidl.core.TaskTemplate template = 2; -inline bool TaskCreateRequest::has_template_() const { - return this != internal_default_instance() && template__ != nullptr; -} -inline const ::flyteidl::core::TaskTemplate& TaskCreateRequest::template_() const { - const ::flyteidl::core::TaskTemplate* p = template__; - // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateRequest.template) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_TaskTemplate_default_instance_); -} -inline ::flyteidl::core::TaskTemplate* TaskCreateRequest::release_template_() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateRequest.template) - - ::flyteidl::core::TaskTemplate* temp = template__; - template__ = nullptr; - return temp; -} -inline ::flyteidl::core::TaskTemplate* TaskCreateRequest::mutable_template_() { - - if (template__ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::TaskTemplate>(GetArenaNoVirtual()); - template__ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateRequest.template) - return template__; -} -inline void TaskCreateRequest::set_allocated_template_(::flyteidl::core::TaskTemplate* template_) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(template__); - } - if (template_) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - template_ = ::google::protobuf::internal::GetOwnedMessage( - message_arena, template_, submessage_arena); - } - - } else { - - } - template__ = template_; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateRequest.template) -} - -// string output_prefix = 3; -inline void TaskCreateRequest::clear_output_prefix() { - output_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskCreateRequest::output_prefix() const { - // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateRequest.output_prefix) - return output_prefix_.GetNoArena(); -} -inline void TaskCreateRequest::set_output_prefix(const ::std::string& value) { - - output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.TaskCreateRequest.output_prefix) -} -#if LANG_CXX11 -inline void TaskCreateRequest::set_output_prefix(::std::string&& value) { - - output_prefix_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskCreateRequest.output_prefix) -} -#endif -inline void TaskCreateRequest::set_output_prefix(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskCreateRequest.output_prefix) -} -inline void TaskCreateRequest::set_output_prefix(const char* value, size_t size) { - - output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskCreateRequest.output_prefix) -} -inline ::std::string* TaskCreateRequest::mutable_output_prefix() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateRequest.output_prefix) - return output_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskCreateRequest::release_output_prefix() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateRequest.output_prefix) - - return output_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskCreateRequest::set_allocated_output_prefix(::std::string* output_prefix) { - if (output_prefix != nullptr) { - - } else { - - } - output_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_prefix); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateRequest.output_prefix) -} - -// ------------------------------------------------------------------- - -// TaskCreateResponse - -// string job_id = 1; -inline void TaskCreateResponse::clear_job_id() { - job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskCreateResponse::job_id() const { - // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateResponse.job_id) - return job_id_.GetNoArena(); -} -inline void TaskCreateResponse::set_job_id(const ::std::string& value) { - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.TaskCreateResponse.job_id) -} -#if LANG_CXX11 -inline void TaskCreateResponse::set_job_id(::std::string&& value) { - - job_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskCreateResponse.job_id) -} -#endif -inline void TaskCreateResponse::set_job_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskCreateResponse.job_id) -} -inline void TaskCreateResponse::set_job_id(const char* value, size_t size) { - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskCreateResponse.job_id) -} -inline ::std::string* TaskCreateResponse::mutable_job_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateResponse.job_id) - return job_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskCreateResponse::release_job_id() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateResponse.job_id) - - return job_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskCreateResponse::set_allocated_job_id(::std::string* job_id) { - if (job_id != nullptr) { - - } else { - - } - job_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), job_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateResponse.job_id) -} - -// ------------------------------------------------------------------- - -// TaskGetRequest - -// string task_type = 1; -inline void TaskGetRequest::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskGetRequest::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetRequest.task_type) - return task_type_.GetNoArena(); -} -inline void TaskGetRequest::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.TaskGetRequest.task_type) -} -#if LANG_CXX11 -inline void TaskGetRequest::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskGetRequest.task_type) -} -#endif -inline void TaskGetRequest::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskGetRequest.task_type) -} -inline void TaskGetRequest::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskGetRequest.task_type) -} -inline ::std::string* TaskGetRequest::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskGetRequest.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskGetRequest::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskGetRequest.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskGetRequest::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskGetRequest.task_type) -} - -// string job_id = 2; -inline void TaskGetRequest::clear_job_id() { - job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskGetRequest::job_id() const { - // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetRequest.job_id) - return job_id_.GetNoArena(); -} -inline void TaskGetRequest::set_job_id(const ::std::string& value) { - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.TaskGetRequest.job_id) -} -#if LANG_CXX11 -inline void TaskGetRequest::set_job_id(::std::string&& value) { - - job_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskGetRequest.job_id) -} -#endif -inline void TaskGetRequest::set_job_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskGetRequest.job_id) -} -inline void TaskGetRequest::set_job_id(const char* value, size_t size) { - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskGetRequest.job_id) -} -inline ::std::string* TaskGetRequest::mutable_job_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskGetRequest.job_id) - return job_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskGetRequest::release_job_id() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskGetRequest.job_id) - - return job_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskGetRequest::set_allocated_job_id(::std::string* job_id) { - if (job_id != nullptr) { - - } else { - - } - job_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), job_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskGetRequest.job_id) -} - -// ------------------------------------------------------------------- - -// TaskGetResponse - -// .flyteidl.service.State state = 1; -inline void TaskGetResponse::clear_state() { - state_ = 0; -} -inline ::flyteidl::service::State TaskGetResponse::state() const { - // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetResponse.state) - return static_cast< ::flyteidl::service::State >(state_); -} -inline void TaskGetResponse::set_state(::flyteidl::service::State value) { - - state_ = value; - // @@protoc_insertion_point(field_set:flyteidl.service.TaskGetResponse.state) -} - -// .flyteidl.core.LiteralMap outputs = 2; -inline bool TaskGetResponse::has_outputs() const { - return this != internal_default_instance() && outputs_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& TaskGetResponse::outputs() const { - const ::flyteidl::core::LiteralMap* p = outputs_; - // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetResponse.outputs) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* TaskGetResponse::release_outputs() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskGetResponse.outputs) - - ::flyteidl::core::LiteralMap* temp = outputs_; - outputs_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* TaskGetResponse::mutable_outputs() { - - if (outputs_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - outputs_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskGetResponse.outputs) - return outputs_; -} -inline void TaskGetResponse::set_allocated_outputs(::flyteidl::core::LiteralMap* outputs) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(outputs_); - } - if (outputs) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - outputs = ::google::protobuf::internal::GetOwnedMessage( - message_arena, outputs, submessage_arena); - } - - } else { - - } - outputs_ = outputs; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskGetResponse.outputs) -} - -// ------------------------------------------------------------------- - -// TaskDeleteRequest - -// string task_type = 1; -inline void TaskDeleteRequest::clear_task_type() { - task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskDeleteRequest::task_type() const { - // @@protoc_insertion_point(field_get:flyteidl.service.TaskDeleteRequest.task_type) - return task_type_.GetNoArena(); -} -inline void TaskDeleteRequest::set_task_type(const ::std::string& value) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.TaskDeleteRequest.task_type) -} -#if LANG_CXX11 -inline void TaskDeleteRequest::set_task_type(::std::string&& value) { - - task_type_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskDeleteRequest.task_type) -} -#endif -inline void TaskDeleteRequest::set_task_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskDeleteRequest.task_type) -} -inline void TaskDeleteRequest::set_task_type(const char* value, size_t size) { - - task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskDeleteRequest.task_type) -} -inline ::std::string* TaskDeleteRequest::mutable_task_type() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskDeleteRequest.task_type) - return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskDeleteRequest::release_task_type() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskDeleteRequest.task_type) - - return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskDeleteRequest::set_allocated_task_type(::std::string* task_type) { - if (task_type != nullptr) { - - } else { - - } - task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskDeleteRequest.task_type) -} - -// string job_id = 2; -inline void TaskDeleteRequest::clear_job_id() { - job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& TaskDeleteRequest::job_id() const { - // @@protoc_insertion_point(field_get:flyteidl.service.TaskDeleteRequest.job_id) - return job_id_.GetNoArena(); -} -inline void TaskDeleteRequest::set_job_id(const ::std::string& value) { - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.TaskDeleteRequest.job_id) -} -#if LANG_CXX11 -inline void TaskDeleteRequest::set_job_id(::std::string&& value) { - - job_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskDeleteRequest.job_id) -} -#endif -inline void TaskDeleteRequest::set_job_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskDeleteRequest.job_id) -} -inline void TaskDeleteRequest::set_job_id(const char* value, size_t size) { - - job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskDeleteRequest.job_id) -} -inline ::std::string* TaskDeleteRequest::mutable_job_id() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskDeleteRequest.job_id) - return job_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* TaskDeleteRequest::release_job_id() { - // @@protoc_insertion_point(field_release:flyteidl.service.TaskDeleteRequest.job_id) - - return job_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void TaskDeleteRequest::set_allocated_job_id(::std::string* job_id) { - if (job_id != nullptr) { - - } else { - - } - job_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), job_id); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskDeleteRequest.job_id) -} - -// ------------------------------------------------------------------- - -// TaskDeleteResponse - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace service -} // namespace flyteidl - -namespace google { -namespace protobuf { - -template <> struct is_proto_enum< ::flyteidl::service::State> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::service::State>() { - return ::flyteidl::service::State_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include -#endif // PROTOBUF_INCLUDED_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/identity.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/identity.grpc.pb.cc deleted file mode 100644 index 31c587db24..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/identity.grpc.pb.cc +++ /dev/null @@ -1,85 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/identity.proto - -#include "flyteidl/service/identity.pb.h" -#include "flyteidl/service/identity.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace service { - -static const char* IdentityService_method_names[] = { - "/flyteidl.service.IdentityService/UserInfo", -}; - -std::unique_ptr< IdentityService::Stub> IdentityService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< IdentityService::Stub> stub(new IdentityService::Stub(channel)); - return stub; -} - -IdentityService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_UserInfo_(IdentityService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status IdentityService::Stub::UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::flyteidl::service::UserInfoResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UserInfo_, context, request, response); -} - -void IdentityService::Stub::experimental_async::UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UserInfo_, context, request, response, std::move(f)); -} - -void IdentityService::Stub::experimental_async::UserInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::UserInfoResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UserInfo_, context, request, response, std::move(f)); -} - -void IdentityService::Stub::experimental_async::UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UserInfo_, context, request, response, reactor); -} - -void IdentityService::Stub::experimental_async::UserInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::UserInfoResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UserInfo_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::UserInfoResponse>* IdentityService::Stub::AsyncUserInfoRaw(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::UserInfoResponse>::Create(channel_.get(), cq, rpcmethod_UserInfo_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::service::UserInfoResponse>* IdentityService::Stub::PrepareAsyncUserInfoRaw(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::UserInfoResponse>::Create(channel_.get(), cq, rpcmethod_UserInfo_, context, request, false); -} - -IdentityService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - IdentityService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< IdentityService::Service, ::flyteidl::service::UserInfoRequest, ::flyteidl::service::UserInfoResponse>( - std::mem_fn(&IdentityService::Service::UserInfo), this))); -} - -IdentityService::Service::~Service() { -} - -::grpc::Status IdentityService::Service::UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace flyteidl -} // namespace service - diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/identity.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/identity.grpc.pb.h deleted file mode 100644 index 241c042b09..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/identity.grpc.pb.h +++ /dev/null @@ -1,259 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/identity.proto -#ifndef GRPC_flyteidl_2fservice_2fidentity_2eproto__INCLUDED -#define GRPC_flyteidl_2fservice_2fidentity_2eproto__INCLUDED - -#include "flyteidl/service/identity.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 { - -// IdentityService defines an RPC Service that interacts with user/app identities. -class IdentityService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.IdentityService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Retrieves user information about the currently logged in user. - virtual ::grpc::Status UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::flyteidl::service::UserInfoResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::UserInfoResponse>> AsyncUserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::UserInfoResponse>>(AsyncUserInfoRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::UserInfoResponse>> PrepareAsyncUserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::UserInfoResponse>>(PrepareAsyncUserInfoRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Retrieves user information about the currently logged in user. - virtual void UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response, std::function) = 0; - virtual void UserInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::UserInfoResponse* response, std::function) = 0; - virtual void UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void UserInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::UserInfoResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::UserInfoResponse>* AsyncUserInfoRaw(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::UserInfoResponse>* PrepareAsyncUserInfoRaw(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::flyteidl::service::UserInfoResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::UserInfoResponse>> AsyncUserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::UserInfoResponse>>(AsyncUserInfoRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::UserInfoResponse>> PrepareAsyncUserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::UserInfoResponse>>(PrepareAsyncUserInfoRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response, std::function) override; - void UserInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::UserInfoResponse* response, std::function) override; - void UserInfo(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void UserInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::UserInfoResponse* 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::UserInfoResponse>* AsyncUserInfoRaw(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::service::UserInfoResponse>* PrepareAsyncUserInfoRaw(::grpc::ClientContext* context, const ::flyteidl::service::UserInfoRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_UserInfo_; - }; - 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(); - // Retrieves user information about the currently logged in user. - virtual ::grpc::Status UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response); - }; - template - class WithAsyncMethod_UserInfo : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_UserInfo() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_UserInfo() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUserInfo(::grpc::ServerContext* context, ::flyteidl::service::UserInfoRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::UserInfoResponse>* 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); - } - }; - typedef WithAsyncMethod_UserInfo AsyncService; - template - class ExperimentalWithCallbackMethod_UserInfo : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_UserInfo() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::UserInfoRequest, ::flyteidl::service::UserInfoResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::service::UserInfoRequest* request, - ::flyteidl::service::UserInfoResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->UserInfo(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_UserInfo( - ::grpc::experimental::MessageAllocator< ::flyteidl::service::UserInfoRequest, ::flyteidl::service::UserInfoResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::UserInfoRequest, ::flyteidl::service::UserInfoResponse>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_UserInfo() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_UserInfo ExperimentalCallbackService; - template - class WithGenericMethod_UserInfo : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_UserInfo() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_UserInfo() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_UserInfo : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_UserInfo() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_UserInfo() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestUserInfo(::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 ExperimentalWithRawCallbackMethod_UserInfo : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_UserInfo() { - ::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->UserInfo(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_UserInfo() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void UserInfo(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_UserInfo : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_UserInfo() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::UserInfoRequest, ::flyteidl::service::UserInfoResponse>(std::bind(&WithStreamedUnaryMethod_UserInfo::StreamedUserInfo, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_UserInfo() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status UserInfo(::grpc::ServerContext* context, const ::flyteidl::service::UserInfoRequest* request, ::flyteidl::service::UserInfoResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedUserInfo(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::UserInfoRequest,::flyteidl::service::UserInfoResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_UserInfo StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_UserInfo StreamedService; -}; - -} // namespace service -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fservice_2fidentity_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/identity.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/identity.pb.cc deleted file mode 100644 index c17f9bd542..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/identity.pb.cc +++ /dev/null @@ -1,1174 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/identity.proto - -#include "flyteidl/service/identity.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto; -namespace flyteidl { -namespace service { -class UserInfoRequestDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _UserInfoRequest_default_instance_; -class UserInfoResponseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _UserInfoResponse_default_instance_; -} // namespace service -} // namespace flyteidl -static void InitDefaultsUserInfoRequest_flyteidl_2fservice_2fidentity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_UserInfoRequest_default_instance_; - new (ptr) ::flyteidl::service::UserInfoRequest(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::UserInfoRequest::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_UserInfoRequest_flyteidl_2fservice_2fidentity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUserInfoRequest_flyteidl_2fservice_2fidentity_2eproto}, {}}; - -static void InitDefaultsUserInfoResponse_flyteidl_2fservice_2fidentity_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::service::_UserInfoResponse_default_instance_; - new (ptr) ::flyteidl::service::UserInfoResponse(); - ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); - } - ::flyteidl::service::UserInfoResponse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<1> scc_info_UserInfoResponse_flyteidl_2fservice_2fidentity_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsUserInfoResponse_flyteidl_2fservice_2fidentity_2eproto}, { - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base,}}; - -void InitDefaults_flyteidl_2fservice_2fidentity_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_UserInfoRequest_flyteidl_2fservice_2fidentity_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_UserInfoResponse_flyteidl_2fservice_2fidentity_2eproto.base); -} - -::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fidentity_2eproto[2]; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fservice_2fidentity_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fidentity_2eproto = nullptr; - -const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fidentity_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, subject_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, preferred_username_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, given_name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, family_name_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, email_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, picture_), - PROTOBUF_FIELD_OFFSET(::flyteidl::service::UserInfoResponse, additional_claims_), -}; -static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::service::UserInfoRequest)}, - { 5, -1, sizeof(::flyteidl::service::UserInfoResponse)}, -}; - -static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::service::_UserInfoRequest_default_instance_), - reinterpret_cast(&::flyteidl::service::_UserInfoResponse_default_instance_), -}; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fidentity_2eproto = { - {}, AddDescriptors_flyteidl_2fservice_2fidentity_2eproto, "flyteidl/service/identity.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fservice_2fidentity_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fidentity_2eproto, 2, file_level_enum_descriptors_flyteidl_2fservice_2fidentity_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fidentity_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fservice_2fidentity_2eproto[] = - "\n\037flyteidl/service/identity.proto\022\020flyte" - "idl.service\032\034google/api/annotations.prot" - "o\032\034google/protobuf/struct.proto\"\021\n\017UserI" - "nfoRequest\"\312\001\n\020UserInfoResponse\022\017\n\007subje" - "ct\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\032\n\022preferred_user" - "name\030\003 \001(\t\022\022\n\ngiven_name\030\004 \001(\t\022\023\n\013family" - "_name\030\005 \001(\t\022\r\n\005email\030\006 \001(\t\022\017\n\007picture\030\007 " - "\001(\t\0222\n\021additional_claims\030\010 \001(\0132\027.google." - "protobuf.Struct2q\n\017IdentityService\022^\n\010Us" - "erInfo\022!.flyteidl.service.UserInfoReques" - "t\032\".flyteidl.service.UserInfoResponse\"\013\202" - "\323\344\223\002\005\022\003/meB\?Z=github.com/flyteorg/flyte/" - "flyteidl/gen/pb-go/flyteidl/serviceb\006pro" - "to3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fidentity_2eproto = { - false, InitDefaults_flyteidl_2fservice_2fidentity_2eproto, - descriptor_table_protodef_flyteidl_2fservice_2fidentity_2eproto, - "flyteidl/service/identity.proto", &assign_descriptors_table_flyteidl_2fservice_2fidentity_2eproto, 523, -}; - -void AddDescriptors_flyteidl_2fservice_2fidentity_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_google_2fapi_2fannotations_2eproto, - ::AddDescriptors_google_2fprotobuf_2fstruct_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fidentity_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fservice_2fidentity_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fidentity_2eproto(); return true; }(); -namespace flyteidl { -namespace service { - -// =================================================================== - -void UserInfoRequest::InitAsDefaultInstance() { -} -class UserInfoRequest::HasBitSetters { - public: -}; - -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UserInfoRequest::UserInfoRequest() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.UserInfoRequest) -} -UserInfoRequest::UserInfoRequest(const UserInfoRequest& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.service.UserInfoRequest) -} - -void UserInfoRequest::SharedCtor() { -} - -UserInfoRequest::~UserInfoRequest() { - // @@protoc_insertion_point(destructor:flyteidl.service.UserInfoRequest) - SharedDtor(); -} - -void UserInfoRequest::SharedDtor() { -} - -void UserInfoRequest::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const UserInfoRequest& UserInfoRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_UserInfoRequest_flyteidl_2fservice_2fidentity_2eproto.base); - return *internal_default_instance(); -} - - -void UserInfoRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.UserInfoRequest) - ::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* UserInfoRequest::_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 UserInfoRequest::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.UserInfoRequest) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - handle_unusual: - if (tag == 0) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, _internal_metadata_.mutable_unknown_fields())); - } -success: - // @@protoc_insertion_point(parse_success:flyteidl.service.UserInfoRequest) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.UserInfoRequest) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void UserInfoRequest::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.UserInfoRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - _internal_metadata_.unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:flyteidl.service.UserInfoRequest) -} - -::google::protobuf::uint8* UserInfoRequest::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.UserInfoRequest) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (_internal_metadata_.have_unknown_fields()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.UserInfoRequest) - return target; -} - -size_t UserInfoRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.UserInfoRequest) - 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 UserInfoRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.UserInfoRequest) - GOOGLE_DCHECK_NE(&from, this); - const UserInfoRequest* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.UserInfoRequest) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.UserInfoRequest) - MergeFrom(*source); - } -} - -void UserInfoRequest::MergeFrom(const UserInfoRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.UserInfoRequest) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - -} - -void UserInfoRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.UserInfoRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UserInfoRequest::CopyFrom(const UserInfoRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.UserInfoRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UserInfoRequest::IsInitialized() const { - return true; -} - -void UserInfoRequest::Swap(UserInfoRequest* other) { - if (other == this) return; - InternalSwap(other); -} -void UserInfoRequest::InternalSwap(UserInfoRequest* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); -} - -::google::protobuf::Metadata UserInfoRequest::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fidentity_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fidentity_2eproto[kIndexInFileMessages]; -} - - -// =================================================================== - -void UserInfoResponse::InitAsDefaultInstance() { - ::flyteidl::service::_UserInfoResponse_default_instance_._instance.get_mutable()->additional_claims_ = const_cast< ::google::protobuf::Struct*>( - ::google::protobuf::Struct::internal_default_instance()); -} -class UserInfoResponse::HasBitSetters { - public: - static const ::google::protobuf::Struct& additional_claims(const UserInfoResponse* msg); -}; - -const ::google::protobuf::Struct& -UserInfoResponse::HasBitSetters::additional_claims(const UserInfoResponse* msg) { - return *msg->additional_claims_; -} -void UserInfoResponse::clear_additional_claims() { - if (GetArenaNoVirtual() == nullptr && additional_claims_ != nullptr) { - delete additional_claims_; - } - additional_claims_ = nullptr; -} -#if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int UserInfoResponse::kSubjectFieldNumber; -const int UserInfoResponse::kNameFieldNumber; -const int UserInfoResponse::kPreferredUsernameFieldNumber; -const int UserInfoResponse::kGivenNameFieldNumber; -const int UserInfoResponse::kFamilyNameFieldNumber; -const int UserInfoResponse::kEmailFieldNumber; -const int UserInfoResponse::kPictureFieldNumber; -const int UserInfoResponse::kAdditionalClaimsFieldNumber; -#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 - -UserInfoResponse::UserInfoResponse() - : ::google::protobuf::Message(), _internal_metadata_(nullptr) { - SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.service.UserInfoResponse) -} -UserInfoResponse::UserInfoResponse(const UserInfoResponse& from) - : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { - _internal_metadata_.MergeFrom(from._internal_metadata_); - subject_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.subject().size() > 0) { - subject_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subject_); - } - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.name().size() > 0) { - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - preferred_username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.preferred_username().size() > 0) { - preferred_username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.preferred_username_); - } - given_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.given_name().size() > 0) { - given_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.given_name_); - } - family_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.family_name().size() > 0) { - family_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.family_name_); - } - email_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.email().size() > 0) { - email_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.email_); - } - picture_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.picture().size() > 0) { - picture_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.picture_); - } - if (from.has_additional_claims()) { - additional_claims_ = new ::google::protobuf::Struct(*from.additional_claims_); - } else { - additional_claims_ = nullptr; - } - // @@protoc_insertion_point(copy_constructor:flyteidl.service.UserInfoResponse) -} - -void UserInfoResponse::SharedCtor() { - ::google::protobuf::internal::InitSCC( - &scc_info_UserInfoResponse_flyteidl_2fservice_2fidentity_2eproto.base); - subject_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - preferred_username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - given_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - family_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - email_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - picture_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - additional_claims_ = nullptr; -} - -UserInfoResponse::~UserInfoResponse() { - // @@protoc_insertion_point(destructor:flyteidl.service.UserInfoResponse) - SharedDtor(); -} - -void UserInfoResponse::SharedDtor() { - subject_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - preferred_username_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - given_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - family_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - email_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - picture_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete additional_claims_; -} - -void UserInfoResponse::SetCachedSize(int size) const { - _cached_size_.Set(size); -} -const UserInfoResponse& UserInfoResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_UserInfoResponse_flyteidl_2fservice_2fidentity_2eproto.base); - return *internal_default_instance(); -} - - -void UserInfoResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.service.UserInfoResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - subject_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - preferred_username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - given_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - family_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - email_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - picture_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && additional_claims_ != nullptr) { - delete additional_claims_; - } - additional_claims_ = nullptr; - _internal_metadata_.Clear(); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* UserInfoResponse::_InternalParse(const char* begin, const char* end, void* object, - ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); - ::google::protobuf::int32 size; (void)size; - int depth; (void)depth; - ::google::protobuf::uint32 tag; - ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; - auto ptr = begin; - while (ptr < end) { - ptr = ::google::protobuf::io::Parse32(ptr, &tag); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - switch (tag >> 3) { - // string subject = 1; - case 1: { - if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.UserInfoResponse.subject"); - object = msg->mutable_subject(); - 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 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("flyteidl.service.UserInfoResponse.name"); - object = msg->mutable_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; - } - // string preferred_username = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.UserInfoResponse.preferred_username"); - object = msg->mutable_preferred_username(); - 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 given_name = 4; - case 4: { - if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.UserInfoResponse.given_name"); - object = msg->mutable_given_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; - } - // string family_name = 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); - ctx->extra_parse_data().SetFieldName("flyteidl.service.UserInfoResponse.family_name"); - object = msg->mutable_family_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; - } - // string email = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.UserInfoResponse.email"); - object = msg->mutable_email(); - 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 picture = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - ctx->extra_parse_data().SetFieldName("flyteidl.service.UserInfoResponse.picture"); - object = msg->mutable_picture(); - 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; - } - // .google.protobuf.Struct additional_claims = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; - ptr = ::google::protobuf::io::ReadSize(ptr, &size); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::google::protobuf::Struct::_InternalParse; - object = msg->mutable_additional_claims(); - 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 UserInfoResponse::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.UserInfoResponse) - for (;;) { - ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // string subject = 1; - case 1: { - if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_subject())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->subject().data(), static_cast(this->subject().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.UserInfoResponse.subject")); - } else { - goto handle_unusual; - } - break; - } - - // string name = 2; - case 2: { - if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.UserInfoResponse.name")); - } else { - goto handle_unusual; - } - break; - } - - // string preferred_username = 3; - case 3: { - if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_preferred_username())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->preferred_username().data(), static_cast(this->preferred_username().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.UserInfoResponse.preferred_username")); - } else { - goto handle_unusual; - } - break; - } - - // string given_name = 4; - case 4: { - if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_given_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->given_name().data(), static_cast(this->given_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.UserInfoResponse.given_name")); - } else { - goto handle_unusual; - } - break; - } - - // string family_name = 5; - case 5: { - if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_family_name())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->family_name().data(), static_cast(this->family_name().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.UserInfoResponse.family_name")); - } else { - goto handle_unusual; - } - break; - } - - // string email = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_email())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->email().data(), static_cast(this->email().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.UserInfoResponse.email")); - } else { - goto handle_unusual; - } - break; - } - - // string picture = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_picture())); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->picture().data(), static_cast(this->picture().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.service.UserInfoResponse.picture")); - } else { - goto handle_unusual; - } - break; - } - - // .google.protobuf.Struct additional_claims = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_additional_claims())); - } 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.UserInfoResponse) - return true; -failure: - // @@protoc_insertion_point(parse_failure:flyteidl.service.UserInfoResponse) - return false; -#undef DO_ -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - -void UserInfoResponse::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.service.UserInfoResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string subject = 1; - if (this->subject().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->subject().data(), static_cast(this->subject().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.subject"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 1, this->subject(), output); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->name(), output); - } - - // string preferred_username = 3; - if (this->preferred_username().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->preferred_username().data(), static_cast(this->preferred_username().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.preferred_username"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 3, this->preferred_username(), output); - } - - // string given_name = 4; - if (this->given_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->given_name().data(), static_cast(this->given_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.given_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 4, this->given_name(), output); - } - - // string family_name = 5; - if (this->family_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->family_name().data(), static_cast(this->family_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.family_name"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 5, this->family_name(), output); - } - - // string email = 6; - if (this->email().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->email().data(), static_cast(this->email().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.email"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 6, this->email(), output); - } - - // string picture = 7; - if (this->picture().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->picture().data(), static_cast(this->picture().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.picture"); - ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 7, this->picture(), output); - } - - // .google.protobuf.Struct additional_claims = 8; - if (this->has_additional_claims()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::additional_claims(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.UserInfoResponse) -} - -::google::protobuf::uint8* UserInfoResponse::InternalSerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.UserInfoResponse) - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - // string subject = 1; - if (this->subject().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->subject().data(), static_cast(this->subject().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.subject"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->subject(), target); - } - - // string name = 2; - if (this->name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->name().data(), static_cast(this->name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->name(), target); - } - - // string preferred_username = 3; - if (this->preferred_username().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->preferred_username().data(), static_cast(this->preferred_username().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.preferred_username"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->preferred_username(), target); - } - - // string given_name = 4; - if (this->given_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->given_name().data(), static_cast(this->given_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.given_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->given_name(), target); - } - - // string family_name = 5; - if (this->family_name().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->family_name().data(), static_cast(this->family_name().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.family_name"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 5, this->family_name(), target); - } - - // string email = 6; - if (this->email().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->email().data(), static_cast(this->email().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.email"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 6, this->email(), target); - } - - // string picture = 7; - if (this->picture().size() > 0) { - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->picture().data(), static_cast(this->picture().length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.service.UserInfoResponse.picture"); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->picture(), target); - } - - // .google.protobuf.Struct additional_claims = 8; - if (this->has_additional_claims()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 8, HasBitSetters::additional_claims(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.UserInfoResponse) - return target; -} - -size_t UserInfoResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.UserInfoResponse) - 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 subject = 1; - if (this->subject().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->subject()); - } - - // string name = 2; - if (this->name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } - - // string preferred_username = 3; - if (this->preferred_username().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->preferred_username()); - } - - // string given_name = 4; - if (this->given_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->given_name()); - } - - // string family_name = 5; - if (this->family_name().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->family_name()); - } - - // string email = 6; - if (this->email().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->email()); - } - - // string picture = 7; - if (this->picture().size() > 0) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->picture()); - } - - // .google.protobuf.Struct additional_claims = 8; - if (this->has_additional_claims()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *additional_claims_); - } - - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); - return total_size; -} - -void UserInfoResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.UserInfoResponse) - GOOGLE_DCHECK_NE(&from, this); - const UserInfoResponse* source = - ::google::protobuf::DynamicCastToGenerated( - &from); - if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.UserInfoResponse) - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.UserInfoResponse) - MergeFrom(*source); - } -} - -void UserInfoResponse::MergeFrom(const UserInfoResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.UserInfoResponse) - GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::google::protobuf::uint32 cached_has_bits = 0; - (void) cached_has_bits; - - if (from.subject().size() > 0) { - - subject_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subject_); - } - if (from.name().size() > 0) { - - name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); - } - if (from.preferred_username().size() > 0) { - - preferred_username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.preferred_username_); - } - if (from.given_name().size() > 0) { - - given_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.given_name_); - } - if (from.family_name().size() > 0) { - - family_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.family_name_); - } - if (from.email().size() > 0) { - - email_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.email_); - } - if (from.picture().size() > 0) { - - picture_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.picture_); - } - if (from.has_additional_claims()) { - mutable_additional_claims()->::google::protobuf::Struct::MergeFrom(from.additional_claims()); - } -} - -void UserInfoResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.UserInfoResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void UserInfoResponse::CopyFrom(const UserInfoResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.UserInfoResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool UserInfoResponse::IsInitialized() const { - return true; -} - -void UserInfoResponse::Swap(UserInfoResponse* other) { - if (other == this) return; - InternalSwap(other); -} -void UserInfoResponse::InternalSwap(UserInfoResponse* other) { - using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); - subject_.Swap(&other->subject_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - preferred_username_.Swap(&other->preferred_username_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - given_name_.Swap(&other->given_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - family_name_.Swap(&other->family_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - email_.Swap(&other->email_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - picture_.Swap(&other->picture_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(additional_claims_, other->additional_claims_); -} - -::google::protobuf::Metadata UserInfoResponse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fidentity_2eproto); - return ::file_level_metadata_flyteidl_2fservice_2fidentity_2eproto[kIndexInFileMessages]; -} - - -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::service::UserInfoRequest* Arena::CreateMaybeMessage< ::flyteidl::service::UserInfoRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::UserInfoRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::service::UserInfoResponse* Arena::CreateMaybeMessage< ::flyteidl::service::UserInfoResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::UserInfoResponse >(arena); -} -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/identity.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/identity.pb.h deleted file mode 100644 index 6e7d6946c3..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/identity.pb.h +++ /dev/null @@ -1,843 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/identity.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fidentity_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fidentity_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 -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fidentity_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fservice_2fidentity_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[2] - 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_2fidentity_2eproto(); -namespace flyteidl { -namespace service { -class UserInfoRequest; -class UserInfoRequestDefaultTypeInternal; -extern UserInfoRequestDefaultTypeInternal _UserInfoRequest_default_instance_; -class UserInfoResponse; -class UserInfoResponseDefaultTypeInternal; -extern UserInfoResponseDefaultTypeInternal _UserInfoResponse_default_instance_; -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> ::flyteidl::service::UserInfoRequest* Arena::CreateMaybeMessage<::flyteidl::service::UserInfoRequest>(Arena*); -template<> ::flyteidl::service::UserInfoResponse* Arena::CreateMaybeMessage<::flyteidl::service::UserInfoResponse>(Arena*); -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace service { - -// =================================================================== - -class UserInfoRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.UserInfoRequest) */ { - public: - UserInfoRequest(); - virtual ~UserInfoRequest(); - - UserInfoRequest(const UserInfoRequest& from); - - inline UserInfoRequest& operator=(const UserInfoRequest& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UserInfoRequest(UserInfoRequest&& from) noexcept - : UserInfoRequest() { - *this = ::std::move(from); - } - - inline UserInfoRequest& operator=(UserInfoRequest&& 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 UserInfoRequest& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UserInfoRequest* internal_default_instance() { - return reinterpret_cast( - &_UserInfoRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - void Swap(UserInfoRequest* other); - friend void swap(UserInfoRequest& a, UserInfoRequest& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UserInfoRequest* New() const final { - return CreateMaybeMessage(nullptr); - } - - UserInfoRequest* 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 UserInfoRequest& from); - void MergeFrom(const UserInfoRequest& 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(UserInfoRequest* other); - private: - inline ::google::protobuf::Arena* GetArenaNoVirtual() const { - return nullptr; - } - inline void* MaybeArenaPtr() const { - return nullptr; - } - public: - - ::google::protobuf::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:flyteidl.service.UserInfoRequest) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fidentity_2eproto; -}; -// ------------------------------------------------------------------- - -class UserInfoResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.UserInfoResponse) */ { - public: - UserInfoResponse(); - virtual ~UserInfoResponse(); - - UserInfoResponse(const UserInfoResponse& from); - - inline UserInfoResponse& operator=(const UserInfoResponse& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - UserInfoResponse(UserInfoResponse&& from) noexcept - : UserInfoResponse() { - *this = ::std::move(from); - } - - inline UserInfoResponse& operator=(UserInfoResponse&& 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 UserInfoResponse& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const UserInfoResponse* internal_default_instance() { - return reinterpret_cast( - &_UserInfoResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - void Swap(UserInfoResponse* other); - friend void swap(UserInfoResponse& a, UserInfoResponse& b) { - a.Swap(&b); - } - - // implements Message ---------------------------------------------- - - inline UserInfoResponse* New() const final { - return CreateMaybeMessage(nullptr); - } - - UserInfoResponse* 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 UserInfoResponse& from); - void MergeFrom(const UserInfoResponse& 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(UserInfoResponse* 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 subject = 1; - void clear_subject(); - static const int kSubjectFieldNumber = 1; - const ::std::string& subject() const; - void set_subject(const ::std::string& value); - #if LANG_CXX11 - void set_subject(::std::string&& value); - #endif - void set_subject(const char* value); - void set_subject(const char* value, size_t size); - ::std::string* mutable_subject(); - ::std::string* release_subject(); - void set_allocated_subject(::std::string* subject); - - // 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 preferred_username = 3; - void clear_preferred_username(); - static const int kPreferredUsernameFieldNumber = 3; - const ::std::string& preferred_username() const; - void set_preferred_username(const ::std::string& value); - #if LANG_CXX11 - void set_preferred_username(::std::string&& value); - #endif - void set_preferred_username(const char* value); - void set_preferred_username(const char* value, size_t size); - ::std::string* mutable_preferred_username(); - ::std::string* release_preferred_username(); - void set_allocated_preferred_username(::std::string* preferred_username); - - // string given_name = 4; - void clear_given_name(); - static const int kGivenNameFieldNumber = 4; - const ::std::string& given_name() const; - void set_given_name(const ::std::string& value); - #if LANG_CXX11 - void set_given_name(::std::string&& value); - #endif - void set_given_name(const char* value); - void set_given_name(const char* value, size_t size); - ::std::string* mutable_given_name(); - ::std::string* release_given_name(); - void set_allocated_given_name(::std::string* given_name); - - // string family_name = 5; - void clear_family_name(); - static const int kFamilyNameFieldNumber = 5; - const ::std::string& family_name() const; - void set_family_name(const ::std::string& value); - #if LANG_CXX11 - void set_family_name(::std::string&& value); - #endif - void set_family_name(const char* value); - void set_family_name(const char* value, size_t size); - ::std::string* mutable_family_name(); - ::std::string* release_family_name(); - void set_allocated_family_name(::std::string* family_name); - - // string email = 6; - void clear_email(); - static const int kEmailFieldNumber = 6; - const ::std::string& email() const; - void set_email(const ::std::string& value); - #if LANG_CXX11 - void set_email(::std::string&& value); - #endif - void set_email(const char* value); - void set_email(const char* value, size_t size); - ::std::string* mutable_email(); - ::std::string* release_email(); - void set_allocated_email(::std::string* email); - - // string picture = 7; - void clear_picture(); - static const int kPictureFieldNumber = 7; - const ::std::string& picture() const; - void set_picture(const ::std::string& value); - #if LANG_CXX11 - void set_picture(::std::string&& value); - #endif - void set_picture(const char* value); - void set_picture(const char* value, size_t size); - ::std::string* mutable_picture(); - ::std::string* release_picture(); - void set_allocated_picture(::std::string* picture); - - // .google.protobuf.Struct additional_claims = 8; - bool has_additional_claims() const; - void clear_additional_claims(); - static const int kAdditionalClaimsFieldNumber = 8; - const ::google::protobuf::Struct& additional_claims() const; - ::google::protobuf::Struct* release_additional_claims(); - ::google::protobuf::Struct* mutable_additional_claims(); - void set_allocated_additional_claims(::google::protobuf::Struct* additional_claims); - - // @@protoc_insertion_point(class_scope:flyteidl.service.UserInfoResponse) - private: - class HasBitSetters; - - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr subject_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr preferred_username_; - ::google::protobuf::internal::ArenaStringPtr given_name_; - ::google::protobuf::internal::ArenaStringPtr family_name_; - ::google::protobuf::internal::ArenaStringPtr email_; - ::google::protobuf::internal::ArenaStringPtr picture_; - ::google::protobuf::Struct* additional_claims_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::TableStruct_flyteidl_2fservice_2fidentity_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// UserInfoRequest - -// ------------------------------------------------------------------- - -// UserInfoResponse - -// string subject = 1; -inline void UserInfoResponse::clear_subject() { - subject_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UserInfoResponse::subject() const { - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.subject) - return subject_.GetNoArena(); -} -inline void UserInfoResponse::set_subject(const ::std::string& value) { - - subject_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.UserInfoResponse.subject) -} -#if LANG_CXX11 -inline void UserInfoResponse::set_subject(::std::string&& value) { - - subject_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.UserInfoResponse.subject) -} -#endif -inline void UserInfoResponse::set_subject(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - subject_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.UserInfoResponse.subject) -} -inline void UserInfoResponse::set_subject(const char* value, size_t size) { - - subject_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.UserInfoResponse.subject) -} -inline ::std::string* UserInfoResponse::mutable_subject() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.subject) - return subject_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UserInfoResponse::release_subject() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.subject) - - return subject_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UserInfoResponse::set_allocated_subject(::std::string* subject) { - if (subject != nullptr) { - - } else { - - } - subject_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), subject); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.subject) -} - -// string name = 2; -inline void UserInfoResponse::clear_name() { - name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UserInfoResponse::name() const { - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.name) - return name_.GetNoArena(); -} -inline void UserInfoResponse::set_name(const ::std::string& value) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.UserInfoResponse.name) -} -#if LANG_CXX11 -inline void UserInfoResponse::set_name(::std::string&& value) { - - name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.UserInfoResponse.name) -} -#endif -inline void UserInfoResponse::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.UserInfoResponse.name) -} -inline void UserInfoResponse::set_name(const char* value, size_t size) { - - name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.UserInfoResponse.name) -} -inline ::std::string* UserInfoResponse::mutable_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.name) - return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UserInfoResponse::release_name() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.name) - - return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UserInfoResponse::set_allocated_name(::std::string* name) { - if (name != nullptr) { - - } else { - - } - name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.name) -} - -// string preferred_username = 3; -inline void UserInfoResponse::clear_preferred_username() { - preferred_username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UserInfoResponse::preferred_username() const { - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.preferred_username) - return preferred_username_.GetNoArena(); -} -inline void UserInfoResponse::set_preferred_username(const ::std::string& value) { - - preferred_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.UserInfoResponse.preferred_username) -} -#if LANG_CXX11 -inline void UserInfoResponse::set_preferred_username(::std::string&& value) { - - preferred_username_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.UserInfoResponse.preferred_username) -} -#endif -inline void UserInfoResponse::set_preferred_username(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - preferred_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.UserInfoResponse.preferred_username) -} -inline void UserInfoResponse::set_preferred_username(const char* value, size_t size) { - - preferred_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.UserInfoResponse.preferred_username) -} -inline ::std::string* UserInfoResponse::mutable_preferred_username() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.preferred_username) - return preferred_username_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UserInfoResponse::release_preferred_username() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.preferred_username) - - return preferred_username_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UserInfoResponse::set_allocated_preferred_username(::std::string* preferred_username) { - if (preferred_username != nullptr) { - - } else { - - } - preferred_username_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), preferred_username); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.preferred_username) -} - -// string given_name = 4; -inline void UserInfoResponse::clear_given_name() { - given_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UserInfoResponse::given_name() const { - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.given_name) - return given_name_.GetNoArena(); -} -inline void UserInfoResponse::set_given_name(const ::std::string& value) { - - given_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.UserInfoResponse.given_name) -} -#if LANG_CXX11 -inline void UserInfoResponse::set_given_name(::std::string&& value) { - - given_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.UserInfoResponse.given_name) -} -#endif -inline void UserInfoResponse::set_given_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - given_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.UserInfoResponse.given_name) -} -inline void UserInfoResponse::set_given_name(const char* value, size_t size) { - - given_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.UserInfoResponse.given_name) -} -inline ::std::string* UserInfoResponse::mutable_given_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.given_name) - return given_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UserInfoResponse::release_given_name() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.given_name) - - return given_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UserInfoResponse::set_allocated_given_name(::std::string* given_name) { - if (given_name != nullptr) { - - } else { - - } - given_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), given_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.given_name) -} - -// string family_name = 5; -inline void UserInfoResponse::clear_family_name() { - family_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UserInfoResponse::family_name() const { - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.family_name) - return family_name_.GetNoArena(); -} -inline void UserInfoResponse::set_family_name(const ::std::string& value) { - - family_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.UserInfoResponse.family_name) -} -#if LANG_CXX11 -inline void UserInfoResponse::set_family_name(::std::string&& value) { - - family_name_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.UserInfoResponse.family_name) -} -#endif -inline void UserInfoResponse::set_family_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - family_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.UserInfoResponse.family_name) -} -inline void UserInfoResponse::set_family_name(const char* value, size_t size) { - - family_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.UserInfoResponse.family_name) -} -inline ::std::string* UserInfoResponse::mutable_family_name() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.family_name) - return family_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UserInfoResponse::release_family_name() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.family_name) - - return family_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UserInfoResponse::set_allocated_family_name(::std::string* family_name) { - if (family_name != nullptr) { - - } else { - - } - family_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), family_name); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.family_name) -} - -// string email = 6; -inline void UserInfoResponse::clear_email() { - email_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UserInfoResponse::email() const { - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.email) - return email_.GetNoArena(); -} -inline void UserInfoResponse::set_email(const ::std::string& value) { - - email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.UserInfoResponse.email) -} -#if LANG_CXX11 -inline void UserInfoResponse::set_email(::std::string&& value) { - - email_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.UserInfoResponse.email) -} -#endif -inline void UserInfoResponse::set_email(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.UserInfoResponse.email) -} -inline void UserInfoResponse::set_email(const char* value, size_t size) { - - email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.UserInfoResponse.email) -} -inline ::std::string* UserInfoResponse::mutable_email() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.email) - return email_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UserInfoResponse::release_email() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.email) - - return email_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UserInfoResponse::set_allocated_email(::std::string* email) { - if (email != nullptr) { - - } else { - - } - email_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), email); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.email) -} - -// string picture = 7; -inline void UserInfoResponse::clear_picture() { - picture_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UserInfoResponse::picture() const { - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.picture) - return picture_.GetNoArena(); -} -inline void UserInfoResponse::set_picture(const ::std::string& value) { - - picture_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:flyteidl.service.UserInfoResponse.picture) -} -#if LANG_CXX11 -inline void UserInfoResponse::set_picture(::std::string&& value) { - - picture_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.UserInfoResponse.picture) -} -#endif -inline void UserInfoResponse::set_picture(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - picture_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:flyteidl.service.UserInfoResponse.picture) -} -inline void UserInfoResponse::set_picture(const char* value, size_t size) { - - picture_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:flyteidl.service.UserInfoResponse.picture) -} -inline ::std::string* UserInfoResponse::mutable_picture() { - - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.picture) - return picture_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline ::std::string* UserInfoResponse::release_picture() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.picture) - - return picture_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline void UserInfoResponse::set_allocated_picture(::std::string* picture) { - if (picture != nullptr) { - - } else { - - } - picture_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), picture); - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.picture) -} - -// .google.protobuf.Struct additional_claims = 8; -inline bool UserInfoResponse::has_additional_claims() const { - return this != internal_default_instance() && additional_claims_ != nullptr; -} -inline const ::google::protobuf::Struct& UserInfoResponse::additional_claims() const { - const ::google::protobuf::Struct* p = additional_claims_; - // @@protoc_insertion_point(field_get:flyteidl.service.UserInfoResponse.additional_claims) - return p != nullptr ? *p : *reinterpret_cast( - &::google::protobuf::_Struct_default_instance_); -} -inline ::google::protobuf::Struct* UserInfoResponse::release_additional_claims() { - // @@protoc_insertion_point(field_release:flyteidl.service.UserInfoResponse.additional_claims) - - ::google::protobuf::Struct* temp = additional_claims_; - additional_claims_ = nullptr; - return temp; -} -inline ::google::protobuf::Struct* UserInfoResponse::mutable_additional_claims() { - - if (additional_claims_ == nullptr) { - auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual()); - additional_claims_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.service.UserInfoResponse.additional_claims) - return additional_claims_; -} -inline void UserInfoResponse::set_allocated_additional_claims(::google::protobuf::Struct* additional_claims) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(additional_claims_); - } - if (additional_claims) { - ::google::protobuf::Arena* submessage_arena = - reinterpret_cast<::google::protobuf::MessageLite*>(additional_claims)->GetArena(); - if (message_arena != submessage_arena) { - additional_claims = ::google::protobuf::internal::GetOwnedMessage( - message_arena, additional_claims, submessage_arena); - } - - } else { - - } - additional_claims_ = additional_claims; - // @@protoc_insertion_point(field_set_allocated:flyteidl.service.UserInfoResponse.additional_claims) -} - -#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_2fidentity_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/signal.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/signal.grpc.pb.cc deleted file mode 100644 index 892874328b..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/signal.grpc.pb.cc +++ /dev/null @@ -1,169 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/signal.proto - -#include "flyteidl/service/signal.pb.h" -#include "flyteidl/service/signal.grpc.pb.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -namespace flyteidl { -namespace service { - -static const char* SignalService_method_names[] = { - "/flyteidl.service.SignalService/GetOrCreateSignal", - "/flyteidl.service.SignalService/ListSignals", - "/flyteidl.service.SignalService/SetSignal", -}; - -std::unique_ptr< SignalService::Stub> SignalService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { - (void)options; - std::unique_ptr< SignalService::Stub> stub(new SignalService::Stub(channel)); - return stub; -} - -SignalService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) - : channel_(channel), rpcmethod_GetOrCreateSignal_(SignalService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListSignals_(SignalService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_SetSignal_(SignalService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - {} - -::grpc::Status SignalService::Stub::GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::flyteidl::admin::Signal* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetOrCreateSignal_, context, request, response); -} - -void SignalService::Stub::experimental_async::GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrCreateSignal_, context, request, response, std::move(f)); -} - -void SignalService::Stub::experimental_async::GetOrCreateSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Signal* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrCreateSignal_, context, request, response, std::move(f)); -} - -void SignalService::Stub::experimental_async::GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrCreateSignal_, context, request, response, reactor); -} - -void SignalService::Stub::experimental_async::GetOrCreateSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Signal* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrCreateSignal_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Signal>* SignalService::Stub::AsyncGetOrCreateSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Signal>::Create(channel_.get(), cq, rpcmethod_GetOrCreateSignal_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Signal>* SignalService::Stub::PrepareAsyncGetOrCreateSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::Signal>::Create(channel_.get(), cq, rpcmethod_GetOrCreateSignal_, context, request, false); -} - -::grpc::Status SignalService::Stub::ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::flyteidl::admin::SignalList* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListSignals_, context, request, response); -} - -void SignalService::Stub::experimental_async::ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListSignals_, context, request, response, std::move(f)); -} - -void SignalService::Stub::experimental_async::ListSignals(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ListSignals_, context, request, response, std::move(f)); -} - -void SignalService::Stub::experimental_async::ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListSignals_, context, request, response, reactor); -} - -void SignalService::Stub::experimental_async::ListSignals(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalList* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ListSignals_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>* SignalService::Stub::AsyncListSignalsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::SignalList>::Create(channel_.get(), cq, rpcmethod_ListSignals_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>* SignalService::Stub::PrepareAsyncListSignalsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::SignalList>::Create(channel_.get(), cq, rpcmethod_ListSignals_, context, request, false); -} - -::grpc::Status SignalService::Stub::SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::flyteidl::admin::SignalSetResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SetSignal_, context, request, response); -} - -void SignalService::Stub::experimental_async::SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SetSignal_, context, request, response, std::move(f)); -} - -void SignalService::Stub::experimental_async::SetSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalSetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SetSignal_, context, request, response, std::move(f)); -} - -void SignalService::Stub::experimental_async::SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SetSignal_, context, request, response, reactor); -} - -void SignalService::Stub::experimental_async::SetSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalSetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SetSignal_, context, request, response, reactor); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>* SignalService::Stub::AsyncSetSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::SignalSetResponse>::Create(channel_.get(), cq, rpcmethod_SetSignal_, context, request, true); -} - -::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>* SignalService::Stub::PrepareAsyncSetSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::SignalSetResponse>::Create(channel_.get(), cq, rpcmethod_SetSignal_, context, request, false); -} - -SignalService::Service::Service() { - AddMethod(new ::grpc::internal::RpcServiceMethod( - SignalService_method_names[0], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< SignalService::Service, ::flyteidl::admin::SignalGetOrCreateRequest, ::flyteidl::admin::Signal>( - std::mem_fn(&SignalService::Service::GetOrCreateSignal), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - SignalService_method_names[1], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< SignalService::Service, ::flyteidl::admin::SignalListRequest, ::flyteidl::admin::SignalList>( - std::mem_fn(&SignalService::Service::ListSignals), this))); - AddMethod(new ::grpc::internal::RpcServiceMethod( - SignalService_method_names[2], - ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< SignalService::Service, ::flyteidl::admin::SignalSetRequest, ::flyteidl::admin::SignalSetResponse>( - std::mem_fn(&SignalService::Service::SetSignal), this))); -} - -SignalService::Service::~Service() { -} - -::grpc::Status SignalService::Service::GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status SignalService::Service::ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - -::grpc::Status SignalService::Service::SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response) { - (void) context; - (void) request; - (void) response; - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); -} - - -} // namespace flyteidl -} // namespace service - diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/signal.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/signal.grpc.pb.h deleted file mode 100644 index 7a27d5490f..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/signal.grpc.pb.h +++ /dev/null @@ -1,608 +0,0 @@ -// Generated by the gRPC C++ plugin. -// If you make any local change, they will be lost. -// source: flyteidl/service/signal.proto -#ifndef GRPC_flyteidl_2fservice_2fsignal_2eproto__INCLUDED -#define GRPC_flyteidl_2fservice_2fsignal_2eproto__INCLUDED - -#include "flyteidl/service/signal.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 { - -// SignalService defines an RPC Service that may create, update, and retrieve signal(s). -class SignalService final { - public: - static constexpr char const* service_full_name() { - return "flyteidl.service.SignalService"; - } - class StubInterface { - public: - virtual ~StubInterface() {} - // Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. - virtual ::grpc::Status GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::flyteidl::admin::Signal* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Signal>> AsyncGetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Signal>>(AsyncGetOrCreateSignalRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Signal>> PrepareAsyncGetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Signal>>(PrepareAsyncGetOrCreateSignalRaw(context, request, cq)); - } - // Purposefully left out an HTTP API for this RPC call. This is meant to idempotently retrieve - // a signal, meaning the first call will create the signal and all subsequent calls will - // fetch the existing signal. This is only useful during Flyte Workflow execution and therefore - // is not exposed to mitigate unintended behavior. - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve a signal, creating it if it does not exist." - // }; - // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. - virtual ::grpc::Status ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::flyteidl::admin::SignalList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalList>> AsyncListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalList>>(AsyncListSignalsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalList>> PrepareAsyncListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalList>>(PrepareAsyncListSignalsRaw(context, request, cq)); - } - // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition - virtual ::grpc::Status SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::flyteidl::admin::SignalSetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalSetResponse>> AsyncSetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalSetResponse>>(AsyncSetSignalRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalSetResponse>> PrepareAsyncSetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalSetResponse>>(PrepareAsyncSetSignalRaw(context, request, cq)); - } - class experimental_async_interface { - public: - virtual ~experimental_async_interface() {} - // Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. - virtual void GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response, std::function) = 0; - virtual void GetOrCreateSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Signal* response, std::function) = 0; - virtual void GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void GetOrCreateSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Signal* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Purposefully left out an HTTP API for this RPC call. This is meant to idempotently retrieve - // a signal, meaning the first call will create the signal and all subsequent calls will - // fetch the existing signal. This is only useful during Flyte Workflow execution and therefore - // is not exposed to mitigate unintended behavior. - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve a signal, creating it if it does not exist." - // }; - // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. - virtual void ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response, std::function) = 0; - virtual void ListSignals(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalList* response, std::function) = 0; - virtual void ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void ListSignals(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition - virtual void SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response, std::function) = 0; - virtual void SetSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalSetResponse* response, std::function) = 0; - virtual void SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void SetSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalSetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - }; - virtual class experimental_async_interface* experimental_async() { return nullptr; } - private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Signal>* AsyncGetOrCreateSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::Signal>* PrepareAsyncGetOrCreateSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalList>* AsyncListSignalsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalList>* PrepareAsyncListSignalsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalSetResponse>* AsyncSetSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::SignalSetResponse>* PrepareAsyncSetSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) = 0; - }; - class Stub final : public StubInterface { - public: - Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::flyteidl::admin::Signal* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Signal>> AsyncGetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Signal>>(AsyncGetOrCreateSignalRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Signal>> PrepareAsyncGetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Signal>>(PrepareAsyncGetOrCreateSignalRaw(context, request, cq)); - } - ::grpc::Status ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::flyteidl::admin::SignalList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>> AsyncListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>>(AsyncListSignalsRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>> PrepareAsyncListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>>(PrepareAsyncListSignalsRaw(context, request, cq)); - } - ::grpc::Status SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::flyteidl::admin::SignalSetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>> AsyncSetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>>(AsyncSetSignalRaw(context, request, cq)); - } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>> PrepareAsyncSetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>>(PrepareAsyncSetSignalRaw(context, request, cq)); - } - class experimental_async final : - public StubInterface::experimental_async_interface { - public: - void GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response, std::function) override; - void GetOrCreateSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Signal* response, std::function) override; - void GetOrCreateSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void GetOrCreateSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::Signal* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response, std::function) override; - void ListSignals(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalList* response, std::function) override; - void ListSignals(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void ListSignals(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response, std::function) override; - void SetSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalSetResponse* response, std::function) override; - void SetSignal(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void SetSignal(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::SignalSetResponse* 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::admin::Signal>* AsyncGetOrCreateSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::Signal>* PrepareAsyncGetOrCreateSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>* AsyncListSignalsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalList>* PrepareAsyncListSignalsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>* AsyncSetSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::SignalSetResponse>* PrepareAsyncSetSignalRaw(::grpc::ClientContext* context, const ::flyteidl::admin::SignalSetRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_GetOrCreateSignal_; - const ::grpc::internal::RpcMethod rpcmethod_ListSignals_; - const ::grpc::internal::RpcMethod rpcmethod_SetSignal_; - }; - 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(); - // Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. - virtual ::grpc::Status GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response); - // Purposefully left out an HTTP API for this RPC call. This is meant to idempotently retrieve - // a signal, meaning the first call will create the signal and all subsequent calls will - // fetch the existing signal. This is only useful during Flyte Workflow execution and therefore - // is not exposed to mitigate unintended behavior. - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve a signal, creating it if it does not exist." - // }; - // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. - virtual ::grpc::Status ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response); - // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition - virtual ::grpc::Status SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response); - }; - template - class WithAsyncMethod_GetOrCreateSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_GetOrCreateSignal() { - ::grpc::Service::MarkMethodAsync(0); - } - ~WithAsyncMethod_GetOrCreateSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetOrCreateSignal(::grpc::ServerContext* context, ::flyteidl::admin::SignalGetOrCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::Signal>* 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_ListSignals : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_ListSignals() { - ::grpc::Service::MarkMethodAsync(1); - } - ~WithAsyncMethod_ListSignals() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListSignals(::grpc::ServerContext* context, ::flyteidl::admin::SignalListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::SignalList>* 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 WithAsyncMethod_SetSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithAsyncMethod_SetSignal() { - ::grpc::Service::MarkMethodAsync(2); - } - ~WithAsyncMethod_SetSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetSignal(::grpc::ServerContext* context, ::flyteidl::admin::SignalSetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::SignalSetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - typedef WithAsyncMethod_GetOrCreateSignal > > AsyncService; - template - class ExperimentalWithCallbackMethod_GetOrCreateSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_GetOrCreateSignal() { - ::grpc::Service::experimental().MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::SignalGetOrCreateRequest, ::flyteidl::admin::Signal>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::SignalGetOrCreateRequest* request, - ::flyteidl::admin::Signal* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->GetOrCreateSignal(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_GetOrCreateSignal( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::SignalGetOrCreateRequest, ::flyteidl::admin::Signal>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::SignalGetOrCreateRequest, ::flyteidl::admin::Signal>*>( - ::grpc::Service::experimental().GetHandler(0)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_GetOrCreateSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_ListSignals : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_ListSignals() { - ::grpc::Service::experimental().MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::SignalListRequest, ::flyteidl::admin::SignalList>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::SignalListRequest* request, - ::flyteidl::admin::SignalList* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->ListSignals(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_ListSignals( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::SignalListRequest, ::flyteidl::admin::SignalList>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::SignalListRequest, ::flyteidl::admin::SignalList>*>( - ::grpc::Service::experimental().GetHandler(1)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_ListSignals() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithCallbackMethod_SetSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithCallbackMethod_SetSignal() { - ::grpc::Service::experimental().MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::SignalSetRequest, ::flyteidl::admin::SignalSetResponse>( - [this](::grpc::ServerContext* context, - const ::flyteidl::admin::SignalSetRequest* request, - ::flyteidl::admin::SignalSetResponse* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->SetSignal(context, request, response, controller); - })); - } - void SetMessageAllocatorFor_SetSignal( - ::grpc::experimental::MessageAllocator< ::flyteidl::admin::SignalSetRequest, ::flyteidl::admin::SignalSetResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::SignalSetRequest, ::flyteidl::admin::SignalSetResponse>*>( - ::grpc::Service::experimental().GetHandler(2)) - ->SetMessageAllocator(allocator); - } - ~ExperimentalWithCallbackMethod_SetSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - typedef ExperimentalWithCallbackMethod_GetOrCreateSignal > > ExperimentalCallbackService; - template - class WithGenericMethod_GetOrCreateSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_GetOrCreateSignal() { - ::grpc::Service::MarkMethodGeneric(0); - } - ~WithGenericMethod_GetOrCreateSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_ListSignals : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_ListSignals() { - ::grpc::Service::MarkMethodGeneric(1); - } - ~WithGenericMethod_ListSignals() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithGenericMethod_SetSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithGenericMethod_SetSignal() { - ::grpc::Service::MarkMethodGeneric(2); - } - ~WithGenericMethod_SetSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - }; - template - class WithRawMethod_GetOrCreateSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_GetOrCreateSignal() { - ::grpc::Service::MarkMethodRaw(0); - } - ~WithRawMethod_GetOrCreateSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestGetOrCreateSignal(::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_ListSignals : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_ListSignals() { - ::grpc::Service::MarkMethodRaw(1); - } - ~WithRawMethod_ListSignals() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestListSignals(::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 WithRawMethod_SetSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithRawMethod_SetSignal() { - ::grpc::Service::MarkMethodRaw(2); - } - ~WithRawMethod_SetSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - void RequestSetSignal(::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(2, context, request, response, new_call_cq, notification_cq, tag); - } - }; - template - class ExperimentalWithRawCallbackMethod_GetOrCreateSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_GetOrCreateSignal() { - ::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->GetOrCreateSignal(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_GetOrCreateSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void GetOrCreateSignal(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_ListSignals : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_ListSignals() { - ::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->ListSignals(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_ListSignals() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void ListSignals(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class ExperimentalWithRawCallbackMethod_SetSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - ExperimentalWithRawCallbackMethod_SetSignal() { - ::grpc::Service::experimental().MarkMethodRawCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( - [this](::grpc::ServerContext* context, - const ::grpc::ByteBuffer* request, - ::grpc::ByteBuffer* response, - ::grpc::experimental::ServerCallbackRpcController* controller) { - this->SetSignal(context, request, response, controller); - })); - } - ~ExperimentalWithRawCallbackMethod_SetSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable synchronous version of this method - ::grpc::Status SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - virtual void SetSignal(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } - }; - template - class WithStreamedUnaryMethod_GetOrCreateSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_GetOrCreateSignal() { - ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::SignalGetOrCreateRequest, ::flyteidl::admin::Signal>(std::bind(&WithStreamedUnaryMethod_GetOrCreateSignal::StreamedGetOrCreateSignal, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_GetOrCreateSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status GetOrCreateSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalGetOrCreateRequest* request, ::flyteidl::admin::Signal* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedGetOrCreateSignal(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::SignalGetOrCreateRequest,::flyteidl::admin::Signal>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_ListSignals : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_ListSignals() { - ::grpc::Service::MarkMethodStreamed(1, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::SignalListRequest, ::flyteidl::admin::SignalList>(std::bind(&WithStreamedUnaryMethod_ListSignals::StreamedListSignals, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_ListSignals() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status ListSignals(::grpc::ServerContext* context, const ::flyteidl::admin::SignalListRequest* request, ::flyteidl::admin::SignalList* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedListSignals(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::SignalListRequest,::flyteidl::admin::SignalList>* server_unary_streamer) = 0; - }; - template - class WithStreamedUnaryMethod_SetSignal : public BaseClass { - private: - void BaseClassMustBeDerivedFromService(const Service *service) {} - public: - WithStreamedUnaryMethod_SetSignal() { - ::grpc::Service::MarkMethodStreamed(2, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::SignalSetRequest, ::flyteidl::admin::SignalSetResponse>(std::bind(&WithStreamedUnaryMethod_SetSignal::StreamedSetSignal, this, std::placeholders::_1, std::placeholders::_2))); - } - ~WithStreamedUnaryMethod_SetSignal() override { - BaseClassMustBeDerivedFromService(this); - } - // disable regular version of this method - ::grpc::Status SetSignal(::grpc::ServerContext* context, const ::flyteidl::admin::SignalSetRequest* request, ::flyteidl::admin::SignalSetResponse* response) override { - abort(); - return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); - } - // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSetSignal(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::SignalSetRequest,::flyteidl::admin::SignalSetResponse>* server_unary_streamer) = 0; - }; - typedef WithStreamedUnaryMethod_GetOrCreateSignal > > StreamedUnaryService; - typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_GetOrCreateSignal > > StreamedService; -}; - -} // namespace service -} // namespace flyteidl - - -#endif // GRPC_flyteidl_2fservice_2fsignal_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/signal.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/signal.pb.cc deleted file mode 100644 index 5a6d8e19a8..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/signal.pb.cc +++ /dev/null @@ -1,90 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/signal.proto - -#include "flyteidl/service/signal.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -namespace flyteidl { -namespace service { -} // namespace service -} // namespace flyteidl -void InitDefaults_flyteidl_2fservice_2fsignal_2eproto() { -} - -constexpr ::google::protobuf::Metadata* file_level_metadata_flyteidl_2fservice_2fsignal_2eproto = nullptr; -constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fservice_2fsignal_2eproto = nullptr; -constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fsignal_2eproto = nullptr; -const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fsignal_2eproto::offsets[1] = {}; -static constexpr ::google::protobuf::internal::MigrationSchema* schemas = nullptr; -static constexpr ::google::protobuf::Message* const* file_default_instances = nullptr; - -::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fsignal_2eproto = { - {}, AddDescriptors_flyteidl_2fservice_2fsignal_2eproto, "flyteidl/service/signal.proto", schemas, - file_default_instances, TableStruct_flyteidl_2fservice_2fsignal_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fsignal_2eproto, 0, file_level_enum_descriptors_flyteidl_2fservice_2fsignal_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fsignal_2eproto, -}; - -const char descriptor_table_protodef_flyteidl_2fservice_2fsignal_2eproto[] = - "\n\035flyteidl/service/signal.proto\022\020flyteid" - "l.service\032\034google/api/annotations.proto\032" - "\033flyteidl/admin/signal.proto2\336\004\n\rSignalS" - "ervice\022W\n\021GetOrCreateSignal\022(.flyteidl.a" - "dmin.SignalGetOrCreateRequest\032\026.flyteidl" - ".admin.Signal\"\000\022\324\002\n\013ListSignals\022!.flytei" - "dl.admin.SignalListRequest\032\032.flyteidl.ad" - "min.SignalList\"\205\002\202\323\344\223\002\376\001\022k/api/v1/signal" - "s/{workflow_execution_id.project}/{workf" - "low_execution_id.domain}/{workflow_execu" - "tion_id.name}Z\216\001\022\213\001/api/v1/signals/org/{" - "workflow_execution_id.org}/{workflow_exe" - "cution_id.project}/{workflow_execution_i" - "d.domain}/{workflow_execution_id.name}\022\234" - "\001\n\tSetSignal\022 .flyteidl.admin.SignalSetR" - "equest\032!.flyteidl.admin.SignalSetRespons" - "e\"J\202\323\344\223\002D\"\017/api/v1/signals:\001*Z.\")/api/v1" - "/signals/org/{id.execution_id.org}:\001*B\?Z" - "=github.com/flyteorg/flyte/flyteidl/gen/" - "pb-go/flyteidl/serviceb\006proto3" - ; -::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fsignal_2eproto = { - false, InitDefaults_flyteidl_2fservice_2fsignal_2eproto, - descriptor_table_protodef_flyteidl_2fservice_2fsignal_2eproto, - "flyteidl/service/signal.proto", &assign_descriptors_table_flyteidl_2fservice_2fsignal_2eproto, 790, -}; - -void AddDescriptors_flyteidl_2fservice_2fsignal_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = - { - ::AddDescriptors_google_2fapi_2fannotations_2eproto, - ::AddDescriptors_flyteidl_2fadmin_2fsignal_2eproto, - }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fsignal_2eproto, deps, 2); -} - -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_flyteidl_2fservice_2fsignal_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fsignal_2eproto(); return true; }(); -namespace flyteidl { -namespace service { - -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) -#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/signal.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/signal.pb.h deleted file mode 100644 index 0b0d9c7373..0000000000 --- a/flyteidl/gen/pb-cpp/flyteidl/service/signal.pb.h +++ /dev/null @@ -1,82 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/signal.proto - -#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fsignal_2eproto -#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fsignal_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 // IWYU pragma: export -#include // IWYU pragma: export -#include "google/api/annotations.pb.h" -#include "flyteidl/admin/signal.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fsignal_2eproto - -// Internal implementation detail -- do not use these members. -struct TableStruct_flyteidl_2fservice_2fsignal_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[1] - 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_2fsignal_2eproto(); -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google -namespace flyteidl { -namespace service { - -// =================================================================== - - -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#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_2fsignal_2eproto diff --git a/flyteidl/gen/pb-es/flyteidl/admin/agent_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/agent_pb.ts new file mode 100644 index 0000000000..834197a299 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/agent_pb.ts @@ -0,0 +1,948 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/agent.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; +import { TaskExecutionIdentifier } from "../core/identifier_pb.js"; +import { LiteralMap } from "../core/literals_pb.js"; +import { TaskTemplate } from "../core/tasks_pb.js"; +import { TaskExecution_Phase, TaskLog } from "../core/execution_pb.js"; +import { ExecutionMetricResult } from "../core/metrics_pb.js"; + +/** + * The state of the execution is used to control its visibility in the UI/CLI. + * + * @generated from enum flyteidl.admin.State + */ +export enum State { + /** + * @generated from enum value: RETRYABLE_FAILURE = 0; + */ + RETRYABLE_FAILURE = 0, + + /** + * @generated from enum value: PERMANENT_FAILURE = 1; + */ + PERMANENT_FAILURE = 1, + + /** + * @generated from enum value: PENDING = 2; + */ + PENDING = 2, + + /** + * @generated from enum value: RUNNING = 3; + */ + RUNNING = 3, + + /** + * @generated from enum value: SUCCEEDED = 4; + */ + SUCCEEDED = 4, +} +// Retrieve enum metadata with: proto3.getEnumType(State) +proto3.util.setEnumType(State, "flyteidl.admin.State", [ + { no: 0, name: "RETRYABLE_FAILURE" }, + { no: 1, name: "PERMANENT_FAILURE" }, + { no: 2, name: "PENDING" }, + { no: 3, name: "RUNNING" }, + { no: 4, name: "SUCCEEDED" }, +]); + +/** + * Represents a subset of runtime task execution metadata that are relevant to external plugins. + * + * @generated from message flyteidl.admin.TaskExecutionMetadata + */ +export class TaskExecutionMetadata extends Message { + /** + * ID of the task execution + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + taskExecutionId?: TaskExecutionIdentifier; + + /** + * k8s namespace where the task is executed in + * + * @generated from field: string namespace = 2; + */ + namespace = ""; + + /** + * Labels attached to the task execution + * + * @generated from field: map labels = 3; + */ + labels: { [key: string]: string } = {}; + + /** + * Annotations attached to the task execution + * + * @generated from field: map annotations = 4; + */ + annotations: { [key: string]: string } = {}; + + /** + * k8s service account associated with the task execution + * + * @generated from field: string k8s_service_account = 5; + */ + k8sServiceAccount = ""; + + /** + * Environment variables attached to the task execution + * + * @generated from field: map environment_variables = 6; + */ + environmentVariables: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_execution_id", kind: "message", T: TaskExecutionIdentifier }, + { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 4, name: "annotations", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 5, name: "k8s_service_account", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "environment_variables", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionMetadata { + return new TaskExecutionMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionMetadata { + return new TaskExecutionMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionMetadata { + return new TaskExecutionMetadata().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionMetadata | PlainMessage | undefined, b: TaskExecutionMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionMetadata, a, b); + } +} + +/** + * Represents a request structure to create task. + * + * @generated from message flyteidl.admin.CreateTaskRequest + */ +export class CreateTaskRequest extends Message { + /** + * The inputs required to start the execution. All required inputs must be + * included in this map. If not required and not provided, defaults apply. + * +optional + * + * @generated from field: flyteidl.core.LiteralMap inputs = 1; + */ + inputs?: LiteralMap; + + /** + * Template of the task that encapsulates all the metadata of the task. + * + * @generated from field: flyteidl.core.TaskTemplate template = 2; + */ + template?: TaskTemplate; + + /** + * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) + * + * @generated from field: string output_prefix = 3; + */ + outputPrefix = ""; + + /** + * subset of runtime task execution metadata. + * + * @generated from field: flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; + */ + taskExecutionMetadata?: TaskExecutionMetadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.CreateTaskRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "inputs", kind: "message", T: LiteralMap }, + { no: 2, name: "template", kind: "message", T: TaskTemplate }, + { no: 3, name: "output_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "task_execution_metadata", kind: "message", T: TaskExecutionMetadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateTaskRequest { + return new CreateTaskRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateTaskRequest { + return new CreateTaskRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateTaskRequest { + return new CreateTaskRequest().fromJsonString(jsonString, options); + } + + static equals(a: CreateTaskRequest | PlainMessage | undefined, b: CreateTaskRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateTaskRequest, a, b); + } +} + +/** + * Represents a create response structure. + * + * @generated from message flyteidl.admin.CreateTaskResponse + */ +export class CreateTaskResponse extends Message { + /** + * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + * Resource is for synchronous task execution. + * + * @generated from oneof flyteidl.admin.CreateTaskResponse.res + */ + res: { + /** + * @generated from field: bytes resource_meta = 1; + */ + value: Uint8Array; + case: "resourceMeta"; + } | { + /** + * @generated from field: flyteidl.admin.Resource resource = 2; + */ + value: Resource; + case: "resource"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.CreateTaskResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_meta", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "res" }, + { no: 2, name: "resource", kind: "message", T: Resource, oneof: "res" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateTaskResponse { + return new CreateTaskResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateTaskResponse { + return new CreateTaskResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateTaskResponse { + return new CreateTaskResponse().fromJsonString(jsonString, options); + } + + static equals(a: CreateTaskResponse | PlainMessage | undefined, b: CreateTaskResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateTaskResponse, a, b); + } +} + +/** + * A message used to fetch a job resource from flyte agent server. + * + * @generated from message flyteidl.admin.GetTaskRequest + */ +export class GetTaskRequest extends Message { + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 1; + */ + taskType = ""; + + /** + * Metadata about the resource to be pass to the agent. + * + * @generated from field: bytes resource_meta = 2; + */ + resourceMeta = new Uint8Array(0); + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetTaskRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "resource_meta", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetTaskRequest { + return new GetTaskRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetTaskRequest { + return new GetTaskRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetTaskRequest { + return new GetTaskRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetTaskRequest | PlainMessage | undefined, b: GetTaskRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTaskRequest, a, b); + } +} + +/** + * Response to get an individual task resource. + * + * @generated from message flyteidl.admin.GetTaskResponse + */ +export class GetTaskResponse extends Message { + /** + * @generated from field: flyteidl.admin.Resource resource = 1; + */ + resource?: Resource; + + /** + * log information for the task execution + * + * @generated from field: repeated flyteidl.core.TaskLog log_links = 2; + */ + logLinks: TaskLog[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetTaskResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource", kind: "message", T: Resource }, + { no: 2, name: "log_links", kind: "message", T: TaskLog, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetTaskResponse { + return new GetTaskResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetTaskResponse { + return new GetTaskResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetTaskResponse { + return new GetTaskResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetTaskResponse | PlainMessage | undefined, b: GetTaskResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTaskResponse, a, b); + } +} + +/** + * @generated from message flyteidl.admin.Resource + */ +export class Resource extends Message { + /** + * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI. + * + * @generated from field: flyteidl.admin.State state = 1 [deprecated = true]; + * @deprecated + */ + state = State.RETRYABLE_FAILURE; + + /** + * The outputs of the execution. It's typically used by sql task. Agent service will create a + * Structured dataset pointing to the query result table. + * +optional + * + * @generated from field: flyteidl.core.LiteralMap outputs = 2; + */ + outputs?: LiteralMap; + + /** + * A descriptive message for the current state. e.g. waiting for cluster. + * + * @generated from field: string message = 3; + */ + message = ""; + + /** + * log information for the task execution. + * + * @generated from field: repeated flyteidl.core.TaskLog log_links = 4; + */ + logLinks: TaskLog[] = []; + + /** + * The phase of the execution is used to determine the phase of the plugin's execution. + * + * @generated from field: flyteidl.core.TaskExecution.Phase phase = 5; + */ + phase = TaskExecution_Phase.UNDEFINED; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Resource"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "state", kind: "enum", T: proto3.getEnumType(State) }, + { no: 2, name: "outputs", kind: "message", T: LiteralMap }, + { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "log_links", kind: "message", T: TaskLog, repeated: true }, + { no: 5, name: "phase", kind: "enum", T: proto3.getEnumType(TaskExecution_Phase) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Resource { + return new Resource().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Resource { + return new Resource().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Resource { + return new Resource().fromJsonString(jsonString, options); + } + + static equals(a: Resource | PlainMessage | undefined, b: Resource | PlainMessage | undefined): boolean { + return proto3.util.equals(Resource, a, b); + } +} + +/** + * A message used to delete a task. + * + * @generated from message flyteidl.admin.DeleteTaskRequest + */ +export class DeleteTaskRequest extends Message { + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 1; + */ + taskType = ""; + + /** + * Metadata about the resource to be pass to the agent. + * + * @generated from field: bytes resource_meta = 2; + */ + resourceMeta = new Uint8Array(0); + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.DeleteTaskRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "resource_meta", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteTaskRequest { + return new DeleteTaskRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteTaskRequest { + return new DeleteTaskRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DeleteTaskRequest { + return new DeleteTaskRequest().fromJsonString(jsonString, options); + } + + static equals(a: DeleteTaskRequest | PlainMessage | undefined, b: DeleteTaskRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteTaskRequest, a, b); + } +} + +/** + * Response to delete a task. + * + * @generated from message flyteidl.admin.DeleteTaskResponse + */ +export class DeleteTaskResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.DeleteTaskResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteTaskResponse { + return new DeleteTaskResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteTaskResponse { + return new DeleteTaskResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DeleteTaskResponse { + return new DeleteTaskResponse().fromJsonString(jsonString, options); + } + + static equals(a: DeleteTaskResponse | PlainMessage | undefined, b: DeleteTaskResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteTaskResponse, a, b); + } +} + +/** + * A message containing the agent metadata. + * + * @generated from message flyteidl.admin.Agent + */ +export class Agent extends Message { + /** + * Name is the developer-assigned name of the agent. + * + * @generated from field: string name = 1; + */ + name = ""; + + /** + * SupportedTaskTypes are the types of the tasks that the agent can handle. + * + * @generated from field: repeated string supported_task_types = 2; + */ + supportedTaskTypes: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Agent"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "supported_task_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Agent { + return new Agent().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Agent { + return new Agent().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Agent { + return new Agent().fromJsonString(jsonString, options); + } + + static equals(a: Agent | PlainMessage | undefined, b: Agent | PlainMessage | undefined): boolean { + return proto3.util.equals(Agent, a, b); + } +} + +/** + * A request to get an agent. + * + * @generated from message flyteidl.admin.GetAgentRequest + */ +export class GetAgentRequest extends Message { + /** + * The name of the agent. + * + * @generated from field: string name = 1; + */ + name = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetAgentRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetAgentRequest { + return new GetAgentRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetAgentRequest { + return new GetAgentRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetAgentRequest { + return new GetAgentRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetAgentRequest | PlainMessage | undefined, b: GetAgentRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetAgentRequest, a, b); + } +} + +/** + * A response containing an agent. + * + * @generated from message flyteidl.admin.GetAgentResponse + */ +export class GetAgentResponse extends Message { + /** + * @generated from field: flyteidl.admin.Agent agent = 1; + */ + agent?: Agent; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetAgentResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "agent", kind: "message", T: Agent }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetAgentResponse { + return new GetAgentResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetAgentResponse { + return new GetAgentResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetAgentResponse { + return new GetAgentResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetAgentResponse | PlainMessage | undefined, b: GetAgentResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetAgentResponse, a, b); + } +} + +/** + * A request to list all agents. + * + * @generated from message flyteidl.admin.ListAgentsRequest + */ +export class ListAgentsRequest extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ListAgentsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentsRequest { + return new ListAgentsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentsRequest { + return new ListAgentsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListAgentsRequest { + return new ListAgentsRequest().fromJsonString(jsonString, options); + } + + static equals(a: ListAgentsRequest | PlainMessage | undefined, b: ListAgentsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ListAgentsRequest, a, b); + } +} + +/** + * A response containing a list of agents. + * + * @generated from message flyteidl.admin.ListAgentsResponse + */ +export class ListAgentsResponse extends Message { + /** + * @generated from field: repeated flyteidl.admin.Agent agents = 1; + */ + agents: Agent[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ListAgentsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "agents", kind: "message", T: Agent, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentsResponse { + return new ListAgentsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentsResponse { + return new ListAgentsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListAgentsResponse { + return new ListAgentsResponse().fromJsonString(jsonString, options); + } + + static equals(a: ListAgentsResponse | PlainMessage | undefined, b: ListAgentsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ListAgentsResponse, a, b); + } +} + +/** + * A request to get the metrics from a task execution. + * + * @generated from message flyteidl.admin.GetTaskMetricsRequest + */ +export class GetTaskMetricsRequest extends Message { + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 1; + */ + taskType = ""; + + /** + * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + * + * @generated from field: bytes resource_meta = 2; + */ + resourceMeta = new Uint8Array(0); + + /** + * The metrics to query. If empty, will return a default set of metrics. + * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG + * + * @generated from field: repeated string queries = 3; + */ + queries: string[] = []; + + /** + * Start timestamp, inclusive. + * + * @generated from field: google.protobuf.Timestamp start_time = 4; + */ + startTime?: Timestamp; + + /** + * End timestamp, inclusive.. + * + * @generated from field: google.protobuf.Timestamp end_time = 5; + */ + endTime?: Timestamp; + + /** + * Query resolution step width in duration format or float number of seconds. + * + * @generated from field: google.protobuf.Duration step = 6; + */ + step?: Duration; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetTaskMetricsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "resource_meta", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 3, name: "queries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "start_time", kind: "message", T: Timestamp }, + { no: 5, name: "end_time", kind: "message", T: Timestamp }, + { no: 6, name: "step", kind: "message", T: Duration }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetTaskMetricsRequest { + return new GetTaskMetricsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetTaskMetricsRequest { + return new GetTaskMetricsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetTaskMetricsRequest { + return new GetTaskMetricsRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetTaskMetricsRequest | PlainMessage | undefined, b: GetTaskMetricsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTaskMetricsRequest, a, b); + } +} + +/** + * A response containing a list of metrics for a task execution. + * + * @generated from message flyteidl.admin.GetTaskMetricsResponse + */ +export class GetTaskMetricsResponse extends Message { + /** + * The execution metric results. + * + * @generated from field: repeated flyteidl.core.ExecutionMetricResult results = 1; + */ + results: ExecutionMetricResult[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetTaskMetricsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "results", kind: "message", T: ExecutionMetricResult, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetTaskMetricsResponse { + return new GetTaskMetricsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetTaskMetricsResponse { + return new GetTaskMetricsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetTaskMetricsResponse { + return new GetTaskMetricsResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetTaskMetricsResponse | PlainMessage | undefined, b: GetTaskMetricsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTaskMetricsResponse, a, b); + } +} + +/** + * A request to get the log from a task execution. + * + * @generated from message flyteidl.admin.GetTaskLogsRequest + */ +export class GetTaskLogsRequest extends Message { + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 1; + */ + taskType = ""; + + /** + * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + * + * @generated from field: bytes resource_meta = 2; + */ + resourceMeta = new Uint8Array(0); + + /** + * Number of lines to return. + * + * @generated from field: uint64 lines = 3; + */ + lines = protoInt64.zero; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 4; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetTaskLogsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "resource_meta", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 3, name: "lines", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 4, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetTaskLogsRequest { + return new GetTaskLogsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetTaskLogsRequest { + return new GetTaskLogsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetTaskLogsRequest { + return new GetTaskLogsRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetTaskLogsRequest | PlainMessage | undefined, b: GetTaskLogsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTaskLogsRequest, a, b); + } +} + +/** + * A response containing the logs for a task execution. + * + * @generated from message flyteidl.admin.GetTaskLogsResponse + */ +export class GetTaskLogsResponse extends Message { + /** + * The execution log results. + * + * @generated from field: repeated string results = 1; + */ + results: string[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetTaskLogsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "results", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetTaskLogsResponse { + return new GetTaskLogsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetTaskLogsResponse { + return new GetTaskLogsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetTaskLogsResponse { + return new GetTaskLogsResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetTaskLogsResponse | PlainMessage | undefined, b: GetTaskLogsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTaskLogsResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/cluster_assignment_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/cluster_assignment_pb.ts new file mode 100644 index 0000000000..257f644343 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/cluster_assignment_pb.ts @@ -0,0 +1,47 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/cluster_assignment.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Encapsulates specifications for routing an execution onto a specific cluster. + * + * @generated from message flyteidl.admin.ClusterAssignment + */ +export class ClusterAssignment extends Message { + /** + * @generated from field: string cluster_pool_name = 3; + */ + clusterPoolName = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ClusterAssignment"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 3, name: "cluster_pool_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ClusterAssignment { + return new ClusterAssignment().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ClusterAssignment { + return new ClusterAssignment().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ClusterAssignment { + return new ClusterAssignment().fromJsonString(jsonString, options); + } + + static equals(a: ClusterAssignment | PlainMessage | undefined, b: ClusterAssignment | PlainMessage | undefined): boolean { + return proto3.util.equals(ClusterAssignment, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/common_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/common_pb.ts new file mode 100644 index 0000000000..52ee165d36 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/common_pb.ts @@ -0,0 +1,1388 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/common.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { Identifier, ResourceType } from "../core/identifier_pb.js"; +import { WorkflowExecution_Phase } from "../core/execution_pb.js"; +import { KeyValuePair } from "../core/literals_pb.js"; + +/** + * The status of the named entity is used to control its visibility in the UI. + * + * @generated from enum flyteidl.admin.NamedEntityState + */ +export enum NamedEntityState { + /** + * By default, all named entities are considered active and under development. + * + * @generated from enum value: NAMED_ENTITY_ACTIVE = 0; + */ + NAMED_ENTITY_ACTIVE = 0, + + /** + * Archived named entities are no longer visible in the UI. + * + * @generated from enum value: NAMED_ENTITY_ARCHIVED = 1; + */ + NAMED_ENTITY_ARCHIVED = 1, + + /** + * System generated entities that aren't explicitly created or managed by a user. + * + * @generated from enum value: SYSTEM_GENERATED = 2; + */ + SYSTEM_GENERATED = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(NamedEntityState) +proto3.util.setEnumType(NamedEntityState, "flyteidl.admin.NamedEntityState", [ + { no: 0, name: "NAMED_ENTITY_ACTIVE" }, + { no: 1, name: "NAMED_ENTITY_ARCHIVED" }, + { no: 2, name: "SYSTEM_GENERATED" }, +]); + +/** + * Encapsulation of fields that identifies a Flyte resource. + * A Flyte resource can be a task, workflow or launch plan. + * A resource can internally have multiple versions and is uniquely identified + * by project, domain, and name. + * + * @generated from message flyteidl.admin.NamedEntityIdentifier + */ +export class NamedEntityIdentifier extends Message { + /** + * Name of the project the resource belongs to. + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Name of the domain the resource belongs to. + * A domain can be considered as a subset within a specific project. + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * User provided value for the resource. + * The combination of project + domain + name uniquely identifies the resource. + * +optional - in certain contexts - like 'List API', 'Launch plans' + * + * @generated from field: string name = 3; + */ + name = ""; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 4; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityIdentifier"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityIdentifier { + return new NamedEntityIdentifier().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityIdentifier { + return new NamedEntityIdentifier().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityIdentifier { + return new NamedEntityIdentifier().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityIdentifier | PlainMessage | undefined, b: NamedEntityIdentifier | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityIdentifier, a, b); + } +} + +/** + * Additional metadata around a named entity. + * + * @generated from message flyteidl.admin.NamedEntityMetadata + */ +export class NamedEntityMetadata extends Message { + /** + * Common description across all versions of the entity + * +optional + * + * @generated from field: string description = 1; + */ + description = ""; + + /** + * Shared state across all version of the entity + * At this point in time, only workflow entities can have their state archived. + * + * @generated from field: flyteidl.admin.NamedEntityState state = 2; + */ + state = NamedEntityState.NAMED_ENTITY_ACTIVE; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "state", kind: "enum", T: proto3.getEnumType(NamedEntityState) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityMetadata { + return new NamedEntityMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityMetadata { + return new NamedEntityMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityMetadata { + return new NamedEntityMetadata().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityMetadata | PlainMessage | undefined, b: NamedEntityMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityMetadata, a, b); + } +} + +/** + * Encapsulates information common to a NamedEntity, a Flyte resource such as a task, + * workflow or launch plan. A NamedEntity is exclusively identified by its resource type + * and identifier. + * + * @generated from message flyteidl.admin.NamedEntity + */ +export class NamedEntity extends Message { + /** + * Resource type of the named entity. One of Task, Workflow or LaunchPlan. + * + * @generated from field: flyteidl.core.ResourceType resource_type = 1; + */ + resourceType = ResourceType.UNSPECIFIED; + + /** + * @generated from field: flyteidl.admin.NamedEntityIdentifier id = 2; + */ + id?: NamedEntityIdentifier; + + /** + * Additional metadata around a named entity. + * + * @generated from field: flyteidl.admin.NamedEntityMetadata metadata = 3; + */ + metadata?: NamedEntityMetadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntity"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_type", kind: "enum", T: proto3.getEnumType(ResourceType) }, + { no: 2, name: "id", kind: "message", T: NamedEntityIdentifier }, + { no: 3, name: "metadata", kind: "message", T: NamedEntityMetadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntity { + return new NamedEntity().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntity { + return new NamedEntity().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntity { + return new NamedEntity().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntity | PlainMessage | undefined, b: NamedEntity | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntity, a, b); + } +} + +/** + * Specifies sort ordering in a list request. + * + * @generated from message flyteidl.admin.Sort + */ +export class Sort extends Message { + /** + * Indicates an attribute to sort the response values. + * +required + * + * @generated from field: string key = 1; + */ + key = ""; + + /** + * Indicates the direction to apply sort key for response values. + * +optional + * + * @generated from field: flyteidl.admin.Sort.Direction direction = 2; + */ + direction = Sort_Direction.DESCENDING; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Sort"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "direction", kind: "enum", T: proto3.getEnumType(Sort_Direction) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Sort { + return new Sort().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Sort { + return new Sort().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Sort { + return new Sort().fromJsonString(jsonString, options); + } + + static equals(a: Sort | PlainMessage | undefined, b: Sort | PlainMessage | undefined): boolean { + return proto3.util.equals(Sort, a, b); + } +} + +/** + * @generated from enum flyteidl.admin.Sort.Direction + */ +export enum Sort_Direction { + /** + * By default, fields are sorted in descending order. + * + * @generated from enum value: DESCENDING = 0; + */ + DESCENDING = 0, + + /** + * @generated from enum value: ASCENDING = 1; + */ + ASCENDING = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(Sort_Direction) +proto3.util.setEnumType(Sort_Direction, "flyteidl.admin.Sort.Direction", [ + { no: 0, name: "DESCENDING" }, + { no: 1, name: "ASCENDING" }, +]); + +/** + * Represents a request structure to list NamedEntityIdentifiers. + * + * @generated from message flyteidl.admin.NamedEntityIdentifierListRequest + */ +export class NamedEntityIdentifierListRequest extends Message { + /** + * Name of the project that contains the identifiers. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Name of the domain the identifiers belongs to within the project. + * +required + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Indicates the number of resources to be returned. + * +required + * + * @generated from field: uint32 limit = 3; + */ + limit = 0; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 4; + */ + token = ""; + + /** + * Specifies how listed entities should be sorted in the response. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 5; + */ + sortBy?: Sort; + + /** + * Indicates a list of filters passed as string. + * +optional + * + * @generated from field: string filters = 6; + */ + filters = ""; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 7; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityIdentifierListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "sort_by", kind: "message", T: Sort }, + { no: 6, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityIdentifierListRequest { + return new NamedEntityIdentifierListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityIdentifierListRequest { + return new NamedEntityIdentifierListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityIdentifierListRequest { + return new NamedEntityIdentifierListRequest().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityIdentifierListRequest | PlainMessage | undefined, b: NamedEntityIdentifierListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityIdentifierListRequest, a, b); + } +} + +/** + * Represents a request structure to list NamedEntity objects + * + * @generated from message flyteidl.admin.NamedEntityListRequest + */ +export class NamedEntityListRequest extends Message { + /** + * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. + * +required + * + * @generated from field: flyteidl.core.ResourceType resource_type = 1; + */ + resourceType = ResourceType.UNSPECIFIED; + + /** + * Name of the project that contains the identifiers. + * +required + * + * @generated from field: string project = 2; + */ + project = ""; + + /** + * Name of the domain the identifiers belongs to within the project. + * + * @generated from field: string domain = 3; + */ + domain = ""; + + /** + * Indicates the number of resources to be returned. + * + * @generated from field: uint32 limit = 4; + */ + limit = 0; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 5; + */ + token = ""; + + /** + * Specifies how listed entities should be sorted in the response. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 6; + */ + sortBy?: Sort; + + /** + * Indicates a list of filters passed as string. + * +optional + * + * @generated from field: string filters = 7; + */ + filters = ""; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 8; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_type", kind: "enum", T: proto3.getEnumType(ResourceType) }, + { no: 2, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "sort_by", kind: "message", T: Sort }, + { no: 7, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityListRequest { + return new NamedEntityListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityListRequest { + return new NamedEntityListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityListRequest { + return new NamedEntityListRequest().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityListRequest | PlainMessage | undefined, b: NamedEntityListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityListRequest, a, b); + } +} + +/** + * Represents a list of NamedEntityIdentifiers. + * + * @generated from message flyteidl.admin.NamedEntityIdentifierList + */ +export class NamedEntityIdentifierList extends Message { + /** + * A list of identifiers. + * + * @generated from field: repeated flyteidl.admin.NamedEntityIdentifier entities = 1; + */ + entities: NamedEntityIdentifier[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityIdentifierList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "entities", kind: "message", T: NamedEntityIdentifier, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityIdentifierList { + return new NamedEntityIdentifierList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityIdentifierList { + return new NamedEntityIdentifierList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityIdentifierList { + return new NamedEntityIdentifierList().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityIdentifierList | PlainMessage | undefined, b: NamedEntityIdentifierList | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityIdentifierList, a, b); + } +} + +/** + * Represents a list of NamedEntityIdentifiers. + * + * @generated from message flyteidl.admin.NamedEntityList + */ +export class NamedEntityList extends Message { + /** + * A list of NamedEntity objects + * + * @generated from field: repeated flyteidl.admin.NamedEntity entities = 1; + */ + entities: NamedEntity[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "entities", kind: "message", T: NamedEntity, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityList { + return new NamedEntityList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityList { + return new NamedEntityList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityList { + return new NamedEntityList().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityList | PlainMessage | undefined, b: NamedEntityList | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityList, a, b); + } +} + +/** + * A request to retrieve the metadata associated with a NamedEntityIdentifier + * + * @generated from message flyteidl.admin.NamedEntityGetRequest + */ +export class NamedEntityGetRequest extends Message { + /** + * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. + * +required + * + * @generated from field: flyteidl.core.ResourceType resource_type = 1; + */ + resourceType = ResourceType.UNSPECIFIED; + + /** + * The identifier for the named entity for which to fetch metadata. + * +required + * + * @generated from field: flyteidl.admin.NamedEntityIdentifier id = 2; + */ + id?: NamedEntityIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_type", kind: "enum", T: proto3.getEnumType(ResourceType) }, + { no: 2, name: "id", kind: "message", T: NamedEntityIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityGetRequest { + return new NamedEntityGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityGetRequest { + return new NamedEntityGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityGetRequest { + return new NamedEntityGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityGetRequest | PlainMessage | undefined, b: NamedEntityGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityGetRequest, a, b); + } +} + +/** + * Request to set the referenced named entity state to the configured value. + * + * @generated from message flyteidl.admin.NamedEntityUpdateRequest + */ +export class NamedEntityUpdateRequest extends Message { + /** + * Resource type of the metadata to update + * +required + * + * @generated from field: flyteidl.core.ResourceType resource_type = 1; + */ + resourceType = ResourceType.UNSPECIFIED; + + /** + * Identifier of the metadata to update + * +required + * + * @generated from field: flyteidl.admin.NamedEntityIdentifier id = 2; + */ + id?: NamedEntityIdentifier; + + /** + * Metadata object to set as the new value + * +required + * + * @generated from field: flyteidl.admin.NamedEntityMetadata metadata = 3; + */ + metadata?: NamedEntityMetadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityUpdateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_type", kind: "enum", T: proto3.getEnumType(ResourceType) }, + { no: 2, name: "id", kind: "message", T: NamedEntityIdentifier }, + { no: 3, name: "metadata", kind: "message", T: NamedEntityMetadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityUpdateRequest { + return new NamedEntityUpdateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityUpdateRequest { + return new NamedEntityUpdateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityUpdateRequest { + return new NamedEntityUpdateRequest().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityUpdateRequest | PlainMessage | undefined, b: NamedEntityUpdateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityUpdateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.NamedEntityUpdateResponse + */ +export class NamedEntityUpdateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NamedEntityUpdateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NamedEntityUpdateResponse { + return new NamedEntityUpdateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NamedEntityUpdateResponse { + return new NamedEntityUpdateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NamedEntityUpdateResponse { + return new NamedEntityUpdateResponse().fromJsonString(jsonString, options); + } + + static equals(a: NamedEntityUpdateResponse | PlainMessage | undefined, b: NamedEntityUpdateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(NamedEntityUpdateResponse, a, b); + } +} + +/** + * Shared request structure to fetch a single resource. + * Resources include: Task, Workflow, LaunchPlan + * + * @generated from message flyteidl.admin.ObjectGetRequest + */ +export class ObjectGetRequest extends Message { + /** + * Indicates a unique version of resource. + * +required + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ObjectGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ObjectGetRequest { + return new ObjectGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ObjectGetRequest { + return new ObjectGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ObjectGetRequest { + return new ObjectGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: ObjectGetRequest | PlainMessage | undefined, b: ObjectGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ObjectGetRequest, a, b); + } +} + +/** + * Shared request structure to retrieve a list of resources. + * Resources include: Task, Workflow, LaunchPlan + * + * @generated from message flyteidl.admin.ResourceListRequest + */ +export class ResourceListRequest extends Message { + /** + * id represents the unique identifier of the resource. + * +required + * + * @generated from field: flyteidl.admin.NamedEntityIdentifier id = 1; + */ + id?: NamedEntityIdentifier; + + /** + * Indicates the number of resources to be returned. + * +required + * + * @generated from field: uint32 limit = 2; + */ + limit = 0; + + /** + * In the case of multiple pages of results, this server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 3; + */ + token = ""; + + /** + * Indicates a list of filters passed as string. + * More info on constructing filters : + * +optional + * + * @generated from field: string filters = 4; + */ + filters = ""; + + /** + * Sort ordering. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 5; + */ + sortBy?: Sort; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ResourceListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: NamedEntityIdentifier }, + { no: 2, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "sort_by", kind: "message", T: Sort }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ResourceListRequest { + return new ResourceListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ResourceListRequest { + return new ResourceListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ResourceListRequest { + return new ResourceListRequest().fromJsonString(jsonString, options); + } + + static equals(a: ResourceListRequest | PlainMessage | undefined, b: ResourceListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ResourceListRequest, a, b); + } +} + +/** + * Defines an email notification specification. + * + * @generated from message flyteidl.admin.EmailNotification + */ +export class EmailNotification extends Message { + /** + * The list of email addresses recipients for this notification. + * +required + * + * @generated from field: repeated string recipients_email = 1; + */ + recipientsEmail: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.EmailNotification"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "recipients_email", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): EmailNotification { + return new EmailNotification().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): EmailNotification { + return new EmailNotification().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): EmailNotification { + return new EmailNotification().fromJsonString(jsonString, options); + } + + static equals(a: EmailNotification | PlainMessage | undefined, b: EmailNotification | PlainMessage | undefined): boolean { + return proto3.util.equals(EmailNotification, a, b); + } +} + +/** + * Defines a pager duty notification specification. + * + * @generated from message flyteidl.admin.PagerDutyNotification + */ +export class PagerDutyNotification extends Message { + /** + * Currently, PagerDuty notifications leverage email to trigger a notification. + * +required + * + * @generated from field: repeated string recipients_email = 1; + */ + recipientsEmail: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.PagerDutyNotification"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "recipients_email", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PagerDutyNotification { + return new PagerDutyNotification().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PagerDutyNotification { + return new PagerDutyNotification().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PagerDutyNotification { + return new PagerDutyNotification().fromJsonString(jsonString, options); + } + + static equals(a: PagerDutyNotification | PlainMessage | undefined, b: PagerDutyNotification | PlainMessage | undefined): boolean { + return proto3.util.equals(PagerDutyNotification, a, b); + } +} + +/** + * Defines a slack notification specification. + * + * @generated from message flyteidl.admin.SlackNotification + */ +export class SlackNotification extends Message { + /** + * Currently, Slack notifications leverage email to trigger a notification. + * +required + * + * @generated from field: repeated string recipients_email = 1; + */ + recipientsEmail: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SlackNotification"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "recipients_email", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SlackNotification { + return new SlackNotification().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SlackNotification { + return new SlackNotification().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SlackNotification { + return new SlackNotification().fromJsonString(jsonString, options); + } + + static equals(a: SlackNotification | PlainMessage | undefined, b: SlackNotification | PlainMessage | undefined): boolean { + return proto3.util.equals(SlackNotification, a, b); + } +} + +/** + * Represents a structure for notifications based on execution status. + * The notification content is configured within flyte admin but can be templatized. + * Future iterations could expose configuring notifications with custom content. + * + * @generated from message flyteidl.admin.Notification + */ +export class Notification extends Message { + /** + * A list of phases to which users can associate the notifications to. + * +required + * + * @generated from field: repeated flyteidl.core.WorkflowExecution.Phase phases = 1; + */ + phases: WorkflowExecution_Phase[] = []; + + /** + * The type of notification to trigger. + * +required + * + * @generated from oneof flyteidl.admin.Notification.type + */ + type: { + /** + * @generated from field: flyteidl.admin.EmailNotification email = 2; + */ + value: EmailNotification; + case: "email"; + } | { + /** + * @generated from field: flyteidl.admin.PagerDutyNotification pager_duty = 3; + */ + value: PagerDutyNotification; + case: "pagerDuty"; + } | { + /** + * @generated from field: flyteidl.admin.SlackNotification slack = 4; + */ + value: SlackNotification; + case: "slack"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Notification"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "phases", kind: "enum", T: proto3.getEnumType(WorkflowExecution_Phase), repeated: true }, + { no: 2, name: "email", kind: "message", T: EmailNotification, oneof: "type" }, + { no: 3, name: "pager_duty", kind: "message", T: PagerDutyNotification, oneof: "type" }, + { no: 4, name: "slack", kind: "message", T: SlackNotification, oneof: "type" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Notification { + return new Notification().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Notification { + return new Notification().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Notification { + return new Notification().fromJsonString(jsonString, options); + } + + static equals(a: Notification | PlainMessage | undefined, b: Notification | PlainMessage | undefined): boolean { + return proto3.util.equals(Notification, a, b); + } +} + +/** + * Represents a string url and associated metadata used throughout the platform. + * + * @generated from message flyteidl.admin.UrlBlob + * @deprecated + */ +export class UrlBlob extends Message { + /** + * Actual url value. + * + * @generated from field: string url = 1; + */ + url = ""; + + /** + * Represents the size of the file accessible at the above url. + * + * @generated from field: int64 bytes = 2; + */ + bytes = protoInt64.zero; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.UrlBlob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "bytes", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): UrlBlob { + return new UrlBlob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): UrlBlob { + return new UrlBlob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): UrlBlob { + return new UrlBlob().fromJsonString(jsonString, options); + } + + static equals(a: UrlBlob | PlainMessage | undefined, b: UrlBlob | PlainMessage | undefined): boolean { + return proto3.util.equals(UrlBlob, a, b); + } +} + +/** + * Label values to be applied to an execution resource. + * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined + * to specify how to merge labels defined at registration and execution time. + * + * @generated from message flyteidl.admin.Labels + */ +export class Labels extends Message { + /** + * Map of custom labels to be applied to the execution resource. + * + * @generated from field: map values = 1; + */ + values: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Labels"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "values", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Labels { + return new Labels().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Labels { + return new Labels().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Labels { + return new Labels().fromJsonString(jsonString, options); + } + + static equals(a: Labels | PlainMessage | undefined, b: Labels | PlainMessage | undefined): boolean { + return proto3.util.equals(Labels, a, b); + } +} + +/** + * Annotation values to be applied to an execution resource. + * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined + * to specify how to merge annotations defined at registration and execution time. + * + * @generated from message flyteidl.admin.Annotations + */ +export class Annotations extends Message { + /** + * Map of custom annotations to be applied to the execution resource. + * + * @generated from field: map values = 1; + */ + values: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Annotations"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "values", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Annotations { + return new Annotations().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Annotations { + return new Annotations().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Annotations { + return new Annotations().fromJsonString(jsonString, options); + } + + static equals(a: Annotations | PlainMessage | undefined, b: Annotations | PlainMessage | undefined): boolean { + return proto3.util.equals(Annotations, a, b); + } +} + +/** + * Environment variable values to be applied to an execution resource. + * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined + * to specify how to merge environment variables defined at registration and execution time. + * + * @generated from message flyteidl.admin.Envs + */ +export class Envs extends Message { + /** + * Map of custom environment variables to be applied to the execution resource. + * + * @generated from field: repeated flyteidl.core.KeyValuePair values = 1; + */ + values: KeyValuePair[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Envs"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "values", kind: "message", T: KeyValuePair, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Envs { + return new Envs().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Envs { + return new Envs().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Envs { + return new Envs().fromJsonString(jsonString, options); + } + + static equals(a: Envs | PlainMessage | undefined, b: Envs | PlainMessage | undefined): boolean { + return proto3.util.equals(Envs, a, b); + } +} + +/** + * Defines permissions associated with executions created by this launch plan spec. + * Use either of these roles when they have permissions required by your workflow execution. + * Deprecated. + * + * @generated from message flyteidl.admin.AuthRole + * @deprecated + */ +export class AuthRole extends Message { + /** + * Defines an optional iam role which will be used for tasks run in executions created with this launch plan. + * + * @generated from field: string assumable_iam_role = 1; + */ + assumableIamRole = ""; + + /** + * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. + * + * @generated from field: string kubernetes_service_account = 2; + */ + kubernetesServiceAccount = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.AuthRole"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "assumable_iam_role", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "kubernetes_service_account", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AuthRole { + return new AuthRole().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AuthRole { + return new AuthRole().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AuthRole { + return new AuthRole().fromJsonString(jsonString, options); + } + + static equals(a: AuthRole | PlainMessage | undefined, b: AuthRole | PlainMessage | undefined): boolean { + return proto3.util.equals(AuthRole, a, b); + } +} + +/** + * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + * See https://github.com/flyteorg/flyte/issues/211 for more background information. + * + * @generated from message flyteidl.admin.RawOutputDataConfig + */ +export class RawOutputDataConfig extends Message { + /** + * Prefix for where offloaded data from user workflows will be written + * e.g. s3://bucket/key or s3://bucket/ + * + * @generated from field: string output_location_prefix = 1; + */ + outputLocationPrefix = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.RawOutputDataConfig"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "output_location_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): RawOutputDataConfig { + return new RawOutputDataConfig().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): RawOutputDataConfig { + return new RawOutputDataConfig().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): RawOutputDataConfig { + return new RawOutputDataConfig().fromJsonString(jsonString, options); + } + + static equals(a: RawOutputDataConfig | PlainMessage | undefined, b: RawOutputDataConfig | PlainMessage | undefined): boolean { + return proto3.util.equals(RawOutputDataConfig, a, b); + } +} + +/** + * These URLs are returned as part of node and task execution data requests. + * + * @generated from message flyteidl.admin.FlyteURLs + */ +export class FlyteURLs extends Message { + /** + * @generated from field: string inputs = 1; + */ + inputs = ""; + + /** + * @generated from field: string outputs = 2; + */ + outputs = ""; + + /** + * @generated from field: string deck = 3; + */ + deck = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.FlyteURLs"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "inputs", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "outputs", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "deck", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): FlyteURLs { + return new FlyteURLs().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): FlyteURLs { + return new FlyteURLs().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): FlyteURLs { + return new FlyteURLs().fromJsonString(jsonString, options); + } + + static equals(a: FlyteURLs | PlainMessage | undefined, b: FlyteURLs | PlainMessage | undefined): boolean { + return proto3.util.equals(FlyteURLs, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/description_entity_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/description_entity_pb.ts new file mode 100644 index 0000000000..fe20c24152 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/description_entity_pb.ts @@ -0,0 +1,375 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/description_entity.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { Identifier, ResourceType } from "../core/identifier_pb.js"; +import { NamedEntityIdentifier, Sort } from "./common_pb.js"; + +/** + * The format of the long description + * + * @generated from enum flyteidl.admin.DescriptionFormat + */ +export enum DescriptionFormat { + /** + * @generated from enum value: DESCRIPTION_FORMAT_UNKNOWN = 0; + */ + UNKNOWN = 0, + + /** + * @generated from enum value: DESCRIPTION_FORMAT_MARKDOWN = 1; + */ + MARKDOWN = 1, + + /** + * @generated from enum value: DESCRIPTION_FORMAT_HTML = 2; + */ + HTML = 2, + + /** + * python default documentation - comments is rst + * + * @generated from enum value: DESCRIPTION_FORMAT_RST = 3; + */ + RST = 3, +} +// Retrieve enum metadata with: proto3.getEnumType(DescriptionFormat) +proto3.util.setEnumType(DescriptionFormat, "flyteidl.admin.DescriptionFormat", [ + { no: 0, name: "DESCRIPTION_FORMAT_UNKNOWN" }, + { no: 1, name: "DESCRIPTION_FORMAT_MARKDOWN" }, + { no: 2, name: "DESCRIPTION_FORMAT_HTML" }, + { no: 3, name: "DESCRIPTION_FORMAT_RST" }, +]); + +/** + * DescriptionEntity contains detailed description for the task/workflow. + * Documentation could provide insight into the algorithms, business use case, etc. + * + * @generated from message flyteidl.admin.DescriptionEntity + */ +export class DescriptionEntity extends Message { + /** + * id represents the unique identifier of the description entity. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * One-liner overview of the entity. + * + * @generated from field: string short_description = 2; + */ + shortDescription = ""; + + /** + * Full user description with formatting preserved. + * + * @generated from field: flyteidl.admin.Description long_description = 3; + */ + longDescription?: Description; + + /** + * Optional link to source code used to define this entity. + * + * @generated from field: flyteidl.admin.SourceCode source_code = 4; + */ + sourceCode?: SourceCode; + + /** + * User-specified tags. These are arbitrary and can be used for searching + * filtering and discovering tasks. + * + * @generated from field: repeated string tags = 5; + */ + tags: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.DescriptionEntity"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "short_description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "long_description", kind: "message", T: Description }, + { no: 4, name: "source_code", kind: "message", T: SourceCode }, + { no: 5, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DescriptionEntity { + return new DescriptionEntity().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DescriptionEntity { + return new DescriptionEntity().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DescriptionEntity { + return new DescriptionEntity().fromJsonString(jsonString, options); + } + + static equals(a: DescriptionEntity | PlainMessage | undefined, b: DescriptionEntity | PlainMessage | undefined): boolean { + return proto3.util.equals(DescriptionEntity, a, b); + } +} + +/** + * Full user description with formatting preserved. This can be rendered + * by clients, such as the console or command line tools with in-tact + * formatting. + * + * @generated from message flyteidl.admin.Description + */ +export class Description extends Message { + /** + * @generated from oneof flyteidl.admin.Description.content + */ + content: { + /** + * long description - no more than 4KB + * + * @generated from field: string value = 1; + */ + value: string; + case: "value"; + } | { + /** + * if the description sizes exceed some threshold we can offload the entire + * description proto altogether to an external data store, like S3 rather than store inline in the db + * + * @generated from field: string uri = 2; + */ + value: string; + case: "uri"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Format of the long description + * + * @generated from field: flyteidl.admin.DescriptionFormat format = 3; + */ + format = DescriptionFormat.UNKNOWN; + + /** + * Optional link to an icon for the entity + * + * @generated from field: string icon_link = 4; + */ + iconLink = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Description"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "content" }, + { no: 2, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "content" }, + { no: 3, name: "format", kind: "enum", T: proto3.getEnumType(DescriptionFormat) }, + { no: 4, name: "icon_link", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Description { + return new Description().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Description { + return new Description().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Description { + return new Description().fromJsonString(jsonString, options); + } + + static equals(a: Description | PlainMessage | undefined, b: Description | PlainMessage | undefined): boolean { + return proto3.util.equals(Description, a, b); + } +} + +/** + * Link to source code used to define this entity + * + * @generated from message flyteidl.admin.SourceCode + */ +export class SourceCode extends Message { + /** + * @generated from field: string link = 1; + */ + link = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SourceCode"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "link", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SourceCode { + return new SourceCode().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SourceCode { + return new SourceCode().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SourceCode { + return new SourceCode().fromJsonString(jsonString, options); + } + + static equals(a: SourceCode | PlainMessage | undefined, b: SourceCode | PlainMessage | undefined): boolean { + return proto3.util.equals(SourceCode, a, b); + } +} + +/** + * Represents a list of DescriptionEntities returned from the admin. + * See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details + * + * @generated from message flyteidl.admin.DescriptionEntityList + */ +export class DescriptionEntityList extends Message { + /** + * A list of DescriptionEntities returned based on the request. + * + * @generated from field: repeated flyteidl.admin.DescriptionEntity descriptionEntities = 1; + */ + descriptionEntities: DescriptionEntity[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.DescriptionEntityList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "descriptionEntities", kind: "message", T: DescriptionEntity, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DescriptionEntityList { + return new DescriptionEntityList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DescriptionEntityList { + return new DescriptionEntityList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DescriptionEntityList { + return new DescriptionEntityList().fromJsonString(jsonString, options); + } + + static equals(a: DescriptionEntityList | PlainMessage | undefined, b: DescriptionEntityList | PlainMessage | undefined): boolean { + return proto3.util.equals(DescriptionEntityList, a, b); + } +} + +/** + * Represents a request structure to retrieve a list of DescriptionEntities. + * See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details + * + * @generated from message flyteidl.admin.DescriptionEntityListRequest + */ +export class DescriptionEntityListRequest extends Message { + /** + * Identifies the specific type of resource that this identifier corresponds to. + * + * @generated from field: flyteidl.core.ResourceType resource_type = 1; + */ + resourceType = ResourceType.UNSPECIFIED; + + /** + * The identifier for the description entity. + * +required + * + * @generated from field: flyteidl.admin.NamedEntityIdentifier id = 2; + */ + id?: NamedEntityIdentifier; + + /** + * Indicates the number of resources to be returned. + * +required + * + * @generated from field: uint32 limit = 3; + */ + limit = 0; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 4; + */ + token = ""; + + /** + * Indicates a list of filters passed as string. + * More info on constructing filters : + * +optional + * + * @generated from field: string filters = 5; + */ + filters = ""; + + /** + * Sort ordering for returned list. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 6; + */ + sortBy?: Sort; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.DescriptionEntityListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_type", kind: "enum", T: proto3.getEnumType(ResourceType) }, + { no: 2, name: "id", kind: "message", T: NamedEntityIdentifier }, + { no: 3, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "sort_by", kind: "message", T: Sort }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DescriptionEntityListRequest { + return new DescriptionEntityListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DescriptionEntityListRequest { + return new DescriptionEntityListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DescriptionEntityListRequest { + return new DescriptionEntityListRequest().fromJsonString(jsonString, options); + } + + static equals(a: DescriptionEntityListRequest | PlainMessage | undefined, b: DescriptionEntityListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(DescriptionEntityListRequest, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/event_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/event_pb.ts new file mode 100644 index 0000000000..080d93f570 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/event_pb.ts @@ -0,0 +1,395 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/event.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { NodeExecutionEvent, TaskExecutionEvent, WorkflowExecutionEvent } from "../event/event_pb.js"; + +/** + * Indicates that a sent event was not used to update execution state due to + * the referenced execution already being terminated (and therefore ineligible + * for further state transitions). + * + * @generated from message flyteidl.admin.EventErrorAlreadyInTerminalState + */ +export class EventErrorAlreadyInTerminalState extends Message { + /** + * +required + * + * @generated from field: string current_phase = 1; + */ + currentPhase = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.EventErrorAlreadyInTerminalState"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "current_phase", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): EventErrorAlreadyInTerminalState { + return new EventErrorAlreadyInTerminalState().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): EventErrorAlreadyInTerminalState { + return new EventErrorAlreadyInTerminalState().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): EventErrorAlreadyInTerminalState { + return new EventErrorAlreadyInTerminalState().fromJsonString(jsonString, options); + } + + static equals(a: EventErrorAlreadyInTerminalState | PlainMessage | undefined, b: EventErrorAlreadyInTerminalState | PlainMessage | undefined): boolean { + return proto3.util.equals(EventErrorAlreadyInTerminalState, a, b); + } +} + +/** + * Indicates an event was rejected because it came from a different cluster than + * is on record as running the execution. + * + * @generated from message flyteidl.admin.EventErrorIncompatibleCluster + */ +export class EventErrorIncompatibleCluster extends Message { + /** + * The cluster which has been recorded as processing the execution. + * +required + * + * @generated from field: string cluster = 1; + */ + cluster = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.EventErrorIncompatibleCluster"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "cluster", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): EventErrorIncompatibleCluster { + return new EventErrorIncompatibleCluster().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): EventErrorIncompatibleCluster { + return new EventErrorIncompatibleCluster().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): EventErrorIncompatibleCluster { + return new EventErrorIncompatibleCluster().fromJsonString(jsonString, options); + } + + static equals(a: EventErrorIncompatibleCluster | PlainMessage | undefined, b: EventErrorIncompatibleCluster | PlainMessage | undefined): boolean { + return proto3.util.equals(EventErrorIncompatibleCluster, a, b); + } +} + +/** + * Indicates why a sent event was not used to update execution. + * + * @generated from message flyteidl.admin.EventFailureReason + */ +export class EventFailureReason extends Message { + /** + * +required + * + * @generated from oneof flyteidl.admin.EventFailureReason.reason + */ + reason: { + /** + * @generated from field: flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; + */ + value: EventErrorAlreadyInTerminalState; + case: "alreadyInTerminalState"; + } | { + /** + * @generated from field: flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; + */ + value: EventErrorIncompatibleCluster; + case: "incompatibleCluster"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.EventFailureReason"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "already_in_terminal_state", kind: "message", T: EventErrorAlreadyInTerminalState, oneof: "reason" }, + { no: 2, name: "incompatible_cluster", kind: "message", T: EventErrorIncompatibleCluster, oneof: "reason" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): EventFailureReason { + return new EventFailureReason().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): EventFailureReason { + return new EventFailureReason().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): EventFailureReason { + return new EventFailureReason().fromJsonString(jsonString, options); + } + + static equals(a: EventFailureReason | PlainMessage | undefined, b: EventFailureReason | PlainMessage | undefined): boolean { + return proto3.util.equals(EventFailureReason, a, b); + } +} + +/** + * Request to send a notification that a workflow execution event has occurred. + * + * @generated from message flyteidl.admin.WorkflowExecutionEventRequest + */ +export class WorkflowExecutionEventRequest extends Message { + /** + * Unique ID for this request that can be traced between services + * + * @generated from field: string request_id = 1; + */ + requestId = ""; + + /** + * Details about the event that occurred. + * + * @generated from field: flyteidl.event.WorkflowExecutionEvent event = 2; + */ + event?: WorkflowExecutionEvent; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionEventRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "event", kind: "message", T: WorkflowExecutionEvent }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionEventRequest { + return new WorkflowExecutionEventRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionEventRequest { + return new WorkflowExecutionEventRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionEventRequest { + return new WorkflowExecutionEventRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionEventRequest | PlainMessage | undefined, b: WorkflowExecutionEventRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionEventRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.WorkflowExecutionEventResponse + */ +export class WorkflowExecutionEventResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionEventResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionEventResponse { + return new WorkflowExecutionEventResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionEventResponse { + return new WorkflowExecutionEventResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionEventResponse { + return new WorkflowExecutionEventResponse().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionEventResponse | PlainMessage | undefined, b: WorkflowExecutionEventResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionEventResponse, a, b); + } +} + +/** + * Request to send a notification that a node execution event has occurred. + * + * @generated from message flyteidl.admin.NodeExecutionEventRequest + */ +export class NodeExecutionEventRequest extends Message { + /** + * Unique ID for this request that can be traced between services + * + * @generated from field: string request_id = 1; + */ + requestId = ""; + + /** + * Details about the event that occurred. + * + * @generated from field: flyteidl.event.NodeExecutionEvent event = 2; + */ + event?: NodeExecutionEvent; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionEventRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "event", kind: "message", T: NodeExecutionEvent }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionEventRequest { + return new NodeExecutionEventRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionEventRequest { + return new NodeExecutionEventRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionEventRequest { + return new NodeExecutionEventRequest().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionEventRequest | PlainMessage | undefined, b: NodeExecutionEventRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionEventRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.NodeExecutionEventResponse + */ +export class NodeExecutionEventResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionEventResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionEventResponse { + return new NodeExecutionEventResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionEventResponse { + return new NodeExecutionEventResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionEventResponse { + return new NodeExecutionEventResponse().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionEventResponse | PlainMessage | undefined, b: NodeExecutionEventResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionEventResponse, a, b); + } +} + +/** + * Request to send a notification that a task execution event has occurred. + * + * @generated from message flyteidl.admin.TaskExecutionEventRequest + */ +export class TaskExecutionEventRequest extends Message { + /** + * Unique ID for this request that can be traced between services + * + * @generated from field: string request_id = 1; + */ + requestId = ""; + + /** + * Details about the event that occurred. + * + * @generated from field: flyteidl.event.TaskExecutionEvent event = 2; + */ + event?: TaskExecutionEvent; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionEventRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "event", kind: "message", T: TaskExecutionEvent }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionEventRequest { + return new TaskExecutionEventRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionEventRequest { + return new TaskExecutionEventRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionEventRequest { + return new TaskExecutionEventRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionEventRequest | PlainMessage | undefined, b: TaskExecutionEventRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionEventRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.TaskExecutionEventResponse + */ +export class TaskExecutionEventResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionEventResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionEventResponse { + return new TaskExecutionEventResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionEventResponse { + return new TaskExecutionEventResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionEventResponse { + return new TaskExecutionEventResponse().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionEventResponse | PlainMessage | undefined, b: TaskExecutionEventResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionEventResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/execution_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/execution_pb.ts new file mode 100644 index 0000000000..409a27d96f --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/execution_pb.ts @@ -0,0 +1,1574 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/execution.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { BoolValue, Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { LiteralMap } from "../core/literals_pb.js"; +import { Identifier, NodeExecutionIdentifier, WorkflowExecutionIdentifier } from "../core/identifier_pb.js"; +import { ExecutionError, QualityOfService, WorkflowExecution_Phase } from "../core/execution_pb.js"; +import { Annotations, AuthRole, Envs, Labels, Notification, RawOutputDataConfig, UrlBlob } from "./common_pb.js"; +import { ArtifactID } from "../core/artifact_id_pb.js"; +import { SecurityContext } from "../core/security_pb.js"; +import { ClusterAssignment } from "./cluster_assignment_pb.js"; +import { Span } from "../core/metrics_pb.js"; + +/** + * The state of the execution is used to control its visibility in the UI/CLI. + * + * @generated from enum flyteidl.admin.ExecutionState + */ +export enum ExecutionState { + /** + * By default, all executions are considered active. + * + * @generated from enum value: EXECUTION_ACTIVE = 0; + */ + EXECUTION_ACTIVE = 0, + + /** + * Archived executions are no longer visible in the UI. + * + * @generated from enum value: EXECUTION_ARCHIVED = 1; + */ + EXECUTION_ARCHIVED = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(ExecutionState) +proto3.util.setEnumType(ExecutionState, "flyteidl.admin.ExecutionState", [ + { no: 0, name: "EXECUTION_ACTIVE" }, + { no: 1, name: "EXECUTION_ARCHIVED" }, +]); + +/** + * Request to launch an execution with the given project, domain and optionally-assigned name. + * + * @generated from message flyteidl.admin.ExecutionCreateRequest + */ +export class ExecutionCreateRequest extends Message { + /** + * Name of the project the execution belongs to. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Name of the domain the execution belongs to. + * A domain can be considered as a subset within a specific project. + * +required + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * User provided value for the resource. + * If none is provided the system will generate a unique string. + * +optional + * + * @generated from field: string name = 3; + */ + name = ""; + + /** + * Additional fields necessary to launch the execution. + * +optional + * + * @generated from field: flyteidl.admin.ExecutionSpec spec = 4; + */ + spec?: ExecutionSpec; + + /** + * The inputs required to start the execution. All required inputs must be + * included in this map. If not required and not provided, defaults apply. + * +optional + * + * @generated from field: flyteidl.core.LiteralMap inputs = 5; + */ + inputs?: LiteralMap; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 6; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionCreateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "spec", kind: "message", T: ExecutionSpec }, + { no: 5, name: "inputs", kind: "message", T: LiteralMap }, + { no: 6, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionCreateRequest { + return new ExecutionCreateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionCreateRequest { + return new ExecutionCreateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionCreateRequest { + return new ExecutionCreateRequest().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionCreateRequest | PlainMessage | undefined, b: ExecutionCreateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionCreateRequest, a, b); + } +} + +/** + * Request to relaunch the referenced execution. + * + * @generated from message flyteidl.admin.ExecutionRelaunchRequest + */ +export class ExecutionRelaunchRequest extends Message { + /** + * Identifier of the workflow execution to relaunch. + * +required + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + /** + * User provided value for the relaunched execution. + * If none is provided the system will generate a unique string. + * +optional + * + * @generated from field: string name = 3; + */ + name = ""; + + /** + * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. + * If enabled, all calculations are performed even if cached results would be available, overwriting the stored + * data once execution finishes successfully. + * + * @generated from field: bool overwrite_cache = 4; + */ + overwriteCache = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionRelaunchRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "overwrite_cache", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionRelaunchRequest { + return new ExecutionRelaunchRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionRelaunchRequest { + return new ExecutionRelaunchRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionRelaunchRequest { + return new ExecutionRelaunchRequest().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionRelaunchRequest | PlainMessage | undefined, b: ExecutionRelaunchRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionRelaunchRequest, a, b); + } +} + +/** + * Request to recover the referenced execution. + * + * @generated from message flyteidl.admin.ExecutionRecoverRequest + */ +export class ExecutionRecoverRequest extends Message { + /** + * Identifier of the workflow execution to recover. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + /** + * User provided value for the recovered execution. + * If none is provided the system will generate a unique string. + * +optional + * + * @generated from field: string name = 2; + */ + name = ""; + + /** + * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. + * + * @generated from field: flyteidl.admin.ExecutionMetadata metadata = 3; + */ + metadata?: ExecutionMetadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionRecoverRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "metadata", kind: "message", T: ExecutionMetadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionRecoverRequest { + return new ExecutionRecoverRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionRecoverRequest { + return new ExecutionRecoverRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionRecoverRequest { + return new ExecutionRecoverRequest().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionRecoverRequest | PlainMessage | undefined, b: ExecutionRecoverRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionRecoverRequest, a, b); + } +} + +/** + * The unique identifier for a successfully created execution. + * If the name was *not* specified in the create request, this identifier will include a generated name. + * + * @generated from message flyteidl.admin.ExecutionCreateResponse + */ +export class ExecutionCreateResponse extends Message { + /** + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionCreateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionCreateResponse { + return new ExecutionCreateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionCreateResponse { + return new ExecutionCreateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionCreateResponse { + return new ExecutionCreateResponse().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionCreateResponse | PlainMessage | undefined, b: ExecutionCreateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionCreateResponse, a, b); + } +} + +/** + * A message used to fetch a single workflow execution entity. + * See :ref:`ref_flyteidl.admin.Execution` for more details + * + * @generated from message flyteidl.admin.WorkflowExecutionGetRequest + */ +export class WorkflowExecutionGetRequest extends Message { + /** + * Uniquely identifies an individual workflow execution. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionGetRequest { + return new WorkflowExecutionGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionGetRequest { + return new WorkflowExecutionGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionGetRequest { + return new WorkflowExecutionGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionGetRequest | PlainMessage | undefined, b: WorkflowExecutionGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionGetRequest, a, b); + } +} + +/** + * A workflow execution represents an instantiated workflow, including all inputs and additional + * metadata as well as computed results included state, outputs, and duration-based attributes. + * Used as a response object used in Get and List execution requests. + * + * @generated from message flyteidl.admin.Execution + */ +export class Execution extends Message { + /** + * Unique identifier of the workflow execution. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + /** + * User-provided configuration and inputs for launching the execution. + * + * @generated from field: flyteidl.admin.ExecutionSpec spec = 2; + */ + spec?: ExecutionSpec; + + /** + * Execution results. + * + * @generated from field: flyteidl.admin.ExecutionClosure closure = 3; + */ + closure?: ExecutionClosure; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Execution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "spec", kind: "message", T: ExecutionSpec }, + { no: 3, name: "closure", kind: "message", T: ExecutionClosure }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Execution { + return new Execution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Execution { + return new Execution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Execution { + return new Execution().fromJsonString(jsonString, options); + } + + static equals(a: Execution | PlainMessage | undefined, b: Execution | PlainMessage | undefined): boolean { + return proto3.util.equals(Execution, a, b); + } +} + +/** + * Used as a response for request to list executions. + * See :ref:`ref_flyteidl.admin.Execution` for more details + * + * @generated from message flyteidl.admin.ExecutionList + */ +export class ExecutionList extends Message { + /** + * @generated from field: repeated flyteidl.admin.Execution executions = 1; + */ + executions: Execution[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "executions", kind: "message", T: Execution, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionList { + return new ExecutionList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionList { + return new ExecutionList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionList { + return new ExecutionList().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionList | PlainMessage | undefined, b: ExecutionList | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionList, a, b); + } +} + +/** + * Input/output data can represented by actual values or a link to where values are stored + * + * @generated from message flyteidl.admin.LiteralMapBlob + */ +export class LiteralMapBlob extends Message { + /** + * @generated from oneof flyteidl.admin.LiteralMapBlob.data + */ + data: { + /** + * Data in LiteralMap format + * + * @generated from field: flyteidl.core.LiteralMap values = 1 [deprecated = true]; + * @deprecated + */ + value: LiteralMap; + case: "values"; + } | { + /** + * In the event that the map is too large, we return a uri to the data + * + * @generated from field: string uri = 2; + */ + value: string; + case: "uri"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LiteralMapBlob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "values", kind: "message", T: LiteralMap, oneof: "data" }, + { no: 2, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "data" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LiteralMapBlob { + return new LiteralMapBlob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LiteralMapBlob { + return new LiteralMapBlob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LiteralMapBlob { + return new LiteralMapBlob().fromJsonString(jsonString, options); + } + + static equals(a: LiteralMapBlob | PlainMessage | undefined, b: LiteralMapBlob | PlainMessage | undefined): boolean { + return proto3.util.equals(LiteralMapBlob, a, b); + } +} + +/** + * Specifies metadata around an aborted workflow execution. + * + * @generated from message flyteidl.admin.AbortMetadata + */ +export class AbortMetadata extends Message { + /** + * In the case of a user-specified abort, this will pass along the user-supplied cause. + * + * @generated from field: string cause = 1; + */ + cause = ""; + + /** + * Identifies the entity (if any) responsible for terminating the execution + * + * @generated from field: string principal = 2; + */ + principal = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.AbortMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "cause", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AbortMetadata { + return new AbortMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AbortMetadata { + return new AbortMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AbortMetadata { + return new AbortMetadata().fromJsonString(jsonString, options); + } + + static equals(a: AbortMetadata | PlainMessage | undefined, b: AbortMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(AbortMetadata, a, b); + } +} + +/** + * Encapsulates the results of the Execution + * + * @generated from message flyteidl.admin.ExecutionClosure + */ +export class ExecutionClosure extends Message { + /** + * A result produced by a terminated execution. + * A pending (non-terminal) execution will not have any output result. + * + * @generated from oneof flyteidl.admin.ExecutionClosure.output_result + */ + outputResult: { + /** + * Output URI in the case of a successful execution. + * DEPRECATED. Use GetExecutionData to fetch output data instead. + * + * @generated from field: flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; + * @deprecated + */ + value: LiteralMapBlob; + case: "outputs"; + } | { + /** + * Error information in the case of a failed execution. + * + * @generated from field: flyteidl.core.ExecutionError error = 2; + */ + value: ExecutionError; + case: "error"; + } | { + /** + * In the case of a user-specified abort, this will pass along the user-supplied cause. + * + * @generated from field: string abort_cause = 10 [deprecated = true]; + * @deprecated + */ + value: string; + case: "abortCause"; + } | { + /** + * In the case of a user-specified abort, this will pass along the user and their supplied cause. + * + * @generated from field: flyteidl.admin.AbortMetadata abort_metadata = 12; + */ + value: AbortMetadata; + case: "abortMetadata"; + } | { + /** + * Raw output data produced by this execution. + * DEPRECATED. Use GetExecutionData to fetch output data instead. + * + * @generated from field: flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; + * @deprecated + */ + value: LiteralMap; + case: "outputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Inputs computed and passed for execution. + * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan + * + * @generated from field: flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; + * @deprecated + */ + computedInputs?: LiteralMap; + + /** + * Most recent recorded phase for the execution. + * + * @generated from field: flyteidl.core.WorkflowExecution.Phase phase = 4; + */ + phase = WorkflowExecution_Phase.UNDEFINED; + + /** + * Reported time at which the execution began running. + * + * @generated from field: google.protobuf.Timestamp started_at = 5; + */ + startedAt?: Timestamp; + + /** + * The amount of time the execution spent running. + * + * @generated from field: google.protobuf.Duration duration = 6; + */ + duration?: Duration; + + /** + * Reported time at which the execution was created. + * + * @generated from field: google.protobuf.Timestamp created_at = 7; + */ + createdAt?: Timestamp; + + /** + * Reported time at which the execution was last updated. + * + * @generated from field: google.protobuf.Timestamp updated_at = 8; + */ + updatedAt?: Timestamp; + + /** + * The notification settings to use after merging the CreateExecutionRequest and the launch plan + * notification settings. An execution launched with notifications will always prefer that definition + * to notifications defined statically in a launch plan. + * + * @generated from field: repeated flyteidl.admin.Notification notifications = 9; + */ + notifications: Notification[] = []; + + /** + * Identifies the workflow definition for this execution. + * + * @generated from field: flyteidl.core.Identifier workflow_id = 11; + */ + workflowId?: Identifier; + + /** + * Provides the details of the last stage change + * + * @generated from field: flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; + */ + stateChangeDetails?: ExecutionStateChangeDetails; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "outputs", kind: "message", T: LiteralMapBlob, oneof: "output_result" }, + { no: 2, name: "error", kind: "message", T: ExecutionError, oneof: "output_result" }, + { no: 10, name: "abort_cause", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output_result" }, + { no: 12, name: "abort_metadata", kind: "message", T: AbortMetadata, oneof: "output_result" }, + { no: 13, name: "output_data", kind: "message", T: LiteralMap, oneof: "output_result" }, + { no: 3, name: "computed_inputs", kind: "message", T: LiteralMap }, + { no: 4, name: "phase", kind: "enum", T: proto3.getEnumType(WorkflowExecution_Phase) }, + { no: 5, name: "started_at", kind: "message", T: Timestamp }, + { no: 6, name: "duration", kind: "message", T: Duration }, + { no: 7, name: "created_at", kind: "message", T: Timestamp }, + { no: 8, name: "updated_at", kind: "message", T: Timestamp }, + { no: 9, name: "notifications", kind: "message", T: Notification, repeated: true }, + { no: 11, name: "workflow_id", kind: "message", T: Identifier }, + { no: 14, name: "state_change_details", kind: "message", T: ExecutionStateChangeDetails }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionClosure { + return new ExecutionClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionClosure { + return new ExecutionClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionClosure { + return new ExecutionClosure().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionClosure | PlainMessage | undefined, b: ExecutionClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionClosure, a, b); + } +} + +/** + * Represents system, rather than user-facing, metadata about an execution. + * + * @generated from message flyteidl.admin.SystemMetadata + */ +export class SystemMetadata extends Message { + /** + * Which execution cluster this execution ran on. + * + * @generated from field: string execution_cluster = 1; + */ + executionCluster = ""; + + /** + * Which kubernetes namespace the execution ran under. + * + * @generated from field: string namespace = 2; + */ + namespace = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SystemMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "execution_cluster", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SystemMetadata { + return new SystemMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SystemMetadata { + return new SystemMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SystemMetadata { + return new SystemMetadata().fromJsonString(jsonString, options); + } + + static equals(a: SystemMetadata | PlainMessage | undefined, b: SystemMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(SystemMetadata, a, b); + } +} + +/** + * Represents attributes about an execution which are not required to launch the execution but are useful to record. + * These attributes are assigned at launch time and do not change. + * + * @generated from message flyteidl.admin.ExecutionMetadata + */ +export class ExecutionMetadata extends Message { + /** + * @generated from field: flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; + */ + mode = ExecutionMetadata_ExecutionMode.MANUAL; + + /** + * Identifier of the entity that triggered this execution. + * For systems using back-end authentication any value set here will be discarded in favor of the + * authenticated user context. + * + * @generated from field: string principal = 2; + */ + principal = ""; + + /** + * Indicates the nestedness of this execution. + * If a user launches a workflow execution, the default nesting is 0. + * If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 + * Generally, if workflow at nesting level k launches a workflow then the child workflow will have + * nesting = k + 1. + * + * @generated from field: uint32 nesting = 3; + */ + nesting = 0; + + /** + * For scheduled executions, the requested time for execution for this specific schedule invocation. + * + * @generated from field: google.protobuf.Timestamp scheduled_at = 4; + */ + scheduledAt?: Timestamp; + + /** + * Which subworkflow node (if any) launched this execution + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; + */ + parentNodeExecution?: NodeExecutionIdentifier; + + /** + * Optional, a reference workflow execution related to this execution. + * In the case of a relaunch, this references the original workflow execution. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; + */ + referenceExecution?: WorkflowExecutionIdentifier; + + /** + * Optional, platform-specific metadata about the execution. + * In this the future this may be gated behind an ACL or some sort of authorization. + * + * @generated from field: flyteidl.admin.SystemMetadata system_metadata = 17; + */ + systemMetadata?: SystemMetadata; + + /** + * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping + * since we don't have a structure to handle nested ones anyways. + * + * @generated from field: repeated flyteidl.core.ArtifactID artifact_ids = 18; + */ + artifactIds: ArtifactID[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "mode", kind: "enum", T: proto3.getEnumType(ExecutionMetadata_ExecutionMode) }, + { no: 2, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "nesting", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "scheduled_at", kind: "message", T: Timestamp }, + { no: 5, name: "parent_node_execution", kind: "message", T: NodeExecutionIdentifier }, + { no: 16, name: "reference_execution", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 17, name: "system_metadata", kind: "message", T: SystemMetadata }, + { no: 18, name: "artifact_ids", kind: "message", T: ArtifactID, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionMetadata { + return new ExecutionMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionMetadata { + return new ExecutionMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionMetadata { + return new ExecutionMetadata().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionMetadata | PlainMessage | undefined, b: ExecutionMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionMetadata, a, b); + } +} + +/** + * The method by which this execution was launched. + * + * @generated from enum flyteidl.admin.ExecutionMetadata.ExecutionMode + */ +export enum ExecutionMetadata_ExecutionMode { + /** + * The default execution mode, MANUAL implies that an execution was launched by an individual. + * + * @generated from enum value: MANUAL = 0; + */ + MANUAL = 0, + + /** + * A schedule triggered this execution launch. + * + * @generated from enum value: SCHEDULED = 1; + */ + SCHEDULED = 1, + + /** + * A system process was responsible for launching this execution rather an individual. + * + * @generated from enum value: SYSTEM = 2; + */ + SYSTEM = 2, + + /** + * This execution was launched with identical inputs as a previous execution. + * + * @generated from enum value: RELAUNCH = 3; + */ + RELAUNCH = 3, + + /** + * This execution was triggered by another execution. + * + * @generated from enum value: CHILD_WORKFLOW = 4; + */ + CHILD_WORKFLOW = 4, + + /** + * This execution was recovered from another execution. + * + * @generated from enum value: RECOVERED = 5; + */ + RECOVERED = 5, +} +// Retrieve enum metadata with: proto3.getEnumType(ExecutionMetadata_ExecutionMode) +proto3.util.setEnumType(ExecutionMetadata_ExecutionMode, "flyteidl.admin.ExecutionMetadata.ExecutionMode", [ + { no: 0, name: "MANUAL" }, + { no: 1, name: "SCHEDULED" }, + { no: 2, name: "SYSTEM" }, + { no: 3, name: "RELAUNCH" }, + { no: 4, name: "CHILD_WORKFLOW" }, + { no: 5, name: "RECOVERED" }, +]); + +/** + * @generated from message flyteidl.admin.NotificationList + */ +export class NotificationList extends Message { + /** + * @generated from field: repeated flyteidl.admin.Notification notifications = 1; + */ + notifications: Notification[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NotificationList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "notifications", kind: "message", T: Notification, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NotificationList { + return new NotificationList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NotificationList { + return new NotificationList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NotificationList { + return new NotificationList().fromJsonString(jsonString, options); + } + + static equals(a: NotificationList | PlainMessage | undefined, b: NotificationList | PlainMessage | undefined): boolean { + return proto3.util.equals(NotificationList, a, b); + } +} + +/** + * An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime + * of an execution as it progresses across phase changes. + * + * @generated from message flyteidl.admin.ExecutionSpec + */ +export class ExecutionSpec extends Message { + /** + * Launch plan to be executed + * + * @generated from field: flyteidl.core.Identifier launch_plan = 1; + */ + launchPlan?: Identifier; + + /** + * Input values to be passed for the execution + * + * @generated from field: flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; + * @deprecated + */ + inputs?: LiteralMap; + + /** + * Metadata for the execution + * + * @generated from field: flyteidl.admin.ExecutionMetadata metadata = 3; + */ + metadata?: ExecutionMetadata; + + /** + * @generated from oneof flyteidl.admin.ExecutionSpec.notification_overrides + */ + notificationOverrides: { + /** + * List of notifications based on Execution status transitions + * When this list is not empty it is used rather than any notifications defined in the referenced launch plan. + * When this list is empty, the notifications defined for the launch plan will be applied. + * + * @generated from field: flyteidl.admin.NotificationList notifications = 5; + */ + value: NotificationList; + case: "notifications"; + } | { + /** + * This should be set to true if all notifications are intended to be disabled for this execution. + * + * @generated from field: bool disable_all = 6; + */ + value: boolean; + case: "disableAll"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Labels to apply to the execution resource. + * + * @generated from field: flyteidl.admin.Labels labels = 7; + */ + labels?: Labels; + + /** + * Annotations to apply to the execution resource. + * + * @generated from field: flyteidl.admin.Annotations annotations = 8; + */ + annotations?: Annotations; + + /** + * Optional: security context override to apply this execution. + * + * @generated from field: flyteidl.core.SecurityContext security_context = 10; + */ + securityContext?: SecurityContext; + + /** + * Optional: auth override to apply this execution. + * + * @generated from field: flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; + * @deprecated + */ + authRole?: AuthRole; + + /** + * Indicates the runtime priority of the execution. + * + * @generated from field: flyteidl.core.QualityOfService quality_of_service = 17; + */ + qualityOfService?: QualityOfService; + + /** + * Controls the maximum number of task nodes that can be run in parallel for the entire workflow. + * This is useful to achieve fairness. Note: MapTasks are regarded as one unit, + * and parallelism/concurrency of MapTasks is independent from this. + * + * @generated from field: int32 max_parallelism = 18; + */ + maxParallelism = 0; + + /** + * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). + * This should be a prefix like s3://my-bucket/my-data + * + * @generated from field: flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; + */ + rawOutputDataConfig?: RawOutputDataConfig; + + /** + * Controls how to select an available cluster on which this execution should run. + * + * @generated from field: flyteidl.admin.ClusterAssignment cluster_assignment = 20; + */ + clusterAssignment?: ClusterAssignment; + + /** + * Allows for the interruptible flag of a workflow to be overwritten for a single execution. + * Omitting this field uses the workflow's value as a default. + * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper + * around the bool field. + * + * @generated from field: google.protobuf.BoolValue interruptible = 21; + */ + interruptible?: boolean; + + /** + * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. + * If enabled, all calculations are performed even if cached results would be available, overwriting the stored + * data once execution finishes successfully. + * + * @generated from field: bool overwrite_cache = 22; + */ + overwriteCache = false; + + /** + * Environment variables to be set for the execution. + * + * @generated from field: flyteidl.admin.Envs envs = 23; + */ + envs?: Envs; + + /** + * Tags to be set for the execution. + * + * @generated from field: repeated string tags = 24; + */ + tags: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "launch_plan", kind: "message", T: Identifier }, + { no: 2, name: "inputs", kind: "message", T: LiteralMap }, + { no: 3, name: "metadata", kind: "message", T: ExecutionMetadata }, + { no: 5, name: "notifications", kind: "message", T: NotificationList, oneof: "notification_overrides" }, + { no: 6, name: "disable_all", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "notification_overrides" }, + { no: 7, name: "labels", kind: "message", T: Labels }, + { no: 8, name: "annotations", kind: "message", T: Annotations }, + { no: 10, name: "security_context", kind: "message", T: SecurityContext }, + { no: 16, name: "auth_role", kind: "message", T: AuthRole }, + { no: 17, name: "quality_of_service", kind: "message", T: QualityOfService }, + { no: 18, name: "max_parallelism", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 19, name: "raw_output_data_config", kind: "message", T: RawOutputDataConfig }, + { no: 20, name: "cluster_assignment", kind: "message", T: ClusterAssignment }, + { no: 21, name: "interruptible", kind: "message", T: BoolValue }, + { no: 22, name: "overwrite_cache", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 23, name: "envs", kind: "message", T: Envs }, + { no: 24, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionSpec { + return new ExecutionSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionSpec { + return new ExecutionSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionSpec { + return new ExecutionSpec().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionSpec | PlainMessage | undefined, b: ExecutionSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionSpec, a, b); + } +} + +/** + * Request to terminate an in-progress execution. This action is irreversible. + * If an execution is already terminated, this request will simply be a no-op. + * This request will fail if it references a non-existent execution. + * If the request succeeds the phase "ABORTED" will be recorded for the termination + * with the optional cause added to the output_result. + * + * @generated from message flyteidl.admin.ExecutionTerminateRequest + */ +export class ExecutionTerminateRequest extends Message { + /** + * Uniquely identifies the individual workflow execution to be terminated. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + /** + * Optional reason for aborting. + * + * @generated from field: string cause = 2; + */ + cause = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionTerminateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "cause", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionTerminateRequest { + return new ExecutionTerminateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionTerminateRequest { + return new ExecutionTerminateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionTerminateRequest { + return new ExecutionTerminateRequest().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionTerminateRequest | PlainMessage | undefined, b: ExecutionTerminateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionTerminateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.ExecutionTerminateResponse + */ +export class ExecutionTerminateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionTerminateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionTerminateResponse { + return new ExecutionTerminateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionTerminateResponse { + return new ExecutionTerminateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionTerminateResponse { + return new ExecutionTerminateResponse().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionTerminateResponse | PlainMessage | undefined, b: ExecutionTerminateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionTerminateResponse, a, b); + } +} + +/** + * Request structure to fetch inputs, output and other data produced by an execution. + * By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest` + * + * @generated from message flyteidl.admin.WorkflowExecutionGetDataRequest + */ +export class WorkflowExecutionGetDataRequest extends Message { + /** + * The identifier of the execution for which to fetch inputs and outputs. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionGetDataRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionGetDataRequest { + return new WorkflowExecutionGetDataRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionGetDataRequest { + return new WorkflowExecutionGetDataRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionGetDataRequest { + return new WorkflowExecutionGetDataRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionGetDataRequest | PlainMessage | undefined, b: WorkflowExecutionGetDataRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionGetDataRequest, a, b); + } +} + +/** + * Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. + * + * @generated from message flyteidl.admin.WorkflowExecutionGetDataResponse + */ +export class WorkflowExecutionGetDataResponse extends Message { + /** + * Signed url to fetch a core.LiteralMap of execution outputs. + * Deprecated: Please use full_outputs instead. + * + * @generated from field: flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; + * @deprecated + */ + outputs?: UrlBlob; + + /** + * Signed url to fetch a core.LiteralMap of execution inputs. + * Deprecated: Please use full_inputs instead. + * + * @generated from field: flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; + * @deprecated + */ + inputs?: UrlBlob; + + /** + * Full_inputs will only be populated if they are under a configured size threshold. + * + * @generated from field: flyteidl.core.LiteralMap full_inputs = 3; + */ + fullInputs?: LiteralMap; + + /** + * Full_outputs will only be populated if they are under a configured size threshold. + * + * @generated from field: flyteidl.core.LiteralMap full_outputs = 4; + */ + fullOutputs?: LiteralMap; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionGetDataResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "outputs", kind: "message", T: UrlBlob }, + { no: 2, name: "inputs", kind: "message", T: UrlBlob }, + { no: 3, name: "full_inputs", kind: "message", T: LiteralMap }, + { no: 4, name: "full_outputs", kind: "message", T: LiteralMap }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionGetDataResponse { + return new WorkflowExecutionGetDataResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionGetDataResponse { + return new WorkflowExecutionGetDataResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionGetDataResponse { + return new WorkflowExecutionGetDataResponse().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionGetDataResponse | PlainMessage | undefined, b: WorkflowExecutionGetDataResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionGetDataResponse, a, b); + } +} + +/** + * @generated from message flyteidl.admin.ExecutionUpdateRequest + */ +export class ExecutionUpdateRequest extends Message { + /** + * Identifier of the execution to update + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + /** + * State to set as the new value active/archive + * + * @generated from field: flyteidl.admin.ExecutionState state = 2; + */ + state = ExecutionState.EXECUTION_ACTIVE; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionUpdateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "state", kind: "enum", T: proto3.getEnumType(ExecutionState) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionUpdateRequest { + return new ExecutionUpdateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionUpdateRequest { + return new ExecutionUpdateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionUpdateRequest { + return new ExecutionUpdateRequest().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionUpdateRequest | PlainMessage | undefined, b: ExecutionUpdateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionUpdateRequest, a, b); + } +} + +/** + * @generated from message flyteidl.admin.ExecutionStateChangeDetails + */ +export class ExecutionStateChangeDetails extends Message { + /** + * The state of the execution is used to control its visibility in the UI/CLI. + * + * @generated from field: flyteidl.admin.ExecutionState state = 1; + */ + state = ExecutionState.EXECUTION_ACTIVE; + + /** + * This timestamp represents when the state changed. + * + * @generated from field: google.protobuf.Timestamp occurred_at = 2; + */ + occurredAt?: Timestamp; + + /** + * Identifies the entity (if any) responsible for causing the state change of the execution + * + * @generated from field: string principal = 3; + */ + principal = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionStateChangeDetails"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "state", kind: "enum", T: proto3.getEnumType(ExecutionState) }, + { no: 2, name: "occurred_at", kind: "message", T: Timestamp }, + { no: 3, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionStateChangeDetails { + return new ExecutionStateChangeDetails().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionStateChangeDetails { + return new ExecutionStateChangeDetails().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionStateChangeDetails { + return new ExecutionStateChangeDetails().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionStateChangeDetails | PlainMessage | undefined, b: ExecutionStateChangeDetails | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionStateChangeDetails, a, b); + } +} + +/** + * @generated from message flyteidl.admin.ExecutionUpdateResponse + */ +export class ExecutionUpdateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionUpdateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionUpdateResponse { + return new ExecutionUpdateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionUpdateResponse { + return new ExecutionUpdateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionUpdateResponse { + return new ExecutionUpdateResponse().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionUpdateResponse | PlainMessage | undefined, b: ExecutionUpdateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionUpdateResponse, a, b); + } +} + +/** + * WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution. + * + * @generated from message flyteidl.admin.WorkflowExecutionGetMetricsRequest + */ +export class WorkflowExecutionGetMetricsRequest extends Message { + /** + * id defines the workflow execution to query for. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + id?: WorkflowExecutionIdentifier; + + /** + * depth defines the number of Flyte entity levels to traverse when breaking down execution details. + * + * @generated from field: int32 depth = 2; + */ + depth = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionGetMetricsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "depth", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionGetMetricsRequest { + return new WorkflowExecutionGetMetricsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionGetMetricsRequest { + return new WorkflowExecutionGetMetricsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionGetMetricsRequest { + return new WorkflowExecutionGetMetricsRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionGetMetricsRequest | PlainMessage | undefined, b: WorkflowExecutionGetMetricsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionGetMetricsRequest, a, b); + } +} + +/** + * WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. + * + * @generated from message flyteidl.admin.WorkflowExecutionGetMetricsResponse + */ +export class WorkflowExecutionGetMetricsResponse extends Message { + /** + * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a + * hierarchical structure using Flyte entity references. + * + * @generated from field: flyteidl.core.Span span = 1; + */ + span?: Span; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionGetMetricsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "span", kind: "message", T: Span }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionGetMetricsResponse { + return new WorkflowExecutionGetMetricsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionGetMetricsResponse { + return new WorkflowExecutionGetMetricsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionGetMetricsResponse { + return new WorkflowExecutionGetMetricsResponse().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionGetMetricsResponse | PlainMessage | undefined, b: WorkflowExecutionGetMetricsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionGetMetricsResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/launch_plan_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/launch_plan_pb.ts new file mode 100644 index 0000000000..ee8c14bdcd --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/launch_plan_pb.ts @@ -0,0 +1,805 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/launch_plan.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Any, BoolValue, Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { Identifier } from "../core/identifier_pb.js"; +import { ParameterMap, VariableMap } from "../core/interface_pb.js"; +import { LiteralMap } from "../core/literals_pb.js"; +import { Annotations, AuthRole, Envs, Labels, NamedEntityIdentifier, Notification, RawOutputDataConfig, Sort } from "./common_pb.js"; +import { SecurityContext } from "../core/security_pb.js"; +import { QualityOfService } from "../core/execution_pb.js"; +import { Schedule } from "./schedule_pb.js"; + +/** + * By default any launch plan regardless of state can be used to launch a workflow execution. + * However, at most one version of a launch plan + * (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be + * active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier + * group will be observed and trigger executions at a defined cadence. + * + * @generated from enum flyteidl.admin.LaunchPlanState + */ +export enum LaunchPlanState { + /** + * @generated from enum value: INACTIVE = 0; + */ + INACTIVE = 0, + + /** + * @generated from enum value: ACTIVE = 1; + */ + ACTIVE = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(LaunchPlanState) +proto3.util.setEnumType(LaunchPlanState, "flyteidl.admin.LaunchPlanState", [ + { no: 0, name: "INACTIVE" }, + { no: 1, name: "ACTIVE" }, +]); + +/** + * Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required + * to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to + * set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. + * + * @generated from message flyteidl.admin.LaunchPlanCreateRequest + */ +export class LaunchPlanCreateRequest extends Message { + /** + * Uniquely identifies a launch plan entity. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * User-provided launch plan details, including reference workflow, inputs and other metadata. + * + * @generated from field: flyteidl.admin.LaunchPlanSpec spec = 2; + */ + spec?: LaunchPlanSpec; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanCreateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "spec", kind: "message", T: LaunchPlanSpec }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanCreateRequest { + return new LaunchPlanCreateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanCreateRequest { + return new LaunchPlanCreateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanCreateRequest { + return new LaunchPlanCreateRequest().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanCreateRequest | PlainMessage | undefined, b: LaunchPlanCreateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanCreateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.LaunchPlanCreateResponse + */ +export class LaunchPlanCreateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanCreateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanCreateResponse { + return new LaunchPlanCreateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanCreateResponse { + return new LaunchPlanCreateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanCreateResponse { + return new LaunchPlanCreateResponse().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanCreateResponse | PlainMessage | undefined, b: LaunchPlanCreateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanCreateResponse, a, b); + } +} + +/** + * A LaunchPlan provides the capability to templatize workflow executions. + * Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. + * Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow + * definition doesn't necessarily have a default value for said input. + * + * @generated from message flyteidl.admin.LaunchPlan + */ +export class LaunchPlan extends Message { + /** + * Uniquely identifies a launch plan entity. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * User-provided launch plan details, including reference workflow, inputs and other metadata. + * + * @generated from field: flyteidl.admin.LaunchPlanSpec spec = 2; + */ + spec?: LaunchPlanSpec; + + /** + * Values computed by the flyte platform after launch plan registration. + * + * @generated from field: flyteidl.admin.LaunchPlanClosure closure = 3; + */ + closure?: LaunchPlanClosure; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlan"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "spec", kind: "message", T: LaunchPlanSpec }, + { no: 3, name: "closure", kind: "message", T: LaunchPlanClosure }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlan { + return new LaunchPlan().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlan { + return new LaunchPlan().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlan { + return new LaunchPlan().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlan | PlainMessage | undefined, b: LaunchPlan | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlan, a, b); + } +} + +/** + * Response object for list launch plan requests. + * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + * + * @generated from message flyteidl.admin.LaunchPlanList + */ +export class LaunchPlanList extends Message { + /** + * @generated from field: repeated flyteidl.admin.LaunchPlan launch_plans = 1; + */ + launchPlans: LaunchPlan[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "launch_plans", kind: "message", T: LaunchPlan, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanList { + return new LaunchPlanList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanList { + return new LaunchPlanList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanList { + return new LaunchPlanList().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanList | PlainMessage | undefined, b: LaunchPlanList | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanList, a, b); + } +} + +/** + * Defines permissions associated with executions created by this launch plan spec. + * Use either of these roles when they have permissions required by your workflow execution. + * Deprecated. + * + * @generated from message flyteidl.admin.Auth + * @deprecated + */ +export class Auth extends Message { + /** + * Defines an optional iam role which will be used for tasks run in executions created with this launch plan. + * + * @generated from field: string assumable_iam_role = 1; + */ + assumableIamRole = ""; + + /** + * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. + * + * @generated from field: string kubernetes_service_account = 2; + */ + kubernetesServiceAccount = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Auth"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "assumable_iam_role", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "kubernetes_service_account", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Auth { + return new Auth().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Auth { + return new Auth().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Auth { + return new Auth().fromJsonString(jsonString, options); + } + + static equals(a: Auth | PlainMessage | undefined, b: Auth | PlainMessage | undefined): boolean { + return proto3.util.equals(Auth, a, b); + } +} + +/** + * User-provided launch plan definition and configuration values. + * + * @generated from message flyteidl.admin.LaunchPlanSpec + */ +export class LaunchPlanSpec extends Message { + /** + * Reference to the Workflow template that the launch plan references + * + * @generated from field: flyteidl.core.Identifier workflow_id = 1; + */ + workflowId?: Identifier; + + /** + * Metadata for the Launch Plan + * + * @generated from field: flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; + */ + entityMetadata?: LaunchPlanMetadata; + + /** + * Input values to be passed for the execution. + * These can be overridden when an execution is created with this launch plan. + * + * @generated from field: flyteidl.core.ParameterMap default_inputs = 3; + */ + defaultInputs?: ParameterMap; + + /** + * Fixed, non-overridable inputs for the Launch Plan. + * These can not be overridden when an execution is created with this launch plan. + * + * @generated from field: flyteidl.core.LiteralMap fixed_inputs = 4; + */ + fixedInputs?: LiteralMap; + + /** + * String to indicate the role to use to execute the workflow underneath + * + * @generated from field: string role = 5 [deprecated = true]; + * @deprecated + */ + role = ""; + + /** + * Custom labels to be applied to the execution resource. + * + * @generated from field: flyteidl.admin.Labels labels = 6; + */ + labels?: Labels; + + /** + * Custom annotations to be applied to the execution resource. + * + * @generated from field: flyteidl.admin.Annotations annotations = 7; + */ + annotations?: Annotations; + + /** + * Indicates the permission associated with workflow executions triggered with this launch plan. + * + * @generated from field: flyteidl.admin.Auth auth = 8 [deprecated = true]; + * @deprecated + */ + auth?: Auth; + + /** + * @generated from field: flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; + * @deprecated + */ + authRole?: AuthRole; + + /** + * Indicates security context for permissions triggered with this launch plan + * + * @generated from field: flyteidl.core.SecurityContext security_context = 10; + */ + securityContext?: SecurityContext; + + /** + * Indicates the runtime priority of the execution. + * + * @generated from field: flyteidl.core.QualityOfService quality_of_service = 16; + */ + qualityOfService?: QualityOfService; + + /** + * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + * + * @generated from field: flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; + */ + rawOutputDataConfig?: RawOutputDataConfig; + + /** + * Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. + * This is useful to achieve fairness. Note: MapTasks are regarded as one unit, + * and parallelism/concurrency of MapTasks is independent from this. + * + * @generated from field: int32 max_parallelism = 18; + */ + maxParallelism = 0; + + /** + * Allows for the interruptible flag of a workflow to be overwritten for a single execution. + * Omitting this field uses the workflow's value as a default. + * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper + * around the bool field. + * + * @generated from field: google.protobuf.BoolValue interruptible = 19; + */ + interruptible?: boolean; + + /** + * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. + * If enabled, all calculations are performed even if cached results would be available, overwriting the stored + * data once execution finishes successfully. + * + * @generated from field: bool overwrite_cache = 20; + */ + overwriteCache = false; + + /** + * Environment variables to be set for the execution. + * + * @generated from field: flyteidl.admin.Envs envs = 21; + */ + envs?: Envs; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "workflow_id", kind: "message", T: Identifier }, + { no: 2, name: "entity_metadata", kind: "message", T: LaunchPlanMetadata }, + { no: 3, name: "default_inputs", kind: "message", T: ParameterMap }, + { no: 4, name: "fixed_inputs", kind: "message", T: LiteralMap }, + { no: 5, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "labels", kind: "message", T: Labels }, + { no: 7, name: "annotations", kind: "message", T: Annotations }, + { no: 8, name: "auth", kind: "message", T: Auth }, + { no: 9, name: "auth_role", kind: "message", T: AuthRole }, + { no: 10, name: "security_context", kind: "message", T: SecurityContext }, + { no: 16, name: "quality_of_service", kind: "message", T: QualityOfService }, + { no: 17, name: "raw_output_data_config", kind: "message", T: RawOutputDataConfig }, + { no: 18, name: "max_parallelism", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 19, name: "interruptible", kind: "message", T: BoolValue }, + { no: 20, name: "overwrite_cache", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 21, name: "envs", kind: "message", T: Envs }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanSpec { + return new LaunchPlanSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanSpec { + return new LaunchPlanSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanSpec { + return new LaunchPlanSpec().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanSpec | PlainMessage | undefined, b: LaunchPlanSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanSpec, a, b); + } +} + +/** + * Values computed by the flyte platform after launch plan registration. + * These include expected_inputs required to be present in a CreateExecutionRequest + * to launch the reference workflow as well timestamp values associated with the launch plan. + * + * @generated from message flyteidl.admin.LaunchPlanClosure + */ +export class LaunchPlanClosure extends Message { + /** + * Indicate the Launch plan state. + * + * @generated from field: flyteidl.admin.LaunchPlanState state = 1; + */ + state = LaunchPlanState.INACTIVE; + + /** + * Indicates the set of inputs expected when creating an execution with the Launch plan + * + * @generated from field: flyteidl.core.ParameterMap expected_inputs = 2; + */ + expectedInputs?: ParameterMap; + + /** + * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan + * + * @generated from field: flyteidl.core.VariableMap expected_outputs = 3; + */ + expectedOutputs?: VariableMap; + + /** + * Time at which the launch plan was created. + * + * @generated from field: google.protobuf.Timestamp created_at = 4; + */ + createdAt?: Timestamp; + + /** + * Time at which the launch plan was last updated. + * + * @generated from field: google.protobuf.Timestamp updated_at = 5; + */ + updatedAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "state", kind: "enum", T: proto3.getEnumType(LaunchPlanState) }, + { no: 2, name: "expected_inputs", kind: "message", T: ParameterMap }, + { no: 3, name: "expected_outputs", kind: "message", T: VariableMap }, + { no: 4, name: "created_at", kind: "message", T: Timestamp }, + { no: 5, name: "updated_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanClosure { + return new LaunchPlanClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanClosure { + return new LaunchPlanClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanClosure { + return new LaunchPlanClosure().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanClosure | PlainMessage | undefined, b: LaunchPlanClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanClosure, a, b); + } +} + +/** + * Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch + * the reference workflow. + * + * @generated from message flyteidl.admin.LaunchPlanMetadata + */ +export class LaunchPlanMetadata extends Message { + /** + * Schedule to execute the Launch Plan + * + * @generated from field: flyteidl.admin.Schedule schedule = 1; + */ + schedule?: Schedule; + + /** + * List of notifications based on Execution status transitions + * + * @generated from field: repeated flyteidl.admin.Notification notifications = 2; + */ + notifications: Notification[] = []; + + /** + * Additional metadata for how to launch the launch plan + * + * @generated from field: google.protobuf.Any launch_conditions = 3; + */ + launchConditions?: Any; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "schedule", kind: "message", T: Schedule }, + { no: 2, name: "notifications", kind: "message", T: Notification, repeated: true }, + { no: 3, name: "launch_conditions", kind: "message", T: Any }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanMetadata { + return new LaunchPlanMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanMetadata { + return new LaunchPlanMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanMetadata { + return new LaunchPlanMetadata().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanMetadata | PlainMessage | undefined, b: LaunchPlanMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanMetadata, a, b); + } +} + +/** + * Request to set the referenced launch plan state to the configured value. + * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + * + * @generated from message flyteidl.admin.LaunchPlanUpdateRequest + */ +export class LaunchPlanUpdateRequest extends Message { + /** + * Identifier of launch plan for which to change state. + * +required. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * Desired state to apply to the launch plan. + * +required. + * + * @generated from field: flyteidl.admin.LaunchPlanState state = 2; + */ + state = LaunchPlanState.INACTIVE; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanUpdateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "state", kind: "enum", T: proto3.getEnumType(LaunchPlanState) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanUpdateRequest { + return new LaunchPlanUpdateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanUpdateRequest { + return new LaunchPlanUpdateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanUpdateRequest { + return new LaunchPlanUpdateRequest().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanUpdateRequest | PlainMessage | undefined, b: LaunchPlanUpdateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanUpdateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.LaunchPlanUpdateResponse + */ +export class LaunchPlanUpdateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.LaunchPlanUpdateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LaunchPlanUpdateResponse { + return new LaunchPlanUpdateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LaunchPlanUpdateResponse { + return new LaunchPlanUpdateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LaunchPlanUpdateResponse { + return new LaunchPlanUpdateResponse().fromJsonString(jsonString, options); + } + + static equals(a: LaunchPlanUpdateResponse | PlainMessage | undefined, b: LaunchPlanUpdateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(LaunchPlanUpdateResponse, a, b); + } +} + +/** + * Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier + * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + * + * @generated from message flyteidl.admin.ActiveLaunchPlanRequest + */ +export class ActiveLaunchPlanRequest extends Message { + /** + * +required. + * + * @generated from field: flyteidl.admin.NamedEntityIdentifier id = 1; + */ + id?: NamedEntityIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ActiveLaunchPlanRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: NamedEntityIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ActiveLaunchPlanRequest { + return new ActiveLaunchPlanRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ActiveLaunchPlanRequest { + return new ActiveLaunchPlanRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ActiveLaunchPlanRequest { + return new ActiveLaunchPlanRequest().fromJsonString(jsonString, options); + } + + static equals(a: ActiveLaunchPlanRequest | PlainMessage | undefined, b: ActiveLaunchPlanRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ActiveLaunchPlanRequest, a, b); + } +} + +/** + * Represents a request structure to list active launch plans within a project/domain and optional org. + * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details + * + * @generated from message flyteidl.admin.ActiveLaunchPlanListRequest + */ +export class ActiveLaunchPlanListRequest extends Message { + /** + * Name of the project that contains the identifiers. + * +required. + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Name of the domain the identifiers belongs to within the project. + * +required. + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Indicates the number of resources to be returned. + * +required. + * + * @generated from field: uint32 limit = 3; + */ + limit = 0; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 4; + */ + token = ""; + + /** + * Sort ordering. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 5; + */ + sortBy?: Sort; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 6; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ActiveLaunchPlanListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "sort_by", kind: "message", T: Sort }, + { no: 6, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ActiveLaunchPlanListRequest { + return new ActiveLaunchPlanListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ActiveLaunchPlanListRequest { + return new ActiveLaunchPlanListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ActiveLaunchPlanListRequest { + return new ActiveLaunchPlanListRequest().fromJsonString(jsonString, options); + } + + static equals(a: ActiveLaunchPlanListRequest | PlainMessage | undefined, b: ActiveLaunchPlanListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ActiveLaunchPlanListRequest, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/matchable_resource_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/matchable_resource_pb.ts new file mode 100644 index 0000000000..421358694a --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/matchable_resource_pb.ts @@ -0,0 +1,794 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/matchable_resource.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { BoolValue, Message, proto3 } from "@bufbuild/protobuf"; +import { SecurityContext } from "../core/security_pb.js"; +import { Annotations, Envs, Labels, RawOutputDataConfig } from "./common_pb.js"; +import { QualityOfService } from "../core/execution_pb.js"; +import { ClusterAssignment } from "./cluster_assignment_pb.js"; + +/** + * Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes + * based on matching tags. + * + * @generated from enum flyteidl.admin.MatchableResource + */ +export enum MatchableResource { + /** + * Applies to customizable task resource requests and limits. + * + * @generated from enum value: TASK_RESOURCE = 0; + */ + TASK_RESOURCE = 0, + + /** + * Applies to configuring templated kubernetes cluster resources. + * + * @generated from enum value: CLUSTER_RESOURCE = 1; + */ + CLUSTER_RESOURCE = 1, + + /** + * Configures task and dynamic task execution queue assignment. + * + * @generated from enum value: EXECUTION_QUEUE = 2; + */ + EXECUTION_QUEUE = 2, + + /** + * Configures the K8s cluster label to be used for execution to be run + * + * @generated from enum value: EXECUTION_CLUSTER_LABEL = 3; + */ + EXECUTION_CLUSTER_LABEL = 3, + + /** + * Configures default quality of service when undefined in an execution spec. + * + * @generated from enum value: QUALITY_OF_SERVICE_SPECIFICATION = 4; + */ + QUALITY_OF_SERVICE_SPECIFICATION = 4, + + /** + * Selects configurable plugin implementation behavior for a given task type. + * + * @generated from enum value: PLUGIN_OVERRIDE = 5; + */ + PLUGIN_OVERRIDE = 5, + + /** + * Adds defaults for customizable workflow-execution specifications and overrides. + * + * @generated from enum value: WORKFLOW_EXECUTION_CONFIG = 6; + */ + WORKFLOW_EXECUTION_CONFIG = 6, + + /** + * Controls how to select an available cluster on which this execution should run. + * + * @generated from enum value: CLUSTER_ASSIGNMENT = 7; + */ + CLUSTER_ASSIGNMENT = 7, +} +// Retrieve enum metadata with: proto3.getEnumType(MatchableResource) +proto3.util.setEnumType(MatchableResource, "flyteidl.admin.MatchableResource", [ + { no: 0, name: "TASK_RESOURCE" }, + { no: 1, name: "CLUSTER_RESOURCE" }, + { no: 2, name: "EXECUTION_QUEUE" }, + { no: 3, name: "EXECUTION_CLUSTER_LABEL" }, + { no: 4, name: "QUALITY_OF_SERVICE_SPECIFICATION" }, + { no: 5, name: "PLUGIN_OVERRIDE" }, + { no: 6, name: "WORKFLOW_EXECUTION_CONFIG" }, + { no: 7, name: "CLUSTER_ASSIGNMENT" }, +]); + +/** + * Defines a set of overridable task resource attributes set during task registration. + * + * @generated from message flyteidl.admin.TaskResourceSpec + */ +export class TaskResourceSpec extends Message { + /** + * @generated from field: string cpu = 1; + */ + cpu = ""; + + /** + * @generated from field: string gpu = 2; + */ + gpu = ""; + + /** + * @generated from field: string memory = 3; + */ + memory = ""; + + /** + * @generated from field: string storage = 4; + */ + storage = ""; + + /** + * @generated from field: string ephemeral_storage = 5; + */ + ephemeralStorage = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskResourceSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "cpu", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "gpu", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "memory", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "storage", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "ephemeral_storage", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskResourceSpec { + return new TaskResourceSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskResourceSpec { + return new TaskResourceSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskResourceSpec { + return new TaskResourceSpec().fromJsonString(jsonString, options); + } + + static equals(a: TaskResourceSpec | PlainMessage | undefined, b: TaskResourceSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskResourceSpec, a, b); + } +} + +/** + * Defines task resource defaults and limits that will be applied at task registration. + * + * @generated from message flyteidl.admin.TaskResourceAttributes + */ +export class TaskResourceAttributes extends Message { + /** + * @generated from field: flyteidl.admin.TaskResourceSpec defaults = 1; + */ + defaults?: TaskResourceSpec; + + /** + * @generated from field: flyteidl.admin.TaskResourceSpec limits = 2; + */ + limits?: TaskResourceSpec; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskResourceAttributes"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "defaults", kind: "message", T: TaskResourceSpec }, + { no: 2, name: "limits", kind: "message", T: TaskResourceSpec }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskResourceAttributes { + return new TaskResourceAttributes().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskResourceAttributes { + return new TaskResourceAttributes().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskResourceAttributes { + return new TaskResourceAttributes().fromJsonString(jsonString, options); + } + + static equals(a: TaskResourceAttributes | PlainMessage | undefined, b: TaskResourceAttributes | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskResourceAttributes, a, b); + } +} + +/** + * @generated from message flyteidl.admin.ClusterResourceAttributes + */ +export class ClusterResourceAttributes extends Message { + /** + * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). + * Map keys are the *case-sensitive* names of variables in templatized resource files. + * Map values should be the custom values which get substituted during resource creation. + * + * @generated from field: map attributes = 1; + */ + attributes: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ClusterResourceAttributes"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ClusterResourceAttributes { + return new ClusterResourceAttributes().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ClusterResourceAttributes { + return new ClusterResourceAttributes().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ClusterResourceAttributes { + return new ClusterResourceAttributes().fromJsonString(jsonString, options); + } + + static equals(a: ClusterResourceAttributes | PlainMessage | undefined, b: ClusterResourceAttributes | PlainMessage | undefined): boolean { + return proto3.util.equals(ClusterResourceAttributes, a, b); + } +} + +/** + * @generated from message flyteidl.admin.ExecutionQueueAttributes + */ +export class ExecutionQueueAttributes extends Message { + /** + * Tags used for assigning execution queues for tasks defined within this project. + * + * @generated from field: repeated string tags = 1; + */ + tags: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionQueueAttributes"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionQueueAttributes { + return new ExecutionQueueAttributes().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionQueueAttributes { + return new ExecutionQueueAttributes().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionQueueAttributes { + return new ExecutionQueueAttributes().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionQueueAttributes | PlainMessage | undefined, b: ExecutionQueueAttributes | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionQueueAttributes, a, b); + } +} + +/** + * @generated from message flyteidl.admin.ExecutionClusterLabel + */ +export class ExecutionClusterLabel extends Message { + /** + * Label value to determine where the execution will be run + * + * @generated from field: string value = 1; + */ + value = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ExecutionClusterLabel"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionClusterLabel { + return new ExecutionClusterLabel().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionClusterLabel { + return new ExecutionClusterLabel().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionClusterLabel { + return new ExecutionClusterLabel().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionClusterLabel | PlainMessage | undefined, b: ExecutionClusterLabel | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionClusterLabel, a, b); + } +} + +/** + * This MatchableAttribute configures selecting alternate plugin implementations for a given task type. + * In addition to an override implementation a selection of fallbacks can be provided or other modes + * for handling cases where the desired plugin override is not enabled in a given Flyte deployment. + * + * @generated from message flyteidl.admin.PluginOverride + */ +export class PluginOverride extends Message { + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 1; + */ + taskType = ""; + + /** + * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. + * + * @generated from field: repeated string plugin_id = 2; + */ + pluginId: string[] = []; + + /** + * Defines the behavior when no plugin from the plugin_id list is not found. + * + * @generated from field: flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; + */ + missingPluginBehavior = PluginOverride_MissingPluginBehavior.FAIL; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.PluginOverride"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "plugin_id", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "missing_plugin_behavior", kind: "enum", T: proto3.getEnumType(PluginOverride_MissingPluginBehavior) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PluginOverride { + return new PluginOverride().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PluginOverride { + return new PluginOverride().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PluginOverride { + return new PluginOverride().fromJsonString(jsonString, options); + } + + static equals(a: PluginOverride | PlainMessage | undefined, b: PluginOverride | PlainMessage | undefined): boolean { + return proto3.util.equals(PluginOverride, a, b); + } +} + +/** + * @generated from enum flyteidl.admin.PluginOverride.MissingPluginBehavior + */ +export enum PluginOverride_MissingPluginBehavior { + /** + * By default, if this plugin is not enabled for a Flyte deployment then execution will fail. + * + * @generated from enum value: FAIL = 0; + */ + FAIL = 0, + + /** + * Uses the system-configured default implementation. + * + * @generated from enum value: USE_DEFAULT = 1; + */ + USE_DEFAULT = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(PluginOverride_MissingPluginBehavior) +proto3.util.setEnumType(PluginOverride_MissingPluginBehavior, "flyteidl.admin.PluginOverride.MissingPluginBehavior", [ + { no: 0, name: "FAIL" }, + { no: 1, name: "USE_DEFAULT" }, +]); + +/** + * @generated from message flyteidl.admin.PluginOverrides + */ +export class PluginOverrides extends Message { + /** + * @generated from field: repeated flyteidl.admin.PluginOverride overrides = 1; + */ + overrides: PluginOverride[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.PluginOverrides"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "overrides", kind: "message", T: PluginOverride, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PluginOverrides { + return new PluginOverrides().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PluginOverrides { + return new PluginOverrides().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PluginOverrides { + return new PluginOverrides().fromJsonString(jsonString, options); + } + + static equals(a: PluginOverrides | PlainMessage | undefined, b: PluginOverrides | PlainMessage | undefined): boolean { + return proto3.util.equals(PluginOverrides, a, b); + } +} + +/** + * Adds defaults for customizable workflow-execution specifications and overrides. + * + * @generated from message flyteidl.admin.WorkflowExecutionConfig + */ +export class WorkflowExecutionConfig extends Message { + /** + * Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. + * + * @generated from field: int32 max_parallelism = 1; + */ + maxParallelism = 0; + + /** + * Indicates security context permissions for executions triggered with this matchable attribute. + * + * @generated from field: flyteidl.core.SecurityContext security_context = 2; + */ + securityContext?: SecurityContext; + + /** + * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). + * + * @generated from field: flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; + */ + rawOutputDataConfig?: RawOutputDataConfig; + + /** + * Custom labels to be applied to a triggered execution resource. + * + * @generated from field: flyteidl.admin.Labels labels = 4; + */ + labels?: Labels; + + /** + * Custom annotations to be applied to a triggered execution resource. + * + * @generated from field: flyteidl.admin.Annotations annotations = 5; + */ + annotations?: Annotations; + + /** + * Allows for the interruptible flag of a workflow to be overwritten for a single execution. + * Omitting this field uses the workflow's value as a default. + * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper + * around the bool field. + * + * @generated from field: google.protobuf.BoolValue interruptible = 6; + */ + interruptible?: boolean; + + /** + * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. + * If enabled, all calculations are performed even if cached results would be available, overwriting the stored + * data once execution finishes successfully. + * + * @generated from field: bool overwrite_cache = 7; + */ + overwriteCache = false; + + /** + * Environment variables to be set for the execution. + * + * @generated from field: flyteidl.admin.Envs envs = 8; + */ + envs?: Envs; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowExecutionConfig"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "max_parallelism", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "security_context", kind: "message", T: SecurityContext }, + { no: 3, name: "raw_output_data_config", kind: "message", T: RawOutputDataConfig }, + { no: 4, name: "labels", kind: "message", T: Labels }, + { no: 5, name: "annotations", kind: "message", T: Annotations }, + { no: 6, name: "interruptible", kind: "message", T: BoolValue }, + { no: 7, name: "overwrite_cache", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 8, name: "envs", kind: "message", T: Envs }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionConfig { + return new WorkflowExecutionConfig().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionConfig { + return new WorkflowExecutionConfig().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionConfig { + return new WorkflowExecutionConfig().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionConfig | PlainMessage | undefined, b: WorkflowExecutionConfig | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionConfig, a, b); + } +} + +/** + * Generic container for encapsulating all types of the above attributes messages. + * + * @generated from message flyteidl.admin.MatchingAttributes + */ +export class MatchingAttributes extends Message { + /** + * @generated from oneof flyteidl.admin.MatchingAttributes.target + */ + target: { + /** + * @generated from field: flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + value: TaskResourceAttributes; + case: "taskResourceAttributes"; + } | { + /** + * @generated from field: flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + value: ClusterResourceAttributes; + case: "clusterResourceAttributes"; + } | { + /** + * @generated from field: flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + value: ExecutionQueueAttributes; + case: "executionQueueAttributes"; + } | { + /** + * @generated from field: flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; + */ + value: ExecutionClusterLabel; + case: "executionClusterLabel"; + } | { + /** + * @generated from field: flyteidl.core.QualityOfService quality_of_service = 5; + */ + value: QualityOfService; + case: "qualityOfService"; + } | { + /** + * @generated from field: flyteidl.admin.PluginOverrides plugin_overrides = 6; + */ + value: PluginOverrides; + case: "pluginOverrides"; + } | { + /** + * @generated from field: flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; + */ + value: WorkflowExecutionConfig; + case: "workflowExecutionConfig"; + } | { + /** + * @generated from field: flyteidl.admin.ClusterAssignment cluster_assignment = 8; + */ + value: ClusterAssignment; + case: "clusterAssignment"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.MatchingAttributes"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_resource_attributes", kind: "message", T: TaskResourceAttributes, oneof: "target" }, + { no: 2, name: "cluster_resource_attributes", kind: "message", T: ClusterResourceAttributes, oneof: "target" }, + { no: 3, name: "execution_queue_attributes", kind: "message", T: ExecutionQueueAttributes, oneof: "target" }, + { no: 4, name: "execution_cluster_label", kind: "message", T: ExecutionClusterLabel, oneof: "target" }, + { no: 5, name: "quality_of_service", kind: "message", T: QualityOfService, oneof: "target" }, + { no: 6, name: "plugin_overrides", kind: "message", T: PluginOverrides, oneof: "target" }, + { no: 7, name: "workflow_execution_config", kind: "message", T: WorkflowExecutionConfig, oneof: "target" }, + { no: 8, name: "cluster_assignment", kind: "message", T: ClusterAssignment, oneof: "target" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): MatchingAttributes { + return new MatchingAttributes().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): MatchingAttributes { + return new MatchingAttributes().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): MatchingAttributes { + return new MatchingAttributes().fromJsonString(jsonString, options); + } + + static equals(a: MatchingAttributes | PlainMessage | undefined, b: MatchingAttributes | PlainMessage | undefined): boolean { + return proto3.util.equals(MatchingAttributes, a, b); + } +} + +/** + * Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org); + * or domain, project and workflow name (and optional org). + * These are used to override system level defaults for kubernetes cluster resource management, + * default execution values, and more all across different levels of specificity. + * + * @generated from message flyteidl.admin.MatchableAttributesConfiguration + */ +export class MatchableAttributesConfiguration extends Message { + /** + * @generated from field: flyteidl.admin.MatchingAttributes attributes = 1; + */ + attributes?: MatchingAttributes; + + /** + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * @generated from field: string project = 3; + */ + project = ""; + + /** + * @generated from field: string workflow = 4; + */ + workflow = ""; + + /** + * @generated from field: string launch_plan = 5; + */ + launchPlan = ""; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 6; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.MatchableAttributesConfiguration"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "message", T: MatchingAttributes }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "workflow", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "launch_plan", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): MatchableAttributesConfiguration { + return new MatchableAttributesConfiguration().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): MatchableAttributesConfiguration { + return new MatchableAttributesConfiguration().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): MatchableAttributesConfiguration { + return new MatchableAttributesConfiguration().fromJsonString(jsonString, options); + } + + static equals(a: MatchableAttributesConfiguration | PlainMessage | undefined, b: MatchableAttributesConfiguration | PlainMessage | undefined): boolean { + return proto3.util.equals(MatchableAttributesConfiguration, a, b); + } +} + +/** + * Request all matching resource attributes for a resource type. + * See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details + * + * @generated from message flyteidl.admin.ListMatchableAttributesRequest + */ +export class ListMatchableAttributesRequest extends Message { + /** + * +required + * + * @generated from field: flyteidl.admin.MatchableResource resource_type = 1; + */ + resourceType = MatchableResource.TASK_RESOURCE; + + /** + * Optional, org filter applied to list project requests. + * + * @generated from field: string org = 2; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ListMatchableAttributesRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_type", kind: "enum", T: proto3.getEnumType(MatchableResource) }, + { no: 2, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListMatchableAttributesRequest { + return new ListMatchableAttributesRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListMatchableAttributesRequest { + return new ListMatchableAttributesRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListMatchableAttributesRequest { + return new ListMatchableAttributesRequest().fromJsonString(jsonString, options); + } + + static equals(a: ListMatchableAttributesRequest | PlainMessage | undefined, b: ListMatchableAttributesRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ListMatchableAttributesRequest, a, b); + } +} + +/** + * Response for a request for all matching resource attributes for a resource type. + * See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details + * + * @generated from message flyteidl.admin.ListMatchableAttributesResponse + */ +export class ListMatchableAttributesResponse extends Message { + /** + * @generated from field: repeated flyteidl.admin.MatchableAttributesConfiguration configurations = 1; + */ + configurations: MatchableAttributesConfiguration[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ListMatchableAttributesResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "configurations", kind: "message", T: MatchableAttributesConfiguration, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListMatchableAttributesResponse { + return new ListMatchableAttributesResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListMatchableAttributesResponse { + return new ListMatchableAttributesResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListMatchableAttributesResponse { + return new ListMatchableAttributesResponse().fromJsonString(jsonString, options); + } + + static equals(a: ListMatchableAttributesResponse | PlainMessage | undefined, b: ListMatchableAttributesResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ListMatchableAttributesResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/node_execution_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/node_execution_pb.ts new file mode 100644 index 0000000000..97b89426fe --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/node_execution_pb.ts @@ -0,0 +1,926 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/node_execution.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { Identifier, NodeExecutionIdentifier, TaskExecutionIdentifier, WorkflowExecutionIdentifier } from "../core/identifier_pb.js"; +import { FlyteURLs, Sort, UrlBlob } from "./common_pb.js"; +import { ExecutionError, NodeExecution_Phase } from "../core/execution_pb.js"; +import { LiteralMap } from "../core/literals_pb.js"; +import { CatalogCacheStatus, CatalogMetadata } from "../core/catalog_pb.js"; +import { CompiledWorkflowClosure } from "../core/compiler_pb.js"; + +/** + * A message used to fetch a single node execution entity. + * See :ref:`ref_flyteidl.admin.NodeExecution` for more details + * + * @generated from message flyteidl.admin.NodeExecutionGetRequest + */ +export class NodeExecutionGetRequest extends Message { + /** + * Uniquely identifies an individual node execution. + * +required + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier id = 1; + */ + id?: NodeExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: NodeExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionGetRequest { + return new NodeExecutionGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionGetRequest { + return new NodeExecutionGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionGetRequest { + return new NodeExecutionGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionGetRequest | PlainMessage | undefined, b: NodeExecutionGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionGetRequest, a, b); + } +} + +/** + * Represents a request structure to retrieve a list of node execution entities. + * See :ref:`ref_flyteidl.admin.NodeExecution` for more details + * + * @generated from message flyteidl.admin.NodeExecutionListRequest + */ +export class NodeExecutionListRequest extends Message { + /** + * Indicates the workflow execution to filter by. + * +required + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + workflowExecutionId?: WorkflowExecutionIdentifier; + + /** + * Indicates the number of resources to be returned. + * +required + * + * @generated from field: uint32 limit = 2; + */ + limit = 0; + + /** + * @generated from field: string token = 3; + */ + token = ""; + + /** + * Indicates a list of filters passed as string. + * More info on constructing filters : + * +optional + * + * @generated from field: string filters = 4; + */ + filters = ""; + + /** + * Sort ordering. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 5; + */ + sortBy?: Sort; + + /** + * Unique identifier of the parent node in the execution + * +optional + * + * @generated from field: string unique_parent_id = 6; + */ + uniqueParentId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "workflow_execution_id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "sort_by", kind: "message", T: Sort }, + { no: 6, name: "unique_parent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionListRequest { + return new NodeExecutionListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionListRequest { + return new NodeExecutionListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionListRequest { + return new NodeExecutionListRequest().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionListRequest | PlainMessage | undefined, b: NodeExecutionListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionListRequest, a, b); + } +} + +/** + * Represents a request structure to retrieve a list of node execution entities launched by a specific task. + * This can arise when a task yields a subworkflow. + * + * @generated from message flyteidl.admin.NodeExecutionForTaskListRequest + */ +export class NodeExecutionForTaskListRequest extends Message { + /** + * Indicates the node execution to filter by. + * +required + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + taskExecutionId?: TaskExecutionIdentifier; + + /** + * Indicates the number of resources to be returned. + * +required + * + * @generated from field: uint32 limit = 2; + */ + limit = 0; + + /** + * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 3; + */ + token = ""; + + /** + * Indicates a list of filters passed as string. + * More info on constructing filters : + * +optional + * + * @generated from field: string filters = 4; + */ + filters = ""; + + /** + * Sort ordering. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 5; + */ + sortBy?: Sort; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionForTaskListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_execution_id", kind: "message", T: TaskExecutionIdentifier }, + { no: 2, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "sort_by", kind: "message", T: Sort }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionForTaskListRequest { + return new NodeExecutionForTaskListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionForTaskListRequest { + return new NodeExecutionForTaskListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionForTaskListRequest { + return new NodeExecutionForTaskListRequest().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionForTaskListRequest | PlainMessage | undefined, b: NodeExecutionForTaskListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionForTaskListRequest, a, b); + } +} + +/** + * Encapsulates all details for a single node execution entity. + * A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested + * sub-workflow, or even a separate child-workflow execution. + * The same task can be called repeatedly in a single workflow but each node is unique. + * + * @generated from message flyteidl.admin.NodeExecution + */ +export class NodeExecution extends Message { + /** + * Uniquely identifies an individual node execution. + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier id = 1; + */ + id?: NodeExecutionIdentifier; + + /** + * Path to remote data store where input blob is stored. + * + * @generated from field: string input_uri = 2; + */ + inputUri = ""; + + /** + * Computed results associated with this node execution. + * + * @generated from field: flyteidl.admin.NodeExecutionClosure closure = 3; + */ + closure?: NodeExecutionClosure; + + /** + * Metadata for Node Execution + * + * @generated from field: flyteidl.admin.NodeExecutionMetaData metadata = 4; + */ + metadata?: NodeExecutionMetaData; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: NodeExecutionIdentifier }, + { no: 2, name: "input_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "closure", kind: "message", T: NodeExecutionClosure }, + { no: 4, name: "metadata", kind: "message", T: NodeExecutionMetaData }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecution { + return new NodeExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecution { + return new NodeExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecution { + return new NodeExecution().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecution | PlainMessage | undefined, b: NodeExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecution, a, b); + } +} + +/** + * Represents additional attributes related to a Node Execution + * + * @generated from message flyteidl.admin.NodeExecutionMetaData + */ +export class NodeExecutionMetaData extends Message { + /** + * Node executions are grouped depending on retries of the parent + * Retry group is unique within the context of a parent node. + * + * @generated from field: string retry_group = 1; + */ + retryGroup = ""; + + /** + * Boolean flag indicating if the node has child nodes under it + * This can be true when a node contains a dynamic workflow which then produces + * child nodes. + * + * @generated from field: bool is_parent_node = 2; + */ + isParentNode = false; + + /** + * Node id of the node in the original workflow + * This maps to value of WorkflowTemplate.nodes[X].id + * + * @generated from field: string spec_node_id = 3; + */ + specNodeId = ""; + + /** + * Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. + * This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. + * + * @generated from field: bool is_dynamic = 4; + */ + isDynamic = false; + + /** + * Boolean flag indicating if the node is an array node. This is intended to uniquely identify + * array nodes from other nodes which can have is_parent_node as true. + * + * @generated from field: bool is_array = 5; + */ + isArray = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionMetaData"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "retry_group", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "is_parent_node", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "spec_node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "is_dynamic", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "is_array", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionMetaData { + return new NodeExecutionMetaData().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionMetaData { + return new NodeExecutionMetaData().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionMetaData { + return new NodeExecutionMetaData().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionMetaData | PlainMessage | undefined, b: NodeExecutionMetaData | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionMetaData, a, b); + } +} + +/** + * Request structure to retrieve a list of node execution entities. + * See :ref:`ref_flyteidl.admin.NodeExecution` for more details + * + * @generated from message flyteidl.admin.NodeExecutionList + */ +export class NodeExecutionList extends Message { + /** + * @generated from field: repeated flyteidl.admin.NodeExecution node_executions = 1; + */ + nodeExecutions: NodeExecution[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "node_executions", kind: "message", T: NodeExecution, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionList { + return new NodeExecutionList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionList { + return new NodeExecutionList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionList { + return new NodeExecutionList().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionList | PlainMessage | undefined, b: NodeExecutionList | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionList, a, b); + } +} + +/** + * Container for node execution details and results. + * + * @generated from message flyteidl.admin.NodeExecutionClosure + */ +export class NodeExecutionClosure extends Message { + /** + * Only a node in a terminal state will have a non-empty output_result. + * + * @generated from oneof flyteidl.admin.NodeExecutionClosure.output_result + */ + outputResult: { + /** + * Links to a remotely stored, serialized core.LiteralMap of node execution outputs. + * DEPRECATED. Use GetNodeExecutionData to fetch output data instead. + * + * @generated from field: string output_uri = 1 [deprecated = true]; + * @deprecated + */ + value: string; + case: "outputUri"; + } | { + /** + * Error information for the Node + * + * @generated from field: flyteidl.core.ExecutionError error = 2; + */ + value: ExecutionError; + case: "error"; + } | { + /** + * Raw output data produced by this node execution. + * DEPRECATED. Use GetNodeExecutionData to fetch output data instead. + * + * @generated from field: flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; + * @deprecated + */ + value: LiteralMap; + case: "outputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * The last recorded phase for this node execution. + * + * @generated from field: flyteidl.core.NodeExecution.Phase phase = 3; + */ + phase = NodeExecution_Phase.UNDEFINED; + + /** + * Time at which the node execution began running. + * + * @generated from field: google.protobuf.Timestamp started_at = 4; + */ + startedAt?: Timestamp; + + /** + * The amount of time the node execution spent running. + * + * @generated from field: google.protobuf.Duration duration = 5; + */ + duration?: Duration; + + /** + * Time at which the node execution was created. + * + * @generated from field: google.protobuf.Timestamp created_at = 6; + */ + createdAt?: Timestamp; + + /** + * Time at which the node execution was last updated. + * + * @generated from field: google.protobuf.Timestamp updated_at = 7; + */ + updatedAt?: Timestamp; + + /** + * Store metadata for what the node launched. + * for ex: if this is a workflow node, we store information for the launched workflow. + * + * @generated from oneof flyteidl.admin.NodeExecutionClosure.target_metadata + */ + targetMetadata: { + /** + * @generated from field: flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; + */ + value: WorkflowNodeMetadata; + case: "workflowNodeMetadata"; + } | { + /** + * @generated from field: flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; + */ + value: TaskNodeMetadata; + case: "taskNodeMetadata"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * String location uniquely identifying where the deck HTML file is. + * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) + * + * @generated from field: string deck_uri = 11; + */ + deckUri = ""; + + /** + * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required + * to correctly recover partially completed executions where the subworkflow has already been compiled. + * + * @generated from field: string dynamic_job_spec_uri = 12; + */ + dynamicJobSpecUri = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "output_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output_result" }, + { no: 2, name: "error", kind: "message", T: ExecutionError, oneof: "output_result" }, + { no: 10, name: "output_data", kind: "message", T: LiteralMap, oneof: "output_result" }, + { no: 3, name: "phase", kind: "enum", T: proto3.getEnumType(NodeExecution_Phase) }, + { no: 4, name: "started_at", kind: "message", T: Timestamp }, + { no: 5, name: "duration", kind: "message", T: Duration }, + { no: 6, name: "created_at", kind: "message", T: Timestamp }, + { no: 7, name: "updated_at", kind: "message", T: Timestamp }, + { no: 8, name: "workflow_node_metadata", kind: "message", T: WorkflowNodeMetadata, oneof: "target_metadata" }, + { no: 9, name: "task_node_metadata", kind: "message", T: TaskNodeMetadata, oneof: "target_metadata" }, + { no: 11, name: "deck_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 12, name: "dynamic_job_spec_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionClosure { + return new NodeExecutionClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionClosure { + return new NodeExecutionClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionClosure { + return new NodeExecutionClosure().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionClosure | PlainMessage | undefined, b: NodeExecutionClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionClosure, a, b); + } +} + +/** + * Metadata for a WorkflowNode + * + * @generated from message flyteidl.admin.WorkflowNodeMetadata + */ +export class WorkflowNodeMetadata extends Message { + /** + * The identifier for a workflow execution launched by a node. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier executionId = 1; + */ + executionId?: WorkflowExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowNodeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "executionId", kind: "message", T: WorkflowExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowNodeMetadata { + return new WorkflowNodeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowNodeMetadata { + return new WorkflowNodeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowNodeMetadata { + return new WorkflowNodeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowNodeMetadata | PlainMessage | undefined, b: WorkflowNodeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowNodeMetadata, a, b); + } +} + +/** + * Metadata for the case in which the node is a TaskNode + * + * @generated from message flyteidl.admin.TaskNodeMetadata + */ +export class TaskNodeMetadata extends Message { + /** + * Captures the status of caching for this execution. + * + * @generated from field: flyteidl.core.CatalogCacheStatus cache_status = 1; + */ + cacheStatus = CatalogCacheStatus.CACHE_DISABLED; + + /** + * This structure carries the catalog artifact information + * + * @generated from field: flyteidl.core.CatalogMetadata catalog_key = 2; + */ + catalogKey?: CatalogMetadata; + + /** + * The latest checkpoint location + * + * @generated from field: string checkpoint_uri = 4; + */ + checkpointUri = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskNodeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "cache_status", kind: "enum", T: proto3.getEnumType(CatalogCacheStatus) }, + { no: 2, name: "catalog_key", kind: "message", T: CatalogMetadata }, + { no: 4, name: "checkpoint_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskNodeMetadata { + return new TaskNodeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskNodeMetadata { + return new TaskNodeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskNodeMetadata { + return new TaskNodeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: TaskNodeMetadata | PlainMessage | undefined, b: TaskNodeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskNodeMetadata, a, b); + } +} + +/** + * For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated. + * + * @generated from message flyteidl.admin.DynamicWorkflowNodeMetadata + */ +export class DynamicWorkflowNodeMetadata extends Message { + /** + * id represents the unique identifier of the workflow. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * Represents the compiled representation of the embedded dynamic workflow. + * + * @generated from field: flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; + */ + compiledWorkflow?: CompiledWorkflowClosure; + + /** + * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is + * required to correctly recover partially completed executions where the subworkflow has already been compiled. + * + * @generated from field: string dynamic_job_spec_uri = 3; + */ + dynamicJobSpecUri = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.DynamicWorkflowNodeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "compiled_workflow", kind: "message", T: CompiledWorkflowClosure }, + { no: 3, name: "dynamic_job_spec_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DynamicWorkflowNodeMetadata { + return new DynamicWorkflowNodeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DynamicWorkflowNodeMetadata { + return new DynamicWorkflowNodeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DynamicWorkflowNodeMetadata { + return new DynamicWorkflowNodeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: DynamicWorkflowNodeMetadata | PlainMessage | undefined, b: DynamicWorkflowNodeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(DynamicWorkflowNodeMetadata, a, b); + } +} + +/** + * Request structure to fetch inputs and output for a node execution. + * By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest` + * + * @generated from message flyteidl.admin.NodeExecutionGetDataRequest + */ +export class NodeExecutionGetDataRequest extends Message { + /** + * The identifier of the node execution for which to fetch inputs and outputs. + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier id = 1; + */ + id?: NodeExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionGetDataRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: NodeExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionGetDataRequest { + return new NodeExecutionGetDataRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionGetDataRequest { + return new NodeExecutionGetDataRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionGetDataRequest { + return new NodeExecutionGetDataRequest().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionGetDataRequest | PlainMessage | undefined, b: NodeExecutionGetDataRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionGetDataRequest, a, b); + } +} + +/** + * Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution. + * + * @generated from message flyteidl.admin.NodeExecutionGetDataResponse + */ +export class NodeExecutionGetDataResponse extends Message { + /** + * Signed url to fetch a core.LiteralMap of node execution inputs. + * Deprecated: Please use full_inputs instead. + * + * @generated from field: flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; + * @deprecated + */ + inputs?: UrlBlob; + + /** + * Signed url to fetch a core.LiteralMap of node execution outputs. + * Deprecated: Please use full_outputs instead. + * + * @generated from field: flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; + * @deprecated + */ + outputs?: UrlBlob; + + /** + * Full_inputs will only be populated if they are under a configured size threshold. + * + * @generated from field: flyteidl.core.LiteralMap full_inputs = 3; + */ + fullInputs?: LiteralMap; + + /** + * Full_outputs will only be populated if they are under a configured size threshold. + * + * @generated from field: flyteidl.core.LiteralMap full_outputs = 4; + */ + fullOutputs?: LiteralMap; + + /** + * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. + * + * @generated from field: flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; + */ + dynamicWorkflow?: DynamicWorkflowNodeMetadata; + + /** + * @generated from field: flyteidl.admin.FlyteURLs flyte_urls = 17; + */ + flyteUrls?: FlyteURLs; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.NodeExecutionGetDataResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "inputs", kind: "message", T: UrlBlob }, + { no: 2, name: "outputs", kind: "message", T: UrlBlob }, + { no: 3, name: "full_inputs", kind: "message", T: LiteralMap }, + { no: 4, name: "full_outputs", kind: "message", T: LiteralMap }, + { no: 16, name: "dynamic_workflow", kind: "message", T: DynamicWorkflowNodeMetadata }, + { no: 17, name: "flyte_urls", kind: "message", T: FlyteURLs }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionGetDataResponse { + return new NodeExecutionGetDataResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionGetDataResponse { + return new NodeExecutionGetDataResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionGetDataResponse { + return new NodeExecutionGetDataResponse().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionGetDataResponse | PlainMessage | undefined, b: NodeExecutionGetDataResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionGetDataResponse, a, b); + } +} + +/** + * @generated from message flyteidl.admin.GetDynamicNodeWorkflowRequest + */ +export class GetDynamicNodeWorkflowRequest extends Message { + /** + * @generated from field: flyteidl.core.NodeExecutionIdentifier id = 1; + */ + id?: NodeExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetDynamicNodeWorkflowRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: NodeExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetDynamicNodeWorkflowRequest { + return new GetDynamicNodeWorkflowRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetDynamicNodeWorkflowRequest { + return new GetDynamicNodeWorkflowRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetDynamicNodeWorkflowRequest { + return new GetDynamicNodeWorkflowRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetDynamicNodeWorkflowRequest | PlainMessage | undefined, b: GetDynamicNodeWorkflowRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetDynamicNodeWorkflowRequest, a, b); + } +} + +/** + * @generated from message flyteidl.admin.DynamicNodeWorkflowResponse + */ +export class DynamicNodeWorkflowResponse extends Message { + /** + * @generated from field: flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; + */ + compiledWorkflow?: CompiledWorkflowClosure; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.DynamicNodeWorkflowResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "compiled_workflow", kind: "message", T: CompiledWorkflowClosure }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DynamicNodeWorkflowResponse { + return new DynamicNodeWorkflowResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DynamicNodeWorkflowResponse { + return new DynamicNodeWorkflowResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DynamicNodeWorkflowResponse { + return new DynamicNodeWorkflowResponse().fromJsonString(jsonString, options); + } + + static equals(a: DynamicNodeWorkflowResponse | PlainMessage | undefined, b: DynamicNodeWorkflowResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(DynamicNodeWorkflowResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/notification_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/notification_pb.ts new file mode 100644 index 0000000000..ff8e3527da --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/notification_pb.ts @@ -0,0 +1,80 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/notification.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Represents the Email object that is sent to a publisher/subscriber + * to forward the notification. + * Note: This is internal to Admin and doesn't need to be exposed to other components. + * + * @generated from message flyteidl.admin.EmailMessage + */ +export class EmailMessage extends Message { + /** + * The list of email addresses to receive an email with the content populated in the other fields. + * Currently, each email recipient will receive its own email. + * This populates the TO field. + * + * @generated from field: repeated string recipients_email = 1; + */ + recipientsEmail: string[] = []; + + /** + * The email of the sender. + * This populates the FROM field. + * + * @generated from field: string sender_email = 2; + */ + senderEmail = ""; + + /** + * The content of the subject line. + * This populates the SUBJECT field. + * + * @generated from field: string subject_line = 3; + */ + subjectLine = ""; + + /** + * The content of the email body. + * This populates the BODY field. + * + * @generated from field: string body = 4; + */ + body = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.EmailMessage"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "recipients_email", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "sender_email", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "subject_line", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "body", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): EmailMessage { + return new EmailMessage().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): EmailMessage { + return new EmailMessage().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): EmailMessage { + return new EmailMessage().fromJsonString(jsonString, options); + } + + static equals(a: EmailMessage | PlainMessage | undefined, b: EmailMessage | PlainMessage | undefined): boolean { + return proto3.util.equals(EmailMessage, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/project_attributes_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/project_attributes_pb.ts new file mode 100644 index 0000000000..8fc85a0874 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/project_attributes_pb.ts @@ -0,0 +1,333 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/project_attributes.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { MatchableResource, MatchingAttributes } from "./matchable_resource_pb.js"; + +/** + * Defines a set of custom matching attributes at the project level. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectAttributes + */ +export class ProjectAttributes extends Message { + /** + * Unique project id for which this set of attributes will be applied. + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * @generated from field: flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + matchingAttributes?: MatchingAttributes; + + /** + * Optional, org key applied to the project. + * + * @generated from field: string org = 3; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectAttributes"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "matching_attributes", kind: "message", T: MatchingAttributes }, + { no: 3, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectAttributes { + return new ProjectAttributes().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectAttributes { + return new ProjectAttributes().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectAttributes { + return new ProjectAttributes().fromJsonString(jsonString, options); + } + + static equals(a: ProjectAttributes | PlainMessage | undefined, b: ProjectAttributes | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectAttributes, a, b); + } +} + +/** + * Sets custom attributes for a project + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectAttributesUpdateRequest + */ +export class ProjectAttributesUpdateRequest extends Message { + /** + * +required + * + * @generated from field: flyteidl.admin.ProjectAttributes attributes = 1; + */ + attributes?: ProjectAttributes; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectAttributesUpdateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "message", T: ProjectAttributes }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectAttributesUpdateRequest { + return new ProjectAttributesUpdateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectAttributesUpdateRequest { + return new ProjectAttributesUpdateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectAttributesUpdateRequest { + return new ProjectAttributesUpdateRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectAttributesUpdateRequest | PlainMessage | undefined, b: ProjectAttributesUpdateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectAttributesUpdateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.ProjectAttributesUpdateResponse + */ +export class ProjectAttributesUpdateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectAttributesUpdateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectAttributesUpdateResponse { + return new ProjectAttributesUpdateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectAttributesUpdateResponse { + return new ProjectAttributesUpdateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectAttributesUpdateResponse { + return new ProjectAttributesUpdateResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectAttributesUpdateResponse | PlainMessage | undefined, b: ProjectAttributesUpdateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectAttributesUpdateResponse, a, b); + } +} + +/** + * Request to get an individual project level attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectAttributesGetRequest + */ +export class ProjectAttributesGetRequest extends Message { + /** + * Unique project id which this set of attributes references. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Which type of matchable attributes to return. + * +required + * + * @generated from field: flyteidl.admin.MatchableResource resource_type = 2; + */ + resourceType = MatchableResource.TASK_RESOURCE; + + /** + * Optional, org key applied to the project. + * + * @generated from field: string org = 3; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectAttributesGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "resource_type", kind: "enum", T: proto3.getEnumType(MatchableResource) }, + { no: 3, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectAttributesGetRequest { + return new ProjectAttributesGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectAttributesGetRequest { + return new ProjectAttributesGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectAttributesGetRequest { + return new ProjectAttributesGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectAttributesGetRequest | PlainMessage | undefined, b: ProjectAttributesGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectAttributesGetRequest, a, b); + } +} + +/** + * Response to get an individual project level attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectAttributesGetResponse + */ +export class ProjectAttributesGetResponse extends Message { + /** + * @generated from field: flyteidl.admin.ProjectAttributes attributes = 1; + */ + attributes?: ProjectAttributes; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectAttributesGetResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "message", T: ProjectAttributes }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectAttributesGetResponse { + return new ProjectAttributesGetResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectAttributesGetResponse { + return new ProjectAttributesGetResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectAttributesGetResponse { + return new ProjectAttributesGetResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectAttributesGetResponse | PlainMessage | undefined, b: ProjectAttributesGetResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectAttributesGetResponse, a, b); + } +} + +/** + * Request to delete a set matchable project level attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectAttributesDeleteRequest + */ +export class ProjectAttributesDeleteRequest extends Message { + /** + * Unique project id which this set of attributes references. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Which type of matchable attributes to delete. + * +required + * + * @generated from field: flyteidl.admin.MatchableResource resource_type = 2; + */ + resourceType = MatchableResource.TASK_RESOURCE; + + /** + * Optional, org key applied to the project. + * + * @generated from field: string org = 3; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectAttributesDeleteRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "resource_type", kind: "enum", T: proto3.getEnumType(MatchableResource) }, + { no: 3, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectAttributesDeleteRequest { + return new ProjectAttributesDeleteRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectAttributesDeleteRequest { + return new ProjectAttributesDeleteRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectAttributesDeleteRequest { + return new ProjectAttributesDeleteRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectAttributesDeleteRequest | PlainMessage | undefined, b: ProjectAttributesDeleteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectAttributesDeleteRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.ProjectAttributesDeleteResponse + */ +export class ProjectAttributesDeleteResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectAttributesDeleteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectAttributesDeleteResponse { + return new ProjectAttributesDeleteResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectAttributesDeleteResponse { + return new ProjectAttributesDeleteResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectAttributesDeleteResponse { + return new ProjectAttributesDeleteResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectAttributesDeleteResponse | PlainMessage | undefined, b: ProjectAttributesDeleteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectAttributesDeleteResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/project_domain_attributes_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/project_domain_attributes_pb.ts new file mode 100644 index 0000000000..ee43f17890 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/project_domain_attributes_pb.ts @@ -0,0 +1,359 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/project_domain_attributes.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { MatchableResource, MatchingAttributes } from "./matchable_resource_pb.js"; + +/** + * Defines a set of custom matching attributes which defines resource defaults for a project and domain. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectDomainAttributes + */ +export class ProjectDomainAttributes extends Message { + /** + * Unique project id for which this set of attributes will be applied. + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Unique domain id for which this set of attributes will be applied. + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * @generated from field: flyteidl.admin.MatchingAttributes matching_attributes = 3; + */ + matchingAttributes?: MatchingAttributes; + + /** + * Optional, org key applied to the attributes. + * + * @generated from field: string org = 4; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectDomainAttributes"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "matching_attributes", kind: "message", T: MatchingAttributes }, + { no: 4, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectDomainAttributes { + return new ProjectDomainAttributes().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectDomainAttributes { + return new ProjectDomainAttributes().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectDomainAttributes { + return new ProjectDomainAttributes().fromJsonString(jsonString, options); + } + + static equals(a: ProjectDomainAttributes | PlainMessage | undefined, b: ProjectDomainAttributes | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectDomainAttributes, a, b); + } +} + +/** + * Sets custom attributes for a project-domain combination. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectDomainAttributesUpdateRequest + */ +export class ProjectDomainAttributesUpdateRequest extends Message { + /** + * +required + * + * @generated from field: flyteidl.admin.ProjectDomainAttributes attributes = 1; + */ + attributes?: ProjectDomainAttributes; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectDomainAttributesUpdateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "message", T: ProjectDomainAttributes }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectDomainAttributesUpdateRequest { + return new ProjectDomainAttributesUpdateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectDomainAttributesUpdateRequest { + return new ProjectDomainAttributesUpdateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectDomainAttributesUpdateRequest { + return new ProjectDomainAttributesUpdateRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectDomainAttributesUpdateRequest | PlainMessage | undefined, b: ProjectDomainAttributesUpdateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectDomainAttributesUpdateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.ProjectDomainAttributesUpdateResponse + */ +export class ProjectDomainAttributesUpdateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectDomainAttributesUpdateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectDomainAttributesUpdateResponse { + return new ProjectDomainAttributesUpdateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectDomainAttributesUpdateResponse { + return new ProjectDomainAttributesUpdateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectDomainAttributesUpdateResponse { + return new ProjectDomainAttributesUpdateResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectDomainAttributesUpdateResponse | PlainMessage | undefined, b: ProjectDomainAttributesUpdateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectDomainAttributesUpdateResponse, a, b); + } +} + +/** + * Request to get an individual project domain attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectDomainAttributesGetRequest + */ +export class ProjectDomainAttributesGetRequest extends Message { + /** + * Unique project id which this set of attributes references. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Unique domain id which this set of attributes references. + * +required + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Which type of matchable attributes to return. + * +required + * + * @generated from field: flyteidl.admin.MatchableResource resource_type = 3; + */ + resourceType = MatchableResource.TASK_RESOURCE; + + /** + * Optional, org key applied to the attributes. + * + * @generated from field: string org = 4; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectDomainAttributesGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "resource_type", kind: "enum", T: proto3.getEnumType(MatchableResource) }, + { no: 4, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectDomainAttributesGetRequest { + return new ProjectDomainAttributesGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectDomainAttributesGetRequest { + return new ProjectDomainAttributesGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectDomainAttributesGetRequest { + return new ProjectDomainAttributesGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectDomainAttributesGetRequest | PlainMessage | undefined, b: ProjectDomainAttributesGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectDomainAttributesGetRequest, a, b); + } +} + +/** + * Response to get an individual project domain attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectDomainAttributesGetResponse + */ +export class ProjectDomainAttributesGetResponse extends Message { + /** + * @generated from field: flyteidl.admin.ProjectDomainAttributes attributes = 1; + */ + attributes?: ProjectDomainAttributes; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectDomainAttributesGetResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "message", T: ProjectDomainAttributes }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectDomainAttributesGetResponse { + return new ProjectDomainAttributesGetResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectDomainAttributesGetResponse { + return new ProjectDomainAttributesGetResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectDomainAttributesGetResponse { + return new ProjectDomainAttributesGetResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectDomainAttributesGetResponse | PlainMessage | undefined, b: ProjectDomainAttributesGetResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectDomainAttributesGetResponse, a, b); + } +} + +/** + * Request to delete a set matchable project domain attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.ProjectDomainAttributesDeleteRequest + */ +export class ProjectDomainAttributesDeleteRequest extends Message { + /** + * Unique project id which this set of attributes references. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Unique domain id which this set of attributes references. + * +required + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Which type of matchable attributes to delete. + * +required + * + * @generated from field: flyteidl.admin.MatchableResource resource_type = 3; + */ + resourceType = MatchableResource.TASK_RESOURCE; + + /** + * Optional, org key applied to the attributes. + * + * @generated from field: string org = 4; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectDomainAttributesDeleteRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "resource_type", kind: "enum", T: proto3.getEnumType(MatchableResource) }, + { no: 4, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectDomainAttributesDeleteRequest { + return new ProjectDomainAttributesDeleteRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectDomainAttributesDeleteRequest { + return new ProjectDomainAttributesDeleteRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectDomainAttributesDeleteRequest { + return new ProjectDomainAttributesDeleteRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectDomainAttributesDeleteRequest | PlainMessage | undefined, b: ProjectDomainAttributesDeleteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectDomainAttributesDeleteRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.ProjectDomainAttributesDeleteResponse + */ +export class ProjectDomainAttributesDeleteResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectDomainAttributesDeleteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectDomainAttributesDeleteResponse { + return new ProjectDomainAttributesDeleteResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectDomainAttributesDeleteResponse { + return new ProjectDomainAttributesDeleteResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectDomainAttributesDeleteResponse { + return new ProjectDomainAttributesDeleteResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectDomainAttributesDeleteResponse | PlainMessage | undefined, b: ProjectDomainAttributesDeleteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectDomainAttributesDeleteResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/project_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/project_pb.ts new file mode 100644 index 0000000000..647a12c84e --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/project_pb.ts @@ -0,0 +1,414 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/project.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { Labels, Sort } from "./common_pb.js"; + +/** + * Namespace within a project commonly used to differentiate between different service instances. + * e.g. "production", "development", etc. + * + * @generated from message flyteidl.admin.Domain + */ +export class Domain extends Message { + /** + * Globally unique domain name. + * + * @generated from field: string id = 1; + */ + id = ""; + + /** + * Display name. + * + * @generated from field: string name = 2; + */ + name = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Domain"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Domain { + return new Domain().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Domain { + return new Domain().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Domain { + return new Domain().fromJsonString(jsonString, options); + } + + static equals(a: Domain | PlainMessage | undefined, b: Domain | PlainMessage | undefined): boolean { + return proto3.util.equals(Domain, a, b); + } +} + +/** + * Top-level namespace used to classify different entities like workflows and executions. + * + * @generated from message flyteidl.admin.Project + */ +export class Project extends Message { + /** + * Globally unique project name. + * + * @generated from field: string id = 1; + */ + id = ""; + + /** + * Display name. + * + * @generated from field: string name = 2; + */ + name = ""; + + /** + * @generated from field: repeated flyteidl.admin.Domain domains = 3; + */ + domains: Domain[] = []; + + /** + * @generated from field: string description = 4; + */ + description = ""; + + /** + * Leverage Labels from flyteidl.admin.common.proto to + * tag projects with ownership information. + * + * @generated from field: flyteidl.admin.Labels labels = 5; + */ + labels?: Labels; + + /** + * @generated from field: flyteidl.admin.Project.ProjectState state = 6; + */ + state = Project_ProjectState.ACTIVE; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 7; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Project"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "domains", kind: "message", T: Domain, repeated: true }, + { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "labels", kind: "message", T: Labels }, + { no: 6, name: "state", kind: "enum", T: proto3.getEnumType(Project_ProjectState) }, + { no: 7, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Project { + return new Project().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Project { + return new Project().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Project { + return new Project().fromJsonString(jsonString, options); + } + + static equals(a: Project | PlainMessage | undefined, b: Project | PlainMessage | undefined): boolean { + return proto3.util.equals(Project, a, b); + } +} + +/** + * The state of the project is used to control its visibility in the UI and validity. + * + * @generated from enum flyteidl.admin.Project.ProjectState + */ +export enum Project_ProjectState { + /** + * By default, all projects are considered active. + * + * @generated from enum value: ACTIVE = 0; + */ + ACTIVE = 0, + + /** + * Archived projects are no longer visible in the UI and no longer valid. + * + * @generated from enum value: ARCHIVED = 1; + */ + ARCHIVED = 1, + + /** + * System generated projects that aren't explicitly created or managed by a user. + * + * @generated from enum value: SYSTEM_GENERATED = 2; + */ + SYSTEM_GENERATED = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(Project_ProjectState) +proto3.util.setEnumType(Project_ProjectState, "flyteidl.admin.Project.ProjectState", [ + { no: 0, name: "ACTIVE" }, + { no: 1, name: "ARCHIVED" }, + { no: 2, name: "SYSTEM_GENERATED" }, +]); + +/** + * Represents a list of projects. + * See :ref:`ref_flyteidl.admin.Project` for more details + * + * @generated from message flyteidl.admin.Projects + */ +export class Projects extends Message { + /** + * @generated from field: repeated flyteidl.admin.Project projects = 1; + */ + projects: Project[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Projects"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "projects", kind: "message", T: Project, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Projects { + return new Projects().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Projects { + return new Projects().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Projects { + return new Projects().fromJsonString(jsonString, options); + } + + static equals(a: Projects | PlainMessage | undefined, b: Projects | PlainMessage | undefined): boolean { + return proto3.util.equals(Projects, a, b); + } +} + +/** + * Request to retrieve a list of projects matching specified filters. + * See :ref:`ref_flyteidl.admin.Project` for more details + * + * @generated from message flyteidl.admin.ProjectListRequest + */ +export class ProjectListRequest extends Message { + /** + * Indicates the number of projects to be returned. + * +required + * + * @generated from field: uint32 limit = 1; + */ + limit = 0; + + /** + * In the case of multiple pages of results, this server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 2; + */ + token = ""; + + /** + * Indicates a list of filters passed as string. + * More info on constructing filters : + * +optional + * + * @generated from field: string filters = 3; + */ + filters = ""; + + /** + * Sort ordering. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 4; + */ + sortBy?: Sort; + + /** + * Optional, org filter applied to list project requests. + * + * @generated from field: string org = 5; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "sort_by", kind: "message", T: Sort }, + { no: 5, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectListRequest { + return new ProjectListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectListRequest { + return new ProjectListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectListRequest { + return new ProjectListRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectListRequest | PlainMessage | undefined, b: ProjectListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectListRequest, a, b); + } +} + +/** + * Adds a new user-project within the Flyte deployment. + * See :ref:`ref_flyteidl.admin.Project` for more details + * + * @generated from message flyteidl.admin.ProjectRegisterRequest + */ +export class ProjectRegisterRequest extends Message { + /** + * +required + * + * @generated from field: flyteidl.admin.Project project = 1; + */ + project?: Project; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectRegisterRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "message", T: Project }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectRegisterRequest { + return new ProjectRegisterRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectRegisterRequest { + return new ProjectRegisterRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectRegisterRequest { + return new ProjectRegisterRequest().fromJsonString(jsonString, options); + } + + static equals(a: ProjectRegisterRequest | PlainMessage | undefined, b: ProjectRegisterRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectRegisterRequest, a, b); + } +} + +/** + * Purposefully empty, may be updated in the future. + * + * @generated from message flyteidl.admin.ProjectRegisterResponse + */ +export class ProjectRegisterResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectRegisterResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectRegisterResponse { + return new ProjectRegisterResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectRegisterResponse { + return new ProjectRegisterResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectRegisterResponse { + return new ProjectRegisterResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectRegisterResponse | PlainMessage | undefined, b: ProjectRegisterResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectRegisterResponse, a, b); + } +} + +/** + * Purposefully empty, may be updated in the future. + * + * @generated from message flyteidl.admin.ProjectUpdateResponse + */ +export class ProjectUpdateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.ProjectUpdateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ProjectUpdateResponse { + return new ProjectUpdateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ProjectUpdateResponse { + return new ProjectUpdateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ProjectUpdateResponse { + return new ProjectUpdateResponse().fromJsonString(jsonString, options); + } + + static equals(a: ProjectUpdateResponse | PlainMessage | undefined, b: ProjectUpdateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ProjectUpdateResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/schedule_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/schedule_pb.ts new file mode 100644 index 0000000000..b691123586 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/schedule_pb.ts @@ -0,0 +1,204 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/schedule.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Represents a frequency at which to run a schedule. + * + * @generated from enum flyteidl.admin.FixedRateUnit + */ +export enum FixedRateUnit { + /** + * @generated from enum value: MINUTE = 0; + */ + MINUTE = 0, + + /** + * @generated from enum value: HOUR = 1; + */ + HOUR = 1, + + /** + * @generated from enum value: DAY = 2; + */ + DAY = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(FixedRateUnit) +proto3.util.setEnumType(FixedRateUnit, "flyteidl.admin.FixedRateUnit", [ + { no: 0, name: "MINUTE" }, + { no: 1, name: "HOUR" }, + { no: 2, name: "DAY" }, +]); + +/** + * Option for schedules run at a certain frequency e.g. every 2 minutes. + * + * @generated from message flyteidl.admin.FixedRate + */ +export class FixedRate extends Message { + /** + * @generated from field: uint32 value = 1; + */ + value = 0; + + /** + * @generated from field: flyteidl.admin.FixedRateUnit unit = 2; + */ + unit = FixedRateUnit.MINUTE; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.FixedRate"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "value", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "unit", kind: "enum", T: proto3.getEnumType(FixedRateUnit) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): FixedRate { + return new FixedRate().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): FixedRate { + return new FixedRate().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): FixedRate { + return new FixedRate().fromJsonString(jsonString, options); + } + + static equals(a: FixedRate | PlainMessage | undefined, b: FixedRate | PlainMessage | undefined): boolean { + return proto3.util.equals(FixedRate, a, b); + } +} + +/** + * Options for schedules to run according to a cron expression. + * + * @generated from message flyteidl.admin.CronSchedule + */ +export class CronSchedule extends Message { + /** + * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression; + * Also supports nonstandard predefined scheduling definitions + * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions + * except @reboot + * + * @generated from field: string schedule = 1; + */ + schedule = ""; + + /** + * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations + * + * @generated from field: string offset = 2; + */ + offset = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.CronSchedule"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "schedule", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "offset", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CronSchedule { + return new CronSchedule().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CronSchedule { + return new CronSchedule().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CronSchedule { + return new CronSchedule().fromJsonString(jsonString, options); + } + + static equals(a: CronSchedule | PlainMessage | undefined, b: CronSchedule | PlainMessage | undefined): boolean { + return proto3.util.equals(CronSchedule, a, b); + } +} + +/** + * Defines complete set of information required to trigger an execution on a schedule. + * + * @generated from message flyteidl.admin.Schedule + */ +export class Schedule extends Message { + /** + * @generated from oneof flyteidl.admin.Schedule.ScheduleExpression + */ + ScheduleExpression: { + /** + * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year + * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? * + * + * @generated from field: string cron_expression = 1 [deprecated = true]; + * @deprecated + */ + value: string; + case: "cronExpression"; + } | { + /** + * @generated from field: flyteidl.admin.FixedRate rate = 2; + */ + value: FixedRate; + case: "rate"; + } | { + /** + * @generated from field: flyteidl.admin.CronSchedule cron_schedule = 4; + */ + value: CronSchedule; + case: "cronSchedule"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. + * + * @generated from field: string kickoff_time_input_arg = 3; + */ + kickoffTimeInputArg = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Schedule"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "cron_expression", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "ScheduleExpression" }, + { no: 2, name: "rate", kind: "message", T: FixedRate, oneof: "ScheduleExpression" }, + { no: 4, name: "cron_schedule", kind: "message", T: CronSchedule, oneof: "ScheduleExpression" }, + { no: 3, name: "kickoff_time_input_arg", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Schedule { + return new Schedule().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Schedule { + return new Schedule().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Schedule { + return new Schedule().fromJsonString(jsonString, options); + } + + static equals(a: Schedule | PlainMessage | undefined, b: Schedule | PlainMessage | undefined): boolean { + return proto3.util.equals(Schedule, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/signal_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/signal_pb.ts new file mode 100644 index 0000000000..6bb89c82b5 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/signal_pb.ts @@ -0,0 +1,339 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/signal.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { SignalIdentifier, WorkflowExecutionIdentifier } from "../core/identifier_pb.js"; +import { LiteralType } from "../core/types_pb.js"; +import { Sort } from "./common_pb.js"; +import { Literal } from "../core/literals_pb.js"; + +/** + * SignalGetOrCreateRequest represents a request structure to retrieve or create a signal. + * See :ref:`ref_flyteidl.admin.Signal` for more details + * + * @generated from message flyteidl.admin.SignalGetOrCreateRequest + */ +export class SignalGetOrCreateRequest extends Message { + /** + * A unique identifier for the requested signal. + * + * @generated from field: flyteidl.core.SignalIdentifier id = 1; + */ + id?: SignalIdentifier; + + /** + * A type denoting the required value type for this signal. + * + * @generated from field: flyteidl.core.LiteralType type = 2; + */ + type?: LiteralType; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SignalGetOrCreateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: SignalIdentifier }, + { no: 2, name: "type", kind: "message", T: LiteralType }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalGetOrCreateRequest { + return new SignalGetOrCreateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalGetOrCreateRequest { + return new SignalGetOrCreateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SignalGetOrCreateRequest { + return new SignalGetOrCreateRequest().fromJsonString(jsonString, options); + } + + static equals(a: SignalGetOrCreateRequest | PlainMessage | undefined, b: SignalGetOrCreateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(SignalGetOrCreateRequest, a, b); + } +} + +/** + * SignalListRequest represents a request structure to retrieve a collection of signals. + * See :ref:`ref_flyteidl.admin.Signal` for more details + * + * @generated from message flyteidl.admin.SignalListRequest + */ +export class SignalListRequest extends Message { + /** + * Indicates the workflow execution to filter by. + * +required + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + workflowExecutionId?: WorkflowExecutionIdentifier; + + /** + * Indicates the number of resources to be returned. + * +required + * + * @generated from field: uint32 limit = 2; + */ + limit = 0; + + /** + * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 3; + */ + token = ""; + + /** + * Indicates a list of filters passed as string. + * +optional + * + * @generated from field: string filters = 4; + */ + filters = ""; + + /** + * Sort ordering. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 5; + */ + sortBy?: Sort; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SignalListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "workflow_execution_id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "sort_by", kind: "message", T: Sort }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalListRequest { + return new SignalListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalListRequest { + return new SignalListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SignalListRequest { + return new SignalListRequest().fromJsonString(jsonString, options); + } + + static equals(a: SignalListRequest | PlainMessage | undefined, b: SignalListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(SignalListRequest, a, b); + } +} + +/** + * SignalList represents collection of signals along with the token of the last result. + * See :ref:`ref_flyteidl.admin.Signal` for more details + * + * @generated from message flyteidl.admin.SignalList + */ +export class SignalList extends Message { + /** + * A list of signals matching the input filters. + * + * @generated from field: repeated flyteidl.admin.Signal signals = 1; + */ + signals: Signal[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SignalList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signals", kind: "message", T: Signal, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalList { + return new SignalList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalList { + return new SignalList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SignalList { + return new SignalList().fromJsonString(jsonString, options); + } + + static equals(a: SignalList | PlainMessage | undefined, b: SignalList | PlainMessage | undefined): boolean { + return proto3.util.equals(SignalList, a, b); + } +} + +/** + * SignalSetRequest represents a request structure to set the value on a signal. Setting a signal + * effetively satisfies the signal condition within a Flyte workflow. + * See :ref:`ref_flyteidl.admin.Signal` for more details + * + * @generated from message flyteidl.admin.SignalSetRequest + */ +export class SignalSetRequest extends Message { + /** + * A unique identifier for the requested signal. + * + * @generated from field: flyteidl.core.SignalIdentifier id = 1; + */ + id?: SignalIdentifier; + + /** + * The value of this signal, must match the defining signal type. + * + * @generated from field: flyteidl.core.Literal value = 2; + */ + value?: Literal; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SignalSetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: SignalIdentifier }, + { no: 2, name: "value", kind: "message", T: Literal }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalSetRequest { + return new SignalSetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalSetRequest { + return new SignalSetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SignalSetRequest { + return new SignalSetRequest().fromJsonString(jsonString, options); + } + + static equals(a: SignalSetRequest | PlainMessage | undefined, b: SignalSetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(SignalSetRequest, a, b); + } +} + +/** + * SignalSetResponse represents a response structure if signal setting succeeds. + * + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.SignalSetResponse + */ +export class SignalSetResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.SignalSetResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalSetResponse { + return new SignalSetResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalSetResponse { + return new SignalSetResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SignalSetResponse { + return new SignalSetResponse().fromJsonString(jsonString, options); + } + + static equals(a: SignalSetResponse | PlainMessage | undefined, b: SignalSetResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(SignalSetResponse, a, b); + } +} + +/** + * Signal encapsulates a unique identifier, associated metadata, and a value for a single Flyte + * signal. Signals may exist either without a set value (representing a signal request) or with a + * populated value (indicating the signal has been given). + * + * @generated from message flyteidl.admin.Signal + */ +export class Signal extends Message { + /** + * A unique identifier for the requested signal. + * + * @generated from field: flyteidl.core.SignalIdentifier id = 1; + */ + id?: SignalIdentifier; + + /** + * A type denoting the required value type for this signal. + * + * @generated from field: flyteidl.core.LiteralType type = 2; + */ + type?: LiteralType; + + /** + * The value of the signal. This is only available if the signal has been "set" and must match + * the defined the type. + * + * @generated from field: flyteidl.core.Literal value = 3; + */ + value?: Literal; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Signal"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: SignalIdentifier }, + { no: 2, name: "type", kind: "message", T: LiteralType }, + { no: 3, name: "value", kind: "message", T: Literal }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Signal { + return new Signal().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Signal { + return new Signal().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Signal { + return new Signal().fromJsonString(jsonString, options); + } + + static equals(a: Signal | PlainMessage | undefined, b: Signal | PlainMessage | undefined): boolean { + return proto3.util.equals(Signal, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/task_execution_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/task_execution_pb.ts new file mode 100644 index 0000000000..539810b38b --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/task_execution_pb.ts @@ -0,0 +1,592 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/task_execution.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf"; +import { NodeExecutionIdentifier, TaskExecutionIdentifier } from "../core/identifier_pb.js"; +import { FlyteURLs, Sort, UrlBlob } from "./common_pb.js"; +import { ExecutionError, TaskExecution_Phase, TaskLog } from "../core/execution_pb.js"; +import { LiteralMap } from "../core/literals_pb.js"; +import { TaskExecutionMetadata } from "../event/event_pb.js"; + +/** + * A message used to fetch a single task execution entity. + * See :ref:`ref_flyteidl.admin.TaskExecution` for more details + * + * @generated from message flyteidl.admin.TaskExecutionGetRequest + */ +export class TaskExecutionGetRequest extends Message { + /** + * Unique identifier for the task execution. + * +required + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier id = 1; + */ + id?: TaskExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: TaskExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionGetRequest { + return new TaskExecutionGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionGetRequest { + return new TaskExecutionGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionGetRequest { + return new TaskExecutionGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionGetRequest | PlainMessage | undefined, b: TaskExecutionGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionGetRequest, a, b); + } +} + +/** + * Represents a request structure to retrieve a list of task execution entities yielded by a specific node execution. + * See :ref:`ref_flyteidl.admin.TaskExecution` for more details + * + * @generated from message flyteidl.admin.TaskExecutionListRequest + */ +export class TaskExecutionListRequest extends Message { + /** + * Indicates the node execution to filter by. + * +required + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; + */ + nodeExecutionId?: NodeExecutionIdentifier; + + /** + * Indicates the number of resources to be returned. + * +required + * + * @generated from field: uint32 limit = 2; + */ + limit = 0; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. + * +optional + * + * @generated from field: string token = 3; + */ + token = ""; + + /** + * Indicates a list of filters passed as string. + * More info on constructing filters : + * +optional + * + * @generated from field: string filters = 4; + */ + filters = ""; + + /** + * Sort ordering for returned list. + * +optional + * + * @generated from field: flyteidl.admin.Sort sort_by = 5; + */ + sortBy?: Sort; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionListRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "node_execution_id", kind: "message", T: NodeExecutionIdentifier }, + { no: 2, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "filters", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "sort_by", kind: "message", T: Sort }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionListRequest { + return new TaskExecutionListRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionListRequest { + return new TaskExecutionListRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionListRequest { + return new TaskExecutionListRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionListRequest | PlainMessage | undefined, b: TaskExecutionListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionListRequest, a, b); + } +} + +/** + * Encapsulates all details for a single task execution entity. + * A task execution represents an instantiated task, including all inputs and additional + * metadata as well as computed results included state, outputs, and duration-based attributes. + * + * @generated from message flyteidl.admin.TaskExecution + */ +export class TaskExecution extends Message { + /** + * Unique identifier for the task execution. + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier id = 1; + */ + id?: TaskExecutionIdentifier; + + /** + * Path to remote data store where input blob is stored. + * + * @generated from field: string input_uri = 2; + */ + inputUri = ""; + + /** + * Task execution details and results. + * + * @generated from field: flyteidl.admin.TaskExecutionClosure closure = 3; + */ + closure?: TaskExecutionClosure; + + /** + * Whether this task spawned nodes. + * + * @generated from field: bool is_parent = 4; + */ + isParent = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: TaskExecutionIdentifier }, + { no: 2, name: "input_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "closure", kind: "message", T: TaskExecutionClosure }, + { no: 4, name: "is_parent", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecution { + return new TaskExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecution { + return new TaskExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecution { + return new TaskExecution().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecution | PlainMessage | undefined, b: TaskExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecution, a, b); + } +} + +/** + * Response structure for a query to list of task execution entities. + * See :ref:`ref_flyteidl.admin.TaskExecution` for more details + * + * @generated from message flyteidl.admin.TaskExecutionList + */ +export class TaskExecutionList extends Message { + /** + * @generated from field: repeated flyteidl.admin.TaskExecution task_executions = 1; + */ + taskExecutions: TaskExecution[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_executions", kind: "message", T: TaskExecution, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionList { + return new TaskExecutionList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionList { + return new TaskExecutionList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionList { + return new TaskExecutionList().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionList | PlainMessage | undefined, b: TaskExecutionList | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionList, a, b); + } +} + +/** + * Container for task execution details and results. + * + * @generated from message flyteidl.admin.TaskExecutionClosure + */ +export class TaskExecutionClosure extends Message { + /** + * @generated from oneof flyteidl.admin.TaskExecutionClosure.output_result + */ + outputResult: { + /** + * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). + * DEPRECATED. Use GetTaskExecutionData to fetch output data instead. + * + * @generated from field: string output_uri = 1 [deprecated = true]; + * @deprecated + */ + value: string; + case: "outputUri"; + } | { + /** + * Error information for the task execution. Populated if the execution failed. + * + * @generated from field: flyteidl.core.ExecutionError error = 2; + */ + value: ExecutionError; + case: "error"; + } | { + /** + * Raw output data produced by this task execution. + * DEPRECATED. Use GetTaskExecutionData to fetch output data instead. + * + * @generated from field: flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; + * @deprecated + */ + value: LiteralMap; + case: "outputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * The last recorded phase for this task execution. + * + * @generated from field: flyteidl.core.TaskExecution.Phase phase = 3; + */ + phase = TaskExecution_Phase.UNDEFINED; + + /** + * Detailed log information output by the task execution. + * + * @generated from field: repeated flyteidl.core.TaskLog logs = 4; + */ + logs: TaskLog[] = []; + + /** + * Time at which the task execution began running. + * + * @generated from field: google.protobuf.Timestamp started_at = 5; + */ + startedAt?: Timestamp; + + /** + * The amount of time the task execution spent running. + * + * @generated from field: google.protobuf.Duration duration = 6; + */ + duration?: Duration; + + /** + * Time at which the task execution was created. + * + * @generated from field: google.protobuf.Timestamp created_at = 7; + */ + createdAt?: Timestamp; + + /** + * Time at which the task execution was last updated. + * + * @generated from field: google.protobuf.Timestamp updated_at = 8; + */ + updatedAt?: Timestamp; + + /** + * Custom data specific to the task plugin. + * + * @generated from field: google.protobuf.Struct custom_info = 9; + */ + customInfo?: Struct; + + /** + * If there is an explanation for the most recent phase transition, the reason will capture it. + * + * @generated from field: string reason = 10; + */ + reason = ""; + + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 11; + */ + taskType = ""; + + /** + * Metadata around how a task was executed. + * + * @generated from field: flyteidl.event.TaskExecutionMetadata metadata = 16; + */ + metadata?: TaskExecutionMetadata; + + /** + * The event version is used to indicate versioned changes in how data is maintained using this + * proto message. For example, event_verison > 0 means that maps tasks logs use the + * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog + * in this message. + * + * @generated from field: int32 event_version = 17; + */ + eventVersion = 0; + + /** + * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason + * as previously done, is much more valuable in visualizing and understanding historical evaluations. + * + * @generated from field: repeated flyteidl.admin.Reason reasons = 18; + */ + reasons: Reason[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "output_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output_result" }, + { no: 2, name: "error", kind: "message", T: ExecutionError, oneof: "output_result" }, + { no: 12, name: "output_data", kind: "message", T: LiteralMap, oneof: "output_result" }, + { no: 3, name: "phase", kind: "enum", T: proto3.getEnumType(TaskExecution_Phase) }, + { no: 4, name: "logs", kind: "message", T: TaskLog, repeated: true }, + { no: 5, name: "started_at", kind: "message", T: Timestamp }, + { no: 6, name: "duration", kind: "message", T: Duration }, + { no: 7, name: "created_at", kind: "message", T: Timestamp }, + { no: 8, name: "updated_at", kind: "message", T: Timestamp }, + { no: 9, name: "custom_info", kind: "message", T: Struct }, + { no: 10, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 16, name: "metadata", kind: "message", T: TaskExecutionMetadata }, + { no: 17, name: "event_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 18, name: "reasons", kind: "message", T: Reason, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionClosure { + return new TaskExecutionClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionClosure { + return new TaskExecutionClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionClosure { + return new TaskExecutionClosure().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionClosure | PlainMessage | undefined, b: TaskExecutionClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionClosure, a, b); + } +} + +/** + * Reason is a single message annotated with a timestamp to indicate the instant the reason occurred. + * + * @generated from message flyteidl.admin.Reason + */ +export class Reason extends Message { + /** + * occurred_at is the timestamp indicating the instant that this reason happened. + * + * @generated from field: google.protobuf.Timestamp occurred_at = 1; + */ + occurredAt?: Timestamp; + + /** + * message is the explanation for the most recent phase transition or status update. + * + * @generated from field: string message = 2; + */ + message = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Reason"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "occurred_at", kind: "message", T: Timestamp }, + { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Reason { + return new Reason().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Reason { + return new Reason().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Reason { + return new Reason().fromJsonString(jsonString, options); + } + + static equals(a: Reason | PlainMessage | undefined, b: Reason | PlainMessage | undefined): boolean { + return proto3.util.equals(Reason, a, b); + } +} + +/** + * Request structure to fetch inputs and output for a task execution. + * By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest` + * + * @generated from message flyteidl.admin.TaskExecutionGetDataRequest + */ +export class TaskExecutionGetDataRequest extends Message { + /** + * The identifier of the task execution for which to fetch inputs and outputs. + * +required + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier id = 1; + */ + id?: TaskExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionGetDataRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: TaskExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionGetDataRequest { + return new TaskExecutionGetDataRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionGetDataRequest { + return new TaskExecutionGetDataRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionGetDataRequest { + return new TaskExecutionGetDataRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionGetDataRequest | PlainMessage | undefined, b: TaskExecutionGetDataRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionGetDataRequest, a, b); + } +} + +/** + * Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution. + * + * @generated from message flyteidl.admin.TaskExecutionGetDataResponse + */ +export class TaskExecutionGetDataResponse extends Message { + /** + * Signed url to fetch a core.LiteralMap of task execution inputs. + * Deprecated: Please use full_inputs instead. + * + * @generated from field: flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; + * @deprecated + */ + inputs?: UrlBlob; + + /** + * Signed url to fetch a core.LiteralMap of task execution outputs. + * Deprecated: Please use full_outputs instead. + * + * @generated from field: flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; + * @deprecated + */ + outputs?: UrlBlob; + + /** + * Full_inputs will only be populated if they are under a configured size threshold. + * + * @generated from field: flyteidl.core.LiteralMap full_inputs = 3; + */ + fullInputs?: LiteralMap; + + /** + * Full_outputs will only be populated if they are under a configured size threshold. + * + * @generated from field: flyteidl.core.LiteralMap full_outputs = 4; + */ + fullOutputs?: LiteralMap; + + /** + * flyte tiny url to fetch a core.LiteralMap of task execution's IO + * Deck will be empty for task + * + * @generated from field: flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + flyteUrls?: FlyteURLs; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskExecutionGetDataResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "inputs", kind: "message", T: UrlBlob }, + { no: 2, name: "outputs", kind: "message", T: UrlBlob }, + { no: 3, name: "full_inputs", kind: "message", T: LiteralMap }, + { no: 4, name: "full_outputs", kind: "message", T: LiteralMap }, + { no: 5, name: "flyte_urls", kind: "message", T: FlyteURLs }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionGetDataResponse { + return new TaskExecutionGetDataResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionGetDataResponse { + return new TaskExecutionGetDataResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionGetDataResponse { + return new TaskExecutionGetDataResponse().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionGetDataResponse | PlainMessage | undefined, b: TaskExecutionGetDataResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionGetDataResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/task_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/task_pb.ts new file mode 100644 index 0000000000..f4b22f068f --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/task_pb.ts @@ -0,0 +1,308 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/task.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { Identifier } from "../core/identifier_pb.js"; +import { TaskTemplate } from "../core/tasks_pb.js"; +import { DescriptionEntity } from "./description_entity_pb.js"; +import { CompiledTask } from "../core/compiler_pb.js"; + +/** + * Represents a request structure to create a revision of a task. + * See :ref:`ref_flyteidl.admin.Task` for more details + * + * @generated from message flyteidl.admin.TaskCreateRequest + */ +export class TaskCreateRequest extends Message { + /** + * id represents the unique identifier of the task. + * +required + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * Represents the specification for task. + * +required + * + * @generated from field: flyteidl.admin.TaskSpec spec = 2; + */ + spec?: TaskSpec; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskCreateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "spec", kind: "message", T: TaskSpec }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskCreateRequest { + return new TaskCreateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskCreateRequest { + return new TaskCreateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskCreateRequest { + return new TaskCreateRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskCreateRequest | PlainMessage | undefined, b: TaskCreateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskCreateRequest, a, b); + } +} + +/** + * Represents a response structure if task creation succeeds. + * + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.TaskCreateResponse + */ +export class TaskCreateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskCreateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskCreateResponse { + return new TaskCreateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskCreateResponse { + return new TaskCreateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskCreateResponse { + return new TaskCreateResponse().fromJsonString(jsonString, options); + } + + static equals(a: TaskCreateResponse | PlainMessage | undefined, b: TaskCreateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskCreateResponse, a, b); + } +} + +/** + * Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks + * arranged to process workflow inputs and produce a deterministic set of outputs. + * Tasks can come in many varieties tuned for specialized behavior. + * + * @generated from message flyteidl.admin.Task + */ +export class Task extends Message { + /** + * id represents the unique identifier of the task. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * closure encapsulates all the fields that maps to a compiled version of the task. + * + * @generated from field: flyteidl.admin.TaskClosure closure = 2; + */ + closure?: TaskClosure; + + /** + * One-liner overview of the entity. + * + * @generated from field: string short_description = 3; + */ + shortDescription = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Task"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "closure", kind: "message", T: TaskClosure }, + { no: 3, name: "short_description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Task { + return new Task().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Task { + return new Task().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Task { + return new Task().fromJsonString(jsonString, options); + } + + static equals(a: Task | PlainMessage | undefined, b: Task | PlainMessage | undefined): boolean { + return proto3.util.equals(Task, a, b); + } +} + +/** + * Represents a list of tasks returned from the admin. + * See :ref:`ref_flyteidl.admin.Task` for more details + * + * @generated from message flyteidl.admin.TaskList + */ +export class TaskList extends Message { + /** + * A list of tasks returned based on the request. + * + * @generated from field: repeated flyteidl.admin.Task tasks = 1; + */ + tasks: Task[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "tasks", kind: "message", T: Task, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskList { + return new TaskList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskList { + return new TaskList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskList { + return new TaskList().fromJsonString(jsonString, options); + } + + static equals(a: TaskList | PlainMessage | undefined, b: TaskList | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskList, a, b); + } +} + +/** + * Represents a structure that encapsulates the user-configured specification of the task. + * + * @generated from message flyteidl.admin.TaskSpec + */ +export class TaskSpec extends Message { + /** + * Template of the task that encapsulates all the metadata of the task. + * + * @generated from field: flyteidl.core.TaskTemplate template = 1; + */ + template?: TaskTemplate; + + /** + * Represents the specification for description entity. + * + * @generated from field: flyteidl.admin.DescriptionEntity description = 2; + */ + description?: DescriptionEntity; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "template", kind: "message", T: TaskTemplate }, + { no: 2, name: "description", kind: "message", T: DescriptionEntity }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskSpec { + return new TaskSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskSpec { + return new TaskSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskSpec { + return new TaskSpec().fromJsonString(jsonString, options); + } + + static equals(a: TaskSpec | PlainMessage | undefined, b: TaskSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskSpec, a, b); + } +} + +/** + * Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data + * and task metadata. + * + * @generated from message flyteidl.admin.TaskClosure + */ +export class TaskClosure extends Message { + /** + * Represents the compiled representation of the task from the specification provided. + * + * @generated from field: flyteidl.core.CompiledTask compiled_task = 1; + */ + compiledTask?: CompiledTask; + + /** + * Time at which the task was created. + * + * @generated from field: google.protobuf.Timestamp created_at = 2; + */ + createdAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.TaskClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "compiled_task", kind: "message", T: CompiledTask }, + { no: 2, name: "created_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskClosure { + return new TaskClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskClosure { + return new TaskClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskClosure { + return new TaskClosure().fromJsonString(jsonString, options); + } + + static equals(a: TaskClosure | PlainMessage | undefined, b: TaskClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskClosure, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/version_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/version_pb.ts new file mode 100644 index 0000000000..0069dc1aa8 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/version_pb.ts @@ -0,0 +1,140 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/version.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Response for the GetVersion API + * + * @generated from message flyteidl.admin.GetVersionResponse + */ +export class GetVersionResponse extends Message { + /** + * The control plane version information. FlyteAdmin and related components + * form the control plane of Flyte + * + * @generated from field: flyteidl.admin.Version control_plane_version = 1; + */ + controlPlaneVersion?: Version; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetVersionResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "control_plane_version", kind: "message", T: Version }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetVersionResponse { + return new GetVersionResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetVersionResponse { + return new GetVersionResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetVersionResponse { + return new GetVersionResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetVersionResponse | PlainMessage | undefined, b: GetVersionResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetVersionResponse, a, b); + } +} + +/** + * Provides Version information for a component + * + * @generated from message flyteidl.admin.Version + */ +export class Version extends Message { + /** + * Specifies the GIT sha of the build + * + * @generated from field: string Build = 1; + */ + Build = ""; + + /** + * Version for the build, should follow a semver + * + * @generated from field: string Version = 2; + */ + Version = ""; + + /** + * Build timestamp + * + * @generated from field: string BuildTime = 3; + */ + BuildTime = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Version"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "Build", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "Version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "BuildTime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Version { + return new Version().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Version { + return new Version().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Version { + return new Version().fromJsonString(jsonString, options); + } + + static equals(a: Version | PlainMessage | undefined, b: Version | PlainMessage | undefined): boolean { + return proto3.util.equals(Version, a, b); + } +} + +/** + * Empty request for GetVersion + * + * @generated from message flyteidl.admin.GetVersionRequest + */ +export class GetVersionRequest extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.GetVersionRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetVersionRequest { + return new GetVersionRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetVersionRequest { + return new GetVersionRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetVersionRequest { + return new GetVersionRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetVersionRequest | PlainMessage | undefined, b: GetVersionRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetVersionRequest, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/workflow_attributes_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/workflow_attributes_pb.ts new file mode 100644 index 0000000000..9f7e48d00b --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/workflow_attributes_pb.ts @@ -0,0 +1,382 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/workflow_attributes.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { MatchableResource, MatchingAttributes } from "./matchable_resource_pb.js"; + +/** + * Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.WorkflowAttributes + */ +export class WorkflowAttributes extends Message { + /** + * Unique project id for which this set of attributes will be applied. + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Unique domain id for which this set of attributes will be applied. + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Workflow name for which this set of attributes will be applied. + * + * @generated from field: string workflow = 3; + */ + workflow = ""; + + /** + * @generated from field: flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + matchingAttributes?: MatchingAttributes; + + /** + * Optional, org key applied to the attributes. + * + * @generated from field: string org = 5; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowAttributes"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "workflow", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "matching_attributes", kind: "message", T: MatchingAttributes }, + { no: 5, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowAttributes { + return new WorkflowAttributes().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowAttributes { + return new WorkflowAttributes().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowAttributes { + return new WorkflowAttributes().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowAttributes | PlainMessage | undefined, b: WorkflowAttributes | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowAttributes, a, b); + } +} + +/** + * Sets custom attributes for a project, domain and workflow combination. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.WorkflowAttributesUpdateRequest + */ +export class WorkflowAttributesUpdateRequest extends Message { + /** + * @generated from field: flyteidl.admin.WorkflowAttributes attributes = 1; + */ + attributes?: WorkflowAttributes; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowAttributesUpdateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "message", T: WorkflowAttributes }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowAttributesUpdateRequest { + return new WorkflowAttributesUpdateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowAttributesUpdateRequest { + return new WorkflowAttributesUpdateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowAttributesUpdateRequest { + return new WorkflowAttributesUpdateRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowAttributesUpdateRequest | PlainMessage | undefined, b: WorkflowAttributesUpdateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowAttributesUpdateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.WorkflowAttributesUpdateResponse + */ +export class WorkflowAttributesUpdateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowAttributesUpdateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowAttributesUpdateResponse { + return new WorkflowAttributesUpdateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowAttributesUpdateResponse { + return new WorkflowAttributesUpdateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowAttributesUpdateResponse { + return new WorkflowAttributesUpdateResponse().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowAttributesUpdateResponse | PlainMessage | undefined, b: WorkflowAttributesUpdateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowAttributesUpdateResponse, a, b); + } +} + +/** + * Request to get an individual workflow attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.WorkflowAttributesGetRequest + */ +export class WorkflowAttributesGetRequest extends Message { + /** + * Unique project id which this set of attributes references. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Unique domain id which this set of attributes references. + * +required + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Workflow name which this set of attributes references. + * +required + * + * @generated from field: string workflow = 3; + */ + workflow = ""; + + /** + * Which type of matchable attributes to return. + * +required + * + * @generated from field: flyteidl.admin.MatchableResource resource_type = 4; + */ + resourceType = MatchableResource.TASK_RESOURCE; + + /** + * Optional, org key applied to the attributes. + * + * @generated from field: string org = 5; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowAttributesGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "workflow", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "resource_type", kind: "enum", T: proto3.getEnumType(MatchableResource) }, + { no: 5, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowAttributesGetRequest { + return new WorkflowAttributesGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowAttributesGetRequest { + return new WorkflowAttributesGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowAttributesGetRequest { + return new WorkflowAttributesGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowAttributesGetRequest | PlainMessage | undefined, b: WorkflowAttributesGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowAttributesGetRequest, a, b); + } +} + +/** + * Response to get an individual workflow attribute override. + * + * @generated from message flyteidl.admin.WorkflowAttributesGetResponse + */ +export class WorkflowAttributesGetResponse extends Message { + /** + * @generated from field: flyteidl.admin.WorkflowAttributes attributes = 1; + */ + attributes?: WorkflowAttributes; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowAttributesGetResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "attributes", kind: "message", T: WorkflowAttributes }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowAttributesGetResponse { + return new WorkflowAttributesGetResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowAttributesGetResponse { + return new WorkflowAttributesGetResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowAttributesGetResponse { + return new WorkflowAttributesGetResponse().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowAttributesGetResponse | PlainMessage | undefined, b: WorkflowAttributesGetResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowAttributesGetResponse, a, b); + } +} + +/** + * Request to delete a set matchable workflow attribute override. + * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` + * + * @generated from message flyteidl.admin.WorkflowAttributesDeleteRequest + */ +export class WorkflowAttributesDeleteRequest extends Message { + /** + * Unique project id which this set of attributes references. + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Unique domain id which this set of attributes references. + * +required + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Workflow name which this set of attributes references. + * +required + * + * @generated from field: string workflow = 3; + */ + workflow = ""; + + /** + * Which type of matchable attributes to delete. + * +required + * + * @generated from field: flyteidl.admin.MatchableResource resource_type = 4; + */ + resourceType = MatchableResource.TASK_RESOURCE; + + /** + * Optional, org key applied to the attributes. + * + * @generated from field: string org = 5; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowAttributesDeleteRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "workflow", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "resource_type", kind: "enum", T: proto3.getEnumType(MatchableResource) }, + { no: 5, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowAttributesDeleteRequest { + return new WorkflowAttributesDeleteRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowAttributesDeleteRequest { + return new WorkflowAttributesDeleteRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowAttributesDeleteRequest { + return new WorkflowAttributesDeleteRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowAttributesDeleteRequest | PlainMessage | undefined, b: WorkflowAttributesDeleteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowAttributesDeleteRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.WorkflowAttributesDeleteResponse + */ +export class WorkflowAttributesDeleteResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowAttributesDeleteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowAttributesDeleteResponse { + return new WorkflowAttributesDeleteResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowAttributesDeleteResponse { + return new WorkflowAttributesDeleteResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowAttributesDeleteResponse { + return new WorkflowAttributesDeleteResponse().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowAttributesDeleteResponse | PlainMessage | undefined, b: WorkflowAttributesDeleteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowAttributesDeleteResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/admin/workflow_pb.ts b/flyteidl/gen/pb-es/flyteidl/admin/workflow_pb.ts new file mode 100644 index 0000000000..4238ebce9d --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/admin/workflow_pb.ts @@ -0,0 +1,445 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/admin/workflow.proto (package flyteidl.admin, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { Identifier } from "../core/identifier_pb.js"; +import { WorkflowTemplate } from "../core/workflow_pb.js"; +import { DescriptionEntity } from "./description_entity_pb.js"; +import { CompiledWorkflowClosure } from "../core/compiler_pb.js"; + +/** + * Represents a request structure to create a revision of a workflow. + * See :ref:`ref_flyteidl.admin.Workflow` for more details + * + * @generated from message flyteidl.admin.WorkflowCreateRequest + */ +export class WorkflowCreateRequest extends Message { + /** + * id represents the unique identifier of the workflow. + * +required + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * Represents the specification for workflow. + * +required + * + * @generated from field: flyteidl.admin.WorkflowSpec spec = 2; + */ + spec?: WorkflowSpec; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowCreateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "spec", kind: "message", T: WorkflowSpec }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowCreateRequest { + return new WorkflowCreateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowCreateRequest { + return new WorkflowCreateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowCreateRequest { + return new WorkflowCreateRequest().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowCreateRequest | PlainMessage | undefined, b: WorkflowCreateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowCreateRequest, a, b); + } +} + +/** + * Purposefully empty, may be populated in the future. + * + * @generated from message flyteidl.admin.WorkflowCreateResponse + */ +export class WorkflowCreateResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowCreateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowCreateResponse { + return new WorkflowCreateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowCreateResponse { + return new WorkflowCreateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowCreateResponse { + return new WorkflowCreateResponse().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowCreateResponse | PlainMessage | undefined, b: WorkflowCreateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowCreateResponse, a, b); + } +} + +/** + * Represents the workflow structure stored in the Admin + * A workflow is created by ordering tasks and associating outputs to inputs + * in order to produce a directed-acyclic execution graph. + * + * @generated from message flyteidl.admin.Workflow + */ +export class Workflow extends Message { + /** + * id represents the unique identifier of the workflow. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * closure encapsulates all the fields that maps to a compiled version of the workflow. + * + * @generated from field: flyteidl.admin.WorkflowClosure closure = 2; + */ + closure?: WorkflowClosure; + + /** + * One-liner overview of the entity. + * + * @generated from field: string short_description = 3; + */ + shortDescription = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.Workflow"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "closure", kind: "message", T: WorkflowClosure }, + { no: 3, name: "short_description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Workflow { + return new Workflow().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Workflow { + return new Workflow().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Workflow { + return new Workflow().fromJsonString(jsonString, options); + } + + static equals(a: Workflow | PlainMessage | undefined, b: Workflow | PlainMessage | undefined): boolean { + return proto3.util.equals(Workflow, a, b); + } +} + +/** + * Represents a list of workflows returned from the admin. + * See :ref:`ref_flyteidl.admin.Workflow` for more details + * + * @generated from message flyteidl.admin.WorkflowList + */ +export class WorkflowList extends Message { + /** + * A list of workflows returned based on the request. + * + * @generated from field: repeated flyteidl.admin.Workflow workflows = 1; + */ + workflows: Workflow[] = []; + + /** + * In the case of multiple pages of results, the server-provided token can be used to fetch the next page + * in a query. If there are no more results, this value will be empty. + * + * @generated from field: string token = 2; + */ + token = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "workflows", kind: "message", T: Workflow, repeated: true }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowList { + return new WorkflowList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowList { + return new WorkflowList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowList { + return new WorkflowList().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowList | PlainMessage | undefined, b: WorkflowList | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowList, a, b); + } +} + +/** + * Represents a structure that encapsulates the specification of the workflow. + * + * @generated from message flyteidl.admin.WorkflowSpec + */ +export class WorkflowSpec extends Message { + /** + * Template of the task that encapsulates all the metadata of the workflow. + * + * @generated from field: flyteidl.core.WorkflowTemplate template = 1; + */ + template?: WorkflowTemplate; + + /** + * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the + * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out + * to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. + * + * @generated from field: repeated flyteidl.core.WorkflowTemplate sub_workflows = 2; + */ + subWorkflows: WorkflowTemplate[] = []; + + /** + * Represents the specification for description entity. + * + * @generated from field: flyteidl.admin.DescriptionEntity description = 3; + */ + description?: DescriptionEntity; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "template", kind: "message", T: WorkflowTemplate }, + { no: 2, name: "sub_workflows", kind: "message", T: WorkflowTemplate, repeated: true }, + { no: 3, name: "description", kind: "message", T: DescriptionEntity }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowSpec { + return new WorkflowSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowSpec { + return new WorkflowSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowSpec { + return new WorkflowSpec().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowSpec | PlainMessage | undefined, b: WorkflowSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowSpec, a, b); + } +} + +/** + * A container holding the compiled workflow produced from the WorkflowSpec and additional metadata. + * + * @generated from message flyteidl.admin.WorkflowClosure + */ +export class WorkflowClosure extends Message { + /** + * Represents the compiled representation of the workflow from the specification provided. + * + * @generated from field: flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; + */ + compiledWorkflow?: CompiledWorkflowClosure; + + /** + * Time at which the workflow was created. + * + * @generated from field: google.protobuf.Timestamp created_at = 2; + */ + createdAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "compiled_workflow", kind: "message", T: CompiledWorkflowClosure }, + { no: 2, name: "created_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowClosure { + return new WorkflowClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowClosure { + return new WorkflowClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowClosure { + return new WorkflowClosure().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowClosure | PlainMessage | undefined, b: WorkflowClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowClosure, a, b); + } +} + +/** + * The workflow id is already used and the structure is different + * + * @generated from message flyteidl.admin.WorkflowErrorExistsDifferentStructure + */ +export class WorkflowErrorExistsDifferentStructure extends Message { + /** + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowErrorExistsDifferentStructure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowErrorExistsDifferentStructure { + return new WorkflowErrorExistsDifferentStructure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowErrorExistsDifferentStructure { + return new WorkflowErrorExistsDifferentStructure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowErrorExistsDifferentStructure { + return new WorkflowErrorExistsDifferentStructure().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowErrorExistsDifferentStructure | PlainMessage | undefined, b: WorkflowErrorExistsDifferentStructure | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowErrorExistsDifferentStructure, a, b); + } +} + +/** + * The workflow id is already used with an identical sctructure + * + * @generated from message flyteidl.admin.WorkflowErrorExistsIdenticalStructure + */ +export class WorkflowErrorExistsIdenticalStructure extends Message { + /** + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.WorkflowErrorExistsIdenticalStructure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowErrorExistsIdenticalStructure { + return new WorkflowErrorExistsIdenticalStructure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowErrorExistsIdenticalStructure { + return new WorkflowErrorExistsIdenticalStructure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowErrorExistsIdenticalStructure { + return new WorkflowErrorExistsIdenticalStructure().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowErrorExistsIdenticalStructure | PlainMessage | undefined, b: WorkflowErrorExistsIdenticalStructure | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowErrorExistsIdenticalStructure, a, b); + } +} + +/** + * When a CreateWorkflowRequest fails due to matching id + * + * @generated from message flyteidl.admin.CreateWorkflowFailureReason + */ +export class CreateWorkflowFailureReason extends Message { + /** + * @generated from oneof flyteidl.admin.CreateWorkflowFailureReason.reason + */ + reason: { + /** + * @generated from field: flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; + */ + value: WorkflowErrorExistsDifferentStructure; + case: "existsDifferentStructure"; + } | { + /** + * @generated from field: flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; + */ + value: WorkflowErrorExistsIdenticalStructure; + case: "existsIdenticalStructure"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.admin.CreateWorkflowFailureReason"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "exists_different_structure", kind: "message", T: WorkflowErrorExistsDifferentStructure, oneof: "reason" }, + { no: 2, name: "exists_identical_structure", kind: "message", T: WorkflowErrorExistsIdenticalStructure, oneof: "reason" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateWorkflowFailureReason { + return new CreateWorkflowFailureReason().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateWorkflowFailureReason { + return new CreateWorkflowFailureReason().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateWorkflowFailureReason { + return new CreateWorkflowFailureReason().fromJsonString(jsonString, options); + } + + static equals(a: CreateWorkflowFailureReason | PlainMessage | undefined, b: CreateWorkflowFailureReason | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateWorkflowFailureReason, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/artifact_id_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/artifact_id_pb.ts new file mode 100644 index 0000000000..09850f3d7e --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/artifact_id_pb.ts @@ -0,0 +1,482 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/artifact_id.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; + +/** + * @generated from message flyteidl.core.ArtifactKey + */ +export class ArtifactKey extends Message { + /** + * Project and domain and suffix needs to be unique across a given artifact store. + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * @generated from field: string name = 3; + */ + name = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ArtifactKey"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArtifactKey { + return new ArtifactKey().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArtifactKey { + return new ArtifactKey().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArtifactKey { + return new ArtifactKey().fromJsonString(jsonString, options); + } + + static equals(a: ArtifactKey | PlainMessage | undefined, b: ArtifactKey | PlainMessage | undefined): boolean { + return proto3.util.equals(ArtifactKey, a, b); + } +} + +/** + * Only valid for triggers + * + * @generated from message flyteidl.core.ArtifactBindingData + */ +export class ArtifactBindingData extends Message { + /** + * @generated from field: uint32 index = 1; + */ + index = 0; + + /** + * These two fields are only relevant in the partition value case + * + * @generated from oneof flyteidl.core.ArtifactBindingData.partition_data + */ + partitionData: { + /** + * @generated from field: string partition_key = 2; + */ + value: string; + case: "partitionKey"; + } | { + /** + * @generated from field: bool bind_to_time_partition = 3; + */ + value: boolean; + case: "bindToTimePartition"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * This is only relevant in the time partition case + * + * @generated from field: string transform = 4; + */ + transform = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ArtifactBindingData"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "partition_key", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "partition_data" }, + { no: 3, name: "bind_to_time_partition", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "partition_data" }, + { no: 4, name: "transform", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArtifactBindingData { + return new ArtifactBindingData().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArtifactBindingData { + return new ArtifactBindingData().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArtifactBindingData { + return new ArtifactBindingData().fromJsonString(jsonString, options); + } + + static equals(a: ArtifactBindingData | PlainMessage | undefined, b: ArtifactBindingData | PlainMessage | undefined): boolean { + return proto3.util.equals(ArtifactBindingData, a, b); + } +} + +/** + * @generated from message flyteidl.core.InputBindingData + */ +export class InputBindingData extends Message { + /** + * @generated from field: string var = 1; + */ + var = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.InputBindingData"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "var", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): InputBindingData { + return new InputBindingData().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): InputBindingData { + return new InputBindingData().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): InputBindingData { + return new InputBindingData().fromJsonString(jsonString, options); + } + + static equals(a: InputBindingData | PlainMessage | undefined, b: InputBindingData | PlainMessage | undefined): boolean { + return proto3.util.equals(InputBindingData, a, b); + } +} + +/** + * @generated from message flyteidl.core.LabelValue + */ +export class LabelValue extends Message { + /** + * @generated from oneof flyteidl.core.LabelValue.value + */ + value: { + /** + * The string static value is for use in the Partitions object + * + * @generated from field: string static_value = 1; + */ + value: string; + case: "staticValue"; + } | { + /** + * The time value is for use in the TimePartition case + * + * @generated from field: google.protobuf.Timestamp time_value = 2; + */ + value: Timestamp; + case: "timeValue"; + } | { + /** + * @generated from field: flyteidl.core.ArtifactBindingData triggered_binding = 3; + */ + value: ArtifactBindingData; + case: "triggeredBinding"; + } | { + /** + * @generated from field: flyteidl.core.InputBindingData input_binding = 4; + */ + value: InputBindingData; + case: "inputBinding"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.LabelValue"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "static_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" }, + { no: 2, name: "time_value", kind: "message", T: Timestamp, oneof: "value" }, + { no: 3, name: "triggered_binding", kind: "message", T: ArtifactBindingData, oneof: "value" }, + { no: 4, name: "input_binding", kind: "message", T: InputBindingData, oneof: "value" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LabelValue { + return new LabelValue().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LabelValue { + return new LabelValue().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LabelValue { + return new LabelValue().fromJsonString(jsonString, options); + } + + static equals(a: LabelValue | PlainMessage | undefined, b: LabelValue | PlainMessage | undefined): boolean { + return proto3.util.equals(LabelValue, a, b); + } +} + +/** + * @generated from message flyteidl.core.Partitions + */ +export class Partitions extends Message { + /** + * @generated from field: map value = 1; + */ + value: { [key: string]: LabelValue } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Partitions"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "value", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: LabelValue} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Partitions { + return new Partitions().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Partitions { + return new Partitions().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Partitions { + return new Partitions().fromJsonString(jsonString, options); + } + + static equals(a: Partitions | PlainMessage | undefined, b: Partitions | PlainMessage | undefined): boolean { + return proto3.util.equals(Partitions, a, b); + } +} + +/** + * @generated from message flyteidl.core.TimePartition + */ +export class TimePartition extends Message { + /** + * @generated from field: flyteidl.core.LabelValue value = 1; + */ + value?: LabelValue; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TimePartition"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "value", kind: "message", T: LabelValue }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TimePartition { + return new TimePartition().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TimePartition { + return new TimePartition().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TimePartition { + return new TimePartition().fromJsonString(jsonString, options); + } + + static equals(a: TimePartition | PlainMessage | undefined, b: TimePartition | PlainMessage | undefined): boolean { + return proto3.util.equals(TimePartition, a, b); + } +} + +/** + * @generated from message flyteidl.core.ArtifactID + */ +export class ArtifactID extends Message { + /** + * @generated from field: flyteidl.core.ArtifactKey artifact_key = 1; + */ + artifactKey?: ArtifactKey; + + /** + * @generated from field: string version = 2; + */ + version = ""; + + /** + * Think of a partition as a tag on an Artifact, except it's a key-value pair. + * Different partitions naturally have different versions (execution ids). + * + * @generated from field: flyteidl.core.Partitions partitions = 3; + */ + partitions?: Partitions; + + /** + * There is no such thing as an empty time partition - if it's not set, then there is no time partition. + * + * @generated from field: flyteidl.core.TimePartition time_partition = 4; + */ + timePartition?: TimePartition; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ArtifactID"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact_key", kind: "message", T: ArtifactKey }, + { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "partitions", kind: "message", T: Partitions }, + { no: 4, name: "time_partition", kind: "message", T: TimePartition }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArtifactID { + return new ArtifactID().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArtifactID { + return new ArtifactID().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArtifactID { + return new ArtifactID().fromJsonString(jsonString, options); + } + + static equals(a: ArtifactID | PlainMessage | undefined, b: ArtifactID | PlainMessage | undefined): boolean { + return proto3.util.equals(ArtifactID, a, b); + } +} + +/** + * @generated from message flyteidl.core.ArtifactTag + */ +export class ArtifactTag extends Message { + /** + * @generated from field: flyteidl.core.ArtifactKey artifact_key = 1; + */ + artifactKey?: ArtifactKey; + + /** + * @generated from field: flyteidl.core.LabelValue value = 2; + */ + value?: LabelValue; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ArtifactTag"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact_key", kind: "message", T: ArtifactKey }, + { no: 2, name: "value", kind: "message", T: LabelValue }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArtifactTag { + return new ArtifactTag().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArtifactTag { + return new ArtifactTag().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArtifactTag { + return new ArtifactTag().fromJsonString(jsonString, options); + } + + static equals(a: ArtifactTag | PlainMessage | undefined, b: ArtifactTag | PlainMessage | undefined): boolean { + return proto3.util.equals(ArtifactTag, a, b); + } +} + +/** + * Uniqueness constraints for Artifacts + * - project, domain, name, version, partitions + * Option 2 (tags are standalone, point to an individual artifact id): + * - project, domain, name, alias (points to one partition if partitioned) + * - project, domain, name, partition key, partition value + * + * @generated from message flyteidl.core.ArtifactQuery + */ +export class ArtifactQuery extends Message { + /** + * @generated from oneof flyteidl.core.ArtifactQuery.identifier + */ + identifier: { + /** + * @generated from field: flyteidl.core.ArtifactID artifact_id = 1; + */ + value: ArtifactID; + case: "artifactId"; + } | { + /** + * @generated from field: flyteidl.core.ArtifactTag artifact_tag = 2; + */ + value: ArtifactTag; + case: "artifactTag"; + } | { + /** + * @generated from field: string uri = 3; + */ + value: string; + case: "uri"; + } | { + /** + * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering + * artifacts, or a partition value derived from a triggering artifact. + * + * @generated from field: flyteidl.core.ArtifactBindingData binding = 4; + */ + value: ArtifactBindingData; + case: "binding"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ArtifactQuery"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact_id", kind: "message", T: ArtifactID, oneof: "identifier" }, + { no: 2, name: "artifact_tag", kind: "message", T: ArtifactTag, oneof: "identifier" }, + { no: 3, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identifier" }, + { no: 4, name: "binding", kind: "message", T: ArtifactBindingData, oneof: "identifier" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArtifactQuery { + return new ArtifactQuery().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArtifactQuery { + return new ArtifactQuery().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArtifactQuery { + return new ArtifactQuery().fromJsonString(jsonString, options); + } + + static equals(a: ArtifactQuery | PlainMessage | undefined, b: ArtifactQuery | PlainMessage | undefined): boolean { + return proto3.util.equals(ArtifactQuery, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/catalog_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/catalog_pb.ts new file mode 100644 index 0000000000..dd3eab6c4f --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/catalog_pb.ts @@ -0,0 +1,276 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/catalog.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { Identifier, TaskExecutionIdentifier } from "./identifier_pb.js"; + +/** + * Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future + * + * @generated from enum flyteidl.core.CatalogCacheStatus + */ +export enum CatalogCacheStatus { + /** + * Used to indicate that caching was disabled + * + * @generated from enum value: CACHE_DISABLED = 0; + */ + CACHE_DISABLED = 0, + + /** + * Used to indicate that the cache lookup resulted in no matches + * + * @generated from enum value: CACHE_MISS = 1; + */ + CACHE_MISS = 1, + + /** + * used to indicate that the associated artifact was a result of a previous execution + * + * @generated from enum value: CACHE_HIT = 2; + */ + CACHE_HIT = 2, + + /** + * used to indicate that the resultant artifact was added to the cache + * + * @generated from enum value: CACHE_POPULATED = 3; + */ + CACHE_POPULATED = 3, + + /** + * Used to indicate that cache lookup failed because of an error + * + * @generated from enum value: CACHE_LOOKUP_FAILURE = 4; + */ + CACHE_LOOKUP_FAILURE = 4, + + /** + * Used to indicate that cache lookup failed because of an error + * + * @generated from enum value: CACHE_PUT_FAILURE = 5; + */ + CACHE_PUT_FAILURE = 5, + + /** + * Used to indicate the cache lookup was skipped + * + * @generated from enum value: CACHE_SKIPPED = 6; + */ + CACHE_SKIPPED = 6, + + /** + * Used to indicate that the cache was evicted + * + * @generated from enum value: CACHE_EVICTED = 7; + */ + CACHE_EVICTED = 7, +} +// Retrieve enum metadata with: proto3.getEnumType(CatalogCacheStatus) +proto3.util.setEnumType(CatalogCacheStatus, "flyteidl.core.CatalogCacheStatus", [ + { no: 0, name: "CACHE_DISABLED" }, + { no: 1, name: "CACHE_MISS" }, + { no: 2, name: "CACHE_HIT" }, + { no: 3, name: "CACHE_POPULATED" }, + { no: 4, name: "CACHE_LOOKUP_FAILURE" }, + { no: 5, name: "CACHE_PUT_FAILURE" }, + { no: 6, name: "CACHE_SKIPPED" }, + { no: 7, name: "CACHE_EVICTED" }, +]); + +/** + * @generated from message flyteidl.core.CatalogArtifactTag + */ +export class CatalogArtifactTag extends Message { + /** + * Artifact ID is generated name + * + * @generated from field: string artifact_id = 1; + */ + artifactId = ""; + + /** + * Flyte computes the tag automatically, as the hash of the values + * + * @generated from field: string name = 2; + */ + name = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.CatalogArtifactTag"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CatalogArtifactTag { + return new CatalogArtifactTag().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CatalogArtifactTag { + return new CatalogArtifactTag().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CatalogArtifactTag { + return new CatalogArtifactTag().fromJsonString(jsonString, options); + } + + static equals(a: CatalogArtifactTag | PlainMessage | undefined, b: CatalogArtifactTag | PlainMessage | undefined): boolean { + return proto3.util.equals(CatalogArtifactTag, a, b); + } +} + +/** + * Catalog artifact information with specific metadata + * + * @generated from message flyteidl.core.CatalogMetadata + */ +export class CatalogMetadata extends Message { + /** + * Dataset ID in the catalog + * + * @generated from field: flyteidl.core.Identifier dataset_id = 1; + */ + datasetId?: Identifier; + + /** + * Artifact tag in the catalog + * + * @generated from field: flyteidl.core.CatalogArtifactTag artifact_tag = 2; + */ + artifactTag?: CatalogArtifactTag; + + /** + * Optional: Source Execution identifier, if this dataset was generated by another execution in Flyte. This is a one-of field and will depend on the caching context + * + * @generated from oneof flyteidl.core.CatalogMetadata.source_execution + */ + sourceExecution: { + /** + * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; + */ + value: TaskExecutionIdentifier; + case: "sourceTaskExecution"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.CatalogMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset_id", kind: "message", T: Identifier }, + { no: 2, name: "artifact_tag", kind: "message", T: CatalogArtifactTag }, + { no: 3, name: "source_task_execution", kind: "message", T: TaskExecutionIdentifier, oneof: "source_execution" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CatalogMetadata { + return new CatalogMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CatalogMetadata { + return new CatalogMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CatalogMetadata { + return new CatalogMetadata().fromJsonString(jsonString, options); + } + + static equals(a: CatalogMetadata | PlainMessage | undefined, b: CatalogMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(CatalogMetadata, a, b); + } +} + +/** + * @generated from message flyteidl.core.CatalogReservation + */ +export class CatalogReservation extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.CatalogReservation"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CatalogReservation { + return new CatalogReservation().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CatalogReservation { + return new CatalogReservation().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CatalogReservation { + return new CatalogReservation().fromJsonString(jsonString, options); + } + + static equals(a: CatalogReservation | PlainMessage | undefined, b: CatalogReservation | PlainMessage | undefined): boolean { + return proto3.util.equals(CatalogReservation, a, b); + } +} + +/** + * Indicates the status of a catalog reservation operation. + * + * @generated from enum flyteidl.core.CatalogReservation.Status + */ +export enum CatalogReservation_Status { + /** + * Used to indicate that reservations are disabled + * + * @generated from enum value: RESERVATION_DISABLED = 0; + */ + RESERVATION_DISABLED = 0, + + /** + * Used to indicate that a reservation was successfully acquired or extended + * + * @generated from enum value: RESERVATION_ACQUIRED = 1; + */ + RESERVATION_ACQUIRED = 1, + + /** + * Used to indicate that an active reservation currently exists + * + * @generated from enum value: RESERVATION_EXISTS = 2; + */ + RESERVATION_EXISTS = 2, + + /** + * Used to indicate that the reservation has been successfully released + * + * @generated from enum value: RESERVATION_RELEASED = 3; + */ + RESERVATION_RELEASED = 3, + + /** + * Used to indicate that a reservation operation resulted in failure + * + * @generated from enum value: RESERVATION_FAILURE = 4; + */ + RESERVATION_FAILURE = 4, +} +// Retrieve enum metadata with: proto3.getEnumType(CatalogReservation_Status) +proto3.util.setEnumType(CatalogReservation_Status, "flyteidl.core.CatalogReservation.Status", [ + { no: 0, name: "RESERVATION_DISABLED" }, + { no: 1, name: "RESERVATION_ACQUIRED" }, + { no: 2, name: "RESERVATION_EXISTS" }, + { no: 3, name: "RESERVATION_RELEASED" }, + { no: 4, name: "RESERVATION_FAILURE" }, +]); + diff --git a/flyteidl/gen/pb-es/flyteidl/core/compiler_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/compiler_pb.ts new file mode 100644 index 0000000000..f178306e36 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/compiler_pb.ts @@ -0,0 +1,251 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/compiler.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { WorkflowTemplate } from "./workflow_pb.js"; +import { TaskTemplate } from "./tasks_pb.js"; + +/** + * Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation + * step uses this created ConnectionSet + * + * @generated from message flyteidl.core.ConnectionSet + */ +export class ConnectionSet extends Message { + /** + * A list of all the node ids that are downstream from a given node id + * + * @generated from field: map downstream = 7; + */ + downstream: { [key: string]: ConnectionSet_IdList } = {}; + + /** + * A list of all the node ids, that are upstream of this node id + * + * @generated from field: map upstream = 8; + */ + upstream: { [key: string]: ConnectionSet_IdList } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ConnectionSet"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 7, name: "downstream", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: ConnectionSet_IdList} }, + { no: 8, name: "upstream", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: ConnectionSet_IdList} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionSet { + return new ConnectionSet().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionSet { + return new ConnectionSet().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ConnectionSet { + return new ConnectionSet().fromJsonString(jsonString, options); + } + + static equals(a: ConnectionSet | PlainMessage | undefined, b: ConnectionSet | PlainMessage | undefined): boolean { + return proto3.util.equals(ConnectionSet, a, b); + } +} + +/** + * @generated from message flyteidl.core.ConnectionSet.IdList + */ +export class ConnectionSet_IdList extends Message { + /** + * @generated from field: repeated string ids = 1; + */ + ids: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ConnectionSet.IdList"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionSet_IdList { + return new ConnectionSet_IdList().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionSet_IdList { + return new ConnectionSet_IdList().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ConnectionSet_IdList { + return new ConnectionSet_IdList().fromJsonString(jsonString, options); + } + + static equals(a: ConnectionSet_IdList | PlainMessage | undefined, b: ConnectionSet_IdList | PlainMessage | undefined): boolean { + return proto3.util.equals(ConnectionSet_IdList, a, b); + } +} + +/** + * Output of the compilation Step. This object represents one workflow. We store more metadata at this layer + * + * @generated from message flyteidl.core.CompiledWorkflow + */ +export class CompiledWorkflow extends Message { + /** + * Completely contained Workflow Template + * + * @generated from field: flyteidl.core.WorkflowTemplate template = 1; + */ + template?: WorkflowTemplate; + + /** + * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. + * + * @generated from field: flyteidl.core.ConnectionSet connections = 2; + */ + connections?: ConnectionSet; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.CompiledWorkflow"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "template", kind: "message", T: WorkflowTemplate }, + { no: 2, name: "connections", kind: "message", T: ConnectionSet }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CompiledWorkflow { + return new CompiledWorkflow().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CompiledWorkflow { + return new CompiledWorkflow().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CompiledWorkflow { + return new CompiledWorkflow().fromJsonString(jsonString, options); + } + + static equals(a: CompiledWorkflow | PlainMessage | undefined, b: CompiledWorkflow | PlainMessage | undefined): boolean { + return proto3.util.equals(CompiledWorkflow, a, b); + } +} + +/** + * Output of the Compilation step. This object represent one Task. We store more metadata at this layer + * + * @generated from message flyteidl.core.CompiledTask + */ +export class CompiledTask extends Message { + /** + * Completely contained TaskTemplate + * + * @generated from field: flyteidl.core.TaskTemplate template = 1; + */ + template?: TaskTemplate; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.CompiledTask"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "template", kind: "message", T: TaskTemplate }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CompiledTask { + return new CompiledTask().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CompiledTask { + return new CompiledTask().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CompiledTask { + return new CompiledTask().fromJsonString(jsonString, options); + } + + static equals(a: CompiledTask | PlainMessage | undefined, b: CompiledTask | PlainMessage | undefined): boolean { + return proto3.util.equals(CompiledTask, a, b); + } +} + +/** + * A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow + * and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that + * will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of + * compiled subworkflows. + * + * @generated from message flyteidl.core.CompiledWorkflowClosure + */ +export class CompiledWorkflowClosure extends Message { + /** + * +required + * + * @generated from field: flyteidl.core.CompiledWorkflow primary = 1; + */ + primary?: CompiledWorkflow; + + /** + * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a + * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow + * as an inlined workflow + * +optional + * + * @generated from field: repeated flyteidl.core.CompiledWorkflow sub_workflows = 2; + */ + subWorkflows: CompiledWorkflow[] = []; + + /** + * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id + * +required (at least 1) + * + * @generated from field: repeated flyteidl.core.CompiledTask tasks = 3; + */ + tasks: CompiledTask[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.CompiledWorkflowClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "primary", kind: "message", T: CompiledWorkflow }, + { no: 2, name: "sub_workflows", kind: "message", T: CompiledWorkflow, repeated: true }, + { no: 3, name: "tasks", kind: "message", T: CompiledTask, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CompiledWorkflowClosure { + return new CompiledWorkflowClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CompiledWorkflowClosure { + return new CompiledWorkflowClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CompiledWorkflowClosure { + return new CompiledWorkflowClosure().fromJsonString(jsonString, options); + } + + static equals(a: CompiledWorkflowClosure | PlainMessage | undefined, b: CompiledWorkflowClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(CompiledWorkflowClosure, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/condition_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/condition_pb.ts new file mode 100644 index 0000000000..ba682eb7c5 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/condition_pb.ts @@ -0,0 +1,306 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/condition.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { Primitive, Scalar } from "./literals_pb.js"; + +/** + * Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. + * Each expression results in a boolean result. + * + * @generated from message flyteidl.core.ComparisonExpression + */ +export class ComparisonExpression extends Message { + /** + * @generated from field: flyteidl.core.ComparisonExpression.Operator operator = 1; + */ + operator = ComparisonExpression_Operator.EQ; + + /** + * @generated from field: flyteidl.core.Operand left_value = 2; + */ + leftValue?: Operand; + + /** + * @generated from field: flyteidl.core.Operand right_value = 3; + */ + rightValue?: Operand; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ComparisonExpression"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "operator", kind: "enum", T: proto3.getEnumType(ComparisonExpression_Operator) }, + { no: 2, name: "left_value", kind: "message", T: Operand }, + { no: 3, name: "right_value", kind: "message", T: Operand }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ComparisonExpression { + return new ComparisonExpression().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ComparisonExpression { + return new ComparisonExpression().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ComparisonExpression { + return new ComparisonExpression().fromJsonString(jsonString, options); + } + + static equals(a: ComparisonExpression | PlainMessage | undefined, b: ComparisonExpression | PlainMessage | undefined): boolean { + return proto3.util.equals(ComparisonExpression, a, b); + } +} + +/** + * Binary Operator for each expression + * + * @generated from enum flyteidl.core.ComparisonExpression.Operator + */ +export enum ComparisonExpression_Operator { + /** + * @generated from enum value: EQ = 0; + */ + EQ = 0, + + /** + * @generated from enum value: NEQ = 1; + */ + NEQ = 1, + + /** + * Greater Than + * + * @generated from enum value: GT = 2; + */ + GT = 2, + + /** + * @generated from enum value: GTE = 3; + */ + GTE = 3, + + /** + * Less Than + * + * @generated from enum value: LT = 4; + */ + LT = 4, + + /** + * @generated from enum value: LTE = 5; + */ + LTE = 5, +} +// Retrieve enum metadata with: proto3.getEnumType(ComparisonExpression_Operator) +proto3.util.setEnumType(ComparisonExpression_Operator, "flyteidl.core.ComparisonExpression.Operator", [ + { no: 0, name: "EQ" }, + { no: 1, name: "NEQ" }, + { no: 2, name: "GT" }, + { no: 3, name: "GTE" }, + { no: 4, name: "LT" }, + { no: 5, name: "LTE" }, +]); + +/** + * Defines an operand to a comparison expression. + * + * @generated from message flyteidl.core.Operand + */ +export class Operand extends Message { + /** + * @generated from oneof flyteidl.core.Operand.val + */ + val: { + /** + * Can be a constant + * + * @generated from field: flyteidl.core.Primitive primitive = 1 [deprecated = true]; + * @deprecated + */ + value: Primitive; + case: "primitive"; + } | { + /** + * Or one of this node's input variables + * + * @generated from field: string var = 2; + */ + value: string; + case: "var"; + } | { + /** + * Replace the primitive field + * + * @generated from field: flyteidl.core.Scalar scalar = 3; + */ + value: Scalar; + case: "scalar"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Operand"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "primitive", kind: "message", T: Primitive, oneof: "val" }, + { no: 2, name: "var", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "val" }, + { no: 3, name: "scalar", kind: "message", T: Scalar, oneof: "val" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Operand { + return new Operand().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Operand { + return new Operand().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Operand { + return new Operand().fromJsonString(jsonString, options); + } + + static equals(a: Operand | PlainMessage | undefined, b: Operand | PlainMessage | undefined): boolean { + return proto3.util.equals(Operand, a, b); + } +} + +/** + * Defines a boolean expression tree. It can be a simple or a conjunction expression. + * Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. + * + * @generated from message flyteidl.core.BooleanExpression + */ +export class BooleanExpression extends Message { + /** + * @generated from oneof flyteidl.core.BooleanExpression.expr + */ + expr: { + /** + * @generated from field: flyteidl.core.ConjunctionExpression conjunction = 1; + */ + value: ConjunctionExpression; + case: "conjunction"; + } | { + /** + * @generated from field: flyteidl.core.ComparisonExpression comparison = 2; + */ + value: ComparisonExpression; + case: "comparison"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.BooleanExpression"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "conjunction", kind: "message", T: ConjunctionExpression, oneof: "expr" }, + { no: 2, name: "comparison", kind: "message", T: ComparisonExpression, oneof: "expr" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): BooleanExpression { + return new BooleanExpression().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): BooleanExpression { + return new BooleanExpression().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): BooleanExpression { + return new BooleanExpression().fromJsonString(jsonString, options); + } + + static equals(a: BooleanExpression | PlainMessage | undefined, b: BooleanExpression | PlainMessage | undefined): boolean { + return proto3.util.equals(BooleanExpression, a, b); + } +} + +/** + * Defines a conjunction expression of two boolean expressions. + * + * @generated from message flyteidl.core.ConjunctionExpression + */ +export class ConjunctionExpression extends Message { + /** + * @generated from field: flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; + */ + operator = ConjunctionExpression_LogicalOperator.AND; + + /** + * @generated from field: flyteidl.core.BooleanExpression left_expression = 2; + */ + leftExpression?: BooleanExpression; + + /** + * @generated from field: flyteidl.core.BooleanExpression right_expression = 3; + */ + rightExpression?: BooleanExpression; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ConjunctionExpression"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "operator", kind: "enum", T: proto3.getEnumType(ConjunctionExpression_LogicalOperator) }, + { no: 2, name: "left_expression", kind: "message", T: BooleanExpression }, + { no: 3, name: "right_expression", kind: "message", T: BooleanExpression }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ConjunctionExpression { + return new ConjunctionExpression().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ConjunctionExpression { + return new ConjunctionExpression().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ConjunctionExpression { + return new ConjunctionExpression().fromJsonString(jsonString, options); + } + + static equals(a: ConjunctionExpression | PlainMessage | undefined, b: ConjunctionExpression | PlainMessage | undefined): boolean { + return proto3.util.equals(ConjunctionExpression, a, b); + } +} + +/** + * Nested conditions. They can be conjoined using AND / OR + * Order of evaluation is not important as the operators are Commutative + * + * @generated from enum flyteidl.core.ConjunctionExpression.LogicalOperator + */ +export enum ConjunctionExpression_LogicalOperator { + /** + * Conjunction + * + * @generated from enum value: AND = 0; + */ + AND = 0, + + /** + * @generated from enum value: OR = 1; + */ + OR = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(ConjunctionExpression_LogicalOperator) +proto3.util.setEnumType(ConjunctionExpression_LogicalOperator, "flyteidl.core.ConjunctionExpression.LogicalOperator", [ + { no: 0, name: "AND" }, + { no: 1, name: "OR" }, +]); + diff --git a/flyteidl/gen/pb-es/flyteidl/core/dynamic_job_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/dynamic_job_pb.ts new file mode 100644 index 0000000000..a3a396ab7d --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/dynamic_job_pb.ts @@ -0,0 +1,89 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/dynamic_job.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { Node, WorkflowTemplate } from "./workflow_pb.js"; +import { Binding } from "./literals_pb.js"; +import { TaskTemplate } from "./tasks_pb.js"; + +/** + * Describes a set of tasks to execute and how the final outputs are produced. + * + * @generated from message flyteidl.core.DynamicJobSpec + */ +export class DynamicJobSpec extends Message { + /** + * A collection of nodes to execute. + * + * @generated from field: repeated flyteidl.core.Node nodes = 1; + */ + nodes: Node[] = []; + + /** + * An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this + * criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number + * becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks < + * min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not + * specified, is the count of nodes repeated field. + * + * @generated from field: int64 min_successes = 2; + */ + minSuccesses = protoInt64.zero; + + /** + * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids + * in bindings should have the generated id for the subtask. + * + * @generated from field: repeated flyteidl.core.Binding outputs = 3; + */ + outputs: Binding[] = []; + + /** + * [Optional] A complete list of task specs referenced in nodes. + * + * @generated from field: repeated flyteidl.core.TaskTemplate tasks = 4; + */ + tasks: TaskTemplate[] = []; + + /** + * [Optional] A complete list of task specs referenced in nodes. + * + * @generated from field: repeated flyteidl.core.WorkflowTemplate subworkflows = 5; + */ + subworkflows: WorkflowTemplate[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.DynamicJobSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "nodes", kind: "message", T: Node, repeated: true }, + { no: 2, name: "min_successes", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "outputs", kind: "message", T: Binding, repeated: true }, + { no: 4, name: "tasks", kind: "message", T: TaskTemplate, repeated: true }, + { no: 5, name: "subworkflows", kind: "message", T: WorkflowTemplate, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DynamicJobSpec { + return new DynamicJobSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DynamicJobSpec { + return new DynamicJobSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DynamicJobSpec { + return new DynamicJobSpec().fromJsonString(jsonString, options); + } + + static equals(a: DynamicJobSpec | PlainMessage | undefined, b: DynamicJobSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(DynamicJobSpec, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/errors_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/errors_pb.ts new file mode 100644 index 0000000000..42b70dec5b --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/errors_pb.ts @@ -0,0 +1,139 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/errors.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { ExecutionError_ErrorKind } from "./execution_pb.js"; + +/** + * Error message to propagate detailed errors from container executions to the execution + * engine. + * + * @generated from message flyteidl.core.ContainerError + */ +export class ContainerError extends Message { + /** + * A simplified code for errors, so that we can provide a glossary of all possible errors. + * + * @generated from field: string code = 1; + */ + code = ""; + + /** + * A detailed error message. + * + * @generated from field: string message = 2; + */ + message = ""; + + /** + * An abstract error kind for this error. Defaults to Non_Recoverable if not specified. + * + * @generated from field: flyteidl.core.ContainerError.Kind kind = 3; + */ + kind = ContainerError_Kind.NON_RECOVERABLE; + + /** + * Defines the origin of the error (system, user, unknown). + * + * @generated from field: flyteidl.core.ExecutionError.ErrorKind origin = 4; + */ + origin = ExecutionError_ErrorKind.UNKNOWN; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ContainerError"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "kind", kind: "enum", T: proto3.getEnumType(ContainerError_Kind) }, + { no: 4, name: "origin", kind: "enum", T: proto3.getEnumType(ExecutionError_ErrorKind) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ContainerError { + return new ContainerError().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ContainerError { + return new ContainerError().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ContainerError { + return new ContainerError().fromJsonString(jsonString, options); + } + + static equals(a: ContainerError | PlainMessage | undefined, b: ContainerError | PlainMessage | undefined): boolean { + return proto3.util.equals(ContainerError, a, b); + } +} + +/** + * Defines a generic error type that dictates the behavior of the retry strategy. + * + * @generated from enum flyteidl.core.ContainerError.Kind + */ +export enum ContainerError_Kind { + /** + * @generated from enum value: NON_RECOVERABLE = 0; + */ + NON_RECOVERABLE = 0, + + /** + * @generated from enum value: RECOVERABLE = 1; + */ + RECOVERABLE = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(ContainerError_Kind) +proto3.util.setEnumType(ContainerError_Kind, "flyteidl.core.ContainerError.Kind", [ + { no: 0, name: "NON_RECOVERABLE" }, + { no: 1, name: "RECOVERABLE" }, +]); + +/** + * Defines the errors.pb file format the container can produce to communicate + * failure reasons to the execution engine. + * + * @generated from message flyteidl.core.ErrorDocument + */ +export class ErrorDocument extends Message { + /** + * The error raised during execution. + * + * @generated from field: flyteidl.core.ContainerError error = 1; + */ + error?: ContainerError; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ErrorDocument"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "error", kind: "message", T: ContainerError }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ErrorDocument { + return new ErrorDocument().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ErrorDocument { + return new ErrorDocument().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ErrorDocument { + return new ErrorDocument().fromJsonString(jsonString, options); + } + + static equals(a: ErrorDocument | PlainMessage | undefined, b: ErrorDocument | PlainMessage | undefined): boolean { + return proto3.util.equals(ErrorDocument, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/execution_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/execution_pb.ts new file mode 100644 index 0000000000..e931e1a789 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/execution_pb.ts @@ -0,0 +1,613 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/execution.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Indicates various phases of Workflow Execution + * + * @generated from message flyteidl.core.WorkflowExecution + */ +export class WorkflowExecution extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.WorkflowExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecution { + return new WorkflowExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecution { + return new WorkflowExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecution { + return new WorkflowExecution().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecution | PlainMessage | undefined, b: WorkflowExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecution, a, b); + } +} + +/** + * @generated from enum flyteidl.core.WorkflowExecution.Phase + */ +export enum WorkflowExecution_Phase { + /** + * @generated from enum value: UNDEFINED = 0; + */ + UNDEFINED = 0, + + /** + * @generated from enum value: QUEUED = 1; + */ + QUEUED = 1, + + /** + * @generated from enum value: RUNNING = 2; + */ + RUNNING = 2, + + /** + * @generated from enum value: SUCCEEDING = 3; + */ + SUCCEEDING = 3, + + /** + * @generated from enum value: SUCCEEDED = 4; + */ + SUCCEEDED = 4, + + /** + * @generated from enum value: FAILING = 5; + */ + FAILING = 5, + + /** + * @generated from enum value: FAILED = 6; + */ + FAILED = 6, + + /** + * @generated from enum value: ABORTED = 7; + */ + ABORTED = 7, + + /** + * @generated from enum value: TIMED_OUT = 8; + */ + TIMED_OUT = 8, + + /** + * @generated from enum value: ABORTING = 9; + */ + ABORTING = 9, +} +// Retrieve enum metadata with: proto3.getEnumType(WorkflowExecution_Phase) +proto3.util.setEnumType(WorkflowExecution_Phase, "flyteidl.core.WorkflowExecution.Phase", [ + { no: 0, name: "UNDEFINED" }, + { no: 1, name: "QUEUED" }, + { no: 2, name: "RUNNING" }, + { no: 3, name: "SUCCEEDING" }, + { no: 4, name: "SUCCEEDED" }, + { no: 5, name: "FAILING" }, + { no: 6, name: "FAILED" }, + { no: 7, name: "ABORTED" }, + { no: 8, name: "TIMED_OUT" }, + { no: 9, name: "ABORTING" }, +]); + +/** + * Indicates various phases of Node Execution that only include the time spent to run the nodes/workflows + * + * @generated from message flyteidl.core.NodeExecution + */ +export class NodeExecution extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.NodeExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecution { + return new NodeExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecution { + return new NodeExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecution { + return new NodeExecution().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecution | PlainMessage | undefined, b: NodeExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecution, a, b); + } +} + +/** + * @generated from enum flyteidl.core.NodeExecution.Phase + */ +export enum NodeExecution_Phase { + /** + * @generated from enum value: UNDEFINED = 0; + */ + UNDEFINED = 0, + + /** + * @generated from enum value: QUEUED = 1; + */ + QUEUED = 1, + + /** + * @generated from enum value: RUNNING = 2; + */ + RUNNING = 2, + + /** + * @generated from enum value: SUCCEEDED = 3; + */ + SUCCEEDED = 3, + + /** + * @generated from enum value: FAILING = 4; + */ + FAILING = 4, + + /** + * @generated from enum value: FAILED = 5; + */ + FAILED = 5, + + /** + * @generated from enum value: ABORTED = 6; + */ + ABORTED = 6, + + /** + * @generated from enum value: SKIPPED = 7; + */ + SKIPPED = 7, + + /** + * @generated from enum value: TIMED_OUT = 8; + */ + TIMED_OUT = 8, + + /** + * @generated from enum value: DYNAMIC_RUNNING = 9; + */ + DYNAMIC_RUNNING = 9, + + /** + * @generated from enum value: RECOVERED = 10; + */ + RECOVERED = 10, +} +// Retrieve enum metadata with: proto3.getEnumType(NodeExecution_Phase) +proto3.util.setEnumType(NodeExecution_Phase, "flyteidl.core.NodeExecution.Phase", [ + { no: 0, name: "UNDEFINED" }, + { no: 1, name: "QUEUED" }, + { no: 2, name: "RUNNING" }, + { no: 3, name: "SUCCEEDED" }, + { no: 4, name: "FAILING" }, + { no: 5, name: "FAILED" }, + { no: 6, name: "ABORTED" }, + { no: 7, name: "SKIPPED" }, + { no: 8, name: "TIMED_OUT" }, + { no: 9, name: "DYNAMIC_RUNNING" }, + { no: 10, name: "RECOVERED" }, +]); + +/** + * Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task, + * but this is the cumulative list that customers may want to know about for their task. + * + * @generated from message flyteidl.core.TaskExecution + */ +export class TaskExecution extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TaskExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecution { + return new TaskExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecution { + return new TaskExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecution { + return new TaskExecution().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecution | PlainMessage | undefined, b: TaskExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecution, a, b); + } +} + +/** + * @generated from enum flyteidl.core.TaskExecution.Phase + */ +export enum TaskExecution_Phase { + /** + * @generated from enum value: UNDEFINED = 0; + */ + UNDEFINED = 0, + + /** + * @generated from enum value: QUEUED = 1; + */ + QUEUED = 1, + + /** + * @generated from enum value: RUNNING = 2; + */ + RUNNING = 2, + + /** + * @generated from enum value: SUCCEEDED = 3; + */ + SUCCEEDED = 3, + + /** + * @generated from enum value: ABORTED = 4; + */ + ABORTED = 4, + + /** + * @generated from enum value: FAILED = 5; + */ + FAILED = 5, + + /** + * To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing + * + * @generated from enum value: INITIALIZING = 6; + */ + INITIALIZING = 6, + + /** + * To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded + * + * @generated from enum value: WAITING_FOR_RESOURCES = 7; + */ + WAITING_FOR_RESOURCES = 7, +} +// Retrieve enum metadata with: proto3.getEnumType(TaskExecution_Phase) +proto3.util.setEnumType(TaskExecution_Phase, "flyteidl.core.TaskExecution.Phase", [ + { no: 0, name: "UNDEFINED" }, + { no: 1, name: "QUEUED" }, + { no: 2, name: "RUNNING" }, + { no: 3, name: "SUCCEEDED" }, + { no: 4, name: "ABORTED" }, + { no: 5, name: "FAILED" }, + { no: 6, name: "INITIALIZING" }, + { no: 7, name: "WAITING_FOR_RESOURCES" }, +]); + +/** + * Represents the error message from the execution. + * + * @generated from message flyteidl.core.ExecutionError + */ +export class ExecutionError extends Message { + /** + * Error code indicates a grouping of a type of error. + * More Info: + * + * @generated from field: string code = 1; + */ + code = ""; + + /** + * Detailed description of the error - including stack trace. + * + * @generated from field: string message = 2; + */ + message = ""; + + /** + * Full error contents accessible via a URI + * + * @generated from field: string error_uri = 3; + */ + errorUri = ""; + + /** + * @generated from field: flyteidl.core.ExecutionError.ErrorKind kind = 4; + */ + kind = ExecutionError_ErrorKind.UNKNOWN; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ExecutionError"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "error_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "kind", kind: "enum", T: proto3.getEnumType(ExecutionError_ErrorKind) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionError { + return new ExecutionError().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionError { + return new ExecutionError().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionError { + return new ExecutionError().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionError | PlainMessage | undefined, b: ExecutionError | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionError, a, b); + } +} + +/** + * Error type: System or User + * + * @generated from enum flyteidl.core.ExecutionError.ErrorKind + */ +export enum ExecutionError_ErrorKind { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + + /** + * @generated from enum value: USER = 1; + */ + USER = 1, + + /** + * @generated from enum value: SYSTEM = 2; + */ + SYSTEM = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(ExecutionError_ErrorKind) +proto3.util.setEnumType(ExecutionError_ErrorKind, "flyteidl.core.ExecutionError.ErrorKind", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "USER" }, + { no: 2, name: "SYSTEM" }, +]); + +/** + * Log information for the task that is specific to a log sink + * When our log story is flushed out, we may have more metadata here like log link expiry + * + * @generated from message flyteidl.core.TaskLog + */ +export class TaskLog extends Message { + /** + * @generated from field: string uri = 1; + */ + uri = ""; + + /** + * @generated from field: string name = 2; + */ + name = ""; + + /** + * @generated from field: flyteidl.core.TaskLog.MessageFormat message_format = 3; + */ + messageFormat = TaskLog_MessageFormat.UNKNOWN; + + /** + * @generated from field: google.protobuf.Duration ttl = 4; + */ + ttl?: Duration; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TaskLog"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "message_format", kind: "enum", T: proto3.getEnumType(TaskLog_MessageFormat) }, + { no: 4, name: "ttl", kind: "message", T: Duration }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskLog { + return new TaskLog().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskLog { + return new TaskLog().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskLog { + return new TaskLog().fromJsonString(jsonString, options); + } + + static equals(a: TaskLog | PlainMessage | undefined, b: TaskLog | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskLog, a, b); + } +} + +/** + * @generated from enum flyteidl.core.TaskLog.MessageFormat + */ +export enum TaskLog_MessageFormat { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + + /** + * @generated from enum value: CSV = 1; + */ + CSV = 1, + + /** + * @generated from enum value: JSON = 2; + */ + JSON = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(TaskLog_MessageFormat) +proto3.util.setEnumType(TaskLog_MessageFormat, "flyteidl.core.TaskLog.MessageFormat", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "CSV" }, + { no: 2, name: "JSON" }, +]); + +/** + * Represents customized execution run-time attributes. + * + * @generated from message flyteidl.core.QualityOfServiceSpec + */ +export class QualityOfServiceSpec extends Message { + /** + * Indicates how much queueing delay an execution can tolerate. + * + * @generated from field: google.protobuf.Duration queueing_budget = 1; + */ + queueingBudget?: Duration; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.QualityOfServiceSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "queueing_budget", kind: "message", T: Duration }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): QualityOfServiceSpec { + return new QualityOfServiceSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): QualityOfServiceSpec { + return new QualityOfServiceSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): QualityOfServiceSpec { + return new QualityOfServiceSpec().fromJsonString(jsonString, options); + } + + static equals(a: QualityOfServiceSpec | PlainMessage | undefined, b: QualityOfServiceSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(QualityOfServiceSpec, a, b); + } +} + +/** + * Indicates the priority of an execution. + * + * @generated from message flyteidl.core.QualityOfService + */ +export class QualityOfService extends Message { + /** + * @generated from oneof flyteidl.core.QualityOfService.designation + */ + designation: { + /** + * @generated from field: flyteidl.core.QualityOfService.Tier tier = 1; + */ + value: QualityOfService_Tier; + case: "tier"; + } | { + /** + * @generated from field: flyteidl.core.QualityOfServiceSpec spec = 2; + */ + value: QualityOfServiceSpec; + case: "spec"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.QualityOfService"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "tier", kind: "enum", T: proto3.getEnumType(QualityOfService_Tier), oneof: "designation" }, + { no: 2, name: "spec", kind: "message", T: QualityOfServiceSpec, oneof: "designation" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): QualityOfService { + return new QualityOfService().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): QualityOfService { + return new QualityOfService().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): QualityOfService { + return new QualityOfService().fromJsonString(jsonString, options); + } + + static equals(a: QualityOfService | PlainMessage | undefined, b: QualityOfService | PlainMessage | undefined): boolean { + return proto3.util.equals(QualityOfService, a, b); + } +} + +/** + * @generated from enum flyteidl.core.QualityOfService.Tier + */ +export enum QualityOfService_Tier { + /** + * Default: no quality of service specified. + * + * @generated from enum value: UNDEFINED = 0; + */ + UNDEFINED = 0, + + /** + * @generated from enum value: HIGH = 1; + */ + HIGH = 1, + + /** + * @generated from enum value: MEDIUM = 2; + */ + MEDIUM = 2, + + /** + * @generated from enum value: LOW = 3; + */ + LOW = 3, +} +// Retrieve enum metadata with: proto3.getEnumType(QualityOfService_Tier) +proto3.util.setEnumType(QualityOfService_Tier, "flyteidl.core.QualityOfService.Tier", [ + { no: 0, name: "UNDEFINED" }, + { no: 1, name: "HIGH" }, + { no: 2, name: "MEDIUM" }, + { no: 3, name: "LOW" }, +]); + diff --git a/flyteidl/gen/pb-es/flyteidl/core/identifier_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/identifier_pb.ts new file mode 100644 index 0000000000..aacfa6c97d --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/identifier_pb.ts @@ -0,0 +1,345 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/identifier.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Indicates a resource type within Flyte. + * + * @generated from enum flyteidl.core.ResourceType + */ +export enum ResourceType { + /** + * @generated from enum value: UNSPECIFIED = 0; + */ + UNSPECIFIED = 0, + + /** + * @generated from enum value: TASK = 1; + */ + TASK = 1, + + /** + * @generated from enum value: WORKFLOW = 2; + */ + WORKFLOW = 2, + + /** + * @generated from enum value: LAUNCH_PLAN = 3; + */ + LAUNCH_PLAN = 3, + + /** + * 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. + * Eventually 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 + * in a similar manner to other Flyte objects + * + * @generated from enum value: DATASET = 4; + */ + DATASET = 4, +} +// Retrieve enum metadata with: proto3.getEnumType(ResourceType) +proto3.util.setEnumType(ResourceType, "flyteidl.core.ResourceType", [ + { no: 0, name: "UNSPECIFIED" }, + { no: 1, name: "TASK" }, + { no: 2, name: "WORKFLOW" }, + { no: 3, name: "LAUNCH_PLAN" }, + { no: 4, name: "DATASET" }, +]); + +/** + * Encapsulation of fields that uniquely identifies a Flyte resource. + * + * @generated from message flyteidl.core.Identifier + */ +export class Identifier extends Message { + /** + * Identifies the specific type of resource that this identifier corresponds to. + * + * @generated from field: flyteidl.core.ResourceType resource_type = 1; + */ + resourceType = ResourceType.UNSPECIFIED; + + /** + * Name of the project the resource belongs to. + * + * @generated from field: string project = 2; + */ + project = ""; + + /** + * Name of the domain the resource belongs to. + * A domain can be considered as a subset within a specific project. + * + * @generated from field: string domain = 3; + */ + domain = ""; + + /** + * User provided value for the resource. + * + * @generated from field: string name = 4; + */ + name = ""; + + /** + * Specific version of the resource. + * + * @generated from field: string version = 5; + */ + version = ""; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 6; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Identifier"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resource_type", kind: "enum", T: proto3.getEnumType(ResourceType) }, + { no: 2, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Identifier { + return new Identifier().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Identifier { + return new Identifier().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Identifier { + return new Identifier().fromJsonString(jsonString, options); + } + + static equals(a: Identifier | PlainMessage | undefined, b: Identifier | PlainMessage | undefined): boolean { + return proto3.util.equals(Identifier, a, b); + } +} + +/** + * Encapsulation of fields that uniquely identifies a Flyte workflow execution + * + * @generated from message flyteidl.core.WorkflowExecutionIdentifier + */ +export class WorkflowExecutionIdentifier extends Message { + /** + * Name of the project the resource belongs to. + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Name of the domain the resource belongs to. + * A domain can be considered as a subset within a specific project. + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * User or system provided value for the resource. + * + * @generated from field: string name = 4; + */ + name = ""; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 5; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.WorkflowExecutionIdentifier"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionIdentifier { + return new WorkflowExecutionIdentifier().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionIdentifier { + return new WorkflowExecutionIdentifier().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionIdentifier { + return new WorkflowExecutionIdentifier().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionIdentifier | PlainMessage | undefined, b: WorkflowExecutionIdentifier | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionIdentifier, a, b); + } +} + +/** + * Encapsulation of fields that identify a Flyte node execution entity. + * + * @generated from message flyteidl.core.NodeExecutionIdentifier + */ +export class NodeExecutionIdentifier extends Message { + /** + * @generated from field: string node_id = 1; + */ + nodeId = ""; + + /** + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; + */ + executionId?: WorkflowExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.NodeExecutionIdentifier"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "execution_id", kind: "message", T: WorkflowExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionIdentifier { + return new NodeExecutionIdentifier().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionIdentifier { + return new NodeExecutionIdentifier().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionIdentifier { + return new NodeExecutionIdentifier().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionIdentifier | PlainMessage | undefined, b: NodeExecutionIdentifier | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionIdentifier, a, b); + } +} + +/** + * Encapsulation of fields that identify a Flyte task execution entity. + * + * @generated from message flyteidl.core.TaskExecutionIdentifier + */ +export class TaskExecutionIdentifier extends Message { + /** + * @generated from field: flyteidl.core.Identifier task_id = 1; + */ + taskId?: Identifier; + + /** + * @generated from field: flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; + */ + nodeExecutionId?: NodeExecutionIdentifier; + + /** + * @generated from field: uint32 retry_attempt = 3; + */ + retryAttempt = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TaskExecutionIdentifier"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_id", kind: "message", T: Identifier }, + { no: 2, name: "node_execution_id", kind: "message", T: NodeExecutionIdentifier }, + { no: 3, name: "retry_attempt", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionIdentifier { + return new TaskExecutionIdentifier().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionIdentifier { + return new TaskExecutionIdentifier().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionIdentifier { + return new TaskExecutionIdentifier().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionIdentifier | PlainMessage | undefined, b: TaskExecutionIdentifier | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionIdentifier, a, b); + } +} + +/** + * Encapsulation of fields the uniquely identify a signal. + * + * @generated from message flyteidl.core.SignalIdentifier + */ +export class SignalIdentifier extends Message { + /** + * Unique identifier for a signal. + * + * @generated from field: string signal_id = 1; + */ + signalId = ""; + + /** + * Identifies the Flyte workflow execution this signal belongs to. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; + */ + executionId?: WorkflowExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.SignalIdentifier"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signal_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "execution_id", kind: "message", T: WorkflowExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalIdentifier { + return new SignalIdentifier().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalIdentifier { + return new SignalIdentifier().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SignalIdentifier { + return new SignalIdentifier().fromJsonString(jsonString, options); + } + + static equals(a: SignalIdentifier | PlainMessage | undefined, b: SignalIdentifier | PlainMessage | undefined): boolean { + return proto3.util.equals(SignalIdentifier, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/interface_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/interface_pb.ts new file mode 100644 index 0000000000..d8e15d2487 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/interface_pb.ts @@ -0,0 +1,286 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/interface.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { LiteralType } from "./types_pb.js"; +import { ArtifactID, ArtifactQuery, ArtifactTag } from "./artifact_id_pb.js"; +import { Literal } from "./literals_pb.js"; + +/** + * Defines a strongly typed variable. + * + * @generated from message flyteidl.core.Variable + */ +export class Variable extends Message { + /** + * Variable literal type. + * + * @generated from field: flyteidl.core.LiteralType type = 1; + */ + type?: LiteralType; + + /** + * +optional string describing input variable + * + * @generated from field: string description = 2; + */ + description = ""; + + /** + * +optional This object allows the user to specify how Artifacts are created. + * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. + * + * @generated from field: flyteidl.core.ArtifactID artifact_partial_id = 3; + */ + artifactPartialId?: ArtifactID; + + /** + * @generated from field: flyteidl.core.ArtifactTag artifact_tag = 4; + */ + artifactTag?: ArtifactTag; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Variable"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "type", kind: "message", T: LiteralType }, + { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "artifact_partial_id", kind: "message", T: ArtifactID }, + { no: 4, name: "artifact_tag", kind: "message", T: ArtifactTag }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Variable { + return new Variable().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Variable { + return new Variable().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Variable { + return new Variable().fromJsonString(jsonString, options); + } + + static equals(a: Variable | PlainMessage | undefined, b: Variable | PlainMessage | undefined): boolean { + return proto3.util.equals(Variable, a, b); + } +} + +/** + * A map of Variables + * + * @generated from message flyteidl.core.VariableMap + */ +export class VariableMap extends Message { + /** + * Defines a map of variable names to variables. + * + * @generated from field: map variables = 1; + */ + variables: { [key: string]: Variable } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.VariableMap"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "variables", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Variable} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): VariableMap { + return new VariableMap().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): VariableMap { + return new VariableMap().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): VariableMap { + return new VariableMap().fromJsonString(jsonString, options); + } + + static equals(a: VariableMap | PlainMessage | undefined, b: VariableMap | PlainMessage | undefined): boolean { + return proto3.util.equals(VariableMap, a, b); + } +} + +/** + * Defines strongly typed inputs and outputs. + * + * @generated from message flyteidl.core.TypedInterface + */ +export class TypedInterface extends Message { + /** + * @generated from field: flyteidl.core.VariableMap inputs = 1; + */ + inputs?: VariableMap; + + /** + * @generated from field: flyteidl.core.VariableMap outputs = 2; + */ + outputs?: VariableMap; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TypedInterface"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "inputs", kind: "message", T: VariableMap }, + { no: 2, name: "outputs", kind: "message", T: VariableMap }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TypedInterface { + return new TypedInterface().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TypedInterface { + return new TypedInterface().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TypedInterface { + return new TypedInterface().fromJsonString(jsonString, options); + } + + static equals(a: TypedInterface | PlainMessage | undefined, b: TypedInterface | PlainMessage | undefined): boolean { + return proto3.util.equals(TypedInterface, a, b); + } +} + +/** + * A parameter is used as input to a launch plan and has + * the special ability to have a default value or mark itself as required. + * + * @generated from message flyteidl.core.Parameter + */ +export class Parameter extends Message { + /** + * +required Variable. Defines the type of the variable backing this parameter. + * + * @generated from field: flyteidl.core.Variable var = 1; + */ + var?: Variable; + + /** + * +optional + * + * @generated from oneof flyteidl.core.Parameter.behavior + */ + behavior: { + /** + * Defines a default value that has to match the variable type defined. + * + * @generated from field: flyteidl.core.Literal default = 2; + */ + value: Literal; + case: "default"; + } | { + /** + * +optional, is this value required to be filled. + * + * @generated from field: bool required = 3; + */ + value: boolean; + case: "required"; + } | { + /** + * This is an execution time search basically that should result in exactly one Artifact with a Type that + * matches the type of the variable. + * + * @generated from field: flyteidl.core.ArtifactQuery artifact_query = 4; + */ + value: ArtifactQuery; + case: "artifactQuery"; + } | { + /** + * @generated from field: flyteidl.core.ArtifactID artifact_id = 5; + */ + value: ArtifactID; + case: "artifactId"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Parameter"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "var", kind: "message", T: Variable }, + { no: 2, name: "default", kind: "message", T: Literal, oneof: "behavior" }, + { no: 3, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "behavior" }, + { no: 4, name: "artifact_query", kind: "message", T: ArtifactQuery, oneof: "behavior" }, + { no: 5, name: "artifact_id", kind: "message", T: ArtifactID, oneof: "behavior" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Parameter { + return new Parameter().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Parameter { + return new Parameter().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Parameter { + return new Parameter().fromJsonString(jsonString, options); + } + + static equals(a: Parameter | PlainMessage | undefined, b: Parameter | PlainMessage | undefined): boolean { + return proto3.util.equals(Parameter, a, b); + } +} + +/** + * A map of Parameters. + * + * @generated from message flyteidl.core.ParameterMap + */ +export class ParameterMap extends Message { + /** + * Defines a map of parameter names to parameters. + * + * @generated from field: map parameters = 1; + */ + parameters: { [key: string]: Parameter } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ParameterMap"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "parameters", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Parameter} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ParameterMap { + return new ParameterMap().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ParameterMap { + return new ParameterMap().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ParameterMap { + return new ParameterMap().fromJsonString(jsonString, options); + } + + static equals(a: ParameterMap | PlainMessage | undefined, b: ParameterMap | PlainMessage | undefined): boolean { + return proto3.util.equals(ParameterMap, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/literals_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/literals_pb.ts new file mode 100644 index 0000000000..6cf6b07ca2 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/literals_pb.ts @@ -0,0 +1,1032 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/literals.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf"; +import { BlobType, Error, LiteralType, OutputReference, SchemaType, StructuredDatasetType } from "./types_pb.js"; + +/** + * Primitive Types + * + * @generated from message flyteidl.core.Primitive + */ +export class Primitive extends Message { + /** + * Defines one of simple primitive types. These types will get translated into different programming languages as + * described in https://developers.google.com/protocol-buffers/docs/proto#scalar. + * + * @generated from oneof flyteidl.core.Primitive.value + */ + value: { + /** + * @generated from field: int64 integer = 1; + */ + value: bigint; + case: "integer"; + } | { + /** + * @generated from field: double float_value = 2; + */ + value: number; + case: "floatValue"; + } | { + /** + * @generated from field: string string_value = 3; + */ + value: string; + case: "stringValue"; + } | { + /** + * @generated from field: bool boolean = 4; + */ + value: boolean; + case: "boolean"; + } | { + /** + * @generated from field: google.protobuf.Timestamp datetime = 5; + */ + value: Timestamp; + case: "datetime"; + } | { + /** + * @generated from field: google.protobuf.Duration duration = 6; + */ + value: Duration; + case: "duration"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Primitive"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "integer", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "value" }, + { no: 2, name: "float_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, oneof: "value" }, + { no: 3, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" }, + { no: 4, name: "boolean", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "value" }, + { no: 5, name: "datetime", kind: "message", T: Timestamp, oneof: "value" }, + { no: 6, name: "duration", kind: "message", T: Duration, oneof: "value" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Primitive { + return new Primitive().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Primitive { + return new Primitive().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Primitive { + return new Primitive().fromJsonString(jsonString, options); + } + + static equals(a: Primitive | PlainMessage | undefined, b: Primitive | PlainMessage | undefined): boolean { + return proto3.util.equals(Primitive, a, b); + } +} + +/** + * Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally + * undefined since it can be assigned to a scalar of any LiteralType. + * + * @generated from message flyteidl.core.Void + */ +export class Void extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Void"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Void { + return new Void().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Void { + return new Void().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Void { + return new Void().fromJsonString(jsonString, options); + } + + static equals(a: Void | PlainMessage | undefined, b: Void | PlainMessage | undefined): boolean { + return proto3.util.equals(Void, a, b); + } +} + +/** + * Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. + * There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. + * + * @generated from message flyteidl.core.Blob + */ +export class Blob extends Message { + /** + * @generated from field: flyteidl.core.BlobMetadata metadata = 1; + */ + metadata?: BlobMetadata; + + /** + * @generated from field: string uri = 3; + */ + uri = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Blob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "metadata", kind: "message", T: BlobMetadata }, + { no: 3, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Blob { + return new Blob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Blob { + return new Blob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Blob { + return new Blob().fromJsonString(jsonString, options); + } + + static equals(a: Blob | PlainMessage | undefined, b: Blob | PlainMessage | undefined): boolean { + return proto3.util.equals(Blob, a, b); + } +} + +/** + * @generated from message flyteidl.core.BlobMetadata + */ +export class BlobMetadata extends Message { + /** + * @generated from field: flyteidl.core.BlobType type = 1; + */ + type?: BlobType; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.BlobMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "type", kind: "message", T: BlobType }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): BlobMetadata { + return new BlobMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): BlobMetadata { + return new BlobMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): BlobMetadata { + return new BlobMetadata().fromJsonString(jsonString, options); + } + + static equals(a: BlobMetadata | PlainMessage | undefined, b: BlobMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(BlobMetadata, a, b); + } +} + +/** + * A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. + * It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. + * + * @generated from message flyteidl.core.Binary + */ +export class Binary extends Message { + /** + * @generated from field: bytes value = 1; + */ + value = new Uint8Array(0); + + /** + * @generated from field: string tag = 2; + */ + tag = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Binary"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "value", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 2, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Binary { + return new Binary().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Binary { + return new Binary().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Binary { + return new Binary().fromJsonString(jsonString, options); + } + + static equals(a: Binary | PlainMessage | undefined, b: Binary | PlainMessage | undefined): boolean { + return proto3.util.equals(Binary, a, b); + } +} + +/** + * A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. + * + * @generated from message flyteidl.core.Schema + */ +export class Schema extends Message { + /** + * @generated from field: string uri = 1; + */ + uri = ""; + + /** + * @generated from field: flyteidl.core.SchemaType type = 3; + */ + type?: SchemaType; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Schema"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "type", kind: "message", T: SchemaType }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Schema { + return new Schema().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Schema { + return new Schema().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Schema { + return new Schema().fromJsonString(jsonString, options); + } + + static equals(a: Schema | PlainMessage | undefined, b: Schema | PlainMessage | undefined): boolean { + return proto3.util.equals(Schema, a, b); + } +} + +/** + * The runtime representation of a tagged union value. See `UnionType` for more details. + * + * @generated from message flyteidl.core.Union + */ +export class Union extends Message { + /** + * @generated from field: flyteidl.core.Literal value = 1; + */ + value?: Literal; + + /** + * @generated from field: flyteidl.core.LiteralType type = 2; + */ + type?: LiteralType; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Union"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "value", kind: "message", T: Literal }, + { no: 2, name: "type", kind: "message", T: LiteralType }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Union { + return new Union().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Union { + return new Union().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Union { + return new Union().fromJsonString(jsonString, options); + } + + static equals(a: Union | PlainMessage | undefined, b: Union | PlainMessage | undefined): boolean { + return proto3.util.equals(Union, a, b); + } +} + +/** + * @generated from message flyteidl.core.StructuredDatasetMetadata + */ +export class StructuredDatasetMetadata extends Message { + /** + * Bundle the type information along with the literal. + * This is here because StructuredDatasets can often be more defined at run time than at compile time. + * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, + * without any column information, but at run time, you might have that column information. + * flytekit python will copy this type information into the literal, from the type information, if not provided by + * the various plugins (encoders). + * Since this field is run time generated, it's not used for any type checking. + * + * @generated from field: flyteidl.core.StructuredDatasetType structured_dataset_type = 1; + */ + structuredDatasetType?: StructuredDatasetType; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.StructuredDatasetMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "structured_dataset_type", kind: "message", T: StructuredDatasetType }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): StructuredDatasetMetadata { + return new StructuredDatasetMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): StructuredDatasetMetadata { + return new StructuredDatasetMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): StructuredDatasetMetadata { + return new StructuredDatasetMetadata().fromJsonString(jsonString, options); + } + + static equals(a: StructuredDatasetMetadata | PlainMessage | undefined, b: StructuredDatasetMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(StructuredDatasetMetadata, a, b); + } +} + +/** + * @generated from message flyteidl.core.StructuredDataset + */ +export class StructuredDataset extends Message { + /** + * String location uniquely identifying where the data is. + * Should start with the storage location (e.g. s3://, gs://, bq://, etc.) + * + * @generated from field: string uri = 1; + */ + uri = ""; + + /** + * @generated from field: flyteidl.core.StructuredDatasetMetadata metadata = 2; + */ + metadata?: StructuredDatasetMetadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.StructuredDataset"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "metadata", kind: "message", T: StructuredDatasetMetadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): StructuredDataset { + return new StructuredDataset().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): StructuredDataset { + return new StructuredDataset().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): StructuredDataset { + return new StructuredDataset().fromJsonString(jsonString, options); + } + + static equals(a: StructuredDataset | PlainMessage | undefined, b: StructuredDataset | PlainMessage | undefined): boolean { + return proto3.util.equals(StructuredDataset, a, b); + } +} + +/** + * @generated from message flyteidl.core.Scalar + */ +export class Scalar extends Message { + /** + * @generated from oneof flyteidl.core.Scalar.value + */ + value: { + /** + * @generated from field: flyteidl.core.Primitive primitive = 1; + */ + value: Primitive; + case: "primitive"; + } | { + /** + * @generated from field: flyteidl.core.Blob blob = 2; + */ + value: Blob; + case: "blob"; + } | { + /** + * @generated from field: flyteidl.core.Binary binary = 3; + */ + value: Binary; + case: "binary"; + } | { + /** + * @generated from field: flyteidl.core.Schema schema = 4; + */ + value: Schema; + case: "schema"; + } | { + /** + * @generated from field: flyteidl.core.Void none_type = 5; + */ + value: Void; + case: "noneType"; + } | { + /** + * @generated from field: flyteidl.core.Error error = 6; + */ + value: Error; + case: "error"; + } | { + /** + * @generated from field: google.protobuf.Struct generic = 7; + */ + value: Struct; + case: "generic"; + } | { + /** + * @generated from field: flyteidl.core.StructuredDataset structured_dataset = 8; + */ + value: StructuredDataset; + case: "structuredDataset"; + } | { + /** + * @generated from field: flyteidl.core.Union union = 9; + */ + value: Union; + case: "union"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Scalar"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "primitive", kind: "message", T: Primitive, oneof: "value" }, + { no: 2, name: "blob", kind: "message", T: Blob, oneof: "value" }, + { no: 3, name: "binary", kind: "message", T: Binary, oneof: "value" }, + { no: 4, name: "schema", kind: "message", T: Schema, oneof: "value" }, + { no: 5, name: "none_type", kind: "message", T: Void, oneof: "value" }, + { no: 6, name: "error", kind: "message", T: Error, oneof: "value" }, + { no: 7, name: "generic", kind: "message", T: Struct, oneof: "value" }, + { no: 8, name: "structured_dataset", kind: "message", T: StructuredDataset, oneof: "value" }, + { no: 9, name: "union", kind: "message", T: Union, oneof: "value" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Scalar { + return new Scalar().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Scalar { + return new Scalar().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Scalar { + return new Scalar().fromJsonString(jsonString, options); + } + + static equals(a: Scalar | PlainMessage | undefined, b: Scalar | PlainMessage | undefined): boolean { + return proto3.util.equals(Scalar, a, b); + } +} + +/** + * A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. + * + * @generated from message flyteidl.core.Literal + */ +export class Literal extends Message { + /** + * @generated from oneof flyteidl.core.Literal.value + */ + value: { + /** + * A simple value. + * + * @generated from field: flyteidl.core.Scalar scalar = 1; + */ + value: Scalar; + case: "scalar"; + } | { + /** + * A collection of literals to allow nesting. + * + * @generated from field: flyteidl.core.LiteralCollection collection = 2; + */ + value: LiteralCollection; + case: "collection"; + } | { + /** + * A map of strings to literals. + * + * @generated from field: flyteidl.core.LiteralMap map = 3; + */ + value: LiteralMap; + case: "map"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * A hash representing this literal. + * This is used for caching purposes. For more details refer to RFC 1893 + * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md) + * + * @generated from field: string hash = 4; + */ + hash = ""; + + /** + * Additional metadata for literals. + * + * @generated from field: map metadata = 5; + */ + metadata: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Literal"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "scalar", kind: "message", T: Scalar, oneof: "value" }, + { no: 2, name: "collection", kind: "message", T: LiteralCollection, oneof: "value" }, + { no: 3, name: "map", kind: "message", T: LiteralMap, oneof: "value" }, + { no: 4, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Literal { + return new Literal().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Literal { + return new Literal().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Literal { + return new Literal().fromJsonString(jsonString, options); + } + + static equals(a: Literal | PlainMessage | undefined, b: Literal | PlainMessage | undefined): boolean { + return proto3.util.equals(Literal, a, b); + } +} + +/** + * A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. + * + * @generated from message flyteidl.core.LiteralCollection + */ +export class LiteralCollection extends Message { + /** + * @generated from field: repeated flyteidl.core.Literal literals = 1; + */ + literals: Literal[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.LiteralCollection"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "literals", kind: "message", T: Literal, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LiteralCollection { + return new LiteralCollection().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LiteralCollection { + return new LiteralCollection().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LiteralCollection { + return new LiteralCollection().fromJsonString(jsonString, options); + } + + static equals(a: LiteralCollection | PlainMessage | undefined, b: LiteralCollection | PlainMessage | undefined): boolean { + return proto3.util.equals(LiteralCollection, a, b); + } +} + +/** + * A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. + * + * @generated from message flyteidl.core.LiteralMap + */ +export class LiteralMap extends Message { + /** + * @generated from field: map literals = 1; + */ + literals: { [key: string]: Literal } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.LiteralMap"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "literals", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Literal} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LiteralMap { + return new LiteralMap().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LiteralMap { + return new LiteralMap().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LiteralMap { + return new LiteralMap().fromJsonString(jsonString, options); + } + + static equals(a: LiteralMap | PlainMessage | undefined, b: LiteralMap | PlainMessage | undefined): boolean { + return proto3.util.equals(LiteralMap, a, b); + } +} + +/** + * A collection of BindingData items. + * + * @generated from message flyteidl.core.BindingDataCollection + */ +export class BindingDataCollection extends Message { + /** + * @generated from field: repeated flyteidl.core.BindingData bindings = 1; + */ + bindings: BindingData[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.BindingDataCollection"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "bindings", kind: "message", T: BindingData, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): BindingDataCollection { + return new BindingDataCollection().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): BindingDataCollection { + return new BindingDataCollection().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): BindingDataCollection { + return new BindingDataCollection().fromJsonString(jsonString, options); + } + + static equals(a: BindingDataCollection | PlainMessage | undefined, b: BindingDataCollection | PlainMessage | undefined): boolean { + return proto3.util.equals(BindingDataCollection, a, b); + } +} + +/** + * A map of BindingData items. + * + * @generated from message flyteidl.core.BindingDataMap + */ +export class BindingDataMap extends Message { + /** + * @generated from field: map bindings = 1; + */ + bindings: { [key: string]: BindingData } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.BindingDataMap"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "bindings", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: BindingData} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): BindingDataMap { + return new BindingDataMap().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): BindingDataMap { + return new BindingDataMap().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): BindingDataMap { + return new BindingDataMap().fromJsonString(jsonString, options); + } + + static equals(a: BindingDataMap | PlainMessage | undefined, b: BindingDataMap | PlainMessage | undefined): boolean { + return proto3.util.equals(BindingDataMap, a, b); + } +} + +/** + * @generated from message flyteidl.core.UnionInfo + */ +export class UnionInfo extends Message { + /** + * @generated from field: flyteidl.core.LiteralType targetType = 1; + */ + targetType?: LiteralType; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.UnionInfo"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "targetType", kind: "message", T: LiteralType }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): UnionInfo { + return new UnionInfo().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): UnionInfo { + return new UnionInfo().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): UnionInfo { + return new UnionInfo().fromJsonString(jsonString, options); + } + + static equals(a: UnionInfo | PlainMessage | undefined, b: UnionInfo | PlainMessage | undefined): boolean { + return proto3.util.equals(UnionInfo, a, b); + } +} + +/** + * Specifies either a simple value or a reference to another output. + * + * @generated from message flyteidl.core.BindingData + */ +export class BindingData extends Message { + /** + * @generated from oneof flyteidl.core.BindingData.value + */ + value: { + /** + * A simple scalar value. + * + * @generated from field: flyteidl.core.Scalar scalar = 1; + */ + value: Scalar; + case: "scalar"; + } | { + /** + * A collection of binding data. This allows nesting of binding data to any number + * of levels. + * + * @generated from field: flyteidl.core.BindingDataCollection collection = 2; + */ + value: BindingDataCollection; + case: "collection"; + } | { + /** + * References an output promised by another node. + * + * @generated from field: flyteidl.core.OutputReference promise = 3; + */ + value: OutputReference; + case: "promise"; + } | { + /** + * A map of bindings. The key is always a string. + * + * @generated from field: flyteidl.core.BindingDataMap map = 4; + */ + value: BindingDataMap; + case: "map"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * @generated from field: flyteidl.core.UnionInfo union = 5; + */ + union?: UnionInfo; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.BindingData"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "scalar", kind: "message", T: Scalar, oneof: "value" }, + { no: 2, name: "collection", kind: "message", T: BindingDataCollection, oneof: "value" }, + { no: 3, name: "promise", kind: "message", T: OutputReference, oneof: "value" }, + { no: 4, name: "map", kind: "message", T: BindingDataMap, oneof: "value" }, + { no: 5, name: "union", kind: "message", T: UnionInfo }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): BindingData { + return new BindingData().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): BindingData { + return new BindingData().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): BindingData { + return new BindingData().fromJsonString(jsonString, options); + } + + static equals(a: BindingData | PlainMessage | undefined, b: BindingData | PlainMessage | undefined): boolean { + return proto3.util.equals(BindingData, a, b); + } +} + +/** + * An input/output binding of a variable to either static value or a node output. + * + * @generated from message flyteidl.core.Binding + */ +export class Binding extends Message { + /** + * Variable name must match an input/output variable of the node. + * + * @generated from field: string var = 1; + */ + var = ""; + + /** + * Data to use to bind this variable. + * + * @generated from field: flyteidl.core.BindingData binding = 2; + */ + binding?: BindingData; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Binding"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "var", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "binding", kind: "message", T: BindingData }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Binding { + return new Binding().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Binding { + return new Binding().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Binding { + return new Binding().fromJsonString(jsonString, options); + } + + static equals(a: Binding | PlainMessage | undefined, b: Binding | PlainMessage | undefined): boolean { + return proto3.util.equals(Binding, a, b); + } +} + +/** + * A generic key value pair. + * + * @generated from message flyteidl.core.KeyValuePair + */ +export class KeyValuePair extends Message { + /** + * required. + * + * @generated from field: string key = 1; + */ + key = ""; + + /** + * +optional. + * + * @generated from field: string value = 2; + */ + value = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.KeyValuePair"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): KeyValuePair { + return new KeyValuePair().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): KeyValuePair { + return new KeyValuePair().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): KeyValuePair { + return new KeyValuePair().fromJsonString(jsonString, options); + } + + static equals(a: KeyValuePair | PlainMessage | undefined, b: KeyValuePair | PlainMessage | undefined): boolean { + return proto3.util.equals(KeyValuePair, a, b); + } +} + +/** + * Retry strategy associated with an executable unit. + * + * @generated from message flyteidl.core.RetryStrategy + */ +export class RetryStrategy extends Message { + /** + * Number of retries. Retries will be consumed when the job fails with a recoverable error. + * The number of retries must be less than or equals to 10. + * + * @generated from field: uint32 retries = 5; + */ + retries = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.RetryStrategy"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 5, name: "retries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): RetryStrategy { + return new RetryStrategy().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): RetryStrategy { + return new RetryStrategy().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): RetryStrategy { + return new RetryStrategy().fromJsonString(jsonString, options); + } + + static equals(a: RetryStrategy | PlainMessage | undefined, b: RetryStrategy | PlainMessage | undefined): boolean { + return proto3.util.equals(RetryStrategy, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/metrics_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/metrics_pb.ts new file mode 100644 index 0000000000..e45994727e --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/metrics_pb.ts @@ -0,0 +1,162 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/metrics.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf"; +import { NodeExecutionIdentifier, TaskExecutionIdentifier, WorkflowExecutionIdentifier } from "./identifier_pb.js"; + +/** + * Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation + * which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more + * precise definitions. + * + * @generated from message flyteidl.core.Span + */ +export class Span extends Message { + /** + * start_time defines the instance this span began. + * + * @generated from field: google.protobuf.Timestamp start_time = 1; + */ + startTime?: Timestamp; + + /** + * end_time defines the instance this span completed. + * + * @generated from field: google.protobuf.Timestamp end_time = 2; + */ + endTime?: Timestamp; + + /** + * @generated from oneof flyteidl.core.Span.id + */ + id: { + /** + * workflow_id is the id of the workflow execution this Span represents. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + value: WorkflowExecutionIdentifier; + case: "workflowId"; + } | { + /** + * node_id is the id of the node execution this Span represents. + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + value: NodeExecutionIdentifier; + case: "nodeId"; + } | { + /** + * task_id is the id of the task execution this Span represents. + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + value: TaskExecutionIdentifier; + case: "taskId"; + } | { + /** + * operation_id is the id of a unique operation that this Span represents. + * + * @generated from field: string operation_id = 6; + */ + value: string; + case: "operationId"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * spans defines a collection of Spans that breakdown this execution. + * + * @generated from field: repeated flyteidl.core.Span spans = 7; + */ + spans: Span[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Span"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "start_time", kind: "message", T: Timestamp }, + { no: 2, name: "end_time", kind: "message", T: Timestamp }, + { no: 3, name: "workflow_id", kind: "message", T: WorkflowExecutionIdentifier, oneof: "id" }, + { no: 4, name: "node_id", kind: "message", T: NodeExecutionIdentifier, oneof: "id" }, + { no: 5, name: "task_id", kind: "message", T: TaskExecutionIdentifier, oneof: "id" }, + { no: 6, name: "operation_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "id" }, + { no: 7, name: "spans", kind: "message", T: Span, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Span { + return new Span().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Span { + return new Span().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Span { + return new Span().fromJsonString(jsonString, options); + } + + static equals(a: Span | PlainMessage | undefined, b: Span | PlainMessage | undefined): boolean { + return proto3.util.equals(Span, a, b); + } +} + +/** + * ExecutionMetrics is a collection of metrics that are collected during the execution of a Flyte task. + * + * @generated from message flyteidl.core.ExecutionMetricResult + */ +export class ExecutionMetricResult extends Message { + /** + * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG. + * + * @generated from field: string metric = 1; + */ + metric = ""; + + /** + * The result data in prometheus range query result format + * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats. + * This may include multiple time series, differentiated by their metric labels. + * Start time is greater of (execution attempt start, 48h ago) + * End time is lesser of (execution attempt end, now) + * + * @generated from field: google.protobuf.Struct data = 2; + */ + data?: Struct; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ExecutionMetricResult"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "metric", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "data", kind: "message", T: Struct }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionMetricResult { + return new ExecutionMetricResult().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionMetricResult { + return new ExecutionMetricResult().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExecutionMetricResult { + return new ExecutionMetricResult().fromJsonString(jsonString, options); + } + + static equals(a: ExecutionMetricResult | PlainMessage | undefined, b: ExecutionMetricResult | PlainMessage | undefined): boolean { + return proto3.util.equals(ExecutionMetricResult, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/security_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/security_pb.ts new file mode 100644 index 0000000000..7d1ca8bbac --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/security_pb.ts @@ -0,0 +1,406 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/security.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Secret encapsulates information about the secret a task needs to proceed. An environment variable + * FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if + * secrets are passed through environment variables. + * FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets + * are passed through file mounts. + * + * @generated from message flyteidl.core.Secret + */ +export class Secret extends Message { + /** + * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of + * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name. + * For AWS Secret Manager, this should be the name of the secret. + * +required + * + * @generated from field: string group = 1; + */ + group = ""; + + /** + * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones + * that do not support it. + * +optional + * + * @generated from field: string group_version = 2; + */ + groupVersion = ""; + + /** + * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation + * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should + * match one of the keys inside the secret. For AWS Secret Manager, it's ignored. + * +optional + * + * @generated from field: string key = 3; + */ + key = ""; + + /** + * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail + * if the underlying key management system cannot satisfy that requirement. If not provided, the default location + * will depend on the key management system. + * +optional + * + * @generated from field: flyteidl.core.Secret.MountType mount_requirement = 4; + */ + mountRequirement = Secret_MountType.ANY; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Secret"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "group", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "group_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "mount_requirement", kind: "enum", T: proto3.getEnumType(Secret_MountType) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Secret { + return new Secret().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Secret { + return new Secret().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Secret { + return new Secret().fromJsonString(jsonString, options); + } + + static equals(a: Secret | PlainMessage | undefined, b: Secret | PlainMessage | undefined): boolean { + return proto3.util.equals(Secret, a, b); + } +} + +/** + * @generated from enum flyteidl.core.Secret.MountType + */ +export enum Secret_MountType { + /** + * Default case, indicates the client can tolerate either mounting options. + * + * @generated from enum value: ANY = 0; + */ + ANY = 0, + + /** + * ENV_VAR indicates the secret needs to be mounted as an environment variable. + * + * @generated from enum value: ENV_VAR = 1; + */ + ENV_VAR = 1, + + /** + * FILE indicates the secret needs to be mounted as a file. + * + * @generated from enum value: FILE = 2; + */ + FILE = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(Secret_MountType) +proto3.util.setEnumType(Secret_MountType, "flyteidl.core.Secret.MountType", [ + { no: 0, name: "ANY" }, + { no: 1, name: "ENV_VAR" }, + { no: 2, name: "FILE" }, +]); + +/** + * OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. + * + * @generated from message flyteidl.core.OAuth2Client + */ +export class OAuth2Client extends Message { + /** + * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the + * secret requested matches the client_id indicated here. + * +required + * + * @generated from field: string client_id = 1; + */ + clientId = ""; + + /** + * client_secret is a reference to the secret used to authenticate the OAuth2 client. + * +required + * + * @generated from field: flyteidl.core.Secret client_secret = 2; + */ + clientSecret?: Secret; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.OAuth2Client"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "client_secret", kind: "message", T: Secret }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): OAuth2Client { + return new OAuth2Client().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): OAuth2Client { + return new OAuth2Client().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): OAuth2Client { + return new OAuth2Client().fromJsonString(jsonString, options); + } + + static equals(a: OAuth2Client | PlainMessage | undefined, b: OAuth2Client | PlainMessage | undefined): boolean { + return proto3.util.equals(OAuth2Client, a, b); + } +} + +/** + * Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the + * right identity for the execution environment. + * + * @generated from message flyteidl.core.Identity + */ +export class Identity extends Message { + /** + * iam_role references the fully qualified name of Identity & Access Management role to impersonate. + * + * @generated from field: string iam_role = 1; + */ + iamRole = ""; + + /** + * k8s_service_account references a kubernetes service account to impersonate. + * + * @generated from field: string k8s_service_account = 2; + */ + k8sServiceAccount = ""; + + /** + * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when + * making external calls. + * + * @generated from field: flyteidl.core.OAuth2Client oauth2_client = 3; + */ + oauth2Client?: OAuth2Client; + + /** + * execution_identity references the subject who makes the execution + * + * @generated from field: string execution_identity = 4; + */ + executionIdentity = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Identity"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "iam_role", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "k8s_service_account", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "oauth2_client", kind: "message", T: OAuth2Client }, + { no: 4, name: "execution_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Identity { + return new Identity().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Identity { + return new Identity().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Identity { + return new Identity().fromJsonString(jsonString, options); + } + + static equals(a: Identity | PlainMessage | undefined, b: Identity | PlainMessage | undefined): boolean { + return proto3.util.equals(Identity, a, b); + } +} + +/** + * OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. + * FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if + * tokens are passed through environment variables. + * FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens + * are passed through file mounts. + * + * @generated from message flyteidl.core.OAuth2TokenRequest + */ +export class OAuth2TokenRequest extends Message { + /** + * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for + * environment variables and as a filename for mounting tokens as files. + * +required + * + * @generated from field: string name = 1; + */ + name = ""; + + /** + * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS. + * +required + * + * @generated from field: flyteidl.core.OAuth2TokenRequest.Type type = 2; + */ + type = OAuth2TokenRequest_Type.CLIENT_CREDENTIALS; + + /** + * client references the client_id/secret to use to request the OAuth2 token. + * +required + * + * @generated from field: flyteidl.core.OAuth2Client client = 3; + */ + client?: OAuth2Client; + + /** + * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related + * information. + * +optional + * + * @generated from field: string idp_discovery_endpoint = 4; + */ + idpDiscoveryEndpoint = ""; + + /** + * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is + * mandatory. + * +optional + * + * @generated from field: string token_endpoint = 5; + */ + tokenEndpoint = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.OAuth2TokenRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(OAuth2TokenRequest_Type) }, + { no: 3, name: "client", kind: "message", T: OAuth2Client }, + { no: 4, name: "idp_discovery_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "token_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): OAuth2TokenRequest { + return new OAuth2TokenRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): OAuth2TokenRequest { + return new OAuth2TokenRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): OAuth2TokenRequest { + return new OAuth2TokenRequest().fromJsonString(jsonString, options); + } + + static equals(a: OAuth2TokenRequest | PlainMessage | undefined, b: OAuth2TokenRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(OAuth2TokenRequest, a, b); + } +} + +/** + * Type of the token requested. + * + * @generated from enum flyteidl.core.OAuth2TokenRequest.Type + */ +export enum OAuth2TokenRequest_Type { + /** + * CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials. + * + * @generated from enum value: CLIENT_CREDENTIALS = 0; + */ + CLIENT_CREDENTIALS = 0, +} +// Retrieve enum metadata with: proto3.getEnumType(OAuth2TokenRequest_Type) +proto3.util.setEnumType(OAuth2TokenRequest_Type, "flyteidl.core.OAuth2TokenRequest.Type", [ + { no: 0, name: "CLIENT_CREDENTIALS" }, +]); + +/** + * SecurityContext holds security attributes that apply to tasks. + * + * @generated from message flyteidl.core.SecurityContext + */ +export class SecurityContext extends Message { + /** + * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the + * backend plugin to choose the appropriate identity for the execution engine the task will run on. + * + * @generated from field: flyteidl.core.Identity run_as = 1; + */ + runAs?: Identity; + + /** + * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the + * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS + * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access + * to the secret) and to pass it to the remote execution engine. + * + * @generated from field: repeated flyteidl.core.Secret secrets = 2; + */ + secrets: Secret[] = []; + + /** + * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the + * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS + * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access + * to the secret) and to pass it to the remote execution engine. + * + * @generated from field: repeated flyteidl.core.OAuth2TokenRequest tokens = 3; + */ + tokens: OAuth2TokenRequest[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.SecurityContext"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "run_as", kind: "message", T: Identity }, + { no: 2, name: "secrets", kind: "message", T: Secret, repeated: true }, + { no: 3, name: "tokens", kind: "message", T: OAuth2TokenRequest, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SecurityContext { + return new SecurityContext().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SecurityContext { + return new SecurityContext().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SecurityContext { + return new SecurityContext().fromJsonString(jsonString, options); + } + + static equals(a: SecurityContext | PlainMessage | undefined, b: SecurityContext | PlainMessage | undefined): boolean { + return proto3.util.equals(SecurityContext, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/tasks_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/tasks_pb.ts new file mode 100644 index 0000000000..afd4e5f98b --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/tasks_pb.ts @@ -0,0 +1,1264 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/tasks.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3, Struct } from "@bufbuild/protobuf"; +import { KeyValuePair, RetryStrategy } from "./literals_pb.js"; +import { Identifier } from "./identifier_pb.js"; +import { TypedInterface } from "./interface_pb.js"; +import { SecurityContext } from "./security_pb.js"; + +/** + * A customizable interface to convey resources requested for a container. This can be interpreted differently for different + * container engines. + * + * @generated from message flyteidl.core.Resources + */ +export class Resources extends Message { + /** + * The desired set of resources requested. ResourceNames must be unique within the list. + * + * @generated from field: repeated flyteidl.core.Resources.ResourceEntry requests = 1; + */ + requests: Resources_ResourceEntry[] = []; + + /** + * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique + * within the list. + * + * @generated from field: repeated flyteidl.core.Resources.ResourceEntry limits = 2; + */ + limits: Resources_ResourceEntry[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Resources"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "requests", kind: "message", T: Resources_ResourceEntry, repeated: true }, + { no: 2, name: "limits", kind: "message", T: Resources_ResourceEntry, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Resources { + return new Resources().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Resources { + return new Resources().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Resources { + return new Resources().fromJsonString(jsonString, options); + } + + static equals(a: Resources | PlainMessage | undefined, b: Resources | PlainMessage | undefined): boolean { + return proto3.util.equals(Resources, a, b); + } +} + +/** + * Known resource names. + * + * @generated from enum flyteidl.core.Resources.ResourceName + */ +export enum Resources_ResourceName { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + + /** + * @generated from enum value: CPU = 1; + */ + CPU = 1, + + /** + * @generated from enum value: GPU = 2; + */ + GPU = 2, + + /** + * @generated from enum value: MEMORY = 3; + */ + MEMORY = 3, + + /** + * @generated from enum value: STORAGE = 4; + */ + STORAGE = 4, + + /** + * For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs. + * + * @generated from enum value: EPHEMERAL_STORAGE = 5; + */ + EPHEMERAL_STORAGE = 5, +} +// Retrieve enum metadata with: proto3.getEnumType(Resources_ResourceName) +proto3.util.setEnumType(Resources_ResourceName, "flyteidl.core.Resources.ResourceName", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "CPU" }, + { no: 2, name: "GPU" }, + { no: 3, name: "MEMORY" }, + { no: 4, name: "STORAGE" }, + { no: 5, name: "EPHEMERAL_STORAGE" }, +]); + +/** + * Encapsulates a resource name and value. + * + * @generated from message flyteidl.core.Resources.ResourceEntry + */ +export class Resources_ResourceEntry extends Message { + /** + * Resource name. + * + * @generated from field: flyteidl.core.Resources.ResourceName name = 1; + */ + name = Resources_ResourceName.UNKNOWN; + + /** + * Value must be a valid k8s quantity. See + * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80 + * + * @generated from field: string value = 2; + */ + value = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Resources.ResourceEntry"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "enum", T: proto3.getEnumType(Resources_ResourceName) }, + { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Resources_ResourceEntry { + return new Resources_ResourceEntry().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Resources_ResourceEntry { + return new Resources_ResourceEntry().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Resources_ResourceEntry { + return new Resources_ResourceEntry().fromJsonString(jsonString, options); + } + + static equals(a: Resources_ResourceEntry | PlainMessage | undefined, b: Resources_ResourceEntry | PlainMessage | undefined): boolean { + return proto3.util.equals(Resources_ResourceEntry, a, b); + } +} + +/** + * Metadata associated with the GPU accelerator to allocate to a task. Contains + * information about device type, and for multi-instance GPUs, the partition size to + * use. + * + * @generated from message flyteidl.core.GPUAccelerator + */ +export class GPUAccelerator extends Message { + /** + * This can be any arbitrary string, and should be informed by the labels or taints + * associated with the nodes in question. Default cloud provider labels typically + * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc. + * + * @generated from field: string device = 1; + */ + device = ""; + + /** + * @generated from oneof flyteidl.core.GPUAccelerator.partition_size_value + */ + partitionSizeValue: { + /** + * @generated from field: bool unpartitioned = 2; + */ + value: boolean; + case: "unpartitioned"; + } | { + /** + * Like `device`, this can be any arbitrary string, and should be informed by + * the labels or taints associated with the nodes in question. Default cloud + * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc. + * + * @generated from field: string partition_size = 3; + */ + value: string; + case: "partitionSize"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.GPUAccelerator"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "device", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "unpartitioned", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "partition_size_value" }, + { no: 3, name: "partition_size", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "partition_size_value" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GPUAccelerator { + return new GPUAccelerator().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GPUAccelerator { + return new GPUAccelerator().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GPUAccelerator { + return new GPUAccelerator().fromJsonString(jsonString, options); + } + + static equals(a: GPUAccelerator | PlainMessage | undefined, b: GPUAccelerator | PlainMessage | undefined): boolean { + return proto3.util.equals(GPUAccelerator, a, b); + } +} + +/** + * Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to + * allocate to a task. + * + * @generated from message flyteidl.core.ExtendedResources + */ +export class ExtendedResources extends Message { + /** + * GPU accelerator to select for task. Contains information about device type, and + * for multi-instance GPUs, the partition size to use. + * + * @generated from field: flyteidl.core.GPUAccelerator gpu_accelerator = 1; + */ + gpuAccelerator?: GPUAccelerator; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ExtendedResources"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "gpu_accelerator", kind: "message", T: GPUAccelerator }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExtendedResources { + return new ExtendedResources().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExtendedResources { + return new ExtendedResources().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExtendedResources { + return new ExtendedResources().fromJsonString(jsonString, options); + } + + static equals(a: ExtendedResources | PlainMessage | undefined, b: ExtendedResources | PlainMessage | undefined): boolean { + return proto3.util.equals(ExtendedResources, a, b); + } +} + +/** + * Runtime information. This is loosely defined to allow for extensibility. + * + * @generated from message flyteidl.core.RuntimeMetadata + */ +export class RuntimeMetadata extends Message { + /** + * Type of runtime. + * + * @generated from field: flyteidl.core.RuntimeMetadata.RuntimeType type = 1; + */ + type = RuntimeMetadata_RuntimeType.OTHER; + + /** + * Version of the runtime. All versions should be backward compatible. However, certain cases call for version + * checks to ensure tighter validation or setting expectations. + * + * @generated from field: string version = 2; + */ + version = ""; + + /** + * +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). + * + * @generated from field: string flavor = 3; + */ + flavor = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.RuntimeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(RuntimeMetadata_RuntimeType) }, + { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "flavor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): RuntimeMetadata { + return new RuntimeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): RuntimeMetadata { + return new RuntimeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): RuntimeMetadata { + return new RuntimeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: RuntimeMetadata | PlainMessage | undefined, b: RuntimeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(RuntimeMetadata, a, b); + } +} + +/** + * @generated from enum flyteidl.core.RuntimeMetadata.RuntimeType + */ +export enum RuntimeMetadata_RuntimeType { + /** + * @generated from enum value: OTHER = 0; + */ + OTHER = 0, + + /** + * @generated from enum value: FLYTE_SDK = 1; + */ + FLYTE_SDK = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(RuntimeMetadata_RuntimeType) +proto3.util.setEnumType(RuntimeMetadata_RuntimeType, "flyteidl.core.RuntimeMetadata.RuntimeType", [ + { no: 0, name: "OTHER" }, + { no: 1, name: "FLYTE_SDK" }, +]); + +/** + * Task Metadata + * + * @generated from message flyteidl.core.TaskMetadata + */ +export class TaskMetadata extends Message { + /** + * Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. + * + * @generated from field: bool discoverable = 1; + */ + discoverable = false; + + /** + * Runtime information about the task. + * + * @generated from field: flyteidl.core.RuntimeMetadata runtime = 2; + */ + runtime?: RuntimeMetadata; + + /** + * The overall timeout of a task including user-triggered retries. + * + * @generated from field: google.protobuf.Duration timeout = 4; + */ + timeout?: Duration; + + /** + * Number of retries per task. + * + * @generated from field: flyteidl.core.RetryStrategy retries = 5; + */ + retries?: RetryStrategy; + + /** + * Indicates a logical version to apply to this task for the purpose of discovery. + * + * @generated from field: string discovery_version = 6; + */ + discoveryVersion = ""; + + /** + * If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers + * of the ending of support for a given task. + * + * @generated from field: string deprecated_error_message = 7; + */ + deprecatedErrorMessage = ""; + + /** + * Identify whether task is interruptible + * + * @generated from oneof flyteidl.core.TaskMetadata.interruptible_value + */ + interruptibleValue: { + /** + * @generated from field: bool interruptible = 8; + */ + value: boolean; + case: "interruptible"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work + * + * @generated from field: bool cache_serializable = 9; + */ + cacheSerializable = false; + + /** + * Indicates whether the task will generate a Deck URI when it finishes executing. + * + * @generated from field: bool generates_deck = 10; + */ + generatesDeck = false; + + /** + * Arbitrary tags that allow users and the platform to store small but arbitrary labels + * + * @generated from field: map tags = 11; + */ + tags: { [key: string]: string } = {}; + + /** + * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this + * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied + * identically as, the default PodTemplate configured in FlytePropeller. + * + * @generated from field: string pod_template_name = 12; + */ + podTemplateName = ""; + + /** + * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache. + * + * @generated from field: repeated string cache_ignore_input_vars = 13; + */ + cacheIgnoreInputVars: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TaskMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "discoverable", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "runtime", kind: "message", T: RuntimeMetadata }, + { no: 4, name: "timeout", kind: "message", T: Duration }, + { no: 5, name: "retries", kind: "message", T: RetryStrategy }, + { no: 6, name: "discovery_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "deprecated_error_message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "interruptible", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "interruptible_value" }, + { no: 9, name: "cache_serializable", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 10, name: "generates_deck", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 11, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 12, name: "pod_template_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 13, name: "cache_ignore_input_vars", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskMetadata { + return new TaskMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskMetadata { + return new TaskMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskMetadata { + return new TaskMetadata().fromJsonString(jsonString, options); + } + + static equals(a: TaskMetadata | PlainMessage | undefined, b: TaskMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskMetadata, a, b); + } +} + +/** + * A Task structure that uniquely identifies a task in the system + * Tasks are registered as a first step in the system. + * + * @generated from message flyteidl.core.TaskTemplate + */ +export class TaskTemplate extends Message { + /** + * Auto generated taskId by the system. Task Id uniquely identifies this task globally. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no + * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the + * implementation registered for the TaskCategory. + * + * @generated from field: string type = 2; + */ + type = ""; + + /** + * Extra metadata about the task. + * + * @generated from field: flyteidl.core.TaskMetadata metadata = 3; + */ + metadata?: TaskMetadata; + + /** + * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees + * compile-time validation of the workflow to avoid costly runtime failures. + * + * @generated from field: flyteidl.core.TypedInterface interface = 4; + */ + interface?: TypedInterface; + + /** + * Custom data about the task. This is extensible to allow various plugins in the system. + * + * @generated from field: google.protobuf.Struct custom = 5; + */ + custom?: Struct; + + /** + * Known target types that the system will guarantee plugins for. Custom SDK plugins are allowed to set these if needed. + * If no corresponding execution-layer plugins are found, the system will default to handling these using built-in + * handlers. + * + * @generated from oneof flyteidl.core.TaskTemplate.target + */ + target: { + /** + * @generated from field: flyteidl.core.Container container = 6; + */ + value: Container; + case: "container"; + } | { + /** + * @generated from field: flyteidl.core.K8sPod k8s_pod = 17; + */ + value: K8sPod; + case: "k8sPod"; + } | { + /** + * @generated from field: flyteidl.core.Sql sql = 18; + */ + value: Sql; + case: "sql"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * This can be used to customize task handling at execution time for the same task type. + * + * @generated from field: int32 task_type_version = 7; + */ + taskTypeVersion = 0; + + /** + * security_context encapsulates security attributes requested to run this task. + * + * @generated from field: flyteidl.core.SecurityContext security_context = 8; + */ + securityContext?: SecurityContext; + + /** + * Encapsulates all non-standard resources, not captured by + * v1.ResourceRequirements, to allocate to a task. + * + * @generated from field: flyteidl.core.ExtendedResources extended_resources = 9; + */ + extendedResources?: ExtendedResources; + + /** + * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system + * to use as required. + * reserve the field numbers 1 through 15 for very frequently occurring message elements + * + * @generated from field: map config = 16; + */ + config: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TaskTemplate"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "metadata", kind: "message", T: TaskMetadata }, + { no: 4, name: "interface", kind: "message", T: TypedInterface }, + { no: 5, name: "custom", kind: "message", T: Struct }, + { no: 6, name: "container", kind: "message", T: Container, oneof: "target" }, + { no: 17, name: "k8s_pod", kind: "message", T: K8sPod, oneof: "target" }, + { no: 18, name: "sql", kind: "message", T: Sql, oneof: "target" }, + { no: 7, name: "task_type_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 8, name: "security_context", kind: "message", T: SecurityContext }, + { no: 9, name: "extended_resources", kind: "message", T: ExtendedResources }, + { no: 16, name: "config", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskTemplate { + return new TaskTemplate().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskTemplate { + return new TaskTemplate().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskTemplate { + return new TaskTemplate().fromJsonString(jsonString, options); + } + + static equals(a: TaskTemplate | PlainMessage | undefined, b: TaskTemplate | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskTemplate, a, b); + } +} + +/** + * Defines port properties for a container. + * + * @generated from message flyteidl.core.ContainerPort + */ +export class ContainerPort extends Message { + /** + * Number of port to expose on the pod's IP address. + * This must be a valid port number, 0 < x < 65536. + * + * @generated from field: uint32 container_port = 1; + */ + containerPort = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ContainerPort"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "container_port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ContainerPort { + return new ContainerPort().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ContainerPort { + return new ContainerPort().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ContainerPort { + return new ContainerPort().fromJsonString(jsonString, options); + } + + static equals(a: ContainerPort | PlainMessage | undefined, b: ContainerPort | PlainMessage | undefined): boolean { + return proto3.util.equals(ContainerPort, a, b); + } +} + +/** + * @generated from message flyteidl.core.Container + */ +export class Container extends Message { + /** + * Container image url. Eg: docker/redis:latest + * + * @generated from field: string image = 1; + */ + image = ""; + + /** + * Command to be executed, if not provided, the default entrypoint in the container image will be used. + * + * @generated from field: repeated string command = 2; + */ + command: string[] = []; + + /** + * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still + * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the + * system will populate these before executing the container. + * + * @generated from field: repeated string args = 3; + */ + args: string[] = []; + + /** + * Container resources requirement as specified by the container engine. + * + * @generated from field: flyteidl.core.Resources resources = 4; + */ + resources?: Resources; + + /** + * Environment variables will be set as the container is starting up. + * + * @generated from field: repeated flyteidl.core.KeyValuePair env = 5; + */ + env: KeyValuePair[] = []; + + /** + * Allows extra configs to be available for the container. + * TODO: elaborate on how configs will become available. + * Deprecated, please use TaskTemplate.config instead. + * + * @generated from field: repeated flyteidl.core.KeyValuePair config = 6 [deprecated = true]; + * @deprecated + */ + config: KeyValuePair[] = []; + + /** + * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but + * not supported on AWS Batch) + * Only K8s + * + * @generated from field: repeated flyteidl.core.ContainerPort ports = 7; + */ + ports: ContainerPort[] = []; + + /** + * BETA: Optional configuration for DataLoading. If not specified, then default values are used. + * This makes it possible to to run a completely portable container, that uses inputs and outputs + * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. + * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories + * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation + * to understand the default paths. + * Only K8s + * + * @generated from field: flyteidl.core.DataLoadingConfig data_config = 9; + */ + dataConfig?: DataLoadingConfig; + + /** + * @generated from field: flyteidl.core.Container.Architecture architecture = 10; + */ + architecture = Container_Architecture.UNKNOWN; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Container"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "command", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 3, name: "args", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "resources", kind: "message", T: Resources }, + { no: 5, name: "env", kind: "message", T: KeyValuePair, repeated: true }, + { no: 6, name: "config", kind: "message", T: KeyValuePair, repeated: true }, + { no: 7, name: "ports", kind: "message", T: ContainerPort, repeated: true }, + { no: 9, name: "data_config", kind: "message", T: DataLoadingConfig }, + { no: 10, name: "architecture", kind: "enum", T: proto3.getEnumType(Container_Architecture) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Container { + return new Container().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Container { + return new Container().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Container { + return new Container().fromJsonString(jsonString, options); + } + + static equals(a: Container | PlainMessage | undefined, b: Container | PlainMessage | undefined): boolean { + return proto3.util.equals(Container, a, b); + } +} + +/** + * Architecture-type the container image supports. + * + * @generated from enum flyteidl.core.Container.Architecture + */ +export enum Container_Architecture { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + + /** + * @generated from enum value: AMD64 = 1; + */ + AMD64 = 1, + + /** + * @generated from enum value: ARM64 = 2; + */ + ARM64 = 2, + + /** + * @generated from enum value: ARM_V6 = 3; + */ + ARM_V6 = 3, + + /** + * @generated from enum value: ARM_V7 = 4; + */ + ARM_V7 = 4, +} +// Retrieve enum metadata with: proto3.getEnumType(Container_Architecture) +proto3.util.setEnumType(Container_Architecture, "flyteidl.core.Container.Architecture", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "AMD64" }, + { no: 2, name: "ARM64" }, + { no: 3, name: "ARM_V6" }, + { no: 4, name: "ARM_V7" }, +]); + +/** + * Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets) + * + * @generated from message flyteidl.core.IOStrategy + */ +export class IOStrategy extends Message { + /** + * Mode to use to manage downloads + * + * @generated from field: flyteidl.core.IOStrategy.DownloadMode download_mode = 1; + */ + downloadMode = IOStrategy_DownloadMode.DOWNLOAD_EAGER; + + /** + * Mode to use to manage uploads + * + * @generated from field: flyteidl.core.IOStrategy.UploadMode upload_mode = 2; + */ + uploadMode = IOStrategy_UploadMode.UPLOAD_ON_EXIT; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.IOStrategy"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "download_mode", kind: "enum", T: proto3.getEnumType(IOStrategy_DownloadMode) }, + { no: 2, name: "upload_mode", kind: "enum", T: proto3.getEnumType(IOStrategy_UploadMode) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): IOStrategy { + return new IOStrategy().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): IOStrategy { + return new IOStrategy().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): IOStrategy { + return new IOStrategy().fromJsonString(jsonString, options); + } + + static equals(a: IOStrategy | PlainMessage | undefined, b: IOStrategy | PlainMessage | undefined): boolean { + return proto3.util.equals(IOStrategy, a, b); + } +} + +/** + * Mode to use for downloading + * + * @generated from enum flyteidl.core.IOStrategy.DownloadMode + */ +export enum IOStrategy_DownloadMode { + /** + * All data will be downloaded before the main container is executed + * + * @generated from enum value: DOWNLOAD_EAGER = 0; + */ + DOWNLOAD_EAGER = 0, + + /** + * Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details + * + * @generated from enum value: DOWNLOAD_STREAM = 1; + */ + DOWNLOAD_STREAM = 1, + + /** + * Large objects (offloaded) will not be downloaded + * + * @generated from enum value: DO_NOT_DOWNLOAD = 2; + */ + DO_NOT_DOWNLOAD = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(IOStrategy_DownloadMode) +proto3.util.setEnumType(IOStrategy_DownloadMode, "flyteidl.core.IOStrategy.DownloadMode", [ + { no: 0, name: "DOWNLOAD_EAGER" }, + { no: 1, name: "DOWNLOAD_STREAM" }, + { no: 2, name: "DO_NOT_DOWNLOAD" }, +]); + +/** + * Mode to use for uploading + * + * @generated from enum flyteidl.core.IOStrategy.UploadMode + */ +export enum IOStrategy_UploadMode { + /** + * All data will be uploaded after the main container exits + * + * @generated from enum value: UPLOAD_ON_EXIT = 0; + */ + UPLOAD_ON_EXIT = 0, + + /** + * Data will be uploaded as it appears. Refer to protocol specification for details + * + * @generated from enum value: UPLOAD_EAGER = 1; + */ + UPLOAD_EAGER = 1, + + /** + * Data will not be uploaded, only references will be written + * + * @generated from enum value: DO_NOT_UPLOAD = 2; + */ + DO_NOT_UPLOAD = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(IOStrategy_UploadMode) +proto3.util.setEnumType(IOStrategy_UploadMode, "flyteidl.core.IOStrategy.UploadMode", [ + { no: 0, name: "UPLOAD_ON_EXIT" }, + { no: 1, name: "UPLOAD_EAGER" }, + { no: 2, name: "DO_NOT_UPLOAD" }, +]); + +/** + * This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. + * Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path + * Any outputs generated by the user container - within output_path are automatically uploaded. + * + * @generated from message flyteidl.core.DataLoadingConfig + */ +export class DataLoadingConfig extends Message { + /** + * Flag enables DataLoading Config. If this is not set, data loading will not be used! + * + * @generated from field: bool enabled = 1; + */ + enabled = false; + + /** + * File system path (start at root). This folder will contain all the inputs exploded to a separate file. + * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like + * /var/flyte/inputs/inputs. .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations + * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format + * /var/flyte/inputs/y -> Y is a file in Binary format + * /var/flyte/inputs/z/... -> Note Z itself is a directory + * More information about the protocol - refer to docs #TODO reference docs here + * + * @generated from field: string input_path = 2; + */ + inputPath = ""; + + /** + * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file + * + * @generated from field: string output_path = 3; + */ + outputPath = ""; + + /** + * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values. + * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding + * + * @generated from field: flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; + */ + format = DataLoadingConfig_LiteralMapFormat.JSON; + + /** + * @generated from field: flyteidl.core.IOStrategy io_strategy = 5; + */ + ioStrategy?: IOStrategy; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.DataLoadingConfig"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "input_path", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "output_path", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "format", kind: "enum", T: proto3.getEnumType(DataLoadingConfig_LiteralMapFormat) }, + { no: 5, name: "io_strategy", kind: "message", T: IOStrategy }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DataLoadingConfig { + return new DataLoadingConfig().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DataLoadingConfig { + return new DataLoadingConfig().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DataLoadingConfig { + return new DataLoadingConfig().fromJsonString(jsonString, options); + } + + static equals(a: DataLoadingConfig | PlainMessage | undefined, b: DataLoadingConfig | PlainMessage | undefined): boolean { + return proto3.util.equals(DataLoadingConfig, a, b); + } +} + +/** + * LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers. + * If the user has access to the protocol buffer definitions, it is recommended to use the PROTO format. + * JSON and YAML do not need any protobuf definitions to read it + * All remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem) + * + * @generated from enum flyteidl.core.DataLoadingConfig.LiteralMapFormat + */ +export enum DataLoadingConfig_LiteralMapFormat { + /** + * JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html + * + * @generated from enum value: JSON = 0; + */ + JSON = 0, + + /** + * @generated from enum value: YAML = 1; + */ + YAML = 1, + + /** + * Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core + * + * @generated from enum value: PROTO = 2; + */ + PROTO = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(DataLoadingConfig_LiteralMapFormat) +proto3.util.setEnumType(DataLoadingConfig_LiteralMapFormat, "flyteidl.core.DataLoadingConfig.LiteralMapFormat", [ + { no: 0, name: "JSON" }, + { no: 1, name: "YAML" }, + { no: 2, name: "PROTO" }, +]); + +/** + * Defines a pod spec and additional pod metadata that is created when a task is executed. + * + * @generated from message flyteidl.core.K8sPod + */ +export class K8sPod extends Message { + /** + * Contains additional metadata for building a kubernetes pod. + * + * @generated from field: flyteidl.core.K8sObjectMetadata metadata = 1; + */ + metadata?: K8sObjectMetadata; + + /** + * Defines the primary pod spec created when a task is executed. + * This should be a JSON-marshalled pod spec, which can be defined in + * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936 + * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py + * + * @generated from field: google.protobuf.Struct pod_spec = 2; + */ + podSpec?: Struct; + + /** + * BETA: Optional configuration for DataLoading. If not specified, then default values are used. + * This makes it possible to to run a completely portable container, that uses inputs and outputs + * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment. + * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories + * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation + * to understand the default paths. + * Only K8s + * + * @generated from field: flyteidl.core.DataLoadingConfig data_config = 3; + */ + dataConfig?: DataLoadingConfig; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.K8sPod"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "metadata", kind: "message", T: K8sObjectMetadata }, + { no: 2, name: "pod_spec", kind: "message", T: Struct }, + { no: 3, name: "data_config", kind: "message", T: DataLoadingConfig }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): K8sPod { + return new K8sPod().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): K8sPod { + return new K8sPod().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): K8sPod { + return new K8sPod().fromJsonString(jsonString, options); + } + + static equals(a: K8sPod | PlainMessage | undefined, b: K8sPod | PlainMessage | undefined): boolean { + return proto3.util.equals(K8sPod, a, b); + } +} + +/** + * Metadata for building a kubernetes object when a task is executed. + * + * @generated from message flyteidl.core.K8sObjectMetadata + */ +export class K8sObjectMetadata extends Message { + /** + * Optional labels to add to the pod definition. + * + * @generated from field: map labels = 1; + */ + labels: { [key: string]: string } = {}; + + /** + * Optional annotations to add to the pod definition. + * + * @generated from field: map annotations = 2; + */ + annotations: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.K8sObjectMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 2, name: "annotations", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): K8sObjectMetadata { + return new K8sObjectMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): K8sObjectMetadata { + return new K8sObjectMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): K8sObjectMetadata { + return new K8sObjectMetadata().fromJsonString(jsonString, options); + } + + static equals(a: K8sObjectMetadata | PlainMessage | undefined, b: K8sObjectMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(K8sObjectMetadata, a, b); + } +} + +/** + * Sql represents a generic sql workload with a statement and dialect. + * + * @generated from message flyteidl.core.Sql + */ +export class Sql extends Message { + /** + * The actual query to run, the query can have templated parameters. + * We use Flyte's Golang templating format for Query templating. + * Refer to the templating documentation. + * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py + * For example, + * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet + * select * + * from my_table + * where ds = '{{ .Inputs.ds }}' + * + * @generated from field: string statement = 1; + */ + statement = ""; + + /** + * @generated from field: flyteidl.core.Sql.Dialect dialect = 2; + */ + dialect = Sql_Dialect.UNDEFINED; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Sql"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "statement", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "dialect", kind: "enum", T: proto3.getEnumType(Sql_Dialect) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Sql { + return new Sql().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Sql { + return new Sql().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Sql { + return new Sql().fromJsonString(jsonString, options); + } + + static equals(a: Sql | PlainMessage | undefined, b: Sql | PlainMessage | undefined): boolean { + return proto3.util.equals(Sql, a, b); + } +} + +/** + * The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid + * expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. + * We support the following dialect: ansi, hive. + * + * @generated from enum flyteidl.core.Sql.Dialect + */ +export enum Sql_Dialect { + /** + * @generated from enum value: UNDEFINED = 0; + */ + UNDEFINED = 0, + + /** + * @generated from enum value: ANSI = 1; + */ + ANSI = 1, + + /** + * @generated from enum value: HIVE = 2; + */ + HIVE = 2, + + /** + * @generated from enum value: OTHER = 3; + */ + OTHER = 3, +} +// Retrieve enum metadata with: proto3.getEnumType(Sql_Dialect) +proto3.util.setEnumType(Sql_Dialect, "flyteidl.core.Sql.Dialect", [ + { no: 0, name: "UNDEFINED" }, + { no: 1, name: "ANSI" }, + { no: 2, name: "HIVE" }, + { no: 3, name: "OTHER" }, +]); + diff --git a/flyteidl/gen/pb-es/flyteidl/core/types_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/types_pb.ts new file mode 100644 index 0000000000..f311fa0692 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/types_pb.ts @@ -0,0 +1,875 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/types.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Struct } from "@bufbuild/protobuf"; + +/** + * Define a set of simple types. + * + * @generated from enum flyteidl.core.SimpleType + */ +export enum SimpleType { + /** + * @generated from enum value: NONE = 0; + */ + NONE = 0, + + /** + * @generated from enum value: INTEGER = 1; + */ + INTEGER = 1, + + /** + * @generated from enum value: FLOAT = 2; + */ + FLOAT = 2, + + /** + * @generated from enum value: STRING = 3; + */ + STRING = 3, + + /** + * @generated from enum value: BOOLEAN = 4; + */ + BOOLEAN = 4, + + /** + * @generated from enum value: DATETIME = 5; + */ + DATETIME = 5, + + /** + * @generated from enum value: DURATION = 6; + */ + DURATION = 6, + + /** + * @generated from enum value: BINARY = 7; + */ + BINARY = 7, + + /** + * @generated from enum value: ERROR = 8; + */ + ERROR = 8, + + /** + * @generated from enum value: STRUCT = 9; + */ + STRUCT = 9, +} +// Retrieve enum metadata with: proto3.getEnumType(SimpleType) +proto3.util.setEnumType(SimpleType, "flyteidl.core.SimpleType", [ + { no: 0, name: "NONE" }, + { no: 1, name: "INTEGER" }, + { no: 2, name: "FLOAT" }, + { no: 3, name: "STRING" }, + { no: 4, name: "BOOLEAN" }, + { no: 5, name: "DATETIME" }, + { no: 6, name: "DURATION" }, + { no: 7, name: "BINARY" }, + { no: 8, name: "ERROR" }, + { no: 9, name: "STRUCT" }, +]); + +/** + * Defines schema columns and types to strongly type-validate schemas interoperability. + * + * @generated from message flyteidl.core.SchemaType + */ +export class SchemaType extends Message { + /** + * A list of ordered columns this schema comprises of. + * + * @generated from field: repeated flyteidl.core.SchemaType.SchemaColumn columns = 3; + */ + columns: SchemaType_SchemaColumn[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.SchemaType"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 3, name: "columns", kind: "message", T: SchemaType_SchemaColumn, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SchemaType { + return new SchemaType().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SchemaType { + return new SchemaType().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SchemaType { + return new SchemaType().fromJsonString(jsonString, options); + } + + static equals(a: SchemaType | PlainMessage | undefined, b: SchemaType | PlainMessage | undefined): boolean { + return proto3.util.equals(SchemaType, a, b); + } +} + +/** + * @generated from message flyteidl.core.SchemaType.SchemaColumn + */ +export class SchemaType_SchemaColumn extends Message { + /** + * A unique name -within the schema type- for the column + * + * @generated from field: string name = 1; + */ + name = ""; + + /** + * The column type. This allows a limited set of types currently. + * + * @generated from field: flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; + */ + type = SchemaType_SchemaColumn_SchemaColumnType.INTEGER; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.SchemaType.SchemaColumn"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(SchemaType_SchemaColumn_SchemaColumnType) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SchemaType_SchemaColumn { + return new SchemaType_SchemaColumn().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SchemaType_SchemaColumn { + return new SchemaType_SchemaColumn().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SchemaType_SchemaColumn { + return new SchemaType_SchemaColumn().fromJsonString(jsonString, options); + } + + static equals(a: SchemaType_SchemaColumn | PlainMessage | undefined, b: SchemaType_SchemaColumn | PlainMessage | undefined): boolean { + return proto3.util.equals(SchemaType_SchemaColumn, a, b); + } +} + +/** + * @generated from enum flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType + */ +export enum SchemaType_SchemaColumn_SchemaColumnType { + /** + * @generated from enum value: INTEGER = 0; + */ + INTEGER = 0, + + /** + * @generated from enum value: FLOAT = 1; + */ + FLOAT = 1, + + /** + * @generated from enum value: STRING = 2; + */ + STRING = 2, + + /** + * @generated from enum value: BOOLEAN = 3; + */ + BOOLEAN = 3, + + /** + * @generated from enum value: DATETIME = 4; + */ + DATETIME = 4, + + /** + * @generated from enum value: DURATION = 5; + */ + DURATION = 5, +} +// Retrieve enum metadata with: proto3.getEnumType(SchemaType_SchemaColumn_SchemaColumnType) +proto3.util.setEnumType(SchemaType_SchemaColumn_SchemaColumnType, "flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType", [ + { no: 0, name: "INTEGER" }, + { no: 1, name: "FLOAT" }, + { no: 2, name: "STRING" }, + { no: 3, name: "BOOLEAN" }, + { no: 4, name: "DATETIME" }, + { no: 5, name: "DURATION" }, +]); + +/** + * @generated from message flyteidl.core.StructuredDatasetType + */ +export class StructuredDatasetType extends Message { + /** + * A list of ordered columns this schema comprises of. + * + * @generated from field: repeated flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; + */ + columns: StructuredDatasetType_DatasetColumn[] = []; + + /** + * This is the storage format, the format of the bits at rest + * parquet, feather, csv, etc. + * For two types to be compatible, the format will need to be an exact match. + * + * @generated from field: string format = 2; + */ + format = ""; + + /** + * This is a string representing the type that the bytes in external_schema_bytes are formatted in. + * This is an optional field that will not be used for type checking. + * + * @generated from field: string external_schema_type = 3; + */ + externalSchemaType = ""; + + /** + * The serialized bytes of a third-party schema library like Arrow. + * This is an optional field that will not be used for type checking. + * + * @generated from field: bytes external_schema_bytes = 4; + */ + externalSchemaBytes = new Uint8Array(0); + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.StructuredDatasetType"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "columns", kind: "message", T: StructuredDatasetType_DatasetColumn, repeated: true }, + { no: 2, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "external_schema_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "external_schema_bytes", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): StructuredDatasetType { + return new StructuredDatasetType().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): StructuredDatasetType { + return new StructuredDatasetType().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): StructuredDatasetType { + return new StructuredDatasetType().fromJsonString(jsonString, options); + } + + static equals(a: StructuredDatasetType | PlainMessage | undefined, b: StructuredDatasetType | PlainMessage | undefined): boolean { + return proto3.util.equals(StructuredDatasetType, a, b); + } +} + +/** + * @generated from message flyteidl.core.StructuredDatasetType.DatasetColumn + */ +export class StructuredDatasetType_DatasetColumn extends Message { + /** + * A unique name within the schema type for the column. + * + * @generated from field: string name = 1; + */ + name = ""; + + /** + * The column type. + * + * @generated from field: flyteidl.core.LiteralType literal_type = 2; + */ + literalType?: LiteralType; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.StructuredDatasetType.DatasetColumn"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "literal_type", kind: "message", T: LiteralType }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): StructuredDatasetType_DatasetColumn { + return new StructuredDatasetType_DatasetColumn().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): StructuredDatasetType_DatasetColumn { + return new StructuredDatasetType_DatasetColumn().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): StructuredDatasetType_DatasetColumn { + return new StructuredDatasetType_DatasetColumn().fromJsonString(jsonString, options); + } + + static equals(a: StructuredDatasetType_DatasetColumn | PlainMessage | undefined, b: StructuredDatasetType_DatasetColumn | PlainMessage | undefined): boolean { + return proto3.util.equals(StructuredDatasetType_DatasetColumn, a, b); + } +} + +/** + * Defines type behavior for blob objects + * + * @generated from message flyteidl.core.BlobType + */ +export class BlobType extends Message { + /** + * Format can be a free form string understood by SDK/UI etc like + * csv, parquet etc + * + * @generated from field: string format = 1; + */ + format = ""; + + /** + * @generated from field: flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; + */ + dimensionality = BlobType_BlobDimensionality.SINGLE; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.BlobType"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "format", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "dimensionality", kind: "enum", T: proto3.getEnumType(BlobType_BlobDimensionality) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): BlobType { + return new BlobType().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): BlobType { + return new BlobType().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): BlobType { + return new BlobType().fromJsonString(jsonString, options); + } + + static equals(a: BlobType | PlainMessage | undefined, b: BlobType | PlainMessage | undefined): boolean { + return proto3.util.equals(BlobType, a, b); + } +} + +/** + * @generated from enum flyteidl.core.BlobType.BlobDimensionality + */ +export enum BlobType_BlobDimensionality { + /** + * @generated from enum value: SINGLE = 0; + */ + SINGLE = 0, + + /** + * @generated from enum value: MULTIPART = 1; + */ + MULTIPART = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(BlobType_BlobDimensionality) +proto3.util.setEnumType(BlobType_BlobDimensionality, "flyteidl.core.BlobType.BlobDimensionality", [ + { no: 0, name: "SINGLE" }, + { no: 1, name: "MULTIPART" }, +]); + +/** + * Enables declaring enum types, with predefined string values + * For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish + * To provide no defaults, make the first value as undefined. + * + * @generated from message flyteidl.core.EnumType + */ +export class EnumType extends Message { + /** + * Predefined set of enum values. + * + * @generated from field: repeated string values = 1; + */ + values: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.EnumType"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "values", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): EnumType { + return new EnumType().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): EnumType { + return new EnumType().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): EnumType { + return new EnumType().fromJsonString(jsonString, options); + } + + static equals(a: EnumType | PlainMessage | undefined, b: EnumType | PlainMessage | undefined): boolean { + return proto3.util.equals(EnumType, a, b); + } +} + +/** + * Defines a tagged union type, also known as a variant (and formally as the sum type). + * + * A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag + * A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by + * storing the varaint's tag with the literal value and can be examined in runtime. + * + * Type S is typically written as + * S := Apple A | Banana B | Cantaloupe C | ... + * + * Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value: + * Optional X := X | Null + * + * See also: https://en.wikipedia.org/wiki/Tagged_union + * + * @generated from message flyteidl.core.UnionType + */ +export class UnionType extends Message { + /** + * Predefined set of variants in union. + * + * @generated from field: repeated flyteidl.core.LiteralType variants = 1; + */ + variants: LiteralType[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.UnionType"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "variants", kind: "message", T: LiteralType, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): UnionType { + return new UnionType().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): UnionType { + return new UnionType().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): UnionType { + return new UnionType().fromJsonString(jsonString, options); + } + + static equals(a: UnionType | PlainMessage | undefined, b: UnionType | PlainMessage | undefined): boolean { + return proto3.util.equals(UnionType, a, b); + } +} + +/** + * Hints to improve type matching + * e.g. allows distinguishing output from custom type transformers + * even if the underlying IDL serialization matches. + * + * @generated from message flyteidl.core.TypeStructure + */ +export class TypeStructure extends Message { + /** + * Must exactly match for types to be castable + * + * @generated from field: string tag = 1; + */ + tag = ""; + + /** + * dataclass_type only exists for dataclasses. + * This is used to resolve the type of the fields of dataclass + * The key is the field name, and the value is the literal type of the field + * e.g. For dataclass Foo, with fields a, and a is a string + * Foo.a will be resolved as a literal type of string from dataclass_type + * + * @generated from field: map dataclass_type = 2; + */ + dataclassType: { [key: string]: LiteralType } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TypeStructure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "dataclass_type", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: LiteralType} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TypeStructure { + return new TypeStructure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TypeStructure { + return new TypeStructure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TypeStructure { + return new TypeStructure().fromJsonString(jsonString, options); + } + + static equals(a: TypeStructure | PlainMessage | undefined, b: TypeStructure | PlainMessage | undefined): boolean { + return proto3.util.equals(TypeStructure, a, b); + } +} + +/** + * TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs. + * + * @generated from message flyteidl.core.TypeAnnotation + */ +export class TypeAnnotation extends Message { + /** + * A arbitrary JSON payload to describe a type. + * + * @generated from field: google.protobuf.Struct annotations = 1; + */ + annotations?: Struct; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TypeAnnotation"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "annotations", kind: "message", T: Struct }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TypeAnnotation { + return new TypeAnnotation().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TypeAnnotation { + return new TypeAnnotation().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TypeAnnotation { + return new TypeAnnotation().fromJsonString(jsonString, options); + } + + static equals(a: TypeAnnotation | PlainMessage | undefined, b: TypeAnnotation | PlainMessage | undefined): boolean { + return proto3.util.equals(TypeAnnotation, a, b); + } +} + +/** + * Defines a strong type to allow type checking between interfaces. + * + * @generated from message flyteidl.core.LiteralType + */ +export class LiteralType extends Message { + /** + * @generated from oneof flyteidl.core.LiteralType.type + */ + type: { + /** + * A simple type that can be compared one-to-one with another. + * + * @generated from field: flyteidl.core.SimpleType simple = 1; + */ + value: SimpleType; + case: "simple"; + } | { + /** + * A complex type that requires matching of inner fields. + * + * @generated from field: flyteidl.core.SchemaType schema = 2; + */ + value: SchemaType; + case: "schema"; + } | { + /** + * Defines the type of the value of a collection. Only homogeneous collections are allowed. + * + * @generated from field: flyteidl.core.LiteralType collection_type = 3; + */ + value: LiteralType; + case: "collectionType"; + } | { + /** + * Defines the type of the value of a map type. The type of the key is always a string. + * + * @generated from field: flyteidl.core.LiteralType map_value_type = 4; + */ + value: LiteralType; + case: "mapValueType"; + } | { + /** + * A blob might have specialized implementation details depending on associated metadata. + * + * @generated from field: flyteidl.core.BlobType blob = 5; + */ + value: BlobType; + case: "blob"; + } | { + /** + * Defines an enum with pre-defined string values. + * + * @generated from field: flyteidl.core.EnumType enum_type = 7; + */ + value: EnumType; + case: "enumType"; + } | { + /** + * Generalized schema support + * + * @generated from field: flyteidl.core.StructuredDatasetType structured_dataset_type = 8; + */ + value: StructuredDatasetType; + case: "structuredDatasetType"; + } | { + /** + * Defines an union type with pre-defined LiteralTypes. + * + * @generated from field: flyteidl.core.UnionType union_type = 10; + */ + value: UnionType; + case: "unionType"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by + * consumers to identify special behavior or display extended information for the type. + * + * @generated from field: google.protobuf.Struct metadata = 6; + */ + metadata?: Struct; + + /** + * This field contains arbitrary data that might have special semantic + * meaning for the client but does not effect internal flyte behavior. + * + * @generated from field: flyteidl.core.TypeAnnotation annotation = 9; + */ + annotation?: TypeAnnotation; + + /** + * Hints to improve type matching. + * + * @generated from field: flyteidl.core.TypeStructure structure = 11; + */ + structure?: TypeStructure; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.LiteralType"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "simple", kind: "enum", T: proto3.getEnumType(SimpleType), oneof: "type" }, + { no: 2, name: "schema", kind: "message", T: SchemaType, oneof: "type" }, + { no: 3, name: "collection_type", kind: "message", T: LiteralType, oneof: "type" }, + { no: 4, name: "map_value_type", kind: "message", T: LiteralType, oneof: "type" }, + { no: 5, name: "blob", kind: "message", T: BlobType, oneof: "type" }, + { no: 7, name: "enum_type", kind: "message", T: EnumType, oneof: "type" }, + { no: 8, name: "structured_dataset_type", kind: "message", T: StructuredDatasetType, oneof: "type" }, + { no: 10, name: "union_type", kind: "message", T: UnionType, oneof: "type" }, + { no: 6, name: "metadata", kind: "message", T: Struct }, + { no: 9, name: "annotation", kind: "message", T: TypeAnnotation }, + { no: 11, name: "structure", kind: "message", T: TypeStructure }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): LiteralType { + return new LiteralType().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): LiteralType { + return new LiteralType().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): LiteralType { + return new LiteralType().fromJsonString(jsonString, options); + } + + static equals(a: LiteralType | PlainMessage | undefined, b: LiteralType | PlainMessage | undefined): boolean { + return proto3.util.equals(LiteralType, a, b); + } +} + +/** + * A reference to an output produced by a node. The type can be retrieved -and validated- from + * the underlying interface of the node. + * + * @generated from message flyteidl.core.OutputReference + */ +export class OutputReference extends Message { + /** + * Node id must exist at the graph layer. + * + * @generated from field: string node_id = 1; + */ + nodeId = ""; + + /** + * Variable name must refer to an output variable for the node. + * + * @generated from field: string var = 2; + */ + var = ""; + + /** + * @generated from field: repeated flyteidl.core.PromiseAttribute attr_path = 3; + */ + attrPath: PromiseAttribute[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.OutputReference"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "var", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "attr_path", kind: "message", T: PromiseAttribute, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): OutputReference { + return new OutputReference().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): OutputReference { + return new OutputReference().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): OutputReference { + return new OutputReference().fromJsonString(jsonString, options); + } + + static equals(a: OutputReference | PlainMessage | undefined, b: OutputReference | PlainMessage | undefined): boolean { + return proto3.util.equals(OutputReference, a, b); + } +} + +/** + * @generated from message flyteidl.core.PromiseAttribute + */ +export class PromiseAttribute extends Message { + /** + * @generated from oneof flyteidl.core.PromiseAttribute.value + */ + value: { + /** + * @generated from field: string string_value = 1; + */ + value: string; + case: "stringValue"; + } | { + /** + * @generated from field: int32 int_value = 2; + */ + value: number; + case: "intValue"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.PromiseAttribute"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" }, + { no: 2, name: "int_value", kind: "scalar", T: 5 /* ScalarType.INT32 */, oneof: "value" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PromiseAttribute { + return new PromiseAttribute().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PromiseAttribute { + return new PromiseAttribute().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PromiseAttribute { + return new PromiseAttribute().fromJsonString(jsonString, options); + } + + static equals(a: PromiseAttribute | PlainMessage | undefined, b: PromiseAttribute | PlainMessage | undefined): boolean { + return proto3.util.equals(PromiseAttribute, a, b); + } +} + +/** + * Represents an error thrown from a node. + * + * @generated from message flyteidl.core.Error + */ +export class Error extends Message { + /** + * The node id that threw the error. + * + * @generated from field: string failed_node_id = 1; + */ + failedNodeId = ""; + + /** + * Error message thrown. + * + * @generated from field: string message = 2; + */ + message = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Error"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "failed_node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Error { + return new Error().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Error { + return new Error().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Error { + return new Error().fromJsonString(jsonString, options); + } + + static equals(a: Error | PlainMessage | undefined, b: Error | PlainMessage | undefined): boolean { + return proto3.util.equals(Error, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/workflow_closure_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/workflow_closure_pb.ts new file mode 100644 index 0000000000..7a550181f0 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/workflow_closure_pb.ts @@ -0,0 +1,60 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/workflow_closure.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { WorkflowTemplate } from "./workflow_pb.js"; +import { TaskTemplate } from "./tasks_pb.js"; + +/** + * Defines an enclosed package of workflow and tasks it references. + * + * @generated from message flyteidl.core.WorkflowClosure + */ +export class WorkflowClosure extends Message { + /** + * required. Workflow template. + * + * @generated from field: flyteidl.core.WorkflowTemplate workflow = 1; + */ + workflow?: WorkflowTemplate; + + /** + * optional. A collection of tasks referenced by the workflow. Only needed if the workflow + * references tasks. + * + * @generated from field: repeated flyteidl.core.TaskTemplate tasks = 2; + */ + tasks: TaskTemplate[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.WorkflowClosure"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "workflow", kind: "message", T: WorkflowTemplate }, + { no: 2, name: "tasks", kind: "message", T: TaskTemplate, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowClosure { + return new WorkflowClosure().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowClosure { + return new WorkflowClosure().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowClosure { + return new WorkflowClosure().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowClosure | PlainMessage | undefined, b: WorkflowClosure | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowClosure, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts new file mode 100644 index 0000000000..b48ea57cb6 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts @@ -0,0 +1,1110 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/core/workflow.proto (package flyteidl.core, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3 } from "@bufbuild/protobuf"; +import { BooleanExpression } from "./condition_pb.js"; +import { Error, LiteralType } from "./types_pb.js"; +import { Identifier } from "./identifier_pb.js"; +import { Binding, RetryStrategy } from "./literals_pb.js"; +import { QualityOfService } from "./execution_pb.js"; +import { TypedInterface } from "./interface_pb.js"; +import { ExtendedResources, Resources } from "./tasks_pb.js"; + +/** + * Defines a condition and the execution unit that should be executed if the condition is satisfied. + * + * @generated from message flyteidl.core.IfBlock + */ +export class IfBlock extends Message { + /** + * @generated from field: flyteidl.core.BooleanExpression condition = 1; + */ + condition?: BooleanExpression; + + /** + * @generated from field: flyteidl.core.Node then_node = 2; + */ + thenNode?: Node; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.IfBlock"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "condition", kind: "message", T: BooleanExpression }, + { no: 2, name: "then_node", kind: "message", T: Node }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): IfBlock { + return new IfBlock().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): IfBlock { + return new IfBlock().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): IfBlock { + return new IfBlock().fromJsonString(jsonString, options); + } + + static equals(a: IfBlock | PlainMessage | undefined, b: IfBlock | PlainMessage | undefined): boolean { + return proto3.util.equals(IfBlock, a, b); + } +} + +/** + * Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. + * If no conditions were satisfied, the else_node or the error will execute. + * + * @generated from message flyteidl.core.IfElseBlock + */ +export class IfElseBlock extends Message { + /** + * +required. First condition to evaluate. + * + * @generated from field: flyteidl.core.IfBlock case = 1; + */ + case?: IfBlock; + + /** + * +optional. Additional branches to evaluate. + * + * @generated from field: repeated flyteidl.core.IfBlock other = 2; + */ + other: IfBlock[] = []; + + /** + * +required. + * + * @generated from oneof flyteidl.core.IfElseBlock.default + */ + default: { + /** + * The node to execute in case none of the branches were taken. + * + * @generated from field: flyteidl.core.Node else_node = 3; + */ + value: Node; + case: "elseNode"; + } | { + /** + * An error to throw in case none of the branches were taken. + * + * @generated from field: flyteidl.core.Error error = 4; + */ + value: Error; + case: "error"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.IfElseBlock"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "case", kind: "message", T: IfBlock }, + { no: 2, name: "other", kind: "message", T: IfBlock, repeated: true }, + { no: 3, name: "else_node", kind: "message", T: Node, oneof: "default" }, + { no: 4, name: "error", kind: "message", T: Error, oneof: "default" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): IfElseBlock { + return new IfElseBlock().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): IfElseBlock { + return new IfElseBlock().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): IfElseBlock { + return new IfElseBlock().fromJsonString(jsonString, options); + } + + static equals(a: IfElseBlock | PlainMessage | undefined, b: IfElseBlock | PlainMessage | undefined): boolean { + return proto3.util.equals(IfElseBlock, a, b); + } +} + +/** + * BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at + * runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). + * + * @generated from message flyteidl.core.BranchNode + */ +export class BranchNode extends Message { + /** + * +required + * + * @generated from field: flyteidl.core.IfElseBlock if_else = 1; + */ + ifElse?: IfElseBlock; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.BranchNode"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "if_else", kind: "message", T: IfElseBlock }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): BranchNode { + return new BranchNode().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): BranchNode { + return new BranchNode().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): BranchNode { + return new BranchNode().fromJsonString(jsonString, options); + } + + static equals(a: BranchNode | PlainMessage | undefined, b: BranchNode | PlainMessage | undefined): boolean { + return proto3.util.equals(BranchNode, a, b); + } +} + +/** + * Refers to the task that the Node is to execute. + * + * @generated from message flyteidl.core.TaskNode + */ +export class TaskNode extends Message { + /** + * @generated from oneof flyteidl.core.TaskNode.reference + */ + reference: { + /** + * A globally unique identifier for the task. + * + * @generated from field: flyteidl.core.Identifier reference_id = 1; + */ + value: Identifier; + case: "referenceId"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Optional overrides applied at task execution time. + * + * @generated from field: flyteidl.core.TaskNodeOverrides overrides = 2; + */ + overrides?: TaskNodeOverrides; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TaskNode"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "reference_id", kind: "message", T: Identifier, oneof: "reference" }, + { no: 2, name: "overrides", kind: "message", T: TaskNodeOverrides }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskNode { + return new TaskNode().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskNode { + return new TaskNode().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskNode { + return new TaskNode().fromJsonString(jsonString, options); + } + + static equals(a: TaskNode | PlainMessage | undefined, b: TaskNode | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskNode, a, b); + } +} + +/** + * Refers to a the workflow the node is to execute. + * + * @generated from message flyteidl.core.WorkflowNode + */ +export class WorkflowNode extends Message { + /** + * @generated from oneof flyteidl.core.WorkflowNode.reference + */ + reference: { + /** + * A globally unique identifier for the launch plan. + * + * @generated from field: flyteidl.core.Identifier launchplan_ref = 1; + */ + value: Identifier; + case: "launchplanRef"; + } | { + /** + * Reference to a subworkflow, that should be defined with the compiler context + * + * @generated from field: flyteidl.core.Identifier sub_workflow_ref = 2; + */ + value: Identifier; + case: "subWorkflowRef"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.WorkflowNode"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "launchplan_ref", kind: "message", T: Identifier, oneof: "reference" }, + { no: 2, name: "sub_workflow_ref", kind: "message", T: Identifier, oneof: "reference" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowNode { + return new WorkflowNode().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowNode { + return new WorkflowNode().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowNode { + return new WorkflowNode().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowNode | PlainMessage | undefined, b: WorkflowNode | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowNode, a, b); + } +} + +/** + * ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean + * signal with the provided signal_id. + * + * @generated from message flyteidl.core.ApproveCondition + */ +export class ApproveCondition extends Message { + /** + * A unique identifier for the requested boolean signal. + * + * @generated from field: string signal_id = 1; + */ + signalId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ApproveCondition"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signal_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ApproveCondition { + return new ApproveCondition().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ApproveCondition { + return new ApproveCondition().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ApproveCondition { + return new ApproveCondition().fromJsonString(jsonString, options); + } + + static equals(a: ApproveCondition | PlainMessage | undefined, b: ApproveCondition | PlainMessage | undefined): boolean { + return proto3.util.equals(ApproveCondition, a, b); + } +} + +/** + * SignalCondition represents a dependency on an signal. + * + * @generated from message flyteidl.core.SignalCondition + */ +export class SignalCondition extends Message { + /** + * A unique identifier for the requested signal. + * + * @generated from field: string signal_id = 1; + */ + signalId = ""; + + /** + * A type denoting the required value type for this signal. + * + * @generated from field: flyteidl.core.LiteralType type = 2; + */ + type?: LiteralType; + + /** + * The variable name for the signal value in this nodes outputs. + * + * @generated from field: string output_variable_name = 3; + */ + outputVariableName = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.SignalCondition"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signal_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "type", kind: "message", T: LiteralType }, + { no: 3, name: "output_variable_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalCondition { + return new SignalCondition().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalCondition { + return new SignalCondition().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SignalCondition { + return new SignalCondition().fromJsonString(jsonString, options); + } + + static equals(a: SignalCondition | PlainMessage | undefined, b: SignalCondition | PlainMessage | undefined): boolean { + return proto3.util.equals(SignalCondition, a, b); + } +} + +/** + * SleepCondition represents a dependency on waiting for the specified duration. + * + * @generated from message flyteidl.core.SleepCondition + */ +export class SleepCondition extends Message { + /** + * The overall duration for this sleep. + * + * @generated from field: google.protobuf.Duration duration = 1; + */ + duration?: Duration; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.SleepCondition"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "duration", kind: "message", T: Duration }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SleepCondition { + return new SleepCondition().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SleepCondition { + return new SleepCondition().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SleepCondition { + return new SleepCondition().fromJsonString(jsonString, options); + } + + static equals(a: SleepCondition | PlainMessage | undefined, b: SleepCondition | PlainMessage | undefined): boolean { + return proto3.util.equals(SleepCondition, a, b); + } +} + +/** + * GateNode refers to the condition that is required for the gate to successfully complete. + * + * @generated from message flyteidl.core.GateNode + */ +export class GateNode extends Message { + /** + * @generated from oneof flyteidl.core.GateNode.condition + */ + condition: { + /** + * ApproveCondition represents a dependency on an external approval provided by a boolean signal. + * + * @generated from field: flyteidl.core.ApproveCondition approve = 1; + */ + value: ApproveCondition; + case: "approve"; + } | { + /** + * SignalCondition represents a dependency on an signal. + * + * @generated from field: flyteidl.core.SignalCondition signal = 2; + */ + value: SignalCondition; + case: "signal"; + } | { + /** + * SleepCondition represents a dependency on waiting for the specified duration. + * + * @generated from field: flyteidl.core.SleepCondition sleep = 3; + */ + value: SleepCondition; + case: "sleep"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.GateNode"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "approve", kind: "message", T: ApproveCondition, oneof: "condition" }, + { no: 2, name: "signal", kind: "message", T: SignalCondition, oneof: "condition" }, + { no: 3, name: "sleep", kind: "message", T: SleepCondition, oneof: "condition" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GateNode { + return new GateNode().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GateNode { + return new GateNode().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GateNode { + return new GateNode().fromJsonString(jsonString, options); + } + + static equals(a: GateNode | PlainMessage | undefined, b: GateNode | PlainMessage | undefined): boolean { + return proto3.util.equals(GateNode, a, b); + } +} + +/** + * ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input + * values. An ArrayNode can be executed with configurable parallelism (separate from the parent + * workflow) and can be configured to succeed when a certain number of sub-nodes succeed. + * + * @generated from message flyteidl.core.ArrayNode + */ +export class ArrayNode extends Message { + /** + * node is the sub-node that will be executed for each element in the array. + * + * @generated from field: flyteidl.core.Node node = 1; + */ + node?: Node; + + /** + * parallelism defines the minimum number of instances to bring up concurrently at any given + * point. Note that this is an optimistic restriction and that, due to network partitioning or + * other failures, the actual number of currently running instances might be more. This has to + * be a positive number if assigned. Default value is size. + * + * @generated from field: uint32 parallelism = 2; + */ + parallelism = 0; + + /** + * @generated from oneof flyteidl.core.ArrayNode.success_criteria + */ + successCriteria: { + /** + * min_successes is an absolute number of the minimum number of successful completions of + * sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful + * and outputs will be computed. This has to be a non-negative number if assigned. Default + * value is size (if specified). + * + * @generated from field: uint32 min_successes = 3; + */ + value: number; + case: "minSuccesses"; + } | { + /** + * If the array job size is not known beforehand, the min_success_ratio can instead be used + * to determine when an ArrayNode can be marked successful. + * + * @generated from field: float min_success_ratio = 4; + */ + value: number; + case: "minSuccessRatio"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.ArrayNode"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "node", kind: "message", T: Node }, + { no: 2, name: "parallelism", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "min_successes", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "success_criteria" }, + { no: 4, name: "min_success_ratio", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "success_criteria" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArrayNode { + return new ArrayNode().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArrayNode { + return new ArrayNode().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArrayNode { + return new ArrayNode().fromJsonString(jsonString, options); + } + + static equals(a: ArrayNode | PlainMessage | undefined, b: ArrayNode | PlainMessage | undefined): boolean { + return proto3.util.equals(ArrayNode, a, b); + } +} + +/** + * Defines extra information about the Node. + * + * @generated from message flyteidl.core.NodeMetadata + */ +export class NodeMetadata extends Message { + /** + * A friendly name for the Node + * + * @generated from field: string name = 1; + */ + name = ""; + + /** + * The overall timeout of a task. + * + * @generated from field: google.protobuf.Duration timeout = 4; + */ + timeout?: Duration; + + /** + * Number of retries per task. + * + * @generated from field: flyteidl.core.RetryStrategy retries = 5; + */ + retries?: RetryStrategy; + + /** + * Identify whether node is interruptible + * + * @generated from oneof flyteidl.core.NodeMetadata.interruptible_value + */ + interruptibleValue: { + /** + * @generated from field: bool interruptible = 6; + */ + value: boolean; + case: "interruptible"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.NodeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "timeout", kind: "message", T: Duration }, + { no: 5, name: "retries", kind: "message", T: RetryStrategy }, + { no: 6, name: "interruptible", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "interruptible_value" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeMetadata { + return new NodeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeMetadata { + return new NodeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeMetadata { + return new NodeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: NodeMetadata | PlainMessage | undefined, b: NodeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeMetadata, a, b); + } +} + +/** + * Links a variable to an alias. + * + * @generated from message flyteidl.core.Alias + */ +export class Alias extends Message { + /** + * Must match one of the output variable names on a node. + * + * @generated from field: string var = 1; + */ + var = ""; + + /** + * A workflow-level unique alias that downstream nodes can refer to in their input. + * + * @generated from field: string alias = 2; + */ + alias = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Alias"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "var", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "alias", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Alias { + return new Alias().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Alias { + return new Alias().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Alias { + return new Alias().fromJsonString(jsonString, options); + } + + static equals(a: Alias | PlainMessage | undefined, b: Alias | PlainMessage | undefined): boolean { + return proto3.util.equals(Alias, a, b); + } +} + +/** + * A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch + * node. + * + * @generated from message flyteidl.core.Node + */ +export class Node extends Message { + /** + * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved + * node ids that cannot be used by other nodes. + * + * @generated from field: string id = 1; + */ + id = ""; + + /** + * Extra metadata about the node. + * + * @generated from field: flyteidl.core.NodeMetadata metadata = 2; + */ + metadata?: NodeMetadata; + + /** + * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface + * must be fulfilled. + * + * @generated from field: repeated flyteidl.core.Binding inputs = 3; + */ + inputs: Binding[] = []; + + /** + * +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its + * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs + * field. + * + * @generated from field: repeated string upstream_node_ids = 4; + */ + upstreamNodeIds: string[] = []; + + /** + * +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes + * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this + * nodes outputs using the alias if one's specified. + * + * @generated from field: repeated flyteidl.core.Alias output_aliases = 5; + */ + outputAliases: Alias[] = []; + + /** + * Information about the target to execute in this node. + * + * @generated from oneof flyteidl.core.Node.target + */ + target: { + /** + * Information about the Task to execute in this node. + * + * @generated from field: flyteidl.core.TaskNode task_node = 6; + */ + value: TaskNode; + case: "taskNode"; + } | { + /** + * Information about the Workflow to execute in this mode. + * + * @generated from field: flyteidl.core.WorkflowNode workflow_node = 7; + */ + value: WorkflowNode; + case: "workflowNode"; + } | { + /** + * Information about the branch node to evaluate in this node. + * + * @generated from field: flyteidl.core.BranchNode branch_node = 8; + */ + value: BranchNode; + case: "branchNode"; + } | { + /** + * Information about the condition to evaluate in this node. + * + * @generated from field: flyteidl.core.GateNode gate_node = 9; + */ + value: GateNode; + case: "gateNode"; + } | { + /** + * Information about the sub-node executions for each value in the list of this nodes + * inputs values. + * + * @generated from field: flyteidl.core.ArrayNode array_node = 10; + */ + value: ArrayNode; + case: "arrayNode"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.Node"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "metadata", kind: "message", T: NodeMetadata }, + { no: 3, name: "inputs", kind: "message", T: Binding, repeated: true }, + { no: 4, name: "upstream_node_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 5, name: "output_aliases", kind: "message", T: Alias, repeated: true }, + { no: 6, name: "task_node", kind: "message", T: TaskNode, oneof: "target" }, + { no: 7, name: "workflow_node", kind: "message", T: WorkflowNode, oneof: "target" }, + { no: 8, name: "branch_node", kind: "message", T: BranchNode, oneof: "target" }, + { no: 9, name: "gate_node", kind: "message", T: GateNode, oneof: "target" }, + { no: 10, name: "array_node", kind: "message", T: ArrayNode, oneof: "target" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Node { + return new Node().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Node { + return new Node().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Node { + return new Node().fromJsonString(jsonString, options); + } + + static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean { + return proto3.util.equals(Node, a, b); + } +} + +/** + * This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not + * percolate down to child entities (like tasks) launched by the workflow. + * + * @generated from message flyteidl.core.WorkflowMetadata + */ +export class WorkflowMetadata extends Message { + /** + * Indicates the runtime priority of workflow executions. + * + * @generated from field: flyteidl.core.QualityOfService quality_of_service = 1; + */ + qualityOfService?: QualityOfService; + + /** + * Defines how the system should behave when a failure is detected in the workflow execution. + * + * @generated from field: flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; + */ + onFailure = WorkflowMetadata_OnFailurePolicy.FAIL_IMMEDIATELY; + + /** + * Arbitrary tags that allow users and the platform to store small but arbitrary labels + * + * @generated from field: map tags = 3; + */ + tags: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.WorkflowMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "quality_of_service", kind: "message", T: QualityOfService }, + { no: 2, name: "on_failure", kind: "enum", T: proto3.getEnumType(WorkflowMetadata_OnFailurePolicy) }, + { no: 3, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowMetadata { + return new WorkflowMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowMetadata { + return new WorkflowMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowMetadata { + return new WorkflowMetadata().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowMetadata | PlainMessage | undefined, b: WorkflowMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowMetadata, a, b); + } +} + +/** + * Failure Handling Strategy + * + * @generated from enum flyteidl.core.WorkflowMetadata.OnFailurePolicy + */ +export enum WorkflowMetadata_OnFailurePolicy { + /** + * FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically + * abort all currently running nodes and clean up resources before finally marking the workflow executions as + * failed. + * + * @generated from enum value: FAIL_IMMEDIATELY = 0; + */ + FAIL_IMMEDIATELY = 0, + + /** + * FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will + * not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. + * Other nodes that will be executed to completion before cleaning up resources and marking the workflow + * execution as failed. + * + * @generated from enum value: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1; + */ + FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(WorkflowMetadata_OnFailurePolicy) +proto3.util.setEnumType(WorkflowMetadata_OnFailurePolicy, "flyteidl.core.WorkflowMetadata.OnFailurePolicy", [ + { no: 0, name: "FAIL_IMMEDIATELY" }, + { no: 1, name: "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" }, +]); + +/** + * The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to + * a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it + * is only relevant when a task executes. The settings here are the defaults that are passed to all nodes + * unless explicitly overridden at the node layer. + * If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be + * added to both this object and the WorkflowMetadata object above. + * + * @generated from message flyteidl.core.WorkflowMetadataDefaults + */ +export class WorkflowMetadataDefaults extends Message { + /** + * Whether child nodes of the workflow are interruptible. + * + * @generated from field: bool interruptible = 1; + */ + interruptible = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.WorkflowMetadataDefaults"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "interruptible", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowMetadataDefaults { + return new WorkflowMetadataDefaults().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowMetadataDefaults { + return new WorkflowMetadataDefaults().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowMetadataDefaults { + return new WorkflowMetadataDefaults().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowMetadataDefaults | PlainMessage | undefined, b: WorkflowMetadataDefaults | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowMetadataDefaults, a, b); + } +} + +/** + * Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, + * directed acyclic graph. + * + * @generated from message flyteidl.core.WorkflowTemplate + */ +export class WorkflowTemplate extends Message { + /** + * A globally unique identifier for the workflow. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * Extra metadata about the workflow. + * + * @generated from field: flyteidl.core.WorkflowMetadata metadata = 2; + */ + metadata?: WorkflowMetadata; + + /** + * Defines a strongly typed interface for the Workflow. This can include some optional parameters. + * + * @generated from field: flyteidl.core.TypedInterface interface = 3; + */ + interface?: TypedInterface; + + /** + * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. + * + * @generated from field: repeated flyteidl.core.Node nodes = 4; + */ + nodes: Node[] = []; + + /** + * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or + * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow + * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to + * bind final outputs. + * Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can + * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling + * outputs from the output of a task. + * + * @generated from field: repeated flyteidl.core.Binding outputs = 5; + */ + outputs: Binding[] = []; + + /** + * +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. + * The interface of this node must match the Workflow interface with an additional input named 'error' of type + * pb.lyft.flyte.core.Error. + * + * @generated from field: flyteidl.core.Node failure_node = 6; + */ + failureNode?: Node; + + /** + * workflow defaults + * + * @generated from field: flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; + */ + metadataDefaults?: WorkflowMetadataDefaults; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.WorkflowTemplate"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "metadata", kind: "message", T: WorkflowMetadata }, + { no: 3, name: "interface", kind: "message", T: TypedInterface }, + { no: 4, name: "nodes", kind: "message", T: Node, repeated: true }, + { no: 5, name: "outputs", kind: "message", T: Binding, repeated: true }, + { no: 6, name: "failure_node", kind: "message", T: Node }, + { no: 7, name: "metadata_defaults", kind: "message", T: WorkflowMetadataDefaults }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowTemplate { + return new WorkflowTemplate().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowTemplate { + return new WorkflowTemplate().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowTemplate { + return new WorkflowTemplate().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowTemplate | PlainMessage | undefined, b: WorkflowTemplate | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowTemplate, a, b); + } +} + +/** + * Optional task node overrides that will be applied at task execution time. + * + * @generated from message flyteidl.core.TaskNodeOverrides + */ +export class TaskNodeOverrides extends Message { + /** + * A customizable interface to convey resources requested for a task container. + * + * @generated from field: flyteidl.core.Resources resources = 1; + */ + resources?: Resources; + + /** + * Overrides for all non-standard resources, not captured by + * v1.ResourceRequirements, to allocate to a task. + * + * @generated from field: flyteidl.core.ExtendedResources extended_resources = 2; + */ + extendedResources?: ExtendedResources; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.core.TaskNodeOverrides"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "resources", kind: "message", T: Resources }, + { no: 2, name: "extended_resources", kind: "message", T: ExtendedResources }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskNodeOverrides { + return new TaskNodeOverrides().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskNodeOverrides { + return new TaskNodeOverrides().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskNodeOverrides { + return new TaskNodeOverrides().fromJsonString(jsonString, options); + } + + static equals(a: TaskNodeOverrides | PlainMessage | undefined, b: TaskNodeOverrides | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskNodeOverrides, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/datacatalog/datacatalog_connect.ts b/flyteidl/gen/pb-es/flyteidl/datacatalog/datacatalog_connect.ts new file mode 100644 index 0000000000..932436b45d --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/datacatalog/datacatalog_connect.ts @@ -0,0 +1,145 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/datacatalog/datacatalog.proto (package datacatalog, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { AddTagRequest, AddTagResponse, CreateArtifactRequest, CreateArtifactResponse, CreateDatasetRequest, CreateDatasetResponse, GetArtifactRequest, GetArtifactResponse, GetDatasetRequest, GetDatasetResponse, GetOrExtendReservationRequest, GetOrExtendReservationResponse, ListArtifactsRequest, ListArtifactsResponse, ListDatasetsRequest, ListDatasetsResponse, ReleaseReservationRequest, ReleaseReservationResponse, UpdateArtifactRequest, UpdateArtifactResponse } from "./datacatalog_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * + * Data Catalog service definition + * Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions. + * Artifacts are associated with a Dataset, and can be tagged for retrieval. + * + * @generated from service datacatalog.DataCatalog + */ +export const DataCatalog = { + typeName: "datacatalog.DataCatalog", + methods: { + /** + * Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. + * Each dataset can have one or more artifacts + * + * @generated from rpc datacatalog.DataCatalog.CreateDataset + */ + createDataset: { + name: "CreateDataset", + I: CreateDatasetRequest, + O: CreateDatasetResponse, + kind: MethodKind.Unary, + }, + /** + * Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. + * + * @generated from rpc datacatalog.DataCatalog.GetDataset + */ + getDataset: { + name: "GetDataset", + I: GetDatasetRequest, + O: GetDatasetResponse, + kind: MethodKind.Unary, + }, + /** + * Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary + * files or data values + * + * @generated from rpc datacatalog.DataCatalog.CreateArtifact + */ + createArtifact: { + name: "CreateArtifact", + I: CreateArtifactRequest, + O: CreateArtifactResponse, + kind: MethodKind.Unary, + }, + /** + * Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. + * + * @generated from rpc datacatalog.DataCatalog.GetArtifact + */ + getArtifact: { + name: "GetArtifact", + I: GetArtifactRequest, + O: GetArtifactResponse, + kind: MethodKind.Unary, + }, + /** + * Associate a tag with an artifact. Tags are unique within a Dataset. + * + * @generated from rpc datacatalog.DataCatalog.AddTag + */ + addTag: { + name: "AddTag", + I: AddTagRequest, + O: AddTagResponse, + kind: MethodKind.Unary, + }, + /** + * Return a paginated list of artifacts + * + * @generated from rpc datacatalog.DataCatalog.ListArtifacts + */ + listArtifacts: { + name: "ListArtifacts", + I: ListArtifactsRequest, + O: ListArtifactsResponse, + kind: MethodKind.Unary, + }, + /** + * Return a paginated list of datasets + * + * @generated from rpc datacatalog.DataCatalog.ListDatasets + */ + listDatasets: { + name: "ListDatasets", + I: ListDatasetsRequest, + O: ListDatasetsResponse, + kind: MethodKind.Unary, + }, + /** + * Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage. + * + * @generated from rpc datacatalog.DataCatalog.UpdateArtifact + */ + updateArtifact: { + name: "UpdateArtifact", + I: UpdateArtifactRequest, + O: UpdateArtifactResponse, + kind: MethodKind.Unary, + }, + /** + * 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. + * + * @generated from rpc datacatalog.DataCatalog.GetOrExtendReservation + */ + getOrExtendReservation: { + name: "GetOrExtendReservation", + I: GetOrExtendReservationRequest, + O: GetOrExtendReservationResponse, + kind: MethodKind.Unary, + }, + /** + * Release the reservation when the task holding the spot fails so that the other tasks + * can grab the spot. + * + * @generated from rpc datacatalog.DataCatalog.ReleaseReservation + */ + releaseReservation: { + name: "ReleaseReservation", + I: ReleaseReservationRequest, + O: ReleaseReservationResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-es/flyteidl/datacatalog/datacatalog_pb.ts b/flyteidl/gen/pb-es/flyteidl/datacatalog/datacatalog_pb.ts new file mode 100644 index 0000000000..4e1cb2ed41 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/datacatalog/datacatalog_pb.ts @@ -0,0 +1,1940 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/datacatalog/datacatalog.proto (package datacatalog, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { Literal } from "../core/literals_pb.js"; + +/** + * + * Request message for creating a Dataset. + * + * @generated from message datacatalog.CreateDatasetRequest + */ +export class CreateDatasetRequest extends Message { + /** + * @generated from field: datacatalog.Dataset dataset = 1; + */ + dataset?: Dataset; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.CreateDatasetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset", kind: "message", T: Dataset }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateDatasetRequest { + return new CreateDatasetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateDatasetRequest { + return new CreateDatasetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateDatasetRequest { + return new CreateDatasetRequest().fromJsonString(jsonString, options); + } + + static equals(a: CreateDatasetRequest | PlainMessage | undefined, b: CreateDatasetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateDatasetRequest, a, b); + } +} + +/** + * + * Response message for creating a Dataset + * + * @generated from message datacatalog.CreateDatasetResponse + */ +export class CreateDatasetResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.CreateDatasetResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateDatasetResponse { + return new CreateDatasetResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateDatasetResponse { + return new CreateDatasetResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateDatasetResponse { + return new CreateDatasetResponse().fromJsonString(jsonString, options); + } + + static equals(a: CreateDatasetResponse | PlainMessage | undefined, b: CreateDatasetResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateDatasetResponse, a, b); + } +} + +/** + * + * Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier + * which is a combination of several fields. + * + * @generated from message datacatalog.GetDatasetRequest + */ +export class GetDatasetRequest extends Message { + /** + * @generated from field: datacatalog.DatasetID dataset = 1; + */ + dataset?: DatasetID; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.GetDatasetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset", kind: "message", T: DatasetID }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetDatasetRequest { + return new GetDatasetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetDatasetRequest { + return new GetDatasetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetDatasetRequest { + return new GetDatasetRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetDatasetRequest | PlainMessage | undefined, b: GetDatasetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetDatasetRequest, a, b); + } +} + +/** + * + * Response message for retrieving a Dataset. The response will include the metadata for the + * Dataset. + * + * @generated from message datacatalog.GetDatasetResponse + */ +export class GetDatasetResponse extends Message { + /** + * @generated from field: datacatalog.Dataset dataset = 1; + */ + dataset?: Dataset; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.GetDatasetResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset", kind: "message", T: Dataset }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetDatasetResponse { + return new GetDatasetResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetDatasetResponse { + return new GetDatasetResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetDatasetResponse { + return new GetDatasetResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetDatasetResponse | PlainMessage | undefined, b: GetDatasetResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetDatasetResponse, a, b); + } +} + +/** + * + * Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that + * can be one of artifact_id or tag. The result returned will include the artifact data and metadata + * associated with the artifact. + * + * @generated from message datacatalog.GetArtifactRequest + */ +export class GetArtifactRequest extends Message { + /** + * @generated from field: datacatalog.DatasetID dataset = 1; + */ + dataset?: DatasetID; + + /** + * @generated from oneof datacatalog.GetArtifactRequest.query_handle + */ + queryHandle: { + /** + * @generated from field: string artifact_id = 2; + */ + value: string; + case: "artifactId"; + } | { + /** + * @generated from field: string tag_name = 3; + */ + value: string; + case: "tagName"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.GetArtifactRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset", kind: "message", T: DatasetID }, + { no: 2, name: "artifact_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "query_handle" }, + { no: 3, name: "tag_name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "query_handle" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetArtifactRequest { + return new GetArtifactRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetArtifactRequest { + return new GetArtifactRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetArtifactRequest { + return new GetArtifactRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetArtifactRequest | PlainMessage | undefined, b: GetArtifactRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetArtifactRequest, a, b); + } +} + +/** + * + * Response message for retrieving an Artifact. The result returned will include the artifact data + * and metadata associated with the artifact. + * + * @generated from message datacatalog.GetArtifactResponse + */ +export class GetArtifactResponse extends Message { + /** + * @generated from field: datacatalog.Artifact artifact = 1; + */ + artifact?: Artifact; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.GetArtifactResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact", kind: "message", T: Artifact }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetArtifactResponse { + return new GetArtifactResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetArtifactResponse { + return new GetArtifactResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetArtifactResponse { + return new GetArtifactResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetArtifactResponse | PlainMessage | undefined, b: GetArtifactResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetArtifactResponse, a, b); + } +} + +/** + * + * Request message for creating an Artifact and its associated artifact Data. + * + * @generated from message datacatalog.CreateArtifactRequest + */ +export class CreateArtifactRequest extends Message { + /** + * @generated from field: datacatalog.Artifact artifact = 1; + */ + artifact?: Artifact; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.CreateArtifactRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact", kind: "message", T: Artifact }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateArtifactRequest { + return new CreateArtifactRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateArtifactRequest { + return new CreateArtifactRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateArtifactRequest { + return new CreateArtifactRequest().fromJsonString(jsonString, options); + } + + static equals(a: CreateArtifactRequest | PlainMessage | undefined, b: CreateArtifactRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateArtifactRequest, a, b); + } +} + +/** + * + * Response message for creating an Artifact. + * + * @generated from message datacatalog.CreateArtifactResponse + */ +export class CreateArtifactResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.CreateArtifactResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateArtifactResponse { + return new CreateArtifactResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateArtifactResponse { + return new CreateArtifactResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateArtifactResponse { + return new CreateArtifactResponse().fromJsonString(jsonString, options); + } + + static equals(a: CreateArtifactResponse | PlainMessage | undefined, b: CreateArtifactResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateArtifactResponse, a, b); + } +} + +/** + * + * Request message for tagging an Artifact. + * + * @generated from message datacatalog.AddTagRequest + */ +export class AddTagRequest extends Message { + /** + * @generated from field: datacatalog.Tag tag = 1; + */ + tag?: Tag; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.AddTagRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "tag", kind: "message", T: Tag }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AddTagRequest { + return new AddTagRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AddTagRequest { + return new AddTagRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AddTagRequest { + return new AddTagRequest().fromJsonString(jsonString, options); + } + + static equals(a: AddTagRequest | PlainMessage | undefined, b: AddTagRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(AddTagRequest, a, b); + } +} + +/** + * + * Response message for tagging an Artifact. + * + * @generated from message datacatalog.AddTagResponse + */ +export class AddTagResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.AddTagResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AddTagResponse { + return new AddTagResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AddTagResponse { + return new AddTagResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AddTagResponse { + return new AddTagResponse().fromJsonString(jsonString, options); + } + + static equals(a: AddTagResponse | PlainMessage | undefined, b: AddTagResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(AddTagResponse, a, b); + } +} + +/** + * List the artifacts that belong to the Dataset, optionally filtered using filtered expression. + * + * @generated from message datacatalog.ListArtifactsRequest + */ +export class ListArtifactsRequest extends Message { + /** + * Use a datasetID for which you want to retrieve the artifacts + * + * @generated from field: datacatalog.DatasetID dataset = 1; + */ + dataset?: DatasetID; + + /** + * Apply the filter expression to this query + * + * @generated from field: datacatalog.FilterExpression filter = 2; + */ + filter?: FilterExpression; + + /** + * Pagination options to get a page of artifacts + * + * @generated from field: datacatalog.PaginationOptions pagination = 3; + */ + pagination?: PaginationOptions; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ListArtifactsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset", kind: "message", T: DatasetID }, + { no: 2, name: "filter", kind: "message", T: FilterExpression }, + { no: 3, name: "pagination", kind: "message", T: PaginationOptions }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListArtifactsRequest { + return new ListArtifactsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListArtifactsRequest { + return new ListArtifactsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListArtifactsRequest { + return new ListArtifactsRequest().fromJsonString(jsonString, options); + } + + static equals(a: ListArtifactsRequest | PlainMessage | undefined, b: ListArtifactsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ListArtifactsRequest, a, b); + } +} + +/** + * Response to list artifacts + * + * @generated from message datacatalog.ListArtifactsResponse + */ +export class ListArtifactsResponse extends Message { + /** + * The list of artifacts + * + * @generated from field: repeated datacatalog.Artifact artifacts = 1; + */ + artifacts: Artifact[] = []; + + /** + * Token to use to request the next page, pass this into the next requests PaginationOptions + * + * @generated from field: string next_token = 2; + */ + nextToken = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ListArtifactsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifacts", kind: "message", T: Artifact, repeated: true }, + { no: 2, name: "next_token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListArtifactsResponse { + return new ListArtifactsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListArtifactsResponse { + return new ListArtifactsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListArtifactsResponse { + return new ListArtifactsResponse().fromJsonString(jsonString, options); + } + + static equals(a: ListArtifactsResponse | PlainMessage | undefined, b: ListArtifactsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ListArtifactsResponse, a, b); + } +} + +/** + * List the datasets for the given query + * + * @generated from message datacatalog.ListDatasetsRequest + */ +export class ListDatasetsRequest extends Message { + /** + * Apply the filter expression to this query + * + * @generated from field: datacatalog.FilterExpression filter = 1; + */ + filter?: FilterExpression; + + /** + * Pagination options to get a page of datasets + * + * @generated from field: datacatalog.PaginationOptions pagination = 2; + */ + pagination?: PaginationOptions; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ListDatasetsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "filter", kind: "message", T: FilterExpression }, + { no: 2, name: "pagination", kind: "message", T: PaginationOptions }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListDatasetsRequest { + return new ListDatasetsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListDatasetsRequest { + return new ListDatasetsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListDatasetsRequest { + return new ListDatasetsRequest().fromJsonString(jsonString, options); + } + + static equals(a: ListDatasetsRequest | PlainMessage | undefined, b: ListDatasetsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ListDatasetsRequest, a, b); + } +} + +/** + * List the datasets response with token for next pagination + * + * @generated from message datacatalog.ListDatasetsResponse + */ +export class ListDatasetsResponse extends Message { + /** + * The list of datasets + * + * @generated from field: repeated datacatalog.Dataset datasets = 1; + */ + datasets: Dataset[] = []; + + /** + * Token to use to request the next page, pass this into the next requests PaginationOptions + * + * @generated from field: string next_token = 2; + */ + nextToken = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ListDatasetsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "datasets", kind: "message", T: Dataset, repeated: true }, + { no: 2, name: "next_token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ListDatasetsResponse { + return new ListDatasetsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ListDatasetsResponse { + return new ListDatasetsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ListDatasetsResponse { + return new ListDatasetsResponse().fromJsonString(jsonString, options); + } + + static equals(a: ListDatasetsResponse | PlainMessage | undefined, b: ListDatasetsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ListDatasetsResponse, a, b); + } +} + +/** + * + * Request message for updating an Artifact and overwriting its associated ArtifactData. + * + * @generated from message datacatalog.UpdateArtifactRequest + */ +export class UpdateArtifactRequest extends Message { + /** + * ID of dataset the artifact is associated with + * + * @generated from field: datacatalog.DatasetID dataset = 1; + */ + dataset?: DatasetID; + + /** + * Either ID of artifact or name of tag to retrieve existing artifact from + * + * @generated from oneof datacatalog.UpdateArtifactRequest.query_handle + */ + queryHandle: { + /** + * @generated from field: string artifact_id = 2; + */ + value: string; + case: "artifactId"; + } | { + /** + * @generated from field: string tag_name = 3; + */ + value: string; + case: "tagName"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing + * ArtifactData entries will be removed from the underlying blob storage and database. + * + * @generated from field: repeated datacatalog.ArtifactData data = 4; + */ + data: ArtifactData[] = []; + + /** + * Update execution metadata(including execution domain, name, node, project data) when overwriting cache + * + * @generated from field: datacatalog.Metadata metadata = 5; + */ + metadata?: Metadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.UpdateArtifactRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset", kind: "message", T: DatasetID }, + { no: 2, name: "artifact_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "query_handle" }, + { no: 3, name: "tag_name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "query_handle" }, + { no: 4, name: "data", kind: "message", T: ArtifactData, repeated: true }, + { no: 5, name: "metadata", kind: "message", T: Metadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateArtifactRequest { + return new UpdateArtifactRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateArtifactRequest { + return new UpdateArtifactRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): UpdateArtifactRequest { + return new UpdateArtifactRequest().fromJsonString(jsonString, options); + } + + static equals(a: UpdateArtifactRequest | PlainMessage | undefined, b: UpdateArtifactRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(UpdateArtifactRequest, a, b); + } +} + +/** + * + * Response message for updating an Artifact. + * + * @generated from message datacatalog.UpdateArtifactResponse + */ +export class UpdateArtifactResponse extends Message { + /** + * The unique ID of the artifact updated + * + * @generated from field: string artifact_id = 1; + */ + artifactId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.UpdateArtifactResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateArtifactResponse { + return new UpdateArtifactResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateArtifactResponse { + return new UpdateArtifactResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): UpdateArtifactResponse { + return new UpdateArtifactResponse().fromJsonString(jsonString, options); + } + + static equals(a: UpdateArtifactResponse | PlainMessage | undefined, b: UpdateArtifactResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(UpdateArtifactResponse, a, b); + } +} + +/** + * + * ReservationID message that is composed of several string fields. + * + * @generated from message datacatalog.ReservationID + */ +export class ReservationID extends Message { + /** + * The unique ID for the reserved dataset + * + * @generated from field: datacatalog.DatasetID dataset_id = 1; + */ + datasetId?: DatasetID; + + /** + * The specific artifact tag for the reservation + * + * @generated from field: string tag_name = 2; + */ + tagName = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ReservationID"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "dataset_id", kind: "message", T: DatasetID }, + { no: 2, name: "tag_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ReservationID { + return new ReservationID().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ReservationID { + return new ReservationID().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ReservationID { + return new ReservationID().fromJsonString(jsonString, options); + } + + static equals(a: ReservationID | PlainMessage | undefined, b: ReservationID | PlainMessage | undefined): boolean { + return proto3.util.equals(ReservationID, a, b); + } +} + +/** + * Try to acquire or extend an artifact reservation. If an active reservation exists, retrieve that instance. + * + * @generated from message datacatalog.GetOrExtendReservationRequest + */ +export class GetOrExtendReservationRequest extends Message { + /** + * The unique ID for the reservation + * + * @generated from field: datacatalog.ReservationID reservation_id = 1; + */ + reservationId?: ReservationID; + + /** + * The unique ID of the owner for the reservation + * + * @generated from field: string owner_id = 2; + */ + ownerId = ""; + + /** + * Requested reservation extension heartbeat interval + * + * @generated from field: google.protobuf.Duration heartbeat_interval = 3; + */ + heartbeatInterval?: Duration; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.GetOrExtendReservationRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "reservation_id", kind: "message", T: ReservationID }, + { no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "heartbeat_interval", kind: "message", T: Duration }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetOrExtendReservationRequest { + return new GetOrExtendReservationRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetOrExtendReservationRequest { + return new GetOrExtendReservationRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetOrExtendReservationRequest { + return new GetOrExtendReservationRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetOrExtendReservationRequest | PlainMessage | undefined, b: GetOrExtendReservationRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetOrExtendReservationRequest, a, b); + } +} + +/** + * A reservation including owner, heartbeat interval, expiration timestamp, and various metadata. + * + * @generated from message datacatalog.Reservation + */ +export class Reservation extends Message { + /** + * The unique ID for the reservation + * + * @generated from field: datacatalog.ReservationID reservation_id = 1; + */ + reservationId?: ReservationID; + + /** + * The unique ID of the owner for the reservation + * + * @generated from field: string owner_id = 2; + */ + ownerId = ""; + + /** + * Recommended heartbeat interval to extend reservation + * + * @generated from field: google.protobuf.Duration heartbeat_interval = 3; + */ + heartbeatInterval?: Duration; + + /** + * Expiration timestamp of this reservation + * + * @generated from field: google.protobuf.Timestamp expires_at = 4; + */ + expiresAt?: Timestamp; + + /** + * Free-form metadata associated with the artifact + * + * @generated from field: datacatalog.Metadata metadata = 6; + */ + metadata?: Metadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.Reservation"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "reservation_id", kind: "message", T: ReservationID }, + { no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "heartbeat_interval", kind: "message", T: Duration }, + { no: 4, name: "expires_at", kind: "message", T: Timestamp }, + { no: 6, name: "metadata", kind: "message", T: Metadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Reservation { + return new Reservation().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Reservation { + return new Reservation().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Reservation { + return new Reservation().fromJsonString(jsonString, options); + } + + static equals(a: Reservation | PlainMessage | undefined, b: Reservation | PlainMessage | undefined): boolean { + return proto3.util.equals(Reservation, a, b); + } +} + +/** + * Response including either a newly minted reservation or the existing reservation + * + * @generated from message datacatalog.GetOrExtendReservationResponse + */ +export class GetOrExtendReservationResponse extends Message { + /** + * The reservation to be acquired or extended + * + * @generated from field: datacatalog.Reservation reservation = 1; + */ + reservation?: Reservation; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.GetOrExtendReservationResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "reservation", kind: "message", T: Reservation }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetOrExtendReservationResponse { + return new GetOrExtendReservationResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetOrExtendReservationResponse { + return new GetOrExtendReservationResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetOrExtendReservationResponse { + return new GetOrExtendReservationResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetOrExtendReservationResponse | PlainMessage | undefined, b: GetOrExtendReservationResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetOrExtendReservationResponse, a, b); + } +} + +/** + * Request to release reservation + * + * @generated from message datacatalog.ReleaseReservationRequest + */ +export class ReleaseReservationRequest extends Message { + /** + * The unique ID for the reservation + * + * @generated from field: datacatalog.ReservationID reservation_id = 1; + */ + reservationId?: ReservationID; + + /** + * The unique ID of the owner for the reservation + * + * @generated from field: string owner_id = 2; + */ + ownerId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ReleaseReservationRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "reservation_id", kind: "message", T: ReservationID }, + { no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ReleaseReservationRequest { + return new ReleaseReservationRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ReleaseReservationRequest { + return new ReleaseReservationRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ReleaseReservationRequest { + return new ReleaseReservationRequest().fromJsonString(jsonString, options); + } + + static equals(a: ReleaseReservationRequest | PlainMessage | undefined, b: ReleaseReservationRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ReleaseReservationRequest, a, b); + } +} + +/** + * Response to release reservation + * + * @generated from message datacatalog.ReleaseReservationResponse + */ +export class ReleaseReservationResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ReleaseReservationResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ReleaseReservationResponse { + return new ReleaseReservationResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ReleaseReservationResponse { + return new ReleaseReservationResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ReleaseReservationResponse { + return new ReleaseReservationResponse().fromJsonString(jsonString, options); + } + + static equals(a: ReleaseReservationResponse | PlainMessage | undefined, b: ReleaseReservationResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ReleaseReservationResponse, a, b); + } +} + +/** + * + * Dataset message. It is uniquely identified by DatasetID. + * + * @generated from message datacatalog.Dataset + */ +export class Dataset extends Message { + /** + * @generated from field: datacatalog.DatasetID id = 1; + */ + id?: DatasetID; + + /** + * @generated from field: datacatalog.Metadata metadata = 2; + */ + metadata?: Metadata; + + /** + * @generated from field: repeated string partitionKeys = 3; + */ + partitionKeys: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.Dataset"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: DatasetID }, + { no: 2, name: "metadata", kind: "message", T: Metadata }, + { no: 3, name: "partitionKeys", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Dataset { + return new Dataset().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Dataset { + return new Dataset().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Dataset { + return new Dataset().fromJsonString(jsonString, options); + } + + static equals(a: Dataset | PlainMessage | undefined, b: Dataset | PlainMessage | undefined): boolean { + return proto3.util.equals(Dataset, a, b); + } +} + +/** + * + * An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair + * + * @generated from message datacatalog.Partition + */ +export class Partition extends Message { + /** + * @generated from field: string key = 1; + */ + key = ""; + + /** + * @generated from field: string value = 2; + */ + value = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.Partition"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Partition { + return new Partition().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Partition { + return new Partition().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Partition { + return new Partition().fromJsonString(jsonString, options); + } + + static equals(a: Partition | PlainMessage | undefined, b: Partition | PlainMessage | undefined): boolean { + return proto3.util.equals(Partition, a, b); + } +} + +/** + * + * DatasetID message that is composed of several string fields. + * + * @generated from message datacatalog.DatasetID + */ +export class DatasetID extends Message { + /** + * The name of the project + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * The name of the dataset + * + * @generated from field: string name = 2; + */ + name = ""; + + /** + * The domain (eg. environment) + * + * @generated from field: string domain = 3; + */ + domain = ""; + + /** + * Version of the data schema + * + * @generated from field: string version = 4; + */ + version = ""; + + /** + * UUID for the dataset (if set the above fields are optional) + * + * @generated from field: string UUID = 5; + */ + UUID = ""; + + /** + * Optional, org key applied to the resource. + * + * @generated from field: string org = 6; + */ + org = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.DatasetID"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "UUID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DatasetID { + return new DatasetID().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DatasetID { + return new DatasetID().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DatasetID { + return new DatasetID().fromJsonString(jsonString, options); + } + + static equals(a: DatasetID | PlainMessage | undefined, b: DatasetID | PlainMessage | undefined): boolean { + return proto3.util.equals(DatasetID, a, b); + } +} + +/** + * + * Artifact message. It is composed of several string fields. + * + * @generated from message datacatalog.Artifact + */ +export class Artifact extends Message { + /** + * The unique ID of the artifact + * + * @generated from field: string id = 1; + */ + id = ""; + + /** + * The Dataset that the artifact belongs to + * + * @generated from field: datacatalog.DatasetID dataset = 2; + */ + dataset?: DatasetID; + + /** + * A list of data that is associated with the artifact + * + * @generated from field: repeated datacatalog.ArtifactData data = 3; + */ + data: ArtifactData[] = []; + + /** + * Free-form metadata associated with the artifact + * + * @generated from field: datacatalog.Metadata metadata = 4; + */ + metadata?: Metadata; + + /** + * @generated from field: repeated datacatalog.Partition partitions = 5; + */ + partitions: Partition[] = []; + + /** + * @generated from field: repeated datacatalog.Tag tags = 6; + */ + tags: Tag[] = []; + + /** + * creation timestamp of artifact, autogenerated by service + * + * @generated from field: google.protobuf.Timestamp created_at = 7; + */ + createdAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.Artifact"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "dataset", kind: "message", T: DatasetID }, + { no: 3, name: "data", kind: "message", T: ArtifactData, repeated: true }, + { no: 4, name: "metadata", kind: "message", T: Metadata }, + { no: 5, name: "partitions", kind: "message", T: Partition, repeated: true }, + { no: 6, name: "tags", kind: "message", T: Tag, repeated: true }, + { no: 7, name: "created_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Artifact { + return new Artifact().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Artifact { + return new Artifact().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Artifact { + return new Artifact().fromJsonString(jsonString, options); + } + + static equals(a: Artifact | PlainMessage | undefined, b: Artifact | PlainMessage | undefined): boolean { + return proto3.util.equals(Artifact, a, b); + } +} + +/** + * + * ArtifactData that belongs to an artifact + * + * @generated from message datacatalog.ArtifactData + */ +export class ArtifactData extends Message { + /** + * @generated from field: string name = 1; + */ + name = ""; + + /** + * @generated from field: flyteidl.core.Literal value = 2; + */ + value?: Literal; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ArtifactData"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "value", kind: "message", T: Literal }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArtifactData { + return new ArtifactData().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArtifactData { + return new ArtifactData().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArtifactData { + return new ArtifactData().fromJsonString(jsonString, options); + } + + static equals(a: ArtifactData | PlainMessage | undefined, b: ArtifactData | PlainMessage | undefined): boolean { + return proto3.util.equals(ArtifactData, a, b); + } +} + +/** + * + * Tag message that is unique to a Dataset. It is associated to a single artifact and + * can be retrieved by name later. + * + * @generated from message datacatalog.Tag + */ +export class Tag extends Message { + /** + * Name of tag + * + * @generated from field: string name = 1; + */ + name = ""; + + /** + * The tagged artifact + * + * @generated from field: string artifact_id = 2; + */ + artifactId = ""; + + /** + * The Dataset that this tag belongs to + * + * @generated from field: datacatalog.DatasetID dataset = 3; + */ + dataset?: DatasetID; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.Tag"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "artifact_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "dataset", kind: "message", T: DatasetID }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Tag { + return new Tag().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Tag { + return new Tag().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Tag { + return new Tag().fromJsonString(jsonString, options); + } + + static equals(a: Tag | PlainMessage | undefined, b: Tag | PlainMessage | undefined): boolean { + return proto3.util.equals(Tag, a, b); + } +} + +/** + * + * Metadata representation for artifacts and datasets + * + * @generated from message datacatalog.Metadata + */ +export class Metadata extends Message { + /** + * key map is a dictionary of key/val strings that represent metadata + * + * @generated from field: map key_map = 1; + */ + keyMap: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.Metadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "key_map", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Metadata { + return new Metadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Metadata { + return new Metadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Metadata { + return new Metadata().fromJsonString(jsonString, options); + } + + static equals(a: Metadata | PlainMessage | undefined, b: Metadata | PlainMessage | undefined): boolean { + return proto3.util.equals(Metadata, a, b); + } +} + +/** + * Filter expression that is composed of a combination of single filters + * + * @generated from message datacatalog.FilterExpression + */ +export class FilterExpression extends Message { + /** + * @generated from field: repeated datacatalog.SinglePropertyFilter filters = 1; + */ + filters: SinglePropertyFilter[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.FilterExpression"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "filters", kind: "message", T: SinglePropertyFilter, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): FilterExpression { + return new FilterExpression().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): FilterExpression { + return new FilterExpression().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): FilterExpression { + return new FilterExpression().fromJsonString(jsonString, options); + } + + static equals(a: FilterExpression | PlainMessage | undefined, b: FilterExpression | PlainMessage | undefined): boolean { + return proto3.util.equals(FilterExpression, a, b); + } +} + +/** + * A single property to filter on. + * + * @generated from message datacatalog.SinglePropertyFilter + */ +export class SinglePropertyFilter extends Message { + /** + * @generated from oneof datacatalog.SinglePropertyFilter.property_filter + */ + propertyFilter: { + /** + * @generated from field: datacatalog.TagPropertyFilter tag_filter = 1; + */ + value: TagPropertyFilter; + case: "tagFilter"; + } | { + /** + * @generated from field: datacatalog.PartitionPropertyFilter partition_filter = 2; + */ + value: PartitionPropertyFilter; + case: "partitionFilter"; + } | { + /** + * @generated from field: datacatalog.ArtifactPropertyFilter artifact_filter = 3; + */ + value: ArtifactPropertyFilter; + case: "artifactFilter"; + } | { + /** + * @generated from field: datacatalog.DatasetPropertyFilter dataset_filter = 4; + */ + value: DatasetPropertyFilter; + case: "datasetFilter"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * field 10 in case we add more entities to query + * + * @generated from field: datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; + */ + operator = SinglePropertyFilter_ComparisonOperator.EQUALS; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.SinglePropertyFilter"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "tag_filter", kind: "message", T: TagPropertyFilter, oneof: "property_filter" }, + { no: 2, name: "partition_filter", kind: "message", T: PartitionPropertyFilter, oneof: "property_filter" }, + { no: 3, name: "artifact_filter", kind: "message", T: ArtifactPropertyFilter, oneof: "property_filter" }, + { no: 4, name: "dataset_filter", kind: "message", T: DatasetPropertyFilter, oneof: "property_filter" }, + { no: 10, name: "operator", kind: "enum", T: proto3.getEnumType(SinglePropertyFilter_ComparisonOperator) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SinglePropertyFilter { + return new SinglePropertyFilter().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SinglePropertyFilter { + return new SinglePropertyFilter().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SinglePropertyFilter { + return new SinglePropertyFilter().fromJsonString(jsonString, options); + } + + static equals(a: SinglePropertyFilter | PlainMessage | undefined, b: SinglePropertyFilter | PlainMessage | undefined): boolean { + return proto3.util.equals(SinglePropertyFilter, a, b); + } +} + +/** + * as use-cases come up we can add more operators, ex: gte, like, not eq etc. + * + * @generated from enum datacatalog.SinglePropertyFilter.ComparisonOperator + */ +export enum SinglePropertyFilter_ComparisonOperator { + /** + * @generated from enum value: EQUALS = 0; + */ + EQUALS = 0, +} +// Retrieve enum metadata with: proto3.getEnumType(SinglePropertyFilter_ComparisonOperator) +proto3.util.setEnumType(SinglePropertyFilter_ComparisonOperator, "datacatalog.SinglePropertyFilter.ComparisonOperator", [ + { no: 0, name: "EQUALS" }, +]); + +/** + * Artifact properties we can filter by + * + * @generated from message datacatalog.ArtifactPropertyFilter + */ +export class ArtifactPropertyFilter extends Message { + /** + * oneof because we can add more properties in the future + * + * @generated from oneof datacatalog.ArtifactPropertyFilter.property + */ + property: { + /** + * @generated from field: string artifact_id = 1; + */ + value: string; + case: "artifactId"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.ArtifactPropertyFilter"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "property" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArtifactPropertyFilter { + return new ArtifactPropertyFilter().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArtifactPropertyFilter { + return new ArtifactPropertyFilter().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArtifactPropertyFilter { + return new ArtifactPropertyFilter().fromJsonString(jsonString, options); + } + + static equals(a: ArtifactPropertyFilter | PlainMessage | undefined, b: ArtifactPropertyFilter | PlainMessage | undefined): boolean { + return proto3.util.equals(ArtifactPropertyFilter, a, b); + } +} + +/** + * Tag properties we can filter by + * + * @generated from message datacatalog.TagPropertyFilter + */ +export class TagPropertyFilter extends Message { + /** + * @generated from oneof datacatalog.TagPropertyFilter.property + */ + property: { + /** + * @generated from field: string tag_name = 1; + */ + value: string; + case: "tagName"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.TagPropertyFilter"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "tag_name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "property" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TagPropertyFilter { + return new TagPropertyFilter().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TagPropertyFilter { + return new TagPropertyFilter().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TagPropertyFilter { + return new TagPropertyFilter().fromJsonString(jsonString, options); + } + + static equals(a: TagPropertyFilter | PlainMessage | undefined, b: TagPropertyFilter | PlainMessage | undefined): boolean { + return proto3.util.equals(TagPropertyFilter, a, b); + } +} + +/** + * Partition properties we can filter by + * + * @generated from message datacatalog.PartitionPropertyFilter + */ +export class PartitionPropertyFilter extends Message { + /** + * @generated from oneof datacatalog.PartitionPropertyFilter.property + */ + property: { + /** + * @generated from field: datacatalog.KeyValuePair key_val = 1; + */ + value: KeyValuePair; + case: "keyVal"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.PartitionPropertyFilter"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "key_val", kind: "message", T: KeyValuePair, oneof: "property" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PartitionPropertyFilter { + return new PartitionPropertyFilter().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PartitionPropertyFilter { + return new PartitionPropertyFilter().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PartitionPropertyFilter { + return new PartitionPropertyFilter().fromJsonString(jsonString, options); + } + + static equals(a: PartitionPropertyFilter | PlainMessage | undefined, b: PartitionPropertyFilter | PlainMessage | undefined): boolean { + return proto3.util.equals(PartitionPropertyFilter, a, b); + } +} + +/** + * @generated from message datacatalog.KeyValuePair + */ +export class KeyValuePair extends Message { + /** + * @generated from field: string key = 1; + */ + key = ""; + + /** + * @generated from field: string value = 2; + */ + value = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.KeyValuePair"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): KeyValuePair { + return new KeyValuePair().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): KeyValuePair { + return new KeyValuePair().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): KeyValuePair { + return new KeyValuePair().fromJsonString(jsonString, options); + } + + static equals(a: KeyValuePair | PlainMessage | undefined, b: KeyValuePair | PlainMessage | undefined): boolean { + return proto3.util.equals(KeyValuePair, a, b); + } +} + +/** + * Dataset properties we can filter by + * + * @generated from message datacatalog.DatasetPropertyFilter + */ +export class DatasetPropertyFilter extends Message { + /** + * @generated from oneof datacatalog.DatasetPropertyFilter.property + */ + property: { + /** + * @generated from field: string project = 1; + */ + value: string; + case: "project"; + } | { + /** + * @generated from field: string name = 2; + */ + value: string; + case: "name"; + } | { + /** + * @generated from field: string domain = 3; + */ + value: string; + case: "domain"; + } | { + /** + * @generated from field: string version = 4; + */ + value: string; + case: "version"; + } | { + /** + * Optional, org key applied to the dataset. + * + * @generated from field: string org = 5; + */ + value: string; + case: "org"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.DatasetPropertyFilter"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "property" }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "property" }, + { no: 3, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "property" }, + { no: 4, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "property" }, + { no: 5, name: "org", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "property" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DatasetPropertyFilter { + return new DatasetPropertyFilter().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DatasetPropertyFilter { + return new DatasetPropertyFilter().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DatasetPropertyFilter { + return new DatasetPropertyFilter().fromJsonString(jsonString, options); + } + + static equals(a: DatasetPropertyFilter | PlainMessage | undefined, b: DatasetPropertyFilter | PlainMessage | undefined): boolean { + return proto3.util.equals(DatasetPropertyFilter, a, b); + } +} + +/** + * Pagination options for making list requests + * + * @generated from message datacatalog.PaginationOptions + */ +export class PaginationOptions extends Message { + /** + * the max number of results to return + * + * @generated from field: uint32 limit = 1; + */ + limit = 0; + + /** + * the token to pass to fetch the next page + * + * @generated from field: string token = 2; + */ + token = ""; + + /** + * the property that we want to sort the results by + * + * @generated from field: datacatalog.PaginationOptions.SortKey sortKey = 3; + */ + sortKey = PaginationOptions_SortKey.CREATION_TIME; + + /** + * the sort order of the results + * + * @generated from field: datacatalog.PaginationOptions.SortOrder sortOrder = 4; + */ + sortOrder = PaginationOptions_SortOrder.DESCENDING; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "datacatalog.PaginationOptions"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "sortKey", kind: "enum", T: proto3.getEnumType(PaginationOptions_SortKey) }, + { no: 4, name: "sortOrder", kind: "enum", T: proto3.getEnumType(PaginationOptions_SortOrder) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PaginationOptions { + return new PaginationOptions().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PaginationOptions { + return new PaginationOptions().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PaginationOptions { + return new PaginationOptions().fromJsonString(jsonString, options); + } + + static equals(a: PaginationOptions | PlainMessage | undefined, b: PaginationOptions | PlainMessage | undefined): boolean { + return proto3.util.equals(PaginationOptions, a, b); + } +} + +/** + * @generated from enum datacatalog.PaginationOptions.SortOrder + */ +export enum PaginationOptions_SortOrder { + /** + * @generated from enum value: DESCENDING = 0; + */ + DESCENDING = 0, + + /** + * @generated from enum value: ASCENDING = 1; + */ + ASCENDING = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(PaginationOptions_SortOrder) +proto3.util.setEnumType(PaginationOptions_SortOrder, "datacatalog.PaginationOptions.SortOrder", [ + { no: 0, name: "DESCENDING" }, + { no: 1, name: "ASCENDING" }, +]); + +/** + * @generated from enum datacatalog.PaginationOptions.SortKey + */ +export enum PaginationOptions_SortKey { + /** + * @generated from enum value: CREATION_TIME = 0; + */ + CREATION_TIME = 0, +} +// Retrieve enum metadata with: proto3.getEnumType(PaginationOptions_SortKey) +proto3.util.setEnumType(PaginationOptions_SortKey, "datacatalog.PaginationOptions.SortKey", [ + { no: 0, name: "CREATION_TIME" }, +]); + diff --git a/flyteidl/gen/pb-es/flyteidl/event/cloudevents_pb.ts b/flyteidl/gen/pb-es/flyteidl/event/cloudevents_pb.ts new file mode 100644 index 0000000000..295930930a --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/event/cloudevents_pb.ts @@ -0,0 +1,281 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/event/cloudevents.proto (package flyteidl.event, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { NodeExecutionEvent, TaskExecutionEvent, WorkflowExecutionEvent } from "./event_pb.js"; +import { TypedInterface } from "../core/interface_pb.js"; +import { ArtifactID } from "../core/artifact_id_pb.js"; +import { Identifier, TaskExecutionIdentifier, WorkflowExecutionIdentifier } from "../core/identifier_pb.js"; + +/** + * This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional + * information that downstream consumers may find useful. + * + * @generated from message flyteidl.event.CloudEventWorkflowExecution + */ +export class CloudEventWorkflowExecution extends Message { + /** + * @generated from field: flyteidl.event.WorkflowExecutionEvent raw_event = 1; + */ + rawEvent?: WorkflowExecutionEvent; + + /** + * @generated from field: flyteidl.core.TypedInterface output_interface = 2; + */ + outputInterface?: TypedInterface; + + /** + * The following are ExecutionMetadata fields + * We can't have the ExecutionMetadata object directly because of import cycle + * + * @generated from field: repeated flyteidl.core.ArtifactID artifact_ids = 3; + */ + artifactIds: ArtifactID[] = []; + + /** + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; + */ + referenceExecution?: WorkflowExecutionIdentifier; + + /** + * @generated from field: string principal = 5; + */ + principal = ""; + + /** + * The ID of the LP that generated the execution that generated the Artifact. + * Here for provenance information. + * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. + * + * @generated from field: flyteidl.core.Identifier launch_plan_id = 6; + */ + launchPlanId?: Identifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.CloudEventWorkflowExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "raw_event", kind: "message", T: WorkflowExecutionEvent }, + { no: 2, name: "output_interface", kind: "message", T: TypedInterface }, + { no: 3, name: "artifact_ids", kind: "message", T: ArtifactID, repeated: true }, + { no: 4, name: "reference_execution", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 5, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "launch_plan_id", kind: "message", T: Identifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CloudEventWorkflowExecution { + return new CloudEventWorkflowExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CloudEventWorkflowExecution { + return new CloudEventWorkflowExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CloudEventWorkflowExecution { + return new CloudEventWorkflowExecution().fromJsonString(jsonString, options); + } + + static equals(a: CloudEventWorkflowExecution | PlainMessage | undefined, b: CloudEventWorkflowExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(CloudEventWorkflowExecution, a, b); + } +} + +/** + * @generated from message flyteidl.event.CloudEventNodeExecution + */ +export class CloudEventNodeExecution extends Message { + /** + * @generated from field: flyteidl.event.NodeExecutionEvent raw_event = 1; + */ + rawEvent?: NodeExecutionEvent; + + /** + * The relevant task execution if applicable + * + * @generated from field: flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; + */ + taskExecId?: TaskExecutionIdentifier; + + /** + * The typed interface for the task that produced the event. + * + * @generated from field: flyteidl.core.TypedInterface output_interface = 3; + */ + outputInterface?: TypedInterface; + + /** + * The following are ExecutionMetadata fields + * We can't have the ExecutionMetadata object directly because of import cycle + * + * @generated from field: repeated flyteidl.core.ArtifactID artifact_ids = 4; + */ + artifactIds: ArtifactID[] = []; + + /** + * @generated from field: string principal = 5; + */ + principal = ""; + + /** + * The ID of the LP that generated the execution that generated the Artifact. + * Here for provenance information. + * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. + * + * @generated from field: flyteidl.core.Identifier launch_plan_id = 6; + */ + launchPlanId?: Identifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.CloudEventNodeExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "raw_event", kind: "message", T: NodeExecutionEvent }, + { no: 2, name: "task_exec_id", kind: "message", T: TaskExecutionIdentifier }, + { no: 3, name: "output_interface", kind: "message", T: TypedInterface }, + { no: 4, name: "artifact_ids", kind: "message", T: ArtifactID, repeated: true }, + { no: 5, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "launch_plan_id", kind: "message", T: Identifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CloudEventNodeExecution { + return new CloudEventNodeExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CloudEventNodeExecution { + return new CloudEventNodeExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CloudEventNodeExecution { + return new CloudEventNodeExecution().fromJsonString(jsonString, options); + } + + static equals(a: CloudEventNodeExecution | PlainMessage | undefined, b: CloudEventNodeExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(CloudEventNodeExecution, a, b); + } +} + +/** + * @generated from message flyteidl.event.CloudEventTaskExecution + */ +export class CloudEventTaskExecution extends Message { + /** + * @generated from field: flyteidl.event.TaskExecutionEvent raw_event = 1; + */ + rawEvent?: TaskExecutionEvent; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.CloudEventTaskExecution"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "raw_event", kind: "message", T: TaskExecutionEvent }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CloudEventTaskExecution { + return new CloudEventTaskExecution().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CloudEventTaskExecution { + return new CloudEventTaskExecution().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CloudEventTaskExecution { + return new CloudEventTaskExecution().fromJsonString(jsonString, options); + } + + static equals(a: CloudEventTaskExecution | PlainMessage | undefined, b: CloudEventTaskExecution | PlainMessage | undefined): boolean { + return proto3.util.equals(CloudEventTaskExecution, a, b); + } +} + +/** + * This event is to be sent by Admin after it creates an execution. + * + * @generated from message flyteidl.event.CloudEventExecutionStart + */ +export class CloudEventExecutionStart extends Message { + /** + * The execution created. + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + executionId?: WorkflowExecutionIdentifier; + + /** + * The launch plan used. + * + * @generated from field: flyteidl.core.Identifier launch_plan_id = 2; + */ + launchPlanId?: Identifier; + + /** + * @generated from field: flyteidl.core.Identifier workflow_id = 3; + */ + workflowId?: Identifier; + + /** + * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run. + * + * @generated from field: repeated flyteidl.core.ArtifactID artifact_ids = 4; + */ + artifactIds: ArtifactID[] = []; + + /** + * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service. + * + * @generated from field: repeated string artifact_trackers = 5; + */ + artifactTrackers: string[] = []; + + /** + * @generated from field: string principal = 6; + */ + principal = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.CloudEventExecutionStart"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "execution_id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "launch_plan_id", kind: "message", T: Identifier }, + { no: 3, name: "workflow_id", kind: "message", T: Identifier }, + { no: 4, name: "artifact_ids", kind: "message", T: ArtifactID, repeated: true }, + { no: 5, name: "artifact_trackers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 6, name: "principal", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CloudEventExecutionStart { + return new CloudEventExecutionStart().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CloudEventExecutionStart { + return new CloudEventExecutionStart().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CloudEventExecutionStart { + return new CloudEventExecutionStart().fromJsonString(jsonString, options); + } + + static equals(a: CloudEventExecutionStart | PlainMessage | undefined, b: CloudEventExecutionStart | PlainMessage | undefined): boolean { + return proto3.util.equals(CloudEventExecutionStart, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/event/event_pb.ts b/flyteidl/gen/pb-es/flyteidl/event/event_pb.ts new file mode 100644 index 0000000000..1e7b274df8 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/event/event_pb.ts @@ -0,0 +1,1088 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/event/event.proto (package flyteidl.event, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf"; +import { Identifier, NodeExecutionIdentifier, TaskExecutionIdentifier, WorkflowExecutionIdentifier } from "../core/identifier_pb.js"; +import { ExecutionError, NodeExecution_Phase, TaskExecution_Phase, TaskLog, WorkflowExecution_Phase } from "../core/execution_pb.js"; +import { LiteralMap } from "../core/literals_pb.js"; +import { CatalogCacheStatus, CatalogMetadata, CatalogReservation_Status } from "../core/catalog_pb.js"; +import { CompiledWorkflowClosure } from "../core/compiler_pb.js"; + +/** + * @generated from message flyteidl.event.WorkflowExecutionEvent + */ +export class WorkflowExecutionEvent extends Message { + /** + * Workflow execution id + * + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + executionId?: WorkflowExecutionIdentifier; + + /** + * the id of the originator (Propeller) of the event + * + * @generated from field: string producer_id = 2; + */ + producerId = ""; + + /** + * @generated from field: flyteidl.core.WorkflowExecution.Phase phase = 3; + */ + phase = WorkflowExecution_Phase.UNDEFINED; + + /** + * This timestamp represents when the original event occurred, it is generated + * by the executor of the workflow. + * + * @generated from field: google.protobuf.Timestamp occurred_at = 4; + */ + occurredAt?: Timestamp; + + /** + * @generated from oneof flyteidl.event.WorkflowExecutionEvent.output_result + */ + outputResult: { + /** + * URL to the output of the execution, it encodes all the information + * including Cloud source provider. ie., s3://... + * + * @generated from field: string output_uri = 5; + */ + value: string; + case: "outputUri"; + } | { + /** + * Error information for the execution + * + * @generated from field: flyteidl.core.ExecutionError error = 6; + */ + value: ExecutionError; + case: "error"; + } | { + /** + * Raw output data produced by this workflow execution. + * + * @generated from field: flyteidl.core.LiteralMap output_data = 7; + */ + value: LiteralMap; + case: "outputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.WorkflowExecutionEvent"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "execution_id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "producer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "phase", kind: "enum", T: proto3.getEnumType(WorkflowExecution_Phase) }, + { no: 4, name: "occurred_at", kind: "message", T: Timestamp }, + { no: 5, name: "output_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output_result" }, + { no: 6, name: "error", kind: "message", T: ExecutionError, oneof: "output_result" }, + { no: 7, name: "output_data", kind: "message", T: LiteralMap, oneof: "output_result" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowExecutionEvent { + return new WorkflowExecutionEvent().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowExecutionEvent { + return new WorkflowExecutionEvent().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowExecutionEvent { + return new WorkflowExecutionEvent().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowExecutionEvent | PlainMessage | undefined, b: WorkflowExecutionEvent | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowExecutionEvent, a, b); + } +} + +/** + * @generated from message flyteidl.event.NodeExecutionEvent + */ +export class NodeExecutionEvent extends Message { + /** + * Unique identifier for this node execution + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier id = 1; + */ + id?: NodeExecutionIdentifier; + + /** + * the id of the originator (Propeller) of the event + * + * @generated from field: string producer_id = 2; + */ + producerId = ""; + + /** + * @generated from field: flyteidl.core.NodeExecution.Phase phase = 3; + */ + phase = NodeExecution_Phase.UNDEFINED; + + /** + * This timestamp represents when the original event occurred, it is generated + * by the executor of the node. + * + * @generated from field: google.protobuf.Timestamp occurred_at = 4; + */ + occurredAt?: Timestamp; + + /** + * @generated from oneof flyteidl.event.NodeExecutionEvent.input_value + */ + inputValue: { + /** + * @generated from field: string input_uri = 5; + */ + value: string; + case: "inputUri"; + } | { + /** + * Raw input data consumed by this node execution. + * + * @generated from field: flyteidl.core.LiteralMap input_data = 20; + */ + value: LiteralMap; + case: "inputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * @generated from oneof flyteidl.event.NodeExecutionEvent.output_result + */ + outputResult: { + /** + * URL to the output of the execution, it encodes all the information + * including Cloud source provider. ie., s3://... + * + * @generated from field: string output_uri = 6; + */ + value: string; + case: "outputUri"; + } | { + /** + * Error information for the execution + * + * @generated from field: flyteidl.core.ExecutionError error = 7; + */ + value: ExecutionError; + case: "error"; + } | { + /** + * Raw output data produced by this node execution. + * + * @generated from field: flyteidl.core.LiteralMap output_data = 15; + */ + value: LiteralMap; + case: "outputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Additional metadata to do with this event's node target based + * on the node type + * + * @generated from oneof flyteidl.event.NodeExecutionEvent.target_metadata + */ + targetMetadata: { + /** + * @generated from field: flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; + */ + value: WorkflowNodeMetadata; + case: "workflowNodeMetadata"; + } | { + /** + * @generated from field: flyteidl.event.TaskNodeMetadata task_node_metadata = 14; + */ + value: TaskNodeMetadata; + case: "taskNodeMetadata"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * [To be deprecated] Specifies which task (if any) launched this node. + * + * @generated from field: flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; + */ + parentTaskMetadata?: ParentTaskExecutionMetadata; + + /** + * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. + * + * @generated from field: flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; + */ + parentNodeMetadata?: ParentNodeExecutionMetadata; + + /** + * Retry group to indicate grouping of nodes by retries + * + * @generated from field: string retry_group = 11; + */ + retryGroup = ""; + + /** + * Identifier of the node in the original workflow/graph + * This maps to value of WorkflowTemplate.nodes[X].id + * + * @generated from field: string spec_node_id = 12; + */ + specNodeId = ""; + + /** + * Friendly readable name for the node + * + * @generated from field: string node_name = 13; + */ + nodeName = ""; + + /** + * @generated from field: int32 event_version = 16; + */ + eventVersion = 0; + + /** + * Whether this node launched a subworkflow. + * + * @generated from field: bool is_parent = 17; + */ + isParent = false; + + /** + * Whether this node yielded a dynamic workflow. + * + * @generated from field: bool is_dynamic = 18; + */ + isDynamic = false; + + /** + * String location uniquely identifying where the deck HTML file is + * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) + * + * @generated from field: string deck_uri = 19; + */ + deckUri = ""; + + /** + * This timestamp represents the instant when the event was reported by the executing framework. For example, + * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when + * literal inputs are initially copied. The event however will not be sent until after the copy completes. + * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. + * + * @generated from field: google.protobuf.Timestamp reported_at = 21; + */ + reportedAt?: Timestamp; + + /** + * Indicates if this node is an ArrayNode. + * + * @generated from field: bool is_array = 22; + */ + isArray = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.NodeExecutionEvent"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: NodeExecutionIdentifier }, + { no: 2, name: "producer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "phase", kind: "enum", T: proto3.getEnumType(NodeExecution_Phase) }, + { no: 4, name: "occurred_at", kind: "message", T: Timestamp }, + { no: 5, name: "input_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input_value" }, + { no: 20, name: "input_data", kind: "message", T: LiteralMap, oneof: "input_value" }, + { no: 6, name: "output_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output_result" }, + { no: 7, name: "error", kind: "message", T: ExecutionError, oneof: "output_result" }, + { no: 15, name: "output_data", kind: "message", T: LiteralMap, oneof: "output_result" }, + { no: 8, name: "workflow_node_metadata", kind: "message", T: WorkflowNodeMetadata, oneof: "target_metadata" }, + { no: 14, name: "task_node_metadata", kind: "message", T: TaskNodeMetadata, oneof: "target_metadata" }, + { no: 9, name: "parent_task_metadata", kind: "message", T: ParentTaskExecutionMetadata }, + { no: 10, name: "parent_node_metadata", kind: "message", T: ParentNodeExecutionMetadata }, + { no: 11, name: "retry_group", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 12, name: "spec_node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 13, name: "node_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 16, name: "event_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 17, name: "is_parent", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 18, name: "is_dynamic", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 19, name: "deck_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 21, name: "reported_at", kind: "message", T: Timestamp }, + { no: 22, name: "is_array", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeExecutionEvent { + return new NodeExecutionEvent().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeExecutionEvent { + return new NodeExecutionEvent().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NodeExecutionEvent { + return new NodeExecutionEvent().fromJsonString(jsonString, options); + } + + static equals(a: NodeExecutionEvent | PlainMessage | undefined, b: NodeExecutionEvent | PlainMessage | undefined): boolean { + return proto3.util.equals(NodeExecutionEvent, a, b); + } +} + +/** + * For Workflow Nodes we need to send information about the workflow that's launched + * + * @generated from message flyteidl.event.WorkflowNodeMetadata + */ +export class WorkflowNodeMetadata extends Message { + /** + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; + */ + executionId?: WorkflowExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.WorkflowNodeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "execution_id", kind: "message", T: WorkflowExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkflowNodeMetadata { + return new WorkflowNodeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkflowNodeMetadata { + return new WorkflowNodeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkflowNodeMetadata { + return new WorkflowNodeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: WorkflowNodeMetadata | PlainMessage | undefined, b: WorkflowNodeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkflowNodeMetadata, a, b); + } +} + +/** + * @generated from message flyteidl.event.TaskNodeMetadata + */ +export class TaskNodeMetadata extends Message { + /** + * Captures the status of caching for this execution. + * + * @generated from field: flyteidl.core.CatalogCacheStatus cache_status = 1; + */ + cacheStatus = CatalogCacheStatus.CACHE_DISABLED; + + /** + * This structure carries the catalog artifact information + * + * @generated from field: flyteidl.core.CatalogMetadata catalog_key = 2; + */ + catalogKey?: CatalogMetadata; + + /** + * Captures the status of cache reservations for this execution. + * + * @generated from field: flyteidl.core.CatalogReservation.Status reservation_status = 3; + */ + reservationStatus = CatalogReservation_Status.RESERVATION_DISABLED; + + /** + * The latest checkpoint location + * + * @generated from field: string checkpoint_uri = 4; + */ + checkpointUri = ""; + + /** + * In the case this task launched a dynamic workflow we capture its structure here. + * + * @generated from field: flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; + */ + dynamicWorkflow?: DynamicWorkflowNodeMetadata; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.TaskNodeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "cache_status", kind: "enum", T: proto3.getEnumType(CatalogCacheStatus) }, + { no: 2, name: "catalog_key", kind: "message", T: CatalogMetadata }, + { no: 3, name: "reservation_status", kind: "enum", T: proto3.getEnumType(CatalogReservation_Status) }, + { no: 4, name: "checkpoint_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 16, name: "dynamic_workflow", kind: "message", T: DynamicWorkflowNodeMetadata }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskNodeMetadata { + return new TaskNodeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskNodeMetadata { + return new TaskNodeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskNodeMetadata { + return new TaskNodeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: TaskNodeMetadata | PlainMessage | undefined, b: TaskNodeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskNodeMetadata, a, b); + } +} + +/** + * For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated. + * + * @generated from message flyteidl.event.DynamicWorkflowNodeMetadata + */ +export class DynamicWorkflowNodeMetadata extends Message { + /** + * id represents the unique identifier of the workflow. + * + * @generated from field: flyteidl.core.Identifier id = 1; + */ + id?: Identifier; + + /** + * Represents the compiled representation of the embedded dynamic workflow. + * + * @generated from field: flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; + */ + compiledWorkflow?: CompiledWorkflowClosure; + + /** + * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is + * required to correctly recover partially completed executions where the workflow has already been compiled. + * + * @generated from field: string dynamic_job_spec_uri = 3; + */ + dynamicJobSpecUri = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.DynamicWorkflowNodeMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: Identifier }, + { no: 2, name: "compiled_workflow", kind: "message", T: CompiledWorkflowClosure }, + { no: 3, name: "dynamic_job_spec_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DynamicWorkflowNodeMetadata { + return new DynamicWorkflowNodeMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DynamicWorkflowNodeMetadata { + return new DynamicWorkflowNodeMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DynamicWorkflowNodeMetadata { + return new DynamicWorkflowNodeMetadata().fromJsonString(jsonString, options); + } + + static equals(a: DynamicWorkflowNodeMetadata | PlainMessage | undefined, b: DynamicWorkflowNodeMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(DynamicWorkflowNodeMetadata, a, b); + } +} + +/** + * @generated from message flyteidl.event.ParentTaskExecutionMetadata + */ +export class ParentTaskExecutionMetadata extends Message { + /** + * @generated from field: flyteidl.core.TaskExecutionIdentifier id = 1; + */ + id?: TaskExecutionIdentifier; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.ParentTaskExecutionMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "id", kind: "message", T: TaskExecutionIdentifier }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ParentTaskExecutionMetadata { + return new ParentTaskExecutionMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ParentTaskExecutionMetadata { + return new ParentTaskExecutionMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ParentTaskExecutionMetadata { + return new ParentTaskExecutionMetadata().fromJsonString(jsonString, options); + } + + static equals(a: ParentTaskExecutionMetadata | PlainMessage | undefined, b: ParentTaskExecutionMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(ParentTaskExecutionMetadata, a, b); + } +} + +/** + * @generated from message flyteidl.event.ParentNodeExecutionMetadata + */ +export class ParentNodeExecutionMetadata extends Message { + /** + * Unique identifier of the parent node id within the execution + * This is value of core.NodeExecutionIdentifier.node_id of the parent node + * + * @generated from field: string node_id = 1; + */ + nodeId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.ParentNodeExecutionMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ParentNodeExecutionMetadata { + return new ParentNodeExecutionMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ParentNodeExecutionMetadata { + return new ParentNodeExecutionMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ParentNodeExecutionMetadata { + return new ParentNodeExecutionMetadata().fromJsonString(jsonString, options); + } + + static equals(a: ParentNodeExecutionMetadata | PlainMessage | undefined, b: ParentNodeExecutionMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(ParentNodeExecutionMetadata, a, b); + } +} + +/** + * @generated from message flyteidl.event.EventReason + */ +export class EventReason extends Message { + /** + * An explanation for this event + * + * @generated from field: string reason = 1; + */ + reason = ""; + + /** + * The time this reason occurred + * + * @generated from field: google.protobuf.Timestamp occurred_at = 2; + */ + occurredAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.EventReason"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "occurred_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): EventReason { + return new EventReason().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): EventReason { + return new EventReason().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): EventReason { + return new EventReason().fromJsonString(jsonString, options); + } + + static equals(a: EventReason | PlainMessage | undefined, b: EventReason | PlainMessage | undefined): boolean { + return proto3.util.equals(EventReason, a, b); + } +} + +/** + * Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. + * + * @generated from message flyteidl.event.TaskExecutionEvent + */ +export class TaskExecutionEvent extends Message { + /** + * ID of the task. In combination with the retryAttempt this will indicate + * the task execution uniquely for a given parent node execution. + * + * @generated from field: flyteidl.core.Identifier task_id = 1; + */ + taskId?: Identifier; + + /** + * A task execution is always kicked off by a node execution, the event consumer + * will use the parent_id to relate the task to it's parent node execution + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; + */ + parentNodeExecutionId?: NodeExecutionIdentifier; + + /** + * retry attempt number for this task, ie., 2 for the second attempt + * + * @generated from field: uint32 retry_attempt = 3; + */ + retryAttempt = 0; + + /** + * Phase associated with the event + * + * @generated from field: flyteidl.core.TaskExecution.Phase phase = 4; + */ + phase = TaskExecution_Phase.UNDEFINED; + + /** + * id of the process that sent this event, mainly for trace debugging + * + * @generated from field: string producer_id = 5; + */ + producerId = ""; + + /** + * log information for the task execution + * + * @generated from field: repeated flyteidl.core.TaskLog logs = 6; + */ + logs: TaskLog[] = []; + + /** + * This timestamp represents when the original event occurred, it is generated + * by the executor of the task. + * + * @generated from field: google.protobuf.Timestamp occurred_at = 7; + */ + occurredAt?: Timestamp; + + /** + * @generated from oneof flyteidl.event.TaskExecutionEvent.input_value + */ + inputValue: { + /** + * URI of the input file, it encodes all the information + * including Cloud source provider. ie., s3://... + * + * @generated from field: string input_uri = 8; + */ + value: string; + case: "inputUri"; + } | { + /** + * Raw input data consumed by this task execution. + * + * @generated from field: flyteidl.core.LiteralMap input_data = 19; + */ + value: LiteralMap; + case: "inputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * @generated from oneof flyteidl.event.TaskExecutionEvent.output_result + */ + outputResult: { + /** + * URI to the output of the execution, it will be in a format that encodes all the information + * including Cloud source provider. ie., s3://... + * + * @generated from field: string output_uri = 9; + */ + value: string; + case: "outputUri"; + } | { + /** + * Error information for the execution + * + * @generated from field: flyteidl.core.ExecutionError error = 10; + */ + value: ExecutionError; + case: "error"; + } | { + /** + * Raw output data produced by this task execution. + * + * @generated from field: flyteidl.core.LiteralMap output_data = 17; + */ + value: LiteralMap; + case: "outputData"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + /** + * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. + * + * @generated from field: google.protobuf.Struct custom_info = 11; + */ + customInfo?: Struct; + + /** + * Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) + * that should be recorded regardless of the lack of phase change. + * The version field should be incremented when metadata changes across the duration of an individual phase. + * + * @generated from field: uint32 phase_version = 12; + */ + phaseVersion = 0; + + /** + * An optional explanation for the phase transition. + * Deprecated: Use reasons instead. + * + * @generated from field: string reason = 13 [deprecated = true]; + * @deprecated + */ + reason = ""; + + /** + * An optional list of explanations for the phase transition. + * + * @generated from field: repeated flyteidl.event.EventReason reasons = 21; + */ + reasons: EventReason[] = []; + + /** + * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin + * this type will be identical, but not all task executions necessarily use pre-registered definitions and this + * type is useful to render the task in the UI, filter task executions, etc. + * + * @generated from field: string task_type = 14; + */ + taskType = ""; + + /** + * Metadata around how a task was executed. + * + * @generated from field: flyteidl.event.TaskExecutionMetadata metadata = 16; + */ + metadata?: TaskExecutionMetadata; + + /** + * The event version is used to indicate versioned changes in how data is reported using this + * proto message. For example, event_verison > 0 means that maps tasks report logs using the + * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog + * in this message. + * + * @generated from field: int32 event_version = 18; + */ + eventVersion = 0; + + /** + * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s + * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, + * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps + * facilitates a more accurate portrayal of the evaluation time-series. + * + * @generated from field: google.protobuf.Timestamp reported_at = 20; + */ + reportedAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.TaskExecutionEvent"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_id", kind: "message", T: Identifier }, + { no: 2, name: "parent_node_execution_id", kind: "message", T: NodeExecutionIdentifier }, + { no: 3, name: "retry_attempt", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "phase", kind: "enum", T: proto3.getEnumType(TaskExecution_Phase) }, + { no: 5, name: "producer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "logs", kind: "message", T: TaskLog, repeated: true }, + { no: 7, name: "occurred_at", kind: "message", T: Timestamp }, + { no: 8, name: "input_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "input_value" }, + { no: 19, name: "input_data", kind: "message", T: LiteralMap, oneof: "input_value" }, + { no: 9, name: "output_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output_result" }, + { no: 10, name: "error", kind: "message", T: ExecutionError, oneof: "output_result" }, + { no: 17, name: "output_data", kind: "message", T: LiteralMap, oneof: "output_result" }, + { no: 11, name: "custom_info", kind: "message", T: Struct }, + { no: 12, name: "phase_version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 13, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 21, name: "reasons", kind: "message", T: EventReason, repeated: true }, + { no: 14, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 16, name: "metadata", kind: "message", T: TaskExecutionMetadata }, + { no: 18, name: "event_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 20, name: "reported_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionEvent { + return new TaskExecutionEvent().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionEvent { + return new TaskExecutionEvent().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionEvent { + return new TaskExecutionEvent().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionEvent | PlainMessage | undefined, b: TaskExecutionEvent | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionEvent, a, b); + } +} + +/** + * This message contains metadata about external resources produced or used by a specific task execution. + * + * @generated from message flyteidl.event.ExternalResourceInfo + */ +export class ExternalResourceInfo extends Message { + /** + * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. + * + * @generated from field: string external_id = 1; + */ + externalId = ""; + + /** + * A unique index for the external resource with respect to all external resources for this task. Although the + * identifier may change between task reporting events or retries, this will remain the same to enable aggregating + * information from multiple reports. + * + * @generated from field: uint32 index = 2; + */ + index = 0; + + /** + * Retry attempt number for this external resource, ie., 2 for the second attempt + * + * @generated from field: uint32 retry_attempt = 3; + */ + retryAttempt = 0; + + /** + * Phase associated with the external resource + * + * @generated from field: flyteidl.core.TaskExecution.Phase phase = 4; + */ + phase = TaskExecution_Phase.UNDEFINED; + + /** + * Captures the status of caching for this external resource execution. + * + * @generated from field: flyteidl.core.CatalogCacheStatus cache_status = 5; + */ + cacheStatus = CatalogCacheStatus.CACHE_DISABLED; + + /** + * log information for the external resource execution + * + * @generated from field: repeated flyteidl.core.TaskLog logs = 6; + */ + logs: TaskLog[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.ExternalResourceInfo"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "retry_attempt", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "phase", kind: "enum", T: proto3.getEnumType(TaskExecution_Phase) }, + { no: 5, name: "cache_status", kind: "enum", T: proto3.getEnumType(CatalogCacheStatus) }, + { no: 6, name: "logs", kind: "message", T: TaskLog, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ExternalResourceInfo { + return new ExternalResourceInfo().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ExternalResourceInfo { + return new ExternalResourceInfo().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ExternalResourceInfo { + return new ExternalResourceInfo().fromJsonString(jsonString, options); + } + + static equals(a: ExternalResourceInfo | PlainMessage | undefined, b: ExternalResourceInfo | PlainMessage | undefined): boolean { + return proto3.util.equals(ExternalResourceInfo, a, b); + } +} + +/** + * This message holds task execution metadata specific to resource allocation used to manage concurrent + * executions for a project namespace. + * + * @generated from message flyteidl.event.ResourcePoolInfo + */ +export class ResourcePoolInfo extends Message { + /** + * Unique resource ID used to identify this execution when allocating a token. + * + * @generated from field: string allocation_token = 1; + */ + allocationToken = ""; + + /** + * Namespace under which this task execution requested an allocation token. + * + * @generated from field: string namespace = 2; + */ + namespace = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.ResourcePoolInfo"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "allocation_token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ResourcePoolInfo { + return new ResourcePoolInfo().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ResourcePoolInfo { + return new ResourcePoolInfo().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ResourcePoolInfo { + return new ResourcePoolInfo().fromJsonString(jsonString, options); + } + + static equals(a: ResourcePoolInfo | PlainMessage | undefined, b: ResourcePoolInfo | PlainMessage | undefined): boolean { + return proto3.util.equals(ResourcePoolInfo, a, b); + } +} + +/** + * Holds metadata around how a task was executed. + * As a task transitions across event phases during execution some attributes, such its generated name, generated external resources, + * and more may grow in size but not change necessarily based on the phase transition that sparked the event update. + * Metadata is a container for these attributes across the task execution lifecycle. + * + * @generated from message flyteidl.event.TaskExecutionMetadata + */ +export class TaskExecutionMetadata extends Message { + /** + * Unique, generated name for this task execution used by the backend. + * + * @generated from field: string generated_name = 1; + */ + generatedName = ""; + + /** + * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. + * + * @generated from field: repeated flyteidl.event.ExternalResourceInfo external_resources = 2; + */ + externalResources: ExternalResourceInfo[] = []; + + /** + * Includes additional data on concurrent resource management used during execution.. + * This is a repeated field because a plugin can request multiple resource allocations during execution. + * + * @generated from field: repeated flyteidl.event.ResourcePoolInfo resource_pool_info = 3; + */ + resourcePoolInfo: ResourcePoolInfo[] = []; + + /** + * The identifier of the plugin used to execute this task. + * + * @generated from field: string plugin_identifier = 4; + */ + pluginIdentifier = ""; + + /** + * @generated from field: flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; + */ + instanceClass = TaskExecutionMetadata_InstanceClass.DEFAULT; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.event.TaskExecutionMetadata"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "generated_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "external_resources", kind: "message", T: ExternalResourceInfo, repeated: true }, + { no: 3, name: "resource_pool_info", kind: "message", T: ResourcePoolInfo, repeated: true }, + { no: 4, name: "plugin_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 16, name: "instance_class", kind: "enum", T: proto3.getEnumType(TaskExecutionMetadata_InstanceClass) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskExecutionMetadata { + return new TaskExecutionMetadata().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskExecutionMetadata { + return new TaskExecutionMetadata().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskExecutionMetadata { + return new TaskExecutionMetadata().fromJsonString(jsonString, options); + } + + static equals(a: TaskExecutionMetadata | PlainMessage | undefined, b: TaskExecutionMetadata | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskExecutionMetadata, a, b); + } +} + +/** + * Includes the broad category of machine used for this specific task execution. + * + * @generated from enum flyteidl.event.TaskExecutionMetadata.InstanceClass + */ +export enum TaskExecutionMetadata_InstanceClass { + /** + * The default instance class configured for the flyte application platform. + * + * @generated from enum value: DEFAULT = 0; + */ + DEFAULT = 0, + + /** + * The instance class configured for interruptible tasks. + * + * @generated from enum value: INTERRUPTIBLE = 1; + */ + INTERRUPTIBLE = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(TaskExecutionMetadata_InstanceClass) +proto3.util.setEnumType(TaskExecutionMetadata_InstanceClass, "flyteidl.event.TaskExecutionMetadata.InstanceClass", [ + { no: 0, name: "DEFAULT" }, + { no: 1, name: "INTERRUPTIBLE" }, +]); + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/array_job_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/array_job_pb.ts new file mode 100644 index 0000000000..dba83463f0 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/array_job_pb.ts @@ -0,0 +1,88 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/array_job.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; + +/** + * Describes a job that can process independent pieces of data concurrently. Multiple copies of the runnable component + * will be executed concurrently. + * + * @generated from message flyteidl.plugins.ArrayJob + */ +export class ArrayJob extends Message { + /** + * Defines the maximum number of instances to bring up concurrently at any given point. Note that this is an + * optimistic restriction and that, due to network partitioning or other failures, the actual number of currently + * running instances might be more. This has to be a positive number if assigned. Default value is size. + * + * @generated from field: int64 parallelism = 1; + */ + parallelism = protoInt64.zero; + + /** + * Defines the number of instances to launch at most. This number should match the size of the input if the job + * requires processing of all input data. This has to be a positive number. + * In the case this is not defined, the back-end will determine the size at run-time by reading the inputs. + * + * @generated from field: int64 size = 2; + */ + size = protoInt64.zero; + + /** + * @generated from oneof flyteidl.plugins.ArrayJob.success_criteria + */ + successCriteria: { + /** + * An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met, + * the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if + * assigned. Default value is size (if specified). + * + * @generated from field: int64 min_successes = 3; + */ + value: bigint; + case: "minSuccesses"; + } | { + /** + * If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array + * job can be marked successful. + * + * @generated from field: float min_success_ratio = 4; + */ + value: number; + case: "minSuccessRatio"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.ArrayJob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "parallelism", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "min_successes", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "success_criteria" }, + { no: 4, name: "min_success_ratio", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "success_criteria" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ArrayJob { + return new ArrayJob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ArrayJob { + return new ArrayJob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ArrayJob { + return new ArrayJob().fromJsonString(jsonString, options); + } + + static equals(a: ArrayJob | PlainMessage | undefined, b: ArrayJob | PlainMessage | undefined): boolean { + return proto3.util.equals(ArrayJob, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/dask_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/dask_pb.ts new file mode 100644 index 0000000000..536e2ef8d8 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/dask_pb.ts @@ -0,0 +1,166 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/dask.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { Resources } from "../core/tasks_pb.js"; + +/** + * Custom Proto for Dask Plugin. + * + * @generated from message flyteidl.plugins.DaskJob + */ +export class DaskJob extends Message { + /** + * Spec for the scheduler pod. + * + * @generated from field: flyteidl.plugins.DaskScheduler scheduler = 1; + */ + scheduler?: DaskScheduler; + + /** + * Spec of the default worker group. + * + * @generated from field: flyteidl.plugins.DaskWorkerGroup workers = 2; + */ + workers?: DaskWorkerGroup; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.DaskJob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "scheduler", kind: "message", T: DaskScheduler }, + { no: 2, name: "workers", kind: "message", T: DaskWorkerGroup }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DaskJob { + return new DaskJob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DaskJob { + return new DaskJob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DaskJob { + return new DaskJob().fromJsonString(jsonString, options); + } + + static equals(a: DaskJob | PlainMessage | undefined, b: DaskJob | PlainMessage | undefined): boolean { + return proto3.util.equals(DaskJob, a, b); + } +} + +/** + * Specification for the scheduler pod. + * + * @generated from message flyteidl.plugins.DaskScheduler + */ +export class DaskScheduler extends Message { + /** + * Optional image to use. If unset, will use the default image. + * + * @generated from field: string image = 1; + */ + image = ""; + + /** + * Resources assigned to the scheduler pod. + * + * @generated from field: flyteidl.core.Resources resources = 2; + */ + resources?: Resources; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.DaskScheduler"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "resources", kind: "message", T: Resources }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DaskScheduler { + return new DaskScheduler().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DaskScheduler { + return new DaskScheduler().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DaskScheduler { + return new DaskScheduler().fromJsonString(jsonString, options); + } + + static equals(a: DaskScheduler | PlainMessage | undefined, b: DaskScheduler | PlainMessage | undefined): boolean { + return proto3.util.equals(DaskScheduler, a, b); + } +} + +/** + * @generated from message flyteidl.plugins.DaskWorkerGroup + */ +export class DaskWorkerGroup extends Message { + /** + * Number of workers in the group. + * + * @generated from field: uint32 number_of_workers = 1; + */ + numberOfWorkers = 0; + + /** + * Optional image to use for the pods of the worker group. If unset, will use the default image. + * + * @generated from field: string image = 2; + */ + image = ""; + + /** + * Resources assigned to the all pods of the worker group. + * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices + * it is advised to only set limits. If requests are not explicitly set, the plugin will make + * sure to set requests==limits. + * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit. + * + * @generated from field: flyteidl.core.Resources resources = 3; + */ + resources?: Resources; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.DaskWorkerGroup"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "number_of_workers", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "resources", kind: "message", T: Resources }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DaskWorkerGroup { + return new DaskWorkerGroup().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DaskWorkerGroup { + return new DaskWorkerGroup().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DaskWorkerGroup { + return new DaskWorkerGroup().fromJsonString(jsonString, options); + } + + static equals(a: DaskWorkerGroup | PlainMessage | undefined, b: DaskWorkerGroup | PlainMessage | undefined): boolean { + return proto3.util.equals(DaskWorkerGroup, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/common_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/common_pb.ts new file mode 100644 index 0000000000..aec23a4da5 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/common_pb.ts @@ -0,0 +1,124 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/kubeflow/common.proto (package flyteidl.plugins.kubeflow, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * @generated from enum flyteidl.plugins.kubeflow.RestartPolicy + */ +export enum RestartPolicy { + /** + * @generated from enum value: RESTART_POLICY_NEVER = 0; + */ + NEVER = 0, + + /** + * @generated from enum value: RESTART_POLICY_ON_FAILURE = 1; + */ + ON_FAILURE = 1, + + /** + * @generated from enum value: RESTART_POLICY_ALWAYS = 2; + */ + ALWAYS = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(RestartPolicy) +proto3.util.setEnumType(RestartPolicy, "flyteidl.plugins.kubeflow.RestartPolicy", [ + { no: 0, name: "RESTART_POLICY_NEVER" }, + { no: 1, name: "RESTART_POLICY_ON_FAILURE" }, + { no: 2, name: "RESTART_POLICY_ALWAYS" }, +]); + +/** + * @generated from enum flyteidl.plugins.kubeflow.CleanPodPolicy + */ +export enum CleanPodPolicy { + /** + * @generated from enum value: CLEANPOD_POLICY_NONE = 0; + */ + CLEANPOD_POLICY_NONE = 0, + + /** + * @generated from enum value: CLEANPOD_POLICY_RUNNING = 1; + */ + CLEANPOD_POLICY_RUNNING = 1, + + /** + * @generated from enum value: CLEANPOD_POLICY_ALL = 2; + */ + CLEANPOD_POLICY_ALL = 2, +} +// Retrieve enum metadata with: proto3.getEnumType(CleanPodPolicy) +proto3.util.setEnumType(CleanPodPolicy, "flyteidl.plugins.kubeflow.CleanPodPolicy", [ + { no: 0, name: "CLEANPOD_POLICY_NONE" }, + { no: 1, name: "CLEANPOD_POLICY_RUNNING" }, + { no: 2, name: "CLEANPOD_POLICY_ALL" }, +]); + +/** + * @generated from message flyteidl.plugins.kubeflow.RunPolicy + */ +export class RunPolicy extends Message { + /** + * Defines the policy to kill pods after the job completes. Default to None. + * + * @generated from field: flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + cleanPodPolicy = CleanPodPolicy.CLEANPOD_POLICY_NONE; + + /** + * TTL to clean up jobs. Default to infinite. + * + * @generated from field: int32 ttl_seconds_after_finished = 2; + */ + ttlSecondsAfterFinished = 0; + + /** + * Specifies the duration in seconds relative to the startTime that the job may be active + * before the system tries to terminate it; value must be positive integer. + * + * @generated from field: int32 active_deadline_seconds = 3; + */ + activeDeadlineSeconds = 0; + + /** + * Number of retries before marking this job failed. + * + * @generated from field: int32 backoff_limit = 4; + */ + backoffLimit = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.RunPolicy"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "clean_pod_policy", kind: "enum", T: proto3.getEnumType(CleanPodPolicy) }, + { no: 2, name: "ttl_seconds_after_finished", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "active_deadline_seconds", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "backoff_limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): RunPolicy { + return new RunPolicy().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): RunPolicy { + return new RunPolicy().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): RunPolicy { + return new RunPolicy().fromJsonString(jsonString, options); + } + + static equals(a: RunPolicy | PlainMessage | undefined, b: RunPolicy | PlainMessage | undefined): boolean { + return proto3.util.equals(RunPolicy, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/mpi_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/mpi_pb.ts new file mode 100644 index 0000000000..89ff16b82b --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/mpi_pb.ts @@ -0,0 +1,150 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/kubeflow/mpi.proto (package flyteidl.plugins.kubeflow, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { RestartPolicy, RunPolicy } from "./common_pb.js"; +import { Resources } from "../../core/tasks_pb.js"; + +/** + * Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator + * + * @generated from message flyteidl.plugins.kubeflow.DistributedMPITrainingTask + */ +export class DistributedMPITrainingTask extends Message { + /** + * Worker replicas spec + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + workerReplicas?: DistributedMPITrainingReplicaSpec; + + /** + * Master replicas spec + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + launcherReplicas?: DistributedMPITrainingReplicaSpec; + + /** + * RunPolicy encapsulates various runtime policies of the distributed training + * job, for example how to clean up resources and how long the job can stay + * active. + * + * @generated from field: flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + runPolicy?: RunPolicy; + + /** + * Number of slots per worker + * + * @generated from field: int32 slots = 4; + */ + slots = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.DistributedMPITrainingTask"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "worker_replicas", kind: "message", T: DistributedMPITrainingReplicaSpec }, + { no: 2, name: "launcher_replicas", kind: "message", T: DistributedMPITrainingReplicaSpec }, + { no: 3, name: "run_policy", kind: "message", T: RunPolicy }, + { no: 4, name: "slots", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedMPITrainingTask { + return new DistributedMPITrainingTask().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedMPITrainingTask { + return new DistributedMPITrainingTask().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedMPITrainingTask { + return new DistributedMPITrainingTask().fromJsonString(jsonString, options); + } + + static equals(a: DistributedMPITrainingTask | PlainMessage | undefined, b: DistributedMPITrainingTask | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedMPITrainingTask, a, b); + } +} + +/** + * Replica specification for distributed MPI training + * + * @generated from message flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec + */ +export class DistributedMPITrainingReplicaSpec extends Message { + /** + * Number of replicas + * + * @generated from field: int32 replicas = 1; + */ + replicas = 0; + + /** + * Image used for the replica group + * + * @generated from field: string image = 2; + */ + image = ""; + + /** + * Resources required for the replica group + * + * @generated from field: flyteidl.core.Resources resources = 3; + */ + resources?: Resources; + + /** + * Restart policy determines whether pods will be restarted when they exit + * + * @generated from field: flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + restartPolicy = RestartPolicy.NEVER; + + /** + * MPI sometimes requires different command set for different replica groups + * + * @generated from field: repeated string command = 5; + */ + command: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "resources", kind: "message", T: Resources }, + { no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(RestartPolicy) }, + { no: 5, name: "command", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedMPITrainingReplicaSpec { + return new DistributedMPITrainingReplicaSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedMPITrainingReplicaSpec { + return new DistributedMPITrainingReplicaSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedMPITrainingReplicaSpec { + return new DistributedMPITrainingReplicaSpec().fromJsonString(jsonString, options); + } + + static equals(a: DistributedMPITrainingReplicaSpec | PlainMessage | undefined, b: DistributedMPITrainingReplicaSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedMPITrainingReplicaSpec, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/pytorch_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/pytorch_pb.ts new file mode 100644 index 0000000000..2dd38a56ba --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/pytorch_pb.ts @@ -0,0 +1,204 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/kubeflow/pytorch.proto (package flyteidl.plugins.kubeflow, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { RestartPolicy, RunPolicy } from "./common_pb.js"; +import { Resources } from "../../core/tasks_pb.js"; + +/** + * Custom proto for torch elastic config for distributed training using + * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go + * + * @generated from message flyteidl.plugins.kubeflow.ElasticConfig + */ +export class ElasticConfig extends Message { + /** + * @generated from field: string rdzv_backend = 1; + */ + rdzvBackend = ""; + + /** + * @generated from field: int32 min_replicas = 2; + */ + minReplicas = 0; + + /** + * @generated from field: int32 max_replicas = 3; + */ + maxReplicas = 0; + + /** + * @generated from field: int32 nproc_per_node = 4; + */ + nprocPerNode = 0; + + /** + * @generated from field: int32 max_restarts = 5; + */ + maxRestarts = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.ElasticConfig"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "rdzv_backend", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "min_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "nproc_per_node", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 5, name: "max_restarts", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ElasticConfig { + return new ElasticConfig().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ElasticConfig { + return new ElasticConfig().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ElasticConfig { + return new ElasticConfig().fromJsonString(jsonString, options); + } + + static equals(a: ElasticConfig | PlainMessage | undefined, b: ElasticConfig | PlainMessage | undefined): boolean { + return proto3.util.equals(ElasticConfig, a, b); + } +} + +/** + * Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator + * + * @generated from message flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask + */ +export class DistributedPyTorchTrainingTask extends Message { + /** + * Worker replicas spec + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + workerReplicas?: DistributedPyTorchTrainingReplicaSpec; + + /** + * Master replicas spec, master replicas can only have 1 replica + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + masterReplicas?: DistributedPyTorchTrainingReplicaSpec; + + /** + * RunPolicy encapsulates various runtime policies of the distributed training + * job, for example how to clean up resources and how long the job can stay + * active. + * + * @generated from field: flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + runPolicy?: RunPolicy; + + /** + * config for an elastic pytorch job + * + * @generated from field: flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + elasticConfig?: ElasticConfig; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "worker_replicas", kind: "message", T: DistributedPyTorchTrainingReplicaSpec }, + { no: 2, name: "master_replicas", kind: "message", T: DistributedPyTorchTrainingReplicaSpec }, + { no: 3, name: "run_policy", kind: "message", T: RunPolicy }, + { no: 4, name: "elastic_config", kind: "message", T: ElasticConfig }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedPyTorchTrainingTask { + return new DistributedPyTorchTrainingTask().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedPyTorchTrainingTask { + return new DistributedPyTorchTrainingTask().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedPyTorchTrainingTask { + return new DistributedPyTorchTrainingTask().fromJsonString(jsonString, options); + } + + static equals(a: DistributedPyTorchTrainingTask | PlainMessage | undefined, b: DistributedPyTorchTrainingTask | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedPyTorchTrainingTask, a, b); + } +} + +/** + * @generated from message flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec + */ +export class DistributedPyTorchTrainingReplicaSpec extends Message { + /** + * Number of replicas + * + * @generated from field: int32 replicas = 1; + */ + replicas = 0; + + /** + * Image used for the replica group + * + * @generated from field: string image = 2; + */ + image = ""; + + /** + * Resources required for the replica group + * + * @generated from field: flyteidl.core.Resources resources = 3; + */ + resources?: Resources; + + /** + * RestartPolicy determines whether pods will be restarted when they exit + * + * @generated from field: flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + restartPolicy = RestartPolicy.NEVER; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "resources", kind: "message", T: Resources }, + { no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(RestartPolicy) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedPyTorchTrainingReplicaSpec { + return new DistributedPyTorchTrainingReplicaSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedPyTorchTrainingReplicaSpec { + return new DistributedPyTorchTrainingReplicaSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedPyTorchTrainingReplicaSpec { + return new DistributedPyTorchTrainingReplicaSpec().fromJsonString(jsonString, options); + } + + static equals(a: DistributedPyTorchTrainingReplicaSpec | PlainMessage | undefined, b: DistributedPyTorchTrainingReplicaSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedPyTorchTrainingReplicaSpec, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/tensorflow_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/tensorflow_pb.ts new file mode 100644 index 0000000000..356385d858 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/kubeflow/tensorflow_pb.ts @@ -0,0 +1,148 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/kubeflow/tensorflow.proto (package flyteidl.plugins.kubeflow, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { RestartPolicy, RunPolicy } from "./common_pb.js"; +import { Resources } from "../../core/tasks_pb.js"; + +/** + * Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator + * + * @generated from message flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask + */ +export class DistributedTensorflowTrainingTask extends Message { + /** + * Worker replicas spec + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + workerReplicas?: DistributedTensorflowTrainingReplicaSpec; + + /** + * Parameter server replicas spec + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + psReplicas?: DistributedTensorflowTrainingReplicaSpec; + + /** + * Chief replicas spec + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + chiefReplicas?: DistributedTensorflowTrainingReplicaSpec; + + /** + * RunPolicy encapsulates various runtime policies of the distributed training + * job, for example how to clean up resources and how long the job can stay + * active. + * + * @generated from field: flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + runPolicy?: RunPolicy; + + /** + * Evaluator replicas spec + * + * @generated from field: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; + */ + evaluatorReplicas?: DistributedTensorflowTrainingReplicaSpec; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "worker_replicas", kind: "message", T: DistributedTensorflowTrainingReplicaSpec }, + { no: 2, name: "ps_replicas", kind: "message", T: DistributedTensorflowTrainingReplicaSpec }, + { no: 3, name: "chief_replicas", kind: "message", T: DistributedTensorflowTrainingReplicaSpec }, + { no: 4, name: "run_policy", kind: "message", T: RunPolicy }, + { no: 5, name: "evaluator_replicas", kind: "message", T: DistributedTensorflowTrainingReplicaSpec }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedTensorflowTrainingTask { + return new DistributedTensorflowTrainingTask().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedTensorflowTrainingTask { + return new DistributedTensorflowTrainingTask().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedTensorflowTrainingTask { + return new DistributedTensorflowTrainingTask().fromJsonString(jsonString, options); + } + + static equals(a: DistributedTensorflowTrainingTask | PlainMessage | undefined, b: DistributedTensorflowTrainingTask | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedTensorflowTrainingTask, a, b); + } +} + +/** + * @generated from message flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec + */ +export class DistributedTensorflowTrainingReplicaSpec extends Message { + /** + * Number of replicas + * + * @generated from field: int32 replicas = 1; + */ + replicas = 0; + + /** + * Image used for the replica group + * + * @generated from field: string image = 2; + */ + image = ""; + + /** + * Resources required for the replica group + * + * @generated from field: flyteidl.core.Resources resources = 3; + */ + resources?: Resources; + + /** + * RestartPolicy Determines whether pods will be restarted when they exit + * + * @generated from field: flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + restartPolicy = RestartPolicy.NEVER; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "resources", kind: "message", T: Resources }, + { no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(RestartPolicy) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedTensorflowTrainingReplicaSpec { + return new DistributedTensorflowTrainingReplicaSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedTensorflowTrainingReplicaSpec { + return new DistributedTensorflowTrainingReplicaSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedTensorflowTrainingReplicaSpec { + return new DistributedTensorflowTrainingReplicaSpec().fromJsonString(jsonString, options); + } + + static equals(a: DistributedTensorflowTrainingReplicaSpec | PlainMessage | undefined, b: DistributedTensorflowTrainingReplicaSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedTensorflowTrainingReplicaSpec, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/mpi_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/mpi_pb.ts new file mode 100644 index 0000000000..d96ef7fd6a --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/mpi_pb.ts @@ -0,0 +1,68 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/mpi.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * MPI operator proposal https://github.com/kubeflow/community/blob/master/proposals/mpi-operator-proposal.md + * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator + * + * @generated from message flyteidl.plugins.DistributedMPITrainingTask + */ +export class DistributedMPITrainingTask extends Message { + /** + * number of worker spawned in the cluster for this job + * + * @generated from field: int32 num_workers = 1; + */ + numWorkers = 0; + + /** + * number of launcher replicas spawned in the cluster for this job + * The launcher pod invokes mpirun and communicates with worker pods through MPI. + * + * @generated from field: int32 num_launcher_replicas = 2; + */ + numLauncherReplicas = 0; + + /** + * number of slots per worker used in hostfile. + * The available slots (GPUs) in each pod. + * + * @generated from field: int32 slots = 3; + */ + slots = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.DistributedMPITrainingTask"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "num_workers", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "num_launcher_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "slots", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedMPITrainingTask { + return new DistributedMPITrainingTask().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedMPITrainingTask { + return new DistributedMPITrainingTask().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedMPITrainingTask { + return new DistributedMPITrainingTask().fromJsonString(jsonString, options); + } + + static equals(a: DistributedMPITrainingTask | PlainMessage | undefined, b: DistributedMPITrainingTask | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedMPITrainingTask, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/presto_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/presto_pb.ts new file mode 100644 index 0000000000..17de1bef47 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/presto_pb.ts @@ -0,0 +1,66 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/presto.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * This message works with the 'presto' task type in the SDK and is the object that will be in the 'custom' field + * of a Presto task's TaskTemplate + * + * @generated from message flyteidl.plugins.PrestoQuery + */ +export class PrestoQuery extends Message { + /** + * @generated from field: string routing_group = 1; + */ + routingGroup = ""; + + /** + * @generated from field: string catalog = 2; + */ + catalog = ""; + + /** + * @generated from field: string schema = 3; + */ + schema = ""; + + /** + * @generated from field: string statement = 4; + */ + statement = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.PrestoQuery"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "routing_group", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "catalog", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "statement", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PrestoQuery { + return new PrestoQuery().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PrestoQuery { + return new PrestoQuery().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PrestoQuery { + return new PrestoQuery().fromJsonString(jsonString, options); + } + + static equals(a: PrestoQuery | PlainMessage | undefined, b: PrestoQuery | PlainMessage | undefined): boolean { + return proto3.util.equals(PrestoQuery, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/pytorch_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/pytorch_pb.ts new file mode 100644 index 0000000000..df12d51991 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/pytorch_pb.ts @@ -0,0 +1,122 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/pytorch.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Custom proto for torch elastic config for distributed training using + * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go + * + * @generated from message flyteidl.plugins.ElasticConfig + */ +export class ElasticConfig extends Message { + /** + * @generated from field: string rdzv_backend = 1; + */ + rdzvBackend = ""; + + /** + * @generated from field: int32 min_replicas = 2; + */ + minReplicas = 0; + + /** + * @generated from field: int32 max_replicas = 3; + */ + maxReplicas = 0; + + /** + * @generated from field: int32 nproc_per_node = 4; + */ + nprocPerNode = 0; + + /** + * @generated from field: int32 max_restarts = 5; + */ + maxRestarts = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.ElasticConfig"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "rdzv_backend", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "min_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "nproc_per_node", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 5, name: "max_restarts", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ElasticConfig { + return new ElasticConfig().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ElasticConfig { + return new ElasticConfig().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ElasticConfig { + return new ElasticConfig().fromJsonString(jsonString, options); + } + + static equals(a: ElasticConfig | PlainMessage | undefined, b: ElasticConfig | PlainMessage | undefined): boolean { + return proto3.util.equals(ElasticConfig, a, b); + } +} + +/** + * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator + * + * @generated from message flyteidl.plugins.DistributedPyTorchTrainingTask + */ +export class DistributedPyTorchTrainingTask extends Message { + /** + * number of worker replicas spawned in the cluster for this job + * + * @generated from field: int32 workers = 1; + */ + workers = 0; + + /** + * config for an elastic pytorch job + * + * + * @generated from field: flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + elasticConfig?: ElasticConfig; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.DistributedPyTorchTrainingTask"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "workers", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "elastic_config", kind: "message", T: ElasticConfig }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedPyTorchTrainingTask { + return new DistributedPyTorchTrainingTask().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedPyTorchTrainingTask { + return new DistributedPyTorchTrainingTask().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedPyTorchTrainingTask { + return new DistributedPyTorchTrainingTask().fromJsonString(jsonString, options); + } + + static equals(a: DistributedPyTorchTrainingTask | PlainMessage | undefined, b: DistributedPyTorchTrainingTask | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedPyTorchTrainingTask, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/qubole_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/qubole_pb.ts new file mode 100644 index 0000000000..10f740a5ac --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/qubole_pb.ts @@ -0,0 +1,157 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/qubole.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Defines a query to execute on a hive cluster. + * + * @generated from message flyteidl.plugins.HiveQuery + */ +export class HiveQuery extends Message { + /** + * @generated from field: string query = 1; + */ + query = ""; + + /** + * @generated from field: uint32 timeout_sec = 2; + */ + timeoutSec = 0; + + /** + * @generated from field: uint32 retryCount = 3; + */ + retryCount = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.HiveQuery"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "timeout_sec", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "retryCount", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): HiveQuery { + return new HiveQuery().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): HiveQuery { + return new HiveQuery().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): HiveQuery { + return new HiveQuery().fromJsonString(jsonString, options); + } + + static equals(a: HiveQuery | PlainMessage | undefined, b: HiveQuery | PlainMessage | undefined): boolean { + return proto3.util.equals(HiveQuery, a, b); + } +} + +/** + * Defines a collection of hive queries. + * + * @generated from message flyteidl.plugins.HiveQueryCollection + */ +export class HiveQueryCollection extends Message { + /** + * @generated from field: repeated flyteidl.plugins.HiveQuery queries = 2; + */ + queries: HiveQuery[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.HiveQueryCollection"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 2, name: "queries", kind: "message", T: HiveQuery, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): HiveQueryCollection { + return new HiveQueryCollection().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): HiveQueryCollection { + return new HiveQueryCollection().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): HiveQueryCollection { + return new HiveQueryCollection().fromJsonString(jsonString, options); + } + + static equals(a: HiveQueryCollection | PlainMessage | undefined, b: HiveQueryCollection | PlainMessage | undefined): boolean { + return proto3.util.equals(HiveQueryCollection, a, b); + } +} + +/** + * This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field + * of a hive task's TaskTemplate + * + * @generated from message flyteidl.plugins.QuboleHiveJob + */ +export class QuboleHiveJob extends Message { + /** + * @generated from field: string cluster_label = 1; + */ + clusterLabel = ""; + + /** + * @generated from field: flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; + * @deprecated + */ + queryCollection?: HiveQueryCollection; + + /** + * @generated from field: repeated string tags = 3; + */ + tags: string[] = []; + + /** + * @generated from field: flyteidl.plugins.HiveQuery query = 4; + */ + query?: HiveQuery; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.QuboleHiveJob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "cluster_label", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "query_collection", kind: "message", T: HiveQueryCollection }, + { no: 3, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "query", kind: "message", T: HiveQuery }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): QuboleHiveJob { + return new QuboleHiveJob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): QuboleHiveJob { + return new QuboleHiveJob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): QuboleHiveJob { + return new QuboleHiveJob().fromJsonString(jsonString, options); + } + + static equals(a: QuboleHiveJob | PlainMessage | undefined, b: QuboleHiveJob | PlainMessage | undefined): boolean { + return proto3.util.equals(QuboleHiveJob, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/ray_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/ray_pb.ts new file mode 100644 index 0000000000..289b24404c --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/ray_pb.ts @@ -0,0 +1,247 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/ray.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * RayJobSpec defines the desired state of RayJob + * + * @generated from message flyteidl.plugins.RayJob + */ +export class RayJob extends Message { + /** + * RayClusterSpec is the cluster template to run the job + * + * @generated from field: flyteidl.plugins.RayCluster ray_cluster = 1; + */ + rayCluster?: RayCluster; + + /** + * runtime_env is base64 encoded. + * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments + * + * @generated from field: string runtime_env = 2; + */ + runtimeEnv = ""; + + /** + * shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes. + * + * @generated from field: bool shutdown_after_job_finishes = 3; + */ + shutdownAfterJobFinishes = false; + + /** + * ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes. + * + * @generated from field: int32 ttl_seconds_after_finished = 4; + */ + ttlSecondsAfterFinished = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.RayJob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "ray_cluster", kind: "message", T: RayCluster }, + { no: 2, name: "runtime_env", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "shutdown_after_job_finishes", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "ttl_seconds_after_finished", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): RayJob { + return new RayJob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): RayJob { + return new RayJob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): RayJob { + return new RayJob().fromJsonString(jsonString, options); + } + + static equals(a: RayJob | PlainMessage | undefined, b: RayJob | PlainMessage | undefined): boolean { + return proto3.util.equals(RayJob, a, b); + } +} + +/** + * Define Ray cluster defines the desired state of RayCluster + * + * @generated from message flyteidl.plugins.RayCluster + */ +export class RayCluster extends Message { + /** + * HeadGroupSpecs are the spec for the head pod + * + * @generated from field: flyteidl.plugins.HeadGroupSpec head_group_spec = 1; + */ + headGroupSpec?: HeadGroupSpec; + + /** + * WorkerGroupSpecs are the specs for the worker pods + * + * @generated from field: repeated flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; + */ + workerGroupSpec: WorkerGroupSpec[] = []; + + /** + * Whether to enable autoscaling. + * + * @generated from field: bool enable_autoscaling = 3; + */ + enableAutoscaling = false; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.RayCluster"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "head_group_spec", kind: "message", T: HeadGroupSpec }, + { no: 2, name: "worker_group_spec", kind: "message", T: WorkerGroupSpec, repeated: true }, + { no: 3, name: "enable_autoscaling", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): RayCluster { + return new RayCluster().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): RayCluster { + return new RayCluster().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): RayCluster { + return new RayCluster().fromJsonString(jsonString, options); + } + + static equals(a: RayCluster | PlainMessage | undefined, b: RayCluster | PlainMessage | undefined): boolean { + return proto3.util.equals(RayCluster, a, b); + } +} + +/** + * HeadGroupSpec are the spec for the head pod + * + * @generated from message flyteidl.plugins.HeadGroupSpec + */ +export class HeadGroupSpec extends Message { + /** + * Optional. RayStartParams are the params of the start command: address, object-store-memory. + * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start + * + * @generated from field: map ray_start_params = 1; + */ + rayStartParams: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.HeadGroupSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "ray_start_params", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): HeadGroupSpec { + return new HeadGroupSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): HeadGroupSpec { + return new HeadGroupSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): HeadGroupSpec { + return new HeadGroupSpec().fromJsonString(jsonString, options); + } + + static equals(a: HeadGroupSpec | PlainMessage | undefined, b: HeadGroupSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(HeadGroupSpec, a, b); + } +} + +/** + * WorkerGroupSpec are the specs for the worker pods + * + * @generated from message flyteidl.plugins.WorkerGroupSpec + */ +export class WorkerGroupSpec extends Message { + /** + * Required. RayCluster can have multiple worker groups, and it distinguishes them by name + * + * @generated from field: string group_name = 1; + */ + groupName = ""; + + /** + * Required. Desired replicas of the worker group. Defaults to 1. + * + * @generated from field: int32 replicas = 2; + */ + replicas = 0; + + /** + * Optional. Min replicas of the worker group. MinReplicas defaults to 1. + * + * @generated from field: int32 min_replicas = 3; + */ + minReplicas = 0; + + /** + * Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32 + * + * @generated from field: int32 max_replicas = 4; + */ + maxReplicas = 0; + + /** + * Optional. RayStartParams are the params of the start command: address, object-store-memory. + * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start + * + * @generated from field: map ray_start_params = 5; + */ + rayStartParams: { [key: string]: string } = {}; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.WorkerGroupSpec"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "group_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "min_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 5, name: "ray_start_params", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkerGroupSpec { + return new WorkerGroupSpec().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkerGroupSpec { + return new WorkerGroupSpec().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): WorkerGroupSpec { + return new WorkerGroupSpec().fromJsonString(jsonString, options); + } + + static equals(a: WorkerGroupSpec | PlainMessage | undefined, b: WorkerGroupSpec | PlainMessage | undefined): boolean { + return proto3.util.equals(WorkerGroupSpec, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/spark_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/spark_pb.ts new file mode 100644 index 0000000000..20a5463cbb --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/spark_pb.ts @@ -0,0 +1,169 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/spark.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Struct } from "@bufbuild/protobuf"; + +/** + * @generated from message flyteidl.plugins.SparkApplication + */ +export class SparkApplication extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.SparkApplication"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SparkApplication { + return new SparkApplication().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SparkApplication { + return new SparkApplication().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SparkApplication { + return new SparkApplication().fromJsonString(jsonString, options); + } + + static equals(a: SparkApplication | PlainMessage | undefined, b: SparkApplication | PlainMessage | undefined): boolean { + return proto3.util.equals(SparkApplication, a, b); + } +} + +/** + * @generated from enum flyteidl.plugins.SparkApplication.Type + */ +export enum SparkApplication_Type { + /** + * @generated from enum value: PYTHON = 0; + */ + PYTHON = 0, + + /** + * @generated from enum value: JAVA = 1; + */ + JAVA = 1, + + /** + * @generated from enum value: SCALA = 2; + */ + SCALA = 2, + + /** + * @generated from enum value: R = 3; + */ + R = 3, +} +// Retrieve enum metadata with: proto3.getEnumType(SparkApplication_Type) +proto3.util.setEnumType(SparkApplication_Type, "flyteidl.plugins.SparkApplication.Type", [ + { no: 0, name: "PYTHON" }, + { no: 1, name: "JAVA" }, + { no: 2, name: "SCALA" }, + { no: 3, name: "R" }, +]); + +/** + * Custom Proto for Spark Plugin. + * + * @generated from message flyteidl.plugins.SparkJob + */ +export class SparkJob extends Message { + /** + * @generated from field: flyteidl.plugins.SparkApplication.Type applicationType = 1; + */ + applicationType = SparkApplication_Type.PYTHON; + + /** + * @generated from field: string mainApplicationFile = 2; + */ + mainApplicationFile = ""; + + /** + * @generated from field: string mainClass = 3; + */ + mainClass = ""; + + /** + * @generated from field: map sparkConf = 4; + */ + sparkConf: { [key: string]: string } = {}; + + /** + * @generated from field: map hadoopConf = 5; + */ + hadoopConf: { [key: string]: string } = {}; + + /** + * Executor path for Python jobs. + * + * @generated from field: string executorPath = 6; + */ + executorPath = ""; + + /** + * Databricks job configuration. + * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure. + * + * @generated from field: google.protobuf.Struct databricksConf = 7; + */ + databricksConf?: Struct; + + /** + * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html + * This token can be set in either flytepropeller or flytekit. + * + * @generated from field: string databricksToken = 8; + */ + databricksToken = ""; + + /** + * Domain name of your deployment. Use the form .cloud.databricks.com. + * This instance name can be set in either flytepropeller or flytekit. + * + * @generated from field: string databricksInstance = 9; + */ + databricksInstance = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.SparkJob"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "applicationType", kind: "enum", T: proto3.getEnumType(SparkApplication_Type) }, + { no: 2, name: "mainApplicationFile", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "mainClass", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "sparkConf", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 5, name: "hadoopConf", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 6, name: "executorPath", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "databricksConf", kind: "message", T: Struct }, + { no: 8, name: "databricksToken", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "databricksInstance", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): SparkJob { + return new SparkJob().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): SparkJob { + return new SparkJob().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): SparkJob { + return new SparkJob().fromJsonString(jsonString, options); + } + + static equals(a: SparkJob | PlainMessage | undefined, b: SparkJob | PlainMessage | undefined): boolean { + return proto3.util.equals(SparkJob, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/tensorflow_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/tensorflow_pb.ts new file mode 100644 index 0000000000..a2e1b9129b --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/tensorflow_pb.ts @@ -0,0 +1,74 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/tensorflow.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator + * + * @generated from message flyteidl.plugins.DistributedTensorflowTrainingTask + */ +export class DistributedTensorflowTrainingTask extends Message { + /** + * number of worker replicas spawned in the cluster for this job + * + * @generated from field: int32 workers = 1; + */ + workers = 0; + + /** + * PS -> Parameter server + * number of ps replicas spawned in the cluster for this job + * + * @generated from field: int32 ps_replicas = 2; + */ + psReplicas = 0; + + /** + * number of chief replicas spawned in the cluster for this job + * + * @generated from field: int32 chief_replicas = 3; + */ + chiefReplicas = 0; + + /** + * number of evaluator replicas spawned in the cluster for this job + * + * @generated from field: int32 evaluator_replicas = 4; + */ + evaluatorReplicas = 0; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.DistributedTensorflowTrainingTask"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "workers", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "ps_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "chief_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "evaluator_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DistributedTensorflowTrainingTask { + return new DistributedTensorflowTrainingTask().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DistributedTensorflowTrainingTask { + return new DistributedTensorflowTrainingTask().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DistributedTensorflowTrainingTask { + return new DistributedTensorflowTrainingTask().fromJsonString(jsonString, options); + } + + static equals(a: DistributedTensorflowTrainingTask | PlainMessage | undefined, b: DistributedTensorflowTrainingTask | PlainMessage | undefined): boolean { + return proto3.util.equals(DistributedTensorflowTrainingTask, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/plugins/waitable_pb.ts b/flyteidl/gen/pb-es/flyteidl/plugins/waitable_pb.ts new file mode 100644 index 0000000000..3c55163722 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/plugins/waitable_pb.ts @@ -0,0 +1,61 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/plugins/waitable.proto (package flyteidl.plugins, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { WorkflowExecutionIdentifier } from "../core/identifier_pb.js"; +import { WorkflowExecution_Phase } from "../core/execution_pb.js"; + +/** + * Represents an Execution that was launched and could be waited on. + * + * @generated from message flyteidl.plugins.Waitable + */ +export class Waitable extends Message { + /** + * @generated from field: flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; + */ + wfExecId?: WorkflowExecutionIdentifier; + + /** + * @generated from field: flyteidl.core.WorkflowExecution.Phase phase = 2; + */ + phase = WorkflowExecution_Phase.UNDEFINED; + + /** + * @generated from field: string workflow_id = 3; + */ + workflowId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.plugins.Waitable"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "wf_exec_id", kind: "message", T: WorkflowExecutionIdentifier }, + { no: 2, name: "phase", kind: "enum", T: proto3.getEnumType(WorkflowExecution_Phase) }, + { no: 3, name: "workflow_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Waitable { + return new Waitable().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Waitable { + return new Waitable().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Waitable { + return new Waitable().fromJsonString(jsonString, options); + } + + static equals(a: Waitable | PlainMessage | undefined, b: Waitable | PlainMessage | undefined): boolean { + return proto3.util.equals(Waitable, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/service/admin_connect.ts b/flyteidl/gen/pb-es/flyteidl/service/admin_connect.ts new file mode 100644 index 0000000000..3a174aeffc --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/admin_connect.ts @@ -0,0 +1,632 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/service/admin.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { Task, TaskCreateRequest, TaskCreateResponse, TaskList } from "../admin/task_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; +import { NamedEntity, NamedEntityGetRequest, NamedEntityIdentifierList, NamedEntityIdentifierListRequest, NamedEntityList, NamedEntityListRequest, NamedEntityUpdateRequest, NamedEntityUpdateResponse, ObjectGetRequest, ResourceListRequest } from "../admin/common_pb.js"; +import { Workflow, WorkflowCreateRequest, WorkflowCreateResponse, WorkflowList } from "../admin/workflow_pb.js"; +import { ActiveLaunchPlanListRequest, ActiveLaunchPlanRequest, LaunchPlan, LaunchPlanCreateRequest, LaunchPlanCreateResponse, LaunchPlanList, LaunchPlanUpdateRequest, LaunchPlanUpdateResponse } from "../admin/launch_plan_pb.js"; +import { Execution, ExecutionCreateRequest, ExecutionCreateResponse, ExecutionList, ExecutionRecoverRequest, ExecutionRelaunchRequest, ExecutionTerminateRequest, ExecutionTerminateResponse, ExecutionUpdateRequest, ExecutionUpdateResponse, WorkflowExecutionGetDataRequest, WorkflowExecutionGetDataResponse, WorkflowExecutionGetMetricsRequest, WorkflowExecutionGetMetricsResponse, WorkflowExecutionGetRequest } from "../admin/execution_pb.js"; +import { DynamicNodeWorkflowResponse, GetDynamicNodeWorkflowRequest, NodeExecution, NodeExecutionForTaskListRequest, NodeExecutionGetDataRequest, NodeExecutionGetDataResponse, NodeExecutionGetRequest, NodeExecutionList, NodeExecutionListRequest } from "../admin/node_execution_pb.js"; +import { Project, ProjectListRequest, ProjectRegisterRequest, ProjectRegisterResponse, Projects, ProjectUpdateResponse } from "../admin/project_pb.js"; +import { NodeExecutionEventRequest, NodeExecutionEventResponse, TaskExecutionEventRequest, TaskExecutionEventResponse, WorkflowExecutionEventRequest, WorkflowExecutionEventResponse } from "../admin/event_pb.js"; +import { TaskExecution, TaskExecutionGetDataRequest, TaskExecutionGetDataResponse, TaskExecutionGetRequest, TaskExecutionList, TaskExecutionListRequest } from "../admin/task_execution_pb.js"; +import { ProjectDomainAttributesDeleteRequest, ProjectDomainAttributesDeleteResponse, ProjectDomainAttributesGetRequest, ProjectDomainAttributesGetResponse, ProjectDomainAttributesUpdateRequest, ProjectDomainAttributesUpdateResponse } from "../admin/project_domain_attributes_pb.js"; +import { ProjectAttributesDeleteRequest, ProjectAttributesDeleteResponse, ProjectAttributesGetRequest, ProjectAttributesGetResponse, ProjectAttributesUpdateRequest, ProjectAttributesUpdateResponse } from "../admin/project_attributes_pb.js"; +import { WorkflowAttributesDeleteRequest, WorkflowAttributesDeleteResponse, WorkflowAttributesGetRequest, WorkflowAttributesGetResponse, WorkflowAttributesUpdateRequest, WorkflowAttributesUpdateResponse } from "../admin/workflow_attributes_pb.js"; +import { ListMatchableAttributesRequest, ListMatchableAttributesResponse } from "../admin/matchable_resource_pb.js"; +import { GetVersionRequest, GetVersionResponse } from "../admin/version_pb.js"; +import { DescriptionEntity, DescriptionEntityList, DescriptionEntityListRequest } from "../admin/description_entity_pb.js"; + +/** + * The following defines an RPC service that is also served over HTTP via grpc-gateway. + * Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go + * + * @generated from service flyteidl.service.AdminService + */ +export const AdminService = { + typeName: "flyteidl.service.AdminService", + methods: { + /** + * Create and upload a :ref:`ref_flyteidl.admin.Task` definition + * + * @generated from rpc flyteidl.service.AdminService.CreateTask + */ + createTask: { + name: "CreateTask", + I: TaskCreateRequest, + O: TaskCreateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetch a :ref:`ref_flyteidl.admin.Task` definition. + * + * @generated from rpc flyteidl.service.AdminService.GetTask + */ + getTask: { + name: "GetTask", + I: ObjectGetRequest, + O: Task, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. + * + * @generated from rpc flyteidl.service.AdminService.ListTaskIds + */ + listTaskIds: { + name: "ListTaskIds", + I: NamedEntityIdentifierListRequest, + O: NamedEntityIdentifierList, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. + * + * @generated from rpc flyteidl.service.AdminService.ListTasks + */ + listTasks: { + name: "ListTasks", + I: ResourceListRequest, + O: TaskList, + kind: MethodKind.Unary, + }, + /** + * Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition + * + * @generated from rpc flyteidl.service.AdminService.CreateWorkflow + */ + createWorkflow: { + name: "CreateWorkflow", + I: WorkflowCreateRequest, + O: WorkflowCreateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. + * + * @generated from rpc flyteidl.service.AdminService.GetWorkflow + */ + getWorkflow: { + name: "GetWorkflow", + I: ObjectGetRequest, + O: Workflow, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. + * + * @generated from rpc flyteidl.service.AdminService.ListWorkflowIds + */ + listWorkflowIds: { + name: "ListWorkflowIds", + I: NamedEntityIdentifierListRequest, + O: NamedEntityIdentifierList, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. + * + * @generated from rpc flyteidl.service.AdminService.ListWorkflows + */ + listWorkflows: { + name: "ListWorkflows", + I: ResourceListRequest, + O: WorkflowList, + kind: MethodKind.Unary, + }, + /** + * Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition + * + * @generated from rpc flyteidl.service.AdminService.CreateLaunchPlan + */ + createLaunchPlan: { + name: "CreateLaunchPlan", + I: LaunchPlanCreateRequest, + O: LaunchPlanCreateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. + * + * @generated from rpc flyteidl.service.AdminService.GetLaunchPlan + */ + getLaunchPlan: { + name: "GetLaunchPlan", + I: ObjectGetRequest, + O: LaunchPlan, + kind: MethodKind.Unary, + }, + /** + * Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. + * + * @generated from rpc flyteidl.service.AdminService.GetActiveLaunchPlan + */ + getActiveLaunchPlan: { + name: "GetActiveLaunchPlan", + I: ActiveLaunchPlanRequest, + O: LaunchPlan, + kind: MethodKind.Unary, + }, + /** + * List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. + * + * @generated from rpc flyteidl.service.AdminService.ListActiveLaunchPlans + */ + listActiveLaunchPlans: { + name: "ListActiveLaunchPlans", + I: ActiveLaunchPlanListRequest, + O: LaunchPlanList, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. + * + * @generated from rpc flyteidl.service.AdminService.ListLaunchPlanIds + */ + listLaunchPlanIds: { + name: "ListLaunchPlanIds", + I: NamedEntityIdentifierListRequest, + O: NamedEntityIdentifierList, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. + * + * @generated from rpc flyteidl.service.AdminService.ListLaunchPlans + */ + listLaunchPlans: { + name: "ListLaunchPlans", + I: ResourceListRequest, + O: LaunchPlanList, + kind: MethodKind.Unary, + }, + /** + * Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. + * + * @generated from rpc flyteidl.service.AdminService.UpdateLaunchPlan + */ + updateLaunchPlan: { + name: "UpdateLaunchPlan", + I: LaunchPlanUpdateRequest, + O: LaunchPlanUpdateResponse, + kind: MethodKind.Unary, + }, + /** + * Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` + * + * @generated from rpc flyteidl.service.AdminService.CreateExecution + */ + createExecution: { + name: "CreateExecution", + I: ExecutionCreateRequest, + O: ExecutionCreateResponse, + kind: MethodKind.Unary, + }, + /** + * Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` + * + * @generated from rpc flyteidl.service.AdminService.RelaunchExecution + */ + relaunchExecution: { + name: "RelaunchExecution", + I: ExecutionRelaunchRequest, + O: ExecutionCreateResponse, + kind: MethodKind.Unary, + }, + /** + * Recreates a previously-run workflow execution that will only start executing from the last known failure point. + * In Recover mode, users cannot change any input parameters or update the version of the execution. + * This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, + * downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. + * See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. + * + * @generated from rpc flyteidl.service.AdminService.RecoverExecution + */ + recoverExecution: { + name: "RecoverExecution", + I: ExecutionRecoverRequest, + O: ExecutionCreateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches a :ref:`ref_flyteidl.admin.Execution`. + * + * @generated from rpc flyteidl.service.AdminService.GetExecution + */ + getExecution: { + name: "GetExecution", + I: WorkflowExecutionGetRequest, + O: Execution, + kind: MethodKind.Unary, + }, + /** + * Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. + * + * @generated from rpc flyteidl.service.AdminService.UpdateExecution + */ + updateExecution: { + name: "UpdateExecution", + I: ExecutionUpdateRequest, + O: ExecutionUpdateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. + * + * @generated from rpc flyteidl.service.AdminService.GetExecutionData + */ + getExecutionData: { + name: "GetExecutionData", + I: WorkflowExecutionGetDataRequest, + O: WorkflowExecutionGetDataResponse, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.Execution`. + * + * @generated from rpc flyteidl.service.AdminService.ListExecutions + */ + listExecutions: { + name: "ListExecutions", + I: ResourceListRequest, + O: ExecutionList, + kind: MethodKind.Unary, + }, + /** + * Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. + * + * @generated from rpc flyteidl.service.AdminService.TerminateExecution + */ + terminateExecution: { + name: "TerminateExecution", + I: ExecutionTerminateRequest, + O: ExecutionTerminateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. + * + * @generated from rpc flyteidl.service.AdminService.GetNodeExecution + */ + getNodeExecution: { + name: "GetNodeExecution", + I: NodeExecutionGetRequest, + O: NodeExecution, + kind: MethodKind.Unary, + }, + /** + * Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. + * + * @generated from rpc flyteidl.service.AdminService.GetDynamicNodeWorkflow + */ + getDynamicNodeWorkflow: { + name: "GetDynamicNodeWorkflow", + I: GetDynamicNodeWorkflowRequest, + O: DynamicNodeWorkflowResponse, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. + * + * @generated from rpc flyteidl.service.AdminService.ListNodeExecutions + */ + listNodeExecutions: { + name: "ListNodeExecutions", + I: NodeExecutionListRequest, + O: NodeExecutionList, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. + * + * @generated from rpc flyteidl.service.AdminService.ListNodeExecutionsForTask + */ + listNodeExecutionsForTask: { + name: "ListNodeExecutionsForTask", + I: NodeExecutionForTaskListRequest, + O: NodeExecutionList, + kind: MethodKind.Unary, + }, + /** + * Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. + * + * @generated from rpc flyteidl.service.AdminService.GetNodeExecutionData + */ + getNodeExecutionData: { + name: "GetNodeExecutionData", + I: NodeExecutionGetDataRequest, + O: NodeExecutionGetDataResponse, + kind: MethodKind.Unary, + }, + /** + * Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. + * + * @generated from rpc flyteidl.service.AdminService.RegisterProject + */ + registerProject: { + name: "RegisterProject", + I: ProjectRegisterRequest, + O: ProjectRegisterResponse, + kind: MethodKind.Unary, + }, + /** + * Updates an existing :ref:`ref_flyteidl.admin.Project` + * flyteidl.admin.Project should be passed but the domains property should be empty; + * it will be ignored in the handler as domains cannot be updated via this API. + * + * @generated from rpc flyteidl.service.AdminService.UpdateProject + */ + updateProject: { + name: "UpdateProject", + I: Project, + O: ProjectUpdateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches a list of :ref:`ref_flyteidl.admin.Project` + * + * @generated from rpc flyteidl.service.AdminService.ListProjects + */ + listProjects: { + name: "ListProjects", + I: ProjectListRequest, + O: Projects, + kind: MethodKind.Unary, + }, + /** + * Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. + * + * @generated from rpc flyteidl.service.AdminService.CreateWorkflowEvent + */ + createWorkflowEvent: { + name: "CreateWorkflowEvent", + I: WorkflowExecutionEventRequest, + O: WorkflowExecutionEventResponse, + kind: MethodKind.Unary, + }, + /** + * Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. + * + * @generated from rpc flyteidl.service.AdminService.CreateNodeEvent + */ + createNodeEvent: { + name: "CreateNodeEvent", + I: NodeExecutionEventRequest, + O: NodeExecutionEventResponse, + kind: MethodKind.Unary, + }, + /** + * Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. + * + * @generated from rpc flyteidl.service.AdminService.CreateTaskEvent + */ + createTaskEvent: { + name: "CreateTaskEvent", + I: TaskExecutionEventRequest, + O: TaskExecutionEventResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. + * + * @generated from rpc flyteidl.service.AdminService.GetTaskExecution + */ + getTaskExecution: { + name: "GetTaskExecution", + I: TaskExecutionGetRequest, + O: TaskExecution, + kind: MethodKind.Unary, + }, + /** + * Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. + * + * @generated from rpc flyteidl.service.AdminService.ListTaskExecutions + */ + listTaskExecutions: { + name: "ListTaskExecutions", + I: TaskExecutionListRequest, + O: TaskExecutionList, + kind: MethodKind.Unary, + }, + /** + * Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. + * + * @generated from rpc flyteidl.service.AdminService.GetTaskExecutionData + */ + getTaskExecutionData: { + name: "GetTaskExecutionData", + I: TaskExecutionGetDataRequest, + O: TaskExecutionGetDataResponse, + kind: MethodKind.Unary, + }, + /** + * Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + * + * @generated from rpc flyteidl.service.AdminService.UpdateProjectDomainAttributes + */ + updateProjectDomainAttributes: { + name: "UpdateProjectDomainAttributes", + I: ProjectDomainAttributesUpdateRequest, + O: ProjectDomainAttributesUpdateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + * + * @generated from rpc flyteidl.service.AdminService.GetProjectDomainAttributes + */ + getProjectDomainAttributes: { + name: "GetProjectDomainAttributes", + I: ProjectDomainAttributesGetRequest, + O: ProjectDomainAttributesGetResponse, + kind: MethodKind.Unary, + }, + /** + * Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + * + * @generated from rpc flyteidl.service.AdminService.DeleteProjectDomainAttributes + */ + deleteProjectDomainAttributes: { + name: "DeleteProjectDomainAttributes", + I: ProjectDomainAttributesDeleteRequest, + O: ProjectDomainAttributesDeleteResponse, + kind: MethodKind.Unary, + }, + /** + * Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level + * + * @generated from rpc flyteidl.service.AdminService.UpdateProjectAttributes + */ + updateProjectAttributes: { + name: "UpdateProjectAttributes", + I: ProjectAttributesUpdateRequest, + O: ProjectAttributesUpdateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + * + * @generated from rpc flyteidl.service.AdminService.GetProjectAttributes + */ + getProjectAttributes: { + name: "GetProjectAttributes", + I: ProjectAttributesGetRequest, + O: ProjectAttributesGetResponse, + kind: MethodKind.Unary, + }, + /** + * Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + * + * @generated from rpc flyteidl.service.AdminService.DeleteProjectAttributes + */ + deleteProjectAttributes: { + name: "DeleteProjectAttributes", + I: ProjectAttributesDeleteRequest, + O: ProjectAttributesDeleteResponse, + kind: MethodKind.Unary, + }, + /** + * Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + * + * @generated from rpc flyteidl.service.AdminService.UpdateWorkflowAttributes + */ + updateWorkflowAttributes: { + name: "UpdateWorkflowAttributes", + I: WorkflowAttributesUpdateRequest, + O: WorkflowAttributesUpdateResponse, + kind: MethodKind.Unary, + }, + /** + * Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + * + * @generated from rpc flyteidl.service.AdminService.GetWorkflowAttributes + */ + getWorkflowAttributes: { + name: "GetWorkflowAttributes", + I: WorkflowAttributesGetRequest, + O: WorkflowAttributesGetResponse, + kind: MethodKind.Unary, + }, + /** + * Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + * + * @generated from rpc flyteidl.service.AdminService.DeleteWorkflowAttributes + */ + deleteWorkflowAttributes: { + name: "DeleteWorkflowAttributes", + I: WorkflowAttributesDeleteRequest, + O: WorkflowAttributesDeleteResponse, + kind: MethodKind.Unary, + }, + /** + * Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. + * + * @generated from rpc flyteidl.service.AdminService.ListMatchableAttributes + */ + listMatchableAttributes: { + name: "ListMatchableAttributes", + I: ListMatchableAttributesRequest, + O: ListMatchableAttributesResponse, + kind: MethodKind.Unary, + }, + /** + * Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. + * + * @generated from rpc flyteidl.service.AdminService.ListNamedEntities + */ + listNamedEntities: { + name: "ListNamedEntities", + I: NamedEntityListRequest, + O: NamedEntityList, + kind: MethodKind.Unary, + }, + /** + * Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. + * + * @generated from rpc flyteidl.service.AdminService.GetNamedEntity + */ + getNamedEntity: { + name: "GetNamedEntity", + I: NamedEntityGetRequest, + O: NamedEntity, + kind: MethodKind.Unary, + }, + /** + * Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. + * + * @generated from rpc flyteidl.service.AdminService.UpdateNamedEntity + */ + updateNamedEntity: { + name: "UpdateNamedEntity", + I: NamedEntityUpdateRequest, + O: NamedEntityUpdateResponse, + kind: MethodKind.Unary, + }, + /** + * @generated from rpc flyteidl.service.AdminService.GetVersion + */ + getVersion: { + name: "GetVersion", + I: GetVersionRequest, + O: GetVersionResponse, + kind: MethodKind.Unary, + }, + /** + * Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. + * + * @generated from rpc flyteidl.service.AdminService.GetDescriptionEntity + */ + getDescriptionEntity: { + name: "GetDescriptionEntity", + I: ObjectGetRequest, + O: DescriptionEntity, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. + * + * @generated from rpc flyteidl.service.AdminService.ListDescriptionEntities + */ + listDescriptionEntities: { + name: "ListDescriptionEntities", + I: DescriptionEntityListRequest, + O: DescriptionEntityList, + kind: MethodKind.Unary, + }, + /** + * Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + * + * @generated from rpc flyteidl.service.AdminService.GetExecutionMetrics + */ + getExecutionMetrics: { + name: "GetExecutionMetrics", + I: WorkflowExecutionGetMetricsRequest, + O: WorkflowExecutionGetMetricsResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-es/flyteidl/service/agent_connect.ts b/flyteidl/gen/pb-es/flyteidl/service/agent_connect.ts new file mode 100644 index 0000000000..3068a3181a --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/agent_connect.ts @@ -0,0 +1,112 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/service/agent.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { CreateTaskRequest, CreateTaskResponse, DeleteTaskRequest, DeleteTaskResponse, GetAgentRequest, GetAgentResponse, GetTaskLogsRequest, GetTaskLogsResponse, GetTaskMetricsRequest, GetTaskMetricsResponse, GetTaskRequest, GetTaskResponse, ListAgentsRequest, ListAgentsResponse } from "../admin/agent_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * AsyncAgentService defines an RPC Service that allows propeller to send the request to the agent server. + * + * @generated from service flyteidl.service.AsyncAgentService + */ +export const AsyncAgentService = { + typeName: "flyteidl.service.AsyncAgentService", + methods: { + /** + * Send a task create request to the agent server. + * + * @generated from rpc flyteidl.service.AsyncAgentService.CreateTask + */ + createTask: { + name: "CreateTask", + I: CreateTaskRequest, + O: CreateTaskResponse, + kind: MethodKind.Unary, + }, + /** + * Get job status. + * + * @generated from rpc flyteidl.service.AsyncAgentService.GetTask + */ + getTask: { + name: "GetTask", + I: GetTaskRequest, + O: GetTaskResponse, + kind: MethodKind.Unary, + }, + /** + * Delete the task resource. + * + * @generated from rpc flyteidl.service.AsyncAgentService.DeleteTask + */ + deleteTask: { + name: "DeleteTask", + I: DeleteTaskRequest, + O: DeleteTaskResponse, + kind: MethodKind.Unary, + }, + /** + * GetTaskMetrics returns one or more task execution metrics, if available. + * + * Errors include + * * OutOfRange if metrics are not available for the specified task time range + * * various other errors + * + * @generated from rpc flyteidl.service.AsyncAgentService.GetTaskMetrics + */ + getTaskMetrics: { + name: "GetTaskMetrics", + I: GetTaskMetricsRequest, + O: GetTaskMetricsResponse, + kind: MethodKind.Unary, + }, + /** + * GetTaskLogs returns task execution logs, if available. + * + * @generated from rpc flyteidl.service.AsyncAgentService.GetTaskLogs + */ + getTaskLogs: { + name: "GetTaskLogs", + I: GetTaskLogsRequest, + O: GetTaskLogsResponse, + kind: MethodKind.Unary, + }, + } +} as const; + +/** + * AgentMetadataService defines an RPC service that is also served over HTTP via grpc-gateway. + * This service allows propeller or users to get the metadata of agents. + * + * @generated from service flyteidl.service.AgentMetadataService + */ +export const AgentMetadataService = { + typeName: "flyteidl.service.AgentMetadataService", + methods: { + /** + * Fetch a :ref:`ref_flyteidl.admin.Agent` definition. + * + * @generated from rpc flyteidl.service.AgentMetadataService.GetAgent + */ + getAgent: { + name: "GetAgent", + I: GetAgentRequest, + O: GetAgentResponse, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. + * + * @generated from rpc flyteidl.service.AgentMetadataService.ListAgents + */ + listAgents: { + name: "ListAgents", + I: ListAgentsRequest, + O: ListAgentsResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-es/flyteidl/service/auth_connect.ts b/flyteidl/gen/pb-es/flyteidl/service/auth_connect.ts new file mode 100644 index 0000000000..e87fa92712 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/auth_connect.ts @@ -0,0 +1,44 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/service/auth.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { OAuth2MetadataRequest, OAuth2MetadataResponse, PublicClientAuthConfigRequest, PublicClientAuthConfigResponse } from "./auth_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * The following defines an RPC service that is also served over HTTP via grpc-gateway. + * Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go + * RPCs defined in this service must be anonymously accessible. + * + * @generated from service flyteidl.service.AuthMetadataService + */ +export const AuthMetadataService = { + typeName: "flyteidl.service.AuthMetadataService", + methods: { + /** + * Anonymously accessible. Retrieves local or external oauth authorization server metadata. + * + * @generated from rpc flyteidl.service.AuthMetadataService.GetOAuth2Metadata + */ + getOAuth2Metadata: { + name: "GetOAuth2Metadata", + I: OAuth2MetadataRequest, + O: OAuth2MetadataResponse, + kind: MethodKind.Unary, + }, + /** + * Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization + * requests. + * + * @generated from rpc flyteidl.service.AuthMetadataService.GetPublicClientConfig + */ + getPublicClientConfig: { + name: "GetPublicClientConfig", + I: PublicClientAuthConfigRequest, + O: PublicClientAuthConfigResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-es/flyteidl/service/auth_pb.ts b/flyteidl/gen/pb-es/flyteidl/service/auth_pb.ts new file mode 100644 index 0000000000..589a209162 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/auth_pb.ts @@ -0,0 +1,272 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/service/auth.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * @generated from message flyteidl.service.OAuth2MetadataRequest + */ +export class OAuth2MetadataRequest extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.OAuth2MetadataRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): OAuth2MetadataRequest { + return new OAuth2MetadataRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): OAuth2MetadataRequest { + return new OAuth2MetadataRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): OAuth2MetadataRequest { + return new OAuth2MetadataRequest().fromJsonString(jsonString, options); + } + + static equals(a: OAuth2MetadataRequest | PlainMessage | undefined, b: OAuth2MetadataRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(OAuth2MetadataRequest, a, b); + } +} + +/** + * OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata + * as defined in https://tools.ietf.org/html/rfc8414 + * + * @generated from message flyteidl.service.OAuth2MetadataResponse + */ +export class OAuth2MetadataResponse extends Message { + /** + * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external + * issuer. + * + * @generated from field: string issuer = 1; + */ + issuer = ""; + + /** + * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are + * supported that use the authorization endpoint. + * + * @generated from field: string authorization_endpoint = 2; + */ + authorizationEndpoint = ""; + + /** + * URL of the authorization server's token endpoint [RFC6749]. + * + * @generated from field: string token_endpoint = 3; + */ + tokenEndpoint = ""; + + /** + * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports. + * + * @generated from field: repeated string response_types_supported = 4; + */ + responseTypesSupported: string[] = []; + + /** + * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports. + * + * @generated from field: repeated string scopes_supported = 5; + */ + scopesSupported: string[] = []; + + /** + * JSON array containing a list of client authentication methods supported by this token endpoint. + * + * @generated from field: repeated string token_endpoint_auth_methods_supported = 6; + */ + tokenEndpointAuthMethodsSupported: string[] = []; + + /** + * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the + * client uses to validate signatures from the authorization server. + * + * @generated from field: string jwks_uri = 7; + */ + jwksUri = ""; + + /** + * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by + * this authorization server. + * + * @generated from field: repeated string code_challenge_methods_supported = 8; + */ + codeChallengeMethodsSupported: string[] = []; + + /** + * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports. + * + * @generated from field: repeated string grant_types_supported = 9; + */ + grantTypesSupported: string[] = []; + + /** + * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628] + * + * @generated from field: string device_authorization_endpoint = 10; + */ + deviceAuthorizationEndpoint = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.OAuth2MetadataResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "authorization_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "token_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "response_types_supported", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 5, name: "scopes_supported", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 6, name: "token_endpoint_auth_methods_supported", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 7, name: "jwks_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "code_challenge_methods_supported", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 9, name: "grant_types_supported", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 10, name: "device_authorization_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): OAuth2MetadataResponse { + return new OAuth2MetadataResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): OAuth2MetadataResponse { + return new OAuth2MetadataResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): OAuth2MetadataResponse { + return new OAuth2MetadataResponse().fromJsonString(jsonString, options); + } + + static equals(a: OAuth2MetadataResponse | PlainMessage | undefined, b: OAuth2MetadataResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(OAuth2MetadataResponse, a, b); + } +} + +/** + * @generated from message flyteidl.service.PublicClientAuthConfigRequest + */ +export class PublicClientAuthConfigRequest extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.PublicClientAuthConfigRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PublicClientAuthConfigRequest { + return new PublicClientAuthConfigRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PublicClientAuthConfigRequest { + return new PublicClientAuthConfigRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PublicClientAuthConfigRequest { + return new PublicClientAuthConfigRequest().fromJsonString(jsonString, options); + } + + static equals(a: PublicClientAuthConfigRequest | PlainMessage | undefined, b: PublicClientAuthConfigRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(PublicClientAuthConfigRequest, a, b); + } +} + +/** + * FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users. + * + * @generated from message flyteidl.service.PublicClientAuthConfigResponse + */ +export class PublicClientAuthConfigResponse extends Message { + /** + * client_id to use when initiating OAuth2 authorization requests. + * + * @generated from field: string client_id = 1; + */ + clientId = ""; + + /** + * redirect uri to use when initiating OAuth2 authorization requests. + * + * @generated from field: string redirect_uri = 2; + */ + redirectUri = ""; + + /** + * scopes to request when initiating OAuth2 authorization requests. + * + * @generated from field: repeated string scopes = 3; + */ + scopes: string[] = []; + + /** + * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the + * default http `Authorization` header. + * + * @generated from field: string authorization_metadata_key = 4; + */ + authorizationMetadataKey = ""; + + /** + * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used + * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between + * SSL or no SSL connections. + * + * @generated from field: string service_http_endpoint = 5; + */ + serviceHttpEndpoint = ""; + + /** + * audience to use when initiating OAuth2 authorization requests. + * + * @generated from field: string audience = 6; + */ + audience = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.PublicClientAuthConfigResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "redirect_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "scopes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "authorization_metadata_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "service_http_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "audience", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PublicClientAuthConfigResponse { + return new PublicClientAuthConfigResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PublicClientAuthConfigResponse { + return new PublicClientAuthConfigResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PublicClientAuthConfigResponse { + return new PublicClientAuthConfigResponse().fromJsonString(jsonString, options); + } + + static equals(a: PublicClientAuthConfigResponse | PlainMessage | undefined, b: PublicClientAuthConfigResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(PublicClientAuthConfigResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/service/dataproxy_connect.ts b/flyteidl/gen/pb-es/flyteidl/service/dataproxy_connect.ts new file mode 100644 index 0000000000..56489fb5b0 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/dataproxy_connect.ts @@ -0,0 +1,62 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/service/dataproxy.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { CreateDownloadLinkRequest, CreateDownloadLinkResponse, CreateDownloadLocationRequest, CreateDownloadLocationResponse, CreateUploadLocationRequest, CreateUploadLocationResponse, GetDataRequest, GetDataResponse } from "./dataproxy_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * DataProxyService defines an RPC Service that allows access to user-data in a controlled manner. + * + * @generated from service flyteidl.service.DataProxyService + */ +export const DataProxyService = { + typeName: "flyteidl.service.DataProxyService", + methods: { + /** + * CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. + * + * @generated from rpc flyteidl.service.DataProxyService.CreateUploadLocation + */ + createUploadLocation: { + name: "CreateUploadLocation", + I: CreateUploadLocationRequest, + O: CreateUploadLocationResponse, + kind: MethodKind.Unary, + }, + /** + * CreateDownloadLocation creates a signed url to download artifacts. + * + * @generated from rpc flyteidl.service.DataProxyService.CreateDownloadLocation + * @deprecated + */ + createDownloadLocation: { + name: "CreateDownloadLocation", + I: CreateDownloadLocationRequest, + O: CreateDownloadLocationResponse, + kind: MethodKind.Unary, + }, + /** + * CreateDownloadLocation creates a signed url to download artifacts. + * + * @generated from rpc flyteidl.service.DataProxyService.CreateDownloadLink + */ + createDownloadLink: { + name: "CreateDownloadLink", + I: CreateDownloadLinkRequest, + O: CreateDownloadLinkResponse, + kind: MethodKind.Unary, + }, + /** + * @generated from rpc flyteidl.service.DataProxyService.GetData + */ + getData: { + name: "GetData", + I: GetDataRequest, + O: GetDataResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-es/flyteidl/service/dataproxy_pb.ts b/flyteidl/gen/pb-es/flyteidl/service/dataproxy_pb.ts new file mode 100644 index 0000000000..2b4cf829ab --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/dataproxy_pb.ts @@ -0,0 +1,570 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/service/dataproxy.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { NodeExecutionIdentifier } from "../core/identifier_pb.js"; +import { Literal, LiteralMap } from "../core/literals_pb.js"; + +/** + * ArtifactType + * + * @generated from enum flyteidl.service.ArtifactType + */ +export enum ArtifactType { + /** + * ARTIFACT_TYPE_UNDEFINED is the default, often invalid, value for the enum. + * + * @generated from enum value: ARTIFACT_TYPE_UNDEFINED = 0; + */ + UNDEFINED = 0, + + /** + * ARTIFACT_TYPE_DECK refers to the deck html file optionally generated after a task, a workflow or a launch plan + * finishes executing. + * + * @generated from enum value: ARTIFACT_TYPE_DECK = 1; + */ + DECK = 1, +} +// Retrieve enum metadata with: proto3.getEnumType(ArtifactType) +proto3.util.setEnumType(ArtifactType, "flyteidl.service.ArtifactType", [ + { no: 0, name: "ARTIFACT_TYPE_UNDEFINED" }, + { no: 1, name: "ARTIFACT_TYPE_DECK" }, +]); + +/** + * @generated from message flyteidl.service.CreateUploadLocationResponse + */ +export class CreateUploadLocationResponse extends Message { + /** + * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) + * + * @generated from field: string signed_url = 1; + */ + signedUrl = ""; + + /** + * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) + * + * @generated from field: string native_url = 2; + */ + nativeUrl = ""; + + /** + * ExpiresAt defines when will the signed URL expires. + * + * @generated from field: google.protobuf.Timestamp expires_at = 3; + */ + expiresAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.CreateUploadLocationResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signed_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "native_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "expires_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateUploadLocationResponse { + return new CreateUploadLocationResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateUploadLocationResponse { + return new CreateUploadLocationResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateUploadLocationResponse { + return new CreateUploadLocationResponse().fromJsonString(jsonString, options); + } + + static equals(a: CreateUploadLocationResponse | PlainMessage | undefined, b: CreateUploadLocationResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateUploadLocationResponse, a, b); + } +} + +/** + * CreateUploadLocationRequest specified request for the CreateUploadLocation API. + * The implementation in data proxy service will create the s3 location with some server side configured prefixes, + * and then: + * - project/domain/(a deterministic str representation of the content_md5)/filename (if present); OR + * - project/domain/filename_root (if present)/filename (if present). + * + * @generated from message flyteidl.service.CreateUploadLocationRequest + */ +export class CreateUploadLocationRequest extends Message { + /** + * Project to create the upload location for + * +required + * + * @generated from field: string project = 1; + */ + project = ""; + + /** + * Domain to create the upload location for. + * +required + * + * @generated from field: string domain = 2; + */ + domain = ""; + + /** + * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`. + * +optional. By default, the service will generate a consistent name based on the provided parameters. + * + * @generated from field: string filename = 3; + */ + filename = ""; + + /** + * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this + * exceeds the platform allowed max. + * +optional. The default value comes from a global config. + * + * @generated from field: google.protobuf.Duration expires_in = 4; + */ + expiresIn?: Duration; + + /** + * ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the + * generated path. + * +required + * + * @generated from field: bytes content_md5 = 5; + */ + contentMd5 = new Uint8Array(0); + + /** + * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included + * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix + * in data proxy config. This option is useful when uploading multiple files. + * +optional + * + * @generated from field: string filename_root = 6; + */ + filenameRoot = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.CreateUploadLocationRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "expires_in", kind: "message", T: Duration }, + { no: 5, name: "content_md5", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 6, name: "filename_root", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateUploadLocationRequest { + return new CreateUploadLocationRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateUploadLocationRequest { + return new CreateUploadLocationRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateUploadLocationRequest { + return new CreateUploadLocationRequest().fromJsonString(jsonString, options); + } + + static equals(a: CreateUploadLocationRequest | PlainMessage | undefined, b: CreateUploadLocationRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateUploadLocationRequest, a, b); + } +} + +/** + * CreateDownloadLocationRequest specified request for the CreateDownloadLocation API. + * + * @generated from message flyteidl.service.CreateDownloadLocationRequest + * @deprecated + */ +export class CreateDownloadLocationRequest extends Message { + /** + * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) + * + * @generated from field: string native_url = 1; + */ + nativeUrl = ""; + + /** + * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this + * exceeds the platform allowed max. + * +optional. The default value comes from a global config. + * + * @generated from field: google.protobuf.Duration expires_in = 2; + */ + expiresIn?: Duration; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.CreateDownloadLocationRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "native_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "expires_in", kind: "message", T: Duration }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateDownloadLocationRequest { + return new CreateDownloadLocationRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateDownloadLocationRequest { + return new CreateDownloadLocationRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateDownloadLocationRequest { + return new CreateDownloadLocationRequest().fromJsonString(jsonString, options); + } + + static equals(a: CreateDownloadLocationRequest | PlainMessage | undefined, b: CreateDownloadLocationRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateDownloadLocationRequest, a, b); + } +} + +/** + * @generated from message flyteidl.service.CreateDownloadLocationResponse + * @deprecated + */ +export class CreateDownloadLocationResponse extends Message { + /** + * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) + * + * @generated from field: string signed_url = 1; + */ + signedUrl = ""; + + /** + * ExpiresAt defines when will the signed URL expires. + * + * @generated from field: google.protobuf.Timestamp expires_at = 2; + */ + expiresAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.CreateDownloadLocationResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signed_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "expires_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateDownloadLocationResponse { + return new CreateDownloadLocationResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateDownloadLocationResponse { + return new CreateDownloadLocationResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateDownloadLocationResponse { + return new CreateDownloadLocationResponse().fromJsonString(jsonString, options); + } + + static equals(a: CreateDownloadLocationResponse | PlainMessage | undefined, b: CreateDownloadLocationResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateDownloadLocationResponse, a, b); + } +} + +/** + * CreateDownloadLinkRequest defines the request parameters to create a download link (signed url) + * + * @generated from message flyteidl.service.CreateDownloadLinkRequest + */ +export class CreateDownloadLinkRequest extends Message { + /** + * ArtifactType of the artifact requested. + * + * @generated from field: flyteidl.service.ArtifactType artifact_type = 1; + */ + artifactType = ArtifactType.UNDEFINED; + + /** + * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this + * exceeds the platform allowed max. + * +optional. The default value comes from a global config. + * + * @generated from field: google.protobuf.Duration expires_in = 2; + */ + expiresIn?: Duration; + + /** + * @generated from oneof flyteidl.service.CreateDownloadLinkRequest.source + */ + source: { + /** + * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the + * most recent attempt of the task. + * + * @generated from field: flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + value: NodeExecutionIdentifier; + case: "nodeExecutionId"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.CreateDownloadLinkRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "artifact_type", kind: "enum", T: proto3.getEnumType(ArtifactType) }, + { no: 2, name: "expires_in", kind: "message", T: Duration }, + { no: 3, name: "node_execution_id", kind: "message", T: NodeExecutionIdentifier, oneof: "source" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateDownloadLinkRequest { + return new CreateDownloadLinkRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateDownloadLinkRequest { + return new CreateDownloadLinkRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateDownloadLinkRequest { + return new CreateDownloadLinkRequest().fromJsonString(jsonString, options); + } + + static equals(a: CreateDownloadLinkRequest | PlainMessage | undefined, b: CreateDownloadLinkRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateDownloadLinkRequest, a, b); + } +} + +/** + * CreateDownloadLinkResponse defines the response for the generated links + * + * @generated from message flyteidl.service.CreateDownloadLinkResponse + */ +export class CreateDownloadLinkResponse extends Message { + /** + * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) + * + * @generated from field: repeated string signed_url = 1 [deprecated = true]; + * @deprecated + */ + signedUrl: string[] = []; + + /** + * ExpiresAt defines when will the signed URL expire. + * + * @generated from field: google.protobuf.Timestamp expires_at = 2 [deprecated = true]; + * @deprecated + */ + expiresAt?: Timestamp; + + /** + * New wrapper object containing the signed urls and expiration time + * + * @generated from field: flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + preSignedUrls?: PreSignedURLs; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.CreateDownloadLinkResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signed_url", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "expires_at", kind: "message", T: Timestamp }, + { no: 3, name: "pre_signed_urls", kind: "message", T: PreSignedURLs }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateDownloadLinkResponse { + return new CreateDownloadLinkResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateDownloadLinkResponse { + return new CreateDownloadLinkResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateDownloadLinkResponse { + return new CreateDownloadLinkResponse().fromJsonString(jsonString, options); + } + + static equals(a: CreateDownloadLinkResponse | PlainMessage | undefined, b: CreateDownloadLinkResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateDownloadLinkResponse, a, b); + } +} + +/** + * Wrapper object since the message is shared across this and the GetDataResponse + * + * @generated from message flyteidl.service.PreSignedURLs + */ +export class PreSignedURLs extends Message { + /** + * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) + * + * @generated from field: repeated string signed_url = 1; + */ + signedUrl: string[] = []; + + /** + * ExpiresAt defines when will the signed URL expire. + * + * @generated from field: google.protobuf.Timestamp expires_at = 2; + */ + expiresAt?: Timestamp; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.PreSignedURLs"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "signed_url", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "expires_at", kind: "message", T: Timestamp }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PreSignedURLs { + return new PreSignedURLs().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PreSignedURLs { + return new PreSignedURLs().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PreSignedURLs { + return new PreSignedURLs().fromJsonString(jsonString, options); + } + + static equals(a: PreSignedURLs | PlainMessage | undefined, b: PreSignedURLs | PlainMessage | undefined): boolean { + return proto3.util.equals(PreSignedURLs, a, b); + } +} + +/** + * General request artifact to retrieve data from a Flyte artifact url. + * + * @generated from message flyteidl.service.GetDataRequest + */ +export class GetDataRequest extends Message { + /** + * A unique identifier in the form of flyte:// that uniquely, for a given Flyte + * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.). + * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) + * flyte://v1/proj/development/execid/n2/i (for node execution input) + * flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node) + * + * @generated from field: string flyte_url = 1; + */ + flyteUrl = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.GetDataRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "flyte_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetDataRequest { + return new GetDataRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetDataRequest { + return new GetDataRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetDataRequest { + return new GetDataRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetDataRequest | PlainMessage | undefined, b: GetDataRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetDataRequest, a, b); + } +} + +/** + * @generated from message flyteidl.service.GetDataResponse + */ +export class GetDataResponse extends Message { + /** + * @generated from oneof flyteidl.service.GetDataResponse.data + */ + data: { + /** + * literal map data will be returned + * + * @generated from field: flyteidl.core.LiteralMap literal_map = 1; + */ + value: LiteralMap; + case: "literalMap"; + } | { + /** + * Flyte deck html will be returned as a signed url users can download + * + * @generated from field: flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + value: PreSignedURLs; + case: "preSignedUrls"; + } | { + /** + * Single literal will be returned. This is returned when the user/url requests a specific output or input + * by name. See the o3 example above. + * + * @generated from field: flyteidl.core.Literal literal = 3; + */ + value: Literal; + case: "literal"; + } | { case: undefined; value?: undefined } = { case: undefined }; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.GetDataResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "literal_map", kind: "message", T: LiteralMap, oneof: "data" }, + { no: 2, name: "pre_signed_urls", kind: "message", T: PreSignedURLs, oneof: "data" }, + { no: 3, name: "literal", kind: "message", T: Literal, oneof: "data" }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetDataResponse { + return new GetDataResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetDataResponse { + return new GetDataResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetDataResponse { + return new GetDataResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetDataResponse | PlainMessage | undefined, b: GetDataResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetDataResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/service/external_plugin_service_connect.ts b/flyteidl/gen/pb-es/flyteidl/service/external_plugin_service_connect.ts new file mode 100644 index 0000000000..a1abb14ae9 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/external_plugin_service_connect.ts @@ -0,0 +1,55 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/service/external_plugin_service.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { TaskCreateRequest, TaskCreateResponse, TaskDeleteRequest, TaskDeleteResponse, TaskGetRequest, TaskGetResponse } from "./external_plugin_service_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * ExternalPluginService defines an RPC Service that allows propeller to send the request to the backend plugin server. + * + * @generated from service flyteidl.service.ExternalPluginService + */ +export const ExternalPluginService = { + typeName: "flyteidl.service.ExternalPluginService", + methods: { + /** + * Send a task create request to the backend plugin server. + * + * @generated from rpc flyteidl.service.ExternalPluginService.CreateTask + * @deprecated + */ + createTask: { + name: "CreateTask", + I: TaskCreateRequest, + O: TaskCreateResponse, + kind: MethodKind.Unary, + }, + /** + * Get job status. + * + * @generated from rpc flyteidl.service.ExternalPluginService.GetTask + * @deprecated + */ + getTask: { + name: "GetTask", + I: TaskGetRequest, + O: TaskGetResponse, + kind: MethodKind.Unary, + }, + /** + * Delete the task resource. + * + * @generated from rpc flyteidl.service.ExternalPluginService.DeleteTask + * @deprecated + */ + deleteTask: { + name: "DeleteTask", + I: TaskDeleteRequest, + O: TaskDeleteResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-es/flyteidl/service/external_plugin_service_pb.ts b/flyteidl/gen/pb-es/flyteidl/service/external_plugin_service_pb.ts new file mode 100644 index 0000000000..2a3e022be7 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/external_plugin_service_pb.ts @@ -0,0 +1,337 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/service/external_plugin_service.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { LiteralMap } from "../core/literals_pb.js"; +import { TaskTemplate } from "../core/tasks_pb.js"; + +/** + * The state of the execution is used to control its visibility in the UI/CLI. + * + * @generated from enum flyteidl.service.State + * @deprecated + */ +export enum State { + /** + * @generated from enum value: RETRYABLE_FAILURE = 0; + */ + RETRYABLE_FAILURE = 0, + + /** + * @generated from enum value: PERMANENT_FAILURE = 1; + */ + PERMANENT_FAILURE = 1, + + /** + * @generated from enum value: PENDING = 2; + */ + PENDING = 2, + + /** + * @generated from enum value: RUNNING = 3; + */ + RUNNING = 3, + + /** + * @generated from enum value: SUCCEEDED = 4; + */ + SUCCEEDED = 4, +} +// Retrieve enum metadata with: proto3.getEnumType(State) +proto3.util.setEnumType(State, "flyteidl.service.State", [ + { no: 0, name: "RETRYABLE_FAILURE" }, + { no: 1, name: "PERMANENT_FAILURE" }, + { no: 2, name: "PENDING" }, + { no: 3, name: "RUNNING" }, + { no: 4, name: "SUCCEEDED" }, +]); + +/** + * Represents a request structure to create task. + * + * @generated from message flyteidl.service.TaskCreateRequest + * @deprecated + */ +export class TaskCreateRequest extends Message { + /** + * The inputs required to start the execution. All required inputs must be + * included in this map. If not required and not provided, defaults apply. + * +optional + * + * @generated from field: flyteidl.core.LiteralMap inputs = 1; + */ + inputs?: LiteralMap; + + /** + * Template of the task that encapsulates all the metadata of the task. + * + * @generated from field: flyteidl.core.TaskTemplate template = 2; + */ + template?: TaskTemplate; + + /** + * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) + * + * @generated from field: string output_prefix = 3; + */ + outputPrefix = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.TaskCreateRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "inputs", kind: "message", T: LiteralMap }, + { no: 2, name: "template", kind: "message", T: TaskTemplate }, + { no: 3, name: "output_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskCreateRequest { + return new TaskCreateRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskCreateRequest { + return new TaskCreateRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskCreateRequest { + return new TaskCreateRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskCreateRequest | PlainMessage | undefined, b: TaskCreateRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskCreateRequest, a, b); + } +} + +/** + * Represents a create response structure. + * + * @generated from message flyteidl.service.TaskCreateResponse + * @deprecated + */ +export class TaskCreateResponse extends Message { + /** + * @generated from field: string job_id = 1; + */ + jobId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.TaskCreateResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskCreateResponse { + return new TaskCreateResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskCreateResponse { + return new TaskCreateResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskCreateResponse { + return new TaskCreateResponse().fromJsonString(jsonString, options); + } + + static equals(a: TaskCreateResponse | PlainMessage | undefined, b: TaskCreateResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskCreateResponse, a, b); + } +} + +/** + * A message used to fetch a job state from backend plugin server. + * + * @generated from message flyteidl.service.TaskGetRequest + * @deprecated + */ +export class TaskGetRequest extends Message { + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 1; + */ + taskType = ""; + + /** + * The unique id identifying the job. + * + * @generated from field: string job_id = 2; + */ + jobId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.TaskGetRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskGetRequest { + return new TaskGetRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskGetRequest { + return new TaskGetRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskGetRequest { + return new TaskGetRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskGetRequest | PlainMessage | undefined, b: TaskGetRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskGetRequest, a, b); + } +} + +/** + * Response to get an individual task state. + * + * @generated from message flyteidl.service.TaskGetResponse + * @deprecated + */ +export class TaskGetResponse extends Message { + /** + * The state of the execution is used to control its visibility in the UI/CLI. + * + * @generated from field: flyteidl.service.State state = 1; + */ + state = State.RETRYABLE_FAILURE; + + /** + * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a + * Structured dataset pointing to the query result table. + * +optional + * + * @generated from field: flyteidl.core.LiteralMap outputs = 2; + */ + outputs?: LiteralMap; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.TaskGetResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "state", kind: "enum", T: proto3.getEnumType(State) }, + { no: 2, name: "outputs", kind: "message", T: LiteralMap }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskGetResponse { + return new TaskGetResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskGetResponse { + return new TaskGetResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskGetResponse { + return new TaskGetResponse().fromJsonString(jsonString, options); + } + + static equals(a: TaskGetResponse | PlainMessage | undefined, b: TaskGetResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskGetResponse, a, b); + } +} + +/** + * A message used to delete a task. + * + * @generated from message flyteidl.service.TaskDeleteRequest + * @deprecated + */ +export class TaskDeleteRequest extends Message { + /** + * A predefined yet extensible Task type identifier. + * + * @generated from field: string task_type = 1; + */ + taskType = ""; + + /** + * The unique id identifying the job. + * + * @generated from field: string job_id = 2; + */ + jobId = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.TaskDeleteRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "task_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskDeleteRequest { + return new TaskDeleteRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskDeleteRequest { + return new TaskDeleteRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskDeleteRequest { + return new TaskDeleteRequest().fromJsonString(jsonString, options); + } + + static equals(a: TaskDeleteRequest | PlainMessage | undefined, b: TaskDeleteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskDeleteRequest, a, b); + } +} + +/** + * Response to delete a task. + * + * @generated from message flyteidl.service.TaskDeleteResponse + * @deprecated + */ +export class TaskDeleteResponse extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.TaskDeleteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): TaskDeleteResponse { + return new TaskDeleteResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): TaskDeleteResponse { + return new TaskDeleteResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): TaskDeleteResponse { + return new TaskDeleteResponse().fromJsonString(jsonString, options); + } + + static equals(a: TaskDeleteResponse | PlainMessage | undefined, b: TaskDeleteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TaskDeleteResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/service/identity_connect.ts b/flyteidl/gen/pb-es/flyteidl/service/identity_connect.ts new file mode 100644 index 0000000000..0094996c35 --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/identity_connect.ts @@ -0,0 +1,30 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/service/identity.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { UserInfoRequest, UserInfoResponse } from "./identity_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * IdentityService defines an RPC Service that interacts with user/app identities. + * + * @generated from service flyteidl.service.IdentityService + */ +export const IdentityService = { + typeName: "flyteidl.service.IdentityService", + methods: { + /** + * Retrieves user information about the currently logged in user. + * + * @generated from rpc flyteidl.service.IdentityService.UserInfo + */ + userInfo: { + name: "UserInfo", + I: UserInfoRequest, + O: UserInfoResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-es/flyteidl/service/identity_pb.ts b/flyteidl/gen/pb-es/flyteidl/service/identity_pb.ts new file mode 100644 index 0000000000..7b75d327bc --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/identity_pb.ts @@ -0,0 +1,137 @@ +// @generated by protoc-gen-es v1.7.2 with parameter "target=ts" +// @generated from file flyteidl/service/identity.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Struct } from "@bufbuild/protobuf"; + +/** + * @generated from message flyteidl.service.UserInfoRequest + */ +export class UserInfoRequest extends Message { + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.UserInfoRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): UserInfoRequest { + return new UserInfoRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): UserInfoRequest { + return new UserInfoRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): UserInfoRequest { + return new UserInfoRequest().fromJsonString(jsonString, options); + } + + static equals(a: UserInfoRequest | PlainMessage | undefined, b: UserInfoRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(UserInfoRequest, a, b); + } +} + +/** + * See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information. + * + * @generated from message flyteidl.service.UserInfoResponse + */ +export class UserInfoResponse extends Message { + /** + * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed + * by the Client. + * + * @generated from field: string subject = 1; + */ + subject = ""; + + /** + * Full name + * + * @generated from field: string name = 2; + */ + name = ""; + + /** + * Shorthand name by which the End-User wishes to be referred to + * + * @generated from field: string preferred_username = 3; + */ + preferredUsername = ""; + + /** + * Given name(s) or first name(s) + * + * @generated from field: string given_name = 4; + */ + givenName = ""; + + /** + * Surname(s) or last name(s) + * + * @generated from field: string family_name = 5; + */ + familyName = ""; + + /** + * Preferred e-mail address + * + * @generated from field: string email = 6; + */ + email = ""; + + /** + * Profile picture URL + * + * @generated from field: string picture = 7; + */ + picture = ""; + + /** + * Additional claims + * + * @generated from field: google.protobuf.Struct additional_claims = 8; + */ + additionalClaims?: Struct; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "flyteidl.service.UserInfoResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "preferred_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "given_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "family_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "picture", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "additional_claims", kind: "message", T: Struct }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): UserInfoResponse { + return new UserInfoResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): UserInfoResponse { + return new UserInfoResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): UserInfoResponse { + return new UserInfoResponse().fromJsonString(jsonString, options); + } + + static equals(a: UserInfoResponse | PlainMessage | undefined, b: UserInfoResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(UserInfoResponse, a, b); + } +} + diff --git a/flyteidl/gen/pb-es/flyteidl/service/signal_connect.ts b/flyteidl/gen/pb-es/flyteidl/service/signal_connect.ts new file mode 100644 index 0000000000..2bde50661a --- /dev/null +++ b/flyteidl/gen/pb-es/flyteidl/service/signal_connect.ts @@ -0,0 +1,52 @@ +// @generated by protoc-gen-connect-es v1.3.0 with parameter "target=ts" +// @generated from file flyteidl/service/signal.proto (package flyteidl.service, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { Signal, SignalGetOrCreateRequest, SignalList, SignalListRequest, SignalSetRequest, SignalSetResponse } from "../admin/signal_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * SignalService defines an RPC Service that may create, update, and retrieve signal(s). + * + * @generated from service flyteidl.service.SignalService + */ +export const SignalService = { + typeName: "flyteidl.service.SignalService", + methods: { + /** + * Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. + * + * @generated from rpc flyteidl.service.SignalService.GetOrCreateSignal + */ + getOrCreateSignal: { + name: "GetOrCreateSignal", + I: SignalGetOrCreateRequest, + O: Signal, + kind: MethodKind.Unary, + }, + /** + * Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. + * + * @generated from rpc flyteidl.service.SignalService.ListSignals + */ + listSignals: { + name: "ListSignals", + I: SignalListRequest, + O: SignalList, + kind: MethodKind.Unary, + }, + /** + * Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition + * + * @generated from rpc flyteidl.service.SignalService.SetSignal + */ + setSignal: { + name: "SetSignal", + I: SignalSetRequest, + O: SignalSetResponse, + kind: MethodKind.Unary, + }, + } +} as const; + diff --git a/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go index a3f2e327d9..de0a0f0244 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go @@ -1,27 +1,27 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/agent.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // The state of the execution is used to control its visibility in the UI/CLI. type State int32 @@ -34,32 +34,57 @@ const ( State_SUCCEEDED State = 4 ) -var State_name = map[int32]string{ - 0: "RETRYABLE_FAILURE", - 1: "PERMANENT_FAILURE", - 2: "PENDING", - 3: "RUNNING", - 4: "SUCCEEDED", -} +// Enum value maps for State. +var ( + State_name = map[int32]string{ + 0: "RETRYABLE_FAILURE", + 1: "PERMANENT_FAILURE", + 2: "PENDING", + 3: "RUNNING", + 4: "SUCCEEDED", + } + State_value = map[string]int32{ + "RETRYABLE_FAILURE": 0, + "PERMANENT_FAILURE": 1, + "PENDING": 2, + "RUNNING": 3, + "SUCCEEDED": 4, + } +) -var State_value = map[string]int32{ - "RETRYABLE_FAILURE": 0, - "PERMANENT_FAILURE": 1, - "PENDING": 2, - "RUNNING": 3, - "SUCCEEDED": 4, +func (x State) Enum() *State { + p := new(State) + *p = x + return p } func (x State) String() string { - return proto.EnumName(State_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (State) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_agent_proto_enumTypes[0].Descriptor() } +func (State) Type() protoreflect.EnumType { + return &file_flyteidl_admin_agent_proto_enumTypes[0] +} + +func (x State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use State.Descriptor instead. func (State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{0} + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{0} } // Represents a subset of runtime task execution metadata that are relevant to external plugins. type TaskExecutionMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ID of the task execution TaskExecutionId *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=task_execution_id,json=taskExecutionId,proto3" json:"task_execution_id,omitempty"` // k8s namespace where the task is executed in @@ -72,80 +97,88 @@ type TaskExecutionMetadata struct { K8SServiceAccount string `protobuf:"bytes,5,opt,name=k8s_service_account,json=k8sServiceAccount,proto3" json:"k8s_service_account,omitempty"` // Environment variables attached to the task execution EnvironmentVariables map[string]string `protobuf:"bytes,6,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *TaskExecutionMetadata) Reset() { *m = TaskExecutionMetadata{} } -func (m *TaskExecutionMetadata) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionMetadata) ProtoMessage() {} -func (*TaskExecutionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{0} +func (x *TaskExecutionMetadata) Reset() { + *x = TaskExecutionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionMetadata.Unmarshal(m, b) -} -func (m *TaskExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionMetadata.Marshal(b, m, deterministic) -} -func (m *TaskExecutionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionMetadata.Merge(m, src) +func (x *TaskExecutionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionMetadata) XXX_Size() int { - return xxx_messageInfo_TaskExecutionMetadata.Size(m) -} -func (m *TaskExecutionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionMetadata.DiscardUnknown(m) + +func (*TaskExecutionMetadata) ProtoMessage() {} + +func (x *TaskExecutionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionMetadata proto.InternalMessageInfo +// Deprecated: Use TaskExecutionMetadata.ProtoReflect.Descriptor instead. +func (*TaskExecutionMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{0} +} -func (m *TaskExecutionMetadata) GetTaskExecutionId() *core.TaskExecutionIdentifier { - if m != nil { - return m.TaskExecutionId +func (x *TaskExecutionMetadata) GetTaskExecutionId() *core.TaskExecutionIdentifier { + if x != nil { + return x.TaskExecutionId } return nil } -func (m *TaskExecutionMetadata) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *TaskExecutionMetadata) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *TaskExecutionMetadata) GetLabels() map[string]string { - if m != nil { - return m.Labels +func (x *TaskExecutionMetadata) GetLabels() map[string]string { + if x != nil { + return x.Labels } return nil } -func (m *TaskExecutionMetadata) GetAnnotations() map[string]string { - if m != nil { - return m.Annotations +func (x *TaskExecutionMetadata) GetAnnotations() map[string]string { + if x != nil { + return x.Annotations } return nil } -func (m *TaskExecutionMetadata) GetK8SServiceAccount() string { - if m != nil { - return m.K8SServiceAccount +func (x *TaskExecutionMetadata) GetK8SServiceAccount() string { + if x != nil { + return x.K8SServiceAccount } return "" } -func (m *TaskExecutionMetadata) GetEnvironmentVariables() map[string]string { - if m != nil { - return m.EnvironmentVariables +func (x *TaskExecutionMetadata) GetEnvironmentVariables() map[string]string { + if x != nil { + return x.EnvironmentVariables } return nil } // Represents a request structure to create task. type CreateTaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The inputs required to start the execution. All required inputs must be // included in this map. If not required and not provided, defaults apply. // +optional @@ -156,119 +189,116 @@ type CreateTaskRequest struct { OutputPrefix string `protobuf:"bytes,3,opt,name=output_prefix,json=outputPrefix,proto3" json:"output_prefix,omitempty"` // subset of runtime task execution metadata. TaskExecutionMetadata *TaskExecutionMetadata `protobuf:"bytes,4,opt,name=task_execution_metadata,json=taskExecutionMetadata,proto3" json:"task_execution_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *CreateTaskRequest) Reset() { *m = CreateTaskRequest{} } -func (m *CreateTaskRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTaskRequest) ProtoMessage() {} -func (*CreateTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{1} +func (x *CreateTaskRequest) Reset() { + *x = CreateTaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateTaskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTaskRequest.Unmarshal(m, b) -} -func (m *CreateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTaskRequest.Marshal(b, m, deterministic) -} -func (m *CreateTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTaskRequest.Merge(m, src) -} -func (m *CreateTaskRequest) XXX_Size() int { - return xxx_messageInfo_CreateTaskRequest.Size(m) +func (x *CreateTaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateTaskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTaskRequest.DiscardUnknown(m) + +func (*CreateTaskRequest) ProtoMessage() {} + +func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateTaskRequest proto.InternalMessageInfo +// Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead. +func (*CreateTaskRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{1} +} -func (m *CreateTaskRequest) GetInputs() *core.LiteralMap { - if m != nil { - return m.Inputs +func (x *CreateTaskRequest) GetInputs() *core.LiteralMap { + if x != nil { + return x.Inputs } return nil } -func (m *CreateTaskRequest) GetTemplate() *core.TaskTemplate { - if m != nil { - return m.Template +func (x *CreateTaskRequest) GetTemplate() *core.TaskTemplate { + if x != nil { + return x.Template } return nil } -func (m *CreateTaskRequest) GetOutputPrefix() string { - if m != nil { - return m.OutputPrefix +func (x *CreateTaskRequest) GetOutputPrefix() string { + if x != nil { + return x.OutputPrefix } return "" } -func (m *CreateTaskRequest) GetTaskExecutionMetadata() *TaskExecutionMetadata { - if m != nil { - return m.TaskExecutionMetadata +func (x *CreateTaskRequest) GetTaskExecutionMetadata() *TaskExecutionMetadata { + if x != nil { + return x.TaskExecutionMetadata } return nil } // Represents a create response structure. type CreateTaskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). // Resource is for synchronous task execution. // - // Types that are valid to be assigned to Res: + // Types that are assignable to Res: + // // *CreateTaskResponse_ResourceMeta // *CreateTaskResponse_Resource - Res isCreateTaskResponse_Res `protobuf_oneof:"res"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Res isCreateTaskResponse_Res `protobuf_oneof:"res"` } -func (m *CreateTaskResponse) Reset() { *m = CreateTaskResponse{} } -func (m *CreateTaskResponse) String() string { return proto.CompactTextString(m) } -func (*CreateTaskResponse) ProtoMessage() {} -func (*CreateTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{2} +func (x *CreateTaskResponse) Reset() { + *x = CreateTaskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateTaskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTaskResponse.Unmarshal(m, b) -} -func (m *CreateTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTaskResponse.Marshal(b, m, deterministic) -} -func (m *CreateTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTaskResponse.Merge(m, src) -} -func (m *CreateTaskResponse) XXX_Size() int { - return xxx_messageInfo_CreateTaskResponse.Size(m) -} -func (m *CreateTaskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTaskResponse.DiscardUnknown(m) +func (x *CreateTaskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateTaskResponse proto.InternalMessageInfo +func (*CreateTaskResponse) ProtoMessage() {} -type isCreateTaskResponse_Res interface { - isCreateTaskResponse_Res() -} - -type CreateTaskResponse_ResourceMeta struct { - ResourceMeta []byte `protobuf:"bytes,1,opt,name=resource_meta,json=resourceMeta,proto3,oneof"` +func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type CreateTaskResponse_Resource struct { - Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3,oneof"` +// Deprecated: Use CreateTaskResponse.ProtoReflect.Descriptor instead. +func (*CreateTaskResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{2} } -func (*CreateTaskResponse_ResourceMeta) isCreateTaskResponse_Res() {} - -func (*CreateTaskResponse_Resource) isCreateTaskResponse_Res() {} - func (m *CreateTaskResponse) GetRes() isCreateTaskResponse_Res { if m != nil { return m.Res @@ -276,130 +306,160 @@ func (m *CreateTaskResponse) GetRes() isCreateTaskResponse_Res { return nil } -func (m *CreateTaskResponse) GetResourceMeta() []byte { - if x, ok := m.GetRes().(*CreateTaskResponse_ResourceMeta); ok { +func (x *CreateTaskResponse) GetResourceMeta() []byte { + if x, ok := x.GetRes().(*CreateTaskResponse_ResourceMeta); ok { return x.ResourceMeta } return nil } -func (m *CreateTaskResponse) GetResource() *Resource { - if x, ok := m.GetRes().(*CreateTaskResponse_Resource); ok { +func (x *CreateTaskResponse) GetResource() *Resource { + if x, ok := x.GetRes().(*CreateTaskResponse_Resource); ok { return x.Resource } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CreateTaskResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CreateTaskResponse_ResourceMeta)(nil), - (*CreateTaskResponse_Resource)(nil), - } +type isCreateTaskResponse_Res interface { + isCreateTaskResponse_Res() +} + +type CreateTaskResponse_ResourceMeta struct { + ResourceMeta []byte `protobuf:"bytes,1,opt,name=resource_meta,json=resourceMeta,proto3,oneof"` +} + +type CreateTaskResponse_Resource struct { + Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3,oneof"` } +func (*CreateTaskResponse_ResourceMeta) isCreateTaskResponse_Res() {} + +func (*CreateTaskResponse_Resource) isCreateTaskResponse_Res() {} + // A message used to fetch a job resource from flyte agent server. type GetTaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A predefined yet extensible Task type identifier. TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // Metadata about the resource to be pass to the agent. - ResourceMeta []byte `protobuf:"bytes,2,opt,name=resource_meta,json=resourceMeta,proto3" json:"resource_meta,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ResourceMeta []byte `protobuf:"bytes,2,opt,name=resource_meta,json=resourceMeta,proto3" json:"resource_meta,omitempty"` } -func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } -func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) } -func (*GetTaskRequest) ProtoMessage() {} -func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{3} +func (x *GetTaskRequest) Reset() { + *x = GetTaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTaskRequest.Unmarshal(m, b) -} -func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTaskRequest.Marshal(b, m, deterministic) +func (x *GetTaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskRequest.Merge(m, src) -} -func (m *GetTaskRequest) XXX_Size() int { - return xxx_messageInfo_GetTaskRequest.Size(m) -} -func (m *GetTaskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskRequest.DiscardUnknown(m) + +func (*GetTaskRequest) ProtoMessage() {} + +func (x *GetTaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTaskRequest proto.InternalMessageInfo +// Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead. +func (*GetTaskRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{3} +} -func (m *GetTaskRequest) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *GetTaskRequest) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *GetTaskRequest) GetResourceMeta() []byte { - if m != nil { - return m.ResourceMeta +func (x *GetTaskRequest) GetResourceMeta() []byte { + if x != nil { + return x.ResourceMeta } return nil } // Response to get an individual task resource. type GetTaskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // log information for the task execution - LogLinks []*core.TaskLog `protobuf:"bytes,2,rep,name=log_links,json=logLinks,proto3" json:"log_links,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LogLinks []*core.TaskLog `protobuf:"bytes,2,rep,name=log_links,json=logLinks,proto3" json:"log_links,omitempty"` } -func (m *GetTaskResponse) Reset() { *m = GetTaskResponse{} } -func (m *GetTaskResponse) String() string { return proto.CompactTextString(m) } -func (*GetTaskResponse) ProtoMessage() {} -func (*GetTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{4} +func (x *GetTaskResponse) Reset() { + *x = GetTaskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTaskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTaskResponse.Unmarshal(m, b) +func (x *GetTaskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTaskResponse.Marshal(b, m, deterministic) -} -func (m *GetTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskResponse.Merge(m, src) -} -func (m *GetTaskResponse) XXX_Size() int { - return xxx_messageInfo_GetTaskResponse.Size(m) -} -func (m *GetTaskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskResponse.DiscardUnknown(m) + +func (*GetTaskResponse) ProtoMessage() {} + +func (x *GetTaskResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTaskResponse proto.InternalMessageInfo +// Deprecated: Use GetTaskResponse.ProtoReflect.Descriptor instead. +func (*GetTaskResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{4} +} -func (m *GetTaskResponse) GetResource() *Resource { - if m != nil { - return m.Resource +func (x *GetTaskResponse) GetResource() *Resource { + if x != nil { + return x.Resource } return nil } -func (m *GetTaskResponse) GetLogLinks() []*core.TaskLog { - if m != nil { - return m.LogLinks +func (x *GetTaskResponse) GetLogLinks() []*core.TaskLog { + if x != nil { + return x.LogLinks } return nil } type Resource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI. - State State `protobuf:"varint,1,opt,name=state,proto3,enum=flyteidl.admin.State" json:"state,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/agent.proto. + State State `protobuf:"varint,1,opt,name=state,proto3,enum=flyteidl.admin.State" json:"state,omitempty"` // The outputs of the execution. It's typically used by sql task. Agent service will create a // Structured dataset pointing to the query result table. // +optional @@ -409,360 +469,422 @@ type Resource struct { // log information for the task execution. LogLinks []*core.TaskLog `protobuf:"bytes,4,rep,name=log_links,json=logLinks,proto3" json:"log_links,omitempty"` // The phase of the execution is used to determine the phase of the plugin's execution. - Phase core.TaskExecution_Phase `protobuf:"varint,5,opt,name=phase,proto3,enum=flyteidl.core.TaskExecution_Phase" json:"phase,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Phase core.TaskExecution_Phase `protobuf:"varint,5,opt,name=phase,proto3,enum=flyteidl.core.TaskExecution_Phase" json:"phase,omitempty"` } -func (m *Resource) Reset() { *m = Resource{} } -func (m *Resource) String() string { return proto.CompactTextString(m) } -func (*Resource) ProtoMessage() {} -func (*Resource) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{5} +func (x *Resource) Reset() { + *x = Resource{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Resource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Resource.Unmarshal(m, b) -} -func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Resource.Marshal(b, m, deterministic) -} -func (m *Resource) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resource.Merge(m, src) -} -func (m *Resource) XXX_Size() int { - return xxx_messageInfo_Resource.Size(m) +func (x *Resource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Resource) XXX_DiscardUnknown() { - xxx_messageInfo_Resource.DiscardUnknown(m) + +func (*Resource) ProtoMessage() {} + +func (x *Resource) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Resource proto.InternalMessageInfo +// Deprecated: Use Resource.ProtoReflect.Descriptor instead. +func (*Resource) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{5} +} -// Deprecated: Do not use. -func (m *Resource) GetState() State { - if m != nil { - return m.State +// Deprecated: Marked as deprecated in flyteidl/admin/agent.proto. +func (x *Resource) GetState() State { + if x != nil { + return x.State } return State_RETRYABLE_FAILURE } -func (m *Resource) GetOutputs() *core.LiteralMap { - if m != nil { - return m.Outputs +func (x *Resource) GetOutputs() *core.LiteralMap { + if x != nil { + return x.Outputs } return nil } -func (m *Resource) GetMessage() string { - if m != nil { - return m.Message +func (x *Resource) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *Resource) GetLogLinks() []*core.TaskLog { - if m != nil { - return m.LogLinks +func (x *Resource) GetLogLinks() []*core.TaskLog { + if x != nil { + return x.LogLinks } return nil } -func (m *Resource) GetPhase() core.TaskExecution_Phase { - if m != nil { - return m.Phase +func (x *Resource) GetPhase() core.TaskExecution_Phase { + if x != nil { + return x.Phase } - return core.TaskExecution_UNDEFINED + return core.TaskExecution_Phase(0) } // A message used to delete a task. type DeleteTaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A predefined yet extensible Task type identifier. TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // Metadata about the resource to be pass to the agent. - ResourceMeta []byte `protobuf:"bytes,2,opt,name=resource_meta,json=resourceMeta,proto3" json:"resource_meta,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ResourceMeta []byte `protobuf:"bytes,2,opt,name=resource_meta,json=resourceMeta,proto3" json:"resource_meta,omitempty"` } -func (m *DeleteTaskRequest) Reset() { *m = DeleteTaskRequest{} } -func (m *DeleteTaskRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTaskRequest) ProtoMessage() {} -func (*DeleteTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{6} +func (x *DeleteTaskRequest) Reset() { + *x = DeleteTaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteTaskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTaskRequest.Unmarshal(m, b) -} -func (m *DeleteTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTaskRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTaskRequest.Merge(m, src) -} -func (m *DeleteTaskRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTaskRequest.Size(m) +func (x *DeleteTaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteTaskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTaskRequest.DiscardUnknown(m) + +func (*DeleteTaskRequest) ProtoMessage() {} + +func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteTaskRequest proto.InternalMessageInfo +// Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead. +func (*DeleteTaskRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{6} +} -func (m *DeleteTaskRequest) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *DeleteTaskRequest) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *DeleteTaskRequest) GetResourceMeta() []byte { - if m != nil { - return m.ResourceMeta +func (x *DeleteTaskRequest) GetResourceMeta() []byte { + if x != nil { + return x.ResourceMeta } return nil } // Response to delete a task. type DeleteTaskResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteTaskResponse) Reset() { *m = DeleteTaskResponse{} } -func (m *DeleteTaskResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteTaskResponse) ProtoMessage() {} -func (*DeleteTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{7} +func (x *DeleteTaskResponse) Reset() { + *x = DeleteTaskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteTaskResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTaskResponse.Unmarshal(m, b) -} -func (m *DeleteTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTaskResponse.Marshal(b, m, deterministic) -} -func (m *DeleteTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTaskResponse.Merge(m, src) -} -func (m *DeleteTaskResponse) XXX_Size() int { - return xxx_messageInfo_DeleteTaskResponse.Size(m) +func (x *DeleteTaskResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteTaskResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTaskResponse.DiscardUnknown(m) + +func (*DeleteTaskResponse) ProtoMessage() {} + +func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteTaskResponse proto.InternalMessageInfo +// Deprecated: Use DeleteTaskResponse.ProtoReflect.Descriptor instead. +func (*DeleteTaskResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{7} +} // A message containing the agent metadata. type Agent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name is the developer-assigned name of the agent. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // SupportedTaskTypes are the types of the tasks that the agent can handle. - SupportedTaskTypes []string `protobuf:"bytes,2,rep,name=supported_task_types,json=supportedTaskTypes,proto3" json:"supported_task_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SupportedTaskTypes []string `protobuf:"bytes,2,rep,name=supported_task_types,json=supportedTaskTypes,proto3" json:"supported_task_types,omitempty"` } -func (m *Agent) Reset() { *m = Agent{} } -func (m *Agent) String() string { return proto.CompactTextString(m) } -func (*Agent) ProtoMessage() {} -func (*Agent) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{8} +func (x *Agent) Reset() { + *x = Agent{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Agent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Agent.Unmarshal(m, b) -} -func (m *Agent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Agent.Marshal(b, m, deterministic) +func (x *Agent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Agent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Agent.Merge(m, src) -} -func (m *Agent) XXX_Size() int { - return xxx_messageInfo_Agent.Size(m) -} -func (m *Agent) XXX_DiscardUnknown() { - xxx_messageInfo_Agent.DiscardUnknown(m) + +func (*Agent) ProtoMessage() {} + +func (x *Agent) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Agent proto.InternalMessageInfo +// Deprecated: Use Agent.ProtoReflect.Descriptor instead. +func (*Agent) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{8} +} -func (m *Agent) GetName() string { - if m != nil { - return m.Name +func (x *Agent) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Agent) GetSupportedTaskTypes() []string { - if m != nil { - return m.SupportedTaskTypes +func (x *Agent) GetSupportedTaskTypes() []string { + if x != nil { + return x.SupportedTaskTypes } return nil } // A request to get an agent. type GetAgentRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the agent. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetAgentRequest) Reset() { *m = GetAgentRequest{} } -func (m *GetAgentRequest) String() string { return proto.CompactTextString(m) } -func (*GetAgentRequest) ProtoMessage() {} -func (*GetAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{9} +func (x *GetAgentRequest) Reset() { + *x = GetAgentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAgentRequest.Unmarshal(m, b) +func (x *GetAgentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAgentRequest.Marshal(b, m, deterministic) -} -func (m *GetAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAgentRequest.Merge(m, src) -} -func (m *GetAgentRequest) XXX_Size() int { - return xxx_messageInfo_GetAgentRequest.Size(m) -} -func (m *GetAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAgentRequest.DiscardUnknown(m) + +func (*GetAgentRequest) ProtoMessage() {} + +func (x *GetAgentRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAgentRequest proto.InternalMessageInfo +// Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead. +func (*GetAgentRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{9} +} -func (m *GetAgentRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetAgentRequest) GetName() string { + if x != nil { + return x.Name } return "" } // A response containing an agent. type GetAgentResponse struct { - Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetAgentResponse) Reset() { *m = GetAgentResponse{} } -func (m *GetAgentResponse) String() string { return proto.CompactTextString(m) } -func (*GetAgentResponse) ProtoMessage() {} -func (*GetAgentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{10} + Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` } -func (m *GetAgentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAgentResponse.Unmarshal(m, b) -} -func (m *GetAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAgentResponse.Marshal(b, m, deterministic) -} -func (m *GetAgentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAgentResponse.Merge(m, src) +func (x *GetAgentResponse) Reset() { + *x = GetAgentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAgentResponse) XXX_Size() int { - return xxx_messageInfo_GetAgentResponse.Size(m) + +func (x *GetAgentResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAgentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAgentResponse.DiscardUnknown(m) + +func (*GetAgentResponse) ProtoMessage() {} + +func (x *GetAgentResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAgentResponse proto.InternalMessageInfo +// Deprecated: Use GetAgentResponse.ProtoReflect.Descriptor instead. +func (*GetAgentResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{10} +} -func (m *GetAgentResponse) GetAgent() *Agent { - if m != nil { - return m.Agent +func (x *GetAgentResponse) GetAgent() *Agent { + if x != nil { + return x.Agent } return nil } // A request to list all agents. type ListAgentsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListAgentsRequest) Reset() { *m = ListAgentsRequest{} } -func (m *ListAgentsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAgentsRequest) ProtoMessage() {} -func (*ListAgentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{11} +func (x *ListAgentsRequest) Reset() { + *x = ListAgentsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAgentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAgentsRequest.Unmarshal(m, b) -} -func (m *ListAgentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAgentsRequest.Marshal(b, m, deterministic) -} -func (m *ListAgentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAgentsRequest.Merge(m, src) +func (x *ListAgentsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAgentsRequest) XXX_Size() int { - return xxx_messageInfo_ListAgentsRequest.Size(m) -} -func (m *ListAgentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAgentsRequest.DiscardUnknown(m) + +func (*ListAgentsRequest) ProtoMessage() {} + +func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListAgentsRequest proto.InternalMessageInfo +// Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead. +func (*ListAgentsRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{11} +} // A response containing a list of agents. type ListAgentsResponse struct { - Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListAgentsResponse) Reset() { *m = ListAgentsResponse{} } -func (m *ListAgentsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAgentsResponse) ProtoMessage() {} -func (*ListAgentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{12} + Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` } -func (m *ListAgentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAgentsResponse.Unmarshal(m, b) -} -func (m *ListAgentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAgentsResponse.Marshal(b, m, deterministic) -} -func (m *ListAgentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAgentsResponse.Merge(m, src) +func (x *ListAgentsResponse) Reset() { + *x = ListAgentsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAgentsResponse) XXX_Size() int { - return xxx_messageInfo_ListAgentsResponse.Size(m) + +func (x *ListAgentsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAgentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAgentsResponse.DiscardUnknown(m) + +func (*ListAgentsResponse) ProtoMessage() {} + +func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListAgentsResponse proto.InternalMessageInfo +// Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead. +func (*ListAgentsResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{12} +} -func (m *ListAgentsResponse) GetAgents() []*Agent { - if m != nil { - return m.Agents +func (x *ListAgentsResponse) GetAgents() []*Agent { + if x != nil { + return x.Agents } return nil } // A request to get the metrics from a task execution. type GetTaskMetricsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A predefined yet extensible Task type identifier. TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). @@ -771,126 +893,142 @@ type GetTaskMetricsRequest struct { // e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG Queries []string `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"` // Start timestamp, inclusive. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End timestamp, inclusive.. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Query resolution step width in duration format or float number of seconds. - Step *duration.Duration `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Step *durationpb.Duration `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"` } -func (m *GetTaskMetricsRequest) Reset() { *m = GetTaskMetricsRequest{} } -func (m *GetTaskMetricsRequest) String() string { return proto.CompactTextString(m) } -func (*GetTaskMetricsRequest) ProtoMessage() {} -func (*GetTaskMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{13} +func (x *GetTaskMetricsRequest) Reset() { + *x = GetTaskMetricsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTaskMetricsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTaskMetricsRequest.Unmarshal(m, b) -} -func (m *GetTaskMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTaskMetricsRequest.Marshal(b, m, deterministic) -} -func (m *GetTaskMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskMetricsRequest.Merge(m, src) +func (x *GetTaskMetricsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskMetricsRequest) XXX_Size() int { - return xxx_messageInfo_GetTaskMetricsRequest.Size(m) -} -func (m *GetTaskMetricsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskMetricsRequest.DiscardUnknown(m) + +func (*GetTaskMetricsRequest) ProtoMessage() {} + +func (x *GetTaskMetricsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTaskMetricsRequest proto.InternalMessageInfo +// Deprecated: Use GetTaskMetricsRequest.ProtoReflect.Descriptor instead. +func (*GetTaskMetricsRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{13} +} -func (m *GetTaskMetricsRequest) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *GetTaskMetricsRequest) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *GetTaskMetricsRequest) GetResourceMeta() []byte { - if m != nil { - return m.ResourceMeta +func (x *GetTaskMetricsRequest) GetResourceMeta() []byte { + if x != nil { + return x.ResourceMeta } return nil } -func (m *GetTaskMetricsRequest) GetQueries() []string { - if m != nil { - return m.Queries +func (x *GetTaskMetricsRequest) GetQueries() []string { + if x != nil { + return x.Queries } return nil } -func (m *GetTaskMetricsRequest) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime +func (x *GetTaskMetricsRequest) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *GetTaskMetricsRequest) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime +func (x *GetTaskMetricsRequest) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime } return nil } -func (m *GetTaskMetricsRequest) GetStep() *duration.Duration { - if m != nil { - return m.Step +func (x *GetTaskMetricsRequest) GetStep() *durationpb.Duration { + if x != nil { + return x.Step } return nil } // A response containing a list of metrics for a task execution. type GetTaskMetricsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The execution metric results. - Results []*core.ExecutionMetricResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Results []*core.ExecutionMetricResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` } -func (m *GetTaskMetricsResponse) Reset() { *m = GetTaskMetricsResponse{} } -func (m *GetTaskMetricsResponse) String() string { return proto.CompactTextString(m) } -func (*GetTaskMetricsResponse) ProtoMessage() {} -func (*GetTaskMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{14} +func (x *GetTaskMetricsResponse) Reset() { + *x = GetTaskMetricsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTaskMetricsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTaskMetricsResponse.Unmarshal(m, b) -} -func (m *GetTaskMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTaskMetricsResponse.Marshal(b, m, deterministic) -} -func (m *GetTaskMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskMetricsResponse.Merge(m, src) +func (x *GetTaskMetricsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskMetricsResponse) XXX_Size() int { - return xxx_messageInfo_GetTaskMetricsResponse.Size(m) -} -func (m *GetTaskMetricsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskMetricsResponse.DiscardUnknown(m) + +func (*GetTaskMetricsResponse) ProtoMessage() {} + +func (x *GetTaskMetricsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTaskMetricsResponse proto.InternalMessageInfo +// Deprecated: Use GetTaskMetricsResponse.ProtoReflect.Descriptor instead. +func (*GetTaskMetricsResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{14} +} -func (m *GetTaskMetricsResponse) GetResults() []*core.ExecutionMetricResult { - if m != nil { - return m.Results +func (x *GetTaskMetricsResponse) GetResults() []*core.ExecutionMetricResult { + if x != nil { + return x.Results } return nil } // A request to get the log from a task execution. type GetTaskLogsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A predefined yet extensible Task type identifier. TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). @@ -899,213 +1037,627 @@ type GetTaskLogsRequest struct { Lines uint64 `protobuf:"varint,3,opt,name=lines,proto3" json:"lines,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` } -func (m *GetTaskLogsRequest) Reset() { *m = GetTaskLogsRequest{} } -func (m *GetTaskLogsRequest) String() string { return proto.CompactTextString(m) } -func (*GetTaskLogsRequest) ProtoMessage() {} -func (*GetTaskLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{15} +func (x *GetTaskLogsRequest) Reset() { + *x = GetTaskLogsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTaskLogsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTaskLogsRequest.Unmarshal(m, b) -} -func (m *GetTaskLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTaskLogsRequest.Marshal(b, m, deterministic) -} -func (m *GetTaskLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskLogsRequest.Merge(m, src) -} -func (m *GetTaskLogsRequest) XXX_Size() int { - return xxx_messageInfo_GetTaskLogsRequest.Size(m) +func (x *GetTaskLogsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskLogsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskLogsRequest.DiscardUnknown(m) + +func (*GetTaskLogsRequest) ProtoMessage() {} + +func (x *GetTaskLogsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTaskLogsRequest proto.InternalMessageInfo +// Deprecated: Use GetTaskLogsRequest.ProtoReflect.Descriptor instead. +func (*GetTaskLogsRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{15} +} -func (m *GetTaskLogsRequest) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *GetTaskLogsRequest) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *GetTaskLogsRequest) GetResourceMeta() []byte { - if m != nil { - return m.ResourceMeta +func (x *GetTaskLogsRequest) GetResourceMeta() []byte { + if x != nil { + return x.ResourceMeta } return nil } -func (m *GetTaskLogsRequest) GetLines() uint64 { - if m != nil { - return m.Lines +func (x *GetTaskLogsRequest) GetLines() uint64 { + if x != nil { + return x.Lines } return 0 } -func (m *GetTaskLogsRequest) GetToken() string { - if m != nil { - return m.Token +func (x *GetTaskLogsRequest) GetToken() string { + if x != nil { + return x.Token } return "" } // A response containing the logs for a task execution. type GetTaskLogsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The execution log results. Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *GetTaskLogsResponse) Reset() { *m = GetTaskLogsResponse{} } -func (m *GetTaskLogsResponse) String() string { return proto.CompactTextString(m) } -func (*GetTaskLogsResponse) ProtoMessage() {} -func (*GetTaskLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c434e52bb0028071, []int{16} +func (x *GetTaskLogsResponse) Reset() { + *x = GetTaskLogsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_agent_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTaskLogsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTaskLogsResponse.Unmarshal(m, b) +func (x *GetTaskLogsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTaskLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTaskLogsResponse.Marshal(b, m, deterministic) -} -func (m *GetTaskLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskLogsResponse.Merge(m, src) -} -func (m *GetTaskLogsResponse) XXX_Size() int { - return xxx_messageInfo_GetTaskLogsResponse.Size(m) -} -func (m *GetTaskLogsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTaskLogsResponse.DiscardUnknown(m) + +func (*GetTaskLogsResponse) ProtoMessage() {} + +func (x *GetTaskLogsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_agent_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTaskLogsResponse proto.InternalMessageInfo +// Deprecated: Use GetTaskLogsResponse.ProtoReflect.Descriptor instead. +func (*GetTaskLogsResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_agent_proto_rawDescGZIP(), []int{16} +} -func (m *GetTaskLogsResponse) GetResults() []string { - if m != nil { - return m.Results +func (x *GetTaskLogsResponse) GetResults() []string { + if x != nil { + return x.Results } return nil } -func (m *GetTaskLogsResponse) GetToken() string { - if m != nil { - return m.Token +func (x *GetTaskLogsResponse) GetToken() string { + if x != nil { + return x.Token } return "" } -func init() { - proto.RegisterEnum("flyteidl.admin.State", State_name, State_value) - proto.RegisterType((*TaskExecutionMetadata)(nil), "flyteidl.admin.TaskExecutionMetadata") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.TaskExecutionMetadata.LabelsEntry") - proto.RegisterType((*CreateTaskRequest)(nil), "flyteidl.admin.CreateTaskRequest") - proto.RegisterType((*CreateTaskResponse)(nil), "flyteidl.admin.CreateTaskResponse") - proto.RegisterType((*GetTaskRequest)(nil), "flyteidl.admin.GetTaskRequest") - proto.RegisterType((*GetTaskResponse)(nil), "flyteidl.admin.GetTaskResponse") - proto.RegisterType((*Resource)(nil), "flyteidl.admin.Resource") - proto.RegisterType((*DeleteTaskRequest)(nil), "flyteidl.admin.DeleteTaskRequest") - proto.RegisterType((*DeleteTaskResponse)(nil), "flyteidl.admin.DeleteTaskResponse") - proto.RegisterType((*Agent)(nil), "flyteidl.admin.Agent") - proto.RegisterType((*GetAgentRequest)(nil), "flyteidl.admin.GetAgentRequest") - proto.RegisterType((*GetAgentResponse)(nil), "flyteidl.admin.GetAgentResponse") - proto.RegisterType((*ListAgentsRequest)(nil), "flyteidl.admin.ListAgentsRequest") - proto.RegisterType((*ListAgentsResponse)(nil), "flyteidl.admin.ListAgentsResponse") - proto.RegisterType((*GetTaskMetricsRequest)(nil), "flyteidl.admin.GetTaskMetricsRequest") - proto.RegisterType((*GetTaskMetricsResponse)(nil), "flyteidl.admin.GetTaskMetricsResponse") - proto.RegisterType((*GetTaskLogsRequest)(nil), "flyteidl.admin.GetTaskLogsRequest") - proto.RegisterType((*GetTaskLogsResponse)(nil), "flyteidl.admin.GetTaskLogsResponse") -} - -func init() { proto.RegisterFile("flyteidl/admin/agent.proto", fileDescriptor_c434e52bb0028071) } - -var fileDescriptor_c434e52bb0028071 = []byte{ - // 1123 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xef, 0x6f, 0xdb, 0xc4, - 0x1b, 0x5f, 0x7e, 0x36, 0x79, 0xd2, 0x75, 0xc9, 0xad, 0xd9, 0xd7, 0xcb, 0xf6, 0x85, 0xc9, 0x30, - 0x54, 0x81, 0xe6, 0xb0, 0x0e, 0x46, 0x07, 0x62, 0x53, 0xda, 0x9a, 0xad, 0x52, 0x1a, 0x55, 0xb7, - 0x14, 0x0d, 0x24, 0x88, 0x2e, 0xc9, 0x53, 0xcf, 0x8a, 0x63, 0x7b, 0xbe, 0x73, 0xb5, 0x22, 0x5e, - 0xc1, 0xbf, 0xc0, 0x0b, 0xfe, 0x55, 0xde, 0x21, 0xdf, 0x9d, 0x9d, 0x38, 0x64, 0xa3, 0x13, 0x7b, - 0xe7, 0xe7, 0xd7, 0xe7, 0xf9, 0x3c, 0x3f, 0x7c, 0x77, 0xd0, 0x39, 0xf3, 0x2e, 0x04, 0xba, 0x53, - 0xaf, 0xcb, 0xa6, 0x73, 0xd7, 0xef, 0x32, 0x07, 0x7d, 0x61, 0x85, 0x51, 0x20, 0x02, 0xb2, 0x95, - 0xda, 0x2c, 0x69, 0xeb, 0xdc, 0xce, 0x7c, 0x27, 0x41, 0x84, 0x5d, 0xcf, 0x15, 0x18, 0x31, 0x8f, - 0x2b, 0xef, 0xce, 0xcd, 0xbc, 0x55, 0x30, 0x3e, 0x4b, 0x4d, 0x1f, 0xe4, 0x4d, 0xee, 0x14, 0x7d, - 0xe1, 0x9e, 0xb9, 0x18, 0x69, 0xfb, 0xff, 0xf3, 0x76, 0x7c, 0x8d, 0x93, 0x58, 0xb8, 0x81, 0xaf, - 0xcd, 0xb7, 0xf2, 0xe6, 0x39, 0x8a, 0xc8, 0x9d, 0x64, 0xd8, 0x4e, 0x10, 0x38, 0x1e, 0x76, 0xa5, - 0x34, 0x8e, 0xcf, 0xba, 0xd3, 0x38, 0x62, 0x4b, 0xc1, 0x1f, 0xae, 0xda, 0x85, 0x3b, 0x47, 0x2e, - 0xd8, 0x3c, 0x54, 0x0e, 0xe6, 0x9f, 0x15, 0x68, 0x0f, 0x19, 0x9f, 0xd9, 0x69, 0xd6, 0x63, 0x14, - 0x6c, 0xca, 0x04, 0x23, 0x14, 0x5a, 0x49, 0x15, 0xa3, 0x8c, 0xcf, 0xc8, 0x9d, 0x1a, 0x85, 0x3b, - 0x85, 0x9d, 0xc6, 0xee, 0x27, 0x56, 0xd6, 0x9b, 0x84, 0x93, 0x95, 0x03, 0x38, 0xca, 0xea, 0xa3, - 0xd7, 0x44, 0xde, 0x40, 0x6e, 0x43, 0xdd, 0x67, 0x73, 0xe4, 0x21, 0x9b, 0xa0, 0x51, 0xbc, 0x53, - 0xd8, 0xa9, 0xd3, 0x85, 0x82, 0x1c, 0x41, 0xd5, 0x63, 0x63, 0xf4, 0xb8, 0x51, 0xba, 0x53, 0xda, - 0x69, 0xec, 0xde, 0xb7, 0xf2, 0x23, 0xb0, 0xd6, 0x12, 0xb5, 0xfa, 0x32, 0xc6, 0xf6, 0x45, 0x74, - 0x41, 0x35, 0x00, 0x79, 0x01, 0x0d, 0xe6, 0xfb, 0x81, 0x90, 0xbd, 0xe0, 0x46, 0x59, 0xe2, 0x3d, - 0xbc, 0x1c, 0x5e, 0x6f, 0x11, 0xa8, 0x40, 0x97, 0xa1, 0x88, 0x05, 0xd7, 0x67, 0x7b, 0x7c, 0xc4, - 0x31, 0x3a, 0x77, 0x27, 0x38, 0x62, 0x93, 0x49, 0x10, 0xfb, 0xc2, 0xa8, 0xc8, 0x62, 0x5a, 0xb3, - 0x3d, 0xfe, 0x5c, 0x59, 0x7a, 0xca, 0x40, 0x04, 0xb4, 0xd1, 0x3f, 0x77, 0xa3, 0xc0, 0x9f, 0xa3, - 0x2f, 0x46, 0xe7, 0x2c, 0x72, 0xd9, 0xd8, 0x43, 0x6e, 0x54, 0x25, 0xa7, 0x27, 0x97, 0xe3, 0x64, - 0x2f, 0x20, 0xbe, 0x4f, 0x11, 0x14, 0xb9, 0x6d, 0x5c, 0x63, 0xea, 0x3c, 0x82, 0xc6, 0x52, 0x5b, - 0x48, 0x13, 0x4a, 0x33, 0xbc, 0x90, 0xd3, 0xab, 0xd3, 0xe4, 0x93, 0x6c, 0x43, 0xe5, 0x9c, 0x79, - 0x71, 0x3a, 0x05, 0x25, 0x7c, 0x5d, 0xdc, 0x2b, 0x74, 0x1e, 0x43, 0x73, 0xb5, 0x03, 0xef, 0x14, - 0xff, 0x14, 0x6e, 0xbe, 0x91, 0xed, 0xbb, 0x00, 0x99, 0xbf, 0x17, 0xa1, 0x75, 0x10, 0x21, 0x13, - 0x98, 0xf4, 0x84, 0xe2, 0xab, 0x18, 0xb9, 0x20, 0xf7, 0xa1, 0xea, 0xfa, 0x61, 0x2c, 0xb8, 0xde, - 0xc5, 0x9b, 0x2b, 0xbb, 0xd8, 0x57, 0xff, 0xe5, 0x31, 0x0b, 0xa9, 0x76, 0x24, 0x5f, 0x41, 0x4d, - 0xe0, 0x3c, 0xf4, 0x98, 0x50, 0x59, 0x1a, 0xbb, 0xb7, 0xd6, 0x2c, 0xf0, 0x50, 0xbb, 0xd0, 0xcc, - 0x99, 0x7c, 0x04, 0x57, 0x83, 0x58, 0x84, 0xb1, 0x18, 0x85, 0x11, 0x9e, 0xb9, 0xaf, 0x8d, 0x92, - 0xe4, 0xb8, 0xa9, 0x94, 0x27, 0x52, 0x47, 0x7e, 0x82, 0xff, 0xad, 0xfc, 0x27, 0x73, 0x3d, 0x35, - 0xa3, 0x2c, 0x93, 0xdd, 0xbd, 0xd4, 0x88, 0x69, 0x5b, 0xac, 0x53, 0x9b, 0xbf, 0x00, 0x59, 0x6e, - 0x02, 0x0f, 0x03, 0x9f, 0x23, 0xb9, 0x0b, 0x57, 0x23, 0xe4, 0x41, 0x1c, 0x4d, 0x50, 0xa6, 0x93, - 0xcd, 0xd8, 0x7c, 0x76, 0x85, 0x6e, 0xa6, 0xea, 0x04, 0x80, 0x3c, 0x84, 0x5a, 0x2a, 0xeb, 0xca, - 0x8d, 0x55, 0x32, 0x54, 0xdb, 0x9f, 0x5d, 0xa1, 0x99, 0xef, 0x7e, 0x05, 0x4a, 0x11, 0x72, 0x93, - 0xc2, 0xd6, 0x53, 0x14, 0xcb, 0xdd, 0xbf, 0x05, 0x75, 0x59, 0xac, 0xb8, 0x08, 0x51, 0x4f, 0xb1, - 0x96, 0x28, 0x86, 0x17, 0xa1, 0x6c, 0x57, 0x9e, 0x54, 0x92, 0x72, 0x33, 0x4f, 0xc9, 0xfc, 0x15, - 0xae, 0x65, 0x98, 0xba, 0x98, 0x2f, 0x96, 0x58, 0x16, 0xde, 0xce, 0x72, 0xc1, 0x91, 0x3c, 0x80, - 0xba, 0x17, 0x38, 0x23, 0xcf, 0xf5, 0x67, 0xdc, 0x28, 0xca, 0x9f, 0xe9, 0xc6, 0x9a, 0xb1, 0xf6, - 0x03, 0x87, 0xd6, 0xbc, 0xc0, 0xe9, 0x27, 0x7e, 0xe6, 0x5f, 0x05, 0xa8, 0xa5, 0x58, 0xa4, 0x0b, - 0x15, 0x2e, 0x92, 0xa5, 0x48, 0x92, 0x6e, 0xed, 0xb6, 0x57, 0x93, 0x3e, 0x4f, 0x8c, 0xfb, 0x45, - 0xa3, 0x40, 0x95, 0x1f, 0x79, 0x00, 0x1b, 0x6a, 0xf4, 0x5c, 0x77, 0xf3, 0x2d, 0xcb, 0x97, 0x7a, - 0x12, 0x03, 0x36, 0xe6, 0xc8, 0x39, 0x73, 0x50, 0xaf, 0x4f, 0x2a, 0xe6, 0x2b, 0x28, 0x5f, 0xae, - 0x02, 0xb2, 0x07, 0x95, 0xf0, 0x25, 0xe3, 0x28, 0x4f, 0x9c, 0xad, 0x5d, 0xf3, 0x6d, 0x47, 0xb1, - 0x75, 0x92, 0x78, 0x52, 0x15, 0x60, 0x9e, 0x42, 0xeb, 0x10, 0x3d, 0xcc, 0xff, 0x4e, 0xff, 0x7d, - 0xa0, 0xdb, 0x40, 0x96, 0x61, 0xd5, 0x4c, 0xcd, 0x63, 0xa8, 0xf4, 0x92, 0xcb, 0x94, 0x10, 0x28, - 0x27, 0x27, 0xbc, 0xc6, 0x96, 0xdf, 0xe4, 0x73, 0xd8, 0xe6, 0x71, 0x18, 0x06, 0x91, 0xc0, 0xe9, - 0x28, 0x4b, 0xaf, 0xa6, 0x58, 0xa7, 0x24, 0xb3, 0x0d, 0x35, 0x11, 0x6e, 0xde, 0x95, 0x5b, 0x23, - 0x11, 0x53, 0xe6, 0x6b, 0x80, 0xcd, 0x27, 0xd0, 0x5c, 0xb8, 0xe9, 0xed, 0xfa, 0x0c, 0x2a, 0xf2, - 0x5a, 0xd7, 0xab, 0xf5, 0x8f, 0x29, 0x2b, 0x6f, 0xe5, 0x63, 0x5e, 0x87, 0x56, 0xdf, 0xe5, 0x0a, - 0x81, 0xeb, 0x4c, 0xe6, 0x01, 0x90, 0x65, 0xa5, 0xc6, 0xbd, 0x07, 0x55, 0x19, 0x93, 0x1c, 0x44, - 0xa5, 0x37, 0x03, 0x6b, 0x27, 0xf3, 0x8f, 0x22, 0xb4, 0xf5, 0xe2, 0x1f, 0xab, 0x2b, 0xfc, 0xbd, - 0x8d, 0x20, 0x59, 0xb1, 0x57, 0x31, 0x46, 0x2e, 0xaa, 0x9b, 0xb3, 0x4e, 0x53, 0x91, 0x3c, 0x02, - 0xe0, 0x82, 0x45, 0x62, 0x94, 0xdc, 0xfb, 0xfa, 0x3c, 0xea, 0x58, 0xea, 0x51, 0x60, 0xa5, 0x8f, - 0x02, 0x6b, 0x98, 0x3e, 0x0a, 0x68, 0x5d, 0x7a, 0x27, 0x32, 0xf9, 0x12, 0x6a, 0xe8, 0x4f, 0x55, - 0x60, 0xe5, 0x5f, 0x03, 0x37, 0xd0, 0x9f, 0xca, 0xb0, 0x7b, 0x50, 0xe6, 0x02, 0x43, 0xa3, 0xaa, - 0x7f, 0x90, 0xd5, 0x90, 0x43, 0xfd, 0x40, 0xa1, 0xd2, 0xcd, 0x7c, 0x01, 0x37, 0x56, 0xbb, 0xa2, - 0xfb, 0xfb, 0x18, 0x36, 0x22, 0xe4, 0xb1, 0x97, 0x35, 0xf8, 0xe3, 0x95, 0x55, 0x5f, 0x3e, 0x2b, - 0x23, 0x77, 0x42, 0xa5, 0x33, 0x4d, 0x83, 0xcc, 0xdf, 0x0a, 0x40, 0x34, 0x74, 0x3f, 0x70, 0xde, - 0x63, 0xb7, 0xb7, 0xa1, 0xe2, 0xb9, 0xbe, 0xec, 0x75, 0x61, 0xa7, 0x4c, 0x95, 0x90, 0x68, 0x45, - 0x30, 0x43, 0x5f, 0x36, 0xb9, 0x4e, 0x95, 0x60, 0xda, 0x70, 0x3d, 0xc7, 0x41, 0xd7, 0x66, 0xe4, - 0x6b, 0xab, 0x67, 0xac, 0x17, 0x30, 0xc5, 0x25, 0x98, 0x4f, 0x7f, 0x86, 0x8a, 0x3c, 0x8c, 0x48, - 0x1b, 0x5a, 0xd4, 0x1e, 0xd2, 0x1f, 0x7a, 0xfb, 0x7d, 0x7b, 0xf4, 0x5d, 0xef, 0xa8, 0x7f, 0x4a, - 0xed, 0xe6, 0x95, 0x44, 0x7d, 0x62, 0xd3, 0xe3, 0xde, 0xc0, 0x1e, 0x0c, 0x33, 0x75, 0x81, 0x34, - 0x60, 0xe3, 0xc4, 0x1e, 0x1c, 0x1e, 0x0d, 0x9e, 0x36, 0x8b, 0x89, 0x40, 0x4f, 0x07, 0x83, 0x44, - 0x28, 0x91, 0xab, 0x50, 0x7f, 0x7e, 0x7a, 0x70, 0x60, 0xdb, 0x87, 0xf6, 0x61, 0xb3, 0xbc, 0xff, - 0xed, 0x8f, 0xdf, 0x38, 0xae, 0x78, 0x19, 0x8f, 0xad, 0x49, 0x30, 0xef, 0xca, 0x36, 0x07, 0x91, - 0xa3, 0x3e, 0xba, 0xd9, 0xfb, 0xd3, 0x41, 0xbf, 0x1b, 0x8e, 0xef, 0x39, 0x41, 0x37, 0xff, 0x6c, - 0x1e, 0x57, 0xe5, 0x74, 0x1f, 0xfc, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xd1, 0x03, 0x06, 0x4f, - 0x0b, 0x00, 0x00, +var File_flyteidl_admin_agent_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_agent_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1c, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x98, 0x05, 0x0a, 0x15, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x52, 0x0a, 0x11, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x49, + 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x58, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6b, 0x38, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x6b, 0x38, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x74, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x47, 0x0a, 0x19, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x83, 0x02, + 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x06, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, + 0x23, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x72, + 0x65, 0x66, 0x69, 0x78, 0x12, 0x5d, 0x0a, 0x17, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x15, 0x74, 0x61, + 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x22, 0x7a, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, + 0x12, 0x36, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x08, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x72, 0x65, 0x73, 0x22, + 0x52, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, + 0x65, 0x74, 0x61, 0x22, 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x09, + 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x69, 0x6e, 0x6b, + 0x73, 0x22, 0xf9, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2f, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x33, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x07, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x33, + 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x69, + 0x6e, 0x6b, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x22, 0x55, 0x0a, + 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, + 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x05, 0x41, 0x67, + 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, + 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x25, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x3f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x43, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x06, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x67, + 0x65, 0x6e, 0x74, 0x52, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x94, 0x02, 0x0a, 0x15, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, + 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x73, 0x74, 0x65, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x73, 0x74, + 0x65, 0x70, 0x22, 0x58, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x07, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x82, 0x01, 0x0a, + 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x45, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2a, 0x5e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x52, 0x59, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x45, 0x52, 0x4d, + 0x41, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, + 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, + 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, + 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x42, 0xb6, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, + 0x0a, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, + 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_agent_proto_rawDescOnce sync.Once + file_flyteidl_admin_agent_proto_rawDescData = file_flyteidl_admin_agent_proto_rawDesc +) + +func file_flyteidl_admin_agent_proto_rawDescGZIP() []byte { + file_flyteidl_admin_agent_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_agent_proto_rawDescData) + }) + return file_flyteidl_admin_agent_proto_rawDescData +} + +var file_flyteidl_admin_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_admin_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_flyteidl_admin_agent_proto_goTypes = []interface{}{ + (State)(0), // 0: flyteidl.admin.State + (*TaskExecutionMetadata)(nil), // 1: flyteidl.admin.TaskExecutionMetadata + (*CreateTaskRequest)(nil), // 2: flyteidl.admin.CreateTaskRequest + (*CreateTaskResponse)(nil), // 3: flyteidl.admin.CreateTaskResponse + (*GetTaskRequest)(nil), // 4: flyteidl.admin.GetTaskRequest + (*GetTaskResponse)(nil), // 5: flyteidl.admin.GetTaskResponse + (*Resource)(nil), // 6: flyteidl.admin.Resource + (*DeleteTaskRequest)(nil), // 7: flyteidl.admin.DeleteTaskRequest + (*DeleteTaskResponse)(nil), // 8: flyteidl.admin.DeleteTaskResponse + (*Agent)(nil), // 9: flyteidl.admin.Agent + (*GetAgentRequest)(nil), // 10: flyteidl.admin.GetAgentRequest + (*GetAgentResponse)(nil), // 11: flyteidl.admin.GetAgentResponse + (*ListAgentsRequest)(nil), // 12: flyteidl.admin.ListAgentsRequest + (*ListAgentsResponse)(nil), // 13: flyteidl.admin.ListAgentsResponse + (*GetTaskMetricsRequest)(nil), // 14: flyteidl.admin.GetTaskMetricsRequest + (*GetTaskMetricsResponse)(nil), // 15: flyteidl.admin.GetTaskMetricsResponse + (*GetTaskLogsRequest)(nil), // 16: flyteidl.admin.GetTaskLogsRequest + (*GetTaskLogsResponse)(nil), // 17: flyteidl.admin.GetTaskLogsResponse + nil, // 18: flyteidl.admin.TaskExecutionMetadata.LabelsEntry + nil, // 19: flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry + nil, // 20: flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry + (*core.TaskExecutionIdentifier)(nil), // 21: flyteidl.core.TaskExecutionIdentifier + (*core.LiteralMap)(nil), // 22: flyteidl.core.LiteralMap + (*core.TaskTemplate)(nil), // 23: flyteidl.core.TaskTemplate + (*core.TaskLog)(nil), // 24: flyteidl.core.TaskLog + (core.TaskExecution_Phase)(0), // 25: flyteidl.core.TaskExecution.Phase + (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 27: google.protobuf.Duration + (*core.ExecutionMetricResult)(nil), // 28: flyteidl.core.ExecutionMetricResult +} +var file_flyteidl_admin_agent_proto_depIdxs = []int32{ + 21, // 0: flyteidl.admin.TaskExecutionMetadata.task_execution_id:type_name -> flyteidl.core.TaskExecutionIdentifier + 18, // 1: flyteidl.admin.TaskExecutionMetadata.labels:type_name -> flyteidl.admin.TaskExecutionMetadata.LabelsEntry + 19, // 2: flyteidl.admin.TaskExecutionMetadata.annotations:type_name -> flyteidl.admin.TaskExecutionMetadata.AnnotationsEntry + 20, // 3: flyteidl.admin.TaskExecutionMetadata.environment_variables:type_name -> flyteidl.admin.TaskExecutionMetadata.EnvironmentVariablesEntry + 22, // 4: flyteidl.admin.CreateTaskRequest.inputs:type_name -> flyteidl.core.LiteralMap + 23, // 5: flyteidl.admin.CreateTaskRequest.template:type_name -> flyteidl.core.TaskTemplate + 1, // 6: flyteidl.admin.CreateTaskRequest.task_execution_metadata:type_name -> flyteidl.admin.TaskExecutionMetadata + 6, // 7: flyteidl.admin.CreateTaskResponse.resource:type_name -> flyteidl.admin.Resource + 6, // 8: flyteidl.admin.GetTaskResponse.resource:type_name -> flyteidl.admin.Resource + 24, // 9: flyteidl.admin.GetTaskResponse.log_links:type_name -> flyteidl.core.TaskLog + 0, // 10: flyteidl.admin.Resource.state:type_name -> flyteidl.admin.State + 22, // 11: flyteidl.admin.Resource.outputs:type_name -> flyteidl.core.LiteralMap + 24, // 12: flyteidl.admin.Resource.log_links:type_name -> flyteidl.core.TaskLog + 25, // 13: flyteidl.admin.Resource.phase:type_name -> flyteidl.core.TaskExecution.Phase + 9, // 14: flyteidl.admin.GetAgentResponse.agent:type_name -> flyteidl.admin.Agent + 9, // 15: flyteidl.admin.ListAgentsResponse.agents:type_name -> flyteidl.admin.Agent + 26, // 16: flyteidl.admin.GetTaskMetricsRequest.start_time:type_name -> google.protobuf.Timestamp + 26, // 17: flyteidl.admin.GetTaskMetricsRequest.end_time:type_name -> google.protobuf.Timestamp + 27, // 18: flyteidl.admin.GetTaskMetricsRequest.step:type_name -> google.protobuf.Duration + 28, // 19: flyteidl.admin.GetTaskMetricsResponse.results:type_name -> flyteidl.core.ExecutionMetricResult + 20, // [20:20] is the sub-list for method output_type + 20, // [20:20] is the sub-list for method input_type + 20, // [20:20] is the sub-list for extension type_name + 20, // [20:20] is the sub-list for extension extendee + 0, // [0:20] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_agent_proto_init() } +func file_flyteidl_admin_agent_proto_init() { + if File_flyteidl_admin_agent_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTaskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Resource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteTaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteTaskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Agent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAgentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAgentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAgentsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAgentsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskMetricsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskMetricsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskLogsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_agent_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTaskLogsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_agent_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*CreateTaskResponse_ResourceMeta)(nil), + (*CreateTaskResponse_Resource)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_agent_proto_rawDesc, + NumEnums: 1, + NumMessages: 20, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_agent_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_agent_proto_depIdxs, + EnumInfos: file_flyteidl_admin_agent_proto_enumTypes, + MessageInfos: file_flyteidl_admin_agent_proto_msgTypes, + }.Build() + File_flyteidl_admin_agent_proto = out.File + file_flyteidl_admin_agent_proto_rawDesc = nil + file_flyteidl_admin_agent_proto_goTypes = nil + file_flyteidl_admin_agent_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/agent.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/agent.swagger.json deleted file mode 100644 index 64f4adef58..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/agent.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/agent.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go index d6f0efa314..2f4337cb62 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.go @@ -1,84 +1,159 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/cluster_assignment.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Encapsulates specifications for routing an execution onto a specific cluster. type ClusterAssignment struct { - ClusterPoolName string `protobuf:"bytes,3,opt,name=cluster_pool_name,json=clusterPoolName,proto3" json:"cluster_pool_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ClusterAssignment) Reset() { *m = ClusterAssignment{} } -func (m *ClusterAssignment) String() string { return proto.CompactTextString(m) } -func (*ClusterAssignment) ProtoMessage() {} -func (*ClusterAssignment) Descriptor() ([]byte, []int) { - return fileDescriptor_c5699de6e686ea15, []int{0} + ClusterPoolName string `protobuf:"bytes,3,opt,name=cluster_pool_name,json=clusterPoolName,proto3" json:"cluster_pool_name,omitempty"` } -func (m *ClusterAssignment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterAssignment.Unmarshal(m, b) -} -func (m *ClusterAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterAssignment.Marshal(b, m, deterministic) -} -func (m *ClusterAssignment) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterAssignment.Merge(m, src) +func (x *ClusterAssignment) Reset() { + *x = ClusterAssignment{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_cluster_assignment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ClusterAssignment) XXX_Size() int { - return xxx_messageInfo_ClusterAssignment.Size(m) + +func (x *ClusterAssignment) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ClusterAssignment) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterAssignment.DiscardUnknown(m) + +func (*ClusterAssignment) ProtoMessage() {} + +func (x *ClusterAssignment) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_cluster_assignment_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ClusterAssignment proto.InternalMessageInfo +// Deprecated: Use ClusterAssignment.ProtoReflect.Descriptor instead. +func (*ClusterAssignment) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_cluster_assignment_proto_rawDescGZIP(), []int{0} +} -func (m *ClusterAssignment) GetClusterPoolName() string { - if m != nil { - return m.ClusterPoolName +func (x *ClusterAssignment) GetClusterPoolName() string { + if x != nil { + return x.ClusterPoolName } return "" } -func init() { - proto.RegisterType((*ClusterAssignment)(nil), "flyteidl.admin.ClusterAssignment") +var File_flyteidl_admin_cluster_assignment_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_cluster_assignment_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x22, 0x4b, 0x0a, 0x11, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, + 0x0a, 0x11, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, + 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x42, 0xc2, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x16, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_cluster_assignment_proto_rawDescOnce sync.Once + file_flyteidl_admin_cluster_assignment_proto_rawDescData = file_flyteidl_admin_cluster_assignment_proto_rawDesc +) + +func file_flyteidl_admin_cluster_assignment_proto_rawDescGZIP() []byte { + file_flyteidl_admin_cluster_assignment_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_cluster_assignment_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_cluster_assignment_proto_rawDescData) + }) + return file_flyteidl_admin_cluster_assignment_proto_rawDescData } -func init() { - proto.RegisterFile("flyteidl/admin/cluster_assignment.proto", fileDescriptor_c5699de6e686ea15) +var file_flyteidl_admin_cluster_assignment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_admin_cluster_assignment_proto_goTypes = []interface{}{ + (*ClusterAssignment)(nil), // 0: flyteidl.admin.ClusterAssignment +} +var file_flyteidl_admin_cluster_assignment_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -var fileDescriptor_c5699de6e686ea15 = []byte{ - // 170 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xcb, 0xa9, 0x2c, - 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x4f, 0x4c, 0xc9, 0xcd, 0xcc, 0xd3, 0x4f, 0xce, 0x29, 0x2d, 0x2e, - 0x49, 0x2d, 0x8a, 0x4f, 0x2c, 0x2e, 0xce, 0x4c, 0xcf, 0xcb, 0x4d, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0x29, 0xd4, 0x03, 0x2b, 0x54, 0xf2, 0xe6, 0x12, 0x74, 0x86, - 0xa8, 0x75, 0x84, 0x2b, 0x15, 0xd2, 0xe2, 0x12, 0x84, 0x19, 0x50, 0x90, 0x9f, 0x9f, 0x13, 0x9f, - 0x97, 0x98, 0x9b, 0x2a, 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x19, 0xc4, 0x0f, 0x95, 0x08, 0xc8, 0xcf, - 0xcf, 0xf1, 0x4b, 0xcc, 0x4d, 0xf5, 0x62, 0xe1, 0x60, 0x14, 0x60, 0xf2, 0x62, 0xe1, 0x60, 0x12, - 0x60, 0x76, 0xb2, 0x8d, 0xb2, 0x4e, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, - 0x07, 0xdb, 0x94, 0x5f, 0x94, 0x0e, 0x61, 0xe8, 0xc3, 0x5d, 0x98, 0x9e, 0x9a, 0xa7, 0x5f, 0x90, - 0xa4, 0x9b, 0x9e, 0xaf, 0x8f, 0xea, 0xe8, 0x24, 0x36, 0xb0, 0x13, 0x8d, 0x01, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x38, 0x72, 0xe8, 0xf0, 0xcd, 0x00, 0x00, 0x00, +func init() { file_flyteidl_admin_cluster_assignment_proto_init() } +func file_flyteidl_admin_cluster_assignment_proto_init() { + if File_flyteidl_admin_cluster_assignment_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_cluster_assignment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClusterAssignment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_cluster_assignment_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_cluster_assignment_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_cluster_assignment_proto_depIdxs, + MessageInfos: file_flyteidl_admin_cluster_assignment_proto_msgTypes, + }.Build() + File_flyteidl_admin_cluster_assignment_proto = out.File + file_flyteidl_admin_cluster_assignment_proto_rawDesc = nil + file_flyteidl_admin_cluster_assignment_proto_goTypes = nil + file_flyteidl_admin_cluster_assignment_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.swagger.json deleted file mode 100644 index 4c180efe77..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/cluster_assignment.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go index d5598fd1db..a20233700b 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/common.pb.go @@ -1,26 +1,26 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/common.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + _ "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // The status of the named entity is used to control its visibility in the UI. type NamedEntityState int32 @@ -34,24 +34,45 @@ const ( NamedEntityState_SYSTEM_GENERATED NamedEntityState = 2 ) -var NamedEntityState_name = map[int32]string{ - 0: "NAMED_ENTITY_ACTIVE", - 1: "NAMED_ENTITY_ARCHIVED", - 2: "SYSTEM_GENERATED", -} +// Enum value maps for NamedEntityState. +var ( + NamedEntityState_name = map[int32]string{ + 0: "NAMED_ENTITY_ACTIVE", + 1: "NAMED_ENTITY_ARCHIVED", + 2: "SYSTEM_GENERATED", + } + NamedEntityState_value = map[string]int32{ + "NAMED_ENTITY_ACTIVE": 0, + "NAMED_ENTITY_ARCHIVED": 1, + "SYSTEM_GENERATED": 2, + } +) -var NamedEntityState_value = map[string]int32{ - "NAMED_ENTITY_ACTIVE": 0, - "NAMED_ENTITY_ARCHIVED": 1, - "SYSTEM_GENERATED": 2, +func (x NamedEntityState) Enum() *NamedEntityState { + p := new(NamedEntityState) + *p = x + return p } func (x NamedEntityState) String() string { - return proto.EnumName(NamedEntityState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (NamedEntityState) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_common_proto_enumTypes[0].Descriptor() +} + +func (NamedEntityState) Type() protoreflect.EnumType { + return &file_flyteidl_admin_common_proto_enumTypes[0] +} + +func (x NamedEntityState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use NamedEntityState.Descriptor instead. func (NamedEntityState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{0} + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{0} } type Sort_Direction int32 @@ -62,22 +83,43 @@ const ( Sort_ASCENDING Sort_Direction = 1 ) -var Sort_Direction_name = map[int32]string{ - 0: "DESCENDING", - 1: "ASCENDING", -} +// Enum value maps for Sort_Direction. +var ( + Sort_Direction_name = map[int32]string{ + 0: "DESCENDING", + 1: "ASCENDING", + } + Sort_Direction_value = map[string]int32{ + "DESCENDING": 0, + "ASCENDING": 1, + } +) -var Sort_Direction_value = map[string]int32{ - "DESCENDING": 0, - "ASCENDING": 1, +func (x Sort_Direction) Enum() *Sort_Direction { + p := new(Sort_Direction) + *p = x + return p } func (x Sort_Direction) String() string { - return proto.EnumName(Sort_Direction_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Sort_Direction) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_common_proto_enumTypes[1].Descriptor() } +func (Sort_Direction) Type() protoreflect.EnumType { + return &file_flyteidl_admin_common_proto_enumTypes[1] +} + +func (x Sort_Direction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Sort_Direction.Descriptor instead. func (Sort_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{3, 0} + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{3, 0} } // Encapsulation of fields that identifies a Flyte resource. @@ -85,6 +127,10 @@ func (Sort_Direction) EnumDescriptor() ([]byte, []int) { // A resource can internally have multiple versions and is uniquely identified // by project, domain, and name. type NamedEntityIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the project the resource belongs to. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Name of the domain the resource belongs to. @@ -95,113 +141,125 @@ type NamedEntityIdentifier struct { // +optional - in certain contexts - like 'List API', 'Launch plans' Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` } -func (m *NamedEntityIdentifier) Reset() { *m = NamedEntityIdentifier{} } -func (m *NamedEntityIdentifier) String() string { return proto.CompactTextString(m) } -func (*NamedEntityIdentifier) ProtoMessage() {} -func (*NamedEntityIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{0} +func (x *NamedEntityIdentifier) Reset() { + *x = NamedEntityIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityIdentifier) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityIdentifier.Unmarshal(m, b) -} -func (m *NamedEntityIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityIdentifier.Marshal(b, m, deterministic) -} -func (m *NamedEntityIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityIdentifier.Merge(m, src) -} -func (m *NamedEntityIdentifier) XXX_Size() int { - return xxx_messageInfo_NamedEntityIdentifier.Size(m) +func (x *NamedEntityIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityIdentifier) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityIdentifier.DiscardUnknown(m) + +func (*NamedEntityIdentifier) ProtoMessage() {} + +func (x *NamedEntityIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityIdentifier proto.InternalMessageInfo +// Deprecated: Use NamedEntityIdentifier.ProtoReflect.Descriptor instead. +func (*NamedEntityIdentifier) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{0} +} -func (m *NamedEntityIdentifier) GetProject() string { - if m != nil { - return m.Project +func (x *NamedEntityIdentifier) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *NamedEntityIdentifier) GetDomain() string { - if m != nil { - return m.Domain +func (x *NamedEntityIdentifier) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *NamedEntityIdentifier) GetName() string { - if m != nil { - return m.Name +func (x *NamedEntityIdentifier) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *NamedEntityIdentifier) GetOrg() string { - if m != nil { - return m.Org +func (x *NamedEntityIdentifier) GetOrg() string { + if x != nil { + return x.Org } return "" } // Additional metadata around a named entity. type NamedEntityMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Common description across all versions of the entity // +optional Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // Shared state across all version of the entity // At this point in time, only workflow entities can have their state archived. - State NamedEntityState `protobuf:"varint,2,opt,name=state,proto3,enum=flyteidl.admin.NamedEntityState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + State NamedEntityState `protobuf:"varint,2,opt,name=state,proto3,enum=flyteidl.admin.NamedEntityState" json:"state,omitempty"` } -func (m *NamedEntityMetadata) Reset() { *m = NamedEntityMetadata{} } -func (m *NamedEntityMetadata) String() string { return proto.CompactTextString(m) } -func (*NamedEntityMetadata) ProtoMessage() {} -func (*NamedEntityMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{1} +func (x *NamedEntityMetadata) Reset() { + *x = NamedEntityMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityMetadata.Unmarshal(m, b) -} -func (m *NamedEntityMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityMetadata.Marshal(b, m, deterministic) -} -func (m *NamedEntityMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityMetadata.Merge(m, src) -} -func (m *NamedEntityMetadata) XXX_Size() int { - return xxx_messageInfo_NamedEntityMetadata.Size(m) +func (x *NamedEntityMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityMetadata.DiscardUnknown(m) + +func (*NamedEntityMetadata) ProtoMessage() {} + +func (x *NamedEntityMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityMetadata proto.InternalMessageInfo +// Deprecated: Use NamedEntityMetadata.ProtoReflect.Descriptor instead. +func (*NamedEntityMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{1} +} -func (m *NamedEntityMetadata) GetDescription() string { - if m != nil { - return m.Description +func (x *NamedEntityMetadata) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *NamedEntityMetadata) GetState() NamedEntityState { - if m != nil { - return m.State +func (x *NamedEntityMetadata) GetState() NamedEntityState { + if x != nil { + return x.State } return NamedEntityState_NAMED_ENTITY_ACTIVE } @@ -210,116 +268,136 @@ func (m *NamedEntityMetadata) GetState() NamedEntityState { // workflow or launch plan. A NamedEntity is exclusively identified by its resource type // and identifier. type NamedEntity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Resource type of the named entity. One of Task, Workflow or LaunchPlan. ResourceType core.ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.core.ResourceType" json:"resource_type,omitempty"` Id *NamedEntityIdentifier `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Additional metadata around a named entity. - Metadata *NamedEntityMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata *NamedEntityMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *NamedEntity) Reset() { *m = NamedEntity{} } -func (m *NamedEntity) String() string { return proto.CompactTextString(m) } -func (*NamedEntity) ProtoMessage() {} -func (*NamedEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{2} +func (x *NamedEntity) Reset() { + *x = NamedEntity{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntity.Unmarshal(m, b) -} -func (m *NamedEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntity.Marshal(b, m, deterministic) -} -func (m *NamedEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntity.Merge(m, src) -} -func (m *NamedEntity) XXX_Size() int { - return xxx_messageInfo_NamedEntity.Size(m) +func (x *NamedEntity) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntity) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntity.DiscardUnknown(m) + +func (*NamedEntity) ProtoMessage() {} + +func (x *NamedEntity) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntity proto.InternalMessageInfo +// Deprecated: Use NamedEntity.ProtoReflect.Descriptor instead. +func (*NamedEntity) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{2} +} -func (m *NamedEntity) GetResourceType() core.ResourceType { - if m != nil { - return m.ResourceType +func (x *NamedEntity) GetResourceType() core.ResourceType { + if x != nil { + return x.ResourceType } - return core.ResourceType_UNSPECIFIED + return core.ResourceType(0) } -func (m *NamedEntity) GetId() *NamedEntityIdentifier { - if m != nil { - return m.Id +func (x *NamedEntity) GetId() *NamedEntityIdentifier { + if x != nil { + return x.Id } return nil } -func (m *NamedEntity) GetMetadata() *NamedEntityMetadata { - if m != nil { - return m.Metadata +func (x *NamedEntity) GetMetadata() *NamedEntityMetadata { + if x != nil { + return x.Metadata } return nil } // Specifies sort ordering in a list request. type Sort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates an attribute to sort the response values. // +required Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Indicates the direction to apply sort key for response values. // +optional - Direction Sort_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=flyteidl.admin.Sort_Direction" json:"direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Direction Sort_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=flyteidl.admin.Sort_Direction" json:"direction,omitempty"` } -func (m *Sort) Reset() { *m = Sort{} } -func (m *Sort) String() string { return proto.CompactTextString(m) } -func (*Sort) ProtoMessage() {} -func (*Sort) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{3} +func (x *Sort) Reset() { + *x = Sort{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Sort) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sort.Unmarshal(m, b) -} -func (m *Sort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sort.Marshal(b, m, deterministic) +func (x *Sort) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Sort) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sort.Merge(m, src) -} -func (m *Sort) XXX_Size() int { - return xxx_messageInfo_Sort.Size(m) -} -func (m *Sort) XXX_DiscardUnknown() { - xxx_messageInfo_Sort.DiscardUnknown(m) + +func (*Sort) ProtoMessage() {} + +func (x *Sort) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Sort proto.InternalMessageInfo +// Deprecated: Use Sort.ProtoReflect.Descriptor instead. +func (*Sort) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{3} +} -func (m *Sort) GetKey() string { - if m != nil { - return m.Key +func (x *Sort) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *Sort) GetDirection() Sort_Direction { - if m != nil { - return m.Direction +func (x *Sort) GetDirection() Sort_Direction { + if x != nil { + return x.Direction } return Sort_DESCENDING } // Represents a request structure to list NamedEntityIdentifiers. type NamedEntityIdentifierListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the project that contains the identifiers. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -340,88 +418,96 @@ type NamedEntityIdentifierListRequest struct { // +optional Filters string `protobuf:"bytes,6,opt,name=filters,proto3" json:"filters,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,7,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,7,opt,name=org,proto3" json:"org,omitempty"` } -func (m *NamedEntityIdentifierListRequest) Reset() { *m = NamedEntityIdentifierListRequest{} } -func (m *NamedEntityIdentifierListRequest) String() string { return proto.CompactTextString(m) } -func (*NamedEntityIdentifierListRequest) ProtoMessage() {} -func (*NamedEntityIdentifierListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{4} +func (x *NamedEntityIdentifierListRequest) Reset() { + *x = NamedEntityIdentifierListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityIdentifierListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityIdentifierListRequest.Unmarshal(m, b) +func (x *NamedEntityIdentifierListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityIdentifierListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityIdentifierListRequest.Marshal(b, m, deterministic) -} -func (m *NamedEntityIdentifierListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityIdentifierListRequest.Merge(m, src) -} -func (m *NamedEntityIdentifierListRequest) XXX_Size() int { - return xxx_messageInfo_NamedEntityIdentifierListRequest.Size(m) -} -func (m *NamedEntityIdentifierListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityIdentifierListRequest.DiscardUnknown(m) + +func (*NamedEntityIdentifierListRequest) ProtoMessage() {} + +func (x *NamedEntityIdentifierListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityIdentifierListRequest proto.InternalMessageInfo +// Deprecated: Use NamedEntityIdentifierListRequest.ProtoReflect.Descriptor instead. +func (*NamedEntityIdentifierListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{4} +} -func (m *NamedEntityIdentifierListRequest) GetProject() string { - if m != nil { - return m.Project +func (x *NamedEntityIdentifierListRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *NamedEntityIdentifierListRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *NamedEntityIdentifierListRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *NamedEntityIdentifierListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *NamedEntityIdentifierListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *NamedEntityIdentifierListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *NamedEntityIdentifierListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *NamedEntityIdentifierListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *NamedEntityIdentifierListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } -func (m *NamedEntityIdentifierListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *NamedEntityIdentifierListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *NamedEntityIdentifierListRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *NamedEntityIdentifierListRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } // Represents a request structure to list NamedEntity objects type NamedEntityListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. // +required ResourceType core.ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.core.ResourceType" json:"resource_type,omitempty"` @@ -443,249 +529,281 @@ type NamedEntityListRequest struct { // +optional Filters string `protobuf:"bytes,7,opt,name=filters,proto3" json:"filters,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,8,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,8,opt,name=org,proto3" json:"org,omitempty"` } -func (m *NamedEntityListRequest) Reset() { *m = NamedEntityListRequest{} } -func (m *NamedEntityListRequest) String() string { return proto.CompactTextString(m) } -func (*NamedEntityListRequest) ProtoMessage() {} -func (*NamedEntityListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{5} +func (x *NamedEntityListRequest) Reset() { + *x = NamedEntityListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityListRequest.Unmarshal(m, b) +func (x *NamedEntityListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityListRequest.Marshal(b, m, deterministic) -} -func (m *NamedEntityListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityListRequest.Merge(m, src) -} -func (m *NamedEntityListRequest) XXX_Size() int { - return xxx_messageInfo_NamedEntityListRequest.Size(m) -} -func (m *NamedEntityListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityListRequest.DiscardUnknown(m) + +func (*NamedEntityListRequest) ProtoMessage() {} + +func (x *NamedEntityListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityListRequest proto.InternalMessageInfo +// Deprecated: Use NamedEntityListRequest.ProtoReflect.Descriptor instead. +func (*NamedEntityListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{5} +} -func (m *NamedEntityListRequest) GetResourceType() core.ResourceType { - if m != nil { - return m.ResourceType +func (x *NamedEntityListRequest) GetResourceType() core.ResourceType { + if x != nil { + return x.ResourceType } - return core.ResourceType_UNSPECIFIED + return core.ResourceType(0) } -func (m *NamedEntityListRequest) GetProject() string { - if m != nil { - return m.Project +func (x *NamedEntityListRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *NamedEntityListRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *NamedEntityListRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *NamedEntityListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *NamedEntityListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *NamedEntityListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *NamedEntityListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *NamedEntityListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *NamedEntityListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } -func (m *NamedEntityListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *NamedEntityListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *NamedEntityListRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *NamedEntityListRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } // Represents a list of NamedEntityIdentifiers. type NamedEntityIdentifierList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of identifiers. Entities []*NamedEntityIdentifier `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *NamedEntityIdentifierList) Reset() { *m = NamedEntityIdentifierList{} } -func (m *NamedEntityIdentifierList) String() string { return proto.CompactTextString(m) } -func (*NamedEntityIdentifierList) ProtoMessage() {} -func (*NamedEntityIdentifierList) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{6} +func (x *NamedEntityIdentifierList) Reset() { + *x = NamedEntityIdentifierList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityIdentifierList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityIdentifierList.Unmarshal(m, b) +func (x *NamedEntityIdentifierList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityIdentifierList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityIdentifierList.Marshal(b, m, deterministic) -} -func (m *NamedEntityIdentifierList) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityIdentifierList.Merge(m, src) -} -func (m *NamedEntityIdentifierList) XXX_Size() int { - return xxx_messageInfo_NamedEntityIdentifierList.Size(m) -} -func (m *NamedEntityIdentifierList) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityIdentifierList.DiscardUnknown(m) + +func (*NamedEntityIdentifierList) ProtoMessage() {} + +func (x *NamedEntityIdentifierList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityIdentifierList proto.InternalMessageInfo +// Deprecated: Use NamedEntityIdentifierList.ProtoReflect.Descriptor instead. +func (*NamedEntityIdentifierList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{6} +} -func (m *NamedEntityIdentifierList) GetEntities() []*NamedEntityIdentifier { - if m != nil { - return m.Entities +func (x *NamedEntityIdentifierList) GetEntities() []*NamedEntityIdentifier { + if x != nil { + return x.Entities } return nil } -func (m *NamedEntityIdentifierList) GetToken() string { - if m != nil { - return m.Token +func (x *NamedEntityIdentifierList) GetToken() string { + if x != nil { + return x.Token } return "" } // Represents a list of NamedEntityIdentifiers. type NamedEntityList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of NamedEntity objects Entities []*NamedEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *NamedEntityList) Reset() { *m = NamedEntityList{} } -func (m *NamedEntityList) String() string { return proto.CompactTextString(m) } -func (*NamedEntityList) ProtoMessage() {} -func (*NamedEntityList) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{7} +func (x *NamedEntityList) Reset() { + *x = NamedEntityList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityList.Unmarshal(m, b) +func (x *NamedEntityList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityList.Marshal(b, m, deterministic) -} -func (m *NamedEntityList) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityList.Merge(m, src) -} -func (m *NamedEntityList) XXX_Size() int { - return xxx_messageInfo_NamedEntityList.Size(m) -} -func (m *NamedEntityList) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityList.DiscardUnknown(m) + +func (*NamedEntityList) ProtoMessage() {} + +func (x *NamedEntityList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityList proto.InternalMessageInfo +// Deprecated: Use NamedEntityList.ProtoReflect.Descriptor instead. +func (*NamedEntityList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{7} +} -func (m *NamedEntityList) GetEntities() []*NamedEntity { - if m != nil { - return m.Entities +func (x *NamedEntityList) GetEntities() []*NamedEntity { + if x != nil { + return x.Entities } return nil } -func (m *NamedEntityList) GetToken() string { - if m != nil { - return m.Token +func (x *NamedEntityList) GetToken() string { + if x != nil { + return x.Token } return "" } // A request to retrieve the metadata associated with a NamedEntityIdentifier type NamedEntityGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. // +required ResourceType core.ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.core.ResourceType" json:"resource_type,omitempty"` // The identifier for the named entity for which to fetch metadata. // +required - Id *NamedEntityIdentifier `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *NamedEntityIdentifier `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` } -func (m *NamedEntityGetRequest) Reset() { *m = NamedEntityGetRequest{} } -func (m *NamedEntityGetRequest) String() string { return proto.CompactTextString(m) } -func (*NamedEntityGetRequest) ProtoMessage() {} -func (*NamedEntityGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{8} +func (x *NamedEntityGetRequest) Reset() { + *x = NamedEntityGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityGetRequest.Unmarshal(m, b) -} -func (m *NamedEntityGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityGetRequest.Marshal(b, m, deterministic) +func (x *NamedEntityGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityGetRequest.Merge(m, src) -} -func (m *NamedEntityGetRequest) XXX_Size() int { - return xxx_messageInfo_NamedEntityGetRequest.Size(m) -} -func (m *NamedEntityGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityGetRequest.DiscardUnknown(m) + +func (*NamedEntityGetRequest) ProtoMessage() {} + +func (x *NamedEntityGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityGetRequest proto.InternalMessageInfo +// Deprecated: Use NamedEntityGetRequest.ProtoReflect.Descriptor instead. +func (*NamedEntityGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{8} +} -func (m *NamedEntityGetRequest) GetResourceType() core.ResourceType { - if m != nil { - return m.ResourceType +func (x *NamedEntityGetRequest) GetResourceType() core.ResourceType { + if x != nil { + return x.ResourceType } - return core.ResourceType_UNSPECIFIED + return core.ResourceType(0) } -func (m *NamedEntityGetRequest) GetId() *NamedEntityIdentifier { - if m != nil { - return m.Id +func (x *NamedEntityGetRequest) GetId() *NamedEntityIdentifier { + if x != nil { + return x.Id } return nil } // Request to set the referenced named entity state to the configured value. type NamedEntityUpdateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Resource type of the metadata to update // +required ResourceType core.ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.core.ResourceType" json:"resource_type,omitempty"` @@ -694,129 +812,148 @@ type NamedEntityUpdateRequest struct { Id *NamedEntityIdentifier `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Metadata object to set as the new value // +required - Metadata *NamedEntityMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata *NamedEntityMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *NamedEntityUpdateRequest) Reset() { *m = NamedEntityUpdateRequest{} } -func (m *NamedEntityUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*NamedEntityUpdateRequest) ProtoMessage() {} -func (*NamedEntityUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{9} +func (x *NamedEntityUpdateRequest) Reset() { + *x = NamedEntityUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityUpdateRequest.Unmarshal(m, b) -} -func (m *NamedEntityUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityUpdateRequest.Marshal(b, m, deterministic) +func (x *NamedEntityUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityUpdateRequest.Merge(m, src) -} -func (m *NamedEntityUpdateRequest) XXX_Size() int { - return xxx_messageInfo_NamedEntityUpdateRequest.Size(m) -} -func (m *NamedEntityUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityUpdateRequest.DiscardUnknown(m) + +func (*NamedEntityUpdateRequest) ProtoMessage() {} + +func (x *NamedEntityUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityUpdateRequest proto.InternalMessageInfo +// Deprecated: Use NamedEntityUpdateRequest.ProtoReflect.Descriptor instead. +func (*NamedEntityUpdateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{9} +} -func (m *NamedEntityUpdateRequest) GetResourceType() core.ResourceType { - if m != nil { - return m.ResourceType +func (x *NamedEntityUpdateRequest) GetResourceType() core.ResourceType { + if x != nil { + return x.ResourceType } - return core.ResourceType_UNSPECIFIED + return core.ResourceType(0) } -func (m *NamedEntityUpdateRequest) GetId() *NamedEntityIdentifier { - if m != nil { - return m.Id +func (x *NamedEntityUpdateRequest) GetId() *NamedEntityIdentifier { + if x != nil { + return x.Id } return nil } -func (m *NamedEntityUpdateRequest) GetMetadata() *NamedEntityMetadata { - if m != nil { - return m.Metadata +func (x *NamedEntityUpdateRequest) GetMetadata() *NamedEntityMetadata { + if x != nil { + return x.Metadata } return nil } // Purposefully empty, may be populated in the future. type NamedEntityUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *NamedEntityUpdateResponse) Reset() { *m = NamedEntityUpdateResponse{} } -func (m *NamedEntityUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*NamedEntityUpdateResponse) ProtoMessage() {} -func (*NamedEntityUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{10} +func (x *NamedEntityUpdateResponse) Reset() { + *x = NamedEntityUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamedEntityUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamedEntityUpdateResponse.Unmarshal(m, b) -} -func (m *NamedEntityUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamedEntityUpdateResponse.Marshal(b, m, deterministic) -} -func (m *NamedEntityUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamedEntityUpdateResponse.Merge(m, src) -} -func (m *NamedEntityUpdateResponse) XXX_Size() int { - return xxx_messageInfo_NamedEntityUpdateResponse.Size(m) +func (x *NamedEntityUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamedEntityUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NamedEntityUpdateResponse.DiscardUnknown(m) + +func (*NamedEntityUpdateResponse) ProtoMessage() {} + +func (x *NamedEntityUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamedEntityUpdateResponse proto.InternalMessageInfo +// Deprecated: Use NamedEntityUpdateResponse.ProtoReflect.Descriptor instead. +func (*NamedEntityUpdateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{10} +} // Shared request structure to fetch a single resource. // Resources include: Task, Workflow, LaunchPlan type ObjectGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates a unique version of resource. // +required - Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *ObjectGetRequest) Reset() { *m = ObjectGetRequest{} } -func (m *ObjectGetRequest) String() string { return proto.CompactTextString(m) } -func (*ObjectGetRequest) ProtoMessage() {} -func (*ObjectGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{11} +func (x *ObjectGetRequest) Reset() { + *x = ObjectGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ObjectGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectGetRequest.Unmarshal(m, b) -} -func (m *ObjectGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectGetRequest.Marshal(b, m, deterministic) +func (x *ObjectGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ObjectGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectGetRequest.Merge(m, src) -} -func (m *ObjectGetRequest) XXX_Size() int { - return xxx_messageInfo_ObjectGetRequest.Size(m) -} -func (m *ObjectGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectGetRequest.DiscardUnknown(m) + +func (*ObjectGetRequest) ProtoMessage() {} + +func (x *ObjectGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ObjectGetRequest proto.InternalMessageInfo +// Deprecated: Use ObjectGetRequest.ProtoReflect.Descriptor instead. +func (*ObjectGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{11} +} -func (m *ObjectGetRequest) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *ObjectGetRequest) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } @@ -824,6 +961,10 @@ func (m *ObjectGetRequest) GetId() *core.Identifier { // Shared request structure to retrieve a list of resources. // Resources include: Task, Workflow, LaunchPlan type ResourceListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the resource. // +required Id *NamedEntityIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -840,194 +981,222 @@ type ResourceListRequest struct { Filters string `protobuf:"bytes,4,opt,name=filters,proto3" json:"filters,omitempty"` // Sort ordering. // +optional - SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` } -func (m *ResourceListRequest) Reset() { *m = ResourceListRequest{} } -func (m *ResourceListRequest) String() string { return proto.CompactTextString(m) } -func (*ResourceListRequest) ProtoMessage() {} -func (*ResourceListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{12} +func (x *ResourceListRequest) Reset() { + *x = ResourceListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResourceListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceListRequest.Unmarshal(m, b) -} -func (m *ResourceListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceListRequest.Marshal(b, m, deterministic) -} -func (m *ResourceListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceListRequest.Merge(m, src) -} -func (m *ResourceListRequest) XXX_Size() int { - return xxx_messageInfo_ResourceListRequest.Size(m) +func (x *ResourceListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourceListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceListRequest.DiscardUnknown(m) + +func (*ResourceListRequest) ProtoMessage() {} + +func (x *ResourceListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResourceListRequest proto.InternalMessageInfo +// Deprecated: Use ResourceListRequest.ProtoReflect.Descriptor instead. +func (*ResourceListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{12} +} -func (m *ResourceListRequest) GetId() *NamedEntityIdentifier { - if m != nil { - return m.Id +func (x *ResourceListRequest) GetId() *NamedEntityIdentifier { + if x != nil { + return x.Id } return nil } -func (m *ResourceListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *ResourceListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *ResourceListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *ResourceListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *ResourceListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *ResourceListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *ResourceListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *ResourceListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } // Defines an email notification specification. type EmailNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of email addresses recipients for this notification. // +required - RecipientsEmail []string `protobuf:"bytes,1,rep,name=recipients_email,json=recipientsEmail,proto3" json:"recipients_email,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RecipientsEmail []string `protobuf:"bytes,1,rep,name=recipients_email,json=recipientsEmail,proto3" json:"recipients_email,omitempty"` } -func (m *EmailNotification) Reset() { *m = EmailNotification{} } -func (m *EmailNotification) String() string { return proto.CompactTextString(m) } -func (*EmailNotification) ProtoMessage() {} -func (*EmailNotification) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{13} +func (x *EmailNotification) Reset() { + *x = EmailNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EmailNotification) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EmailNotification.Unmarshal(m, b) +func (x *EmailNotification) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EmailNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EmailNotification.Marshal(b, m, deterministic) -} -func (m *EmailNotification) XXX_Merge(src proto.Message) { - xxx_messageInfo_EmailNotification.Merge(m, src) -} -func (m *EmailNotification) XXX_Size() int { - return xxx_messageInfo_EmailNotification.Size(m) -} -func (m *EmailNotification) XXX_DiscardUnknown() { - xxx_messageInfo_EmailNotification.DiscardUnknown(m) + +func (*EmailNotification) ProtoMessage() {} + +func (x *EmailNotification) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EmailNotification proto.InternalMessageInfo +// Deprecated: Use EmailNotification.ProtoReflect.Descriptor instead. +func (*EmailNotification) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{13} +} -func (m *EmailNotification) GetRecipientsEmail() []string { - if m != nil { - return m.RecipientsEmail +func (x *EmailNotification) GetRecipientsEmail() []string { + if x != nil { + return x.RecipientsEmail } return nil } // Defines a pager duty notification specification. type PagerDutyNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Currently, PagerDuty notifications leverage email to trigger a notification. // +required - RecipientsEmail []string `protobuf:"bytes,1,rep,name=recipients_email,json=recipientsEmail,proto3" json:"recipients_email,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RecipientsEmail []string `protobuf:"bytes,1,rep,name=recipients_email,json=recipientsEmail,proto3" json:"recipients_email,omitempty"` } -func (m *PagerDutyNotification) Reset() { *m = PagerDutyNotification{} } -func (m *PagerDutyNotification) String() string { return proto.CompactTextString(m) } -func (*PagerDutyNotification) ProtoMessage() {} -func (*PagerDutyNotification) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{14} +func (x *PagerDutyNotification) Reset() { + *x = PagerDutyNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PagerDutyNotification) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PagerDutyNotification.Unmarshal(m, b) +func (x *PagerDutyNotification) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PagerDutyNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PagerDutyNotification.Marshal(b, m, deterministic) -} -func (m *PagerDutyNotification) XXX_Merge(src proto.Message) { - xxx_messageInfo_PagerDutyNotification.Merge(m, src) -} -func (m *PagerDutyNotification) XXX_Size() int { - return xxx_messageInfo_PagerDutyNotification.Size(m) -} -func (m *PagerDutyNotification) XXX_DiscardUnknown() { - xxx_messageInfo_PagerDutyNotification.DiscardUnknown(m) + +func (*PagerDutyNotification) ProtoMessage() {} + +func (x *PagerDutyNotification) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PagerDutyNotification proto.InternalMessageInfo +// Deprecated: Use PagerDutyNotification.ProtoReflect.Descriptor instead. +func (*PagerDutyNotification) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{14} +} -func (m *PagerDutyNotification) GetRecipientsEmail() []string { - if m != nil { - return m.RecipientsEmail +func (x *PagerDutyNotification) GetRecipientsEmail() []string { + if x != nil { + return x.RecipientsEmail } return nil } // Defines a slack notification specification. type SlackNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Currently, Slack notifications leverage email to trigger a notification. // +required - RecipientsEmail []string `protobuf:"bytes,1,rep,name=recipients_email,json=recipientsEmail,proto3" json:"recipients_email,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RecipientsEmail []string `protobuf:"bytes,1,rep,name=recipients_email,json=recipientsEmail,proto3" json:"recipients_email,omitempty"` } -func (m *SlackNotification) Reset() { *m = SlackNotification{} } -func (m *SlackNotification) String() string { return proto.CompactTextString(m) } -func (*SlackNotification) ProtoMessage() {} -func (*SlackNotification) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{15} +func (x *SlackNotification) Reset() { + *x = SlackNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SlackNotification) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SlackNotification.Unmarshal(m, b) -} -func (m *SlackNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SlackNotification.Marshal(b, m, deterministic) +func (x *SlackNotification) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SlackNotification) XXX_Merge(src proto.Message) { - xxx_messageInfo_SlackNotification.Merge(m, src) -} -func (m *SlackNotification) XXX_Size() int { - return xxx_messageInfo_SlackNotification.Size(m) -} -func (m *SlackNotification) XXX_DiscardUnknown() { - xxx_messageInfo_SlackNotification.DiscardUnknown(m) + +func (*SlackNotification) ProtoMessage() {} + +func (x *SlackNotification) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SlackNotification proto.InternalMessageInfo +// Deprecated: Use SlackNotification.ProtoReflect.Descriptor instead. +func (*SlackNotification) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{15} +} -func (m *SlackNotification) GetRecipientsEmail() []string { - if m != nil { - return m.RecipientsEmail +func (x *SlackNotification) GetRecipientsEmail() []string { + if x != nil { + return x.RecipientsEmail } return nil } @@ -1036,76 +1205,63 @@ func (m *SlackNotification) GetRecipientsEmail() []string { // The notification content is configured within flyte admin but can be templatized. // Future iterations could expose configuring notifications with custom content. type Notification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of phases to which users can associate the notifications to. // +required Phases []core.WorkflowExecution_Phase `protobuf:"varint,1,rep,packed,name=phases,proto3,enum=flyteidl.core.WorkflowExecution_Phase" json:"phases,omitempty"` // The type of notification to trigger. // +required // - // Types that are valid to be assigned to Type: + // Types that are assignable to Type: + // // *Notification_Email // *Notification_PagerDuty // *Notification_Slack - Type isNotification_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Type isNotification_Type `protobuf_oneof:"type"` } -func (m *Notification) Reset() { *m = Notification{} } -func (m *Notification) String() string { return proto.CompactTextString(m) } -func (*Notification) ProtoMessage() {} -func (*Notification) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{16} +func (x *Notification) Reset() { + *x = Notification{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Notification) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Notification.Unmarshal(m, b) -} -func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Notification.Marshal(b, m, deterministic) -} -func (m *Notification) XXX_Merge(src proto.Message) { - xxx_messageInfo_Notification.Merge(m, src) -} -func (m *Notification) XXX_Size() int { - return xxx_messageInfo_Notification.Size(m) -} -func (m *Notification) XXX_DiscardUnknown() { - xxx_messageInfo_Notification.DiscardUnknown(m) +func (x *Notification) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Notification proto.InternalMessageInfo +func (*Notification) ProtoMessage() {} -func (m *Notification) GetPhases() []core.WorkflowExecution_Phase { - if m != nil { - return m.Phases +func (x *Notification) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type isNotification_Type interface { - isNotification_Type() -} - -type Notification_Email struct { - Email *EmailNotification `protobuf:"bytes,2,opt,name=email,proto3,oneof"` -} - -type Notification_PagerDuty struct { - PagerDuty *PagerDutyNotification `protobuf:"bytes,3,opt,name=pager_duty,json=pagerDuty,proto3,oneof"` +// Deprecated: Use Notification.ProtoReflect.Descriptor instead. +func (*Notification) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{16} } -type Notification_Slack struct { - Slack *SlackNotification `protobuf:"bytes,4,opt,name=slack,proto3,oneof"` +func (x *Notification) GetPhases() []core.WorkflowExecution_Phase { + if x != nil { + return x.Phases + } + return nil } -func (*Notification_Email) isNotification_Type() {} - -func (*Notification_PagerDuty) isNotification_Type() {} - -func (*Notification_Slack) isNotification_Type() {} - func (m *Notification) GetType() isNotification_Type { if m != nil { return m.Type @@ -1113,84 +1269,105 @@ func (m *Notification) GetType() isNotification_Type { return nil } -func (m *Notification) GetEmail() *EmailNotification { - if x, ok := m.GetType().(*Notification_Email); ok { +func (x *Notification) GetEmail() *EmailNotification { + if x, ok := x.GetType().(*Notification_Email); ok { return x.Email } return nil } -func (m *Notification) GetPagerDuty() *PagerDutyNotification { - if x, ok := m.GetType().(*Notification_PagerDuty); ok { +func (x *Notification) GetPagerDuty() *PagerDutyNotification { + if x, ok := x.GetType().(*Notification_PagerDuty); ok { return x.PagerDuty } return nil } -func (m *Notification) GetSlack() *SlackNotification { - if x, ok := m.GetType().(*Notification_Slack); ok { +func (x *Notification) GetSlack() *SlackNotification { + if x, ok := x.GetType().(*Notification_Slack); ok { return x.Slack } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Notification) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Notification_Email)(nil), - (*Notification_PagerDuty)(nil), - (*Notification_Slack)(nil), - } +type isNotification_Type interface { + isNotification_Type() +} + +type Notification_Email struct { + Email *EmailNotification `protobuf:"bytes,2,opt,name=email,proto3,oneof"` } +type Notification_PagerDuty struct { + PagerDuty *PagerDutyNotification `protobuf:"bytes,3,opt,name=pager_duty,json=pagerDuty,proto3,oneof"` +} + +type Notification_Slack struct { + Slack *SlackNotification `protobuf:"bytes,4,opt,name=slack,proto3,oneof"` +} + +func (*Notification_Email) isNotification_Type() {} + +func (*Notification_PagerDuty) isNotification_Type() {} + +func (*Notification_Slack) isNotification_Type() {} + // Represents a string url and associated metadata used throughout the platform. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/admin/common.proto. type UrlBlob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Actual url value. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Represents the size of the file accessible at the above url. - Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` } -func (m *UrlBlob) Reset() { *m = UrlBlob{} } -func (m *UrlBlob) String() string { return proto.CompactTextString(m) } -func (*UrlBlob) ProtoMessage() {} -func (*UrlBlob) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{17} +func (x *UrlBlob) Reset() { + *x = UrlBlob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UrlBlob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UrlBlob.Unmarshal(m, b) -} -func (m *UrlBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UrlBlob.Marshal(b, m, deterministic) -} -func (m *UrlBlob) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlBlob.Merge(m, src) +func (x *UrlBlob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UrlBlob) XXX_Size() int { - return xxx_messageInfo_UrlBlob.Size(m) -} -func (m *UrlBlob) XXX_DiscardUnknown() { - xxx_messageInfo_UrlBlob.DiscardUnknown(m) + +func (*UrlBlob) ProtoMessage() {} + +func (x *UrlBlob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UrlBlob proto.InternalMessageInfo +// Deprecated: Use UrlBlob.ProtoReflect.Descriptor instead. +func (*UrlBlob) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{17} +} -func (m *UrlBlob) GetUrl() string { - if m != nil { - return m.Url +func (x *UrlBlob) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *UrlBlob) GetBytes() int64 { - if m != nil { - return m.Bytes +func (x *UrlBlob) GetBytes() int64 { + if x != nil { + return x.Bytes } return 0 } @@ -1199,41 +1376,49 @@ func (m *UrlBlob) GetBytes() int64 { // In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined // to specify how to merge labels defined at registration and execution time. type Labels struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of custom labels to be applied to the execution resource. - Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Labels) Reset() { *m = Labels{} } -func (m *Labels) String() string { return proto.CompactTextString(m) } -func (*Labels) ProtoMessage() {} -func (*Labels) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{18} +func (x *Labels) Reset() { + *x = Labels{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Labels) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Labels.Unmarshal(m, b) -} -func (m *Labels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Labels.Marshal(b, m, deterministic) +func (x *Labels) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Labels) XXX_Merge(src proto.Message) { - xxx_messageInfo_Labels.Merge(m, src) -} -func (m *Labels) XXX_Size() int { - return xxx_messageInfo_Labels.Size(m) -} -func (m *Labels) XXX_DiscardUnknown() { - xxx_messageInfo_Labels.DiscardUnknown(m) + +func (*Labels) ProtoMessage() {} + +func (x *Labels) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Labels proto.InternalMessageInfo +// Deprecated: Use Labels.ProtoReflect.Descriptor instead. +func (*Labels) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{18} +} -func (m *Labels) GetValues() map[string]string { - if m != nil { - return m.Values +func (x *Labels) GetValues() map[string]string { + if x != nil { + return x.Values } return nil } @@ -1242,41 +1427,49 @@ func (m *Labels) GetValues() map[string]string { // In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined // to specify how to merge annotations defined at registration and execution time. type Annotations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of custom annotations to be applied to the execution resource. - Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Annotations) Reset() { *m = Annotations{} } -func (m *Annotations) String() string { return proto.CompactTextString(m) } -func (*Annotations) ProtoMessage() {} -func (*Annotations) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{19} +func (x *Annotations) Reset() { + *x = Annotations{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Annotations) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Annotations.Unmarshal(m, b) -} -func (m *Annotations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Annotations.Marshal(b, m, deterministic) +func (x *Annotations) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Annotations) XXX_Merge(src proto.Message) { - xxx_messageInfo_Annotations.Merge(m, src) -} -func (m *Annotations) XXX_Size() int { - return xxx_messageInfo_Annotations.Size(m) -} -func (m *Annotations) XXX_DiscardUnknown() { - xxx_messageInfo_Annotations.DiscardUnknown(m) + +func (*Annotations) ProtoMessage() {} + +func (x *Annotations) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Annotations proto.InternalMessageInfo +// Deprecated: Use Annotations.ProtoReflect.Descriptor instead. +func (*Annotations) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{19} +} -func (m *Annotations) GetValues() map[string]string { - if m != nil { - return m.Values +func (x *Annotations) GetValues() map[string]string { + if x != nil { + return x.Values } return nil } @@ -1285,41 +1478,49 @@ func (m *Annotations) GetValues() map[string]string { // In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined // to specify how to merge environment variables defined at registration and execution time. type Envs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Map of custom environment variables to be applied to the execution resource. - Values []*core.KeyValuePair `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Values []*core.KeyValuePair `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` } -func (m *Envs) Reset() { *m = Envs{} } -func (m *Envs) String() string { return proto.CompactTextString(m) } -func (*Envs) ProtoMessage() {} -func (*Envs) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{20} +func (x *Envs) Reset() { + *x = Envs{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Envs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Envs.Unmarshal(m, b) -} -func (m *Envs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Envs.Marshal(b, m, deterministic) +func (x *Envs) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Envs) XXX_Merge(src proto.Message) { - xxx_messageInfo_Envs.Merge(m, src) -} -func (m *Envs) XXX_Size() int { - return xxx_messageInfo_Envs.Size(m) -} -func (m *Envs) XXX_DiscardUnknown() { - xxx_messageInfo_Envs.DiscardUnknown(m) + +func (*Envs) ProtoMessage() {} + +func (x *Envs) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Envs proto.InternalMessageInfo +// Deprecated: Use Envs.ProtoReflect.Descriptor instead. +func (*Envs) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{20} +} -func (m *Envs) GetValues() []*core.KeyValuePair { - if m != nil { - return m.Values +func (x *Envs) GetValues() []*core.KeyValuePair { + if x != nil { + return x.Values } return nil } @@ -1328,52 +1529,60 @@ func (m *Envs) GetValues() []*core.KeyValuePair { // Use either of these roles when they have permissions required by your workflow execution. // Deprecated. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/admin/common.proto. type AuthRole struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. AssumableIamRole string `protobuf:"bytes,1,opt,name=assumable_iam_role,json=assumableIamRole,proto3" json:"assumable_iam_role,omitempty"` // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - KubernetesServiceAccount string `protobuf:"bytes,2,opt,name=kubernetes_service_account,json=kubernetesServiceAccount,proto3" json:"kubernetes_service_account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KubernetesServiceAccount string `protobuf:"bytes,2,opt,name=kubernetes_service_account,json=kubernetesServiceAccount,proto3" json:"kubernetes_service_account,omitempty"` } -func (m *AuthRole) Reset() { *m = AuthRole{} } -func (m *AuthRole) String() string { return proto.CompactTextString(m) } -func (*AuthRole) ProtoMessage() {} -func (*AuthRole) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{21} +func (x *AuthRole) Reset() { + *x = AuthRole{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AuthRole) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthRole.Unmarshal(m, b) -} -func (m *AuthRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthRole.Marshal(b, m, deterministic) -} -func (m *AuthRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthRole.Merge(m, src) +func (x *AuthRole) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AuthRole) XXX_Size() int { - return xxx_messageInfo_AuthRole.Size(m) -} -func (m *AuthRole) XXX_DiscardUnknown() { - xxx_messageInfo_AuthRole.DiscardUnknown(m) + +func (*AuthRole) ProtoMessage() {} + +func (x *AuthRole) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AuthRole proto.InternalMessageInfo +// Deprecated: Use AuthRole.ProtoReflect.Descriptor instead. +func (*AuthRole) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{21} +} -func (m *AuthRole) GetAssumableIamRole() string { - if m != nil { - return m.AssumableIamRole +func (x *AuthRole) GetAssumableIamRole() string { + if x != nil { + return x.AssumableIamRole } return "" } -func (m *AuthRole) GetKubernetesServiceAccount() string { - if m != nil { - return m.KubernetesServiceAccount +func (x *AuthRole) GetKubernetesServiceAccount() string { + if x != nil { + return x.KubernetesServiceAccount } return "" } @@ -1381,211 +1590,742 @@ func (m *AuthRole) GetKubernetesServiceAccount() string { // Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). // See https://github.com/flyteorg/flyte/issues/211 for more background information. type RawOutputDataConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Prefix for where offloaded data from user workflows will be written // e.g. s3://bucket/key or s3://bucket/ - OutputLocationPrefix string `protobuf:"bytes,1,opt,name=output_location_prefix,json=outputLocationPrefix,proto3" json:"output_location_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutputLocationPrefix string `protobuf:"bytes,1,opt,name=output_location_prefix,json=outputLocationPrefix,proto3" json:"output_location_prefix,omitempty"` } -func (m *RawOutputDataConfig) Reset() { *m = RawOutputDataConfig{} } -func (m *RawOutputDataConfig) String() string { return proto.CompactTextString(m) } -func (*RawOutputDataConfig) ProtoMessage() {} -func (*RawOutputDataConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{22} +func (x *RawOutputDataConfig) Reset() { + *x = RawOutputDataConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawOutputDataConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawOutputDataConfig.Unmarshal(m, b) -} -func (m *RawOutputDataConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawOutputDataConfig.Marshal(b, m, deterministic) +func (x *RawOutputDataConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawOutputDataConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawOutputDataConfig.Merge(m, src) -} -func (m *RawOutputDataConfig) XXX_Size() int { - return xxx_messageInfo_RawOutputDataConfig.Size(m) -} -func (m *RawOutputDataConfig) XXX_DiscardUnknown() { - xxx_messageInfo_RawOutputDataConfig.DiscardUnknown(m) + +func (*RawOutputDataConfig) ProtoMessage() {} + +func (x *RawOutputDataConfig) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RawOutputDataConfig proto.InternalMessageInfo +// Deprecated: Use RawOutputDataConfig.ProtoReflect.Descriptor instead. +func (*RawOutputDataConfig) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{22} +} -func (m *RawOutputDataConfig) GetOutputLocationPrefix() string { - if m != nil { - return m.OutputLocationPrefix +func (x *RawOutputDataConfig) GetOutputLocationPrefix() string { + if x != nil { + return x.OutputLocationPrefix } return "" } // These URLs are returned as part of node and task execution data requests. type FlyteURLs struct { - Inputs string `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` - Outputs string `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` - Deck string `protobuf:"bytes,3,opt,name=deck,proto3" json:"deck,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FlyteURLs) Reset() { *m = FlyteURLs{} } -func (m *FlyteURLs) String() string { return proto.CompactTextString(m) } -func (*FlyteURLs) ProtoMessage() {} -func (*FlyteURLs) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{23} + Inputs string `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + Outputs string `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` + Deck string `protobuf:"bytes,3,opt,name=deck,proto3" json:"deck,omitempty"` } -func (m *FlyteURLs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FlyteURLs.Unmarshal(m, b) -} -func (m *FlyteURLs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FlyteURLs.Marshal(b, m, deterministic) -} -func (m *FlyteURLs) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlyteURLs.Merge(m, src) +func (x *FlyteURLs) Reset() { + *x = FlyteURLs{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_common_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FlyteURLs) XXX_Size() int { - return xxx_messageInfo_FlyteURLs.Size(m) + +func (x *FlyteURLs) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FlyteURLs) XXX_DiscardUnknown() { - xxx_messageInfo_FlyteURLs.DiscardUnknown(m) + +func (*FlyteURLs) ProtoMessage() {} + +func (x *FlyteURLs) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_common_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FlyteURLs proto.InternalMessageInfo +// Deprecated: Use FlyteURLs.ProtoReflect.Descriptor instead. +func (*FlyteURLs) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_common_proto_rawDescGZIP(), []int{23} +} -func (m *FlyteURLs) GetInputs() string { - if m != nil { - return m.Inputs +func (x *FlyteURLs) GetInputs() string { + if x != nil { + return x.Inputs } return "" } -func (m *FlyteURLs) GetOutputs() string { - if m != nil { - return m.Outputs +func (x *FlyteURLs) GetOutputs() string { + if x != nil { + return x.Outputs } return "" } -func (m *FlyteURLs) GetDeck() string { - if m != nil { - return m.Deck +func (x *FlyteURLs) GetDeck() string { + if x != nil { + return x.Deck } return "" } -func init() { - proto.RegisterEnum("flyteidl.admin.NamedEntityState", NamedEntityState_name, NamedEntityState_value) - proto.RegisterEnum("flyteidl.admin.Sort_Direction", Sort_Direction_name, Sort_Direction_value) - proto.RegisterType((*NamedEntityIdentifier)(nil), "flyteidl.admin.NamedEntityIdentifier") - proto.RegisterType((*NamedEntityMetadata)(nil), "flyteidl.admin.NamedEntityMetadata") - proto.RegisterType((*NamedEntity)(nil), "flyteidl.admin.NamedEntity") - proto.RegisterType((*Sort)(nil), "flyteidl.admin.Sort") - proto.RegisterType((*NamedEntityIdentifierListRequest)(nil), "flyteidl.admin.NamedEntityIdentifierListRequest") - proto.RegisterType((*NamedEntityListRequest)(nil), "flyteidl.admin.NamedEntityListRequest") - proto.RegisterType((*NamedEntityIdentifierList)(nil), "flyteidl.admin.NamedEntityIdentifierList") - proto.RegisterType((*NamedEntityList)(nil), "flyteidl.admin.NamedEntityList") - proto.RegisterType((*NamedEntityGetRequest)(nil), "flyteidl.admin.NamedEntityGetRequest") - proto.RegisterType((*NamedEntityUpdateRequest)(nil), "flyteidl.admin.NamedEntityUpdateRequest") - proto.RegisterType((*NamedEntityUpdateResponse)(nil), "flyteidl.admin.NamedEntityUpdateResponse") - proto.RegisterType((*ObjectGetRequest)(nil), "flyteidl.admin.ObjectGetRequest") - proto.RegisterType((*ResourceListRequest)(nil), "flyteidl.admin.ResourceListRequest") - proto.RegisterType((*EmailNotification)(nil), "flyteidl.admin.EmailNotification") - proto.RegisterType((*PagerDutyNotification)(nil), "flyteidl.admin.PagerDutyNotification") - proto.RegisterType((*SlackNotification)(nil), "flyteidl.admin.SlackNotification") - proto.RegisterType((*Notification)(nil), "flyteidl.admin.Notification") - proto.RegisterType((*UrlBlob)(nil), "flyteidl.admin.UrlBlob") - proto.RegisterType((*Labels)(nil), "flyteidl.admin.Labels") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.Labels.ValuesEntry") - proto.RegisterType((*Annotations)(nil), "flyteidl.admin.Annotations") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.Annotations.ValuesEntry") - proto.RegisterType((*Envs)(nil), "flyteidl.admin.Envs") - proto.RegisterType((*AuthRole)(nil), "flyteidl.admin.AuthRole") - proto.RegisterType((*RawOutputDataConfig)(nil), "flyteidl.admin.RawOutputDataConfig") - proto.RegisterType((*FlyteURLs)(nil), "flyteidl.admin.FlyteURLs") -} - -func init() { proto.RegisterFile("flyteidl/admin/common.proto", fileDescriptor_7c2cf612a185829c) } - -var fileDescriptor_7c2cf612a185829c = []byte{ - // 1207 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x5f, 0x73, 0xdb, 0x44, - 0x10, 0x8f, 0x1c, 0xc7, 0x89, 0x37, 0x6d, 0xea, 0x5e, 0xd2, 0xe2, 0x26, 0x50, 0x82, 0x18, 0xfe, - 0xb4, 0x43, 0xed, 0x99, 0x94, 0x02, 0xfd, 0x8f, 0x13, 0xab, 0x6d, 0xa6, 0xa9, 0x1b, 0xe4, 0xb4, - 0x4c, 0x19, 0x66, 0xc4, 0x59, 0x3a, 0xbb, 0x87, 0x25, 0x9d, 0xb8, 0x3b, 0xb5, 0x35, 0x2f, 0xcc, - 0xf0, 0xc6, 0x1b, 0x33, 0xf0, 0x85, 0x78, 0xe2, 0x0b, 0xf0, 0xc6, 0x97, 0x61, 0xee, 0x24, 0xd9, - 0xb2, 0xe2, 0x16, 0x92, 0x76, 0x86, 0xb7, 0xdb, 0xdb, 0xdd, 0xdb, 0xdf, 0xfe, 0x6e, 0x77, 0x75, - 0x82, 0x8d, 0xbe, 0x3f, 0x92, 0x84, 0x7a, 0x7e, 0x13, 0x7b, 0x01, 0x0d, 0x9b, 0x2e, 0x0b, 0x02, - 0x16, 0x36, 0x22, 0xce, 0x24, 0x43, 0x2b, 0x99, 0xb2, 0xa1, 0x95, 0xeb, 0xef, 0x8c, 0x8d, 0x5d, - 0xc6, 0x49, 0x93, 0xbc, 0x20, 0x6e, 0x2c, 0x69, 0x66, 0xbe, 0x7e, 0x7e, 0x5a, 0x4d, 0x3d, 0x12, - 0x4a, 0xda, 0xa7, 0x84, 0xa7, 0xfa, 0xb7, 0xa7, 0xf5, 0x3e, 0x95, 0x84, 0x63, 0x5f, 0xa4, 0xda, - 0x77, 0x07, 0x8c, 0x0d, 0x7c, 0xd2, 0xd4, 0x52, 0x2f, 0xee, 0x37, 0x25, 0x0d, 0x88, 0x90, 0x38, - 0x88, 0x12, 0x03, 0x93, 0xc1, 0x99, 0x0e, 0x0e, 0x88, 0x67, 0x85, 0x92, 0xca, 0xd1, 0xee, 0xf8, - 0x74, 0x54, 0x87, 0xc5, 0x88, 0xb3, 0xef, 0x89, 0x2b, 0xeb, 0xc6, 0xa6, 0xf1, 0x71, 0xd5, 0xce, - 0x44, 0x74, 0x16, 0x2a, 0x1e, 0x0b, 0x30, 0x0d, 0xeb, 0x25, 0xad, 0x48, 0x25, 0x84, 0xa0, 0x1c, - 0xe2, 0x80, 0xd4, 0xe7, 0xf5, 0xae, 0x5e, 0xa3, 0x1a, 0xcc, 0x33, 0x3e, 0xa8, 0x97, 0xf5, 0x96, - 0x5a, 0x9a, 0x0c, 0x56, 0x73, 0x01, 0x1f, 0x10, 0x89, 0x3d, 0x2c, 0x31, 0xda, 0x84, 0x65, 0x8f, - 0x08, 0x97, 0xd3, 0x48, 0xe5, 0x9e, 0x86, 0xcc, 0x6f, 0xa1, 0xcf, 0x60, 0x41, 0x48, 0x2c, 0x89, - 0x8e, 0xba, 0xb2, 0xb5, 0xd9, 0x98, 0xe6, 0xb1, 0x91, 0x3b, 0xb5, 0xab, 0xec, 0xec, 0xc4, 0xdc, - 0xfc, 0xd3, 0x80, 0xe5, 0x9c, 0x0e, 0x7d, 0x09, 0x27, 0x39, 0x11, 0x2c, 0xe6, 0x2e, 0x71, 0xe4, - 0x28, 0x22, 0x3a, 0xd6, 0xca, 0xd6, 0xc6, 0xe4, 0x3c, 0x45, 0x64, 0xc3, 0x4e, 0x6d, 0x0e, 0x46, - 0x11, 0xb1, 0x4f, 0xf0, 0x9c, 0x84, 0xae, 0x40, 0x89, 0x7a, 0x1a, 0xc6, 0xf2, 0xd6, 0x07, 0xaf, - 0x80, 0x31, 0x61, 0xd3, 0x2e, 0x51, 0x0f, 0xdd, 0x86, 0xa5, 0x20, 0x4d, 0x57, 0x73, 0xb4, 0xbc, - 0xf5, 0xfe, 0x2b, 0x9c, 0x33, 0x66, 0xec, 0xb1, 0x93, 0xf9, 0xb3, 0x01, 0xe5, 0x2e, 0xe3, 0x52, - 0xb1, 0x3a, 0x24, 0xa3, 0x94, 0x24, 0xb5, 0x44, 0x37, 0xa0, 0xea, 0x51, 0x4e, 0x5c, 0x4d, 0x5e, - 0x42, 0xd0, 0xf9, 0xe2, 0xe1, 0xca, 0xb5, 0xd1, 0xce, 0xac, 0xec, 0x89, 0x83, 0x79, 0x11, 0xaa, - 0xe3, 0x7d, 0xb4, 0x02, 0xd0, 0xb6, 0xba, 0x3b, 0x56, 0xa7, 0xbd, 0xdb, 0xb9, 0x5b, 0x9b, 0x43, - 0x27, 0xa1, 0xda, 0x1a, 0x8b, 0x86, 0xf9, 0xb7, 0x01, 0x9b, 0x33, 0x73, 0xdc, 0xa3, 0x42, 0xda, - 0xe4, 0x87, 0x98, 0x08, 0x79, 0x8c, 0xe2, 0x59, 0x83, 0x05, 0x9f, 0x06, 0x54, 0x6a, 0x66, 0x4e, - 0xda, 0x89, 0xa0, 0x76, 0x25, 0x1b, 0x92, 0x30, 0x2d, 0xa0, 0x44, 0x40, 0x97, 0x60, 0x51, 0x30, - 0x2e, 0x9d, 0xde, 0xa8, 0xbe, 0xa0, 0x79, 0x5c, 0x9b, 0x95, 0xaa, 0x5d, 0x51, 0x46, 0xdb, 0x23, - 0x05, 0xa6, 0x4f, 0x7d, 0x49, 0xb8, 0xa8, 0x57, 0x12, 0x30, 0xa9, 0x98, 0x55, 0xe7, 0xe2, 0xa4, - 0x3a, 0x7f, 0x2b, 0xc1, 0xd9, 0x5c, 0x76, 0xf9, 0x9c, 0x5e, 0xbf, 0x6e, 0x72, 0xac, 0x94, 0x5e, - 0xc6, 0xca, 0xfc, 0x6c, 0x56, 0xca, 0x33, 0x59, 0x59, 0x78, 0x09, 0x2b, 0x95, 0xa3, 0xb1, 0xb2, - 0x38, 0x93, 0x95, 0xa5, 0x09, 0x2b, 0x12, 0xce, 0xbd, 0xf4, 0xca, 0x51, 0x0b, 0x96, 0x94, 0x2c, - 0x29, 0x11, 0x75, 0x63, 0x73, 0xfe, 0xbf, 0xf7, 0xc4, 0xd8, 0x6d, 0x92, 0x50, 0x29, 0x97, 0x90, - 0xf9, 0x1d, 0x9c, 0x2a, 0x5c, 0x05, 0xfa, 0xfc, 0x50, 0xac, 0x8d, 0x57, 0xc4, 0xfa, 0xd7, 0x08, - 0xbf, 0x1a, 0x53, 0xd3, 0xef, 0x2e, 0x79, 0x83, 0x97, 0x7d, 0xbc, 0x21, 0x61, 0xfe, 0x65, 0x40, - 0x3d, 0xa7, 0x7d, 0x14, 0x79, 0x6a, 0x94, 0xfd, 0xcf, 0xa8, 0x5e, 0x7f, 0x74, 0x6d, 0x4c, 0x55, - 0x50, 0x96, 0x95, 0x88, 0x58, 0x28, 0x88, 0x79, 0x13, 0x6a, 0x0f, 0x7b, 0xaa, 0x0f, 0x72, 0x17, - 0x70, 0x41, 0x03, 0x35, 0x74, 0xac, 0x73, 0x85, 0xfc, 0x0a, 0x94, 0xfd, 0x61, 0xc0, 0x6a, 0x96, - 0x72, 0xbe, 0x61, 0xaf, 0xe4, 0x8e, 0x38, 0x42, 0xae, 0xe3, 0x9e, 0x2b, 0xcd, 0xec, 0xb9, 0xf9, - 0x7c, 0xcf, 0xe5, 0x9a, 0xa8, 0x3c, 0xdd, 0x44, 0x47, 0x9b, 0x51, 0xe6, 0x2d, 0x38, 0x6d, 0x05, - 0x98, 0xfa, 0x1d, 0xa6, 0x90, 0xb8, 0x58, 0x4f, 0xe2, 0x0b, 0x50, 0xe3, 0xc4, 0xa5, 0x11, 0x25, - 0xa1, 0x14, 0x0e, 0x51, 0x7a, 0x5d, 0xf5, 0x55, 0xfb, 0xd4, 0x64, 0x5f, 0xbb, 0x99, 0xdb, 0x70, - 0x66, 0x1f, 0x0f, 0x08, 0x6f, 0xc7, 0x72, 0x74, 0xdc, 0x33, 0x6e, 0xc1, 0xe9, 0xae, 0x8f, 0xdd, - 0xe1, 0x71, 0xfd, 0x7f, 0x2f, 0xc1, 0x89, 0x29, 0xdf, 0x5b, 0x50, 0x89, 0x9e, 0x62, 0x91, 0xf6, - 0xea, 0xca, 0xd6, 0x87, 0x85, 0x7b, 0xfc, 0x9a, 0xf1, 0x61, 0xdf, 0x67, 0xcf, 0xad, 0xf1, 0x93, - 0x67, 0x5f, 0x99, 0xdb, 0xa9, 0x17, 0xba, 0x0a, 0x0b, 0x49, 0xc0, 0xa4, 0x5e, 0xdf, 0x2b, 0x32, - 0x78, 0x88, 0xb1, 0x7b, 0x73, 0x76, 0xe2, 0x81, 0xee, 0x00, 0x44, 0x8a, 0x0f, 0xc7, 0x8b, 0xe5, - 0x28, 0x2d, 0xd9, 0x43, 0x35, 0x30, 0x93, 0xb1, 0x7b, 0x73, 0x76, 0x35, 0xca, 0x14, 0x0a, 0x82, - 0x50, 0x9c, 0xe8, 0xeb, 0x9d, 0x01, 0xe1, 0x10, 0x61, 0x0a, 0x82, 0xf6, 0xd8, 0xae, 0x40, 0x59, - 0xf5, 0xa8, 0x79, 0x05, 0x16, 0x1f, 0x71, 0x7f, 0xdb, 0x67, 0x3d, 0x35, 0x59, 0x63, 0xee, 0x67, - 0xdf, 0xed, 0x98, 0xfb, 0xaa, 0xac, 0x7a, 0x23, 0x49, 0x84, 0x4e, 0x71, 0xde, 0x4e, 0x84, 0x6b, - 0xa5, 0xba, 0x61, 0xfe, 0x04, 0x95, 0x3d, 0xdc, 0x23, 0xbe, 0x40, 0xd7, 0xa0, 0xf2, 0x0c, 0xfb, - 0xf1, 0x78, 0xe4, 0x99, 0x45, 0x10, 0x89, 0x5d, 0xe3, 0xb1, 0x36, 0xb2, 0x42, 0xc9, 0x47, 0x76, - 0xea, 0xb1, 0x7e, 0x15, 0x96, 0x73, 0xdb, 0x33, 0x1e, 0x0e, 0x6b, 0xb0, 0xa0, 0x4d, 0xb3, 0xc1, - 0xa8, 0x85, 0x6b, 0xa5, 0x2f, 0x0c, 0xf3, 0x17, 0x03, 0x96, 0x5b, 0x61, 0xc8, 0xa4, 0xce, 0x4b, - 0xa0, 0xdb, 0x05, 0x18, 0x1f, 0x15, 0x61, 0xe4, 0x8c, 0xdf, 0x34, 0x96, 0xeb, 0x50, 0xb6, 0xc2, - 0x67, 0x02, 0x5d, 0x2e, 0x60, 0x28, 0x4e, 0xbe, 0xfb, 0x64, 0xa4, 0x43, 0xec, 0x63, 0xca, 0xb3, - 0xb8, 0xe6, 0x8f, 0xb0, 0xd4, 0x8a, 0xe5, 0x53, 0x9b, 0xf9, 0x04, 0x7d, 0x02, 0x08, 0x0b, 0x11, - 0x07, 0xb8, 0xe7, 0x13, 0x87, 0xe2, 0xc0, 0xe1, 0xcc, 0x27, 0x29, 0x86, 0xda, 0x58, 0xb3, 0x8b, - 0x03, 0x6d, 0x7d, 0x03, 0xd6, 0x87, 0x71, 0x8f, 0xf0, 0x90, 0x48, 0x22, 0x1c, 0x41, 0xf8, 0x33, - 0xea, 0x12, 0x07, 0xbb, 0x2e, 0x8b, 0xc3, 0xec, 0x1b, 0x5e, 0x9f, 0x58, 0x74, 0x13, 0x83, 0x56, - 0xa2, 0xd7, 0xb7, 0x78, 0x1f, 0x56, 0x6d, 0xfc, 0xfc, 0x61, 0x2c, 0xa3, 0x58, 0xb6, 0xb1, 0xc4, - 0x3b, 0x2c, 0xec, 0xd3, 0x01, 0xfa, 0x14, 0xce, 0x32, 0xbd, 0xe7, 0xf8, 0x2c, 0xa9, 0x1b, 0x27, - 0xe2, 0xa4, 0x4f, 0x5f, 0xa4, 0x50, 0xd6, 0x12, 0xed, 0x5e, 0xaa, 0xdc, 0xd7, 0x3a, 0xf3, 0x2b, - 0xa8, 0xde, 0x51, 0xe9, 0x3e, 0xb2, 0xf7, 0x84, 0x7a, 0x32, 0xd0, 0x30, 0x8a, 0xa5, 0x48, 0x5d, - 0x52, 0x49, 0x8d, 0xa4, 0xc4, 0x59, 0x64, 0x8f, 0x8c, 0x54, 0x54, 0xef, 0x73, 0x8f, 0xb8, 0xc3, - 0xec, 0x7d, 0xae, 0xd6, 0x17, 0xbf, 0x85, 0x5a, 0xf1, 0xdd, 0x8c, 0xde, 0x82, 0xd5, 0x4e, 0xeb, - 0x81, 0xd5, 0x76, 0xac, 0xce, 0xc1, 0xee, 0xc1, 0x13, 0xa7, 0xb5, 0x73, 0xb0, 0xfb, 0xd8, 0xaa, - 0xcd, 0xa1, 0x73, 0x70, 0x66, 0x5a, 0x61, 0xef, 0xdc, 0xdb, 0x7d, 0x6c, 0xb5, 0x6b, 0x06, 0x5a, - 0x83, 0x5a, 0xf7, 0x49, 0xf7, 0xc0, 0x7a, 0xe0, 0xdc, 0xb5, 0x3a, 0x96, 0xdd, 0x3a, 0xb0, 0xda, - 0xb5, 0xd2, 0xf6, 0xcd, 0x6f, 0xae, 0x0f, 0xa8, 0x7c, 0x1a, 0xf7, 0x1a, 0x2e, 0x0b, 0x9a, 0xfa, - 0xaa, 0x18, 0x1f, 0x24, 0x8b, 0xe6, 0xf8, 0xbf, 0x65, 0x40, 0xc2, 0x66, 0xd4, 0xbb, 0x34, 0x60, - 0xcd, 0xe9, 0xdf, 0xa6, 0x5e, 0x45, 0xff, 0xa2, 0x5c, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0xa8, - 0x9c, 0xe3, 0x6a, 0x4f, 0x0d, 0x00, 0x00, +var File_flyteidl_admin_common_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_common_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1d, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6f, 0x0a, 0x15, 0x4e, + 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, + 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x6f, 0x0a, 0x13, + 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xc7, 0x01, + 0x0a, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x40, 0x0a, + 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x35, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, + 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x82, 0x01, 0x0a, 0x04, 0x53, 0x6f, 0x72, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x2e, 0x44, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x2a, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, + 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0d, 0x0a, + 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x22, 0xdb, 0x01, 0x0a, + 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, + 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x18, + 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x93, 0x02, 0x0a, 0x16, 0x4e, + 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, + 0x72, 0x74, 0x42, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, + 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, + 0x22, 0x74, 0x0a, 0x19, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x41, 0x0a, + 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x60, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, + 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x4e, 0x61, 0x6d, + 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd4, 0x01, 0x0a, 0x18, + 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x3f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x22, 0x1b, 0x0a, 0x19, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x3d, 0x0a, 0x10, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0xc1, + 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, + 0x42, 0x79, 0x22, 0x3e, 0x0a, 0x11, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x69, 0x70, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x22, 0x42, 0x0a, 0x15, 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, + 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x3e, 0x0a, 0x11, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, + 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x94, 0x02, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x68, 0x61, 0x73, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, + 0x06, 0x70, 0x68, 0x61, 0x73, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x64, 0x75, 0x74, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, + 0x79, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x6c, + 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x05, + 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x35, 0x0a, + 0x07, 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, + 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x3a, 0x02, 0x18, 0x01, 0x22, 0x7f, 0x0a, 0x06, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3a, + 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x89, 0x01, 0x0a, 0x0b, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x3b, 0x0a, 0x04, 0x45, 0x6e, 0x76, 0x73, 0x12, 0x33, 0x0a, 0x06, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x7a, + 0x0a, 0x08, 0x41, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, + 0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x61, 0x6d, 0x5f, 0x72, 0x6f, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, + 0x65, 0x49, 0x61, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x6b, 0x75, 0x62, 0x65, + 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x4b, 0x0a, 0x13, 0x52, 0x61, + 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x14, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x51, 0x0a, 0x09, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x55, 0x52, 0x4c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x63, 0x6b, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x63, 0x6b, 0x2a, 0x5c, 0x0a, 0x10, 0x4e, 0x61, + 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x17, + 0x0a, 0x13, 0x4e, 0x41, 0x4d, 0x45, 0x44, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x41, 0x4d, 0x45, 0x44, + 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, + 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x47, 0x45, 0x4e, + 0x45, 0x52, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x42, 0xb7, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, + 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, + 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_common_proto_rawDescOnce sync.Once + file_flyteidl_admin_common_proto_rawDescData = file_flyteidl_admin_common_proto_rawDesc +) + +func file_flyteidl_admin_common_proto_rawDescGZIP() []byte { + file_flyteidl_admin_common_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_common_proto_rawDescData) + }) + return file_flyteidl_admin_common_proto_rawDescData +} + +var file_flyteidl_admin_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_flyteidl_admin_common_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_flyteidl_admin_common_proto_goTypes = []interface{}{ + (NamedEntityState)(0), // 0: flyteidl.admin.NamedEntityState + (Sort_Direction)(0), // 1: flyteidl.admin.Sort.Direction + (*NamedEntityIdentifier)(nil), // 2: flyteidl.admin.NamedEntityIdentifier + (*NamedEntityMetadata)(nil), // 3: flyteidl.admin.NamedEntityMetadata + (*NamedEntity)(nil), // 4: flyteidl.admin.NamedEntity + (*Sort)(nil), // 5: flyteidl.admin.Sort + (*NamedEntityIdentifierListRequest)(nil), // 6: flyteidl.admin.NamedEntityIdentifierListRequest + (*NamedEntityListRequest)(nil), // 7: flyteidl.admin.NamedEntityListRequest + (*NamedEntityIdentifierList)(nil), // 8: flyteidl.admin.NamedEntityIdentifierList + (*NamedEntityList)(nil), // 9: flyteidl.admin.NamedEntityList + (*NamedEntityGetRequest)(nil), // 10: flyteidl.admin.NamedEntityGetRequest + (*NamedEntityUpdateRequest)(nil), // 11: flyteidl.admin.NamedEntityUpdateRequest + (*NamedEntityUpdateResponse)(nil), // 12: flyteidl.admin.NamedEntityUpdateResponse + (*ObjectGetRequest)(nil), // 13: flyteidl.admin.ObjectGetRequest + (*ResourceListRequest)(nil), // 14: flyteidl.admin.ResourceListRequest + (*EmailNotification)(nil), // 15: flyteidl.admin.EmailNotification + (*PagerDutyNotification)(nil), // 16: flyteidl.admin.PagerDutyNotification + (*SlackNotification)(nil), // 17: flyteidl.admin.SlackNotification + (*Notification)(nil), // 18: flyteidl.admin.Notification + (*UrlBlob)(nil), // 19: flyteidl.admin.UrlBlob + (*Labels)(nil), // 20: flyteidl.admin.Labels + (*Annotations)(nil), // 21: flyteidl.admin.Annotations + (*Envs)(nil), // 22: flyteidl.admin.Envs + (*AuthRole)(nil), // 23: flyteidl.admin.AuthRole + (*RawOutputDataConfig)(nil), // 24: flyteidl.admin.RawOutputDataConfig + (*FlyteURLs)(nil), // 25: flyteidl.admin.FlyteURLs + nil, // 26: flyteidl.admin.Labels.ValuesEntry + nil, // 27: flyteidl.admin.Annotations.ValuesEntry + (core.ResourceType)(0), // 28: flyteidl.core.ResourceType + (*core.Identifier)(nil), // 29: flyteidl.core.Identifier + (core.WorkflowExecution_Phase)(0), // 30: flyteidl.core.WorkflowExecution.Phase + (*core.KeyValuePair)(nil), // 31: flyteidl.core.KeyValuePair +} +var file_flyteidl_admin_common_proto_depIdxs = []int32{ + 0, // 0: flyteidl.admin.NamedEntityMetadata.state:type_name -> flyteidl.admin.NamedEntityState + 28, // 1: flyteidl.admin.NamedEntity.resource_type:type_name -> flyteidl.core.ResourceType + 2, // 2: flyteidl.admin.NamedEntity.id:type_name -> flyteidl.admin.NamedEntityIdentifier + 3, // 3: flyteidl.admin.NamedEntity.metadata:type_name -> flyteidl.admin.NamedEntityMetadata + 1, // 4: flyteidl.admin.Sort.direction:type_name -> flyteidl.admin.Sort.Direction + 5, // 5: flyteidl.admin.NamedEntityIdentifierListRequest.sort_by:type_name -> flyteidl.admin.Sort + 28, // 6: flyteidl.admin.NamedEntityListRequest.resource_type:type_name -> flyteidl.core.ResourceType + 5, // 7: flyteidl.admin.NamedEntityListRequest.sort_by:type_name -> flyteidl.admin.Sort + 2, // 8: flyteidl.admin.NamedEntityIdentifierList.entities:type_name -> flyteidl.admin.NamedEntityIdentifier + 4, // 9: flyteidl.admin.NamedEntityList.entities:type_name -> flyteidl.admin.NamedEntity + 28, // 10: flyteidl.admin.NamedEntityGetRequest.resource_type:type_name -> flyteidl.core.ResourceType + 2, // 11: flyteidl.admin.NamedEntityGetRequest.id:type_name -> flyteidl.admin.NamedEntityIdentifier + 28, // 12: flyteidl.admin.NamedEntityUpdateRequest.resource_type:type_name -> flyteidl.core.ResourceType + 2, // 13: flyteidl.admin.NamedEntityUpdateRequest.id:type_name -> flyteidl.admin.NamedEntityIdentifier + 3, // 14: flyteidl.admin.NamedEntityUpdateRequest.metadata:type_name -> flyteidl.admin.NamedEntityMetadata + 29, // 15: flyteidl.admin.ObjectGetRequest.id:type_name -> flyteidl.core.Identifier + 2, // 16: flyteidl.admin.ResourceListRequest.id:type_name -> flyteidl.admin.NamedEntityIdentifier + 5, // 17: flyteidl.admin.ResourceListRequest.sort_by:type_name -> flyteidl.admin.Sort + 30, // 18: flyteidl.admin.Notification.phases:type_name -> flyteidl.core.WorkflowExecution.Phase + 15, // 19: flyteidl.admin.Notification.email:type_name -> flyteidl.admin.EmailNotification + 16, // 20: flyteidl.admin.Notification.pager_duty:type_name -> flyteidl.admin.PagerDutyNotification + 17, // 21: flyteidl.admin.Notification.slack:type_name -> flyteidl.admin.SlackNotification + 26, // 22: flyteidl.admin.Labels.values:type_name -> flyteidl.admin.Labels.ValuesEntry + 27, // 23: flyteidl.admin.Annotations.values:type_name -> flyteidl.admin.Annotations.ValuesEntry + 31, // 24: flyteidl.admin.Envs.values:type_name -> flyteidl.core.KeyValuePair + 25, // [25:25] is the sub-list for method output_type + 25, // [25:25] is the sub-list for method input_type + 25, // [25:25] is the sub-list for extension type_name + 25, // [25:25] is the sub-list for extension extendee + 0, // [0:25] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_common_proto_init() } +func file_flyteidl_admin_common_proto_init() { + if File_flyteidl_admin_common_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Sort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityIdentifierListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityIdentifierList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedEntityUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmailNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PagerDutyNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SlackNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Notification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UrlBlob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Labels); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Envs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthRole); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawOutputDataConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_common_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlyteURLs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_common_proto_msgTypes[16].OneofWrappers = []interface{}{ + (*Notification_Email)(nil), + (*Notification_PagerDuty)(nil), + (*Notification_Slack)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_common_proto_rawDesc, + NumEnums: 2, + NumMessages: 26, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_common_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_common_proto_depIdxs, + EnumInfos: file_flyteidl_admin_common_proto_enumTypes, + MessageInfos: file_flyteidl_admin_common_proto_msgTypes, + }.Build() + File_flyteidl_admin_common_proto = out.File + file_flyteidl_admin_common_proto_rawDesc = nil + file_flyteidl_admin_common_proto_goTypes = nil + file_flyteidl_admin_common_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/common.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/common.swagger.json deleted file mode 100644 index 69acf06451..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/common.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/common.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go index 2b63707adf..22fe5db9f1 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.go @@ -1,25 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/description_entity.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // The format of the long description type DescriptionFormat int32 @@ -32,31 +32,56 @@ const ( DescriptionFormat_DESCRIPTION_FORMAT_RST DescriptionFormat = 3 ) -var DescriptionFormat_name = map[int32]string{ - 0: "DESCRIPTION_FORMAT_UNKNOWN", - 1: "DESCRIPTION_FORMAT_MARKDOWN", - 2: "DESCRIPTION_FORMAT_HTML", - 3: "DESCRIPTION_FORMAT_RST", -} +// Enum value maps for DescriptionFormat. +var ( + DescriptionFormat_name = map[int32]string{ + 0: "DESCRIPTION_FORMAT_UNKNOWN", + 1: "DESCRIPTION_FORMAT_MARKDOWN", + 2: "DESCRIPTION_FORMAT_HTML", + 3: "DESCRIPTION_FORMAT_RST", + } + DescriptionFormat_value = map[string]int32{ + "DESCRIPTION_FORMAT_UNKNOWN": 0, + "DESCRIPTION_FORMAT_MARKDOWN": 1, + "DESCRIPTION_FORMAT_HTML": 2, + "DESCRIPTION_FORMAT_RST": 3, + } +) -var DescriptionFormat_value = map[string]int32{ - "DESCRIPTION_FORMAT_UNKNOWN": 0, - "DESCRIPTION_FORMAT_MARKDOWN": 1, - "DESCRIPTION_FORMAT_HTML": 2, - "DESCRIPTION_FORMAT_RST": 3, +func (x DescriptionFormat) Enum() *DescriptionFormat { + p := new(DescriptionFormat) + *p = x + return p } func (x DescriptionFormat) String() string { - return proto.EnumName(DescriptionFormat_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (DescriptionFormat) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_description_entity_proto_enumTypes[0].Descriptor() +} + +func (DescriptionFormat) Type() protoreflect.EnumType { + return &file_flyteidl_admin_description_entity_proto_enumTypes[0] +} + +func (x DescriptionFormat) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DescriptionFormat.Descriptor instead. func (DescriptionFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2715f55631fe48ea, []int{0} + return file_flyteidl_admin_description_entity_proto_rawDescGZIP(), []int{0} } // DescriptionEntity contains detailed description for the task/workflow. // Documentation could provide insight into the algorithms, business use case, etc. type DescriptionEntity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the description entity. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // One-liner overview of the entity. @@ -67,68 +92,72 @@ type DescriptionEntity struct { SourceCode *SourceCode `protobuf:"bytes,4,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"` // User-specified tags. These are arbitrary and can be used for searching // filtering and discovering tasks. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *DescriptionEntity) Reset() { *m = DescriptionEntity{} } -func (m *DescriptionEntity) String() string { return proto.CompactTextString(m) } -func (*DescriptionEntity) ProtoMessage() {} -func (*DescriptionEntity) Descriptor() ([]byte, []int) { - return fileDescriptor_2715f55631fe48ea, []int{0} +func (x *DescriptionEntity) Reset() { + *x = DescriptionEntity{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DescriptionEntity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescriptionEntity.Unmarshal(m, b) -} -func (m *DescriptionEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescriptionEntity.Marshal(b, m, deterministic) -} -func (m *DescriptionEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescriptionEntity.Merge(m, src) -} -func (m *DescriptionEntity) XXX_Size() int { - return xxx_messageInfo_DescriptionEntity.Size(m) +func (x *DescriptionEntity) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DescriptionEntity) XXX_DiscardUnknown() { - xxx_messageInfo_DescriptionEntity.DiscardUnknown(m) + +func (*DescriptionEntity) ProtoMessage() {} + +func (x *DescriptionEntity) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DescriptionEntity proto.InternalMessageInfo +// Deprecated: Use DescriptionEntity.ProtoReflect.Descriptor instead. +func (*DescriptionEntity) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_description_entity_proto_rawDescGZIP(), []int{0} +} -func (m *DescriptionEntity) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *DescriptionEntity) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *DescriptionEntity) GetShortDescription() string { - if m != nil { - return m.ShortDescription +func (x *DescriptionEntity) GetShortDescription() string { + if x != nil { + return x.ShortDescription } return "" } -func (m *DescriptionEntity) GetLongDescription() *Description { - if m != nil { - return m.LongDescription +func (x *DescriptionEntity) GetLongDescription() *Description { + if x != nil { + return x.LongDescription } return nil } -func (m *DescriptionEntity) GetSourceCode() *SourceCode { - if m != nil { - return m.SourceCode +func (x *DescriptionEntity) GetSourceCode() *SourceCode { + if x != nil { + return x.SourceCode } return nil } -func (m *DescriptionEntity) GetTags() []string { - if m != nil { - return m.Tags +func (x *DescriptionEntity) GetTags() []string { + if x != nil { + return x.Tags } return nil } @@ -137,60 +166,53 @@ func (m *DescriptionEntity) GetTags() []string { // by clients, such as the console or command line tools with in-tact // formatting. type Description struct { - // Types that are valid to be assigned to Content: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Content: + // // *Description_Value // *Description_Uri Content isDescription_Content `protobuf_oneof:"content"` // Format of the long description Format DescriptionFormat `protobuf:"varint,3,opt,name=format,proto3,enum=flyteidl.admin.DescriptionFormat" json:"format,omitempty"` // Optional link to an icon for the entity - IconLink string `protobuf:"bytes,4,opt,name=icon_link,json=iconLink,proto3" json:"icon_link,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IconLink string `protobuf:"bytes,4,opt,name=icon_link,json=iconLink,proto3" json:"icon_link,omitempty"` } -func (m *Description) Reset() { *m = Description{} } -func (m *Description) String() string { return proto.CompactTextString(m) } -func (*Description) ProtoMessage() {} -func (*Description) Descriptor() ([]byte, []int) { - return fileDescriptor_2715f55631fe48ea, []int{1} +func (x *Description) Reset() { + *x = Description{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Description) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Description.Unmarshal(m, b) -} -func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Description.Marshal(b, m, deterministic) -} -func (m *Description) XXX_Merge(src proto.Message) { - xxx_messageInfo_Description.Merge(m, src) -} -func (m *Description) XXX_Size() int { - return xxx_messageInfo_Description.Size(m) -} -func (m *Description) XXX_DiscardUnknown() { - xxx_messageInfo_Description.DiscardUnknown(m) +func (x *Description) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Description proto.InternalMessageInfo +func (*Description) ProtoMessage() {} -type isDescription_Content interface { - isDescription_Content() -} - -type Description_Value struct { - Value string `protobuf:"bytes,1,opt,name=value,proto3,oneof"` +func (x *Description) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type Description_Uri struct { - Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` +// Deprecated: Use Description.ProtoReflect.Descriptor instead. +func (*Description) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_description_entity_proto_rawDescGZIP(), []int{1} } -func (*Description_Value) isDescription_Content() {} - -func (*Description_Uri) isDescription_Content() {} - func (m *Description) GetContent() isDescription_Content { if m != nil { return m.Content @@ -198,78 +220,97 @@ func (m *Description) GetContent() isDescription_Content { return nil } -func (m *Description) GetValue() string { - if x, ok := m.GetContent().(*Description_Value); ok { +func (x *Description) GetValue() string { + if x, ok := x.GetContent().(*Description_Value); ok { return x.Value } return "" } -func (m *Description) GetUri() string { - if x, ok := m.GetContent().(*Description_Uri); ok { +func (x *Description) GetUri() string { + if x, ok := x.GetContent().(*Description_Uri); ok { return x.Uri } return "" } -func (m *Description) GetFormat() DescriptionFormat { - if m != nil { - return m.Format +func (x *Description) GetFormat() DescriptionFormat { + if x != nil { + return x.Format } return DescriptionFormat_DESCRIPTION_FORMAT_UNKNOWN } -func (m *Description) GetIconLink() string { - if m != nil { - return m.IconLink +func (x *Description) GetIconLink() string { + if x != nil { + return x.IconLink } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Description) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Description_Value)(nil), - (*Description_Uri)(nil), - } +type isDescription_Content interface { + isDescription_Content() } -// Link to source code used to define this entity -type SourceCode struct { - Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type Description_Value struct { + // long description - no more than 4KB + Value string `protobuf:"bytes,1,opt,name=value,proto3,oneof"` } -func (m *SourceCode) Reset() { *m = SourceCode{} } -func (m *SourceCode) String() string { return proto.CompactTextString(m) } -func (*SourceCode) ProtoMessage() {} -func (*SourceCode) Descriptor() ([]byte, []int) { - return fileDescriptor_2715f55631fe48ea, []int{2} +type Description_Uri struct { + // if the description sizes exceed some threshold we can offload the entire + // description proto altogether to an external data store, like S3 rather than store inline in the db + Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` } -func (m *SourceCode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceCode.Unmarshal(m, b) -} -func (m *SourceCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceCode.Marshal(b, m, deterministic) +func (*Description_Value) isDescription_Content() {} + +func (*Description_Uri) isDescription_Content() {} + +// Link to source code used to define this entity +type SourceCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` } -func (m *SourceCode) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceCode.Merge(m, src) + +func (x *SourceCode) Reset() { + *x = SourceCode{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SourceCode) XXX_Size() int { - return xxx_messageInfo_SourceCode.Size(m) + +func (x *SourceCode) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SourceCode) XXX_DiscardUnknown() { - xxx_messageInfo_SourceCode.DiscardUnknown(m) + +func (*SourceCode) ProtoMessage() {} + +func (x *SourceCode) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SourceCode proto.InternalMessageInfo +// Deprecated: Use SourceCode.ProtoReflect.Descriptor instead. +func (*SourceCode) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_description_entity_proto_rawDescGZIP(), []int{2} +} -func (m *SourceCode) GetLink() string { - if m != nil { - return m.Link +func (x *SourceCode) GetLink() string { + if x != nil { + return x.Link } return "" } @@ -277,51 +318,59 @@ func (m *SourceCode) GetLink() string { // Represents a list of DescriptionEntities returned from the admin. // See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details type DescriptionEntityList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of DescriptionEntities returned based on the request. DescriptionEntities []*DescriptionEntity `protobuf:"bytes,1,rep,name=descriptionEntities,proto3" json:"descriptionEntities,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *DescriptionEntityList) Reset() { *m = DescriptionEntityList{} } -func (m *DescriptionEntityList) String() string { return proto.CompactTextString(m) } -func (*DescriptionEntityList) ProtoMessage() {} -func (*DescriptionEntityList) Descriptor() ([]byte, []int) { - return fileDescriptor_2715f55631fe48ea, []int{3} +func (x *DescriptionEntityList) Reset() { + *x = DescriptionEntityList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DescriptionEntityList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescriptionEntityList.Unmarshal(m, b) -} -func (m *DescriptionEntityList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescriptionEntityList.Marshal(b, m, deterministic) -} -func (m *DescriptionEntityList) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescriptionEntityList.Merge(m, src) +func (x *DescriptionEntityList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DescriptionEntityList) XXX_Size() int { - return xxx_messageInfo_DescriptionEntityList.Size(m) -} -func (m *DescriptionEntityList) XXX_DiscardUnknown() { - xxx_messageInfo_DescriptionEntityList.DiscardUnknown(m) + +func (*DescriptionEntityList) ProtoMessage() {} + +func (x *DescriptionEntityList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DescriptionEntityList proto.InternalMessageInfo +// Deprecated: Use DescriptionEntityList.ProtoReflect.Descriptor instead. +func (*DescriptionEntityList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_description_entity_proto_rawDescGZIP(), []int{3} +} -func (m *DescriptionEntityList) GetDescriptionEntities() []*DescriptionEntity { - if m != nil { - return m.DescriptionEntities +func (x *DescriptionEntityList) GetDescriptionEntities() []*DescriptionEntity { + if x != nil { + return x.DescriptionEntities } return nil } -func (m *DescriptionEntityList) GetToken() string { - if m != nil { - return m.Token +func (x *DescriptionEntityList) GetToken() string { + if x != nil { + return x.Token } return "" } @@ -329,6 +378,10 @@ func (m *DescriptionEntityList) GetToken() string { // Represents a request structure to retrieve a list of DescriptionEntities. // See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details type DescriptionEntityListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifies the specific type of resource that this identifier corresponds to. ResourceType core.ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.core.ResourceType" json:"resource_type,omitempty"` // The identifier for the description entity. @@ -347,130 +400,302 @@ type DescriptionEntityListRequest struct { Filters string `protobuf:"bytes,5,opt,name=filters,proto3" json:"filters,omitempty"` // Sort ordering for returned list. // +optional - SortBy *Sort `protobuf:"bytes,6,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SortBy *Sort `protobuf:"bytes,6,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` } -func (m *DescriptionEntityListRequest) Reset() { *m = DescriptionEntityListRequest{} } -func (m *DescriptionEntityListRequest) String() string { return proto.CompactTextString(m) } -func (*DescriptionEntityListRequest) ProtoMessage() {} -func (*DescriptionEntityListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2715f55631fe48ea, []int{4} +func (x *DescriptionEntityListRequest) Reset() { + *x = DescriptionEntityListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DescriptionEntityListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescriptionEntityListRequest.Unmarshal(m, b) +func (x *DescriptionEntityListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DescriptionEntityListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescriptionEntityListRequest.Marshal(b, m, deterministic) -} -func (m *DescriptionEntityListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescriptionEntityListRequest.Merge(m, src) -} -func (m *DescriptionEntityListRequest) XXX_Size() int { - return xxx_messageInfo_DescriptionEntityListRequest.Size(m) -} -func (m *DescriptionEntityListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DescriptionEntityListRequest.DiscardUnknown(m) + +func (*DescriptionEntityListRequest) ProtoMessage() {} + +func (x *DescriptionEntityListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_description_entity_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DescriptionEntityListRequest proto.InternalMessageInfo +// Deprecated: Use DescriptionEntityListRequest.ProtoReflect.Descriptor instead. +func (*DescriptionEntityListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_description_entity_proto_rawDescGZIP(), []int{4} +} -func (m *DescriptionEntityListRequest) GetResourceType() core.ResourceType { - if m != nil { - return m.ResourceType +func (x *DescriptionEntityListRequest) GetResourceType() core.ResourceType { + if x != nil { + return x.ResourceType } - return core.ResourceType_UNSPECIFIED + return core.ResourceType(0) } -func (m *DescriptionEntityListRequest) GetId() *NamedEntityIdentifier { - if m != nil { - return m.Id +func (x *DescriptionEntityListRequest) GetId() *NamedEntityIdentifier { + if x != nil { + return x.Id } return nil } -func (m *DescriptionEntityListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *DescriptionEntityListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *DescriptionEntityListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *DescriptionEntityListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *DescriptionEntityListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *DescriptionEntityListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *DescriptionEntityListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *DescriptionEntityListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } -func init() { - proto.RegisterEnum("flyteidl.admin.DescriptionFormat", DescriptionFormat_name, DescriptionFormat_value) - proto.RegisterType((*DescriptionEntity)(nil), "flyteidl.admin.DescriptionEntity") - proto.RegisterType((*Description)(nil), "flyteidl.admin.Description") - proto.RegisterType((*SourceCode)(nil), "flyteidl.admin.SourceCode") - proto.RegisterType((*DescriptionEntityList)(nil), "flyteidl.admin.DescriptionEntityList") - proto.RegisterType((*DescriptionEntityListRequest)(nil), "flyteidl.admin.DescriptionEntityListRequest") -} - -func init() { - proto.RegisterFile("flyteidl/admin/description_entity.proto", fileDescriptor_2715f55631fe48ea) -} - -var fileDescriptor_2715f55631fe48ea = []byte{ - // 600 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x5d, 0xd2, 0xb5, 0x23, 0xb7, 0x6c, 0x74, 0x66, 0x8c, 0xd0, 0xa2, 0x51, 0x2a, 0x21, 0x0a, - 0x68, 0x89, 0x34, 0xc4, 0x03, 0x9a, 0x90, 0xd8, 0x57, 0xd5, 0x6a, 0xfd, 0x40, 0x6e, 0x11, 0x12, - 0x2f, 0x51, 0x9b, 0xb8, 0x99, 0xd5, 0x24, 0x2e, 0x8e, 0x8b, 0x94, 0x57, 0xc4, 0x23, 0xfc, 0x03, - 0x7e, 0x2c, 0x8a, 0xdd, 0x76, 0x69, 0x57, 0xed, 0xcd, 0x37, 0xf7, 0xdc, 0x73, 0xef, 0xf1, 0xb9, - 0x31, 0xbc, 0x1e, 0x07, 0x89, 0x20, 0xd4, 0x0b, 0xec, 0xa1, 0x17, 0xd2, 0xc8, 0xf6, 0x48, 0xec, - 0x72, 0x3a, 0x15, 0x94, 0x45, 0x0e, 0x89, 0x04, 0x15, 0x89, 0x35, 0xe5, 0x4c, 0x30, 0xb4, 0xb7, - 0x00, 0x5a, 0x12, 0x58, 0x3e, 0x5a, 0x16, 0xba, 0x8c, 0x13, 0x9b, 0x7a, 0x29, 0x7a, 0x4c, 0x09, - 0x57, 0xf8, 0x72, 0x65, 0x8d, 0xd8, 0x65, 0x61, 0xc8, 0x22, 0x95, 0xac, 0xfd, 0xd6, 0x61, 0xff, - 0xf2, 0xb6, 0xd3, 0x95, 0x6c, 0x84, 0xde, 0x80, 0x4e, 0x3d, 0x53, 0xab, 0x6a, 0xf5, 0xe2, 0xc9, - 0x33, 0x6b, 0xd9, 0x2f, 0xe5, 0xb7, 0x5a, 0x4b, 0x7e, 0xac, 0x53, 0x0f, 0xbd, 0x83, 0xfd, 0xf8, - 0x86, 0x71, 0xe1, 0x64, 0xe6, 0x35, 0xf5, 0xaa, 0x56, 0x37, 0x70, 0x49, 0x26, 0x32, 0xec, 0xa8, - 0x01, 0xa5, 0x80, 0x45, 0xfe, 0x0a, 0x36, 0x27, 0xbb, 0x54, 0xac, 0x55, 0x55, 0x56, 0xa6, 0x0c, - 0x3f, 0x4a, 0x8b, 0xb2, 0x3c, 0xa7, 0x50, 0x8c, 0xd9, 0x8c, 0xbb, 0xc4, 0x71, 0x99, 0x47, 0xcc, - 0x6d, 0x49, 0x51, 0x5e, 0xa7, 0xe8, 0x4b, 0xc8, 0x05, 0xf3, 0x08, 0x86, 0x78, 0x79, 0x46, 0x08, - 0xb6, 0xc5, 0xd0, 0x8f, 0xcd, 0x7c, 0x35, 0x57, 0x37, 0xb0, 0x3c, 0xd7, 0xfe, 0x69, 0x50, 0xcc, - 0x36, 0x38, 0x84, 0xfc, 0xcf, 0x61, 0x30, 0x23, 0xf2, 0x0e, 0x8c, 0xe6, 0x16, 0x56, 0x21, 0x42, - 0x90, 0x9b, 0x71, 0xaa, 0xf4, 0x35, 0xb7, 0x70, 0x1a, 0xa0, 0x8f, 0x50, 0x18, 0x33, 0x1e, 0x0e, - 0x85, 0x94, 0xb2, 0x77, 0xf2, 0xf2, 0x1e, 0x29, 0x0d, 0x09, 0xc4, 0xf3, 0x02, 0x54, 0x01, 0x83, - 0xba, 0x2c, 0x72, 0x02, 0x1a, 0x4d, 0xa4, 0x0a, 0x03, 0x3f, 0x48, 0x3f, 0xb4, 0x69, 0x34, 0x39, - 0x37, 0x60, 0xc7, 0x65, 0x91, 0x20, 0x91, 0xa8, 0x55, 0x01, 0xfa, 0x2b, 0x02, 0x64, 0x81, 0x9c, - 0x0d, 0xcb, 0x73, 0xed, 0x97, 0x06, 0x4f, 0xee, 0xf8, 0xd8, 0xa6, 0xb1, 0x40, 0x7d, 0x78, 0xec, - 0xad, 0x25, 0x28, 0x89, 0x4d, 0xad, 0x9a, 0xab, 0x17, 0xef, 0x9d, 0x55, 0x71, 0xe0, 0x4d, 0xd5, - 0xe8, 0x00, 0xf2, 0x82, 0x4d, 0xc8, 0xc2, 0x69, 0x15, 0xd4, 0xfe, 0xe8, 0xf0, 0x7c, 0xe3, 0x10, - 0x98, 0xfc, 0x98, 0x91, 0x58, 0xa0, 0xcf, 0xb0, 0xcb, 0xc9, 0xdc, 0x39, 0x91, 0x4c, 0xd5, 0xf5, - 0xee, 0x65, 0xcd, 0x97, 0x2b, 0x86, 0xe7, 0x98, 0x41, 0x32, 0x25, 0xf8, 0x21, 0xcf, 0x44, 0xe8, - 0x83, 0xdc, 0x4c, 0x5d, 0x1a, 0xfe, 0x6a, 0x7d, 0xf8, 0xee, 0x30, 0x24, 0x9e, 0xea, 0xba, 0xb6, - 0xa5, 0x07, 0x90, 0x0f, 0x68, 0x48, 0x95, 0x45, 0xbb, 0x58, 0x05, 0xb7, 0x2a, 0xb6, 0x33, 0x2a, - 0x90, 0x09, 0x3b, 0x63, 0x1a, 0x08, 0xc2, 0xd3, 0x15, 0x49, 0xbf, 0x2f, 0x42, 0x74, 0x0c, 0x3b, - 0x71, 0xba, 0xea, 0xa3, 0xc4, 0x2c, 0xc8, 0x09, 0x0e, 0xee, 0xae, 0x1c, 0x17, 0xb8, 0x90, 0x82, - 0xce, 0x93, 0xb7, 0x7f, 0xb5, 0x95, 0x7f, 0x4b, 0x79, 0x8f, 0x8e, 0xa0, 0x7c, 0x79, 0xd5, 0xbf, - 0xc0, 0xad, 0x2f, 0x83, 0x56, 0xaf, 0xeb, 0x34, 0x7a, 0xb8, 0x73, 0x36, 0x70, 0xbe, 0x76, 0xaf, - 0xbb, 0xbd, 0x6f, 0xdd, 0xd2, 0x16, 0x7a, 0x01, 0x95, 0x0d, 0xf9, 0xce, 0x19, 0xbe, 0xbe, 0x4c, - 0x01, 0x1a, 0xaa, 0xc0, 0xd3, 0x0d, 0x80, 0xe6, 0xa0, 0xd3, 0x2e, 0xe9, 0xa8, 0x0c, 0x87, 0x1b, - 0x92, 0xb8, 0x3f, 0x28, 0xe5, 0xce, 0x3f, 0x7d, 0x3f, 0xf5, 0xa9, 0xb8, 0x99, 0x8d, 0x2c, 0x97, - 0x85, 0xb6, 0x9c, 0x9c, 0x71, 0x5f, 0x1d, 0xec, 0xe5, 0x23, 0xe1, 0x93, 0xc8, 0x9e, 0x8e, 0x8e, - 0x7d, 0x66, 0xaf, 0xbe, 0x1b, 0xa3, 0x82, 0x7c, 0x31, 0xde, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, - 0x01, 0x53, 0xea, 0xcd, 0xa9, 0x04, 0x00, 0x00, +var File_flyteidl_admin_description_entity_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_description_entity_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x68, 0x6f, 0x72, 0x74, + 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x10, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, + 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x9c, 0x01, + 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x39, 0x0a, 0x06, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x6e, + 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, + 0x6b, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x0a, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, + 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x82, + 0x01, 0x0a, 0x15, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x13, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x8c, 0x02, 0x0a, 0x1c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, + 0x42, 0x79, 0x2a, 0x8d, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x45, 0x53, 0x43, + 0x52, 0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, + 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x45, 0x53, 0x43, + 0x52, 0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x4d, + 0x41, 0x52, 0x4b, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x45, 0x53, + 0x43, 0x52, 0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, + 0x48, 0x54, 0x4d, 0x4c, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x45, 0x53, 0x43, 0x52, 0x49, + 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x52, 0x53, 0x54, + 0x10, 0x03, 0x42, 0xc2, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x16, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, + 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_description_entity_proto_rawDescOnce sync.Once + file_flyteidl_admin_description_entity_proto_rawDescData = file_flyteidl_admin_description_entity_proto_rawDesc +) + +func file_flyteidl_admin_description_entity_proto_rawDescGZIP() []byte { + file_flyteidl_admin_description_entity_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_description_entity_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_description_entity_proto_rawDescData) + }) + return file_flyteidl_admin_description_entity_proto_rawDescData +} + +var file_flyteidl_admin_description_entity_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_admin_description_entity_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_flyteidl_admin_description_entity_proto_goTypes = []interface{}{ + (DescriptionFormat)(0), // 0: flyteidl.admin.DescriptionFormat + (*DescriptionEntity)(nil), // 1: flyteidl.admin.DescriptionEntity + (*Description)(nil), // 2: flyteidl.admin.Description + (*SourceCode)(nil), // 3: flyteidl.admin.SourceCode + (*DescriptionEntityList)(nil), // 4: flyteidl.admin.DescriptionEntityList + (*DescriptionEntityListRequest)(nil), // 5: flyteidl.admin.DescriptionEntityListRequest + (*core.Identifier)(nil), // 6: flyteidl.core.Identifier + (core.ResourceType)(0), // 7: flyteidl.core.ResourceType + (*NamedEntityIdentifier)(nil), // 8: flyteidl.admin.NamedEntityIdentifier + (*Sort)(nil), // 9: flyteidl.admin.Sort +} +var file_flyteidl_admin_description_entity_proto_depIdxs = []int32{ + 6, // 0: flyteidl.admin.DescriptionEntity.id:type_name -> flyteidl.core.Identifier + 2, // 1: flyteidl.admin.DescriptionEntity.long_description:type_name -> flyteidl.admin.Description + 3, // 2: flyteidl.admin.DescriptionEntity.source_code:type_name -> flyteidl.admin.SourceCode + 0, // 3: flyteidl.admin.Description.format:type_name -> flyteidl.admin.DescriptionFormat + 1, // 4: flyteidl.admin.DescriptionEntityList.descriptionEntities:type_name -> flyteidl.admin.DescriptionEntity + 7, // 5: flyteidl.admin.DescriptionEntityListRequest.resource_type:type_name -> flyteidl.core.ResourceType + 8, // 6: flyteidl.admin.DescriptionEntityListRequest.id:type_name -> flyteidl.admin.NamedEntityIdentifier + 9, // 7: flyteidl.admin.DescriptionEntityListRequest.sort_by:type_name -> flyteidl.admin.Sort + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_description_entity_proto_init() } +func file_flyteidl_admin_description_entity_proto_init() { + if File_flyteidl_admin_description_entity_proto != nil { + return + } + file_flyteidl_admin_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_description_entity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DescriptionEntity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_description_entity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Description); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_description_entity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SourceCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_description_entity_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DescriptionEntityList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_description_entity_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DescriptionEntityListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_description_entity_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*Description_Value)(nil), + (*Description_Uri)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_description_entity_proto_rawDesc, + NumEnums: 1, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_description_entity_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_description_entity_proto_depIdxs, + EnumInfos: file_flyteidl_admin_description_entity_proto_enumTypes, + MessageInfos: file_flyteidl_admin_description_entity_proto_msgTypes, + }.Build() + File_flyteidl_admin_description_entity_proto = out.File + file_flyteidl_admin_description_entity_proto_rawDesc = nil + file_flyteidl_admin_description_entity_proto_goTypes = nil + file_flyteidl_admin_description_entity_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/description_entity.swagger.json deleted file mode 100644 index 78fb4c13d6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/description_entity.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go index d718496c80..1777ffeddf 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/event.pb.go @@ -1,65 +1,73 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/event.proto package admin import ( - fmt "fmt" event "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Indicates that a sent event was not used to update execution state due to // the referenced execution already being terminated (and therefore ineligible // for further state transitions). type EventErrorAlreadyInTerminalState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // +required - CurrentPhase string `protobuf:"bytes,1,opt,name=current_phase,json=currentPhase,proto3" json:"current_phase,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CurrentPhase string `protobuf:"bytes,1,opt,name=current_phase,json=currentPhase,proto3" json:"current_phase,omitempty"` } -func (m *EventErrorAlreadyInTerminalState) Reset() { *m = EventErrorAlreadyInTerminalState{} } -func (m *EventErrorAlreadyInTerminalState) String() string { return proto.CompactTextString(m) } -func (*EventErrorAlreadyInTerminalState) ProtoMessage() {} -func (*EventErrorAlreadyInTerminalState) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{0} +func (x *EventErrorAlreadyInTerminalState) Reset() { + *x = EventErrorAlreadyInTerminalState{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EventErrorAlreadyInTerminalState) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventErrorAlreadyInTerminalState.Unmarshal(m, b) +func (x *EventErrorAlreadyInTerminalState) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventErrorAlreadyInTerminalState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventErrorAlreadyInTerminalState.Marshal(b, m, deterministic) -} -func (m *EventErrorAlreadyInTerminalState) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventErrorAlreadyInTerminalState.Merge(m, src) -} -func (m *EventErrorAlreadyInTerminalState) XXX_Size() int { - return xxx_messageInfo_EventErrorAlreadyInTerminalState.Size(m) -} -func (m *EventErrorAlreadyInTerminalState) XXX_DiscardUnknown() { - xxx_messageInfo_EventErrorAlreadyInTerminalState.DiscardUnknown(m) + +func (*EventErrorAlreadyInTerminalState) ProtoMessage() {} + +func (x *EventErrorAlreadyInTerminalState) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EventErrorAlreadyInTerminalState proto.InternalMessageInfo +// Deprecated: Use EventErrorAlreadyInTerminalState.ProtoReflect.Descriptor instead. +func (*EventErrorAlreadyInTerminalState) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{0} +} -func (m *EventErrorAlreadyInTerminalState) GetCurrentPhase() string { - if m != nil { - return m.CurrentPhase +func (x *EventErrorAlreadyInTerminalState) GetCurrentPhase() string { + if x != nil { + return x.CurrentPhase } return "" } @@ -67,100 +75,101 @@ func (m *EventErrorAlreadyInTerminalState) GetCurrentPhase() string { // Indicates an event was rejected because it came from a different cluster than // is on record as running the execution. type EventErrorIncompatibleCluster struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The cluster which has been recorded as processing the execution. // +required - Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (m *EventErrorIncompatibleCluster) Reset() { *m = EventErrorIncompatibleCluster{} } -func (m *EventErrorIncompatibleCluster) String() string { return proto.CompactTextString(m) } -func (*EventErrorIncompatibleCluster) ProtoMessage() {} -func (*EventErrorIncompatibleCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{1} +func (x *EventErrorIncompatibleCluster) Reset() { + *x = EventErrorIncompatibleCluster{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EventErrorIncompatibleCluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventErrorIncompatibleCluster.Unmarshal(m, b) -} -func (m *EventErrorIncompatibleCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventErrorIncompatibleCluster.Marshal(b, m, deterministic) +func (x *EventErrorIncompatibleCluster) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventErrorIncompatibleCluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventErrorIncompatibleCluster.Merge(m, src) -} -func (m *EventErrorIncompatibleCluster) XXX_Size() int { - return xxx_messageInfo_EventErrorIncompatibleCluster.Size(m) -} -func (m *EventErrorIncompatibleCluster) XXX_DiscardUnknown() { - xxx_messageInfo_EventErrorIncompatibleCluster.DiscardUnknown(m) + +func (*EventErrorIncompatibleCluster) ProtoMessage() {} + +func (x *EventErrorIncompatibleCluster) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EventErrorIncompatibleCluster proto.InternalMessageInfo +// Deprecated: Use EventErrorIncompatibleCluster.ProtoReflect.Descriptor instead. +func (*EventErrorIncompatibleCluster) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{1} +} -func (m *EventErrorIncompatibleCluster) GetCluster() string { - if m != nil { - return m.Cluster +func (x *EventErrorIncompatibleCluster) GetCluster() string { + if x != nil { + return x.Cluster } return "" } // Indicates why a sent event was not used to update execution. type EventFailureReason struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // +required // - // Types that are valid to be assigned to Reason: + // Types that are assignable to Reason: + // // *EventFailureReason_AlreadyInTerminalState // *EventFailureReason_IncompatibleCluster - Reason isEventFailureReason_Reason `protobuf_oneof:"reason"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reason isEventFailureReason_Reason `protobuf_oneof:"reason"` } -func (m *EventFailureReason) Reset() { *m = EventFailureReason{} } -func (m *EventFailureReason) String() string { return proto.CompactTextString(m) } -func (*EventFailureReason) ProtoMessage() {} -func (*EventFailureReason) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{2} +func (x *EventFailureReason) Reset() { + *x = EventFailureReason{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EventFailureReason) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventFailureReason.Unmarshal(m, b) -} -func (m *EventFailureReason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventFailureReason.Marshal(b, m, deterministic) +func (x *EventFailureReason) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventFailureReason) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventFailureReason.Merge(m, src) -} -func (m *EventFailureReason) XXX_Size() int { - return xxx_messageInfo_EventFailureReason.Size(m) -} -func (m *EventFailureReason) XXX_DiscardUnknown() { - xxx_messageInfo_EventFailureReason.DiscardUnknown(m) -} - -var xxx_messageInfo_EventFailureReason proto.InternalMessageInfo -type isEventFailureReason_Reason interface { - isEventFailureReason_Reason() -} +func (*EventFailureReason) ProtoMessage() {} -type EventFailureReason_AlreadyInTerminalState struct { - AlreadyInTerminalState *EventErrorAlreadyInTerminalState `protobuf:"bytes,1,opt,name=already_in_terminal_state,json=alreadyInTerminalState,proto3,oneof"` +func (x *EventFailureReason) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type EventFailureReason_IncompatibleCluster struct { - IncompatibleCluster *EventErrorIncompatibleCluster `protobuf:"bytes,2,opt,name=incompatible_cluster,json=incompatibleCluster,proto3,oneof"` +// Deprecated: Use EventFailureReason.ProtoReflect.Descriptor instead. +func (*EventFailureReason) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{2} } -func (*EventFailureReason_AlreadyInTerminalState) isEventFailureReason_Reason() {} - -func (*EventFailureReason_IncompatibleCluster) isEventFailureReason_Reason() {} - func (m *EventFailureReason) GetReason() isEventFailureReason_Reason { if m != nil { return m.Reason @@ -168,311 +177,573 @@ func (m *EventFailureReason) GetReason() isEventFailureReason_Reason { return nil } -func (m *EventFailureReason) GetAlreadyInTerminalState() *EventErrorAlreadyInTerminalState { - if x, ok := m.GetReason().(*EventFailureReason_AlreadyInTerminalState); ok { +func (x *EventFailureReason) GetAlreadyInTerminalState() *EventErrorAlreadyInTerminalState { + if x, ok := x.GetReason().(*EventFailureReason_AlreadyInTerminalState); ok { return x.AlreadyInTerminalState } return nil } -func (m *EventFailureReason) GetIncompatibleCluster() *EventErrorIncompatibleCluster { - if x, ok := m.GetReason().(*EventFailureReason_IncompatibleCluster); ok { +func (x *EventFailureReason) GetIncompatibleCluster() *EventErrorIncompatibleCluster { + if x, ok := x.GetReason().(*EventFailureReason_IncompatibleCluster); ok { return x.IncompatibleCluster } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EventFailureReason) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EventFailureReason_AlreadyInTerminalState)(nil), - (*EventFailureReason_IncompatibleCluster)(nil), - } +type isEventFailureReason_Reason interface { + isEventFailureReason_Reason() } +type EventFailureReason_AlreadyInTerminalState struct { + AlreadyInTerminalState *EventErrorAlreadyInTerminalState `protobuf:"bytes,1,opt,name=already_in_terminal_state,json=alreadyInTerminalState,proto3,oneof"` +} + +type EventFailureReason_IncompatibleCluster struct { + IncompatibleCluster *EventErrorIncompatibleCluster `protobuf:"bytes,2,opt,name=incompatible_cluster,json=incompatibleCluster,proto3,oneof"` +} + +func (*EventFailureReason_AlreadyInTerminalState) isEventFailureReason_Reason() {} + +func (*EventFailureReason_IncompatibleCluster) isEventFailureReason_Reason() {} + // Request to send a notification that a workflow execution event has occurred. type WorkflowExecutionEventRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique ID for this request that can be traced between services RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Details about the event that occurred. - Event *event.WorkflowExecutionEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event *event.WorkflowExecutionEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` } -func (m *WorkflowExecutionEventRequest) Reset() { *m = WorkflowExecutionEventRequest{} } -func (m *WorkflowExecutionEventRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionEventRequest) ProtoMessage() {} -func (*WorkflowExecutionEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{3} +func (x *WorkflowExecutionEventRequest) Reset() { + *x = WorkflowExecutionEventRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionEventRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionEventRequest.Unmarshal(m, b) -} -func (m *WorkflowExecutionEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionEventRequest.Marshal(b, m, deterministic) -} -func (m *WorkflowExecutionEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionEventRequest.Merge(m, src) +func (x *WorkflowExecutionEventRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionEventRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionEventRequest.Size(m) -} -func (m *WorkflowExecutionEventRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionEventRequest.DiscardUnknown(m) + +func (*WorkflowExecutionEventRequest) ProtoMessage() {} + +func (x *WorkflowExecutionEventRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionEventRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionEventRequest.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionEventRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{3} +} -func (m *WorkflowExecutionEventRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *WorkflowExecutionEventRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *WorkflowExecutionEventRequest) GetEvent() *event.WorkflowExecutionEvent { - if m != nil { - return m.Event +func (x *WorkflowExecutionEventRequest) GetEvent() *event.WorkflowExecutionEvent { + if x != nil { + return x.Event } return nil } type WorkflowExecutionEventResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WorkflowExecutionEventResponse) Reset() { *m = WorkflowExecutionEventResponse{} } -func (m *WorkflowExecutionEventResponse) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionEventResponse) ProtoMessage() {} -func (*WorkflowExecutionEventResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{4} +func (x *WorkflowExecutionEventResponse) Reset() { + *x = WorkflowExecutionEventResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionEventResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionEventResponse.Unmarshal(m, b) -} -func (m *WorkflowExecutionEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionEventResponse.Marshal(b, m, deterministic) -} -func (m *WorkflowExecutionEventResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionEventResponse.Merge(m, src) +func (x *WorkflowExecutionEventResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionEventResponse) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionEventResponse.Size(m) -} -func (m *WorkflowExecutionEventResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionEventResponse.DiscardUnknown(m) + +func (*WorkflowExecutionEventResponse) ProtoMessage() {} + +func (x *WorkflowExecutionEventResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionEventResponse proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionEventResponse.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionEventResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{4} +} // Request to send a notification that a node execution event has occurred. type NodeExecutionEventRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique ID for this request that can be traced between services RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Details about the event that occurred. - Event *event.NodeExecutionEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event *event.NodeExecutionEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` } -func (m *NodeExecutionEventRequest) Reset() { *m = NodeExecutionEventRequest{} } -func (m *NodeExecutionEventRequest) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionEventRequest) ProtoMessage() {} -func (*NodeExecutionEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{5} +func (x *NodeExecutionEventRequest) Reset() { + *x = NodeExecutionEventRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionEventRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionEventRequest.Unmarshal(m, b) -} -func (m *NodeExecutionEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionEventRequest.Marshal(b, m, deterministic) -} -func (m *NodeExecutionEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionEventRequest.Merge(m, src) +func (x *NodeExecutionEventRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionEventRequest) XXX_Size() int { - return xxx_messageInfo_NodeExecutionEventRequest.Size(m) -} -func (m *NodeExecutionEventRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionEventRequest.DiscardUnknown(m) + +func (*NodeExecutionEventRequest) ProtoMessage() {} + +func (x *NodeExecutionEventRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionEventRequest proto.InternalMessageInfo +// Deprecated: Use NodeExecutionEventRequest.ProtoReflect.Descriptor instead. +func (*NodeExecutionEventRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{5} +} -func (m *NodeExecutionEventRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *NodeExecutionEventRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *NodeExecutionEventRequest) GetEvent() *event.NodeExecutionEvent { - if m != nil { - return m.Event +func (x *NodeExecutionEventRequest) GetEvent() *event.NodeExecutionEvent { + if x != nil { + return x.Event } return nil } type NodeExecutionEventResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *NodeExecutionEventResponse) Reset() { *m = NodeExecutionEventResponse{} } -func (m *NodeExecutionEventResponse) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionEventResponse) ProtoMessage() {} -func (*NodeExecutionEventResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{6} +func (x *NodeExecutionEventResponse) Reset() { + *x = NodeExecutionEventResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionEventResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionEventResponse.Unmarshal(m, b) -} -func (m *NodeExecutionEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionEventResponse.Marshal(b, m, deterministic) -} -func (m *NodeExecutionEventResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionEventResponse.Merge(m, src) +func (x *NodeExecutionEventResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionEventResponse) XXX_Size() int { - return xxx_messageInfo_NodeExecutionEventResponse.Size(m) -} -func (m *NodeExecutionEventResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionEventResponse.DiscardUnknown(m) + +func (*NodeExecutionEventResponse) ProtoMessage() {} + +func (x *NodeExecutionEventResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionEventResponse proto.InternalMessageInfo +// Deprecated: Use NodeExecutionEventResponse.ProtoReflect.Descriptor instead. +func (*NodeExecutionEventResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{6} +} // Request to send a notification that a task execution event has occurred. type TaskExecutionEventRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique ID for this request that can be traced between services RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Details about the event that occurred. - Event *event.TaskExecutionEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event *event.TaskExecutionEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` } -func (m *TaskExecutionEventRequest) Reset() { *m = TaskExecutionEventRequest{} } -func (m *TaskExecutionEventRequest) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionEventRequest) ProtoMessage() {} -func (*TaskExecutionEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{7} +func (x *TaskExecutionEventRequest) Reset() { + *x = TaskExecutionEventRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionEventRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionEventRequest.Unmarshal(m, b) +func (x *TaskExecutionEventRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionEventRequest.Marshal(b, m, deterministic) -} -func (m *TaskExecutionEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionEventRequest.Merge(m, src) -} -func (m *TaskExecutionEventRequest) XXX_Size() int { - return xxx_messageInfo_TaskExecutionEventRequest.Size(m) -} -func (m *TaskExecutionEventRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionEventRequest.DiscardUnknown(m) + +func (*TaskExecutionEventRequest) ProtoMessage() {} + +func (x *TaskExecutionEventRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionEventRequest proto.InternalMessageInfo +// Deprecated: Use TaskExecutionEventRequest.ProtoReflect.Descriptor instead. +func (*TaskExecutionEventRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{7} +} -func (m *TaskExecutionEventRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *TaskExecutionEventRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *TaskExecutionEventRequest) GetEvent() *event.TaskExecutionEvent { - if m != nil { - return m.Event +func (x *TaskExecutionEventRequest) GetEvent() *event.TaskExecutionEvent { + if x != nil { + return x.Event } return nil } type TaskExecutionEventResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *TaskExecutionEventResponse) Reset() { *m = TaskExecutionEventResponse{} } -func (m *TaskExecutionEventResponse) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionEventResponse) ProtoMessage() {} +func (x *TaskExecutionEventResponse) Reset() { + *x = TaskExecutionEventResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_event_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TaskExecutionEventResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TaskExecutionEventResponse) ProtoMessage() {} + +func (x *TaskExecutionEventResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_event_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TaskExecutionEventResponse.ProtoReflect.Descriptor instead. func (*TaskExecutionEventResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4581752dea61f248, []int{8} -} - -func (m *TaskExecutionEventResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionEventResponse.Unmarshal(m, b) -} -func (m *TaskExecutionEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionEventResponse.Marshal(b, m, deterministic) -} -func (m *TaskExecutionEventResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionEventResponse.Merge(m, src) -} -func (m *TaskExecutionEventResponse) XXX_Size() int { - return xxx_messageInfo_TaskExecutionEventResponse.Size(m) -} -func (m *TaskExecutionEventResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionEventResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TaskExecutionEventResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*EventErrorAlreadyInTerminalState)(nil), "flyteidl.admin.EventErrorAlreadyInTerminalState") - proto.RegisterType((*EventErrorIncompatibleCluster)(nil), "flyteidl.admin.EventErrorIncompatibleCluster") - proto.RegisterType((*EventFailureReason)(nil), "flyteidl.admin.EventFailureReason") - proto.RegisterType((*WorkflowExecutionEventRequest)(nil), "flyteidl.admin.WorkflowExecutionEventRequest") - proto.RegisterType((*WorkflowExecutionEventResponse)(nil), "flyteidl.admin.WorkflowExecutionEventResponse") - proto.RegisterType((*NodeExecutionEventRequest)(nil), "flyteidl.admin.NodeExecutionEventRequest") - proto.RegisterType((*NodeExecutionEventResponse)(nil), "flyteidl.admin.NodeExecutionEventResponse") - proto.RegisterType((*TaskExecutionEventRequest)(nil), "flyteidl.admin.TaskExecutionEventRequest") - proto.RegisterType((*TaskExecutionEventResponse)(nil), "flyteidl.admin.TaskExecutionEventResponse") -} - -func init() { proto.RegisterFile("flyteidl/admin/event.proto", fileDescriptor_4581752dea61f248) } - -var fileDescriptor_4581752dea61f248 = []byte{ - // 406 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xdf, 0x6b, 0xdb, 0x30, - 0x10, 0xc7, 0x93, 0xc1, 0xb2, 0xe5, 0xf6, 0xe3, 0xc1, 0x1b, 0x23, 0x09, 0xcb, 0x08, 0x1e, 0x8c, - 0xbd, 0xc4, 0x1e, 0xdb, 0xcb, 0x4a, 0xdb, 0x87, 0xa6, 0xa4, 0x4d, 0x5e, 0x4a, 0x71, 0x03, 0x85, - 0xbe, 0x18, 0xd9, 0xbe, 0x38, 0x22, 0xb2, 0xe4, 0x4a, 0x72, 0xdb, 0x40, 0xff, 0xe9, 0xfe, 0x07, - 0x25, 0xb2, 0x53, 0x27, 0xad, 0x43, 0xa1, 0xd0, 0xb7, 0xd3, 0xe9, 0xee, 0x7b, 0x9f, 0xaf, 0xc4, - 0x41, 0x67, 0xca, 0x16, 0x1a, 0x69, 0xc4, 0x5c, 0x12, 0x25, 0x94, 0xbb, 0x78, 0x85, 0x5c, 0x3b, - 0xa9, 0x14, 0x5a, 0x58, 0x9f, 0x57, 0x77, 0x8e, 0xb9, 0xeb, 0x94, 0xb5, 0xa6, 0x6a, 0xbd, 0xd6, - 0x3e, 0x86, 0xde, 0x70, 0x79, 0x1c, 0x4a, 0x29, 0xe4, 0x01, 0x93, 0x48, 0xa2, 0xc5, 0x98, 0x4f, - 0x50, 0x26, 0x94, 0x13, 0x76, 0xa6, 0x89, 0x46, 0xeb, 0x27, 0x7c, 0x0a, 0x33, 0x29, 0x91, 0x6b, - 0x3f, 0x9d, 0x11, 0x85, 0xad, 0x7a, 0xaf, 0xfe, 0xbb, 0xe9, 0x7d, 0x2c, 0x92, 0xa7, 0xcb, 0x9c, - 0xbd, 0x03, 0xdd, 0x52, 0x68, 0xcc, 0x43, 0x91, 0xa4, 0x44, 0xd3, 0x80, 0xe1, 0x21, 0xcb, 0x94, - 0x46, 0x69, 0xb5, 0xe0, 0x5d, 0x98, 0x87, 0x45, 0xff, 0xea, 0x68, 0xdf, 0xd5, 0xc1, 0x32, 0xbd, - 0x47, 0x84, 0xb2, 0x4c, 0xa2, 0x87, 0x44, 0x09, 0x6e, 0x25, 0xd0, 0x26, 0x39, 0x90, 0x4f, 0xb9, - 0xaf, 0x0b, 0x24, 0x5f, 0x2d, 0x99, 0x8c, 0xc4, 0x87, 0xbf, 0x7f, 0x9c, 0x4d, 0xab, 0xce, 0x73, - 0x5e, 0x46, 0x35, 0xef, 0x1b, 0xa9, 0x76, 0x19, 0xc0, 0x57, 0xba, 0x86, 0xed, 0xaf, 0x60, 0xdf, - 0x98, 0x49, 0xfd, 0xed, 0x93, 0x2a, 0xcc, 0x8e, 0x6a, 0xde, 0x17, 0xfa, 0x34, 0x3d, 0x78, 0x0f, - 0x0d, 0x69, 0xcc, 0xd9, 0xb7, 0xd0, 0x3d, 0x17, 0x72, 0x3e, 0x65, 0xe2, 0x7a, 0x78, 0x83, 0x61, - 0xa6, 0xa9, 0xe0, 0x46, 0xd2, 0xc3, 0xcb, 0x0c, 0x95, 0xb6, 0xba, 0x00, 0x32, 0x0f, 0x7d, 0x1a, - 0x15, 0x2f, 0xd6, 0x2c, 0x32, 0xe3, 0xc8, 0xda, 0x83, 0xb7, 0xe6, 0x1b, 0x0b, 0xbc, 0x5f, 0x25, - 0x5e, 0xfe, 0xbb, 0x5b, 0xc4, 0xf3, 0x26, 0xbb, 0x07, 0x3f, 0xb6, 0x4d, 0x57, 0xa9, 0xe0, 0x0a, - 0x6d, 0x0d, 0xed, 0x13, 0x11, 0xe1, 0x8b, 0xd8, 0xfe, 0x6f, 0xb2, 0xd9, 0x8f, 0xd9, 0x2a, 0x84, - 0x0b, 0xae, 0xef, 0xd0, 0xa9, 0x9a, 0x5a, 0x32, 0x4d, 0x88, 0x9a, 0xbf, 0x0a, 0x53, 0x85, 0x70, - 0xc9, 0x54, 0x35, 0x35, 0x67, 0x1a, 0xec, 0x5f, 0xec, 0xc6, 0x54, 0xcf, 0xb2, 0xc0, 0x09, 0x45, - 0xe2, 0x1a, 0x51, 0x21, 0xe3, 0x3c, 0x70, 0x1f, 0xf6, 0x2e, 0x46, 0xee, 0xa6, 0x41, 0x3f, 0x16, - 0xee, 0xe6, 0xda, 0x06, 0x0d, 0xb3, 0x85, 0xff, 0xee, 0x03, 0x00, 0x00, 0xff, 0xff, 0xea, 0x29, - 0x98, 0x7c, 0xcf, 0x03, 0x00, 0x00, + return file_flyteidl_admin_event_proto_rawDescGZIP(), []int{8} +} + +var File_flyteidl_admin_event_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_event_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1a, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x20, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x49, 0x6e, 0x54, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x68, 0x61, 0x73, + 0x65, 0x22, 0x39, 0x0a, 0x1d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, + 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0xf1, 0x01, 0x0a, + 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x12, 0x6d, 0x0a, 0x19, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x69, + 0x6e, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x49, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, + 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x16, 0x61, 0x6c, 0x72, 0x65, + 0x61, 0x64, 0x79, 0x49, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x62, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, + 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x63, 0x6f, + 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, + 0x00, 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x22, 0x7c, 0x0a, 0x1d, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, + 0x12, 0x3c, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x20, + 0x0a, 0x1e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x74, 0x0a, 0x19, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x05, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, + 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x74, 0x0a, 0x19, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, + 0x12, 0x38, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x54, 0x61, + 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xb6, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, + 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, + 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_event_proto_rawDescOnce sync.Once + file_flyteidl_admin_event_proto_rawDescData = file_flyteidl_admin_event_proto_rawDesc +) + +func file_flyteidl_admin_event_proto_rawDescGZIP() []byte { + file_flyteidl_admin_event_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_event_proto_rawDescData) + }) + return file_flyteidl_admin_event_proto_rawDescData +} + +var file_flyteidl_admin_event_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_flyteidl_admin_event_proto_goTypes = []interface{}{ + (*EventErrorAlreadyInTerminalState)(nil), // 0: flyteidl.admin.EventErrorAlreadyInTerminalState + (*EventErrorIncompatibleCluster)(nil), // 1: flyteidl.admin.EventErrorIncompatibleCluster + (*EventFailureReason)(nil), // 2: flyteidl.admin.EventFailureReason + (*WorkflowExecutionEventRequest)(nil), // 3: flyteidl.admin.WorkflowExecutionEventRequest + (*WorkflowExecutionEventResponse)(nil), // 4: flyteidl.admin.WorkflowExecutionEventResponse + (*NodeExecutionEventRequest)(nil), // 5: flyteidl.admin.NodeExecutionEventRequest + (*NodeExecutionEventResponse)(nil), // 6: flyteidl.admin.NodeExecutionEventResponse + (*TaskExecutionEventRequest)(nil), // 7: flyteidl.admin.TaskExecutionEventRequest + (*TaskExecutionEventResponse)(nil), // 8: flyteidl.admin.TaskExecutionEventResponse + (*event.WorkflowExecutionEvent)(nil), // 9: flyteidl.event.WorkflowExecutionEvent + (*event.NodeExecutionEvent)(nil), // 10: flyteidl.event.NodeExecutionEvent + (*event.TaskExecutionEvent)(nil), // 11: flyteidl.event.TaskExecutionEvent +} +var file_flyteidl_admin_event_proto_depIdxs = []int32{ + 0, // 0: flyteidl.admin.EventFailureReason.already_in_terminal_state:type_name -> flyteidl.admin.EventErrorAlreadyInTerminalState + 1, // 1: flyteidl.admin.EventFailureReason.incompatible_cluster:type_name -> flyteidl.admin.EventErrorIncompatibleCluster + 9, // 2: flyteidl.admin.WorkflowExecutionEventRequest.event:type_name -> flyteidl.event.WorkflowExecutionEvent + 10, // 3: flyteidl.admin.NodeExecutionEventRequest.event:type_name -> flyteidl.event.NodeExecutionEvent + 11, // 4: flyteidl.admin.TaskExecutionEventRequest.event:type_name -> flyteidl.event.TaskExecutionEvent + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_event_proto_init() } +func file_flyteidl_admin_event_proto_init() { + if File_flyteidl_admin_event_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventErrorAlreadyInTerminalState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventErrorIncompatibleCluster); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventFailureReason); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionEventRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionEventResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionEventRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionEventResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionEventRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_event_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionEventResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_event_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*EventFailureReason_AlreadyInTerminalState)(nil), + (*EventFailureReason_IncompatibleCluster)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_event_proto_rawDesc, + NumEnums: 0, + NumMessages: 9, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_event_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_event_proto_depIdxs, + MessageInfos: file_flyteidl_admin_event_proto_msgTypes, + }.Build() + File_flyteidl_admin_event_proto = out.File + file_flyteidl_admin_event_proto_rawDesc = nil + file_flyteidl_admin_event_proto_goTypes = nil + file_flyteidl_admin_event_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/event.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/event.swagger.json deleted file mode 100644 index aca0ee85d4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/event.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/event.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go index a77fcce08b..205ea0f303 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/execution.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // The state of the execution is used to control its visibility in the UI/CLI. type ExecutionState int32 @@ -34,22 +34,43 @@ const ( ExecutionState_EXECUTION_ARCHIVED ExecutionState = 1 ) -var ExecutionState_name = map[int32]string{ - 0: "EXECUTION_ACTIVE", - 1: "EXECUTION_ARCHIVED", -} +// Enum value maps for ExecutionState. +var ( + ExecutionState_name = map[int32]string{ + 0: "EXECUTION_ACTIVE", + 1: "EXECUTION_ARCHIVED", + } + ExecutionState_value = map[string]int32{ + "EXECUTION_ACTIVE": 0, + "EXECUTION_ARCHIVED": 1, + } +) -var ExecutionState_value = map[string]int32{ - "EXECUTION_ACTIVE": 0, - "EXECUTION_ARCHIVED": 1, +func (x ExecutionState) Enum() *ExecutionState { + p := new(ExecutionState) + *p = x + return p } func (x ExecutionState) String() string { - return proto.EnumName(ExecutionState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecutionState) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_execution_proto_enumTypes[0].Descriptor() +} + +func (ExecutionState) Type() protoreflect.EnumType { + return &file_flyteidl_admin_execution_proto_enumTypes[0] +} + +func (x ExecutionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ExecutionState.Descriptor instead. func (ExecutionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{0} + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{0} } // The method by which this execution was launched. @@ -70,34 +91,59 @@ const ( ExecutionMetadata_RECOVERED ExecutionMetadata_ExecutionMode = 5 ) -var ExecutionMetadata_ExecutionMode_name = map[int32]string{ - 0: "MANUAL", - 1: "SCHEDULED", - 2: "SYSTEM", - 3: "RELAUNCH", - 4: "CHILD_WORKFLOW", - 5: "RECOVERED", -} +// Enum value maps for ExecutionMetadata_ExecutionMode. +var ( + ExecutionMetadata_ExecutionMode_name = map[int32]string{ + 0: "MANUAL", + 1: "SCHEDULED", + 2: "SYSTEM", + 3: "RELAUNCH", + 4: "CHILD_WORKFLOW", + 5: "RECOVERED", + } + ExecutionMetadata_ExecutionMode_value = map[string]int32{ + "MANUAL": 0, + "SCHEDULED": 1, + "SYSTEM": 2, + "RELAUNCH": 3, + "CHILD_WORKFLOW": 4, + "RECOVERED": 5, + } +) -var ExecutionMetadata_ExecutionMode_value = map[string]int32{ - "MANUAL": 0, - "SCHEDULED": 1, - "SYSTEM": 2, - "RELAUNCH": 3, - "CHILD_WORKFLOW": 4, - "RECOVERED": 5, +func (x ExecutionMetadata_ExecutionMode) Enum() *ExecutionMetadata_ExecutionMode { + p := new(ExecutionMetadata_ExecutionMode) + *p = x + return p } func (x ExecutionMetadata_ExecutionMode) String() string { - return proto.EnumName(ExecutionMetadata_ExecutionMode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ExecutionMetadata_ExecutionMode) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_execution_proto_enumTypes[1].Descriptor() +} + +func (ExecutionMetadata_ExecutionMode) Type() protoreflect.EnumType { + return &file_flyteidl_admin_execution_proto_enumTypes[1] +} + +func (x ExecutionMetadata_ExecutionMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecutionMetadata_ExecutionMode.Descriptor instead. func (ExecutionMetadata_ExecutionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{11, 0} + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{11, 0} } // Request to launch an execution with the given project, domain and optionally-assigned name. type ExecutionCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the project the execution belongs to. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -117,81 +163,89 @@ type ExecutionCreateRequest struct { // +optional Inputs *core.LiteralMap `protobuf:"bytes,5,opt,name=inputs,proto3" json:"inputs,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ExecutionCreateRequest) Reset() { *m = ExecutionCreateRequest{} } -func (m *ExecutionCreateRequest) String() string { return proto.CompactTextString(m) } -func (*ExecutionCreateRequest) ProtoMessage() {} -func (*ExecutionCreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{0} +func (x *ExecutionCreateRequest) Reset() { + *x = ExecutionCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionCreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionCreateRequest.Unmarshal(m, b) -} -func (m *ExecutionCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionCreateRequest.Marshal(b, m, deterministic) -} -func (m *ExecutionCreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionCreateRequest.Merge(m, src) -} -func (m *ExecutionCreateRequest) XXX_Size() int { - return xxx_messageInfo_ExecutionCreateRequest.Size(m) +func (x *ExecutionCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionCreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionCreateRequest.DiscardUnknown(m) + +func (*ExecutionCreateRequest) ProtoMessage() {} + +func (x *ExecutionCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionCreateRequest proto.InternalMessageInfo +// Deprecated: Use ExecutionCreateRequest.ProtoReflect.Descriptor instead. +func (*ExecutionCreateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{0} +} -func (m *ExecutionCreateRequest) GetProject() string { - if m != nil { - return m.Project +func (x *ExecutionCreateRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ExecutionCreateRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *ExecutionCreateRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *ExecutionCreateRequest) GetName() string { - if m != nil { - return m.Name +func (x *ExecutionCreateRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ExecutionCreateRequest) GetSpec() *ExecutionSpec { - if m != nil { - return m.Spec +func (x *ExecutionCreateRequest) GetSpec() *ExecutionSpec { + if x != nil { + return x.Spec } return nil } -func (m *ExecutionCreateRequest) GetInputs() *core.LiteralMap { - if m != nil { - return m.Inputs +func (x *ExecutionCreateRequest) GetInputs() *core.LiteralMap { + if x != nil { + return x.Inputs } return nil } -func (m *ExecutionCreateRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ExecutionCreateRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } // Request to relaunch the referenced execution. type ExecutionRelaunchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifier of the workflow execution to relaunch. // +required Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -202,60 +256,68 @@ type ExecutionRelaunchRequest struct { // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. - OverwriteCache bool `protobuf:"varint,4,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OverwriteCache bool `protobuf:"varint,4,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` } -func (m *ExecutionRelaunchRequest) Reset() { *m = ExecutionRelaunchRequest{} } -func (m *ExecutionRelaunchRequest) String() string { return proto.CompactTextString(m) } -func (*ExecutionRelaunchRequest) ProtoMessage() {} -func (*ExecutionRelaunchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{1} +func (x *ExecutionRelaunchRequest) Reset() { + *x = ExecutionRelaunchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionRelaunchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionRelaunchRequest.Unmarshal(m, b) -} -func (m *ExecutionRelaunchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionRelaunchRequest.Marshal(b, m, deterministic) -} -func (m *ExecutionRelaunchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionRelaunchRequest.Merge(m, src) +func (x *ExecutionRelaunchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionRelaunchRequest) XXX_Size() int { - return xxx_messageInfo_ExecutionRelaunchRequest.Size(m) -} -func (m *ExecutionRelaunchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionRelaunchRequest.DiscardUnknown(m) + +func (*ExecutionRelaunchRequest) ProtoMessage() {} + +func (x *ExecutionRelaunchRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionRelaunchRequest proto.InternalMessageInfo +// Deprecated: Use ExecutionRelaunchRequest.ProtoReflect.Descriptor instead. +func (*ExecutionRelaunchRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{1} +} -func (m *ExecutionRelaunchRequest) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *ExecutionRelaunchRequest) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *ExecutionRelaunchRequest) GetName() string { - if m != nil { - return m.Name +func (x *ExecutionRelaunchRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ExecutionRelaunchRequest) GetOverwriteCache() bool { - if m != nil { - return m.OverwriteCache +func (x *ExecutionRelaunchRequest) GetOverwriteCache() bool { + if x != nil { + return x.OverwriteCache } return false } // Request to recover the referenced execution. type ExecutionRecoverRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifier of the workflow execution to recover. Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User provided value for the recovered execution. @@ -263,54 +325,58 @@ type ExecutionRecoverRequest struct { // +optional Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. - Metadata *ExecutionMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata *ExecutionMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *ExecutionRecoverRequest) Reset() { *m = ExecutionRecoverRequest{} } -func (m *ExecutionRecoverRequest) String() string { return proto.CompactTextString(m) } -func (*ExecutionRecoverRequest) ProtoMessage() {} -func (*ExecutionRecoverRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{2} +func (x *ExecutionRecoverRequest) Reset() { + *x = ExecutionRecoverRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionRecoverRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionRecoverRequest.Unmarshal(m, b) -} -func (m *ExecutionRecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionRecoverRequest.Marshal(b, m, deterministic) -} -func (m *ExecutionRecoverRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionRecoverRequest.Merge(m, src) -} -func (m *ExecutionRecoverRequest) XXX_Size() int { - return xxx_messageInfo_ExecutionRecoverRequest.Size(m) +func (x *ExecutionRecoverRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionRecoverRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionRecoverRequest.DiscardUnknown(m) + +func (*ExecutionRecoverRequest) ProtoMessage() {} + +func (x *ExecutionRecoverRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionRecoverRequest proto.InternalMessageInfo +// Deprecated: Use ExecutionRecoverRequest.ProtoReflect.Descriptor instead. +func (*ExecutionRecoverRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{2} +} -func (m *ExecutionRecoverRequest) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *ExecutionRecoverRequest) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *ExecutionRecoverRequest) GetName() string { - if m != nil { - return m.Name +func (x *ExecutionRecoverRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ExecutionRecoverRequest) GetMetadata() *ExecutionMetadata { - if m != nil { - return m.Metadata +func (x *ExecutionRecoverRequest) GetMetadata() *ExecutionMetadata { + if x != nil { + return x.Metadata } return nil } @@ -318,40 +384,48 @@ func (m *ExecutionRecoverRequest) GetMetadata() *ExecutionMetadata { // The unique identifier for a successfully created execution. // If the name was *not* specified in the create request, this identifier will include a generated name. type ExecutionCreateResponse struct { - Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ExecutionCreateResponse) Reset() { *m = ExecutionCreateResponse{} } -func (m *ExecutionCreateResponse) String() string { return proto.CompactTextString(m) } -func (*ExecutionCreateResponse) ProtoMessage() {} -func (*ExecutionCreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{3} + Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *ExecutionCreateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionCreateResponse.Unmarshal(m, b) -} -func (m *ExecutionCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionCreateResponse.Marshal(b, m, deterministic) -} -func (m *ExecutionCreateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionCreateResponse.Merge(m, src) +func (x *ExecutionCreateResponse) Reset() { + *x = ExecutionCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionCreateResponse) XXX_Size() int { - return xxx_messageInfo_ExecutionCreateResponse.Size(m) + +func (x *ExecutionCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionCreateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionCreateResponse.DiscardUnknown(m) + +func (*ExecutionCreateResponse) ProtoMessage() {} + +func (x *ExecutionCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionCreateResponse proto.InternalMessageInfo +// Deprecated: Use ExecutionCreateResponse.ProtoReflect.Descriptor instead. +func (*ExecutionCreateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{3} +} -func (m *ExecutionCreateResponse) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *ExecutionCreateResponse) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } @@ -359,41 +433,49 @@ func (m *ExecutionCreateResponse) GetId() *core.WorkflowExecutionIdentifier { // A message used to fetch a single workflow execution entity. // See :ref:`ref_flyteidl.admin.Execution` for more details type WorkflowExecutionGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Uniquely identifies an individual workflow execution. - Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *WorkflowExecutionGetRequest) Reset() { *m = WorkflowExecutionGetRequest{} } -func (m *WorkflowExecutionGetRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionGetRequest) ProtoMessage() {} -func (*WorkflowExecutionGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{4} +func (x *WorkflowExecutionGetRequest) Reset() { + *x = WorkflowExecutionGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionGetRequest.Unmarshal(m, b) -} -func (m *WorkflowExecutionGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionGetRequest.Marshal(b, m, deterministic) -} -func (m *WorkflowExecutionGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionGetRequest.Merge(m, src) -} -func (m *WorkflowExecutionGetRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionGetRequest.Size(m) +func (x *WorkflowExecutionGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionGetRequest.DiscardUnknown(m) + +func (*WorkflowExecutionGetRequest) ProtoMessage() {} + +func (x *WorkflowExecutionGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionGetRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionGetRequest.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{4} +} -func (m *WorkflowExecutionGetRequest) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *WorkflowExecutionGetRequest) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } @@ -402,59 +484,67 @@ func (m *WorkflowExecutionGetRequest) GetId() *core.WorkflowExecutionIdentifier // metadata as well as computed results included state, outputs, and duration-based attributes. // Used as a response object used in Get and List execution requests. type Execution struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique identifier of the workflow execution. Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User-provided configuration and inputs for launching the execution. Spec *ExecutionSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // Execution results. - Closure *ExecutionClosure `protobuf:"bytes,3,opt,name=closure,proto3" json:"closure,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Closure *ExecutionClosure `protobuf:"bytes,3,opt,name=closure,proto3" json:"closure,omitempty"` } -func (m *Execution) Reset() { *m = Execution{} } -func (m *Execution) String() string { return proto.CompactTextString(m) } -func (*Execution) ProtoMessage() {} -func (*Execution) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{5} +func (x *Execution) Reset() { + *x = Execution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Execution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Execution.Unmarshal(m, b) -} -func (m *Execution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Execution.Marshal(b, m, deterministic) -} -func (m *Execution) XXX_Merge(src proto.Message) { - xxx_messageInfo_Execution.Merge(m, src) -} -func (m *Execution) XXX_Size() int { - return xxx_messageInfo_Execution.Size(m) +func (x *Execution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Execution) XXX_DiscardUnknown() { - xxx_messageInfo_Execution.DiscardUnknown(m) + +func (*Execution) ProtoMessage() {} + +func (x *Execution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Execution proto.InternalMessageInfo +// Deprecated: Use Execution.ProtoReflect.Descriptor instead. +func (*Execution) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{5} +} -func (m *Execution) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *Execution) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *Execution) GetSpec() *ExecutionSpec { - if m != nil { - return m.Spec +func (x *Execution) GetSpec() *ExecutionSpec { + if x != nil { + return x.Spec } return nil } -func (m *Execution) GetClosure() *ExecutionClosure { - if m != nil { - return m.Closure +func (x *Execution) GetClosure() *ExecutionClosure { + if x != nil { + return x.Closure } return nil } @@ -462,106 +552,107 @@ func (m *Execution) GetClosure() *ExecutionClosure { // Used as a response for request to list executions. // See :ref:`ref_flyteidl.admin.Execution` for more details type ExecutionList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Executions []*Execution `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *ExecutionList) Reset() { *m = ExecutionList{} } -func (m *ExecutionList) String() string { return proto.CompactTextString(m) } -func (*ExecutionList) ProtoMessage() {} -func (*ExecutionList) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{6} +func (x *ExecutionList) Reset() { + *x = ExecutionList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionList.Unmarshal(m, b) -} -func (m *ExecutionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionList.Marshal(b, m, deterministic) +func (x *ExecutionList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionList) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionList.Merge(m, src) -} -func (m *ExecutionList) XXX_Size() int { - return xxx_messageInfo_ExecutionList.Size(m) -} -func (m *ExecutionList) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionList.DiscardUnknown(m) + +func (*ExecutionList) ProtoMessage() {} + +func (x *ExecutionList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionList proto.InternalMessageInfo +// Deprecated: Use ExecutionList.ProtoReflect.Descriptor instead. +func (*ExecutionList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{6} +} -func (m *ExecutionList) GetExecutions() []*Execution { - if m != nil { - return m.Executions +func (x *ExecutionList) GetExecutions() []*Execution { + if x != nil { + return x.Executions } return nil } -func (m *ExecutionList) GetToken() string { - if m != nil { - return m.Token +func (x *ExecutionList) GetToken() string { + if x != nil { + return x.Token } return "" } // Input/output data can represented by actual values or a link to where values are stored type LiteralMapBlob struct { - // Types that are valid to be assigned to Data: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Data: + // // *LiteralMapBlob_Values // *LiteralMapBlob_Uri - Data isLiteralMapBlob_Data `protobuf_oneof:"data"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data isLiteralMapBlob_Data `protobuf_oneof:"data"` } -func (m *LiteralMapBlob) Reset() { *m = LiteralMapBlob{} } -func (m *LiteralMapBlob) String() string { return proto.CompactTextString(m) } -func (*LiteralMapBlob) ProtoMessage() {} -func (*LiteralMapBlob) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{7} +func (x *LiteralMapBlob) Reset() { + *x = LiteralMapBlob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LiteralMapBlob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LiteralMapBlob.Unmarshal(m, b) -} -func (m *LiteralMapBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LiteralMapBlob.Marshal(b, m, deterministic) -} -func (m *LiteralMapBlob) XXX_Merge(src proto.Message) { - xxx_messageInfo_LiteralMapBlob.Merge(m, src) -} -func (m *LiteralMapBlob) XXX_Size() int { - return xxx_messageInfo_LiteralMapBlob.Size(m) -} -func (m *LiteralMapBlob) XXX_DiscardUnknown() { - xxx_messageInfo_LiteralMapBlob.DiscardUnknown(m) +func (x *LiteralMapBlob) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_LiteralMapBlob proto.InternalMessageInfo - -type isLiteralMapBlob_Data interface { - isLiteralMapBlob_Data() -} +func (*LiteralMapBlob) ProtoMessage() {} -type LiteralMapBlob_Values struct { - Values *core.LiteralMap `protobuf:"bytes,1,opt,name=values,proto3,oneof"` +func (x *LiteralMapBlob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type LiteralMapBlob_Uri struct { - Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` +// Deprecated: Use LiteralMapBlob.ProtoReflect.Descriptor instead. +func (*LiteralMapBlob) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{7} } -func (*LiteralMapBlob_Values) isLiteralMapBlob_Data() {} - -func (*LiteralMapBlob_Uri) isLiteralMapBlob_Data() {} - func (m *LiteralMapBlob) GetData() isLiteralMapBlob_Data { if m != nil { return m.Data @@ -569,85 +660,110 @@ func (m *LiteralMapBlob) GetData() isLiteralMapBlob_Data { return nil } -// Deprecated: Do not use. -func (m *LiteralMapBlob) GetValues() *core.LiteralMap { - if x, ok := m.GetData().(*LiteralMapBlob_Values); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *LiteralMapBlob) GetValues() *core.LiteralMap { + if x, ok := x.GetData().(*LiteralMapBlob_Values); ok { return x.Values } return nil } -func (m *LiteralMapBlob) GetUri() string { - if x, ok := m.GetData().(*LiteralMapBlob_Uri); ok { +func (x *LiteralMapBlob) GetUri() string { + if x, ok := x.GetData().(*LiteralMapBlob_Uri); ok { return x.Uri } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LiteralMapBlob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LiteralMapBlob_Values)(nil), - (*LiteralMapBlob_Uri)(nil), - } +type isLiteralMapBlob_Data interface { + isLiteralMapBlob_Data() +} + +type LiteralMapBlob_Values struct { + // Data in LiteralMap format + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + Values *core.LiteralMap `protobuf:"bytes,1,opt,name=values,proto3,oneof"` +} + +type LiteralMapBlob_Uri struct { + // In the event that the map is too large, we return a uri to the data + Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` } +func (*LiteralMapBlob_Values) isLiteralMapBlob_Data() {} + +func (*LiteralMapBlob_Uri) isLiteralMapBlob_Data() {} + // Specifies metadata around an aborted workflow execution. type AbortMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // In the case of a user-specified abort, this will pass along the user-supplied cause. Cause string `protobuf:"bytes,1,opt,name=cause,proto3" json:"cause,omitempty"` // Identifies the entity (if any) responsible for terminating the execution - Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` } -func (m *AbortMetadata) Reset() { *m = AbortMetadata{} } -func (m *AbortMetadata) String() string { return proto.CompactTextString(m) } -func (*AbortMetadata) ProtoMessage() {} -func (*AbortMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{8} +func (x *AbortMetadata) Reset() { + *x = AbortMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AbortMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AbortMetadata.Unmarshal(m, b) -} -func (m *AbortMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AbortMetadata.Marshal(b, m, deterministic) -} -func (m *AbortMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbortMetadata.Merge(m, src) +func (x *AbortMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AbortMetadata) XXX_Size() int { - return xxx_messageInfo_AbortMetadata.Size(m) -} -func (m *AbortMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_AbortMetadata.DiscardUnknown(m) + +func (*AbortMetadata) ProtoMessage() {} + +func (x *AbortMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AbortMetadata proto.InternalMessageInfo +// Deprecated: Use AbortMetadata.ProtoReflect.Descriptor instead. +func (*AbortMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{8} +} -func (m *AbortMetadata) GetCause() string { - if m != nil { - return m.Cause +func (x *AbortMetadata) GetCause() string { + if x != nil { + return x.Cause } return "" } -func (m *AbortMetadata) GetPrincipal() string { - if m != nil { - return m.Principal +func (x *AbortMetadata) GetPrincipal() string { + if x != nil { + return x.Principal } return "" } // Encapsulates the results of the Execution type ExecutionClosure struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A result produced by a terminated execution. // A pending (non-terminal) execution will not have any output result. // - // Types that are valid to be assigned to OutputResult: + // Types that are assignable to OutputResult: + // // *ExecutionClosure_Outputs // *ExecutionClosure_Error // *ExecutionClosure_AbortCause @@ -656,17 +772,19 @@ type ExecutionClosure struct { OutputResult isExecutionClosure_OutputResult `protobuf_oneof:"output_result"` // Inputs computed and passed for execution. // computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan - ComputedInputs *core.LiteralMap `protobuf:"bytes,3,opt,name=computed_inputs,json=computedInputs,proto3" json:"computed_inputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + ComputedInputs *core.LiteralMap `protobuf:"bytes,3,opt,name=computed_inputs,json=computedInputs,proto3" json:"computed_inputs,omitempty"` // Most recent recorded phase for the execution. Phase core.WorkflowExecution_Phase `protobuf:"varint,4,opt,name=phase,proto3,enum=flyteidl.core.WorkflowExecution_Phase" json:"phase,omitempty"` // Reported time at which the execution began running. - StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // The amount of time the execution spent running. - Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` // Reported time at which the execution was created. - CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Reported time at which the execution was last updated. - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The notification settings to use after merging the CreateExecutionRequest and the launch plan // notification settings. An execution launched with notifications will always prefer that definition // to notifications defined statically in a launch plan. @@ -674,71 +792,41 @@ type ExecutionClosure struct { // Identifies the workflow definition for this execution. WorkflowId *core.Identifier `protobuf:"bytes,11,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // Provides the details of the last stage change - StateChangeDetails *ExecutionStateChangeDetails `protobuf:"bytes,14,opt,name=state_change_details,json=stateChangeDetails,proto3" json:"state_change_details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecutionClosure) Reset() { *m = ExecutionClosure{} } -func (m *ExecutionClosure) String() string { return proto.CompactTextString(m) } -func (*ExecutionClosure) ProtoMessage() {} -func (*ExecutionClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{9} -} - -func (m *ExecutionClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionClosure.Unmarshal(m, b) -} -func (m *ExecutionClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionClosure.Marshal(b, m, deterministic) -} -func (m *ExecutionClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionClosure.Merge(m, src) -} -func (m *ExecutionClosure) XXX_Size() int { - return xxx_messageInfo_ExecutionClosure.Size(m) -} -func (m *ExecutionClosure) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionClosure.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecutionClosure proto.InternalMessageInfo - -type isExecutionClosure_OutputResult interface { - isExecutionClosure_OutputResult() + StateChangeDetails *ExecutionStateChangeDetails `protobuf:"bytes,14,opt,name=state_change_details,json=stateChangeDetails,proto3" json:"state_change_details,omitempty"` } -type ExecutionClosure_Outputs struct { - Outputs *LiteralMapBlob `protobuf:"bytes,1,opt,name=outputs,proto3,oneof"` +func (x *ExecutionClosure) Reset() { + *x = ExecutionClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type ExecutionClosure_Error struct { - Error *core.ExecutionError `protobuf:"bytes,2,opt,name=error,proto3,oneof"` +func (x *ExecutionClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -type ExecutionClosure_AbortCause struct { - AbortCause string `protobuf:"bytes,10,opt,name=abort_cause,json=abortCause,proto3,oneof"` -} +func (*ExecutionClosure) ProtoMessage() {} -type ExecutionClosure_AbortMetadata struct { - AbortMetadata *AbortMetadata `protobuf:"bytes,12,opt,name=abort_metadata,json=abortMetadata,proto3,oneof"` +func (x *ExecutionClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type ExecutionClosure_OutputData struct { - OutputData *core.LiteralMap `protobuf:"bytes,13,opt,name=output_data,json=outputData,proto3,oneof"` +// Deprecated: Use ExecutionClosure.ProtoReflect.Descriptor instead. +func (*ExecutionClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{9} } -func (*ExecutionClosure_Outputs) isExecutionClosure_OutputResult() {} - -func (*ExecutionClosure_Error) isExecutionClosure_OutputResult() {} - -func (*ExecutionClosure_AbortCause) isExecutionClosure_OutputResult() {} - -func (*ExecutionClosure_AbortMetadata) isExecutionClosure_OutputResult() {} - -func (*ExecutionClosure_OutputData) isExecutionClosure_OutputResult() {} - func (m *ExecutionClosure) GetOutputResult() isExecutionClosure_OutputResult { if m != nil { return m.OutputResult @@ -746,165 +834,209 @@ func (m *ExecutionClosure) GetOutputResult() isExecutionClosure_OutputResult { return nil } -// Deprecated: Do not use. -func (m *ExecutionClosure) GetOutputs() *LiteralMapBlob { - if x, ok := m.GetOutputResult().(*ExecutionClosure_Outputs); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *ExecutionClosure) GetOutputs() *LiteralMapBlob { + if x, ok := x.GetOutputResult().(*ExecutionClosure_Outputs); ok { return x.Outputs } return nil } -func (m *ExecutionClosure) GetError() *core.ExecutionError { - if x, ok := m.GetOutputResult().(*ExecutionClosure_Error); ok { +func (x *ExecutionClosure) GetError() *core.ExecutionError { + if x, ok := x.GetOutputResult().(*ExecutionClosure_Error); ok { return x.Error } return nil } -// Deprecated: Do not use. -func (m *ExecutionClosure) GetAbortCause() string { - if x, ok := m.GetOutputResult().(*ExecutionClosure_AbortCause); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *ExecutionClosure) GetAbortCause() string { + if x, ok := x.GetOutputResult().(*ExecutionClosure_AbortCause); ok { return x.AbortCause } return "" } -func (m *ExecutionClosure) GetAbortMetadata() *AbortMetadata { - if x, ok := m.GetOutputResult().(*ExecutionClosure_AbortMetadata); ok { +func (x *ExecutionClosure) GetAbortMetadata() *AbortMetadata { + if x, ok := x.GetOutputResult().(*ExecutionClosure_AbortMetadata); ok { return x.AbortMetadata } return nil } -// Deprecated: Do not use. -func (m *ExecutionClosure) GetOutputData() *core.LiteralMap { - if x, ok := m.GetOutputResult().(*ExecutionClosure_OutputData); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *ExecutionClosure) GetOutputData() *core.LiteralMap { + if x, ok := x.GetOutputResult().(*ExecutionClosure_OutputData); ok { return x.OutputData } return nil } -// Deprecated: Do not use. -func (m *ExecutionClosure) GetComputedInputs() *core.LiteralMap { - if m != nil { - return m.ComputedInputs +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *ExecutionClosure) GetComputedInputs() *core.LiteralMap { + if x != nil { + return x.ComputedInputs } return nil } -func (m *ExecutionClosure) GetPhase() core.WorkflowExecution_Phase { - if m != nil { - return m.Phase +func (x *ExecutionClosure) GetPhase() core.WorkflowExecution_Phase { + if x != nil { + return x.Phase } - return core.WorkflowExecution_UNDEFINED + return core.WorkflowExecution_Phase(0) } -func (m *ExecutionClosure) GetStartedAt() *timestamp.Timestamp { - if m != nil { - return m.StartedAt +func (x *ExecutionClosure) GetStartedAt() *timestamppb.Timestamp { + if x != nil { + return x.StartedAt } return nil } -func (m *ExecutionClosure) GetDuration() *duration.Duration { - if m != nil { - return m.Duration +func (x *ExecutionClosure) GetDuration() *durationpb.Duration { + if x != nil { + return x.Duration } return nil } -func (m *ExecutionClosure) GetCreatedAt() *timestamp.Timestamp { - if m != nil { - return m.CreatedAt +func (x *ExecutionClosure) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt } return nil } -func (m *ExecutionClosure) GetUpdatedAt() *timestamp.Timestamp { - if m != nil { - return m.UpdatedAt +func (x *ExecutionClosure) GetUpdatedAt() *timestamppb.Timestamp { + if x != nil { + return x.UpdatedAt } return nil } -func (m *ExecutionClosure) GetNotifications() []*Notification { - if m != nil { - return m.Notifications +func (x *ExecutionClosure) GetNotifications() []*Notification { + if x != nil { + return x.Notifications } return nil } -func (m *ExecutionClosure) GetWorkflowId() *core.Identifier { - if m != nil { - return m.WorkflowId +func (x *ExecutionClosure) GetWorkflowId() *core.Identifier { + if x != nil { + return x.WorkflowId } return nil } -func (m *ExecutionClosure) GetStateChangeDetails() *ExecutionStateChangeDetails { - if m != nil { - return m.StateChangeDetails +func (x *ExecutionClosure) GetStateChangeDetails() *ExecutionStateChangeDetails { + if x != nil { + return x.StateChangeDetails } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExecutionClosure) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExecutionClosure_Outputs)(nil), - (*ExecutionClosure_Error)(nil), - (*ExecutionClosure_AbortCause)(nil), - (*ExecutionClosure_AbortMetadata)(nil), - (*ExecutionClosure_OutputData)(nil), - } +type isExecutionClosure_OutputResult interface { + isExecutionClosure_OutputResult() +} + +type ExecutionClosure_Outputs struct { + // Output URI in the case of a successful execution. + // DEPRECATED. Use GetExecutionData to fetch output data instead. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + Outputs *LiteralMapBlob `protobuf:"bytes,1,opt,name=outputs,proto3,oneof"` +} + +type ExecutionClosure_Error struct { + // Error information in the case of a failed execution. + Error *core.ExecutionError `protobuf:"bytes,2,opt,name=error,proto3,oneof"` +} + +type ExecutionClosure_AbortCause struct { + // In the case of a user-specified abort, this will pass along the user-supplied cause. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + AbortCause string `protobuf:"bytes,10,opt,name=abort_cause,json=abortCause,proto3,oneof"` +} + +type ExecutionClosure_AbortMetadata struct { + // In the case of a user-specified abort, this will pass along the user and their supplied cause. + AbortMetadata *AbortMetadata `protobuf:"bytes,12,opt,name=abort_metadata,json=abortMetadata,proto3,oneof"` } +type ExecutionClosure_OutputData struct { + // Raw output data produced by this execution. + // DEPRECATED. Use GetExecutionData to fetch output data instead. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + OutputData *core.LiteralMap `protobuf:"bytes,13,opt,name=output_data,json=outputData,proto3,oneof"` +} + +func (*ExecutionClosure_Outputs) isExecutionClosure_OutputResult() {} + +func (*ExecutionClosure_Error) isExecutionClosure_OutputResult() {} + +func (*ExecutionClosure_AbortCause) isExecutionClosure_OutputResult() {} + +func (*ExecutionClosure_AbortMetadata) isExecutionClosure_OutputResult() {} + +func (*ExecutionClosure_OutputData) isExecutionClosure_OutputResult() {} + // Represents system, rather than user-facing, metadata about an execution. type SystemMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Which execution cluster this execution ran on. ExecutionCluster string `protobuf:"bytes,1,opt,name=execution_cluster,json=executionCluster,proto3" json:"execution_cluster,omitempty"` // Which kubernetes namespace the execution ran under. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *SystemMetadata) Reset() { *m = SystemMetadata{} } -func (m *SystemMetadata) String() string { return proto.CompactTextString(m) } -func (*SystemMetadata) ProtoMessage() {} -func (*SystemMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{10} +func (x *SystemMetadata) Reset() { + *x = SystemMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SystemMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemMetadata.Unmarshal(m, b) -} -func (m *SystemMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemMetadata.Marshal(b, m, deterministic) -} -func (m *SystemMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemMetadata.Merge(m, src) +func (x *SystemMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SystemMetadata) XXX_Size() int { - return xxx_messageInfo_SystemMetadata.Size(m) -} -func (m *SystemMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_SystemMetadata.DiscardUnknown(m) + +func (*SystemMetadata) ProtoMessage() {} + +func (x *SystemMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SystemMetadata proto.InternalMessageInfo +// Deprecated: Use SystemMetadata.ProtoReflect.Descriptor instead. +func (*SystemMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{10} +} -func (m *SystemMetadata) GetExecutionCluster() string { - if m != nil { - return m.ExecutionCluster +func (x *SystemMetadata) GetExecutionCluster() string { + if x != nil { + return x.ExecutionCluster } return "" } -func (m *SystemMetadata) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *SystemMetadata) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } @@ -912,6 +1044,10 @@ func (m *SystemMetadata) GetNamespace() string { // Represents attributes about an execution which are not required to launch the execution but are useful to record. // These attributes are assigned at launch time and do not change. type ExecutionMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Mode ExecutionMetadata_ExecutionMode `protobuf:"varint,1,opt,name=mode,proto3,enum=flyteidl.admin.ExecutionMetadata_ExecutionMode" json:"mode,omitempty"` // Identifier of the entity that triggered this execution. // For systems using back-end authentication any value set here will be discarded in favor of the @@ -924,7 +1060,7 @@ type ExecutionMetadata struct { // nesting = k + 1. Nesting uint32 `protobuf:"varint,3,opt,name=nesting,proto3" json:"nesting,omitempty"` // For scheduled executions, the requested time for execution for this specific schedule invocation. - ScheduledAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` + ScheduledAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` // Which subworkflow node (if any) launched this execution ParentNodeExecution *core.NodeExecutionIdentifier `protobuf:"bytes,5,opt,name=parent_node_execution,json=parentNodeExecution,proto3" json:"parent_node_execution,omitempty"` // Optional, a reference workflow execution related to this execution. @@ -935,128 +1071,140 @@ type ExecutionMetadata struct { SystemMetadata *SystemMetadata `protobuf:"bytes,17,opt,name=system_metadata,json=systemMetadata,proto3" json:"system_metadata,omitempty"` // Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping // since we don't have a structure to handle nested ones anyways. - ArtifactIds []*core.ArtifactID `protobuf:"bytes,18,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ArtifactIds []*core.ArtifactID `protobuf:"bytes,18,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` } -func (m *ExecutionMetadata) Reset() { *m = ExecutionMetadata{} } -func (m *ExecutionMetadata) String() string { return proto.CompactTextString(m) } -func (*ExecutionMetadata) ProtoMessage() {} -func (*ExecutionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{11} +func (x *ExecutionMetadata) Reset() { + *x = ExecutionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionMetadata.Unmarshal(m, b) -} -func (m *ExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionMetadata.Marshal(b, m, deterministic) +func (x *ExecutionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionMetadata.Merge(m, src) -} -func (m *ExecutionMetadata) XXX_Size() int { - return xxx_messageInfo_ExecutionMetadata.Size(m) -} -func (m *ExecutionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionMetadata.DiscardUnknown(m) + +func (*ExecutionMetadata) ProtoMessage() {} + +func (x *ExecutionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionMetadata proto.InternalMessageInfo +// Deprecated: Use ExecutionMetadata.ProtoReflect.Descriptor instead. +func (*ExecutionMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{11} +} -func (m *ExecutionMetadata) GetMode() ExecutionMetadata_ExecutionMode { - if m != nil { - return m.Mode +func (x *ExecutionMetadata) GetMode() ExecutionMetadata_ExecutionMode { + if x != nil { + return x.Mode } return ExecutionMetadata_MANUAL } -func (m *ExecutionMetadata) GetPrincipal() string { - if m != nil { - return m.Principal +func (x *ExecutionMetadata) GetPrincipal() string { + if x != nil { + return x.Principal } return "" } -func (m *ExecutionMetadata) GetNesting() uint32 { - if m != nil { - return m.Nesting +func (x *ExecutionMetadata) GetNesting() uint32 { + if x != nil { + return x.Nesting } return 0 } -func (m *ExecutionMetadata) GetScheduledAt() *timestamp.Timestamp { - if m != nil { - return m.ScheduledAt +func (x *ExecutionMetadata) GetScheduledAt() *timestamppb.Timestamp { + if x != nil { + return x.ScheduledAt } return nil } -func (m *ExecutionMetadata) GetParentNodeExecution() *core.NodeExecutionIdentifier { - if m != nil { - return m.ParentNodeExecution +func (x *ExecutionMetadata) GetParentNodeExecution() *core.NodeExecutionIdentifier { + if x != nil { + return x.ParentNodeExecution } return nil } -func (m *ExecutionMetadata) GetReferenceExecution() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.ReferenceExecution +func (x *ExecutionMetadata) GetReferenceExecution() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.ReferenceExecution } return nil } -func (m *ExecutionMetadata) GetSystemMetadata() *SystemMetadata { - if m != nil { - return m.SystemMetadata +func (x *ExecutionMetadata) GetSystemMetadata() *SystemMetadata { + if x != nil { + return x.SystemMetadata } return nil } -func (m *ExecutionMetadata) GetArtifactIds() []*core.ArtifactID { - if m != nil { - return m.ArtifactIds +func (x *ExecutionMetadata) GetArtifactIds() []*core.ArtifactID { + if x != nil { + return x.ArtifactIds } return nil } type NotificationList struct { - Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NotificationList) Reset() { *m = NotificationList{} } -func (m *NotificationList) String() string { return proto.CompactTextString(m) } -func (*NotificationList) ProtoMessage() {} -func (*NotificationList) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{12} + Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` } -func (m *NotificationList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NotificationList.Unmarshal(m, b) -} -func (m *NotificationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NotificationList.Marshal(b, m, deterministic) -} -func (m *NotificationList) XXX_Merge(src proto.Message) { - xxx_messageInfo_NotificationList.Merge(m, src) +func (x *NotificationList) Reset() { + *x = NotificationList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NotificationList) XXX_Size() int { - return xxx_messageInfo_NotificationList.Size(m) + +func (x *NotificationList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NotificationList) XXX_DiscardUnknown() { - xxx_messageInfo_NotificationList.DiscardUnknown(m) + +func (*NotificationList) ProtoMessage() {} + +func (x *NotificationList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NotificationList proto.InternalMessageInfo +// Deprecated: Use NotificationList.ProtoReflect.Descriptor instead. +func (*NotificationList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{12} +} -func (m *NotificationList) GetNotifications() []*Notification { - if m != nil { - return m.Notifications +func (x *NotificationList) GetNotifications() []*Notification { + if x != nil { + return x.Notifications } return nil } @@ -1064,13 +1212,20 @@ func (m *NotificationList) GetNotifications() []*Notification { // An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime // of an execution as it progresses across phase changes. type ExecutionSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Launch plan to be executed LaunchPlan *core.Identifier `protobuf:"bytes,1,opt,name=launch_plan,json=launchPlan,proto3" json:"launch_plan,omitempty"` // Input values to be passed for the execution - Inputs *core.LiteralMap `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + Inputs *core.LiteralMap `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"` // Metadata for the execution Metadata *ExecutionMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - // Types that are valid to be assigned to NotificationOverrides: + // Types that are assignable to NotificationOverrides: + // // *ExecutionSpec_Notifications // *ExecutionSpec_DisableAll NotificationOverrides isExecutionSpec_NotificationOverrides `protobuf_oneof:"notification_overrides"` @@ -1081,7 +1236,9 @@ type ExecutionSpec struct { // Optional: security context override to apply this execution. SecurityContext *core.SecurityContext `protobuf:"bytes,10,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` // Optional: auth override to apply this execution. - AuthRole *AuthRole `protobuf:"bytes,16,opt,name=auth_role,json=authRole,proto3" json:"auth_role,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + AuthRole *AuthRole `protobuf:"bytes,16,opt,name=auth_role,json=authRole,proto3" json:"auth_role,omitempty"` // Indicates the runtime priority of the execution. QualityOfService *core.QualityOfService `protobuf:"bytes,17,opt,name=quality_of_service,json=qualityOfService,proto3" json:"quality_of_service,omitempty"` // Controls the maximum number of task nodes that can be run in parallel for the entire workflow. @@ -1097,7 +1254,7 @@ type ExecutionSpec struct { // Omitting this field uses the workflow's value as a default. // As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper // around the bool field. - Interruptible *wrappers.BoolValue `protobuf:"bytes,21,opt,name=interruptible,proto3" json:"interruptible,omitempty"` + Interruptible *wrapperspb.BoolValue `protobuf:"bytes,21,opt,name=interruptible,proto3" json:"interruptible,omitempty"` // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. @@ -1105,75 +1262,63 @@ type ExecutionSpec struct { // Environment variables to be set for the execution. Envs *Envs `protobuf:"bytes,23,opt,name=envs,proto3" json:"envs,omitempty"` // Tags to be set for the execution. - Tags []string `protobuf:"bytes,24,rep,name=tags,proto3" json:"tags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Tags []string `protobuf:"bytes,24,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ExecutionSpec) Reset() { *m = ExecutionSpec{} } -func (m *ExecutionSpec) String() string { return proto.CompactTextString(m) } -func (*ExecutionSpec) ProtoMessage() {} -func (*ExecutionSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{13} +func (x *ExecutionSpec) Reset() { + *x = ExecutionSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionSpec.Unmarshal(m, b) -} -func (m *ExecutionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionSpec.Marshal(b, m, deterministic) -} -func (m *ExecutionSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionSpec.Merge(m, src) -} -func (m *ExecutionSpec) XXX_Size() int { - return xxx_messageInfo_ExecutionSpec.Size(m) -} -func (m *ExecutionSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionSpec.DiscardUnknown(m) +func (x *ExecutionSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ExecutionSpec proto.InternalMessageInfo +func (*ExecutionSpec) ProtoMessage() {} -func (m *ExecutionSpec) GetLaunchPlan() *core.Identifier { - if m != nil { - return m.LaunchPlan +func (x *ExecutionSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -// Deprecated: Do not use. -func (m *ExecutionSpec) GetInputs() *core.LiteralMap { - if m != nil { - return m.Inputs - } - return nil +// Deprecated: Use ExecutionSpec.ProtoReflect.Descriptor instead. +func (*ExecutionSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{13} } -func (m *ExecutionSpec) GetMetadata() *ExecutionMetadata { - if m != nil { - return m.Metadata +func (x *ExecutionSpec) GetLaunchPlan() *core.Identifier { + if x != nil { + return x.LaunchPlan } return nil } -type isExecutionSpec_NotificationOverrides interface { - isExecutionSpec_NotificationOverrides() -} - -type ExecutionSpec_Notifications struct { - Notifications *NotificationList `protobuf:"bytes,5,opt,name=notifications,proto3,oneof"` +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *ExecutionSpec) GetInputs() *core.LiteralMap { + if x != nil { + return x.Inputs + } + return nil } -type ExecutionSpec_DisableAll struct { - DisableAll bool `protobuf:"varint,6,opt,name=disable_all,json=disableAll,proto3,oneof"` +func (x *ExecutionSpec) GetMetadata() *ExecutionMetadata { + if x != nil { + return x.Metadata + } + return nil } -func (*ExecutionSpec_Notifications) isExecutionSpec_NotificationOverrides() {} - -func (*ExecutionSpec_DisableAll) isExecutionSpec_NotificationOverrides() {} - func (m *ExecutionSpec) GetNotificationOverrides() isExecutionSpec_NotificationOverrides { if m != nil { return m.NotificationOverrides @@ -1181,690 +1326,1432 @@ func (m *ExecutionSpec) GetNotificationOverrides() isExecutionSpec_NotificationO return nil } -func (m *ExecutionSpec) GetNotifications() *NotificationList { - if x, ok := m.GetNotificationOverrides().(*ExecutionSpec_Notifications); ok { +func (x *ExecutionSpec) GetNotifications() *NotificationList { + if x, ok := x.GetNotificationOverrides().(*ExecutionSpec_Notifications); ok { return x.Notifications } return nil } -func (m *ExecutionSpec) GetDisableAll() bool { - if x, ok := m.GetNotificationOverrides().(*ExecutionSpec_DisableAll); ok { +func (x *ExecutionSpec) GetDisableAll() bool { + if x, ok := x.GetNotificationOverrides().(*ExecutionSpec_DisableAll); ok { return x.DisableAll } return false } -func (m *ExecutionSpec) GetLabels() *Labels { - if m != nil { - return m.Labels +func (x *ExecutionSpec) GetLabels() *Labels { + if x != nil { + return x.Labels } return nil } -func (m *ExecutionSpec) GetAnnotations() *Annotations { - if m != nil { - return m.Annotations +func (x *ExecutionSpec) GetAnnotations() *Annotations { + if x != nil { + return x.Annotations } return nil } -func (m *ExecutionSpec) GetSecurityContext() *core.SecurityContext { - if m != nil { - return m.SecurityContext +func (x *ExecutionSpec) GetSecurityContext() *core.SecurityContext { + if x != nil { + return x.SecurityContext } return nil } -// Deprecated: Do not use. -func (m *ExecutionSpec) GetAuthRole() *AuthRole { - if m != nil { - return m.AuthRole +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *ExecutionSpec) GetAuthRole() *AuthRole { + if x != nil { + return x.AuthRole } return nil } -func (m *ExecutionSpec) GetQualityOfService() *core.QualityOfService { - if m != nil { - return m.QualityOfService +func (x *ExecutionSpec) GetQualityOfService() *core.QualityOfService { + if x != nil { + return x.QualityOfService } return nil } -func (m *ExecutionSpec) GetMaxParallelism() int32 { - if m != nil { - return m.MaxParallelism +func (x *ExecutionSpec) GetMaxParallelism() int32 { + if x != nil { + return x.MaxParallelism } return 0 } -func (m *ExecutionSpec) GetRawOutputDataConfig() *RawOutputDataConfig { - if m != nil { - return m.RawOutputDataConfig +func (x *ExecutionSpec) GetRawOutputDataConfig() *RawOutputDataConfig { + if x != nil { + return x.RawOutputDataConfig } return nil } -func (m *ExecutionSpec) GetClusterAssignment() *ClusterAssignment { - if m != nil { - return m.ClusterAssignment +func (x *ExecutionSpec) GetClusterAssignment() *ClusterAssignment { + if x != nil { + return x.ClusterAssignment } return nil } -func (m *ExecutionSpec) GetInterruptible() *wrappers.BoolValue { - if m != nil { - return m.Interruptible +func (x *ExecutionSpec) GetInterruptible() *wrapperspb.BoolValue { + if x != nil { + return x.Interruptible } return nil } -func (m *ExecutionSpec) GetOverwriteCache() bool { - if m != nil { - return m.OverwriteCache +func (x *ExecutionSpec) GetOverwriteCache() bool { + if x != nil { + return x.OverwriteCache } return false } -func (m *ExecutionSpec) GetEnvs() *Envs { - if m != nil { - return m.Envs +func (x *ExecutionSpec) GetEnvs() *Envs { + if x != nil { + return x.Envs } return nil } -func (m *ExecutionSpec) GetTags() []string { - if m != nil { - return m.Tags +func (x *ExecutionSpec) GetTags() []string { + if x != nil { + return x.Tags } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExecutionSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExecutionSpec_Notifications)(nil), - (*ExecutionSpec_DisableAll)(nil), - } +type isExecutionSpec_NotificationOverrides interface { + isExecutionSpec_NotificationOverrides() } +type ExecutionSpec_Notifications struct { + // List of notifications based on Execution status transitions + // When this list is not empty it is used rather than any notifications defined in the referenced launch plan. + // When this list is empty, the notifications defined for the launch plan will be applied. + Notifications *NotificationList `protobuf:"bytes,5,opt,name=notifications,proto3,oneof"` +} + +type ExecutionSpec_DisableAll struct { + // This should be set to true if all notifications are intended to be disabled for this execution. + DisableAll bool `protobuf:"varint,6,opt,name=disable_all,json=disableAll,proto3,oneof"` +} + +func (*ExecutionSpec_Notifications) isExecutionSpec_NotificationOverrides() {} + +func (*ExecutionSpec_DisableAll) isExecutionSpec_NotificationOverrides() {} + // Request to terminate an in-progress execution. This action is irreversible. // If an execution is already terminated, this request will simply be a no-op. // This request will fail if it references a non-existent execution. // If the request succeeds the phase "ABORTED" will be recorded for the termination // with the optional cause added to the output_result. type ExecutionTerminateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Uniquely identifies the individual workflow execution to be terminated. Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Optional reason for aborting. - Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` } -func (m *ExecutionTerminateRequest) Reset() { *m = ExecutionTerminateRequest{} } -func (m *ExecutionTerminateRequest) String() string { return proto.CompactTextString(m) } -func (*ExecutionTerminateRequest) ProtoMessage() {} -func (*ExecutionTerminateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{14} +func (x *ExecutionTerminateRequest) Reset() { + *x = ExecutionTerminateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionTerminateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionTerminateRequest.Unmarshal(m, b) -} -func (m *ExecutionTerminateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionTerminateRequest.Marshal(b, m, deterministic) +func (x *ExecutionTerminateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionTerminateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionTerminateRequest.Merge(m, src) -} -func (m *ExecutionTerminateRequest) XXX_Size() int { - return xxx_messageInfo_ExecutionTerminateRequest.Size(m) -} -func (m *ExecutionTerminateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionTerminateRequest.DiscardUnknown(m) + +func (*ExecutionTerminateRequest) ProtoMessage() {} + +func (x *ExecutionTerminateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionTerminateRequest proto.InternalMessageInfo +// Deprecated: Use ExecutionTerminateRequest.ProtoReflect.Descriptor instead. +func (*ExecutionTerminateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{14} +} -func (m *ExecutionTerminateRequest) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *ExecutionTerminateRequest) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *ExecutionTerminateRequest) GetCause() string { - if m != nil { - return m.Cause +func (x *ExecutionTerminateRequest) GetCause() string { + if x != nil { + return x.Cause } return "" } type ExecutionTerminateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ExecutionTerminateResponse) Reset() { *m = ExecutionTerminateResponse{} } -func (m *ExecutionTerminateResponse) String() string { return proto.CompactTextString(m) } -func (*ExecutionTerminateResponse) ProtoMessage() {} -func (*ExecutionTerminateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{15} +func (x *ExecutionTerminateResponse) Reset() { + *x = ExecutionTerminateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionTerminateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionTerminateResponse.Unmarshal(m, b) -} -func (m *ExecutionTerminateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionTerminateResponse.Marshal(b, m, deterministic) +func (x *ExecutionTerminateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionTerminateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionTerminateResponse.Merge(m, src) -} -func (m *ExecutionTerminateResponse) XXX_Size() int { - return xxx_messageInfo_ExecutionTerminateResponse.Size(m) -} -func (m *ExecutionTerminateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionTerminateResponse.DiscardUnknown(m) + +func (*ExecutionTerminateResponse) ProtoMessage() {} + +func (x *ExecutionTerminateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionTerminateResponse proto.InternalMessageInfo +// Deprecated: Use ExecutionTerminateResponse.ProtoReflect.Descriptor instead. +func (*ExecutionTerminateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{15} +} // Request structure to fetch inputs, output and other data produced by an execution. // By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest` type WorkflowExecutionGetDataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identifier of the execution for which to fetch inputs and outputs. - Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *WorkflowExecutionGetDataRequest) Reset() { *m = WorkflowExecutionGetDataRequest{} } -func (m *WorkflowExecutionGetDataRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionGetDataRequest) ProtoMessage() {} -func (*WorkflowExecutionGetDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{16} +func (x *WorkflowExecutionGetDataRequest) Reset() { + *x = WorkflowExecutionGetDataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionGetDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionGetDataRequest.Unmarshal(m, b) -} -func (m *WorkflowExecutionGetDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionGetDataRequest.Marshal(b, m, deterministic) +func (x *WorkflowExecutionGetDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionGetDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionGetDataRequest.Merge(m, src) -} -func (m *WorkflowExecutionGetDataRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionGetDataRequest.Size(m) -} -func (m *WorkflowExecutionGetDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionGetDataRequest.DiscardUnknown(m) + +func (*WorkflowExecutionGetDataRequest) ProtoMessage() {} + +func (x *WorkflowExecutionGetDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionGetDataRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionGetDataRequest.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionGetDataRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{16} +} -func (m *WorkflowExecutionGetDataRequest) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *WorkflowExecutionGetDataRequest) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } // Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. type WorkflowExecutionGetDataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Signed url to fetch a core.LiteralMap of execution outputs. // Deprecated: Please use full_outputs instead. - Outputs *UrlBlob `protobuf:"bytes,1,opt,name=outputs,proto3" json:"outputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + Outputs *UrlBlob `protobuf:"bytes,1,opt,name=outputs,proto3" json:"outputs,omitempty"` // Signed url to fetch a core.LiteralMap of execution inputs. // Deprecated: Please use full_inputs instead. - Inputs *UrlBlob `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. + Inputs *UrlBlob `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"` // Full_inputs will only be populated if they are under a configured size threshold. FullInputs *core.LiteralMap `protobuf:"bytes,3,opt,name=full_inputs,json=fullInputs,proto3" json:"full_inputs,omitempty"` // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *core.LiteralMap `protobuf:"bytes,4,opt,name=full_outputs,json=fullOutputs,proto3" json:"full_outputs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FullOutputs *core.LiteralMap `protobuf:"bytes,4,opt,name=full_outputs,json=fullOutputs,proto3" json:"full_outputs,omitempty"` } -func (m *WorkflowExecutionGetDataResponse) Reset() { *m = WorkflowExecutionGetDataResponse{} } -func (m *WorkflowExecutionGetDataResponse) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionGetDataResponse) ProtoMessage() {} -func (*WorkflowExecutionGetDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{17} +func (x *WorkflowExecutionGetDataResponse) Reset() { + *x = WorkflowExecutionGetDataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionGetDataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionGetDataResponse.Unmarshal(m, b) -} -func (m *WorkflowExecutionGetDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionGetDataResponse.Marshal(b, m, deterministic) -} -func (m *WorkflowExecutionGetDataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionGetDataResponse.Merge(m, src) -} -func (m *WorkflowExecutionGetDataResponse) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionGetDataResponse.Size(m) +func (x *WorkflowExecutionGetDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionGetDataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionGetDataResponse.DiscardUnknown(m) + +func (*WorkflowExecutionGetDataResponse) ProtoMessage() {} + +func (x *WorkflowExecutionGetDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionGetDataResponse proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionGetDataResponse.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionGetDataResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{17} +} -// Deprecated: Do not use. -func (m *WorkflowExecutionGetDataResponse) GetOutputs() *UrlBlob { - if m != nil { - return m.Outputs +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *WorkflowExecutionGetDataResponse) GetOutputs() *UrlBlob { + if x != nil { + return x.Outputs } return nil } -// Deprecated: Do not use. -func (m *WorkflowExecutionGetDataResponse) GetInputs() *UrlBlob { - if m != nil { - return m.Inputs +// Deprecated: Marked as deprecated in flyteidl/admin/execution.proto. +func (x *WorkflowExecutionGetDataResponse) GetInputs() *UrlBlob { + if x != nil { + return x.Inputs } return nil } -func (m *WorkflowExecutionGetDataResponse) GetFullInputs() *core.LiteralMap { - if m != nil { - return m.FullInputs +func (x *WorkflowExecutionGetDataResponse) GetFullInputs() *core.LiteralMap { + if x != nil { + return x.FullInputs } return nil } -func (m *WorkflowExecutionGetDataResponse) GetFullOutputs() *core.LiteralMap { - if m != nil { - return m.FullOutputs +func (x *WorkflowExecutionGetDataResponse) GetFullOutputs() *core.LiteralMap { + if x != nil { + return x.FullOutputs } return nil } type ExecutionUpdateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifier of the execution to update Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // State to set as the new value active/archive - State ExecutionState `protobuf:"varint,2,opt,name=state,proto3,enum=flyteidl.admin.ExecutionState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + State ExecutionState `protobuf:"varint,2,opt,name=state,proto3,enum=flyteidl.admin.ExecutionState" json:"state,omitempty"` } -func (m *ExecutionUpdateRequest) Reset() { *m = ExecutionUpdateRequest{} } -func (m *ExecutionUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*ExecutionUpdateRequest) ProtoMessage() {} -func (*ExecutionUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{18} +func (x *ExecutionUpdateRequest) Reset() { + *x = ExecutionUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionUpdateRequest.Unmarshal(m, b) -} -func (m *ExecutionUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionUpdateRequest.Marshal(b, m, deterministic) -} -func (m *ExecutionUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionUpdateRequest.Merge(m, src) -} -func (m *ExecutionUpdateRequest) XXX_Size() int { - return xxx_messageInfo_ExecutionUpdateRequest.Size(m) +func (x *ExecutionUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionUpdateRequest.DiscardUnknown(m) + +func (*ExecutionUpdateRequest) ProtoMessage() {} + +func (x *ExecutionUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionUpdateRequest proto.InternalMessageInfo +// Deprecated: Use ExecutionUpdateRequest.ProtoReflect.Descriptor instead. +func (*ExecutionUpdateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{18} +} -func (m *ExecutionUpdateRequest) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *ExecutionUpdateRequest) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *ExecutionUpdateRequest) GetState() ExecutionState { - if m != nil { - return m.State +func (x *ExecutionUpdateRequest) GetState() ExecutionState { + if x != nil { + return x.State } return ExecutionState_EXECUTION_ACTIVE } type ExecutionStateChangeDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The state of the execution is used to control its visibility in the UI/CLI. State ExecutionState `protobuf:"varint,1,opt,name=state,proto3,enum=flyteidl.admin.ExecutionState" json:"state,omitempty"` // This timestamp represents when the state changed. - OccurredAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` + OccurredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` // Identifies the entity (if any) responsible for causing the state change of the execution - Principal string `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Principal string `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"` } -func (m *ExecutionStateChangeDetails) Reset() { *m = ExecutionStateChangeDetails{} } -func (m *ExecutionStateChangeDetails) String() string { return proto.CompactTextString(m) } -func (*ExecutionStateChangeDetails) ProtoMessage() {} -func (*ExecutionStateChangeDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{19} +func (x *ExecutionStateChangeDetails) Reset() { + *x = ExecutionStateChangeDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionStateChangeDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionStateChangeDetails.Unmarshal(m, b) -} -func (m *ExecutionStateChangeDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionStateChangeDetails.Marshal(b, m, deterministic) +func (x *ExecutionStateChangeDetails) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionStateChangeDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionStateChangeDetails.Merge(m, src) -} -func (m *ExecutionStateChangeDetails) XXX_Size() int { - return xxx_messageInfo_ExecutionStateChangeDetails.Size(m) -} -func (m *ExecutionStateChangeDetails) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionStateChangeDetails.DiscardUnknown(m) + +func (*ExecutionStateChangeDetails) ProtoMessage() {} + +func (x *ExecutionStateChangeDetails) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionStateChangeDetails proto.InternalMessageInfo +// Deprecated: Use ExecutionStateChangeDetails.ProtoReflect.Descriptor instead. +func (*ExecutionStateChangeDetails) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{19} +} -func (m *ExecutionStateChangeDetails) GetState() ExecutionState { - if m != nil { - return m.State +func (x *ExecutionStateChangeDetails) GetState() ExecutionState { + if x != nil { + return x.State } return ExecutionState_EXECUTION_ACTIVE } -func (m *ExecutionStateChangeDetails) GetOccurredAt() *timestamp.Timestamp { - if m != nil { - return m.OccurredAt +func (x *ExecutionStateChangeDetails) GetOccurredAt() *timestamppb.Timestamp { + if x != nil { + return x.OccurredAt } return nil } -func (m *ExecutionStateChangeDetails) GetPrincipal() string { - if m != nil { - return m.Principal +func (x *ExecutionStateChangeDetails) GetPrincipal() string { + if x != nil { + return x.Principal } return "" } type ExecutionUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ExecutionUpdateResponse) Reset() { *m = ExecutionUpdateResponse{} } -func (m *ExecutionUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*ExecutionUpdateResponse) ProtoMessage() {} -func (*ExecutionUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{20} +func (x *ExecutionUpdateResponse) Reset() { + *x = ExecutionUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionUpdateResponse.Unmarshal(m, b) +func (x *ExecutionUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionUpdateResponse.Marshal(b, m, deterministic) -} -func (m *ExecutionUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionUpdateResponse.Merge(m, src) -} -func (m *ExecutionUpdateResponse) XXX_Size() int { - return xxx_messageInfo_ExecutionUpdateResponse.Size(m) -} -func (m *ExecutionUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionUpdateResponse.DiscardUnknown(m) + +func (*ExecutionUpdateResponse) ProtoMessage() {} + +func (x *ExecutionUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionUpdateResponse proto.InternalMessageInfo +// Deprecated: Use ExecutionUpdateResponse.ProtoReflect.Descriptor instead. +func (*ExecutionUpdateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{20} +} // WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution. type WorkflowExecutionGetMetricsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id defines the workflow execution to query for. Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // depth defines the number of Flyte entity levels to traverse when breaking down execution details. - Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` } -func (m *WorkflowExecutionGetMetricsRequest) Reset() { *m = WorkflowExecutionGetMetricsRequest{} } -func (m *WorkflowExecutionGetMetricsRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionGetMetricsRequest) ProtoMessage() {} -func (*WorkflowExecutionGetMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{21} +func (x *WorkflowExecutionGetMetricsRequest) Reset() { + *x = WorkflowExecutionGetMetricsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionGetMetricsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Unmarshal(m, b) -} -func (m *WorkflowExecutionGetMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Marshal(b, m, deterministic) +func (x *WorkflowExecutionGetMetricsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionGetMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Merge(m, src) -} -func (m *WorkflowExecutionGetMetricsRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Size(m) -} -func (m *WorkflowExecutionGetMetricsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionGetMetricsRequest.DiscardUnknown(m) + +func (*WorkflowExecutionGetMetricsRequest) ProtoMessage() {} + +func (x *WorkflowExecutionGetMetricsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionGetMetricsRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionGetMetricsRequest.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionGetMetricsRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{21} +} -func (m *WorkflowExecutionGetMetricsRequest) GetId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.Id +func (x *WorkflowExecutionGetMetricsRequest) GetId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *WorkflowExecutionGetMetricsRequest) GetDepth() int32 { - if m != nil { - return m.Depth +func (x *WorkflowExecutionGetMetricsRequest) GetDepth() int32 { + if x != nil { + return x.Depth } return 0 } // WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. type WorkflowExecutionGetMetricsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Span defines the top-level breakdown of the workflows execution. More precise information is nested in a // hierarchical structure using Flyte entity references. - Span *core.Span `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Span *core.Span `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"` } -func (m *WorkflowExecutionGetMetricsResponse) Reset() { *m = WorkflowExecutionGetMetricsResponse{} } -func (m *WorkflowExecutionGetMetricsResponse) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionGetMetricsResponse) ProtoMessage() {} -func (*WorkflowExecutionGetMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4e2785d91b3809ec, []int{22} +func (x *WorkflowExecutionGetMetricsResponse) Reset() { + *x = WorkflowExecutionGetMetricsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_execution_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionGetMetricsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Unmarshal(m, b) +func (x *WorkflowExecutionGetMetricsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionGetMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Marshal(b, m, deterministic) -} -func (m *WorkflowExecutionGetMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Merge(m, src) -} -func (m *WorkflowExecutionGetMetricsResponse) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Size(m) -} -func (m *WorkflowExecutionGetMetricsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionGetMetricsResponse.DiscardUnknown(m) + +func (*WorkflowExecutionGetMetricsResponse) ProtoMessage() {} + +func (x *WorkflowExecutionGetMetricsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_execution_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionGetMetricsResponse proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionGetMetricsResponse.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionGetMetricsResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_execution_proto_rawDescGZIP(), []int{22} +} -func (m *WorkflowExecutionGetMetricsResponse) GetSpan() *core.Span { - if m != nil { - return m.Span +func (x *WorkflowExecutionGetMetricsResponse) GetSpan() *core.Span { + if x != nil { + return x.Span } return nil } -func init() { - proto.RegisterEnum("flyteidl.admin.ExecutionState", ExecutionState_name, ExecutionState_value) - proto.RegisterEnum("flyteidl.admin.ExecutionMetadata_ExecutionMode", ExecutionMetadata_ExecutionMode_name, ExecutionMetadata_ExecutionMode_value) - proto.RegisterType((*ExecutionCreateRequest)(nil), "flyteidl.admin.ExecutionCreateRequest") - proto.RegisterType((*ExecutionRelaunchRequest)(nil), "flyteidl.admin.ExecutionRelaunchRequest") - proto.RegisterType((*ExecutionRecoverRequest)(nil), "flyteidl.admin.ExecutionRecoverRequest") - proto.RegisterType((*ExecutionCreateResponse)(nil), "flyteidl.admin.ExecutionCreateResponse") - proto.RegisterType((*WorkflowExecutionGetRequest)(nil), "flyteidl.admin.WorkflowExecutionGetRequest") - proto.RegisterType((*Execution)(nil), "flyteidl.admin.Execution") - proto.RegisterType((*ExecutionList)(nil), "flyteidl.admin.ExecutionList") - proto.RegisterType((*LiteralMapBlob)(nil), "flyteidl.admin.LiteralMapBlob") - proto.RegisterType((*AbortMetadata)(nil), "flyteidl.admin.AbortMetadata") - proto.RegisterType((*ExecutionClosure)(nil), "flyteidl.admin.ExecutionClosure") - proto.RegisterType((*SystemMetadata)(nil), "flyteidl.admin.SystemMetadata") - proto.RegisterType((*ExecutionMetadata)(nil), "flyteidl.admin.ExecutionMetadata") - proto.RegisterType((*NotificationList)(nil), "flyteidl.admin.NotificationList") - proto.RegisterType((*ExecutionSpec)(nil), "flyteidl.admin.ExecutionSpec") - proto.RegisterType((*ExecutionTerminateRequest)(nil), "flyteidl.admin.ExecutionTerminateRequest") - proto.RegisterType((*ExecutionTerminateResponse)(nil), "flyteidl.admin.ExecutionTerminateResponse") - proto.RegisterType((*WorkflowExecutionGetDataRequest)(nil), "flyteidl.admin.WorkflowExecutionGetDataRequest") - proto.RegisterType((*WorkflowExecutionGetDataResponse)(nil), "flyteidl.admin.WorkflowExecutionGetDataResponse") - proto.RegisterType((*ExecutionUpdateRequest)(nil), "flyteidl.admin.ExecutionUpdateRequest") - proto.RegisterType((*ExecutionStateChangeDetails)(nil), "flyteidl.admin.ExecutionStateChangeDetails") - proto.RegisterType((*ExecutionUpdateResponse)(nil), "flyteidl.admin.ExecutionUpdateResponse") - proto.RegisterType((*WorkflowExecutionGetMetricsRequest)(nil), "flyteidl.admin.WorkflowExecutionGetMetricsRequest") - proto.RegisterType((*WorkflowExecutionGetMetricsResponse)(nil), "flyteidl.admin.WorkflowExecutionGetMetricsResponse") -} - -func init() { proto.RegisterFile("flyteidl/admin/execution.proto", fileDescriptor_4e2785d91b3809ec) } - -var fileDescriptor_4e2785d91b3809ec = []byte{ - // 1874 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x5b, 0x73, 0xdb, 0xc6, - 0x15, 0x16, 0x29, 0x52, 0xa6, 0x0e, 0x2d, 0x8a, 0x5e, 0x29, 0x0a, 0x2c, 0x3b, 0xb6, 0x82, 0x4c, - 0x6b, 0x4f, 0x32, 0x25, 0x27, 0x4a, 0x3d, 0x9d, 0x38, 0x71, 0x26, 0x14, 0x45, 0x47, 0x4c, 0x75, - 0x71, 0x57, 0x17, 0xe7, 0x32, 0x19, 0x74, 0x05, 0x2c, 0x29, 0x34, 0xb8, 0x79, 0x77, 0x21, 0xd9, - 0xff, 0xa0, 0xd3, 0xa7, 0x3e, 0xb6, 0xff, 0xa0, 0x4f, 0x7d, 0xec, 0x4f, 0xe9, 0x6f, 0xe9, 0x63, - 0x67, 0x17, 0x0b, 0x10, 0x00, 0x29, 0x4b, 0x1e, 0xeb, 0x0d, 0x7b, 0xce, 0x77, 0xce, 0x9e, 0x3d, - 0x7b, 0x6e, 0x0b, 0x78, 0x30, 0xf2, 0xde, 0x08, 0xea, 0x3a, 0x5e, 0x97, 0x38, 0xbe, 0x1b, 0x74, - 0xe9, 0x6b, 0x6a, 0xc7, 0xc2, 0x0d, 0x83, 0x4e, 0xc4, 0x42, 0x11, 0xa2, 0x56, 0xca, 0xef, 0x28, - 0xfe, 0xfa, 0xa3, 0x12, 0xde, 0xf6, 0x62, 0x2e, 0x28, 0xb3, 0x08, 0xe7, 0xee, 0x38, 0xf0, 0x69, - 0x20, 0x12, 0xc1, 0xf5, 0x7b, 0x65, 0x60, 0xe8, 0xfb, 0xa9, 0xd6, 0xf5, 0xfb, 0x19, 0xd3, 0x0e, - 0x19, 0xed, 0x7a, 0xae, 0xa0, 0x8c, 0x78, 0x5c, 0x73, 0x3f, 0x2a, 0x72, 0x4b, 0x26, 0xad, 0x3f, - 0x2c, 0xb2, 0x09, 0x13, 0xee, 0x88, 0xd8, 0xc2, 0x72, 0x1d, 0x0d, 0x78, 0x50, 0x04, 0xb8, 0x0e, - 0x0d, 0x84, 0x3b, 0x72, 0x29, 0x9b, 0x32, 0x4d, 0xf1, 0x7d, 0x2a, 0x98, 0x6b, 0xf3, 0xd9, 0xa6, - 0x71, 0x6a, 0xc7, 0xcc, 0x15, 0x6f, 0x52, 0xd5, 0xe3, 0x30, 0x1c, 0x7b, 0xb4, 0xab, 0x56, 0xa7, - 0xf1, 0xa8, 0xeb, 0xc4, 0x8c, 0xe4, 0x6d, 0x2b, 0xf3, 0x85, 0xeb, 0x53, 0x2e, 0x88, 0x1f, 0x5d, - 0xa6, 0xe0, 0x82, 0x91, 0x28, 0xa2, 0x4c, 0x6f, 0x6f, 0xfe, 0xb7, 0x02, 0x6b, 0x83, 0xf4, 0xc0, - 0x7d, 0x46, 0x89, 0xa0, 0x98, 0xbe, 0x8a, 0x29, 0x17, 0xc8, 0x80, 0x5b, 0x11, 0x0b, 0xff, 0x42, - 0x6d, 0x61, 0x54, 0x36, 0x2a, 0x8f, 0x17, 0x71, 0xba, 0x44, 0x6b, 0xb0, 0xe0, 0x84, 0x3e, 0x71, - 0x03, 0xa3, 0xaa, 0x18, 0x7a, 0x85, 0x10, 0xd4, 0x02, 0xe2, 0x53, 0x63, 0x5e, 0x51, 0xd5, 0x37, - 0xfa, 0x1c, 0x6a, 0x3c, 0xa2, 0xb6, 0x51, 0xdb, 0xa8, 0x3c, 0x6e, 0x6e, 0x7e, 0xd4, 0x29, 0xde, - 0x6f, 0x27, 0xdb, 0xfb, 0x30, 0xa2, 0x36, 0x56, 0x50, 0xf4, 0x39, 0x2c, 0xb8, 0x41, 0x14, 0x0b, - 0x6e, 0xd4, 0x95, 0xd0, 0xdd, 0x89, 0x90, 0xf4, 0x51, 0x67, 0x37, 0xb9, 0xbe, 0x3d, 0x12, 0x61, - 0x0d, 0x44, 0x6d, 0x98, 0x0f, 0xd9, 0xd8, 0x58, 0x50, 0x1b, 0xcb, 0x4f, 0xf3, 0x9f, 0x15, 0x30, - 0x32, 0xe5, 0x98, 0x7a, 0x24, 0x0e, 0xec, 0xb3, 0xf4, 0x68, 0x4f, 0xa1, 0xea, 0x3a, 0xea, 0x54, - 0xcd, 0xcd, 0x4f, 0x4b, 0xda, 0x5f, 0x86, 0xec, 0xd7, 0x91, 0x17, 0x5e, 0x64, 0xc2, 0xc3, 0xec, - 0x3e, 0x71, 0xd5, 0x75, 0x66, 0x1e, 0xf2, 0x11, 0x2c, 0x87, 0xe7, 0x94, 0x5d, 0x30, 0x57, 0x50, - 0xcb, 0x26, 0xf6, 0x19, 0x55, 0xe7, 0x6d, 0xe0, 0x56, 0x46, 0xee, 0x4b, 0xea, 0xf7, 0xb5, 0x46, - 0xb5, 0x3d, 0x6f, 0xfe, 0xab, 0x02, 0x1f, 0xe6, 0x6c, 0xb3, 0x25, 0xe8, 0x26, 0x4d, 0xab, 0xe6, - 0x4c, 0x7b, 0x06, 0x0d, 0x9f, 0x0a, 0xe2, 0x10, 0x41, 0x94, 0xc9, 0xcd, 0xcd, 0x8f, 0x2f, 0xbd, - 0x83, 0x3d, 0x0d, 0xc4, 0x99, 0x88, 0x79, 0x9c, 0xb3, 0x34, 0x0d, 0x0f, 0x1e, 0x85, 0x01, 0xa7, - 0xef, 0x63, 0xa9, 0xf9, 0x23, 0xdc, 0x9b, 0x82, 0x7c, 0x47, 0xc5, 0x0d, 0x38, 0xc1, 0xfc, 0x4f, - 0x05, 0x16, 0x33, 0xde, 0x7b, 0xb9, 0x33, 0x0d, 0xdd, 0xea, 0xf5, 0x43, 0xf7, 0x29, 0xdc, 0xb2, - 0xbd, 0x90, 0xc7, 0x8c, 0x6a, 0x67, 0x6f, 0x5c, 0x2a, 0xd5, 0x4f, 0x70, 0x38, 0x15, 0x30, 0xff, - 0x0c, 0x4b, 0x19, 0x73, 0xd7, 0xe5, 0x02, 0x7d, 0x09, 0x90, 0xd5, 0x22, 0x6e, 0x54, 0x36, 0xe6, - 0x8b, 0xb9, 0x50, 0xd2, 0x87, 0x73, 0x60, 0xb4, 0x0a, 0x75, 0x11, 0xfe, 0x4a, 0xd3, 0x04, 0x4d, - 0x16, 0x26, 0x85, 0xd6, 0x24, 0x77, 0xb6, 0xbc, 0xf0, 0x14, 0xfd, 0x01, 0x16, 0xce, 0x89, 0x17, - 0x53, 0xae, 0x5d, 0x74, 0x79, 0xaa, 0x6d, 0x55, 0x8d, 0xca, 0xce, 0x1c, 0xd6, 0x70, 0x84, 0x60, - 0x3e, 0x66, 0x6e, 0xa2, 0x7e, 0x67, 0x0e, 0xcb, 0xc5, 0xd6, 0x02, 0xd4, 0x54, 0xcc, 0xf4, 0x61, - 0xa9, 0x77, 0x1a, 0x32, 0x91, 0x86, 0x93, 0xb4, 0xc6, 0x26, 0x31, 0xa7, 0xba, 0x8e, 0x24, 0x0b, - 0x74, 0x1f, 0x16, 0x23, 0xe6, 0x06, 0xb6, 0x1b, 0x11, 0x4f, 0xdb, 0x39, 0x21, 0x98, 0xff, 0xb8, - 0x05, 0xed, 0xb2, 0xaf, 0xd0, 0x37, 0x70, 0x2b, 0x8c, 0x85, 0x2a, 0x0d, 0x89, 0xbd, 0x0f, 0xca, - 0xee, 0x28, 0x9e, 0x4f, 0x1b, 0x9d, 0x0a, 0xa1, 0x27, 0x50, 0xa7, 0x8c, 0x85, 0x6c, 0xfa, 0x4a, - 0xd5, 0x69, 0xb3, 0xfd, 0x06, 0x12, 0xb4, 0x33, 0x87, 0x13, 0x34, 0xfa, 0x0d, 0x34, 0x89, 0x3c, - 0x90, 0x95, 0x9c, 0x02, 0xa4, 0xad, 0x5a, 0x35, 0x28, 0x46, 0x5f, 0x1d, 0xe8, 0x39, 0xb4, 0x12, - 0x58, 0x96, 0x70, 0xb7, 0x67, 0x47, 0x4e, 0xc1, 0x3b, 0x3b, 0x73, 0x78, 0x89, 0x14, 0xdc, 0xf5, - 0x2d, 0x34, 0x13, 0x83, 0x2d, 0xa5, 0x64, 0xe9, 0x7a, 0x37, 0x03, 0x89, 0xcc, 0xb6, 0xd4, 0xf0, - 0x1c, 0x96, 0xed, 0xd0, 0x8f, 0x62, 0x41, 0x1d, 0x4b, 0x97, 0xd2, 0xf9, 0x6b, 0x68, 0xc1, 0xad, - 0x54, 0x6a, 0x98, 0x94, 0xd5, 0xaf, 0xa1, 0x1e, 0x9d, 0x11, 0x9e, 0x54, 0xb3, 0xd6, 0xe6, 0x6f, - 0xaf, 0x4a, 0xa0, 0xce, 0x0b, 0x89, 0xc6, 0x89, 0x90, 0x8c, 0x5f, 0x2e, 0x08, 0x93, 0x46, 0x10, - 0xa1, 0x6b, 0xf9, 0x7a, 0x27, 0x69, 0x48, 0x9d, 0xb4, 0x21, 0x75, 0x8e, 0xd2, 0x8e, 0x85, 0x17, - 0x35, 0xba, 0x27, 0xd0, 0x13, 0x68, 0xa4, 0x9d, 0x4e, 0x15, 0x75, 0x69, 0x79, 0x59, 0x70, 0x5b, - 0x03, 0x70, 0x06, 0x95, 0x3b, 0xda, 0xaa, 0x48, 0xa9, 0x1d, 0x6f, 0x5d, 0xbd, 0xa3, 0x46, 0xf7, - 0x54, 0xb2, 0xc5, 0x91, 0x93, 0x8a, 0x36, 0xae, 0x16, 0xd5, 0xe8, 0x9e, 0x40, 0x5b, 0xb0, 0x14, - 0x84, 0xb2, 0x6e, 0xd8, 0x24, 0x49, 0xd5, 0x45, 0x95, 0xaa, 0xf7, 0xcb, 0xd7, 0xbe, 0x9f, 0x03, - 0xe1, 0xa2, 0x08, 0x7a, 0x0a, 0xcd, 0x0b, 0xed, 0x4d, 0xcb, 0x75, 0x8c, 0xe6, 0xcc, 0xdb, 0xca, - 0xd5, 0x27, 0x48, 0xd1, 0x43, 0x07, 0xfd, 0x02, 0xab, 0x5c, 0x10, 0xd9, 0x79, 0xce, 0x48, 0x30, - 0xa6, 0x96, 0x43, 0x05, 0x71, 0x3d, 0x6e, 0xb4, 0x94, 0x92, 0xcf, 0x2e, 0xaf, 0x5b, 0x52, 0xa8, - 0xaf, 0x64, 0xb6, 0x13, 0x11, 0x8c, 0xf8, 0x14, 0x6d, 0x6b, 0x19, 0x96, 0x74, 0x38, 0x32, 0xca, - 0x63, 0x4f, 0x98, 0x3f, 0x43, 0xeb, 0xf0, 0x0d, 0x17, 0xd4, 0xcf, 0x22, 0xf6, 0x33, 0xb8, 0x93, - 0x15, 0x1f, 0x4b, 0x8f, 0x68, 0x3a, 0xd9, 0xdb, 0x74, 0x92, 0xc4, 0x8a, 0x2e, 0xf3, 0x5e, 0x76, - 0x26, 0x1e, 0x11, 0x3b, 0x6d, 0x55, 0x13, 0x82, 0xf9, 0xbf, 0x1a, 0xdc, 0x99, 0x6a, 0x48, 0xa8, - 0x0f, 0x35, 0x3f, 0x74, 0x92, 0x02, 0xd2, 0xda, 0xec, 0x5e, 0xd9, 0xc1, 0x72, 0x94, 0xd0, 0xa1, - 0x58, 0x09, 0xbf, 0xbd, 0xe0, 0xc8, 0x71, 0x27, 0xa0, 0x5c, 0xb8, 0xc1, 0x58, 0xe5, 0xca, 0x12, - 0x4e, 0x97, 0xe8, 0x19, 0xdc, 0xe6, 0xf6, 0x19, 0x75, 0x62, 0x2f, 0x09, 0x8e, 0xda, 0x95, 0xc1, - 0xd1, 0xcc, 0xf0, 0x3d, 0x81, 0x7e, 0x82, 0x0f, 0x22, 0xc2, 0x68, 0x20, 0xac, 0x20, 0x74, 0xa8, - 0x95, 0xf9, 0x43, 0x67, 0x44, 0x39, 0xa9, 0xf6, 0x43, 0x87, 0xce, 0xea, 0x48, 0x2b, 0x89, 0x92, - 0x02, 0x1b, 0xfd, 0x0c, 0x2b, 0x8c, 0x8e, 0x28, 0xa3, 0x81, 0x9d, 0xd7, 0xdc, 0x7e, 0xe7, 0x7e, - 0x87, 0x32, 0x35, 0x13, 0xe5, 0xdf, 0xc1, 0x32, 0x57, 0xf7, 0x3c, 0x29, 0x68, 0x77, 0x66, 0x57, - 0xdd, 0x62, 0x38, 0xe0, 0x16, 0x2f, 0x86, 0xc7, 0xd7, 0x70, 0x3b, 0x37, 0x35, 0x73, 0x03, 0x95, - 0x5b, 0x99, 0x32, 0xaf, 0xa7, 0x21, 0xc3, 0x6d, 0xdc, 0x4c, 0xe1, 0x43, 0x87, 0x9b, 0xe3, 0x5c, - 0x5f, 0x94, 0xb7, 0x89, 0x00, 0x16, 0xf6, 0x7a, 0xfb, 0xc7, 0xbd, 0xdd, 0xf6, 0x1c, 0x5a, 0x82, - 0xc5, 0xc3, 0xfe, 0xce, 0x60, 0xfb, 0x78, 0x77, 0xb0, 0xdd, 0xae, 0x48, 0xd6, 0xe1, 0x8f, 0x87, - 0x47, 0x83, 0xbd, 0x76, 0x15, 0xdd, 0x86, 0x06, 0x1e, 0xec, 0xf6, 0x8e, 0xf7, 0xfb, 0x3b, 0xed, - 0x79, 0x84, 0xa0, 0xd5, 0xdf, 0x19, 0xee, 0x6e, 0x5b, 0x2f, 0x0f, 0xf0, 0x1f, 0x9f, 0xef, 0x1e, - 0xbc, 0x6c, 0xd7, 0xa4, 0x30, 0x1e, 0xf4, 0x0f, 0x4e, 0x06, 0x78, 0xb0, 0xdd, 0xae, 0x9b, 0x27, - 0xd0, 0xce, 0xa7, 0xa8, 0xea, 0xc1, 0x53, 0xb9, 0x5d, 0x79, 0xe7, 0xdc, 0x36, 0xff, 0xde, 0xc8, - 0x9d, 0xe0, 0x30, 0x19, 0x13, 0x9a, 0xc9, 0x40, 0x6a, 0x45, 0x1e, 0x09, 0x2e, 0xe9, 0xbd, 0xf9, - 0x6c, 0x4f, 0xd0, 0x2f, 0x3c, 0x12, 0xa0, 0x27, 0xd9, 0x74, 0x5c, 0xbd, 0x4e, 0x49, 0x4f, 0x27, - 0xe4, 0xf7, 0x9b, 0x03, 0xd1, 0x4e, 0xd9, 0x0f, 0xf5, 0xd9, 0xe3, 0x4d, 0xd9, 0x81, 0xb2, 0xbb, - 0x15, 0x2b, 0xdd, 0xc7, 0xd0, 0x74, 0x5c, 0x4e, 0x4e, 0x3d, 0x6a, 0x11, 0xcf, 0x53, 0xd5, 0xbd, - 0x21, 0xdb, 0x97, 0x26, 0xf6, 0x3c, 0x0f, 0x75, 0x60, 0xc1, 0x23, 0xa7, 0xd4, 0xe3, 0xba, 0x84, - 0xaf, 0x4d, 0x75, 0x79, 0xc5, 0xc5, 0x1a, 0x85, 0x9e, 0x41, 0x93, 0x04, 0x41, 0x28, 0xb4, 0x69, - 0x49, 0xf1, 0xbe, 0x37, 0xd5, 0x75, 0x27, 0x10, 0x9c, 0xc7, 0xa3, 0x21, 0xb4, 0xd3, 0x67, 0x97, - 0x65, 0x87, 0x81, 0xa0, 0xaf, 0x85, 0xea, 0xf1, 0x85, 0x40, 0x57, 0xbe, 0x3d, 0xd4, 0xb0, 0x7e, - 0x82, 0xc2, 0xcb, 0xbc, 0x48, 0x40, 0x5f, 0xc2, 0x22, 0x89, 0xc5, 0x99, 0xc5, 0x42, 0x8f, 0xea, - 0x2c, 0x34, 0xa6, 0xec, 0x88, 0xc5, 0x19, 0x0e, 0x3d, 0xaa, 0xae, 0xa7, 0x41, 0xf4, 0x0a, 0xed, - 0x01, 0x7a, 0x15, 0x13, 0x4f, 0x1a, 0x11, 0x8e, 0x2c, 0x4e, 0xd9, 0xb9, 0x6b, 0x53, 0x9d, 0x70, - 0x0f, 0x4b, 0x76, 0xfc, 0x29, 0x01, 0x1e, 0x8c, 0x0e, 0x13, 0x18, 0x6e, 0xbf, 0x2a, 0x51, 0xe4, - 0x93, 0xc4, 0x27, 0xaf, 0xad, 0x88, 0x30, 0xe2, 0x79, 0xd4, 0x73, 0xb9, 0x6f, 0xa0, 0x8d, 0xca, - 0xe3, 0x3a, 0x6e, 0xf9, 0xe4, 0xf5, 0x8b, 0x09, 0x15, 0xfd, 0x00, 0x6b, 0x8c, 0x5c, 0x58, 0xb9, - 0x89, 0x43, 0x3a, 0x61, 0xe4, 0x8e, 0x8d, 0x15, 0xb5, 0xf7, 0x27, 0x65, 0xfb, 0x31, 0xb9, 0x38, - 0xc8, 0x46, 0x8d, 0xbe, 0x82, 0xe2, 0x15, 0x36, 0x4d, 0x44, 0x2f, 0x00, 0x4d, 0x3f, 0xd7, 0x8d, - 0xd5, 0xd9, 0xc1, 0xa7, 0xbb, 0x43, 0x2f, 0x03, 0xe2, 0x3b, 0x76, 0x99, 0x84, 0xbe, 0x85, 0x25, - 0x37, 0x10, 0x94, 0xb1, 0x38, 0x12, 0xee, 0xa9, 0x47, 0x8d, 0x0f, 0x2e, 0x29, 0xc5, 0x5b, 0x61, - 0xe8, 0x9d, 0xc8, 0x49, 0x15, 0x17, 0x05, 0x66, 0xbd, 0xd4, 0xd6, 0x66, 0xbd, 0xd4, 0xd0, 0x63, - 0xa8, 0xd1, 0xe0, 0x9c, 0x1b, 0x1f, 0xaa, 0x1d, 0x56, 0xa7, 0x72, 0x25, 0x38, 0xe7, 0x58, 0x21, - 0xe4, 0xab, 0x4b, 0x90, 0x31, 0x37, 0x8c, 0x8d, 0x79, 0xf9, 0xea, 0x92, 0xdf, 0x5b, 0x06, 0xac, - 0xe5, 0xa3, 0xde, 0x92, 0xca, 0x99, 0xeb, 0x50, 0xfe, 0x7d, 0xad, 0x51, 0x6b, 0xd7, 0x4d, 0x1f, - 0xee, 0x66, 0xd9, 0x76, 0x44, 0x99, 0xef, 0x06, 0xb9, 0x87, 0xf7, 0xfb, 0xbc, 0x59, 0xb2, 0x51, - 0xbb, 0x9a, 0x1b, 0xb5, 0xcd, 0xfb, 0xb0, 0x3e, 0x6b, 0xbb, 0xe4, 0x21, 0x67, 0xfe, 0x02, 0x0f, - 0x67, 0x3d, 0xc6, 0xe4, 0x4d, 0xde, 0xc4, 0x83, 0xec, 0xaf, 0x55, 0xd8, 0xb8, 0x5c, 0xbf, 0x7e, - 0x4c, 0x3e, 0x29, 0x4f, 0xf6, 0x1f, 0x96, 0x3d, 0x7e, 0xcc, 0xbc, 0x74, 0xa4, 0x9f, 0x0c, 0xf4, - 0x5f, 0x94, 0x8a, 0xe1, 0x5b, 0xa5, 0xd2, 0x52, 0xf8, 0x14, 0x9a, 0xa3, 0xd8, 0xf3, 0xae, 0x3b, - 0x19, 0x63, 0x90, 0xe8, 0x6c, 0x22, 0xbe, 0xad, 0x64, 0x53, 0x63, 0x6b, 0x57, 0x09, 0xab, 0xad, - 0x92, 0xd4, 0xe0, 0xe6, 0xdf, 0xf2, 0x7f, 0x5b, 0x8e, 0xd5, 0x00, 0x79, 0x13, 0x97, 0xfe, 0x7b, - 0xa8, 0xab, 0xb9, 0x4d, 0x39, 0xa1, 0x35, 0xdd, 0x9e, 0x8b, 0x13, 0x1f, 0x4e, 0xc0, 0xe6, 0xbf, - 0x2b, 0x70, 0xef, 0x2d, 0xb3, 0xe0, 0x44, 0x6b, 0xe5, 0x1d, 0xb4, 0xa2, 0xaf, 0xa0, 0x19, 0xda, - 0x76, 0xcc, 0x58, 0x32, 0x2b, 0x55, 0xaf, 0x9c, 0x95, 0x20, 0x85, 0xf7, 0x44, 0x71, 0x42, 0x9b, - 0x2f, 0x3f, 0x09, 0xef, 0xe6, 0xfe, 0x45, 0xa4, 0xce, 0xd3, 0x21, 0x7c, 0x0e, 0xe6, 0xac, 0x10, - 0xdb, 0x4b, 0x7e, 0xb5, 0xdd, 0x50, 0x62, 0x39, 0x34, 0x12, 0x67, 0xea, 0x44, 0x75, 0x9c, 0x2c, - 0xcc, 0x7d, 0xf8, 0xe4, 0xad, 0xfb, 0xea, 0xe8, 0x7e, 0x04, 0x35, 0x1e, 0x65, 0x8d, 0x7e, 0xa5, - 0xdc, 0x55, 0x22, 0x12, 0x60, 0x05, 0xf8, 0xf4, 0x1b, 0x68, 0x15, 0xdd, 0x8a, 0x56, 0xa1, 0x3d, - 0xf8, 0x61, 0xd0, 0x3f, 0x3e, 0x1a, 0x1e, 0xec, 0x5b, 0xbd, 0xfe, 0xd1, 0xf0, 0x64, 0xd0, 0x9e, - 0x43, 0x6b, 0x80, 0x72, 0x54, 0xdc, 0xdf, 0x19, 0x9e, 0xc8, 0xf9, 0x67, 0xeb, 0xd9, 0x4f, 0x5f, - 0x8d, 0x5d, 0x71, 0x16, 0x9f, 0x76, 0xec, 0xd0, 0xef, 0xaa, 0x6d, 0x42, 0x36, 0x4e, 0x3e, 0xba, - 0xd9, 0x9f, 0xc6, 0x31, 0x0d, 0xba, 0xd1, 0xe9, 0xef, 0xc6, 0x61, 0xb7, 0xf8, 0xd3, 0xf4, 0x74, - 0x41, 0xdd, 0xcf, 0x17, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xd6, 0xfa, 0xb5, 0xe8, 0xa6, 0x15, - 0x00, 0x00, +var File_flyteidl_admin_execution_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_execution_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, + 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xd6, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x12, 0x31, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, + 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, + 0x69, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4a, + 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xa8, 0x01, 0x0a, 0x17, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x55, 0x0a, 0x17, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0x59, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, + 0x69, 0x64, 0x22, 0xb6, 0x01, 0x0a, 0x09, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, + 0x3a, 0x0a, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, + 0x72, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x22, 0x60, 0x0a, 0x0d, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0a, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, + 0x0e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x6c, 0x6f, 0x62, 0x12, + 0x37, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, + 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x42, 0x06, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0x43, 0x0a, 0x0d, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, + 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0x98, 0x07, 0x0a, 0x10, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x3e, + 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x6c, 0x6f, 0x62, 0x42, + 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x35, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0b, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x63, + 0x61, 0x75, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, + 0x52, 0x0a, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0e, + 0x61, 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, + 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, + 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, + 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, + 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x12, 0x42, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, + 0x12, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5b, 0x0a, 0x0e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x22, 0xf8, 0x04, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, + 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x5a, 0x0a, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, + 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x13, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x5b, 0x0a, 0x13, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0f, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x49, 0x64, 0x73, 0x22, 0x67, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x00, + 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, + 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, + 0x45, 0x4c, 0x41, 0x55, 0x4e, 0x43, 0x48, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x48, 0x49, + 0x4c, 0x44, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x0d, 0x0a, + 0x09, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x22, 0x56, 0x0a, 0x10, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x42, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x90, 0x08, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x0b, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, + 0x61, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x48, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x6c, + 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x41, 0x6c, 0x6c, 0x12, 0x2e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x06, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, + 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x10, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x71, 0x75, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x10, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, + 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, + 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, + 0x73, 0x6d, 0x12, 0x58, 0x0a, 0x16, 0x72, 0x61, 0x77, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x13, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13, 0x72, 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x12, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, + 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, + 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, + 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x63, 0x61, + 0x63, 0x68, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x77, + 0x72, 0x69, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x65, 0x6e, 0x76, + 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x04, 0x65, + 0x6e, 0x76, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x42, 0x18, 0x0a, 0x16, 0x6e, 0x6f, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, + 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x6d, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x0a, 0x1f, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x88, 0x02, 0x0a, 0x20, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, 0x6c, 0x42, 0x6c, + 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, + 0x33, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x12, 0x3c, 0x0a, 0x0c, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x52, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x8a, + 0x01, 0x0a, 0x16, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x1b, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0x19, 0x0a, 0x17, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, 0x22, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x22, + 0x4e, 0x0a, 0x23, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x2a, + 0x3e, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x58, 0x45, 0x43, 0x55, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x44, 0x10, 0x01, 0x42, + 0xba, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_execution_proto_rawDescOnce sync.Once + file_flyteidl_admin_execution_proto_rawDescData = file_flyteidl_admin_execution_proto_rawDesc +) + +func file_flyteidl_admin_execution_proto_rawDescGZIP() []byte { + file_flyteidl_admin_execution_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_execution_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_execution_proto_rawDescData) + }) + return file_flyteidl_admin_execution_proto_rawDescData +} + +var file_flyteidl_admin_execution_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_flyteidl_admin_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_flyteidl_admin_execution_proto_goTypes = []interface{}{ + (ExecutionState)(0), // 0: flyteidl.admin.ExecutionState + (ExecutionMetadata_ExecutionMode)(0), // 1: flyteidl.admin.ExecutionMetadata.ExecutionMode + (*ExecutionCreateRequest)(nil), // 2: flyteidl.admin.ExecutionCreateRequest + (*ExecutionRelaunchRequest)(nil), // 3: flyteidl.admin.ExecutionRelaunchRequest + (*ExecutionRecoverRequest)(nil), // 4: flyteidl.admin.ExecutionRecoverRequest + (*ExecutionCreateResponse)(nil), // 5: flyteidl.admin.ExecutionCreateResponse + (*WorkflowExecutionGetRequest)(nil), // 6: flyteidl.admin.WorkflowExecutionGetRequest + (*Execution)(nil), // 7: flyteidl.admin.Execution + (*ExecutionList)(nil), // 8: flyteidl.admin.ExecutionList + (*LiteralMapBlob)(nil), // 9: flyteidl.admin.LiteralMapBlob + (*AbortMetadata)(nil), // 10: flyteidl.admin.AbortMetadata + (*ExecutionClosure)(nil), // 11: flyteidl.admin.ExecutionClosure + (*SystemMetadata)(nil), // 12: flyteidl.admin.SystemMetadata + (*ExecutionMetadata)(nil), // 13: flyteidl.admin.ExecutionMetadata + (*NotificationList)(nil), // 14: flyteidl.admin.NotificationList + (*ExecutionSpec)(nil), // 15: flyteidl.admin.ExecutionSpec + (*ExecutionTerminateRequest)(nil), // 16: flyteidl.admin.ExecutionTerminateRequest + (*ExecutionTerminateResponse)(nil), // 17: flyteidl.admin.ExecutionTerminateResponse + (*WorkflowExecutionGetDataRequest)(nil), // 18: flyteidl.admin.WorkflowExecutionGetDataRequest + (*WorkflowExecutionGetDataResponse)(nil), // 19: flyteidl.admin.WorkflowExecutionGetDataResponse + (*ExecutionUpdateRequest)(nil), // 20: flyteidl.admin.ExecutionUpdateRequest + (*ExecutionStateChangeDetails)(nil), // 21: flyteidl.admin.ExecutionStateChangeDetails + (*ExecutionUpdateResponse)(nil), // 22: flyteidl.admin.ExecutionUpdateResponse + (*WorkflowExecutionGetMetricsRequest)(nil), // 23: flyteidl.admin.WorkflowExecutionGetMetricsRequest + (*WorkflowExecutionGetMetricsResponse)(nil), // 24: flyteidl.admin.WorkflowExecutionGetMetricsResponse + (*core.LiteralMap)(nil), // 25: flyteidl.core.LiteralMap + (*core.WorkflowExecutionIdentifier)(nil), // 26: flyteidl.core.WorkflowExecutionIdentifier + (*core.ExecutionError)(nil), // 27: flyteidl.core.ExecutionError + (core.WorkflowExecution_Phase)(0), // 28: flyteidl.core.WorkflowExecution.Phase + (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 30: google.protobuf.Duration + (*Notification)(nil), // 31: flyteidl.admin.Notification + (*core.Identifier)(nil), // 32: flyteidl.core.Identifier + (*core.NodeExecutionIdentifier)(nil), // 33: flyteidl.core.NodeExecutionIdentifier + (*core.ArtifactID)(nil), // 34: flyteidl.core.ArtifactID + (*Labels)(nil), // 35: flyteidl.admin.Labels + (*Annotations)(nil), // 36: flyteidl.admin.Annotations + (*core.SecurityContext)(nil), // 37: flyteidl.core.SecurityContext + (*AuthRole)(nil), // 38: flyteidl.admin.AuthRole + (*core.QualityOfService)(nil), // 39: flyteidl.core.QualityOfService + (*RawOutputDataConfig)(nil), // 40: flyteidl.admin.RawOutputDataConfig + (*ClusterAssignment)(nil), // 41: flyteidl.admin.ClusterAssignment + (*wrapperspb.BoolValue)(nil), // 42: google.protobuf.BoolValue + (*Envs)(nil), // 43: flyteidl.admin.Envs + (*UrlBlob)(nil), // 44: flyteidl.admin.UrlBlob + (*core.Span)(nil), // 45: flyteidl.core.Span +} +var file_flyteidl_admin_execution_proto_depIdxs = []int32{ + 15, // 0: flyteidl.admin.ExecutionCreateRequest.spec:type_name -> flyteidl.admin.ExecutionSpec + 25, // 1: flyteidl.admin.ExecutionCreateRequest.inputs:type_name -> flyteidl.core.LiteralMap + 26, // 2: flyteidl.admin.ExecutionRelaunchRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 26, // 3: flyteidl.admin.ExecutionRecoverRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 13, // 4: flyteidl.admin.ExecutionRecoverRequest.metadata:type_name -> flyteidl.admin.ExecutionMetadata + 26, // 5: flyteidl.admin.ExecutionCreateResponse.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 26, // 6: flyteidl.admin.WorkflowExecutionGetRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 26, // 7: flyteidl.admin.Execution.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 15, // 8: flyteidl.admin.Execution.spec:type_name -> flyteidl.admin.ExecutionSpec + 11, // 9: flyteidl.admin.Execution.closure:type_name -> flyteidl.admin.ExecutionClosure + 7, // 10: flyteidl.admin.ExecutionList.executions:type_name -> flyteidl.admin.Execution + 25, // 11: flyteidl.admin.LiteralMapBlob.values:type_name -> flyteidl.core.LiteralMap + 9, // 12: flyteidl.admin.ExecutionClosure.outputs:type_name -> flyteidl.admin.LiteralMapBlob + 27, // 13: flyteidl.admin.ExecutionClosure.error:type_name -> flyteidl.core.ExecutionError + 10, // 14: flyteidl.admin.ExecutionClosure.abort_metadata:type_name -> flyteidl.admin.AbortMetadata + 25, // 15: flyteidl.admin.ExecutionClosure.output_data:type_name -> flyteidl.core.LiteralMap + 25, // 16: flyteidl.admin.ExecutionClosure.computed_inputs:type_name -> flyteidl.core.LiteralMap + 28, // 17: flyteidl.admin.ExecutionClosure.phase:type_name -> flyteidl.core.WorkflowExecution.Phase + 29, // 18: flyteidl.admin.ExecutionClosure.started_at:type_name -> google.protobuf.Timestamp + 30, // 19: flyteidl.admin.ExecutionClosure.duration:type_name -> google.protobuf.Duration + 29, // 20: flyteidl.admin.ExecutionClosure.created_at:type_name -> google.protobuf.Timestamp + 29, // 21: flyteidl.admin.ExecutionClosure.updated_at:type_name -> google.protobuf.Timestamp + 31, // 22: flyteidl.admin.ExecutionClosure.notifications:type_name -> flyteidl.admin.Notification + 32, // 23: flyteidl.admin.ExecutionClosure.workflow_id:type_name -> flyteidl.core.Identifier + 21, // 24: flyteidl.admin.ExecutionClosure.state_change_details:type_name -> flyteidl.admin.ExecutionStateChangeDetails + 1, // 25: flyteidl.admin.ExecutionMetadata.mode:type_name -> flyteidl.admin.ExecutionMetadata.ExecutionMode + 29, // 26: flyteidl.admin.ExecutionMetadata.scheduled_at:type_name -> google.protobuf.Timestamp + 33, // 27: flyteidl.admin.ExecutionMetadata.parent_node_execution:type_name -> flyteidl.core.NodeExecutionIdentifier + 26, // 28: flyteidl.admin.ExecutionMetadata.reference_execution:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 12, // 29: flyteidl.admin.ExecutionMetadata.system_metadata:type_name -> flyteidl.admin.SystemMetadata + 34, // 30: flyteidl.admin.ExecutionMetadata.artifact_ids:type_name -> flyteidl.core.ArtifactID + 31, // 31: flyteidl.admin.NotificationList.notifications:type_name -> flyteidl.admin.Notification + 32, // 32: flyteidl.admin.ExecutionSpec.launch_plan:type_name -> flyteidl.core.Identifier + 25, // 33: flyteidl.admin.ExecutionSpec.inputs:type_name -> flyteidl.core.LiteralMap + 13, // 34: flyteidl.admin.ExecutionSpec.metadata:type_name -> flyteidl.admin.ExecutionMetadata + 14, // 35: flyteidl.admin.ExecutionSpec.notifications:type_name -> flyteidl.admin.NotificationList + 35, // 36: flyteidl.admin.ExecutionSpec.labels:type_name -> flyteidl.admin.Labels + 36, // 37: flyteidl.admin.ExecutionSpec.annotations:type_name -> flyteidl.admin.Annotations + 37, // 38: flyteidl.admin.ExecutionSpec.security_context:type_name -> flyteidl.core.SecurityContext + 38, // 39: flyteidl.admin.ExecutionSpec.auth_role:type_name -> flyteidl.admin.AuthRole + 39, // 40: flyteidl.admin.ExecutionSpec.quality_of_service:type_name -> flyteidl.core.QualityOfService + 40, // 41: flyteidl.admin.ExecutionSpec.raw_output_data_config:type_name -> flyteidl.admin.RawOutputDataConfig + 41, // 42: flyteidl.admin.ExecutionSpec.cluster_assignment:type_name -> flyteidl.admin.ClusterAssignment + 42, // 43: flyteidl.admin.ExecutionSpec.interruptible:type_name -> google.protobuf.BoolValue + 43, // 44: flyteidl.admin.ExecutionSpec.envs:type_name -> flyteidl.admin.Envs + 26, // 45: flyteidl.admin.ExecutionTerminateRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 26, // 46: flyteidl.admin.WorkflowExecutionGetDataRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 44, // 47: flyteidl.admin.WorkflowExecutionGetDataResponse.outputs:type_name -> flyteidl.admin.UrlBlob + 44, // 48: flyteidl.admin.WorkflowExecutionGetDataResponse.inputs:type_name -> flyteidl.admin.UrlBlob + 25, // 49: flyteidl.admin.WorkflowExecutionGetDataResponse.full_inputs:type_name -> flyteidl.core.LiteralMap + 25, // 50: flyteidl.admin.WorkflowExecutionGetDataResponse.full_outputs:type_name -> flyteidl.core.LiteralMap + 26, // 51: flyteidl.admin.ExecutionUpdateRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 0, // 52: flyteidl.admin.ExecutionUpdateRequest.state:type_name -> flyteidl.admin.ExecutionState + 0, // 53: flyteidl.admin.ExecutionStateChangeDetails.state:type_name -> flyteidl.admin.ExecutionState + 29, // 54: flyteidl.admin.ExecutionStateChangeDetails.occurred_at:type_name -> google.protobuf.Timestamp + 26, // 55: flyteidl.admin.WorkflowExecutionGetMetricsRequest.id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 45, // 56: flyteidl.admin.WorkflowExecutionGetMetricsResponse.span:type_name -> flyteidl.core.Span + 57, // [57:57] is the sub-list for method output_type + 57, // [57:57] is the sub-list for method input_type + 57, // [57:57] is the sub-list for extension type_name + 57, // [57:57] is the sub-list for extension extendee + 0, // [0:57] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_execution_proto_init() } +func file_flyteidl_admin_execution_proto_init() { + if File_flyteidl_admin_execution_proto != nil { + return + } + file_flyteidl_admin_cluster_assignment_proto_init() + file_flyteidl_admin_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_execution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionRelaunchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionRecoverRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Execution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LiteralMapBlob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbortMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SystemMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotificationList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionTerminateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionTerminateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionGetDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionGetDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionStateChangeDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionGetMetricsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_execution_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionGetMetricsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_execution_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*LiteralMapBlob_Values)(nil), + (*LiteralMapBlob_Uri)(nil), + } + file_flyteidl_admin_execution_proto_msgTypes[9].OneofWrappers = []interface{}{ + (*ExecutionClosure_Outputs)(nil), + (*ExecutionClosure_Error)(nil), + (*ExecutionClosure_AbortCause)(nil), + (*ExecutionClosure_AbortMetadata)(nil), + (*ExecutionClosure_OutputData)(nil), + } + file_flyteidl_admin_execution_proto_msgTypes[13].OneofWrappers = []interface{}{ + (*ExecutionSpec_Notifications)(nil), + (*ExecutionSpec_DisableAll)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_execution_proto_rawDesc, + NumEnums: 2, + NumMessages: 23, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_execution_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_execution_proto_depIdxs, + EnumInfos: file_flyteidl_admin_execution_proto_enumTypes, + MessageInfos: file_flyteidl_admin_execution_proto_msgTypes, + }.Build() + File_flyteidl_admin_execution_proto = out.File + file_flyteidl_admin_execution_proto_rawDesc = nil + file_flyteidl_admin_execution_proto_goTypes = nil + file_flyteidl_admin_execution_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/execution.swagger.json deleted file mode 100644 index c689c48651..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/execution.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go index 1a5a48e613..1bbd7a29e1 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go @@ -1,28 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/launch_plan.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // By default any launch plan regardless of state can be used to launch a workflow execution. // However, at most one version of a launch plan @@ -36,165 +36,209 @@ const ( LaunchPlanState_ACTIVE LaunchPlanState = 1 ) -var LaunchPlanState_name = map[int32]string{ - 0: "INACTIVE", - 1: "ACTIVE", -} +// Enum value maps for LaunchPlanState. +var ( + LaunchPlanState_name = map[int32]string{ + 0: "INACTIVE", + 1: "ACTIVE", + } + LaunchPlanState_value = map[string]int32{ + "INACTIVE": 0, + "ACTIVE": 1, + } +) -var LaunchPlanState_value = map[string]int32{ - "INACTIVE": 0, - "ACTIVE": 1, +func (x LaunchPlanState) Enum() *LaunchPlanState { + p := new(LaunchPlanState) + *p = x + return p } func (x LaunchPlanState) String() string { - return proto.EnumName(LaunchPlanState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (LaunchPlanState) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_launch_plan_proto_enumTypes[0].Descriptor() +} + +func (LaunchPlanState) Type() protoreflect.EnumType { + return &file_flyteidl_admin_launch_plan_proto_enumTypes[0] +} + +func (x LaunchPlanState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LaunchPlanState.Descriptor instead. func (LaunchPlanState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{0} + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{0} } // Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required // to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to // set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. type LaunchPlanCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Uniquely identifies a launch plan entity. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User-provided launch plan details, including reference workflow, inputs and other metadata. - Spec *LaunchPlanSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec *LaunchPlanSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *LaunchPlanCreateRequest) Reset() { *m = LaunchPlanCreateRequest{} } -func (m *LaunchPlanCreateRequest) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanCreateRequest) ProtoMessage() {} -func (*LaunchPlanCreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{0} +func (x *LaunchPlanCreateRequest) Reset() { + *x = LaunchPlanCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanCreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanCreateRequest.Unmarshal(m, b) -} -func (m *LaunchPlanCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanCreateRequest.Marshal(b, m, deterministic) -} -func (m *LaunchPlanCreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanCreateRequest.Merge(m, src) +func (x *LaunchPlanCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanCreateRequest) XXX_Size() int { - return xxx_messageInfo_LaunchPlanCreateRequest.Size(m) -} -func (m *LaunchPlanCreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanCreateRequest.DiscardUnknown(m) + +func (*LaunchPlanCreateRequest) ProtoMessage() {} + +func (x *LaunchPlanCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanCreateRequest proto.InternalMessageInfo +// Deprecated: Use LaunchPlanCreateRequest.ProtoReflect.Descriptor instead. +func (*LaunchPlanCreateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{0} +} -func (m *LaunchPlanCreateRequest) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *LaunchPlanCreateRequest) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *LaunchPlanCreateRequest) GetSpec() *LaunchPlanSpec { - if m != nil { - return m.Spec +func (x *LaunchPlanCreateRequest) GetSpec() *LaunchPlanSpec { + if x != nil { + return x.Spec } return nil } type LaunchPlanCreateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *LaunchPlanCreateResponse) Reset() { *m = LaunchPlanCreateResponse{} } -func (m *LaunchPlanCreateResponse) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanCreateResponse) ProtoMessage() {} -func (*LaunchPlanCreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{1} +func (x *LaunchPlanCreateResponse) Reset() { + *x = LaunchPlanCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanCreateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanCreateResponse.Unmarshal(m, b) -} -func (m *LaunchPlanCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanCreateResponse.Marshal(b, m, deterministic) +func (x *LaunchPlanCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanCreateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanCreateResponse.Merge(m, src) -} -func (m *LaunchPlanCreateResponse) XXX_Size() int { - return xxx_messageInfo_LaunchPlanCreateResponse.Size(m) -} -func (m *LaunchPlanCreateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanCreateResponse.DiscardUnknown(m) + +func (*LaunchPlanCreateResponse) ProtoMessage() {} + +func (x *LaunchPlanCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanCreateResponse proto.InternalMessageInfo +// Deprecated: Use LaunchPlanCreateResponse.ProtoReflect.Descriptor instead. +func (*LaunchPlanCreateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{1} +} // A LaunchPlan provides the capability to templatize workflow executions. // Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. // Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow // definition doesn't necessarily have a default value for said input. type LaunchPlan struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Uniquely identifies a launch plan entity. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User-provided launch plan details, including reference workflow, inputs and other metadata. Spec *LaunchPlanSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // Values computed by the flyte platform after launch plan registration. - Closure *LaunchPlanClosure `protobuf:"bytes,3,opt,name=closure,proto3" json:"closure,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Closure *LaunchPlanClosure `protobuf:"bytes,3,opt,name=closure,proto3" json:"closure,omitempty"` } -func (m *LaunchPlan) Reset() { *m = LaunchPlan{} } -func (m *LaunchPlan) String() string { return proto.CompactTextString(m) } -func (*LaunchPlan) ProtoMessage() {} -func (*LaunchPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{2} +func (x *LaunchPlan) Reset() { + *x = LaunchPlan{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlan) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlan.Unmarshal(m, b) -} -func (m *LaunchPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlan.Marshal(b, m, deterministic) -} -func (m *LaunchPlan) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlan.Merge(m, src) +func (x *LaunchPlan) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlan) XXX_Size() int { - return xxx_messageInfo_LaunchPlan.Size(m) -} -func (m *LaunchPlan) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlan.DiscardUnknown(m) + +func (*LaunchPlan) ProtoMessage() {} + +func (x *LaunchPlan) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlan proto.InternalMessageInfo +// Deprecated: Use LaunchPlan.ProtoReflect.Descriptor instead. +func (*LaunchPlan) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{2} +} -func (m *LaunchPlan) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *LaunchPlan) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *LaunchPlan) GetSpec() *LaunchPlanSpec { - if m != nil { - return m.Spec +func (x *LaunchPlan) GetSpec() *LaunchPlanSpec { + if x != nil { + return x.Spec } return nil } -func (m *LaunchPlan) GetClosure() *LaunchPlanClosure { - if m != nil { - return m.Closure +func (x *LaunchPlan) GetClosure() *LaunchPlanClosure { + if x != nil { + return x.Closure } return nil } @@ -202,50 +246,58 @@ func (m *LaunchPlan) GetClosure() *LaunchPlanClosure { // Response object for list launch plan requests. // See :ref:`ref_flyteidl.admin.LaunchPlan` for more details type LaunchPlanList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + LaunchPlans []*LaunchPlan `protobuf:"bytes,1,rep,name=launch_plans,json=launchPlans,proto3" json:"launch_plans,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *LaunchPlanList) Reset() { *m = LaunchPlanList{} } -func (m *LaunchPlanList) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanList) ProtoMessage() {} -func (*LaunchPlanList) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{3} +func (x *LaunchPlanList) Reset() { + *x = LaunchPlanList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanList.Unmarshal(m, b) -} -func (m *LaunchPlanList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanList.Marshal(b, m, deterministic) -} -func (m *LaunchPlanList) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanList.Merge(m, src) -} -func (m *LaunchPlanList) XXX_Size() int { - return xxx_messageInfo_LaunchPlanList.Size(m) +func (x *LaunchPlanList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanList) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanList.DiscardUnknown(m) + +func (*LaunchPlanList) ProtoMessage() {} + +func (x *LaunchPlanList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanList proto.InternalMessageInfo +// Deprecated: Use LaunchPlanList.ProtoReflect.Descriptor instead. +func (*LaunchPlanList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{3} +} -func (m *LaunchPlanList) GetLaunchPlans() []*LaunchPlan { - if m != nil { - return m.LaunchPlans +func (x *LaunchPlanList) GetLaunchPlans() []*LaunchPlan { + if x != nil { + return x.LaunchPlans } return nil } -func (m *LaunchPlanList) GetToken() string { - if m != nil { - return m.Token +func (x *LaunchPlanList) GetToken() string { + if x != nil { + return x.Token } return "" } @@ -254,58 +306,70 @@ func (m *LaunchPlanList) GetToken() string { // Use either of these roles when they have permissions required by your workflow execution. // Deprecated. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/admin/launch_plan.proto. type Auth struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. AssumableIamRole string `protobuf:"bytes,1,opt,name=assumable_iam_role,json=assumableIamRole,proto3" json:"assumable_iam_role,omitempty"` // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - KubernetesServiceAccount string `protobuf:"bytes,2,opt,name=kubernetes_service_account,json=kubernetesServiceAccount,proto3" json:"kubernetes_service_account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KubernetesServiceAccount string `protobuf:"bytes,2,opt,name=kubernetes_service_account,json=kubernetesServiceAccount,proto3" json:"kubernetes_service_account,omitempty"` } -func (m *Auth) Reset() { *m = Auth{} } -func (m *Auth) String() string { return proto.CompactTextString(m) } -func (*Auth) ProtoMessage() {} -func (*Auth) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{4} +func (x *Auth) Reset() { + *x = Auth{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Auth) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Auth.Unmarshal(m, b) -} -func (m *Auth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Auth.Marshal(b, m, deterministic) +func (x *Auth) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Auth) XXX_Merge(src proto.Message) { - xxx_messageInfo_Auth.Merge(m, src) -} -func (m *Auth) XXX_Size() int { - return xxx_messageInfo_Auth.Size(m) -} -func (m *Auth) XXX_DiscardUnknown() { - xxx_messageInfo_Auth.DiscardUnknown(m) + +func (*Auth) ProtoMessage() {} + +func (x *Auth) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Auth proto.InternalMessageInfo +// Deprecated: Use Auth.ProtoReflect.Descriptor instead. +func (*Auth) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{4} +} -func (m *Auth) GetAssumableIamRole() string { - if m != nil { - return m.AssumableIamRole +func (x *Auth) GetAssumableIamRole() string { + if x != nil { + return x.AssumableIamRole } return "" } -func (m *Auth) GetKubernetesServiceAccount() string { - if m != nil { - return m.KubernetesServiceAccount +func (x *Auth) GetKubernetesServiceAccount() string { + if x != nil { + return x.KubernetesServiceAccount } return "" } // User-provided launch plan definition and configuration values. type LaunchPlanSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Reference to the Workflow template that the launch plan references WorkflowId *core.Identifier `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // Metadata for the Launch Plan @@ -317,14 +381,19 @@ type LaunchPlanSpec struct { // These can not be overridden when an execution is created with this launch plan. FixedInputs *core.LiteralMap `protobuf:"bytes,4,opt,name=fixed_inputs,json=fixedInputs,proto3" json:"fixed_inputs,omitempty"` // String to indicate the role to use to execute the workflow underneath - Role string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/launch_plan.proto. + Role string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"` // Custom labels to be applied to the execution resource. Labels *Labels `protobuf:"bytes,6,opt,name=labels,proto3" json:"labels,omitempty"` // Custom annotations to be applied to the execution resource. Annotations *Annotations `protobuf:"bytes,7,opt,name=annotations,proto3" json:"annotations,omitempty"` // Indicates the permission associated with workflow executions triggered with this launch plan. - Auth *Auth `protobuf:"bytes,8,opt,name=auth,proto3" json:"auth,omitempty"` // Deprecated: Do not use. - AuthRole *AuthRole `protobuf:"bytes,9,opt,name=auth_role,json=authRole,proto3" json:"auth_role,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/launch_plan.proto. + Auth *Auth `protobuf:"bytes,8,opt,name=auth,proto3" json:"auth,omitempty"` + // Deprecated: Marked as deprecated in flyteidl/admin/launch_plan.proto. + AuthRole *AuthRole `protobuf:"bytes,9,opt,name=auth_role,json=authRole,proto3" json:"auth_role,omitempty"` // Indicates security context for permissions triggered with this launch plan SecurityContext *core.SecurityContext `protobuf:"bytes,10,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` // Indicates the runtime priority of the execution. @@ -339,154 +408,158 @@ type LaunchPlanSpec struct { // Omitting this field uses the workflow's value as a default. // As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper // around the bool field. - Interruptible *wrappers.BoolValue `protobuf:"bytes,19,opt,name=interruptible,proto3" json:"interruptible,omitempty"` + Interruptible *wrapperspb.BoolValue `protobuf:"bytes,19,opt,name=interruptible,proto3" json:"interruptible,omitempty"` // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. OverwriteCache bool `protobuf:"varint,20,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` // Environment variables to be set for the execution. - Envs *Envs `protobuf:"bytes,21,opt,name=envs,proto3" json:"envs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Envs *Envs `protobuf:"bytes,21,opt,name=envs,proto3" json:"envs,omitempty"` } -func (m *LaunchPlanSpec) Reset() { *m = LaunchPlanSpec{} } -func (m *LaunchPlanSpec) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanSpec) ProtoMessage() {} -func (*LaunchPlanSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{5} +func (x *LaunchPlanSpec) Reset() { + *x = LaunchPlanSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanSpec.Unmarshal(m, b) -} -func (m *LaunchPlanSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanSpec.Marshal(b, m, deterministic) -} -func (m *LaunchPlanSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanSpec.Merge(m, src) -} -func (m *LaunchPlanSpec) XXX_Size() int { - return xxx_messageInfo_LaunchPlanSpec.Size(m) +func (x *LaunchPlanSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanSpec) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanSpec.DiscardUnknown(m) + +func (*LaunchPlanSpec) ProtoMessage() {} + +func (x *LaunchPlanSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanSpec proto.InternalMessageInfo +// Deprecated: Use LaunchPlanSpec.ProtoReflect.Descriptor instead. +func (*LaunchPlanSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{5} +} -func (m *LaunchPlanSpec) GetWorkflowId() *core.Identifier { - if m != nil { - return m.WorkflowId +func (x *LaunchPlanSpec) GetWorkflowId() *core.Identifier { + if x != nil { + return x.WorkflowId } return nil } -func (m *LaunchPlanSpec) GetEntityMetadata() *LaunchPlanMetadata { - if m != nil { - return m.EntityMetadata +func (x *LaunchPlanSpec) GetEntityMetadata() *LaunchPlanMetadata { + if x != nil { + return x.EntityMetadata } return nil } -func (m *LaunchPlanSpec) GetDefaultInputs() *core.ParameterMap { - if m != nil { - return m.DefaultInputs +func (x *LaunchPlanSpec) GetDefaultInputs() *core.ParameterMap { + if x != nil { + return x.DefaultInputs } return nil } -func (m *LaunchPlanSpec) GetFixedInputs() *core.LiteralMap { - if m != nil { - return m.FixedInputs +func (x *LaunchPlanSpec) GetFixedInputs() *core.LiteralMap { + if x != nil { + return x.FixedInputs } return nil } -// Deprecated: Do not use. -func (m *LaunchPlanSpec) GetRole() string { - if m != nil { - return m.Role +// Deprecated: Marked as deprecated in flyteidl/admin/launch_plan.proto. +func (x *LaunchPlanSpec) GetRole() string { + if x != nil { + return x.Role } return "" } -func (m *LaunchPlanSpec) GetLabels() *Labels { - if m != nil { - return m.Labels +func (x *LaunchPlanSpec) GetLabels() *Labels { + if x != nil { + return x.Labels } return nil } -func (m *LaunchPlanSpec) GetAnnotations() *Annotations { - if m != nil { - return m.Annotations +func (x *LaunchPlanSpec) GetAnnotations() *Annotations { + if x != nil { + return x.Annotations } return nil } -// Deprecated: Do not use. -func (m *LaunchPlanSpec) GetAuth() *Auth { - if m != nil { - return m.Auth +// Deprecated: Marked as deprecated in flyteidl/admin/launch_plan.proto. +func (x *LaunchPlanSpec) GetAuth() *Auth { + if x != nil { + return x.Auth } return nil } -// Deprecated: Do not use. -func (m *LaunchPlanSpec) GetAuthRole() *AuthRole { - if m != nil { - return m.AuthRole +// Deprecated: Marked as deprecated in flyteidl/admin/launch_plan.proto. +func (x *LaunchPlanSpec) GetAuthRole() *AuthRole { + if x != nil { + return x.AuthRole } return nil } -func (m *LaunchPlanSpec) GetSecurityContext() *core.SecurityContext { - if m != nil { - return m.SecurityContext +func (x *LaunchPlanSpec) GetSecurityContext() *core.SecurityContext { + if x != nil { + return x.SecurityContext } return nil } -func (m *LaunchPlanSpec) GetQualityOfService() *core.QualityOfService { - if m != nil { - return m.QualityOfService +func (x *LaunchPlanSpec) GetQualityOfService() *core.QualityOfService { + if x != nil { + return x.QualityOfService } return nil } -func (m *LaunchPlanSpec) GetRawOutputDataConfig() *RawOutputDataConfig { - if m != nil { - return m.RawOutputDataConfig +func (x *LaunchPlanSpec) GetRawOutputDataConfig() *RawOutputDataConfig { + if x != nil { + return x.RawOutputDataConfig } return nil } -func (m *LaunchPlanSpec) GetMaxParallelism() int32 { - if m != nil { - return m.MaxParallelism +func (x *LaunchPlanSpec) GetMaxParallelism() int32 { + if x != nil { + return x.MaxParallelism } return 0 } -func (m *LaunchPlanSpec) GetInterruptible() *wrappers.BoolValue { - if m != nil { - return m.Interruptible +func (x *LaunchPlanSpec) GetInterruptible() *wrapperspb.BoolValue { + if x != nil { + return x.Interruptible } return nil } -func (m *LaunchPlanSpec) GetOverwriteCache() bool { - if m != nil { - return m.OverwriteCache +func (x *LaunchPlanSpec) GetOverwriteCache() bool { + if x != nil { + return x.OverwriteCache } return false } -func (m *LaunchPlanSpec) GetEnvs() *Envs { - if m != nil { - return m.Envs +func (x *LaunchPlanSpec) GetEnvs() *Envs { + if x != nil { + return x.Envs } return nil } @@ -495,6 +568,10 @@ func (m *LaunchPlanSpec) GetEnvs() *Envs { // These include expected_inputs required to be present in a CreateExecutionRequest // to launch the reference workflow as well timestamp values associated with the launch plan. type LaunchPlanClosure struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicate the Launch plan state. State LaunchPlanState `protobuf:"varint,1,opt,name=state,proto3,enum=flyteidl.admin.LaunchPlanState" json:"state,omitempty"` // Indicates the set of inputs expected when creating an execution with the Launch plan @@ -502,70 +579,74 @@ type LaunchPlanClosure struct { // Indicates the set of outputs expected to be produced by creating an execution with the Launch plan ExpectedOutputs *core.VariableMap `protobuf:"bytes,3,opt,name=expected_outputs,json=expectedOutputs,proto3" json:"expected_outputs,omitempty"` // Time at which the launch plan was created. - CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Time at which the launch plan was last updated. - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` } -func (m *LaunchPlanClosure) Reset() { *m = LaunchPlanClosure{} } -func (m *LaunchPlanClosure) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanClosure) ProtoMessage() {} -func (*LaunchPlanClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{6} +func (x *LaunchPlanClosure) Reset() { + *x = LaunchPlanClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanClosure.Unmarshal(m, b) -} -func (m *LaunchPlanClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanClosure.Marshal(b, m, deterministic) -} -func (m *LaunchPlanClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanClosure.Merge(m, src) +func (x *LaunchPlanClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanClosure) XXX_Size() int { - return xxx_messageInfo_LaunchPlanClosure.Size(m) -} -func (m *LaunchPlanClosure) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanClosure.DiscardUnknown(m) + +func (*LaunchPlanClosure) ProtoMessage() {} + +func (x *LaunchPlanClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanClosure proto.InternalMessageInfo +// Deprecated: Use LaunchPlanClosure.ProtoReflect.Descriptor instead. +func (*LaunchPlanClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{6} +} -func (m *LaunchPlanClosure) GetState() LaunchPlanState { - if m != nil { - return m.State +func (x *LaunchPlanClosure) GetState() LaunchPlanState { + if x != nil { + return x.State } return LaunchPlanState_INACTIVE } -func (m *LaunchPlanClosure) GetExpectedInputs() *core.ParameterMap { - if m != nil { - return m.ExpectedInputs +func (x *LaunchPlanClosure) GetExpectedInputs() *core.ParameterMap { + if x != nil { + return x.ExpectedInputs } return nil } -func (m *LaunchPlanClosure) GetExpectedOutputs() *core.VariableMap { - if m != nil { - return m.ExpectedOutputs +func (x *LaunchPlanClosure) GetExpectedOutputs() *core.VariableMap { + if x != nil { + return x.ExpectedOutputs } return nil } -func (m *LaunchPlanClosure) GetCreatedAt() *timestamp.Timestamp { - if m != nil { - return m.CreatedAt +func (x *LaunchPlanClosure) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt } return nil } -func (m *LaunchPlanClosure) GetUpdatedAt() *timestamp.Timestamp { - if m != nil { - return m.UpdatedAt +func (x *LaunchPlanClosure) GetUpdatedAt() *timestamppb.Timestamp { + if x != nil { + return x.UpdatedAt } return nil } @@ -573,59 +654,67 @@ func (m *LaunchPlanClosure) GetUpdatedAt() *timestamp.Timestamp { // Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch // the reference workflow. type LaunchPlanMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Schedule to execute the Launch Plan Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` // List of notifications based on Execution status transitions Notifications []*Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` // Additional metadata for how to launch the launch plan - LaunchConditions *any.Any `protobuf:"bytes,3,opt,name=launch_conditions,json=launchConditions,proto3" json:"launch_conditions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LaunchConditions *anypb.Any `protobuf:"bytes,3,opt,name=launch_conditions,json=launchConditions,proto3" json:"launch_conditions,omitempty"` } -func (m *LaunchPlanMetadata) Reset() { *m = LaunchPlanMetadata{} } -func (m *LaunchPlanMetadata) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanMetadata) ProtoMessage() {} -func (*LaunchPlanMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{7} +func (x *LaunchPlanMetadata) Reset() { + *x = LaunchPlanMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanMetadata.Unmarshal(m, b) +func (x *LaunchPlanMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanMetadata.Marshal(b, m, deterministic) -} -func (m *LaunchPlanMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanMetadata.Merge(m, src) -} -func (m *LaunchPlanMetadata) XXX_Size() int { - return xxx_messageInfo_LaunchPlanMetadata.Size(m) -} -func (m *LaunchPlanMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanMetadata.DiscardUnknown(m) + +func (*LaunchPlanMetadata) ProtoMessage() {} + +func (x *LaunchPlanMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanMetadata proto.InternalMessageInfo +// Deprecated: Use LaunchPlanMetadata.ProtoReflect.Descriptor instead. +func (*LaunchPlanMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{7} +} -func (m *LaunchPlanMetadata) GetSchedule() *Schedule { - if m != nil { - return m.Schedule +func (x *LaunchPlanMetadata) GetSchedule() *Schedule { + if x != nil { + return x.Schedule } return nil } -func (m *LaunchPlanMetadata) GetNotifications() []*Notification { - if m != nil { - return m.Notifications +func (x *LaunchPlanMetadata) GetNotifications() []*Notification { + if x != nil { + return x.Notifications } return nil } -func (m *LaunchPlanMetadata) GetLaunchConditions() *any.Any { - if m != nil { - return m.LaunchConditions +func (x *LaunchPlanMetadata) GetLaunchConditions() *anypb.Any { + if x != nil { + return x.LaunchConditions } return nil } @@ -633,126 +722,149 @@ func (m *LaunchPlanMetadata) GetLaunchConditions() *any.Any { // Request to set the referenced launch plan state to the configured value. // See :ref:`ref_flyteidl.admin.LaunchPlan` for more details type LaunchPlanUpdateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifier of launch plan for which to change state. // +required. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Desired state to apply to the launch plan. // +required. - State LaunchPlanState `protobuf:"varint,2,opt,name=state,proto3,enum=flyteidl.admin.LaunchPlanState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + State LaunchPlanState `protobuf:"varint,2,opt,name=state,proto3,enum=flyteidl.admin.LaunchPlanState" json:"state,omitempty"` } -func (m *LaunchPlanUpdateRequest) Reset() { *m = LaunchPlanUpdateRequest{} } -func (m *LaunchPlanUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanUpdateRequest) ProtoMessage() {} -func (*LaunchPlanUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{8} +func (x *LaunchPlanUpdateRequest) Reset() { + *x = LaunchPlanUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanUpdateRequest.Unmarshal(m, b) -} -func (m *LaunchPlanUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanUpdateRequest.Marshal(b, m, deterministic) -} -func (m *LaunchPlanUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanUpdateRequest.Merge(m, src) -} -func (m *LaunchPlanUpdateRequest) XXX_Size() int { - return xxx_messageInfo_LaunchPlanUpdateRequest.Size(m) +func (x *LaunchPlanUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanUpdateRequest.DiscardUnknown(m) + +func (*LaunchPlanUpdateRequest) ProtoMessage() {} + +func (x *LaunchPlanUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanUpdateRequest proto.InternalMessageInfo +// Deprecated: Use LaunchPlanUpdateRequest.ProtoReflect.Descriptor instead. +func (*LaunchPlanUpdateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{8} +} -func (m *LaunchPlanUpdateRequest) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *LaunchPlanUpdateRequest) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *LaunchPlanUpdateRequest) GetState() LaunchPlanState { - if m != nil { - return m.State +func (x *LaunchPlanUpdateRequest) GetState() LaunchPlanState { + if x != nil { + return x.State } return LaunchPlanState_INACTIVE } // Purposefully empty, may be populated in the future. type LaunchPlanUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *LaunchPlanUpdateResponse) Reset() { *m = LaunchPlanUpdateResponse{} } -func (m *LaunchPlanUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*LaunchPlanUpdateResponse) ProtoMessage() {} -func (*LaunchPlanUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{9} +func (x *LaunchPlanUpdateResponse) Reset() { + *x = LaunchPlanUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LaunchPlanUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LaunchPlanUpdateResponse.Unmarshal(m, b) -} -func (m *LaunchPlanUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LaunchPlanUpdateResponse.Marshal(b, m, deterministic) -} -func (m *LaunchPlanUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LaunchPlanUpdateResponse.Merge(m, src) +func (x *LaunchPlanUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LaunchPlanUpdateResponse) XXX_Size() int { - return xxx_messageInfo_LaunchPlanUpdateResponse.Size(m) -} -func (m *LaunchPlanUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LaunchPlanUpdateResponse.DiscardUnknown(m) + +func (*LaunchPlanUpdateResponse) ProtoMessage() {} + +func (x *LaunchPlanUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LaunchPlanUpdateResponse proto.InternalMessageInfo +// Deprecated: Use LaunchPlanUpdateResponse.ProtoReflect.Descriptor instead. +func (*LaunchPlanUpdateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{9} +} // Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier // See :ref:`ref_flyteidl.admin.LaunchPlan` for more details type ActiveLaunchPlanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // +required. - Id *NamedEntityIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *NamedEntityIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *ActiveLaunchPlanRequest) Reset() { *m = ActiveLaunchPlanRequest{} } -func (m *ActiveLaunchPlanRequest) String() string { return proto.CompactTextString(m) } -func (*ActiveLaunchPlanRequest) ProtoMessage() {} -func (*ActiveLaunchPlanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{10} +func (x *ActiveLaunchPlanRequest) Reset() { + *x = ActiveLaunchPlanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ActiveLaunchPlanRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ActiveLaunchPlanRequest.Unmarshal(m, b) -} -func (m *ActiveLaunchPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ActiveLaunchPlanRequest.Marshal(b, m, deterministic) +func (x *ActiveLaunchPlanRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ActiveLaunchPlanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActiveLaunchPlanRequest.Merge(m, src) -} -func (m *ActiveLaunchPlanRequest) XXX_Size() int { - return xxx_messageInfo_ActiveLaunchPlanRequest.Size(m) -} -func (m *ActiveLaunchPlanRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ActiveLaunchPlanRequest.DiscardUnknown(m) + +func (*ActiveLaunchPlanRequest) ProtoMessage() {} + +func (x *ActiveLaunchPlanRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ActiveLaunchPlanRequest proto.InternalMessageInfo +// Deprecated: Use ActiveLaunchPlanRequest.ProtoReflect.Descriptor instead. +func (*ActiveLaunchPlanRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{10} +} -func (m *ActiveLaunchPlanRequest) GetId() *NamedEntityIdentifier { - if m != nil { - return m.Id +func (x *ActiveLaunchPlanRequest) GetId() *NamedEntityIdentifier { + if x != nil { + return x.Id } return nil } @@ -760,6 +872,10 @@ func (m *ActiveLaunchPlanRequest) GetId() *NamedEntityIdentifier { // Represents a request structure to list active launch plans within a project/domain and optional org. // See :ref:`ref_flyteidl.admin.LaunchPlan` for more details type ActiveLaunchPlanListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the project that contains the identifiers. // +required. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -777,172 +893,537 @@ type ActiveLaunchPlanListRequest struct { // +optional SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ActiveLaunchPlanListRequest) Reset() { *m = ActiveLaunchPlanListRequest{} } -func (m *ActiveLaunchPlanListRequest) String() string { return proto.CompactTextString(m) } -func (*ActiveLaunchPlanListRequest) ProtoMessage() {} -func (*ActiveLaunchPlanListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_368a863574f5e699, []int{11} +func (x *ActiveLaunchPlanListRequest) Reset() { + *x = ActiveLaunchPlanListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ActiveLaunchPlanListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ActiveLaunchPlanListRequest.Unmarshal(m, b) -} -func (m *ActiveLaunchPlanListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ActiveLaunchPlanListRequest.Marshal(b, m, deterministic) -} -func (m *ActiveLaunchPlanListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActiveLaunchPlanListRequest.Merge(m, src) -} -func (m *ActiveLaunchPlanListRequest) XXX_Size() int { - return xxx_messageInfo_ActiveLaunchPlanListRequest.Size(m) +func (x *ActiveLaunchPlanListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ActiveLaunchPlanListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ActiveLaunchPlanListRequest.DiscardUnknown(m) + +func (*ActiveLaunchPlanListRequest) ProtoMessage() {} + +func (x *ActiveLaunchPlanListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_launch_plan_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ActiveLaunchPlanListRequest proto.InternalMessageInfo +// Deprecated: Use ActiveLaunchPlanListRequest.ProtoReflect.Descriptor instead. +func (*ActiveLaunchPlanListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_launch_plan_proto_rawDescGZIP(), []int{11} +} -func (m *ActiveLaunchPlanListRequest) GetProject() string { - if m != nil { - return m.Project +func (x *ActiveLaunchPlanListRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ActiveLaunchPlanListRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *ActiveLaunchPlanListRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *ActiveLaunchPlanListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *ActiveLaunchPlanListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *ActiveLaunchPlanListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *ActiveLaunchPlanListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *ActiveLaunchPlanListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *ActiveLaunchPlanListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } -func (m *ActiveLaunchPlanListRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ActiveLaunchPlanListRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } -func init() { - proto.RegisterEnum("flyteidl.admin.LaunchPlanState", LaunchPlanState_name, LaunchPlanState_value) - proto.RegisterType((*LaunchPlanCreateRequest)(nil), "flyteidl.admin.LaunchPlanCreateRequest") - proto.RegisterType((*LaunchPlanCreateResponse)(nil), "flyteidl.admin.LaunchPlanCreateResponse") - proto.RegisterType((*LaunchPlan)(nil), "flyteidl.admin.LaunchPlan") - proto.RegisterType((*LaunchPlanList)(nil), "flyteidl.admin.LaunchPlanList") - proto.RegisterType((*Auth)(nil), "flyteidl.admin.Auth") - proto.RegisterType((*LaunchPlanSpec)(nil), "flyteidl.admin.LaunchPlanSpec") - proto.RegisterType((*LaunchPlanClosure)(nil), "flyteidl.admin.LaunchPlanClosure") - proto.RegisterType((*LaunchPlanMetadata)(nil), "flyteidl.admin.LaunchPlanMetadata") - proto.RegisterType((*LaunchPlanUpdateRequest)(nil), "flyteidl.admin.LaunchPlanUpdateRequest") - proto.RegisterType((*LaunchPlanUpdateResponse)(nil), "flyteidl.admin.LaunchPlanUpdateResponse") - proto.RegisterType((*ActiveLaunchPlanRequest)(nil), "flyteidl.admin.ActiveLaunchPlanRequest") - proto.RegisterType((*ActiveLaunchPlanListRequest)(nil), "flyteidl.admin.ActiveLaunchPlanListRequest") -} - -func init() { proto.RegisterFile("flyteidl/admin/launch_plan.proto", fileDescriptor_368a863574f5e699) } - -var fileDescriptor_368a863574f5e699 = []byte{ - // 1195 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdb, 0x72, 0xdb, 0x36, - 0x13, 0xfe, 0x25, 0xcb, 0xa7, 0x75, 0x2c, 0x2b, 0x48, 0x7e, 0x87, 0x51, 0xf2, 0x27, 0xfe, 0xd5, - 0xe9, 0xd4, 0x6d, 0x13, 0x69, 0x26, 0x6d, 0x2e, 0x72, 0x9a, 0xa9, 0xac, 0xf8, 0x42, 0xd3, 0x1c, - 0x5c, 0x38, 0xcd, 0x74, 0x7a, 0xc3, 0x81, 0xc8, 0x95, 0x84, 0x06, 0x24, 0x18, 0x00, 0xb4, 0xe5, - 0xe9, 0x0b, 0xf5, 0x21, 0xda, 0x47, 0xe8, 0x45, 0xdf, 0xa8, 0x43, 0x10, 0xa4, 0x24, 0xca, 0x99, - 0xb4, 0x9d, 0xe9, 0x15, 0x09, 0xec, 0xf7, 0x2d, 0x76, 0x17, 0x7b, 0x00, 0x1c, 0x8c, 0xc5, 0x85, - 0x41, 0x1e, 0x8a, 0x1e, 0x0b, 0x23, 0x1e, 0xf7, 0x04, 0x4b, 0xe3, 0x60, 0xea, 0x27, 0x82, 0xc5, - 0xdd, 0x44, 0x49, 0x23, 0x49, 0xb3, 0x40, 0x74, 0x2d, 0xa2, 0xfd, 0xbf, 0x92, 0x11, 0x48, 0x85, - 0x3d, 0x9c, 0x61, 0x90, 0x1a, 0x2e, 0x1d, 0xbc, 0x7d, 0x7b, 0x59, 0x2c, 0xb8, 0x41, 0xc5, 0x84, - 0x76, 0xd2, 0x3b, 0xcb, 0x52, 0x1e, 0x62, 0x6c, 0xf8, 0x98, 0xa3, 0x72, 0xf2, 0x8a, 0x72, 0x1e, - 0x1b, 0x54, 0x63, 0x16, 0xe0, 0xe5, 0xca, 0x35, 0x06, 0xa9, 0xe2, 0xe6, 0x62, 0x85, 0x9c, 0xfb, - 0xa2, 0x83, 0x29, 0x86, 0xa9, 0x28, 0xc8, 0xb7, 0x2a, 0xe2, 0x40, 0x46, 0x51, 0x69, 0xf6, 0xcd, - 0x89, 0x94, 0x13, 0x81, 0x3d, 0xbb, 0x1a, 0xa5, 0xe3, 0x1e, 0x8b, 0x0b, 0xb5, 0x77, 0xab, 0x22, - 0xc3, 0x23, 0xd4, 0x86, 0x45, 0x49, 0xe1, 0x54, 0x15, 0x70, 0xae, 0x58, 0x92, 0xa0, 0x72, 0x4e, - 0x77, 0x66, 0x70, 0xe3, 0x85, 0x0d, 0xeb, 0x89, 0x60, 0xf1, 0x40, 0x21, 0x33, 0x48, 0xf1, 0x7d, - 0x8a, 0xda, 0x90, 0xcf, 0xa1, 0xce, 0x43, 0xaf, 0x76, 0x50, 0x3b, 0xdc, 0x79, 0x70, 0xb3, 0x5b, - 0x46, 0x3a, 0xf3, 0xae, 0x3b, 0x2c, 0x83, 0x43, 0xeb, 0x3c, 0x24, 0x0f, 0xa0, 0xa1, 0x13, 0x0c, - 0xbc, 0xba, 0x05, 0xdf, 0xe9, 0x2e, 0x5f, 0x4b, 0x77, 0x7e, 0xc2, 0x69, 0x82, 0x01, 0xb5, 0xd8, - 0x4e, 0x1b, 0xbc, 0xd5, 0x93, 0x75, 0x22, 0x63, 0x8d, 0x9d, 0x5f, 0x6a, 0x00, 0x73, 0xe1, 0xbf, - 0x6c, 0x09, 0x79, 0x02, 0x9b, 0x81, 0x90, 0x3a, 0x55, 0xe8, 0xad, 0x59, 0xda, 0xff, 0x3f, 0x4c, - 0x1b, 0xe4, 0x40, 0x5a, 0x30, 0x3a, 0x08, 0xcd, 0xb9, 0xf4, 0x05, 0xd7, 0x86, 0x3c, 0x83, 0x2b, - 0x0b, 0x99, 0xaa, 0xbd, 0xda, 0xc1, 0xda, 0xe1, 0xce, 0x83, 0xf6, 0x87, 0x75, 0xd2, 0x1d, 0x51, - 0xfe, 0x6b, 0x72, 0x1d, 0xd6, 0x8d, 0x7c, 0x87, 0xb1, 0x75, 0x61, 0x9b, 0xe6, 0x8b, 0xce, 0x19, - 0x34, 0xfa, 0xa9, 0x99, 0x92, 0x7b, 0x40, 0x98, 0xd6, 0x69, 0xc4, 0x46, 0x02, 0x7d, 0xce, 0x22, - 0x5f, 0x49, 0x81, 0x36, 0x34, 0xdb, 0xb4, 0x55, 0x4a, 0x86, 0x2c, 0xa2, 0x52, 0x20, 0x79, 0x0a, - 0xed, 0x77, 0xe9, 0x08, 0x55, 0x8c, 0x06, 0xb5, 0xaf, 0x51, 0x9d, 0xf1, 0x00, 0x7d, 0x16, 0x04, - 0x32, 0x8d, 0x8d, 0x3b, 0xc0, 0x9b, 0x23, 0x4e, 0x73, 0x40, 0x3f, 0x97, 0x3f, 0xae, 0x7b, 0xb5, - 0xce, 0x6f, 0x9b, 0x8b, 0xfe, 0x65, 0x41, 0x23, 0x8f, 0x61, 0xe7, 0x5c, 0xaa, 0x77, 0x63, 0x21, - 0xcf, 0xfd, 0xbf, 0x72, 0x2d, 0x50, 0xa0, 0x87, 0x21, 0xf9, 0x16, 0xf6, 0xb2, 0x7d, 0x73, 0xe1, - 0x47, 0x68, 0x58, 0xc8, 0x0c, 0x73, 0x37, 0xd5, 0xf9, 0x70, 0x78, 0x5e, 0x3a, 0x24, 0x6d, 0xe6, - 0xd4, 0x62, 0x4d, 0x8e, 0xa0, 0x19, 0xe2, 0x98, 0xa5, 0xc2, 0xf8, 0x3c, 0x4e, 0x52, 0xa3, 0xdd, - 0xf5, 0xdd, 0xaa, 0xd8, 0x72, 0xc2, 0x14, 0x8b, 0xd0, 0xa0, 0x7a, 0xc9, 0x12, 0xba, 0xeb, 0x28, - 0x43, 0xcb, 0x20, 0x4f, 0xe1, 0xca, 0x98, 0xcf, 0x30, 0x2c, 0x34, 0x34, 0x2e, 0xf5, 0xe6, 0x45, - 0xde, 0x29, 0x32, 0xfe, 0x8e, 0x85, 0x3b, 0xf6, 0x3e, 0x34, 0x6c, 0xfc, 0xd7, 0xb3, 0x48, 0x1e, - 0xd5, 0xbd, 0x1a, 0xb5, 0x6b, 0xd2, 0x85, 0x0d, 0xc1, 0x46, 0x28, 0xb4, 0xb7, 0x61, 0xf5, 0xed, - 0xaf, 0x7a, 0x97, 0x49, 0xa9, 0x43, 0x91, 0x67, 0xb0, 0xc3, 0xe2, 0x58, 0x1a, 0x96, 0x35, 0x2b, - 0xed, 0x6d, 0x56, 0xdd, 0xc8, 0x49, 0xfd, 0x39, 0x84, 0x2e, 0xe2, 0xc9, 0x3d, 0x68, 0xb0, 0xd4, - 0x4c, 0xbd, 0x2d, 0xcb, 0xbb, 0xbe, 0xc2, 0x4b, 0xcd, 0x34, 0x37, 0x2e, 0x43, 0x91, 0x47, 0xb0, - 0x9d, 0x7d, 0xf3, 0xcc, 0xd9, 0xb6, 0x14, 0xef, 0x32, 0x4a, 0x96, 0x41, 0x96, 0xb6, 0xc5, 0xdc, - 0x8a, 0x0c, 0xa1, 0x55, 0xf4, 0x35, 0x3f, 0x90, 0xb1, 0xc1, 0x99, 0xf1, 0xa0, 0x5a, 0x69, 0x36, - 0x62, 0xa7, 0x0e, 0x36, 0xc8, 0x51, 0x74, 0x4f, 0x2f, 0x6f, 0x90, 0x97, 0x40, 0xde, 0xa7, 0x4c, - 0x64, 0x9a, 0xe4, 0xb8, 0x48, 0x4d, 0xaf, 0x65, 0x95, 0xdd, 0xad, 0x28, 0xfb, 0x2e, 0x07, 0xbe, - 0x1e, 0xbb, 0x04, 0xa5, 0xad, 0xf7, 0x95, 0x1d, 0xf2, 0x03, 0xec, 0x2b, 0x76, 0xee, 0xcb, 0xd4, - 0x24, 0xa9, 0xf1, 0xb3, 0xf4, 0xc8, 0x0c, 0x1c, 0xf3, 0x89, 0x77, 0xd5, 0xaa, 0xfc, 0xa4, 0xea, - 0x21, 0x65, 0xe7, 0xaf, 0x2d, 0xf8, 0x39, 0x33, 0x6c, 0x60, 0xa1, 0xf4, 0x9a, 0x5a, 0xdd, 0x24, - 0x9f, 0xc1, 0x5e, 0xc4, 0x66, 0x7e, 0xc2, 0x14, 0x13, 0x02, 0x05, 0xd7, 0x91, 0x47, 0x0e, 0x6a, - 0x87, 0xeb, 0xb4, 0x19, 0xb1, 0xd9, 0xc9, 0x7c, 0x97, 0x7c, 0x03, 0xbb, 0x76, 0x26, 0xa8, 0x34, - 0x31, 0x7c, 0x24, 0xd0, 0xbb, 0x66, 0x4f, 0x6e, 0x77, 0xf3, 0x16, 0xdc, 0x2d, 0x5a, 0x70, 0xf7, - 0x48, 0x4a, 0xf1, 0x96, 0x89, 0x14, 0xe9, 0x32, 0x21, 0x3b, 0x4a, 0x9e, 0xa1, 0x3a, 0x57, 0xdc, - 0xa0, 0x1f, 0xb0, 0x60, 0x8a, 0xde, 0xf5, 0x83, 0xda, 0xe1, 0x16, 0x6d, 0x96, 0xdb, 0x83, 0x6c, - 0x97, 0x1c, 0x42, 0x03, 0xe3, 0x33, 0xed, 0xfd, 0xf7, 0xf2, 0x0b, 0x3f, 0x8e, 0xcf, 0x34, 0xb5, - 0x88, 0xce, 0xef, 0x75, 0xb8, 0xba, 0xd2, 0xbd, 0xc8, 0x43, 0x58, 0xd7, 0x86, 0x99, 0xbc, 0x71, - 0x34, 0x17, 0xe3, 0xbd, 0xd2, 0x26, 0x33, 0x18, 0xcd, 0xd1, 0xe4, 0x39, 0xec, 0xe1, 0x2c, 0xc1, - 0xc0, 0xcc, 0xeb, 0xa5, 0xfe, 0xf1, 0x8a, 0x6b, 0x16, 0x1c, 0x57, 0x34, 0xc7, 0xd0, 0x2a, 0xb5, - 0xe4, 0xf7, 0x55, 0x14, 0x6e, 0xbb, 0xa2, 0xe6, 0x2d, 0x53, 0x3c, 0x6b, 0x67, 0x99, 0x96, 0xf2, - 0xe4, 0xfc, 0x82, 0x34, 0x79, 0x04, 0x10, 0xd8, 0xa9, 0x11, 0xfa, 0xcc, 0xb8, 0xba, 0x5d, 0x8d, - 0xf5, 0x9b, 0x62, 0x1e, 0xd2, 0x6d, 0x87, 0xee, 0x9b, 0x8c, 0x9a, 0x26, 0x61, 0x41, 0x5d, 0xff, - 0x38, 0xd5, 0xa1, 0xfb, 0xa6, 0xf3, 0x47, 0x0d, 0xc8, 0x6a, 0x6b, 0x22, 0x5f, 0xc3, 0x56, 0x31, - 0xd1, 0x5d, 0x43, 0x5c, 0x29, 0xa9, 0x53, 0x27, 0xa7, 0x25, 0x92, 0x1c, 0xc1, 0x6e, 0x2c, 0xb3, - 0x2e, 0x19, 0xb8, 0xc2, 0xaf, 0xdb, 0x51, 0x71, 0xbb, 0x4a, 0x7d, 0xb5, 0x00, 0xa2, 0xcb, 0x14, - 0xd2, 0x87, 0xab, 0x6e, 0xda, 0x04, 0x32, 0x0e, 0x79, 0xae, 0x67, 0xcd, 0xe5, 0x45, 0xd5, 0xa5, - 0x7e, 0x7c, 0x41, 0x5b, 0x39, 0x7c, 0x50, 0xa2, 0x3b, 0x3f, 0x2f, 0xbe, 0x01, 0xbe, 0xb7, 0xae, - 0xfe, 0x83, 0x37, 0x40, 0x99, 0x53, 0xf5, 0xbf, 0x93, 0x53, 0xcb, 0xcf, 0x80, 0xe2, 0x70, 0xf7, - 0x0c, 0x38, 0x81, 0x1b, 0xfd, 0xc0, 0xf0, 0x33, 0x5c, 0x98, 0x95, 0xce, 0xb0, 0x87, 0x0b, 0x86, - 0x7d, 0xba, 0x12, 0x2f, 0x16, 0x61, 0x78, 0x6c, 0x87, 0xc5, 0xb2, 0x91, 0x9d, 0x5f, 0x6b, 0x70, - 0xab, 0xaa, 0x32, 0x1b, 0xda, 0x85, 0x5a, 0x0f, 0x36, 0x13, 0x25, 0x7f, 0xc2, 0xc0, 0xb8, 0x99, - 0x5a, 0x2c, 0xc9, 0x3e, 0x6c, 0x84, 0x32, 0x62, 0xbc, 0x98, 0xcb, 0x6e, 0x95, 0x8d, 0x6b, 0xc1, - 0x23, 0x6e, 0x6c, 0xcc, 0x77, 0x69, 0xbe, 0x98, 0x0f, 0xf1, 0xc6, 0xc2, 0x10, 0x27, 0xf7, 0x61, - 0x53, 0x4b, 0x65, 0xfc, 0xd1, 0x85, 0x4b, 0xba, 0x95, 0xca, 0x3d, 0x95, 0xca, 0xd0, 0x8d, 0x0c, - 0x74, 0x74, 0x41, 0x5a, 0xb0, 0x26, 0xd5, 0xc4, 0x8e, 0x90, 0x6d, 0x9a, 0xfd, 0x7e, 0xf1, 0x25, - 0xec, 0x55, 0xc2, 0x48, 0xae, 0xc0, 0xd6, 0xf0, 0x55, 0x7f, 0xf0, 0x66, 0xf8, 0xf6, 0xb8, 0xf5, - 0x1f, 0x02, 0xb0, 0xe1, 0xfe, 0x6b, 0x47, 0xcf, 0x7e, 0x7c, 0x32, 0xe1, 0x66, 0x9a, 0x8e, 0xba, - 0x81, 0x8c, 0x7a, 0xf6, 0x20, 0xa9, 0x26, 0xf9, 0x4f, 0xaf, 0x7c, 0x6f, 0x4e, 0x30, 0xee, 0x25, - 0xa3, 0xfb, 0x13, 0xd9, 0x5b, 0x7e, 0x82, 0x8e, 0x36, 0x6c, 0xd6, 0x7c, 0xf5, 0x67, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x47, 0x12, 0xae, 0xfa, 0x86, 0x0b, 0x00, 0x00, +var File_flyteidl_admin_launch_plan_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_launch_plan_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, + 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x17, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, + 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x1a, + 0x0a, 0x18, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x0a, 0x4c, + 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x70, + 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3b, 0x0a, 0x07, 0x63, 0x6c, 0x6f, 0x73, + 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x07, 0x63, 0x6c, + 0x6f, 0x73, 0x75, 0x72, 0x65, 0x22, 0x65, 0x0a, 0x0e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, + 0x6c, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, + 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x0b, 0x6c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x76, 0x0a, 0x04, + 0x41, 0x75, 0x74, 0x68, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x69, 0x61, 0x6d, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x73, 0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x61, 0x6d, 0x52, 0x6f, + 0x6c, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x3a, 0x02, 0x18, 0x01, 0x22, 0xbd, 0x07, 0x0a, 0x0e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, + 0x6c, 0x61, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x52, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x42, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x4d, 0x61, 0x70, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0b, 0x66, 0x69, 0x78, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, + 0x6c, 0x73, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x61, 0x75, 0x74, + 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, + 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x68, + 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x52, 0x6f, + 0x6c, 0x65, 0x12, 0x49, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4d, 0x0a, + 0x12, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, + 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x10, 0x71, 0x75, 0x61, 0x6c, + 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x16, + 0x72, 0x61, 0x77, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x61, + 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x13, 0x72, 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, + 0x40, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, + 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, + 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x63, + 0x61, 0x63, 0x68, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x76, 0x65, 0x72, + 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x65, 0x6e, + 0x76, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x04, + 0x65, 0x6e, 0x76, 0x73, 0x22, 0xcd, 0x02, 0x0a, 0x11, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, + 0x6c, 0x61, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x70, 0x52, 0x0f, 0x65, + 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x39, + 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x22, 0xd1, 0x01, 0x0a, 0x12, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, + 0x6c, 0x61, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x08, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, + 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x10, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x17, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, + 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, + 0x6c, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x50, 0x0a, 0x17, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x02, 0x69, 0x64, 0x22, 0xbc, 0x01, 0x0a, 0x1b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, + 0x72, 0x67, 0x2a, 0x2b, 0x0a, 0x0f, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x42, + 0xbb, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0f, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, + 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, + 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_launch_plan_proto_rawDescOnce sync.Once + file_flyteidl_admin_launch_plan_proto_rawDescData = file_flyteidl_admin_launch_plan_proto_rawDesc +) + +func file_flyteidl_admin_launch_plan_proto_rawDescGZIP() []byte { + file_flyteidl_admin_launch_plan_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_launch_plan_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_launch_plan_proto_rawDescData) + }) + return file_flyteidl_admin_launch_plan_proto_rawDescData +} + +var file_flyteidl_admin_launch_plan_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_admin_launch_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_flyteidl_admin_launch_plan_proto_goTypes = []interface{}{ + (LaunchPlanState)(0), // 0: flyteidl.admin.LaunchPlanState + (*LaunchPlanCreateRequest)(nil), // 1: flyteidl.admin.LaunchPlanCreateRequest + (*LaunchPlanCreateResponse)(nil), // 2: flyteidl.admin.LaunchPlanCreateResponse + (*LaunchPlan)(nil), // 3: flyteidl.admin.LaunchPlan + (*LaunchPlanList)(nil), // 4: flyteidl.admin.LaunchPlanList + (*Auth)(nil), // 5: flyteidl.admin.Auth + (*LaunchPlanSpec)(nil), // 6: flyteidl.admin.LaunchPlanSpec + (*LaunchPlanClosure)(nil), // 7: flyteidl.admin.LaunchPlanClosure + (*LaunchPlanMetadata)(nil), // 8: flyteidl.admin.LaunchPlanMetadata + (*LaunchPlanUpdateRequest)(nil), // 9: flyteidl.admin.LaunchPlanUpdateRequest + (*LaunchPlanUpdateResponse)(nil), // 10: flyteidl.admin.LaunchPlanUpdateResponse + (*ActiveLaunchPlanRequest)(nil), // 11: flyteidl.admin.ActiveLaunchPlanRequest + (*ActiveLaunchPlanListRequest)(nil), // 12: flyteidl.admin.ActiveLaunchPlanListRequest + (*core.Identifier)(nil), // 13: flyteidl.core.Identifier + (*core.ParameterMap)(nil), // 14: flyteidl.core.ParameterMap + (*core.LiteralMap)(nil), // 15: flyteidl.core.LiteralMap + (*Labels)(nil), // 16: flyteidl.admin.Labels + (*Annotations)(nil), // 17: flyteidl.admin.Annotations + (*AuthRole)(nil), // 18: flyteidl.admin.AuthRole + (*core.SecurityContext)(nil), // 19: flyteidl.core.SecurityContext + (*core.QualityOfService)(nil), // 20: flyteidl.core.QualityOfService + (*RawOutputDataConfig)(nil), // 21: flyteidl.admin.RawOutputDataConfig + (*wrapperspb.BoolValue)(nil), // 22: google.protobuf.BoolValue + (*Envs)(nil), // 23: flyteidl.admin.Envs + (*core.VariableMap)(nil), // 24: flyteidl.core.VariableMap + (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp + (*Schedule)(nil), // 26: flyteidl.admin.Schedule + (*Notification)(nil), // 27: flyteidl.admin.Notification + (*anypb.Any)(nil), // 28: google.protobuf.Any + (*NamedEntityIdentifier)(nil), // 29: flyteidl.admin.NamedEntityIdentifier + (*Sort)(nil), // 30: flyteidl.admin.Sort +} +var file_flyteidl_admin_launch_plan_proto_depIdxs = []int32{ + 13, // 0: flyteidl.admin.LaunchPlanCreateRequest.id:type_name -> flyteidl.core.Identifier + 6, // 1: flyteidl.admin.LaunchPlanCreateRequest.spec:type_name -> flyteidl.admin.LaunchPlanSpec + 13, // 2: flyteidl.admin.LaunchPlan.id:type_name -> flyteidl.core.Identifier + 6, // 3: flyteidl.admin.LaunchPlan.spec:type_name -> flyteidl.admin.LaunchPlanSpec + 7, // 4: flyteidl.admin.LaunchPlan.closure:type_name -> flyteidl.admin.LaunchPlanClosure + 3, // 5: flyteidl.admin.LaunchPlanList.launch_plans:type_name -> flyteidl.admin.LaunchPlan + 13, // 6: flyteidl.admin.LaunchPlanSpec.workflow_id:type_name -> flyteidl.core.Identifier + 8, // 7: flyteidl.admin.LaunchPlanSpec.entity_metadata:type_name -> flyteidl.admin.LaunchPlanMetadata + 14, // 8: flyteidl.admin.LaunchPlanSpec.default_inputs:type_name -> flyteidl.core.ParameterMap + 15, // 9: flyteidl.admin.LaunchPlanSpec.fixed_inputs:type_name -> flyteidl.core.LiteralMap + 16, // 10: flyteidl.admin.LaunchPlanSpec.labels:type_name -> flyteidl.admin.Labels + 17, // 11: flyteidl.admin.LaunchPlanSpec.annotations:type_name -> flyteidl.admin.Annotations + 5, // 12: flyteidl.admin.LaunchPlanSpec.auth:type_name -> flyteidl.admin.Auth + 18, // 13: flyteidl.admin.LaunchPlanSpec.auth_role:type_name -> flyteidl.admin.AuthRole + 19, // 14: flyteidl.admin.LaunchPlanSpec.security_context:type_name -> flyteidl.core.SecurityContext + 20, // 15: flyteidl.admin.LaunchPlanSpec.quality_of_service:type_name -> flyteidl.core.QualityOfService + 21, // 16: flyteidl.admin.LaunchPlanSpec.raw_output_data_config:type_name -> flyteidl.admin.RawOutputDataConfig + 22, // 17: flyteidl.admin.LaunchPlanSpec.interruptible:type_name -> google.protobuf.BoolValue + 23, // 18: flyteidl.admin.LaunchPlanSpec.envs:type_name -> flyteidl.admin.Envs + 0, // 19: flyteidl.admin.LaunchPlanClosure.state:type_name -> flyteidl.admin.LaunchPlanState + 14, // 20: flyteidl.admin.LaunchPlanClosure.expected_inputs:type_name -> flyteidl.core.ParameterMap + 24, // 21: flyteidl.admin.LaunchPlanClosure.expected_outputs:type_name -> flyteidl.core.VariableMap + 25, // 22: flyteidl.admin.LaunchPlanClosure.created_at:type_name -> google.protobuf.Timestamp + 25, // 23: flyteidl.admin.LaunchPlanClosure.updated_at:type_name -> google.protobuf.Timestamp + 26, // 24: flyteidl.admin.LaunchPlanMetadata.schedule:type_name -> flyteidl.admin.Schedule + 27, // 25: flyteidl.admin.LaunchPlanMetadata.notifications:type_name -> flyteidl.admin.Notification + 28, // 26: flyteidl.admin.LaunchPlanMetadata.launch_conditions:type_name -> google.protobuf.Any + 13, // 27: flyteidl.admin.LaunchPlanUpdateRequest.id:type_name -> flyteidl.core.Identifier + 0, // 28: flyteidl.admin.LaunchPlanUpdateRequest.state:type_name -> flyteidl.admin.LaunchPlanState + 29, // 29: flyteidl.admin.ActiveLaunchPlanRequest.id:type_name -> flyteidl.admin.NamedEntityIdentifier + 30, // 30: flyteidl.admin.ActiveLaunchPlanListRequest.sort_by:type_name -> flyteidl.admin.Sort + 31, // [31:31] is the sub-list for method output_type + 31, // [31:31] is the sub-list for method input_type + 31, // [31:31] is the sub-list for extension type_name + 31, // [31:31] is the sub-list for extension extendee + 0, // [0:31] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_launch_plan_proto_init() } +func file_flyteidl_admin_launch_plan_proto_init() { + if File_flyteidl_admin_launch_plan_proto != nil { + return + } + file_flyteidl_admin_schedule_proto_init() + file_flyteidl_admin_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_launch_plan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlan); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Auth); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LaunchPlanUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActiveLaunchPlanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_launch_plan_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActiveLaunchPlanListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_launch_plan_proto_rawDesc, + NumEnums: 1, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_launch_plan_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_launch_plan_proto_depIdxs, + EnumInfos: file_flyteidl_admin_launch_plan_proto_enumTypes, + MessageInfos: file_flyteidl_admin_launch_plan_proto_msgTypes, + }.Build() + File_flyteidl_admin_launch_plan_proto = out.File + file_flyteidl_admin_launch_plan_proto_rawDesc = nil + file_flyteidl_admin_launch_plan_proto_goTypes = nil + file_flyteidl_admin_launch_plan_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.swagger.json deleted file mode 100644 index 6a473691ef..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/launch_plan.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go index 1ab204ede3..2b712042d9 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go @@ -1,26 +1,26 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/matchable_resource.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes // based on matching tags. @@ -45,34 +45,55 @@ const ( MatchableResource_CLUSTER_ASSIGNMENT MatchableResource = 7 ) -var MatchableResource_name = map[int32]string{ - 0: "TASK_RESOURCE", - 1: "CLUSTER_RESOURCE", - 2: "EXECUTION_QUEUE", - 3: "EXECUTION_CLUSTER_LABEL", - 4: "QUALITY_OF_SERVICE_SPECIFICATION", - 5: "PLUGIN_OVERRIDE", - 6: "WORKFLOW_EXECUTION_CONFIG", - 7: "CLUSTER_ASSIGNMENT", -} +// Enum value maps for MatchableResource. +var ( + MatchableResource_name = map[int32]string{ + 0: "TASK_RESOURCE", + 1: "CLUSTER_RESOURCE", + 2: "EXECUTION_QUEUE", + 3: "EXECUTION_CLUSTER_LABEL", + 4: "QUALITY_OF_SERVICE_SPECIFICATION", + 5: "PLUGIN_OVERRIDE", + 6: "WORKFLOW_EXECUTION_CONFIG", + 7: "CLUSTER_ASSIGNMENT", + } + MatchableResource_value = map[string]int32{ + "TASK_RESOURCE": 0, + "CLUSTER_RESOURCE": 1, + "EXECUTION_QUEUE": 2, + "EXECUTION_CLUSTER_LABEL": 3, + "QUALITY_OF_SERVICE_SPECIFICATION": 4, + "PLUGIN_OVERRIDE": 5, + "WORKFLOW_EXECUTION_CONFIG": 6, + "CLUSTER_ASSIGNMENT": 7, + } +) -var MatchableResource_value = map[string]int32{ - "TASK_RESOURCE": 0, - "CLUSTER_RESOURCE": 1, - "EXECUTION_QUEUE": 2, - "EXECUTION_CLUSTER_LABEL": 3, - "QUALITY_OF_SERVICE_SPECIFICATION": 4, - "PLUGIN_OVERRIDE": 5, - "WORKFLOW_EXECUTION_CONFIG": 6, - "CLUSTER_ASSIGNMENT": 7, +func (x MatchableResource) Enum() *MatchableResource { + p := new(MatchableResource) + *p = x + return p } func (x MatchableResource) String() string { - return proto.EnumName(MatchableResource_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (MatchableResource) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_matchable_resource_proto_enumTypes[0].Descriptor() +} + +func (MatchableResource) Type() protoreflect.EnumType { + return &file_flyteidl_admin_matchable_resource_proto_enumTypes[0] +} + +func (x MatchableResource) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MatchableResource.Descriptor instead. func (MatchableResource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{0} + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{0} } type PluginOverride_MissingPluginBehavior int32 @@ -84,262 +105,323 @@ const ( PluginOverride_USE_DEFAULT PluginOverride_MissingPluginBehavior = 1 ) -var PluginOverride_MissingPluginBehavior_name = map[int32]string{ - 0: "FAIL", - 1: "USE_DEFAULT", -} +// Enum value maps for PluginOverride_MissingPluginBehavior. +var ( + PluginOverride_MissingPluginBehavior_name = map[int32]string{ + 0: "FAIL", + 1: "USE_DEFAULT", + } + PluginOverride_MissingPluginBehavior_value = map[string]int32{ + "FAIL": 0, + "USE_DEFAULT": 1, + } +) -var PluginOverride_MissingPluginBehavior_value = map[string]int32{ - "FAIL": 0, - "USE_DEFAULT": 1, +func (x PluginOverride_MissingPluginBehavior) Enum() *PluginOverride_MissingPluginBehavior { + p := new(PluginOverride_MissingPluginBehavior) + *p = x + return p } func (x PluginOverride_MissingPluginBehavior) String() string { - return proto.EnumName(PluginOverride_MissingPluginBehavior_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (PluginOverride_MissingPluginBehavior) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{5, 0} +func (PluginOverride_MissingPluginBehavior) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_matchable_resource_proto_enumTypes[1].Descriptor() } -// Defines a set of overridable task resource attributes set during task registration. -type TaskResourceSpec struct { - Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` - Gpu string `protobuf:"bytes,2,opt,name=gpu,proto3" json:"gpu,omitempty"` - Memory string `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` - Storage string `protobuf:"bytes,4,opt,name=storage,proto3" json:"storage,omitempty"` - EphemeralStorage string `protobuf:"bytes,5,opt,name=ephemeral_storage,json=ephemeralStorage,proto3" json:"ephemeral_storage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TaskResourceSpec) Reset() { *m = TaskResourceSpec{} } -func (m *TaskResourceSpec) String() string { return proto.CompactTextString(m) } -func (*TaskResourceSpec) ProtoMessage() {} -func (*TaskResourceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{0} +func (PluginOverride_MissingPluginBehavior) Type() protoreflect.EnumType { + return &file_flyteidl_admin_matchable_resource_proto_enumTypes[1] } -func (m *TaskResourceSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskResourceSpec.Unmarshal(m, b) +func (x PluginOverride_MissingPluginBehavior) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *TaskResourceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskResourceSpec.Marshal(b, m, deterministic) + +// Deprecated: Use PluginOverride_MissingPluginBehavior.Descriptor instead. +func (PluginOverride_MissingPluginBehavior) EnumDescriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{5, 0} } -func (m *TaskResourceSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskResourceSpec.Merge(m, src) + +// Defines a set of overridable task resource attributes set during task registration. +type TaskResourceSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` + Gpu string `protobuf:"bytes,2,opt,name=gpu,proto3" json:"gpu,omitempty"` + Memory string `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` + Storage string `protobuf:"bytes,4,opt,name=storage,proto3" json:"storage,omitempty"` + EphemeralStorage string `protobuf:"bytes,5,opt,name=ephemeral_storage,json=ephemeralStorage,proto3" json:"ephemeral_storage,omitempty"` +} + +func (x *TaskResourceSpec) Reset() { + *x = TaskResourceSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskResourceSpec) XXX_Size() int { - return xxx_messageInfo_TaskResourceSpec.Size(m) + +func (x *TaskResourceSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskResourceSpec) XXX_DiscardUnknown() { - xxx_messageInfo_TaskResourceSpec.DiscardUnknown(m) + +func (*TaskResourceSpec) ProtoMessage() {} + +func (x *TaskResourceSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskResourceSpec proto.InternalMessageInfo +// Deprecated: Use TaskResourceSpec.ProtoReflect.Descriptor instead. +func (*TaskResourceSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{0} +} -func (m *TaskResourceSpec) GetCpu() string { - if m != nil { - return m.Cpu +func (x *TaskResourceSpec) GetCpu() string { + if x != nil { + return x.Cpu } return "" } -func (m *TaskResourceSpec) GetGpu() string { - if m != nil { - return m.Gpu +func (x *TaskResourceSpec) GetGpu() string { + if x != nil { + return x.Gpu } return "" } -func (m *TaskResourceSpec) GetMemory() string { - if m != nil { - return m.Memory +func (x *TaskResourceSpec) GetMemory() string { + if x != nil { + return x.Memory } return "" } -func (m *TaskResourceSpec) GetStorage() string { - if m != nil { - return m.Storage +func (x *TaskResourceSpec) GetStorage() string { + if x != nil { + return x.Storage } return "" } -func (m *TaskResourceSpec) GetEphemeralStorage() string { - if m != nil { - return m.EphemeralStorage +func (x *TaskResourceSpec) GetEphemeralStorage() string { + if x != nil { + return x.EphemeralStorage } return "" } // Defines task resource defaults and limits that will be applied at task registration. type TaskResourceAttributes struct { - Defaults *TaskResourceSpec `protobuf:"bytes,1,opt,name=defaults,proto3" json:"defaults,omitempty"` - Limits *TaskResourceSpec `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TaskResourceAttributes) Reset() { *m = TaskResourceAttributes{} } -func (m *TaskResourceAttributes) String() string { return proto.CompactTextString(m) } -func (*TaskResourceAttributes) ProtoMessage() {} -func (*TaskResourceAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{1} + Defaults *TaskResourceSpec `protobuf:"bytes,1,opt,name=defaults,proto3" json:"defaults,omitempty"` + Limits *TaskResourceSpec `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"` } -func (m *TaskResourceAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskResourceAttributes.Unmarshal(m, b) -} -func (m *TaskResourceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskResourceAttributes.Marshal(b, m, deterministic) -} -func (m *TaskResourceAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskResourceAttributes.Merge(m, src) +func (x *TaskResourceAttributes) Reset() { + *x = TaskResourceAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskResourceAttributes) XXX_Size() int { - return xxx_messageInfo_TaskResourceAttributes.Size(m) + +func (x *TaskResourceAttributes) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskResourceAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_TaskResourceAttributes.DiscardUnknown(m) + +func (*TaskResourceAttributes) ProtoMessage() {} + +func (x *TaskResourceAttributes) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskResourceAttributes proto.InternalMessageInfo +// Deprecated: Use TaskResourceAttributes.ProtoReflect.Descriptor instead. +func (*TaskResourceAttributes) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{1} +} -func (m *TaskResourceAttributes) GetDefaults() *TaskResourceSpec { - if m != nil { - return m.Defaults +func (x *TaskResourceAttributes) GetDefaults() *TaskResourceSpec { + if x != nil { + return x.Defaults } return nil } -func (m *TaskResourceAttributes) GetLimits() *TaskResourceSpec { - if m != nil { - return m.Limits +func (x *TaskResourceAttributes) GetLimits() *TaskResourceSpec { + if x != nil { + return x.Limits } return nil } type ClusterResourceAttributes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). // Map keys are the *case-sensitive* names of variables in templatized resource files. // Map values should be the custom values which get substituted during resource creation. - Attributes map[string]string `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Attributes map[string]string `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ClusterResourceAttributes) Reset() { *m = ClusterResourceAttributes{} } -func (m *ClusterResourceAttributes) String() string { return proto.CompactTextString(m) } -func (*ClusterResourceAttributes) ProtoMessage() {} -func (*ClusterResourceAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{2} +func (x *ClusterResourceAttributes) Reset() { + *x = ClusterResourceAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ClusterResourceAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterResourceAttributes.Unmarshal(m, b) -} -func (m *ClusterResourceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterResourceAttributes.Marshal(b, m, deterministic) -} -func (m *ClusterResourceAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterResourceAttributes.Merge(m, src) +func (x *ClusterResourceAttributes) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ClusterResourceAttributes) XXX_Size() int { - return xxx_messageInfo_ClusterResourceAttributes.Size(m) -} -func (m *ClusterResourceAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterResourceAttributes.DiscardUnknown(m) + +func (*ClusterResourceAttributes) ProtoMessage() {} + +func (x *ClusterResourceAttributes) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ClusterResourceAttributes proto.InternalMessageInfo +// Deprecated: Use ClusterResourceAttributes.ProtoReflect.Descriptor instead. +func (*ClusterResourceAttributes) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{2} +} -func (m *ClusterResourceAttributes) GetAttributes() map[string]string { - if m != nil { - return m.Attributes +func (x *ClusterResourceAttributes) GetAttributes() map[string]string { + if x != nil { + return x.Attributes } return nil } type ExecutionQueueAttributes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Tags used for assigning execution queues for tasks defined within this project. - Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ExecutionQueueAttributes) Reset() { *m = ExecutionQueueAttributes{} } -func (m *ExecutionQueueAttributes) String() string { return proto.CompactTextString(m) } -func (*ExecutionQueueAttributes) ProtoMessage() {} -func (*ExecutionQueueAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{3} +func (x *ExecutionQueueAttributes) Reset() { + *x = ExecutionQueueAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionQueueAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionQueueAttributes.Unmarshal(m, b) -} -func (m *ExecutionQueueAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionQueueAttributes.Marshal(b, m, deterministic) -} -func (m *ExecutionQueueAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionQueueAttributes.Merge(m, src) +func (x *ExecutionQueueAttributes) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionQueueAttributes) XXX_Size() int { - return xxx_messageInfo_ExecutionQueueAttributes.Size(m) -} -func (m *ExecutionQueueAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionQueueAttributes.DiscardUnknown(m) + +func (*ExecutionQueueAttributes) ProtoMessage() {} + +func (x *ExecutionQueueAttributes) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionQueueAttributes proto.InternalMessageInfo +// Deprecated: Use ExecutionQueueAttributes.ProtoReflect.Descriptor instead. +func (*ExecutionQueueAttributes) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{3} +} -func (m *ExecutionQueueAttributes) GetTags() []string { - if m != nil { - return m.Tags +func (x *ExecutionQueueAttributes) GetTags() []string { + if x != nil { + return x.Tags } return nil } type ExecutionClusterLabel struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Label value to determine where the execution will be run - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *ExecutionClusterLabel) Reset() { *m = ExecutionClusterLabel{} } -func (m *ExecutionClusterLabel) String() string { return proto.CompactTextString(m) } -func (*ExecutionClusterLabel) ProtoMessage() {} -func (*ExecutionClusterLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{4} +func (x *ExecutionClusterLabel) Reset() { + *x = ExecutionClusterLabel{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionClusterLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionClusterLabel.Unmarshal(m, b) -} -func (m *ExecutionClusterLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionClusterLabel.Marshal(b, m, deterministic) +func (x *ExecutionClusterLabel) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionClusterLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionClusterLabel.Merge(m, src) -} -func (m *ExecutionClusterLabel) XXX_Size() int { - return xxx_messageInfo_ExecutionClusterLabel.Size(m) -} -func (m *ExecutionClusterLabel) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionClusterLabel.DiscardUnknown(m) + +func (*ExecutionClusterLabel) ProtoMessage() {} + +func (x *ExecutionClusterLabel) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionClusterLabel proto.InternalMessageInfo +// Deprecated: Use ExecutionClusterLabel.ProtoReflect.Descriptor instead. +func (*ExecutionClusterLabel) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{4} +} -func (m *ExecutionClusterLabel) GetValue() string { - if m != nil { - return m.Value +func (x *ExecutionClusterLabel) GetValue() string { + if x != nil { + return x.Value } return "" } @@ -348,104 +430,124 @@ func (m *ExecutionClusterLabel) GetValue() string { // In addition to an override implementation a selection of fallbacks can be provided or other modes // for handling cases where the desired plugin override is not enabled in a given Flyte deployment. type PluginOverride struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A predefined yet extensible Task type identifier. TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. PluginId []string `protobuf:"bytes,2,rep,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // Defines the behavior when no plugin from the plugin_id list is not found. MissingPluginBehavior PluginOverride_MissingPluginBehavior `protobuf:"varint,4,opt,name=missing_plugin_behavior,json=missingPluginBehavior,proto3,enum=flyteidl.admin.PluginOverride_MissingPluginBehavior" json:"missing_plugin_behavior,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *PluginOverride) Reset() { *m = PluginOverride{} } -func (m *PluginOverride) String() string { return proto.CompactTextString(m) } -func (*PluginOverride) ProtoMessage() {} -func (*PluginOverride) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{5} +func (x *PluginOverride) Reset() { + *x = PluginOverride{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PluginOverride) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PluginOverride.Unmarshal(m, b) -} -func (m *PluginOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PluginOverride.Marshal(b, m, deterministic) -} -func (m *PluginOverride) XXX_Merge(src proto.Message) { - xxx_messageInfo_PluginOverride.Merge(m, src) -} -func (m *PluginOverride) XXX_Size() int { - return xxx_messageInfo_PluginOverride.Size(m) +func (x *PluginOverride) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PluginOverride) XXX_DiscardUnknown() { - xxx_messageInfo_PluginOverride.DiscardUnknown(m) + +func (*PluginOverride) ProtoMessage() {} + +func (x *PluginOverride) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PluginOverride proto.InternalMessageInfo +// Deprecated: Use PluginOverride.ProtoReflect.Descriptor instead. +func (*PluginOverride) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{5} +} -func (m *PluginOverride) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *PluginOverride) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *PluginOverride) GetPluginId() []string { - if m != nil { - return m.PluginId +func (x *PluginOverride) GetPluginId() []string { + if x != nil { + return x.PluginId } return nil } -func (m *PluginOverride) GetMissingPluginBehavior() PluginOverride_MissingPluginBehavior { - if m != nil { - return m.MissingPluginBehavior +func (x *PluginOverride) GetMissingPluginBehavior() PluginOverride_MissingPluginBehavior { + if x != nil { + return x.MissingPluginBehavior } return PluginOverride_FAIL } type PluginOverrides struct { - Overrides []*PluginOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PluginOverrides) Reset() { *m = PluginOverrides{} } -func (m *PluginOverrides) String() string { return proto.CompactTextString(m) } -func (*PluginOverrides) ProtoMessage() {} -func (*PluginOverrides) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{6} + Overrides []*PluginOverride `protobuf:"bytes,1,rep,name=overrides,proto3" json:"overrides,omitempty"` } -func (m *PluginOverrides) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PluginOverrides.Unmarshal(m, b) -} -func (m *PluginOverrides) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PluginOverrides.Marshal(b, m, deterministic) -} -func (m *PluginOverrides) XXX_Merge(src proto.Message) { - xxx_messageInfo_PluginOverrides.Merge(m, src) +func (x *PluginOverrides) Reset() { + *x = PluginOverrides{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PluginOverrides) XXX_Size() int { - return xxx_messageInfo_PluginOverrides.Size(m) + +func (x *PluginOverrides) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PluginOverrides) XXX_DiscardUnknown() { - xxx_messageInfo_PluginOverrides.DiscardUnknown(m) + +func (*PluginOverrides) ProtoMessage() {} + +func (x *PluginOverrides) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PluginOverrides proto.InternalMessageInfo +// Deprecated: Use PluginOverrides.ProtoReflect.Descriptor instead. +func (*PluginOverrides) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{6} +} -func (m *PluginOverrides) GetOverrides() []*PluginOverride { - if m != nil { - return m.Overrides +func (x *PluginOverrides) GetOverrides() []*PluginOverride { + if x != nil { + return x.Overrides } return nil } // Adds defaults for customizable workflow-execution specifications and overrides. type WorkflowExecutionConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. MaxParallelism int32 `protobuf:"varint,1,opt,name=max_parallelism,json=maxParallelism,proto3" json:"max_parallelism,omitempty"` // Indicates security context permissions for executions triggered with this matchable attribute. @@ -460,102 +562,111 @@ type WorkflowExecutionConfig struct { // Omitting this field uses the workflow's value as a default. // As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper // around the bool field. - Interruptible *wrappers.BoolValue `protobuf:"bytes,6,opt,name=interruptible,proto3" json:"interruptible,omitempty"` + Interruptible *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=interruptible,proto3" json:"interruptible,omitempty"` // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. OverwriteCache bool `protobuf:"varint,7,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` // Environment variables to be set for the execution. - Envs *Envs `protobuf:"bytes,8,opt,name=envs,proto3" json:"envs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Envs *Envs `protobuf:"bytes,8,opt,name=envs,proto3" json:"envs,omitempty"` } -func (m *WorkflowExecutionConfig) Reset() { *m = WorkflowExecutionConfig{} } -func (m *WorkflowExecutionConfig) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionConfig) ProtoMessage() {} -func (*WorkflowExecutionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{7} +func (x *WorkflowExecutionConfig) Reset() { + *x = WorkflowExecutionConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionConfig.Unmarshal(m, b) +func (x *WorkflowExecutionConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionConfig.Marshal(b, m, deterministic) -} -func (m *WorkflowExecutionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionConfig.Merge(m, src) -} -func (m *WorkflowExecutionConfig) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionConfig.Size(m) -} -func (m *WorkflowExecutionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionConfig.DiscardUnknown(m) + +func (*WorkflowExecutionConfig) ProtoMessage() {} + +func (x *WorkflowExecutionConfig) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionConfig proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionConfig.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionConfig) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{7} +} -func (m *WorkflowExecutionConfig) GetMaxParallelism() int32 { - if m != nil { - return m.MaxParallelism +func (x *WorkflowExecutionConfig) GetMaxParallelism() int32 { + if x != nil { + return x.MaxParallelism } return 0 } -func (m *WorkflowExecutionConfig) GetSecurityContext() *core.SecurityContext { - if m != nil { - return m.SecurityContext +func (x *WorkflowExecutionConfig) GetSecurityContext() *core.SecurityContext { + if x != nil { + return x.SecurityContext } return nil } -func (m *WorkflowExecutionConfig) GetRawOutputDataConfig() *RawOutputDataConfig { - if m != nil { - return m.RawOutputDataConfig +func (x *WorkflowExecutionConfig) GetRawOutputDataConfig() *RawOutputDataConfig { + if x != nil { + return x.RawOutputDataConfig } return nil } -func (m *WorkflowExecutionConfig) GetLabels() *Labels { - if m != nil { - return m.Labels +func (x *WorkflowExecutionConfig) GetLabels() *Labels { + if x != nil { + return x.Labels } return nil } -func (m *WorkflowExecutionConfig) GetAnnotations() *Annotations { - if m != nil { - return m.Annotations +func (x *WorkflowExecutionConfig) GetAnnotations() *Annotations { + if x != nil { + return x.Annotations } return nil } -func (m *WorkflowExecutionConfig) GetInterruptible() *wrappers.BoolValue { - if m != nil { - return m.Interruptible +func (x *WorkflowExecutionConfig) GetInterruptible() *wrapperspb.BoolValue { + if x != nil { + return x.Interruptible } return nil } -func (m *WorkflowExecutionConfig) GetOverwriteCache() bool { - if m != nil { - return m.OverwriteCache +func (x *WorkflowExecutionConfig) GetOverwriteCache() bool { + if x != nil { + return x.OverwriteCache } return false } -func (m *WorkflowExecutionConfig) GetEnvs() *Envs { - if m != nil { - return m.Envs +func (x *WorkflowExecutionConfig) GetEnvs() *Envs { + if x != nil { + return x.Envs } return nil } // Generic container for encapsulating all types of the above attributes messages. type MatchingAttributes struct { - // Types that are valid to be assigned to Target: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Target: + // // *MatchingAttributes_TaskResourceAttributes // *MatchingAttributes_ClusterResourceAttributes // *MatchingAttributes_ExecutionQueueAttributes @@ -564,36 +675,103 @@ type MatchingAttributes struct { // *MatchingAttributes_PluginOverrides // *MatchingAttributes_WorkflowExecutionConfig // *MatchingAttributes_ClusterAssignment - Target isMatchingAttributes_Target `protobuf_oneof:"target"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Target isMatchingAttributes_Target `protobuf_oneof:"target"` +} + +func (x *MatchingAttributes) Reset() { + *x = MatchingAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MatchingAttributes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MatchingAttributes) ProtoMessage() {} + +func (x *MatchingAttributes) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *MatchingAttributes) Reset() { *m = MatchingAttributes{} } -func (m *MatchingAttributes) String() string { return proto.CompactTextString(m) } -func (*MatchingAttributes) ProtoMessage() {} +// Deprecated: Use MatchingAttributes.ProtoReflect.Descriptor instead. func (*MatchingAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{8} + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{8} } -func (m *MatchingAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MatchingAttributes.Unmarshal(m, b) +func (m *MatchingAttributes) GetTarget() isMatchingAttributes_Target { + if m != nil { + return m.Target + } + return nil } -func (m *MatchingAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MatchingAttributes.Marshal(b, m, deterministic) + +func (x *MatchingAttributes) GetTaskResourceAttributes() *TaskResourceAttributes { + if x, ok := x.GetTarget().(*MatchingAttributes_TaskResourceAttributes); ok { + return x.TaskResourceAttributes + } + return nil } -func (m *MatchingAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchingAttributes.Merge(m, src) + +func (x *MatchingAttributes) GetClusterResourceAttributes() *ClusterResourceAttributes { + if x, ok := x.GetTarget().(*MatchingAttributes_ClusterResourceAttributes); ok { + return x.ClusterResourceAttributes + } + return nil } -func (m *MatchingAttributes) XXX_Size() int { - return xxx_messageInfo_MatchingAttributes.Size(m) + +func (x *MatchingAttributes) GetExecutionQueueAttributes() *ExecutionQueueAttributes { + if x, ok := x.GetTarget().(*MatchingAttributes_ExecutionQueueAttributes); ok { + return x.ExecutionQueueAttributes + } + return nil } -func (m *MatchingAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_MatchingAttributes.DiscardUnknown(m) + +func (x *MatchingAttributes) GetExecutionClusterLabel() *ExecutionClusterLabel { + if x, ok := x.GetTarget().(*MatchingAttributes_ExecutionClusterLabel); ok { + return x.ExecutionClusterLabel + } + return nil } -var xxx_messageInfo_MatchingAttributes proto.InternalMessageInfo +func (x *MatchingAttributes) GetQualityOfService() *core.QualityOfService { + if x, ok := x.GetTarget().(*MatchingAttributes_QualityOfService); ok { + return x.QualityOfService + } + return nil +} + +func (x *MatchingAttributes) GetPluginOverrides() *PluginOverrides { + if x, ok := x.GetTarget().(*MatchingAttributes_PluginOverrides); ok { + return x.PluginOverrides + } + return nil +} + +func (x *MatchingAttributes) GetWorkflowExecutionConfig() *WorkflowExecutionConfig { + if x, ok := x.GetTarget().(*MatchingAttributes_WorkflowExecutionConfig); ok { + return x.WorkflowExecutionConfig + } + return nil +} + +func (x *MatchingAttributes) GetClusterAssignment() *ClusterAssignment { + if x, ok := x.GetTarget().(*MatchingAttributes_ClusterAssignment); ok { + return x.ClusterAssignment + } + return nil +} type isMatchingAttributes_Target interface { isMatchingAttributes_Target() @@ -647,163 +825,94 @@ func (*MatchingAttributes_WorkflowExecutionConfig) isMatchingAttributes_Target() func (*MatchingAttributes_ClusterAssignment) isMatchingAttributes_Target() {} -func (m *MatchingAttributes) GetTarget() isMatchingAttributes_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *MatchingAttributes) GetTaskResourceAttributes() *TaskResourceAttributes { - if x, ok := m.GetTarget().(*MatchingAttributes_TaskResourceAttributes); ok { - return x.TaskResourceAttributes - } - return nil -} - -func (m *MatchingAttributes) GetClusterResourceAttributes() *ClusterResourceAttributes { - if x, ok := m.GetTarget().(*MatchingAttributes_ClusterResourceAttributes); ok { - return x.ClusterResourceAttributes - } - return nil -} - -func (m *MatchingAttributes) GetExecutionQueueAttributes() *ExecutionQueueAttributes { - if x, ok := m.GetTarget().(*MatchingAttributes_ExecutionQueueAttributes); ok { - return x.ExecutionQueueAttributes - } - return nil -} - -func (m *MatchingAttributes) GetExecutionClusterLabel() *ExecutionClusterLabel { - if x, ok := m.GetTarget().(*MatchingAttributes_ExecutionClusterLabel); ok { - return x.ExecutionClusterLabel - } - return nil -} - -func (m *MatchingAttributes) GetQualityOfService() *core.QualityOfService { - if x, ok := m.GetTarget().(*MatchingAttributes_QualityOfService); ok { - return x.QualityOfService - } - return nil -} - -func (m *MatchingAttributes) GetPluginOverrides() *PluginOverrides { - if x, ok := m.GetTarget().(*MatchingAttributes_PluginOverrides); ok { - return x.PluginOverrides - } - return nil -} - -func (m *MatchingAttributes) GetWorkflowExecutionConfig() *WorkflowExecutionConfig { - if x, ok := m.GetTarget().(*MatchingAttributes_WorkflowExecutionConfig); ok { - return x.WorkflowExecutionConfig - } - return nil -} - -func (m *MatchingAttributes) GetClusterAssignment() *ClusterAssignment { - if x, ok := m.GetTarget().(*MatchingAttributes_ClusterAssignment); ok { - return x.ClusterAssignment - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MatchingAttributes) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MatchingAttributes_TaskResourceAttributes)(nil), - (*MatchingAttributes_ClusterResourceAttributes)(nil), - (*MatchingAttributes_ExecutionQueueAttributes)(nil), - (*MatchingAttributes_ExecutionClusterLabel)(nil), - (*MatchingAttributes_QualityOfService)(nil), - (*MatchingAttributes_PluginOverrides)(nil), - (*MatchingAttributes_WorkflowExecutionConfig)(nil), - (*MatchingAttributes_ClusterAssignment)(nil), - } -} - // Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org); // or domain, project and workflow name (and optional org). // These are used to override system level defaults for kubernetes cluster resource management, // default execution values, and more all across different levels of specificity. type MatchableAttributesConfiguration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Attributes *MatchingAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` Workflow string `protobuf:"bytes,4,opt,name=workflow,proto3" json:"workflow,omitempty"` LaunchPlan string `protobuf:"bytes,5,opt,name=launch_plan,json=launchPlan,proto3" json:"launch_plan,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` } -func (m *MatchableAttributesConfiguration) Reset() { *m = MatchableAttributesConfiguration{} } -func (m *MatchableAttributesConfiguration) String() string { return proto.CompactTextString(m) } -func (*MatchableAttributesConfiguration) ProtoMessage() {} -func (*MatchableAttributesConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{9} +func (x *MatchableAttributesConfiguration) Reset() { + *x = MatchableAttributesConfiguration{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MatchableAttributesConfiguration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MatchableAttributesConfiguration.Unmarshal(m, b) -} -func (m *MatchableAttributesConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MatchableAttributesConfiguration.Marshal(b, m, deterministic) -} -func (m *MatchableAttributesConfiguration) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchableAttributesConfiguration.Merge(m, src) -} -func (m *MatchableAttributesConfiguration) XXX_Size() int { - return xxx_messageInfo_MatchableAttributesConfiguration.Size(m) +func (x *MatchableAttributesConfiguration) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MatchableAttributesConfiguration) XXX_DiscardUnknown() { - xxx_messageInfo_MatchableAttributesConfiguration.DiscardUnknown(m) + +func (*MatchableAttributesConfiguration) ProtoMessage() {} + +func (x *MatchableAttributesConfiguration) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MatchableAttributesConfiguration proto.InternalMessageInfo +// Deprecated: Use MatchableAttributesConfiguration.ProtoReflect.Descriptor instead. +func (*MatchableAttributesConfiguration) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{9} +} -func (m *MatchableAttributesConfiguration) GetAttributes() *MatchingAttributes { - if m != nil { - return m.Attributes +func (x *MatchableAttributesConfiguration) GetAttributes() *MatchingAttributes { + if x != nil { + return x.Attributes } return nil } -func (m *MatchableAttributesConfiguration) GetDomain() string { - if m != nil { - return m.Domain +func (x *MatchableAttributesConfiguration) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *MatchableAttributesConfiguration) GetProject() string { - if m != nil { - return m.Project +func (x *MatchableAttributesConfiguration) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *MatchableAttributesConfiguration) GetWorkflow() string { - if m != nil { - return m.Workflow +func (x *MatchableAttributesConfiguration) GetWorkflow() string { + if x != nil { + return x.Workflow } return "" } -func (m *MatchableAttributesConfiguration) GetLaunchPlan() string { - if m != nil { - return m.LaunchPlan +func (x *MatchableAttributesConfiguration) GetLaunchPlan() string { + if x != nil { + return x.LaunchPlan } return "" } -func (m *MatchableAttributesConfiguration) GetOrg() string { - if m != nil { - return m.Org +func (x *MatchableAttributesConfiguration) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -811,50 +920,58 @@ func (m *MatchableAttributesConfiguration) GetOrg() string { // Request all matching resource attributes for a resource type. // See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details type ListMatchableAttributesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // +required ResourceType MatchableResource `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.admin.MatchableResource" json:"resource_type,omitempty"` // Optional, org filter applied to list project requests. - Org string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ListMatchableAttributesRequest) Reset() { *m = ListMatchableAttributesRequest{} } -func (m *ListMatchableAttributesRequest) String() string { return proto.CompactTextString(m) } -func (*ListMatchableAttributesRequest) ProtoMessage() {} -func (*ListMatchableAttributesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{10} +func (x *ListMatchableAttributesRequest) Reset() { + *x = ListMatchableAttributesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListMatchableAttributesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMatchableAttributesRequest.Unmarshal(m, b) -} -func (m *ListMatchableAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMatchableAttributesRequest.Marshal(b, m, deterministic) -} -func (m *ListMatchableAttributesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMatchableAttributesRequest.Merge(m, src) +func (x *ListMatchableAttributesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListMatchableAttributesRequest) XXX_Size() int { - return xxx_messageInfo_ListMatchableAttributesRequest.Size(m) -} -func (m *ListMatchableAttributesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMatchableAttributesRequest.DiscardUnknown(m) + +func (*ListMatchableAttributesRequest) ProtoMessage() {} + +func (x *ListMatchableAttributesRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListMatchableAttributesRequest proto.InternalMessageInfo +// Deprecated: Use ListMatchableAttributesRequest.ProtoReflect.Descriptor instead. +func (*ListMatchableAttributesRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{10} +} -func (m *ListMatchableAttributesRequest) GetResourceType() MatchableResource { - if m != nil { - return m.ResourceType +func (x *ListMatchableAttributesRequest) GetResourceType() MatchableResource { + if x != nil { + return x.ResourceType } return MatchableResource_TASK_RESOURCE } -func (m *ListMatchableAttributesRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ListMatchableAttributesRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -862,151 +979,514 @@ func (m *ListMatchableAttributesRequest) GetOrg() string { // Response for a request for all matching resource attributes for a resource type. // See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details type ListMatchableAttributesResponse struct { - Configurations []*MatchableAttributesConfiguration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListMatchableAttributesResponse) Reset() { *m = ListMatchableAttributesResponse{} } -func (m *ListMatchableAttributesResponse) String() string { return proto.CompactTextString(m) } -func (*ListMatchableAttributesResponse) ProtoMessage() {} -func (*ListMatchableAttributesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1d15bcabb02640f4, []int{11} + Configurations []*MatchableAttributesConfiguration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,omitempty"` } -func (m *ListMatchableAttributesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMatchableAttributesResponse.Unmarshal(m, b) -} -func (m *ListMatchableAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMatchableAttributesResponse.Marshal(b, m, deterministic) -} -func (m *ListMatchableAttributesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMatchableAttributesResponse.Merge(m, src) +func (x *ListMatchableAttributesResponse) Reset() { + *x = ListMatchableAttributesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListMatchableAttributesResponse) XXX_Size() int { - return xxx_messageInfo_ListMatchableAttributesResponse.Size(m) + +func (x *ListMatchableAttributesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListMatchableAttributesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMatchableAttributesResponse.DiscardUnknown(m) + +func (*ListMatchableAttributesResponse) ProtoMessage() {} + +func (x *ListMatchableAttributesResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_matchable_resource_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListMatchableAttributesResponse proto.InternalMessageInfo +// Deprecated: Use ListMatchableAttributesResponse.ProtoReflect.Descriptor instead. +func (*ListMatchableAttributesResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_matchable_resource_proto_rawDescGZIP(), []int{11} +} -func (m *ListMatchableAttributesResponse) GetConfigurations() []*MatchableAttributesConfiguration { - if m != nil { - return m.Configurations +func (x *ListMatchableAttributesResponse) GetConfigurations() []*MatchableAttributesConfiguration { + if x != nil { + return x.Configurations } return nil } -func init() { - proto.RegisterEnum("flyteidl.admin.MatchableResource", MatchableResource_name, MatchableResource_value) - proto.RegisterEnum("flyteidl.admin.PluginOverride_MissingPluginBehavior", PluginOverride_MissingPluginBehavior_name, PluginOverride_MissingPluginBehavior_value) - proto.RegisterType((*TaskResourceSpec)(nil), "flyteidl.admin.TaskResourceSpec") - proto.RegisterType((*TaskResourceAttributes)(nil), "flyteidl.admin.TaskResourceAttributes") - proto.RegisterType((*ClusterResourceAttributes)(nil), "flyteidl.admin.ClusterResourceAttributes") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.ClusterResourceAttributes.AttributesEntry") - proto.RegisterType((*ExecutionQueueAttributes)(nil), "flyteidl.admin.ExecutionQueueAttributes") - proto.RegisterType((*ExecutionClusterLabel)(nil), "flyteidl.admin.ExecutionClusterLabel") - proto.RegisterType((*PluginOverride)(nil), "flyteidl.admin.PluginOverride") - proto.RegisterType((*PluginOverrides)(nil), "flyteidl.admin.PluginOverrides") - proto.RegisterType((*WorkflowExecutionConfig)(nil), "flyteidl.admin.WorkflowExecutionConfig") - proto.RegisterType((*MatchingAttributes)(nil), "flyteidl.admin.MatchingAttributes") - proto.RegisterType((*MatchableAttributesConfiguration)(nil), "flyteidl.admin.MatchableAttributesConfiguration") - proto.RegisterType((*ListMatchableAttributesRequest)(nil), "flyteidl.admin.ListMatchableAttributesRequest") - proto.RegisterType((*ListMatchableAttributesResponse)(nil), "flyteidl.admin.ListMatchableAttributesResponse") -} - -func init() { - proto.RegisterFile("flyteidl/admin/matchable_resource.proto", fileDescriptor_1d15bcabb02640f4) -} - -var fileDescriptor_1d15bcabb02640f4 = []byte{ - // 1357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0x5b, 0x53, 0xdb, 0xc6, - 0x17, 0xb7, 0xb8, 0x18, 0x73, 0xfc, 0x0f, 0x88, 0x4d, 0x00, 0x03, 0xff, 0x24, 0xd4, 0xbd, 0x84, - 0xb6, 0x13, 0xbb, 0x43, 0xfb, 0x90, 0x5e, 0x32, 0x53, 0xe3, 0x88, 0xe0, 0x89, 0xc1, 0xb0, 0xb6, - 0x73, 0xe9, 0x8b, 0x66, 0x2d, 0xaf, 0x85, 0x8a, 0xa4, 0x15, 0xab, 0x15, 0xc6, 0xed, 0x97, 0xe8, - 0x43, 0xfb, 0x51, 0xfa, 0x7d, 0xfa, 0xd6, 0x87, 0xf6, 0x43, 0x74, 0xb4, 0xba, 0xd8, 0x16, 0x76, - 0x26, 0x6f, 0xda, 0xb3, 0xbf, 0x73, 0xd9, 0xb3, 0xe7, 0xfc, 0xce, 0x0a, 0x9e, 0x0c, 0xec, 0x91, - 0xa0, 0x56, 0xdf, 0xae, 0x92, 0xbe, 0x63, 0xb9, 0x55, 0x87, 0x08, 0xe3, 0x92, 0xf4, 0x6c, 0xaa, - 0x73, 0xea, 0xb3, 0x80, 0x1b, 0xb4, 0xe2, 0x71, 0x26, 0x18, 0x5a, 0x4b, 0x80, 0x15, 0x09, 0xdc, - 0xdd, 0xcb, 0x28, 0x1a, 0xcc, 0x71, 0x98, 0x1b, 0x81, 0x77, 0xb3, 0x56, 0x0d, 0x3b, 0xf0, 0x05, - 0xe5, 0x3a, 0xf1, 0x7d, 0xcb, 0x74, 0x1d, 0xea, 0x8a, 0x18, 0xf8, 0x30, 0x05, 0x1a, 0x8c, 0xd3, - 0x2a, 0xbd, 0xa5, 0x46, 0x20, 0xac, 0xd4, 0xce, 0xff, 0xa7, 0xb7, 0x7d, 0x6a, 0x04, 0xdc, 0x12, - 0xa3, 0x78, 0xf7, 0x91, 0xc9, 0x98, 0x69, 0xd3, 0xaa, 0x5c, 0xf5, 0x82, 0x41, 0x75, 0xc8, 0x89, - 0xe7, 0x51, 0xee, 0x47, 0xfb, 0xe5, 0x3f, 0x14, 0x50, 0x3b, 0xc4, 0xbf, 0xc2, 0xf1, 0x49, 0xda, - 0x1e, 0x35, 0x90, 0x0a, 0x8b, 0x86, 0x17, 0x94, 0x94, 0x7d, 0xe5, 0x60, 0x15, 0x87, 0x9f, 0xa1, - 0xc4, 0xf4, 0x82, 0xd2, 0x42, 0x24, 0x31, 0xbd, 0x00, 0x6d, 0x41, 0xde, 0xa1, 0x0e, 0xe3, 0xa3, - 0xd2, 0xa2, 0x14, 0xc6, 0x2b, 0x54, 0x82, 0x15, 0x5f, 0x30, 0x4e, 0x4c, 0x5a, 0x5a, 0x92, 0x1b, - 0xc9, 0x12, 0x7d, 0x09, 0x1b, 0xd4, 0xbb, 0xa4, 0x0e, 0xe5, 0xc4, 0xd6, 0x13, 0xcc, 0xb2, 0xc4, - 0xa8, 0xe9, 0x46, 0x3b, 0x92, 0x97, 0x7f, 0x53, 0x60, 0x6b, 0x32, 0xae, 0x9a, 0x10, 0xdc, 0xea, - 0x05, 0x82, 0xfa, 0xe8, 0x07, 0x28, 0xf4, 0xe9, 0x80, 0x04, 0xb6, 0xf0, 0x65, 0x88, 0xc5, 0xc3, - 0xfd, 0xca, 0x74, 0xe2, 0x2b, 0xd9, 0x13, 0xe1, 0x54, 0x03, 0x3d, 0x83, 0xbc, 0x6d, 0x39, 0x96, - 0xf0, 0xe5, 0x61, 0x3e, 0x44, 0x37, 0xc6, 0x97, 0xff, 0x54, 0x60, 0xa7, 0x1e, 0x5d, 0xd2, 0x8c, - 0xa8, 0xde, 0x01, 0x90, 0x74, 0x55, 0x52, 0xf6, 0x17, 0x0f, 0x8a, 0x87, 0xdf, 0x66, 0x6d, 0xcf, - 0x55, 0xaf, 0x8c, 0x3f, 0x35, 0x57, 0xf0, 0x11, 0x9e, 0x30, 0xb6, 0xfb, 0x1c, 0xd6, 0x33, 0xdb, - 0xe1, 0x7d, 0x5c, 0xd1, 0x51, 0x72, 0x43, 0x57, 0x74, 0x84, 0x1e, 0xc0, 0xf2, 0x0d, 0xb1, 0x03, - 0x1a, 0xdf, 0x51, 0xb4, 0xf8, 0x6e, 0xe1, 0x99, 0x52, 0xae, 0x40, 0x49, 0x4b, 0x6a, 0xe6, 0x22, - 0xa0, 0xc1, 0x64, 0xd4, 0x08, 0x96, 0x04, 0x31, 0xa3, 0x78, 0x57, 0xb1, 0xfc, 0x2e, 0x3f, 0x85, - 0xcd, 0x14, 0x1f, 0x07, 0xdc, 0x24, 0x3d, 0x6a, 0x8f, 0x5d, 0x28, 0x13, 0x2e, 0xca, 0xff, 0x2a, - 0xb0, 0x76, 0x6e, 0x07, 0xa6, 0xe5, 0xb6, 0x6e, 0x28, 0xe7, 0x56, 0x9f, 0xa2, 0x3d, 0x58, 0x15, - 0xc4, 0xbf, 0xd2, 0xc5, 0xc8, 0x4b, 0xc0, 0x85, 0x50, 0xd0, 0x19, 0x79, 0x72, 0xd3, 0x93, 0x70, - 0xdd, 0xea, 0x97, 0x16, 0xa4, 0xdf, 0x42, 0x24, 0x68, 0xf4, 0x91, 0x0d, 0xdb, 0x8e, 0xe5, 0xfb, - 0x96, 0x6b, 0xea, 0x31, 0xa8, 0x47, 0x2f, 0xc9, 0x8d, 0xc5, 0xb8, 0xac, 0xa6, 0xb5, 0xc3, 0x6f, - 0xb2, 0x29, 0x9d, 0x76, 0x5d, 0x39, 0x8d, 0xb4, 0x23, 0xe9, 0x51, 0xac, 0x8b, 0x37, 0x9d, 0x59, - 0xe2, 0xf2, 0x21, 0x6c, 0xce, 0xc4, 0xa3, 0x02, 0x2c, 0x1d, 0xd7, 0x1a, 0x4d, 0x35, 0x87, 0xd6, - 0xa1, 0xd8, 0x6d, 0x6b, 0xfa, 0x0b, 0xed, 0xb8, 0xd6, 0x6d, 0x76, 0x54, 0xa5, 0xdc, 0x82, 0xf5, - 0x69, 0x97, 0x61, 0x41, 0xae, 0xb2, 0x64, 0x11, 0xdf, 0xfc, 0xa3, 0xf7, 0x87, 0x89, 0xc7, 0x0a, - 0xe5, 0x7f, 0x16, 0x61, 0xfb, 0x0d, 0xe3, 0x57, 0x03, 0x9b, 0x0d, 0xc7, 0x79, 0x67, 0xee, 0xc0, - 0x32, 0xd1, 0x13, 0x58, 0x77, 0xc8, 0xad, 0xee, 0x11, 0x4e, 0x6c, 0x9b, 0xda, 0x96, 0xef, 0xc8, - 0x74, 0x2e, 0xe3, 0x35, 0x87, 0xdc, 0x9e, 0x8f, 0xa5, 0xa8, 0x01, 0x6a, 0xd2, 0xf8, 0xba, 0xc1, - 0x5c, 0x41, 0x6f, 0x45, 0x5c, 0xdf, 0x13, 0x91, 0x84, 0xfc, 0x50, 0x69, 0xc7, 0xb0, 0x7a, 0x84, - 0xc2, 0xeb, 0xfe, 0xb4, 0x00, 0xbd, 0x85, 0x2d, 0x4e, 0x86, 0x3a, 0x0b, 0x84, 0x17, 0x08, 0xbd, - 0x4f, 0x04, 0x09, 0x2d, 0x0e, 0x2c, 0x53, 0x36, 0x7a, 0xf1, 0xf0, 0xe3, 0xec, 0xd1, 0x30, 0x19, - 0xb6, 0x24, 0xf8, 0x05, 0x11, 0x24, 0x0a, 0x1c, 0xdf, 0xe7, 0x77, 0x85, 0xa8, 0x02, 0x79, 0x3b, - 0x2c, 0x24, 0x5f, 0xde, 0x65, 0xf1, 0x70, 0x2b, 0x6b, 0x49, 0x96, 0x99, 0x8f, 0x63, 0x14, 0x7a, - 0x0e, 0x45, 0xe2, 0xba, 0x4c, 0x90, 0x30, 0x23, 0xbe, 0xa4, 0x8a, 0xe2, 0xe1, 0x5e, 0x56, 0xa9, - 0x36, 0x86, 0xe0, 0x49, 0x3c, 0xfa, 0x11, 0xee, 0x59, 0xae, 0xa0, 0x9c, 0x07, 0x9e, 0xb0, 0x7a, - 0x36, 0x2d, 0xe5, 0xa5, 0x81, 0xdd, 0x4a, 0x44, 0x89, 0x95, 0x84, 0x12, 0x2b, 0x47, 0x8c, 0xd9, - 0xaf, 0xc3, 0x5a, 0xc6, 0xd3, 0x0a, 0x61, 0xfa, 0xc3, 0x7b, 0x1a, 0x72, 0x4b, 0x50, 0xdd, 0x20, - 0xc6, 0x25, 0x2d, 0xad, 0xec, 0x2b, 0x07, 0x05, 0xbc, 0x96, 0x8a, 0xeb, 0xa1, 0x14, 0x1d, 0xc0, - 0x12, 0x75, 0x6f, 0xfc, 0x52, 0x41, 0x7a, 0x78, 0x90, 0x0d, 0x51, 0x73, 0x6f, 0x7c, 0x2c, 0x11, - 0xe5, 0xdf, 0xf3, 0x80, 0x4e, 0xc3, 0xf9, 0x61, 0xb9, 0xe6, 0x44, 0x1f, 0xf6, 0xa0, 0x24, 0x3b, - 0x26, 0x19, 0x28, 0xfa, 0x14, 0x97, 0x84, 0x46, 0x3f, 0x7b, 0x1f, 0x4f, 0x8d, 0x2d, 0x9d, 0xe4, - 0xf0, 0x96, 0x98, 0xcd, 0x9b, 0x57, 0xb0, 0x97, 0xcc, 0x98, 0x59, 0x6e, 0xa2, 0x72, 0xf9, 0xfc, - 0x83, 0x29, 0xeb, 0x24, 0x87, 0x77, 0x8c, 0xb9, 0x74, 0x78, 0x09, 0xbb, 0xe9, 0xa0, 0xd2, 0xaf, - 0x43, 0xd6, 0x99, 0xf4, 0x15, 0x55, 0xd2, 0xc1, 0x9d, 0x3c, 0xcd, 0xa1, 0xa9, 0x93, 0x1c, 0x2e, - 0xd1, 0x79, 0x14, 0xa6, 0xc3, 0xf6, 0xd8, 0x53, 0x72, 0x40, 0x59, 0x41, 0x71, 0x99, 0x7d, 0x3a, - 0xd7, 0xcd, 0x24, 0xbb, 0x9d, 0xe4, 0xf0, 0x26, 0x9d, 0x49, 0x7b, 0x2d, 0x40, 0xd7, 0x01, 0xb1, - 0xc3, 0xd6, 0x62, 0x03, 0xdd, 0xa7, 0xfc, 0xc6, 0x32, 0x68, 0x5c, 0x8d, 0x8f, 0x33, 0xdd, 0x75, - 0x11, 0x01, 0x5b, 0x83, 0x76, 0x04, 0x3b, 0xc9, 0x61, 0xf5, 0x3a, 0x23, 0x43, 0x4d, 0x50, 0x63, - 0x72, 0x1b, 0xd3, 0x46, 0x3e, 0x6b, 0x6e, 0x16, 0x6d, 0x84, 0x89, 0x58, 0xf7, 0x32, 0xec, 0x43, - 0x61, 0x67, 0x18, 0xd3, 0x87, 0x3e, 0x91, 0x88, 0xa8, 0x65, 0x57, 0xa4, 0xd9, 0x27, 0x59, 0xb3, - 0x73, 0xf8, 0xe6, 0x24, 0x87, 0xb7, 0x87, 0x73, 0xa8, 0x08, 0x03, 0xba, 0xfb, 0x42, 0x89, 0x0b, - 0xfe, 0xa3, 0x39, 0x45, 0x53, 0x4b, 0x81, 0x27, 0x39, 0xbc, 0x61, 0x64, 0x85, 0x47, 0x05, 0xc8, - 0x0b, 0xc2, 0x4d, 0x2a, 0xca, 0x7f, 0x2b, 0xb0, 0x7f, 0x9a, 0x3c, 0xab, 0xc6, 0x97, 0x1b, 0xf9, - 0x0e, 0xb8, 0xec, 0x68, 0x74, 0x94, 0x19, 0xb1, 0xa1, 0xeb, 0x72, 0xd6, 0xf5, 0xdd, 0xe6, 0x9a, - 0x9c, 0xa5, 0xe1, 0xb3, 0xa5, 0xcf, 0x1c, 0x62, 0xb9, 0xf1, 0x9c, 0x8c, 0x57, 0xe1, 0xb3, 0xc5, - 0xe3, 0xec, 0x67, 0x6a, 0x88, 0xf8, 0x3d, 0x93, 0x2c, 0xd1, 0x2e, 0x14, 0x92, 0x9c, 0xc4, 0x2f, - 0x9a, 0x74, 0x8d, 0x1e, 0x43, 0xd1, 0x26, 0x81, 0x6b, 0x5c, 0xea, 0x9e, 0x4d, 0xdc, 0xf8, 0x31, - 0x03, 0x91, 0xe8, 0xdc, 0x26, 0x6e, 0x38, 0xa7, 0x19, 0x37, 0xe5, 0xed, 0xae, 0xe2, 0xf0, 0xb3, - 0xfc, 0x0b, 0x3c, 0x6a, 0x5a, 0xbe, 0x98, 0x71, 0x58, 0x4c, 0xaf, 0x03, 0xea, 0x0b, 0x74, 0x0c, - 0xf7, 0xd2, 0xfe, 0x4c, 0x27, 0xe8, 0xda, 0xdd, 0x24, 0xa7, 0x26, 0x92, 0xf6, 0xc3, 0xff, 0x4b, - 0xf4, 0xe4, 0xa0, 0x8d, 0x7d, 0x2f, 0x8c, 0x7d, 0xff, 0x0a, 0x8f, 0xe7, 0xfa, 0xf6, 0x3d, 0xe6, - 0xfa, 0x14, 0xbd, 0x85, 0x35, 0x63, 0x32, 0xe9, 0xc9, 0x40, 0xfb, 0x6a, 0xae, 0xf7, 0x39, 0xb7, - 0x85, 0x33, 0x76, 0xbe, 0xf8, 0x4b, 0x81, 0x8d, 0x3b, 0x21, 0xa3, 0x0d, 0xb8, 0xd7, 0xa9, 0xb5, - 0x5f, 0xe9, 0x58, 0x6b, 0xb7, 0xba, 0xb8, 0xae, 0xa9, 0x39, 0xf4, 0x00, 0xd4, 0x7a, 0xb3, 0xdb, - 0xee, 0x68, 0x78, 0x2c, 0x55, 0xd0, 0x7d, 0x58, 0xd7, 0xde, 0x6a, 0xf5, 0x6e, 0xa7, 0xd1, 0x3a, - 0xd3, 0x2f, 0xba, 0x5a, 0x57, 0x53, 0x17, 0xd0, 0x1e, 0x6c, 0x8f, 0x85, 0x89, 0x52, 0xb3, 0x76, - 0xa4, 0x35, 0xd5, 0x45, 0xf4, 0x09, 0xec, 0x5f, 0x74, 0x6b, 0xcd, 0x46, 0xe7, 0x9d, 0xde, 0x3a, - 0xd6, 0xdb, 0x1a, 0x7e, 0xdd, 0xa8, 0x6b, 0x7a, 0xfb, 0x5c, 0xab, 0x37, 0x8e, 0x1b, 0xf5, 0x5a, - 0xa8, 0xa3, 0x2e, 0x85, 0x76, 0xcf, 0x9b, 0xdd, 0x97, 0x8d, 0x33, 0xbd, 0xf5, 0x5a, 0xc3, 0xb8, - 0xf1, 0x42, 0x53, 0x97, 0xd1, 0x43, 0xd8, 0x79, 0xd3, 0xc2, 0xaf, 0x8e, 0x9b, 0xad, 0x37, 0xfa, - 0x84, 0x83, 0xd6, 0xd9, 0x71, 0xe3, 0xa5, 0x9a, 0x47, 0x5b, 0x80, 0x12, 0x67, 0xb5, 0x76, 0xbb, - 0xf1, 0xf2, 0xec, 0x54, 0x3b, 0xeb, 0xa8, 0x2b, 0x47, 0xcf, 0x7f, 0xfa, 0xde, 0xb4, 0xc4, 0x65, - 0xd0, 0xab, 0x18, 0xcc, 0xa9, 0xca, 0x84, 0x31, 0x6e, 0x46, 0x1f, 0xd5, 0xf4, 0x99, 0x6e, 0x52, - 0xb7, 0xea, 0xf5, 0x9e, 0x9a, 0xac, 0x3a, 0xfd, 0x07, 0xd0, 0xcb, 0xcb, 0x89, 0xf4, 0xf5, 0x7f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xc1, 0x68, 0x9a, 0x70, 0x0c, 0x00, 0x00, +var File_flyteidl_admin_matchable_resource_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_matchable_resource_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x61, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, + 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, + 0x10, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, + 0x63, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x63, 0x70, 0x75, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x70, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x67, 0x70, 0x75, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, + 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x70, 0x68, 0x65, 0x6d, + 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x16, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, + 0x3c, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x38, 0x0a, + 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, + 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, + 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x19, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x2e, 0x0a, 0x18, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x75, + 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, + 0x2d, 0x0a, 0x15, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xec, + 0x01, 0x0a, 0x0e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x6c, 0x0a, 0x17, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x62, 0x65, + 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x2e, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, + 0x6f, 0x72, 0x52, 0x15, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x22, 0x32, 0x0a, 0x15, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, + 0x6f, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x53, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x22, 0x4f, 0x0a, + 0x0f, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, + 0x12, 0x3c, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, + 0x69, 0x64, 0x65, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x22, 0xeb, + 0x03, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, + 0x78, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, + 0x69, 0x73, 0x6d, 0x12, 0x49, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x58, + 0x0a, 0x16, 0x72, 0x61, 0x77, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x52, 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x13, 0x72, 0x61, 0x77, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, + 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x43, 0x61, 0x63, + 0x68, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x45, 0x6e, 0x76, 0x73, 0x52, 0x04, 0x65, 0x6e, 0x76, 0x73, 0x22, 0x94, 0x06, 0x0a, + 0x12, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x18, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x48, 0x00, 0x52, + 0x16, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x6b, 0x0a, 0x1b, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x48, 0x00, 0x52, 0x19, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x12, 0x68, 0x0a, 0x1a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x48, 0x00, 0x52, 0x18, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x51, + 0x75, 0x65, 0x75, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x5f, + 0x0a, 0x17, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x48, 0x00, 0x52, 0x15, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, + 0x4f, 0x0a, 0x12, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, + 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x10, + 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x4c, 0x0a, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, + 0x69, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x70, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x65, + 0x0a, 0x19, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x17, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x52, 0x0a, 0x12, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x22, 0xe7, 0x01, 0x0a, 0x20, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, + 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6f, + 0x72, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x7a, 0x0a, + 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x46, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x7b, 0x0a, 0x1f, 0x4c, 0x69, 0x73, + 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0e, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0xe0, 0x01, 0x0a, 0x11, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x11, 0x0a, 0x0d, + 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10, 0x00, 0x12, + 0x14, 0x0a, 0x10, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, + 0x52, 0x43, 0x45, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x55, 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, + 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, + 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x03, 0x12, 0x24, 0x0a, 0x20, 0x51, 0x55, 0x41, 0x4c, 0x49, + 0x54, 0x59, 0x5f, 0x4f, 0x46, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x13, 0x0a, + 0x0f, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x52, 0x49, 0x44, 0x45, + 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x45, + 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, + 0x06, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x41, 0x53, 0x53, + 0x49, 0x47, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x07, 0x42, 0xc2, 0x01, 0x0a, 0x12, 0x63, 0x6f, + 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x42, 0x16, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, + 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, + 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_matchable_resource_proto_rawDescOnce sync.Once + file_flyteidl_admin_matchable_resource_proto_rawDescData = file_flyteidl_admin_matchable_resource_proto_rawDesc +) + +func file_flyteidl_admin_matchable_resource_proto_rawDescGZIP() []byte { + file_flyteidl_admin_matchable_resource_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_matchable_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_matchable_resource_proto_rawDescData) + }) + return file_flyteidl_admin_matchable_resource_proto_rawDescData +} + +var file_flyteidl_admin_matchable_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_flyteidl_admin_matchable_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_flyteidl_admin_matchable_resource_proto_goTypes = []interface{}{ + (MatchableResource)(0), // 0: flyteidl.admin.MatchableResource + (PluginOverride_MissingPluginBehavior)(0), // 1: flyteidl.admin.PluginOverride.MissingPluginBehavior + (*TaskResourceSpec)(nil), // 2: flyteidl.admin.TaskResourceSpec + (*TaskResourceAttributes)(nil), // 3: flyteidl.admin.TaskResourceAttributes + (*ClusterResourceAttributes)(nil), // 4: flyteidl.admin.ClusterResourceAttributes + (*ExecutionQueueAttributes)(nil), // 5: flyteidl.admin.ExecutionQueueAttributes + (*ExecutionClusterLabel)(nil), // 6: flyteidl.admin.ExecutionClusterLabel + (*PluginOverride)(nil), // 7: flyteidl.admin.PluginOverride + (*PluginOverrides)(nil), // 8: flyteidl.admin.PluginOverrides + (*WorkflowExecutionConfig)(nil), // 9: flyteidl.admin.WorkflowExecutionConfig + (*MatchingAttributes)(nil), // 10: flyteidl.admin.MatchingAttributes + (*MatchableAttributesConfiguration)(nil), // 11: flyteidl.admin.MatchableAttributesConfiguration + (*ListMatchableAttributesRequest)(nil), // 12: flyteidl.admin.ListMatchableAttributesRequest + (*ListMatchableAttributesResponse)(nil), // 13: flyteidl.admin.ListMatchableAttributesResponse + nil, // 14: flyteidl.admin.ClusterResourceAttributes.AttributesEntry + (*core.SecurityContext)(nil), // 15: flyteidl.core.SecurityContext + (*RawOutputDataConfig)(nil), // 16: flyteidl.admin.RawOutputDataConfig + (*Labels)(nil), // 17: flyteidl.admin.Labels + (*Annotations)(nil), // 18: flyteidl.admin.Annotations + (*wrapperspb.BoolValue)(nil), // 19: google.protobuf.BoolValue + (*Envs)(nil), // 20: flyteidl.admin.Envs + (*core.QualityOfService)(nil), // 21: flyteidl.core.QualityOfService + (*ClusterAssignment)(nil), // 22: flyteidl.admin.ClusterAssignment +} +var file_flyteidl_admin_matchable_resource_proto_depIdxs = []int32{ + 2, // 0: flyteidl.admin.TaskResourceAttributes.defaults:type_name -> flyteidl.admin.TaskResourceSpec + 2, // 1: flyteidl.admin.TaskResourceAttributes.limits:type_name -> flyteidl.admin.TaskResourceSpec + 14, // 2: flyteidl.admin.ClusterResourceAttributes.attributes:type_name -> flyteidl.admin.ClusterResourceAttributes.AttributesEntry + 1, // 3: flyteidl.admin.PluginOverride.missing_plugin_behavior:type_name -> flyteidl.admin.PluginOverride.MissingPluginBehavior + 7, // 4: flyteidl.admin.PluginOverrides.overrides:type_name -> flyteidl.admin.PluginOverride + 15, // 5: flyteidl.admin.WorkflowExecutionConfig.security_context:type_name -> flyteidl.core.SecurityContext + 16, // 6: flyteidl.admin.WorkflowExecutionConfig.raw_output_data_config:type_name -> flyteidl.admin.RawOutputDataConfig + 17, // 7: flyteidl.admin.WorkflowExecutionConfig.labels:type_name -> flyteidl.admin.Labels + 18, // 8: flyteidl.admin.WorkflowExecutionConfig.annotations:type_name -> flyteidl.admin.Annotations + 19, // 9: flyteidl.admin.WorkflowExecutionConfig.interruptible:type_name -> google.protobuf.BoolValue + 20, // 10: flyteidl.admin.WorkflowExecutionConfig.envs:type_name -> flyteidl.admin.Envs + 3, // 11: flyteidl.admin.MatchingAttributes.task_resource_attributes:type_name -> flyteidl.admin.TaskResourceAttributes + 4, // 12: flyteidl.admin.MatchingAttributes.cluster_resource_attributes:type_name -> flyteidl.admin.ClusterResourceAttributes + 5, // 13: flyteidl.admin.MatchingAttributes.execution_queue_attributes:type_name -> flyteidl.admin.ExecutionQueueAttributes + 6, // 14: flyteidl.admin.MatchingAttributes.execution_cluster_label:type_name -> flyteidl.admin.ExecutionClusterLabel + 21, // 15: flyteidl.admin.MatchingAttributes.quality_of_service:type_name -> flyteidl.core.QualityOfService + 8, // 16: flyteidl.admin.MatchingAttributes.plugin_overrides:type_name -> flyteidl.admin.PluginOverrides + 9, // 17: flyteidl.admin.MatchingAttributes.workflow_execution_config:type_name -> flyteidl.admin.WorkflowExecutionConfig + 22, // 18: flyteidl.admin.MatchingAttributes.cluster_assignment:type_name -> flyteidl.admin.ClusterAssignment + 10, // 19: flyteidl.admin.MatchableAttributesConfiguration.attributes:type_name -> flyteidl.admin.MatchingAttributes + 0, // 20: flyteidl.admin.ListMatchableAttributesRequest.resource_type:type_name -> flyteidl.admin.MatchableResource + 11, // 21: flyteidl.admin.ListMatchableAttributesResponse.configurations:type_name -> flyteidl.admin.MatchableAttributesConfiguration + 22, // [22:22] is the sub-list for method output_type + 22, // [22:22] is the sub-list for method input_type + 22, // [22:22] is the sub-list for extension type_name + 22, // [22:22] is the sub-list for extension extendee + 0, // [0:22] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_matchable_resource_proto_init() } +func file_flyteidl_admin_matchable_resource_proto_init() { + if File_flyteidl_admin_matchable_resource_proto != nil { + return + } + file_flyteidl_admin_common_proto_init() + file_flyteidl_admin_cluster_assignment_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_matchable_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskResourceSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskResourceAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClusterResourceAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionQueueAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionClusterLabel); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PluginOverride); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PluginOverrides); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MatchingAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MatchableAttributesConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMatchableAttributesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMatchableAttributesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_matchable_resource_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*MatchingAttributes_TaskResourceAttributes)(nil), + (*MatchingAttributes_ClusterResourceAttributes)(nil), + (*MatchingAttributes_ExecutionQueueAttributes)(nil), + (*MatchingAttributes_ExecutionClusterLabel)(nil), + (*MatchingAttributes_QualityOfService)(nil), + (*MatchingAttributes_PluginOverrides)(nil), + (*MatchingAttributes_WorkflowExecutionConfig)(nil), + (*MatchingAttributes_ClusterAssignment)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_matchable_resource_proto_rawDesc, + NumEnums: 2, + NumMessages: 13, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_matchable_resource_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_matchable_resource_proto_depIdxs, + EnumInfos: file_flyteidl_admin_matchable_resource_proto_enumTypes, + MessageInfos: file_flyteidl_admin_matchable_resource_proto_msgTypes, + }.Build() + File_flyteidl_admin_matchable_resource_proto = out.File + file_flyteidl_admin_matchable_resource_proto_rawDesc = nil + file_flyteidl_admin_matchable_resource_proto_goTypes = nil + file_flyteidl_admin_matchable_resource_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.swagger.json deleted file mode 100644 index 4f9f550804..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/matchable_resource.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go index 0e19a4af16..b4d9cb8c89 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.go @@ -1,67 +1,75 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/node_execution.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // A message used to fetch a single node execution entity. // See :ref:`ref_flyteidl.admin.NodeExecution` for more details type NodeExecutionGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Uniquely identifies an individual node execution. // +required - Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *NodeExecutionGetRequest) Reset() { *m = NodeExecutionGetRequest{} } -func (m *NodeExecutionGetRequest) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionGetRequest) ProtoMessage() {} -func (*NodeExecutionGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{0} +func (x *NodeExecutionGetRequest) Reset() { + *x = NodeExecutionGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionGetRequest.Unmarshal(m, b) -} -func (m *NodeExecutionGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionGetRequest.Marshal(b, m, deterministic) -} -func (m *NodeExecutionGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionGetRequest.Merge(m, src) +func (x *NodeExecutionGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionGetRequest) XXX_Size() int { - return xxx_messageInfo_NodeExecutionGetRequest.Size(m) -} -func (m *NodeExecutionGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionGetRequest.DiscardUnknown(m) + +func (*NodeExecutionGetRequest) ProtoMessage() {} + +func (x *NodeExecutionGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionGetRequest proto.InternalMessageInfo +// Deprecated: Use NodeExecutionGetRequest.ProtoReflect.Descriptor instead. +func (*NodeExecutionGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{0} +} -func (m *NodeExecutionGetRequest) GetId() *core.NodeExecutionIdentifier { - if m != nil { - return m.Id +func (x *NodeExecutionGetRequest) GetId() *core.NodeExecutionIdentifier { + if x != nil { + return x.Id } return nil } @@ -69,6 +77,10 @@ func (m *NodeExecutionGetRequest) GetId() *core.NodeExecutionIdentifier { // Represents a request structure to retrieve a list of node execution entities. // See :ref:`ref_flyteidl.admin.NodeExecution` for more details type NodeExecutionListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates the workflow execution to filter by. // +required WorkflowExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=workflow_execution_id,json=workflowExecutionId,proto3" json:"workflow_execution_id,omitempty"` @@ -85,75 +97,79 @@ type NodeExecutionListRequest struct { SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` // Unique identifier of the parent node in the execution // +optional - UniqueParentId string `protobuf:"bytes,6,opt,name=unique_parent_id,json=uniqueParentId,proto3" json:"unique_parent_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UniqueParentId string `protobuf:"bytes,6,opt,name=unique_parent_id,json=uniqueParentId,proto3" json:"unique_parent_id,omitempty"` } -func (m *NodeExecutionListRequest) Reset() { *m = NodeExecutionListRequest{} } -func (m *NodeExecutionListRequest) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionListRequest) ProtoMessage() {} -func (*NodeExecutionListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{1} +func (x *NodeExecutionListRequest) Reset() { + *x = NodeExecutionListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionListRequest.Unmarshal(m, b) -} -func (m *NodeExecutionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionListRequest.Marshal(b, m, deterministic) +func (x *NodeExecutionListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionListRequest.Merge(m, src) -} -func (m *NodeExecutionListRequest) XXX_Size() int { - return xxx_messageInfo_NodeExecutionListRequest.Size(m) -} -func (m *NodeExecutionListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionListRequest.DiscardUnknown(m) + +func (*NodeExecutionListRequest) ProtoMessage() {} + +func (x *NodeExecutionListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionListRequest proto.InternalMessageInfo +// Deprecated: Use NodeExecutionListRequest.ProtoReflect.Descriptor instead. +func (*NodeExecutionListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{1} +} -func (m *NodeExecutionListRequest) GetWorkflowExecutionId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.WorkflowExecutionId +func (x *NodeExecutionListRequest) GetWorkflowExecutionId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.WorkflowExecutionId } return nil } -func (m *NodeExecutionListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *NodeExecutionListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *NodeExecutionListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *NodeExecutionListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *NodeExecutionListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *NodeExecutionListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *NodeExecutionListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *NodeExecutionListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } -func (m *NodeExecutionListRequest) GetUniqueParentId() string { - if m != nil { - return m.UniqueParentId +func (x *NodeExecutionListRequest) GetUniqueParentId() string { + if x != nil { + return x.UniqueParentId } return "" } @@ -161,6 +177,10 @@ func (m *NodeExecutionListRequest) GetUniqueParentId() string { // Represents a request structure to retrieve a list of node execution entities launched by a specific task. // This can arise when a task yields a subworkflow. type NodeExecutionForTaskListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates the node execution to filter by. // +required TaskExecutionId *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=task_execution_id,json=taskExecutionId,proto3" json:"task_execution_id,omitempty"` @@ -177,68 +197,72 @@ type NodeExecutionForTaskListRequest struct { Filters string `protobuf:"bytes,4,opt,name=filters,proto3" json:"filters,omitempty"` // Sort ordering. // +optional - SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` } -func (m *NodeExecutionForTaskListRequest) Reset() { *m = NodeExecutionForTaskListRequest{} } -func (m *NodeExecutionForTaskListRequest) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionForTaskListRequest) ProtoMessage() {} -func (*NodeExecutionForTaskListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{2} +func (x *NodeExecutionForTaskListRequest) Reset() { + *x = NodeExecutionForTaskListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionForTaskListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionForTaskListRequest.Unmarshal(m, b) -} -func (m *NodeExecutionForTaskListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionForTaskListRequest.Marshal(b, m, deterministic) +func (x *NodeExecutionForTaskListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionForTaskListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionForTaskListRequest.Merge(m, src) -} -func (m *NodeExecutionForTaskListRequest) XXX_Size() int { - return xxx_messageInfo_NodeExecutionForTaskListRequest.Size(m) -} -func (m *NodeExecutionForTaskListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionForTaskListRequest.DiscardUnknown(m) + +func (*NodeExecutionForTaskListRequest) ProtoMessage() {} + +func (x *NodeExecutionForTaskListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionForTaskListRequest proto.InternalMessageInfo +// Deprecated: Use NodeExecutionForTaskListRequest.ProtoReflect.Descriptor instead. +func (*NodeExecutionForTaskListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{2} +} -func (m *NodeExecutionForTaskListRequest) GetTaskExecutionId() *core.TaskExecutionIdentifier { - if m != nil { - return m.TaskExecutionId +func (x *NodeExecutionForTaskListRequest) GetTaskExecutionId() *core.TaskExecutionIdentifier { + if x != nil { + return x.TaskExecutionId } return nil } -func (m *NodeExecutionForTaskListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *NodeExecutionForTaskListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *NodeExecutionForTaskListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *NodeExecutionForTaskListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *NodeExecutionForTaskListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *NodeExecutionForTaskListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *NodeExecutionForTaskListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *NodeExecutionForTaskListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } @@ -248,6 +272,10 @@ func (m *NodeExecutionForTaskListRequest) GetSortBy() *Sort { // sub-workflow, or even a separate child-workflow execution. // The same task can be called repeatedly in a single workflow but each node is unique. type NodeExecution struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Uniquely identifies an individual node execution. Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Path to remote data store where input blob is stored. @@ -255,67 +283,75 @@ type NodeExecution struct { // Computed results associated with this node execution. Closure *NodeExecutionClosure `protobuf:"bytes,3,opt,name=closure,proto3" json:"closure,omitempty"` // Metadata for Node Execution - Metadata *NodeExecutionMetaData `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata *NodeExecutionMetaData `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *NodeExecution) Reset() { *m = NodeExecution{} } -func (m *NodeExecution) String() string { return proto.CompactTextString(m) } -func (*NodeExecution) ProtoMessage() {} -func (*NodeExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{3} +func (x *NodeExecution) Reset() { + *x = NodeExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecution.Unmarshal(m, b) +func (x *NodeExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecution.Marshal(b, m, deterministic) -} -func (m *NodeExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecution.Merge(m, src) -} -func (m *NodeExecution) XXX_Size() int { - return xxx_messageInfo_NodeExecution.Size(m) -} -func (m *NodeExecution) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecution.DiscardUnknown(m) + +func (*NodeExecution) ProtoMessage() {} + +func (x *NodeExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecution proto.InternalMessageInfo +// Deprecated: Use NodeExecution.ProtoReflect.Descriptor instead. +func (*NodeExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{3} +} -func (m *NodeExecution) GetId() *core.NodeExecutionIdentifier { - if m != nil { - return m.Id +func (x *NodeExecution) GetId() *core.NodeExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *NodeExecution) GetInputUri() string { - if m != nil { - return m.InputUri +func (x *NodeExecution) GetInputUri() string { + if x != nil { + return x.InputUri } return "" } -func (m *NodeExecution) GetClosure() *NodeExecutionClosure { - if m != nil { - return m.Closure +func (x *NodeExecution) GetClosure() *NodeExecutionClosure { + if x != nil { + return x.Closure } return nil } -func (m *NodeExecution) GetMetadata() *NodeExecutionMetaData { - if m != nil { - return m.Metadata +func (x *NodeExecution) GetMetadata() *NodeExecutionMetaData { + if x != nil { + return x.Metadata } return nil } // Represents additional attributes related to a Node Execution type NodeExecutionMetaData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Node executions are grouped depending on retries of the parent // Retry group is unique within the context of a parent node. RetryGroup string `protobuf:"bytes,1,opt,name=retry_group,json=retryGroup,proto3" json:"retry_group,omitempty"` @@ -331,68 +367,72 @@ type NodeExecutionMetaData struct { IsDynamic bool `protobuf:"varint,4,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` // Boolean flag indicating if the node is an array node. This is intended to uniquely identify // array nodes from other nodes which can have is_parent_node as true. - IsArray bool `protobuf:"varint,5,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsArray bool `protobuf:"varint,5,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` } -func (m *NodeExecutionMetaData) Reset() { *m = NodeExecutionMetaData{} } -func (m *NodeExecutionMetaData) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionMetaData) ProtoMessage() {} -func (*NodeExecutionMetaData) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{4} +func (x *NodeExecutionMetaData) Reset() { + *x = NodeExecutionMetaData{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionMetaData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionMetaData.Unmarshal(m, b) -} -func (m *NodeExecutionMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionMetaData.Marshal(b, m, deterministic) -} -func (m *NodeExecutionMetaData) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionMetaData.Merge(m, src) -} -func (m *NodeExecutionMetaData) XXX_Size() int { - return xxx_messageInfo_NodeExecutionMetaData.Size(m) +func (x *NodeExecutionMetaData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionMetaData) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionMetaData.DiscardUnknown(m) + +func (*NodeExecutionMetaData) ProtoMessage() {} + +func (x *NodeExecutionMetaData) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionMetaData proto.InternalMessageInfo +// Deprecated: Use NodeExecutionMetaData.ProtoReflect.Descriptor instead. +func (*NodeExecutionMetaData) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{4} +} -func (m *NodeExecutionMetaData) GetRetryGroup() string { - if m != nil { - return m.RetryGroup +func (x *NodeExecutionMetaData) GetRetryGroup() string { + if x != nil { + return x.RetryGroup } return "" } -func (m *NodeExecutionMetaData) GetIsParentNode() bool { - if m != nil { - return m.IsParentNode +func (x *NodeExecutionMetaData) GetIsParentNode() bool { + if x != nil { + return x.IsParentNode } return false } -func (m *NodeExecutionMetaData) GetSpecNodeId() string { - if m != nil { - return m.SpecNodeId +func (x *NodeExecutionMetaData) GetSpecNodeId() string { + if x != nil { + return x.SpecNodeId } return "" } -func (m *NodeExecutionMetaData) GetIsDynamic() bool { - if m != nil { - return m.IsDynamic +func (x *NodeExecutionMetaData) GetIsDynamic() bool { + if x != nil { + return x.IsDynamic } return false } -func (m *NodeExecutionMetaData) GetIsArray() bool { - if m != nil { - return m.IsArray +func (x *NodeExecutionMetaData) GetIsArray() bool { + if x != nil { + return x.IsArray } return false } @@ -400,59 +440,72 @@ func (m *NodeExecutionMetaData) GetIsArray() bool { // Request structure to retrieve a list of node execution entities. // See :ref:`ref_flyteidl.admin.NodeExecution` for more details type NodeExecutionList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + NodeExecutions []*NodeExecution `protobuf:"bytes,1,rep,name=node_executions,json=nodeExecutions,proto3" json:"node_executions,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *NodeExecutionList) Reset() { *m = NodeExecutionList{} } -func (m *NodeExecutionList) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionList) ProtoMessage() {} -func (*NodeExecutionList) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{5} +func (x *NodeExecutionList) Reset() { + *x = NodeExecutionList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionList.Unmarshal(m, b) -} -func (m *NodeExecutionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionList.Marshal(b, m, deterministic) +func (x *NodeExecutionList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionList) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionList.Merge(m, src) -} -func (m *NodeExecutionList) XXX_Size() int { - return xxx_messageInfo_NodeExecutionList.Size(m) -} -func (m *NodeExecutionList) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionList.DiscardUnknown(m) + +func (*NodeExecutionList) ProtoMessage() {} + +func (x *NodeExecutionList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionList proto.InternalMessageInfo +// Deprecated: Use NodeExecutionList.ProtoReflect.Descriptor instead. +func (*NodeExecutionList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{5} +} -func (m *NodeExecutionList) GetNodeExecutions() []*NodeExecution { - if m != nil { - return m.NodeExecutions +func (x *NodeExecutionList) GetNodeExecutions() []*NodeExecution { + if x != nil { + return x.NodeExecutions } return nil } -func (m *NodeExecutionList) GetToken() string { - if m != nil { - return m.Token +func (x *NodeExecutionList) GetToken() string { + if x != nil { + return x.Token } return "" } // Container for node execution details and results. type NodeExecutionClosure struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Only a node in a terminal state will have a non-empty output_result. // - // Types that are valid to be assigned to OutputResult: + // Types that are assignable to OutputResult: + // // *NodeExecutionClosure_OutputUri // *NodeExecutionClosure_Error // *NodeExecutionClosure_OutputData @@ -460,17 +513,18 @@ type NodeExecutionClosure struct { // The last recorded phase for this node execution. Phase core.NodeExecution_Phase `protobuf:"varint,3,opt,name=phase,proto3,enum=flyteidl.core.NodeExecution_Phase" json:"phase,omitempty"` // Time at which the node execution began running. - StartedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // The amount of time the node execution spent running. - Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` // Time at which the node execution was created. - CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Time at which the node execution was last updated. - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Store metadata for what the node launched. // for ex: if this is a workflow node, we store information for the launched workflow. // - // Types that are valid to be assigned to TargetMetadata: + // Types that are assignable to TargetMetadata: + // // *NodeExecutionClosure_WorkflowNodeMetadata // *NodeExecutionClosure_TaskNodeMetadata TargetMetadata isNodeExecutionClosure_TargetMetadata `protobuf_oneof:"target_metadata"` @@ -479,59 +533,41 @@ type NodeExecutionClosure struct { DeckUri string `protobuf:"bytes,11,opt,name=deck_uri,json=deckUri,proto3" json:"deck_uri,omitempty"` // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required // to correctly recover partially completed executions where the subworkflow has already been compiled. - DynamicJobSpecUri string `protobuf:"bytes,12,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DynamicJobSpecUri string `protobuf:"bytes,12,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` } -func (m *NodeExecutionClosure) Reset() { *m = NodeExecutionClosure{} } -func (m *NodeExecutionClosure) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionClosure) ProtoMessage() {} -func (*NodeExecutionClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{6} -} - -func (m *NodeExecutionClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionClosure.Unmarshal(m, b) -} -func (m *NodeExecutionClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionClosure.Marshal(b, m, deterministic) -} -func (m *NodeExecutionClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionClosure.Merge(m, src) -} -func (m *NodeExecutionClosure) XXX_Size() int { - return xxx_messageInfo_NodeExecutionClosure.Size(m) -} -func (m *NodeExecutionClosure) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionClosure.DiscardUnknown(m) +func (x *NodeExecutionClosure) Reset() { + *x = NodeExecutionClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_NodeExecutionClosure proto.InternalMessageInfo - -type isNodeExecutionClosure_OutputResult interface { - isNodeExecutionClosure_OutputResult() +func (x *NodeExecutionClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -type NodeExecutionClosure_OutputUri struct { - OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3,oneof"` -} +func (*NodeExecutionClosure) ProtoMessage() {} -type NodeExecutionClosure_Error struct { - Error *core.ExecutionError `protobuf:"bytes,2,opt,name=error,proto3,oneof"` +func (x *NodeExecutionClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type NodeExecutionClosure_OutputData struct { - OutputData *core.LiteralMap `protobuf:"bytes,10,opt,name=output_data,json=outputData,proto3,oneof"` +// Deprecated: Use NodeExecutionClosure.ProtoReflect.Descriptor instead. +func (*NodeExecutionClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{6} } -func (*NodeExecutionClosure_OutputUri) isNodeExecutionClosure_OutputResult() {} - -func (*NodeExecutionClosure_Error) isNodeExecutionClosure_OutputResult() {} - -func (*NodeExecutionClosure_OutputData) isNodeExecutionClosure_OutputResult() {} - func (m *NodeExecutionClosure) GetOutputResult() isNodeExecutionClosure_OutputResult { if m != nil { return m.OutputResult @@ -539,80 +575,64 @@ func (m *NodeExecutionClosure) GetOutputResult() isNodeExecutionClosure_OutputRe return nil } -// Deprecated: Do not use. -func (m *NodeExecutionClosure) GetOutputUri() string { - if x, ok := m.GetOutputResult().(*NodeExecutionClosure_OutputUri); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. +func (x *NodeExecutionClosure) GetOutputUri() string { + if x, ok := x.GetOutputResult().(*NodeExecutionClosure_OutputUri); ok { return x.OutputUri } return "" } -func (m *NodeExecutionClosure) GetError() *core.ExecutionError { - if x, ok := m.GetOutputResult().(*NodeExecutionClosure_Error); ok { +func (x *NodeExecutionClosure) GetError() *core.ExecutionError { + if x, ok := x.GetOutputResult().(*NodeExecutionClosure_Error); ok { return x.Error } return nil } -// Deprecated: Do not use. -func (m *NodeExecutionClosure) GetOutputData() *core.LiteralMap { - if x, ok := m.GetOutputResult().(*NodeExecutionClosure_OutputData); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. +func (x *NodeExecutionClosure) GetOutputData() *core.LiteralMap { + if x, ok := x.GetOutputResult().(*NodeExecutionClosure_OutputData); ok { return x.OutputData } return nil } -func (m *NodeExecutionClosure) GetPhase() core.NodeExecution_Phase { - if m != nil { - return m.Phase +func (x *NodeExecutionClosure) GetPhase() core.NodeExecution_Phase { + if x != nil { + return x.Phase } - return core.NodeExecution_UNDEFINED + return core.NodeExecution_Phase(0) } -func (m *NodeExecutionClosure) GetStartedAt() *timestamp.Timestamp { - if m != nil { - return m.StartedAt +func (x *NodeExecutionClosure) GetStartedAt() *timestamppb.Timestamp { + if x != nil { + return x.StartedAt } return nil } -func (m *NodeExecutionClosure) GetDuration() *duration.Duration { - if m != nil { - return m.Duration +func (x *NodeExecutionClosure) GetDuration() *durationpb.Duration { + if x != nil { + return x.Duration } return nil } -func (m *NodeExecutionClosure) GetCreatedAt() *timestamp.Timestamp { - if m != nil { - return m.CreatedAt +func (x *NodeExecutionClosure) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt } return nil } -func (m *NodeExecutionClosure) GetUpdatedAt() *timestamp.Timestamp { - if m != nil { - return m.UpdatedAt +func (x *NodeExecutionClosure) GetUpdatedAt() *timestamppb.Timestamp { + if x != nil { + return x.UpdatedAt } return nil } -type isNodeExecutionClosure_TargetMetadata interface { - isNodeExecutionClosure_TargetMetadata() -} - -type NodeExecutionClosure_WorkflowNodeMetadata struct { - WorkflowNodeMetadata *WorkflowNodeMetadata `protobuf:"bytes,8,opt,name=workflow_node_metadata,json=workflowNodeMetadata,proto3,oneof"` -} - -type NodeExecutionClosure_TaskNodeMetadata struct { - TaskNodeMetadata *TaskNodeMetadata `protobuf:"bytes,9,opt,name=task_node_metadata,json=taskNodeMetadata,proto3,oneof"` -} - -func (*NodeExecutionClosure_WorkflowNodeMetadata) isNodeExecutionClosure_TargetMetadata() {} - -func (*NodeExecutionClosure_TaskNodeMetadata) isNodeExecutionClosure_TargetMetadata() {} - func (m *NodeExecutionClosure) GetTargetMetadata() isNodeExecutionClosure_TargetMetadata { if m != nil { return m.TargetMetadata @@ -620,201 +640,261 @@ func (m *NodeExecutionClosure) GetTargetMetadata() isNodeExecutionClosure_Target return nil } -func (m *NodeExecutionClosure) GetWorkflowNodeMetadata() *WorkflowNodeMetadata { - if x, ok := m.GetTargetMetadata().(*NodeExecutionClosure_WorkflowNodeMetadata); ok { +func (x *NodeExecutionClosure) GetWorkflowNodeMetadata() *WorkflowNodeMetadata { + if x, ok := x.GetTargetMetadata().(*NodeExecutionClosure_WorkflowNodeMetadata); ok { return x.WorkflowNodeMetadata } return nil } -func (m *NodeExecutionClosure) GetTaskNodeMetadata() *TaskNodeMetadata { - if x, ok := m.GetTargetMetadata().(*NodeExecutionClosure_TaskNodeMetadata); ok { +func (x *NodeExecutionClosure) GetTaskNodeMetadata() *TaskNodeMetadata { + if x, ok := x.GetTargetMetadata().(*NodeExecutionClosure_TaskNodeMetadata); ok { return x.TaskNodeMetadata } return nil } -func (m *NodeExecutionClosure) GetDeckUri() string { - if m != nil { - return m.DeckUri +func (x *NodeExecutionClosure) GetDeckUri() string { + if x != nil { + return x.DeckUri } return "" } -func (m *NodeExecutionClosure) GetDynamicJobSpecUri() string { - if m != nil { - return m.DynamicJobSpecUri +func (x *NodeExecutionClosure) GetDynamicJobSpecUri() string { + if x != nil { + return x.DynamicJobSpecUri } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*NodeExecutionClosure) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*NodeExecutionClosure_OutputUri)(nil), - (*NodeExecutionClosure_Error)(nil), - (*NodeExecutionClosure_OutputData)(nil), - (*NodeExecutionClosure_WorkflowNodeMetadata)(nil), - (*NodeExecutionClosure_TaskNodeMetadata)(nil), - } +type isNodeExecutionClosure_OutputResult interface { + isNodeExecutionClosure_OutputResult() } -// Metadata for a WorkflowNode -type WorkflowNodeMetadata struct { - // The identifier for a workflow execution launched by a node. - ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=executionId,proto3" json:"executionId,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type NodeExecutionClosure_OutputUri struct { + // Links to a remotely stored, serialized core.LiteralMap of node execution outputs. + // DEPRECATED. Use GetNodeExecutionData to fetch output data instead. + // + // Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. + OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3,oneof"` } -func (m *WorkflowNodeMetadata) Reset() { *m = WorkflowNodeMetadata{} } -func (m *WorkflowNodeMetadata) String() string { return proto.CompactTextString(m) } -func (*WorkflowNodeMetadata) ProtoMessage() {} -func (*WorkflowNodeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{7} +type NodeExecutionClosure_Error struct { + // Error information for the Node + Error *core.ExecutionError `protobuf:"bytes,2,opt,name=error,proto3,oneof"` } -func (m *WorkflowNodeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowNodeMetadata.Unmarshal(m, b) +type NodeExecutionClosure_OutputData struct { + // Raw output data produced by this node execution. + // DEPRECATED. Use GetNodeExecutionData to fetch output data instead. + // + // Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. + OutputData *core.LiteralMap `protobuf:"bytes,10,opt,name=output_data,json=outputData,proto3,oneof"` } -func (m *WorkflowNodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowNodeMetadata.Marshal(b, m, deterministic) + +func (*NodeExecutionClosure_OutputUri) isNodeExecutionClosure_OutputResult() {} + +func (*NodeExecutionClosure_Error) isNodeExecutionClosure_OutputResult() {} + +func (*NodeExecutionClosure_OutputData) isNodeExecutionClosure_OutputResult() {} + +type isNodeExecutionClosure_TargetMetadata interface { + isNodeExecutionClosure_TargetMetadata() +} + +type NodeExecutionClosure_WorkflowNodeMetadata struct { + WorkflowNodeMetadata *WorkflowNodeMetadata `protobuf:"bytes,8,opt,name=workflow_node_metadata,json=workflowNodeMetadata,proto3,oneof"` +} + +type NodeExecutionClosure_TaskNodeMetadata struct { + TaskNodeMetadata *TaskNodeMetadata `protobuf:"bytes,9,opt,name=task_node_metadata,json=taskNodeMetadata,proto3,oneof"` +} + +func (*NodeExecutionClosure_WorkflowNodeMetadata) isNodeExecutionClosure_TargetMetadata() {} + +func (*NodeExecutionClosure_TaskNodeMetadata) isNodeExecutionClosure_TargetMetadata() {} + +// Metadata for a WorkflowNode +type WorkflowNodeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The identifier for a workflow execution launched by a node. + ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=executionId,proto3" json:"executionId,omitempty"` } -func (m *WorkflowNodeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowNodeMetadata.Merge(m, src) + +func (x *WorkflowNodeMetadata) Reset() { + *x = WorkflowNodeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowNodeMetadata) XXX_Size() int { - return xxx_messageInfo_WorkflowNodeMetadata.Size(m) + +func (x *WorkflowNodeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowNodeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowNodeMetadata.DiscardUnknown(m) + +func (*WorkflowNodeMetadata) ProtoMessage() {} + +func (x *WorkflowNodeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowNodeMetadata proto.InternalMessageInfo +// Deprecated: Use WorkflowNodeMetadata.ProtoReflect.Descriptor instead. +func (*WorkflowNodeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{7} +} -func (m *WorkflowNodeMetadata) GetExecutionId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.ExecutionId +func (x *WorkflowNodeMetadata) GetExecutionId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.ExecutionId } return nil } // Metadata for the case in which the node is a TaskNode type TaskNodeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Captures the status of caching for this execution. CacheStatus core.CatalogCacheStatus `protobuf:"varint,1,opt,name=cache_status,json=cacheStatus,proto3,enum=flyteidl.core.CatalogCacheStatus" json:"cache_status,omitempty"` // This structure carries the catalog artifact information CatalogKey *core.CatalogMetadata `protobuf:"bytes,2,opt,name=catalog_key,json=catalogKey,proto3" json:"catalog_key,omitempty"` // The latest checkpoint location - CheckpointUri string `protobuf:"bytes,4,opt,name=checkpoint_uri,json=checkpointUri,proto3" json:"checkpoint_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CheckpointUri string `protobuf:"bytes,4,opt,name=checkpoint_uri,json=checkpointUri,proto3" json:"checkpoint_uri,omitempty"` } -func (m *TaskNodeMetadata) Reset() { *m = TaskNodeMetadata{} } -func (m *TaskNodeMetadata) String() string { return proto.CompactTextString(m) } -func (*TaskNodeMetadata) ProtoMessage() {} -func (*TaskNodeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{8} +func (x *TaskNodeMetadata) Reset() { + *x = TaskNodeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskNodeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskNodeMetadata.Unmarshal(m, b) +func (x *TaskNodeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskNodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskNodeMetadata.Marshal(b, m, deterministic) -} -func (m *TaskNodeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskNodeMetadata.Merge(m, src) -} -func (m *TaskNodeMetadata) XXX_Size() int { - return xxx_messageInfo_TaskNodeMetadata.Size(m) -} -func (m *TaskNodeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TaskNodeMetadata.DiscardUnknown(m) + +func (*TaskNodeMetadata) ProtoMessage() {} + +func (x *TaskNodeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskNodeMetadata proto.InternalMessageInfo +// Deprecated: Use TaskNodeMetadata.ProtoReflect.Descriptor instead. +func (*TaskNodeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{8} +} -func (m *TaskNodeMetadata) GetCacheStatus() core.CatalogCacheStatus { - if m != nil { - return m.CacheStatus +func (x *TaskNodeMetadata) GetCacheStatus() core.CatalogCacheStatus { + if x != nil { + return x.CacheStatus } - return core.CatalogCacheStatus_CACHE_DISABLED + return core.CatalogCacheStatus(0) } -func (m *TaskNodeMetadata) GetCatalogKey() *core.CatalogMetadata { - if m != nil { - return m.CatalogKey +func (x *TaskNodeMetadata) GetCatalogKey() *core.CatalogMetadata { + if x != nil { + return x.CatalogKey } return nil } -func (m *TaskNodeMetadata) GetCheckpointUri() string { - if m != nil { - return m.CheckpointUri +func (x *TaskNodeMetadata) GetCheckpointUri() string { + if x != nil { + return x.CheckpointUri } return "" } // For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated. type DynamicWorkflowNodeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the workflow. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Represents the compiled representation of the embedded dynamic workflow. CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,2,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is // required to correctly recover partially completed executions where the subworkflow has already been compiled. - DynamicJobSpecUri string `protobuf:"bytes,3,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DynamicJobSpecUri string `protobuf:"bytes,3,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` } -func (m *DynamicWorkflowNodeMetadata) Reset() { *m = DynamicWorkflowNodeMetadata{} } -func (m *DynamicWorkflowNodeMetadata) String() string { return proto.CompactTextString(m) } -func (*DynamicWorkflowNodeMetadata) ProtoMessage() {} -func (*DynamicWorkflowNodeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{9} +func (x *DynamicWorkflowNodeMetadata) Reset() { + *x = DynamicWorkflowNodeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DynamicWorkflowNodeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DynamicWorkflowNodeMetadata.Unmarshal(m, b) +func (x *DynamicWorkflowNodeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DynamicWorkflowNodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DynamicWorkflowNodeMetadata.Marshal(b, m, deterministic) -} -func (m *DynamicWorkflowNodeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DynamicWorkflowNodeMetadata.Merge(m, src) -} -func (m *DynamicWorkflowNodeMetadata) XXX_Size() int { - return xxx_messageInfo_DynamicWorkflowNodeMetadata.Size(m) -} -func (m *DynamicWorkflowNodeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DynamicWorkflowNodeMetadata.DiscardUnknown(m) + +func (*DynamicWorkflowNodeMetadata) ProtoMessage() {} + +func (x *DynamicWorkflowNodeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DynamicWorkflowNodeMetadata proto.InternalMessageInfo +// Deprecated: Use DynamicWorkflowNodeMetadata.ProtoReflect.Descriptor instead. +func (*DynamicWorkflowNodeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{9} +} -func (m *DynamicWorkflowNodeMetadata) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *DynamicWorkflowNodeMetadata) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *DynamicWorkflowNodeMetadata) GetCompiledWorkflow() *core.CompiledWorkflowClosure { - if m != nil { - return m.CompiledWorkflow +func (x *DynamicWorkflowNodeMetadata) GetCompiledWorkflow() *core.CompiledWorkflowClosure { + if x != nil { + return x.CompiledWorkflow } return nil } -func (m *DynamicWorkflowNodeMetadata) GetDynamicJobSpecUri() string { - if m != nil { - return m.DynamicJobSpecUri +func (x *DynamicWorkflowNodeMetadata) GetDynamicJobSpecUri() string { + if x != nil { + return x.DynamicJobSpecUri } return "" } @@ -822,311 +902,762 @@ func (m *DynamicWorkflowNodeMetadata) GetDynamicJobSpecUri() string { // Request structure to fetch inputs and output for a node execution. // By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest` type NodeExecutionGetDataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identifier of the node execution for which to fetch inputs and outputs. - Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *NodeExecutionGetDataRequest) Reset() { *m = NodeExecutionGetDataRequest{} } -func (m *NodeExecutionGetDataRequest) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionGetDataRequest) ProtoMessage() {} -func (*NodeExecutionGetDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{10} +func (x *NodeExecutionGetDataRequest) Reset() { + *x = NodeExecutionGetDataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionGetDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionGetDataRequest.Unmarshal(m, b) -} -func (m *NodeExecutionGetDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionGetDataRequest.Marshal(b, m, deterministic) -} -func (m *NodeExecutionGetDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionGetDataRequest.Merge(m, src) +func (x *NodeExecutionGetDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionGetDataRequest) XXX_Size() int { - return xxx_messageInfo_NodeExecutionGetDataRequest.Size(m) -} -func (m *NodeExecutionGetDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionGetDataRequest.DiscardUnknown(m) + +func (*NodeExecutionGetDataRequest) ProtoMessage() {} + +func (x *NodeExecutionGetDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionGetDataRequest proto.InternalMessageInfo +// Deprecated: Use NodeExecutionGetDataRequest.ProtoReflect.Descriptor instead. +func (*NodeExecutionGetDataRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{10} +} -func (m *NodeExecutionGetDataRequest) GetId() *core.NodeExecutionIdentifier { - if m != nil { - return m.Id +func (x *NodeExecutionGetDataRequest) GetId() *core.NodeExecutionIdentifier { + if x != nil { + return x.Id } return nil } // Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution. type NodeExecutionGetDataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Signed url to fetch a core.LiteralMap of node execution inputs. // Deprecated: Please use full_inputs instead. - Inputs *UrlBlob `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. + Inputs *UrlBlob `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` // Signed url to fetch a core.LiteralMap of node execution outputs. // Deprecated: Please use full_outputs instead. - Outputs *UrlBlob `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. + Outputs *UrlBlob `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` // Full_inputs will only be populated if they are under a configured size threshold. FullInputs *core.LiteralMap `protobuf:"bytes,3,opt,name=full_inputs,json=fullInputs,proto3" json:"full_inputs,omitempty"` // Full_outputs will only be populated if they are under a configured size threshold. FullOutputs *core.LiteralMap `protobuf:"bytes,4,opt,name=full_outputs,json=fullOutputs,proto3" json:"full_outputs,omitempty"` // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. - DynamicWorkflow *DynamicWorkflowNodeMetadata `protobuf:"bytes,16,opt,name=dynamic_workflow,json=dynamicWorkflow,proto3" json:"dynamic_workflow,omitempty"` - FlyteUrls *FlyteURLs `protobuf:"bytes,17,opt,name=flyte_urls,json=flyteUrls,proto3" json:"flyte_urls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DynamicWorkflow *DynamicWorkflowNodeMetadata `protobuf:"bytes,16,opt,name=dynamic_workflow,json=dynamicWorkflow,proto3" json:"dynamic_workflow,omitempty"` + FlyteUrls *FlyteURLs `protobuf:"bytes,17,opt,name=flyte_urls,json=flyteUrls,proto3" json:"flyte_urls,omitempty"` } -func (m *NodeExecutionGetDataResponse) Reset() { *m = NodeExecutionGetDataResponse{} } -func (m *NodeExecutionGetDataResponse) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionGetDataResponse) ProtoMessage() {} -func (*NodeExecutionGetDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{11} +func (x *NodeExecutionGetDataResponse) Reset() { + *x = NodeExecutionGetDataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionGetDataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionGetDataResponse.Unmarshal(m, b) -} -func (m *NodeExecutionGetDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionGetDataResponse.Marshal(b, m, deterministic) -} -func (m *NodeExecutionGetDataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionGetDataResponse.Merge(m, src) -} -func (m *NodeExecutionGetDataResponse) XXX_Size() int { - return xxx_messageInfo_NodeExecutionGetDataResponse.Size(m) +func (x *NodeExecutionGetDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionGetDataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionGetDataResponse.DiscardUnknown(m) + +func (*NodeExecutionGetDataResponse) ProtoMessage() {} + +func (x *NodeExecutionGetDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionGetDataResponse proto.InternalMessageInfo +// Deprecated: Use NodeExecutionGetDataResponse.ProtoReflect.Descriptor instead. +func (*NodeExecutionGetDataResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{11} +} -// Deprecated: Do not use. -func (m *NodeExecutionGetDataResponse) GetInputs() *UrlBlob { - if m != nil { - return m.Inputs +// Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. +func (x *NodeExecutionGetDataResponse) GetInputs() *UrlBlob { + if x != nil { + return x.Inputs } return nil } -// Deprecated: Do not use. -func (m *NodeExecutionGetDataResponse) GetOutputs() *UrlBlob { - if m != nil { - return m.Outputs +// Deprecated: Marked as deprecated in flyteidl/admin/node_execution.proto. +func (x *NodeExecutionGetDataResponse) GetOutputs() *UrlBlob { + if x != nil { + return x.Outputs } return nil } -func (m *NodeExecutionGetDataResponse) GetFullInputs() *core.LiteralMap { - if m != nil { - return m.FullInputs +func (x *NodeExecutionGetDataResponse) GetFullInputs() *core.LiteralMap { + if x != nil { + return x.FullInputs } return nil } -func (m *NodeExecutionGetDataResponse) GetFullOutputs() *core.LiteralMap { - if m != nil { - return m.FullOutputs +func (x *NodeExecutionGetDataResponse) GetFullOutputs() *core.LiteralMap { + if x != nil { + return x.FullOutputs } return nil } -func (m *NodeExecutionGetDataResponse) GetDynamicWorkflow() *DynamicWorkflowNodeMetadata { - if m != nil { - return m.DynamicWorkflow +func (x *NodeExecutionGetDataResponse) GetDynamicWorkflow() *DynamicWorkflowNodeMetadata { + if x != nil { + return x.DynamicWorkflow } return nil } -func (m *NodeExecutionGetDataResponse) GetFlyteUrls() *FlyteURLs { - if m != nil { - return m.FlyteUrls +func (x *NodeExecutionGetDataResponse) GetFlyteUrls() *FlyteURLs { + if x != nil { + return x.FlyteUrls } return nil } type GetDynamicNodeWorkflowRequest struct { - Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetDynamicNodeWorkflowRequest) Reset() { *m = GetDynamicNodeWorkflowRequest{} } -func (m *GetDynamicNodeWorkflowRequest) String() string { return proto.CompactTextString(m) } -func (*GetDynamicNodeWorkflowRequest) ProtoMessage() {} -func (*GetDynamicNodeWorkflowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{12} + Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *GetDynamicNodeWorkflowRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDynamicNodeWorkflowRequest.Unmarshal(m, b) -} -func (m *GetDynamicNodeWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDynamicNodeWorkflowRequest.Marshal(b, m, deterministic) -} -func (m *GetDynamicNodeWorkflowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDynamicNodeWorkflowRequest.Merge(m, src) +func (x *GetDynamicNodeWorkflowRequest) Reset() { + *x = GetDynamicNodeWorkflowRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDynamicNodeWorkflowRequest) XXX_Size() int { - return xxx_messageInfo_GetDynamicNodeWorkflowRequest.Size(m) + +func (x *GetDynamicNodeWorkflowRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDynamicNodeWorkflowRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDynamicNodeWorkflowRequest.DiscardUnknown(m) + +func (*GetDynamicNodeWorkflowRequest) ProtoMessage() {} + +func (x *GetDynamicNodeWorkflowRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDynamicNodeWorkflowRequest proto.InternalMessageInfo +// Deprecated: Use GetDynamicNodeWorkflowRequest.ProtoReflect.Descriptor instead. +func (*GetDynamicNodeWorkflowRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{12} +} -func (m *GetDynamicNodeWorkflowRequest) GetId() *core.NodeExecutionIdentifier { - if m != nil { - return m.Id +func (x *GetDynamicNodeWorkflowRequest) GetId() *core.NodeExecutionIdentifier { + if x != nil { + return x.Id } return nil } type DynamicNodeWorkflowResponse struct { - CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,1,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DynamicNodeWorkflowResponse) Reset() { *m = DynamicNodeWorkflowResponse{} } -func (m *DynamicNodeWorkflowResponse) String() string { return proto.CompactTextString(m) } -func (*DynamicNodeWorkflowResponse) ProtoMessage() {} -func (*DynamicNodeWorkflowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f73b3eae493fd736, []int{13} + CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,1,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` } -func (m *DynamicNodeWorkflowResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DynamicNodeWorkflowResponse.Unmarshal(m, b) -} -func (m *DynamicNodeWorkflowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DynamicNodeWorkflowResponse.Marshal(b, m, deterministic) -} -func (m *DynamicNodeWorkflowResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DynamicNodeWorkflowResponse.Merge(m, src) +func (x *DynamicNodeWorkflowResponse) Reset() { + *x = DynamicNodeWorkflowResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DynamicNodeWorkflowResponse) XXX_Size() int { - return xxx_messageInfo_DynamicNodeWorkflowResponse.Size(m) + +func (x *DynamicNodeWorkflowResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DynamicNodeWorkflowResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DynamicNodeWorkflowResponse.DiscardUnknown(m) + +func (*DynamicNodeWorkflowResponse) ProtoMessage() {} + +func (x *DynamicNodeWorkflowResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_node_execution_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DynamicNodeWorkflowResponse proto.InternalMessageInfo +// Deprecated: Use DynamicNodeWorkflowResponse.ProtoReflect.Descriptor instead. +func (*DynamicNodeWorkflowResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_node_execution_proto_rawDescGZIP(), []int{13} +} -func (m *DynamicNodeWorkflowResponse) GetCompiledWorkflow() *core.CompiledWorkflowClosure { - if m != nil { - return m.CompiledWorkflow +func (x *DynamicNodeWorkflowResponse) GetCompiledWorkflow() *core.CompiledWorkflowClosure { + if x != nil { + return x.CompiledWorkflow } return nil } -func init() { - proto.RegisterType((*NodeExecutionGetRequest)(nil), "flyteidl.admin.NodeExecutionGetRequest") - proto.RegisterType((*NodeExecutionListRequest)(nil), "flyteidl.admin.NodeExecutionListRequest") - proto.RegisterType((*NodeExecutionForTaskListRequest)(nil), "flyteidl.admin.NodeExecutionForTaskListRequest") - proto.RegisterType((*NodeExecution)(nil), "flyteidl.admin.NodeExecution") - proto.RegisterType((*NodeExecutionMetaData)(nil), "flyteidl.admin.NodeExecutionMetaData") - proto.RegisterType((*NodeExecutionList)(nil), "flyteidl.admin.NodeExecutionList") - proto.RegisterType((*NodeExecutionClosure)(nil), "flyteidl.admin.NodeExecutionClosure") - proto.RegisterType((*WorkflowNodeMetadata)(nil), "flyteidl.admin.WorkflowNodeMetadata") - proto.RegisterType((*TaskNodeMetadata)(nil), "flyteidl.admin.TaskNodeMetadata") - proto.RegisterType((*DynamicWorkflowNodeMetadata)(nil), "flyteidl.admin.DynamicWorkflowNodeMetadata") - proto.RegisterType((*NodeExecutionGetDataRequest)(nil), "flyteidl.admin.NodeExecutionGetDataRequest") - proto.RegisterType((*NodeExecutionGetDataResponse)(nil), "flyteidl.admin.NodeExecutionGetDataResponse") - proto.RegisterType((*GetDynamicNodeWorkflowRequest)(nil), "flyteidl.admin.GetDynamicNodeWorkflowRequest") - proto.RegisterType((*DynamicNodeWorkflowResponse)(nil), "flyteidl.admin.DynamicNodeWorkflowResponse") -} - -func init() { - proto.RegisterFile("flyteidl/admin/node_execution.proto", fileDescriptor_f73b3eae493fd736) -} - -var fileDescriptor_f73b3eae493fd736 = []byte{ - // 1236 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdf, 0x6e, 0xdb, 0xb6, - 0x17, 0xae, 0x92, 0x26, 0xb1, 0x8f, 0x13, 0x27, 0xe1, 0x2f, 0xfd, 0xd5, 0x6d, 0x9a, 0x36, 0x53, - 0xdb, 0x21, 0xdb, 0x50, 0x1b, 0x48, 0xd1, 0xa1, 0xfb, 0xbf, 0x38, 0xe9, 0x9f, 0x6c, 0xe9, 0xd6, - 0x31, 0xf5, 0x0a, 0x0c, 0xc3, 0x04, 0x5a, 0xa2, 0x1d, 0xce, 0xb2, 0xa8, 0x92, 0x14, 0x32, 0xbf, - 0xc8, 0x80, 0xbd, 0xca, 0xae, 0xf6, 0x04, 0x7b, 0x8d, 0x01, 0x7b, 0x80, 0x5d, 0x0f, 0xa4, 0x28, - 0xd9, 0x52, 0xd5, 0x04, 0x68, 0x2e, 0x76, 0x67, 0x9e, 0xf3, 0x9d, 0xef, 0x90, 0x3c, 0xdf, 0x39, - 0x94, 0xe1, 0xf6, 0x20, 0x9c, 0x28, 0xca, 0x82, 0xb0, 0x43, 0x82, 0x31, 0x8b, 0x3a, 0x11, 0x0f, - 0xa8, 0x47, 0x7f, 0xa1, 0x7e, 0xa2, 0x18, 0x8f, 0xda, 0xb1, 0xe0, 0x8a, 0xa3, 0x66, 0x06, 0x6a, - 0x1b, 0xd0, 0xf5, 0xcd, 0x52, 0x90, 0xcf, 0xc7, 0xe3, 0x0c, 0x7c, 0x7d, 0x2b, 0x77, 0xfa, 0x5c, - 0xd0, 0x4e, 0x89, 0x6b, 0x26, 0xd6, 0xb8, 0x7d, 0xa2, 0x48, 0xc8, 0x87, 0xd6, 0x79, 0xa3, 0xe4, - 0xe4, 0xe3, 0x98, 0x85, 0x54, 0x58, 0xef, 0xcd, 0xa2, 0x97, 0x05, 0x34, 0x52, 0x6c, 0xc0, 0x72, - 0x7f, 0x29, 0x3a, 0x64, 0x8a, 0x0a, 0x12, 0x4a, 0xeb, 0xbd, 0x35, 0xe4, 0x7c, 0x18, 0xd2, 0x8e, - 0x59, 0xf5, 0x93, 0x41, 0x47, 0xb1, 0x31, 0x95, 0x8a, 0x8c, 0xe3, 0x8c, 0xbe, 0x0c, 0x08, 0x12, - 0x41, 0xa6, 0x3b, 0x77, 0xbf, 0x83, 0xab, 0xdf, 0xf0, 0x80, 0x3e, 0xca, 0x0e, 0xf4, 0x84, 0x2a, - 0x4c, 0x5f, 0x25, 0x54, 0x2a, 0xf4, 0x21, 0xcc, 0xb1, 0xa0, 0xe5, 0x6c, 0x3b, 0x3b, 0x8d, 0xdd, - 0x77, 0xdb, 0xf9, 0x6d, 0xe9, 0x6d, 0xb4, 0x0b, 0x31, 0x87, 0xf9, 0x9e, 0xf1, 0x1c, 0x0b, 0xdc, - 0xdf, 0xe6, 0xa0, 0x55, 0xf0, 0x1f, 0x31, 0x99, 0x93, 0xfe, 0x04, 0x57, 0x4e, 0xb9, 0x18, 0x0d, - 0x42, 0x7e, 0x3a, 0xad, 0x88, 0x97, 0xe7, 0x79, 0xbf, 0x94, 0xe7, 0xa5, 0xc5, 0x56, 0xe5, 0xfa, - 0xdf, 0xe9, 0xeb, 0x4e, 0xb4, 0x01, 0x0b, 0x21, 0x1b, 0x33, 0xd5, 0x9a, 0xdb, 0x76, 0x76, 0x56, - 0x70, 0xba, 0xd0, 0x56, 0xc5, 0x47, 0x34, 0x6a, 0xcd, 0x6f, 0x3b, 0x3b, 0x75, 0x9c, 0x2e, 0x50, - 0x0b, 0x96, 0x06, 0x2c, 0x54, 0x54, 0xc8, 0xd6, 0x65, 0x63, 0xcf, 0x96, 0xe8, 0x1e, 0x2c, 0x49, - 0x2e, 0x94, 0xd7, 0x9f, 0xb4, 0x16, 0xcc, 0xbe, 0x36, 0xda, 0x45, 0xb5, 0xb4, 0x8f, 0xb9, 0x50, - 0x78, 0x51, 0x83, 0xba, 0x13, 0xb4, 0x03, 0x6b, 0x49, 0xc4, 0x5e, 0x25, 0xd4, 0x8b, 0x89, 0xa0, - 0x91, 0xd2, 0xe7, 0x59, 0x34, 0x8c, 0xcd, 0xd4, 0xfe, 0xdc, 0x98, 0x0f, 0x03, 0xf7, 0x6f, 0x07, - 0x6e, 0x15, 0xee, 0xe6, 0x31, 0x17, 0x2f, 0x88, 0x1c, 0xcd, 0x5e, 0x11, 0x86, 0x75, 0x45, 0xe4, - 0xa8, 0xea, 0x7a, 0xca, 0x65, 0xd0, 0xa1, 0x55, 0x57, 0xb3, 0xaa, 0x8a, 0x8e, 0xff, 0xe4, 0x5a, - 0xdc, 0xbf, 0x1c, 0x58, 0x29, 0x1c, 0xf6, 0x6d, 0x25, 0x85, 0x36, 0xa1, 0xce, 0xa2, 0x38, 0x51, - 0x5e, 0x22, 0x98, 0x39, 0x42, 0x1d, 0xd7, 0x8c, 0xa1, 0x27, 0x18, 0xfa, 0x1c, 0x96, 0xfc, 0x90, - 0xcb, 0x44, 0x50, 0x73, 0x8e, 0xc6, 0xee, 0x9d, 0xf2, 0xae, 0x0a, 0xd4, 0xfb, 0x29, 0x16, 0x67, - 0x41, 0x68, 0x0f, 0x6a, 0x63, 0xaa, 0x48, 0x40, 0x14, 0x31, 0x07, 0x6e, 0xec, 0xde, 0x3d, 0x93, - 0xe0, 0x19, 0x55, 0xe4, 0x80, 0x28, 0x82, 0xf3, 0x30, 0xf7, 0x77, 0x07, 0xae, 0x54, 0x62, 0xd0, - 0x2d, 0x68, 0x08, 0xaa, 0xc4, 0xc4, 0x1b, 0x0a, 0x9e, 0xc4, 0xe6, 0xe8, 0x75, 0x0c, 0xc6, 0xf4, - 0x44, 0x5b, 0xd0, 0x1d, 0x68, 0x32, 0x99, 0xe9, 0x46, 0x0f, 0x2a, 0x73, 0xbe, 0x1a, 0x5e, 0x66, - 0x32, 0x55, 0x8d, 0xe6, 0x45, 0xdb, 0xb0, 0x2c, 0x63, 0xea, 0x1b, 0x80, 0x96, 0x43, 0x5a, 0x30, - 0xd0, 0x36, 0xed, 0x3f, 0x0c, 0xd0, 0x16, 0x00, 0x93, 0x5e, 0x30, 0x89, 0xc8, 0x98, 0xf9, 0xe6, - 0x1c, 0x35, 0x5c, 0x67, 0xf2, 0x20, 0x35, 0xa0, 0x6b, 0x50, 0x63, 0xd2, 0x23, 0x42, 0x90, 0xb4, - 0x76, 0x35, 0xbc, 0xc4, 0xe4, 0x9e, 0x5e, 0xba, 0xaf, 0x60, 0xfd, 0xb5, 0x76, 0x45, 0x8f, 0x61, - 0xb5, 0x38, 0x35, 0x65, 0xcb, 0xd9, 0x9e, 0xdf, 0x69, 0xec, 0x6e, 0x9d, 0x79, 0x37, 0xb8, 0x19, - 0xcd, 0x2e, 0xe5, 0x54, 0x62, 0x73, 0x33, 0x12, 0x73, 0xff, 0x59, 0x80, 0x8d, 0xaa, 0xa2, 0xa0, - 0xdb, 0x00, 0x3c, 0x51, 0x59, 0xa5, 0xcd, 0x6d, 0x75, 0xe7, 0x5a, 0xce, 0xd3, 0x4b, 0xb8, 0x9e, - 0xda, 0x75, 0xc1, 0x1f, 0xc0, 0x02, 0x15, 0x82, 0x0b, 0xc3, 0x59, 0xd8, 0x91, 0x11, 0x52, 0x4e, - 0xfa, 0x48, 0x83, 0x9e, 0x5e, 0xc2, 0x29, 0x1a, 0x7d, 0x09, 0x0d, 0xcb, 0x6d, 0x4a, 0x0d, 0x26, - 0xf8, 0x5a, 0x29, 0xf8, 0x28, 0x9d, 0xaf, 0xcf, 0x48, 0x6c, 0xf3, 0xda, 0xfd, 0x98, 0x62, 0x3e, - 0x84, 0x85, 0xf8, 0x84, 0xc8, 0x54, 0x67, 0xcd, 0x5d, 0xf7, 0x2c, 0x05, 0xb7, 0x9f, 0x6b, 0x24, - 0x4e, 0x03, 0xd0, 0x47, 0x00, 0x52, 0x11, 0xa1, 0x68, 0xe0, 0x11, 0x65, 0x55, 0x76, 0xbd, 0x9d, - 0xce, 0xe6, 0x76, 0x36, 0x9b, 0xdb, 0x2f, 0xb2, 0xe1, 0x8d, 0xeb, 0x16, 0xbd, 0xa7, 0xd0, 0x03, - 0xa8, 0x65, 0x33, 0xdb, 0x76, 0xdd, 0xb5, 0xd7, 0x02, 0x0f, 0x2c, 0x00, 0xe7, 0x50, 0x9d, 0xd1, - 0x17, 0x94, 0xd8, 0x8c, 0x8b, 0xe7, 0x67, 0xb4, 0xe8, 0x3d, 0xa5, 0x43, 0x93, 0x38, 0xc8, 0x42, - 0x97, 0xce, 0x0f, 0xb5, 0xe8, 0x3d, 0x85, 0x7e, 0x84, 0xff, 0xe7, 0xe3, 0xdd, 0xe8, 0x27, 0xef, - 0xac, 0x5a, 0x75, 0x6b, 0x66, 0x03, 0x5e, 0xdf, 0xdd, 0x33, 0x8b, 0x7d, 0xea, 0xe0, 0x8d, 0xd3, - 0x0a, 0x3b, 0x7a, 0x0e, 0xc8, 0x4c, 0xc6, 0x22, 0x73, 0xdd, 0x30, 0x6f, 0x97, 0x99, 0xf5, 0x6c, - 0x2c, 0xb1, 0xae, 0xa9, 0x92, 0x4d, 0xb7, 0x45, 0x40, 0xfd, 0x91, 0x51, 0x5b, 0x23, 0x1d, 0x76, - 0x7a, 0xad, 0x55, 0xd6, 0x81, 0x0d, 0xdb, 0x4d, 0xde, 0xcf, 0xbc, 0xef, 0x99, 0xf6, 0xd3, 0xb0, - 0x65, 0x03, 0x5b, 0xb7, 0xbe, 0xaf, 0x78, 0xff, 0x38, 0xa6, 0x7e, 0x4f, 0xb0, 0xee, 0x2a, 0xac, - 0x58, 0x7d, 0x09, 0x2a, 0x93, 0x50, 0x75, 0xd7, 0x61, 0x55, 0x11, 0x31, 0xa4, 0x2a, 0xdf, 0xab, - 0x1b, 0xc0, 0x46, 0xd5, 0x89, 0xd1, 0x11, 0x34, 0xe8, 0x74, 0xf6, 0xbd, 0xc5, 0x63, 0x38, 0x1b, - 0xee, 0xfe, 0xe1, 0xc0, 0x5a, 0xf9, 0xf8, 0xe8, 0x00, 0x96, 0x7d, 0xe2, 0x9f, 0x50, 0x4f, 0x2a, - 0xa2, 0x12, 0x69, 0x72, 0x34, 0x77, 0xdf, 0x29, 0xe5, 0xd8, 0x4f, 0x3f, 0x5d, 0xf6, 0x35, 0xf2, - 0xd8, 0x00, 0x71, 0xc3, 0x9f, 0x2e, 0xd0, 0x17, 0xd0, 0xb0, 0x5f, 0x37, 0xde, 0x88, 0x4e, 0x6c, - 0x07, 0xde, 0xac, 0x26, 0xc9, 0x52, 0x63, 0xb0, 0x21, 0x5f, 0xd3, 0x09, 0xba, 0x0b, 0x4d, 0xff, - 0x84, 0xfa, 0xa3, 0x98, 0xb3, 0x28, 0xed, 0xf2, 0xf4, 0x91, 0x59, 0x99, 0x5a, 0x7b, 0x82, 0xb9, - 0x7f, 0x3a, 0xb0, 0x69, 0x67, 0x57, 0xe5, 0x85, 0xbd, 0x37, 0xf3, 0x92, 0x94, 0x7b, 0xb8, 0xf4, - 0x78, 0x1c, 0xc3, 0xba, 0xfd, 0xe6, 0x0a, 0xbc, 0x4c, 0x56, 0x76, 0xe3, 0xe5, 0x37, 0x68, 0xdf, - 0xe2, 0xb2, 0x94, 0xd9, 0x5b, 0xb1, 0xe6, 0x97, 0x1c, 0x6f, 0x54, 0xc7, 0xfc, 0x1b, 0xd4, 0xe1, - 0xf6, 0x60, 0xb3, 0xfc, 0xa1, 0x65, 0x1e, 0x91, 0x0b, 0x7e, 0x6c, 0xfd, 0x3a, 0x0f, 0x37, 0xaa, - 0x79, 0x65, 0xcc, 0x23, 0x49, 0xd1, 0x7d, 0x58, 0x34, 0x2f, 0xa5, 0xb4, 0xe4, 0x57, 0xcb, 0x7d, - 0xd2, 0x13, 0x61, 0x37, 0xe4, 0x7d, 0x3d, 0xee, 0xb0, 0x85, 0xa2, 0x07, 0xb0, 0x94, 0x4a, 0x59, - 0xda, 0x8b, 0x3a, 0x33, 0x2a, 0xc3, 0xa2, 0x8f, 0xa1, 0x31, 0x48, 0xc2, 0xd0, 0xb3, 0x09, 0xe7, - 0xcf, 0x99, 0xb0, 0x18, 0x34, 0xfa, 0x30, 0x4d, 0xf9, 0x29, 0x2c, 0x9b, 0xd8, 0x2c, 0xef, 0xe5, - 0xf3, 0x82, 0x4d, 0xaa, 0x6f, 0x6d, 0xe6, 0xef, 0x61, 0x2d, 0x2b, 0x47, 0x5e, 0xe2, 0x35, 0xc3, - 0xf0, 0x41, 0x79, 0xe7, 0x67, 0xa8, 0x0a, 0xaf, 0x06, 0x45, 0x27, 0x7a, 0x08, 0x60, 0xc2, 0xbd, - 0x44, 0x84, 0xb2, 0xb5, 0x5e, 0xde, 0x53, 0xca, 0xf8, 0x58, 0x2f, 0x7b, 0xf8, 0x48, 0xe2, 0xba, - 0xf1, 0xf4, 0x44, 0x28, 0xdd, 0x97, 0xb0, 0xa5, 0x4b, 0x91, 0xf2, 0xe9, 0x24, 0x19, 0xe7, 0x45, - 0x2b, 0x2e, 0xf2, 0xc6, 0x28, 0xb2, 0xda, 0x7a, 0x57, 0xaa, 0xdd, 0xb9, 0x98, 0xda, 0xbb, 0x9f, - 0xfd, 0xf0, 0xc9, 0x90, 0xa9, 0x93, 0xa4, 0xdf, 0xf6, 0xf9, 0xb8, 0x63, 0x58, 0xb8, 0x18, 0xa6, - 0x3f, 0x3a, 0xf9, 0x1f, 0x94, 0x21, 0x8d, 0x3a, 0x71, 0xff, 0xde, 0x90, 0x77, 0x8a, 0x7f, 0xa5, - 0xfa, 0x8b, 0xe6, 0xd1, 0xb8, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x75, 0xb4, 0x2b, 0xe9, - 0x98, 0x0d, 0x00, 0x00, +var File_flyteidl_admin_node_execution_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_node_execution_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, + 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, + 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x17, 0x4e, + 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0x99, + 0x02, 0x0a, 0x18, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x15, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x13, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, + 0x12, 0x28, 0x0a, 0x10, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x6e, 0x69, 0x71, + 0x75, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xea, 0x01, 0x0a, 0x1f, 0x4e, + 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x54, + 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, + 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, + 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, + 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x22, 0xe7, 0x01, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x12, 0x3e, + 0x0a, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, + 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x41, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x22, 0xba, 0x01, 0x0a, 0x15, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x72, + 0x65, 0x74, 0x72, 0x79, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x24, 0x0a, 0x0e, + 0x69, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, + 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x70, 0x65, 0x63, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, + 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x72, 0x72, 0x61, 0x79, 0x22, 0x71, + 0x0a, 0x11, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6e, 0x6f, 0x64, + 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0xf6, 0x05, 0x0a, 0x14, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0a, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, + 0x18, 0x01, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x12, + 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, + 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, + 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x5c, 0x0a, 0x16, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x48, 0x01, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x12, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x01, 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x6f, + 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x65, + 0x63, 0x6b, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, + 0x63, 0x6b, 0x55, 0x72, 0x69, 0x12, 0x2f, 0x0a, 0x14, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, + 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4a, 0x6f, 0x62, 0x53, + 0x70, 0x65, 0x63, 0x55, 0x72, 0x69, 0x42, 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x64, 0x0a, 0x14, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0xc0, 0x01, 0x0a, 0x10, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, + 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x0b, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x52, 0x0a, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x55, 0x72, 0x69, 0x22, 0xce, 0x01, 0x0a, 0x1b, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x53, + 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, + 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, + 0x65, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x12, 0x2f, 0x0a, 0x14, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x6a, + 0x6f, 0x62, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4a, 0x6f, 0x62, 0x53, 0x70, 0x65, + 0x63, 0x55, 0x72, 0x69, 0x22, 0x55, 0x0a, 0x1b, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0x96, 0x03, 0x0a, 0x1c, + 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, + 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x73, 0x12, 0x35, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x66, 0x75, 0x6c, 0x6c, + 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x73, 0x12, 0x56, 0x0a, 0x10, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, + 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x64, 0x79, 0x6e, 0x61, 0x6d, + 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x38, 0x0a, 0x0a, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x55, 0x52, 0x4c, 0x73, 0x52, 0x09, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x55, 0x72, 0x6c, 0x73, 0x22, 0x57, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, + 0x69, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0x72, 0x0a, + 0x1b, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x11, + 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, + 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x42, 0xbe, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, + 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_node_execution_proto_rawDescOnce sync.Once + file_flyteidl_admin_node_execution_proto_rawDescData = file_flyteidl_admin_node_execution_proto_rawDesc +) + +func file_flyteidl_admin_node_execution_proto_rawDescGZIP() []byte { + file_flyteidl_admin_node_execution_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_node_execution_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_node_execution_proto_rawDescData) + }) + return file_flyteidl_admin_node_execution_proto_rawDescData +} + +var file_flyteidl_admin_node_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_flyteidl_admin_node_execution_proto_goTypes = []interface{}{ + (*NodeExecutionGetRequest)(nil), // 0: flyteidl.admin.NodeExecutionGetRequest + (*NodeExecutionListRequest)(nil), // 1: flyteidl.admin.NodeExecutionListRequest + (*NodeExecutionForTaskListRequest)(nil), // 2: flyteidl.admin.NodeExecutionForTaskListRequest + (*NodeExecution)(nil), // 3: flyteidl.admin.NodeExecution + (*NodeExecutionMetaData)(nil), // 4: flyteidl.admin.NodeExecutionMetaData + (*NodeExecutionList)(nil), // 5: flyteidl.admin.NodeExecutionList + (*NodeExecutionClosure)(nil), // 6: flyteidl.admin.NodeExecutionClosure + (*WorkflowNodeMetadata)(nil), // 7: flyteidl.admin.WorkflowNodeMetadata + (*TaskNodeMetadata)(nil), // 8: flyteidl.admin.TaskNodeMetadata + (*DynamicWorkflowNodeMetadata)(nil), // 9: flyteidl.admin.DynamicWorkflowNodeMetadata + (*NodeExecutionGetDataRequest)(nil), // 10: flyteidl.admin.NodeExecutionGetDataRequest + (*NodeExecutionGetDataResponse)(nil), // 11: flyteidl.admin.NodeExecutionGetDataResponse + (*GetDynamicNodeWorkflowRequest)(nil), // 12: flyteidl.admin.GetDynamicNodeWorkflowRequest + (*DynamicNodeWorkflowResponse)(nil), // 13: flyteidl.admin.DynamicNodeWorkflowResponse + (*core.NodeExecutionIdentifier)(nil), // 14: flyteidl.core.NodeExecutionIdentifier + (*core.WorkflowExecutionIdentifier)(nil), // 15: flyteidl.core.WorkflowExecutionIdentifier + (*Sort)(nil), // 16: flyteidl.admin.Sort + (*core.TaskExecutionIdentifier)(nil), // 17: flyteidl.core.TaskExecutionIdentifier + (*core.ExecutionError)(nil), // 18: flyteidl.core.ExecutionError + (*core.LiteralMap)(nil), // 19: flyteidl.core.LiteralMap + (core.NodeExecution_Phase)(0), // 20: flyteidl.core.NodeExecution.Phase + (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 22: google.protobuf.Duration + (core.CatalogCacheStatus)(0), // 23: flyteidl.core.CatalogCacheStatus + (*core.CatalogMetadata)(nil), // 24: flyteidl.core.CatalogMetadata + (*core.Identifier)(nil), // 25: flyteidl.core.Identifier + (*core.CompiledWorkflowClosure)(nil), // 26: flyteidl.core.CompiledWorkflowClosure + (*UrlBlob)(nil), // 27: flyteidl.admin.UrlBlob + (*FlyteURLs)(nil), // 28: flyteidl.admin.FlyteURLs +} +var file_flyteidl_admin_node_execution_proto_depIdxs = []int32{ + 14, // 0: flyteidl.admin.NodeExecutionGetRequest.id:type_name -> flyteidl.core.NodeExecutionIdentifier + 15, // 1: flyteidl.admin.NodeExecutionListRequest.workflow_execution_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 16, // 2: flyteidl.admin.NodeExecutionListRequest.sort_by:type_name -> flyteidl.admin.Sort + 17, // 3: flyteidl.admin.NodeExecutionForTaskListRequest.task_execution_id:type_name -> flyteidl.core.TaskExecutionIdentifier + 16, // 4: flyteidl.admin.NodeExecutionForTaskListRequest.sort_by:type_name -> flyteidl.admin.Sort + 14, // 5: flyteidl.admin.NodeExecution.id:type_name -> flyteidl.core.NodeExecutionIdentifier + 6, // 6: flyteidl.admin.NodeExecution.closure:type_name -> flyteidl.admin.NodeExecutionClosure + 4, // 7: flyteidl.admin.NodeExecution.metadata:type_name -> flyteidl.admin.NodeExecutionMetaData + 3, // 8: flyteidl.admin.NodeExecutionList.node_executions:type_name -> flyteidl.admin.NodeExecution + 18, // 9: flyteidl.admin.NodeExecutionClosure.error:type_name -> flyteidl.core.ExecutionError + 19, // 10: flyteidl.admin.NodeExecutionClosure.output_data:type_name -> flyteidl.core.LiteralMap + 20, // 11: flyteidl.admin.NodeExecutionClosure.phase:type_name -> flyteidl.core.NodeExecution.Phase + 21, // 12: flyteidl.admin.NodeExecutionClosure.started_at:type_name -> google.protobuf.Timestamp + 22, // 13: flyteidl.admin.NodeExecutionClosure.duration:type_name -> google.protobuf.Duration + 21, // 14: flyteidl.admin.NodeExecutionClosure.created_at:type_name -> google.protobuf.Timestamp + 21, // 15: flyteidl.admin.NodeExecutionClosure.updated_at:type_name -> google.protobuf.Timestamp + 7, // 16: flyteidl.admin.NodeExecutionClosure.workflow_node_metadata:type_name -> flyteidl.admin.WorkflowNodeMetadata + 8, // 17: flyteidl.admin.NodeExecutionClosure.task_node_metadata:type_name -> flyteidl.admin.TaskNodeMetadata + 15, // 18: flyteidl.admin.WorkflowNodeMetadata.executionId:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 23, // 19: flyteidl.admin.TaskNodeMetadata.cache_status:type_name -> flyteidl.core.CatalogCacheStatus + 24, // 20: flyteidl.admin.TaskNodeMetadata.catalog_key:type_name -> flyteidl.core.CatalogMetadata + 25, // 21: flyteidl.admin.DynamicWorkflowNodeMetadata.id:type_name -> flyteidl.core.Identifier + 26, // 22: flyteidl.admin.DynamicWorkflowNodeMetadata.compiled_workflow:type_name -> flyteidl.core.CompiledWorkflowClosure + 14, // 23: flyteidl.admin.NodeExecutionGetDataRequest.id:type_name -> flyteidl.core.NodeExecutionIdentifier + 27, // 24: flyteidl.admin.NodeExecutionGetDataResponse.inputs:type_name -> flyteidl.admin.UrlBlob + 27, // 25: flyteidl.admin.NodeExecutionGetDataResponse.outputs:type_name -> flyteidl.admin.UrlBlob + 19, // 26: flyteidl.admin.NodeExecutionGetDataResponse.full_inputs:type_name -> flyteidl.core.LiteralMap + 19, // 27: flyteidl.admin.NodeExecutionGetDataResponse.full_outputs:type_name -> flyteidl.core.LiteralMap + 9, // 28: flyteidl.admin.NodeExecutionGetDataResponse.dynamic_workflow:type_name -> flyteidl.admin.DynamicWorkflowNodeMetadata + 28, // 29: flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls:type_name -> flyteidl.admin.FlyteURLs + 14, // 30: flyteidl.admin.GetDynamicNodeWorkflowRequest.id:type_name -> flyteidl.core.NodeExecutionIdentifier + 26, // 31: flyteidl.admin.DynamicNodeWorkflowResponse.compiled_workflow:type_name -> flyteidl.core.CompiledWorkflowClosure + 32, // [32:32] is the sub-list for method output_type + 32, // [32:32] is the sub-list for method input_type + 32, // [32:32] is the sub-list for extension type_name + 32, // [32:32] is the sub-list for extension extendee + 0, // [0:32] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_node_execution_proto_init() } +func file_flyteidl_admin_node_execution_proto_init() { + if File_flyteidl_admin_node_execution_proto != nil { + return + } + file_flyteidl_admin_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_node_execution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionForTaskListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionMetaData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowNodeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskNodeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DynamicWorkflowNodeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionGetDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionGetDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDynamicNodeWorkflowRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DynamicNodeWorkflowResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_node_execution_proto_msgTypes[6].OneofWrappers = []interface{}{ + (*NodeExecutionClosure_OutputUri)(nil), + (*NodeExecutionClosure_Error)(nil), + (*NodeExecutionClosure_OutputData)(nil), + (*NodeExecutionClosure_WorkflowNodeMetadata)(nil), + (*NodeExecutionClosure_TaskNodeMetadata)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_node_execution_proto_rawDesc, + NumEnums: 0, + NumMessages: 14, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_node_execution_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_node_execution_proto_depIdxs, + MessageInfos: file_flyteidl_admin_node_execution_proto_msgTypes, + }.Build() + File_flyteidl_admin_node_execution_proto = out.File + file_flyteidl_admin_node_execution_proto_rawDesc = nil + file_flyteidl_admin_node_execution_proto_goTypes = nil + file_flyteidl_admin_node_execution_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/node_execution.swagger.json deleted file mode 100644 index 3562c6f709..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/node_execution.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go index 3e5480bbf9..a31f660b11 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.go @@ -1,29 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/notification.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Represents the Email object that is sent to a publisher/subscriber // to forward the notification. // Note: This is internal to Admin and doesn't need to be exposed to other components. type EmailMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of email addresses to receive an email with the content populated in the other fields. // Currently, each email recipient will receive its own email. // This populates the TO field. @@ -36,85 +40,159 @@ type EmailMessage struct { SubjectLine string `protobuf:"bytes,3,opt,name=subject_line,json=subjectLine,proto3" json:"subject_line,omitempty"` // The content of the email body. // This populates the BODY field. - Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` } -func (m *EmailMessage) Reset() { *m = EmailMessage{} } -func (m *EmailMessage) String() string { return proto.CompactTextString(m) } -func (*EmailMessage) ProtoMessage() {} -func (*EmailMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_cbe32eb21e00da05, []int{0} +func (x *EmailMessage) Reset() { + *x = EmailMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_notification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EmailMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EmailMessage.Unmarshal(m, b) -} -func (m *EmailMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EmailMessage.Marshal(b, m, deterministic) +func (x *EmailMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EmailMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_EmailMessage.Merge(m, src) -} -func (m *EmailMessage) XXX_Size() int { - return xxx_messageInfo_EmailMessage.Size(m) -} -func (m *EmailMessage) XXX_DiscardUnknown() { - xxx_messageInfo_EmailMessage.DiscardUnknown(m) + +func (*EmailMessage) ProtoMessage() {} + +func (x *EmailMessage) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_notification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EmailMessage proto.InternalMessageInfo +// Deprecated: Use EmailMessage.ProtoReflect.Descriptor instead. +func (*EmailMessage) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_notification_proto_rawDescGZIP(), []int{0} +} -func (m *EmailMessage) GetRecipientsEmail() []string { - if m != nil { - return m.RecipientsEmail +func (x *EmailMessage) GetRecipientsEmail() []string { + if x != nil { + return x.RecipientsEmail } return nil } -func (m *EmailMessage) GetSenderEmail() string { - if m != nil { - return m.SenderEmail +func (x *EmailMessage) GetSenderEmail() string { + if x != nil { + return x.SenderEmail } return "" } -func (m *EmailMessage) GetSubjectLine() string { - if m != nil { - return m.SubjectLine +func (x *EmailMessage) GetSubjectLine() string { + if x != nil { + return x.SubjectLine } return "" } -func (m *EmailMessage) GetBody() string { - if m != nil { - return m.Body +func (x *EmailMessage) GetBody() string { + if x != nil { + return x.Body } return "" } -func init() { - proto.RegisterType((*EmailMessage)(nil), "flyteidl.admin.EmailMessage") +var File_flyteidl_admin_notification_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_notification_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x22, 0x93, 0x01, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, + 0x74, 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, + 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6c, 0x69, + 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x42, 0xbd, 0x01, 0x0a, 0x12, 0x63, 0x6f, + 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x42, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, + 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_flyteidl_admin_notification_proto_rawDescOnce sync.Once + file_flyteidl_admin_notification_proto_rawDescData = file_flyteidl_admin_notification_proto_rawDesc +) + +func file_flyteidl_admin_notification_proto_rawDescGZIP() []byte { + file_flyteidl_admin_notification_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_notification_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_notification_proto_rawDescData) + }) + return file_flyteidl_admin_notification_proto_rawDescData } -func init() { proto.RegisterFile("flyteidl/admin/notification.proto", fileDescriptor_cbe32eb21e00da05) } - -var fileDescriptor_cbe32eb21e00da05 = []byte{ - // 210 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x3f, 0x4f, 0xc3, 0x30, - 0x10, 0xc5, 0x15, 0x5a, 0x21, 0xd5, 0x54, 0x80, 0x3c, 0x65, 0x6c, 0x99, 0xca, 0x40, 0x3c, 0x30, - 0x22, 0x16, 0x24, 0x36, 0x58, 0x3a, 0xb2, 0x54, 0xfe, 0x73, 0x31, 0x87, 0x9c, 0xbb, 0xc8, 0x76, - 0x86, 0x7c, 0x0e, 0xbe, 0x30, 0xc2, 0x09, 0x44, 0xdd, 0x9e, 0xde, 0xfb, 0x9d, 0x74, 0x3f, 0xb1, - 0x6f, 0xc3, 0x98, 0x01, 0x5d, 0x50, 0xda, 0x75, 0x48, 0x8a, 0x38, 0x63, 0x8b, 0x56, 0x67, 0x64, - 0x6a, 0xfa, 0xc8, 0x99, 0xe5, 0xf5, 0x1f, 0xd2, 0x14, 0xe4, 0xee, 0xbb, 0x12, 0xdb, 0xd7, 0x4e, - 0x63, 0x78, 0x87, 0x94, 0xb4, 0x07, 0x79, 0x2f, 0x6e, 0x23, 0x58, 0xec, 0x11, 0x28, 0xa7, 0x13, - 0xfc, 0x4e, 0x75, 0xb5, 0x5b, 0x1d, 0x36, 0xc7, 0x9b, 0xa5, 0x2f, 0x17, 0x72, 0x2f, 0xb6, 0x09, - 0xc8, 0x41, 0x9c, 0xb1, 0x8b, 0x5d, 0x75, 0xd8, 0x1c, 0xaf, 0xa6, 0x6e, 0x41, 0x06, 0xf3, 0x05, - 0x36, 0x9f, 0x02, 0x12, 0xd4, 0xab, 0x19, 0x99, 0xba, 0x37, 0x24, 0x90, 0x52, 0xac, 0x0d, 0xbb, - 0xb1, 0x5e, 0x97, 0xa9, 0xe4, 0x97, 0xe7, 0x8f, 0x27, 0x8f, 0xf9, 0x73, 0x30, 0x8d, 0xe5, 0x4e, - 0x95, 0x97, 0x39, 0xfa, 0x29, 0xa8, 0x7f, 0x49, 0x0f, 0xa4, 0x7a, 0xf3, 0xe0, 0x59, 0x9d, 0x7b, - 0x9b, 0xcb, 0xe2, 0xfa, 0xf8, 0x13, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x54, 0x10, 0xff, 0x10, 0x01, - 0x00, 0x00, +var file_flyteidl_admin_notification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_admin_notification_proto_goTypes = []interface{}{ + (*EmailMessage)(nil), // 0: flyteidl.admin.EmailMessage +} +var file_flyteidl_admin_notification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_notification_proto_init() } +func file_flyteidl_admin_notification_proto_init() { + if File_flyteidl_admin_notification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_notification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmailMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_notification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_notification_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_notification_proto_depIdxs, + MessageInfos: file_flyteidl_admin_notification_proto_msgTypes, + }.Build() + File_flyteidl_admin_notification_proto = out.File + file_flyteidl_admin_notification_proto_rawDesc = nil + file_flyteidl_admin_notification_proto_goTypes = nil + file_flyteidl_admin_notification_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/notification.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/notification.swagger.json deleted file mode 100644 index 919aad7298..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/notification.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/notification.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go index 7864459c54..e8a4a70689 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/project.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // The state of the project is used to control its visibility in the UI and validity. type Project_ProjectState int32 @@ -32,79 +32,112 @@ const ( Project_SYSTEM_GENERATED Project_ProjectState = 2 ) -var Project_ProjectState_name = map[int32]string{ - 0: "ACTIVE", - 1: "ARCHIVED", - 2: "SYSTEM_GENERATED", -} +// Enum value maps for Project_ProjectState. +var ( + Project_ProjectState_name = map[int32]string{ + 0: "ACTIVE", + 1: "ARCHIVED", + 2: "SYSTEM_GENERATED", + } + Project_ProjectState_value = map[string]int32{ + "ACTIVE": 0, + "ARCHIVED": 1, + "SYSTEM_GENERATED": 2, + } +) -var Project_ProjectState_value = map[string]int32{ - "ACTIVE": 0, - "ARCHIVED": 1, - "SYSTEM_GENERATED": 2, +func (x Project_ProjectState) Enum() *Project_ProjectState { + p := new(Project_ProjectState) + *p = x + return p } func (x Project_ProjectState) String() string { - return proto.EnumName(Project_ProjectState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Project_ProjectState) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_project_proto_enumTypes[0].Descriptor() } +func (Project_ProjectState) Type() protoreflect.EnumType { + return &file_flyteidl_admin_project_proto_enumTypes[0] +} + +func (x Project_ProjectState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Project_ProjectState.Descriptor instead. func (Project_ProjectState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{1, 0} + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{1, 0} } // Namespace within a project commonly used to differentiate between different service instances. // e.g. "production", "development", etc. type Domain struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Globally unique domain name. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Display name. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *Domain) Reset() { *m = Domain{} } -func (m *Domain) String() string { return proto.CompactTextString(m) } -func (*Domain) ProtoMessage() {} -func (*Domain) Descriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{0} +func (x *Domain) Reset() { + *x = Domain{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Domain) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Domain.Unmarshal(m, b) -} -func (m *Domain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Domain.Marshal(b, m, deterministic) -} -func (m *Domain) XXX_Merge(src proto.Message) { - xxx_messageInfo_Domain.Merge(m, src) +func (x *Domain) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Domain) XXX_Size() int { - return xxx_messageInfo_Domain.Size(m) -} -func (m *Domain) XXX_DiscardUnknown() { - xxx_messageInfo_Domain.DiscardUnknown(m) + +func (*Domain) ProtoMessage() {} + +func (x *Domain) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Domain proto.InternalMessageInfo +// Deprecated: Use Domain.ProtoReflect.Descriptor instead. +func (*Domain) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{0} +} -func (m *Domain) GetId() string { - if m != nil { - return m.Id +func (x *Domain) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Domain) GetName() string { - if m != nil { - return m.Name +func (x *Domain) GetName() string { + if x != nil { + return x.Name } return "" } // Top-level namespace used to classify different entities like workflows and executions. type Project struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Globally unique project name. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Display name. @@ -116,82 +149,86 @@ type Project struct { Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` State Project_ProjectState `protobuf:"varint,6,opt,name=state,proto3,enum=flyteidl.admin.Project_ProjectState" json:"state,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,7,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,7,opt,name=org,proto3" json:"org,omitempty"` } -func (m *Project) Reset() { *m = Project{} } -func (m *Project) String() string { return proto.CompactTextString(m) } -func (*Project) ProtoMessage() {} -func (*Project) Descriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{1} +func (x *Project) Reset() { + *x = Project{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Project) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Project.Unmarshal(m, b) -} -func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Project.Marshal(b, m, deterministic) -} -func (m *Project) XXX_Merge(src proto.Message) { - xxx_messageInfo_Project.Merge(m, src) +func (x *Project) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Project) XXX_Size() int { - return xxx_messageInfo_Project.Size(m) -} -func (m *Project) XXX_DiscardUnknown() { - xxx_messageInfo_Project.DiscardUnknown(m) + +func (*Project) ProtoMessage() {} + +func (x *Project) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Project proto.InternalMessageInfo +// Deprecated: Use Project.ProtoReflect.Descriptor instead. +func (*Project) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{1} +} -func (m *Project) GetId() string { - if m != nil { - return m.Id +func (x *Project) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Project) GetName() string { - if m != nil { - return m.Name +func (x *Project) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Project) GetDomains() []*Domain { - if m != nil { - return m.Domains +func (x *Project) GetDomains() []*Domain { + if x != nil { + return x.Domains } return nil } -func (m *Project) GetDescription() string { - if m != nil { - return m.Description +func (x *Project) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *Project) GetLabels() *Labels { - if m != nil { - return m.Labels +func (x *Project) GetLabels() *Labels { + if x != nil { + return x.Labels } return nil } -func (m *Project) GetState() Project_ProjectState { - if m != nil { - return m.State +func (x *Project) GetState() Project_ProjectState { + if x != nil { + return x.State } return Project_ACTIVE } -func (m *Project) GetOrg() string { - if m != nil { - return m.Org +func (x *Project) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -199,50 +236,58 @@ func (m *Project) GetOrg() string { // Represents a list of projects. // See :ref:`ref_flyteidl.admin.Project` for more details type Projects struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *Projects) Reset() { *m = Projects{} } -func (m *Projects) String() string { return proto.CompactTextString(m) } -func (*Projects) ProtoMessage() {} -func (*Projects) Descriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{2} +func (x *Projects) Reset() { + *x = Projects{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Projects) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Projects.Unmarshal(m, b) -} -func (m *Projects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Projects.Marshal(b, m, deterministic) +func (x *Projects) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Projects) XXX_Merge(src proto.Message) { - xxx_messageInfo_Projects.Merge(m, src) -} -func (m *Projects) XXX_Size() int { - return xxx_messageInfo_Projects.Size(m) -} -func (m *Projects) XXX_DiscardUnknown() { - xxx_messageInfo_Projects.DiscardUnknown(m) + +func (*Projects) ProtoMessage() {} + +func (x *Projects) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Projects proto.InternalMessageInfo +// Deprecated: Use Projects.ProtoReflect.Descriptor instead. +func (*Projects) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{2} +} -func (m *Projects) GetProjects() []*Project { - if m != nil { - return m.Projects +func (x *Projects) GetProjects() []*Project { + if x != nil { + return x.Projects } return nil } -func (m *Projects) GetToken() string { - if m != nil { - return m.Token +func (x *Projects) GetToken() string { + if x != nil { + return x.Token } return "" } @@ -250,6 +295,10 @@ func (m *Projects) GetToken() string { // Request to retrieve a list of projects matching specified filters. // See :ref:`ref_flyteidl.admin.Project` for more details type ProjectListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates the number of projects to be returned. // +required Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` @@ -265,68 +314,72 @@ type ProjectListRequest struct { // +optional SortBy *Sort `protobuf:"bytes,4,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` // Optional, org filter applied to list project requests. - Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ProjectListRequest) Reset() { *m = ProjectListRequest{} } -func (m *ProjectListRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectListRequest) ProtoMessage() {} -func (*ProjectListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{3} +func (x *ProjectListRequest) Reset() { + *x = ProjectListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectListRequest.Unmarshal(m, b) -} -func (m *ProjectListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectListRequest.Marshal(b, m, deterministic) +func (x *ProjectListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectListRequest.Merge(m, src) -} -func (m *ProjectListRequest) XXX_Size() int { - return xxx_messageInfo_ProjectListRequest.Size(m) -} -func (m *ProjectListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectListRequest.DiscardUnknown(m) + +func (*ProjectListRequest) ProtoMessage() {} + +func (x *ProjectListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectListRequest proto.InternalMessageInfo +// Deprecated: Use ProjectListRequest.ProtoReflect.Descriptor instead. +func (*ProjectListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{3} +} -func (m *ProjectListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *ProjectListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *ProjectListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *ProjectListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *ProjectListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *ProjectListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *ProjectListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *ProjectListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } -func (m *ProjectListRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ProjectListRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -334,152 +387,349 @@ func (m *ProjectListRequest) GetOrg() string { // Adds a new user-project within the Flyte deployment. // See :ref:`ref_flyteidl.admin.Project` for more details type ProjectRegisterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // +required - Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` } -func (m *ProjectRegisterRequest) Reset() { *m = ProjectRegisterRequest{} } -func (m *ProjectRegisterRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectRegisterRequest) ProtoMessage() {} -func (*ProjectRegisterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{4} +func (x *ProjectRegisterRequest) Reset() { + *x = ProjectRegisterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectRegisterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectRegisterRequest.Unmarshal(m, b) -} -func (m *ProjectRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectRegisterRequest.Marshal(b, m, deterministic) -} -func (m *ProjectRegisterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectRegisterRequest.Merge(m, src) +func (x *ProjectRegisterRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectRegisterRequest) XXX_Size() int { - return xxx_messageInfo_ProjectRegisterRequest.Size(m) -} -func (m *ProjectRegisterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectRegisterRequest.DiscardUnknown(m) + +func (*ProjectRegisterRequest) ProtoMessage() {} + +func (x *ProjectRegisterRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectRegisterRequest proto.InternalMessageInfo +// Deprecated: Use ProjectRegisterRequest.ProtoReflect.Descriptor instead. +func (*ProjectRegisterRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{4} +} -func (m *ProjectRegisterRequest) GetProject() *Project { - if m != nil { - return m.Project +func (x *ProjectRegisterRequest) GetProject() *Project { + if x != nil { + return x.Project } return nil } // Purposefully empty, may be updated in the future. type ProjectRegisterResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ProjectRegisterResponse) Reset() { *m = ProjectRegisterResponse{} } -func (m *ProjectRegisterResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectRegisterResponse) ProtoMessage() {} -func (*ProjectRegisterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{5} +func (x *ProjectRegisterResponse) Reset() { + *x = ProjectRegisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectRegisterResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectRegisterResponse.Unmarshal(m, b) +func (x *ProjectRegisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectRegisterResponse.Marshal(b, m, deterministic) + +func (*ProjectRegisterResponse) ProtoMessage() {} + +func (x *ProjectRegisterResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ProjectRegisterResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectRegisterResponse.Merge(m, src) + +// Deprecated: Use ProjectRegisterResponse.ProtoReflect.Descriptor instead. +func (*ProjectRegisterResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{5} +} + +// Purposefully empty, may be updated in the future. +type ProjectUpdateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ProjectRegisterResponse) XXX_Size() int { - return xxx_messageInfo_ProjectRegisterResponse.Size(m) + +func (x *ProjectUpdateResponse) Reset() { + *x = ProjectUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectRegisterResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectRegisterResponse.DiscardUnknown(m) + +func (x *ProjectUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ProjectRegisterResponse proto.InternalMessageInfo +func (*ProjectUpdateResponse) ProtoMessage() {} -// Purposefully empty, may be updated in the future. -type ProjectUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ProjectUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ProjectUpdateResponse) Reset() { *m = ProjectUpdateResponse{} } -func (m *ProjectUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectUpdateResponse) ProtoMessage() {} +// Deprecated: Use ProjectUpdateResponse.ProtoReflect.Descriptor instead. func (*ProjectUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2db065ce03bf106d, []int{6} -} - -func (m *ProjectUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectUpdateResponse.Unmarshal(m, b) -} -func (m *ProjectUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectUpdateResponse.Marshal(b, m, deterministic) -} -func (m *ProjectUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectUpdateResponse.Merge(m, src) -} -func (m *ProjectUpdateResponse) XXX_Size() int { - return xxx_messageInfo_ProjectUpdateResponse.Size(m) -} -func (m *ProjectUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectUpdateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ProjectUpdateResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("flyteidl.admin.Project_ProjectState", Project_ProjectState_name, Project_ProjectState_value) - proto.RegisterType((*Domain)(nil), "flyteidl.admin.Domain") - proto.RegisterType((*Project)(nil), "flyteidl.admin.Project") - proto.RegisterType((*Projects)(nil), "flyteidl.admin.Projects") - proto.RegisterType((*ProjectListRequest)(nil), "flyteidl.admin.ProjectListRequest") - proto.RegisterType((*ProjectRegisterRequest)(nil), "flyteidl.admin.ProjectRegisterRequest") - proto.RegisterType((*ProjectRegisterResponse)(nil), "flyteidl.admin.ProjectRegisterResponse") - proto.RegisterType((*ProjectUpdateResponse)(nil), "flyteidl.admin.ProjectUpdateResponse") -} - -func init() { proto.RegisterFile("flyteidl/admin/project.proto", fileDescriptor_2db065ce03bf106d) } - -var fileDescriptor_2db065ce03bf106d = []byte{ - // 474 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xc7, 0xb1, 0xd3, 0xd8, 0x61, 0x52, 0x22, 0x6b, 0x15, 0x9a, 0xe5, 0xe3, 0x60, 0x59, 0x1c, - 0x72, 0xa0, 0x36, 0xa4, 0x37, 0x10, 0x48, 0x69, 0x63, 0x41, 0x45, 0x41, 0x68, 0x93, 0x56, 0x82, - 0x4b, 0x65, 0xc7, 0x5b, 0xb3, 0x60, 0x7b, 0xcd, 0xee, 0xf6, 0x90, 0x67, 0xe1, 0x61, 0x78, 0x35, - 0xe4, 0xf5, 0xba, 0xb4, 0xa1, 0x20, 0x4e, 0xde, 0x99, 0xf9, 0x79, 0xe6, 0x3f, 0x33, 0x1a, 0x78, - 0x7c, 0x51, 0x6c, 0x14, 0x65, 0x59, 0x11, 0x25, 0x59, 0xc9, 0xaa, 0xa8, 0x16, 0xfc, 0x2b, 0x5d, - 0xab, 0xb0, 0x16, 0x5c, 0x71, 0x34, 0xea, 0xa2, 0xa1, 0x8e, 0x3e, 0x7c, 0xb4, 0x45, 0xaf, 0x79, - 0x59, 0xf2, 0xaa, 0x85, 0x83, 0xa7, 0xe0, 0x2c, 0x78, 0x99, 0xb0, 0x0a, 0x8d, 0xc0, 0x66, 0x19, - 0xb6, 0x7c, 0x6b, 0x7a, 0x97, 0xd8, 0x2c, 0x43, 0x08, 0x76, 0xaa, 0xa4, 0xa4, 0xd8, 0xd6, 0x1e, - 0xfd, 0x0e, 0x7e, 0xda, 0xe0, 0x7e, 0x6c, 0x8b, 0xfd, 0x0f, 0x8f, 0x9e, 0x81, 0x9b, 0xe9, 0xec, - 0x12, 0xf7, 0xfc, 0xde, 0x74, 0x38, 0xdb, 0x0b, 0x6f, 0x8a, 0x0b, 0xdb, 0xe2, 0xa4, 0xc3, 0x90, - 0x0f, 0xc3, 0x8c, 0xca, 0xb5, 0x60, 0xb5, 0x62, 0xbc, 0xc2, 0x3b, 0x3a, 0xd9, 0x75, 0x17, 0x0a, - 0xc1, 0x29, 0x92, 0x94, 0x16, 0x12, 0xf7, 0x7d, 0xeb, 0xb6, 0x94, 0x27, 0x3a, 0x4a, 0x0c, 0x85, - 0x5e, 0x40, 0x5f, 0xaa, 0x44, 0x51, 0xec, 0xf8, 0xd6, 0x74, 0x34, 0x7b, 0xb2, 0x8d, 0x9b, 0x7e, - 0xba, 0xef, 0xb2, 0x61, 0x49, 0xfb, 0x0b, 0xf2, 0xa0, 0xc7, 0x45, 0x8e, 0x5d, 0xad, 0xa2, 0x79, - 0x06, 0xaf, 0x61, 0xf7, 0x3a, 0x88, 0x00, 0x9c, 0xf9, 0xd1, 0xea, 0xf8, 0x2c, 0xf6, 0xee, 0xa0, - 0x5d, 0x18, 0xcc, 0xc9, 0xd1, 0xdb, 0xe3, 0xb3, 0x78, 0xe1, 0x59, 0x68, 0x0c, 0xde, 0xf2, 0xd3, - 0x72, 0x15, 0xbf, 0x3f, 0x7f, 0x13, 0x7f, 0x88, 0xc9, 0x7c, 0x15, 0x2f, 0x3c, 0x3b, 0x38, 0x85, - 0x81, 0xf9, 0x5f, 0xa2, 0x03, 0x18, 0x98, 0xcd, 0x49, 0x6c, 0xe9, 0xf1, 0x4c, 0xfe, 0x22, 0x8e, - 0x5c, 0x81, 0x68, 0x0c, 0x7d, 0xc5, 0xbf, 0xd1, 0xca, 0xcc, 0xb9, 0x35, 0x82, 0x1f, 0x16, 0x20, - 0xc3, 0x9e, 0x30, 0xa9, 0x08, 0xfd, 0x7e, 0x49, 0xa5, 0x6a, 0xe0, 0x82, 0x95, 0x4c, 0xe9, 0x35, - 0xdd, 0x23, 0xad, 0x71, 0x7b, 0x0a, 0x84, 0xc1, 0xbd, 0x60, 0x85, 0xa2, 0xa2, 0xd9, 0x55, 0xe3, - 0xef, 0x4c, 0xb4, 0x0f, 0xae, 0xe4, 0x42, 0x9d, 0xa7, 0x1b, 0xbd, 0x8f, 0xe1, 0x6c, 0xbc, 0x2d, - 0x73, 0xc9, 0x85, 0x22, 0x4e, 0x03, 0x1d, 0x6e, 0xba, 0xa1, 0xf5, 0x7f, 0x0f, 0xed, 0x1d, 0xec, - 0x75, 0x8d, 0xd0, 0x9c, 0x49, 0x45, 0x45, 0x27, 0xf0, 0x39, 0xb8, 0xa6, 0x33, 0x2d, 0xf1, 0x1f, - 0x13, 0xe8, 0xb8, 0xe0, 0x01, 0x4c, 0xfe, 0x48, 0x26, 0x6b, 0x5e, 0x49, 0x1a, 0x4c, 0xe0, 0xbe, - 0x09, 0x9d, 0xd6, 0x59, 0xb3, 0x46, 0x13, 0x38, 0x7c, 0xf5, 0xf9, 0x65, 0xce, 0xd4, 0x97, 0xcb, - 0x34, 0x5c, 0xf3, 0x32, 0xd2, 0x15, 0xb8, 0xc8, 0xdb, 0x47, 0x74, 0x75, 0x1e, 0x39, 0xad, 0xa2, - 0x3a, 0xdd, 0xcf, 0x79, 0x74, 0xf3, 0x62, 0x52, 0x47, 0xdf, 0xca, 0xc1, 0xaf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xed, 0xc0, 0x53, 0xec, 0x78, 0x03, 0x00, 0x00, + return file_flyteidl_admin_project_proto_rawDescGZIP(), []int{6} +} + +var File_flyteidl_admin_project_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_project_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1b, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x06, 0x44, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xbf, 0x02, 0x0a, 0x07, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, + 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3a, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x3e, 0x0a, 0x0c, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x52, 0x43, 0x48, 0x49, + 0x56, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, + 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x55, 0x0a, 0x08, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x22, 0x9b, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, + 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, + 0x22, 0x4b, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x07, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x19, 0x0a, + 0x17, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x42, 0xb8, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_project_proto_rawDescOnce sync.Once + file_flyteidl_admin_project_proto_rawDescData = file_flyteidl_admin_project_proto_rawDesc +) + +func file_flyteidl_admin_project_proto_rawDescGZIP() []byte { + file_flyteidl_admin_project_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_project_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_project_proto_rawDescData) + }) + return file_flyteidl_admin_project_proto_rawDescData +} + +var file_flyteidl_admin_project_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_admin_project_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flyteidl_admin_project_proto_goTypes = []interface{}{ + (Project_ProjectState)(0), // 0: flyteidl.admin.Project.ProjectState + (*Domain)(nil), // 1: flyteidl.admin.Domain + (*Project)(nil), // 2: flyteidl.admin.Project + (*Projects)(nil), // 3: flyteidl.admin.Projects + (*ProjectListRequest)(nil), // 4: flyteidl.admin.ProjectListRequest + (*ProjectRegisterRequest)(nil), // 5: flyteidl.admin.ProjectRegisterRequest + (*ProjectRegisterResponse)(nil), // 6: flyteidl.admin.ProjectRegisterResponse + (*ProjectUpdateResponse)(nil), // 7: flyteidl.admin.ProjectUpdateResponse + (*Labels)(nil), // 8: flyteidl.admin.Labels + (*Sort)(nil), // 9: flyteidl.admin.Sort +} +var file_flyteidl_admin_project_proto_depIdxs = []int32{ + 1, // 0: flyteidl.admin.Project.domains:type_name -> flyteidl.admin.Domain + 8, // 1: flyteidl.admin.Project.labels:type_name -> flyteidl.admin.Labels + 0, // 2: flyteidl.admin.Project.state:type_name -> flyteidl.admin.Project.ProjectState + 2, // 3: flyteidl.admin.Projects.projects:type_name -> flyteidl.admin.Project + 9, // 4: flyteidl.admin.ProjectListRequest.sort_by:type_name -> flyteidl.admin.Sort + 2, // 5: flyteidl.admin.ProjectRegisterRequest.project:type_name -> flyteidl.admin.Project + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_project_proto_init() } +func file_flyteidl_admin_project_proto_init() { + if File_flyteidl_admin_project_proto != nil { + return + } + file_flyteidl_admin_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Domain); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Project); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Projects); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectRegisterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectRegisterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_project_proto_rawDesc, + NumEnums: 1, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_project_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_project_proto_depIdxs, + EnumInfos: file_flyteidl_admin_project_proto_enumTypes, + MessageInfos: file_flyteidl_admin_project_proto_msgTypes, + }.Build() + File_flyteidl_admin_project_proto = out.File + file_flyteidl_admin_project_proto_rawDesc = nil + file_flyteidl_admin_project_proto_goTypes = nil + file_flyteidl_admin_project_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/project.swagger.json deleted file mode 100644 index 5eae55af8c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/project.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/project.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go index befb738eb7..3d9c12c3b0 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go @@ -1,80 +1,88 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/project_attributes.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines a set of custom matching attributes at the project level. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectAttributes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id for which this set of attributes will be applied. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` MatchingAttributes *MatchingAttributes `protobuf:"bytes,2,opt,name=matching_attributes,json=matchingAttributes,proto3" json:"matching_attributes,omitempty"` // Optional, org key applied to the project. - Org string `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ProjectAttributes) Reset() { *m = ProjectAttributes{} } -func (m *ProjectAttributes) String() string { return proto.CompactTextString(m) } -func (*ProjectAttributes) ProtoMessage() {} -func (*ProjectAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8dc9faa9640256, []int{0} +func (x *ProjectAttributes) Reset() { + *x = ProjectAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectAttributes.Unmarshal(m, b) +func (x *ProjectAttributes) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectAttributes.Marshal(b, m, deterministic) -} -func (m *ProjectAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectAttributes.Merge(m, src) -} -func (m *ProjectAttributes) XXX_Size() int { - return xxx_messageInfo_ProjectAttributes.Size(m) -} -func (m *ProjectAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectAttributes.DiscardUnknown(m) + +func (*ProjectAttributes) ProtoMessage() {} + +func (x *ProjectAttributes) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectAttributes proto.InternalMessageInfo +// Deprecated: Use ProjectAttributes.ProtoReflect.Descriptor instead. +func (*ProjectAttributes) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_attributes_proto_rawDescGZIP(), []int{0} +} -func (m *ProjectAttributes) GetProject() string { - if m != nil { - return m.Project +func (x *ProjectAttributes) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ProjectAttributes) GetMatchingAttributes() *MatchingAttributes { - if m != nil { - return m.MatchingAttributes +func (x *ProjectAttributes) GetMatchingAttributes() *MatchingAttributes { + if x != nil { + return x.MatchingAttributes } return nil } -func (m *ProjectAttributes) GetOrg() string { - if m != nil { - return m.Org +func (x *ProjectAttributes) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -82,80 +90,99 @@ func (m *ProjectAttributes) GetOrg() string { // Sets custom attributes for a project // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectAttributesUpdateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // +required - Attributes *ProjectAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Attributes *ProjectAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` } -func (m *ProjectAttributesUpdateRequest) Reset() { *m = ProjectAttributesUpdateRequest{} } -func (m *ProjectAttributesUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectAttributesUpdateRequest) ProtoMessage() {} -func (*ProjectAttributesUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8dc9faa9640256, []int{1} +func (x *ProjectAttributesUpdateRequest) Reset() { + *x = ProjectAttributesUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectAttributesUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectAttributesUpdateRequest.Unmarshal(m, b) -} -func (m *ProjectAttributesUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectAttributesUpdateRequest.Marshal(b, m, deterministic) -} -func (m *ProjectAttributesUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectAttributesUpdateRequest.Merge(m, src) +func (x *ProjectAttributesUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectAttributesUpdateRequest) XXX_Size() int { - return xxx_messageInfo_ProjectAttributesUpdateRequest.Size(m) -} -func (m *ProjectAttributesUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectAttributesUpdateRequest.DiscardUnknown(m) + +func (*ProjectAttributesUpdateRequest) ProtoMessage() {} + +func (x *ProjectAttributesUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectAttributesUpdateRequest proto.InternalMessageInfo +// Deprecated: Use ProjectAttributesUpdateRequest.ProtoReflect.Descriptor instead. +func (*ProjectAttributesUpdateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_attributes_proto_rawDescGZIP(), []int{1} +} -func (m *ProjectAttributesUpdateRequest) GetAttributes() *ProjectAttributes { - if m != nil { - return m.Attributes +func (x *ProjectAttributesUpdateRequest) GetAttributes() *ProjectAttributes { + if x != nil { + return x.Attributes } return nil } // Purposefully empty, may be populated in the future. type ProjectAttributesUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ProjectAttributesUpdateResponse) Reset() { *m = ProjectAttributesUpdateResponse{} } -func (m *ProjectAttributesUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectAttributesUpdateResponse) ProtoMessage() {} -func (*ProjectAttributesUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8dc9faa9640256, []int{2} +func (x *ProjectAttributesUpdateResponse) Reset() { + *x = ProjectAttributesUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectAttributesUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectAttributesUpdateResponse.Unmarshal(m, b) -} -func (m *ProjectAttributesUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectAttributesUpdateResponse.Marshal(b, m, deterministic) -} -func (m *ProjectAttributesUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectAttributesUpdateResponse.Merge(m, src) +func (x *ProjectAttributesUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectAttributesUpdateResponse) XXX_Size() int { - return xxx_messageInfo_ProjectAttributesUpdateResponse.Size(m) -} -func (m *ProjectAttributesUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectAttributesUpdateResponse.DiscardUnknown(m) + +func (*ProjectAttributesUpdateResponse) ProtoMessage() {} + +func (x *ProjectAttributesUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectAttributesUpdateResponse proto.InternalMessageInfo +// Deprecated: Use ProjectAttributesUpdateResponse.ProtoReflect.Descriptor instead. +func (*ProjectAttributesUpdateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_attributes_proto_rawDescGZIP(), []int{2} +} // Request to get an individual project level attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectAttributesGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id which this set of attributes references. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -163,54 +190,58 @@ type ProjectAttributesGetRequest struct { // +required ResourceType MatchableResource `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.admin.MatchableResource" json:"resource_type,omitempty"` // Optional, org key applied to the project. - Org string `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ProjectAttributesGetRequest) Reset() { *m = ProjectAttributesGetRequest{} } -func (m *ProjectAttributesGetRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectAttributesGetRequest) ProtoMessage() {} -func (*ProjectAttributesGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8dc9faa9640256, []int{3} +func (x *ProjectAttributesGetRequest) Reset() { + *x = ProjectAttributesGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectAttributesGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectAttributesGetRequest.Unmarshal(m, b) -} -func (m *ProjectAttributesGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectAttributesGetRequest.Marshal(b, m, deterministic) -} -func (m *ProjectAttributesGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectAttributesGetRequest.Merge(m, src) -} -func (m *ProjectAttributesGetRequest) XXX_Size() int { - return xxx_messageInfo_ProjectAttributesGetRequest.Size(m) +func (x *ProjectAttributesGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectAttributesGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectAttributesGetRequest.DiscardUnknown(m) + +func (*ProjectAttributesGetRequest) ProtoMessage() {} + +func (x *ProjectAttributesGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectAttributesGetRequest proto.InternalMessageInfo +// Deprecated: Use ProjectAttributesGetRequest.ProtoReflect.Descriptor instead. +func (*ProjectAttributesGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_attributes_proto_rawDescGZIP(), []int{3} +} -func (m *ProjectAttributesGetRequest) GetProject() string { - if m != nil { - return m.Project +func (x *ProjectAttributesGetRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ProjectAttributesGetRequest) GetResourceType() MatchableResource { - if m != nil { - return m.ResourceType +func (x *ProjectAttributesGetRequest) GetResourceType() MatchableResource { + if x != nil { + return x.ResourceType } return MatchableResource_TASK_RESOURCE } -func (m *ProjectAttributesGetRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ProjectAttributesGetRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -218,40 +249,48 @@ func (m *ProjectAttributesGetRequest) GetOrg() string { // Response to get an individual project level attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectAttributesGetResponse struct { - Attributes *ProjectAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ProjectAttributesGetResponse) Reset() { *m = ProjectAttributesGetResponse{} } -func (m *ProjectAttributesGetResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectAttributesGetResponse) ProtoMessage() {} -func (*ProjectAttributesGetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8dc9faa9640256, []int{4} + Attributes *ProjectAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` } -func (m *ProjectAttributesGetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectAttributesGetResponse.Unmarshal(m, b) -} -func (m *ProjectAttributesGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectAttributesGetResponse.Marshal(b, m, deterministic) -} -func (m *ProjectAttributesGetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectAttributesGetResponse.Merge(m, src) +func (x *ProjectAttributesGetResponse) Reset() { + *x = ProjectAttributesGetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectAttributesGetResponse) XXX_Size() int { - return xxx_messageInfo_ProjectAttributesGetResponse.Size(m) + +func (x *ProjectAttributesGetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectAttributesGetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectAttributesGetResponse.DiscardUnknown(m) + +func (*ProjectAttributesGetResponse) ProtoMessage() {} + +func (x *ProjectAttributesGetResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectAttributesGetResponse proto.InternalMessageInfo +// Deprecated: Use ProjectAttributesGetResponse.ProtoReflect.Descriptor instead. +func (*ProjectAttributesGetResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_attributes_proto_rawDescGZIP(), []int{4} +} -func (m *ProjectAttributesGetResponse) GetAttributes() *ProjectAttributes { - if m != nil { - return m.Attributes +func (x *ProjectAttributesGetResponse) GetAttributes() *ProjectAttributes { + if x != nil { + return x.Attributes } return nil } @@ -259,6 +298,10 @@ func (m *ProjectAttributesGetResponse) GetAttributes() *ProjectAttributes { // Request to delete a set matchable project level attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectAttributesDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id which this set of attributes references. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -266,125 +309,315 @@ type ProjectAttributesDeleteRequest struct { // +required ResourceType MatchableResource `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.admin.MatchableResource" json:"resource_type,omitempty"` // Optional, org key applied to the project. - Org string `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ProjectAttributesDeleteRequest) Reset() { *m = ProjectAttributesDeleteRequest{} } -func (m *ProjectAttributesDeleteRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectAttributesDeleteRequest) ProtoMessage() {} -func (*ProjectAttributesDeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8dc9faa9640256, []int{5} +func (x *ProjectAttributesDeleteRequest) Reset() { + *x = ProjectAttributesDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectAttributesDeleteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectAttributesDeleteRequest.Unmarshal(m, b) -} -func (m *ProjectAttributesDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectAttributesDeleteRequest.Marshal(b, m, deterministic) +func (x *ProjectAttributesDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectAttributesDeleteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectAttributesDeleteRequest.Merge(m, src) -} -func (m *ProjectAttributesDeleteRequest) XXX_Size() int { - return xxx_messageInfo_ProjectAttributesDeleteRequest.Size(m) -} -func (m *ProjectAttributesDeleteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectAttributesDeleteRequest.DiscardUnknown(m) + +func (*ProjectAttributesDeleteRequest) ProtoMessage() {} + +func (x *ProjectAttributesDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectAttributesDeleteRequest proto.InternalMessageInfo +// Deprecated: Use ProjectAttributesDeleteRequest.ProtoReflect.Descriptor instead. +func (*ProjectAttributesDeleteRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_attributes_proto_rawDescGZIP(), []int{5} +} -func (m *ProjectAttributesDeleteRequest) GetProject() string { - if m != nil { - return m.Project +func (x *ProjectAttributesDeleteRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ProjectAttributesDeleteRequest) GetResourceType() MatchableResource { - if m != nil { - return m.ResourceType +func (x *ProjectAttributesDeleteRequest) GetResourceType() MatchableResource { + if x != nil { + return x.ResourceType } return MatchableResource_TASK_RESOURCE } -func (m *ProjectAttributesDeleteRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ProjectAttributesDeleteRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } // Purposefully empty, may be populated in the future. type ProjectAttributesDeleteResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ProjectAttributesDeleteResponse) Reset() { + *x = ProjectAttributesDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectAttributesDeleteResponse) Reset() { *m = ProjectAttributesDeleteResponse{} } -func (m *ProjectAttributesDeleteResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectAttributesDeleteResponse) ProtoMessage() {} +func (x *ProjectAttributesDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProjectAttributesDeleteResponse) ProtoMessage() {} + +func (x *ProjectAttributesDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_attributes_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProjectAttributesDeleteResponse.ProtoReflect.Descriptor instead. func (*ProjectAttributesDeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8dc9faa9640256, []int{6} -} - -func (m *ProjectAttributesDeleteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectAttributesDeleteResponse.Unmarshal(m, b) -} -func (m *ProjectAttributesDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectAttributesDeleteResponse.Marshal(b, m, deterministic) -} -func (m *ProjectAttributesDeleteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectAttributesDeleteResponse.Merge(m, src) -} -func (m *ProjectAttributesDeleteResponse) XXX_Size() int { - return xxx_messageInfo_ProjectAttributesDeleteResponse.Size(m) -} -func (m *ProjectAttributesDeleteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectAttributesDeleteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ProjectAttributesDeleteResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ProjectAttributes)(nil), "flyteidl.admin.ProjectAttributes") - proto.RegisterType((*ProjectAttributesUpdateRequest)(nil), "flyteidl.admin.ProjectAttributesUpdateRequest") - proto.RegisterType((*ProjectAttributesUpdateResponse)(nil), "flyteidl.admin.ProjectAttributesUpdateResponse") - proto.RegisterType((*ProjectAttributesGetRequest)(nil), "flyteidl.admin.ProjectAttributesGetRequest") - proto.RegisterType((*ProjectAttributesGetResponse)(nil), "flyteidl.admin.ProjectAttributesGetResponse") - proto.RegisterType((*ProjectAttributesDeleteRequest)(nil), "flyteidl.admin.ProjectAttributesDeleteRequest") - proto.RegisterType((*ProjectAttributesDeleteResponse)(nil), "flyteidl.admin.ProjectAttributesDeleteResponse") -} - -func init() { - proto.RegisterFile("flyteidl/admin/project_attributes.proto", fileDescriptor_cb8dc9faa9640256) -} - -var fileDescriptor_cb8dc9faa9640256 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x93, 0x4f, 0x4b, 0xc3, 0x40, - 0x10, 0xc5, 0x59, 0x0b, 0x8a, 0xa3, 0x16, 0x8d, 0x97, 0xa0, 0xa2, 0x6d, 0x2e, 0xf6, 0x62, 0x02, - 0x7a, 0x14, 0x0f, 0x15, 0xd1, 0x53, 0x41, 0xa2, 0x5e, 0xbc, 0x94, 0x4d, 0x3a, 0x6e, 0x23, 0x49, - 0x76, 0xdd, 0x4c, 0x0e, 0xfd, 0x18, 0x42, 0x3f, 0xb0, 0xb8, 0xe9, 0xf6, 0x5f, 0xd2, 0x9b, 0xe0, - 0x6d, 0x13, 0xde, 0xbc, 0xf7, 0xdb, 0xb7, 0x0c, 0x5c, 0x7e, 0xa4, 0x13, 0xc2, 0x64, 0x94, 0x06, - 0x7c, 0x94, 0x25, 0x79, 0xa0, 0xb4, 0xfc, 0xc4, 0x98, 0x86, 0x9c, 0x48, 0x27, 0x51, 0x49, 0x58, - 0xf8, 0x4a, 0x4b, 0x92, 0x4e, 0xdb, 0x0a, 0x7d, 0x23, 0x3c, 0x59, 0x1f, 0xcc, 0x38, 0xc5, 0x63, - 0x1e, 0xa5, 0x38, 0xd4, 0x58, 0xc8, 0x52, 0xc7, 0x58, 0x0d, 0x7a, 0x53, 0x06, 0x47, 0xcf, 0x95, - 0x6b, 0x7f, 0x6e, 0xea, 0xb8, 0xb0, 0x33, 0x8b, 0x72, 0x59, 0x87, 0xf5, 0x76, 0x43, 0xfb, 0xe9, - 0xbc, 0xc0, 0xb1, 0xf1, 0x4a, 0x72, 0xb1, 0x44, 0xe1, 0x6e, 0x75, 0x58, 0x6f, 0xef, 0xda, 0xf3, - 0x57, 0x31, 0xfc, 0xc1, 0x4c, 0xba, 0xb0, 0x0e, 0x9d, 0xac, 0xf6, 0xcf, 0x39, 0x84, 0x96, 0xd4, - 0xc2, 0x6d, 0x99, 0xa8, 0xdf, 0xa3, 0x17, 0xc3, 0x79, 0x8d, 0xea, 0x4d, 0x8d, 0x38, 0x61, 0x88, - 0x5f, 0x25, 0x16, 0xe4, 0xf4, 0x01, 0x96, 0xf2, 0x99, 0xc9, 0xef, 0xae, 0xe7, 0xd7, 0x3c, 0xc2, - 0xa5, 0x21, 0xaf, 0x0b, 0x17, 0x1b, 0x43, 0x0a, 0x25, 0xf3, 0x02, 0xbd, 0x6f, 0x06, 0xa7, 0x35, - 0xcd, 0x13, 0x92, 0xa5, 0xd8, 0x5c, 0xd4, 0x23, 0x1c, 0xd8, 0xaa, 0x87, 0x34, 0x51, 0x68, 0x2a, - 0x6a, 0xd7, 0x11, 0x07, 0xf6, 0x65, 0xc2, 0x99, 0x3a, 0xdc, 0xb7, 0x73, 0xaf, 0x13, 0x85, 0x0d, - 0xdd, 0x70, 0x38, 0x6b, 0x46, 0xaa, 0x98, 0xff, 0xa2, 0x99, 0x29, 0x6b, 0xe8, 0xff, 0x01, 0x53, - 0x5c, 0xf4, 0xff, 0x1f, 0x37, 0x6f, 0x7a, 0x30, 0x4b, 0x55, 0x5d, 0xfe, 0xfe, 0xee, 0xfd, 0x56, - 0x24, 0x34, 0x2e, 0x23, 0x3f, 0x96, 0x59, 0x60, 0x12, 0xa5, 0x16, 0xd5, 0x21, 0x98, 0x2f, 0x85, - 0xc0, 0x3c, 0x50, 0xd1, 0x95, 0x90, 0xc1, 0xea, 0x9e, 0x44, 0xdb, 0x66, 0x2b, 0x6e, 0x7e, 0x02, - 0x00, 0x00, 0xff, 0xff, 0x54, 0xae, 0x47, 0x2e, 0x79, 0x03, 0x00, 0x00, + return file_flyteidl_admin_project_attributes_proto_rawDescGZIP(), []int{6} +} + +var File_flyteidl_admin_project_attributes_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_project_attributes_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x12, 0x53, 0x0a, 0x13, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x61, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x52, 0x12, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x63, 0x0a, 0x1e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x61, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x21, + 0x0a, 0x1f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x91, 0x01, 0x0a, 0x1b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x46, 0x0a, 0x0d, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x61, 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x1e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x46, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, + 0x21, 0x0a, 0x1f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x42, 0xc2, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x16, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, + 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_project_attributes_proto_rawDescOnce sync.Once + file_flyteidl_admin_project_attributes_proto_rawDescData = file_flyteidl_admin_project_attributes_proto_rawDesc +) + +func file_flyteidl_admin_project_attributes_proto_rawDescGZIP() []byte { + file_flyteidl_admin_project_attributes_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_project_attributes_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_project_attributes_proto_rawDescData) + }) + return file_flyteidl_admin_project_attributes_proto_rawDescData +} + +var file_flyteidl_admin_project_attributes_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flyteidl_admin_project_attributes_proto_goTypes = []interface{}{ + (*ProjectAttributes)(nil), // 0: flyteidl.admin.ProjectAttributes + (*ProjectAttributesUpdateRequest)(nil), // 1: flyteidl.admin.ProjectAttributesUpdateRequest + (*ProjectAttributesUpdateResponse)(nil), // 2: flyteidl.admin.ProjectAttributesUpdateResponse + (*ProjectAttributesGetRequest)(nil), // 3: flyteidl.admin.ProjectAttributesGetRequest + (*ProjectAttributesGetResponse)(nil), // 4: flyteidl.admin.ProjectAttributesGetResponse + (*ProjectAttributesDeleteRequest)(nil), // 5: flyteidl.admin.ProjectAttributesDeleteRequest + (*ProjectAttributesDeleteResponse)(nil), // 6: flyteidl.admin.ProjectAttributesDeleteResponse + (*MatchingAttributes)(nil), // 7: flyteidl.admin.MatchingAttributes + (MatchableResource)(0), // 8: flyteidl.admin.MatchableResource +} +var file_flyteidl_admin_project_attributes_proto_depIdxs = []int32{ + 7, // 0: flyteidl.admin.ProjectAttributes.matching_attributes:type_name -> flyteidl.admin.MatchingAttributes + 0, // 1: flyteidl.admin.ProjectAttributesUpdateRequest.attributes:type_name -> flyteidl.admin.ProjectAttributes + 8, // 2: flyteidl.admin.ProjectAttributesGetRequest.resource_type:type_name -> flyteidl.admin.MatchableResource + 0, // 3: flyteidl.admin.ProjectAttributesGetResponse.attributes:type_name -> flyteidl.admin.ProjectAttributes + 8, // 4: flyteidl.admin.ProjectAttributesDeleteRequest.resource_type:type_name -> flyteidl.admin.MatchableResource + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_project_attributes_proto_init() } +func file_flyteidl_admin_project_attributes_proto_init() { + if File_flyteidl_admin_project_attributes_proto != nil { + return + } + file_flyteidl_admin_matchable_resource_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_project_attributes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_attributes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAttributesUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_attributes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAttributesUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_attributes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAttributesGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_attributes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAttributesGetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_attributes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAttributesDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_attributes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAttributesDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_project_attributes_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_project_attributes_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_project_attributes_proto_depIdxs, + MessageInfos: file_flyteidl_admin_project_attributes_proto_msgTypes, + }.Build() + File_flyteidl_admin_project_attributes_proto = out.File + file_flyteidl_admin_project_attributes_proto_rawDesc = nil + file_flyteidl_admin_project_attributes_proto_goTypes = nil + file_flyteidl_admin_project_attributes_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.swagger.json deleted file mode 100644 index 4280d59371..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/project_attributes.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go index 610eb7d08f..fe3a9c34d7 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go @@ -1,89 +1,97 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/project_domain_attributes.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines a set of custom matching attributes which defines resource defaults for a project and domain. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectDomainAttributes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id for which this set of attributes will be applied. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Unique domain id for which this set of attributes will be applied. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` MatchingAttributes *MatchingAttributes `protobuf:"bytes,3,opt,name=matching_attributes,json=matchingAttributes,proto3" json:"matching_attributes,omitempty"` // Optional, org key applied to the attributes. - Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ProjectDomainAttributes) Reset() { *m = ProjectDomainAttributes{} } -func (m *ProjectDomainAttributes) String() string { return proto.CompactTextString(m) } -func (*ProjectDomainAttributes) ProtoMessage() {} -func (*ProjectDomainAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_e8ab0b551a649f05, []int{0} +func (x *ProjectDomainAttributes) Reset() { + *x = ProjectDomainAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectDomainAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectDomainAttributes.Unmarshal(m, b) +func (x *ProjectDomainAttributes) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectDomainAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectDomainAttributes.Marshal(b, m, deterministic) -} -func (m *ProjectDomainAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectDomainAttributes.Merge(m, src) -} -func (m *ProjectDomainAttributes) XXX_Size() int { - return xxx_messageInfo_ProjectDomainAttributes.Size(m) -} -func (m *ProjectDomainAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectDomainAttributes.DiscardUnknown(m) + +func (*ProjectDomainAttributes) ProtoMessage() {} + +func (x *ProjectDomainAttributes) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectDomainAttributes proto.InternalMessageInfo +// Deprecated: Use ProjectDomainAttributes.ProtoReflect.Descriptor instead. +func (*ProjectDomainAttributes) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP(), []int{0} +} -func (m *ProjectDomainAttributes) GetProject() string { - if m != nil { - return m.Project +func (x *ProjectDomainAttributes) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ProjectDomainAttributes) GetDomain() string { - if m != nil { - return m.Domain +func (x *ProjectDomainAttributes) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *ProjectDomainAttributes) GetMatchingAttributes() *MatchingAttributes { - if m != nil { - return m.MatchingAttributes +func (x *ProjectDomainAttributes) GetMatchingAttributes() *MatchingAttributes { + if x != nil { + return x.MatchingAttributes } return nil } -func (m *ProjectDomainAttributes) GetOrg() string { - if m != nil { - return m.Org +func (x *ProjectDomainAttributes) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -91,80 +99,99 @@ func (m *ProjectDomainAttributes) GetOrg() string { // Sets custom attributes for a project-domain combination. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectDomainAttributesUpdateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // +required - Attributes *ProjectDomainAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Attributes *ProjectDomainAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` } -func (m *ProjectDomainAttributesUpdateRequest) Reset() { *m = ProjectDomainAttributesUpdateRequest{} } -func (m *ProjectDomainAttributesUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectDomainAttributesUpdateRequest) ProtoMessage() {} -func (*ProjectDomainAttributesUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e8ab0b551a649f05, []int{1} +func (x *ProjectDomainAttributesUpdateRequest) Reset() { + *x = ProjectDomainAttributesUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectDomainAttributesUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectDomainAttributesUpdateRequest.Unmarshal(m, b) -} -func (m *ProjectDomainAttributesUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectDomainAttributesUpdateRequest.Marshal(b, m, deterministic) -} -func (m *ProjectDomainAttributesUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectDomainAttributesUpdateRequest.Merge(m, src) +func (x *ProjectDomainAttributesUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectDomainAttributesUpdateRequest) XXX_Size() int { - return xxx_messageInfo_ProjectDomainAttributesUpdateRequest.Size(m) -} -func (m *ProjectDomainAttributesUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectDomainAttributesUpdateRequest.DiscardUnknown(m) + +func (*ProjectDomainAttributesUpdateRequest) ProtoMessage() {} + +func (x *ProjectDomainAttributesUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectDomainAttributesUpdateRequest proto.InternalMessageInfo +// Deprecated: Use ProjectDomainAttributesUpdateRequest.ProtoReflect.Descriptor instead. +func (*ProjectDomainAttributesUpdateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP(), []int{1} +} -func (m *ProjectDomainAttributesUpdateRequest) GetAttributes() *ProjectDomainAttributes { - if m != nil { - return m.Attributes +func (x *ProjectDomainAttributesUpdateRequest) GetAttributes() *ProjectDomainAttributes { + if x != nil { + return x.Attributes } return nil } // Purposefully empty, may be populated in the future. type ProjectDomainAttributesUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ProjectDomainAttributesUpdateResponse) Reset() { *m = ProjectDomainAttributesUpdateResponse{} } -func (m *ProjectDomainAttributesUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectDomainAttributesUpdateResponse) ProtoMessage() {} -func (*ProjectDomainAttributesUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e8ab0b551a649f05, []int{2} +func (x *ProjectDomainAttributesUpdateResponse) Reset() { + *x = ProjectDomainAttributesUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectDomainAttributesUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectDomainAttributesUpdateResponse.Unmarshal(m, b) -} -func (m *ProjectDomainAttributesUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectDomainAttributesUpdateResponse.Marshal(b, m, deterministic) -} -func (m *ProjectDomainAttributesUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectDomainAttributesUpdateResponse.Merge(m, src) +func (x *ProjectDomainAttributesUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectDomainAttributesUpdateResponse) XXX_Size() int { - return xxx_messageInfo_ProjectDomainAttributesUpdateResponse.Size(m) -} -func (m *ProjectDomainAttributesUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectDomainAttributesUpdateResponse.DiscardUnknown(m) + +func (*ProjectDomainAttributesUpdateResponse) ProtoMessage() {} + +func (x *ProjectDomainAttributesUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectDomainAttributesUpdateResponse proto.InternalMessageInfo +// Deprecated: Use ProjectDomainAttributesUpdateResponse.ProtoReflect.Descriptor instead. +func (*ProjectDomainAttributesUpdateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP(), []int{2} +} // Request to get an individual project domain attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectDomainAttributesGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id which this set of attributes references. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -175,61 +202,65 @@ type ProjectDomainAttributesGetRequest struct { // +required ResourceType MatchableResource `protobuf:"varint,3,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.admin.MatchableResource" json:"resource_type,omitempty"` // Optional, org key applied to the attributes. - Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ProjectDomainAttributesGetRequest) Reset() { *m = ProjectDomainAttributesGetRequest{} } -func (m *ProjectDomainAttributesGetRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectDomainAttributesGetRequest) ProtoMessage() {} -func (*ProjectDomainAttributesGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e8ab0b551a649f05, []int{3} +func (x *ProjectDomainAttributesGetRequest) Reset() { + *x = ProjectDomainAttributesGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectDomainAttributesGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectDomainAttributesGetRequest.Unmarshal(m, b) -} -func (m *ProjectDomainAttributesGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectDomainAttributesGetRequest.Marshal(b, m, deterministic) -} -func (m *ProjectDomainAttributesGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectDomainAttributesGetRequest.Merge(m, src) -} -func (m *ProjectDomainAttributesGetRequest) XXX_Size() int { - return xxx_messageInfo_ProjectDomainAttributesGetRequest.Size(m) +func (x *ProjectDomainAttributesGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectDomainAttributesGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectDomainAttributesGetRequest.DiscardUnknown(m) + +func (*ProjectDomainAttributesGetRequest) ProtoMessage() {} + +func (x *ProjectDomainAttributesGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectDomainAttributesGetRequest proto.InternalMessageInfo +// Deprecated: Use ProjectDomainAttributesGetRequest.ProtoReflect.Descriptor instead. +func (*ProjectDomainAttributesGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP(), []int{3} +} -func (m *ProjectDomainAttributesGetRequest) GetProject() string { - if m != nil { - return m.Project +func (x *ProjectDomainAttributesGetRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ProjectDomainAttributesGetRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *ProjectDomainAttributesGetRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *ProjectDomainAttributesGetRequest) GetResourceType() MatchableResource { - if m != nil { - return m.ResourceType +func (x *ProjectDomainAttributesGetRequest) GetResourceType() MatchableResource { + if x != nil { + return x.ResourceType } return MatchableResource_TASK_RESOURCE } -func (m *ProjectDomainAttributesGetRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ProjectDomainAttributesGetRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -237,40 +268,48 @@ func (m *ProjectDomainAttributesGetRequest) GetOrg() string { // Response to get an individual project domain attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectDomainAttributesGetResponse struct { - Attributes *ProjectDomainAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ProjectDomainAttributesGetResponse) Reset() { *m = ProjectDomainAttributesGetResponse{} } -func (m *ProjectDomainAttributesGetResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectDomainAttributesGetResponse) ProtoMessage() {} -func (*ProjectDomainAttributesGetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e8ab0b551a649f05, []int{4} + Attributes *ProjectDomainAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` } -func (m *ProjectDomainAttributesGetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectDomainAttributesGetResponse.Unmarshal(m, b) -} -func (m *ProjectDomainAttributesGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectDomainAttributesGetResponse.Marshal(b, m, deterministic) -} -func (m *ProjectDomainAttributesGetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectDomainAttributesGetResponse.Merge(m, src) +func (x *ProjectDomainAttributesGetResponse) Reset() { + *x = ProjectDomainAttributesGetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectDomainAttributesGetResponse) XXX_Size() int { - return xxx_messageInfo_ProjectDomainAttributesGetResponse.Size(m) + +func (x *ProjectDomainAttributesGetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectDomainAttributesGetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectDomainAttributesGetResponse.DiscardUnknown(m) + +func (*ProjectDomainAttributesGetResponse) ProtoMessage() {} + +func (x *ProjectDomainAttributesGetResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectDomainAttributesGetResponse proto.InternalMessageInfo +// Deprecated: Use ProjectDomainAttributesGetResponse.ProtoReflect.Descriptor instead. +func (*ProjectDomainAttributesGetResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP(), []int{4} +} -func (m *ProjectDomainAttributesGetResponse) GetAttributes() *ProjectDomainAttributes { - if m != nil { - return m.Attributes +func (x *ProjectDomainAttributesGetResponse) GetAttributes() *ProjectDomainAttributes { + if x != nil { + return x.Attributes } return nil } @@ -278,6 +317,10 @@ func (m *ProjectDomainAttributesGetResponse) GetAttributes() *ProjectDomainAttri // Request to delete a set matchable project domain attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type ProjectDomainAttributesDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id which this set of attributes references. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -288,134 +331,331 @@ type ProjectDomainAttributesDeleteRequest struct { // +required ResourceType MatchableResource `protobuf:"varint,3,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.admin.MatchableResource" json:"resource_type,omitempty"` // Optional, org key applied to the attributes. - Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` } -func (m *ProjectDomainAttributesDeleteRequest) Reset() { *m = ProjectDomainAttributesDeleteRequest{} } -func (m *ProjectDomainAttributesDeleteRequest) String() string { return proto.CompactTextString(m) } -func (*ProjectDomainAttributesDeleteRequest) ProtoMessage() {} -func (*ProjectDomainAttributesDeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e8ab0b551a649f05, []int{5} +func (x *ProjectDomainAttributesDeleteRequest) Reset() { + *x = ProjectDomainAttributesDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectDomainAttributesDeleteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectDomainAttributesDeleteRequest.Unmarshal(m, b) -} -func (m *ProjectDomainAttributesDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectDomainAttributesDeleteRequest.Marshal(b, m, deterministic) +func (x *ProjectDomainAttributesDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectDomainAttributesDeleteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectDomainAttributesDeleteRequest.Merge(m, src) -} -func (m *ProjectDomainAttributesDeleteRequest) XXX_Size() int { - return xxx_messageInfo_ProjectDomainAttributesDeleteRequest.Size(m) -} -func (m *ProjectDomainAttributesDeleteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectDomainAttributesDeleteRequest.DiscardUnknown(m) + +func (*ProjectDomainAttributesDeleteRequest) ProtoMessage() {} + +func (x *ProjectDomainAttributesDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectDomainAttributesDeleteRequest proto.InternalMessageInfo +// Deprecated: Use ProjectDomainAttributesDeleteRequest.ProtoReflect.Descriptor instead. +func (*ProjectDomainAttributesDeleteRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP(), []int{5} +} -func (m *ProjectDomainAttributesDeleteRequest) GetProject() string { - if m != nil { - return m.Project +func (x *ProjectDomainAttributesDeleteRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ProjectDomainAttributesDeleteRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *ProjectDomainAttributesDeleteRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *ProjectDomainAttributesDeleteRequest) GetResourceType() MatchableResource { - if m != nil { - return m.ResourceType +func (x *ProjectDomainAttributesDeleteRequest) GetResourceType() MatchableResource { + if x != nil { + return x.ResourceType } return MatchableResource_TASK_RESOURCE } -func (m *ProjectDomainAttributesDeleteRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *ProjectDomainAttributesDeleteRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } // Purposefully empty, may be populated in the future. type ProjectDomainAttributesDeleteResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ProjectDomainAttributesDeleteResponse) Reset() { + *x = ProjectDomainAttributesDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectDomainAttributesDeleteResponse) Reset() { *m = ProjectDomainAttributesDeleteResponse{} } -func (m *ProjectDomainAttributesDeleteResponse) String() string { return proto.CompactTextString(m) } -func (*ProjectDomainAttributesDeleteResponse) ProtoMessage() {} +func (x *ProjectDomainAttributesDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProjectDomainAttributesDeleteResponse) ProtoMessage() {} + +func (x *ProjectDomainAttributesDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_project_domain_attributes_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProjectDomainAttributesDeleteResponse.ProtoReflect.Descriptor instead. func (*ProjectDomainAttributesDeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e8ab0b551a649f05, []int{6} -} - -func (m *ProjectDomainAttributesDeleteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectDomainAttributesDeleteResponse.Unmarshal(m, b) -} -func (m *ProjectDomainAttributesDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectDomainAttributesDeleteResponse.Marshal(b, m, deterministic) -} -func (m *ProjectDomainAttributesDeleteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectDomainAttributesDeleteResponse.Merge(m, src) -} -func (m *ProjectDomainAttributesDeleteResponse) XXX_Size() int { - return xxx_messageInfo_ProjectDomainAttributesDeleteResponse.Size(m) -} -func (m *ProjectDomainAttributesDeleteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectDomainAttributesDeleteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ProjectDomainAttributesDeleteResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ProjectDomainAttributes)(nil), "flyteidl.admin.ProjectDomainAttributes") - proto.RegisterType((*ProjectDomainAttributesUpdateRequest)(nil), "flyteidl.admin.ProjectDomainAttributesUpdateRequest") - proto.RegisterType((*ProjectDomainAttributesUpdateResponse)(nil), "flyteidl.admin.ProjectDomainAttributesUpdateResponse") - proto.RegisterType((*ProjectDomainAttributesGetRequest)(nil), "flyteidl.admin.ProjectDomainAttributesGetRequest") - proto.RegisterType((*ProjectDomainAttributesGetResponse)(nil), "flyteidl.admin.ProjectDomainAttributesGetResponse") - proto.RegisterType((*ProjectDomainAttributesDeleteRequest)(nil), "flyteidl.admin.ProjectDomainAttributesDeleteRequest") - proto.RegisterType((*ProjectDomainAttributesDeleteResponse)(nil), "flyteidl.admin.ProjectDomainAttributesDeleteResponse") -} - -func init() { - proto.RegisterFile("flyteidl/admin/project_domain_attributes.proto", fileDescriptor_e8ab0b551a649f05) -} - -var fileDescriptor_e8ab0b551a649f05 = []byte{ - // 355 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x93, 0x4f, 0x4b, 0xc3, 0x40, - 0x10, 0xc5, 0x59, 0x2b, 0x15, 0x47, 0x2d, 0xb2, 0x82, 0x06, 0x4f, 0x6d, 0x50, 0xda, 0x8b, 0x09, - 0xd4, 0xa3, 0x78, 0x50, 0x8a, 0x3d, 0x09, 0x12, 0xf5, 0xe2, 0x25, 0xe4, 0xcf, 0x98, 0x46, 0x92, - 0xec, 0xba, 0xd9, 0x1c, 0xfa, 0xa9, 0x84, 0x7e, 0x42, 0xe9, 0x26, 0xdb, 0xa6, 0xb5, 0x51, 0x04, - 0x0f, 0xde, 0x76, 0x93, 0x99, 0x79, 0xbf, 0x7d, 0x8f, 0x01, 0xeb, 0x35, 0x99, 0x4a, 0x8c, 0xc3, - 0xc4, 0xf6, 0xc2, 0x34, 0xce, 0x6c, 0x2e, 0xd8, 0x1b, 0x06, 0xd2, 0x0d, 0x59, 0xea, 0xc5, 0x99, - 0xeb, 0x49, 0x29, 0x62, 0xbf, 0x90, 0x98, 0x5b, 0x5c, 0x30, 0xc9, 0x68, 0x47, 0xd7, 0x5b, 0xaa, - 0xfe, 0xb4, 0xbf, 0xd6, 0x9f, 0x7a, 0x32, 0x98, 0x78, 0x7e, 0x82, 0xae, 0xc0, 0x9c, 0x15, 0x22, - 0xc0, 0xb2, 0xd1, 0x9c, 0x11, 0x38, 0x79, 0x28, 0x87, 0x8f, 0xd4, 0xec, 0x9b, 0xc5, 0x68, 0x6a, - 0xc0, 0x4e, 0xa5, 0x6b, 0x90, 0x2e, 0x19, 0xec, 0x3a, 0xfa, 0x4a, 0x8f, 0xa1, 0x5d, 0x92, 0x18, - 0x5b, 0xea, 0x47, 0x75, 0xa3, 0x8f, 0x70, 0xa4, 0x94, 0xe2, 0x2c, 0xaa, 0x31, 0x1a, 0xad, 0x2e, - 0x19, 0xec, 0x0d, 0x4d, 0x6b, 0x15, 0xd2, 0xba, 0xaf, 0x4a, 0x97, 0x92, 0x0e, 0x4d, 0xbf, 0x7c, - 0xa3, 0x87, 0xd0, 0x62, 0x22, 0x32, 0xb6, 0x95, 0xd2, 0xfc, 0x68, 0x32, 0x38, 0x6b, 0x60, 0x7e, - 0xe6, 0xa1, 0x27, 0xd1, 0xc1, 0xf7, 0x02, 0x73, 0x49, 0xc7, 0x00, 0x35, 0x0a, 0xa2, 0x28, 0xfa, - 0xeb, 0x14, 0x0d, 0x93, 0x9c, 0x5a, 0xab, 0xd9, 0x87, 0xf3, 0x1f, 0x04, 0x73, 0xce, 0xb2, 0x1c, - 0xcd, 0x0f, 0x02, 0xbd, 0x86, 0xca, 0x31, 0x4a, 0xcd, 0xf5, 0x7b, 0x63, 0xef, 0xe0, 0x40, 0x07, - 0xe7, 0xca, 0x29, 0x47, 0x65, 0x69, 0x67, 0xd8, 0xdb, 0x68, 0xe9, 0x3c, 0x67, 0xa7, 0xaa, 0x76, - 0xf6, 0x75, 0xdf, 0xd3, 0x94, 0xe3, 0x06, 0x2f, 0x53, 0x30, 0xbf, 0x03, 0x2e, 0xdf, 0xf5, 0x77, - 0x4e, 0xce, 0x48, 0x63, 0x76, 0x23, 0x4c, 0x70, 0x99, 0xdd, 0x7f, 0xf2, 0xa8, 0x39, 0x7e, 0xcd, - 0x5c, 0xda, 0x74, 0x7b, 0xfd, 0x72, 0x15, 0xc5, 0x72, 0x52, 0xf8, 0x56, 0xc0, 0x52, 0x5b, 0xe9, - 0x32, 0x11, 0x95, 0x07, 0x7b, 0xb1, 0x92, 0x11, 0x66, 0x36, 0xf7, 0x2f, 0x22, 0x66, 0xaf, 0x6e, - 0xa9, 0xdf, 0x56, 0x3b, 0x79, 0xf9, 0x19, 0x00, 0x00, 0xff, 0xff, 0x21, 0xef, 0xc1, 0x38, 0xfe, - 0x03, 0x00, 0x00, + return file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP(), []int{6} +} + +var File_flyteidl_admin_project_domain_attributes_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_project_domain_attributes_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, + 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x17, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x53, 0x0a, 0x13, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x12, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, + 0x6e, 0x67, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, + 0x6f, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x6f, + 0x0a, 0x24, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, + 0x27, 0x0a, 0x25, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x21, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x12, 0x46, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x6d, 0x0a, 0x22, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0xb2, 0x01, 0x0a, 0x24, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x46, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x6f, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x27, + 0x0a, 0x25, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xc8, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x1c, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, + 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_project_domain_attributes_proto_rawDescOnce sync.Once + file_flyteidl_admin_project_domain_attributes_proto_rawDescData = file_flyteidl_admin_project_domain_attributes_proto_rawDesc +) + +func file_flyteidl_admin_project_domain_attributes_proto_rawDescGZIP() []byte { + file_flyteidl_admin_project_domain_attributes_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_project_domain_attributes_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_project_domain_attributes_proto_rawDescData) + }) + return file_flyteidl_admin_project_domain_attributes_proto_rawDescData +} + +var file_flyteidl_admin_project_domain_attributes_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flyteidl_admin_project_domain_attributes_proto_goTypes = []interface{}{ + (*ProjectDomainAttributes)(nil), // 0: flyteidl.admin.ProjectDomainAttributes + (*ProjectDomainAttributesUpdateRequest)(nil), // 1: flyteidl.admin.ProjectDomainAttributesUpdateRequest + (*ProjectDomainAttributesUpdateResponse)(nil), // 2: flyteidl.admin.ProjectDomainAttributesUpdateResponse + (*ProjectDomainAttributesGetRequest)(nil), // 3: flyteidl.admin.ProjectDomainAttributesGetRequest + (*ProjectDomainAttributesGetResponse)(nil), // 4: flyteidl.admin.ProjectDomainAttributesGetResponse + (*ProjectDomainAttributesDeleteRequest)(nil), // 5: flyteidl.admin.ProjectDomainAttributesDeleteRequest + (*ProjectDomainAttributesDeleteResponse)(nil), // 6: flyteidl.admin.ProjectDomainAttributesDeleteResponse + (*MatchingAttributes)(nil), // 7: flyteidl.admin.MatchingAttributes + (MatchableResource)(0), // 8: flyteidl.admin.MatchableResource +} +var file_flyteidl_admin_project_domain_attributes_proto_depIdxs = []int32{ + 7, // 0: flyteidl.admin.ProjectDomainAttributes.matching_attributes:type_name -> flyteidl.admin.MatchingAttributes + 0, // 1: flyteidl.admin.ProjectDomainAttributesUpdateRequest.attributes:type_name -> flyteidl.admin.ProjectDomainAttributes + 8, // 2: flyteidl.admin.ProjectDomainAttributesGetRequest.resource_type:type_name -> flyteidl.admin.MatchableResource + 0, // 3: flyteidl.admin.ProjectDomainAttributesGetResponse.attributes:type_name -> flyteidl.admin.ProjectDomainAttributes + 8, // 4: flyteidl.admin.ProjectDomainAttributesDeleteRequest.resource_type:type_name -> flyteidl.admin.MatchableResource + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_project_domain_attributes_proto_init() } +func file_flyteidl_admin_project_domain_attributes_proto_init() { + if File_flyteidl_admin_project_domain_attributes_proto != nil { + return + } + file_flyteidl_admin_matchable_resource_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_project_domain_attributes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectDomainAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_domain_attributes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectDomainAttributesUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_domain_attributes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectDomainAttributesUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_domain_attributes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectDomainAttributesGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_domain_attributes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectDomainAttributesGetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_domain_attributes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectDomainAttributesDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_project_domain_attributes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectDomainAttributesDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_project_domain_attributes_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_project_domain_attributes_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_project_domain_attributes_proto_depIdxs, + MessageInfos: file_flyteidl_admin_project_domain_attributes_proto_msgTypes, + }.Build() + File_flyteidl_admin_project_domain_attributes_proto = out.File + file_flyteidl_admin_project_domain_attributes_proto_rawDesc = nil + file_flyteidl_admin_project_domain_attributes_proto_goTypes = nil + file_flyteidl_admin_project_domain_attributes_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.swagger.json deleted file mode 100644 index 61ce4b8922..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/project_domain_attributes.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go index 52116abf93..d3a99e7a89 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/schedule.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Represents a frequency at which to run a schedule. type FixedRateUnit int32 @@ -29,188 +29,212 @@ const ( FixedRateUnit_DAY FixedRateUnit = 2 ) -var FixedRateUnit_name = map[int32]string{ - 0: "MINUTE", - 1: "HOUR", - 2: "DAY", -} +// Enum value maps for FixedRateUnit. +var ( + FixedRateUnit_name = map[int32]string{ + 0: "MINUTE", + 1: "HOUR", + 2: "DAY", + } + FixedRateUnit_value = map[string]int32{ + "MINUTE": 0, + "HOUR": 1, + "DAY": 2, + } +) -var FixedRateUnit_value = map[string]int32{ - "MINUTE": 0, - "HOUR": 1, - "DAY": 2, +func (x FixedRateUnit) Enum() *FixedRateUnit { + p := new(FixedRateUnit) + *p = x + return p } func (x FixedRateUnit) String() string { - return proto.EnumName(FixedRateUnit_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (FixedRateUnit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a71cf75647fcd25a, []int{0} +func (FixedRateUnit) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_admin_schedule_proto_enumTypes[0].Descriptor() } -// Option for schedules run at a certain frequency e.g. every 2 minutes. -type FixedRate struct { - Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - Unit FixedRateUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=flyteidl.admin.FixedRateUnit" json:"unit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (FixedRateUnit) Type() protoreflect.EnumType { + return &file_flyteidl_admin_schedule_proto_enumTypes[0] } -func (m *FixedRate) Reset() { *m = FixedRate{} } -func (m *FixedRate) String() string { return proto.CompactTextString(m) } -func (*FixedRate) ProtoMessage() {} -func (*FixedRate) Descriptor() ([]byte, []int) { - return fileDescriptor_a71cf75647fcd25a, []int{0} +func (x FixedRateUnit) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *FixedRate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FixedRate.Unmarshal(m, b) +// Deprecated: Use FixedRateUnit.Descriptor instead. +func (FixedRateUnit) EnumDescriptor() ([]byte, []int) { + return file_flyteidl_admin_schedule_proto_rawDescGZIP(), []int{0} } -func (m *FixedRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FixedRate.Marshal(b, m, deterministic) + +// Option for schedules run at a certain frequency e.g. every 2 minutes. +type FixedRate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + Unit FixedRateUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=flyteidl.admin.FixedRateUnit" json:"unit,omitempty"` } -func (m *FixedRate) XXX_Merge(src proto.Message) { - xxx_messageInfo_FixedRate.Merge(m, src) + +func (x *FixedRate) Reset() { + *x = FixedRate{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_schedule_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FixedRate) XXX_Size() int { - return xxx_messageInfo_FixedRate.Size(m) + +func (x *FixedRate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FixedRate) XXX_DiscardUnknown() { - xxx_messageInfo_FixedRate.DiscardUnknown(m) + +func (*FixedRate) ProtoMessage() {} + +func (x *FixedRate) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_schedule_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FixedRate proto.InternalMessageInfo +// Deprecated: Use FixedRate.ProtoReflect.Descriptor instead. +func (*FixedRate) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_schedule_proto_rawDescGZIP(), []int{0} +} -func (m *FixedRate) GetValue() uint32 { - if m != nil { - return m.Value +func (x *FixedRate) GetValue() uint32 { + if x != nil { + return x.Value } return 0 } -func (m *FixedRate) GetUnit() FixedRateUnit { - if m != nil { - return m.Unit +func (x *FixedRate) GetUnit() FixedRateUnit { + if x != nil { + return x.Unit } return FixedRateUnit_MINUTE } // Options for schedules to run according to a cron expression. type CronSchedule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression; // Also supports nonstandard predefined scheduling definitions // as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions // except @reboot Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` // ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations - Offset string `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Offset string `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"` } -func (m *CronSchedule) Reset() { *m = CronSchedule{} } -func (m *CronSchedule) String() string { return proto.CompactTextString(m) } -func (*CronSchedule) ProtoMessage() {} -func (*CronSchedule) Descriptor() ([]byte, []int) { - return fileDescriptor_a71cf75647fcd25a, []int{1} +func (x *CronSchedule) Reset() { + *x = CronSchedule{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_schedule_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CronSchedule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CronSchedule.Unmarshal(m, b) -} -func (m *CronSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CronSchedule.Marshal(b, m, deterministic) +func (x *CronSchedule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CronSchedule) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronSchedule.Merge(m, src) -} -func (m *CronSchedule) XXX_Size() int { - return xxx_messageInfo_CronSchedule.Size(m) -} -func (m *CronSchedule) XXX_DiscardUnknown() { - xxx_messageInfo_CronSchedule.DiscardUnknown(m) + +func (*CronSchedule) ProtoMessage() {} + +func (x *CronSchedule) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_schedule_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CronSchedule proto.InternalMessageInfo +// Deprecated: Use CronSchedule.ProtoReflect.Descriptor instead. +func (*CronSchedule) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_schedule_proto_rawDescGZIP(), []int{1} +} -func (m *CronSchedule) GetSchedule() string { - if m != nil { - return m.Schedule +func (x *CronSchedule) GetSchedule() string { + if x != nil { + return x.Schedule } return "" } -func (m *CronSchedule) GetOffset() string { - if m != nil { - return m.Offset +func (x *CronSchedule) GetOffset() string { + if x != nil { + return x.Offset } return "" } // Defines complete set of information required to trigger an execution on a schedule. type Schedule struct { - // Types that are valid to be assigned to ScheduleExpression: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ScheduleExpression: + // // *Schedule_CronExpression // *Schedule_Rate // *Schedule_CronSchedule ScheduleExpression isSchedule_ScheduleExpression `protobuf_oneof:"ScheduleExpression"` // Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. - KickoffTimeInputArg string `protobuf:"bytes,3,opt,name=kickoff_time_input_arg,json=kickoffTimeInputArg,proto3" json:"kickoff_time_input_arg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KickoffTimeInputArg string `protobuf:"bytes,3,opt,name=kickoff_time_input_arg,json=kickoffTimeInputArg,proto3" json:"kickoff_time_input_arg,omitempty"` } -func (m *Schedule) Reset() { *m = Schedule{} } -func (m *Schedule) String() string { return proto.CompactTextString(m) } -func (*Schedule) ProtoMessage() {} -func (*Schedule) Descriptor() ([]byte, []int) { - return fileDescriptor_a71cf75647fcd25a, []int{2} +func (x *Schedule) Reset() { + *x = Schedule{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_schedule_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Schedule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Schedule.Unmarshal(m, b) -} -func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Schedule.Marshal(b, m, deterministic) -} -func (m *Schedule) XXX_Merge(src proto.Message) { - xxx_messageInfo_Schedule.Merge(m, src) -} -func (m *Schedule) XXX_Size() int { - return xxx_messageInfo_Schedule.Size(m) -} -func (m *Schedule) XXX_DiscardUnknown() { - xxx_messageInfo_Schedule.DiscardUnknown(m) +func (x *Schedule) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Schedule proto.InternalMessageInfo +func (*Schedule) ProtoMessage() {} -type isSchedule_ScheduleExpression interface { - isSchedule_ScheduleExpression() -} - -type Schedule_CronExpression struct { - CronExpression string `protobuf:"bytes,1,opt,name=cron_expression,json=cronExpression,proto3,oneof"` -} - -type Schedule_Rate struct { - Rate *FixedRate `protobuf:"bytes,2,opt,name=rate,proto3,oneof"` +func (x *Schedule) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_schedule_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type Schedule_CronSchedule struct { - CronSchedule *CronSchedule `protobuf:"bytes,4,opt,name=cron_schedule,json=cronSchedule,proto3,oneof"` +// Deprecated: Use Schedule.ProtoReflect.Descriptor instead. +func (*Schedule) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_schedule_proto_rawDescGZIP(), []int{2} } -func (*Schedule_CronExpression) isSchedule_ScheduleExpression() {} - -func (*Schedule_Rate) isSchedule_ScheduleExpression() {} - -func (*Schedule_CronSchedule) isSchedule_ScheduleExpression() {} - func (m *Schedule) GetScheduleExpression() isSchedule_ScheduleExpression { if m != nil { return m.ScheduleExpression @@ -218,76 +242,206 @@ func (m *Schedule) GetScheduleExpression() isSchedule_ScheduleExpression { return nil } -// Deprecated: Do not use. -func (m *Schedule) GetCronExpression() string { - if x, ok := m.GetScheduleExpression().(*Schedule_CronExpression); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/schedule.proto. +func (x *Schedule) GetCronExpression() string { + if x, ok := x.GetScheduleExpression().(*Schedule_CronExpression); ok { return x.CronExpression } return "" } -func (m *Schedule) GetRate() *FixedRate { - if x, ok := m.GetScheduleExpression().(*Schedule_Rate); ok { +func (x *Schedule) GetRate() *FixedRate { + if x, ok := x.GetScheduleExpression().(*Schedule_Rate); ok { return x.Rate } return nil } -func (m *Schedule) GetCronSchedule() *CronSchedule { - if x, ok := m.GetScheduleExpression().(*Schedule_CronSchedule); ok { +func (x *Schedule) GetCronSchedule() *CronSchedule { + if x, ok := x.GetScheduleExpression().(*Schedule_CronSchedule); ok { return x.CronSchedule } return nil } -func (m *Schedule) GetKickoffTimeInputArg() string { - if m != nil { - return m.KickoffTimeInputArg +func (x *Schedule) GetKickoffTimeInputArg() string { + if x != nil { + return x.KickoffTimeInputArg } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Schedule) XXX_OneofWrappers() []interface{} { - return []interface{}{ +type isSchedule_ScheduleExpression interface { + isSchedule_ScheduleExpression() +} + +type Schedule_CronExpression struct { + // Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year + // e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? * + // + // Deprecated: Marked as deprecated in flyteidl/admin/schedule.proto. + CronExpression string `protobuf:"bytes,1,opt,name=cron_expression,json=cronExpression,proto3,oneof"` +} + +type Schedule_Rate struct { + Rate *FixedRate `protobuf:"bytes,2,opt,name=rate,proto3,oneof"` +} + +type Schedule_CronSchedule struct { + CronSchedule *CronSchedule `protobuf:"bytes,4,opt,name=cron_schedule,json=cronSchedule,proto3,oneof"` +} + +func (*Schedule_CronExpression) isSchedule_ScheduleExpression() {} + +func (*Schedule_Rate) isSchedule_ScheduleExpression() {} + +func (*Schedule_CronSchedule) isSchedule_ScheduleExpression() {} + +var File_flyteidl_admin_schedule_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_schedule_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x22, + 0x54, 0x0a, 0x09, 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x52, + 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x42, 0x0a, 0x0c, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0xfa, 0x01, 0x0a, 0x08, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x0f, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x65, + 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x04, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x04, 0x72, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x0d, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x43, + 0x72, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x63, + 0x72, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6b, + 0x69, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x5f, 0x61, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6b, 0x69, 0x63, + 0x6b, 0x6f, 0x66, 0x66, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x72, 0x67, + 0x42, 0x14, 0x0a, 0x12, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2a, 0x2e, 0x0a, 0x0d, 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, + 0x61, 0x74, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x49, 0x4e, 0x55, 0x54, + 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x55, 0x52, 0x10, 0x01, 0x12, 0x07, 0x0a, + 0x03, 0x44, 0x41, 0x59, 0x10, 0x02, 0x42, 0xb9, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0d, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, + 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_schedule_proto_rawDescOnce sync.Once + file_flyteidl_admin_schedule_proto_rawDescData = file_flyteidl_admin_schedule_proto_rawDesc +) + +func file_flyteidl_admin_schedule_proto_rawDescGZIP() []byte { + file_flyteidl_admin_schedule_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_schedule_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_schedule_proto_rawDescData) + }) + return file_flyteidl_admin_schedule_proto_rawDescData +} + +var file_flyteidl_admin_schedule_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_admin_schedule_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flyteidl_admin_schedule_proto_goTypes = []interface{}{ + (FixedRateUnit)(0), // 0: flyteidl.admin.FixedRateUnit + (*FixedRate)(nil), // 1: flyteidl.admin.FixedRate + (*CronSchedule)(nil), // 2: flyteidl.admin.CronSchedule + (*Schedule)(nil), // 3: flyteidl.admin.Schedule +} +var file_flyteidl_admin_schedule_proto_depIdxs = []int32{ + 0, // 0: flyteidl.admin.FixedRate.unit:type_name -> flyteidl.admin.FixedRateUnit + 1, // 1: flyteidl.admin.Schedule.rate:type_name -> flyteidl.admin.FixedRate + 2, // 2: flyteidl.admin.Schedule.cron_schedule:type_name -> flyteidl.admin.CronSchedule + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_schedule_proto_init() } +func file_flyteidl_admin_schedule_proto_init() { + if File_flyteidl_admin_schedule_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_schedule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FixedRate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_schedule_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CronSchedule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_schedule_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Schedule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_schedule_proto_msgTypes[2].OneofWrappers = []interface{}{ (*Schedule_CronExpression)(nil), (*Schedule_Rate)(nil), (*Schedule_CronSchedule)(nil), } -} - -func init() { - proto.RegisterEnum("flyteidl.admin.FixedRateUnit", FixedRateUnit_name, FixedRateUnit_value) - proto.RegisterType((*FixedRate)(nil), "flyteidl.admin.FixedRate") - proto.RegisterType((*CronSchedule)(nil), "flyteidl.admin.CronSchedule") - proto.RegisterType((*Schedule)(nil), "flyteidl.admin.Schedule") -} - -func init() { proto.RegisterFile("flyteidl/admin/schedule.proto", fileDescriptor_a71cf75647fcd25a) } - -var fileDescriptor_a71cf75647fcd25a = []byte{ - // 361 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xc1, 0x8b, 0xda, 0x40, - 0x14, 0xc6, 0x13, 0x4d, 0xad, 0xbe, 0xaa, 0x95, 0xa9, 0x48, 0x5a, 0x2a, 0x88, 0x27, 0x29, 0x98, - 0x50, 0x3d, 0x96, 0x1e, 0x8c, 0xb5, 0xc4, 0x43, 0x5b, 0x98, 0xea, 0x61, 0xf7, 0x12, 0x62, 0x32, - 0x89, 0x83, 0xc9, 0x4c, 0x98, 0x4c, 0x16, 0xf7, 0x5f, 0xdf, 0xd3, 0xe2, 0x44, 0xb3, 0xba, 0xb0, - 0xb7, 0x79, 0x7c, 0xef, 0xfd, 0xde, 0xf7, 0x0d, 0x0f, 0x86, 0x51, 0xf2, 0x28, 0x09, 0x0d, 0x13, - 0xdb, 0x0f, 0x53, 0xca, 0xec, 0x3c, 0xd8, 0x93, 0xb0, 0x48, 0x88, 0x95, 0x09, 0x2e, 0x39, 0xea, - 0x5e, 0x64, 0x4b, 0xc9, 0xe3, 0x0d, 0xb4, 0x7e, 0xd3, 0x23, 0x09, 0xb1, 0x2f, 0x09, 0xea, 0xc3, - 0xbb, 0x07, 0x3f, 0x29, 0x88, 0xa9, 0x8f, 0xf4, 0x49, 0x07, 0x97, 0x05, 0xfa, 0x0e, 0x46, 0xc1, - 0xa8, 0x34, 0x6b, 0x23, 0x7d, 0xd2, 0x9d, 0x0d, 0xad, 0x5b, 0x82, 0x55, 0x8d, 0x6f, 0x19, 0x95, - 0x58, 0xb5, 0x8e, 0x1d, 0x68, 0x2f, 0x05, 0x67, 0xff, 0xcf, 0xbb, 0xd1, 0x17, 0x68, 0x5e, 0x7c, - 0x28, 0x76, 0x0b, 0x57, 0x35, 0x1a, 0x40, 0x83, 0x47, 0x51, 0x4e, 0xca, 0x05, 0x2d, 0x7c, 0xae, - 0xc6, 0x4f, 0x3a, 0x34, 0x2b, 0xc0, 0x14, 0x3e, 0x06, 0x82, 0x33, 0x8f, 0x1c, 0x33, 0x41, 0xf2, - 0x9c, 0x72, 0x56, 0x72, 0x9c, 0x9a, 0xa9, 0xbb, 0x1a, 0xee, 0x9e, 0xc4, 0x55, 0xa5, 0x21, 0x1b, - 0x0c, 0xe1, 0x4b, 0xa2, 0x88, 0x1f, 0x66, 0x9f, 0xdf, 0xb4, 0xec, 0x6a, 0x58, 0x35, 0xa2, 0x25, - 0x74, 0x14, 0xbf, 0x72, 0x69, 0xa8, 0xc9, 0xaf, 0xaf, 0x27, 0xaf, 0x53, 0xb9, 0x1a, 0x6e, 0x07, - 0xd7, 0x29, 0xe7, 0x30, 0x38, 0xd0, 0xe0, 0xc0, 0xa3, 0xc8, 0x93, 0x34, 0x25, 0x1e, 0x65, 0x59, - 0x21, 0x3d, 0x5f, 0xc4, 0x66, 0x5d, 0x25, 0xfb, 0x74, 0x56, 0x37, 0x34, 0x25, 0xeb, 0x93, 0xb6, - 0x10, 0xb1, 0xd3, 0x07, 0x74, 0x01, 0xbc, 0x04, 0xf8, 0x66, 0x41, 0xe7, 0xe6, 0x5f, 0x11, 0x40, - 0xe3, 0xcf, 0xfa, 0xef, 0x76, 0xb3, 0xea, 0x69, 0xa8, 0x09, 0x86, 0xfb, 0x6f, 0x8b, 0x7b, 0x3a, - 0x7a, 0x0f, 0xf5, 0x5f, 0x8b, 0xbb, 0x5e, 0xcd, 0xf9, 0x79, 0xff, 0x23, 0xa6, 0x72, 0x5f, 0xec, - 0xac, 0x80, 0xa7, 0xb6, 0x32, 0xcd, 0x45, 0x5c, 0x3e, 0xec, 0xea, 0x22, 0x62, 0xc2, 0xec, 0x6c, - 0x37, 0x8d, 0xb9, 0x7d, 0x7b, 0x24, 0xbb, 0x86, 0x3a, 0x8e, 0xf9, 0x73, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xab, 0xa0, 0xaf, 0x50, 0x3d, 0x02, 0x00, 0x00, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_schedule_proto_rawDesc, + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_schedule_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_schedule_proto_depIdxs, + EnumInfos: file_flyteidl_admin_schedule_proto_enumTypes, + MessageInfos: file_flyteidl_admin_schedule_proto_msgTypes, + }.Build() + File_flyteidl_admin_schedule_proto = out.File + file_flyteidl_admin_schedule_proto_rawDesc = nil + file_flyteidl_admin_schedule_proto_goTypes = nil + file_flyteidl_admin_schedule_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/schedule.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/schedule.swagger.json deleted file mode 100644 index 5891c05c04..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/schedule.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/schedule.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go index f71f6003ad..c5e2b634df 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.go @@ -1,73 +1,81 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/signal.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // SignalGetOrCreateRequest represents a request structure to retrieve or create a signal. // See :ref:`ref_flyteidl.admin.Signal` for more details type SignalGetOrCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A unique identifier for the requested signal. Id *core.SignalIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A type denoting the required value type for this signal. - Type *core.LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Type *core.LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` } -func (m *SignalGetOrCreateRequest) Reset() { *m = SignalGetOrCreateRequest{} } -func (m *SignalGetOrCreateRequest) String() string { return proto.CompactTextString(m) } -func (*SignalGetOrCreateRequest) ProtoMessage() {} -func (*SignalGetOrCreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b1c2d4aa3794afa, []int{0} +func (x *SignalGetOrCreateRequest) Reset() { + *x = SignalGetOrCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_signal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignalGetOrCreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalGetOrCreateRequest.Unmarshal(m, b) -} -func (m *SignalGetOrCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalGetOrCreateRequest.Marshal(b, m, deterministic) -} -func (m *SignalGetOrCreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalGetOrCreateRequest.Merge(m, src) -} -func (m *SignalGetOrCreateRequest) XXX_Size() int { - return xxx_messageInfo_SignalGetOrCreateRequest.Size(m) +func (x *SignalGetOrCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignalGetOrCreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SignalGetOrCreateRequest.DiscardUnknown(m) + +func (*SignalGetOrCreateRequest) ProtoMessage() {} + +func (x *SignalGetOrCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_signal_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SignalGetOrCreateRequest proto.InternalMessageInfo +// Deprecated: Use SignalGetOrCreateRequest.ProtoReflect.Descriptor instead. +func (*SignalGetOrCreateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_signal_proto_rawDescGZIP(), []int{0} +} -func (m *SignalGetOrCreateRequest) GetId() *core.SignalIdentifier { - if m != nil { - return m.Id +func (x *SignalGetOrCreateRequest) GetId() *core.SignalIdentifier { + if x != nil { + return x.Id } return nil } -func (m *SignalGetOrCreateRequest) GetType() *core.LiteralType { - if m != nil { - return m.Type +func (x *SignalGetOrCreateRequest) GetType() *core.LiteralType { + if x != nil { + return x.Type } return nil } @@ -75,6 +83,10 @@ func (m *SignalGetOrCreateRequest) GetType() *core.LiteralType { // SignalListRequest represents a request structure to retrieve a collection of signals. // See :ref:`ref_flyteidl.admin.Signal` for more details type SignalListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates the workflow execution to filter by. // +required WorkflowExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=workflow_execution_id,json=workflowExecutionId,proto3" json:"workflow_execution_id,omitempty"` @@ -90,68 +102,72 @@ type SignalListRequest struct { Filters string `protobuf:"bytes,4,opt,name=filters,proto3" json:"filters,omitempty"` // Sort ordering. // +optional - SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` } -func (m *SignalListRequest) Reset() { *m = SignalListRequest{} } -func (m *SignalListRequest) String() string { return proto.CompactTextString(m) } -func (*SignalListRequest) ProtoMessage() {} -func (*SignalListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b1c2d4aa3794afa, []int{1} +func (x *SignalListRequest) Reset() { + *x = SignalListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_signal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignalListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalListRequest.Unmarshal(m, b) -} -func (m *SignalListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalListRequest.Marshal(b, m, deterministic) +func (x *SignalListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignalListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalListRequest.Merge(m, src) -} -func (m *SignalListRequest) XXX_Size() int { - return xxx_messageInfo_SignalListRequest.Size(m) -} -func (m *SignalListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SignalListRequest.DiscardUnknown(m) + +func (*SignalListRequest) ProtoMessage() {} + +func (x *SignalListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_signal_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SignalListRequest proto.InternalMessageInfo +// Deprecated: Use SignalListRequest.ProtoReflect.Descriptor instead. +func (*SignalListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_signal_proto_rawDescGZIP(), []int{1} +} -func (m *SignalListRequest) GetWorkflowExecutionId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.WorkflowExecutionId +func (x *SignalListRequest) GetWorkflowExecutionId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.WorkflowExecutionId } return nil } -func (m *SignalListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *SignalListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *SignalListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *SignalListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *SignalListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *SignalListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *SignalListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *SignalListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } @@ -159,51 +175,59 @@ func (m *SignalListRequest) GetSortBy() *Sort { // SignalList represents collection of signals along with the token of the last result. // See :ref:`ref_flyteidl.admin.Signal` for more details type SignalList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of signals matching the input filters. Signals []*Signal `protobuf:"bytes,1,rep,name=signals,proto3" json:"signals,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *SignalList) Reset() { *m = SignalList{} } -func (m *SignalList) String() string { return proto.CompactTextString(m) } -func (*SignalList) ProtoMessage() {} -func (*SignalList) Descriptor() ([]byte, []int) { - return fileDescriptor_4b1c2d4aa3794afa, []int{2} +func (x *SignalList) Reset() { + *x = SignalList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_signal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignalList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalList.Unmarshal(m, b) -} -func (m *SignalList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalList.Marshal(b, m, deterministic) -} -func (m *SignalList) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalList.Merge(m, src) +func (x *SignalList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignalList) XXX_Size() int { - return xxx_messageInfo_SignalList.Size(m) -} -func (m *SignalList) XXX_DiscardUnknown() { - xxx_messageInfo_SignalList.DiscardUnknown(m) + +func (*SignalList) ProtoMessage() {} + +func (x *SignalList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_signal_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SignalList proto.InternalMessageInfo +// Deprecated: Use SignalList.ProtoReflect.Descriptor instead. +func (*SignalList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_signal_proto_rawDescGZIP(), []int{2} +} -func (m *SignalList) GetSignals() []*Signal { - if m != nil { - return m.Signals +func (x *SignalList) GetSignals() []*Signal { + if x != nil { + return x.Signals } return nil } -func (m *SignalList) GetToken() string { - if m != nil { - return m.Token +func (x *SignalList) GetToken() string { + if x != nil { + return x.Token } return "" } @@ -212,186 +236,385 @@ func (m *SignalList) GetToken() string { // effetively satisfies the signal condition within a Flyte workflow. // See :ref:`ref_flyteidl.admin.Signal` for more details type SignalSetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A unique identifier for the requested signal. Id *core.SignalIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The value of this signal, must match the defining signal type. - Value *core.Literal `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value *core.Literal `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *SignalSetRequest) Reset() { *m = SignalSetRequest{} } -func (m *SignalSetRequest) String() string { return proto.CompactTextString(m) } -func (*SignalSetRequest) ProtoMessage() {} -func (*SignalSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b1c2d4aa3794afa, []int{3} +func (x *SignalSetRequest) Reset() { + *x = SignalSetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_signal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignalSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalSetRequest.Unmarshal(m, b) -} -func (m *SignalSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalSetRequest.Marshal(b, m, deterministic) -} -func (m *SignalSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalSetRequest.Merge(m, src) +func (x *SignalSetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignalSetRequest) XXX_Size() int { - return xxx_messageInfo_SignalSetRequest.Size(m) -} -func (m *SignalSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SignalSetRequest.DiscardUnknown(m) + +func (*SignalSetRequest) ProtoMessage() {} + +func (x *SignalSetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_signal_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SignalSetRequest proto.InternalMessageInfo +// Deprecated: Use SignalSetRequest.ProtoReflect.Descriptor instead. +func (*SignalSetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_signal_proto_rawDescGZIP(), []int{3} +} -func (m *SignalSetRequest) GetId() *core.SignalIdentifier { - if m != nil { - return m.Id +func (x *SignalSetRequest) GetId() *core.SignalIdentifier { + if x != nil { + return x.Id } return nil } -func (m *SignalSetRequest) GetValue() *core.Literal { - if m != nil { - return m.Value +func (x *SignalSetRequest) GetValue() *core.Literal { + if x != nil { + return x.Value } return nil } // SignalSetResponse represents a response structure if signal setting succeeds. type SignalSetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SignalSetResponse) Reset() { *m = SignalSetResponse{} } -func (m *SignalSetResponse) String() string { return proto.CompactTextString(m) } -func (*SignalSetResponse) ProtoMessage() {} -func (*SignalSetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4b1c2d4aa3794afa, []int{4} +func (x *SignalSetResponse) Reset() { + *x = SignalSetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_signal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignalSetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalSetResponse.Unmarshal(m, b) -} -func (m *SignalSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalSetResponse.Marshal(b, m, deterministic) +func (x *SignalSetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignalSetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalSetResponse.Merge(m, src) -} -func (m *SignalSetResponse) XXX_Size() int { - return xxx_messageInfo_SignalSetResponse.Size(m) -} -func (m *SignalSetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SignalSetResponse.DiscardUnknown(m) + +func (*SignalSetResponse) ProtoMessage() {} + +func (x *SignalSetResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_signal_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SignalSetResponse proto.InternalMessageInfo +// Deprecated: Use SignalSetResponse.ProtoReflect.Descriptor instead. +func (*SignalSetResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_signal_proto_rawDescGZIP(), []int{4} +} // Signal encapsulates a unique identifier, associated metadata, and a value for a single Flyte // signal. Signals may exist either without a set value (representing a signal request) or with a // populated value (indicating the signal has been given). type Signal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A unique identifier for the requested signal. Id *core.SignalIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A type denoting the required value type for this signal. Type *core.LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The value of the signal. This is only available if the signal has been "set" and must match // the defined the type. - Value *core.Literal `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value *core.Literal `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` } -func (m *Signal) Reset() { *m = Signal{} } -func (m *Signal) String() string { return proto.CompactTextString(m) } -func (*Signal) ProtoMessage() {} -func (*Signal) Descriptor() ([]byte, []int) { - return fileDescriptor_4b1c2d4aa3794afa, []int{5} +func (x *Signal) Reset() { + *x = Signal{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_signal_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Signal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Signal.Unmarshal(m, b) -} -func (m *Signal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Signal.Marshal(b, m, deterministic) -} -func (m *Signal) XXX_Merge(src proto.Message) { - xxx_messageInfo_Signal.Merge(m, src) -} -func (m *Signal) XXX_Size() int { - return xxx_messageInfo_Signal.Size(m) +func (x *Signal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Signal) XXX_DiscardUnknown() { - xxx_messageInfo_Signal.DiscardUnknown(m) + +func (*Signal) ProtoMessage() {} + +func (x *Signal) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_signal_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Signal proto.InternalMessageInfo +// Deprecated: Use Signal.ProtoReflect.Descriptor instead. +func (*Signal) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_signal_proto_rawDescGZIP(), []int{5} +} -func (m *Signal) GetId() *core.SignalIdentifier { - if m != nil { - return m.Id +func (x *Signal) GetId() *core.SignalIdentifier { + if x != nil { + return x.Id } return nil } -func (m *Signal) GetType() *core.LiteralType { - if m != nil { - return m.Type +func (x *Signal) GetType() *core.LiteralType { + if x != nil { + return x.Type } return nil } -func (m *Signal) GetValue() *core.Literal { - if m != nil { - return m.Value +func (x *Signal) GetValue() *core.Literal { + if x != nil { + return x.Value } return nil } -func init() { - proto.RegisterType((*SignalGetOrCreateRequest)(nil), "flyteidl.admin.SignalGetOrCreateRequest") - proto.RegisterType((*SignalListRequest)(nil), "flyteidl.admin.SignalListRequest") - proto.RegisterType((*SignalList)(nil), "flyteidl.admin.SignalList") - proto.RegisterType((*SignalSetRequest)(nil), "flyteidl.admin.SignalSetRequest") - proto.RegisterType((*SignalSetResponse)(nil), "flyteidl.admin.SignalSetResponse") - proto.RegisterType((*Signal)(nil), "flyteidl.admin.Signal") -} - -func init() { proto.RegisterFile("flyteidl/admin/signal.proto", fileDescriptor_4b1c2d4aa3794afa) } - -var fileDescriptor_4b1c2d4aa3794afa = []byte{ - // 432 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xd1, 0x8a, 0x13, 0x31, - 0x14, 0x86, 0x99, 0x76, 0xdb, 0x62, 0x16, 0x45, 0x67, 0xd7, 0x25, 0x56, 0xd1, 0x32, 0x57, 0x45, - 0xdc, 0x44, 0xd6, 0x4b, 0xf1, 0x66, 0x45, 0x44, 0x58, 0x10, 0xd2, 0x05, 0xc1, 0x0b, 0xcb, 0xb4, - 0x73, 0x3a, 0x86, 0xcd, 0x24, 0xb3, 0xc9, 0xa9, 0x75, 0xf0, 0x41, 0x7c, 0x45, 0x1f, 0x43, 0x9a, - 0xcc, 0x4c, 0x77, 0xba, 0x5e, 0x88, 0xe0, 0xdd, 0xe4, 0xfc, 0xff, 0x39, 0xf9, 0x86, 0x3f, 0x87, - 0x3c, 0x5e, 0xa9, 0x0a, 0x41, 0x66, 0x8a, 0xa7, 0x59, 0x21, 0x35, 0x77, 0x32, 0xd7, 0xa9, 0x62, - 0xa5, 0x35, 0x68, 0xe2, 0x7b, 0x8d, 0xc8, 0xbc, 0x38, 0xde, 0x37, 0x2f, 0x4d, 0x51, 0x18, 0x1d, - 0xcc, 0xe3, 0xa7, 0xad, 0xb8, 0x34, 0x16, 0xb8, 0xcc, 0x40, 0xa3, 0x5c, 0x49, 0xb0, 0xb5, 0xfe, - 0xa4, 0xab, 0x2b, 0x89, 0x60, 0x53, 0xe5, 0x6a, 0xf5, 0x51, 0x57, 0xc5, 0xaa, 0x84, 0x5a, 0x4a, - 0x7e, 0x10, 0x3a, 0xf3, 0x54, 0xef, 0x01, 0x3f, 0xda, 0xb7, 0x16, 0x52, 0x04, 0x01, 0xd7, 0x6b, - 0x70, 0x18, 0x73, 0xd2, 0x93, 0x19, 0x8d, 0x26, 0xd1, 0xf4, 0xf0, 0xec, 0x19, 0x6b, 0x71, 0xb7, - 0x33, 0x58, 0x68, 0xfa, 0xd0, 0x72, 0x88, 0x9e, 0xcc, 0x62, 0x46, 0x0e, 0xb6, 0xb3, 0x69, 0xcf, - 0xb7, 0x8c, 0xf7, 0x5a, 0x2e, 0x02, 0xd4, 0x65, 0x55, 0x82, 0xf0, 0xbe, 0xe4, 0x57, 0x44, 0x1e, - 0x84, 0x41, 0x17, 0xd2, 0x61, 0x73, 0xed, 0x17, 0xf2, 0x70, 0x63, 0xec, 0xd5, 0x4a, 0x99, 0xcd, - 0x1c, 0xbe, 0xc3, 0x72, 0x8d, 0xd2, 0xe8, 0x79, 0x4b, 0xf2, 0x7c, 0x6f, 0xec, 0xa7, 0xda, 0xfb, - 0xae, 0xb1, 0xde, 0x80, 0x3a, 0xda, 0xdc, 0x16, 0xe3, 0x63, 0x32, 0x50, 0xb2, 0x90, 0xe8, 0x31, - 0xef, 0x8a, 0x70, 0xd8, 0x56, 0xd1, 0x5c, 0x81, 0xa6, 0xfd, 0x49, 0x34, 0xbd, 0x23, 0xc2, 0x21, - 0xa6, 0x64, 0xb4, 0x92, 0x0a, 0xc1, 0x3a, 0x7a, 0xe0, 0xeb, 0xcd, 0x31, 0x3e, 0x25, 0x23, 0x67, - 0x2c, 0xce, 0x17, 0x15, 0x1d, 0x78, 0xae, 0x63, 0xd6, 0x0d, 0x94, 0xcd, 0x8c, 0x45, 0x31, 0xdc, - 0x9a, 0xce, 0xab, 0xe4, 0x92, 0x90, 0xdd, 0x9f, 0xc6, 0x2f, 0xc9, 0x28, 0xbc, 0x05, 0x47, 0xa3, - 0x49, 0x7f, 0x7a, 0x78, 0x76, 0x72, 0xab, 0xd9, 0xcb, 0xa2, 0xb1, 0xed, 0xf0, 0x7a, 0x37, 0xf0, - 0x92, 0x6b, 0x72, 0x3f, 0x18, 0x67, 0x80, 0xff, 0x9c, 0xda, 0x0b, 0x32, 0xf8, 0x96, 0xaa, 0x75, - 0x13, 0xdb, 0xc9, 0x9f, 0x63, 0x13, 0xc1, 0x94, 0x1c, 0x35, 0x91, 0xf9, 0x2b, 0x5d, 0x69, 0xb4, - 0x83, 0xe4, 0x67, 0x44, 0x86, 0xa1, 0xfa, 0xdf, 0x1f, 0xcd, 0x0e, 0xb7, 0xff, 0x17, 0xb8, 0xe7, - 0x6f, 0x3e, 0xbf, 0xce, 0x25, 0x7e, 0x5d, 0x2f, 0xd8, 0xd2, 0x14, 0xdc, 0x5b, 0x8d, 0xcd, 0xc3, - 0x07, 0x6f, 0xd7, 0x22, 0x07, 0xcd, 0xcb, 0xc5, 0x69, 0x6e, 0x78, 0x77, 0x09, 0x17, 0x43, 0xbf, - 0x25, 0xaf, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x5e, 0xa5, 0xbf, 0xca, 0x03, 0x00, 0x00, +var File_flyteidl_admin_signal_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_signal_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1b, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x18, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x47, 0x65, 0x74, + 0x4f, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2f, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, + 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x22, 0xe8, 0x01, 0x0a, 0x11, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x15, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x13, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x07, + 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, + 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x22, 0x54, 0x0a, 0x0a, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x52, 0x07, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x71, 0x0a, 0x10, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x06, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x42, 0xb7, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0b, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, + 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_signal_proto_rawDescOnce sync.Once + file_flyteidl_admin_signal_proto_rawDescData = file_flyteidl_admin_signal_proto_rawDesc +) + +func file_flyteidl_admin_signal_proto_rawDescGZIP() []byte { + file_flyteidl_admin_signal_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_signal_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_signal_proto_rawDescData) + }) + return file_flyteidl_admin_signal_proto_rawDescData +} + +var file_flyteidl_admin_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_flyteidl_admin_signal_proto_goTypes = []interface{}{ + (*SignalGetOrCreateRequest)(nil), // 0: flyteidl.admin.SignalGetOrCreateRequest + (*SignalListRequest)(nil), // 1: flyteidl.admin.SignalListRequest + (*SignalList)(nil), // 2: flyteidl.admin.SignalList + (*SignalSetRequest)(nil), // 3: flyteidl.admin.SignalSetRequest + (*SignalSetResponse)(nil), // 4: flyteidl.admin.SignalSetResponse + (*Signal)(nil), // 5: flyteidl.admin.Signal + (*core.SignalIdentifier)(nil), // 6: flyteidl.core.SignalIdentifier + (*core.LiteralType)(nil), // 7: flyteidl.core.LiteralType + (*core.WorkflowExecutionIdentifier)(nil), // 8: flyteidl.core.WorkflowExecutionIdentifier + (*Sort)(nil), // 9: flyteidl.admin.Sort + (*core.Literal)(nil), // 10: flyteidl.core.Literal +} +var file_flyteidl_admin_signal_proto_depIdxs = []int32{ + 6, // 0: flyteidl.admin.SignalGetOrCreateRequest.id:type_name -> flyteidl.core.SignalIdentifier + 7, // 1: flyteidl.admin.SignalGetOrCreateRequest.type:type_name -> flyteidl.core.LiteralType + 8, // 2: flyteidl.admin.SignalListRequest.workflow_execution_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 9, // 3: flyteidl.admin.SignalListRequest.sort_by:type_name -> flyteidl.admin.Sort + 5, // 4: flyteidl.admin.SignalList.signals:type_name -> flyteidl.admin.Signal + 6, // 5: flyteidl.admin.SignalSetRequest.id:type_name -> flyteidl.core.SignalIdentifier + 10, // 6: flyteidl.admin.SignalSetRequest.value:type_name -> flyteidl.core.Literal + 6, // 7: flyteidl.admin.Signal.id:type_name -> flyteidl.core.SignalIdentifier + 7, // 8: flyteidl.admin.Signal.type:type_name -> flyteidl.core.LiteralType + 10, // 9: flyteidl.admin.Signal.value:type_name -> flyteidl.core.Literal + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_signal_proto_init() } +func file_flyteidl_admin_signal_proto_init() { + if File_flyteidl_admin_signal_proto != nil { + return + } + file_flyteidl_admin_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_signal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalGetOrCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_signal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_signal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_signal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalSetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_signal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_signal_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Signal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_signal_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_signal_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_signal_proto_depIdxs, + MessageInfos: file_flyteidl_admin_signal_proto_msgTypes, + }.Build() + File_flyteidl_admin_signal_proto = out.File + file_flyteidl_admin_signal_proto_rawDesc = nil + file_flyteidl_admin_signal_proto_goTypes = nil + file_flyteidl_admin_signal_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/signal.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/signal.swagger.json deleted file mode 100644 index 968dff5b23..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/signal.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/signal.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go index 6125274763..e2f74db35d 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/task.pb.go @@ -1,169 +1,192 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/task.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Represents a request structure to create a revision of a task. // See :ref:`ref_flyteidl.admin.Task` for more details type TaskCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the task. // +required Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Represents the specification for task. // +required - Spec *TaskSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec *TaskSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *TaskCreateRequest) Reset() { *m = TaskCreateRequest{} } -func (m *TaskCreateRequest) String() string { return proto.CompactTextString(m) } -func (*TaskCreateRequest) ProtoMessage() {} -func (*TaskCreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9204120d588b2162, []int{0} +func (x *TaskCreateRequest) Reset() { + *x = TaskCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskCreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskCreateRequest.Unmarshal(m, b) +func (x *TaskCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskCreateRequest.Marshal(b, m, deterministic) -} -func (m *TaskCreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskCreateRequest.Merge(m, src) -} -func (m *TaskCreateRequest) XXX_Size() int { - return xxx_messageInfo_TaskCreateRequest.Size(m) -} -func (m *TaskCreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskCreateRequest.DiscardUnknown(m) + +func (*TaskCreateRequest) ProtoMessage() {} + +func (x *TaskCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskCreateRequest proto.InternalMessageInfo +// Deprecated: Use TaskCreateRequest.ProtoReflect.Descriptor instead. +func (*TaskCreateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_proto_rawDescGZIP(), []int{0} +} -func (m *TaskCreateRequest) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *TaskCreateRequest) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *TaskCreateRequest) GetSpec() *TaskSpec { - if m != nil { - return m.Spec +func (x *TaskCreateRequest) GetSpec() *TaskSpec { + if x != nil { + return x.Spec } return nil } // Represents a response structure if task creation succeeds. type TaskCreateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *TaskCreateResponse) Reset() { *m = TaskCreateResponse{} } -func (m *TaskCreateResponse) String() string { return proto.CompactTextString(m) } -func (*TaskCreateResponse) ProtoMessage() {} -func (*TaskCreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9204120d588b2162, []int{1} +func (x *TaskCreateResponse) Reset() { + *x = TaskCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskCreateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskCreateResponse.Unmarshal(m, b) -} -func (m *TaskCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskCreateResponse.Marshal(b, m, deterministic) -} -func (m *TaskCreateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskCreateResponse.Merge(m, src) -} -func (m *TaskCreateResponse) XXX_Size() int { - return xxx_messageInfo_TaskCreateResponse.Size(m) +func (x *TaskCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskCreateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TaskCreateResponse.DiscardUnknown(m) + +func (*TaskCreateResponse) ProtoMessage() {} + +func (x *TaskCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskCreateResponse proto.InternalMessageInfo +// Deprecated: Use TaskCreateResponse.ProtoReflect.Descriptor instead. +func (*TaskCreateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_proto_rawDescGZIP(), []int{1} +} // Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks // arranged to process workflow inputs and produce a deterministic set of outputs. // Tasks can come in many varieties tuned for specialized behavior. type Task struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the task. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // closure encapsulates all the fields that maps to a compiled version of the task. Closure *TaskClosure `protobuf:"bytes,2,opt,name=closure,proto3" json:"closure,omitempty"` // One-liner overview of the entity. - ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` } -func (m *Task) Reset() { *m = Task{} } -func (m *Task) String() string { return proto.CompactTextString(m) } -func (*Task) ProtoMessage() {} -func (*Task) Descriptor() ([]byte, []int) { - return fileDescriptor_9204120d588b2162, []int{2} +func (x *Task) Reset() { + *x = Task{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Task) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Task.Unmarshal(m, b) -} -func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Task.Marshal(b, m, deterministic) +func (x *Task) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Task) XXX_Merge(src proto.Message) { - xxx_messageInfo_Task.Merge(m, src) -} -func (m *Task) XXX_Size() int { - return xxx_messageInfo_Task.Size(m) -} -func (m *Task) XXX_DiscardUnknown() { - xxx_messageInfo_Task.DiscardUnknown(m) + +func (*Task) ProtoMessage() {} + +func (x *Task) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Task proto.InternalMessageInfo +// Deprecated: Use Task.ProtoReflect.Descriptor instead. +func (*Task) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_proto_rawDescGZIP(), []int{2} +} -func (m *Task) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *Task) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *Task) GetClosure() *TaskClosure { - if m != nil { - return m.Closure +func (x *Task) GetClosure() *TaskClosure { + if x != nil { + return x.Closure } return nil } -func (m *Task) GetShortDescription() string { - if m != nil { - return m.ShortDescription +func (x *Task) GetShortDescription() string { + if x != nil { + return x.ShortDescription } return "" } @@ -171,101 +194,117 @@ func (m *Task) GetShortDescription() string { // Represents a list of tasks returned from the admin. // See :ref:`ref_flyteidl.admin.Task` for more details type TaskList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of tasks returned based on the request. Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *TaskList) Reset() { *m = TaskList{} } -func (m *TaskList) String() string { return proto.CompactTextString(m) } -func (*TaskList) ProtoMessage() {} -func (*TaskList) Descriptor() ([]byte, []int) { - return fileDescriptor_9204120d588b2162, []int{3} +func (x *TaskList) Reset() { + *x = TaskList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskList.Unmarshal(m, b) -} -func (m *TaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskList.Marshal(b, m, deterministic) -} -func (m *TaskList) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskList.Merge(m, src) +func (x *TaskList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskList) XXX_Size() int { - return xxx_messageInfo_TaskList.Size(m) -} -func (m *TaskList) XXX_DiscardUnknown() { - xxx_messageInfo_TaskList.DiscardUnknown(m) + +func (*TaskList) ProtoMessage() {} + +func (x *TaskList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskList proto.InternalMessageInfo +// Deprecated: Use TaskList.ProtoReflect.Descriptor instead. +func (*TaskList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_proto_rawDescGZIP(), []int{3} +} -func (m *TaskList) GetTasks() []*Task { - if m != nil { - return m.Tasks +func (x *TaskList) GetTasks() []*Task { + if x != nil { + return x.Tasks } return nil } -func (m *TaskList) GetToken() string { - if m != nil { - return m.Token +func (x *TaskList) GetToken() string { + if x != nil { + return x.Token } return "" } // Represents a structure that encapsulates the user-configured specification of the task. type TaskSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Template of the task that encapsulates all the metadata of the task. Template *core.TaskTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // Represents the specification for description entity. - Description *DescriptionEntity `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description *DescriptionEntity `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` } -func (m *TaskSpec) Reset() { *m = TaskSpec{} } -func (m *TaskSpec) String() string { return proto.CompactTextString(m) } -func (*TaskSpec) ProtoMessage() {} -func (*TaskSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_9204120d588b2162, []int{4} +func (x *TaskSpec) Reset() { + *x = TaskSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskSpec.Unmarshal(m, b) -} -func (m *TaskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskSpec.Marshal(b, m, deterministic) -} -func (m *TaskSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskSpec.Merge(m, src) +func (x *TaskSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskSpec) XXX_Size() int { - return xxx_messageInfo_TaskSpec.Size(m) -} -func (m *TaskSpec) XXX_DiscardUnknown() { - xxx_messageInfo_TaskSpec.DiscardUnknown(m) + +func (*TaskSpec) ProtoMessage() {} + +func (x *TaskSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskSpec proto.InternalMessageInfo +// Deprecated: Use TaskSpec.ProtoReflect.Descriptor instead. +func (*TaskSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_proto_rawDescGZIP(), []int{4} +} -func (m *TaskSpec) GetTemplate() *core.TaskTemplate { - if m != nil { - return m.Template +func (x *TaskSpec) GetTemplate() *core.TaskTemplate { + if x != nil { + return x.Template } return nil } -func (m *TaskSpec) GetDescription() *DescriptionEntity { - if m != nil { - return m.Description +func (x *TaskSpec) GetDescription() *DescriptionEntity { + if x != nil { + return x.Description } return nil } @@ -273,94 +312,271 @@ func (m *TaskSpec) GetDescription() *DescriptionEntity { // Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data // and task metadata. type TaskClosure struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Represents the compiled representation of the task from the specification provided. CompiledTask *core.CompiledTask `protobuf:"bytes,1,opt,name=compiled_task,json=compiledTask,proto3" json:"compiled_task,omitempty"` // Time at which the task was created. - CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` } -func (m *TaskClosure) Reset() { *m = TaskClosure{} } -func (m *TaskClosure) String() string { return proto.CompactTextString(m) } -func (*TaskClosure) ProtoMessage() {} -func (*TaskClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_9204120d588b2162, []int{5} +func (x *TaskClosure) Reset() { + *x = TaskClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskClosure.Unmarshal(m, b) +func (x *TaskClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskClosure.Marshal(b, m, deterministic) -} -func (m *TaskClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskClosure.Merge(m, src) -} -func (m *TaskClosure) XXX_Size() int { - return xxx_messageInfo_TaskClosure.Size(m) -} -func (m *TaskClosure) XXX_DiscardUnknown() { - xxx_messageInfo_TaskClosure.DiscardUnknown(m) + +func (*TaskClosure) ProtoMessage() {} + +func (x *TaskClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskClosure proto.InternalMessageInfo +// Deprecated: Use TaskClosure.ProtoReflect.Descriptor instead. +func (*TaskClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_proto_rawDescGZIP(), []int{5} +} -func (m *TaskClosure) GetCompiledTask() *core.CompiledTask { - if m != nil { - return m.CompiledTask +func (x *TaskClosure) GetCompiledTask() *core.CompiledTask { + if x != nil { + return x.CompiledTask } return nil } -func (m *TaskClosure) GetCreatedAt() *timestamp.Timestamp { - if m != nil { - return m.CreatedAt +func (x *TaskClosure) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt } return nil } -func init() { - proto.RegisterType((*TaskCreateRequest)(nil), "flyteidl.admin.TaskCreateRequest") - proto.RegisterType((*TaskCreateResponse)(nil), "flyteidl.admin.TaskCreateResponse") - proto.RegisterType((*Task)(nil), "flyteidl.admin.Task") - proto.RegisterType((*TaskList)(nil), "flyteidl.admin.TaskList") - proto.RegisterType((*TaskSpec)(nil), "flyteidl.admin.TaskSpec") - proto.RegisterType((*TaskClosure)(nil), "flyteidl.admin.TaskClosure") -} - -func init() { proto.RegisterFile("flyteidl/admin/task.proto", fileDescriptor_9204120d588b2162) } - -var fileDescriptor_9204120d588b2162 = []byte{ - // 457 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0x8f, 0xd3, 0x30, - 0x10, 0xc5, 0x95, 0xee, 0x2e, 0x6c, 0x5d, 0x40, 0xac, 0xd5, 0x43, 0xdb, 0x45, 0x50, 0x72, 0xa1, - 0xfc, 0xb3, 0xa5, 0x45, 0x08, 0x21, 0x84, 0x04, 0x14, 0x0e, 0x48, 0x7b, 0x32, 0x3d, 0x71, 0xa9, - 0x52, 0x67, 0x9a, 0xb5, 0x9a, 0xc4, 0x26, 0x9e, 0x1e, 0xf6, 0x1b, 0x20, 0xee, 0x7c, 0x5f, 0xe4, - 0x3f, 0x0d, 0x69, 0xb5, 0x1c, 0xb8, 0xc5, 0x99, 0x9f, 0x67, 0xde, 0x1b, 0x3f, 0x32, 0x5e, 0x97, - 0xd7, 0x08, 0x2a, 0x2f, 0x79, 0x96, 0x57, 0xaa, 0xe6, 0x98, 0xd9, 0x0d, 0x33, 0x8d, 0x46, 0x4d, - 0xef, 0xed, 0x4a, 0xcc, 0x97, 0x26, 0x0f, 0x5b, 0x54, 0xea, 0x06, 0xb8, 0xca, 0xa1, 0x46, 0xb5, - 0x56, 0xd0, 0x04, 0x7e, 0x32, 0xde, 0xaf, 0xbb, 0x4e, 0x36, 0x96, 0x1e, 0xec, 0x97, 0xa4, 0xae, - 0x8c, 0x2a, 0xdb, 0x8b, 0x4f, 0x0e, 0x34, 0xe4, 0x60, 0x65, 0xa3, 0x0c, 0x2a, 0x5d, 0x2f, 0xdd, - 0x0c, 0xbc, 0x8e, 0xe0, 0xa3, 0x42, 0xeb, 0xa2, 0x04, 0xee, 0x4f, 0xab, 0xed, 0x9a, 0xa3, 0xaa, - 0xc0, 0x62, 0x56, 0x99, 0x00, 0xa4, 0x25, 0x39, 0x5b, 0x64, 0x76, 0x33, 0x6f, 0x20, 0x43, 0x10, - 0xf0, 0x63, 0x0b, 0x16, 0xe9, 0x53, 0xd2, 0x53, 0xf9, 0x28, 0x99, 0x26, 0xb3, 0xc1, 0xc5, 0x98, - 0xb5, 0xa6, 0x9c, 0x12, 0xf6, 0xb5, 0x35, 0x21, 0x7a, 0x2a, 0xa7, 0x2f, 0xc8, 0xb1, 0x35, 0x20, - 0x47, 0x3d, 0x0f, 0x8f, 0xd8, 0xfe, 0x06, 0x98, 0xeb, 0xfd, 0xcd, 0x80, 0x14, 0x9e, 0x4a, 0x87, - 0x84, 0x76, 0xa7, 0x59, 0xa3, 0x6b, 0x0b, 0xe9, 0xef, 0x84, 0x1c, 0xbb, 0xdf, 0xff, 0x33, 0xf7, - 0x35, 0xb9, 0x2d, 0x4b, 0x6d, 0xb7, 0x0d, 0xc4, 0xd1, 0xe7, 0x37, 0x8d, 0x9e, 0x07, 0x44, 0xec, - 0x58, 0xfa, 0x9c, 0x9c, 0xd9, 0x2b, 0xdd, 0xe0, 0xb2, 0xb3, 0xb1, 0xd1, 0xd1, 0x34, 0x99, 0xf5, - 0xc5, 0x7d, 0x5f, 0xf8, 0xfc, 0xf7, 0x7f, 0x7a, 0x49, 0x4e, 0x5d, 0x93, 0x4b, 0x65, 0x91, 0x3e, - 0x23, 0x27, 0xfe, 0x79, 0x46, 0xc9, 0xf4, 0x68, 0x36, 0xb8, 0x18, 0xde, 0x34, 0x4d, 0x04, 0x84, - 0x0e, 0xc9, 0x09, 0xea, 0x0d, 0xd4, 0x5e, 0x59, 0x5f, 0x84, 0x43, 0xfa, 0x33, 0x09, 0xed, 0xdc, - 0x3a, 0xe8, 0x1b, 0x72, 0x8a, 0x50, 0x99, 0x32, 0x43, 0x88, 0x7e, 0xcf, 0x0f, 0xfc, 0x3a, 0x74, - 0x11, 0x11, 0xd1, 0xc2, 0x74, 0x4e, 0x06, 0x5d, 0xe9, 0xc1, 0xfb, 0xe3, 0x43, 0x35, 0x1d, 0x17, - 0x5f, 0x7c, 0x1c, 0x44, 0xf7, 0x56, 0xfa, 0x2b, 0x21, 0x83, 0xce, 0x7a, 0xe8, 0x07, 0x72, 0x37, - 0x06, 0x2c, 0x5f, 0x3a, 0x0b, 0xff, 0x90, 0x34, 0x8f, 0x8c, 0xf7, 0x7a, 0x47, 0x76, 0x4e, 0xf4, - 0x2d, 0x21, 0xd2, 0x3f, 0x6a, 0xbe, 0xcc, 0x30, 0xaa, 0x9a, 0xb0, 0x10, 0x3e, 0xb6, 0x0b, 0x1f, - 0x5b, 0xec, 0xc2, 0x27, 0xfa, 0x91, 0xfe, 0x88, 0x9f, 0xde, 0x7f, 0x7f, 0x57, 0x28, 0xbc, 0xda, - 0xae, 0x98, 0xd4, 0x15, 0xf7, 0x13, 0x75, 0x53, 0x84, 0x0f, 0xde, 0xe6, 0xbc, 0x80, 0x9a, 0x9b, - 0xd5, 0xcb, 0x42, 0xf3, 0xfd, 0xe8, 0xaf, 0x6e, 0xf9, 0xee, 0xaf, 0xfe, 0x04, 0x00, 0x00, 0xff, - 0xff, 0xcf, 0xb2, 0xc0, 0xd6, 0x97, 0x03, 0x00, 0x00, +var File_flyteidl_admin_task_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_task_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, + 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2c, + 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x14, 0x0a, 0x12, + 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x29, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6c, 0x6f, + 0x73, 0x75, 0x72, 0x65, 0x52, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x2b, 0x0a, + 0x11, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4c, 0x0a, 0x08, 0x54, 0x61, + 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, + 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, + 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x37, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x43, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x8a, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6c, 0x6f, 0x73, + 0x75, 0x72, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x5f, + 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, + 0x6c, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, + 0x64, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x42, 0xb5, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, + 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_task_proto_rawDescOnce sync.Once + file_flyteidl_admin_task_proto_rawDescData = file_flyteidl_admin_task_proto_rawDesc +) + +func file_flyteidl_admin_task_proto_rawDescGZIP() []byte { + file_flyteidl_admin_task_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_task_proto_rawDescData) + }) + return file_flyteidl_admin_task_proto_rawDescData +} + +var file_flyteidl_admin_task_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_flyteidl_admin_task_proto_goTypes = []interface{}{ + (*TaskCreateRequest)(nil), // 0: flyteidl.admin.TaskCreateRequest + (*TaskCreateResponse)(nil), // 1: flyteidl.admin.TaskCreateResponse + (*Task)(nil), // 2: flyteidl.admin.Task + (*TaskList)(nil), // 3: flyteidl.admin.TaskList + (*TaskSpec)(nil), // 4: flyteidl.admin.TaskSpec + (*TaskClosure)(nil), // 5: flyteidl.admin.TaskClosure + (*core.Identifier)(nil), // 6: flyteidl.core.Identifier + (*core.TaskTemplate)(nil), // 7: flyteidl.core.TaskTemplate + (*DescriptionEntity)(nil), // 8: flyteidl.admin.DescriptionEntity + (*core.CompiledTask)(nil), // 9: flyteidl.core.CompiledTask + (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp +} +var file_flyteidl_admin_task_proto_depIdxs = []int32{ + 6, // 0: flyteidl.admin.TaskCreateRequest.id:type_name -> flyteidl.core.Identifier + 4, // 1: flyteidl.admin.TaskCreateRequest.spec:type_name -> flyteidl.admin.TaskSpec + 6, // 2: flyteidl.admin.Task.id:type_name -> flyteidl.core.Identifier + 5, // 3: flyteidl.admin.Task.closure:type_name -> flyteidl.admin.TaskClosure + 2, // 4: flyteidl.admin.TaskList.tasks:type_name -> flyteidl.admin.Task + 7, // 5: flyteidl.admin.TaskSpec.template:type_name -> flyteidl.core.TaskTemplate + 8, // 6: flyteidl.admin.TaskSpec.description:type_name -> flyteidl.admin.DescriptionEntity + 9, // 7: flyteidl.admin.TaskClosure.compiled_task:type_name -> flyteidl.core.CompiledTask + 10, // 8: flyteidl.admin.TaskClosure.created_at:type_name -> google.protobuf.Timestamp + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_task_proto_init() } +func file_flyteidl_admin_task_proto_init() { + if File_flyteidl_admin_task_proto != nil { + return + } + file_flyteidl_admin_description_entity_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Task); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_task_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_task_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_task_proto_depIdxs, + MessageInfos: file_flyteidl_admin_task_proto_msgTypes, + }.Build() + File_flyteidl_admin_task_proto = out.File + file_flyteidl_admin_task_proto_rawDesc = nil + file_flyteidl_admin_task_proto_goTypes = nil + file_flyteidl_admin_task_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/task.swagger.json deleted file mode 100644 index 8c7e13c9d3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/task.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/task.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go index e4dd62374f..f32269ae0f 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.go @@ -1,69 +1,77 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/task_execution.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" event "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + structpb "google.golang.org/protobuf/types/known/structpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // A message used to fetch a single task execution entity. // See :ref:`ref_flyteidl.admin.TaskExecution` for more details type TaskExecutionGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique identifier for the task execution. // +required - Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *TaskExecutionGetRequest) Reset() { *m = TaskExecutionGetRequest{} } -func (m *TaskExecutionGetRequest) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionGetRequest) ProtoMessage() {} -func (*TaskExecutionGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{0} +func (x *TaskExecutionGetRequest) Reset() { + *x = TaskExecutionGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionGetRequest.Unmarshal(m, b) +func (x *TaskExecutionGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionGetRequest.Marshal(b, m, deterministic) -} -func (m *TaskExecutionGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionGetRequest.Merge(m, src) -} -func (m *TaskExecutionGetRequest) XXX_Size() int { - return xxx_messageInfo_TaskExecutionGetRequest.Size(m) -} -func (m *TaskExecutionGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionGetRequest.DiscardUnknown(m) + +func (*TaskExecutionGetRequest) ProtoMessage() {} + +func (x *TaskExecutionGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionGetRequest proto.InternalMessageInfo +// Deprecated: Use TaskExecutionGetRequest.ProtoReflect.Descriptor instead. +func (*TaskExecutionGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{0} +} -func (m *TaskExecutionGetRequest) GetId() *core.TaskExecutionIdentifier { - if m != nil { - return m.Id +func (x *TaskExecutionGetRequest) GetId() *core.TaskExecutionIdentifier { + if x != nil { + return x.Id } return nil } @@ -71,6 +79,10 @@ func (m *TaskExecutionGetRequest) GetId() *core.TaskExecutionIdentifier { // Represents a request structure to retrieve a list of task execution entities yielded by a specific node execution. // See :ref:`ref_flyteidl.admin.TaskExecution` for more details type TaskExecutionListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates the node execution to filter by. // +required NodeExecutionId *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=node_execution_id,json=nodeExecutionId,proto3" json:"node_execution_id,omitempty"` @@ -87,68 +99,72 @@ type TaskExecutionListRequest struct { Filters string `protobuf:"bytes,4,opt,name=filters,proto3" json:"filters,omitempty"` // Sort ordering for returned list. // +optional - SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SortBy *Sort `protobuf:"bytes,5,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` } -func (m *TaskExecutionListRequest) Reset() { *m = TaskExecutionListRequest{} } -func (m *TaskExecutionListRequest) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionListRequest) ProtoMessage() {} -func (*TaskExecutionListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{1} +func (x *TaskExecutionListRequest) Reset() { + *x = TaskExecutionListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionListRequest.Unmarshal(m, b) -} -func (m *TaskExecutionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionListRequest.Marshal(b, m, deterministic) -} -func (m *TaskExecutionListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionListRequest.Merge(m, src) +func (x *TaskExecutionListRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionListRequest) XXX_Size() int { - return xxx_messageInfo_TaskExecutionListRequest.Size(m) -} -func (m *TaskExecutionListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionListRequest.DiscardUnknown(m) + +func (*TaskExecutionListRequest) ProtoMessage() {} + +func (x *TaskExecutionListRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionListRequest proto.InternalMessageInfo +// Deprecated: Use TaskExecutionListRequest.ProtoReflect.Descriptor instead. +func (*TaskExecutionListRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{1} +} -func (m *TaskExecutionListRequest) GetNodeExecutionId() *core.NodeExecutionIdentifier { - if m != nil { - return m.NodeExecutionId +func (x *TaskExecutionListRequest) GetNodeExecutionId() *core.NodeExecutionIdentifier { + if x != nil { + return x.NodeExecutionId } return nil } -func (m *TaskExecutionListRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *TaskExecutionListRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *TaskExecutionListRequest) GetToken() string { - if m != nil { - return m.Token +func (x *TaskExecutionListRequest) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *TaskExecutionListRequest) GetFilters() string { - if m != nil { - return m.Filters +func (x *TaskExecutionListRequest) GetFilters() string { + if x != nil { + return x.Filters } return "" } -func (m *TaskExecutionListRequest) GetSortBy() *Sort { - if m != nil { - return m.SortBy +func (x *TaskExecutionListRequest) GetSortBy() *Sort { + if x != nil { + return x.SortBy } return nil } @@ -157,6 +173,10 @@ func (m *TaskExecutionListRequest) GetSortBy() *Sort { // A task execution represents an instantiated task, including all inputs and additional // metadata as well as computed results included state, outputs, and duration-based attributes. type TaskExecution struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique identifier for the task execution. Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Path to remote data store where input blob is stored. @@ -164,61 +184,65 @@ type TaskExecution struct { // Task execution details and results. Closure *TaskExecutionClosure `protobuf:"bytes,3,opt,name=closure,proto3" json:"closure,omitempty"` // Whether this task spawned nodes. - IsParent bool `protobuf:"varint,4,opt,name=is_parent,json=isParent,proto3" json:"is_parent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsParent bool `protobuf:"varint,4,opt,name=is_parent,json=isParent,proto3" json:"is_parent,omitempty"` } -func (m *TaskExecution) Reset() { *m = TaskExecution{} } -func (m *TaskExecution) String() string { return proto.CompactTextString(m) } -func (*TaskExecution) ProtoMessage() {} -func (*TaskExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{2} +func (x *TaskExecution) Reset() { + *x = TaskExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecution.Unmarshal(m, b) -} -func (m *TaskExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecution.Marshal(b, m, deterministic) -} -func (m *TaskExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecution.Merge(m, src) +func (x *TaskExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecution) XXX_Size() int { - return xxx_messageInfo_TaskExecution.Size(m) -} -func (m *TaskExecution) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecution.DiscardUnknown(m) + +func (*TaskExecution) ProtoMessage() {} + +func (x *TaskExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecution proto.InternalMessageInfo +// Deprecated: Use TaskExecution.ProtoReflect.Descriptor instead. +func (*TaskExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{2} +} -func (m *TaskExecution) GetId() *core.TaskExecutionIdentifier { - if m != nil { - return m.Id +func (x *TaskExecution) GetId() *core.TaskExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *TaskExecution) GetInputUri() string { - if m != nil { - return m.InputUri +func (x *TaskExecution) GetInputUri() string { + if x != nil { + return x.InputUri } return "" } -func (m *TaskExecution) GetClosure() *TaskExecutionClosure { - if m != nil { - return m.Closure +func (x *TaskExecution) GetClosure() *TaskExecutionClosure { + if x != nil { + return x.Closure } return nil } -func (m *TaskExecution) GetIsParent() bool { - if m != nil { - return m.IsParent +func (x *TaskExecution) GetIsParent() bool { + if x != nil { + return x.IsParent } return false } @@ -226,57 +250,70 @@ func (m *TaskExecution) GetIsParent() bool { // Response structure for a query to list of task execution entities. // See :ref:`ref_flyteidl.admin.TaskExecution` for more details type TaskExecutionList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TaskExecutions []*TaskExecution `protobuf:"bytes,1,rep,name=task_executions,json=taskExecutions,proto3" json:"task_executions,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *TaskExecutionList) Reset() { *m = TaskExecutionList{} } -func (m *TaskExecutionList) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionList) ProtoMessage() {} -func (*TaskExecutionList) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{3} +func (x *TaskExecutionList) Reset() { + *x = TaskExecutionList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionList.Unmarshal(m, b) +func (x *TaskExecutionList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionList.Marshal(b, m, deterministic) -} -func (m *TaskExecutionList) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionList.Merge(m, src) -} -func (m *TaskExecutionList) XXX_Size() int { - return xxx_messageInfo_TaskExecutionList.Size(m) -} -func (m *TaskExecutionList) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionList.DiscardUnknown(m) + +func (*TaskExecutionList) ProtoMessage() {} + +func (x *TaskExecutionList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionList proto.InternalMessageInfo +// Deprecated: Use TaskExecutionList.ProtoReflect.Descriptor instead. +func (*TaskExecutionList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{3} +} -func (m *TaskExecutionList) GetTaskExecutions() []*TaskExecution { - if m != nil { - return m.TaskExecutions +func (x *TaskExecutionList) GetTaskExecutions() []*TaskExecution { + if x != nil { + return x.TaskExecutions } return nil } -func (m *TaskExecutionList) GetToken() string { - if m != nil { - return m.Token +func (x *TaskExecutionList) GetToken() string { + if x != nil { + return x.Token } return "" } // Container for task execution details and results. type TaskExecutionClosure struct { - // Types that are valid to be assigned to OutputResult: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to OutputResult: + // // *TaskExecutionClosure_OutputUri // *TaskExecutionClosure_Error // *TaskExecutionClosure_OutputData @@ -286,15 +323,15 @@ type TaskExecutionClosure struct { // Detailed log information output by the task execution. Logs []*core.TaskLog `protobuf:"bytes,4,rep,name=logs,proto3" json:"logs,omitempty"` // Time at which the task execution began running. - StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // The amount of time the task execution spent running. - Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` + Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` // Time at which the task execution was created. - CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Time at which the task execution was last updated. - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Custom data specific to the task plugin. - CustomInfo *_struct.Struct `protobuf:"bytes,9,opt,name=custom_info,json=customInfo,proto3" json:"custom_info,omitempty"` + CustomInfo *structpb.Struct `protobuf:"bytes,9,opt,name=custom_info,json=customInfo,proto3" json:"custom_info,omitempty"` // If there is an explanation for the most recent phase transition, the reason will capture it. Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"` // A predefined yet extensible Task type identifier. @@ -308,59 +345,41 @@ type TaskExecutionClosure struct { EventVersion int32 `protobuf:"varint,17,opt,name=event_version,json=eventVersion,proto3" json:"event_version,omitempty"` // A time-series of the phase transition or update explanations. This, when compared to storing a singular reason // as previously done, is much more valuable in visualizing and understanding historical evaluations. - Reasons []*Reason `protobuf:"bytes,18,rep,name=reasons,proto3" json:"reasons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reasons []*Reason `protobuf:"bytes,18,rep,name=reasons,proto3" json:"reasons,omitempty"` } -func (m *TaskExecutionClosure) Reset() { *m = TaskExecutionClosure{} } -func (m *TaskExecutionClosure) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionClosure) ProtoMessage() {} -func (*TaskExecutionClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{4} -} - -func (m *TaskExecutionClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionClosure.Unmarshal(m, b) -} -func (m *TaskExecutionClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionClosure.Marshal(b, m, deterministic) -} -func (m *TaskExecutionClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionClosure.Merge(m, src) -} -func (m *TaskExecutionClosure) XXX_Size() int { - return xxx_messageInfo_TaskExecutionClosure.Size(m) -} -func (m *TaskExecutionClosure) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionClosure.DiscardUnknown(m) +func (x *TaskExecutionClosure) Reset() { + *x = TaskExecutionClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_TaskExecutionClosure proto.InternalMessageInfo - -type isTaskExecutionClosure_OutputResult interface { - isTaskExecutionClosure_OutputResult() +func (x *TaskExecutionClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -type TaskExecutionClosure_OutputUri struct { - OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3,oneof"` -} +func (*TaskExecutionClosure) ProtoMessage() {} -type TaskExecutionClosure_Error struct { - Error *core.ExecutionError `protobuf:"bytes,2,opt,name=error,proto3,oneof"` +func (x *TaskExecutionClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type TaskExecutionClosure_OutputData struct { - OutputData *core.LiteralMap `protobuf:"bytes,12,opt,name=output_data,json=outputData,proto3,oneof"` +// Deprecated: Use TaskExecutionClosure.ProtoReflect.Descriptor instead. +func (*TaskExecutionClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{4} } -func (*TaskExecutionClosure_OutputUri) isTaskExecutionClosure_OutputResult() {} - -func (*TaskExecutionClosure_Error) isTaskExecutionClosure_OutputResult() {} - -func (*TaskExecutionClosure_OutputData) isTaskExecutionClosure_OutputResult() {} - func (m *TaskExecutionClosure) GetOutputResult() isTaskExecutionClosure_OutputResult { if m != nil { return m.OutputResult @@ -368,168 +387,198 @@ func (m *TaskExecutionClosure) GetOutputResult() isTaskExecutionClosure_OutputRe return nil } -// Deprecated: Do not use. -func (m *TaskExecutionClosure) GetOutputUri() string { - if x, ok := m.GetOutputResult().(*TaskExecutionClosure_OutputUri); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. +func (x *TaskExecutionClosure) GetOutputUri() string { + if x, ok := x.GetOutputResult().(*TaskExecutionClosure_OutputUri); ok { return x.OutputUri } return "" } -func (m *TaskExecutionClosure) GetError() *core.ExecutionError { - if x, ok := m.GetOutputResult().(*TaskExecutionClosure_Error); ok { +func (x *TaskExecutionClosure) GetError() *core.ExecutionError { + if x, ok := x.GetOutputResult().(*TaskExecutionClosure_Error); ok { return x.Error } return nil } -// Deprecated: Do not use. -func (m *TaskExecutionClosure) GetOutputData() *core.LiteralMap { - if x, ok := m.GetOutputResult().(*TaskExecutionClosure_OutputData); ok { +// Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. +func (x *TaskExecutionClosure) GetOutputData() *core.LiteralMap { + if x, ok := x.GetOutputResult().(*TaskExecutionClosure_OutputData); ok { return x.OutputData } return nil } -func (m *TaskExecutionClosure) GetPhase() core.TaskExecution_Phase { - if m != nil { - return m.Phase +func (x *TaskExecutionClosure) GetPhase() core.TaskExecution_Phase { + if x != nil { + return x.Phase } - return core.TaskExecution_UNDEFINED + return core.TaskExecution_Phase(0) } -func (m *TaskExecutionClosure) GetLogs() []*core.TaskLog { - if m != nil { - return m.Logs +func (x *TaskExecutionClosure) GetLogs() []*core.TaskLog { + if x != nil { + return x.Logs } return nil } -func (m *TaskExecutionClosure) GetStartedAt() *timestamp.Timestamp { - if m != nil { - return m.StartedAt +func (x *TaskExecutionClosure) GetStartedAt() *timestamppb.Timestamp { + if x != nil { + return x.StartedAt } return nil } -func (m *TaskExecutionClosure) GetDuration() *duration.Duration { - if m != nil { - return m.Duration +func (x *TaskExecutionClosure) GetDuration() *durationpb.Duration { + if x != nil { + return x.Duration } return nil } -func (m *TaskExecutionClosure) GetCreatedAt() *timestamp.Timestamp { - if m != nil { - return m.CreatedAt +func (x *TaskExecutionClosure) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt } return nil } -func (m *TaskExecutionClosure) GetUpdatedAt() *timestamp.Timestamp { - if m != nil { - return m.UpdatedAt +func (x *TaskExecutionClosure) GetUpdatedAt() *timestamppb.Timestamp { + if x != nil { + return x.UpdatedAt } return nil } -func (m *TaskExecutionClosure) GetCustomInfo() *_struct.Struct { - if m != nil { - return m.CustomInfo +func (x *TaskExecutionClosure) GetCustomInfo() *structpb.Struct { + if x != nil { + return x.CustomInfo } return nil } -func (m *TaskExecutionClosure) GetReason() string { - if m != nil { - return m.Reason +func (x *TaskExecutionClosure) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *TaskExecutionClosure) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *TaskExecutionClosure) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *TaskExecutionClosure) GetMetadata() *event.TaskExecutionMetadata { - if m != nil { - return m.Metadata +func (x *TaskExecutionClosure) GetMetadata() *event.TaskExecutionMetadata { + if x != nil { + return x.Metadata } return nil } -func (m *TaskExecutionClosure) GetEventVersion() int32 { - if m != nil { - return m.EventVersion +func (x *TaskExecutionClosure) GetEventVersion() int32 { + if x != nil { + return x.EventVersion } return 0 } -func (m *TaskExecutionClosure) GetReasons() []*Reason { - if m != nil { - return m.Reasons +func (x *TaskExecutionClosure) GetReasons() []*Reason { + if x != nil { + return x.Reasons } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TaskExecutionClosure) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TaskExecutionClosure_OutputUri)(nil), - (*TaskExecutionClosure_Error)(nil), - (*TaskExecutionClosure_OutputData)(nil), - } +type isTaskExecutionClosure_OutputResult interface { + isTaskExecutionClosure_OutputResult() +} + +type TaskExecutionClosure_OutputUri struct { + // Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). + // DEPRECATED. Use GetTaskExecutionData to fetch output data instead. + // + // Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. + OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3,oneof"` } +type TaskExecutionClosure_Error struct { + // Error information for the task execution. Populated if the execution failed. + Error *core.ExecutionError `protobuf:"bytes,2,opt,name=error,proto3,oneof"` +} + +type TaskExecutionClosure_OutputData struct { + // Raw output data produced by this task execution. + // DEPRECATED. Use GetTaskExecutionData to fetch output data instead. + // + // Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. + OutputData *core.LiteralMap `protobuf:"bytes,12,opt,name=output_data,json=outputData,proto3,oneof"` +} + +func (*TaskExecutionClosure_OutputUri) isTaskExecutionClosure_OutputResult() {} + +func (*TaskExecutionClosure_Error) isTaskExecutionClosure_OutputResult() {} + +func (*TaskExecutionClosure_OutputData) isTaskExecutionClosure_OutputResult() {} + // Reason is a single message annotated with a timestamp to indicate the instant the reason occurred. type Reason struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // occurred_at is the timestamp indicating the instant that this reason happened. - OccurredAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` + OccurredAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` // message is the explanation for the most recent phase transition or status update. - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } -func (m *Reason) Reset() { *m = Reason{} } -func (m *Reason) String() string { return proto.CompactTextString(m) } -func (*Reason) ProtoMessage() {} -func (*Reason) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{5} +func (x *Reason) Reset() { + *x = Reason{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Reason) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reason.Unmarshal(m, b) -} -func (m *Reason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reason.Marshal(b, m, deterministic) -} -func (m *Reason) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reason.Merge(m, src) +func (x *Reason) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Reason) XXX_Size() int { - return xxx_messageInfo_Reason.Size(m) -} -func (m *Reason) XXX_DiscardUnknown() { - xxx_messageInfo_Reason.DiscardUnknown(m) + +func (*Reason) ProtoMessage() {} + +func (x *Reason) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Reason proto.InternalMessageInfo +// Deprecated: Use Reason.ProtoReflect.Descriptor instead. +func (*Reason) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{5} +} -func (m *Reason) GetOccurredAt() *timestamp.Timestamp { - if m != nil { - return m.OccurredAt +func (x *Reason) GetOccurredAt() *timestamppb.Timestamp { + if x != nil { + return x.OccurredAt } return nil } -func (m *Reason) GetMessage() string { - if m != nil { - return m.Message +func (x *Reason) GetMessage() string { + if x != nil { + return x.Message } return "" } @@ -537,201 +586,498 @@ func (m *Reason) GetMessage() string { // Request structure to fetch inputs and output for a task execution. // By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest` type TaskExecutionGetDataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identifier of the task execution for which to fetch inputs and outputs. // +required - Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *TaskExecutionGetDataRequest) Reset() { *m = TaskExecutionGetDataRequest{} } -func (m *TaskExecutionGetDataRequest) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionGetDataRequest) ProtoMessage() {} -func (*TaskExecutionGetDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{6} +func (x *TaskExecutionGetDataRequest) Reset() { + *x = TaskExecutionGetDataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionGetDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionGetDataRequest.Unmarshal(m, b) -} -func (m *TaskExecutionGetDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionGetDataRequest.Marshal(b, m, deterministic) +func (x *TaskExecutionGetDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionGetDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionGetDataRequest.Merge(m, src) -} -func (m *TaskExecutionGetDataRequest) XXX_Size() int { - return xxx_messageInfo_TaskExecutionGetDataRequest.Size(m) -} -func (m *TaskExecutionGetDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionGetDataRequest.DiscardUnknown(m) + +func (*TaskExecutionGetDataRequest) ProtoMessage() {} + +func (x *TaskExecutionGetDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionGetDataRequest proto.InternalMessageInfo +// Deprecated: Use TaskExecutionGetDataRequest.ProtoReflect.Descriptor instead. +func (*TaskExecutionGetDataRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{6} +} -func (m *TaskExecutionGetDataRequest) GetId() *core.TaskExecutionIdentifier { - if m != nil { - return m.Id +func (x *TaskExecutionGetDataRequest) GetId() *core.TaskExecutionIdentifier { + if x != nil { + return x.Id } return nil } // Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution. type TaskExecutionGetDataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Signed url to fetch a core.LiteralMap of task execution inputs. // Deprecated: Please use full_inputs instead. - Inputs *UrlBlob `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. + Inputs *UrlBlob `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` // Signed url to fetch a core.LiteralMap of task execution outputs. // Deprecated: Please use full_outputs instead. - Outputs *UrlBlob `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. + Outputs *UrlBlob `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` // Full_inputs will only be populated if they are under a configured size threshold. FullInputs *core.LiteralMap `protobuf:"bytes,3,opt,name=full_inputs,json=fullInputs,proto3" json:"full_inputs,omitempty"` // Full_outputs will only be populated if they are under a configured size threshold. FullOutputs *core.LiteralMap `protobuf:"bytes,4,opt,name=full_outputs,json=fullOutputs,proto3" json:"full_outputs,omitempty"` // flyte tiny url to fetch a core.LiteralMap of task execution's IO // Deck will be empty for task - FlyteUrls *FlyteURLs `protobuf:"bytes,5,opt,name=flyte_urls,json=flyteUrls,proto3" json:"flyte_urls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FlyteUrls *FlyteURLs `protobuf:"bytes,5,opt,name=flyte_urls,json=flyteUrls,proto3" json:"flyte_urls,omitempty"` } -func (m *TaskExecutionGetDataResponse) Reset() { *m = TaskExecutionGetDataResponse{} } -func (m *TaskExecutionGetDataResponse) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionGetDataResponse) ProtoMessage() {} -func (*TaskExecutionGetDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{7} +func (x *TaskExecutionGetDataResponse) Reset() { + *x = TaskExecutionGetDataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionGetDataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionGetDataResponse.Unmarshal(m, b) +func (x *TaskExecutionGetDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionGetDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionGetDataResponse.Marshal(b, m, deterministic) -} -func (m *TaskExecutionGetDataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionGetDataResponse.Merge(m, src) -} -func (m *TaskExecutionGetDataResponse) XXX_Size() int { - return xxx_messageInfo_TaskExecutionGetDataResponse.Size(m) -} -func (m *TaskExecutionGetDataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionGetDataResponse.DiscardUnknown(m) + +func (*TaskExecutionGetDataResponse) ProtoMessage() {} + +func (x *TaskExecutionGetDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_task_execution_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionGetDataResponse proto.InternalMessageInfo +// Deprecated: Use TaskExecutionGetDataResponse.ProtoReflect.Descriptor instead. +func (*TaskExecutionGetDataResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_task_execution_proto_rawDescGZIP(), []int{7} +} -// Deprecated: Do not use. -func (m *TaskExecutionGetDataResponse) GetInputs() *UrlBlob { - if m != nil { - return m.Inputs +// Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. +func (x *TaskExecutionGetDataResponse) GetInputs() *UrlBlob { + if x != nil { + return x.Inputs } return nil } -// Deprecated: Do not use. -func (m *TaskExecutionGetDataResponse) GetOutputs() *UrlBlob { - if m != nil { - return m.Outputs +// Deprecated: Marked as deprecated in flyteidl/admin/task_execution.proto. +func (x *TaskExecutionGetDataResponse) GetOutputs() *UrlBlob { + if x != nil { + return x.Outputs } return nil } -func (m *TaskExecutionGetDataResponse) GetFullInputs() *core.LiteralMap { - if m != nil { - return m.FullInputs +func (x *TaskExecutionGetDataResponse) GetFullInputs() *core.LiteralMap { + if x != nil { + return x.FullInputs } return nil } -func (m *TaskExecutionGetDataResponse) GetFullOutputs() *core.LiteralMap { - if m != nil { - return m.FullOutputs +func (x *TaskExecutionGetDataResponse) GetFullOutputs() *core.LiteralMap { + if x != nil { + return x.FullOutputs } return nil } -func (m *TaskExecutionGetDataResponse) GetFlyteUrls() *FlyteURLs { - if m != nil { - return m.FlyteUrls +func (x *TaskExecutionGetDataResponse) GetFlyteUrls() *FlyteURLs { + if x != nil { + return x.FlyteUrls } return nil } -func init() { - proto.RegisterType((*TaskExecutionGetRequest)(nil), "flyteidl.admin.TaskExecutionGetRequest") - proto.RegisterType((*TaskExecutionListRequest)(nil), "flyteidl.admin.TaskExecutionListRequest") - proto.RegisterType((*TaskExecution)(nil), "flyteidl.admin.TaskExecution") - proto.RegisterType((*TaskExecutionList)(nil), "flyteidl.admin.TaskExecutionList") - proto.RegisterType((*TaskExecutionClosure)(nil), "flyteidl.admin.TaskExecutionClosure") - proto.RegisterType((*Reason)(nil), "flyteidl.admin.Reason") - proto.RegisterType((*TaskExecutionGetDataRequest)(nil), "flyteidl.admin.TaskExecutionGetDataRequest") - proto.RegisterType((*TaskExecutionGetDataResponse)(nil), "flyteidl.admin.TaskExecutionGetDataResponse") -} - -func init() { - proto.RegisterFile("flyteidl/admin/task_execution.proto", fileDescriptor_8cde4c3aa101642e) -} - -var fileDescriptor_8cde4c3aa101642e = []byte{ - // 927 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xeb, 0x6e, 0x1b, 0x45, - 0x14, 0xee, 0x3a, 0x89, 0x2f, 0xc7, 0xb9, 0x90, 0x51, 0xd4, 0x6c, 0x93, 0x14, 0x2c, 0x07, 0x90, - 0x85, 0xd4, 0x35, 0x4a, 0x15, 0x14, 0x28, 0x20, 0x6c, 0xda, 0xd2, 0x48, 0x29, 0x94, 0x69, 0xcc, - 0x0f, 0xfe, 0xac, 0xc6, 0xbb, 0x63, 0x77, 0x94, 0xdd, 0x9d, 0xed, 0xcc, 0x6c, 0x85, 0xdf, 0x85, - 0x67, 0x41, 0xe2, 0x59, 0x78, 0x11, 0x34, 0x97, 0x75, 0xb2, 0xdb, 0x10, 0x4b, 0xf4, 0x8f, 0xe5, - 0x73, 0xce, 0xf7, 0x9d, 0xfb, 0x19, 0x2d, 0x1c, 0xcf, 0x92, 0x85, 0xa2, 0x2c, 0x4e, 0x86, 0x24, - 0x4e, 0x59, 0x36, 0x54, 0x44, 0x5e, 0x85, 0xf4, 0x0f, 0x1a, 0x15, 0x8a, 0xf1, 0x2c, 0xc8, 0x05, - 0x57, 0x1c, 0x6d, 0x97, 0xa0, 0xc0, 0x80, 0x0e, 0x0e, 0x6b, 0xa4, 0x88, 0xa7, 0x69, 0x09, 0x3e, - 0x78, 0xb8, 0x34, 0x46, 0x5c, 0xd0, 0x61, 0xcd, 0xd7, 0xc1, 0xc7, 0x55, 0x33, 0x8b, 0x69, 0xa6, - 0xd8, 0x8c, 0x51, 0xe1, 0xec, 0x47, 0x55, 0x7b, 0xc2, 0x14, 0x15, 0x24, 0x91, 0xce, 0x7a, 0xb0, - 0xb4, 0xd2, 0x77, 0x34, 0x53, 0xf6, 0xd7, 0xd9, 0x3e, 0x99, 0x73, 0x3e, 0x4f, 0xe8, 0xd0, 0x48, - 0xd3, 0x62, 0x36, 0x54, 0x2c, 0xa5, 0x52, 0x91, 0x34, 0x2f, 0x43, 0xd7, 0x01, 0x71, 0x21, 0xc8, - 0x8d, 0xd4, 0x8e, 0xea, 0x76, 0xa9, 0x44, 0x11, 0x39, 0xf7, 0xfd, 0x5f, 0x61, 0xff, 0x92, 0xc8, - 0xab, 0x67, 0x65, 0x3d, 0x3f, 0x51, 0x85, 0xe9, 0xdb, 0x82, 0x4a, 0x85, 0xbe, 0x82, 0x06, 0x8b, - 0x7d, 0xaf, 0xe7, 0x0d, 0xba, 0x27, 0x9f, 0x07, 0xcb, 0x66, 0xe9, 0x02, 0x82, 0x0a, 0xe7, 0x7c, - 0x59, 0x2d, 0x6e, 0xb0, 0xb8, 0xff, 0x8f, 0x07, 0x7e, 0xc5, 0x7e, 0xc1, 0xe4, 0xd2, 0x29, 0x86, - 0xdd, 0x8c, 0xc7, 0xf4, 0x7a, 0x18, 0xe1, 0x7f, 0xc6, 0xf8, 0x99, 0xc7, 0xf4, 0xb6, 0x18, 0x3b, - 0x59, 0xd5, 0x80, 0xf6, 0x60, 0x23, 0x61, 0x29, 0x53, 0x7e, 0xa3, 0xe7, 0x0d, 0xb6, 0xb0, 0x15, - 0xb4, 0x56, 0xf1, 0x2b, 0x9a, 0xf9, 0x6b, 0x3d, 0x6f, 0xd0, 0xc1, 0x56, 0x40, 0x3e, 0xb4, 0x66, - 0x2c, 0x51, 0x54, 0x48, 0x7f, 0xdd, 0xe8, 0x4b, 0x11, 0x3d, 0x82, 0x96, 0xe4, 0x42, 0x85, 0xd3, - 0x85, 0xbf, 0x61, 0xf2, 0xd9, 0x0b, 0xaa, 0x0b, 0x12, 0xbc, 0xe6, 0x42, 0xe1, 0xa6, 0x06, 0x8d, - 0x17, 0xfd, 0xbf, 0x3d, 0xd8, 0xaa, 0x54, 0xf9, 0x7f, 0xfb, 0x85, 0x0e, 0xa1, 0xc3, 0xb2, 0xbc, - 0x50, 0x61, 0x21, 0x98, 0x29, 0xa1, 0x83, 0xdb, 0x46, 0x31, 0x11, 0x0c, 0x7d, 0x0f, 0xad, 0x28, - 0xe1, 0xb2, 0x10, 0xd4, 0xd4, 0xd1, 0x3d, 0xf9, 0xb4, 0x9e, 0x55, 0xc5, 0xf5, 0x8f, 0x16, 0x8b, - 0x4b, 0x92, 0x71, 0x2e, 0xc3, 0x9c, 0x08, 0x9a, 0x29, 0x53, 0x71, 0x1b, 0xb7, 0x99, 0x7c, 0x65, - 0xe4, 0xfe, 0x5b, 0xd8, 0x7d, 0x6f, 0x50, 0xe8, 0x39, 0xec, 0x54, 0xcf, 0x45, 0xfa, 0x5e, 0x6f, - 0x6d, 0xd0, 0x3d, 0x79, 0x78, 0x67, 0x64, 0xbc, 0xad, 0x6e, 0x8a, 0xf2, 0xba, 0xff, 0x8d, 0x1b, - 0xfd, 0xef, 0xff, 0xd9, 0x84, 0xbd, 0xdb, 0x32, 0x46, 0xc7, 0x00, 0xbc, 0x50, 0x65, 0x1b, 0x74, - 0x17, 0x3b, 0xe3, 0x86, 0xef, 0xbd, 0xb8, 0x87, 0x3b, 0x56, 0xaf, 0xbb, 0x71, 0x0a, 0x1b, 0x54, - 0x08, 0x2e, 0x8c, 0xcf, 0x4a, 0x46, 0xa6, 0xcb, 0x4b, 0xa7, 0xcf, 0x34, 0xe8, 0xc5, 0x3d, 0x6c, - 0xd1, 0xe8, 0x07, 0xe8, 0x3a, 0xdf, 0x31, 0x51, 0xc4, 0xdf, 0x34, 0xe4, 0x07, 0x35, 0xf2, 0x85, - 0xbd, 0xc9, 0x97, 0x24, 0x77, 0x71, 0x5d, 0x3e, 0x4f, 0x89, 0x22, 0xe8, 0x0c, 0x36, 0xf2, 0x37, - 0x44, 0xda, 0x21, 0x6c, 0x9f, 0xf4, 0xef, 0x1a, 0x6f, 0xf0, 0x4a, 0x23, 0xb1, 0x25, 0xa0, 0x2f, - 0x60, 0x3d, 0xe1, 0x73, 0xbd, 0x6d, 0xba, 0x87, 0xf7, 0x6f, 0x21, 0x5e, 0xf0, 0x39, 0x36, 0x18, - 0xf4, 0x35, 0x80, 0x54, 0x44, 0x28, 0x1a, 0x87, 0x44, 0xb9, 0x2d, 0x3c, 0x08, 0xec, 0xfd, 0x06, - 0xe5, 0xfd, 0x06, 0x97, 0xe5, 0x03, 0x80, 0x3b, 0x0e, 0x3d, 0x52, 0xe8, 0x14, 0xda, 0xe5, 0xdd, - 0xfb, 0x4d, 0x57, 0x5f, 0x9d, 0xf8, 0xd4, 0x01, 0xf0, 0x12, 0xaa, 0x23, 0x46, 0x82, 0x12, 0x17, - 0xb1, 0xb5, 0x3a, 0xa2, 0x43, 0x8f, 0x94, 0xa6, 0x16, 0x79, 0x5c, 0x52, 0xdb, 0xab, 0xa9, 0x0e, - 0x3d, 0x52, 0xe8, 0x0c, 0xba, 0x51, 0x21, 0x15, 0x4f, 0x43, 0x96, 0xcd, 0xb8, 0xdf, 0x31, 0xdc, - 0xfd, 0xf7, 0xb8, 0xaf, 0xcd, 0x43, 0x85, 0xc1, 0x62, 0xcf, 0xb3, 0x19, 0x47, 0xf7, 0xa1, 0x29, - 0x28, 0x91, 0x3c, 0xf3, 0xc1, 0x6c, 0x95, 0x93, 0xf4, 0x9a, 0x9b, 0xa5, 0x55, 0x8b, 0x9c, 0xfa, - 0x5d, 0x7b, 0x43, 0x5a, 0x71, 0xb9, 0xc8, 0x29, 0x1a, 0x41, 0x3b, 0xa5, 0x8a, 0x98, 0xd9, 0x7f, - 0x64, 0x62, 0x7d, 0x76, 0x3d, 0x06, 0xfb, 0xd6, 0x56, 0x06, 0xf8, 0xd2, 0x81, 0xf1, 0x92, 0x86, - 0x8e, 0x61, 0xcb, 0x00, 0xc3, 0x77, 0x54, 0x48, 0xdd, 0xe3, 0xdd, 0x9e, 0x37, 0xd8, 0xc0, 0x9b, - 0x46, 0xf9, 0x9b, 0xd5, 0xa1, 0x2f, 0xa1, 0x65, 0xd3, 0x91, 0x3e, 0xaa, 0x4f, 0xdb, 0x5e, 0x0c, - 0x36, 0x66, 0x5c, 0xc2, 0xc6, 0x3b, 0xb0, 0xe5, 0x16, 0x53, 0x50, 0x59, 0x24, 0xaa, 0x1f, 0x42, - 0xd3, 0x62, 0xd0, 0x13, 0xe8, 0xf2, 0x28, 0x2a, 0x84, 0xb0, 0xfd, 0xf5, 0x56, 0xf6, 0x17, 0x4a, - 0xf8, 0x48, 0xe9, 0x57, 0x2e, 0xa5, 0x52, 0x92, 0x39, 0x75, 0xd7, 0x57, 0x8a, 0xfd, 0x09, 0x1c, - 0xd6, 0xdf, 0x7b, 0xbd, 0xe0, 0x1f, 0xfa, 0xe6, 0xff, 0xd5, 0x80, 0xa3, 0xdb, 0xfd, 0xca, 0x9c, - 0x67, 0x92, 0xa2, 0xc7, 0xd0, 0x34, 0x6f, 0x9a, 0x74, 0xce, 0xf7, 0xeb, 0xad, 0x99, 0x88, 0x64, - 0x9c, 0xf0, 0xa9, 0xbe, 0x3d, 0xec, 0xa0, 0xe8, 0x14, 0x5a, 0xb6, 0x3d, 0xd2, 0x1d, 0xfc, 0x9d, - 0xac, 0x12, 0x8b, 0xbe, 0x81, 0xee, 0xac, 0x48, 0x92, 0xd0, 0x05, 0x5c, 0x5b, 0x71, 0xee, 0x18, - 0x34, 0xfa, 0xdc, 0x86, 0xfc, 0x16, 0x36, 0x0d, 0xb7, 0x8c, 0xbb, 0xbe, 0x8a, 0x6c, 0x42, 0xfd, - 0xe2, 0x22, 0x9f, 0x01, 0x18, 0x60, 0x58, 0x88, 0x44, 0xba, 0x03, 0x7e, 0x50, 0xcf, 0xf9, 0xb9, - 0x16, 0x27, 0xf8, 0x42, 0xe2, 0x8e, 0xb1, 0x4c, 0x44, 0x22, 0xc7, 0xdf, 0xfd, 0xfe, 0x64, 0xce, - 0xd4, 0x9b, 0x62, 0x1a, 0x44, 0x3c, 0x1d, 0x1a, 0x3d, 0x17, 0x73, 0xfb, 0x67, 0xb8, 0xfc, 0x3c, - 0x98, 0xd3, 0x6c, 0x98, 0x4f, 0x1f, 0xcd, 0xf9, 0xb0, 0xfa, 0xad, 0x32, 0x6d, 0x9a, 0x85, 0x78, - 0xfc, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xcb, 0x61, 0x27, 0xf9, 0x08, 0x00, 0x00, +var File_flyteidl_admin_task_execution_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_task_execution_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, + 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, + 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x17, 0x54, 0x61, + 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0xe3, 0x01, + 0x0a, 0x18, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x11, 0x6e, 0x6f, + 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x6e, + 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x73, 0x6f, 0x72, + 0x74, 0x42, 0x79, 0x22, 0xc1, 0x01, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x12, 0x3e, 0x0a, 0x07, 0x63, 0x6c, + 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, + 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, + 0x65, 0x52, 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x71, 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0f, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9c, 0x06, 0x0a, 0x14, 0x54, + 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, + 0x75, 0x72, 0x65, 0x12, 0x23, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, + 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x09, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x40, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x42, + 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x38, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, + 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6c, + 0x6f, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, + 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, + 0x41, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x38, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x63, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, + 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5f, 0x0a, 0x06, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x55, 0x0a, 0x1b, 0x54, 0x61, + 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, + 0x64, 0x22, 0xbe, 0x02, 0x0a, 0x1c, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x55, 0x72, 0x6c, 0x42, 0x6c, 0x6f, + 0x62, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3a, + 0x0a, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0a, + 0x66, 0x75, 0x6c, 0x6c, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x66, 0x75, + 0x6c, 0x6c, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0b, 0x66, 0x75, 0x6c, + 0x6c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x0a, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x55, 0x52, 0x4c, 0x73, 0x52, 0x09, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x55, 0x72, + 0x6c, 0x73, 0x42, 0xbe, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, + 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_task_execution_proto_rawDescOnce sync.Once + file_flyteidl_admin_task_execution_proto_rawDescData = file_flyteidl_admin_task_execution_proto_rawDesc +) + +func file_flyteidl_admin_task_execution_proto_rawDescGZIP() []byte { + file_flyteidl_admin_task_execution_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_task_execution_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_task_execution_proto_rawDescData) + }) + return file_flyteidl_admin_task_execution_proto_rawDescData +} + +var file_flyteidl_admin_task_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_flyteidl_admin_task_execution_proto_goTypes = []interface{}{ + (*TaskExecutionGetRequest)(nil), // 0: flyteidl.admin.TaskExecutionGetRequest + (*TaskExecutionListRequest)(nil), // 1: flyteidl.admin.TaskExecutionListRequest + (*TaskExecution)(nil), // 2: flyteidl.admin.TaskExecution + (*TaskExecutionList)(nil), // 3: flyteidl.admin.TaskExecutionList + (*TaskExecutionClosure)(nil), // 4: flyteidl.admin.TaskExecutionClosure + (*Reason)(nil), // 5: flyteidl.admin.Reason + (*TaskExecutionGetDataRequest)(nil), // 6: flyteidl.admin.TaskExecutionGetDataRequest + (*TaskExecutionGetDataResponse)(nil), // 7: flyteidl.admin.TaskExecutionGetDataResponse + (*core.TaskExecutionIdentifier)(nil), // 8: flyteidl.core.TaskExecutionIdentifier + (*core.NodeExecutionIdentifier)(nil), // 9: flyteidl.core.NodeExecutionIdentifier + (*Sort)(nil), // 10: flyteidl.admin.Sort + (*core.ExecutionError)(nil), // 11: flyteidl.core.ExecutionError + (*core.LiteralMap)(nil), // 12: flyteidl.core.LiteralMap + (core.TaskExecution_Phase)(0), // 13: flyteidl.core.TaskExecution.Phase + (*core.TaskLog)(nil), // 14: flyteidl.core.TaskLog + (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 16: google.protobuf.Duration + (*structpb.Struct)(nil), // 17: google.protobuf.Struct + (*event.TaskExecutionMetadata)(nil), // 18: flyteidl.event.TaskExecutionMetadata + (*UrlBlob)(nil), // 19: flyteidl.admin.UrlBlob + (*FlyteURLs)(nil), // 20: flyteidl.admin.FlyteURLs +} +var file_flyteidl_admin_task_execution_proto_depIdxs = []int32{ + 8, // 0: flyteidl.admin.TaskExecutionGetRequest.id:type_name -> flyteidl.core.TaskExecutionIdentifier + 9, // 1: flyteidl.admin.TaskExecutionListRequest.node_execution_id:type_name -> flyteidl.core.NodeExecutionIdentifier + 10, // 2: flyteidl.admin.TaskExecutionListRequest.sort_by:type_name -> flyteidl.admin.Sort + 8, // 3: flyteidl.admin.TaskExecution.id:type_name -> flyteidl.core.TaskExecutionIdentifier + 4, // 4: flyteidl.admin.TaskExecution.closure:type_name -> flyteidl.admin.TaskExecutionClosure + 2, // 5: flyteidl.admin.TaskExecutionList.task_executions:type_name -> flyteidl.admin.TaskExecution + 11, // 6: flyteidl.admin.TaskExecutionClosure.error:type_name -> flyteidl.core.ExecutionError + 12, // 7: flyteidl.admin.TaskExecutionClosure.output_data:type_name -> flyteidl.core.LiteralMap + 13, // 8: flyteidl.admin.TaskExecutionClosure.phase:type_name -> flyteidl.core.TaskExecution.Phase + 14, // 9: flyteidl.admin.TaskExecutionClosure.logs:type_name -> flyteidl.core.TaskLog + 15, // 10: flyteidl.admin.TaskExecutionClosure.started_at:type_name -> google.protobuf.Timestamp + 16, // 11: flyteidl.admin.TaskExecutionClosure.duration:type_name -> google.protobuf.Duration + 15, // 12: flyteidl.admin.TaskExecutionClosure.created_at:type_name -> google.protobuf.Timestamp + 15, // 13: flyteidl.admin.TaskExecutionClosure.updated_at:type_name -> google.protobuf.Timestamp + 17, // 14: flyteidl.admin.TaskExecutionClosure.custom_info:type_name -> google.protobuf.Struct + 18, // 15: flyteidl.admin.TaskExecutionClosure.metadata:type_name -> flyteidl.event.TaskExecutionMetadata + 5, // 16: flyteidl.admin.TaskExecutionClosure.reasons:type_name -> flyteidl.admin.Reason + 15, // 17: flyteidl.admin.Reason.occurred_at:type_name -> google.protobuf.Timestamp + 8, // 18: flyteidl.admin.TaskExecutionGetDataRequest.id:type_name -> flyteidl.core.TaskExecutionIdentifier + 19, // 19: flyteidl.admin.TaskExecutionGetDataResponse.inputs:type_name -> flyteidl.admin.UrlBlob + 19, // 20: flyteidl.admin.TaskExecutionGetDataResponse.outputs:type_name -> flyteidl.admin.UrlBlob + 12, // 21: flyteidl.admin.TaskExecutionGetDataResponse.full_inputs:type_name -> flyteidl.core.LiteralMap + 12, // 22: flyteidl.admin.TaskExecutionGetDataResponse.full_outputs:type_name -> flyteidl.core.LiteralMap + 20, // 23: flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls:type_name -> flyteidl.admin.FlyteURLs + 24, // [24:24] is the sub-list for method output_type + 24, // [24:24] is the sub-list for method input_type + 24, // [24:24] is the sub-list for extension type_name + 24, // [24:24] is the sub-list for extension extendee + 0, // [0:24] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_task_execution_proto_init() } +func file_flyteidl_admin_task_execution_proto_init() { + if File_flyteidl_admin_task_execution_proto != nil { + return + } + file_flyteidl_admin_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_task_execution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reason); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionGetDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionGetDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_admin_task_execution_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*TaskExecutionClosure_OutputUri)(nil), + (*TaskExecutionClosure_Error)(nil), + (*TaskExecutionClosure_OutputData)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_task_execution_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_task_execution_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_task_execution_proto_depIdxs, + MessageInfos: file_flyteidl_admin_task_execution_proto_msgTypes, + }.Build() + File_flyteidl_admin_task_execution_proto = out.File + file_flyteidl_admin_task_execution_proto_rawDesc = nil + file_flyteidl_admin_task_execution_proto_goTypes = nil + file_flyteidl_admin_task_execution_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/task_execution.swagger.json deleted file mode 100644 index 8e73cb6c5b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/task_execution.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go index e2c88d1e89..aad3315217 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/version.pb.go @@ -1,180 +1,301 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/version.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Response for the GetVersion API type GetVersionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The control plane version information. FlyteAdmin and related components // form the control plane of Flyte - ControlPlaneVersion *Version `protobuf:"bytes,1,opt,name=control_plane_version,json=controlPlaneVersion,proto3" json:"control_plane_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ControlPlaneVersion *Version `protobuf:"bytes,1,opt,name=control_plane_version,json=controlPlaneVersion,proto3" json:"control_plane_version,omitempty"` } -func (m *GetVersionResponse) Reset() { *m = GetVersionResponse{} } -func (m *GetVersionResponse) String() string { return proto.CompactTextString(m) } -func (*GetVersionResponse) ProtoMessage() {} -func (*GetVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a025621cd13402e3, []int{0} +func (x *GetVersionResponse) Reset() { + *x = GetVersionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_version_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetVersionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVersionResponse.Unmarshal(m, b) +func (x *GetVersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVersionResponse.Marshal(b, m, deterministic) -} -func (m *GetVersionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVersionResponse.Merge(m, src) -} -func (m *GetVersionResponse) XXX_Size() int { - return xxx_messageInfo_GetVersionResponse.Size(m) -} -func (m *GetVersionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetVersionResponse.DiscardUnknown(m) + +func (*GetVersionResponse) ProtoMessage() {} + +func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_version_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetVersionResponse proto.InternalMessageInfo +// Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead. +func (*GetVersionResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_version_proto_rawDescGZIP(), []int{0} +} -func (m *GetVersionResponse) GetControlPlaneVersion() *Version { - if m != nil { - return m.ControlPlaneVersion +func (x *GetVersionResponse) GetControlPlaneVersion() *Version { + if x != nil { + return x.ControlPlaneVersion } return nil } // Provides Version information for a component type Version struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Specifies the GIT sha of the build Build string `protobuf:"bytes,1,opt,name=Build,proto3" json:"Build,omitempty"` // Version for the build, should follow a semver Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"` // Build timestamp - BuildTime string `protobuf:"bytes,3,opt,name=BuildTime,proto3" json:"BuildTime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BuildTime string `protobuf:"bytes,3,opt,name=BuildTime,proto3" json:"BuildTime,omitempty"` } -func (m *Version) Reset() { *m = Version{} } -func (m *Version) String() string { return proto.CompactTextString(m) } -func (*Version) ProtoMessage() {} -func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_a025621cd13402e3, []int{1} +func (x *Version) Reset() { + *x = Version{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_version_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Version) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Version.Unmarshal(m, b) -} -func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Version.Marshal(b, m, deterministic) -} -func (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, src) +func (x *Version) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Version) XXX_Size() int { - return xxx_messageInfo_Version.Size(m) -} -func (m *Version) XXX_DiscardUnknown() { - xxx_messageInfo_Version.DiscardUnknown(m) + +func (*Version) ProtoMessage() {} + +func (x *Version) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_version_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Version proto.InternalMessageInfo +// Deprecated: Use Version.ProtoReflect.Descriptor instead. +func (*Version) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_version_proto_rawDescGZIP(), []int{1} +} -func (m *Version) GetBuild() string { - if m != nil { - return m.Build +func (x *Version) GetBuild() string { + if x != nil { + return x.Build } return "" } -func (m *Version) GetVersion() string { - if m != nil { - return m.Version +func (x *Version) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *Version) GetBuildTime() string { - if m != nil { - return m.BuildTime +func (x *Version) GetBuildTime() string { + if x != nil { + return x.BuildTime } return "" } // Empty request for GetVersion type GetVersionRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetVersionRequest) Reset() { *m = GetVersionRequest{} } -func (m *GetVersionRequest) String() string { return proto.CompactTextString(m) } -func (*GetVersionRequest) ProtoMessage() {} -func (*GetVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a025621cd13402e3, []int{2} +func (x *GetVersionRequest) Reset() { + *x = GetVersionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_version_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVersionRequest.Unmarshal(m, b) -} -func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVersionRequest.Marshal(b, m, deterministic) +func (x *GetVersionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVersionRequest.Merge(m, src) + +func (*GetVersionRequest) ProtoMessage() {} + +func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_version_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetVersionRequest) XXX_Size() int { - return xxx_messageInfo_GetVersionRequest.Size(m) + +// Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead. +func (*GetVersionRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_version_proto_rawDescGZIP(), []int{2} } -func (m *GetVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetVersionRequest.DiscardUnknown(m) + +var File_flyteidl_admin_version_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_version_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x22, 0x61, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, + 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0x57, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x42, 0x75, 0x69, + 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, + 0xb8, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, + 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } -var xxx_messageInfo_GetVersionRequest proto.InternalMessageInfo +var ( + file_flyteidl_admin_version_proto_rawDescOnce sync.Once + file_flyteidl_admin_version_proto_rawDescData = file_flyteidl_admin_version_proto_rawDesc +) -func init() { - proto.RegisterType((*GetVersionResponse)(nil), "flyteidl.admin.GetVersionResponse") - proto.RegisterType((*Version)(nil), "flyteidl.admin.Version") - proto.RegisterType((*GetVersionRequest)(nil), "flyteidl.admin.GetVersionRequest") +func file_flyteidl_admin_version_proto_rawDescGZIP() []byte { + file_flyteidl_admin_version_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_version_proto_rawDescData) + }) + return file_flyteidl_admin_version_proto_rawDescData } -func init() { proto.RegisterFile("flyteidl/admin/version.proto", fileDescriptor_a025621cd13402e3) } +var file_flyteidl_admin_version_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flyteidl_admin_version_proto_goTypes = []interface{}{ + (*GetVersionResponse)(nil), // 0: flyteidl.admin.GetVersionResponse + (*Version)(nil), // 1: flyteidl.admin.Version + (*GetVersionRequest)(nil), // 2: flyteidl.admin.GetVersionRequest +} +var file_flyteidl_admin_version_proto_depIdxs = []int32{ + 1, // 0: flyteidl.admin.GetVersionResponse.control_plane_version:type_name -> flyteidl.admin.Version + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} -var fileDescriptor_a025621cd13402e3 = []byte{ - // 219 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x50, 0xbd, 0x4b, 0xc7, 0x30, - 0x10, 0xe5, 0xa7, 0xa8, 0x34, 0x82, 0x60, 0xaa, 0x98, 0xa1, 0x83, 0x74, 0x72, 0x31, 0x01, 0x1d, - 0xc5, 0xa5, 0x8b, 0x83, 0x8b, 0x14, 0x51, 0x70, 0x29, 0xfd, 0x38, 0x63, 0x20, 0xcd, 0xc5, 0x24, - 0x15, 0xfc, 0xef, 0xc5, 0x34, 0xad, 0x76, 0xbb, 0x7b, 0x5f, 0x3c, 0x1e, 0x29, 0xde, 0xf5, 0x77, - 0x00, 0x35, 0x68, 0xd1, 0x0e, 0xa3, 0x32, 0xe2, 0x0b, 0x9c, 0x57, 0x68, 0xb8, 0x75, 0x18, 0x90, - 0x9e, 0x2c, 0x2c, 0x8f, 0x6c, 0xd9, 0x12, 0xfa, 0x00, 0xe1, 0x65, 0xd6, 0xd4, 0xe0, 0x2d, 0x1a, - 0x0f, 0xf4, 0x91, 0x9c, 0xf7, 0x68, 0x82, 0x43, 0xdd, 0x58, 0xdd, 0x1a, 0x68, 0x52, 0x08, 0xdb, - 0x5d, 0xee, 0xae, 0x8e, 0x6f, 0x2e, 0xf8, 0x36, 0x85, 0x2f, 0xfe, 0x3c, 0xb9, 0x9e, 0x7e, 0x4d, - 0x09, 0x2c, 0x5f, 0xc9, 0x51, 0x3a, 0xe9, 0x19, 0x39, 0xa8, 0x26, 0xa5, 0x87, 0x98, 0x93, 0xd5, - 0xf3, 0x43, 0xd9, 0x2a, 0x60, 0x7b, 0x11, 0x5f, 0xf5, 0x05, 0xc9, 0xa2, 0xe4, 0x59, 0x8d, 0xc0, - 0xf6, 0x23, 0xf7, 0x07, 0x94, 0x39, 0x39, 0xfd, 0xdf, 0xfd, 0x73, 0x02, 0x1f, 0xaa, 0xfb, 0xb7, - 0x3b, 0xa9, 0xc2, 0xc7, 0xd4, 0xf1, 0x1e, 0x47, 0x11, 0x7b, 0xa2, 0x93, 0xf3, 0x21, 0xd6, 0x69, - 0x24, 0x18, 0x61, 0xbb, 0x6b, 0x89, 0x62, 0xbb, 0x56, 0x77, 0x18, 0x67, 0xba, 0xfd, 0x09, 0x00, - 0x00, 0xff, 0xff, 0x3b, 0x51, 0x09, 0x37, 0x46, 0x01, 0x00, 0x00, +func init() { file_flyteidl_admin_version_proto_init() } +func file_flyteidl_admin_version_proto_init() { + if File_flyteidl_admin_version_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_version_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetVersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_version_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Version); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_version_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetVersionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_version_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_version_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_version_proto_depIdxs, + MessageInfos: file_flyteidl_admin_version_proto_msgTypes, + }.Build() + File_flyteidl_admin_version_proto = out.File + file_flyteidl_admin_version_proto_rawDesc = nil + file_flyteidl_admin_version_proto_goTypes = nil + file_flyteidl_admin_version_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/version.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/version.swagger.json deleted file mode 100644 index bb45296df2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/version.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/version.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go index 0297513f72..0b55096581 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.go @@ -1,168 +1,191 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/workflow.proto package admin import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Represents a request structure to create a revision of a workflow. // See :ref:`ref_flyteidl.admin.Workflow` for more details type WorkflowCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the workflow. // +required Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Represents the specification for workflow. // +required - Spec *WorkflowSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spec *WorkflowSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *WorkflowCreateRequest) Reset() { *m = WorkflowCreateRequest{} } -func (m *WorkflowCreateRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowCreateRequest) ProtoMessage() {} -func (*WorkflowCreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{0} +func (x *WorkflowCreateRequest) Reset() { + *x = WorkflowCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowCreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowCreateRequest.Unmarshal(m, b) +func (x *WorkflowCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowCreateRequest.Marshal(b, m, deterministic) -} -func (m *WorkflowCreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowCreateRequest.Merge(m, src) -} -func (m *WorkflowCreateRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowCreateRequest.Size(m) -} -func (m *WorkflowCreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowCreateRequest.DiscardUnknown(m) + +func (*WorkflowCreateRequest) ProtoMessage() {} + +func (x *WorkflowCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowCreateRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowCreateRequest.ProtoReflect.Descriptor instead. +func (*WorkflowCreateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{0} +} -func (m *WorkflowCreateRequest) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *WorkflowCreateRequest) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *WorkflowCreateRequest) GetSpec() *WorkflowSpec { - if m != nil { - return m.Spec +func (x *WorkflowCreateRequest) GetSpec() *WorkflowSpec { + if x != nil { + return x.Spec } return nil } type WorkflowCreateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WorkflowCreateResponse) Reset() { *m = WorkflowCreateResponse{} } -func (m *WorkflowCreateResponse) String() string { return proto.CompactTextString(m) } -func (*WorkflowCreateResponse) ProtoMessage() {} -func (*WorkflowCreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{1} +func (x *WorkflowCreateResponse) Reset() { + *x = WorkflowCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowCreateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowCreateResponse.Unmarshal(m, b) -} -func (m *WorkflowCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowCreateResponse.Marshal(b, m, deterministic) +func (x *WorkflowCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowCreateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowCreateResponse.Merge(m, src) -} -func (m *WorkflowCreateResponse) XXX_Size() int { - return xxx_messageInfo_WorkflowCreateResponse.Size(m) -} -func (m *WorkflowCreateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowCreateResponse.DiscardUnknown(m) + +func (*WorkflowCreateResponse) ProtoMessage() {} + +func (x *WorkflowCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowCreateResponse proto.InternalMessageInfo +// Deprecated: Use WorkflowCreateResponse.ProtoReflect.Descriptor instead. +func (*WorkflowCreateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{1} +} // Represents the workflow structure stored in the Admin // A workflow is created by ordering tasks and associating outputs to inputs // in order to produce a directed-acyclic execution graph. type Workflow struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the workflow. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // closure encapsulates all the fields that maps to a compiled version of the workflow. Closure *WorkflowClosure `protobuf:"bytes,2,opt,name=closure,proto3" json:"closure,omitempty"` // One-liner overview of the entity. - ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` } -func (m *Workflow) Reset() { *m = Workflow{} } -func (m *Workflow) String() string { return proto.CompactTextString(m) } -func (*Workflow) ProtoMessage() {} -func (*Workflow) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{2} +func (x *Workflow) Reset() { + *x = Workflow{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Workflow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Workflow.Unmarshal(m, b) -} -func (m *Workflow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Workflow.Marshal(b, m, deterministic) -} -func (m *Workflow) XXX_Merge(src proto.Message) { - xxx_messageInfo_Workflow.Merge(m, src) +func (x *Workflow) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Workflow) XXX_Size() int { - return xxx_messageInfo_Workflow.Size(m) -} -func (m *Workflow) XXX_DiscardUnknown() { - xxx_messageInfo_Workflow.DiscardUnknown(m) + +func (*Workflow) ProtoMessage() {} + +func (x *Workflow) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Workflow proto.InternalMessageInfo +// Deprecated: Use Workflow.ProtoReflect.Descriptor instead. +func (*Workflow) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{2} +} -func (m *Workflow) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *Workflow) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *Workflow) GetClosure() *WorkflowClosure { - if m != nil { - return m.Closure +func (x *Workflow) GetClosure() *WorkflowClosure { + if x != nil { + return x.Closure } return nil } -func (m *Workflow) GetShortDescription() string { - if m != nil { - return m.ShortDescription +func (x *Workflow) GetShortDescription() string { + if x != nil { + return x.ShortDescription } return "" } @@ -170,57 +193,69 @@ func (m *Workflow) GetShortDescription() string { // Represents a list of workflows returned from the admin. // See :ref:`ref_flyteidl.admin.Workflow` for more details type WorkflowList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of workflows returned based on the request. Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"` // In the case of multiple pages of results, the server-provided token can be used to fetch the next page // in a query. If there are no more results, this value will be empty. - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } -func (m *WorkflowList) Reset() { *m = WorkflowList{} } -func (m *WorkflowList) String() string { return proto.CompactTextString(m) } -func (*WorkflowList) ProtoMessage() {} -func (*WorkflowList) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{3} +func (x *WorkflowList) Reset() { + *x = WorkflowList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowList.Unmarshal(m, b) -} -func (m *WorkflowList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowList.Marshal(b, m, deterministic) -} -func (m *WorkflowList) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowList.Merge(m, src) -} -func (m *WorkflowList) XXX_Size() int { - return xxx_messageInfo_WorkflowList.Size(m) +func (x *WorkflowList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowList) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowList.DiscardUnknown(m) + +func (*WorkflowList) ProtoMessage() {} + +func (x *WorkflowList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowList proto.InternalMessageInfo +// Deprecated: Use WorkflowList.ProtoReflect.Descriptor instead. +func (*WorkflowList) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{3} +} -func (m *WorkflowList) GetWorkflows() []*Workflow { - if m != nil { - return m.Workflows +func (x *WorkflowList) GetWorkflows() []*Workflow { + if x != nil { + return x.Workflows } return nil } -func (m *WorkflowList) GetToken() string { - if m != nil { - return m.Token +func (x *WorkflowList) GetToken() string { + if x != nil { + return x.Token } return "" } // Represents a structure that encapsulates the specification of the workflow. type WorkflowSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Template of the task that encapsulates all the metadata of the workflow. Template *core.WorkflowTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the @@ -228,223 +263,281 @@ type WorkflowSpec struct { // to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. SubWorkflows []*core.WorkflowTemplate `protobuf:"bytes,2,rep,name=sub_workflows,json=subWorkflows,proto3" json:"sub_workflows,omitempty"` // Represents the specification for description entity. - Description *DescriptionEntity `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description *DescriptionEntity `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` } -func (m *WorkflowSpec) Reset() { *m = WorkflowSpec{} } -func (m *WorkflowSpec) String() string { return proto.CompactTextString(m) } -func (*WorkflowSpec) ProtoMessage() {} -func (*WorkflowSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{4} +func (x *WorkflowSpec) Reset() { + *x = WorkflowSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowSpec.Unmarshal(m, b) -} -func (m *WorkflowSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowSpec.Marshal(b, m, deterministic) -} -func (m *WorkflowSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowSpec.Merge(m, src) +func (x *WorkflowSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowSpec) XXX_Size() int { - return xxx_messageInfo_WorkflowSpec.Size(m) -} -func (m *WorkflowSpec) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowSpec.DiscardUnknown(m) + +func (*WorkflowSpec) ProtoMessage() {} + +func (x *WorkflowSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowSpec proto.InternalMessageInfo +// Deprecated: Use WorkflowSpec.ProtoReflect.Descriptor instead. +func (*WorkflowSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{4} +} -func (m *WorkflowSpec) GetTemplate() *core.WorkflowTemplate { - if m != nil { - return m.Template +func (x *WorkflowSpec) GetTemplate() *core.WorkflowTemplate { + if x != nil { + return x.Template } return nil } -func (m *WorkflowSpec) GetSubWorkflows() []*core.WorkflowTemplate { - if m != nil { - return m.SubWorkflows +func (x *WorkflowSpec) GetSubWorkflows() []*core.WorkflowTemplate { + if x != nil { + return x.SubWorkflows } return nil } -func (m *WorkflowSpec) GetDescription() *DescriptionEntity { - if m != nil { - return m.Description +func (x *WorkflowSpec) GetDescription() *DescriptionEntity { + if x != nil { + return x.Description } return nil } // A container holding the compiled workflow produced from the WorkflowSpec and additional metadata. type WorkflowClosure struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Represents the compiled representation of the workflow from the specification provided. CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,1,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` // Time at which the workflow was created. - CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` } -func (m *WorkflowClosure) Reset() { *m = WorkflowClosure{} } -func (m *WorkflowClosure) String() string { return proto.CompactTextString(m) } -func (*WorkflowClosure) ProtoMessage() {} -func (*WorkflowClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{5} +func (x *WorkflowClosure) Reset() { + *x = WorkflowClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowClosure.Unmarshal(m, b) -} -func (m *WorkflowClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowClosure.Marshal(b, m, deterministic) -} -func (m *WorkflowClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowClosure.Merge(m, src) -} -func (m *WorkflowClosure) XXX_Size() int { - return xxx_messageInfo_WorkflowClosure.Size(m) +func (x *WorkflowClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowClosure) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowClosure.DiscardUnknown(m) + +func (*WorkflowClosure) ProtoMessage() {} + +func (x *WorkflowClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowClosure proto.InternalMessageInfo +// Deprecated: Use WorkflowClosure.ProtoReflect.Descriptor instead. +func (*WorkflowClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{5} +} -func (m *WorkflowClosure) GetCompiledWorkflow() *core.CompiledWorkflowClosure { - if m != nil { - return m.CompiledWorkflow +func (x *WorkflowClosure) GetCompiledWorkflow() *core.CompiledWorkflowClosure { + if x != nil { + return x.CompiledWorkflow } return nil } -func (m *WorkflowClosure) GetCreatedAt() *timestamp.Timestamp { - if m != nil { - return m.CreatedAt +func (x *WorkflowClosure) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt } return nil } // The workflow id is already used and the structure is different type WorkflowErrorExistsDifferentStructure struct { - Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WorkflowErrorExistsDifferentStructure) Reset() { *m = WorkflowErrorExistsDifferentStructure{} } -func (m *WorkflowErrorExistsDifferentStructure) String() string { return proto.CompactTextString(m) } -func (*WorkflowErrorExistsDifferentStructure) ProtoMessage() {} -func (*WorkflowErrorExistsDifferentStructure) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{6} + Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *WorkflowErrorExistsDifferentStructure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowErrorExistsDifferentStructure.Unmarshal(m, b) -} -func (m *WorkflowErrorExistsDifferentStructure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowErrorExistsDifferentStructure.Marshal(b, m, deterministic) -} -func (m *WorkflowErrorExistsDifferentStructure) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowErrorExistsDifferentStructure.Merge(m, src) +func (x *WorkflowErrorExistsDifferentStructure) Reset() { + *x = WorkflowErrorExistsDifferentStructure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowErrorExistsDifferentStructure) XXX_Size() int { - return xxx_messageInfo_WorkflowErrorExistsDifferentStructure.Size(m) + +func (x *WorkflowErrorExistsDifferentStructure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowErrorExistsDifferentStructure) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowErrorExistsDifferentStructure.DiscardUnknown(m) + +func (*WorkflowErrorExistsDifferentStructure) ProtoMessage() {} + +func (x *WorkflowErrorExistsDifferentStructure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowErrorExistsDifferentStructure proto.InternalMessageInfo +// Deprecated: Use WorkflowErrorExistsDifferentStructure.ProtoReflect.Descriptor instead. +func (*WorkflowErrorExistsDifferentStructure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{6} +} -func (m *WorkflowErrorExistsDifferentStructure) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *WorkflowErrorExistsDifferentStructure) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } // The workflow id is already used with an identical sctructure type WorkflowErrorExistsIdenticalStructure struct { - Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WorkflowErrorExistsIdenticalStructure) Reset() { *m = WorkflowErrorExistsIdenticalStructure{} } -func (m *WorkflowErrorExistsIdenticalStructure) String() string { return proto.CompactTextString(m) } -func (*WorkflowErrorExistsIdenticalStructure) ProtoMessage() {} -func (*WorkflowErrorExistsIdenticalStructure) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{7} + Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *WorkflowErrorExistsIdenticalStructure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowErrorExistsIdenticalStructure.Unmarshal(m, b) -} -func (m *WorkflowErrorExistsIdenticalStructure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowErrorExistsIdenticalStructure.Marshal(b, m, deterministic) -} -func (m *WorkflowErrorExistsIdenticalStructure) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowErrorExistsIdenticalStructure.Merge(m, src) +func (x *WorkflowErrorExistsIdenticalStructure) Reset() { + *x = WorkflowErrorExistsIdenticalStructure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowErrorExistsIdenticalStructure) XXX_Size() int { - return xxx_messageInfo_WorkflowErrorExistsIdenticalStructure.Size(m) + +func (x *WorkflowErrorExistsIdenticalStructure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowErrorExistsIdenticalStructure) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowErrorExistsIdenticalStructure.DiscardUnknown(m) + +func (*WorkflowErrorExistsIdenticalStructure) ProtoMessage() {} + +func (x *WorkflowErrorExistsIdenticalStructure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowErrorExistsIdenticalStructure proto.InternalMessageInfo +// Deprecated: Use WorkflowErrorExistsIdenticalStructure.ProtoReflect.Descriptor instead. +func (*WorkflowErrorExistsIdenticalStructure) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{7} +} -func (m *WorkflowErrorExistsIdenticalStructure) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *WorkflowErrorExistsIdenticalStructure) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } // When a CreateWorkflowRequest fails due to matching id type CreateWorkflowFailureReason struct { - // Types that are valid to be assigned to Reason: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Reason: + // // *CreateWorkflowFailureReason_ExistsDifferentStructure // *CreateWorkflowFailureReason_ExistsIdenticalStructure - Reason isCreateWorkflowFailureReason_Reason `protobuf_oneof:"reason"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reason isCreateWorkflowFailureReason_Reason `protobuf_oneof:"reason"` } -func (m *CreateWorkflowFailureReason) Reset() { *m = CreateWorkflowFailureReason{} } -func (m *CreateWorkflowFailureReason) String() string { return proto.CompactTextString(m) } -func (*CreateWorkflowFailureReason) ProtoMessage() {} -func (*CreateWorkflowFailureReason) Descriptor() ([]byte, []int) { - return fileDescriptor_827ade3f2372dc85, []int{8} +func (x *CreateWorkflowFailureReason) Reset() { + *x = CreateWorkflowFailureReason{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateWorkflowFailureReason) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateWorkflowFailureReason.Unmarshal(m, b) +func (x *CreateWorkflowFailureReason) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateWorkflowFailureReason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateWorkflowFailureReason.Marshal(b, m, deterministic) + +func (*CreateWorkflowFailureReason) ProtoMessage() {} + +func (x *CreateWorkflowFailureReason) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *CreateWorkflowFailureReason) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateWorkflowFailureReason.Merge(m, src) + +// Deprecated: Use CreateWorkflowFailureReason.ProtoReflect.Descriptor instead. +func (*CreateWorkflowFailureReason) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_proto_rawDescGZIP(), []int{8} } -func (m *CreateWorkflowFailureReason) XXX_Size() int { - return xxx_messageInfo_CreateWorkflowFailureReason.Size(m) + +func (m *CreateWorkflowFailureReason) GetReason() isCreateWorkflowFailureReason_Reason { + if m != nil { + return m.Reason + } + return nil } -func (m *CreateWorkflowFailureReason) XXX_DiscardUnknown() { - xxx_messageInfo_CreateWorkflowFailureReason.DiscardUnknown(m) + +func (x *CreateWorkflowFailureReason) GetExistsDifferentStructure() *WorkflowErrorExistsDifferentStructure { + if x, ok := x.GetReason().(*CreateWorkflowFailureReason_ExistsDifferentStructure); ok { + return x.ExistsDifferentStructure + } + return nil } -var xxx_messageInfo_CreateWorkflowFailureReason proto.InternalMessageInfo +func (x *CreateWorkflowFailureReason) GetExistsIdenticalStructure() *WorkflowErrorExistsIdenticalStructure { + if x, ok := x.GetReason().(*CreateWorkflowFailureReason_ExistsIdenticalStructure); ok { + return x.ExistsIdenticalStructure + } + return nil +} type isCreateWorkflowFailureReason_Reason interface { isCreateWorkflowFailureReason_Reason() @@ -462,86 +555,301 @@ func (*CreateWorkflowFailureReason_ExistsDifferentStructure) isCreateWorkflowFai func (*CreateWorkflowFailureReason_ExistsIdenticalStructure) isCreateWorkflowFailureReason_Reason() {} -func (m *CreateWorkflowFailureReason) GetReason() isCreateWorkflowFailureReason_Reason { - if m != nil { - return m.Reason - } - return nil -} +var File_flyteidl_admin_workflow_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_workflow_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, + 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, + 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x18, 0x0a, 0x16, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, + 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, + 0x07, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x68, 0x6f, 0x72, + 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5c, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0xd6, 0x01, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x3b, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa1, 0x01, 0x0a, + 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, + 0x12, 0x53, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, + 0x69, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6c, 0x6f, 0x73, + 0x75, 0x72, 0x65, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x22, 0x52, 0x0a, 0x25, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x44, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x52, 0x0a, 0x25, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x29, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x22, 0x95, 0x02, 0x0a, 0x1b, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x46, 0x61, 0x69, 0x6c, 0x75, + 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x75, 0x0a, 0x1a, 0x65, 0x78, 0x69, 0x73, + 0x74, 0x73, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x44, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x18, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x44, 0x69, 0x66, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, + 0x75, 0x0a, 0x1a, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x18, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x42, 0xb9, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, 0x0e, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, 0x02, 0x1a, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_workflow_proto_rawDescOnce sync.Once + file_flyteidl_admin_workflow_proto_rawDescData = file_flyteidl_admin_workflow_proto_rawDesc +) -func (m *CreateWorkflowFailureReason) GetExistsDifferentStructure() *WorkflowErrorExistsDifferentStructure { - if x, ok := m.GetReason().(*CreateWorkflowFailureReason_ExistsDifferentStructure); ok { - return x.ExistsDifferentStructure +func file_flyteidl_admin_workflow_proto_rawDescGZIP() []byte { + file_flyteidl_admin_workflow_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_workflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_workflow_proto_rawDescData) + }) + return file_flyteidl_admin_workflow_proto_rawDescData +} + +var file_flyteidl_admin_workflow_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_flyteidl_admin_workflow_proto_goTypes = []interface{}{ + (*WorkflowCreateRequest)(nil), // 0: flyteidl.admin.WorkflowCreateRequest + (*WorkflowCreateResponse)(nil), // 1: flyteidl.admin.WorkflowCreateResponse + (*Workflow)(nil), // 2: flyteidl.admin.Workflow + (*WorkflowList)(nil), // 3: flyteidl.admin.WorkflowList + (*WorkflowSpec)(nil), // 4: flyteidl.admin.WorkflowSpec + (*WorkflowClosure)(nil), // 5: flyteidl.admin.WorkflowClosure + (*WorkflowErrorExistsDifferentStructure)(nil), // 6: flyteidl.admin.WorkflowErrorExistsDifferentStructure + (*WorkflowErrorExistsIdenticalStructure)(nil), // 7: flyteidl.admin.WorkflowErrorExistsIdenticalStructure + (*CreateWorkflowFailureReason)(nil), // 8: flyteidl.admin.CreateWorkflowFailureReason + (*core.Identifier)(nil), // 9: flyteidl.core.Identifier + (*core.WorkflowTemplate)(nil), // 10: flyteidl.core.WorkflowTemplate + (*DescriptionEntity)(nil), // 11: flyteidl.admin.DescriptionEntity + (*core.CompiledWorkflowClosure)(nil), // 12: flyteidl.core.CompiledWorkflowClosure + (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp +} +var file_flyteidl_admin_workflow_proto_depIdxs = []int32{ + 9, // 0: flyteidl.admin.WorkflowCreateRequest.id:type_name -> flyteidl.core.Identifier + 4, // 1: flyteidl.admin.WorkflowCreateRequest.spec:type_name -> flyteidl.admin.WorkflowSpec + 9, // 2: flyteidl.admin.Workflow.id:type_name -> flyteidl.core.Identifier + 5, // 3: flyteidl.admin.Workflow.closure:type_name -> flyteidl.admin.WorkflowClosure + 2, // 4: flyteidl.admin.WorkflowList.workflows:type_name -> flyteidl.admin.Workflow + 10, // 5: flyteidl.admin.WorkflowSpec.template:type_name -> flyteidl.core.WorkflowTemplate + 10, // 6: flyteidl.admin.WorkflowSpec.sub_workflows:type_name -> flyteidl.core.WorkflowTemplate + 11, // 7: flyteidl.admin.WorkflowSpec.description:type_name -> flyteidl.admin.DescriptionEntity + 12, // 8: flyteidl.admin.WorkflowClosure.compiled_workflow:type_name -> flyteidl.core.CompiledWorkflowClosure + 13, // 9: flyteidl.admin.WorkflowClosure.created_at:type_name -> google.protobuf.Timestamp + 9, // 10: flyteidl.admin.WorkflowErrorExistsDifferentStructure.id:type_name -> flyteidl.core.Identifier + 9, // 11: flyteidl.admin.WorkflowErrorExistsIdenticalStructure.id:type_name -> flyteidl.core.Identifier + 6, // 12: flyteidl.admin.CreateWorkflowFailureReason.exists_different_structure:type_name -> flyteidl.admin.WorkflowErrorExistsDifferentStructure + 7, // 13: flyteidl.admin.CreateWorkflowFailureReason.exists_identical_structure:type_name -> flyteidl.admin.WorkflowErrorExistsIdenticalStructure + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_workflow_proto_init() } +func file_flyteidl_admin_workflow_proto_init() { + if File_flyteidl_admin_workflow_proto != nil { + return } - return nil -} - -func (m *CreateWorkflowFailureReason) GetExistsIdenticalStructure() *WorkflowErrorExistsIdenticalStructure { - if x, ok := m.GetReason().(*CreateWorkflowFailureReason_ExistsIdenticalStructure); ok { - return x.ExistsIdenticalStructure + file_flyteidl_admin_description_entity_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_workflow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Workflow); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowErrorExistsDifferentStructure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowErrorExistsIdenticalStructure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateWorkflowFailureReason); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CreateWorkflowFailureReason) XXX_OneofWrappers() []interface{} { - return []interface{}{ + file_flyteidl_admin_workflow_proto_msgTypes[8].OneofWrappers = []interface{}{ (*CreateWorkflowFailureReason_ExistsDifferentStructure)(nil), (*CreateWorkflowFailureReason_ExistsIdenticalStructure)(nil), } -} - -func init() { - proto.RegisterType((*WorkflowCreateRequest)(nil), "flyteidl.admin.WorkflowCreateRequest") - proto.RegisterType((*WorkflowCreateResponse)(nil), "flyteidl.admin.WorkflowCreateResponse") - proto.RegisterType((*Workflow)(nil), "flyteidl.admin.Workflow") - proto.RegisterType((*WorkflowList)(nil), "flyteidl.admin.WorkflowList") - proto.RegisterType((*WorkflowSpec)(nil), "flyteidl.admin.WorkflowSpec") - proto.RegisterType((*WorkflowClosure)(nil), "flyteidl.admin.WorkflowClosure") - proto.RegisterType((*WorkflowErrorExistsDifferentStructure)(nil), "flyteidl.admin.WorkflowErrorExistsDifferentStructure") - proto.RegisterType((*WorkflowErrorExistsIdenticalStructure)(nil), "flyteidl.admin.WorkflowErrorExistsIdenticalStructure") - proto.RegisterType((*CreateWorkflowFailureReason)(nil), "flyteidl.admin.CreateWorkflowFailureReason") -} - -func init() { proto.RegisterFile("flyteidl/admin/workflow.proto", fileDescriptor_827ade3f2372dc85) } - -var fileDescriptor_827ade3f2372dc85 = []byte{ - // 592 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x25, 0x19, 0x8c, 0xd5, 0x1d, 0xb0, 0x45, 0x80, 0x42, 0x19, 0x6c, 0x44, 0x02, 0x8a, 0x10, - 0x09, 0x2a, 0x02, 0x69, 0x9a, 0x78, 0x60, 0x6d, 0x11, 0x48, 0x3c, 0xb9, 0x93, 0x26, 0x21, 0xa4, - 0x28, 0x1f, 0x37, 0x99, 0xb5, 0x24, 0x0e, 0xb6, 0xa3, 0xb1, 0x1f, 0xc2, 0x23, 0x0f, 0xfc, 0x29, - 0x7e, 0x0f, 0xaa, 0x63, 0x27, 0x6d, 0xa6, 0xc2, 0xe0, 0xad, 0xe9, 0x3d, 0x3e, 0xe7, 0xdc, 0xe3, - 0x7b, 0x8d, 0x1e, 0x24, 0xd9, 0xb9, 0x00, 0x12, 0x67, 0x5e, 0x10, 0xe7, 0xa4, 0xf0, 0xce, 0x28, - 0x3b, 0x4d, 0x32, 0x7a, 0xe6, 0x96, 0x8c, 0x0a, 0x6a, 0xdd, 0xd4, 0x65, 0x57, 0x96, 0x07, 0x3b, - 0x0d, 0x3c, 0xa2, 0x0c, 0xbc, 0x88, 0xe6, 0x25, 0xc9, 0x80, 0xd5, 0xe8, 0xc1, 0xc3, 0xe5, 0x2a, - 0x89, 0xa1, 0x10, 0x24, 0x21, 0x4d, 0xbd, 0x73, 0x7a, 0x59, 0x6b, 0xf0, 0xb4, 0x63, 0x25, 0x06, - 0x1e, 0x31, 0x52, 0x0a, 0x42, 0x0b, 0x7f, 0x4e, 0x24, 0xce, 0x15, 0x70, 0x37, 0xa5, 0x34, 0xcd, - 0xc0, 0x93, 0x5f, 0x61, 0x95, 0x78, 0x82, 0xe4, 0xc0, 0x45, 0x90, 0x97, 0x35, 0xc0, 0x11, 0xe8, - 0xce, 0xb1, 0xe2, 0x1e, 0x33, 0x08, 0x04, 0x60, 0xf8, 0x5a, 0x01, 0x17, 0xd6, 0x33, 0x64, 0x92, - 0xd8, 0x36, 0xf6, 0x8c, 0x61, 0x7f, 0x74, 0xcf, 0x6d, 0x7a, 0x9b, 0xbb, 0x71, 0x3f, 0x36, 0x6e, - 0xb1, 0x49, 0x62, 0xeb, 0x25, 0xba, 0xca, 0x4b, 0x88, 0x6c, 0x53, 0x82, 0x77, 0xdc, 0xe5, 0x20, - 0x5c, 0xcd, 0x3f, 0x2b, 0x21, 0xc2, 0x12, 0xe9, 0xd8, 0xe8, 0x6e, 0x57, 0x95, 0x97, 0xb4, 0xe0, - 0xe0, 0xfc, 0x30, 0xd0, 0x86, 0x2e, 0xfd, 0x8b, 0x87, 0x7d, 0x74, 0x3d, 0xca, 0x28, 0xaf, 0x18, - 0x28, 0x1b, 0xbb, 0xab, 0x6c, 0x8c, 0x6b, 0x18, 0xd6, 0x78, 0xeb, 0x39, 0xda, 0xe6, 0x27, 0x94, - 0x09, 0x7f, 0x21, 0x45, 0x7b, 0x6d, 0xcf, 0x18, 0xf6, 0xf0, 0x96, 0x2c, 0x4c, 0xda, 0xff, 0x9d, - 0x2f, 0x68, 0x53, 0x13, 0x7d, 0x22, 0x5c, 0x58, 0x6f, 0x50, 0x4f, 0xdf, 0x0d, 0xb7, 0x8d, 0xbd, - 0xb5, 0x61, 0x7f, 0x64, 0xaf, 0x52, 0xc6, 0x2d, 0xd4, 0xba, 0x8d, 0xae, 0x09, 0x7a, 0x0a, 0x85, - 0x74, 0xdb, 0xc3, 0xf5, 0x87, 0xf3, 0xcb, 0x68, 0xe9, 0xe7, 0x71, 0x59, 0x07, 0x68, 0x43, 0x40, - 0x5e, 0x66, 0x81, 0x00, 0x95, 0xc3, 0x6e, 0x27, 0x07, 0x0d, 0x3f, 0x52, 0x30, 0xdc, 0x1c, 0xb0, - 0x26, 0xe8, 0x06, 0xaf, 0x42, 0xbf, 0xf5, 0x67, 0x4a, 0x7f, 0x7f, 0x65, 0xd8, 0xe4, 0x55, 0x78, - 0xdc, 0x38, 0x1d, 0xa3, 0x7e, 0x37, 0x98, 0xfe, 0xe8, 0x51, 0xb7, 0xc7, 0x85, 0x8c, 0xa6, 0x72, - 0x00, 0xf1, 0xe2, 0x29, 0xe7, 0xa7, 0x81, 0x6e, 0x75, 0x2e, 0xc0, 0x9a, 0xa1, 0x6d, 0xb5, 0x14, - 0x71, 0xe3, 0x51, 0x35, 0xf9, 0xa4, 0x63, 0x71, 0xac, 0x70, 0xdd, 0x3b, 0xdc, 0x8a, 0x3a, 0x05, - 0x6b, 0x1f, 0xa1, 0x48, 0x4e, 0x54, 0xec, 0x07, 0x42, 0x8d, 0xc2, 0xc0, 0xad, 0xb7, 0xc0, 0xd5, - 0x5b, 0xe0, 0x1e, 0xe9, 0x2d, 0xc0, 0x3d, 0x85, 0x7e, 0x27, 0x1c, 0x8c, 0x1e, 0x6b, 0x9a, 0x29, - 0x63, 0x94, 0x4d, 0xbf, 0x11, 0x2e, 0xf8, 0x84, 0x24, 0x09, 0x30, 0x28, 0xc4, 0x4c, 0xb0, 0x2a, - 0x12, 0x73, 0xe3, 0x97, 0x1f, 0xcb, 0x15, 0x9c, 0x35, 0x28, 0x0a, 0xb2, 0xff, 0xe2, 0xfc, 0x6e, - 0xa2, 0xfb, 0xf5, 0xd6, 0x68, 0xea, 0xf7, 0x01, 0xc9, 0xe6, 0x71, 0x40, 0xc0, 0x69, 0x61, 0x55, - 0x68, 0x00, 0x52, 0xc6, 0x8f, 0xb5, 0x77, 0x9f, 0x6b, 0x21, 0x25, 0xf1, 0x7a, 0xd5, 0x8c, 0xfe, - 0xb1, 0xf3, 0x0f, 0x57, 0xb0, 0x0d, 0xab, 0x52, 0x69, 0x65, 0x89, 0x6e, 0x6f, 0x41, 0xd6, 0xbc, - 0xb4, 0xec, 0xc5, 0x70, 0x5a, 0xd9, 0x8b, 0xb5, 0xc3, 0x0d, 0xb4, 0xce, 0x64, 0xdf, 0x87, 0x6f, - 0x3f, 0x1f, 0xa4, 0x44, 0x9c, 0x54, 0xa1, 0x1b, 0xd1, 0xdc, 0x93, 0x42, 0x94, 0xa5, 0xf5, 0x0f, - 0xaf, 0x79, 0x30, 0x53, 0x28, 0xbc, 0x32, 0x7c, 0x91, 0x52, 0x6f, 0xf9, 0x0d, 0x0d, 0xd7, 0xe5, - 0x74, 0xbc, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x31, 0xff, 0x42, 0x9e, 0xe7, 0x05, 0x00, 0x00, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_workflow_proto_rawDesc, + NumEnums: 0, + NumMessages: 9, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_workflow_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_workflow_proto_depIdxs, + MessageInfos: file_flyteidl_admin_workflow_proto_msgTypes, + }.Build() + File_flyteidl_admin_workflow_proto = out.File + file_flyteidl_admin_workflow_proto_rawDesc = nil + file_flyteidl_admin_workflow_proto_goTypes = nil + file_flyteidl_admin_workflow_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/workflow.swagger.json deleted file mode 100644 index 7e1bd220f5..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/workflow.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go index 7d7b831b1a..fcebfd85e7 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go @@ -1,28 +1,32 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/admin/workflow_attributes.proto package admin import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type WorkflowAttributes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id for which this set of attributes will be applied. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Unique domain id for which this set of attributes will be applied. @@ -31,68 +35,72 @@ type WorkflowAttributes struct { Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` MatchingAttributes *MatchingAttributes `protobuf:"bytes,4,opt,name=matching_attributes,json=matchingAttributes,proto3" json:"matching_attributes,omitempty"` // Optional, org key applied to the attributes. - Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` } -func (m *WorkflowAttributes) Reset() { *m = WorkflowAttributes{} } -func (m *WorkflowAttributes) String() string { return proto.CompactTextString(m) } -func (*WorkflowAttributes) ProtoMessage() {} -func (*WorkflowAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_8ba8a51ab86bc38c, []int{0} +func (x *WorkflowAttributes) Reset() { + *x = WorkflowAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowAttributes.Unmarshal(m, b) +func (x *WorkflowAttributes) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowAttributes.Marshal(b, m, deterministic) -} -func (m *WorkflowAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowAttributes.Merge(m, src) -} -func (m *WorkflowAttributes) XXX_Size() int { - return xxx_messageInfo_WorkflowAttributes.Size(m) -} -func (m *WorkflowAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowAttributes.DiscardUnknown(m) + +func (*WorkflowAttributes) ProtoMessage() {} + +func (x *WorkflowAttributes) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowAttributes proto.InternalMessageInfo +// Deprecated: Use WorkflowAttributes.ProtoReflect.Descriptor instead. +func (*WorkflowAttributes) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP(), []int{0} +} -func (m *WorkflowAttributes) GetProject() string { - if m != nil { - return m.Project +func (x *WorkflowAttributes) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *WorkflowAttributes) GetDomain() string { - if m != nil { - return m.Domain +func (x *WorkflowAttributes) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *WorkflowAttributes) GetWorkflow() string { - if m != nil { - return m.Workflow +func (x *WorkflowAttributes) GetWorkflow() string { + if x != nil { + return x.Workflow } return "" } -func (m *WorkflowAttributes) GetMatchingAttributes() *MatchingAttributes { - if m != nil { - return m.MatchingAttributes +func (x *WorkflowAttributes) GetMatchingAttributes() *MatchingAttributes { + if x != nil { + return x.MatchingAttributes } return nil } -func (m *WorkflowAttributes) GetOrg() string { - if m != nil { - return m.Org +func (x *WorkflowAttributes) GetOrg() string { + if x != nil { + return x.Org } return "" } @@ -100,79 +108,98 @@ func (m *WorkflowAttributes) GetOrg() string { // Sets custom attributes for a project, domain and workflow combination. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type WorkflowAttributesUpdateRequest struct { - Attributes *WorkflowAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WorkflowAttributesUpdateRequest) Reset() { *m = WorkflowAttributesUpdateRequest{} } -func (m *WorkflowAttributesUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowAttributesUpdateRequest) ProtoMessage() {} -func (*WorkflowAttributesUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ba8a51ab86bc38c, []int{1} + Attributes *WorkflowAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` } -func (m *WorkflowAttributesUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowAttributesUpdateRequest.Unmarshal(m, b) -} -func (m *WorkflowAttributesUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowAttributesUpdateRequest.Marshal(b, m, deterministic) -} -func (m *WorkflowAttributesUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowAttributesUpdateRequest.Merge(m, src) +func (x *WorkflowAttributesUpdateRequest) Reset() { + *x = WorkflowAttributesUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowAttributesUpdateRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowAttributesUpdateRequest.Size(m) + +func (x *WorkflowAttributesUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowAttributesUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowAttributesUpdateRequest.DiscardUnknown(m) + +func (*WorkflowAttributesUpdateRequest) ProtoMessage() {} + +func (x *WorkflowAttributesUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowAttributesUpdateRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowAttributesUpdateRequest.ProtoReflect.Descriptor instead. +func (*WorkflowAttributesUpdateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP(), []int{1} +} -func (m *WorkflowAttributesUpdateRequest) GetAttributes() *WorkflowAttributes { - if m != nil { - return m.Attributes +func (x *WorkflowAttributesUpdateRequest) GetAttributes() *WorkflowAttributes { + if x != nil { + return x.Attributes } return nil } // Purposefully empty, may be populated in the future. type WorkflowAttributesUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WorkflowAttributesUpdateResponse) Reset() { *m = WorkflowAttributesUpdateResponse{} } -func (m *WorkflowAttributesUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*WorkflowAttributesUpdateResponse) ProtoMessage() {} -func (*WorkflowAttributesUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ba8a51ab86bc38c, []int{2} +func (x *WorkflowAttributesUpdateResponse) Reset() { + *x = WorkflowAttributesUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowAttributesUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowAttributesUpdateResponse.Unmarshal(m, b) -} -func (m *WorkflowAttributesUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowAttributesUpdateResponse.Marshal(b, m, deterministic) -} -func (m *WorkflowAttributesUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowAttributesUpdateResponse.Merge(m, src) +func (x *WorkflowAttributesUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowAttributesUpdateResponse) XXX_Size() int { - return xxx_messageInfo_WorkflowAttributesUpdateResponse.Size(m) -} -func (m *WorkflowAttributesUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowAttributesUpdateResponse.DiscardUnknown(m) + +func (*WorkflowAttributesUpdateResponse) ProtoMessage() {} + +func (x *WorkflowAttributesUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowAttributesUpdateResponse proto.InternalMessageInfo +// Deprecated: Use WorkflowAttributesUpdateResponse.ProtoReflect.Descriptor instead. +func (*WorkflowAttributesUpdateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP(), []int{2} +} // Request to get an individual workflow attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type WorkflowAttributesGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id which this set of attributes references. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -186,108 +213,120 @@ type WorkflowAttributesGetRequest struct { // +required ResourceType MatchableResource `protobuf:"varint,4,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.admin.MatchableResource" json:"resource_type,omitempty"` // Optional, org key applied to the attributes. - Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` } -func (m *WorkflowAttributesGetRequest) Reset() { *m = WorkflowAttributesGetRequest{} } -func (m *WorkflowAttributesGetRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowAttributesGetRequest) ProtoMessage() {} -func (*WorkflowAttributesGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ba8a51ab86bc38c, []int{3} +func (x *WorkflowAttributesGetRequest) Reset() { + *x = WorkflowAttributesGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowAttributesGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowAttributesGetRequest.Unmarshal(m, b) -} -func (m *WorkflowAttributesGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowAttributesGetRequest.Marshal(b, m, deterministic) -} -func (m *WorkflowAttributesGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowAttributesGetRequest.Merge(m, src) -} -func (m *WorkflowAttributesGetRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowAttributesGetRequest.Size(m) +func (x *WorkflowAttributesGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowAttributesGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowAttributesGetRequest.DiscardUnknown(m) + +func (*WorkflowAttributesGetRequest) ProtoMessage() {} + +func (x *WorkflowAttributesGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowAttributesGetRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowAttributesGetRequest.ProtoReflect.Descriptor instead. +func (*WorkflowAttributesGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP(), []int{3} +} -func (m *WorkflowAttributesGetRequest) GetProject() string { - if m != nil { - return m.Project +func (x *WorkflowAttributesGetRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *WorkflowAttributesGetRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *WorkflowAttributesGetRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *WorkflowAttributesGetRequest) GetWorkflow() string { - if m != nil { - return m.Workflow +func (x *WorkflowAttributesGetRequest) GetWorkflow() string { + if x != nil { + return x.Workflow } return "" } -func (m *WorkflowAttributesGetRequest) GetResourceType() MatchableResource { - if m != nil { - return m.ResourceType +func (x *WorkflowAttributesGetRequest) GetResourceType() MatchableResource { + if x != nil { + return x.ResourceType } return MatchableResource_TASK_RESOURCE } -func (m *WorkflowAttributesGetRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *WorkflowAttributesGetRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } // Response to get an individual workflow attribute override. type WorkflowAttributesGetResponse struct { - Attributes *WorkflowAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WorkflowAttributesGetResponse) Reset() { *m = WorkflowAttributesGetResponse{} } -func (m *WorkflowAttributesGetResponse) String() string { return proto.CompactTextString(m) } -func (*WorkflowAttributesGetResponse) ProtoMessage() {} -func (*WorkflowAttributesGetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ba8a51ab86bc38c, []int{4} + Attributes *WorkflowAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` } -func (m *WorkflowAttributesGetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowAttributesGetResponse.Unmarshal(m, b) -} -func (m *WorkflowAttributesGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowAttributesGetResponse.Marshal(b, m, deterministic) -} -func (m *WorkflowAttributesGetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowAttributesGetResponse.Merge(m, src) +func (x *WorkflowAttributesGetResponse) Reset() { + *x = WorkflowAttributesGetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowAttributesGetResponse) XXX_Size() int { - return xxx_messageInfo_WorkflowAttributesGetResponse.Size(m) + +func (x *WorkflowAttributesGetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowAttributesGetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowAttributesGetResponse.DiscardUnknown(m) + +func (*WorkflowAttributesGetResponse) ProtoMessage() {} + +func (x *WorkflowAttributesGetResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowAttributesGetResponse proto.InternalMessageInfo +// Deprecated: Use WorkflowAttributesGetResponse.ProtoReflect.Descriptor instead. +func (*WorkflowAttributesGetResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP(), []int{4} +} -func (m *WorkflowAttributesGetResponse) GetAttributes() *WorkflowAttributes { - if m != nil { - return m.Attributes +func (x *WorkflowAttributesGetResponse) GetAttributes() *WorkflowAttributes { + if x != nil { + return x.Attributes } return nil } @@ -295,6 +334,10 @@ func (m *WorkflowAttributesGetResponse) GetAttributes() *WorkflowAttributes { // Request to delete a set matchable workflow attribute override. // For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` type WorkflowAttributesDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique project id which this set of attributes references. // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -308,141 +351,340 @@ type WorkflowAttributesDeleteRequest struct { // +required ResourceType MatchableResource `protobuf:"varint,4,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.admin.MatchableResource" json:"resource_type,omitempty"` // Optional, org key applied to the attributes. - Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` } -func (m *WorkflowAttributesDeleteRequest) Reset() { *m = WorkflowAttributesDeleteRequest{} } -func (m *WorkflowAttributesDeleteRequest) String() string { return proto.CompactTextString(m) } -func (*WorkflowAttributesDeleteRequest) ProtoMessage() {} -func (*WorkflowAttributesDeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ba8a51ab86bc38c, []int{5} +func (x *WorkflowAttributesDeleteRequest) Reset() { + *x = WorkflowAttributesDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowAttributesDeleteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowAttributesDeleteRequest.Unmarshal(m, b) -} -func (m *WorkflowAttributesDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowAttributesDeleteRequest.Marshal(b, m, deterministic) +func (x *WorkflowAttributesDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowAttributesDeleteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowAttributesDeleteRequest.Merge(m, src) -} -func (m *WorkflowAttributesDeleteRequest) XXX_Size() int { - return xxx_messageInfo_WorkflowAttributesDeleteRequest.Size(m) -} -func (m *WorkflowAttributesDeleteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowAttributesDeleteRequest.DiscardUnknown(m) + +func (*WorkflowAttributesDeleteRequest) ProtoMessage() {} + +func (x *WorkflowAttributesDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowAttributesDeleteRequest proto.InternalMessageInfo +// Deprecated: Use WorkflowAttributesDeleteRequest.ProtoReflect.Descriptor instead. +func (*WorkflowAttributesDeleteRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP(), []int{5} +} -func (m *WorkflowAttributesDeleteRequest) GetProject() string { - if m != nil { - return m.Project +func (x *WorkflowAttributesDeleteRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *WorkflowAttributesDeleteRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *WorkflowAttributesDeleteRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *WorkflowAttributesDeleteRequest) GetWorkflow() string { - if m != nil { - return m.Workflow +func (x *WorkflowAttributesDeleteRequest) GetWorkflow() string { + if x != nil { + return x.Workflow } return "" } -func (m *WorkflowAttributesDeleteRequest) GetResourceType() MatchableResource { - if m != nil { - return m.ResourceType +func (x *WorkflowAttributesDeleteRequest) GetResourceType() MatchableResource { + if x != nil { + return x.ResourceType } return MatchableResource_TASK_RESOURCE } -func (m *WorkflowAttributesDeleteRequest) GetOrg() string { - if m != nil { - return m.Org +func (x *WorkflowAttributesDeleteRequest) GetOrg() string { + if x != nil { + return x.Org } return "" } // Purposefully empty, may be populated in the future. type WorkflowAttributesDeleteResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WorkflowAttributesDeleteResponse) Reset() { + *x = WorkflowAttributesDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowAttributesDeleteResponse) Reset() { *m = WorkflowAttributesDeleteResponse{} } -func (m *WorkflowAttributesDeleteResponse) String() string { return proto.CompactTextString(m) } -func (*WorkflowAttributesDeleteResponse) ProtoMessage() {} +func (x *WorkflowAttributesDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowAttributesDeleteResponse) ProtoMessage() {} + +func (x *WorkflowAttributesDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_admin_workflow_attributes_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowAttributesDeleteResponse.ProtoReflect.Descriptor instead. func (*WorkflowAttributesDeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ba8a51ab86bc38c, []int{6} -} - -func (m *WorkflowAttributesDeleteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowAttributesDeleteResponse.Unmarshal(m, b) -} -func (m *WorkflowAttributesDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowAttributesDeleteResponse.Marshal(b, m, deterministic) -} -func (m *WorkflowAttributesDeleteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowAttributesDeleteResponse.Merge(m, src) -} -func (m *WorkflowAttributesDeleteResponse) XXX_Size() int { - return xxx_messageInfo_WorkflowAttributesDeleteResponse.Size(m) -} -func (m *WorkflowAttributesDeleteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowAttributesDeleteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WorkflowAttributesDeleteResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*WorkflowAttributes)(nil), "flyteidl.admin.WorkflowAttributes") - proto.RegisterType((*WorkflowAttributesUpdateRequest)(nil), "flyteidl.admin.WorkflowAttributesUpdateRequest") - proto.RegisterType((*WorkflowAttributesUpdateResponse)(nil), "flyteidl.admin.WorkflowAttributesUpdateResponse") - proto.RegisterType((*WorkflowAttributesGetRequest)(nil), "flyteidl.admin.WorkflowAttributesGetRequest") - proto.RegisterType((*WorkflowAttributesGetResponse)(nil), "flyteidl.admin.WorkflowAttributesGetResponse") - proto.RegisterType((*WorkflowAttributesDeleteRequest)(nil), "flyteidl.admin.WorkflowAttributesDeleteRequest") - proto.RegisterType((*WorkflowAttributesDeleteResponse)(nil), "flyteidl.admin.WorkflowAttributesDeleteResponse") -} - -func init() { - proto.RegisterFile("flyteidl/admin/workflow_attributes.proto", fileDescriptor_8ba8a51ab86bc38c) -} - -var fileDescriptor_8ba8a51ab86bc38c = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x53, 0x4d, 0x4b, 0xc3, 0x40, - 0x10, 0x65, 0xad, 0x56, 0x1d, 0xb5, 0xc8, 0x0a, 0x12, 0x8a, 0x62, 0xcd, 0xc5, 0x5e, 0x4c, 0xa0, - 0x1e, 0xc5, 0x83, 0x45, 0xf4, 0xe4, 0x25, 0x2a, 0x82, 0x97, 0x92, 0x8f, 0x69, 0x1a, 0x4d, 0xb2, - 0xeb, 0x66, 0x43, 0xe9, 0x1f, 0x14, 0xfa, 0xaf, 0xa4, 0x9b, 0x6c, 0x3f, 0x4c, 0x7a, 0xeb, 0xc5, - 0xdb, 0xce, 0xee, 0x9b, 0x99, 0xf7, 0xde, 0xec, 0x40, 0x77, 0x18, 0x4f, 0x24, 0x46, 0x41, 0x6c, - 0xbb, 0x41, 0x12, 0xa5, 0xf6, 0x98, 0x89, 0xaf, 0x61, 0xcc, 0xc6, 0x03, 0x57, 0x4a, 0x11, 0x79, - 0xb9, 0xc4, 0xcc, 0xe2, 0x82, 0x49, 0x46, 0x5b, 0x1a, 0x69, 0x29, 0x64, 0xfb, 0xea, 0x4f, 0x66, - 0xe2, 0x4a, 0x7f, 0xe4, 0x7a, 0x31, 0x0e, 0x04, 0x66, 0x2c, 0x17, 0x3e, 0x16, 0x89, 0xe6, 0x94, - 0x00, 0x7d, 0x2f, 0xcb, 0xde, 0xcf, 0xab, 0x52, 0x03, 0x76, 0xb9, 0x60, 0x9f, 0xe8, 0x4b, 0x83, - 0x74, 0x48, 0x77, 0xdf, 0xd1, 0x21, 0x3d, 0x85, 0x66, 0xc0, 0x12, 0x37, 0x4a, 0x8d, 0x2d, 0xf5, - 0x50, 0x46, 0xb4, 0x0d, 0x7b, 0x9a, 0x9e, 0xd1, 0x50, 0x2f, 0xf3, 0x98, 0xbe, 0xc0, 0x89, 0x22, - 0x10, 0xa5, 0xe1, 0x12, 0x75, 0x63, 0xbb, 0x43, 0xba, 0x07, 0x3d, 0xd3, 0x5a, 0xe5, 0x6e, 0x3d, - 0x97, 0xd0, 0x05, 0x1d, 0x87, 0x26, 0x95, 0x3b, 0x7a, 0x0c, 0x0d, 0x26, 0x42, 0x63, 0x47, 0xf5, - 0x9a, 0x1d, 0x4d, 0x84, 0x8b, 0xaa, 0x94, 0x37, 0x1e, 0xb8, 0x12, 0x1d, 0xfc, 0xce, 0x31, 0x93, - 0xb4, 0x0f, 0xb0, 0x44, 0x80, 0xd4, 0x13, 0xa8, 0x16, 0x71, 0x96, 0xb2, 0x4c, 0x13, 0x3a, 0xeb, - 0xdb, 0x64, 0x9c, 0xa5, 0x19, 0x9a, 0x3f, 0x04, 0xce, 0xaa, 0xa0, 0x27, 0x94, 0x9a, 0xc8, 0x66, - 0x0d, 0x7e, 0x84, 0x23, 0x3d, 0xd7, 0x81, 0x9c, 0x70, 0x54, 0xd6, 0xb6, 0x7a, 0x97, 0xb5, 0xd6, - 0xce, 0xbe, 0x81, 0x53, 0xa2, 0x9d, 0x43, 0x9d, 0xf7, 0x3a, 0xe1, 0x58, 0xe3, 0xa9, 0x0f, 0xe7, - 0x6b, 0x74, 0x14, 0x4a, 0x37, 0xe2, 0xe8, 0x94, 0xd4, 0x4d, 0xee, 0x01, 0x63, 0x5c, 0x4c, 0xee, - 0xbf, 0x18, 0x56, 0xfb, 0x3b, 0xb4, 0x94, 0xc2, 0xb3, 0xfe, 0xdd, 0xc7, 0x6d, 0x18, 0xc9, 0x51, - 0xee, 0x59, 0x3e, 0x4b, 0x6c, 0xd5, 0x92, 0x89, 0xb0, 0x38, 0xd8, 0xf3, 0xcd, 0x0d, 0x31, 0xb5, - 0xb9, 0x77, 0x1d, 0x32, 0x7b, 0x75, 0x99, 0xbd, 0xa6, 0x5a, 0xdd, 0x9b, 0xdf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xf4, 0x79, 0x1c, 0x80, 0x1f, 0x04, 0x00, 0x00, + return file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP(), []int{6} +} + +var File_flyteidl_admin_workflow_attributes_proto protoreflect.FileDescriptor + +var file_flyteidl_admin_workflow_attributes_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x53, 0x0a, 0x13, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x12, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x69, 0x6e, 0x67, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x72, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, + 0x65, 0x0a, 0x1f, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x1c, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x46, 0x0a, 0x0d, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6f, 0x72, 0x67, 0x22, 0x63, 0x0a, 0x1d, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x1f, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, + 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x46, 0x0a, 0x0d, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6f, 0x72, 0x67, 0x22, 0x22, 0x0a, 0x20, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xc3, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, + 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x03, 0x46, 0x41, 0x58, 0xaa, 0x02, 0x0e, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xca, 0x02, + 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0xe2, + 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_admin_workflow_attributes_proto_rawDescOnce sync.Once + file_flyteidl_admin_workflow_attributes_proto_rawDescData = file_flyteidl_admin_workflow_attributes_proto_rawDesc +) + +func file_flyteidl_admin_workflow_attributes_proto_rawDescGZIP() []byte { + file_flyteidl_admin_workflow_attributes_proto_rawDescOnce.Do(func() { + file_flyteidl_admin_workflow_attributes_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_admin_workflow_attributes_proto_rawDescData) + }) + return file_flyteidl_admin_workflow_attributes_proto_rawDescData +} + +var file_flyteidl_admin_workflow_attributes_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flyteidl_admin_workflow_attributes_proto_goTypes = []interface{}{ + (*WorkflowAttributes)(nil), // 0: flyteidl.admin.WorkflowAttributes + (*WorkflowAttributesUpdateRequest)(nil), // 1: flyteidl.admin.WorkflowAttributesUpdateRequest + (*WorkflowAttributesUpdateResponse)(nil), // 2: flyteidl.admin.WorkflowAttributesUpdateResponse + (*WorkflowAttributesGetRequest)(nil), // 3: flyteidl.admin.WorkflowAttributesGetRequest + (*WorkflowAttributesGetResponse)(nil), // 4: flyteidl.admin.WorkflowAttributesGetResponse + (*WorkflowAttributesDeleteRequest)(nil), // 5: flyteidl.admin.WorkflowAttributesDeleteRequest + (*WorkflowAttributesDeleteResponse)(nil), // 6: flyteidl.admin.WorkflowAttributesDeleteResponse + (*MatchingAttributes)(nil), // 7: flyteidl.admin.MatchingAttributes + (MatchableResource)(0), // 8: flyteidl.admin.MatchableResource +} +var file_flyteidl_admin_workflow_attributes_proto_depIdxs = []int32{ + 7, // 0: flyteidl.admin.WorkflowAttributes.matching_attributes:type_name -> flyteidl.admin.MatchingAttributes + 0, // 1: flyteidl.admin.WorkflowAttributesUpdateRequest.attributes:type_name -> flyteidl.admin.WorkflowAttributes + 8, // 2: flyteidl.admin.WorkflowAttributesGetRequest.resource_type:type_name -> flyteidl.admin.MatchableResource + 0, // 3: flyteidl.admin.WorkflowAttributesGetResponse.attributes:type_name -> flyteidl.admin.WorkflowAttributes + 8, // 4: flyteidl.admin.WorkflowAttributesDeleteRequest.resource_type:type_name -> flyteidl.admin.MatchableResource + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_flyteidl_admin_workflow_attributes_proto_init() } +func file_flyteidl_admin_workflow_attributes_proto_init() { + if File_flyteidl_admin_workflow_attributes_proto != nil { + return + } + file_flyteidl_admin_matchable_resource_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_admin_workflow_attributes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_attributes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowAttributesUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_attributes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowAttributesUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_attributes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowAttributesGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_attributes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowAttributesGetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_attributes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowAttributesDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_admin_workflow_attributes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowAttributesDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_admin_workflow_attributes_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_admin_workflow_attributes_proto_goTypes, + DependencyIndexes: file_flyteidl_admin_workflow_attributes_proto_depIdxs, + MessageInfos: file_flyteidl_admin_workflow_attributes_proto_msgTypes, + }.Build() + File_flyteidl_admin_workflow_attributes_proto = out.File + file_flyteidl_admin_workflow_attributes_proto_rawDesc = nil + file_flyteidl_admin_workflow_attributes_proto_goTypes = nil + file_flyteidl_admin_workflow_attributes_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.swagger.json deleted file mode 100644 index 96d8d580c0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/admin/workflow_attributes.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go index ec28336db7..36933ae6d6 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go @@ -1,146 +1,147 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/artifact_id.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type ArtifactKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Project and domain and suffix needs to be unique across a given artifact store. - Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` - Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (m *ArtifactKey) Reset() { *m = ArtifactKey{} } -func (m *ArtifactKey) String() string { return proto.CompactTextString(m) } -func (*ArtifactKey) ProtoMessage() {} -func (*ArtifactKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{0} +func (x *ArtifactKey) Reset() { + *x = ArtifactKey{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArtifactKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactKey.Unmarshal(m, b) -} -func (m *ArtifactKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactKey.Marshal(b, m, deterministic) -} -func (m *ArtifactKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactKey.Merge(m, src) -} -func (m *ArtifactKey) XXX_Size() int { - return xxx_messageInfo_ArtifactKey.Size(m) +func (x *ArtifactKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ArtifactKey) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactKey.DiscardUnknown(m) + +func (*ArtifactKey) ProtoMessage() {} + +func (x *ArtifactKey) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ArtifactKey proto.InternalMessageInfo +// Deprecated: Use ArtifactKey.ProtoReflect.Descriptor instead. +func (*ArtifactKey) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{0} +} -func (m *ArtifactKey) GetProject() string { - if m != nil { - return m.Project +func (x *ArtifactKey) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *ArtifactKey) GetDomain() string { - if m != nil { - return m.Domain +func (x *ArtifactKey) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *ArtifactKey) GetName() string { - if m != nil { - return m.Name +func (x *ArtifactKey) GetName() string { + if x != nil { + return x.Name } return "" } // Only valid for triggers type ArtifactBindingData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // These two fields are only relevant in the partition value case // - // Types that are valid to be assigned to PartitionData: + // Types that are assignable to PartitionData: + // // *ArtifactBindingData_PartitionKey // *ArtifactBindingData_BindToTimePartition PartitionData isArtifactBindingData_PartitionData `protobuf_oneof:"partition_data"` // This is only relevant in the time partition case - Transform string `protobuf:"bytes,4,opt,name=transform,proto3" json:"transform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Transform string `protobuf:"bytes,4,opt,name=transform,proto3" json:"transform,omitempty"` } -func (m *ArtifactBindingData) Reset() { *m = ArtifactBindingData{} } -func (m *ArtifactBindingData) String() string { return proto.CompactTextString(m) } -func (*ArtifactBindingData) ProtoMessage() {} -func (*ArtifactBindingData) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{1} +func (x *ArtifactBindingData) Reset() { + *x = ArtifactBindingData{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArtifactBindingData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactBindingData.Unmarshal(m, b) -} -func (m *ArtifactBindingData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactBindingData.Marshal(b, m, deterministic) -} -func (m *ArtifactBindingData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactBindingData.Merge(m, src) -} -func (m *ArtifactBindingData) XXX_Size() int { - return xxx_messageInfo_ArtifactBindingData.Size(m) -} -func (m *ArtifactBindingData) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactBindingData.DiscardUnknown(m) +func (x *ArtifactBindingData) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ArtifactBindingData proto.InternalMessageInfo +func (*ArtifactBindingData) ProtoMessage() {} -func (m *ArtifactBindingData) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *ArtifactBindingData) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -type isArtifactBindingData_PartitionData interface { - isArtifactBindingData_PartitionData() -} - -type ArtifactBindingData_PartitionKey struct { - PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3,oneof"` +// Deprecated: Use ArtifactBindingData.ProtoReflect.Descriptor instead. +func (*ArtifactBindingData) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{1} } -type ArtifactBindingData_BindToTimePartition struct { - BindToTimePartition bool `protobuf:"varint,3,opt,name=bind_to_time_partition,json=bindToTimePartition,proto3,oneof"` +func (x *ArtifactBindingData) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 } -func (*ArtifactBindingData_PartitionKey) isArtifactBindingData_PartitionData() {} - -func (*ArtifactBindingData_BindToTimePartition) isArtifactBindingData_PartitionData() {} - func (m *ArtifactBindingData) GetPartitionData() isArtifactBindingData_PartitionData { if m != nil { return m.PartitionData @@ -148,121 +149,183 @@ func (m *ArtifactBindingData) GetPartitionData() isArtifactBindingData_Partition return nil } -func (m *ArtifactBindingData) GetPartitionKey() string { - if x, ok := m.GetPartitionData().(*ArtifactBindingData_PartitionKey); ok { +func (x *ArtifactBindingData) GetPartitionKey() string { + if x, ok := x.GetPartitionData().(*ArtifactBindingData_PartitionKey); ok { return x.PartitionKey } return "" } -func (m *ArtifactBindingData) GetBindToTimePartition() bool { - if x, ok := m.GetPartitionData().(*ArtifactBindingData_BindToTimePartition); ok { +func (x *ArtifactBindingData) GetBindToTimePartition() bool { + if x, ok := x.GetPartitionData().(*ArtifactBindingData_BindToTimePartition); ok { return x.BindToTimePartition } return false } -func (m *ArtifactBindingData) GetTransform() string { - if m != nil { - return m.Transform +func (x *ArtifactBindingData) GetTransform() string { + if x != nil { + return x.Transform } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ArtifactBindingData) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ArtifactBindingData_PartitionKey)(nil), - (*ArtifactBindingData_BindToTimePartition)(nil), - } +type isArtifactBindingData_PartitionData interface { + isArtifactBindingData_PartitionData() } -type InputBindingData struct { - Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type ArtifactBindingData_PartitionKey struct { + PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3,oneof"` } -func (m *InputBindingData) Reset() { *m = InputBindingData{} } -func (m *InputBindingData) String() string { return proto.CompactTextString(m) } -func (*InputBindingData) ProtoMessage() {} -func (*InputBindingData) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{2} +type ArtifactBindingData_BindToTimePartition struct { + BindToTimePartition bool `protobuf:"varint,3,opt,name=bind_to_time_partition,json=bindToTimePartition,proto3,oneof"` } -func (m *InputBindingData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputBindingData.Unmarshal(m, b) -} -func (m *InputBindingData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputBindingData.Marshal(b, m, deterministic) +func (*ArtifactBindingData_PartitionKey) isArtifactBindingData_PartitionData() {} + +func (*ArtifactBindingData_BindToTimePartition) isArtifactBindingData_PartitionData() {} + +type InputBindingData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"` } -func (m *InputBindingData) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputBindingData.Merge(m, src) + +func (x *InputBindingData) Reset() { + *x = InputBindingData{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InputBindingData) XXX_Size() int { - return xxx_messageInfo_InputBindingData.Size(m) + +func (x *InputBindingData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InputBindingData) XXX_DiscardUnknown() { - xxx_messageInfo_InputBindingData.DiscardUnknown(m) + +func (*InputBindingData) ProtoMessage() {} + +func (x *InputBindingData) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_InputBindingData proto.InternalMessageInfo +// Deprecated: Use InputBindingData.ProtoReflect.Descriptor instead. +func (*InputBindingData) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{2} +} -func (m *InputBindingData) GetVar() string { - if m != nil { - return m.Var +func (x *InputBindingData) GetVar() string { + if x != nil { + return x.Var } return "" } type LabelValue struct { - // Types that are valid to be assigned to Value: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // // *LabelValue_StaticValue // *LabelValue_TimeValue // *LabelValue_TriggeredBinding // *LabelValue_InputBinding - Value isLabelValue_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value isLabelValue_Value `protobuf_oneof:"value"` } -func (m *LabelValue) Reset() { *m = LabelValue{} } -func (m *LabelValue) String() string { return proto.CompactTextString(m) } -func (*LabelValue) ProtoMessage() {} -func (*LabelValue) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{3} +func (x *LabelValue) Reset() { + *x = LabelValue{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LabelValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelValue.Unmarshal(m, b) +func (x *LabelValue) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LabelValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelValue.Marshal(b, m, deterministic) + +func (*LabelValue) ProtoMessage() {} + +func (x *LabelValue) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *LabelValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelValue.Merge(m, src) + +// Deprecated: Use LabelValue.ProtoReflect.Descriptor instead. +func (*LabelValue) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{3} } -func (m *LabelValue) XXX_Size() int { - return xxx_messageInfo_LabelValue.Size(m) + +func (m *LabelValue) GetValue() isLabelValue_Value { + if m != nil { + return m.Value + } + return nil } -func (m *LabelValue) XXX_DiscardUnknown() { - xxx_messageInfo_LabelValue.DiscardUnknown(m) + +func (x *LabelValue) GetStaticValue() string { + if x, ok := x.GetValue().(*LabelValue_StaticValue); ok { + return x.StaticValue + } + return "" } -var xxx_messageInfo_LabelValue proto.InternalMessageInfo +func (x *LabelValue) GetTimeValue() *timestamppb.Timestamp { + if x, ok := x.GetValue().(*LabelValue_TimeValue); ok { + return x.TimeValue + } + return nil +} + +func (x *LabelValue) GetTriggeredBinding() *ArtifactBindingData { + if x, ok := x.GetValue().(*LabelValue_TriggeredBinding); ok { + return x.TriggeredBinding + } + return nil +} + +func (x *LabelValue) GetInputBinding() *InputBindingData { + if x, ok := x.GetValue().(*LabelValue_InputBinding); ok { + return x.InputBinding + } + return nil +} type isLabelValue_Value interface { isLabelValue_Value() } type LabelValue_StaticValue struct { + // The string static value is for use in the Partitions object StaticValue string `protobuf:"bytes,1,opt,name=static_value,json=staticValue,proto3,oneof"` } type LabelValue_TimeValue struct { - TimeValue *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time_value,json=timeValue,proto3,oneof"` + // The time value is for use in the TimePartition case + TimeValue *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time_value,json=timeValue,proto3,oneof"` } type LabelValue_TriggeredBinding struct { @@ -281,283 +344,315 @@ func (*LabelValue_TriggeredBinding) isLabelValue_Value() {} func (*LabelValue_InputBinding) isLabelValue_Value() {} -func (m *LabelValue) GetValue() isLabelValue_Value { - if m != nil { - return m.Value - } - return nil -} +type Partitions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *LabelValue) GetStaticValue() string { - if x, ok := m.GetValue().(*LabelValue_StaticValue); ok { - return x.StaticValue - } - return "" + Value map[string]*LabelValue `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *LabelValue) GetTimeValue() *timestamp.Timestamp { - if x, ok := m.GetValue().(*LabelValue_TimeValue); ok { - return x.TimeValue +func (x *Partitions) Reset() { + *x = Partitions{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *LabelValue) GetTriggeredBinding() *ArtifactBindingData { - if x, ok := m.GetValue().(*LabelValue_TriggeredBinding); ok { - return x.TriggeredBinding - } - return nil +func (x *Partitions) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LabelValue) GetInputBinding() *InputBindingData { - if x, ok := m.GetValue().(*LabelValue_InputBinding); ok { - return x.InputBinding - } - return nil -} +func (*Partitions) ProtoMessage() {} -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LabelValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LabelValue_StaticValue)(nil), - (*LabelValue_TimeValue)(nil), - (*LabelValue_TriggeredBinding)(nil), - (*LabelValue_InputBinding)(nil), +func (x *Partitions) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } + return mi.MessageOf(x) } -type Partitions struct { - Value map[string]*LabelValue `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Partitions) Reset() { *m = Partitions{} } -func (m *Partitions) String() string { return proto.CompactTextString(m) } -func (*Partitions) ProtoMessage() {} +// Deprecated: Use Partitions.ProtoReflect.Descriptor instead. func (*Partitions) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{4} -} - -func (m *Partitions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Partitions.Unmarshal(m, b) -} -func (m *Partitions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Partitions.Marshal(b, m, deterministic) -} -func (m *Partitions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Partitions.Merge(m, src) -} -func (m *Partitions) XXX_Size() int { - return xxx_messageInfo_Partitions.Size(m) -} -func (m *Partitions) XXX_DiscardUnknown() { - xxx_messageInfo_Partitions.DiscardUnknown(m) + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{4} } -var xxx_messageInfo_Partitions proto.InternalMessageInfo - -func (m *Partitions) GetValue() map[string]*LabelValue { - if m != nil { - return m.Value +func (x *Partitions) GetValue() map[string]*LabelValue { + if x != nil { + return x.Value } return nil } type TimePartition struct { - Value *LabelValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TimePartition) Reset() { *m = TimePartition{} } -func (m *TimePartition) String() string { return proto.CompactTextString(m) } -func (*TimePartition) ProtoMessage() {} -func (*TimePartition) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{5} + Value *LabelValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *TimePartition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimePartition.Unmarshal(m, b) -} -func (m *TimePartition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimePartition.Marshal(b, m, deterministic) -} -func (m *TimePartition) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimePartition.Merge(m, src) +func (x *TimePartition) Reset() { + *x = TimePartition{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TimePartition) XXX_Size() int { - return xxx_messageInfo_TimePartition.Size(m) + +func (x *TimePartition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TimePartition) XXX_DiscardUnknown() { - xxx_messageInfo_TimePartition.DiscardUnknown(m) + +func (*TimePartition) ProtoMessage() {} + +func (x *TimePartition) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TimePartition proto.InternalMessageInfo +// Deprecated: Use TimePartition.ProtoReflect.Descriptor instead. +func (*TimePartition) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{5} +} -func (m *TimePartition) GetValue() *LabelValue { - if m != nil { - return m.Value +func (x *TimePartition) GetValue() *LabelValue { + if x != nil { + return x.Value } return nil } type ArtifactID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ArtifactKey *ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Think of a partition as a tag on an Artifact, except it's a key-value pair. // Different partitions naturally have different versions (execution ids). Partitions *Partitions `protobuf:"bytes,3,opt,name=partitions,proto3" json:"partitions,omitempty"` // There is no such thing as an empty time partition - if it's not set, then there is no time partition. - TimePartition *TimePartition `protobuf:"bytes,4,opt,name=time_partition,json=timePartition,proto3" json:"time_partition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TimePartition *TimePartition `protobuf:"bytes,4,opt,name=time_partition,json=timePartition,proto3" json:"time_partition,omitempty"` } -func (m *ArtifactID) Reset() { *m = ArtifactID{} } -func (m *ArtifactID) String() string { return proto.CompactTextString(m) } -func (*ArtifactID) ProtoMessage() {} -func (*ArtifactID) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{6} +func (x *ArtifactID) Reset() { + *x = ArtifactID{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArtifactID) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactID.Unmarshal(m, b) +func (x *ArtifactID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ArtifactID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactID.Marshal(b, m, deterministic) -} -func (m *ArtifactID) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactID.Merge(m, src) -} -func (m *ArtifactID) XXX_Size() int { - return xxx_messageInfo_ArtifactID.Size(m) -} -func (m *ArtifactID) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactID.DiscardUnknown(m) + +func (*ArtifactID) ProtoMessage() {} + +func (x *ArtifactID) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ArtifactID proto.InternalMessageInfo +// Deprecated: Use ArtifactID.ProtoReflect.Descriptor instead. +func (*ArtifactID) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{6} +} -func (m *ArtifactID) GetArtifactKey() *ArtifactKey { - if m != nil { - return m.ArtifactKey +func (x *ArtifactID) GetArtifactKey() *ArtifactKey { + if x != nil { + return x.ArtifactKey } return nil } -func (m *ArtifactID) GetVersion() string { - if m != nil { - return m.Version +func (x *ArtifactID) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *ArtifactID) GetPartitions() *Partitions { - if m != nil { - return m.Partitions +func (x *ArtifactID) GetPartitions() *Partitions { + if x != nil { + return x.Partitions } return nil } -func (m *ArtifactID) GetTimePartition() *TimePartition { - if m != nil { - return m.TimePartition +func (x *ArtifactID) GetTimePartition() *TimePartition { + if x != nil { + return x.TimePartition } return nil } type ArtifactTag struct { - ArtifactKey *ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` - Value *LabelValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ArtifactTag) Reset() { *m = ArtifactTag{} } -func (m *ArtifactTag) String() string { return proto.CompactTextString(m) } -func (*ArtifactTag) ProtoMessage() {} -func (*ArtifactTag) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{7} + ArtifactKey *ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` + Value *LabelValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *ArtifactTag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactTag.Unmarshal(m, b) -} -func (m *ArtifactTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactTag.Marshal(b, m, deterministic) -} -func (m *ArtifactTag) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactTag.Merge(m, src) +func (x *ArtifactTag) Reset() { + *x = ArtifactTag{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArtifactTag) XXX_Size() int { - return xxx_messageInfo_ArtifactTag.Size(m) + +func (x *ArtifactTag) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ArtifactTag) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactTag.DiscardUnknown(m) + +func (*ArtifactTag) ProtoMessage() {} + +func (x *ArtifactTag) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ArtifactTag proto.InternalMessageInfo +// Deprecated: Use ArtifactTag.ProtoReflect.Descriptor instead. +func (*ArtifactTag) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{7} +} -func (m *ArtifactTag) GetArtifactKey() *ArtifactKey { - if m != nil { - return m.ArtifactKey +func (x *ArtifactTag) GetArtifactKey() *ArtifactKey { + if x != nil { + return x.ArtifactKey } return nil } -func (m *ArtifactTag) GetValue() *LabelValue { - if m != nil { - return m.Value +func (x *ArtifactTag) GetValue() *LabelValue { + if x != nil { + return x.Value } return nil } // Uniqueness constraints for Artifacts -// - project, domain, name, version, partitions +// - project, domain, name, version, partitions +// // Option 2 (tags are standalone, point to an individual artifact id): -// - project, domain, name, alias (points to one partition if partitioned) -// - project, domain, name, partition key, partition value +// - project, domain, name, alias (points to one partition if partitioned) +// - project, domain, name, partition key, partition value type ArtifactQuery struct { - // Types that are valid to be assigned to Identifier: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Identifier: + // // *ArtifactQuery_ArtifactId // *ArtifactQuery_ArtifactTag // *ArtifactQuery_Uri // *ArtifactQuery_Binding - Identifier isArtifactQuery_Identifier `protobuf_oneof:"identifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Identifier isArtifactQuery_Identifier `protobuf_oneof:"identifier"` } -func (m *ArtifactQuery) Reset() { *m = ArtifactQuery{} } -func (m *ArtifactQuery) String() string { return proto.CompactTextString(m) } -func (*ArtifactQuery) ProtoMessage() {} -func (*ArtifactQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_1079b0707e23f978, []int{8} +func (x *ArtifactQuery) Reset() { + *x = ArtifactQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArtifactQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactQuery.Unmarshal(m, b) +func (x *ArtifactQuery) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ArtifactQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactQuery.Marshal(b, m, deterministic) + +func (*ArtifactQuery) ProtoMessage() {} + +func (x *ArtifactQuery) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_artifact_id_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ArtifactQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactQuery.Merge(m, src) + +// Deprecated: Use ArtifactQuery.ProtoReflect.Descriptor instead. +func (*ArtifactQuery) Descriptor() ([]byte, []int) { + return file_flyteidl_core_artifact_id_proto_rawDescGZIP(), []int{8} } -func (m *ArtifactQuery) XXX_Size() int { - return xxx_messageInfo_ArtifactQuery.Size(m) + +func (m *ArtifactQuery) GetIdentifier() isArtifactQuery_Identifier { + if m != nil { + return m.Identifier + } + return nil } -func (m *ArtifactQuery) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactQuery.DiscardUnknown(m) + +func (x *ArtifactQuery) GetArtifactId() *ArtifactID { + if x, ok := x.GetIdentifier().(*ArtifactQuery_ArtifactId); ok { + return x.ArtifactId + } + return nil } -var xxx_messageInfo_ArtifactQuery proto.InternalMessageInfo +func (x *ArtifactQuery) GetArtifactTag() *ArtifactTag { + if x, ok := x.GetIdentifier().(*ArtifactQuery_ArtifactTag); ok { + return x.ArtifactTag + } + return nil +} + +func (x *ArtifactQuery) GetUri() string { + if x, ok := x.GetIdentifier().(*ArtifactQuery_Uri); ok { + return x.Uri + } + return "" +} + +func (x *ArtifactQuery) GetBinding() *ArtifactBindingData { + if x, ok := x.GetIdentifier().(*ArtifactQuery_Binding); ok { + return x.Binding + } + return nil +} type isArtifactQuery_Identifier interface { isArtifactQuery_Identifier() @@ -576,6 +671,8 @@ type ArtifactQuery_Uri struct { } type ArtifactQuery_Binding struct { + // This is used in the trigger case, where a user specifies a value for an input that is one of the triggering + // artifacts, or a partition value derived from a triggering artifact. Binding *ArtifactBindingData `protobuf:"bytes,4,opt,name=binding,proto3,oneof"` } @@ -587,109 +684,315 @@ func (*ArtifactQuery_Uri) isArtifactQuery_Identifier() {} func (*ArtifactQuery_Binding) isArtifactQuery_Identifier() {} -func (m *ArtifactQuery) GetIdentifier() isArtifactQuery_Identifier { - if m != nil { - return m.Identifier - } - return nil -} +var File_flyteidl_core_artifact_id_proto protoreflect.FileDescriptor + +var file_flyteidl_core_artifact_id_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, + 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x53, 0x0a, 0x0b, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x4b, 0x65, 0x79, + 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb9, 0x01, 0x0a, 0x13, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x16, 0x62, + 0x69, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x13, 0x62, + 0x69, 0x6e, 0x64, 0x54, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, + 0x42, 0x10, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x22, 0x24, 0x0a, 0x10, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x69, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61, 0x72, 0x22, 0x92, 0x02, 0x0a, 0x0a, 0x4c, 0x61, 0x62, + 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x63, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x0b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x51, 0x0a, 0x11, 0x74, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x10, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x65, 0x64, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x46, 0x0a, 0x0d, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x9d, 0x01, + 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x53, 0x0a, 0x0a, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x40, 0x0a, + 0x0d, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x61, + 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0xe5, 0x01, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x12, 0x3d, + 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x4b, 0x65, 0x79, + 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x43, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x50, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7d, 0x0a, 0x0b, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x61, 0x67, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf0, 0x01, 0x0a, 0x0d, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3c, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x61, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x54, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x3e, 0x0a, 0x07, 0x62, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, + 0x48, 0x00, 0x52, 0x07, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x0c, 0x0a, 0x0a, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0xb5, 0x01, 0x0a, 0x11, 0x63, 0x6f, + 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, + 0x0f, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, + 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_artifact_id_proto_rawDescOnce sync.Once + file_flyteidl_core_artifact_id_proto_rawDescData = file_flyteidl_core_artifact_id_proto_rawDesc +) -func (m *ArtifactQuery) GetArtifactId() *ArtifactID { - if x, ok := m.GetIdentifier().(*ArtifactQuery_ArtifactId); ok { - return x.ArtifactId +func file_flyteidl_core_artifact_id_proto_rawDescGZIP() []byte { + file_flyteidl_core_artifact_id_proto_rawDescOnce.Do(func() { + file_flyteidl_core_artifact_id_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_artifact_id_proto_rawDescData) + }) + return file_flyteidl_core_artifact_id_proto_rawDescData +} + +var file_flyteidl_core_artifact_id_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_flyteidl_core_artifact_id_proto_goTypes = []interface{}{ + (*ArtifactKey)(nil), // 0: flyteidl.core.ArtifactKey + (*ArtifactBindingData)(nil), // 1: flyteidl.core.ArtifactBindingData + (*InputBindingData)(nil), // 2: flyteidl.core.InputBindingData + (*LabelValue)(nil), // 3: flyteidl.core.LabelValue + (*Partitions)(nil), // 4: flyteidl.core.Partitions + (*TimePartition)(nil), // 5: flyteidl.core.TimePartition + (*ArtifactID)(nil), // 6: flyteidl.core.ArtifactID + (*ArtifactTag)(nil), // 7: flyteidl.core.ArtifactTag + (*ArtifactQuery)(nil), // 8: flyteidl.core.ArtifactQuery + nil, // 9: flyteidl.core.Partitions.ValueEntry + (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp +} +var file_flyteidl_core_artifact_id_proto_depIdxs = []int32{ + 10, // 0: flyteidl.core.LabelValue.time_value:type_name -> google.protobuf.Timestamp + 1, // 1: flyteidl.core.LabelValue.triggered_binding:type_name -> flyteidl.core.ArtifactBindingData + 2, // 2: flyteidl.core.LabelValue.input_binding:type_name -> flyteidl.core.InputBindingData + 9, // 3: flyteidl.core.Partitions.value:type_name -> flyteidl.core.Partitions.ValueEntry + 3, // 4: flyteidl.core.TimePartition.value:type_name -> flyteidl.core.LabelValue + 0, // 5: flyteidl.core.ArtifactID.artifact_key:type_name -> flyteidl.core.ArtifactKey + 4, // 6: flyteidl.core.ArtifactID.partitions:type_name -> flyteidl.core.Partitions + 5, // 7: flyteidl.core.ArtifactID.time_partition:type_name -> flyteidl.core.TimePartition + 0, // 8: flyteidl.core.ArtifactTag.artifact_key:type_name -> flyteidl.core.ArtifactKey + 3, // 9: flyteidl.core.ArtifactTag.value:type_name -> flyteidl.core.LabelValue + 6, // 10: flyteidl.core.ArtifactQuery.artifact_id:type_name -> flyteidl.core.ArtifactID + 7, // 11: flyteidl.core.ArtifactQuery.artifact_tag:type_name -> flyteidl.core.ArtifactTag + 1, // 12: flyteidl.core.ArtifactQuery.binding:type_name -> flyteidl.core.ArtifactBindingData + 3, // 13: flyteidl.core.Partitions.ValueEntry.value:type_name -> flyteidl.core.LabelValue + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_artifact_id_proto_init() } +func file_flyteidl_core_artifact_id_proto_init() { + if File_flyteidl_core_artifact_id_proto != nil { + return } - return nil -} - -func (m *ArtifactQuery) GetArtifactTag() *ArtifactTag { - if x, ok := m.GetIdentifier().(*ArtifactQuery_ArtifactTag); ok { - return x.ArtifactTag + file_flyteidl_core_identifier_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_artifact_id_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactBindingData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InputBindingData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Partitions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimePartition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactTag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_artifact_id_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return nil -} - -func (m *ArtifactQuery) GetUri() string { - if x, ok := m.GetIdentifier().(*ArtifactQuery_Uri); ok { - return x.Uri + file_flyteidl_core_artifact_id_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*ArtifactBindingData_PartitionKey)(nil), + (*ArtifactBindingData_BindToTimePartition)(nil), } - return "" -} - -func (m *ArtifactQuery) GetBinding() *ArtifactBindingData { - if x, ok := m.GetIdentifier().(*ArtifactQuery_Binding); ok { - return x.Binding + file_flyteidl_core_artifact_id_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*LabelValue_StaticValue)(nil), + (*LabelValue_TimeValue)(nil), + (*LabelValue_TriggeredBinding)(nil), + (*LabelValue_InputBinding)(nil), } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ArtifactQuery) XXX_OneofWrappers() []interface{} { - return []interface{}{ + file_flyteidl_core_artifact_id_proto_msgTypes[8].OneofWrappers = []interface{}{ (*ArtifactQuery_ArtifactId)(nil), (*ArtifactQuery_ArtifactTag)(nil), (*ArtifactQuery_Uri)(nil), (*ArtifactQuery_Binding)(nil), } -} - -func init() { - proto.RegisterType((*ArtifactKey)(nil), "flyteidl.core.ArtifactKey") - proto.RegisterType((*ArtifactBindingData)(nil), "flyteidl.core.ArtifactBindingData") - proto.RegisterType((*InputBindingData)(nil), "flyteidl.core.InputBindingData") - proto.RegisterType((*LabelValue)(nil), "flyteidl.core.LabelValue") - proto.RegisterType((*Partitions)(nil), "flyteidl.core.Partitions") - proto.RegisterMapType((map[string]*LabelValue)(nil), "flyteidl.core.Partitions.ValueEntry") - proto.RegisterType((*TimePartition)(nil), "flyteidl.core.TimePartition") - proto.RegisterType((*ArtifactID)(nil), "flyteidl.core.ArtifactID") - proto.RegisterType((*ArtifactTag)(nil), "flyteidl.core.ArtifactTag") - proto.RegisterType((*ArtifactQuery)(nil), "flyteidl.core.ArtifactQuery") -} - -func init() { proto.RegisterFile("flyteidl/core/artifact_id.proto", fileDescriptor_1079b0707e23f978) } - -var fileDescriptor_1079b0707e23f978 = []byte{ - // 683 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xb6, 0x9b, 0xfe, 0xd0, 0x71, 0x5c, 0x85, 0x2d, 0xaa, 0xd2, 0xa8, 0xa2, 0x95, 0x29, 0x52, - 0x2f, 0xd8, 0x52, 0x11, 0x12, 0x94, 0xf2, 0x17, 0x0a, 0x72, 0x55, 0x0e, 0xd4, 0x8d, 0x38, 0x70, - 0xb1, 0xd6, 0xf1, 0xc6, 0x2c, 0x8d, 0xbd, 0xd1, 0x66, 0x53, 0xe1, 0x03, 0x2f, 0xc1, 0x9d, 0x07, - 0xe1, 0x81, 0xb8, 0xf3, 0x08, 0x68, 0x77, 0xfd, 0x13, 0x47, 0xad, 0x54, 0xc4, 0x6d, 0x67, 0x76, - 0xe6, 0xdb, 0x99, 0xef, 0xdb, 0x19, 0xd8, 0x1d, 0x8d, 0x73, 0x41, 0x68, 0x3c, 0xf6, 0x86, 0x8c, - 0x13, 0x0f, 0x73, 0x41, 0x47, 0x78, 0x28, 0x42, 0x1a, 0xbb, 0x13, 0xce, 0x04, 0x43, 0x76, 0x19, - 0xe0, 0xca, 0x80, 0xde, 0x6e, 0xc2, 0x58, 0x32, 0x26, 0x9e, 0xba, 0x8c, 0x66, 0x23, 0x4f, 0xd0, - 0x94, 0x4c, 0x05, 0x4e, 0x27, 0x3a, 0xbe, 0x77, 0xbf, 0x09, 0x48, 0x63, 0x92, 0x09, 0x3a, 0xa2, - 0x84, 0xeb, 0x7b, 0xe7, 0x02, 0xac, 0x37, 0xc5, 0x23, 0x67, 0x24, 0x47, 0x5d, 0x58, 0x9b, 0x70, - 0xf6, 0x95, 0x0c, 0x45, 0xd7, 0xdc, 0x33, 0x0f, 0xd6, 0x83, 0xd2, 0x44, 0x5b, 0xb0, 0x1a, 0xb3, - 0x14, 0xd3, 0xac, 0xbb, 0xa4, 0x2e, 0x0a, 0x0b, 0x21, 0x58, 0xce, 0x70, 0x4a, 0xba, 0x2d, 0xe5, - 0x55, 0x67, 0xe7, 0x97, 0x09, 0x9b, 0x25, 0x6a, 0x9f, 0x66, 0x31, 0xcd, 0x92, 0x13, 0x2c, 0x30, - 0xba, 0x07, 0x2b, 0x34, 0x8b, 0xc9, 0x37, 0x85, 0x6d, 0x07, 0xda, 0x40, 0x0f, 0xc1, 0x9e, 0xc8, - 0x46, 0x05, 0x65, 0x59, 0x78, 0x49, 0x72, 0xfd, 0x80, 0x6f, 0x04, 0xed, 0xca, 0x2d, 0x4b, 0x7b, - 0x02, 0x5b, 0x11, 0xcd, 0xe2, 0x50, 0xb0, 0x50, 0x36, 0x19, 0x56, 0x97, 0xea, 0xe9, 0x3b, 0xbe, - 0x11, 0x6c, 0xca, 0xfb, 0x01, 0x1b, 0xd0, 0x94, 0x7c, 0x2c, 0x2f, 0xd1, 0x0e, 0xac, 0x0b, 0x8e, - 0xb3, 0xe9, 0x88, 0xf1, 0xb4, 0xbb, 0xac, 0x8a, 0xac, 0x1d, 0xfd, 0x0e, 0x6c, 0xd4, 0x6f, 0xc7, - 0x58, 0x60, 0x67, 0x1f, 0x3a, 0xa7, 0xd9, 0x64, 0xd6, 0xa8, 0xbb, 0x03, 0xad, 0x2b, 0xcc, 0x0b, - 0x46, 0xe4, 0xd1, 0xf9, 0xb1, 0x04, 0xf0, 0x01, 0x47, 0x64, 0xfc, 0x09, 0x8f, 0x67, 0x04, 0x3d, - 0x80, 0xf6, 0x54, 0x60, 0x41, 0x87, 0xe1, 0x95, 0xb4, 0x75, 0xa4, 0x6f, 0x04, 0x96, 0xf6, 0xea, - 0xa0, 0xe7, 0x00, 0xaa, 0x70, 0x1d, 0x22, 0x9b, 0xb4, 0x0e, 0x7b, 0xae, 0x16, 0xd0, 0x2d, 0x05, - 0x74, 0x07, 0xa5, 0x80, 0xbe, 0x11, 0xac, 0xcb, 0x78, 0x9d, 0x7c, 0x0e, 0x77, 0x05, 0xa7, 0x49, - 0x42, 0x38, 0x89, 0xc3, 0x48, 0xd7, 0xa6, 0x1a, 0xb7, 0x0e, 0x1d, 0xb7, 0xf1, 0x27, 0xdc, 0x6b, - 0x98, 0xf7, 0x8d, 0xa0, 0x53, 0xa5, 0x17, 0x7e, 0xf4, 0x1e, 0x6c, 0x2a, 0x3b, 0xad, 0xe0, 0x96, - 0x15, 0xdc, 0xee, 0x02, 0xdc, 0x22, 0x1b, 0x52, 0x18, 0x3a, 0xe7, 0xeb, 0xaf, 0xc1, 0x8a, 0x6a, - 0xc9, 0xf9, 0x69, 0x02, 0x54, 0xc4, 0x4f, 0xd1, 0x51, 0xe1, 0xef, 0x9a, 0x7b, 0xad, 0x03, 0xeb, - 0x70, 0x7f, 0x01, 0xb7, 0x8e, 0x74, 0x55, 0x8b, 0xef, 0x32, 0xc1, 0xf3, 0x40, 0xa7, 0xf4, 0x2e, - 0x00, 0x6a, 0xa7, 0xe4, 0x5f, 0xfe, 0x8b, 0x82, 0xff, 0x4b, 0x92, 0x23, 0xaf, 0xc4, 0xd6, 0x34, - 0x6e, 0x2f, 0x60, 0xd7, 0xd2, 0x14, 0x80, 0x47, 0x4b, 0x4f, 0x4d, 0xe7, 0x35, 0xd8, 0xcd, 0xbf, - 0xe1, 0xd5, 0x15, 0xde, 0x0a, 0xc5, 0xf9, 0x6d, 0x02, 0x94, 0xf4, 0x9e, 0x9e, 0xa0, 0x17, 0xd0, - 0xae, 0x26, 0xb4, 0x2c, 0x50, 0x6a, 0x7a, 0xbd, 0x1e, 0x67, 0x24, 0x0f, 0x2c, 0xdc, 0x1c, 0xb6, - 0x2b, 0xc2, 0xa7, 0xf2, 0x0b, 0xeb, 0x99, 0x2a, 0x4d, 0xf4, 0x0c, 0xa0, 0xfa, 0x96, 0xd3, 0x42, - 0xe6, 0xed, 0x1b, 0xf9, 0x0b, 0xe6, 0x82, 0xd1, 0x5b, 0xd8, 0x58, 0x18, 0x0f, 0x2d, 0xeb, 0xce, - 0x42, 0x7a, 0x83, 0x89, 0xc0, 0x16, 0xf3, 0xa6, 0xf3, 0xbd, 0xde, 0x0a, 0x03, 0x9c, 0xfc, 0x6f, - 0x9f, 0xff, 0x2a, 0x96, 0xf3, 0xc7, 0x04, 0xbb, 0x44, 0x3b, 0x9f, 0x11, 0x9e, 0xa3, 0x63, 0xb0, - 0xe6, 0x76, 0xe1, 0x0d, 0x7a, 0xd5, 0xca, 0xf8, 0x46, 0x00, 0x65, 0xfc, 0x69, 0x8c, 0x5e, 0xcd, - 0xd5, 0x2f, 0x70, 0x52, 0xcd, 0xde, 0xf5, 0xe9, 0x03, 0x9c, 0xc8, 0xd1, 0xc5, 0x73, 0x04, 0x20, - 0x68, 0xcd, 0x38, 0xd5, 0x3b, 0xce, 0x37, 0x02, 0x69, 0xa0, 0x97, 0xb0, 0xd6, 0x1c, 0x9c, 0xdb, - 0xcd, 0x61, 0x99, 0xd4, 0x6f, 0x03, 0xd4, 0xdb, 0xb8, 0x7f, 0xfc, 0xf9, 0x28, 0xa1, 0xe2, 0xcb, - 0x2c, 0x72, 0x87, 0x2c, 0xf5, 0x14, 0x10, 0xe3, 0x89, 0x3e, 0x78, 0xd5, 0x0e, 0x4f, 0x48, 0xe6, - 0x4d, 0xa2, 0x47, 0x09, 0xf3, 0x1a, 0x6b, 0x3d, 0x5a, 0x55, 0xeb, 0xe3, 0xf1, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xdf, 0x09, 0x3c, 0xc7, 0x3f, 0x06, 0x00, 0x00, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_artifact_id_proto_rawDesc, + NumEnums: 0, + NumMessages: 10, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_artifact_id_proto_goTypes, + DependencyIndexes: file_flyteidl_core_artifact_id_proto_depIdxs, + MessageInfos: file_flyteidl_core_artifact_id_proto_msgTypes, + }.Build() + File_flyteidl_core_artifact_id_proto = out.File + file_flyteidl_core_artifact_id_proto_rawDesc = nil + file_flyteidl_core_artifact_id_proto_goTypes = nil + file_flyteidl_core_artifact_id_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json deleted file mode 100644 index f668848aa5..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/artifact_id.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go b/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go index 66f06900fa..42ea6c8137 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/catalog.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future type CatalogCacheStatus int32 @@ -42,34 +42,55 @@ const ( CatalogCacheStatus_CACHE_EVICTED CatalogCacheStatus = 7 ) -var CatalogCacheStatus_name = map[int32]string{ - 0: "CACHE_DISABLED", - 1: "CACHE_MISS", - 2: "CACHE_HIT", - 3: "CACHE_POPULATED", - 4: "CACHE_LOOKUP_FAILURE", - 5: "CACHE_PUT_FAILURE", - 6: "CACHE_SKIPPED", - 7: "CACHE_EVICTED", -} +// Enum value maps for CatalogCacheStatus. +var ( + CatalogCacheStatus_name = map[int32]string{ + 0: "CACHE_DISABLED", + 1: "CACHE_MISS", + 2: "CACHE_HIT", + 3: "CACHE_POPULATED", + 4: "CACHE_LOOKUP_FAILURE", + 5: "CACHE_PUT_FAILURE", + 6: "CACHE_SKIPPED", + 7: "CACHE_EVICTED", + } + CatalogCacheStatus_value = map[string]int32{ + "CACHE_DISABLED": 0, + "CACHE_MISS": 1, + "CACHE_HIT": 2, + "CACHE_POPULATED": 3, + "CACHE_LOOKUP_FAILURE": 4, + "CACHE_PUT_FAILURE": 5, + "CACHE_SKIPPED": 6, + "CACHE_EVICTED": 7, + } +) -var CatalogCacheStatus_value = map[string]int32{ - "CACHE_DISABLED": 0, - "CACHE_MISS": 1, - "CACHE_HIT": 2, - "CACHE_POPULATED": 3, - "CACHE_LOOKUP_FAILURE": 4, - "CACHE_PUT_FAILURE": 5, - "CACHE_SKIPPED": 6, - "CACHE_EVICTED": 7, +func (x CatalogCacheStatus) Enum() *CatalogCacheStatus { + p := new(CatalogCacheStatus) + *p = x + return p } func (x CatalogCacheStatus) String() string { - return proto.EnumName(CatalogCacheStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (CatalogCacheStatus) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_catalog_proto_enumTypes[0].Descriptor() +} + +func (CatalogCacheStatus) Type() protoreflect.EnumType { + return &file_flyteidl_core_catalog_proto_enumTypes[0] +} + +func (x CatalogCacheStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CatalogCacheStatus.Descriptor instead. func (CatalogCacheStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_534f5d1443565574, []int{0} + return file_flyteidl_core_catalog_proto_rawDescGZIP(), []int{0} } // Indicates the status of a catalog reservation operation. @@ -88,130 +109,182 @@ const ( CatalogReservation_RESERVATION_FAILURE CatalogReservation_Status = 4 ) -var CatalogReservation_Status_name = map[int32]string{ - 0: "RESERVATION_DISABLED", - 1: "RESERVATION_ACQUIRED", - 2: "RESERVATION_EXISTS", - 3: "RESERVATION_RELEASED", - 4: "RESERVATION_FAILURE", -} +// Enum value maps for CatalogReservation_Status. +var ( + CatalogReservation_Status_name = map[int32]string{ + 0: "RESERVATION_DISABLED", + 1: "RESERVATION_ACQUIRED", + 2: "RESERVATION_EXISTS", + 3: "RESERVATION_RELEASED", + 4: "RESERVATION_FAILURE", + } + CatalogReservation_Status_value = map[string]int32{ + "RESERVATION_DISABLED": 0, + "RESERVATION_ACQUIRED": 1, + "RESERVATION_EXISTS": 2, + "RESERVATION_RELEASED": 3, + "RESERVATION_FAILURE": 4, + } +) -var CatalogReservation_Status_value = map[string]int32{ - "RESERVATION_DISABLED": 0, - "RESERVATION_ACQUIRED": 1, - "RESERVATION_EXISTS": 2, - "RESERVATION_RELEASED": 3, - "RESERVATION_FAILURE": 4, +func (x CatalogReservation_Status) Enum() *CatalogReservation_Status { + p := new(CatalogReservation_Status) + *p = x + return p } func (x CatalogReservation_Status) String() string { - return proto.EnumName(CatalogReservation_Status_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CatalogReservation_Status) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_catalog_proto_enumTypes[1].Descriptor() } +func (CatalogReservation_Status) Type() protoreflect.EnumType { + return &file_flyteidl_core_catalog_proto_enumTypes[1] +} + +func (x CatalogReservation_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CatalogReservation_Status.Descriptor instead. func (CatalogReservation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_534f5d1443565574, []int{2, 0} + return file_flyteidl_core_catalog_proto_rawDescGZIP(), []int{2, 0} } type CatalogArtifactTag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Artifact ID is generated name ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Flyte computes the tag automatically, as the hash of the values - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *CatalogArtifactTag) Reset() { *m = CatalogArtifactTag{} } -func (m *CatalogArtifactTag) String() string { return proto.CompactTextString(m) } -func (*CatalogArtifactTag) ProtoMessage() {} -func (*CatalogArtifactTag) Descriptor() ([]byte, []int) { - return fileDescriptor_534f5d1443565574, []int{0} +func (x *CatalogArtifactTag) Reset() { + *x = CatalogArtifactTag{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_catalog_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CatalogArtifactTag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CatalogArtifactTag.Unmarshal(m, b) -} -func (m *CatalogArtifactTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CatalogArtifactTag.Marshal(b, m, deterministic) -} -func (m *CatalogArtifactTag) XXX_Merge(src proto.Message) { - xxx_messageInfo_CatalogArtifactTag.Merge(m, src) -} -func (m *CatalogArtifactTag) XXX_Size() int { - return xxx_messageInfo_CatalogArtifactTag.Size(m) +func (x *CatalogArtifactTag) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CatalogArtifactTag) XXX_DiscardUnknown() { - xxx_messageInfo_CatalogArtifactTag.DiscardUnknown(m) + +func (*CatalogArtifactTag) ProtoMessage() {} + +func (x *CatalogArtifactTag) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_catalog_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CatalogArtifactTag proto.InternalMessageInfo +// Deprecated: Use CatalogArtifactTag.ProtoReflect.Descriptor instead. +func (*CatalogArtifactTag) Descriptor() ([]byte, []int) { + return file_flyteidl_core_catalog_proto_rawDescGZIP(), []int{0} +} -func (m *CatalogArtifactTag) GetArtifactId() string { - if m != nil { - return m.ArtifactId +func (x *CatalogArtifactTag) GetArtifactId() string { + if x != nil { + return x.ArtifactId } return "" } -func (m *CatalogArtifactTag) GetName() string { - if m != nil { - return m.Name +func (x *CatalogArtifactTag) GetName() string { + if x != nil { + return x.Name } return "" } // Catalog artifact information with specific metadata type CatalogMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Dataset ID in the catalog DatasetId *Identifier `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Artifact tag in the catalog ArtifactTag *CatalogArtifactTag `protobuf:"bytes,2,opt,name=artifact_tag,json=artifactTag,proto3" json:"artifact_tag,omitempty"` // Optional: Source Execution identifier, if this dataset was generated by another execution in Flyte. This is a one-of field and will depend on the caching context // - // Types that are valid to be assigned to SourceExecution: + // Types that are assignable to SourceExecution: + // // *CatalogMetadata_SourceTaskExecution - SourceExecution isCatalogMetadata_SourceExecution `protobuf_oneof:"source_execution"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SourceExecution isCatalogMetadata_SourceExecution `protobuf_oneof:"source_execution"` } -func (m *CatalogMetadata) Reset() { *m = CatalogMetadata{} } -func (m *CatalogMetadata) String() string { return proto.CompactTextString(m) } -func (*CatalogMetadata) ProtoMessage() {} -func (*CatalogMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_534f5d1443565574, []int{1} +func (x *CatalogMetadata) Reset() { + *x = CatalogMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_catalog_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CatalogMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CatalogMetadata.Unmarshal(m, b) -} -func (m *CatalogMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CatalogMetadata.Marshal(b, m, deterministic) +func (x *CatalogMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CatalogMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CatalogMetadata.Merge(m, src) + +func (*CatalogMetadata) ProtoMessage() {} + +func (x *CatalogMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_catalog_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *CatalogMetadata) XXX_Size() int { - return xxx_messageInfo_CatalogMetadata.Size(m) + +// Deprecated: Use CatalogMetadata.ProtoReflect.Descriptor instead. +func (*CatalogMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_catalog_proto_rawDescGZIP(), []int{1} } -func (m *CatalogMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CatalogMetadata.DiscardUnknown(m) + +func (x *CatalogMetadata) GetDatasetId() *Identifier { + if x != nil { + return x.DatasetId + } + return nil } -var xxx_messageInfo_CatalogMetadata proto.InternalMessageInfo +func (x *CatalogMetadata) GetArtifactTag() *CatalogArtifactTag { + if x != nil { + return x.ArtifactTag + } + return nil +} -func (m *CatalogMetadata) GetDatasetId() *Identifier { +func (m *CatalogMetadata) GetSourceExecution() isCatalogMetadata_SourceExecution { if m != nil { - return m.DatasetId + return m.SourceExecution } return nil } -func (m *CatalogMetadata) GetArtifactTag() *CatalogArtifactTag { - if m != nil { - return m.ArtifactTag +func (x *CatalogMetadata) GetSourceTaskExecution() *TaskExecutionIdentifier { + if x, ok := x.GetSourceExecution().(*CatalogMetadata_SourceTaskExecution); ok { + return x.SourceTaskExecution } return nil } @@ -221,103 +294,213 @@ type isCatalogMetadata_SourceExecution interface { } type CatalogMetadata_SourceTaskExecution struct { + // Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions SourceTaskExecution *TaskExecutionIdentifier `protobuf:"bytes,3,opt,name=source_task_execution,json=sourceTaskExecution,proto3,oneof"` } func (*CatalogMetadata_SourceTaskExecution) isCatalogMetadata_SourceExecution() {} -func (m *CatalogMetadata) GetSourceExecution() isCatalogMetadata_SourceExecution { - if m != nil { - return m.SourceExecution - } - return nil +type CatalogReservation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CatalogMetadata) GetSourceTaskExecution() *TaskExecutionIdentifier { - if x, ok := m.GetSourceExecution().(*CatalogMetadata_SourceTaskExecution); ok { - return x.SourceTaskExecution +func (x *CatalogReservation) Reset() { + *x = CatalogReservation{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_catalog_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CatalogMetadata) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CatalogMetadata_SourceTaskExecution)(nil), - } +func (x *CatalogReservation) String() string { + return protoimpl.X.MessageStringOf(x) } -type CatalogReservation struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*CatalogReservation) ProtoMessage() {} + +func (x *CatalogReservation) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_catalog_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *CatalogReservation) Reset() { *m = CatalogReservation{} } -func (m *CatalogReservation) String() string { return proto.CompactTextString(m) } -func (*CatalogReservation) ProtoMessage() {} +// Deprecated: Use CatalogReservation.ProtoReflect.Descriptor instead. func (*CatalogReservation) Descriptor() ([]byte, []int) { - return fileDescriptor_534f5d1443565574, []int{2} -} - -func (m *CatalogReservation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CatalogReservation.Unmarshal(m, b) -} -func (m *CatalogReservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CatalogReservation.Marshal(b, m, deterministic) -} -func (m *CatalogReservation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CatalogReservation.Merge(m, src) -} -func (m *CatalogReservation) XXX_Size() int { - return xxx_messageInfo_CatalogReservation.Size(m) -} -func (m *CatalogReservation) XXX_DiscardUnknown() { - xxx_messageInfo_CatalogReservation.DiscardUnknown(m) -} - -var xxx_messageInfo_CatalogReservation proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("flyteidl.core.CatalogCacheStatus", CatalogCacheStatus_name, CatalogCacheStatus_value) - proto.RegisterEnum("flyteidl.core.CatalogReservation_Status", CatalogReservation_Status_name, CatalogReservation_Status_value) - proto.RegisterType((*CatalogArtifactTag)(nil), "flyteidl.core.CatalogArtifactTag") - proto.RegisterType((*CatalogMetadata)(nil), "flyteidl.core.CatalogMetadata") - proto.RegisterType((*CatalogReservation)(nil), "flyteidl.core.CatalogReservation") -} - -func init() { proto.RegisterFile("flyteidl/core/catalog.proto", fileDescriptor_534f5d1443565574) } - -var fileDescriptor_534f5d1443565574 = []byte{ - // 475 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xad, 0xd3, 0x12, 0x94, 0x09, 0x69, 0xdd, 0x4d, 0x0b, 0x01, 0x24, 0x3e, 0x72, 0x40, 0x08, - 0x09, 0x5b, 0x2a, 0x17, 0x84, 0xb8, 0x38, 0xf6, 0xa2, 0xac, 0xea, 0x12, 0xb3, 0x6b, 0x57, 0x08, - 0x21, 0x45, 0x1b, 0x7b, 0xe3, 0x5a, 0x4d, 0xb3, 0x95, 0xbd, 0x41, 0x70, 0xe6, 0xc0, 0xbf, 0xe0, - 0x4f, 0xf0, 0x07, 0x51, 0xbc, 0x8e, 0xf3, 0xd1, 0x93, 0x67, 0xde, 0x7b, 0xf3, 0xe6, 0xd9, 0x1e, - 0x78, 0x3a, 0x9d, 0xfd, 0x52, 0x22, 0x4b, 0x66, 0x76, 0x2c, 0x73, 0x61, 0xc7, 0x5c, 0xf1, 0x99, - 0x4c, 0xad, 0xdb, 0x5c, 0x2a, 0x89, 0x3a, 0x2b, 0xd2, 0x5a, 0x92, 0x4f, 0x9e, 0x6d, 0x6b, 0xb3, - 0x44, 0xcc, 0x55, 0x36, 0xcd, 0x44, 0xae, 0xe5, 0x7d, 0x02, 0xc8, 0xd5, 0xf3, 0x4e, 0xae, 0xb2, - 0x29, 0x8f, 0x55, 0xc8, 0x53, 0xf4, 0x1c, 0xda, 0xbc, 0x6a, 0xc7, 0x59, 0xd2, 0x33, 0x5e, 0x18, - 0xaf, 0x5b, 0x14, 0x56, 0x10, 0x49, 0x10, 0x82, 0x83, 0x39, 0xbf, 0x11, 0xbd, 0x46, 0xc9, 0x94, - 0x75, 0xff, 0x77, 0x03, 0x8e, 0x2a, 0xaf, 0x0b, 0xa1, 0x78, 0xc2, 0x15, 0x47, 0xef, 0x01, 0x96, - 0xcf, 0x42, 0xd4, 0x3e, 0xed, 0xb3, 0xc7, 0xd6, 0x56, 0x44, 0x8b, 0xd4, 0x99, 0x68, 0xab, 0x12, - 0x93, 0x04, 0x79, 0xf0, 0xa0, 0x8e, 0xa0, 0x78, 0x5a, 0x6e, 0x6a, 0x9f, 0xbd, 0xdc, 0x99, 0xbd, - 0x9b, 0x9d, 0xd6, 0xc9, 0x97, 0x2f, 0xf2, 0x1d, 0x4e, 0x0b, 0xb9, 0xc8, 0x63, 0x31, 0x56, 0xbc, - 0xb8, 0x1e, 0x8b, 0x9f, 0x22, 0x5e, 0xa8, 0x4c, 0xce, 0x7b, 0xfb, 0xa5, 0xdd, 0xab, 0x1d, 0xbb, - 0x90, 0x17, 0xd7, 0x78, 0xa5, 0x59, 0xe7, 0x1a, 0xee, 0xd1, 0xae, 0xb6, 0xd9, 0x12, 0x0c, 0x10, - 0x98, 0x95, 0x7b, 0x6d, 0xdc, 0xff, 0x6b, 0xd4, 0x5f, 0x94, 0x8a, 0x42, 0xe4, 0x3f, 0x78, 0x09, - 0xff, 0x31, 0xa0, 0xc9, 0x14, 0x57, 0x8b, 0x02, 0xf5, 0xe0, 0x84, 0x62, 0x86, 0xe9, 0xa5, 0x13, - 0x92, 0xd1, 0xe7, 0xb1, 0x47, 0x98, 0x33, 0xf0, 0xb1, 0x67, 0xee, 0xed, 0x32, 0x8e, 0xfb, 0x25, - 0x22, 0x14, 0x7b, 0xa6, 0x81, 0x1e, 0x02, 0xda, 0x64, 0xf0, 0x57, 0xc2, 0x42, 0x66, 0x36, 0x76, - 0x27, 0x28, 0xf6, 0xb1, 0xc3, 0xb0, 0x67, 0xee, 0xa3, 0x47, 0xd0, 0xdd, 0x64, 0x3e, 0x39, 0xc4, - 0x8f, 0x28, 0x36, 0x0f, 0xde, 0xfc, 0x5b, 0x07, 0x74, 0x79, 0x7c, 0x25, 0xaa, 0x54, 0x08, 0x0e, - 0x5d, 0xc7, 0x1d, 0xe2, 0xcd, 0x3c, 0x87, 0x00, 0x1a, 0xbb, 0x20, 0x8c, 0x99, 0x06, 0xea, 0x40, - 0x4b, 0xf7, 0x43, 0x12, 0x9a, 0x0d, 0xd4, 0x85, 0x23, 0xdd, 0x06, 0xa3, 0x20, 0xf2, 0x9d, 0xb0, - 0xdc, 0xdb, 0x83, 0x13, 0x0d, 0xfa, 0xa3, 0xd1, 0x79, 0x14, 0xac, 0x17, 0xa3, 0x53, 0x38, 0xae, - 0xe4, 0x51, 0x58, 0xc3, 0xf7, 0xd0, 0x31, 0x74, 0x34, 0xcc, 0xce, 0x49, 0x10, 0x60, 0xcf, 0x6c, - 0xae, 0x21, 0x7c, 0x49, 0xdc, 0xa5, 0xed, 0xfd, 0xc1, 0xc7, 0x6f, 0x1f, 0xd2, 0x4c, 0x5d, 0x2d, - 0x26, 0x56, 0x2c, 0x6f, 0xec, 0xf2, 0xaf, 0xc9, 0x3c, 0xd5, 0x85, 0x5d, 0xdf, 0x78, 0x2a, 0xe6, - 0xf6, 0xed, 0xe4, 0x6d, 0x2a, 0xed, 0xad, 0xb3, 0x9f, 0x34, 0xcb, 0x63, 0x7f, 0xf7, 0x3f, 0x00, - 0x00, 0xff, 0xff, 0x2e, 0x3b, 0x98, 0x7c, 0x3a, 0x03, 0x00, 0x00, + return file_flyteidl_core_catalog_proto_rawDescGZIP(), []int{2} +} + +var File_flyteidl_core_catalog_proto protoreflect.FileDescriptor + +var file_flyteidl_core_catalog_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x12, + 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, + 0x61, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x83, 0x02, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x0a, 0x64, + 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x61, 0x67, 0x52, 0x0b, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x61, 0x67, 0x12, 0x5c, 0x0a, 0x15, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x48, 0x00, 0x52, 0x13, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x12, 0x0a, 0x10, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x01, + 0x0a, 0x12, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, + 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, + 0x45, 0x52, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x51, 0x55, 0x49, 0x52, 0x45, + 0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x52, + 0x45, 0x53, 0x45, 0x52, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x4c, 0x45, 0x41, + 0x53, 0x45, 0x44, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x04, 0x2a, 0xb3, + 0x01, 0x0a, 0x12, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x41, 0x43, 0x48, 0x45, 0x5f, 0x44, + 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x43, + 0x48, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x43, + 0x48, 0x45, 0x5f, 0x48, 0x49, 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x41, 0x43, 0x48, + 0x45, 0x5f, 0x50, 0x4f, 0x50, 0x55, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x18, 0x0a, + 0x14, 0x43, 0x41, 0x43, 0x48, 0x45, 0x5f, 0x4c, 0x4f, 0x4f, 0x4b, 0x55, 0x50, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x41, 0x43, 0x48, 0x45, + 0x5f, 0x50, 0x55, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x05, 0x12, 0x11, + 0x0a, 0x0d, 0x43, 0x41, 0x43, 0x48, 0x45, 0x5f, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, + 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x41, 0x43, 0x48, 0x45, 0x5f, 0x45, 0x56, 0x49, 0x43, 0x54, + 0x45, 0x44, 0x10, 0x07, 0x42, 0xb2, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0c, 0x43, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_flyteidl_core_catalog_proto_rawDescOnce sync.Once + file_flyteidl_core_catalog_proto_rawDescData = file_flyteidl_core_catalog_proto_rawDesc +) + +func file_flyteidl_core_catalog_proto_rawDescGZIP() []byte { + file_flyteidl_core_catalog_proto_rawDescOnce.Do(func() { + file_flyteidl_core_catalog_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_catalog_proto_rawDescData) + }) + return file_flyteidl_core_catalog_proto_rawDescData +} + +var file_flyteidl_core_catalog_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_flyteidl_core_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flyteidl_core_catalog_proto_goTypes = []interface{}{ + (CatalogCacheStatus)(0), // 0: flyteidl.core.CatalogCacheStatus + (CatalogReservation_Status)(0), // 1: flyteidl.core.CatalogReservation.Status + (*CatalogArtifactTag)(nil), // 2: flyteidl.core.CatalogArtifactTag + (*CatalogMetadata)(nil), // 3: flyteidl.core.CatalogMetadata + (*CatalogReservation)(nil), // 4: flyteidl.core.CatalogReservation + (*Identifier)(nil), // 5: flyteidl.core.Identifier + (*TaskExecutionIdentifier)(nil), // 6: flyteidl.core.TaskExecutionIdentifier +} +var file_flyteidl_core_catalog_proto_depIdxs = []int32{ + 5, // 0: flyteidl.core.CatalogMetadata.dataset_id:type_name -> flyteidl.core.Identifier + 2, // 1: flyteidl.core.CatalogMetadata.artifact_tag:type_name -> flyteidl.core.CatalogArtifactTag + 6, // 2: flyteidl.core.CatalogMetadata.source_task_execution:type_name -> flyteidl.core.TaskExecutionIdentifier + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_catalog_proto_init() } +func file_flyteidl_core_catalog_proto_init() { + if File_flyteidl_core_catalog_proto != nil { + return + } + file_flyteidl_core_identifier_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_catalog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CatalogArtifactTag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_catalog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CatalogMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_catalog_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CatalogReservation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_catalog_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*CatalogMetadata_SourceTaskExecution)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_catalog_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_catalog_proto_goTypes, + DependencyIndexes: file_flyteidl_core_catalog_proto_depIdxs, + EnumInfos: file_flyteidl_core_catalog_proto_enumTypes, + MessageInfos: file_flyteidl_core_catalog_proto_msgTypes, + }.Build() + File_flyteidl_core_catalog_proto = out.File + file_flyteidl_core_catalog_proto_rawDesc = nil + file_flyteidl_core_catalog_proto_goTypes = nil + file_flyteidl_core_catalog_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/catalog.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/catalog.swagger.json deleted file mode 100644 index be5e05b196..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/catalog.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/catalog.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go b/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go index e04866564d..0122432a98 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.go @@ -1,202 +1,187 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/compiler.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation // step uses this created ConnectionSet type ConnectionSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of all the node ids that are downstream from a given node id Downstream map[string]*ConnectionSet_IdList `protobuf:"bytes,7,rep,name=downstream,proto3" json:"downstream,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // A list of all the node ids, that are upstream of this node id - Upstream map[string]*ConnectionSet_IdList `protobuf:"bytes,8,rep,name=upstream,proto3" json:"upstream,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Upstream map[string]*ConnectionSet_IdList `protobuf:"bytes,8,rep,name=upstream,proto3" json:"upstream,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *ConnectionSet) Reset() { *m = ConnectionSet{} } -func (m *ConnectionSet) String() string { return proto.CompactTextString(m) } -func (*ConnectionSet) ProtoMessage() {} -func (*ConnectionSet) Descriptor() ([]byte, []int) { - return fileDescriptor_d310dba155e4f065, []int{0} +func (x *ConnectionSet) Reset() { + *x = ConnectionSet{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_compiler_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectionSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectionSet.Unmarshal(m, b) -} -func (m *ConnectionSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectionSet.Marshal(b, m, deterministic) -} -func (m *ConnectionSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectionSet.Merge(m, src) -} -func (m *ConnectionSet) XXX_Size() int { - return xxx_messageInfo_ConnectionSet.Size(m) -} -func (m *ConnectionSet) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectionSet.DiscardUnknown(m) +func (x *ConnectionSet) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ConnectionSet proto.InternalMessageInfo +func (*ConnectionSet) ProtoMessage() {} -func (m *ConnectionSet) GetDownstream() map[string]*ConnectionSet_IdList { - if m != nil { - return m.Downstream +func (x *ConnectionSet) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_compiler_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ConnectionSet) GetUpstream() map[string]*ConnectionSet_IdList { - if m != nil { - return m.Upstream - } - return nil -} - -type ConnectionSet_IdList struct { - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConnectionSet_IdList) Reset() { *m = ConnectionSet_IdList{} } -func (m *ConnectionSet_IdList) String() string { return proto.CompactTextString(m) } -func (*ConnectionSet_IdList) ProtoMessage() {} -func (*ConnectionSet_IdList) Descriptor() ([]byte, []int) { - return fileDescriptor_d310dba155e4f065, []int{0, 0} +// Deprecated: Use ConnectionSet.ProtoReflect.Descriptor instead. +func (*ConnectionSet) Descriptor() ([]byte, []int) { + return file_flyteidl_core_compiler_proto_rawDescGZIP(), []int{0} } -func (m *ConnectionSet_IdList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectionSet_IdList.Unmarshal(m, b) -} -func (m *ConnectionSet_IdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectionSet_IdList.Marshal(b, m, deterministic) -} -func (m *ConnectionSet_IdList) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectionSet_IdList.Merge(m, src) -} -func (m *ConnectionSet_IdList) XXX_Size() int { - return xxx_messageInfo_ConnectionSet_IdList.Size(m) -} -func (m *ConnectionSet_IdList) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectionSet_IdList.DiscardUnknown(m) +func (x *ConnectionSet) GetDownstream() map[string]*ConnectionSet_IdList { + if x != nil { + return x.Downstream + } + return nil } -var xxx_messageInfo_ConnectionSet_IdList proto.InternalMessageInfo - -func (m *ConnectionSet_IdList) GetIds() []string { - if m != nil { - return m.Ids +func (x *ConnectionSet) GetUpstream() map[string]*ConnectionSet_IdList { + if x != nil { + return x.Upstream } return nil } // Output of the compilation Step. This object represents one workflow. We store more metadata at this layer type CompiledWorkflow struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Completely contained Workflow Template Template *WorkflowTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. - Connections *ConnectionSet `protobuf:"bytes,2,opt,name=connections,proto3" json:"connections,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Connections *ConnectionSet `protobuf:"bytes,2,opt,name=connections,proto3" json:"connections,omitempty"` } -func (m *CompiledWorkflow) Reset() { *m = CompiledWorkflow{} } -func (m *CompiledWorkflow) String() string { return proto.CompactTextString(m) } -func (*CompiledWorkflow) ProtoMessage() {} -func (*CompiledWorkflow) Descriptor() ([]byte, []int) { - return fileDescriptor_d310dba155e4f065, []int{1} +func (x *CompiledWorkflow) Reset() { + *x = CompiledWorkflow{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_compiler_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CompiledWorkflow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompiledWorkflow.Unmarshal(m, b) -} -func (m *CompiledWorkflow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompiledWorkflow.Marshal(b, m, deterministic) -} -func (m *CompiledWorkflow) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompiledWorkflow.Merge(m, src) +func (x *CompiledWorkflow) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CompiledWorkflow) XXX_Size() int { - return xxx_messageInfo_CompiledWorkflow.Size(m) -} -func (m *CompiledWorkflow) XXX_DiscardUnknown() { - xxx_messageInfo_CompiledWorkflow.DiscardUnknown(m) + +func (*CompiledWorkflow) ProtoMessage() {} + +func (x *CompiledWorkflow) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_compiler_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CompiledWorkflow proto.InternalMessageInfo +// Deprecated: Use CompiledWorkflow.ProtoReflect.Descriptor instead. +func (*CompiledWorkflow) Descriptor() ([]byte, []int) { + return file_flyteidl_core_compiler_proto_rawDescGZIP(), []int{1} +} -func (m *CompiledWorkflow) GetTemplate() *WorkflowTemplate { - if m != nil { - return m.Template +func (x *CompiledWorkflow) GetTemplate() *WorkflowTemplate { + if x != nil { + return x.Template } return nil } -func (m *CompiledWorkflow) GetConnections() *ConnectionSet { - if m != nil { - return m.Connections +func (x *CompiledWorkflow) GetConnections() *ConnectionSet { + if x != nil { + return x.Connections } return nil } // Output of the Compilation step. This object represent one Task. We store more metadata at this layer type CompiledTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Completely contained TaskTemplate - Template *TaskTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Template *TaskTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` } -func (m *CompiledTask) Reset() { *m = CompiledTask{} } -func (m *CompiledTask) String() string { return proto.CompactTextString(m) } -func (*CompiledTask) ProtoMessage() {} -func (*CompiledTask) Descriptor() ([]byte, []int) { - return fileDescriptor_d310dba155e4f065, []int{2} +func (x *CompiledTask) Reset() { + *x = CompiledTask{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_compiler_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CompiledTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompiledTask.Unmarshal(m, b) -} -func (m *CompiledTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompiledTask.Marshal(b, m, deterministic) +func (x *CompiledTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CompiledTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompiledTask.Merge(m, src) -} -func (m *CompiledTask) XXX_Size() int { - return xxx_messageInfo_CompiledTask.Size(m) -} -func (m *CompiledTask) XXX_DiscardUnknown() { - xxx_messageInfo_CompiledTask.DiscardUnknown(m) + +func (*CompiledTask) ProtoMessage() {} + +func (x *CompiledTask) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_compiler_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CompiledTask proto.InternalMessageInfo +// Deprecated: Use CompiledTask.ProtoReflect.Descriptor instead. +func (*CompiledTask) Descriptor() ([]byte, []int) { + return file_flyteidl_core_compiler_proto_rawDescGZIP(), []int{2} +} -func (m *CompiledTask) GetTemplate() *TaskTemplate { - if m != nil { - return m.Template +func (x *CompiledTask) GetTemplate() *TaskTemplate { + if x != nil { + return x.Template } return nil } @@ -206,106 +191,324 @@ func (m *CompiledTask) GetTemplate() *TaskTemplate { // will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of // compiled subworkflows. type CompiledWorkflowClosure struct { - //+required + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // +required Primary *CompiledWorkflow `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"` // Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a // unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow // as an inlined workflow - //+optional + // +optional SubWorkflows []*CompiledWorkflow `protobuf:"bytes,2,rep,name=sub_workflows,json=subWorkflows,proto3" json:"sub_workflows,omitempty"` // Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id - //+required (at least 1) - Tasks []*CompiledTask `protobuf:"bytes,3,rep,name=tasks,proto3" json:"tasks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // +required (at least 1) + Tasks []*CompiledTask `protobuf:"bytes,3,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *CompiledWorkflowClosure) Reset() { *m = CompiledWorkflowClosure{} } -func (m *CompiledWorkflowClosure) String() string { return proto.CompactTextString(m) } -func (*CompiledWorkflowClosure) ProtoMessage() {} -func (*CompiledWorkflowClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_d310dba155e4f065, []int{3} +func (x *CompiledWorkflowClosure) Reset() { + *x = CompiledWorkflowClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_compiler_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CompiledWorkflowClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompiledWorkflowClosure.Unmarshal(m, b) +func (x *CompiledWorkflowClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CompiledWorkflowClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompiledWorkflowClosure.Marshal(b, m, deterministic) -} -func (m *CompiledWorkflowClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompiledWorkflowClosure.Merge(m, src) -} -func (m *CompiledWorkflowClosure) XXX_Size() int { - return xxx_messageInfo_CompiledWorkflowClosure.Size(m) + +func (*CompiledWorkflowClosure) ProtoMessage() {} + +func (x *CompiledWorkflowClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_compiler_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *CompiledWorkflowClosure) XXX_DiscardUnknown() { - xxx_messageInfo_CompiledWorkflowClosure.DiscardUnknown(m) + +// Deprecated: Use CompiledWorkflowClosure.ProtoReflect.Descriptor instead. +func (*CompiledWorkflowClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_core_compiler_proto_rawDescGZIP(), []int{3} } -var xxx_messageInfo_CompiledWorkflowClosure proto.InternalMessageInfo +func (x *CompiledWorkflowClosure) GetPrimary() *CompiledWorkflow { + if x != nil { + return x.Primary + } + return nil +} -func (m *CompiledWorkflowClosure) GetPrimary() *CompiledWorkflow { - if m != nil { - return m.Primary +func (x *CompiledWorkflowClosure) GetSubWorkflows() []*CompiledWorkflow { + if x != nil { + return x.SubWorkflows } return nil } -func (m *CompiledWorkflowClosure) GetSubWorkflows() []*CompiledWorkflow { - if m != nil { - return m.SubWorkflows +func (x *CompiledWorkflowClosure) GetTasks() []*CompiledTask { + if x != nil { + return x.Tasks } return nil } -func (m *CompiledWorkflowClosure) GetTasks() []*CompiledTask { - if m != nil { - return m.Tasks +type ConnectionSet_IdList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` +} + +func (x *ConnectionSet_IdList) Reset() { + *x = ConnectionSet_IdList{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_compiler_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionSet_IdList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionSet_IdList) ProtoMessage() {} + +func (x *ConnectionSet_IdList) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_compiler_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionSet_IdList.ProtoReflect.Descriptor instead. +func (*ConnectionSet_IdList) Descriptor() ([]byte, []int) { + return file_flyteidl_core_compiler_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *ConnectionSet_IdList) GetIds() []string { + if x != nil { + return x.Ids } return nil } -func init() { - proto.RegisterType((*ConnectionSet)(nil), "flyteidl.core.ConnectionSet") - proto.RegisterMapType((map[string]*ConnectionSet_IdList)(nil), "flyteidl.core.ConnectionSet.DownstreamEntry") - proto.RegisterMapType((map[string]*ConnectionSet_IdList)(nil), "flyteidl.core.ConnectionSet.UpstreamEntry") - proto.RegisterType((*ConnectionSet_IdList)(nil), "flyteidl.core.ConnectionSet.IdList") - proto.RegisterType((*CompiledWorkflow)(nil), "flyteidl.core.CompiledWorkflow") - proto.RegisterType((*CompiledTask)(nil), "flyteidl.core.CompiledTask") - proto.RegisterType((*CompiledWorkflowClosure)(nil), "flyteidl.core.CompiledWorkflowClosure") -} - -func init() { proto.RegisterFile("flyteidl/core/compiler.proto", fileDescriptor_d310dba155e4f065) } - -var fileDescriptor_d310dba155e4f065 = []byte{ - // 425 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcb, 0xea, 0xd3, 0x40, - 0x14, 0xc6, 0x49, 0x43, 0x2f, 0x9e, 0x34, 0x58, 0x66, 0x63, 0x4c, 0x0b, 0x86, 0xb8, 0x29, 0xa2, - 0x09, 0xd6, 0x85, 0xb6, 0x8a, 0x0b, 0x5b, 0x15, 0xa1, 0xab, 0x58, 0x11, 0xdc, 0x68, 0x2e, 0xd3, - 0x18, 0x72, 0x99, 0x30, 0x33, 0xb1, 0xe4, 0x09, 0x5c, 0xfa, 0x64, 0xbe, 0x93, 0xe4, 0x4a, 0x93, - 0xd2, 0xe2, 0xe2, 0xbf, 0x9b, 0x70, 0x7e, 0xdf, 0x77, 0xbe, 0xc3, 0xc9, 0x81, 0xc5, 0x31, 0xca, - 0x39, 0x0e, 0xbc, 0xc8, 0x74, 0x09, 0xc5, 0xa6, 0x4b, 0xe2, 0x34, 0x88, 0x30, 0x35, 0x52, 0x4a, - 0x38, 0x41, 0x72, 0x53, 0x35, 0x8a, 0xaa, 0xda, 0x83, 0x4f, 0x84, 0x86, 0xc7, 0x88, 0x9c, 0x2a, - 0x58, 0x7d, 0xd8, 0xad, 0x72, 0x9b, 0x85, 0xac, 0x2a, 0xe9, 0xbf, 0x45, 0x90, 0xb7, 0x24, 0x49, - 0xb0, 0xcb, 0x03, 0x92, 0x7c, 0xc6, 0x1c, 0xed, 0x01, 0x3c, 0x72, 0x4a, 0x18, 0xa7, 0xd8, 0x8e, - 0x95, 0xb1, 0x26, 0x2e, 0xa5, 0xd5, 0x53, 0xa3, 0xd3, 0xce, 0xe8, 0x28, 0x8c, 0x5d, 0x8b, 0xbf, - 0x4f, 0x38, 0xcd, 0xad, 0x33, 0x3d, 0xfa, 0x00, 0x93, 0x2c, 0xad, 0xbd, 0x26, 0xa5, 0xd7, 0x93, - 0x9b, 0x5e, 0x5f, 0xd2, 0x73, 0xa7, 0x56, 0xab, 0xaa, 0x30, 0xfa, 0xe4, 0xed, 0x03, 0xc6, 0xd1, - 0x0c, 0xc4, 0xc0, 0x63, 0x8a, 0xa0, 0x89, 0xcb, 0x7b, 0x56, 0xf1, 0x54, 0x1d, 0xb8, 0xdf, 0x8b, - 0x50, 0x40, 0x21, 0xce, 0x15, 0x41, 0x13, 0x0a, 0x28, 0xc4, 0x39, 0x5a, 0xc3, 0xf0, 0x97, 0x1d, - 0x65, 0x58, 0x19, 0x68, 0xc2, 0x52, 0x5a, 0x3d, 0xbe, 0x99, 0xa2, 0x6a, 0x65, 0x55, 0x8a, 0xcd, - 0xe0, 0x95, 0xa0, 0xfe, 0x00, 0xb9, 0x13, 0xed, 0xce, 0x3b, 0xe8, 0x7f, 0x04, 0x98, 0x6d, 0xab, - 0x25, 0x7b, 0x5f, 0xeb, 0xfd, 0xa1, 0xd7, 0x30, 0xe1, 0x38, 0x4e, 0x23, 0x9b, 0xe3, 0xb2, 0x95, - 0xb4, 0x7a, 0xd4, 0xb3, 0x6d, 0xd0, 0x43, 0x8d, 0x59, 0xad, 0x00, 0xbd, 0x05, 0xc9, 0x6d, 0x9b, - 0xb2, 0x3a, 0xd6, 0xe2, 0x56, 0x2c, 0xeb, 0x5c, 0xa0, 0x7f, 0x84, 0x69, 0x13, 0xe8, 0x60, 0xb3, - 0x10, 0xbd, 0xbc, 0x08, 0x33, 0xef, 0x99, 0x15, 0xd8, 0x65, 0x10, 0xfd, 0xaf, 0x00, 0x0f, 0xfa, - 0xa3, 0x6d, 0x23, 0xc2, 0x32, 0x8a, 0xd1, 0x1a, 0xc6, 0x29, 0x0d, 0x62, 0x9b, 0xe6, 0x57, 0x06, - 0xec, 0x0b, 0xad, 0x86, 0x47, 0x3b, 0x90, 0x59, 0xe6, 0x7c, 0x6f, 0x7e, 0xf6, 0x62, 0x42, 0xf1, - 0x7f, 0x0c, 0xa6, 0x2c, 0x73, 0x9a, 0x0f, 0x86, 0x9e, 0xc3, 0xb0, 0x3c, 0x08, 0x45, 0x2c, 0xd5, - 0xf3, 0x2b, 0xea, 0x62, 0x34, 0xab, 0x22, 0xdf, 0xbd, 0xf9, 0xb6, 0xf1, 0x03, 0xfe, 0x33, 0x73, - 0x0c, 0x97, 0xc4, 0x66, 0xc9, 0x13, 0xea, 0x57, 0x0f, 0xb3, 0xbd, 0x35, 0x1f, 0x27, 0x66, 0xea, - 0x3c, 0xf3, 0x89, 0xd9, 0x39, 0x3f, 0x67, 0x54, 0x5e, 0xde, 0x8b, 0x7f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x11, 0xab, 0xdf, 0xee, 0xe1, 0x03, 0x00, 0x00, +var File_flyteidl_core_compiler_proto protoreflect.FileDescriptor + +var file_flyteidl_core_compiler_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1c, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x03, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x12, 0x4c, 0x0a, 0x0a, 0x64, 0x6f, 0x77, 0x6e, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x73, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x64, 0x6f, 0x77, 0x6e, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x46, 0x0a, 0x08, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x1a, 0x1a, + 0x0a, 0x06, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x1a, 0x62, 0x0a, 0x0f, 0x44, 0x6f, + 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x49, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x60, + 0x0a, 0x0d, 0x55, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x2e, 0x49, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x8f, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3b, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x47, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x37, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x17, + 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, + 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x12, 0x44, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, + 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x42, 0xb3, 0x01, 0x0a, 0x11, + 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x42, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, + 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_compiler_proto_rawDescOnce sync.Once + file_flyteidl_core_compiler_proto_rawDescData = file_flyteidl_core_compiler_proto_rawDesc +) + +func file_flyteidl_core_compiler_proto_rawDescGZIP() []byte { + file_flyteidl_core_compiler_proto_rawDescOnce.Do(func() { + file_flyteidl_core_compiler_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_compiler_proto_rawDescData) + }) + return file_flyteidl_core_compiler_proto_rawDescData +} + +var file_flyteidl_core_compiler_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flyteidl_core_compiler_proto_goTypes = []interface{}{ + (*ConnectionSet)(nil), // 0: flyteidl.core.ConnectionSet + (*CompiledWorkflow)(nil), // 1: flyteidl.core.CompiledWorkflow + (*CompiledTask)(nil), // 2: flyteidl.core.CompiledTask + (*CompiledWorkflowClosure)(nil), // 3: flyteidl.core.CompiledWorkflowClosure + (*ConnectionSet_IdList)(nil), // 4: flyteidl.core.ConnectionSet.IdList + nil, // 5: flyteidl.core.ConnectionSet.DownstreamEntry + nil, // 6: flyteidl.core.ConnectionSet.UpstreamEntry + (*WorkflowTemplate)(nil), // 7: flyteidl.core.WorkflowTemplate + (*TaskTemplate)(nil), // 8: flyteidl.core.TaskTemplate +} +var file_flyteidl_core_compiler_proto_depIdxs = []int32{ + 5, // 0: flyteidl.core.ConnectionSet.downstream:type_name -> flyteidl.core.ConnectionSet.DownstreamEntry + 6, // 1: flyteidl.core.ConnectionSet.upstream:type_name -> flyteidl.core.ConnectionSet.UpstreamEntry + 7, // 2: flyteidl.core.CompiledWorkflow.template:type_name -> flyteidl.core.WorkflowTemplate + 0, // 3: flyteidl.core.CompiledWorkflow.connections:type_name -> flyteidl.core.ConnectionSet + 8, // 4: flyteidl.core.CompiledTask.template:type_name -> flyteidl.core.TaskTemplate + 1, // 5: flyteidl.core.CompiledWorkflowClosure.primary:type_name -> flyteidl.core.CompiledWorkflow + 1, // 6: flyteidl.core.CompiledWorkflowClosure.sub_workflows:type_name -> flyteidl.core.CompiledWorkflow + 2, // 7: flyteidl.core.CompiledWorkflowClosure.tasks:type_name -> flyteidl.core.CompiledTask + 4, // 8: flyteidl.core.ConnectionSet.DownstreamEntry.value:type_name -> flyteidl.core.ConnectionSet.IdList + 4, // 9: flyteidl.core.ConnectionSet.UpstreamEntry.value:type_name -> flyteidl.core.ConnectionSet.IdList + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_compiler_proto_init() } +func file_flyteidl_core_compiler_proto_init() { + if File_flyteidl_core_compiler_proto != nil { + return + } + file_flyteidl_core_workflow_proto_init() + file_flyteidl_core_tasks_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_compiler_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_compiler_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompiledWorkflow); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_compiler_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompiledTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_compiler_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompiledWorkflowClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_compiler_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionSet_IdList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_compiler_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_compiler_proto_goTypes, + DependencyIndexes: file_flyteidl_core_compiler_proto_depIdxs, + MessageInfos: file_flyteidl_core_compiler_proto_msgTypes, + }.Build() + File_flyteidl_core_compiler_proto = out.File + file_flyteidl_core_compiler_proto_rawDesc = nil + file_flyteidl_core_compiler_proto_goTypes = nil + file_flyteidl_core_compiler_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/compiler.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/compiler.swagger.json deleted file mode 100644 index 872bee4245..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/compiler.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/compiler.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go b/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go index 9617f5bef4..f63309fd8e 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/condition.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/condition.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Binary Operator for each expression type ComparisonExpression_Operator int32 @@ -34,30 +34,51 @@ const ( ComparisonExpression_LTE ComparisonExpression_Operator = 5 ) -var ComparisonExpression_Operator_name = map[int32]string{ - 0: "EQ", - 1: "NEQ", - 2: "GT", - 3: "GTE", - 4: "LT", - 5: "LTE", -} +// Enum value maps for ComparisonExpression_Operator. +var ( + ComparisonExpression_Operator_name = map[int32]string{ + 0: "EQ", + 1: "NEQ", + 2: "GT", + 3: "GTE", + 4: "LT", + 5: "LTE", + } + ComparisonExpression_Operator_value = map[string]int32{ + "EQ": 0, + "NEQ": 1, + "GT": 2, + "GTE": 3, + "LT": 4, + "LTE": 5, + } +) -var ComparisonExpression_Operator_value = map[string]int32{ - "EQ": 0, - "NEQ": 1, - "GT": 2, - "GTE": 3, - "LT": 4, - "LTE": 5, +func (x ComparisonExpression_Operator) Enum() *ComparisonExpression_Operator { + p := new(ComparisonExpression_Operator) + *p = x + return p } func (x ComparisonExpression_Operator) String() string { - return proto.EnumName(ComparisonExpression_Operator_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ComparisonExpression_Operator) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_condition_proto_enumTypes[0].Descriptor() +} + +func (ComparisonExpression_Operator) Type() protoreflect.EnumType { + return &file_flyteidl_core_condition_proto_enumTypes[0] +} + +func (x ComparisonExpression_Operator) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ComparisonExpression_Operator.Descriptor instead. func (ComparisonExpression_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df35c44899db166a, []int{0, 0} + return file_flyteidl_core_condition_proto_rawDescGZIP(), []int{0, 0} } // Nested conditions. They can be conjoined using AND / OR @@ -70,140 +91,156 @@ const ( ConjunctionExpression_OR ConjunctionExpression_LogicalOperator = 1 ) -var ConjunctionExpression_LogicalOperator_name = map[int32]string{ - 0: "AND", - 1: "OR", -} +// Enum value maps for ConjunctionExpression_LogicalOperator. +var ( + ConjunctionExpression_LogicalOperator_name = map[int32]string{ + 0: "AND", + 1: "OR", + } + ConjunctionExpression_LogicalOperator_value = map[string]int32{ + "AND": 0, + "OR": 1, + } +) -var ConjunctionExpression_LogicalOperator_value = map[string]int32{ - "AND": 0, - "OR": 1, +func (x ConjunctionExpression_LogicalOperator) Enum() *ConjunctionExpression_LogicalOperator { + p := new(ConjunctionExpression_LogicalOperator) + *p = x + return p } func (x ConjunctionExpression_LogicalOperator) String() string { - return proto.EnumName(ConjunctionExpression_LogicalOperator_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConjunctionExpression_LogicalOperator) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_condition_proto_enumTypes[1].Descriptor() } +func (ConjunctionExpression_LogicalOperator) Type() protoreflect.EnumType { + return &file_flyteidl_core_condition_proto_enumTypes[1] +} + +func (x ConjunctionExpression_LogicalOperator) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConjunctionExpression_LogicalOperator.Descriptor instead. func (ConjunctionExpression_LogicalOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df35c44899db166a, []int{3, 0} + return file_flyteidl_core_condition_proto_rawDescGZIP(), []int{3, 0} } // Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. // Each expression results in a boolean result. type ComparisonExpression struct { - Operator ComparisonExpression_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=flyteidl.core.ComparisonExpression_Operator" json:"operator,omitempty"` - LeftValue *Operand `protobuf:"bytes,2,opt,name=left_value,json=leftValue,proto3" json:"left_value,omitempty"` - RightValue *Operand `protobuf:"bytes,3,opt,name=right_value,json=rightValue,proto3" json:"right_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ComparisonExpression) Reset() { *m = ComparisonExpression{} } -func (m *ComparisonExpression) String() string { return proto.CompactTextString(m) } -func (*ComparisonExpression) ProtoMessage() {} -func (*ComparisonExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_df35c44899db166a, []int{0} + Operator ComparisonExpression_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=flyteidl.core.ComparisonExpression_Operator" json:"operator,omitempty"` + LeftValue *Operand `protobuf:"bytes,2,opt,name=left_value,json=leftValue,proto3" json:"left_value,omitempty"` + RightValue *Operand `protobuf:"bytes,3,opt,name=right_value,json=rightValue,proto3" json:"right_value,omitempty"` } -func (m *ComparisonExpression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComparisonExpression.Unmarshal(m, b) -} -func (m *ComparisonExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComparisonExpression.Marshal(b, m, deterministic) -} -func (m *ComparisonExpression) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComparisonExpression.Merge(m, src) +func (x *ComparisonExpression) Reset() { + *x = ComparisonExpression{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_condition_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ComparisonExpression) XXX_Size() int { - return xxx_messageInfo_ComparisonExpression.Size(m) + +func (x *ComparisonExpression) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ComparisonExpression) XXX_DiscardUnknown() { - xxx_messageInfo_ComparisonExpression.DiscardUnknown(m) + +func (*ComparisonExpression) ProtoMessage() {} + +func (x *ComparisonExpression) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_condition_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ComparisonExpression proto.InternalMessageInfo +// Deprecated: Use ComparisonExpression.ProtoReflect.Descriptor instead. +func (*ComparisonExpression) Descriptor() ([]byte, []int) { + return file_flyteidl_core_condition_proto_rawDescGZIP(), []int{0} +} -func (m *ComparisonExpression) GetOperator() ComparisonExpression_Operator { - if m != nil { - return m.Operator +func (x *ComparisonExpression) GetOperator() ComparisonExpression_Operator { + if x != nil { + return x.Operator } return ComparisonExpression_EQ } -func (m *ComparisonExpression) GetLeftValue() *Operand { - if m != nil { - return m.LeftValue +func (x *ComparisonExpression) GetLeftValue() *Operand { + if x != nil { + return x.LeftValue } return nil } -func (m *ComparisonExpression) GetRightValue() *Operand { - if m != nil { - return m.RightValue +func (x *ComparisonExpression) GetRightValue() *Operand { + if x != nil { + return x.RightValue } return nil } // Defines an operand to a comparison expression. type Operand struct { - // Types that are valid to be assigned to Val: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Val: + // // *Operand_Primitive // *Operand_Var // *Operand_Scalar - Val isOperand_Val `protobuf_oneof:"val"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Val isOperand_Val `protobuf_oneof:"val"` } -func (m *Operand) Reset() { *m = Operand{} } -func (m *Operand) String() string { return proto.CompactTextString(m) } -func (*Operand) ProtoMessage() {} -func (*Operand) Descriptor() ([]byte, []int) { - return fileDescriptor_df35c44899db166a, []int{1} +func (x *Operand) Reset() { + *x = Operand{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_condition_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Operand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand.Unmarshal(m, b) -} -func (m *Operand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand.Marshal(b, m, deterministic) -} -func (m *Operand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand.Merge(m, src) -} -func (m *Operand) XXX_Size() int { - return xxx_messageInfo_Operand.Size(m) +func (x *Operand) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Operand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand proto.InternalMessageInfo -type isOperand_Val interface { - isOperand_Val() -} +func (*Operand) ProtoMessage() {} -type Operand_Primitive struct { - Primitive *Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"` -} - -type Operand_Var struct { - Var string `protobuf:"bytes,2,opt,name=var,proto3,oneof"` +func (x *Operand) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_condition_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type Operand_Scalar struct { - Scalar *Scalar `protobuf:"bytes,3,opt,name=scalar,proto3,oneof"` +// Deprecated: Use Operand.ProtoReflect.Descriptor instead. +func (*Operand) Descriptor() ([]byte, []int) { + return file_flyteidl_core_condition_proto_rawDescGZIP(), []int{1} } -func (*Operand_Primitive) isOperand_Val() {} - -func (*Operand_Var) isOperand_Val() {} - -func (*Operand_Scalar) isOperand_Val() {} - func (m *Operand) GetVal() isOperand_Val { if m != nil { return m.Val @@ -211,90 +248,101 @@ func (m *Operand) GetVal() isOperand_Val { return nil } -// Deprecated: Do not use. -func (m *Operand) GetPrimitive() *Primitive { - if x, ok := m.GetVal().(*Operand_Primitive); ok { +// Deprecated: Marked as deprecated in flyteidl/core/condition.proto. +func (x *Operand) GetPrimitive() *Primitive { + if x, ok := x.GetVal().(*Operand_Primitive); ok { return x.Primitive } return nil } -func (m *Operand) GetVar() string { - if x, ok := m.GetVal().(*Operand_Var); ok { +func (x *Operand) GetVar() string { + if x, ok := x.GetVal().(*Operand_Var); ok { return x.Var } return "" } -func (m *Operand) GetScalar() *Scalar { - if x, ok := m.GetVal().(*Operand_Scalar); ok { +func (x *Operand) GetScalar() *Scalar { + if x, ok := x.GetVal().(*Operand_Scalar); ok { return x.Scalar } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Operand) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Operand_Primitive)(nil), - (*Operand_Var)(nil), - (*Operand_Scalar)(nil), - } +type isOperand_Val interface { + isOperand_Val() } +type Operand_Primitive struct { + // Can be a constant + // + // Deprecated: Marked as deprecated in flyteidl/core/condition.proto. + Primitive *Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"` +} + +type Operand_Var struct { + // Or one of this node's input variables + Var string `protobuf:"bytes,2,opt,name=var,proto3,oneof"` +} + +type Operand_Scalar struct { + // Replace the primitive field + Scalar *Scalar `protobuf:"bytes,3,opt,name=scalar,proto3,oneof"` +} + +func (*Operand_Primitive) isOperand_Val() {} + +func (*Operand_Var) isOperand_Val() {} + +func (*Operand_Scalar) isOperand_Val() {} + // Defines a boolean expression tree. It can be a simple or a conjunction expression. // Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. type BooleanExpression struct { - // Types that are valid to be assigned to Expr: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Expr: + // // *BooleanExpression_Conjunction // *BooleanExpression_Comparison - Expr isBooleanExpression_Expr `protobuf_oneof:"expr"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expr isBooleanExpression_Expr `protobuf_oneof:"expr"` } -func (m *BooleanExpression) Reset() { *m = BooleanExpression{} } -func (m *BooleanExpression) String() string { return proto.CompactTextString(m) } -func (*BooleanExpression) ProtoMessage() {} -func (*BooleanExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_df35c44899db166a, []int{2} +func (x *BooleanExpression) Reset() { + *x = BooleanExpression{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_condition_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BooleanExpression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BooleanExpression.Unmarshal(m, b) -} -func (m *BooleanExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BooleanExpression.Marshal(b, m, deterministic) -} -func (m *BooleanExpression) XXX_Merge(src proto.Message) { - xxx_messageInfo_BooleanExpression.Merge(m, src) -} -func (m *BooleanExpression) XXX_Size() int { - return xxx_messageInfo_BooleanExpression.Size(m) -} -func (m *BooleanExpression) XXX_DiscardUnknown() { - xxx_messageInfo_BooleanExpression.DiscardUnknown(m) +func (x *BooleanExpression) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_BooleanExpression proto.InternalMessageInfo +func (*BooleanExpression) ProtoMessage() {} -type isBooleanExpression_Expr interface { - isBooleanExpression_Expr() -} - -type BooleanExpression_Conjunction struct { - Conjunction *ConjunctionExpression `protobuf:"bytes,1,opt,name=conjunction,proto3,oneof"` +func (x *BooleanExpression) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_condition_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type BooleanExpression_Comparison struct { - Comparison *ComparisonExpression `protobuf:"bytes,2,opt,name=comparison,proto3,oneof"` +// Deprecated: Use BooleanExpression.ProtoReflect.Descriptor instead. +func (*BooleanExpression) Descriptor() ([]byte, []int) { + return file_flyteidl_core_condition_proto_rawDescGZIP(), []int{2} } -func (*BooleanExpression_Conjunction) isBooleanExpression_Expr() {} - -func (*BooleanExpression_Comparison) isBooleanExpression_Expr() {} - func (m *BooleanExpression) GetExpr() isBooleanExpression_Expr { if m != nil { return m.Expr @@ -302,126 +350,302 @@ func (m *BooleanExpression) GetExpr() isBooleanExpression_Expr { return nil } -func (m *BooleanExpression) GetConjunction() *ConjunctionExpression { - if x, ok := m.GetExpr().(*BooleanExpression_Conjunction); ok { +func (x *BooleanExpression) GetConjunction() *ConjunctionExpression { + if x, ok := x.GetExpr().(*BooleanExpression_Conjunction); ok { return x.Conjunction } return nil } -func (m *BooleanExpression) GetComparison() *ComparisonExpression { - if x, ok := m.GetExpr().(*BooleanExpression_Comparison); ok { +func (x *BooleanExpression) GetComparison() *ComparisonExpression { + if x, ok := x.GetExpr().(*BooleanExpression_Comparison); ok { return x.Comparison } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BooleanExpression) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BooleanExpression_Conjunction)(nil), - (*BooleanExpression_Comparison)(nil), - } +type isBooleanExpression_Expr interface { + isBooleanExpression_Expr() } -// Defines a conjunction expression of two boolean expressions. -type ConjunctionExpression struct { - Operator ConjunctionExpression_LogicalOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=flyteidl.core.ConjunctionExpression_LogicalOperator" json:"operator,omitempty"` - LeftExpression *BooleanExpression `protobuf:"bytes,2,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"` - RightExpression *BooleanExpression `protobuf:"bytes,3,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type BooleanExpression_Conjunction struct { + Conjunction *ConjunctionExpression `protobuf:"bytes,1,opt,name=conjunction,proto3,oneof"` } -func (m *ConjunctionExpression) Reset() { *m = ConjunctionExpression{} } -func (m *ConjunctionExpression) String() string { return proto.CompactTextString(m) } -func (*ConjunctionExpression) ProtoMessage() {} -func (*ConjunctionExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_df35c44899db166a, []int{3} +type BooleanExpression_Comparison struct { + Comparison *ComparisonExpression `protobuf:"bytes,2,opt,name=comparison,proto3,oneof"` } -func (m *ConjunctionExpression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConjunctionExpression.Unmarshal(m, b) -} -func (m *ConjunctionExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConjunctionExpression.Marshal(b, m, deterministic) +func (*BooleanExpression_Conjunction) isBooleanExpression_Expr() {} + +func (*BooleanExpression_Comparison) isBooleanExpression_Expr() {} + +// Defines a conjunction expression of two boolean expressions. +type ConjunctionExpression struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Operator ConjunctionExpression_LogicalOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=flyteidl.core.ConjunctionExpression_LogicalOperator" json:"operator,omitempty"` + LeftExpression *BooleanExpression `protobuf:"bytes,2,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"` + RightExpression *BooleanExpression `protobuf:"bytes,3,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"` } -func (m *ConjunctionExpression) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConjunctionExpression.Merge(m, src) + +func (x *ConjunctionExpression) Reset() { + *x = ConjunctionExpression{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_condition_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConjunctionExpression) XXX_Size() int { - return xxx_messageInfo_ConjunctionExpression.Size(m) + +func (x *ConjunctionExpression) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConjunctionExpression) XXX_DiscardUnknown() { - xxx_messageInfo_ConjunctionExpression.DiscardUnknown(m) + +func (*ConjunctionExpression) ProtoMessage() {} + +func (x *ConjunctionExpression) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_condition_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ConjunctionExpression proto.InternalMessageInfo +// Deprecated: Use ConjunctionExpression.ProtoReflect.Descriptor instead. +func (*ConjunctionExpression) Descriptor() ([]byte, []int) { + return file_flyteidl_core_condition_proto_rawDescGZIP(), []int{3} +} -func (m *ConjunctionExpression) GetOperator() ConjunctionExpression_LogicalOperator { - if m != nil { - return m.Operator +func (x *ConjunctionExpression) GetOperator() ConjunctionExpression_LogicalOperator { + if x != nil { + return x.Operator } return ConjunctionExpression_AND } -func (m *ConjunctionExpression) GetLeftExpression() *BooleanExpression { - if m != nil { - return m.LeftExpression +func (x *ConjunctionExpression) GetLeftExpression() *BooleanExpression { + if x != nil { + return x.LeftExpression } return nil } -func (m *ConjunctionExpression) GetRightExpression() *BooleanExpression { - if m != nil { - return m.RightExpression +func (x *ConjunctionExpression) GetRightExpression() *BooleanExpression { + if x != nil { + return x.RightExpression } return nil } -func init() { - proto.RegisterEnum("flyteidl.core.ComparisonExpression_Operator", ComparisonExpression_Operator_name, ComparisonExpression_Operator_value) - proto.RegisterEnum("flyteidl.core.ConjunctionExpression_LogicalOperator", ConjunctionExpression_LogicalOperator_name, ConjunctionExpression_LogicalOperator_value) - proto.RegisterType((*ComparisonExpression)(nil), "flyteidl.core.ComparisonExpression") - proto.RegisterType((*Operand)(nil), "flyteidl.core.Operand") - proto.RegisterType((*BooleanExpression)(nil), "flyteidl.core.BooleanExpression") - proto.RegisterType((*ConjunctionExpression)(nil), "flyteidl.core.ConjunctionExpression") -} - -func init() { proto.RegisterFile("flyteidl/core/condition.proto", fileDescriptor_df35c44899db166a) } - -var fileDescriptor_df35c44899db166a = []byte{ - // 489 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0xf3, 0x67, 0xeb, 0xb6, 0xb7, 0x62, 0x35, 0x16, 0x43, 0x15, 0x02, 0xa9, 0x0a, 0x1c, - 0x76, 0x80, 0x44, 0x2a, 0x20, 0x24, 0x34, 0x0e, 0x04, 0xa2, 0x05, 0x51, 0xed, 0x8f, 0xa9, 0x38, - 0x70, 0x41, 0x6e, 0xea, 0x65, 0x46, 0x6e, 0x1c, 0x39, 0x69, 0x35, 0x3e, 0x05, 0x07, 0x3e, 0x03, - 0x37, 0x3e, 0x24, 0xb2, 0x9b, 0xa6, 0x6d, 0x5a, 0xa1, 0xde, 0xda, 0xf7, 0x7d, 0x7e, 0x4f, 0x1e, - 0xfb, 0x7d, 0x0d, 0x4f, 0x6e, 0xc4, 0xcf, 0x92, 0xf1, 0xb1, 0x08, 0x12, 0xa9, 0x58, 0x90, 0xc8, - 0x6c, 0xcc, 0x4b, 0x2e, 0x33, 0x3f, 0x57, 0xb2, 0x94, 0xf8, 0xde, 0xa2, 0xed, 0xeb, 0xf6, 0xa3, - 0xc7, 0xeb, 0x6a, 0xc1, 0x4b, 0xa6, 0xa8, 0x28, 0xe6, 0x62, 0xef, 0x97, 0x03, 0x0f, 0x3e, 0xc8, - 0x49, 0x4e, 0x15, 0x2f, 0x64, 0x16, 0xdd, 0xe5, 0x8a, 0x15, 0x05, 0x97, 0x19, 0x8e, 0xe1, 0x50, - 0xe6, 0x4c, 0xd1, 0x52, 0xaa, 0xae, 0xdd, 0xb3, 0x4f, 0x8f, 0xfb, 0xcf, 0xfd, 0x35, 0x63, 0x7f, - 0x1b, 0xe6, 0x5f, 0x56, 0x0c, 0xa9, 0x69, 0xfc, 0x1a, 0x40, 0xb0, 0x9b, 0xf2, 0xfb, 0x8c, 0x8a, - 0x29, 0xeb, 0x3a, 0x3d, 0xfb, 0xb4, 0xdd, 0x7f, 0xd8, 0xf0, 0x32, 0x58, 0x36, 0x26, 0x47, 0x5a, - 0xf9, 0x55, 0x0b, 0xf1, 0x1b, 0x68, 0x2b, 0x9e, 0xde, 0x2e, 0x38, 0xf7, 0xbf, 0x1c, 0x18, 0xa9, - 0x01, 0xbd, 0x77, 0x70, 0xb8, 0x48, 0x81, 0x5b, 0xe0, 0x44, 0xd7, 0xc8, 0xc2, 0x07, 0xe0, 0x5e, - 0x44, 0xd7, 0xc8, 0xd6, 0x85, 0xf3, 0x21, 0x72, 0x74, 0xe1, 0x7c, 0x18, 0x21, 0x57, 0x17, 0x06, - 0x43, 0xb4, 0xa7, 0x0b, 0x83, 0x61, 0x84, 0xf6, 0xbd, 0xdf, 0x36, 0x1c, 0x54, 0xb6, 0xf8, 0x0c, - 0x8e, 0x72, 0xc5, 0x27, 0xbc, 0xe4, 0x33, 0x66, 0x6e, 0xa1, 0xdd, 0xef, 0x36, 0x12, 0x5c, 0x2d, - 0xfa, 0xa1, 0xd3, 0xb5, 0x63, 0x8b, 0x2c, 0x01, 0x8c, 0xc1, 0x9d, 0x51, 0x65, 0x4e, 0x7c, 0x14, - 0x5b, 0x44, 0xff, 0xc1, 0x01, 0xb4, 0x8a, 0x84, 0x0a, 0xaa, 0xaa, 0x03, 0x9d, 0x34, 0xec, 0xbe, - 0x98, 0x66, 0x6c, 0x91, 0x4a, 0x16, 0xee, 0x6b, 0x13, 0xe1, 0xfd, 0xb5, 0xe1, 0x7e, 0x28, 0xa5, - 0x60, 0x74, 0x7d, 0x48, 0xed, 0x44, 0x66, 0x3f, 0xa6, 0x59, 0xa2, 0xe7, 0x5f, 0x25, 0x7c, 0xb6, - 0x31, 0xa7, 0x5a, 0xb1, 0x44, 0x63, 0x8b, 0xac, 0xa2, 0x38, 0x02, 0x48, 0xea, 0x79, 0x56, 0x43, - 0x7a, 0xba, 0xc3, 0xc0, 0x63, 0x8b, 0xac, 0x80, 0x61, 0x0b, 0xf6, 0xd8, 0x5d, 0xae, 0xbc, 0x3f, - 0x0e, 0x9c, 0x6c, 0xfd, 0x2e, 0xbe, 0xda, 0xd8, 0xab, 0x57, 0xbb, 0xe4, 0xf5, 0x07, 0x32, 0xe5, - 0x09, 0x15, 0x5b, 0xf6, 0xeb, 0x13, 0x74, 0xcc, 0x7e, 0xb1, 0x5a, 0x5c, 0xe5, 0xef, 0x35, 0x8c, - 0x37, 0xee, 0x8f, 0x1c, 0x6b, 0x70, 0x25, 0xdc, 0x67, 0x40, 0xf3, 0x9d, 0x5b, 0xf1, 0x72, 0x77, - 0xf4, 0xea, 0x18, 0x72, 0x59, 0xf0, 0x3c, 0xe8, 0x34, 0x42, 0xeb, 0x25, 0x7b, 0x7f, 0xf1, 0x11, - 0x59, 0x7a, 0xeb, 0x2e, 0x09, 0xb2, 0xc3, 0xb3, 0x6f, 0x6f, 0x53, 0x5e, 0xde, 0x4e, 0x47, 0x7e, - 0x22, 0x27, 0x81, 0xf9, 0x84, 0x54, 0xe9, 0xfc, 0x47, 0x50, 0x3f, 0xdc, 0x94, 0x65, 0x41, 0x3e, - 0x7a, 0x91, 0xca, 0x60, 0xed, 0x2d, 0x8f, 0x5a, 0xe6, 0x0d, 0xbf, 0xfc, 0x17, 0x00, 0x00, 0xff, - 0xff, 0x19, 0x6a, 0x99, 0xdd, 0x11, 0x04, 0x00, 0x00, +var File_flyteidl_core_condition_proto protoreflect.FileDescriptor + +var file_flyteidl_core_condition_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1c, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x02, 0x0a, + 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, + 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x35, 0x0a, 0x0a, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x6e, 0x64, 0x52, 0x09, 0x6c, 0x65, 0x66, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x6e, 0x64, 0x52, 0x0a, 0x72, 0x69, 0x67, 0x68, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x3d, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x06, 0x0a, 0x02, 0x45, + 0x51, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x45, 0x51, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, + 0x47, 0x54, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x54, 0x45, 0x10, 0x03, 0x12, 0x06, 0x0a, + 0x02, 0x4c, 0x54, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x54, 0x45, 0x10, 0x05, 0x22, 0x93, + 0x01, 0x0a, 0x07, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x09, 0x70, 0x72, + 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, + 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x09, 0x70, + 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x76, 0x61, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x76, 0x61, 0x72, 0x12, 0x2f, 0x0a, 0x06, + 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x61, + 0x6c, 0x61, 0x72, 0x48, 0x00, 0x52, 0x06, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x42, 0x05, 0x0a, + 0x03, 0x76, 0x61, 0x6c, 0x22, 0xac, 0x01, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, + 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0b, 0x63, 0x6f, + 0x6e, 0x6a, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6a, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, + 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, + 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x65, + 0x78, 0x70, 0x72, 0x22, 0xa5, 0x02, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x6e, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, + 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x34, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x43, 0x6f, 0x6e, 0x6a, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x49, 0x0a, 0x0f, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, + 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6c, 0x65, 0x66, 0x74, + 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x10, 0x72, 0x69, + 0x67, 0x68, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x45, 0x78, 0x70, 0x72, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x45, 0x78, 0x70, + 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x0f, 0x4c, 0x6f, 0x67, 0x69, 0x63, + 0x61, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, + 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x52, 0x10, 0x01, 0x42, 0xb4, 0x01, 0x0a, 0x11, + 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x42, 0x0e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, + 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, + 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, + 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_condition_proto_rawDescOnce sync.Once + file_flyteidl_core_condition_proto_rawDescData = file_flyteidl_core_condition_proto_rawDesc +) + +func file_flyteidl_core_condition_proto_rawDescGZIP() []byte { + file_flyteidl_core_condition_proto_rawDescOnce.Do(func() { + file_flyteidl_core_condition_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_condition_proto_rawDescData) + }) + return file_flyteidl_core_condition_proto_rawDescData +} + +var file_flyteidl_core_condition_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_flyteidl_core_condition_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_flyteidl_core_condition_proto_goTypes = []interface{}{ + (ComparisonExpression_Operator)(0), // 0: flyteidl.core.ComparisonExpression.Operator + (ConjunctionExpression_LogicalOperator)(0), // 1: flyteidl.core.ConjunctionExpression.LogicalOperator + (*ComparisonExpression)(nil), // 2: flyteidl.core.ComparisonExpression + (*Operand)(nil), // 3: flyteidl.core.Operand + (*BooleanExpression)(nil), // 4: flyteidl.core.BooleanExpression + (*ConjunctionExpression)(nil), // 5: flyteidl.core.ConjunctionExpression + (*Primitive)(nil), // 6: flyteidl.core.Primitive + (*Scalar)(nil), // 7: flyteidl.core.Scalar +} +var file_flyteidl_core_condition_proto_depIdxs = []int32{ + 0, // 0: flyteidl.core.ComparisonExpression.operator:type_name -> flyteidl.core.ComparisonExpression.Operator + 3, // 1: flyteidl.core.ComparisonExpression.left_value:type_name -> flyteidl.core.Operand + 3, // 2: flyteidl.core.ComparisonExpression.right_value:type_name -> flyteidl.core.Operand + 6, // 3: flyteidl.core.Operand.primitive:type_name -> flyteidl.core.Primitive + 7, // 4: flyteidl.core.Operand.scalar:type_name -> flyteidl.core.Scalar + 5, // 5: flyteidl.core.BooleanExpression.conjunction:type_name -> flyteidl.core.ConjunctionExpression + 2, // 6: flyteidl.core.BooleanExpression.comparison:type_name -> flyteidl.core.ComparisonExpression + 1, // 7: flyteidl.core.ConjunctionExpression.operator:type_name -> flyteidl.core.ConjunctionExpression.LogicalOperator + 4, // 8: flyteidl.core.ConjunctionExpression.left_expression:type_name -> flyteidl.core.BooleanExpression + 4, // 9: flyteidl.core.ConjunctionExpression.right_expression:type_name -> flyteidl.core.BooleanExpression + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_condition_proto_init() } +func file_flyteidl_core_condition_proto_init() { + if File_flyteidl_core_condition_proto != nil { + return + } + file_flyteidl_core_literals_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_condition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComparisonExpression); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_condition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Operand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_condition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BooleanExpression); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_condition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConjunctionExpression); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_condition_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*Operand_Primitive)(nil), + (*Operand_Var)(nil), + (*Operand_Scalar)(nil), + } + file_flyteidl_core_condition_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*BooleanExpression_Conjunction)(nil), + (*BooleanExpression_Comparison)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_condition_proto_rawDesc, + NumEnums: 2, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_condition_proto_goTypes, + DependencyIndexes: file_flyteidl_core_condition_proto_depIdxs, + EnumInfos: file_flyteidl_core_condition_proto_enumTypes, + MessageInfos: file_flyteidl_core_condition_proto_msgTypes, + }.Build() + File_flyteidl_core_condition_proto = out.File + file_flyteidl_core_condition_proto_rawDesc = nil + file_flyteidl_core_condition_proto_goTypes = nil + file_flyteidl_core_condition_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/condition.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/condition.swagger.json deleted file mode 100644 index 003c697275..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/condition.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/condition.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go b/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go index 5db3bbeb88..2cc910b386 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.go @@ -1,27 +1,31 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/dynamic_job.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Describes a set of tasks to execute and how the final outputs are produced. type DynamicJobSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A collection of nodes to execute. Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this @@ -36,96 +40,189 @@ type DynamicJobSpec struct { // [Optional] A complete list of task specs referenced in nodes. Tasks []*TaskTemplate `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` // [Optional] A complete list of task specs referenced in nodes. - Subworkflows []*WorkflowTemplate `protobuf:"bytes,5,rep,name=subworkflows,proto3" json:"subworkflows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Subworkflows []*WorkflowTemplate `protobuf:"bytes,5,rep,name=subworkflows,proto3" json:"subworkflows,omitempty"` } -func (m *DynamicJobSpec) Reset() { *m = DynamicJobSpec{} } -func (m *DynamicJobSpec) String() string { return proto.CompactTextString(m) } -func (*DynamicJobSpec) ProtoMessage() {} -func (*DynamicJobSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_87e0015f5a750c69, []int{0} +func (x *DynamicJobSpec) Reset() { + *x = DynamicJobSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_dynamic_job_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DynamicJobSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DynamicJobSpec.Unmarshal(m, b) -} -func (m *DynamicJobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DynamicJobSpec.Marshal(b, m, deterministic) +func (x *DynamicJobSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DynamicJobSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DynamicJobSpec.Merge(m, src) -} -func (m *DynamicJobSpec) XXX_Size() int { - return xxx_messageInfo_DynamicJobSpec.Size(m) -} -func (m *DynamicJobSpec) XXX_DiscardUnknown() { - xxx_messageInfo_DynamicJobSpec.DiscardUnknown(m) + +func (*DynamicJobSpec) ProtoMessage() {} + +func (x *DynamicJobSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_dynamic_job_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DynamicJobSpec proto.InternalMessageInfo +// Deprecated: Use DynamicJobSpec.ProtoReflect.Descriptor instead. +func (*DynamicJobSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_core_dynamic_job_proto_rawDescGZIP(), []int{0} +} -func (m *DynamicJobSpec) GetNodes() []*Node { - if m != nil { - return m.Nodes +func (x *DynamicJobSpec) GetNodes() []*Node { + if x != nil { + return x.Nodes } return nil } -func (m *DynamicJobSpec) GetMinSuccesses() int64 { - if m != nil { - return m.MinSuccesses +func (x *DynamicJobSpec) GetMinSuccesses() int64 { + if x != nil { + return x.MinSuccesses } return 0 } -func (m *DynamicJobSpec) GetOutputs() []*Binding { - if m != nil { - return m.Outputs +func (x *DynamicJobSpec) GetOutputs() []*Binding { + if x != nil { + return x.Outputs } return nil } -func (m *DynamicJobSpec) GetTasks() []*TaskTemplate { - if m != nil { - return m.Tasks +func (x *DynamicJobSpec) GetTasks() []*TaskTemplate { + if x != nil { + return x.Tasks } return nil } -func (m *DynamicJobSpec) GetSubworkflows() []*WorkflowTemplate { - if m != nil { - return m.Subworkflows +func (x *DynamicJobSpec) GetSubworkflows() []*WorkflowTemplate { + if x != nil { + return x.Subworkflows } return nil } -func init() { - proto.RegisterType((*DynamicJobSpec)(nil), "flyteidl.core.DynamicJobSpec") +var File_flyteidl_core_dynamic_job_proto protoreflect.FileDescriptor + +var file_flyteidl_core_dynamic_job_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x0e, 0x44, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x4a, 0x6f, 0x62, 0x53, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, + 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, + 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x69, + 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x31, 0x0a, 0x05, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, + 0x43, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x73, 0x42, 0xb5, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0f, 0x44, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x4a, 0x6f, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, + 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, + 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, + 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_dynamic_job_proto_rawDescOnce sync.Once + file_flyteidl_core_dynamic_job_proto_rawDescData = file_flyteidl_core_dynamic_job_proto_rawDesc +) + +func file_flyteidl_core_dynamic_job_proto_rawDescGZIP() []byte { + file_flyteidl_core_dynamic_job_proto_rawDescOnce.Do(func() { + file_flyteidl_core_dynamic_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_dynamic_job_proto_rawDescData) + }) + return file_flyteidl_core_dynamic_job_proto_rawDescData } -func init() { proto.RegisterFile("flyteidl/core/dynamic_job.proto", fileDescriptor_87e0015f5a750c69) } - -var fileDescriptor_87e0015f5a750c69 = []byte{ - // 288 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xcf, 0x4b, 0xc3, 0x30, - 0x14, 0xc7, 0xd9, 0xe6, 0x14, 0xe2, 0xe6, 0x21, 0x82, 0xd4, 0x29, 0x6c, 0xe8, 0x65, 0x1e, 0x6c, - 0xfc, 0x71, 0x13, 0x4f, 0xd3, 0x93, 0x07, 0x0f, 0xdd, 0x40, 0xf0, 0x32, 0x9a, 0xf4, 0xad, 0xc6, - 0xa5, 0x79, 0xa5, 0x2f, 0x65, 0xec, 0x5f, 0xf0, 0xaf, 0x16, 0xd3, 0x75, 0xd0, 0xe2, 0x2d, 0xe4, - 0xfb, 0xf9, 0xbc, 0xe4, 0x7d, 0xd9, 0x78, 0x65, 0xb6, 0x0e, 0x74, 0x62, 0x84, 0xc2, 0x02, 0x44, - 0xb2, 0xb5, 0x71, 0xa6, 0xd5, 0xf2, 0x1b, 0x65, 0x98, 0x17, 0xe8, 0x90, 0x0f, 0x6b, 0x20, 0xfc, - 0x03, 0x46, 0xe7, 0x4d, 0xde, 0xc5, 0xb4, 0xa6, 0x8a, 0x1c, 0x5d, 0x36, 0xa3, 0x0d, 0x16, 0xeb, - 0x95, 0xc1, 0xcd, 0xff, 0xa9, 0xd1, 0x0e, 0x8a, 0xd8, 0xec, 0xdc, 0xab, 0x9f, 0x2e, 0x3b, 0x79, - 0xad, 0xde, 0x7e, 0x43, 0x39, 0xcf, 0x41, 0xf1, 0x1b, 0xd6, 0xb7, 0x98, 0x00, 0x05, 0x9d, 0x49, - 0x6f, 0x7a, 0xfc, 0x70, 0x1a, 0x36, 0x3e, 0x12, 0xbe, 0x63, 0x02, 0x51, 0x45, 0xf0, 0x6b, 0x36, - 0xcc, 0xb4, 0x5d, 0x52, 0xa9, 0x14, 0x10, 0x01, 0x05, 0xdd, 0x49, 0x67, 0xda, 0x8b, 0x06, 0x99, - 0xb6, 0xf3, 0xfa, 0x8e, 0xdf, 0xb1, 0x23, 0x2c, 0x5d, 0x5e, 0x3a, 0x0a, 0x7a, 0x7e, 0xe2, 0x59, - 0x6b, 0xe2, 0x4c, 0xdb, 0x44, 0xdb, 0x34, 0xaa, 0x31, 0x7e, 0xcf, 0xfa, 0x7e, 0xbf, 0xe0, 0xc0, - 0xf3, 0x17, 0x2d, 0x7e, 0x11, 0xd3, 0x7a, 0x01, 0x59, 0x6e, 0x62, 0x07, 0x51, 0x45, 0xf2, 0x17, - 0x36, 0xa0, 0x52, 0xd6, 0xab, 0x53, 0xd0, 0xf7, 0xe6, 0xb8, 0x65, 0x7e, 0xec, 0xf2, 0xbd, 0xdd, - 0x90, 0x66, 0xcf, 0x9f, 0x4f, 0xa9, 0x76, 0x5f, 0xa5, 0x0c, 0x15, 0x66, 0xc2, 0xab, 0x58, 0xa4, - 0xd5, 0x41, 0xec, 0x6b, 0x4c, 0xc1, 0x8a, 0x5c, 0xde, 0xa6, 0x28, 0x1a, 0xcd, 0xca, 0x43, 0xdf, - 0xe8, 0xe3, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xfe, 0xc3, 0xc1, 0xda, 0x01, 0x00, 0x00, +var file_flyteidl_core_dynamic_job_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_core_dynamic_job_proto_goTypes = []interface{}{ + (*DynamicJobSpec)(nil), // 0: flyteidl.core.DynamicJobSpec + (*Node)(nil), // 1: flyteidl.core.Node + (*Binding)(nil), // 2: flyteidl.core.Binding + (*TaskTemplate)(nil), // 3: flyteidl.core.TaskTemplate + (*WorkflowTemplate)(nil), // 4: flyteidl.core.WorkflowTemplate +} +var file_flyteidl_core_dynamic_job_proto_depIdxs = []int32{ + 1, // 0: flyteidl.core.DynamicJobSpec.nodes:type_name -> flyteidl.core.Node + 2, // 1: flyteidl.core.DynamicJobSpec.outputs:type_name -> flyteidl.core.Binding + 3, // 2: flyteidl.core.DynamicJobSpec.tasks:type_name -> flyteidl.core.TaskTemplate + 4, // 3: flyteidl.core.DynamicJobSpec.subworkflows:type_name -> flyteidl.core.WorkflowTemplate + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_dynamic_job_proto_init() } +func file_flyteidl_core_dynamic_job_proto_init() { + if File_flyteidl_core_dynamic_job_proto != nil { + return + } + file_flyteidl_core_tasks_proto_init() + file_flyteidl_core_workflow_proto_init() + file_flyteidl_core_literals_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_dynamic_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DynamicJobSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_dynamic_job_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_dynamic_job_proto_goTypes, + DependencyIndexes: file_flyteidl_core_dynamic_job_proto_depIdxs, + MessageInfos: file_flyteidl_core_dynamic_job_proto_msgTypes, + }.Build() + File_flyteidl_core_dynamic_job_proto = out.File + file_flyteidl_core_dynamic_job_proto_rawDesc = nil + file_flyteidl_core_dynamic_job_proto_goTypes = nil + file_flyteidl_core_dynamic_job_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.swagger.json deleted file mode 100644 index 7b0edff585..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/dynamic_job.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go b/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go index 301bbb4e94..61e833ed1d 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/errors.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/errors.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines a generic error type that dictates the behavior of the retry strategy. type ContainerError_Kind int32 @@ -28,27 +28,52 @@ const ( ContainerError_RECOVERABLE ContainerError_Kind = 1 ) -var ContainerError_Kind_name = map[int32]string{ - 0: "NON_RECOVERABLE", - 1: "RECOVERABLE", -} +// Enum value maps for ContainerError_Kind. +var ( + ContainerError_Kind_name = map[int32]string{ + 0: "NON_RECOVERABLE", + 1: "RECOVERABLE", + } + ContainerError_Kind_value = map[string]int32{ + "NON_RECOVERABLE": 0, + "RECOVERABLE": 1, + } +) -var ContainerError_Kind_value = map[string]int32{ - "NON_RECOVERABLE": 0, - "RECOVERABLE": 1, +func (x ContainerError_Kind) Enum() *ContainerError_Kind { + p := new(ContainerError_Kind) + *p = x + return p } func (x ContainerError_Kind) String() string { - return proto.EnumName(ContainerError_Kind_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContainerError_Kind) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_errors_proto_enumTypes[0].Descriptor() } +func (ContainerError_Kind) Type() protoreflect.EnumType { + return &file_flyteidl_core_errors_proto_enumTypes[0] +} + +func (x ContainerError_Kind) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContainerError_Kind.Descriptor instead. func (ContainerError_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c2a49b99f342b879, []int{0, 0} + return file_flyteidl_core_errors_proto_rawDescGZIP(), []int{0, 0} } // Error message to propagate detailed errors from container executions to the execution // engine. type ContainerError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A simplified code for errors, so that we can provide a glossary of all possible errors. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // A detailed error message. @@ -56,61 +81,65 @@ type ContainerError struct { // An abstract error kind for this error. Defaults to Non_Recoverable if not specified. Kind ContainerError_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=flyteidl.core.ContainerError_Kind" json:"kind,omitempty"` // Defines the origin of the error (system, user, unknown). - Origin ExecutionError_ErrorKind `protobuf:"varint,4,opt,name=origin,proto3,enum=flyteidl.core.ExecutionError_ErrorKind" json:"origin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Origin ExecutionError_ErrorKind `protobuf:"varint,4,opt,name=origin,proto3,enum=flyteidl.core.ExecutionError_ErrorKind" json:"origin,omitempty"` } -func (m *ContainerError) Reset() { *m = ContainerError{} } -func (m *ContainerError) String() string { return proto.CompactTextString(m) } -func (*ContainerError) ProtoMessage() {} -func (*ContainerError) Descriptor() ([]byte, []int) { - return fileDescriptor_c2a49b99f342b879, []int{0} +func (x *ContainerError) Reset() { + *x = ContainerError{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_errors_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ContainerError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContainerError.Unmarshal(m, b) -} -func (m *ContainerError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContainerError.Marshal(b, m, deterministic) -} -func (m *ContainerError) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerError.Merge(m, src) +func (x *ContainerError) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerError) XXX_Size() int { - return xxx_messageInfo_ContainerError.Size(m) -} -func (m *ContainerError) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerError.DiscardUnknown(m) + +func (*ContainerError) ProtoMessage() {} + +func (x *ContainerError) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_errors_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ContainerError proto.InternalMessageInfo +// Deprecated: Use ContainerError.ProtoReflect.Descriptor instead. +func (*ContainerError) Descriptor() ([]byte, []int) { + return file_flyteidl_core_errors_proto_rawDescGZIP(), []int{0} +} -func (m *ContainerError) GetCode() string { - if m != nil { - return m.Code +func (x *ContainerError) GetCode() string { + if x != nil { + return x.Code } return "" } -func (m *ContainerError) GetMessage() string { - if m != nil { - return m.Message +func (x *ContainerError) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *ContainerError) GetKind() ContainerError_Kind { - if m != nil { - return m.Kind +func (x *ContainerError) GetKind() ContainerError_Kind { + if x != nil { + return x.Kind } return ContainerError_NON_RECOVERABLE } -func (m *ContainerError) GetOrigin() ExecutionError_ErrorKind { - if m != nil { - return m.Origin +func (x *ContainerError) GetOrigin() ExecutionError_ErrorKind { + if x != nil { + return x.Origin } return ExecutionError_UNKNOWN } @@ -118,71 +147,174 @@ func (m *ContainerError) GetOrigin() ExecutionError_ErrorKind { // Defines the errors.pb file format the container can produce to communicate // failure reasons to the execution engine. type ErrorDocument struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The error raised during execution. - Error *ContainerError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error *ContainerError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *ErrorDocument) Reset() { *m = ErrorDocument{} } -func (m *ErrorDocument) String() string { return proto.CompactTextString(m) } -func (*ErrorDocument) ProtoMessage() {} -func (*ErrorDocument) Descriptor() ([]byte, []int) { - return fileDescriptor_c2a49b99f342b879, []int{1} +func (x *ErrorDocument) Reset() { + *x = ErrorDocument{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_errors_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ErrorDocument) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorDocument.Unmarshal(m, b) +func (x *ErrorDocument) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ErrorDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorDocument.Marshal(b, m, deterministic) + +func (*ErrorDocument) ProtoMessage() {} + +func (x *ErrorDocument) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_errors_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ErrorDocument) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorDocument.Merge(m, src) + +// Deprecated: Use ErrorDocument.ProtoReflect.Descriptor instead. +func (*ErrorDocument) Descriptor() ([]byte, []int) { + return file_flyteidl_core_errors_proto_rawDescGZIP(), []int{1} } -func (m *ErrorDocument) XXX_Size() int { - return xxx_messageInfo_ErrorDocument.Size(m) + +func (x *ErrorDocument) GetError() *ContainerError { + if x != nil { + return x.Error + } + return nil } -func (m *ErrorDocument) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorDocument.DiscardUnknown(m) + +var File_flyteidl_core_errors_proto protoreflect.FileDescriptor + +var file_flyteidl_core_errors_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1d, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, + 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0x12, 0x3f, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x6f, 0x72, + 0x69, 0x67, 0x69, 0x6e, 0x22, 0x2c, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x13, 0x0a, 0x0f, + 0x4e, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x41, 0x42, 0x4c, 0x45, 0x10, + 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x41, 0x42, 0x4c, 0x45, + 0x10, 0x01, 0x22, 0x44, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x6f, 0x63, 0x75, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0xb1, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0b, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, + 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, + 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, + 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } -var xxx_messageInfo_ErrorDocument proto.InternalMessageInfo +var ( + file_flyteidl_core_errors_proto_rawDescOnce sync.Once + file_flyteidl_core_errors_proto_rawDescData = file_flyteidl_core_errors_proto_rawDesc +) -func (m *ErrorDocument) GetError() *ContainerError { - if m != nil { - return m.Error - } - return nil +func file_flyteidl_core_errors_proto_rawDescGZIP() []byte { + file_flyteidl_core_errors_proto_rawDescOnce.Do(func() { + file_flyteidl_core_errors_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_errors_proto_rawDescData) + }) + return file_flyteidl_core_errors_proto_rawDescData } -func init() { - proto.RegisterEnum("flyteidl.core.ContainerError_Kind", ContainerError_Kind_name, ContainerError_Kind_value) - proto.RegisterType((*ContainerError)(nil), "flyteidl.core.ContainerError") - proto.RegisterType((*ErrorDocument)(nil), "flyteidl.core.ErrorDocument") -} - -func init() { proto.RegisterFile("flyteidl/core/errors.proto", fileDescriptor_c2a49b99f342b879) } - -var fileDescriptor_c2a49b99f342b879 = []byte{ - // 286 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4b, 0xc3, 0x40, - 0x10, 0xc5, 0x8d, 0xc6, 0x8a, 0x53, 0xda, 0xca, 0x7a, 0x09, 0x85, 0x42, 0xc9, 0xc5, 0x1e, 0x74, - 0x17, 0x5a, 0xf0, 0x20, 0x82, 0xd8, 0x36, 0x27, 0xa5, 0x85, 0x1c, 0x3c, 0x78, 0x91, 0x26, 0x59, - 0xd7, 0xc5, 0x66, 0xa7, 0x6c, 0x36, 0xa0, 0x1f, 0xd8, 0xef, 0x21, 0x99, 0x18, 0x31, 0x3d, 0x78, - 0x09, 0xf3, 0xe7, 0xfd, 0x5e, 0x66, 0x1f, 0x0c, 0x5f, 0xb7, 0x9f, 0x4e, 0xea, 0x6c, 0x2b, 0x52, - 0xb4, 0x52, 0x48, 0x6b, 0xd1, 0x16, 0x7c, 0x67, 0xd1, 0x21, 0xeb, 0x35, 0x3b, 0x5e, 0xed, 0x86, - 0xa3, 0x3d, 0xe9, 0x87, 0x4c, 0x4b, 0xa7, 0xd1, 0xd4, 0xea, 0xf0, 0xcb, 0x83, 0xfe, 0x02, 0x8d, - 0xdb, 0x68, 0x23, 0x6d, 0x54, 0xf9, 0x30, 0x06, 0x7e, 0x8a, 0x99, 0x0c, 0xbc, 0xb1, 0x37, 0x39, - 0x8d, 0xa9, 0x66, 0x01, 0x9c, 0xe4, 0xb2, 0x28, 0x36, 0x4a, 0x06, 0x87, 0x34, 0x6e, 0x5a, 0x76, - 0x0d, 0xfe, 0xbb, 0x36, 0x59, 0x70, 0x34, 0xf6, 0x26, 0xfd, 0x69, 0xc8, 0x5b, 0x7f, 0xe7, 0x6d, - 0x6b, 0xfe, 0xa0, 0x4d, 0x16, 0x93, 0x9e, 0xdd, 0x41, 0x07, 0xad, 0x56, 0xda, 0x04, 0x3e, 0x91, - 0x17, 0x7b, 0x64, 0xd4, 0x1c, 0x5a, 0x93, 0xf4, 0x25, 0xfc, 0x07, 0x0b, 0x2f, 0xc1, 0xaf, 0x7a, - 0x76, 0x0e, 0x83, 0xd5, 0x7a, 0xf5, 0x12, 0x47, 0x8b, 0xf5, 0x53, 0x14, 0xdf, 0xcf, 0x1f, 0xa3, - 0xb3, 0x03, 0x36, 0x80, 0xee, 0xdf, 0x81, 0x17, 0x2e, 0xa1, 0x47, 0x16, 0x4b, 0x4c, 0xcb, 0x5c, - 0x1a, 0xc7, 0x66, 0x70, 0x4c, 0xb1, 0xd1, 0x33, 0xbb, 0xd3, 0xd1, 0xbf, 0x87, 0xc7, 0xb5, 0x76, - 0x7e, 0xfb, 0x7c, 0xa3, 0xb4, 0x7b, 0x2b, 0x13, 0x9e, 0x62, 0x2e, 0x88, 0x40, 0xab, 0xea, 0x42, - 0xfc, 0x06, 0xad, 0xa4, 0x11, 0xbb, 0xe4, 0x4a, 0xa1, 0x68, 0x65, 0x9f, 0x74, 0x28, 0xf2, 0xd9, - 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7f, 0x9d, 0x42, 0xed, 0xbe, 0x01, 0x00, 0x00, +var file_flyteidl_core_errors_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_core_errors_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flyteidl_core_errors_proto_goTypes = []interface{}{ + (ContainerError_Kind)(0), // 0: flyteidl.core.ContainerError.Kind + (*ContainerError)(nil), // 1: flyteidl.core.ContainerError + (*ErrorDocument)(nil), // 2: flyteidl.core.ErrorDocument + (ExecutionError_ErrorKind)(0), // 3: flyteidl.core.ExecutionError.ErrorKind +} +var file_flyteidl_core_errors_proto_depIdxs = []int32{ + 0, // 0: flyteidl.core.ContainerError.kind:type_name -> flyteidl.core.ContainerError.Kind + 3, // 1: flyteidl.core.ContainerError.origin:type_name -> flyteidl.core.ExecutionError.ErrorKind + 1, // 2: flyteidl.core.ErrorDocument.error:type_name -> flyteidl.core.ContainerError + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_errors_proto_init() } +func file_flyteidl_core_errors_proto_init() { + if File_flyteidl_core_errors_proto != nil { + return + } + file_flyteidl_core_execution_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_errors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_errors_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ErrorDocument); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_errors_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_errors_proto_goTypes, + DependencyIndexes: file_flyteidl_core_errors_proto_depIdxs, + EnumInfos: file_flyteidl_core_errors_proto_enumTypes, + MessageInfos: file_flyteidl_core_errors_proto_msgTypes, + }.Build() + File_flyteidl_core_errors_proto = out.File + file_flyteidl_core_errors_proto_rawDesc = nil + file_flyteidl_core_errors_proto_goTypes = nil + file_flyteidl_core_errors_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/errors.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/errors.swagger.json deleted file mode 100644 index 24332df82c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/errors.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/errors.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go b/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go index 0a5d20005c..fe558cf94c 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/execution.pb.go @@ -1,25 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/execution.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type WorkflowExecution_Phase int32 @@ -36,38 +36,59 @@ const ( WorkflowExecution_ABORTING WorkflowExecution_Phase = 9 ) -var WorkflowExecution_Phase_name = map[int32]string{ - 0: "UNDEFINED", - 1: "QUEUED", - 2: "RUNNING", - 3: "SUCCEEDING", - 4: "SUCCEEDED", - 5: "FAILING", - 6: "FAILED", - 7: "ABORTED", - 8: "TIMED_OUT", - 9: "ABORTING", -} - -var WorkflowExecution_Phase_value = map[string]int32{ - "UNDEFINED": 0, - "QUEUED": 1, - "RUNNING": 2, - "SUCCEEDING": 3, - "SUCCEEDED": 4, - "FAILING": 5, - "FAILED": 6, - "ABORTED": 7, - "TIMED_OUT": 8, - "ABORTING": 9, +// Enum value maps for WorkflowExecution_Phase. +var ( + WorkflowExecution_Phase_name = map[int32]string{ + 0: "UNDEFINED", + 1: "QUEUED", + 2: "RUNNING", + 3: "SUCCEEDING", + 4: "SUCCEEDED", + 5: "FAILING", + 6: "FAILED", + 7: "ABORTED", + 8: "TIMED_OUT", + 9: "ABORTING", + } + WorkflowExecution_Phase_value = map[string]int32{ + "UNDEFINED": 0, + "QUEUED": 1, + "RUNNING": 2, + "SUCCEEDING": 3, + "SUCCEEDED": 4, + "FAILING": 5, + "FAILED": 6, + "ABORTED": 7, + "TIMED_OUT": 8, + "ABORTING": 9, + } +) + +func (x WorkflowExecution_Phase) Enum() *WorkflowExecution_Phase { + p := new(WorkflowExecution_Phase) + *p = x + return p } func (x WorkflowExecution_Phase) String() string { - return proto.EnumName(WorkflowExecution_Phase_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WorkflowExecution_Phase) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_execution_proto_enumTypes[0].Descriptor() +} + +func (WorkflowExecution_Phase) Type() protoreflect.EnumType { + return &file_flyteidl_core_execution_proto_enumTypes[0] } +func (x WorkflowExecution_Phase) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WorkflowExecution_Phase.Descriptor instead. func (WorkflowExecution_Phase) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{0, 0} + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{0, 0} } type NodeExecution_Phase int32 @@ -86,40 +107,61 @@ const ( NodeExecution_RECOVERED NodeExecution_Phase = 10 ) -var NodeExecution_Phase_name = map[int32]string{ - 0: "UNDEFINED", - 1: "QUEUED", - 2: "RUNNING", - 3: "SUCCEEDED", - 4: "FAILING", - 5: "FAILED", - 6: "ABORTED", - 7: "SKIPPED", - 8: "TIMED_OUT", - 9: "DYNAMIC_RUNNING", - 10: "RECOVERED", -} - -var NodeExecution_Phase_value = map[string]int32{ - "UNDEFINED": 0, - "QUEUED": 1, - "RUNNING": 2, - "SUCCEEDED": 3, - "FAILING": 4, - "FAILED": 5, - "ABORTED": 6, - "SKIPPED": 7, - "TIMED_OUT": 8, - "DYNAMIC_RUNNING": 9, - "RECOVERED": 10, +// Enum value maps for NodeExecution_Phase. +var ( + NodeExecution_Phase_name = map[int32]string{ + 0: "UNDEFINED", + 1: "QUEUED", + 2: "RUNNING", + 3: "SUCCEEDED", + 4: "FAILING", + 5: "FAILED", + 6: "ABORTED", + 7: "SKIPPED", + 8: "TIMED_OUT", + 9: "DYNAMIC_RUNNING", + 10: "RECOVERED", + } + NodeExecution_Phase_value = map[string]int32{ + "UNDEFINED": 0, + "QUEUED": 1, + "RUNNING": 2, + "SUCCEEDED": 3, + "FAILING": 4, + "FAILED": 5, + "ABORTED": 6, + "SKIPPED": 7, + "TIMED_OUT": 8, + "DYNAMIC_RUNNING": 9, + "RECOVERED": 10, + } +) + +func (x NodeExecution_Phase) Enum() *NodeExecution_Phase { + p := new(NodeExecution_Phase) + *p = x + return p } func (x NodeExecution_Phase) String() string { - return proto.EnumName(NodeExecution_Phase_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (NodeExecution_Phase) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_execution_proto_enumTypes[1].Descriptor() +} + +func (NodeExecution_Phase) Type() protoreflect.EnumType { + return &file_flyteidl_core_execution_proto_enumTypes[1] +} + +func (x NodeExecution_Phase) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use NodeExecution_Phase.Descriptor instead. func (NodeExecution_Phase) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{1, 0} + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{1, 0} } type TaskExecution_Phase int32 @@ -137,34 +179,55 @@ const ( TaskExecution_WAITING_FOR_RESOURCES TaskExecution_Phase = 7 ) -var TaskExecution_Phase_name = map[int32]string{ - 0: "UNDEFINED", - 1: "QUEUED", - 2: "RUNNING", - 3: "SUCCEEDED", - 4: "ABORTED", - 5: "FAILED", - 6: "INITIALIZING", - 7: "WAITING_FOR_RESOURCES", -} +// Enum value maps for TaskExecution_Phase. +var ( + TaskExecution_Phase_name = map[int32]string{ + 0: "UNDEFINED", + 1: "QUEUED", + 2: "RUNNING", + 3: "SUCCEEDED", + 4: "ABORTED", + 5: "FAILED", + 6: "INITIALIZING", + 7: "WAITING_FOR_RESOURCES", + } + TaskExecution_Phase_value = map[string]int32{ + "UNDEFINED": 0, + "QUEUED": 1, + "RUNNING": 2, + "SUCCEEDED": 3, + "ABORTED": 4, + "FAILED": 5, + "INITIALIZING": 6, + "WAITING_FOR_RESOURCES": 7, + } +) -var TaskExecution_Phase_value = map[string]int32{ - "UNDEFINED": 0, - "QUEUED": 1, - "RUNNING": 2, - "SUCCEEDED": 3, - "ABORTED": 4, - "FAILED": 5, - "INITIALIZING": 6, - "WAITING_FOR_RESOURCES": 7, +func (x TaskExecution_Phase) Enum() *TaskExecution_Phase { + p := new(TaskExecution_Phase) + *p = x + return p } func (x TaskExecution_Phase) String() string { - return proto.EnumName(TaskExecution_Phase_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TaskExecution_Phase) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_execution_proto_enumTypes[2].Descriptor() +} + +func (TaskExecution_Phase) Type() protoreflect.EnumType { + return &file_flyteidl_core_execution_proto_enumTypes[2] +} + +func (x TaskExecution_Phase) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use TaskExecution_Phase.Descriptor instead. func (TaskExecution_Phase) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{2, 0} + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{2, 0} } // Error type: System or User @@ -176,24 +239,45 @@ const ( ExecutionError_SYSTEM ExecutionError_ErrorKind = 2 ) -var ExecutionError_ErrorKind_name = map[int32]string{ - 0: "UNKNOWN", - 1: "USER", - 2: "SYSTEM", -} +// Enum value maps for ExecutionError_ErrorKind. +var ( + ExecutionError_ErrorKind_name = map[int32]string{ + 0: "UNKNOWN", + 1: "USER", + 2: "SYSTEM", + } + ExecutionError_ErrorKind_value = map[string]int32{ + "UNKNOWN": 0, + "USER": 1, + "SYSTEM": 2, + } +) -var ExecutionError_ErrorKind_value = map[string]int32{ - "UNKNOWN": 0, - "USER": 1, - "SYSTEM": 2, +func (x ExecutionError_ErrorKind) Enum() *ExecutionError_ErrorKind { + p := new(ExecutionError_ErrorKind) + *p = x + return p } func (x ExecutionError_ErrorKind) String() string { - return proto.EnumName(ExecutionError_ErrorKind_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExecutionError_ErrorKind) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_execution_proto_enumTypes[3].Descriptor() } +func (ExecutionError_ErrorKind) Type() protoreflect.EnumType { + return &file_flyteidl_core_execution_proto_enumTypes[3] +} + +func (x ExecutionError_ErrorKind) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExecutionError_ErrorKind.Descriptor instead. func (ExecutionError_ErrorKind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{3, 0} + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{3, 0} } type TaskLog_MessageFormat int32 @@ -204,24 +288,45 @@ const ( TaskLog_JSON TaskLog_MessageFormat = 2 ) -var TaskLog_MessageFormat_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CSV", - 2: "JSON", -} +// Enum value maps for TaskLog_MessageFormat. +var ( + TaskLog_MessageFormat_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CSV", + 2: "JSON", + } + TaskLog_MessageFormat_value = map[string]int32{ + "UNKNOWN": 0, + "CSV": 1, + "JSON": 2, + } +) -var TaskLog_MessageFormat_value = map[string]int32{ - "UNKNOWN": 0, - "CSV": 1, - "JSON": 2, +func (x TaskLog_MessageFormat) Enum() *TaskLog_MessageFormat { + p := new(TaskLog_MessageFormat) + *p = x + return p } func (x TaskLog_MessageFormat) String() string { - return proto.EnumName(TaskLog_MessageFormat_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (TaskLog_MessageFormat) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_execution_proto_enumTypes[4].Descriptor() +} + +func (TaskLog_MessageFormat) Type() protoreflect.EnumType { + return &file_flyteidl_core_execution_proto_enumTypes[4] +} + +func (x TaskLog_MessageFormat) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TaskLog_MessageFormat.Descriptor instead. func (TaskLog_MessageFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{4, 0} + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{4, 0} } type QualityOfService_Tier int32 @@ -234,189 +339,239 @@ const ( QualityOfService_LOW QualityOfService_Tier = 3 ) -var QualityOfService_Tier_name = map[int32]string{ - 0: "UNDEFINED", - 1: "HIGH", - 2: "MEDIUM", - 3: "LOW", -} +// Enum value maps for QualityOfService_Tier. +var ( + QualityOfService_Tier_name = map[int32]string{ + 0: "UNDEFINED", + 1: "HIGH", + 2: "MEDIUM", + 3: "LOW", + } + QualityOfService_Tier_value = map[string]int32{ + "UNDEFINED": 0, + "HIGH": 1, + "MEDIUM": 2, + "LOW": 3, + } +) -var QualityOfService_Tier_value = map[string]int32{ - "UNDEFINED": 0, - "HIGH": 1, - "MEDIUM": 2, - "LOW": 3, +func (x QualityOfService_Tier) Enum() *QualityOfService_Tier { + p := new(QualityOfService_Tier) + *p = x + return p } func (x QualityOfService_Tier) String() string { - return proto.EnumName(QualityOfService_Tier_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (QualityOfService_Tier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{6, 0} +func (QualityOfService_Tier) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_execution_proto_enumTypes[5].Descriptor() } -// Indicates various phases of Workflow Execution -type WorkflowExecution struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (QualityOfService_Tier) Type() protoreflect.EnumType { + return &file_flyteidl_core_execution_proto_enumTypes[5] } -func (m *WorkflowExecution) Reset() { *m = WorkflowExecution{} } -func (m *WorkflowExecution) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecution) ProtoMessage() {} -func (*WorkflowExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{0} +func (x QualityOfService_Tier) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *WorkflowExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecution.Unmarshal(m, b) +// Deprecated: Use QualityOfService_Tier.Descriptor instead. +func (QualityOfService_Tier) EnumDescriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{6, 0} } -func (m *WorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecution.Marshal(b, m, deterministic) + +// Indicates various phases of Workflow Execution +type WorkflowExecution struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WorkflowExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecution.Merge(m, src) + +func (x *WorkflowExecution) Reset() { + *x = WorkflowExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_execution_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecution) XXX_Size() int { - return xxx_messageInfo_WorkflowExecution.Size(m) + +func (x *WorkflowExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecution) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecution.DiscardUnknown(m) + +func (*WorkflowExecution) ProtoMessage() {} + +func (x *WorkflowExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_execution_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecution proto.InternalMessageInfo +// Deprecated: Use WorkflowExecution.ProtoReflect.Descriptor instead. +func (*WorkflowExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{0} +} // Indicates various phases of Node Execution that only include the time spent to run the nodes/workflows type NodeExecution struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *NodeExecution) Reset() { *m = NodeExecution{} } -func (m *NodeExecution) String() string { return proto.CompactTextString(m) } -func (*NodeExecution) ProtoMessage() {} -func (*NodeExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{1} +func (x *NodeExecution) Reset() { + *x = NodeExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_execution_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecution.Unmarshal(m, b) -} -func (m *NodeExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecution.Marshal(b, m, deterministic) -} -func (m *NodeExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecution.Merge(m, src) +func (x *NodeExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecution) XXX_Size() int { - return xxx_messageInfo_NodeExecution.Size(m) -} -func (m *NodeExecution) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecution.DiscardUnknown(m) + +func (*NodeExecution) ProtoMessage() {} + +func (x *NodeExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_execution_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecution proto.InternalMessageInfo +// Deprecated: Use NodeExecution.ProtoReflect.Descriptor instead. +func (*NodeExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{1} +} // Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task, // but this is the cumulative list that customers may want to know about for their task. type TaskExecution struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *TaskExecution) Reset() { *m = TaskExecution{} } -func (m *TaskExecution) String() string { return proto.CompactTextString(m) } -func (*TaskExecution) ProtoMessage() {} -func (*TaskExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{2} +func (x *TaskExecution) Reset() { + *x = TaskExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_execution_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecution.Unmarshal(m, b) -} -func (m *TaskExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecution.Marshal(b, m, deterministic) -} -func (m *TaskExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecution.Merge(m, src) +func (x *TaskExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecution) XXX_Size() int { - return xxx_messageInfo_TaskExecution.Size(m) -} -func (m *TaskExecution) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecution.DiscardUnknown(m) + +func (*TaskExecution) ProtoMessage() {} + +func (x *TaskExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_execution_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecution proto.InternalMessageInfo +// Deprecated: Use TaskExecution.ProtoReflect.Descriptor instead. +func (*TaskExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{2} +} // Represents the error message from the execution. type ExecutionError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error code indicates a grouping of a type of error. // More Info: Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // Detailed description of the error - including stack trace. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Full error contents accessible via a URI - ErrorUri string `protobuf:"bytes,3,opt,name=error_uri,json=errorUri,proto3" json:"error_uri,omitempty"` - Kind ExecutionError_ErrorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=flyteidl.core.ExecutionError_ErrorKind" json:"kind,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ErrorUri string `protobuf:"bytes,3,opt,name=error_uri,json=errorUri,proto3" json:"error_uri,omitempty"` + Kind ExecutionError_ErrorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=flyteidl.core.ExecutionError_ErrorKind" json:"kind,omitempty"` } -func (m *ExecutionError) Reset() { *m = ExecutionError{} } -func (m *ExecutionError) String() string { return proto.CompactTextString(m) } -func (*ExecutionError) ProtoMessage() {} -func (*ExecutionError) Descriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{3} +func (x *ExecutionError) Reset() { + *x = ExecutionError{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_execution_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionError.Unmarshal(m, b) -} -func (m *ExecutionError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionError.Marshal(b, m, deterministic) -} -func (m *ExecutionError) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionError.Merge(m, src) +func (x *ExecutionError) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionError) XXX_Size() int { - return xxx_messageInfo_ExecutionError.Size(m) -} -func (m *ExecutionError) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionError.DiscardUnknown(m) + +func (*ExecutionError) ProtoMessage() {} + +func (x *ExecutionError) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_execution_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionError proto.InternalMessageInfo +// Deprecated: Use ExecutionError.ProtoReflect.Descriptor instead. +func (*ExecutionError) Descriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{3} +} -func (m *ExecutionError) GetCode() string { - if m != nil { - return m.Code +func (x *ExecutionError) GetCode() string { + if x != nil { + return x.Code } return "" } -func (m *ExecutionError) GetMessage() string { - if m != nil { - return m.Message +func (x *ExecutionError) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *ExecutionError) GetErrorUri() string { - if m != nil { - return m.ErrorUri +func (x *ExecutionError) GetErrorUri() string { + if x != nil { + return x.ErrorUri } return "" } -func (m *ExecutionError) GetKind() ExecutionError_ErrorKind { - if m != nil { - return m.Kind +func (x *ExecutionError) GetKind() ExecutionError_ErrorKind { + if x != nil { + return x.Kind } return ExecutionError_UNKNOWN } @@ -424,144 +579,190 @@ func (m *ExecutionError) GetKind() ExecutionError_ErrorKind { // Log information for the task that is specific to a log sink // When our log story is flushed out, we may have more metadata here like log link expiry type TaskLog struct { - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - MessageFormat TaskLog_MessageFormat `protobuf:"varint,3,opt,name=message_format,json=messageFormat,proto3,enum=flyteidl.core.TaskLog_MessageFormat" json:"message_format,omitempty"` - Ttl *duration.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TaskLog) Reset() { *m = TaskLog{} } -func (m *TaskLog) String() string { return proto.CompactTextString(m) } -func (*TaskLog) ProtoMessage() {} -func (*TaskLog) Descriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{4} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + MessageFormat TaskLog_MessageFormat `protobuf:"varint,3,opt,name=message_format,json=messageFormat,proto3,enum=flyteidl.core.TaskLog_MessageFormat" json:"message_format,omitempty"` + Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"` +} + +func (x *TaskLog) Reset() { + *x = TaskLog{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_execution_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskLog) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskLog.Unmarshal(m, b) -} -func (m *TaskLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskLog.Marshal(b, m, deterministic) -} -func (m *TaskLog) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskLog.Merge(m, src) +func (x *TaskLog) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskLog) XXX_Size() int { - return xxx_messageInfo_TaskLog.Size(m) -} -func (m *TaskLog) XXX_DiscardUnknown() { - xxx_messageInfo_TaskLog.DiscardUnknown(m) + +func (*TaskLog) ProtoMessage() {} + +func (x *TaskLog) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_execution_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskLog proto.InternalMessageInfo +// Deprecated: Use TaskLog.ProtoReflect.Descriptor instead. +func (*TaskLog) Descriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{4} +} -func (m *TaskLog) GetUri() string { - if m != nil { - return m.Uri +func (x *TaskLog) GetUri() string { + if x != nil { + return x.Uri } return "" } -func (m *TaskLog) GetName() string { - if m != nil { - return m.Name +func (x *TaskLog) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *TaskLog) GetMessageFormat() TaskLog_MessageFormat { - if m != nil { - return m.MessageFormat +func (x *TaskLog) GetMessageFormat() TaskLog_MessageFormat { + if x != nil { + return x.MessageFormat } return TaskLog_UNKNOWN } -func (m *TaskLog) GetTtl() *duration.Duration { - if m != nil { - return m.Ttl +func (x *TaskLog) GetTtl() *durationpb.Duration { + if x != nil { + return x.Ttl } return nil } // Represents customized execution run-time attributes. type QualityOfServiceSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates how much queueing delay an execution can tolerate. - QueueingBudget *duration.Duration `protobuf:"bytes,1,opt,name=queueing_budget,json=queueingBudget,proto3" json:"queueing_budget,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueueingBudget *durationpb.Duration `protobuf:"bytes,1,opt,name=queueing_budget,json=queueingBudget,proto3" json:"queueing_budget,omitempty"` } -func (m *QualityOfServiceSpec) Reset() { *m = QualityOfServiceSpec{} } -func (m *QualityOfServiceSpec) String() string { return proto.CompactTextString(m) } -func (*QualityOfServiceSpec) ProtoMessage() {} -func (*QualityOfServiceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{5} +func (x *QualityOfServiceSpec) Reset() { + *x = QualityOfServiceSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_execution_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *QualityOfServiceSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QualityOfServiceSpec.Unmarshal(m, b) +func (x *QualityOfServiceSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *QualityOfServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QualityOfServiceSpec.Marshal(b, m, deterministic) -} -func (m *QualityOfServiceSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_QualityOfServiceSpec.Merge(m, src) -} -func (m *QualityOfServiceSpec) XXX_Size() int { - return xxx_messageInfo_QualityOfServiceSpec.Size(m) -} -func (m *QualityOfServiceSpec) XXX_DiscardUnknown() { - xxx_messageInfo_QualityOfServiceSpec.DiscardUnknown(m) + +func (*QualityOfServiceSpec) ProtoMessage() {} + +func (x *QualityOfServiceSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_execution_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_QualityOfServiceSpec proto.InternalMessageInfo +// Deprecated: Use QualityOfServiceSpec.ProtoReflect.Descriptor instead. +func (*QualityOfServiceSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{5} +} -func (m *QualityOfServiceSpec) GetQueueingBudget() *duration.Duration { - if m != nil { - return m.QueueingBudget +func (x *QualityOfServiceSpec) GetQueueingBudget() *durationpb.Duration { + if x != nil { + return x.QueueingBudget } return nil } // Indicates the priority of an execution. type QualityOfService struct { - // Types that are valid to be assigned to Designation: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Designation: + // // *QualityOfService_Tier_ // *QualityOfService_Spec - Designation isQualityOfService_Designation `protobuf_oneof:"designation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Designation isQualityOfService_Designation `protobuf_oneof:"designation"` } -func (m *QualityOfService) Reset() { *m = QualityOfService{} } -func (m *QualityOfService) String() string { return proto.CompactTextString(m) } -func (*QualityOfService) ProtoMessage() {} -func (*QualityOfService) Descriptor() ([]byte, []int) { - return fileDescriptor_1523842fd9084ee4, []int{6} +func (x *QualityOfService) Reset() { + *x = QualityOfService{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_execution_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *QualityOfService) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QualityOfService.Unmarshal(m, b) +func (x *QualityOfService) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *QualityOfService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QualityOfService.Marshal(b, m, deterministic) + +func (*QualityOfService) ProtoMessage() {} + +func (x *QualityOfService) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_execution_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *QualityOfService) XXX_Merge(src proto.Message) { - xxx_messageInfo_QualityOfService.Merge(m, src) + +// Deprecated: Use QualityOfService.ProtoReflect.Descriptor instead. +func (*QualityOfService) Descriptor() ([]byte, []int) { + return file_flyteidl_core_execution_proto_rawDescGZIP(), []int{6} } -func (m *QualityOfService) XXX_Size() int { - return xxx_messageInfo_QualityOfService.Size(m) + +func (m *QualityOfService) GetDesignation() isQualityOfService_Designation { + if m != nil { + return m.Designation + } + return nil } -func (m *QualityOfService) XXX_DiscardUnknown() { - xxx_messageInfo_QualityOfService.DiscardUnknown(m) + +func (x *QualityOfService) GetTier() QualityOfService_Tier { + if x, ok := x.GetDesignation().(*QualityOfService_Tier_); ok { + return x.Tier + } + return QualityOfService_UNDEFINED } -var xxx_messageInfo_QualityOfService proto.InternalMessageInfo +func (x *QualityOfService) GetSpec() *QualityOfServiceSpec { + if x, ok := x.GetDesignation().(*QualityOfService_Spec); ok { + return x.Spec + } + return nil +} type isQualityOfService_Designation interface { isQualityOfService_Designation() @@ -579,99 +780,261 @@ func (*QualityOfService_Tier_) isQualityOfService_Designation() {} func (*QualityOfService_Spec) isQualityOfService_Designation() {} -func (m *QualityOfService) GetDesignation() isQualityOfService_Designation { - if m != nil { - return m.Designation - } - return nil -} +var File_flyteidl_core_execution_proto protoreflect.FileDescriptor + +var file_flyteidl_core_execution_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, + 0x01, 0x0a, 0x11, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x05, 0x50, 0x68, 0x61, 0x73, 0x65, 0x12, 0x0d, + 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, + 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, + 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, + 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, + 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x41, 0x49, 0x4c, 0x49, 0x4e, 0x47, + 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, + 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x54, + 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x08, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x42, + 0x4f, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x22, 0xb6, 0x01, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, + 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x05, 0x50, + 0x68, 0x61, 0x73, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, + 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, + 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x46, + 0x41, 0x49, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, + 0x45, 0x44, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, + 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, + 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x08, 0x12, 0x13, 0x0a, + 0x0f, 0x44, 0x59, 0x4e, 0x41, 0x4d, 0x49, 0x43, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, + 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x45, 0x44, 0x10, + 0x0a, 0x22, 0x96, 0x01, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x05, 0x50, 0x68, 0x61, 0x73, 0x65, 0x12, 0x0d, 0x0a, + 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, + 0x51, 0x55, 0x45, 0x55, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, + 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, + 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, + 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, + 0x0c, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, + 0x19, 0x0a, 0x15, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x52, + 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x53, 0x10, 0x07, 0x22, 0xc8, 0x01, 0x0a, 0x0e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, + 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x55, 0x72, 0x69, 0x12, 0x3b, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4b, 0x69, 0x6e, 0x64, 0x52, + 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x2e, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4b, 0x69, + 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, + 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, + 0x54, 0x45, 0x4d, 0x10, 0x02, 0x22, 0xda, 0x01, 0x0a, 0x07, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, + 0x67, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x74, + 0x6c, 0x22, 0x2f, 0x0a, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, + 0x07, 0x0a, 0x03, 0x43, 0x53, 0x56, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, + 0x10, 0x02, 0x22, 0x5a, 0x0a, 0x14, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x0f, 0x71, 0x75, + 0x65, 0x75, 0x65, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, + 0x71, 0x75, 0x65, 0x75, 0x65, 0x69, 0x6e, 0x67, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x22, 0xce, + 0x01, 0x0a, 0x10, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x54, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x74, 0x69, 0x65, 0x72, 0x12, + 0x39, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x70, + 0x65, 0x63, 0x48, 0x00, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x34, 0x0a, 0x04, 0x54, 0x69, + 0x65, 0x72, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, + 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x03, + 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0xb4, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_execution_proto_rawDescOnce sync.Once + file_flyteidl_core_execution_proto_rawDescData = file_flyteidl_core_execution_proto_rawDesc +) -func (m *QualityOfService) GetTier() QualityOfService_Tier { - if x, ok := m.GetDesignation().(*QualityOfService_Tier_); ok { - return x.Tier +func file_flyteidl_core_execution_proto_rawDescGZIP() []byte { + file_flyteidl_core_execution_proto_rawDescOnce.Do(func() { + file_flyteidl_core_execution_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_execution_proto_rawDescData) + }) + return file_flyteidl_core_execution_proto_rawDescData +} + +var file_flyteidl_core_execution_proto_enumTypes = make([]protoimpl.EnumInfo, 6) +var file_flyteidl_core_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flyteidl_core_execution_proto_goTypes = []interface{}{ + (WorkflowExecution_Phase)(0), // 0: flyteidl.core.WorkflowExecution.Phase + (NodeExecution_Phase)(0), // 1: flyteidl.core.NodeExecution.Phase + (TaskExecution_Phase)(0), // 2: flyteidl.core.TaskExecution.Phase + (ExecutionError_ErrorKind)(0), // 3: flyteidl.core.ExecutionError.ErrorKind + (TaskLog_MessageFormat)(0), // 4: flyteidl.core.TaskLog.MessageFormat + (QualityOfService_Tier)(0), // 5: flyteidl.core.QualityOfService.Tier + (*WorkflowExecution)(nil), // 6: flyteidl.core.WorkflowExecution + (*NodeExecution)(nil), // 7: flyteidl.core.NodeExecution + (*TaskExecution)(nil), // 8: flyteidl.core.TaskExecution + (*ExecutionError)(nil), // 9: flyteidl.core.ExecutionError + (*TaskLog)(nil), // 10: flyteidl.core.TaskLog + (*QualityOfServiceSpec)(nil), // 11: flyteidl.core.QualityOfServiceSpec + (*QualityOfService)(nil), // 12: flyteidl.core.QualityOfService + (*durationpb.Duration)(nil), // 13: google.protobuf.Duration +} +var file_flyteidl_core_execution_proto_depIdxs = []int32{ + 3, // 0: flyteidl.core.ExecutionError.kind:type_name -> flyteidl.core.ExecutionError.ErrorKind + 4, // 1: flyteidl.core.TaskLog.message_format:type_name -> flyteidl.core.TaskLog.MessageFormat + 13, // 2: flyteidl.core.TaskLog.ttl:type_name -> google.protobuf.Duration + 13, // 3: flyteidl.core.QualityOfServiceSpec.queueing_budget:type_name -> google.protobuf.Duration + 5, // 4: flyteidl.core.QualityOfService.tier:type_name -> flyteidl.core.QualityOfService.Tier + 11, // 5: flyteidl.core.QualityOfService.spec:type_name -> flyteidl.core.QualityOfServiceSpec + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_execution_proto_init() } +func file_flyteidl_core_execution_proto_init() { + if File_flyteidl_core_execution_proto != nil { + return } - return QualityOfService_UNDEFINED -} - -func (m *QualityOfService) GetSpec() *QualityOfServiceSpec { - if x, ok := m.GetDesignation().(*QualityOfService_Spec); ok { - return x.Spec + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_execution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_execution_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_execution_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_execution_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_execution_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskLog); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_execution_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QualityOfServiceSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_execution_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QualityOfService); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*QualityOfService) XXX_OneofWrappers() []interface{} { - return []interface{}{ + file_flyteidl_core_execution_proto_msgTypes[6].OneofWrappers = []interface{}{ (*QualityOfService_Tier_)(nil), (*QualityOfService_Spec)(nil), } -} - -func init() { - proto.RegisterEnum("flyteidl.core.WorkflowExecution_Phase", WorkflowExecution_Phase_name, WorkflowExecution_Phase_value) - proto.RegisterEnum("flyteidl.core.NodeExecution_Phase", NodeExecution_Phase_name, NodeExecution_Phase_value) - proto.RegisterEnum("flyteidl.core.TaskExecution_Phase", TaskExecution_Phase_name, TaskExecution_Phase_value) - proto.RegisterEnum("flyteidl.core.ExecutionError_ErrorKind", ExecutionError_ErrorKind_name, ExecutionError_ErrorKind_value) - proto.RegisterEnum("flyteidl.core.TaskLog_MessageFormat", TaskLog_MessageFormat_name, TaskLog_MessageFormat_value) - proto.RegisterEnum("flyteidl.core.QualityOfService_Tier", QualityOfService_Tier_name, QualityOfService_Tier_value) - proto.RegisterType((*WorkflowExecution)(nil), "flyteidl.core.WorkflowExecution") - proto.RegisterType((*NodeExecution)(nil), "flyteidl.core.NodeExecution") - proto.RegisterType((*TaskExecution)(nil), "flyteidl.core.TaskExecution") - proto.RegisterType((*ExecutionError)(nil), "flyteidl.core.ExecutionError") - proto.RegisterType((*TaskLog)(nil), "flyteidl.core.TaskLog") - proto.RegisterType((*QualityOfServiceSpec)(nil), "flyteidl.core.QualityOfServiceSpec") - proto.RegisterType((*QualityOfService)(nil), "flyteidl.core.QualityOfService") -} - -func init() { proto.RegisterFile("flyteidl/core/execution.proto", fileDescriptor_1523842fd9084ee4) } - -var fileDescriptor_1523842fd9084ee4 = []byte{ - // 731 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcf, 0x6e, 0xda, 0x4a, - 0x14, 0xc6, 0x63, 0x70, 0xf8, 0x73, 0x08, 0x64, 0xee, 0xdc, 0x7b, 0x25, 0x72, 0xaf, 0x5a, 0x45, - 0x6e, 0xa5, 0x46, 0xaa, 0x6a, 0x4b, 0xb4, 0x9b, 0xa6, 0xdd, 0x00, 0x1e, 0x12, 0x17, 0xb0, 0x13, - 0x1b, 0x07, 0x25, 0x1b, 0x04, 0x78, 0x70, 0xac, 0x00, 0x43, 0x8d, 0xdd, 0x36, 0xfb, 0xbe, 0x40, - 0x37, 0x7d, 0x82, 0x4a, 0x7d, 0x83, 0x3e, 0x43, 0x57, 0x7d, 0x80, 0x3e, 0x4d, 0x35, 0x03, 0x4e, - 0x80, 0x56, 0xad, 0x2a, 0x75, 0x83, 0xe6, 0xcc, 0x39, 0xdf, 0x99, 0xdf, 0x77, 0xf0, 0x0c, 0xdc, - 0x19, 0x8d, 0xaf, 0x23, 0x1a, 0x78, 0x63, 0x6d, 0xc8, 0x42, 0xaa, 0xd1, 0x37, 0x74, 0x18, 0x47, - 0x01, 0x9b, 0xaa, 0xb3, 0x90, 0x45, 0x0c, 0x17, 0x93, 0xb4, 0xca, 0xd3, 0xff, 0xdd, 0xf5, 0x19, - 0xf3, 0xc7, 0x54, 0x13, 0xc9, 0x41, 0x3c, 0xd2, 0xbc, 0x38, 0xec, 0xdf, 0x96, 0x2b, 0x1f, 0x25, - 0xf8, 0xab, 0xcb, 0xc2, 0xab, 0xd1, 0x98, 0xbd, 0x26, 0x49, 0x2b, 0xe5, 0x9d, 0x04, 0xdb, 0x27, - 0x97, 0xfd, 0x39, 0xc5, 0x45, 0xc8, 0xbb, 0xa6, 0x4e, 0x1a, 0x86, 0x49, 0x74, 0xb4, 0x85, 0x01, - 0x32, 0xa7, 0x2e, 0x71, 0x89, 0x8e, 0x24, 0x5c, 0x80, 0xac, 0xed, 0x9a, 0xa6, 0x61, 0x1e, 0xa1, - 0x14, 0x2e, 0x01, 0x38, 0x6e, 0xbd, 0x4e, 0x88, 0xce, 0xe3, 0x34, 0xd7, 0x2d, 0x63, 0xa2, 0x23, - 0x99, 0xd7, 0x36, 0xaa, 0x46, 0x8b, 0xe7, 0xb6, 0x79, 0x13, 0x1e, 0x10, 0x1d, 0x65, 0x78, 0xa2, - 0x5a, 0xb3, 0xec, 0x0e, 0xd1, 0x51, 0x96, 0x8b, 0x3a, 0x46, 0x9b, 0xe8, 0x3d, 0xcb, 0xed, 0xa0, - 0x1c, 0xde, 0x81, 0x9c, 0xc8, 0x71, 0x55, 0x5e, 0xf9, 0x24, 0x41, 0xd1, 0x64, 0x1e, 0xbd, 0xa5, - 0xfc, 0xf0, 0xdb, 0x94, 0x6b, 0x54, 0xe9, 0x55, 0x2a, 0x79, 0x85, 0x6a, 0x7b, 0x95, 0x4a, 0x20, - 0x3a, 0x4d, 0xe3, 0xe4, 0xe4, 0x47, 0x88, 0x7f, 0xc3, 0xae, 0x7e, 0x6e, 0x56, 0xdb, 0x46, 0xbd, - 0x97, 0x9c, 0x92, 0xe7, 0x35, 0x36, 0xa9, 0x5b, 0x67, 0xc4, 0x26, 0x3a, 0x02, 0xe5, 0xbd, 0x04, - 0xc5, 0x4e, 0x7f, 0x7e, 0x75, 0x0b, 0xfe, 0xf6, 0x0f, 0x80, 0x27, 0x7c, 0xeb, 0xe0, 0x08, 0x76, - 0x0c, 0xd3, 0xe8, 0x18, 0xd5, 0x96, 0x71, 0xc1, 0x95, 0x19, 0xbc, 0x07, 0xff, 0x76, 0xab, 0x06, - 0x9f, 0x61, 0xaf, 0x61, 0xd9, 0x3d, 0x9b, 0x38, 0x96, 0x6b, 0xd7, 0x89, 0x83, 0xb2, 0xca, 0x67, - 0x09, 0x4a, 0x37, 0x50, 0x24, 0x0c, 0x59, 0x88, 0x31, 0xc8, 0x43, 0xe6, 0xd1, 0xb2, 0xb4, 0x2f, - 0x1d, 0xe4, 0x6d, 0xb1, 0xc6, 0x65, 0xc8, 0x4e, 0xe8, 0x7c, 0xde, 0xf7, 0x69, 0x39, 0x25, 0xb6, - 0x93, 0x10, 0xff, 0x0f, 0x79, 0xca, 0x65, 0xbd, 0x38, 0x0c, 0xca, 0x69, 0x91, 0xcb, 0x89, 0x0d, - 0x37, 0x0c, 0xf0, 0x33, 0x90, 0xaf, 0x82, 0xa9, 0x57, 0x96, 0xf7, 0xa5, 0x83, 0x52, 0xe5, 0x81, - 0xba, 0xf6, 0x5d, 0xaa, 0xeb, 0xe7, 0xaa, 0xe2, 0xb7, 0x19, 0x4c, 0x3d, 0x5b, 0x88, 0x14, 0x15, - 0xf2, 0x37, 0x5b, 0xdc, 0xad, 0x6b, 0x36, 0x4d, 0xab, 0x6b, 0xa2, 0x2d, 0x9c, 0x03, 0xd9, 0x75, - 0x88, 0x8d, 0x24, 0xee, 0xdb, 0x39, 0x77, 0x3a, 0xa4, 0x8d, 0x52, 0xca, 0x57, 0x09, 0xb2, 0x7c, - 0xc6, 0x2d, 0xe6, 0x63, 0x04, 0x69, 0xce, 0xb3, 0xb0, 0xc0, 0x97, 0xdc, 0xd5, 0xb4, 0x3f, 0x49, - 0xf0, 0xc5, 0x1a, 0x37, 0xa1, 0xb4, 0xb4, 0xd1, 0x1b, 0xb1, 0x70, 0xd2, 0x8f, 0x84, 0x81, 0x52, - 0xe5, 0xfe, 0x06, 0xe8, 0xb2, 0xab, 0xda, 0x5e, 0x14, 0x37, 0x44, 0xad, 0x5d, 0x9c, 0xac, 0x86, - 0xf8, 0x21, 0xa4, 0xa3, 0x68, 0x2c, 0xac, 0x16, 0x2a, 0x7b, 0xea, 0xe2, 0xce, 0xa9, 0xc9, 0x9d, - 0x53, 0xf5, 0xe5, 0x9d, 0xb3, 0x79, 0x95, 0xa2, 0x41, 0x71, 0xad, 0xd9, 0xba, 0xbf, 0x2c, 0xa4, - 0xeb, 0xce, 0x19, 0x92, 0xb8, 0xd1, 0x17, 0x8e, 0x65, 0xa2, 0x94, 0x72, 0x01, 0xff, 0x9c, 0xc6, - 0xfd, 0x71, 0x10, 0x5d, 0x5b, 0x23, 0x87, 0x86, 0xaf, 0x82, 0x21, 0x75, 0x66, 0x74, 0x88, 0x6b, - 0xb0, 0xfb, 0x32, 0xa6, 0x31, 0x0d, 0xa6, 0x7e, 0x6f, 0x10, 0x7b, 0x3e, 0x8d, 0x84, 0xe9, 0x9f, - 0x12, 0x94, 0x12, 0x45, 0x4d, 0x08, 0x94, 0x2f, 0x12, 0xa0, 0xcd, 0xe6, 0xf8, 0x10, 0xe4, 0x28, - 0xa0, 0xa1, 0xe8, 0xf6, 0xfd, 0x44, 0x36, 0xcb, 0xd5, 0x4e, 0x40, 0xc3, 0xe3, 0x2d, 0x5b, 0x68, - 0xf0, 0x53, 0x90, 0xe7, 0x33, 0x3a, 0x14, 0xb3, 0x2e, 0x54, 0xee, 0xfd, 0x42, 0xcb, 0x7d, 0x70, - 0x29, 0x97, 0x28, 0x4f, 0x40, 0xe6, 0xad, 0x36, 0x2f, 0x45, 0x0e, 0xe4, 0x63, 0xe3, 0xe8, 0x78, - 0xf1, 0x8f, 0xb7, 0x89, 0x6e, 0xb8, 0x6d, 0x94, 0xe2, 0x73, 0x6a, 0x59, 0x5d, 0x94, 0xae, 0x15, - 0xa1, 0xe0, 0xd1, 0x79, 0xe0, 0x4f, 0x85, 0xc1, 0xda, 0xf3, 0x8b, 0x43, 0x3f, 0x88, 0x2e, 0xe3, - 0x81, 0x3a, 0x64, 0x13, 0x4d, 0x9c, 0xce, 0x42, 0x7f, 0xb1, 0xd0, 0x6e, 0x9e, 0x4e, 0x9f, 0x4e, - 0xb5, 0xd9, 0xe0, 0x91, 0xcf, 0xb4, 0xb5, 0xd7, 0x74, 0x90, 0x11, 0x13, 0x7b, 0xfc, 0x2d, 0x00, - 0x00, 0xff, 0xff, 0x52, 0x5d, 0xa0, 0x56, 0x65, 0x05, 0x00, 0x00, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_execution_proto_rawDesc, + NumEnums: 6, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_execution_proto_goTypes, + DependencyIndexes: file_flyteidl_core_execution_proto_depIdxs, + EnumInfos: file_flyteidl_core_execution_proto_enumTypes, + MessageInfos: file_flyteidl_core_execution_proto_msgTypes, + }.Build() + File_flyteidl_core_execution_proto = out.File + file_flyteidl_core_execution_proto_rawDesc = nil + file_flyteidl_core_execution_proto_goTypes = nil + file_flyteidl_core_execution_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/execution.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/execution.swagger.json deleted file mode 100644 index 920ed79fa4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/execution.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/execution.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go b/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go index bb4d3264e4..39d53818f7 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/identifier.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Indicates a resource type within Flyte. type ResourceType int32 @@ -34,32 +34,57 @@ const ( ResourceType_DATASET ResourceType = 4 ) -var ResourceType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "TASK", - 2: "WORKFLOW", - 3: "LAUNCH_PLAN", - 4: "DATASET", -} +// Enum value maps for ResourceType. +var ( + ResourceType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "TASK", + 2: "WORKFLOW", + 3: "LAUNCH_PLAN", + 4: "DATASET", + } + ResourceType_value = map[string]int32{ + "UNSPECIFIED": 0, + "TASK": 1, + "WORKFLOW": 2, + "LAUNCH_PLAN": 3, + "DATASET": 4, + } +) -var ResourceType_value = map[string]int32{ - "UNSPECIFIED": 0, - "TASK": 1, - "WORKFLOW": 2, - "LAUNCH_PLAN": 3, - "DATASET": 4, +func (x ResourceType) Enum() *ResourceType { + p := new(ResourceType) + *p = x + return p } func (x ResourceType) String() string { - return proto.EnumName(ResourceType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResourceType) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_identifier_proto_enumTypes[0].Descriptor() } +func (ResourceType) Type() protoreflect.EnumType { + return &file_flyteidl_core_identifier_proto_enumTypes[0] +} + +func (x ResourceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResourceType.Descriptor instead. func (ResourceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_adfa846a86e1fa0c, []int{0} + return file_flyteidl_core_identifier_proto_rawDescGZIP(), []int{0} } // Encapsulation of fields that uniquely identifies a Flyte resource. type Identifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifies the specific type of resource that this identifier corresponds to. ResourceType ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=flyteidl.core.ResourceType" json:"resource_type,omitempty"` // Name of the project the resource belongs to. @@ -72,81 +97,89 @@ type Identifier struct { // Specific version of the resource. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` } -func (m *Identifier) Reset() { *m = Identifier{} } -func (m *Identifier) String() string { return proto.CompactTextString(m) } -func (*Identifier) ProtoMessage() {} -func (*Identifier) Descriptor() ([]byte, []int) { - return fileDescriptor_adfa846a86e1fa0c, []int{0} +func (x *Identifier) Reset() { + *x = Identifier{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_identifier_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Identifier) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Identifier.Unmarshal(m, b) -} -func (m *Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Identifier.Marshal(b, m, deterministic) -} -func (m *Identifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identifier.Merge(m, src) +func (x *Identifier) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Identifier) XXX_Size() int { - return xxx_messageInfo_Identifier.Size(m) -} -func (m *Identifier) XXX_DiscardUnknown() { - xxx_messageInfo_Identifier.DiscardUnknown(m) + +func (*Identifier) ProtoMessage() {} + +func (x *Identifier) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_identifier_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Identifier proto.InternalMessageInfo +// Deprecated: Use Identifier.ProtoReflect.Descriptor instead. +func (*Identifier) Descriptor() ([]byte, []int) { + return file_flyteidl_core_identifier_proto_rawDescGZIP(), []int{0} +} -func (m *Identifier) GetResourceType() ResourceType { - if m != nil { - return m.ResourceType +func (x *Identifier) GetResourceType() ResourceType { + if x != nil { + return x.ResourceType } return ResourceType_UNSPECIFIED } -func (m *Identifier) GetProject() string { - if m != nil { - return m.Project +func (x *Identifier) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *Identifier) GetDomain() string { - if m != nil { - return m.Domain +func (x *Identifier) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *Identifier) GetName() string { - if m != nil { - return m.Name +func (x *Identifier) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Identifier) GetVersion() string { - if m != nil { - return m.Version +func (x *Identifier) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *Identifier) GetOrg() string { - if m != nil { - return m.Org +func (x *Identifier) GetOrg() string { + if x != nil { + return x.Org } return "" } // Encapsulation of fields that uniquely identifies a Flyte workflow execution type WorkflowExecutionIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the project the resource belongs to. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Name of the domain the resource belongs to. @@ -155,261 +188,440 @@ type WorkflowExecutionIdentifier struct { // User or system provided value for the resource. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Optional, org key applied to the resource. - Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` } -func (m *WorkflowExecutionIdentifier) Reset() { *m = WorkflowExecutionIdentifier{} } -func (m *WorkflowExecutionIdentifier) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionIdentifier) ProtoMessage() {} -func (*WorkflowExecutionIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_adfa846a86e1fa0c, []int{1} +func (x *WorkflowExecutionIdentifier) Reset() { + *x = WorkflowExecutionIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_identifier_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionIdentifier) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionIdentifier.Unmarshal(m, b) +func (x *WorkflowExecutionIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionIdentifier.Marshal(b, m, deterministic) -} -func (m *WorkflowExecutionIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionIdentifier.Merge(m, src) -} -func (m *WorkflowExecutionIdentifier) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionIdentifier.Size(m) -} -func (m *WorkflowExecutionIdentifier) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionIdentifier.DiscardUnknown(m) + +func (*WorkflowExecutionIdentifier) ProtoMessage() {} + +func (x *WorkflowExecutionIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_identifier_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowExecutionIdentifier proto.InternalMessageInfo +// Deprecated: Use WorkflowExecutionIdentifier.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionIdentifier) Descriptor() ([]byte, []int) { + return file_flyteidl_core_identifier_proto_rawDescGZIP(), []int{1} +} -func (m *WorkflowExecutionIdentifier) GetProject() string { - if m != nil { - return m.Project +func (x *WorkflowExecutionIdentifier) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *WorkflowExecutionIdentifier) GetDomain() string { - if m != nil { - return m.Domain +func (x *WorkflowExecutionIdentifier) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *WorkflowExecutionIdentifier) GetName() string { - if m != nil { - return m.Name +func (x *WorkflowExecutionIdentifier) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *WorkflowExecutionIdentifier) GetOrg() string { - if m != nil { - return m.Org +func (x *WorkflowExecutionIdentifier) GetOrg() string { + if x != nil { + return x.Org } return "" } // Encapsulation of fields that identify a Flyte node execution entity. type NodeExecutionIdentifier struct { - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` - ExecutionId *WorkflowExecutionIdentifier `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NodeExecutionIdentifier) Reset() { *m = NodeExecutionIdentifier{} } -func (m *NodeExecutionIdentifier) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionIdentifier) ProtoMessage() {} -func (*NodeExecutionIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_adfa846a86e1fa0c, []int{2} + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + ExecutionId *WorkflowExecutionIdentifier `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` } -func (m *NodeExecutionIdentifier) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionIdentifier.Unmarshal(m, b) -} -func (m *NodeExecutionIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionIdentifier.Marshal(b, m, deterministic) -} -func (m *NodeExecutionIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionIdentifier.Merge(m, src) +func (x *NodeExecutionIdentifier) Reset() { + *x = NodeExecutionIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_identifier_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionIdentifier) XXX_Size() int { - return xxx_messageInfo_NodeExecutionIdentifier.Size(m) + +func (x *NodeExecutionIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionIdentifier) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionIdentifier.DiscardUnknown(m) + +func (*NodeExecutionIdentifier) ProtoMessage() {} + +func (x *NodeExecutionIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_identifier_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionIdentifier proto.InternalMessageInfo +// Deprecated: Use NodeExecutionIdentifier.ProtoReflect.Descriptor instead. +func (*NodeExecutionIdentifier) Descriptor() ([]byte, []int) { + return file_flyteidl_core_identifier_proto_rawDescGZIP(), []int{2} +} -func (m *NodeExecutionIdentifier) GetNodeId() string { - if m != nil { - return m.NodeId +func (x *NodeExecutionIdentifier) GetNodeId() string { + if x != nil { + return x.NodeId } return "" } -func (m *NodeExecutionIdentifier) GetExecutionId() *WorkflowExecutionIdentifier { - if m != nil { - return m.ExecutionId +func (x *NodeExecutionIdentifier) GetExecutionId() *WorkflowExecutionIdentifier { + if x != nil { + return x.ExecutionId } return nil } // Encapsulation of fields that identify a Flyte task execution entity. type TaskExecutionIdentifier struct { - TaskId *Identifier `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - NodeExecutionId *NodeExecutionIdentifier `protobuf:"bytes,2,opt,name=node_execution_id,json=nodeExecutionId,proto3" json:"node_execution_id,omitempty"` - RetryAttempt uint32 `protobuf:"varint,3,opt,name=retry_attempt,json=retryAttempt,proto3" json:"retry_attempt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TaskExecutionIdentifier) Reset() { *m = TaskExecutionIdentifier{} } -func (m *TaskExecutionIdentifier) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionIdentifier) ProtoMessage() {} -func (*TaskExecutionIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_adfa846a86e1fa0c, []int{3} + TaskId *Identifier `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + NodeExecutionId *NodeExecutionIdentifier `protobuf:"bytes,2,opt,name=node_execution_id,json=nodeExecutionId,proto3" json:"node_execution_id,omitempty"` + RetryAttempt uint32 `protobuf:"varint,3,opt,name=retry_attempt,json=retryAttempt,proto3" json:"retry_attempt,omitempty"` } -func (m *TaskExecutionIdentifier) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionIdentifier.Unmarshal(m, b) -} -func (m *TaskExecutionIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionIdentifier.Marshal(b, m, deterministic) -} -func (m *TaskExecutionIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionIdentifier.Merge(m, src) +func (x *TaskExecutionIdentifier) Reset() { + *x = TaskExecutionIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_identifier_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionIdentifier) XXX_Size() int { - return xxx_messageInfo_TaskExecutionIdentifier.Size(m) + +func (x *TaskExecutionIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionIdentifier) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionIdentifier.DiscardUnknown(m) + +func (*TaskExecutionIdentifier) ProtoMessage() {} + +func (x *TaskExecutionIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_identifier_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionIdentifier proto.InternalMessageInfo +// Deprecated: Use TaskExecutionIdentifier.ProtoReflect.Descriptor instead. +func (*TaskExecutionIdentifier) Descriptor() ([]byte, []int) { + return file_flyteidl_core_identifier_proto_rawDescGZIP(), []int{3} +} -func (m *TaskExecutionIdentifier) GetTaskId() *Identifier { - if m != nil { - return m.TaskId +func (x *TaskExecutionIdentifier) GetTaskId() *Identifier { + if x != nil { + return x.TaskId } return nil } -func (m *TaskExecutionIdentifier) GetNodeExecutionId() *NodeExecutionIdentifier { - if m != nil { - return m.NodeExecutionId +func (x *TaskExecutionIdentifier) GetNodeExecutionId() *NodeExecutionIdentifier { + if x != nil { + return x.NodeExecutionId } return nil } -func (m *TaskExecutionIdentifier) GetRetryAttempt() uint32 { - if m != nil { - return m.RetryAttempt +func (x *TaskExecutionIdentifier) GetRetryAttempt() uint32 { + if x != nil { + return x.RetryAttempt } return 0 } // Encapsulation of fields the uniquely identify a signal. type SignalIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique identifier for a signal. SignalId string `protobuf:"bytes,1,opt,name=signal_id,json=signalId,proto3" json:"signal_id,omitempty"` // Identifies the Flyte workflow execution this signal belongs to. - ExecutionId *WorkflowExecutionIdentifier `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionId *WorkflowExecutionIdentifier `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` } -func (m *SignalIdentifier) Reset() { *m = SignalIdentifier{} } -func (m *SignalIdentifier) String() string { return proto.CompactTextString(m) } -func (*SignalIdentifier) ProtoMessage() {} -func (*SignalIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_adfa846a86e1fa0c, []int{4} +func (x *SignalIdentifier) Reset() { + *x = SignalIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_identifier_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignalIdentifier) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalIdentifier.Unmarshal(m, b) -} -func (m *SignalIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalIdentifier.Marshal(b, m, deterministic) -} -func (m *SignalIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalIdentifier.Merge(m, src) -} -func (m *SignalIdentifier) XXX_Size() int { - return xxx_messageInfo_SignalIdentifier.Size(m) +func (x *SignalIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignalIdentifier) XXX_DiscardUnknown() { - xxx_messageInfo_SignalIdentifier.DiscardUnknown(m) + +func (*SignalIdentifier) ProtoMessage() {} + +func (x *SignalIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_identifier_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SignalIdentifier proto.InternalMessageInfo +// Deprecated: Use SignalIdentifier.ProtoReflect.Descriptor instead. +func (*SignalIdentifier) Descriptor() ([]byte, []int) { + return file_flyteidl_core_identifier_proto_rawDescGZIP(), []int{4} +} -func (m *SignalIdentifier) GetSignalId() string { - if m != nil { - return m.SignalId +func (x *SignalIdentifier) GetSignalId() string { + if x != nil { + return x.SignalId } return "" } -func (m *SignalIdentifier) GetExecutionId() *WorkflowExecutionIdentifier { - if m != nil { - return m.ExecutionId +func (x *SignalIdentifier) GetExecutionId() *WorkflowExecutionIdentifier { + if x != nil { + return x.ExecutionId } return nil } -func init() { - proto.RegisterEnum("flyteidl.core.ResourceType", ResourceType_name, ResourceType_value) - proto.RegisterType((*Identifier)(nil), "flyteidl.core.Identifier") - proto.RegisterType((*WorkflowExecutionIdentifier)(nil), "flyteidl.core.WorkflowExecutionIdentifier") - proto.RegisterType((*NodeExecutionIdentifier)(nil), "flyteidl.core.NodeExecutionIdentifier") - proto.RegisterType((*TaskExecutionIdentifier)(nil), "flyteidl.core.TaskExecutionIdentifier") - proto.RegisterType((*SignalIdentifier)(nil), "flyteidl.core.SignalIdentifier") -} - -func init() { proto.RegisterFile("flyteidl/core/identifier.proto", fileDescriptor_adfa846a86e1fa0c) } - -var fileDescriptor_adfa846a86e1fa0c = []byte{ - // 481 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xcf, 0x8f, 0xd2, 0x40, - 0x14, 0xb6, 0x0b, 0x5b, 0xd8, 0x57, 0x70, 0xeb, 0x1c, 0xa4, 0x86, 0xc4, 0x6c, 0x30, 0x31, 0x9b, - 0x4d, 0x6c, 0x13, 0xbc, 0x19, 0x0f, 0xd6, 0x5d, 0x36, 0x36, 0x8b, 0xec, 0xa6, 0x94, 0x90, 0x78, - 0x21, 0xa5, 0x7d, 0xd4, 0x11, 0xe8, 0x34, 0xd3, 0x41, 0xed, 0xc5, 0xc4, 0xff, 0xcc, 0x93, 0x7f, - 0x97, 0x99, 0x52, 0x96, 0x42, 0x58, 0xbd, 0x78, 0x7b, 0x3f, 0xbe, 0x79, 0xdf, 0xf7, 0xde, 0xbc, - 0x07, 0xcf, 0x67, 0x8b, 0x4c, 0x20, 0x0d, 0x17, 0x56, 0xc0, 0x38, 0x5a, 0x34, 0xc4, 0x58, 0xd0, - 0x19, 0x45, 0x6e, 0x26, 0x9c, 0x09, 0x46, 0x9a, 0x9b, 0xbc, 0x29, 0xf3, 0x9d, 0x5f, 0x0a, 0x80, - 0x73, 0x8f, 0x21, 0xef, 0xa0, 0xc9, 0x31, 0x65, 0x2b, 0x1e, 0xe0, 0x44, 0x64, 0x09, 0x1a, 0xca, - 0x99, 0x72, 0xfe, 0xb8, 0xdb, 0x36, 0x77, 0x5e, 0x99, 0x6e, 0x81, 0xf1, 0xb2, 0x04, 0xdd, 0x06, - 0x2f, 0x79, 0xc4, 0x80, 0x5a, 0xc2, 0xd9, 0x17, 0x0c, 0x84, 0x71, 0x74, 0xa6, 0x9c, 0x9f, 0xb8, - 0x1b, 0x97, 0x3c, 0x05, 0x35, 0x64, 0x4b, 0x9f, 0xc6, 0x46, 0x25, 0x4f, 0x14, 0x1e, 0x21, 0x50, - 0x8d, 0xfd, 0x25, 0x1a, 0xd5, 0x3c, 0x9a, 0xdb, 0xb2, 0xca, 0x57, 0xe4, 0x29, 0x65, 0xb1, 0x71, - 0xbc, 0xae, 0x52, 0xb8, 0x44, 0x87, 0x0a, 0xe3, 0x91, 0xa1, 0xe6, 0x51, 0x69, 0x76, 0x56, 0xd0, - 0x1e, 0x33, 0x3e, 0x9f, 0x2d, 0xd8, 0xb7, 0xde, 0x77, 0x0c, 0x56, 0x82, 0xb2, 0xb8, 0xd4, 0x52, - 0x49, 0x90, 0xf2, 0x90, 0xa0, 0xa3, 0x7f, 0x0a, 0x2a, 0x68, 0x8f, 0xb7, 0xb4, 0x3f, 0x15, 0x68, - 0x0d, 0x58, 0x88, 0x87, 0x38, 0x5b, 0x50, 0x8b, 0x59, 0x88, 0x13, 0x1a, 0x16, 0x9c, 0xaa, 0x74, - 0x9d, 0x90, 0x7c, 0x84, 0x06, 0x6e, 0xf0, 0x32, 0x2b, 0x89, 0xb5, 0xee, 0xc5, 0xde, 0x78, 0xff, - 0xd2, 0x8e, 0xab, 0xe1, 0x36, 0xd8, 0xf9, 0xad, 0x40, 0xcb, 0xf3, 0xd3, 0xf9, 0x21, 0x0d, 0x5d, - 0xa8, 0x09, 0x3f, 0x9d, 0x6f, 0x34, 0x68, 0xdd, 0x67, 0x7b, 0x2c, 0xa5, 0xa2, 0xaa, 0x44, 0x3a, - 0x21, 0x71, 0xe1, 0x49, 0xae, 0xfb, 0x80, 0xc6, 0x97, 0x7b, 0xaf, 0x1f, 0x68, 0xdd, 0x3d, 0x8d, - 0x77, 0x13, 0xe4, 0x85, 0x5c, 0x29, 0xc1, 0xb3, 0x89, 0x2f, 0x04, 0x2e, 0x13, 0x91, 0xff, 0x7e, - 0x53, 0x6e, 0x8d, 0xe0, 0x99, 0xbd, 0x8e, 0x75, 0x7e, 0x80, 0x3e, 0xa4, 0x51, 0xec, 0x2f, 0x4a, - 0x0d, 0xb4, 0xe1, 0x24, 0xcd, 0x63, 0xdb, 0x31, 0xd6, 0xd3, 0x02, 0xf4, 0x9f, 0x07, 0x79, 0x31, - 0x82, 0x46, 0x79, 0xa7, 0xc9, 0x29, 0x68, 0xa3, 0xc1, 0xf0, 0xae, 0x77, 0xe9, 0x5c, 0x3b, 0xbd, - 0x2b, 0xfd, 0x11, 0xa9, 0x43, 0xd5, 0xb3, 0x87, 0x37, 0xba, 0x42, 0x1a, 0x50, 0x1f, 0xdf, 0xba, - 0x37, 0xd7, 0xfd, 0xdb, 0xb1, 0x7e, 0x24, 0x81, 0x7d, 0x7b, 0x34, 0xb8, 0xfc, 0x30, 0xb9, 0xeb, - 0xdb, 0x03, 0xbd, 0x42, 0x34, 0xa8, 0x5d, 0xd9, 0x9e, 0x3d, 0xec, 0x79, 0x7a, 0xf5, 0xfd, 0xdb, - 0x4f, 0x6f, 0x22, 0x2a, 0x3e, 0xaf, 0xa6, 0x66, 0xc0, 0x96, 0x56, 0xae, 0x8d, 0xf1, 0x68, 0x6d, - 0x58, 0xf7, 0x87, 0x1a, 0x61, 0x6c, 0x25, 0xd3, 0x57, 0x11, 0xb3, 0x76, 0x6e, 0x77, 0xaa, 0xe6, - 0x17, 0xfb, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0xea, 0x9d, 0xb8, 0xd3, 0x03, 0x00, - 0x00, +var File_flyteidl_core_identifier_proto protoreflect.FileDescriptor + +var file_flyteidl_core_identifier_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x22, + 0xc0, 0x01, 0x0a, 0x0a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x40, + 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, + 0x72, 0x67, 0x22, 0x75, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x4e, 0x6f, + 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x4d, + 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xc6, 0x01, + 0x0a, 0x17, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x52, 0x0a, + 0x11, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x41, + 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x22, 0x7e, 0x0a, 0x10, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x2a, 0x55, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x41, 0x53, 0x4b, 0x10, + 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, + 0x0f, 0x0a, 0x0b, 0x4c, 0x41, 0x55, 0x4e, 0x43, 0x48, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x10, 0x03, + 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x10, 0x04, 0x42, 0xb5, 0x01, + 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x42, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, + 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, + 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_identifier_proto_rawDescOnce sync.Once + file_flyteidl_core_identifier_proto_rawDescData = file_flyteidl_core_identifier_proto_rawDesc +) + +func file_flyteidl_core_identifier_proto_rawDescGZIP() []byte { + file_flyteidl_core_identifier_proto_rawDescOnce.Do(func() { + file_flyteidl_core_identifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_identifier_proto_rawDescData) + }) + return file_flyteidl_core_identifier_proto_rawDescData +} + +var file_flyteidl_core_identifier_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_core_identifier_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_flyteidl_core_identifier_proto_goTypes = []interface{}{ + (ResourceType)(0), // 0: flyteidl.core.ResourceType + (*Identifier)(nil), // 1: flyteidl.core.Identifier + (*WorkflowExecutionIdentifier)(nil), // 2: flyteidl.core.WorkflowExecutionIdentifier + (*NodeExecutionIdentifier)(nil), // 3: flyteidl.core.NodeExecutionIdentifier + (*TaskExecutionIdentifier)(nil), // 4: flyteidl.core.TaskExecutionIdentifier + (*SignalIdentifier)(nil), // 5: flyteidl.core.SignalIdentifier +} +var file_flyteidl_core_identifier_proto_depIdxs = []int32{ + 0, // 0: flyteidl.core.Identifier.resource_type:type_name -> flyteidl.core.ResourceType + 2, // 1: flyteidl.core.NodeExecutionIdentifier.execution_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 1, // 2: flyteidl.core.TaskExecutionIdentifier.task_id:type_name -> flyteidl.core.Identifier + 3, // 3: flyteidl.core.TaskExecutionIdentifier.node_execution_id:type_name -> flyteidl.core.NodeExecutionIdentifier + 2, // 4: flyteidl.core.SignalIdentifier.execution_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_identifier_proto_init() } +func file_flyteidl_core_identifier_proto_init() { + if File_flyteidl_core_identifier_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_identifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Identifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_identifier_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_identifier_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_identifier_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_identifier_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_identifier_proto_rawDesc, + NumEnums: 1, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_identifier_proto_goTypes, + DependencyIndexes: file_flyteidl_core_identifier_proto_depIdxs, + EnumInfos: file_flyteidl_core_identifier_proto_enumTypes, + MessageInfos: file_flyteidl_core_identifier_proto_msgTypes, + }.Build() + File_flyteidl_core_identifier_proto = out.File + file_flyteidl_core_identifier_proto_rawDesc = nil + file_flyteidl_core_identifier_proto_goTypes = nil + file_flyteidl_core_identifier_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/identifier.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/identifier.swagger.json deleted file mode 100644 index 879a523929..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/identifier.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/identifier.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go index 521b92942d..f8b8b9ed09 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go @@ -1,178 +1,202 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/interface.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines a strongly typed variable. type Variable struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Variable literal type. Type *LiteralType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - //+optional string describing input variable + // +optional string describing input variable Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - //+optional This object allows the user to specify how Artifacts are created. + // +optional This object allows the user to specify how Artifacts are created. // name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. - ArtifactPartialId *ArtifactID `protobuf:"bytes,3,opt,name=artifact_partial_id,json=artifactPartialId,proto3" json:"artifact_partial_id,omitempty"` - ArtifactTag *ArtifactTag `protobuf:"bytes,4,opt,name=artifact_tag,json=artifactTag,proto3" json:"artifact_tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ArtifactPartialId *ArtifactID `protobuf:"bytes,3,opt,name=artifact_partial_id,json=artifactPartialId,proto3" json:"artifact_partial_id,omitempty"` + ArtifactTag *ArtifactTag `protobuf:"bytes,4,opt,name=artifact_tag,json=artifactTag,proto3" json:"artifact_tag,omitempty"` } -func (m *Variable) Reset() { *m = Variable{} } -func (m *Variable) String() string { return proto.CompactTextString(m) } -func (*Variable) ProtoMessage() {} -func (*Variable) Descriptor() ([]byte, []int) { - return fileDescriptor_cd7be6cbe85c3def, []int{0} +func (x *Variable) Reset() { + *x = Variable{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_interface_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Variable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Variable.Unmarshal(m, b) -} -func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Variable.Marshal(b, m, deterministic) -} -func (m *Variable) XXX_Merge(src proto.Message) { - xxx_messageInfo_Variable.Merge(m, src) -} -func (m *Variable) XXX_Size() int { - return xxx_messageInfo_Variable.Size(m) +func (x *Variable) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Variable) XXX_DiscardUnknown() { - xxx_messageInfo_Variable.DiscardUnknown(m) + +func (*Variable) ProtoMessage() {} + +func (x *Variable) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_interface_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Variable proto.InternalMessageInfo +// Deprecated: Use Variable.ProtoReflect.Descriptor instead. +func (*Variable) Descriptor() ([]byte, []int) { + return file_flyteidl_core_interface_proto_rawDescGZIP(), []int{0} +} -func (m *Variable) GetType() *LiteralType { - if m != nil { - return m.Type +func (x *Variable) GetType() *LiteralType { + if x != nil { + return x.Type } return nil } -func (m *Variable) GetDescription() string { - if m != nil { - return m.Description +func (x *Variable) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *Variable) GetArtifactPartialId() *ArtifactID { - if m != nil { - return m.ArtifactPartialId +func (x *Variable) GetArtifactPartialId() *ArtifactID { + if x != nil { + return x.ArtifactPartialId } return nil } -func (m *Variable) GetArtifactTag() *ArtifactTag { - if m != nil { - return m.ArtifactTag +func (x *Variable) GetArtifactTag() *ArtifactTag { + if x != nil { + return x.ArtifactTag } return nil } // A map of Variables type VariableMap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Defines a map of variable names to variables. - Variables map[string]*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Variables map[string]*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *VariableMap) Reset() { *m = VariableMap{} } -func (m *VariableMap) String() string { return proto.CompactTextString(m) } -func (*VariableMap) ProtoMessage() {} -func (*VariableMap) Descriptor() ([]byte, []int) { - return fileDescriptor_cd7be6cbe85c3def, []int{1} +func (x *VariableMap) Reset() { + *x = VariableMap{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_interface_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VariableMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VariableMap.Unmarshal(m, b) +func (x *VariableMap) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VariableMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VariableMap.Marshal(b, m, deterministic) -} -func (m *VariableMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_VariableMap.Merge(m, src) -} -func (m *VariableMap) XXX_Size() int { - return xxx_messageInfo_VariableMap.Size(m) -} -func (m *VariableMap) XXX_DiscardUnknown() { - xxx_messageInfo_VariableMap.DiscardUnknown(m) + +func (*VariableMap) ProtoMessage() {} + +func (x *VariableMap) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_interface_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VariableMap proto.InternalMessageInfo +// Deprecated: Use VariableMap.ProtoReflect.Descriptor instead. +func (*VariableMap) Descriptor() ([]byte, []int) { + return file_flyteidl_core_interface_proto_rawDescGZIP(), []int{1} +} -func (m *VariableMap) GetVariables() map[string]*Variable { - if m != nil { - return m.Variables +func (x *VariableMap) GetVariables() map[string]*Variable { + if x != nil { + return x.Variables } return nil } // Defines strongly typed inputs and outputs. type TypedInterface struct { - Inputs *VariableMap `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` - Outputs *VariableMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TypedInterface) Reset() { *m = TypedInterface{} } -func (m *TypedInterface) String() string { return proto.CompactTextString(m) } -func (*TypedInterface) ProtoMessage() {} -func (*TypedInterface) Descriptor() ([]byte, []int) { - return fileDescriptor_cd7be6cbe85c3def, []int{2} + Inputs *VariableMap `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + Outputs *VariableMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` } -func (m *TypedInterface) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TypedInterface.Unmarshal(m, b) -} -func (m *TypedInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TypedInterface.Marshal(b, m, deterministic) -} -func (m *TypedInterface) XXX_Merge(src proto.Message) { - xxx_messageInfo_TypedInterface.Merge(m, src) +func (x *TypedInterface) Reset() { + *x = TypedInterface{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_interface_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TypedInterface) XXX_Size() int { - return xxx_messageInfo_TypedInterface.Size(m) + +func (x *TypedInterface) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TypedInterface) XXX_DiscardUnknown() { - xxx_messageInfo_TypedInterface.DiscardUnknown(m) + +func (*TypedInterface) ProtoMessage() {} + +func (x *TypedInterface) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_interface_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TypedInterface proto.InternalMessageInfo +// Deprecated: Use TypedInterface.ProtoReflect.Descriptor instead. +func (*TypedInterface) Descriptor() ([]byte, []int) { + return file_flyteidl_core_interface_proto_rawDescGZIP(), []int{2} +} -func (m *TypedInterface) GetInputs() *VariableMap { - if m != nil { - return m.Inputs +func (x *TypedInterface) GetInputs() *VariableMap { + if x != nil { + return x.Inputs } return nil } -func (m *TypedInterface) GetOutputs() *VariableMap { - if m != nil { - return m.Outputs +func (x *TypedInterface) GetOutputs() *VariableMap { + if x != nil { + return x.Outputs } return nil } @@ -180,49 +204,93 @@ func (m *TypedInterface) GetOutputs() *VariableMap { // A parameter is used as input to a launch plan and has // the special ability to have a default value or mark itself as required. type Parameter struct { - //+required Variable. Defines the type of the variable backing this parameter. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // +required Variable. Defines the type of the variable backing this parameter. Var *Variable `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"` - //+optional + // +optional + // + // Types that are assignable to Behavior: // - // Types that are valid to be assigned to Behavior: // *Parameter_Default // *Parameter_Required // *Parameter_ArtifactQuery // *Parameter_ArtifactId - Behavior isParameter_Behavior `protobuf_oneof:"behavior"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Behavior isParameter_Behavior `protobuf_oneof:"behavior"` } -func (m *Parameter) Reset() { *m = Parameter{} } -func (m *Parameter) String() string { return proto.CompactTextString(m) } -func (*Parameter) ProtoMessage() {} -func (*Parameter) Descriptor() ([]byte, []int) { - return fileDescriptor_cd7be6cbe85c3def, []int{3} +func (x *Parameter) Reset() { + *x = Parameter{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_interface_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Parameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Parameter.Unmarshal(m, b) +func (x *Parameter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Parameter.Marshal(b, m, deterministic) + +func (*Parameter) ProtoMessage() {} + +func (x *Parameter) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_interface_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Parameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_Parameter.Merge(m, src) + +// Deprecated: Use Parameter.ProtoReflect.Descriptor instead. +func (*Parameter) Descriptor() ([]byte, []int) { + return file_flyteidl_core_interface_proto_rawDescGZIP(), []int{3} } -func (m *Parameter) XXX_Size() int { - return xxx_messageInfo_Parameter.Size(m) + +func (x *Parameter) GetVar() *Variable { + if x != nil { + return x.Var + } + return nil } -func (m *Parameter) XXX_DiscardUnknown() { - xxx_messageInfo_Parameter.DiscardUnknown(m) + +func (m *Parameter) GetBehavior() isParameter_Behavior { + if m != nil { + return m.Behavior + } + return nil } -var xxx_messageInfo_Parameter proto.InternalMessageInfo +func (x *Parameter) GetDefault() *Literal { + if x, ok := x.GetBehavior().(*Parameter_Default); ok { + return x.Default + } + return nil +} -func (m *Parameter) GetVar() *Variable { - if m != nil { - return m.Var +func (x *Parameter) GetRequired() bool { + if x, ok := x.GetBehavior().(*Parameter_Required); ok { + return x.Required + } + return false +} + +func (x *Parameter) GetArtifactQuery() *ArtifactQuery { + if x, ok := x.GetBehavior().(*Parameter_ArtifactQuery); ok { + return x.ArtifactQuery + } + return nil +} + +func (x *Parameter) GetArtifactId() *ArtifactID { + if x, ok := x.GetBehavior().(*Parameter_ArtifactId); ok { + return x.ArtifactId } return nil } @@ -232,14 +300,18 @@ type isParameter_Behavior interface { } type Parameter_Default struct { + // Defines a default value that has to match the variable type defined. Default *Literal `protobuf:"bytes,2,opt,name=default,proto3,oneof"` } type Parameter_Required struct { + // +optional, is this value required to be filled. Required bool `protobuf:"varint,3,opt,name=required,proto3,oneof"` } type Parameter_ArtifactQuery struct { + // This is an execution time search basically that should result in exactly one Artifact with a Type that + // matches the type of the variable. ArtifactQuery *ArtifactQuery `protobuf:"bytes,4,opt,name=artifact_query,json=artifactQuery,proto3,oneof"` } @@ -255,138 +327,283 @@ func (*Parameter_ArtifactQuery) isParameter_Behavior() {} func (*Parameter_ArtifactId) isParameter_Behavior() {} -func (m *Parameter) GetBehavior() isParameter_Behavior { - if m != nil { - return m.Behavior - } - return nil -} +// A map of Parameters. +type ParameterMap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Parameter) GetDefault() *Literal { - if x, ok := m.GetBehavior().(*Parameter_Default); ok { - return x.Default - } - return nil + // Defines a map of parameter names to parameters. + Parameters map[string]*Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Parameter) GetRequired() bool { - if x, ok := m.GetBehavior().(*Parameter_Required); ok { - return x.Required +func (x *ParameterMap) Reset() { + *x = ParameterMap{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_interface_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (m *Parameter) GetArtifactQuery() *ArtifactQuery { - if x, ok := m.GetBehavior().(*Parameter_ArtifactQuery); ok { - return x.ArtifactQuery - } - return nil +func (x *ParameterMap) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Parameter) GetArtifactId() *ArtifactID { - if x, ok := m.GetBehavior().(*Parameter_ArtifactId); ok { - return x.ArtifactId - } - return nil -} +func (*ParameterMap) ProtoMessage() {} -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Parameter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Parameter_Default)(nil), - (*Parameter_Required)(nil), - (*Parameter_ArtifactQuery)(nil), - (*Parameter_ArtifactId)(nil), +func (x *ParameterMap) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_interface_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } + return mi.MessageOf(x) } -// A map of Parameters. -type ParameterMap struct { - // Defines a map of parameter names to parameters. - Parameters map[string]*Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ParameterMap) Reset() { *m = ParameterMap{} } -func (m *ParameterMap) String() string { return proto.CompactTextString(m) } -func (*ParameterMap) ProtoMessage() {} +// Deprecated: Use ParameterMap.ProtoReflect.Descriptor instead. func (*ParameterMap) Descriptor() ([]byte, []int) { - return fileDescriptor_cd7be6cbe85c3def, []int{4} -} - -func (m *ParameterMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ParameterMap.Unmarshal(m, b) -} -func (m *ParameterMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ParameterMap.Marshal(b, m, deterministic) -} -func (m *ParameterMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParameterMap.Merge(m, src) -} -func (m *ParameterMap) XXX_Size() int { - return xxx_messageInfo_ParameterMap.Size(m) -} -func (m *ParameterMap) XXX_DiscardUnknown() { - xxx_messageInfo_ParameterMap.DiscardUnknown(m) + return file_flyteidl_core_interface_proto_rawDescGZIP(), []int{4} } -var xxx_messageInfo_ParameterMap proto.InternalMessageInfo - -func (m *ParameterMap) GetParameters() map[string]*Parameter { - if m != nil { - return m.Parameters +func (x *ParameterMap) GetParameters() map[string]*Parameter { + if x != nil { + return x.Parameters } return nil } -func init() { - proto.RegisterType((*Variable)(nil), "flyteidl.core.Variable") - proto.RegisterType((*VariableMap)(nil), "flyteidl.core.VariableMap") - proto.RegisterMapType((map[string]*Variable)(nil), "flyteidl.core.VariableMap.VariablesEntry") - proto.RegisterType((*TypedInterface)(nil), "flyteidl.core.TypedInterface") - proto.RegisterType((*Parameter)(nil), "flyteidl.core.Parameter") - proto.RegisterType((*ParameterMap)(nil), "flyteidl.core.ParameterMap") - proto.RegisterMapType((map[string]*Parameter)(nil), "flyteidl.core.ParameterMap.ParametersEntry") -} - -func init() { proto.RegisterFile("flyteidl/core/interface.proto", fileDescriptor_cd7be6cbe85c3def) } - -var fileDescriptor_cd7be6cbe85c3def = []byte{ - // 535 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0x8e, 0x93, 0xfe, 0x24, 0xe3, 0x36, 0xc0, 0x22, 0x81, 0x1b, 0x05, 0x11, 0xf9, 0x94, 0x0a, - 0xd5, 0x96, 0x0c, 0x07, 0x54, 0x95, 0x03, 0x15, 0x15, 0xb1, 0x00, 0xa9, 0xac, 0x0a, 0x48, 0x5c, - 0xaa, 0xb5, 0xbd, 0x71, 0x57, 0xb8, 0xb6, 0xbb, 0x5e, 0x47, 0x32, 0x6f, 0xc2, 0x43, 0x70, 0xe3, - 0x99, 0x78, 0x8e, 0xca, 0x3f, 0xeb, 0xd8, 0x51, 0xac, 0xde, 0x66, 0x3c, 0xdf, 0x37, 0xdf, 0x78, - 0xe6, 0xd3, 0xc2, 0x8b, 0x65, 0x90, 0x09, 0xca, 0xbc, 0xc0, 0x74, 0x23, 0x4e, 0x4d, 0x16, 0x0a, - 0xca, 0x97, 0xc4, 0xa5, 0x46, 0xcc, 0x23, 0x11, 0xa1, 0x43, 0x59, 0x36, 0xf2, 0xf2, 0xe4, 0xa8, - 0x8d, 0x16, 0x59, 0x4c, 0x93, 0x12, 0x39, 0x99, 0xb6, 0x4b, 0x01, 0x13, 0x94, 0x93, 0x40, 0x56, - 0x5f, 0xb6, 0xab, 0x84, 0x0b, 0xb6, 0x24, 0xae, 0xb8, 0x66, 0x5e, 0x09, 0xd0, 0xff, 0x2b, 0x30, - 0xfc, 0x4e, 0x38, 0x23, 0x4e, 0x40, 0x91, 0x01, 0x3b, 0x79, 0x6b, 0x4d, 0x99, 0x29, 0x73, 0xd5, - 0x9a, 0x18, 0xad, 0x21, 0x8c, 0xcf, 0x65, 0xeb, 0xab, 0x2c, 0xa6, 0xb8, 0xc0, 0xa1, 0x19, 0xa8, - 0x1e, 0x4d, 0x5c, 0xce, 0x62, 0xc1, 0xa2, 0x50, 0xeb, 0xcf, 0x94, 0xf9, 0x08, 0x37, 0x3f, 0x21, - 0x1b, 0x9e, 0xd6, 0x9a, 0x71, 0x1e, 0x91, 0xe0, 0x9a, 0x79, 0xda, 0xa0, 0x10, 0x38, 0xda, 0x10, - 0x78, 0x5f, 0x21, 0xed, 0x0f, 0xf8, 0x89, 0x64, 0x5d, 0x96, 0x24, 0xdb, 0x43, 0xef, 0xe0, 0xa0, - 0x6e, 0x25, 0x88, 0xaf, 0xed, 0x6c, 0x1d, 0x52, 0xf6, 0xb8, 0x22, 0x3e, 0x56, 0xc9, 0x3a, 0xd1, - 0xff, 0x2a, 0xa0, 0xca, 0x1f, 0xfd, 0x42, 0x62, 0xf4, 0x11, 0x46, 0xab, 0x2a, 0x4d, 0x34, 0x65, - 0x36, 0x98, 0xab, 0xd6, 0xf1, 0x46, 0xaf, 0x06, 0xbc, 0x8e, 0x93, 0x8b, 0x50, 0xf0, 0x0c, 0xaf, - 0xb9, 0x93, 0x6f, 0x30, 0x6e, 0x17, 0xd1, 0x63, 0x18, 0xfc, 0xa2, 0x59, 0xb1, 0xc5, 0x11, 0xce, - 0x43, 0x74, 0x02, 0xbb, 0x2b, 0x12, 0xa4, 0xb4, 0x58, 0x91, 0x6a, 0x3d, 0xef, 0x10, 0xc2, 0x25, - 0xea, 0xb4, 0xff, 0x56, 0xd1, 0x7f, 0xc3, 0x38, 0xdf, 0xb4, 0x67, 0x4b, 0x67, 0x20, 0x0b, 0xf6, - 0x58, 0x18, 0xa7, 0x22, 0xe9, 0xb8, 0x4f, 0x63, 0x5c, 0x5c, 0x21, 0xd1, 0x1b, 0xd8, 0x8f, 0x52, - 0x51, 0x90, 0xfa, 0x0f, 0x92, 0x24, 0x54, 0xff, 0xd3, 0x87, 0xd1, 0x25, 0xe1, 0xe4, 0x96, 0x0a, - 0xca, 0xd1, 0x31, 0x0c, 0x56, 0x84, 0x57, 0xa2, 0x9d, 0xa3, 0xe7, 0x18, 0x64, 0xc1, 0xbe, 0x47, - 0x97, 0x24, 0x0d, 0x44, 0x25, 0xf7, 0x6c, 0xbb, 0x87, 0x16, 0x3d, 0x2c, 0x81, 0x68, 0x0a, 0x43, - 0x4e, 0xef, 0x52, 0xc6, 0x69, 0xe9, 0x8b, 0xe1, 0xa2, 0x87, 0xeb, 0x2f, 0xe8, 0x02, 0xc6, 0xf5, - 0xd5, 0xef, 0x52, 0xca, 0xb3, 0xea, 0xee, 0xd3, 0x8e, 0xbb, 0x7f, 0xcd, 0x31, 0x8b, 0x1e, 0x3e, - 0x24, 0xcd, 0x0f, 0xe8, 0x0c, 0xd4, 0x86, 0xf7, 0xb5, 0xdd, 0x07, 0xfc, 0xb7, 0xe8, 0x61, 0x90, - 0x78, 0xdb, 0x3b, 0x07, 0x18, 0x3a, 0xf4, 0x86, 0xac, 0x58, 0xc4, 0xf5, 0x7f, 0x0a, 0x1c, 0xd4, - 0xbb, 0xc9, 0x8d, 0xf4, 0x09, 0x20, 0x96, 0xb9, 0x74, 0xd2, 0xab, 0x8d, 0xce, 0x4d, 0xc2, 0x3a, - 0xa9, 0xbc, 0xd4, 0xa0, 0x4f, 0x7e, 0xc0, 0xa3, 0x8d, 0xf2, 0x16, 0x37, 0x19, 0x6d, 0x37, 0x69, - 0x5d, 0x62, 0x0d, 0x3b, 0x9d, 0x9f, 0xfd, 0x3c, 0xf5, 0x99, 0xb8, 0x49, 0x1d, 0xc3, 0x8d, 0x6e, - 0xcd, 0x82, 0x10, 0x71, 0xbf, 0x0c, 0xcc, 0xfa, 0x91, 0xf0, 0x69, 0x68, 0xc6, 0xce, 0x89, 0x1f, - 0x99, 0xad, 0x77, 0xc3, 0xd9, 0x2b, 0x1e, 0x8b, 0xd7, 0xf7, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1d, - 0xd6, 0x76, 0x1a, 0xb6, 0x04, 0x00, 0x00, +var File_flyteidl_core_interface_proto protoreflect.FileDescriptor + +var file_flyteidl_core_interface_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x19, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, + 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x08, 0x56, 0x61, 0x72, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x13, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x52, + 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, + 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, + 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x54, 0x61, 0x67, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x61, + 0x67, 0x22, 0xad, 0x01, 0x0a, 0x0b, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, + 0x70, 0x12, 0x47, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x70, + 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x55, 0x0a, 0x0e, 0x56, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x7a, 0x0a, 0x0e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x70, 0x52, + 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, + 0x65, 0x4d, 0x61, 0x70, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x99, 0x02, + 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x03, 0x76, + 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, + 0x65, 0x52, 0x03, 0x76, 0x61, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x48, + 0x00, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x08, 0x72, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, + 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, + 0x52, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, + 0x3c, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x48, + 0x00, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x42, 0x0a, 0x0a, + 0x08, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x22, 0xb4, 0x01, 0x0a, 0x0c, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x2e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x57, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x42, 0xb4, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_interface_proto_rawDescOnce sync.Once + file_flyteidl_core_interface_proto_rawDescData = file_flyteidl_core_interface_proto_rawDesc +) + +func file_flyteidl_core_interface_proto_rawDescGZIP() []byte { + file_flyteidl_core_interface_proto_rawDescOnce.Do(func() { + file_flyteidl_core_interface_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_interface_proto_rawDescData) + }) + return file_flyteidl_core_interface_proto_rawDescData +} + +var file_flyteidl_core_interface_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flyteidl_core_interface_proto_goTypes = []interface{}{ + (*Variable)(nil), // 0: flyteidl.core.Variable + (*VariableMap)(nil), // 1: flyteidl.core.VariableMap + (*TypedInterface)(nil), // 2: flyteidl.core.TypedInterface + (*Parameter)(nil), // 3: flyteidl.core.Parameter + (*ParameterMap)(nil), // 4: flyteidl.core.ParameterMap + nil, // 5: flyteidl.core.VariableMap.VariablesEntry + nil, // 6: flyteidl.core.ParameterMap.ParametersEntry + (*LiteralType)(nil), // 7: flyteidl.core.LiteralType + (*ArtifactID)(nil), // 8: flyteidl.core.ArtifactID + (*ArtifactTag)(nil), // 9: flyteidl.core.ArtifactTag + (*Literal)(nil), // 10: flyteidl.core.Literal + (*ArtifactQuery)(nil), // 11: flyteidl.core.ArtifactQuery +} +var file_flyteidl_core_interface_proto_depIdxs = []int32{ + 7, // 0: flyteidl.core.Variable.type:type_name -> flyteidl.core.LiteralType + 8, // 1: flyteidl.core.Variable.artifact_partial_id:type_name -> flyteidl.core.ArtifactID + 9, // 2: flyteidl.core.Variable.artifact_tag:type_name -> flyteidl.core.ArtifactTag + 5, // 3: flyteidl.core.VariableMap.variables:type_name -> flyteidl.core.VariableMap.VariablesEntry + 1, // 4: flyteidl.core.TypedInterface.inputs:type_name -> flyteidl.core.VariableMap + 1, // 5: flyteidl.core.TypedInterface.outputs:type_name -> flyteidl.core.VariableMap + 0, // 6: flyteidl.core.Parameter.var:type_name -> flyteidl.core.Variable + 10, // 7: flyteidl.core.Parameter.default:type_name -> flyteidl.core.Literal + 11, // 8: flyteidl.core.Parameter.artifact_query:type_name -> flyteidl.core.ArtifactQuery + 8, // 9: flyteidl.core.Parameter.artifact_id:type_name -> flyteidl.core.ArtifactID + 6, // 10: flyteidl.core.ParameterMap.parameters:type_name -> flyteidl.core.ParameterMap.ParametersEntry + 0, // 11: flyteidl.core.VariableMap.VariablesEntry.value:type_name -> flyteidl.core.Variable + 3, // 12: flyteidl.core.ParameterMap.ParametersEntry.value:type_name -> flyteidl.core.Parameter + 13, // [13:13] is the sub-list for method output_type + 13, // [13:13] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_interface_proto_init() } +func file_flyteidl_core_interface_proto_init() { + if File_flyteidl_core_interface_proto != nil { + return + } + file_flyteidl_core_types_proto_init() + file_flyteidl_core_literals_proto_init() + file_flyteidl_core_artifact_id_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_interface_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Variable); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_interface_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VariableMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_interface_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypedInterface); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_interface_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Parameter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_interface_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParameterMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_interface_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*Parameter_Default)(nil), + (*Parameter_Required)(nil), + (*Parameter_ArtifactQuery)(nil), + (*Parameter_ArtifactId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_interface_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_interface_proto_goTypes, + DependencyIndexes: file_flyteidl_core_interface_proto_depIdxs, + MessageInfos: file_flyteidl_core_interface_proto_msgTypes, + }.Build() + File_flyteidl_core_interface_proto = out.File + file_flyteidl_core_interface_proto_rawDesc = nil + file_flyteidl_core_interface_proto_goTypes = nil + file_flyteidl_core_interface_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/interface.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/interface.swagger.json deleted file mode 100644 index 249d4d650e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/interface.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go index cc53755642..40b24e30a5 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go @@ -1,70 +1,128 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/literals.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + structpb "google.golang.org/protobuf/types/known/structpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Primitive Types type Primitive struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Defines one of simple primitive types. These types will get translated into different programming languages as // described in https://developers.google.com/protocol-buffers/docs/proto#scalar. // - // Types that are valid to be assigned to Value: + // Types that are assignable to Value: + // // *Primitive_Integer // *Primitive_FloatValue // *Primitive_StringValue // *Primitive_Boolean // *Primitive_Datetime // *Primitive_Duration - Value isPrimitive_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value isPrimitive_Value `protobuf_oneof:"value"` +} + +func (x *Primitive) Reset() { + *x = Primitive{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Primitive) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Primitive) ProtoMessage() {} + +func (x *Primitive) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Primitive) Reset() { *m = Primitive{} } -func (m *Primitive) String() string { return proto.CompactTextString(m) } -func (*Primitive) ProtoMessage() {} +// Deprecated: Use Primitive.ProtoReflect.Descriptor instead. func (*Primitive) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{0} + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{0} +} + +func (m *Primitive) GetValue() isPrimitive_Value { + if m != nil { + return m.Value + } + return nil } -func (m *Primitive) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Primitive.Unmarshal(m, b) +func (x *Primitive) GetInteger() int64 { + if x, ok := x.GetValue().(*Primitive_Integer); ok { + return x.Integer + } + return 0 } -func (m *Primitive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Primitive.Marshal(b, m, deterministic) + +func (x *Primitive) GetFloatValue() float64 { + if x, ok := x.GetValue().(*Primitive_FloatValue); ok { + return x.FloatValue + } + return 0 } -func (m *Primitive) XXX_Merge(src proto.Message) { - xxx_messageInfo_Primitive.Merge(m, src) + +func (x *Primitive) GetStringValue() string { + if x, ok := x.GetValue().(*Primitive_StringValue); ok { + return x.StringValue + } + return "" } -func (m *Primitive) XXX_Size() int { - return xxx_messageInfo_Primitive.Size(m) + +func (x *Primitive) GetBoolean() bool { + if x, ok := x.GetValue().(*Primitive_Boolean); ok { + return x.Boolean + } + return false } -func (m *Primitive) XXX_DiscardUnknown() { - xxx_messageInfo_Primitive.DiscardUnknown(m) + +func (x *Primitive) GetDatetime() *timestamppb.Timestamp { + if x, ok := x.GetValue().(*Primitive_Datetime); ok { + return x.Datetime + } + return nil } -var xxx_messageInfo_Primitive proto.InternalMessageInfo +func (x *Primitive) GetDuration() *durationpb.Duration { + if x, ok := x.GetValue().(*Primitive_Duration); ok { + return x.Duration + } + return nil +} type isPrimitive_Value interface { isPrimitive_Value() @@ -87,11 +145,11 @@ type Primitive_Boolean struct { } type Primitive_Datetime struct { - Datetime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=datetime,proto3,oneof"` + Datetime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=datetime,proto3,oneof"` } type Primitive_Duration struct { - Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3,oneof"` + Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=duration,proto3,oneof"` } func (*Primitive_Integer) isPrimitive_Value() {} @@ -106,184 +164,146 @@ func (*Primitive_Datetime) isPrimitive_Value() {} func (*Primitive_Duration) isPrimitive_Value() {} -func (m *Primitive) GetValue() isPrimitive_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *Primitive) GetInteger() int64 { - if x, ok := m.GetValue().(*Primitive_Integer); ok { - return x.Integer - } - return 0 +// Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally +// undefined since it can be assigned to a scalar of any LiteralType. +type Void struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Primitive) GetFloatValue() float64 { - if x, ok := m.GetValue().(*Primitive_FloatValue); ok { - return x.FloatValue +func (x *Void) Reset() { + *x = Void{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (m *Primitive) GetStringValue() string { - if x, ok := m.GetValue().(*Primitive_StringValue); ok { - return x.StringValue - } - return "" +func (x *Void) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Primitive) GetBoolean() bool { - if x, ok := m.GetValue().(*Primitive_Boolean); ok { - return x.Boolean - } - return false -} +func (*Void) ProtoMessage() {} -func (m *Primitive) GetDatetime() *timestamp.Timestamp { - if x, ok := m.GetValue().(*Primitive_Datetime); ok { - return x.Datetime +func (x *Void) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *Primitive) GetDuration() *duration.Duration { - if x, ok := m.GetValue().(*Primitive_Duration); ok { - return x.Duration - } - return nil +// Deprecated: Use Void.ProtoReflect.Descriptor instead. +func (*Void) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{1} } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Primitive) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Primitive_Integer)(nil), - (*Primitive_FloatValue)(nil), - (*Primitive_StringValue)(nil), - (*Primitive_Boolean)(nil), - (*Primitive_Datetime)(nil), - (*Primitive_Duration)(nil), - } -} +// Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. +// There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. +type Blob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -// Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally -// undefined since it can be assigned to a scalar of any LiteralType. -type Void struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata *BlobMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` } -func (m *Void) Reset() { *m = Void{} } -func (m *Void) String() string { return proto.CompactTextString(m) } -func (*Void) ProtoMessage() {} -func (*Void) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{1} +func (x *Blob) Reset() { + *x = Blob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Void) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Void.Unmarshal(m, b) -} -func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Void.Marshal(b, m, deterministic) -} -func (m *Void) XXX_Merge(src proto.Message) { - xxx_messageInfo_Void.Merge(m, src) -} -func (m *Void) XXX_Size() int { - return xxx_messageInfo_Void.Size(m) -} -func (m *Void) XXX_DiscardUnknown() { - xxx_messageInfo_Void.DiscardUnknown(m) +func (x *Blob) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Void proto.InternalMessageInfo +func (*Blob) ProtoMessage() {} -// Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. -// There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. -type Blob struct { - Metadata *BlobMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *Blob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Blob) Reset() { *m = Blob{} } -func (m *Blob) String() string { return proto.CompactTextString(m) } -func (*Blob) ProtoMessage() {} +// Deprecated: Use Blob.ProtoReflect.Descriptor instead. func (*Blob) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{2} -} - -func (m *Blob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Blob.Unmarshal(m, b) -} -func (m *Blob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Blob.Marshal(b, m, deterministic) -} -func (m *Blob) XXX_Merge(src proto.Message) { - xxx_messageInfo_Blob.Merge(m, src) -} -func (m *Blob) XXX_Size() int { - return xxx_messageInfo_Blob.Size(m) + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{2} } -func (m *Blob) XXX_DiscardUnknown() { - xxx_messageInfo_Blob.DiscardUnknown(m) -} - -var xxx_messageInfo_Blob proto.InternalMessageInfo -func (m *Blob) GetMetadata() *BlobMetadata { - if m != nil { - return m.Metadata +func (x *Blob) GetMetadata() *BlobMetadata { + if x != nil { + return x.Metadata } return nil } -func (m *Blob) GetUri() string { - if m != nil { - return m.Uri +func (x *Blob) GetUri() string { + if x != nil { + return x.Uri } return "" } type BlobMetadata struct { - Type *BlobType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BlobMetadata) Reset() { *m = BlobMetadata{} } -func (m *BlobMetadata) String() string { return proto.CompactTextString(m) } -func (*BlobMetadata) ProtoMessage() {} -func (*BlobMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{3} + Type *BlobType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` } -func (m *BlobMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlobMetadata.Unmarshal(m, b) -} -func (m *BlobMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlobMetadata.Marshal(b, m, deterministic) -} -func (m *BlobMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlobMetadata.Merge(m, src) +func (x *BlobMetadata) Reset() { + *x = BlobMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BlobMetadata) XXX_Size() int { - return xxx_messageInfo_BlobMetadata.Size(m) + +func (x *BlobMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlobMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_BlobMetadata.DiscardUnknown(m) + +func (*BlobMetadata) ProtoMessage() {} + +func (x *BlobMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlobMetadata proto.InternalMessageInfo +// Deprecated: Use BlobMetadata.ProtoReflect.Descriptor instead. +func (*BlobMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{3} +} -func (m *BlobMetadata) GetType() *BlobType { - if m != nil { - return m.Type +func (x *BlobMetadata) GetType() *BlobType { + if x != nil { + return x.Type } return nil } @@ -291,149 +311,177 @@ func (m *BlobMetadata) GetType() *BlobType { // A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. // It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. type Binary struct { - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Binary) Reset() { *m = Binary{} } -func (m *Binary) String() string { return proto.CompactTextString(m) } -func (*Binary) ProtoMessage() {} -func (*Binary) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{4} + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` } -func (m *Binary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Binary.Unmarshal(m, b) -} -func (m *Binary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Binary.Marshal(b, m, deterministic) -} -func (m *Binary) XXX_Merge(src proto.Message) { - xxx_messageInfo_Binary.Merge(m, src) +func (x *Binary) Reset() { + *x = Binary{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Binary) XXX_Size() int { - return xxx_messageInfo_Binary.Size(m) + +func (x *Binary) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Binary) XXX_DiscardUnknown() { - xxx_messageInfo_Binary.DiscardUnknown(m) + +func (*Binary) ProtoMessage() {} + +func (x *Binary) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Binary proto.InternalMessageInfo +// Deprecated: Use Binary.ProtoReflect.Descriptor instead. +func (*Binary) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{4} +} -func (m *Binary) GetValue() []byte { - if m != nil { - return m.Value +func (x *Binary) GetValue() []byte { + if x != nil { + return x.Value } return nil } -func (m *Binary) GetTag() string { - if m != nil { - return m.Tag +func (x *Binary) GetTag() string { + if x != nil { + return x.Tag } return "" } // A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. type Schema struct { - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - Type *SchemaType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Schema) Reset() { *m = Schema{} } -func (m *Schema) String() string { return proto.CompactTextString(m) } -func (*Schema) ProtoMessage() {} -func (*Schema) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{5} + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` + Type *SchemaType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` } -func (m *Schema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Schema.Unmarshal(m, b) -} -func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Schema.Marshal(b, m, deterministic) -} -func (m *Schema) XXX_Merge(src proto.Message) { - xxx_messageInfo_Schema.Merge(m, src) +func (x *Schema) Reset() { + *x = Schema{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Schema) XXX_Size() int { - return xxx_messageInfo_Schema.Size(m) + +func (x *Schema) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Schema) XXX_DiscardUnknown() { - xxx_messageInfo_Schema.DiscardUnknown(m) + +func (*Schema) ProtoMessage() {} + +func (x *Schema) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Schema proto.InternalMessageInfo +// Deprecated: Use Schema.ProtoReflect.Descriptor instead. +func (*Schema) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{5} +} -func (m *Schema) GetUri() string { - if m != nil { - return m.Uri +func (x *Schema) GetUri() string { + if x != nil { + return x.Uri } return "" } -func (m *Schema) GetType() *SchemaType { - if m != nil { - return m.Type +func (x *Schema) GetType() *SchemaType { + if x != nil { + return x.Type } return nil } // The runtime representation of a tagged union value. See `UnionType` for more details. type Union struct { - Value *Literal `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - Type *LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Union) Reset() { *m = Union{} } -func (m *Union) String() string { return proto.CompactTextString(m) } -func (*Union) ProtoMessage() {} -func (*Union) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{6} + Value *Literal `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Type *LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` } -func (m *Union) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Union.Unmarshal(m, b) -} -func (m *Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Union.Marshal(b, m, deterministic) -} -func (m *Union) XXX_Merge(src proto.Message) { - xxx_messageInfo_Union.Merge(m, src) +func (x *Union) Reset() { + *x = Union{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Union) XXX_Size() int { - return xxx_messageInfo_Union.Size(m) + +func (x *Union) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Union) XXX_DiscardUnknown() { - xxx_messageInfo_Union.DiscardUnknown(m) + +func (*Union) ProtoMessage() {} + +func (x *Union) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Union proto.InternalMessageInfo +// Deprecated: Use Union.ProtoReflect.Descriptor instead. +func (*Union) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{6} +} -func (m *Union) GetValue() *Literal { - if m != nil { - return m.Value +func (x *Union) GetValue() *Literal { + if x != nil { + return x.Value } return nil } -func (m *Union) GetType() *LiteralType { - if m != nil { - return m.Type +func (x *Union) GetType() *LiteralType { + if x != nil { + return x.Type } return nil } type StructuredDatasetMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Bundle the type information along with the literal. // This is here because StructuredDatasets can often be more defined at run time than at compile time. // That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, @@ -442,94 +490,111 @@ type StructuredDatasetMetadata struct { // the various plugins (encoders). // Since this field is run time generated, it's not used for any type checking. StructuredDatasetType *StructuredDatasetType `protobuf:"bytes,1,opt,name=structured_dataset_type,json=structuredDatasetType,proto3" json:"structured_dataset_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *StructuredDatasetMetadata) Reset() { *m = StructuredDatasetMetadata{} } -func (m *StructuredDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*StructuredDatasetMetadata) ProtoMessage() {} -func (*StructuredDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{7} +func (x *StructuredDatasetMetadata) Reset() { + *x = StructuredDatasetMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StructuredDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredDatasetMetadata.Unmarshal(m, b) +func (x *StructuredDatasetMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StructuredDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *StructuredDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredDatasetMetadata.Merge(m, src) -} -func (m *StructuredDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_StructuredDatasetMetadata.Size(m) -} -func (m *StructuredDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredDatasetMetadata.DiscardUnknown(m) + +func (*StructuredDatasetMetadata) ProtoMessage() {} + +func (x *StructuredDatasetMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StructuredDatasetMetadata proto.InternalMessageInfo +// Deprecated: Use StructuredDatasetMetadata.ProtoReflect.Descriptor instead. +func (*StructuredDatasetMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{7} +} -func (m *StructuredDatasetMetadata) GetStructuredDatasetType() *StructuredDatasetType { - if m != nil { - return m.StructuredDatasetType +func (x *StructuredDatasetMetadata) GetStructuredDatasetType() *StructuredDatasetType { + if x != nil { + return x.StructuredDatasetType } return nil } type StructuredDataset struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // String location uniquely identifying where the data is. // Should start with the storage location (e.g. s3://, gs://, bq://, etc.) - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - Metadata *StructuredDatasetMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` + Metadata *StructuredDatasetMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *StructuredDataset) Reset() { *m = StructuredDataset{} } -func (m *StructuredDataset) String() string { return proto.CompactTextString(m) } -func (*StructuredDataset) ProtoMessage() {} -func (*StructuredDataset) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{8} +func (x *StructuredDataset) Reset() { + *x = StructuredDataset{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StructuredDataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredDataset.Unmarshal(m, b) +func (x *StructuredDataset) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StructuredDataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredDataset.Marshal(b, m, deterministic) -} -func (m *StructuredDataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredDataset.Merge(m, src) -} -func (m *StructuredDataset) XXX_Size() int { - return xxx_messageInfo_StructuredDataset.Size(m) -} -func (m *StructuredDataset) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredDataset.DiscardUnknown(m) + +func (*StructuredDataset) ProtoMessage() {} + +func (x *StructuredDataset) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StructuredDataset proto.InternalMessageInfo +// Deprecated: Use StructuredDataset.ProtoReflect.Descriptor instead. +func (*StructuredDataset) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{8} +} -func (m *StructuredDataset) GetUri() string { - if m != nil { - return m.Uri +func (x *StructuredDataset) GetUri() string { + if x != nil { + return x.Uri } return "" } -func (m *StructuredDataset) GetMetadata() *StructuredDatasetMetadata { - if m != nil { - return m.Metadata +func (x *StructuredDataset) GetMetadata() *StructuredDatasetMetadata { + if x != nil { + return x.Metadata } return nil } type Scalar struct { - // Types that are valid to be assigned to Value: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // // *Scalar_Primitive // *Scalar_Blob // *Scalar_Binary @@ -539,36 +604,110 @@ type Scalar struct { // *Scalar_Generic // *Scalar_StructuredDataset // *Scalar_Union - Value isScalar_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value isScalar_Value `protobuf_oneof:"value"` +} + +func (x *Scalar) Reset() { + *x = Scalar{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Scalar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Scalar) ProtoMessage() {} + +func (x *Scalar) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Scalar) Reset() { *m = Scalar{} } -func (m *Scalar) String() string { return proto.CompactTextString(m) } -func (*Scalar) ProtoMessage() {} +// Deprecated: Use Scalar.ProtoReflect.Descriptor instead. func (*Scalar) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{9} + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{9} +} + +func (m *Scalar) GetValue() isScalar_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *Scalar) GetPrimitive() *Primitive { + if x, ok := x.GetValue().(*Scalar_Primitive); ok { + return x.Primitive + } + return nil +} + +func (x *Scalar) GetBlob() *Blob { + if x, ok := x.GetValue().(*Scalar_Blob); ok { + return x.Blob + } + return nil +} + +func (x *Scalar) GetBinary() *Binary { + if x, ok := x.GetValue().(*Scalar_Binary); ok { + return x.Binary + } + return nil } -func (m *Scalar) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Scalar.Unmarshal(m, b) +func (x *Scalar) GetSchema() *Schema { + if x, ok := x.GetValue().(*Scalar_Schema); ok { + return x.Schema + } + return nil } -func (m *Scalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Scalar.Marshal(b, m, deterministic) + +func (x *Scalar) GetNoneType() *Void { + if x, ok := x.GetValue().(*Scalar_NoneType); ok { + return x.NoneType + } + return nil } -func (m *Scalar) XXX_Merge(src proto.Message) { - xxx_messageInfo_Scalar.Merge(m, src) + +func (x *Scalar) GetError() *Error { + if x, ok := x.GetValue().(*Scalar_Error); ok { + return x.Error + } + return nil } -func (m *Scalar) XXX_Size() int { - return xxx_messageInfo_Scalar.Size(m) + +func (x *Scalar) GetGeneric() *structpb.Struct { + if x, ok := x.GetValue().(*Scalar_Generic); ok { + return x.Generic + } + return nil } -func (m *Scalar) XXX_DiscardUnknown() { - xxx_messageInfo_Scalar.DiscardUnknown(m) + +func (x *Scalar) GetStructuredDataset() *StructuredDataset { + if x, ok := x.GetValue().(*Scalar_StructuredDataset); ok { + return x.StructuredDataset + } + return nil } -var xxx_messageInfo_Scalar proto.InternalMessageInfo +func (x *Scalar) GetUnion() *Union { + if x, ok := x.GetValue().(*Scalar_Union); ok { + return x.Union + } + return nil +} type isScalar_Value interface { isScalar_Value() @@ -599,7 +738,7 @@ type Scalar_Error struct { } type Scalar_Generic struct { - Generic *_struct.Struct `protobuf:"bytes,7,opt,name=generic,proto3,oneof"` + Generic *structpb.Struct `protobuf:"bytes,7,opt,name=generic,proto3,oneof"` } type Scalar_StructuredDataset struct { @@ -628,147 +767,116 @@ func (*Scalar_StructuredDataset) isScalar_Value() {} func (*Scalar_Union) isScalar_Value() {} -func (m *Scalar) GetValue() isScalar_Value { - if m != nil { - return m.Value - } - return nil +// A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. +type Literal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // + // *Literal_Scalar + // *Literal_Collection + // *Literal_Map + Value isLiteral_Value `protobuf_oneof:"value"` + // A hash representing this literal. + // This is used for caching purposes. For more details refer to RFC 1893 + // (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md) + Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` + // Additional metadata for literals. + Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Scalar) GetPrimitive() *Primitive { - if x, ok := m.GetValue().(*Scalar_Primitive); ok { - return x.Primitive +func (x *Literal) Reset() { + *x = Literal{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Scalar) GetBlob() *Blob { - if x, ok := m.GetValue().(*Scalar_Blob); ok { - return x.Blob - } - return nil +func (x *Literal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Scalar) GetBinary() *Binary { - if x, ok := m.GetValue().(*Scalar_Binary); ok { - return x.Binary - } - return nil -} +func (*Literal) ProtoMessage() {} -func (m *Scalar) GetSchema() *Schema { - if x, ok := m.GetValue().(*Scalar_Schema); ok { - return x.Schema +func (x *Literal) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *Scalar) GetNoneType() *Void { - if x, ok := m.GetValue().(*Scalar_NoneType); ok { - return x.NoneType - } - return nil +// Deprecated: Use Literal.ProtoReflect.Descriptor instead. +func (*Literal) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{10} } -func (m *Scalar) GetError() *Error { - if x, ok := m.GetValue().(*Scalar_Error); ok { - return x.Error +func (m *Literal) GetValue() isLiteral_Value { + if m != nil { + return m.Value } return nil } -func (m *Scalar) GetGeneric() *_struct.Struct { - if x, ok := m.GetValue().(*Scalar_Generic); ok { - return x.Generic +func (x *Literal) GetScalar() *Scalar { + if x, ok := x.GetValue().(*Literal_Scalar); ok { + return x.Scalar } return nil } -func (m *Scalar) GetStructuredDataset() *StructuredDataset { - if x, ok := m.GetValue().(*Scalar_StructuredDataset); ok { - return x.StructuredDataset +func (x *Literal) GetCollection() *LiteralCollection { + if x, ok := x.GetValue().(*Literal_Collection); ok { + return x.Collection } return nil } -func (m *Scalar) GetUnion() *Union { - if x, ok := m.GetValue().(*Scalar_Union); ok { - return x.Union +func (x *Literal) GetMap() *LiteralMap { + if x, ok := x.GetValue().(*Literal_Map); ok { + return x.Map } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Scalar) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Scalar_Primitive)(nil), - (*Scalar_Blob)(nil), - (*Scalar_Binary)(nil), - (*Scalar_Schema)(nil), - (*Scalar_NoneType)(nil), - (*Scalar_Error)(nil), - (*Scalar_Generic)(nil), - (*Scalar_StructuredDataset)(nil), - (*Scalar_Union)(nil), +func (x *Literal) GetHash() string { + if x != nil { + return x.Hash } + return "" } -// A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. -type Literal struct { - // Types that are valid to be assigned to Value: - // *Literal_Scalar - // *Literal_Collection - // *Literal_Map - Value isLiteral_Value `protobuf_oneof:"value"` - // A hash representing this literal. - // This is used for caching purposes. For more details refer to RFC 1893 - // (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md) - Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` - // Additional metadata for literals. - Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Literal) Reset() { *m = Literal{} } -func (m *Literal) String() string { return proto.CompactTextString(m) } -func (*Literal) ProtoMessage() {} -func (*Literal) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{10} -} - -func (m *Literal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Literal.Unmarshal(m, b) -} -func (m *Literal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Literal.Marshal(b, m, deterministic) -} -func (m *Literal) XXX_Merge(src proto.Message) { - xxx_messageInfo_Literal.Merge(m, src) -} -func (m *Literal) XXX_Size() int { - return xxx_messageInfo_Literal.Size(m) -} -func (m *Literal) XXX_DiscardUnknown() { - xxx_messageInfo_Literal.DiscardUnknown(m) +func (x *Literal) GetMetadata() map[string]string { + if x != nil { + return x.Metadata + } + return nil } -var xxx_messageInfo_Literal proto.InternalMessageInfo - type isLiteral_Value interface { isLiteral_Value() } type Literal_Scalar struct { + // A simple value. Scalar *Scalar `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"` } type Literal_Collection struct { + // A collection of literals to allow nesting. Collection *LiteralCollection `protobuf:"bytes,2,opt,name=collection,proto3,oneof"` } type Literal_Map struct { + // A map of strings to literals. Map *LiteralMap `protobuf:"bytes,3,opt,name=map,proto3,oneof"` } @@ -778,323 +886,293 @@ func (*Literal_Collection) isLiteral_Value() {} func (*Literal_Map) isLiteral_Value() {} -func (m *Literal) GetValue() isLiteral_Value { - if m != nil { - return m.Value - } - return nil +// A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. +type LiteralCollection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Literals []*Literal `protobuf:"bytes,1,rep,name=literals,proto3" json:"literals,omitempty"` } -func (m *Literal) GetScalar() *Scalar { - if x, ok := m.GetValue().(*Literal_Scalar); ok { - return x.Scalar +func (x *LiteralCollection) Reset() { + *x = LiteralCollection{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Literal) GetCollection() *LiteralCollection { - if x, ok := m.GetValue().(*Literal_Collection); ok { - return x.Collection - } - return nil +func (x *LiteralCollection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Literal) GetMap() *LiteralMap { - if x, ok := m.GetValue().(*Literal_Map); ok { - return x.Map +func (*LiteralCollection) ProtoMessage() {} + +func (x *LiteralCollection) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *Literal) GetHash() string { - if m != nil { - return m.Hash - } - return "" +// Deprecated: Use LiteralCollection.ProtoReflect.Descriptor instead. +func (*LiteralCollection) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{11} } -func (m *Literal) GetMetadata() map[string]string { - if m != nil { - return m.Metadata +func (x *LiteralCollection) GetLiterals() []*Literal { + if x != nil { + return x.Literals } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Literal) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Literal_Scalar)(nil), - (*Literal_Collection)(nil), - (*Literal_Map)(nil), - } -} +// A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. +type LiteralMap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -// A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. -type LiteralCollection struct { - Literals []*Literal `protobuf:"bytes,1,rep,name=literals,proto3" json:"literals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Literals map[string]*Literal `protobuf:"bytes,1,rep,name=literals,proto3" json:"literals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *LiteralCollection) Reset() { *m = LiteralCollection{} } -func (m *LiteralCollection) String() string { return proto.CompactTextString(m) } -func (*LiteralCollection) ProtoMessage() {} -func (*LiteralCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{11} +func (x *LiteralMap) Reset() { + *x = LiteralMap{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LiteralCollection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LiteralCollection.Unmarshal(m, b) -} -func (m *LiteralCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LiteralCollection.Marshal(b, m, deterministic) -} -func (m *LiteralCollection) XXX_Merge(src proto.Message) { - xxx_messageInfo_LiteralCollection.Merge(m, src) -} -func (m *LiteralCollection) XXX_Size() int { - return xxx_messageInfo_LiteralCollection.Size(m) -} -func (m *LiteralCollection) XXX_DiscardUnknown() { - xxx_messageInfo_LiteralCollection.DiscardUnknown(m) +func (x *LiteralMap) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_LiteralCollection proto.InternalMessageInfo +func (*LiteralMap) ProtoMessage() {} -func (m *LiteralCollection) GetLiterals() []*Literal { - if m != nil { - return m.Literals +func (x *LiteralMap) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -// A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. -type LiteralMap struct { - Literals map[string]*Literal `protobuf:"bytes,1,rep,name=literals,proto3" json:"literals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LiteralMap) Reset() { *m = LiteralMap{} } -func (m *LiteralMap) String() string { return proto.CompactTextString(m) } -func (*LiteralMap) ProtoMessage() {} +// Deprecated: Use LiteralMap.ProtoReflect.Descriptor instead. func (*LiteralMap) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{12} -} - -func (m *LiteralMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LiteralMap.Unmarshal(m, b) -} -func (m *LiteralMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LiteralMap.Marshal(b, m, deterministic) -} -func (m *LiteralMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_LiteralMap.Merge(m, src) -} -func (m *LiteralMap) XXX_Size() int { - return xxx_messageInfo_LiteralMap.Size(m) + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{12} } -func (m *LiteralMap) XXX_DiscardUnknown() { - xxx_messageInfo_LiteralMap.DiscardUnknown(m) -} - -var xxx_messageInfo_LiteralMap proto.InternalMessageInfo -func (m *LiteralMap) GetLiterals() map[string]*Literal { - if m != nil { - return m.Literals +func (x *LiteralMap) GetLiterals() map[string]*Literal { + if x != nil { + return x.Literals } return nil } // A collection of BindingData items. type BindingDataCollection struct { - Bindings []*BindingData `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BindingDataCollection) Reset() { *m = BindingDataCollection{} } -func (m *BindingDataCollection) String() string { return proto.CompactTextString(m) } -func (*BindingDataCollection) ProtoMessage() {} -func (*BindingDataCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{13} + Bindings []*BindingData `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"` } -func (m *BindingDataCollection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BindingDataCollection.Unmarshal(m, b) -} -func (m *BindingDataCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BindingDataCollection.Marshal(b, m, deterministic) -} -func (m *BindingDataCollection) XXX_Merge(src proto.Message) { - xxx_messageInfo_BindingDataCollection.Merge(m, src) +func (x *BindingDataCollection) Reset() { + *x = BindingDataCollection{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BindingDataCollection) XXX_Size() int { - return xxx_messageInfo_BindingDataCollection.Size(m) + +func (x *BindingDataCollection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BindingDataCollection) XXX_DiscardUnknown() { - xxx_messageInfo_BindingDataCollection.DiscardUnknown(m) + +func (*BindingDataCollection) ProtoMessage() {} + +func (x *BindingDataCollection) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BindingDataCollection proto.InternalMessageInfo +// Deprecated: Use BindingDataCollection.ProtoReflect.Descriptor instead. +func (*BindingDataCollection) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{13} +} -func (m *BindingDataCollection) GetBindings() []*BindingData { - if m != nil { - return m.Bindings +func (x *BindingDataCollection) GetBindings() []*BindingData { + if x != nil { + return x.Bindings } return nil } // A map of BindingData items. type BindingDataMap struct { - Bindings map[string]*BindingData `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BindingDataMap) Reset() { *m = BindingDataMap{} } -func (m *BindingDataMap) String() string { return proto.CompactTextString(m) } -func (*BindingDataMap) ProtoMessage() {} -func (*BindingDataMap) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{14} + Bindings map[string]*BindingData `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *BindingDataMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BindingDataMap.Unmarshal(m, b) -} -func (m *BindingDataMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BindingDataMap.Marshal(b, m, deterministic) -} -func (m *BindingDataMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_BindingDataMap.Merge(m, src) +func (x *BindingDataMap) Reset() { + *x = BindingDataMap{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BindingDataMap) XXX_Size() int { - return xxx_messageInfo_BindingDataMap.Size(m) + +func (x *BindingDataMap) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BindingDataMap) XXX_DiscardUnknown() { - xxx_messageInfo_BindingDataMap.DiscardUnknown(m) + +func (*BindingDataMap) ProtoMessage() {} + +func (x *BindingDataMap) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BindingDataMap proto.InternalMessageInfo +// Deprecated: Use BindingDataMap.ProtoReflect.Descriptor instead. +func (*BindingDataMap) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{14} +} -func (m *BindingDataMap) GetBindings() map[string]*BindingData { - if m != nil { - return m.Bindings +func (x *BindingDataMap) GetBindings() map[string]*BindingData { + if x != nil { + return x.Bindings } return nil } type UnionInfo struct { - TargetType *LiteralType `protobuf:"bytes,1,opt,name=targetType,proto3" json:"targetType,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UnionInfo) Reset() { *m = UnionInfo{} } -func (m *UnionInfo) String() string { return proto.CompactTextString(m) } -func (*UnionInfo) ProtoMessage() {} -func (*UnionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{15} + TargetType *LiteralType `protobuf:"bytes,1,opt,name=targetType,proto3" json:"targetType,omitempty"` } -func (m *UnionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnionInfo.Unmarshal(m, b) -} -func (m *UnionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnionInfo.Marshal(b, m, deterministic) -} -func (m *UnionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnionInfo.Merge(m, src) +func (x *UnionInfo) Reset() { + *x = UnionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnionInfo) XXX_Size() int { - return xxx_messageInfo_UnionInfo.Size(m) + +func (x *UnionInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UnionInfo.DiscardUnknown(m) + +func (*UnionInfo) ProtoMessage() {} + +func (x *UnionInfo) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UnionInfo proto.InternalMessageInfo +// Deprecated: Use UnionInfo.ProtoReflect.Descriptor instead. +func (*UnionInfo) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{15} +} -func (m *UnionInfo) GetTargetType() *LiteralType { - if m != nil { - return m.TargetType +func (x *UnionInfo) GetTargetType() *LiteralType { + if x != nil { + return x.TargetType } return nil } // Specifies either a simple value or a reference to another output. type BindingData struct { - // Types that are valid to be assigned to Value: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // // *BindingData_Scalar // *BindingData_Collection // *BindingData_Promise // *BindingData_Map - Value isBindingData_Value `protobuf_oneof:"value"` - Union *UnionInfo `protobuf:"bytes,5,opt,name=union,proto3" json:"union,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BindingData) Reset() { *m = BindingData{} } -func (m *BindingData) String() string { return proto.CompactTextString(m) } -func (*BindingData) ProtoMessage() {} -func (*BindingData) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{16} + Value isBindingData_Value `protobuf_oneof:"value"` + Union *UnionInfo `protobuf:"bytes,5,opt,name=union,proto3" json:"union,omitempty"` } -func (m *BindingData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BindingData.Unmarshal(m, b) -} -func (m *BindingData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BindingData.Marshal(b, m, deterministic) -} -func (m *BindingData) XXX_Merge(src proto.Message) { - xxx_messageInfo_BindingData.Merge(m, src) -} -func (m *BindingData) XXX_Size() int { - return xxx_messageInfo_BindingData.Size(m) -} -func (m *BindingData) XXX_DiscardUnknown() { - xxx_messageInfo_BindingData.DiscardUnknown(m) -} - -var xxx_messageInfo_BindingData proto.InternalMessageInfo - -type isBindingData_Value interface { - isBindingData_Value() +func (x *BindingData) Reset() { + *x = BindingData{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type BindingData_Scalar struct { - Scalar *Scalar `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"` +func (x *BindingData) String() string { + return protoimpl.X.MessageStringOf(x) } -type BindingData_Collection struct { - Collection *BindingDataCollection `protobuf:"bytes,2,opt,name=collection,proto3,oneof"` -} +func (*BindingData) ProtoMessage() {} -type BindingData_Promise struct { - Promise *OutputReference `protobuf:"bytes,3,opt,name=promise,proto3,oneof"` +func (x *BindingData) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type BindingData_Map struct { - Map *BindingDataMap `protobuf:"bytes,4,opt,name=map,proto3,oneof"` +// Deprecated: Use BindingData.ProtoReflect.Descriptor instead. +func (*BindingData) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{16} } -func (*BindingData_Scalar) isBindingData_Value() {} - -func (*BindingData_Collection) isBindingData_Value() {} - -func (*BindingData_Promise) isBindingData_Value() {} - -func (*BindingData_Map) isBindingData_Value() {} - func (m *BindingData) GetValue() isBindingData_Value { if m != nil { return m.Value @@ -1102,290 +1180,825 @@ func (m *BindingData) GetValue() isBindingData_Value { return nil } -func (m *BindingData) GetScalar() *Scalar { - if x, ok := m.GetValue().(*BindingData_Scalar); ok { +func (x *BindingData) GetScalar() *Scalar { + if x, ok := x.GetValue().(*BindingData_Scalar); ok { return x.Scalar } return nil } -func (m *BindingData) GetCollection() *BindingDataCollection { - if x, ok := m.GetValue().(*BindingData_Collection); ok { +func (x *BindingData) GetCollection() *BindingDataCollection { + if x, ok := x.GetValue().(*BindingData_Collection); ok { return x.Collection } return nil } -func (m *BindingData) GetPromise() *OutputReference { - if x, ok := m.GetValue().(*BindingData_Promise); ok { +func (x *BindingData) GetPromise() *OutputReference { + if x, ok := x.GetValue().(*BindingData_Promise); ok { return x.Promise } return nil } -func (m *BindingData) GetMap() *BindingDataMap { - if x, ok := m.GetValue().(*BindingData_Map); ok { +func (x *BindingData) GetMap() *BindingDataMap { + if x, ok := x.GetValue().(*BindingData_Map); ok { return x.Map } return nil } -func (m *BindingData) GetUnion() *UnionInfo { - if m != nil { - return m.Union +func (x *BindingData) GetUnion() *UnionInfo { + if x != nil { + return x.Union } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BindingData) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BindingData_Scalar)(nil), - (*BindingData_Collection)(nil), - (*BindingData_Promise)(nil), - (*BindingData_Map)(nil), - } +type isBindingData_Value interface { + isBindingData_Value() } +type BindingData_Scalar struct { + // A simple scalar value. + Scalar *Scalar `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"` +} + +type BindingData_Collection struct { + // A collection of binding data. This allows nesting of binding data to any number + // of levels. + Collection *BindingDataCollection `protobuf:"bytes,2,opt,name=collection,proto3,oneof"` +} + +type BindingData_Promise struct { + // References an output promised by another node. + Promise *OutputReference `protobuf:"bytes,3,opt,name=promise,proto3,oneof"` +} + +type BindingData_Map struct { + // A map of bindings. The key is always a string. + Map *BindingDataMap `protobuf:"bytes,4,opt,name=map,proto3,oneof"` +} + +func (*BindingData_Scalar) isBindingData_Value() {} + +func (*BindingData_Collection) isBindingData_Value() {} + +func (*BindingData_Promise) isBindingData_Value() {} + +func (*BindingData_Map) isBindingData_Value() {} + // An input/output binding of a variable to either static value or a node output. type Binding struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Variable name must match an input/output variable of the node. Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"` // Data to use to bind this variable. - Binding *BindingData `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Binding *BindingData `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"` } -func (m *Binding) Reset() { *m = Binding{} } -func (m *Binding) String() string { return proto.CompactTextString(m) } -func (*Binding) ProtoMessage() {} -func (*Binding) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{17} +func (x *Binding) Reset() { + *x = Binding{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Binding) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Binding.Unmarshal(m, b) -} -func (m *Binding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Binding.Marshal(b, m, deterministic) +func (x *Binding) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Binding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Binding.Merge(m, src) -} -func (m *Binding) XXX_Size() int { - return xxx_messageInfo_Binding.Size(m) -} -func (m *Binding) XXX_DiscardUnknown() { - xxx_messageInfo_Binding.DiscardUnknown(m) + +func (*Binding) ProtoMessage() {} + +func (x *Binding) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Binding proto.InternalMessageInfo +// Deprecated: Use Binding.ProtoReflect.Descriptor instead. +func (*Binding) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{17} +} -func (m *Binding) GetVar() string { - if m != nil { - return m.Var +func (x *Binding) GetVar() string { + if x != nil { + return x.Var } return "" } -func (m *Binding) GetBinding() *BindingData { - if m != nil { - return m.Binding +func (x *Binding) GetBinding() *BindingData { + if x != nil { + return x.Binding } return nil } // A generic key value pair. type KeyValuePair struct { - //required. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // required. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - //+optional. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // +optional. + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -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_a1a523b10667cdfb, []int{18} +func (x *KeyValuePair) Reset() { + *x = KeyValuePair{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *KeyValuePair) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyValuePair.Unmarshal(m, b) -} -func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyValuePair.Marshal(b, m, deterministic) +func (x *KeyValuePair) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KeyValuePair) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyValuePair.Merge(m, src) -} -func (m *KeyValuePair) XXX_Size() int { - return xxx_messageInfo_KeyValuePair.Size(m) -} -func (m *KeyValuePair) XXX_DiscardUnknown() { - xxx_messageInfo_KeyValuePair.DiscardUnknown(m) + +func (*KeyValuePair) ProtoMessage() {} + +func (x *KeyValuePair) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_KeyValuePair proto.InternalMessageInfo +// Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead. +func (*KeyValuePair) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{18} +} -func (m *KeyValuePair) GetKey() string { - if m != nil { - return m.Key +func (x *KeyValuePair) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *KeyValuePair) GetValue() string { - if m != nil { - return m.Value +func (x *KeyValuePair) GetValue() string { + if x != nil { + return x.Value } return "" } // Retry strategy associated with an executable unit. type RetryStrategy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Number of retries. Retries will be consumed when the job fails with a recoverable error. // The number of retries must be less than or equals to 10. - Retries uint32 `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Retries uint32 `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,omitempty"` } -func (m *RetryStrategy) Reset() { *m = RetryStrategy{} } -func (m *RetryStrategy) String() string { return proto.CompactTextString(m) } -func (*RetryStrategy) ProtoMessage() {} -func (*RetryStrategy) Descriptor() ([]byte, []int) { - return fileDescriptor_a1a523b10667cdfb, []int{19} +func (x *RetryStrategy) Reset() { + *x = RetryStrategy{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_literals_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RetryStrategy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetryStrategy.Unmarshal(m, b) +func (x *RetryStrategy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RetryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetryStrategy.Marshal(b, m, deterministic) -} -func (m *RetryStrategy) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryStrategy.Merge(m, src) -} -func (m *RetryStrategy) XXX_Size() int { - return xxx_messageInfo_RetryStrategy.Size(m) -} -func (m *RetryStrategy) XXX_DiscardUnknown() { - xxx_messageInfo_RetryStrategy.DiscardUnknown(m) + +func (*RetryStrategy) ProtoMessage() {} + +func (x *RetryStrategy) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_literals_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RetryStrategy proto.InternalMessageInfo +// Deprecated: Use RetryStrategy.ProtoReflect.Descriptor instead. +func (*RetryStrategy) Descriptor() ([]byte, []int) { + return file_flyteidl_core_literals_proto_rawDescGZIP(), []int{19} +} -func (m *RetryStrategy) GetRetries() uint32 { - if m != nil { - return m.Retries +func (x *RetryStrategy) GetRetries() uint32 { + if x != nil { + return x.Retries } return 0 } -func init() { - proto.RegisterType((*Primitive)(nil), "flyteidl.core.Primitive") - proto.RegisterType((*Void)(nil), "flyteidl.core.Void") - proto.RegisterType((*Blob)(nil), "flyteidl.core.Blob") - proto.RegisterType((*BlobMetadata)(nil), "flyteidl.core.BlobMetadata") - proto.RegisterType((*Binary)(nil), "flyteidl.core.Binary") - proto.RegisterType((*Schema)(nil), "flyteidl.core.Schema") - proto.RegisterType((*Union)(nil), "flyteidl.core.Union") - proto.RegisterType((*StructuredDatasetMetadata)(nil), "flyteidl.core.StructuredDatasetMetadata") - proto.RegisterType((*StructuredDataset)(nil), "flyteidl.core.StructuredDataset") - proto.RegisterType((*Scalar)(nil), "flyteidl.core.Scalar") - proto.RegisterType((*Literal)(nil), "flyteidl.core.Literal") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.core.Literal.MetadataEntry") - proto.RegisterType((*LiteralCollection)(nil), "flyteidl.core.LiteralCollection") - proto.RegisterType((*LiteralMap)(nil), "flyteidl.core.LiteralMap") - proto.RegisterMapType((map[string]*Literal)(nil), "flyteidl.core.LiteralMap.LiteralsEntry") - proto.RegisterType((*BindingDataCollection)(nil), "flyteidl.core.BindingDataCollection") - proto.RegisterType((*BindingDataMap)(nil), "flyteidl.core.BindingDataMap") - proto.RegisterMapType((map[string]*BindingData)(nil), "flyteidl.core.BindingDataMap.BindingsEntry") - proto.RegisterType((*UnionInfo)(nil), "flyteidl.core.UnionInfo") - proto.RegisterType((*BindingData)(nil), "flyteidl.core.BindingData") - proto.RegisterType((*Binding)(nil), "flyteidl.core.Binding") - proto.RegisterType((*KeyValuePair)(nil), "flyteidl.core.KeyValuePair") - proto.RegisterType((*RetryStrategy)(nil), "flyteidl.core.RetryStrategy") -} - -func init() { proto.RegisterFile("flyteidl/core/literals.proto", fileDescriptor_a1a523b10667cdfb) } - -var fileDescriptor_a1a523b10667cdfb = []byte{ - // 1095 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0x1b, 0x45, - 0x14, 0xf6, 0xfa, 0xdf, 0xc7, 0x31, 0x22, 0x43, 0x43, 0x37, 0xa6, 0x14, 0xb3, 0x54, 0xc2, 0x55, - 0x9b, 0x75, 0x49, 0x51, 0x89, 0x52, 0x2e, 0x90, 0x9b, 0x12, 0x57, 0x50, 0xb5, 0xd9, 0x94, 0x22, - 0x21, 0xa4, 0x68, 0x6c, 0x8f, 0x37, 0xab, 0xac, 0x77, 0xac, 0xd9, 0x71, 0x24, 0x3f, 0x01, 0x6f, - 0xc2, 0x25, 0x17, 0xbc, 0x05, 0x6f, 0xc3, 0x23, 0xa0, 0xf9, 0x5b, 0xaf, 0x77, 0xd7, 0x49, 0xb9, - 0x9b, 0x9d, 0xf3, 0x9d, 0xff, 0xf3, 0x9d, 0x59, 0xb8, 0x37, 0x0b, 0x57, 0x9c, 0x04, 0xd3, 0x70, - 0x30, 0xa1, 0x8c, 0x0c, 0xc2, 0x80, 0x13, 0x86, 0xc3, 0xd8, 0x5d, 0x30, 0xca, 0x29, 0xea, 0x18, - 0xa9, 0x2b, 0xa4, 0xdd, 0x2f, 0x7c, 0x4a, 0xfd, 0x90, 0x0c, 0xa4, 0x70, 0xbc, 0x9c, 0x0d, 0x78, - 0x30, 0x27, 0x31, 0xc7, 0xf3, 0x85, 0xc2, 0x77, 0xef, 0x67, 0x01, 0xd3, 0x25, 0xc3, 0x3c, 0xa0, - 0x91, 0x96, 0xdf, 0xcb, 0xca, 0x63, 0xce, 0x96, 0x13, 0xae, 0xa5, 0xfb, 0x9b, 0xb1, 0xf0, 0xd5, - 0x82, 0xe8, 0x40, 0x9c, 0x3f, 0xca, 0xd0, 0x7a, 0xcb, 0x82, 0x79, 0xc0, 0x83, 0x6b, 0x82, 0xba, - 0xd0, 0x08, 0x22, 0x4e, 0x7c, 0xc2, 0x6c, 0xab, 0x67, 0xf5, 0x2b, 0xa3, 0x92, 0x67, 0x2e, 0xd0, - 0x97, 0xd0, 0x9e, 0x85, 0x14, 0xf3, 0x8b, 0x6b, 0x1c, 0x2e, 0x89, 0x5d, 0xee, 0x59, 0x7d, 0x6b, - 0x54, 0xf2, 0x40, 0x5e, 0xbe, 0x17, 0x77, 0xe8, 0x2b, 0xd8, 0x89, 0x39, 0x0b, 0x22, 0x5f, 0x63, - 0x2a, 0x3d, 0xab, 0xdf, 0x1a, 0x95, 0xbc, 0xb6, 0xba, 0x55, 0xa0, 0x2e, 0x34, 0xc6, 0x94, 0x86, - 0x04, 0x47, 0x76, 0xb5, 0x67, 0xf5, 0x9b, 0xc2, 0x87, 0xbe, 0x40, 0x47, 0xd0, 0x9c, 0x62, 0x4e, - 0x44, 0xf6, 0x76, 0xad, 0x67, 0xf5, 0xdb, 0x87, 0x5d, 0x57, 0x65, 0xe6, 0x9a, 0xcc, 0xdc, 0x77, - 0xa6, 0x34, 0xa3, 0x92, 0x97, 0xa0, 0xd1, 0x77, 0xd0, 0x34, 0x25, 0xb1, 0xeb, 0x52, 0x73, 0x3f, - 0xa7, 0x79, 0xa2, 0x01, 0x52, 0x51, 0x9f, 0x87, 0x0d, 0xa8, 0xc9, 0x60, 0x9d, 0x3a, 0x54, 0xdf, - 0xd3, 0x60, 0xea, 0x9c, 0x41, 0x75, 0x18, 0xd2, 0xb1, 0xb0, 0x38, 0x27, 0x1c, 0x4f, 0x31, 0xc7, - 0xb2, 0x18, 0xed, 0xc3, 0xcf, 0xdc, 0x8d, 0xae, 0xb9, 0x02, 0xf6, 0x5a, 0x43, 0xbc, 0x04, 0x8c, - 0x3e, 0x86, 0xca, 0x92, 0x05, 0x2a, 0x79, 0x4f, 0x1c, 0x9d, 0xe7, 0xb0, 0x93, 0xc6, 0xa2, 0x47, - 0x50, 0x15, 0x3d, 0xd0, 0x66, 0xef, 0x16, 0x98, 0x7d, 0xb7, 0x5a, 0x10, 0x4f, 0x82, 0x9c, 0x27, - 0x50, 0x1f, 0x06, 0x11, 0x66, 0x2b, 0x74, 0x47, 0x87, 0x2a, 0xf5, 0x76, 0x3c, 0xf5, 0x21, 0xdc, - 0x71, 0xec, 0xcb, 0x7e, 0xb4, 0x3c, 0x71, 0x74, 0x5e, 0x41, 0xfd, 0x7c, 0x72, 0x49, 0xe6, 0x49, - 0x28, 0x56, 0x12, 0x0a, 0x3a, 0xd0, 0xae, 0x2b, 0xba, 0x46, 0x9b, 0xae, 0x95, 0x5a, 0xca, 0x39, - 0x81, 0xda, 0x2f, 0x51, 0x40, 0x23, 0xf4, 0x38, 0xed, 0xbb, 0x7d, 0xf8, 0x69, 0x46, 0xf1, 0x67, - 0x35, 0xde, 0x26, 0x26, 0x57, 0x7b, 0x29, 0xeb, 0x1e, 0x16, 0x82, 0x53, 0x6e, 0x56, 0xb0, 0x7f, - 0x2e, 0x07, 0x76, 0xc9, 0xc8, 0xf4, 0x04, 0x73, 0x1c, 0x13, 0x9e, 0x54, 0xeb, 0x77, 0xb8, 0x1b, - 0x27, 0xc2, 0x8b, 0xa9, 0x92, 0x5e, 0xa4, 0x0a, 0xf8, 0x20, 0x9b, 0x45, 0xd6, 0x94, 0xf4, 0xb4, - 0x17, 0x17, 0x5d, 0x3b, 0x57, 0xb0, 0x9b, 0xc3, 0x17, 0xd4, 0xed, 0x24, 0x35, 0x0d, 0x2a, 0xab, - 0xfe, 0x6d, 0x5e, 0xf3, 0xa3, 0xe1, 0xfc, 0x5b, 0x11, 0xad, 0xc1, 0x21, 0x66, 0xe8, 0x08, 0x5a, - 0x0b, 0xc3, 0x3b, 0x9d, 0x87, 0x9d, 0xb1, 0x98, 0xf0, 0x72, 0x54, 0xf2, 0xd6, 0x60, 0xf4, 0x10, - 0xaa, 0xe3, 0x90, 0x8e, 0x75, 0x18, 0x9f, 0x14, 0x4c, 0xcf, 0xa8, 0xe4, 0x49, 0x08, 0x1a, 0x40, - 0x7d, 0x2c, 0x67, 0x47, 0xf7, 0x7b, 0x2f, 0x0b, 0x96, 0xc2, 0x51, 0xc9, 0xd3, 0x30, 0xa1, 0x10, - 0xcb, 0x19, 0x90, 0xdc, 0xcc, 0x2b, 0xa8, 0x01, 0x11, 0x0a, 0x0a, 0x86, 0x0e, 0xa1, 0x15, 0xd1, - 0x88, 0xa8, 0x76, 0xd4, 0x0a, 0x23, 0x12, 0xac, 0x12, 0x94, 0x13, 0x38, 0x51, 0x72, 0x31, 0x4b, - 0x84, 0x31, 0xca, 0x34, 0x51, 0xef, 0x64, 0xf0, 0x2f, 0x85, 0x6c, 0x54, 0xf2, 0x14, 0x08, 0x3d, - 0x85, 0x86, 0x4f, 0x22, 0xc2, 0x82, 0x89, 0xdd, 0xd0, 0x7c, 0xc9, 0x12, 0x5b, 0x95, 0x5e, 0x2c, - 0x12, 0x8d, 0x44, 0x67, 0x80, 0xf2, 0x33, 0x63, 0x37, 0xa5, 0x7e, 0xef, 0xb6, 0xc6, 0x8d, 0x4a, - 0xde, 0x6e, 0x6e, 0x58, 0x44, 0xd4, 0x4b, 0x41, 0x05, 0xbb, 0x55, 0x18, 0xb5, 0xa4, 0x89, 0x88, - 0x5a, 0x82, 0xd6, 0x6b, 0xe5, 0x9f, 0x32, 0x34, 0xf4, 0xc0, 0xab, 0xea, 0x8a, 0xee, 0xeb, 0x86, - 0xe7, 0xab, 0x2b, 0x84, 0xaa, 0xba, 0x72, 0x48, 0x86, 0x00, 0x13, 0x1a, 0x86, 0x64, 0x22, 0xf7, - 0x5a, 0xb9, 0x30, 0x7c, 0x6d, 0xfc, 0x45, 0x82, 0x13, 0x4b, 0x79, 0xad, 0x85, 0x0e, 0xa0, 0x32, - 0xc7, 0x8b, 0x2d, 0x84, 0xd7, 0xca, 0xaf, 0xb1, 0xd8, 0xa6, 0x02, 0x87, 0x10, 0x54, 0x2f, 0x71, - 0x7c, 0x29, 0xfb, 0xdf, 0xf2, 0xe4, 0x19, 0xfd, 0x90, 0x1a, 0xfe, 0x5a, 0xaf, 0x52, 0x40, 0x39, - 0x6d, 0xc7, 0x35, 0x33, 0xff, 0x32, 0xe2, 0x6c, 0xb5, 0x1e, 0xfc, 0xee, 0x73, 0xe8, 0x6c, 0x88, - 0x04, 0xc3, 0xae, 0xc8, 0xca, 0x30, 0xec, 0x8a, 0xa4, 0xb6, 0x9b, 0xda, 0x64, 0xea, 0xe3, 0xb8, - 0x7c, 0x64, 0xad, 0x6b, 0x79, 0x0a, 0xbb, 0xb9, 0x6c, 0xd1, 0x21, 0x34, 0xcd, 0xe3, 0x6a, 0x5b, - 0x32, 0xb8, 0x6d, 0xcb, 0x29, 0xc1, 0x39, 0x7f, 0x5a, 0x00, 0xeb, 0xd4, 0xd1, 0x8b, 0x9c, 0x89, - 0xaf, 0xb7, 0xd6, 0xc9, 0x1c, 0x63, 0x9d, 0xa2, 0x51, 0xec, 0x9e, 0x43, 0x67, 0x43, 0x54, 0x90, - 0xe2, 0xe3, 0x74, 0x8a, 0xb7, 0x2d, 0x51, 0x91, 0xba, 0xf3, 0x06, 0xf6, 0x86, 0x41, 0x34, 0x0d, - 0x22, 0x5f, 0x8c, 0x61, 0x2a, 0xeb, 0x67, 0xd0, 0x1c, 0x2b, 0x81, 0x09, 0xb9, 0x9b, 0xe7, 0xb6, - 0xd1, 0xf3, 0x12, 0xac, 0xf3, 0xb7, 0x05, 0x1f, 0xa5, 0x24, 0x22, 0xfb, 0xd3, 0x9c, 0xa9, 0x47, - 0xdb, 0x4d, 0x89, 0x0a, 0xe8, 0x4f, 0x53, 0x01, 0xa3, 0xdc, 0xfd, 0x15, 0x3a, 0x1b, 0xa2, 0x82, - 0x0a, 0x3c, 0xd9, 0xac, 0xc0, 0x4d, 0x31, 0xa7, 0xaa, 0x70, 0x0a, 0x2d, 0x49, 0xaf, 0x57, 0xd1, - 0x8c, 0xa2, 0x63, 0x00, 0x8e, 0x99, 0xaf, 0xd6, 0xb7, 0x26, 0xd2, 0x4d, 0x2f, 0x4c, 0x0a, 0xed, - 0xfc, 0x55, 0x86, 0x76, 0xca, 0xc7, 0xff, 0x27, 0xe4, 0x8f, 0x05, 0x84, 0x7c, 0xb0, 0x3d, 0x89, - 0xad, 0xa4, 0x3c, 0x86, 0xc6, 0x82, 0xd1, 0x79, 0x10, 0x9b, 0x97, 0xf8, 0x7e, 0xc6, 0xc8, 0x9b, - 0x25, 0x5f, 0x2c, 0xb9, 0x47, 0x66, 0x84, 0x91, 0x68, 0x22, 0x5e, 0x00, 0xa3, 0x80, 0xbe, 0x51, - 0x84, 0x56, 0x0b, 0xfa, 0xf3, 0x1b, 0x5b, 0x65, 0x48, 0xed, 0x9a, 0xdd, 0x55, 0x2b, 0x7c, 0x68, - 0x92, 0xe2, 0xe6, 0xb6, 0xd7, 0x19, 0x34, 0xb4, 0x45, 0xd1, 0xcc, 0x6b, 0x5d, 0xa8, 0x96, 0x27, - 0x8e, 0xe8, 0x5b, 0x68, 0xe8, 0xde, 0x7f, 0x40, 0x3b, 0x0d, 0xd4, 0x79, 0x06, 0x3b, 0x3f, 0x91, - 0x95, 0xfc, 0x17, 0x7c, 0x8b, 0x03, 0xf6, 0xa1, 0x9b, 0xc0, 0x79, 0x08, 0x1d, 0x8f, 0x70, 0xb6, - 0x3a, 0xe7, 0x0c, 0x73, 0xe2, 0xaf, 0x90, 0x0d, 0x0d, 0x46, 0x38, 0x0b, 0x48, 0x2c, 0xd3, 0xea, - 0x78, 0xe6, 0x73, 0xf8, 0xfd, 0x6f, 0xc7, 0x7e, 0xc0, 0x2f, 0x97, 0x63, 0x77, 0x42, 0xe7, 0x03, - 0x19, 0x13, 0x65, 0xbe, 0x3a, 0x0c, 0x92, 0x7f, 0x61, 0x9f, 0x44, 0x83, 0xc5, 0xf8, 0xc0, 0xa7, - 0x83, 0x8d, 0xdf, 0xe3, 0x71, 0x5d, 0xbe, 0x2b, 0x4f, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x3f, - 0xe5, 0x71, 0xce, 0xc2, 0x0b, 0x00, 0x00, +var File_flyteidl_core_literals_proto protoreflect.FileDescriptor + +var file_flyteidl_core_literals_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x02, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x6d, + 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, + 0x72, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x07, 0x62, 0x6f, 0x6f, + 0x6c, 0x65, 0x61, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, + 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x12, 0x38, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x08, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, + 0x37, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x06, 0x0a, 0x04, 0x56, 0x6f, 0x69, 0x64, 0x22, 0x51, 0x0a, 0x04, 0x42, 0x6c, 0x6f, + 0x62, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x3b, 0x0a, 0x0c, + 0x42, 0x6c, 0x6f, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x30, 0x0a, 0x06, 0x42, 0x69, 0x6e, + 0x61, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x49, 0x0a, 0x06, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x65, 0x0a, 0x05, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, + 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, + 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x79, 0x0a, + 0x19, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, + 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5c, 0x0a, 0x17, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x15, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x6b, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, + 0x44, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xf0, 0x03, 0x0a, 0x06, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, + 0x12, 0x38, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52, + 0x09, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x62, 0x6c, + 0x6f, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x48, 0x00, 0x52, + 0x04, 0x62, 0x6c, 0x6f, 0x62, 0x12, 0x2f, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x48, 0x00, 0x52, 0x06, + 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x48, 0x00, 0x52, + 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x32, 0x0a, 0x09, 0x6e, 0x6f, 0x6e, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x6f, 0x69, 0x64, 0x48, + 0x00, 0x52, 0x08, 0x6e, 0x6f, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x33, 0x0a, 0x07, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x12, 0x51, + 0x0a, 0x12, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x48, 0x00, 0x52, 0x11, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, + 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, + 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc9, 0x02, 0x0a, 0x07, 0x4c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x48, 0x00, 0x52, 0x06, 0x73, + 0x63, 0x61, 0x6c, 0x61, 0x72, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x63, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x03, 0x6d, 0x61, 0x70, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x61, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x40, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, + 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, + 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x47, 0x0a, 0x11, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x6c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x52, 0x08, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x22, 0xa6, 0x01, + 0x0a, 0x0a, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x43, 0x0a, 0x08, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, + 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x73, 0x1a, 0x53, 0x0a, 0x0d, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x15, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x36, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x62, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xb2, 0x01, 0x0a, 0x0e, 0x42, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x12, 0x47, 0x0a, 0x08, 0x62, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x2e, 0x42, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x73, 0x1a, 0x57, 0x0a, 0x0d, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x09, + 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0a, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xae, 0x02, 0x0a, 0x0b, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x48, 0x00, 0x52, 0x06, + 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, + 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6d, 0x69, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, + 0x00, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6d, 0x69, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x03, 0x6d, 0x61, + 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, + 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x61, 0x70, 0x12, 0x2e, 0x0a, + 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x55, 0x6e, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x51, 0x0a, 0x07, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x76, 0x61, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x07, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x36, 0x0a, 0x0c, 0x4b, 0x65, 0x79, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x29, 0x0a, 0x0d, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x67, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x42, 0xb3, 0x01, 0x0a, + 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x42, 0x0d, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, + 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, + 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, + 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_literals_proto_rawDescOnce sync.Once + file_flyteidl_core_literals_proto_rawDescData = file_flyteidl_core_literals_proto_rawDesc +) + +func file_flyteidl_core_literals_proto_rawDescGZIP() []byte { + file_flyteidl_core_literals_proto_rawDescOnce.Do(func() { + file_flyteidl_core_literals_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_literals_proto_rawDescData) + }) + return file_flyteidl_core_literals_proto_rawDescData +} + +var file_flyteidl_core_literals_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_flyteidl_core_literals_proto_goTypes = []interface{}{ + (*Primitive)(nil), // 0: flyteidl.core.Primitive + (*Void)(nil), // 1: flyteidl.core.Void + (*Blob)(nil), // 2: flyteidl.core.Blob + (*BlobMetadata)(nil), // 3: flyteidl.core.BlobMetadata + (*Binary)(nil), // 4: flyteidl.core.Binary + (*Schema)(nil), // 5: flyteidl.core.Schema + (*Union)(nil), // 6: flyteidl.core.Union + (*StructuredDatasetMetadata)(nil), // 7: flyteidl.core.StructuredDatasetMetadata + (*StructuredDataset)(nil), // 8: flyteidl.core.StructuredDataset + (*Scalar)(nil), // 9: flyteidl.core.Scalar + (*Literal)(nil), // 10: flyteidl.core.Literal + (*LiteralCollection)(nil), // 11: flyteidl.core.LiteralCollection + (*LiteralMap)(nil), // 12: flyteidl.core.LiteralMap + (*BindingDataCollection)(nil), // 13: flyteidl.core.BindingDataCollection + (*BindingDataMap)(nil), // 14: flyteidl.core.BindingDataMap + (*UnionInfo)(nil), // 15: flyteidl.core.UnionInfo + (*BindingData)(nil), // 16: flyteidl.core.BindingData + (*Binding)(nil), // 17: flyteidl.core.Binding + (*KeyValuePair)(nil), // 18: flyteidl.core.KeyValuePair + (*RetryStrategy)(nil), // 19: flyteidl.core.RetryStrategy + nil, // 20: flyteidl.core.Literal.MetadataEntry + nil, // 21: flyteidl.core.LiteralMap.LiteralsEntry + nil, // 22: flyteidl.core.BindingDataMap.BindingsEntry + (*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 24: google.protobuf.Duration + (*BlobType)(nil), // 25: flyteidl.core.BlobType + (*SchemaType)(nil), // 26: flyteidl.core.SchemaType + (*LiteralType)(nil), // 27: flyteidl.core.LiteralType + (*StructuredDatasetType)(nil), // 28: flyteidl.core.StructuredDatasetType + (*Error)(nil), // 29: flyteidl.core.Error + (*structpb.Struct)(nil), // 30: google.protobuf.Struct + (*OutputReference)(nil), // 31: flyteidl.core.OutputReference +} +var file_flyteidl_core_literals_proto_depIdxs = []int32{ + 23, // 0: flyteidl.core.Primitive.datetime:type_name -> google.protobuf.Timestamp + 24, // 1: flyteidl.core.Primitive.duration:type_name -> google.protobuf.Duration + 3, // 2: flyteidl.core.Blob.metadata:type_name -> flyteidl.core.BlobMetadata + 25, // 3: flyteidl.core.BlobMetadata.type:type_name -> flyteidl.core.BlobType + 26, // 4: flyteidl.core.Schema.type:type_name -> flyteidl.core.SchemaType + 10, // 5: flyteidl.core.Union.value:type_name -> flyteidl.core.Literal + 27, // 6: flyteidl.core.Union.type:type_name -> flyteidl.core.LiteralType + 28, // 7: flyteidl.core.StructuredDatasetMetadata.structured_dataset_type:type_name -> flyteidl.core.StructuredDatasetType + 7, // 8: flyteidl.core.StructuredDataset.metadata:type_name -> flyteidl.core.StructuredDatasetMetadata + 0, // 9: flyteidl.core.Scalar.primitive:type_name -> flyteidl.core.Primitive + 2, // 10: flyteidl.core.Scalar.blob:type_name -> flyteidl.core.Blob + 4, // 11: flyteidl.core.Scalar.binary:type_name -> flyteidl.core.Binary + 5, // 12: flyteidl.core.Scalar.schema:type_name -> flyteidl.core.Schema + 1, // 13: flyteidl.core.Scalar.none_type:type_name -> flyteidl.core.Void + 29, // 14: flyteidl.core.Scalar.error:type_name -> flyteidl.core.Error + 30, // 15: flyteidl.core.Scalar.generic:type_name -> google.protobuf.Struct + 8, // 16: flyteidl.core.Scalar.structured_dataset:type_name -> flyteidl.core.StructuredDataset + 6, // 17: flyteidl.core.Scalar.union:type_name -> flyteidl.core.Union + 9, // 18: flyteidl.core.Literal.scalar:type_name -> flyteidl.core.Scalar + 11, // 19: flyteidl.core.Literal.collection:type_name -> flyteidl.core.LiteralCollection + 12, // 20: flyteidl.core.Literal.map:type_name -> flyteidl.core.LiteralMap + 20, // 21: flyteidl.core.Literal.metadata:type_name -> flyteidl.core.Literal.MetadataEntry + 10, // 22: flyteidl.core.LiteralCollection.literals:type_name -> flyteidl.core.Literal + 21, // 23: flyteidl.core.LiteralMap.literals:type_name -> flyteidl.core.LiteralMap.LiteralsEntry + 16, // 24: flyteidl.core.BindingDataCollection.bindings:type_name -> flyteidl.core.BindingData + 22, // 25: flyteidl.core.BindingDataMap.bindings:type_name -> flyteidl.core.BindingDataMap.BindingsEntry + 27, // 26: flyteidl.core.UnionInfo.targetType:type_name -> flyteidl.core.LiteralType + 9, // 27: flyteidl.core.BindingData.scalar:type_name -> flyteidl.core.Scalar + 13, // 28: flyteidl.core.BindingData.collection:type_name -> flyteidl.core.BindingDataCollection + 31, // 29: flyteidl.core.BindingData.promise:type_name -> flyteidl.core.OutputReference + 14, // 30: flyteidl.core.BindingData.map:type_name -> flyteidl.core.BindingDataMap + 15, // 31: flyteidl.core.BindingData.union:type_name -> flyteidl.core.UnionInfo + 16, // 32: flyteidl.core.Binding.binding:type_name -> flyteidl.core.BindingData + 10, // 33: flyteidl.core.LiteralMap.LiteralsEntry.value:type_name -> flyteidl.core.Literal + 16, // 34: flyteidl.core.BindingDataMap.BindingsEntry.value:type_name -> flyteidl.core.BindingData + 35, // [35:35] is the sub-list for method output_type + 35, // [35:35] is the sub-list for method input_type + 35, // [35:35] is the sub-list for extension type_name + 35, // [35:35] is the sub-list for extension extendee + 0, // [0:35] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_literals_proto_init() } +func file_flyteidl_core_literals_proto_init() { + if File_flyteidl_core_literals_proto != nil { + return + } + file_flyteidl_core_types_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_literals_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Primitive); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Void); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Blob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlobMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Binary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Schema); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Union); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StructuredDatasetMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StructuredDataset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Scalar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Literal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LiteralCollection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LiteralMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BindingDataCollection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BindingDataMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BindingData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Binding); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyValuePair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_literals_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetryStrategy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_literals_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Primitive_Integer)(nil), + (*Primitive_FloatValue)(nil), + (*Primitive_StringValue)(nil), + (*Primitive_Boolean)(nil), + (*Primitive_Datetime)(nil), + (*Primitive_Duration)(nil), + } + file_flyteidl_core_literals_proto_msgTypes[9].OneofWrappers = []interface{}{ + (*Scalar_Primitive)(nil), + (*Scalar_Blob)(nil), + (*Scalar_Binary)(nil), + (*Scalar_Schema)(nil), + (*Scalar_NoneType)(nil), + (*Scalar_Error)(nil), + (*Scalar_Generic)(nil), + (*Scalar_StructuredDataset)(nil), + (*Scalar_Union)(nil), + } + file_flyteidl_core_literals_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*Literal_Scalar)(nil), + (*Literal_Collection)(nil), + (*Literal_Map)(nil), + } + file_flyteidl_core_literals_proto_msgTypes[16].OneofWrappers = []interface{}{ + (*BindingData_Scalar)(nil), + (*BindingData_Collection)(nil), + (*BindingData_Promise)(nil), + (*BindingData_Map)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_literals_proto_rawDesc, + NumEnums: 0, + NumMessages: 23, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_literals_proto_goTypes, + DependencyIndexes: file_flyteidl_core_literals_proto_depIdxs, + MessageInfos: file_flyteidl_core_literals_proto_msgTypes, + }.Build() + File_flyteidl_core_literals_proto = out.File + file_flyteidl_core_literals_proto_rawDesc = nil + file_flyteidl_core_literals_proto_goTypes = nil + file_flyteidl_core_literals_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/literals.swagger.json deleted file mode 100644 index 9e24ec5e5f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/literals.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go b/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go index e9688ace88..54721deeb3 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go @@ -1,115 +1,96 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/metrics.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation // which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more // precise definitions. type Span struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // start_time defines the instance this span began. - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // end_time defines the instance this span completed. - EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Types that are valid to be assigned to Id: + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // Types that are assignable to Id: + // // *Span_WorkflowId // *Span_NodeId // *Span_TaskId // *Span_OperationId Id isSpan_Id `protobuf_oneof:"id"` // spans defines a collection of Spans that breakdown this execution. - Spans []*Span `protobuf:"bytes,7,rep,name=spans,proto3" json:"spans,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Spans []*Span `protobuf:"bytes,7,rep,name=spans,proto3" json:"spans,omitempty"` } -func (m *Span) Reset() { *m = Span{} } -func (m *Span) String() string { return proto.CompactTextString(m) } -func (*Span) ProtoMessage() {} -func (*Span) Descriptor() ([]byte, []int) { - return fileDescriptor_756935f796ae3119, []int{0} -} - -func (m *Span) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span.Unmarshal(m, b) -} -func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span.Marshal(b, m, deterministic) -} -func (m *Span) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span.Merge(m, src) -} -func (m *Span) XXX_Size() int { - return xxx_messageInfo_Span.Size(m) -} -func (m *Span) XXX_DiscardUnknown() { - xxx_messageInfo_Span.DiscardUnknown(m) -} - -var xxx_messageInfo_Span proto.InternalMessageInfo - -func (m *Span) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime +func (x *Span) Reset() { + *x = Span{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_metrics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Span) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil +func (x *Span) String() string { + return protoimpl.X.MessageStringOf(x) } -type isSpan_Id interface { - isSpan_Id() -} +func (*Span) ProtoMessage() {} -type Span_WorkflowId struct { - WorkflowId *WorkflowExecutionIdentifier `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3,oneof"` +func (x *Span) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_metrics_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type Span_NodeId struct { - NodeId *NodeExecutionIdentifier `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3,oneof"` +// Deprecated: Use Span.ProtoReflect.Descriptor instead. +func (*Span) Descriptor() ([]byte, []int) { + return file_flyteidl_core_metrics_proto_rawDescGZIP(), []int{0} } -type Span_TaskId struct { - TaskId *TaskExecutionIdentifier `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3,oneof"` +func (x *Span) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime + } + return nil } -type Span_OperationId struct { - OperationId string `protobuf:"bytes,6,opt,name=operation_id,json=operationId,proto3,oneof"` +func (x *Span) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime + } + return nil } -func (*Span_WorkflowId) isSpan_Id() {} - -func (*Span_NodeId) isSpan_Id() {} - -func (*Span_TaskId) isSpan_Id() {} - -func (*Span_OperationId) isSpan_Id() {} - func (m *Span) GetId() isSpan_Id { if m != nil { return m.Id @@ -117,53 +98,79 @@ func (m *Span) GetId() isSpan_Id { return nil } -func (m *Span) GetWorkflowId() *WorkflowExecutionIdentifier { - if x, ok := m.GetId().(*Span_WorkflowId); ok { +func (x *Span) GetWorkflowId() *WorkflowExecutionIdentifier { + if x, ok := x.GetId().(*Span_WorkflowId); ok { return x.WorkflowId } return nil } -func (m *Span) GetNodeId() *NodeExecutionIdentifier { - if x, ok := m.GetId().(*Span_NodeId); ok { +func (x *Span) GetNodeId() *NodeExecutionIdentifier { + if x, ok := x.GetId().(*Span_NodeId); ok { return x.NodeId } return nil } -func (m *Span) GetTaskId() *TaskExecutionIdentifier { - if x, ok := m.GetId().(*Span_TaskId); ok { +func (x *Span) GetTaskId() *TaskExecutionIdentifier { + if x, ok := x.GetId().(*Span_TaskId); ok { return x.TaskId } return nil } -func (m *Span) GetOperationId() string { - if x, ok := m.GetId().(*Span_OperationId); ok { +func (x *Span) GetOperationId() string { + if x, ok := x.GetId().(*Span_OperationId); ok { return x.OperationId } return "" } -func (m *Span) GetSpans() []*Span { - if m != nil { - return m.Spans +func (x *Span) GetSpans() []*Span { + if x != nil { + return x.Spans } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Span) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Span_WorkflowId)(nil), - (*Span_NodeId)(nil), - (*Span_TaskId)(nil), - (*Span_OperationId)(nil), - } +type isSpan_Id interface { + isSpan_Id() +} + +type Span_WorkflowId struct { + // workflow_id is the id of the workflow execution this Span represents. + WorkflowId *WorkflowExecutionIdentifier `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3,oneof"` +} + +type Span_NodeId struct { + // node_id is the id of the node execution this Span represents. + NodeId *NodeExecutionIdentifier `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3,oneof"` +} + +type Span_TaskId struct { + // task_id is the id of the task execution this Span represents. + TaskId *TaskExecutionIdentifier `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3,oneof"` +} + +type Span_OperationId struct { + // operation_id is the id of a unique operation that this Span represents. + OperationId string `protobuf:"bytes,6,opt,name=operation_id,json=operationId,proto3,oneof"` } +func (*Span_WorkflowId) isSpan_Id() {} + +func (*Span_NodeId) isSpan_Id() {} + +func (*Span_TaskId) isSpan_Id() {} + +func (*Span_OperationId) isSpan_Id() {} + // ExecutionMetrics is a collection of metrics that are collected during the execution of a Flyte task. type ExecutionMetricResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG. Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` // The result data in prometheus range query result format @@ -171,83 +178,204 @@ type ExecutionMetricResult struct { // This may include multiple time series, differentiated by their metric labels. // Start time is greater of (execution attempt start, 48h ago) // End time is lesser of (execution attempt end, now) - Data *_struct.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } -func (m *ExecutionMetricResult) Reset() { *m = ExecutionMetricResult{} } -func (m *ExecutionMetricResult) String() string { return proto.CompactTextString(m) } -func (*ExecutionMetricResult) ProtoMessage() {} -func (*ExecutionMetricResult) Descriptor() ([]byte, []int) { - return fileDescriptor_756935f796ae3119, []int{1} +func (x *ExecutionMetricResult) Reset() { + *x = ExecutionMetricResult{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_metrics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExecutionMetricResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionMetricResult.Unmarshal(m, b) -} -func (m *ExecutionMetricResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionMetricResult.Marshal(b, m, deterministic) +func (x *ExecutionMetricResult) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionMetricResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionMetricResult.Merge(m, src) -} -func (m *ExecutionMetricResult) XXX_Size() int { - return xxx_messageInfo_ExecutionMetricResult.Size(m) -} -func (m *ExecutionMetricResult) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionMetricResult.DiscardUnknown(m) + +func (*ExecutionMetricResult) ProtoMessage() {} + +func (x *ExecutionMetricResult) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_metrics_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionMetricResult proto.InternalMessageInfo +// Deprecated: Use ExecutionMetricResult.ProtoReflect.Descriptor instead. +func (*ExecutionMetricResult) Descriptor() ([]byte, []int) { + return file_flyteidl_core_metrics_proto_rawDescGZIP(), []int{1} +} -func (m *ExecutionMetricResult) GetMetric() string { - if m != nil { - return m.Metric +func (x *ExecutionMetricResult) GetMetric() string { + if x != nil { + return x.Metric } return "" } -func (m *ExecutionMetricResult) GetData() *_struct.Struct { - if m != nil { - return m.Data +func (x *ExecutionMetricResult) GetData() *structpb.Struct { + if x != nil { + return x.Data } return nil } -func init() { - proto.RegisterType((*Span)(nil), "flyteidl.core.Span") - proto.RegisterType((*ExecutionMetricResult)(nil), "flyteidl.core.ExecutionMetricResult") -} - -func init() { proto.RegisterFile("flyteidl/core/metrics.proto", fileDescriptor_756935f796ae3119) } - -var fileDescriptor_756935f796ae3119 = []byte{ - // 393 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x51, 0xcb, 0xd3, 0x30, - 0x14, 0x86, 0xbf, 0x7d, 0xeb, 0x3a, 0x97, 0xea, 0x4d, 0x44, 0x1d, 0x53, 0x74, 0x4c, 0x90, 0xa9, - 0x98, 0xc0, 0xc4, 0x0b, 0xc5, 0x1b, 0x07, 0xc2, 0x7a, 0x31, 0x2f, 0xba, 0x81, 0x20, 0xc2, 0x48, - 0x9b, 0xb4, 0x86, 0xb5, 0x49, 0x49, 0x52, 0xa6, 0xbf, 0xc7, 0x3f, 0x2a, 0x49, 0xda, 0xc2, 0xe6, - 0xc4, 0xbb, 0x9e, 0x9e, 0xf7, 0x79, 0xd2, 0xe6, 0x1c, 0xf0, 0x38, 0x2f, 0x7f, 0x19, 0xc6, 0x69, - 0x89, 0x33, 0xa9, 0x18, 0xae, 0x98, 0x51, 0x3c, 0xd3, 0xa8, 0x56, 0xd2, 0x48, 0x78, 0xaf, 0x6b, - 0x22, 0xdb, 0x9c, 0x3d, 0x3d, 0xcf, 0x72, 0xca, 0x84, 0xe1, 0x39, 0x67, 0xca, 0xc7, 0x67, 0xcf, - 0x0a, 0x29, 0x8b, 0x92, 0x61, 0x57, 0xa5, 0x4d, 0x8e, 0x0d, 0xaf, 0x98, 0x36, 0xa4, 0xaa, 0xdb, - 0xc0, 0x93, 0xcb, 0x80, 0x36, 0xaa, 0xc9, 0x8c, 0xef, 0x2e, 0x7e, 0x0f, 0x41, 0xb0, 0xab, 0x89, - 0x80, 0xef, 0x01, 0xd0, 0x86, 0x28, 0x73, 0xb0, 0xfc, 0x74, 0x30, 0x1f, 0x2c, 0xa3, 0xd5, 0x0c, - 0x79, 0x16, 0x75, 0x2c, 0xda, 0x77, 0xf2, 0x64, 0xe2, 0xd2, 0xb6, 0x86, 0xef, 0xc0, 0x1d, 0x26, - 0xa8, 0x07, 0x6f, 0xff, 0x0b, 0x8e, 0x99, 0xa0, 0x0e, 0xdb, 0x82, 0xe8, 0x24, 0xd5, 0x31, 0x2f, - 0xe5, 0xe9, 0xc0, 0xe9, 0x74, 0xe8, 0xc8, 0x57, 0xe8, 0xec, 0xf7, 0xd1, 0xd7, 0x36, 0xf1, 0xf9, - 0x27, 0xcb, 0x1a, 0xc3, 0xa5, 0x88, 0xfb, 0x0b, 0xd8, 0xdc, 0x24, 0xa0, 0x13, 0xc4, 0x14, 0x7e, - 0x02, 0x63, 0x21, 0x29, 0xb3, 0xaa, 0xc0, 0xa9, 0x5e, 0x5c, 0xa8, 0xbe, 0x48, 0xca, 0xae, 0x6b, - 0x42, 0x0b, 0x7a, 0x85, 0x21, 0xfa, 0x68, 0x15, 0xa3, 0xab, 0x8a, 0x3d, 0xd1, 0xc7, 0x7f, 0x28, - 0x2c, 0x18, 0x53, 0xf8, 0x1c, 0xdc, 0x95, 0x35, 0x53, 0xc4, 0x06, 0xac, 0x27, 0x9c, 0x0f, 0x96, - 0x93, 0xcd, 0x4d, 0x12, 0xf5, 0x6f, 0x63, 0x0a, 0x5f, 0x82, 0x91, 0xae, 0x89, 0xd0, 0xd3, 0xf1, - 0x7c, 0xb8, 0x8c, 0x56, 0xf7, 0x2f, 0x4e, 0xb1, 0xf3, 0x48, 0x7c, 0x62, 0x1d, 0x80, 0x5b, 0x4e, - 0x17, 0xdf, 0xc1, 0x83, 0xfe, 0xd8, 0xad, 0xdb, 0x96, 0x84, 0xe9, 0xa6, 0x34, 0xf0, 0x21, 0x08, - 0xfd, 0xf6, 0xb8, 0x89, 0x4d, 0x92, 0xb6, 0x82, 0xaf, 0x41, 0x40, 0x89, 0x21, 0xed, 0x38, 0x1e, - 0xfd, 0x35, 0x8e, 0x9d, 0xdb, 0x81, 0xc4, 0x85, 0xd6, 0x1f, 0xbf, 0x7d, 0x28, 0xb8, 0xf9, 0xd1, - 0xa4, 0x28, 0x93, 0x15, 0x76, 0xdf, 0x22, 0x55, 0xe1, 0x1f, 0x70, 0xbf, 0x7e, 0x05, 0x13, 0xb8, - 0x4e, 0xdf, 0x14, 0x12, 0x9f, 0x6d, 0x64, 0x1a, 0x3a, 0xe9, 0xdb, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xd7, 0xa7, 0xf1, 0xb0, 0xd5, 0x02, 0x00, 0x00, +var File_flyteidl_core_metrics_proto protoreflect.FileDescriptor + +var file_flyteidl_core_metrics_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x03, 0x0a, 0x04, + 0x53, 0x70, 0x61, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, + 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x48, 0x00, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x29, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x53, 0x70, 0x61, 0x6e, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x42, 0x04, 0x0a, 0x02, 0x69, + 0x64, 0x22, 0x5c, 0x0a, 0x15, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, + 0xb2, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, + 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, + 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_metrics_proto_rawDescOnce sync.Once + file_flyteidl_core_metrics_proto_rawDescData = file_flyteidl_core_metrics_proto_rawDesc +) + +func file_flyteidl_core_metrics_proto_rawDescGZIP() []byte { + file_flyteidl_core_metrics_proto_rawDescOnce.Do(func() { + file_flyteidl_core_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_metrics_proto_rawDescData) + }) + return file_flyteidl_core_metrics_proto_rawDescData +} + +var file_flyteidl_core_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flyteidl_core_metrics_proto_goTypes = []interface{}{ + (*Span)(nil), // 0: flyteidl.core.Span + (*ExecutionMetricResult)(nil), // 1: flyteidl.core.ExecutionMetricResult + (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*WorkflowExecutionIdentifier)(nil), // 3: flyteidl.core.WorkflowExecutionIdentifier + (*NodeExecutionIdentifier)(nil), // 4: flyteidl.core.NodeExecutionIdentifier + (*TaskExecutionIdentifier)(nil), // 5: flyteidl.core.TaskExecutionIdentifier + (*structpb.Struct)(nil), // 6: google.protobuf.Struct +} +var file_flyteidl_core_metrics_proto_depIdxs = []int32{ + 2, // 0: flyteidl.core.Span.start_time:type_name -> google.protobuf.Timestamp + 2, // 1: flyteidl.core.Span.end_time:type_name -> google.protobuf.Timestamp + 3, // 2: flyteidl.core.Span.workflow_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 4, // 3: flyteidl.core.Span.node_id:type_name -> flyteidl.core.NodeExecutionIdentifier + 5, // 4: flyteidl.core.Span.task_id:type_name -> flyteidl.core.TaskExecutionIdentifier + 0, // 5: flyteidl.core.Span.spans:type_name -> flyteidl.core.Span + 6, // 6: flyteidl.core.ExecutionMetricResult.data:type_name -> google.protobuf.Struct + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_metrics_proto_init() } +func file_flyteidl_core_metrics_proto_init() { + if File_flyteidl_core_metrics_proto != nil { + return + } + file_flyteidl_core_identifier_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Span); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecutionMetricResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_metrics_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Span_WorkflowId)(nil), + (*Span_NodeId)(nil), + (*Span_TaskId)(nil), + (*Span_OperationId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_metrics_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_metrics_proto_goTypes, + DependencyIndexes: file_flyteidl_core_metrics_proto_depIdxs, + MessageInfos: file_flyteidl_core_metrics_proto_msgTypes, + }.Build() + File_flyteidl_core_metrics_proto = out.File + file_flyteidl_core_metrics_proto_rawDesc = nil + file_flyteidl_core_metrics_proto_goTypes = nil + file_flyteidl_core_metrics_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/metrics.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/metrics.swagger.json deleted file mode 100644 index f6b3727f91..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/metrics.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/metrics.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/security.pb.go b/flyteidl/gen/pb-go/flyteidl/core/security.pb.go index 32cc824530..e3ee1e1b1b 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/security.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/security.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/security.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Secret_MountType int32 @@ -31,24 +31,45 @@ const ( Secret_FILE Secret_MountType = 2 ) -var Secret_MountType_name = map[int32]string{ - 0: "ANY", - 1: "ENV_VAR", - 2: "FILE", -} +// Enum value maps for Secret_MountType. +var ( + Secret_MountType_name = map[int32]string{ + 0: "ANY", + 1: "ENV_VAR", + 2: "FILE", + } + Secret_MountType_value = map[string]int32{ + "ANY": 0, + "ENV_VAR": 1, + "FILE": 2, + } +) -var Secret_MountType_value = map[string]int32{ - "ANY": 0, - "ENV_VAR": 1, - "FILE": 2, +func (x Secret_MountType) Enum() *Secret_MountType { + p := new(Secret_MountType) + *p = x + return p } func (x Secret_MountType) String() string { - return proto.EnumName(Secret_MountType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Secret_MountType) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_security_proto_enumTypes[0].Descriptor() +} + +func (Secret_MountType) Type() protoreflect.EnumType { + return &file_flyteidl_core_security_proto_enumTypes[0] } +func (x Secret_MountType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Secret_MountType.Descriptor instead. func (Secret_MountType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0996009b6d39c02f, []int{0, 0} + return file_flyteidl_core_security_proto_rawDescGZIP(), []int{0, 0} } // Type of the token requested. @@ -59,20 +80,41 @@ const ( OAuth2TokenRequest_CLIENT_CREDENTIALS OAuth2TokenRequest_Type = 0 ) -var OAuth2TokenRequest_Type_name = map[int32]string{ - 0: "CLIENT_CREDENTIALS", -} +// Enum value maps for OAuth2TokenRequest_Type. +var ( + OAuth2TokenRequest_Type_name = map[int32]string{ + 0: "CLIENT_CREDENTIALS", + } + OAuth2TokenRequest_Type_value = map[string]int32{ + "CLIENT_CREDENTIALS": 0, + } +) -var OAuth2TokenRequest_Type_value = map[string]int32{ - "CLIENT_CREDENTIALS": 0, +func (x OAuth2TokenRequest_Type) Enum() *OAuth2TokenRequest_Type { + p := new(OAuth2TokenRequest_Type) + *p = x + return p } func (x OAuth2TokenRequest_Type) String() string { - return proto.EnumName(OAuth2TokenRequest_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OAuth2TokenRequest_Type) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_security_proto_enumTypes[1].Descriptor() +} + +func (OAuth2TokenRequest_Type) Type() protoreflect.EnumType { + return &file_flyteidl_core_security_proto_enumTypes[1] } +func (x OAuth2TokenRequest_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use OAuth2TokenRequest_Type.Descriptor instead. func (OAuth2TokenRequest_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0996009b6d39c02f, []int{3, 0} + return file_flyteidl_core_security_proto_rawDescGZIP(), []int{3, 0} } // Secret encapsulates information about the secret a task needs to proceed. An environment variable @@ -81,6 +123,10 @@ func (OAuth2TokenRequest_Type) EnumDescriptor() ([]byte, []int) { // FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets // are passed through file mounts. type Secret struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of // the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name. // For AWS Secret Manager, this should be the name of the secret. @@ -99,114 +145,126 @@ type Secret struct { // if the underlying key management system cannot satisfy that requirement. If not provided, the default location // will depend on the key management system. // +optional - MountRequirement Secret_MountType `protobuf:"varint,4,opt,name=mount_requirement,json=mountRequirement,proto3,enum=flyteidl.core.Secret_MountType" json:"mount_requirement,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MountRequirement Secret_MountType `protobuf:"varint,4,opt,name=mount_requirement,json=mountRequirement,proto3,enum=flyteidl.core.Secret_MountType" json:"mount_requirement,omitempty"` } -func (m *Secret) Reset() { *m = Secret{} } -func (m *Secret) String() string { return proto.CompactTextString(m) } -func (*Secret) ProtoMessage() {} -func (*Secret) Descriptor() ([]byte, []int) { - return fileDescriptor_0996009b6d39c02f, []int{0} +func (x *Secret) Reset() { + *x = Secret{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_security_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Secret) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Secret.Unmarshal(m, b) +func (x *Secret) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Secret.Marshal(b, m, deterministic) -} -func (m *Secret) XXX_Merge(src proto.Message) { - xxx_messageInfo_Secret.Merge(m, src) -} -func (m *Secret) XXX_Size() int { - return xxx_messageInfo_Secret.Size(m) -} -func (m *Secret) XXX_DiscardUnknown() { - xxx_messageInfo_Secret.DiscardUnknown(m) + +func (*Secret) ProtoMessage() {} + +func (x *Secret) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_security_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Secret proto.InternalMessageInfo +// Deprecated: Use Secret.ProtoReflect.Descriptor instead. +func (*Secret) Descriptor() ([]byte, []int) { + return file_flyteidl_core_security_proto_rawDescGZIP(), []int{0} +} -func (m *Secret) GetGroup() string { - if m != nil { - return m.Group +func (x *Secret) GetGroup() string { + if x != nil { + return x.Group } return "" } -func (m *Secret) GetGroupVersion() string { - if m != nil { - return m.GroupVersion +func (x *Secret) GetGroupVersion() string { + if x != nil { + return x.GroupVersion } return "" } -func (m *Secret) GetKey() string { - if m != nil { - return m.Key +func (x *Secret) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *Secret) GetMountRequirement() Secret_MountType { - if m != nil { - return m.MountRequirement +func (x *Secret) GetMountRequirement() Secret_MountType { + if x != nil { + return x.MountRequirement } return Secret_ANY } // OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. type OAuth2Client struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // client_id is the public id for the client to use. The system will not perform any pre-auth validation that the // secret requested matches the client_id indicated here. // +required ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // client_secret is a reference to the secret used to authenticate the OAuth2 client. // +required - ClientSecret *Secret `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ClientSecret *Secret `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` } -func (m *OAuth2Client) Reset() { *m = OAuth2Client{} } -func (m *OAuth2Client) String() string { return proto.CompactTextString(m) } -func (*OAuth2Client) ProtoMessage() {} -func (*OAuth2Client) Descriptor() ([]byte, []int) { - return fileDescriptor_0996009b6d39c02f, []int{1} +func (x *OAuth2Client) Reset() { + *x = OAuth2Client{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_security_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OAuth2Client) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuth2Client.Unmarshal(m, b) -} -func (m *OAuth2Client) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuth2Client.Marshal(b, m, deterministic) -} -func (m *OAuth2Client) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuth2Client.Merge(m, src) +func (x *OAuth2Client) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OAuth2Client) XXX_Size() int { - return xxx_messageInfo_OAuth2Client.Size(m) -} -func (m *OAuth2Client) XXX_DiscardUnknown() { - xxx_messageInfo_OAuth2Client.DiscardUnknown(m) + +func (*OAuth2Client) ProtoMessage() {} + +func (x *OAuth2Client) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_security_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OAuth2Client proto.InternalMessageInfo +// Deprecated: Use OAuth2Client.ProtoReflect.Descriptor instead. +func (*OAuth2Client) Descriptor() ([]byte, []int) { + return file_flyteidl_core_security_proto_rawDescGZIP(), []int{1} +} -func (m *OAuth2Client) GetClientId() string { - if m != nil { - return m.ClientId +func (x *OAuth2Client) GetClientId() string { + if x != nil { + return x.ClientId } return "" } -func (m *OAuth2Client) GetClientSecret() *Secret { - if m != nil { - return m.ClientSecret +func (x *OAuth2Client) GetClientSecret() *Secret { + if x != nil { + return x.ClientSecret } return nil } @@ -214,6 +272,10 @@ func (m *OAuth2Client) GetClientSecret() *Secret { // Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the // right identity for the execution environment. type Identity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // iam_role references the fully qualified name of Identity & Access Management role to impersonate. IamRole string `protobuf:"bytes,1,opt,name=iam_role,json=iamRole,proto3" json:"iam_role,omitempty"` // k8s_service_account references a kubernetes service account to impersonate. @@ -222,61 +284,65 @@ type Identity struct { // making external calls. Oauth2Client *OAuth2Client `protobuf:"bytes,3,opt,name=oauth2_client,json=oauth2Client,proto3" json:"oauth2_client,omitempty"` // execution_identity references the subject who makes the execution - ExecutionIdentity string `protobuf:"bytes,4,opt,name=execution_identity,json=executionIdentity,proto3" json:"execution_identity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionIdentity string `protobuf:"bytes,4,opt,name=execution_identity,json=executionIdentity,proto3" json:"execution_identity,omitempty"` } -func (m *Identity) Reset() { *m = Identity{} } -func (m *Identity) String() string { return proto.CompactTextString(m) } -func (*Identity) ProtoMessage() {} -func (*Identity) Descriptor() ([]byte, []int) { - return fileDescriptor_0996009b6d39c02f, []int{2} +func (x *Identity) Reset() { + *x = Identity{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_security_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Identity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Identity.Unmarshal(m, b) -} -func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Identity.Marshal(b, m, deterministic) -} -func (m *Identity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identity.Merge(m, src) +func (x *Identity) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Identity) XXX_Size() int { - return xxx_messageInfo_Identity.Size(m) -} -func (m *Identity) XXX_DiscardUnknown() { - xxx_messageInfo_Identity.DiscardUnknown(m) + +func (*Identity) ProtoMessage() {} + +func (x *Identity) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_security_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Identity proto.InternalMessageInfo +// Deprecated: Use Identity.ProtoReflect.Descriptor instead. +func (*Identity) Descriptor() ([]byte, []int) { + return file_flyteidl_core_security_proto_rawDescGZIP(), []int{2} +} -func (m *Identity) GetIamRole() string { - if m != nil { - return m.IamRole +func (x *Identity) GetIamRole() string { + if x != nil { + return x.IamRole } return "" } -func (m *Identity) GetK8SServiceAccount() string { - if m != nil { - return m.K8SServiceAccount +func (x *Identity) GetK8SServiceAccount() string { + if x != nil { + return x.K8SServiceAccount } return "" } -func (m *Identity) GetOauth2Client() *OAuth2Client { - if m != nil { - return m.Oauth2Client +func (x *Identity) GetOauth2Client() *OAuth2Client { + if x != nil { + return x.Oauth2Client } return nil } -func (m *Identity) GetExecutionIdentity() string { - if m != nil { - return m.ExecutionIdentity +func (x *Identity) GetExecutionIdentity() string { + if x != nil { + return x.ExecutionIdentity } return "" } @@ -287,6 +353,10 @@ func (m *Identity) GetExecutionIdentity() string { // FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens // are passed through file mounts. type OAuth2TokenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for // environment variables and as a filename for mounting tokens as files. // +required @@ -304,74 +374,82 @@ type OAuth2TokenRequest struct { // token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is // mandatory. // +optional - TokenEndpoint string `protobuf:"bytes,5,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TokenEndpoint string `protobuf:"bytes,5,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"` } -func (m *OAuth2TokenRequest) Reset() { *m = OAuth2TokenRequest{} } -func (m *OAuth2TokenRequest) String() string { return proto.CompactTextString(m) } -func (*OAuth2TokenRequest) ProtoMessage() {} -func (*OAuth2TokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0996009b6d39c02f, []int{3} +func (x *OAuth2TokenRequest) Reset() { + *x = OAuth2TokenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_security_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OAuth2TokenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuth2TokenRequest.Unmarshal(m, b) -} -func (m *OAuth2TokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuth2TokenRequest.Marshal(b, m, deterministic) -} -func (m *OAuth2TokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuth2TokenRequest.Merge(m, src) -} -func (m *OAuth2TokenRequest) XXX_Size() int { - return xxx_messageInfo_OAuth2TokenRequest.Size(m) +func (x *OAuth2TokenRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OAuth2TokenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OAuth2TokenRequest.DiscardUnknown(m) + +func (*OAuth2TokenRequest) ProtoMessage() {} + +func (x *OAuth2TokenRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_security_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OAuth2TokenRequest proto.InternalMessageInfo +// Deprecated: Use OAuth2TokenRequest.ProtoReflect.Descriptor instead. +func (*OAuth2TokenRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_core_security_proto_rawDescGZIP(), []int{3} +} -func (m *OAuth2TokenRequest) GetName() string { - if m != nil { - return m.Name +func (x *OAuth2TokenRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *OAuth2TokenRequest) GetType() OAuth2TokenRequest_Type { - if m != nil { - return m.Type +func (x *OAuth2TokenRequest) GetType() OAuth2TokenRequest_Type { + if x != nil { + return x.Type } return OAuth2TokenRequest_CLIENT_CREDENTIALS } -func (m *OAuth2TokenRequest) GetClient() *OAuth2Client { - if m != nil { - return m.Client +func (x *OAuth2TokenRequest) GetClient() *OAuth2Client { + if x != nil { + return x.Client } return nil } -func (m *OAuth2TokenRequest) GetIdpDiscoveryEndpoint() string { - if m != nil { - return m.IdpDiscoveryEndpoint +func (x *OAuth2TokenRequest) GetIdpDiscoveryEndpoint() string { + if x != nil { + return x.IdpDiscoveryEndpoint } return "" } -func (m *OAuth2TokenRequest) GetTokenEndpoint() string { - if m != nil { - return m.TokenEndpoint +func (x *OAuth2TokenRequest) GetTokenEndpoint() string { + if x != nil { + return x.TokenEndpoint } return "" } // SecurityContext holds security attributes that apply to tasks. type SecurityContext struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the // backend plugin to choose the appropriate identity for the execution engine the task will run on. RunAs *Identity `protobuf:"bytes,1,opt,name=run_as,json=runAs,proto3" json:"run_as,omitempty"` @@ -384,108 +462,266 @@ type SecurityContext struct { // pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS // Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access // to the secret) and to pass it to the remote execution engine. - Tokens []*OAuth2TokenRequest `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Tokens []*OAuth2TokenRequest `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"` } -func (m *SecurityContext) Reset() { *m = SecurityContext{} } -func (m *SecurityContext) String() string { return proto.CompactTextString(m) } -func (*SecurityContext) ProtoMessage() {} -func (*SecurityContext) Descriptor() ([]byte, []int) { - return fileDescriptor_0996009b6d39c02f, []int{4} +func (x *SecurityContext) Reset() { + *x = SecurityContext{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_security_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SecurityContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityContext.Unmarshal(m, b) -} -func (m *SecurityContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityContext.Marshal(b, m, deterministic) -} -func (m *SecurityContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityContext.Merge(m, src) +func (x *SecurityContext) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SecurityContext) XXX_Size() int { - return xxx_messageInfo_SecurityContext.Size(m) -} -func (m *SecurityContext) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityContext.DiscardUnknown(m) + +func (*SecurityContext) ProtoMessage() {} + +func (x *SecurityContext) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_security_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SecurityContext proto.InternalMessageInfo +// Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead. +func (*SecurityContext) Descriptor() ([]byte, []int) { + return file_flyteidl_core_security_proto_rawDescGZIP(), []int{4} +} -func (m *SecurityContext) GetRunAs() *Identity { - if m != nil { - return m.RunAs +func (x *SecurityContext) GetRunAs() *Identity { + if x != nil { + return x.RunAs } return nil } -func (m *SecurityContext) GetSecrets() []*Secret { - if m != nil { - return m.Secrets +func (x *SecurityContext) GetSecrets() []*Secret { + if x != nil { + return x.Secrets } return nil } -func (m *SecurityContext) GetTokens() []*OAuth2TokenRequest { - if m != nil { - return m.Tokens +func (x *SecurityContext) GetTokens() []*OAuth2TokenRequest { + if x != nil { + return x.Tokens } return nil } -func init() { - proto.RegisterEnum("flyteidl.core.Secret_MountType", Secret_MountType_name, Secret_MountType_value) - proto.RegisterEnum("flyteidl.core.OAuth2TokenRequest_Type", OAuth2TokenRequest_Type_name, OAuth2TokenRequest_Type_value) - proto.RegisterType((*Secret)(nil), "flyteidl.core.Secret") - proto.RegisterType((*OAuth2Client)(nil), "flyteidl.core.OAuth2Client") - proto.RegisterType((*Identity)(nil), "flyteidl.core.Identity") - proto.RegisterType((*OAuth2TokenRequest)(nil), "flyteidl.core.OAuth2TokenRequest") - proto.RegisterType((*SecurityContext)(nil), "flyteidl.core.SecurityContext") -} - -func init() { proto.RegisterFile("flyteidl/core/security.proto", fileDescriptor_0996009b6d39c02f) } - -var fileDescriptor_0996009b6d39c02f = []byte{ - // 601 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xd3, 0x4c, - 0x10, 0xad, 0x93, 0x34, 0x3f, 0x93, 0xa4, 0x5f, 0xba, 0x5f, 0x29, 0x41, 0x45, 0x50, 0x8c, 0x40, - 0x95, 0x50, 0x6d, 0x29, 0xe5, 0xa2, 0x54, 0x5c, 0x10, 0xd2, 0x20, 0x45, 0x0a, 0x41, 0x72, 0xa2, - 0x4a, 0x70, 0xb3, 0x4a, 0xed, 0x21, 0x5d, 0x25, 0xde, 0x35, 0xeb, 0x75, 0x55, 0xbf, 0x08, 0x6f, - 0xc1, 0x6b, 0x70, 0xcd, 0x23, 0x21, 0xef, 0xda, 0xe9, 0x8f, 0x8a, 0xe0, 0x6e, 0x3c, 0xe7, 0xcc, - 0xee, 0x39, 0x27, 0x93, 0x85, 0xc7, 0x5f, 0x57, 0xa9, 0x42, 0x16, 0xac, 0x5c, 0x5f, 0x48, 0x74, - 0x63, 0xf4, 0x13, 0xc9, 0x54, 0xea, 0x44, 0x52, 0x28, 0x41, 0xda, 0x05, 0xea, 0x64, 0xa8, 0xfd, - 0xcb, 0x82, 0xea, 0x14, 0x7d, 0x89, 0x8a, 0xec, 0xc0, 0xe6, 0x42, 0x8a, 0x24, 0xea, 0x5a, 0xfb, - 0xd6, 0x41, 0xc3, 0x33, 0x1f, 0xe4, 0x39, 0xb4, 0x75, 0x41, 0x2f, 0x51, 0xc6, 0x4c, 0xf0, 0x6e, - 0x49, 0xa3, 0x2d, 0xdd, 0x3c, 0x33, 0x3d, 0xd2, 0x81, 0xf2, 0x12, 0xd3, 0x6e, 0x59, 0x43, 0x59, - 0x49, 0xc6, 0xb0, 0x1d, 0x8a, 0x84, 0x2b, 0x2a, 0xf1, 0x5b, 0xc2, 0x24, 0x86, 0xc8, 0x55, 0xb7, - 0xb2, 0x6f, 0x1d, 0x6c, 0xf5, 0x9e, 0x3a, 0xb7, 0x24, 0x38, 0xe6, 0x7a, 0xe7, 0x63, 0x46, 0x9f, - 0xa5, 0x11, 0x7a, 0x1d, 0x3d, 0xe9, 0x5d, 0x0f, 0xda, 0xaf, 0xa0, 0xb1, 0x86, 0x49, 0x0d, 0xca, - 0xfd, 0xc9, 0xe7, 0xce, 0x06, 0x69, 0x42, 0x6d, 0x38, 0x39, 0xa3, 0x67, 0x7d, 0xaf, 0x63, 0x91, - 0x3a, 0x54, 0x3e, 0x8c, 0xc6, 0xc3, 0x4e, 0xc9, 0x5e, 0x40, 0xeb, 0x53, 0x3f, 0x51, 0x17, 0xbd, - 0xc1, 0x8a, 0x21, 0x57, 0x64, 0x0f, 0x1a, 0xbe, 0xae, 0x28, 0x0b, 0x72, 0x6f, 0x75, 0xd3, 0x18, - 0x05, 0xe4, 0x04, 0xda, 0x39, 0x18, 0x6b, 0x19, 0xda, 0x5e, 0xb3, 0xf7, 0xe0, 0x5e, 0x8d, 0x5e, - 0xcb, 0x70, 0xcd, 0x97, 0xfd, 0xd3, 0x82, 0xfa, 0x28, 0x40, 0xae, 0x98, 0x4a, 0xc9, 0x23, 0xa8, - 0xb3, 0x79, 0x48, 0xa5, 0x58, 0x61, 0x7e, 0x49, 0x8d, 0xcd, 0x43, 0x4f, 0xac, 0x90, 0x38, 0xf0, - 0xff, 0xf2, 0x38, 0xa6, 0x31, 0xca, 0x4b, 0xe6, 0x23, 0x9d, 0xfb, 0x7e, 0xe6, 0x25, 0x0f, 0x72, - 0x7b, 0x79, 0x1c, 0x4f, 0x0d, 0xd2, 0x37, 0x00, 0x79, 0x07, 0x6d, 0x31, 0xcf, 0x0c, 0x50, 0x73, - 0x9d, 0xce, 0xb5, 0xd9, 0xdb, 0xbb, 0xa3, 0xe9, 0xa6, 0x49, 0xaf, 0x65, 0x26, 0x72, 0xcb, 0x87, - 0x40, 0xf0, 0x0a, 0xfd, 0x44, 0x31, 0xc1, 0x29, 0xcb, 0x25, 0xea, 0xf8, 0x1b, 0xde, 0xf6, 0x1a, - 0x29, 0xb4, 0xdb, 0xdf, 0x4b, 0x40, 0xcc, 0x69, 0x33, 0xb1, 0x44, 0x9e, 0x25, 0x8f, 0xb1, 0x22, - 0x04, 0x2a, 0x7c, 0x1e, 0x16, 0x76, 0x74, 0x4d, 0x4e, 0xa0, 0xa2, 0xd2, 0x08, 0xb5, 0xf8, 0xad, - 0xde, 0xcb, 0x7b, 0x25, 0xdd, 0x3c, 0xc4, 0xd1, 0xbf, 0xa8, 0x9e, 0x21, 0x47, 0x50, 0xfd, 0x77, - 0x43, 0x39, 0x95, 0xbc, 0x86, 0x5d, 0x16, 0x44, 0x34, 0x60, 0xb1, 0x2f, 0x2e, 0x51, 0xa6, 0x14, - 0x79, 0x10, 0x09, 0x96, 0x6f, 0x53, 0xc3, 0xdb, 0x61, 0x41, 0x74, 0x5a, 0x80, 0xc3, 0x1c, 0x23, - 0x2f, 0x60, 0x4b, 0x65, 0x2a, 0xae, 0xd9, 0x9b, 0x9a, 0xdd, 0xd6, 0xdd, 0x82, 0x66, 0x3f, 0x81, - 0x8a, 0x5e, 0xa9, 0x5d, 0x20, 0x83, 0xf1, 0x68, 0x38, 0x99, 0xd1, 0x81, 0x37, 0x3c, 0x1d, 0x4e, - 0x66, 0xa3, 0xfe, 0x78, 0xda, 0xd9, 0xb0, 0x7f, 0x58, 0xf0, 0xdf, 0x34, 0xff, 0xff, 0x0c, 0x04, - 0x57, 0x78, 0xa5, 0x88, 0x03, 0x55, 0x99, 0x70, 0x3a, 0x8f, 0x75, 0x2e, 0xcd, 0xde, 0xc3, 0x3b, - 0x2e, 0x8a, 0x54, 0xbd, 0x4d, 0x99, 0xf0, 0x7e, 0x4c, 0x5c, 0xa8, 0x99, 0xd5, 0x8a, 0xbb, 0xa5, - 0xfd, 0xf2, 0x9f, 0x77, 0xab, 0x60, 0x91, 0x37, 0x50, 0xd5, 0x2a, 0xe3, 0x6e, 0x59, 0xf3, 0x9f, - 0xfd, 0x35, 0x64, 0x2f, 0x1f, 0x78, 0xff, 0xf6, 0xcb, 0xc9, 0x82, 0xa9, 0x8b, 0xe4, 0xdc, 0xf1, - 0x45, 0xe8, 0xea, 0x31, 0x21, 0x17, 0xa6, 0x70, 0xd7, 0xcf, 0xc2, 0x02, 0xb9, 0x1b, 0x9d, 0x1f, - 0x2e, 0x84, 0x7b, 0xeb, 0xa5, 0x38, 0xaf, 0xea, 0x17, 0xe2, 0xe8, 0x77, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x01, 0x4e, 0xd8, 0x7d, 0x41, 0x04, 0x00, 0x00, +var File_flyteidl_core_security_proto protoreflect.FileDescriptor + +var file_flyteidl_core_security_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xd0, 0x01, + 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, + 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4c, 0x0a, 0x11, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x10, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0x2b, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x56, + 0x5f, 0x56, 0x41, 0x52, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, + 0x22, 0x67, 0x0a, 0x0c, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3a, 0x0a, + 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x0c, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x08, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x61, 0x6d, 0x5f, 0x72, 0x6f, + 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x61, 0x6d, 0x52, 0x6f, 0x6c, + 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6b, 0x38, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, + 0x6b, 0x38, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x5f, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x22, 0x96, 0x02, 0x0a, 0x12, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x41, 0x75, 0x74, + 0x68, 0x32, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x34, + 0x0a, 0x16, 0x69, 0x64, 0x70, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, + 0x69, 0x64, 0x70, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x1e, 0x0a, 0x04, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x52, + 0x45, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x41, 0x4c, 0x53, 0x10, 0x00, 0x22, 0xad, 0x01, 0x0a, 0x0f, + 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, + 0x2e, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x5f, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x72, 0x75, 0x6e, 0x41, 0x73, 0x12, + 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, + 0x12, 0x39, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x42, 0xb3, 0x01, 0x0a, 0x11, + 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x42, 0x0d, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, + 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_security_proto_rawDescOnce sync.Once + file_flyteidl_core_security_proto_rawDescData = file_flyteidl_core_security_proto_rawDesc +) + +func file_flyteidl_core_security_proto_rawDescGZIP() []byte { + file_flyteidl_core_security_proto_rawDescOnce.Do(func() { + file_flyteidl_core_security_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_security_proto_rawDescData) + }) + return file_flyteidl_core_security_proto_rawDescData +} + +var file_flyteidl_core_security_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_flyteidl_core_security_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_flyteidl_core_security_proto_goTypes = []interface{}{ + (Secret_MountType)(0), // 0: flyteidl.core.Secret.MountType + (OAuth2TokenRequest_Type)(0), // 1: flyteidl.core.OAuth2TokenRequest.Type + (*Secret)(nil), // 2: flyteidl.core.Secret + (*OAuth2Client)(nil), // 3: flyteidl.core.OAuth2Client + (*Identity)(nil), // 4: flyteidl.core.Identity + (*OAuth2TokenRequest)(nil), // 5: flyteidl.core.OAuth2TokenRequest + (*SecurityContext)(nil), // 6: flyteidl.core.SecurityContext +} +var file_flyteidl_core_security_proto_depIdxs = []int32{ + 0, // 0: flyteidl.core.Secret.mount_requirement:type_name -> flyteidl.core.Secret.MountType + 2, // 1: flyteidl.core.OAuth2Client.client_secret:type_name -> flyteidl.core.Secret + 3, // 2: flyteidl.core.Identity.oauth2_client:type_name -> flyteidl.core.OAuth2Client + 1, // 3: flyteidl.core.OAuth2TokenRequest.type:type_name -> flyteidl.core.OAuth2TokenRequest.Type + 3, // 4: flyteidl.core.OAuth2TokenRequest.client:type_name -> flyteidl.core.OAuth2Client + 4, // 5: flyteidl.core.SecurityContext.run_as:type_name -> flyteidl.core.Identity + 2, // 6: flyteidl.core.SecurityContext.secrets:type_name -> flyteidl.core.Secret + 5, // 7: flyteidl.core.SecurityContext.tokens:type_name -> flyteidl.core.OAuth2TokenRequest + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_security_proto_init() } +func file_flyteidl_core_security_proto_init() { + if File_flyteidl_core_security_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_security_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Secret); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_security_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OAuth2Client); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_security_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Identity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_security_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OAuth2TokenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_security_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecurityContext); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_security_proto_rawDesc, + NumEnums: 2, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_security_proto_goTypes, + DependencyIndexes: file_flyteidl_core_security_proto_depIdxs, + EnumInfos: file_flyteidl_core_security_proto_enumTypes, + MessageInfos: file_flyteidl_core_security_proto_msgTypes, + }.Build() + File_flyteidl_core_security_proto = out.File + file_flyteidl_core_security_proto_rawDesc = nil + file_flyteidl_core_security_proto_goTypes = nil + file_flyteidl_core_security_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/security.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/security.swagger.json deleted file mode 100644 index 687a127245..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/security.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/security.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go b/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go index 1073668fea..92a40b8e01 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.go @@ -1,26 +1,26 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/tasks.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Known resource names. type Resources_ResourceName int32 @@ -35,30 +35,51 @@ const ( Resources_EPHEMERAL_STORAGE Resources_ResourceName = 5 ) -var Resources_ResourceName_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CPU", - 2: "GPU", - 3: "MEMORY", - 4: "STORAGE", - 5: "EPHEMERAL_STORAGE", -} +// Enum value maps for Resources_ResourceName. +var ( + Resources_ResourceName_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CPU", + 2: "GPU", + 3: "MEMORY", + 4: "STORAGE", + 5: "EPHEMERAL_STORAGE", + } + Resources_ResourceName_value = map[string]int32{ + "UNKNOWN": 0, + "CPU": 1, + "GPU": 2, + "MEMORY": 3, + "STORAGE": 4, + "EPHEMERAL_STORAGE": 5, + } +) -var Resources_ResourceName_value = map[string]int32{ - "UNKNOWN": 0, - "CPU": 1, - "GPU": 2, - "MEMORY": 3, - "STORAGE": 4, - "EPHEMERAL_STORAGE": 5, +func (x Resources_ResourceName) Enum() *Resources_ResourceName { + p := new(Resources_ResourceName) + *p = x + return p } func (x Resources_ResourceName) String() string { - return proto.EnumName(Resources_ResourceName_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Resources_ResourceName) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_tasks_proto_enumTypes[0].Descriptor() +} + +func (Resources_ResourceName) Type() protoreflect.EnumType { + return &file_flyteidl_core_tasks_proto_enumTypes[0] } +func (x Resources_ResourceName) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Resources_ResourceName.Descriptor instead. func (Resources_ResourceName) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{0, 0} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{0, 0} } type RuntimeMetadata_RuntimeType int32 @@ -68,22 +89,43 @@ const ( RuntimeMetadata_FLYTE_SDK RuntimeMetadata_RuntimeType = 1 ) -var RuntimeMetadata_RuntimeType_name = map[int32]string{ - 0: "OTHER", - 1: "FLYTE_SDK", -} +// Enum value maps for RuntimeMetadata_RuntimeType. +var ( + RuntimeMetadata_RuntimeType_name = map[int32]string{ + 0: "OTHER", + 1: "FLYTE_SDK", + } + RuntimeMetadata_RuntimeType_value = map[string]int32{ + "OTHER": 0, + "FLYTE_SDK": 1, + } +) -var RuntimeMetadata_RuntimeType_value = map[string]int32{ - "OTHER": 0, - "FLYTE_SDK": 1, +func (x RuntimeMetadata_RuntimeType) Enum() *RuntimeMetadata_RuntimeType { + p := new(RuntimeMetadata_RuntimeType) + *p = x + return p } func (x RuntimeMetadata_RuntimeType) String() string { - return proto.EnumName(RuntimeMetadata_RuntimeType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RuntimeMetadata_RuntimeType) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_tasks_proto_enumTypes[1].Descriptor() } +func (RuntimeMetadata_RuntimeType) Type() protoreflect.EnumType { + return &file_flyteidl_core_tasks_proto_enumTypes[1] +} + +func (x RuntimeMetadata_RuntimeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RuntimeMetadata_RuntimeType.Descriptor instead. func (RuntimeMetadata_RuntimeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{3, 0} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{3, 0} } // Architecture-type the container image supports. @@ -97,28 +139,49 @@ const ( Container_ARM_V7 Container_Architecture = 4 ) -var Container_Architecture_name = map[int32]string{ - 0: "UNKNOWN", - 1: "AMD64", - 2: "ARM64", - 3: "ARM_V6", - 4: "ARM_V7", -} +// Enum value maps for Container_Architecture. +var ( + Container_Architecture_name = map[int32]string{ + 0: "UNKNOWN", + 1: "AMD64", + 2: "ARM64", + 3: "ARM_V6", + 4: "ARM_V7", + } + Container_Architecture_value = map[string]int32{ + "UNKNOWN": 0, + "AMD64": 1, + "ARM64": 2, + "ARM_V6": 3, + "ARM_V7": 4, + } +) -var Container_Architecture_value = map[string]int32{ - "UNKNOWN": 0, - "AMD64": 1, - "ARM64": 2, - "ARM_V6": 3, - "ARM_V7": 4, +func (x Container_Architecture) Enum() *Container_Architecture { + p := new(Container_Architecture) + *p = x + return p } func (x Container_Architecture) String() string { - return proto.EnumName(Container_Architecture_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Container_Architecture) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_tasks_proto_enumTypes[2].Descriptor() } +func (Container_Architecture) Type() protoreflect.EnumType { + return &file_flyteidl_core_tasks_proto_enumTypes[2] +} + +func (x Container_Architecture) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Container_Architecture.Descriptor instead. func (Container_Architecture) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{7, 0} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{7, 0} } // Mode to use for downloading @@ -133,24 +196,45 @@ const ( IOStrategy_DO_NOT_DOWNLOAD IOStrategy_DownloadMode = 2 ) -var IOStrategy_DownloadMode_name = map[int32]string{ - 0: "DOWNLOAD_EAGER", - 1: "DOWNLOAD_STREAM", - 2: "DO_NOT_DOWNLOAD", -} +// Enum value maps for IOStrategy_DownloadMode. +var ( + IOStrategy_DownloadMode_name = map[int32]string{ + 0: "DOWNLOAD_EAGER", + 1: "DOWNLOAD_STREAM", + 2: "DO_NOT_DOWNLOAD", + } + IOStrategy_DownloadMode_value = map[string]int32{ + "DOWNLOAD_EAGER": 0, + "DOWNLOAD_STREAM": 1, + "DO_NOT_DOWNLOAD": 2, + } +) -var IOStrategy_DownloadMode_value = map[string]int32{ - "DOWNLOAD_EAGER": 0, - "DOWNLOAD_STREAM": 1, - "DO_NOT_DOWNLOAD": 2, +func (x IOStrategy_DownloadMode) Enum() *IOStrategy_DownloadMode { + p := new(IOStrategy_DownloadMode) + *p = x + return p } func (x IOStrategy_DownloadMode) String() string { - return proto.EnumName(IOStrategy_DownloadMode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (IOStrategy_DownloadMode) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_tasks_proto_enumTypes[3].Descriptor() +} + +func (IOStrategy_DownloadMode) Type() protoreflect.EnumType { + return &file_flyteidl_core_tasks_proto_enumTypes[3] +} + +func (x IOStrategy_DownloadMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use IOStrategy_DownloadMode.Descriptor instead. func (IOStrategy_DownloadMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{8, 0} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{8, 0} } // Mode to use for uploading @@ -165,24 +249,45 @@ const ( IOStrategy_DO_NOT_UPLOAD IOStrategy_UploadMode = 2 ) -var IOStrategy_UploadMode_name = map[int32]string{ - 0: "UPLOAD_ON_EXIT", - 1: "UPLOAD_EAGER", - 2: "DO_NOT_UPLOAD", -} +// Enum value maps for IOStrategy_UploadMode. +var ( + IOStrategy_UploadMode_name = map[int32]string{ + 0: "UPLOAD_ON_EXIT", + 1: "UPLOAD_EAGER", + 2: "DO_NOT_UPLOAD", + } + IOStrategy_UploadMode_value = map[string]int32{ + "UPLOAD_ON_EXIT": 0, + "UPLOAD_EAGER": 1, + "DO_NOT_UPLOAD": 2, + } +) -var IOStrategy_UploadMode_value = map[string]int32{ - "UPLOAD_ON_EXIT": 0, - "UPLOAD_EAGER": 1, - "DO_NOT_UPLOAD": 2, +func (x IOStrategy_UploadMode) Enum() *IOStrategy_UploadMode { + p := new(IOStrategy_UploadMode) + *p = x + return p } func (x IOStrategy_UploadMode) String() string { - return proto.EnumName(IOStrategy_UploadMode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (IOStrategy_UploadMode) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_tasks_proto_enumTypes[4].Descriptor() } +func (IOStrategy_UploadMode) Type() protoreflect.EnumType { + return &file_flyteidl_core_tasks_proto_enumTypes[4] +} + +func (x IOStrategy_UploadMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use IOStrategy_UploadMode.Descriptor instead. func (IOStrategy_UploadMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{8, 1} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{8, 1} } // LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers. @@ -199,24 +304,45 @@ const ( DataLoadingConfig_PROTO DataLoadingConfig_LiteralMapFormat = 2 ) -var DataLoadingConfig_LiteralMapFormat_name = map[int32]string{ - 0: "JSON", - 1: "YAML", - 2: "PROTO", -} +// Enum value maps for DataLoadingConfig_LiteralMapFormat. +var ( + DataLoadingConfig_LiteralMapFormat_name = map[int32]string{ + 0: "JSON", + 1: "YAML", + 2: "PROTO", + } + DataLoadingConfig_LiteralMapFormat_value = map[string]int32{ + "JSON": 0, + "YAML": 1, + "PROTO": 2, + } +) -var DataLoadingConfig_LiteralMapFormat_value = map[string]int32{ - "JSON": 0, - "YAML": 1, - "PROTO": 2, +func (x DataLoadingConfig_LiteralMapFormat) Enum() *DataLoadingConfig_LiteralMapFormat { + p := new(DataLoadingConfig_LiteralMapFormat) + *p = x + return p } func (x DataLoadingConfig_LiteralMapFormat) String() string { - return proto.EnumName(DataLoadingConfig_LiteralMapFormat_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DataLoadingConfig_LiteralMapFormat) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_tasks_proto_enumTypes[5].Descriptor() +} + +func (DataLoadingConfig_LiteralMapFormat) Type() protoreflect.EnumType { + return &file_flyteidl_core_tasks_proto_enumTypes[5] +} + +func (x DataLoadingConfig_LiteralMapFormat) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use DataLoadingConfig_LiteralMapFormat.Descriptor instead. func (DataLoadingConfig_LiteralMapFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{9, 0} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{9, 0} } // The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid @@ -231,196 +357,167 @@ const ( Sql_OTHER Sql_Dialect = 3 ) -var Sql_Dialect_name = map[int32]string{ - 0: "UNDEFINED", - 1: "ANSI", - 2: "HIVE", - 3: "OTHER", -} +// Enum value maps for Sql_Dialect. +var ( + Sql_Dialect_name = map[int32]string{ + 0: "UNDEFINED", + 1: "ANSI", + 2: "HIVE", + 3: "OTHER", + } + Sql_Dialect_value = map[string]int32{ + "UNDEFINED": 0, + "ANSI": 1, + "HIVE": 2, + "OTHER": 3, + } +) -var Sql_Dialect_value = map[string]int32{ - "UNDEFINED": 0, - "ANSI": 1, - "HIVE": 2, - "OTHER": 3, +func (x Sql_Dialect) Enum() *Sql_Dialect { + p := new(Sql_Dialect) + *p = x + return p } func (x Sql_Dialect) String() string { - return proto.EnumName(Sql_Dialect_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Sql_Dialect) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_tasks_proto_enumTypes[6].Descriptor() } +func (Sql_Dialect) Type() protoreflect.EnumType { + return &file_flyteidl_core_tasks_proto_enumTypes[6] +} + +func (x Sql_Dialect) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Sql_Dialect.Descriptor instead. func (Sql_Dialect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{12, 0} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{12, 0} } // A customizable interface to convey resources requested for a container. This can be interpreted differently for different // container engines. type Resources struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The desired set of resources requested. ResourceNames must be unique within the list. Requests []*Resources_ResourceEntry `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique // within the list. - Limits []*Resources_ResourceEntry `protobuf:"bytes,2,rep,name=limits,proto3" json:"limits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limits []*Resources_ResourceEntry `protobuf:"bytes,2,rep,name=limits,proto3" json:"limits,omitempty"` } -func (m *Resources) Reset() { *m = Resources{} } -func (m *Resources) String() string { return proto.CompactTextString(m) } -func (*Resources) ProtoMessage() {} -func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{0} -} - -func (m *Resources) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Resources.Unmarshal(m, b) -} -func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Resources.Marshal(b, m, deterministic) -} -func (m *Resources) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources.Merge(m, src) -} -func (m *Resources) XXX_Size() int { - return xxx_messageInfo_Resources.Size(m) -} -func (m *Resources) XXX_DiscardUnknown() { - xxx_messageInfo_Resources.DiscardUnknown(m) -} - -var xxx_messageInfo_Resources proto.InternalMessageInfo - -func (m *Resources) GetRequests() []*Resources_ResourceEntry { - if m != nil { - return m.Requests +func (x *Resources) Reset() { + *x = Resources{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *Resources) GetLimits() []*Resources_ResourceEntry { - if m != nil { - return m.Limits - } - return nil +func (x *Resources) String() string { + return protoimpl.X.MessageStringOf(x) } -// Encapsulates a resource name and value. -type Resources_ResourceEntry struct { - // Resource name. - Name Resources_ResourceName `protobuf:"varint,1,opt,name=name,proto3,enum=flyteidl.core.Resources_ResourceName" json:"name,omitempty"` - // Value must be a valid k8s quantity. See - // https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80 - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*Resources) ProtoMessage() {} -func (m *Resources_ResourceEntry) Reset() { *m = Resources_ResourceEntry{} } -func (m *Resources_ResourceEntry) String() string { return proto.CompactTextString(m) } -func (*Resources_ResourceEntry) ProtoMessage() {} -func (*Resources_ResourceEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{0, 0} +func (x *Resources) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Resources_ResourceEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Resources_ResourceEntry.Unmarshal(m, b) -} -func (m *Resources_ResourceEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Resources_ResourceEntry.Marshal(b, m, deterministic) -} -func (m *Resources_ResourceEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources_ResourceEntry.Merge(m, src) -} -func (m *Resources_ResourceEntry) XXX_Size() int { - return xxx_messageInfo_Resources_ResourceEntry.Size(m) -} -func (m *Resources_ResourceEntry) XXX_DiscardUnknown() { - xxx_messageInfo_Resources_ResourceEntry.DiscardUnknown(m) +// Deprecated: Use Resources.ProtoReflect.Descriptor instead. +func (*Resources) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{0} } -var xxx_messageInfo_Resources_ResourceEntry proto.InternalMessageInfo - -func (m *Resources_ResourceEntry) GetName() Resources_ResourceName { - if m != nil { - return m.Name +func (x *Resources) GetRequests() []*Resources_ResourceEntry { + if x != nil { + return x.Requests } - return Resources_UNKNOWN + return nil } -func (m *Resources_ResourceEntry) GetValue() string { - if m != nil { - return m.Value +func (x *Resources) GetLimits() []*Resources_ResourceEntry { + if x != nil { + return x.Limits } - return "" + return nil } // Metadata associated with the GPU accelerator to allocate to a task. Contains // information about device type, and for multi-instance GPUs, the partition size to // use. type GPUAccelerator struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // This can be any arbitrary string, and should be informed by the labels or taints // associated with the nodes in question. Default cloud provider labels typically // use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc. Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` - // Types that are valid to be assigned to PartitionSizeValue: + // Types that are assignable to PartitionSizeValue: + // // *GPUAccelerator_Unpartitioned // *GPUAccelerator_PartitionSize - PartitionSizeValue isGPUAccelerator_PartitionSizeValue `protobuf_oneof:"partition_size_value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PartitionSizeValue isGPUAccelerator_PartitionSizeValue `protobuf_oneof:"partition_size_value"` } -func (m *GPUAccelerator) Reset() { *m = GPUAccelerator{} } -func (m *GPUAccelerator) String() string { return proto.CompactTextString(m) } -func (*GPUAccelerator) ProtoMessage() {} -func (*GPUAccelerator) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{1} +func (x *GPUAccelerator) Reset() { + *x = GPUAccelerator{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GPUAccelerator) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GPUAccelerator.Unmarshal(m, b) -} -func (m *GPUAccelerator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GPUAccelerator.Marshal(b, m, deterministic) -} -func (m *GPUAccelerator) XXX_Merge(src proto.Message) { - xxx_messageInfo_GPUAccelerator.Merge(m, src) -} -func (m *GPUAccelerator) XXX_Size() int { - return xxx_messageInfo_GPUAccelerator.Size(m) -} -func (m *GPUAccelerator) XXX_DiscardUnknown() { - xxx_messageInfo_GPUAccelerator.DiscardUnknown(m) +func (x *GPUAccelerator) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GPUAccelerator proto.InternalMessageInfo +func (*GPUAccelerator) ProtoMessage() {} -func (m *GPUAccelerator) GetDevice() string { - if m != nil { - return m.Device +func (x *GPUAccelerator) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -type isGPUAccelerator_PartitionSizeValue interface { - isGPUAccelerator_PartitionSizeValue() -} - -type GPUAccelerator_Unpartitioned struct { - Unpartitioned bool `protobuf:"varint,2,opt,name=unpartitioned,proto3,oneof"` +// Deprecated: Use GPUAccelerator.ProtoReflect.Descriptor instead. +func (*GPUAccelerator) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{1} } -type GPUAccelerator_PartitionSize struct { - PartitionSize string `protobuf:"bytes,3,opt,name=partition_size,json=partitionSize,proto3,oneof"` +func (x *GPUAccelerator) GetDevice() string { + if x != nil { + return x.Device + } + return "" } -func (*GPUAccelerator_Unpartitioned) isGPUAccelerator_PartitionSizeValue() {} - -func (*GPUAccelerator_PartitionSize) isGPUAccelerator_PartitionSizeValue() {} - func (m *GPUAccelerator) GetPartitionSizeValue() isGPUAccelerator_PartitionSizeValue { if m != nil { return m.PartitionSizeValue @@ -428,139 +525,170 @@ func (m *GPUAccelerator) GetPartitionSizeValue() isGPUAccelerator_PartitionSizeV return nil } -func (m *GPUAccelerator) GetUnpartitioned() bool { - if x, ok := m.GetPartitionSizeValue().(*GPUAccelerator_Unpartitioned); ok { +func (x *GPUAccelerator) GetUnpartitioned() bool { + if x, ok := x.GetPartitionSizeValue().(*GPUAccelerator_Unpartitioned); ok { return x.Unpartitioned } return false } -func (m *GPUAccelerator) GetPartitionSize() string { - if x, ok := m.GetPartitionSizeValue().(*GPUAccelerator_PartitionSize); ok { +func (x *GPUAccelerator) GetPartitionSize() string { + if x, ok := x.GetPartitionSizeValue().(*GPUAccelerator_PartitionSize); ok { return x.PartitionSize } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GPUAccelerator) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GPUAccelerator_Unpartitioned)(nil), - (*GPUAccelerator_PartitionSize)(nil), - } +type isGPUAccelerator_PartitionSizeValue interface { + isGPUAccelerator_PartitionSizeValue() +} + +type GPUAccelerator_Unpartitioned struct { + Unpartitioned bool `protobuf:"varint,2,opt,name=unpartitioned,proto3,oneof"` +} + +type GPUAccelerator_PartitionSize struct { + // Like `device`, this can be any arbitrary string, and should be informed by + // the labels or taints associated with the nodes in question. Default cloud + // provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc. + PartitionSize string `protobuf:"bytes,3,opt,name=partition_size,json=partitionSize,proto3,oneof"` } +func (*GPUAccelerator_Unpartitioned) isGPUAccelerator_PartitionSizeValue() {} + +func (*GPUAccelerator_PartitionSize) isGPUAccelerator_PartitionSizeValue() {} + // Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to // allocate to a task. type ExtendedResources struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // GPU accelerator to select for task. Contains information about device type, and // for multi-instance GPUs, the partition size to use. - GpuAccelerator *GPUAccelerator `protobuf:"bytes,1,opt,name=gpu_accelerator,json=gpuAccelerator,proto3" json:"gpu_accelerator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GpuAccelerator *GPUAccelerator `protobuf:"bytes,1,opt,name=gpu_accelerator,json=gpuAccelerator,proto3" json:"gpu_accelerator,omitempty"` } -func (m *ExtendedResources) Reset() { *m = ExtendedResources{} } -func (m *ExtendedResources) String() string { return proto.CompactTextString(m) } -func (*ExtendedResources) ProtoMessage() {} -func (*ExtendedResources) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{2} +func (x *ExtendedResources) Reset() { + *x = ExtendedResources{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExtendedResources) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtendedResources.Unmarshal(m, b) +func (x *ExtendedResources) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExtendedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtendedResources.Marshal(b, m, deterministic) -} -func (m *ExtendedResources) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtendedResources.Merge(m, src) -} -func (m *ExtendedResources) XXX_Size() int { - return xxx_messageInfo_ExtendedResources.Size(m) -} -func (m *ExtendedResources) XXX_DiscardUnknown() { - xxx_messageInfo_ExtendedResources.DiscardUnknown(m) + +func (*ExtendedResources) ProtoMessage() {} + +func (x *ExtendedResources) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExtendedResources proto.InternalMessageInfo +// Deprecated: Use ExtendedResources.ProtoReflect.Descriptor instead. +func (*ExtendedResources) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{2} +} -func (m *ExtendedResources) GetGpuAccelerator() *GPUAccelerator { - if m != nil { - return m.GpuAccelerator +func (x *ExtendedResources) GetGpuAccelerator() *GPUAccelerator { + if x != nil { + return x.GpuAccelerator } return nil } // Runtime information. This is loosely defined to allow for extensibility. type RuntimeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Type of runtime. Type RuntimeMetadata_RuntimeType `protobuf:"varint,1,opt,name=type,proto3,enum=flyteidl.core.RuntimeMetadata_RuntimeType" json:"type,omitempty"` // Version of the runtime. All versions should be backward compatible. However, certain cases call for version // checks to ensure tighter validation or setting expectations. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - //+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). - Flavor string `protobuf:"bytes,3,opt,name=flavor,proto3" json:"flavor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). + Flavor string `protobuf:"bytes,3,opt,name=flavor,proto3" json:"flavor,omitempty"` } -func (m *RuntimeMetadata) Reset() { *m = RuntimeMetadata{} } -func (m *RuntimeMetadata) String() string { return proto.CompactTextString(m) } -func (*RuntimeMetadata) ProtoMessage() {} -func (*RuntimeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{3} +func (x *RuntimeMetadata) Reset() { + *x = RuntimeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RuntimeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RuntimeMetadata.Unmarshal(m, b) -} -func (m *RuntimeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RuntimeMetadata.Marshal(b, m, deterministic) +func (x *RuntimeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RuntimeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuntimeMetadata.Merge(m, src) -} -func (m *RuntimeMetadata) XXX_Size() int { - return xxx_messageInfo_RuntimeMetadata.Size(m) -} -func (m *RuntimeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RuntimeMetadata.DiscardUnknown(m) + +func (*RuntimeMetadata) ProtoMessage() {} + +func (x *RuntimeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RuntimeMetadata proto.InternalMessageInfo +// Deprecated: Use RuntimeMetadata.ProtoReflect.Descriptor instead. +func (*RuntimeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{3} +} -func (m *RuntimeMetadata) GetType() RuntimeMetadata_RuntimeType { - if m != nil { - return m.Type +func (x *RuntimeMetadata) GetType() RuntimeMetadata_RuntimeType { + if x != nil { + return x.Type } return RuntimeMetadata_OTHER } -func (m *RuntimeMetadata) GetVersion() string { - if m != nil { - return m.Version +func (x *RuntimeMetadata) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *RuntimeMetadata) GetFlavor() string { - if m != nil { - return m.Flavor +func (x *RuntimeMetadata) GetFlavor() string { + if x != nil { + return x.Flavor } return "" } // Task Metadata type TaskMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. Discoverable bool `protobuf:"varint,1,opt,name=discoverable,proto3" json:"discoverable,omitempty"` // Runtime information about the task. Runtime *RuntimeMetadata `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` // The overall timeout of a task including user-triggered retries. - Timeout *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` + Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // Number of retries per task. Retries *RetryStrategy `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"` // Indicates a logical version to apply to this task for the purpose of discovery. @@ -570,7 +698,8 @@ type TaskMetadata struct { DeprecatedErrorMessage string `protobuf:"bytes,7,opt,name=deprecated_error_message,json=deprecatedErrorMessage,proto3" json:"deprecated_error_message,omitempty"` // Identify whether task is interruptible // - // Types that are valid to be assigned to InterruptibleValue: + // Types that are assignable to InterruptibleValue: + // // *TaskMetadata_Interruptible InterruptibleValue isTaskMetadata_InterruptibleValue `protobuf_oneof:"interruptible_value"` // Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work @@ -585,88 +714,82 @@ type TaskMetadata struct { PodTemplateName string `protobuf:"bytes,12,opt,name=pod_template_name,json=podTemplateName,proto3" json:"pod_template_name,omitempty"` // cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache. CacheIgnoreInputVars []string `protobuf:"bytes,13,rep,name=cache_ignore_input_vars,json=cacheIgnoreInputVars,proto3" json:"cache_ignore_input_vars,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *TaskMetadata) Reset() { *m = TaskMetadata{} } -func (m *TaskMetadata) String() string { return proto.CompactTextString(m) } -func (*TaskMetadata) ProtoMessage() {} -func (*TaskMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{4} +func (x *TaskMetadata) Reset() { + *x = TaskMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskMetadata.Unmarshal(m, b) +func (x *TaskMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskMetadata.Marshal(b, m, deterministic) -} -func (m *TaskMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskMetadata.Merge(m, src) -} -func (m *TaskMetadata) XXX_Size() int { - return xxx_messageInfo_TaskMetadata.Size(m) -} -func (m *TaskMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TaskMetadata.DiscardUnknown(m) + +func (*TaskMetadata) ProtoMessage() {} + +func (x *TaskMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskMetadata proto.InternalMessageInfo +// Deprecated: Use TaskMetadata.ProtoReflect.Descriptor instead. +func (*TaskMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{4} +} -func (m *TaskMetadata) GetDiscoverable() bool { - if m != nil { - return m.Discoverable +func (x *TaskMetadata) GetDiscoverable() bool { + if x != nil { + return x.Discoverable } return false } -func (m *TaskMetadata) GetRuntime() *RuntimeMetadata { - if m != nil { - return m.Runtime +func (x *TaskMetadata) GetRuntime() *RuntimeMetadata { + if x != nil { + return x.Runtime } return nil } -func (m *TaskMetadata) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout +func (x *TaskMetadata) GetTimeout() *durationpb.Duration { + if x != nil { + return x.Timeout } return nil } -func (m *TaskMetadata) GetRetries() *RetryStrategy { - if m != nil { - return m.Retries +func (x *TaskMetadata) GetRetries() *RetryStrategy { + if x != nil { + return x.Retries } return nil } -func (m *TaskMetadata) GetDiscoveryVersion() string { - if m != nil { - return m.DiscoveryVersion +func (x *TaskMetadata) GetDiscoveryVersion() string { + if x != nil { + return x.DiscoveryVersion } return "" } -func (m *TaskMetadata) GetDeprecatedErrorMessage() string { - if m != nil { - return m.DeprecatedErrorMessage +func (x *TaskMetadata) GetDeprecatedErrorMessage() string { + if x != nil { + return x.DeprecatedErrorMessage } return "" } -type isTaskMetadata_InterruptibleValue interface { - isTaskMetadata_InterruptibleValue() -} - -type TaskMetadata_Interruptible struct { - Interruptible bool `protobuf:"varint,8,opt,name=interruptible,proto3,oneof"` -} - -func (*TaskMetadata_Interruptible) isTaskMetadata_InterruptibleValue() {} - func (m *TaskMetadata) GetInterruptibleValue() isTaskMetadata_InterruptibleValue { if m != nil { return m.InterruptibleValue @@ -674,58 +797,65 @@ func (m *TaskMetadata) GetInterruptibleValue() isTaskMetadata_InterruptibleValue return nil } -func (m *TaskMetadata) GetInterruptible() bool { - if x, ok := m.GetInterruptibleValue().(*TaskMetadata_Interruptible); ok { +func (x *TaskMetadata) GetInterruptible() bool { + if x, ok := x.GetInterruptibleValue().(*TaskMetadata_Interruptible); ok { return x.Interruptible } return false } -func (m *TaskMetadata) GetCacheSerializable() bool { - if m != nil { - return m.CacheSerializable +func (x *TaskMetadata) GetCacheSerializable() bool { + if x != nil { + return x.CacheSerializable } return false } -func (m *TaskMetadata) GetGeneratesDeck() bool { - if m != nil { - return m.GeneratesDeck +func (x *TaskMetadata) GetGeneratesDeck() bool { + if x != nil { + return x.GeneratesDeck } return false } -func (m *TaskMetadata) GetTags() map[string]string { - if m != nil { - return m.Tags +func (x *TaskMetadata) GetTags() map[string]string { + if x != nil { + return x.Tags } return nil } -func (m *TaskMetadata) GetPodTemplateName() string { - if m != nil { - return m.PodTemplateName +func (x *TaskMetadata) GetPodTemplateName() string { + if x != nil { + return x.PodTemplateName } return "" } -func (m *TaskMetadata) GetCacheIgnoreInputVars() []string { - if m != nil { - return m.CacheIgnoreInputVars +func (x *TaskMetadata) GetCacheIgnoreInputVars() []string { + if x != nil { + return x.CacheIgnoreInputVars } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TaskMetadata) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TaskMetadata_Interruptible)(nil), - } +type isTaskMetadata_InterruptibleValue interface { + isTaskMetadata_InterruptibleValue() } +type TaskMetadata_Interruptible struct { + Interruptible bool `protobuf:"varint,8,opt,name=interruptible,proto3,oneof"` +} + +func (*TaskMetadata_Interruptible) isTaskMetadata_InterruptibleValue() {} + // A Task structure that uniquely identifies a task in the system // Tasks are registered as a first step in the system. type TaskTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Auto generated taskId by the system. Task Id uniquely identifies this task globally. Id *Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no @@ -738,12 +868,13 @@ type TaskTemplate struct { // compile-time validation of the workflow to avoid costly runtime failures. Interface *TypedInterface `protobuf:"bytes,4,opt,name=interface,proto3" json:"interface,omitempty"` // Custom data about the task. This is extensible to allow various plugins in the system. - Custom *_struct.Struct `protobuf:"bytes,5,opt,name=custom,proto3" json:"custom,omitempty"` + Custom *structpb.Struct `protobuf:"bytes,5,opt,name=custom,proto3" json:"custom,omitempty"` // Known target types that the system will guarantee plugins for. Custom SDK plugins are allowed to set these if needed. // If no corresponding execution-layer plugins are found, the system will default to handling these using built-in // handlers. // - // Types that are valid to be assigned to Target: + // Types that are assignable to Target: + // // *TaskTemplate_Container // *TaskTemplate_K8SPod // *TaskTemplate_Sql @@ -758,94 +889,76 @@ type TaskTemplate struct { // Metadata about the custom defined for this task. This is extensible to allow various plugins in the system // to use as required. // reserve the field numbers 1 through 15 for very frequently occurring message elements - Config map[string]string `protobuf:"bytes,16,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Config map[string]string `protobuf:"bytes,16,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *TaskTemplate) Reset() { *m = TaskTemplate{} } -func (m *TaskTemplate) String() string { return proto.CompactTextString(m) } -func (*TaskTemplate) ProtoMessage() {} -func (*TaskTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{5} +func (x *TaskTemplate) Reset() { + *x = TaskTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskTemplate.Unmarshal(m, b) -} -func (m *TaskTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskTemplate.Marshal(b, m, deterministic) -} -func (m *TaskTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskTemplate.Merge(m, src) -} -func (m *TaskTemplate) XXX_Size() int { - return xxx_messageInfo_TaskTemplate.Size(m) +func (x *TaskTemplate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_TaskTemplate.DiscardUnknown(m) + +func (*TaskTemplate) ProtoMessage() {} + +func (x *TaskTemplate) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskTemplate proto.InternalMessageInfo +// Deprecated: Use TaskTemplate.ProtoReflect.Descriptor instead. +func (*TaskTemplate) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{5} +} -func (m *TaskTemplate) GetId() *Identifier { - if m != nil { - return m.Id +func (x *TaskTemplate) GetId() *Identifier { + if x != nil { + return x.Id } return nil } -func (m *TaskTemplate) GetType() string { - if m != nil { - return m.Type +func (x *TaskTemplate) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *TaskTemplate) GetMetadata() *TaskMetadata { - if m != nil { - return m.Metadata +func (x *TaskTemplate) GetMetadata() *TaskMetadata { + if x != nil { + return x.Metadata } return nil } -func (m *TaskTemplate) GetInterface() *TypedInterface { - if m != nil { - return m.Interface +func (x *TaskTemplate) GetInterface() *TypedInterface { + if x != nil { + return x.Interface } return nil } -func (m *TaskTemplate) GetCustom() *_struct.Struct { - if m != nil { - return m.Custom +func (x *TaskTemplate) GetCustom() *structpb.Struct { + if x != nil { + return x.Custom } return nil } -type isTaskTemplate_Target interface { - isTaskTemplate_Target() -} - -type TaskTemplate_Container struct { - Container *Container `protobuf:"bytes,6,opt,name=container,proto3,oneof"` -} - -type TaskTemplate_K8SPod struct { - K8SPod *K8SPod `protobuf:"bytes,17,opt,name=k8s_pod,json=k8sPod,proto3,oneof"` -} - -type TaskTemplate_Sql struct { - Sql *Sql `protobuf:"bytes,18,opt,name=sql,proto3,oneof"` -} - -func (*TaskTemplate_Container) isTaskTemplate_Target() {} - -func (*TaskTemplate_K8SPod) isTaskTemplate_Target() {} - -func (*TaskTemplate_Sql) isTaskTemplate_Target() {} - func (m *TaskTemplate) GetTarget() isTaskTemplate_Target { if m != nil { return m.Target @@ -853,107 +966,132 @@ func (m *TaskTemplate) GetTarget() isTaskTemplate_Target { return nil } -func (m *TaskTemplate) GetContainer() *Container { - if x, ok := m.GetTarget().(*TaskTemplate_Container); ok { +func (x *TaskTemplate) GetContainer() *Container { + if x, ok := x.GetTarget().(*TaskTemplate_Container); ok { return x.Container } return nil } -func (m *TaskTemplate) GetK8SPod() *K8SPod { - if x, ok := m.GetTarget().(*TaskTemplate_K8SPod); ok { +func (x *TaskTemplate) GetK8SPod() *K8SPod { + if x, ok := x.GetTarget().(*TaskTemplate_K8SPod); ok { return x.K8SPod } return nil } -func (m *TaskTemplate) GetSql() *Sql { - if x, ok := m.GetTarget().(*TaskTemplate_Sql); ok { +func (x *TaskTemplate) GetSql() *Sql { + if x, ok := x.GetTarget().(*TaskTemplate_Sql); ok { return x.Sql } return nil } -func (m *TaskTemplate) GetTaskTypeVersion() int32 { - if m != nil { - return m.TaskTypeVersion +func (x *TaskTemplate) GetTaskTypeVersion() int32 { + if x != nil { + return x.TaskTypeVersion } return 0 } -func (m *TaskTemplate) GetSecurityContext() *SecurityContext { - if m != nil { - return m.SecurityContext +func (x *TaskTemplate) GetSecurityContext() *SecurityContext { + if x != nil { + return x.SecurityContext } return nil } -func (m *TaskTemplate) GetExtendedResources() *ExtendedResources { - if m != nil { - return m.ExtendedResources +func (x *TaskTemplate) GetExtendedResources() *ExtendedResources { + if x != nil { + return x.ExtendedResources } return nil } -func (m *TaskTemplate) GetConfig() map[string]string { - if m != nil { - return m.Config +func (x *TaskTemplate) GetConfig() map[string]string { + if x != nil { + return x.Config } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TaskTemplate) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TaskTemplate_Container)(nil), - (*TaskTemplate_K8SPod)(nil), - (*TaskTemplate_Sql)(nil), - } +type isTaskTemplate_Target interface { + isTaskTemplate_Target() +} + +type TaskTemplate_Container struct { + Container *Container `protobuf:"bytes,6,opt,name=container,proto3,oneof"` } +type TaskTemplate_K8SPod struct { + K8SPod *K8SPod `protobuf:"bytes,17,opt,name=k8s_pod,json=k8sPod,proto3,oneof"` +} + +type TaskTemplate_Sql struct { + Sql *Sql `protobuf:"bytes,18,opt,name=sql,proto3,oneof"` +} + +func (*TaskTemplate_Container) isTaskTemplate_Target() {} + +func (*TaskTemplate_K8SPod) isTaskTemplate_Target() {} + +func (*TaskTemplate_Sql) isTaskTemplate_Target() {} + // Defines port properties for a container. type ContainerPort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Number of port to expose on the pod's IP address. // This must be a valid port number, 0 < x < 65536. - ContainerPort uint32 `protobuf:"varint,1,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ContainerPort uint32 `protobuf:"varint,1,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` } -func (m *ContainerPort) Reset() { *m = ContainerPort{} } -func (m *ContainerPort) String() string { return proto.CompactTextString(m) } -func (*ContainerPort) ProtoMessage() {} -func (*ContainerPort) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{6} +func (x *ContainerPort) Reset() { + *x = ContainerPort{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ContainerPort) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContainerPort.Unmarshal(m, b) -} -func (m *ContainerPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContainerPort.Marshal(b, m, deterministic) -} -func (m *ContainerPort) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerPort.Merge(m, src) -} -func (m *ContainerPort) XXX_Size() int { - return xxx_messageInfo_ContainerPort.Size(m) +func (x *ContainerPort) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ContainerPort) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerPort.DiscardUnknown(m) + +func (*ContainerPort) ProtoMessage() {} + +func (x *ContainerPort) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ContainerPort proto.InternalMessageInfo +// Deprecated: Use ContainerPort.ProtoReflect.Descriptor instead. +func (*ContainerPort) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{6} +} -func (m *ContainerPort) GetContainerPort() uint32 { - if m != nil { - return m.ContainerPort +func (x *ContainerPort) GetContainerPort() uint32 { + if x != nil { + return x.ContainerPort } return 0 } type Container struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Container image url. Eg: docker/redis:latest Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Command to be executed, if not provided, the default entrypoint in the container image will be used. @@ -969,7 +1107,9 @@ type Container struct { // Allows extra configs to be available for the container. // TODO: elaborate on how configs will become available. // Deprecated, please use TaskTemplate.config instead. - Config []*KeyValuePair `protobuf:"bytes,6,rep,name=config,proto3" json:"config,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/core/tasks.proto. + Config []*KeyValuePair `protobuf:"bytes,6,rep,name=config,proto3" json:"config,omitempty"` // Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but // not supported on AWS Batch) // Only K8s @@ -981,148 +1121,160 @@ type Container struct { // are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation // to understand the default paths. // Only K8s - DataConfig *DataLoadingConfig `protobuf:"bytes,9,opt,name=data_config,json=dataConfig,proto3" json:"data_config,omitempty"` - Architecture Container_Architecture `protobuf:"varint,10,opt,name=architecture,proto3,enum=flyteidl.core.Container_Architecture" json:"architecture,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DataConfig *DataLoadingConfig `protobuf:"bytes,9,opt,name=data_config,json=dataConfig,proto3" json:"data_config,omitempty"` + Architecture Container_Architecture `protobuf:"varint,10,opt,name=architecture,proto3,enum=flyteidl.core.Container_Architecture" json:"architecture,omitempty"` } -func (m *Container) Reset() { *m = Container{} } -func (m *Container) String() string { return proto.CompactTextString(m) } -func (*Container) ProtoMessage() {} -func (*Container) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{7} +func (x *Container) Reset() { + *x = Container{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Container) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Container.Unmarshal(m, b) -} -func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Container.Marshal(b, m, deterministic) -} -func (m *Container) XXX_Merge(src proto.Message) { - xxx_messageInfo_Container.Merge(m, src) -} -func (m *Container) XXX_Size() int { - return xxx_messageInfo_Container.Size(m) +func (x *Container) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Container) XXX_DiscardUnknown() { - xxx_messageInfo_Container.DiscardUnknown(m) + +func (*Container) ProtoMessage() {} + +func (x *Container) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Container proto.InternalMessageInfo +// Deprecated: Use Container.ProtoReflect.Descriptor instead. +func (*Container) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{7} +} -func (m *Container) GetImage() string { - if m != nil { - return m.Image +func (x *Container) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *Container) GetCommand() []string { - if m != nil { - return m.Command +func (x *Container) GetCommand() []string { + if x != nil { + return x.Command } return nil } -func (m *Container) GetArgs() []string { - if m != nil { - return m.Args +func (x *Container) GetArgs() []string { + if x != nil { + return x.Args } return nil } -func (m *Container) GetResources() *Resources { - if m != nil { - return m.Resources +func (x *Container) GetResources() *Resources { + if x != nil { + return x.Resources } return nil } -func (m *Container) GetEnv() []*KeyValuePair { - if m != nil { - return m.Env +func (x *Container) GetEnv() []*KeyValuePair { + if x != nil { + return x.Env } return nil } -// Deprecated: Do not use. -func (m *Container) GetConfig() []*KeyValuePair { - if m != nil { - return m.Config +// Deprecated: Marked as deprecated in flyteidl/core/tasks.proto. +func (x *Container) GetConfig() []*KeyValuePair { + if x != nil { + return x.Config } return nil } -func (m *Container) GetPorts() []*ContainerPort { - if m != nil { - return m.Ports +func (x *Container) GetPorts() []*ContainerPort { + if x != nil { + return x.Ports } return nil } -func (m *Container) GetDataConfig() *DataLoadingConfig { - if m != nil { - return m.DataConfig +func (x *Container) GetDataConfig() *DataLoadingConfig { + if x != nil { + return x.DataConfig } return nil } -func (m *Container) GetArchitecture() Container_Architecture { - if m != nil { - return m.Architecture +func (x *Container) GetArchitecture() Container_Architecture { + if x != nil { + return x.Architecture } return Container_UNKNOWN } // Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets) type IOStrategy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Mode to use to manage downloads DownloadMode IOStrategy_DownloadMode `protobuf:"varint,1,opt,name=download_mode,json=downloadMode,proto3,enum=flyteidl.core.IOStrategy_DownloadMode" json:"download_mode,omitempty"` // Mode to use to manage uploads - UploadMode IOStrategy_UploadMode `protobuf:"varint,2,opt,name=upload_mode,json=uploadMode,proto3,enum=flyteidl.core.IOStrategy_UploadMode" json:"upload_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UploadMode IOStrategy_UploadMode `protobuf:"varint,2,opt,name=upload_mode,json=uploadMode,proto3,enum=flyteidl.core.IOStrategy_UploadMode" json:"upload_mode,omitempty"` } -func (m *IOStrategy) Reset() { *m = IOStrategy{} } -func (m *IOStrategy) String() string { return proto.CompactTextString(m) } -func (*IOStrategy) ProtoMessage() {} -func (*IOStrategy) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{8} +func (x *IOStrategy) Reset() { + *x = IOStrategy{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IOStrategy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IOStrategy.Unmarshal(m, b) -} -func (m *IOStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IOStrategy.Marshal(b, m, deterministic) -} -func (m *IOStrategy) XXX_Merge(src proto.Message) { - xxx_messageInfo_IOStrategy.Merge(m, src) -} -func (m *IOStrategy) XXX_Size() int { - return xxx_messageInfo_IOStrategy.Size(m) +func (x *IOStrategy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IOStrategy) XXX_DiscardUnknown() { - xxx_messageInfo_IOStrategy.DiscardUnknown(m) + +func (*IOStrategy) ProtoMessage() {} + +func (x *IOStrategy) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IOStrategy proto.InternalMessageInfo +// Deprecated: Use IOStrategy.ProtoReflect.Descriptor instead. +func (*IOStrategy) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{8} +} -func (m *IOStrategy) GetDownloadMode() IOStrategy_DownloadMode { - if m != nil { - return m.DownloadMode +func (x *IOStrategy) GetDownloadMode() IOStrategy_DownloadMode { + if x != nil { + return x.DownloadMode } return IOStrategy_DOWNLOAD_EAGER } -func (m *IOStrategy) GetUploadMode() IOStrategy_UploadMode { - if m != nil { - return m.UploadMode +func (x *IOStrategy) GetUploadMode() IOStrategy_UploadMode { + if x != nil { + return x.UploadMode } return IOStrategy_UPLOAD_ON_EXIT } @@ -1131,6 +1283,10 @@ func (m *IOStrategy) GetUploadMode() IOStrategy_UploadMode { // Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path // Any outputs generated by the user container - within output_path are automatically uploaded. type DataLoadingConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Flag enables DataLoading Config. If this is not set, data loading will not be used! Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // File system path (start at root). This folder will contain all the inputs exploded to a separate file. @@ -1145,82 +1301,90 @@ type DataLoadingConfig struct { OutputPath string `protobuf:"bytes,3,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` // In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values. // This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding - Format DataLoadingConfig_LiteralMapFormat `protobuf:"varint,4,opt,name=format,proto3,enum=flyteidl.core.DataLoadingConfig_LiteralMapFormat" json:"format,omitempty"` - IoStrategy *IOStrategy `protobuf:"bytes,5,opt,name=io_strategy,json=ioStrategy,proto3" json:"io_strategy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Format DataLoadingConfig_LiteralMapFormat `protobuf:"varint,4,opt,name=format,proto3,enum=flyteidl.core.DataLoadingConfig_LiteralMapFormat" json:"format,omitempty"` + IoStrategy *IOStrategy `protobuf:"bytes,5,opt,name=io_strategy,json=ioStrategy,proto3" json:"io_strategy,omitempty"` } -func (m *DataLoadingConfig) Reset() { *m = DataLoadingConfig{} } -func (m *DataLoadingConfig) String() string { return proto.CompactTextString(m) } -func (*DataLoadingConfig) ProtoMessage() {} -func (*DataLoadingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{9} +func (x *DataLoadingConfig) Reset() { + *x = DataLoadingConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DataLoadingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataLoadingConfig.Unmarshal(m, b) -} -func (m *DataLoadingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataLoadingConfig.Marshal(b, m, deterministic) +func (x *DataLoadingConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DataLoadingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataLoadingConfig.Merge(m, src) -} -func (m *DataLoadingConfig) XXX_Size() int { - return xxx_messageInfo_DataLoadingConfig.Size(m) -} -func (m *DataLoadingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DataLoadingConfig.DiscardUnknown(m) + +func (*DataLoadingConfig) ProtoMessage() {} + +func (x *DataLoadingConfig) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DataLoadingConfig proto.InternalMessageInfo +// Deprecated: Use DataLoadingConfig.ProtoReflect.Descriptor instead. +func (*DataLoadingConfig) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{9} +} -func (m *DataLoadingConfig) GetEnabled() bool { - if m != nil { - return m.Enabled +func (x *DataLoadingConfig) GetEnabled() bool { + if x != nil { + return x.Enabled } return false } -func (m *DataLoadingConfig) GetInputPath() string { - if m != nil { - return m.InputPath +func (x *DataLoadingConfig) GetInputPath() string { + if x != nil { + return x.InputPath } return "" } -func (m *DataLoadingConfig) GetOutputPath() string { - if m != nil { - return m.OutputPath +func (x *DataLoadingConfig) GetOutputPath() string { + if x != nil { + return x.OutputPath } return "" } -func (m *DataLoadingConfig) GetFormat() DataLoadingConfig_LiteralMapFormat { - if m != nil { - return m.Format +func (x *DataLoadingConfig) GetFormat() DataLoadingConfig_LiteralMapFormat { + if x != nil { + return x.Format } return DataLoadingConfig_JSON } -func (m *DataLoadingConfig) GetIoStrategy() *IOStrategy { - if m != nil { - return m.IoStrategy +func (x *DataLoadingConfig) GetIoStrategy() *IOStrategy { + if x != nil { + return x.IoStrategy } return nil } // Defines a pod spec and additional pod metadata that is created when a task is executed. type K8SPod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Contains additional metadata for building a kubernetes pod. Metadata *K8SObjectMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Defines the primary pod spec created when a task is executed. // This should be a JSON-marshalled pod spec, which can be defined in // - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936 // - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py - PodSpec *_struct.Struct `protobuf:"bytes,2,opt,name=pod_spec,json=podSpec,proto3" json:"pod_spec,omitempty"` + PodSpec *structpb.Struct `protobuf:"bytes,2,opt,name=pod_spec,json=podSpec,proto3" json:"pod_spec,omitempty"` // BETA: Optional configuration for DataLoading. If not specified, then default values are used. // This makes it possible to to run a completely portable container, that uses inputs and outputs // only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment. @@ -1228,110 +1392,126 @@ type K8SPod struct { // are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation // to understand the default paths. // Only K8s - DataConfig *DataLoadingConfig `protobuf:"bytes,3,opt,name=data_config,json=dataConfig,proto3" json:"data_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DataConfig *DataLoadingConfig `protobuf:"bytes,3,opt,name=data_config,json=dataConfig,proto3" json:"data_config,omitempty"` } -func (m *K8SPod) Reset() { *m = K8SPod{} } -func (m *K8SPod) String() string { return proto.CompactTextString(m) } -func (*K8SPod) ProtoMessage() {} -func (*K8SPod) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{10} +func (x *K8SPod) Reset() { + *x = K8SPod{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *K8SPod) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_K8SPod.Unmarshal(m, b) -} -func (m *K8SPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_K8SPod.Marshal(b, m, deterministic) +func (x *K8SPod) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *K8SPod) XXX_Merge(src proto.Message) { - xxx_messageInfo_K8SPod.Merge(m, src) -} -func (m *K8SPod) XXX_Size() int { - return xxx_messageInfo_K8SPod.Size(m) -} -func (m *K8SPod) XXX_DiscardUnknown() { - xxx_messageInfo_K8SPod.DiscardUnknown(m) + +func (*K8SPod) ProtoMessage() {} + +func (x *K8SPod) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_K8SPod proto.InternalMessageInfo +// Deprecated: Use K8SPod.ProtoReflect.Descriptor instead. +func (*K8SPod) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{10} +} -func (m *K8SPod) GetMetadata() *K8SObjectMetadata { - if m != nil { - return m.Metadata +func (x *K8SPod) GetMetadata() *K8SObjectMetadata { + if x != nil { + return x.Metadata } return nil } -func (m *K8SPod) GetPodSpec() *_struct.Struct { - if m != nil { - return m.PodSpec +func (x *K8SPod) GetPodSpec() *structpb.Struct { + if x != nil { + return x.PodSpec } return nil } -func (m *K8SPod) GetDataConfig() *DataLoadingConfig { - if m != nil { - return m.DataConfig +func (x *K8SPod) GetDataConfig() *DataLoadingConfig { + if x != nil { + return x.DataConfig } return nil } // Metadata for building a kubernetes object when a task is executed. type K8SObjectMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Optional labels to add to the pod definition. Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional annotations to add to the pod definition. - Annotations map[string]string `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Annotations map[string]string `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *K8SObjectMetadata) Reset() { *m = K8SObjectMetadata{} } -func (m *K8SObjectMetadata) String() string { return proto.CompactTextString(m) } -func (*K8SObjectMetadata) ProtoMessage() {} -func (*K8SObjectMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{11} +func (x *K8SObjectMetadata) Reset() { + *x = K8SObjectMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *K8SObjectMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_K8SObjectMetadata.Unmarshal(m, b) +func (x *K8SObjectMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *K8SObjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_K8SObjectMetadata.Marshal(b, m, deterministic) -} -func (m *K8SObjectMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_K8SObjectMetadata.Merge(m, src) -} -func (m *K8SObjectMetadata) XXX_Size() int { - return xxx_messageInfo_K8SObjectMetadata.Size(m) -} -func (m *K8SObjectMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_K8SObjectMetadata.DiscardUnknown(m) + +func (*K8SObjectMetadata) ProtoMessage() {} + +func (x *K8SObjectMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_K8SObjectMetadata proto.InternalMessageInfo +// Deprecated: Use K8SObjectMetadata.ProtoReflect.Descriptor instead. +func (*K8SObjectMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{11} +} -func (m *K8SObjectMetadata) GetLabels() map[string]string { - if m != nil { - return m.Labels +func (x *K8SObjectMetadata) GetLabels() map[string]string { + if x != nil { + return x.Labels } return nil } -func (m *K8SObjectMetadata) GetAnnotations() map[string]string { - if m != nil { - return m.Annotations +func (x *K8SObjectMetadata) GetAnnotations() map[string]string { + if x != nil { + return x.Annotations } return nil } // Sql represents a generic sql workload with a statement and dialect. type Sql struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The actual query to run, the query can have templated parameters. // We use Flyte's Golang templating format for Query templating. // Refer to the templating documentation. @@ -1341,196 +1521,695 @@ type Sql struct { // select * // from my_table // where ds = '{{ .Inputs.ds }}' - Statement string `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` - Dialect Sql_Dialect `protobuf:"varint,2,opt,name=dialect,proto3,enum=flyteidl.core.Sql_Dialect" json:"dialect,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Statement string `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` + Dialect Sql_Dialect `protobuf:"varint,2,opt,name=dialect,proto3,enum=flyteidl.core.Sql_Dialect" json:"dialect,omitempty"` +} + +func (x *Sql) Reset() { + *x = Sql{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Sql) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Sql) ProtoMessage() {} + +func (x *Sql) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Sql) Reset() { *m = Sql{} } -func (m *Sql) String() string { return proto.CompactTextString(m) } -func (*Sql) ProtoMessage() {} +// Deprecated: Use Sql.ProtoReflect.Descriptor instead. func (*Sql) Descriptor() ([]byte, []int) { - return fileDescriptor_bd8423ba58d6ed80, []int{12} + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{12} } -func (m *Sql) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sql.Unmarshal(m, b) +func (x *Sql) GetStatement() string { + if x != nil { + return x.Statement + } + return "" } -func (m *Sql) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sql.Marshal(b, m, deterministic) + +func (x *Sql) GetDialect() Sql_Dialect { + if x != nil { + return x.Dialect + } + return Sql_UNDEFINED } -func (m *Sql) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sql.Merge(m, src) + +// Encapsulates a resource name and value. +type Resources_ResourceEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Resource name. + Name Resources_ResourceName `protobuf:"varint,1,opt,name=name,proto3,enum=flyteidl.core.Resources_ResourceName" json:"name,omitempty"` + // Value must be a valid k8s quantity. See + // https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80 + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *Sql) XXX_Size() int { - return xxx_messageInfo_Sql.Size(m) + +func (x *Resources_ResourceEntry) Reset() { + *x = Resources_ResourceEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_tasks_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Sql) XXX_DiscardUnknown() { - xxx_messageInfo_Sql.DiscardUnknown(m) + +func (x *Resources_ResourceEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Sql proto.InternalMessageInfo +func (*Resources_ResourceEntry) ProtoMessage() {} -func (m *Sql) GetStatement() string { - if m != nil { - return m.Statement +func (x *Resources_ResourceEntry) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_tasks_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *Sql) GetDialect() Sql_Dialect { - if m != nil { - return m.Dialect +// Deprecated: Use Resources_ResourceEntry.ProtoReflect.Descriptor instead. +func (*Resources_ResourceEntry) Descriptor() ([]byte, []int) { + return file_flyteidl_core_tasks_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *Resources_ResourceEntry) GetName() Resources_ResourceName { + if x != nil { + return x.Name } - return Sql_UNDEFINED + return Resources_UNKNOWN +} + +func (x *Resources_ResourceEntry) GetValue() string { + if x != nil { + return x.Value + } + return "" } -func init() { - proto.RegisterEnum("flyteidl.core.Resources_ResourceName", Resources_ResourceName_name, Resources_ResourceName_value) - proto.RegisterEnum("flyteidl.core.RuntimeMetadata_RuntimeType", RuntimeMetadata_RuntimeType_name, RuntimeMetadata_RuntimeType_value) - proto.RegisterEnum("flyteidl.core.Container_Architecture", Container_Architecture_name, Container_Architecture_value) - proto.RegisterEnum("flyteidl.core.IOStrategy_DownloadMode", IOStrategy_DownloadMode_name, IOStrategy_DownloadMode_value) - proto.RegisterEnum("flyteidl.core.IOStrategy_UploadMode", IOStrategy_UploadMode_name, IOStrategy_UploadMode_value) - proto.RegisterEnum("flyteidl.core.DataLoadingConfig_LiteralMapFormat", DataLoadingConfig_LiteralMapFormat_name, DataLoadingConfig_LiteralMapFormat_value) - proto.RegisterEnum("flyteidl.core.Sql_Dialect", Sql_Dialect_name, Sql_Dialect_value) - proto.RegisterType((*Resources)(nil), "flyteidl.core.Resources") - proto.RegisterType((*Resources_ResourceEntry)(nil), "flyteidl.core.Resources.ResourceEntry") - proto.RegisterType((*GPUAccelerator)(nil), "flyteidl.core.GPUAccelerator") - proto.RegisterType((*ExtendedResources)(nil), "flyteidl.core.ExtendedResources") - proto.RegisterType((*RuntimeMetadata)(nil), "flyteidl.core.RuntimeMetadata") - proto.RegisterType((*TaskMetadata)(nil), "flyteidl.core.TaskMetadata") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.core.TaskMetadata.TagsEntry") - proto.RegisterType((*TaskTemplate)(nil), "flyteidl.core.TaskTemplate") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.core.TaskTemplate.ConfigEntry") - proto.RegisterType((*ContainerPort)(nil), "flyteidl.core.ContainerPort") - proto.RegisterType((*Container)(nil), "flyteidl.core.Container") - proto.RegisterType((*IOStrategy)(nil), "flyteidl.core.IOStrategy") - proto.RegisterType((*DataLoadingConfig)(nil), "flyteidl.core.DataLoadingConfig") - proto.RegisterType((*K8SPod)(nil), "flyteidl.core.K8sPod") - proto.RegisterType((*K8SObjectMetadata)(nil), "flyteidl.core.K8sObjectMetadata") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.core.K8sObjectMetadata.AnnotationsEntry") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.core.K8sObjectMetadata.LabelsEntry") - proto.RegisterType((*Sql)(nil), "flyteidl.core.Sql") -} - -func init() { proto.RegisterFile("flyteidl/core/tasks.proto", fileDescriptor_bd8423ba58d6ed80) } - -var fileDescriptor_bd8423ba58d6ed80 = []byte{ - // 1818 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0xdd, 0x72, 0xdb, 0xb8, - 0x15, 0xb6, 0x24, 0x5b, 0xb2, 0x8e, 0x2c, 0x9b, 0xc2, 0x6e, 0xb2, 0x8c, 0x9b, 0xa4, 0x1e, 0x4e, - 0x37, 0x49, 0xb7, 0x8d, 0xdc, 0x68, 0x53, 0xdb, 0x9b, 0xee, 0xa4, 0x23, 0x47, 0x4a, 0xac, 0xda, - 0xfa, 0x19, 0x48, 0xf6, 0x36, 0xed, 0x74, 0x58, 0x98, 0x84, 0x69, 0xd6, 0x14, 0xc1, 0x80, 0xa0, - 0xbb, 0xca, 0x5b, 0xb4, 0x2f, 0xd1, 0xe9, 0xcc, 0xde, 0xf6, 0xb2, 0xef, 0xd0, 0xab, 0x3e, 0x4d, - 0x2f, 0x3a, 0x00, 0x7f, 0xf4, 0xe7, 0xac, 0xc7, 0x57, 0xc2, 0x39, 0xe7, 0x3b, 0x07, 0xc0, 0xc1, - 0xf9, 0xa3, 0xe0, 0xc1, 0x85, 0x37, 0x11, 0xd4, 0xb5, 0xbd, 0x5d, 0x8b, 0x71, 0xba, 0x2b, 0x48, - 0x78, 0x15, 0xd6, 0x03, 0xce, 0x04, 0x43, 0xd5, 0x54, 0x54, 0x97, 0xa2, 0xed, 0xc7, 0xf3, 0x48, - 0xd7, 0xa6, 0xbe, 0x70, 0x2f, 0x5c, 0xca, 0x63, 0xf8, 0xf6, 0xa3, 0x05, 0xb9, 0x2f, 0x28, 0xbf, - 0x20, 0x16, 0x4d, 0xc4, 0x0f, 0xe7, 0xc5, 0x9e, 0x2b, 0x28, 0x27, 0x5e, 0x78, 0xb3, 0x34, 0xa4, - 0x56, 0xc4, 0x5d, 0x31, 0x49, 0xa4, 0x8f, 0x1d, 0xc6, 0x1c, 0x8f, 0xee, 0x2a, 0xea, 0x3c, 0xba, - 0xd8, 0xb5, 0x23, 0x4e, 0x84, 0xcb, 0xfc, 0x54, 0x7b, 0x51, 0x1e, 0x0a, 0x1e, 0x59, 0x22, 0x96, - 0x1a, 0xff, 0xc9, 0x43, 0x19, 0xd3, 0x90, 0x45, 0xdc, 0xa2, 0x21, 0x3a, 0x84, 0x75, 0x4e, 0x3f, - 0x44, 0x34, 0x14, 0xa1, 0x9e, 0xdb, 0x29, 0x3c, 0xab, 0x34, 0x9e, 0xd4, 0xe7, 0x2e, 0x5a, 0xcf, - 0xb0, 0xd9, 0xaa, 0xed, 0x0b, 0x3e, 0xc1, 0x99, 0x1e, 0x7a, 0x0d, 0x45, 0xcf, 0x1d, 0xbb, 0x22, - 0xd4, 0xf3, 0x77, 0xb2, 0x90, 0x68, 0x6d, 0xff, 0x19, 0xaa, 0x73, 0x02, 0xf4, 0x0d, 0xac, 0xfa, - 0x64, 0x4c, 0xf5, 0xdc, 0x4e, 0xee, 0xd9, 0x66, 0xe3, 0xcb, 0x5b, 0xcd, 0xf5, 0xc8, 0x98, 0x62, - 0xa5, 0x82, 0x3e, 0x87, 0xb5, 0x6b, 0xe2, 0x45, 0x54, 0xcf, 0xef, 0xe4, 0x9e, 0x95, 0x71, 0x4c, - 0x18, 0x7f, 0x82, 0x8d, 0x59, 0x2c, 0xaa, 0x40, 0xe9, 0xb4, 0x77, 0xdc, 0xeb, 0x7f, 0xd7, 0xd3, - 0x56, 0x50, 0x09, 0x0a, 0x6f, 0x06, 0xa7, 0x5a, 0x4e, 0x2e, 0xde, 0x0d, 0x4e, 0xb5, 0x3c, 0x02, - 0x28, 0x76, 0xdb, 0xdd, 0x3e, 0x7e, 0xaf, 0x15, 0x24, 0x74, 0x38, 0xea, 0xe3, 0xe6, 0xbb, 0xb6, - 0xb6, 0x8a, 0xee, 0x41, 0xad, 0x3d, 0x38, 0x6a, 0x77, 0xdb, 0xb8, 0x79, 0x62, 0xa6, 0xec, 0x35, - 0xe3, 0x6f, 0x39, 0xd8, 0x7c, 0x37, 0x38, 0x6d, 0x5a, 0x16, 0xf5, 0x28, 0x27, 0x82, 0x71, 0x74, - 0x1f, 0x8a, 0x36, 0xbd, 0x76, 0xad, 0xf8, 0x12, 0x65, 0x9c, 0x50, 0xe8, 0x09, 0x54, 0x23, 0x3f, - 0x20, 0x5c, 0xb8, 0xf2, 0xc1, 0xa8, 0xad, 0xce, 0xb9, 0x7e, 0xb4, 0x82, 0xe7, 0xd9, 0xe8, 0x29, - 0x6c, 0x66, 0xa4, 0x19, 0xba, 0x1f, 0xa9, 0x5e, 0x90, 0x76, 0x24, 0x30, 0xe3, 0x0f, 0xdd, 0x8f, - 0xf4, 0xf0, 0x3e, 0x7c, 0x3e, 0x0f, 0x34, 0xe3, 0x2b, 0xff, 0x11, 0x6a, 0xed, 0xef, 0x05, 0xf5, - 0x6d, 0x6a, 0x4f, 0x5f, 0xfb, 0x2d, 0x6c, 0x39, 0x41, 0x64, 0x92, 0xe9, 0x41, 0xd5, 0xf1, 0x2a, - 0x8d, 0x47, 0x0b, 0x3e, 0x9e, 0xbf, 0x0d, 0xde, 0x74, 0x82, 0x68, 0x86, 0x36, 0x7e, 0xc8, 0xc1, - 0x16, 0x8e, 0x7c, 0xe1, 0x8e, 0x69, 0x97, 0x0a, 0x62, 0x13, 0x41, 0xd0, 0x6b, 0x58, 0x15, 0x93, - 0x20, 0x7d, 0xb4, 0xaf, 0x16, 0x1f, 0x6d, 0x1e, 0x9d, 0xd2, 0xa3, 0x49, 0x40, 0xb1, 0xd2, 0x43, - 0x3a, 0x94, 0xae, 0x29, 0x0f, 0x5d, 0xe6, 0x27, 0x6f, 0x97, 0x92, 0xd2, 0x97, 0x17, 0x1e, 0xb9, - 0x66, 0x3c, 0xf6, 0x01, 0x4e, 0x28, 0xe3, 0x29, 0x54, 0x66, 0xcc, 0xa0, 0x32, 0xac, 0xf5, 0x47, - 0x47, 0x6d, 0xac, 0xad, 0xa0, 0x2a, 0x94, 0xdf, 0x9e, 0xbc, 0x1f, 0xb5, 0xcd, 0x61, 0xeb, 0x58, - 0xcb, 0x19, 0x3f, 0xac, 0xc1, 0xc6, 0x88, 0x84, 0x57, 0xd9, 0x59, 0x0d, 0xd8, 0xb0, 0xdd, 0xd0, - 0x62, 0xd7, 0x94, 0x93, 0x73, 0x2f, 0x3e, 0xf3, 0x3a, 0x9e, 0xe3, 0xa1, 0x03, 0x28, 0xf1, 0xd8, - 0xba, 0x3a, 0x4f, 0xa5, 0xf1, 0xf8, 0xc7, 0xaf, 0x84, 0x53, 0x38, 0xfa, 0x1a, 0x4a, 0xf2, 0x97, - 0x45, 0x42, 0x5f, 0x55, 0x9a, 0x0f, 0xea, 0x71, 0x46, 0xd6, 0xd3, 0x8c, 0xac, 0xb7, 0x92, 0x8c, - 0xc5, 0x29, 0x12, 0xed, 0x41, 0x89, 0x53, 0xc1, 0x5d, 0x1a, 0xea, 0x6b, 0x4a, 0xe9, 0xe1, 0x52, - 0xd8, 0x0b, 0x3e, 0x19, 0x0a, 0x4e, 0x04, 0x75, 0x26, 0x38, 0x05, 0xa3, 0x5f, 0x40, 0x2d, 0x3d, - 0xf6, 0xc4, 0x4c, 0x1d, 0x58, 0x54, 0x7e, 0xd2, 0x32, 0xc1, 0x59, 0xe2, 0xc9, 0x03, 0xd0, 0x6d, - 0x1a, 0x70, 0x6a, 0x11, 0x41, 0x6d, 0x93, 0x72, 0xce, 0xb8, 0x39, 0xa6, 0x61, 0x48, 0x1c, 0xaa, - 0x97, 0x94, 0xce, 0xfd, 0xa9, 0xbc, 0x2d, 0xc5, 0xdd, 0x58, 0x2a, 0xe3, 0x56, 0x95, 0x30, 0x1e, - 0x05, 0xc2, 0x95, 0x2e, 0x5b, 0x4f, 0xe3, 0x76, 0x8e, 0x8d, 0x9e, 0x03, 0xb2, 0x88, 0x75, 0x49, - 0xcd, 0x90, 0x72, 0x97, 0x78, 0xee, 0x47, 0xe5, 0xdf, 0xb2, 0xf2, 0x6f, 0x4d, 0x49, 0x86, 0x33, - 0x02, 0xf4, 0x25, 0x6c, 0x3a, 0xd4, 0x97, 0x51, 0x45, 0x43, 0xd3, 0xa6, 0xd6, 0x95, 0x0e, 0x0a, - 0x5a, 0xcd, 0xb8, 0x2d, 0x6a, 0x5d, 0xc9, 0x82, 0x20, 0x88, 0x13, 0xea, 0x15, 0x55, 0x5f, 0x16, - 0x0b, 0xc2, 0xec, 0xd3, 0xd6, 0x47, 0xc4, 0x09, 0xe3, 0xf2, 0xa2, 0x54, 0xd0, 0x57, 0x50, 0x0b, - 0x98, 0x6d, 0x0a, 0x3a, 0x0e, 0x3c, 0x22, 0xa8, 0xa9, 0x0a, 0xcb, 0x86, 0xba, 0xeb, 0x56, 0xc0, - 0xec, 0x51, 0xc2, 0x57, 0x65, 0xe1, 0xd7, 0xf0, 0x45, 0x7c, 0x78, 0xd7, 0xf1, 0x19, 0xa7, 0xa6, - 0xeb, 0x07, 0x91, 0x30, 0xaf, 0x09, 0x0f, 0xf5, 0xea, 0x4e, 0xe1, 0x59, 0x19, 0x7f, 0xae, 0xc4, - 0x1d, 0x25, 0xed, 0x48, 0xe1, 0x19, 0xe1, 0xe1, 0xf6, 0x3e, 0x94, 0xb3, 0x5d, 0x91, 0x06, 0x85, - 0x2b, 0x3a, 0x49, 0xb2, 0x5e, 0x2e, 0x6f, 0x2e, 0x49, 0xaf, 0xf2, 0x07, 0xb9, 0xc3, 0x7b, 0xf0, - 0xd9, 0x9c, 0xf7, 0x92, 0xd4, 0xfd, 0x6f, 0x12, 0xae, 0xe9, 0xd9, 0xd0, 0xcf, 0x21, 0xef, 0xda, - 0x49, 0xa6, 0x3e, 0x58, 0xb8, 0x7c, 0x27, 0x6b, 0x3c, 0x38, 0xef, 0xda, 0x08, 0x25, 0x59, 0x18, - 0xef, 0x15, 0x67, 0xd6, 0x3e, 0xac, 0x8f, 0x13, 0xf7, 0xa8, 0x0c, 0xaa, 0x34, 0x7e, 0xf2, 0x23, - 0x1e, 0xc4, 0x19, 0x18, 0xfd, 0x06, 0xca, 0x59, 0xdf, 0x4a, 0x42, 0x79, 0xb1, 0x50, 0xc8, 0xcc, - 0xb3, 0x3b, 0x29, 0x08, 0x4f, 0xf1, 0x68, 0x17, 0x8a, 0x56, 0x14, 0x0a, 0x36, 0x4e, 0xe2, 0xf9, - 0x8b, 0xa5, 0x24, 0x18, 0xaa, 0xb6, 0x84, 0x13, 0x18, 0x3a, 0x80, 0xb2, 0xc5, 0x7c, 0x41, 0x5c, - 0x9f, 0x72, 0x15, 0xc1, 0x95, 0x86, 0xbe, 0xb0, 0xdb, 0x9b, 0x54, 0x7e, 0xb4, 0x82, 0xa7, 0x60, - 0xf4, 0x2b, 0x28, 0x5d, 0x1d, 0x84, 0x66, 0xc0, 0x6c, 0xbd, 0xa6, 0xf4, 0xee, 0x2d, 0xe8, 0x1d, - 0x1f, 0x84, 0x03, 0x66, 0x1f, 0xad, 0xe0, 0xe2, 0x95, 0x5a, 0xa1, 0x27, 0x50, 0x08, 0x3f, 0x78, - 0x3a, 0x52, 0x68, 0xb4, 0x80, 0x1e, 0x7e, 0xf0, 0x8e, 0x56, 0xb0, 0x04, 0xc8, 0xe8, 0x91, 0x33, - 0x80, 0x29, 0xfd, 0x98, 0x65, 0x97, 0xcc, 0x94, 0x35, 0xbc, 0x25, 0x05, 0xf2, 0xfa, 0x69, 0x72, - 0x75, 0x40, 0x4b, 0x1b, 0xb5, 0x29, 0xcf, 0x46, 0xbf, 0x17, 0x2a, 0x4b, 0x96, 0x2b, 0xc7, 0x30, - 0x81, 0xbd, 0x89, 0x51, 0x78, 0x2b, 0x9c, 0x67, 0xa0, 0x3e, 0x20, 0x9a, 0x14, 0x6f, 0x93, 0xa7, - 0xd5, 0x5b, 0x65, 0x51, 0xa5, 0xb1, 0xb3, 0x60, 0x6c, 0xa9, 0xca, 0xe3, 0x1a, 0x5d, 0x2a, 0xfc, - 0xbf, 0x85, 0xa2, 0xc5, 0xfc, 0x0b, 0xd7, 0xd1, 0x35, 0x95, 0x42, 0x4f, 0x6f, 0x08, 0x80, 0x34, - 0xdc, 0xa4, 0x97, 0x2f, 0x5c, 0x27, 0xe9, 0xd1, 0xb1, 0xda, 0xf6, 0x37, 0x50, 0x99, 0x61, 0xdf, - 0x29, 0xca, 0xd7, 0xa1, 0x28, 0x08, 0x77, 0xa8, 0x30, 0xf6, 0xa0, 0x9a, 0xbd, 0xe0, 0x80, 0x71, - 0x21, 0xd3, 0x3f, 0x7b, 0x45, 0x33, 0x60, 0x5c, 0x28, 0x8b, 0x55, 0x5c, 0xb5, 0x66, 0x61, 0xc6, - 0xff, 0x0a, 0x50, 0xce, 0x14, 0xe5, 0x4e, 0xee, 0x58, 0x56, 0xac, 0x78, 0xf7, 0x98, 0x90, 0xed, - 0xc3, 0x62, 0xe3, 0x31, 0xf1, 0x6d, 0x35, 0x85, 0x94, 0x71, 0x4a, 0xca, 0x94, 0x20, 0xdc, 0x09, - 0xf5, 0x82, 0x62, 0xab, 0x35, 0xda, 0x83, 0xf2, 0xd4, 0xaf, 0xab, 0x37, 0xc6, 0xda, 0xd4, 0x9f, - 0x53, 0x28, 0x7a, 0x0e, 0x05, 0xea, 0x5f, 0xeb, 0x6b, 0xca, 0x89, 0x8b, 0x59, 0x74, 0x4c, 0x27, - 0x67, 0xf2, 0xd6, 0x03, 0xe2, 0x72, 0x2c, 0x71, 0x68, 0x3f, 0x73, 0x7b, 0xf1, 0x56, 0x8d, 0xc3, - 0xbc, 0x9e, 0x4b, 0xdd, 0x8d, 0x1a, 0xb0, 0x26, 0xdd, 0x11, 0xea, 0x25, 0xa5, 0xf7, 0xf0, 0x53, - 0x79, 0x20, 0xdd, 0x83, 0x63, 0x28, 0x6a, 0x42, 0x45, 0x66, 0xad, 0x99, 0xec, 0x78, 0x73, 0xb4, - 0xb4, 0x88, 0x20, 0x27, 0x8c, 0xd8, 0xae, 0xef, 0xc4, 0xef, 0x89, 0x41, 0x2a, 0xc5, 0x6b, 0xd4, - 0x81, 0x0d, 0xc2, 0xad, 0x4b, 0x57, 0x50, 0x4b, 0x44, 0x9c, 0xaa, 0x62, 0xbc, 0x3c, 0x80, 0x65, - 0xbb, 0xd7, 0x9b, 0x33, 0x60, 0x3c, 0xa7, 0x6a, 0x74, 0x60, 0x63, 0x56, 0x3a, 0x3f, 0x72, 0x95, - 0x61, 0xad, 0xd9, 0x6d, 0xed, 0xbd, 0xd4, 0x72, 0x6a, 0x89, 0xbb, 0x7b, 0x2f, 0xe3, 0xb1, 0xab, - 0x89, 0xbb, 0xe6, 0xd9, 0x9e, 0x56, 0xc8, 0xd6, 0xfb, 0xda, 0xaa, 0xf1, 0xaf, 0x3c, 0x40, 0xa7, - 0x9f, 0xb6, 0x3e, 0x74, 0x0c, 0x55, 0x9b, 0xfd, 0xd5, 0xf7, 0x18, 0xb1, 0xcd, 0x31, 0xb3, 0xd3, - 0x89, 0x63, 0x71, 0xea, 0x9c, 0x6a, 0xd4, 0x5b, 0x09, 0xbc, 0xcb, 0x6c, 0x8a, 0x37, 0xec, 0x19, - 0x0a, 0xb5, 0xa1, 0x12, 0x05, 0x53, 0x53, 0x79, 0x65, 0xea, 0x67, 0x9f, 0x36, 0x75, 0x1a, 0x64, - 0x86, 0x20, 0xca, 0xd6, 0xc6, 0x09, 0x6c, 0xcc, 0x6e, 0x82, 0x10, 0x6c, 0xb6, 0xfa, 0xdf, 0xf5, - 0x4e, 0xfa, 0xcd, 0x96, 0xd9, 0x6e, 0xbe, 0x53, 0x43, 0xc9, 0x67, 0xb0, 0x95, 0xf1, 0x86, 0x23, - 0xdc, 0x6e, 0x76, 0xb5, 0x5c, 0xcc, 0x34, 0x7b, 0xfd, 0x91, 0x99, 0xca, 0xb4, 0xbc, 0xd1, 0x06, - 0x98, 0xee, 0x23, 0x6d, 0x9d, 0x0e, 0x94, 0x56, 0xbf, 0x67, 0xb6, 0x7f, 0xdf, 0x19, 0x69, 0x2b, - 0x48, 0x83, 0x8d, 0x84, 0x17, 0x5b, 0xcf, 0xa1, 0x1a, 0x54, 0x13, 0x43, 0xb1, 0x40, 0xcb, 0x1b, - 0xff, 0xc8, 0x43, 0x6d, 0xe9, 0xbd, 0x65, 0xa2, 0x50, 0x5f, 0x36, 0x5f, 0x3b, 0x19, 0x7b, 0x52, - 0x12, 0x3d, 0x02, 0x88, 0x3b, 0x5e, 0x40, 0xc4, 0x65, 0x92, 0xc7, 0x65, 0xc5, 0x19, 0x10, 0x71, - 0x89, 0x7e, 0x0a, 0x15, 0x16, 0x89, 0x4c, 0x1e, 0xcf, 0x62, 0x10, 0xb3, 0x14, 0xa0, 0x03, 0xc5, - 0x0b, 0xc6, 0xc7, 0x24, 0x1e, 0x7b, 0x36, 0x1b, 0x2f, 0x6e, 0x8b, 0xbd, 0xfa, 0x49, 0xfc, 0xd9, - 0xd3, 0x25, 0xc1, 0x5b, 0xa5, 0x88, 0x13, 0x03, 0xe8, 0x15, 0x54, 0x5c, 0x66, 0x86, 0x89, 0xd7, - 0x93, 0x0e, 0xf2, 0xe0, 0x93, 0xcf, 0x82, 0xc1, 0x65, 0xe9, 0xda, 0x78, 0x01, 0xda, 0xa2, 0x5d, - 0xb4, 0x0e, 0xab, 0xbf, 0x1b, 0xf6, 0x65, 0xe8, 0xad, 0xc3, 0xea, 0xfb, 0x66, 0xf7, 0x24, 0x8e, - 0xbc, 0x01, 0xee, 0x8f, 0xfa, 0x5a, 0xde, 0xf8, 0x77, 0x0e, 0x8a, 0x71, 0x8f, 0x40, 0xdf, 0xce, - 0x34, 0xcb, 0xdc, 0x8d, 0x29, 0x74, 0x7c, 0x10, 0xf6, 0xcf, 0xff, 0x42, 0x2d, 0x71, 0x43, 0xc7, - 0x6c, 0xc0, 0xba, 0x9c, 0x36, 0xc2, 0x80, 0x5a, 0xc9, 0xd4, 0xf8, 0xc9, 0xb6, 0x57, 0x0a, 0x98, - 0x3d, 0x0c, 0xa8, 0xb5, 0x98, 0xb7, 0x85, 0xbb, 0xe7, 0xad, 0xf1, 0xcf, 0x3c, 0xd4, 0x96, 0x8e, - 0x85, 0x5a, 0x50, 0xf4, 0xc8, 0x39, 0xf5, 0xd2, 0x2f, 0xbb, 0x5f, 0xde, 0x76, 0x91, 0xfa, 0x89, - 0x82, 0xa7, 0x5f, 0x67, 0x8a, 0x40, 0x43, 0xa8, 0x10, 0xdf, 0x67, 0x42, 0xcd, 0xab, 0xe9, 0x27, - 0xde, 0x8b, 0x5b, 0x4d, 0x35, 0xa7, 0x3a, 0xb1, 0xbd, 0x59, 0x2b, 0xb2, 0x9d, 0xcc, 0xec, 0x75, - 0x97, 0x76, 0xb2, 0xfd, 0x1a, 0xb4, 0x45, 0xdb, 0x77, 0xd1, 0x37, 0xfe, 0x9e, 0x83, 0xc2, 0xf0, - 0x83, 0x87, 0x1e, 0x42, 0x39, 0x14, 0x44, 0xd0, 0x31, 0xf5, 0x45, 0xa2, 0x39, 0x65, 0xa0, 0x97, - 0x50, 0xb2, 0x5d, 0xe2, 0x51, 0x4b, 0x24, 0x35, 0x61, 0x7b, 0x79, 0x48, 0xa8, 0xb7, 0x62, 0x04, - 0x4e, 0xa1, 0xc6, 0x3e, 0x94, 0x12, 0x9e, 0xfc, 0x04, 0x39, 0xed, 0xb5, 0xda, 0x6f, 0x3b, 0xbd, - 0x76, 0x2b, 0x0e, 0xbb, 0x66, 0x6f, 0xd8, 0xd1, 0x72, 0x72, 0x75, 0xd4, 0x39, 0x6b, 0x6b, 0xf9, - 0xe9, 0x07, 0x4b, 0xe1, 0xf0, 0xdb, 0x3f, 0xbc, 0x72, 0x5c, 0x71, 0x19, 0x9d, 0xd7, 0x2d, 0x36, - 0xde, 0x55, 0x3b, 0x31, 0xee, 0xc4, 0x8b, 0xdd, 0xec, 0xcf, 0x00, 0x87, 0xfa, 0xbb, 0xc1, 0xf9, - 0x73, 0x87, 0xed, 0xce, 0xfd, 0x3f, 0x70, 0x5e, 0x54, 0xb1, 0xf5, 0xf5, 0xff, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x7b, 0x34, 0xd9, 0xba, 0xbe, 0x10, 0x00, 0x00, +var File_flyteidl_core_tasks_proto protoreflect.FileDescriptor + +var file_flyteidl_core_tasks_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x02, 0x0a, 0x09, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x12, 0x42, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x73, 0x1a, 0x60, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5d, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x50, 0x55, 0x10, 0x01, 0x12, 0x07, 0x0a, + 0x03, 0x47, 0x50, 0x55, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, + 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, + 0x15, 0x0a, 0x11, 0x45, 0x50, 0x48, 0x45, 0x4d, 0x45, 0x52, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x4f, + 0x52, 0x41, 0x47, 0x45, 0x10, 0x05, 0x22, 0x91, 0x01, 0x0a, 0x0e, 0x47, 0x50, 0x55, 0x41, 0x63, + 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x26, 0x0a, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x75, 0x6e, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0e, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, + 0x7a, 0x65, 0x42, 0x16, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x5b, 0x0a, 0x11, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, + 0x46, 0x0a, 0x0f, 0x67, 0x70, 0x75, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x50, 0x55, 0x41, 0x63, 0x63, 0x65, + 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x0e, 0x67, 0x70, 0x75, 0x41, 0x63, 0x63, 0x65, + 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xac, 0x01, 0x0a, 0x0f, 0x52, 0x75, 0x6e, 0x74, + 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, + 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6c, 0x61, 0x76, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6c, 0x61, 0x76, 0x6f, 0x72, 0x22, 0x27, 0x0a, + 0x0b, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, + 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4c, 0x59, 0x54, 0x45, + 0x5f, 0x53, 0x44, 0x4b, 0x10, 0x01, 0x22, 0xac, 0x05, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, + 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x75, 0x6e, + 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x72, 0x75, + 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x36, 0x0a, 0x07, 0x72, 0x65, + 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, + 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, + 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x38, 0x0a, 0x18, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x16, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x0d, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x48, 0x00, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, + 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, + 0x61, 0x63, 0x68, 0x65, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x25, 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x73, 0x5f, 0x64, 0x65, + 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x65, 0x73, 0x44, 0x65, 0x63, 0x6b, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x6f, 0x64, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, + 0x6f, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x35, + 0x0a, 0x17, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x69, + 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x14, 0x63, 0x61, 0x63, 0x68, 0x65, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x56, 0x61, 0x72, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x15, + 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd6, 0x05, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, + 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0x38, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x07, 0x6b, 0x38, 0x73, 0x5f, 0x70, 0x6f, + 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x38, 0x73, 0x50, 0x6f, 0x64, 0x48, 0x00, + 0x52, 0x06, 0x6b, 0x38, 0x73, 0x50, 0x6f, 0x64, 0x12, 0x26, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, + 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x71, 0x6c, 0x48, 0x00, 0x52, 0x03, 0x73, 0x71, 0x6c, + 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x74, 0x61, 0x73, + 0x6b, 0x54, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x10, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a, 0x12, 0x65, 0x78, 0x74, 0x65, 0x6e, + 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x36, + 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, + 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x72, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x22, 0xfc, 0x03, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x12, 0x2d, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x65, + 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, + 0x37, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, + 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0b, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x49, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0c, 0x61, 0x72, + 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x22, 0x49, 0x0a, 0x0c, 0x41, 0x72, + 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4d, 0x44, 0x36, 0x34, + 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x4d, 0x36, 0x34, 0x10, 0x02, 0x12, 0x0a, 0x0a, + 0x06, 0x41, 0x52, 0x4d, 0x5f, 0x56, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x52, 0x4d, + 0x5f, 0x56, 0x37, 0x10, 0x04, 0x22, 0xb5, 0x02, 0x0a, 0x0a, 0x49, 0x4f, 0x53, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x67, 0x79, 0x12, 0x4b, 0x0a, 0x0d, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, + 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x4f, 0x53, 0x74, + 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, + 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, + 0x65, 0x12, 0x45, 0x0a, 0x0b, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x4f, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, + 0x79, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x75, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x4c, 0x0a, 0x0c, 0x44, 0x6f, 0x77, 0x6e, + 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x4f, 0x57, 0x4e, + 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x45, 0x41, 0x47, 0x45, 0x52, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, + 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, + 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x4f, 0x57, 0x4e, + 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x02, 0x22, 0x45, 0x0a, 0x0a, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x4f, + 0x4e, 0x5f, 0x45, 0x58, 0x49, 0x54, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x4c, 0x4f, + 0x41, 0x44, 0x5f, 0x45, 0x41, 0x47, 0x45, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x4f, + 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x02, 0x22, 0xa7, 0x02, + 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x49, 0x0a, + 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, + 0x74, 0x61, 0x4c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, + 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x3a, 0x0a, 0x0b, 0x69, 0x6f, 0x5f, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x4f, + 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0a, 0x69, 0x6f, 0x53, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x67, 0x79, 0x22, 0x31, 0x0a, 0x10, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, + 0x61, 0x70, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, + 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x59, 0x41, 0x4d, 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, + 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x10, 0x02, 0x22, 0xbd, 0x01, 0x0a, 0x06, 0x4b, 0x38, 0x73, 0x50, + 0x6f, 0x64, 0x12, 0x3c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x38, 0x73, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x32, 0x0a, 0x08, 0x70, 0x6f, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x6f, 0x64, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x6f, + 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x64, 0x61, 0x74, + 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xa9, 0x02, 0x0a, 0x11, 0x4b, 0x38, 0x73, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44, 0x0a, + 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x38, + 0x73, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4b, 0x38, 0x73, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, + 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x92, 0x01, 0x0a, 0x03, 0x53, 0x71, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x64, 0x69, 0x61, + 0x6c, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x71, 0x6c, 0x2e, 0x44, + 0x69, 0x61, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x07, 0x64, 0x69, 0x61, 0x6c, 0x65, 0x63, 0x74, 0x22, + 0x37, 0x0a, 0x07, 0x44, 0x69, 0x61, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, + 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x4e, 0x53, + 0x49, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x09, 0x0a, + 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x03, 0x42, 0xb0, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, + 0x54, 0x61, 0x73, 0x6b, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, + 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, + 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, + 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, + 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_tasks_proto_rawDescOnce sync.Once + file_flyteidl_core_tasks_proto_rawDescData = file_flyteidl_core_tasks_proto_rawDesc +) + +func file_flyteidl_core_tasks_proto_rawDescGZIP() []byte { + file_flyteidl_core_tasks_proto_rawDescOnce.Do(func() { + file_flyteidl_core_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_tasks_proto_rawDescData) + }) + return file_flyteidl_core_tasks_proto_rawDescData +} + +var file_flyteidl_core_tasks_proto_enumTypes = make([]protoimpl.EnumInfo, 7) +var file_flyteidl_core_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_flyteidl_core_tasks_proto_goTypes = []interface{}{ + (Resources_ResourceName)(0), // 0: flyteidl.core.Resources.ResourceName + (RuntimeMetadata_RuntimeType)(0), // 1: flyteidl.core.RuntimeMetadata.RuntimeType + (Container_Architecture)(0), // 2: flyteidl.core.Container.Architecture + (IOStrategy_DownloadMode)(0), // 3: flyteidl.core.IOStrategy.DownloadMode + (IOStrategy_UploadMode)(0), // 4: flyteidl.core.IOStrategy.UploadMode + (DataLoadingConfig_LiteralMapFormat)(0), // 5: flyteidl.core.DataLoadingConfig.LiteralMapFormat + (Sql_Dialect)(0), // 6: flyteidl.core.Sql.Dialect + (*Resources)(nil), // 7: flyteidl.core.Resources + (*GPUAccelerator)(nil), // 8: flyteidl.core.GPUAccelerator + (*ExtendedResources)(nil), // 9: flyteidl.core.ExtendedResources + (*RuntimeMetadata)(nil), // 10: flyteidl.core.RuntimeMetadata + (*TaskMetadata)(nil), // 11: flyteidl.core.TaskMetadata + (*TaskTemplate)(nil), // 12: flyteidl.core.TaskTemplate + (*ContainerPort)(nil), // 13: flyteidl.core.ContainerPort + (*Container)(nil), // 14: flyteidl.core.Container + (*IOStrategy)(nil), // 15: flyteidl.core.IOStrategy + (*DataLoadingConfig)(nil), // 16: flyteidl.core.DataLoadingConfig + (*K8SPod)(nil), // 17: flyteidl.core.K8sPod + (*K8SObjectMetadata)(nil), // 18: flyteidl.core.K8sObjectMetadata + (*Sql)(nil), // 19: flyteidl.core.Sql + (*Resources_ResourceEntry)(nil), // 20: flyteidl.core.Resources.ResourceEntry + nil, // 21: flyteidl.core.TaskMetadata.TagsEntry + nil, // 22: flyteidl.core.TaskTemplate.ConfigEntry + nil, // 23: flyteidl.core.K8sObjectMetadata.LabelsEntry + nil, // 24: flyteidl.core.K8sObjectMetadata.AnnotationsEntry + (*durationpb.Duration)(nil), // 25: google.protobuf.Duration + (*RetryStrategy)(nil), // 26: flyteidl.core.RetryStrategy + (*Identifier)(nil), // 27: flyteidl.core.Identifier + (*TypedInterface)(nil), // 28: flyteidl.core.TypedInterface + (*structpb.Struct)(nil), // 29: google.protobuf.Struct + (*SecurityContext)(nil), // 30: flyteidl.core.SecurityContext + (*KeyValuePair)(nil), // 31: flyteidl.core.KeyValuePair +} +var file_flyteidl_core_tasks_proto_depIdxs = []int32{ + 20, // 0: flyteidl.core.Resources.requests:type_name -> flyteidl.core.Resources.ResourceEntry + 20, // 1: flyteidl.core.Resources.limits:type_name -> flyteidl.core.Resources.ResourceEntry + 8, // 2: flyteidl.core.ExtendedResources.gpu_accelerator:type_name -> flyteidl.core.GPUAccelerator + 1, // 3: flyteidl.core.RuntimeMetadata.type:type_name -> flyteidl.core.RuntimeMetadata.RuntimeType + 10, // 4: flyteidl.core.TaskMetadata.runtime:type_name -> flyteidl.core.RuntimeMetadata + 25, // 5: flyteidl.core.TaskMetadata.timeout:type_name -> google.protobuf.Duration + 26, // 6: flyteidl.core.TaskMetadata.retries:type_name -> flyteidl.core.RetryStrategy + 21, // 7: flyteidl.core.TaskMetadata.tags:type_name -> flyteidl.core.TaskMetadata.TagsEntry + 27, // 8: flyteidl.core.TaskTemplate.id:type_name -> flyteidl.core.Identifier + 11, // 9: flyteidl.core.TaskTemplate.metadata:type_name -> flyteidl.core.TaskMetadata + 28, // 10: flyteidl.core.TaskTemplate.interface:type_name -> flyteidl.core.TypedInterface + 29, // 11: flyteidl.core.TaskTemplate.custom:type_name -> google.protobuf.Struct + 14, // 12: flyteidl.core.TaskTemplate.container:type_name -> flyteidl.core.Container + 17, // 13: flyteidl.core.TaskTemplate.k8s_pod:type_name -> flyteidl.core.K8sPod + 19, // 14: flyteidl.core.TaskTemplate.sql:type_name -> flyteidl.core.Sql + 30, // 15: flyteidl.core.TaskTemplate.security_context:type_name -> flyteidl.core.SecurityContext + 9, // 16: flyteidl.core.TaskTemplate.extended_resources:type_name -> flyteidl.core.ExtendedResources + 22, // 17: flyteidl.core.TaskTemplate.config:type_name -> flyteidl.core.TaskTemplate.ConfigEntry + 7, // 18: flyteidl.core.Container.resources:type_name -> flyteidl.core.Resources + 31, // 19: flyteidl.core.Container.env:type_name -> flyteidl.core.KeyValuePair + 31, // 20: flyteidl.core.Container.config:type_name -> flyteidl.core.KeyValuePair + 13, // 21: flyteidl.core.Container.ports:type_name -> flyteidl.core.ContainerPort + 16, // 22: flyteidl.core.Container.data_config:type_name -> flyteidl.core.DataLoadingConfig + 2, // 23: flyteidl.core.Container.architecture:type_name -> flyteidl.core.Container.Architecture + 3, // 24: flyteidl.core.IOStrategy.download_mode:type_name -> flyteidl.core.IOStrategy.DownloadMode + 4, // 25: flyteidl.core.IOStrategy.upload_mode:type_name -> flyteidl.core.IOStrategy.UploadMode + 5, // 26: flyteidl.core.DataLoadingConfig.format:type_name -> flyteidl.core.DataLoadingConfig.LiteralMapFormat + 15, // 27: flyteidl.core.DataLoadingConfig.io_strategy:type_name -> flyteidl.core.IOStrategy + 18, // 28: flyteidl.core.K8sPod.metadata:type_name -> flyteidl.core.K8sObjectMetadata + 29, // 29: flyteidl.core.K8sPod.pod_spec:type_name -> google.protobuf.Struct + 16, // 30: flyteidl.core.K8sPod.data_config:type_name -> flyteidl.core.DataLoadingConfig + 23, // 31: flyteidl.core.K8sObjectMetadata.labels:type_name -> flyteidl.core.K8sObjectMetadata.LabelsEntry + 24, // 32: flyteidl.core.K8sObjectMetadata.annotations:type_name -> flyteidl.core.K8sObjectMetadata.AnnotationsEntry + 6, // 33: flyteidl.core.Sql.dialect:type_name -> flyteidl.core.Sql.Dialect + 0, // 34: flyteidl.core.Resources.ResourceEntry.name:type_name -> flyteidl.core.Resources.ResourceName + 35, // [35:35] is the sub-list for method output_type + 35, // [35:35] is the sub-list for method input_type + 35, // [35:35] is the sub-list for extension type_name + 35, // [35:35] is the sub-list for extension extendee + 0, // [0:35] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_tasks_proto_init() } +func file_flyteidl_core_tasks_proto_init() { + if File_flyteidl_core_tasks_proto != nil { + return + } + file_flyteidl_core_identifier_proto_init() + file_flyteidl_core_interface_proto_init() + file_flyteidl_core_literals_proto_init() + file_flyteidl_core_security_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Resources); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GPUAccelerator); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtendedResources); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RuntimeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerPort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Container); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IOStrategy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataLoadingConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*K8SPod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*K8SObjectMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Sql); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_tasks_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Resources_ResourceEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_tasks_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*GPUAccelerator_Unpartitioned)(nil), + (*GPUAccelerator_PartitionSize)(nil), + } + file_flyteidl_core_tasks_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*TaskMetadata_Interruptible)(nil), + } + file_flyteidl_core_tasks_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*TaskTemplate_Container)(nil), + (*TaskTemplate_K8SPod)(nil), + (*TaskTemplate_Sql)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_tasks_proto_rawDesc, + NumEnums: 7, + NumMessages: 18, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_tasks_proto_goTypes, + DependencyIndexes: file_flyteidl_core_tasks_proto_depIdxs, + EnumInfos: file_flyteidl_core_tasks_proto_enumTypes, + MessageInfos: file_flyteidl_core_tasks_proto_msgTypes, + }.Build() + File_flyteidl_core_tasks_proto = out.File + file_flyteidl_core_tasks_proto_rawDesc = nil + file_flyteidl_core_tasks_proto_goTypes = nil + file_flyteidl_core_tasks_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/tasks.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/tasks.swagger.json deleted file mode 100644 index 35cf925ff8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/tasks.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/tasks.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/types.pb.go b/flyteidl/gen/pb-go/flyteidl/core/types.pb.go index 1f5833ded9..b844e951c9 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/types.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/types.pb.go @@ -1,25 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/types.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Define a set of simple types. type SimpleType int32 @@ -37,38 +37,59 @@ const ( SimpleType_STRUCT SimpleType = 9 ) -var SimpleType_name = map[int32]string{ - 0: "NONE", - 1: "INTEGER", - 2: "FLOAT", - 3: "STRING", - 4: "BOOLEAN", - 5: "DATETIME", - 6: "DURATION", - 7: "BINARY", - 8: "ERROR", - 9: "STRUCT", -} - -var SimpleType_value = map[string]int32{ - "NONE": 0, - "INTEGER": 1, - "FLOAT": 2, - "STRING": 3, - "BOOLEAN": 4, - "DATETIME": 5, - "DURATION": 6, - "BINARY": 7, - "ERROR": 8, - "STRUCT": 9, +// Enum value maps for SimpleType. +var ( + SimpleType_name = map[int32]string{ + 0: "NONE", + 1: "INTEGER", + 2: "FLOAT", + 3: "STRING", + 4: "BOOLEAN", + 5: "DATETIME", + 6: "DURATION", + 7: "BINARY", + 8: "ERROR", + 9: "STRUCT", + } + SimpleType_value = map[string]int32{ + "NONE": 0, + "INTEGER": 1, + "FLOAT": 2, + "STRING": 3, + "BOOLEAN": 4, + "DATETIME": 5, + "DURATION": 6, + "BINARY": 7, + "ERROR": 8, + "STRUCT": 9, + } +) + +func (x SimpleType) Enum() *SimpleType { + p := new(SimpleType) + *p = x + return p } func (x SimpleType) String() string { - return proto.EnumName(SimpleType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SimpleType) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_types_proto_enumTypes[0].Descriptor() +} + +func (SimpleType) Type() protoreflect.EnumType { + return &file_flyteidl_core_types_proto_enumTypes[0] +} + +func (x SimpleType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use SimpleType.Descriptor instead. func (SimpleType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{0} + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{0} } type SchemaType_SchemaColumn_SchemaColumnType int32 @@ -82,30 +103,51 @@ const ( SchemaType_SchemaColumn_DURATION SchemaType_SchemaColumn_SchemaColumnType = 5 ) -var SchemaType_SchemaColumn_SchemaColumnType_name = map[int32]string{ - 0: "INTEGER", - 1: "FLOAT", - 2: "STRING", - 3: "BOOLEAN", - 4: "DATETIME", - 5: "DURATION", -} +// Enum value maps for SchemaType_SchemaColumn_SchemaColumnType. +var ( + SchemaType_SchemaColumn_SchemaColumnType_name = map[int32]string{ + 0: "INTEGER", + 1: "FLOAT", + 2: "STRING", + 3: "BOOLEAN", + 4: "DATETIME", + 5: "DURATION", + } + SchemaType_SchemaColumn_SchemaColumnType_value = map[string]int32{ + "INTEGER": 0, + "FLOAT": 1, + "STRING": 2, + "BOOLEAN": 3, + "DATETIME": 4, + "DURATION": 5, + } +) -var SchemaType_SchemaColumn_SchemaColumnType_value = map[string]int32{ - "INTEGER": 0, - "FLOAT": 1, - "STRING": 2, - "BOOLEAN": 3, - "DATETIME": 4, - "DURATION": 5, +func (x SchemaType_SchemaColumn_SchemaColumnType) Enum() *SchemaType_SchemaColumn_SchemaColumnType { + p := new(SchemaType_SchemaColumn_SchemaColumnType) + *p = x + return p } func (x SchemaType_SchemaColumn_SchemaColumnType) String() string { - return proto.EnumName(SchemaType_SchemaColumn_SchemaColumnType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (SchemaType_SchemaColumn_SchemaColumnType) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_types_proto_enumTypes[1].Descriptor() +} + +func (SchemaType_SchemaColumn_SchemaColumnType) Type() protoreflect.EnumType { + return &file_flyteidl_core_types_proto_enumTypes[1] +} + +func (x SchemaType_SchemaColumn_SchemaColumnType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SchemaType_SchemaColumn_SchemaColumnType.Descriptor instead. func (SchemaType_SchemaColumn_SchemaColumnType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{0, 0, 0} + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{0, 0, 0} } type BlobType_BlobDimensionality int32 @@ -115,115 +157,99 @@ const ( BlobType_MULTIPART BlobType_BlobDimensionality = 1 ) -var BlobType_BlobDimensionality_name = map[int32]string{ - 0: "SINGLE", - 1: "MULTIPART", -} +// Enum value maps for BlobType_BlobDimensionality. +var ( + BlobType_BlobDimensionality_name = map[int32]string{ + 0: "SINGLE", + 1: "MULTIPART", + } + BlobType_BlobDimensionality_value = map[string]int32{ + "SINGLE": 0, + "MULTIPART": 1, + } +) -var BlobType_BlobDimensionality_value = map[string]int32{ - "SINGLE": 0, - "MULTIPART": 1, +func (x BlobType_BlobDimensionality) Enum() *BlobType_BlobDimensionality { + p := new(BlobType_BlobDimensionality) + *p = x + return p } func (x BlobType_BlobDimensionality) String() string { - return proto.EnumName(BlobType_BlobDimensionality_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (BlobType_BlobDimensionality) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{2, 0} +func (BlobType_BlobDimensionality) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_types_proto_enumTypes[2].Descriptor() } -// Defines schema columns and types to strongly type-validate schemas interoperability. -type SchemaType struct { - // A list of ordered columns this schema comprises of. - Columns []*SchemaType_SchemaColumn `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (BlobType_BlobDimensionality) Type() protoreflect.EnumType { + return &file_flyteidl_core_types_proto_enumTypes[2] } -func (m *SchemaType) Reset() { *m = SchemaType{} } -func (m *SchemaType) String() string { return proto.CompactTextString(m) } -func (*SchemaType) ProtoMessage() {} -func (*SchemaType) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{0} +func (x BlobType_BlobDimensionality) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *SchemaType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SchemaType.Unmarshal(m, b) -} -func (m *SchemaType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SchemaType.Marshal(b, m, deterministic) -} -func (m *SchemaType) XXX_Merge(src proto.Message) { - xxx_messageInfo_SchemaType.Merge(m, src) -} -func (m *SchemaType) XXX_Size() int { - return xxx_messageInfo_SchemaType.Size(m) -} -func (m *SchemaType) XXX_DiscardUnknown() { - xxx_messageInfo_SchemaType.DiscardUnknown(m) +// Deprecated: Use BlobType_BlobDimensionality.Descriptor instead. +func (BlobType_BlobDimensionality) EnumDescriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{2, 0} } -var xxx_messageInfo_SchemaType proto.InternalMessageInfo +// Defines schema columns and types to strongly type-validate schemas interoperability. +type SchemaType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SchemaType) GetColumns() []*SchemaType_SchemaColumn { - if m != nil { - return m.Columns - } - return nil + // A list of ordered columns this schema comprises of. + Columns []*SchemaType_SchemaColumn `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"` } -type SchemaType_SchemaColumn struct { - // A unique name -within the schema type- for the column - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The column type. This allows a limited set of types currently. - Type SchemaType_SchemaColumn_SchemaColumnType `protobuf:"varint,2,opt,name=type,proto3,enum=flyteidl.core.SchemaType_SchemaColumn_SchemaColumnType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *SchemaType) Reset() { + *x = SchemaType{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SchemaType_SchemaColumn) Reset() { *m = SchemaType_SchemaColumn{} } -func (m *SchemaType_SchemaColumn) String() string { return proto.CompactTextString(m) } -func (*SchemaType_SchemaColumn) ProtoMessage() {} -func (*SchemaType_SchemaColumn) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{0, 0} +func (x *SchemaType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SchemaType_SchemaColumn) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SchemaType_SchemaColumn.Unmarshal(m, b) -} -func (m *SchemaType_SchemaColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SchemaType_SchemaColumn.Marshal(b, m, deterministic) -} -func (m *SchemaType_SchemaColumn) XXX_Merge(src proto.Message) { - xxx_messageInfo_SchemaType_SchemaColumn.Merge(m, src) -} -func (m *SchemaType_SchemaColumn) XXX_Size() int { - return xxx_messageInfo_SchemaType_SchemaColumn.Size(m) -} -func (m *SchemaType_SchemaColumn) XXX_DiscardUnknown() { - xxx_messageInfo_SchemaType_SchemaColumn.DiscardUnknown(m) -} - -var xxx_messageInfo_SchemaType_SchemaColumn proto.InternalMessageInfo +func (*SchemaType) ProtoMessage() {} -func (m *SchemaType_SchemaColumn) GetName() string { - if m != nil { - return m.Name +func (x *SchemaType) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *SchemaType_SchemaColumn) GetType() SchemaType_SchemaColumn_SchemaColumnType { - if m != nil { - return m.Type +// Deprecated: Use SchemaType.ProtoReflect.Descriptor instead. +func (*SchemaType) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{0} +} + +func (x *SchemaType) GetColumns() []*SchemaType_SchemaColumn { + if x != nil { + return x.Columns } - return SchemaType_SchemaColumn_INTEGER + return nil } type StructuredDatasetType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of ordered columns this schema comprises of. Columns []*StructuredDatasetType_DatasetColumn `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` // This is the storage format, the format of the bits at rest @@ -235,160 +261,123 @@ type StructuredDatasetType struct { ExternalSchemaType string `protobuf:"bytes,3,opt,name=external_schema_type,json=externalSchemaType,proto3" json:"external_schema_type,omitempty"` // The serialized bytes of a third-party schema library like Arrow. // This is an optional field that will not be used for type checking. - ExternalSchemaBytes []byte `protobuf:"bytes,4,opt,name=external_schema_bytes,json=externalSchemaBytes,proto3" json:"external_schema_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExternalSchemaBytes []byte `protobuf:"bytes,4,opt,name=external_schema_bytes,json=externalSchemaBytes,proto3" json:"external_schema_bytes,omitempty"` } -func (m *StructuredDatasetType) Reset() { *m = StructuredDatasetType{} } -func (m *StructuredDatasetType) String() string { return proto.CompactTextString(m) } -func (*StructuredDatasetType) ProtoMessage() {} -func (*StructuredDatasetType) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{1} +func (x *StructuredDatasetType) Reset() { + *x = StructuredDatasetType{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StructuredDatasetType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredDatasetType.Unmarshal(m, b) -} -func (m *StructuredDatasetType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredDatasetType.Marshal(b, m, deterministic) -} -func (m *StructuredDatasetType) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredDatasetType.Merge(m, src) -} -func (m *StructuredDatasetType) XXX_Size() int { - return xxx_messageInfo_StructuredDatasetType.Size(m) +func (x *StructuredDatasetType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StructuredDatasetType) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredDatasetType.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredDatasetType proto.InternalMessageInfo -func (m *StructuredDatasetType) GetColumns() []*StructuredDatasetType_DatasetColumn { - if m != nil { - return m.Columns - } - return nil -} +func (*StructuredDatasetType) ProtoMessage() {} -func (m *StructuredDatasetType) GetFormat() string { - if m != nil { - return m.Format +func (x *StructuredDatasetType) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *StructuredDatasetType) GetExternalSchemaType() string { - if m != nil { - return m.ExternalSchemaType - } - return "" +// Deprecated: Use StructuredDatasetType.ProtoReflect.Descriptor instead. +func (*StructuredDatasetType) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{1} } -func (m *StructuredDatasetType) GetExternalSchemaBytes() []byte { - if m != nil { - return m.ExternalSchemaBytes +func (x *StructuredDatasetType) GetColumns() []*StructuredDatasetType_DatasetColumn { + if x != nil { + return x.Columns } return nil } -type StructuredDatasetType_DatasetColumn struct { - // A unique name within the schema type for the column. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The column type. - LiteralType *LiteralType `protobuf:"bytes,2,opt,name=literal_type,json=literalType,proto3" json:"literal_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredDatasetType_DatasetColumn) Reset() { *m = StructuredDatasetType_DatasetColumn{} } -func (m *StructuredDatasetType_DatasetColumn) String() string { return proto.CompactTextString(m) } -func (*StructuredDatasetType_DatasetColumn) ProtoMessage() {} -func (*StructuredDatasetType_DatasetColumn) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{1, 0} -} - -func (m *StructuredDatasetType_DatasetColumn) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredDatasetType_DatasetColumn.Unmarshal(m, b) -} -func (m *StructuredDatasetType_DatasetColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredDatasetType_DatasetColumn.Marshal(b, m, deterministic) -} -func (m *StructuredDatasetType_DatasetColumn) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredDatasetType_DatasetColumn.Merge(m, src) -} -func (m *StructuredDatasetType_DatasetColumn) XXX_Size() int { - return xxx_messageInfo_StructuredDatasetType_DatasetColumn.Size(m) -} -func (m *StructuredDatasetType_DatasetColumn) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredDatasetType_DatasetColumn.DiscardUnknown(m) +func (x *StructuredDatasetType) GetFormat() string { + if x != nil { + return x.Format + } + return "" } -var xxx_messageInfo_StructuredDatasetType_DatasetColumn proto.InternalMessageInfo - -func (m *StructuredDatasetType_DatasetColumn) GetName() string { - if m != nil { - return m.Name +func (x *StructuredDatasetType) GetExternalSchemaType() string { + if x != nil { + return x.ExternalSchemaType } return "" } -func (m *StructuredDatasetType_DatasetColumn) GetLiteralType() *LiteralType { - if m != nil { - return m.LiteralType +func (x *StructuredDatasetType) GetExternalSchemaBytes() []byte { + if x != nil { + return x.ExternalSchemaBytes } return nil } // Defines type behavior for blob objects type BlobType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Format can be a free form string understood by SDK/UI etc like // csv, parquet etc - Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"` - Dimensionality BlobType_BlobDimensionality `protobuf:"varint,2,opt,name=dimensionality,proto3,enum=flyteidl.core.BlobType_BlobDimensionality" json:"dimensionality,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"` + Dimensionality BlobType_BlobDimensionality `protobuf:"varint,2,opt,name=dimensionality,proto3,enum=flyteidl.core.BlobType_BlobDimensionality" json:"dimensionality,omitempty"` } -func (m *BlobType) Reset() { *m = BlobType{} } -func (m *BlobType) String() string { return proto.CompactTextString(m) } -func (*BlobType) ProtoMessage() {} -func (*BlobType) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{2} +func (x *BlobType) Reset() { + *x = BlobType{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BlobType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlobType.Unmarshal(m, b) -} -func (m *BlobType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlobType.Marshal(b, m, deterministic) +func (x *BlobType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlobType) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlobType.Merge(m, src) -} -func (m *BlobType) XXX_Size() int { - return xxx_messageInfo_BlobType.Size(m) -} -func (m *BlobType) XXX_DiscardUnknown() { - xxx_messageInfo_BlobType.DiscardUnknown(m) + +func (*BlobType) ProtoMessage() {} + +func (x *BlobType) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlobType proto.InternalMessageInfo +// Deprecated: Use BlobType.ProtoReflect.Descriptor instead. +func (*BlobType) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{2} +} -func (m *BlobType) GetFormat() string { - if m != nil { - return m.Format +func (x *BlobType) GetFormat() string { + if x != nil { + return x.Format } return "" } -func (m *BlobType) GetDimensionality() BlobType_BlobDimensionality { - if m != nil { - return m.Dimensionality +func (x *BlobType) GetDimensionality() BlobType_BlobDimensionality { + if x != nil { + return x.Dimensionality } return BlobType_SINGLE } @@ -397,41 +386,49 @@ func (m *BlobType) GetDimensionality() BlobType_BlobDimensionality { // For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish // To provide no defaults, make the first value as undefined. type EnumType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Predefined set of enum values. - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` } -func (m *EnumType) Reset() { *m = EnumType{} } -func (m *EnumType) String() string { return proto.CompactTextString(m) } -func (*EnumType) ProtoMessage() {} -func (*EnumType) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{3} +func (x *EnumType) Reset() { + *x = EnumType{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EnumType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnumType.Unmarshal(m, b) -} -func (m *EnumType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnumType.Marshal(b, m, deterministic) +func (x *EnumType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EnumType) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumType.Merge(m, src) -} -func (m *EnumType) XXX_Size() int { - return xxx_messageInfo_EnumType.Size(m) -} -func (m *EnumType) XXX_DiscardUnknown() { - xxx_messageInfo_EnumType.DiscardUnknown(m) + +func (*EnumType) ProtoMessage() {} + +func (x *EnumType) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EnumType proto.InternalMessageInfo +// Deprecated: Use EnumType.ProtoReflect.Descriptor instead. +func (*EnumType) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{3} +} -func (m *EnumType) GetValues() []string { - if m != nil { - return m.Values +func (x *EnumType) GetValues() []string { + if x != nil { + return x.Values } return nil } @@ -450,41 +447,49 @@ func (m *EnumType) GetValues() []string { // // See also: https://en.wikipedia.org/wiki/Tagged_union type UnionType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Predefined set of variants in union. - Variants []*LiteralType `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Variants []*LiteralType `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"` } -func (m *UnionType) Reset() { *m = UnionType{} } -func (m *UnionType) String() string { return proto.CompactTextString(m) } -func (*UnionType) ProtoMessage() {} -func (*UnionType) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{4} +func (x *UnionType) Reset() { + *x = UnionType{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnionType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnionType.Unmarshal(m, b) -} -func (m *UnionType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnionType.Marshal(b, m, deterministic) -} -func (m *UnionType) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnionType.Merge(m, src) +func (x *UnionType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnionType) XXX_Size() int { - return xxx_messageInfo_UnionType.Size(m) -} -func (m *UnionType) XXX_DiscardUnknown() { - xxx_messageInfo_UnionType.DiscardUnknown(m) + +func (*UnionType) ProtoMessage() {} + +func (x *UnionType) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UnionType proto.InternalMessageInfo +// Deprecated: Use UnionType.ProtoReflect.Descriptor instead. +func (*UnionType) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{4} +} -func (m *UnionType) GetVariants() []*LiteralType { - if m != nil { - return m.Variants +func (x *UnionType) GetVariants() []*LiteralType { + if x != nil { + return x.Variants } return nil } @@ -493,6 +498,10 @@ func (m *UnionType) GetVariants() []*LiteralType { // e.g. allows distinguishing output from custom type transformers // even if the underlying IDL serialization matches. type TypeStructure struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Must exactly match for types to be castable Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // dataclass_type only exists for dataclasses. @@ -500,95 +509,112 @@ type TypeStructure struct { // The key is the field name, and the value is the literal type of the field // e.g. For dataclass Foo, with fields a, and a is a string // Foo.a will be resolved as a literal type of string from dataclass_type - DataclassType map[string]*LiteralType `protobuf:"bytes,2,rep,name=dataclass_type,json=dataclassType,proto3" json:"dataclass_type,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DataclassType map[string]*LiteralType `protobuf:"bytes,2,rep,name=dataclass_type,json=dataclassType,proto3" json:"dataclass_type,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *TypeStructure) Reset() { *m = TypeStructure{} } -func (m *TypeStructure) String() string { return proto.CompactTextString(m) } -func (*TypeStructure) ProtoMessage() {} -func (*TypeStructure) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{5} +func (x *TypeStructure) Reset() { + *x = TypeStructure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TypeStructure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TypeStructure.Unmarshal(m, b) -} -func (m *TypeStructure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TypeStructure.Marshal(b, m, deterministic) -} -func (m *TypeStructure) XXX_Merge(src proto.Message) { - xxx_messageInfo_TypeStructure.Merge(m, src) +func (x *TypeStructure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TypeStructure) XXX_Size() int { - return xxx_messageInfo_TypeStructure.Size(m) -} -func (m *TypeStructure) XXX_DiscardUnknown() { - xxx_messageInfo_TypeStructure.DiscardUnknown(m) + +func (*TypeStructure) ProtoMessage() {} + +func (x *TypeStructure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TypeStructure proto.InternalMessageInfo +// Deprecated: Use TypeStructure.ProtoReflect.Descriptor instead. +func (*TypeStructure) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{5} +} -func (m *TypeStructure) GetTag() string { - if m != nil { - return m.Tag +func (x *TypeStructure) GetTag() string { + if x != nil { + return x.Tag } return "" } -func (m *TypeStructure) GetDataclassType() map[string]*LiteralType { - if m != nil { - return m.DataclassType +func (x *TypeStructure) GetDataclassType() map[string]*LiteralType { + if x != nil { + return x.DataclassType } return nil } // TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs. type TypeAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A arbitrary JSON payload to describe a type. - Annotations *_struct.Struct `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Annotations *structpb.Struct `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"` } -func (m *TypeAnnotation) Reset() { *m = TypeAnnotation{} } -func (m *TypeAnnotation) String() string { return proto.CompactTextString(m) } -func (*TypeAnnotation) ProtoMessage() {} -func (*TypeAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{6} +func (x *TypeAnnotation) Reset() { + *x = TypeAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TypeAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TypeAnnotation.Unmarshal(m, b) -} -func (m *TypeAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TypeAnnotation.Marshal(b, m, deterministic) -} -func (m *TypeAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TypeAnnotation.Merge(m, src) +func (x *TypeAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TypeAnnotation) XXX_Size() int { - return xxx_messageInfo_TypeAnnotation.Size(m) -} -func (m *TypeAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TypeAnnotation.DiscardUnknown(m) + +func (*TypeAnnotation) ProtoMessage() {} + +func (x *TypeAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TypeAnnotation proto.InternalMessageInfo +// Deprecated: Use TypeAnnotation.ProtoReflect.Descriptor instead. +func (*TypeAnnotation) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{6} +} -func (m *TypeAnnotation) GetAnnotations() *_struct.Struct { - if m != nil { - return m.Annotations +func (x *TypeAnnotation) GetAnnotations() *structpb.Struct { + if x != nil { + return x.Annotations } return nil } // Defines a strong type to allow type checking between interfaces. type LiteralType struct { - // Types that are valid to be assigned to Type: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Type: + // // *LiteralType_Simple // *LiteralType_Schema // *LiteralType_CollectionType @@ -600,94 +626,46 @@ type LiteralType struct { Type isLiteralType_Type `protobuf_oneof:"type"` // This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by // consumers to identify special behavior or display extended information for the type. - Metadata *_struct.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // This field contains arbitrary data that might have special semantic // meaning for the client but does not effect internal flyte behavior. Annotation *TypeAnnotation `protobuf:"bytes,9,opt,name=annotation,proto3" json:"annotation,omitempty"` // Hints to improve type matching. - Structure *TypeStructure `protobuf:"bytes,11,opt,name=structure,proto3" json:"structure,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LiteralType) Reset() { *m = LiteralType{} } -func (m *LiteralType) String() string { return proto.CompactTextString(m) } -func (*LiteralType) ProtoMessage() {} -func (*LiteralType) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{7} -} - -func (m *LiteralType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LiteralType.Unmarshal(m, b) -} -func (m *LiteralType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LiteralType.Marshal(b, m, deterministic) -} -func (m *LiteralType) XXX_Merge(src proto.Message) { - xxx_messageInfo_LiteralType.Merge(m, src) -} -func (m *LiteralType) XXX_Size() int { - return xxx_messageInfo_LiteralType.Size(m) -} -func (m *LiteralType) XXX_DiscardUnknown() { - xxx_messageInfo_LiteralType.DiscardUnknown(m) -} - -var xxx_messageInfo_LiteralType proto.InternalMessageInfo - -type isLiteralType_Type interface { - isLiteralType_Type() -} - -type LiteralType_Simple struct { - Simple SimpleType `protobuf:"varint,1,opt,name=simple,proto3,enum=flyteidl.core.SimpleType,oneof"` -} - -type LiteralType_Schema struct { - Schema *SchemaType `protobuf:"bytes,2,opt,name=schema,proto3,oneof"` -} - -type LiteralType_CollectionType struct { - CollectionType *LiteralType `protobuf:"bytes,3,opt,name=collection_type,json=collectionType,proto3,oneof"` + Structure *TypeStructure `protobuf:"bytes,11,opt,name=structure,proto3" json:"structure,omitempty"` } -type LiteralType_MapValueType struct { - MapValueType *LiteralType `protobuf:"bytes,4,opt,name=map_value_type,json=mapValueType,proto3,oneof"` +func (x *LiteralType) Reset() { + *x = LiteralType{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type LiteralType_Blob struct { - Blob *BlobType `protobuf:"bytes,5,opt,name=blob,proto3,oneof"` +func (x *LiteralType) String() string { + return protoimpl.X.MessageStringOf(x) } -type LiteralType_EnumType struct { - EnumType *EnumType `protobuf:"bytes,7,opt,name=enum_type,json=enumType,proto3,oneof"` -} +func (*LiteralType) ProtoMessage() {} -type LiteralType_StructuredDatasetType struct { - StructuredDatasetType *StructuredDatasetType `protobuf:"bytes,8,opt,name=structured_dataset_type,json=structuredDatasetType,proto3,oneof"` +func (x *LiteralType) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type LiteralType_UnionType struct { - UnionType *UnionType `protobuf:"bytes,10,opt,name=union_type,json=unionType,proto3,oneof"` +// Deprecated: Use LiteralType.ProtoReflect.Descriptor instead. +func (*LiteralType) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{7} } -func (*LiteralType_Simple) isLiteralType_Type() {} - -func (*LiteralType_Schema) isLiteralType_Type() {} - -func (*LiteralType_CollectionType) isLiteralType_Type() {} - -func (*LiteralType_MapValueType) isLiteralType_Type() {} - -func (*LiteralType_Blob) isLiteralType_Type() {} - -func (*LiteralType_EnumType) isLiteralType_Type() {} - -func (*LiteralType_StructuredDatasetType) isLiteralType_Type() {} - -func (*LiteralType_UnionType) isLiteralType_Type() {} - func (m *LiteralType) GetType() isLiteralType_Type { if m != nil { return m.Type @@ -695,190 +673,274 @@ func (m *LiteralType) GetType() isLiteralType_Type { return nil } -func (m *LiteralType) GetSimple() SimpleType { - if x, ok := m.GetType().(*LiteralType_Simple); ok { +func (x *LiteralType) GetSimple() SimpleType { + if x, ok := x.GetType().(*LiteralType_Simple); ok { return x.Simple } return SimpleType_NONE } -func (m *LiteralType) GetSchema() *SchemaType { - if x, ok := m.GetType().(*LiteralType_Schema); ok { +func (x *LiteralType) GetSchema() *SchemaType { + if x, ok := x.GetType().(*LiteralType_Schema); ok { return x.Schema } return nil } -func (m *LiteralType) GetCollectionType() *LiteralType { - if x, ok := m.GetType().(*LiteralType_CollectionType); ok { +func (x *LiteralType) GetCollectionType() *LiteralType { + if x, ok := x.GetType().(*LiteralType_CollectionType); ok { return x.CollectionType } return nil } -func (m *LiteralType) GetMapValueType() *LiteralType { - if x, ok := m.GetType().(*LiteralType_MapValueType); ok { +func (x *LiteralType) GetMapValueType() *LiteralType { + if x, ok := x.GetType().(*LiteralType_MapValueType); ok { return x.MapValueType } return nil } -func (m *LiteralType) GetBlob() *BlobType { - if x, ok := m.GetType().(*LiteralType_Blob); ok { +func (x *LiteralType) GetBlob() *BlobType { + if x, ok := x.GetType().(*LiteralType_Blob); ok { return x.Blob } return nil } -func (m *LiteralType) GetEnumType() *EnumType { - if x, ok := m.GetType().(*LiteralType_EnumType); ok { +func (x *LiteralType) GetEnumType() *EnumType { + if x, ok := x.GetType().(*LiteralType_EnumType); ok { return x.EnumType } return nil } -func (m *LiteralType) GetStructuredDatasetType() *StructuredDatasetType { - if x, ok := m.GetType().(*LiteralType_StructuredDatasetType); ok { +func (x *LiteralType) GetStructuredDatasetType() *StructuredDatasetType { + if x, ok := x.GetType().(*LiteralType_StructuredDatasetType); ok { return x.StructuredDatasetType } return nil } -func (m *LiteralType) GetUnionType() *UnionType { - if x, ok := m.GetType().(*LiteralType_UnionType); ok { +func (x *LiteralType) GetUnionType() *UnionType { + if x, ok := x.GetType().(*LiteralType_UnionType); ok { return x.UnionType } return nil } -func (m *LiteralType) GetMetadata() *_struct.Struct { - if m != nil { - return m.Metadata +func (x *LiteralType) GetMetadata() *structpb.Struct { + if x != nil { + return x.Metadata } return nil } -func (m *LiteralType) GetAnnotation() *TypeAnnotation { - if m != nil { - return m.Annotation +func (x *LiteralType) GetAnnotation() *TypeAnnotation { + if x != nil { + return x.Annotation } return nil } -func (m *LiteralType) GetStructure() *TypeStructure { - if m != nil { - return m.Structure +func (x *LiteralType) GetStructure() *TypeStructure { + if x != nil { + return x.Structure } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LiteralType) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LiteralType_Simple)(nil), - (*LiteralType_Schema)(nil), - (*LiteralType_CollectionType)(nil), - (*LiteralType_MapValueType)(nil), - (*LiteralType_Blob)(nil), - (*LiteralType_EnumType)(nil), - (*LiteralType_StructuredDatasetType)(nil), - (*LiteralType_UnionType)(nil), - } +type isLiteralType_Type interface { + isLiteralType_Type() } +type LiteralType_Simple struct { + // A simple type that can be compared one-to-one with another. + Simple SimpleType `protobuf:"varint,1,opt,name=simple,proto3,enum=flyteidl.core.SimpleType,oneof"` +} + +type LiteralType_Schema struct { + // A complex type that requires matching of inner fields. + Schema *SchemaType `protobuf:"bytes,2,opt,name=schema,proto3,oneof"` +} + +type LiteralType_CollectionType struct { + // Defines the type of the value of a collection. Only homogeneous collections are allowed. + CollectionType *LiteralType `protobuf:"bytes,3,opt,name=collection_type,json=collectionType,proto3,oneof"` +} + +type LiteralType_MapValueType struct { + // Defines the type of the value of a map type. The type of the key is always a string. + MapValueType *LiteralType `protobuf:"bytes,4,opt,name=map_value_type,json=mapValueType,proto3,oneof"` +} + +type LiteralType_Blob struct { + // A blob might have specialized implementation details depending on associated metadata. + Blob *BlobType `protobuf:"bytes,5,opt,name=blob,proto3,oneof"` +} + +type LiteralType_EnumType struct { + // Defines an enum with pre-defined string values. + EnumType *EnumType `protobuf:"bytes,7,opt,name=enum_type,json=enumType,proto3,oneof"` +} + +type LiteralType_StructuredDatasetType struct { + // Generalized schema support + StructuredDatasetType *StructuredDatasetType `protobuf:"bytes,8,opt,name=structured_dataset_type,json=structuredDatasetType,proto3,oneof"` +} + +type LiteralType_UnionType struct { + // Defines an union type with pre-defined LiteralTypes. + UnionType *UnionType `protobuf:"bytes,10,opt,name=union_type,json=unionType,proto3,oneof"` +} + +func (*LiteralType_Simple) isLiteralType_Type() {} + +func (*LiteralType_Schema) isLiteralType_Type() {} + +func (*LiteralType_CollectionType) isLiteralType_Type() {} + +func (*LiteralType_MapValueType) isLiteralType_Type() {} + +func (*LiteralType_Blob) isLiteralType_Type() {} + +func (*LiteralType_EnumType) isLiteralType_Type() {} + +func (*LiteralType_StructuredDatasetType) isLiteralType_Type() {} + +func (*LiteralType_UnionType) isLiteralType_Type() {} + // A reference to an output produced by a node. The type can be retrieved -and validated- from // the underlying interface of the node. type OutputReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Node id must exist at the graph layer. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Variable name must refer to an output variable for the node. - Var string `protobuf:"bytes,2,opt,name=var,proto3" json:"var,omitempty"` - AttrPath []*PromiseAttribute `protobuf:"bytes,3,rep,name=attr_path,json=attrPath,proto3" json:"attr_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Var string `protobuf:"bytes,2,opt,name=var,proto3" json:"var,omitempty"` + AttrPath []*PromiseAttribute `protobuf:"bytes,3,rep,name=attr_path,json=attrPath,proto3" json:"attr_path,omitempty"` } -func (m *OutputReference) Reset() { *m = OutputReference{} } -func (m *OutputReference) String() string { return proto.CompactTextString(m) } -func (*OutputReference) ProtoMessage() {} -func (*OutputReference) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{8} +func (x *OutputReference) Reset() { + *x = OutputReference{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OutputReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputReference.Unmarshal(m, b) +func (x *OutputReference) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OutputReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputReference.Marshal(b, m, deterministic) -} -func (m *OutputReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputReference.Merge(m, src) -} -func (m *OutputReference) XXX_Size() int { - return xxx_messageInfo_OutputReference.Size(m) -} -func (m *OutputReference) XXX_DiscardUnknown() { - xxx_messageInfo_OutputReference.DiscardUnknown(m) + +func (*OutputReference) ProtoMessage() {} + +func (x *OutputReference) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OutputReference proto.InternalMessageInfo +// Deprecated: Use OutputReference.ProtoReflect.Descriptor instead. +func (*OutputReference) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{8} +} -func (m *OutputReference) GetNodeId() string { - if m != nil { - return m.NodeId +func (x *OutputReference) GetNodeId() string { + if x != nil { + return x.NodeId } return "" } -func (m *OutputReference) GetVar() string { - if m != nil { - return m.Var +func (x *OutputReference) GetVar() string { + if x != nil { + return x.Var } return "" } -func (m *OutputReference) GetAttrPath() []*PromiseAttribute { - if m != nil { - return m.AttrPath +func (x *OutputReference) GetAttrPath() []*PromiseAttribute { + if x != nil { + return x.AttrPath } return nil } type PromiseAttribute struct { - // Types that are valid to be assigned to Value: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // // *PromiseAttribute_StringValue // *PromiseAttribute_IntValue - Value isPromiseAttribute_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value isPromiseAttribute_Value `protobuf_oneof:"value"` } -func (m *PromiseAttribute) Reset() { *m = PromiseAttribute{} } -func (m *PromiseAttribute) String() string { return proto.CompactTextString(m) } -func (*PromiseAttribute) ProtoMessage() {} -func (*PromiseAttribute) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{9} +func (x *PromiseAttribute) Reset() { + *x = PromiseAttribute{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PromiseAttribute) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromiseAttribute.Unmarshal(m, b) +func (x *PromiseAttribute) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PromiseAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromiseAttribute.Marshal(b, m, deterministic) + +func (*PromiseAttribute) ProtoMessage() {} + +func (x *PromiseAttribute) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PromiseAttribute) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromiseAttribute.Merge(m, src) + +// Deprecated: Use PromiseAttribute.ProtoReflect.Descriptor instead. +func (*PromiseAttribute) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{9} } -func (m *PromiseAttribute) XXX_Size() int { - return xxx_messageInfo_PromiseAttribute.Size(m) + +func (m *PromiseAttribute) GetValue() isPromiseAttribute_Value { + if m != nil { + return m.Value + } + return nil } -func (m *PromiseAttribute) XXX_DiscardUnknown() { - xxx_messageInfo_PromiseAttribute.DiscardUnknown(m) + +func (x *PromiseAttribute) GetStringValue() string { + if x, ok := x.GetValue().(*PromiseAttribute_StringValue); ok { + return x.StringValue + } + return "" } -var xxx_messageInfo_PromiseAttribute proto.InternalMessageInfo +func (x *PromiseAttribute) GetIntValue() int32 { + if x, ok := x.GetValue().(*PromiseAttribute_IntValue); ok { + return x.IntValue + } + return 0 +} type isPromiseAttribute_Value interface { isPromiseAttribute_Value() @@ -896,175 +958,602 @@ func (*PromiseAttribute_StringValue) isPromiseAttribute_Value() {} func (*PromiseAttribute_IntValue) isPromiseAttribute_Value() {} -func (m *PromiseAttribute) GetValue() isPromiseAttribute_Value { - if m != nil { - return m.Value +// Represents an error thrown from a node. +type Error struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The node id that threw the error. + FailedNodeId string `protobuf:"bytes,1,opt,name=failed_node_id,json=failedNodeId,proto3" json:"failed_node_id,omitempty"` + // Error message thrown. + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *Error) Reset() { + *x = Error{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *PromiseAttribute) GetStringValue() string { - if x, ok := m.GetValue().(*PromiseAttribute_StringValue); ok { - return x.StringValue +func (x *Error) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Error) ProtoMessage() {} + +func (x *Error) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Error.ProtoReflect.Descriptor instead. +func (*Error) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{10} +} + +func (x *Error) GetFailedNodeId() string { + if x != nil { + return x.FailedNodeId } return "" } -func (m *PromiseAttribute) GetIntValue() int32 { - if x, ok := m.GetValue().(*PromiseAttribute_IntValue); ok { - return x.IntValue +func (x *Error) GetMessage() string { + if x != nil { + return x.Message } - return 0 + return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PromiseAttribute) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PromiseAttribute_StringValue)(nil), - (*PromiseAttribute_IntValue)(nil), +type SchemaType_SchemaColumn struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A unique name -within the schema type- for the column + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The column type. This allows a limited set of types currently. + Type SchemaType_SchemaColumn_SchemaColumnType `protobuf:"varint,2,opt,name=type,proto3,enum=flyteidl.core.SchemaType_SchemaColumn_SchemaColumnType" json:"type,omitempty"` +} + +func (x *SchemaType_SchemaColumn) Reset() { + *x = SchemaType_SchemaColumn{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -// Represents an error thrown from a node. -type Error struct { - // The node id that threw the error. - FailedNodeId string `protobuf:"bytes,1,opt,name=failed_node_id,json=failedNodeId,proto3" json:"failed_node_id,omitempty"` - // Error message thrown. - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *SchemaType_SchemaColumn) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Error) Reset() { *m = Error{} } -func (m *Error) String() string { return proto.CompactTextString(m) } -func (*Error) ProtoMessage() {} -func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_51e8add38f4caaed, []int{10} +func (*SchemaType_SchemaColumn) ProtoMessage() {} + +func (x *SchemaType_SchemaColumn) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Error) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Error.Unmarshal(m, b) +// Deprecated: Use SchemaType_SchemaColumn.ProtoReflect.Descriptor instead. +func (*SchemaType_SchemaColumn) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{0, 0} } -func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Error.Marshal(b, m, deterministic) + +func (x *SchemaType_SchemaColumn) GetName() string { + if x != nil { + return x.Name + } + return "" } -func (m *Error) XXX_Merge(src proto.Message) { - xxx_messageInfo_Error.Merge(m, src) + +func (x *SchemaType_SchemaColumn) GetType() SchemaType_SchemaColumn_SchemaColumnType { + if x != nil { + return x.Type + } + return SchemaType_SchemaColumn_INTEGER +} + +type StructuredDatasetType_DatasetColumn struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A unique name within the schema type for the column. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The column type. + LiteralType *LiteralType `protobuf:"bytes,2,opt,name=literal_type,json=literalType,proto3" json:"literal_type,omitempty"` } -func (m *Error) XXX_Size() int { - return xxx_messageInfo_Error.Size(m) + +func (x *StructuredDatasetType_DatasetColumn) Reset() { + *x = StructuredDatasetType_DatasetColumn{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_types_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Error) XXX_DiscardUnknown() { - xxx_messageInfo_Error.DiscardUnknown(m) + +func (x *StructuredDatasetType_DatasetColumn) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Error proto.InternalMessageInfo +func (*StructuredDatasetType_DatasetColumn) ProtoMessage() {} -func (m *Error) GetFailedNodeId() string { - if m != nil { - return m.FailedNodeId +func (x *StructuredDatasetType_DatasetColumn) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_types_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *Error) GetMessage() string { - if m != nil { - return m.Message +// Deprecated: Use StructuredDatasetType_DatasetColumn.ProtoReflect.Descriptor instead. +func (*StructuredDatasetType_DatasetColumn) Descriptor() ([]byte, []int) { + return file_flyteidl_core_types_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *StructuredDatasetType_DatasetColumn) GetName() string { + if x != nil { + return x.Name } return "" } -func init() { - proto.RegisterEnum("flyteidl.core.SimpleType", SimpleType_name, SimpleType_value) - proto.RegisterEnum("flyteidl.core.SchemaType_SchemaColumn_SchemaColumnType", SchemaType_SchemaColumn_SchemaColumnType_name, SchemaType_SchemaColumn_SchemaColumnType_value) - proto.RegisterEnum("flyteidl.core.BlobType_BlobDimensionality", BlobType_BlobDimensionality_name, BlobType_BlobDimensionality_value) - proto.RegisterType((*SchemaType)(nil), "flyteidl.core.SchemaType") - proto.RegisterType((*SchemaType_SchemaColumn)(nil), "flyteidl.core.SchemaType.SchemaColumn") - proto.RegisterType((*StructuredDatasetType)(nil), "flyteidl.core.StructuredDatasetType") - proto.RegisterType((*StructuredDatasetType_DatasetColumn)(nil), "flyteidl.core.StructuredDatasetType.DatasetColumn") - proto.RegisterType((*BlobType)(nil), "flyteidl.core.BlobType") - proto.RegisterType((*EnumType)(nil), "flyteidl.core.EnumType") - proto.RegisterType((*UnionType)(nil), "flyteidl.core.UnionType") - proto.RegisterType((*TypeStructure)(nil), "flyteidl.core.TypeStructure") - proto.RegisterMapType((map[string]*LiteralType)(nil), "flyteidl.core.TypeStructure.DataclassTypeEntry") - proto.RegisterType((*TypeAnnotation)(nil), "flyteidl.core.TypeAnnotation") - proto.RegisterType((*LiteralType)(nil), "flyteidl.core.LiteralType") - proto.RegisterType((*OutputReference)(nil), "flyteidl.core.OutputReference") - proto.RegisterType((*PromiseAttribute)(nil), "flyteidl.core.PromiseAttribute") - proto.RegisterType((*Error)(nil), "flyteidl.core.Error") -} - -func init() { proto.RegisterFile("flyteidl/core/types.proto", fileDescriptor_51e8add38f4caaed) } - -var fileDescriptor_51e8add38f4caaed = []byte{ - // 1075 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xdb, 0x6e, 0xdb, 0x46, - 0x13, 0x16, 0x75, 0xe6, 0x48, 0x56, 0x88, 0xfd, 0x7f, 0xd7, 0xb2, 0x91, 0xa0, 0x06, 0x1b, 0x14, - 0x46, 0x80, 0x48, 0x81, 0x0c, 0xa4, 0x8d, 0x91, 0x00, 0x95, 0x6c, 0xd6, 0x12, 0xa2, 0x48, 0xc6, - 0x5a, 0x0e, 0xd0, 0xa2, 0xa8, 0xb0, 0x12, 0xd7, 0x32, 0x11, 0x92, 0x2b, 0x90, 0x4b, 0xa3, 0xea, - 0x03, 0xf4, 0x3d, 0x7a, 0xd5, 0x97, 0xe8, 0x7d, 0x6f, 0x7b, 0xd7, 0xd7, 0x29, 0x76, 0x79, 0x12, - 0x19, 0xd5, 0xf0, 0xdd, 0xce, 0xce, 0x79, 0xf6, 0x9b, 0x99, 0x85, 0xc3, 0x5b, 0x7b, 0xc3, 0xa9, - 0x65, 0xda, 0xdd, 0x25, 0xf3, 0x68, 0x97, 0x6f, 0xd6, 0xd4, 0xef, 0xac, 0x3d, 0xc6, 0x19, 0xda, - 0x8b, 0x59, 0x1d, 0xc1, 0x3a, 0x7a, 0xba, 0x62, 0x6c, 0x65, 0xd3, 0xae, 0x64, 0x2e, 0x82, 0xdb, - 0xae, 0xcf, 0xbd, 0x60, 0xc9, 0x43, 0x61, 0xfd, 0xf7, 0x22, 0xc0, 0xf5, 0xf2, 0x8e, 0x3a, 0x64, - 0xb6, 0x59, 0x53, 0xf4, 0x1d, 0xd4, 0x96, 0xcc, 0x0e, 0x1c, 0xd7, 0x6f, 0x97, 0x8e, 0x4b, 0x27, - 0x8d, 0xde, 0xd7, 0x9d, 0x8c, 0xb5, 0x4e, 0x2a, 0x1b, 0x1d, 0xcf, 0xa5, 0x38, 0x8e, 0xd5, 0x8e, - 0xfe, 0x56, 0xa0, 0xb9, 0xcd, 0x41, 0x08, 0xca, 0x2e, 0x71, 0x68, 0x5b, 0x39, 0x56, 0x4e, 0x54, - 0x2c, 0xcf, 0xe8, 0x3d, 0x94, 0x45, 0xc4, 0xed, 0xe2, 0xb1, 0x72, 0xd2, 0xea, 0x7d, 0xf3, 0x38, - 0x1f, 0x19, 0x42, 0x70, 0xb1, 0x34, 0xa2, 0xcf, 0x41, 0xcb, 0x73, 0x50, 0x03, 0x6a, 0xa3, 0xc9, - 0xcc, 0xb8, 0x34, 0xb0, 0x56, 0x40, 0x2a, 0x54, 0xbe, 0x1f, 0x4f, 0xfb, 0x33, 0x4d, 0x41, 0x00, - 0xd5, 0xeb, 0x19, 0x1e, 0x4d, 0x2e, 0xb5, 0xa2, 0x90, 0x19, 0x4c, 0xa7, 0x63, 0xa3, 0x3f, 0xd1, - 0x4a, 0xa8, 0x09, 0xf5, 0x8b, 0xfe, 0xcc, 0x98, 0x8d, 0x3e, 0x18, 0x5a, 0x59, 0x52, 0x37, 0xb8, - 0x3f, 0x1b, 0x4d, 0x27, 0x5a, 0x45, 0xff, 0xab, 0x08, 0xfb, 0xd7, 0xb2, 0x68, 0x81, 0x47, 0xcd, - 0x0b, 0xc2, 0x89, 0x4f, 0xb9, 0x74, 0x33, 0x4e, 0xcb, 0xa5, 0xc8, 0x72, 0xf5, 0xf2, 0xa9, 0xec, - 0x52, 0xeb, 0x44, 0xe7, 0x5c, 0xe9, 0xd0, 0x17, 0x50, 0xbd, 0x65, 0x9e, 0x43, 0xb8, 0xac, 0x8b, - 0x8a, 0x23, 0x0a, 0xbd, 0x82, 0xff, 0xd3, 0x5f, 0x38, 0xf5, 0x5c, 0x62, 0xcf, 0x7d, 0x99, 0xe9, - 0x5c, 0x56, 0xaf, 0x24, 0xa5, 0x50, 0xcc, 0xdb, 0x7a, 0xc6, 0x1e, 0xec, 0xe7, 0x35, 0x16, 0x1b, - 0x4e, 0xfd, 0x76, 0xf9, 0x58, 0x39, 0x69, 0xe2, 0xff, 0x65, 0x55, 0x06, 0x82, 0x75, 0xb4, 0x80, - 0xbd, 0x4c, 0x5c, 0x3b, 0x1f, 0xee, 0x1d, 0x34, 0x6d, 0x8b, 0x53, 0x8f, 0xd8, 0xf3, 0xe4, 0x01, - 0x1b, 0xbd, 0xa3, 0x5c, 0xd6, 0xe3, 0x50, 0x44, 0xbe, 0x51, 0xc3, 0x4e, 0x09, 0xfd, 0x0f, 0x05, - 0xea, 0x03, 0x9b, 0x2d, 0x64, 0x90, 0x69, 0xba, 0x4a, 0x26, 0x5d, 0x0c, 0x2d, 0xd3, 0x72, 0xa8, - 0xeb, 0x5b, 0xcc, 0x25, 0xb6, 0xc5, 0x37, 0x11, 0x4c, 0x5e, 0xe4, 0xbc, 0xc4, 0x86, 0xe4, 0xe1, - 0x22, 0xa3, 0x81, 0x73, 0x16, 0xf4, 0x2e, 0xa0, 0xcf, 0xa5, 0x24, 0x1a, 0x46, 0x93, 0xcb, 0xb1, - 0xa1, 0x15, 0xd0, 0x1e, 0xa8, 0x1f, 0x6e, 0xc6, 0xb3, 0xd1, 0x55, 0x1f, 0xcf, 0x34, 0x45, 0xd7, - 0xa1, 0x6e, 0xb8, 0x81, 0x13, 0x07, 0x7a, 0x4f, 0xec, 0x80, 0x86, 0x8f, 0xac, 0xe2, 0x88, 0xd2, - 0xcf, 0x41, 0xbd, 0x71, 0x2d, 0x16, 0x22, 0xee, 0x35, 0xd4, 0xef, 0x89, 0x67, 0x11, 0x97, 0xc7, - 0x58, 0x78, 0xa8, 0x2a, 0x89, 0xac, 0xfe, 0x8f, 0x02, 0x7b, 0xe2, 0x2a, 0x41, 0x0a, 0xd2, 0xa0, - 0xc4, 0xc9, 0x2a, 0x2a, 0x8a, 0x38, 0xa2, 0x8f, 0xd0, 0x32, 0x09, 0x27, 0x4b, 0x9b, 0xf8, 0x7e, - 0x5c, 0x77, 0xe1, 0xa1, 0x9b, 0xf3, 0x90, 0xb1, 0x23, 0x51, 0x26, 0x55, 0xc4, 0xb5, 0xe1, 0x72, - 0x6f, 0x83, 0xf7, 0xcc, 0xed, 0xbb, 0xa3, 0x9f, 0x00, 0x7d, 0x2e, 0x24, 0xfc, 0x7f, 0xa2, 0x9b, - 0xd8, 0xff, 0x27, 0xba, 0x41, 0xaf, 0xa0, 0x22, 0x53, 0x7e, 0xc4, 0x73, 0x87, 0x82, 0x67, 0xc5, - 0x6f, 0x15, 0xfd, 0x3d, 0xb4, 0xc4, 0x55, 0xdf, 0x75, 0x19, 0x27, 0xdc, 0x62, 0x2e, 0x7a, 0x03, - 0x0d, 0x92, 0x50, 0xbe, 0xf4, 0xd0, 0xe8, 0x1d, 0x74, 0xc2, 0x01, 0xd5, 0x89, 0x07, 0x54, 0xd4, - 0x34, 0x78, 0x5b, 0x56, 0xff, 0xb3, 0x02, 0x8d, 0x2d, 0x3f, 0xe8, 0x14, 0xaa, 0xbe, 0xe5, 0xac, - 0xed, 0x10, 0x9e, 0xad, 0xde, 0x61, 0xbe, 0xf1, 0x24, 0x53, 0x88, 0x0e, 0x0b, 0x38, 0x12, 0x95, - 0x4a, 0x12, 0xf1, 0x51, 0x22, 0x87, 0xff, 0x39, 0x78, 0xa4, 0x92, 0xa4, 0x90, 0x01, 0x4f, 0x96, - 0xcc, 0xb6, 0xe9, 0x52, 0x04, 0x92, 0x36, 0xde, 0x83, 0x65, 0x18, 0x16, 0x70, 0x2b, 0x55, 0x92, - 0x01, 0x0f, 0xa0, 0xe5, 0x90, 0xf5, 0x5c, 0x96, 0x27, 0xb4, 0x52, 0x7e, 0x84, 0x95, 0xa6, 0x43, - 0xd6, 0x1f, 0x85, 0x8a, 0xb4, 0xf1, 0x12, 0xca, 0x0b, 0x9b, 0x2d, 0xda, 0x95, 0xa8, 0x70, 0xbb, - 0xfb, 0x61, 0x58, 0xc0, 0x52, 0x0c, 0xbd, 0x06, 0x95, 0xba, 0x81, 0x13, 0x7a, 0xab, 0xed, 0xd4, - 0x89, 0x31, 0x3e, 0x2c, 0xe0, 0x3a, 0x8d, 0xf1, 0xfe, 0x33, 0x1c, 0xf8, 0xc9, 0xdc, 0x9a, 0x9b, - 0xe1, 0x50, 0x08, 0xad, 0xd4, 0xa5, 0x95, 0xe7, 0x8f, 0x99, 0x72, 0xc3, 0x02, 0xde, 0xf7, 0x77, - 0x4e, 0xcd, 0x37, 0x00, 0x81, 0x9b, 0x14, 0x13, 0xa4, 0xc9, 0x76, 0xce, 0x64, 0xd2, 0x58, 0xc3, - 0x02, 0x56, 0x83, 0xa4, 0xcb, 0x4e, 0xa1, 0xee, 0x50, 0x4e, 0x44, 0x4c, 0xed, 0xea, 0xc3, 0xf0, - 0x49, 0x04, 0xd1, 0x3b, 0x80, 0x14, 0x4a, 0x6d, 0x55, 0xaa, 0x3d, 0xdb, 0xd1, 0x3a, 0x29, 0x52, - 0xf1, 0x96, 0x02, 0x3a, 0x03, 0x35, 0xc9, 0xa3, 0xdd, 0x90, 0xda, 0x4f, 0x1f, 0x6a, 0x3c, 0x9c, - 0x8a, 0x0f, 0xaa, 0xe1, 0xa2, 0xd3, 0x7f, 0x85, 0x27, 0xd3, 0x80, 0xaf, 0x03, 0x8e, 0xe9, 0x2d, - 0xf5, 0xa8, 0xbb, 0xa4, 0xe8, 0x00, 0x6a, 0x2e, 0x33, 0xe9, 0xdc, 0x32, 0xe3, 0xf9, 0x27, 0xc8, - 0x91, 0x29, 0xfa, 0xef, 0x9e, 0x78, 0xd1, 0x0e, 0x10, 0x47, 0xf4, 0x16, 0x54, 0xc2, 0xb9, 0x37, - 0x5f, 0x13, 0x7e, 0x17, 0xed, 0xe5, 0x2f, 0x73, 0x11, 0x5c, 0x79, 0xcc, 0xb1, 0x7c, 0xda, 0xe7, - 0xdc, 0xb3, 0x16, 0x01, 0xa7, 0xb8, 0x2e, 0x34, 0xae, 0x08, 0xbf, 0x13, 0xfb, 0x31, 0xcf, 0x45, - 0x5f, 0x41, 0xd3, 0xe7, 0x9e, 0xe5, 0xae, 0x42, 0x40, 0x86, 0x11, 0x0c, 0x0b, 0xb8, 0x11, 0xde, - 0x4a, 0xc8, 0xa1, 0x67, 0xa0, 0x5a, 0x2e, 0x9f, 0xa7, 0xad, 0x5f, 0x11, 0x30, 0xb1, 0x5c, 0x2e, - 0xd9, 0x83, 0x5a, 0x34, 0x15, 0xf4, 0x4b, 0xa8, 0x18, 0x9e, 0xc7, 0x3c, 0xf4, 0x1c, 0x5a, 0xb7, - 0xc4, 0xb2, 0xa9, 0x39, 0xcf, 0x66, 0xd6, 0x0c, 0x6f, 0x27, 0x61, 0x7e, 0x6d, 0xa8, 0x39, 0xd4, - 0xf7, 0xc9, 0x8a, 0x46, 0x39, 0xc6, 0xe4, 0x8b, 0xdf, 0x14, 0x80, 0xb4, 0x71, 0x51, 0x1d, 0xca, - 0x93, 0xe9, 0x44, 0x0c, 0xe7, 0xad, 0x75, 0xae, 0xa4, 0xeb, 0xbc, 0xb8, 0xb5, 0xce, 0x4b, 0xdb, - 0xeb, 0xbc, 0x9c, 0x59, 0xe7, 0x95, 0xcc, 0x3a, 0xaf, 0x0a, 0xa5, 0xc1, 0x68, 0xd2, 0xc7, 0x3f, - 0x68, 0x35, 0x61, 0xcb, 0xc0, 0x78, 0x8a, 0xb5, 0x7a, 0x64, 0xeb, 0xe6, 0x7c, 0xa6, 0xa9, 0x83, - 0xb7, 0x3f, 0x9e, 0xad, 0x2c, 0x7e, 0x17, 0x2c, 0x3a, 0x4b, 0xe6, 0x74, 0x65, 0xa5, 0x99, 0xb7, - 0x0a, 0x0f, 0xdd, 0xe4, 0xe7, 0xb5, 0xa2, 0x6e, 0x77, 0xbd, 0x78, 0xb9, 0x62, 0xdd, 0xcc, 0x67, - 0x6c, 0x51, 0x95, 0x50, 0x3c, 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, 0xae, 0xa5, 0x65, 0x5e, 0xa4, - 0x09, 0x00, 0x00, +func (x *StructuredDatasetType_DatasetColumn) GetLiteralType() *LiteralType { + if x != nil { + return x.LiteralType + } + return nil +} + +var File_flyteidl_core_types_proto protoreflect.FileDescriptor + +var file_flyteidl_core_types_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x02, 0x0a, 0x0a, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, + 0x79, 0x70, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x1a, 0xd0, 0x01, 0x0a, 0x0c, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4b, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x10, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, + 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, + 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x03, + 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x04, 0x12, 0x0c, + 0x0a, 0x08, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x22, 0xc7, 0x02, 0x0a, + 0x15, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, + 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x30, 0x0a, 0x14, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, + 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x1a, 0x62, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x08, 0x42, 0x6c, 0x6f, 0x62, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x52, 0x0a, 0x0e, 0x64, + 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x42, 0x6c, 0x6f, + 0x62, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, + 0x0e, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x22, + 0x2f, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x62, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, + 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x52, 0x54, 0x10, 0x01, + 0x22, 0x22, 0x0a, 0x08, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x09, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x36, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x22, 0xd7, 0x01, 0x0a, 0x0d, 0x54, 0x79, + 0x70, 0x65, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, + 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x56, 0x0a, + 0x0e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x75, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x5c, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x61, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0e, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0xbc, 0x05, 0x0a, 0x0b, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x33, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, + 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, + 0x48, 0x00, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x45, 0x0a, 0x0f, 0x63, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x48, + 0x00, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x6d, 0x61, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x6d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, + 0x62, 0x6c, 0x6f, 0x62, 0x12, 0x36, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, + 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5e, 0x0a, 0x17, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x73, + 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x15, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x0a, + 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x09, 0x75, 0x6e, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3d, 0x0a, 0x0a, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x09, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, + 0x7a, 0x0a, 0x0f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, + 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61, 0x72, 0x12, 0x3c, 0x0a, + 0x09, 0x61, 0x74, 0x74, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x69, 0x73, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x52, 0x08, 0x61, 0x74, 0x74, 0x72, 0x50, 0x61, 0x74, 0x68, 0x22, 0x5f, 0x0a, 0x10, 0x50, + 0x72, 0x6f, 0x6d, 0x69, 0x73, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, + 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x47, 0x0a, 0x05, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, + 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x86, 0x01, 0x0a, 0x0a, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0b, + 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, + 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, + 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x04, 0x12, + 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x05, 0x12, 0x0c, 0x0a, + 0x08, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x42, + 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x09, 0x42, 0xb0, + 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, + 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_types_proto_rawDescOnce sync.Once + file_flyteidl_core_types_proto_rawDescData = file_flyteidl_core_types_proto_rawDesc +) + +func file_flyteidl_core_types_proto_rawDescGZIP() []byte { + file_flyteidl_core_types_proto_rawDescOnce.Do(func() { + file_flyteidl_core_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_types_proto_rawDescData) + }) + return file_flyteidl_core_types_proto_rawDescData +} + +var file_flyteidl_core_types_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_flyteidl_core_types_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_flyteidl_core_types_proto_goTypes = []interface{}{ + (SimpleType)(0), // 0: flyteidl.core.SimpleType + (SchemaType_SchemaColumn_SchemaColumnType)(0), // 1: flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType + (BlobType_BlobDimensionality)(0), // 2: flyteidl.core.BlobType.BlobDimensionality + (*SchemaType)(nil), // 3: flyteidl.core.SchemaType + (*StructuredDatasetType)(nil), // 4: flyteidl.core.StructuredDatasetType + (*BlobType)(nil), // 5: flyteidl.core.BlobType + (*EnumType)(nil), // 6: flyteidl.core.EnumType + (*UnionType)(nil), // 7: flyteidl.core.UnionType + (*TypeStructure)(nil), // 8: flyteidl.core.TypeStructure + (*TypeAnnotation)(nil), // 9: flyteidl.core.TypeAnnotation + (*LiteralType)(nil), // 10: flyteidl.core.LiteralType + (*OutputReference)(nil), // 11: flyteidl.core.OutputReference + (*PromiseAttribute)(nil), // 12: flyteidl.core.PromiseAttribute + (*Error)(nil), // 13: flyteidl.core.Error + (*SchemaType_SchemaColumn)(nil), // 14: flyteidl.core.SchemaType.SchemaColumn + (*StructuredDatasetType_DatasetColumn)(nil), // 15: flyteidl.core.StructuredDatasetType.DatasetColumn + nil, // 16: flyteidl.core.TypeStructure.DataclassTypeEntry + (*structpb.Struct)(nil), // 17: google.protobuf.Struct +} +var file_flyteidl_core_types_proto_depIdxs = []int32{ + 14, // 0: flyteidl.core.SchemaType.columns:type_name -> flyteidl.core.SchemaType.SchemaColumn + 15, // 1: flyteidl.core.StructuredDatasetType.columns:type_name -> flyteidl.core.StructuredDatasetType.DatasetColumn + 2, // 2: flyteidl.core.BlobType.dimensionality:type_name -> flyteidl.core.BlobType.BlobDimensionality + 10, // 3: flyteidl.core.UnionType.variants:type_name -> flyteidl.core.LiteralType + 16, // 4: flyteidl.core.TypeStructure.dataclass_type:type_name -> flyteidl.core.TypeStructure.DataclassTypeEntry + 17, // 5: flyteidl.core.TypeAnnotation.annotations:type_name -> google.protobuf.Struct + 0, // 6: flyteidl.core.LiteralType.simple:type_name -> flyteidl.core.SimpleType + 3, // 7: flyteidl.core.LiteralType.schema:type_name -> flyteidl.core.SchemaType + 10, // 8: flyteidl.core.LiteralType.collection_type:type_name -> flyteidl.core.LiteralType + 10, // 9: flyteidl.core.LiteralType.map_value_type:type_name -> flyteidl.core.LiteralType + 5, // 10: flyteidl.core.LiteralType.blob:type_name -> flyteidl.core.BlobType + 6, // 11: flyteidl.core.LiteralType.enum_type:type_name -> flyteidl.core.EnumType + 4, // 12: flyteidl.core.LiteralType.structured_dataset_type:type_name -> flyteidl.core.StructuredDatasetType + 7, // 13: flyteidl.core.LiteralType.union_type:type_name -> flyteidl.core.UnionType + 17, // 14: flyteidl.core.LiteralType.metadata:type_name -> google.protobuf.Struct + 9, // 15: flyteidl.core.LiteralType.annotation:type_name -> flyteidl.core.TypeAnnotation + 8, // 16: flyteidl.core.LiteralType.structure:type_name -> flyteidl.core.TypeStructure + 12, // 17: flyteidl.core.OutputReference.attr_path:type_name -> flyteidl.core.PromiseAttribute + 1, // 18: flyteidl.core.SchemaType.SchemaColumn.type:type_name -> flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType + 10, // 19: flyteidl.core.StructuredDatasetType.DatasetColumn.literal_type:type_name -> flyteidl.core.LiteralType + 10, // 20: flyteidl.core.TypeStructure.DataclassTypeEntry.value:type_name -> flyteidl.core.LiteralType + 21, // [21:21] is the sub-list for method output_type + 21, // [21:21] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_types_proto_init() } +func file_flyteidl_core_types_proto_init() { + if File_flyteidl_core_types_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SchemaType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StructuredDatasetType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlobType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnumType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnionType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypeStructure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypeAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LiteralType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OutputReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PromiseAttribute); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Error); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SchemaType_SchemaColumn); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_types_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StructuredDatasetType_DatasetColumn); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_types_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*LiteralType_Simple)(nil), + (*LiteralType_Schema)(nil), + (*LiteralType_CollectionType)(nil), + (*LiteralType_MapValueType)(nil), + (*LiteralType_Blob)(nil), + (*LiteralType_EnumType)(nil), + (*LiteralType_StructuredDatasetType)(nil), + (*LiteralType_UnionType)(nil), + } + file_flyteidl_core_types_proto_msgTypes[9].OneofWrappers = []interface{}{ + (*PromiseAttribute_StringValue)(nil), + (*PromiseAttribute_IntValue)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_types_proto_rawDesc, + NumEnums: 3, + NumMessages: 14, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_types_proto_goTypes, + DependencyIndexes: file_flyteidl_core_types_proto_depIdxs, + EnumInfos: file_flyteidl_core_types_proto_enumTypes, + MessageInfos: file_flyteidl_core_types_proto_msgTypes, + }.Build() + File_flyteidl_core_types_proto = out.File + file_flyteidl_core_types_proto_rawDesc = nil + file_flyteidl_core_types_proto_goTypes = nil + file_flyteidl_core_types_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/types.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/types.swagger.json deleted file mode 100644 index 388060aaab..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/types.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/types.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go b/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go index 8ab1496330..cadfac4105 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go @@ -1,25 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/workflow.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Failure Handling Strategy type WorkflowMetadata_OnFailurePolicy int32 @@ -36,68 +36,97 @@ const ( WorkflowMetadata_FAIL_AFTER_EXECUTABLE_NODES_COMPLETE WorkflowMetadata_OnFailurePolicy = 1 ) -var WorkflowMetadata_OnFailurePolicy_name = map[int32]string{ - 0: "FAIL_IMMEDIATELY", - 1: "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE", -} +// Enum value maps for WorkflowMetadata_OnFailurePolicy. +var ( + WorkflowMetadata_OnFailurePolicy_name = map[int32]string{ + 0: "FAIL_IMMEDIATELY", + 1: "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE", + } + WorkflowMetadata_OnFailurePolicy_value = map[string]int32{ + "FAIL_IMMEDIATELY": 0, + "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE": 1, + } +) -var WorkflowMetadata_OnFailurePolicy_value = map[string]int32{ - "FAIL_IMMEDIATELY": 0, - "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE": 1, +func (x WorkflowMetadata_OnFailurePolicy) Enum() *WorkflowMetadata_OnFailurePolicy { + p := new(WorkflowMetadata_OnFailurePolicy) + *p = x + return p } func (x WorkflowMetadata_OnFailurePolicy) String() string { - return proto.EnumName(WorkflowMetadata_OnFailurePolicy_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (WorkflowMetadata_OnFailurePolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{13, 0} +func (WorkflowMetadata_OnFailurePolicy) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_core_workflow_proto_enumTypes[0].Descriptor() } -// Defines a condition and the execution unit that should be executed if the condition is satisfied. -type IfBlock struct { - Condition *BooleanExpression `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` - ThenNode *Node `protobuf:"bytes,2,opt,name=then_node,json=thenNode,proto3" json:"then_node,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (WorkflowMetadata_OnFailurePolicy) Type() protoreflect.EnumType { + return &file_flyteidl_core_workflow_proto_enumTypes[0] } -func (m *IfBlock) Reset() { *m = IfBlock{} } -func (m *IfBlock) String() string { return proto.CompactTextString(m) } -func (*IfBlock) ProtoMessage() {} -func (*IfBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{0} +func (x WorkflowMetadata_OnFailurePolicy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *IfBlock) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IfBlock.Unmarshal(m, b) +// Deprecated: Use WorkflowMetadata_OnFailurePolicy.Descriptor instead. +func (WorkflowMetadata_OnFailurePolicy) EnumDescriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{13, 0} } -func (m *IfBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IfBlock.Marshal(b, m, deterministic) + +// Defines a condition and the execution unit that should be executed if the condition is satisfied. +type IfBlock struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Condition *BooleanExpression `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` + ThenNode *Node `protobuf:"bytes,2,opt,name=then_node,json=thenNode,proto3" json:"then_node,omitempty"` } -func (m *IfBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_IfBlock.Merge(m, src) + +func (x *IfBlock) Reset() { + *x = IfBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IfBlock) XXX_Size() int { - return xxx_messageInfo_IfBlock.Size(m) + +func (x *IfBlock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IfBlock) XXX_DiscardUnknown() { - xxx_messageInfo_IfBlock.DiscardUnknown(m) + +func (*IfBlock) ProtoMessage() {} + +func (x *IfBlock) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IfBlock proto.InternalMessageInfo +// Deprecated: Use IfBlock.ProtoReflect.Descriptor instead. +func (*IfBlock) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{0} +} -func (m *IfBlock) GetCondition() *BooleanExpression { - if m != nil { - return m.Condition +func (x *IfBlock) GetCondition() *BooleanExpression { + if x != nil { + return x.Condition } return nil } -func (m *IfBlock) GetThenNode() *Node { - if m != nil { - return m.ThenNode +func (x *IfBlock) GetThenNode() *Node { + if x != nil { + return x.ThenNode } return nil } @@ -105,56 +134,86 @@ func (m *IfBlock) GetThenNode() *Node { // Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. // If no conditions were satisfied, the else_node or the error will execute. type IfElseBlock struct { - //+required. First condition to evaluate. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // +required. First condition to evaluate. Case *IfBlock `protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"` - //+optional. Additional branches to evaluate. + // +optional. Additional branches to evaluate. Other []*IfBlock `protobuf:"bytes,2,rep,name=other,proto3" json:"other,omitempty"` - //+required. + // +required. + // + // Types that are assignable to Default: // - // Types that are valid to be assigned to Default: // *IfElseBlock_ElseNode // *IfElseBlock_Error - Default isIfElseBlock_Default `protobuf_oneof:"default"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Default isIfElseBlock_Default `protobuf_oneof:"default"` } -func (m *IfElseBlock) Reset() { *m = IfElseBlock{} } -func (m *IfElseBlock) String() string { return proto.CompactTextString(m) } -func (*IfElseBlock) ProtoMessage() {} -func (*IfElseBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{1} +func (x *IfElseBlock) Reset() { + *x = IfElseBlock{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IfElseBlock) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IfElseBlock.Unmarshal(m, b) -} -func (m *IfElseBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IfElseBlock.Marshal(b, m, deterministic) +func (x *IfElseBlock) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IfElseBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_IfElseBlock.Merge(m, src) + +func (*IfElseBlock) ProtoMessage() {} + +func (x *IfElseBlock) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *IfElseBlock) XXX_Size() int { - return xxx_messageInfo_IfElseBlock.Size(m) + +// Deprecated: Use IfElseBlock.ProtoReflect.Descriptor instead. +func (*IfElseBlock) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{1} } -func (m *IfElseBlock) XXX_DiscardUnknown() { - xxx_messageInfo_IfElseBlock.DiscardUnknown(m) + +func (x *IfElseBlock) GetCase() *IfBlock { + if x != nil { + return x.Case + } + return nil } -var xxx_messageInfo_IfElseBlock proto.InternalMessageInfo +func (x *IfElseBlock) GetOther() []*IfBlock { + if x != nil { + return x.Other + } + return nil +} -func (m *IfElseBlock) GetCase() *IfBlock { +func (m *IfElseBlock) GetDefault() isIfElseBlock_Default { if m != nil { - return m.Case + return m.Default } return nil } -func (m *IfElseBlock) GetOther() []*IfBlock { - if m != nil { - return m.Other +func (x *IfElseBlock) GetElseNode() *Node { + if x, ok := x.GetDefault().(*IfElseBlock_ElseNode); ok { + return x.ElseNode + } + return nil +} + +func (x *IfElseBlock) GetError() *Error { + if x, ok := x.GetDefault().(*IfElseBlock_Error); ok { + return x.Error } return nil } @@ -164,10 +223,12 @@ type isIfElseBlock_Default interface { } type IfElseBlock_ElseNode struct { + // The node to execute in case none of the branches were taken. ElseNode *Node `protobuf:"bytes,3,opt,name=else_node,json=elseNode,proto3,oneof"` } type IfElseBlock_Error struct { + // An error to throw in case none of the branches were taken. Error *Error `protobuf:"bytes,4,opt,name=error,proto3,oneof"` } @@ -175,124 +236,102 @@ func (*IfElseBlock_ElseNode) isIfElseBlock_Default() {} func (*IfElseBlock_Error) isIfElseBlock_Default() {} -func (m *IfElseBlock) GetDefault() isIfElseBlock_Default { - if m != nil { - return m.Default - } - return nil -} +// BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at +// runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). +type BranchNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *IfElseBlock) GetElseNode() *Node { - if x, ok := m.GetDefault().(*IfElseBlock_ElseNode); ok { - return x.ElseNode - } - return nil + // +required + IfElse *IfElseBlock `protobuf:"bytes,1,opt,name=if_else,json=ifElse,proto3" json:"if_else,omitempty"` } -func (m *IfElseBlock) GetError() *Error { - if x, ok := m.GetDefault().(*IfElseBlock_Error); ok { - return x.Error +func (x *BranchNode) Reset() { + *x = BranchNode{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*IfElseBlock) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*IfElseBlock_ElseNode)(nil), - (*IfElseBlock_Error)(nil), - } +func (x *BranchNode) String() string { + return protoimpl.X.MessageStringOf(x) } -// BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at -// runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). -type BranchNode struct { - //+required - IfElse *IfElseBlock `protobuf:"bytes,1,opt,name=if_else,json=ifElse,proto3" json:"if_else,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*BranchNode) ProtoMessage() {} -func (m *BranchNode) Reset() { *m = BranchNode{} } -func (m *BranchNode) String() string { return proto.CompactTextString(m) } -func (*BranchNode) ProtoMessage() {} -func (*BranchNode) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{2} +func (x *BranchNode) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *BranchNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BranchNode.Unmarshal(m, b) -} -func (m *BranchNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BranchNode.Marshal(b, m, deterministic) -} -func (m *BranchNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_BranchNode.Merge(m, src) -} -func (m *BranchNode) XXX_Size() int { - return xxx_messageInfo_BranchNode.Size(m) -} -func (m *BranchNode) XXX_DiscardUnknown() { - xxx_messageInfo_BranchNode.DiscardUnknown(m) +// Deprecated: Use BranchNode.ProtoReflect.Descriptor instead. +func (*BranchNode) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{2} } -var xxx_messageInfo_BranchNode proto.InternalMessageInfo - -func (m *BranchNode) GetIfElse() *IfElseBlock { - if m != nil { - return m.IfElse +func (x *BranchNode) GetIfElse() *IfElseBlock { + if x != nil { + return x.IfElse } return nil } // Refers to the task that the Node is to execute. type TaskNode struct { - // Types that are valid to be assigned to Reference: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Reference: + // // *TaskNode_ReferenceId Reference isTaskNode_Reference `protobuf_oneof:"reference"` // Optional overrides applied at task execution time. - Overrides *TaskNodeOverrides `protobuf:"bytes,2,opt,name=overrides,proto3" json:"overrides,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Overrides *TaskNodeOverrides `protobuf:"bytes,2,opt,name=overrides,proto3" json:"overrides,omitempty"` } -func (m *TaskNode) Reset() { *m = TaskNode{} } -func (m *TaskNode) String() string { return proto.CompactTextString(m) } -func (*TaskNode) ProtoMessage() {} -func (*TaskNode) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{3} +func (x *TaskNode) Reset() { + *x = TaskNode{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskNode.Unmarshal(m, b) -} -func (m *TaskNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskNode.Marshal(b, m, deterministic) -} -func (m *TaskNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskNode.Merge(m, src) -} -func (m *TaskNode) XXX_Size() int { - return xxx_messageInfo_TaskNode.Size(m) -} -func (m *TaskNode) XXX_DiscardUnknown() { - xxx_messageInfo_TaskNode.DiscardUnknown(m) +func (x *TaskNode) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_TaskNode proto.InternalMessageInfo +func (*TaskNode) ProtoMessage() {} -type isTaskNode_Reference interface { - isTaskNode_Reference() +func (x *TaskNode) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type TaskNode_ReferenceId struct { - ReferenceId *Identifier `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3,oneof"` +// Deprecated: Use TaskNode.ProtoReflect.Descriptor instead. +func (*TaskNode) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{3} } -func (*TaskNode_ReferenceId) isTaskNode_Reference() {} - func (m *TaskNode) GetReference() isTaskNode_Reference { if m != nil { return m.Reference @@ -300,79 +339,76 @@ func (m *TaskNode) GetReference() isTaskNode_Reference { return nil } -func (m *TaskNode) GetReferenceId() *Identifier { - if x, ok := m.GetReference().(*TaskNode_ReferenceId); ok { +func (x *TaskNode) GetReferenceId() *Identifier { + if x, ok := x.GetReference().(*TaskNode_ReferenceId); ok { return x.ReferenceId } return nil } -func (m *TaskNode) GetOverrides() *TaskNodeOverrides { - if m != nil { - return m.Overrides +func (x *TaskNode) GetOverrides() *TaskNodeOverrides { + if x != nil { + return x.Overrides } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TaskNode) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TaskNode_ReferenceId)(nil), - } +type isTaskNode_Reference interface { + isTaskNode_Reference() +} + +type TaskNode_ReferenceId struct { + // A globally unique identifier for the task. + ReferenceId *Identifier `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3,oneof"` } +func (*TaskNode_ReferenceId) isTaskNode_Reference() {} + // Refers to a the workflow the node is to execute. type WorkflowNode struct { - // Types that are valid to be assigned to Reference: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Reference: + // // *WorkflowNode_LaunchplanRef // *WorkflowNode_SubWorkflowRef - Reference isWorkflowNode_Reference `protobuf_oneof:"reference"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reference isWorkflowNode_Reference `protobuf_oneof:"reference"` } -func (m *WorkflowNode) Reset() { *m = WorkflowNode{} } -func (m *WorkflowNode) String() string { return proto.CompactTextString(m) } -func (*WorkflowNode) ProtoMessage() {} -func (*WorkflowNode) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{4} +func (x *WorkflowNode) Reset() { + *x = WorkflowNode{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowNode.Unmarshal(m, b) -} -func (m *WorkflowNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowNode.Marshal(b, m, deterministic) -} -func (m *WorkflowNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowNode.Merge(m, src) -} -func (m *WorkflowNode) XXX_Size() int { - return xxx_messageInfo_WorkflowNode.Size(m) -} -func (m *WorkflowNode) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowNode.DiscardUnknown(m) +func (x *WorkflowNode) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_WorkflowNode proto.InternalMessageInfo +func (*WorkflowNode) ProtoMessage() {} -type isWorkflowNode_Reference interface { - isWorkflowNode_Reference() -} - -type WorkflowNode_LaunchplanRef struct { - LaunchplanRef *Identifier `protobuf:"bytes,1,opt,name=launchplan_ref,json=launchplanRef,proto3,oneof"` +func (x *WorkflowNode) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type WorkflowNode_SubWorkflowRef struct { - SubWorkflowRef *Identifier `protobuf:"bytes,2,opt,name=sub_workflow_ref,json=subWorkflowRef,proto3,oneof"` +// Deprecated: Use WorkflowNode.ProtoReflect.Descriptor instead. +func (*WorkflowNode) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{4} } -func (*WorkflowNode_LaunchplanRef) isWorkflowNode_Reference() {} - -func (*WorkflowNode_SubWorkflowRef) isWorkflowNode_Reference() {} - func (m *WorkflowNode) GetReference() isWorkflowNode_Reference { if m != nil { return m.Reference @@ -380,229 +416,250 @@ func (m *WorkflowNode) GetReference() isWorkflowNode_Reference { return nil } -func (m *WorkflowNode) GetLaunchplanRef() *Identifier { - if x, ok := m.GetReference().(*WorkflowNode_LaunchplanRef); ok { +func (x *WorkflowNode) GetLaunchplanRef() *Identifier { + if x, ok := x.GetReference().(*WorkflowNode_LaunchplanRef); ok { return x.LaunchplanRef } return nil } -func (m *WorkflowNode) GetSubWorkflowRef() *Identifier { - if x, ok := m.GetReference().(*WorkflowNode_SubWorkflowRef); ok { +func (x *WorkflowNode) GetSubWorkflowRef() *Identifier { + if x, ok := x.GetReference().(*WorkflowNode_SubWorkflowRef); ok { return x.SubWorkflowRef } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*WorkflowNode) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*WorkflowNode_LaunchplanRef)(nil), - (*WorkflowNode_SubWorkflowRef)(nil), - } +type isWorkflowNode_Reference interface { + isWorkflowNode_Reference() +} + +type WorkflowNode_LaunchplanRef struct { + // A globally unique identifier for the launch plan. + LaunchplanRef *Identifier `protobuf:"bytes,1,opt,name=launchplan_ref,json=launchplanRef,proto3,oneof"` +} + +type WorkflowNode_SubWorkflowRef struct { + // Reference to a subworkflow, that should be defined with the compiler context + SubWorkflowRef *Identifier `protobuf:"bytes,2,opt,name=sub_workflow_ref,json=subWorkflowRef,proto3,oneof"` } +func (*WorkflowNode_LaunchplanRef) isWorkflowNode_Reference() {} + +func (*WorkflowNode_SubWorkflowRef) isWorkflowNode_Reference() {} + // ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean // signal with the provided signal_id. type ApproveCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A unique identifier for the requested boolean signal. - SignalId string `protobuf:"bytes,1,opt,name=signal_id,json=signalId,proto3" json:"signal_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SignalId string `protobuf:"bytes,1,opt,name=signal_id,json=signalId,proto3" json:"signal_id,omitempty"` } -func (m *ApproveCondition) Reset() { *m = ApproveCondition{} } -func (m *ApproveCondition) String() string { return proto.CompactTextString(m) } -func (*ApproveCondition) ProtoMessage() {} -func (*ApproveCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{5} +func (x *ApproveCondition) Reset() { + *x = ApproveCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ApproveCondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApproveCondition.Unmarshal(m, b) -} -func (m *ApproveCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApproveCondition.Marshal(b, m, deterministic) +func (x *ApproveCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApproveCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApproveCondition.Merge(m, src) -} -func (m *ApproveCondition) XXX_Size() int { - return xxx_messageInfo_ApproveCondition.Size(m) -} -func (m *ApproveCondition) XXX_DiscardUnknown() { - xxx_messageInfo_ApproveCondition.DiscardUnknown(m) + +func (*ApproveCondition) ProtoMessage() {} + +func (x *ApproveCondition) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ApproveCondition proto.InternalMessageInfo +// Deprecated: Use ApproveCondition.ProtoReflect.Descriptor instead. +func (*ApproveCondition) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{5} +} -func (m *ApproveCondition) GetSignalId() string { - if m != nil { - return m.SignalId +func (x *ApproveCondition) GetSignalId() string { + if x != nil { + return x.SignalId } return "" } // SignalCondition represents a dependency on an signal. type SignalCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A unique identifier for the requested signal. SignalId string `protobuf:"bytes,1,opt,name=signal_id,json=signalId,proto3" json:"signal_id,omitempty"` // A type denoting the required value type for this signal. Type *LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The variable name for the signal value in this nodes outputs. - OutputVariableName string `protobuf:"bytes,3,opt,name=output_variable_name,json=outputVariableName,proto3" json:"output_variable_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutputVariableName string `protobuf:"bytes,3,opt,name=output_variable_name,json=outputVariableName,proto3" json:"output_variable_name,omitempty"` } -func (m *SignalCondition) Reset() { *m = SignalCondition{} } -func (m *SignalCondition) String() string { return proto.CompactTextString(m) } -func (*SignalCondition) ProtoMessage() {} -func (*SignalCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{6} +func (x *SignalCondition) Reset() { + *x = SignalCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SignalCondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignalCondition.Unmarshal(m, b) -} -func (m *SignalCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignalCondition.Marshal(b, m, deterministic) +func (x *SignalCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SignalCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignalCondition.Merge(m, src) -} -func (m *SignalCondition) XXX_Size() int { - return xxx_messageInfo_SignalCondition.Size(m) -} -func (m *SignalCondition) XXX_DiscardUnknown() { - xxx_messageInfo_SignalCondition.DiscardUnknown(m) + +func (*SignalCondition) ProtoMessage() {} + +func (x *SignalCondition) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SignalCondition proto.InternalMessageInfo +// Deprecated: Use SignalCondition.ProtoReflect.Descriptor instead. +func (*SignalCondition) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{6} +} -func (m *SignalCondition) GetSignalId() string { - if m != nil { - return m.SignalId +func (x *SignalCondition) GetSignalId() string { + if x != nil { + return x.SignalId } return "" } -func (m *SignalCondition) GetType() *LiteralType { - if m != nil { - return m.Type +func (x *SignalCondition) GetType() *LiteralType { + if x != nil { + return x.Type } return nil } -func (m *SignalCondition) GetOutputVariableName() string { - if m != nil { - return m.OutputVariableName +func (x *SignalCondition) GetOutputVariableName() string { + if x != nil { + return x.OutputVariableName } return "" } // SleepCondition represents a dependency on waiting for the specified duration. type SleepCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The overall duration for this sleep. - Duration *duration.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` } -func (m *SleepCondition) Reset() { *m = SleepCondition{} } -func (m *SleepCondition) String() string { return proto.CompactTextString(m) } -func (*SleepCondition) ProtoMessage() {} -func (*SleepCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{7} +func (x *SleepCondition) Reset() { + *x = SleepCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SleepCondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SleepCondition.Unmarshal(m, b) -} -func (m *SleepCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SleepCondition.Marshal(b, m, deterministic) -} -func (m *SleepCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_SleepCondition.Merge(m, src) -} -func (m *SleepCondition) XXX_Size() int { - return xxx_messageInfo_SleepCondition.Size(m) +func (x *SleepCondition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SleepCondition) XXX_DiscardUnknown() { - xxx_messageInfo_SleepCondition.DiscardUnknown(m) + +func (*SleepCondition) ProtoMessage() {} + +func (x *SleepCondition) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SleepCondition proto.InternalMessageInfo +// Deprecated: Use SleepCondition.ProtoReflect.Descriptor instead. +func (*SleepCondition) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{7} +} -func (m *SleepCondition) GetDuration() *duration.Duration { - if m != nil { - return m.Duration +func (x *SleepCondition) GetDuration() *durationpb.Duration { + if x != nil { + return x.Duration } return nil } // GateNode refers to the condition that is required for the gate to successfully complete. type GateNode struct { - // Types that are valid to be assigned to Condition: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Condition: + // // *GateNode_Approve // *GateNode_Signal // *GateNode_Sleep - Condition isGateNode_Condition `protobuf_oneof:"condition"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GateNode) Reset() { *m = GateNode{} } -func (m *GateNode) String() string { return proto.CompactTextString(m) } -func (*GateNode) ProtoMessage() {} -func (*GateNode) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{8} + Condition isGateNode_Condition `protobuf_oneof:"condition"` } -func (m *GateNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GateNode.Unmarshal(m, b) -} -func (m *GateNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GateNode.Marshal(b, m, deterministic) -} -func (m *GateNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_GateNode.Merge(m, src) -} -func (m *GateNode) XXX_Size() int { - return xxx_messageInfo_GateNode.Size(m) -} -func (m *GateNode) XXX_DiscardUnknown() { - xxx_messageInfo_GateNode.DiscardUnknown(m) +func (x *GateNode) Reset() { + *x = GateNode{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_GateNode proto.InternalMessageInfo - -type isGateNode_Condition interface { - isGateNode_Condition() +func (x *GateNode) String() string { + return protoimpl.X.MessageStringOf(x) } -type GateNode_Approve struct { - Approve *ApproveCondition `protobuf:"bytes,1,opt,name=approve,proto3,oneof"` -} +func (*GateNode) ProtoMessage() {} -type GateNode_Signal struct { - Signal *SignalCondition `protobuf:"bytes,2,opt,name=signal,proto3,oneof"` +func (x *GateNode) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type GateNode_Sleep struct { - Sleep *SleepCondition `protobuf:"bytes,3,opt,name=sleep,proto3,oneof"` +// Deprecated: Use GateNode.ProtoReflect.Descriptor instead. +func (*GateNode) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{8} } -func (*GateNode_Approve) isGateNode_Condition() {} - -func (*GateNode_Signal) isGateNode_Condition() {} - -func (*GateNode_Sleep) isGateNode_Condition() {} - func (m *GateNode) GetCondition() isGateNode_Condition { if m != nil { return m.Condition @@ -610,40 +667,60 @@ func (m *GateNode) GetCondition() isGateNode_Condition { return nil } -func (m *GateNode) GetApprove() *ApproveCondition { - if x, ok := m.GetCondition().(*GateNode_Approve); ok { +func (x *GateNode) GetApprove() *ApproveCondition { + if x, ok := x.GetCondition().(*GateNode_Approve); ok { return x.Approve } return nil } -func (m *GateNode) GetSignal() *SignalCondition { - if x, ok := m.GetCondition().(*GateNode_Signal); ok { +func (x *GateNode) GetSignal() *SignalCondition { + if x, ok := x.GetCondition().(*GateNode_Signal); ok { return x.Signal } return nil } -func (m *GateNode) GetSleep() *SleepCondition { - if x, ok := m.GetCondition().(*GateNode_Sleep); ok { +func (x *GateNode) GetSleep() *SleepCondition { + if x, ok := x.GetCondition().(*GateNode_Sleep); ok { return x.Sleep } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GateNode) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GateNode_Approve)(nil), - (*GateNode_Signal)(nil), - (*GateNode_Sleep)(nil), - } +type isGateNode_Condition interface { + isGateNode_Condition() +} + +type GateNode_Approve struct { + // ApproveCondition represents a dependency on an external approval provided by a boolean signal. + Approve *ApproveCondition `protobuf:"bytes,1,opt,name=approve,proto3,oneof"` +} + +type GateNode_Signal struct { + // SignalCondition represents a dependency on an signal. + Signal *SignalCondition `protobuf:"bytes,2,opt,name=signal,proto3,oneof"` +} + +type GateNode_Sleep struct { + // SleepCondition represents a dependency on waiting for the specified duration. + Sleep *SleepCondition `protobuf:"bytes,3,opt,name=sleep,proto3,oneof"` } +func (*GateNode_Approve) isGateNode_Condition() {} + +func (*GateNode_Signal) isGateNode_Condition() {} + +func (*GateNode_Sleep) isGateNode_Condition() {} + // ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input // values. An ArrayNode can be executed with configurable parallelism (separate from the parent // workflow) and can be configured to succeed when a certain number of sub-nodes succeed. type ArrayNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // node is the sub-node that will be executed for each element in the array. Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // parallelism defines the minimum number of instances to bring up concurrently at any given @@ -651,70 +728,59 @@ type ArrayNode struct { // other failures, the actual number of currently running instances might be more. This has to // be a positive number if assigned. Default value is size. Parallelism uint32 `protobuf:"varint,2,opt,name=parallelism,proto3" json:"parallelism,omitempty"` - // Types that are valid to be assigned to SuccessCriteria: + // Types that are assignable to SuccessCriteria: + // // *ArrayNode_MinSuccesses // *ArrayNode_MinSuccessRatio - SuccessCriteria isArrayNode_SuccessCriteria `protobuf_oneof:"success_criteria"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SuccessCriteria isArrayNode_SuccessCriteria `protobuf_oneof:"success_criteria"` } -func (m *ArrayNode) Reset() { *m = ArrayNode{} } -func (m *ArrayNode) String() string { return proto.CompactTextString(m) } -func (*ArrayNode) ProtoMessage() {} -func (*ArrayNode) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{9} +func (x *ArrayNode) Reset() { + *x = ArrayNode{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArrayNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArrayNode.Unmarshal(m, b) -} -func (m *ArrayNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArrayNode.Marshal(b, m, deterministic) -} -func (m *ArrayNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArrayNode.Merge(m, src) -} -func (m *ArrayNode) XXX_Size() int { - return xxx_messageInfo_ArrayNode.Size(m) -} -func (m *ArrayNode) XXX_DiscardUnknown() { - xxx_messageInfo_ArrayNode.DiscardUnknown(m) +func (x *ArrayNode) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ArrayNode proto.InternalMessageInfo - -func (m *ArrayNode) GetNode() *Node { - if m != nil { - return m.Node - } - return nil -} +func (*ArrayNode) ProtoMessage() {} -func (m *ArrayNode) GetParallelism() uint32 { - if m != nil { - return m.Parallelism +func (x *ArrayNode) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -type isArrayNode_SuccessCriteria interface { - isArrayNode_SuccessCriteria() +// Deprecated: Use ArrayNode.ProtoReflect.Descriptor instead. +func (*ArrayNode) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{9} } -type ArrayNode_MinSuccesses struct { - MinSuccesses uint32 `protobuf:"varint,3,opt,name=min_successes,json=minSuccesses,proto3,oneof"` +func (x *ArrayNode) GetNode() *Node { + if x != nil { + return x.Node + } + return nil } -type ArrayNode_MinSuccessRatio struct { - MinSuccessRatio float32 `protobuf:"fixed32,4,opt,name=min_success_ratio,json=minSuccessRatio,proto3,oneof"` +func (x *ArrayNode) GetParallelism() uint32 { + if x != nil { + return x.Parallelism + } + return 0 } -func (*ArrayNode_MinSuccesses) isArrayNode_SuccessCriteria() {} - -func (*ArrayNode_MinSuccessRatio) isArrayNode_SuccessCriteria() {} - func (m *ArrayNode) GetSuccessCriteria() isArrayNode_SuccessCriteria { if m != nil { return m.SuccessCriteria @@ -722,102 +788,115 @@ func (m *ArrayNode) GetSuccessCriteria() isArrayNode_SuccessCriteria { return nil } -func (m *ArrayNode) GetMinSuccesses() uint32 { - if x, ok := m.GetSuccessCriteria().(*ArrayNode_MinSuccesses); ok { +func (x *ArrayNode) GetMinSuccesses() uint32 { + if x, ok := x.GetSuccessCriteria().(*ArrayNode_MinSuccesses); ok { return x.MinSuccesses } return 0 } -func (m *ArrayNode) GetMinSuccessRatio() float32 { - if x, ok := m.GetSuccessCriteria().(*ArrayNode_MinSuccessRatio); ok { +func (x *ArrayNode) GetMinSuccessRatio() float32 { + if x, ok := x.GetSuccessCriteria().(*ArrayNode_MinSuccessRatio); ok { return x.MinSuccessRatio } return 0 } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ArrayNode) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ArrayNode_MinSuccesses)(nil), - (*ArrayNode_MinSuccessRatio)(nil), - } +type isArrayNode_SuccessCriteria interface { + isArrayNode_SuccessCriteria() +} + +type ArrayNode_MinSuccesses struct { + // min_successes is an absolute number of the minimum number of successful completions of + // sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful + // and outputs will be computed. This has to be a non-negative number if assigned. Default + // value is size (if specified). + MinSuccesses uint32 `protobuf:"varint,3,opt,name=min_successes,json=minSuccesses,proto3,oneof"` +} + +type ArrayNode_MinSuccessRatio struct { + // If the array job size is not known beforehand, the min_success_ratio can instead be used + // to determine when an ArrayNode can be marked successful. + MinSuccessRatio float32 `protobuf:"fixed32,4,opt,name=min_success_ratio,json=minSuccessRatio,proto3,oneof"` } +func (*ArrayNode_MinSuccesses) isArrayNode_SuccessCriteria() {} + +func (*ArrayNode_MinSuccessRatio) isArrayNode_SuccessCriteria() {} + // Defines extra information about the Node. type NodeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A friendly name for the Node Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The overall timeout of a task. - Timeout *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` + Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // Number of retries per task. Retries *RetryStrategy `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"` // Identify whether node is interruptible // - // Types that are valid to be assigned to InterruptibleValue: + // Types that are assignable to InterruptibleValue: + // // *NodeMetadata_Interruptible - InterruptibleValue isNodeMetadata_InterruptibleValue `protobuf_oneof:"interruptible_value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InterruptibleValue isNodeMetadata_InterruptibleValue `protobuf_oneof:"interruptible_value"` } -func (m *NodeMetadata) Reset() { *m = NodeMetadata{} } -func (m *NodeMetadata) String() string { return proto.CompactTextString(m) } -func (*NodeMetadata) ProtoMessage() {} -func (*NodeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{10} +func (x *NodeMetadata) Reset() { + *x = NodeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeMetadata.Unmarshal(m, b) +func (x *NodeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeMetadata.Marshal(b, m, deterministic) -} -func (m *NodeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeMetadata.Merge(m, src) -} -func (m *NodeMetadata) XXX_Size() int { - return xxx_messageInfo_NodeMetadata.Size(m) -} -func (m *NodeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_NodeMetadata.DiscardUnknown(m) + +func (*NodeMetadata) ProtoMessage() {} + +func (x *NodeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeMetadata proto.InternalMessageInfo +// Deprecated: Use NodeMetadata.ProtoReflect.Descriptor instead. +func (*NodeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{10} +} -func (m *NodeMetadata) GetName() string { - if m != nil { - return m.Name +func (x *NodeMetadata) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *NodeMetadata) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout +func (x *NodeMetadata) GetTimeout() *durationpb.Duration { + if x != nil { + return x.Timeout } return nil } -func (m *NodeMetadata) GetRetries() *RetryStrategy { - if m != nil { - return m.Retries +func (x *NodeMetadata) GetRetries() *RetryStrategy { + if x != nil { + return x.Retries } return nil } -type isNodeMetadata_InterruptibleValue interface { - isNodeMetadata_InterruptibleValue() -} - -type NodeMetadata_Interruptible struct { - Interruptible bool `protobuf:"varint,6,opt,name=interruptible,proto3,oneof"` -} - -func (*NodeMetadata_Interruptible) isNodeMetadata_InterruptibleValue() {} - func (m *NodeMetadata) GetInterruptibleValue() isNodeMetadata_InterruptibleValue { if m != nil { return m.InterruptibleValue @@ -825,66 +904,77 @@ func (m *NodeMetadata) GetInterruptibleValue() isNodeMetadata_InterruptibleValue return nil } -func (m *NodeMetadata) GetInterruptible() bool { - if x, ok := m.GetInterruptibleValue().(*NodeMetadata_Interruptible); ok { +func (x *NodeMetadata) GetInterruptible() bool { + if x, ok := x.GetInterruptibleValue().(*NodeMetadata_Interruptible); ok { return x.Interruptible } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*NodeMetadata) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*NodeMetadata_Interruptible)(nil), - } +type isNodeMetadata_InterruptibleValue interface { + isNodeMetadata_InterruptibleValue() +} + +type NodeMetadata_Interruptible struct { + Interruptible bool `protobuf:"varint,6,opt,name=interruptible,proto3,oneof"` } +func (*NodeMetadata_Interruptible) isNodeMetadata_InterruptibleValue() {} + // Links a variable to an alias. type Alias struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Must match one of the output variable names on a node. Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"` // A workflow-level unique alias that downstream nodes can refer to in their input. - Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` } -func (m *Alias) Reset() { *m = Alias{} } -func (m *Alias) String() string { return proto.CompactTextString(m) } -func (*Alias) ProtoMessage() {} -func (*Alias) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{11} +func (x *Alias) Reset() { + *x = Alias{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Alias) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Alias.Unmarshal(m, b) -} -func (m *Alias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Alias.Marshal(b, m, deterministic) +func (x *Alias) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Alias) XXX_Merge(src proto.Message) { - xxx_messageInfo_Alias.Merge(m, src) -} -func (m *Alias) XXX_Size() int { - return xxx_messageInfo_Alias.Size(m) -} -func (m *Alias) XXX_DiscardUnknown() { - xxx_messageInfo_Alias.DiscardUnknown(m) + +func (*Alias) ProtoMessage() {} + +func (x *Alias) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Alias proto.InternalMessageInfo +// Deprecated: Use Alias.ProtoReflect.Descriptor instead. +func (*Alias) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{11} +} -func (m *Alias) GetVar() string { - if m != nil { - return m.Var +func (x *Alias) GetVar() string { + if x != nil { + return x.Var } return "" } -func (m *Alias) GetAlias() string { - if m != nil { - return m.Alias +func (x *Alias) GetAlias() string { + if x != nil { + return x.Alias } return "" } @@ -892,6 +982,10 @@ func (m *Alias) GetAlias() string { // A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch // node. type Node struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved // node ids that cannot be used by other nodes. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -900,84 +994,131 @@ type Node struct { // Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface // must be fulfilled. Inputs []*Binding `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` - //+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its + // +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its // upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs // field. UpstreamNodeIds []string `protobuf:"bytes,4,rep,name=upstream_node_ids,json=upstreamNodeIds,proto3" json:"upstream_node_ids,omitempty"` - //+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes + // +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes // need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this // nodes outputs using the alias if one's specified. OutputAliases []*Alias `protobuf:"bytes,5,rep,name=output_aliases,json=outputAliases,proto3" json:"output_aliases,omitempty"` // Information about the target to execute in this node. // - // Types that are valid to be assigned to Target: + // Types that are assignable to Target: + // // *Node_TaskNode // *Node_WorkflowNode // *Node_BranchNode // *Node_GateNode // *Node_ArrayNode - Target isNode_Target `protobuf_oneof:"target"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Target isNode_Target `protobuf_oneof:"target"` } -func (m *Node) Reset() { *m = Node{} } -func (m *Node) String() string { return proto.CompactTextString(m) } -func (*Node) ProtoMessage() {} -func (*Node) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{12} +func (x *Node) Reset() { + *x = Node{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Node) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Node) ProtoMessage() {} + +func (x *Node) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Node) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Node.Unmarshal(m, b) +// Deprecated: Use Node.ProtoReflect.Descriptor instead. +func (*Node) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{12} } -func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Node.Marshal(b, m, deterministic) + +func (x *Node) GetId() string { + if x != nil { + return x.Id + } + return "" } -func (m *Node) XXX_Merge(src proto.Message) { - xxx_messageInfo_Node.Merge(m, src) + +func (x *Node) GetMetadata() *NodeMetadata { + if x != nil { + return x.Metadata + } + return nil } -func (m *Node) XXX_Size() int { - return xxx_messageInfo_Node.Size(m) + +func (x *Node) GetInputs() []*Binding { + if x != nil { + return x.Inputs + } + return nil } -func (m *Node) XXX_DiscardUnknown() { - xxx_messageInfo_Node.DiscardUnknown(m) + +func (x *Node) GetUpstreamNodeIds() []string { + if x != nil { + return x.UpstreamNodeIds + } + return nil } -var xxx_messageInfo_Node proto.InternalMessageInfo +func (x *Node) GetOutputAliases() []*Alias { + if x != nil { + return x.OutputAliases + } + return nil +} -func (m *Node) GetId() string { +func (m *Node) GetTarget() isNode_Target { if m != nil { - return m.Id + return m.Target } - return "" + return nil } -func (m *Node) GetMetadata() *NodeMetadata { - if m != nil { - return m.Metadata +func (x *Node) GetTaskNode() *TaskNode { + if x, ok := x.GetTarget().(*Node_TaskNode); ok { + return x.TaskNode } return nil } -func (m *Node) GetInputs() []*Binding { - if m != nil { - return m.Inputs +func (x *Node) GetWorkflowNode() *WorkflowNode { + if x, ok := x.GetTarget().(*Node_WorkflowNode); ok { + return x.WorkflowNode } return nil } -func (m *Node) GetUpstreamNodeIds() []string { - if m != nil { - return m.UpstreamNodeIds +func (x *Node) GetBranchNode() *BranchNode { + if x, ok := x.GetTarget().(*Node_BranchNode); ok { + return x.BranchNode } return nil } -func (m *Node) GetOutputAliases() []*Alias { - if m != nil { - return m.OutputAliases +func (x *Node) GetGateNode() *GateNode { + if x, ok := x.GetTarget().(*Node_GateNode); ok { + return x.GateNode + } + return nil +} + +func (x *Node) GetArrayNode() *ArrayNode { + if x, ok := x.GetTarget().(*Node_ArrayNode); ok { + return x.ArrayNode } return nil } @@ -987,22 +1128,28 @@ type isNode_Target interface { } type Node_TaskNode struct { + // Information about the Task to execute in this node. TaskNode *TaskNode `protobuf:"bytes,6,opt,name=task_node,json=taskNode,proto3,oneof"` } type Node_WorkflowNode struct { + // Information about the Workflow to execute in this mode. WorkflowNode *WorkflowNode `protobuf:"bytes,7,opt,name=workflow_node,json=workflowNode,proto3,oneof"` } type Node_BranchNode struct { + // Information about the branch node to evaluate in this node. BranchNode *BranchNode `protobuf:"bytes,8,opt,name=branch_node,json=branchNode,proto3,oneof"` } type Node_GateNode struct { + // Information about the condition to evaluate in this node. GateNode *GateNode `protobuf:"bytes,9,opt,name=gate_node,json=gateNode,proto3,oneof"` } type Node_ArrayNode struct { + // Information about the sub-node executions for each value in the list of this nodes + // inputs values. ArrayNode *ArrayNode `protobuf:"bytes,10,opt,name=array_node,json=arrayNode,proto3,oneof"` } @@ -1016,115 +1163,70 @@ func (*Node_GateNode) isNode_Target() {} func (*Node_ArrayNode) isNode_Target() {} -func (m *Node) GetTarget() isNode_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *Node) GetTaskNode() *TaskNode { - if x, ok := m.GetTarget().(*Node_TaskNode); ok { - return x.TaskNode - } - return nil -} - -func (m *Node) GetWorkflowNode() *WorkflowNode { - if x, ok := m.GetTarget().(*Node_WorkflowNode); ok { - return x.WorkflowNode - } - return nil -} - -func (m *Node) GetBranchNode() *BranchNode { - if x, ok := m.GetTarget().(*Node_BranchNode); ok { - return x.BranchNode - } - return nil -} - -func (m *Node) GetGateNode() *GateNode { - if x, ok := m.GetTarget().(*Node_GateNode); ok { - return x.GateNode - } - return nil -} - -func (m *Node) GetArrayNode() *ArrayNode { - if x, ok := m.GetTarget().(*Node_ArrayNode); ok { - return x.ArrayNode - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Node) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Node_TaskNode)(nil), - (*Node_WorkflowNode)(nil), - (*Node_BranchNode)(nil), - (*Node_GateNode)(nil), - (*Node_ArrayNode)(nil), - } -} - // This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not // percolate down to child entities (like tasks) launched by the workflow. type WorkflowMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates the runtime priority of workflow executions. QualityOfService *QualityOfService `protobuf:"bytes,1,opt,name=quality_of_service,json=qualityOfService,proto3" json:"quality_of_service,omitempty"` // Defines how the system should behave when a failure is detected in the workflow execution. OnFailure WorkflowMetadata_OnFailurePolicy `protobuf:"varint,2,opt,name=on_failure,json=onFailure,proto3,enum=flyteidl.core.WorkflowMetadata_OnFailurePolicy" json:"on_failure,omitempty"` // Arbitrary tags that allow users and the platform to store small but arbitrary labels - Tags map[string]string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Tags map[string]string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *WorkflowMetadata) Reset() { *m = WorkflowMetadata{} } -func (m *WorkflowMetadata) String() string { return proto.CompactTextString(m) } -func (*WorkflowMetadata) ProtoMessage() {} -func (*WorkflowMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{13} +func (x *WorkflowMetadata) Reset() { + *x = WorkflowMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowMetadata.Unmarshal(m, b) -} -func (m *WorkflowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowMetadata.Marshal(b, m, deterministic) -} -func (m *WorkflowMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowMetadata.Merge(m, src) -} -func (m *WorkflowMetadata) XXX_Size() int { - return xxx_messageInfo_WorkflowMetadata.Size(m) +func (x *WorkflowMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowMetadata.DiscardUnknown(m) + +func (*WorkflowMetadata) ProtoMessage() {} + +func (x *WorkflowMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowMetadata proto.InternalMessageInfo +// Deprecated: Use WorkflowMetadata.ProtoReflect.Descriptor instead. +func (*WorkflowMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{13} +} -func (m *WorkflowMetadata) GetQualityOfService() *QualityOfService { - if m != nil { - return m.QualityOfService +func (x *WorkflowMetadata) GetQualityOfService() *QualityOfService { + if x != nil { + return x.QualityOfService } return nil } -func (m *WorkflowMetadata) GetOnFailure() WorkflowMetadata_OnFailurePolicy { - if m != nil { - return m.OnFailure +func (x *WorkflowMetadata) GetOnFailure() WorkflowMetadata_OnFailurePolicy { + if x != nil { + return x.OnFailure } return WorkflowMetadata_FAIL_IMMEDIATELY } -func (m *WorkflowMetadata) GetTags() map[string]string { - if m != nil { - return m.Tags +func (x *WorkflowMetadata) GetTags() map[string]string { + if x != nil { + return x.Tags } return nil } @@ -1136,41 +1238,49 @@ func (m *WorkflowMetadata) GetTags() map[string]string { // If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be // added to both this object and the WorkflowMetadata object above. type WorkflowMetadataDefaults struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Whether child nodes of the workflow are interruptible. - Interruptible bool `protobuf:"varint,1,opt,name=interruptible,proto3" json:"interruptible,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Interruptible bool `protobuf:"varint,1,opt,name=interruptible,proto3" json:"interruptible,omitempty"` } -func (m *WorkflowMetadataDefaults) Reset() { *m = WorkflowMetadataDefaults{} } -func (m *WorkflowMetadataDefaults) String() string { return proto.CompactTextString(m) } -func (*WorkflowMetadataDefaults) ProtoMessage() {} -func (*WorkflowMetadataDefaults) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{14} +func (x *WorkflowMetadataDefaults) Reset() { + *x = WorkflowMetadataDefaults{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowMetadataDefaults) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowMetadataDefaults.Unmarshal(m, b) -} -func (m *WorkflowMetadataDefaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowMetadataDefaults.Marshal(b, m, deterministic) +func (x *WorkflowMetadataDefaults) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowMetadataDefaults) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowMetadataDefaults.Merge(m, src) -} -func (m *WorkflowMetadataDefaults) XXX_Size() int { - return xxx_messageInfo_WorkflowMetadataDefaults.Size(m) -} -func (m *WorkflowMetadataDefaults) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowMetadataDefaults.DiscardUnknown(m) + +func (*WorkflowMetadataDefaults) ProtoMessage() {} + +func (x *WorkflowMetadataDefaults) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowMetadataDefaults proto.InternalMessageInfo +// Deprecated: Use WorkflowMetadataDefaults.ProtoReflect.Descriptor instead. +func (*WorkflowMetadataDefaults) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{14} +} -func (m *WorkflowMetadataDefaults) GetInterruptible() bool { - if m != nil { - return m.Interruptible +func (x *WorkflowMetadataDefaults) GetInterruptible() bool { + if x != nil { + return x.Interruptible } return false } @@ -1178,6 +1288,10 @@ func (m *WorkflowMetadataDefaults) GetInterruptible() bool { // Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, // directed acyclic graph. type WorkflowTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A globally unique identifier for the workflow. Id *Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Extra metadata about the workflow. @@ -1194,259 +1308,752 @@ type WorkflowTemplate struct { // just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling // outputs from the output of a task. Outputs []*Binding `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"` - //+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. + // +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. // The interface of this node must match the Workflow interface with an additional input named 'error' of type // pb.lyft.flyte.core.Error. FailureNode *Node `protobuf:"bytes,6,opt,name=failure_node,json=failureNode,proto3" json:"failure_node,omitempty"` // workflow defaults - MetadataDefaults *WorkflowMetadataDefaults `protobuf:"bytes,7,opt,name=metadata_defaults,json=metadataDefaults,proto3" json:"metadata_defaults,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MetadataDefaults *WorkflowMetadataDefaults `protobuf:"bytes,7,opt,name=metadata_defaults,json=metadataDefaults,proto3" json:"metadata_defaults,omitempty"` } -func (m *WorkflowTemplate) Reset() { *m = WorkflowTemplate{} } -func (m *WorkflowTemplate) String() string { return proto.CompactTextString(m) } -func (*WorkflowTemplate) ProtoMessage() {} -func (*WorkflowTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{15} +func (x *WorkflowTemplate) Reset() { + *x = WorkflowTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowTemplate.Unmarshal(m, b) -} -func (m *WorkflowTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowTemplate.Marshal(b, m, deterministic) -} -func (m *WorkflowTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowTemplate.Merge(m, src) -} -func (m *WorkflowTemplate) XXX_Size() int { - return xxx_messageInfo_WorkflowTemplate.Size(m) +func (x *WorkflowTemplate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowTemplate.DiscardUnknown(m) + +func (*WorkflowTemplate) ProtoMessage() {} + +func (x *WorkflowTemplate) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowTemplate proto.InternalMessageInfo +// Deprecated: Use WorkflowTemplate.ProtoReflect.Descriptor instead. +func (*WorkflowTemplate) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{15} +} -func (m *WorkflowTemplate) GetId() *Identifier { - if m != nil { - return m.Id +func (x *WorkflowTemplate) GetId() *Identifier { + if x != nil { + return x.Id } return nil } -func (m *WorkflowTemplate) GetMetadata() *WorkflowMetadata { - if m != nil { - return m.Metadata +func (x *WorkflowTemplate) GetMetadata() *WorkflowMetadata { + if x != nil { + return x.Metadata } return nil } -func (m *WorkflowTemplate) GetInterface() *TypedInterface { - if m != nil { - return m.Interface +func (x *WorkflowTemplate) GetInterface() *TypedInterface { + if x != nil { + return x.Interface } return nil } -func (m *WorkflowTemplate) GetNodes() []*Node { - if m != nil { - return m.Nodes +func (x *WorkflowTemplate) GetNodes() []*Node { + if x != nil { + return x.Nodes } return nil } -func (m *WorkflowTemplate) GetOutputs() []*Binding { - if m != nil { - return m.Outputs +func (x *WorkflowTemplate) GetOutputs() []*Binding { + if x != nil { + return x.Outputs } return nil } -func (m *WorkflowTemplate) GetFailureNode() *Node { - if m != nil { - return m.FailureNode +func (x *WorkflowTemplate) GetFailureNode() *Node { + if x != nil { + return x.FailureNode } return nil } -func (m *WorkflowTemplate) GetMetadataDefaults() *WorkflowMetadataDefaults { - if m != nil { - return m.MetadataDefaults +func (x *WorkflowTemplate) GetMetadataDefaults() *WorkflowMetadataDefaults { + if x != nil { + return x.MetadataDefaults } return nil } // Optional task node overrides that will be applied at task execution time. type TaskNodeOverrides struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A customizable interface to convey resources requested for a task container. Resources *Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` // Overrides for all non-standard resources, not captured by // v1.ResourceRequirements, to allocate to a task. - ExtendedResources *ExtendedResources `protobuf:"bytes,2,opt,name=extended_resources,json=extendedResources,proto3" json:"extended_resources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExtendedResources *ExtendedResources `protobuf:"bytes,2,opt,name=extended_resources,json=extendedResources,proto3" json:"extended_resources,omitempty"` } -func (m *TaskNodeOverrides) Reset() { *m = TaskNodeOverrides{} } -func (m *TaskNodeOverrides) String() string { return proto.CompactTextString(m) } -func (*TaskNodeOverrides) ProtoMessage() {} -func (*TaskNodeOverrides) Descriptor() ([]byte, []int) { - return fileDescriptor_fccede37486c456e, []int{16} +func (x *TaskNodeOverrides) Reset() { + *x = TaskNodeOverrides{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskNodeOverrides) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskNodeOverrides.Unmarshal(m, b) -} -func (m *TaskNodeOverrides) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskNodeOverrides.Marshal(b, m, deterministic) +func (x *TaskNodeOverrides) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskNodeOverrides) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskNodeOverrides.Merge(m, src) -} -func (m *TaskNodeOverrides) XXX_Size() int { - return xxx_messageInfo_TaskNodeOverrides.Size(m) -} -func (m *TaskNodeOverrides) XXX_DiscardUnknown() { - xxx_messageInfo_TaskNodeOverrides.DiscardUnknown(m) + +func (*TaskNodeOverrides) ProtoMessage() {} + +func (x *TaskNodeOverrides) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskNodeOverrides proto.InternalMessageInfo +// Deprecated: Use TaskNodeOverrides.ProtoReflect.Descriptor instead. +func (*TaskNodeOverrides) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_proto_rawDescGZIP(), []int{16} +} -func (m *TaskNodeOverrides) GetResources() *Resources { - if m != nil { - return m.Resources +func (x *TaskNodeOverrides) GetResources() *Resources { + if x != nil { + return x.Resources } return nil } -func (m *TaskNodeOverrides) GetExtendedResources() *ExtendedResources { - if m != nil { - return m.ExtendedResources +func (x *TaskNodeOverrides) GetExtendedResources() *ExtendedResources { + if x != nil { + return x.ExtendedResources } return nil } -func init() { - proto.RegisterEnum("flyteidl.core.WorkflowMetadata_OnFailurePolicy", WorkflowMetadata_OnFailurePolicy_name, WorkflowMetadata_OnFailurePolicy_value) - proto.RegisterType((*IfBlock)(nil), "flyteidl.core.IfBlock") - proto.RegisterType((*IfElseBlock)(nil), "flyteidl.core.IfElseBlock") - proto.RegisterType((*BranchNode)(nil), "flyteidl.core.BranchNode") - proto.RegisterType((*TaskNode)(nil), "flyteidl.core.TaskNode") - proto.RegisterType((*WorkflowNode)(nil), "flyteidl.core.WorkflowNode") - proto.RegisterType((*ApproveCondition)(nil), "flyteidl.core.ApproveCondition") - proto.RegisterType((*SignalCondition)(nil), "flyteidl.core.SignalCondition") - proto.RegisterType((*SleepCondition)(nil), "flyteidl.core.SleepCondition") - proto.RegisterType((*GateNode)(nil), "flyteidl.core.GateNode") - proto.RegisterType((*ArrayNode)(nil), "flyteidl.core.ArrayNode") - proto.RegisterType((*NodeMetadata)(nil), "flyteidl.core.NodeMetadata") - proto.RegisterType((*Alias)(nil), "flyteidl.core.Alias") - proto.RegisterType((*Node)(nil), "flyteidl.core.Node") - proto.RegisterType((*WorkflowMetadata)(nil), "flyteidl.core.WorkflowMetadata") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.core.WorkflowMetadata.TagsEntry") - proto.RegisterType((*WorkflowMetadataDefaults)(nil), "flyteidl.core.WorkflowMetadataDefaults") - proto.RegisterType((*WorkflowTemplate)(nil), "flyteidl.core.WorkflowTemplate") - proto.RegisterType((*TaskNodeOverrides)(nil), "flyteidl.core.TaskNodeOverrides") -} - -func init() { proto.RegisterFile("flyteidl/core/workflow.proto", fileDescriptor_fccede37486c456e) } - -var fileDescriptor_fccede37486c456e = []byte{ - // 1473 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0x4d, 0x6f, 0xdb, 0xcc, - 0x11, 0x96, 0x64, 0xd9, 0x16, 0xc7, 0x96, 0x2d, 0x6f, 0xdc, 0x56, 0xf9, 0x36, 0x88, 0xb4, 0x71, - 0x82, 0x54, 0x0a, 0x12, 0xc4, 0x49, 0xe3, 0x34, 0xa8, 0x14, 0x2b, 0x91, 0x00, 0x7f, 0x24, 0x6b, - 0xf5, 0xf3, 0x42, 0xac, 0xc8, 0xa1, 0xbc, 0x30, 0x45, 0x2a, 0xcb, 0xa5, 0x13, 0xa1, 0x7f, 0xa2, - 0xb7, 0x5e, 0x0a, 0x14, 0xe8, 0xa1, 0x7f, 0xa3, 0xa7, 0x5e, 0xdf, 0xd3, 0xfb, 0x73, 0xde, 0xc3, - 0x8b, 0x5d, 0x7e, 0xc8, 0xa2, 0xa5, 0x38, 0x37, 0xee, 0xce, 0x33, 0xc3, 0xd9, 0xd9, 0x79, 0x9e, - 0x21, 0xe1, 0x8e, 0xeb, 0x4d, 0x24, 0x72, 0xc7, 0x6b, 0xda, 0x81, 0xc0, 0xe6, 0x97, 0x40, 0x9c, - 0xbb, 0x5e, 0xf0, 0xa5, 0x31, 0x16, 0x81, 0x0c, 0x48, 0x35, 0xb5, 0x36, 0x94, 0xf5, 0xd6, 0xdd, - 0x59, 0xb0, 0x1d, 0xf8, 0x0e, 0x97, 0x3c, 0xf0, 0x63, 0x74, 0xde, 0x8c, 0x5f, 0xd1, 0x8e, 0x2e, - 0x99, 0xef, 0xcd, 0x9a, 0xb9, 0x83, 0xbe, 0xe4, 0x2e, 0x47, 0x31, 0xdf, 0x9d, 0xfb, 0x12, 0x85, - 0xcb, 0x6c, 0x4c, 0xcc, 0xb9, 0x4c, 0x3d, 0x2e, 0x51, 0x30, 0x2f, 0x4c, 0xac, 0x37, 0x67, 0xad, - 0x92, 0x85, 0xe7, 0x8b, 0x4c, 0x93, 0x31, 0x86, 0xf3, 0x63, 0x86, 0x68, 0x47, 0x82, 0xcb, 0x49, - 0x9a, 0xf0, 0x30, 0x08, 0x86, 0x1e, 0x36, 0xf5, 0x6a, 0x10, 0xb9, 0x4d, 0x27, 0x12, 0x6c, 0x7a, - 0x20, 0xf3, 0xef, 0xb0, 0xda, 0x73, 0xdb, 0x5e, 0x60, 0x9f, 0x93, 0xb7, 0x60, 0x64, 0xd5, 0xa8, - 0x17, 0x77, 0x8a, 0xbb, 0x6b, 0xcf, 0x76, 0x1a, 0x33, 0xc5, 0x6b, 0xb4, 0x83, 0xc0, 0x43, 0xe6, - 0x77, 0xbe, 0x8e, 0x05, 0x86, 0x21, 0x0f, 0x7c, 0x3a, 0x75, 0x21, 0x4f, 0xc1, 0x90, 0x67, 0xe8, - 0x5b, 0x7e, 0xe0, 0x60, 0xbd, 0xa4, 0xfd, 0x6f, 0xe4, 0xfc, 0x8f, 0x03, 0x07, 0x69, 0x45, 0xa1, - 0xd4, 0x93, 0xf9, 0x63, 0x11, 0xd6, 0x7a, 0x6e, 0xc7, 0x0b, 0x31, 0xce, 0xe0, 0x31, 0x94, 0x6d, - 0x16, 0x62, 0xf2, 0xf2, 0x5f, 0xe6, 0x9c, 0x93, 0x3c, 0xa9, 0xc6, 0x90, 0x27, 0xb0, 0x1c, 0xc8, - 0x33, 0x14, 0xf5, 0xd2, 0xce, 0xd2, 0x37, 0xc0, 0x31, 0x88, 0x3c, 0x03, 0x03, 0xbd, 0x10, 0xe3, - 0xdc, 0x96, 0x16, 0xe6, 0xd6, 0x2d, 0xd0, 0x8a, 0xc2, 0xa9, 0x67, 0xf5, 0x06, 0x14, 0x22, 0x10, - 0xf5, 0xb2, 0xc6, 0x6f, 0xe7, 0xf0, 0x1d, 0x65, 0xeb, 0x16, 0x68, 0x0c, 0x6a, 0x1b, 0xb0, 0xea, - 0xa0, 0xcb, 0x22, 0x4f, 0x9a, 0x2d, 0x80, 0xb6, 0x60, 0xbe, 0x7d, 0xa6, 0xc3, 0x3c, 0x87, 0x55, - 0xee, 0x5a, 0x2a, 0x6a, 0x72, 0xae, 0x5b, 0x57, 0x52, 0xcd, 0x2a, 0x40, 0x57, 0xb8, 0x5e, 0x98, - 0xff, 0x2c, 0x42, 0xa5, 0xcf, 0xc2, 0x73, 0x1d, 0xe1, 0x2d, 0xac, 0x0b, 0x74, 0x51, 0xa0, 0x6f, - 0xa3, 0xc5, 0x9d, 0x24, 0xcc, 0xcd, 0x7c, 0x98, 0xac, 0x17, 0xbb, 0x05, 0xba, 0x96, 0x39, 0xf4, - 0x1c, 0x75, 0xb1, 0xc1, 0x05, 0x0a, 0xc1, 0x1d, 0x0c, 0x93, 0x8b, 0xc9, 0x5f, 0x6c, 0xfa, 0xae, - 0x93, 0x14, 0x47, 0xa7, 0x2e, 0xed, 0x35, 0x30, 0xb2, 0x70, 0xe6, 0x7f, 0x8b, 0xb0, 0xfe, 0xe7, - 0x84, 0x61, 0x3a, 0xbb, 0x36, 0x6c, 0x78, 0x2c, 0xf2, 0xed, 0xb3, 0xb1, 0xc7, 0x7c, 0x4b, 0xa0, - 0xfb, 0x3d, 0xf9, 0x55, 0xa7, 0x2e, 0x14, 0x5d, 0xd2, 0x81, 0x5a, 0x18, 0x0d, 0xac, 0x94, 0xb9, - 0x3a, 0x4a, 0xe9, 0xfa, 0x28, 0x1b, 0x61, 0x34, 0x48, 0x73, 0xa1, 0xe8, 0xce, 0x26, 0xda, 0x84, - 0x5a, 0x6b, 0x3c, 0x16, 0xc1, 0x05, 0xbe, 0xcb, 0x5a, 0xf4, 0x36, 0x18, 0x21, 0x1f, 0xfa, 0xcc, - 0x4b, 0xcb, 0x68, 0xd0, 0x4a, 0xbc, 0xd1, 0x73, 0xcc, 0x7f, 0x14, 0x61, 0xf3, 0x54, 0x2f, 0xbe, - 0xcf, 0x81, 0x34, 0xa0, 0xac, 0x88, 0x98, 0x64, 0x9a, 0xbf, 0xd6, 0xc3, 0x98, 0xdc, 0xfd, 0xc9, - 0x18, 0xa9, 0xc6, 0x91, 0xa7, 0xb0, 0x1d, 0x44, 0x72, 0x1c, 0x49, 0xeb, 0x82, 0x09, 0xce, 0x06, - 0x1e, 0x5a, 0x3e, 0x1b, 0xc5, 0xfd, 0x68, 0x50, 0x12, 0xdb, 0xfe, 0x94, 0x98, 0x8e, 0xd9, 0x08, - 0xcd, 0x0f, 0xb0, 0x71, 0xea, 0x21, 0x8e, 0xa7, 0x09, 0xbd, 0x80, 0x4a, 0xca, 0xe0, 0xac, 0xce, - 0x31, 0xc5, 0x1b, 0x29, 0xc5, 0x1b, 0x07, 0x09, 0x80, 0x66, 0x50, 0xf3, 0xff, 0x45, 0xa8, 0x7c, - 0x60, 0x32, 0x6e, 0xec, 0x7d, 0x58, 0x65, 0x71, 0x65, 0x92, 0x10, 0xf7, 0x73, 0xa9, 0xe7, 0xeb, - 0xd6, 0x2d, 0xd0, 0xd4, 0x83, 0xbc, 0x82, 0x95, 0xb8, 0x00, 0xc9, 0xb1, 0xef, 0xe5, 0x7c, 0x73, - 0x15, 0xec, 0x16, 0x68, 0x82, 0x27, 0x2f, 0x60, 0x39, 0x54, 0x87, 0x49, 0xf8, 0x77, 0x37, 0xef, - 0x38, 0x73, 0x50, 0x45, 0x2c, 0x8d, 0x56, 0x97, 0x9a, 0x69, 0x8c, 0xf9, 0xbf, 0x22, 0x18, 0x2d, - 0x21, 0xd8, 0x44, 0x1f, 0xe4, 0x21, 0x94, 0x35, 0xa1, 0x8b, 0x8b, 0xc5, 0x46, 0x03, 0xc8, 0x0e, - 0xac, 0x8d, 0x99, 0x60, 0x9e, 0x87, 0x1e, 0x0f, 0x47, 0x3a, 0xf3, 0x2a, 0xbd, 0xbc, 0x45, 0x7e, - 0x0d, 0xd5, 0x11, 0xf7, 0xad, 0x30, 0xb2, 0x6d, 0x0c, 0x43, 0x0c, 0x75, 0x92, 0xd5, 0x6e, 0x81, - 0xae, 0x8f, 0xb8, 0x7f, 0x9a, 0xee, 0x92, 0x27, 0xb0, 0x75, 0x09, 0x66, 0xe9, 0xea, 0x6a, 0x7d, - 0x28, 0x75, 0x0b, 0x74, 0x73, 0x0a, 0xa5, 0xca, 0xd0, 0x26, 0xaa, 0xad, 0x63, 0xa4, 0x2d, 0x54, - 0x3b, 0x70, 0x66, 0xfe, 0x50, 0x84, 0x75, 0x95, 0xd9, 0x11, 0x4a, 0xe6, 0x30, 0xc9, 0x08, 0x81, - 0xb2, 0xee, 0x82, 0xb8, 0xbb, 0xf4, 0xb3, 0xd2, 0x0c, 0xc9, 0x47, 0x18, 0x44, 0x32, 0x11, 0x9f, - 0x6f, 0x5c, 0x72, 0x8a, 0x24, 0x7b, 0xb0, 0x2a, 0x50, 0x0a, 0x8e, 0x61, 0x7d, 0x59, 0x3b, 0xdd, - 0xc9, 0x15, 0x84, 0xa2, 0x14, 0x93, 0x53, 0x29, 0x98, 0xc4, 0xe1, 0x84, 0xa6, 0x60, 0xf2, 0x1b, - 0xa8, 0xea, 0x39, 0x25, 0xa2, 0xb1, 0xe4, 0x03, 0x0f, 0xeb, 0x2b, 0x3b, 0xc5, 0xdd, 0x8a, 0x22, - 0xe9, 0xcc, 0x76, 0xfb, 0x17, 0x70, 0x63, 0x66, 0xc3, 0xba, 0x60, 0x5e, 0xa4, 0x78, 0xb6, 0xdc, - 0xf2, 0x38, 0x0b, 0x49, 0x0d, 0x96, 0x2e, 0x98, 0x48, 0xce, 0xa1, 0x1e, 0xc9, 0x36, 0x2c, 0x33, - 0x65, 0xd2, 0x05, 0x37, 0x68, 0xbc, 0x30, 0xff, 0x5d, 0x86, 0xb2, 0xbe, 0xbe, 0x0d, 0x28, 0x65, - 0xac, 0x2a, 0x71, 0x87, 0xbc, 0x84, 0xca, 0x28, 0xa9, 0x4a, 0xd2, 0x5c, 0xb7, 0xe7, 0x5c, 0x69, - 0x5a, 0x38, 0x9a, 0x81, 0x49, 0x03, 0x56, 0xb8, 0x3f, 0x8e, 0xa4, 0xba, 0xb5, 0x79, 0xc3, 0xa0, - 0xcd, 0x7d, 0x87, 0xfb, 0x43, 0x9a, 0xa0, 0xc8, 0x63, 0xd8, 0x8a, 0xc6, 0xa1, 0x14, 0xc8, 0x46, - 0x7a, 0x22, 0x58, 0xdc, 0x09, 0xeb, 0xe5, 0x9d, 0xa5, 0x5d, 0x83, 0x6e, 0xa6, 0x06, 0xf5, 0xaa, - 0x9e, 0x13, 0x92, 0x7d, 0xd8, 0x48, 0x48, 0xab, 0xb3, 0xd7, 0xc5, 0x5d, 0x9a, 0x33, 0x0e, 0x74, - 0x0d, 0x68, 0x35, 0xc6, 0xb6, 0x62, 0x28, 0xd9, 0x03, 0x43, 0x4d, 0xf1, 0x78, 0xec, 0xac, 0xe8, - 0x23, 0xfd, 0x6a, 0x81, 0xf2, 0xaa, 0xd1, 0x23, 0x53, 0xc5, 0x6f, 0x43, 0x35, 0xd3, 0x42, 0xed, - 0xbb, 0x3a, 0xb7, 0x1c, 0x97, 0x75, 0x58, 0xb5, 0xea, 0x97, 0xcb, 0xba, 0xfc, 0x06, 0xd6, 0x06, - 0x7a, 0x0a, 0xc5, 0x11, 0x2a, 0x73, 0xe5, 0x74, 0x3a, 0xa7, 0xba, 0x05, 0x0a, 0x83, 0xe9, 0xd4, - 0xda, 0x03, 0x63, 0xc8, 0x64, 0x32, 0x30, 0x8d, 0xb9, 0x99, 0xa7, 0x7a, 0xa2, 0x32, 0x1f, 0xa6, - 0xda, 0xf2, 0x3b, 0x00, 0xa6, 0xf8, 0x19, 0x3b, 0x82, 0x76, 0xac, 0xe7, 0x4b, 0x95, 0x12, 0xb8, - 0x5b, 0xa0, 0x06, 0x4b, 0x17, 0xed, 0x0a, 0xac, 0x48, 0x26, 0x86, 0x28, 0xcd, 0x9f, 0x4a, 0x50, - 0x4b, 0xcf, 0x96, 0xf1, 0xe4, 0x08, 0xc8, 0xe7, 0x88, 0x79, 0x5c, 0x4e, 0xac, 0xc0, 0xb5, 0x42, - 0x14, 0x17, 0xdc, 0x5e, 0x24, 0x60, 0x9f, 0x62, 0xe0, 0x89, 0x7b, 0x1a, 0xc3, 0x68, 0xed, 0x73, - 0x6e, 0x87, 0x1c, 0x03, 0x04, 0xbe, 0xe5, 0x32, 0xee, 0x45, 0x22, 0x96, 0xf0, 0x8d, 0x67, 0xcd, - 0x05, 0xf5, 0x4d, 0x73, 0x68, 0x9c, 0xf8, 0xef, 0x63, 0x87, 0x8f, 0x81, 0xc7, 0xed, 0x09, 0x35, - 0x82, 0x74, 0x83, 0xfc, 0x1e, 0xca, 0x92, 0x0d, 0xd3, 0x0e, 0x7c, 0x74, 0x5d, 0xa4, 0x3e, 0x1b, - 0x86, 0x1d, 0x5f, 0x8a, 0x09, 0xd5, 0x6e, 0xb7, 0x5e, 0x82, 0x91, 0x6d, 0x29, 0x26, 0x9d, 0xe3, - 0x24, 0x65, 0xd2, 0x39, 0x4e, 0x14, 0x93, 0x34, 0xdb, 0x52, 0x26, 0xe9, 0xc5, 0xeb, 0xd2, 0xab, - 0xa2, 0xf9, 0x09, 0x36, 0x73, 0x59, 0x91, 0x6d, 0xa8, 0xbd, 0x6f, 0xf5, 0x0e, 0xad, 0xde, 0xd1, - 0x51, 0xe7, 0xa0, 0xd7, 0xea, 0x77, 0x0e, 0xff, 0x5a, 0x2b, 0x90, 0x5d, 0x78, 0xa0, 0x77, 0x5b, - 0xef, 0xfb, 0x1d, 0x6a, 0x75, 0xfe, 0xd2, 0x79, 0xf7, 0xc7, 0x7e, 0xab, 0x7d, 0xd8, 0xb1, 0x8e, - 0x4f, 0x0e, 0x3a, 0xa7, 0xd6, 0xbb, 0x93, 0xa3, 0x8f, 0x87, 0x9d, 0x7e, 0xa7, 0x56, 0x34, 0xff, - 0x00, 0xf5, 0x7c, 0xbe, 0x07, 0xf1, 0xa7, 0x4d, 0x48, 0x1e, 0xe4, 0xc5, 0x42, 0x25, 0x59, 0xc9, - 0x49, 0x85, 0xf9, 0x9f, 0xa5, 0xe9, 0x05, 0xf6, 0x71, 0x34, 0xf6, 0x98, 0x44, 0xf2, 0x28, 0xa3, - 0xfb, 0xb7, 0xc6, 0xba, 0x56, 0x82, 0xfd, 0x2b, 0x4a, 0x70, 0xff, 0x9a, 0x82, 0x5e, 0x52, 0x83, - 0x7d, 0x30, 0xb2, 0xef, 0xee, 0x05, 0xb3, 0x46, 0x0d, 0x65, 0xa7, 0x97, 0x82, 0xe8, 0x14, 0x4f, - 0x1e, 0xc1, 0xb2, 0xea, 0xdc, 0x58, 0x0e, 0x16, 0xcc, 0x94, 0x18, 0x41, 0x9e, 0xc2, 0x6a, 0xcc, - 0xf6, 0x54, 0x12, 0x16, 0xc9, 0x4e, 0x0a, 0x23, 0x7b, 0xb0, 0x9e, 0x34, 0xdc, 0x65, 0x45, 0x98, - 0xfb, 0x8e, 0xb5, 0x04, 0xa8, 0x49, 0xd5, 0x87, 0xad, 0xf4, 0x74, 0x56, 0xf2, 0x91, 0x19, 0x26, - 0x92, 0xf0, 0xf0, 0x9a, 0xba, 0xa4, 0x17, 0x47, 0x6b, 0xa3, 0xdc, 0x8e, 0xf9, 0xaf, 0x22, 0x6c, - 0x5d, 0xf9, 0xee, 0x53, 0xc4, 0x17, 0x18, 0x06, 0x91, 0xb0, 0x31, 0x4c, 0x2e, 0xab, 0x7e, 0x65, - 0x8e, 0x24, 0x76, 0x3a, 0x85, 0x92, 0x13, 0x20, 0xf8, 0x55, 0xa2, 0xef, 0xa0, 0x63, 0x4d, 0x03, - 0xcc, 0xff, 0xda, 0xec, 0x24, 0xc0, 0x69, 0xa0, 0x2d, 0xcc, 0x6f, 0xb5, 0xdf, 0xfc, 0xed, 0xf5, - 0x90, 0xcb, 0xb3, 0x68, 0xd0, 0xb0, 0x83, 0x51, 0x53, 0x07, 0x08, 0xc4, 0x30, 0x7e, 0x68, 0x66, - 0xff, 0x3c, 0x43, 0xf4, 0x9b, 0xe3, 0xc1, 0x6f, 0x87, 0x41, 0x73, 0xe6, 0x37, 0x68, 0xb0, 0xa2, - 0x07, 0xe5, 0xf3, 0x9f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x84, 0xd9, 0xfd, 0xdc, 0x1c, 0x0e, 0x00, - 0x00, +var File_flyteidl_core_workflow_proto protoreflect.FileDescriptor + +var file_flyteidl_core_workflow_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1d, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x07, + 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3e, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x65, + 0x61, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x09, 0x74, 0x68, 0x65, 0x6e, 0x5f, + 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, + 0x08, 0x74, 0x68, 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x0b, 0x49, 0x66, + 0x45, 0x6c, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2a, 0x0a, 0x04, 0x63, 0x61, 0x73, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x04, 0x63, 0x61, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x6f, 0x74, + 0x68, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x09, 0x65, 0x6c, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, + 0x6c, 0x73, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x22, 0x41, 0x0a, 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x33, + 0x0a, 0x07, 0x69, 0x66, 0x5f, 0x65, 0x6c, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x49, 0x66, 0x45, 0x6c, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, 0x69, 0x66, 0x45, + 0x6c, 0x73, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, + 0x12, 0x3e, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, + 0x12, 0x3e, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x76, 0x65, 0x72, + 0x72, 0x69, 0x64, 0x65, 0x73, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, + 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xa6, 0x01, + 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x42, + 0x0a, 0x0e, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x66, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x70, 0x6c, 0x61, 0x6e, 0x52, + 0x65, 0x66, 0x12, 0x45, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x66, 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x2f, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, + 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x56, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x47, 0x0a, 0x0e, 0x53, 0x6c, + 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x08, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0xc5, 0x01, 0x0a, 0x08, 0x47, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x38, 0x0a, + 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, + 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x6c, 0x65, 0x65, 0x70, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x05, 0x73, 0x6c, 0x65, 0x65, 0x70, 0x42, 0x0b, + 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xbf, 0x01, 0x0a, 0x09, + 0x41, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x04, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, + 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, + 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, + 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x25, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0c, 0x6d, + 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x6d, + 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x42, 0x12, 0x0a, 0x10, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x22, 0xce, 0x01, + 0x0a, 0x0c, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, + 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x36, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x74, + 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, + 0x26, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, + 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2f, + 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, + 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x22, + 0x9f, 0x04, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x2e, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6e, 0x6f, + 0x64, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x75, 0x70, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x12, 0x3b, 0x0a, + 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0d, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x6f, + 0x64, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x48, 0x00, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x39, 0x0a, 0x0a, + 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x09, 0x61, 0x72, + 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x22, 0xfc, 0x02, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4d, 0x0a, 0x12, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, + 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x52, 0x10, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x0a, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x69, 0x6c, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4f, 0x6e, 0x46, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x6f, 0x6e, 0x46, 0x61, + 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x51, 0x0a, + 0x0f, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x12, 0x14, 0x0a, 0x10, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x49, 0x4d, 0x4d, 0x45, 0x44, 0x49, 0x41, + 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x41, + 0x46, 0x54, 0x45, 0x52, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, + 0x4e, 0x4f, 0x44, 0x45, 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x01, + 0x22, 0x40, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0d, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, + 0x6c, 0x65, 0x22, 0xa2, 0x03, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x3b, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x05, + 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, + 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x0c, 0x66, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x4e, 0x6f, 0x64, + 0x65, 0x12, 0x54, 0x0a, 0x11, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x64, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, + 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x36, 0x0a, + 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x12, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, + 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0xb3, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0d, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, + 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, + 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, + 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_workflow_proto_rawDescOnce sync.Once + file_flyteidl_core_workflow_proto_rawDescData = file_flyteidl_core_workflow_proto_rawDesc +) + +func file_flyteidl_core_workflow_proto_rawDescGZIP() []byte { + file_flyteidl_core_workflow_proto_rawDescOnce.Do(func() { + file_flyteidl_core_workflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_workflow_proto_rawDescData) + }) + return file_flyteidl_core_workflow_proto_rawDescData +} + +var file_flyteidl_core_workflow_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_core_workflow_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_flyteidl_core_workflow_proto_goTypes = []interface{}{ + (WorkflowMetadata_OnFailurePolicy)(0), // 0: flyteidl.core.WorkflowMetadata.OnFailurePolicy + (*IfBlock)(nil), // 1: flyteidl.core.IfBlock + (*IfElseBlock)(nil), // 2: flyteidl.core.IfElseBlock + (*BranchNode)(nil), // 3: flyteidl.core.BranchNode + (*TaskNode)(nil), // 4: flyteidl.core.TaskNode + (*WorkflowNode)(nil), // 5: flyteidl.core.WorkflowNode + (*ApproveCondition)(nil), // 6: flyteidl.core.ApproveCondition + (*SignalCondition)(nil), // 7: flyteidl.core.SignalCondition + (*SleepCondition)(nil), // 8: flyteidl.core.SleepCondition + (*GateNode)(nil), // 9: flyteidl.core.GateNode + (*ArrayNode)(nil), // 10: flyteidl.core.ArrayNode + (*NodeMetadata)(nil), // 11: flyteidl.core.NodeMetadata + (*Alias)(nil), // 12: flyteidl.core.Alias + (*Node)(nil), // 13: flyteidl.core.Node + (*WorkflowMetadata)(nil), // 14: flyteidl.core.WorkflowMetadata + (*WorkflowMetadataDefaults)(nil), // 15: flyteidl.core.WorkflowMetadataDefaults + (*WorkflowTemplate)(nil), // 16: flyteidl.core.WorkflowTemplate + (*TaskNodeOverrides)(nil), // 17: flyteidl.core.TaskNodeOverrides + nil, // 18: flyteidl.core.WorkflowMetadata.TagsEntry + (*BooleanExpression)(nil), // 19: flyteidl.core.BooleanExpression + (*Error)(nil), // 20: flyteidl.core.Error + (*Identifier)(nil), // 21: flyteidl.core.Identifier + (*LiteralType)(nil), // 22: flyteidl.core.LiteralType + (*durationpb.Duration)(nil), // 23: google.protobuf.Duration + (*RetryStrategy)(nil), // 24: flyteidl.core.RetryStrategy + (*Binding)(nil), // 25: flyteidl.core.Binding + (*QualityOfService)(nil), // 26: flyteidl.core.QualityOfService + (*TypedInterface)(nil), // 27: flyteidl.core.TypedInterface + (*Resources)(nil), // 28: flyteidl.core.Resources + (*ExtendedResources)(nil), // 29: flyteidl.core.ExtendedResources +} +var file_flyteidl_core_workflow_proto_depIdxs = []int32{ + 19, // 0: flyteidl.core.IfBlock.condition:type_name -> flyteidl.core.BooleanExpression + 13, // 1: flyteidl.core.IfBlock.then_node:type_name -> flyteidl.core.Node + 1, // 2: flyteidl.core.IfElseBlock.case:type_name -> flyteidl.core.IfBlock + 1, // 3: flyteidl.core.IfElseBlock.other:type_name -> flyteidl.core.IfBlock + 13, // 4: flyteidl.core.IfElseBlock.else_node:type_name -> flyteidl.core.Node + 20, // 5: flyteidl.core.IfElseBlock.error:type_name -> flyteidl.core.Error + 2, // 6: flyteidl.core.BranchNode.if_else:type_name -> flyteidl.core.IfElseBlock + 21, // 7: flyteidl.core.TaskNode.reference_id:type_name -> flyteidl.core.Identifier + 17, // 8: flyteidl.core.TaskNode.overrides:type_name -> flyteidl.core.TaskNodeOverrides + 21, // 9: flyteidl.core.WorkflowNode.launchplan_ref:type_name -> flyteidl.core.Identifier + 21, // 10: flyteidl.core.WorkflowNode.sub_workflow_ref:type_name -> flyteidl.core.Identifier + 22, // 11: flyteidl.core.SignalCondition.type:type_name -> flyteidl.core.LiteralType + 23, // 12: flyteidl.core.SleepCondition.duration:type_name -> google.protobuf.Duration + 6, // 13: flyteidl.core.GateNode.approve:type_name -> flyteidl.core.ApproveCondition + 7, // 14: flyteidl.core.GateNode.signal:type_name -> flyteidl.core.SignalCondition + 8, // 15: flyteidl.core.GateNode.sleep:type_name -> flyteidl.core.SleepCondition + 13, // 16: flyteidl.core.ArrayNode.node:type_name -> flyteidl.core.Node + 23, // 17: flyteidl.core.NodeMetadata.timeout:type_name -> google.protobuf.Duration + 24, // 18: flyteidl.core.NodeMetadata.retries:type_name -> flyteidl.core.RetryStrategy + 11, // 19: flyteidl.core.Node.metadata:type_name -> flyteidl.core.NodeMetadata + 25, // 20: flyteidl.core.Node.inputs:type_name -> flyteidl.core.Binding + 12, // 21: flyteidl.core.Node.output_aliases:type_name -> flyteidl.core.Alias + 4, // 22: flyteidl.core.Node.task_node:type_name -> flyteidl.core.TaskNode + 5, // 23: flyteidl.core.Node.workflow_node:type_name -> flyteidl.core.WorkflowNode + 3, // 24: flyteidl.core.Node.branch_node:type_name -> flyteidl.core.BranchNode + 9, // 25: flyteidl.core.Node.gate_node:type_name -> flyteidl.core.GateNode + 10, // 26: flyteidl.core.Node.array_node:type_name -> flyteidl.core.ArrayNode + 26, // 27: flyteidl.core.WorkflowMetadata.quality_of_service:type_name -> flyteidl.core.QualityOfService + 0, // 28: flyteidl.core.WorkflowMetadata.on_failure:type_name -> flyteidl.core.WorkflowMetadata.OnFailurePolicy + 18, // 29: flyteidl.core.WorkflowMetadata.tags:type_name -> flyteidl.core.WorkflowMetadata.TagsEntry + 21, // 30: flyteidl.core.WorkflowTemplate.id:type_name -> flyteidl.core.Identifier + 14, // 31: flyteidl.core.WorkflowTemplate.metadata:type_name -> flyteidl.core.WorkflowMetadata + 27, // 32: flyteidl.core.WorkflowTemplate.interface:type_name -> flyteidl.core.TypedInterface + 13, // 33: flyteidl.core.WorkflowTemplate.nodes:type_name -> flyteidl.core.Node + 25, // 34: flyteidl.core.WorkflowTemplate.outputs:type_name -> flyteidl.core.Binding + 13, // 35: flyteidl.core.WorkflowTemplate.failure_node:type_name -> flyteidl.core.Node + 15, // 36: flyteidl.core.WorkflowTemplate.metadata_defaults:type_name -> flyteidl.core.WorkflowMetadataDefaults + 28, // 37: flyteidl.core.TaskNodeOverrides.resources:type_name -> flyteidl.core.Resources + 29, // 38: flyteidl.core.TaskNodeOverrides.extended_resources:type_name -> flyteidl.core.ExtendedResources + 39, // [39:39] is the sub-list for method output_type + 39, // [39:39] is the sub-list for method input_type + 39, // [39:39] is the sub-list for extension type_name + 39, // [39:39] is the sub-list for extension extendee + 0, // [0:39] is the sub-list for field type_name +} + +func init() { file_flyteidl_core_workflow_proto_init() } +func file_flyteidl_core_workflow_proto_init() { + if File_flyteidl_core_workflow_proto != nil { + return + } + file_flyteidl_core_condition_proto_init() + file_flyteidl_core_execution_proto_init() + file_flyteidl_core_identifier_proto_init() + file_flyteidl_core_interface_proto_init() + file_flyteidl_core_literals_proto_init() + file_flyteidl_core_tasks_proto_init() + file_flyteidl_core_types_proto_init() + file_flyteidl_core_security_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_workflow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IfBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IfElseBlock); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BranchNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApproveCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SleepCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GateNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArrayNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Alias); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowMetadataDefaults); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_core_workflow_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskNodeOverrides); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_core_workflow_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*IfElseBlock_ElseNode)(nil), + (*IfElseBlock_Error)(nil), + } + file_flyteidl_core_workflow_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*TaskNode_ReferenceId)(nil), + } + file_flyteidl_core_workflow_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*WorkflowNode_LaunchplanRef)(nil), + (*WorkflowNode_SubWorkflowRef)(nil), + } + file_flyteidl_core_workflow_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*GateNode_Approve)(nil), + (*GateNode_Signal)(nil), + (*GateNode_Sleep)(nil), + } + file_flyteidl_core_workflow_proto_msgTypes[9].OneofWrappers = []interface{}{ + (*ArrayNode_MinSuccesses)(nil), + (*ArrayNode_MinSuccessRatio)(nil), + } + file_flyteidl_core_workflow_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*NodeMetadata_Interruptible)(nil), + } + file_flyteidl_core_workflow_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*Node_TaskNode)(nil), + (*Node_WorkflowNode)(nil), + (*Node_BranchNode)(nil), + (*Node_GateNode)(nil), + (*Node_ArrayNode)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_workflow_proto_rawDesc, + NumEnums: 1, + NumMessages: 18, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_workflow_proto_goTypes, + DependencyIndexes: file_flyteidl_core_workflow_proto_depIdxs, + EnumInfos: file_flyteidl_core_workflow_proto_enumTypes, + MessageInfos: file_flyteidl_core_workflow_proto_msgTypes, + }.Build() + File_flyteidl_core_workflow_proto = out.File + file_flyteidl_core_workflow_proto_rawDesc = nil + file_flyteidl_core_workflow_proto_goTypes = nil + file_flyteidl_core_workflow_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/workflow.swagger.json deleted file mode 100644 index fe64388e3d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/workflow.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go b/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go index b52b6d4608..3f0a53d7b2 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.go @@ -1,97 +1,182 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/core/workflow_closure.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines an enclosed package of workflow and tasks it references. type WorkflowClosure struct { - //required. Workflow template. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // required. Workflow template. Workflow *WorkflowTemplate `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` - //optional. A collection of tasks referenced by the workflow. Only needed if the workflow + // optional. A collection of tasks referenced by the workflow. Only needed if the workflow // references tasks. - Tasks []*TaskTemplate `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Tasks []*TaskTemplate `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *WorkflowClosure) Reset() { *m = WorkflowClosure{} } -func (m *WorkflowClosure) String() string { return proto.CompactTextString(m) } -func (*WorkflowClosure) ProtoMessage() {} -func (*WorkflowClosure) Descriptor() ([]byte, []int) { - return fileDescriptor_76071051330050c4, []int{0} +func (x *WorkflowClosure) Reset() { + *x = WorkflowClosure{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_core_workflow_closure_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowClosure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowClosure.Unmarshal(m, b) -} -func (m *WorkflowClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowClosure.Marshal(b, m, deterministic) +func (x *WorkflowClosure) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowClosure) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowClosure.Merge(m, src) -} -func (m *WorkflowClosure) XXX_Size() int { - return xxx_messageInfo_WorkflowClosure.Size(m) -} -func (m *WorkflowClosure) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowClosure.DiscardUnknown(m) + +func (*WorkflowClosure) ProtoMessage() {} + +func (x *WorkflowClosure) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_core_workflow_closure_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkflowClosure proto.InternalMessageInfo +// Deprecated: Use WorkflowClosure.ProtoReflect.Descriptor instead. +func (*WorkflowClosure) Descriptor() ([]byte, []int) { + return file_flyteidl_core_workflow_closure_proto_rawDescGZIP(), []int{0} +} -func (m *WorkflowClosure) GetWorkflow() *WorkflowTemplate { - if m != nil { - return m.Workflow +func (x *WorkflowClosure) GetWorkflow() *WorkflowTemplate { + if x != nil { + return x.Workflow } return nil } -func (m *WorkflowClosure) GetTasks() []*TaskTemplate { - if m != nil { - return m.Tasks +func (x *WorkflowClosure) GetTasks() []*TaskTemplate { + if x != nil { + return x.Tasks } return nil } -func init() { - proto.RegisterType((*WorkflowClosure)(nil), "flyteidl.core.WorkflowClosure") +var File_flyteidl_core_workflow_closure_proto protoreflect.FileDescriptor + +var file_flyteidl_core_workflow_closure_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, + 0x01, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6c, 0x6f, 0x73, 0x75, + 0x72, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, + 0x31, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, + 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x05, 0x74, 0x61, 0x73, + 0x6b, 0x73, 0x42, 0xba, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, + 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, + 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, + 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, + 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_core_workflow_closure_proto_rawDescOnce sync.Once + file_flyteidl_core_workflow_closure_proto_rawDescData = file_flyteidl_core_workflow_closure_proto_rawDesc +) + +func file_flyteidl_core_workflow_closure_proto_rawDescGZIP() []byte { + file_flyteidl_core_workflow_closure_proto_rawDescOnce.Do(func() { + file_flyteidl_core_workflow_closure_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_core_workflow_closure_proto_rawDescData) + }) + return file_flyteidl_core_workflow_closure_proto_rawDescData } -func init() { - proto.RegisterFile("flyteidl/core/workflow_closure.proto", fileDescriptor_76071051330050c4) +var file_flyteidl_core_workflow_closure_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_core_workflow_closure_proto_goTypes = []interface{}{ + (*WorkflowClosure)(nil), // 0: flyteidl.core.WorkflowClosure + (*WorkflowTemplate)(nil), // 1: flyteidl.core.WorkflowTemplate + (*TaskTemplate)(nil), // 2: flyteidl.core.TaskTemplate +} +var file_flyteidl_core_workflow_closure_proto_depIdxs = []int32{ + 1, // 0: flyteidl.core.WorkflowClosure.workflow:type_name -> flyteidl.core.WorkflowTemplate + 2, // 1: flyteidl.core.WorkflowClosure.tasks:type_name -> flyteidl.core.TaskTemplate + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name } -var fileDescriptor_76071051330050c4 = []byte{ - // 196 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xcb, 0xa9, 0x2c, - 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0xcf, 0x2f, 0xca, 0x4e, 0xcb, - 0xc9, 0x2f, 0x8f, 0x4f, 0xce, 0xc9, 0x2f, 0x2e, 0x2d, 0x4a, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0xe2, 0x85, 0xa9, 0xd2, 0x03, 0xa9, 0x92, 0x92, 0xc1, 0xae, 0x09, 0xa2, 0x58, 0x4a, 0x12, - 0x55, 0xb6, 0x24, 0xb1, 0x38, 0xbb, 0x18, 0x22, 0xa5, 0xd4, 0xc8, 0xc8, 0xc5, 0x1f, 0x0e, 0x55, - 0xed, 0x0c, 0xb1, 0x41, 0xc8, 0x9a, 0x8b, 0x03, 0x66, 0x80, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, - 0x91, 0xbc, 0x1e, 0x8a, 0x75, 0x7a, 0x30, 0x1d, 0x21, 0xa9, 0xb9, 0x05, 0x39, 0x89, 0x25, 0xa9, - 0x41, 0x70, 0x0d, 0x42, 0x86, 0x5c, 0xac, 0x60, 0xf3, 0x25, 0x98, 0x14, 0x98, 0x35, 0xb8, 0x8d, - 0xa4, 0xd1, 0x74, 0x86, 0x24, 0x16, 0x67, 0xc3, 0x75, 0x41, 0x54, 0x3a, 0xd9, 0x44, 0x59, 0xa5, - 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x83, 0xd5, 0xe7, 0x17, 0xa5, 0x43, - 0x18, 0xfa, 0x70, 0xa7, 0xa7, 0xa7, 0xe6, 0xe9, 0x17, 0x24, 0xe9, 0xa6, 0xe7, 0xeb, 0xa3, 0xf8, - 0x26, 0x89, 0x0d, 0xec, 0x11, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x02, 0xc9, 0xbd, 0x17, - 0x38, 0x01, 0x00, 0x00, +func init() { file_flyteidl_core_workflow_closure_proto_init() } +func file_flyteidl_core_workflow_closure_proto_init() { + if File_flyteidl_core_workflow_closure_proto != nil { + return + } + file_flyteidl_core_workflow_proto_init() + file_flyteidl_core_tasks_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_core_workflow_closure_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowClosure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_core_workflow_closure_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_core_workflow_closure_proto_goTypes, + DependencyIndexes: file_flyteidl_core_workflow_closure_proto_depIdxs, + MessageInfos: file_flyteidl_core_workflow_closure_proto_msgTypes, + }.Build() + File_flyteidl_core_workflow_closure_proto = out.File + file_flyteidl_core_workflow_closure_proto_rawDesc = nil + file_flyteidl_core_workflow_closure_proto_goTypes = nil + file_flyteidl_core_workflow_closure_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.swagger.json deleted file mode 100644 index a3531fed5a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/core/workflow_closure.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go index d1d623e792..46e7727f35 100644 --- a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go @@ -1,31 +1,27 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/datacatalog/datacatalog.proto package datacatalog import ( - context "context" - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // as use-cases come up we can add more operators, ex: gte, like, not eq etc. type SinglePropertyFilter_ComparisonOperator int32 @@ -34,20 +30,41 @@ const ( SinglePropertyFilter_EQUALS SinglePropertyFilter_ComparisonOperator = 0 ) -var SinglePropertyFilter_ComparisonOperator_name = map[int32]string{ - 0: "EQUALS", -} +// Enum value maps for SinglePropertyFilter_ComparisonOperator. +var ( + SinglePropertyFilter_ComparisonOperator_name = map[int32]string{ + 0: "EQUALS", + } + SinglePropertyFilter_ComparisonOperator_value = map[string]int32{ + "EQUALS": 0, + } +) -var SinglePropertyFilter_ComparisonOperator_value = map[string]int32{ - "EQUALS": 0, +func (x SinglePropertyFilter_ComparisonOperator) Enum() *SinglePropertyFilter_ComparisonOperator { + p := new(SinglePropertyFilter_ComparisonOperator) + *p = x + return p } func (x SinglePropertyFilter_ComparisonOperator) String() string { - return proto.EnumName(SinglePropertyFilter_ComparisonOperator_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SinglePropertyFilter_ComparisonOperator) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_datacatalog_datacatalog_proto_enumTypes[0].Descriptor() +} + +func (SinglePropertyFilter_ComparisonOperator) Type() protoreflect.EnumType { + return &file_flyteidl_datacatalog_datacatalog_proto_enumTypes[0] +} + +func (x SinglePropertyFilter_ComparisonOperator) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use SinglePropertyFilter_ComparisonOperator.Descriptor instead. func (SinglePropertyFilter_ComparisonOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{30, 0} + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{30, 0} } type PaginationOptions_SortOrder int32 @@ -57,22 +74,43 @@ const ( PaginationOptions_ASCENDING PaginationOptions_SortOrder = 1 ) -var PaginationOptions_SortOrder_name = map[int32]string{ - 0: "DESCENDING", - 1: "ASCENDING", -} +// Enum value maps for PaginationOptions_SortOrder. +var ( + PaginationOptions_SortOrder_name = map[int32]string{ + 0: "DESCENDING", + 1: "ASCENDING", + } + PaginationOptions_SortOrder_value = map[string]int32{ + "DESCENDING": 0, + "ASCENDING": 1, + } +) -var PaginationOptions_SortOrder_value = map[string]int32{ - "DESCENDING": 0, - "ASCENDING": 1, +func (x PaginationOptions_SortOrder) Enum() *PaginationOptions_SortOrder { + p := new(PaginationOptions_SortOrder) + *p = x + return p } func (x PaginationOptions_SortOrder) String() string { - return proto.EnumName(PaginationOptions_SortOrder_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PaginationOptions_SortOrder) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_datacatalog_datacatalog_proto_enumTypes[1].Descriptor() +} + +func (PaginationOptions_SortOrder) Type() protoreflect.EnumType { + return &file_flyteidl_datacatalog_datacatalog_proto_enumTypes[1] +} + +func (x PaginationOptions_SortOrder) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use PaginationOptions_SortOrder.Descriptor instead. func (PaginationOptions_SortOrder) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{36, 0} + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{36, 0} } type PaginationOptions_SortKey int32 @@ -81,243 +119,283 @@ const ( PaginationOptions_CREATION_TIME PaginationOptions_SortKey = 0 ) -var PaginationOptions_SortKey_name = map[int32]string{ - 0: "CREATION_TIME", -} +// Enum value maps for PaginationOptions_SortKey. +var ( + PaginationOptions_SortKey_name = map[int32]string{ + 0: "CREATION_TIME", + } + PaginationOptions_SortKey_value = map[string]int32{ + "CREATION_TIME": 0, + } +) -var PaginationOptions_SortKey_value = map[string]int32{ - "CREATION_TIME": 0, +func (x PaginationOptions_SortKey) Enum() *PaginationOptions_SortKey { + p := new(PaginationOptions_SortKey) + *p = x + return p } func (x PaginationOptions_SortKey) String() string { - return proto.EnumName(PaginationOptions_SortKey_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (PaginationOptions_SortKey) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{36, 1} +func (PaginationOptions_SortKey) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_datacatalog_datacatalog_proto_enumTypes[2].Descriptor() } -// -// Request message for creating a Dataset. -type CreateDatasetRequest struct { - Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (PaginationOptions_SortKey) Type() protoreflect.EnumType { + return &file_flyteidl_datacatalog_datacatalog_proto_enumTypes[2] } -func (m *CreateDatasetRequest) Reset() { *m = CreateDatasetRequest{} } -func (m *CreateDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDatasetRequest) ProtoMessage() {} -func (*CreateDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{0} +func (x PaginationOptions_SortKey) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b) +// Deprecated: Use PaginationOptions_SortKey.Descriptor instead. +func (PaginationOptions_SortKey) EnumDescriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{36, 1} } -func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatasetRequest.Marshal(b, m, deterministic) + +// Request message for creating a Dataset. +type CreateDatasetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` } -func (m *CreateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatasetRequest.Merge(m, src) + +func (x *CreateDatasetRequest) Reset() { + *x = CreateDatasetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_CreateDatasetRequest.Size(m) + +func (x *CreateDatasetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatasetRequest.DiscardUnknown(m) + +func (*CreateDatasetRequest) ProtoMessage() {} + +func (x *CreateDatasetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateDatasetRequest proto.InternalMessageInfo +// Deprecated: Use CreateDatasetRequest.ProtoReflect.Descriptor instead. +func (*CreateDatasetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{0} +} -func (m *CreateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset +func (x *CreateDatasetRequest) GetDataset() *Dataset { + if x != nil { + return x.Dataset } return nil } -// // Response message for creating a Dataset type CreateDatasetResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateDatasetResponse) Reset() { *m = CreateDatasetResponse{} } -func (m *CreateDatasetResponse) String() string { return proto.CompactTextString(m) } -func (*CreateDatasetResponse) ProtoMessage() {} -func (*CreateDatasetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{1} +func (x *CreateDatasetResponse) Reset() { + *x = CreateDatasetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateDatasetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatasetResponse.Unmarshal(m, b) -} -func (m *CreateDatasetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatasetResponse.Marshal(b, m, deterministic) +func (x *CreateDatasetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateDatasetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatasetResponse.Merge(m, src) -} -func (m *CreateDatasetResponse) XXX_Size() int { - return xxx_messageInfo_CreateDatasetResponse.Size(m) -} -func (m *CreateDatasetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatasetResponse.DiscardUnknown(m) + +func (*CreateDatasetResponse) ProtoMessage() {} + +func (x *CreateDatasetResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateDatasetResponse proto.InternalMessageInfo +// Deprecated: Use CreateDatasetResponse.ProtoReflect.Descriptor instead. +func (*CreateDatasetResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{1} +} -// // Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier // which is a combination of several fields. type GetDatasetRequest struct { - Dataset *DatasetID `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} } -func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*GetDatasetRequest) ProtoMessage() {} -func (*GetDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{2} + Dataset *DatasetID `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` } -func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b) -} -func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatasetRequest.Marshal(b, m, deterministic) -} -func (m *GetDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatasetRequest.Merge(m, src) +func (x *GetDatasetRequest) Reset() { + *x = GetDatasetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDatasetRequest) XXX_Size() int { - return xxx_messageInfo_GetDatasetRequest.Size(m) + +func (x *GetDatasetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatasetRequest.DiscardUnknown(m) + +func (*GetDatasetRequest) ProtoMessage() {} + +func (x *GetDatasetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDatasetRequest proto.InternalMessageInfo +// Deprecated: Use GetDatasetRequest.ProtoReflect.Descriptor instead. +func (*GetDatasetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{2} +} -func (m *GetDatasetRequest) GetDataset() *DatasetID { - if m != nil { - return m.Dataset +func (x *GetDatasetRequest) GetDataset() *DatasetID { + if x != nil { + return x.Dataset } return nil } -// // Response message for retrieving a Dataset. The response will include the metadata for the // Dataset. type GetDatasetResponse struct { - Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetDatasetResponse) Reset() { *m = GetDatasetResponse{} } -func (m *GetDatasetResponse) String() string { return proto.CompactTextString(m) } -func (*GetDatasetResponse) ProtoMessage() {} -func (*GetDatasetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{3} + Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` } -func (m *GetDatasetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatasetResponse.Unmarshal(m, b) -} -func (m *GetDatasetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatasetResponse.Marshal(b, m, deterministic) -} -func (m *GetDatasetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatasetResponse.Merge(m, src) +func (x *GetDatasetResponse) Reset() { + *x = GetDatasetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDatasetResponse) XXX_Size() int { - return xxx_messageInfo_GetDatasetResponse.Size(m) + +func (x *GetDatasetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDatasetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatasetResponse.DiscardUnknown(m) + +func (*GetDatasetResponse) ProtoMessage() {} + +func (x *GetDatasetResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDatasetResponse proto.InternalMessageInfo +// Deprecated: Use GetDatasetResponse.ProtoReflect.Descriptor instead. +func (*GetDatasetResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{3} +} -func (m *GetDatasetResponse) GetDataset() *Dataset { - if m != nil { - return m.Dataset +func (x *GetDatasetResponse) GetDataset() *Dataset { + if x != nil { + return x.Dataset } return nil } -// // Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that // can be one of artifact_id or tag. The result returned will include the artifact data and metadata // associated with the artifact. type GetArtifactRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Dataset *DatasetID `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Types that are valid to be assigned to QueryHandle: + // Types that are assignable to QueryHandle: + // // *GetArtifactRequest_ArtifactId // *GetArtifactRequest_TagName - QueryHandle isGetArtifactRequest_QueryHandle `protobuf_oneof:"query_handle"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + QueryHandle isGetArtifactRequest_QueryHandle `protobuf_oneof:"query_handle"` } -func (m *GetArtifactRequest) Reset() { *m = GetArtifactRequest{} } -func (m *GetArtifactRequest) String() string { return proto.CompactTextString(m) } -func (*GetArtifactRequest) ProtoMessage() {} -func (*GetArtifactRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{4} +func (x *GetArtifactRequest) Reset() { + *x = GetArtifactRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetArtifactRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetArtifactRequest.Unmarshal(m, b) -} -func (m *GetArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetArtifactRequest.Marshal(b, m, deterministic) -} -func (m *GetArtifactRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetArtifactRequest.Merge(m, src) -} -func (m *GetArtifactRequest) XXX_Size() int { - return xxx_messageInfo_GetArtifactRequest.Size(m) -} -func (m *GetArtifactRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetArtifactRequest.DiscardUnknown(m) +func (x *GetArtifactRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetArtifactRequest proto.InternalMessageInfo +func (*GetArtifactRequest) ProtoMessage() {} -func (m *GetArtifactRequest) GetDataset() *DatasetID { - if m != nil { - return m.Dataset +func (x *GetArtifactRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil -} - -type isGetArtifactRequest_QueryHandle interface { - isGetArtifactRequest_QueryHandle() + return mi.MessageOf(x) } -type GetArtifactRequest_ArtifactId struct { - ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3,oneof"` +// Deprecated: Use GetArtifactRequest.ProtoReflect.Descriptor instead. +func (*GetArtifactRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{4} } -type GetArtifactRequest_TagName struct { - TagName string `protobuf:"bytes,3,opt,name=tag_name,json=tagName,proto3,oneof"` +func (x *GetArtifactRequest) GetDataset() *DatasetID { + if x != nil { + return x.Dataset + } + return nil } -func (*GetArtifactRequest_ArtifactId) isGetArtifactRequest_QueryHandle() {} - -func (*GetArtifactRequest_TagName) isGetArtifactRequest_QueryHandle() {} - func (m *GetArtifactRequest) GetQueryHandle() isGetArtifactRequest_QueryHandle { if m != nil { return m.QueryHandle @@ -325,435 +403,512 @@ func (m *GetArtifactRequest) GetQueryHandle() isGetArtifactRequest_QueryHandle { return nil } -func (m *GetArtifactRequest) GetArtifactId() string { - if x, ok := m.GetQueryHandle().(*GetArtifactRequest_ArtifactId); ok { +func (x *GetArtifactRequest) GetArtifactId() string { + if x, ok := x.GetQueryHandle().(*GetArtifactRequest_ArtifactId); ok { return x.ArtifactId } return "" } -func (m *GetArtifactRequest) GetTagName() string { - if x, ok := m.GetQueryHandle().(*GetArtifactRequest_TagName); ok { +func (x *GetArtifactRequest) GetTagName() string { + if x, ok := x.GetQueryHandle().(*GetArtifactRequest_TagName); ok { return x.TagName } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetArtifactRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetArtifactRequest_ArtifactId)(nil), - (*GetArtifactRequest_TagName)(nil), - } +type isGetArtifactRequest_QueryHandle interface { + isGetArtifactRequest_QueryHandle() +} + +type GetArtifactRequest_ArtifactId struct { + ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + +type GetArtifactRequest_TagName struct { + TagName string `protobuf:"bytes,3,opt,name=tag_name,json=tagName,proto3,oneof"` } -// +func (*GetArtifactRequest_ArtifactId) isGetArtifactRequest_QueryHandle() {} + +func (*GetArtifactRequest_TagName) isGetArtifactRequest_QueryHandle() {} + // Response message for retrieving an Artifact. The result returned will include the artifact data // and metadata associated with the artifact. type GetArtifactResponse struct { - Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetArtifactResponse) Reset() { *m = GetArtifactResponse{} } -func (m *GetArtifactResponse) String() string { return proto.CompactTextString(m) } -func (*GetArtifactResponse) ProtoMessage() {} -func (*GetArtifactResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{5} + Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` } -func (m *GetArtifactResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetArtifactResponse.Unmarshal(m, b) -} -func (m *GetArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetArtifactResponse.Marshal(b, m, deterministic) -} -func (m *GetArtifactResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetArtifactResponse.Merge(m, src) +func (x *GetArtifactResponse) Reset() { + *x = GetArtifactResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetArtifactResponse) XXX_Size() int { - return xxx_messageInfo_GetArtifactResponse.Size(m) + +func (x *GetArtifactResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetArtifactResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetArtifactResponse.DiscardUnknown(m) + +func (*GetArtifactResponse) ProtoMessage() {} + +func (x *GetArtifactResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetArtifactResponse proto.InternalMessageInfo +// Deprecated: Use GetArtifactResponse.ProtoReflect.Descriptor instead. +func (*GetArtifactResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{5} +} -func (m *GetArtifactResponse) GetArtifact() *Artifact { - if m != nil { - return m.Artifact +func (x *GetArtifactResponse) GetArtifact() *Artifact { + if x != nil { + return x.Artifact } return nil } -// // Request message for creating an Artifact and its associated artifact Data. type CreateArtifactRequest struct { - Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateArtifactRequest) Reset() { *m = CreateArtifactRequest{} } -func (m *CreateArtifactRequest) String() string { return proto.CompactTextString(m) } -func (*CreateArtifactRequest) ProtoMessage() {} -func (*CreateArtifactRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{6} + Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` } -func (m *CreateArtifactRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateArtifactRequest.Unmarshal(m, b) -} -func (m *CreateArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateArtifactRequest.Marshal(b, m, deterministic) -} -func (m *CreateArtifactRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateArtifactRequest.Merge(m, src) +func (x *CreateArtifactRequest) Reset() { + *x = CreateArtifactRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateArtifactRequest) XXX_Size() int { - return xxx_messageInfo_CreateArtifactRequest.Size(m) + +func (x *CreateArtifactRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateArtifactRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateArtifactRequest.DiscardUnknown(m) + +func (*CreateArtifactRequest) ProtoMessage() {} + +func (x *CreateArtifactRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateArtifactRequest proto.InternalMessageInfo +// Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead. +func (*CreateArtifactRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{6} +} -func (m *CreateArtifactRequest) GetArtifact() *Artifact { - if m != nil { - return m.Artifact +func (x *CreateArtifactRequest) GetArtifact() *Artifact { + if x != nil { + return x.Artifact } return nil } -// // Response message for creating an Artifact. type CreateArtifactResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateArtifactResponse) Reset() { *m = CreateArtifactResponse{} } -func (m *CreateArtifactResponse) String() string { return proto.CompactTextString(m) } -func (*CreateArtifactResponse) ProtoMessage() {} -func (*CreateArtifactResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{7} +func (x *CreateArtifactResponse) Reset() { + *x = CreateArtifactResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateArtifactResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateArtifactResponse.Unmarshal(m, b) +func (x *CreateArtifactResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateArtifactResponse.Marshal(b, m, deterministic) -} -func (m *CreateArtifactResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateArtifactResponse.Merge(m, src) -} -func (m *CreateArtifactResponse) XXX_Size() int { - return xxx_messageInfo_CreateArtifactResponse.Size(m) -} -func (m *CreateArtifactResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateArtifactResponse.DiscardUnknown(m) + +func (*CreateArtifactResponse) ProtoMessage() {} + +func (x *CreateArtifactResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateArtifactResponse proto.InternalMessageInfo +// Deprecated: Use CreateArtifactResponse.ProtoReflect.Descriptor instead. +func (*CreateArtifactResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{7} +} -// // Request message for tagging an Artifact. type AddTagRequest struct { - Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AddTagRequest) Reset() { *m = AddTagRequest{} } -func (m *AddTagRequest) String() string { return proto.CompactTextString(m) } -func (*AddTagRequest) ProtoMessage() {} -func (*AddTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{8} + Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` } -func (m *AddTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTagRequest.Unmarshal(m, b) -} -func (m *AddTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTagRequest.Marshal(b, m, deterministic) -} -func (m *AddTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTagRequest.Merge(m, src) +func (x *AddTagRequest) Reset() { + *x = AddTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTagRequest) XXX_Size() int { - return xxx_messageInfo_AddTagRequest.Size(m) + +func (x *AddTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTagRequest.DiscardUnknown(m) + +func (*AddTagRequest) ProtoMessage() {} + +func (x *AddTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AddTagRequest proto.InternalMessageInfo +// Deprecated: Use AddTagRequest.ProtoReflect.Descriptor instead. +func (*AddTagRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{8} +} -func (m *AddTagRequest) GetTag() *Tag { - if m != nil { - return m.Tag +func (x *AddTagRequest) GetTag() *Tag { + if x != nil { + return x.Tag } return nil } -// // Response message for tagging an Artifact. type AddTagResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddTagResponse) Reset() { *m = AddTagResponse{} } -func (m *AddTagResponse) String() string { return proto.CompactTextString(m) } -func (*AddTagResponse) ProtoMessage() {} -func (*AddTagResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{9} +func (x *AddTagResponse) Reset() { + *x = AddTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddTagResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTagResponse.Unmarshal(m, b) -} -func (m *AddTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTagResponse.Marshal(b, m, deterministic) -} -func (m *AddTagResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTagResponse.Merge(m, src) +func (x *AddTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddTagResponse) XXX_Size() int { - return xxx_messageInfo_AddTagResponse.Size(m) -} -func (m *AddTagResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTagResponse.DiscardUnknown(m) + +func (*AddTagResponse) ProtoMessage() {} + +func (x *AddTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AddTagResponse proto.InternalMessageInfo +// Deprecated: Use AddTagResponse.ProtoReflect.Descriptor instead. +func (*AddTagResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{9} +} // List the artifacts that belong to the Dataset, optionally filtered using filtered expression. type ListArtifactsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Use a datasetID for which you want to retrieve the artifacts Dataset *DatasetID `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` // Apply the filter expression to this query Filter *FilterExpression `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Pagination options to get a page of artifacts - Pagination *PaginationOptions `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Pagination *PaginationOptions `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *ListArtifactsRequest) Reset() { *m = ListArtifactsRequest{} } -func (m *ListArtifactsRequest) String() string { return proto.CompactTextString(m) } -func (*ListArtifactsRequest) ProtoMessage() {} -func (*ListArtifactsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{10} +func (x *ListArtifactsRequest) Reset() { + *x = ListArtifactsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListArtifactsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListArtifactsRequest.Unmarshal(m, b) -} -func (m *ListArtifactsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListArtifactsRequest.Marshal(b, m, deterministic) -} -func (m *ListArtifactsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListArtifactsRequest.Merge(m, src) -} -func (m *ListArtifactsRequest) XXX_Size() int { - return xxx_messageInfo_ListArtifactsRequest.Size(m) +func (x *ListArtifactsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListArtifactsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListArtifactsRequest.DiscardUnknown(m) + +func (*ListArtifactsRequest) ProtoMessage() {} + +func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListArtifactsRequest proto.InternalMessageInfo +// Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead. +func (*ListArtifactsRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{10} +} -func (m *ListArtifactsRequest) GetDataset() *DatasetID { - if m != nil { - return m.Dataset +func (x *ListArtifactsRequest) GetDataset() *DatasetID { + if x != nil { + return x.Dataset } return nil } -func (m *ListArtifactsRequest) GetFilter() *FilterExpression { - if m != nil { - return m.Filter +func (x *ListArtifactsRequest) GetFilter() *FilterExpression { + if x != nil { + return x.Filter } return nil } -func (m *ListArtifactsRequest) GetPagination() *PaginationOptions { - if m != nil { - return m.Pagination +func (x *ListArtifactsRequest) GetPagination() *PaginationOptions { + if x != nil { + return x.Pagination } return nil } // Response to list artifacts type ListArtifactsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of artifacts Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // Token to use to request the next page, pass this into the next requests PaginationOptions - NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"` } -func (m *ListArtifactsResponse) Reset() { *m = ListArtifactsResponse{} } -func (m *ListArtifactsResponse) String() string { return proto.CompactTextString(m) } -func (*ListArtifactsResponse) ProtoMessage() {} -func (*ListArtifactsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{11} +func (x *ListArtifactsResponse) Reset() { + *x = ListArtifactsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListArtifactsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListArtifactsResponse.Unmarshal(m, b) -} -func (m *ListArtifactsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListArtifactsResponse.Marshal(b, m, deterministic) +func (x *ListArtifactsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListArtifactsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListArtifactsResponse.Merge(m, src) -} -func (m *ListArtifactsResponse) XXX_Size() int { - return xxx_messageInfo_ListArtifactsResponse.Size(m) -} -func (m *ListArtifactsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListArtifactsResponse.DiscardUnknown(m) + +func (*ListArtifactsResponse) ProtoMessage() {} + +func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListArtifactsResponse proto.InternalMessageInfo +// Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead. +func (*ListArtifactsResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{11} +} -func (m *ListArtifactsResponse) GetArtifacts() []*Artifact { - if m != nil { - return m.Artifacts +func (x *ListArtifactsResponse) GetArtifacts() []*Artifact { + if x != nil { + return x.Artifacts } return nil } -func (m *ListArtifactsResponse) GetNextToken() string { - if m != nil { - return m.NextToken +func (x *ListArtifactsResponse) GetNextToken() string { + if x != nil { + return x.NextToken } return "" } // List the datasets for the given query type ListDatasetsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Apply the filter expression to this query Filter *FilterExpression `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // Pagination options to get a page of datasets - Pagination *PaginationOptions `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Pagination *PaginationOptions `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} } -func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsRequest) ProtoMessage() {} -func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{12} +func (x *ListDatasetsRequest) Reset() { + *x = ListDatasetsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b) +func (x *ListDatasetsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsRequest.Marshal(b, m, deterministic) -} -func (m *ListDatasetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsRequest.Merge(m, src) -} -func (m *ListDatasetsRequest) XXX_Size() int { - return xxx_messageInfo_ListDatasetsRequest.Size(m) -} -func (m *ListDatasetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsRequest.DiscardUnknown(m) + +func (*ListDatasetsRequest) ProtoMessage() {} + +func (x *ListDatasetsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListDatasetsRequest proto.InternalMessageInfo +// Deprecated: Use ListDatasetsRequest.ProtoReflect.Descriptor instead. +func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{12} +} -func (m *ListDatasetsRequest) GetFilter() *FilterExpression { - if m != nil { - return m.Filter +func (x *ListDatasetsRequest) GetFilter() *FilterExpression { + if x != nil { + return x.Filter } return nil } -func (m *ListDatasetsRequest) GetPagination() *PaginationOptions { - if m != nil { - return m.Pagination +func (x *ListDatasetsRequest) GetPagination() *PaginationOptions { + if x != nil { + return x.Pagination } return nil } // List the datasets response with token for next pagination type ListDatasetsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of datasets Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` // Token to use to request the next page, pass this into the next requests PaginationOptions - NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"` } -func (m *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} } -func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsResponse) ProtoMessage() {} -func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{13} +func (x *ListDatasetsResponse) Reset() { + *x = ListDatasetsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b) -} -func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsResponse.Marshal(b, m, deterministic) -} -func (m *ListDatasetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsResponse.Merge(m, src) -} -func (m *ListDatasetsResponse) XXX_Size() int { - return xxx_messageInfo_ListDatasetsResponse.Size(m) +func (x *ListDatasetsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListDatasetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsResponse.DiscardUnknown(m) + +func (*ListDatasetsResponse) ProtoMessage() {} + +func (x *ListDatasetsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListDatasetsResponse proto.InternalMessageInfo +// Deprecated: Use ListDatasetsResponse.ProtoReflect.Descriptor instead. +func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{13} +} -func (m *ListDatasetsResponse) GetDatasets() []*Dataset { - if m != nil { - return m.Datasets +func (x *ListDatasetsResponse) GetDatasets() []*Dataset { + if x != nil { + return x.Datasets } return nil } -func (m *ListDatasetsResponse) GetNextToken() string { - if m != nil { - return m.NextToken +func (x *ListDatasetsResponse) GetNextToken() string { + if x != nil { + return x.NextToken } return "" } -// // Request message for updating an Artifact and overwriting its associated ArtifactData. type UpdateArtifactRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // 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 to retrieve existing artifact from // - // Types that are valid to be assigned to QueryHandle: + // Types that are assignable to QueryHandle: + // // *UpdateArtifactRequest_ArtifactId // *UpdateArtifactRequest_TagName QueryHandle isUpdateArtifactRequest_QueryHandle `protobuf_oneof:"query_handle"` @@ -761,60 +916,48 @@ type UpdateArtifactRequest struct { // ArtifactData entries will be removed from the underlying blob storage and database. Data []*ArtifactData `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` // Update execution metadata(including execution domain, name, node, project data) when overwriting cache - Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *UpdateArtifactRequest) Reset() { *m = UpdateArtifactRequest{} } -func (m *UpdateArtifactRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateArtifactRequest) ProtoMessage() {} -func (*UpdateArtifactRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{14} +func (x *UpdateArtifactRequest) Reset() { + *x = UpdateArtifactRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateArtifactRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateArtifactRequest.Unmarshal(m, b) -} -func (m *UpdateArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateArtifactRequest.Marshal(b, m, deterministic) -} -func (m *UpdateArtifactRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateArtifactRequest.Merge(m, src) -} -func (m *UpdateArtifactRequest) XXX_Size() int { - return xxx_messageInfo_UpdateArtifactRequest.Size(m) -} -func (m *UpdateArtifactRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateArtifactRequest.DiscardUnknown(m) +func (x *UpdateArtifactRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UpdateArtifactRequest proto.InternalMessageInfo +func (*UpdateArtifactRequest) ProtoMessage() {} -func (m *UpdateArtifactRequest) GetDataset() *DatasetID { - if m != nil { - return m.Dataset +func (x *UpdateArtifactRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil -} - -type isUpdateArtifactRequest_QueryHandle interface { - isUpdateArtifactRequest_QueryHandle() + return mi.MessageOf(x) } -type UpdateArtifactRequest_ArtifactId struct { - ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3,oneof"` +// Deprecated: Use UpdateArtifactRequest.ProtoReflect.Descriptor instead. +func (*UpdateArtifactRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{14} } -type UpdateArtifactRequest_TagName struct { - TagName string `protobuf:"bytes,3,opt,name=tag_name,json=tagName,proto3,oneof"` +func (x *UpdateArtifactRequest) GetDataset() *DatasetID { + if x != nil { + return x.Dataset + } + return nil } -func (*UpdateArtifactRequest_ArtifactId) isUpdateArtifactRequest_QueryHandle() {} - -func (*UpdateArtifactRequest_TagName) isUpdateArtifactRequest_QueryHandle() {} - func (m *UpdateArtifactRequest) GetQueryHandle() isUpdateArtifactRequest_QueryHandle { if m != nil { return m.QueryHandle @@ -822,1025 +965,1141 @@ func (m *UpdateArtifactRequest) GetQueryHandle() isUpdateArtifactRequest_QueryHa return nil } -func (m *UpdateArtifactRequest) GetArtifactId() string { - if x, ok := m.GetQueryHandle().(*UpdateArtifactRequest_ArtifactId); ok { +func (x *UpdateArtifactRequest) GetArtifactId() string { + if x, ok := x.GetQueryHandle().(*UpdateArtifactRequest_ArtifactId); ok { return x.ArtifactId } return "" } -func (m *UpdateArtifactRequest) GetTagName() string { - if x, ok := m.GetQueryHandle().(*UpdateArtifactRequest_TagName); ok { +func (x *UpdateArtifactRequest) GetTagName() string { + if x, ok := x.GetQueryHandle().(*UpdateArtifactRequest_TagName); ok { return x.TagName } return "" } -func (m *UpdateArtifactRequest) GetData() []*ArtifactData { - if m != nil { - return m.Data +func (x *UpdateArtifactRequest) GetData() []*ArtifactData { + if x != nil { + return x.Data } return nil } -func (m *UpdateArtifactRequest) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *UpdateArtifactRequest) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UpdateArtifactRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UpdateArtifactRequest_ArtifactId)(nil), - (*UpdateArtifactRequest_TagName)(nil), - } +type isUpdateArtifactRequest_QueryHandle interface { + isUpdateArtifactRequest_QueryHandle() +} + +type UpdateArtifactRequest_ArtifactId struct { + ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + +type UpdateArtifactRequest_TagName struct { + TagName string `protobuf:"bytes,3,opt,name=tag_name,json=tagName,proto3,oneof"` } -// +func (*UpdateArtifactRequest_ArtifactId) isUpdateArtifactRequest_QueryHandle() {} + +func (*UpdateArtifactRequest_TagName) isUpdateArtifactRequest_QueryHandle() {} + // Response message for updating an Artifact. type UpdateArtifactResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique ID of the artifact updated - ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` } -func (m *UpdateArtifactResponse) Reset() { *m = UpdateArtifactResponse{} } -func (m *UpdateArtifactResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateArtifactResponse) ProtoMessage() {} -func (*UpdateArtifactResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{15} +func (x *UpdateArtifactResponse) Reset() { + *x = UpdateArtifactResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateArtifactResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateArtifactResponse.Unmarshal(m, b) -} -func (m *UpdateArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateArtifactResponse.Marshal(b, m, deterministic) -} -func (m *UpdateArtifactResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateArtifactResponse.Merge(m, src) +func (x *UpdateArtifactResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateArtifactResponse) XXX_Size() int { - return xxx_messageInfo_UpdateArtifactResponse.Size(m) -} -func (m *UpdateArtifactResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateArtifactResponse.DiscardUnknown(m) + +func (*UpdateArtifactResponse) ProtoMessage() {} + +func (x *UpdateArtifactResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateArtifactResponse proto.InternalMessageInfo +// Deprecated: Use UpdateArtifactResponse.ProtoReflect.Descriptor instead. +func (*UpdateArtifactResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{15} +} -func (m *UpdateArtifactResponse) GetArtifactId() string { - if m != nil { - return m.ArtifactId +func (x *UpdateArtifactResponse) GetArtifactId() string { + if x != nil { + return x.ArtifactId } return "" } -// // ReservationID message that is composed of several string fields. type ReservationID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique ID for the reserved dataset DatasetId *DatasetID `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // The specific artifact tag for the reservation - TagName string `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TagName string `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` } -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} +func (x *ReservationID) Reset() { + *x = ReservationID{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReservationID) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReservationID.Unmarshal(m, b) -} -func (m *ReservationID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReservationID.Marshal(b, m, deterministic) +func (x *ReservationID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReservationID) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReservationID.Merge(m, src) -} -func (m *ReservationID) XXX_Size() int { - return xxx_messageInfo_ReservationID.Size(m) -} -func (m *ReservationID) XXX_DiscardUnknown() { - xxx_messageInfo_ReservationID.DiscardUnknown(m) + +func (*ReservationID) ProtoMessage() {} + +func (x *ReservationID) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReservationID proto.InternalMessageInfo +// Deprecated: Use ReservationID.ProtoReflect.Descriptor instead. +func (*ReservationID) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{16} +} -func (m *ReservationID) GetDatasetId() *DatasetID { - if m != nil { - return m.DatasetId +func (x *ReservationID) GetDatasetId() *DatasetID { + if x != nil { + return x.DatasetId } return nil } -func (m *ReservationID) GetTagName() string { - if m != nil { - return m.TagName +func (x *ReservationID) GetTagName() string { + if x != nil { + return x.TagName } return "" } // Try to acquire or extend an artifact reservation. If an active reservation exists, retrieve that instance. type GetOrExtendReservationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique ID for the reservation ReservationId *ReservationID `protobuf:"bytes,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` // The unique ID of the owner for the reservation OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // Requested reservation extension heartbeat interval - HeartbeatInterval *duration.Duration `protobuf:"bytes,3,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + HeartbeatInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` } -func (m *GetOrExtendReservationRequest) Reset() { *m = GetOrExtendReservationRequest{} } -func (m *GetOrExtendReservationRequest) String() string { return proto.CompactTextString(m) } -func (*GetOrExtendReservationRequest) ProtoMessage() {} -func (*GetOrExtendReservationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{17} +func (x *GetOrExtendReservationRequest) Reset() { + *x = GetOrExtendReservationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetOrExtendReservationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOrExtendReservationRequest.Unmarshal(m, b) -} -func (m *GetOrExtendReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOrExtendReservationRequest.Marshal(b, m, deterministic) -} -func (m *GetOrExtendReservationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOrExtendReservationRequest.Merge(m, src) -} -func (m *GetOrExtendReservationRequest) XXX_Size() int { - return xxx_messageInfo_GetOrExtendReservationRequest.Size(m) +func (x *GetOrExtendReservationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetOrExtendReservationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOrExtendReservationRequest.DiscardUnknown(m) + +func (*GetOrExtendReservationRequest) ProtoMessage() {} + +func (x *GetOrExtendReservationRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetOrExtendReservationRequest proto.InternalMessageInfo +// Deprecated: Use GetOrExtendReservationRequest.ProtoReflect.Descriptor instead. +func (*GetOrExtendReservationRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{17} +} -func (m *GetOrExtendReservationRequest) GetReservationId() *ReservationID { - if m != nil { - return m.ReservationId +func (x *GetOrExtendReservationRequest) GetReservationId() *ReservationID { + if x != nil { + return x.ReservationId } return nil } -func (m *GetOrExtendReservationRequest) GetOwnerId() string { - if m != nil { - return m.OwnerId +func (x *GetOrExtendReservationRequest) GetOwnerId() string { + if x != nil { + return x.OwnerId } return "" } -func (m *GetOrExtendReservationRequest) GetHeartbeatInterval() *duration.Duration { - if m != nil { - return m.HeartbeatInterval +func (x *GetOrExtendReservationRequest) GetHeartbeatInterval() *durationpb.Duration { + if x != nil { + return x.HeartbeatInterval } return nil } // A reservation including owner, heartbeat interval, expiration timestamp, and various metadata. type Reservation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique ID for the reservation ReservationId *ReservationID `protobuf:"bytes,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` // The unique ID of the owner for the reservation OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // Recommended heartbeat interval to extend reservation - HeartbeatInterval *duration.Duration `protobuf:"bytes,3,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` + HeartbeatInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=heartbeat_interval,json=heartbeatInterval,proto3" json:"heartbeat_interval,omitempty"` // Expiration timestamp of this reservation - ExpiresAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` + ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Free-form metadata associated with the artifact - Metadata *Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata *Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` } -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} +func (x *Reservation) Reset() { + *x = Reservation{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Reservation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reservation.Unmarshal(m, b) -} -func (m *Reservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reservation.Marshal(b, m, deterministic) +func (x *Reservation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Reservation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reservation.Merge(m, src) -} -func (m *Reservation) XXX_Size() int { - return xxx_messageInfo_Reservation.Size(m) -} -func (m *Reservation) XXX_DiscardUnknown() { - xxx_messageInfo_Reservation.DiscardUnknown(m) + +func (*Reservation) ProtoMessage() {} + +func (x *Reservation) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Reservation proto.InternalMessageInfo +// Deprecated: Use Reservation.ProtoReflect.Descriptor instead. +func (*Reservation) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{18} +} -func (m *Reservation) GetReservationId() *ReservationID { - if m != nil { - return m.ReservationId +func (x *Reservation) GetReservationId() *ReservationID { + if x != nil { + return x.ReservationId } return nil } -func (m *Reservation) GetOwnerId() string { - if m != nil { - return m.OwnerId +func (x *Reservation) GetOwnerId() string { + if x != nil { + return x.OwnerId } return "" } -func (m *Reservation) GetHeartbeatInterval() *duration.Duration { - if m != nil { - return m.HeartbeatInterval +func (x *Reservation) GetHeartbeatInterval() *durationpb.Duration { + if x != nil { + return x.HeartbeatInterval } return nil } -func (m *Reservation) GetExpiresAt() *timestamp.Timestamp { - if m != nil { - return m.ExpiresAt +func (x *Reservation) GetExpiresAt() *timestamppb.Timestamp { + if x != nil { + return x.ExpiresAt } return nil } -func (m *Reservation) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Reservation) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } // Response including either a newly minted reservation or the existing reservation type GetOrExtendReservationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The reservation to be acquired or extended - Reservation *Reservation `protobuf:"bytes,1,opt,name=reservation,proto3" json:"reservation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reservation *Reservation `protobuf:"bytes,1,opt,name=reservation,proto3" json:"reservation,omitempty"` } -func (m *GetOrExtendReservationResponse) Reset() { *m = GetOrExtendReservationResponse{} } -func (m *GetOrExtendReservationResponse) String() string { return proto.CompactTextString(m) } -func (*GetOrExtendReservationResponse) ProtoMessage() {} -func (*GetOrExtendReservationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{19} +func (x *GetOrExtendReservationResponse) Reset() { + *x = GetOrExtendReservationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetOrExtendReservationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOrExtendReservationResponse.Unmarshal(m, b) -} -func (m *GetOrExtendReservationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOrExtendReservationResponse.Marshal(b, m, deterministic) +func (x *GetOrExtendReservationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetOrExtendReservationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOrExtendReservationResponse.Merge(m, src) -} -func (m *GetOrExtendReservationResponse) XXX_Size() int { - return xxx_messageInfo_GetOrExtendReservationResponse.Size(m) -} -func (m *GetOrExtendReservationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetOrExtendReservationResponse.DiscardUnknown(m) + +func (*GetOrExtendReservationResponse) ProtoMessage() {} + +func (x *GetOrExtendReservationResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetOrExtendReservationResponse proto.InternalMessageInfo +// Deprecated: Use GetOrExtendReservationResponse.ProtoReflect.Descriptor instead. +func (*GetOrExtendReservationResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{19} +} -func (m *GetOrExtendReservationResponse) GetReservation() *Reservation { - if m != nil { - return m.Reservation +func (x *GetOrExtendReservationResponse) GetReservation() *Reservation { + if x != nil { + return x.Reservation } return nil } // Request to release reservation type ReleaseReservationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique ID for the reservation ReservationId *ReservationID `protobuf:"bytes,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` // The unique ID of the owner for the reservation - OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` } -func (m *ReleaseReservationRequest) Reset() { *m = ReleaseReservationRequest{} } -func (m *ReleaseReservationRequest) String() string { return proto.CompactTextString(m) } -func (*ReleaseReservationRequest) ProtoMessage() {} -func (*ReleaseReservationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{20} +func (x *ReleaseReservationRequest) Reset() { + *x = ReleaseReservationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReleaseReservationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReleaseReservationRequest.Unmarshal(m, b) +func (x *ReleaseReservationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReleaseReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReleaseReservationRequest.Marshal(b, m, deterministic) -} -func (m *ReleaseReservationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReleaseReservationRequest.Merge(m, src) -} -func (m *ReleaseReservationRequest) XXX_Size() int { - return xxx_messageInfo_ReleaseReservationRequest.Size(m) -} -func (m *ReleaseReservationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReleaseReservationRequest.DiscardUnknown(m) + +func (*ReleaseReservationRequest) ProtoMessage() {} + +func (x *ReleaseReservationRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReleaseReservationRequest proto.InternalMessageInfo +// Deprecated: Use ReleaseReservationRequest.ProtoReflect.Descriptor instead. +func (*ReleaseReservationRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{20} +} -func (m *ReleaseReservationRequest) GetReservationId() *ReservationID { - if m != nil { - return m.ReservationId +func (x *ReleaseReservationRequest) GetReservationId() *ReservationID { + if x != nil { + return x.ReservationId } return nil } -func (m *ReleaseReservationRequest) GetOwnerId() string { - if m != nil { - return m.OwnerId +func (x *ReleaseReservationRequest) GetOwnerId() string { + if x != nil { + return x.OwnerId } return "" } // Response to release reservation type ReleaseReservationResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ReleaseReservationResponse) Reset() { *m = ReleaseReservationResponse{} } -func (m *ReleaseReservationResponse) String() string { return proto.CompactTextString(m) } -func (*ReleaseReservationResponse) ProtoMessage() {} -func (*ReleaseReservationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{21} +func (x *ReleaseReservationResponse) Reset() { + *x = ReleaseReservationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReleaseReservationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReleaseReservationResponse.Unmarshal(m, b) +func (x *ReleaseReservationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReleaseReservationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReleaseReservationResponse.Marshal(b, m, deterministic) -} -func (m *ReleaseReservationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReleaseReservationResponse.Merge(m, src) -} -func (m *ReleaseReservationResponse) XXX_Size() int { - return xxx_messageInfo_ReleaseReservationResponse.Size(m) -} -func (m *ReleaseReservationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReleaseReservationResponse.DiscardUnknown(m) + +func (*ReleaseReservationResponse) ProtoMessage() {} + +func (x *ReleaseReservationResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReleaseReservationResponse proto.InternalMessageInfo +// Deprecated: Use ReleaseReservationResponse.ProtoReflect.Descriptor instead. +func (*ReleaseReservationResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{21} +} -// // Dataset message. It is uniquely identified by DatasetID. type Dataset struct { - Id *DatasetID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - PartitionKeys []string `protobuf:"bytes,3,rep,name=partitionKeys,proto3" json:"partitionKeys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + Id *DatasetID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + PartitionKeys []string `protobuf:"bytes,3,rep,name=partitionKeys,proto3" json:"partitionKeys,omitempty"` } -func (m *Dataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Dataset.Unmarshal(m, b) -} -func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Dataset.Marshal(b, m, deterministic) -} -func (m *Dataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dataset.Merge(m, src) +func (x *Dataset) Reset() { + *x = Dataset{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Dataset) XXX_Size() int { - return xxx_messageInfo_Dataset.Size(m) + +func (x *Dataset) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Dataset) XXX_DiscardUnknown() { - xxx_messageInfo_Dataset.DiscardUnknown(m) + +func (*Dataset) ProtoMessage() {} + +func (x *Dataset) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Dataset proto.InternalMessageInfo +// Deprecated: Use Dataset.ProtoReflect.Descriptor instead. +func (*Dataset) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{22} +} -func (m *Dataset) GetId() *DatasetID { - if m != nil { - return m.Id +func (x *Dataset) GetId() *DatasetID { + if x != nil { + return x.Id } return nil } -func (m *Dataset) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Dataset) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Dataset) GetPartitionKeys() []string { - if m != nil { - return m.PartitionKeys +func (x *Dataset) GetPartitionKeys() []string { + if x != nil { + return x.PartitionKeys } return nil } -// // An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair type Partition struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *Partition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Partition.Unmarshal(m, b) -} -func (m *Partition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Partition.Marshal(b, m, deterministic) -} -func (m *Partition) XXX_Merge(src proto.Message) { - xxx_messageInfo_Partition.Merge(m, src) +func (x *Partition) Reset() { + *x = Partition{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Partition) XXX_Size() int { - return xxx_messageInfo_Partition.Size(m) + +func (x *Partition) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Partition) XXX_DiscardUnknown() { - xxx_messageInfo_Partition.DiscardUnknown(m) + +func (*Partition) ProtoMessage() {} + +func (x *Partition) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Partition proto.InternalMessageInfo +// Deprecated: Use Partition.ProtoReflect.Descriptor instead. +func (*Partition) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{23} +} -func (m *Partition) GetKey() string { - if m != nil { - return m.Key +func (x *Partition) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *Partition) GetValue() string { - if m != nil { - return m.Value +func (x *Partition) GetValue() string { + if x != nil { + return x.Value } return "" } -// // DatasetID message that is composed of several string fields. type DatasetID struct { - Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - UUID string `protobuf:"bytes,5,opt,name=UUID,proto3" json:"UUID,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // The name of the project + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The name of the dataset + Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` // The domain (eg. environment) + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // Version of the data schema + UUID string `protobuf:"bytes,5,opt,name=UUID,proto3" json:"UUID,omitempty"` // UUID for the dataset (if set the above fields are optional) // Optional, org key applied to the resource. - Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` } -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} +func (x *DatasetID) Reset() { + *x = DatasetID{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DatasetID) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetID.Unmarshal(m, b) -} -func (m *DatasetID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetID.Marshal(b, m, deterministic) -} -func (m *DatasetID) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetID.Merge(m, src) -} -func (m *DatasetID) XXX_Size() int { - return xxx_messageInfo_DatasetID.Size(m) +func (x *DatasetID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DatasetID) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetID.DiscardUnknown(m) + +func (*DatasetID) ProtoMessage() {} + +func (x *DatasetID) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DatasetID proto.InternalMessageInfo +// Deprecated: Use DatasetID.ProtoReflect.Descriptor instead. +func (*DatasetID) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{24} +} -func (m *DatasetID) GetProject() string { - if m != nil { - return m.Project +func (x *DatasetID) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *DatasetID) GetName() string { - if m != nil { - return m.Name +func (x *DatasetID) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *DatasetID) GetDomain() string { - if m != nil { - return m.Domain +func (x *DatasetID) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *DatasetID) GetVersion() string { - if m != nil { - return m.Version +func (x *DatasetID) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *DatasetID) GetUUID() string { - if m != nil { - return m.UUID +func (x *DatasetID) GetUUID() string { + if x != nil { + return x.UUID } return "" } -func (m *DatasetID) GetOrg() string { - if m != nil { - return m.Org +func (x *DatasetID) GetOrg() string { + if x != nil { + return x.Org } return "" } -// // Artifact message. It is composed of several string fields. type Artifact struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Dataset *DatasetID `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` - Data []*ArtifactData `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` - Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - Partitions []*Partition `protobuf:"bytes,5,rep,name=partitions,proto3" json:"partitions,omitempty"` - Tags []*Tag `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` - CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Artifact) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Artifact.Unmarshal(m, b) + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The unique ID of the artifact + Dataset *DatasetID `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` // The Dataset that the artifact belongs to + Data []*ArtifactData `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // A list of data that is associated with the artifact + Metadata *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // Free-form metadata associated with the artifact + Partitions []*Partition `protobuf:"bytes,5,rep,name=partitions,proto3" json:"partitions,omitempty"` + Tags []*Tag `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // creation timestamp of artifact, autogenerated by service } -func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Artifact.Marshal(b, m, deterministic) -} -func (m *Artifact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Artifact.Merge(m, src) + +func (x *Artifact) Reset() { + *x = Artifact{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Artifact) XXX_Size() int { - return xxx_messageInfo_Artifact.Size(m) + +func (x *Artifact) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Artifact) XXX_DiscardUnknown() { - xxx_messageInfo_Artifact.DiscardUnknown(m) + +func (*Artifact) ProtoMessage() {} + +func (x *Artifact) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Artifact proto.InternalMessageInfo +// Deprecated: Use Artifact.ProtoReflect.Descriptor instead. +func (*Artifact) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{25} +} -func (m *Artifact) GetId() string { - if m != nil { - return m.Id +func (x *Artifact) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Artifact) GetDataset() *DatasetID { - if m != nil { - return m.Dataset +func (x *Artifact) GetDataset() *DatasetID { + if x != nil { + return x.Dataset } return nil } -func (m *Artifact) GetData() []*ArtifactData { - if m != nil { - return m.Data +func (x *Artifact) GetData() []*ArtifactData { + if x != nil { + return x.Data } return nil } -func (m *Artifact) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Artifact) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Artifact) GetPartitions() []*Partition { - if m != nil { - return m.Partitions +func (x *Artifact) GetPartitions() []*Partition { + if x != nil { + return x.Partitions } return nil } -func (m *Artifact) GetTags() []*Tag { - if m != nil { - return m.Tags +func (x *Artifact) GetTags() []*Tag { + if x != nil { + return x.Tags } return nil } -func (m *Artifact) GetCreatedAt() *timestamp.Timestamp { - if m != nil { - return m.CreatedAt +func (x *Artifact) GetCreatedAt() *timestamppb.Timestamp { + if x != nil { + return x.CreatedAt } return nil } -// // ArtifactData that belongs to an artifact type ArtifactData struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Value *core.Literal `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Value *core.Literal `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *ArtifactData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactData.Unmarshal(m, b) -} -func (m *ArtifactData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactData.Marshal(b, m, deterministic) -} -func (m *ArtifactData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactData.Merge(m, src) +func (x *ArtifactData) Reset() { + *x = ArtifactData{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArtifactData) XXX_Size() int { - return xxx_messageInfo_ArtifactData.Size(m) + +func (x *ArtifactData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ArtifactData) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactData.DiscardUnknown(m) + +func (*ArtifactData) ProtoMessage() {} + +func (x *ArtifactData) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ArtifactData proto.InternalMessageInfo +// Deprecated: Use ArtifactData.ProtoReflect.Descriptor instead. +func (*ArtifactData) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{26} +} -func (m *ArtifactData) GetName() string { - if m != nil { - return m.Name +func (x *ArtifactData) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ArtifactData) GetValue() *core.Literal { - if m != nil { - return m.Value +func (x *ArtifactData) GetValue() *core.Literal { + if x != nil { + return x.Value } return nil } -// // Tag message that is unique to a Dataset. It is associated to a single artifact and // can be retrieved by name later. type Tag struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` - Dataset *DatasetID `protobuf:"bytes,3,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of tag + ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // The tagged artifact + Dataset *DatasetID `protobuf:"bytes,3,opt,name=dataset,proto3" json:"dataset,omitempty"` // The Dataset that this tag belongs to } -func (m *Tag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tag.Unmarshal(m, b) -} -func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tag.Marshal(b, m, deterministic) -} -func (m *Tag) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tag.Merge(m, src) +func (x *Tag) Reset() { + *x = Tag{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Tag) XXX_Size() int { - return xxx_messageInfo_Tag.Size(m) + +func (x *Tag) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Tag) XXX_DiscardUnknown() { - xxx_messageInfo_Tag.DiscardUnknown(m) + +func (*Tag) ProtoMessage() {} + +func (x *Tag) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Tag proto.InternalMessageInfo +// Deprecated: Use Tag.ProtoReflect.Descriptor instead. +func (*Tag) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{27} +} -func (m *Tag) GetName() string { - if m != nil { - return m.Name +func (x *Tag) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Tag) GetArtifactId() string { - if m != nil { - return m.ArtifactId +func (x *Tag) GetArtifactId() string { + if x != nil { + return x.ArtifactId } return "" } -func (m *Tag) GetDataset() *DatasetID { - if m != nil { - return m.Dataset +func (x *Tag) GetDataset() *DatasetID { + if x != nil { + return x.Dataset } return nil } -// // Metadata representation for artifacts and datasets type Metadata struct { - KeyMap map[string]string `protobuf:"bytes,1,rep,name=key_map,json=keyMap,proto3" json:"key_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + KeyMap map[string]string `protobuf:"bytes,1,rep,name=key_map,json=keyMap,proto3" json:"key_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key map is a dictionary of key/val strings that represent metadata } -func (m *Metadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Metadata.Unmarshal(m, b) -} -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) -} -func (m *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(m, src) +func (x *Metadata) Reset() { + *x = Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Metadata) XXX_Size() int { - return xxx_messageInfo_Metadata.Size(m) + +func (x *Metadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) + +func (*Metadata) ProtoMessage() {} + +func (x *Metadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Metadata proto.InternalMessageInfo +// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. +func (*Metadata) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{28} +} -func (m *Metadata) GetKeyMap() map[string]string { - if m != nil { - return m.KeyMap +func (x *Metadata) GetKeyMap() map[string]string { + if x != nil { + return x.KeyMap } return nil } // Filter expression that is composed of a combination of single filters type FilterExpression struct { - Filters []*SinglePropertyFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + Filters []*SinglePropertyFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` } -func (m *FilterExpression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FilterExpression.Unmarshal(m, b) -} -func (m *FilterExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FilterExpression.Marshal(b, m, deterministic) -} -func (m *FilterExpression) XXX_Merge(src proto.Message) { - xxx_messageInfo_FilterExpression.Merge(m, src) +func (x *FilterExpression) Reset() { + *x = FilterExpression{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FilterExpression) XXX_Size() int { - return xxx_messageInfo_FilterExpression.Size(m) + +func (x *FilterExpression) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FilterExpression) XXX_DiscardUnknown() { - xxx_messageInfo_FilterExpression.DiscardUnknown(m) + +func (*FilterExpression) ProtoMessage() {} + +func (x *FilterExpression) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FilterExpression proto.InternalMessageInfo +// Deprecated: Use FilterExpression.ProtoReflect.Descriptor instead. +func (*FilterExpression) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{29} +} -func (m *FilterExpression) GetFilters() []*SinglePropertyFilter { - if m != nil { - return m.Filters +func (x *FilterExpression) GetFilters() []*SinglePropertyFilter { + if x != nil { + return x.Filters } return nil } // A single property to filter on. type SinglePropertyFilter struct { - // Types that are valid to be assigned to PropertyFilter: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to PropertyFilter: + // // *SinglePropertyFilter_TagFilter // *SinglePropertyFilter_PartitionFilter // *SinglePropertyFilter_ArtifactFilter // *SinglePropertyFilter_DatasetFilter - PropertyFilter isSinglePropertyFilter_PropertyFilter `protobuf_oneof:"property_filter"` - Operator SinglePropertyFilter_ComparisonOperator `protobuf:"varint,10,opt,name=operator,proto3,enum=datacatalog.SinglePropertyFilter_ComparisonOperator" json:"operator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PropertyFilter isSinglePropertyFilter_PropertyFilter `protobuf_oneof:"property_filter"` + Operator SinglePropertyFilter_ComparisonOperator `protobuf:"varint,10,opt,name=operator,proto3,enum=datacatalog.SinglePropertyFilter_ComparisonOperator" json:"operator,omitempty"` // field 10 in case we add more entities to query } -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} +func (x *SinglePropertyFilter) Reset() { + *x = SinglePropertyFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SinglePropertyFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SinglePropertyFilter.Unmarshal(m, b) -} -func (m *SinglePropertyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SinglePropertyFilter.Marshal(b, m, deterministic) -} -func (m *SinglePropertyFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_SinglePropertyFilter.Merge(m, src) -} -func (m *SinglePropertyFilter) XXX_Size() int { - return xxx_messageInfo_SinglePropertyFilter.Size(m) -} -func (m *SinglePropertyFilter) XXX_DiscardUnknown() { - xxx_messageInfo_SinglePropertyFilter.DiscardUnknown(m) +func (x *SinglePropertyFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_SinglePropertyFilter proto.InternalMessageInfo +func (*SinglePropertyFilter) ProtoMessage() {} -type isSinglePropertyFilter_PropertyFilter interface { - isSinglePropertyFilter_PropertyFilter() +func (x *SinglePropertyFilter) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type SinglePropertyFilter_TagFilter struct { - TagFilter *TagPropertyFilter `protobuf:"bytes,1,opt,name=tag_filter,json=tagFilter,proto3,oneof"` +// Deprecated: Use SinglePropertyFilter.ProtoReflect.Descriptor instead. +func (*SinglePropertyFilter) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{30} } -type SinglePropertyFilter_PartitionFilter struct { - PartitionFilter *PartitionPropertyFilter `protobuf:"bytes,2,opt,name=partition_filter,json=partitionFilter,proto3,oneof"` +func (m *SinglePropertyFilter) GetPropertyFilter() isSinglePropertyFilter_PropertyFilter { + if m != nil { + return m.PropertyFilter + } + return nil } -type SinglePropertyFilter_ArtifactFilter struct { - ArtifactFilter *ArtifactPropertyFilter `protobuf:"bytes,3,opt,name=artifact_filter,json=artifactFilter,proto3,oneof"` -} - -type SinglePropertyFilter_DatasetFilter struct { - DatasetFilter *DatasetPropertyFilter `protobuf:"bytes,4,opt,name=dataset_filter,json=datasetFilter,proto3,oneof"` -} - -func (*SinglePropertyFilter_TagFilter) isSinglePropertyFilter_PropertyFilter() {} - -func (*SinglePropertyFilter_PartitionFilter) isSinglePropertyFilter_PropertyFilter() {} - -func (*SinglePropertyFilter_ArtifactFilter) isSinglePropertyFilter_PropertyFilter() {} - -func (*SinglePropertyFilter_DatasetFilter) isSinglePropertyFilter_PropertyFilter() {} - -func (m *SinglePropertyFilter) GetPropertyFilter() isSinglePropertyFilter_PropertyFilter { - if m != nil { - return m.PropertyFilter - } - return nil -} - -func (m *SinglePropertyFilter) GetTagFilter() *TagPropertyFilter { - if x, ok := m.GetPropertyFilter().(*SinglePropertyFilter_TagFilter); ok { +func (x *SinglePropertyFilter) GetTagFilter() *TagPropertyFilter { + if x, ok := x.GetPropertyFilter().(*SinglePropertyFilter_TagFilter); ok { return x.TagFilter } return nil } -func (m *SinglePropertyFilter) GetPartitionFilter() *PartitionPropertyFilter { - if x, ok := m.GetPropertyFilter().(*SinglePropertyFilter_PartitionFilter); ok { +func (x *SinglePropertyFilter) GetPartitionFilter() *PartitionPropertyFilter { + if x, ok := x.GetPropertyFilter().(*SinglePropertyFilter_PartitionFilter); ok { return x.PartitionFilter } return nil } -func (m *SinglePropertyFilter) GetArtifactFilter() *ArtifactPropertyFilter { - if x, ok := m.GetPropertyFilter().(*SinglePropertyFilter_ArtifactFilter); ok { +func (x *SinglePropertyFilter) GetArtifactFilter() *ArtifactPropertyFilter { + if x, ok := x.GetPropertyFilter().(*SinglePropertyFilter_ArtifactFilter); ok { return x.ArtifactFilter } return nil } -func (m *SinglePropertyFilter) GetDatasetFilter() *DatasetPropertyFilter { - if x, ok := m.GetPropertyFilter().(*SinglePropertyFilter_DatasetFilter); ok { +func (x *SinglePropertyFilter) GetDatasetFilter() *DatasetPropertyFilter { + if x, ok := x.GetPropertyFilter().(*SinglePropertyFilter_DatasetFilter); ok { return x.DatasetFilter } return nil } -func (m *SinglePropertyFilter) GetOperator() SinglePropertyFilter_ComparisonOperator { - if m != nil { - return m.Operator +func (x *SinglePropertyFilter) GetOperator() SinglePropertyFilter_ComparisonOperator { + if x != nil { + return x.Operator } return SinglePropertyFilter_EQUALS } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SinglePropertyFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SinglePropertyFilter_TagFilter)(nil), - (*SinglePropertyFilter_PartitionFilter)(nil), - (*SinglePropertyFilter_ArtifactFilter)(nil), - (*SinglePropertyFilter_DatasetFilter)(nil), - } +type isSinglePropertyFilter_PropertyFilter interface { + isSinglePropertyFilter_PropertyFilter() +} + +type SinglePropertyFilter_TagFilter struct { + TagFilter *TagPropertyFilter `protobuf:"bytes,1,opt,name=tag_filter,json=tagFilter,proto3,oneof"` +} + +type SinglePropertyFilter_PartitionFilter struct { + PartitionFilter *PartitionPropertyFilter `protobuf:"bytes,2,opt,name=partition_filter,json=partitionFilter,proto3,oneof"` +} + +type SinglePropertyFilter_ArtifactFilter struct { + ArtifactFilter *ArtifactPropertyFilter `protobuf:"bytes,3,opt,name=artifact_filter,json=artifactFilter,proto3,oneof"` +} + +type SinglePropertyFilter_DatasetFilter struct { + DatasetFilter *DatasetPropertyFilter `protobuf:"bytes,4,opt,name=dataset_filter,json=datasetFilter,proto3,oneof"` } +func (*SinglePropertyFilter_TagFilter) isSinglePropertyFilter_PropertyFilter() {} + +func (*SinglePropertyFilter_PartitionFilter) isSinglePropertyFilter_PropertyFilter() {} + +func (*SinglePropertyFilter_ArtifactFilter) isSinglePropertyFilter_PropertyFilter() {} + +func (*SinglePropertyFilter_DatasetFilter) isSinglePropertyFilter_PropertyFilter() {} + // Artifact properties we can filter by type ArtifactPropertyFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // oneof because we can add more properties in the future // - // Types that are valid to be assigned to Property: + // Types that are assignable to Property: + // // *ArtifactPropertyFilter_ArtifactId - Property isArtifactPropertyFilter_Property `protobuf_oneof:"property"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Property isArtifactPropertyFilter_Property `protobuf_oneof:"property"` } -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} +func (x *ArtifactPropertyFilter) Reset() { + *x = ArtifactPropertyFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArtifactPropertyFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactPropertyFilter.Unmarshal(m, b) -} -func (m *ArtifactPropertyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactPropertyFilter.Marshal(b, m, deterministic) -} -func (m *ArtifactPropertyFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactPropertyFilter.Merge(m, src) -} -func (m *ArtifactPropertyFilter) XXX_Size() int { - return xxx_messageInfo_ArtifactPropertyFilter.Size(m) -} -func (m *ArtifactPropertyFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactPropertyFilter.DiscardUnknown(m) +func (x *ArtifactPropertyFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ArtifactPropertyFilter proto.InternalMessageInfo +func (*ArtifactPropertyFilter) ProtoMessage() {} -type isArtifactPropertyFilter_Property interface { - isArtifactPropertyFilter_Property() +func (x *ArtifactPropertyFilter) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type ArtifactPropertyFilter_ArtifactId struct { - ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3,oneof"` +// Deprecated: Use ArtifactPropertyFilter.ProtoReflect.Descriptor instead. +func (*ArtifactPropertyFilter) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{31} } -func (*ArtifactPropertyFilter_ArtifactId) isArtifactPropertyFilter_Property() {} - func (m *ArtifactPropertyFilter) GetProperty() isArtifactPropertyFilter_Property { if m != nil { return m.Property @@ -1848,65 +2107,67 @@ func (m *ArtifactPropertyFilter) GetProperty() isArtifactPropertyFilter_Property return nil } -func (m *ArtifactPropertyFilter) GetArtifactId() string { - if x, ok := m.GetProperty().(*ArtifactPropertyFilter_ArtifactId); ok { +func (x *ArtifactPropertyFilter) GetArtifactId() string { + if x, ok := x.GetProperty().(*ArtifactPropertyFilter_ArtifactId); ok { return x.ArtifactId } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ArtifactPropertyFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ArtifactPropertyFilter_ArtifactId)(nil), - } +type isArtifactPropertyFilter_Property interface { + isArtifactPropertyFilter_Property() } +type ArtifactPropertyFilter_ArtifactId struct { + ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + +func (*ArtifactPropertyFilter_ArtifactId) isArtifactPropertyFilter_Property() {} + // Tag properties we can filter by type TagPropertyFilter struct { - // Types that are valid to be assigned to Property: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Property: + // // *TagPropertyFilter_TagName - Property isTagPropertyFilter_Property `protobuf_oneof:"property"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Property isTagPropertyFilter_Property `protobuf_oneof:"property"` } -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} +func (x *TagPropertyFilter) Reset() { + *x = TagPropertyFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TagPropertyFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TagPropertyFilter.Unmarshal(m, b) -} -func (m *TagPropertyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TagPropertyFilter.Marshal(b, m, deterministic) -} -func (m *TagPropertyFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_TagPropertyFilter.Merge(m, src) -} -func (m *TagPropertyFilter) XXX_Size() int { - return xxx_messageInfo_TagPropertyFilter.Size(m) -} -func (m *TagPropertyFilter) XXX_DiscardUnknown() { - xxx_messageInfo_TagPropertyFilter.DiscardUnknown(m) +func (x *TagPropertyFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_TagPropertyFilter proto.InternalMessageInfo +func (*TagPropertyFilter) ProtoMessage() {} -type isTagPropertyFilter_Property interface { - isTagPropertyFilter_Property() +func (x *TagPropertyFilter) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type TagPropertyFilter_TagName struct { - TagName string `protobuf:"bytes,1,opt,name=tag_name,json=tagName,proto3,oneof"` +// Deprecated: Use TagPropertyFilter.ProtoReflect.Descriptor instead. +func (*TagPropertyFilter) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{32} } -func (*TagPropertyFilter_TagName) isTagPropertyFilter_Property() {} - func (m *TagPropertyFilter) GetProperty() isTagPropertyFilter_Property { if m != nil { return m.Property @@ -1914,65 +2175,67 @@ func (m *TagPropertyFilter) GetProperty() isTagPropertyFilter_Property { return nil } -func (m *TagPropertyFilter) GetTagName() string { - if x, ok := m.GetProperty().(*TagPropertyFilter_TagName); ok { +func (x *TagPropertyFilter) GetTagName() string { + if x, ok := x.GetProperty().(*TagPropertyFilter_TagName); ok { return x.TagName } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TagPropertyFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TagPropertyFilter_TagName)(nil), - } +type isTagPropertyFilter_Property interface { + isTagPropertyFilter_Property() } +type TagPropertyFilter_TagName struct { + TagName string `protobuf:"bytes,1,opt,name=tag_name,json=tagName,proto3,oneof"` +} + +func (*TagPropertyFilter_TagName) isTagPropertyFilter_Property() {} + // Partition properties we can filter by type PartitionPropertyFilter struct { - // Types that are valid to be assigned to Property: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Property: + // // *PartitionPropertyFilter_KeyVal - Property isPartitionPropertyFilter_Property `protobuf_oneof:"property"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Property isPartitionPropertyFilter_Property `protobuf_oneof:"property"` } -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} +func (x *PartitionPropertyFilter) Reset() { + *x = PartitionPropertyFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PartitionPropertyFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionPropertyFilter.Unmarshal(m, b) -} -func (m *PartitionPropertyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionPropertyFilter.Marshal(b, m, deterministic) -} -func (m *PartitionPropertyFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionPropertyFilter.Merge(m, src) -} -func (m *PartitionPropertyFilter) XXX_Size() int { - return xxx_messageInfo_PartitionPropertyFilter.Size(m) -} -func (m *PartitionPropertyFilter) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionPropertyFilter.DiscardUnknown(m) +func (x *PartitionPropertyFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PartitionPropertyFilter proto.InternalMessageInfo +func (*PartitionPropertyFilter) ProtoMessage() {} -type isPartitionPropertyFilter_Property interface { - isPartitionPropertyFilter_Property() +func (x *PartitionPropertyFilter) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type PartitionPropertyFilter_KeyVal struct { - KeyVal *KeyValuePair `protobuf:"bytes,1,opt,name=key_val,json=keyVal,proto3,oneof"` +// Deprecated: Use PartitionPropertyFilter.ProtoReflect.Descriptor instead. +func (*PartitionPropertyFilter) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{33} } -func (*PartitionPropertyFilter_KeyVal) isPartitionPropertyFilter_Property() {} - func (m *PartitionPropertyFilter) GetProperty() isPartitionPropertyFilter_Property { if m != nil { return m.Property @@ -1980,140 +2243,126 @@ func (m *PartitionPropertyFilter) GetProperty() isPartitionPropertyFilter_Proper return nil } -func (m *PartitionPropertyFilter) GetKeyVal() *KeyValuePair { - if x, ok := m.GetProperty().(*PartitionPropertyFilter_KeyVal); ok { +func (x *PartitionPropertyFilter) GetKeyVal() *KeyValuePair { + if x, ok := x.GetProperty().(*PartitionPropertyFilter_KeyVal); ok { return x.KeyVal } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PartitionPropertyFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PartitionPropertyFilter_KeyVal)(nil), - } +type isPartitionPropertyFilter_Property interface { + isPartitionPropertyFilter_Property() } -type KeyValuePair struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type PartitionPropertyFilter_KeyVal struct { + KeyVal *KeyValuePair `protobuf:"bytes,1,opt,name=key_val,json=keyVal,proto3,oneof"` } -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} -} +func (*PartitionPropertyFilter_KeyVal) isPartitionPropertyFilter_Property() {} -func (m *KeyValuePair) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyValuePair.Unmarshal(m, b) -} -func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyValuePair.Marshal(b, m, deterministic) +type KeyValuePair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *KeyValuePair) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyValuePair.Merge(m, src) + +func (x *KeyValuePair) Reset() { + *x = KeyValuePair{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *KeyValuePair) XXX_Size() int { - return xxx_messageInfo_KeyValuePair.Size(m) + +func (x *KeyValuePair) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KeyValuePair) XXX_DiscardUnknown() { - xxx_messageInfo_KeyValuePair.DiscardUnknown(m) + +func (*KeyValuePair) ProtoMessage() {} + +func (x *KeyValuePair) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_KeyValuePair proto.InternalMessageInfo +// Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead. +func (*KeyValuePair) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{34} +} -func (m *KeyValuePair) GetKey() string { - if m != nil { - return m.Key +func (x *KeyValuePair) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *KeyValuePair) GetValue() string { - if m != nil { - return m.Value +func (x *KeyValuePair) GetValue() string { + if x != nil { + return x.Value } return "" } // Dataset properties we can filter by type DatasetPropertyFilter struct { - // Types that are valid to be assigned to Property: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Property: + // // *DatasetPropertyFilter_Project // *DatasetPropertyFilter_Name // *DatasetPropertyFilter_Domain // *DatasetPropertyFilter_Version // *DatasetPropertyFilter_Org - Property isDatasetPropertyFilter_Property `protobuf_oneof:"property"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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} -} - -func (m *DatasetPropertyFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetPropertyFilter.Unmarshal(m, b) -} -func (m *DatasetPropertyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetPropertyFilter.Marshal(b, m, deterministic) -} -func (m *DatasetPropertyFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetPropertyFilter.Merge(m, src) -} -func (m *DatasetPropertyFilter) XXX_Size() int { - return xxx_messageInfo_DatasetPropertyFilter.Size(m) -} -func (m *DatasetPropertyFilter) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetPropertyFilter.DiscardUnknown(m) + Property isDatasetPropertyFilter_Property `protobuf_oneof:"property"` } -var xxx_messageInfo_DatasetPropertyFilter proto.InternalMessageInfo - -type isDatasetPropertyFilter_Property interface { - isDatasetPropertyFilter_Property() -} - -type DatasetPropertyFilter_Project struct { - Project string `protobuf:"bytes,1,opt,name=project,proto3,oneof"` +func (x *DatasetPropertyFilter) Reset() { + *x = DatasetPropertyFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type DatasetPropertyFilter_Name struct { - Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"` +func (x *DatasetPropertyFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -type DatasetPropertyFilter_Domain struct { - Domain string `protobuf:"bytes,3,opt,name=domain,proto3,oneof"` -} +func (*DatasetPropertyFilter) ProtoMessage() {} -type DatasetPropertyFilter_Version struct { - Version string `protobuf:"bytes,4,opt,name=version,proto3,oneof"` +func (x *DatasetPropertyFilter) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type DatasetPropertyFilter_Org struct { - Org string `protobuf:"bytes,5,opt,name=org,proto3,oneof"` +// Deprecated: Use DatasetPropertyFilter.ProtoReflect.Descriptor instead. +func (*DatasetPropertyFilter) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{35} } -func (*DatasetPropertyFilter_Project) isDatasetPropertyFilter_Property() {} - -func (*DatasetPropertyFilter_Name) isDatasetPropertyFilter_Property() {} - -func (*DatasetPropertyFilter_Domain) isDatasetPropertyFilter_Property() {} - -func (*DatasetPropertyFilter_Version) isDatasetPropertyFilter_Property() {} - -func (*DatasetPropertyFilter_Org) isDatasetPropertyFilter_Property() {} - func (m *DatasetPropertyFilter) GetProperty() isDatasetPropertyFilter_Property { if m != nil { return m.Property @@ -2121,724 +2370,1155 @@ func (m *DatasetPropertyFilter) GetProperty() isDatasetPropertyFilter_Property { return nil } -func (m *DatasetPropertyFilter) GetProject() string { - if x, ok := m.GetProperty().(*DatasetPropertyFilter_Project); ok { +func (x *DatasetPropertyFilter) GetProject() string { + if x, ok := x.GetProperty().(*DatasetPropertyFilter_Project); ok { return x.Project } return "" } -func (m *DatasetPropertyFilter) GetName() string { - if x, ok := m.GetProperty().(*DatasetPropertyFilter_Name); ok { +func (x *DatasetPropertyFilter) GetName() string { + if x, ok := x.GetProperty().(*DatasetPropertyFilter_Name); ok { return x.Name } return "" } -func (m *DatasetPropertyFilter) GetDomain() string { - if x, ok := m.GetProperty().(*DatasetPropertyFilter_Domain); ok { +func (x *DatasetPropertyFilter) GetDomain() string { + if x, ok := x.GetProperty().(*DatasetPropertyFilter_Domain); ok { return x.Domain } return "" } -func (m *DatasetPropertyFilter) GetVersion() string { - if x, ok := m.GetProperty().(*DatasetPropertyFilter_Version); ok { +func (x *DatasetPropertyFilter) GetVersion() string { + if x, ok := x.GetProperty().(*DatasetPropertyFilter_Version); ok { return x.Version } return "" } -func (m *DatasetPropertyFilter) GetOrg() string { - if x, ok := m.GetProperty().(*DatasetPropertyFilter_Org); ok { +func (x *DatasetPropertyFilter) GetOrg() string { + if x, ok := x.GetProperty().(*DatasetPropertyFilter_Org); ok { return x.Org } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DatasetPropertyFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DatasetPropertyFilter_Project)(nil), - (*DatasetPropertyFilter_Name)(nil), - (*DatasetPropertyFilter_Domain)(nil), - (*DatasetPropertyFilter_Version)(nil), - (*DatasetPropertyFilter_Org)(nil), - } -} - -// Pagination options for making list requests -type PaginationOptions struct { - // the max number of results to return - Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` - // the token to pass to fetch the next page - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - // the property that we want to sort the results by - SortKey PaginationOptions_SortKey `protobuf:"varint,3,opt,name=sortKey,proto3,enum=datacatalog.PaginationOptions_SortKey" json:"sortKey,omitempty"` - // the sort order of the results - SortOrder PaginationOptions_SortOrder `protobuf:"varint,4,opt,name=sortOrder,proto3,enum=datacatalog.PaginationOptions_SortOrder" json:"sortOrder,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type isDatasetPropertyFilter_Property interface { + isDatasetPropertyFilter_Property() } -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} +type DatasetPropertyFilter_Project struct { + Project string `protobuf:"bytes,1,opt,name=project,proto3,oneof"` } -func (m *PaginationOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PaginationOptions.Unmarshal(m, b) -} -func (m *PaginationOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PaginationOptions.Marshal(b, m, deterministic) -} -func (m *PaginationOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaginationOptions.Merge(m, src) -} -func (m *PaginationOptions) XXX_Size() int { - return xxx_messageInfo_PaginationOptions.Size(m) -} -func (m *PaginationOptions) XXX_DiscardUnknown() { - xxx_messageInfo_PaginationOptions.DiscardUnknown(m) +type DatasetPropertyFilter_Name struct { + Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"` } -var xxx_messageInfo_PaginationOptions proto.InternalMessageInfo - -func (m *PaginationOptions) GetLimit() uint32 { - if m != nil { - return m.Limit - } - return 0 +type DatasetPropertyFilter_Domain struct { + Domain string `protobuf:"bytes,3,opt,name=domain,proto3,oneof"` } -func (m *PaginationOptions) GetToken() string { - if m != nil { - return m.Token - } - return "" +type DatasetPropertyFilter_Version struct { + Version string `protobuf:"bytes,4,opt,name=version,proto3,oneof"` } -func (m *PaginationOptions) GetSortKey() PaginationOptions_SortKey { - if m != nil { - return m.SortKey - } - return PaginationOptions_CREATION_TIME +type DatasetPropertyFilter_Org struct { + // Optional, org key applied to the dataset. + Org string `protobuf:"bytes,5,opt,name=org,proto3,oneof"` } -func (m *PaginationOptions) GetSortOrder() PaginationOptions_SortOrder { - if m != nil { - return m.SortOrder - } - return PaginationOptions_DESCENDING -} +func (*DatasetPropertyFilter_Project) isDatasetPropertyFilter_Property() {} -func init() { - proto.RegisterEnum("datacatalog.SinglePropertyFilter_ComparisonOperator", SinglePropertyFilter_ComparisonOperator_name, SinglePropertyFilter_ComparisonOperator_value) - proto.RegisterEnum("datacatalog.PaginationOptions_SortOrder", PaginationOptions_SortOrder_name, PaginationOptions_SortOrder_value) - proto.RegisterEnum("datacatalog.PaginationOptions_SortKey", PaginationOptions_SortKey_name, PaginationOptions_SortKey_value) - proto.RegisterType((*CreateDatasetRequest)(nil), "datacatalog.CreateDatasetRequest") - proto.RegisterType((*CreateDatasetResponse)(nil), "datacatalog.CreateDatasetResponse") - proto.RegisterType((*GetDatasetRequest)(nil), "datacatalog.GetDatasetRequest") - proto.RegisterType((*GetDatasetResponse)(nil), "datacatalog.GetDatasetResponse") - proto.RegisterType((*GetArtifactRequest)(nil), "datacatalog.GetArtifactRequest") - proto.RegisterType((*GetArtifactResponse)(nil), "datacatalog.GetArtifactResponse") - proto.RegisterType((*CreateArtifactRequest)(nil), "datacatalog.CreateArtifactRequest") - proto.RegisterType((*CreateArtifactResponse)(nil), "datacatalog.CreateArtifactResponse") - proto.RegisterType((*AddTagRequest)(nil), "datacatalog.AddTagRequest") - proto.RegisterType((*AddTagResponse)(nil), "datacatalog.AddTagResponse") - proto.RegisterType((*ListArtifactsRequest)(nil), "datacatalog.ListArtifactsRequest") - proto.RegisterType((*ListArtifactsResponse)(nil), "datacatalog.ListArtifactsResponse") - proto.RegisterType((*ListDatasetsRequest)(nil), "datacatalog.ListDatasetsRequest") - proto.RegisterType((*ListDatasetsResponse)(nil), "datacatalog.ListDatasetsResponse") - proto.RegisterType((*UpdateArtifactRequest)(nil), "datacatalog.UpdateArtifactRequest") - proto.RegisterType((*UpdateArtifactResponse)(nil), "datacatalog.UpdateArtifactResponse") - proto.RegisterType((*ReservationID)(nil), "datacatalog.ReservationID") - proto.RegisterType((*GetOrExtendReservationRequest)(nil), "datacatalog.GetOrExtendReservationRequest") - proto.RegisterType((*Reservation)(nil), "datacatalog.Reservation") - proto.RegisterType((*GetOrExtendReservationResponse)(nil), "datacatalog.GetOrExtendReservationResponse") - proto.RegisterType((*ReleaseReservationRequest)(nil), "datacatalog.ReleaseReservationRequest") - proto.RegisterType((*ReleaseReservationResponse)(nil), "datacatalog.ReleaseReservationResponse") - proto.RegisterType((*Dataset)(nil), "datacatalog.Dataset") - proto.RegisterType((*Partition)(nil), "datacatalog.Partition") - proto.RegisterType((*DatasetID)(nil), "datacatalog.DatasetID") - proto.RegisterType((*Artifact)(nil), "datacatalog.Artifact") - proto.RegisterType((*ArtifactData)(nil), "datacatalog.ArtifactData") - proto.RegisterType((*Tag)(nil), "datacatalog.Tag") - proto.RegisterType((*Metadata)(nil), "datacatalog.Metadata") - proto.RegisterMapType((map[string]string)(nil), "datacatalog.Metadata.KeyMapEntry") - proto.RegisterType((*FilterExpression)(nil), "datacatalog.FilterExpression") - proto.RegisterType((*SinglePropertyFilter)(nil), "datacatalog.SinglePropertyFilter") - proto.RegisterType((*ArtifactPropertyFilter)(nil), "datacatalog.ArtifactPropertyFilter") - proto.RegisterType((*TagPropertyFilter)(nil), "datacatalog.TagPropertyFilter") - proto.RegisterType((*PartitionPropertyFilter)(nil), "datacatalog.PartitionPropertyFilter") - proto.RegisterType((*KeyValuePair)(nil), "datacatalog.KeyValuePair") - proto.RegisterType((*DatasetPropertyFilter)(nil), "datacatalog.DatasetPropertyFilter") - proto.RegisterType((*PaginationOptions)(nil), "datacatalog.PaginationOptions") -} - -func init() { - proto.RegisterFile("flyteidl/datacatalog/datacatalog.proto", fileDescriptor_275951237ff4368a) -} - -var fileDescriptor_275951237ff4368a = []byte{ - // 1694 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xcd, 0x6f, 0xdb, 0xc6, - 0x12, 0x37, 0x25, 0x5b, 0x32, 0x47, 0x96, 0x22, 0x6f, 0x6c, 0x47, 0x56, 0x12, 0x5b, 0x61, 0x02, - 0x3f, 0x23, 0xef, 0x45, 0xca, 0xb3, 0x93, 0xe0, 0x25, 0xaf, 0x68, 0x2b, 0x5b, 0x8a, 0xad, 0x3a, - 0xfe, 0x08, 0xfd, 0x01, 0xf4, 0x03, 0x10, 0xd6, 0xe6, 0x9a, 0x61, 0x4d, 0x89, 0x0c, 0xb9, 0x4e, - 0xad, 0x63, 0x2f, 0x3d, 0x14, 0xbd, 0x14, 0x05, 0x7a, 0xed, 0xa1, 0x7f, 0x48, 0x8f, 0xb9, 0xf5, - 0x1f, 0xea, 0xa5, 0x58, 0x72, 0x97, 0x22, 0x29, 0xca, 0x56, 0x7c, 0x08, 0xd0, 0x0b, 0xc1, 0xdd, - 0x9d, 0xf9, 0xed, 0x7c, 0xec, 0xec, 0xcc, 0x2c, 0x2c, 0x9d, 0x9a, 0x3d, 0x4a, 0x0c, 0xcd, 0xac, - 0x69, 0x98, 0xe2, 0x13, 0x4c, 0xb1, 0x69, 0xe9, 0xe1, 0xff, 0xaa, 0xed, 0x58, 0xd4, 0x42, 0xb9, - 0xd0, 0x54, 0xf9, 0x4e, 0xc0, 0x74, 0x62, 0x39, 0xa4, 0x66, 0x1a, 0x94, 0x38, 0xd8, 0x74, 0x7d, - 0xd2, 0xf2, 0x82, 0x6e, 0x59, 0xba, 0x49, 0x6a, 0xde, 0xe8, 0xf8, 0xfc, 0xb4, 0xa6, 0x9d, 0x3b, - 0x98, 0x1a, 0x56, 0x97, 0xaf, 0x2f, 0xc6, 0xd7, 0xa9, 0xd1, 0x21, 0x2e, 0xc5, 0x1d, 0xdb, 0x27, - 0x50, 0x5e, 0xc2, 0xcc, 0xba, 0x43, 0x30, 0x25, 0x0d, 0x4c, 0xb1, 0x4b, 0xa8, 0x4a, 0xde, 0x9e, - 0x13, 0x97, 0xa2, 0x2a, 0x64, 0x35, 0x7f, 0xa6, 0x24, 0x55, 0xa4, 0xe5, 0xdc, 0xca, 0x4c, 0x35, - 0x2c, 0xa8, 0xa0, 0x16, 0x44, 0xca, 0x2d, 0x98, 0x8d, 0xe1, 0xb8, 0xb6, 0xd5, 0x75, 0x89, 0xd2, - 0x84, 0xe9, 0x0d, 0x42, 0x63, 0xe8, 0x8f, 0xe3, 0xe8, 0x73, 0x49, 0xe8, 0xad, 0x46, 0x1f, 0xbf, - 0x01, 0x28, 0x0c, 0xe3, 0x83, 0x7f, 0xb0, 0x94, 0xbf, 0x4a, 0x1e, 0x4c, 0xdd, 0xa1, 0xc6, 0x29, - 0x3e, 0xb9, 0xbe, 0x38, 0xe8, 0x1e, 0xe4, 0x30, 0x07, 0x69, 0x1b, 0x5a, 0x29, 0x55, 0x91, 0x96, - 0xe5, 0xcd, 0x31, 0x15, 0xc4, 0x64, 0x4b, 0x43, 0xb7, 0x61, 0x92, 0x62, 0xbd, 0xdd, 0xc5, 0x1d, - 0x52, 0x4a, 0xf3, 0xf5, 0x2c, 0xc5, 0xfa, 0x0e, 0xee, 0x90, 0xb5, 0x02, 0x4c, 0xbd, 0x3d, 0x27, - 0x4e, 0xaf, 0xfd, 0x06, 0x77, 0x35, 0x93, 0x28, 0x9b, 0x70, 0x33, 0x22, 0x17, 0xd7, 0xef, 0xbf, - 0x30, 0x29, 0x10, 0xb9, 0x64, 0xb3, 0x11, 0xc9, 0x02, 0x86, 0x80, 0x4c, 0xf9, 0x42, 0x38, 0x22, - 0xae, 0xe4, 0x35, 0xb0, 0x4a, 0x30, 0x17, 0xc7, 0xe2, 0x5e, 0x5d, 0x85, 0x7c, 0x5d, 0xd3, 0x0e, - 0xb0, 0x2e, 0xd0, 0x15, 0x48, 0x53, 0xac, 0x73, 0xe0, 0x62, 0x04, 0x98, 0x51, 0xb1, 0x45, 0xa5, - 0x08, 0x05, 0xc1, 0xc4, 0x61, 0xfe, 0x90, 0x60, 0xe6, 0x95, 0xe1, 0x06, 0x8a, 0xbb, 0xd7, 0xf7, - 0xc8, 0x53, 0xc8, 0x9c, 0x1a, 0x26, 0x25, 0x8e, 0xe7, 0x8c, 0xdc, 0xca, 0xdd, 0x08, 0xc3, 0x4b, - 0x6f, 0xa9, 0x79, 0x61, 0x3b, 0xc4, 0x75, 0x0d, 0xab, 0xab, 0x72, 0x62, 0xf4, 0x29, 0x80, 0x8d, - 0x75, 0xa3, 0xeb, 0x05, 0x8d, 0xe7, 0xa7, 0xdc, 0xca, 0x42, 0x84, 0x75, 0x2f, 0x58, 0xde, 0xb5, - 0xd9, 0xd7, 0x55, 0x43, 0x1c, 0xca, 0x19, 0xcc, 0xc6, 0x14, 0xe0, 0xae, 0x5b, 0x05, 0x59, 0xd8, - 0xd1, 0x2d, 0x49, 0x95, 0xf4, 0x70, 0x7b, 0xf7, 0xe9, 0xd0, 0x5d, 0x80, 0x2e, 0xb9, 0xa0, 0x6d, - 0x6a, 0x9d, 0x91, 0xae, 0x7f, 0xaa, 0x54, 0x99, 0xcd, 0x1c, 0xb0, 0x09, 0xe5, 0x27, 0x09, 0x6e, - 0xb2, 0xdd, 0xb8, 0xfa, 0x81, 0xb5, 0xfa, 0xba, 0x4b, 0xd7, 0xd7, 0x3d, 0xf5, 0xc1, 0xba, 0xeb, - 0xbe, 0xf3, 0xfa, 0xd2, 0x70, 0xd5, 0x1f, 0xc3, 0x24, 0xf7, 0x8a, 0xd0, 0x3c, 0x39, 0x2c, 0x03, - 0xaa, 0xab, 0xf4, 0xfe, 0x4b, 0x82, 0xd9, 0x43, 0x5b, 0x4b, 0x38, 0xd4, 0x1f, 0x3d, 0x72, 0xd1, - 0x23, 0x18, 0x67, 0x50, 0xa5, 0x71, 0x4f, 0xb1, 0xf9, 0x44, 0x97, 0xb2, 0x6d, 0x55, 0x8f, 0x8c, - 0x45, 0x5d, 0x87, 0x50, 0xec, 0xb1, 0x4c, 0x24, 0x44, 0xdd, 0x36, 0x5f, 0x54, 0x03, 0xb2, 0x81, - 0xbb, 0xe1, 0x39, 0xcc, 0xc5, 0x95, 0xe7, 0x86, 0x5e, 0x8c, 0xea, 0x22, 0x79, 0x76, 0x0b, 0x69, - 0xa2, 0x60, 0xc8, 0xab, 0xc4, 0x25, 0xce, 0x3b, 0xcf, 0x61, 0xad, 0x06, 0x7a, 0x0a, 0xc0, 0x0d, - 0x21, 0x18, 0x86, 0x9b, 0x4c, 0xe6, 0x94, 0x2d, 0x0d, 0xcd, 0x87, 0x2c, 0xe2, 0x7b, 0x47, 0xd8, - 0x43, 0x79, 0x2f, 0xc1, 0xdd, 0x0d, 0x42, 0x77, 0x9d, 0xe6, 0x05, 0x25, 0x5d, 0x2d, 0xb4, 0x9d, - 0xf0, 0x51, 0x1d, 0x0a, 0x4e, 0x7f, 0xb6, 0xbf, 0x6f, 0x39, 0xb2, 0x6f, 0x44, 0x4e, 0x35, 0x1f, - 0xe2, 0xf0, 0xf7, 0xb7, 0xbe, 0xeb, 0x12, 0x27, 0xf0, 0x98, 0x9a, 0xf5, 0xc6, 0x2d, 0x0d, 0x6d, - 0x02, 0x7a, 0x43, 0xb0, 0x43, 0x8f, 0x09, 0xa6, 0x6d, 0xa3, 0x4b, 0x19, 0x97, 0xc9, 0x03, 0x79, - 0xbe, 0xea, 0xa7, 0xbf, 0xaa, 0x48, 0x7f, 0xd5, 0x06, 0x4f, 0x8f, 0xea, 0x74, 0xc0, 0xd4, 0xe2, - 0x3c, 0xca, 0xef, 0x29, 0xc8, 0x85, 0xa4, 0xf8, 0xa7, 0xc8, 0x8d, 0x9e, 0x03, 0x90, 0x0b, 0xdb, - 0x70, 0x88, 0xdb, 0xc6, 0xb4, 0x34, 0xce, 0x65, 0x8c, 0x23, 0x1c, 0x88, 0xc4, 0xaf, 0xca, 0x9c, - 0xba, 0x4e, 0x23, 0xa7, 0x33, 0x33, 0xd2, 0xe9, 0x54, 0xbe, 0x81, 0x85, 0x61, 0xee, 0xe6, 0xa7, - 0xf2, 0x05, 0xe4, 0x42, 0x56, 0xe0, 0x46, 0x2b, 0x0d, 0x33, 0x9a, 0x1a, 0x26, 0x56, 0x7a, 0x30, - 0xaf, 0x12, 0x93, 0x60, 0x97, 0x7c, 0xec, 0x83, 0xa4, 0xdc, 0x81, 0x72, 0xd2, 0xd6, 0x3c, 0x53, - 0xfd, 0x28, 0x41, 0x96, 0x87, 0x06, 0x5a, 0x82, 0xd4, 0x95, 0xc1, 0x93, 0x32, 0xb4, 0x88, 0x75, - 0x53, 0x23, 0x59, 0x17, 0x3d, 0x80, 0xbc, 0xcd, 0xe2, 0x97, 0xed, 0xbd, 0x45, 0x7a, 0x6e, 0x29, - 0x5d, 0x49, 0x2f, 0xcb, 0x6a, 0x74, 0x52, 0x59, 0x05, 0x79, 0x4f, 0x4c, 0xa0, 0x22, 0xa4, 0xcf, - 0x48, 0x8f, 0x07, 0x3f, 0xfb, 0x45, 0x33, 0x30, 0xf1, 0x0e, 0x9b, 0xe7, 0x22, 0x54, 0xfd, 0x81, - 0xf2, 0xb3, 0x04, 0x72, 0x20, 0x1f, 0x2a, 0x41, 0xd6, 0x76, 0xac, 0x6f, 0x09, 0x2f, 0x06, 0x64, - 0x55, 0x0c, 0x11, 0x82, 0xf1, 0x50, 0x9c, 0x7b, 0xff, 0x68, 0x0e, 0x32, 0x9a, 0xd5, 0xc1, 0x86, - 0x9f, 0x21, 0x65, 0x95, 0x8f, 0x18, 0xca, 0x3b, 0xe2, 0xb0, 0xa4, 0xe2, 0x9d, 0x3b, 0x59, 0x15, - 0x43, 0x86, 0x72, 0x78, 0xd8, 0x6a, 0x78, 0x77, 0x9e, 0xac, 0x7a, 0xff, 0x4c, 0x52, 0xcb, 0xd1, - 0xbd, 0x83, 0x26, 0xab, 0xec, 0x57, 0x79, 0x9f, 0x82, 0x49, 0x71, 0xab, 0xa1, 0x42, 0x60, 0x56, - 0xd9, 0x33, 0x5f, 0xe8, 0x6e, 0x4f, 0x8d, 0x76, 0xb7, 0x8b, 0xbb, 0x39, 0xfd, 0xe1, 0x77, 0xf3, - 0xf8, 0x68, 0xfe, 0x79, 0xc6, 0x52, 0x26, 0xb7, 0xbc, 0x5b, 0x9a, 0xf0, 0xf6, 0x99, 0x8b, 0xa5, - 0x4c, 0xbe, 0xac, 0x86, 0x28, 0xd1, 0x03, 0x18, 0xa7, 0x58, 0x77, 0x4b, 0x19, 0x8f, 0x63, 0xb0, - 0x3e, 0xf2, 0x56, 0x59, 0x24, 0x9f, 0x78, 0xf5, 0x96, 0xc6, 0x22, 0x39, 0x7b, 0x75, 0x24, 0x73, - 0xea, 0x3a, 0x55, 0xf6, 0x60, 0x2a, 0xac, 0x61, 0xe0, 0x45, 0x29, 0xe4, 0xc5, 0xff, 0x84, 0xcf, - 0x05, 0x93, 0x5b, 0xb4, 0x16, 0x55, 0xd6, 0x5a, 0x54, 0x5f, 0xf9, 0xad, 0x85, 0x38, 0x2f, 0x26, - 0xa4, 0x0f, 0xb0, 0x9e, 0x08, 0xb4, 0x98, 0x90, 0x43, 0x23, 0x19, 0x34, 0xe4, 0xba, 0xf4, 0x68, - 0xf5, 0xfd, 0xf7, 0x12, 0x4c, 0x0a, 0x7b, 0xa3, 0x17, 0x90, 0x3d, 0x23, 0xbd, 0x76, 0x07, 0xdb, - 0xbc, 0x7e, 0xb8, 0x97, 0xe8, 0x97, 0xea, 0x16, 0xe9, 0x6d, 0x63, 0xbb, 0xd9, 0xa5, 0x4e, 0x4f, - 0xcd, 0x9c, 0x79, 0x83, 0xf2, 0x73, 0xc8, 0x85, 0xa6, 0x47, 0x8d, 0x8e, 0x17, 0xa9, 0xff, 0x49, - 0xca, 0x2e, 0x14, 0xe3, 0xb5, 0x12, 0xfa, 0x3f, 0x64, 0xfd, 0x6a, 0xc9, 0x4d, 0x14, 0x65, 0xdf, - 0xe8, 0xea, 0x26, 0xd9, 0x73, 0x2c, 0x9b, 0x38, 0xb4, 0xe7, 0x73, 0xab, 0x82, 0x43, 0xf9, 0x33, - 0x0d, 0x33, 0x49, 0x14, 0xe8, 0x33, 0x00, 0x96, 0x4f, 0x23, 0x45, 0xdb, 0x42, 0xfc, 0x50, 0x44, - 0x79, 0x36, 0xc7, 0x54, 0x99, 0x62, 0x9d, 0x03, 0xbc, 0x86, 0x62, 0x70, 0xba, 0xda, 0x91, 0xba, - 0xf7, 0x41, 0xf2, 0x69, 0x1c, 0x00, 0xbb, 0x11, 0xf0, 0x73, 0xc8, 0x1d, 0xb8, 0x11, 0x38, 0x95, - 0x23, 0xfa, 0xbe, 0xbb, 0x9f, 0x18, 0x47, 0x03, 0x80, 0x05, 0xc1, 0xcd, 0xf1, 0xb6, 0xa0, 0x20, - 0x4a, 0x0d, 0x0e, 0xe7, 0xc7, 0x98, 0x92, 0x74, 0x14, 0x06, 0xd0, 0xf2, 0x9c, 0x97, 0x83, 0xed, - 0xc1, 0x24, 0x23, 0xc0, 0xd4, 0x72, 0x4a, 0x50, 0x91, 0x96, 0x0b, 0x2b, 0x4f, 0xae, 0xf4, 0x43, - 0x75, 0xdd, 0xea, 0xd8, 0xd8, 0x31, 0x5c, 0x56, 0xbd, 0xfa, 0xbc, 0x6a, 0x80, 0xa2, 0x54, 0x00, - 0x0d, 0xae, 0x23, 0x80, 0x4c, 0xf3, 0xf5, 0x61, 0xfd, 0xd5, 0x7e, 0x71, 0x6c, 0x6d, 0x1a, 0x6e, - 0xd8, 0x1c, 0x90, 0x6b, 0xa0, 0x6c, 0xc0, 0x5c, 0xb2, 0xfe, 0xf1, 0xb2, 0x52, 0x1a, 0x2c, 0x2b, - 0xd7, 0x00, 0x26, 0x05, 0x9e, 0xf2, 0x09, 0x4c, 0x0f, 0x78, 0x38, 0x52, 0x77, 0x4a, 0xf1, 0x8e, - 0x31, 0xcc, 0xfd, 0x35, 0xdc, 0x1a, 0xe2, 0x58, 0xf4, 0xc4, 0x0f, 0x1d, 0x56, 0x4b, 0x48, 0xbc, - 0x96, 0x08, 0xdb, 0x69, 0x8b, 0xf4, 0x8e, 0xd8, 0x79, 0xdf, 0xc3, 0x06, 0xb3, 0x32, 0x0b, 0x9a, - 0x23, 0x6c, 0x46, 0xc0, 0x9f, 0xc1, 0x54, 0x98, 0x6a, 0xe4, 0xfc, 0xf2, 0x9b, 0x04, 0xb3, 0x89, - 0xde, 0x44, 0xe5, 0x58, 0xae, 0x61, 0x6a, 0x89, 0x6c, 0x33, 0x13, 0xce, 0x36, 0x9b, 0x63, 0xfc, - 0x82, 0x29, 0x45, 0xf3, 0x0d, 0x93, 0x94, 0x67, 0x9c, 0x72, 0x2c, 0xe3, 0x30, 0xac, 0x7e, 0xce, - 0xf1, 0xf2, 0xcb, 0x04, 0x9f, 0x67, 0x83, 0x88, 0x66, 0xbf, 0xa4, 0x60, 0x7a, 0xa0, 0xa3, 0x61, - 0xda, 0x98, 0x46, 0xc7, 0xf0, 0x65, 0xcb, 0xab, 0xfe, 0x80, 0xcd, 0x86, 0x9b, 0x11, 0x7f, 0x80, - 0x3e, 0x87, 0xac, 0x6b, 0x39, 0x74, 0x8b, 0xf4, 0x3c, 0xc1, 0x0a, 0x2b, 0x4b, 0x97, 0xb7, 0x4b, - 0xd5, 0x7d, 0x9f, 0x5a, 0x15, 0x6c, 0xe8, 0x25, 0xc8, 0xec, 0x77, 0xd7, 0xd1, 0x78, 0x40, 0x14, - 0x56, 0x96, 0x47, 0xc0, 0xf0, 0xe8, 0xd5, 0x3e, 0xab, 0xf2, 0x10, 0xe4, 0x60, 0x1e, 0x15, 0x00, - 0x1a, 0xcd, 0xfd, 0xf5, 0xe6, 0x4e, 0xa3, 0xb5, 0xb3, 0x51, 0x1c, 0x43, 0x79, 0x90, 0xeb, 0xc1, - 0x50, 0x52, 0xee, 0x40, 0x96, 0xcb, 0x81, 0xa6, 0x21, 0xbf, 0xae, 0x36, 0xeb, 0x07, 0xad, 0xdd, - 0x9d, 0xf6, 0x41, 0x6b, 0xbb, 0x59, 0x1c, 0x5b, 0xf9, 0x21, 0x0b, 0x39, 0xe6, 0xb7, 0x75, 0x5f, - 0x00, 0x74, 0x04, 0xf9, 0xc8, 0x4b, 0x0e, 0x8a, 0xde, 0x78, 0x49, 0xaf, 0x45, 0x65, 0xe5, 0x32, - 0x12, 0x5e, 0x16, 0x6e, 0x03, 0xf4, 0x5f, 0x70, 0x50, 0xf4, 0xb6, 0x1b, 0x78, 0x21, 0x2a, 0x2f, - 0x0e, 0x5d, 0xe7, 0x70, 0x5f, 0x42, 0x21, 0xfa, 0x36, 0x81, 0x92, 0x84, 0x88, 0xf5, 0x8b, 0xe5, - 0xfb, 0x97, 0xd2, 0x70, 0xe8, 0x3d, 0xc8, 0x85, 0x1e, 0x63, 0xd0, 0x80, 0x28, 0x71, 0xd0, 0xca, - 0x70, 0x02, 0x8e, 0x58, 0x87, 0x8c, 0xff, 0xf2, 0x81, 0xa2, 0xb5, 0x6a, 0xe4, 0x0d, 0xa5, 0x7c, - 0x3b, 0x71, 0x8d, 0x43, 0x1c, 0x41, 0x3e, 0xf2, 0xd0, 0x10, 0x73, 0x4b, 0xd2, 0x2b, 0x4a, 0xcc, - 0x2d, 0xc9, 0xef, 0x14, 0xfb, 0x30, 0x15, 0x6e, 0xe2, 0x51, 0x65, 0x80, 0x27, 0xf6, 0xda, 0x50, - 0xbe, 0x77, 0x09, 0x45, 0xdf, 0x39, 0xd1, 0x96, 0x35, 0xe6, 0x9c, 0xc4, 0x66, 0x3e, 0xe6, 0x9c, - 0x21, 0x3d, 0xef, 0x5b, 0x98, 0x4b, 0xee, 0x3f, 0xd0, 0xc3, 0xb8, 0x1b, 0x86, 0xf7, 0xa4, 0xe5, - 0x7f, 0x8f, 0x44, 0xcb, 0xb7, 0x24, 0x80, 0x06, 0x3b, 0x03, 0xb4, 0x14, 0xeb, 0x3a, 0x86, 0x74, - 0x2d, 0xe5, 0x7f, 0x5d, 0x49, 0xe7, 0x6f, 0xb3, 0xb6, 0xfe, 0x55, 0x5d, 0x37, 0xe8, 0x9b, 0xf3, - 0xe3, 0xea, 0x89, 0xd5, 0xa9, 0x79, 0xb5, 0x99, 0xe5, 0xe8, 0xfe, 0x4f, 0x2d, 0x78, 0x05, 0xd6, - 0x49, 0xb7, 0x66, 0x1f, 0x3f, 0xd2, 0xad, 0x5a, 0xd2, 0x6b, 0xf2, 0x71, 0xc6, 0x2b, 0x13, 0x57, - 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xc0, 0xa3, 0x08, 0x6c, 0x16, 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 - -// DataCatalogClient is the client API for DataCatalog service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DataCatalogClient interface { - // Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. - // Each dataset can have one or more artifacts - CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*CreateDatasetResponse, error) - // Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. - GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*GetDatasetResponse, error) - // Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary - // files or data values - CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) - // Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. - GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) - // Associate a tag with an artifact. Tags are unique within a Dataset. - AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) - // Return a paginated list of artifacts - ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) - // Return a paginated list of datasets - 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) - // 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. - GetOrExtendReservation(ctx context.Context, in *GetOrExtendReservationRequest, opts ...grpc.CallOption) (*GetOrExtendReservationResponse, 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) -} - -type dataCatalogClient struct { - cc *grpc.ClientConn -} - -func NewDataCatalogClient(cc *grpc.ClientConn) DataCatalogClient { - return &dataCatalogClient{cc} -} - -func (c *dataCatalogClient) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*CreateDatasetResponse, error) { - out := new(CreateDatasetResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/CreateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*GetDatasetResponse, error) { - out := new(GetDatasetResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/GetDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) { - out := new(CreateArtifactResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/CreateArtifact", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) { - out := new(GetArtifactResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/GetArtifact", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) { - out := new(AddTagResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/AddTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) { - out := new(ListArtifactsResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/ListArtifacts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) { - out := new(ListDatasetsResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/ListDatasets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*DatasetPropertyFilter_Name) isDatasetPropertyFilter_Property() {} -func (c *dataCatalogClient) UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*UpdateArtifactResponse, error) { - out := new(UpdateArtifactResponse) - err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/UpdateArtifact", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*DatasetPropertyFilter_Domain) isDatasetPropertyFilter_Property() {} -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...) - if err != nil { - return nil, err - } - return out, nil -} +func (*DatasetPropertyFilter_Version) isDatasetPropertyFilter_Property() {} -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...) - if err != nil { - return nil, err - } - return out, nil -} +func (*DatasetPropertyFilter_Org) isDatasetPropertyFilter_Property() {} -// 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. - // Each dataset can have one or more artifacts - CreateDataset(context.Context, *CreateDatasetRequest) (*CreateDatasetResponse, error) - // Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. - GetDataset(context.Context, *GetDatasetRequest) (*GetDatasetResponse, error) - // Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary - // files or data values - CreateArtifact(context.Context, *CreateArtifactRequest) (*CreateArtifactResponse, error) - // Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. - GetArtifact(context.Context, *GetArtifactRequest) (*GetArtifactResponse, error) - // Associate a tag with an artifact. Tags are unique within a Dataset. - AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) - // Return a paginated list of artifacts - ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) - // Return a paginated list of datasets - 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) - // 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. - GetOrExtendReservation(context.Context, *GetOrExtendReservationRequest) (*GetOrExtendReservationResponse, 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) -} +// Pagination options for making list requests +type PaginationOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -// UnimplementedDataCatalogServer can be embedded to have forward compatible implementations. -type UnimplementedDataCatalogServer struct { + // the max number of results to return + Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` + // the token to pass to fetch the next page + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + // the property that we want to sort the results by + SortKey PaginationOptions_SortKey `protobuf:"varint,3,opt,name=sortKey,proto3,enum=datacatalog.PaginationOptions_SortKey" json:"sortKey,omitempty"` + // the sort order of the results + SortOrder PaginationOptions_SortOrder `protobuf:"varint,4,opt,name=sortOrder,proto3,enum=datacatalog.PaginationOptions_SortOrder" json:"sortOrder,omitempty"` } -func (*UnimplementedDataCatalogServer) CreateDataset(ctx context.Context, req *CreateDatasetRequest) (*CreateDatasetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDataset not implemented") -} -func (*UnimplementedDataCatalogServer) GetDataset(ctx context.Context, req *GetDatasetRequest) (*GetDatasetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataset not implemented") -} -func (*UnimplementedDataCatalogServer) CreateArtifact(ctx context.Context, req *CreateArtifactRequest) (*CreateArtifactResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateArtifact not implemented") -} -func (*UnimplementedDataCatalogServer) GetArtifact(ctx context.Context, req *GetArtifactRequest) (*GetArtifactResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetArtifact not implemented") -} -func (*UnimplementedDataCatalogServer) AddTag(ctx context.Context, req *AddTagRequest) (*AddTagResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddTag not implemented") -} -func (*UnimplementedDataCatalogServer) ListArtifacts(ctx context.Context, req *ListArtifactsRequest) (*ListArtifactsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListArtifacts not implemented") -} -func (*UnimplementedDataCatalogServer) ListDatasets(ctx context.Context, req *ListDatasetsRequest) (*ListDatasetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented") -} -func (*UnimplementedDataCatalogServer) UpdateArtifact(ctx context.Context, req *UpdateArtifactRequest) (*UpdateArtifactResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateArtifact not implemented") -} -func (*UnimplementedDataCatalogServer) GetOrExtendReservation(ctx context.Context, req *GetOrExtendReservationRequest) (*GetOrExtendReservationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOrExtendReservation not implemented") -} -func (*UnimplementedDataCatalogServer) ReleaseReservation(ctx context.Context, req *ReleaseReservationRequest) (*ReleaseReservationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReleaseReservation not implemented") +func (x *PaginationOptions) Reset() { + *x = PaginationOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func RegisterDataCatalogServer(s *grpc.Server, srv DataCatalogServer) { - s.RegisterService(&_DataCatalog_serviceDesc, srv) +func (x *PaginationOptions) String() string { + return protoimpl.X.MessageStringOf(x) } -func _DataCatalog_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).CreateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/CreateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).CreateDataset(ctx, req.(*CreateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} +func (*PaginationOptions) ProtoMessage() {} -func _DataCatalog_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).GetDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/GetDataset", +func (x *PaginationOptions) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_datacatalog_datacatalog_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).GetDataset(ctx, req.(*GetDatasetRequest)) - } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _DataCatalog_CreateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateArtifactRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).CreateArtifact(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/CreateArtifact", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).CreateArtifact(ctx, req.(*CreateArtifactRequest)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use PaginationOptions.ProtoReflect.Descriptor instead. +func (*PaginationOptions) Descriptor() ([]byte, []int) { + return file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP(), []int{36} } -func _DataCatalog_GetArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetArtifactRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).GetArtifact(ctx, in) +func (x *PaginationOptions) GetLimit() uint32 { + if x != nil { + return x.Limit } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/GetArtifact", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).GetArtifact(ctx, req.(*GetArtifactRequest)) - } - return interceptor(ctx, in, info, handler) + return 0 } -func _DataCatalog_AddTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddTagRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).AddTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/AddTag", +func (x *PaginationOptions) GetToken() string { + if x != nil { + return x.Token } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).AddTag(ctx, req.(*AddTagRequest)) - } - return interceptor(ctx, in, info, handler) + return "" } -func _DataCatalog_ListArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListArtifactsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).ListArtifacts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/ListArtifacts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).ListArtifacts(ctx, req.(*ListArtifactsRequest)) +func (x *PaginationOptions) GetSortKey() PaginationOptions_SortKey { + if x != nil { + return x.SortKey } - return interceptor(ctx, in, info, handler) + return PaginationOptions_CREATION_TIME } -func _DataCatalog_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDatasetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).ListDatasets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/ListDatasets", +func (x *PaginationOptions) GetSortOrder() PaginationOptions_SortOrder { + if x != nil { + return x.SortOrder } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).ListDatasets(ctx, req.(*ListDatasetsRequest)) - } - return interceptor(ctx, in, info, handler) + return PaginationOptions_DESCENDING } -func _DataCatalog_UpdateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateArtifactRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).UpdateArtifact(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/UpdateArtifact", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).UpdateArtifact(ctx, req.(*UpdateArtifactRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_flyteidl_datacatalog_datacatalog_proto protoreflect.FileDescriptor + +var file_flyteidl_datacatalog_datacatalog_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x07, + 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x64, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, + 0x74, 0x49, 0x44, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x44, 0x0a, 0x12, + 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, + 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, + 0x65, 0x74, 0x22, 0x96, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x64, 0x61, 0x74, + 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, + 0x49, 0x44, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x61, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x48, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x22, 0x4a, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, + 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x0a, 0x0d, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x03, + 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, + 0x22, 0x10, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x64, + 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, + 0x65, 0x74, 0x49, 0x44, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x35, 0x0a, + 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6b, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, + 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x78, + 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x67, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, + 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, + 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xfb, 0x01, 0x0a, 0x15, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x44, 0x52, 0x07, 0x64, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x74, 0x61, + 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, + 0x67, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0e, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x39, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x49, 0x64, 0x22, 0x61, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x44, 0x12, 0x35, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x44, 0x52, + 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, + 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, + 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x52, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x0d, 0x72, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, + 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x68, 0x65, + 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, + 0xa3, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x41, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x44, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x48, 0x0a, + 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, + 0x41, 0x74, 0x12, 0x31, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x5c, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x79, 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x41, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1c, + 0x0a, 0x1a, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8a, 0x01, 0x0a, + 0x07, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x31, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x4b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x33, 0x0a, 0x09, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x91, + 0x01, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x55, 0x55, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x55, 0x49, 0x44, + 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, + 0x72, 0x67, 0x22, 0xc7, 0x02, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x30, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x16, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, + 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x44, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, + 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x31, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x36, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x64, 0x61, 0x74, 0x61, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x50, 0x0a, 0x0c, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6c, + 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x07, 0x64, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, + 0x74, 0x49, 0x44, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x22, 0x81, 0x01, 0x0a, + 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x07, 0x6b, 0x65, 0x79, + 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x4b, 0x65, 0x79, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6b, + 0x65, 0x79, 0x4d, 0x61, 0x70, 0x1a, 0x39, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x4f, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x73, 0x22, 0xce, 0x03, 0x0a, 0x14, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x0a, 0x74, 0x61, + 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x54, 0x61, 0x67, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x09, 0x74, 0x61, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x10, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4e, + 0x0a, 0x0f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4b, + 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x50, 0x0a, 0x08, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, + 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x53, 0x69, 0x6e, 0x67, + 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x20, 0x0a, + 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x53, 0x10, 0x00, 0x42, + 0x11, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x22, 0x47, 0x0a, 0x16, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0b, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x42, + 0x0a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0x3c, 0x0a, 0x11, 0x54, + 0x61, 0x67, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x12, 0x1b, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0x5b, 0x0a, 0x17, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, + 0x48, 0x00, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x42, 0x0a, 0x0a, 0x08, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x22, 0x36, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x9f, + 0x01, 0x0a, 0x15, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x03, 0x6f, 0x72, 0x67, 0x42, 0x0a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x22, 0x93, 0x02, 0x0a, 0x11, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, + 0x67, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x73, 0x6f, 0x72, + 0x74, 0x4b, 0x65, 0x79, 0x12, 0x46, 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x52, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x2a, 0x0a, 0x09, + 0x53, 0x6f, 0x72, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, + 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, + 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x22, 0x1c, 0x0a, 0x07, 0x53, 0x6f, 0x72, 0x74, + 0x4b, 0x65, 0x79, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x54, 0x49, 0x4d, 0x45, 0x10, 0x00, 0x32, 0x86, 0x07, 0x0a, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x43, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x56, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x64, 0x61, 0x74, + 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, + 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, + 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, + 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, + 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, + 0x67, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x1f, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x41, 0x64, + 0x64, 0x54, 0x61, 0x67, 0x12, 0x1a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1b, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x41, + 0x64, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, + 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x21, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x22, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x73, 0x65, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x22, 0x2e, 0x64, + 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x2a, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x47, 0x65, + 0x74, 0x4f, 0x72, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x64, 0x61, + 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x52, 0x65, 0x6c, 0x65, + 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, + 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x52, 0x65, 0x6c, + 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, + 0xb2, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x42, 0x10, 0x44, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x64, + 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0xa2, 0x02, 0x03, 0x44, 0x58, 0x58, + 0xaa, 0x02, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0xca, 0x02, + 0x0b, 0x44, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0xe2, 0x02, 0x17, 0x44, + 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_datacatalog_datacatalog_proto_rawDescOnce sync.Once + file_flyteidl_datacatalog_datacatalog_proto_rawDescData = file_flyteidl_datacatalog_datacatalog_proto_rawDesc +) -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 { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).GetOrExtendReservation(ctx, in) +func file_flyteidl_datacatalog_datacatalog_proto_rawDescGZIP() []byte { + file_flyteidl_datacatalog_datacatalog_proto_rawDescOnce.Do(func() { + file_flyteidl_datacatalog_datacatalog_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_datacatalog_datacatalog_proto_rawDescData) + }) + return file_flyteidl_datacatalog_datacatalog_proto_rawDescData +} + +var file_flyteidl_datacatalog_datacatalog_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_flyteidl_datacatalog_datacatalog_proto_msgTypes = make([]protoimpl.MessageInfo, 38) +var file_flyteidl_datacatalog_datacatalog_proto_goTypes = []interface{}{ + (SinglePropertyFilter_ComparisonOperator)(0), // 0: datacatalog.SinglePropertyFilter.ComparisonOperator + (PaginationOptions_SortOrder)(0), // 1: datacatalog.PaginationOptions.SortOrder + (PaginationOptions_SortKey)(0), // 2: datacatalog.PaginationOptions.SortKey + (*CreateDatasetRequest)(nil), // 3: datacatalog.CreateDatasetRequest + (*CreateDatasetResponse)(nil), // 4: datacatalog.CreateDatasetResponse + (*GetDatasetRequest)(nil), // 5: datacatalog.GetDatasetRequest + (*GetDatasetResponse)(nil), // 6: datacatalog.GetDatasetResponse + (*GetArtifactRequest)(nil), // 7: datacatalog.GetArtifactRequest + (*GetArtifactResponse)(nil), // 8: datacatalog.GetArtifactResponse + (*CreateArtifactRequest)(nil), // 9: datacatalog.CreateArtifactRequest + (*CreateArtifactResponse)(nil), // 10: datacatalog.CreateArtifactResponse + (*AddTagRequest)(nil), // 11: datacatalog.AddTagRequest + (*AddTagResponse)(nil), // 12: datacatalog.AddTagResponse + (*ListArtifactsRequest)(nil), // 13: datacatalog.ListArtifactsRequest + (*ListArtifactsResponse)(nil), // 14: datacatalog.ListArtifactsResponse + (*ListDatasetsRequest)(nil), // 15: datacatalog.ListDatasetsRequest + (*ListDatasetsResponse)(nil), // 16: datacatalog.ListDatasetsResponse + (*UpdateArtifactRequest)(nil), // 17: datacatalog.UpdateArtifactRequest + (*UpdateArtifactResponse)(nil), // 18: datacatalog.UpdateArtifactResponse + (*ReservationID)(nil), // 19: datacatalog.ReservationID + (*GetOrExtendReservationRequest)(nil), // 20: datacatalog.GetOrExtendReservationRequest + (*Reservation)(nil), // 21: datacatalog.Reservation + (*GetOrExtendReservationResponse)(nil), // 22: datacatalog.GetOrExtendReservationResponse + (*ReleaseReservationRequest)(nil), // 23: datacatalog.ReleaseReservationRequest + (*ReleaseReservationResponse)(nil), // 24: datacatalog.ReleaseReservationResponse + (*Dataset)(nil), // 25: datacatalog.Dataset + (*Partition)(nil), // 26: datacatalog.Partition + (*DatasetID)(nil), // 27: datacatalog.DatasetID + (*Artifact)(nil), // 28: datacatalog.Artifact + (*ArtifactData)(nil), // 29: datacatalog.ArtifactData + (*Tag)(nil), // 30: datacatalog.Tag + (*Metadata)(nil), // 31: datacatalog.Metadata + (*FilterExpression)(nil), // 32: datacatalog.FilterExpression + (*SinglePropertyFilter)(nil), // 33: datacatalog.SinglePropertyFilter + (*ArtifactPropertyFilter)(nil), // 34: datacatalog.ArtifactPropertyFilter + (*TagPropertyFilter)(nil), // 35: datacatalog.TagPropertyFilter + (*PartitionPropertyFilter)(nil), // 36: datacatalog.PartitionPropertyFilter + (*KeyValuePair)(nil), // 37: datacatalog.KeyValuePair + (*DatasetPropertyFilter)(nil), // 38: datacatalog.DatasetPropertyFilter + (*PaginationOptions)(nil), // 39: datacatalog.PaginationOptions + nil, // 40: datacatalog.Metadata.KeyMapEntry + (*durationpb.Duration)(nil), // 41: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 42: google.protobuf.Timestamp + (*core.Literal)(nil), // 43: flyteidl.core.Literal +} +var file_flyteidl_datacatalog_datacatalog_proto_depIdxs = []int32{ + 25, // 0: datacatalog.CreateDatasetRequest.dataset:type_name -> datacatalog.Dataset + 27, // 1: datacatalog.GetDatasetRequest.dataset:type_name -> datacatalog.DatasetID + 25, // 2: datacatalog.GetDatasetResponse.dataset:type_name -> datacatalog.Dataset + 27, // 3: datacatalog.GetArtifactRequest.dataset:type_name -> datacatalog.DatasetID + 28, // 4: datacatalog.GetArtifactResponse.artifact:type_name -> datacatalog.Artifact + 28, // 5: datacatalog.CreateArtifactRequest.artifact:type_name -> datacatalog.Artifact + 30, // 6: datacatalog.AddTagRequest.tag:type_name -> datacatalog.Tag + 27, // 7: datacatalog.ListArtifactsRequest.dataset:type_name -> datacatalog.DatasetID + 32, // 8: datacatalog.ListArtifactsRequest.filter:type_name -> datacatalog.FilterExpression + 39, // 9: datacatalog.ListArtifactsRequest.pagination:type_name -> datacatalog.PaginationOptions + 28, // 10: datacatalog.ListArtifactsResponse.artifacts:type_name -> datacatalog.Artifact + 32, // 11: datacatalog.ListDatasetsRequest.filter:type_name -> datacatalog.FilterExpression + 39, // 12: datacatalog.ListDatasetsRequest.pagination:type_name -> datacatalog.PaginationOptions + 25, // 13: datacatalog.ListDatasetsResponse.datasets:type_name -> datacatalog.Dataset + 27, // 14: datacatalog.UpdateArtifactRequest.dataset:type_name -> datacatalog.DatasetID + 29, // 15: datacatalog.UpdateArtifactRequest.data:type_name -> datacatalog.ArtifactData + 31, // 16: datacatalog.UpdateArtifactRequest.metadata:type_name -> datacatalog.Metadata + 27, // 17: datacatalog.ReservationID.dataset_id:type_name -> datacatalog.DatasetID + 19, // 18: datacatalog.GetOrExtendReservationRequest.reservation_id:type_name -> datacatalog.ReservationID + 41, // 19: datacatalog.GetOrExtendReservationRequest.heartbeat_interval:type_name -> google.protobuf.Duration + 19, // 20: datacatalog.Reservation.reservation_id:type_name -> datacatalog.ReservationID + 41, // 21: datacatalog.Reservation.heartbeat_interval:type_name -> google.protobuf.Duration + 42, // 22: datacatalog.Reservation.expires_at:type_name -> google.protobuf.Timestamp + 31, // 23: datacatalog.Reservation.metadata:type_name -> datacatalog.Metadata + 21, // 24: datacatalog.GetOrExtendReservationResponse.reservation:type_name -> datacatalog.Reservation + 19, // 25: datacatalog.ReleaseReservationRequest.reservation_id:type_name -> datacatalog.ReservationID + 27, // 26: datacatalog.Dataset.id:type_name -> datacatalog.DatasetID + 31, // 27: datacatalog.Dataset.metadata:type_name -> datacatalog.Metadata + 27, // 28: datacatalog.Artifact.dataset:type_name -> datacatalog.DatasetID + 29, // 29: datacatalog.Artifact.data:type_name -> datacatalog.ArtifactData + 31, // 30: datacatalog.Artifact.metadata:type_name -> datacatalog.Metadata + 26, // 31: datacatalog.Artifact.partitions:type_name -> datacatalog.Partition + 30, // 32: datacatalog.Artifact.tags:type_name -> datacatalog.Tag + 42, // 33: datacatalog.Artifact.created_at:type_name -> google.protobuf.Timestamp + 43, // 34: datacatalog.ArtifactData.value:type_name -> flyteidl.core.Literal + 27, // 35: datacatalog.Tag.dataset:type_name -> datacatalog.DatasetID + 40, // 36: datacatalog.Metadata.key_map:type_name -> datacatalog.Metadata.KeyMapEntry + 33, // 37: datacatalog.FilterExpression.filters:type_name -> datacatalog.SinglePropertyFilter + 35, // 38: datacatalog.SinglePropertyFilter.tag_filter:type_name -> datacatalog.TagPropertyFilter + 36, // 39: datacatalog.SinglePropertyFilter.partition_filter:type_name -> datacatalog.PartitionPropertyFilter + 34, // 40: datacatalog.SinglePropertyFilter.artifact_filter:type_name -> datacatalog.ArtifactPropertyFilter + 38, // 41: datacatalog.SinglePropertyFilter.dataset_filter:type_name -> datacatalog.DatasetPropertyFilter + 0, // 42: datacatalog.SinglePropertyFilter.operator:type_name -> datacatalog.SinglePropertyFilter.ComparisonOperator + 37, // 43: datacatalog.PartitionPropertyFilter.key_val:type_name -> datacatalog.KeyValuePair + 2, // 44: datacatalog.PaginationOptions.sortKey:type_name -> datacatalog.PaginationOptions.SortKey + 1, // 45: datacatalog.PaginationOptions.sortOrder:type_name -> datacatalog.PaginationOptions.SortOrder + 3, // 46: datacatalog.DataCatalog.CreateDataset:input_type -> datacatalog.CreateDatasetRequest + 5, // 47: datacatalog.DataCatalog.GetDataset:input_type -> datacatalog.GetDatasetRequest + 9, // 48: datacatalog.DataCatalog.CreateArtifact:input_type -> datacatalog.CreateArtifactRequest + 7, // 49: datacatalog.DataCatalog.GetArtifact:input_type -> datacatalog.GetArtifactRequest + 11, // 50: datacatalog.DataCatalog.AddTag:input_type -> datacatalog.AddTagRequest + 13, // 51: datacatalog.DataCatalog.ListArtifacts:input_type -> datacatalog.ListArtifactsRequest + 15, // 52: datacatalog.DataCatalog.ListDatasets:input_type -> datacatalog.ListDatasetsRequest + 17, // 53: datacatalog.DataCatalog.UpdateArtifact:input_type -> datacatalog.UpdateArtifactRequest + 20, // 54: datacatalog.DataCatalog.GetOrExtendReservation:input_type -> datacatalog.GetOrExtendReservationRequest + 23, // 55: datacatalog.DataCatalog.ReleaseReservation:input_type -> datacatalog.ReleaseReservationRequest + 4, // 56: datacatalog.DataCatalog.CreateDataset:output_type -> datacatalog.CreateDatasetResponse + 6, // 57: datacatalog.DataCatalog.GetDataset:output_type -> datacatalog.GetDatasetResponse + 10, // 58: datacatalog.DataCatalog.CreateArtifact:output_type -> datacatalog.CreateArtifactResponse + 8, // 59: datacatalog.DataCatalog.GetArtifact:output_type -> datacatalog.GetArtifactResponse + 12, // 60: datacatalog.DataCatalog.AddTag:output_type -> datacatalog.AddTagResponse + 14, // 61: datacatalog.DataCatalog.ListArtifacts:output_type -> datacatalog.ListArtifactsResponse + 16, // 62: datacatalog.DataCatalog.ListDatasets:output_type -> datacatalog.ListDatasetsResponse + 18, // 63: datacatalog.DataCatalog.UpdateArtifact:output_type -> datacatalog.UpdateArtifactResponse + 22, // 64: datacatalog.DataCatalog.GetOrExtendReservation:output_type -> datacatalog.GetOrExtendReservationResponse + 24, // 65: datacatalog.DataCatalog.ReleaseReservation:output_type -> datacatalog.ReleaseReservationResponse + 56, // [56:66] is the sub-list for method output_type + 46, // [46:56] is the sub-list for method input_type + 46, // [46:46] is the sub-list for extension type_name + 46, // [46:46] is the sub-list for extension extendee + 0, // [0:46] is the sub-list for field type_name +} + +func init() { file_flyteidl_datacatalog_datacatalog_proto_init() } +func file_flyteidl_datacatalog_datacatalog_proto_init() { + if File_flyteidl_datacatalog_datacatalog_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDatasetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDatasetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDatasetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDatasetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateArtifactRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateArtifactResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListArtifactsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListArtifactsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDatasetsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDatasetsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateArtifactRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateArtifactResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReservationID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrExtendReservationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reservation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrExtendReservationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReleaseReservationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReleaseReservationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Dataset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Partition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatasetID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Artifact); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Tag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FilterExpression); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SinglePropertyFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactPropertyFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TagPropertyFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionPropertyFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyValuePair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatasetPropertyFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaginationOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*GetArtifactRequest_ArtifactId)(nil), + (*GetArtifactRequest_TagName)(nil), } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/GetOrExtendReservation", + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[14].OneofWrappers = []interface{}{ + (*UpdateArtifactRequest_ArtifactId)(nil), + (*UpdateArtifactRequest_TagName)(nil), } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).GetOrExtendReservation(ctx, req.(*GetOrExtendReservationRequest)) + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[30].OneofWrappers = []interface{}{ + (*SinglePropertyFilter_TagFilter)(nil), + (*SinglePropertyFilter_PartitionFilter)(nil), + (*SinglePropertyFilter_ArtifactFilter)(nil), + (*SinglePropertyFilter_DatasetFilter)(nil), } - 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 { - return nil, err + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[31].OneofWrappers = []interface{}{ + (*ArtifactPropertyFilter_ArtifactId)(nil), } - if interceptor == nil { - return srv.(DataCatalogServer).ReleaseReservation(ctx, in) + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[32].OneofWrappers = []interface{}{ + (*TagPropertyFilter_TagName)(nil), } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/datacatalog.DataCatalog/ReleaseReservation", + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[33].OneofWrappers = []interface{}{ + (*PartitionPropertyFilter_KeyVal)(nil), } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).ReleaseReservation(ctx, req.(*ReleaseReservationRequest)) + file_flyteidl_datacatalog_datacatalog_proto_msgTypes[35].OneofWrappers = []interface{}{ + (*DatasetPropertyFilter_Project)(nil), + (*DatasetPropertyFilter_Name)(nil), + (*DatasetPropertyFilter_Domain)(nil), + (*DatasetPropertyFilter_Version)(nil), + (*DatasetPropertyFilter_Org)(nil), } - return interceptor(ctx, in, info, handler) -} - -var _DataCatalog_serviceDesc = grpc.ServiceDesc{ - ServiceName: "datacatalog.DataCatalog", - HandlerType: (*DataCatalogServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDataset", - Handler: _DataCatalog_CreateDataset_Handler, - }, - { - MethodName: "GetDataset", - Handler: _DataCatalog_GetDataset_Handler, - }, - { - MethodName: "CreateArtifact", - Handler: _DataCatalog_CreateArtifact_Handler, - }, - { - MethodName: "GetArtifact", - Handler: _DataCatalog_GetArtifact_Handler, - }, - { - MethodName: "AddTag", - Handler: _DataCatalog_AddTag_Handler, - }, - { - MethodName: "ListArtifacts", - Handler: _DataCatalog_ListArtifacts_Handler, - }, - { - MethodName: "ListDatasets", - Handler: _DataCatalog_ListDatasets_Handler, - }, - { - MethodName: "UpdateArtifact", - Handler: _DataCatalog_UpdateArtifact_Handler, - }, - { - MethodName: "GetOrExtendReservation", - Handler: _DataCatalog_GetOrExtendReservation_Handler, - }, - { - MethodName: "ReleaseReservation", - Handler: _DataCatalog_ReleaseReservation_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_datacatalog_datacatalog_proto_rawDesc, + NumEnums: 3, + NumMessages: 38, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/datacatalog/datacatalog.proto", + GoTypes: file_flyteidl_datacatalog_datacatalog_proto_goTypes, + DependencyIndexes: file_flyteidl_datacatalog_datacatalog_proto_depIdxs, + EnumInfos: file_flyteidl_datacatalog_datacatalog_proto_enumTypes, + MessageInfos: file_flyteidl_datacatalog_datacatalog_proto_msgTypes, + }.Build() + File_flyteidl_datacatalog_datacatalog_proto = out.File + file_flyteidl_datacatalog_datacatalog_proto_rawDesc = nil + file_flyteidl_datacatalog_datacatalog_proto_goTypes = nil + file_flyteidl_datacatalog_datacatalog_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog_grpc.pb.go new file mode 100644 index 0000000000..41628d16e3 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog_grpc.pb.go @@ -0,0 +1,486 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/datacatalog/datacatalog.proto + +package datacatalog + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + DataCatalog_CreateDataset_FullMethodName = "/datacatalog.DataCatalog/CreateDataset" + DataCatalog_GetDataset_FullMethodName = "/datacatalog.DataCatalog/GetDataset" + DataCatalog_CreateArtifact_FullMethodName = "/datacatalog.DataCatalog/CreateArtifact" + DataCatalog_GetArtifact_FullMethodName = "/datacatalog.DataCatalog/GetArtifact" + DataCatalog_AddTag_FullMethodName = "/datacatalog.DataCatalog/AddTag" + DataCatalog_ListArtifacts_FullMethodName = "/datacatalog.DataCatalog/ListArtifacts" + DataCatalog_ListDatasets_FullMethodName = "/datacatalog.DataCatalog/ListDatasets" + DataCatalog_UpdateArtifact_FullMethodName = "/datacatalog.DataCatalog/UpdateArtifact" + DataCatalog_GetOrExtendReservation_FullMethodName = "/datacatalog.DataCatalog/GetOrExtendReservation" + DataCatalog_ReleaseReservation_FullMethodName = "/datacatalog.DataCatalog/ReleaseReservation" +) + +// DataCatalogClient is the client API for DataCatalog service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type DataCatalogClient interface { + // Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. + // Each dataset can have one or more artifacts + CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*CreateDatasetResponse, error) + // Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. + GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*GetDatasetResponse, error) + // Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary + // files or data values + CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) + // Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. + GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) + // Associate a tag with an artifact. Tags are unique within a Dataset. + AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) + // Return a paginated list of artifacts + ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) + // Return a paginated list of datasets + 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) + // 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. + GetOrExtendReservation(ctx context.Context, in *GetOrExtendReservationRequest, opts ...grpc.CallOption) (*GetOrExtendReservationResponse, 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) +} + +type dataCatalogClient struct { + cc grpc.ClientConnInterface +} + +func NewDataCatalogClient(cc grpc.ClientConnInterface) DataCatalogClient { + return &dataCatalogClient{cc} +} + +func (c *dataCatalogClient) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*CreateDatasetResponse, error) { + out := new(CreateDatasetResponse) + err := c.cc.Invoke(ctx, DataCatalog_CreateDataset_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*GetDatasetResponse, error) { + out := new(GetDatasetResponse) + err := c.cc.Invoke(ctx, DataCatalog_GetDataset_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) { + out := new(CreateArtifactResponse) + err := c.cc.Invoke(ctx, DataCatalog_CreateArtifact_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) { + out := new(GetArtifactResponse) + err := c.cc.Invoke(ctx, DataCatalog_GetArtifact_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) { + out := new(AddTagResponse) + err := c.cc.Invoke(ctx, DataCatalog_AddTag_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) { + out := new(ListArtifactsResponse) + err := c.cc.Invoke(ctx, DataCatalog_ListArtifacts_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) { + out := new(ListDatasetsResponse) + err := c.cc.Invoke(ctx, DataCatalog_ListDatasets_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*UpdateArtifactResponse, error) { + out := new(UpdateArtifactResponse) + err := c.cc.Invoke(ctx, DataCatalog_UpdateArtifact_FullMethodName, 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_GetOrExtendReservation_FullMethodName, 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_ReleaseReservation_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DataCatalogServer is the server API for DataCatalog service. +// All implementations should embed UnimplementedDataCatalogServer +// for forward compatibility +type DataCatalogServer interface { + // Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. + // Each dataset can have one or more artifacts + CreateDataset(context.Context, *CreateDatasetRequest) (*CreateDatasetResponse, error) + // Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata. + GetDataset(context.Context, *GetDatasetRequest) (*GetDatasetResponse, error) + // Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary + // files or data values + CreateArtifact(context.Context, *CreateArtifactRequest) (*CreateArtifactResponse, error) + // Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data. + GetArtifact(context.Context, *GetArtifactRequest) (*GetArtifactResponse, error) + // Associate a tag with an artifact. Tags are unique within a Dataset. + AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) + // Return a paginated list of artifacts + ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) + // Return a paginated list of datasets + 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) + // 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. + GetOrExtendReservation(context.Context, *GetOrExtendReservationRequest) (*GetOrExtendReservationResponse, 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) +} + +// UnimplementedDataCatalogServer should be embedded to have forward compatible implementations. +type UnimplementedDataCatalogServer struct { +} + +func (UnimplementedDataCatalogServer) CreateDataset(context.Context, *CreateDatasetRequest) (*CreateDatasetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateDataset not implemented") +} +func (UnimplementedDataCatalogServer) GetDataset(context.Context, *GetDatasetRequest) (*GetDatasetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDataset not implemented") +} +func (UnimplementedDataCatalogServer) CreateArtifact(context.Context, *CreateArtifactRequest) (*CreateArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateArtifact not implemented") +} +func (UnimplementedDataCatalogServer) GetArtifact(context.Context, *GetArtifactRequest) (*GetArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetArtifact not implemented") +} +func (UnimplementedDataCatalogServer) AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddTag not implemented") +} +func (UnimplementedDataCatalogServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListArtifacts not implemented") +} +func (UnimplementedDataCatalogServer) ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented") +} +func (UnimplementedDataCatalogServer) UpdateArtifact(context.Context, *UpdateArtifactRequest) (*UpdateArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateArtifact not implemented") +} +func (UnimplementedDataCatalogServer) GetOrExtendReservation(context.Context, *GetOrExtendReservationRequest) (*GetOrExtendReservationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOrExtendReservation not implemented") +} +func (UnimplementedDataCatalogServer) ReleaseReservation(context.Context, *ReleaseReservationRequest) (*ReleaseReservationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReleaseReservation not implemented") +} + +// UnsafeDataCatalogServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to DataCatalogServer will +// result in compilation errors. +type UnsafeDataCatalogServer interface { + mustEmbedUnimplementedDataCatalogServer() +} + +func RegisterDataCatalogServer(s grpc.ServiceRegistrar, srv DataCatalogServer) { + s.RegisterService(&DataCatalog_ServiceDesc, srv) +} + +func _DataCatalog_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateDatasetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).CreateDataset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_CreateDataset_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).CreateDataset(ctx, req.(*CreateDatasetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDatasetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).GetDataset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_GetDataset_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).GetDataset(ctx, req.(*GetDatasetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_CreateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateArtifactRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).CreateArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_CreateArtifact_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).CreateArtifact(ctx, req.(*CreateArtifactRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_GetArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetArtifactRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).GetArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_GetArtifact_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).GetArtifact(ctx, req.(*GetArtifactRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_AddTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).AddTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_AddTag_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).AddTag(ctx, req.(*AddTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_ListArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListArtifactsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).ListArtifacts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_ListArtifacts_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).ListArtifacts(ctx, req.(*ListArtifactsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListDatasetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).ListDatasets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_ListDatasets_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).ListDatasets(ctx, req.(*ListDatasetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_UpdateArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateArtifactRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).UpdateArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_UpdateArtifact_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).UpdateArtifact(ctx, req.(*UpdateArtifactRequest)) + } + 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 { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).GetOrExtendReservation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_GetOrExtendReservation_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).GetOrExtendReservation(ctx, req.(*GetOrExtendReservationRequest)) + } + 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 { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).ReleaseReservation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataCatalog_ReleaseReservation_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).ReleaseReservation(ctx, req.(*ReleaseReservationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// DataCatalog_ServiceDesc is the grpc.ServiceDesc for DataCatalog service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var DataCatalog_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "datacatalog.DataCatalog", + HandlerType: (*DataCatalogServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateDataset", + Handler: _DataCatalog_CreateDataset_Handler, + }, + { + MethodName: "GetDataset", + Handler: _DataCatalog_GetDataset_Handler, + }, + { + MethodName: "CreateArtifact", + Handler: _DataCatalog_CreateArtifact_Handler, + }, + { + MethodName: "GetArtifact", + Handler: _DataCatalog_GetArtifact_Handler, + }, + { + MethodName: "AddTag", + Handler: _DataCatalog_AddTag_Handler, + }, + { + MethodName: "ListArtifacts", + Handler: _DataCatalog_ListArtifacts_Handler, + }, + { + MethodName: "ListDatasets", + Handler: _DataCatalog_ListDatasets_Handler, + }, + { + MethodName: "UpdateArtifact", + Handler: _DataCatalog_UpdateArtifact_Handler, + }, + { + MethodName: "GetOrExtendReservation", + Handler: _DataCatalog_GetOrExtendReservation_Handler, + }, + { + MethodName: "ReleaseReservation", + Handler: _DataCatalog_ReleaseReservation_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/datacatalog/datacatalog.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go index dd2cf39d08..23f6783440 100644 --- a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go @@ -1,30 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/event/cloudevents.proto package event import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + _ "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional // information that downstream consumers may find useful. type CloudEventWorkflowExecution struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + RawEvent *WorkflowExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` OutputInterface *core.TypedInterface `protobuf:"bytes,2,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` // The following are ExecutionMetadata fields @@ -35,80 +39,88 @@ type CloudEventWorkflowExecution struct { // The ID of the LP that generated the execution that generated the Artifact. // Here for provenance information. // Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - LaunchPlanId *core.Identifier `protobuf:"bytes,6,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LaunchPlanId *core.Identifier `protobuf:"bytes,6,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` } -func (m *CloudEventWorkflowExecution) Reset() { *m = CloudEventWorkflowExecution{} } -func (m *CloudEventWorkflowExecution) String() string { return proto.CompactTextString(m) } -func (*CloudEventWorkflowExecution) ProtoMessage() {} -func (*CloudEventWorkflowExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_f8af3ecc827e5d5e, []int{0} +func (x *CloudEventWorkflowExecution) Reset() { + *x = CloudEventWorkflowExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloudEventWorkflowExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudEventWorkflowExecution.Unmarshal(m, b) -} -func (m *CloudEventWorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudEventWorkflowExecution.Marshal(b, m, deterministic) -} -func (m *CloudEventWorkflowExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudEventWorkflowExecution.Merge(m, src) +func (x *CloudEventWorkflowExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloudEventWorkflowExecution) XXX_Size() int { - return xxx_messageInfo_CloudEventWorkflowExecution.Size(m) -} -func (m *CloudEventWorkflowExecution) XXX_DiscardUnknown() { - xxx_messageInfo_CloudEventWorkflowExecution.DiscardUnknown(m) + +func (*CloudEventWorkflowExecution) ProtoMessage() {} + +func (x *CloudEventWorkflowExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloudEventWorkflowExecution proto.InternalMessageInfo +// Deprecated: Use CloudEventWorkflowExecution.ProtoReflect.Descriptor instead. +func (*CloudEventWorkflowExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_event_cloudevents_proto_rawDescGZIP(), []int{0} +} -func (m *CloudEventWorkflowExecution) GetRawEvent() *WorkflowExecutionEvent { - if m != nil { - return m.RawEvent +func (x *CloudEventWorkflowExecution) GetRawEvent() *WorkflowExecutionEvent { + if x != nil { + return x.RawEvent } return nil } -func (m *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface { - if m != nil { - return m.OutputInterface +func (x *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface { + if x != nil { + return x.OutputInterface } return nil } -func (m *CloudEventWorkflowExecution) GetArtifactIds() []*core.ArtifactID { - if m != nil { - return m.ArtifactIds +func (x *CloudEventWorkflowExecution) GetArtifactIds() []*core.ArtifactID { + if x != nil { + return x.ArtifactIds } return nil } -func (m *CloudEventWorkflowExecution) GetReferenceExecution() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.ReferenceExecution +func (x *CloudEventWorkflowExecution) GetReferenceExecution() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.ReferenceExecution } return nil } -func (m *CloudEventWorkflowExecution) GetPrincipal() string { - if m != nil { - return m.Principal +func (x *CloudEventWorkflowExecution) GetPrincipal() string { + if x != nil { + return x.Principal } return "" } -func (m *CloudEventWorkflowExecution) GetLaunchPlanId() *core.Identifier { - if m != nil { - return m.LaunchPlanId +func (x *CloudEventWorkflowExecution) GetLaunchPlanId() *core.Identifier { + if x != nil { + return x.LaunchPlanId } return nil } type CloudEventNodeExecution struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + RawEvent *NodeExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` // The relevant task execution if applicable TaskExecId *core.TaskExecutionIdentifier `protobuf:"bytes,2,opt,name=task_exec_id,json=taskExecId,proto3" json:"task_exec_id,omitempty"` @@ -121,120 +133,136 @@ type CloudEventNodeExecution struct { // The ID of the LP that generated the execution that generated the Artifact. // Here for provenance information. // Launch plan IDs are easier to get than workflow IDs so we'll use these for now. - LaunchPlanId *core.Identifier `protobuf:"bytes,6,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LaunchPlanId *core.Identifier `protobuf:"bytes,6,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` } -func (m *CloudEventNodeExecution) Reset() { *m = CloudEventNodeExecution{} } -func (m *CloudEventNodeExecution) String() string { return proto.CompactTextString(m) } -func (*CloudEventNodeExecution) ProtoMessage() {} -func (*CloudEventNodeExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_f8af3ecc827e5d5e, []int{1} +func (x *CloudEventNodeExecution) Reset() { + *x = CloudEventNodeExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloudEventNodeExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudEventNodeExecution.Unmarshal(m, b) -} -func (m *CloudEventNodeExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudEventNodeExecution.Marshal(b, m, deterministic) -} -func (m *CloudEventNodeExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudEventNodeExecution.Merge(m, src) -} -func (m *CloudEventNodeExecution) XXX_Size() int { - return xxx_messageInfo_CloudEventNodeExecution.Size(m) +func (x *CloudEventNodeExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloudEventNodeExecution) XXX_DiscardUnknown() { - xxx_messageInfo_CloudEventNodeExecution.DiscardUnknown(m) + +func (*CloudEventNodeExecution) ProtoMessage() {} + +func (x *CloudEventNodeExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloudEventNodeExecution proto.InternalMessageInfo +// Deprecated: Use CloudEventNodeExecution.ProtoReflect.Descriptor instead. +func (*CloudEventNodeExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_event_cloudevents_proto_rawDescGZIP(), []int{1} +} -func (m *CloudEventNodeExecution) GetRawEvent() *NodeExecutionEvent { - if m != nil { - return m.RawEvent +func (x *CloudEventNodeExecution) GetRawEvent() *NodeExecutionEvent { + if x != nil { + return x.RawEvent } return nil } -func (m *CloudEventNodeExecution) GetTaskExecId() *core.TaskExecutionIdentifier { - if m != nil { - return m.TaskExecId +func (x *CloudEventNodeExecution) GetTaskExecId() *core.TaskExecutionIdentifier { + if x != nil { + return x.TaskExecId } return nil } -func (m *CloudEventNodeExecution) GetOutputInterface() *core.TypedInterface { - if m != nil { - return m.OutputInterface +func (x *CloudEventNodeExecution) GetOutputInterface() *core.TypedInterface { + if x != nil { + return x.OutputInterface } return nil } -func (m *CloudEventNodeExecution) GetArtifactIds() []*core.ArtifactID { - if m != nil { - return m.ArtifactIds +func (x *CloudEventNodeExecution) GetArtifactIds() []*core.ArtifactID { + if x != nil { + return x.ArtifactIds } return nil } -func (m *CloudEventNodeExecution) GetPrincipal() string { - if m != nil { - return m.Principal +func (x *CloudEventNodeExecution) GetPrincipal() string { + if x != nil { + return x.Principal } return "" } -func (m *CloudEventNodeExecution) GetLaunchPlanId() *core.Identifier { - if m != nil { - return m.LaunchPlanId +func (x *CloudEventNodeExecution) GetLaunchPlanId() *core.Identifier { + if x != nil { + return x.LaunchPlanId } return nil } type CloudEventTaskExecution struct { - RawEvent *TaskExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CloudEventTaskExecution) Reset() { *m = CloudEventTaskExecution{} } -func (m *CloudEventTaskExecution) String() string { return proto.CompactTextString(m) } -func (*CloudEventTaskExecution) ProtoMessage() {} -func (*CloudEventTaskExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_f8af3ecc827e5d5e, []int{2} + RawEvent *TaskExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` } -func (m *CloudEventTaskExecution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudEventTaskExecution.Unmarshal(m, b) -} -func (m *CloudEventTaskExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudEventTaskExecution.Marshal(b, m, deterministic) -} -func (m *CloudEventTaskExecution) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudEventTaskExecution.Merge(m, src) +func (x *CloudEventTaskExecution) Reset() { + *x = CloudEventTaskExecution{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloudEventTaskExecution) XXX_Size() int { - return xxx_messageInfo_CloudEventTaskExecution.Size(m) + +func (x *CloudEventTaskExecution) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloudEventTaskExecution) XXX_DiscardUnknown() { - xxx_messageInfo_CloudEventTaskExecution.DiscardUnknown(m) + +func (*CloudEventTaskExecution) ProtoMessage() {} + +func (x *CloudEventTaskExecution) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloudEventTaskExecution proto.InternalMessageInfo +// Deprecated: Use CloudEventTaskExecution.ProtoReflect.Descriptor instead. +func (*CloudEventTaskExecution) Descriptor() ([]byte, []int) { + return file_flyteidl_event_cloudevents_proto_rawDescGZIP(), []int{2} +} -func (m *CloudEventTaskExecution) GetRawEvent() *TaskExecutionEvent { - if m != nil { - return m.RawEvent +func (x *CloudEventTaskExecution) GetRawEvent() *TaskExecutionEvent { + if x != nil { + return x.RawEvent } return nil } // This event is to be sent by Admin after it creates an execution. type CloudEventExecutionStart struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The execution created. ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` // The launch plan used. @@ -243,124 +271,319 @@ type CloudEventExecutionStart struct { // Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run. ArtifactIds []*core.ArtifactID `protobuf:"bytes,4,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` // Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service. - ArtifactTrackers []string `protobuf:"bytes,5,rep,name=artifact_trackers,json=artifactTrackers,proto3" json:"artifact_trackers,omitempty"` - Principal string `protobuf:"bytes,6,opt,name=principal,proto3" json:"principal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ArtifactTrackers []string `protobuf:"bytes,5,rep,name=artifact_trackers,json=artifactTrackers,proto3" json:"artifact_trackers,omitempty"` + Principal string `protobuf:"bytes,6,opt,name=principal,proto3" json:"principal,omitempty"` } -func (m *CloudEventExecutionStart) Reset() { *m = CloudEventExecutionStart{} } -func (m *CloudEventExecutionStart) String() string { return proto.CompactTextString(m) } -func (*CloudEventExecutionStart) ProtoMessage() {} -func (*CloudEventExecutionStart) Descriptor() ([]byte, []int) { - return fileDescriptor_f8af3ecc827e5d5e, []int{3} +func (x *CloudEventExecutionStart) Reset() { + *x = CloudEventExecutionStart{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloudEventExecutionStart) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudEventExecutionStart.Unmarshal(m, b) +func (x *CloudEventExecutionStart) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloudEventExecutionStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudEventExecutionStart.Marshal(b, m, deterministic) -} -func (m *CloudEventExecutionStart) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudEventExecutionStart.Merge(m, src) -} -func (m *CloudEventExecutionStart) XXX_Size() int { - return xxx_messageInfo_CloudEventExecutionStart.Size(m) -} -func (m *CloudEventExecutionStart) XXX_DiscardUnknown() { - xxx_messageInfo_CloudEventExecutionStart.DiscardUnknown(m) + +func (*CloudEventExecutionStart) ProtoMessage() {} + +func (x *CloudEventExecutionStart) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_cloudevents_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloudEventExecutionStart proto.InternalMessageInfo +// Deprecated: Use CloudEventExecutionStart.ProtoReflect.Descriptor instead. +func (*CloudEventExecutionStart) Descriptor() ([]byte, []int) { + return file_flyteidl_event_cloudevents_proto_rawDescGZIP(), []int{3} +} -func (m *CloudEventExecutionStart) GetExecutionId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.ExecutionId +func (x *CloudEventExecutionStart) GetExecutionId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.ExecutionId } return nil } -func (m *CloudEventExecutionStart) GetLaunchPlanId() *core.Identifier { - if m != nil { - return m.LaunchPlanId +func (x *CloudEventExecutionStart) GetLaunchPlanId() *core.Identifier { + if x != nil { + return x.LaunchPlanId } return nil } -func (m *CloudEventExecutionStart) GetWorkflowId() *core.Identifier { - if m != nil { - return m.WorkflowId +func (x *CloudEventExecutionStart) GetWorkflowId() *core.Identifier { + if x != nil { + return x.WorkflowId } return nil } -func (m *CloudEventExecutionStart) GetArtifactIds() []*core.ArtifactID { - if m != nil { - return m.ArtifactIds +func (x *CloudEventExecutionStart) GetArtifactIds() []*core.ArtifactID { + if x != nil { + return x.ArtifactIds } return nil } -func (m *CloudEventExecutionStart) GetArtifactTrackers() []string { - if m != nil { - return m.ArtifactTrackers +func (x *CloudEventExecutionStart) GetArtifactTrackers() []string { + if x != nil { + return x.ArtifactTrackers } return nil } -func (m *CloudEventExecutionStart) GetPrincipal() string { - if m != nil { - return m.Principal +func (x *CloudEventExecutionStart) GetPrincipal() string { + if x != nil { + return x.Principal } return "" } -func init() { - proto.RegisterType((*CloudEventWorkflowExecution)(nil), "flyteidl.event.CloudEventWorkflowExecution") - proto.RegisterType((*CloudEventNodeExecution)(nil), "flyteidl.event.CloudEventNodeExecution") - proto.RegisterType((*CloudEventTaskExecution)(nil), "flyteidl.event.CloudEventTaskExecution") - proto.RegisterType((*CloudEventExecutionStart)(nil), "flyteidl.event.CloudEventExecutionStart") -} - -func init() { proto.RegisterFile("flyteidl/event/cloudevents.proto", fileDescriptor_f8af3ecc827e5d5e) } - -var fileDescriptor_f8af3ecc827e5d5e = []byte{ - // 552 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xdd, 0x8a, 0xd3, 0x40, - 0x14, 0xa6, 0xcd, 0x6e, 0xb1, 0xd3, 0xb2, 0xae, 0xf1, 0xc2, 0x58, 0x77, 0x35, 0xf4, 0x42, 0x8a, - 0x62, 0x02, 0xeb, 0x9d, 0x3f, 0x2c, 0xba, 0x2e, 0x98, 0x0b, 0x45, 0xe2, 0x82, 0xb0, 0x5e, 0x84, - 0x69, 0xe6, 0x24, 0x3b, 0x74, 0x3a, 0x13, 0x26, 0x13, 0xeb, 0x3e, 0x83, 0xef, 0xe1, 0xeb, 0xf9, - 0x0a, 0x92, 0xc9, 0x5f, 0x93, 0x16, 0xb4, 0xe8, 0xde, 0x84, 0xc9, 0x39, 0xdf, 0xf7, 0x9d, 0x9f, - 0x6f, 0x18, 0x64, 0x47, 0xec, 0x5a, 0x01, 0x25, 0xcc, 0x85, 0x6f, 0xc0, 0x95, 0x1b, 0x32, 0x91, - 0x11, 0x7d, 0x4c, 0x9d, 0x44, 0x0a, 0x25, 0xcc, 0x83, 0x0a, 0xe1, 0xe8, 0xf0, 0x64, 0xd2, 0x61, - 0xe8, 0x6f, 0x81, 0x9d, 0x1c, 0xd5, 0xb9, 0x50, 0x48, 0x70, 0x19, 0x55, 0x20, 0x31, 0x2b, 0x95, - 0x26, 0xc7, 0xed, 0x2c, 0xe5, 0x0a, 0x64, 0x84, 0x43, 0x28, 0xd3, 0x8f, 0xda, 0x69, 0x2c, 0x15, - 0x8d, 0x70, 0xa8, 0x02, 0x4a, 0x4a, 0xc0, 0xc3, 0x0e, 0x9f, 0x00, 0x57, 0x34, 0xa2, 0x20, 0x2b, - 0x81, 0x58, 0x88, 0x98, 0x81, 0xab, 0xff, 0xe6, 0x59, 0xe4, 0x2a, 0xba, 0x84, 0x54, 0xe1, 0x65, - 0x52, 0x00, 0xa6, 0x3f, 0x0d, 0xf4, 0xe0, 0x2c, 0x1f, 0xf0, 0x3c, 0xef, 0xf9, 0x8b, 0x90, 0x8b, - 0x88, 0x89, 0xd5, 0xf9, 0x77, 0x08, 0x33, 0x45, 0x05, 0x37, 0xcf, 0xd0, 0x50, 0xe2, 0x55, 0xa0, - 0x27, 0xb2, 0x7a, 0x76, 0x6f, 0x36, 0x3a, 0x79, 0xec, 0xb4, 0xc7, 0x77, 0x36, 0x58, 0x5a, 0xcb, - 0xbf, 0x25, 0xf1, 0x4a, 0x9f, 0xcc, 0xf7, 0xe8, 0x50, 0x64, 0x2a, 0xc9, 0x54, 0x50, 0x0f, 0x68, - 0xf5, 0xb5, 0xd6, 0x71, 0xa3, 0x95, 0x0f, 0xe0, 0x5c, 0x5c, 0x27, 0x40, 0xbc, 0x0a, 0xe4, 0xdf, - 0x2e, 0x68, 0x75, 0xc0, 0x7c, 0x85, 0xc6, 0x6b, 0x4b, 0x48, 0x2d, 0xc3, 0x36, 0x66, 0xa3, 0x93, - 0xfb, 0x1d, 0x95, 0x37, 0x25, 0xc4, 0x7b, 0xe7, 0x8f, 0x2a, 0xb8, 0x47, 0x52, 0xf3, 0x2b, 0xba, - 0x2b, 0x21, 0x02, 0x09, 0x3c, 0x84, 0x00, 0xaa, 0x6e, 0xad, 0x3d, 0xdd, 0xca, 0x93, 0x8e, 0xc8, - 0xc6, 0x54, 0x5e, 0xbd, 0x5c, 0xdf, 0xac, 0x65, 0x9a, 0x4d, 0x1d, 0xa1, 0x61, 0x22, 0x29, 0x0f, - 0x69, 0x82, 0x99, 0xb5, 0x6f, 0xf7, 0x66, 0x43, 0xbf, 0x09, 0x98, 0xa7, 0xe8, 0x80, 0xe1, 0x8c, - 0x87, 0x57, 0x41, 0xc2, 0x30, 0x0f, 0x28, 0xb1, 0x06, 0xba, 0x6a, 0xb7, 0xf5, 0xb5, 0x22, 0xe3, - 0x82, 0xf0, 0x89, 0x61, 0xee, 0x91, 0xe9, 0x0f, 0x03, 0xdd, 0x6b, 0x8c, 0xfa, 0x28, 0xc8, 0x5a, - 0xe9, 0xd3, 0x4d, 0x93, 0xa6, 0x5d, 0x93, 0x5a, 0x8c, 0x4d, 0x83, 0xc6, 0x0a, 0xa7, 0x0b, 0xbd, - 0x93, 0xbc, 0xb7, 0x7e, 0xd7, 0xe8, 0xc2, 0x1c, 0x9c, 0x2e, 0xb6, 0x6d, 0x03, 0xa9, 0x32, 0xe1, - 0x91, 0xad, 0x56, 0x1b, 0xff, 0xc5, 0xea, 0xbd, 0x9d, 0xac, 0xbe, 0x61, 0x37, 0x2e, 0xd7, 0xcd, - 0x68, 0xed, 0xe5, 0xaf, 0xcc, 0x68, 0x31, 0x3a, 0x66, 0x4c, 0x7f, 0xf5, 0x91, 0xd5, 0x88, 0xd7, - 0xb0, 0xcf, 0x0a, 0x4b, 0x65, 0x7e, 0x40, 0xe3, 0xfa, 0xe2, 0xe6, 0x7d, 0xf7, 0x76, 0xbe, 0xbb, - 0x23, 0x68, 0x82, 0x5b, 0x16, 0xd1, 0xdf, 0x69, 0x11, 0xe6, 0x0b, 0x34, 0x5a, 0x95, 0xc5, 0x72, - 0xb6, 0xf1, 0x27, 0x36, 0xaa, 0xd0, 0x1e, 0xf9, 0x47, 0x87, 0x9f, 0xa2, 0x3b, 0x35, 0x5b, 0x49, - 0x1c, 0x2e, 0x40, 0xa6, 0xd6, 0xbe, 0x6d, 0xcc, 0x86, 0xfe, 0x61, 0x95, 0xb8, 0x28, 0xe3, 0xed, - 0xeb, 0x30, 0xe8, 0x5c, 0x87, 0xb7, 0xaf, 0x2f, 0x5f, 0xc6, 0x54, 0x5d, 0x65, 0x73, 0x27, 0x14, - 0x4b, 0x57, 0x97, 0x17, 0x32, 0x2e, 0x0e, 0x6e, 0xfd, 0xc2, 0xc6, 0xc0, 0xdd, 0x64, 0xfe, 0x2c, - 0x16, 0x6e, 0xfb, 0xb9, 0x9f, 0x0f, 0xf4, 0x53, 0xfa, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xff, 0xef, 0x43, 0x56, 0x39, 0x06, 0x00, 0x00, +var File_flyteidl_event_cloudevents_proto protoreflect.FileDescriptor + +var file_flyteidl_event_cloudevents_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x1a, 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x03, + 0x0a, 0x1b, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, + 0x09, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x72, 0x61, 0x77, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, + 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x0f, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0c, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x52, 0x0b, 0x61, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x5b, 0x0a, 0x13, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, + 0x69, 0x70, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, + 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x0e, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, + 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0c, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x22, 0x8b, 0x03, 0x0a, 0x17, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x09, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x72, 0x61, 0x77, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x49, 0x64, 0x12, 0x48, 0x0a, + 0x10, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, + 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, + 0x70, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x0e, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, + 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0c, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, + 0x61, 0x6e, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x17, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x3f, 0x0a, 0x09, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x72, 0x61, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x22, 0xef, 0x02, 0x0a, 0x18, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x4d, 0x0a, + 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0e, + 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x0c, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x3a, 0x0a, + 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x10, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, + 0x6b, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, + 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, + 0x61, 0x6c, 0x42, 0xbc, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x10, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0xa2, 0x02, 0x03, 0x46, 0x45, 0x58, + 0xaa, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0xca, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0xe2, 0x02, 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x0f, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_event_cloudevents_proto_rawDescOnce sync.Once + file_flyteidl_event_cloudevents_proto_rawDescData = file_flyteidl_event_cloudevents_proto_rawDesc +) + +func file_flyteidl_event_cloudevents_proto_rawDescGZIP() []byte { + file_flyteidl_event_cloudevents_proto_rawDescOnce.Do(func() { + file_flyteidl_event_cloudevents_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_event_cloudevents_proto_rawDescData) + }) + return file_flyteidl_event_cloudevents_proto_rawDescData +} + +var file_flyteidl_event_cloudevents_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_flyteidl_event_cloudevents_proto_goTypes = []interface{}{ + (*CloudEventWorkflowExecution)(nil), // 0: flyteidl.event.CloudEventWorkflowExecution + (*CloudEventNodeExecution)(nil), // 1: flyteidl.event.CloudEventNodeExecution + (*CloudEventTaskExecution)(nil), // 2: flyteidl.event.CloudEventTaskExecution + (*CloudEventExecutionStart)(nil), // 3: flyteidl.event.CloudEventExecutionStart + (*WorkflowExecutionEvent)(nil), // 4: flyteidl.event.WorkflowExecutionEvent + (*core.TypedInterface)(nil), // 5: flyteidl.core.TypedInterface + (*core.ArtifactID)(nil), // 6: flyteidl.core.ArtifactID + (*core.WorkflowExecutionIdentifier)(nil), // 7: flyteidl.core.WorkflowExecutionIdentifier + (*core.Identifier)(nil), // 8: flyteidl.core.Identifier + (*NodeExecutionEvent)(nil), // 9: flyteidl.event.NodeExecutionEvent + (*core.TaskExecutionIdentifier)(nil), // 10: flyteidl.core.TaskExecutionIdentifier + (*TaskExecutionEvent)(nil), // 11: flyteidl.event.TaskExecutionEvent +} +var file_flyteidl_event_cloudevents_proto_depIdxs = []int32{ + 4, // 0: flyteidl.event.CloudEventWorkflowExecution.raw_event:type_name -> flyteidl.event.WorkflowExecutionEvent + 5, // 1: flyteidl.event.CloudEventWorkflowExecution.output_interface:type_name -> flyteidl.core.TypedInterface + 6, // 2: flyteidl.event.CloudEventWorkflowExecution.artifact_ids:type_name -> flyteidl.core.ArtifactID + 7, // 3: flyteidl.event.CloudEventWorkflowExecution.reference_execution:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 8, // 4: flyteidl.event.CloudEventWorkflowExecution.launch_plan_id:type_name -> flyteidl.core.Identifier + 9, // 5: flyteidl.event.CloudEventNodeExecution.raw_event:type_name -> flyteidl.event.NodeExecutionEvent + 10, // 6: flyteidl.event.CloudEventNodeExecution.task_exec_id:type_name -> flyteidl.core.TaskExecutionIdentifier + 5, // 7: flyteidl.event.CloudEventNodeExecution.output_interface:type_name -> flyteidl.core.TypedInterface + 6, // 8: flyteidl.event.CloudEventNodeExecution.artifact_ids:type_name -> flyteidl.core.ArtifactID + 8, // 9: flyteidl.event.CloudEventNodeExecution.launch_plan_id:type_name -> flyteidl.core.Identifier + 11, // 10: flyteidl.event.CloudEventTaskExecution.raw_event:type_name -> flyteidl.event.TaskExecutionEvent + 7, // 11: flyteidl.event.CloudEventExecutionStart.execution_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 8, // 12: flyteidl.event.CloudEventExecutionStart.launch_plan_id:type_name -> flyteidl.core.Identifier + 8, // 13: flyteidl.event.CloudEventExecutionStart.workflow_id:type_name -> flyteidl.core.Identifier + 6, // 14: flyteidl.event.CloudEventExecutionStart.artifact_ids:type_name -> flyteidl.core.ArtifactID + 15, // [15:15] is the sub-list for method output_type + 15, // [15:15] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name +} + +func init() { file_flyteidl_event_cloudevents_proto_init() } +func file_flyteidl_event_cloudevents_proto_init() { + if File_flyteidl_event_cloudevents_proto != nil { + return + } + file_flyteidl_event_event_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_event_cloudevents_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudEventWorkflowExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_cloudevents_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudEventNodeExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_cloudevents_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudEventTaskExecution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_cloudevents_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudEventExecutionStart); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_event_cloudevents_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_event_cloudevents_proto_goTypes, + DependencyIndexes: file_flyteidl_event_cloudevents_proto_depIdxs, + MessageInfos: file_flyteidl_event_cloudevents_proto_msgTypes, + }.Build() + File_flyteidl_event_cloudevents_proto = out.File + file_flyteidl_event_cloudevents_proto_rawDesc = nil + file_flyteidl_event_cloudevents_proto_goTypes = nil + file_flyteidl_event_cloudevents_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json deleted file mode 100644 index c18a52a3ca..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/event/cloudevents.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/event/event.pb.go b/flyteidl/gen/pb-go/flyteidl/event/event.pb.go index 204d000a99..9c3baaf04e 100644 --- a/flyteidl/gen/pb-go/flyteidl/event/event.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/event/event.pb.go @@ -1,27 +1,27 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/event/event.proto package event import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Includes the broad category of machine used for this specific task execution. type TaskExecutionMetadata_InstanceClass int32 @@ -33,25 +33,50 @@ const ( TaskExecutionMetadata_INTERRUPTIBLE TaskExecutionMetadata_InstanceClass = 1 ) -var TaskExecutionMetadata_InstanceClass_name = map[int32]string{ - 0: "DEFAULT", - 1: "INTERRUPTIBLE", -} +// Enum value maps for TaskExecutionMetadata_InstanceClass. +var ( + TaskExecutionMetadata_InstanceClass_name = map[int32]string{ + 0: "DEFAULT", + 1: "INTERRUPTIBLE", + } + TaskExecutionMetadata_InstanceClass_value = map[string]int32{ + "DEFAULT": 0, + "INTERRUPTIBLE": 1, + } +) -var TaskExecutionMetadata_InstanceClass_value = map[string]int32{ - "DEFAULT": 0, - "INTERRUPTIBLE": 1, +func (x TaskExecutionMetadata_InstanceClass) Enum() *TaskExecutionMetadata_InstanceClass { + p := new(TaskExecutionMetadata_InstanceClass) + *p = x + return p } func (x TaskExecutionMetadata_InstanceClass) String() string { - return proto.EnumName(TaskExecutionMetadata_InstanceClass_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (TaskExecutionMetadata_InstanceClass) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_event_event_proto_enumTypes[0].Descriptor() +} + +func (TaskExecutionMetadata_InstanceClass) Type() protoreflect.EnumType { + return &file_flyteidl_event_event_proto_enumTypes[0] +} + +func (x TaskExecutionMetadata_InstanceClass) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TaskExecutionMetadata_InstanceClass.Descriptor instead. func (TaskExecutionMetadata_InstanceClass) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{11, 0} + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{11, 0} } type WorkflowExecutionEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Workflow execution id ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` // the id of the originator (Propeller) of the event @@ -59,66 +84,99 @@ type WorkflowExecutionEvent struct { Phase core.WorkflowExecution_Phase `protobuf:"varint,3,opt,name=phase,proto3,enum=flyteidl.core.WorkflowExecution_Phase" json:"phase,omitempty"` // This timestamp represents when the original event occurred, it is generated // by the executor of the workflow. - OccurredAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` - // Types that are valid to be assigned to OutputResult: + OccurredAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` + // Types that are assignable to OutputResult: + // // *WorkflowExecutionEvent_OutputUri // *WorkflowExecutionEvent_Error // *WorkflowExecutionEvent_OutputData - OutputResult isWorkflowExecutionEvent_OutputResult `protobuf_oneof:"output_result"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutputResult isWorkflowExecutionEvent_OutputResult `protobuf_oneof:"output_result"` } -func (m *WorkflowExecutionEvent) Reset() { *m = WorkflowExecutionEvent{} } -func (m *WorkflowExecutionEvent) String() string { return proto.CompactTextString(m) } -func (*WorkflowExecutionEvent) ProtoMessage() {} -func (*WorkflowExecutionEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{0} +func (x *WorkflowExecutionEvent) Reset() { + *x = WorkflowExecutionEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkflowExecutionEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowExecutionEvent.Unmarshal(m, b) +func (x *WorkflowExecutionEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkflowExecutionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowExecutionEvent.Marshal(b, m, deterministic) + +func (*WorkflowExecutionEvent) ProtoMessage() {} + +func (x *WorkflowExecutionEvent) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *WorkflowExecutionEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowExecutionEvent.Merge(m, src) + +// Deprecated: Use WorkflowExecutionEvent.ProtoReflect.Descriptor instead. +func (*WorkflowExecutionEvent) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{0} } -func (m *WorkflowExecutionEvent) XXX_Size() int { - return xxx_messageInfo_WorkflowExecutionEvent.Size(m) + +func (x *WorkflowExecutionEvent) GetExecutionId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.ExecutionId + } + return nil } -func (m *WorkflowExecutionEvent) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowExecutionEvent.DiscardUnknown(m) + +func (x *WorkflowExecutionEvent) GetProducerId() string { + if x != nil { + return x.ProducerId + } + return "" } -var xxx_messageInfo_WorkflowExecutionEvent proto.InternalMessageInfo +func (x *WorkflowExecutionEvent) GetPhase() core.WorkflowExecution_Phase { + if x != nil { + return x.Phase + } + return core.WorkflowExecution_Phase(0) +} -func (m *WorkflowExecutionEvent) GetExecutionId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.ExecutionId +func (x *WorkflowExecutionEvent) GetOccurredAt() *timestamppb.Timestamp { + if x != nil { + return x.OccurredAt } return nil } -func (m *WorkflowExecutionEvent) GetProducerId() string { +func (m *WorkflowExecutionEvent) GetOutputResult() isWorkflowExecutionEvent_OutputResult { if m != nil { - return m.ProducerId + return m.OutputResult + } + return nil +} + +func (x *WorkflowExecutionEvent) GetOutputUri() string { + if x, ok := x.GetOutputResult().(*WorkflowExecutionEvent_OutputUri); ok { + return x.OutputUri } return "" } -func (m *WorkflowExecutionEvent) GetPhase() core.WorkflowExecution_Phase { - if m != nil { - return m.Phase +func (x *WorkflowExecutionEvent) GetError() *core.ExecutionError { + if x, ok := x.GetOutputResult().(*WorkflowExecutionEvent_Error); ok { + return x.Error } - return core.WorkflowExecution_UNDEFINED + return nil } -func (m *WorkflowExecutionEvent) GetOccurredAt() *timestamp.Timestamp { - if m != nil { - return m.OccurredAt +func (x *WorkflowExecutionEvent) GetOutputData() *core.LiteralMap { + if x, ok := x.GetOutputResult().(*WorkflowExecutionEvent_OutputData); ok { + return x.OutputData } return nil } @@ -128,14 +186,18 @@ type isWorkflowExecutionEvent_OutputResult interface { } type WorkflowExecutionEvent_OutputUri struct { + // URL to the output of the execution, it encodes all the information + // including Cloud source provider. ie., s3://... OutputUri string `protobuf:"bytes,5,opt,name=output_uri,json=outputUri,proto3,oneof"` } type WorkflowExecutionEvent_Error struct { + // Error information for the execution Error *core.ExecutionError `protobuf:"bytes,6,opt,name=error,proto3,oneof"` } type WorkflowExecutionEvent_OutputData struct { + // Raw output data produced by this workflow execution. OutputData *core.LiteralMap `protobuf:"bytes,7,opt,name=output_data,json=outputData,proto3,oneof"` } @@ -145,44 +207,11 @@ func (*WorkflowExecutionEvent_Error) isWorkflowExecutionEvent_OutputResult() {} func (*WorkflowExecutionEvent_OutputData) isWorkflowExecutionEvent_OutputResult() {} -func (m *WorkflowExecutionEvent) GetOutputResult() isWorkflowExecutionEvent_OutputResult { - if m != nil { - return m.OutputResult - } - return nil -} - -func (m *WorkflowExecutionEvent) GetOutputUri() string { - if x, ok := m.GetOutputResult().(*WorkflowExecutionEvent_OutputUri); ok { - return x.OutputUri - } - return "" -} - -func (m *WorkflowExecutionEvent) GetError() *core.ExecutionError { - if x, ok := m.GetOutputResult().(*WorkflowExecutionEvent_Error); ok { - return x.Error - } - return nil -} - -func (m *WorkflowExecutionEvent) GetOutputData() *core.LiteralMap { - if x, ok := m.GetOutputResult().(*WorkflowExecutionEvent_OutputData); ok { - return x.OutputData - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*WorkflowExecutionEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*WorkflowExecutionEvent_OutputUri)(nil), - (*WorkflowExecutionEvent_Error)(nil), - (*WorkflowExecutionEvent_OutputData)(nil), - } -} - type NodeExecutionEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique identifier for this node execution Id *core.NodeExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the id of the originator (Propeller) of the event @@ -190,12 +219,14 @@ type NodeExecutionEvent struct { Phase core.NodeExecution_Phase `protobuf:"varint,3,opt,name=phase,proto3,enum=flyteidl.core.NodeExecution_Phase" json:"phase,omitempty"` // This timestamp represents when the original event occurred, it is generated // by the executor of the node. - OccurredAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` - // Types that are valid to be assigned to InputValue: + OccurredAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` + // Types that are assignable to InputValue: + // // *NodeExecutionEvent_InputUri // *NodeExecutionEvent_InputData InputValue isNodeExecutionEvent_InputValue `protobuf_oneof:"input_value"` - // Types that are valid to be assigned to OutputResult: + // Types that are assignable to OutputResult: + // // *NodeExecutionEvent_OutputUri // *NodeExecutionEvent_Error // *NodeExecutionEvent_OutputData @@ -203,7 +234,8 @@ type NodeExecutionEvent struct { // Additional metadata to do with this event's node target based // on the node type // - // Types that are valid to be assigned to TargetMetadata: + // Types that are assignable to TargetMetadata: + // // *NodeExecutionEvent_WorkflowNodeMetadata // *NodeExecutionEvent_TaskNodeMetadata TargetMetadata isNodeExecutionEvent_TargetMetadata `protobuf_oneof:"target_metadata"` @@ -230,83 +262,71 @@ type NodeExecutionEvent struct { // when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when // literal inputs are initially copied. The event however will not be sent until after the copy completes. // Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. - ReportedAt *timestamp.Timestamp `protobuf:"bytes,21,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"` + ReportedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"` // Indicates if this node is an ArrayNode. - IsArray bool `protobuf:"varint,22,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IsArray bool `protobuf:"varint,22,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"` } -func (m *NodeExecutionEvent) Reset() { *m = NodeExecutionEvent{} } -func (m *NodeExecutionEvent) String() string { return proto.CompactTextString(m) } -func (*NodeExecutionEvent) ProtoMessage() {} -func (*NodeExecutionEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{1} +func (x *NodeExecutionEvent) Reset() { + *x = NodeExecutionEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeExecutionEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeExecutionEvent.Unmarshal(m, b) -} -func (m *NodeExecutionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeExecutionEvent.Marshal(b, m, deterministic) +func (x *NodeExecutionEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeExecutionEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeExecutionEvent.Merge(m, src) -} -func (m *NodeExecutionEvent) XXX_Size() int { - return xxx_messageInfo_NodeExecutionEvent.Size(m) -} -func (m *NodeExecutionEvent) XXX_DiscardUnknown() { - xxx_messageInfo_NodeExecutionEvent.DiscardUnknown(m) + +func (*NodeExecutionEvent) ProtoMessage() {} + +func (x *NodeExecutionEvent) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeExecutionEvent proto.InternalMessageInfo +// Deprecated: Use NodeExecutionEvent.ProtoReflect.Descriptor instead. +func (*NodeExecutionEvent) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{1} +} -func (m *NodeExecutionEvent) GetId() *core.NodeExecutionIdentifier { - if m != nil { - return m.Id +func (x *NodeExecutionEvent) GetId() *core.NodeExecutionIdentifier { + if x != nil { + return x.Id } return nil } -func (m *NodeExecutionEvent) GetProducerId() string { - if m != nil { - return m.ProducerId +func (x *NodeExecutionEvent) GetProducerId() string { + if x != nil { + return x.ProducerId } return "" } -func (m *NodeExecutionEvent) GetPhase() core.NodeExecution_Phase { - if m != nil { - return m.Phase +func (x *NodeExecutionEvent) GetPhase() core.NodeExecution_Phase { + if x != nil { + return x.Phase } - return core.NodeExecution_UNDEFINED + return core.NodeExecution_Phase(0) } -func (m *NodeExecutionEvent) GetOccurredAt() *timestamp.Timestamp { - if m != nil { - return m.OccurredAt +func (x *NodeExecutionEvent) GetOccurredAt() *timestamppb.Timestamp { + if x != nil { + return x.OccurredAt } return nil } -type isNodeExecutionEvent_InputValue interface { - isNodeExecutionEvent_InputValue() -} - -type NodeExecutionEvent_InputUri struct { - InputUri string `protobuf:"bytes,5,opt,name=input_uri,json=inputUri,proto3,oneof"` -} - -type NodeExecutionEvent_InputData struct { - InputData *core.LiteralMap `protobuf:"bytes,20,opt,name=input_data,json=inputData,proto3,oneof"` -} - -func (*NodeExecutionEvent_InputUri) isNodeExecutionEvent_InputValue() {} - -func (*NodeExecutionEvent_InputData) isNodeExecutionEvent_InputValue() {} - func (m *NodeExecutionEvent) GetInputValue() isNodeExecutionEvent_InputValue { if m != nil { return m.InputValue @@ -314,42 +334,20 @@ func (m *NodeExecutionEvent) GetInputValue() isNodeExecutionEvent_InputValue { return nil } -func (m *NodeExecutionEvent) GetInputUri() string { - if x, ok := m.GetInputValue().(*NodeExecutionEvent_InputUri); ok { +func (x *NodeExecutionEvent) GetInputUri() string { + if x, ok := x.GetInputValue().(*NodeExecutionEvent_InputUri); ok { return x.InputUri } return "" } -func (m *NodeExecutionEvent) GetInputData() *core.LiteralMap { - if x, ok := m.GetInputValue().(*NodeExecutionEvent_InputData); ok { +func (x *NodeExecutionEvent) GetInputData() *core.LiteralMap { + if x, ok := x.GetInputValue().(*NodeExecutionEvent_InputData); ok { return x.InputData } return nil } -type isNodeExecutionEvent_OutputResult interface { - isNodeExecutionEvent_OutputResult() -} - -type NodeExecutionEvent_OutputUri struct { - OutputUri string `protobuf:"bytes,6,opt,name=output_uri,json=outputUri,proto3,oneof"` -} - -type NodeExecutionEvent_Error struct { - Error *core.ExecutionError `protobuf:"bytes,7,opt,name=error,proto3,oneof"` -} - -type NodeExecutionEvent_OutputData struct { - OutputData *core.LiteralMap `protobuf:"bytes,15,opt,name=output_data,json=outputData,proto3,oneof"` -} - -func (*NodeExecutionEvent_OutputUri) isNodeExecutionEvent_OutputResult() {} - -func (*NodeExecutionEvent_Error) isNodeExecutionEvent_OutputResult() {} - -func (*NodeExecutionEvent_OutputData) isNodeExecutionEvent_OutputResult() {} - func (m *NodeExecutionEvent) GetOutputResult() isNodeExecutionEvent_OutputResult { if m != nil { return m.OutputResult @@ -357,43 +355,27 @@ func (m *NodeExecutionEvent) GetOutputResult() isNodeExecutionEvent_OutputResult return nil } -func (m *NodeExecutionEvent) GetOutputUri() string { - if x, ok := m.GetOutputResult().(*NodeExecutionEvent_OutputUri); ok { +func (x *NodeExecutionEvent) GetOutputUri() string { + if x, ok := x.GetOutputResult().(*NodeExecutionEvent_OutputUri); ok { return x.OutputUri } return "" } -func (m *NodeExecutionEvent) GetError() *core.ExecutionError { - if x, ok := m.GetOutputResult().(*NodeExecutionEvent_Error); ok { +func (x *NodeExecutionEvent) GetError() *core.ExecutionError { + if x, ok := x.GetOutputResult().(*NodeExecutionEvent_Error); ok { return x.Error } return nil } -func (m *NodeExecutionEvent) GetOutputData() *core.LiteralMap { - if x, ok := m.GetOutputResult().(*NodeExecutionEvent_OutputData); ok { +func (x *NodeExecutionEvent) GetOutputData() *core.LiteralMap { + if x, ok := x.GetOutputResult().(*NodeExecutionEvent_OutputData); ok { return x.OutputData } return nil } -type isNodeExecutionEvent_TargetMetadata interface { - isNodeExecutionEvent_TargetMetadata() -} - -type NodeExecutionEvent_WorkflowNodeMetadata struct { - WorkflowNodeMetadata *WorkflowNodeMetadata `protobuf:"bytes,8,opt,name=workflow_node_metadata,json=workflowNodeMetadata,proto3,oneof"` -} - -type NodeExecutionEvent_TaskNodeMetadata struct { - TaskNodeMetadata *TaskNodeMetadata `protobuf:"bytes,14,opt,name=task_node_metadata,json=taskNodeMetadata,proto3,oneof"` -} - -func (*NodeExecutionEvent_WorkflowNodeMetadata) isNodeExecutionEvent_TargetMetadata() {} - -func (*NodeExecutionEvent_TaskNodeMetadata) isNodeExecutionEvent_TargetMetadata() {} - func (m *NodeExecutionEvent) GetTargetMetadata() isNodeExecutionEvent_TargetMetadata { if m != nil { return m.TargetMetadata @@ -401,151 +383,209 @@ func (m *NodeExecutionEvent) GetTargetMetadata() isNodeExecutionEvent_TargetMeta return nil } -func (m *NodeExecutionEvent) GetWorkflowNodeMetadata() *WorkflowNodeMetadata { - if x, ok := m.GetTargetMetadata().(*NodeExecutionEvent_WorkflowNodeMetadata); ok { +func (x *NodeExecutionEvent) GetWorkflowNodeMetadata() *WorkflowNodeMetadata { + if x, ok := x.GetTargetMetadata().(*NodeExecutionEvent_WorkflowNodeMetadata); ok { return x.WorkflowNodeMetadata } return nil } -func (m *NodeExecutionEvent) GetTaskNodeMetadata() *TaskNodeMetadata { - if x, ok := m.GetTargetMetadata().(*NodeExecutionEvent_TaskNodeMetadata); ok { +func (x *NodeExecutionEvent) GetTaskNodeMetadata() *TaskNodeMetadata { + if x, ok := x.GetTargetMetadata().(*NodeExecutionEvent_TaskNodeMetadata); ok { return x.TaskNodeMetadata } return nil } -func (m *NodeExecutionEvent) GetParentTaskMetadata() *ParentTaskExecutionMetadata { - if m != nil { - return m.ParentTaskMetadata +func (x *NodeExecutionEvent) GetParentTaskMetadata() *ParentTaskExecutionMetadata { + if x != nil { + return x.ParentTaskMetadata } return nil } -func (m *NodeExecutionEvent) GetParentNodeMetadata() *ParentNodeExecutionMetadata { - if m != nil { - return m.ParentNodeMetadata +func (x *NodeExecutionEvent) GetParentNodeMetadata() *ParentNodeExecutionMetadata { + if x != nil { + return x.ParentNodeMetadata } return nil } -func (m *NodeExecutionEvent) GetRetryGroup() string { - if m != nil { - return m.RetryGroup +func (x *NodeExecutionEvent) GetRetryGroup() string { + if x != nil { + return x.RetryGroup } return "" } -func (m *NodeExecutionEvent) GetSpecNodeId() string { - if m != nil { - return m.SpecNodeId +func (x *NodeExecutionEvent) GetSpecNodeId() string { + if x != nil { + return x.SpecNodeId } return "" } -func (m *NodeExecutionEvent) GetNodeName() string { - if m != nil { - return m.NodeName +func (x *NodeExecutionEvent) GetNodeName() string { + if x != nil { + return x.NodeName } return "" } -func (m *NodeExecutionEvent) GetEventVersion() int32 { - if m != nil { - return m.EventVersion +func (x *NodeExecutionEvent) GetEventVersion() int32 { + if x != nil { + return x.EventVersion } return 0 } -func (m *NodeExecutionEvent) GetIsParent() bool { - if m != nil { - return m.IsParent +func (x *NodeExecutionEvent) GetIsParent() bool { + if x != nil { + return x.IsParent } return false } -func (m *NodeExecutionEvent) GetIsDynamic() bool { - if m != nil { - return m.IsDynamic +func (x *NodeExecutionEvent) GetIsDynamic() bool { + if x != nil { + return x.IsDynamic } return false } -func (m *NodeExecutionEvent) GetDeckUri() string { - if m != nil { - return m.DeckUri +func (x *NodeExecutionEvent) GetDeckUri() string { + if x != nil { + return x.DeckUri } return "" } -func (m *NodeExecutionEvent) GetReportedAt() *timestamp.Timestamp { - if m != nil { - return m.ReportedAt +func (x *NodeExecutionEvent) GetReportedAt() *timestamppb.Timestamp { + if x != nil { + return x.ReportedAt } return nil } -func (m *NodeExecutionEvent) GetIsArray() bool { - if m != nil { - return m.IsArray +func (x *NodeExecutionEvent) GetIsArray() bool { + if x != nil { + return x.IsArray } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*NodeExecutionEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*NodeExecutionEvent_InputUri)(nil), - (*NodeExecutionEvent_InputData)(nil), - (*NodeExecutionEvent_OutputUri)(nil), - (*NodeExecutionEvent_Error)(nil), - (*NodeExecutionEvent_OutputData)(nil), - (*NodeExecutionEvent_WorkflowNodeMetadata)(nil), - (*NodeExecutionEvent_TaskNodeMetadata)(nil), - } +type isNodeExecutionEvent_InputValue interface { + isNodeExecutionEvent_InputValue() } -// For Workflow Nodes we need to send information about the workflow that's launched -type WorkflowNodeMetadata struct { - ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type NodeExecutionEvent_InputUri struct { + InputUri string `protobuf:"bytes,5,opt,name=input_uri,json=inputUri,proto3,oneof"` } -func (m *WorkflowNodeMetadata) Reset() { *m = WorkflowNodeMetadata{} } -func (m *WorkflowNodeMetadata) String() string { return proto.CompactTextString(m) } -func (*WorkflowNodeMetadata) ProtoMessage() {} -func (*WorkflowNodeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{2} +type NodeExecutionEvent_InputData struct { + // Raw input data consumed by this node execution. + InputData *core.LiteralMap `protobuf:"bytes,20,opt,name=input_data,json=inputData,proto3,oneof"` } -func (m *WorkflowNodeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkflowNodeMetadata.Unmarshal(m, b) +func (*NodeExecutionEvent_InputUri) isNodeExecutionEvent_InputValue() {} + +func (*NodeExecutionEvent_InputData) isNodeExecutionEvent_InputValue() {} + +type isNodeExecutionEvent_OutputResult interface { + isNodeExecutionEvent_OutputResult() } -func (m *WorkflowNodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkflowNodeMetadata.Marshal(b, m, deterministic) + +type NodeExecutionEvent_OutputUri struct { + // URL to the output of the execution, it encodes all the information + // including Cloud source provider. ie., s3://... + OutputUri string `protobuf:"bytes,6,opt,name=output_uri,json=outputUri,proto3,oneof"` } -func (m *WorkflowNodeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowNodeMetadata.Merge(m, src) + +type NodeExecutionEvent_Error struct { + // Error information for the execution + Error *core.ExecutionError `protobuf:"bytes,7,opt,name=error,proto3,oneof"` } -func (m *WorkflowNodeMetadata) XXX_Size() int { - return xxx_messageInfo_WorkflowNodeMetadata.Size(m) + +type NodeExecutionEvent_OutputData struct { + // Raw output data produced by this node execution. + OutputData *core.LiteralMap `protobuf:"bytes,15,opt,name=output_data,json=outputData,proto3,oneof"` } -func (m *WorkflowNodeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_WorkflowNodeMetadata.DiscardUnknown(m) + +func (*NodeExecutionEvent_OutputUri) isNodeExecutionEvent_OutputResult() {} + +func (*NodeExecutionEvent_Error) isNodeExecutionEvent_OutputResult() {} + +func (*NodeExecutionEvent_OutputData) isNodeExecutionEvent_OutputResult() {} + +type isNodeExecutionEvent_TargetMetadata interface { + isNodeExecutionEvent_TargetMetadata() +} + +type NodeExecutionEvent_WorkflowNodeMetadata struct { + WorkflowNodeMetadata *WorkflowNodeMetadata `protobuf:"bytes,8,opt,name=workflow_node_metadata,json=workflowNodeMetadata,proto3,oneof"` } -var xxx_messageInfo_WorkflowNodeMetadata proto.InternalMessageInfo +type NodeExecutionEvent_TaskNodeMetadata struct { + TaskNodeMetadata *TaskNodeMetadata `protobuf:"bytes,14,opt,name=task_node_metadata,json=taskNodeMetadata,proto3,oneof"` +} -func (m *WorkflowNodeMetadata) GetExecutionId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.ExecutionId +func (*NodeExecutionEvent_WorkflowNodeMetadata) isNodeExecutionEvent_TargetMetadata() {} + +func (*NodeExecutionEvent_TaskNodeMetadata) isNodeExecutionEvent_TargetMetadata() {} + +// For Workflow Nodes we need to send information about the workflow that's launched +type WorkflowNodeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` +} + +func (x *WorkflowNodeMetadata) Reset() { + *x = WorkflowNodeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkflowNodeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkflowNodeMetadata) ProtoMessage() {} + +func (x *WorkflowNodeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkflowNodeMetadata.ProtoReflect.Descriptor instead. +func (*WorkflowNodeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{2} +} + +func (x *WorkflowNodeMetadata) GetExecutionId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.ExecutionId } return nil } type TaskNodeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Captures the status of caching for this execution. CacheStatus core.CatalogCacheStatus `protobuf:"varint,1,opt,name=cache_status,json=cacheStatus,proto3,enum=flyteidl.core.CatalogCacheStatus" json:"cache_status,omitempty"` // This structure carries the catalog artifact information @@ -555,263 +595,303 @@ type TaskNodeMetadata struct { // The latest checkpoint location CheckpointUri string `protobuf:"bytes,4,opt,name=checkpoint_uri,json=checkpointUri,proto3" json:"checkpoint_uri,omitempty"` // In the case this task launched a dynamic workflow we capture its structure here. - DynamicWorkflow *DynamicWorkflowNodeMetadata `protobuf:"bytes,16,opt,name=dynamic_workflow,json=dynamicWorkflow,proto3" json:"dynamic_workflow,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DynamicWorkflow *DynamicWorkflowNodeMetadata `protobuf:"bytes,16,opt,name=dynamic_workflow,json=dynamicWorkflow,proto3" json:"dynamic_workflow,omitempty"` } -func (m *TaskNodeMetadata) Reset() { *m = TaskNodeMetadata{} } -func (m *TaskNodeMetadata) String() string { return proto.CompactTextString(m) } -func (*TaskNodeMetadata) ProtoMessage() {} -func (*TaskNodeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{3} +func (x *TaskNodeMetadata) Reset() { + *x = TaskNodeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskNodeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskNodeMetadata.Unmarshal(m, b) -} -func (m *TaskNodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskNodeMetadata.Marshal(b, m, deterministic) -} -func (m *TaskNodeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskNodeMetadata.Merge(m, src) -} -func (m *TaskNodeMetadata) XXX_Size() int { - return xxx_messageInfo_TaskNodeMetadata.Size(m) +func (x *TaskNodeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskNodeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TaskNodeMetadata.DiscardUnknown(m) + +func (*TaskNodeMetadata) ProtoMessage() {} + +func (x *TaskNodeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskNodeMetadata proto.InternalMessageInfo +// Deprecated: Use TaskNodeMetadata.ProtoReflect.Descriptor instead. +func (*TaskNodeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{3} +} -func (m *TaskNodeMetadata) GetCacheStatus() core.CatalogCacheStatus { - if m != nil { - return m.CacheStatus +func (x *TaskNodeMetadata) GetCacheStatus() core.CatalogCacheStatus { + if x != nil { + return x.CacheStatus } - return core.CatalogCacheStatus_CACHE_DISABLED + return core.CatalogCacheStatus(0) } -func (m *TaskNodeMetadata) GetCatalogKey() *core.CatalogMetadata { - if m != nil { - return m.CatalogKey +func (x *TaskNodeMetadata) GetCatalogKey() *core.CatalogMetadata { + if x != nil { + return x.CatalogKey } return nil } -func (m *TaskNodeMetadata) GetReservationStatus() core.CatalogReservation_Status { - if m != nil { - return m.ReservationStatus +func (x *TaskNodeMetadata) GetReservationStatus() core.CatalogReservation_Status { + if x != nil { + return x.ReservationStatus } - return core.CatalogReservation_RESERVATION_DISABLED + return core.CatalogReservation_Status(0) } -func (m *TaskNodeMetadata) GetCheckpointUri() string { - if m != nil { - return m.CheckpointUri +func (x *TaskNodeMetadata) GetCheckpointUri() string { + if x != nil { + return x.CheckpointUri } return "" } -func (m *TaskNodeMetadata) GetDynamicWorkflow() *DynamicWorkflowNodeMetadata { - if m != nil { - return m.DynamicWorkflow +func (x *TaskNodeMetadata) GetDynamicWorkflow() *DynamicWorkflowNodeMetadata { + if x != nil { + return x.DynamicWorkflow } return nil } // For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated. type DynamicWorkflowNodeMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // id represents the unique identifier of the workflow. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Represents the compiled representation of the embedded dynamic workflow. CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,2,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is // required to correctly recover partially completed executions where the workflow has already been compiled. - DynamicJobSpecUri string `protobuf:"bytes,3,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DynamicJobSpecUri string `protobuf:"bytes,3,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` } -func (m *DynamicWorkflowNodeMetadata) Reset() { *m = DynamicWorkflowNodeMetadata{} } -func (m *DynamicWorkflowNodeMetadata) String() string { return proto.CompactTextString(m) } -func (*DynamicWorkflowNodeMetadata) ProtoMessage() {} -func (*DynamicWorkflowNodeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{4} +func (x *DynamicWorkflowNodeMetadata) Reset() { + *x = DynamicWorkflowNodeMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DynamicWorkflowNodeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DynamicWorkflowNodeMetadata.Unmarshal(m, b) -} -func (m *DynamicWorkflowNodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DynamicWorkflowNodeMetadata.Marshal(b, m, deterministic) -} -func (m *DynamicWorkflowNodeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DynamicWorkflowNodeMetadata.Merge(m, src) +func (x *DynamicWorkflowNodeMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DynamicWorkflowNodeMetadata) XXX_Size() int { - return xxx_messageInfo_DynamicWorkflowNodeMetadata.Size(m) -} -func (m *DynamicWorkflowNodeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DynamicWorkflowNodeMetadata.DiscardUnknown(m) + +func (*DynamicWorkflowNodeMetadata) ProtoMessage() {} + +func (x *DynamicWorkflowNodeMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DynamicWorkflowNodeMetadata proto.InternalMessageInfo +// Deprecated: Use DynamicWorkflowNodeMetadata.ProtoReflect.Descriptor instead. +func (*DynamicWorkflowNodeMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{4} +} -func (m *DynamicWorkflowNodeMetadata) GetId() *core.Identifier { - if m != nil { - return m.Id +func (x *DynamicWorkflowNodeMetadata) GetId() *core.Identifier { + if x != nil { + return x.Id } return nil } -func (m *DynamicWorkflowNodeMetadata) GetCompiledWorkflow() *core.CompiledWorkflowClosure { - if m != nil { - return m.CompiledWorkflow +func (x *DynamicWorkflowNodeMetadata) GetCompiledWorkflow() *core.CompiledWorkflowClosure { + if x != nil { + return x.CompiledWorkflow } return nil } -func (m *DynamicWorkflowNodeMetadata) GetDynamicJobSpecUri() string { - if m != nil { - return m.DynamicJobSpecUri +func (x *DynamicWorkflowNodeMetadata) GetDynamicJobSpecUri() string { + if x != nil { + return x.DynamicJobSpecUri } return "" } type ParentTaskExecutionMetadata struct { - Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ParentTaskExecutionMetadata) Reset() { *m = ParentTaskExecutionMetadata{} } -func (m *ParentTaskExecutionMetadata) String() string { return proto.CompactTextString(m) } -func (*ParentTaskExecutionMetadata) ProtoMessage() {} -func (*ParentTaskExecutionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{5} + Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *ParentTaskExecutionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ParentTaskExecutionMetadata.Unmarshal(m, b) -} -func (m *ParentTaskExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ParentTaskExecutionMetadata.Marshal(b, m, deterministic) -} -func (m *ParentTaskExecutionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParentTaskExecutionMetadata.Merge(m, src) +func (x *ParentTaskExecutionMetadata) Reset() { + *x = ParentTaskExecutionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ParentTaskExecutionMetadata) XXX_Size() int { - return xxx_messageInfo_ParentTaskExecutionMetadata.Size(m) + +func (x *ParentTaskExecutionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ParentTaskExecutionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ParentTaskExecutionMetadata.DiscardUnknown(m) + +func (*ParentTaskExecutionMetadata) ProtoMessage() {} + +func (x *ParentTaskExecutionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ParentTaskExecutionMetadata proto.InternalMessageInfo +// Deprecated: Use ParentTaskExecutionMetadata.ProtoReflect.Descriptor instead. +func (*ParentTaskExecutionMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{5} +} -func (m *ParentTaskExecutionMetadata) GetId() *core.TaskExecutionIdentifier { - if m != nil { - return m.Id +func (x *ParentTaskExecutionMetadata) GetId() *core.TaskExecutionIdentifier { + if x != nil { + return x.Id } return nil } type ParentNodeExecutionMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique identifier of the parent node id within the execution // This is value of core.NodeExecutionIdentifier.node_id of the parent node - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` } -func (m *ParentNodeExecutionMetadata) Reset() { *m = ParentNodeExecutionMetadata{} } -func (m *ParentNodeExecutionMetadata) String() string { return proto.CompactTextString(m) } -func (*ParentNodeExecutionMetadata) ProtoMessage() {} -func (*ParentNodeExecutionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{6} +func (x *ParentNodeExecutionMetadata) Reset() { + *x = ParentNodeExecutionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ParentNodeExecutionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ParentNodeExecutionMetadata.Unmarshal(m, b) -} -func (m *ParentNodeExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ParentNodeExecutionMetadata.Marshal(b, m, deterministic) -} -func (m *ParentNodeExecutionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParentNodeExecutionMetadata.Merge(m, src) +func (x *ParentNodeExecutionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ParentNodeExecutionMetadata) XXX_Size() int { - return xxx_messageInfo_ParentNodeExecutionMetadata.Size(m) -} -func (m *ParentNodeExecutionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ParentNodeExecutionMetadata.DiscardUnknown(m) + +func (*ParentNodeExecutionMetadata) ProtoMessage() {} + +func (x *ParentNodeExecutionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ParentNodeExecutionMetadata proto.InternalMessageInfo +// Deprecated: Use ParentNodeExecutionMetadata.ProtoReflect.Descriptor instead. +func (*ParentNodeExecutionMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{6} +} -func (m *ParentNodeExecutionMetadata) GetNodeId() string { - if m != nil { - return m.NodeId +func (x *ParentNodeExecutionMetadata) GetNodeId() string { + if x != nil { + return x.NodeId } return "" } type EventReason struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // An explanation for this event Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // The time this reason occurred - OccurredAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OccurredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` } -func (m *EventReason) Reset() { *m = EventReason{} } -func (m *EventReason) String() string { return proto.CompactTextString(m) } -func (*EventReason) ProtoMessage() {} -func (*EventReason) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{7} +func (x *EventReason) Reset() { + *x = EventReason{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EventReason) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventReason.Unmarshal(m, b) -} -func (m *EventReason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventReason.Marshal(b, m, deterministic) +func (x *EventReason) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventReason) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventReason.Merge(m, src) -} -func (m *EventReason) XXX_Size() int { - return xxx_messageInfo_EventReason.Size(m) -} -func (m *EventReason) XXX_DiscardUnknown() { - xxx_messageInfo_EventReason.DiscardUnknown(m) + +func (*EventReason) ProtoMessage() {} + +func (x *EventReason) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EventReason proto.InternalMessageInfo +// Deprecated: Use EventReason.ProtoReflect.Descriptor instead. +func (*EventReason) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{7} +} -func (m *EventReason) GetReason() string { - if m != nil { - return m.Reason +func (x *EventReason) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *EventReason) GetOccurredAt() *timestamp.Timestamp { - if m != nil { - return m.OccurredAt +func (x *EventReason) GetOccurredAt() *timestamppb.Timestamp { + if x != nil { + return x.OccurredAt } return nil } // Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. type TaskExecutionEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ID of the task. In combination with the retryAttempt this will indicate // the task execution uniquely for a given parent node execution. TaskId *core.Identifier `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` @@ -828,25 +908,29 @@ type TaskExecutionEvent struct { Logs []*core.TaskLog `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` // This timestamp represents when the original event occurred, it is generated // by the executor of the task. - OccurredAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` - // Types that are valid to be assigned to InputValue: + OccurredAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` + // Types that are assignable to InputValue: + // // *TaskExecutionEvent_InputUri // *TaskExecutionEvent_InputData InputValue isTaskExecutionEvent_InputValue `protobuf_oneof:"input_value"` - // Types that are valid to be assigned to OutputResult: + // Types that are assignable to OutputResult: + // // *TaskExecutionEvent_OutputUri // *TaskExecutionEvent_Error // *TaskExecutionEvent_OutputData OutputResult isTaskExecutionEvent_OutputResult `protobuf_oneof:"output_result"` // Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. - CustomInfo *_struct.Struct `protobuf:"bytes,11,opt,name=custom_info,json=customInfo,proto3" json:"custom_info,omitempty"` + CustomInfo *structpb.Struct `protobuf:"bytes,11,opt,name=custom_info,json=customInfo,proto3" json:"custom_info,omitempty"` // Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) // that should be recorded regardless of the lack of phase change. // The version field should be incremented when metadata changes across the duration of an individual phase. PhaseVersion uint32 `protobuf:"varint,12,opt,name=phase_version,json=phaseVersion,proto3" json:"phase_version,omitempty"` // An optional explanation for the phase transition. // Deprecated: Use reasons instead. - Reason string `protobuf:"bytes,13,opt,name=reason,proto3" json:"reason,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/event/event.proto. + Reason string `protobuf:"bytes,13,opt,name=reason,proto3" json:"reason,omitempty"` // An optional list of explanations for the phase transition. Reasons []*EventReason `protobuf:"bytes,21,rep,name=reasons,proto3" json:"reasons,omitempty"` // A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin @@ -864,102 +948,90 @@ type TaskExecutionEvent struct { // pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, // but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps // facilitates a more accurate portrayal of the evaluation time-series. - ReportedAt *timestamp.Timestamp `protobuf:"bytes,20,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ReportedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"` } -func (m *TaskExecutionEvent) Reset() { *m = TaskExecutionEvent{} } -func (m *TaskExecutionEvent) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionEvent) ProtoMessage() {} -func (*TaskExecutionEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{8} +func (x *TaskExecutionEvent) Reset() { + *x = TaskExecutionEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionEvent.Unmarshal(m, b) -} -func (m *TaskExecutionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionEvent.Marshal(b, m, deterministic) -} -func (m *TaskExecutionEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionEvent.Merge(m, src) -} -func (m *TaskExecutionEvent) XXX_Size() int { - return xxx_messageInfo_TaskExecutionEvent.Size(m) +func (x *TaskExecutionEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionEvent) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionEvent.DiscardUnknown(m) + +func (*TaskExecutionEvent) ProtoMessage() {} + +func (x *TaskExecutionEvent) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionEvent proto.InternalMessageInfo +// Deprecated: Use TaskExecutionEvent.ProtoReflect.Descriptor instead. +func (*TaskExecutionEvent) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{8} +} -func (m *TaskExecutionEvent) GetTaskId() *core.Identifier { - if m != nil { - return m.TaskId +func (x *TaskExecutionEvent) GetTaskId() *core.Identifier { + if x != nil { + return x.TaskId } return nil } -func (m *TaskExecutionEvent) GetParentNodeExecutionId() *core.NodeExecutionIdentifier { - if m != nil { - return m.ParentNodeExecutionId +func (x *TaskExecutionEvent) GetParentNodeExecutionId() *core.NodeExecutionIdentifier { + if x != nil { + return x.ParentNodeExecutionId } return nil } -func (m *TaskExecutionEvent) GetRetryAttempt() uint32 { - if m != nil { - return m.RetryAttempt +func (x *TaskExecutionEvent) GetRetryAttempt() uint32 { + if x != nil { + return x.RetryAttempt } return 0 } -func (m *TaskExecutionEvent) GetPhase() core.TaskExecution_Phase { - if m != nil { - return m.Phase +func (x *TaskExecutionEvent) GetPhase() core.TaskExecution_Phase { + if x != nil { + return x.Phase } - return core.TaskExecution_UNDEFINED + return core.TaskExecution_Phase(0) } -func (m *TaskExecutionEvent) GetProducerId() string { - if m != nil { - return m.ProducerId +func (x *TaskExecutionEvent) GetProducerId() string { + if x != nil { + return x.ProducerId } return "" } -func (m *TaskExecutionEvent) GetLogs() []*core.TaskLog { - if m != nil { - return m.Logs +func (x *TaskExecutionEvent) GetLogs() []*core.TaskLog { + if x != nil { + return x.Logs } return nil } -func (m *TaskExecutionEvent) GetOccurredAt() *timestamp.Timestamp { - if m != nil { - return m.OccurredAt +func (x *TaskExecutionEvent) GetOccurredAt() *timestamppb.Timestamp { + if x != nil { + return x.OccurredAt } return nil } -type isTaskExecutionEvent_InputValue interface { - isTaskExecutionEvent_InputValue() -} - -type TaskExecutionEvent_InputUri struct { - InputUri string `protobuf:"bytes,8,opt,name=input_uri,json=inputUri,proto3,oneof"` -} - -type TaskExecutionEvent_InputData struct { - InputData *core.LiteralMap `protobuf:"bytes,19,opt,name=input_data,json=inputData,proto3,oneof"` -} - -func (*TaskExecutionEvent_InputUri) isTaskExecutionEvent_InputValue() {} - -func (*TaskExecutionEvent_InputData) isTaskExecutionEvent_InputValue() {} - func (m *TaskExecutionEvent) GetInputValue() isTaskExecutionEvent_InputValue { if m != nil { return m.InputValue @@ -967,42 +1039,20 @@ func (m *TaskExecutionEvent) GetInputValue() isTaskExecutionEvent_InputValue { return nil } -func (m *TaskExecutionEvent) GetInputUri() string { - if x, ok := m.GetInputValue().(*TaskExecutionEvent_InputUri); ok { +func (x *TaskExecutionEvent) GetInputUri() string { + if x, ok := x.GetInputValue().(*TaskExecutionEvent_InputUri); ok { return x.InputUri } return "" } -func (m *TaskExecutionEvent) GetInputData() *core.LiteralMap { - if x, ok := m.GetInputValue().(*TaskExecutionEvent_InputData); ok { +func (x *TaskExecutionEvent) GetInputData() *core.LiteralMap { + if x, ok := x.GetInputValue().(*TaskExecutionEvent_InputData); ok { return x.InputData } return nil } -type isTaskExecutionEvent_OutputResult interface { - isTaskExecutionEvent_OutputResult() -} - -type TaskExecutionEvent_OutputUri struct { - OutputUri string `protobuf:"bytes,9,opt,name=output_uri,json=outputUri,proto3,oneof"` -} - -type TaskExecutionEvent_Error struct { - Error *core.ExecutionError `protobuf:"bytes,10,opt,name=error,proto3,oneof"` -} - -type TaskExecutionEvent_OutputData struct { - OutputData *core.LiteralMap `protobuf:"bytes,17,opt,name=output_data,json=outputData,proto3,oneof"` -} - -func (*TaskExecutionEvent_OutputUri) isTaskExecutionEvent_OutputResult() {} - -func (*TaskExecutionEvent_Error) isTaskExecutionEvent_OutputResult() {} - -func (*TaskExecutionEvent_OutputData) isTaskExecutionEvent_OutputResult() {} - func (m *TaskExecutionEvent) GetOutputResult() isTaskExecutionEvent_OutputResult { if m != nil { return m.OutputResult @@ -1010,97 +1060,135 @@ func (m *TaskExecutionEvent) GetOutputResult() isTaskExecutionEvent_OutputResult return nil } -func (m *TaskExecutionEvent) GetOutputUri() string { - if x, ok := m.GetOutputResult().(*TaskExecutionEvent_OutputUri); ok { +func (x *TaskExecutionEvent) GetOutputUri() string { + if x, ok := x.GetOutputResult().(*TaskExecutionEvent_OutputUri); ok { return x.OutputUri } return "" } -func (m *TaskExecutionEvent) GetError() *core.ExecutionError { - if x, ok := m.GetOutputResult().(*TaskExecutionEvent_Error); ok { +func (x *TaskExecutionEvent) GetError() *core.ExecutionError { + if x, ok := x.GetOutputResult().(*TaskExecutionEvent_Error); ok { return x.Error } return nil } -func (m *TaskExecutionEvent) GetOutputData() *core.LiteralMap { - if x, ok := m.GetOutputResult().(*TaskExecutionEvent_OutputData); ok { +func (x *TaskExecutionEvent) GetOutputData() *core.LiteralMap { + if x, ok := x.GetOutputResult().(*TaskExecutionEvent_OutputData); ok { return x.OutputData } return nil } -func (m *TaskExecutionEvent) GetCustomInfo() *_struct.Struct { - if m != nil { - return m.CustomInfo +func (x *TaskExecutionEvent) GetCustomInfo() *structpb.Struct { + if x != nil { + return x.CustomInfo } return nil } -func (m *TaskExecutionEvent) GetPhaseVersion() uint32 { - if m != nil { - return m.PhaseVersion +func (x *TaskExecutionEvent) GetPhaseVersion() uint32 { + if x != nil { + return x.PhaseVersion } return 0 } -// Deprecated: Do not use. -func (m *TaskExecutionEvent) GetReason() string { - if m != nil { - return m.Reason +// Deprecated: Marked as deprecated in flyteidl/event/event.proto. +func (x *TaskExecutionEvent) GetReason() string { + if x != nil { + return x.Reason } return "" } -func (m *TaskExecutionEvent) GetReasons() []*EventReason { - if m != nil { - return m.Reasons +func (x *TaskExecutionEvent) GetReasons() []*EventReason { + if x != nil { + return x.Reasons } return nil } -func (m *TaskExecutionEvent) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *TaskExecutionEvent) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *TaskExecutionEvent) GetMetadata() *TaskExecutionMetadata { - if m != nil { - return m.Metadata +func (x *TaskExecutionEvent) GetMetadata() *TaskExecutionMetadata { + if x != nil { + return x.Metadata } return nil } -func (m *TaskExecutionEvent) GetEventVersion() int32 { - if m != nil { - return m.EventVersion +func (x *TaskExecutionEvent) GetEventVersion() int32 { + if x != nil { + return x.EventVersion } return 0 } -func (m *TaskExecutionEvent) GetReportedAt() *timestamp.Timestamp { - if m != nil { - return m.ReportedAt +func (x *TaskExecutionEvent) GetReportedAt() *timestamppb.Timestamp { + if x != nil { + return x.ReportedAt } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TaskExecutionEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TaskExecutionEvent_InputUri)(nil), - (*TaskExecutionEvent_InputData)(nil), - (*TaskExecutionEvent_OutputUri)(nil), - (*TaskExecutionEvent_Error)(nil), - (*TaskExecutionEvent_OutputData)(nil), - } +type isTaskExecutionEvent_InputValue interface { + isTaskExecutionEvent_InputValue() +} + +type TaskExecutionEvent_InputUri struct { + // URI of the input file, it encodes all the information + // including Cloud source provider. ie., s3://... + InputUri string `protobuf:"bytes,8,opt,name=input_uri,json=inputUri,proto3,oneof"` } +type TaskExecutionEvent_InputData struct { + // Raw input data consumed by this task execution. + InputData *core.LiteralMap `protobuf:"bytes,19,opt,name=input_data,json=inputData,proto3,oneof"` +} + +func (*TaskExecutionEvent_InputUri) isTaskExecutionEvent_InputValue() {} + +func (*TaskExecutionEvent_InputData) isTaskExecutionEvent_InputValue() {} + +type isTaskExecutionEvent_OutputResult interface { + isTaskExecutionEvent_OutputResult() +} + +type TaskExecutionEvent_OutputUri struct { + // URI to the output of the execution, it will be in a format that encodes all the information + // including Cloud source provider. ie., s3://... + OutputUri string `protobuf:"bytes,9,opt,name=output_uri,json=outputUri,proto3,oneof"` +} + +type TaskExecutionEvent_Error struct { + // Error information for the execution + Error *core.ExecutionError `protobuf:"bytes,10,opt,name=error,proto3,oneof"` +} + +type TaskExecutionEvent_OutputData struct { + // Raw output data produced by this task execution. + OutputData *core.LiteralMap `protobuf:"bytes,17,opt,name=output_data,json=outputData,proto3,oneof"` +} + +func (*TaskExecutionEvent_OutputUri) isTaskExecutionEvent_OutputResult() {} + +func (*TaskExecutionEvent_Error) isTaskExecutionEvent_OutputResult() {} + +func (*TaskExecutionEvent_OutputData) isTaskExecutionEvent_OutputResult() {} + // This message contains metadata about external resources produced or used by a specific task execution. type ExternalResourceInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // A unique index for the external resource with respect to all external resources for this task. Although the @@ -1114,75 +1202,79 @@ type ExternalResourceInfo struct { // Captures the status of caching for this external resource execution. CacheStatus core.CatalogCacheStatus `protobuf:"varint,5,opt,name=cache_status,json=cacheStatus,proto3,enum=flyteidl.core.CatalogCacheStatus" json:"cache_status,omitempty"` // log information for the external resource execution - Logs []*core.TaskLog `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Logs []*core.TaskLog `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` } -func (m *ExternalResourceInfo) Reset() { *m = ExternalResourceInfo{} } -func (m *ExternalResourceInfo) String() string { return proto.CompactTextString(m) } -func (*ExternalResourceInfo) ProtoMessage() {} -func (*ExternalResourceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{9} +func (x *ExternalResourceInfo) Reset() { + *x = ExternalResourceInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExternalResourceInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalResourceInfo.Unmarshal(m, b) -} -func (m *ExternalResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalResourceInfo.Marshal(b, m, deterministic) -} -func (m *ExternalResourceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalResourceInfo.Merge(m, src) +func (x *ExternalResourceInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExternalResourceInfo) XXX_Size() int { - return xxx_messageInfo_ExternalResourceInfo.Size(m) -} -func (m *ExternalResourceInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalResourceInfo.DiscardUnknown(m) + +func (*ExternalResourceInfo) ProtoMessage() {} + +func (x *ExternalResourceInfo) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExternalResourceInfo proto.InternalMessageInfo +// Deprecated: Use ExternalResourceInfo.ProtoReflect.Descriptor instead. +func (*ExternalResourceInfo) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{9} +} -func (m *ExternalResourceInfo) GetExternalId() string { - if m != nil { - return m.ExternalId +func (x *ExternalResourceInfo) GetExternalId() string { + if x != nil { + return x.ExternalId } return "" } -func (m *ExternalResourceInfo) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *ExternalResourceInfo) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } -func (m *ExternalResourceInfo) GetRetryAttempt() uint32 { - if m != nil { - return m.RetryAttempt +func (x *ExternalResourceInfo) GetRetryAttempt() uint32 { + if x != nil { + return x.RetryAttempt } return 0 } -func (m *ExternalResourceInfo) GetPhase() core.TaskExecution_Phase { - if m != nil { - return m.Phase +func (x *ExternalResourceInfo) GetPhase() core.TaskExecution_Phase { + if x != nil { + return x.Phase } - return core.TaskExecution_UNDEFINED + return core.TaskExecution_Phase(0) } -func (m *ExternalResourceInfo) GetCacheStatus() core.CatalogCacheStatus { - if m != nil { - return m.CacheStatus +func (x *ExternalResourceInfo) GetCacheStatus() core.CatalogCacheStatus { + if x != nil { + return x.CacheStatus } - return core.CatalogCacheStatus_CACHE_DISABLED + return core.CatalogCacheStatus(0) } -func (m *ExternalResourceInfo) GetLogs() []*core.TaskLog { - if m != nil { - return m.Logs +func (x *ExternalResourceInfo) GetLogs() []*core.TaskLog { + if x != nil { + return x.Logs } return nil } @@ -1190,50 +1282,58 @@ func (m *ExternalResourceInfo) GetLogs() []*core.TaskLog { // This message holds task execution metadata specific to resource allocation used to manage concurrent // executions for a project namespace. type ResourcePoolInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique resource ID used to identify this execution when allocating a token. AllocationToken string `protobuf:"bytes,1,opt,name=allocation_token,json=allocationToken,proto3" json:"allocation_token,omitempty"` // Namespace under which this task execution requested an allocation token. - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *ResourcePoolInfo) Reset() { *m = ResourcePoolInfo{} } -func (m *ResourcePoolInfo) String() string { return proto.CompactTextString(m) } -func (*ResourcePoolInfo) ProtoMessage() {} -func (*ResourcePoolInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{10} +func (x *ResourcePoolInfo) Reset() { + *x = ResourcePoolInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResourcePoolInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourcePoolInfo.Unmarshal(m, b) -} -func (m *ResourcePoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourcePoolInfo.Marshal(b, m, deterministic) -} -func (m *ResourcePoolInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourcePoolInfo.Merge(m, src) -} -func (m *ResourcePoolInfo) XXX_Size() int { - return xxx_messageInfo_ResourcePoolInfo.Size(m) +func (x *ResourcePoolInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResourcePoolInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ResourcePoolInfo.DiscardUnknown(m) + +func (*ResourcePoolInfo) ProtoMessage() {} + +func (x *ResourcePoolInfo) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResourcePoolInfo proto.InternalMessageInfo +// Deprecated: Use ResourcePoolInfo.ProtoReflect.Descriptor instead. +func (*ResourcePoolInfo) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{10} +} -func (m *ResourcePoolInfo) GetAllocationToken() string { - if m != nil { - return m.AllocationToken +func (x *ResourcePoolInfo) GetAllocationToken() string { + if x != nil { + return x.AllocationToken } return "" } -func (m *ResourcePoolInfo) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ResourcePoolInfo) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } @@ -1243,6 +1343,10 @@ func (m *ResourcePoolInfo) GetNamespace() string { // and more may grow in size but not change necessarily based on the phase transition that sparked the event update. // Metadata is a container for these attributes across the task execution lifecycle. type TaskExecutionMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Unique, generated name for this task execution used by the backend. GeneratedName string `protobuf:"bytes,1,opt,name=generated_name,json=generatedName,proto3" json:"generated_name,omitempty"` // Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. @@ -1251,189 +1355,671 @@ type TaskExecutionMetadata struct { // This is a repeated field because a plugin can request multiple resource allocations during execution. ResourcePoolInfo []*ResourcePoolInfo `protobuf:"bytes,3,rep,name=resource_pool_info,json=resourcePoolInfo,proto3" json:"resource_pool_info,omitempty"` // The identifier of the plugin used to execute this task. - PluginIdentifier string `protobuf:"bytes,4,opt,name=plugin_identifier,json=pluginIdentifier,proto3" json:"plugin_identifier,omitempty"` - InstanceClass TaskExecutionMetadata_InstanceClass `protobuf:"varint,16,opt,name=instance_class,json=instanceClass,proto3,enum=flyteidl.event.TaskExecutionMetadata_InstanceClass" json:"instance_class,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PluginIdentifier string `protobuf:"bytes,4,opt,name=plugin_identifier,json=pluginIdentifier,proto3" json:"plugin_identifier,omitempty"` + InstanceClass TaskExecutionMetadata_InstanceClass `protobuf:"varint,16,opt,name=instance_class,json=instanceClass,proto3,enum=flyteidl.event.TaskExecutionMetadata_InstanceClass" json:"instance_class,omitempty"` } -func (m *TaskExecutionMetadata) Reset() { *m = TaskExecutionMetadata{} } -func (m *TaskExecutionMetadata) String() string { return proto.CompactTextString(m) } -func (*TaskExecutionMetadata) ProtoMessage() {} -func (*TaskExecutionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4b035d24120b1b12, []int{11} +func (x *TaskExecutionMetadata) Reset() { + *x = TaskExecutionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_event_event_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskExecutionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskExecutionMetadata.Unmarshal(m, b) -} -func (m *TaskExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskExecutionMetadata.Marshal(b, m, deterministic) +func (x *TaskExecutionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskExecutionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskExecutionMetadata.Merge(m, src) -} -func (m *TaskExecutionMetadata) XXX_Size() int { - return xxx_messageInfo_TaskExecutionMetadata.Size(m) -} -func (m *TaskExecutionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TaskExecutionMetadata.DiscardUnknown(m) + +func (*TaskExecutionMetadata) ProtoMessage() {} + +func (x *TaskExecutionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_event_event_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskExecutionMetadata proto.InternalMessageInfo +// Deprecated: Use TaskExecutionMetadata.ProtoReflect.Descriptor instead. +func (*TaskExecutionMetadata) Descriptor() ([]byte, []int) { + return file_flyteidl_event_event_proto_rawDescGZIP(), []int{11} +} -func (m *TaskExecutionMetadata) GetGeneratedName() string { - if m != nil { - return m.GeneratedName +func (x *TaskExecutionMetadata) GetGeneratedName() string { + if x != nil { + return x.GeneratedName } return "" } -func (m *TaskExecutionMetadata) GetExternalResources() []*ExternalResourceInfo { - if m != nil { - return m.ExternalResources +func (x *TaskExecutionMetadata) GetExternalResources() []*ExternalResourceInfo { + if x != nil { + return x.ExternalResources } return nil } -func (m *TaskExecutionMetadata) GetResourcePoolInfo() []*ResourcePoolInfo { - if m != nil { - return m.ResourcePoolInfo +func (x *TaskExecutionMetadata) GetResourcePoolInfo() []*ResourcePoolInfo { + if x != nil { + return x.ResourcePoolInfo } return nil } -func (m *TaskExecutionMetadata) GetPluginIdentifier() string { - if m != nil { - return m.PluginIdentifier +func (x *TaskExecutionMetadata) GetPluginIdentifier() string { + if x != nil { + return x.PluginIdentifier } return "" } -func (m *TaskExecutionMetadata) GetInstanceClass() TaskExecutionMetadata_InstanceClass { - if m != nil { - return m.InstanceClass +func (x *TaskExecutionMetadata) GetInstanceClass() TaskExecutionMetadata_InstanceClass { + if x != nil { + return x.InstanceClass } return TaskExecutionMetadata_DEFAULT } -func init() { - proto.RegisterEnum("flyteidl.event.TaskExecutionMetadata_InstanceClass", TaskExecutionMetadata_InstanceClass_name, TaskExecutionMetadata_InstanceClass_value) - proto.RegisterType((*WorkflowExecutionEvent)(nil), "flyteidl.event.WorkflowExecutionEvent") - proto.RegisterType((*NodeExecutionEvent)(nil), "flyteidl.event.NodeExecutionEvent") - proto.RegisterType((*WorkflowNodeMetadata)(nil), "flyteidl.event.WorkflowNodeMetadata") - proto.RegisterType((*TaskNodeMetadata)(nil), "flyteidl.event.TaskNodeMetadata") - proto.RegisterType((*DynamicWorkflowNodeMetadata)(nil), "flyteidl.event.DynamicWorkflowNodeMetadata") - proto.RegisterType((*ParentTaskExecutionMetadata)(nil), "flyteidl.event.ParentTaskExecutionMetadata") - proto.RegisterType((*ParentNodeExecutionMetadata)(nil), "flyteidl.event.ParentNodeExecutionMetadata") - proto.RegisterType((*EventReason)(nil), "flyteidl.event.EventReason") - proto.RegisterType((*TaskExecutionEvent)(nil), "flyteidl.event.TaskExecutionEvent") - proto.RegisterType((*ExternalResourceInfo)(nil), "flyteidl.event.ExternalResourceInfo") - proto.RegisterType((*ResourcePoolInfo)(nil), "flyteidl.event.ResourcePoolInfo") - proto.RegisterType((*TaskExecutionMetadata)(nil), "flyteidl.event.TaskExecutionMetadata") -} - -func init() { proto.RegisterFile("flyteidl/event/event.proto", fileDescriptor_4b035d24120b1b12) } - -var fileDescriptor_4b035d24120b1b12 = []byte{ - // 1553 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xfb, 0x6e, 0xdb, 0xb6, - 0x1a, 0x8f, 0x9d, 0x8b, 0xed, 0x4f, 0xb1, 0x63, 0xb3, 0x4e, 0xaa, 0x26, 0x4d, 0xe3, 0xe3, 0x73, - 0x7a, 0x90, 0xb6, 0x98, 0x0d, 0xb8, 0x68, 0x51, 0xac, 0x1d, 0x86, 0xdc, 0xb6, 0x78, 0x4b, 0x83, - 0x40, 0x49, 0x5a, 0xa0, 0xdb, 0x20, 0x30, 0x12, 0xe3, 0x68, 0x91, 0x45, 0x81, 0xa2, 0xd2, 0xfa, - 0x49, 0xf6, 0xd7, 0xf6, 0x00, 0x7d, 0x98, 0xbd, 0xcb, 0xde, 0x60, 0x20, 0x29, 0xc9, 0x91, 0xac, - 0xe5, 0xd2, 0x76, 0xff, 0x04, 0xe6, 0x77, 0xf9, 0xf1, 0xe3, 0x77, 0x57, 0x60, 0xf9, 0xd4, 0x1d, - 0x71, 0xe2, 0xd8, 0x6e, 0x97, 0x5c, 0x10, 0x8f, 0xab, 0xbf, 0x1d, 0x9f, 0x51, 0x4e, 0x51, 0x2d, - 0xe6, 0x75, 0x24, 0x75, 0xf9, 0x7e, 0x22, 0x6b, 0x51, 0x46, 0xba, 0xae, 0xc3, 0x09, 0xc3, 0x6e, - 0xa0, 0xa4, 0xb3, 0x5c, 0x8b, 0x0e, 0x7d, 0xc7, 0x25, 0x2c, 0xe2, 0xae, 0xa6, 0xb9, 0xe4, 0x03, - 0xb1, 0x42, 0xee, 0x50, 0x2f, 0x62, 0x3f, 0x48, 0xb3, 0x1d, 0x9b, 0x78, 0xdc, 0x39, 0x75, 0x12, - 0xf5, 0x95, 0x0c, 0x38, 0xe6, 0xd8, 0xa5, 0x83, 0x88, 0xb9, 0x36, 0xa0, 0x74, 0xe0, 0x92, 0xae, - 0x3c, 0x9d, 0x84, 0xa7, 0x5d, 0xee, 0x0c, 0x49, 0xc0, 0xf1, 0xd0, 0x8f, 0x4d, 0xcb, 0x0a, 0x04, - 0x9c, 0x85, 0x56, 0xf4, 0xcc, 0xf6, 0xc7, 0x69, 0x58, 0x7a, 0x4b, 0xd9, 0xf9, 0xa9, 0x4b, 0xdf, - 0xef, 0xc4, 0x76, 0xed, 0x88, 0x17, 0xa3, 0xd7, 0x30, 0x9f, 0x58, 0x6a, 0x3a, 0xb6, 0x5e, 0x68, - 0x15, 0xd6, 0xb5, 0xde, 0xe3, 0x4e, 0xe2, 0x18, 0x61, 0x4d, 0x67, 0x42, 0xb9, 0x9f, 0x98, 0x6f, - 0x68, 0x64, 0x4c, 0x44, 0x6b, 0xa0, 0xf9, 0x8c, 0xda, 0xa1, 0x45, 0x98, 0x40, 0x2b, 0xb6, 0x0a, - 0xeb, 0x15, 0x03, 0x62, 0x52, 0xdf, 0x46, 0xaf, 0x60, 0xd6, 0x3f, 0xc3, 0x01, 0xd1, 0xa7, 0x5b, - 0x85, 0xf5, 0x5a, 0xef, 0xff, 0xd7, 0x5d, 0xd4, 0x39, 0x10, 0xd2, 0x86, 0x52, 0x42, 0x2f, 0x41, - 0xa3, 0x96, 0x15, 0x32, 0x46, 0x6c, 0x13, 0x73, 0x7d, 0x46, 0x1a, 0xbb, 0xdc, 0x51, 0x8f, 0xef, - 0xc4, 0x8f, 0xef, 0x1c, 0xc5, 0xde, 0x31, 0x20, 0x16, 0xdf, 0xe0, 0x68, 0x0d, 0x80, 0x86, 0xdc, - 0x0f, 0xb9, 0x19, 0x32, 0x47, 0x9f, 0x15, 0xa6, 0xed, 0x4e, 0x19, 0x15, 0x45, 0x3b, 0x66, 0x0e, - 0x7a, 0x06, 0xb3, 0x84, 0x31, 0xca, 0xf4, 0x39, 0x89, 0xbb, 0x9a, 0xb1, 0x6d, 0xec, 0x39, 0x21, - 0xb4, 0x3b, 0x65, 0x28, 0x69, 0xf4, 0x0a, 0xb4, 0x08, 0xd7, 0xc6, 0x1c, 0xeb, 0x25, 0xa9, 0x7c, - 0x2f, 0xa3, 0xbc, 0xa7, 0x52, 0xe9, 0x35, 0xf6, 0x77, 0xa7, 0x8c, 0xc8, 0x8e, 0x6d, 0xcc, 0xf1, - 0xe6, 0x02, 0x54, 0x23, 0x6d, 0x46, 0x82, 0xd0, 0xe5, 0xed, 0x8f, 0x15, 0x40, 0xfb, 0xd4, 0x26, - 0x99, 0x40, 0x3d, 0x87, 0x62, 0x12, 0x9e, 0xac, 0xd7, 0x52, 0xe2, 0x97, 0x42, 0x53, 0x74, 0x6e, - 0x10, 0x91, 0x17, 0xe9, 0x88, 0xb4, 0xaf, 0xc2, 0xfe, 0x82, 0xd1, 0x58, 0x85, 0x8a, 0xe3, 0x65, - 0x83, 0x51, 0x96, 0x24, 0x11, 0x8b, 0xaf, 0x01, 0x14, 0x5b, 0xfa, 0xb4, 0x79, 0xbd, 0x4f, 0x15, - 0x9a, 0x70, 0x69, 0x26, 0xd0, 0x73, 0x12, 0xbb, 0x90, 0x1b, 0xe8, 0xd2, 0x4d, 0x02, 0x5d, 0xf8, - 0x87, 0x40, 0x2f, 0x5c, 0x67, 0x54, 0xe1, 0x72, 0xa0, 0xd1, 0xcf, 0xb0, 0xf4, 0x3e, 0xca, 0x6e, - 0xd3, 0xa3, 0x36, 0x31, 0x87, 0x84, 0x63, 0x09, 0x54, 0x96, 0x40, 0xff, 0xeb, 0xa4, 0x9b, 0x51, - 0x52, 0x0b, 0x22, 0x02, 0xaf, 0x23, 0xd9, 0xdd, 0xa2, 0xd1, 0x7c, 0x9f, 0x43, 0x47, 0x07, 0x80, - 0x38, 0x0e, 0xce, 0x33, 0xc8, 0x35, 0x89, 0xdc, 0xca, 0x22, 0x1f, 0xe1, 0xe0, 0x3c, 0x83, 0x5a, - 0xe7, 0x19, 0x1a, 0xfa, 0x05, 0x9a, 0x3e, 0x66, 0xc4, 0xe3, 0xa6, 0x04, 0x4e, 0x30, 0x2b, 0x12, - 0xf3, 0x49, 0x16, 0xf3, 0x40, 0xca, 0x0a, 0xe4, 0xc4, 0x7d, 0x31, 0x94, 0x81, 0xfc, 0x84, 0x99, - 0x03, 0x9f, 0x36, 0x19, 0xae, 0x82, 0x4f, 0x25, 0x63, 0x16, 0x3e, 0x65, 0xfd, 0x1a, 0x68, 0x8c, - 0x70, 0x36, 0x32, 0x07, 0x8c, 0x86, 0xbe, 0xae, 0xa9, 0xb4, 0x97, 0xa4, 0xef, 0x05, 0x05, 0xb5, - 0x60, 0x3e, 0xf0, 0x89, 0xa5, 0x6e, 0x77, 0x6c, 0x7d, 0x5e, 0x49, 0x08, 0x9a, 0x00, 0xea, 0xdb, - 0x68, 0x05, 0x2a, 0x92, 0xe9, 0xe1, 0x21, 0xd1, 0xab, 0x92, 0x5d, 0x16, 0x84, 0x7d, 0x3c, 0x24, - 0xe8, 0xbf, 0x50, 0x95, 0x86, 0x99, 0x17, 0x84, 0x05, 0x0e, 0xf5, 0xf4, 0x7a, 0xab, 0xb0, 0x3e, - 0x6b, 0xcc, 0x4b, 0xe2, 0x1b, 0x45, 0x13, 0x08, 0x4e, 0x60, 0x2a, 0xeb, 0xf4, 0x46, 0xab, 0xb0, - 0x5e, 0x36, 0xca, 0x4e, 0xa0, 0x9e, 0x82, 0x56, 0x01, 0x9c, 0xc0, 0xb4, 0x47, 0x1e, 0x1e, 0x3a, - 0x96, 0x8e, 0x24, 0xb7, 0xe2, 0x04, 0xdb, 0x8a, 0x80, 0xee, 0x41, 0xd9, 0x26, 0xd6, 0xb9, 0x4c, - 0xe1, 0x3b, 0xf2, 0xf2, 0x92, 0x38, 0x8b, 0xf4, 0x7d, 0x29, 0xde, 0xe6, 0x53, 0xc6, 0x55, 0xdd, - 0x2d, 0x5e, 0x5f, 0x77, 0xb1, 0xf8, 0x06, 0x17, 0xb8, 0x4e, 0x60, 0x62, 0xc6, 0xf0, 0x48, 0x5f, - 0x92, 0x97, 0x96, 0x9c, 0x60, 0x43, 0x1c, 0x37, 0xab, 0xa0, 0xa9, 0x9a, 0xbb, 0xc0, 0x6e, 0x48, - 0x26, 0x3a, 0xd3, 0x66, 0x03, 0x16, 0x38, 0x66, 0x03, 0xc2, 0x93, 0x68, 0xb5, 0x09, 0x34, 0xf3, - 0xd2, 0xf4, 0x0b, 0x8f, 0x95, 0xf6, 0x5f, 0x45, 0xa8, 0x67, 0x93, 0x16, 0x6d, 0xc3, 0xbc, 0x85, - 0xad, 0x33, 0x62, 0x06, 0x1c, 0xf3, 0x30, 0x90, 0x77, 0xd4, 0x7a, 0xff, 0xc9, 0xdc, 0xb1, 0xa5, - 0x06, 0xe9, 0x96, 0x90, 0x3c, 0x94, 0x82, 0x86, 0x66, 0x8d, 0x0f, 0xe8, 0x5b, 0xd0, 0xa2, 0x59, - 0x6b, 0x9e, 0x93, 0x91, 0xec, 0x8f, 0x5a, 0xef, 0x41, 0x3e, 0x48, 0x92, 0x71, 0x10, 0xa9, 0xfc, - 0x48, 0x46, 0xe8, 0x2d, 0x20, 0x46, 0x02, 0xc2, 0x2e, 0xb0, 0x7c, 0x6c, 0x64, 0x8c, 0x6a, 0xa6, - 0xeb, 0xf9, 0x38, 0xc6, 0x58, 0xbe, 0x13, 0xd9, 0xd4, 0xb8, 0x84, 0x11, 0x59, 0xf6, 0x10, 0x6a, - 0xd6, 0x19, 0xb1, 0xce, 0x7d, 0xea, 0x78, 0xaa, 0x95, 0xcd, 0xc8, 0x3c, 0xa8, 0x8e, 0xa9, 0x22, - 0x1b, 0xde, 0x40, 0x3d, 0x4a, 0x22, 0x33, 0xee, 0x0c, 0x32, 0x19, 0x73, 0x8a, 0x28, 0xca, 0xad, - 0xbc, 0x88, 0x19, 0x0b, 0x76, 0x9a, 0xd9, 0xfe, 0xb3, 0x00, 0x2b, 0x57, 0x28, 0xa0, 0x47, 0x97, - 0x06, 0x52, 0xb6, 0x09, 0x66, 0x66, 0xd0, 0x21, 0x34, 0xa2, 0x65, 0xc9, 0x1e, 0xdb, 0x58, 0xcc, - 0x1d, 0x65, 0x5b, 0x91, 0x5c, 0x7c, 0xe5, 0x96, 0x4b, 0x83, 0x90, 0x11, 0xa3, 0x6e, 0x65, 0x18, - 0xa8, 0x0b, 0xcd, 0xf8, 0xdd, 0xbf, 0xd2, 0x13, 0x53, 0x16, 0xb3, 0x70, 0xd2, 0xb4, 0x74, 0x52, - 0x23, 0xe2, 0xfd, 0x40, 0x4f, 0x0e, 0x7d, 0x62, 0x1d, 0x33, 0xa7, 0x7d, 0x0c, 0x2b, 0x57, 0x34, - 0xa9, 0x2b, 0x07, 0x6c, 0x4a, 0x23, 0xfd, 0xb8, 0xf6, 0xf3, 0x18, 0x36, 0xb7, 0x39, 0xa1, 0xbb, - 0x50, 0x8a, 0x5b, 0x4c, 0x41, 0x5a, 0x36, 0xe7, 0xc9, 0xf6, 0xd2, 0x3e, 0x01, 0x4d, 0x4e, 0x76, - 0x83, 0xe0, 0x80, 0x7a, 0x68, 0x09, 0xe6, 0x98, 0xfc, 0x15, 0x8b, 0xa9, 0x53, 0x76, 0xc8, 0x16, - 0x6f, 0x33, 0x64, 0xdb, 0xbf, 0x95, 0x01, 0xa5, 0x6c, 0x57, 0xbb, 0x44, 0x0f, 0x4a, 0xb2, 0xa7, - 0xdf, 0x24, 0x7e, 0x73, 0x42, 0xb2, 0x6f, 0x23, 0x13, 0xf4, 0xcb, 0xfd, 0x3a, 0x55, 0xdd, 0xc5, - 0x5b, 0x6d, 0x25, 0x8b, 0xfe, 0xa4, 0xbb, 0xfa, 0xb6, 0xe8, 0xa8, 0xaa, 0x63, 0x63, 0xce, 0xc9, - 0xd0, 0xe7, 0x32, 0x90, 0x55, 0x63, 0x5e, 0x12, 0x37, 0x14, 0x6d, 0xbc, 0xac, 0xcc, 0xe4, 0x2e, - 0x2b, 0xa9, 0xb7, 0xa6, 0x97, 0x95, 0xcc, 0x1e, 0x34, 0x3b, 0xb1, 0x07, 0x3d, 0x86, 0x19, 0x97, - 0x0e, 0x02, 0x7d, 0xae, 0x35, 0xbd, 0xae, 0xf5, 0x96, 0x72, 0x90, 0xf7, 0xe8, 0xc0, 0x90, 0x32, - 0xd9, 0xa0, 0x94, 0x3e, 0x7d, 0xf3, 0x29, 0x5f, 0xb3, 0xf9, 0xdc, 0xf9, 0x8c, 0xcd, 0xa7, 0x72, - 0xc5, 0xe6, 0x03, 0x9f, 0xb3, 0xf9, 0x34, 0x6e, 0xb7, 0xf9, 0xbc, 0x00, 0xcd, 0x0a, 0x03, 0x4e, - 0x87, 0xa6, 0xe3, 0x9d, 0x52, 0x39, 0x8b, 0xb5, 0xde, 0xdd, 0x09, 0x6f, 0x1d, 0xca, 0x4f, 0x16, - 0x03, 0x94, 0x6c, 0xdf, 0x3b, 0xa5, 0x22, 0x27, 0x64, 0xf4, 0x92, 0x29, 0x3b, 0xaf, 0x72, 0x42, - 0x12, 0xe3, 0x29, 0xbb, 0x9c, 0x54, 0x8e, 0x1c, 0xd2, 0x9b, 0x45, 0xbd, 0x90, 0x54, 0xcf, 0x33, - 0x28, 0xa9, 0x5f, 0x81, 0xbe, 0x28, 0xe3, 0xba, 0x92, 0xed, 0x89, 0x97, 0x6a, 0xd0, 0x88, 0x65, - 0xc5, 0xe0, 0x96, 0x05, 0xc2, 0x47, 0x3e, 0x91, 0x4b, 0x54, 0xc5, 0x28, 0x0b, 0xc2, 0xd1, 0xc8, - 0x27, 0x68, 0x03, 0xca, 0xc9, 0xb6, 0xa2, 0x1a, 0xed, 0xc3, 0xbc, 0x05, 0x6b, 0x72, 0x4f, 0x49, - 0xd4, 0x26, 0xb7, 0x07, 0x94, 0xb3, 0x3d, 0x64, 0xc6, 0x7c, 0xf3, 0x36, 0x63, 0xfe, 0xba, 0x59, - 0xde, 0xfe, 0xa3, 0x08, 0xcd, 0x9d, 0x0f, 0x9c, 0x30, 0x0f, 0xbb, 0x06, 0x09, 0x68, 0xc8, 0x2c, - 0x22, 0x5d, 0xbe, 0x06, 0x1a, 0x89, 0xe8, 0xe3, 0x9e, 0x05, 0x31, 0xa9, 0x6f, 0xa3, 0x26, 0xcc, - 0x3a, 0x9e, 0x4d, 0x3e, 0xc8, 0xaa, 0xaf, 0x1a, 0xea, 0xf0, 0x6f, 0x57, 0x6f, 0x76, 0xd6, 0xcf, - 0x7e, 0xd2, 0xac, 0xbf, 0x45, 0x89, 0xb7, 0x7f, 0x82, 0x7a, 0xec, 0x97, 0x03, 0x4a, 0x5d, 0xe9, - 0x9b, 0x47, 0x50, 0xc7, 0xae, 0x4b, 0x2d, 0x35, 0xe9, 0x39, 0x3d, 0x27, 0x71, 0xb7, 0x5e, 0x18, - 0xd3, 0x8f, 0x04, 0x19, 0xdd, 0x87, 0x8a, 0xd8, 0x1b, 0x03, 0x1f, 0x5b, 0x24, 0xfa, 0xe8, 0x1a, - 0x13, 0xda, 0xbf, 0x4f, 0xc3, 0x62, 0xfe, 0x14, 0x7a, 0x08, 0xb5, 0x01, 0xf1, 0x08, 0xc3, 0x22, - 0xea, 0x72, 0xf3, 0x54, 0x17, 0x54, 0x13, 0xaa, 0x5c, 0x3f, 0x0f, 0x01, 0x25, 0x51, 0x62, 0x91, - 0x99, 0x81, 0x5e, 0x94, 0xef, 0x9a, 0xf8, 0x90, 0xc8, 0x8b, 0xb3, 0xd1, 0x20, 0x19, 0x6a, 0x80, - 0xf6, 0xe5, 0x26, 0x23, 0x0f, 0xa6, 0x4f, 0xa9, 0xab, 0xca, 0x75, 0x5a, 0x82, 0x4e, 0x7c, 0x43, - 0x64, 0x9d, 0x63, 0xd4, 0x59, 0xd6, 0x5d, 0x4f, 0xa0, 0xe1, 0xbb, 0xe1, 0xc0, 0x11, 0x33, 0x22, - 0xee, 0xfe, 0xd1, 0x0e, 0x53, 0x57, 0x8c, 0xf1, 0x54, 0x40, 0xef, 0xa0, 0xe6, 0x78, 0x01, 0xc7, - 0x9e, 0x45, 0x4c, 0xcb, 0xc5, 0x41, 0x20, 0x6b, 0xab, 0xd6, 0x7b, 0x7a, 0xa3, 0xda, 0xea, 0xf4, - 0x23, 0xdd, 0x2d, 0xa1, 0x6a, 0x54, 0x9d, 0xcb, 0xc7, 0x76, 0x17, 0xaa, 0x29, 0x3e, 0xd2, 0xa0, - 0xb4, 0xbd, 0xf3, 0xdd, 0xc6, 0xf1, 0xde, 0x51, 0x7d, 0x0a, 0x35, 0xa0, 0xda, 0xdf, 0x3f, 0xda, - 0x31, 0x8c, 0xe3, 0x83, 0xa3, 0xfe, 0xe6, 0xde, 0x4e, 0xbd, 0xb0, 0xf9, 0xcd, 0xbb, 0x97, 0x03, - 0x87, 0x9f, 0x85, 0x27, 0x1d, 0x8b, 0x0e, 0xbb, 0xd2, 0x00, 0xca, 0x06, 0xea, 0x47, 0x37, 0xf9, - 0x47, 0xcd, 0x80, 0x78, 0x5d, 0xff, 0xe4, 0xab, 0x01, 0xed, 0xa6, 0xff, 0xc5, 0x74, 0x32, 0x27, - 0x8b, 0xf3, 0xe9, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x7d, 0x76, 0xa2, 0x7b, 0x12, 0x00, - 0x00, +var File_flyteidl_event_event_proto protoreflect.FileDescriptor + +var file_flyteidl_event_event_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x1c, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, + 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, + 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x03, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x4d, + 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3c, + 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0b, + 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6f, + 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0a, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x09, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x3c, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, + 0x70, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42, + 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0xaa, 0x09, 0x0a, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x38, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x68, + 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x6f, 0x63, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6f, 0x63, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x12, 0x3a, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x48, 0x01, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3c, 0x0a, 0x0b, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x48, 0x01, 0x52, 0x0a, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x5c, 0x0a, 0x16, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x02, + 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x12, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x48, 0x02, 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, + 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x52, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, + 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x52, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x74, + 0x72, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, + 0x70, 0x65, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, + 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, + 0x73, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x69, 0x73, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, + 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, + 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x6b, 0x5f, + 0x75, 0x72, 0x69, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x63, 0x6b, 0x55, + 0x72, 0x69, 0x12, 0x3b, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x18, 0x16, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x72, 0x72, 0x61, 0x79, 0x42, 0x0d, 0x0a, 0x0b, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x65, 0x0a, + 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4d, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf1, 0x02, 0x0a, 0x10, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, + 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x3f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4b, 0x65, 0x79, + 0x12, 0x57, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x72, 0x69, + 0x12, 0x56, 0x0a, 0x10, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0xce, 0x01, 0x0a, 0x1b, 0x44, 0x79, 0x6e, + 0x61, 0x6d, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x53, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x5f, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, + 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, + 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x2f, 0x0a, 0x14, 0x64, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x75, 0x72, 0x69, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4a, + 0x6f, 0x62, 0x53, 0x70, 0x65, 0x63, 0x55, 0x72, 0x69, 0x22, 0x55, 0x0a, 0x1b, 0x50, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x36, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x36, 0x0a, 0x1b, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x3b, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, 0x74, 0x22, 0x97, 0x08, 0x0a, + 0x12, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x5f, 0x0a, 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x74, 0x72, + 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x38, 0x0a, + 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, + 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, + 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x52, 0x04, + 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, + 0x12, 0x3a, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x13, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x48, + 0x00, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0a, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x01, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x12, 0x35, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x01, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3c, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x4d, 0x61, 0x70, 0x48, 0x01, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, + 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x68, 0x61, 0x73, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1a, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x35, 0x0a, + 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x07, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x10, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x9e, 0x02, 0x0a, 0x14, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, + 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, + 0x65, 0x74, 0x72, 0x79, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x38, 0x0a, 0x05, 0x70, + 0x68, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, + 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, + 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x04, 0x6c, + 0x6f, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, + 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x5b, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x10, 0x61, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x22, 0x9d, 0x03, 0x0a, 0x15, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, + 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x12, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x5a, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x33, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x22, 0x2f, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, + 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x55, 0x50, 0x54, 0x49, 0x42, + 0x4c, 0x45, 0x10, 0x01, 0x42, 0xb6, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x0a, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0xa2, 0x02, 0x03, 0x46, 0x45, 0x58, 0xaa, 0x02, 0x0e, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0xca, 0x02, 0x0e, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0xe2, 0x02, + 0x1a, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_event_event_proto_rawDescOnce sync.Once + file_flyteidl_event_event_proto_rawDescData = file_flyteidl_event_event_proto_rawDesc +) + +func file_flyteidl_event_event_proto_rawDescGZIP() []byte { + file_flyteidl_event_event_proto_rawDescOnce.Do(func() { + file_flyteidl_event_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_event_event_proto_rawDescData) + }) + return file_flyteidl_event_event_proto_rawDescData +} + +var file_flyteidl_event_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_event_event_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_flyteidl_event_event_proto_goTypes = []interface{}{ + (TaskExecutionMetadata_InstanceClass)(0), // 0: flyteidl.event.TaskExecutionMetadata.InstanceClass + (*WorkflowExecutionEvent)(nil), // 1: flyteidl.event.WorkflowExecutionEvent + (*NodeExecutionEvent)(nil), // 2: flyteidl.event.NodeExecutionEvent + (*WorkflowNodeMetadata)(nil), // 3: flyteidl.event.WorkflowNodeMetadata + (*TaskNodeMetadata)(nil), // 4: flyteidl.event.TaskNodeMetadata + (*DynamicWorkflowNodeMetadata)(nil), // 5: flyteidl.event.DynamicWorkflowNodeMetadata + (*ParentTaskExecutionMetadata)(nil), // 6: flyteidl.event.ParentTaskExecutionMetadata + (*ParentNodeExecutionMetadata)(nil), // 7: flyteidl.event.ParentNodeExecutionMetadata + (*EventReason)(nil), // 8: flyteidl.event.EventReason + (*TaskExecutionEvent)(nil), // 9: flyteidl.event.TaskExecutionEvent + (*ExternalResourceInfo)(nil), // 10: flyteidl.event.ExternalResourceInfo + (*ResourcePoolInfo)(nil), // 11: flyteidl.event.ResourcePoolInfo + (*TaskExecutionMetadata)(nil), // 12: flyteidl.event.TaskExecutionMetadata + (*core.WorkflowExecutionIdentifier)(nil), // 13: flyteidl.core.WorkflowExecutionIdentifier + (core.WorkflowExecution_Phase)(0), // 14: flyteidl.core.WorkflowExecution.Phase + (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (*core.ExecutionError)(nil), // 16: flyteidl.core.ExecutionError + (*core.LiteralMap)(nil), // 17: flyteidl.core.LiteralMap + (*core.NodeExecutionIdentifier)(nil), // 18: flyteidl.core.NodeExecutionIdentifier + (core.NodeExecution_Phase)(0), // 19: flyteidl.core.NodeExecution.Phase + (core.CatalogCacheStatus)(0), // 20: flyteidl.core.CatalogCacheStatus + (*core.CatalogMetadata)(nil), // 21: flyteidl.core.CatalogMetadata + (core.CatalogReservation_Status)(0), // 22: flyteidl.core.CatalogReservation.Status + (*core.Identifier)(nil), // 23: flyteidl.core.Identifier + (*core.CompiledWorkflowClosure)(nil), // 24: flyteidl.core.CompiledWorkflowClosure + (*core.TaskExecutionIdentifier)(nil), // 25: flyteidl.core.TaskExecutionIdentifier + (core.TaskExecution_Phase)(0), // 26: flyteidl.core.TaskExecution.Phase + (*core.TaskLog)(nil), // 27: flyteidl.core.TaskLog + (*structpb.Struct)(nil), // 28: google.protobuf.Struct +} +var file_flyteidl_event_event_proto_depIdxs = []int32{ + 13, // 0: flyteidl.event.WorkflowExecutionEvent.execution_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 14, // 1: flyteidl.event.WorkflowExecutionEvent.phase:type_name -> flyteidl.core.WorkflowExecution.Phase + 15, // 2: flyteidl.event.WorkflowExecutionEvent.occurred_at:type_name -> google.protobuf.Timestamp + 16, // 3: flyteidl.event.WorkflowExecutionEvent.error:type_name -> flyteidl.core.ExecutionError + 17, // 4: flyteidl.event.WorkflowExecutionEvent.output_data:type_name -> flyteidl.core.LiteralMap + 18, // 5: flyteidl.event.NodeExecutionEvent.id:type_name -> flyteidl.core.NodeExecutionIdentifier + 19, // 6: flyteidl.event.NodeExecutionEvent.phase:type_name -> flyteidl.core.NodeExecution.Phase + 15, // 7: flyteidl.event.NodeExecutionEvent.occurred_at:type_name -> google.protobuf.Timestamp + 17, // 8: flyteidl.event.NodeExecutionEvent.input_data:type_name -> flyteidl.core.LiteralMap + 16, // 9: flyteidl.event.NodeExecutionEvent.error:type_name -> flyteidl.core.ExecutionError + 17, // 10: flyteidl.event.NodeExecutionEvent.output_data:type_name -> flyteidl.core.LiteralMap + 3, // 11: flyteidl.event.NodeExecutionEvent.workflow_node_metadata:type_name -> flyteidl.event.WorkflowNodeMetadata + 4, // 12: flyteidl.event.NodeExecutionEvent.task_node_metadata:type_name -> flyteidl.event.TaskNodeMetadata + 6, // 13: flyteidl.event.NodeExecutionEvent.parent_task_metadata:type_name -> flyteidl.event.ParentTaskExecutionMetadata + 7, // 14: flyteidl.event.NodeExecutionEvent.parent_node_metadata:type_name -> flyteidl.event.ParentNodeExecutionMetadata + 15, // 15: flyteidl.event.NodeExecutionEvent.reported_at:type_name -> google.protobuf.Timestamp + 13, // 16: flyteidl.event.WorkflowNodeMetadata.execution_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 20, // 17: flyteidl.event.TaskNodeMetadata.cache_status:type_name -> flyteidl.core.CatalogCacheStatus + 21, // 18: flyteidl.event.TaskNodeMetadata.catalog_key:type_name -> flyteidl.core.CatalogMetadata + 22, // 19: flyteidl.event.TaskNodeMetadata.reservation_status:type_name -> flyteidl.core.CatalogReservation.Status + 5, // 20: flyteidl.event.TaskNodeMetadata.dynamic_workflow:type_name -> flyteidl.event.DynamicWorkflowNodeMetadata + 23, // 21: flyteidl.event.DynamicWorkflowNodeMetadata.id:type_name -> flyteidl.core.Identifier + 24, // 22: flyteidl.event.DynamicWorkflowNodeMetadata.compiled_workflow:type_name -> flyteidl.core.CompiledWorkflowClosure + 25, // 23: flyteidl.event.ParentTaskExecutionMetadata.id:type_name -> flyteidl.core.TaskExecutionIdentifier + 15, // 24: flyteidl.event.EventReason.occurred_at:type_name -> google.protobuf.Timestamp + 23, // 25: flyteidl.event.TaskExecutionEvent.task_id:type_name -> flyteidl.core.Identifier + 18, // 26: flyteidl.event.TaskExecutionEvent.parent_node_execution_id:type_name -> flyteidl.core.NodeExecutionIdentifier + 26, // 27: flyteidl.event.TaskExecutionEvent.phase:type_name -> flyteidl.core.TaskExecution.Phase + 27, // 28: flyteidl.event.TaskExecutionEvent.logs:type_name -> flyteidl.core.TaskLog + 15, // 29: flyteidl.event.TaskExecutionEvent.occurred_at:type_name -> google.protobuf.Timestamp + 17, // 30: flyteidl.event.TaskExecutionEvent.input_data:type_name -> flyteidl.core.LiteralMap + 16, // 31: flyteidl.event.TaskExecutionEvent.error:type_name -> flyteidl.core.ExecutionError + 17, // 32: flyteidl.event.TaskExecutionEvent.output_data:type_name -> flyteidl.core.LiteralMap + 28, // 33: flyteidl.event.TaskExecutionEvent.custom_info:type_name -> google.protobuf.Struct + 8, // 34: flyteidl.event.TaskExecutionEvent.reasons:type_name -> flyteidl.event.EventReason + 12, // 35: flyteidl.event.TaskExecutionEvent.metadata:type_name -> flyteidl.event.TaskExecutionMetadata + 15, // 36: flyteidl.event.TaskExecutionEvent.reported_at:type_name -> google.protobuf.Timestamp + 26, // 37: flyteidl.event.ExternalResourceInfo.phase:type_name -> flyteidl.core.TaskExecution.Phase + 20, // 38: flyteidl.event.ExternalResourceInfo.cache_status:type_name -> flyteidl.core.CatalogCacheStatus + 27, // 39: flyteidl.event.ExternalResourceInfo.logs:type_name -> flyteidl.core.TaskLog + 10, // 40: flyteidl.event.TaskExecutionMetadata.external_resources:type_name -> flyteidl.event.ExternalResourceInfo + 11, // 41: flyteidl.event.TaskExecutionMetadata.resource_pool_info:type_name -> flyteidl.event.ResourcePoolInfo + 0, // 42: flyteidl.event.TaskExecutionMetadata.instance_class:type_name -> flyteidl.event.TaskExecutionMetadata.InstanceClass + 43, // [43:43] is the sub-list for method output_type + 43, // [43:43] is the sub-list for method input_type + 43, // [43:43] is the sub-list for extension type_name + 43, // [43:43] is the sub-list for extension extendee + 0, // [0:43] is the sub-list for field type_name +} + +func init() { file_flyteidl_event_event_proto_init() } +func file_flyteidl_event_event_proto_init() { + if File_flyteidl_event_event_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_event_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowExecutionEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeExecutionEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkflowNodeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskNodeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DynamicWorkflowNodeMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParentTaskExecutionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParentNodeExecutionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventReason); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalResourceInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourcePoolInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_event_event_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskExecutionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_event_event_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*WorkflowExecutionEvent_OutputUri)(nil), + (*WorkflowExecutionEvent_Error)(nil), + (*WorkflowExecutionEvent_OutputData)(nil), + } + file_flyteidl_event_event_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*NodeExecutionEvent_InputUri)(nil), + (*NodeExecutionEvent_InputData)(nil), + (*NodeExecutionEvent_OutputUri)(nil), + (*NodeExecutionEvent_Error)(nil), + (*NodeExecutionEvent_OutputData)(nil), + (*NodeExecutionEvent_WorkflowNodeMetadata)(nil), + (*NodeExecutionEvent_TaskNodeMetadata)(nil), + } + file_flyteidl_event_event_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*TaskExecutionEvent_InputUri)(nil), + (*TaskExecutionEvent_InputData)(nil), + (*TaskExecutionEvent_OutputUri)(nil), + (*TaskExecutionEvent_Error)(nil), + (*TaskExecutionEvent_OutputData)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_event_event_proto_rawDesc, + NumEnums: 1, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_event_event_proto_goTypes, + DependencyIndexes: file_flyteidl_event_event_proto_depIdxs, + EnumInfos: file_flyteidl_event_event_proto_enumTypes, + MessageInfos: file_flyteidl_event_event_proto_msgTypes, + }.Build() + File_flyteidl_event_event_proto = out.File + file_flyteidl_event_event_proto_rawDesc = nil + file_flyteidl_event_event_proto_goTypes = nil + file_flyteidl_event_event_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/event/event.swagger.json b/flyteidl/gen/pb-go/flyteidl/event/event.swagger.json deleted file mode 100644 index 0f9d66da37..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/event/event.swagger.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/event/event.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": {} -} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go index 5ad3bfdce9..7280d51546 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.go @@ -1,28 +1,32 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/array_job.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Describes a job that can process independent pieces of data concurrently. Multiple copies of the runnable component // will be executed concurrently. type ArrayJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Defines the maximum number of instances to bring up concurrently at any given point. Note that this is an // optimistic restriction and that, due to network partitioning or other failures, the actual number of currently // running instances might be more. This has to be a positive number if assigned. Default value is size. @@ -31,50 +35,76 @@ type ArrayJob struct { // requires processing of all input data. This has to be a positive number. // In the case this is not defined, the back-end will determine the size at run-time by reading the inputs. Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - // Types that are valid to be assigned to SuccessCriteria: + // Types that are assignable to SuccessCriteria: + // // *ArrayJob_MinSuccesses // *ArrayJob_MinSuccessRatio - SuccessCriteria isArrayJob_SuccessCriteria `protobuf_oneof:"success_criteria"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SuccessCriteria isArrayJob_SuccessCriteria `protobuf_oneof:"success_criteria"` } -func (m *ArrayJob) Reset() { *m = ArrayJob{} } -func (m *ArrayJob) String() string { return proto.CompactTextString(m) } -func (*ArrayJob) ProtoMessage() {} -func (*ArrayJob) Descriptor() ([]byte, []int) { - return fileDescriptor_794211c91ec6cd2b, []int{0} +func (x *ArrayJob) Reset() { + *x = ArrayJob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_array_job_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ArrayJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArrayJob.Unmarshal(m, b) -} -func (m *ArrayJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArrayJob.Marshal(b, m, deterministic) +func (x *ArrayJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ArrayJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArrayJob.Merge(m, src) + +func (*ArrayJob) ProtoMessage() {} + +func (x *ArrayJob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_array_job_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *ArrayJob) XXX_Size() int { - return xxx_messageInfo_ArrayJob.Size(m) + +// Deprecated: Use ArrayJob.ProtoReflect.Descriptor instead. +func (*ArrayJob) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_array_job_proto_rawDescGZIP(), []int{0} } -func (m *ArrayJob) XXX_DiscardUnknown() { - xxx_messageInfo_ArrayJob.DiscardUnknown(m) + +func (x *ArrayJob) GetParallelism() int64 { + if x != nil { + return x.Parallelism + } + return 0 } -var xxx_messageInfo_ArrayJob proto.InternalMessageInfo +func (x *ArrayJob) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} -func (m *ArrayJob) GetParallelism() int64 { +func (m *ArrayJob) GetSuccessCriteria() isArrayJob_SuccessCriteria { if m != nil { - return m.Parallelism + return m.SuccessCriteria + } + return nil +} + +func (x *ArrayJob) GetMinSuccesses() int64 { + if x, ok := x.GetSuccessCriteria().(*ArrayJob_MinSuccesses); ok { + return x.MinSuccesses } return 0 } -func (m *ArrayJob) GetSize() int64 { - if m != nil { - return m.Size +func (x *ArrayJob) GetMinSuccessRatio() float32 { + if x, ok := x.GetSuccessCriteria().(*ArrayJob_MinSuccessRatio); ok { + return x.MinSuccessRatio } return 0 } @@ -84,10 +114,15 @@ type isArrayJob_SuccessCriteria interface { } type ArrayJob_MinSuccesses struct { + // An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met, + // the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if + // assigned. Default value is size (if specified). MinSuccesses int64 `protobuf:"varint,3,opt,name=min_successes,json=minSuccesses,proto3,oneof"` } type ArrayJob_MinSuccessRatio struct { + // If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array + // job can be marked successful. MinSuccessRatio float32 `protobuf:"fixed32,4,opt,name=min_success_ratio,json=minSuccessRatio,proto3,oneof"` } @@ -95,55 +130,101 @@ func (*ArrayJob_MinSuccesses) isArrayJob_SuccessCriteria() {} func (*ArrayJob_MinSuccessRatio) isArrayJob_SuccessCriteria() {} -func (m *ArrayJob) GetSuccessCriteria() isArrayJob_SuccessCriteria { - if m != nil { - return m.SuccessCriteria - } - return nil -} +var File_flyteidl_plugins_array_job_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_array_job_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, + 0x67, 0x69, 0x6e, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x08, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4a, 0x6f, + 0x62, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, + 0x69, 0x73, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, + 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2c, + 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x69, 0x6e, + 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x42, 0x12, 0x0a, 0x10, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, + 0x42, 0xc5, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x42, 0x0d, 0x41, 0x72, 0x72, 0x61, 0x79, + 0x4a, 0x6f, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x58, 0xaa, + 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, + 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_array_job_proto_rawDescOnce sync.Once + file_flyteidl_plugins_array_job_proto_rawDescData = file_flyteidl_plugins_array_job_proto_rawDesc +) -func (m *ArrayJob) GetMinSuccesses() int64 { - if x, ok := m.GetSuccessCriteria().(*ArrayJob_MinSuccesses); ok { - return x.MinSuccesses - } - return 0 +func file_flyteidl_plugins_array_job_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_array_job_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_array_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_array_job_proto_rawDescData) + }) + return file_flyteidl_plugins_array_job_proto_rawDescData } -func (m *ArrayJob) GetMinSuccessRatio() float32 { - if x, ok := m.GetSuccessCriteria().(*ArrayJob_MinSuccessRatio); ok { - return x.MinSuccessRatio - } - return 0 +var file_flyteidl_plugins_array_job_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_plugins_array_job_proto_goTypes = []interface{}{ + (*ArrayJob)(nil), // 0: flyteidl.plugins.ArrayJob +} +var file_flyteidl_plugins_array_job_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ArrayJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ +func init() { file_flyteidl_plugins_array_job_proto_init() } +func file_flyteidl_plugins_array_job_proto_init() { + if File_flyteidl_plugins_array_job_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_array_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArrayJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_flyteidl_plugins_array_job_proto_msgTypes[0].OneofWrappers = []interface{}{ (*ArrayJob_MinSuccesses)(nil), (*ArrayJob_MinSuccessRatio)(nil), } -} - -func init() { - proto.RegisterType((*ArrayJob)(nil), "flyteidl.plugins.ArrayJob") -} - -func init() { proto.RegisterFile("flyteidl/plugins/array_job.proto", fileDescriptor_794211c91ec6cd2b) } - -var fileDescriptor_794211c91ec6cd2b = []byte{ - // 224 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x31, 0x4f, 0xc3, 0x30, - 0x14, 0x84, 0x9b, 0xb6, 0x42, 0xc8, 0x80, 0x28, 0x9e, 0x32, 0x46, 0x48, 0x48, 0x1d, 0x20, 0x1e, - 0x98, 0x11, 0xa2, 0x53, 0xc5, 0x18, 0x36, 0x96, 0xc8, 0x36, 0xc6, 0x3c, 0x64, 0xfb, 0x59, 0xcf, - 0xce, 0x50, 0xfe, 0x11, 0xff, 0x12, 0xc5, 0x10, 0x88, 0xd8, 0x4e, 0xf7, 0x7d, 0xcb, 0x1d, 0x6b, - 0x5e, 0xdd, 0x21, 0x1b, 0x78, 0x71, 0x22, 0xba, 0xc1, 0x42, 0x48, 0x42, 0x12, 0xc9, 0x43, 0xff, - 0x8e, 0xaa, 0x8d, 0x84, 0x19, 0xf9, 0x66, 0x32, 0xda, 0x1f, 0xe3, 0xf2, 0xb3, 0x62, 0xc7, 0x0f, - 0xa3, 0xf5, 0x88, 0x8a, 0x37, 0xec, 0x24, 0x4a, 0x92, 0xce, 0x19, 0x07, 0xc9, 0xd7, 0x55, 0x53, - 0x6d, 0x57, 0xdd, 0xbc, 0xe2, 0x9c, 0xad, 0x13, 0x7c, 0x98, 0x7a, 0x59, 0x50, 0xc9, 0xfc, 0x8a, - 0x9d, 0x79, 0x08, 0x7d, 0x1a, 0xb4, 0x36, 0x29, 0x99, 0x54, 0xaf, 0x46, 0xb8, 0x5f, 0x74, 0xa7, - 0x1e, 0xc2, 0xd3, 0xd4, 0xf2, 0x6b, 0x76, 0x31, 0xd3, 0x7a, 0x92, 0x19, 0xb0, 0x5e, 0x37, 0xd5, - 0x76, 0xb9, 0x5f, 0x74, 0xe7, 0x7f, 0x6a, 0x37, 0x82, 0x1d, 0x67, 0x9b, 0xc9, 0xd4, 0x04, 0xd9, - 0x10, 0xc8, 0xdd, 0xfd, 0xf3, 0x9d, 0x85, 0xfc, 0x36, 0xa8, 0x56, 0xa3, 0x17, 0x65, 0x0a, 0x92, - 0xfd, 0x0e, 0xe2, 0x77, 0xbb, 0x35, 0x41, 0x44, 0x75, 0x63, 0x51, 0xfc, 0xbf, 0x43, 0x1d, 0x95, - 0x17, 0x6e, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x21, 0xff, 0x98, 0x29, 0x01, 0x00, 0x00, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_array_job_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_array_job_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_array_job_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_array_job_proto_msgTypes, + }.Build() + File_flyteidl_plugins_array_job_proto = out.File + file_flyteidl_plugins_array_job_proto_rawDesc = nil + file_flyteidl_plugins_array_job_proto_goTypes = nil + file_flyteidl_plugins_array_job_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go index b60dbebf4c..f23ea88f64 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.go @@ -1,127 +1,147 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/dask.proto package plugins import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Custom Proto for Dask Plugin. type DaskJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Spec for the scheduler pod. Scheduler *DaskScheduler `protobuf:"bytes,1,opt,name=scheduler,proto3" json:"scheduler,omitempty"` // Spec of the default worker group. - Workers *DaskWorkerGroup `protobuf:"bytes,2,opt,name=workers,proto3" json:"workers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Workers *DaskWorkerGroup `protobuf:"bytes,2,opt,name=workers,proto3" json:"workers,omitempty"` } -func (m *DaskJob) Reset() { *m = DaskJob{} } -func (m *DaskJob) String() string { return proto.CompactTextString(m) } -func (*DaskJob) ProtoMessage() {} -func (*DaskJob) Descriptor() ([]byte, []int) { - return fileDescriptor_d719e18eb4f4b89f, []int{0} +func (x *DaskJob) Reset() { + *x = DaskJob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_dask_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DaskJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DaskJob.Unmarshal(m, b) -} -func (m *DaskJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DaskJob.Marshal(b, m, deterministic) +func (x *DaskJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DaskJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaskJob.Merge(m, src) -} -func (m *DaskJob) XXX_Size() int { - return xxx_messageInfo_DaskJob.Size(m) -} -func (m *DaskJob) XXX_DiscardUnknown() { - xxx_messageInfo_DaskJob.DiscardUnknown(m) + +func (*DaskJob) ProtoMessage() {} + +func (x *DaskJob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_dask_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DaskJob proto.InternalMessageInfo +// Deprecated: Use DaskJob.ProtoReflect.Descriptor instead. +func (*DaskJob) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_dask_proto_rawDescGZIP(), []int{0} +} -func (m *DaskJob) GetScheduler() *DaskScheduler { - if m != nil { - return m.Scheduler +func (x *DaskJob) GetScheduler() *DaskScheduler { + if x != nil { + return x.Scheduler } return nil } -func (m *DaskJob) GetWorkers() *DaskWorkerGroup { - if m != nil { - return m.Workers +func (x *DaskJob) GetWorkers() *DaskWorkerGroup { + if x != nil { + return x.Workers } return nil } // Specification for the scheduler pod. type DaskScheduler struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Optional image to use. If unset, will use the default image. Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Resources assigned to the scheduler pod. - Resources *core.Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Resources *core.Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` } -func (m *DaskScheduler) Reset() { *m = DaskScheduler{} } -func (m *DaskScheduler) String() string { return proto.CompactTextString(m) } -func (*DaskScheduler) ProtoMessage() {} -func (*DaskScheduler) Descriptor() ([]byte, []int) { - return fileDescriptor_d719e18eb4f4b89f, []int{1} +func (x *DaskScheduler) Reset() { + *x = DaskScheduler{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_dask_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DaskScheduler) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DaskScheduler.Unmarshal(m, b) -} -func (m *DaskScheduler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DaskScheduler.Marshal(b, m, deterministic) -} -func (m *DaskScheduler) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaskScheduler.Merge(m, src) +func (x *DaskScheduler) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DaskScheduler) XXX_Size() int { - return xxx_messageInfo_DaskScheduler.Size(m) -} -func (m *DaskScheduler) XXX_DiscardUnknown() { - xxx_messageInfo_DaskScheduler.DiscardUnknown(m) + +func (*DaskScheduler) ProtoMessage() {} + +func (x *DaskScheduler) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_dask_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DaskScheduler proto.InternalMessageInfo +// Deprecated: Use DaskScheduler.ProtoReflect.Descriptor instead. +func (*DaskScheduler) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_dask_proto_rawDescGZIP(), []int{1} +} -func (m *DaskScheduler) GetImage() string { - if m != nil { - return m.Image +func (x *DaskScheduler) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *DaskScheduler) GetResources() *core.Resources { - if m != nil { - return m.Resources +func (x *DaskScheduler) GetResources() *core.Resources { + if x != nil { + return x.Resources } return nil } type DaskWorkerGroup struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Number of workers in the group. NumberOfWorkers uint32 `protobuf:"varint,1,opt,name=number_of_workers,json=numberOfWorkers,proto3" json:"number_of_workers,omitempty"` // Optional image to use for the pods of the worker group. If unset, will use the default image. @@ -131,84 +151,198 @@ type DaskWorkerGroup struct { // it is advised to only set limits. If requests are not explicitly set, the plugin will make // sure to set requests==limits. // The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit. - Resources *core.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Resources *core.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` } -func (m *DaskWorkerGroup) Reset() { *m = DaskWorkerGroup{} } -func (m *DaskWorkerGroup) String() string { return proto.CompactTextString(m) } -func (*DaskWorkerGroup) ProtoMessage() {} -func (*DaskWorkerGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_d719e18eb4f4b89f, []int{2} +func (x *DaskWorkerGroup) Reset() { + *x = DaskWorkerGroup{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_dask_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DaskWorkerGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DaskWorkerGroup.Unmarshal(m, b) -} -func (m *DaskWorkerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DaskWorkerGroup.Marshal(b, m, deterministic) -} -func (m *DaskWorkerGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaskWorkerGroup.Merge(m, src) -} -func (m *DaskWorkerGroup) XXX_Size() int { - return xxx_messageInfo_DaskWorkerGroup.Size(m) +func (x *DaskWorkerGroup) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DaskWorkerGroup) XXX_DiscardUnknown() { - xxx_messageInfo_DaskWorkerGroup.DiscardUnknown(m) + +func (*DaskWorkerGroup) ProtoMessage() {} + +func (x *DaskWorkerGroup) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_dask_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DaskWorkerGroup proto.InternalMessageInfo +// Deprecated: Use DaskWorkerGroup.ProtoReflect.Descriptor instead. +func (*DaskWorkerGroup) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_dask_proto_rawDescGZIP(), []int{2} +} -func (m *DaskWorkerGroup) GetNumberOfWorkers() uint32 { - if m != nil { - return m.NumberOfWorkers +func (x *DaskWorkerGroup) GetNumberOfWorkers() uint32 { + if x != nil { + return x.NumberOfWorkers } return 0 } -func (m *DaskWorkerGroup) GetImage() string { - if m != nil { - return m.Image +func (x *DaskWorkerGroup) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *DaskWorkerGroup) GetResources() *core.Resources { - if m != nil { - return m.Resources +func (x *DaskWorkerGroup) GetResources() *core.Resources { + if x != nil { + return x.Resources } return nil } -func init() { - proto.RegisterType((*DaskJob)(nil), "flyteidl.plugins.DaskJob") - proto.RegisterType((*DaskScheduler)(nil), "flyteidl.plugins.DaskScheduler") - proto.RegisterType((*DaskWorkerGroup)(nil), "flyteidl.plugins.DaskWorkerGroup") -} - -func init() { proto.RegisterFile("flyteidl/plugins/dask.proto", fileDescriptor_d719e18eb4f4b89f) } - -var fileDescriptor_d719e18eb4f4b89f = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xc4, 0x30, - 0x14, 0xc4, 0xe9, 0x8a, 0x2e, 0x8d, 0x2c, 0xab, 0xc1, 0x43, 0xd5, 0x83, 0xda, 0x93, 0x08, 0x26, - 0xa0, 0xe0, 0x45, 0x16, 0x41, 0x04, 0xc1, 0x8b, 0x10, 0x0f, 0x82, 0x20, 0x4b, 0xff, 0xa4, 0xd9, - 0xd2, 0x3f, 0xaf, 0xbc, 0x34, 0x88, 0x1f, 0xc0, 0x93, 0x5f, 0x5a, 0xda, 0x98, 0x2d, 0x16, 0x05, - 0x6f, 0x2d, 0xf3, 0x9b, 0x37, 0x13, 0x86, 0x1c, 0x66, 0xe5, 0x7b, 0x2b, 0xf3, 0xb4, 0xe4, 0x4d, - 0x69, 0x54, 0x5e, 0x6b, 0x9e, 0x46, 0xba, 0x60, 0x0d, 0x42, 0x0b, 0x74, 0xc7, 0x89, 0xec, 0x5b, - 0x3c, 0xd8, 0x5f, 0xe3, 0x09, 0xa0, 0xe4, 0x6d, 0xa4, 0x0b, 0x6d, 0xe1, 0xf0, 0xc3, 0x23, 0xd3, - 0xbb, 0x48, 0x17, 0x0f, 0x10, 0xd3, 0x05, 0xf1, 0x75, 0xb2, 0x92, 0xa9, 0x29, 0x25, 0x06, 0xde, - 0xb1, 0x77, 0xba, 0x7d, 0x71, 0xc4, 0xc6, 0xc7, 0x58, 0x47, 0x3f, 0x39, 0x4c, 0x0c, 0x0e, 0x7a, - 0x4d, 0xa6, 0x6f, 0x80, 0x85, 0x44, 0x1d, 0x4c, 0x7a, 0xf3, 0xc9, 0xef, 0xe6, 0xe7, 0x1e, 0xba, - 0x47, 0x30, 0x8d, 0x70, 0x8e, 0xf0, 0x95, 0xcc, 0x7e, 0x1c, 0xa6, 0x7b, 0x64, 0x33, 0xaf, 0x22, - 0x25, 0xfb, 0x22, 0xbe, 0xb0, 0x3f, 0xf4, 0x8a, 0xf8, 0x28, 0x35, 0x18, 0x4c, 0xa4, 0x4b, 0x09, - 0x86, 0x94, 0xee, 0x75, 0x4c, 0x38, 0x5d, 0x0c, 0x68, 0xf8, 0xe9, 0x91, 0xf9, 0x28, 0x9b, 0x9e, - 0x91, 0xdd, 0xda, 0x54, 0xb1, 0xc4, 0x25, 0x64, 0x4b, 0xd7, 0xbc, 0x4b, 0x9b, 0x89, 0xb9, 0x15, - 0x1e, 0x33, 0xcb, 0xeb, 0xa1, 0xcd, 0xe4, 0xcf, 0x36, 0x1b, 0xff, 0x6e, 0x73, 0x7b, 0xf3, 0xb2, - 0x50, 0x79, 0xbb, 0x32, 0x31, 0x4b, 0xa0, 0xe2, 0xbd, 0x01, 0x50, 0xd9, 0x0f, 0xbe, 0xde, 0x4a, - 0xc9, 0x9a, 0x37, 0xf1, 0xb9, 0x02, 0x3e, 0x5e, 0x3b, 0xde, 0xea, 0xc7, 0xbb, 0xfc, 0x0a, 0x00, - 0x00, 0xff, 0xff, 0x6f, 0x43, 0xcc, 0x98, 0x08, 0x02, 0x00, 0x00, +var File_flyteidl_plugins_dask_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_dask_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x1a, + 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x07, 0x44, + 0x61, 0x73, 0x6b, 0x4a, 0x6f, 0x62, 0x12, 0x3d, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x44, 0x61, 0x73, + 0x6b, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x44, 0x61, 0x73, 0x6b, 0x57, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x73, 0x22, 0x5d, 0x0a, 0x0d, 0x44, 0x61, 0x73, 0x6b, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x0f, 0x44, 0x61, 0x73, 0x6b, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, + 0x6f, 0x66, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, + 0xc1, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x42, 0x09, 0x44, 0x61, 0x73, 0x6b, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, + 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, + 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xca, 0x02, 0x10, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_dask_proto_rawDescOnce sync.Once + file_flyteidl_plugins_dask_proto_rawDescData = file_flyteidl_plugins_dask_proto_rawDesc +) + +func file_flyteidl_plugins_dask_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_dask_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_dask_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_dask_proto_rawDescData) + }) + return file_flyteidl_plugins_dask_proto_rawDescData +} + +var file_flyteidl_plugins_dask_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flyteidl_plugins_dask_proto_goTypes = []interface{}{ + (*DaskJob)(nil), // 0: flyteidl.plugins.DaskJob + (*DaskScheduler)(nil), // 1: flyteidl.plugins.DaskScheduler + (*DaskWorkerGroup)(nil), // 2: flyteidl.plugins.DaskWorkerGroup + (*core.Resources)(nil), // 3: flyteidl.core.Resources +} +var file_flyteidl_plugins_dask_proto_depIdxs = []int32{ + 1, // 0: flyteidl.plugins.DaskJob.scheduler:type_name -> flyteidl.plugins.DaskScheduler + 2, // 1: flyteidl.plugins.DaskJob.workers:type_name -> flyteidl.plugins.DaskWorkerGroup + 3, // 2: flyteidl.plugins.DaskScheduler.resources:type_name -> flyteidl.core.Resources + 3, // 3: flyteidl.plugins.DaskWorkerGroup.resources:type_name -> flyteidl.core.Resources + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_dask_proto_init() } +func file_flyteidl_plugins_dask_proto_init() { + if File_flyteidl_plugins_dask_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_dask_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaskJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_dask_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaskScheduler); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_dask_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaskWorkerGroup); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_dask_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_dask_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_dask_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_dask_proto_msgTypes, + }.Build() + File_flyteidl_plugins_dask_proto = out.File + file_flyteidl_plugins_dask_proto_rawDesc = nil + file_flyteidl_plugins_dask_proto_goTypes = nil + file_flyteidl_plugins_dask_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go index 86882fd35b..ba03051e1e 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/kubeflow/common.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type RestartPolicy int32 @@ -28,24 +28,45 @@ const ( RestartPolicy_RESTART_POLICY_ALWAYS RestartPolicy = 2 ) -var RestartPolicy_name = map[int32]string{ - 0: "RESTART_POLICY_NEVER", - 1: "RESTART_POLICY_ON_FAILURE", - 2: "RESTART_POLICY_ALWAYS", -} +// Enum value maps for RestartPolicy. +var ( + RestartPolicy_name = map[int32]string{ + 0: "RESTART_POLICY_NEVER", + 1: "RESTART_POLICY_ON_FAILURE", + 2: "RESTART_POLICY_ALWAYS", + } + RestartPolicy_value = map[string]int32{ + "RESTART_POLICY_NEVER": 0, + "RESTART_POLICY_ON_FAILURE": 1, + "RESTART_POLICY_ALWAYS": 2, + } +) -var RestartPolicy_value = map[string]int32{ - "RESTART_POLICY_NEVER": 0, - "RESTART_POLICY_ON_FAILURE": 1, - "RESTART_POLICY_ALWAYS": 2, +func (x RestartPolicy) Enum() *RestartPolicy { + p := new(RestartPolicy) + *p = x + return p } func (x RestartPolicy) String() string { - return proto.EnumName(RestartPolicy_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RestartPolicy) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_plugins_kubeflow_common_proto_enumTypes[0].Descriptor() } +func (RestartPolicy) Type() protoreflect.EnumType { + return &file_flyteidl_plugins_kubeflow_common_proto_enumTypes[0] +} + +func (x RestartPolicy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RestartPolicy.Descriptor instead. func (RestartPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f625aa9156a15090, []int{0} + return file_flyteidl_plugins_kubeflow_common_proto_rawDescGZIP(), []int{0} } type CleanPodPolicy int32 @@ -56,27 +77,52 @@ const ( CleanPodPolicy_CLEANPOD_POLICY_ALL CleanPodPolicy = 2 ) -var CleanPodPolicy_name = map[int32]string{ - 0: "CLEANPOD_POLICY_NONE", - 1: "CLEANPOD_POLICY_RUNNING", - 2: "CLEANPOD_POLICY_ALL", -} +// Enum value maps for CleanPodPolicy. +var ( + CleanPodPolicy_name = map[int32]string{ + 0: "CLEANPOD_POLICY_NONE", + 1: "CLEANPOD_POLICY_RUNNING", + 2: "CLEANPOD_POLICY_ALL", + } + CleanPodPolicy_value = map[string]int32{ + "CLEANPOD_POLICY_NONE": 0, + "CLEANPOD_POLICY_RUNNING": 1, + "CLEANPOD_POLICY_ALL": 2, + } +) -var CleanPodPolicy_value = map[string]int32{ - "CLEANPOD_POLICY_NONE": 0, - "CLEANPOD_POLICY_RUNNING": 1, - "CLEANPOD_POLICY_ALL": 2, +func (x CleanPodPolicy) Enum() *CleanPodPolicy { + p := new(CleanPodPolicy) + *p = x + return p } func (x CleanPodPolicy) String() string { - return proto.EnumName(CleanPodPolicy_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CleanPodPolicy) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_plugins_kubeflow_common_proto_enumTypes[1].Descriptor() +} + +func (CleanPodPolicy) Type() protoreflect.EnumType { + return &file_flyteidl_plugins_kubeflow_common_proto_enumTypes[1] +} + +func (x CleanPodPolicy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use CleanPodPolicy.Descriptor instead. func (CleanPodPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f625aa9156a15090, []int{1} + return file_flyteidl_plugins_kubeflow_common_proto_rawDescGZIP(), []int{1} } type RunPolicy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Defines the policy to kill pods after the job completes. Default to None. CleanPodPolicy CleanPodPolicy `protobuf:"varint,1,opt,name=clean_pod_policy,json=cleanPodPolicy,proto3,enum=flyteidl.plugins.kubeflow.CleanPodPolicy" json:"clean_pod_policy,omitempty"` // TTL to clean up jobs. Default to infinite. @@ -85,99 +131,187 @@ type RunPolicy struct { // before the system tries to terminate it; value must be positive integer. ActiveDeadlineSeconds int32 `protobuf:"varint,3,opt,name=active_deadline_seconds,json=activeDeadlineSeconds,proto3" json:"active_deadline_seconds,omitempty"` // Number of retries before marking this job failed. - BackoffLimit int32 `protobuf:"varint,4,opt,name=backoff_limit,json=backoffLimit,proto3" json:"backoff_limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BackoffLimit int32 `protobuf:"varint,4,opt,name=backoff_limit,json=backoffLimit,proto3" json:"backoff_limit,omitempty"` } -func (m *RunPolicy) Reset() { *m = RunPolicy{} } -func (m *RunPolicy) String() string { return proto.CompactTextString(m) } -func (*RunPolicy) ProtoMessage() {} -func (*RunPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_f625aa9156a15090, []int{0} +func (x *RunPolicy) Reset() { + *x = RunPolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RunPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunPolicy.Unmarshal(m, b) -} -func (m *RunPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunPolicy.Marshal(b, m, deterministic) -} -func (m *RunPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunPolicy.Merge(m, src) -} -func (m *RunPolicy) XXX_Size() int { - return xxx_messageInfo_RunPolicy.Size(m) +func (x *RunPolicy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RunPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_RunPolicy.DiscardUnknown(m) + +func (*RunPolicy) ProtoMessage() {} + +func (x *RunPolicy) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_common_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RunPolicy proto.InternalMessageInfo +// Deprecated: Use RunPolicy.ProtoReflect.Descriptor instead. +func (*RunPolicy) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_common_proto_rawDescGZIP(), []int{0} +} -func (m *RunPolicy) GetCleanPodPolicy() CleanPodPolicy { - if m != nil { - return m.CleanPodPolicy +func (x *RunPolicy) GetCleanPodPolicy() CleanPodPolicy { + if x != nil { + return x.CleanPodPolicy } return CleanPodPolicy_CLEANPOD_POLICY_NONE } -func (m *RunPolicy) GetTtlSecondsAfterFinished() int32 { - if m != nil { - return m.TtlSecondsAfterFinished +func (x *RunPolicy) GetTtlSecondsAfterFinished() int32 { + if x != nil { + return x.TtlSecondsAfterFinished } return 0 } -func (m *RunPolicy) GetActiveDeadlineSeconds() int32 { - if m != nil { - return m.ActiveDeadlineSeconds +func (x *RunPolicy) GetActiveDeadlineSeconds() int32 { + if x != nil { + return x.ActiveDeadlineSeconds } return 0 } -func (m *RunPolicy) GetBackoffLimit() int32 { - if m != nil { - return m.BackoffLimit +func (x *RunPolicy) GetBackoffLimit() int32 { + if x != nil { + return x.BackoffLimit } return 0 } -func init() { - proto.RegisterEnum("flyteidl.plugins.kubeflow.RestartPolicy", RestartPolicy_name, RestartPolicy_value) - proto.RegisterEnum("flyteidl.plugins.kubeflow.CleanPodPolicy", CleanPodPolicy_name, CleanPodPolicy_value) - proto.RegisterType((*RunPolicy)(nil), "flyteidl.plugins.kubeflow.RunPolicy") -} - -func init() { - proto.RegisterFile("flyteidl/plugins/kubeflow/common.proto", fileDescriptor_f625aa9156a15090) -} - -var fileDescriptor_f625aa9156a15090 = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdf, 0xab, 0xd3, 0x30, - 0x1c, 0xc5, 0x6f, 0xe7, 0x0f, 0x30, 0x78, 0x47, 0x89, 0x5e, 0xda, 0x29, 0xc2, 0x45, 0x41, 0xae, - 0x03, 0x5b, 0x50, 0xf0, 0x45, 0x44, 0xea, 0xd6, 0xc9, 0xa0, 0xb4, 0x25, 0xdd, 0x94, 0xf9, 0x12, - 0xdb, 0x34, 0xed, 0xc2, 0xd2, 0xa4, 0xb4, 0xa9, 0xb2, 0x7f, 0xdd, 0x27, 0xe9, 0x8f, 0x0d, 0x56, - 0xb8, 0x6f, 0xed, 0xf9, 0x9c, 0xef, 0xf9, 0x86, 0xe4, 0x80, 0xb7, 0x19, 0x3f, 0x2a, 0xca, 0x52, - 0x6e, 0x97, 0xbc, 0xc9, 0x99, 0xa8, 0xed, 0x43, 0x93, 0xd0, 0x8c, 0xcb, 0xbf, 0x36, 0x91, 0x45, - 0x21, 0x85, 0x55, 0x56, 0x52, 0x49, 0x38, 0x3b, 0xf9, 0xac, 0xc1, 0x67, 0x9d, 0x7c, 0xaf, 0xff, - 0x69, 0xe0, 0x09, 0x6a, 0x44, 0x28, 0x39, 0x23, 0x47, 0x18, 0x01, 0x9d, 0x70, 0x1a, 0x0b, 0x5c, - 0xca, 0x14, 0x97, 0x9d, 0x66, 0x6a, 0xb7, 0xda, 0xdd, 0xf4, 0xc3, 0x3b, 0xeb, 0xde, 0x0c, 0x6b, - 0xd1, 0x8e, 0x84, 0x32, 0xed, 0x43, 0xd0, 0x94, 0x5c, 0xfc, 0xc3, 0xcf, 0xe0, 0x85, 0x52, 0x1c, - 0xd7, 0x94, 0x48, 0x91, 0xd6, 0x38, 0xce, 0x14, 0xad, 0x70, 0xc6, 0x04, 0xab, 0xf7, 0x34, 0x35, - 0x27, 0xb7, 0xda, 0xdd, 0x23, 0x64, 0x28, 0xc5, 0xa3, 0xde, 0xe0, 0xb4, 0x7c, 0x35, 0x60, 0xf8, - 0x09, 0x18, 0x31, 0x51, 0xec, 0x0f, 0xc5, 0x29, 0x8d, 0x53, 0xce, 0x04, 0x3d, 0x05, 0x99, 0x0f, - 0xba, 0xc9, 0x9b, 0x1e, 0x2f, 0x07, 0x3a, 0x84, 0xc0, 0x37, 0xe0, 0x3a, 0x89, 0xc9, 0x41, 0x66, - 0x19, 0xe6, 0xac, 0x60, 0xca, 0x7c, 0xd8, 0xb9, 0x9f, 0x0e, 0xa2, 0xd7, 0x6a, 0x73, 0x02, 0xae, - 0x11, 0xad, 0x55, 0x5c, 0xa9, 0xe1, 0xa8, 0x26, 0x78, 0x8e, 0xdc, 0x68, 0xe3, 0xa0, 0x0d, 0x0e, - 0x03, 0x6f, 0xbd, 0xd8, 0x61, 0xdf, 0xfd, 0xe1, 0x22, 0xfd, 0x0a, 0xbe, 0x02, 0xb3, 0x11, 0x09, - 0x7c, 0xbc, 0x72, 0xd6, 0xde, 0x16, 0xb9, 0xba, 0x06, 0x67, 0xe0, 0x66, 0x84, 0x1d, 0xef, 0xa7, - 0xb3, 0x8b, 0xf4, 0xc9, 0xfc, 0x37, 0x98, 0x5e, 0x5e, 0x50, 0xbb, 0x65, 0xe1, 0xb9, 0x8e, 0x1f, - 0x06, 0xcb, 0xf3, 0x9a, 0xc0, 0x77, 0xf5, 0x2b, 0xf8, 0x12, 0x18, 0x63, 0x82, 0xb6, 0xbe, 0xbf, - 0xf6, 0xbf, 0xeb, 0x1a, 0x34, 0xc0, 0xb3, 0x31, 0x74, 0x3c, 0x4f, 0x9f, 0x7c, 0xfb, 0xfa, 0xeb, - 0x4b, 0xce, 0xd4, 0xbe, 0x49, 0x2c, 0x22, 0x0b, 0xbb, 0x7b, 0x27, 0x59, 0xe5, 0xfd, 0x87, 0x7d, - 0xae, 0x48, 0x4e, 0x85, 0x5d, 0x26, 0xef, 0x73, 0x69, 0x8f, 0x5b, 0x93, 0x3c, 0xee, 0x6a, 0xf2, - 0xf1, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xd4, 0xfd, 0x1c, 0x50, 0x02, 0x00, 0x00, +var File_flyteidl_plugins_kubeflow_common_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_kubeflow_common_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, + 0x6c, 0x6f, 0x77, 0x22, 0xfa, 0x01, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x12, 0x53, 0x0a, 0x10, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x64, 0x5f, 0x70, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, + 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x50, 0x6f, 0x64, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0e, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x50, 0x6f, 0x64, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x74, 0x6c, 0x5f, 0x73, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x74, 0x74, 0x6c, 0x53, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, + 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x61, 0x64, + 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x62, + 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x2a, 0x63, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x4f, 0x4c, + 0x49, 0x43, 0x59, 0x5f, 0x4e, 0x45, 0x56, 0x45, 0x52, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x52, + 0x45, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x4f, 0x4e, + 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, + 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x41, 0x4c, 0x57, + 0x41, 0x59, 0x53, 0x10, 0x02, 0x2a, 0x60, 0x0a, 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x50, 0x6f, + 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4c, 0x45, 0x41, 0x4e, + 0x50, 0x4f, 0x44, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, + 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x50, 0x4f, 0x44, 0x5f, 0x50, 0x4f, + 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x17, + 0x0a, 0x13, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x50, 0x4f, 0x44, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, + 0x59, 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x42, 0xf1, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x4b, 0xaa, 0x02, 0x19, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0xca, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x4b, 0x75, 0x62, + 0x65, 0x66, 0x6c, 0x6f, 0x77, 0xe2, 0x02, 0x25, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, + 0x77, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x3a, 0x3a, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_kubeflow_common_proto_rawDescOnce sync.Once + file_flyteidl_plugins_kubeflow_common_proto_rawDescData = file_flyteidl_plugins_kubeflow_common_proto_rawDesc +) + +func file_flyteidl_plugins_kubeflow_common_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_kubeflow_common_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_kubeflow_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_kubeflow_common_proto_rawDescData) + }) + return file_flyteidl_plugins_kubeflow_common_proto_rawDescData +} + +var file_flyteidl_plugins_kubeflow_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_flyteidl_plugins_kubeflow_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_plugins_kubeflow_common_proto_goTypes = []interface{}{ + (RestartPolicy)(0), // 0: flyteidl.plugins.kubeflow.RestartPolicy + (CleanPodPolicy)(0), // 1: flyteidl.plugins.kubeflow.CleanPodPolicy + (*RunPolicy)(nil), // 2: flyteidl.plugins.kubeflow.RunPolicy +} +var file_flyteidl_plugins_kubeflow_common_proto_depIdxs = []int32{ + 1, // 0: flyteidl.plugins.kubeflow.RunPolicy.clean_pod_policy:type_name -> flyteidl.plugins.kubeflow.CleanPodPolicy + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_kubeflow_common_proto_init() } +func file_flyteidl_plugins_kubeflow_common_proto_init() { + if File_flyteidl_plugins_kubeflow_common_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_kubeflow_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RunPolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_kubeflow_common_proto_rawDesc, + NumEnums: 2, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_kubeflow_common_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_kubeflow_common_proto_depIdxs, + EnumInfos: file_flyteidl_plugins_kubeflow_common_proto_enumTypes, + MessageInfos: file_flyteidl_plugins_kubeflow_common_proto_msgTypes, + }.Build() + File_flyteidl_plugins_kubeflow_common_proto = out.File + file_flyteidl_plugins_kubeflow_common_proto_rawDesc = nil + file_flyteidl_plugins_kubeflow_common_proto_goTypes = nil + file_flyteidl_plugins_kubeflow_common_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go index aa56485d6a..4dcea4912a 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go @@ -1,28 +1,32 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/kubeflow/mpi.proto package plugins import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator type DistributedMPITrainingTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Worker replicas spec WorkerReplicas *DistributedMPITrainingReplicaSpec `protobuf:"bytes,1,opt,name=worker_replicas,json=workerReplicas,proto3" json:"worker_replicas,omitempty"` // Master replicas spec @@ -32,67 +36,75 @@ type DistributedMPITrainingTask struct { // active. RunPolicy *RunPolicy `protobuf:"bytes,3,opt,name=run_policy,json=runPolicy,proto3" json:"run_policy,omitempty"` // Number of slots per worker - Slots int32 `protobuf:"varint,4,opt,name=slots,proto3" json:"slots,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Slots int32 `protobuf:"varint,4,opt,name=slots,proto3" json:"slots,omitempty"` } -func (m *DistributedMPITrainingTask) Reset() { *m = DistributedMPITrainingTask{} } -func (m *DistributedMPITrainingTask) String() string { return proto.CompactTextString(m) } -func (*DistributedMPITrainingTask) ProtoMessage() {} -func (*DistributedMPITrainingTask) Descriptor() ([]byte, []int) { - return fileDescriptor_298b02c608b0cddf, []int{0} +func (x *DistributedMPITrainingTask) Reset() { + *x = DistributedMPITrainingTask{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedMPITrainingTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedMPITrainingTask.Unmarshal(m, b) +func (x *DistributedMPITrainingTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedMPITrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedMPITrainingTask.Marshal(b, m, deterministic) -} -func (m *DistributedMPITrainingTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedMPITrainingTask.Merge(m, src) -} -func (m *DistributedMPITrainingTask) XXX_Size() int { - return xxx_messageInfo_DistributedMPITrainingTask.Size(m) -} -func (m *DistributedMPITrainingTask) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedMPITrainingTask.DiscardUnknown(m) + +func (*DistributedMPITrainingTask) ProtoMessage() {} + +func (x *DistributedMPITrainingTask) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedMPITrainingTask proto.InternalMessageInfo +// Deprecated: Use DistributedMPITrainingTask.ProtoReflect.Descriptor instead. +func (*DistributedMPITrainingTask) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_mpi_proto_rawDescGZIP(), []int{0} +} -func (m *DistributedMPITrainingTask) GetWorkerReplicas() *DistributedMPITrainingReplicaSpec { - if m != nil { - return m.WorkerReplicas +func (x *DistributedMPITrainingTask) GetWorkerReplicas() *DistributedMPITrainingReplicaSpec { + if x != nil { + return x.WorkerReplicas } return nil } -func (m *DistributedMPITrainingTask) GetLauncherReplicas() *DistributedMPITrainingReplicaSpec { - if m != nil { - return m.LauncherReplicas +func (x *DistributedMPITrainingTask) GetLauncherReplicas() *DistributedMPITrainingReplicaSpec { + if x != nil { + return x.LauncherReplicas } return nil } -func (m *DistributedMPITrainingTask) GetRunPolicy() *RunPolicy { - if m != nil { - return m.RunPolicy +func (x *DistributedMPITrainingTask) GetRunPolicy() *RunPolicy { + if x != nil { + return x.RunPolicy } return nil } -func (m *DistributedMPITrainingTask) GetSlots() int32 { - if m != nil { - return m.Slots +func (x *DistributedMPITrainingTask) GetSlots() int32 { + if x != nil { + return x.Slots } return 0 } // Replica specification for distributed MPI training type DistributedMPITrainingReplicaSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Number of replicas Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` // Image used for the replica group @@ -102,105 +114,223 @@ type DistributedMPITrainingReplicaSpec struct { // Restart policy determines whether pods will be restarted when they exit RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` // MPI sometimes requires different command set for different replica groups - Command []string `protobuf:"bytes,5,rep,name=command,proto3" json:"command,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Command []string `protobuf:"bytes,5,rep,name=command,proto3" json:"command,omitempty"` } -func (m *DistributedMPITrainingReplicaSpec) Reset() { *m = DistributedMPITrainingReplicaSpec{} } -func (m *DistributedMPITrainingReplicaSpec) String() string { return proto.CompactTextString(m) } -func (*DistributedMPITrainingReplicaSpec) ProtoMessage() {} -func (*DistributedMPITrainingReplicaSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_298b02c608b0cddf, []int{1} +func (x *DistributedMPITrainingReplicaSpec) Reset() { + *x = DistributedMPITrainingReplicaSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedMPITrainingReplicaSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedMPITrainingReplicaSpec.Unmarshal(m, b) -} -func (m *DistributedMPITrainingReplicaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedMPITrainingReplicaSpec.Marshal(b, m, deterministic) -} -func (m *DistributedMPITrainingReplicaSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedMPITrainingReplicaSpec.Merge(m, src) +func (x *DistributedMPITrainingReplicaSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedMPITrainingReplicaSpec) XXX_Size() int { - return xxx_messageInfo_DistributedMPITrainingReplicaSpec.Size(m) -} -func (m *DistributedMPITrainingReplicaSpec) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedMPITrainingReplicaSpec.DiscardUnknown(m) + +func (*DistributedMPITrainingReplicaSpec) ProtoMessage() {} + +func (x *DistributedMPITrainingReplicaSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedMPITrainingReplicaSpec proto.InternalMessageInfo +// Deprecated: Use DistributedMPITrainingReplicaSpec.ProtoReflect.Descriptor instead. +func (*DistributedMPITrainingReplicaSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_mpi_proto_rawDescGZIP(), []int{1} +} -func (m *DistributedMPITrainingReplicaSpec) GetReplicas() int32 { - if m != nil { - return m.Replicas +func (x *DistributedMPITrainingReplicaSpec) GetReplicas() int32 { + if x != nil { + return x.Replicas } return 0 } -func (m *DistributedMPITrainingReplicaSpec) GetImage() string { - if m != nil { - return m.Image +func (x *DistributedMPITrainingReplicaSpec) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *DistributedMPITrainingReplicaSpec) GetResources() *core.Resources { - if m != nil { - return m.Resources +func (x *DistributedMPITrainingReplicaSpec) GetResources() *core.Resources { + if x != nil { + return x.Resources } return nil } -func (m *DistributedMPITrainingReplicaSpec) GetRestartPolicy() RestartPolicy { - if m != nil { - return m.RestartPolicy +func (x *DistributedMPITrainingReplicaSpec) GetRestartPolicy() RestartPolicy { + if x != nil { + return x.RestartPolicy } return RestartPolicy_RESTART_POLICY_NEVER } -func (m *DistributedMPITrainingReplicaSpec) GetCommand() []string { - if m != nil { - return m.Command +func (x *DistributedMPITrainingReplicaSpec) GetCommand() []string { + if x != nil { + return x.Command } return nil } -func init() { - proto.RegisterType((*DistributedMPITrainingTask)(nil), "flyteidl.plugins.kubeflow.DistributedMPITrainingTask") - proto.RegisterType((*DistributedMPITrainingReplicaSpec)(nil), "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec") -} - -func init() { - proto.RegisterFile("flyteidl/plugins/kubeflow/mpi.proto", fileDescriptor_298b02c608b0cddf) -} - -var fileDescriptor_298b02c608b0cddf = []byte{ - // 376 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0x3f, 0x8f, 0xd3, 0x30, - 0x1c, 0x55, 0x5a, 0x02, 0xc4, 0x88, 0x02, 0x16, 0x43, 0xc8, 0x54, 0x0a, 0x42, 0x59, 0x88, 0xa5, - 0x22, 0x31, 0x81, 0x90, 0x80, 0x85, 0x01, 0x5d, 0xe5, 0xeb, 0x74, 0x4b, 0xe5, 0xb8, 0x6e, 0x6a, - 0xc5, 0xb1, 0x23, 0xff, 0x51, 0xd5, 0x8f, 0x78, 0xdf, 0xe8, 0xc6, 0x53, 0xe2, 0x24, 0xed, 0x9d, - 0xae, 0xbd, 0xe5, 0x36, 0xbf, 0xf8, 0xfd, 0xde, 0x7b, 0xbf, 0xf8, 0x81, 0x4f, 0x1b, 0xb1, 0xb7, - 0x8c, 0xaf, 0x05, 0xaa, 0x85, 0x2b, 0xb8, 0x34, 0xa8, 0x74, 0x39, 0xdb, 0x08, 0xb5, 0x43, 0x55, - 0xcd, 0xb3, 0x5a, 0x2b, 0xab, 0xe0, 0x87, 0x9e, 0x94, 0x75, 0xa4, 0xac, 0x27, 0x25, 0xc3, 0x15, - 0xa2, 0x4a, 0x33, 0x64, 0x89, 0x29, 0x8d, 0x9f, 0x4a, 0xbe, 0x9c, 0x96, 0xa6, 0xaa, 0xaa, 0x94, - 0xf4, 0xbc, 0xd9, 0xf5, 0x08, 0x24, 0x7f, 0xb9, 0xb1, 0x9a, 0xe7, 0xce, 0xb2, 0xf5, 0xff, 0xc5, - 0xbf, 0xa5, 0x26, 0x5c, 0x72, 0x59, 0x2c, 0x89, 0x29, 0x21, 0x03, 0x6f, 0x76, 0x4a, 0x97, 0x4c, - 0xaf, 0x34, 0xab, 0x05, 0xa7, 0xc4, 0xc4, 0xc1, 0x34, 0x48, 0x5f, 0xcd, 0x7f, 0x64, 0x27, 0x63, - 0x65, 0x0f, 0xeb, 0x61, 0x2f, 0x70, 0x59, 0x33, 0x8a, 0x27, 0x5e, 0xb4, 0xfb, 0x64, 0x20, 0x07, - 0xef, 0x04, 0x71, 0x92, 0x6e, 0x8f, 0x8d, 0x46, 0x4f, 0x60, 0xf4, 0xb6, 0x97, 0x1d, 0xac, 0xfe, - 0x00, 0xa0, 0x9d, 0x5c, 0xd5, 0x4a, 0x70, 0xba, 0x8f, 0xc7, 0xad, 0xc7, 0xe7, 0x33, 0x1e, 0xd8, - 0xc9, 0x45, 0xcb, 0xc5, 0x91, 0xee, 0x8f, 0xf0, 0x3d, 0x08, 0x8d, 0x50, 0xd6, 0xc4, 0xcf, 0xa6, - 0x41, 0x1a, 0x62, 0x0f, 0x66, 0x37, 0x01, 0xf8, 0xf8, 0x68, 0x24, 0x98, 0x80, 0x97, 0x77, 0xfe, - 0x65, 0x88, 0x07, 0xdc, 0xe8, 0xf2, 0x8a, 0x14, 0xac, 0xdd, 0x3d, 0xc2, 0x1e, 0xc0, 0xef, 0x20, - 0xd2, 0xcc, 0x28, 0xa7, 0x29, 0x33, 0x5d, 0xe2, 0xf8, 0x90, 0xb8, 0x79, 0xfa, 0x0c, 0xf7, 0xf7, - 0xf8, 0x40, 0x85, 0x17, 0x60, 0xa2, 0x99, 0xb1, 0x44, 0xdb, 0x7e, 0xdd, 0x26, 0xee, 0x64, 0x9e, - 0x9e, 0x5b, 0xd7, 0x0f, 0x74, 0x2b, 0xbf, 0xd6, 0xc7, 0x10, 0xc6, 0xe0, 0x45, 0x53, 0x1e, 0x22, - 0xd7, 0x71, 0x38, 0x1d, 0xa7, 0x11, 0xee, 0xe1, 0xef, 0x5f, 0x57, 0x3f, 0x0b, 0x6e, 0xb7, 0x2e, - 0xcf, 0xa8, 0xaa, 0x50, 0x2b, 0xaf, 0x74, 0xe1, 0x0f, 0x68, 0xa8, 0x62, 0xc1, 0x24, 0xaa, 0xf3, - 0xaf, 0x85, 0x42, 0xf7, 0xdb, 0x99, 0x3f, 0x6f, 0xeb, 0xf8, 0xed, 0x36, 0x00, 0x00, 0xff, 0xff, - 0x4b, 0x54, 0x61, 0xa1, 0x13, 0x03, 0x00, 0x00, +var File_flyteidl_plugins_kubeflow_mpi_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_kubeflow_mpi_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x6d, 0x70, 0x69, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, + 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x6b, 0x75, + 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x02, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x64, 0x4d, 0x50, 0x49, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x65, 0x0a, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, + 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x64, 0x4d, 0x50, 0x49, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x69, 0x0a, 0x11, 0x6c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, + 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x4d, 0x50, 0x49, 0x54, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, + 0x65, 0x63, 0x52, 0x10, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x12, 0x43, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, + 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, + 0x72, 0x75, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x6f, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x22, + 0xf8, 0x01, 0x0a, 0x21, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x4d, + 0x50, 0x49, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, + 0x4f, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, + 0x6c, 0x6f, 0x77, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0xee, 0x01, 0x0a, 0x1d, 0x63, + 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0x08, 0x4d, 0x70, + 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x4b, 0xaa, 0x02, 0x19, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0xca, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x4b, 0x75, 0x62, + 0x65, 0x66, 0x6c, 0x6f, 0x77, 0xe2, 0x02, 0x25, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, + 0x77, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x3a, 0x3a, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_kubeflow_mpi_proto_rawDescOnce sync.Once + file_flyteidl_plugins_kubeflow_mpi_proto_rawDescData = file_flyteidl_plugins_kubeflow_mpi_proto_rawDesc +) + +func file_flyteidl_plugins_kubeflow_mpi_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_kubeflow_mpi_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_kubeflow_mpi_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_kubeflow_mpi_proto_rawDescData) + }) + return file_flyteidl_plugins_kubeflow_mpi_proto_rawDescData +} + +var file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flyteidl_plugins_kubeflow_mpi_proto_goTypes = []interface{}{ + (*DistributedMPITrainingTask)(nil), // 0: flyteidl.plugins.kubeflow.DistributedMPITrainingTask + (*DistributedMPITrainingReplicaSpec)(nil), // 1: flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec + (*RunPolicy)(nil), // 2: flyteidl.plugins.kubeflow.RunPolicy + (*core.Resources)(nil), // 3: flyteidl.core.Resources + (RestartPolicy)(0), // 4: flyteidl.plugins.kubeflow.RestartPolicy +} +var file_flyteidl_plugins_kubeflow_mpi_proto_depIdxs = []int32{ + 1, // 0: flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec + 1, // 1: flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec + 2, // 2: flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy:type_name -> flyteidl.plugins.kubeflow.RunPolicy + 3, // 3: flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources:type_name -> flyteidl.core.Resources + 4, // 4: flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.restart_policy:type_name -> flyteidl.plugins.kubeflow.RestartPolicy + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_kubeflow_mpi_proto_init() } +func file_flyteidl_plugins_kubeflow_mpi_proto_init() { + if File_flyteidl_plugins_kubeflow_mpi_proto != nil { + return + } + file_flyteidl_plugins_kubeflow_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedMPITrainingTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedMPITrainingReplicaSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_kubeflow_mpi_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_kubeflow_mpi_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_kubeflow_mpi_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_kubeflow_mpi_proto_msgTypes, + }.Build() + File_flyteidl_plugins_kubeflow_mpi_proto = out.File + file_flyteidl_plugins_kubeflow_mpi_proto_rawDesc = nil + file_flyteidl_plugins_kubeflow_mpi_proto_goTypes = nil + file_flyteidl_plugins_kubeflow_mpi_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go index dbf68eb61c..4dbabf4ae3 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go @@ -1,101 +1,113 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/kubeflow/pytorch.proto package plugins import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Custom proto for torch elastic config for distributed training using // https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go type ElasticConfig struct { - RdzvBackend string `protobuf:"bytes,1,opt,name=rdzv_backend,json=rdzvBackend,proto3" json:"rdzv_backend,omitempty"` - MinReplicas int32 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"` - MaxReplicas int32 `protobuf:"varint,3,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` - NprocPerNode int32 `protobuf:"varint,4,opt,name=nproc_per_node,json=nprocPerNode,proto3" json:"nproc_per_node,omitempty"` - MaxRestarts int32 `protobuf:"varint,5,opt,name=max_restarts,json=maxRestarts,proto3" json:"max_restarts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ElasticConfig) Reset() { *m = ElasticConfig{} } -func (m *ElasticConfig) String() string { return proto.CompactTextString(m) } -func (*ElasticConfig) ProtoMessage() {} -func (*ElasticConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_37e97bee6e09d707, []int{0} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RdzvBackend string `protobuf:"bytes,1,opt,name=rdzv_backend,json=rdzvBackend,proto3" json:"rdzv_backend,omitempty"` + MinReplicas int32 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"` + MaxReplicas int32 `protobuf:"varint,3,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` + NprocPerNode int32 `protobuf:"varint,4,opt,name=nproc_per_node,json=nprocPerNode,proto3" json:"nproc_per_node,omitempty"` + MaxRestarts int32 `protobuf:"varint,5,opt,name=max_restarts,json=maxRestarts,proto3" json:"max_restarts,omitempty"` +} + +func (x *ElasticConfig) Reset() { + *x = ElasticConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ElasticConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ElasticConfig.Unmarshal(m, b) -} -func (m *ElasticConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ElasticConfig.Marshal(b, m, deterministic) +func (x *ElasticConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ElasticConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ElasticConfig.Merge(m, src) -} -func (m *ElasticConfig) XXX_Size() int { - return xxx_messageInfo_ElasticConfig.Size(m) -} -func (m *ElasticConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ElasticConfig.DiscardUnknown(m) + +func (*ElasticConfig) ProtoMessage() {} + +func (x *ElasticConfig) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ElasticConfig proto.InternalMessageInfo +// Deprecated: Use ElasticConfig.ProtoReflect.Descriptor instead. +func (*ElasticConfig) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescGZIP(), []int{0} +} -func (m *ElasticConfig) GetRdzvBackend() string { - if m != nil { - return m.RdzvBackend +func (x *ElasticConfig) GetRdzvBackend() string { + if x != nil { + return x.RdzvBackend } return "" } -func (m *ElasticConfig) GetMinReplicas() int32 { - if m != nil { - return m.MinReplicas +func (x *ElasticConfig) GetMinReplicas() int32 { + if x != nil { + return x.MinReplicas } return 0 } -func (m *ElasticConfig) GetMaxReplicas() int32 { - if m != nil { - return m.MaxReplicas +func (x *ElasticConfig) GetMaxReplicas() int32 { + if x != nil { + return x.MaxReplicas } return 0 } -func (m *ElasticConfig) GetNprocPerNode() int32 { - if m != nil { - return m.NprocPerNode +func (x *ElasticConfig) GetNprocPerNode() int32 { + if x != nil { + return x.NprocPerNode } return 0 } -func (m *ElasticConfig) GetMaxRestarts() int32 { - if m != nil { - return m.MaxRestarts +func (x *ElasticConfig) GetMaxRestarts() int32 { + if x != nil { + return x.MaxRestarts } return 0 } // Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator type DistributedPyTorchTrainingTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Worker replicas spec WorkerReplicas *DistributedPyTorchTrainingReplicaSpec `protobuf:"bytes,1,opt,name=worker_replicas,json=workerReplicas,proto3" json:"worker_replicas,omitempty"` // Master replicas spec, master replicas can only have 1 replica @@ -105,66 +117,74 @@ type DistributedPyTorchTrainingTask struct { // active. RunPolicy *RunPolicy `protobuf:"bytes,3,opt,name=run_policy,json=runPolicy,proto3" json:"run_policy,omitempty"` // config for an elastic pytorch job - ElasticConfig *ElasticConfig `protobuf:"bytes,4,opt,name=elastic_config,json=elasticConfig,proto3" json:"elastic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ElasticConfig *ElasticConfig `protobuf:"bytes,4,opt,name=elastic_config,json=elasticConfig,proto3" json:"elastic_config,omitempty"` } -func (m *DistributedPyTorchTrainingTask) Reset() { *m = DistributedPyTorchTrainingTask{} } -func (m *DistributedPyTorchTrainingTask) String() string { return proto.CompactTextString(m) } -func (*DistributedPyTorchTrainingTask) ProtoMessage() {} -func (*DistributedPyTorchTrainingTask) Descriptor() ([]byte, []int) { - return fileDescriptor_37e97bee6e09d707, []int{1} +func (x *DistributedPyTorchTrainingTask) Reset() { + *x = DistributedPyTorchTrainingTask{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedPyTorchTrainingTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedPyTorchTrainingTask.Unmarshal(m, b) +func (x *DistributedPyTorchTrainingTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedPyTorchTrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedPyTorchTrainingTask.Marshal(b, m, deterministic) -} -func (m *DistributedPyTorchTrainingTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedPyTorchTrainingTask.Merge(m, src) -} -func (m *DistributedPyTorchTrainingTask) XXX_Size() int { - return xxx_messageInfo_DistributedPyTorchTrainingTask.Size(m) -} -func (m *DistributedPyTorchTrainingTask) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedPyTorchTrainingTask.DiscardUnknown(m) + +func (*DistributedPyTorchTrainingTask) ProtoMessage() {} + +func (x *DistributedPyTorchTrainingTask) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedPyTorchTrainingTask proto.InternalMessageInfo +// Deprecated: Use DistributedPyTorchTrainingTask.ProtoReflect.Descriptor instead. +func (*DistributedPyTorchTrainingTask) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescGZIP(), []int{1} +} -func (m *DistributedPyTorchTrainingTask) GetWorkerReplicas() *DistributedPyTorchTrainingReplicaSpec { - if m != nil { - return m.WorkerReplicas +func (x *DistributedPyTorchTrainingTask) GetWorkerReplicas() *DistributedPyTorchTrainingReplicaSpec { + if x != nil { + return x.WorkerReplicas } return nil } -func (m *DistributedPyTorchTrainingTask) GetMasterReplicas() *DistributedPyTorchTrainingReplicaSpec { - if m != nil { - return m.MasterReplicas +func (x *DistributedPyTorchTrainingTask) GetMasterReplicas() *DistributedPyTorchTrainingReplicaSpec { + if x != nil { + return x.MasterReplicas } return nil } -func (m *DistributedPyTorchTrainingTask) GetRunPolicy() *RunPolicy { - if m != nil { - return m.RunPolicy +func (x *DistributedPyTorchTrainingTask) GetRunPolicy() *RunPolicy { + if x != nil { + return x.RunPolicy } return nil } -func (m *DistributedPyTorchTrainingTask) GetElasticConfig() *ElasticConfig { - if m != nil { - return m.ElasticConfig +func (x *DistributedPyTorchTrainingTask) GetElasticConfig() *ElasticConfig { + if x != nil { + return x.ElasticConfig } return nil } type DistributedPyTorchTrainingReplicaSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Number of replicas Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` // Image used for the replica group @@ -172,105 +192,245 @@ type DistributedPyTorchTrainingReplicaSpec struct { // Resources required for the replica group Resources *core.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` // RestartPolicy determines whether pods will be restarted when they exit - RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` } -func (m *DistributedPyTorchTrainingReplicaSpec) Reset() { *m = DistributedPyTorchTrainingReplicaSpec{} } -func (m *DistributedPyTorchTrainingReplicaSpec) String() string { return proto.CompactTextString(m) } -func (*DistributedPyTorchTrainingReplicaSpec) ProtoMessage() {} -func (*DistributedPyTorchTrainingReplicaSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_37e97bee6e09d707, []int{2} +func (x *DistributedPyTorchTrainingReplicaSpec) Reset() { + *x = DistributedPyTorchTrainingReplicaSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Unmarshal(m, b) -} -func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Marshal(b, m, deterministic) -} -func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Merge(m, src) -} -func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Size() int { - return xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Size(m) +func (x *DistributedPyTorchTrainingReplicaSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedPyTorchTrainingReplicaSpec) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.DiscardUnknown(m) + +func (*DistributedPyTorchTrainingReplicaSpec) ProtoMessage() {} + +func (x *DistributedPyTorchTrainingReplicaSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec proto.InternalMessageInfo +// Deprecated: Use DistributedPyTorchTrainingReplicaSpec.ProtoReflect.Descriptor instead. +func (*DistributedPyTorchTrainingReplicaSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescGZIP(), []int{2} +} -func (m *DistributedPyTorchTrainingReplicaSpec) GetReplicas() int32 { - if m != nil { - return m.Replicas +func (x *DistributedPyTorchTrainingReplicaSpec) GetReplicas() int32 { + if x != nil { + return x.Replicas } return 0 } -func (m *DistributedPyTorchTrainingReplicaSpec) GetImage() string { - if m != nil { - return m.Image +func (x *DistributedPyTorchTrainingReplicaSpec) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *DistributedPyTorchTrainingReplicaSpec) GetResources() *core.Resources { - if m != nil { - return m.Resources +func (x *DistributedPyTorchTrainingReplicaSpec) GetResources() *core.Resources { + if x != nil { + return x.Resources } return nil } -func (m *DistributedPyTorchTrainingReplicaSpec) GetRestartPolicy() RestartPolicy { - if m != nil { - return m.RestartPolicy +func (x *DistributedPyTorchTrainingReplicaSpec) GetRestartPolicy() RestartPolicy { + if x != nil { + return x.RestartPolicy } return RestartPolicy_RESTART_POLICY_NEVER } -func init() { - proto.RegisterType((*ElasticConfig)(nil), "flyteidl.plugins.kubeflow.ElasticConfig") - proto.RegisterType((*DistributedPyTorchTrainingTask)(nil), "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask") - proto.RegisterType((*DistributedPyTorchTrainingReplicaSpec)(nil), "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec") -} - -func init() { - proto.RegisterFile("flyteidl/plugins/kubeflow/pytorch.proto", fileDescriptor_37e97bee6e09d707) -} - -var fileDescriptor_37e97bee6e09d707 = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcf, 0x8e, 0xd3, 0x30, - 0x10, 0xc6, 0xd5, 0x5d, 0x8a, 0xa8, 0xb3, 0xed, 0x4a, 0x11, 0x87, 0xd0, 0x03, 0x5a, 0xaa, 0x05, - 0x7a, 0x21, 0x91, 0x8a, 0xc4, 0x0d, 0x81, 0x76, 0xe1, 0x0a, 0x95, 0xe9, 0x89, 0x4b, 0xe4, 0x38, - 0xd3, 0xac, 0x95, 0xc4, 0x8e, 0xc6, 0x0e, 0xbb, 0xe5, 0x19, 0x78, 0x29, 0x5e, 0x85, 0x27, 0x41, - 0xb1, 0xf3, 0xa7, 0x8b, 0xd4, 0x8a, 0xc3, 0xde, 0x32, 0xe3, 0x5f, 0xbe, 0xf1, 0x37, 0x9e, 0x21, - 0xaf, 0xb7, 0xc5, 0xce, 0x80, 0x48, 0x8b, 0xa8, 0x2a, 0xea, 0x4c, 0x48, 0x1d, 0xe5, 0x75, 0x02, - 0xdb, 0x42, 0xdd, 0x46, 0xd5, 0xce, 0x28, 0xe4, 0x37, 0x61, 0x85, 0xca, 0x28, 0xff, 0x59, 0x07, - 0x86, 0x2d, 0x18, 0x76, 0xe0, 0xbc, 0x3f, 0x8a, 0xb8, 0x42, 0x88, 0x0c, 0xd3, 0xb9, 0x76, 0x7f, - 0xcd, 0x5f, 0x1d, 0x96, 0xe7, 0xaa, 0x2c, 0x95, 0x74, 0xdc, 0xe2, 0xf7, 0x88, 0x4c, 0x3f, 0x17, - 0x4c, 0x1b, 0xc1, 0xaf, 0x95, 0xdc, 0x8a, 0xcc, 0x7f, 0x41, 0xce, 0x30, 0xfd, 0xf9, 0x23, 0x4e, - 0x18, 0xcf, 0x41, 0xa6, 0xc1, 0xe8, 0x62, 0xb4, 0x9c, 0x50, 0xaf, 0xc9, 0x5d, 0xb9, 0x54, 0x83, - 0x94, 0x42, 0xc6, 0x08, 0x55, 0x21, 0x38, 0xd3, 0xc1, 0xc9, 0xc5, 0x68, 0x39, 0xa6, 0x5e, 0x29, - 0x24, 0x6d, 0x53, 0x16, 0x61, 0x77, 0x03, 0x72, 0xda, 0x22, 0xec, 0xae, 0x47, 0x2e, 0xc9, 0x4c, - 0x56, 0xa8, 0x78, 0x5c, 0x01, 0xc6, 0x52, 0xa5, 0x10, 0x3c, 0xb2, 0xd0, 0x99, 0xcd, 0xae, 0x01, - 0xbf, 0xa8, 0x14, 0x06, 0x21, 0x6d, 0x18, 0x1a, 0x1d, 0x8c, 0xf7, 0x84, 0x5c, 0x6a, 0xf1, 0xeb, - 0x94, 0x3c, 0xff, 0x24, 0xb4, 0x41, 0x91, 0xd4, 0x06, 0xd2, 0xf5, 0x6e, 0xd3, 0xb4, 0x6f, 0x83, - 0x4c, 0x48, 0x21, 0xb3, 0x0d, 0xd3, 0xb9, 0x2f, 0xc8, 0xf9, 0xad, 0xc2, 0x1c, 0x70, 0xb8, 0x51, - 0xe3, 0xcb, 0x5b, 0x7d, 0x0c, 0x0f, 0xb6, 0x37, 0x3c, 0xac, 0xd9, 0x7a, 0xf8, 0x56, 0x01, 0xa7, - 0x33, 0x27, 0xdc, 0xdb, 0x12, 0xe4, 0xbc, 0x64, 0xda, 0xec, 0x97, 0x3a, 0x79, 0xa8, 0x52, 0x4e, - 0xb8, 0x2f, 0x75, 0x4d, 0x08, 0xd6, 0x32, 0xae, 0x54, 0x21, 0xf8, 0xce, 0xb6, 0xd8, 0x5b, 0x5d, - 0x1e, 0xa9, 0x42, 0x6b, 0xb9, 0xb6, 0x2c, 0x9d, 0x60, 0xf7, 0xe9, 0x7f, 0x25, 0x33, 0x70, 0x03, - 0x10, 0x73, 0x3b, 0x01, 0xf6, 0x19, 0xbc, 0xd5, 0xf2, 0x88, 0xd0, 0xbd, 0x89, 0xa1, 0x53, 0xd8, - 0x0f, 0x17, 0x7f, 0x46, 0xe4, 0xe5, 0x7f, 0xf9, 0xf1, 0xe7, 0xe4, 0xc9, 0xbd, 0xe7, 0x18, 0xd3, - 0x3e, 0xf6, 0x9f, 0x92, 0xb1, 0x28, 0x59, 0x06, 0xb6, 0x79, 0x13, 0xea, 0x02, 0xff, 0x1d, 0x99, - 0x20, 0x68, 0x55, 0x23, 0x07, 0xdd, 0x1a, 0x0e, 0x86, 0x7b, 0x36, 0x5b, 0x10, 0xd2, 0xee, 0x9c, - 0x0e, 0x68, 0x63, 0xb2, 0x9d, 0xa0, 0xae, 0x5b, 0x8d, 0xc9, 0xd9, 0x51, 0x93, 0xed, 0x7c, 0xb5, - 0x1d, 0x9b, 0xe2, 0x7e, 0x78, 0xf5, 0xe1, 0xfb, 0xfb, 0x4c, 0x98, 0x9b, 0x3a, 0x09, 0xb9, 0x2a, - 0x23, 0x2b, 0xa2, 0x30, 0x73, 0x1f, 0x51, 0xbf, 0x7b, 0x19, 0xc8, 0xa8, 0x4a, 0xde, 0x64, 0x2a, - 0xfa, 0x77, 0x1d, 0x93, 0xc7, 0x76, 0xff, 0xde, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x2e, - 0x7b, 0x3a, 0x08, 0x04, 0x00, 0x00, +var File_flyteidl_plugins_kubeflow_pytorch_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_kubeflow_pytorch_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x70, 0x79, 0x74, 0x6f, + 0x72, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, + 0x66, 0x6c, 0x6f, 0x77, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x26, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x01, 0x0a, 0x0d, 0x45, 0x6c, 0x61, 0x73, + 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x64, 0x7a, + 0x76, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x72, 0x64, 0x7a, 0x76, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, + 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, + 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x70, 0x72, 0x6f, 0x63, 0x5f, 0x70, 0x65, 0x72, 0x5f, + 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6e, 0x70, 0x72, 0x6f, + 0x63, 0x50, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, + 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, + 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x73, 0x22, 0x8c, 0x03, 0x0a, 0x1e, + 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x50, 0x79, 0x54, 0x6f, 0x72, + 0x63, 0x68, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x69, + 0x0a, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, + 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x50, + 0x79, 0x54, 0x6f, 0x72, 0x63, 0x68, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x69, 0x0a, 0x0f, 0x6d, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, + 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x50, 0x79, 0x54, 0x6f, 0x72, 0x63, + 0x68, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x53, 0x70, 0x65, 0x63, 0x52, 0x0e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x12, 0x43, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, + 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, + 0x72, 0x75, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4f, 0x0a, 0x0e, 0x65, 0x6c, 0x61, + 0x73, 0x74, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, + 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x45, 0x6c, + 0x61, 0x73, 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x65, 0x6c, 0x61, + 0x73, 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xe2, 0x01, 0x0a, 0x25, 0x44, + 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x50, 0x79, 0x54, 0x6f, 0x72, 0x63, + 0x68, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4f, + 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, + 0x6f, 0x77, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, + 0xf2, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, + 0x77, 0x42, 0x0c, 0x50, 0x79, 0x74, 0x6f, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0xa2, 0x02, 0x03, 0x46, 0x50, 0x4b, 0xaa, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, + 0x6f, 0x77, 0xca, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0xe2, 0x02, + 0x25, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x5c, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x3a, 0x3a, 0x4b, 0x75, 0x62, 0x65, + 0x66, 0x6c, 0x6f, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescOnce sync.Once + file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescData = file_flyteidl_plugins_kubeflow_pytorch_proto_rawDesc +) + +func file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescData) + }) + return file_flyteidl_plugins_kubeflow_pytorch_proto_rawDescData +} + +var file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flyteidl_plugins_kubeflow_pytorch_proto_goTypes = []interface{}{ + (*ElasticConfig)(nil), // 0: flyteidl.plugins.kubeflow.ElasticConfig + (*DistributedPyTorchTrainingTask)(nil), // 1: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask + (*DistributedPyTorchTrainingReplicaSpec)(nil), // 2: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec + (*RunPolicy)(nil), // 3: flyteidl.plugins.kubeflow.RunPolicy + (*core.Resources)(nil), // 4: flyteidl.core.Resources + (RestartPolicy)(0), // 5: flyteidl.plugins.kubeflow.RestartPolicy +} +var file_flyteidl_plugins_kubeflow_pytorch_proto_depIdxs = []int32{ + 2, // 0: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec + 2, // 1: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec + 3, // 2: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy:type_name -> flyteidl.plugins.kubeflow.RunPolicy + 0, // 3: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config:type_name -> flyteidl.plugins.kubeflow.ElasticConfig + 4, // 4: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources:type_name -> flyteidl.core.Resources + 5, // 5: flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.restart_policy:type_name -> flyteidl.plugins.kubeflow.RestartPolicy + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_kubeflow_pytorch_proto_init() } +func file_flyteidl_plugins_kubeflow_pytorch_proto_init() { + if File_flyteidl_plugins_kubeflow_pytorch_proto != nil { + return + } + file_flyteidl_plugins_kubeflow_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ElasticConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedPyTorchTrainingTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedPyTorchTrainingReplicaSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_kubeflow_pytorch_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_kubeflow_pytorch_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_kubeflow_pytorch_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_kubeflow_pytorch_proto_msgTypes, + }.Build() + File_flyteidl_plugins_kubeflow_pytorch_proto = out.File + file_flyteidl_plugins_kubeflow_pytorch_proto_rawDesc = nil + file_flyteidl_plugins_kubeflow_pytorch_proto_goTypes = nil + file_flyteidl_plugins_kubeflow_pytorch_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go index 04243dec6e..ef6ec1899b 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go @@ -1,28 +1,32 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/kubeflow/tensorflow.proto package plugins import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator type DistributedTensorflowTrainingTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Worker replicas spec WorkerReplicas *DistributedTensorflowTrainingReplicaSpec `protobuf:"bytes,1,opt,name=worker_replicas,json=workerReplicas,proto3" json:"worker_replicas,omitempty"` // Parameter server replicas spec @@ -34,73 +38,81 @@ type DistributedTensorflowTrainingTask struct { // active. RunPolicy *RunPolicy `protobuf:"bytes,4,opt,name=run_policy,json=runPolicy,proto3" json:"run_policy,omitempty"` // Evaluator replicas spec - EvaluatorReplicas *DistributedTensorflowTrainingReplicaSpec `protobuf:"bytes,5,opt,name=evaluator_replicas,json=evaluatorReplicas,proto3" json:"evaluator_replicas,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EvaluatorReplicas *DistributedTensorflowTrainingReplicaSpec `protobuf:"bytes,5,opt,name=evaluator_replicas,json=evaluatorReplicas,proto3" json:"evaluator_replicas,omitempty"` } -func (m *DistributedTensorflowTrainingTask) Reset() { *m = DistributedTensorflowTrainingTask{} } -func (m *DistributedTensorflowTrainingTask) String() string { return proto.CompactTextString(m) } -func (*DistributedTensorflowTrainingTask) ProtoMessage() {} -func (*DistributedTensorflowTrainingTask) Descriptor() ([]byte, []int) { - return fileDescriptor_93de2bd764ddf01a, []int{0} +func (x *DistributedTensorflowTrainingTask) Reset() { + *x = DistributedTensorflowTrainingTask{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedTensorflowTrainingTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedTensorflowTrainingTask.Unmarshal(m, b) +func (x *DistributedTensorflowTrainingTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedTensorflowTrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedTensorflowTrainingTask.Marshal(b, m, deterministic) -} -func (m *DistributedTensorflowTrainingTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedTensorflowTrainingTask.Merge(m, src) -} -func (m *DistributedTensorflowTrainingTask) XXX_Size() int { - return xxx_messageInfo_DistributedTensorflowTrainingTask.Size(m) -} -func (m *DistributedTensorflowTrainingTask) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedTensorflowTrainingTask.DiscardUnknown(m) + +func (*DistributedTensorflowTrainingTask) ProtoMessage() {} + +func (x *DistributedTensorflowTrainingTask) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedTensorflowTrainingTask proto.InternalMessageInfo +// Deprecated: Use DistributedTensorflowTrainingTask.ProtoReflect.Descriptor instead. +func (*DistributedTensorflowTrainingTask) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescGZIP(), []int{0} +} -func (m *DistributedTensorflowTrainingTask) GetWorkerReplicas() *DistributedTensorflowTrainingReplicaSpec { - if m != nil { - return m.WorkerReplicas +func (x *DistributedTensorflowTrainingTask) GetWorkerReplicas() *DistributedTensorflowTrainingReplicaSpec { + if x != nil { + return x.WorkerReplicas } return nil } -func (m *DistributedTensorflowTrainingTask) GetPsReplicas() *DistributedTensorflowTrainingReplicaSpec { - if m != nil { - return m.PsReplicas +func (x *DistributedTensorflowTrainingTask) GetPsReplicas() *DistributedTensorflowTrainingReplicaSpec { + if x != nil { + return x.PsReplicas } return nil } -func (m *DistributedTensorflowTrainingTask) GetChiefReplicas() *DistributedTensorflowTrainingReplicaSpec { - if m != nil { - return m.ChiefReplicas +func (x *DistributedTensorflowTrainingTask) GetChiefReplicas() *DistributedTensorflowTrainingReplicaSpec { + if x != nil { + return x.ChiefReplicas } return nil } -func (m *DistributedTensorflowTrainingTask) GetRunPolicy() *RunPolicy { - if m != nil { - return m.RunPolicy +func (x *DistributedTensorflowTrainingTask) GetRunPolicy() *RunPolicy { + if x != nil { + return x.RunPolicy } return nil } -func (m *DistributedTensorflowTrainingTask) GetEvaluatorReplicas() *DistributedTensorflowTrainingReplicaSpec { - if m != nil { - return m.EvaluatorReplicas +func (x *DistributedTensorflowTrainingTask) GetEvaluatorReplicas() *DistributedTensorflowTrainingReplicaSpec { + if x != nil { + return x.EvaluatorReplicas } return nil } type DistributedTensorflowTrainingReplicaSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Number of replicas Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` // Image used for the replica group @@ -108,100 +120,231 @@ type DistributedTensorflowTrainingReplicaSpec struct { // Resources required for the replica group Resources *core.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` // RestartPolicy Determines whether pods will be restarted when they exit - RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` } -func (m *DistributedTensorflowTrainingReplicaSpec) Reset() { - *m = DistributedTensorflowTrainingReplicaSpec{} -} -func (m *DistributedTensorflowTrainingReplicaSpec) String() string { return proto.CompactTextString(m) } -func (*DistributedTensorflowTrainingReplicaSpec) ProtoMessage() {} -func (*DistributedTensorflowTrainingReplicaSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_93de2bd764ddf01a, []int{1} +func (x *DistributedTensorflowTrainingReplicaSpec) Reset() { + *x = DistributedTensorflowTrainingReplicaSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Unmarshal(m, b) -} -func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Marshal(b, m, deterministic) -} -func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Merge(m, src) +func (x *DistributedTensorflowTrainingReplicaSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Size() int { - return xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Size(m) -} -func (m *DistributedTensorflowTrainingReplicaSpec) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.DiscardUnknown(m) + +func (*DistributedTensorflowTrainingReplicaSpec) ProtoMessage() {} + +func (x *DistributedTensorflowTrainingReplicaSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec proto.InternalMessageInfo +// Deprecated: Use DistributedTensorflowTrainingReplicaSpec.ProtoReflect.Descriptor instead. +func (*DistributedTensorflowTrainingReplicaSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescGZIP(), []int{1} +} -func (m *DistributedTensorflowTrainingReplicaSpec) GetReplicas() int32 { - if m != nil { - return m.Replicas +func (x *DistributedTensorflowTrainingReplicaSpec) GetReplicas() int32 { + if x != nil { + return x.Replicas } return 0 } -func (m *DistributedTensorflowTrainingReplicaSpec) GetImage() string { - if m != nil { - return m.Image +func (x *DistributedTensorflowTrainingReplicaSpec) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *DistributedTensorflowTrainingReplicaSpec) GetResources() *core.Resources { - if m != nil { - return m.Resources +func (x *DistributedTensorflowTrainingReplicaSpec) GetResources() *core.Resources { + if x != nil { + return x.Resources } return nil } -func (m *DistributedTensorflowTrainingReplicaSpec) GetRestartPolicy() RestartPolicy { - if m != nil { - return m.RestartPolicy +func (x *DistributedTensorflowTrainingReplicaSpec) GetRestartPolicy() RestartPolicy { + if x != nil { + return x.RestartPolicy } return RestartPolicy_RESTART_POLICY_NEVER } -func init() { - proto.RegisterType((*DistributedTensorflowTrainingTask)(nil), "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask") - proto.RegisterType((*DistributedTensorflowTrainingReplicaSpec)(nil), "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec") -} - -func init() { - proto.RegisterFile("flyteidl/plugins/kubeflow/tensorflow.proto", fileDescriptor_93de2bd764ddf01a) -} - -var fileDescriptor_93de2bd764ddf01a = []byte{ - // 382 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xc1, 0x6a, 0xe3, 0x30, - 0x10, 0x86, 0xc9, 0x6e, 0xb2, 0x6c, 0x14, 0xe2, 0x65, 0xc5, 0x1e, 0xb2, 0x39, 0xed, 0x86, 0x65, - 0x09, 0x85, 0x5a, 0x90, 0x42, 0x6f, 0xa5, 0xd0, 0xf4, 0xde, 0xa2, 0xe6, 0xd4, 0x4b, 0x90, 0x15, - 0xc5, 0x51, 0x2d, 0x4b, 0x62, 0x24, 0x35, 0xe4, 0x5d, 0xfa, 0x7a, 0x7d, 0x8f, 0x12, 0x3b, 0xb6, - 0xd3, 0x42, 0x42, 0x0f, 0xb9, 0xcd, 0x58, 0xff, 0xfc, 0xdf, 0x78, 0xa4, 0x41, 0x67, 0x4b, 0xb5, - 0xf1, 0x42, 0x2e, 0x14, 0xb1, 0x2a, 0xa4, 0x52, 0x3b, 0x92, 0x85, 0x44, 0x2c, 0x95, 0x59, 0x13, - 0x2f, 0xb4, 0x33, 0xb0, 0x0d, 0x63, 0x0b, 0xc6, 0x1b, 0xfc, 0xbb, 0xd2, 0xc6, 0x3b, 0x6d, 0x5c, - 0x69, 0x87, 0xf5, 0x11, 0xe1, 0x06, 0x04, 0xf1, 0xcc, 0x65, 0xae, 0xac, 0x1a, 0xfe, 0x3f, 0x4c, - 0xe0, 0x26, 0xcf, 0x8d, 0x2e, 0x75, 0xa3, 0x97, 0x36, 0xfa, 0x7b, 0x2b, 0x9d, 0x07, 0x99, 0x04, - 0x2f, 0x16, 0xb3, 0x9a, 0x3e, 0x03, 0x26, 0xb5, 0xd4, 0xe9, 0x8c, 0xb9, 0x0c, 0x2b, 0xf4, 0x63, - 0x6d, 0x20, 0x13, 0x30, 0x07, 0x61, 0x95, 0xe4, 0xcc, 0x0d, 0x5a, 0x7f, 0x5a, 0xe3, 0xde, 0x64, - 0x1a, 0x1f, 0xec, 0x2e, 0x3e, 0x6a, 0x4b, 0x4b, 0x9f, 0x07, 0x2b, 0x38, 0x8d, 0x4a, 0xef, 0xdd, - 0x27, 0x87, 0x17, 0xa8, 0x67, 0x5d, 0x43, 0xfa, 0x72, 0x3a, 0x12, 0xb2, 0xae, 0xa6, 0x3c, 0xa1, - 0x88, 0xaf, 0xa4, 0x58, 0x36, 0xa0, 0xaf, 0xa7, 0x03, 0xf5, 0x0b, 0xeb, 0x9a, 0x35, 0x45, 0x08, - 0x82, 0x9e, 0x5b, 0xa3, 0x24, 0xdf, 0x0c, 0xda, 0x05, 0xe7, 0xdf, 0x11, 0x0e, 0x0d, 0xfa, 0xbe, - 0xd0, 0xd2, 0x2e, 0x54, 0x21, 0x06, 0x84, 0xc5, 0x33, 0x53, 0x81, 0x79, 0xb3, 0x77, 0x0f, 0x9d, - 0xd3, 0x35, 0xfd, 0xb3, 0xb6, 0xaf, 0x1a, 0x1f, 0xbd, 0xb6, 0xd0, 0xf8, 0xb3, 0xf5, 0x78, 0x88, - 0xbe, 0xbf, 0x7b, 0x1e, 0x1d, 0x5a, 0xe7, 0xf8, 0x17, 0xea, 0xc8, 0x9c, 0xa5, 0xa2, 0xb8, 0xcd, - 0x2e, 0x2d, 0x13, 0x7c, 0x89, 0xba, 0x20, 0x9c, 0x09, 0xc0, 0x45, 0x35, 0xfe, 0x41, 0xf3, 0x27, - 0xdb, 0x47, 0x1d, 0xd3, 0xea, 0x9c, 0x36, 0x52, 0x7c, 0x87, 0x22, 0x10, 0xce, 0x33, 0xf0, 0xfb, - 0x33, 0x8d, 0x26, 0xe3, 0x63, 0x33, 0x2d, 0x0b, 0x76, 0x73, 0xed, 0xc3, 0x7e, 0x7a, 0x73, 0xfd, - 0x78, 0x95, 0x4a, 0xbf, 0x0a, 0x49, 0xcc, 0x4d, 0x4e, 0x0a, 0x13, 0x03, 0x69, 0x19, 0x90, 0x7a, - 0x95, 0x52, 0xa1, 0x89, 0x4d, 0xce, 0x53, 0x43, 0x3e, 0x6e, 0x57, 0xf2, 0xad, 0x58, 0xa7, 0x8b, - 0xb7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x74, 0xcf, 0x60, 0xf4, 0xda, 0x03, 0x00, 0x00, +var File_flyteidl_plugins_kubeflow_tensorflow_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x74, 0x65, 0x6e, 0x73, + 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, + 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x26, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, + 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x04, 0x0a, 0x21, 0x44, + 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, + 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, + 0x12, 0x6c, 0x0a, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, + 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x64, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0e, + 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x64, + 0x0a, 0x0b, 0x70, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, + 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x54, 0x65, 0x6e, 0x73, 0x6f, + 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0a, 0x70, 0x73, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x12, 0x6a, 0x0a, 0x0e, 0x63, 0x68, 0x69, 0x65, 0x66, 0x5f, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, + 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x64, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x0d, 0x63, 0x68, 0x69, 0x65, 0x66, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x12, 0x43, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, + 0x2e, 0x52, 0x75, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x72, 0x75, 0x6e, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x72, 0x0a, 0x12, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, + 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x43, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, + 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x69, + 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, + 0x6c, 0x6f, 0x77, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x52, 0x11, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x22, 0xe5, 0x01, 0x0a, 0x28, 0x44, 0x69, + 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, + 0x6c, 0x6f, 0x77, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x12, 0x4f, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, + 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x42, 0xf5, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x66, + 0x6c, 0x6f, 0x77, 0x42, 0x0f, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, + 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x4b, 0xaa, 0x02, 0x19, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x4b, + 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0xca, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x4b, 0x75, 0x62, 0x65, 0x66, + 0x6c, 0x6f, 0x77, 0xe2, 0x02, 0x25, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x3a, + 0x3a, 0x4b, 0x75, 0x62, 0x65, 0x66, 0x6c, 0x6f, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescOnce sync.Once + file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescData = file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDesc +) + +func file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescData) + }) + return file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDescData +} + +var file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flyteidl_plugins_kubeflow_tensorflow_proto_goTypes = []interface{}{ + (*DistributedTensorflowTrainingTask)(nil), // 0: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask + (*DistributedTensorflowTrainingReplicaSpec)(nil), // 1: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec + (*RunPolicy)(nil), // 2: flyteidl.plugins.kubeflow.RunPolicy + (*core.Resources)(nil), // 3: flyteidl.core.Resources + (RestartPolicy)(0), // 4: flyteidl.plugins.kubeflow.RestartPolicy +} +var file_flyteidl_plugins_kubeflow_tensorflow_proto_depIdxs = []int32{ + 1, // 0: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec + 1, // 1: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec + 1, // 2: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec + 2, // 3: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy:type_name -> flyteidl.plugins.kubeflow.RunPolicy + 1, // 4: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.evaluator_replicas:type_name -> flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec + 3, // 5: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources:type_name -> flyteidl.core.Resources + 4, // 6: flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.restart_policy:type_name -> flyteidl.plugins.kubeflow.RestartPolicy + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_kubeflow_tensorflow_proto_init() } +func file_flyteidl_plugins_kubeflow_tensorflow_proto_init() { + if File_flyteidl_plugins_kubeflow_tensorflow_proto != nil { + return + } + file_flyteidl_plugins_kubeflow_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedTensorflowTrainingTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedTensorflowTrainingReplicaSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_kubeflow_tensorflow_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_kubeflow_tensorflow_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_kubeflow_tensorflow_proto_msgTypes, + }.Build() + File_flyteidl_plugins_kubeflow_tensorflow_proto = out.File + file_flyteidl_plugins_kubeflow_tensorflow_proto_rawDesc = nil + file_flyteidl_plugins_kubeflow_tensorflow_proto_goTypes = nil + file_flyteidl_plugins_kubeflow_tensorflow_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go index 5dd2499e87..9f3f501444 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.go @@ -1,28 +1,32 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/mpi.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // MPI operator proposal https://github.com/kubeflow/community/blob/master/proposals/mpi-operator-proposal.md // Custom proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator type DistributedMPITrainingTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // number of worker spawned in the cluster for this job NumWorkers int32 `protobuf:"varint,1,opt,name=num_workers,json=numWorkers,proto3" json:"num_workers,omitempty"` // number of launcher replicas spawned in the cluster for this job @@ -30,78 +34,151 @@ type DistributedMPITrainingTask struct { NumLauncherReplicas int32 `protobuf:"varint,2,opt,name=num_launcher_replicas,json=numLauncherReplicas,proto3" json:"num_launcher_replicas,omitempty"` // number of slots per worker used in hostfile. // The available slots (GPUs) in each pod. - Slots int32 `protobuf:"varint,3,opt,name=slots,proto3" json:"slots,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Slots int32 `protobuf:"varint,3,opt,name=slots,proto3" json:"slots,omitempty"` } -func (m *DistributedMPITrainingTask) Reset() { *m = DistributedMPITrainingTask{} } -func (m *DistributedMPITrainingTask) String() string { return proto.CompactTextString(m) } -func (*DistributedMPITrainingTask) ProtoMessage() {} -func (*DistributedMPITrainingTask) Descriptor() ([]byte, []int) { - return fileDescriptor_13cf3fae00e5b069, []int{0} +func (x *DistributedMPITrainingTask) Reset() { + *x = DistributedMPITrainingTask{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_mpi_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedMPITrainingTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedMPITrainingTask.Unmarshal(m, b) -} -func (m *DistributedMPITrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedMPITrainingTask.Marshal(b, m, deterministic) +func (x *DistributedMPITrainingTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedMPITrainingTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedMPITrainingTask.Merge(m, src) -} -func (m *DistributedMPITrainingTask) XXX_Size() int { - return xxx_messageInfo_DistributedMPITrainingTask.Size(m) -} -func (m *DistributedMPITrainingTask) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedMPITrainingTask.DiscardUnknown(m) + +func (*DistributedMPITrainingTask) ProtoMessage() {} + +func (x *DistributedMPITrainingTask) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_mpi_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedMPITrainingTask proto.InternalMessageInfo +// Deprecated: Use DistributedMPITrainingTask.ProtoReflect.Descriptor instead. +func (*DistributedMPITrainingTask) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_mpi_proto_rawDescGZIP(), []int{0} +} -func (m *DistributedMPITrainingTask) GetNumWorkers() int32 { - if m != nil { - return m.NumWorkers +func (x *DistributedMPITrainingTask) GetNumWorkers() int32 { + if x != nil { + return x.NumWorkers } return 0 } -func (m *DistributedMPITrainingTask) GetNumLauncherReplicas() int32 { - if m != nil { - return m.NumLauncherReplicas +func (x *DistributedMPITrainingTask) GetNumLauncherReplicas() int32 { + if x != nil { + return x.NumLauncherReplicas } return 0 } -func (m *DistributedMPITrainingTask) GetSlots() int32 { - if m != nil { - return m.Slots +func (x *DistributedMPITrainingTask) GetSlots() int32 { + if x != nil { + return x.Slots } return 0 } -func init() { - proto.RegisterType((*DistributedMPITrainingTask)(nil), "flyteidl.plugins.DistributedMPITrainingTask") +var File_flyteidl_plugins_mpi_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_mpi_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x6d, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0x87, + 0x01, 0x0a, 0x1a, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x4d, 0x50, + 0x49, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1f, 0x0a, + 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x32, + 0x0a, 0x15, 0x6e, 0x75, 0x6d, 0x5f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, + 0x75, 0x6d, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x73, 0x6c, 0x6f, 0x74, 0x73, 0x42, 0xc0, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x42, 0x08, 0x4d, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, + 0x50, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_mpi_proto_rawDescOnce sync.Once + file_flyteidl_plugins_mpi_proto_rawDescData = file_flyteidl_plugins_mpi_proto_rawDesc +) + +func file_flyteidl_plugins_mpi_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_mpi_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_mpi_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_mpi_proto_rawDescData) + }) + return file_flyteidl_plugins_mpi_proto_rawDescData } -func init() { proto.RegisterFile("flyteidl/plugins/mpi.proto", fileDescriptor_13cf3fae00e5b069) } - -var fileDescriptor_13cf3fae00e5b069 = []byte{ - // 210 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0x31, 0x4b, 0xc6, 0x30, - 0x10, 0x40, 0xa9, 0xf2, 0x39, 0xc4, 0x45, 0xa2, 0x42, 0xe9, 0xa2, 0x38, 0xb9, 0xd8, 0x80, 0xce, - 0x22, 0x88, 0x8b, 0xa0, 0x20, 0xa5, 0x20, 0xb8, 0x94, 0xa4, 0x8d, 0xe9, 0xd1, 0xe4, 0x12, 0x2e, - 0x09, 0xe2, 0x2f, 0xf0, 0x6f, 0x8b, 0x69, 0x75, 0x70, 0xbb, 0xbb, 0xf7, 0x86, 0x7b, 0xac, 0x79, - 0xb7, 0x9f, 0x49, 0xc3, 0x64, 0x45, 0xb0, 0xd9, 0x00, 0x46, 0xe1, 0x02, 0xb4, 0x81, 0x7c, 0xf2, - 0xfc, 0xe8, 0x97, 0xb5, 0x1b, 0xbb, 0xf8, 0xaa, 0x58, 0xf3, 0x00, 0x31, 0x11, 0xa8, 0x9c, 0xf4, - 0xf4, 0xfc, 0xf2, 0xd8, 0x93, 0x04, 0x04, 0x34, 0xbd, 0x8c, 0x0b, 0x3f, 0x63, 0x87, 0x98, 0xdd, - 0xf0, 0xe1, 0x69, 0xd1, 0x14, 0xeb, 0xea, 0xbc, 0xba, 0xdc, 0x75, 0x0c, 0xb3, 0x7b, 0x5d, 0x2f, - 0xfc, 0x9a, 0x9d, 0xfe, 0x08, 0x56, 0x66, 0x1c, 0x67, 0x4d, 0x03, 0xe9, 0x60, 0x61, 0x94, 0xb1, - 0xde, 0x2b, 0xea, 0x31, 0x66, 0xf7, 0xb4, 0xb1, 0x6e, 0x43, 0xfc, 0x84, 0xed, 0xa2, 0xf5, 0x29, - 0xd6, 0xfb, 0xc5, 0x59, 0x97, 0xfb, 0xbb, 0xb7, 0x5b, 0x03, 0x69, 0xce, 0xaa, 0x1d, 0xbd, 0x13, - 0xe5, 0x51, 0x4f, 0x66, 0x1d, 0xc4, 0x5f, 0x93, 0xd1, 0x28, 0x82, 0xba, 0x32, 0x5e, 0xfc, 0xcf, - 0x54, 0x07, 0xa5, 0xf1, 0xe6, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x65, 0x77, 0xd7, 0x89, 0x01, 0x01, - 0x00, 0x00, +var file_flyteidl_plugins_mpi_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_plugins_mpi_proto_goTypes = []interface{}{ + (*DistributedMPITrainingTask)(nil), // 0: flyteidl.plugins.DistributedMPITrainingTask +} +var file_flyteidl_plugins_mpi_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_mpi_proto_init() } +func file_flyteidl_plugins_mpi_proto_init() { + if File_flyteidl_plugins_mpi_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_mpi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedMPITrainingTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_mpi_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_mpi_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_mpi_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_mpi_proto_msgTypes, + }.Build() + File_flyteidl_plugins_mpi_proto = out.File + file_flyteidl_plugins_mpi_proto_rawDesc = nil + file_flyteidl_plugins_mpi_proto_goTypes = nil + file_flyteidl_plugins_mpi_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go index 2dc6422b6d..e832baf5c6 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.go @@ -1,109 +1,187 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/presto.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // This message works with the 'presto' task type in the SDK and is the object that will be in the 'custom' field // of a Presto task's TaskTemplate type PrestoQuery struct { - RoutingGroup string `protobuf:"bytes,1,opt,name=routing_group,json=routingGroup,proto3" json:"routing_group,omitempty"` - Catalog string `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"` - Schema string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` - Statement string `protobuf:"bytes,4,opt,name=statement,proto3" json:"statement,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PrestoQuery) Reset() { *m = PrestoQuery{} } -func (m *PrestoQuery) String() string { return proto.CompactTextString(m) } -func (*PrestoQuery) ProtoMessage() {} -func (*PrestoQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_881edc23a44f4737, []int{0} + RoutingGroup string `protobuf:"bytes,1,opt,name=routing_group,json=routingGroup,proto3" json:"routing_group,omitempty"` + Catalog string `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"` + Schema string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` + Statement string `protobuf:"bytes,4,opt,name=statement,proto3" json:"statement,omitempty"` } -func (m *PrestoQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrestoQuery.Unmarshal(m, b) -} -func (m *PrestoQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrestoQuery.Marshal(b, m, deterministic) -} -func (m *PrestoQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrestoQuery.Merge(m, src) +func (x *PrestoQuery) Reset() { + *x = PrestoQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_presto_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PrestoQuery) XXX_Size() int { - return xxx_messageInfo_PrestoQuery.Size(m) + +func (x *PrestoQuery) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PrestoQuery) XXX_DiscardUnknown() { - xxx_messageInfo_PrestoQuery.DiscardUnknown(m) + +func (*PrestoQuery) ProtoMessage() {} + +func (x *PrestoQuery) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_presto_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PrestoQuery proto.InternalMessageInfo +// Deprecated: Use PrestoQuery.ProtoReflect.Descriptor instead. +func (*PrestoQuery) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_presto_proto_rawDescGZIP(), []int{0} +} -func (m *PrestoQuery) GetRoutingGroup() string { - if m != nil { - return m.RoutingGroup +func (x *PrestoQuery) GetRoutingGroup() string { + if x != nil { + return x.RoutingGroup } return "" } -func (m *PrestoQuery) GetCatalog() string { - if m != nil { - return m.Catalog +func (x *PrestoQuery) GetCatalog() string { + if x != nil { + return x.Catalog } return "" } -func (m *PrestoQuery) GetSchema() string { - if m != nil { - return m.Schema +func (x *PrestoQuery) GetSchema() string { + if x != nil { + return x.Schema } return "" } -func (m *PrestoQuery) GetStatement() string { - if m != nil { - return m.Statement +func (x *PrestoQuery) GetStatement() string { + if x != nil { + return x.Statement } return "" } -func init() { - proto.RegisterType((*PrestoQuery)(nil), "flyteidl.plugins.PrestoQuery") +var File_flyteidl_plugins_presto_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_presto_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, + 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0xc3, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x42, + 0x0b, 0x50, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, + 0x46, 0x50, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_presto_proto_rawDescOnce sync.Once + file_flyteidl_plugins_presto_proto_rawDescData = file_flyteidl_plugins_presto_proto_rawDesc +) + +func file_flyteidl_plugins_presto_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_presto_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_presto_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_presto_proto_rawDescData) + }) + return file_flyteidl_plugins_presto_proto_rawDescData } -func init() { proto.RegisterFile("flyteidl/plugins/presto.proto", fileDescriptor_881edc23a44f4737) } - -var fileDescriptor_881edc23a44f4737 = []byte{ - // 198 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0xcb, 0xa9, 0x2c, - 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x2f, 0xc8, 0x29, 0x4d, 0xcf, 0xcc, 0x2b, 0xd6, 0x2f, 0x28, 0x4a, - 0x2d, 0x2e, 0xc9, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x80, 0x49, 0xeb, 0x41, 0xa5, - 0x95, 0x9a, 0x18, 0xb9, 0xb8, 0x03, 0xc0, 0x4a, 0x02, 0x4b, 0x53, 0x8b, 0x2a, 0x85, 0x94, 0xb9, - 0x78, 0x8b, 0xf2, 0x4b, 0x4b, 0x32, 0xf3, 0xd2, 0xe3, 0xd3, 0x8b, 0xf2, 0x4b, 0x0b, 0x24, 0x18, - 0x15, 0x18, 0x35, 0x38, 0x83, 0x78, 0xa0, 0x82, 0xee, 0x20, 0x31, 0x21, 0x09, 0x2e, 0xf6, 0xe4, - 0xc4, 0x92, 0xc4, 0x9c, 0xfc, 0x74, 0x09, 0x26, 0xb0, 0x34, 0x8c, 0x2b, 0x24, 0xc6, 0xc5, 0x56, - 0x9c, 0x9c, 0x91, 0x9a, 0x9b, 0x28, 0xc1, 0x0c, 0x96, 0x80, 0xf2, 0x84, 0x64, 0xb8, 0x38, 0x8b, - 0x4b, 0x12, 0x4b, 0x52, 0x73, 0x53, 0xf3, 0x4a, 0x24, 0x58, 0xc0, 0x52, 0x08, 0x01, 0x27, 0xfb, - 0x28, 0xdb, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xb0, 0x1b, 0xf3, - 0x8b, 0xd2, 0x21, 0x0c, 0x7d, 0xb8, 0x8f, 0xd2, 0x53, 0xf3, 0xf4, 0x0b, 0x92, 0x74, 0xd3, 0xf3, - 0xf5, 0xd1, 0x3d, 0x99, 0xc4, 0x06, 0xf6, 0x9e, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xdf, - 0x0e, 0x21, 0xff, 0x00, 0x00, 0x00, +var file_flyteidl_plugins_presto_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_plugins_presto_proto_goTypes = []interface{}{ + (*PrestoQuery)(nil), // 0: flyteidl.plugins.PrestoQuery +} +var file_flyteidl_plugins_presto_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_presto_proto_init() } +func file_flyteidl_plugins_presto_proto_init() { + if File_flyteidl_plugins_presto_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_presto_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrestoQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_presto_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_presto_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_presto_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_presto_proto_msgTypes, + }.Build() + File_flyteidl_plugins_presto_proto = out.File + file_flyteidl_plugins_presto_proto_rawDesc = nil + file_flyteidl_plugins_presto_proto_goTypes = nil + file_flyteidl_plugins_presto_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go index 84dda381a4..a77ded5473 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.go @@ -1,175 +1,279 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/pytorch.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Custom proto for torch elastic config for distributed training using // https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go type ElasticConfig struct { - RdzvBackend string `protobuf:"bytes,1,opt,name=rdzv_backend,json=rdzvBackend,proto3" json:"rdzv_backend,omitempty"` - MinReplicas int32 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"` - MaxReplicas int32 `protobuf:"varint,3,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` - NprocPerNode int32 `protobuf:"varint,4,opt,name=nproc_per_node,json=nprocPerNode,proto3" json:"nproc_per_node,omitempty"` - MaxRestarts int32 `protobuf:"varint,5,opt,name=max_restarts,json=maxRestarts,proto3" json:"max_restarts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ElasticConfig) Reset() { *m = ElasticConfig{} } -func (m *ElasticConfig) String() string { return proto.CompactTextString(m) } -func (*ElasticConfig) ProtoMessage() {} -func (*ElasticConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_4df8a9374b28b766, []int{0} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ElasticConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ElasticConfig.Unmarshal(m, b) -} -func (m *ElasticConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ElasticConfig.Marshal(b, m, deterministic) + RdzvBackend string `protobuf:"bytes,1,opt,name=rdzv_backend,json=rdzvBackend,proto3" json:"rdzv_backend,omitempty"` + MinReplicas int32 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"` + MaxReplicas int32 `protobuf:"varint,3,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` + NprocPerNode int32 `protobuf:"varint,4,opt,name=nproc_per_node,json=nprocPerNode,proto3" json:"nproc_per_node,omitempty"` + MaxRestarts int32 `protobuf:"varint,5,opt,name=max_restarts,json=maxRestarts,proto3" json:"max_restarts,omitempty"` } -func (m *ElasticConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ElasticConfig.Merge(m, src) + +func (x *ElasticConfig) Reset() { + *x = ElasticConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_pytorch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ElasticConfig) XXX_Size() int { - return xxx_messageInfo_ElasticConfig.Size(m) + +func (x *ElasticConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ElasticConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ElasticConfig.DiscardUnknown(m) + +func (*ElasticConfig) ProtoMessage() {} + +func (x *ElasticConfig) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_pytorch_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ElasticConfig proto.InternalMessageInfo +// Deprecated: Use ElasticConfig.ProtoReflect.Descriptor instead. +func (*ElasticConfig) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_pytorch_proto_rawDescGZIP(), []int{0} +} -func (m *ElasticConfig) GetRdzvBackend() string { - if m != nil { - return m.RdzvBackend +func (x *ElasticConfig) GetRdzvBackend() string { + if x != nil { + return x.RdzvBackend } return "" } -func (m *ElasticConfig) GetMinReplicas() int32 { - if m != nil { - return m.MinReplicas +func (x *ElasticConfig) GetMinReplicas() int32 { + if x != nil { + return x.MinReplicas } return 0 } -func (m *ElasticConfig) GetMaxReplicas() int32 { - if m != nil { - return m.MaxReplicas +func (x *ElasticConfig) GetMaxReplicas() int32 { + if x != nil { + return x.MaxReplicas } return 0 } -func (m *ElasticConfig) GetNprocPerNode() int32 { - if m != nil { - return m.NprocPerNode +func (x *ElasticConfig) GetNprocPerNode() int32 { + if x != nil { + return x.NprocPerNode } return 0 } -func (m *ElasticConfig) GetMaxRestarts() int32 { - if m != nil { - return m.MaxRestarts +func (x *ElasticConfig) GetMaxRestarts() int32 { + if x != nil { + return x.MaxRestarts } return 0 } // Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator type DistributedPyTorchTrainingTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // number of worker replicas spawned in the cluster for this job Workers int32 `protobuf:"varint,1,opt,name=workers,proto3" json:"workers,omitempty"` // config for an elastic pytorch job - // - ElasticConfig *ElasticConfig `protobuf:"bytes,2,opt,name=elastic_config,json=elasticConfig,proto3" json:"elastic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ElasticConfig *ElasticConfig `protobuf:"bytes,2,opt,name=elastic_config,json=elasticConfig,proto3" json:"elastic_config,omitempty"` } -func (m *DistributedPyTorchTrainingTask) Reset() { *m = DistributedPyTorchTrainingTask{} } -func (m *DistributedPyTorchTrainingTask) String() string { return proto.CompactTextString(m) } -func (*DistributedPyTorchTrainingTask) ProtoMessage() {} -func (*DistributedPyTorchTrainingTask) Descriptor() ([]byte, []int) { - return fileDescriptor_4df8a9374b28b766, []int{1} +func (x *DistributedPyTorchTrainingTask) Reset() { + *x = DistributedPyTorchTrainingTask{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_pytorch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedPyTorchTrainingTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedPyTorchTrainingTask.Unmarshal(m, b) -} -func (m *DistributedPyTorchTrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedPyTorchTrainingTask.Marshal(b, m, deterministic) -} -func (m *DistributedPyTorchTrainingTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedPyTorchTrainingTask.Merge(m, src) +func (x *DistributedPyTorchTrainingTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedPyTorchTrainingTask) XXX_Size() int { - return xxx_messageInfo_DistributedPyTorchTrainingTask.Size(m) -} -func (m *DistributedPyTorchTrainingTask) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedPyTorchTrainingTask.DiscardUnknown(m) + +func (*DistributedPyTorchTrainingTask) ProtoMessage() {} + +func (x *DistributedPyTorchTrainingTask) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_pytorch_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedPyTorchTrainingTask proto.InternalMessageInfo +// Deprecated: Use DistributedPyTorchTrainingTask.ProtoReflect.Descriptor instead. +func (*DistributedPyTorchTrainingTask) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_pytorch_proto_rawDescGZIP(), []int{1} +} -func (m *DistributedPyTorchTrainingTask) GetWorkers() int32 { - if m != nil { - return m.Workers +func (x *DistributedPyTorchTrainingTask) GetWorkers() int32 { + if x != nil { + return x.Workers } return 0 } -func (m *DistributedPyTorchTrainingTask) GetElasticConfig() *ElasticConfig { - if m != nil { - return m.ElasticConfig +func (x *DistributedPyTorchTrainingTask) GetElasticConfig() *ElasticConfig { + if x != nil { + return x.ElasticConfig } return nil } -func init() { - proto.RegisterType((*ElasticConfig)(nil), "flyteidl.plugins.ElasticConfig") - proto.RegisterType((*DistributedPyTorchTrainingTask)(nil), "flyteidl.plugins.DistributedPyTorchTrainingTask") -} - -func init() { proto.RegisterFile("flyteidl/plugins/pytorch.proto", fileDescriptor_4df8a9374b28b766) } - -var fileDescriptor_4df8a9374b28b766 = []byte{ - // 300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xbd, 0x4f, 0xc3, 0x30, - 0x10, 0xc5, 0x15, 0xa0, 0x20, 0xdc, 0x0f, 0xa1, 0x4c, 0x99, 0x4a, 0xa9, 0x18, 0xba, 0x90, 0x48, - 0x30, 0x23, 0xa4, 0xf2, 0x31, 0xa2, 0x2a, 0xea, 0xc4, 0x12, 0x39, 0xf6, 0xd5, 0x3d, 0x35, 0xb5, - 0xad, 0xb3, 0x0b, 0x2d, 0x23, 0xff, 0x19, 0xff, 0x19, 0xaa, 0xd3, 0x2f, 0xba, 0xf9, 0xde, 0xfd, - 0x7c, 0xd2, 0x7b, 0x8f, 0x75, 0x27, 0xd5, 0xca, 0x03, 0xca, 0x2a, 0xb3, 0xd5, 0x42, 0xa1, 0x76, - 0x99, 0x5d, 0x79, 0x43, 0x62, 0x9a, 0x5a, 0x32, 0xde, 0xc4, 0x57, 0xdb, 0x7d, 0xba, 0xd9, 0xf7, - 0x7f, 0x23, 0xd6, 0x7e, 0xad, 0xb8, 0xf3, 0x28, 0x9e, 0x8d, 0x9e, 0xa0, 0x8a, 0x6f, 0x58, 0x8b, - 0xe4, 0xf7, 0x67, 0x51, 0x72, 0x31, 0x03, 0x2d, 0x93, 0xa8, 0x17, 0x0d, 0x2e, 0xf3, 0xe6, 0x5a, - 0x1b, 0xd6, 0xd2, 0x1a, 0x99, 0xa3, 0x2e, 0x08, 0x6c, 0x85, 0x82, 0xbb, 0xe4, 0xa4, 0x17, 0x0d, - 0x1a, 0x79, 0x73, 0x8e, 0x3a, 0xdf, 0x48, 0x01, 0xe1, 0xcb, 0x3d, 0x72, 0xba, 0x41, 0xf8, 0x72, - 0x87, 0xdc, 0xb2, 0x8e, 0xb6, 0x64, 0x44, 0x61, 0x81, 0x0a, 0x6d, 0x24, 0x24, 0x67, 0x01, 0x6a, - 0x05, 0x75, 0x04, 0xf4, 0x6e, 0x24, 0xec, 0x0f, 0x39, 0xcf, 0xc9, 0xbb, 0xa4, 0x71, 0x70, 0xa8, - 0x96, 0xfa, 0x3f, 0x11, 0xeb, 0xbe, 0xa0, 0xf3, 0x84, 0xe5, 0xc2, 0x83, 0x1c, 0xad, 0xc6, 0x6b, - 0xcb, 0x63, 0xe2, 0xa8, 0x51, 0xab, 0x31, 0x77, 0xb3, 0x38, 0x61, 0x17, 0x5f, 0x86, 0x66, 0x40, - 0x2e, 0xf8, 0x69, 0xe4, 0xdb, 0x31, 0x7e, 0x63, 0x1d, 0xa8, 0xfd, 0x17, 0x22, 0x04, 0x10, 0xdc, - 0x34, 0xef, 0xaf, 0xd3, 0xe3, 0xac, 0xd2, 0x7f, 0x39, 0xe5, 0x6d, 0x38, 0x1c, 0x87, 0x4f, 0x1f, - 0x8f, 0x0a, 0xfd, 0x74, 0x51, 0xa6, 0xc2, 0xcc, 0xb3, 0xf0, 0xd7, 0x90, 0xaa, 0x1f, 0xd9, 0xae, - 0x16, 0x05, 0x3a, 0xb3, 0xe5, 0x9d, 0x32, 0xd9, 0x71, 0x53, 0xe5, 0x79, 0xa8, 0xe8, 0xe1, 0x2f, - 0x00, 0x00, 0xff, 0xff, 0xdb, 0xc8, 0x1d, 0x82, 0xc4, 0x01, 0x00, 0x00, +var File_flyteidl_plugins_pytorch_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_pytorch_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x70, 0x79, 0x74, 0x6f, 0x72, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x0d, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x64, 0x7a, 0x76, 0x5f, 0x62, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x64, 0x7a, 0x76, + 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x5f, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, + 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, + 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x24, 0x0a, + 0x0e, 0x6e, 0x70, 0x72, 0x6f, 0x63, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6e, 0x70, 0x72, 0x6f, 0x63, 0x50, 0x65, 0x72, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x73, 0x22, 0x82, 0x01, 0x0a, 0x1e, 0x44, 0x69, 0x73, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x50, 0x79, 0x54, 0x6f, 0x72, 0x63, 0x68, 0x54, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x73, 0x12, 0x46, 0x0a, 0x0e, 0x65, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x45, + 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x65, 0x6c, + 0x61, 0x73, 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xc4, 0x01, 0x0a, 0x14, + 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, + 0x67, 0x69, 0x6e, 0x73, 0x42, 0x0c, 0x50, 0x79, 0x74, 0x6f, 0x72, 0x63, 0x68, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, + 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, + 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_pytorch_proto_rawDescOnce sync.Once + file_flyteidl_plugins_pytorch_proto_rawDescData = file_flyteidl_plugins_pytorch_proto_rawDesc +) + +func file_flyteidl_plugins_pytorch_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_pytorch_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_pytorch_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_pytorch_proto_rawDescData) + }) + return file_flyteidl_plugins_pytorch_proto_rawDescData +} + +var file_flyteidl_plugins_pytorch_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flyteidl_plugins_pytorch_proto_goTypes = []interface{}{ + (*ElasticConfig)(nil), // 0: flyteidl.plugins.ElasticConfig + (*DistributedPyTorchTrainingTask)(nil), // 1: flyteidl.plugins.DistributedPyTorchTrainingTask +} +var file_flyteidl_plugins_pytorch_proto_depIdxs = []int32{ + 0, // 0: flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config:type_name -> flyteidl.plugins.ElasticConfig + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_pytorch_proto_init() } +func file_flyteidl_plugins_pytorch_proto_init() { + if File_flyteidl_plugins_pytorch_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_pytorch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ElasticConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_pytorch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedPyTorchTrainingTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_pytorch_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_pytorch_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_pytorch_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_pytorch_proto_msgTypes, + }.Build() + File_flyteidl_plugins_pytorch_proto = out.File + file_flyteidl_plugins_pytorch_proto_rawDesc = nil + file_flyteidl_plugins_pytorch_proto_goTypes = nil + file_flyteidl_plugins_pytorch_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go index 6883115069..9b7a16bbe6 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.go @@ -1,117 +1,133 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/qubole.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Defines a query to execute on a hive cluster. type HiveQuery struct { - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - TimeoutSec uint32 `protobuf:"varint,2,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"` - RetryCount uint32 `protobuf:"varint,3,opt,name=retryCount,proto3" json:"retryCount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *HiveQuery) Reset() { *m = HiveQuery{} } -func (m *HiveQuery) String() string { return proto.CompactTextString(m) } -func (*HiveQuery) ProtoMessage() {} -func (*HiveQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_7cb86d766c12ee2e, []int{0} + Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + TimeoutSec uint32 `protobuf:"varint,2,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"` + RetryCount uint32 `protobuf:"varint,3,opt,name=retryCount,proto3" json:"retryCount,omitempty"` } -func (m *HiveQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HiveQuery.Unmarshal(m, b) -} -func (m *HiveQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HiveQuery.Marshal(b, m, deterministic) -} -func (m *HiveQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_HiveQuery.Merge(m, src) +func (x *HiveQuery) Reset() { + *x = HiveQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_qubole_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HiveQuery) XXX_Size() int { - return xxx_messageInfo_HiveQuery.Size(m) + +func (x *HiveQuery) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HiveQuery) XXX_DiscardUnknown() { - xxx_messageInfo_HiveQuery.DiscardUnknown(m) + +func (*HiveQuery) ProtoMessage() {} + +func (x *HiveQuery) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_qubole_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_HiveQuery proto.InternalMessageInfo +// Deprecated: Use HiveQuery.ProtoReflect.Descriptor instead. +func (*HiveQuery) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_qubole_proto_rawDescGZIP(), []int{0} +} -func (m *HiveQuery) GetQuery() string { - if m != nil { - return m.Query +func (x *HiveQuery) GetQuery() string { + if x != nil { + return x.Query } return "" } -func (m *HiveQuery) GetTimeoutSec() uint32 { - if m != nil { - return m.TimeoutSec +func (x *HiveQuery) GetTimeoutSec() uint32 { + if x != nil { + return x.TimeoutSec } return 0 } -func (m *HiveQuery) GetRetryCount() uint32 { - if m != nil { - return m.RetryCount +func (x *HiveQuery) GetRetryCount() uint32 { + if x != nil { + return x.RetryCount } return 0 } // Defines a collection of hive queries. type HiveQueryCollection struct { - Queries []*HiveQuery `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *HiveQueryCollection) Reset() { *m = HiveQueryCollection{} } -func (m *HiveQueryCollection) String() string { return proto.CompactTextString(m) } -func (*HiveQueryCollection) ProtoMessage() {} -func (*HiveQueryCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_7cb86d766c12ee2e, []int{1} + Queries []*HiveQuery `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"` } -func (m *HiveQueryCollection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HiveQueryCollection.Unmarshal(m, b) -} -func (m *HiveQueryCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HiveQueryCollection.Marshal(b, m, deterministic) -} -func (m *HiveQueryCollection) XXX_Merge(src proto.Message) { - xxx_messageInfo_HiveQueryCollection.Merge(m, src) +func (x *HiveQueryCollection) Reset() { + *x = HiveQueryCollection{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_qubole_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HiveQueryCollection) XXX_Size() int { - return xxx_messageInfo_HiveQueryCollection.Size(m) + +func (x *HiveQueryCollection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HiveQueryCollection) XXX_DiscardUnknown() { - xxx_messageInfo_HiveQueryCollection.DiscardUnknown(m) + +func (*HiveQueryCollection) ProtoMessage() {} + +func (x *HiveQueryCollection) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_qubole_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_HiveQueryCollection proto.InternalMessageInfo +// Deprecated: Use HiveQueryCollection.ProtoReflect.Descriptor instead. +func (*HiveQueryCollection) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_qubole_proto_rawDescGZIP(), []int{1} +} -func (m *HiveQueryCollection) GetQueries() []*HiveQuery { - if m != nil { - return m.Queries +func (x *HiveQueryCollection) GetQueries() []*HiveQuery { + if x != nil { + return x.Queries } return nil } @@ -119,97 +135,212 @@ func (m *HiveQueryCollection) GetQueries() []*HiveQuery { // This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field // of a hive task's TaskTemplate type QuboleHiveJob struct { - ClusterLabel string `protobuf:"bytes,1,opt,name=cluster_label,json=clusterLabel,proto3" json:"cluster_label,omitempty"` - QueryCollection *HiveQueryCollection `protobuf:"bytes,2,opt,name=query_collection,json=queryCollection,proto3" json:"query_collection,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` - Query *HiveQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QuboleHiveJob) Reset() { *m = QuboleHiveJob{} } -func (m *QuboleHiveJob) String() string { return proto.CompactTextString(m) } -func (*QuboleHiveJob) ProtoMessage() {} -func (*QuboleHiveJob) Descriptor() ([]byte, []int) { - return fileDescriptor_7cb86d766c12ee2e, []int{2} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *QuboleHiveJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuboleHiveJob.Unmarshal(m, b) -} -func (m *QuboleHiveJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuboleHiveJob.Marshal(b, m, deterministic) + ClusterLabel string `protobuf:"bytes,1,opt,name=cluster_label,json=clusterLabel,proto3" json:"cluster_label,omitempty"` + // Deprecated: Marked as deprecated in flyteidl/plugins/qubole.proto. + QueryCollection *HiveQueryCollection `protobuf:"bytes,2,opt,name=query_collection,json=queryCollection,proto3" json:"query_collection,omitempty"` + Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` + Query *HiveQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` } -func (m *QuboleHiveJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuboleHiveJob.Merge(m, src) + +func (x *QuboleHiveJob) Reset() { + *x = QuboleHiveJob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_qubole_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *QuboleHiveJob) XXX_Size() int { - return xxx_messageInfo_QuboleHiveJob.Size(m) + +func (x *QuboleHiveJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *QuboleHiveJob) XXX_DiscardUnknown() { - xxx_messageInfo_QuboleHiveJob.DiscardUnknown(m) + +func (*QuboleHiveJob) ProtoMessage() {} + +func (x *QuboleHiveJob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_qubole_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_QuboleHiveJob proto.InternalMessageInfo +// Deprecated: Use QuboleHiveJob.ProtoReflect.Descriptor instead. +func (*QuboleHiveJob) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_qubole_proto_rawDescGZIP(), []int{2} +} -func (m *QuboleHiveJob) GetClusterLabel() string { - if m != nil { - return m.ClusterLabel +func (x *QuboleHiveJob) GetClusterLabel() string { + if x != nil { + return x.ClusterLabel } return "" } -// Deprecated: Do not use. -func (m *QuboleHiveJob) GetQueryCollection() *HiveQueryCollection { - if m != nil { - return m.QueryCollection +// Deprecated: Marked as deprecated in flyteidl/plugins/qubole.proto. +func (x *QuboleHiveJob) GetQueryCollection() *HiveQueryCollection { + if x != nil { + return x.QueryCollection } return nil } -func (m *QuboleHiveJob) GetTags() []string { - if m != nil { - return m.Tags +func (x *QuboleHiveJob) GetTags() []string { + if x != nil { + return x.Tags } return nil } -func (m *QuboleHiveJob) GetQuery() *HiveQuery { - if m != nil { - return m.Query +func (x *QuboleHiveJob) GetQuery() *HiveQuery { + if x != nil { + return x.Query } return nil } -func init() { - proto.RegisterType((*HiveQuery)(nil), "flyteidl.plugins.HiveQuery") - proto.RegisterType((*HiveQueryCollection)(nil), "flyteidl.plugins.HiveQueryCollection") - proto.RegisterType((*QuboleHiveJob)(nil), "flyteidl.plugins.QuboleHiveJob") -} - -func init() { proto.RegisterFile("flyteidl/plugins/qubole.proto", fileDescriptor_7cb86d766c12ee2e) } - -var fileDescriptor_7cb86d766c12ee2e = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0xa5, 0xeb, 0x54, 0xf6, 0xcd, 0xe1, 0x88, 0x1e, 0x0a, 0xa2, 0x96, 0x89, 0xd0, 0x8b, 0x0d, - 0x4e, 0x3c, 0x8a, 0xb0, 0x5d, 0x44, 0x76, 0x59, 0xf5, 0xe4, 0x65, 0x2c, 0xf1, 0x33, 0x06, 0xb2, - 0x66, 0x4b, 0x13, 0x61, 0x3f, 0xd3, 0x7f, 0x24, 0x4d, 0xbb, 0x0e, 0x7a, 0xd8, 0xed, 0xcb, 0x7b, - 0x5f, 0xf2, 0xde, 0xcb, 0x83, 0xab, 0x6f, 0xb5, 0xb5, 0x28, 0xbf, 0x14, 0x5d, 0x2b, 0x27, 0x64, - 0x5e, 0xd0, 0x8d, 0x63, 0x5a, 0x61, 0xba, 0x36, 0xda, 0x6a, 0x32, 0xdc, 0xd1, 0x69, 0x4d, 0x8f, - 0x18, 0xf4, 0x5e, 0xe5, 0x2f, 0xce, 0x1d, 0x9a, 0x2d, 0xb9, 0x80, 0xa3, 0x4d, 0x39, 0x44, 0x41, - 0x1c, 0x24, 0xbd, 0xac, 0x3a, 0x90, 0x1b, 0xe8, 0x5b, 0xb9, 0x42, 0xed, 0xec, 0xa2, 0x40, 0x1e, - 0x75, 0xe2, 0x20, 0x19, 0x64, 0x50, 0x43, 0xef, 0xc8, 0xc9, 0x35, 0x80, 0x41, 0x6b, 0xb6, 0x53, - 0xed, 0x72, 0x1b, 0x85, 0x15, 0xbf, 0x47, 0x46, 0x33, 0x38, 0x6f, 0x34, 0xa6, 0x5a, 0x29, 0xe4, - 0x56, 0xea, 0x9c, 0x3c, 0xc1, 0x49, 0x29, 0x20, 0xb1, 0x88, 0x3a, 0x71, 0x98, 0xf4, 0xc7, 0x97, - 0x69, 0xdb, 0x5e, 0xda, 0xdc, 0xcb, 0x76, 0xbb, 0xa3, 0xbf, 0x00, 0x06, 0x73, 0x1f, 0xaa, 0x24, - 0xdf, 0x34, 0x23, 0xb7, 0x30, 0xe0, 0xca, 0x15, 0x16, 0xcd, 0x42, 0x2d, 0x19, 0xaa, 0xda, 0xfe, - 0x69, 0x0d, 0xce, 0x4a, 0x8c, 0x7c, 0xc0, 0xd0, 0xc7, 0x59, 0xf0, 0xc6, 0x81, 0x8f, 0xd2, 0x1f, - 0xdf, 0x1d, 0x90, 0xdd, 0xdb, 0x9d, 0x74, 0xa2, 0x20, 0x3b, 0xdb, 0xb4, 0x32, 0x10, 0xe8, 0xda, - 0xa5, 0x28, 0xa2, 0x30, 0x0e, 0x93, 0x5e, 0xe6, 0x67, 0xf2, 0xb0, 0xfb, 0xc5, 0xae, 0x7f, 0xfe, - 0x60, 0xaa, 0x6a, 0x73, 0xf2, 0xf2, 0xf9, 0x2c, 0xa4, 0xfd, 0x71, 0x2c, 0xe5, 0x7a, 0x45, 0xfd, - 0xbe, 0x36, 0xa2, 0x1a, 0x68, 0x53, 0xa9, 0xc0, 0x9c, 0xae, 0xd9, 0xbd, 0xd0, 0xb4, 0xdd, 0x32, - 0x3b, 0xf6, 0xfd, 0x3e, 0xfe, 0x07, 0x00, 0x00, 0xff, 0xff, 0xee, 0x0b, 0x00, 0x6a, 0x00, 0x02, - 0x00, 0x00, +var File_flyteidl_plugins_qubole_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_qubole_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x71, 0x75, 0x62, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x22, 0x62, 0x0a, 0x09, 0x48, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, + 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x53, 0x65, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x13, 0x48, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x07, + 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x2e, 0x48, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x0d, 0x51, 0x75, 0x62, 0x6f, 0x6c, 0x65, 0x48, 0x69, + 0x76, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x54, 0x0a, 0x10, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x48, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x0f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x48, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x42, 0xc3, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x42, 0x0b, 0x51, 0x75, 0x62, 0x6f, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, + 0x03, 0x46, 0x50, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_qubole_proto_rawDescOnce sync.Once + file_flyteidl_plugins_qubole_proto_rawDescData = file_flyteidl_plugins_qubole_proto_rawDesc +) + +func file_flyteidl_plugins_qubole_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_qubole_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_qubole_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_qubole_proto_rawDescData) + }) + return file_flyteidl_plugins_qubole_proto_rawDescData +} + +var file_flyteidl_plugins_qubole_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flyteidl_plugins_qubole_proto_goTypes = []interface{}{ + (*HiveQuery)(nil), // 0: flyteidl.plugins.HiveQuery + (*HiveQueryCollection)(nil), // 1: flyteidl.plugins.HiveQueryCollection + (*QuboleHiveJob)(nil), // 2: flyteidl.plugins.QuboleHiveJob +} +var file_flyteidl_plugins_qubole_proto_depIdxs = []int32{ + 0, // 0: flyteidl.plugins.HiveQueryCollection.queries:type_name -> flyteidl.plugins.HiveQuery + 1, // 1: flyteidl.plugins.QuboleHiveJob.query_collection:type_name -> flyteidl.plugins.HiveQueryCollection + 0, // 2: flyteidl.plugins.QuboleHiveJob.query:type_name -> flyteidl.plugins.HiveQuery + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_qubole_proto_init() } +func file_flyteidl_plugins_qubole_proto_init() { + if File_flyteidl_plugins_qubole_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_qubole_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HiveQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_qubole_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HiveQueryCollection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_qubole_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuboleHiveJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_qubole_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_qubole_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_qubole_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_qubole_proto_msgTypes, + }.Build() + File_flyteidl_plugins_qubole_proto = out.File + file_flyteidl_plugins_qubole_proto_rawDesc = nil + file_flyteidl_plugins_qubole_proto_goTypes = nil + file_flyteidl_plugins_qubole_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go index b092b143cc..8e4483fabc 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go @@ -1,27 +1,31 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/ray.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // RayJobSpec defines the desired state of RayJob type RayJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // RayClusterSpec is the cluster template to run the job RayCluster *RayCluster `protobuf:"bytes,1,opt,name=ray_cluster,json=rayCluster,proto3" json:"ray_cluster,omitempty"` // runtime_env is base64 encoded. @@ -30,168 +34,192 @@ type RayJob struct { // shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes. ShutdownAfterJobFinishes bool `protobuf:"varint,3,opt,name=shutdown_after_job_finishes,json=shutdownAfterJobFinishes,proto3" json:"shutdown_after_job_finishes,omitempty"` // ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes. - TtlSecondsAfterFinished int32 `protobuf:"varint,4,opt,name=ttl_seconds_after_finished,json=ttlSecondsAfterFinished,proto3" json:"ttl_seconds_after_finished,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TtlSecondsAfterFinished int32 `protobuf:"varint,4,opt,name=ttl_seconds_after_finished,json=ttlSecondsAfterFinished,proto3" json:"ttl_seconds_after_finished,omitempty"` } -func (m *RayJob) Reset() { *m = RayJob{} } -func (m *RayJob) String() string { return proto.CompactTextString(m) } -func (*RayJob) ProtoMessage() {} -func (*RayJob) Descriptor() ([]byte, []int) { - return fileDescriptor_b980f6d58c7489d7, []int{0} +func (x *RayJob) Reset() { + *x = RayJob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RayJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RayJob.Unmarshal(m, b) -} -func (m *RayJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RayJob.Marshal(b, m, deterministic) -} -func (m *RayJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_RayJob.Merge(m, src) +func (x *RayJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RayJob) XXX_Size() int { - return xxx_messageInfo_RayJob.Size(m) -} -func (m *RayJob) XXX_DiscardUnknown() { - xxx_messageInfo_RayJob.DiscardUnknown(m) + +func (*RayJob) ProtoMessage() {} + +func (x *RayJob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RayJob proto.InternalMessageInfo +// Deprecated: Use RayJob.ProtoReflect.Descriptor instead. +func (*RayJob) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_ray_proto_rawDescGZIP(), []int{0} +} -func (m *RayJob) GetRayCluster() *RayCluster { - if m != nil { - return m.RayCluster +func (x *RayJob) GetRayCluster() *RayCluster { + if x != nil { + return x.RayCluster } return nil } -func (m *RayJob) GetRuntimeEnv() string { - if m != nil { - return m.RuntimeEnv +func (x *RayJob) GetRuntimeEnv() string { + if x != nil { + return x.RuntimeEnv } return "" } -func (m *RayJob) GetShutdownAfterJobFinishes() bool { - if m != nil { - return m.ShutdownAfterJobFinishes +func (x *RayJob) GetShutdownAfterJobFinishes() bool { + if x != nil { + return x.ShutdownAfterJobFinishes } return false } -func (m *RayJob) GetTtlSecondsAfterFinished() int32 { - if m != nil { - return m.TtlSecondsAfterFinished +func (x *RayJob) GetTtlSecondsAfterFinished() int32 { + if x != nil { + return x.TtlSecondsAfterFinished } return 0 } // Define Ray cluster defines the desired state of RayCluster type RayCluster struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // HeadGroupSpecs are the spec for the head pod HeadGroupSpec *HeadGroupSpec `protobuf:"bytes,1,opt,name=head_group_spec,json=headGroupSpec,proto3" json:"head_group_spec,omitempty"` // WorkerGroupSpecs are the specs for the worker pods WorkerGroupSpec []*WorkerGroupSpec `protobuf:"bytes,2,rep,name=worker_group_spec,json=workerGroupSpec,proto3" json:"worker_group_spec,omitempty"` // Whether to enable autoscaling. - EnableAutoscaling bool `protobuf:"varint,3,opt,name=enable_autoscaling,json=enableAutoscaling,proto3" json:"enable_autoscaling,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EnableAutoscaling bool `protobuf:"varint,3,opt,name=enable_autoscaling,json=enableAutoscaling,proto3" json:"enable_autoscaling,omitempty"` } -func (m *RayCluster) Reset() { *m = RayCluster{} } -func (m *RayCluster) String() string { return proto.CompactTextString(m) } -func (*RayCluster) ProtoMessage() {} -func (*RayCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_b980f6d58c7489d7, []int{1} +func (x *RayCluster) Reset() { + *x = RayCluster{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RayCluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RayCluster.Unmarshal(m, b) -} -func (m *RayCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RayCluster.Marshal(b, m, deterministic) -} -func (m *RayCluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_RayCluster.Merge(m, src) -} -func (m *RayCluster) XXX_Size() int { - return xxx_messageInfo_RayCluster.Size(m) +func (x *RayCluster) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RayCluster) XXX_DiscardUnknown() { - xxx_messageInfo_RayCluster.DiscardUnknown(m) + +func (*RayCluster) ProtoMessage() {} + +func (x *RayCluster) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RayCluster proto.InternalMessageInfo +// Deprecated: Use RayCluster.ProtoReflect.Descriptor instead. +func (*RayCluster) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_ray_proto_rawDescGZIP(), []int{1} +} -func (m *RayCluster) GetHeadGroupSpec() *HeadGroupSpec { - if m != nil { - return m.HeadGroupSpec +func (x *RayCluster) GetHeadGroupSpec() *HeadGroupSpec { + if x != nil { + return x.HeadGroupSpec } return nil } -func (m *RayCluster) GetWorkerGroupSpec() []*WorkerGroupSpec { - if m != nil { - return m.WorkerGroupSpec +func (x *RayCluster) GetWorkerGroupSpec() []*WorkerGroupSpec { + if x != nil { + return x.WorkerGroupSpec } return nil } -func (m *RayCluster) GetEnableAutoscaling() bool { - if m != nil { - return m.EnableAutoscaling +func (x *RayCluster) GetEnableAutoscaling() bool { + if x != nil { + return x.EnableAutoscaling } return false } // HeadGroupSpec are the spec for the head pod type HeadGroupSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Optional. RayStartParams are the params of the start command: address, object-store-memory. // Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start - RayStartParams map[string]string `protobuf:"bytes,1,rep,name=ray_start_params,json=rayStartParams,proto3" json:"ray_start_params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RayStartParams map[string]string `protobuf:"bytes,1,rep,name=ray_start_params,json=rayStartParams,proto3" json:"ray_start_params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *HeadGroupSpec) Reset() { *m = HeadGroupSpec{} } -func (m *HeadGroupSpec) String() string { return proto.CompactTextString(m) } -func (*HeadGroupSpec) ProtoMessage() {} -func (*HeadGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_b980f6d58c7489d7, []int{2} +func (x *HeadGroupSpec) Reset() { + *x = HeadGroupSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HeadGroupSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HeadGroupSpec.Unmarshal(m, b) -} -func (m *HeadGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HeadGroupSpec.Marshal(b, m, deterministic) -} -func (m *HeadGroupSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HeadGroupSpec.Merge(m, src) +func (x *HeadGroupSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HeadGroupSpec) XXX_Size() int { - return xxx_messageInfo_HeadGroupSpec.Size(m) -} -func (m *HeadGroupSpec) XXX_DiscardUnknown() { - xxx_messageInfo_HeadGroupSpec.DiscardUnknown(m) + +func (*HeadGroupSpec) ProtoMessage() {} + +func (x *HeadGroupSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_HeadGroupSpec proto.InternalMessageInfo +// Deprecated: Use HeadGroupSpec.ProtoReflect.Descriptor instead. +func (*HeadGroupSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_ray_proto_rawDescGZIP(), []int{2} +} -func (m *HeadGroupSpec) GetRayStartParams() map[string]string { - if m != nil { - return m.RayStartParams +func (x *HeadGroupSpec) GetRayStartParams() map[string]string { + if x != nil { + return x.RayStartParams } return nil } // WorkerGroupSpec are the specs for the worker pods type WorkerGroupSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Required. RayCluster can have multiple worker groups, and it distinguishes them by name GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // Required. Desired replicas of the worker group. Defaults to 1. @@ -202,115 +230,261 @@ type WorkerGroupSpec struct { MaxReplicas int32 `protobuf:"varint,4,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` // Optional. RayStartParams are the params of the start command: address, object-store-memory. // Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start - RayStartParams map[string]string `protobuf:"bytes,5,rep,name=ray_start_params,json=rayStartParams,proto3" json:"ray_start_params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RayStartParams map[string]string `protobuf:"bytes,5,rep,name=ray_start_params,json=rayStartParams,proto3" json:"ray_start_params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *WorkerGroupSpec) Reset() { *m = WorkerGroupSpec{} } -func (m *WorkerGroupSpec) String() string { return proto.CompactTextString(m) } -func (*WorkerGroupSpec) ProtoMessage() {} -func (*WorkerGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_b980f6d58c7489d7, []int{3} +func (x *WorkerGroupSpec) Reset() { + *x = WorkerGroupSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkerGroupSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkerGroupSpec.Unmarshal(m, b) +func (x *WorkerGroupSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkerGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkerGroupSpec.Marshal(b, m, deterministic) -} -func (m *WorkerGroupSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkerGroupSpec.Merge(m, src) -} -func (m *WorkerGroupSpec) XXX_Size() int { - return xxx_messageInfo_WorkerGroupSpec.Size(m) -} -func (m *WorkerGroupSpec) XXX_DiscardUnknown() { - xxx_messageInfo_WorkerGroupSpec.DiscardUnknown(m) + +func (*WorkerGroupSpec) ProtoMessage() {} + +func (x *WorkerGroupSpec) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_ray_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WorkerGroupSpec proto.InternalMessageInfo +// Deprecated: Use WorkerGroupSpec.ProtoReflect.Descriptor instead. +func (*WorkerGroupSpec) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_ray_proto_rawDescGZIP(), []int{3} +} -func (m *WorkerGroupSpec) GetGroupName() string { - if m != nil { - return m.GroupName +func (x *WorkerGroupSpec) GetGroupName() string { + if x != nil { + return x.GroupName } return "" } -func (m *WorkerGroupSpec) GetReplicas() int32 { - if m != nil { - return m.Replicas +func (x *WorkerGroupSpec) GetReplicas() int32 { + if x != nil { + return x.Replicas } return 0 } -func (m *WorkerGroupSpec) GetMinReplicas() int32 { - if m != nil { - return m.MinReplicas +func (x *WorkerGroupSpec) GetMinReplicas() int32 { + if x != nil { + return x.MinReplicas } return 0 } -func (m *WorkerGroupSpec) GetMaxReplicas() int32 { - if m != nil { - return m.MaxReplicas +func (x *WorkerGroupSpec) GetMaxReplicas() int32 { + if x != nil { + return x.MaxReplicas } return 0 } -func (m *WorkerGroupSpec) GetRayStartParams() map[string]string { - if m != nil { - return m.RayStartParams +func (x *WorkerGroupSpec) GetRayStartParams() map[string]string { + if x != nil { + return x.RayStartParams } return nil } -func init() { - proto.RegisterType((*RayJob)(nil), "flyteidl.plugins.RayJob") - proto.RegisterType((*RayCluster)(nil), "flyteidl.plugins.RayCluster") - proto.RegisterType((*HeadGroupSpec)(nil), "flyteidl.plugins.HeadGroupSpec") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry") - proto.RegisterType((*WorkerGroupSpec)(nil), "flyteidl.plugins.WorkerGroupSpec") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry") -} - -func init() { proto.RegisterFile("flyteidl/plugins/ray.proto", fileDescriptor_b980f6d58c7489d7) } - -var fileDescriptor_b980f6d58c7489d7 = []byte{ - // 512 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xdd, 0x6a, 0xdb, 0x30, - 0x14, 0xc6, 0x49, 0x53, 0x9a, 0x93, 0x75, 0x49, 0xb5, 0xc1, 0x4c, 0xb6, 0xd1, 0x34, 0x57, 0xb9, - 0x69, 0x0c, 0x2d, 0x83, 0xb1, 0x11, 0x46, 0x36, 0xba, 0x8e, 0xc2, 0xc6, 0x50, 0x2e, 0x06, 0x83, - 0x21, 0x64, 0x5b, 0x71, 0xbc, 0xda, 0x92, 0x91, 0xe4, 0xa4, 0x7e, 0xac, 0xdd, 0xec, 0x45, 0xf6, - 0x0a, 0x7b, 0x90, 0x61, 0x59, 0x75, 0x7e, 0x5a, 0xe8, 0xdd, 0xee, 0xa4, 0xf3, 0xfd, 0x70, 0xce, - 0x77, 0x6c, 0x41, 0x7f, 0x9e, 0x14, 0x9a, 0xc5, 0x61, 0xe2, 0x65, 0x49, 0x1e, 0xc5, 0x5c, 0x79, - 0x92, 0x16, 0xe3, 0x4c, 0x0a, 0x2d, 0x50, 0xef, 0x16, 0x1b, 0x5b, 0x6c, 0xf8, 0xd7, 0x81, 0x7d, - 0x4c, 0x8b, 0x2b, 0xe1, 0xa3, 0x09, 0x74, 0x24, 0x2d, 0x48, 0x90, 0xe4, 0x4a, 0x33, 0xe9, 0x3a, - 0x03, 0x67, 0xd4, 0x39, 0x7b, 0x31, 0xde, 0x95, 0x8c, 0x31, 0x2d, 0x3e, 0x54, 0x1c, 0x0c, 0xb2, - 0x3e, 0xa3, 0x63, 0xe8, 0xc8, 0x9c, 0xeb, 0x38, 0x65, 0x84, 0xf1, 0xa5, 0xdb, 0x18, 0x38, 0xa3, - 0x36, 0x06, 0x5b, 0xba, 0xe0, 0x4b, 0x34, 0x81, 0xe7, 0x6a, 0x91, 0xeb, 0x50, 0xac, 0x38, 0xa1, - 0x73, 0xcd, 0x24, 0xf9, 0x29, 0x7c, 0x32, 0x8f, 0x79, 0xac, 0x16, 0x4c, 0xb9, 0xcd, 0x81, 0x33, - 0x3a, 0xc0, 0xee, 0x2d, 0x65, 0x5a, 0x32, 0xae, 0x84, 0xff, 0xd1, 0xe2, 0xe8, 0x2d, 0xf4, 0xb5, - 0x4e, 0x88, 0x62, 0x81, 0xe0, 0xa1, 0xb2, 0x0e, 0x56, 0x1d, 0xba, 0x7b, 0x03, 0x67, 0xd4, 0xc2, - 0xcf, 0xb4, 0x4e, 0x66, 0x15, 0xc1, 0xe8, 0xad, 0x38, 0x1c, 0xfe, 0x71, 0x00, 0xd6, 0x7d, 0xa3, - 0x4b, 0xe8, 0x2e, 0x18, 0x0d, 0x49, 0x24, 0x45, 0x9e, 0x11, 0x95, 0xb1, 0xc0, 0x8e, 0x7b, 0x7c, - 0x77, 0xdc, 0x4f, 0x8c, 0x86, 0x97, 0x25, 0x6f, 0x96, 0xb1, 0x00, 0x1f, 0x2e, 0x36, 0xaf, 0xe8, - 0x33, 0x1c, 0xad, 0x84, 0xbc, 0x66, 0x72, 0xd3, 0xaa, 0x31, 0x68, 0x8e, 0x3a, 0x67, 0x27, 0x77, - 0xad, 0xbe, 0x19, 0xea, 0xda, 0xac, 0xbb, 0xda, 0x2e, 0xa0, 0x53, 0x40, 0x8c, 0x53, 0x3f, 0x61, - 0x84, 0xe6, 0x5a, 0xa8, 0x80, 0x26, 0x31, 0x8f, 0x6c, 0x32, 0x47, 0x15, 0x32, 0x5d, 0x03, 0xc3, - 0x5f, 0x0e, 0x1c, 0x6e, 0xb5, 0x87, 0x7e, 0x40, 0xaf, 0xdc, 0xa1, 0xd2, 0x54, 0x6a, 0x92, 0x51, - 0x49, 0x53, 0xe5, 0x3a, 0xa6, 0x9d, 0xf3, 0x07, 0x26, 0x2b, 0xd7, 0x3a, 0x2b, 0x65, 0x5f, 0x8d, - 0xea, 0x82, 0x6b, 0x59, 0xe0, 0xc7, 0x72, 0xab, 0xd8, 0x9f, 0xc2, 0x93, 0x7b, 0x68, 0xa8, 0x07, - 0xcd, 0x6b, 0x56, 0x98, 0x08, 0xdb, 0xb8, 0x3c, 0xa2, 0xa7, 0xd0, 0x5a, 0xd2, 0x24, 0x67, 0xf6, - 0x33, 0xa8, 0x2e, 0x6f, 0x1a, 0xaf, 0x9d, 0xe1, 0xef, 0x06, 0x74, 0x77, 0x72, 0x40, 0x2f, 0x01, - 0xaa, 0xf8, 0x38, 0x4d, 0x99, 0xb5, 0x69, 0x9b, 0xca, 0x17, 0x9a, 0x32, 0xd4, 0x87, 0x03, 0xc9, - 0xb2, 0x24, 0x0e, 0xa8, 0x32, 0x7e, 0x2d, 0x5c, 0xdf, 0xd1, 0x09, 0x3c, 0x4a, 0x63, 0x4e, 0x6a, - 0xbc, 0x69, 0xf0, 0x4e, 0x1a, 0x73, 0xbc, 0x49, 0xa1, 0x37, 0x6b, 0xca, 0x9e, 0xa5, 0xd0, 0x9b, - 0x9a, 0x42, 0xee, 0x89, 0xad, 0x65, 0x62, 0x7b, 0xf5, 0xe0, 0x16, 0xff, 0x53, 0x70, 0xef, 0xdf, - 0x7d, 0x9f, 0x44, 0xb1, 0x5e, 0xe4, 0xfe, 0x38, 0x10, 0xa9, 0x67, 0xba, 0x12, 0x32, 0xaa, 0x0e, - 0x5e, 0xfd, 0xcf, 0x47, 0x8c, 0x7b, 0x99, 0x7f, 0x1a, 0x09, 0x6f, 0xf7, 0x19, 0xf0, 0xf7, 0xcd, - 0x1b, 0x70, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x00, 0x39, 0x5b, 0x21, 0x04, 0x00, 0x00, +var File_flyteidl_plugins_ray_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_ray_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0xe4, + 0x01, 0x0a, 0x06, 0x52, 0x61, 0x79, 0x4a, 0x6f, 0x62, 0x12, 0x3d, 0x0a, 0x0b, 0x72, 0x61, 0x79, + 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x2e, 0x52, 0x61, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x72, 0x61, + 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, + 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x76, 0x12, 0x3d, 0x0a, 0x1b, 0x73, 0x68, 0x75, + 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, + 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x41, 0x66, 0x74, 0x65, 0x72, 0x4a, 0x6f, 0x62, + 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x74, 0x6c, 0x5f, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x74, 0x74, + 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x65, 0x64, 0x22, 0xd3, 0x01, 0x0a, 0x0a, 0x52, 0x61, 0x79, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x2e, 0x48, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0d, + 0x68, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4d, 0x0a, + 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x70, + 0x65, 0x63, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0f, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2d, 0x0a, 0x12, + 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, + 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0xb1, 0x01, 0x0a, 0x0d, + 0x48, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5d, 0x0a, + 0x10, 0x72, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x52, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x61, + 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x41, 0x0a, 0x13, + 0x52, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0xb6, 0x02, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x21, + 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x12, 0x5f, 0x0a, 0x10, 0x72, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, + 0x63, 0x2e, 0x52, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x41, 0x0a, 0x13, 0x52, 0x61, 0x79, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xc0, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x42, 0x08, 0x52, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, + 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, + 0x50, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_ray_proto_rawDescOnce sync.Once + file_flyteidl_plugins_ray_proto_rawDescData = file_flyteidl_plugins_ray_proto_rawDesc +) + +func file_flyteidl_plugins_ray_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_ray_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_ray_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_ray_proto_rawDescData) + }) + return file_flyteidl_plugins_ray_proto_rawDescData +} + +var file_flyteidl_plugins_ray_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_flyteidl_plugins_ray_proto_goTypes = []interface{}{ + (*RayJob)(nil), // 0: flyteidl.plugins.RayJob + (*RayCluster)(nil), // 1: flyteidl.plugins.RayCluster + (*HeadGroupSpec)(nil), // 2: flyteidl.plugins.HeadGroupSpec + (*WorkerGroupSpec)(nil), // 3: flyteidl.plugins.WorkerGroupSpec + nil, // 4: flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry + nil, // 5: flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry +} +var file_flyteidl_plugins_ray_proto_depIdxs = []int32{ + 1, // 0: flyteidl.plugins.RayJob.ray_cluster:type_name -> flyteidl.plugins.RayCluster + 2, // 1: flyteidl.plugins.RayCluster.head_group_spec:type_name -> flyteidl.plugins.HeadGroupSpec + 3, // 2: flyteidl.plugins.RayCluster.worker_group_spec:type_name -> flyteidl.plugins.WorkerGroupSpec + 4, // 3: flyteidl.plugins.HeadGroupSpec.ray_start_params:type_name -> flyteidl.plugins.HeadGroupSpec.RayStartParamsEntry + 5, // 4: flyteidl.plugins.WorkerGroupSpec.ray_start_params:type_name -> flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntry + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_ray_proto_init() } +func file_flyteidl_plugins_ray_proto_init() { + if File_flyteidl_plugins_ray_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_ray_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RayJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_ray_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RayCluster); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_ray_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HeadGroupSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_ray_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerGroupSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_ray_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_ray_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_ray_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_ray_proto_msgTypes, + }.Build() + File_flyteidl_plugins_ray_proto = out.File + file_flyteidl_plugins_ray_proto_rawDesc = nil + file_flyteidl_plugins_ray_proto_goTypes = nil + file_flyteidl_plugins_ray_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go index 1825fa266a..316d1f1d7b 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.go @@ -1,25 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/spark.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type SparkApplication_Type int32 @@ -30,207 +30,354 @@ const ( SparkApplication_R SparkApplication_Type = 3 ) -var SparkApplication_Type_name = map[int32]string{ - 0: "PYTHON", - 1: "JAVA", - 2: "SCALA", - 3: "R", -} +// Enum value maps for SparkApplication_Type. +var ( + SparkApplication_Type_name = map[int32]string{ + 0: "PYTHON", + 1: "JAVA", + 2: "SCALA", + 3: "R", + } + SparkApplication_Type_value = map[string]int32{ + "PYTHON": 0, + "JAVA": 1, + "SCALA": 2, + "R": 3, + } +) -var SparkApplication_Type_value = map[string]int32{ - "PYTHON": 0, - "JAVA": 1, - "SCALA": 2, - "R": 3, +func (x SparkApplication_Type) Enum() *SparkApplication_Type { + p := new(SparkApplication_Type) + *p = x + return p } func (x SparkApplication_Type) String() string { - return proto.EnumName(SparkApplication_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (SparkApplication_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ca8a069b9820144a, []int{0, 0} +func (SparkApplication_Type) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_plugins_spark_proto_enumTypes[0].Descriptor() } -type SparkApplication struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (SparkApplication_Type) Type() protoreflect.EnumType { + return &file_flyteidl_plugins_spark_proto_enumTypes[0] } -func (m *SparkApplication) Reset() { *m = SparkApplication{} } -func (m *SparkApplication) String() string { return proto.CompactTextString(m) } -func (*SparkApplication) ProtoMessage() {} -func (*SparkApplication) Descriptor() ([]byte, []int) { - return fileDescriptor_ca8a069b9820144a, []int{0} +func (x SparkApplication_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *SparkApplication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SparkApplication.Unmarshal(m, b) +// Deprecated: Use SparkApplication_Type.Descriptor instead. +func (SparkApplication_Type) EnumDescriptor() ([]byte, []int) { + return file_flyteidl_plugins_spark_proto_rawDescGZIP(), []int{0, 0} } -func (m *SparkApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SparkApplication.Marshal(b, m, deterministic) + +type SparkApplication struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SparkApplication) XXX_Merge(src proto.Message) { - xxx_messageInfo_SparkApplication.Merge(m, src) + +func (x *SparkApplication) Reset() { + *x = SparkApplication{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_spark_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SparkApplication) XXX_Size() int { - return xxx_messageInfo_SparkApplication.Size(m) + +func (x *SparkApplication) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SparkApplication) XXX_DiscardUnknown() { - xxx_messageInfo_SparkApplication.DiscardUnknown(m) + +func (*SparkApplication) ProtoMessage() {} + +func (x *SparkApplication) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_spark_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SparkApplication proto.InternalMessageInfo +// Deprecated: Use SparkApplication.ProtoReflect.Descriptor instead. +func (*SparkApplication) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_spark_proto_rawDescGZIP(), []int{0} +} // Custom Proto for Spark Plugin. type SparkJob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ApplicationType SparkApplication_Type `protobuf:"varint,1,opt,name=applicationType,proto3,enum=flyteidl.plugins.SparkApplication_Type" json:"applicationType,omitempty"` MainApplicationFile string `protobuf:"bytes,2,opt,name=mainApplicationFile,proto3" json:"mainApplicationFile,omitempty"` MainClass string `protobuf:"bytes,3,opt,name=mainClass,proto3" json:"mainClass,omitempty"` SparkConf map[string]string `protobuf:"bytes,4,rep,name=sparkConf,proto3" json:"sparkConf,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` HadoopConf map[string]string `protobuf:"bytes,5,rep,name=hadoopConf,proto3" json:"hadoopConf,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ExecutorPath string `protobuf:"bytes,6,opt,name=executorPath,proto3" json:"executorPath,omitempty"` + ExecutorPath string `protobuf:"bytes,6,opt,name=executorPath,proto3" json:"executorPath,omitempty"` // Executor path for Python jobs. // Databricks job configuration. // Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure. - DatabricksConf *_struct.Struct `protobuf:"bytes,7,opt,name=databricksConf,proto3" json:"databricksConf,omitempty"` + DatabricksConf *structpb.Struct `protobuf:"bytes,7,opt,name=databricksConf,proto3" json:"databricksConf,omitempty"` // Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html // This token can be set in either flytepropeller or flytekit. DatabricksToken string `protobuf:"bytes,8,opt,name=databricksToken,proto3" json:"databricksToken,omitempty"` // Domain name of your deployment. Use the form .cloud.databricks.com. // This instance name can be set in either flytepropeller or flytekit. - DatabricksInstance string `protobuf:"bytes,9,opt,name=databricksInstance,proto3" json:"databricksInstance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DatabricksInstance string `protobuf:"bytes,9,opt,name=databricksInstance,proto3" json:"databricksInstance,omitempty"` } -func (m *SparkJob) Reset() { *m = SparkJob{} } -func (m *SparkJob) String() string { return proto.CompactTextString(m) } -func (*SparkJob) ProtoMessage() {} -func (*SparkJob) Descriptor() ([]byte, []int) { - return fileDescriptor_ca8a069b9820144a, []int{1} +func (x *SparkJob) Reset() { + *x = SparkJob{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_spark_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SparkJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SparkJob.Unmarshal(m, b) -} -func (m *SparkJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SparkJob.Marshal(b, m, deterministic) +func (x *SparkJob) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SparkJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_SparkJob.Merge(m, src) -} -func (m *SparkJob) XXX_Size() int { - return xxx_messageInfo_SparkJob.Size(m) -} -func (m *SparkJob) XXX_DiscardUnknown() { - xxx_messageInfo_SparkJob.DiscardUnknown(m) + +func (*SparkJob) ProtoMessage() {} + +func (x *SparkJob) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_spark_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SparkJob proto.InternalMessageInfo +// Deprecated: Use SparkJob.ProtoReflect.Descriptor instead. +func (*SparkJob) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_spark_proto_rawDescGZIP(), []int{1} +} -func (m *SparkJob) GetApplicationType() SparkApplication_Type { - if m != nil { - return m.ApplicationType +func (x *SparkJob) GetApplicationType() SparkApplication_Type { + if x != nil { + return x.ApplicationType } return SparkApplication_PYTHON } -func (m *SparkJob) GetMainApplicationFile() string { - if m != nil { - return m.MainApplicationFile +func (x *SparkJob) GetMainApplicationFile() string { + if x != nil { + return x.MainApplicationFile } return "" } -func (m *SparkJob) GetMainClass() string { - if m != nil { - return m.MainClass +func (x *SparkJob) GetMainClass() string { + if x != nil { + return x.MainClass } return "" } -func (m *SparkJob) GetSparkConf() map[string]string { - if m != nil { - return m.SparkConf +func (x *SparkJob) GetSparkConf() map[string]string { + if x != nil { + return x.SparkConf } return nil } -func (m *SparkJob) GetHadoopConf() map[string]string { - if m != nil { - return m.HadoopConf +func (x *SparkJob) GetHadoopConf() map[string]string { + if x != nil { + return x.HadoopConf } return nil } -func (m *SparkJob) GetExecutorPath() string { - if m != nil { - return m.ExecutorPath +func (x *SparkJob) GetExecutorPath() string { + if x != nil { + return x.ExecutorPath } return "" } -func (m *SparkJob) GetDatabricksConf() *_struct.Struct { - if m != nil { - return m.DatabricksConf +func (x *SparkJob) GetDatabricksConf() *structpb.Struct { + if x != nil { + return x.DatabricksConf } return nil } -func (m *SparkJob) GetDatabricksToken() string { - if m != nil { - return m.DatabricksToken +func (x *SparkJob) GetDatabricksToken() string { + if x != nil { + return x.DatabricksToken } return "" } -func (m *SparkJob) GetDatabricksInstance() string { - if m != nil { - return m.DatabricksInstance +func (x *SparkJob) GetDatabricksInstance() string { + if x != nil { + return x.DatabricksInstance } return "" } -func init() { - proto.RegisterEnum("flyteidl.plugins.SparkApplication_Type", SparkApplication_Type_name, SparkApplication_Type_value) - proto.RegisterType((*SparkApplication)(nil), "flyteidl.plugins.SparkApplication") - proto.RegisterType((*SparkJob)(nil), "flyteidl.plugins.SparkJob") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.plugins.SparkJob.HadoopConfEntry") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.plugins.SparkJob.SparkConfEntry") -} - -func init() { proto.RegisterFile("flyteidl/plugins/spark.proto", fileDescriptor_ca8a069b9820144a) } - -var fileDescriptor_ca8a069b9820144a = []byte{ - // 443 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdf, 0x8b, 0xd3, 0x40, - 0x10, 0x36, 0xfd, 0x65, 0x33, 0x27, 0x6d, 0x18, 0x05, 0x43, 0xe9, 0x43, 0xe9, 0x8b, 0x51, 0x70, - 0x23, 0xf5, 0x45, 0xc4, 0xe3, 0xc8, 0x15, 0xf5, 0x2c, 0xa2, 0x67, 0x5a, 0x04, 0x7d, 0xdb, 0xa4, - 0xdb, 0x34, 0x74, 0x6f, 0x77, 0x49, 0x36, 0x62, 0xfe, 0x79, 0x91, 0x6c, 0xec, 0xe5, 0x2e, 0x9c, - 0x82, 0x6f, 0xb3, 0xdf, 0x7c, 0xf3, 0xcd, 0xf0, 0x7d, 0x2c, 0x4c, 0x77, 0xbc, 0xd4, 0x2c, 0xdd, - 0x72, 0x5f, 0xf1, 0x22, 0x49, 0x45, 0xee, 0xe7, 0x8a, 0x66, 0x07, 0xa2, 0x32, 0xa9, 0x25, 0x3a, - 0xc7, 0x2e, 0xf9, 0xd3, 0x9d, 0x4c, 0x13, 0x29, 0x13, 0xce, 0x7c, 0xd3, 0x8f, 0x8a, 0x9d, 0x9f, - 0xeb, 0xac, 0x88, 0x75, 0xcd, 0x9f, 0x9f, 0x83, 0xb3, 0xae, 0xc6, 0x03, 0xa5, 0x78, 0x1a, 0x53, - 0x9d, 0x4a, 0x31, 0x27, 0xd0, 0xdb, 0x94, 0x8a, 0x21, 0xc0, 0xe0, 0xf2, 0xdb, 0xe6, 0xe2, 0xf3, - 0x27, 0xe7, 0x1e, 0x0e, 0xa1, 0xb7, 0x0a, 0xbe, 0x06, 0x8e, 0x85, 0x36, 0xf4, 0xd7, 0xcb, 0xe0, - 0x63, 0xe0, 0x74, 0xb0, 0x0f, 0x56, 0xe8, 0x74, 0xe7, 0xbf, 0x7a, 0x30, 0x34, 0x22, 0x2b, 0x19, - 0xe1, 0x17, 0x18, 0xd3, 0x46, 0xab, 0xd2, 0x71, 0xad, 0x99, 0xe5, 0x8d, 0x16, 0x4f, 0x48, 0xfb, - 0x34, 0xd2, 0xde, 0x4c, 0x2a, 0x7a, 0xd8, 0x9e, 0xc7, 0x17, 0xf0, 0xf0, 0x8a, 0xa6, 0xe2, 0x06, - 0xf1, 0x5d, 0xca, 0x99, 0xdb, 0x99, 0x59, 0x9e, 0x1d, 0xde, 0xd5, 0xc2, 0x29, 0xd8, 0x15, 0xbc, - 0xe4, 0x34, 0xcf, 0xdd, 0xae, 0xe1, 0x35, 0x00, 0xbe, 0x07, 0xdb, 0x58, 0xb6, 0x94, 0x62, 0xe7, - 0xf6, 0x66, 0x5d, 0xef, 0x64, 0xf1, 0xf4, 0x2f, 0xc7, 0xad, 0x64, 0x54, 0x17, 0x15, 0xf7, 0xad, - 0xd0, 0x59, 0x19, 0x36, 0xb3, 0xb8, 0x02, 0xd8, 0xd3, 0xad, 0x94, 0xca, 0x28, 0xf5, 0x8d, 0xd2, - 0xb3, 0x7f, 0x28, 0x5d, 0x5c, 0x93, 0x6b, 0xa9, 0x1b, 0xd3, 0x38, 0x87, 0x07, 0xec, 0x27, 0x8b, - 0x0b, 0x2d, 0xb3, 0x4b, 0xaa, 0xf7, 0xee, 0xc0, 0x5c, 0x7d, 0x0b, 0xc3, 0x33, 0x18, 0x6d, 0xa9, - 0xa6, 0x51, 0x96, 0xc6, 0x87, 0xdc, 0xec, 0xbc, 0x3f, 0xb3, 0xbc, 0x93, 0xc5, 0x63, 0x52, 0x67, - 0x4c, 0x8e, 0x19, 0x93, 0xb5, 0xc9, 0x38, 0x6c, 0xd1, 0xd1, 0x83, 0x71, 0x83, 0x6c, 0xe4, 0x81, - 0x09, 0x77, 0x68, 0xf6, 0xb4, 0x61, 0x24, 0x80, 0x0d, 0xf4, 0x41, 0xe4, 0x9a, 0x8a, 0x98, 0xb9, - 0xb6, 0x21, 0xdf, 0xd1, 0x99, 0xbc, 0x81, 0xd1, 0x6d, 0x9f, 0xd0, 0x81, 0xee, 0x81, 0x95, 0x26, - 0x7c, 0x3b, 0xac, 0x4a, 0x7c, 0x04, 0xfd, 0x1f, 0x94, 0x17, 0xc7, 0xe4, 0xea, 0xc7, 0xeb, 0xce, - 0x2b, 0x6b, 0x72, 0x0a, 0xe3, 0x96, 0x37, 0xff, 0x33, 0x7e, 0x7e, 0xf6, 0xfd, 0x34, 0x49, 0xf5, - 0xbe, 0x88, 0x48, 0x2c, 0xaf, 0x7c, 0xe3, 0xbf, 0xcc, 0x92, 0xba, 0xf0, 0xaf, 0xbf, 0x4b, 0xc2, - 0x84, 0xaf, 0xa2, 0xe7, 0x89, 0xf4, 0xdb, 0x3f, 0x28, 0x1a, 0x18, 0xe3, 0x5e, 0xfe, 0x0e, 0x00, - 0x00, 0xff, 0xff, 0x07, 0x7f, 0xfa, 0xf2, 0x5c, 0x03, 0x00, 0x00, +var File_flyteidl_plugins_spark_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_spark_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x73, 0x70, 0x61, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, + 0x0a, 0x10, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x2e, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x59, + 0x54, 0x48, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x41, 0x56, 0x41, 0x10, 0x01, + 0x12, 0x09, 0x0a, 0x05, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x10, 0x02, 0x12, 0x05, 0x0a, 0x01, 0x52, + 0x10, 0x03, 0x22, 0xfe, 0x04, 0x0a, 0x08, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x4a, 0x6f, 0x62, 0x12, + 0x51, 0x0a, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x53, 0x70, 0x61, 0x72, + 0x6b, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x13, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x12, 0x47, 0x0a, 0x09, 0x73, 0x70, 0x61, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x4a, 0x6f, + 0x62, 0x2e, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x09, 0x73, 0x70, 0x61, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x4a, 0x0a, 0x0a, 0x68, + 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2e, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x4a, 0x6f, 0x62, 0x2e, 0x48, 0x61, 0x64, 0x6f, + 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x68, 0x61, 0x64, + 0x6f, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x3f, 0x0a, 0x0e, 0x64, + 0x61, 0x74, 0x61, 0x62, 0x72, 0x69, 0x63, 0x6b, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x64, 0x61, + 0x74, 0x61, 0x62, 0x72, 0x69, 0x63, 0x6b, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x28, 0x0a, 0x0f, + 0x64, 0x61, 0x74, 0x61, 0x62, 0x72, 0x69, 0x63, 0x6b, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x72, 0x69, 0x63, 0x6b, + 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x62, 0x72, + 0x69, 0x63, 0x6b, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x12, 0x64, 0x61, 0x74, 0x61, 0x62, 0x72, 0x69, 0x63, 0x6b, 0x73, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x43, + 0x6f, 0x6e, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x48, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x43, 0x6f, + 0x6e, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x42, 0xc2, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x42, 0x0a, 0x53, 0x70, + 0x61, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x58, 0xaa, + 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, + 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_spark_proto_rawDescOnce sync.Once + file_flyteidl_plugins_spark_proto_rawDescData = file_flyteidl_plugins_spark_proto_rawDesc +) + +func file_flyteidl_plugins_spark_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_spark_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_spark_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_spark_proto_rawDescData) + }) + return file_flyteidl_plugins_spark_proto_rawDescData +} + +var file_flyteidl_plugins_spark_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_plugins_spark_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_flyteidl_plugins_spark_proto_goTypes = []interface{}{ + (SparkApplication_Type)(0), // 0: flyteidl.plugins.SparkApplication.Type + (*SparkApplication)(nil), // 1: flyteidl.plugins.SparkApplication + (*SparkJob)(nil), // 2: flyteidl.plugins.SparkJob + nil, // 3: flyteidl.plugins.SparkJob.SparkConfEntry + nil, // 4: flyteidl.plugins.SparkJob.HadoopConfEntry + (*structpb.Struct)(nil), // 5: google.protobuf.Struct +} +var file_flyteidl_plugins_spark_proto_depIdxs = []int32{ + 0, // 0: flyteidl.plugins.SparkJob.applicationType:type_name -> flyteidl.plugins.SparkApplication.Type + 3, // 1: flyteidl.plugins.SparkJob.sparkConf:type_name -> flyteidl.plugins.SparkJob.SparkConfEntry + 4, // 2: flyteidl.plugins.SparkJob.hadoopConf:type_name -> flyteidl.plugins.SparkJob.HadoopConfEntry + 5, // 3: flyteidl.plugins.SparkJob.databricksConf:type_name -> google.protobuf.Struct + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_spark_proto_init() } +func file_flyteidl_plugins_spark_proto_init() { + if File_flyteidl_plugins_spark_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_spark_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SparkApplication); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_plugins_spark_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SparkJob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_spark_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_spark_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_spark_proto_depIdxs, + EnumInfos: file_flyteidl_plugins_spark_proto_enumTypes, + MessageInfos: file_flyteidl_plugins_spark_proto_msgTypes, + }.Build() + File_flyteidl_plugins_spark_proto = out.File + file_flyteidl_plugins_spark_proto_rawDesc = nil + file_flyteidl_plugins_spark_proto_goTypes = nil + file_flyteidl_plugins_spark_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go index a07ff3feeb..679847bf3f 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.go @@ -1,27 +1,31 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/tensorflow.proto package plugins import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator type DistributedTensorflowTrainingTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // number of worker replicas spawned in the cluster for this job Workers int32 `protobuf:"varint,1,opt,name=workers,proto3" json:"workers,omitempty"` // PS -> Parameter server @@ -30,85 +34,161 @@ type DistributedTensorflowTrainingTask struct { // number of chief replicas spawned in the cluster for this job ChiefReplicas int32 `protobuf:"varint,3,opt,name=chief_replicas,json=chiefReplicas,proto3" json:"chief_replicas,omitempty"` // number of evaluator replicas spawned in the cluster for this job - EvaluatorReplicas int32 `protobuf:"varint,4,opt,name=evaluator_replicas,json=evaluatorReplicas,proto3" json:"evaluator_replicas,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EvaluatorReplicas int32 `protobuf:"varint,4,opt,name=evaluator_replicas,json=evaluatorReplicas,proto3" json:"evaluator_replicas,omitempty"` } -func (m *DistributedTensorflowTrainingTask) Reset() { *m = DistributedTensorflowTrainingTask{} } -func (m *DistributedTensorflowTrainingTask) String() string { return proto.CompactTextString(m) } -func (*DistributedTensorflowTrainingTask) ProtoMessage() {} -func (*DistributedTensorflowTrainingTask) Descriptor() ([]byte, []int) { - return fileDescriptor_8da02783614e1bcc, []int{0} +func (x *DistributedTensorflowTrainingTask) Reset() { + *x = DistributedTensorflowTrainingTask{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_tensorflow_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DistributedTensorflowTrainingTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistributedTensorflowTrainingTask.Unmarshal(m, b) -} -func (m *DistributedTensorflowTrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistributedTensorflowTrainingTask.Marshal(b, m, deterministic) +func (x *DistributedTensorflowTrainingTask) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DistributedTensorflowTrainingTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistributedTensorflowTrainingTask.Merge(m, src) -} -func (m *DistributedTensorflowTrainingTask) XXX_Size() int { - return xxx_messageInfo_DistributedTensorflowTrainingTask.Size(m) -} -func (m *DistributedTensorflowTrainingTask) XXX_DiscardUnknown() { - xxx_messageInfo_DistributedTensorflowTrainingTask.DiscardUnknown(m) + +func (*DistributedTensorflowTrainingTask) ProtoMessage() {} + +func (x *DistributedTensorflowTrainingTask) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_tensorflow_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DistributedTensorflowTrainingTask proto.InternalMessageInfo +// Deprecated: Use DistributedTensorflowTrainingTask.ProtoReflect.Descriptor instead. +func (*DistributedTensorflowTrainingTask) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_tensorflow_proto_rawDescGZIP(), []int{0} +} -func (m *DistributedTensorflowTrainingTask) GetWorkers() int32 { - if m != nil { - return m.Workers +func (x *DistributedTensorflowTrainingTask) GetWorkers() int32 { + if x != nil { + return x.Workers } return 0 } -func (m *DistributedTensorflowTrainingTask) GetPsReplicas() int32 { - if m != nil { - return m.PsReplicas +func (x *DistributedTensorflowTrainingTask) GetPsReplicas() int32 { + if x != nil { + return x.PsReplicas } return 0 } -func (m *DistributedTensorflowTrainingTask) GetChiefReplicas() int32 { - if m != nil { - return m.ChiefReplicas +func (x *DistributedTensorflowTrainingTask) GetChiefReplicas() int32 { + if x != nil { + return x.ChiefReplicas } return 0 } -func (m *DistributedTensorflowTrainingTask) GetEvaluatorReplicas() int32 { - if m != nil { - return m.EvaluatorReplicas +func (x *DistributedTensorflowTrainingTask) GetEvaluatorReplicas() int32 { + if x != nil { + return x.EvaluatorReplicas } return 0 } -func init() { - proto.RegisterType((*DistributedTensorflowTrainingTask)(nil), "flyteidl.plugins.DistributedTensorflowTrainingTask") +var File_flyteidl_plugins_tensorflow_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_tensorflow_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0xb4, 0x01, 0x0a, 0x21, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x64, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x54, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x73, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x69, 0x65, 0x66, 0x5f, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, + 0x63, 0x68, 0x69, 0x65, 0x66, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x2d, 0x0a, + 0x12, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x65, 0x76, 0x61, 0x6c, 0x75, + 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x42, 0xc7, 0x01, 0x0a, + 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x73, 0x42, 0x0f, 0x54, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, + 0x77, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x58, 0xaa, 0x02, 0x10, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_tensorflow_proto_rawDescOnce sync.Once + file_flyteidl_plugins_tensorflow_proto_rawDescData = file_flyteidl_plugins_tensorflow_proto_rawDesc +) + +func file_flyteidl_plugins_tensorflow_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_tensorflow_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_tensorflow_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_tensorflow_proto_rawDescData) + }) + return file_flyteidl_plugins_tensorflow_proto_rawDescData } -func init() { proto.RegisterFile("flyteidl/plugins/tensorflow.proto", fileDescriptor_8da02783614e1bcc) } - -var fileDescriptor_8da02783614e1bcc = []byte{ - // 220 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0xd0, 0xbf, 0x4a, 0x04, 0x31, - 0x10, 0x06, 0x70, 0xd6, 0xbf, 0x10, 0x51, 0x34, 0xd5, 0x76, 0x7a, 0x82, 0x60, 0x73, 0x9b, 0xc2, - 0x5a, 0x04, 0xf1, 0x09, 0x8e, 0xad, 0x6c, 0x24, 0xbb, 0x37, 0x9b, 0x1b, 0x2e, 0x66, 0xc2, 0x4c, - 0xe2, 0xe1, 0x7b, 0xf9, 0x80, 0x42, 0xbc, 0xcd, 0x81, 0x5d, 0xf2, 0x7d, 0xbf, 0x14, 0xf9, 0xd4, - 0x62, 0xf2, 0xdf, 0x09, 0x70, 0xed, 0x4d, 0xf4, 0xd9, 0x61, 0x10, 0x93, 0x20, 0x08, 0xf1, 0xe4, - 0x69, 0xd7, 0x45, 0xa6, 0x44, 0xfa, 0x7a, 0x26, 0xdd, 0x9e, 0xdc, 0xff, 0x34, 0x6a, 0xf1, 0x86, - 0x92, 0x18, 0x87, 0x9c, 0x60, 0xdd, 0xd7, 0x17, 0x3d, 0x5b, 0x0c, 0x18, 0x5c, 0x6f, 0x65, 0xab, - 0x5b, 0x75, 0xbe, 0x23, 0xde, 0x02, 0x4b, 0xdb, 0xdc, 0x35, 0x8f, 0xa7, 0xab, 0xf9, 0xaa, 0x6f, - 0xd5, 0x45, 0x94, 0x0f, 0x86, 0xe8, 0x71, 0xb4, 0xd2, 0x1e, 0x95, 0x56, 0x45, 0x59, 0xed, 0x13, - 0xfd, 0xa0, 0xae, 0xc6, 0x0d, 0xc2, 0x74, 0x30, 0xc7, 0xc5, 0x5c, 0x96, 0xb4, 0xb2, 0xa5, 0xd2, - 0xf0, 0x65, 0x7d, 0xb6, 0x89, 0xf8, 0x40, 0x4f, 0x0a, 0xbd, 0xa9, 0xcd, 0xcc, 0x5f, 0x5f, 0xde, - 0x9f, 0x1d, 0xa6, 0x4d, 0x1e, 0xba, 0x91, 0x3e, 0x4d, 0xf9, 0x15, 0xb1, 0xfb, 0x3b, 0x98, 0xba, - 0x83, 0x83, 0x60, 0xe2, 0xb0, 0x74, 0x64, 0xfe, 0x4f, 0x33, 0x9c, 0x95, 0x41, 0x9e, 0x7e, 0x03, - 0x00, 0x00, 0xff, 0xff, 0xa6, 0x22, 0x34, 0xcf, 0x35, 0x01, 0x00, 0x00, +var file_flyteidl_plugins_tensorflow_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_plugins_tensorflow_proto_goTypes = []interface{}{ + (*DistributedTensorflowTrainingTask)(nil), // 0: flyteidl.plugins.DistributedTensorflowTrainingTask +} +var file_flyteidl_plugins_tensorflow_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_tensorflow_proto_init() } +func file_flyteidl_plugins_tensorflow_proto_init() { + if File_flyteidl_plugins_tensorflow_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_tensorflow_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistributedTensorflowTrainingTask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_tensorflow_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_tensorflow_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_tensorflow_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_tensorflow_proto_msgTypes, + }.Build() + File_flyteidl_plugins_tensorflow_proto = out.File + file_flyteidl_plugins_tensorflow_proto_rawDesc = nil + file_flyteidl_plugins_tensorflow_proto_goTypes = nil + file_flyteidl_plugins_tensorflow_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go index 36c4a56679..236e60bde9 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.go @@ -1,104 +1,190 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/plugins/waitable.proto package plugins import ( - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // Represents an Execution that was launched and could be waited on. type Waitable struct { - WfExecId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=wf_exec_id,json=wfExecId,proto3" json:"wf_exec_id,omitempty"` - Phase core.WorkflowExecution_Phase `protobuf:"varint,2,opt,name=phase,proto3,enum=flyteidl.core.WorkflowExecution_Phase" json:"phase,omitempty"` - WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Waitable) Reset() { *m = Waitable{} } -func (m *Waitable) String() string { return proto.CompactTextString(m) } -func (*Waitable) ProtoMessage() {} -func (*Waitable) Descriptor() ([]byte, []int) { - return fileDescriptor_6ff9364c45e52921, []int{0} + WfExecId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=wf_exec_id,json=wfExecId,proto3" json:"wf_exec_id,omitempty"` + Phase core.WorkflowExecution_Phase `protobuf:"varint,2,opt,name=phase,proto3,enum=flyteidl.core.WorkflowExecution_Phase" json:"phase,omitempty"` + WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` } -func (m *Waitable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Waitable.Unmarshal(m, b) -} -func (m *Waitable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Waitable.Marshal(b, m, deterministic) -} -func (m *Waitable) XXX_Merge(src proto.Message) { - xxx_messageInfo_Waitable.Merge(m, src) +func (x *Waitable) Reset() { + *x = Waitable{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_plugins_waitable_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Waitable) XXX_Size() int { - return xxx_messageInfo_Waitable.Size(m) + +func (x *Waitable) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Waitable) XXX_DiscardUnknown() { - xxx_messageInfo_Waitable.DiscardUnknown(m) + +func (*Waitable) ProtoMessage() {} + +func (x *Waitable) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_plugins_waitable_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Waitable proto.InternalMessageInfo +// Deprecated: Use Waitable.ProtoReflect.Descriptor instead. +func (*Waitable) Descriptor() ([]byte, []int) { + return file_flyteidl_plugins_waitable_proto_rawDescGZIP(), []int{0} +} -func (m *Waitable) GetWfExecId() *core.WorkflowExecutionIdentifier { - if m != nil { - return m.WfExecId +func (x *Waitable) GetWfExecId() *core.WorkflowExecutionIdentifier { + if x != nil { + return x.WfExecId } return nil } -func (m *Waitable) GetPhase() core.WorkflowExecution_Phase { - if m != nil { - return m.Phase +func (x *Waitable) GetPhase() core.WorkflowExecution_Phase { + if x != nil { + return x.Phase } - return core.WorkflowExecution_UNDEFINED + return core.WorkflowExecution_Phase(0) } -func (m *Waitable) GetWorkflowId() string { - if m != nil { - return m.WorkflowId +func (x *Waitable) GetWorkflowId() string { + if x != nil { + return x.WorkflowId } return "" } -func init() { - proto.RegisterType((*Waitable)(nil), "flyteidl.plugins.Waitable") +var File_flyteidl_plugins_waitable_proto protoreflect.FileDescriptor + +var file_flyteidl_plugins_waitable_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x73, 0x2f, 0x77, 0x61, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x73, 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x08, 0x57, 0x61, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, + 0x48, 0x0a, 0x0a, 0x77, 0x66, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, + 0x08, 0x77, 0x66, 0x45, 0x78, 0x65, 0x63, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x05, 0x70, 0x68, 0x61, + 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, + 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x42, 0xc5, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0x42, 0x0d, 0x57, 0x61, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x73, 0xa2, 0x02, 0x03, 0x46, 0x50, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0xe2, 0x02, 0x1c, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_plugins_waitable_proto_rawDescOnce sync.Once + file_flyteidl_plugins_waitable_proto_rawDescData = file_flyteidl_plugins_waitable_proto_rawDesc +) + +func file_flyteidl_plugins_waitable_proto_rawDescGZIP() []byte { + file_flyteidl_plugins_waitable_proto_rawDescOnce.Do(func() { + file_flyteidl_plugins_waitable_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_plugins_waitable_proto_rawDescData) + }) + return file_flyteidl_plugins_waitable_proto_rawDescData } -func init() { proto.RegisterFile("flyteidl/plugins/waitable.proto", fileDescriptor_6ff9364c45e52921) } - -var fileDescriptor_6ff9364c45e52921 = []byte{ - // 246 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcb, 0xa9, 0x2c, - 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x2f, 0xc8, 0x29, 0x4d, 0xcf, 0xcc, 0x2b, 0xd6, 0x2f, 0x4f, 0xcc, - 0x2c, 0x49, 0x4c, 0xca, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x80, 0x29, 0xd0, - 0x83, 0x2a, 0x90, 0x92, 0x85, 0x6b, 0x49, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xad, 0x48, 0x4d, 0x2e, - 0x2d, 0xc9, 0xcc, 0xcf, 0x83, 0x68, 0x90, 0x92, 0x43, 0x95, 0xce, 0x4c, 0x49, 0xcd, 0x2b, 0xc9, - 0x4c, 0xcb, 0x4c, 0x2d, 0x82, 0xc8, 0x2b, 0x6d, 0x66, 0xe4, 0xe2, 0x08, 0x87, 0xda, 0x21, 0xe4, - 0xc1, 0xc5, 0x55, 0x9e, 0x16, 0x0f, 0x32, 0x22, 0x3e, 0x33, 0x45, 0x82, 0x51, 0x81, 0x51, 0x83, - 0xdb, 0x48, 0x4b, 0x0f, 0x6e, 0x25, 0xc8, 0x04, 0xbd, 0xf0, 0xfc, 0xa2, 0xec, 0xb4, 0x9c, 0xfc, - 0x72, 0x57, 0x98, 0x45, 0x9e, 0x70, 0x23, 0x83, 0x38, 0xca, 0xd3, 0x40, 0xc2, 0x9e, 0x29, 0x42, - 0x36, 0x5c, 0xac, 0x05, 0x19, 0x89, 0xc5, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x7c, 0x46, 0x6a, - 0x84, 0x0c, 0xd1, 0x0b, 0x00, 0xa9, 0x0e, 0x82, 0x68, 0x12, 0x92, 0xe7, 0xe2, 0x2e, 0x87, 0xaa, - 0x00, 0x39, 0x84, 0x59, 0x81, 0x51, 0x83, 0x33, 0x88, 0x0b, 0x26, 0xe4, 0x99, 0xe2, 0x64, 0x1f, - 0x65, 0x9b, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x36, 0x3b, 0xbf, - 0x28, 0x1d, 0xc2, 0xd0, 0x87, 0xfb, 0x38, 0x3d, 0x35, 0x4f, 0xbf, 0x20, 0x49, 0x37, 0x3d, 0x5f, - 0x1f, 0x3d, 0x58, 0x93, 0xd8, 0xc0, 0xbe, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x78, - 0xb5, 0x11, 0x71, 0x01, 0x00, 0x00, +var file_flyteidl_plugins_waitable_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flyteidl_plugins_waitable_proto_goTypes = []interface{}{ + (*Waitable)(nil), // 0: flyteidl.plugins.Waitable + (*core.WorkflowExecutionIdentifier)(nil), // 1: flyteidl.core.WorkflowExecutionIdentifier + (core.WorkflowExecution_Phase)(0), // 2: flyteidl.core.WorkflowExecution.Phase +} +var file_flyteidl_plugins_waitable_proto_depIdxs = []int32{ + 1, // 0: flyteidl.plugins.Waitable.wf_exec_id:type_name -> flyteidl.core.WorkflowExecutionIdentifier + 2, // 1: flyteidl.plugins.Waitable.phase:type_name -> flyteidl.core.WorkflowExecution.Phase + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_flyteidl_plugins_waitable_proto_init() } +func file_flyteidl_plugins_waitable_proto_init() { + if File_flyteidl_plugins_waitable_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_flyteidl_plugins_waitable_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Waitable); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_plugins_waitable_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flyteidl_plugins_waitable_proto_goTypes, + DependencyIndexes: file_flyteidl_plugins_waitable_proto_depIdxs, + MessageInfos: file_flyteidl_plugins_waitable_proto_msgTypes, + }.Build() + File_flyteidl_plugins_waitable_proto = out.File + file_flyteidl_plugins_waitable_proto_rawDesc = nil + file_flyteidl_plugins_waitable_proto_goTypes = nil + file_flyteidl_plugins_waitable_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go index 4f5254765d..6f8453e5df 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go @@ -1,2317 +1,1560 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/service/admin.proto package service import ( - context "context" - fmt "fmt" admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - proto "github.com/golang/protobuf/proto" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// 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 - -func init() { proto.RegisterFile("flyteidl/service/admin.proto", fileDescriptor_5cfa31da1d67295d) } - -var fileDescriptor_5cfa31da1d67295d = []byte{ - // 2845 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x6b, 0x8c, 0x15, 0x57, - 0x1d, 0xcf, 0x99, 0x6d, 0x45, 0xa7, 0x3c, 0x96, 0x7f, 0x41, 0x60, 0x78, 0x95, 0xa1, 0xb0, 0xcb, - 0x05, 0xf6, 0x6e, 0x79, 0xb4, 0xb2, 0xda, 0x96, 0x2d, 0x0b, 0xb7, 0x50, 0x5e, 0x2e, 0xb4, 0xda, - 0x5b, 0xe3, 0xcd, 0xec, 0xbd, 0x87, 0x65, 0xe0, 0xde, 0x3b, 0xd7, 0x99, 0xd9, 0x6d, 0x37, 0x64, - 0xab, 0x29, 0x15, 0xb1, 0x06, 0x30, 0x41, 0x30, 0x8d, 0x2d, 0x31, 0x8d, 0x8d, 0xf5, 0x11, 0x3f, - 0x98, 0x68, 0x34, 0xd1, 0xc4, 0x0f, 0x92, 0x34, 0x6d, 0x4c, 0xda, 0xd4, 0x6a, 0xa3, 0xfd, 0x64, - 0x48, 0x68, 0xa2, 0x51, 0xab, 0x1f, 0xac, 0x5f, 0x8c, 0x99, 0xf3, 0x98, 0x39, 0xf3, 0x38, 0xf3, - 0xb8, 0xec, 0x12, 0x92, 0xf6, 0xdb, 0xee, 0x3d, 0xff, 0x39, 0xe7, 0xf7, 0xfb, 0xfd, 0x1f, 0xe7, - 0x9c, 0x99, 0x73, 0xd4, 0x15, 0xc7, 0x9a, 0x53, 0x2e, 0x36, 0x1b, 0xcd, 0xb2, 0x83, 0xed, 0x49, - 0xb3, 0x8e, 0xcb, 0x46, 0xa3, 0x65, 0xb6, 0x07, 0x3a, 0xb6, 0xe5, 0x5a, 0xd0, 0xcb, 0x5b, 0x07, - 0x58, 0xab, 0xb6, 0x62, 0xdc, 0xb2, 0xc6, 0x9b, 0xb8, 0x6c, 0x74, 0xcc, 0xb2, 0xd1, 0x6e, 0x5b, - 0xae, 0xe1, 0x9a, 0x56, 0xdb, 0xa1, 0xf6, 0x5a, 0xd0, 0x1b, 0xe9, 0xa5, 0xdc, 0xb1, 0xad, 0x13, - 0xb8, 0xee, 0xb2, 0xd6, 0x81, 0xe4, 0xd6, 0x5a, 0xc3, 0x6a, 0x19, 0x66, 0xbb, 0x66, 0xb8, 0xae, - 0x6d, 0x8e, 0x4d, 0xb8, 0x98, 0xf7, 0xd6, 0x27, 0xb1, 0x8f, 0x19, 0x2e, 0x8b, 0x18, 0xba, 0x86, - 0x73, 0x92, 0x35, 0xad, 0x8c, 0x34, 0x3d, 0x69, 0xd9, 0x27, 0x8f, 0x35, 0xad, 0x27, 0x59, 0x73, - 0xbf, 0xa4, 0x39, 0x3e, 0xc6, 0x5d, 0x11, 0xcb, 0xa6, 0x31, 0xd1, 0xae, 0x1f, 0xaf, 0x75, 0x9a, - 0x06, 0x13, 0x4b, 0xd3, 0x22, 0x16, 0x78, 0x12, 0xb7, 0x39, 0xf5, 0x55, 0xd1, 0xb6, 0xa7, 0x70, - 0x7d, 0xc2, 0x53, 0x4e, 0x42, 0xb5, 0x65, 0xb8, 0xf5, 0xe3, 0xc6, 0x58, 0x13, 0xd7, 0x6c, 0xec, - 0x58, 0x13, 0x76, 0x1d, 0x33, 0xc3, 0xb5, 0x11, 0xc3, 0xb6, 0xd5, 0xc0, 0xb5, 0x68, 0x6f, 0x6b, - 0x13, 0xf4, 0x88, 0x19, 0x45, 0x7d, 0x35, 0x89, 0x6d, 0x27, 0x68, 0x5d, 0x1e, 0x69, 0xad, 0x5b, - 0xad, 0x96, 0x14, 0x6d, 0x03, 0x3b, 0x75, 0xdb, 0xec, 0x78, 0x9d, 0xd7, 0x70, 0xdb, 0x35, 0xdd, - 0x29, 0x6a, 0xb8, 0xe5, 0x17, 0x53, 0xea, 0xdc, 0x61, 0xcf, 0xe4, 0x08, 0x0d, 0x1f, 0x38, 0x8f, - 0x54, 0x75, 0x97, 0x8d, 0x0d, 0x17, 0x1f, 0x35, 0x9c, 0x93, 0xb0, 0xc6, 0x0f, 0x89, 0x01, 0x1a, - 0x76, 0xde, 0xaf, 0xb4, 0x7d, 0x14, 0x7f, 0x69, 0x02, 0x3b, 0xae, 0xa6, 0xa7, 0x99, 0x38, 0x1d, - 0xab, 0xed, 0x60, 0x7d, 0xc7, 0x33, 0x6f, 0x5d, 0xbb, 0xa8, 0x6c, 0xd5, 0xe7, 0x91, 0xb0, 0x9c, - 0xbc, 0x87, 0x10, 0x76, 0x86, 0x50, 0xa9, 0xba, 0x5a, 0xd7, 0x42, 0xbf, 0x95, 0x2d, 0x7b, 0xbc, - 0x7c, 0xca, 0x6c, 0x0c, 0x58, 0xf6, 0xf8, 0xf4, 0x10, 0x2a, 0xc1, 0x3b, 0x48, 0x9d, 0x53, 0xc1, - 0x2e, 0x41, 0x73, 0x57, 0x74, 0xa8, 0x43, 0x63, 0x5e, 0xbc, 0x55, 0xb0, 0xcb, 0xc1, 0x2c, 0x4a, - 0x02, 0xa3, 0x7f, 0x0b, 0x91, 0xf1, 0xcf, 0x21, 0xb8, 0x3f, 0x3c, 0x98, 0x37, 0x10, 0x0b, 0xda, - 0x69, 0xf2, 0x0f, 0x8d, 0x74, 0xfa, 0x77, 0xdb, 0x68, 0x61, 0xfa, 0x17, 0x53, 0x7e, 0xba, 0xba, - 0x1f, 0xf6, 0xc9, 0xd1, 0x16, 0xed, 0x0d, 0xae, 0x22, 0xf5, 0x8e, 0xfd, 0xa6, 0x43, 0xb8, 0xed, - 0x6d, 0x38, 0x30, 0x18, 0x05, 0x7f, 0xd0, 0x68, 0xe1, 0xc6, 0x6e, 0xe2, 0xaf, 0xbd, 0x0d, 0xcf, - 0x6f, 0xc7, 0x4c, 0x6c, 0x7b, 0x4f, 0x70, 0xba, 0x1b, 0x72, 0x3f, 0xa1, 0x3f, 0x4e, 0x24, 0x38, - 0x02, 0x6b, 0x45, 0x02, 0x35, 0xb3, 0xe1, 0x94, 0x4f, 0x05, 0x98, 0x19, 0xe0, 0xea, 0x26, 0x28, - 0x25, 0xf0, 0xa4, 0x24, 0x63, 0xd6, 0xf0, 0x8a, 0xa2, 0x7e, 0x82, 0xf3, 0x70, 0x60, 0x6d, 0x14, - 0xd3, 0x28, 0x4b, 0x10, 0x11, 0xf8, 0xd2, 0x24, 0x3f, 0x11, 0x9c, 0x7f, 0xa6, 0xbe, 0xfa, 0x3d, - 0x82, 0xc1, 0xa2, 0xbe, 0xaa, 0x3e, 0x18, 0xf5, 0x6f, 0x41, 0xf7, 0x54, 0xfb, 0x61, 0x7d, 0xbe, - 0x41, 0xab, 0xdb, 0x61, 0x6b, 0x17, 0x43, 0xc1, 0x4b, 0x48, 0x9d, 0x4f, 0x73, 0xe3, 0x73, 0xac, - 0x90, 0xc1, 0xba, 0xa8, 0x14, 0xbc, 0x25, 0x9c, 0x66, 0xeb, 0xb3, 0xcc, 0x58, 0xaa, 0x0d, 0x13, - 0xf9, 0x3e, 0xad, 0x2f, 0xe4, 0xf0, 0x78, 0xc5, 0x24, 0xe9, 0xb6, 0x56, 0x5f, 0x15, 0xfb, 0x3d, - 0x96, 0x72, 0xef, 0x21, 0xf5, 0x8e, 0x0a, 0x76, 0x7d, 0x84, 0xd9, 0x69, 0xb7, 0x54, 0x06, 0x4e, - 0x7f, 0x81, 0xba, 0xf3, 0x12, 0x82, 0xe1, 0xf8, 0xc0, 0x45, 0xd3, 0xef, 0x30, 0x1c, 0x4c, 0x47, - 0x5f, 0x38, 0x05, 0xdf, 0x44, 0xea, 0x02, 0x2f, 0xec, 0x38, 0xde, 0x59, 0x4f, 0x43, 0x83, 0xc8, - 0xf1, 0x04, 0xf4, 0x45, 0x89, 0xc8, 0x52, 0x71, 0x10, 0x06, 0x24, 0x9c, 0x65, 0xe9, 0xf8, 0x1b, - 0x45, 0x9d, 0x27, 0x72, 0xca, 0x99, 0x92, 0x2b, 0x64, 0x3e, 0x24, 0xb8, 0xff, 0x4a, 0xfd, 0x78, - 0x0d, 0xc1, 0xb6, 0x6e, 0xfc, 0x58, 0xdd, 0x95, 0xe4, 0xff, 0xa2, 0xe9, 0x29, 0x94, 0xa5, 0xec, - 0xc1, 0xab, 0x3b, 0xe0, 0xbe, 0x2e, 0x87, 0x84, 0x9f, 0x20, 0xb5, 0x97, 0xe6, 0xd5, 0x7e, 0xb2, - 0x8a, 0x38, 0xdc, 0x34, 0xda, 0xd0, 0x17, 0x15, 0x28, 0x68, 0x0b, 0xa7, 0x6a, 0x7f, 0xb6, 0x21, - 0x4b, 0xd6, 0x0a, 0x11, 0x75, 0x58, 0x5f, 0xc4, 0x81, 0x0a, 0x8b, 0x16, 0x92, 0xaf, 0xeb, 0xf5, - 0x35, 0x49, 0x4d, 0xb1, 0x94, 0xfd, 0x17, 0x52, 0xe7, 0x55, 0xb0, 0x2b, 0xa0, 0xcd, 0x4e, 0x5a, - 0x4d, 0x0e, 0x53, 0x7f, 0x89, 0xba, 0xfb, 0x3b, 0x08, 0x46, 0x12, 0xc7, 0x2f, 0x9a, 0xb9, 0x47, - 0xe0, 0xb3, 0x99, 0x3c, 0x0a, 0x27, 0xef, 0xbf, 0x91, 0x7a, 0x67, 0x05, 0xbb, 0xc3, 0x75, 0xd7, - 0x9c, 0x4c, 0x75, 0x54, 0xd4, 0x22, 0x8f, 0x02, 0x97, 0xa9, 0x02, 0x17, 0x10, 0x3c, 0xc0, 0x91, - 0x1b, 0xa4, 0x9b, 0x5a, 0x41, 0x21, 0xaa, 0x07, 0xe0, 0x91, 0xb4, 0x1e, 0x0a, 0x4a, 0xe0, 0x2d, - 0x88, 0x16, 0x7b, 0x29, 0x19, 0x25, 0xe5, 0xc0, 0xc6, 0x2c, 0xde, 0x62, 0xba, 0xaf, 0x92, 0x73, - 0x27, 0x09, 0x6f, 0x13, 0xfa, 0xcd, 0xa0, 0xfa, 0x24, 0xb2, 0x8f, 0xd7, 0xab, 0x21, 0xf8, 0x54, - 0x26, 0x5b, 0x59, 0xe5, 0x7a, 0x17, 0xa9, 0x0b, 0xbd, 0xc1, 0x03, 0x28, 0xb3, 0x5e, 0x8f, 0x4f, - 0x10, 0x9a, 0x8d, 0xa0, 0xb0, 0x08, 0x68, 0x65, 0x25, 0xf9, 0xde, 0xa0, 0x06, 0x46, 0xad, 0x53, - 0xe9, 0xbd, 0xa1, 0xd0, 0xc9, 0x46, 0xf4, 0x59, 0xae, 0xd2, 0x9c, 0xe5, 0xab, 0xff, 0xd0, 0x58, - 0xfd, 0x27, 0x0a, 0x2a, 0x5e, 0xd1, 0x20, 0xdd, 0x23, 0x49, 0xf4, 0xa2, 0x25, 0xba, 0x0c, 0x9b, - 0x0b, 0x41, 0xa8, 0x7e, 0x06, 0x86, 0xba, 0x1f, 0x18, 0xce, 0x29, 0x6a, 0xef, 0xa3, 0x9d, 0x46, - 0xee, 0x42, 0x4d, 0x6d, 0x73, 0x14, 0x6a, 0x6e, 0xc8, 0x0a, 0xf5, 0xcb, 0x54, 0xe1, 0x2b, 0x48, - 0x9b, 0x91, 0x7a, 0xe8, 0x95, 0xf6, 0x23, 0xda, 0x2c, 0x94, 0xc4, 0xef, 0x21, 0x75, 0x01, 0x9d, - 0x63, 0x76, 0xf3, 0xdd, 0x24, 0xc4, 0x56, 0x8e, 0x7e, 0x53, 0x78, 0xda, 0xea, 0xcb, 0xb4, 0x63, - 0x62, 0xec, 0x24, 0x5a, 0x0c, 0xe9, 0xc0, 0xf1, 0xfb, 0x3b, 0x57, 0x32, 0x67, 0xad, 0xd1, 0x56, - 0xc4, 0x1b, 0x82, 0xcc, 0xf0, 0xa6, 0xab, 0x5f, 0x23, 0x75, 0xe1, 0x28, 0xa6, 0xb4, 0x03, 0xa0, - 0xfd, 0x52, 0x00, 0xdc, 0xb6, 0x30, 0xd4, 0x47, 0x09, 0xd4, 0x43, 0xfa, 0xf2, 0x04, 0x44, 0x36, - 0xeb, 0xd4, 0xc3, 0xbc, 0x59, 0xef, 0x97, 0x61, 0xe6, 0xae, 0x10, 0xcc, 0xe1, 0x97, 0x48, 0xed, - 0x1d, 0xc5, 0x75, 0x6b, 0x12, 0xdb, 0x01, 0xfc, 0xbe, 0x14, 0xf8, 0xc4, 0xb4, 0x30, 0xfa, 0x23, - 0x04, 0xfd, 0x81, 0x60, 0x8b, 0x1c, 0x42, 0x4f, 0xfa, 0xf4, 0xc0, 0x6f, 0xd2, 0xfb, 0xb2, 0xc1, - 0x73, 0x6b, 0xaf, 0xc8, 0xce, 0xad, 0x60, 0x37, 0xc0, 0xbd, 0x51, 0xb6, 0xf0, 0xf3, 0x4d, 0x84, - 0x45, 0xc3, 0x32, 0x29, 0x76, 0xfd, 0x34, 0xcd, 0x91, 0x69, 0xd8, 0x9e, 0x80, 0x26, 0x47, 0xe9, - 0x18, 0x81, 0x87, 0xb2, 0x68, 0xe4, 0x98, 0x1e, 0xff, 0x81, 0xd4, 0x05, 0x34, 0x79, 0xf3, 0x64, - 0x40, 0xb8, 0x1e, 0xf4, 0x65, 0xda, 0x31, 0xc7, 0x3c, 0x47, 0xa9, 0x9e, 0x46, 0x5a, 0x77, 0x5c, - 0x3d, 0xaf, 0x55, 0xb4, 0x19, 0xa0, 0xeb, 0x39, 0xf4, 0x8c, 0xa2, 0xf6, 0x8a, 0x0e, 0x1d, 0x31, - 0x5c, 0x03, 0xca, 0x79, 0x9c, 0xea, 0x59, 0x72, 0xee, 0x83, 0xf9, 0x1f, 0x60, 0x22, 0x9c, 0xa7, - 0x22, 0x7c, 0x0d, 0x05, 0x15, 0xbc, 0x61, 0xb8, 0x46, 0x41, 0xaf, 0xef, 0x85, 0x4a, 0xe8, 0xe9, - 0x90, 0x00, 0x85, 0xba, 0x82, 0xab, 0x48, 0x9d, 0xef, 0xcd, 0x87, 0x3e, 0xe2, 0x9c, 0xd3, 0xeb, - 0x4a, 0xa9, 0xdb, 0xc9, 0xec, 0x6a, 0x11, 0x9a, 0x26, 0x6c, 0x2c, 0xe0, 0x6a, 0x71, 0x19, 0x54, - 0xd4, 0xbb, 0xf0, 0x01, 0x52, 0xe1, 0x28, 0xb6, 0x5b, 0x66, 0x3b, 0x14, 0xc5, 0x1b, 0xa4, 0x30, - 0x7d, 0x63, 0xce, 0xa8, 0x94, 0xc7, 0x34, 0x1a, 0xcb, 0xa5, 0x1b, 0x88, 0xe5, 0xd2, 0x0c, 0xc5, - 0xf2, 0x5f, 0x68, 0x2c, 0x1f, 0xb4, 0x1a, 0x38, 0xa5, 0xb0, 0x86, 0x9a, 0x85, 0xe2, 0xb4, 0x32, - 0xd5, 0x50, 0xff, 0xaa, 0x42, 0x98, 0xfe, 0x0f, 0x41, 0x9b, 0xa3, 0x0d, 0xbf, 0x9d, 0xa5, 0x74, - 0xfd, 0x7f, 0x6b, 0x51, 0xc8, 0xa1, 0x16, 0x11, 0x7f, 0xa8, 0x21, 0x98, 0x96, 0x49, 0xef, 0x66, - 0x63, 0xba, 0xfa, 0x0d, 0x04, 0x67, 0x91, 0x6c, 0x4c, 0x2e, 0x53, 0xa8, 0x13, 0x5f, 0xb3, 0x99, - 0x47, 0x03, 0x57, 0x7a, 0xd4, 0x4f, 0x7a, 0xc9, 0x3c, 0xd5, 0x36, 0x5a, 0x66, 0xdd, 0xd3, 0xc8, - 0x7f, 0xd5, 0xb3, 0x39, 0xaa, 0x60, 0xb2, 0x1d, 0x17, 0x3c, 0x36, 0x75, 0x24, 0xda, 0xb2, 0x40, - 0xfb, 0x3e, 0x95, 0xff, 0xbb, 0x0a, 0x7c, 0xf9, 0xe6, 0xca, 0x5f, 0x6e, 0x50, 0x54, 0x35, 0xfe, - 0x1a, 0xa0, 0xfa, 0x02, 0x82, 0xe7, 0x6f, 0x19, 0x7f, 0xc4, 0xe0, 0xc1, 0x7f, 0x15, 0x15, 0xbc, - 0xd2, 0x13, 0x0a, 0x5f, 0x27, 0xbe, 0x3e, 0x0a, 0xb5, 0x8b, 0x15, 0x6d, 0x4d, 0xa6, 0xa5, 0x7e, - 0x89, 0x7a, 0xe3, 0xbc, 0x02, 0x8e, 0xd4, 0x1b, 0xfe, 0xbb, 0x29, 0x09, 0xe9, 0xe4, 0x76, 0x9f, - 0x7a, 0x72, 0x33, 0x2d, 0xfb, 0x97, 0x11, 0x5c, 0x4c, 0xf7, 0x40, 0xf2, 0xd3, 0xd4, 0x0f, 0xb3, - 0x07, 0x0c, 0x2e, 0x7c, 0x5c, 0x5d, 0x16, 0xd7, 0x7e, 0x8f, 0x65, 0x93, 0x2f, 0x10, 0xe5, 0x54, - 0x61, 0x99, 0x55, 0x41, 0x4f, 0xbc, 0x38, 0x87, 0x78, 0xe2, 0xf2, 0x1c, 0xf8, 0x41, 0x0f, 0x57, - 0xa4, 0x7e, 0xdc, 0x6c, 0x36, 0x6c, 0x1c, 0xfd, 0x32, 0xe4, 0x94, 0x4f, 0x85, 0x7f, 0xa8, 0xf1, - 0x38, 0x0a, 0xfd, 0x22, 0x51, 0xa5, 0xf0, 0xa3, 0xbe, 0x60, 0x85, 0x9f, 0x64, 0x51, 0x9e, 0xe7, - 0x39, 0x3f, 0x0d, 0x12, 0xac, 0xd9, 0x37, 0x8a, 0x54, 0x0e, 0xdc, 0x26, 0x05, 0x2c, 0x37, 0x91, - 0xa2, 0xe2, 0x06, 0x7c, 0x1f, 0x95, 0x64, 0x63, 0x63, 0xd7, 0x9e, 0xaa, 0x19, 0xae, 0x8b, 0x5b, - 0x1d, 0x77, 0xba, 0x7a, 0xbd, 0x07, 0xae, 0xc5, 0xdd, 0x45, 0x22, 0xb7, 0xb0, 0x5a, 0x24, 0xa8, - 0x3f, 0xf2, 0xf4, 0xad, 0xe9, 0x69, 0x38, 0xdd, 0xa3, 0x2e, 0x8a, 0xae, 0x49, 0xc8, 0x1a, 0x7b, - 0x63, 0xd6, 0xba, 0x44, 0x5c, 0x5f, 0x6f, 0xca, 0x67, 0xcc, 0xe6, 0xca, 0x0b, 0xb4, 0x3a, 0x9f, - 0x15, 0xaa, 0x33, 0x59, 0x1d, 0xdf, 0xa4, 0xf5, 0xca, 0x37, 0x11, 0x9c, 0x43, 0x89, 0xcb, 0xf2, - 0x78, 0xdc, 0xde, 0x1c, 0x48, 0xf0, 0x0a, 0x52, 0x17, 0x8c, 0xe2, 0x71, 0xd3, 0x71, 0xb1, 0x7d, - 0x98, 0xf6, 0x18, 0xdf, 0xd7, 0xb1, 0x06, 0x6e, 0x27, 0xdd, 0xd7, 0xc5, 0xec, 0x98, 0xec, 0x23, - 0x44, 0xf5, 0x07, 0xf4, 0x5e, 0xce, 0x9d, 0x61, 0x27, 0xef, 0x35, 0xfa, 0x74, 0x3d, 0xfa, 0x33, - 0x95, 0x85, 0x1f, 0xa2, 0xe0, 0x6f, 0x37, 0xbe, 0x8d, 0xd4, 0x79, 0x74, 0xc3, 0xc8, 0x81, 0x2e, - 0x91, 0x00, 0xd0, 0xd6, 0x49, 0x1a, 0x22, 0xfb, 0xcd, 0x3d, 0x04, 0xd7, 0x4e, 0x6d, 0x71, 0x0c, - 0xc0, 0x29, 0xb3, 0x41, 0x56, 0xe0, 0x77, 0x6b, 0xab, 0x93, 0xc1, 0xf1, 0x85, 0x0b, 0x41, 0xf6, - 0x2c, 0x52, 0xe7, 0x7a, 0x73, 0x0e, 0x1b, 0xc5, 0x01, 0x5d, 0x32, 0x7e, 0xea, 0xb7, 0x5a, 0xfe, - 0xb4, 0x7e, 0x2f, 0x81, 0x35, 0x08, 0x31, 0xb9, 0xaa, 0x2b, 0x40, 0x93, 0xc3, 0x81, 0xb7, 0x91, - 0x7a, 0x67, 0xf8, 0x2b, 0xe8, 0xee, 0x49, 0xdc, 0x76, 0xe3, 0xab, 0xcf, 0xd8, 0x1e, 0x94, 0xd8, - 0x71, 0x60, 0x03, 0x79, 0xcd, 0x99, 0x8a, 0x35, 0x02, 0xf7, 0x71, 0x7d, 0xa9, 0xbf, 0x57, 0xf1, - 0x9a, 0x9d, 0xf0, 0x17, 0xd2, 0x21, 0x7d, 0x7b, 0xa4, 0x99, 0xe0, 0xa6, 0x67, 0x45, 0xe2, 0xd1, - 0x2f, 0x3e, 0x0b, 0xbf, 0xf5, 0xdf, 0xbe, 0x91, 0xe4, 0x26, 0x9c, 0x36, 0xa4, 0xe6, 0x7d, 0x88, - 0x4f, 0x29, 0x8f, 0x29, 0xe3, 0x52, 0x25, 0x5c, 0x8e, 0x06, 0x5f, 0x8e, 0x18, 0x58, 0x2f, 0x5f, - 0x08, 0x8f, 0x1d, 0xfa, 0x36, 0x39, 0x0f, 0x69, 0x22, 0x13, 0x1a, 0x7f, 0xf2, 0x69, 0x78, 0xab, - 0x19, 0x09, 0x0d, 0xd2, 0x94, 0x8f, 0x46, 0x92, 0x29, 0xa3, 0xd1, 0x21, 0x34, 0x4e, 0xc4, 0x68, - 0xf8, 0xe7, 0x43, 0x0e, 0xe9, 0xfb, 0xe4, 0x34, 0x3a, 0x86, 0x8d, 0xdb, 0x6e, 0x2d, 0xef, 0xec, - 0x4a, 0xc8, 0xbd, 0x7e, 0x3b, 0xd9, 0x61, 0x86, 0x30, 0xc5, 0x77, 0x98, 0xa1, 0xe6, 0xb4, 0x1d, - 0x66, 0xc8, 0x50, 0xff, 0xfb, 0x6d, 0x84, 0xcf, 0xf5, 0xdb, 0xe0, 0x79, 0x25, 0x74, 0xce, 0x22, - 0x52, 0x1f, 0x73, 0x4f, 0xe4, 0x05, 0x66, 0xee, 0xdc, 0x53, 0x75, 0xc6, 0xdc, 0x9c, 0x38, 0x19, - 0x27, 0xcd, 0xbe, 0xf1, 0xe9, 0x36, 0x71, 0x7e, 0x8d, 0x2f, 0x9d, 0x5e, 0x55, 0xe0, 0xaa, 0x54, - 0x1e, 0x3e, 0xd1, 0xe4, 0x71, 0xea, 0x87, 0x5e, 0x4a, 0x78, 0xbf, 0x87, 0xee, 0x14, 0x43, 0x61, - 0x98, 0xb0, 0x53, 0x0c, 0xb5, 0xa7, 0xee, 0x4f, 0x62, 0x96, 0xfa, 0xb9, 0x1e, 0x12, 0xd4, 0x67, - 0x7a, 0xe0, 0x87, 0x48, 0x1a, 0xd4, 0xb9, 0xdd, 0x90, 0xd7, 0x07, 0xf9, 0x1c, 0x20, 0x57, 0xbf, - 0xfa, 0x07, 0x04, 0x6f, 0xa1, 0xd4, 0x28, 0xcb, 0x15, 0x62, 0xb7, 0x1c, 0x31, 0xf8, 0xdb, 0xed, - 0x64, 0x3d, 0x1a, 0x72, 0x54, 0xf2, 0x7a, 0x34, 0x5a, 0xc5, 0x52, 0xd7, 0xa3, 0xc9, 0xc6, 0xac, - 0x4e, 0x7f, 0x40, 0x0b, 0xdb, 0xfb, 0xb7, 0xc1, 0x15, 0x25, 0xb4, 0x2e, 0xfc, 0xa8, 0xba, 0x45, - 0xab, 0xdb, 0xef, 0x14, 0x78, 0x4d, 0x49, 0x5c, 0x3b, 0x77, 0xb5, 0x0b, 0xfc, 0xd0, 0x97, 0xb8, - 0xd7, 0x15, 0x75, 0x65, 0x68, 0x35, 0x3d, 0x42, 0xba, 0x1c, 0xf6, 0xcf, 0xff, 0xc2, 0x36, 0xc9, - 0x02, 0x35, 0x6a, 0x18, 0xfe, 0xd8, 0xb3, 0xbd, 0xe0, 0x53, 0x2c, 0x13, 0x7e, 0x45, 0x5f, 0x97, - 0xff, 0x0c, 0x69, 0xfb, 0x22, 0x2b, 0xdc, 0xf8, 0x31, 0xe9, 0xf2, 0xa9, 0xf0, 0x29, 0x65, 0x26, - 0x8f, 0xf0, 0x23, 0x93, 0xc7, 0x5b, 0xe9, 0x34, 0xb4, 0x5a, 0x76, 0x87, 0x24, 0x94, 0x84, 0xe7, - 0x69, 0x8d, 0xca, 0x3f, 0x0a, 0x9c, 0x56, 0x54, 0xad, 0x82, 0x5d, 0x99, 0x94, 0xf7, 0xe4, 0x14, - 0x45, 0x58, 0x12, 0x6d, 0x29, 0xf2, 0x08, 0x13, 0xf1, 0x69, 0xa2, 0xe1, 0x53, 0xc1, 0x39, 0x8a, - 0x14, 0x09, 0xe3, 0xe7, 0x2f, 0x76, 0x06, 0x47, 0x72, 0x32, 0x94, 0x92, 0x9d, 0xc4, 0xb8, 0xa8, - 0xa8, 0x2b, 0x47, 0x70, 0x13, 0xdf, 0x78, 0x4c, 0xd1, 0x5e, 0x8a, 0xc6, 0x14, 0x7f, 0x8a, 0xc9, - 0xf1, 0x2c, 0x8d, 0xa9, 0xa7, 0x4b, 0x5d, 0xe9, 0xe1, 0x05, 0xcf, 0xae, 0xd2, 0x0d, 0x4a, 0xe2, - 0xc5, 0xc6, 0x73, 0x8a, 0xba, 0x24, 0x94, 0x69, 0x82, 0x1e, 0x03, 0x12, 0x66, 0xb2, 0xec, 0x2a, - 0xe7, 0xb6, 0x67, 0x1a, 0x9c, 0xa3, 0x1a, 0x9c, 0x41, 0x5a, 0x39, 0xca, 0x24, 0x23, 0xa1, 0x3c, - 0xfe, 0x87, 0xb5, 0x47, 0x66, 0x30, 0x79, 0xd8, 0xb9, 0xf3, 0x45, 0x41, 0xa2, 0x08, 0x4a, 0x6c, - 0xcc, 0x64, 0x26, 0x24, 0xc7, 0xa6, 0x7c, 0xc6, 0x4c, 0x03, 0x4c, 0x24, 0xa8, 0xc1, 0xdd, 0x69, - 0x0a, 0x70, 0x90, 0xd5, 0xfb, 0x82, 0x0f, 0xed, 0x85, 0x7c, 0x0e, 0xd7, 0x91, 0xba, 0x24, 0x14, - 0xfd, 0x85, 0xfc, 0x1c, 0x8e, 0xf8, 0x72, 0x6e, 0x7b, 0xc6, 0xf1, 0x24, 0xe1, 0x88, 0x4b, 0xb9, - 0x38, 0x92, 0x0d, 0x79, 0xa9, 0x3b, 0x9a, 0xe4, 0xac, 0x83, 0xa2, 0x2e, 0xa5, 0x71, 0xc6, 0x5f, - 0x0d, 0x08, 0x54, 0xa5, 0x9f, 0xc8, 0x65, 0x31, 0x3d, 0x98, 0xff, 0x01, 0x46, 0xf6, 0x5d, 0x1a, - 0xd4, 0x6f, 0x23, 0xad, 0x1a, 0x3b, 0xef, 0xdb, 0xc5, 0x34, 0x11, 0xfa, 0x8d, 0x77, 0x44, 0x44, - 0x72, 0x35, 0x2b, 0x6d, 0x80, 0x1b, 0x9a, 0x36, 0xa4, 0xa3, 0xc2, 0x57, 0x14, 0x75, 0xb1, 0x70, - 0x50, 0x5c, 0xd0, 0x76, 0x53, 0xb6, 0x54, 0x42, 0x96, 0x6c, 0xce, 0x69, 0xcd, 0x54, 0xfd, 0x3a, - 0x55, 0xf5, 0x19, 0x04, 0x3b, 0x52, 0x55, 0x8d, 0x15, 0xb9, 0xe0, 0xcb, 0xcf, 0x74, 0x75, 0x37, - 0xec, 0xca, 0x54, 0x4c, 0x52, 0x2b, 0x85, 0x6e, 0xe0, 0x82, 0xa2, 0x2e, 0xa5, 0x11, 0xde, 0x5d, - 0x84, 0x85, 0xb3, 0x69, 0x30, 0xff, 0x03, 0xfc, 0x45, 0x31, 0xd5, 0xe2, 0x2c, 0x2a, 0x75, 0xaf, - 0x85, 0x17, 0x40, 0x0f, 0x97, 0x66, 0x42, 0x0e, 0x2f, 0x28, 0x5e, 0x43, 0xea, 0x12, 0x6f, 0xdf, - 0x78, 0x80, 0xdf, 0x90, 0x4a, 0xab, 0x2e, 0x12, 0x43, 0x69, 0x75, 0x91, 0xda, 0x33, 0x39, 0x0e, - 0x12, 0x35, 0x1e, 0x06, 0xff, 0x04, 0x5a, 0x70, 0x4f, 0x2b, 0x60, 0x23, 0x5e, 0xf3, 0x48, 0x6a, - 0x17, 0xde, 0x54, 0xbe, 0xc7, 0x4e, 0xa4, 0x06, 0x07, 0x48, 0x4d, 0xec, 0xc4, 0xdf, 0x3b, 0x0b, - 0xe7, 0x4b, 0xc5, 0xcd, 0xf5, 0xea, 0x0c, 0xbb, 0xa4, 0x48, 0xf6, 0x16, 0xc7, 0x0d, 0x7a, 0x49, - 0xcb, 0xf4, 0x1c, 0xc7, 0xaf, 0x97, 0xd5, 0xdc, 0xa9, 0x0e, 0x4e, 0x92, 0x5f, 0x8c, 0xe4, 0xc8, - 0xc3, 0x82, 0xd7, 0x32, 0xbb, 0xf1, 0x56, 0x86, 0xf3, 0x2b, 0x58, 0x60, 0x3a, 0x15, 0xbf, 0x9a, - 0x22, 0x34, 0x0a, 0xe9, 0xbb, 0x3c, 0xc5, 0x4c, 0xff, 0x31, 0xa5, 0xf8, 0x32, 0x82, 0xbd, 0x79, - 0x29, 0x66, 0x1f, 0x1a, 0xfa, 0x3c, 0x3c, 0x96, 0x46, 0xd9, 0xdf, 0xbc, 0x17, 0xee, 0x19, 0x5e, - 0x54, 0xd4, 0x85, 0xb4, 0x88, 0x8b, 0x42, 0xf4, 0xa7, 0x30, 0x0c, 0xcf, 0x11, 0x1b, 0x72, 0x58, - 0xb2, 0x58, 0xfd, 0x29, 0x55, 0xe6, 0x47, 0x48, 0x9b, 0x39, 0x65, 0xbc, 0x54, 0x7e, 0x42, 0x9b, - 0x25, 0x71, 0xbc, 0xec, 0x6e, 0xaa, 0x6a, 0x05, 0xbb, 0x8f, 0xd1, 0xfd, 0x5a, 0xfc, 0x7a, 0x60, - 0xd0, 0x26, 0xbd, 0x1e, 0x28, 0x9a, 0x30, 0x25, 0x96, 0x10, 0x21, 0x16, 0xc2, 0x02, 0x8e, 0x9b, - 0xed, 0x07, 0xe1, 0xe7, 0x0a, 0x59, 0x84, 0x8d, 0x04, 0xd7, 0x17, 0x99, 0x43, 0xb2, 0x6f, 0x37, - 0xc4, 0xa0, 0xc5, 0x3a, 0xd1, 0xdf, 0xa1, 0x0e, 0x78, 0x13, 0x81, 0xbf, 0xf3, 0x8a, 0x5d, 0x94, - 0x24, 0x6e, 0x20, 0x9b, 0xd2, 0x82, 0x62, 0x85, 0xef, 0x3f, 0xb4, 0xa1, 0x99, 0x3a, 0x44, 0xec, - 0xa8, 0xd4, 0x8d, 0x8d, 0x07, 0xaf, 0xf6, 0xd0, 0x22, 0x1c, 0x25, 0x6d, 0x26, 0xcd, 0xcd, 0x31, - 0x65, 0xc4, 0x1a, 0xb6, 0x2e, 0x97, 0xb5, 0xfe, 0x47, 0xfa, 0xc1, 0xf2, 0x0d, 0x05, 0x0e, 0xa5, - 0x6b, 0x59, 0x3c, 0xd9, 0xbf, 0x08, 0x5f, 0x28, 0xa0, 0x5d, 0xf1, 0xfe, 0x2b, 0xb0, 0x7b, 0x46, - 0x20, 0x57, 0x8f, 0xc2, 0xe8, 0xcc, 0x03, 0x85, 0x4b, 0x0a, 0xb9, 0xe5, 0xe2, 0xbf, 0x9a, 0x3b, - 0x80, 0x5d, 0xdb, 0xac, 0x3b, 0xb0, 0x25, 0xcf, 0x81, 0x4d, 0x66, 0xcc, 0x9d, 0xb9, 0xb5, 0xd0, - 0x33, 0x2c, 0x3b, 0x13, 0x6e, 0xcf, 0xb6, 0xa8, 0x49, 0xc1, 0xa3, 0x9e, 0xc2, 0xed, 0xd9, 0x84, - 0x0e, 0x0a, 0x9e, 0x16, 0x7c, 0xe8, 0xc1, 0xea, 0xfd, 0xe3, 0xa6, 0x7b, 0x7c, 0x62, 0x6c, 0xa0, - 0x6e, 0xb5, 0xca, 0x84, 0x97, 0xd7, 0x05, 0xf9, 0xa3, 0xec, 0xdf, 0x7f, 0x1e, 0xc7, 0xed, 0x72, - 0x67, 0x6c, 0xf3, 0xb8, 0x55, 0x8e, 0xde, 0xa3, 0x1f, 0xfb, 0x18, 0xb9, 0x02, 0xbd, 0xf5, 0xff, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x04, 0x8a, 0x6d, 0xbe, 0x62, 0x3f, 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 - -// AdminServiceClient is the client API for AdminService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdminServiceClient interface { - // Create and upload a :ref:`ref_flyteidl.admin.Task` definition - CreateTask(ctx context.Context, in *admin.TaskCreateRequest, opts ...grpc.CallOption) (*admin.TaskCreateResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.Task` definition. - GetTask(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Task, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. - ListTaskIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - ListTasks(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.TaskList, error) - // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - CreateWorkflow(ctx context.Context, in *admin.WorkflowCreateRequest, opts ...grpc.CallOption) (*admin.WorkflowCreateResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. - GetWorkflow(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Workflow, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. - ListWorkflowIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - ListWorkflows(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.WorkflowList, error) - // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - CreateLaunchPlan(ctx context.Context, in *admin.LaunchPlanCreateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanCreateResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. - GetLaunchPlan(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) - // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - GetActiveLaunchPlan(ctx context.Context, in *admin.ActiveLaunchPlanRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) - // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. - ListActiveLaunchPlans(ctx context.Context, in *admin.ActiveLaunchPlanListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. - ListLaunchPlanIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - ListLaunchPlans(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) - // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - UpdateLaunchPlan(ctx context.Context, in *admin.LaunchPlanUpdateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanUpdateResponse, error) - // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - CreateExecution(ctx context.Context, in *admin.ExecutionCreateRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) - // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - RelaunchExecution(ctx context.Context, in *admin.ExecutionRelaunchRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) - // Recreates a previously-run workflow execution that will only start executing from the last known failure point. - // In Recover mode, users cannot change any input parameters or update the version of the execution. - // This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, - // downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. - // See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - RecoverExecution(ctx context.Context, in *admin.ExecutionRecoverRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) - // Fetches a :ref:`ref_flyteidl.admin.Execution`. - GetExecution(ctx context.Context, in *admin.WorkflowExecutionGetRequest, opts ...grpc.CallOption) (*admin.Execution, error) - // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - UpdateExecution(ctx context.Context, in *admin.ExecutionUpdateRequest, opts ...grpc.CallOption) (*admin.ExecutionUpdateResponse, error) - // Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - GetExecutionData(ctx context.Context, in *admin.WorkflowExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetDataResponse, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Execution`. - ListExecutions(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.ExecutionList, error) - // Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - TerminateExecution(ctx context.Context, in *admin.ExecutionTerminateRequest, opts ...grpc.CallOption) (*admin.ExecutionTerminateResponse, error) - // Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - GetNodeExecution(ctx context.Context, in *admin.NodeExecutionGetRequest, opts ...grpc.CallOption) (*admin.NodeExecution, error) - // Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. - GetDynamicNodeWorkflow(ctx context.Context, in *admin.GetDynamicNodeWorkflowRequest, opts ...grpc.CallOption) (*admin.DynamicNodeWorkflowResponse, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. - ListNodeExecutions(ctx context.Context, in *admin.NodeExecutionListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. - ListNodeExecutionsForTask(ctx context.Context, in *admin.NodeExecutionForTaskListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) - // Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - GetNodeExecutionData(ctx context.Context, in *admin.NodeExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.NodeExecutionGetDataResponse, error) - // Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - RegisterProject(ctx context.Context, in *admin.ProjectRegisterRequest, opts ...grpc.CallOption) (*admin.ProjectRegisterResponse, error) - // Updates an existing :ref:`ref_flyteidl.admin.Project` - // flyteidl.admin.Project should be passed but the domains property should be empty; - // it will be ignored in the handler as domains cannot be updated via this API. - UpdateProject(ctx context.Context, in *admin.Project, opts ...grpc.CallOption) (*admin.ProjectUpdateResponse, error) - // Fetches a list of :ref:`ref_flyteidl.admin.Project` - ListProjects(ctx context.Context, in *admin.ProjectListRequest, opts ...grpc.CallOption) (*admin.Projects, error) - // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - CreateWorkflowEvent(ctx context.Context, in *admin.WorkflowExecutionEventRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionEventResponse, error) - // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - CreateNodeEvent(ctx context.Context, in *admin.NodeExecutionEventRequest, opts ...grpc.CallOption) (*admin.NodeExecutionEventResponse, error) - // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - CreateTaskEvent(ctx context.Context, in *admin.TaskExecutionEventRequest, opts ...grpc.CallOption) (*admin.TaskExecutionEventResponse, error) - // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. - GetTaskExecution(ctx context.Context, in *admin.TaskExecutionGetRequest, opts ...grpc.CallOption) (*admin.TaskExecution, error) - // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. - ListTaskExecutions(ctx context.Context, in *admin.TaskExecutionListRequest, opts ...grpc.CallOption) (*admin.TaskExecutionList, error) - // Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. - GetTaskExecutionData(ctx context.Context, in *admin.TaskExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.TaskExecutionGetDataResponse, error) - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - UpdateProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesUpdateResponse, error) - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - GetProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesGetResponse, error) - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - DeleteProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesDeleteResponse, error) - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - UpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesUpdateResponse, error) - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - GetProjectAttributes(ctx context.Context, in *admin.ProjectAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesGetResponse, error) - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - DeleteProjectAttributes(ctx context.Context, in *admin.ProjectAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesDeleteResponse, error) - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - UpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesUpdateResponse, error) - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - GetWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesGetRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesGetResponse, error) - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - DeleteWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesDeleteResponse, error) - // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. - ListMatchableAttributes(ctx context.Context, in *admin.ListMatchableAttributesRequest, opts ...grpc.CallOption) (*admin.ListMatchableAttributesResponse, error) - // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. - ListNamedEntities(ctx context.Context, in *admin.NamedEntityListRequest, opts ...grpc.CallOption) (*admin.NamedEntityList, error) - // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - GetNamedEntity(ctx context.Context, in *admin.NamedEntityGetRequest, opts ...grpc.CallOption) (*admin.NamedEntity, error) - // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - UpdateNamedEntity(ctx context.Context, in *admin.NamedEntityUpdateRequest, opts ...grpc.CallOption) (*admin.NamedEntityUpdateResponse, error) - GetVersion(ctx context.Context, in *admin.GetVersionRequest, opts ...grpc.CallOption) (*admin.GetVersionResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - GetDescriptionEntity(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.DescriptionEntity, error) - // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - ListDescriptionEntities(ctx context.Context, in *admin.DescriptionEntityListRequest, opts ...grpc.CallOption) (*admin.DescriptionEntityList, error) - // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. - GetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetMetricsResponse, error) -} - -type adminServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdminServiceClient(cc *grpc.ClientConn) AdminServiceClient { - return &adminServiceClient{cc} -} - -func (c *adminServiceClient) CreateTask(ctx context.Context, in *admin.TaskCreateRequest, opts ...grpc.CallOption) (*admin.TaskCreateResponse, error) { - out := new(admin.TaskCreateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/CreateTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetTask(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Task, error) { - out := new(admin.Task) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListTaskIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) { - out := new(admin.NamedEntityIdentifierList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListTaskIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListTasks(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.TaskList, error) { - out := new(admin.TaskList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListTasks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) CreateWorkflow(ctx context.Context, in *admin.WorkflowCreateRequest, opts ...grpc.CallOption) (*admin.WorkflowCreateResponse, error) { - out := new(admin.WorkflowCreateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/CreateWorkflow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetWorkflow(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Workflow, error) { - out := new(admin.Workflow) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetWorkflow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListWorkflowIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) { - out := new(admin.NamedEntityIdentifierList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListWorkflowIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListWorkflows(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.WorkflowList, error) { - out := new(admin.WorkflowList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListWorkflows", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) CreateLaunchPlan(ctx context.Context, in *admin.LaunchPlanCreateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanCreateResponse, error) { - out := new(admin.LaunchPlanCreateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/CreateLaunchPlan", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetLaunchPlan(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) { - out := new(admin.LaunchPlan) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetLaunchPlan", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetActiveLaunchPlan(ctx context.Context, in *admin.ActiveLaunchPlanRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) { - out := new(admin.LaunchPlan) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetActiveLaunchPlan", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListActiveLaunchPlans(ctx context.Context, in *admin.ActiveLaunchPlanListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) { - out := new(admin.LaunchPlanList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListActiveLaunchPlans", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListLaunchPlanIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) { - out := new(admin.NamedEntityIdentifierList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListLaunchPlanIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListLaunchPlans(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) { - out := new(admin.LaunchPlanList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListLaunchPlans", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) UpdateLaunchPlan(ctx context.Context, in *admin.LaunchPlanUpdateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanUpdateResponse, error) { - out := new(admin.LaunchPlanUpdateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateLaunchPlan", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) CreateExecution(ctx context.Context, in *admin.ExecutionCreateRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) { - out := new(admin.ExecutionCreateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/CreateExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) RelaunchExecution(ctx context.Context, in *admin.ExecutionRelaunchRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) { - out := new(admin.ExecutionCreateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/RelaunchExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) RecoverExecution(ctx context.Context, in *admin.ExecutionRecoverRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) { - out := new(admin.ExecutionCreateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/RecoverExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetExecution(ctx context.Context, in *admin.WorkflowExecutionGetRequest, opts ...grpc.CallOption) (*admin.Execution, error) { - out := new(admin.Execution) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) UpdateExecution(ctx context.Context, in *admin.ExecutionUpdateRequest, opts ...grpc.CallOption) (*admin.ExecutionUpdateResponse, error) { - out := new(admin.ExecutionUpdateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetExecutionData(ctx context.Context, in *admin.WorkflowExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetDataResponse, error) { - out := new(admin.WorkflowExecutionGetDataResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetExecutionData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListExecutions(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.ExecutionList, error) { - out := new(admin.ExecutionList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListExecutions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) TerminateExecution(ctx context.Context, in *admin.ExecutionTerminateRequest, opts ...grpc.CallOption) (*admin.ExecutionTerminateResponse, error) { - out := new(admin.ExecutionTerminateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/TerminateExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetNodeExecution(ctx context.Context, in *admin.NodeExecutionGetRequest, opts ...grpc.CallOption) (*admin.NodeExecution, error) { - out := new(admin.NodeExecution) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetNodeExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetDynamicNodeWorkflow(ctx context.Context, in *admin.GetDynamicNodeWorkflowRequest, opts ...grpc.CallOption) (*admin.DynamicNodeWorkflowResponse, error) { - out := new(admin.DynamicNodeWorkflowResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetDynamicNodeWorkflow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListNodeExecutions(ctx context.Context, in *admin.NodeExecutionListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) { - out := new(admin.NodeExecutionList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListNodeExecutions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListNodeExecutionsForTask(ctx context.Context, in *admin.NodeExecutionForTaskListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) { - out := new(admin.NodeExecutionList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListNodeExecutionsForTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetNodeExecutionData(ctx context.Context, in *admin.NodeExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.NodeExecutionGetDataResponse, error) { - out := new(admin.NodeExecutionGetDataResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetNodeExecutionData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) RegisterProject(ctx context.Context, in *admin.ProjectRegisterRequest, opts ...grpc.CallOption) (*admin.ProjectRegisterResponse, error) { - out := new(admin.ProjectRegisterResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/RegisterProject", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) UpdateProject(ctx context.Context, in *admin.Project, opts ...grpc.CallOption) (*admin.ProjectUpdateResponse, error) { - out := new(admin.ProjectUpdateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateProject", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListProjects(ctx context.Context, in *admin.ProjectListRequest, opts ...grpc.CallOption) (*admin.Projects, error) { - out := new(admin.Projects) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListProjects", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) CreateWorkflowEvent(ctx context.Context, in *admin.WorkflowExecutionEventRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionEventResponse, error) { - out := new(admin.WorkflowExecutionEventResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/CreateWorkflowEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) CreateNodeEvent(ctx context.Context, in *admin.NodeExecutionEventRequest, opts ...grpc.CallOption) (*admin.NodeExecutionEventResponse, error) { - out := new(admin.NodeExecutionEventResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/CreateNodeEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) CreateTaskEvent(ctx context.Context, in *admin.TaskExecutionEventRequest, opts ...grpc.CallOption) (*admin.TaskExecutionEventResponse, error) { - out := new(admin.TaskExecutionEventResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/CreateTaskEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetTaskExecution(ctx context.Context, in *admin.TaskExecutionGetRequest, opts ...grpc.CallOption) (*admin.TaskExecution, error) { - out := new(admin.TaskExecution) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetTaskExecution", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListTaskExecutions(ctx context.Context, in *admin.TaskExecutionListRequest, opts ...grpc.CallOption) (*admin.TaskExecutionList, error) { - out := new(admin.TaskExecutionList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListTaskExecutions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetTaskExecutionData(ctx context.Context, in *admin.TaskExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.TaskExecutionGetDataResponse, error) { - out := new(admin.TaskExecutionGetDataResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetTaskExecutionData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) UpdateProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesUpdateResponse, error) { - out := new(admin.ProjectDomainAttributesUpdateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesGetResponse, error) { - out := new(admin.ProjectDomainAttributesGetResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetProjectDomainAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) DeleteProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesDeleteResponse, error) { - out := new(admin.ProjectDomainAttributesDeleteResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/DeleteProjectDomainAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) UpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesUpdateResponse, error) { - out := new(admin.ProjectAttributesUpdateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateProjectAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetProjectAttributes(ctx context.Context, in *admin.ProjectAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesGetResponse, error) { - out := new(admin.ProjectAttributesGetResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetProjectAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) DeleteProjectAttributes(ctx context.Context, in *admin.ProjectAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesDeleteResponse, error) { - out := new(admin.ProjectAttributesDeleteResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/DeleteProjectAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) UpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesUpdateResponse, error) { - out := new(admin.WorkflowAttributesUpdateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateWorkflowAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesGetRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesGetResponse, error) { - out := new(admin.WorkflowAttributesGetResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetWorkflowAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) DeleteWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesDeleteResponse, error) { - out := new(admin.WorkflowAttributesDeleteResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/DeleteWorkflowAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListMatchableAttributes(ctx context.Context, in *admin.ListMatchableAttributesRequest, opts ...grpc.CallOption) (*admin.ListMatchableAttributesResponse, error) { - out := new(admin.ListMatchableAttributesResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListMatchableAttributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListNamedEntities(ctx context.Context, in *admin.NamedEntityListRequest, opts ...grpc.CallOption) (*admin.NamedEntityList, error) { - out := new(admin.NamedEntityList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListNamedEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetNamedEntity(ctx context.Context, in *admin.NamedEntityGetRequest, opts ...grpc.CallOption) (*admin.NamedEntity, error) { - out := new(admin.NamedEntity) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetNamedEntity", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) UpdateNamedEntity(ctx context.Context, in *admin.NamedEntityUpdateRequest, opts ...grpc.CallOption) (*admin.NamedEntityUpdateResponse, error) { - out := new(admin.NamedEntityUpdateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateNamedEntity", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetVersion(ctx context.Context, in *admin.GetVersionRequest, opts ...grpc.CallOption) (*admin.GetVersionResponse, error) { - out := new(admin.GetVersionResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetDescriptionEntity(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.DescriptionEntity, error) { - out := new(admin.DescriptionEntity) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetDescriptionEntity", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) ListDescriptionEntities(ctx context.Context, in *admin.DescriptionEntityListRequest, opts ...grpc.CallOption) (*admin.DescriptionEntityList, error) { - out := new(admin.DescriptionEntityList) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListDescriptionEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adminServiceClient) GetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetMetricsResponse, error) { - out := new(admin.WorkflowExecutionGetMetricsResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetExecutionMetrics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdminServiceServer is the server API for AdminService service. -type AdminServiceServer interface { - // Create and upload a :ref:`ref_flyteidl.admin.Task` definition - CreateTask(context.Context, *admin.TaskCreateRequest) (*admin.TaskCreateResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.Task` definition. - GetTask(context.Context, *admin.ObjectGetRequest) (*admin.Task, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. - ListTaskIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - ListTasks(context.Context, *admin.ResourceListRequest) (*admin.TaskList, error) - // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - CreateWorkflow(context.Context, *admin.WorkflowCreateRequest) (*admin.WorkflowCreateResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. - GetWorkflow(context.Context, *admin.ObjectGetRequest) (*admin.Workflow, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. - ListWorkflowIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - ListWorkflows(context.Context, *admin.ResourceListRequest) (*admin.WorkflowList, error) - // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - CreateLaunchPlan(context.Context, *admin.LaunchPlanCreateRequest) (*admin.LaunchPlanCreateResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. - GetLaunchPlan(context.Context, *admin.ObjectGetRequest) (*admin.LaunchPlan, error) - // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - GetActiveLaunchPlan(context.Context, *admin.ActiveLaunchPlanRequest) (*admin.LaunchPlan, error) - // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. - ListActiveLaunchPlans(context.Context, *admin.ActiveLaunchPlanListRequest) (*admin.LaunchPlanList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. - ListLaunchPlanIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - ListLaunchPlans(context.Context, *admin.ResourceListRequest) (*admin.LaunchPlanList, error) - // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - UpdateLaunchPlan(context.Context, *admin.LaunchPlanUpdateRequest) (*admin.LaunchPlanUpdateResponse, error) - // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - CreateExecution(context.Context, *admin.ExecutionCreateRequest) (*admin.ExecutionCreateResponse, error) - // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - RelaunchExecution(context.Context, *admin.ExecutionRelaunchRequest) (*admin.ExecutionCreateResponse, error) - // Recreates a previously-run workflow execution that will only start executing from the last known failure point. - // In Recover mode, users cannot change any input parameters or update the version of the execution. - // This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, - // downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. - // See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - RecoverExecution(context.Context, *admin.ExecutionRecoverRequest) (*admin.ExecutionCreateResponse, error) - // Fetches a :ref:`ref_flyteidl.admin.Execution`. - GetExecution(context.Context, *admin.WorkflowExecutionGetRequest) (*admin.Execution, error) - // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - UpdateExecution(context.Context, *admin.ExecutionUpdateRequest) (*admin.ExecutionUpdateResponse, error) - // Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - GetExecutionData(context.Context, *admin.WorkflowExecutionGetDataRequest) (*admin.WorkflowExecutionGetDataResponse, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Execution`. - ListExecutions(context.Context, *admin.ResourceListRequest) (*admin.ExecutionList, error) - // Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - TerminateExecution(context.Context, *admin.ExecutionTerminateRequest) (*admin.ExecutionTerminateResponse, error) - // Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - GetNodeExecution(context.Context, *admin.NodeExecutionGetRequest) (*admin.NodeExecution, error) - // Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. - GetDynamicNodeWorkflow(context.Context, *admin.GetDynamicNodeWorkflowRequest) (*admin.DynamicNodeWorkflowResponse, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. - ListNodeExecutions(context.Context, *admin.NodeExecutionListRequest) (*admin.NodeExecutionList, error) - // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. - ListNodeExecutionsForTask(context.Context, *admin.NodeExecutionForTaskListRequest) (*admin.NodeExecutionList, error) - // Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - GetNodeExecutionData(context.Context, *admin.NodeExecutionGetDataRequest) (*admin.NodeExecutionGetDataResponse, error) - // Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - RegisterProject(context.Context, *admin.ProjectRegisterRequest) (*admin.ProjectRegisterResponse, error) - // Updates an existing :ref:`ref_flyteidl.admin.Project` - // flyteidl.admin.Project should be passed but the domains property should be empty; - // it will be ignored in the handler as domains cannot be updated via this API. - UpdateProject(context.Context, *admin.Project) (*admin.ProjectUpdateResponse, error) - // Fetches a list of :ref:`ref_flyteidl.admin.Project` - ListProjects(context.Context, *admin.ProjectListRequest) (*admin.Projects, error) - // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - CreateWorkflowEvent(context.Context, *admin.WorkflowExecutionEventRequest) (*admin.WorkflowExecutionEventResponse, error) - // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - CreateNodeEvent(context.Context, *admin.NodeExecutionEventRequest) (*admin.NodeExecutionEventResponse, error) - // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - CreateTaskEvent(context.Context, *admin.TaskExecutionEventRequest) (*admin.TaskExecutionEventResponse, error) - // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. - GetTaskExecution(context.Context, *admin.TaskExecutionGetRequest) (*admin.TaskExecution, error) - // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. - ListTaskExecutions(context.Context, *admin.TaskExecutionListRequest) (*admin.TaskExecutionList, error) - // Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. - GetTaskExecutionData(context.Context, *admin.TaskExecutionGetDataRequest) (*admin.TaskExecutionGetDataResponse, error) - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - UpdateProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesUpdateRequest) (*admin.ProjectDomainAttributesUpdateResponse, error) - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - GetProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesGetRequest) (*admin.ProjectDomainAttributesGetResponse, error) - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - DeleteProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesDeleteRequest) (*admin.ProjectDomainAttributesDeleteResponse, error) - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - UpdateProjectAttributes(context.Context, *admin.ProjectAttributesUpdateRequest) (*admin.ProjectAttributesUpdateResponse, error) - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - GetProjectAttributes(context.Context, *admin.ProjectAttributesGetRequest) (*admin.ProjectAttributesGetResponse, error) - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - DeleteProjectAttributes(context.Context, *admin.ProjectAttributesDeleteRequest) (*admin.ProjectAttributesDeleteResponse, error) - // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - UpdateWorkflowAttributes(context.Context, *admin.WorkflowAttributesUpdateRequest) (*admin.WorkflowAttributesUpdateResponse, error) - // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - GetWorkflowAttributes(context.Context, *admin.WorkflowAttributesGetRequest) (*admin.WorkflowAttributesGetResponse, error) - // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - DeleteWorkflowAttributes(context.Context, *admin.WorkflowAttributesDeleteRequest) (*admin.WorkflowAttributesDeleteResponse, error) - // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. - ListMatchableAttributes(context.Context, *admin.ListMatchableAttributesRequest) (*admin.ListMatchableAttributesResponse, error) - // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. - ListNamedEntities(context.Context, *admin.NamedEntityListRequest) (*admin.NamedEntityList, error) - // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - GetNamedEntity(context.Context, *admin.NamedEntityGetRequest) (*admin.NamedEntity, error) - // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - UpdateNamedEntity(context.Context, *admin.NamedEntityUpdateRequest) (*admin.NamedEntityUpdateResponse, error) - GetVersion(context.Context, *admin.GetVersionRequest) (*admin.GetVersionResponse, error) - // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - GetDescriptionEntity(context.Context, *admin.ObjectGetRequest) (*admin.DescriptionEntity, error) - // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - ListDescriptionEntities(context.Context, *admin.DescriptionEntityListRequest) (*admin.DescriptionEntityList, error) - // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. - GetExecutionMetrics(context.Context, *admin.WorkflowExecutionGetMetricsRequest) (*admin.WorkflowExecutionGetMetricsResponse, error) -} - -// UnimplementedAdminServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdminServiceServer struct { -} - -func (*UnimplementedAdminServiceServer) CreateTask(ctx context.Context, req *admin.TaskCreateRequest) (*admin.TaskCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") -} -func (*UnimplementedAdminServiceServer) GetTask(ctx context.Context, req *admin.ObjectGetRequest) (*admin.Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") -} -func (*UnimplementedAdminServiceServer) ListTaskIds(ctx context.Context, req *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTaskIds not implemented") -} -func (*UnimplementedAdminServiceServer) ListTasks(ctx context.Context, req *admin.ResourceListRequest) (*admin.TaskList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented") -} -func (*UnimplementedAdminServiceServer) CreateWorkflow(ctx context.Context, req *admin.WorkflowCreateRequest) (*admin.WorkflowCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflow not implemented") -} -func (*UnimplementedAdminServiceServer) GetWorkflow(ctx context.Context, req *admin.ObjectGetRequest) (*admin.Workflow, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkflow not implemented") -} -func (*UnimplementedAdminServiceServer) ListWorkflowIds(ctx context.Context, req *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowIds not implemented") -} -func (*UnimplementedAdminServiceServer) ListWorkflows(ctx context.Context, req *admin.ResourceListRequest) (*admin.WorkflowList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkflows not implemented") -} -func (*UnimplementedAdminServiceServer) CreateLaunchPlan(ctx context.Context, req *admin.LaunchPlanCreateRequest) (*admin.LaunchPlanCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateLaunchPlan not implemented") -} -func (*UnimplementedAdminServiceServer) GetLaunchPlan(ctx context.Context, req *admin.ObjectGetRequest) (*admin.LaunchPlan, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLaunchPlan not implemented") -} -func (*UnimplementedAdminServiceServer) GetActiveLaunchPlan(ctx context.Context, req *admin.ActiveLaunchPlanRequest) (*admin.LaunchPlan, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetActiveLaunchPlan not implemented") -} -func (*UnimplementedAdminServiceServer) ListActiveLaunchPlans(ctx context.Context, req *admin.ActiveLaunchPlanListRequest) (*admin.LaunchPlanList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListActiveLaunchPlans not implemented") -} -func (*UnimplementedAdminServiceServer) ListLaunchPlanIds(ctx context.Context, req *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListLaunchPlanIds not implemented") -} -func (*UnimplementedAdminServiceServer) ListLaunchPlans(ctx context.Context, req *admin.ResourceListRequest) (*admin.LaunchPlanList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListLaunchPlans not implemented") -} -func (*UnimplementedAdminServiceServer) UpdateLaunchPlan(ctx context.Context, req *admin.LaunchPlanUpdateRequest) (*admin.LaunchPlanUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateLaunchPlan not implemented") -} -func (*UnimplementedAdminServiceServer) CreateExecution(ctx context.Context, req *admin.ExecutionCreateRequest) (*admin.ExecutionCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateExecution not implemented") -} -func (*UnimplementedAdminServiceServer) RelaunchExecution(ctx context.Context, req *admin.ExecutionRelaunchRequest) (*admin.ExecutionCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RelaunchExecution not implemented") -} -func (*UnimplementedAdminServiceServer) RecoverExecution(ctx context.Context, req *admin.ExecutionRecoverRequest) (*admin.ExecutionCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RecoverExecution not implemented") -} -func (*UnimplementedAdminServiceServer) GetExecution(ctx context.Context, req *admin.WorkflowExecutionGetRequest) (*admin.Execution, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExecution not implemented") -} -func (*UnimplementedAdminServiceServer) UpdateExecution(ctx context.Context, req *admin.ExecutionUpdateRequest) (*admin.ExecutionUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateExecution not implemented") -} -func (*UnimplementedAdminServiceServer) GetExecutionData(ctx context.Context, req *admin.WorkflowExecutionGetDataRequest) (*admin.WorkflowExecutionGetDataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExecutionData not implemented") -} -func (*UnimplementedAdminServiceServer) ListExecutions(ctx context.Context, req *admin.ResourceListRequest) (*admin.ExecutionList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListExecutions not implemented") -} -func (*UnimplementedAdminServiceServer) TerminateExecution(ctx context.Context, req *admin.ExecutionTerminateRequest) (*admin.ExecutionTerminateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TerminateExecution not implemented") -} -func (*UnimplementedAdminServiceServer) GetNodeExecution(ctx context.Context, req *admin.NodeExecutionGetRequest) (*admin.NodeExecution, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNodeExecution not implemented") -} -func (*UnimplementedAdminServiceServer) GetDynamicNodeWorkflow(ctx context.Context, req *admin.GetDynamicNodeWorkflowRequest) (*admin.DynamicNodeWorkflowResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDynamicNodeWorkflow not implemented") -} -func (*UnimplementedAdminServiceServer) ListNodeExecutions(ctx context.Context, req *admin.NodeExecutionListRequest) (*admin.NodeExecutionList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNodeExecutions not implemented") -} -func (*UnimplementedAdminServiceServer) ListNodeExecutionsForTask(ctx context.Context, req *admin.NodeExecutionForTaskListRequest) (*admin.NodeExecutionList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNodeExecutionsForTask not implemented") -} -func (*UnimplementedAdminServiceServer) GetNodeExecutionData(ctx context.Context, req *admin.NodeExecutionGetDataRequest) (*admin.NodeExecutionGetDataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNodeExecutionData not implemented") -} -func (*UnimplementedAdminServiceServer) RegisterProject(ctx context.Context, req *admin.ProjectRegisterRequest) (*admin.ProjectRegisterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RegisterProject not implemented") -} -func (*UnimplementedAdminServiceServer) UpdateProject(ctx context.Context, req *admin.Project) (*admin.ProjectUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateProject not implemented") -} -func (*UnimplementedAdminServiceServer) ListProjects(ctx context.Context, req *admin.ProjectListRequest) (*admin.Projects, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListProjects not implemented") -} -func (*UnimplementedAdminServiceServer) CreateWorkflowEvent(ctx context.Context, req *admin.WorkflowExecutionEventRequest) (*admin.WorkflowExecutionEventResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowEvent not implemented") -} -func (*UnimplementedAdminServiceServer) CreateNodeEvent(ctx context.Context, req *admin.NodeExecutionEventRequest) (*admin.NodeExecutionEventResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNodeEvent not implemented") -} -func (*UnimplementedAdminServiceServer) CreateTaskEvent(ctx context.Context, req *admin.TaskExecutionEventRequest) (*admin.TaskExecutionEventResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTaskEvent not implemented") -} -func (*UnimplementedAdminServiceServer) GetTaskExecution(ctx context.Context, req *admin.TaskExecutionGetRequest) (*admin.TaskExecution, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTaskExecution not implemented") -} -func (*UnimplementedAdminServiceServer) ListTaskExecutions(ctx context.Context, req *admin.TaskExecutionListRequest) (*admin.TaskExecutionList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTaskExecutions not implemented") -} -func (*UnimplementedAdminServiceServer) GetTaskExecutionData(ctx context.Context, req *admin.TaskExecutionGetDataRequest) (*admin.TaskExecutionGetDataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTaskExecutionData not implemented") -} -func (*UnimplementedAdminServiceServer) UpdateProjectDomainAttributes(ctx context.Context, req *admin.ProjectDomainAttributesUpdateRequest) (*admin.ProjectDomainAttributesUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectDomainAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) GetProjectDomainAttributes(ctx context.Context, req *admin.ProjectDomainAttributesGetRequest) (*admin.ProjectDomainAttributesGetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProjectDomainAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) DeleteProjectDomainAttributes(ctx context.Context, req *admin.ProjectDomainAttributesDeleteRequest) (*admin.ProjectDomainAttributesDeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteProjectDomainAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) UpdateProjectAttributes(ctx context.Context, req *admin.ProjectAttributesUpdateRequest) (*admin.ProjectAttributesUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) GetProjectAttributes(ctx context.Context, req *admin.ProjectAttributesGetRequest) (*admin.ProjectAttributesGetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProjectAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) DeleteProjectAttributes(ctx context.Context, req *admin.ProjectAttributesDeleteRequest) (*admin.ProjectAttributesDeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteProjectAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) UpdateWorkflowAttributes(ctx context.Context, req *admin.WorkflowAttributesUpdateRequest) (*admin.WorkflowAttributesUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) GetWorkflowAttributes(ctx context.Context, req *admin.WorkflowAttributesGetRequest) (*admin.WorkflowAttributesGetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) DeleteWorkflowAttributes(ctx context.Context, req *admin.WorkflowAttributesDeleteRequest) (*admin.WorkflowAttributesDeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) ListMatchableAttributes(ctx context.Context, req *admin.ListMatchableAttributesRequest) (*admin.ListMatchableAttributesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListMatchableAttributes not implemented") -} -func (*UnimplementedAdminServiceServer) ListNamedEntities(ctx context.Context, req *admin.NamedEntityListRequest) (*admin.NamedEntityList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNamedEntities not implemented") -} -func (*UnimplementedAdminServiceServer) GetNamedEntity(ctx context.Context, req *admin.NamedEntityGetRequest) (*admin.NamedEntity, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamedEntity not implemented") -} -func (*UnimplementedAdminServiceServer) UpdateNamedEntity(ctx context.Context, req *admin.NamedEntityUpdateRequest) (*admin.NamedEntityUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNamedEntity not implemented") -} -func (*UnimplementedAdminServiceServer) GetVersion(ctx context.Context, req *admin.GetVersionRequest) (*admin.GetVersionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") -} -func (*UnimplementedAdminServiceServer) GetDescriptionEntity(ctx context.Context, req *admin.ObjectGetRequest) (*admin.DescriptionEntity, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDescriptionEntity not implemented") -} -func (*UnimplementedAdminServiceServer) ListDescriptionEntities(ctx context.Context, req *admin.DescriptionEntityListRequest) (*admin.DescriptionEntityList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDescriptionEntities not implemented") -} -func (*UnimplementedAdminServiceServer) GetExecutionMetrics(ctx context.Context, req *admin.WorkflowExecutionGetMetricsRequest) (*admin.WorkflowExecutionGetMetricsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExecutionMetrics not implemented") -} - -func RegisterAdminServiceServer(s *grpc.Server, srv AdminServiceServer) { - s.RegisterService(&_AdminService_serviceDesc, srv) -} - -func _AdminService_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.TaskCreateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).CreateTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/CreateTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).CreateTask(ctx, req.(*admin.TaskCreateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ObjectGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetTask(ctx, req.(*admin.ObjectGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListTaskIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NamedEntityIdentifierListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListTaskIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListTaskIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListTaskIds(ctx, req.(*admin.NamedEntityIdentifierListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ResourceListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListTasks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListTasks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListTasks(ctx, req.(*admin.ResourceListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_CreateWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowCreateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).CreateWorkflow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/CreateWorkflow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).CreateWorkflow(ctx, req.(*admin.WorkflowCreateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ObjectGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetWorkflow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetWorkflow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetWorkflow(ctx, req.(*admin.ObjectGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListWorkflowIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NamedEntityIdentifierListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListWorkflowIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListWorkflowIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListWorkflowIds(ctx, req.(*admin.NamedEntityIdentifierListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListWorkflows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ResourceListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListWorkflows(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListWorkflows", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListWorkflows(ctx, req.(*admin.ResourceListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_CreateLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.LaunchPlanCreateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).CreateLaunchPlan(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/CreateLaunchPlan", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).CreateLaunchPlan(ctx, req.(*admin.LaunchPlanCreateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ObjectGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetLaunchPlan(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetLaunchPlan", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetLaunchPlan(ctx, req.(*admin.ObjectGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetActiveLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ActiveLaunchPlanRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetActiveLaunchPlan(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetActiveLaunchPlan", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetActiveLaunchPlan(ctx, req.(*admin.ActiveLaunchPlanRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListActiveLaunchPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ActiveLaunchPlanListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListActiveLaunchPlans(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListActiveLaunchPlans", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListActiveLaunchPlans(ctx, req.(*admin.ActiveLaunchPlanListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListLaunchPlanIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NamedEntityIdentifierListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListLaunchPlanIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListLaunchPlanIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListLaunchPlanIds(ctx, req.(*admin.NamedEntityIdentifierListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListLaunchPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ResourceListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListLaunchPlans(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListLaunchPlans", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListLaunchPlans(ctx, req.(*admin.ResourceListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_UpdateLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.LaunchPlanUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).UpdateLaunchPlan(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/UpdateLaunchPlan", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).UpdateLaunchPlan(ctx, req.(*admin.LaunchPlanUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_CreateExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ExecutionCreateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).CreateExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/CreateExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).CreateExecution(ctx, req.(*admin.ExecutionCreateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_RelaunchExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ExecutionRelaunchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).RelaunchExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/RelaunchExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).RelaunchExecution(ctx, req.(*admin.ExecutionRelaunchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_RecoverExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ExecutionRecoverRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).RecoverExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/RecoverExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).RecoverExecution(ctx, req.(*admin.ExecutionRecoverRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowExecutionGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetExecution(ctx, req.(*admin.WorkflowExecutionGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_UpdateExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ExecutionUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).UpdateExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/UpdateExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).UpdateExecution(ctx, req.(*admin.ExecutionUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetExecutionData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowExecutionGetDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetExecutionData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetExecutionData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetExecutionData(ctx, req.(*admin.WorkflowExecutionGetDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ResourceListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListExecutions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListExecutions(ctx, req.(*admin.ResourceListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_TerminateExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ExecutionTerminateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).TerminateExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/TerminateExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).TerminateExecution(ctx, req.(*admin.ExecutionTerminateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetNodeExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NodeExecutionGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetNodeExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetNodeExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetNodeExecution(ctx, req.(*admin.NodeExecutionGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetDynamicNodeWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.GetDynamicNodeWorkflowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetDynamicNodeWorkflow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetDynamicNodeWorkflow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetDynamicNodeWorkflow(ctx, req.(*admin.GetDynamicNodeWorkflowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListNodeExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NodeExecutionListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListNodeExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListNodeExecutions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListNodeExecutions(ctx, req.(*admin.NodeExecutionListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListNodeExecutionsForTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NodeExecutionForTaskListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListNodeExecutionsForTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListNodeExecutionsForTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListNodeExecutionsForTask(ctx, req.(*admin.NodeExecutionForTaskListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetNodeExecutionData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NodeExecutionGetDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetNodeExecutionData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetNodeExecutionData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetNodeExecutionData(ctx, req.(*admin.NodeExecutionGetDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_RegisterProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectRegisterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).RegisterProject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/RegisterProject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).RegisterProject(ctx, req.(*admin.ProjectRegisterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_UpdateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.Project) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).UpdateProject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/UpdateProject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).UpdateProject(ctx, req.(*admin.Project)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListProjects(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListProjects", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListProjects(ctx, req.(*admin.ProjectListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_CreateWorkflowEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowExecutionEventRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).CreateWorkflowEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/CreateWorkflowEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).CreateWorkflowEvent(ctx, req.(*admin.WorkflowExecutionEventRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_CreateNodeEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NodeExecutionEventRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).CreateNodeEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/CreateNodeEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).CreateNodeEvent(ctx, req.(*admin.NodeExecutionEventRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_CreateTaskEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.TaskExecutionEventRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).CreateTaskEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/CreateTaskEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).CreateTaskEvent(ctx, req.(*admin.TaskExecutionEventRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetTaskExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.TaskExecutionGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetTaskExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetTaskExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetTaskExecution(ctx, req.(*admin.TaskExecutionGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListTaskExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.TaskExecutionListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListTaskExecutions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListTaskExecutions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListTaskExecutions(ctx, req.(*admin.TaskExecutionListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetTaskExecutionData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.TaskExecutionGetDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetTaskExecutionData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetTaskExecutionData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetTaskExecutionData(ctx, req.(*admin.TaskExecutionGetDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_UpdateProjectDomainAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectDomainAttributesUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).UpdateProjectDomainAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).UpdateProjectDomainAttributes(ctx, req.(*admin.ProjectDomainAttributesUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetProjectDomainAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectDomainAttributesGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetProjectDomainAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetProjectDomainAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetProjectDomainAttributes(ctx, req.(*admin.ProjectDomainAttributesGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_DeleteProjectDomainAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectDomainAttributesDeleteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).DeleteProjectDomainAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/DeleteProjectDomainAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).DeleteProjectDomainAttributes(ctx, req.(*admin.ProjectDomainAttributesDeleteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_UpdateProjectAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectAttributesUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).UpdateProjectAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/UpdateProjectAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).UpdateProjectAttributes(ctx, req.(*admin.ProjectAttributesUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetProjectAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectAttributesGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetProjectAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetProjectAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetProjectAttributes(ctx, req.(*admin.ProjectAttributesGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_DeleteProjectAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ProjectAttributesDeleteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).DeleteProjectAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/DeleteProjectAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).DeleteProjectAttributes(ctx, req.(*admin.ProjectAttributesDeleteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_UpdateWorkflowAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowAttributesUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).UpdateWorkflowAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/UpdateWorkflowAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).UpdateWorkflowAttributes(ctx, req.(*admin.WorkflowAttributesUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetWorkflowAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowAttributesGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetWorkflowAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetWorkflowAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetWorkflowAttributes(ctx, req.(*admin.WorkflowAttributesGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_DeleteWorkflowAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowAttributesDeleteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).DeleteWorkflowAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/DeleteWorkflowAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).DeleteWorkflowAttributes(ctx, req.(*admin.WorkflowAttributesDeleteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListMatchableAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ListMatchableAttributesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListMatchableAttributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListMatchableAttributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListMatchableAttributes(ctx, req.(*admin.ListMatchableAttributesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListNamedEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NamedEntityListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListNamedEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListNamedEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListNamedEntities(ctx, req.(*admin.NamedEntityListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetNamedEntity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NamedEntityGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetNamedEntity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetNamedEntity", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetNamedEntity(ctx, req.(*admin.NamedEntityGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_UpdateNamedEntity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.NamedEntityUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).UpdateNamedEntity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/UpdateNamedEntity", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).UpdateNamedEntity(ctx, req.(*admin.NamedEntityUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.GetVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetVersion(ctx, req.(*admin.GetVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetDescriptionEntity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ObjectGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetDescriptionEntity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetDescriptionEntity", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetDescriptionEntity(ctx, req.(*admin.ObjectGetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_ListDescriptionEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.DescriptionEntityListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).ListDescriptionEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/ListDescriptionEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).ListDescriptionEntities(ctx, req.(*admin.DescriptionEntityListRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdminService_GetExecutionMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.WorkflowExecutionGetMetricsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdminServiceServer).GetExecutionMetrics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AdminService/GetExecutionMetrics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdminServiceServer).GetExecutionMetrics(ctx, req.(*admin.WorkflowExecutionGetMetricsRequest)) - } - return interceptor(ctx, in, info, handler) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -var _AdminService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.AdminService", - HandlerType: (*AdminServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTask", - Handler: _AdminService_CreateTask_Handler, - }, - { - MethodName: "GetTask", - Handler: _AdminService_GetTask_Handler, - }, - { - MethodName: "ListTaskIds", - Handler: _AdminService_ListTaskIds_Handler, - }, - { - MethodName: "ListTasks", - Handler: _AdminService_ListTasks_Handler, - }, - { - MethodName: "CreateWorkflow", - Handler: _AdminService_CreateWorkflow_Handler, - }, - { - MethodName: "GetWorkflow", - Handler: _AdminService_GetWorkflow_Handler, - }, - { - MethodName: "ListWorkflowIds", - Handler: _AdminService_ListWorkflowIds_Handler, - }, - { - MethodName: "ListWorkflows", - Handler: _AdminService_ListWorkflows_Handler, - }, - { - MethodName: "CreateLaunchPlan", - Handler: _AdminService_CreateLaunchPlan_Handler, - }, - { - MethodName: "GetLaunchPlan", - Handler: _AdminService_GetLaunchPlan_Handler, - }, - { - MethodName: "GetActiveLaunchPlan", - Handler: _AdminService_GetActiveLaunchPlan_Handler, - }, - { - MethodName: "ListActiveLaunchPlans", - Handler: _AdminService_ListActiveLaunchPlans_Handler, - }, - { - MethodName: "ListLaunchPlanIds", - Handler: _AdminService_ListLaunchPlanIds_Handler, - }, - { - MethodName: "ListLaunchPlans", - Handler: _AdminService_ListLaunchPlans_Handler, - }, - { - MethodName: "UpdateLaunchPlan", - Handler: _AdminService_UpdateLaunchPlan_Handler, - }, - { - MethodName: "CreateExecution", - Handler: _AdminService_CreateExecution_Handler, - }, - { - MethodName: "RelaunchExecution", - Handler: _AdminService_RelaunchExecution_Handler, - }, - { - MethodName: "RecoverExecution", - Handler: _AdminService_RecoverExecution_Handler, - }, - { - MethodName: "GetExecution", - Handler: _AdminService_GetExecution_Handler, - }, - { - MethodName: "UpdateExecution", - Handler: _AdminService_UpdateExecution_Handler, - }, - { - MethodName: "GetExecutionData", - Handler: _AdminService_GetExecutionData_Handler, - }, - { - MethodName: "ListExecutions", - Handler: _AdminService_ListExecutions_Handler, - }, - { - MethodName: "TerminateExecution", - Handler: _AdminService_TerminateExecution_Handler, - }, - { - MethodName: "GetNodeExecution", - Handler: _AdminService_GetNodeExecution_Handler, - }, - { - MethodName: "GetDynamicNodeWorkflow", - Handler: _AdminService_GetDynamicNodeWorkflow_Handler, - }, - { - MethodName: "ListNodeExecutions", - Handler: _AdminService_ListNodeExecutions_Handler, - }, - { - MethodName: "ListNodeExecutionsForTask", - Handler: _AdminService_ListNodeExecutionsForTask_Handler, - }, - { - MethodName: "GetNodeExecutionData", - Handler: _AdminService_GetNodeExecutionData_Handler, - }, - { - MethodName: "RegisterProject", - Handler: _AdminService_RegisterProject_Handler, - }, - { - MethodName: "UpdateProject", - Handler: _AdminService_UpdateProject_Handler, - }, - { - MethodName: "ListProjects", - Handler: _AdminService_ListProjects_Handler, - }, - { - MethodName: "CreateWorkflowEvent", - Handler: _AdminService_CreateWorkflowEvent_Handler, - }, - { - MethodName: "CreateNodeEvent", - Handler: _AdminService_CreateNodeEvent_Handler, - }, - { - MethodName: "CreateTaskEvent", - Handler: _AdminService_CreateTaskEvent_Handler, - }, - { - MethodName: "GetTaskExecution", - Handler: _AdminService_GetTaskExecution_Handler, - }, - { - MethodName: "ListTaskExecutions", - Handler: _AdminService_ListTaskExecutions_Handler, - }, - { - MethodName: "GetTaskExecutionData", - Handler: _AdminService_GetTaskExecutionData_Handler, - }, - { - MethodName: "UpdateProjectDomainAttributes", - Handler: _AdminService_UpdateProjectDomainAttributes_Handler, - }, - { - MethodName: "GetProjectDomainAttributes", - Handler: _AdminService_GetProjectDomainAttributes_Handler, - }, - { - MethodName: "DeleteProjectDomainAttributes", - Handler: _AdminService_DeleteProjectDomainAttributes_Handler, - }, - { - MethodName: "UpdateProjectAttributes", - Handler: _AdminService_UpdateProjectAttributes_Handler, - }, - { - MethodName: "GetProjectAttributes", - Handler: _AdminService_GetProjectAttributes_Handler, - }, - { - MethodName: "DeleteProjectAttributes", - Handler: _AdminService_DeleteProjectAttributes_Handler, - }, - { - MethodName: "UpdateWorkflowAttributes", - Handler: _AdminService_UpdateWorkflowAttributes_Handler, - }, - { - MethodName: "GetWorkflowAttributes", - Handler: _AdminService_GetWorkflowAttributes_Handler, - }, - { - MethodName: "DeleteWorkflowAttributes", - Handler: _AdminService_DeleteWorkflowAttributes_Handler, - }, - { - MethodName: "ListMatchableAttributes", - Handler: _AdminService_ListMatchableAttributes_Handler, - }, - { - MethodName: "ListNamedEntities", - Handler: _AdminService_ListNamedEntities_Handler, - }, - { - MethodName: "GetNamedEntity", - Handler: _AdminService_GetNamedEntity_Handler, - }, - { - MethodName: "UpdateNamedEntity", - Handler: _AdminService_UpdateNamedEntity_Handler, - }, - { - MethodName: "GetVersion", - Handler: _AdminService_GetVersion_Handler, - }, - { - MethodName: "GetDescriptionEntity", - Handler: _AdminService_GetDescriptionEntity_Handler, - }, - { - MethodName: "ListDescriptionEntities", - Handler: _AdminService_ListDescriptionEntities_Handler, - }, - { - MethodName: "GetExecutionMetrics", - Handler: _AdminService_GetExecutionMetrics_Handler, +var File_flyteidl_service_admin_proto protoreflect.FileDescriptor + +var file_flyteidl_service_admin_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x28, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x23, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, + 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb0, + 0x9b, 0x01, 0x0a, 0x0c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0xe6, 0x02, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, + 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x90, 0x02, 0x92, 0x41, 0xd3, 0x01, 0x1a, 0x26, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x20, 0x61, 0x20, 0x74, 0x61, 0x73, 0x6b, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x42, 0x0a, 0x03, 0x34, 0x30, 0x30, 0x12, 0x3b, 0x0a, 0x39, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x62, 0x61, 0x64, + 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x6d, 0x61, + 0x79, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x65, 0x0a, 0x03, 0x34, 0x30, 0x39, + 0x12, 0x5e, 0x0a, 0x5c, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, + 0x20, 0x61, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x20, 0x61, 0x6e, 0x20, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x74, + 0x68, 0x61, 0x74, 0x20, 0x68, 0x61, 0x73, 0x20, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x20, + 0x62, 0x65, 0x65, 0x6e, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x2e, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x3a, 0x01, 0x2a, 0x22, 0x1a, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x22, 0x0d, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x82, 0x02, 0x0a, 0x07, 0x47, 0x65, + 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x22, 0xbe, 0x01, + 0x92, 0x41, 0x27, 0x1a, 0x25, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, 0x6e, + 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x61, 0x73, 0x6b, 0x20, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x8d, + 0x01, 0x5a, 0x4c, 0x12, 0x4a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, + 0x6b, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, + 0x3d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x8d, + 0x02, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x12, 0x30, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xa0, 0x01, 0x92, 0x41, + 0x44, 0x1a, 0x42, 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, + 0x67, 0x20, 0x74, 0x61, 0x73, 0x6b, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x20, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x53, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x6f, 0x72, 0x67, + 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, + 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x23, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0xe4, + 0x02, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x23, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x97, 0x02, 0x92, 0x41, + 0x39, 0x1a, 0x37, 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, + 0x67, 0x20, 0x74, 0x61, 0x73, 0x6b, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xd4, + 0x01, 0x5a, 0x3f, 0x12, 0x3d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, + 0x6b, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x5a, 0x35, 0x12, 0x33, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x7d, 0x12, 0x30, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, + 0x6b, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xfe, 0x02, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9c, 0x02, 0x92, 0x41, 0xd7, 0x01, 0x1a, 0x2a, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x20, 0x61, 0x20, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x42, 0x0a, 0x03, 0x34, 0x30, + 0x30, 0x12, 0x3b, 0x0a, 0x39, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, + 0x72, 0x20, 0x62, 0x61, 0x64, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, 0x68, + 0x61, 0x74, 0x20, 0x6d, 0x61, 0x79, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x66, 0x61, 0x69, 0x6c, + 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x65, + 0x0a, 0x03, 0x34, 0x30, 0x39, 0x12, 0x5e, 0x0a, 0x5c, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, + 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, + 0x74, 0x68, 0x61, 0x74, 0x20, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x20, + 0x61, 0x6e, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x68, 0x61, 0x73, 0x20, 0x61, 0x6c, 0x72, + 0x65, 0x61, 0x64, 0x79, 0x20, 0x62, 0x65, 0x65, 0x6e, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x65, 0x64, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x5a, 0x23, + 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, + 0x72, 0x67, 0x7d, 0x22, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x96, 0x02, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x22, 0xca, 0x01, 0x92, 0x41, 0x2b, 0x1a, 0x29, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, + 0x76, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x95, 0x01, 0x5a, 0x50, 0x12, 0x4e, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, + 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x41, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, + 0xd1, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x49, 0x64, 0x73, 0x12, 0x30, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x5a, 0x30, 0x12, 0x2e, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x27, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x73, + 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x7d, 0x12, 0x80, 0x03, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xab, 0x02, 0x92, 0x41, 0x3d, 0x1a, 0x3b, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0xe4, 0x01, 0x5a, 0x43, 0x12, 0x41, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x5a, 0x39, 0x12, 0x37, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, + 0x12, 0x34, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x8d, 0x03, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x27, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, + 0x02, 0x92, 0x41, 0xda, 0x01, 0x1a, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6e, + 0x64, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x20, 0x61, 0x20, 0x6c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x42, 0x0a, 0x03, 0x34, 0x30, 0x30, 0x12, 0x3b, 0x0a, 0x39, 0x52, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x62, 0x61, 0x64, 0x20, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x6d, 0x61, 0x79, + 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x65, 0x0a, 0x03, 0x34, 0x30, 0x39, 0x12, + 0x5e, 0x0a, 0x5c, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, + 0x61, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x20, 0x61, 0x6e, 0x20, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x74, 0x68, + 0x61, 0x74, 0x20, 0x68, 0x61, 0x73, 0x20, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x20, 0x62, + 0x65, 0x65, 0x6e, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x3a, 0x01, 0x2a, 0x5a, 0x26, 0x3a, 0x01, 0x2a, 0x22, 0x21, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, + 0x61, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, + 0x22, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0xa3, 0x02, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0xd3, 0x01, 0x92, 0x41, 0x2e, 0x1a, 0x2c, 0x52, 0x65, + 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x9b, + 0x01, 0x5a, 0x53, 0x12, 0x51, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x44, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0xc3, 0x02, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, + 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0xe6, 0x01, 0x92, 0x41, 0x4d, 0x1a, + 0x4b, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, + 0x20, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x8f, 0x01, 0x5a, 0x4d, 0x12, 0x4b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, + 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x12, 0x3e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x12, 0xa7, 0x02, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xc0, 0x01, 0x92, 0x41, 0x4b, 0x1a, + 0x49, 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, + 0x20, 0x62, 0x79, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x6c, + 0x5a, 0x3a, 0x12, 0x38, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, + 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x2e, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0xab, 0x02, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x49, + 0x64, 0x73, 0x12, 0x30, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, + 0xb8, 0x01, 0x92, 0x41, 0x4b, 0x1a, 0x49, 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, + 0x6e, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, + 0x67, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x64, 0x5a, 0x36, 0x12, 0x34, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x69, 0x64, + 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x2a, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, + 0x6c, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x93, 0x03, 0x0a, 0x0f, 0x4c, + 0x69, 0x73, 0x74, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x23, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x22, 0xba, 0x02, 0x92, 0x41, 0x40, 0x1a, 0x3e, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xf0, 0x01, + 0x5a, 0x46, 0x12, 0x44, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x5a, 0x2f, 0x12, 0x2d, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x5a, 0x3c, 0x12, 0x3a, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, + 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x37, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x12, 0x96, 0x07, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x75, 0x6e, 0x63, + 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, + 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xae, 0x06, 0x92, 0x41, 0x85, 0x05, 0x1a, + 0x82, 0x05, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x20, 0x41, 0x74, 0x20, 0x6d, 0x6f, + 0x73, 0x74, 0x20, 0x6f, 0x6e, 0x65, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, + 0x61, 0x6e, 0x20, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, + 0x20, 0x67, 0x69, 0x76, 0x65, 0x6e, 0x20, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, + 0x20, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x20, 0x63, + 0x61, 0x6e, 0x20, 0x62, 0x65, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x20, 0x61, 0x74, 0x20, + 0x61, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, + 0x63, 0x61, 0x6c, 0x6c, 0x20, 0x73, 0x65, 0x74, 0x73, 0x20, 0x61, 0x20, 0x6c, 0x61, 0x75, 0x6e, + 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, + 0x79, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x63, 0x61, 0x6c, + 0x6c, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x72, 0x6c, 0x79, 0x20, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x77, + 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x6d, 0x61, 0x64, 0x65, 0x20, 0x69, 0x6e, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x69, + 0x6e, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x77, + 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x6d, 0x61, 0x64, 0x65, 0x20, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x2e, 0x20, 0x49, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x72, + 0x6c, 0x79, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x20, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x68, 0x61, 0x64, 0x20, 0x61, 0x20, 0x73, 0x63, 0x68, 0x65, + 0x64, 0x75, 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, + 0x69, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x69, 0x74, 0x2c, 0x20, 0x74, 0x68, 0x69, 0x73, + 0x20, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, + 0x65, 0x20, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x20, 0x6c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x20, 0x70, 0x6c, 0x61, 0x6e, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x69, 0x73, + 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x69, 0x73, 0x20, 0x62, 0x65, 0x69, 0x6e, + 0x67, 0x20, 0x73, 0x65, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x20, + 0x61, 0x6e, 0x64, 0x20, 0x68, 0x61, 0x73, 0x20, 0x61, 0x20, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, + 0x74, 0x68, 0x20, 0x69, 0x74, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x63, 0x68, 0x65, 0x64, + 0x75, 0x6c, 0x65, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x9e, 0x01, 0x3a, 0x01, 0x2a, 0x5a, 0x53, + 0x1a, 0x51, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, + 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, + 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x7d, 0x1a, 0x44, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x75, + 0x6e, 0x63, 0x68, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0xc5, 0x01, 0x0a, 0x0f, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, + 0x92, 0x41, 0x1e, 0x1a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x3a, 0x01, 0x2a, 0x1a, + 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x22, 0x12, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0xe0, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x78, 0x92, 0x41, 0x20, 0x1a, + 0x1e, 0x52, 0x65, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x20, 0x61, 0x20, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x4f, 0x3a, 0x01, 0x2a, 0x5a, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x72, + 0x65, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x6c, 0x61, + 0x75, 0x6e, 0x63, 0x68, 0x12, 0xcb, 0x05, 0x0a, 0x10, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe4, 0x04, 0x92, 0x41, + 0x8d, 0x04, 0x1a, 0x8a, 0x04, 0x52, 0x65, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x73, 0x20, 0x61, + 0x20, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x6c, 0x79, 0x2d, 0x72, 0x75, 0x6e, 0x20, + 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x6f, 0x6e, 0x6c, + 0x79, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x61, 0x73, 0x74, 0x20, + 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x20, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x2e, 0x20, 0x49, 0x6e, 0x20, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x20, + 0x6d, 0x6f, 0x64, 0x65, 0x2c, 0x20, 0x75, 0x73, 0x65, 0x72, 0x73, 0x20, 0x63, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x20, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x20, 0x61, 0x6e, 0x79, 0x20, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x20, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x20, 0x6f, + 0x72, 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x65, + 0x78, 0x74, 0x72, 0x65, 0x6d, 0x65, 0x6c, 0x79, 0x20, 0x75, 0x73, 0x65, 0x66, 0x75, 0x6c, 0x20, + 0x74, 0x6f, 0x20, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x20, 0x61, 0x6e, + 0x64, 0x20, 0x62, 0x79, 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x20, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x73, 0x20, 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x2d, 0x20, 0x4c, 0x6f, 0x73, 0x73, 0x20, 0x6f, + 0x66, 0x20, 0x4b, 0x38, 0x73, 0x20, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2c, 0x20, 0x62, + 0x75, 0x67, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x20, + 0x6f, 0x72, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2c, 0x20, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, + 0x2c, 0x20, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x20, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x20, 0x28, 0x64, 0x6f, + 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x29, 0x2c, 0x20, 0x6f, 0x72, 0x20, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x79, 0x20, 0x74, 0x6f, + 0x20, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, + 0x62, 0x65, 0x63, 0x61, 0x75, 0x73, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x72, 0x65, 0x74, 0x72, 0x79, + 0x20, 0x65, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x6e, 0x64, 0x20, + 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x20, + 0x69, 0x66, 0x20, 0x74, 0x72, 0x69, 0x65, 0x64, 0x20, 0x61, 0x67, 0x61, 0x69, 0x6e, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x3a, 0x01, 0x2a, 0x5a, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x72, + 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x76, + 0x65, 0x72, 0x12, 0x89, 0x02, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb0, 0x01, 0x92, 0x41, + 0x2a, 0x1a, 0x28, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x7d, 0x5a, 0x44, 0x12, 0x42, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x35, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xef, + 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x8a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x83, 0x01, 0x3a, 0x01, 0x2a, + 0x5a, 0x47, 0x3a, 0x01, 0x2a, 0x1a, 0x42, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x1a, 0x35, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x12, 0x86, 0x02, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8e, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x87, 0x01, 0x5a, 0x49, 0x12, 0x47, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, + 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x3a, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xc5, 0x01, 0x0a, 0x0e, 0x4c, 0x69, + 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x69, 0x5a, 0x3a, 0x12, 0x38, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, + 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x2b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x7d, 0x12, 0xf8, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x8a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x83, 0x01, 0x3a, 0x01, 0x2a, 0x5a, 0x47, 0x3a, 0x01, + 0x2a, 0x2a, 0x42, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, + 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2a, 0x35, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xe2, 0x02, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x02, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0xfe, 0x01, 0x5a, 0x8b, 0x01, 0x12, 0x88, 0x01, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0x9e, 0x03, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, + 0x4e, 0x6f, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x2d, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, + 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x79, 0x6e, + 0x61, 0x6d, 0x69, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa7, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0xa0, 0x02, 0x5a, 0x9c, 0x01, 0x12, 0x99, 0x01, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x12, 0x7f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, + 0x7d, 0x2f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x12, 0xf9, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x95, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x8e, 0x02, + 0x5a, 0x96, 0x01, 0x12, 0x93, 0x01, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, + 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x8f, + 0x08, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2f, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x54, 0x61, + 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x9d, 0x07, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x96, 0x07, 0x5a, 0xe7, 0x03, 0x12, 0xe4, 0x03, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, + 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, + 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, + 0x64, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, + 0x6d, 0x70, 0x74, 0x7d, 0x12, 0xa9, 0x03, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, + 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, + 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x7b, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x7d, + 0x12, 0x83, 0x03, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x88, 0x02, 0x5a, 0x90, + 0x01, 0x12, 0x8d, 0x01, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, + 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, + 0x64, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x26, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x3e, 0x3a, 0x01, 0x2a, 0x5a, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x22, + 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x73, 0x12, 0xad, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x25, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x5c, 0x92, 0x41, 0x13, 0x1a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x40, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x3a, 0x01, 0x2a, 0x1a, 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, + 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x1a, 0x15, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x64, + 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x12, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x22, 0x55, 0x92, 0x41, 0x1c, 0x1a, 0x1a, 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, + 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x12, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x9a, 0x02, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x2d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa3, + 0x01, 0x92, 0x41, 0x41, 0x1a, 0x3f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x20, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 0x6e, + 0x67, 0x20, 0x61, 0x20, 0x70, 0x68, 0x61, 0x73, 0x65, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x3a, 0x01, 0x2a, 0x5a, 0x3a, + 0x3a, 0x01, 0x2a, 0x22, 0x35, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, + 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x22, 0x18, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x85, 0x02, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x9a, 0x01, 0x92, 0x41, 0x3d, 0x1a, 0x3b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, + 0x6e, 0x6f, 0x64, 0x65, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x20, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x20, 0x61, + 0x20, 0x70, 0x68, 0x61, 0x73, 0x65, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x54, 0x3a, 0x01, 0x2a, 0x5a, 0x39, 0x3a, 0x01, 0x2a, + 0x22, 0x34, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, + 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x9b, 0x02, 0x0a, + 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, + 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb0, 0x01, 0x92, 0x41, 0x3d, 0x1a, 0x3b, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, 0x74, 0x61, 0x73, 0x6b, 0x20, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x20, 0x72, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x20, 0x70, 0x68, 0x61, 0x73, 0x65, 0x20, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x6a, + 0x3a, 0x01, 0x2a, 0x5a, 0x4f, 0x3a, 0x01, 0x2a, 0x22, 0x4a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x22, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0xf4, 0x05, 0x0a, 0x10, 0x47, + 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x05, 0x92, 0x41, 0x26, 0x1a, 0x24, 0x52, + 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x20, 0x74, 0x61, 0x73, 0x6b, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xe7, 0x04, 0x5a, 0xc8, 0x02, 0x12, 0xc5, 0x02, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, + 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, + 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x74, 0x74, + 0x65, 0x6d, 0x70, 0x74, 0x7d, 0x12, 0x99, 0x02, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x7d, 0x12, 0xac, 0x04, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xc8, 0x03, 0x92, 0x41, 0x38, 0x1a, 0x36, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x61, 0x73, 0x6b, + 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x86, 0x03, 0x5a, 0xd6, 0x01, 0x12, 0xd3, 0x01, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6e, 0x6f, 0x64, + 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, + 0x2f, 0x7b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x7d, 0x2f, 0x7b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x69, 0x64, 0x7d, 0x12, 0xaa, 0x01, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6e, + 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x7d, + 0x12, 0xb0, 0x06, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbc, 0x05, 0x92, 0x41, 0x41, 0x1a, 0x3f, 0x52, 0x65, 0x74, 0x72, + 0x69, 0x65, 0x76, 0x65, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x20, 0x64, 0x61, 0x74, 0x61, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, + 0x61, 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x61, 0x73, 0x6b, + 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0xf1, 0x04, 0x5a, 0xcd, 0x02, 0x12, 0xca, 0x02, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x64, 0x61, 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, + 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, + 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, + 0x74, 0x7d, 0x12, 0x9e, 0x02, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, + 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, + 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, + 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, + 0x70, 0x74, 0x7d, 0x12, 0xa6, 0x03, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x34, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x97, 0x02, 0x92, 0x41, 0x58, 0x1a, 0x56, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x20, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, + 0x69, 0x74, 0x68, 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2d, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xb5, 0x01, 0x3a, 0x01, 0x2a, 0x5a, 0x64, 0x3a, 0x01, 0x2a, 0x1a, + 0x5f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, + 0x1a, 0x4a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0xe1, 0x02, 0x0a, + 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xdb, 0x01, 0x92, 0x41, 0x5a, 0x1a, 0x58, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, + 0x76, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, + 0x64, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, + 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2d, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x5a, 0x40, 0x12, 0x3e, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0x34, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, + 0x12, 0xee, 0x02, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x12, 0x34, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0xdf, 0x01, 0x92, 0x41, 0x58, 0x1a, 0x56, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, + 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2d, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x20, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x7e, 0x3a, 0x01, 0x2a, 0x5a, 0x43, 0x3a, 0x01, 0x2a, 0x2a, 0x3e, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x6f, + 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2a, 0x34, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x7b, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x7d, 0x12, 0xd2, 0x02, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2e, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd5, + 0x01, 0x92, 0x41, 0x45, 0x1a, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x20, + 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, + 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x86, 0x01, + 0x3a, 0x01, 0x2a, 0x5a, 0x50, 0x3a, 0x01, 0x2a, 0x1a, 0x4b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, + 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x6f, 0x72, 0x67, 0x7d, + 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x1a, 0x2f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x12, 0xa3, 0x02, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, + 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x92, 0x41, 0x47, + 0x1a, 0x45, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x20, 0x61, 0x73, + 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x20, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f, 0x5a, 0x37, 0x12, + 0x35, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x12, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x12, 0xb0, 0x02, 0x0a, + 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb3, 0x01, 0x92, 0x41, 0x45, 0x1a, + 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, + 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, + 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x3a, 0x3a, + 0x01, 0x2a, 0x2a, 0x35, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, + 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2a, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x12, + 0xc5, 0x03, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0xc5, 0x02, 0x92, 0x41, 0x66, 0x1a, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, + 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, + 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0xd5, 0x01, 0x3a, 0x01, 0x2a, 0x5a, 0x74, 0x3a, 0x01, 0x2a, 0x1a, 0x6f, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x61, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x7d, 0x1a, 0x5a, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x61, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x7d, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x7d, 0x12, 0xeb, 0x02, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x12, 0x2c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf4, + 0x01, 0x92, 0x41, 0x68, 0x1a, 0x66, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x20, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, + 0x68, 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x20, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x82, 0x01, 0x5a, 0x45, 0x12, 0x43, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, + 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x7d, 0x12, 0x39, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x7d, 0x12, 0xf8, 0x02, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf8, 0x01, 0x92, 0x41, 0x66, 0x1a, 0x64, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, + 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, + 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x2c, 0x20, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x88, 0x01, 0x3a, 0x01, 0x2a, 0x5a, 0x48, 0x3a, 0x01, 0x2a, + 0x2a, 0x43, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x7d, 0x2a, 0x39, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x7d, + 0x12, 0x8c, 0x02, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, + 0x6c, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, 0x01, + 0x92, 0x41, 0x3e, 0x1a, 0x3c, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, 0x20, + 0x6c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, + 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, + 0x7d, 0x12, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, + 0xc8, 0x02, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, + 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xe9, + 0x01, 0x92, 0x41, 0x5d, 0x1a, 0x5b, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, + 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x20, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x20, 0x73, 0x68, 0x61, + 0x72, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x20, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0x2c, 0x20, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x82, 0x01, 0x5a, 0x45, 0x12, 0x43, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, + 0x39, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, 0xa6, 0x02, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x25, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, + 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x22, 0xcf, 0x01, 0x92, 0x41, 0x20, 0x1a, 0x1e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, + 0x65, 0x20, 0x61, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xa5, 0x01, 0x5a, 0x58, + 0x12, 0x56, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x49, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x12, 0xd1, 0x02, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe6, + 0x01, 0x92, 0x41, 0x31, 0x1a, 0x2f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, + 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xab, 0x01, 0x3a, 0x01, 0x2a, 0x5a, + 0x5b, 0x3a, 0x01, 0x2a, 0x1a, 0x56, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, + 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x1a, 0x49, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6a, 0x92, + 0x41, 0x50, 0x1a, 0x4e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x28, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x20, 0x20, 0x69, + 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x29, 0x20, 0x66, 0x6f, 0x72, 0x20, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xef, 0x02, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x91, 0x02, 0x92, 0x41, 0x36, 0x1a, 0x34, 0x52, + 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x20, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xd1, 0x01, 0x5a, 0x6e, 0x12, 0x6c, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x5f, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x7b, + 0x69, 0x64, 0x2e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x92, 0x04, 0x0a, 0x17, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xa1, 0x03, 0x92, + 0x41, 0x47, 0x1a, 0x45, 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x20, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xd0, 0x02, + 0x5a, 0x5e, 0x12, 0x5c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x5a, 0x47, 0x12, 0x45, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x5a, 0x54, 0x12, 0x52, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x12, + 0x4f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x12, 0xcf, 0x02, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x32, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x47, + 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0xce, 0x01, 0x92, 0x41, 0x37, 0x1a, 0x35, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, + 0x65, 0x20, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x61, + 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x77, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x20, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x8d, 0x01, 0x5a, 0x4c, 0x12, 0x4a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, + 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, + 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x12, 0x3d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x7b, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x69, 0x64, + 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x42, 0xc2, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x0a, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x53, 0x58, 0xaa, 0x02, + 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_flyteidl_service_admin_proto_goTypes = []interface{}{ + (*admin.TaskCreateRequest)(nil), // 0: flyteidl.admin.TaskCreateRequest + (*admin.ObjectGetRequest)(nil), // 1: flyteidl.admin.ObjectGetRequest + (*admin.NamedEntityIdentifierListRequest)(nil), // 2: flyteidl.admin.NamedEntityIdentifierListRequest + (*admin.ResourceListRequest)(nil), // 3: flyteidl.admin.ResourceListRequest + (*admin.WorkflowCreateRequest)(nil), // 4: flyteidl.admin.WorkflowCreateRequest + (*admin.LaunchPlanCreateRequest)(nil), // 5: flyteidl.admin.LaunchPlanCreateRequest + (*admin.ActiveLaunchPlanRequest)(nil), // 6: flyteidl.admin.ActiveLaunchPlanRequest + (*admin.ActiveLaunchPlanListRequest)(nil), // 7: flyteidl.admin.ActiveLaunchPlanListRequest + (*admin.LaunchPlanUpdateRequest)(nil), // 8: flyteidl.admin.LaunchPlanUpdateRequest + (*admin.ExecutionCreateRequest)(nil), // 9: flyteidl.admin.ExecutionCreateRequest + (*admin.ExecutionRelaunchRequest)(nil), // 10: flyteidl.admin.ExecutionRelaunchRequest + (*admin.ExecutionRecoverRequest)(nil), // 11: flyteidl.admin.ExecutionRecoverRequest + (*admin.WorkflowExecutionGetRequest)(nil), // 12: flyteidl.admin.WorkflowExecutionGetRequest + (*admin.ExecutionUpdateRequest)(nil), // 13: flyteidl.admin.ExecutionUpdateRequest + (*admin.WorkflowExecutionGetDataRequest)(nil), // 14: flyteidl.admin.WorkflowExecutionGetDataRequest + (*admin.ExecutionTerminateRequest)(nil), // 15: flyteidl.admin.ExecutionTerminateRequest + (*admin.NodeExecutionGetRequest)(nil), // 16: flyteidl.admin.NodeExecutionGetRequest + (*admin.GetDynamicNodeWorkflowRequest)(nil), // 17: flyteidl.admin.GetDynamicNodeWorkflowRequest + (*admin.NodeExecutionListRequest)(nil), // 18: flyteidl.admin.NodeExecutionListRequest + (*admin.NodeExecutionForTaskListRequest)(nil), // 19: flyteidl.admin.NodeExecutionForTaskListRequest + (*admin.NodeExecutionGetDataRequest)(nil), // 20: flyteidl.admin.NodeExecutionGetDataRequest + (*admin.ProjectRegisterRequest)(nil), // 21: flyteidl.admin.ProjectRegisterRequest + (*admin.Project)(nil), // 22: flyteidl.admin.Project + (*admin.ProjectListRequest)(nil), // 23: flyteidl.admin.ProjectListRequest + (*admin.WorkflowExecutionEventRequest)(nil), // 24: flyteidl.admin.WorkflowExecutionEventRequest + (*admin.NodeExecutionEventRequest)(nil), // 25: flyteidl.admin.NodeExecutionEventRequest + (*admin.TaskExecutionEventRequest)(nil), // 26: flyteidl.admin.TaskExecutionEventRequest + (*admin.TaskExecutionGetRequest)(nil), // 27: flyteidl.admin.TaskExecutionGetRequest + (*admin.TaskExecutionListRequest)(nil), // 28: flyteidl.admin.TaskExecutionListRequest + (*admin.TaskExecutionGetDataRequest)(nil), // 29: flyteidl.admin.TaskExecutionGetDataRequest + (*admin.ProjectDomainAttributesUpdateRequest)(nil), // 30: flyteidl.admin.ProjectDomainAttributesUpdateRequest + (*admin.ProjectDomainAttributesGetRequest)(nil), // 31: flyteidl.admin.ProjectDomainAttributesGetRequest + (*admin.ProjectDomainAttributesDeleteRequest)(nil), // 32: flyteidl.admin.ProjectDomainAttributesDeleteRequest + (*admin.ProjectAttributesUpdateRequest)(nil), // 33: flyteidl.admin.ProjectAttributesUpdateRequest + (*admin.ProjectAttributesGetRequest)(nil), // 34: flyteidl.admin.ProjectAttributesGetRequest + (*admin.ProjectAttributesDeleteRequest)(nil), // 35: flyteidl.admin.ProjectAttributesDeleteRequest + (*admin.WorkflowAttributesUpdateRequest)(nil), // 36: flyteidl.admin.WorkflowAttributesUpdateRequest + (*admin.WorkflowAttributesGetRequest)(nil), // 37: flyteidl.admin.WorkflowAttributesGetRequest + (*admin.WorkflowAttributesDeleteRequest)(nil), // 38: flyteidl.admin.WorkflowAttributesDeleteRequest + (*admin.ListMatchableAttributesRequest)(nil), // 39: flyteidl.admin.ListMatchableAttributesRequest + (*admin.NamedEntityListRequest)(nil), // 40: flyteidl.admin.NamedEntityListRequest + (*admin.NamedEntityGetRequest)(nil), // 41: flyteidl.admin.NamedEntityGetRequest + (*admin.NamedEntityUpdateRequest)(nil), // 42: flyteidl.admin.NamedEntityUpdateRequest + (*admin.GetVersionRequest)(nil), // 43: flyteidl.admin.GetVersionRequest + (*admin.DescriptionEntityListRequest)(nil), // 44: flyteidl.admin.DescriptionEntityListRequest + (*admin.WorkflowExecutionGetMetricsRequest)(nil), // 45: flyteidl.admin.WorkflowExecutionGetMetricsRequest + (*admin.TaskCreateResponse)(nil), // 46: flyteidl.admin.TaskCreateResponse + (*admin.Task)(nil), // 47: flyteidl.admin.Task + (*admin.NamedEntityIdentifierList)(nil), // 48: flyteidl.admin.NamedEntityIdentifierList + (*admin.TaskList)(nil), // 49: flyteidl.admin.TaskList + (*admin.WorkflowCreateResponse)(nil), // 50: flyteidl.admin.WorkflowCreateResponse + (*admin.Workflow)(nil), // 51: flyteidl.admin.Workflow + (*admin.WorkflowList)(nil), // 52: flyteidl.admin.WorkflowList + (*admin.LaunchPlanCreateResponse)(nil), // 53: flyteidl.admin.LaunchPlanCreateResponse + (*admin.LaunchPlan)(nil), // 54: flyteidl.admin.LaunchPlan + (*admin.LaunchPlanList)(nil), // 55: flyteidl.admin.LaunchPlanList + (*admin.LaunchPlanUpdateResponse)(nil), // 56: flyteidl.admin.LaunchPlanUpdateResponse + (*admin.ExecutionCreateResponse)(nil), // 57: flyteidl.admin.ExecutionCreateResponse + (*admin.Execution)(nil), // 58: flyteidl.admin.Execution + (*admin.ExecutionUpdateResponse)(nil), // 59: flyteidl.admin.ExecutionUpdateResponse + (*admin.WorkflowExecutionGetDataResponse)(nil), // 60: flyteidl.admin.WorkflowExecutionGetDataResponse + (*admin.ExecutionList)(nil), // 61: flyteidl.admin.ExecutionList + (*admin.ExecutionTerminateResponse)(nil), // 62: flyteidl.admin.ExecutionTerminateResponse + (*admin.NodeExecution)(nil), // 63: flyteidl.admin.NodeExecution + (*admin.DynamicNodeWorkflowResponse)(nil), // 64: flyteidl.admin.DynamicNodeWorkflowResponse + (*admin.NodeExecutionList)(nil), // 65: flyteidl.admin.NodeExecutionList + (*admin.NodeExecutionGetDataResponse)(nil), // 66: flyteidl.admin.NodeExecutionGetDataResponse + (*admin.ProjectRegisterResponse)(nil), // 67: flyteidl.admin.ProjectRegisterResponse + (*admin.ProjectUpdateResponse)(nil), // 68: flyteidl.admin.ProjectUpdateResponse + (*admin.Projects)(nil), // 69: flyteidl.admin.Projects + (*admin.WorkflowExecutionEventResponse)(nil), // 70: flyteidl.admin.WorkflowExecutionEventResponse + (*admin.NodeExecutionEventResponse)(nil), // 71: flyteidl.admin.NodeExecutionEventResponse + (*admin.TaskExecutionEventResponse)(nil), // 72: flyteidl.admin.TaskExecutionEventResponse + (*admin.TaskExecution)(nil), // 73: flyteidl.admin.TaskExecution + (*admin.TaskExecutionList)(nil), // 74: flyteidl.admin.TaskExecutionList + (*admin.TaskExecutionGetDataResponse)(nil), // 75: flyteidl.admin.TaskExecutionGetDataResponse + (*admin.ProjectDomainAttributesUpdateResponse)(nil), // 76: flyteidl.admin.ProjectDomainAttributesUpdateResponse + (*admin.ProjectDomainAttributesGetResponse)(nil), // 77: flyteidl.admin.ProjectDomainAttributesGetResponse + (*admin.ProjectDomainAttributesDeleteResponse)(nil), // 78: flyteidl.admin.ProjectDomainAttributesDeleteResponse + (*admin.ProjectAttributesUpdateResponse)(nil), // 79: flyteidl.admin.ProjectAttributesUpdateResponse + (*admin.ProjectAttributesGetResponse)(nil), // 80: flyteidl.admin.ProjectAttributesGetResponse + (*admin.ProjectAttributesDeleteResponse)(nil), // 81: flyteidl.admin.ProjectAttributesDeleteResponse + (*admin.WorkflowAttributesUpdateResponse)(nil), // 82: flyteidl.admin.WorkflowAttributesUpdateResponse + (*admin.WorkflowAttributesGetResponse)(nil), // 83: flyteidl.admin.WorkflowAttributesGetResponse + (*admin.WorkflowAttributesDeleteResponse)(nil), // 84: flyteidl.admin.WorkflowAttributesDeleteResponse + (*admin.ListMatchableAttributesResponse)(nil), // 85: flyteidl.admin.ListMatchableAttributesResponse + (*admin.NamedEntityList)(nil), // 86: flyteidl.admin.NamedEntityList + (*admin.NamedEntity)(nil), // 87: flyteidl.admin.NamedEntity + (*admin.NamedEntityUpdateResponse)(nil), // 88: flyteidl.admin.NamedEntityUpdateResponse + (*admin.GetVersionResponse)(nil), // 89: flyteidl.admin.GetVersionResponse + (*admin.DescriptionEntity)(nil), // 90: flyteidl.admin.DescriptionEntity + (*admin.DescriptionEntityList)(nil), // 91: flyteidl.admin.DescriptionEntityList + (*admin.WorkflowExecutionGetMetricsResponse)(nil), // 92: flyteidl.admin.WorkflowExecutionGetMetricsResponse +} +var file_flyteidl_service_admin_proto_depIdxs = []int32{ + 0, // 0: flyteidl.service.AdminService.CreateTask:input_type -> flyteidl.admin.TaskCreateRequest + 1, // 1: flyteidl.service.AdminService.GetTask:input_type -> flyteidl.admin.ObjectGetRequest + 2, // 2: flyteidl.service.AdminService.ListTaskIds:input_type -> flyteidl.admin.NamedEntityIdentifierListRequest + 3, // 3: flyteidl.service.AdminService.ListTasks:input_type -> flyteidl.admin.ResourceListRequest + 4, // 4: flyteidl.service.AdminService.CreateWorkflow:input_type -> flyteidl.admin.WorkflowCreateRequest + 1, // 5: flyteidl.service.AdminService.GetWorkflow:input_type -> flyteidl.admin.ObjectGetRequest + 2, // 6: flyteidl.service.AdminService.ListWorkflowIds:input_type -> flyteidl.admin.NamedEntityIdentifierListRequest + 3, // 7: flyteidl.service.AdminService.ListWorkflows:input_type -> flyteidl.admin.ResourceListRequest + 5, // 8: flyteidl.service.AdminService.CreateLaunchPlan:input_type -> flyteidl.admin.LaunchPlanCreateRequest + 1, // 9: flyteidl.service.AdminService.GetLaunchPlan:input_type -> flyteidl.admin.ObjectGetRequest + 6, // 10: flyteidl.service.AdminService.GetActiveLaunchPlan:input_type -> flyteidl.admin.ActiveLaunchPlanRequest + 7, // 11: flyteidl.service.AdminService.ListActiveLaunchPlans:input_type -> flyteidl.admin.ActiveLaunchPlanListRequest + 2, // 12: flyteidl.service.AdminService.ListLaunchPlanIds:input_type -> flyteidl.admin.NamedEntityIdentifierListRequest + 3, // 13: flyteidl.service.AdminService.ListLaunchPlans:input_type -> flyteidl.admin.ResourceListRequest + 8, // 14: flyteidl.service.AdminService.UpdateLaunchPlan:input_type -> flyteidl.admin.LaunchPlanUpdateRequest + 9, // 15: flyteidl.service.AdminService.CreateExecution:input_type -> flyteidl.admin.ExecutionCreateRequest + 10, // 16: flyteidl.service.AdminService.RelaunchExecution:input_type -> flyteidl.admin.ExecutionRelaunchRequest + 11, // 17: flyteidl.service.AdminService.RecoverExecution:input_type -> flyteidl.admin.ExecutionRecoverRequest + 12, // 18: flyteidl.service.AdminService.GetExecution:input_type -> flyteidl.admin.WorkflowExecutionGetRequest + 13, // 19: flyteidl.service.AdminService.UpdateExecution:input_type -> flyteidl.admin.ExecutionUpdateRequest + 14, // 20: flyteidl.service.AdminService.GetExecutionData:input_type -> flyteidl.admin.WorkflowExecutionGetDataRequest + 3, // 21: flyteidl.service.AdminService.ListExecutions:input_type -> flyteidl.admin.ResourceListRequest + 15, // 22: flyteidl.service.AdminService.TerminateExecution:input_type -> flyteidl.admin.ExecutionTerminateRequest + 16, // 23: flyteidl.service.AdminService.GetNodeExecution:input_type -> flyteidl.admin.NodeExecutionGetRequest + 17, // 24: flyteidl.service.AdminService.GetDynamicNodeWorkflow:input_type -> flyteidl.admin.GetDynamicNodeWorkflowRequest + 18, // 25: flyteidl.service.AdminService.ListNodeExecutions:input_type -> flyteidl.admin.NodeExecutionListRequest + 19, // 26: flyteidl.service.AdminService.ListNodeExecutionsForTask:input_type -> flyteidl.admin.NodeExecutionForTaskListRequest + 20, // 27: flyteidl.service.AdminService.GetNodeExecutionData:input_type -> flyteidl.admin.NodeExecutionGetDataRequest + 21, // 28: flyteidl.service.AdminService.RegisterProject:input_type -> flyteidl.admin.ProjectRegisterRequest + 22, // 29: flyteidl.service.AdminService.UpdateProject:input_type -> flyteidl.admin.Project + 23, // 30: flyteidl.service.AdminService.ListProjects:input_type -> flyteidl.admin.ProjectListRequest + 24, // 31: flyteidl.service.AdminService.CreateWorkflowEvent:input_type -> flyteidl.admin.WorkflowExecutionEventRequest + 25, // 32: flyteidl.service.AdminService.CreateNodeEvent:input_type -> flyteidl.admin.NodeExecutionEventRequest + 26, // 33: flyteidl.service.AdminService.CreateTaskEvent:input_type -> flyteidl.admin.TaskExecutionEventRequest + 27, // 34: flyteidl.service.AdminService.GetTaskExecution:input_type -> flyteidl.admin.TaskExecutionGetRequest + 28, // 35: flyteidl.service.AdminService.ListTaskExecutions:input_type -> flyteidl.admin.TaskExecutionListRequest + 29, // 36: flyteidl.service.AdminService.GetTaskExecutionData:input_type -> flyteidl.admin.TaskExecutionGetDataRequest + 30, // 37: flyteidl.service.AdminService.UpdateProjectDomainAttributes:input_type -> flyteidl.admin.ProjectDomainAttributesUpdateRequest + 31, // 38: flyteidl.service.AdminService.GetProjectDomainAttributes:input_type -> flyteidl.admin.ProjectDomainAttributesGetRequest + 32, // 39: flyteidl.service.AdminService.DeleteProjectDomainAttributes:input_type -> flyteidl.admin.ProjectDomainAttributesDeleteRequest + 33, // 40: flyteidl.service.AdminService.UpdateProjectAttributes:input_type -> flyteidl.admin.ProjectAttributesUpdateRequest + 34, // 41: flyteidl.service.AdminService.GetProjectAttributes:input_type -> flyteidl.admin.ProjectAttributesGetRequest + 35, // 42: flyteidl.service.AdminService.DeleteProjectAttributes:input_type -> flyteidl.admin.ProjectAttributesDeleteRequest + 36, // 43: flyteidl.service.AdminService.UpdateWorkflowAttributes:input_type -> flyteidl.admin.WorkflowAttributesUpdateRequest + 37, // 44: flyteidl.service.AdminService.GetWorkflowAttributes:input_type -> flyteidl.admin.WorkflowAttributesGetRequest + 38, // 45: flyteidl.service.AdminService.DeleteWorkflowAttributes:input_type -> flyteidl.admin.WorkflowAttributesDeleteRequest + 39, // 46: flyteidl.service.AdminService.ListMatchableAttributes:input_type -> flyteidl.admin.ListMatchableAttributesRequest + 40, // 47: flyteidl.service.AdminService.ListNamedEntities:input_type -> flyteidl.admin.NamedEntityListRequest + 41, // 48: flyteidl.service.AdminService.GetNamedEntity:input_type -> flyteidl.admin.NamedEntityGetRequest + 42, // 49: flyteidl.service.AdminService.UpdateNamedEntity:input_type -> flyteidl.admin.NamedEntityUpdateRequest + 43, // 50: flyteidl.service.AdminService.GetVersion:input_type -> flyteidl.admin.GetVersionRequest + 1, // 51: flyteidl.service.AdminService.GetDescriptionEntity:input_type -> flyteidl.admin.ObjectGetRequest + 44, // 52: flyteidl.service.AdminService.ListDescriptionEntities:input_type -> flyteidl.admin.DescriptionEntityListRequest + 45, // 53: flyteidl.service.AdminService.GetExecutionMetrics:input_type -> flyteidl.admin.WorkflowExecutionGetMetricsRequest + 46, // 54: flyteidl.service.AdminService.CreateTask:output_type -> flyteidl.admin.TaskCreateResponse + 47, // 55: flyteidl.service.AdminService.GetTask:output_type -> flyteidl.admin.Task + 48, // 56: flyteidl.service.AdminService.ListTaskIds:output_type -> flyteidl.admin.NamedEntityIdentifierList + 49, // 57: flyteidl.service.AdminService.ListTasks:output_type -> flyteidl.admin.TaskList + 50, // 58: flyteidl.service.AdminService.CreateWorkflow:output_type -> flyteidl.admin.WorkflowCreateResponse + 51, // 59: flyteidl.service.AdminService.GetWorkflow:output_type -> flyteidl.admin.Workflow + 48, // 60: flyteidl.service.AdminService.ListWorkflowIds:output_type -> flyteidl.admin.NamedEntityIdentifierList + 52, // 61: flyteidl.service.AdminService.ListWorkflows:output_type -> flyteidl.admin.WorkflowList + 53, // 62: flyteidl.service.AdminService.CreateLaunchPlan:output_type -> flyteidl.admin.LaunchPlanCreateResponse + 54, // 63: flyteidl.service.AdminService.GetLaunchPlan:output_type -> flyteidl.admin.LaunchPlan + 54, // 64: flyteidl.service.AdminService.GetActiveLaunchPlan:output_type -> flyteidl.admin.LaunchPlan + 55, // 65: flyteidl.service.AdminService.ListActiveLaunchPlans:output_type -> flyteidl.admin.LaunchPlanList + 48, // 66: flyteidl.service.AdminService.ListLaunchPlanIds:output_type -> flyteidl.admin.NamedEntityIdentifierList + 55, // 67: flyteidl.service.AdminService.ListLaunchPlans:output_type -> flyteidl.admin.LaunchPlanList + 56, // 68: flyteidl.service.AdminService.UpdateLaunchPlan:output_type -> flyteidl.admin.LaunchPlanUpdateResponse + 57, // 69: flyteidl.service.AdminService.CreateExecution:output_type -> flyteidl.admin.ExecutionCreateResponse + 57, // 70: flyteidl.service.AdminService.RelaunchExecution:output_type -> flyteidl.admin.ExecutionCreateResponse + 57, // 71: flyteidl.service.AdminService.RecoverExecution:output_type -> flyteidl.admin.ExecutionCreateResponse + 58, // 72: flyteidl.service.AdminService.GetExecution:output_type -> flyteidl.admin.Execution + 59, // 73: flyteidl.service.AdminService.UpdateExecution:output_type -> flyteidl.admin.ExecutionUpdateResponse + 60, // 74: flyteidl.service.AdminService.GetExecutionData:output_type -> flyteidl.admin.WorkflowExecutionGetDataResponse + 61, // 75: flyteidl.service.AdminService.ListExecutions:output_type -> flyteidl.admin.ExecutionList + 62, // 76: flyteidl.service.AdminService.TerminateExecution:output_type -> flyteidl.admin.ExecutionTerminateResponse + 63, // 77: flyteidl.service.AdminService.GetNodeExecution:output_type -> flyteidl.admin.NodeExecution + 64, // 78: flyteidl.service.AdminService.GetDynamicNodeWorkflow:output_type -> flyteidl.admin.DynamicNodeWorkflowResponse + 65, // 79: flyteidl.service.AdminService.ListNodeExecutions:output_type -> flyteidl.admin.NodeExecutionList + 65, // 80: flyteidl.service.AdminService.ListNodeExecutionsForTask:output_type -> flyteidl.admin.NodeExecutionList + 66, // 81: flyteidl.service.AdminService.GetNodeExecutionData:output_type -> flyteidl.admin.NodeExecutionGetDataResponse + 67, // 82: flyteidl.service.AdminService.RegisterProject:output_type -> flyteidl.admin.ProjectRegisterResponse + 68, // 83: flyteidl.service.AdminService.UpdateProject:output_type -> flyteidl.admin.ProjectUpdateResponse + 69, // 84: flyteidl.service.AdminService.ListProjects:output_type -> flyteidl.admin.Projects + 70, // 85: flyteidl.service.AdminService.CreateWorkflowEvent:output_type -> flyteidl.admin.WorkflowExecutionEventResponse + 71, // 86: flyteidl.service.AdminService.CreateNodeEvent:output_type -> flyteidl.admin.NodeExecutionEventResponse + 72, // 87: flyteidl.service.AdminService.CreateTaskEvent:output_type -> flyteidl.admin.TaskExecutionEventResponse + 73, // 88: flyteidl.service.AdminService.GetTaskExecution:output_type -> flyteidl.admin.TaskExecution + 74, // 89: flyteidl.service.AdminService.ListTaskExecutions:output_type -> flyteidl.admin.TaskExecutionList + 75, // 90: flyteidl.service.AdminService.GetTaskExecutionData:output_type -> flyteidl.admin.TaskExecutionGetDataResponse + 76, // 91: flyteidl.service.AdminService.UpdateProjectDomainAttributes:output_type -> flyteidl.admin.ProjectDomainAttributesUpdateResponse + 77, // 92: flyteidl.service.AdminService.GetProjectDomainAttributes:output_type -> flyteidl.admin.ProjectDomainAttributesGetResponse + 78, // 93: flyteidl.service.AdminService.DeleteProjectDomainAttributes:output_type -> flyteidl.admin.ProjectDomainAttributesDeleteResponse + 79, // 94: flyteidl.service.AdminService.UpdateProjectAttributes:output_type -> flyteidl.admin.ProjectAttributesUpdateResponse + 80, // 95: flyteidl.service.AdminService.GetProjectAttributes:output_type -> flyteidl.admin.ProjectAttributesGetResponse + 81, // 96: flyteidl.service.AdminService.DeleteProjectAttributes:output_type -> flyteidl.admin.ProjectAttributesDeleteResponse + 82, // 97: flyteidl.service.AdminService.UpdateWorkflowAttributes:output_type -> flyteidl.admin.WorkflowAttributesUpdateResponse + 83, // 98: flyteidl.service.AdminService.GetWorkflowAttributes:output_type -> flyteidl.admin.WorkflowAttributesGetResponse + 84, // 99: flyteidl.service.AdminService.DeleteWorkflowAttributes:output_type -> flyteidl.admin.WorkflowAttributesDeleteResponse + 85, // 100: flyteidl.service.AdminService.ListMatchableAttributes:output_type -> flyteidl.admin.ListMatchableAttributesResponse + 86, // 101: flyteidl.service.AdminService.ListNamedEntities:output_type -> flyteidl.admin.NamedEntityList + 87, // 102: flyteidl.service.AdminService.GetNamedEntity:output_type -> flyteidl.admin.NamedEntity + 88, // 103: flyteidl.service.AdminService.UpdateNamedEntity:output_type -> flyteidl.admin.NamedEntityUpdateResponse + 89, // 104: flyteidl.service.AdminService.GetVersion:output_type -> flyteidl.admin.GetVersionResponse + 90, // 105: flyteidl.service.AdminService.GetDescriptionEntity:output_type -> flyteidl.admin.DescriptionEntity + 91, // 106: flyteidl.service.AdminService.ListDescriptionEntities:output_type -> flyteidl.admin.DescriptionEntityList + 92, // 107: flyteidl.service.AdminService.GetExecutionMetrics:output_type -> flyteidl.admin.WorkflowExecutionGetMetricsResponse + 54, // [54:108] is the sub-list for method output_type + 0, // [0:54] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_service_admin_proto_init() } +func file_flyteidl_service_admin_proto_init() { + if File_flyteidl_service_admin_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_service_admin_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/admin.proto", + GoTypes: file_flyteidl_service_admin_proto_goTypes, + DependencyIndexes: file_flyteidl_service_admin_proto_depIdxs, + }.Build() + File_flyteidl_service_admin_proto = out.File + file_flyteidl_service_admin_proto_rawDesc = nil + file_flyteidl_service_admin_proto_goTypes = nil + file_flyteidl_service_admin_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go deleted file mode 100644 index f68d276403..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go +++ /dev/null @@ -1,9613 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: flyteidl/service/admin.proto - -/* -Package service is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package service - -import ( - "context" - "io" - "net/http" - - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - "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 - -func request_AdminService_CreateTask_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateTask_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - msg, err := client.CreateTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetTask_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3, "version": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_GetTask_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetTask_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetTask_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 1, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7}} -) - -func request_AdminService_GetTask_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetTask_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTaskIds_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_AdminService_ListTaskIds_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityIdentifierListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskIds_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTaskIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTaskIds_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_AdminService_ListTaskIds_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityIdentifierListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskIds_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTaskIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTasks_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_ListTasks_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListTasks_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTasks_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_ListTasks_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListTasks_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTasks_2 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} -) - -func request_AdminService_ListTasks_2(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTasks_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTasks_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} -) - -func request_AdminService_ListTasks_3(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTasks_3); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - msg, err := client.CreateWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetWorkflow_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3, "version": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_GetWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflow_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetWorkflow_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 1, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7}} -) - -func request_AdminService_GetWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflow_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListWorkflowIds_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_AdminService_ListWorkflowIds_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityIdentifierListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflowIds_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListWorkflowIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListWorkflowIds_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_AdminService_ListWorkflowIds_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityIdentifierListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflowIds_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListWorkflowIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListWorkflows_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_ListWorkflows_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListWorkflows_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListWorkflows_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_ListWorkflows_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListWorkflows_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListWorkflows_2 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} -) - -func request_AdminService_ListWorkflows_2(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflows_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListWorkflows_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} -) - -func request_AdminService_ListWorkflows_3(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflows_3); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.LaunchPlanCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.LaunchPlanCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - msg, err := client.CreateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetLaunchPlan_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3, "version": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_GetLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetLaunchPlan_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetLaunchPlan_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 1, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7}} -) - -func request_AdminService_GetLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetLaunchPlan_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetActiveLaunchPlan_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_GetActiveLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ActiveLaunchPlanRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetActiveLaunchPlan_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetActiveLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetActiveLaunchPlan_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_GetActiveLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ActiveLaunchPlanRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetActiveLaunchPlan_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetActiveLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListActiveLaunchPlans_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_AdminService_ListActiveLaunchPlans_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ActiveLaunchPlanListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListActiveLaunchPlans_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListActiveLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListActiveLaunchPlans_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_AdminService_ListActiveLaunchPlans_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ActiveLaunchPlanListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListActiveLaunchPlans_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListActiveLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListLaunchPlanIds_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_AdminService_ListLaunchPlanIds_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityIdentifierListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlanIds_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListLaunchPlanIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListLaunchPlanIds_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_AdminService_ListLaunchPlanIds_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityIdentifierListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlanIds_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListLaunchPlanIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListLaunchPlans_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_ListLaunchPlans_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListLaunchPlans_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListLaunchPlans_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_ListLaunchPlans_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListLaunchPlans_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListLaunchPlans_2 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} -) - -func request_AdminService_ListLaunchPlans_2(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlans_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListLaunchPlans_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} -) - -func request_AdminService_ListLaunchPlans_3(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlans_3); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.LaunchPlanUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - msg, err := client.UpdateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_UpdateLaunchPlan_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 1, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7}} -) - -func request_AdminService_UpdateLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.LaunchPlanUpdateRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_UpdateLaunchPlan_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.UpdateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionCreateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - msg, err := client.CreateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_RelaunchExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionRelaunchRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RelaunchExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_RelaunchExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionRelaunchRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - msg, err := client.RelaunchExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_RecoverExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionRecoverRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RecoverExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_RecoverExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionRecoverRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - msg, err := client.RecoverExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetExecution_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_GetExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecution_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetExecution_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_GetExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecution_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - msg, err := client.UpdateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - msg, err := client.UpdateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetExecutionData_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_GetExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionGetDataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionData_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetExecutionData_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_GetExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionGetDataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionData_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListExecutions_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} -) - -func request_AdminService_ListExecutions_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListExecutions_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListExecutions_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} -) - -func request_AdminService_ListExecutions_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ResourceListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListExecutions_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_TerminateExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionTerminateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - msg, err := client.TerminateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_TerminateExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ExecutionTerminateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - msg, err := client.TerminateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetNodeExecution_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5}, Base: []int{1, 6, 1, 1, 2, 2, 5, 0, 0, 4, 0, 6, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 4, 6, 7, 10, 2, 12}} -) - -func request_AdminService_GetNodeExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) - } - - val, ok = pathParams["id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) - } - - val, ok = pathParams["id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) - } - - val, ok = pathParams["id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecution_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetNodeExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetNodeExecution_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6}, Base: []int{1, 8, 1, 1, 2, 2, 3, 3, 0, 0, 0, 7, 6, 0, 8, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 7, 4, 6, 8, 2, 12, 13, 2, 15}} -) - -func request_AdminService_GetNodeExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) - } - - val, ok = pathParams["id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) - } - - val, ok = pathParams["id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) - } - - val, ok = pathParams["id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) - } - - val, ok = pathParams["id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecution_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetNodeExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetDynamicNodeWorkflow_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5}, Base: []int{1, 6, 1, 1, 2, 2, 5, 0, 0, 4, 0, 6, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 4, 6, 7, 10, 2, 12}} -) - -func request_AdminService_GetDynamicNodeWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.GetDynamicNodeWorkflowRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) - } - - val, ok = pathParams["id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) - } - - val, ok = pathParams["id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) - } - - val, ok = pathParams["id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDynamicNodeWorkflow_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetDynamicNodeWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetDynamicNodeWorkflow_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6}, Base: []int{1, 8, 1, 1, 2, 2, 3, 3, 0, 0, 0, 7, 6, 0, 8, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 7, 4, 6, 8, 2, 12, 13, 2, 15}} -) - -func request_AdminService_GetDynamicNodeWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.GetDynamicNodeWorkflowRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) - } - - val, ok = pathParams["id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) - } - - val, ok = pathParams["id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) - } - - val, ok = pathParams["id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) - } - - val, ok = pathParams["id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDynamicNodeWorkflow_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetDynamicNodeWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListNodeExecutions_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_AdminService_ListNodeExecutions_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionListRequest - 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_AdminService_ListNodeExecutions_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListNodeExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListNodeExecutions_1 = &utilities.DoubleArray{Encoding: map[string]int{"workflow_execution_id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_ListNodeExecutions_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["workflow_execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.org", 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_AdminService_ListNodeExecutions_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListNodeExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListNodeExecutionsForTask_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_AdminService_ListNodeExecutionsForTask_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionForTaskListRequest - 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_AdminService_ListNodeExecutionsForTask_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListNodeExecutionsForTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListNodeExecutionsForTask_1 = &utilities.DoubleArray{Encoding: map[string]int{"task_execution_id": 0, "node_execution_id": 1, "execution_id": 2, "org": 3, "project": 4, "domain": 5, "name": 6, "node_id": 7, "task_id": 8, "version": 9, "retry_attempt": 10}, Base: []int{1, 23, 1, 1, 1, 4, 3, 2, 7, 5, 3, 13, 0, 0, 0, 10, 6, 0, 12, 9, 0, 18, 12, 0, 20, 15, 0, 22, 18, 0, 22, 21, 0, 23, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 7, 2, 9, 10, 2, 5, 8, 11, 12, 16, 17, 2, 19, 20, 2, 22, 23, 2, 25, 26, 2, 28, 29, 2, 31, 32, 2, 34}} -) - -func request_AdminService_ListNodeExecutionsForTask_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionForTaskListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["task_execution_id.node_execution_id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.node_execution_id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.node_execution_id.execution_id.org", 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.org", 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_AdminService_ListNodeExecutionsForTask_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListNodeExecutionsForTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetNodeExecutionData_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5}, Base: []int{1, 6, 1, 1, 2, 2, 5, 0, 0, 4, 0, 6, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 4, 6, 7, 10, 2, 12}} -) - -func request_AdminService_GetNodeExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionGetDataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) - } - - val, ok = pathParams["id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) - } - - val, ok = pathParams["id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) - } - - val, ok = pathParams["id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecutionData_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetNodeExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetNodeExecutionData_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6}, Base: []int{1, 8, 1, 1, 2, 2, 3, 3, 0, 0, 0, 7, 6, 0, 8, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 7, 4, 6, 8, 2, 12, 13, 2, 15}} -) - -func request_AdminService_GetNodeExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionGetDataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) - } - - val, ok = pathParams["id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) - } - - val, ok = pathParams["id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) - } - - val, ok = pathParams["id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) - } - - val, ok = pathParams["id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecutionData_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetNodeExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_RegisterProject_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectRegisterRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RegisterProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_RegisterProject_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectRegisterRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "project.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project.org", err) - } - - msg, err := client.RegisterProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateProject_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.Project - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - msg, err := client.UpdateProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateProject_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.Project - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - msg, err := client.UpdateProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_AdminService_ListProjects_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectListRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListProjects_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListProjects(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListProjects_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_AdminService_ListProjects_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListProjects_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListProjects(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateWorkflowEvent_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionEventRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateWorkflowEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateWorkflowEvent_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionEventRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["event.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "event.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.execution_id.org", err) - } - - msg, err := client.CreateWorkflowEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateNodeEvent_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionEventRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateNodeEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateNodeEvent_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NodeExecutionEventRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["event.id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "event.id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.id.execution_id.org", err) - } - - msg, err := client.CreateNodeEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateTaskEvent_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionEventRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateTaskEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_CreateTaskEvent_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionEventRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["event.parent_node_execution_id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.parent_node_execution_id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "event.parent_node_execution_id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.parent_node_execution_id.execution_id.org", err) - } - - msg, err := client.CreateTaskEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetTaskExecution_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_GetTaskExecution_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.node_execution_id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) - } - - val, ok = pathParams["id.node_execution_id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) - } - - val, ok = pathParams["id.task_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) - } - - val, ok = pathParams["id.task_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) - } - - val, ok = pathParams["id.task_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) - } - - val, ok = pathParams["id.task_id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) - } - - val, ok = pathParams["id.retry_attempt"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecution_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetTaskExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetTaskExecution_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "node_execution_id": 1, "execution_id": 2, "org": 3, "project": 4, "domain": 5, "name": 6, "node_id": 7, "task_id": 8, "version": 9, "retry_attempt": 10}, Base: []int{1, 23, 1, 1, 1, 4, 3, 2, 7, 5, 3, 13, 0, 0, 0, 10, 6, 0, 12, 9, 0, 18, 12, 0, 20, 15, 0, 22, 18, 0, 22, 21, 0, 23, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 7, 2, 9, 10, 2, 5, 8, 11, 12, 16, 17, 2, 19, 20, 2, 22, 23, 2, 25, 26, 2, 28, 29, 2, 31, 32, 2, 34}} -) - -func request_AdminService_GetTaskExecution_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.node_execution_id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.org", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) - } - - val, ok = pathParams["id.node_execution_id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) - } - - val, ok = pathParams["id.task_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) - } - - val, ok = pathParams["id.task_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) - } - - val, ok = pathParams["id.task_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) - } - - val, ok = pathParams["id.task_id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) - } - - val, ok = pathParams["id.retry_attempt"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecution_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetTaskExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTaskExecutions_0 = &utilities.DoubleArray{Encoding: map[string]int{"node_execution_id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5}, Base: []int{1, 6, 1, 1, 2, 2, 5, 0, 0, 4, 0, 6, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 4, 6, 7, 10, 2, 12}} -) - -func request_AdminService_ListTaskExecutions_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["node_execution_id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.project", err) - } - - val, ok = pathParams["node_execution_id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.domain", err) - } - - val, ok = pathParams["node_execution_id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.name", err) - } - - val, ok = pathParams["node_execution_id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskExecutions_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTaskExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListTaskExecutions_1 = &utilities.DoubleArray{Encoding: map[string]int{"node_execution_id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6}, Base: []int{1, 8, 1, 1, 2, 2, 3, 3, 0, 0, 0, 7, 6, 0, 8, 0}, Check: []int{0, 1, 2, 3, 2, 5, 2, 7, 4, 6, 8, 2, 12, 13, 2, 15}} -) - -func request_AdminService_ListTaskExecutions_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["node_execution_id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.org", err) - } - - val, ok = pathParams["node_execution_id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.project", err) - } - - val, ok = pathParams["node_execution_id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.domain", err) - } - - val, ok = pathParams["node_execution_id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.name", err) - } - - val, ok = pathParams["node_execution_id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.node_id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskExecutions_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListTaskExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetTaskExecutionData_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_GetTaskExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionGetDataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.node_execution_id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) - } - - val, ok = pathParams["id.node_execution_id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) - } - - val, ok = pathParams["id.task_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) - } - - val, ok = pathParams["id.task_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) - } - - val, ok = pathParams["id.task_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) - } - - val, ok = pathParams["id.task_id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) - } - - val, ok = pathParams["id.retry_attempt"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecutionData_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetTaskExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetTaskExecutionData_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "node_execution_id": 1, "execution_id": 2, "org": 3, "project": 4, "domain": 5, "name": 6, "node_id": 7, "task_id": 8, "version": 9, "retry_attempt": 10}, Base: []int{1, 23, 1, 1, 1, 4, 3, 2, 7, 5, 3, 13, 0, 0, 0, 10, 6, 0, 12, 9, 0, 18, 12, 0, 20, 15, 0, 22, 18, 0, 22, 21, 0, 23, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 7, 2, 9, 10, 2, 5, 8, 11, 12, 16, 17, 2, 19, 20, 2, 22, 23, 2, 25, 26, 2, 28, 29, 2, 31, 32, 2, 34}} -) - -func request_AdminService_GetTaskExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.TaskExecutionGetDataRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.node_execution_id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.org", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) - } - - val, ok = pathParams["id.node_execution_id.execution_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) - } - - val, ok = pathParams["id.node_execution_id.node_id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) - } - - val, ok = pathParams["id.task_id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) - } - - val, ok = pathParams["id.task_id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) - } - - val, ok = pathParams["id.task_id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) - } - - val, ok = pathParams["id.task_id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) - } - - val, ok = pathParams["id.retry_attempt"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecutionData_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetTaskExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectDomainAttributesUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["attributes.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) - } - - val, ok = pathParams["attributes.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) - } - - msg, err := client.UpdateProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectDomainAttributesUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["attributes.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) - } - - val, ok = pathParams["attributes.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) - } - - val, ok = pathParams["attributes.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) - } - - msg, err := client.UpdateProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetProjectDomainAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_AdminService_GetProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectDomainAttributesGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectDomainAttributes_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetProjectDomainAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_AdminService_GetProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectDomainAttributesGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectDomainAttributes_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_DeleteProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectDomainAttributesDeleteRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - msg, err := client.DeleteProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_DeleteProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectDomainAttributesDeleteRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - msg, err := client.DeleteProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectAttributesUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["attributes.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) - } - - msg, err := client.UpdateProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectAttributesUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["attributes.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) - } - - val, ok = pathParams["attributes.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) - } - - msg, err := client.UpdateProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetProjectAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_AdminService_GetProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectAttributesGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectAttributes_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetProjectAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_AdminService_GetProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectAttributesGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectAttributes_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_DeleteProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectAttributesDeleteRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - msg, err := client.DeleteProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_DeleteProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ProjectAttributesDeleteRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - msg, err := client.DeleteProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowAttributesUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["attributes.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) - } - - val, ok = pathParams["attributes.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) - } - - val, ok = pathParams["attributes.workflow"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.workflow") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.workflow", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.workflow", err) - } - - msg, err := client.UpdateWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowAttributesUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["attributes.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) - } - - val, ok = pathParams["attributes.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) - } - - val, ok = pathParams["attributes.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) - } - - val, ok = pathParams["attributes.workflow"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.workflow") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "attributes.workflow", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.workflow", err) - } - - msg, err := client.UpdateWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetWorkflowAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1, "workflow": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_AdminService_GetWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowAttributesGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - val, ok = pathParams["workflow"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") - } - - protoReq.Workflow, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflowAttributes_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetWorkflowAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2, "workflow": 3}, Base: []int{1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 3, 4, 5}} -) - -func request_AdminService_GetWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowAttributesGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - val, ok = pathParams["workflow"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") - } - - protoReq.Workflow, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflowAttributes_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_DeleteWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowAttributesDeleteRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - val, ok = pathParams["workflow"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") - } - - protoReq.Workflow, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) - } - - msg, err := client.DeleteWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_DeleteWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowAttributesDeleteRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - val, ok = pathParams["workflow"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") - } - - protoReq.Workflow, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) - } - - msg, err := client.DeleteWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListMatchableAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_AdminService_ListMatchableAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ListMatchableAttributesRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListMatchableAttributes_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListMatchableAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListMatchableAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_AdminService_ListMatchableAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ListMatchableAttributesRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListMatchableAttributes_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListMatchableAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListNamedEntities_0 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_AdminService_ListNamedEntities_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityListRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListNamedEntities_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListNamedEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListNamedEntities_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "resource_type": 1, "project": 2, "domain": 3}, Base: []int{1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 3, 4, 5}} -) - -func request_AdminService_ListNamedEntities_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityListRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") - } - - protoReq.Org, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) - } - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") - } - - protoReq.Project, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) - } - - val, ok = pathParams["domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") - } - - protoReq.Domain, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListNamedEntities_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListNamedEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetNamedEntity_0 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "id": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 3, 3, 3, 2, 4, 5, 6}} -) - -func request_AdminService_GetNamedEntity_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetNamedEntity_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetNamedEntity_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 1, 1, 5, 2, 3, 4, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 2, 2, 2, 3, 5, 6, 7, 4}} -) - -func request_AdminService_GetNamedEntity_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetNamedEntity_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateNamedEntity_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - msg, err := client.UpdateNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_UpdateNamedEntity_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.NamedEntityUpdateRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - msg, err := client.UpdateNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AdminService_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.GetVersionRequest - var metadata runtime.ServerMetadata - - msg, err := client.GetVersion(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetDescriptionEntity_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "resource_type": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 1, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7}} -) - -func request_AdminService_GetDescriptionEntity_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.resource_type") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.resource_type", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.resource_type", err) - } - - protoReq.Id.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDescriptionEntity_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetDescriptionEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetDescriptionEntity_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "project": 3, "domain": 4, "name": 5, "version": 6}, Base: []int{1, 1, 1, 2, 3, 4, 5, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8}} -) - -func request_AdminService_GetDescriptionEntity_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ObjectGetRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.resource_type") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.resource_type", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.resource_type", err) - } - - protoReq.Id.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) - } - - val, ok = pathParams["id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDescriptionEntity_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetDescriptionEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListDescriptionEntities_0 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "id": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 3, 3, 3, 2, 4, 5, 6}} -) - -func request_AdminService_ListDescriptionEntities_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.DescriptionEntityListRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListDescriptionEntities_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListDescriptionEntities_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 1, 1, 5, 2, 3, 4, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 2, 2, 2, 3, 5, 6, 7, 4}} -) - -func request_AdminService_ListDescriptionEntities_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.DescriptionEntityListRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListDescriptionEntities_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListDescriptionEntities_2 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "id": 1, "project": 2, "domain": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 3, 3, 2, 4, 5}} -) - -func request_AdminService_ListDescriptionEntities_2(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.DescriptionEntityListRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListDescriptionEntities_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_ListDescriptionEntities_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "project": 3, "domain": 4}, Base: []int{1, 1, 1, 4, 2, 3, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 2, 2, 3, 5, 6, 4}} -) - -func request_AdminService_ListDescriptionEntities_3(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.DescriptionEntityListRequest - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["resource_type"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") - } - - e, err = runtime.Enum(val, core.ResourceType_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) - } - - protoReq.ResourceType = core.ResourceType(e) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListDescriptionEntities_3); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetExecutionMetrics_0 = &utilities.DoubleArray{Encoding: map[string]int{"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_AdminService_GetExecutionMetrics_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionGetMetricsRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionMetrics_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetExecutionMetrics(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_AdminService_GetExecutionMetrics_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_AdminService_GetExecutionMetrics_1(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.WorkflowExecutionGetMetricsRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) - } - - val, ok = pathParams["id.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) - } - - val, ok = pathParams["id.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) - } - - val, ok = pathParams["id.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionMetrics_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetExecutionMetrics(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -// RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterAdminServiceHandlerFromEndpoint(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 RegisterAdminServiceHandler(ctx, mux, conn) -} - -// RegisterAdminServiceHandler registers the http handlers for service AdminService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterAdminServiceHandlerClient(ctx, mux, NewAdminServiceClient(conn)) -} - -// RegisterAdminServiceHandlerClient registers the http handlers for service AdminService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdminServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdminServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "AdminServiceClient" to call the correct interceptors. -func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminServiceClient) error { - - mux.Handle("POST", pattern_AdminService_CreateTask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateTask_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateTask_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateTask_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateTask_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateTask_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetTask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetTask_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetTask_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetTask_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetTask_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetTask_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTaskIds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTaskIds_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTaskIds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTaskIds_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTaskIds_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTaskIds_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTasks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTasks_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTasks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTasks_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTasks_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTasks_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTasks_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTasks_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTasks_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTasks_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTasks_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTasks_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateWorkflow_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateWorkflow_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateWorkflow_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateWorkflow_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateWorkflow_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateWorkflow_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetWorkflow_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetWorkflow_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetWorkflow_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetWorkflow_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetWorkflow_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetWorkflow_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListWorkflowIds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListWorkflowIds_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListWorkflowIds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListWorkflowIds_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListWorkflowIds_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListWorkflowIds_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListWorkflows_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListWorkflows_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListWorkflows_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListWorkflows_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListWorkflows_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListWorkflows_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListWorkflows_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListWorkflows_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListWorkflows_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListWorkflows_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListWorkflows_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListWorkflows_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateLaunchPlan_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateLaunchPlan_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateLaunchPlan_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateLaunchPlan_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetLaunchPlan_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetLaunchPlan_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetLaunchPlan_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetLaunchPlan_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetActiveLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetActiveLaunchPlan_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetActiveLaunchPlan_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetActiveLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetActiveLaunchPlan_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetActiveLaunchPlan_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListActiveLaunchPlans_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListActiveLaunchPlans_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListActiveLaunchPlans_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListActiveLaunchPlans_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListActiveLaunchPlans_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListActiveLaunchPlans_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListLaunchPlanIds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListLaunchPlanIds_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListLaunchPlanIds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListLaunchPlanIds_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListLaunchPlanIds_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListLaunchPlanIds_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListLaunchPlans_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListLaunchPlans_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListLaunchPlans_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListLaunchPlans_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListLaunchPlans_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListLaunchPlans_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListLaunchPlans_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListLaunchPlans_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListLaunchPlans_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListLaunchPlans_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListLaunchPlans_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListLaunchPlans_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateLaunchPlan_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateLaunchPlan_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateLaunchPlan_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateLaunchPlan_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_CreateExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_RelaunchExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_RelaunchExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_RelaunchExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_RelaunchExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_RelaunchExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_RelaunchExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_RecoverExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_RecoverExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_RecoverExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_RecoverExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_RecoverExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_RecoverExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetExecutionData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetExecutionData_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetExecutionData_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetExecutionData_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetExecutionData_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetExecutionData_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListExecutions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListExecutions_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListExecutions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListExecutions_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListExecutions_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListExecutions_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_TerminateExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_TerminateExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_TerminateExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_TerminateExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_TerminateExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_TerminateExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetNodeExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetNodeExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetNodeExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetNodeExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetNodeExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetNodeExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetDynamicNodeWorkflow_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetDynamicNodeWorkflow_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetDynamicNodeWorkflow_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetDynamicNodeWorkflow_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetDynamicNodeWorkflow_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetDynamicNodeWorkflow_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListNodeExecutions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListNodeExecutions_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListNodeExecutions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListNodeExecutions_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListNodeExecutions_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListNodeExecutions_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListNodeExecutionsForTask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListNodeExecutionsForTask_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListNodeExecutionsForTask_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListNodeExecutionsForTask_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListNodeExecutionsForTask_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListNodeExecutionsForTask_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetNodeExecutionData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetNodeExecutionData_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetNodeExecutionData_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetNodeExecutionData_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetNodeExecutionData_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetNodeExecutionData_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_RegisterProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_RegisterProject_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_RegisterProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_RegisterProject_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_RegisterProject_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_RegisterProject_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateProject_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateProject_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateProject_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateProject_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListProjects_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListProjects_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListProjects_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListProjects_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateWorkflowEvent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateWorkflowEvent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateWorkflowEvent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateWorkflowEvent_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateWorkflowEvent_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateWorkflowEvent_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateNodeEvent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateNodeEvent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateNodeEvent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateNodeEvent_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateNodeEvent_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateNodeEvent_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateTaskEvent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateTaskEvent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateTaskEvent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_AdminService_CreateTaskEvent_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_CreateTaskEvent_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_CreateTaskEvent_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetTaskExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetTaskExecution_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetTaskExecution_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetTaskExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetTaskExecution_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetTaskExecution_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTaskExecutions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTaskExecutions_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTaskExecutions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListTaskExecutions_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListTaskExecutions_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListTaskExecutions_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetTaskExecutionData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetTaskExecutionData_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetTaskExecutionData_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetTaskExecutionData_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetTaskExecutionData_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetTaskExecutionData_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateProjectDomainAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateProjectDomainAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateProjectDomainAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateProjectDomainAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateProjectDomainAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetProjectDomainAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetProjectDomainAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetProjectDomainAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetProjectDomainAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetProjectDomainAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_DeleteProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_DeleteProjectDomainAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_DeleteProjectDomainAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_DeleteProjectDomainAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_DeleteProjectDomainAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_DeleteProjectDomainAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateProjectAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateProjectAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateProjectAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateProjectAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateProjectAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetProjectAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetProjectAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetProjectAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetProjectAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetProjectAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_DeleteProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_DeleteProjectAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_DeleteProjectAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_DeleteProjectAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_DeleteProjectAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_DeleteProjectAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateWorkflowAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateWorkflowAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateWorkflowAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateWorkflowAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateWorkflowAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetWorkflowAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetWorkflowAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetWorkflowAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetWorkflowAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetWorkflowAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_DeleteWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_DeleteWorkflowAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_DeleteWorkflowAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("DELETE", pattern_AdminService_DeleteWorkflowAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_DeleteWorkflowAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_DeleteWorkflowAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListMatchableAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListMatchableAttributes_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListMatchableAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListMatchableAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListMatchableAttributes_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListMatchableAttributes_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListNamedEntities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListNamedEntities_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListNamedEntities_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListNamedEntities_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListNamedEntities_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListNamedEntities_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetNamedEntity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetNamedEntity_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetNamedEntity_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetNamedEntity_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetNamedEntity_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetNamedEntity_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateNamedEntity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateNamedEntity_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateNamedEntity_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PUT", pattern_AdminService_UpdateNamedEntity_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_UpdateNamedEntity_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_UpdateNamedEntity_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetVersion_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetVersion_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetVersion_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetDescriptionEntity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetDescriptionEntity_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetDescriptionEntity_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetDescriptionEntity_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetDescriptionEntity_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetDescriptionEntity_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListDescriptionEntities_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListDescriptionEntities_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListDescriptionEntities_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListDescriptionEntities_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListDescriptionEntities_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListDescriptionEntities_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_ListDescriptionEntities_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_ListDescriptionEntities_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetExecutionMetrics_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetExecutionMetrics_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetExecutionMetrics_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AdminService_GetExecutionMetrics_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AdminService_GetExecutionMetrics_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AdminService_GetExecutionMetrics_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_AdminService_CreateTask_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "tasks"}, "")) - - pattern_AdminService_CreateTask_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "tasks", "org", "id.org"}, "")) - - pattern_AdminService_GetTask_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "tasks", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_GetTask_1 = 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}, []string{"api", "v1", "tasks", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_ListTaskIds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "task_ids", "project", "domain"}, "")) - - pattern_AdminService_ListTaskIds_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "tasks", "org", "project", "domain"}, "")) - - pattern_AdminService_ListTasks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "tasks", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListTasks_1 = 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}, []string{"api", "v1", "tasks", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListTasks_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "tasks", "id.project", "id.domain"}, "")) - - pattern_AdminService_ListTasks_3 = 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", "tasks", "org", "id.org", "id.project", "id.domain"}, "")) - - pattern_AdminService_CreateWorkflow_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "workflows"}, "")) - - pattern_AdminService_CreateWorkflow_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "workflows", "org", "id.org"}, "")) - - pattern_AdminService_GetWorkflow_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "workflows", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_GetWorkflow_1 = 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}, []string{"api", "v1", "workflows", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_ListWorkflowIds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "workflow_ids", "project", "domain"}, "")) - - pattern_AdminService_ListWorkflowIds_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflows", "org", "project", "domain"}, "")) - - pattern_AdminService_ListWorkflows_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflows", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListWorkflows_1 = 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}, []string{"api", "v1", "workflows", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListWorkflows_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "workflows", "id.project", "id.domain"}, "")) - - pattern_AdminService_ListWorkflows_3 = 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", "workflows", "org", "id.org", "id.project", "id.domain"}, "")) - - pattern_AdminService_CreateLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "launch_plans"}, "")) - - pattern_AdminService_CreateLaunchPlan_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "launch_plans", "org", "id.org"}, "")) - - pattern_AdminService_GetLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "launch_plans", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_GetLaunchPlan_1 = 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}, []string{"api", "v1", "launch_plans", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_GetActiveLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "active_launch_plans", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetActiveLaunchPlan_1 = 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}, []string{"api", "v1", "active_launch_plans", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListActiveLaunchPlans_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "active_launch_plans", "project", "domain"}, "")) - - pattern_AdminService_ListActiveLaunchPlans_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "active_launch_plans", "org", "project", "domain"}, "")) - - pattern_AdminService_ListLaunchPlanIds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "launch_plan_ids", "project", "domain"}, "")) - - pattern_AdminService_ListLaunchPlanIds_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "launch_plan_ids", "org", "project", "domain"}, "")) - - pattern_AdminService_ListLaunchPlans_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "launch_plans", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListLaunchPlans_1 = 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}, []string{"api", "v1", "launch_plans", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListLaunchPlans_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "launch_plans", "id.project", "id.domain"}, "")) - - pattern_AdminService_ListLaunchPlans_3 = 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", "launch_plans", "org", "id.org", "id.project", "id.domain"}, "")) - - pattern_AdminService_UpdateLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "launch_plans", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_UpdateLaunchPlan_1 = 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}, []string{"api", "v1", "launch_plans", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_CreateExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "executions"}, "")) - - pattern_AdminService_CreateExecution_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "executions", "org"}, "")) - - pattern_AdminService_RelaunchExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "executions", "relaunch"}, "")) - - pattern_AdminService_RelaunchExecution_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "executions", "org", "id.org", "relaunch"}, "")) - - pattern_AdminService_RecoverExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "executions", "recover"}, "")) - - pattern_AdminService_RecoverExecution_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "executions", "org", "id.org", "recover"}, "")) - - pattern_AdminService_GetExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "executions", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetExecution_1 = 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}, []string{"api", "v1", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_UpdateExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "executions", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_UpdateExecution_1 = 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}, []string{"api", "v1", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetExecutionData_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", "data", "executions", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetExecutionData_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"api", "v1", "data", "org", "id.org", "executions", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListExecutions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "executions", "id.project", "id.domain"}, "")) - - pattern_AdminService_ListExecutions_1 = 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", "executions", "org", "id.org", "id.project", "id.domain"}, "")) - - pattern_AdminService_TerminateExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "executions", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_TerminateExecution_1 = 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}, []string{"api", "v1", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetNodeExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) - - pattern_AdminService_GetNodeExecution_1 = 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}, []string{"api", "v1", "node_executions", "org", "id.execution_id.org", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) - - pattern_AdminService_GetDynamicNodeWorkflow_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 2, 7}, []string{"api", "v1", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id", "dynamic_workflow"}, "")) - - pattern_AdminService_GetDynamicNodeWorkflow_1 = 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, 2, 9}, []string{"api", "v1", "node_executions", "org", "id.execution_id.org", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id", "dynamic_workflow"}, "")) - - pattern_AdminService_ListNodeExecutions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "node_executions", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) - - pattern_AdminService_ListNodeExecutions_1 = 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}, []string{"api", "v1", "node_executions", "org", "workflow_execution_id.org", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) - - pattern_AdminService_ListNodeExecutionsForTask_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", "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"}, "")) - - pattern_AdminService_ListNodeExecutionsForTask_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 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, 1, 0, 4, 1, 5, 13, 1, 0, 4, 1, 5, 14}, []string{"api", "v1", "children", "org", "task_execution_id.node_execution_id.execution_id.org", "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"}, "")) - - pattern_AdminService_GetNodeExecutionData_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}, []string{"api", "v1", "data", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) - - pattern_AdminService_GetNodeExecutionData_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 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}, []string{"api", "v1", "data", "org", "id.execution_id.org", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) - - pattern_AdminService_RegisterProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "projects"}, "")) - - pattern_AdminService_RegisterProject_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "projects", "org", "project.org"}, "")) - - pattern_AdminService_UpdateProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "projects", "id"}, "")) - - pattern_AdminService_UpdateProject_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "projects", "org", "id"}, "")) - - pattern_AdminService_ListProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "projects"}, "")) - - pattern_AdminService_ListProjects_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "projects", "org"}, "")) - - pattern_AdminService_CreateWorkflowEvent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "events", "workflows"}, "")) - - pattern_AdminService_CreateWorkflowEvent_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "events", "org", "event.execution_id.org", "workflows"}, "")) - - pattern_AdminService_CreateNodeEvent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "events", "nodes"}, "")) - - pattern_AdminService_CreateNodeEvent_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "events", "org", "event.id.execution_id.org", "nodes"}, "")) - - pattern_AdminService_CreateTaskEvent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "events", "tasks"}, "")) - - pattern_AdminService_CreateTaskEvent_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "events", "org", "event.parent_node_execution_id.execution_id.org", "tasks"}, "")) - - pattern_AdminService_GetTaskExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 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}, []string{"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"}, "")) - - pattern_AdminService_GetTaskExecution_1 = 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, 1, 0, 4, 1, 5, 13}, []string{"api", "v1", "task_executions", "org", "id.node_execution_id.execution_id.org", "id.node_execution_id.execution_id.project", "id.node_execution_id.execution_id.domain", "id.node_execution_id.execution_id.name", "id.node_execution_id.node_id", "id.task_id.project", "id.task_id.domain", "id.task_id.name", "id.task_id.version", "id.retry_attempt"}, "")) - - pattern_AdminService_ListTaskExecutions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "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"}, "")) - - pattern_AdminService_ListTaskExecutions_1 = 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}, []string{"api", "v1", "task_executions", "org", "node_execution_id.execution_id.org", "node_execution_id.execution_id.project", "node_execution_id.execution_id.domain", "node_execution_id.execution_id.name", "node_execution_id.node_id"}, "")) - - pattern_AdminService_GetTaskExecutionData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9, 1, 0, 4, 1, 5, 10, 1, 0, 4, 1, 5, 11, 1, 0, 4, 1, 5, 12}, []string{"api", "v1", "data", "task_executions", "id.node_execution_id.execution_id.project", "id.node_execution_id.execution_id.domain", "id.node_execution_id.execution_id.name", "id.node_execution_id.node_id", "id.task_id.project", "id.task_id.domain", "id.task_id.name", "id.task_id.version", "id.retry_attempt"}, "")) - - pattern_AdminService_GetTaskExecutionData_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 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, 1, 0, 4, 1, 5, 13, 1, 0, 4, 1, 5, 14}, []string{"api", "v1", "data", "org", "id.node_execution_id.execution_id.org", "task_executions", "id.node_execution_id.execution_id.project", "id.node_execution_id.execution_id.domain", "id.node_execution_id.execution_id.name", "id.node_execution_id.node_id", "id.task_id.project", "id.task_id.domain", "id.task_id.name", "id.task_id.version", "id.retry_attempt"}, "")) - - pattern_AdminService_UpdateProjectDomainAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "attributes.project", "attributes.domain"}, "")) - - pattern_AdminService_UpdateProjectDomainAttributes_1 = 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", "project_domain_attributes", "org", "attributes.org", "attributes.project", "attributes.domain"}, "")) - - pattern_AdminService_GetProjectDomainAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "project", "domain"}, "")) - - pattern_AdminService_GetProjectDomainAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "project_domain_attributes", "org", "project", "domain"}, "")) - - pattern_AdminService_DeleteProjectDomainAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "project", "domain"}, "")) - - pattern_AdminService_DeleteProjectDomainAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "project_domain_attributes", "org", "project", "domain"}, "")) - - pattern_AdminService_UpdateProjectAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "project_attributes", "attributes.project"}, "")) - - pattern_AdminService_UpdateProjectAttributes_1 = 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}, []string{"api", "v1", "project_domain_attributes", "org", "attributes.org", "attributes.project"}, "")) - - pattern_AdminService_GetProjectAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "project_attributes", "project"}, "")) - - pattern_AdminService_GetProjectAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "org", "project"}, "")) - - pattern_AdminService_DeleteProjectAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "project_attributes", "project"}, "")) - - pattern_AdminService_DeleteProjectAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "org", "project"}, "")) - - pattern_AdminService_UpdateWorkflowAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflow_attributes", "attributes.project", "attributes.domain", "attributes.workflow"}, "")) - - pattern_AdminService_UpdateWorkflowAttributes_1 = 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}, []string{"api", "v1", "workflow_attributes", "org", "attributes.org", "attributes.project", "attributes.domain", "attributes.workflow"}, "")) - - pattern_AdminService_GetWorkflowAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflow_attributes", "project", "domain", "workflow"}, "")) - - pattern_AdminService_GetWorkflowAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "workflow_attributes", "org", "project", "domain", "workflow"}, "")) - - pattern_AdminService_DeleteWorkflowAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflow_attributes", "project", "domain", "workflow"}, "")) - - pattern_AdminService_DeleteWorkflowAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "workflow_attributes", "org", "project", "domain", "workflow"}, "")) - - pattern_AdminService_ListMatchableAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "matchable_attributes"}, "")) - - pattern_AdminService_ListMatchableAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "matchable_attributes", "org"}, "")) - - pattern_AdminService_ListNamedEntities_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "named_entities", "resource_type", "project", "domain"}, "")) - - pattern_AdminService_ListNamedEntities_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "named_entities", "org", "resource_type", "project", "domain"}, "")) - - pattern_AdminService_GetNamedEntity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "named_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetNamedEntity_1 = 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}, []string{"api", "v1", "named_entities", "org", "id.org", "resource_type", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_UpdateNamedEntity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "named_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_UpdateNamedEntity_1 = 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}, []string{"api", "v1", "named_entities", "org", "id.org", "resource_type", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetVersion_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "version"}, "")) - - pattern_AdminService_GetDescriptionEntity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"api", "v1", "description_entities", "id.resource_type", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_GetDescriptionEntity_1 = 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}, []string{"api", "v1", "description_entities", "org", "id.org", "id.resource_type", "id.project", "id.domain", "id.name", "id.version"}, "")) - - pattern_AdminService_ListDescriptionEntities_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "description_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListDescriptionEntities_1 = 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}, []string{"api", "v1", "description_entities", "org", "id.org", "resource_type", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_ListDescriptionEntities_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "description_entities", "resource_type", "id.project", "id.domain"}, "")) - - pattern_AdminService_ListDescriptionEntities_3 = 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}, []string{"api", "v1", "description_entities", "org", "id.org", "resource_type", "id.project", "id.domain"}, "")) - - pattern_AdminService_GetExecutionMetrics_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", "metrics", "executions", "id.project", "id.domain", "id.name"}, "")) - - pattern_AdminService_GetExecutionMetrics_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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}, []string{"api", "v1", "metrics", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) -) - -var ( - forward_AdminService_CreateTask_0 = runtime.ForwardResponseMessage - - forward_AdminService_CreateTask_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetTask_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetTask_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListTaskIds_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListTaskIds_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListTasks_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListTasks_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListTasks_2 = runtime.ForwardResponseMessage - - forward_AdminService_ListTasks_3 = runtime.ForwardResponseMessage - - forward_AdminService_CreateWorkflow_0 = runtime.ForwardResponseMessage - - forward_AdminService_CreateWorkflow_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetWorkflow_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetWorkflow_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListWorkflowIds_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListWorkflowIds_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListWorkflows_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListWorkflows_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListWorkflows_2 = runtime.ForwardResponseMessage - - forward_AdminService_ListWorkflows_3 = runtime.ForwardResponseMessage - - forward_AdminService_CreateLaunchPlan_0 = runtime.ForwardResponseMessage - - forward_AdminService_CreateLaunchPlan_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetLaunchPlan_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetLaunchPlan_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetActiveLaunchPlan_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetActiveLaunchPlan_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListActiveLaunchPlans_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListActiveLaunchPlans_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListLaunchPlanIds_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListLaunchPlanIds_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListLaunchPlans_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListLaunchPlans_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListLaunchPlans_2 = runtime.ForwardResponseMessage - - forward_AdminService_ListLaunchPlans_3 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateLaunchPlan_0 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateLaunchPlan_1 = runtime.ForwardResponseMessage - - forward_AdminService_CreateExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_CreateExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_RelaunchExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_RelaunchExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_RecoverExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_RecoverExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetExecutionData_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetExecutionData_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListExecutions_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListExecutions_1 = runtime.ForwardResponseMessage - - forward_AdminService_TerminateExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_TerminateExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetNodeExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetNodeExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetDynamicNodeWorkflow_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetDynamicNodeWorkflow_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListNodeExecutions_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListNodeExecutions_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListNodeExecutionsForTask_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListNodeExecutionsForTask_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetNodeExecutionData_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetNodeExecutionData_1 = runtime.ForwardResponseMessage - - forward_AdminService_RegisterProject_0 = runtime.ForwardResponseMessage - - forward_AdminService_RegisterProject_1 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateProject_0 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateProject_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListProjects_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListProjects_1 = runtime.ForwardResponseMessage - - forward_AdminService_CreateWorkflowEvent_0 = runtime.ForwardResponseMessage - - forward_AdminService_CreateWorkflowEvent_1 = runtime.ForwardResponseMessage - - forward_AdminService_CreateNodeEvent_0 = runtime.ForwardResponseMessage - - forward_AdminService_CreateNodeEvent_1 = runtime.ForwardResponseMessage - - forward_AdminService_CreateTaskEvent_0 = runtime.ForwardResponseMessage - - forward_AdminService_CreateTaskEvent_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetTaskExecution_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetTaskExecution_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListTaskExecutions_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListTaskExecutions_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetTaskExecutionData_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetTaskExecutionData_1 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateProjectDomainAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateProjectDomainAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetProjectDomainAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetProjectDomainAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_DeleteProjectDomainAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_DeleteProjectDomainAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateProjectAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateProjectAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetProjectAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetProjectAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_DeleteProjectAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_DeleteProjectAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateWorkflowAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateWorkflowAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetWorkflowAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetWorkflowAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_DeleteWorkflowAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_DeleteWorkflowAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListMatchableAttributes_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListMatchableAttributes_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListNamedEntities_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListNamedEntities_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetNamedEntity_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetNamedEntity_1 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateNamedEntity_0 = runtime.ForwardResponseMessage - - forward_AdminService_UpdateNamedEntity_1 = runtime.ForwardResponseMessage - - forward_AdminService_GetVersion_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetDescriptionEntity_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetDescriptionEntity_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListDescriptionEntities_0 = runtime.ForwardResponseMessage - - forward_AdminService_ListDescriptionEntities_1 = runtime.ForwardResponseMessage - - forward_AdminService_ListDescriptionEntities_2 = runtime.ForwardResponseMessage - - forward_AdminService_ListDescriptionEntities_3 = runtime.ForwardResponseMessage - - forward_AdminService_GetExecutionMetrics_0 = runtime.ForwardResponseMessage - - forward_AdminService_GetExecutionMetrics_1 = runtime.ForwardResponseMessage -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json deleted file mode 100644 index d86f6359e2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json +++ /dev/null @@ -1,12111 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/service/admin.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`.", - "operationId": "GetActiveLaunchPlan2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlan" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/active_launch_plans/org/{org}/{project}/{domain}": { - "get": { - "summary": "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`.", - "operationId": "ListActiveLaunchPlans2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanList" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`.", - "operationId": "GetActiveLaunchPlan", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlan" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/active_launch_plans/{project}/{domain}": { - "get": { - "summary": "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`.", - "operationId": "ListActiveLaunchPlans", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanList" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "ListNodeExecutionsForTask2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionList" - } - } - }, - "parameters": [ - { - "name": "task_execution_id.node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "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" - }, - { - "name": "task_execution_id.task_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/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}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "ListNodeExecutionsForTask", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionList" - } - } - }, - "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" - }, - { - "name": "task_execution_id.task_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "task_execution_id.node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/data/executions/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "GetExecutionData", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionGetDataResponse" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { - "get": { - "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`.", - "operationId": "GetNodeExecutionData", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionGetDataResponse" - } - } - }, - "parameters": [ - { - "name": "id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { - "get": { - "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`.", - "operationId": "GetNodeExecutionData2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionGetDataResponse" - } - } - }, - "parameters": [ - { - "name": "id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_id", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}": { - "get": { - "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "GetTaskExecutionData2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskExecutionGetDataResponse" - } - } - }, - "parameters": [ - { - "name": "id.node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_execution_id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.node_execution_id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_execution_id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.task_id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.retry_attempt", - "in": "path", - "required": true, - "type": "integer", - "format": "int64" - }, - { - "name": "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" - }, - { - "name": "id.task_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "GetExecutionData2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionGetDataResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/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}": { - "get": { - "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "GetTaskExecutionData", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskExecutionGetDataResponse" - } - } - }, - "parameters": [ - { - "name": "id.node_execution_id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.node_execution_id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_execution_id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.task_id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.retry_attempt", - "in": "path", - "required": true, - "type": "integer", - "format": "int64" - }, - { - "name": "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" - }, - { - "name": "id.task_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "id.node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object.", - "operationId": "GetDescriptionEntity2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDescriptionEntity" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.resource_type", - "description": "Identifies the specific type of resource that this identifier corresponds to.", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", - "operationId": "ListDescriptionEntities4", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDescriptionEntityList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Identifies the specific type of resource that this identifier corresponds to.", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", - "operationId": "ListDescriptionEntities2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDescriptionEntityList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Identifies the specific type of resource that this identifier corresponds to.", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object.", - "operationId": "GetDescriptionEntity", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDescriptionEntity" - } - } - }, - "parameters": [ - { - "name": "id.resource_type", - "description": "Identifies the specific type of resource that this identifier corresponds to.", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", - "operationId": "ListDescriptionEntities3", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDescriptionEntityList" - } - } - }, - "parameters": [ - { - "name": "resource_type", - "description": "Identifies the specific type of resource that this identifier corresponds to.", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", - "operationId": "ListDescriptionEntities", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDescriptionEntityList" - } - } - }, - "parameters": [ - { - "name": "resource_type", - "description": "Identifies the specific type of resource that this identifier corresponds to.", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/events/nodes": { - "post": { - "summary": "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred.", - "operationId": "CreateNodeEvent", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionEventResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminNodeExecutionEventRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/events/org/{event.execution_id.org}/workflows": { - "post": { - "summary": "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred.", - "operationId": "CreateWorkflowEvent2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionEventResponse" - } - } - }, - "parameters": [ - { - "name": "event.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionEventRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/events/org/{event.id.execution_id.org}/nodes": { - "post": { - "summary": "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred.", - "operationId": "CreateNodeEvent2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionEventResponse" - } - } - }, - "parameters": [ - { - "name": "event.id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminNodeExecutionEventRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks": { - "post": { - "summary": "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred.", - "operationId": "CreateTaskEvent2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskExecutionEventResponse" - } - } - }, - "parameters": [ - { - "name": "event.parent_node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminTaskExecutionEventRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/events/tasks": { - "post": { - "summary": "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred.", - "operationId": "CreateTaskEvent", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskExecutionEventResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminTaskExecutionEventRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/events/workflows": { - "post": { - "summary": "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred.", - "operationId": "CreateWorkflowEvent", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionEventResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionEventRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions": { - "post": { - "summary": "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`", - "operationId": "CreateExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionCreateResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/org/{id.org}/recover": { - "post": { - "summary": "Recreates a previously-run workflow execution that will only start executing from the last known failure point.\nIn Recover mode, users cannot change any input parameters or update the version of the execution.\nThis is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures,\ndownstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\nSee :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details.", - "operationId": "RecoverExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionCreateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionRecoverRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/org/{id.org}/relaunch": { - "post": { - "summary": "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`", - "operationId": "RelaunchExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionCreateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionRelaunchRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "ListExecutions2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "GetExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecution" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "TerminateExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionTerminateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionTerminateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - }, - "put": { - "summary": "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "UpdateExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/org/{org}": { - "put": { - "summary": "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`", - "operationId": "CreateExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionCreateResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/recover": { - "post": { - "summary": "Recreates a previously-run workflow execution that will only start executing from the last known failure point.\nIn Recover mode, users cannot change any input parameters or update the version of the execution.\nThis is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures,\ndownstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\nSee :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details.", - "operationId": "RecoverExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionCreateResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionRecoverRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/relaunch": { - "post": { - "summary": "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`", - "operationId": "RelaunchExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionCreateResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionRelaunchRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "ListExecutions", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionList" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/executions/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "GetExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecution" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "TerminateExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionTerminateResponse" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionTerminateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - }, - "put": { - "summary": "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "UpdateExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminExecutionUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminExecutionUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plan_ids/org/{org}/{project}/{domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects.", - "operationId": "ListLaunchPlanIds2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityIdentifierList" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plan_ids/{project}/{domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects.", - "operationId": "ListLaunchPlanIds", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityIdentifierList" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans": { - "post": { - "summary": "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition", - "operationId": "CreateLaunchPlan", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanCreateResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminLaunchPlanCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans/org/{id.org}": { - "post": { - "summary": "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition", - "operationId": "CreateLaunchPlan2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanCreateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminLaunchPlanCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", - "operationId": "ListLaunchPlans4", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", - "operationId": "ListLaunchPlans2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition.", - "operationId": "GetLaunchPlan2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlan" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": [ - "AdminService" - ] - }, - "put": { - "summary": "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`.", - "operationId": "UpdateLaunchPlan2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", - "operationId": "ListLaunchPlans3", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanList" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", - "operationId": "ListLaunchPlans", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanList" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition.", - "operationId": "GetLaunchPlan", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlan" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "put": { - "summary": "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`.", - "operationId": "UpdateLaunchPlan", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminLaunchPlanUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminLaunchPlanUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/matchable_attributes": { - "get": { - "summary": "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type.", - "operationId": "ListMatchableAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminListMatchableAttributesResponse" - } - } - }, - "parameters": [ - { - "name": "resource_type", - "description": "+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - }, - { - "name": "org", - "description": "Optional, org filter applied to list project requests.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/matchable_attributes/org/{org}": { - "get": { - "summary": "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type.", - "operationId": "ListMatchableAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminListMatchableAttributesResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org filter applied to list project requests.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "GetExecutionMetrics2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionGetMetricsResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "depth", - "description": "depth defines the number of Flyte entity levels to traverse when breaking down execution details.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`.", - "operationId": "GetExecutionMetrics", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowExecutionGetMetricsResponse" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "depth", - "description": "depth defines the number of Flyte entity levels to traverse when breaking down execution details.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object.", - "operationId": "GetNamedEntity2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntity" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.\n+required", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "put": { - "summary": "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object.", - "operationId": "UpdateNamedEntity2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Resource type of the metadata to update\n+required", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminNamedEntityUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}": { - "get": { - "summary": "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects.", - "operationId": "ListNamedEntities2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityList" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.\n+required", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object.", - "operationId": "GetNamedEntity", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntity" - } - } - }, - "parameters": [ - { - "name": "resource_type", - "description": "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.\n+required", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "put": { - "summary": "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object.", - "operationId": "UpdateNamedEntity", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "resource_type", - "description": "Resource type of the metadata to update\n+required", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminNamedEntityUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/named_entities/{resource_type}/{project}/{domain}": { - "get": { - "summary": "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects.", - "operationId": "ListNamedEntities", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityList" - } - } - }, - "parameters": [ - { - "name": "resource_type", - "description": "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.\n+required", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "UNSPECIFIED", - "TASK", - "WORKFLOW", - "LAUNCH_PLAN", - "DATASET" - ] - }, - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`.", - "operationId": "GetNodeExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/flyteidladminNodeExecution" - } - } - }, - "parameters": [ - { - "name": "id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_id", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`.", - "operationId": "GetDynamicNodeWorkflow2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDynamicNodeWorkflowResponse" - } - } - }, - "parameters": [ - { - "name": "id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_id", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`.", - "operationId": "ListNodeExecutions2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionList" - } - } - }, - "parameters": [ - { - "name": "workflow_execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "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" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "unique_parent_id", - "description": "Unique identifier of the parent node in the execution\n+optional.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`.", - "operationId": "GetNodeExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/flyteidladminNodeExecution" - } - } - }, - "parameters": [ - { - "name": "id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`.", - "operationId": "GetDynamicNodeWorkflow", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminDynamicNodeWorkflowResponse" - } - } - }, - "parameters": [ - { - "name": "id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`.", - "operationId": "ListNodeExecutions", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNodeExecutionList" - } - } - }, - "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" - }, - { - "name": "workflow_execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "unique_parent_id", - "description": "Unique identifier of the parent node in the execution\n+optional.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_attributes/{attributes.project}": { - "put": { - "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level", - "operationId": "UpdateProjectAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectAttributesUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "attributes.project", - "description": "Unique project id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectAttributesUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_attributes/{project}": { - "get": { - "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "GetProjectAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectAttributesGetResponse" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Which type of matchable attributes to return.\n+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - }, - { - "name": "org", - "description": "Optional, org key applied to the project.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "DeleteProjectAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectAttributesDeleteResponse" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectAttributesDeleteRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}": { - "put": { - "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level", - "operationId": "UpdateProjectAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectAttributesUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "attributes.org", - "description": "Optional, org key applied to the project.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.project", - "description": "Unique project id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectAttributesUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}": { - "put": { - "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "UpdateProjectDomainAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "attributes.org", - "description": "Optional, org key applied to the attributes.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.project", - "description": "Unique project id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.domain", - "description": "Unique domain id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_domain_attributes/org/{org}/{project}": { - "get": { - "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "GetProjectAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectAttributesGetResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the project.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Which type of matchable attributes to return.\n+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "DeleteProjectAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectAttributesDeleteResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the project.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectAttributesDeleteRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_domain_attributes/org/{org}/{project}/{domain}": { - "get": { - "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "GetProjectDomainAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesGetResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the attributes.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Which type of matchable attributes to return.\n+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "DeleteProjectDomainAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesDeleteResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the attributes.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesDeleteRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}": { - "put": { - "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "UpdateProjectDomainAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "attributes.project", - "description": "Unique project id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.domain", - "description": "Unique domain id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/project_domain_attributes/{project}/{domain}": { - "get": { - "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "GetProjectDomainAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesGetResponse" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Which type of matchable attributes to return.\n+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - }, - { - "name": "org", - "description": "Optional, org key applied to the attributes.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", - "operationId": "DeleteProjectDomainAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesDeleteResponse" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectDomainAttributesDeleteRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/projects": { - "get": { - "summary": "Fetches a list of :ref:`ref_flyteidl.admin.Project`", - "operationId": "ListProjects", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjects" - } - } - }, - "parameters": [ - { - "name": "limit", - "description": "Indicates the number of projects to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "org", - "description": "Optional, org filter applied to list project requests.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "post": { - "summary": "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment.", - "operationId": "RegisterProject", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectRegisterResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectRegisterRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/projects/org/{org}": { - "get": { - "summary": "Fetches a list of :ref:`ref_flyteidl.admin.Project`", - "operationId": "ListProjects2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjects" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org filter applied to list project requests.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of projects to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/projects/org/{org}/{id}": { - "put": { - "summary": "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project should be passed but the domains property should be empty;\nit will be ignored in the handler as domains cannot be updated via this API.", - "operationId": "UpdateProject2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "description": "Globally unique project name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProject" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/projects/org/{project.org}": { - "post": { - "summary": "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment.", - "operationId": "RegisterProject2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectRegisterResponse" - } - } - }, - "parameters": [ - { - "name": "project.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProjectRegisterRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/projects/{id}": { - "put": { - "summary": "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project should be passed but the domains property should be empty;\nit will be ignored in the handler as domains cannot be updated via this API.", - "operationId": "UpdateProject", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminProjectUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "id", - "description": "Globally unique project name.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminProject" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "GetTaskExecution2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/flyteidladminTaskExecution" - } - } - }, - "parameters": [ - { - "name": "id.node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_execution_id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.node_execution_id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_execution_id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.task_id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.retry_attempt", - "in": "path", - "required": true, - "type": "integer", - "format": "int64" - }, - { - "name": "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" - }, - { - "name": "id.task_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}": { - "get": { - "summary": "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "ListTaskExecutions2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskExecutionList" - } - } - }, - "parameters": [ - { - "name": "node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "node_execution_id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "node_execution_id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "node_execution_id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/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}": { - "get": { - "summary": "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "GetTaskExecution", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/flyteidladminTaskExecution" - } - } - }, - "parameters": [ - { - "name": "id.node_execution_id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.node_execution_id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.node_execution_id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.task_id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.task_id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.retry_attempt", - "in": "path", - "required": true, - "type": "integer", - "format": "int64" - }, - { - "name": "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" - }, - { - "name": "id.task_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "id.node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/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}": { - "get": { - "summary": "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`.", - "operationId": "ListTaskExecutions", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskExecutionList" - } - } - }, - "parameters": [ - { - "name": "node_execution_id.execution_id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "node_execution_id.execution_id.name", - "description": "User or system provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "node_execution_id.node_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "node_execution_id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/task_ids/{project}/{domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects.", - "operationId": "ListTaskIds", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityIdentifierList" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks": { - "post": { - "summary": "Create and upload a :ref:`ref_flyteidl.admin.Task` definition", - "operationId": "CreateTask", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/flyteidladminTaskCreateResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/flyteidladminTaskCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/org/{id.org}": { - "post": { - "summary": "Create and upload a :ref:`ref_flyteidl.admin.Task` definition", - "operationId": "CreateTask2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/flyteidladminTaskCreateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/flyteidladminTaskCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", - "operationId": "ListTasks4", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", - "operationId": "ListTasks2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.Task` definition.", - "operationId": "GetTask2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTask" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/org/{org}/{project}/{domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects.", - "operationId": "ListTaskIds2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityIdentifierList" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", - "operationId": "ListTasks3", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskList" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", - "operationId": "ListTasks", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTaskList" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.Task` definition.", - "operationId": "GetTask", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminTask" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/version": { - "get": { - "operationId": "GetVersion", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminGetVersionResponse" - } - } - }, - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}": { - "put": { - "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", - "operationId": "UpdateWorkflowAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "attributes.org", - "description": "Optional, org key applied to the attributes.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.project", - "description": "Unique project id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.domain", - "description": "Unique domain id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.workflow", - "description": "Workflow name for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}": { - "get": { - "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", - "operationId": "GetWorkflowAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesGetResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the attributes.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "workflow", - "description": "Workflow name which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Which type of matchable attributes to return.\n+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", - "operationId": "DeleteWorkflowAttributes2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesDeleteResponse" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the attributes.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "workflow", - "description": "Workflow name which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesDeleteRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}": { - "put": { - "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", - "operationId": "UpdateWorkflowAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesUpdateResponse" - } - } - }, - "parameters": [ - { - "name": "attributes.project", - "description": "Unique project id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.domain", - "description": "Unique domain id for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attributes.workflow", - "description": "Workflow name for which this set of attributes will be applied.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesUpdateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflow_attributes/{project}/{domain}/{workflow}": { - "get": { - "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", - "operationId": "GetWorkflowAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesGetResponse" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "workflow", - "description": "Workflow name which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource_type", - "description": "Which type of matchable attributes to return.\n+required.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE" - }, - { - "name": "org", - "description": "Optional, org key applied to the attributes.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - }, - "delete": { - "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", - "operationId": "DeleteWorkflowAttributes", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesDeleteResponse" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Unique project id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Unique domain id which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "workflow", - "description": "Workflow name which this set of attributes references.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowAttributesDeleteRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflow_ids/{project}/{domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects.", - "operationId": "ListWorkflowIds", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityIdentifierList" - } - } - }, - "parameters": [ - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows": { - "post": { - "summary": "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition", - "operationId": "CreateWorkflow", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowCreateResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/org/{id.org}": { - "post": { - "summary": "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition", - "operationId": "CreateWorkflow2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowCreateResponse" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminWorkflowCreateRequest" - } - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", - "operationId": "ListWorkflows4", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", - "operationId": "ListWorkflows2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowList" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition.", - "operationId": "GetWorkflow2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflow" - } - } - }, - "parameters": [ - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/org/{org}/{project}/{domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects.", - "operationId": "ListWorkflowIds2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminNamedEntityIdentifierList" - } - } - }, - "parameters": [ - { - "name": "org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "project", - "description": "Name of the project that contains the identifiers.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "domain", - "description": "Name of the domain the identifiers belongs to within the project.\n+required", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/{id.project}/{id.domain}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", - "operationId": "ListWorkflows3", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowList" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/{id.project}/{id.domain}/{id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", - "operationId": "ListWorkflows", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflowList" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "AdminService" - ] - } - }, - "/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}": { - "get": { - "summary": "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition.", - "operationId": "GetWorkflow", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminWorkflow" - } - } - }, - "parameters": [ - { - "name": "id.project", - "description": "Name of the project the resource belongs to.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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": "id.name", - "description": "User provided value for the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id.version", - "description": "Specific version of the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "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" - }, - { - "name": "id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "AdminService" - ] - } - } - }, - "definitions": { - "BlobTypeBlobDimensionality": { - "type": "string", - "enum": [ - "SINGLE", - "MULTIPART" - ], - "default": "SINGLE" - }, - "CatalogReservationStatus": { - "type": "string", - "enum": [ - "RESERVATION_DISABLED", - "RESERVATION_ACQUIRED", - "RESERVATION_EXISTS", - "RESERVATION_RELEASED", - "RESERVATION_FAILURE" - ], - "default": "RESERVATION_DISABLED", - "description": "Indicates the status of a catalog reservation operation.\n\n - RESERVATION_DISABLED: Used to indicate that reservations are disabled\n - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended\n - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists\n - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released\n - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure" - }, - "ComparisonExpressionOperator": { - "type": "string", - "enum": [ - "EQ", - "NEQ", - "GT", - "GTE", - "LT", - "LTE" - ], - "default": "EQ", - "description": "- GT: Greater Than\n - LT: Less Than", - "title": "Binary Operator for each expression" - }, - "ConjunctionExpressionLogicalOperator": { - "type": "string", - "enum": [ - "AND", - "OR" - ], - "default": "AND", - "description": "- AND: Conjunction", - "title": "Nested conditions. They can be conjoined using AND / OR\nOrder of evaluation is not important as the operators are Commutative" - }, - "ConnectionSetIdList": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ContainerArchitecture": { - "type": "string", - "enum": [ - "UNKNOWN", - "AMD64", - "ARM64", - "ARM_V6", - "ARM_V7" - ], - "default": "UNKNOWN", - "description": "Architecture-type the container image supports." - }, - "DataLoadingConfigLiteralMapFormat": { - "type": "string", - "enum": [ - "JSON", - "YAML", - "PROTO" - ], - "default": "JSON", - "description": "- JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core", - "title": "LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers.\nIf the user has access to the protocol buffer definitions, it is recommended to use the PROTO format.\nJSON and YAML do not need any protobuf definitions to read it\nAll remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)" - }, - "ExecutionErrorErrorKind": { - "type": "string", - "enum": [ - "UNKNOWN", - "USER", - "SYSTEM" - ], - "default": "UNKNOWN", - "title": "Error type: System or User" - }, - "ExecutionMetadataExecutionMode": { - "type": "string", - "enum": [ - "MANUAL", - "SCHEDULED", - "SYSTEM", - "RELAUNCH", - "CHILD_WORKFLOW", - "RECOVERED" - ], - "default": "MANUAL", - "description": "The method by which this execution was launched.\n\n - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual.\n - SCHEDULED: A schedule triggered this execution launch.\n - SYSTEM: A system process was responsible for launching this execution rather an individual.\n - RELAUNCH: This execution was launched with identical inputs as a previous execution.\n - CHILD_WORKFLOW: This execution was triggered by another execution.\n - RECOVERED: This execution was recovered from another execution." - }, - "IOStrategyDownloadMode": { - "type": "string", - "enum": [ - "DOWNLOAD_EAGER", - "DOWNLOAD_STREAM", - "DO_NOT_DOWNLOAD" - ], - "default": "DOWNLOAD_EAGER", - "description": "- DOWNLOAD_EAGER: All data will be downloaded before the main container is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded", - "title": "Mode to use for downloading" - }, - "IOStrategyUploadMode": { - "type": "string", - "enum": [ - "UPLOAD_ON_EXIT", - "UPLOAD_EAGER", - "DO_NOT_UPLOAD" - ], - "default": "UPLOAD_ON_EXIT", - "description": "- UPLOAD_ON_EXIT: All data will be uploaded after the main container exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written", - "title": "Mode to use for uploading" - }, - "PluginOverrideMissingPluginBehavior": { - "type": "string", - "enum": [ - "FAIL", - "USE_DEFAULT" - ], - "default": "FAIL", - "description": " - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail.\n - USE_DEFAULT: Uses the system-configured default implementation." - }, - "ProjectProjectState": { - "type": "string", - "enum": [ - "ACTIVE", - "ARCHIVED", - "SYSTEM_GENERATED" - ], - "default": "ACTIVE", - "description": "The state of the project is used to control its visibility in the UI and validity.\n\n - ACTIVE: By default, all projects are considered active.\n - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid.\n - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user." - }, - "QualityOfServiceTier": { - "type": "string", - "enum": [ - "UNDEFINED", - "HIGH", - "MEDIUM", - "LOW" - ], - "default": "UNDEFINED", - "description": " - UNDEFINED: Default: no quality of service specified." - }, - "ResourcesResourceEntry": { - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourcesResourceName", - "description": "Resource name." - }, - "value": { - "type": "string", - "title": "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" - } - }, - "description": "Encapsulates a resource name and value." - }, - "ResourcesResourceName": { - "type": "string", - "enum": [ - "UNKNOWN", - "CPU", - "GPU", - "MEMORY", - "STORAGE", - "EPHEMERAL_STORAGE" - ], - "default": "UNKNOWN", - "description": "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." - }, - "RuntimeMetadataRuntimeType": { - "type": "string", - "enum": [ - "OTHER", - "FLYTE_SDK" - ], - "default": "OTHER" - }, - "SchemaColumnSchemaColumnType": { - "type": "string", - "enum": [ - "INTEGER", - "FLOAT", - "STRING", - "BOOLEAN", - "DATETIME", - "DURATION" - ], - "default": "INTEGER" - }, - "SchemaTypeSchemaColumn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "A unique name -within the schema type- for the column" - }, - "type": { - "$ref": "#/definitions/SchemaColumnSchemaColumnType", - "description": "The column type. This allows a limited set of types currently." - } - } - }, - "SecretMountType": { - "type": "string", - "enum": [ - "ANY", - "ENV_VAR", - "FILE" - ], - "default": "ANY", - "description": " - ANY: Default case, indicates the client can tolerate either mounting options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable.\n - FILE: FILE indicates the secret needs to be mounted as a file." - }, - "SortDirection": { - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING", - "description": " - DESCENDING: By default, fields are sorted in descending order." - }, - "SqlDialect": { - "type": "string", - "enum": [ - "UNDEFINED", - "ANSI", - "HIVE", - "OTHER" - ], - "default": "UNDEFINED", - "description": "The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid\nexpensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement.\nWe support the following dialect: ansi, hive." - }, - "StructuredDatasetTypeDatasetColumn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A unique name within the schema type for the column." - }, - "literal_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "The column type." - } - } - }, - "TaskExecutionMetadataInstanceClass": { - "type": "string", - "enum": [ - "DEFAULT", - "INTERRUPTIBLE" - ], - "default": "DEFAULT", - "description": "Includes the broad category of machine used for this specific task execution.\n\n - DEFAULT: The default instance class configured for the flyte application platform.\n - INTERRUPTIBLE: The instance class configured for interruptible tasks." - }, - "TaskLogMessageFormat": { - "type": "string", - "enum": [ - "UNKNOWN", - "CSV", - "JSON" - ], - "default": "UNKNOWN" - }, - "WorkflowMetadataOnFailurePolicy": { - "type": "string", - "enum": [ - "FAIL_IMMEDIATELY", - "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" - ], - "default": "FAIL_IMMEDIATELY", - "description": "- FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically\nabort all currently running nodes and clean up resources before finally marking the workflow executions as\nfailed.\n - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will\nnot alter the dependencies of the execution graph so any node that depend on the failed node will not be run.\nOther nodes that will be executed to completion before cleaning up resources and marking the workflow\nexecution as failed.", - "title": "Failure Handling Strategy" - }, - "adminAbortMetadata": { - "type": "object", - "properties": { - "cause": { - "type": "string", - "description": "In the case of a user-specified abort, this will pass along the user-supplied cause." - }, - "principal": { - "type": "string", - "title": "Identifies the entity (if any) responsible for terminating the execution" - } - }, - "description": "Specifies metadata around an aborted workflow execution." - }, - "adminAnnotations": { - "type": "object", - "properties": { - "values": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of custom annotations to be applied to the execution resource." - } - }, - "description": "Annotation values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge annotations defined at registration and execution time." - }, - "adminAuth": { - "type": "object", - "properties": { - "assumable_iam_role": { - "type": "string", - "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." - }, - "kubernetes_service_account": { - "type": "string", - "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." - } - }, - "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." - }, - "adminAuthRole": { - "type": "object", - "properties": { - "assumable_iam_role": { - "type": "string", - "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." - }, - "kubernetes_service_account": { - "type": "string", - "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." - } - }, - "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." - }, - "adminClusterAssignment": { - "type": "object", - "properties": { - "cluster_pool_name": { - "type": "string" - } - }, - "description": "Encapsulates specifications for routing an execution onto a specific cluster." - }, - "adminClusterResourceAttributes": { - "type": "object", - "properties": { - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names of variables in templatized resource files.\nMap values should be the custom values which get substituted during resource creation." - } - } - }, - "adminCronSchedule": { - "type": "object", - "properties": { - "schedule": { - "type": "string", - "title": "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;\nAlso supports nonstandard predefined scheduling definitions\nas described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\nexcept @reboot" - }, - "offset": { - "type": "string", - "title": "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" - } - }, - "description": "Options for schedules to run according to a cron expression." - }, - "adminDescription": { - "type": "object", - "properties": { - "value": { - "type": "string", - "title": "long description - no more than 4KB" - }, - "uri": { - "type": "string", - "title": "if the description sizes exceed some threshold we can offload the entire\ndescription proto altogether to an external data store, like S3 rather than store inline in the db" - }, - "format": { - "$ref": "#/definitions/adminDescriptionFormat", - "title": "Format of the long description" - }, - "icon_link": { - "type": "string", - "title": "Optional link to an icon for the entity" - } - }, - "description": "Full user description with formatting preserved. This can be rendered\nby clients, such as the console or command line tools with in-tact\nformatting." - }, - "adminDescriptionEntity": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "id represents the unique identifier of the description entity." - }, - "short_description": { - "type": "string", - "description": "One-liner overview of the entity." - }, - "long_description": { - "$ref": "#/definitions/adminDescription", - "description": "Full user description with formatting preserved." - }, - "source_code": { - "$ref": "#/definitions/adminSourceCode", - "description": "Optional link to source code used to define this entity." - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "User-specified tags. These are arbitrary and can be used for searching\nfiltering and discovering tasks." - } - }, - "description": "DescriptionEntity contains detailed description for the task/workflow.\nDocumentation could provide insight into the algorithms, business use case, etc." - }, - "adminDescriptionEntityList": { - "type": "object", - "properties": { - "descriptionEntities": { - "type": "array", - "items": { - "$ref": "#/definitions/adminDescriptionEntity" - }, - "description": "A list of DescriptionEntities returned based on the request." - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Represents a list of DescriptionEntities returned from the admin.\nSee :ref:`ref_flyteidl.admin.DescriptionEntity` for more details" - }, - "adminDescriptionFormat": { - "type": "string", - "enum": [ - "DESCRIPTION_FORMAT_UNKNOWN", - "DESCRIPTION_FORMAT_MARKDOWN", - "DESCRIPTION_FORMAT_HTML", - "DESCRIPTION_FORMAT_RST" - ], - "default": "DESCRIPTION_FORMAT_UNKNOWN", - "description": "- DESCRIPTION_FORMAT_RST: python default documentation - comments is rst", - "title": "The format of the long description" - }, - "adminDomain": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Globally unique domain name." - }, - "name": { - "type": "string", - "description": "Display name." - } - }, - "description": "Namespace within a project commonly used to differentiate between different service instances.\ne.g. \"production\", \"development\", etc." - }, - "adminDynamicNodeWorkflowResponse": { - "type": "object", - "properties": { - "compiled_workflow": { - "$ref": "#/definitions/coreCompiledWorkflowClosure" - } - } - }, - "adminEmailNotification": { - "type": "object", - "properties": { - "recipients_email": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The list of email addresses recipients for this notification.\n+required" - } - }, - "description": "Defines an email notification specification." - }, - "adminEnvs": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/coreKeyValuePair" - }, - "description": "Map of custom environment variables to be applied to the execution resource." - } - }, - "description": "Environment variable values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge environment variables defined at registration and execution time." - }, - "adminExecution": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "description": "Unique identifier of the workflow execution." - }, - "spec": { - "$ref": "#/definitions/adminExecutionSpec", - "description": "User-provided configuration and inputs for launching the execution." - }, - "closure": { - "$ref": "#/definitions/adminExecutionClosure", - "description": "Execution results." - } - }, - "description": "A workflow execution represents an instantiated workflow, including all inputs and additional\nmetadata as well as computed results included state, outputs, and duration-based attributes.\nUsed as a response object used in Get and List execution requests." - }, - "adminExecutionClosure": { - "type": "object", - "properties": { - "outputs": { - "$ref": "#/definitions/adminLiteralMapBlob", - "description": "Output URI in the case of a successful execution.\nDEPRECATED. Use GetExecutionData to fetch output data instead." - }, - "error": { - "$ref": "#/definitions/coreExecutionError", - "description": "Error information in the case of a failed execution." - }, - "abort_cause": { - "type": "string", - "description": "In the case of a user-specified abort, this will pass along the user-supplied cause." - }, - "abort_metadata": { - "$ref": "#/definitions/adminAbortMetadata", - "description": "In the case of a user-specified abort, this will pass along the user and their supplied cause." - }, - "output_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw output data produced by this execution.\nDEPRECATED. Use GetExecutionData to fetch output data instead." - }, - "computed_inputs": { - "$ref": "#/definitions/coreLiteralMap", - "title": "Inputs computed and passed for execution.\ncomputed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan" - }, - "phase": { - "$ref": "#/definitions/coreWorkflowExecutionPhase", - "description": "Most recent recorded phase for the execution." - }, - "started_at": { - "type": "string", - "format": "date-time", - "description": "Reported time at which the execution began running." - }, - "duration": { - "type": "string", - "description": "The amount of time the execution spent running." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "Reported time at which the execution was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "Reported time at which the execution was last updated." - }, - "notifications": { - "type": "array", - "items": { - "$ref": "#/definitions/adminNotification" - }, - "description": "The notification settings to use after merging the CreateExecutionRequest and the launch plan\nnotification settings. An execution launched with notifications will always prefer that definition\nto notifications defined statically in a launch plan." - }, - "workflow_id": { - "$ref": "#/definitions/coreIdentifier", - "description": "Identifies the workflow definition for this execution." - }, - "state_change_details": { - "$ref": "#/definitions/adminExecutionStateChangeDetails", - "title": "Provides the details of the last stage change" - } - }, - "title": "Encapsulates the results of the Execution" - }, - "adminExecutionClusterLabel": { - "type": "object", - "properties": { - "value": { - "type": "string", - "title": "Label value to determine where the execution will be run" - } - } - }, - "adminExecutionCreateRequest": { - "type": "object", - "properties": { - "project": { - "type": "string", - "title": "Name of the project the execution belongs to.\n+required" - }, - "domain": { - "type": "string", - "title": "Name of the domain the execution belongs to.\nA domain can be considered as a subset within a specific project.\n+required" - }, - "name": { - "type": "string", - "title": "User provided value for the resource.\nIf none is provided the system will generate a unique string.\n+optional" - }, - "spec": { - "$ref": "#/definitions/adminExecutionSpec", - "title": "Additional fields necessary to launch the execution.\n+optional" - }, - "inputs": { - "$ref": "#/definitions/coreLiteralMap", - "title": "The inputs required to start the execution. All required inputs must be\nincluded in this map. If not required and not provided, defaults apply.\n+optional" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "description": "Request to launch an execution with the given project, domain and optionally-assigned name." - }, - "adminExecutionCreateResponse": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier" - } - }, - "description": "The unique identifier for a successfully created execution.\nIf the name was *not* specified in the create request, this identifier will include a generated name." - }, - "adminExecutionList": { - "type": "object", - "properties": { - "executions": { - "type": "array", - "items": { - "$ref": "#/definitions/adminExecution" - } - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Used as a response for request to list executions.\nSee :ref:`ref_flyteidl.admin.Execution` for more details" - }, - "adminExecutionMetadata": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/definitions/ExecutionMetadataExecutionMode" - }, - "principal": { - "type": "string", - "description": "Identifier of the entity that triggered this execution.\nFor systems using back-end authentication any value set here will be discarded in favor of the\nauthenticated user context." - }, - "nesting": { - "type": "integer", - "format": "int64", - "description": "Indicates the nestedness of this execution.\nIf a user launches a workflow execution, the default nesting is 0.\nIf this execution further launches a workflow (child workflow), the nesting level is incremented by 0 =\u003e 1\nGenerally, if workflow at nesting level k launches a workflow then the child workflow will have\nnesting = k + 1." - }, - "scheduled_at": { - "type": "string", - "format": "date-time", - "description": "For scheduled executions, the requested time for execution for this specific schedule invocation." - }, - "parent_node_execution": { - "$ref": "#/definitions/coreNodeExecutionIdentifier", - "title": "Which subworkflow node (if any) launched this execution" - }, - "reference_execution": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "description": "Optional, a reference workflow execution related to this execution.\nIn the case of a relaunch, this references the original workflow execution." - }, - "system_metadata": { - "$ref": "#/definitions/adminSystemMetadata", - "description": "Optional, platform-specific metadata about the execution.\nIn this the future this may be gated behind an ACL or some sort of authorization." - }, - "artifact_ids": { - "type": "array", - "items": { - "$ref": "#/definitions/coreArtifactID" - }, - "description": "Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping\nsince we don't have a structure to handle nested ones anyways." - } - }, - "description": "Represents attributes about an execution which are not required to launch the execution but are useful to record.\nThese attributes are assigned at launch time and do not change." - }, - "adminExecutionQueueAttributes": { - "type": "object", - "properties": { - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Tags used for assigning execution queues for tasks defined within this project." - } - } - }, - "adminExecutionRecoverRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "description": "Identifier of the workflow execution to recover." - }, - "name": { - "type": "string", - "title": "User provided value for the recovered execution.\nIf none is provided the system will generate a unique string.\n+optional" - }, - "metadata": { - "$ref": "#/definitions/adminExecutionMetadata", - "description": "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution." - } - }, - "description": "Request to recover the referenced execution." - }, - "adminExecutionRelaunchRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "title": "Identifier of the workflow execution to relaunch.\n+required" - }, - "name": { - "type": "string", - "title": "User provided value for the relaunched execution.\nIf none is provided the system will generate a unique string.\n+optional" - }, - "overwrite_cache": { - "type": "boolean", - "format": "boolean", - "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." - } - }, - "description": "Request to relaunch the referenced execution." - }, - "adminExecutionSpec": { - "type": "object", - "properties": { - "launch_plan": { - "$ref": "#/definitions/coreIdentifier", - "title": "Launch plan to be executed" - }, - "inputs": { - "$ref": "#/definitions/coreLiteralMap", - "title": "Input values to be passed for the execution" - }, - "metadata": { - "$ref": "#/definitions/adminExecutionMetadata", - "title": "Metadata for the execution" - }, - "notifications": { - "$ref": "#/definitions/adminNotificationList", - "description": "List of notifications based on Execution status transitions\nWhen this list is not empty it is used rather than any notifications defined in the referenced launch plan.\nWhen this list is empty, the notifications defined for the launch plan will be applied." - }, - "disable_all": { - "type": "boolean", - "format": "boolean", - "description": "This should be set to true if all notifications are intended to be disabled for this execution." - }, - "labels": { - "$ref": "#/definitions/adminLabels", - "description": "Labels to apply to the execution resource." - }, - "annotations": { - "$ref": "#/definitions/adminAnnotations", - "description": "Annotations to apply to the execution resource." - }, - "security_context": { - "$ref": "#/definitions/coreSecurityContext", - "description": "Optional: security context override to apply this execution." - }, - "auth_role": { - "$ref": "#/definitions/adminAuthRole", - "description": "Optional: auth override to apply this execution." - }, - "quality_of_service": { - "$ref": "#/definitions/coreQualityOfService", - "description": "Indicates the runtime priority of the execution." - }, - "max_parallelism": { - "type": "integer", - "format": "int32", - "description": "Controls the maximum number of task nodes that can be run in parallel for the entire workflow.\nThis is useful to achieve fairness. Note: MapTasks are regarded as one unit,\nand parallelism/concurrency of MapTasks is independent from this." - }, - "raw_output_data_config": { - "$ref": "#/definitions/adminRawOutputDataConfig", - "title": "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).\nThis should be a prefix like s3://my-bucket/my-data" - }, - "cluster_assignment": { - "$ref": "#/definitions/adminClusterAssignment", - "description": "Controls how to select an available cluster on which this execution should run." - }, - "interruptible": { - "type": "boolean", - "format": "boolean", - "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." - }, - "overwrite_cache": { - "type": "boolean", - "format": "boolean", - "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." - }, - "envs": { - "$ref": "#/definitions/adminEnvs", - "description": "Environment variables to be set for the execution." - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Tags to be set for the execution." - } - }, - "description": "An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime\nof an execution as it progresses across phase changes." - }, - "adminExecutionState": { - "type": "string", - "enum": [ - "EXECUTION_ACTIVE", - "EXECUTION_ARCHIVED" - ], - "default": "EXECUTION_ACTIVE", - "description": "The state of the execution is used to control its visibility in the UI/CLI.\n\n - EXECUTION_ACTIVE: By default, all executions are considered active.\n - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI." - }, - "adminExecutionStateChangeDetails": { - "type": "object", - "properties": { - "state": { - "$ref": "#/definitions/adminExecutionState", - "description": "The state of the execution is used to control its visibility in the UI/CLI." - }, - "occurred_at": { - "type": "string", - "format": "date-time", - "description": "This timestamp represents when the state changed." - }, - "principal": { - "type": "string", - "title": "Identifies the entity (if any) responsible for causing the state change of the execution" - } - } - }, - "adminExecutionTerminateRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "description": "Uniquely identifies the individual workflow execution to be terminated." - }, - "cause": { - "type": "string", - "description": "Optional reason for aborting." - } - }, - "description": "Request to terminate an in-progress execution. This action is irreversible.\nIf an execution is already terminated, this request will simply be a no-op.\nThis request will fail if it references a non-existent execution.\nIf the request succeeds the phase \"ABORTED\" will be recorded for the termination\nwith the optional cause added to the output_result." - }, - "adminExecutionTerminateResponse": { - "type": "object" - }, - "adminExecutionUpdateRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "title": "Identifier of the execution to update" - }, - "state": { - "$ref": "#/definitions/adminExecutionState", - "title": "State to set as the new value active/archive" - } - } - }, - "adminExecutionUpdateResponse": { - "type": "object" - }, - "adminFixedRate": { - "type": "object", - "properties": { - "value": { - "type": "integer", - "format": "int64" - }, - "unit": { - "$ref": "#/definitions/adminFixedRateUnit" - } - }, - "description": "Option for schedules run at a certain frequency e.g. every 2 minutes." - }, - "adminFixedRateUnit": { - "type": "string", - "enum": [ - "MINUTE", - "HOUR", - "DAY" - ], - "default": "MINUTE", - "description": "Represents a frequency at which to run a schedule." - }, - "adminFlyteURLs": { - "type": "object", - "properties": { - "inputs": { - "type": "string" - }, - "outputs": { - "type": "string" - }, - "deck": { - "type": "string" - } - }, - "description": "These URLs are returned as part of node and task execution data requests." - }, - "adminGetVersionResponse": { - "type": "object", - "properties": { - "control_plane_version": { - "$ref": "#/definitions/adminVersion", - "title": "The control plane version information. FlyteAdmin and related components\nform the control plane of Flyte" - } - }, - "title": "Response for the GetVersion API" - }, - "adminLabels": { - "type": "object", - "properties": { - "values": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of custom labels to be applied to the execution resource." - } - }, - "description": "Label values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge labels defined at registration and execution time." - }, - "adminLaunchPlan": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "Uniquely identifies a launch plan entity." - }, - "spec": { - "$ref": "#/definitions/adminLaunchPlanSpec", - "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." - }, - "closure": { - "$ref": "#/definitions/adminLaunchPlanClosure", - "description": "Values computed by the flyte platform after launch plan registration." - } - }, - "description": "A LaunchPlan provides the capability to templatize workflow executions.\nLaunch plans simplify associating one or more schedules, inputs and notifications with your workflows.\nLaunch plans can be shared and used to trigger executions with predefined inputs even when a workflow\ndefinition doesn't necessarily have a default value for said input." - }, - "adminLaunchPlanClosure": { - "type": "object", - "properties": { - "state": { - "$ref": "#/definitions/adminLaunchPlanState", - "description": "Indicate the Launch plan state." - }, - "expected_inputs": { - "$ref": "#/definitions/coreParameterMap", - "title": "Indicates the set of inputs expected when creating an execution with the Launch plan" - }, - "expected_outputs": { - "$ref": "#/definitions/coreVariableMap", - "title": "Indicates the set of outputs expected to be produced by creating an execution with the Launch plan" - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the launch plan was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the launch plan was last updated." - } - }, - "description": "Values computed by the flyte platform after launch plan registration.\nThese include expected_inputs required to be present in a CreateExecutionRequest\nto launch the reference workflow as well timestamp values associated with the launch plan." - }, - "adminLaunchPlanCreateRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "Uniquely identifies a launch plan entity." - }, - "spec": { - "$ref": "#/definitions/adminLaunchPlanSpec", - "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." - } - }, - "description": "Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required\nto launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan." - }, - "adminLaunchPlanCreateResponse": { - "type": "object" - }, - "adminLaunchPlanList": { - "type": "object", - "properties": { - "launch_plans": { - "type": "array", - "items": { - "$ref": "#/definitions/adminLaunchPlan" - } - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Response object for list launch plan requests.\nSee :ref:`ref_flyteidl.admin.LaunchPlan` for more details" - }, - "adminLaunchPlanMetadata": { - "type": "object", - "properties": { - "schedule": { - "$ref": "#/definitions/adminSchedule", - "title": "Schedule to execute the Launch Plan" - }, - "notifications": { - "type": "array", - "items": { - "$ref": "#/definitions/adminNotification" - }, - "title": "List of notifications based on Execution status transitions" - }, - "launch_conditions": { - "$ref": "#/definitions/protobufAny", - "title": "Additional metadata for how to launch the launch plan" - } - }, - "description": "Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch\nthe reference workflow." - }, - "adminLaunchPlanSpec": { - "type": "object", - "properties": { - "workflow_id": { - "$ref": "#/definitions/coreIdentifier", - "title": "Reference to the Workflow template that the launch plan references" - }, - "entity_metadata": { - "$ref": "#/definitions/adminLaunchPlanMetadata", - "title": "Metadata for the Launch Plan" - }, - "default_inputs": { - "$ref": "#/definitions/coreParameterMap", - "description": "Input values to be passed for the execution.\nThese can be overridden when an execution is created with this launch plan." - }, - "fixed_inputs": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Fixed, non-overridable inputs for the Launch Plan.\nThese can not be overridden when an execution is created with this launch plan." - }, - "role": { - "type": "string", - "title": "String to indicate the role to use to execute the workflow underneath" - }, - "labels": { - "$ref": "#/definitions/adminLabels", - "description": "Custom labels to be applied to the execution resource." - }, - "annotations": { - "$ref": "#/definitions/adminAnnotations", - "description": "Custom annotations to be applied to the execution resource." - }, - "auth": { - "$ref": "#/definitions/adminAuth", - "description": "Indicates the permission associated with workflow executions triggered with this launch plan." - }, - "auth_role": { - "$ref": "#/definitions/adminAuthRole" - }, - "security_context": { - "$ref": "#/definitions/coreSecurityContext", - "title": "Indicates security context for permissions triggered with this launch plan" - }, - "quality_of_service": { - "$ref": "#/definitions/coreQualityOfService", - "description": "Indicates the runtime priority of the execution." - }, - "raw_output_data_config": { - "$ref": "#/definitions/adminRawOutputDataConfig", - "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." - }, - "max_parallelism": { - "type": "integer", - "format": "int32", - "description": "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.\nThis is useful to achieve fairness. Note: MapTasks are regarded as one unit,\nand parallelism/concurrency of MapTasks is independent from this." - }, - "interruptible": { - "type": "boolean", - "format": "boolean", - "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." - }, - "overwrite_cache": { - "type": "boolean", - "format": "boolean", - "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." - }, - "envs": { - "$ref": "#/definitions/adminEnvs", - "description": "Environment variables to be set for the execution." - } - }, - "description": "User-provided launch plan definition and configuration values." - }, - "adminLaunchPlanState": { - "type": "string", - "enum": [ - "INACTIVE", - "ACTIVE" - ], - "default": "INACTIVE", - "description": "By default any launch plan regardless of state can be used to launch a workflow execution.\nHowever, at most one version of a launch plan\n(e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be\nactive at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier\ngroup will be observed and trigger executions at a defined cadence." - }, - "adminLaunchPlanUpdateRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "Identifier of launch plan for which to change state.\n+required." - }, - "state": { - "$ref": "#/definitions/adminLaunchPlanState", - "description": "Desired state to apply to the launch plan.\n+required." - } - }, - "title": "Request to set the referenced launch plan state to the configured value.\nSee :ref:`ref_flyteidl.admin.LaunchPlan` for more details" - }, - "adminLaunchPlanUpdateResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminListMatchableAttributesResponse": { - "type": "object", - "properties": { - "configurations": { - "type": "array", - "items": { - "$ref": "#/definitions/adminMatchableAttributesConfiguration" - } - } - }, - "title": "Response for a request for all matching resource attributes for a resource type.\nSee :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details" - }, - "adminLiteralMapBlob": { - "type": "object", - "properties": { - "values": { - "$ref": "#/definitions/coreLiteralMap", - "title": "Data in LiteralMap format" - }, - "uri": { - "type": "string", - "title": "In the event that the map is too large, we return a uri to the data" - } - }, - "title": "Input/output data can represented by actual values or a link to where values are stored" - }, - "adminMatchableAttributesConfiguration": { - "type": "object", - "properties": { - "attributes": { - "$ref": "#/definitions/adminMatchingAttributes" - }, - "domain": { - "type": "string" - }, - "project": { - "type": "string" - }, - "workflow": { - "type": "string" - }, - "launch_plan": { - "type": "string" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "description": "Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org);\nor domain, project and workflow name (and optional org).\nThese are used to override system level defaults for kubernetes cluster resource management,\ndefault execution values, and more all across different levels of specificity." - }, - "adminMatchableResource": { - "type": "string", - "enum": [ - "TASK_RESOURCE", - "CLUSTER_RESOURCE", - "EXECUTION_QUEUE", - "EXECUTION_CLUSTER_LABEL", - "QUALITY_OF_SERVICE_SPECIFICATION", - "PLUGIN_OVERRIDE", - "WORKFLOW_EXECUTION_CONFIG", - "CLUSTER_ASSIGNMENT" - ], - "default": "TASK_RESOURCE", - "description": "Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes\nbased on matching tags.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run." - }, - "adminMatchingAttributes": { - "type": "object", - "properties": { - "task_resource_attributes": { - "$ref": "#/definitions/adminTaskResourceAttributes" - }, - "cluster_resource_attributes": { - "$ref": "#/definitions/adminClusterResourceAttributes" - }, - "execution_queue_attributes": { - "$ref": "#/definitions/adminExecutionQueueAttributes" - }, - "execution_cluster_label": { - "$ref": "#/definitions/adminExecutionClusterLabel" - }, - "quality_of_service": { - "$ref": "#/definitions/coreQualityOfService" - }, - "plugin_overrides": { - "$ref": "#/definitions/adminPluginOverrides" - }, - "workflow_execution_config": { - "$ref": "#/definitions/adminWorkflowExecutionConfig" - }, - "cluster_assignment": { - "$ref": "#/definitions/adminClusterAssignment" - } - }, - "description": "Generic container for encapsulating all types of the above attributes messages." - }, - "adminNamedEntity": { - "type": "object", - "properties": { - "resource_type": { - "$ref": "#/definitions/coreResourceType", - "description": "Resource type of the named entity. One of Task, Workflow or LaunchPlan." - }, - "id": { - "$ref": "#/definitions/adminNamedEntityIdentifier" - }, - "metadata": { - "$ref": "#/definitions/adminNamedEntityMetadata", - "description": "Additional metadata around a named entity." - } - }, - "description": "Encapsulates information common to a NamedEntity, a Flyte resource such as a task,\nworkflow or launch plan. A NamedEntity is exclusively identified by its resource type\nand identifier." - }, - "adminNamedEntityIdentifier": { - "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", - "title": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "description": "Encapsulation of fields that identifies a Flyte resource.\nA Flyte resource can be a task, workflow or launch plan.\nA resource can internally have multiple versions and is uniquely identified\nby project, domain, and name." - }, - "adminNamedEntityIdentifierList": { - "type": "object", - "properties": { - "entities": { - "type": "array", - "items": { - "$ref": "#/definitions/adminNamedEntityIdentifier" - }, - "description": "A list of identifiers." - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "description": "Represents a list of NamedEntityIdentifiers." - }, - "adminNamedEntityList": { - "type": "object", - "properties": { - "entities": { - "type": "array", - "items": { - "$ref": "#/definitions/adminNamedEntity" - }, - "title": "A list of NamedEntity objects" - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "description": "Represents a list of NamedEntityIdentifiers." - }, - "adminNamedEntityMetadata": { - "type": "object", - "properties": { - "description": { - "type": "string", - "title": "Common description across all versions of the entity\n+optional" - }, - "state": { - "$ref": "#/definitions/adminNamedEntityState", - "description": "Shared state across all version of the entity\nAt this point in time, only workflow entities can have their state archived." - } - }, - "description": "Additional metadata around a named entity." - }, - "adminNamedEntityState": { - "type": "string", - "enum": [ - "NAMED_ENTITY_ACTIVE", - "NAMED_ENTITY_ARCHIVED", - "SYSTEM_GENERATED" - ], - "default": "NAMED_ENTITY_ACTIVE", - "description": "The status of the named entity is used to control its visibility in the UI.\n\n - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development.\n - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI.\n - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user." - }, - "adminNamedEntityUpdateRequest": { - "type": "object", - "properties": { - "resource_type": { - "$ref": "#/definitions/coreResourceType", - "title": "Resource type of the metadata to update\n+required" - }, - "id": { - "$ref": "#/definitions/adminNamedEntityIdentifier", - "title": "Identifier of the metadata to update\n+required" - }, - "metadata": { - "$ref": "#/definitions/adminNamedEntityMetadata", - "title": "Metadata object to set as the new value\n+required" - } - }, - "description": "Request to set the referenced named entity state to the configured value." - }, - "adminNamedEntityUpdateResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminNodeExecutionClosure": { - "type": "object", - "properties": { - "output_uri": { - "type": "string", - "description": "Links to a remotely stored, serialized core.LiteralMap of node execution outputs.\nDEPRECATED. Use GetNodeExecutionData to fetch output data instead." - }, - "error": { - "$ref": "#/definitions/coreExecutionError", - "title": "Error information for the Node" - }, - "output_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw output data produced by this node execution.\nDEPRECATED. Use GetNodeExecutionData to fetch output data instead." - }, - "phase": { - "$ref": "#/definitions/coreNodeExecutionPhase", - "description": "The last recorded phase for this node execution." - }, - "started_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the node execution began running." - }, - "duration": { - "type": "string", - "description": "The amount of time the node execution spent running." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the node execution was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the node execution was last updated." - }, - "workflow_node_metadata": { - "$ref": "#/definitions/flyteidladminWorkflowNodeMetadata" - }, - "task_node_metadata": { - "$ref": "#/definitions/flyteidladminTaskNodeMetadata" - }, - "deck_uri": { - "type": "string", - "title": "String location uniquely identifying where the deck HTML file is.\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" - }, - "dynamic_job_spec_uri": { - "type": "string", - "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required\nto correctly recover partially completed executions where the subworkflow has already been compiled." - } - }, - "description": "Container for node execution details and results." - }, - "adminNodeExecutionEventRequest": { - "type": "object", - "properties": { - "request_id": { - "type": "string", - "title": "Unique ID for this request that can be traced between services" - }, - "event": { - "$ref": "#/definitions/eventNodeExecutionEvent", - "description": "Details about the event that occurred." - } - }, - "description": "Request to send a notification that a node execution event has occurred." - }, - "adminNodeExecutionEventResponse": { - "type": "object" - }, - "adminNodeExecutionGetDataResponse": { - "type": "object", - "properties": { - "inputs": { - "$ref": "#/definitions/adminUrlBlob", - "description": "Signed url to fetch a core.LiteralMap of node execution inputs.\nDeprecated: Please use full_inputs instead." - }, - "outputs": { - "$ref": "#/definitions/adminUrlBlob", - "description": "Signed url to fetch a core.LiteralMap of node execution outputs.\nDeprecated: Please use full_outputs instead." - }, - "full_inputs": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Full_inputs will only be populated if they are under a configured size threshold." - }, - "full_outputs": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Full_outputs will only be populated if they are under a configured size threshold." - }, - "dynamic_workflow": { - "$ref": "#/definitions/flyteidladminDynamicWorkflowNodeMetadata", - "description": "Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here." - }, - "flyte_urls": { - "$ref": "#/definitions/adminFlyteURLs" - } - }, - "description": "Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution." - }, - "adminNodeExecutionList": { - "type": "object", - "properties": { - "node_executions": { - "type": "array", - "items": { - "$ref": "#/definitions/flyteidladminNodeExecution" - } - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Request structure to retrieve a list of node execution entities.\nSee :ref:`ref_flyteidl.admin.NodeExecution` for more details" - }, - "adminNodeExecutionMetaData": { - "type": "object", - "properties": { - "retry_group": { - "type": "string", - "description": "Node executions are grouped depending on retries of the parent\nRetry group is unique within the context of a parent node." - }, - "is_parent_node": { - "type": "boolean", - "format": "boolean", - "description": "Boolean flag indicating if the node has child nodes under it\nThis can be true when a node contains a dynamic workflow which then produces\nchild nodes." - }, - "spec_node_id": { - "type": "string", - "title": "Node id of the node in the original workflow\nThis maps to value of WorkflowTemplate.nodes[X].id" - }, - "is_dynamic": { - "type": "boolean", - "format": "boolean", - "description": "Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.\nThis is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true." - }, - "is_array": { - "type": "boolean", - "format": "boolean", - "description": "Boolean flag indicating if the node is an array node. This is intended to uniquely identify\narray nodes from other nodes which can have is_parent_node as true." - } - }, - "title": "Represents additional attributes related to a Node Execution" - }, - "adminNotification": { - "type": "object", - "properties": { - "phases": { - "type": "array", - "items": { - "$ref": "#/definitions/coreWorkflowExecutionPhase" - }, - "title": "A list of phases to which users can associate the notifications to.\n+required" - }, - "email": { - "$ref": "#/definitions/adminEmailNotification" - }, - "pager_duty": { - "$ref": "#/definitions/adminPagerDutyNotification" - }, - "slack": { - "$ref": "#/definitions/adminSlackNotification" - } - }, - "description": "Represents a structure for notifications based on execution status.\nThe notification content is configured within flyte admin but can be templatized.\nFuture iterations could expose configuring notifications with custom content." - }, - "adminNotificationList": { - "type": "object", - "properties": { - "notifications": { - "type": "array", - "items": { - "$ref": "#/definitions/adminNotification" - } - } - } - }, - "adminPagerDutyNotification": { - "type": "object", - "properties": { - "recipients_email": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Currently, PagerDuty notifications leverage email to trigger a notification.\n+required" - } - }, - "description": "Defines a pager duty notification specification." - }, - "adminPluginOverride": { - "type": "object", - "properties": { - "task_type": { - "type": "string", - "description": "A predefined yet extensible Task type identifier." - }, - "plugin_id": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id." - }, - "missing_plugin_behavior": { - "$ref": "#/definitions/PluginOverrideMissingPluginBehavior", - "description": "Defines the behavior when no plugin from the plugin_id list is not found." - } - }, - "description": "This MatchableAttribute configures selecting alternate plugin implementations for a given task type.\nIn addition to an override implementation a selection of fallbacks can be provided or other modes\nfor handling cases where the desired plugin override is not enabled in a given Flyte deployment." - }, - "adminPluginOverrides": { - "type": "object", - "properties": { - "overrides": { - "type": "array", - "items": { - "$ref": "#/definitions/adminPluginOverride" - } - } - } - }, - "adminProject": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Globally unique project name." - }, - "name": { - "type": "string", - "description": "Display name." - }, - "domains": { - "type": "array", - "items": { - "$ref": "#/definitions/adminDomain" - } - }, - "description": { - "type": "string" - }, - "labels": { - "$ref": "#/definitions/adminLabels", - "description": "Leverage Labels from flyteidl.admin.common.proto to\ntag projects with ownership information." - }, - "state": { - "$ref": "#/definitions/ProjectProjectState" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "description": "Top-level namespace used to classify different entities like workflows and executions." - }, - "adminProjectAttributes": { - "type": "object", - "properties": { - "project": { - "type": "string", - "description": "Unique project id for which this set of attributes will be applied." - }, - "matching_attributes": { - "$ref": "#/definitions/adminMatchingAttributes" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the project." - } - }, - "title": "Defines a set of custom matching attributes at the project level.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectAttributesDeleteRequest": { - "type": "object", - "properties": { - "project": { - "type": "string", - "title": "Unique project id which this set of attributes references.\n+required" - }, - "resource_type": { - "$ref": "#/definitions/adminMatchableResource", - "title": "Which type of matchable attributes to delete.\n+required" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the project." - } - }, - "title": "Request to delete a set matchable project level attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectAttributesDeleteResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminProjectAttributesGetResponse": { - "type": "object", - "properties": { - "attributes": { - "$ref": "#/definitions/adminProjectAttributes" - } - }, - "title": "Response to get an individual project level attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectAttributesUpdateRequest": { - "type": "object", - "properties": { - "attributes": { - "$ref": "#/definitions/adminProjectAttributes", - "title": "+required" - } - }, - "title": "Sets custom attributes for a project\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectAttributesUpdateResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminProjectDomainAttributes": { - "type": "object", - "properties": { - "project": { - "type": "string", - "description": "Unique project id for which this set of attributes will be applied." - }, - "domain": { - "type": "string", - "description": "Unique domain id for which this set of attributes will be applied." - }, - "matching_attributes": { - "$ref": "#/definitions/adminMatchingAttributes" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the attributes." - } - }, - "title": "Defines a set of custom matching attributes which defines resource defaults for a project and domain.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectDomainAttributesDeleteRequest": { - "type": "object", - "properties": { - "project": { - "type": "string", - "title": "Unique project id which this set of attributes references.\n+required" - }, - "domain": { - "type": "string", - "title": "Unique domain id which this set of attributes references.\n+required" - }, - "resource_type": { - "$ref": "#/definitions/adminMatchableResource", - "title": "Which type of matchable attributes to delete.\n+required" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the attributes." - } - }, - "title": "Request to delete a set matchable project domain attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectDomainAttributesDeleteResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminProjectDomainAttributesGetResponse": { - "type": "object", - "properties": { - "attributes": { - "$ref": "#/definitions/adminProjectDomainAttributes" - } - }, - "title": "Response to get an individual project domain attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectDomainAttributesUpdateRequest": { - "type": "object", - "properties": { - "attributes": { - "$ref": "#/definitions/adminProjectDomainAttributes", - "title": "+required" - } - }, - "title": "Sets custom attributes for a project-domain combination.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminProjectDomainAttributesUpdateResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminProjectRegisterRequest": { - "type": "object", - "properties": { - "project": { - "$ref": "#/definitions/adminProject", - "title": "+required" - } - }, - "title": "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project` for more details" - }, - "adminProjectRegisterResponse": { - "type": "object", - "description": "Purposefully empty, may be updated in the future." - }, - "adminProjectUpdateResponse": { - "type": "object", - "description": "Purposefully empty, may be updated in the future." - }, - "adminProjects": { - "type": "object", - "properties": { - "projects": { - "type": "array", - "items": { - "$ref": "#/definitions/adminProject" - } - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Represents a list of projects.\nSee :ref:`ref_flyteidl.admin.Project` for more details" - }, - "adminRawOutputDataConfig": { - "type": "object", - "properties": { - "output_location_prefix": { - "type": "string", - "title": "Prefix for where offloaded data from user workflows will be written\ne.g. s3://bucket/key or s3://bucket/" - } - }, - "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211 for more background information." - }, - "adminReason": { - "type": "object", - "properties": { - "occurred_at": { - "type": "string", - "format": "date-time", - "description": "occurred_at is the timestamp indicating the instant that this reason happened." - }, - "message": { - "type": "string", - "description": "message is the explanation for the most recent phase transition or status update." - } - }, - "description": "Reason is a single message annotated with a timestamp to indicate the instant the reason occurred." - }, - "adminSchedule": { - "type": "object", - "properties": { - "cron_expression": { - "type": "string", - "title": "Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year\ne.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" - }, - "rate": { - "$ref": "#/definitions/adminFixedRate" - }, - "cron_schedule": { - "$ref": "#/definitions/adminCronSchedule" - }, - "kickoff_time_input_arg": { - "type": "string", - "description": "Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off." - } - }, - "description": "Defines complete set of information required to trigger an execution on a schedule." - }, - "adminSlackNotification": { - "type": "object", - "properties": { - "recipients_email": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Currently, Slack notifications leverage email to trigger a notification.\n+required" - } - }, - "description": "Defines a slack notification specification." - }, - "adminSort": { - "type": "object", - "properties": { - "key": { - "type": "string", - "title": "Indicates an attribute to sort the response values.\n+required" - }, - "direction": { - "$ref": "#/definitions/SortDirection", - "title": "Indicates the direction to apply sort key for response values.\n+optional" - } - }, - "description": "Specifies sort ordering in a list request." - }, - "adminSourceCode": { - "type": "object", - "properties": { - "link": { - "type": "string" - } - }, - "title": "Link to source code used to define this entity" - }, - "adminSystemMetadata": { - "type": "object", - "properties": { - "execution_cluster": { - "type": "string", - "description": "Which execution cluster this execution ran on." - }, - "namespace": { - "type": "string", - "description": "Which kubernetes namespace the execution ran under." - } - }, - "description": "Represents system, rather than user-facing, metadata about an execution." - }, - "adminTask": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "id represents the unique identifier of the task." - }, - "closure": { - "$ref": "#/definitions/adminTaskClosure", - "description": "closure encapsulates all the fields that maps to a compiled version of the task." - }, - "short_description": { - "type": "string", - "description": "One-liner overview of the entity." - } - }, - "description": "Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks\narranged to process workflow inputs and produce a deterministic set of outputs.\nTasks can come in many varieties tuned for specialized behavior." - }, - "adminTaskClosure": { - "type": "object", - "properties": { - "compiled_task": { - "$ref": "#/definitions/coreCompiledTask", - "description": "Represents the compiled representation of the task from the specification provided." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the task was created." - } - }, - "description": "Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data\nand task metadata." - }, - "adminTaskExecutionClosure": { - "type": "object", - "properties": { - "output_uri": { - "type": "string", - "description": "Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).\nDEPRECATED. Use GetTaskExecutionData to fetch output data instead." - }, - "error": { - "$ref": "#/definitions/coreExecutionError", - "description": "Error information for the task execution. Populated if the execution failed." - }, - "output_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw output data produced by this task execution.\nDEPRECATED. Use GetTaskExecutionData to fetch output data instead." - }, - "phase": { - "$ref": "#/definitions/coreTaskExecutionPhase", - "description": "The last recorded phase for this task execution." - }, - "logs": { - "type": "array", - "items": { - "$ref": "#/definitions/coreTaskLog" - }, - "description": "Detailed log information output by the task execution." - }, - "started_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the task execution began running." - }, - "duration": { - "type": "string", - "description": "The amount of time the task execution spent running." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the task execution was created." - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the task execution was last updated." - }, - "custom_info": { - "$ref": "#/definitions/protobufStruct", - "description": "Custom data specific to the task plugin." - }, - "reason": { - "type": "string", - "description": "If there is an explanation for the most recent phase transition, the reason will capture it." - }, - "task_type": { - "type": "string", - "description": "A predefined yet extensible Task type identifier." - }, - "metadata": { - "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", - "description": "Metadata around how a task was executed." - }, - "event_version": { - "type": "integer", - "format": "int32", - "description": "The event version is used to indicate versioned changes in how data is maintained using this\nproto message. For example, event_verison \u003e 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." - }, - "reasons": { - "type": "array", - "items": { - "$ref": "#/definitions/adminReason" - }, - "description": "A time-series of the phase transition or update explanations. This, when compared to storing a singular reason\nas previously done, is much more valuable in visualizing and understanding historical evaluations." - } - }, - "description": "Container for task execution details and results." - }, - "adminTaskExecutionEventRequest": { - "type": "object", - "properties": { - "request_id": { - "type": "string", - "title": "Unique ID for this request that can be traced between services" - }, - "event": { - "$ref": "#/definitions/eventTaskExecutionEvent", - "description": "Details about the event that occurred." - } - }, - "description": "Request to send a notification that a task execution event has occurred." - }, - "adminTaskExecutionEventResponse": { - "type": "object" - }, - "adminTaskExecutionGetDataResponse": { - "type": "object", - "properties": { - "inputs": { - "$ref": "#/definitions/adminUrlBlob", - "description": "Signed url to fetch a core.LiteralMap of task execution inputs.\nDeprecated: Please use full_inputs instead." - }, - "outputs": { - "$ref": "#/definitions/adminUrlBlob", - "description": "Signed url to fetch a core.LiteralMap of task execution outputs.\nDeprecated: Please use full_outputs instead." - }, - "full_inputs": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Full_inputs will only be populated if they are under a configured size threshold." - }, - "full_outputs": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Full_outputs will only be populated if they are under a configured size threshold." - }, - "flyte_urls": { - "$ref": "#/definitions/adminFlyteURLs", - "title": "flyte tiny url to fetch a core.LiteralMap of task execution's IO\nDeck will be empty for task" - } - }, - "description": "Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution." - }, - "adminTaskExecutionList": { - "type": "object", - "properties": { - "task_executions": { - "type": "array", - "items": { - "$ref": "#/definitions/flyteidladminTaskExecution" - } - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Response structure for a query to list of task execution entities.\nSee :ref:`ref_flyteidl.admin.TaskExecution` for more details" - }, - "adminTaskList": { - "type": "object", - "properties": { - "tasks": { - "type": "array", - "items": { - "$ref": "#/definitions/adminTask" - }, - "description": "A list of tasks returned based on the request." - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Represents a list of tasks returned from the admin.\nSee :ref:`ref_flyteidl.admin.Task` for more details" - }, - "adminTaskResourceAttributes": { - "type": "object", - "properties": { - "defaults": { - "$ref": "#/definitions/adminTaskResourceSpec" - }, - "limits": { - "$ref": "#/definitions/adminTaskResourceSpec" - } - }, - "description": "Defines task resource defaults and limits that will be applied at task registration." - }, - "adminTaskResourceSpec": { - "type": "object", - "properties": { - "cpu": { - "type": "string" - }, - "gpu": { - "type": "string" - }, - "memory": { - "type": "string" - }, - "storage": { - "type": "string" - }, - "ephemeral_storage": { - "type": "string" - } - }, - "description": "Defines a set of overridable task resource attributes set during task registration." - }, - "adminTaskSpec": { - "type": "object", - "properties": { - "template": { - "$ref": "#/definitions/coreTaskTemplate", - "description": "Template of the task that encapsulates all the metadata of the task." - }, - "description": { - "$ref": "#/definitions/adminDescriptionEntity", - "description": "Represents the specification for description entity." - } - }, - "description": "Represents a structure that encapsulates the user-configured specification of the task." - }, - "adminUrlBlob": { - "type": "object", - "properties": { - "url": { - "type": "string", - "description": "Actual url value." - }, - "bytes": { - "type": "string", - "format": "int64", - "description": "Represents the size of the file accessible at the above url." - } - }, - "description": "Represents a string url and associated metadata used throughout the platform." - }, - "adminVersion": { - "type": "object", - "properties": { - "Build": { - "type": "string", - "title": "Specifies the GIT sha of the build" - }, - "Version": { - "type": "string", - "title": "Version for the build, should follow a semver" - }, - "BuildTime": { - "type": "string", - "title": "Build timestamp" - } - }, - "title": "Provides Version information for a component" - }, - "adminWorkflow": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "id represents the unique identifier of the workflow." - }, - "closure": { - "$ref": "#/definitions/adminWorkflowClosure", - "description": "closure encapsulates all the fields that maps to a compiled version of the workflow." - }, - "short_description": { - "type": "string", - "description": "One-liner overview of the entity." - } - }, - "description": "Represents the workflow structure stored in the Admin\nA workflow is created by ordering tasks and associating outputs to inputs\nin order to produce a directed-acyclic execution graph." - }, - "adminWorkflowAttributes": { - "type": "object", - "properties": { - "project": { - "type": "string", - "description": "Unique project id for which this set of attributes will be applied." - }, - "domain": { - "type": "string", - "description": "Unique domain id for which this set of attributes will be applied." - }, - "workflow": { - "type": "string", - "description": "Workflow name for which this set of attributes will be applied." - }, - "matching_attributes": { - "$ref": "#/definitions/adminMatchingAttributes" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the attributes." - } - }, - "title": "Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminWorkflowAttributesDeleteRequest": { - "type": "object", - "properties": { - "project": { - "type": "string", - "title": "Unique project id which this set of attributes references.\n+required" - }, - "domain": { - "type": "string", - "title": "Unique domain id which this set of attributes references.\n+required" - }, - "workflow": { - "type": "string", - "title": "Workflow name which this set of attributes references.\n+required" - }, - "resource_type": { - "$ref": "#/definitions/adminMatchableResource", - "title": "Which type of matchable attributes to delete.\n+required" - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the attributes." - } - }, - "title": "Request to delete a set matchable workflow attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminWorkflowAttributesDeleteResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminWorkflowAttributesGetResponse": { - "type": "object", - "properties": { - "attributes": { - "$ref": "#/definitions/adminWorkflowAttributes" - } - }, - "description": "Response to get an individual workflow attribute override." - }, - "adminWorkflowAttributesUpdateRequest": { - "type": "object", - "properties": { - "attributes": { - "$ref": "#/definitions/adminWorkflowAttributes" - } - }, - "title": "Sets custom attributes for a project, domain and workflow combination.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - }, - "adminWorkflowAttributesUpdateResponse": { - "type": "object", - "description": "Purposefully empty, may be populated in the future." - }, - "adminWorkflowClosure": { - "type": "object", - "properties": { - "compiled_workflow": { - "$ref": "#/definitions/coreCompiledWorkflowClosure", - "description": "Represents the compiled representation of the workflow from the specification provided." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "Time at which the workflow was created." - } - }, - "description": "A container holding the compiled workflow produced from the WorkflowSpec and additional metadata." - }, - "adminWorkflowCreateRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "title": "id represents the unique identifier of the workflow.\n+required" - }, - "spec": { - "$ref": "#/definitions/adminWorkflowSpec", - "title": "Represents the specification for workflow.\n+required" - } - }, - "title": "Represents a request structure to create a revision of a workflow.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" - }, - "adminWorkflowCreateResponse": { - "type": "object" - }, - "adminWorkflowExecutionConfig": { - "type": "object", - "properties": { - "max_parallelism": { - "type": "integer", - "format": "int32", - "description": "Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness." - }, - "security_context": { - "$ref": "#/definitions/coreSecurityContext", - "description": "Indicates security context permissions for executions triggered with this matchable attribute." - }, - "raw_output_data_config": { - "$ref": "#/definitions/adminRawOutputDataConfig", - "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." - }, - "labels": { - "$ref": "#/definitions/adminLabels", - "description": "Custom labels to be applied to a triggered execution resource." - }, - "annotations": { - "$ref": "#/definitions/adminAnnotations", - "description": "Custom annotations to be applied to a triggered execution resource." - }, - "interruptible": { - "type": "boolean", - "format": "boolean", - "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." - }, - "overwrite_cache": { - "type": "boolean", - "format": "boolean", - "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." - }, - "envs": { - "$ref": "#/definitions/adminEnvs", - "description": "Environment variables to be set for the execution." - } - }, - "description": "Adds defaults for customizable workflow-execution specifications and overrides." - }, - "adminWorkflowExecutionEventRequest": { - "type": "object", - "properties": { - "request_id": { - "type": "string", - "title": "Unique ID for this request that can be traced between services" - }, - "event": { - "$ref": "#/definitions/eventWorkflowExecutionEvent", - "description": "Details about the event that occurred." - } - }, - "description": "Request to send a notification that a workflow execution event has occurred." - }, - "adminWorkflowExecutionEventResponse": { - "type": "object" - }, - "adminWorkflowExecutionGetDataResponse": { - "type": "object", - "properties": { - "outputs": { - "$ref": "#/definitions/adminUrlBlob", - "description": "Signed url to fetch a core.LiteralMap of execution outputs.\nDeprecated: Please use full_outputs instead." - }, - "inputs": { - "$ref": "#/definitions/adminUrlBlob", - "description": "Signed url to fetch a core.LiteralMap of execution inputs.\nDeprecated: Please use full_inputs instead." - }, - "full_inputs": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Full_inputs will only be populated if they are under a configured size threshold." - }, - "full_outputs": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Full_outputs will only be populated if they are under a configured size threshold." - } - }, - "description": "Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution." - }, - "adminWorkflowExecutionGetMetricsResponse": { - "type": "object", - "properties": { - "span": { - "$ref": "#/definitions/coreSpan", - "description": "Span defines the top-level breakdown of the workflows execution. More precise information is nested in a\nhierarchical structure using Flyte entity references." - } - }, - "description": "WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution." - }, - "adminWorkflowList": { - "type": "object", - "properties": { - "workflows": { - "type": "array", - "items": { - "$ref": "#/definitions/adminWorkflow" - }, - "description": "A list of workflows returned based on the request." - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "Represents a list of workflows returned from the admin.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" - }, - "adminWorkflowSpec": { - "type": "object", - "properties": { - "template": { - "$ref": "#/definitions/coreWorkflowTemplate", - "description": "Template of the task that encapsulates all the metadata of the workflow." - }, - "sub_workflows": { - "type": "array", - "items": { - "$ref": "#/definitions/coreWorkflowTemplate" - }, - "description": "Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the\npropeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out\nto Admin to see other registered workflows). In fact, subworkflows do not even need to be registered." - }, - "description": { - "$ref": "#/definitions/adminDescriptionEntity", - "description": "Represents the specification for description entity." - } - }, - "description": "Represents a structure that encapsulates the specification of the workflow." - }, - "coreAlias": { - "type": "object", - "properties": { - "var": { - "type": "string", - "description": "Must match one of the output variable names on a node." - }, - "alias": { - "type": "string", - "description": "A workflow-level unique alias that downstream nodes can refer to in their input." - } - }, - "description": "Links a variable to an alias." - }, - "coreApproveCondition": { - "type": "object", - "properties": { - "signal_id": { - "type": "string", - "description": "A unique identifier for the requested boolean signal." - } - }, - "description": "ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean\nsignal with the provided signal_id." - }, - "coreArrayNode": { - "type": "object", - "properties": { - "node": { - "$ref": "#/definitions/coreNode", - "description": "node is the sub-node that will be executed for each element in the array." - }, - "parallelism": { - "type": "integer", - "format": "int64", - "description": "parallelism defines the minimum number of instances to bring up concurrently at any given\npoint. Note that this is an optimistic restriction and that, due to network partitioning or\nother failures, the actual number of currently running instances might be more. This has to\nbe a positive number if assigned. Default value is size." - }, - "min_successes": { - "type": "integer", - "format": "int64", - "description": "min_successes is an absolute number of the minimum number of successful completions of\nsub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful\nand outputs will be computed. This has to be a non-negative number if assigned. Default\nvalue is size (if specified)." - }, - "min_success_ratio": { - "type": "number", - "format": "float", - "description": "If the array job size is not known beforehand, the min_success_ratio can instead be used\nto determine when an ArrayNode can be marked successful." - } - }, - "description": "ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input\nvalues. An ArrayNode can be executed with configurable parallelism (separate from the parent\nworkflow) and can be configured to succeed when a certain number of sub-nodes succeed." - }, - "coreArtifactBindingData": { - "type": "object", - "properties": { - "index": { - "type": "integer", - "format": "int64" - }, - "partition_key": { - "type": "string" - }, - "bind_to_time_partition": { - "type": "boolean", - "format": "boolean" - }, - "transform": { - "type": "string", - "title": "This is only relevant in the time partition case" - } - }, - "title": "Only valid for triggers" - }, - "coreArtifactID": { - "type": "object", - "properties": { - "artifact_key": { - "$ref": "#/definitions/coreArtifactKey" - }, - "version": { - "type": "string" - }, - "partitions": { - "$ref": "#/definitions/corePartitions", - "description": "Think of a partition as a tag on an Artifact, except it's a key-value pair.\nDifferent partitions naturally have different versions (execution ids)." - }, - "time_partition": { - "$ref": "#/definitions/coreTimePartition", - "description": "There is no such thing as an empty time partition - if it's not set, then there is no time partition." - } - } - }, - "coreArtifactKey": { - "type": "object", - "properties": { - "project": { - "type": "string", - "description": "Project and domain and suffix needs to be unique across a given artifact store." - }, - "domain": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "coreArtifactQuery": { - "type": "object", - "properties": { - "artifact_id": { - "$ref": "#/definitions/coreArtifactID" - }, - "artifact_tag": { - "$ref": "#/definitions/coreArtifactTag" - }, - "uri": { - "type": "string" - }, - "binding": { - "$ref": "#/definitions/coreArtifactBindingData", - "description": "This is used in the trigger case, where a user specifies a value for an input that is one of the triggering\nartifacts, or a partition value derived from a triggering artifact." - } - }, - "title": "Uniqueness constraints for Artifacts\n - project, domain, name, version, partitions\nOption 2 (tags are standalone, point to an individual artifact id):\n - project, domain, name, alias (points to one partition if partitioned)\n - project, domain, name, partition key, partition value" - }, - "coreArtifactTag": { - "type": "object", - "properties": { - "artifact_key": { - "$ref": "#/definitions/coreArtifactKey" - }, - "value": { - "$ref": "#/definitions/coreLabelValue" - } - } - }, - "coreBinary": { - "type": "object", - "properties": { - "value": { - "type": "string", - "format": "byte" - }, - "tag": { - "type": "string" - } - }, - "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." - }, - "coreBinding": { - "type": "object", - "properties": { - "var": { - "type": "string", - "description": "Variable name must match an input/output variable of the node." - }, - "binding": { - "$ref": "#/definitions/coreBindingData", - "description": "Data to use to bind this variable." - } - }, - "description": "An input/output binding of a variable to either static value or a node output." - }, - "coreBindingData": { - "type": "object", - "properties": { - "scalar": { - "$ref": "#/definitions/coreScalar", - "description": "A simple scalar value." - }, - "collection": { - "$ref": "#/definitions/coreBindingDataCollection", - "description": "A collection of binding data. This allows nesting of binding data to any number\nof levels." - }, - "promise": { - "$ref": "#/definitions/coreOutputReference", - "description": "References an output promised by another node." - }, - "map": { - "$ref": "#/definitions/coreBindingDataMap", - "description": "A map of bindings. The key is always a string." - }, - "union": { - "$ref": "#/definitions/coreUnionInfo" - } - }, - "description": "Specifies either a simple value or a reference to another output." - }, - "coreBindingDataCollection": { - "type": "object", - "properties": { - "bindings": { - "type": "array", - "items": { - "$ref": "#/definitions/coreBindingData" - } - } - }, - "description": "A collection of BindingData items." - }, - "coreBindingDataMap": { - "type": "object", - "properties": { - "bindings": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreBindingData" - } - } - }, - "description": "A map of BindingData items." - }, - "coreBlob": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/coreBlobMetadata" - }, - "uri": { - "type": "string" - } - }, - "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." - }, - "coreBlobMetadata": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/coreBlobType" - } - } - }, - "coreBlobType": { - "type": "object", - "properties": { - "format": { - "type": "string", - "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" - }, - "dimensionality": { - "$ref": "#/definitions/BlobTypeBlobDimensionality" - } - }, - "title": "Defines type behavior for blob objects" - }, - "coreBooleanExpression": { - "type": "object", - "properties": { - "conjunction": { - "$ref": "#/definitions/coreConjunctionExpression" - }, - "comparison": { - "$ref": "#/definitions/coreComparisonExpression" - } - }, - "description": "Defines a boolean expression tree. It can be a simple or a conjunction expression.\nMultiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result." - }, - "coreBranchNode": { - "type": "object", - "properties": { - "if_else": { - "$ref": "#/definitions/coreIfElseBlock", - "title": "+required" - } - }, - "description": "BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at\nruntime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives)." - }, - "coreCatalogArtifactTag": { - "type": "object", - "properties": { - "artifact_id": { - "type": "string", - "title": "Artifact ID is generated name" - }, - "name": { - "type": "string", - "title": "Flyte computes the tag automatically, as the hash of the values" - } - } - }, - "coreCatalogCacheStatus": { - "type": "string", - "enum": [ - "CACHE_DISABLED", - "CACHE_MISS", - "CACHE_HIT", - "CACHE_POPULATED", - "CACHE_LOOKUP_FAILURE", - "CACHE_PUT_FAILURE", - "CACHE_SKIPPED", - "CACHE_EVICTED" - ], - "default": "CACHE_DISABLED", - "description": "- CACHE_DISABLED: Used to indicate that caching was disabled\n - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches\n - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution\n - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache\n - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error\n - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error\n - CACHE_SKIPPED: Used to indicate the cache lookup was skipped\n - CACHE_EVICTED: Used to indicate that the cache was evicted", - "title": "Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future" - }, - "coreCatalogMetadata": { - "type": "object", - "properties": { - "dataset_id": { - "$ref": "#/definitions/coreIdentifier", - "title": "Dataset ID in the catalog" - }, - "artifact_tag": { - "$ref": "#/definitions/coreCatalogArtifactTag", - "title": "Artifact tag in the catalog" - }, - "source_task_execution": { - "$ref": "#/definitions/coreTaskExecutionIdentifier", - "title": "Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions" - } - }, - "title": "Catalog artifact information with specific metadata" - }, - "coreComparisonExpression": { - "type": "object", - "properties": { - "operator": { - "$ref": "#/definitions/ComparisonExpressionOperator" - }, - "left_value": { - "$ref": "#/definitions/coreOperand" - }, - "right_value": { - "$ref": "#/definitions/coreOperand" - } - }, - "description": "Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.\nEach expression results in a boolean result." - }, - "coreCompiledTask": { - "type": "object", - "properties": { - "template": { - "$ref": "#/definitions/coreTaskTemplate", - "title": "Completely contained TaskTemplate" - } - }, - "title": "Output of the Compilation step. This object represent one Task. We store more metadata at this layer" - }, - "coreCompiledWorkflow": { - "type": "object", - "properties": { - "template": { - "$ref": "#/definitions/coreWorkflowTemplate", - "title": "Completely contained Workflow Template" - }, - "connections": { - "$ref": "#/definitions/coreConnectionSet", - "description": "For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored." - } - }, - "title": "Output of the compilation Step. This object represents one workflow. We store more metadata at this layer" - }, - "coreCompiledWorkflowClosure": { - "type": "object", - "properties": { - "primary": { - "$ref": "#/definitions/coreCompiledWorkflow", - "title": "+required" - }, - "sub_workflows": { - "type": "array", - "items": { - "$ref": "#/definitions/coreCompiledWorkflow" - }, - "title": "Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a\nunique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow\nas an inlined workflow\n+optional" - }, - "tasks": { - "type": "array", - "items": { - "$ref": "#/definitions/coreCompiledTask" - }, - "title": "Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id\n+required (at least 1)" - } - }, - "description": "A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow\nand its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that\nwill being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of\ncompiled subworkflows." - }, - "coreConjunctionExpression": { - "type": "object", - "properties": { - "operator": { - "$ref": "#/definitions/ConjunctionExpressionLogicalOperator" - }, - "left_expression": { - "$ref": "#/definitions/coreBooleanExpression" - }, - "right_expression": { - "$ref": "#/definitions/coreBooleanExpression" - } - }, - "description": "Defines a conjunction expression of two boolean expressions." - }, - "coreConnectionSet": { - "type": "object", - "properties": { - "downstream": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ConnectionSetIdList" - }, - "title": "A list of all the node ids that are downstream from a given node id" - }, - "upstream": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ConnectionSetIdList" - }, - "title": "A list of all the node ids, that are upstream of this node id" - } - }, - "title": "Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation\nstep uses this created ConnectionSet" - }, - "coreContainer": { - "type": "object", - "properties": { - "image": { - "type": "string", - "title": "Container image url. Eg: docker/redis:latest" - }, - "command": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Command to be executed, if not provided, the default entrypoint in the container image will be used." - }, - "args": { - "type": "array", - "items": { - "type": "string" - }, - "description": "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still\nneeds flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the\nsystem will populate these before executing the container." - }, - "resources": { - "$ref": "#/definitions/coreResources", - "description": "Container resources requirement as specified by the container engine." - }, - "env": { - "type": "array", - "items": { - "$ref": "#/definitions/coreKeyValuePair" - }, - "description": "Environment variables will be set as the container is starting up." - }, - "config": { - "type": "array", - "items": { - "$ref": "#/definitions/coreKeyValuePair" - }, - "description": "Allows extra configs to be available for the container.\nTODO: elaborate on how configs will become available.\nDeprecated, please use TaskTemplate.config instead." - }, - "ports": { - "type": "array", - "items": { - "$ref": "#/definitions/coreContainerPort" - }, - "title": "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\nOnly K8s" - }, - "data_config": { - "$ref": "#/definitions/coreDataLoadingConfig", - "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" - }, - "architecture": { - "$ref": "#/definitions/ContainerArchitecture" - } - } - }, - "coreContainerPort": { - "type": "object", - "properties": { - "container_port": { - "type": "integer", - "format": "int64", - "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536." - } - }, - "description": "Defines port properties for a container." - }, - "coreDataLoadingConfig": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "format": "boolean", - "title": "Flag enables DataLoading Config. If this is not set, data loading will not be used!" - }, - "input_path": { - "type": "string", - "title": "File system path (start at root). This folder will contain all the inputs exploded to a separate file.\nExample, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like\n/var/flyte/inputs/inputs.\u003cmetadata format dependent -\u003e .pb .json .yaml\u003e -\u003e Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations\n/var/flyte/inputs/x -\u003e X is a file that contains the value of x (integer) in string format\n/var/flyte/inputs/y -\u003e Y is a file in Binary format\n/var/flyte/inputs/z/... -\u003e Note Z itself is a directory\nMore information about the protocol - refer to docs #TODO reference docs here" - }, - "output_path": { - "type": "string", - "title": "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" - }, - "format": { - "$ref": "#/definitions/DataLoadingConfigLiteralMapFormat", - "title": "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.\nThis format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" - }, - "io_strategy": { - "$ref": "#/definitions/coreIOStrategy" - } - }, - "description": "This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path\nAny outputs generated by the user container - within output_path are automatically uploaded." - }, - "coreEnumType": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Predefined set of enum values." - } - }, - "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." - }, - "coreError": { - "type": "object", - "properties": { - "failed_node_id": { - "type": "string", - "description": "The node id that threw the error." - }, - "message": { - "type": "string", - "description": "Error message thrown." - } - }, - "description": "Represents an error thrown from a node." - }, - "coreExecutionError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "title": "Error code indicates a grouping of a type of error.\nMore Info: \u003cLink\u003e" - }, - "message": { - "type": "string", - "description": "Detailed description of the error - including stack trace." - }, - "error_uri": { - "type": "string", - "title": "Full error contents accessible via a URI" - }, - "kind": { - "$ref": "#/definitions/ExecutionErrorErrorKind" - } - }, - "description": "Represents the error message from the execution." - }, - "coreExtendedResources": { - "type": "object", - "properties": { - "gpu_accelerator": { - "$ref": "#/definitions/coreGPUAccelerator", - "description": "GPU accelerator to select for task. Contains information about device type, and\nfor multi-instance GPUs, the partition size to use." - } - }, - "description": "Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to\nallocate to a task." - }, - "coreGPUAccelerator": { - "type": "object", - "properties": { - "device": { - "type": "string", - "description": "This can be any arbitrary string, and should be informed by the labels or taints\nassociated with the nodes in question. Default cloud provider labels typically\nuse the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc." - }, - "unpartitioned": { - "type": "boolean", - "format": "boolean" - }, - "partition_size": { - "type": "string", - "description": "Like `device`, this can be any arbitrary string, and should be informed by\nthe labels or taints associated with the nodes in question. Default cloud\nprovider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc." - } - }, - "description": "Metadata associated with the GPU accelerator to allocate to a task. Contains\ninformation about device type, and for multi-instance GPUs, the partition size to\nuse." - }, - "coreGateNode": { - "type": "object", - "properties": { - "approve": { - "$ref": "#/definitions/coreApproveCondition", - "description": "ApproveCondition represents a dependency on an external approval provided by a boolean signal." - }, - "signal": { - "$ref": "#/definitions/coreSignalCondition", - "description": "SignalCondition represents a dependency on an signal." - }, - "sleep": { - "$ref": "#/definitions/coreSleepCondition", - "description": "SleepCondition represents a dependency on waiting for the specified duration." - } - }, - "description": "GateNode refers to the condition that is required for the gate to successfully complete." - }, - "coreIOStrategy": { - "type": "object", - "properties": { - "download_mode": { - "$ref": "#/definitions/IOStrategyDownloadMode", - "title": "Mode to use to manage downloads" - }, - "upload_mode": { - "$ref": "#/definitions/IOStrategyUploadMode", - "title": "Mode to use to manage uploads" - } - }, - "title": "Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)" - }, - "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." - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "description": "Encapsulation of fields that uniquely identifies a Flyte resource." - }, - "coreIdentity": { - "type": "object", - "properties": { - "iam_role": { - "type": "string", - "description": "iam_role references the fully qualified name of Identity \u0026 Access Management role to impersonate." - }, - "k8s_service_account": { - "type": "string", - "description": "k8s_service_account references a kubernetes service account to impersonate." - }, - "oauth2_client": { - "$ref": "#/definitions/coreOAuth2Client", - "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." - }, - "execution_identity": { - "type": "string", - "title": "execution_identity references the subject who makes the execution" - } - }, - "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." - }, - "coreIfBlock": { - "type": "object", - "properties": { - "condition": { - "$ref": "#/definitions/coreBooleanExpression" - }, - "then_node": { - "$ref": "#/definitions/coreNode" - } - }, - "description": "Defines a condition and the execution unit that should be executed if the condition is satisfied." - }, - "coreIfElseBlock": { - "type": "object", - "properties": { - "case": { - "$ref": "#/definitions/coreIfBlock", - "description": "+required. First condition to evaluate." - }, - "other": { - "type": "array", - "items": { - "$ref": "#/definitions/coreIfBlock" - }, - "description": "+optional. Additional branches to evaluate." - }, - "else_node": { - "$ref": "#/definitions/coreNode", - "description": "The node to execute in case none of the branches were taken." - }, - "error": { - "$ref": "#/definitions/coreError", - "description": "An error to throw in case none of the branches were taken." - } - }, - "description": "Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute.\nIf no conditions were satisfied, the else_node or the error will execute." - }, - "coreInputBindingData": { - "type": "object", - "properties": { - "var": { - "type": "string" - } - } - }, - "coreK8sObjectMetadata": { - "type": "object", - "properties": { - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Optional labels to add to the pod definition." - }, - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Optional annotations to add to the pod definition." - } - }, - "description": "Metadata for building a kubernetes object when a task is executed." - }, - "coreK8sPod": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/coreK8sObjectMetadata", - "description": "Contains additional metadata for building a kubernetes pod." - }, - "pod_spec": { - "$ref": "#/definitions/protobufStruct", - "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" - }, - "data_config": { - "$ref": "#/definitions/coreDataLoadingConfig", - "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" - } - }, - "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." - }, - "coreKeyValuePair": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "required." - }, - "value": { - "type": "string", - "description": "+optional." - } - }, - "description": "A generic key value pair." - }, - "coreLabelValue": { - "type": "object", - "properties": { - "static_value": { - "type": "string", - "title": "The string static value is for use in the Partitions object" - }, - "time_value": { - "type": "string", - "format": "date-time", - "title": "The time value is for use in the TimePartition case" - }, - "triggered_binding": { - "$ref": "#/definitions/coreArtifactBindingData" - }, - "input_binding": { - "$ref": "#/definitions/coreInputBindingData" - } - } - }, - "coreLiteral": { - "type": "object", - "properties": { - "scalar": { - "$ref": "#/definitions/coreScalar", - "description": "A simple value." - }, - "collection": { - "$ref": "#/definitions/coreLiteralCollection", - "description": "A collection of literals to allow nesting." - }, - "map": { - "$ref": "#/definitions/coreLiteralMap", - "description": "A map of strings to literals." - }, - "hash": { - "type": "string", - "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional metadata for literals." - } - }, - "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." - }, - "coreLiteralCollection": { - "type": "object", - "properties": { - "literals": { - "type": "array", - "items": { - "$ref": "#/definitions/coreLiteral" - } - } - }, - "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." - }, - "coreLiteralMap": { - "type": "object", - "properties": { - "literals": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLiteral" - } - } - }, - "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." - }, - "coreLiteralType": { - "type": "object", - "properties": { - "simple": { - "$ref": "#/definitions/coreSimpleType", - "description": "A simple type that can be compared one-to-one with another." - }, - "schema": { - "$ref": "#/definitions/coreSchemaType", - "description": "A complex type that requires matching of inner fields." - }, - "collection_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." - }, - "map_value_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Defines the type of the value of a map type. The type of the key is always a string." - }, - "blob": { - "$ref": "#/definitions/coreBlobType", - "description": "A blob might have specialized implementation details depending on associated metadata." - }, - "enum_type": { - "$ref": "#/definitions/coreEnumType", - "description": "Defines an enum with pre-defined string values." - }, - "structured_dataset_type": { - "$ref": "#/definitions/coreStructuredDatasetType", - "title": "Generalized schema support" - }, - "union_type": { - "$ref": "#/definitions/coreUnionType", - "description": "Defines an union type with pre-defined LiteralTypes." - }, - "metadata": { - "$ref": "#/definitions/protobufStruct", - "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." - }, - "annotation": { - "$ref": "#/definitions/coreTypeAnnotation", - "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." - }, - "structure": { - "$ref": "#/definitions/coreTypeStructure", - "description": "Hints to improve type matching." - } - }, - "description": "Defines a strong type to allow type checking between interfaces." - }, - "coreNode": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved\nnode ids that cannot be used by other nodes." - }, - "metadata": { - "$ref": "#/definitions/coreNodeMetadata", - "description": "Extra metadata about the node." - }, - "inputs": { - "type": "array", - "items": { - "$ref": "#/definitions/coreBinding" - }, - "description": "Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface\nmust be fulfilled." - }, - "upstream_node_ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its\nupstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs\nfield." - }, - "output_aliases": { - "type": "array", - "items": { - "$ref": "#/definitions/coreAlias" - }, - "description": "+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes\nneed to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this\nnodes outputs using the alias if one's specified." - }, - "task_node": { - "$ref": "#/definitions/coreTaskNode", - "description": "Information about the Task to execute in this node." - }, - "workflow_node": { - "$ref": "#/definitions/coreWorkflowNode", - "description": "Information about the Workflow to execute in this mode." - }, - "branch_node": { - "$ref": "#/definitions/coreBranchNode", - "description": "Information about the branch node to evaluate in this node." - }, - "gate_node": { - "$ref": "#/definitions/coreGateNode", - "description": "Information about the condition to evaluate in this node." - }, - "array_node": { - "$ref": "#/definitions/coreArrayNode", - "description": "Information about the sub-node executions for each value in the list of this nodes\ninputs values." - } - }, - "description": "A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch\nnode." - }, - "coreNodeExecutionIdentifier": { - "type": "object", - "properties": { - "node_id": { - "type": "string" - }, - "execution_id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier" - } - }, - "description": "Encapsulation of fields that identify a Flyte node execution entity." - }, - "coreNodeExecutionPhase": { - "type": "string", - "enum": [ - "UNDEFINED", - "QUEUED", - "RUNNING", - "SUCCEEDED", - "FAILING", - "FAILED", - "ABORTED", - "SKIPPED", - "TIMED_OUT", - "DYNAMIC_RUNNING", - "RECOVERED" - ], - "default": "UNDEFINED" - }, - "coreNodeMetadata": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "A friendly name for the Node" - }, - "timeout": { - "type": "string", - "description": "The overall timeout of a task." - }, - "retries": { - "$ref": "#/definitions/coreRetryStrategy", - "description": "Number of retries per task." - }, - "interruptible": { - "type": "boolean", - "format": "boolean" - } - }, - "description": "Defines extra information about the Node." - }, - "coreOAuth2Client": { - "type": "object", - "properties": { - "client_id": { - "type": "string", - "title": "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the\nsecret requested matches the client_id indicated here.\n+required" - }, - "client_secret": { - "$ref": "#/definitions/coreSecret", - "title": "client_secret is a reference to the secret used to authenticate the OAuth2 client.\n+required" - } - }, - "description": "OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task." - }, - "coreOAuth2TokenRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for\nenvironment variables and as a filename for mounting tokens as files.\n+required" - }, - "type": { - "$ref": "#/definitions/coreOAuth2TokenRequestType", - "title": "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n+required" - }, - "client": { - "$ref": "#/definitions/coreOAuth2Client", - "title": "client references the client_id/secret to use to request the OAuth2 token.\n+required" - }, - "idp_discovery_endpoint": { - "type": "string", - "title": "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related\ninformation.\n+optional" - }, - "token_endpoint": { - "type": "string", - "title": "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is\nmandatory.\n+optional" - } - }, - "description": "OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\ntokens are passed through environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens\nare passed through file mounts." - }, - "coreOAuth2TokenRequestType": { - "type": "string", - "enum": [ - "CLIENT_CREDENTIALS" - ], - "default": "CLIENT_CREDENTIALS", - "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." - }, - "coreOperand": { - "type": "object", - "properties": { - "primitive": { - "$ref": "#/definitions/corePrimitive", - "title": "Can be a constant" - }, - "var": { - "type": "string", - "title": "Or one of this node's input variables" - }, - "scalar": { - "$ref": "#/definitions/coreScalar", - "title": "Replace the primitive field" - } - }, - "description": "Defines an operand to a comparison expression." - }, - "coreOutputReference": { - "type": "object", - "properties": { - "node_id": { - "type": "string", - "description": "Node id must exist at the graph layer." - }, - "var": { - "type": "string", - "description": "Variable name must refer to an output variable for the node." - }, - "attr_path": { - "type": "array", - "items": { - "$ref": "#/definitions/corePromiseAttribute" - } - } - }, - "description": "A reference to an output produced by a node. The type can be retrieved -and validated- from\nthe underlying interface of the node." - }, - "coreParameter": { - "type": "object", - "properties": { - "var": { - "$ref": "#/definitions/coreVariable", - "description": "+required Variable. Defines the type of the variable backing this parameter." - }, - "default": { - "$ref": "#/definitions/coreLiteral", - "description": "Defines a default value that has to match the variable type defined." - }, - "required": { - "type": "boolean", - "format": "boolean", - "description": "+optional, is this value required to be filled." - }, - "artifact_query": { - "$ref": "#/definitions/coreArtifactQuery", - "description": "This is an execution time search basically that should result in exactly one Artifact with a Type that\nmatches the type of the variable." - }, - "artifact_id": { - "$ref": "#/definitions/coreArtifactID" - } - }, - "description": "A parameter is used as input to a launch plan and has\nthe special ability to have a default value or mark itself as required." - }, - "coreParameterMap": { - "type": "object", - "properties": { - "parameters": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreParameter" - }, - "description": "Defines a map of parameter names to parameters." - } - }, - "description": "A map of Parameters." - }, - "corePartitions": { - "type": "object", - "properties": { - "value": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLabelValue" - } - } - } - }, - "corePrimitive": { - "type": "object", - "properties": { - "integer": { - "type": "string", - "format": "int64" - }, - "float_value": { - "type": "number", - "format": "double" - }, - "string_value": { - "type": "string" - }, - "boolean": { - "type": "boolean", - "format": "boolean" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "string" - } - }, - "title": "Primitive Types" - }, - "corePromiseAttribute": { - "type": "object", - "properties": { - "string_value": { - "type": "string" - }, - "int_value": { - "type": "integer", - "format": "int32" - } - } - }, - "coreQualityOfService": { - "type": "object", - "properties": { - "tier": { - "$ref": "#/definitions/QualityOfServiceTier" - }, - "spec": { - "$ref": "#/definitions/coreQualityOfServiceSpec" - } - }, - "description": "Indicates the priority of an execution." - }, - "coreQualityOfServiceSpec": { - "type": "object", - "properties": { - "queueing_budget": { - "type": "string", - "description": "Indicates how much queueing delay an execution can tolerate." - } - }, - "description": "Represents customized execution run-time attributes." - }, - "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" - }, - "coreResources": { - "type": "object", - "properties": { - "requests": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourcesResourceEntry" - }, - "description": "The desired set of resources requested. ResourceNames must be unique within the list." - }, - "limits": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourcesResourceEntry" - }, - "description": "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique\nwithin the list." - } - }, - "description": "A customizable interface to convey resources requested for a container. This can be interpreted differently for different\ncontainer engines." - }, - "coreRetryStrategy": { - "type": "object", - "properties": { - "retries": { - "type": "integer", - "format": "int64", - "description": "Number of retries. Retries will be consumed when the job fails with a recoverable error.\nThe number of retries must be less than or equals to 10." - } - }, - "description": "Retry strategy associated with an executable unit." - }, - "coreRuntimeMetadata": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/RuntimeMetadataRuntimeType", - "description": "Type of runtime." - }, - "version": { - "type": "string", - "description": "Version of the runtime. All versions should be backward compatible. However, certain cases call for version\nchecks to ensure tighter validation or setting expectations." - }, - "flavor": { - "type": "string", - "description": "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." - } - }, - "description": "Runtime information. This is loosely defined to allow for extensibility." - }, - "coreScalar": { - "type": "object", - "properties": { - "primitive": { - "$ref": "#/definitions/corePrimitive" - }, - "blob": { - "$ref": "#/definitions/coreBlob" - }, - "binary": { - "$ref": "#/definitions/coreBinary" - }, - "schema": { - "$ref": "#/definitions/coreSchema" - }, - "none_type": { - "$ref": "#/definitions/coreVoid" - }, - "error": { - "$ref": "#/definitions/coreError" - }, - "generic": { - "$ref": "#/definitions/protobufStruct" - }, - "structured_dataset": { - "$ref": "#/definitions/coreStructuredDataset" - }, - "union": { - "$ref": "#/definitions/coreUnion" - } - } - }, - "coreSchema": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/coreSchemaType" - } - }, - "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." - }, - "coreSchemaType": { - "type": "object", - "properties": { - "columns": { - "type": "array", - "items": { - "$ref": "#/definitions/SchemaTypeSchemaColumn" - }, - "description": "A list of ordered columns this schema comprises of." - } - }, - "description": "Defines schema columns and types to strongly type-validate schemas interoperability." - }, - "coreSecret": { - "type": "object", - "properties": { - "group": { - "type": "string", - "title": "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of\nthe v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.\nFor AWS Secret Manager, this should be the name of the secret.\n+required" - }, - "group_version": { - "type": "string", - "title": "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones\nthat do not support it.\n+optional" - }, - "key": { - "type": "string", - "title": "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation\nof the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should\nmatch one of the keys inside the secret. For AWS Secret Manager, it's ignored.\n+optional" - }, - "mount_requirement": { - "$ref": "#/definitions/SecretMountType", - "title": "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail\nif the underlying key management system cannot satisfy that requirement. If not provided, the default location\nwill depend on the key management system.\n+optional" - } - }, - "description": "Secret encapsulates information about the secret a task needs to proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\nsecrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets\nare passed through file mounts." - }, - "coreSecurityContext": { - "type": "object", - "properties": { - "run_as": { - "$ref": "#/definitions/coreIdentity", - "description": "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the\nbackend plugin to choose the appropriate identity for the execution engine the task will run on." - }, - "secrets": { - "type": "array", - "items": { - "$ref": "#/definitions/coreSecret" - }, - "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." - }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/definitions/coreOAuth2TokenRequest" - }, - "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." - } - }, - "description": "SecurityContext holds security attributes that apply to tasks." - }, - "coreSignalCondition": { - "type": "object", - "properties": { - "signal_id": { - "type": "string", - "description": "A unique identifier for the requested signal." - }, - "type": { - "$ref": "#/definitions/coreLiteralType", - "description": "A type denoting the required value type for this signal." - }, - "output_variable_name": { - "type": "string", - "description": "The variable name for the signal value in this nodes outputs." - } - }, - "description": "SignalCondition represents a dependency on an signal." - }, - "coreSimpleType": { - "type": "string", - "enum": [ - "NONE", - "INTEGER", - "FLOAT", - "STRING", - "BOOLEAN", - "DATETIME", - "DURATION", - "BINARY", - "ERROR", - "STRUCT" - ], - "default": "NONE", - "description": "Define a set of simple types." - }, - "coreSleepCondition": { - "type": "object", - "properties": { - "duration": { - "type": "string", - "description": "The overall duration for this sleep." - } - }, - "description": "SleepCondition represents a dependency on waiting for the specified duration." - }, - "coreSpan": { - "type": "object", - "properties": { - "start_time": { - "type": "string", - "format": "date-time", - "description": "start_time defines the instance this span began." - }, - "end_time": { - "type": "string", - "format": "date-time", - "description": "end_time defines the instance this span completed." - }, - "workflow_id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "description": "workflow_id is the id of the workflow execution this Span represents." - }, - "node_id": { - "$ref": "#/definitions/coreNodeExecutionIdentifier", - "description": "node_id is the id of the node execution this Span represents." - }, - "task_id": { - "$ref": "#/definitions/coreTaskExecutionIdentifier", - "description": "task_id is the id of the task execution this Span represents." - }, - "operation_id": { - "type": "string", - "description": "operation_id is the id of a unique operation that this Span represents." - }, - "spans": { - "type": "array", - "items": { - "$ref": "#/definitions/coreSpan" - }, - "description": "spans defines a collection of Spans that breakdown this execution." - } - }, - "description": "Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation\nwhich uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more\nprecise definitions." - }, - "coreSql": { - "type": "object", - "properties": { - "statement": { - "type": "string", - "title": "The actual query to run, the query can have templated parameters.\nWe use Flyte's Golang templating format for Query templating.\nRefer to the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\nFor example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" - }, - "dialect": { - "$ref": "#/definitions/SqlDialect" - } - }, - "description": "Sql represents a generic sql workload with a statement and dialect." - }, - "coreStructuredDataset": { - "type": "object", - "properties": { - "uri": { - "type": "string", - "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" - }, - "metadata": { - "$ref": "#/definitions/coreStructuredDatasetMetadata" - } - } - }, - "coreStructuredDatasetMetadata": { - "type": "object", - "properties": { - "structured_dataset_type": { - "$ref": "#/definitions/coreStructuredDatasetType", - "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." - } - } - }, - "coreStructuredDatasetType": { - "type": "object", - "properties": { - "columns": { - "type": "array", - "items": { - "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" - }, - "description": "A list of ordered columns this schema comprises of." - }, - "format": { - "type": "string", - "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." - }, - "external_schema_type": { - "type": "string", - "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." - }, - "external_schema_bytes": { - "type": "string", - "format": "byte", - "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." - } - } - }, - "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." - }, - "coreTaskExecutionPhase": { - "type": "string", - "enum": [ - "UNDEFINED", - "QUEUED", - "RUNNING", - "SUCCEEDED", - "ABORTED", - "FAILED", - "INITIALIZING", - "WAITING_FOR_RESOURCES" - ], - "default": "UNDEFINED", - "title": "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded" - }, - "coreTaskLog": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "name": { - "type": "string" - }, - "message_format": { - "$ref": "#/definitions/TaskLogMessageFormat" - }, - "ttl": { - "type": "string" - } - }, - "title": "Log information for the task that is specific to a log sink\nWhen our log story is flushed out, we may have more metadata here like log link expiry" - }, - "coreTaskMetadata": { - "type": "object", - "properties": { - "discoverable": { - "type": "boolean", - "format": "boolean", - "description": "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." - }, - "runtime": { - "$ref": "#/definitions/coreRuntimeMetadata", - "description": "Runtime information about the task." - }, - "timeout": { - "type": "string", - "description": "The overall timeout of a task including user-triggered retries." - }, - "retries": { - "$ref": "#/definitions/coreRetryStrategy", - "description": "Number of retries per task." - }, - "discovery_version": { - "type": "string", - "description": "Indicates a logical version to apply to this task for the purpose of discovery." - }, - "deprecated_error_message": { - "type": "string", - "description": "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers\nof the ending of support for a given task." - }, - "interruptible": { - "type": "boolean", - "format": "boolean" - }, - "cache_serializable": { - "type": "boolean", - "format": "boolean", - "title": "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" - }, - "generates_deck": { - "type": "boolean", - "format": "boolean", - "description": "Indicates whether the task will generate a Deck URI when it finishes executing." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" - }, - "pod_template_name": { - "type": "string", - "description": "pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this\ntask creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied\nidentically as, the default PodTemplate configured in FlytePropeller." - }, - "cache_ignore_input_vars": { - "type": "array", - "items": { - "type": "string" - }, - "description": "cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache." - } - }, - "title": "Task Metadata" - }, - "coreTaskNode": { - "type": "object", - "properties": { - "reference_id": { - "$ref": "#/definitions/coreIdentifier", - "description": "A globally unique identifier for the task." - }, - "overrides": { - "$ref": "#/definitions/coreTaskNodeOverrides", - "description": "Optional overrides applied at task execution time." - } - }, - "description": "Refers to the task that the Node is to execute." - }, - "coreTaskNodeOverrides": { - "type": "object", - "properties": { - "resources": { - "$ref": "#/definitions/coreResources", - "description": "A customizable interface to convey resources requested for a task container." - }, - "extended_resources": { - "$ref": "#/definitions/coreExtendedResources", - "description": "Overrides for all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." - } - }, - "description": "Optional task node overrides that will be applied at task execution time." - }, - "coreTaskTemplate": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "Auto generated taskId by the system. Task Id uniquely identifies this task globally." - }, - "type": { - "type": "string", - "description": "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no\nextensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the\nimplementation registered for the TaskCategory." - }, - "metadata": { - "$ref": "#/definitions/coreTaskMetadata", - "description": "Extra metadata about the task." - }, - "interface": { - "$ref": "#/definitions/coreTypedInterface", - "description": "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees\ncompile-time validation of the workflow to avoid costly runtime failures." - }, - "custom": { - "$ref": "#/definitions/protobufStruct", - "description": "Custom data about the task. This is extensible to allow various plugins in the system." - }, - "container": { - "$ref": "#/definitions/coreContainer" - }, - "k8s_pod": { - "$ref": "#/definitions/coreK8sPod" - }, - "sql": { - "$ref": "#/definitions/coreSql" - }, - "task_type_version": { - "type": "integer", - "format": "int32", - "description": "This can be used to customize task handling at execution time for the same task type." - }, - "security_context": { - "$ref": "#/definitions/coreSecurityContext", - "description": "security_context encapsulates security attributes requested to run this task." - }, - "extended_resources": { - "$ref": "#/definitions/coreExtendedResources", - "description": "Encapsulates all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." - }, - "config": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system\nto use as required.\nreserve the field numbers 1 through 15 for very frequently occurring message elements" - } - }, - "description": "A Task structure that uniquely identifies a task in the system\nTasks are registered as a first step in the system." - }, - "coreTimePartition": { - "type": "object", - "properties": { - "value": { - "$ref": "#/definitions/coreLabelValue" - } - } - }, - "coreTypeAnnotation": { - "type": "object", - "properties": { - "annotations": { - "$ref": "#/definitions/protobufStruct", - "description": "A arbitrary JSON payload to describe a type." - } - }, - "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." - }, - "coreTypeStructure": { - "type": "object", - "properties": { - "tag": { - "type": "string", - "title": "Must exactly match for types to be castable" - }, - "dataclass_type": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLiteralType" - }, - "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" - } - }, - "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." - }, - "coreTypedInterface": { - "type": "object", - "properties": { - "inputs": { - "$ref": "#/definitions/coreVariableMap" - }, - "outputs": { - "$ref": "#/definitions/coreVariableMap" - } - }, - "description": "Defines strongly typed inputs and outputs." - }, - "coreUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/definitions/coreLiteral" - }, - "type": { - "$ref": "#/definitions/coreLiteralType" - } - }, - "description": "The runtime representation of a tagged union value. See `UnionType` for more details." - }, - "coreUnionInfo": { - "type": "object", - "properties": { - "targetType": { - "$ref": "#/definitions/coreLiteralType" - } - } - }, - "coreUnionType": { - "type": "object", - "properties": { - "variants": { - "type": "array", - "items": { - "$ref": "#/definitions/coreLiteralType" - }, - "description": "Predefined set of variants in union." - } - }, - "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" - }, - "coreVariable": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Variable literal type." - }, - "description": { - "type": "string", - "title": "+optional string describing input variable" - }, - "artifact_partial_id": { - "$ref": "#/definitions/coreArtifactID", - "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." - }, - "artifact_tag": { - "$ref": "#/definitions/coreArtifactTag" - } - }, - "description": "Defines a strongly typed variable." - }, - "coreVariableMap": { - "type": "object", - "properties": { - "variables": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreVariable" - }, - "description": "Defines a map of variable names to variables." - } - }, - "title": "A map of Variables" - }, - "coreVoid": { - "type": "object", - "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." - }, - "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." - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" - }, - "coreWorkflowExecutionPhase": { - "type": "string", - "enum": [ - "UNDEFINED", - "QUEUED", - "RUNNING", - "SUCCEEDING", - "SUCCEEDED", - "FAILING", - "FAILED", - "ABORTED", - "TIMED_OUT", - "ABORTING" - ], - "default": "UNDEFINED" - }, - "coreWorkflowMetadata": { - "type": "object", - "properties": { - "quality_of_service": { - "$ref": "#/definitions/coreQualityOfService", - "description": "Indicates the runtime priority of workflow executions." - }, - "on_failure": { - "$ref": "#/definitions/WorkflowMetadataOnFailurePolicy", - "description": "Defines how the system should behave when a failure is detected in the workflow execution." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" - } - }, - "description": "This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not\npercolate down to child entities (like tasks) launched by the workflow." - }, - "coreWorkflowMetadataDefaults": { - "type": "object", - "properties": { - "interruptible": { - "type": "boolean", - "format": "boolean", - "description": "Whether child nodes of the workflow are interruptible." - } - }, - "description": "The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to\na workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it\nis only relevant when a task executes. The settings here are the defaults that are passed to all nodes\nunless explicitly overridden at the node layer.\nIf you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be\nadded to both this object and the WorkflowMetadata object above." - }, - "coreWorkflowNode": { - "type": "object", - "properties": { - "launchplan_ref": { - "$ref": "#/definitions/coreIdentifier", - "description": "A globally unique identifier for the launch plan." - }, - "sub_workflow_ref": { - "$ref": "#/definitions/coreIdentifier", - "title": "Reference to a subworkflow, that should be defined with the compiler context" - } - }, - "description": "Refers to a the workflow the node is to execute." - }, - "coreWorkflowTemplate": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "A globally unique identifier for the workflow." - }, - "metadata": { - "$ref": "#/definitions/coreWorkflowMetadata", - "description": "Extra metadata about the workflow." - }, - "interface": { - "$ref": "#/definitions/coreTypedInterface", - "description": "Defines a strongly typed interface for the Workflow. This can include some optional parameters." - }, - "nodes": { - "type": "array", - "items": { - "$ref": "#/definitions/coreNode" - }, - "description": "A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs." - }, - "outputs": { - "type": "array", - "items": { - "$ref": "#/definitions/coreBinding" - }, - "description": "A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or\nspecify literals. All workflow outputs specified in the interface field must be bound in order for the workflow\nto be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to\nbind final outputs.\nMost of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can\njust have an output of some constant (`Output(5)`), but usually, the workflow will be pulling\noutputs from the output of a task." - }, - "failure_node": { - "$ref": "#/definitions/coreNode", - "description": "+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.\nThe interface of this node must match the Workflow interface with an additional input named 'error' of type\npb.lyft.flyte.core.Error." - }, - "metadata_defaults": { - "$ref": "#/definitions/coreWorkflowMetadataDefaults", - "title": "workflow defaults" - } - }, - "description": "Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable,\ndirected acyclic graph." - }, - "eventEventReason": { - "type": "object", - "properties": { - "reason": { - "type": "string", - "title": "An explanation for this event" - }, - "occurred_at": { - "type": "string", - "format": "date-time", - "title": "The time this reason occurred" - } - } - }, - "eventExternalResourceInfo": { - "type": "object", - "properties": { - "external_id": { - "type": "string", - "description": "Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids." - }, - "index": { - "type": "integer", - "format": "int64", - "description": "A unique index for the external resource with respect to all external resources for this task. Although the\nidentifier may change between task reporting events or retries, this will remain the same to enable aggregating\ninformation from multiple reports." - }, - "retry_attempt": { - "type": "integer", - "format": "int64", - "title": "Retry attempt number for this external resource, ie., 2 for the second attempt" - }, - "phase": { - "$ref": "#/definitions/coreTaskExecutionPhase", - "title": "Phase associated with the external resource" - }, - "cache_status": { - "$ref": "#/definitions/coreCatalogCacheStatus", - "description": "Captures the status of caching for this external resource execution." - }, - "logs": { - "type": "array", - "items": { - "$ref": "#/definitions/coreTaskLog" - }, - "title": "log information for the external resource execution" - } - }, - "description": "This message contains metadata about external resources produced or used by a specific task execution." - }, - "eventNodeExecutionEvent": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreNodeExecutionIdentifier", - "title": "Unique identifier for this node execution" - }, - "producer_id": { - "type": "string", - "title": "the id of the originator (Propeller) of the event" - }, - "phase": { - "$ref": "#/definitions/coreNodeExecutionPhase" - }, - "occurred_at": { - "type": "string", - "format": "date-time", - "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the node." - }, - "input_uri": { - "type": "string" - }, - "input_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw input data consumed by this node execution." - }, - "output_uri": { - "type": "string", - "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." - }, - "error": { - "$ref": "#/definitions/coreExecutionError", - "title": "Error information for the execution" - }, - "output_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw output data produced by this node execution." - }, - "workflow_node_metadata": { - "$ref": "#/definitions/flyteidleventWorkflowNodeMetadata" - }, - "task_node_metadata": { - "$ref": "#/definitions/flyteidleventTaskNodeMetadata" - }, - "parent_task_metadata": { - "$ref": "#/definitions/eventParentTaskExecutionMetadata", - "description": "[To be deprecated] Specifies which task (if any) launched this node." - }, - "parent_node_metadata": { - "$ref": "#/definitions/eventParentNodeExecutionMetadata", - "description": "Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node." - }, - "retry_group": { - "type": "string", - "title": "Retry group to indicate grouping of nodes by retries" - }, - "spec_node_id": { - "type": "string", - "title": "Identifier of the node in the original workflow/graph\nThis maps to value of WorkflowTemplate.nodes[X].id" - }, - "node_name": { - "type": "string", - "title": "Friendly readable name for the node" - }, - "event_version": { - "type": "integer", - "format": "int32" - }, - "is_parent": { - "type": "boolean", - "format": "boolean", - "description": "Whether this node launched a subworkflow." - }, - "is_dynamic": { - "type": "boolean", - "format": "boolean", - "description": "Whether this node yielded a dynamic workflow." - }, - "deck_uri": { - "type": "string", - "title": "String location uniquely identifying where the deck HTML file is\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" - }, - "reported_at": { - "type": "string", - "format": "date-time", - "description": "This timestamp represents the instant when the event was reported by the executing framework. For example,\nwhen first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when\nliteral inputs are initially copied. The event however will not be sent until after the copy completes.\nExtracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series." - }, - "is_array": { - "type": "boolean", - "format": "boolean", - "description": "Indicates if this node is an ArrayNode." - } - } - }, - "eventParentNodeExecutionMetadata": { - "type": "object", - "properties": { - "node_id": { - "type": "string", - "title": "Unique identifier of the parent node id within the execution\nThis is value of core.NodeExecutionIdentifier.node_id of the parent node" - } - } - }, - "eventParentTaskExecutionMetadata": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreTaskExecutionIdentifier" - } - } - }, - "eventResourcePoolInfo": { - "type": "object", - "properties": { - "allocation_token": { - "type": "string", - "description": "Unique resource ID used to identify this execution when allocating a token." - }, - "namespace": { - "type": "string", - "description": "Namespace under which this task execution requested an allocation token." - } - }, - "description": "This message holds task execution metadata specific to resource allocation used to manage concurrent\nexecutions for a project namespace." - }, - "eventTaskExecutionEvent": { - "type": "object", - "properties": { - "task_id": { - "$ref": "#/definitions/coreIdentifier", - "description": "ID of the task. In combination with the retryAttempt this will indicate\nthe task execution uniquely for a given parent node execution." - }, - "parent_node_execution_id": { - "$ref": "#/definitions/coreNodeExecutionIdentifier", - "title": "A task execution is always kicked off by a node execution, the event consumer\nwill use the parent_id to relate the task to it's parent node execution" - }, - "retry_attempt": { - "type": "integer", - "format": "int64", - "title": "retry attempt number for this task, ie., 2 for the second attempt" - }, - "phase": { - "$ref": "#/definitions/coreTaskExecutionPhase", - "title": "Phase associated with the event" - }, - "producer_id": { - "type": "string", - "title": "id of the process that sent this event, mainly for trace debugging" - }, - "logs": { - "type": "array", - "items": { - "$ref": "#/definitions/coreTaskLog" - }, - "title": "log information for the task execution" - }, - "occurred_at": { - "type": "string", - "format": "date-time", - "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the task." - }, - "input_uri": { - "type": "string", - "description": "URI of the input file, it encodes all the information\nincluding Cloud source provider. ie., s3://..." - }, - "input_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw input data consumed by this task execution." - }, - "output_uri": { - "type": "string", - "description": "URI to the output of the execution, it will be in a format that encodes all the information\nincluding Cloud source provider. ie., s3://..." - }, - "error": { - "$ref": "#/definitions/coreExecutionError", - "title": "Error information for the execution" - }, - "output_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw output data produced by this task execution." - }, - "custom_info": { - "$ref": "#/definitions/protobufStruct", - "description": "Custom data that the task plugin sends back. This is extensible to allow various plugins in the system." - }, - "phase_version": { - "type": "integer", - "format": "int64", - "description": "Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)\nthat should be recorded regardless of the lack of phase change.\nThe version field should be incremented when metadata changes across the duration of an individual phase." - }, - "reason": { - "type": "string", - "description": "An optional explanation for the phase transition.\nDeprecated: Use reasons instead." - }, - "reasons": { - "type": "array", - "items": { - "$ref": "#/definitions/eventEventReason" - }, - "description": "An optional list of explanations for the phase transition." - }, - "task_type": { - "type": "string", - "description": "A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin\nthis type will be identical, but not all task executions necessarily use pre-registered definitions and this\ntype is useful to render the task in the UI, filter task executions, etc." - }, - "metadata": { - "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", - "description": "Metadata around how a task was executed." - }, - "event_version": { - "type": "integer", - "format": "int32", - "description": "The event version is used to indicate versioned changes in how data is reported using this\nproto message. For example, event_verison \u003e 0 means that maps tasks report logs using the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." - }, - "reported_at": { - "type": "string", - "format": "date-time", - "description": "This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s\npod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,\nbut this event will not be reported until the pod is marked as completed. Extracting both of these timestamps\nfacilitates a more accurate portrayal of the evaluation time-series." - } - }, - "description": "Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob." - }, - "eventWorkflowExecutionEvent": { - "type": "object", - "properties": { - "execution_id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "title": "Workflow execution id" - }, - "producer_id": { - "type": "string", - "title": "the id of the originator (Propeller) of the event" - }, - "phase": { - "$ref": "#/definitions/coreWorkflowExecutionPhase" - }, - "occurred_at": { - "type": "string", - "format": "date-time", - "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the workflow." - }, - "output_uri": { - "type": "string", - "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." - }, - "error": { - "$ref": "#/definitions/coreExecutionError", - "title": "Error information for the execution" - }, - "output_data": { - "$ref": "#/definitions/coreLiteralMap", - "description": "Raw output data produced by this workflow execution." - } - } - }, - "flyteidladminDynamicWorkflowNodeMetadata": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "id represents the unique identifier of the workflow." - }, - "compiled_workflow": { - "$ref": "#/definitions/coreCompiledWorkflowClosure", - "description": "Represents the compiled representation of the embedded dynamic workflow." - }, - "dynamic_job_spec_uri": { - "type": "string", - "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the subworkflow has already been compiled." - } - }, - "description": "For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated." - }, - "flyteidladminNodeExecution": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreNodeExecutionIdentifier", - "description": "Uniquely identifies an individual node execution." - }, - "input_uri": { - "type": "string", - "description": "Path to remote data store where input blob is stored." - }, - "closure": { - "$ref": "#/definitions/adminNodeExecutionClosure", - "description": "Computed results associated with this node execution." - }, - "metadata": { - "$ref": "#/definitions/adminNodeExecutionMetaData", - "title": "Metadata for Node Execution" - } - }, - "description": "Encapsulates all details for a single node execution entity.\nA node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested\nsub-workflow, or even a separate child-workflow execution.\nThe same task can be called repeatedly in a single workflow but each node is unique." - }, - "flyteidladminTaskCreateRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "title": "id represents the unique identifier of the task.\n+required" - }, - "spec": { - "$ref": "#/definitions/adminTaskSpec", - "title": "Represents the specification for task.\n+required" - } - }, - "title": "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task` for more details" - }, - "flyteidladminTaskCreateResponse": { - "type": "object", - "description": "Represents a response structure if task creation succeeds." - }, - "flyteidladminTaskExecution": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreTaskExecutionIdentifier", - "description": "Unique identifier for the task execution." - }, - "input_uri": { - "type": "string", - "description": "Path to remote data store where input blob is stored." - }, - "closure": { - "$ref": "#/definitions/adminTaskExecutionClosure", - "description": "Task execution details and results." - }, - "is_parent": { - "type": "boolean", - "format": "boolean", - "description": "Whether this task spawned nodes." - } - }, - "description": "Encapsulates all details for a single task execution entity.\nA task execution represents an instantiated task, including all inputs and additional\nmetadata as well as computed results included state, outputs, and duration-based attributes." - }, - "flyteidladminTaskNodeMetadata": { - "type": "object", - "properties": { - "cache_status": { - "$ref": "#/definitions/coreCatalogCacheStatus", - "description": "Captures the status of caching for this execution." - }, - "catalog_key": { - "$ref": "#/definitions/coreCatalogMetadata", - "title": "This structure carries the catalog artifact information" - }, - "checkpoint_uri": { - "type": "string", - "title": "The latest checkpoint location" - } - }, - "title": "Metadata for the case in which the node is a TaskNode" - }, - "flyteidladminWorkflowNodeMetadata": { - "type": "object", - "properties": { - "executionId": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "description": "The identifier for a workflow execution launched by a node." - } - }, - "title": "Metadata for a WorkflowNode" - }, - "flyteidleventDynamicWorkflowNodeMetadata": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "id represents the unique identifier of the workflow." - }, - "compiled_workflow": { - "$ref": "#/definitions/coreCompiledWorkflowClosure", - "description": "Represents the compiled representation of the embedded dynamic workflow." - }, - "dynamic_job_spec_uri": { - "type": "string", - "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the workflow has already been compiled." - } - }, - "description": "For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated." - }, - "flyteidleventTaskExecutionMetadata": { - "type": "object", - "properties": { - "generated_name": { - "type": "string", - "description": "Unique, generated name for this task execution used by the backend." - }, - "external_resources": { - "type": "array", - "items": { - "$ref": "#/definitions/eventExternalResourceInfo" - }, - "description": "Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution." - }, - "resource_pool_info": { - "type": "array", - "items": { - "$ref": "#/definitions/eventResourcePoolInfo" - }, - "description": "Includes additional data on concurrent resource management used during execution..\nThis is a repeated field because a plugin can request multiple resource allocations during execution." - }, - "plugin_identifier": { - "type": "string", - "description": "The identifier of the plugin used to execute this task." - }, - "instance_class": { - "$ref": "#/definitions/TaskExecutionMetadataInstanceClass" - } - }, - "description": "Holds metadata around how a task was executed.\nAs a task transitions across event phases during execution some attributes, such its generated name, generated external resources,\nand more may grow in size but not change necessarily based on the phase transition that sparked the event update.\nMetadata is a container for these attributes across the task execution lifecycle." - }, - "flyteidleventTaskNodeMetadata": { - "type": "object", - "properties": { - "cache_status": { - "$ref": "#/definitions/coreCatalogCacheStatus", - "description": "Captures the status of caching for this execution." - }, - "catalog_key": { - "$ref": "#/definitions/coreCatalogMetadata", - "title": "This structure carries the catalog artifact information" - }, - "reservation_status": { - "$ref": "#/definitions/CatalogReservationStatus", - "description": "Captures the status of cache reservations for this execution." - }, - "checkpoint_uri": { - "type": "string", - "title": "The latest checkpoint location" - }, - "dynamic_workflow": { - "$ref": "#/definitions/flyteidleventDynamicWorkflowNodeMetadata", - "description": "In the case this task launched a dynamic workflow we capture its structure here." - } - } - }, - "flyteidleventWorkflowNodeMetadata": { - "type": "object", - "properties": { - "execution_id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier" - } - }, - "title": "For Workflow Nodes we need to send information about the workflow that's launched" - }, - "protobufAny": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "protobufListValue": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Repeated field of dynamically typed values." - } - }, - "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." - }, - "protobufNullValue": { - "type": "string", - "enum": [ - "NULL_VALUE" - ], - "default": "NULL_VALUE", - "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." - }, - "protobufStruct": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Unordered map of dynamically typed values." - } - }, - "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." - }, - "protobufValue": { - "type": "object", - "properties": { - "null_value": { - "$ref": "#/definitions/protobufNullValue", - "description": "Represents a null value." - }, - "number_value": { - "type": "number", - "format": "double", - "description": "Represents a double value." - }, - "string_value": { - "type": "string", - "description": "Represents a string value." - }, - "bool_value": { - "type": "boolean", - "format": "boolean", - "description": "Represents a boolean value." - }, - "struct_value": { - "$ref": "#/definitions/protobufStruct", - "description": "Represents a structured value." - }, - "list_value": { - "$ref": "#/definitions/protobufListValue", - "description": "Represents a repeated `Value`." - } - }, - "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." - } - } -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/service/admin_grpc.pb.go new file mode 100644 index 0000000000..2f96e962f9 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/admin_grpc.pb.go @@ -0,0 +1,2187 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/service/admin.proto + +package service + +import ( + context "context" + admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + AdminService_CreateTask_FullMethodName = "/flyteidl.service.AdminService/CreateTask" + AdminService_GetTask_FullMethodName = "/flyteidl.service.AdminService/GetTask" + AdminService_ListTaskIds_FullMethodName = "/flyteidl.service.AdminService/ListTaskIds" + AdminService_ListTasks_FullMethodName = "/flyteidl.service.AdminService/ListTasks" + AdminService_CreateWorkflow_FullMethodName = "/flyteidl.service.AdminService/CreateWorkflow" + AdminService_GetWorkflow_FullMethodName = "/flyteidl.service.AdminService/GetWorkflow" + AdminService_ListWorkflowIds_FullMethodName = "/flyteidl.service.AdminService/ListWorkflowIds" + AdminService_ListWorkflows_FullMethodName = "/flyteidl.service.AdminService/ListWorkflows" + AdminService_CreateLaunchPlan_FullMethodName = "/flyteidl.service.AdminService/CreateLaunchPlan" + AdminService_GetLaunchPlan_FullMethodName = "/flyteidl.service.AdminService/GetLaunchPlan" + AdminService_GetActiveLaunchPlan_FullMethodName = "/flyteidl.service.AdminService/GetActiveLaunchPlan" + AdminService_ListActiveLaunchPlans_FullMethodName = "/flyteidl.service.AdminService/ListActiveLaunchPlans" + AdminService_ListLaunchPlanIds_FullMethodName = "/flyteidl.service.AdminService/ListLaunchPlanIds" + AdminService_ListLaunchPlans_FullMethodName = "/flyteidl.service.AdminService/ListLaunchPlans" + AdminService_UpdateLaunchPlan_FullMethodName = "/flyteidl.service.AdminService/UpdateLaunchPlan" + AdminService_CreateExecution_FullMethodName = "/flyteidl.service.AdminService/CreateExecution" + AdminService_RelaunchExecution_FullMethodName = "/flyteidl.service.AdminService/RelaunchExecution" + AdminService_RecoverExecution_FullMethodName = "/flyteidl.service.AdminService/RecoverExecution" + AdminService_GetExecution_FullMethodName = "/flyteidl.service.AdminService/GetExecution" + AdminService_UpdateExecution_FullMethodName = "/flyteidl.service.AdminService/UpdateExecution" + AdminService_GetExecutionData_FullMethodName = "/flyteidl.service.AdminService/GetExecutionData" + AdminService_ListExecutions_FullMethodName = "/flyteidl.service.AdminService/ListExecutions" + AdminService_TerminateExecution_FullMethodName = "/flyteidl.service.AdminService/TerminateExecution" + AdminService_GetNodeExecution_FullMethodName = "/flyteidl.service.AdminService/GetNodeExecution" + AdminService_GetDynamicNodeWorkflow_FullMethodName = "/flyteidl.service.AdminService/GetDynamicNodeWorkflow" + AdminService_ListNodeExecutions_FullMethodName = "/flyteidl.service.AdminService/ListNodeExecutions" + AdminService_ListNodeExecutionsForTask_FullMethodName = "/flyteidl.service.AdminService/ListNodeExecutionsForTask" + AdminService_GetNodeExecutionData_FullMethodName = "/flyteidl.service.AdminService/GetNodeExecutionData" + AdminService_RegisterProject_FullMethodName = "/flyteidl.service.AdminService/RegisterProject" + AdminService_UpdateProject_FullMethodName = "/flyteidl.service.AdminService/UpdateProject" + AdminService_ListProjects_FullMethodName = "/flyteidl.service.AdminService/ListProjects" + AdminService_CreateWorkflowEvent_FullMethodName = "/flyteidl.service.AdminService/CreateWorkflowEvent" + AdminService_CreateNodeEvent_FullMethodName = "/flyteidl.service.AdminService/CreateNodeEvent" + AdminService_CreateTaskEvent_FullMethodName = "/flyteidl.service.AdminService/CreateTaskEvent" + AdminService_GetTaskExecution_FullMethodName = "/flyteidl.service.AdminService/GetTaskExecution" + AdminService_ListTaskExecutions_FullMethodName = "/flyteidl.service.AdminService/ListTaskExecutions" + AdminService_GetTaskExecutionData_FullMethodName = "/flyteidl.service.AdminService/GetTaskExecutionData" + AdminService_UpdateProjectDomainAttributes_FullMethodName = "/flyteidl.service.AdminService/UpdateProjectDomainAttributes" + AdminService_GetProjectDomainAttributes_FullMethodName = "/flyteidl.service.AdminService/GetProjectDomainAttributes" + AdminService_DeleteProjectDomainAttributes_FullMethodName = "/flyteidl.service.AdminService/DeleteProjectDomainAttributes" + AdminService_UpdateProjectAttributes_FullMethodName = "/flyteidl.service.AdminService/UpdateProjectAttributes" + AdminService_GetProjectAttributes_FullMethodName = "/flyteidl.service.AdminService/GetProjectAttributes" + AdminService_DeleteProjectAttributes_FullMethodName = "/flyteidl.service.AdminService/DeleteProjectAttributes" + AdminService_UpdateWorkflowAttributes_FullMethodName = "/flyteidl.service.AdminService/UpdateWorkflowAttributes" + AdminService_GetWorkflowAttributes_FullMethodName = "/flyteidl.service.AdminService/GetWorkflowAttributes" + AdminService_DeleteWorkflowAttributes_FullMethodName = "/flyteidl.service.AdminService/DeleteWorkflowAttributes" + AdminService_ListMatchableAttributes_FullMethodName = "/flyteidl.service.AdminService/ListMatchableAttributes" + AdminService_ListNamedEntities_FullMethodName = "/flyteidl.service.AdminService/ListNamedEntities" + AdminService_GetNamedEntity_FullMethodName = "/flyteidl.service.AdminService/GetNamedEntity" + AdminService_UpdateNamedEntity_FullMethodName = "/flyteidl.service.AdminService/UpdateNamedEntity" + AdminService_GetVersion_FullMethodName = "/flyteidl.service.AdminService/GetVersion" + AdminService_GetDescriptionEntity_FullMethodName = "/flyteidl.service.AdminService/GetDescriptionEntity" + AdminService_ListDescriptionEntities_FullMethodName = "/flyteidl.service.AdminService/ListDescriptionEntities" + AdminService_GetExecutionMetrics_FullMethodName = "/flyteidl.service.AdminService/GetExecutionMetrics" +) + +// AdminServiceClient is the client API for AdminService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AdminServiceClient interface { + // Create and upload a :ref:`ref_flyteidl.admin.Task` definition + CreateTask(ctx context.Context, in *admin.TaskCreateRequest, opts ...grpc.CallOption) (*admin.TaskCreateResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.Task` definition. + GetTask(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Task, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. + ListTaskIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. + ListTasks(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.TaskList, error) + // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition + CreateWorkflow(ctx context.Context, in *admin.WorkflowCreateRequest, opts ...grpc.CallOption) (*admin.WorkflowCreateResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. + GetWorkflow(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Workflow, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. + ListWorkflowIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. + ListWorkflows(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.WorkflowList, error) + // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition + CreateLaunchPlan(ctx context.Context, in *admin.LaunchPlanCreateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanCreateResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. + GetLaunchPlan(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) + // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. + GetActiveLaunchPlan(ctx context.Context, in *admin.ActiveLaunchPlanRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) + // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. + ListActiveLaunchPlans(ctx context.Context, in *admin.ActiveLaunchPlanListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. + ListLaunchPlanIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. + ListLaunchPlans(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) + // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. + UpdateLaunchPlan(ctx context.Context, in *admin.LaunchPlanUpdateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanUpdateResponse, error) + // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` + CreateExecution(ctx context.Context, in *admin.ExecutionCreateRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) + // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` + RelaunchExecution(ctx context.Context, in *admin.ExecutionRelaunchRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) + // Recreates a previously-run workflow execution that will only start executing from the last known failure point. + // In Recover mode, users cannot change any input parameters or update the version of the execution. + // This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, + // downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. + // See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. + RecoverExecution(ctx context.Context, in *admin.ExecutionRecoverRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) + // Fetches a :ref:`ref_flyteidl.admin.Execution`. + GetExecution(ctx context.Context, in *admin.WorkflowExecutionGetRequest, opts ...grpc.CallOption) (*admin.Execution, error) + // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. + UpdateExecution(ctx context.Context, in *admin.ExecutionUpdateRequest, opts ...grpc.CallOption) (*admin.ExecutionUpdateResponse, error) + // Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. + GetExecutionData(ctx context.Context, in *admin.WorkflowExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetDataResponse, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Execution`. + ListExecutions(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.ExecutionList, error) + // Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. + TerminateExecution(ctx context.Context, in *admin.ExecutionTerminateRequest, opts ...grpc.CallOption) (*admin.ExecutionTerminateResponse, error) + // Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. + GetNodeExecution(ctx context.Context, in *admin.NodeExecutionGetRequest, opts ...grpc.CallOption) (*admin.NodeExecution, error) + // Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. + GetDynamicNodeWorkflow(ctx context.Context, in *admin.GetDynamicNodeWorkflowRequest, opts ...grpc.CallOption) (*admin.DynamicNodeWorkflowResponse, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. + ListNodeExecutions(ctx context.Context, in *admin.NodeExecutionListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. + ListNodeExecutionsForTask(ctx context.Context, in *admin.NodeExecutionForTaskListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) + // Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. + GetNodeExecutionData(ctx context.Context, in *admin.NodeExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.NodeExecutionGetDataResponse, error) + // Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. + RegisterProject(ctx context.Context, in *admin.ProjectRegisterRequest, opts ...grpc.CallOption) (*admin.ProjectRegisterResponse, error) + // Updates an existing :ref:`ref_flyteidl.admin.Project` + // flyteidl.admin.Project should be passed but the domains property should be empty; + // it will be ignored in the handler as domains cannot be updated via this API. + UpdateProject(ctx context.Context, in *admin.Project, opts ...grpc.CallOption) (*admin.ProjectUpdateResponse, error) + // Fetches a list of :ref:`ref_flyteidl.admin.Project` + ListProjects(ctx context.Context, in *admin.ProjectListRequest, opts ...grpc.CallOption) (*admin.Projects, error) + // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. + CreateWorkflowEvent(ctx context.Context, in *admin.WorkflowExecutionEventRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionEventResponse, error) + // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. + CreateNodeEvent(ctx context.Context, in *admin.NodeExecutionEventRequest, opts ...grpc.CallOption) (*admin.NodeExecutionEventResponse, error) + // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. + CreateTaskEvent(ctx context.Context, in *admin.TaskExecutionEventRequest, opts ...grpc.CallOption) (*admin.TaskExecutionEventResponse, error) + // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. + GetTaskExecution(ctx context.Context, in *admin.TaskExecutionGetRequest, opts ...grpc.CallOption) (*admin.TaskExecution, error) + // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. + ListTaskExecutions(ctx context.Context, in *admin.TaskExecutionListRequest, opts ...grpc.CallOption) (*admin.TaskExecutionList, error) + // Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. + GetTaskExecutionData(ctx context.Context, in *admin.TaskExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.TaskExecutionGetDataResponse, error) + // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + UpdateProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesUpdateResponse, error) + // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + GetProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesGetResponse, error) + // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + DeleteProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesDeleteResponse, error) + // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level + UpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesUpdateResponse, error) + // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + GetProjectAttributes(ctx context.Context, in *admin.ProjectAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesGetResponse, error) + // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + DeleteProjectAttributes(ctx context.Context, in *admin.ProjectAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesDeleteResponse, error) + // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + UpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesUpdateResponse, error) + // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + GetWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesGetRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesGetResponse, error) + // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + DeleteWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesDeleteResponse, error) + // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. + ListMatchableAttributes(ctx context.Context, in *admin.ListMatchableAttributesRequest, opts ...grpc.CallOption) (*admin.ListMatchableAttributesResponse, error) + // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. + ListNamedEntities(ctx context.Context, in *admin.NamedEntityListRequest, opts ...grpc.CallOption) (*admin.NamedEntityList, error) + // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. + GetNamedEntity(ctx context.Context, in *admin.NamedEntityGetRequest, opts ...grpc.CallOption) (*admin.NamedEntity, error) + // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. + UpdateNamedEntity(ctx context.Context, in *admin.NamedEntityUpdateRequest, opts ...grpc.CallOption) (*admin.NamedEntityUpdateResponse, error) + GetVersion(ctx context.Context, in *admin.GetVersionRequest, opts ...grpc.CallOption) (*admin.GetVersionResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. + GetDescriptionEntity(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.DescriptionEntity, error) + // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. + ListDescriptionEntities(ctx context.Context, in *admin.DescriptionEntityListRequest, opts ...grpc.CallOption) (*admin.DescriptionEntityList, error) + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + GetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetMetricsResponse, error) +} + +type adminServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient { + return &adminServiceClient{cc} +} + +func (c *adminServiceClient) CreateTask(ctx context.Context, in *admin.TaskCreateRequest, opts ...grpc.CallOption) (*admin.TaskCreateResponse, error) { + out := new(admin.TaskCreateResponse) + err := c.cc.Invoke(ctx, AdminService_CreateTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetTask(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Task, error) { + out := new(admin.Task) + err := c.cc.Invoke(ctx, AdminService_GetTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListTaskIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) { + out := new(admin.NamedEntityIdentifierList) + err := c.cc.Invoke(ctx, AdminService_ListTaskIds_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListTasks(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.TaskList, error) { + out := new(admin.TaskList) + err := c.cc.Invoke(ctx, AdminService_ListTasks_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) CreateWorkflow(ctx context.Context, in *admin.WorkflowCreateRequest, opts ...grpc.CallOption) (*admin.WorkflowCreateResponse, error) { + out := new(admin.WorkflowCreateResponse) + err := c.cc.Invoke(ctx, AdminService_CreateWorkflow_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetWorkflow(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.Workflow, error) { + out := new(admin.Workflow) + err := c.cc.Invoke(ctx, AdminService_GetWorkflow_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListWorkflowIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) { + out := new(admin.NamedEntityIdentifierList) + err := c.cc.Invoke(ctx, AdminService_ListWorkflowIds_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListWorkflows(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.WorkflowList, error) { + out := new(admin.WorkflowList) + err := c.cc.Invoke(ctx, AdminService_ListWorkflows_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) CreateLaunchPlan(ctx context.Context, in *admin.LaunchPlanCreateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanCreateResponse, error) { + out := new(admin.LaunchPlanCreateResponse) + err := c.cc.Invoke(ctx, AdminService_CreateLaunchPlan_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetLaunchPlan(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) { + out := new(admin.LaunchPlan) + err := c.cc.Invoke(ctx, AdminService_GetLaunchPlan_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetActiveLaunchPlan(ctx context.Context, in *admin.ActiveLaunchPlanRequest, opts ...grpc.CallOption) (*admin.LaunchPlan, error) { + out := new(admin.LaunchPlan) + err := c.cc.Invoke(ctx, AdminService_GetActiveLaunchPlan_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListActiveLaunchPlans(ctx context.Context, in *admin.ActiveLaunchPlanListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) { + out := new(admin.LaunchPlanList) + err := c.cc.Invoke(ctx, AdminService_ListActiveLaunchPlans_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListLaunchPlanIds(ctx context.Context, in *admin.NamedEntityIdentifierListRequest, opts ...grpc.CallOption) (*admin.NamedEntityIdentifierList, error) { + out := new(admin.NamedEntityIdentifierList) + err := c.cc.Invoke(ctx, AdminService_ListLaunchPlanIds_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListLaunchPlans(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.LaunchPlanList, error) { + out := new(admin.LaunchPlanList) + err := c.cc.Invoke(ctx, AdminService_ListLaunchPlans_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) UpdateLaunchPlan(ctx context.Context, in *admin.LaunchPlanUpdateRequest, opts ...grpc.CallOption) (*admin.LaunchPlanUpdateResponse, error) { + out := new(admin.LaunchPlanUpdateResponse) + err := c.cc.Invoke(ctx, AdminService_UpdateLaunchPlan_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) CreateExecution(ctx context.Context, in *admin.ExecutionCreateRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) { + out := new(admin.ExecutionCreateResponse) + err := c.cc.Invoke(ctx, AdminService_CreateExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) RelaunchExecution(ctx context.Context, in *admin.ExecutionRelaunchRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) { + out := new(admin.ExecutionCreateResponse) + err := c.cc.Invoke(ctx, AdminService_RelaunchExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) RecoverExecution(ctx context.Context, in *admin.ExecutionRecoverRequest, opts ...grpc.CallOption) (*admin.ExecutionCreateResponse, error) { + out := new(admin.ExecutionCreateResponse) + err := c.cc.Invoke(ctx, AdminService_RecoverExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetExecution(ctx context.Context, in *admin.WorkflowExecutionGetRequest, opts ...grpc.CallOption) (*admin.Execution, error) { + out := new(admin.Execution) + err := c.cc.Invoke(ctx, AdminService_GetExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) UpdateExecution(ctx context.Context, in *admin.ExecutionUpdateRequest, opts ...grpc.CallOption) (*admin.ExecutionUpdateResponse, error) { + out := new(admin.ExecutionUpdateResponse) + err := c.cc.Invoke(ctx, AdminService_UpdateExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetExecutionData(ctx context.Context, in *admin.WorkflowExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetDataResponse, error) { + out := new(admin.WorkflowExecutionGetDataResponse) + err := c.cc.Invoke(ctx, AdminService_GetExecutionData_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListExecutions(ctx context.Context, in *admin.ResourceListRequest, opts ...grpc.CallOption) (*admin.ExecutionList, error) { + out := new(admin.ExecutionList) + err := c.cc.Invoke(ctx, AdminService_ListExecutions_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) TerminateExecution(ctx context.Context, in *admin.ExecutionTerminateRequest, opts ...grpc.CallOption) (*admin.ExecutionTerminateResponse, error) { + out := new(admin.ExecutionTerminateResponse) + err := c.cc.Invoke(ctx, AdminService_TerminateExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetNodeExecution(ctx context.Context, in *admin.NodeExecutionGetRequest, opts ...grpc.CallOption) (*admin.NodeExecution, error) { + out := new(admin.NodeExecution) + err := c.cc.Invoke(ctx, AdminService_GetNodeExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetDynamicNodeWorkflow(ctx context.Context, in *admin.GetDynamicNodeWorkflowRequest, opts ...grpc.CallOption) (*admin.DynamicNodeWorkflowResponse, error) { + out := new(admin.DynamicNodeWorkflowResponse) + err := c.cc.Invoke(ctx, AdminService_GetDynamicNodeWorkflow_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListNodeExecutions(ctx context.Context, in *admin.NodeExecutionListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) { + out := new(admin.NodeExecutionList) + err := c.cc.Invoke(ctx, AdminService_ListNodeExecutions_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListNodeExecutionsForTask(ctx context.Context, in *admin.NodeExecutionForTaskListRequest, opts ...grpc.CallOption) (*admin.NodeExecutionList, error) { + out := new(admin.NodeExecutionList) + err := c.cc.Invoke(ctx, AdminService_ListNodeExecutionsForTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetNodeExecutionData(ctx context.Context, in *admin.NodeExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.NodeExecutionGetDataResponse, error) { + out := new(admin.NodeExecutionGetDataResponse) + err := c.cc.Invoke(ctx, AdminService_GetNodeExecutionData_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) RegisterProject(ctx context.Context, in *admin.ProjectRegisterRequest, opts ...grpc.CallOption) (*admin.ProjectRegisterResponse, error) { + out := new(admin.ProjectRegisterResponse) + err := c.cc.Invoke(ctx, AdminService_RegisterProject_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) UpdateProject(ctx context.Context, in *admin.Project, opts ...grpc.CallOption) (*admin.ProjectUpdateResponse, error) { + out := new(admin.ProjectUpdateResponse) + err := c.cc.Invoke(ctx, AdminService_UpdateProject_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListProjects(ctx context.Context, in *admin.ProjectListRequest, opts ...grpc.CallOption) (*admin.Projects, error) { + out := new(admin.Projects) + err := c.cc.Invoke(ctx, AdminService_ListProjects_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) CreateWorkflowEvent(ctx context.Context, in *admin.WorkflowExecutionEventRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionEventResponse, error) { + out := new(admin.WorkflowExecutionEventResponse) + err := c.cc.Invoke(ctx, AdminService_CreateWorkflowEvent_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) CreateNodeEvent(ctx context.Context, in *admin.NodeExecutionEventRequest, opts ...grpc.CallOption) (*admin.NodeExecutionEventResponse, error) { + out := new(admin.NodeExecutionEventResponse) + err := c.cc.Invoke(ctx, AdminService_CreateNodeEvent_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) CreateTaskEvent(ctx context.Context, in *admin.TaskExecutionEventRequest, opts ...grpc.CallOption) (*admin.TaskExecutionEventResponse, error) { + out := new(admin.TaskExecutionEventResponse) + err := c.cc.Invoke(ctx, AdminService_CreateTaskEvent_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetTaskExecution(ctx context.Context, in *admin.TaskExecutionGetRequest, opts ...grpc.CallOption) (*admin.TaskExecution, error) { + out := new(admin.TaskExecution) + err := c.cc.Invoke(ctx, AdminService_GetTaskExecution_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListTaskExecutions(ctx context.Context, in *admin.TaskExecutionListRequest, opts ...grpc.CallOption) (*admin.TaskExecutionList, error) { + out := new(admin.TaskExecutionList) + err := c.cc.Invoke(ctx, AdminService_ListTaskExecutions_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetTaskExecutionData(ctx context.Context, in *admin.TaskExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.TaskExecutionGetDataResponse, error) { + out := new(admin.TaskExecutionGetDataResponse) + err := c.cc.Invoke(ctx, AdminService_GetTaskExecutionData_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) UpdateProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesUpdateResponse, error) { + out := new(admin.ProjectDomainAttributesUpdateResponse) + err := c.cc.Invoke(ctx, AdminService_UpdateProjectDomainAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesGetResponse, error) { + out := new(admin.ProjectDomainAttributesGetResponse) + err := c.cc.Invoke(ctx, AdminService_GetProjectDomainAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) DeleteProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesDeleteResponse, error) { + out := new(admin.ProjectDomainAttributesDeleteResponse) + err := c.cc.Invoke(ctx, AdminService_DeleteProjectDomainAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) UpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesUpdateResponse, error) { + out := new(admin.ProjectAttributesUpdateResponse) + err := c.cc.Invoke(ctx, AdminService_UpdateProjectAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetProjectAttributes(ctx context.Context, in *admin.ProjectAttributesGetRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesGetResponse, error) { + out := new(admin.ProjectAttributesGetResponse) + err := c.cc.Invoke(ctx, AdminService_GetProjectAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) DeleteProjectAttributes(ctx context.Context, in *admin.ProjectAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesDeleteResponse, error) { + out := new(admin.ProjectAttributesDeleteResponse) + err := c.cc.Invoke(ctx, AdminService_DeleteProjectAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) UpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesUpdateResponse, error) { + out := new(admin.WorkflowAttributesUpdateResponse) + err := c.cc.Invoke(ctx, AdminService_UpdateWorkflowAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesGetRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesGetResponse, error) { + out := new(admin.WorkflowAttributesGetResponse) + err := c.cc.Invoke(ctx, AdminService_GetWorkflowAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) DeleteWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesDeleteRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesDeleteResponse, error) { + out := new(admin.WorkflowAttributesDeleteResponse) + err := c.cc.Invoke(ctx, AdminService_DeleteWorkflowAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListMatchableAttributes(ctx context.Context, in *admin.ListMatchableAttributesRequest, opts ...grpc.CallOption) (*admin.ListMatchableAttributesResponse, error) { + out := new(admin.ListMatchableAttributesResponse) + err := c.cc.Invoke(ctx, AdminService_ListMatchableAttributes_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListNamedEntities(ctx context.Context, in *admin.NamedEntityListRequest, opts ...grpc.CallOption) (*admin.NamedEntityList, error) { + out := new(admin.NamedEntityList) + err := c.cc.Invoke(ctx, AdminService_ListNamedEntities_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetNamedEntity(ctx context.Context, in *admin.NamedEntityGetRequest, opts ...grpc.CallOption) (*admin.NamedEntity, error) { + out := new(admin.NamedEntity) + err := c.cc.Invoke(ctx, AdminService_GetNamedEntity_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) UpdateNamedEntity(ctx context.Context, in *admin.NamedEntityUpdateRequest, opts ...grpc.CallOption) (*admin.NamedEntityUpdateResponse, error) { + out := new(admin.NamedEntityUpdateResponse) + err := c.cc.Invoke(ctx, AdminService_UpdateNamedEntity_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetVersion(ctx context.Context, in *admin.GetVersionRequest, opts ...grpc.CallOption) (*admin.GetVersionResponse, error) { + out := new(admin.GetVersionResponse) + err := c.cc.Invoke(ctx, AdminService_GetVersion_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetDescriptionEntity(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.DescriptionEntity, error) { + out := new(admin.DescriptionEntity) + err := c.cc.Invoke(ctx, AdminService_GetDescriptionEntity_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) ListDescriptionEntities(ctx context.Context, in *admin.DescriptionEntityListRequest, opts ...grpc.CallOption) (*admin.DescriptionEntityList, error) { + out := new(admin.DescriptionEntityList) + err := c.cc.Invoke(ctx, AdminService_ListDescriptionEntities_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *adminServiceClient) GetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetMetricsResponse, error) { + out := new(admin.WorkflowExecutionGetMetricsResponse) + err := c.cc.Invoke(ctx, AdminService_GetExecutionMetrics_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AdminServiceServer is the server API for AdminService service. +// All implementations should embed UnimplementedAdminServiceServer +// for forward compatibility +type AdminServiceServer interface { + // Create and upload a :ref:`ref_flyteidl.admin.Task` definition + CreateTask(context.Context, *admin.TaskCreateRequest) (*admin.TaskCreateResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.Task` definition. + GetTask(context.Context, *admin.ObjectGetRequest) (*admin.Task, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. + ListTaskIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. + ListTasks(context.Context, *admin.ResourceListRequest) (*admin.TaskList, error) + // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition + CreateWorkflow(context.Context, *admin.WorkflowCreateRequest) (*admin.WorkflowCreateResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. + GetWorkflow(context.Context, *admin.ObjectGetRequest) (*admin.Workflow, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. + ListWorkflowIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. + ListWorkflows(context.Context, *admin.ResourceListRequest) (*admin.WorkflowList, error) + // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition + CreateLaunchPlan(context.Context, *admin.LaunchPlanCreateRequest) (*admin.LaunchPlanCreateResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. + GetLaunchPlan(context.Context, *admin.ObjectGetRequest) (*admin.LaunchPlan, error) + // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. + GetActiveLaunchPlan(context.Context, *admin.ActiveLaunchPlanRequest) (*admin.LaunchPlan, error) + // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. + ListActiveLaunchPlans(context.Context, *admin.ActiveLaunchPlanListRequest) (*admin.LaunchPlanList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. + ListLaunchPlanIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. + ListLaunchPlans(context.Context, *admin.ResourceListRequest) (*admin.LaunchPlanList, error) + // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. + UpdateLaunchPlan(context.Context, *admin.LaunchPlanUpdateRequest) (*admin.LaunchPlanUpdateResponse, error) + // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` + CreateExecution(context.Context, *admin.ExecutionCreateRequest) (*admin.ExecutionCreateResponse, error) + // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` + RelaunchExecution(context.Context, *admin.ExecutionRelaunchRequest) (*admin.ExecutionCreateResponse, error) + // Recreates a previously-run workflow execution that will only start executing from the last known failure point. + // In Recover mode, users cannot change any input parameters or update the version of the execution. + // This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, + // downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. + // See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. + RecoverExecution(context.Context, *admin.ExecutionRecoverRequest) (*admin.ExecutionCreateResponse, error) + // Fetches a :ref:`ref_flyteidl.admin.Execution`. + GetExecution(context.Context, *admin.WorkflowExecutionGetRequest) (*admin.Execution, error) + // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. + UpdateExecution(context.Context, *admin.ExecutionUpdateRequest) (*admin.ExecutionUpdateResponse, error) + // Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. + GetExecutionData(context.Context, *admin.WorkflowExecutionGetDataRequest) (*admin.WorkflowExecutionGetDataResponse, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Execution`. + ListExecutions(context.Context, *admin.ResourceListRequest) (*admin.ExecutionList, error) + // Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. + TerminateExecution(context.Context, *admin.ExecutionTerminateRequest) (*admin.ExecutionTerminateResponse, error) + // Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. + GetNodeExecution(context.Context, *admin.NodeExecutionGetRequest) (*admin.NodeExecution, error) + // Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. + GetDynamicNodeWorkflow(context.Context, *admin.GetDynamicNodeWorkflowRequest) (*admin.DynamicNodeWorkflowResponse, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. + ListNodeExecutions(context.Context, *admin.NodeExecutionListRequest) (*admin.NodeExecutionList, error) + // Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. + ListNodeExecutionsForTask(context.Context, *admin.NodeExecutionForTaskListRequest) (*admin.NodeExecutionList, error) + // Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. + GetNodeExecutionData(context.Context, *admin.NodeExecutionGetDataRequest) (*admin.NodeExecutionGetDataResponse, error) + // Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. + RegisterProject(context.Context, *admin.ProjectRegisterRequest) (*admin.ProjectRegisterResponse, error) + // Updates an existing :ref:`ref_flyteidl.admin.Project` + // flyteidl.admin.Project should be passed but the domains property should be empty; + // it will be ignored in the handler as domains cannot be updated via this API. + UpdateProject(context.Context, *admin.Project) (*admin.ProjectUpdateResponse, error) + // Fetches a list of :ref:`ref_flyteidl.admin.Project` + ListProjects(context.Context, *admin.ProjectListRequest) (*admin.Projects, error) + // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. + CreateWorkflowEvent(context.Context, *admin.WorkflowExecutionEventRequest) (*admin.WorkflowExecutionEventResponse, error) + // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. + CreateNodeEvent(context.Context, *admin.NodeExecutionEventRequest) (*admin.NodeExecutionEventResponse, error) + // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. + CreateTaskEvent(context.Context, *admin.TaskExecutionEventRequest) (*admin.TaskExecutionEventResponse, error) + // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. + GetTaskExecution(context.Context, *admin.TaskExecutionGetRequest) (*admin.TaskExecution, error) + // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. + ListTaskExecutions(context.Context, *admin.TaskExecutionListRequest) (*admin.TaskExecutionList, error) + // Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. + GetTaskExecutionData(context.Context, *admin.TaskExecutionGetDataRequest) (*admin.TaskExecutionGetDataResponse, error) + // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + UpdateProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesUpdateRequest) (*admin.ProjectDomainAttributesUpdateResponse, error) + // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + GetProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesGetRequest) (*admin.ProjectDomainAttributesGetResponse, error) + // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + DeleteProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesDeleteRequest) (*admin.ProjectDomainAttributesDeleteResponse, error) + // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level + UpdateProjectAttributes(context.Context, *admin.ProjectAttributesUpdateRequest) (*admin.ProjectAttributesUpdateResponse, error) + // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + GetProjectAttributes(context.Context, *admin.ProjectAttributesGetRequest) (*admin.ProjectAttributesGetResponse, error) + // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. + DeleteProjectAttributes(context.Context, *admin.ProjectAttributesDeleteRequest) (*admin.ProjectAttributesDeleteResponse, error) + // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + UpdateWorkflowAttributes(context.Context, *admin.WorkflowAttributesUpdateRequest) (*admin.WorkflowAttributesUpdateResponse, error) + // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + GetWorkflowAttributes(context.Context, *admin.WorkflowAttributesGetRequest) (*admin.WorkflowAttributesGetResponse, error) + // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. + DeleteWorkflowAttributes(context.Context, *admin.WorkflowAttributesDeleteRequest) (*admin.WorkflowAttributesDeleteResponse, error) + // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. + ListMatchableAttributes(context.Context, *admin.ListMatchableAttributesRequest) (*admin.ListMatchableAttributesResponse, error) + // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. + ListNamedEntities(context.Context, *admin.NamedEntityListRequest) (*admin.NamedEntityList, error) + // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. + GetNamedEntity(context.Context, *admin.NamedEntityGetRequest) (*admin.NamedEntity, error) + // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. + UpdateNamedEntity(context.Context, *admin.NamedEntityUpdateRequest) (*admin.NamedEntityUpdateResponse, error) + GetVersion(context.Context, *admin.GetVersionRequest) (*admin.GetVersionResponse, error) + // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. + GetDescriptionEntity(context.Context, *admin.ObjectGetRequest) (*admin.DescriptionEntity, error) + // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. + ListDescriptionEntities(context.Context, *admin.DescriptionEntityListRequest) (*admin.DescriptionEntityList, error) + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + GetExecutionMetrics(context.Context, *admin.WorkflowExecutionGetMetricsRequest) (*admin.WorkflowExecutionGetMetricsResponse, error) +} + +// UnimplementedAdminServiceServer should be embedded to have forward compatible implementations. +type UnimplementedAdminServiceServer struct { +} + +func (UnimplementedAdminServiceServer) CreateTask(context.Context, *admin.TaskCreateRequest) (*admin.TaskCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") +} +func (UnimplementedAdminServiceServer) GetTask(context.Context, *admin.ObjectGetRequest) (*admin.Task, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") +} +func (UnimplementedAdminServiceServer) ListTaskIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListTaskIds not implemented") +} +func (UnimplementedAdminServiceServer) ListTasks(context.Context, *admin.ResourceListRequest) (*admin.TaskList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented") +} +func (UnimplementedAdminServiceServer) CreateWorkflow(context.Context, *admin.WorkflowCreateRequest) (*admin.WorkflowCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflow not implemented") +} +func (UnimplementedAdminServiceServer) GetWorkflow(context.Context, *admin.ObjectGetRequest) (*admin.Workflow, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetWorkflow not implemented") +} +func (UnimplementedAdminServiceServer) ListWorkflowIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowIds not implemented") +} +func (UnimplementedAdminServiceServer) ListWorkflows(context.Context, *admin.ResourceListRequest) (*admin.WorkflowList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListWorkflows not implemented") +} +func (UnimplementedAdminServiceServer) CreateLaunchPlan(context.Context, *admin.LaunchPlanCreateRequest) (*admin.LaunchPlanCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateLaunchPlan not implemented") +} +func (UnimplementedAdminServiceServer) GetLaunchPlan(context.Context, *admin.ObjectGetRequest) (*admin.LaunchPlan, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLaunchPlan not implemented") +} +func (UnimplementedAdminServiceServer) GetActiveLaunchPlan(context.Context, *admin.ActiveLaunchPlanRequest) (*admin.LaunchPlan, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetActiveLaunchPlan not implemented") +} +func (UnimplementedAdminServiceServer) ListActiveLaunchPlans(context.Context, *admin.ActiveLaunchPlanListRequest) (*admin.LaunchPlanList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListActiveLaunchPlans not implemented") +} +func (UnimplementedAdminServiceServer) ListLaunchPlanIds(context.Context, *admin.NamedEntityIdentifierListRequest) (*admin.NamedEntityIdentifierList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLaunchPlanIds not implemented") +} +func (UnimplementedAdminServiceServer) ListLaunchPlans(context.Context, *admin.ResourceListRequest) (*admin.LaunchPlanList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLaunchPlans not implemented") +} +func (UnimplementedAdminServiceServer) UpdateLaunchPlan(context.Context, *admin.LaunchPlanUpdateRequest) (*admin.LaunchPlanUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateLaunchPlan not implemented") +} +func (UnimplementedAdminServiceServer) CreateExecution(context.Context, *admin.ExecutionCreateRequest) (*admin.ExecutionCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateExecution not implemented") +} +func (UnimplementedAdminServiceServer) RelaunchExecution(context.Context, *admin.ExecutionRelaunchRequest) (*admin.ExecutionCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RelaunchExecution not implemented") +} +func (UnimplementedAdminServiceServer) RecoverExecution(context.Context, *admin.ExecutionRecoverRequest) (*admin.ExecutionCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RecoverExecution not implemented") +} +func (UnimplementedAdminServiceServer) GetExecution(context.Context, *admin.WorkflowExecutionGetRequest) (*admin.Execution, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExecution not implemented") +} +func (UnimplementedAdminServiceServer) UpdateExecution(context.Context, *admin.ExecutionUpdateRequest) (*admin.ExecutionUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateExecution not implemented") +} +func (UnimplementedAdminServiceServer) GetExecutionData(context.Context, *admin.WorkflowExecutionGetDataRequest) (*admin.WorkflowExecutionGetDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExecutionData not implemented") +} +func (UnimplementedAdminServiceServer) ListExecutions(context.Context, *admin.ResourceListRequest) (*admin.ExecutionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListExecutions not implemented") +} +func (UnimplementedAdminServiceServer) TerminateExecution(context.Context, *admin.ExecutionTerminateRequest) (*admin.ExecutionTerminateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TerminateExecution not implemented") +} +func (UnimplementedAdminServiceServer) GetNodeExecution(context.Context, *admin.NodeExecutionGetRequest) (*admin.NodeExecution, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNodeExecution not implemented") +} +func (UnimplementedAdminServiceServer) GetDynamicNodeWorkflow(context.Context, *admin.GetDynamicNodeWorkflowRequest) (*admin.DynamicNodeWorkflowResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDynamicNodeWorkflow not implemented") +} +func (UnimplementedAdminServiceServer) ListNodeExecutions(context.Context, *admin.NodeExecutionListRequest) (*admin.NodeExecutionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNodeExecutions not implemented") +} +func (UnimplementedAdminServiceServer) ListNodeExecutionsForTask(context.Context, *admin.NodeExecutionForTaskListRequest) (*admin.NodeExecutionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNodeExecutionsForTask not implemented") +} +func (UnimplementedAdminServiceServer) GetNodeExecutionData(context.Context, *admin.NodeExecutionGetDataRequest) (*admin.NodeExecutionGetDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNodeExecutionData not implemented") +} +func (UnimplementedAdminServiceServer) RegisterProject(context.Context, *admin.ProjectRegisterRequest) (*admin.ProjectRegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterProject not implemented") +} +func (UnimplementedAdminServiceServer) UpdateProject(context.Context, *admin.Project) (*admin.ProjectUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateProject not implemented") +} +func (UnimplementedAdminServiceServer) ListProjects(context.Context, *admin.ProjectListRequest) (*admin.Projects, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListProjects not implemented") +} +func (UnimplementedAdminServiceServer) CreateWorkflowEvent(context.Context, *admin.WorkflowExecutionEventRequest) (*admin.WorkflowExecutionEventResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowEvent not implemented") +} +func (UnimplementedAdminServiceServer) CreateNodeEvent(context.Context, *admin.NodeExecutionEventRequest) (*admin.NodeExecutionEventResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNodeEvent not implemented") +} +func (UnimplementedAdminServiceServer) CreateTaskEvent(context.Context, *admin.TaskExecutionEventRequest) (*admin.TaskExecutionEventResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTaskEvent not implemented") +} +func (UnimplementedAdminServiceServer) GetTaskExecution(context.Context, *admin.TaskExecutionGetRequest) (*admin.TaskExecution, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTaskExecution not implemented") +} +func (UnimplementedAdminServiceServer) ListTaskExecutions(context.Context, *admin.TaskExecutionListRequest) (*admin.TaskExecutionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListTaskExecutions not implemented") +} +func (UnimplementedAdminServiceServer) GetTaskExecutionData(context.Context, *admin.TaskExecutionGetDataRequest) (*admin.TaskExecutionGetDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTaskExecutionData not implemented") +} +func (UnimplementedAdminServiceServer) UpdateProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesUpdateRequest) (*admin.ProjectDomainAttributesUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectDomainAttributes not implemented") +} +func (UnimplementedAdminServiceServer) GetProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesGetRequest) (*admin.ProjectDomainAttributesGetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetProjectDomainAttributes not implemented") +} +func (UnimplementedAdminServiceServer) DeleteProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesDeleteRequest) (*admin.ProjectDomainAttributesDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteProjectDomainAttributes not implemented") +} +func (UnimplementedAdminServiceServer) UpdateProjectAttributes(context.Context, *admin.ProjectAttributesUpdateRequest) (*admin.ProjectAttributesUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectAttributes not implemented") +} +func (UnimplementedAdminServiceServer) GetProjectAttributes(context.Context, *admin.ProjectAttributesGetRequest) (*admin.ProjectAttributesGetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetProjectAttributes not implemented") +} +func (UnimplementedAdminServiceServer) DeleteProjectAttributes(context.Context, *admin.ProjectAttributesDeleteRequest) (*admin.ProjectAttributesDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteProjectAttributes not implemented") +} +func (UnimplementedAdminServiceServer) UpdateWorkflowAttributes(context.Context, *admin.WorkflowAttributesUpdateRequest) (*admin.WorkflowAttributesUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowAttributes not implemented") +} +func (UnimplementedAdminServiceServer) GetWorkflowAttributes(context.Context, *admin.WorkflowAttributesGetRequest) (*admin.WorkflowAttributesGetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowAttributes not implemented") +} +func (UnimplementedAdminServiceServer) DeleteWorkflowAttributes(context.Context, *admin.WorkflowAttributesDeleteRequest) (*admin.WorkflowAttributesDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowAttributes not implemented") +} +func (UnimplementedAdminServiceServer) ListMatchableAttributes(context.Context, *admin.ListMatchableAttributesRequest) (*admin.ListMatchableAttributesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListMatchableAttributes not implemented") +} +func (UnimplementedAdminServiceServer) ListNamedEntities(context.Context, *admin.NamedEntityListRequest) (*admin.NamedEntityList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNamedEntities not implemented") +} +func (UnimplementedAdminServiceServer) GetNamedEntity(context.Context, *admin.NamedEntityGetRequest) (*admin.NamedEntity, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamedEntity not implemented") +} +func (UnimplementedAdminServiceServer) UpdateNamedEntity(context.Context, *admin.NamedEntityUpdateRequest) (*admin.NamedEntityUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNamedEntity not implemented") +} +func (UnimplementedAdminServiceServer) GetVersion(context.Context, *admin.GetVersionRequest) (*admin.GetVersionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") +} +func (UnimplementedAdminServiceServer) GetDescriptionEntity(context.Context, *admin.ObjectGetRequest) (*admin.DescriptionEntity, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDescriptionEntity not implemented") +} +func (UnimplementedAdminServiceServer) ListDescriptionEntities(context.Context, *admin.DescriptionEntityListRequest) (*admin.DescriptionEntityList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListDescriptionEntities not implemented") +} +func (UnimplementedAdminServiceServer) GetExecutionMetrics(context.Context, *admin.WorkflowExecutionGetMetricsRequest) (*admin.WorkflowExecutionGetMetricsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExecutionMetrics not implemented") +} + +// UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AdminServiceServer will +// result in compilation errors. +type UnsafeAdminServiceServer interface { + mustEmbedUnimplementedAdminServiceServer() +} + +func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer) { + s.RegisterService(&AdminService_ServiceDesc, srv) +} + +func _AdminService_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.TaskCreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).CreateTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_CreateTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).CreateTask(ctx, req.(*admin.TaskCreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ObjectGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetTask(ctx, req.(*admin.ObjectGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListTaskIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NamedEntityIdentifierListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListTaskIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListTaskIds_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListTaskIds(ctx, req.(*admin.NamedEntityIdentifierListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ResourceListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListTasks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListTasks_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListTasks(ctx, req.(*admin.ResourceListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_CreateWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowCreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).CreateWorkflow(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_CreateWorkflow_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).CreateWorkflow(ctx, req.(*admin.WorkflowCreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ObjectGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetWorkflow(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetWorkflow_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetWorkflow(ctx, req.(*admin.ObjectGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListWorkflowIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NamedEntityIdentifierListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListWorkflowIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListWorkflowIds_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListWorkflowIds(ctx, req.(*admin.NamedEntityIdentifierListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListWorkflows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ResourceListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListWorkflows(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListWorkflows_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListWorkflows(ctx, req.(*admin.ResourceListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_CreateLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.LaunchPlanCreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).CreateLaunchPlan(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_CreateLaunchPlan_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).CreateLaunchPlan(ctx, req.(*admin.LaunchPlanCreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ObjectGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetLaunchPlan(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetLaunchPlan_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetLaunchPlan(ctx, req.(*admin.ObjectGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetActiveLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ActiveLaunchPlanRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetActiveLaunchPlan(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetActiveLaunchPlan_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetActiveLaunchPlan(ctx, req.(*admin.ActiveLaunchPlanRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListActiveLaunchPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ActiveLaunchPlanListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListActiveLaunchPlans(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListActiveLaunchPlans_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListActiveLaunchPlans(ctx, req.(*admin.ActiveLaunchPlanListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListLaunchPlanIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NamedEntityIdentifierListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListLaunchPlanIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListLaunchPlanIds_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListLaunchPlanIds(ctx, req.(*admin.NamedEntityIdentifierListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListLaunchPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ResourceListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListLaunchPlans(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListLaunchPlans_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListLaunchPlans(ctx, req.(*admin.ResourceListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_UpdateLaunchPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.LaunchPlanUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateLaunchPlan(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_UpdateLaunchPlan_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateLaunchPlan(ctx, req.(*admin.LaunchPlanUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_CreateExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ExecutionCreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).CreateExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_CreateExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).CreateExecution(ctx, req.(*admin.ExecutionCreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_RelaunchExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ExecutionRelaunchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).RelaunchExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_RelaunchExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).RelaunchExecution(ctx, req.(*admin.ExecutionRelaunchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_RecoverExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ExecutionRecoverRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).RecoverExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_RecoverExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).RecoverExecution(ctx, req.(*admin.ExecutionRecoverRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowExecutionGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetExecution(ctx, req.(*admin.WorkflowExecutionGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_UpdateExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ExecutionUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_UpdateExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateExecution(ctx, req.(*admin.ExecutionUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetExecutionData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowExecutionGetDataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetExecutionData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetExecutionData_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetExecutionData(ctx, req.(*admin.WorkflowExecutionGetDataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ResourceListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListExecutions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListExecutions_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListExecutions(ctx, req.(*admin.ResourceListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_TerminateExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ExecutionTerminateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).TerminateExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_TerminateExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).TerminateExecution(ctx, req.(*admin.ExecutionTerminateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetNodeExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NodeExecutionGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetNodeExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetNodeExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetNodeExecution(ctx, req.(*admin.NodeExecutionGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetDynamicNodeWorkflow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.GetDynamicNodeWorkflowRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetDynamicNodeWorkflow(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetDynamicNodeWorkflow_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetDynamicNodeWorkflow(ctx, req.(*admin.GetDynamicNodeWorkflowRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListNodeExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NodeExecutionListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListNodeExecutions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListNodeExecutions_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListNodeExecutions(ctx, req.(*admin.NodeExecutionListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListNodeExecutionsForTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NodeExecutionForTaskListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListNodeExecutionsForTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListNodeExecutionsForTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListNodeExecutionsForTask(ctx, req.(*admin.NodeExecutionForTaskListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetNodeExecutionData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NodeExecutionGetDataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetNodeExecutionData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetNodeExecutionData_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetNodeExecutionData(ctx, req.(*admin.NodeExecutionGetDataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_RegisterProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectRegisterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).RegisterProject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_RegisterProject_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).RegisterProject(ctx, req.(*admin.ProjectRegisterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_UpdateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.Project) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateProject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_UpdateProject_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateProject(ctx, req.(*admin.Project)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListProjects(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListProjects_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListProjects(ctx, req.(*admin.ProjectListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_CreateWorkflowEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowExecutionEventRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).CreateWorkflowEvent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_CreateWorkflowEvent_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).CreateWorkflowEvent(ctx, req.(*admin.WorkflowExecutionEventRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_CreateNodeEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NodeExecutionEventRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).CreateNodeEvent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_CreateNodeEvent_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).CreateNodeEvent(ctx, req.(*admin.NodeExecutionEventRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_CreateTaskEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.TaskExecutionEventRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).CreateTaskEvent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_CreateTaskEvent_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).CreateTaskEvent(ctx, req.(*admin.TaskExecutionEventRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetTaskExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.TaskExecutionGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetTaskExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetTaskExecution_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetTaskExecution(ctx, req.(*admin.TaskExecutionGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListTaskExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.TaskExecutionListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListTaskExecutions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListTaskExecutions_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListTaskExecutions(ctx, req.(*admin.TaskExecutionListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetTaskExecutionData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.TaskExecutionGetDataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetTaskExecutionData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetTaskExecutionData_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetTaskExecutionData(ctx, req.(*admin.TaskExecutionGetDataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_UpdateProjectDomainAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectDomainAttributesUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateProjectDomainAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_UpdateProjectDomainAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateProjectDomainAttributes(ctx, req.(*admin.ProjectDomainAttributesUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetProjectDomainAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectDomainAttributesGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetProjectDomainAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetProjectDomainAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetProjectDomainAttributes(ctx, req.(*admin.ProjectDomainAttributesGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_DeleteProjectDomainAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectDomainAttributesDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).DeleteProjectDomainAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_DeleteProjectDomainAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).DeleteProjectDomainAttributes(ctx, req.(*admin.ProjectDomainAttributesDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_UpdateProjectAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectAttributesUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateProjectAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_UpdateProjectAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateProjectAttributes(ctx, req.(*admin.ProjectAttributesUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetProjectAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectAttributesGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetProjectAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetProjectAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetProjectAttributes(ctx, req.(*admin.ProjectAttributesGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_DeleteProjectAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectAttributesDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).DeleteProjectAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_DeleteProjectAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).DeleteProjectAttributes(ctx, req.(*admin.ProjectAttributesDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_UpdateWorkflowAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowAttributesUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateWorkflowAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_UpdateWorkflowAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateWorkflowAttributes(ctx, req.(*admin.WorkflowAttributesUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetWorkflowAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowAttributesGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetWorkflowAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetWorkflowAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetWorkflowAttributes(ctx, req.(*admin.WorkflowAttributesGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_DeleteWorkflowAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowAttributesDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).DeleteWorkflowAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_DeleteWorkflowAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).DeleteWorkflowAttributes(ctx, req.(*admin.WorkflowAttributesDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListMatchableAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ListMatchableAttributesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListMatchableAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListMatchableAttributes_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListMatchableAttributes(ctx, req.(*admin.ListMatchableAttributesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListNamedEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NamedEntityListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListNamedEntities(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListNamedEntities_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListNamedEntities(ctx, req.(*admin.NamedEntityListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetNamedEntity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NamedEntityGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetNamedEntity(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetNamedEntity_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetNamedEntity(ctx, req.(*admin.NamedEntityGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_UpdateNamedEntity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.NamedEntityUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateNamedEntity(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_UpdateNamedEntity_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateNamedEntity(ctx, req.(*admin.NamedEntityUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.GetVersionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetVersion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetVersion_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetVersion(ctx, req.(*admin.GetVersionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetDescriptionEntity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ObjectGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetDescriptionEntity(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetDescriptionEntity_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetDescriptionEntity(ctx, req.(*admin.ObjectGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_ListDescriptionEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.DescriptionEntityListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).ListDescriptionEntities(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_ListDescriptionEntities_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).ListDescriptionEntities(ctx, req.(*admin.DescriptionEntityListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AdminService_GetExecutionMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowExecutionGetMetricsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetExecutionMetrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AdminService_GetExecutionMetrics_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetExecutionMetrics(ctx, req.(*admin.WorkflowExecutionGetMetricsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AdminService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.AdminService", + HandlerType: (*AdminServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateTask", + Handler: _AdminService_CreateTask_Handler, + }, + { + MethodName: "GetTask", + Handler: _AdminService_GetTask_Handler, + }, + { + MethodName: "ListTaskIds", + Handler: _AdminService_ListTaskIds_Handler, + }, + { + MethodName: "ListTasks", + Handler: _AdminService_ListTasks_Handler, + }, + { + MethodName: "CreateWorkflow", + Handler: _AdminService_CreateWorkflow_Handler, + }, + { + MethodName: "GetWorkflow", + Handler: _AdminService_GetWorkflow_Handler, + }, + { + MethodName: "ListWorkflowIds", + Handler: _AdminService_ListWorkflowIds_Handler, + }, + { + MethodName: "ListWorkflows", + Handler: _AdminService_ListWorkflows_Handler, + }, + { + MethodName: "CreateLaunchPlan", + Handler: _AdminService_CreateLaunchPlan_Handler, + }, + { + MethodName: "GetLaunchPlan", + Handler: _AdminService_GetLaunchPlan_Handler, + }, + { + MethodName: "GetActiveLaunchPlan", + Handler: _AdminService_GetActiveLaunchPlan_Handler, + }, + { + MethodName: "ListActiveLaunchPlans", + Handler: _AdminService_ListActiveLaunchPlans_Handler, + }, + { + MethodName: "ListLaunchPlanIds", + Handler: _AdminService_ListLaunchPlanIds_Handler, + }, + { + MethodName: "ListLaunchPlans", + Handler: _AdminService_ListLaunchPlans_Handler, + }, + { + MethodName: "UpdateLaunchPlan", + Handler: _AdminService_UpdateLaunchPlan_Handler, + }, + { + MethodName: "CreateExecution", + Handler: _AdminService_CreateExecution_Handler, + }, + { + MethodName: "RelaunchExecution", + Handler: _AdminService_RelaunchExecution_Handler, + }, + { + MethodName: "RecoverExecution", + Handler: _AdminService_RecoverExecution_Handler, + }, + { + MethodName: "GetExecution", + Handler: _AdminService_GetExecution_Handler, + }, + { + MethodName: "UpdateExecution", + Handler: _AdminService_UpdateExecution_Handler, + }, + { + MethodName: "GetExecutionData", + Handler: _AdminService_GetExecutionData_Handler, + }, + { + MethodName: "ListExecutions", + Handler: _AdminService_ListExecutions_Handler, + }, + { + MethodName: "TerminateExecution", + Handler: _AdminService_TerminateExecution_Handler, + }, + { + MethodName: "GetNodeExecution", + Handler: _AdminService_GetNodeExecution_Handler, + }, + { + MethodName: "GetDynamicNodeWorkflow", + Handler: _AdminService_GetDynamicNodeWorkflow_Handler, + }, + { + MethodName: "ListNodeExecutions", + Handler: _AdminService_ListNodeExecutions_Handler, + }, + { + MethodName: "ListNodeExecutionsForTask", + Handler: _AdminService_ListNodeExecutionsForTask_Handler, + }, + { + MethodName: "GetNodeExecutionData", + Handler: _AdminService_GetNodeExecutionData_Handler, + }, + { + MethodName: "RegisterProject", + Handler: _AdminService_RegisterProject_Handler, + }, + { + MethodName: "UpdateProject", + Handler: _AdminService_UpdateProject_Handler, + }, + { + MethodName: "ListProjects", + Handler: _AdminService_ListProjects_Handler, + }, + { + MethodName: "CreateWorkflowEvent", + Handler: _AdminService_CreateWorkflowEvent_Handler, + }, + { + MethodName: "CreateNodeEvent", + Handler: _AdminService_CreateNodeEvent_Handler, + }, + { + MethodName: "CreateTaskEvent", + Handler: _AdminService_CreateTaskEvent_Handler, + }, + { + MethodName: "GetTaskExecution", + Handler: _AdminService_GetTaskExecution_Handler, + }, + { + MethodName: "ListTaskExecutions", + Handler: _AdminService_ListTaskExecutions_Handler, + }, + { + MethodName: "GetTaskExecutionData", + Handler: _AdminService_GetTaskExecutionData_Handler, + }, + { + MethodName: "UpdateProjectDomainAttributes", + Handler: _AdminService_UpdateProjectDomainAttributes_Handler, + }, + { + MethodName: "GetProjectDomainAttributes", + Handler: _AdminService_GetProjectDomainAttributes_Handler, + }, + { + MethodName: "DeleteProjectDomainAttributes", + Handler: _AdminService_DeleteProjectDomainAttributes_Handler, + }, + { + MethodName: "UpdateProjectAttributes", + Handler: _AdminService_UpdateProjectAttributes_Handler, + }, + { + MethodName: "GetProjectAttributes", + Handler: _AdminService_GetProjectAttributes_Handler, + }, + { + MethodName: "DeleteProjectAttributes", + Handler: _AdminService_DeleteProjectAttributes_Handler, + }, + { + MethodName: "UpdateWorkflowAttributes", + Handler: _AdminService_UpdateWorkflowAttributes_Handler, + }, + { + MethodName: "GetWorkflowAttributes", + Handler: _AdminService_GetWorkflowAttributes_Handler, + }, + { + MethodName: "DeleteWorkflowAttributes", + Handler: _AdminService_DeleteWorkflowAttributes_Handler, + }, + { + MethodName: "ListMatchableAttributes", + Handler: _AdminService_ListMatchableAttributes_Handler, + }, + { + MethodName: "ListNamedEntities", + Handler: _AdminService_ListNamedEntities_Handler, + }, + { + MethodName: "GetNamedEntity", + Handler: _AdminService_GetNamedEntity_Handler, + }, + { + MethodName: "UpdateNamedEntity", + Handler: _AdminService_UpdateNamedEntity_Handler, + }, + { + MethodName: "GetVersion", + Handler: _AdminService_GetVersion_Handler, + }, + { + MethodName: "GetDescriptionEntity", + Handler: _AdminService_GetDescriptionEntity_Handler, + }, + { + MethodName: "ListDescriptionEntities", + Handler: _AdminService_ListDescriptionEntities_Handler, + }, + { + MethodName: "GetExecutionMetrics", + Handler: _AdminService_GetExecutionMetrics_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/admin.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go b/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go index 478c62819c..c9ffc4fa68 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/agent.pb.go @@ -1,410 +1,153 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/service/agent.proto package service import ( - context "context" - fmt "fmt" admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - 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" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// 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 - -func init() { proto.RegisterFile("flyteidl/service/agent.proto", fileDescriptor_f7d1dfd1fb77d2ef) } - -var fileDescriptor_f7d1dfd1fb77d2ef = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xcd, 0x4a, 0x33, 0x31, - 0x14, 0x86, 0xbf, 0x4f, 0x41, 0x25, 0x42, 0xa9, 0xa1, 0x74, 0x31, 0x14, 0x7f, 0x2a, 0xba, 0x73, - 0x82, 0x75, 0x2d, 0x52, 0x15, 0xba, 0x69, 0x37, 0x6a, 0x41, 0xdc, 0xa5, 0xd3, 0x63, 0x0c, 0x9d, - 0x26, 0xe3, 0xe4, 0xb4, 0x50, 0xc4, 0x8d, 0xb7, 0xe0, 0x6d, 0xb9, 0xf3, 0x16, 0xbc, 0x00, 0x2f, - 0x41, 0x9a, 0x99, 0x4c, 0x6b, 0x35, 0x75, 0x57, 0xfa, 0xbc, 0x79, 0xde, 0x30, 0xe7, 0x84, 0xd4, - 0xee, 0xe3, 0x09, 0x82, 0xec, 0xc7, 0xcc, 0x40, 0x3a, 0x96, 0x11, 0x30, 0x2e, 0x40, 0x61, 0x98, - 0xa4, 0x1a, 0x35, 0x2d, 0x3b, 0x1a, 0xe6, 0x34, 0xa8, 0x09, 0xad, 0x45, 0x0c, 0x8c, 0x27, 0x92, - 0x71, 0xa5, 0x34, 0x72, 0x94, 0x5a, 0x99, 0x2c, 0x1f, 0x04, 0x85, 0x8d, 0xf7, 0x87, 0x52, 0xcd, - 0xbb, 0x1a, 0x6f, 0xab, 0x64, 0xab, 0x69, 0x26, 0x2a, 0x6a, 0x4e, 0xff, 0xbc, 0xce, 0x7c, 0xb4, - 0x4b, 0xc8, 0x45, 0x0a, 0x1c, 0xe1, 0x86, 0x9b, 0x01, 0xdd, 0x0b, 0x8b, 0x42, 0x2b, 0x08, 0x67, - 0xec, 0x0a, 0x1e, 0x47, 0x60, 0x30, 0xa8, 0x2f, 0x8b, 0x98, 0x44, 0x2b, 0x03, 0xf5, 0x7f, 0xb4, - 0x4d, 0xd6, 0x5b, 0x80, 0xd6, 0xb9, 0xbd, 0x78, 0x20, 0x07, 0x4e, 0xb8, 0xe3, 0xe5, 0x85, 0xad, - 0x4b, 0xc8, 0x25, 0xc4, 0xe0, 0xbb, 0xe4, 0x8c, 0x79, 0x2f, 0x39, 0x1f, 0x29, 0xb4, 0x9c, 0x94, - 0xf2, 0xae, 0x0e, 0x60, 0x2a, 0x23, 0x43, 0x0f, 0x3c, 0x77, 0xc9, 0xb9, 0xd3, 0x1f, 0xfe, 0x15, - 0x2b, 0x2a, 0x6e, 0xc9, 0x66, 0xce, 0xda, 0x5a, 0x18, 0x5a, 0xf7, 0x1c, 0x9c, 0x42, 0x27, 0xdf, - 0x5f, 0x9a, 0x71, 0xe6, 0xc6, 0xe7, 0x7f, 0x52, 0xb1, 0x93, 0xec, 0x00, 0xf2, 0x3e, 0x47, 0xee, - 0x26, 0x3a, 0x20, 0x1b, 0x2d, 0x40, 0x8b, 0xe8, 0x6f, 0xdf, 0xd6, 0x12, 0x57, 0xb6, 0xeb, 0x0f, - 0xe4, 0x4d, 0xb5, 0x97, 0xf7, 0x8f, 0xd7, 0x95, 0x2a, 0xad, 0xd8, 0x95, 0x1b, 0x1f, 0x67, 0x3b, - 0xc5, 0x9e, 0x14, 0x1f, 0xc2, 0x33, 0x1d, 0x10, 0xd2, 0x96, 0x26, 0x3b, 0x62, 0x7e, 0x4e, 0x66, - 0xc6, 0xbc, 0x93, 0x99, 0x8f, 0xe4, 0x95, 0x55, 0x5b, 0x59, 0xa6, 0xa5, 0x6f, 0x95, 0xe6, 0xfc, - 0xec, 0xee, 0x54, 0x48, 0x7c, 0x18, 0xf5, 0xc2, 0x48, 0x0f, 0x99, 0xf5, 0xe8, 0x54, 0x64, 0x3f, - 0x58, 0xb1, 0xf9, 0x02, 0x14, 0x4b, 0x7a, 0x47, 0x42, 0xb3, 0xc5, 0xa7, 0xd5, 0x5b, 0xb3, 0x2f, - 0xe1, 0xe4, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x64, 0x33, 0x1f, 0x2d, 0x75, 0x03, 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 - -// AsyncAgentServiceClient is the client API for AsyncAgentService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AsyncAgentServiceClient interface { - // Send a task create request to the agent server. - CreateTask(ctx context.Context, in *admin.CreateTaskRequest, opts ...grpc.CallOption) (*admin.CreateTaskResponse, error) - // Get job status. - GetTask(ctx context.Context, in *admin.GetTaskRequest, opts ...grpc.CallOption) (*admin.GetTaskResponse, error) - // Delete the task resource. - DeleteTask(ctx context.Context, in *admin.DeleteTaskRequest, opts ...grpc.CallOption) (*admin.DeleteTaskResponse, error) - // GetTaskMetrics returns one or more task execution metrics, if available. - // - // Errors include - // * OutOfRange if metrics are not available for the specified task time range - // * various other errors - GetTaskMetrics(ctx context.Context, in *admin.GetTaskMetricsRequest, opts ...grpc.CallOption) (*admin.GetTaskMetricsResponse, error) - // GetTaskLogs returns task execution logs, if available. - GetTaskLogs(ctx context.Context, in *admin.GetTaskLogsRequest, opts ...grpc.CallOption) (*admin.GetTaskLogsResponse, error) -} - -type asyncAgentServiceClient struct { - cc *grpc.ClientConn -} - -func NewAsyncAgentServiceClient(cc *grpc.ClientConn) AsyncAgentServiceClient { - return &asyncAgentServiceClient{cc} -} - -func (c *asyncAgentServiceClient) CreateTask(ctx context.Context, in *admin.CreateTaskRequest, opts ...grpc.CallOption) (*admin.CreateTaskResponse, error) { - out := new(admin.CreateTaskResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AsyncAgentService/CreateTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *asyncAgentServiceClient) GetTask(ctx context.Context, in *admin.GetTaskRequest, opts ...grpc.CallOption) (*admin.GetTaskResponse, error) { - out := new(admin.GetTaskResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AsyncAgentService/GetTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *asyncAgentServiceClient) DeleteTask(ctx context.Context, in *admin.DeleteTaskRequest, opts ...grpc.CallOption) (*admin.DeleteTaskResponse, error) { - out := new(admin.DeleteTaskResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AsyncAgentService/DeleteTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *asyncAgentServiceClient) GetTaskMetrics(ctx context.Context, in *admin.GetTaskMetricsRequest, opts ...grpc.CallOption) (*admin.GetTaskMetricsResponse, error) { - out := new(admin.GetTaskMetricsResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AsyncAgentService/GetTaskMetrics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *asyncAgentServiceClient) GetTaskLogs(ctx context.Context, in *admin.GetTaskLogsRequest, opts ...grpc.CallOption) (*admin.GetTaskLogsResponse, error) { - out := new(admin.GetTaskLogsResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AsyncAgentService/GetTaskLogs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AsyncAgentServiceServer is the server API for AsyncAgentService service. -type AsyncAgentServiceServer interface { - // Send a task create request to the agent server. - CreateTask(context.Context, *admin.CreateTaskRequest) (*admin.CreateTaskResponse, error) - // Get job status. - GetTask(context.Context, *admin.GetTaskRequest) (*admin.GetTaskResponse, error) - // Delete the task resource. - DeleteTask(context.Context, *admin.DeleteTaskRequest) (*admin.DeleteTaskResponse, error) - // GetTaskMetrics returns one or more task execution metrics, if available. - // - // Errors include - // * OutOfRange if metrics are not available for the specified task time range - // * various other errors - GetTaskMetrics(context.Context, *admin.GetTaskMetricsRequest) (*admin.GetTaskMetricsResponse, error) - // GetTaskLogs returns task execution logs, if available. - GetTaskLogs(context.Context, *admin.GetTaskLogsRequest) (*admin.GetTaskLogsResponse, error) -} - -// UnimplementedAsyncAgentServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAsyncAgentServiceServer struct { -} - -func (*UnimplementedAsyncAgentServiceServer) CreateTask(ctx context.Context, req *admin.CreateTaskRequest) (*admin.CreateTaskResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") -} -func (*UnimplementedAsyncAgentServiceServer) GetTask(ctx context.Context, req *admin.GetTaskRequest) (*admin.GetTaskResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") -} -func (*UnimplementedAsyncAgentServiceServer) DeleteTask(ctx context.Context, req *admin.DeleteTaskRequest) (*admin.DeleteTaskResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") -} -func (*UnimplementedAsyncAgentServiceServer) GetTaskMetrics(ctx context.Context, req *admin.GetTaskMetricsRequest) (*admin.GetTaskMetricsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTaskMetrics not implemented") -} -func (*UnimplementedAsyncAgentServiceServer) GetTaskLogs(ctx context.Context, req *admin.GetTaskLogsRequest) (*admin.GetTaskLogsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTaskLogs not implemented") -} - -func RegisterAsyncAgentServiceServer(s *grpc.Server, srv AsyncAgentServiceServer) { - s.RegisterService(&_AsyncAgentService_serviceDesc, srv) -} - -func _AsyncAgentService_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.CreateTaskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AsyncAgentServiceServer).CreateTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AsyncAgentService/CreateTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AsyncAgentServiceServer).CreateTask(ctx, req.(*admin.CreateTaskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AsyncAgentService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.GetTaskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AsyncAgentServiceServer).GetTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AsyncAgentService/GetTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AsyncAgentServiceServer).GetTask(ctx, req.(*admin.GetTaskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AsyncAgentService_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.DeleteTaskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AsyncAgentServiceServer).DeleteTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AsyncAgentService/DeleteTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AsyncAgentServiceServer).DeleteTask(ctx, req.(*admin.DeleteTaskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AsyncAgentService_GetTaskMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.GetTaskMetricsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AsyncAgentServiceServer).GetTaskMetrics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AsyncAgentService/GetTaskMetrics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AsyncAgentServiceServer).GetTaskMetrics(ctx, req.(*admin.GetTaskMetricsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AsyncAgentService_GetTaskLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.GetTaskLogsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AsyncAgentServiceServer).GetTaskLogs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AsyncAgentService/GetTaskLogs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AsyncAgentServiceServer).GetTaskLogs(ctx, req.(*admin.GetTaskLogsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AsyncAgentService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.AsyncAgentService", - HandlerType: (*AsyncAgentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTask", - Handler: _AsyncAgentService_CreateTask_Handler, - }, - { - MethodName: "GetTask", - Handler: _AsyncAgentService_GetTask_Handler, - }, - { - MethodName: "DeleteTask", - Handler: _AsyncAgentService_DeleteTask_Handler, - }, - { - MethodName: "GetTaskMetrics", - Handler: _AsyncAgentService_GetTaskMetrics_Handler, - }, - { - MethodName: "GetTaskLogs", - Handler: _AsyncAgentService_GetTaskLogs_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/agent.proto", -} - -// AgentMetadataServiceClient is the client API for AgentMetadataService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AgentMetadataServiceClient interface { - // Fetch a :ref:`ref_flyteidl.admin.Agent` definition. - GetAgent(ctx context.Context, in *admin.GetAgentRequest, opts ...grpc.CallOption) (*admin.GetAgentResponse, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. - ListAgents(ctx context.Context, in *admin.ListAgentsRequest, opts ...grpc.CallOption) (*admin.ListAgentsResponse, error) -} - -type agentMetadataServiceClient struct { - cc *grpc.ClientConn -} - -func NewAgentMetadataServiceClient(cc *grpc.ClientConn) AgentMetadataServiceClient { - return &agentMetadataServiceClient{cc} -} - -func (c *agentMetadataServiceClient) GetAgent(ctx context.Context, in *admin.GetAgentRequest, opts ...grpc.CallOption) (*admin.GetAgentResponse, error) { - out := new(admin.GetAgentResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AgentMetadataService/GetAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentMetadataServiceClient) ListAgents(ctx context.Context, in *admin.ListAgentsRequest, opts ...grpc.CallOption) (*admin.ListAgentsResponse, error) { - out := new(admin.ListAgentsResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AgentMetadataService/ListAgents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AgentMetadataServiceServer is the server API for AgentMetadataService service. -type AgentMetadataServiceServer interface { - // Fetch a :ref:`ref_flyteidl.admin.Agent` definition. - GetAgent(context.Context, *admin.GetAgentRequest) (*admin.GetAgentResponse, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. - ListAgents(context.Context, *admin.ListAgentsRequest) (*admin.ListAgentsResponse, error) -} - -// UnimplementedAgentMetadataServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAgentMetadataServiceServer struct { -} - -func (*UnimplementedAgentMetadataServiceServer) GetAgent(ctx context.Context, req *admin.GetAgentRequest) (*admin.GetAgentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAgent not implemented") -} -func (*UnimplementedAgentMetadataServiceServer) ListAgents(ctx context.Context, req *admin.ListAgentsRequest) (*admin.ListAgentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAgents not implemented") -} - -func RegisterAgentMetadataServiceServer(s *grpc.Server, srv AgentMetadataServiceServer) { - s.RegisterService(&_AgentMetadataService_serviceDesc, srv) -} - -func _AgentMetadataService_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.GetAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentMetadataServiceServer).GetAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AgentMetadataService/GetAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentMetadataServiceServer).GetAgent(ctx, req.(*admin.GetAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AgentMetadataService_ListAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.ListAgentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentMetadataServiceServer).ListAgents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AgentMetadataService/ListAgents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentMetadataServiceServer).ListAgents(ctx, req.(*admin.ListAgentsRequest)) - } - return interceptor(ctx, in, info, handler) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -var _AgentMetadataService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.AgentMetadataService", - HandlerType: (*AgentMetadataServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAgent", - Handler: _AgentMetadataService_GetAgent_Handler, - }, - { - MethodName: "ListAgents", - Handler: _AgentMetadataService_ListAgents_Handler, +var File_flyteidl_service_agent_proto protoreflect.FileDescriptor + +var file_flyteidl_service_agent_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xcc, 0x03, 0x0a, 0x11, 0x41, + 0x73, 0x79, 0x6e, 0x63, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x55, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x21, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x73, 0x6b, 0x12, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, + 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0e, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x25, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x58, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x22, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0xf0, 0x01, 0x0a, 0x14, 0x41, 0x67, + 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1f, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, + 0x6b, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x22, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x42, 0xc2, 0x01, 0x0a, + 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x0a, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, + 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x53, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xca, 0x02, 0x10, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xe2, 0x02, + 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_flyteidl_service_agent_proto_goTypes = []interface{}{ + (*admin.CreateTaskRequest)(nil), // 0: flyteidl.admin.CreateTaskRequest + (*admin.GetTaskRequest)(nil), // 1: flyteidl.admin.GetTaskRequest + (*admin.DeleteTaskRequest)(nil), // 2: flyteidl.admin.DeleteTaskRequest + (*admin.GetTaskMetricsRequest)(nil), // 3: flyteidl.admin.GetTaskMetricsRequest + (*admin.GetTaskLogsRequest)(nil), // 4: flyteidl.admin.GetTaskLogsRequest + (*admin.GetAgentRequest)(nil), // 5: flyteidl.admin.GetAgentRequest + (*admin.ListAgentsRequest)(nil), // 6: flyteidl.admin.ListAgentsRequest + (*admin.CreateTaskResponse)(nil), // 7: flyteidl.admin.CreateTaskResponse + (*admin.GetTaskResponse)(nil), // 8: flyteidl.admin.GetTaskResponse + (*admin.DeleteTaskResponse)(nil), // 9: flyteidl.admin.DeleteTaskResponse + (*admin.GetTaskMetricsResponse)(nil), // 10: flyteidl.admin.GetTaskMetricsResponse + (*admin.GetTaskLogsResponse)(nil), // 11: flyteidl.admin.GetTaskLogsResponse + (*admin.GetAgentResponse)(nil), // 12: flyteidl.admin.GetAgentResponse + (*admin.ListAgentsResponse)(nil), // 13: flyteidl.admin.ListAgentsResponse +} +var file_flyteidl_service_agent_proto_depIdxs = []int32{ + 0, // 0: flyteidl.service.AsyncAgentService.CreateTask:input_type -> flyteidl.admin.CreateTaskRequest + 1, // 1: flyteidl.service.AsyncAgentService.GetTask:input_type -> flyteidl.admin.GetTaskRequest + 2, // 2: flyteidl.service.AsyncAgentService.DeleteTask:input_type -> flyteidl.admin.DeleteTaskRequest + 3, // 3: flyteidl.service.AsyncAgentService.GetTaskMetrics:input_type -> flyteidl.admin.GetTaskMetricsRequest + 4, // 4: flyteidl.service.AsyncAgentService.GetTaskLogs:input_type -> flyteidl.admin.GetTaskLogsRequest + 5, // 5: flyteidl.service.AgentMetadataService.GetAgent:input_type -> flyteidl.admin.GetAgentRequest + 6, // 6: flyteidl.service.AgentMetadataService.ListAgents:input_type -> flyteidl.admin.ListAgentsRequest + 7, // 7: flyteidl.service.AsyncAgentService.CreateTask:output_type -> flyteidl.admin.CreateTaskResponse + 8, // 8: flyteidl.service.AsyncAgentService.GetTask:output_type -> flyteidl.admin.GetTaskResponse + 9, // 9: flyteidl.service.AsyncAgentService.DeleteTask:output_type -> flyteidl.admin.DeleteTaskResponse + 10, // 10: flyteidl.service.AsyncAgentService.GetTaskMetrics:output_type -> flyteidl.admin.GetTaskMetricsResponse + 11, // 11: flyteidl.service.AsyncAgentService.GetTaskLogs:output_type -> flyteidl.admin.GetTaskLogsResponse + 12, // 12: flyteidl.service.AgentMetadataService.GetAgent:output_type -> flyteidl.admin.GetAgentResponse + 13, // 13: flyteidl.service.AgentMetadataService.ListAgents:output_type -> flyteidl.admin.ListAgentsResponse + 7, // [7:14] is the sub-list for method output_type + 0, // [0:7] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_service_agent_proto_init() } +func file_flyteidl_service_agent_proto_init() { + if File_flyteidl_service_agent_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_service_agent_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 2, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/agent.proto", + GoTypes: file_flyteidl_service_agent_proto_goTypes, + DependencyIndexes: file_flyteidl_service_agent_proto_depIdxs, + }.Build() + File_flyteidl_service_agent_proto = out.File + file_flyteidl_service_agent_proto_rawDesc = nil + file_flyteidl_service_agent_proto_goTypes = nil + file_flyteidl_service_agent_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/agent.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/service/agent.pb.gw.go deleted file mode 100644 index 33e7c2fb7f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/agent.pb.gw.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: flyteidl/service/agent.proto - -/* -Package service is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package service - -import ( - "context" - "io" - "net/http" - - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "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 - -func request_AgentMetadataService_GetAgent_0(ctx context.Context, marshaler runtime.Marshaler, client AgentMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.GetAgentRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") - } - - protoReq.Name, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) - } - - msg, err := client.GetAgent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AgentMetadataService_ListAgents_0(ctx context.Context, marshaler runtime.Marshaler, client AgentMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.ListAgentsRequest - var metadata runtime.ServerMetadata - - msg, err := client.ListAgents(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -// RegisterAgentMetadataServiceHandlerFromEndpoint is same as RegisterAgentMetadataServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterAgentMetadataServiceHandlerFromEndpoint(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 RegisterAgentMetadataServiceHandler(ctx, mux, conn) -} - -// RegisterAgentMetadataServiceHandler registers the http handlers for service AgentMetadataService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterAgentMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterAgentMetadataServiceHandlerClient(ctx, mux, NewAgentMetadataServiceClient(conn)) -} - -// RegisterAgentMetadataServiceHandlerClient registers the http handlers for service AgentMetadataService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AgentMetadataServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AgentMetadataServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "AgentMetadataServiceClient" to call the correct interceptors. -func RegisterAgentMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AgentMetadataServiceClient) error { - - mux.Handle("GET", pattern_AgentMetadataService_GetAgent_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_AgentMetadataService_GetAgent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AgentMetadataService_GetAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AgentMetadataService_ListAgents_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_AgentMetadataService_ListAgents_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AgentMetadataService_ListAgents_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_AgentMetadataService_GetAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "agent", "name"}, "")) - - pattern_AgentMetadataService_ListAgents_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "agents"}, "")) -) - -var ( - forward_AgentMetadataService_GetAgent_0 = runtime.ForwardResponseMessage - - forward_AgentMetadataService_ListAgents_0 = runtime.ForwardResponseMessage -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json deleted file mode 100644 index dace78dac7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json +++ /dev/null @@ -1,1626 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/service/agent.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/api/v1/agent/{name}": { - "get": { - "summary": "Send a task create request to the agent server.", - "operationId": "GetAgent", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminGetAgentResponse" - } - } - }, - "parameters": [ - { - "name": "name", - "description": "The name of the agent.", - "in": "path", - "required": true, - "type": "string" - } - ], - "tags": [ - "AgentMetadataService" - ] - } - }, - "/api/v1/agents": { - "get": { - "summary": "Get job status.", - "operationId": "ListAgents", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminListAgentsResponse" - } - } - }, - "tags": [ - "AgentMetadataService" - ] - } - } - }, - "definitions": { - "BlobTypeBlobDimensionality": { - "type": "string", - "enum": [ - "SINGLE", - "MULTIPART" - ], - "default": "SINGLE" - }, - "ContainerArchitecture": { - "type": "string", - "enum": [ - "UNKNOWN", - "AMD64", - "ARM64", - "ARM_V6", - "ARM_V7" - ], - "default": "UNKNOWN", - "description": "Architecture-type the container image supports." - }, - "DataLoadingConfigLiteralMapFormat": { - "type": "string", - "enum": [ - "JSON", - "YAML", - "PROTO" - ], - "default": "JSON", - "description": "- JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core", - "title": "LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers.\nIf the user has access to the protocol buffer definitions, it is recommended to use the PROTO format.\nJSON and YAML do not need any protobuf definitions to read it\nAll remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)" - }, - "IOStrategyDownloadMode": { - "type": "string", - "enum": [ - "DOWNLOAD_EAGER", - "DOWNLOAD_STREAM", - "DO_NOT_DOWNLOAD" - ], - "default": "DOWNLOAD_EAGER", - "description": "- DOWNLOAD_EAGER: All data will be downloaded before the main container is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded", - "title": "Mode to use for downloading" - }, - "IOStrategyUploadMode": { - "type": "string", - "enum": [ - "UPLOAD_ON_EXIT", - "UPLOAD_EAGER", - "DO_NOT_UPLOAD" - ], - "default": "UPLOAD_ON_EXIT", - "description": "- UPLOAD_ON_EXIT: All data will be uploaded after the main container exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written", - "title": "Mode to use for uploading" - }, - "ResourcesResourceEntry": { - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/ResourcesResourceName", - "description": "Resource name." - }, - "value": { - "type": "string", - "title": "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" - } - }, - "description": "Encapsulates a resource name and value." - }, - "ResourcesResourceName": { - "type": "string", - "enum": [ - "UNKNOWN", - "CPU", - "GPU", - "MEMORY", - "STORAGE", - "EPHEMERAL_STORAGE" - ], - "default": "UNKNOWN", - "description": "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." - }, - "RuntimeMetadataRuntimeType": { - "type": "string", - "enum": [ - "OTHER", - "FLYTE_SDK" - ], - "default": "OTHER" - }, - "SchemaColumnSchemaColumnType": { - "type": "string", - "enum": [ - "INTEGER", - "FLOAT", - "STRING", - "BOOLEAN", - "DATETIME", - "DURATION" - ], - "default": "INTEGER" - }, - "SchemaTypeSchemaColumn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "A unique name -within the schema type- for the column" - }, - "type": { - "$ref": "#/definitions/SchemaColumnSchemaColumnType", - "description": "The column type. This allows a limited set of types currently." - } - } - }, - "SecretMountType": { - "type": "string", - "enum": [ - "ANY", - "ENV_VAR", - "FILE" - ], - "default": "ANY", - "description": " - ANY: Default case, indicates the client can tolerate either mounting options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable.\n - FILE: FILE indicates the secret needs to be mounted as a file." - }, - "SqlDialect": { - "type": "string", - "enum": [ - "UNDEFINED", - "ANSI", - "HIVE", - "OTHER" - ], - "default": "UNDEFINED", - "description": "The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid\nexpensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement.\nWe support the following dialect: ansi, hive." - }, - "StructuredDatasetTypeDatasetColumn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A unique name within the schema type for the column." - }, - "literal_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "The column type." - } - } - }, - "TaskLogMessageFormat": { - "type": "string", - "enum": [ - "UNKNOWN", - "CSV", - "JSON" - ], - "default": "UNKNOWN" - }, - "adminAgent": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name is the developer-assigned name of the agent." - }, - "supported_task_types": { - "type": "array", - "items": { - "type": "string" - }, - "description": "SupportedTaskTypes are the types of the tasks that the agent can handle." - } - }, - "description": "A message containing the agent metadata." - }, - "adminCreateTaskResponse": { - "type": "object", - "properties": { - "resource_meta": { - "type": "string", - "format": "byte" - }, - "resource": { - "$ref": "#/definitions/adminResource" - } - }, - "description": "Represents a create response structure." - }, - "adminDeleteTaskResponse": { - "type": "object", - "description": "Response to delete a task." - }, - "adminGetAgentResponse": { - "type": "object", - "properties": { - "agent": { - "$ref": "#/definitions/adminAgent" - } - }, - "description": "A response containing an agent." - }, - "adminGetTaskLogsResponse": { - "type": "object", - "properties": { - "results": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The execution log results." - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "description": "A response containing the logs for a task execution." - }, - "adminGetTaskMetricsResponse": { - "type": "object", - "properties": { - "results": { - "type": "array", - "items": { - "$ref": "#/definitions/coreExecutionMetricResult" - }, - "description": "The execution metric results." - } - }, - "description": "A response containing a list of metrics for a task execution." - }, - "adminGetTaskResponse": { - "type": "object", - "properties": { - "resource": { - "$ref": "#/definitions/adminResource" - }, - "log_links": { - "type": "array", - "items": { - "$ref": "#/definitions/coreTaskLog" - }, - "title": "log information for the task execution" - } - }, - "description": "Response to get an individual task resource." - }, - "adminListAgentsResponse": { - "type": "object", - "properties": { - "agents": { - "type": "array", - "items": { - "$ref": "#/definitions/adminAgent" - } - } - }, - "description": "A response containing a list of agents." - }, - "adminResource": { - "type": "object", - "properties": { - "state": { - "$ref": "#/definitions/flyteidladminState", - "description": "DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI." - }, - "outputs": { - "$ref": "#/definitions/coreLiteralMap", - "title": "The outputs of the execution. It's typically used by sql task. Agent service will create a\nStructured dataset pointing to the query result table.\n+optional" - }, - "message": { - "type": "string", - "description": "A descriptive message for the current state. e.g. waiting for cluster." - }, - "log_links": { - "type": "array", - "items": { - "$ref": "#/definitions/coreTaskLog" - }, - "description": "log information for the task execution." - }, - "phase": { - "$ref": "#/definitions/coreTaskExecutionPhase", - "description": "The phase of the execution is used to determine the phase of the plugin's execution." - } - } - }, - "coreArtifactBindingData": { - "type": "object", - "properties": { - "index": { - "type": "integer", - "format": "int64" - }, - "partition_key": { - "type": "string" - }, - "bind_to_time_partition": { - "type": "boolean", - "format": "boolean" - }, - "transform": { - "type": "string", - "title": "This is only relevant in the time partition case" - } - }, - "title": "Only valid for triggers" - }, - "coreArtifactID": { - "type": "object", - "properties": { - "artifact_key": { - "$ref": "#/definitions/coreArtifactKey" - }, - "version": { - "type": "string" - }, - "partitions": { - "$ref": "#/definitions/corePartitions", - "description": "Think of a partition as a tag on an Artifact, except it's a key-value pair.\nDifferent partitions naturally have different versions (execution ids)." - }, - "time_partition": { - "$ref": "#/definitions/coreTimePartition", - "description": "There is no such thing as an empty time partition - if it's not set, then there is no time partition." - } - } - }, - "coreArtifactKey": { - "type": "object", - "properties": { - "project": { - "type": "string", - "description": "Project and domain and suffix needs to be unique across a given artifact store." - }, - "domain": { - "type": "string" - }, - "name": { - "type": "string" - } - } - }, - "coreArtifactTag": { - "type": "object", - "properties": { - "artifact_key": { - "$ref": "#/definitions/coreArtifactKey" - }, - "value": { - "$ref": "#/definitions/coreLabelValue" - } - } - }, - "coreBinary": { - "type": "object", - "properties": { - "value": { - "type": "string", - "format": "byte" - }, - "tag": { - "type": "string" - } - }, - "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." - }, - "coreBlob": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/coreBlobMetadata" - }, - "uri": { - "type": "string" - } - }, - "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." - }, - "coreBlobMetadata": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/coreBlobType" - } - } - }, - "coreBlobType": { - "type": "object", - "properties": { - "format": { - "type": "string", - "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" - }, - "dimensionality": { - "$ref": "#/definitions/BlobTypeBlobDimensionality" - } - }, - "title": "Defines type behavior for blob objects" - }, - "coreContainer": { - "type": "object", - "properties": { - "image": { - "type": "string", - "title": "Container image url. Eg: docker/redis:latest" - }, - "command": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Command to be executed, if not provided, the default entrypoint in the container image will be used." - }, - "args": { - "type": "array", - "items": { - "type": "string" - }, - "description": "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still\nneeds flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the\nsystem will populate these before executing the container." - }, - "resources": { - "$ref": "#/definitions/coreResources", - "description": "Container resources requirement as specified by the container engine." - }, - "env": { - "type": "array", - "items": { - "$ref": "#/definitions/coreKeyValuePair" - }, - "description": "Environment variables will be set as the container is starting up." - }, - "config": { - "type": "array", - "items": { - "$ref": "#/definitions/coreKeyValuePair" - }, - "description": "Allows extra configs to be available for the container.\nTODO: elaborate on how configs will become available.\nDeprecated, please use TaskTemplate.config instead." - }, - "ports": { - "type": "array", - "items": { - "$ref": "#/definitions/coreContainerPort" - }, - "title": "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\nOnly K8s" - }, - "data_config": { - "$ref": "#/definitions/coreDataLoadingConfig", - "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" - }, - "architecture": { - "$ref": "#/definitions/ContainerArchitecture" - } - } - }, - "coreContainerPort": { - "type": "object", - "properties": { - "container_port": { - "type": "integer", - "format": "int64", - "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536." - } - }, - "description": "Defines port properties for a container." - }, - "coreDataLoadingConfig": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "format": "boolean", - "title": "Flag enables DataLoading Config. If this is not set, data loading will not be used!" - }, - "input_path": { - "type": "string", - "title": "File system path (start at root). This folder will contain all the inputs exploded to a separate file.\nExample, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like\n/var/flyte/inputs/inputs.\u003cmetadata format dependent -\u003e .pb .json .yaml\u003e -\u003e Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations\n/var/flyte/inputs/x -\u003e X is a file that contains the value of x (integer) in string format\n/var/flyte/inputs/y -\u003e Y is a file in Binary format\n/var/flyte/inputs/z/... -\u003e Note Z itself is a directory\nMore information about the protocol - refer to docs #TODO reference docs here" - }, - "output_path": { - "type": "string", - "title": "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" - }, - "format": { - "$ref": "#/definitions/DataLoadingConfigLiteralMapFormat", - "title": "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.\nThis format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" - }, - "io_strategy": { - "$ref": "#/definitions/coreIOStrategy" - } - }, - "description": "This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path\nAny outputs generated by the user container - within output_path are automatically uploaded." - }, - "coreEnumType": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Predefined set of enum values." - } - }, - "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." - }, - "coreError": { - "type": "object", - "properties": { - "failed_node_id": { - "type": "string", - "description": "The node id that threw the error." - }, - "message": { - "type": "string", - "description": "Error message thrown." - } - }, - "description": "Represents an error thrown from a node." - }, - "coreExecutionMetricResult": { - "type": "object", - "properties": { - "metric": { - "type": "string", - "description": "The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG." - }, - "data": { - "$ref": "#/definitions/protobufStruct", - "title": "The result data in prometheus range query result format\nhttps://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.\nThis may include multiple time series, differentiated by their metric labels.\nStart time is greater of (execution attempt start, 48h ago)\nEnd time is lesser of (execution attempt end, now)" - } - }, - "description": "ExecutionMetrics is a collection of metrics that are collected during the execution of a Flyte task." - }, - "coreExtendedResources": { - "type": "object", - "properties": { - "gpu_accelerator": { - "$ref": "#/definitions/coreGPUAccelerator", - "description": "GPU accelerator to select for task. Contains information about device type, and\nfor multi-instance GPUs, the partition size to use." - } - }, - "description": "Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to\nallocate to a task." - }, - "coreGPUAccelerator": { - "type": "object", - "properties": { - "device": { - "type": "string", - "description": "This can be any arbitrary string, and should be informed by the labels or taints\nassociated with the nodes in question. Default cloud provider labels typically\nuse the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc." - }, - "unpartitioned": { - "type": "boolean", - "format": "boolean" - }, - "partition_size": { - "type": "string", - "description": "Like `device`, this can be any arbitrary string, and should be informed by\nthe labels or taints associated with the nodes in question. Default cloud\nprovider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc." - } - }, - "description": "Metadata associated with the GPU accelerator to allocate to a task. Contains\ninformation about device type, and for multi-instance GPUs, the partition size to\nuse." - }, - "coreIOStrategy": { - "type": "object", - "properties": { - "download_mode": { - "$ref": "#/definitions/IOStrategyDownloadMode", - "title": "Mode to use to manage downloads" - }, - "upload_mode": { - "$ref": "#/definitions/IOStrategyUploadMode", - "title": "Mode to use to manage uploads" - } - }, - "title": "Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)" - }, - "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." - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "description": "Encapsulation of fields that uniquely identifies a Flyte resource." - }, - "coreIdentity": { - "type": "object", - "properties": { - "iam_role": { - "type": "string", - "description": "iam_role references the fully qualified name of Identity \u0026 Access Management role to impersonate." - }, - "k8s_service_account": { - "type": "string", - "description": "k8s_service_account references a kubernetes service account to impersonate." - }, - "oauth2_client": { - "$ref": "#/definitions/coreOAuth2Client", - "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." - }, - "execution_identity": { - "type": "string", - "title": "execution_identity references the subject who makes the execution" - } - }, - "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." - }, - "coreInputBindingData": { - "type": "object", - "properties": { - "var": { - "type": "string" - } - } - }, - "coreK8sObjectMetadata": { - "type": "object", - "properties": { - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Optional labels to add to the pod definition." - }, - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Optional annotations to add to the pod definition." - } - }, - "description": "Metadata for building a kubernetes object when a task is executed." - }, - "coreK8sPod": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/coreK8sObjectMetadata", - "description": "Contains additional metadata for building a kubernetes pod." - }, - "pod_spec": { - "$ref": "#/definitions/protobufStruct", - "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" - }, - "data_config": { - "$ref": "#/definitions/coreDataLoadingConfig", - "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" - } - }, - "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." - }, - "coreKeyValuePair": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "required." - }, - "value": { - "type": "string", - "description": "+optional." - } - }, - "description": "A generic key value pair." - }, - "coreLabelValue": { - "type": "object", - "properties": { - "static_value": { - "type": "string", - "title": "The string static value is for use in the Partitions object" - }, - "time_value": { - "type": "string", - "format": "date-time", - "title": "The time value is for use in the TimePartition case" - }, - "triggered_binding": { - "$ref": "#/definitions/coreArtifactBindingData" - }, - "input_binding": { - "$ref": "#/definitions/coreInputBindingData" - } - } - }, - "coreLiteral": { - "type": "object", - "properties": { - "scalar": { - "$ref": "#/definitions/coreScalar", - "description": "A simple value." - }, - "collection": { - "$ref": "#/definitions/coreLiteralCollection", - "description": "A collection of literals to allow nesting." - }, - "map": { - "$ref": "#/definitions/coreLiteralMap", - "description": "A map of strings to literals." - }, - "hash": { - "type": "string", - "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional metadata for literals." - } - }, - "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." - }, - "coreLiteralCollection": { - "type": "object", - "properties": { - "literals": { - "type": "array", - "items": { - "$ref": "#/definitions/coreLiteral" - } - } - }, - "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." - }, - "coreLiteralMap": { - "type": "object", - "properties": { - "literals": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLiteral" - } - } - }, - "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." - }, - "coreLiteralType": { - "type": "object", - "properties": { - "simple": { - "$ref": "#/definitions/coreSimpleType", - "description": "A simple type that can be compared one-to-one with another." - }, - "schema": { - "$ref": "#/definitions/coreSchemaType", - "description": "A complex type that requires matching of inner fields." - }, - "collection_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." - }, - "map_value_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Defines the type of the value of a map type. The type of the key is always a string." - }, - "blob": { - "$ref": "#/definitions/coreBlobType", - "description": "A blob might have specialized implementation details depending on associated metadata." - }, - "enum_type": { - "$ref": "#/definitions/coreEnumType", - "description": "Defines an enum with pre-defined string values." - }, - "structured_dataset_type": { - "$ref": "#/definitions/coreStructuredDatasetType", - "title": "Generalized schema support" - }, - "union_type": { - "$ref": "#/definitions/coreUnionType", - "description": "Defines an union type with pre-defined LiteralTypes." - }, - "metadata": { - "$ref": "#/definitions/protobufStruct", - "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." - }, - "annotation": { - "$ref": "#/definitions/coreTypeAnnotation", - "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." - }, - "structure": { - "$ref": "#/definitions/coreTypeStructure", - "description": "Hints to improve type matching." - } - }, - "description": "Defines a strong type to allow type checking between interfaces." - }, - "coreNodeExecutionIdentifier": { - "type": "object", - "properties": { - "node_id": { - "type": "string" - }, - "execution_id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier" - } - }, - "description": "Encapsulation of fields that identify a Flyte node execution entity." - }, - "coreOAuth2Client": { - "type": "object", - "properties": { - "client_id": { - "type": "string", - "title": "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the\nsecret requested matches the client_id indicated here.\n+required" - }, - "client_secret": { - "$ref": "#/definitions/coreSecret", - "title": "client_secret is a reference to the secret used to authenticate the OAuth2 client.\n+required" - } - }, - "description": "OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task." - }, - "coreOAuth2TokenRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for\nenvironment variables and as a filename for mounting tokens as files.\n+required" - }, - "type": { - "$ref": "#/definitions/coreOAuth2TokenRequestType", - "title": "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n+required" - }, - "client": { - "$ref": "#/definitions/coreOAuth2Client", - "title": "client references the client_id/secret to use to request the OAuth2 token.\n+required" - }, - "idp_discovery_endpoint": { - "type": "string", - "title": "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related\ninformation.\n+optional" - }, - "token_endpoint": { - "type": "string", - "title": "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is\nmandatory.\n+optional" - } - }, - "description": "OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\ntokens are passed through environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens\nare passed through file mounts." - }, - "coreOAuth2TokenRequestType": { - "type": "string", - "enum": [ - "CLIENT_CREDENTIALS" - ], - "default": "CLIENT_CREDENTIALS", - "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." - }, - "corePartitions": { - "type": "object", - "properties": { - "value": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLabelValue" - } - } - } - }, - "corePrimitive": { - "type": "object", - "properties": { - "integer": { - "type": "string", - "format": "int64" - }, - "float_value": { - "type": "number", - "format": "double" - }, - "string_value": { - "type": "string" - }, - "boolean": { - "type": "boolean", - "format": "boolean" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "string" - } - }, - "title": "Primitive Types" - }, - "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" - }, - "coreResources": { - "type": "object", - "properties": { - "requests": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourcesResourceEntry" - }, - "description": "The desired set of resources requested. ResourceNames must be unique within the list." - }, - "limits": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourcesResourceEntry" - }, - "description": "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique\nwithin the list." - } - }, - "description": "A customizable interface to convey resources requested for a container. This can be interpreted differently for different\ncontainer engines." - }, - "coreRetryStrategy": { - "type": "object", - "properties": { - "retries": { - "type": "integer", - "format": "int64", - "description": "Number of retries. Retries will be consumed when the job fails with a recoverable error.\nThe number of retries must be less than or equals to 10." - } - }, - "description": "Retry strategy associated with an executable unit." - }, - "coreRuntimeMetadata": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/RuntimeMetadataRuntimeType", - "description": "Type of runtime." - }, - "version": { - "type": "string", - "description": "Version of the runtime. All versions should be backward compatible. However, certain cases call for version\nchecks to ensure tighter validation or setting expectations." - }, - "flavor": { - "type": "string", - "description": "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." - } - }, - "description": "Runtime information. This is loosely defined to allow for extensibility." - }, - "coreScalar": { - "type": "object", - "properties": { - "primitive": { - "$ref": "#/definitions/corePrimitive" - }, - "blob": { - "$ref": "#/definitions/coreBlob" - }, - "binary": { - "$ref": "#/definitions/coreBinary" - }, - "schema": { - "$ref": "#/definitions/coreSchema" - }, - "none_type": { - "$ref": "#/definitions/coreVoid" - }, - "error": { - "$ref": "#/definitions/coreError" - }, - "generic": { - "$ref": "#/definitions/protobufStruct" - }, - "structured_dataset": { - "$ref": "#/definitions/coreStructuredDataset" - }, - "union": { - "$ref": "#/definitions/coreUnion" - } - } - }, - "coreSchema": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/coreSchemaType" - } - }, - "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." - }, - "coreSchemaType": { - "type": "object", - "properties": { - "columns": { - "type": "array", - "items": { - "$ref": "#/definitions/SchemaTypeSchemaColumn" - }, - "description": "A list of ordered columns this schema comprises of." - } - }, - "description": "Defines schema columns and types to strongly type-validate schemas interoperability." - }, - "coreSecret": { - "type": "object", - "properties": { - "group": { - "type": "string", - "title": "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of\nthe v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.\nFor AWS Secret Manager, this should be the name of the secret.\n+required" - }, - "group_version": { - "type": "string", - "title": "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones\nthat do not support it.\n+optional" - }, - "key": { - "type": "string", - "title": "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation\nof the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should\nmatch one of the keys inside the secret. For AWS Secret Manager, it's ignored.\n+optional" - }, - "mount_requirement": { - "$ref": "#/definitions/SecretMountType", - "title": "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail\nif the underlying key management system cannot satisfy that requirement. If not provided, the default location\nwill depend on the key management system.\n+optional" - } - }, - "description": "Secret encapsulates information about the secret a task needs to proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\nsecrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets\nare passed through file mounts." - }, - "coreSecurityContext": { - "type": "object", - "properties": { - "run_as": { - "$ref": "#/definitions/coreIdentity", - "description": "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the\nbackend plugin to choose the appropriate identity for the execution engine the task will run on." - }, - "secrets": { - "type": "array", - "items": { - "$ref": "#/definitions/coreSecret" - }, - "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." - }, - "tokens": { - "type": "array", - "items": { - "$ref": "#/definitions/coreOAuth2TokenRequest" - }, - "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." - } - }, - "description": "SecurityContext holds security attributes that apply to tasks." - }, - "coreSimpleType": { - "type": "string", - "enum": [ - "NONE", - "INTEGER", - "FLOAT", - "STRING", - "BOOLEAN", - "DATETIME", - "DURATION", - "BINARY", - "ERROR", - "STRUCT" - ], - "default": "NONE", - "description": "Define a set of simple types." - }, - "coreSql": { - "type": "object", - "properties": { - "statement": { - "type": "string", - "title": "The actual query to run, the query can have templated parameters.\nWe use Flyte's Golang templating format for Query templating.\nRefer to the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\nFor example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" - }, - "dialect": { - "$ref": "#/definitions/SqlDialect" - } - }, - "description": "Sql represents a generic sql workload with a statement and dialect." - }, - "coreStructuredDataset": { - "type": "object", - "properties": { - "uri": { - "type": "string", - "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" - }, - "metadata": { - "$ref": "#/definitions/coreStructuredDatasetMetadata" - } - } - }, - "coreStructuredDatasetMetadata": { - "type": "object", - "properties": { - "structured_dataset_type": { - "$ref": "#/definitions/coreStructuredDatasetType", - "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." - } - } - }, - "coreStructuredDatasetType": { - "type": "object", - "properties": { - "columns": { - "type": "array", - "items": { - "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" - }, - "description": "A list of ordered columns this schema comprises of." - }, - "format": { - "type": "string", - "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." - }, - "external_schema_type": { - "type": "string", - "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." - }, - "external_schema_bytes": { - "type": "string", - "format": "byte", - "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." - } - } - }, - "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." - }, - "coreTaskExecutionPhase": { - "type": "string", - "enum": [ - "UNDEFINED", - "QUEUED", - "RUNNING", - "SUCCEEDED", - "ABORTED", - "FAILED", - "INITIALIZING", - "WAITING_FOR_RESOURCES" - ], - "default": "UNDEFINED", - "title": "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded" - }, - "coreTaskLog": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "name": { - "type": "string" - }, - "message_format": { - "$ref": "#/definitions/TaskLogMessageFormat" - }, - "ttl": { - "type": "string" - } - }, - "title": "Log information for the task that is specific to a log sink\nWhen our log story is flushed out, we may have more metadata here like log link expiry" - }, - "coreTaskMetadata": { - "type": "object", - "properties": { - "discoverable": { - "type": "boolean", - "format": "boolean", - "description": "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." - }, - "runtime": { - "$ref": "#/definitions/coreRuntimeMetadata", - "description": "Runtime information about the task." - }, - "timeout": { - "type": "string", - "description": "The overall timeout of a task including user-triggered retries." - }, - "retries": { - "$ref": "#/definitions/coreRetryStrategy", - "description": "Number of retries per task." - }, - "discovery_version": { - "type": "string", - "description": "Indicates a logical version to apply to this task for the purpose of discovery." - }, - "deprecated_error_message": { - "type": "string", - "description": "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers\nof the ending of support for a given task." - }, - "interruptible": { - "type": "boolean", - "format": "boolean" - }, - "cache_serializable": { - "type": "boolean", - "format": "boolean", - "title": "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" - }, - "generates_deck": { - "type": "boolean", - "format": "boolean", - "description": "Indicates whether the task will generate a Deck URI when it finishes executing." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" - }, - "pod_template_name": { - "type": "string", - "description": "pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this\ntask creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied\nidentically as, the default PodTemplate configured in FlytePropeller." - }, - "cache_ignore_input_vars": { - "type": "array", - "items": { - "type": "string" - }, - "description": "cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache." - } - }, - "title": "Task Metadata" - }, - "coreTaskTemplate": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "description": "Auto generated taskId by the system. Task Id uniquely identifies this task globally." - }, - "type": { - "type": "string", - "description": "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no\nextensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the\nimplementation registered for the TaskCategory." - }, - "metadata": { - "$ref": "#/definitions/coreTaskMetadata", - "description": "Extra metadata about the task." - }, - "interface": { - "$ref": "#/definitions/coreTypedInterface", - "description": "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees\ncompile-time validation of the workflow to avoid costly runtime failures." - }, - "custom": { - "$ref": "#/definitions/protobufStruct", - "description": "Custom data about the task. This is extensible to allow various plugins in the system." - }, - "container": { - "$ref": "#/definitions/coreContainer" - }, - "k8s_pod": { - "$ref": "#/definitions/coreK8sPod" - }, - "sql": { - "$ref": "#/definitions/coreSql" - }, - "task_type_version": { - "type": "integer", - "format": "int32", - "description": "This can be used to customize task handling at execution time for the same task type." - }, - "security_context": { - "$ref": "#/definitions/coreSecurityContext", - "description": "security_context encapsulates security attributes requested to run this task." - }, - "extended_resources": { - "$ref": "#/definitions/coreExtendedResources", - "description": "Encapsulates all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." - }, - "config": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system\nto use as required.\nreserve the field numbers 1 through 15 for very frequently occurring message elements" - } - }, - "description": "A Task structure that uniquely identifies a task in the system\nTasks are registered as a first step in the system." - }, - "coreTimePartition": { - "type": "object", - "properties": { - "value": { - "$ref": "#/definitions/coreLabelValue" - } - } - }, - "coreTypeAnnotation": { - "type": "object", - "properties": { - "annotations": { - "$ref": "#/definitions/protobufStruct", - "description": "A arbitrary JSON payload to describe a type." - } - }, - "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." - }, - "coreTypeStructure": { - "type": "object", - "properties": { - "tag": { - "type": "string", - "title": "Must exactly match for types to be castable" - }, - "dataclass_type": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLiteralType" - }, - "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" - } - }, - "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." - }, - "coreTypedInterface": { - "type": "object", - "properties": { - "inputs": { - "$ref": "#/definitions/coreVariableMap" - }, - "outputs": { - "$ref": "#/definitions/coreVariableMap" - } - }, - "description": "Defines strongly typed inputs and outputs." - }, - "coreUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/definitions/coreLiteral" - }, - "type": { - "$ref": "#/definitions/coreLiteralType" - } - }, - "description": "The runtime representation of a tagged union value. See `UnionType` for more details." - }, - "coreUnionType": { - "type": "object", - "properties": { - "variants": { - "type": "array", - "items": { - "$ref": "#/definitions/coreLiteralType" - }, - "description": "Predefined set of variants in union." - } - }, - "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" - }, - "coreVariable": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Variable literal type." - }, - "description": { - "type": "string", - "title": "+optional string describing input variable" - }, - "artifact_partial_id": { - "$ref": "#/definitions/coreArtifactID", - "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." - }, - "artifact_tag": { - "$ref": "#/definitions/coreArtifactTag" - } - }, - "description": "Defines a strongly typed variable." - }, - "coreVariableMap": { - "type": "object", - "properties": { - "variables": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreVariable" - }, - "description": "Defines a map of variable names to variables." - } - }, - "title": "A map of Variables" - }, - "coreVoid": { - "type": "object", - "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." - }, - "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." - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" - }, - "flyteidladminState": { - "type": "string", - "enum": [ - "RETRYABLE_FAILURE", - "PERMANENT_FAILURE", - "PENDING", - "RUNNING", - "SUCCEEDED" - ], - "default": "RETRYABLE_FAILURE", - "description": "The state of the execution is used to control its visibility in the UI/CLI." - }, - "flyteidladminTaskExecutionMetadata": { - "type": "object", - "properties": { - "task_execution_id": { - "$ref": "#/definitions/coreTaskExecutionIdentifier", - "title": "ID of the task execution" - }, - "namespace": { - "type": "string", - "title": "k8s namespace where the task is executed in" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Labels attached to the task execution" - }, - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Annotations attached to the task execution" - }, - "k8s_service_account": { - "type": "string", - "title": "k8s service account associated with the task execution" - }, - "environment_variables": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Environment variables attached to the task execution" - } - }, - "description": "Represents a subset of runtime task execution metadata that are relevant to external plugins." - }, - "protobufListValue": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Repeated field of dynamically typed values." - } - }, - "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." - }, - "protobufNullValue": { - "type": "string", - "enum": [ - "NULL_VALUE" - ], - "default": "NULL_VALUE", - "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." - }, - "protobufStruct": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Unordered map of dynamically typed values." - } - }, - "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." - }, - "protobufValue": { - "type": "object", - "properties": { - "null_value": { - "$ref": "#/definitions/protobufNullValue", - "description": "Represents a null value." - }, - "number_value": { - "type": "number", - "format": "double", - "description": "Represents a double value." - }, - "string_value": { - "type": "string", - "description": "Represents a string value." - }, - "bool_value": { - "type": "boolean", - "format": "boolean", - "description": "Represents a boolean value." - }, - "struct_value": { - "$ref": "#/definitions/protobufStruct", - "description": "Represents a structured value." - }, - "list_value": { - "$ref": "#/definitions/protobufListValue", - "description": "Represents a repeated `Value`." - } - }, - "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." - } - } -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/agent_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/service/agent_grpc.pb.go new file mode 100644 index 0000000000..67ebe7b012 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/agent_grpc.pb.go @@ -0,0 +1,403 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/service/agent.proto + +package service + +import ( + context "context" + admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + AsyncAgentService_CreateTask_FullMethodName = "/flyteidl.service.AsyncAgentService/CreateTask" + AsyncAgentService_GetTask_FullMethodName = "/flyteidl.service.AsyncAgentService/GetTask" + AsyncAgentService_DeleteTask_FullMethodName = "/flyteidl.service.AsyncAgentService/DeleteTask" + AsyncAgentService_GetTaskMetrics_FullMethodName = "/flyteidl.service.AsyncAgentService/GetTaskMetrics" + AsyncAgentService_GetTaskLogs_FullMethodName = "/flyteidl.service.AsyncAgentService/GetTaskLogs" +) + +// AsyncAgentServiceClient is the client API for AsyncAgentService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AsyncAgentServiceClient interface { + // Send a task create request to the agent server. + CreateTask(ctx context.Context, in *admin.CreateTaskRequest, opts ...grpc.CallOption) (*admin.CreateTaskResponse, error) + // Get job status. + GetTask(ctx context.Context, in *admin.GetTaskRequest, opts ...grpc.CallOption) (*admin.GetTaskResponse, error) + // Delete the task resource. + DeleteTask(ctx context.Context, in *admin.DeleteTaskRequest, opts ...grpc.CallOption) (*admin.DeleteTaskResponse, error) + // GetTaskMetrics returns one or more task execution metrics, if available. + // + // Errors include + // - OutOfRange if metrics are not available for the specified task time range + // - various other errors + GetTaskMetrics(ctx context.Context, in *admin.GetTaskMetricsRequest, opts ...grpc.CallOption) (*admin.GetTaskMetricsResponse, error) + // GetTaskLogs returns task execution logs, if available. + GetTaskLogs(ctx context.Context, in *admin.GetTaskLogsRequest, opts ...grpc.CallOption) (*admin.GetTaskLogsResponse, error) +} + +type asyncAgentServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewAsyncAgentServiceClient(cc grpc.ClientConnInterface) AsyncAgentServiceClient { + return &asyncAgentServiceClient{cc} +} + +func (c *asyncAgentServiceClient) CreateTask(ctx context.Context, in *admin.CreateTaskRequest, opts ...grpc.CallOption) (*admin.CreateTaskResponse, error) { + out := new(admin.CreateTaskResponse) + err := c.cc.Invoke(ctx, AsyncAgentService_CreateTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *asyncAgentServiceClient) GetTask(ctx context.Context, in *admin.GetTaskRequest, opts ...grpc.CallOption) (*admin.GetTaskResponse, error) { + out := new(admin.GetTaskResponse) + err := c.cc.Invoke(ctx, AsyncAgentService_GetTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *asyncAgentServiceClient) DeleteTask(ctx context.Context, in *admin.DeleteTaskRequest, opts ...grpc.CallOption) (*admin.DeleteTaskResponse, error) { + out := new(admin.DeleteTaskResponse) + err := c.cc.Invoke(ctx, AsyncAgentService_DeleteTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *asyncAgentServiceClient) GetTaskMetrics(ctx context.Context, in *admin.GetTaskMetricsRequest, opts ...grpc.CallOption) (*admin.GetTaskMetricsResponse, error) { + out := new(admin.GetTaskMetricsResponse) + err := c.cc.Invoke(ctx, AsyncAgentService_GetTaskMetrics_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *asyncAgentServiceClient) GetTaskLogs(ctx context.Context, in *admin.GetTaskLogsRequest, opts ...grpc.CallOption) (*admin.GetTaskLogsResponse, error) { + out := new(admin.GetTaskLogsResponse) + err := c.cc.Invoke(ctx, AsyncAgentService_GetTaskLogs_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AsyncAgentServiceServer is the server API for AsyncAgentService service. +// All implementations should embed UnimplementedAsyncAgentServiceServer +// for forward compatibility +type AsyncAgentServiceServer interface { + // Send a task create request to the agent server. + CreateTask(context.Context, *admin.CreateTaskRequest) (*admin.CreateTaskResponse, error) + // Get job status. + GetTask(context.Context, *admin.GetTaskRequest) (*admin.GetTaskResponse, error) + // Delete the task resource. + DeleteTask(context.Context, *admin.DeleteTaskRequest) (*admin.DeleteTaskResponse, error) + // GetTaskMetrics returns one or more task execution metrics, if available. + // + // Errors include + // - OutOfRange if metrics are not available for the specified task time range + // - various other errors + GetTaskMetrics(context.Context, *admin.GetTaskMetricsRequest) (*admin.GetTaskMetricsResponse, error) + // GetTaskLogs returns task execution logs, if available. + GetTaskLogs(context.Context, *admin.GetTaskLogsRequest) (*admin.GetTaskLogsResponse, error) +} + +// UnimplementedAsyncAgentServiceServer should be embedded to have forward compatible implementations. +type UnimplementedAsyncAgentServiceServer struct { +} + +func (UnimplementedAsyncAgentServiceServer) CreateTask(context.Context, *admin.CreateTaskRequest) (*admin.CreateTaskResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") +} +func (UnimplementedAsyncAgentServiceServer) GetTask(context.Context, *admin.GetTaskRequest) (*admin.GetTaskResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") +} +func (UnimplementedAsyncAgentServiceServer) DeleteTask(context.Context, *admin.DeleteTaskRequest) (*admin.DeleteTaskResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") +} +func (UnimplementedAsyncAgentServiceServer) GetTaskMetrics(context.Context, *admin.GetTaskMetricsRequest) (*admin.GetTaskMetricsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTaskMetrics not implemented") +} +func (UnimplementedAsyncAgentServiceServer) GetTaskLogs(context.Context, *admin.GetTaskLogsRequest) (*admin.GetTaskLogsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTaskLogs not implemented") +} + +// UnsafeAsyncAgentServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AsyncAgentServiceServer will +// result in compilation errors. +type UnsafeAsyncAgentServiceServer interface { + mustEmbedUnimplementedAsyncAgentServiceServer() +} + +func RegisterAsyncAgentServiceServer(s grpc.ServiceRegistrar, srv AsyncAgentServiceServer) { + s.RegisterService(&AsyncAgentService_ServiceDesc, srv) +} + +func _AsyncAgentService_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.CreateTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AsyncAgentServiceServer).CreateTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AsyncAgentService_CreateTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AsyncAgentServiceServer).CreateTask(ctx, req.(*admin.CreateTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AsyncAgentService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.GetTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AsyncAgentServiceServer).GetTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AsyncAgentService_GetTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AsyncAgentServiceServer).GetTask(ctx, req.(*admin.GetTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AsyncAgentService_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.DeleteTaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AsyncAgentServiceServer).DeleteTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AsyncAgentService_DeleteTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AsyncAgentServiceServer).DeleteTask(ctx, req.(*admin.DeleteTaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AsyncAgentService_GetTaskMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.GetTaskMetricsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AsyncAgentServiceServer).GetTaskMetrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AsyncAgentService_GetTaskMetrics_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AsyncAgentServiceServer).GetTaskMetrics(ctx, req.(*admin.GetTaskMetricsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AsyncAgentService_GetTaskLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.GetTaskLogsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AsyncAgentServiceServer).GetTaskLogs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AsyncAgentService_GetTaskLogs_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AsyncAgentServiceServer).GetTaskLogs(ctx, req.(*admin.GetTaskLogsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AsyncAgentService_ServiceDesc is the grpc.ServiceDesc for AsyncAgentService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AsyncAgentService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.AsyncAgentService", + HandlerType: (*AsyncAgentServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateTask", + Handler: _AsyncAgentService_CreateTask_Handler, + }, + { + MethodName: "GetTask", + Handler: _AsyncAgentService_GetTask_Handler, + }, + { + MethodName: "DeleteTask", + Handler: _AsyncAgentService_DeleteTask_Handler, + }, + { + MethodName: "GetTaskMetrics", + Handler: _AsyncAgentService_GetTaskMetrics_Handler, + }, + { + MethodName: "GetTaskLogs", + Handler: _AsyncAgentService_GetTaskLogs_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/agent.proto", +} + +const ( + AgentMetadataService_GetAgent_FullMethodName = "/flyteidl.service.AgentMetadataService/GetAgent" + AgentMetadataService_ListAgents_FullMethodName = "/flyteidl.service.AgentMetadataService/ListAgents" +) + +// AgentMetadataServiceClient is the client API for AgentMetadataService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AgentMetadataServiceClient interface { + // Fetch a :ref:`ref_flyteidl.admin.Agent` definition. + GetAgent(ctx context.Context, in *admin.GetAgentRequest, opts ...grpc.CallOption) (*admin.GetAgentResponse, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. + ListAgents(ctx context.Context, in *admin.ListAgentsRequest, opts ...grpc.CallOption) (*admin.ListAgentsResponse, error) +} + +type agentMetadataServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewAgentMetadataServiceClient(cc grpc.ClientConnInterface) AgentMetadataServiceClient { + return &agentMetadataServiceClient{cc} +} + +func (c *agentMetadataServiceClient) GetAgent(ctx context.Context, in *admin.GetAgentRequest, opts ...grpc.CallOption) (*admin.GetAgentResponse, error) { + out := new(admin.GetAgentResponse) + err := c.cc.Invoke(ctx, AgentMetadataService_GetAgent_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *agentMetadataServiceClient) ListAgents(ctx context.Context, in *admin.ListAgentsRequest, opts ...grpc.CallOption) (*admin.ListAgentsResponse, error) { + out := new(admin.ListAgentsResponse) + err := c.cc.Invoke(ctx, AgentMetadataService_ListAgents_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AgentMetadataServiceServer is the server API for AgentMetadataService service. +// All implementations should embed UnimplementedAgentMetadataServiceServer +// for forward compatibility +type AgentMetadataServiceServer interface { + // Fetch a :ref:`ref_flyteidl.admin.Agent` definition. + GetAgent(context.Context, *admin.GetAgentRequest) (*admin.GetAgentResponse, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions. + ListAgents(context.Context, *admin.ListAgentsRequest) (*admin.ListAgentsResponse, error) +} + +// UnimplementedAgentMetadataServiceServer should be embedded to have forward compatible implementations. +type UnimplementedAgentMetadataServiceServer struct { +} + +func (UnimplementedAgentMetadataServiceServer) GetAgent(context.Context, *admin.GetAgentRequest) (*admin.GetAgentResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAgent not implemented") +} +func (UnimplementedAgentMetadataServiceServer) ListAgents(context.Context, *admin.ListAgentsRequest) (*admin.ListAgentsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAgents not implemented") +} + +// UnsafeAgentMetadataServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AgentMetadataServiceServer will +// result in compilation errors. +type UnsafeAgentMetadataServiceServer interface { + mustEmbedUnimplementedAgentMetadataServiceServer() +} + +func RegisterAgentMetadataServiceServer(s grpc.ServiceRegistrar, srv AgentMetadataServiceServer) { + s.RegisterService(&AgentMetadataService_ServiceDesc, srv) +} + +func _AgentMetadataService_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.GetAgentRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AgentMetadataServiceServer).GetAgent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AgentMetadataService_GetAgent_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AgentMetadataServiceServer).GetAgent(ctx, req.(*admin.GetAgentRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AgentMetadataService_ListAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ListAgentsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AgentMetadataServiceServer).ListAgents(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AgentMetadataService_ListAgents_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AgentMetadataServiceServer).ListAgents(ctx, req.(*admin.ListAgentsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AgentMetadataService_ServiceDesc is the grpc.ServiceDesc for AgentMetadataService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AgentMetadataService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.AgentMetadataService", + HandlerType: (*AgentMetadataServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAgent", + Handler: _AgentMetadataService_GetAgent_Handler, + }, + { + MethodName: "ListAgents", + Handler: _AgentMetadataService_ListAgents_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/agent.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go b/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go index aee87747d1..2f5e5fc500 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/auth.pb.go @@ -1,64 +1,72 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/service/auth.proto package service import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type OAuth2MetadataRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *OAuth2MetadataRequest) Reset() { *m = OAuth2MetadataRequest{} } -func (m *OAuth2MetadataRequest) String() string { return proto.CompactTextString(m) } -func (*OAuth2MetadataRequest) ProtoMessage() {} -func (*OAuth2MetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6eee4a0c193ab842, []int{0} +func (x *OAuth2MetadataRequest) Reset() { + *x = OAuth2MetadataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_auth_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OAuth2MetadataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuth2MetadataRequest.Unmarshal(m, b) -} -func (m *OAuth2MetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuth2MetadataRequest.Marshal(b, m, deterministic) +func (x *OAuth2MetadataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OAuth2MetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuth2MetadataRequest.Merge(m, src) -} -func (m *OAuth2MetadataRequest) XXX_Size() int { - return xxx_messageInfo_OAuth2MetadataRequest.Size(m) -} -func (m *OAuth2MetadataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OAuth2MetadataRequest.DiscardUnknown(m) + +func (*OAuth2MetadataRequest) ProtoMessage() {} + +func (x *OAuth2MetadataRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_auth_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OAuth2MetadataRequest proto.InternalMessageInfo +// Deprecated: Use OAuth2MetadataRequest.ProtoReflect.Descriptor instead. +func (*OAuth2MetadataRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_auth_proto_rawDescGZIP(), []int{0} +} // OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata // as defined in https://tools.ietf.org/html/rfc8414 type OAuth2MetadataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external // issuer. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` @@ -82,140 +90,155 @@ type OAuth2MetadataResponse struct { // JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports. GrantTypesSupported []string `protobuf:"bytes,9,rep,name=grant_types_supported,json=grantTypesSupported,proto3" json:"grant_types_supported,omitempty"` // URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628] - DeviceAuthorizationEndpoint string `protobuf:"bytes,10,opt,name=device_authorization_endpoint,json=deviceAuthorizationEndpoint,proto3" json:"device_authorization_endpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DeviceAuthorizationEndpoint string `protobuf:"bytes,10,opt,name=device_authorization_endpoint,json=deviceAuthorizationEndpoint,proto3" json:"device_authorization_endpoint,omitempty"` } -func (m *OAuth2MetadataResponse) Reset() { *m = OAuth2MetadataResponse{} } -func (m *OAuth2MetadataResponse) String() string { return proto.CompactTextString(m) } -func (*OAuth2MetadataResponse) ProtoMessage() {} -func (*OAuth2MetadataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6eee4a0c193ab842, []int{1} +func (x *OAuth2MetadataResponse) Reset() { + *x = OAuth2MetadataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_auth_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OAuth2MetadataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuth2MetadataResponse.Unmarshal(m, b) -} -func (m *OAuth2MetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuth2MetadataResponse.Marshal(b, m, deterministic) -} -func (m *OAuth2MetadataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuth2MetadataResponse.Merge(m, src) -} -func (m *OAuth2MetadataResponse) XXX_Size() int { - return xxx_messageInfo_OAuth2MetadataResponse.Size(m) +func (x *OAuth2MetadataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OAuth2MetadataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_OAuth2MetadataResponse.DiscardUnknown(m) + +func (*OAuth2MetadataResponse) ProtoMessage() {} + +func (x *OAuth2MetadataResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_auth_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OAuth2MetadataResponse proto.InternalMessageInfo +// Deprecated: Use OAuth2MetadataResponse.ProtoReflect.Descriptor instead. +func (*OAuth2MetadataResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_auth_proto_rawDescGZIP(), []int{1} +} -func (m *OAuth2MetadataResponse) GetIssuer() string { - if m != nil { - return m.Issuer +func (x *OAuth2MetadataResponse) GetIssuer() string { + if x != nil { + return x.Issuer } return "" } -func (m *OAuth2MetadataResponse) GetAuthorizationEndpoint() string { - if m != nil { - return m.AuthorizationEndpoint +func (x *OAuth2MetadataResponse) GetAuthorizationEndpoint() string { + if x != nil { + return x.AuthorizationEndpoint } return "" } -func (m *OAuth2MetadataResponse) GetTokenEndpoint() string { - if m != nil { - return m.TokenEndpoint +func (x *OAuth2MetadataResponse) GetTokenEndpoint() string { + if x != nil { + return x.TokenEndpoint } return "" } -func (m *OAuth2MetadataResponse) GetResponseTypesSupported() []string { - if m != nil { - return m.ResponseTypesSupported +func (x *OAuth2MetadataResponse) GetResponseTypesSupported() []string { + if x != nil { + return x.ResponseTypesSupported } return nil } -func (m *OAuth2MetadataResponse) GetScopesSupported() []string { - if m != nil { - return m.ScopesSupported +func (x *OAuth2MetadataResponse) GetScopesSupported() []string { + if x != nil { + return x.ScopesSupported } return nil } -func (m *OAuth2MetadataResponse) GetTokenEndpointAuthMethodsSupported() []string { - if m != nil { - return m.TokenEndpointAuthMethodsSupported +func (x *OAuth2MetadataResponse) GetTokenEndpointAuthMethodsSupported() []string { + if x != nil { + return x.TokenEndpointAuthMethodsSupported } return nil } -func (m *OAuth2MetadataResponse) GetJwksUri() string { - if m != nil { - return m.JwksUri +func (x *OAuth2MetadataResponse) GetJwksUri() string { + if x != nil { + return x.JwksUri } return "" } -func (m *OAuth2MetadataResponse) GetCodeChallengeMethodsSupported() []string { - if m != nil { - return m.CodeChallengeMethodsSupported +func (x *OAuth2MetadataResponse) GetCodeChallengeMethodsSupported() []string { + if x != nil { + return x.CodeChallengeMethodsSupported } return nil } -func (m *OAuth2MetadataResponse) GetGrantTypesSupported() []string { - if m != nil { - return m.GrantTypesSupported +func (x *OAuth2MetadataResponse) GetGrantTypesSupported() []string { + if x != nil { + return x.GrantTypesSupported } return nil } -func (m *OAuth2MetadataResponse) GetDeviceAuthorizationEndpoint() string { - if m != nil { - return m.DeviceAuthorizationEndpoint +func (x *OAuth2MetadataResponse) GetDeviceAuthorizationEndpoint() string { + if x != nil { + return x.DeviceAuthorizationEndpoint } return "" } type PublicClientAuthConfigRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PublicClientAuthConfigRequest) Reset() { *m = PublicClientAuthConfigRequest{} } -func (m *PublicClientAuthConfigRequest) String() string { return proto.CompactTextString(m) } -func (*PublicClientAuthConfigRequest) ProtoMessage() {} -func (*PublicClientAuthConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6eee4a0c193ab842, []int{2} +func (x *PublicClientAuthConfigRequest) Reset() { + *x = PublicClientAuthConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_auth_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PublicClientAuthConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicClientAuthConfigRequest.Unmarshal(m, b) -} -func (m *PublicClientAuthConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicClientAuthConfigRequest.Marshal(b, m, deterministic) -} -func (m *PublicClientAuthConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicClientAuthConfigRequest.Merge(m, src) +func (x *PublicClientAuthConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PublicClientAuthConfigRequest) XXX_Size() int { - return xxx_messageInfo_PublicClientAuthConfigRequest.Size(m) -} -func (m *PublicClientAuthConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PublicClientAuthConfigRequest.DiscardUnknown(m) + +func (*PublicClientAuthConfigRequest) ProtoMessage() {} + +func (x *PublicClientAuthConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_auth_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PublicClientAuthConfigRequest proto.InternalMessageInfo +// Deprecated: Use PublicClientAuthConfigRequest.ProtoReflect.Descriptor instead. +func (*PublicClientAuthConfigRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_auth_proto_rawDescGZIP(), []int{2} +} // FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users. type PublicClientAuthConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // client_id to use when initiating OAuth2 authorization requests. ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // redirect uri to use when initiating OAuth2 authorization requests. @@ -230,250 +253,297 @@ type PublicClientAuthConfigResponse struct { // SSL or no SSL connections. ServiceHttpEndpoint string `protobuf:"bytes,5,opt,name=service_http_endpoint,json=serviceHttpEndpoint,proto3" json:"service_http_endpoint,omitempty"` // audience to use when initiating OAuth2 authorization requests. - Audience string `protobuf:"bytes,6,opt,name=audience,proto3" json:"audience,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Audience string `protobuf:"bytes,6,opt,name=audience,proto3" json:"audience,omitempty"` } -func (m *PublicClientAuthConfigResponse) Reset() { *m = PublicClientAuthConfigResponse{} } -func (m *PublicClientAuthConfigResponse) String() string { return proto.CompactTextString(m) } -func (*PublicClientAuthConfigResponse) ProtoMessage() {} -func (*PublicClientAuthConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6eee4a0c193ab842, []int{3} +func (x *PublicClientAuthConfigResponse) Reset() { + *x = PublicClientAuthConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_auth_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PublicClientAuthConfigResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicClientAuthConfigResponse.Unmarshal(m, b) -} -func (m *PublicClientAuthConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicClientAuthConfigResponse.Marshal(b, m, deterministic) -} -func (m *PublicClientAuthConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicClientAuthConfigResponse.Merge(m, src) -} -func (m *PublicClientAuthConfigResponse) XXX_Size() int { - return xxx_messageInfo_PublicClientAuthConfigResponse.Size(m) -} -func (m *PublicClientAuthConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PublicClientAuthConfigResponse.DiscardUnknown(m) +func (x *PublicClientAuthConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PublicClientAuthConfigResponse proto.InternalMessageInfo +func (*PublicClientAuthConfigResponse) ProtoMessage() {} -func (m *PublicClientAuthConfigResponse) GetClientId() string { - if m != nil { - return m.ClientId +func (x *PublicClientAuthConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_auth_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *PublicClientAuthConfigResponse) GetRedirectUri() string { - if m != nil { - return m.RedirectUri - } - return "" +// Deprecated: Use PublicClientAuthConfigResponse.ProtoReflect.Descriptor instead. +func (*PublicClientAuthConfigResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_auth_proto_rawDescGZIP(), []int{3} } -func (m *PublicClientAuthConfigResponse) GetScopes() []string { - if m != nil { - return m.Scopes +func (x *PublicClientAuthConfigResponse) GetClientId() string { + if x != nil { + return x.ClientId } - return nil + return "" } -func (m *PublicClientAuthConfigResponse) GetAuthorizationMetadataKey() string { - if m != nil { - return m.AuthorizationMetadataKey +func (x *PublicClientAuthConfigResponse) GetRedirectUri() string { + if x != nil { + return x.RedirectUri } return "" } -func (m *PublicClientAuthConfigResponse) GetServiceHttpEndpoint() string { - if m != nil { - return m.ServiceHttpEndpoint +func (x *PublicClientAuthConfigResponse) GetScopes() []string { + if x != nil { + return x.Scopes } - return "" + return nil } -func (m *PublicClientAuthConfigResponse) GetAudience() string { - if m != nil { - return m.Audience +func (x *PublicClientAuthConfigResponse) GetAuthorizationMetadataKey() string { + if x != nil { + return x.AuthorizationMetadataKey } return "" } -func init() { - proto.RegisterType((*OAuth2MetadataRequest)(nil), "flyteidl.service.OAuth2MetadataRequest") - proto.RegisterType((*OAuth2MetadataResponse)(nil), "flyteidl.service.OAuth2MetadataResponse") - proto.RegisterType((*PublicClientAuthConfigRequest)(nil), "flyteidl.service.PublicClientAuthConfigRequest") - proto.RegisterType((*PublicClientAuthConfigResponse)(nil), "flyteidl.service.PublicClientAuthConfigResponse") -} - -func init() { proto.RegisterFile("flyteidl/service/auth.proto", fileDescriptor_6eee4a0c193ab842) } - -var fileDescriptor_6eee4a0c193ab842 = []byte{ - // 636 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x4e, 0x14, 0x41, - 0x10, 0xce, 0x2e, 0xb0, 0xec, 0x96, 0x7f, 0xd8, 0x64, 0x97, 0x61, 0x11, 0x81, 0x4d, 0x08, 0x70, - 0xd8, 0x6d, 0xc5, 0x98, 0x78, 0xd0, 0x18, 0x20, 0x06, 0x8d, 0x21, 0x12, 0xd0, 0x8b, 0x97, 0xce, - 0xec, 0x4c, 0x31, 0xdb, 0xee, 0xd0, 0x3d, 0xf6, 0xf4, 0x40, 0xd6, 0xa3, 0x07, 0x5f, 0xc0, 0x83, - 0x07, 0x4f, 0x3e, 0x90, 0x27, 0x5f, 0xc1, 0x07, 0x31, 0xd3, 0xdd, 0x03, 0xcc, 0x02, 0xea, 0x6d, - 0xba, 0xbf, 0xaf, 0xba, 0xaa, 0xbe, 0xfa, 0x6a, 0x60, 0xe1, 0x28, 0x1e, 0x69, 0xe4, 0x61, 0x4c, - 0x53, 0x54, 0x27, 0x3c, 0x40, 0xea, 0x67, 0x7a, 0xd0, 0x4b, 0x94, 0xd4, 0x92, 0xcc, 0x14, 0x60, - 0xcf, 0x81, 0xed, 0x7b, 0x91, 0x94, 0x51, 0x8c, 0xd4, 0x4f, 0x38, 0xf5, 0x85, 0x90, 0xda, 0xd7, - 0x5c, 0x8a, 0xd4, 0xf2, 0x3b, 0x73, 0xd0, 0x7c, 0xb3, 0x95, 0xe9, 0xc1, 0xe6, 0x1e, 0x6a, 0x3f, - 0xf4, 0xb5, 0x7f, 0x80, 0x1f, 0x33, 0x4c, 0x75, 0xe7, 0xc7, 0x24, 0xb4, 0xc6, 0x91, 0x34, 0x91, - 0x22, 0x45, 0xd2, 0x82, 0x1a, 0x4f, 0xd3, 0x0c, 0x95, 0x57, 0x59, 0xae, 0xac, 0x37, 0x0e, 0xdc, - 0x89, 0x3c, 0x86, 0x56, 0x5e, 0x89, 0x54, 0xfc, 0x93, 0xc9, 0xc1, 0x50, 0x84, 0x89, 0xe4, 0x42, - 0x7b, 0x55, 0xc3, 0x6b, 0x96, 0xd0, 0x17, 0x0e, 0x24, 0xab, 0x70, 0x5b, 0xcb, 0x21, 0x5e, 0xa0, - 0x4f, 0x18, 0xfa, 0x2d, 0x73, 0x7b, 0x46, 0x7b, 0x02, 0x9e, 0x72, 0x15, 0x30, 0x3d, 0x4a, 0x30, - 0x65, 0x69, 0x96, 0x24, 0x52, 0x69, 0x0c, 0xbd, 0xc9, 0xe5, 0x89, 0xf5, 0xc6, 0x41, 0xab, 0xc0, - 0xdf, 0xe6, 0xf0, 0x61, 0x81, 0x92, 0x0d, 0x98, 0x49, 0x03, 0x59, 0x8e, 0x98, 0x32, 0x11, 0x77, - 0xec, 0xfd, 0x39, 0x75, 0x1f, 0x56, 0xcb, 0xb5, 0xb0, 0xbc, 0x66, 0x76, 0x8c, 0x7a, 0x20, 0xc3, - 0x8b, 0xf1, 0x35, 0x13, 0xbf, 0x52, 0x2a, 0x31, 0x57, 0x6b, 0xcf, 0x32, 0xcf, 0x5f, 0x9c, 0x87, - 0xfa, 0x87, 0xd3, 0x61, 0xca, 0x32, 0xc5, 0xbd, 0x69, 0xd3, 0xd7, 0x74, 0x7e, 0x7e, 0xa7, 0x38, - 0xd9, 0x85, 0xe5, 0x40, 0x86, 0xc8, 0x82, 0x81, 0x1f, 0xc7, 0x28, 0x22, 0xbc, 0x22, 0x4f, 0xdd, - 0xe4, 0x59, 0xcc, 0x79, 0x3b, 0x05, 0xed, 0x52, 0x8e, 0x4d, 0x68, 0x46, 0xca, 0x17, 0xfa, 0x92, - 0x2e, 0x0d, 0x13, 0x3d, 0x6b, 0xc0, 0x31, 0x51, 0xb6, 0x61, 0x31, 0xc4, 0xdc, 0x20, 0xec, 0x9a, - 0x99, 0x81, 0x29, 0x76, 0xc1, 0x92, 0xb6, 0xae, 0x9a, 0x5c, 0x67, 0x09, 0x16, 0xf7, 0xb3, 0x7e, - 0xcc, 0x83, 0x9d, 0x98, 0xa3, 0xed, 0x7f, 0x47, 0x8a, 0x23, 0x1e, 0x15, 0x26, 0xfa, 0x52, 0x85, - 0xfb, 0xd7, 0x31, 0x9c, 0x99, 0x16, 0xa0, 0x11, 0x18, 0x8c, 0xf1, 0xd0, 0xf9, 0xa9, 0x6e, 0x2f, - 0x5e, 0x85, 0x64, 0x05, 0x6e, 0x2a, 0x0c, 0xb9, 0xc2, 0x40, 0x1b, 0x01, 0xad, 0x8f, 0x6e, 0x14, - 0x77, 0xb9, 0x88, 0x2d, 0xa8, 0xd9, 0x21, 0x7a, 0x13, 0xa6, 0x59, 0x77, 0x22, 0x4f, 0xa1, 0x5d, - 0x6e, 0xec, 0xd8, 0xd9, 0x98, 0x0d, 0x71, 0xe4, 0x4d, 0x9a, 0x87, 0xbc, 0x12, 0xa3, 0xf0, 0xf9, - 0x6b, 0x1c, 0xe5, 0x8a, 0xba, 0xfd, 0x61, 0x03, 0xad, 0x93, 0x73, 0x55, 0xa6, 0x4c, 0xe0, 0xac, - 0x03, 0x5f, 0x6a, 0x9d, 0x9c, 0x19, 0xb4, 0x0d, 0x75, 0x3f, 0x0b, 0x39, 0x8a, 0x00, 0xbd, 0x9a, - 0x6d, 0xa4, 0x38, 0x6f, 0xfe, 0xac, 0xc2, 0xac, 0xb3, 0x87, 0xc9, 0x71, 0x68, 0xe3, 0xc9, 0xb7, - 0x0a, 0xdc, 0xdd, 0x45, 0x5d, 0x5e, 0x34, 0xb2, 0xd6, 0x1b, 0xdf, 0xe2, 0xde, 0x95, 0x4b, 0xda, - 0x5e, 0xff, 0x37, 0xd1, 0xca, 0xdc, 0xa1, 0x9f, 0x7f, 0xfd, 0xfe, 0x5a, 0xdd, 0x20, 0x6b, 0xb4, - 0x77, 0x8a, 0x71, 0xdc, 0x1d, 0x0a, 0x79, 0x2a, 0xa8, 0xcc, 0x05, 0xe8, 0x96, 0x54, 0xe8, 0xe6, - 0x0f, 0xa1, 0x22, 0xdf, 0x2b, 0xd0, 0xdc, 0x45, 0x7d, 0x71, 0x7a, 0x76, 0x72, 0x84, 0x5e, 0x4e, - 0xfa, 0x57, 0x17, 0xb4, 0x1f, 0xfc, 0x7f, 0x80, 0xab, 0x76, 0xc9, 0x54, 0x3b, 0x4f, 0xe6, 0x68, - 0x60, 0x00, 0x7a, 0xf2, 0x90, 0x9a, 0x37, 0x98, 0xb5, 0xc6, 0xf6, 0xf3, 0xf7, 0xcf, 0x22, 0xae, - 0x07, 0x59, 0xbf, 0x17, 0xc8, 0x63, 0x0b, 0x49, 0x15, 0xd9, 0x0f, 0x7a, 0xf6, 0x7f, 0x8c, 0x50, - 0xd0, 0xa4, 0xdf, 0x8d, 0x24, 0x1d, 0xff, 0x65, 0xf6, 0x6b, 0xe6, 0xf7, 0xf7, 0xe8, 0x4f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x7e, 0x66, 0xab, 0x82, 0x4d, 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 - -// AuthMetadataServiceClient is the client API for AuthMetadataService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AuthMetadataServiceClient interface { - // Anonymously accessible. Retrieves local or external oauth authorization server metadata. - GetOAuth2Metadata(ctx context.Context, in *OAuth2MetadataRequest, opts ...grpc.CallOption) (*OAuth2MetadataResponse, error) - // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization - // requests. - GetPublicClientConfig(ctx context.Context, in *PublicClientAuthConfigRequest, opts ...grpc.CallOption) (*PublicClientAuthConfigResponse, error) -} - -type authMetadataServiceClient struct { - cc *grpc.ClientConn -} - -func NewAuthMetadataServiceClient(cc *grpc.ClientConn) AuthMetadataServiceClient { - return &authMetadataServiceClient{cc} -} - -func (c *authMetadataServiceClient) GetOAuth2Metadata(ctx context.Context, in *OAuth2MetadataRequest, opts ...grpc.CallOption) (*OAuth2MetadataResponse, error) { - out := new(OAuth2MetadataResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AuthMetadataService/GetOAuth2Metadata", in, out, opts...) - if err != nil { - return nil, err +func (x *PublicClientAuthConfigResponse) GetServiceHttpEndpoint() string { + if x != nil { + return x.ServiceHttpEndpoint } - return out, nil + return "" } -func (c *authMetadataServiceClient) GetPublicClientConfig(ctx context.Context, in *PublicClientAuthConfigRequest, opts ...grpc.CallOption) (*PublicClientAuthConfigResponse, error) { - out := new(PublicClientAuthConfigResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.AuthMetadataService/GetPublicClientConfig", in, out, opts...) - if err != nil { - return nil, err +func (x *PublicClientAuthConfigResponse) GetAudience() string { + if x != nil { + return x.Audience } - return out, nil -} - -// AuthMetadataServiceServer is the server API for AuthMetadataService service. -type AuthMetadataServiceServer interface { - // Anonymously accessible. Retrieves local or external oauth authorization server metadata. - GetOAuth2Metadata(context.Context, *OAuth2MetadataRequest) (*OAuth2MetadataResponse, error) - // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization - // requests. - GetPublicClientConfig(context.Context, *PublicClientAuthConfigRequest) (*PublicClientAuthConfigResponse, error) -} - -// UnimplementedAuthMetadataServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAuthMetadataServiceServer struct { -} - -func (*UnimplementedAuthMetadataServiceServer) GetOAuth2Metadata(ctx context.Context, req *OAuth2MetadataRequest) (*OAuth2MetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOAuth2Metadata not implemented") -} -func (*UnimplementedAuthMetadataServiceServer) GetPublicClientConfig(ctx context.Context, req *PublicClientAuthConfigRequest) (*PublicClientAuthConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPublicClientConfig not implemented") -} - -func RegisterAuthMetadataServiceServer(s *grpc.Server, srv AuthMetadataServiceServer) { - s.RegisterService(&_AuthMetadataService_serviceDesc, srv) + return "" } -func _AuthMetadataService_GetOAuth2Metadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OAuth2MetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthMetadataServiceServer).GetOAuth2Metadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AuthMetadataService/GetOAuth2Metadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthMetadataServiceServer).GetOAuth2Metadata(ctx, req.(*OAuth2MetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_flyteidl_service_auth_proto protoreflect.FileDescriptor + +var file_flyteidl_service_auth_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, + 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, + 0x15, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa1, 0x04, 0x0a, 0x16, 0x4f, 0x41, 0x75, 0x74, 0x68, + 0x32, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x16, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x45, + 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, + 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, + 0x64, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x63, 0x6f, + 0x70, 0x65, 0x73, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x25, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x5f, 0x73, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x21, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x6a, 0x77, 0x6b, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6a, 0x77, 0x6b, 0x73, 0x55, 0x72, 0x69, 0x12, 0x47, 0x0a, 0x20, 0x63, 0x6f, 0x64, + 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x73, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x1d, 0x63, 0x6f, 0x64, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x65, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x13, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x53, 0x75, 0x70, + 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x42, 0x0a, 0x1d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, + 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1b, 0x64, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x1f, 0x0a, 0x1d, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x86, 0x02, 0x0a, 0x1e, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, + 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 0x69, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, + 0x68, 0x74, 0x74, 0x70, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x74, 0x74, 0x70, + 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, + 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, + 0x65, 0x6e, 0x63, 0x65, 0x32, 0xfc, 0x03, 0x0a, 0x13, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xf5, 0x01, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4f, + 0x41, 0x75, 0x74, 0x68, 0x32, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x92, 0x41, 0x5a, 0x1a, 0x58, 0x52, 0x65, 0x74, + 0x72, 0x69, 0x65, 0x76, 0x65, 0x73, 0x20, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x20, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x20, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x20, 0x54, 0x68, 0x69, + 0x73, 0x20, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x20, 0x69, 0x73, 0x20, 0x61, 0x6e, + 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x6c, 0x79, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x69, 0x62, 0x6c, 0x65, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x2e, 0x77, + 0x65, 0x6c, 0x6c, 0x2d, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2d, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2d, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x12, 0xec, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2f, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x75, + 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, + 0x75, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x70, 0x92, 0x41, 0x4e, 0x1a, 0x4c, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, + 0x73, 0x20, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x20, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x20, 0x54, 0x68, 0x69, 0x73, + 0x20, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x20, 0x69, 0x73, 0x20, 0x61, 0x6e, 0x6f, + 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x6c, 0x79, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, + 0x62, 0x6c, 0x65, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x42, 0xc1, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x09, 0x41, 0x75, + 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x53, 0x58, 0xaa, 0x02, + 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_service_auth_proto_rawDescOnce sync.Once + file_flyteidl_service_auth_proto_rawDescData = file_flyteidl_service_auth_proto_rawDesc +) -func _AuthMetadataService_GetPublicClientConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PublicClientAuthConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthMetadataServiceServer).GetPublicClientConfig(ctx, in) +func file_flyteidl_service_auth_proto_rawDescGZIP() []byte { + file_flyteidl_service_auth_proto_rawDescOnce.Do(func() { + file_flyteidl_service_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_service_auth_proto_rawDescData) + }) + return file_flyteidl_service_auth_proto_rawDescData +} + +var file_flyteidl_service_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_flyteidl_service_auth_proto_goTypes = []interface{}{ + (*OAuth2MetadataRequest)(nil), // 0: flyteidl.service.OAuth2MetadataRequest + (*OAuth2MetadataResponse)(nil), // 1: flyteidl.service.OAuth2MetadataResponse + (*PublicClientAuthConfigRequest)(nil), // 2: flyteidl.service.PublicClientAuthConfigRequest + (*PublicClientAuthConfigResponse)(nil), // 3: flyteidl.service.PublicClientAuthConfigResponse +} +var file_flyteidl_service_auth_proto_depIdxs = []int32{ + 0, // 0: flyteidl.service.AuthMetadataService.GetOAuth2Metadata:input_type -> flyteidl.service.OAuth2MetadataRequest + 2, // 1: flyteidl.service.AuthMetadataService.GetPublicClientConfig:input_type -> flyteidl.service.PublicClientAuthConfigRequest + 1, // 2: flyteidl.service.AuthMetadataService.GetOAuth2Metadata:output_type -> flyteidl.service.OAuth2MetadataResponse + 3, // 3: flyteidl.service.AuthMetadataService.GetPublicClientConfig:output_type -> flyteidl.service.PublicClientAuthConfigResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_service_auth_proto_init() } +func file_flyteidl_service_auth_proto_init() { + if File_flyteidl_service_auth_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.AuthMetadataService/GetPublicClientConfig", + if !protoimpl.UnsafeEnabled { + file_flyteidl_service_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OAuth2MetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OAuth2MetadataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicClientAuthConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicClientAuthConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthMetadataServiceServer).GetPublicClientConfig(ctx, req.(*PublicClientAuthConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AuthMetadataService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.AuthMetadataService", - HandlerType: (*AuthMetadataServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetOAuth2Metadata", - Handler: _AuthMetadataService_GetOAuth2Metadata_Handler, - }, - { - MethodName: "GetPublicClientConfig", - Handler: _AuthMetadataService_GetPublicClientConfig_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_service_auth_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/auth.proto", + GoTypes: file_flyteidl_service_auth_proto_goTypes, + DependencyIndexes: file_flyteidl_service_auth_proto_depIdxs, + MessageInfos: file_flyteidl_service_auth_proto_msgTypes, + }.Build() + File_flyteidl_service_auth_proto = out.File + file_flyteidl_service_auth_proto_rawDesc = nil + file_flyteidl_service_auth_proto_goTypes = nil + file_flyteidl_service_auth_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/auth.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/service/auth.pb.gw.go deleted file mode 100644 index 12d485a16a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/auth.pb.gw.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: flyteidl/service/auth.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 - -func request_AuthMetadataService_GetOAuth2Metadata_0(ctx context.Context, marshaler runtime.Marshaler, client AuthMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq OAuth2MetadataRequest - var metadata runtime.ServerMetadata - - msg, err := client.GetOAuth2Metadata(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_AuthMetadataService_GetPublicClientConfig_0(ctx context.Context, marshaler runtime.Marshaler, client AuthMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq PublicClientAuthConfigRequest - var metadata runtime.ServerMetadata - - msg, err := client.GetPublicClientConfig(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -// RegisterAuthMetadataServiceHandlerFromEndpoint is same as RegisterAuthMetadataServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterAuthMetadataServiceHandlerFromEndpoint(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 RegisterAuthMetadataServiceHandler(ctx, mux, conn) -} - -// RegisterAuthMetadataServiceHandler registers the http handlers for service AuthMetadataService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterAuthMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterAuthMetadataServiceHandlerClient(ctx, mux, NewAuthMetadataServiceClient(conn)) -} - -// RegisterAuthMetadataServiceHandlerClient registers the http handlers for service AuthMetadataService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthMetadataServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthMetadataServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "AuthMetadataServiceClient" to call the correct interceptors. -func RegisterAuthMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthMetadataServiceClient) error { - - mux.Handle("GET", pattern_AuthMetadataService_GetOAuth2Metadata_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_AuthMetadataService_GetOAuth2Metadata_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AuthMetadataService_GetOAuth2Metadata_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_AuthMetadataService_GetPublicClientConfig_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_AuthMetadataService_GetPublicClientConfig_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_AuthMetadataService_GetPublicClientConfig_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_AuthMetadataService_GetOAuth2Metadata_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{".well-known", "oauth-authorization-server"}, "")) - - pattern_AuthMetadataService_GetPublicClientConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"config", "v1", "flyte_client"}, "")) -) - -var ( - forward_AuthMetadataService_GetOAuth2Metadata_0 = runtime.ForwardResponseMessage - - forward_AuthMetadataService_GetPublicClientConfig_0 = runtime.ForwardResponseMessage -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/auth.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/auth.swagger.json deleted file mode 100644 index e3fbf421f3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/auth.swagger.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/service/auth.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/.well-known/oauth-authorization-server": { - "get": { - "summary": "Anonymously accessible. Retrieves local or external oauth authorization server metadata.", - "operationId": "GetOAuth2Metadata", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/serviceOAuth2MetadataResponse" - } - } - }, - "tags": [ - "AuthMetadataService" - ] - } - }, - "/config/v1/flyte_client": { - "get": { - "summary": "Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization\nrequests.", - "operationId": "GetPublicClientConfig", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/servicePublicClientAuthConfigResponse" - } - } - }, - "tags": [ - "AuthMetadataService" - ] - } - } - }, - "definitions": { - "serviceOAuth2MetadataResponse": { - "type": "object", - "properties": { - "issuer": { - "type": "string", - "description": "Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external\nissuer." - }, - "authorization_endpoint": { - "type": "string", - "description": "URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are\nsupported that use the authorization endpoint." - }, - "token_endpoint": { - "type": "string", - "description": "URL of the authorization server's token endpoint [RFC6749]." - }, - "response_types_supported": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array containing a list of the OAuth 2.0 response_type values that this authorization server supports." - }, - "scopes_supported": { - "type": "array", - "items": { - "type": "string" - }, - "description": "JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports." - }, - "token_endpoint_auth_methods_supported": { - "type": "array", - "items": { - "type": "string" - }, - "description": "JSON array containing a list of client authentication methods supported by this token endpoint." - }, - "jwks_uri": { - "type": "string", - "description": "URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the\nclient uses to validate signatures from the authorization server." - }, - "code_challenge_methods_supported": { - "type": "array", - "items": { - "type": "string" - }, - "description": "JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by\nthis authorization server." - }, - "grant_types_supported": { - "type": "array", - "items": { - "type": "string" - }, - "description": "JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports." - }, - "device_authorization_endpoint": { - "type": "string", - "title": "URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]" - } - }, - "title": "OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata\nas defined in https://tools.ietf.org/html/rfc8414" - }, - "servicePublicClientAuthConfigResponse": { - "type": "object", - "properties": { - "client_id": { - "type": "string", - "description": "client_id to use when initiating OAuth2 authorization requests." - }, - "redirect_uri": { - "type": "string", - "description": "redirect uri to use when initiating OAuth2 authorization requests." - }, - "scopes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "scopes to request when initiating OAuth2 authorization requests." - }, - "authorization_metadata_key": { - "type": "string", - "description": "Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the\ndefault http `Authorization` header." - }, - "service_http_endpoint": { - "type": "string", - "description": "ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used\nto configure the gRPC connection can be used for the http one respecting the insecure flag to choose between\nSSL or no SSL connections." - }, - "audience": { - "type": "string", - "description": "audience to use when initiating OAuth2 authorization requests." - } - }, - "description": "FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users." - } - } -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/auth_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/service/auth_grpc.pb.go new file mode 100644 index 0000000000..dd324d134e --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/auth_grpc.pb.go @@ -0,0 +1,150 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/service/auth.proto + +package service + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + AuthMetadataService_GetOAuth2Metadata_FullMethodName = "/flyteidl.service.AuthMetadataService/GetOAuth2Metadata" + AuthMetadataService_GetPublicClientConfig_FullMethodName = "/flyteidl.service.AuthMetadataService/GetPublicClientConfig" +) + +// AuthMetadataServiceClient is the client API for AuthMetadataService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AuthMetadataServiceClient interface { + // Anonymously accessible. Retrieves local or external oauth authorization server metadata. + GetOAuth2Metadata(ctx context.Context, in *OAuth2MetadataRequest, opts ...grpc.CallOption) (*OAuth2MetadataResponse, error) + // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization + // requests. + GetPublicClientConfig(ctx context.Context, in *PublicClientAuthConfigRequest, opts ...grpc.CallOption) (*PublicClientAuthConfigResponse, error) +} + +type authMetadataServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewAuthMetadataServiceClient(cc grpc.ClientConnInterface) AuthMetadataServiceClient { + return &authMetadataServiceClient{cc} +} + +func (c *authMetadataServiceClient) GetOAuth2Metadata(ctx context.Context, in *OAuth2MetadataRequest, opts ...grpc.CallOption) (*OAuth2MetadataResponse, error) { + out := new(OAuth2MetadataResponse) + err := c.cc.Invoke(ctx, AuthMetadataService_GetOAuth2Metadata_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authMetadataServiceClient) GetPublicClientConfig(ctx context.Context, in *PublicClientAuthConfigRequest, opts ...grpc.CallOption) (*PublicClientAuthConfigResponse, error) { + out := new(PublicClientAuthConfigResponse) + err := c.cc.Invoke(ctx, AuthMetadataService_GetPublicClientConfig_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AuthMetadataServiceServer is the server API for AuthMetadataService service. +// All implementations should embed UnimplementedAuthMetadataServiceServer +// for forward compatibility +type AuthMetadataServiceServer interface { + // Anonymously accessible. Retrieves local or external oauth authorization server metadata. + GetOAuth2Metadata(context.Context, *OAuth2MetadataRequest) (*OAuth2MetadataResponse, error) + // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization + // requests. + GetPublicClientConfig(context.Context, *PublicClientAuthConfigRequest) (*PublicClientAuthConfigResponse, error) +} + +// UnimplementedAuthMetadataServiceServer should be embedded to have forward compatible implementations. +type UnimplementedAuthMetadataServiceServer struct { +} + +func (UnimplementedAuthMetadataServiceServer) GetOAuth2Metadata(context.Context, *OAuth2MetadataRequest) (*OAuth2MetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOAuth2Metadata not implemented") +} +func (UnimplementedAuthMetadataServiceServer) GetPublicClientConfig(context.Context, *PublicClientAuthConfigRequest) (*PublicClientAuthConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPublicClientConfig not implemented") +} + +// UnsafeAuthMetadataServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AuthMetadataServiceServer will +// result in compilation errors. +type UnsafeAuthMetadataServiceServer interface { + mustEmbedUnimplementedAuthMetadataServiceServer() +} + +func RegisterAuthMetadataServiceServer(s grpc.ServiceRegistrar, srv AuthMetadataServiceServer) { + s.RegisterService(&AuthMetadataService_ServiceDesc, srv) +} + +func _AuthMetadataService_GetOAuth2Metadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OAuth2MetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthMetadataServiceServer).GetOAuth2Metadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AuthMetadataService_GetOAuth2Metadata_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthMetadataServiceServer).GetOAuth2Metadata(ctx, req.(*OAuth2MetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthMetadataService_GetPublicClientConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PublicClientAuthConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthMetadataServiceServer).GetPublicClientConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AuthMetadataService_GetPublicClientConfig_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthMetadataServiceServer).GetPublicClientConfig(ctx, req.(*PublicClientAuthConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AuthMetadataService_ServiceDesc is the grpc.ServiceDesc for AuthMetadataService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AuthMetadataService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.AuthMetadataService", + HandlerType: (*AuthMetadataServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOAuth2Metadata", + Handler: _AuthMetadataService_GetOAuth2Metadata_Handler, + }, + { + MethodName: "GetPublicClientConfig", + Handler: _AuthMetadataService_GetPublicClientConfig_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/auth.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go index 45f869e608..3acf2559cf 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.go @@ -1,32 +1,29 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/service/dataproxy.proto package service import ( - context "context" - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // ArtifactType type ArtifactType int32 @@ -39,78 +36,107 @@ const ( ArtifactType_ARTIFACT_TYPE_DECK ArtifactType = 1 ) -var ArtifactType_name = map[int32]string{ - 0: "ARTIFACT_TYPE_UNDEFINED", - 1: "ARTIFACT_TYPE_DECK", -} +// Enum value maps for ArtifactType. +var ( + ArtifactType_name = map[int32]string{ + 0: "ARTIFACT_TYPE_UNDEFINED", + 1: "ARTIFACT_TYPE_DECK", + } + ArtifactType_value = map[string]int32{ + "ARTIFACT_TYPE_UNDEFINED": 0, + "ARTIFACT_TYPE_DECK": 1, + } +) -var ArtifactType_value = map[string]int32{ - "ARTIFACT_TYPE_UNDEFINED": 0, - "ARTIFACT_TYPE_DECK": 1, +func (x ArtifactType) Enum() *ArtifactType { + p := new(ArtifactType) + *p = x + return p } func (x ArtifactType) String() string { - return proto.EnumName(ArtifactType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ArtifactType) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_service_dataproxy_proto_enumTypes[0].Descriptor() +} + +func (ArtifactType) Type() protoreflect.EnumType { + return &file_flyteidl_service_dataproxy_proto_enumTypes[0] +} + +func (x ArtifactType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ArtifactType.Descriptor instead. func (ArtifactType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{0} + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{0} } type CreateUploadLocationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) SignedUrl string `protobuf:"bytes,1,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) NativeUrl string `protobuf:"bytes,2,opt,name=native_url,json=nativeUrl,proto3" json:"native_url,omitempty"` // ExpiresAt defines when will the signed URL expires. - ExpiresAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` } -func (m *CreateUploadLocationResponse) Reset() { *m = CreateUploadLocationResponse{} } -func (m *CreateUploadLocationResponse) String() string { return proto.CompactTextString(m) } -func (*CreateUploadLocationResponse) ProtoMessage() {} -func (*CreateUploadLocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{0} +func (x *CreateUploadLocationResponse) Reset() { + *x = CreateUploadLocationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateUploadLocationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateUploadLocationResponse.Unmarshal(m, b) -} -func (m *CreateUploadLocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateUploadLocationResponse.Marshal(b, m, deterministic) -} -func (m *CreateUploadLocationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUploadLocationResponse.Merge(m, src) -} -func (m *CreateUploadLocationResponse) XXX_Size() int { - return xxx_messageInfo_CreateUploadLocationResponse.Size(m) +func (x *CreateUploadLocationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateUploadLocationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUploadLocationResponse.DiscardUnknown(m) + +func (*CreateUploadLocationResponse) ProtoMessage() {} + +func (x *CreateUploadLocationResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateUploadLocationResponse proto.InternalMessageInfo +// Deprecated: Use CreateUploadLocationResponse.ProtoReflect.Descriptor instead. +func (*CreateUploadLocationResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{0} +} -func (m *CreateUploadLocationResponse) GetSignedUrl() string { - if m != nil { - return m.SignedUrl +func (x *CreateUploadLocationResponse) GetSignedUrl() string { + if x != nil { + return x.SignedUrl } return "" } -func (m *CreateUploadLocationResponse) GetNativeUrl() string { - if m != nil { - return m.NativeUrl +func (x *CreateUploadLocationResponse) GetNativeUrl() string { + if x != nil { + return x.NativeUrl } return "" } -func (m *CreateUploadLocationResponse) GetExpiresAt() *timestamp.Timestamp { - if m != nil { - return m.ExpiresAt +func (x *CreateUploadLocationResponse) GetExpiresAt() *timestamppb.Timestamp { + if x != nil { + return x.ExpiresAt } return nil } @@ -121,6 +147,10 @@ func (m *CreateUploadLocationResponse) GetExpiresAt() *timestamp.Timestamp { // - project/domain/(a deterministic str representation of the content_md5)/filename (if present); OR // - project/domain/filename_root (if present)/filename (if present). type CreateUploadLocationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Project to create the upload location for // +required Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` @@ -133,7 +163,7 @@ type CreateUploadLocationRequest struct { // ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this // exceeds the platform allowed max. // +optional. The default value comes from a global config. - ExpiresIn *duration.Duration `protobuf:"bytes,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` + ExpiresIn *durationpb.Duration `protobuf:"bytes,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the // generated path. // +required @@ -142,248 +172,267 @@ type CreateUploadLocationRequest struct { // this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix // in data proxy config. This option is useful when uploading multiple files. // +optional - FilenameRoot string `protobuf:"bytes,6,opt,name=filename_root,json=filenameRoot,proto3" json:"filename_root,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FilenameRoot string `protobuf:"bytes,6,opt,name=filename_root,json=filenameRoot,proto3" json:"filename_root,omitempty"` } -func (m *CreateUploadLocationRequest) Reset() { *m = CreateUploadLocationRequest{} } -func (m *CreateUploadLocationRequest) String() string { return proto.CompactTextString(m) } -func (*CreateUploadLocationRequest) ProtoMessage() {} -func (*CreateUploadLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{1} +func (x *CreateUploadLocationRequest) Reset() { + *x = CreateUploadLocationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateUploadLocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateUploadLocationRequest.Unmarshal(m, b) +func (x *CreateUploadLocationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateUploadLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateUploadLocationRequest.Marshal(b, m, deterministic) -} -func (m *CreateUploadLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUploadLocationRequest.Merge(m, src) -} -func (m *CreateUploadLocationRequest) XXX_Size() int { - return xxx_messageInfo_CreateUploadLocationRequest.Size(m) -} -func (m *CreateUploadLocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUploadLocationRequest.DiscardUnknown(m) + +func (*CreateUploadLocationRequest) ProtoMessage() {} + +func (x *CreateUploadLocationRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateUploadLocationRequest proto.InternalMessageInfo +// Deprecated: Use CreateUploadLocationRequest.ProtoReflect.Descriptor instead. +func (*CreateUploadLocationRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{1} +} -func (m *CreateUploadLocationRequest) GetProject() string { - if m != nil { - return m.Project +func (x *CreateUploadLocationRequest) GetProject() string { + if x != nil { + return x.Project } return "" } -func (m *CreateUploadLocationRequest) GetDomain() string { - if m != nil { - return m.Domain +func (x *CreateUploadLocationRequest) GetDomain() string { + if x != nil { + return x.Domain } return "" } -func (m *CreateUploadLocationRequest) GetFilename() string { - if m != nil { - return m.Filename +func (x *CreateUploadLocationRequest) GetFilename() string { + if x != nil { + return x.Filename } return "" } -func (m *CreateUploadLocationRequest) GetExpiresIn() *duration.Duration { - if m != nil { - return m.ExpiresIn +func (x *CreateUploadLocationRequest) GetExpiresIn() *durationpb.Duration { + if x != nil { + return x.ExpiresIn } return nil } -func (m *CreateUploadLocationRequest) GetContentMd5() []byte { - if m != nil { - return m.ContentMd5 +func (x *CreateUploadLocationRequest) GetContentMd5() []byte { + if x != nil { + return x.ContentMd5 } return nil } -func (m *CreateUploadLocationRequest) GetFilenameRoot() string { - if m != nil { - return m.FilenameRoot +func (x *CreateUploadLocationRequest) GetFilenameRoot() string { + if x != nil { + return x.FilenameRoot } return "" } // CreateDownloadLocationRequest specified request for the CreateDownloadLocation API. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/dataproxy.proto. type CreateDownloadLocationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) NativeUrl string `protobuf:"bytes,1,opt,name=native_url,json=nativeUrl,proto3" json:"native_url,omitempty"` // ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this // exceeds the platform allowed max. // +optional. The default value comes from a global config. - ExpiresIn *duration.Duration `protobuf:"bytes,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExpiresIn *durationpb.Duration `protobuf:"bytes,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` } -func (m *CreateDownloadLocationRequest) Reset() { *m = CreateDownloadLocationRequest{} } -func (m *CreateDownloadLocationRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDownloadLocationRequest) ProtoMessage() {} -func (*CreateDownloadLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{2} +func (x *CreateDownloadLocationRequest) Reset() { + *x = CreateDownloadLocationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateDownloadLocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDownloadLocationRequest.Unmarshal(m, b) -} -func (m *CreateDownloadLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDownloadLocationRequest.Marshal(b, m, deterministic) -} -func (m *CreateDownloadLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDownloadLocationRequest.Merge(m, src) +func (x *CreateDownloadLocationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateDownloadLocationRequest) XXX_Size() int { - return xxx_messageInfo_CreateDownloadLocationRequest.Size(m) -} -func (m *CreateDownloadLocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDownloadLocationRequest.DiscardUnknown(m) + +func (*CreateDownloadLocationRequest) ProtoMessage() {} + +func (x *CreateDownloadLocationRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateDownloadLocationRequest proto.InternalMessageInfo +// Deprecated: Use CreateDownloadLocationRequest.ProtoReflect.Descriptor instead. +func (*CreateDownloadLocationRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{2} +} -func (m *CreateDownloadLocationRequest) GetNativeUrl() string { - if m != nil { - return m.NativeUrl +func (x *CreateDownloadLocationRequest) GetNativeUrl() string { + if x != nil { + return x.NativeUrl } return "" } -func (m *CreateDownloadLocationRequest) GetExpiresIn() *duration.Duration { - if m != nil { - return m.ExpiresIn +func (x *CreateDownloadLocationRequest) GetExpiresIn() *durationpb.Duration { + if x != nil { + return x.ExpiresIn } return nil } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/dataproxy.proto. type CreateDownloadLocationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) SignedUrl string `protobuf:"bytes,1,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // ExpiresAt defines when will the signed URL expires. - ExpiresAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` } -func (m *CreateDownloadLocationResponse) Reset() { *m = CreateDownloadLocationResponse{} } -func (m *CreateDownloadLocationResponse) String() string { return proto.CompactTextString(m) } -func (*CreateDownloadLocationResponse) ProtoMessage() {} -func (*CreateDownloadLocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{3} +func (x *CreateDownloadLocationResponse) Reset() { + *x = CreateDownloadLocationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateDownloadLocationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDownloadLocationResponse.Unmarshal(m, b) -} -func (m *CreateDownloadLocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDownloadLocationResponse.Marshal(b, m, deterministic) -} -func (m *CreateDownloadLocationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDownloadLocationResponse.Merge(m, src) -} -func (m *CreateDownloadLocationResponse) XXX_Size() int { - return xxx_messageInfo_CreateDownloadLocationResponse.Size(m) +func (x *CreateDownloadLocationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateDownloadLocationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDownloadLocationResponse.DiscardUnknown(m) + +func (*CreateDownloadLocationResponse) ProtoMessage() {} + +func (x *CreateDownloadLocationResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateDownloadLocationResponse proto.InternalMessageInfo +// Deprecated: Use CreateDownloadLocationResponse.ProtoReflect.Descriptor instead. +func (*CreateDownloadLocationResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{3} +} -func (m *CreateDownloadLocationResponse) GetSignedUrl() string { - if m != nil { - return m.SignedUrl +func (x *CreateDownloadLocationResponse) GetSignedUrl() string { + if x != nil { + return x.SignedUrl } return "" } -func (m *CreateDownloadLocationResponse) GetExpiresAt() *timestamp.Timestamp { - if m != nil { - return m.ExpiresAt +func (x *CreateDownloadLocationResponse) GetExpiresAt() *timestamppb.Timestamp { + if x != nil { + return x.ExpiresAt } return nil } // CreateDownloadLinkRequest defines the request parameters to create a download link (signed url) type CreateDownloadLinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ArtifactType of the artifact requested. ArtifactType ArtifactType `protobuf:"varint,1,opt,name=artifact_type,json=artifactType,proto3,enum=flyteidl.service.ArtifactType" json:"artifact_type,omitempty"` // ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this // exceeds the platform allowed max. // +optional. The default value comes from a global config. - ExpiresIn *duration.Duration `protobuf:"bytes,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` - // Types that are valid to be assigned to Source: + ExpiresIn *durationpb.Duration `protobuf:"bytes,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` + // Types that are assignable to Source: + // // *CreateDownloadLinkRequest_NodeExecutionId - Source isCreateDownloadLinkRequest_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Source isCreateDownloadLinkRequest_Source `protobuf_oneof:"source"` } -func (m *CreateDownloadLinkRequest) Reset() { *m = CreateDownloadLinkRequest{} } -func (m *CreateDownloadLinkRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDownloadLinkRequest) ProtoMessage() {} -func (*CreateDownloadLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{4} +func (x *CreateDownloadLinkRequest) Reset() { + *x = CreateDownloadLinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateDownloadLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDownloadLinkRequest.Unmarshal(m, b) -} -func (m *CreateDownloadLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDownloadLinkRequest.Marshal(b, m, deterministic) -} -func (m *CreateDownloadLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDownloadLinkRequest.Merge(m, src) -} -func (m *CreateDownloadLinkRequest) XXX_Size() int { - return xxx_messageInfo_CreateDownloadLinkRequest.Size(m) -} -func (m *CreateDownloadLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDownloadLinkRequest.DiscardUnknown(m) +func (x *CreateDownloadLinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateDownloadLinkRequest proto.InternalMessageInfo +func (*CreateDownloadLinkRequest) ProtoMessage() {} -func (m *CreateDownloadLinkRequest) GetArtifactType() ArtifactType { - if m != nil { - return m.ArtifactType +func (x *CreateDownloadLinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return ArtifactType_ARTIFACT_TYPE_UNDEFINED + return mi.MessageOf(x) } -func (m *CreateDownloadLinkRequest) GetExpiresIn() *duration.Duration { - if m != nil { - return m.ExpiresIn - } - return nil +// Deprecated: Use CreateDownloadLinkRequest.ProtoReflect.Descriptor instead. +func (*CreateDownloadLinkRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{4} } -type isCreateDownloadLinkRequest_Source interface { - isCreateDownloadLinkRequest_Source() +func (x *CreateDownloadLinkRequest) GetArtifactType() ArtifactType { + if x != nil { + return x.ArtifactType + } + return ArtifactType_ARTIFACT_TYPE_UNDEFINED } -type CreateDownloadLinkRequest_NodeExecutionId struct { - NodeExecutionId *core.NodeExecutionIdentifier `protobuf:"bytes,3,opt,name=node_execution_id,json=nodeExecutionId,proto3,oneof"` +func (x *CreateDownloadLinkRequest) GetExpiresIn() *durationpb.Duration { + if x != nil { + return x.ExpiresIn + } + return nil } -func (*CreateDownloadLinkRequest_NodeExecutionId) isCreateDownloadLinkRequest_Source() {} - func (m *CreateDownloadLinkRequest) GetSource() isCreateDownloadLinkRequest_Source { if m != nil { return m.Source @@ -391,234 +440,255 @@ func (m *CreateDownloadLinkRequest) GetSource() isCreateDownloadLinkRequest_Sour return nil } -func (m *CreateDownloadLinkRequest) GetNodeExecutionId() *core.NodeExecutionIdentifier { - if x, ok := m.GetSource().(*CreateDownloadLinkRequest_NodeExecutionId); ok { +func (x *CreateDownloadLinkRequest) GetNodeExecutionId() *core.NodeExecutionIdentifier { + if x, ok := x.GetSource().(*CreateDownloadLinkRequest_NodeExecutionId); ok { return x.NodeExecutionId } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CreateDownloadLinkRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CreateDownloadLinkRequest_NodeExecutionId)(nil), - } +type isCreateDownloadLinkRequest_Source interface { + isCreateDownloadLinkRequest_Source() } +type CreateDownloadLinkRequest_NodeExecutionId struct { + // NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the + // most recent attempt of the task. + NodeExecutionId *core.NodeExecutionIdentifier `protobuf:"bytes,3,opt,name=node_execution_id,json=nodeExecutionId,proto3,oneof"` +} + +func (*CreateDownloadLinkRequest_NodeExecutionId) isCreateDownloadLinkRequest_Source() {} + // CreateDownloadLinkResponse defines the response for the generated links type CreateDownloadLinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) - SignedUrl []string `protobuf:"bytes,1,rep,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/service/dataproxy.proto. + SignedUrl []string `protobuf:"bytes,1,rep,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // ExpiresAt defines when will the signed URL expire. - ExpiresAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flyteidl/service/dataproxy.proto. + ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // New wrapper object containing the signed urls and expiration time - PreSignedUrls *PreSignedURLs `protobuf:"bytes,3,opt,name=pre_signed_urls,json=preSignedUrls,proto3" json:"pre_signed_urls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PreSignedUrls *PreSignedURLs `protobuf:"bytes,3,opt,name=pre_signed_urls,json=preSignedUrls,proto3" json:"pre_signed_urls,omitempty"` } -func (m *CreateDownloadLinkResponse) Reset() { *m = CreateDownloadLinkResponse{} } -func (m *CreateDownloadLinkResponse) String() string { return proto.CompactTextString(m) } -func (*CreateDownloadLinkResponse) ProtoMessage() {} -func (*CreateDownloadLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{5} +func (x *CreateDownloadLinkResponse) Reset() { + *x = CreateDownloadLinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateDownloadLinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDownloadLinkResponse.Unmarshal(m, b) -} -func (m *CreateDownloadLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDownloadLinkResponse.Marshal(b, m, deterministic) -} -func (m *CreateDownloadLinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDownloadLinkResponse.Merge(m, src) -} -func (m *CreateDownloadLinkResponse) XXX_Size() int { - return xxx_messageInfo_CreateDownloadLinkResponse.Size(m) +func (x *CreateDownloadLinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateDownloadLinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDownloadLinkResponse.DiscardUnknown(m) + +func (*CreateDownloadLinkResponse) ProtoMessage() {} + +func (x *CreateDownloadLinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateDownloadLinkResponse proto.InternalMessageInfo +// Deprecated: Use CreateDownloadLinkResponse.ProtoReflect.Descriptor instead. +func (*CreateDownloadLinkResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{5} +} -// Deprecated: Do not use. -func (m *CreateDownloadLinkResponse) GetSignedUrl() []string { - if m != nil { - return m.SignedUrl +// Deprecated: Marked as deprecated in flyteidl/service/dataproxy.proto. +func (x *CreateDownloadLinkResponse) GetSignedUrl() []string { + if x != nil { + return x.SignedUrl } return nil } -// Deprecated: Do not use. -func (m *CreateDownloadLinkResponse) GetExpiresAt() *timestamp.Timestamp { - if m != nil { - return m.ExpiresAt +// Deprecated: Marked as deprecated in flyteidl/service/dataproxy.proto. +func (x *CreateDownloadLinkResponse) GetExpiresAt() *timestamppb.Timestamp { + if x != nil { + return x.ExpiresAt } return nil } -func (m *CreateDownloadLinkResponse) GetPreSignedUrls() *PreSignedURLs { - if m != nil { - return m.PreSignedUrls +func (x *CreateDownloadLinkResponse) GetPreSignedUrls() *PreSignedURLs { + if x != nil { + return x.PreSignedUrls } return nil } // Wrapper object since the message is shared across this and the GetDataResponse type PreSignedURLs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) SignedUrl []string `protobuf:"bytes,1,rep,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // ExpiresAt defines when will the signed URL expire. - ExpiresAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` } -func (m *PreSignedURLs) Reset() { *m = PreSignedURLs{} } -func (m *PreSignedURLs) String() string { return proto.CompactTextString(m) } -func (*PreSignedURLs) ProtoMessage() {} -func (*PreSignedURLs) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{6} +func (x *PreSignedURLs) Reset() { + *x = PreSignedURLs{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PreSignedURLs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreSignedURLs.Unmarshal(m, b) -} -func (m *PreSignedURLs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreSignedURLs.Marshal(b, m, deterministic) -} -func (m *PreSignedURLs) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreSignedURLs.Merge(m, src) -} -func (m *PreSignedURLs) XXX_Size() int { - return xxx_messageInfo_PreSignedURLs.Size(m) +func (x *PreSignedURLs) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PreSignedURLs) XXX_DiscardUnknown() { - xxx_messageInfo_PreSignedURLs.DiscardUnknown(m) + +func (*PreSignedURLs) ProtoMessage() {} + +func (x *PreSignedURLs) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PreSignedURLs proto.InternalMessageInfo +// Deprecated: Use PreSignedURLs.ProtoReflect.Descriptor instead. +func (*PreSignedURLs) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{6} +} -func (m *PreSignedURLs) GetSignedUrl() []string { - if m != nil { - return m.SignedUrl +func (x *PreSignedURLs) GetSignedUrl() []string { + if x != nil { + return x.SignedUrl } return nil } -func (m *PreSignedURLs) GetExpiresAt() *timestamp.Timestamp { - if m != nil { - return m.ExpiresAt +func (x *PreSignedURLs) GetExpiresAt() *timestamppb.Timestamp { + if x != nil { + return x.ExpiresAt } return nil } // General request artifact to retrieve data from a Flyte artifact url. type GetDataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A unique identifier in the form of flyte:// that uniquely, for a given Flyte // backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.). // e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) - // flyte://v1/proj/development/execid/n2/i (for node execution input) - // flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node) - FlyteUrl string `protobuf:"bytes,1,opt,name=flyte_url,json=flyteUrl,proto3" json:"flyte_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // + // flyte://v1/proj/development/execid/n2/i (for node execution input) + // flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node) + FlyteUrl string `protobuf:"bytes,1,opt,name=flyte_url,json=flyteUrl,proto3" json:"flyte_url,omitempty"` +} + +func (x *GetDataRequest) Reset() { + *x = GetDataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetDataRequest) Reset() { *m = GetDataRequest{} } -func (m *GetDataRequest) String() string { return proto.CompactTextString(m) } -func (*GetDataRequest) ProtoMessage() {} -func (*GetDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{7} +func (x *GetDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDataRequest.Unmarshal(m, b) -} -func (m *GetDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDataRequest.Marshal(b, m, deterministic) -} -func (m *GetDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDataRequest.Merge(m, src) -} -func (m *GetDataRequest) XXX_Size() int { - return xxx_messageInfo_GetDataRequest.Size(m) -} -func (m *GetDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDataRequest.DiscardUnknown(m) +func (*GetDataRequest) ProtoMessage() {} + +func (x *GetDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetDataRequest proto.InternalMessageInfo +// Deprecated: Use GetDataRequest.ProtoReflect.Descriptor instead. +func (*GetDataRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{7} +} -func (m *GetDataRequest) GetFlyteUrl() string { - if m != nil { - return m.FlyteUrl +func (x *GetDataRequest) GetFlyteUrl() string { + if x != nil { + return x.FlyteUrl } return "" } type GetDataResponse struct { - // Types that are valid to be assigned to Data: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Data: + // // *GetDataResponse_LiteralMap // *GetDataResponse_PreSignedUrls // *GetDataResponse_Literal - Data isGetDataResponse_Data `protobuf_oneof:"data"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data isGetDataResponse_Data `protobuf_oneof:"data"` } -func (m *GetDataResponse) Reset() { *m = GetDataResponse{} } -func (m *GetDataResponse) String() string { return proto.CompactTextString(m) } -func (*GetDataResponse) ProtoMessage() {} -func (*GetDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bffb71366d75dab0, []int{8} -} - -func (m *GetDataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDataResponse.Unmarshal(m, b) -} -func (m *GetDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDataResponse.Marshal(b, m, deterministic) -} -func (m *GetDataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDataResponse.Merge(m, src) -} -func (m *GetDataResponse) XXX_Size() int { - return xxx_messageInfo_GetDataResponse.Size(m) -} -func (m *GetDataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDataResponse.DiscardUnknown(m) +func (x *GetDataResponse) Reset() { + *x = GetDataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_GetDataResponse proto.InternalMessageInfo - -type isGetDataResponse_Data interface { - isGetDataResponse_Data() +func (x *GetDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type GetDataResponse_LiteralMap struct { - LiteralMap *core.LiteralMap `protobuf:"bytes,1,opt,name=literal_map,json=literalMap,proto3,oneof"` -} +func (*GetDataResponse) ProtoMessage() {} -type GetDataResponse_PreSignedUrls struct { - PreSignedUrls *PreSignedURLs `protobuf:"bytes,2,opt,name=pre_signed_urls,json=preSignedUrls,proto3,oneof"` +func (x *GetDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_dataproxy_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type GetDataResponse_Literal struct { - Literal *core.Literal `protobuf:"bytes,3,opt,name=literal,proto3,oneof"` +// Deprecated: Use GetDataResponse.ProtoReflect.Descriptor instead. +func (*GetDataResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_dataproxy_proto_rawDescGZIP(), []int{8} } -func (*GetDataResponse_LiteralMap) isGetDataResponse_Data() {} - -func (*GetDataResponse_PreSignedUrls) isGetDataResponse_Data() {} - -func (*GetDataResponse_Literal) isGetDataResponse_Data() {} - func (m *GetDataResponse) GetData() isGetDataResponse_Data { if m != nil { return m.Data @@ -626,303 +696,440 @@ func (m *GetDataResponse) GetData() isGetDataResponse_Data { return nil } -func (m *GetDataResponse) GetLiteralMap() *core.LiteralMap { - if x, ok := m.GetData().(*GetDataResponse_LiteralMap); ok { +func (x *GetDataResponse) GetLiteralMap() *core.LiteralMap { + if x, ok := x.GetData().(*GetDataResponse_LiteralMap); ok { return x.LiteralMap } return nil } -func (m *GetDataResponse) GetPreSignedUrls() *PreSignedURLs { - if x, ok := m.GetData().(*GetDataResponse_PreSignedUrls); ok { +func (x *GetDataResponse) GetPreSignedUrls() *PreSignedURLs { + if x, ok := x.GetData().(*GetDataResponse_PreSignedUrls); ok { return x.PreSignedUrls } return nil } -func (m *GetDataResponse) GetLiteral() *core.Literal { - if x, ok := m.GetData().(*GetDataResponse_Literal); ok { +func (x *GetDataResponse) GetLiteral() *core.Literal { + if x, ok := x.GetData().(*GetDataResponse_Literal); ok { return x.Literal } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetDataResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetDataResponse_LiteralMap)(nil), - (*GetDataResponse_PreSignedUrls)(nil), - (*GetDataResponse_Literal)(nil), - } -} - -func init() { - proto.RegisterEnum("flyteidl.service.ArtifactType", ArtifactType_name, ArtifactType_value) - proto.RegisterType((*CreateUploadLocationResponse)(nil), "flyteidl.service.CreateUploadLocationResponse") - proto.RegisterType((*CreateUploadLocationRequest)(nil), "flyteidl.service.CreateUploadLocationRequest") - proto.RegisterType((*CreateDownloadLocationRequest)(nil), "flyteidl.service.CreateDownloadLocationRequest") - proto.RegisterType((*CreateDownloadLocationResponse)(nil), "flyteidl.service.CreateDownloadLocationResponse") - proto.RegisterType((*CreateDownloadLinkRequest)(nil), "flyteidl.service.CreateDownloadLinkRequest") - proto.RegisterType((*CreateDownloadLinkResponse)(nil), "flyteidl.service.CreateDownloadLinkResponse") - proto.RegisterType((*PreSignedURLs)(nil), "flyteidl.service.PreSignedURLs") - proto.RegisterType((*GetDataRequest)(nil), "flyteidl.service.GetDataRequest") - proto.RegisterType((*GetDataResponse)(nil), "flyteidl.service.GetDataResponse") -} - -func init() { proto.RegisterFile("flyteidl/service/dataproxy.proto", fileDescriptor_bffb71366d75dab0) } - -var fileDescriptor_bffb71366d75dab0 = []byte{ - // 910 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0xef, 0xa4, 0x25, 0x6d, 0x5e, 0xd3, 0x3f, 0x8c, 0x56, 0x25, 0xeb, 0x76, 0xdb, 0xac, 0x17, - 0xa1, 0x52, 0xa8, 0x0d, 0x45, 0x2b, 0xc1, 0x8a, 0x15, 0x6a, 0x93, 0xec, 0x36, 0xa2, 0x5b, 0x55, - 0xde, 0xf4, 0x00, 0x17, 0x6b, 0x6a, 0x4f, 0xc2, 0xb0, 0xce, 0x8c, 0x19, 0x4f, 0x4a, 0x2b, 0x21, - 0x0e, 0x9c, 0xb8, 0x73, 0xe0, 0xc0, 0x85, 0x13, 0x5f, 0x85, 0x0f, 0x80, 0xc4, 0x07, 0x40, 0xdc, - 0xf8, 0x06, 0x9c, 0x90, 0xed, 0xb1, 0x13, 0x27, 0x69, 0x37, 0x8b, 0xf6, 0x96, 0x37, 0xef, 0xe7, - 0xf9, 0xfd, 0xde, 0x6f, 0xde, 0xbc, 0x09, 0xd4, 0xbb, 0xc1, 0xb5, 0xa2, 0xcc, 0x0f, 0xec, 0x88, - 0xca, 0x4b, 0xe6, 0x51, 0xdb, 0x27, 0x8a, 0x84, 0x52, 0x5c, 0x5d, 0x5b, 0xa1, 0x14, 0x4a, 0xe0, - 0xf5, 0x0c, 0x61, 0x69, 0x84, 0xb1, 0xd5, 0x13, 0xa2, 0x17, 0x50, 0x9b, 0x84, 0xcc, 0x26, 0x9c, - 0x0b, 0x45, 0x14, 0x13, 0x3c, 0x4a, 0xf1, 0xc6, 0xb6, 0xce, 0x26, 0xd1, 0xc5, 0xa0, 0x6b, 0xfb, - 0x03, 0x99, 0x00, 0x74, 0x7e, 0x67, 0x3c, 0xaf, 0x58, 0x9f, 0x46, 0x8a, 0xf4, 0xc3, 0x6c, 0x83, - 0x5c, 0x92, 0x27, 0x24, 0xb5, 0x99, 0x4f, 0xb9, 0x62, 0x5d, 0x46, 0xa5, 0xce, 0x6f, 0x15, 0xf3, - 0x01, 0x53, 0x54, 0x92, 0x40, 0xd3, 0x9b, 0x3f, 0x23, 0xd8, 0x6a, 0x48, 0x4a, 0x14, 0x3d, 0x0f, - 0x03, 0x41, 0xfc, 0x13, 0xe1, 0x25, 0xec, 0x0e, 0x8d, 0x42, 0xc1, 0x23, 0x8a, 0xef, 0x01, 0x44, - 0xac, 0xc7, 0xa9, 0xef, 0x0e, 0x64, 0x50, 0x43, 0x75, 0xb4, 0x5b, 0x71, 0x2a, 0xe9, 0xca, 0xb9, - 0x0c, 0xe2, 0x34, 0x27, 0x8a, 0x5d, 0xd2, 0x24, 0x5d, 0x4a, 0xd3, 0xe9, 0x4a, 0x9c, 0xfe, 0x04, - 0x80, 0x5e, 0x85, 0x4c, 0xd2, 0xc8, 0x25, 0xaa, 0x36, 0x5f, 0x47, 0xbb, 0xcb, 0x07, 0x86, 0x95, - 0x96, 0x64, 0x65, 0x25, 0x59, 0x9d, 0xac, 0x24, 0xa7, 0xa2, 0xd1, 0x87, 0xca, 0xfc, 0x07, 0xc1, - 0xe6, 0x74, 0x65, 0xdf, 0x0c, 0x68, 0xa4, 0x70, 0x0d, 0x16, 0x43, 0x29, 0xbe, 0xa6, 0x9e, 0xd2, - 0xaa, 0xb2, 0x10, 0x6f, 0x40, 0xd9, 0x17, 0x7d, 0xc2, 0xb8, 0xd6, 0xa3, 0x23, 0x6c, 0xc0, 0x52, - 0x97, 0x05, 0x94, 0x93, 0x3e, 0x4d, 0xa4, 0x54, 0x9c, 0x3c, 0xc6, 0x1f, 0x0f, 0x85, 0x32, 0x5e, - 0x5b, 0x48, 0x84, 0xde, 0x9d, 0x10, 0xda, 0xd4, 0x67, 0x93, 0xeb, 0x6c, 0x73, 0xbc, 0x03, 0xcb, - 0x9e, 0xe0, 0x8a, 0x72, 0xe5, 0xf6, 0xfd, 0x87, 0xb5, 0x37, 0xea, 0x68, 0xb7, 0xea, 0x80, 0x5e, - 0x7a, 0xe6, 0x3f, 0xc4, 0x0f, 0x60, 0x25, 0xa3, 0x71, 0xa5, 0x10, 0xaa, 0x56, 0x4e, 0xb8, 0xab, - 0xd9, 0xa2, 0x23, 0x84, 0x32, 0xbf, 0x83, 0x7b, 0x69, 0xb1, 0x4d, 0xf1, 0x2d, 0x9f, 0x56, 0x6e, - 0xd1, 0x68, 0x34, 0x6e, 0x74, 0x51, 0x7f, 0x69, 0x76, 0xfd, 0x8f, 0x4a, 0x35, 0x64, 0x7e, 0x0f, - 0xdb, 0x37, 0xb1, 0xcf, 0xd6, 0x06, 0xc5, 0x73, 0x2e, 0xbd, 0xc2, 0x39, 0x27, 0xfc, 0xff, 0x22, - 0xb8, 0x3b, 0x26, 0x80, 0xf1, 0x17, 0x59, 0xe9, 0x0d, 0x58, 0x21, 0x52, 0xb1, 0x2e, 0xf1, 0x94, - 0xab, 0xae, 0x43, 0x9a, 0xd0, 0xaf, 0x1e, 0x6c, 0x5b, 0xe3, 0x57, 0xcd, 0x3a, 0xd4, 0xb0, 0xce, - 0x75, 0x48, 0x9d, 0x2a, 0x19, 0x89, 0xfe, 0xbf, 0x41, 0xb8, 0x03, 0x6f, 0x72, 0xe1, 0x53, 0x97, - 0x5e, 0x51, 0x6f, 0x10, 0x27, 0x5d, 0xe6, 0xeb, 0x56, 0x7e, 0x67, 0x28, 0x21, 0xbe, 0x5c, 0xd6, - 0xa9, 0xf0, 0x69, 0x2b, 0x83, 0xb5, 0xf3, 0x9b, 0x78, 0x3c, 0xe7, 0xac, 0xf1, 0x62, 0xea, 0x68, - 0x09, 0xca, 0x91, 0x18, 0x48, 0x8f, 0x9a, 0xbf, 0x23, 0x30, 0xa6, 0x15, 0xaf, 0x9d, 0xbf, 0x3f, - 0xe6, 0xfc, 0xfc, 0x6e, 0xe5, 0xa8, 0x54, 0x43, 0xa3, 0xee, 0x3f, 0x7e, 0x35, 0xf7, 0xd3, 0xcf, - 0xf3, 0x13, 0xc0, 0x4f, 0x61, 0x2d, 0x94, 0xd4, 0x1d, 0xb2, 0x44, 0xba, 0xbc, 0x9d, 0x49, 0x87, - 0xcf, 0x24, 0x7d, 0x9e, 0xf2, 0x3a, 0x27, 0x91, 0xb3, 0x12, 0xe6, 0xa1, 0x0c, 0x22, 0x93, 0xc1, - 0x4a, 0x21, 0x3f, 0xd1, 0x35, 0xf3, 0xaf, 0xab, 0x6b, 0xcc, 0x7d, 0x58, 0x7d, 0x4a, 0x55, 0x93, - 0x28, 0x92, 0x75, 0xc9, 0x26, 0x54, 0x12, 0xb5, 0x23, 0x0d, 0xba, 0x94, 0x2c, 0x9c, 0xcb, 0xc0, - 0xfc, 0x13, 0xc1, 0x5a, 0x8e, 0xd7, 0xc6, 0x7e, 0x0a, 0xcb, 0x7a, 0x18, 0xba, 0x7d, 0x12, 0x26, - 0x9f, 0xc4, 0x2d, 0x51, 0x3c, 0xd1, 0x93, 0x14, 0xf1, 0x8c, 0x84, 0xc7, 0x73, 0x0e, 0x04, 0x79, - 0x84, 0xdb, 0x93, 0xa6, 0x95, 0x66, 0x32, 0xed, 0x78, 0x6e, 0xcc, 0x36, 0x7c, 0x00, 0x8b, 0x7a, - 0x63, 0xed, 0xfb, 0xc6, 0x74, 0x11, 0xc7, 0x73, 0x4e, 0x06, 0x3c, 0x2a, 0xc3, 0x42, 0xfc, 0xf2, - 0xec, 0x35, 0xa0, 0x3a, 0xda, 0xf4, 0x78, 0x13, 0xde, 0x3a, 0x74, 0x3a, 0xed, 0x27, 0x87, 0x8d, - 0x8e, 0xdb, 0xf9, 0xe2, 0xac, 0xe5, 0x9e, 0x9f, 0x36, 0x5b, 0x4f, 0xda, 0xa7, 0xad, 0xe6, 0xfa, - 0x1c, 0xde, 0x00, 0x5c, 0x4c, 0x36, 0x5b, 0x8d, 0xcf, 0xd7, 0xd1, 0xc1, 0x5f, 0x0b, 0xb0, 0x1e, - 0x5b, 0x73, 0x16, 0xbf, 0x63, 0xcf, 0x53, 0xd1, 0xf8, 0x57, 0x04, 0x77, 0xa6, 0xcd, 0x5f, 0xbc, - 0x3f, 0x59, 0xe0, 0x2d, 0x73, 0xda, 0xb0, 0x66, 0x85, 0xa7, 0xc7, 0x62, 0xbe, 0xfb, 0xc3, 0x1f, - 0x7f, 0xff, 0x54, 0x7a, 0x60, 0x6e, 0x27, 0x0f, 0xe6, 0xe5, 0x87, 0xc3, 0x17, 0xd6, 0xce, 0xa7, - 0xc0, 0x40, 0xf2, 0x47, 0x68, 0x0f, 0xff, 0x86, 0x60, 0x63, 0xfa, 0xdc, 0xc2, 0xf6, 0x4d, 0xac, - 0x37, 0xcc, 0x57, 0xe3, 0x83, 0xd9, 0x3f, 0x28, 0x08, 0xad, 0xe3, 0x97, 0x08, 0xfd, 0xb1, 0x84, - 0xf0, 0x2f, 0x08, 0xf0, 0xe4, 0x15, 0xc7, 0xef, 0xbd, 0x94, 0x73, 0x38, 0x05, 0x8d, 0xf7, 0x67, - 0x03, 0x6b, 0x71, 0x7b, 0x89, 0xb8, 0xb7, 0xcd, 0x9d, 0x5b, 0xc4, 0x05, 0x8c, 0xbf, 0x88, 0x6d, - 0xf4, 0x61, 0x51, 0xdf, 0x0d, 0x5c, 0x9f, 0x24, 0x29, 0x5e, 0x33, 0xe3, 0xfe, 0x2d, 0x08, 0xcd, - 0x7d, 0x27, 0xe1, 0x5e, 0xc5, 0xd5, 0x51, 0xee, 0xa3, 0xcf, 0xbe, 0x7c, 0xdc, 0x63, 0xea, 0xab, - 0xc1, 0x85, 0xe5, 0x89, 0xbe, 0x9d, 0x6c, 0x22, 0x64, 0x2f, 0xfd, 0x61, 0xe7, 0xff, 0x51, 0x7a, - 0x94, 0xdb, 0xe1, 0xc5, 0x7e, 0x4f, 0xd8, 0xe3, 0xff, 0xb4, 0x2e, 0xca, 0xc9, 0x44, 0xf8, 0xe8, - 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x5e, 0xc8, 0x56, 0x84, 0x09, 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 - -// DataProxyServiceClient is the client API for DataProxyService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DataProxyServiceClient interface { - // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. - CreateUploadLocation(ctx context.Context, in *CreateUploadLocationRequest, opts ...grpc.CallOption) (*CreateUploadLocationResponse, error) - // CreateDownloadLocation creates a signed url to download artifacts. - CreateDownloadLocation(ctx context.Context, in *CreateDownloadLocationRequest, opts ...grpc.CallOption) (*CreateDownloadLocationResponse, error) - // CreateDownloadLocation creates a signed url to download artifacts. - CreateDownloadLink(ctx context.Context, in *CreateDownloadLinkRequest, opts ...grpc.CallOption) (*CreateDownloadLinkResponse, error) - GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error) -} - -type dataProxyServiceClient struct { - cc *grpc.ClientConn -} - -func NewDataProxyServiceClient(cc *grpc.ClientConn) DataProxyServiceClient { - return &dataProxyServiceClient{cc} -} - -func (c *dataProxyServiceClient) CreateUploadLocation(ctx context.Context, in *CreateUploadLocationRequest, opts ...grpc.CallOption) (*CreateUploadLocationResponse, error) { - out := new(CreateUploadLocationResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.DataProxyService/CreateUploadLocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *dataProxyServiceClient) CreateDownloadLocation(ctx context.Context, in *CreateDownloadLocationRequest, opts ...grpc.CallOption) (*CreateDownloadLocationResponse, error) { - out := new(CreateDownloadLocationResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.DataProxyService/CreateDownloadLocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataProxyServiceClient) CreateDownloadLink(ctx context.Context, in *CreateDownloadLinkRequest, opts ...grpc.CallOption) (*CreateDownloadLinkResponse, error) { - out := new(CreateDownloadLinkResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.DataProxyService/CreateDownloadLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataProxyServiceClient) GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error) { - out := new(GetDataResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.DataProxyService/GetData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type isGetDataResponse_Data interface { + isGetDataResponse_Data() } -// DataProxyServiceServer is the server API for DataProxyService service. -type DataProxyServiceServer interface { - // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. - CreateUploadLocation(context.Context, *CreateUploadLocationRequest) (*CreateUploadLocationResponse, error) - // CreateDownloadLocation creates a signed url to download artifacts. - CreateDownloadLocation(context.Context, *CreateDownloadLocationRequest) (*CreateDownloadLocationResponse, error) - // CreateDownloadLocation creates a signed url to download artifacts. - CreateDownloadLink(context.Context, *CreateDownloadLinkRequest) (*CreateDownloadLinkResponse, error) - GetData(context.Context, *GetDataRequest) (*GetDataResponse, error) +type GetDataResponse_LiteralMap struct { + // literal map data will be returned + LiteralMap *core.LiteralMap `protobuf:"bytes,1,opt,name=literal_map,json=literalMap,proto3,oneof"` } -// UnimplementedDataProxyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDataProxyServiceServer struct { +type GetDataResponse_PreSignedUrls struct { + // Flyte deck html will be returned as a signed url users can download + PreSignedUrls *PreSignedURLs `protobuf:"bytes,2,opt,name=pre_signed_urls,json=preSignedUrls,proto3,oneof"` } -func (*UnimplementedDataProxyServiceServer) CreateUploadLocation(ctx context.Context, req *CreateUploadLocationRequest) (*CreateUploadLocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateUploadLocation not implemented") -} -func (*UnimplementedDataProxyServiceServer) CreateDownloadLocation(ctx context.Context, req *CreateDownloadLocationRequest) (*CreateDownloadLocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDownloadLocation not implemented") -} -func (*UnimplementedDataProxyServiceServer) CreateDownloadLink(ctx context.Context, req *CreateDownloadLinkRequest) (*CreateDownloadLinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDownloadLink not implemented") -} -func (*UnimplementedDataProxyServiceServer) GetData(ctx context.Context, req *GetDataRequest) (*GetDataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetData not implemented") +type GetDataResponse_Literal struct { + // Single literal will be returned. This is returned when the user/url requests a specific output or input + // by name. See the o3 example above. + Literal *core.Literal `protobuf:"bytes,3,opt,name=literal,proto3,oneof"` } -func RegisterDataProxyServiceServer(s *grpc.Server, srv DataProxyServiceServer) { - s.RegisterService(&_DataProxyService_serviceDesc, srv) -} +func (*GetDataResponse_LiteralMap) isGetDataResponse_Data() {} -func _DataProxyService_CreateUploadLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateUploadLocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataProxyServiceServer).CreateUploadLocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.DataProxyService/CreateUploadLocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataProxyServiceServer).CreateUploadLocation(ctx, req.(*CreateUploadLocationRequest)) - } - return interceptor(ctx, in, info, handler) -} +func (*GetDataResponse_PreSignedUrls) isGetDataResponse_Data() {} -func _DataProxyService_CreateDownloadLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDownloadLocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataProxyServiceServer).CreateDownloadLocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.DataProxyService/CreateDownloadLocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataProxyServiceServer).CreateDownloadLocation(ctx, req.(*CreateDownloadLocationRequest)) - } - return interceptor(ctx, in, info, handler) -} +func (*GetDataResponse_Literal) isGetDataResponse_Data() {} -func _DataProxyService_CreateDownloadLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDownloadLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataProxyServiceServer).CreateDownloadLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.DataProxyService/CreateDownloadLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataProxyServiceServer).CreateDownloadLink(ctx, req.(*CreateDownloadLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} +var File_flyteidl_service_dataproxy_proto protoreflect.FileDescriptor + +var file_flyteidl_service_dataproxy_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, + 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, + 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x55, 0x72, 0x6c, + 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0xeb, 0x01, 0x0a, 0x1b, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x0a, + 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, + 0x73, 0x49, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x6d, + 0x64, 0x35, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x4d, 0x64, 0x35, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, + 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x1d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x61, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x38, 0x0a, 0x0a, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, + 0x73, 0x49, 0x6e, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x7e, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, + 0x73, 0x41, 0x74, 0x3a, 0x02, 0x18, 0x01, 0x22, 0xfa, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x61, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x65, 0x78, + 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x65, 0x73, 0x49, 0x6e, 0x12, 0x54, 0x0a, 0x11, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, + 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x72, + 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, + 0x73, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x47, 0x0a, 0x0f, 0x70, 0x72, 0x65, 0x5f, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x50, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x52, 0x4c, 0x73, 0x52, + 0x0d, 0x70, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x73, 0x22, 0x69, + 0x0a, 0x0d, 0x50, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x52, 0x4c, 0x73, 0x12, + 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x39, + 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0x2d, 0x0a, 0x0e, 0x47, 0x65, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x55, 0x72, 0x6c, 0x22, 0xd6, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0b, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x0a, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x12, 0x49, 0x0a, 0x0f, 0x70, 0x72, + 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x55, 0x52, 0x4c, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x48, 0x00, + 0x52, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x2a, 0x43, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, + 0x0a, 0x12, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x44, 0x45, 0x43, 0x4b, 0x10, 0x01, 0x32, 0x84, 0x07, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x50, + 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xf0, 0x01, 0x0a, 0x14, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x79, 0x92, 0x41, 0x4d, 0x1a, 0x4b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x73, 0x20, 0x61, 0x20, 0x77, 0x72, 0x69, 0x74, 0x65, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x20, 0x68, + 0x74, 0x74, 0x70, 0x20, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x61, + 0x74, 0x20, 0x69, 0x73, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x20, + 0x66, 0x6f, 0x72, 0x20, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x20, 0x61, 0x74, 0x20, 0x72, 0x75, 0x6e, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x78, + 0x79, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x6e, 0x12, 0xa9, + 0x02, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, + 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xab, 0x01, 0x92, + 0x41, 0x7f, 0x1a, 0x7d, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x3a, 0x20, + 0x50, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x20, 0x75, 0x73, 0x65, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x20, 0x69, 0x6e, + 0x73, 0x74, 0x65, 0x61, 0x64, 0x2e, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x73, 0x20, 0x61, + 0x20, 0x72, 0x65, 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x20, 0x68, 0x74, 0x74, 0x70, 0x20, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x69, 0x73, + 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x20, 0x61, 0x74, 0x20, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x6e, 0x88, 0x02, 0x01, 0x12, 0xea, 0x01, 0x0a, 0x12, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x69, 0x6e, + 0x6b, 0x12, 0x2b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, + 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x79, 0x92, 0x41, + 0x4c, 0x1a, 0x4a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x73, 0x20, 0x61, 0x20, 0x72, 0x65, 0x61, + 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x20, 0x68, 0x74, 0x74, 0x70, 0x20, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x69, 0x73, 0x20, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x20, 0x61, 0x74, 0x20, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x64, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, + 0x0c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x42, 0xc6, 0x01, + 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x78, + 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x53, 0x58, 0xaa, 0x02, 0x10, + 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_service_dataproxy_proto_rawDescOnce sync.Once + file_flyteidl_service_dataproxy_proto_rawDescData = file_flyteidl_service_dataproxy_proto_rawDesc +) -func _DataProxyService_GetData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDataRequest) - if err := dec(in); err != nil { - return nil, err +func file_flyteidl_service_dataproxy_proto_rawDescGZIP() []byte { + file_flyteidl_service_dataproxy_proto_rawDescOnce.Do(func() { + file_flyteidl_service_dataproxy_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_service_dataproxy_proto_rawDescData) + }) + return file_flyteidl_service_dataproxy_proto_rawDescData +} + +var file_flyteidl_service_dataproxy_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_service_dataproxy_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_flyteidl_service_dataproxy_proto_goTypes = []interface{}{ + (ArtifactType)(0), // 0: flyteidl.service.ArtifactType + (*CreateUploadLocationResponse)(nil), // 1: flyteidl.service.CreateUploadLocationResponse + (*CreateUploadLocationRequest)(nil), // 2: flyteidl.service.CreateUploadLocationRequest + (*CreateDownloadLocationRequest)(nil), // 3: flyteidl.service.CreateDownloadLocationRequest + (*CreateDownloadLocationResponse)(nil), // 4: flyteidl.service.CreateDownloadLocationResponse + (*CreateDownloadLinkRequest)(nil), // 5: flyteidl.service.CreateDownloadLinkRequest + (*CreateDownloadLinkResponse)(nil), // 6: flyteidl.service.CreateDownloadLinkResponse + (*PreSignedURLs)(nil), // 7: flyteidl.service.PreSignedURLs + (*GetDataRequest)(nil), // 8: flyteidl.service.GetDataRequest + (*GetDataResponse)(nil), // 9: flyteidl.service.GetDataResponse + (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 11: google.protobuf.Duration + (*core.NodeExecutionIdentifier)(nil), // 12: flyteidl.core.NodeExecutionIdentifier + (*core.LiteralMap)(nil), // 13: flyteidl.core.LiteralMap + (*core.Literal)(nil), // 14: flyteidl.core.Literal +} +var file_flyteidl_service_dataproxy_proto_depIdxs = []int32{ + 10, // 0: flyteidl.service.CreateUploadLocationResponse.expires_at:type_name -> google.protobuf.Timestamp + 11, // 1: flyteidl.service.CreateUploadLocationRequest.expires_in:type_name -> google.protobuf.Duration + 11, // 2: flyteidl.service.CreateDownloadLocationRequest.expires_in:type_name -> google.protobuf.Duration + 10, // 3: flyteidl.service.CreateDownloadLocationResponse.expires_at:type_name -> google.protobuf.Timestamp + 0, // 4: flyteidl.service.CreateDownloadLinkRequest.artifact_type:type_name -> flyteidl.service.ArtifactType + 11, // 5: flyteidl.service.CreateDownloadLinkRequest.expires_in:type_name -> google.protobuf.Duration + 12, // 6: flyteidl.service.CreateDownloadLinkRequest.node_execution_id:type_name -> flyteidl.core.NodeExecutionIdentifier + 10, // 7: flyteidl.service.CreateDownloadLinkResponse.expires_at:type_name -> google.protobuf.Timestamp + 7, // 8: flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls:type_name -> flyteidl.service.PreSignedURLs + 10, // 9: flyteidl.service.PreSignedURLs.expires_at:type_name -> google.protobuf.Timestamp + 13, // 10: flyteidl.service.GetDataResponse.literal_map:type_name -> flyteidl.core.LiteralMap + 7, // 11: flyteidl.service.GetDataResponse.pre_signed_urls:type_name -> flyteidl.service.PreSignedURLs + 14, // 12: flyteidl.service.GetDataResponse.literal:type_name -> flyteidl.core.Literal + 2, // 13: flyteidl.service.DataProxyService.CreateUploadLocation:input_type -> flyteidl.service.CreateUploadLocationRequest + 3, // 14: flyteidl.service.DataProxyService.CreateDownloadLocation:input_type -> flyteidl.service.CreateDownloadLocationRequest + 5, // 15: flyteidl.service.DataProxyService.CreateDownloadLink:input_type -> flyteidl.service.CreateDownloadLinkRequest + 8, // 16: flyteidl.service.DataProxyService.GetData:input_type -> flyteidl.service.GetDataRequest + 1, // 17: flyteidl.service.DataProxyService.CreateUploadLocation:output_type -> flyteidl.service.CreateUploadLocationResponse + 4, // 18: flyteidl.service.DataProxyService.CreateDownloadLocation:output_type -> flyteidl.service.CreateDownloadLocationResponse + 6, // 19: flyteidl.service.DataProxyService.CreateDownloadLink:output_type -> flyteidl.service.CreateDownloadLinkResponse + 9, // 20: flyteidl.service.DataProxyService.GetData:output_type -> flyteidl.service.GetDataResponse + 17, // [17:21] is the sub-list for method output_type + 13, // [13:17] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_flyteidl_service_dataproxy_proto_init() } +func file_flyteidl_service_dataproxy_proto_init() { + if File_flyteidl_service_dataproxy_proto != nil { + return } - if interceptor == nil { - return srv.(DataProxyServiceServer).GetData(ctx, in) + if !protoimpl.UnsafeEnabled { + file_flyteidl_service_dataproxy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUploadLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUploadLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDownloadLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDownloadLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDownloadLinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDownloadLinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreSignedURLs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_dataproxy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.DataProxyService/GetData", + file_flyteidl_service_dataproxy_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*CreateDownloadLinkRequest_NodeExecutionId)(nil), } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataProxyServiceServer).GetData(ctx, req.(*GetDataRequest)) + file_flyteidl_service_dataproxy_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*GetDataResponse_LiteralMap)(nil), + (*GetDataResponse_PreSignedUrls)(nil), + (*GetDataResponse_Literal)(nil), } - return interceptor(ctx, in, info, handler) -} - -var _DataProxyService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.DataProxyService", - HandlerType: (*DataProxyServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateUploadLocation", - Handler: _DataProxyService_CreateUploadLocation_Handler, - }, - { - MethodName: "CreateDownloadLocation", - Handler: _DataProxyService_CreateDownloadLocation_Handler, - }, - { - MethodName: "CreateDownloadLink", - Handler: _DataProxyService_CreateDownloadLink_Handler, - }, - { - MethodName: "GetData", - Handler: _DataProxyService_GetData_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_service_dataproxy_proto_rawDesc, + NumEnums: 1, + NumMessages: 9, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/dataproxy.proto", + GoTypes: file_flyteidl_service_dataproxy_proto_goTypes, + DependencyIndexes: file_flyteidl_service_dataproxy_proto_depIdxs, + EnumInfos: file_flyteidl_service_dataproxy_proto_enumTypes, + MessageInfos: file_flyteidl_service_dataproxy_proto_msgTypes, + }.Build() + File_flyteidl_service_dataproxy_proto = out.File + file_flyteidl_service_dataproxy_proto_rawDesc = nil + file_flyteidl_service_dataproxy_proto_goTypes = nil + file_flyteidl_service_dataproxy_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.gw.go deleted file mode 100644 index c11d941745..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.pb.gw.go +++ /dev/null @@ -1,244 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: flyteidl/service/dataproxy.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 - -func request_DataProxyService_CreateUploadLocation_0(ctx context.Context, marshaler runtime.Marshaler, client DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq CreateUploadLocationRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateUploadLocation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_DataProxyService_CreateDownloadLocation_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_DataProxyService_CreateDownloadLocation_0(ctx context.Context, marshaler runtime.Marshaler, client DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq CreateDownloadLocationRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DataProxyService_CreateDownloadLocation_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateDownloadLocation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_DataProxyService_CreateDownloadLink_0(ctx context.Context, marshaler runtime.Marshaler, client DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq CreateDownloadLinkRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CreateDownloadLink(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_DataProxyService_GetData_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_DataProxyService_GetData_0(ctx context.Context, marshaler runtime.Marshaler, client DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetDataRequest - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DataProxyService_GetData_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -// RegisterDataProxyServiceHandlerFromEndpoint is same as RegisterDataProxyServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterDataProxyServiceHandlerFromEndpoint(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 RegisterDataProxyServiceHandler(ctx, mux, conn) -} - -// RegisterDataProxyServiceHandler registers the http handlers for service DataProxyService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterDataProxyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterDataProxyServiceHandlerClient(ctx, mux, NewDataProxyServiceClient(conn)) -} - -// RegisterDataProxyServiceHandlerClient registers the http handlers for service DataProxyService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DataProxyServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DataProxyServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "DataProxyServiceClient" to call the correct interceptors. -func RegisterDataProxyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DataProxyServiceClient) error { - - mux.Handle("POST", pattern_DataProxyService_CreateUploadLocation_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_DataProxyService_CreateUploadLocation_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_DataProxyService_CreateUploadLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_DataProxyService_CreateDownloadLocation_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_DataProxyService_CreateDownloadLocation_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_DataProxyService_CreateDownloadLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_DataProxyService_CreateDownloadLink_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_DataProxyService_CreateDownloadLink_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_DataProxyService_CreateDownloadLink_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_DataProxyService_GetData_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_DataProxyService_GetData_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_DataProxyService_GetData_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_DataProxyService_CreateUploadLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_urn"}, "")) - - pattern_DataProxyService_CreateDownloadLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_urn"}, "")) - - pattern_DataProxyService_CreateDownloadLink_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_link"}, "")) - - pattern_DataProxyService_GetData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "data"}, "")) -) - -var ( - forward_DataProxyService_CreateUploadLocation_0 = runtime.ForwardResponseMessage - - forward_DataProxyService_CreateDownloadLocation_0 = runtime.ForwardResponseMessage - - forward_DataProxyService_CreateDownloadLink_0 = runtime.ForwardResponseMessage - - forward_DataProxyService_GetData_0 = runtime.ForwardResponseMessage -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/service/dataproxy_grpc.pb.go new file mode 100644 index 0000000000..4b3245c344 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/dataproxy_grpc.pb.go @@ -0,0 +1,227 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/service/dataproxy.proto + +package service + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + DataProxyService_CreateUploadLocation_FullMethodName = "/flyteidl.service.DataProxyService/CreateUploadLocation" + DataProxyService_CreateDownloadLocation_FullMethodName = "/flyteidl.service.DataProxyService/CreateDownloadLocation" + DataProxyService_CreateDownloadLink_FullMethodName = "/flyteidl.service.DataProxyService/CreateDownloadLink" + DataProxyService_GetData_FullMethodName = "/flyteidl.service.DataProxyService/GetData" +) + +// DataProxyServiceClient is the client API for DataProxyService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type DataProxyServiceClient interface { + // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. + CreateUploadLocation(ctx context.Context, in *CreateUploadLocationRequest, opts ...grpc.CallOption) (*CreateUploadLocationResponse, error) + // Deprecated: Do not use. + // CreateDownloadLocation creates a signed url to download artifacts. + CreateDownloadLocation(ctx context.Context, in *CreateDownloadLocationRequest, opts ...grpc.CallOption) (*CreateDownloadLocationResponse, error) + // CreateDownloadLocation creates a signed url to download artifacts. + CreateDownloadLink(ctx context.Context, in *CreateDownloadLinkRequest, opts ...grpc.CallOption) (*CreateDownloadLinkResponse, error) + GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error) +} + +type dataProxyServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDataProxyServiceClient(cc grpc.ClientConnInterface) DataProxyServiceClient { + return &dataProxyServiceClient{cc} +} + +func (c *dataProxyServiceClient) CreateUploadLocation(ctx context.Context, in *CreateUploadLocationRequest, opts ...grpc.CallOption) (*CreateUploadLocationResponse, error) { + out := new(CreateUploadLocationResponse) + err := c.cc.Invoke(ctx, DataProxyService_CreateUploadLocation_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *dataProxyServiceClient) CreateDownloadLocation(ctx context.Context, in *CreateDownloadLocationRequest, opts ...grpc.CallOption) (*CreateDownloadLocationResponse, error) { + out := new(CreateDownloadLocationResponse) + err := c.cc.Invoke(ctx, DataProxyService_CreateDownloadLocation_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataProxyServiceClient) CreateDownloadLink(ctx context.Context, in *CreateDownloadLinkRequest, opts ...grpc.CallOption) (*CreateDownloadLinkResponse, error) { + out := new(CreateDownloadLinkResponse) + err := c.cc.Invoke(ctx, DataProxyService_CreateDownloadLink_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataProxyServiceClient) GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error) { + out := new(GetDataResponse) + err := c.cc.Invoke(ctx, DataProxyService_GetData_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DataProxyServiceServer is the server API for DataProxyService service. +// All implementations should embed UnimplementedDataProxyServiceServer +// for forward compatibility +type DataProxyServiceServer interface { + // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. + CreateUploadLocation(context.Context, *CreateUploadLocationRequest) (*CreateUploadLocationResponse, error) + // Deprecated: Do not use. + // CreateDownloadLocation creates a signed url to download artifacts. + CreateDownloadLocation(context.Context, *CreateDownloadLocationRequest) (*CreateDownloadLocationResponse, error) + // CreateDownloadLocation creates a signed url to download artifacts. + CreateDownloadLink(context.Context, *CreateDownloadLinkRequest) (*CreateDownloadLinkResponse, error) + GetData(context.Context, *GetDataRequest) (*GetDataResponse, error) +} + +// UnimplementedDataProxyServiceServer should be embedded to have forward compatible implementations. +type UnimplementedDataProxyServiceServer struct { +} + +func (UnimplementedDataProxyServiceServer) CreateUploadLocation(context.Context, *CreateUploadLocationRequest) (*CreateUploadLocationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateUploadLocation not implemented") +} +func (UnimplementedDataProxyServiceServer) CreateDownloadLocation(context.Context, *CreateDownloadLocationRequest) (*CreateDownloadLocationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateDownloadLocation not implemented") +} +func (UnimplementedDataProxyServiceServer) CreateDownloadLink(context.Context, *CreateDownloadLinkRequest) (*CreateDownloadLinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateDownloadLink not implemented") +} +func (UnimplementedDataProxyServiceServer) GetData(context.Context, *GetDataRequest) (*GetDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetData not implemented") +} + +// UnsafeDataProxyServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to DataProxyServiceServer will +// result in compilation errors. +type UnsafeDataProxyServiceServer interface { + mustEmbedUnimplementedDataProxyServiceServer() +} + +func RegisterDataProxyServiceServer(s grpc.ServiceRegistrar, srv DataProxyServiceServer) { + s.RegisterService(&DataProxyService_ServiceDesc, srv) +} + +func _DataProxyService_CreateUploadLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateUploadLocationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataProxyServiceServer).CreateUploadLocation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataProxyService_CreateUploadLocation_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataProxyServiceServer).CreateUploadLocation(ctx, req.(*CreateUploadLocationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataProxyService_CreateDownloadLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateDownloadLocationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataProxyServiceServer).CreateDownloadLocation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataProxyService_CreateDownloadLocation_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataProxyServiceServer).CreateDownloadLocation(ctx, req.(*CreateDownloadLocationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataProxyService_CreateDownloadLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateDownloadLinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataProxyServiceServer).CreateDownloadLink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataProxyService_CreateDownloadLink_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataProxyServiceServer).CreateDownloadLink(ctx, req.(*CreateDownloadLinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataProxyService_GetData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataProxyServiceServer).GetData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DataProxyService_GetData_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataProxyServiceServer).GetData(ctx, req.(*GetDataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// DataProxyService_ServiceDesc is the grpc.ServiceDesc for DataProxyService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var DataProxyService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.DataProxyService", + HandlerType: (*DataProxyServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateUploadLocation", + Handler: _DataProxyService_CreateUploadLocation_Handler, + }, + { + MethodName: "CreateDownloadLocation", + Handler: _DataProxyService_CreateDownloadLocation_Handler, + }, + { + MethodName: "CreateDownloadLink", + Handler: _DataProxyService_CreateDownloadLink_Handler, + }, + { + MethodName: "GetData", + Handler: _DataProxyService_GetData_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/dataproxy.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go index ddd75fa855..d0dc517425 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.pb.go @@ -1,32 +1,31 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/service/external_plugin_service.proto package service import ( - context "context" - fmt "fmt" core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // The state of the execution is used to control its visibility in the UI/CLI. -type State int32 // Deprecated: Do not use. +// +// Deprecated: Marked as deprecated in flyteidl/service/external_plugin_service.proto. +type State int32 + const ( State_RETRYABLE_FAILURE State = 0 State_PERMANENT_FAILURE State = 1 @@ -35,34 +34,59 @@ const ( State_SUCCEEDED State = 4 ) -var State_name = map[int32]string{ - 0: "RETRYABLE_FAILURE", - 1: "PERMANENT_FAILURE", - 2: "PENDING", - 3: "RUNNING", - 4: "SUCCEEDED", -} +// Enum value maps for State. +var ( + State_name = map[int32]string{ + 0: "RETRYABLE_FAILURE", + 1: "PERMANENT_FAILURE", + 2: "PENDING", + 3: "RUNNING", + 4: "SUCCEEDED", + } + State_value = map[string]int32{ + "RETRYABLE_FAILURE": 0, + "PERMANENT_FAILURE": 1, + "PENDING": 2, + "RUNNING": 3, + "SUCCEEDED": 4, + } +) -var State_value = map[string]int32{ - "RETRYABLE_FAILURE": 0, - "PERMANENT_FAILURE": 1, - "PENDING": 2, - "RUNNING": 3, - "SUCCEEDED": 4, +func (x State) Enum() *State { + p := new(State) + *p = x + return p } func (x State) String() string { - return proto.EnumName(State_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (State) Descriptor() protoreflect.EnumDescriptor { + return file_flyteidl_service_external_plugin_service_proto_enumTypes[0].Descriptor() } +func (State) Type() protoreflect.EnumType { + return &file_flyteidl_service_external_plugin_service_proto_enumTypes[0] +} + +func (x State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use State.Descriptor instead. func (State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_74cbdb08eef5b1d1, []int{0} + return file_flyteidl_service_external_plugin_service_proto_rawDescGZIP(), []int{0} } // Represents a request structure to create task. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/external_plugin_service.proto. type TaskCreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The inputs required to start the execution. All required inputs must be // included in this map. If not required and not provided, defaults apply. // +optional @@ -70,501 +94,558 @@ type TaskCreateRequest struct { // Template of the task that encapsulates all the metadata of the task. Template *core.TaskTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) - OutputPrefix string `protobuf:"bytes,3,opt,name=output_prefix,json=outputPrefix,proto3" json:"output_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutputPrefix string `protobuf:"bytes,3,opt,name=output_prefix,json=outputPrefix,proto3" json:"output_prefix,omitempty"` } -func (m *TaskCreateRequest) Reset() { *m = TaskCreateRequest{} } -func (m *TaskCreateRequest) String() string { return proto.CompactTextString(m) } -func (*TaskCreateRequest) ProtoMessage() {} -func (*TaskCreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_74cbdb08eef5b1d1, []int{0} +func (x *TaskCreateRequest) Reset() { + *x = TaskCreateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskCreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskCreateRequest.Unmarshal(m, b) -} -func (m *TaskCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskCreateRequest.Marshal(b, m, deterministic) -} -func (m *TaskCreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskCreateRequest.Merge(m, src) -} -func (m *TaskCreateRequest) XXX_Size() int { - return xxx_messageInfo_TaskCreateRequest.Size(m) +func (x *TaskCreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskCreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskCreateRequest.DiscardUnknown(m) + +func (*TaskCreateRequest) ProtoMessage() {} + +func (x *TaskCreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskCreateRequest proto.InternalMessageInfo +// Deprecated: Use TaskCreateRequest.ProtoReflect.Descriptor instead. +func (*TaskCreateRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_external_plugin_service_proto_rawDescGZIP(), []int{0} +} -func (m *TaskCreateRequest) GetInputs() *core.LiteralMap { - if m != nil { - return m.Inputs +func (x *TaskCreateRequest) GetInputs() *core.LiteralMap { + if x != nil { + return x.Inputs } return nil } -func (m *TaskCreateRequest) GetTemplate() *core.TaskTemplate { - if m != nil { - return m.Template +func (x *TaskCreateRequest) GetTemplate() *core.TaskTemplate { + if x != nil { + return x.Template } return nil } -func (m *TaskCreateRequest) GetOutputPrefix() string { - if m != nil { - return m.OutputPrefix +func (x *TaskCreateRequest) GetOutputPrefix() string { + if x != nil { + return x.OutputPrefix } return "" } // Represents a create response structure. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/external_plugin_service.proto. type TaskCreateResponse struct { - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TaskCreateResponse) Reset() { *m = TaskCreateResponse{} } -func (m *TaskCreateResponse) String() string { return proto.CompactTextString(m) } -func (*TaskCreateResponse) ProtoMessage() {} -func (*TaskCreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_74cbdb08eef5b1d1, []int{1} + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` } -func (m *TaskCreateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskCreateResponse.Unmarshal(m, b) -} -func (m *TaskCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskCreateResponse.Marshal(b, m, deterministic) -} -func (m *TaskCreateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskCreateResponse.Merge(m, src) +func (x *TaskCreateResponse) Reset() { + *x = TaskCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskCreateResponse) XXX_Size() int { - return xxx_messageInfo_TaskCreateResponse.Size(m) + +func (x *TaskCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskCreateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TaskCreateResponse.DiscardUnknown(m) + +func (*TaskCreateResponse) ProtoMessage() {} + +func (x *TaskCreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskCreateResponse proto.InternalMessageInfo +// Deprecated: Use TaskCreateResponse.ProtoReflect.Descriptor instead. +func (*TaskCreateResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_external_plugin_service_proto_rawDescGZIP(), []int{1} +} -func (m *TaskCreateResponse) GetJobId() string { - if m != nil { - return m.JobId +func (x *TaskCreateResponse) GetJobId() string { + if x != nil { + return x.JobId } return "" } // A message used to fetch a job state from backend plugin server. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/external_plugin_service.proto. type TaskGetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A predefined yet extensible Task type identifier. TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // The unique id identifying the job. - JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` } -func (m *TaskGetRequest) Reset() { *m = TaskGetRequest{} } -func (m *TaskGetRequest) String() string { return proto.CompactTextString(m) } -func (*TaskGetRequest) ProtoMessage() {} -func (*TaskGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_74cbdb08eef5b1d1, []int{2} +func (x *TaskGetRequest) Reset() { + *x = TaskGetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskGetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskGetRequest.Unmarshal(m, b) -} -func (m *TaskGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskGetRequest.Marshal(b, m, deterministic) +func (x *TaskGetRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskGetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskGetRequest.Merge(m, src) -} -func (m *TaskGetRequest) XXX_Size() int { - return xxx_messageInfo_TaskGetRequest.Size(m) -} -func (m *TaskGetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskGetRequest.DiscardUnknown(m) + +func (*TaskGetRequest) ProtoMessage() {} + +func (x *TaskGetRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskGetRequest proto.InternalMessageInfo +// Deprecated: Use TaskGetRequest.ProtoReflect.Descriptor instead. +func (*TaskGetRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_external_plugin_service_proto_rawDescGZIP(), []int{2} +} -func (m *TaskGetRequest) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *TaskGetRequest) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *TaskGetRequest) GetJobId() string { - if m != nil { - return m.JobId +func (x *TaskGetRequest) GetJobId() string { + if x != nil { + return x.JobId } return "" } // Response to get an individual task state. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/external_plugin_service.proto. type TaskGetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The state of the execution is used to control its visibility in the UI/CLI. State State `protobuf:"varint,1,opt,name=state,proto3,enum=flyteidl.service.State" json:"state,omitempty"` // The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a // Structured dataset pointing to the query result table. // +optional - Outputs *core.LiteralMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Outputs *core.LiteralMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` } -func (m *TaskGetResponse) Reset() { *m = TaskGetResponse{} } -func (m *TaskGetResponse) String() string { return proto.CompactTextString(m) } -func (*TaskGetResponse) ProtoMessage() {} -func (*TaskGetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_74cbdb08eef5b1d1, []int{3} +func (x *TaskGetResponse) Reset() { + *x = TaskGetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskGetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskGetResponse.Unmarshal(m, b) -} -func (m *TaskGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskGetResponse.Marshal(b, m, deterministic) -} -func (m *TaskGetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskGetResponse.Merge(m, src) -} -func (m *TaskGetResponse) XXX_Size() int { - return xxx_messageInfo_TaskGetResponse.Size(m) +func (x *TaskGetResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskGetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TaskGetResponse.DiscardUnknown(m) + +func (*TaskGetResponse) ProtoMessage() {} + +func (x *TaskGetResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskGetResponse proto.InternalMessageInfo +// Deprecated: Use TaskGetResponse.ProtoReflect.Descriptor instead. +func (*TaskGetResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_external_plugin_service_proto_rawDescGZIP(), []int{3} +} -func (m *TaskGetResponse) GetState() State { - if m != nil { - return m.State +func (x *TaskGetResponse) GetState() State { + if x != nil { + return x.State } return State_RETRYABLE_FAILURE } -func (m *TaskGetResponse) GetOutputs() *core.LiteralMap { - if m != nil { - return m.Outputs +func (x *TaskGetResponse) GetOutputs() *core.LiteralMap { + if x != nil { + return x.Outputs } return nil } // A message used to delete a task. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/external_plugin_service.proto. type TaskDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A predefined yet extensible Task type identifier. TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // The unique id identifying the job. - JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` } -func (m *TaskDeleteRequest) Reset() { *m = TaskDeleteRequest{} } -func (m *TaskDeleteRequest) String() string { return proto.CompactTextString(m) } -func (*TaskDeleteRequest) ProtoMessage() {} -func (*TaskDeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_74cbdb08eef5b1d1, []int{4} +func (x *TaskDeleteRequest) Reset() { + *x = TaskDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskDeleteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskDeleteRequest.Unmarshal(m, b) -} -func (m *TaskDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskDeleteRequest.Marshal(b, m, deterministic) -} -func (m *TaskDeleteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskDeleteRequest.Merge(m, src) -} -func (m *TaskDeleteRequest) XXX_Size() int { - return xxx_messageInfo_TaskDeleteRequest.Size(m) +func (x *TaskDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskDeleteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TaskDeleteRequest.DiscardUnknown(m) + +func (*TaskDeleteRequest) ProtoMessage() {} + +func (x *TaskDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TaskDeleteRequest proto.InternalMessageInfo +// Deprecated: Use TaskDeleteRequest.ProtoReflect.Descriptor instead. +func (*TaskDeleteRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_external_plugin_service_proto_rawDescGZIP(), []int{4} +} -func (m *TaskDeleteRequest) GetTaskType() string { - if m != nil { - return m.TaskType +func (x *TaskDeleteRequest) GetTaskType() string { + if x != nil { + return x.TaskType } return "" } -func (m *TaskDeleteRequest) GetJobId() string { - if m != nil { - return m.JobId +func (x *TaskDeleteRequest) GetJobId() string { + if x != nil { + return x.JobId } return "" } // Response to delete a task. // -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in flyteidl/service/external_plugin_service.proto. type TaskDeleteResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *TaskDeleteResponse) Reset() { *m = TaskDeleteResponse{} } -func (m *TaskDeleteResponse) String() string { return proto.CompactTextString(m) } -func (*TaskDeleteResponse) ProtoMessage() {} -func (*TaskDeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_74cbdb08eef5b1d1, []int{5} -} - -func (m *TaskDeleteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskDeleteResponse.Unmarshal(m, b) -} -func (m *TaskDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskDeleteResponse.Marshal(b, m, deterministic) -} -func (m *TaskDeleteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskDeleteResponse.Merge(m, src) -} -func (m *TaskDeleteResponse) XXX_Size() int { - return xxx_messageInfo_TaskDeleteResponse.Size(m) -} -func (m *TaskDeleteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TaskDeleteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TaskDeleteResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("flyteidl.service.State", State_name, State_value) - proto.RegisterType((*TaskCreateRequest)(nil), "flyteidl.service.TaskCreateRequest") - proto.RegisterType((*TaskCreateResponse)(nil), "flyteidl.service.TaskCreateResponse") - proto.RegisterType((*TaskGetRequest)(nil), "flyteidl.service.TaskGetRequest") - proto.RegisterType((*TaskGetResponse)(nil), "flyteidl.service.TaskGetResponse") - proto.RegisterType((*TaskDeleteRequest)(nil), "flyteidl.service.TaskDeleteRequest") - proto.RegisterType((*TaskDeleteResponse)(nil), "flyteidl.service.TaskDeleteResponse") -} - -func init() { - proto.RegisterFile("flyteidl/service/external_plugin_service.proto", fileDescriptor_74cbdb08eef5b1d1) -} - -var fileDescriptor_74cbdb08eef5b1d1 = []byte{ - // 534 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x6f, 0xda, 0x4c, - 0x10, 0xfd, 0xec, 0x7c, 0x40, 0x98, 0x34, 0x29, 0x59, 0x09, 0xd5, 0x21, 0x3d, 0x50, 0xd2, 0x43, - 0x54, 0x29, 0xb6, 0x4a, 0x0e, 0x95, 0x2a, 0x55, 0x15, 0x01, 0x97, 0xa2, 0x12, 0x0b, 0x2d, 0x70, - 0x68, 0x15, 0xc9, 0xb2, 0x61, 0x42, 0x9d, 0x38, 0x78, 0x6b, 0xaf, 0xab, 0xf0, 0x0f, 0xfa, 0x53, - 0xf2, 0x33, 0xab, 0xdd, 0x35, 0x0e, 0x90, 0x96, 0x43, 0x6f, 0xde, 0x99, 0x37, 0x6f, 0xdf, 0x9b, - 0x99, 0x35, 0x98, 0xd7, 0xe1, 0x82, 0x63, 0x30, 0x0d, 0xad, 0x04, 0xe3, 0x9f, 0xc1, 0x04, 0x2d, - 0xbc, 0xe7, 0x18, 0xcf, 0xbd, 0xd0, 0x65, 0x61, 0x3a, 0x0b, 0xe6, 0x6e, 0x16, 0x37, 0x59, 0x1c, - 0xf1, 0x88, 0x54, 0x96, 0x78, 0x33, 0x8b, 0xd7, 0x5e, 0xe6, 0x0c, 0x93, 0x28, 0x46, 0x2b, 0x0c, - 0x38, 0xc6, 0x5e, 0x98, 0x28, 0x7c, 0xed, 0x68, 0x3d, 0xcb, 0xbd, 0xe4, 0x36, 0x4b, 0x35, 0x1e, - 0x34, 0x38, 0x1c, 0x79, 0xc9, 0x6d, 0x3b, 0x46, 0x8f, 0x23, 0xc5, 0x1f, 0x29, 0x26, 0x9c, 0xbc, - 0x85, 0x62, 0x30, 0x67, 0x29, 0x4f, 0x0c, 0xad, 0xae, 0x9d, 0xee, 0x35, 0x8f, 0x72, 0x85, 0xa6, - 0x60, 0x30, 0xfb, 0x8a, 0xff, 0xd2, 0x63, 0x34, 0x03, 0x92, 0x77, 0xb0, 0xcb, 0xf1, 0x8e, 0x85, - 0x1e, 0x47, 0x43, 0x97, 0x45, 0xc7, 0x1b, 0x45, 0xe2, 0x9a, 0x51, 0x06, 0xa1, 0x39, 0x98, 0x9c, - 0xc0, 0x7e, 0x94, 0x72, 0x96, 0x72, 0x97, 0xc5, 0x78, 0x1d, 0xdc, 0x1b, 0x3b, 0x75, 0xed, 0xb4, - 0x4c, 0x9f, 0xa9, 0xe0, 0x40, 0xc6, 0xde, 0xeb, 0x86, 0xd6, 0xb0, 0x80, 0xac, 0x2a, 0x4d, 0x58, - 0x34, 0x4f, 0x90, 0x54, 0xa1, 0x78, 0x13, 0xf9, 0x6e, 0x30, 0x95, 0x52, 0xcb, 0xb4, 0x70, 0x13, - 0xf9, 0xbd, 0xa9, 0x2c, 0xf8, 0x0c, 0x07, 0xa2, 0xa0, 0x8b, 0x7c, 0xe9, 0xeb, 0x18, 0xca, 0xc2, - 0xbc, 0xcb, 0x17, 0x0c, 0x33, 0xfc, 0xae, 0x08, 0x8c, 0x16, 0x6c, 0x95, 0x49, 0xdf, 0x64, 0x5a, - 0xc0, 0xf3, 0x9c, 0x29, 0xbb, 0xf7, 0x0c, 0x0a, 0x09, 0x17, 0x66, 0x05, 0xcd, 0x41, 0xf3, 0x85, - 0xb9, 0x39, 0x13, 0x73, 0x28, 0xd2, 0x54, 0xa1, 0xc8, 0x39, 0x94, 0x94, 0xa1, 0x24, 0xeb, 0xce, - 0x96, 0x96, 0x2e, 0x91, 0xf2, 0xea, 0x2f, 0x6a, 0x3e, 0x1d, 0x0c, 0xf1, 0x71, 0x3e, 0xff, 0xea, - 0xc3, 0x50, 0x2d, 0x5c, 0x92, 0x29, 0x2b, 0x22, 0xf3, 0xc6, 0x87, 0x82, 0xd4, 0x4b, 0xaa, 0x70, - 0x48, 0xed, 0x11, 0xfd, 0xda, 0xba, 0xe8, 0xdb, 0xee, 0xa7, 0x56, 0xaf, 0x3f, 0xa6, 0x76, 0xe5, - 0x3f, 0x11, 0x1e, 0xd8, 0xf4, 0xb2, 0xe5, 0xd8, 0xce, 0x28, 0x0f, 0x6b, 0x64, 0x0f, 0x4a, 0x03, - 0xdb, 0xe9, 0xf4, 0x9c, 0x6e, 0x45, 0x17, 0x07, 0x3a, 0x76, 0x1c, 0x71, 0xd8, 0x21, 0xfb, 0x50, - 0x1e, 0x8e, 0xdb, 0x6d, 0xdb, 0xee, 0xd8, 0x9d, 0xca, 0xff, 0x35, 0xdd, 0xd0, 0x9a, 0x0f, 0x3a, - 0x54, 0xed, 0x6c, 0xb1, 0x07, 0x72, 0xaf, 0x87, 0xaa, 0x55, 0xe4, 0x0a, 0x40, 0x8d, 0x55, 0xa8, - 0x23, 0x27, 0x4f, 0x7b, 0xf9, 0x64, 0x45, 0x6b, 0xaf, 0xb7, 0x83, 0x94, 0xb5, 0xc6, 0xce, 0x2f, - 0x5d, 0x23, 0x43, 0x28, 0x75, 0x91, 0x4b, 0xea, 0xfa, 0x9f, 0xab, 0x1e, 0x57, 0xa4, 0xf6, 0x6a, - 0x0b, 0x62, 0x95, 0xf4, 0x0a, 0x40, 0xb5, 0x71, 0x9b, 0xe4, 0xb5, 0xa9, 0xfd, 0x4d, 0xf2, 0xfa, - 0x34, 0x24, 0xfb, 0xc5, 0xc7, 0x6f, 0x1f, 0x66, 0x01, 0xff, 0x9e, 0xfa, 0xe6, 0x24, 0xba, 0xb3, - 0x64, 0x59, 0x14, 0xcf, 0xd4, 0x87, 0x95, 0xbf, 0xe6, 0x19, 0xce, 0x2d, 0xe6, 0x9f, 0xcd, 0x22, - 0x6b, 0xf3, 0x07, 0xe2, 0x17, 0xe5, 0xf3, 0x3e, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xd9, 0xdd, - 0xd7, 0x35, 0x5b, 0x04, 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 - -// ExternalPluginServiceClient is the client API for ExternalPluginService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ExternalPluginServiceClient interface { - // Send a task create request to the backend plugin server. - CreateTask(ctx context.Context, in *TaskCreateRequest, opts ...grpc.CallOption) (*TaskCreateResponse, error) - // Get job status. - GetTask(ctx context.Context, in *TaskGetRequest, opts ...grpc.CallOption) (*TaskGetResponse, error) - // Delete the task resource. - DeleteTask(ctx context.Context, in *TaskDeleteRequest, opts ...grpc.CallOption) (*TaskDeleteResponse, error) -} - -type externalPluginServiceClient struct { - cc *grpc.ClientConn -} - -func NewExternalPluginServiceClient(cc *grpc.ClientConn) ExternalPluginServiceClient { - return &externalPluginServiceClient{cc} -} - -// Deprecated: Do not use. -func (c *externalPluginServiceClient) CreateTask(ctx context.Context, in *TaskCreateRequest, opts ...grpc.CallOption) (*TaskCreateResponse, error) { - out := new(TaskCreateResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.ExternalPluginService/CreateTask", in, out, opts...) - if err != nil { - return nil, err +func (x *TaskDeleteResponse) Reset() { + *x = TaskDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -// Deprecated: Do not use. -func (c *externalPluginServiceClient) GetTask(ctx context.Context, in *TaskGetRequest, opts ...grpc.CallOption) (*TaskGetResponse, error) { - out := new(TaskGetResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.ExternalPluginService/GetTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *TaskDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -// Deprecated: Do not use. -func (c *externalPluginServiceClient) DeleteTask(ctx context.Context, in *TaskDeleteRequest, opts ...grpc.CallOption) (*TaskDeleteResponse, error) { - out := new(TaskDeleteResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.ExternalPluginService/DeleteTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +func (*TaskDeleteResponse) ProtoMessage() {} -// ExternalPluginServiceServer is the server API for ExternalPluginService service. -type ExternalPluginServiceServer interface { - // Send a task create request to the backend plugin server. - CreateTask(context.Context, *TaskCreateRequest) (*TaskCreateResponse, error) - // Get job status. - GetTask(context.Context, *TaskGetRequest) (*TaskGetResponse, error) - // Delete the task resource. - DeleteTask(context.Context, *TaskDeleteRequest) (*TaskDeleteResponse, error) -} - -// UnimplementedExternalPluginServiceServer can be embedded to have forward compatible implementations. -type UnimplementedExternalPluginServiceServer struct { -} - -func (*UnimplementedExternalPluginServiceServer) CreateTask(ctx context.Context, req *TaskCreateRequest) (*TaskCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") -} -func (*UnimplementedExternalPluginServiceServer) GetTask(ctx context.Context, req *TaskGetRequest) (*TaskGetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") -} -func (*UnimplementedExternalPluginServiceServer) DeleteTask(ctx context.Context, req *TaskDeleteRequest) (*TaskDeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") -} - -func RegisterExternalPluginServiceServer(s *grpc.Server, srv ExternalPluginServiceServer) { - s.RegisterService(&_ExternalPluginService_serviceDesc, srv) -} - -func _ExternalPluginService_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TaskCreateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalPluginServiceServer).CreateTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.ExternalPluginService/CreateTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalPluginServiceServer).CreateTask(ctx, req.(*TaskCreateRequest)) +func (x *TaskDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_external_plugin_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _ExternalPluginService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TaskGetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExternalPluginServiceServer).GetTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.ExternalPluginService/GetTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalPluginServiceServer).GetTask(ctx, req.(*TaskGetRequest)) - } - return interceptor(ctx, in, info, handler) -} +// Deprecated: Use TaskDeleteResponse.ProtoReflect.Descriptor instead. +func (*TaskDeleteResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_external_plugin_service_proto_rawDescGZIP(), []int{5} +} + +var File_flyteidl_service_external_plugin_service_proto protoreflect.FileDescriptor + +var file_flyteidl_service_external_plugin_service_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x11, + 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x31, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x06, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, + 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x72, 0x65, 0x66, + 0x69, 0x78, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x2f, 0x0a, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, + 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, + 0x62, 0x49, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x48, 0x0a, 0x0e, 0x54, 0x61, 0x73, 0x6b, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, + 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x3a, 0x02, 0x18, + 0x01, 0x22, 0x79, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, + 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x4b, 0x0a, 0x11, + 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, + 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x18, 0x0a, 0x12, 0x54, 0x61, 0x73, + 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x3a, + 0x02, 0x18, 0x01, 0x2a, 0x62, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, + 0x52, 0x45, 0x54, 0x52, 0x59, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, + 0x45, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x45, 0x52, 0x4d, 0x41, 0x4e, 0x45, 0x4e, 0x54, + 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, + 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, + 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, + 0x44, 0x10, 0x04, 0x1a, 0x02, 0x18, 0x01, 0x32, 0xa8, 0x02, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, + 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x12, + 0x53, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x03, 0x88, 0x02, 0x01, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x23, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x88, + 0x02, 0x01, 0x42, 0xd2, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x1a, 0x45, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x53, 0x58, 0xaa, 0x02, + 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_service_external_plugin_service_proto_rawDescOnce sync.Once + file_flyteidl_service_external_plugin_service_proto_rawDescData = file_flyteidl_service_external_plugin_service_proto_rawDesc +) -func _ExternalPluginService_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TaskDeleteRequest) - if err := dec(in); err != nil { - return nil, err +func file_flyteidl_service_external_plugin_service_proto_rawDescGZIP() []byte { + file_flyteidl_service_external_plugin_service_proto_rawDescOnce.Do(func() { + file_flyteidl_service_external_plugin_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_service_external_plugin_service_proto_rawDescData) + }) + return file_flyteidl_service_external_plugin_service_proto_rawDescData +} + +var file_flyteidl_service_external_plugin_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flyteidl_service_external_plugin_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_flyteidl_service_external_plugin_service_proto_goTypes = []interface{}{ + (State)(0), // 0: flyteidl.service.State + (*TaskCreateRequest)(nil), // 1: flyteidl.service.TaskCreateRequest + (*TaskCreateResponse)(nil), // 2: flyteidl.service.TaskCreateResponse + (*TaskGetRequest)(nil), // 3: flyteidl.service.TaskGetRequest + (*TaskGetResponse)(nil), // 4: flyteidl.service.TaskGetResponse + (*TaskDeleteRequest)(nil), // 5: flyteidl.service.TaskDeleteRequest + (*TaskDeleteResponse)(nil), // 6: flyteidl.service.TaskDeleteResponse + (*core.LiteralMap)(nil), // 7: flyteidl.core.LiteralMap + (*core.TaskTemplate)(nil), // 8: flyteidl.core.TaskTemplate +} +var file_flyteidl_service_external_plugin_service_proto_depIdxs = []int32{ + 7, // 0: flyteidl.service.TaskCreateRequest.inputs:type_name -> flyteidl.core.LiteralMap + 8, // 1: flyteidl.service.TaskCreateRequest.template:type_name -> flyteidl.core.TaskTemplate + 0, // 2: flyteidl.service.TaskGetResponse.state:type_name -> flyteidl.service.State + 7, // 3: flyteidl.service.TaskGetResponse.outputs:type_name -> flyteidl.core.LiteralMap + 1, // 4: flyteidl.service.ExternalPluginService.CreateTask:input_type -> flyteidl.service.TaskCreateRequest + 3, // 5: flyteidl.service.ExternalPluginService.GetTask:input_type -> flyteidl.service.TaskGetRequest + 5, // 6: flyteidl.service.ExternalPluginService.DeleteTask:input_type -> flyteidl.service.TaskDeleteRequest + 2, // 7: flyteidl.service.ExternalPluginService.CreateTask:output_type -> flyteidl.service.TaskCreateResponse + 4, // 8: flyteidl.service.ExternalPluginService.GetTask:output_type -> flyteidl.service.TaskGetResponse + 6, // 9: flyteidl.service.ExternalPluginService.DeleteTask:output_type -> flyteidl.service.TaskDeleteResponse + 7, // [7:10] is the sub-list for method output_type + 4, // [4:7] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_flyteidl_service_external_plugin_service_proto_init() } +func file_flyteidl_service_external_plugin_service_proto_init() { + if File_flyteidl_service_external_plugin_service_proto != nil { + return } - if interceptor == nil { - return srv.(ExternalPluginServiceServer).DeleteTask(ctx, in) + if !protoimpl.UnsafeEnabled { + file_flyteidl_service_external_plugin_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskCreateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_external_plugin_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskCreateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_external_plugin_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskGetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_external_plugin_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskGetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_external_plugin_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_external_plugin_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.ExternalPluginService/DeleteTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExternalPluginServiceServer).DeleteTask(ctx, req.(*TaskDeleteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ExternalPluginService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.ExternalPluginService", - HandlerType: (*ExternalPluginServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTask", - Handler: _ExternalPluginService_CreateTask_Handler, - }, - { - MethodName: "GetTask", - Handler: _ExternalPluginService_GetTask_Handler, - }, - { - MethodName: "DeleteTask", - Handler: _ExternalPluginService_DeleteTask_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_service_external_plugin_service_proto_rawDesc, + NumEnums: 1, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/external_plugin_service.proto", + GoTypes: file_flyteidl_service_external_plugin_service_proto_goTypes, + DependencyIndexes: file_flyteidl_service_external_plugin_service_proto_depIdxs, + EnumInfos: file_flyteidl_service_external_plugin_service_proto_enumTypes, + MessageInfos: file_flyteidl_service_external_plugin_service_proto_msgTypes, + }.Build() + File_flyteidl_service_external_plugin_service_proto = out.File + file_flyteidl_service_external_plugin_service_proto_rawDesc = nil + file_flyteidl_service_external_plugin_service_proto_goTypes = nil + file_flyteidl_service_external_plugin_service_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service_grpc.pb.go new file mode 100644 index 0000000000..3cd5f1639e --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service_grpc.pb.go @@ -0,0 +1,196 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/service/external_plugin_service.proto + +package service + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + ExternalPluginService_CreateTask_FullMethodName = "/flyteidl.service.ExternalPluginService/CreateTask" + ExternalPluginService_GetTask_FullMethodName = "/flyteidl.service.ExternalPluginService/GetTask" + ExternalPluginService_DeleteTask_FullMethodName = "/flyteidl.service.ExternalPluginService/DeleteTask" +) + +// ExternalPluginServiceClient is the client API for ExternalPluginService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ExternalPluginServiceClient interface { + // Deprecated: Do not use. + // Send a task create request to the backend plugin server. + CreateTask(ctx context.Context, in *TaskCreateRequest, opts ...grpc.CallOption) (*TaskCreateResponse, error) + // Deprecated: Do not use. + // Get job status. + GetTask(ctx context.Context, in *TaskGetRequest, opts ...grpc.CallOption) (*TaskGetResponse, error) + // Deprecated: Do not use. + // Delete the task resource. + DeleteTask(ctx context.Context, in *TaskDeleteRequest, opts ...grpc.CallOption) (*TaskDeleteResponse, error) +} + +type externalPluginServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewExternalPluginServiceClient(cc grpc.ClientConnInterface) ExternalPluginServiceClient { + return &externalPluginServiceClient{cc} +} + +// Deprecated: Do not use. +func (c *externalPluginServiceClient) CreateTask(ctx context.Context, in *TaskCreateRequest, opts ...grpc.CallOption) (*TaskCreateResponse, error) { + out := new(TaskCreateResponse) + err := c.cc.Invoke(ctx, ExternalPluginService_CreateTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *externalPluginServiceClient) GetTask(ctx context.Context, in *TaskGetRequest, opts ...grpc.CallOption) (*TaskGetResponse, error) { + out := new(TaskGetResponse) + err := c.cc.Invoke(ctx, ExternalPluginService_GetTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *externalPluginServiceClient) DeleteTask(ctx context.Context, in *TaskDeleteRequest, opts ...grpc.CallOption) (*TaskDeleteResponse, error) { + out := new(TaskDeleteResponse) + err := c.cc.Invoke(ctx, ExternalPluginService_DeleteTask_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ExternalPluginServiceServer is the server API for ExternalPluginService service. +// All implementations should embed UnimplementedExternalPluginServiceServer +// for forward compatibility +type ExternalPluginServiceServer interface { + // Deprecated: Do not use. + // Send a task create request to the backend plugin server. + CreateTask(context.Context, *TaskCreateRequest) (*TaskCreateResponse, error) + // Deprecated: Do not use. + // Get job status. + GetTask(context.Context, *TaskGetRequest) (*TaskGetResponse, error) + // Deprecated: Do not use. + // Delete the task resource. + DeleteTask(context.Context, *TaskDeleteRequest) (*TaskDeleteResponse, error) +} + +// UnimplementedExternalPluginServiceServer should be embedded to have forward compatible implementations. +type UnimplementedExternalPluginServiceServer struct { +} + +func (UnimplementedExternalPluginServiceServer) CreateTask(context.Context, *TaskCreateRequest) (*TaskCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") +} +func (UnimplementedExternalPluginServiceServer) GetTask(context.Context, *TaskGetRequest) (*TaskGetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") +} +func (UnimplementedExternalPluginServiceServer) DeleteTask(context.Context, *TaskDeleteRequest) (*TaskDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") +} + +// UnsafeExternalPluginServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ExternalPluginServiceServer will +// result in compilation errors. +type UnsafeExternalPluginServiceServer interface { + mustEmbedUnimplementedExternalPluginServiceServer() +} + +func RegisterExternalPluginServiceServer(s grpc.ServiceRegistrar, srv ExternalPluginServiceServer) { + s.RegisterService(&ExternalPluginService_ServiceDesc, srv) +} + +func _ExternalPluginService_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TaskCreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ExternalPluginServiceServer).CreateTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ExternalPluginService_CreateTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ExternalPluginServiceServer).CreateTask(ctx, req.(*TaskCreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ExternalPluginService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TaskGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ExternalPluginServiceServer).GetTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ExternalPluginService_GetTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ExternalPluginServiceServer).GetTask(ctx, req.(*TaskGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ExternalPluginService_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TaskDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ExternalPluginServiceServer).DeleteTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ExternalPluginService_DeleteTask_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ExternalPluginServiceServer).DeleteTask(ctx, req.(*TaskDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ExternalPluginService_ServiceDesc is the grpc.ServiceDesc for ExternalPluginService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ExternalPluginService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.ExternalPluginService", + HandlerType: (*ExternalPluginServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateTask", + Handler: _ExternalPluginService_CreateTask_Handler, + }, + { + MethodName: "GetTask", + Handler: _ExternalPluginService_GetTask_Handler, + }, + { + MethodName: "DeleteTask", + Handler: _ExternalPluginService_DeleteTask_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/external_plugin_service.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.gitignore b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.gitignore deleted file mode 100644 index daf913b1b3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe -*.test -*.prof diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION deleted file mode 100644 index 6cecc1a68f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.4.6-SNAPSHOT \ No newline at end of file diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml deleted file mode 100644 index f5cb2ce9a5..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: go - -install: - - go get -d -v . - -script: - - go build -v ./ - diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md deleted file mode 100644 index fe8d3d1166..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md +++ /dev/null @@ -1,433 +0,0 @@ -# Go API client for flyteadmin - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -## Overview -This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. - -- API version: version not set -- Package version: 1.0.0 -- Build package: io.swagger.codegen.languages.GoClientCodegen - -## Installation -Put the package under your project folder and add the following in import: -```golang -import "./flyteadmin" -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AdminServiceApi* | [**CreateExecution**](docs/AdminServiceApi.md#createexecution) | **Post** /api/v1/executions | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**CreateExecution2**](docs/AdminServiceApi.md#createexecution2) | **Put** /api/v1/executions/org/{org} | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**CreateLaunchPlan**](docs/AdminServiceApi.md#createlaunchplan) | **Post** /api/v1/launch_plans | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition -*AdminServiceApi* | [**CreateLaunchPlan2**](docs/AdminServiceApi.md#createlaunchplan2) | **Post** /api/v1/launch_plans/org/{id.org} | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition -*AdminServiceApi* | [**CreateNodeEvent**](docs/AdminServiceApi.md#createnodeevent) | **Post** /api/v1/events/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. -*AdminServiceApi* | [**CreateNodeEvent2**](docs/AdminServiceApi.md#createnodeevent2) | **Post** /api/v1/events/org/{event.id.execution_id.org}/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. -*AdminServiceApi* | [**CreateTask**](docs/AdminServiceApi.md#createtask) | **Post** /api/v1/tasks | Create and upload a :ref:`ref_flyteidl.admin.Task` definition -*AdminServiceApi* | [**CreateTask2**](docs/AdminServiceApi.md#createtask2) | **Post** /api/v1/tasks/org/{id.org} | Create and upload a :ref:`ref_flyteidl.admin.Task` definition -*AdminServiceApi* | [**CreateTaskEvent**](docs/AdminServiceApi.md#createtaskevent) | **Post** /api/v1/events/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. -*AdminServiceApi* | [**CreateTaskEvent2**](docs/AdminServiceApi.md#createtaskevent2) | **Post** /api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. -*AdminServiceApi* | [**CreateWorkflow**](docs/AdminServiceApi.md#createworkflow) | **Post** /api/v1/workflows | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition -*AdminServiceApi* | [**CreateWorkflow2**](docs/AdminServiceApi.md#createworkflow2) | **Post** /api/v1/workflows/org/{id.org} | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition -*AdminServiceApi* | [**CreateWorkflowEvent**](docs/AdminServiceApi.md#createworkflowevent) | **Post** /api/v1/events/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. -*AdminServiceApi* | [**CreateWorkflowEvent2**](docs/AdminServiceApi.md#createworkflowevent2) | **Post** /api/v1/events/org/{event.execution_id.org}/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. -*AdminServiceApi* | [**DeleteProjectAttributes**](docs/AdminServiceApi.md#deleteprojectattributes) | **Delete** /api/v1/project_attributes/{project} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**DeleteProjectAttributes2**](docs/AdminServiceApi.md#deleteprojectattributes2) | **Delete** /api/v1/project_domain_attributes/org/{org}/{project} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**DeleteProjectDomainAttributes**](docs/AdminServiceApi.md#deleteprojectdomainattributes) | **Delete** /api/v1/project_domain_attributes/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**DeleteProjectDomainAttributes2**](docs/AdminServiceApi.md#deleteprojectdomainattributes2) | **Delete** /api/v1/project_domain_attributes/org/{org}/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**DeleteWorkflowAttributes**](docs/AdminServiceApi.md#deleteworkflowattributes) | **Delete** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**DeleteWorkflowAttributes2**](docs/AdminServiceApi.md#deleteworkflowattributes2) | **Delete** /api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**GetActiveLaunchPlan**](docs/AdminServiceApi.md#getactivelaunchplan) | **Get** /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**GetActiveLaunchPlan2**](docs/AdminServiceApi.md#getactivelaunchplan2) | **Get** /api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**GetDescriptionEntity**](docs/AdminServiceApi.md#getdescriptionentity) | **Get** /api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. -*AdminServiceApi* | [**GetDescriptionEntity2**](docs/AdminServiceApi.md#getdescriptionentity2) | **Get** /api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. -*AdminServiceApi* | [**GetDynamicNodeWorkflow**](docs/AdminServiceApi.md#getdynamicnodeworkflow) | **Get** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow | Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. -*AdminServiceApi* | [**GetDynamicNodeWorkflow2**](docs/AdminServiceApi.md#getdynamicnodeworkflow2) | **Get** /api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow | Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. -*AdminServiceApi* | [**GetExecution**](docs/AdminServiceApi.md#getexecution) | **Get** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetExecution2**](docs/AdminServiceApi.md#getexecution2) | **Get** /api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetExecutionData**](docs/AdminServiceApi.md#getexecutiondata) | **Get** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetExecutionData2**](docs/AdminServiceApi.md#getexecutiondata2) | **Get** /api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetExecutionMetrics**](docs/AdminServiceApi.md#getexecutionmetrics) | **Get** /api/v1/metrics/executions/{id.project}/{id.domain}/{id.name} | Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetExecutionMetrics2**](docs/AdminServiceApi.md#getexecutionmetrics2) | **Get** /api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**GetLaunchPlan**](docs/AdminServiceApi.md#getlaunchplan) | **Get** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. -*AdminServiceApi* | [**GetLaunchPlan2**](docs/AdminServiceApi.md#getlaunchplan2) | **Get** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. -*AdminServiceApi* | [**GetNamedEntity**](docs/AdminServiceApi.md#getnamedentity) | **Get** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**GetNamedEntity2**](docs/AdminServiceApi.md#getnamedentity2) | **Get** /api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**GetNodeExecution**](docs/AdminServiceApi.md#getnodeexecution) | **Get** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**GetNodeExecution2**](docs/AdminServiceApi.md#getnodeexecution2) | **Get** /api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**GetNodeExecutionData**](docs/AdminServiceApi.md#getnodeexecutiondata) | **Get** /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**GetNodeExecutionData2**](docs/AdminServiceApi.md#getnodeexecutiondata2) | **Get** /api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**GetProjectAttributes**](docs/AdminServiceApi.md#getprojectattributes) | **Get** /api/v1/project_attributes/{project} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**GetProjectAttributes2**](docs/AdminServiceApi.md#getprojectattributes2) | **Get** /api/v1/project_domain_attributes/org/{org}/{project} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**GetProjectDomainAttributes**](docs/AdminServiceApi.md#getprojectdomainattributes) | **Get** /api/v1/project_domain_attributes/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**GetProjectDomainAttributes2**](docs/AdminServiceApi.md#getprojectdomainattributes2) | **Get** /api/v1/project_domain_attributes/org/{org}/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**GetTask**](docs/AdminServiceApi.md#gettask) | **Get** /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. -*AdminServiceApi* | [**GetTask2**](docs/AdminServiceApi.md#gettask2) | **Get** /api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. -*AdminServiceApi* | [**GetTaskExecution**](docs/AdminServiceApi.md#gettaskexecution) | **Get** /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} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**GetTaskExecution2**](docs/AdminServiceApi.md#gettaskexecution2) | **Get** /api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**GetTaskExecutionData**](docs/AdminServiceApi.md#gettaskexecutiondata) | **Get** /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} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**GetTaskExecutionData2**](docs/AdminServiceApi.md#gettaskexecutiondata2) | **Get** /api/v1/data/org/{id.node_execution_id.execution_id.org}/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} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**GetVersion**](docs/AdminServiceApi.md#getversion) | **Get** /api/v1/version | -*AdminServiceApi* | [**GetWorkflow**](docs/AdminServiceApi.md#getworkflow) | **Get** /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. -*AdminServiceApi* | [**GetWorkflow2**](docs/AdminServiceApi.md#getworkflow2) | **Get** /api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. -*AdminServiceApi* | [**GetWorkflowAttributes**](docs/AdminServiceApi.md#getworkflowattributes) | **Get** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**GetWorkflowAttributes2**](docs/AdminServiceApi.md#getworkflowattributes2) | **Get** /api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**ListActiveLaunchPlans**](docs/AdminServiceApi.md#listactivelaunchplans) | **Get** /api/v1/active_launch_plans/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**ListActiveLaunchPlans2**](docs/AdminServiceApi.md#listactivelaunchplans2) | **Get** /api/v1/active_launch_plans/org/{org}/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**ListDescriptionEntities**](docs/AdminServiceApi.md#listdescriptionentities) | **Get** /api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**ListDescriptionEntities2**](docs/AdminServiceApi.md#listdescriptionentities2) | **Get** /api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**ListDescriptionEntities3**](docs/AdminServiceApi.md#listdescriptionentities3) | **Get** /api/v1/description_entities/{resource_type}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**ListDescriptionEntities4**](docs/AdminServiceApi.md#listdescriptionentities4) | **Get** /api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**ListExecutions**](docs/AdminServiceApi.md#listexecutions) | **Get** /api/v1/executions/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**ListExecutions2**](docs/AdminServiceApi.md#listexecutions2) | **Get** /api/v1/executions/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**ListLaunchPlanIds**](docs/AdminServiceApi.md#listlaunchplanids) | **Get** /api/v1/launch_plan_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. -*AdminServiceApi* | [**ListLaunchPlanIds2**](docs/AdminServiceApi.md#listlaunchplanids2) | **Get** /api/v1/launch_plan_ids/org/{org}/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. -*AdminServiceApi* | [**ListLaunchPlans**](docs/AdminServiceApi.md#listlaunchplans) | **Get** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**ListLaunchPlans2**](docs/AdminServiceApi.md#listlaunchplans2) | **Get** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**ListLaunchPlans3**](docs/AdminServiceApi.md#listlaunchplans3) | **Get** /api/v1/launch_plans/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**ListLaunchPlans4**](docs/AdminServiceApi.md#listlaunchplans4) | **Get** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**ListMatchableAttributes**](docs/AdminServiceApi.md#listmatchableattributes) | **Get** /api/v1/matchable_attributes | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. -*AdminServiceApi* | [**ListMatchableAttributes2**](docs/AdminServiceApi.md#listmatchableattributes2) | **Get** /api/v1/matchable_attributes/org/{org} | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. -*AdminServiceApi* | [**ListNamedEntities**](docs/AdminServiceApi.md#listnamedentities) | **Get** /api/v1/named_entities/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. -*AdminServiceApi* | [**ListNamedEntities2**](docs/AdminServiceApi.md#listnamedentities2) | **Get** /api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. -*AdminServiceApi* | [**ListNodeExecutions**](docs/AdminServiceApi.md#listnodeexecutions) | **Get** /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**ListNodeExecutions2**](docs/AdminServiceApi.md#listnodeexecutions2) | **Get** /api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**ListNodeExecutionsForTask**](docs/AdminServiceApi.md#listnodeexecutionsfortask) | **Get** /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} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**ListNodeExecutionsForTask2**](docs/AdminServiceApi.md#listnodeexecutionsfortask2) | **Get** /api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**ListProjects**](docs/AdminServiceApi.md#listprojects) | **Get** /api/v1/projects | Fetches a list of :ref:`ref_flyteidl.admin.Project` -*AdminServiceApi* | [**ListProjects2**](docs/AdminServiceApi.md#listprojects2) | **Get** /api/v1/projects/org/{org} | Fetches a list of :ref:`ref_flyteidl.admin.Project` -*AdminServiceApi* | [**ListTaskExecutions**](docs/AdminServiceApi.md#listtaskexecutions) | **Get** /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} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**ListTaskExecutions2**](docs/AdminServiceApi.md#listtaskexecutions2) | **Get** /api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**ListTaskIds**](docs/AdminServiceApi.md#listtaskids) | **Get** /api/v1/task_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. -*AdminServiceApi* | [**ListTaskIds2**](docs/AdminServiceApi.md#listtaskids2) | **Get** /api/v1/tasks/org/{org}/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. -*AdminServiceApi* | [**ListTasks**](docs/AdminServiceApi.md#listtasks) | **Get** /api/v1/tasks/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**ListTasks2**](docs/AdminServiceApi.md#listtasks2) | **Get** /api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**ListTasks3**](docs/AdminServiceApi.md#listtasks3) | **Get** /api/v1/tasks/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**ListTasks4**](docs/AdminServiceApi.md#listtasks4) | **Get** /api/v1/tasks/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**ListWorkflowIds**](docs/AdminServiceApi.md#listworkflowids) | **Get** /api/v1/workflow_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. -*AdminServiceApi* | [**ListWorkflowIds2**](docs/AdminServiceApi.md#listworkflowids2) | **Get** /api/v1/workflows/org/{org}/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. -*AdminServiceApi* | [**ListWorkflows**](docs/AdminServiceApi.md#listworkflows) | **Get** /api/v1/workflows/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**ListWorkflows2**](docs/AdminServiceApi.md#listworkflows2) | **Get** /api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**ListWorkflows3**](docs/AdminServiceApi.md#listworkflows3) | **Get** /api/v1/workflows/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**ListWorkflows4**](docs/AdminServiceApi.md#listworkflows4) | **Get** /api/v1/workflows/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**RecoverExecution**](docs/AdminServiceApi.md#recoverexecution) | **Post** /api/v1/executions/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. -*AdminServiceApi* | [**RecoverExecution2**](docs/AdminServiceApi.md#recoverexecution2) | **Post** /api/v1/executions/org/{id.org}/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. -*AdminServiceApi* | [**RegisterProject**](docs/AdminServiceApi.md#registerproject) | **Post** /api/v1/projects | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. -*AdminServiceApi* | [**RegisterProject2**](docs/AdminServiceApi.md#registerproject2) | **Post** /api/v1/projects/org/{project.org} | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. -*AdminServiceApi* | [**RelaunchExecution**](docs/AdminServiceApi.md#relaunchexecution) | **Post** /api/v1/executions/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**RelaunchExecution2**](docs/AdminServiceApi.md#relaunchexecution2) | **Post** /api/v1/executions/org/{id.org}/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**TerminateExecution**](docs/AdminServiceApi.md#terminateexecution) | **Delete** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**TerminateExecution2**](docs/AdminServiceApi.md#terminateexecution2) | **Delete** /api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**UpdateExecution**](docs/AdminServiceApi.md#updateexecution) | **Put** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**UpdateExecution2**](docs/AdminServiceApi.md#updateexecution2) | **Put** /api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**UpdateLaunchPlan**](docs/AdminServiceApi.md#updatelaunchplan) | **Put** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**UpdateLaunchPlan2**](docs/AdminServiceApi.md#updatelaunchplan2) | **Put** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**UpdateNamedEntity**](docs/AdminServiceApi.md#updatenamedentity) | **Put** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**UpdateNamedEntity2**](docs/AdminServiceApi.md#updatenamedentity2) | **Put** /api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**UpdateProject**](docs/AdminServiceApi.md#updateproject) | **Put** /api/v1/projects/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. -*AdminServiceApi* | [**UpdateProject2**](docs/AdminServiceApi.md#updateproject2) | **Put** /api/v1/projects/org/{org}/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. -*AdminServiceApi* | [**UpdateProjectAttributes**](docs/AdminServiceApi.md#updateprojectattributes) | **Put** /api/v1/project_attributes/{attributes.project} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level -*AdminServiceApi* | [**UpdateProjectAttributes2**](docs/AdminServiceApi.md#updateprojectattributes2) | **Put** /api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level -*AdminServiceApi* | [**UpdateProjectDomainAttributes**](docs/AdminServiceApi.md#updateprojectdomainattributes) | **Put** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**UpdateProjectDomainAttributes2**](docs/AdminServiceApi.md#updateprojectdomainattributes2) | **Put** /api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**UpdateWorkflowAttributes**](docs/AdminServiceApi.md#updateworkflowattributes) | **Put** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**UpdateWorkflowAttributes2**](docs/AdminServiceApi.md#updateworkflowattributes2) | **Put** /api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - - -## Documentation For Models - - - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - - [AdminAnnotations](docs/AdminAnnotations.md) - - [AdminAuth](docs/AdminAuth.md) - - [AdminAuthRole](docs/AdminAuthRole.md) - - [AdminClusterAssignment](docs/AdminClusterAssignment.md) - - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) - - [AdminCronSchedule](docs/AdminCronSchedule.md) - - [AdminDescription](docs/AdminDescription.md) - - [AdminDescriptionEntity](docs/AdminDescriptionEntity.md) - - [AdminDescriptionEntityList](docs/AdminDescriptionEntityList.md) - - [AdminDescriptionFormat](docs/AdminDescriptionFormat.md) - - [AdminDomain](docs/AdminDomain.md) - - [AdminDynamicNodeWorkflowResponse](docs/AdminDynamicNodeWorkflowResponse.md) - - [AdminEmailNotification](docs/AdminEmailNotification.md) - - [AdminEnvs](docs/AdminEnvs.md) - - [AdminExecution](docs/AdminExecution.md) - - [AdminExecutionClosure](docs/AdminExecutionClosure.md) - - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) - - [AdminExecutionCreateRequest](docs/AdminExecutionCreateRequest.md) - - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) - - [AdminExecutionList](docs/AdminExecutionList.md) - - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) - - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) - - [AdminExecutionRecoverRequest](docs/AdminExecutionRecoverRequest.md) - - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) - - [AdminExecutionSpec](docs/AdminExecutionSpec.md) - - [AdminExecutionState](docs/AdminExecutionState.md) - - [AdminExecutionStateChangeDetails](docs/AdminExecutionStateChangeDetails.md) - - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) - - [AdminExecutionTerminateResponse](docs/AdminExecutionTerminateResponse.md) - - [AdminExecutionUpdateRequest](docs/AdminExecutionUpdateRequest.md) - - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) - - [AdminFixedRate](docs/AdminFixedRate.md) - - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) - - [AdminFlyteUrLs](docs/AdminFlyteUrLs.md) - - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) - - [AdminLabels](docs/AdminLabels.md) - - [AdminLaunchPlan](docs/AdminLaunchPlan.md) - - [AdminLaunchPlanClosure](docs/AdminLaunchPlanClosure.md) - - [AdminLaunchPlanCreateRequest](docs/AdminLaunchPlanCreateRequest.md) - - [AdminLaunchPlanCreateResponse](docs/AdminLaunchPlanCreateResponse.md) - - [AdminLaunchPlanList](docs/AdminLaunchPlanList.md) - - [AdminLaunchPlanMetadata](docs/AdminLaunchPlanMetadata.md) - - [AdminLaunchPlanSpec](docs/AdminLaunchPlanSpec.md) - - [AdminLaunchPlanState](docs/AdminLaunchPlanState.md) - - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) - - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) - - [AdminListMatchableAttributesResponse](docs/AdminListMatchableAttributesResponse.md) - - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) - - [AdminMatchableAttributesConfiguration](docs/AdminMatchableAttributesConfiguration.md) - - [AdminMatchableResource](docs/AdminMatchableResource.md) - - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) - - [AdminNamedEntity](docs/AdminNamedEntity.md) - - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) - - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) - - [AdminNamedEntityList](docs/AdminNamedEntityList.md) - - [AdminNamedEntityMetadata](docs/AdminNamedEntityMetadata.md) - - [AdminNamedEntityState](docs/AdminNamedEntityState.md) - - [AdminNamedEntityUpdateRequest](docs/AdminNamedEntityUpdateRequest.md) - - [AdminNamedEntityUpdateResponse](docs/AdminNamedEntityUpdateResponse.md) - - [AdminNodeExecutionClosure](docs/AdminNodeExecutionClosure.md) - - [AdminNodeExecutionEventRequest](docs/AdminNodeExecutionEventRequest.md) - - [AdminNodeExecutionEventResponse](docs/AdminNodeExecutionEventResponse.md) - - [AdminNodeExecutionGetDataResponse](docs/AdminNodeExecutionGetDataResponse.md) - - [AdminNodeExecutionList](docs/AdminNodeExecutionList.md) - - [AdminNodeExecutionMetaData](docs/AdminNodeExecutionMetaData.md) - - [AdminNotification](docs/AdminNotification.md) - - [AdminNotificationList](docs/AdminNotificationList.md) - - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) - - [AdminPluginOverride](docs/AdminPluginOverride.md) - - [AdminPluginOverrides](docs/AdminPluginOverrides.md) - - [AdminProject](docs/AdminProject.md) - - [AdminProjectAttributes](docs/AdminProjectAttributes.md) - - [AdminProjectAttributesDeleteRequest](docs/AdminProjectAttributesDeleteRequest.md) - - [AdminProjectAttributesDeleteResponse](docs/AdminProjectAttributesDeleteResponse.md) - - [AdminProjectAttributesGetResponse](docs/AdminProjectAttributesGetResponse.md) - - [AdminProjectAttributesUpdateRequest](docs/AdminProjectAttributesUpdateRequest.md) - - [AdminProjectAttributesUpdateResponse](docs/AdminProjectAttributesUpdateResponse.md) - - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) - - [AdminProjectDomainAttributesDeleteRequest](docs/AdminProjectDomainAttributesDeleteRequest.md) - - [AdminProjectDomainAttributesDeleteResponse](docs/AdminProjectDomainAttributesDeleteResponse.md) - - [AdminProjectDomainAttributesGetResponse](docs/AdminProjectDomainAttributesGetResponse.md) - - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) - - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) - - [AdminProjectRegisterRequest](docs/AdminProjectRegisterRequest.md) - - [AdminProjectRegisterResponse](docs/AdminProjectRegisterResponse.md) - - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) - - [AdminProjects](docs/AdminProjects.md) - - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) - - [AdminReason](docs/AdminReason.md) - - [AdminSchedule](docs/AdminSchedule.md) - - [AdminSlackNotification](docs/AdminSlackNotification.md) - - [AdminSort](docs/AdminSort.md) - - [AdminSourceCode](docs/AdminSourceCode.md) - - [AdminSystemMetadata](docs/AdminSystemMetadata.md) - - [AdminTask](docs/AdminTask.md) - - [AdminTaskClosure](docs/AdminTaskClosure.md) - - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) - - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) - - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) - - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) - - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) - - [AdminTaskList](docs/AdminTaskList.md) - - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) - - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - - [AdminTaskSpec](docs/AdminTaskSpec.md) - - [AdminUrlBlob](docs/AdminUrlBlob.md) - - [AdminVersion](docs/AdminVersion.md) - - [AdminWorkflow](docs/AdminWorkflow.md) - - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) - - [AdminWorkflowAttributesDeleteRequest](docs/AdminWorkflowAttributesDeleteRequest.md) - - [AdminWorkflowAttributesDeleteResponse](docs/AdminWorkflowAttributesDeleteResponse.md) - - [AdminWorkflowAttributesGetResponse](docs/AdminWorkflowAttributesGetResponse.md) - - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) - - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) - - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) - - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) - - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) - - [AdminWorkflowExecutionConfig](docs/AdminWorkflowExecutionConfig.md) - - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) - - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) - - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) - - [AdminWorkflowExecutionGetMetricsResponse](docs/AdminWorkflowExecutionGetMetricsResponse.md) - - [AdminWorkflowList](docs/AdminWorkflowList.md) - - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) - - [CatalogReservationStatus](docs/CatalogReservationStatus.md) - - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) - - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) - - [ConnectionSetIdList](docs/ConnectionSetIdList.md) - - [ContainerArchitecture](docs/ContainerArchitecture.md) - - [CoreAlias](docs/CoreAlias.md) - - [CoreApproveCondition](docs/CoreApproveCondition.md) - - [CoreArrayNode](docs/CoreArrayNode.md) - - [CoreArtifactBindingData](docs/CoreArtifactBindingData.md) - - [CoreArtifactId](docs/CoreArtifactId.md) - - [CoreArtifactKey](docs/CoreArtifactKey.md) - - [CoreArtifactQuery](docs/CoreArtifactQuery.md) - - [CoreArtifactTag](docs/CoreArtifactTag.md) - - [CoreBinary](docs/CoreBinary.md) - - [CoreBinding](docs/CoreBinding.md) - - [CoreBindingData](docs/CoreBindingData.md) - - [CoreBindingDataCollection](docs/CoreBindingDataCollection.md) - - [CoreBindingDataMap](docs/CoreBindingDataMap.md) - - [CoreBlob](docs/CoreBlob.md) - - [CoreBlobMetadata](docs/CoreBlobMetadata.md) - - [CoreBlobType](docs/CoreBlobType.md) - - [CoreBooleanExpression](docs/CoreBooleanExpression.md) - - [CoreBranchNode](docs/CoreBranchNode.md) - - [CoreCatalogArtifactTag](docs/CoreCatalogArtifactTag.md) - - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) - - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) - - [CoreComparisonExpression](docs/CoreComparisonExpression.md) - - [CoreCompiledTask](docs/CoreCompiledTask.md) - - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) - - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) - - [CoreConjunctionExpression](docs/CoreConjunctionExpression.md) - - [CoreConnectionSet](docs/CoreConnectionSet.md) - - [CoreContainer](docs/CoreContainer.md) - - [CoreContainerPort](docs/CoreContainerPort.md) - - [CoreDataLoadingConfig](docs/CoreDataLoadingConfig.md) - - [CoreEnumType](docs/CoreEnumType.md) - - [CoreError](docs/CoreError.md) - - [CoreExecutionError](docs/CoreExecutionError.md) - - [CoreExtendedResources](docs/CoreExtendedResources.md) - - [CoreGateNode](docs/CoreGateNode.md) - - [CoreGpuAccelerator](docs/CoreGpuAccelerator.md) - - [CoreIdentifier](docs/CoreIdentifier.md) - - [CoreIdentity](docs/CoreIdentity.md) - - [CoreIfBlock](docs/CoreIfBlock.md) - - [CoreIfElseBlock](docs/CoreIfElseBlock.md) - - [CoreInputBindingData](docs/CoreInputBindingData.md) - - [CoreIoStrategy](docs/CoreIoStrategy.md) - - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) - - [CoreK8sPod](docs/CoreK8sPod.md) - - [CoreKeyValuePair](docs/CoreKeyValuePair.md) - - [CoreLabelValue](docs/CoreLabelValue.md) - - [CoreLiteral](docs/CoreLiteral.md) - - [CoreLiteralCollection](docs/CoreLiteralCollection.md) - - [CoreLiteralMap](docs/CoreLiteralMap.md) - - [CoreLiteralType](docs/CoreLiteralType.md) - - [CoreNode](docs/CoreNode.md) - - [CoreNodeExecutionIdentifier](docs/CoreNodeExecutionIdentifier.md) - - [CoreNodeExecutionPhase](docs/CoreNodeExecutionPhase.md) - - [CoreNodeMetadata](docs/CoreNodeMetadata.md) - - [CoreOAuth2Client](docs/CoreOAuth2Client.md) - - [CoreOAuth2TokenRequest](docs/CoreOAuth2TokenRequest.md) - - [CoreOAuth2TokenRequestType](docs/CoreOAuth2TokenRequestType.md) - - [CoreOperand](docs/CoreOperand.md) - - [CoreOutputReference](docs/CoreOutputReference.md) - - [CoreParameter](docs/CoreParameter.md) - - [CoreParameterMap](docs/CoreParameterMap.md) - - [CorePartitions](docs/CorePartitions.md) - - [CorePrimitive](docs/CorePrimitive.md) - - [CorePromiseAttribute](docs/CorePromiseAttribute.md) - - [CoreQualityOfService](docs/CoreQualityOfService.md) - - [CoreQualityOfServiceSpec](docs/CoreQualityOfServiceSpec.md) - - [CoreResourceType](docs/CoreResourceType.md) - - [CoreResources](docs/CoreResources.md) - - [CoreRetryStrategy](docs/CoreRetryStrategy.md) - - [CoreRuntimeMetadata](docs/CoreRuntimeMetadata.md) - - [CoreScalar](docs/CoreScalar.md) - - [CoreSchema](docs/CoreSchema.md) - - [CoreSchemaType](docs/CoreSchemaType.md) - - [CoreSecret](docs/CoreSecret.md) - - [CoreSecurityContext](docs/CoreSecurityContext.md) - - [CoreSignalCondition](docs/CoreSignalCondition.md) - - [CoreSimpleType](docs/CoreSimpleType.md) - - [CoreSleepCondition](docs/CoreSleepCondition.md) - - [CoreSpan](docs/CoreSpan.md) - - [CoreSql](docs/CoreSql.md) - - [CoreStructuredDataset](docs/CoreStructuredDataset.md) - - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) - - [CoreStructuredDatasetType](docs/CoreStructuredDatasetType.md) - - [CoreTaskExecutionIdentifier](docs/CoreTaskExecutionIdentifier.md) - - [CoreTaskExecutionPhase](docs/CoreTaskExecutionPhase.md) - - [CoreTaskLog](docs/CoreTaskLog.md) - - [CoreTaskMetadata](docs/CoreTaskMetadata.md) - - [CoreTaskNode](docs/CoreTaskNode.md) - - [CoreTaskNodeOverrides](docs/CoreTaskNodeOverrides.md) - - [CoreTaskTemplate](docs/CoreTaskTemplate.md) - - [CoreTimePartition](docs/CoreTimePartition.md) - - [CoreTypeAnnotation](docs/CoreTypeAnnotation.md) - - [CoreTypeStructure](docs/CoreTypeStructure.md) - - [CoreTypedInterface](docs/CoreTypedInterface.md) - - [CoreUnion](docs/CoreUnion.md) - - [CoreUnionInfo](docs/CoreUnionInfo.md) - - [CoreUnionType](docs/CoreUnionType.md) - - [CoreVariable](docs/CoreVariable.md) - - [CoreVariableMap](docs/CoreVariableMap.md) - - [CoreVoid](docs/CoreVoid.md) - - [CoreWorkflowExecutionIdentifier](docs/CoreWorkflowExecutionIdentifier.md) - - [CoreWorkflowExecutionPhase](docs/CoreWorkflowExecutionPhase.md) - - [CoreWorkflowMetadata](docs/CoreWorkflowMetadata.md) - - [CoreWorkflowMetadataDefaults](docs/CoreWorkflowMetadataDefaults.md) - - [CoreWorkflowNode](docs/CoreWorkflowNode.md) - - [CoreWorkflowTemplate](docs/CoreWorkflowTemplate.md) - - [DataLoadingConfigLiteralMapFormat](docs/DataLoadingConfigLiteralMapFormat.md) - - [EventEventReason](docs/EventEventReason.md) - - [EventExternalResourceInfo](docs/EventExternalResourceInfo.md) - - [EventNodeExecutionEvent](docs/EventNodeExecutionEvent.md) - - [EventParentNodeExecutionMetadata](docs/EventParentNodeExecutionMetadata.md) - - [EventParentTaskExecutionMetadata](docs/EventParentTaskExecutionMetadata.md) - - [EventResourcePoolInfo](docs/EventResourcePoolInfo.md) - - [EventTaskExecutionEvent](docs/EventTaskExecutionEvent.md) - - [EventWorkflowExecutionEvent](docs/EventWorkflowExecutionEvent.md) - - [ExecutionErrorErrorKind](docs/ExecutionErrorErrorKind.md) - - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) - - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) - - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) - - [FlyteidladminTaskCreateRequest](docs/FlyteidladminTaskCreateRequest.md) - - [FlyteidladminTaskCreateResponse](docs/FlyteidladminTaskCreateResponse.md) - - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) - - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) - - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) - - [FlyteidleventDynamicWorkflowNodeMetadata](docs/FlyteidleventDynamicWorkflowNodeMetadata.md) - - [FlyteidleventTaskExecutionMetadata](docs/FlyteidleventTaskExecutionMetadata.md) - - [FlyteidleventTaskNodeMetadata](docs/FlyteidleventTaskNodeMetadata.md) - - [FlyteidleventWorkflowNodeMetadata](docs/FlyteidleventWorkflowNodeMetadata.md) - - [IoStrategyDownloadMode](docs/IoStrategyDownloadMode.md) - - [IoStrategyUploadMode](docs/IoStrategyUploadMode.md) - - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) - - [ProjectProjectState](docs/ProjectProjectState.md) - - [ProtobufAny](docs/ProtobufAny.md) - - [ProtobufListValue](docs/ProtobufListValue.md) - - [ProtobufNullValue](docs/ProtobufNullValue.md) - - [ProtobufStruct](docs/ProtobufStruct.md) - - [ProtobufValue](docs/ProtobufValue.md) - - [QualityOfServiceTier](docs/QualityOfServiceTier.md) - - [ResourcesResourceEntry](docs/ResourcesResourceEntry.md) - - [ResourcesResourceName](docs/ResourcesResourceName.md) - - [RuntimeMetadataRuntimeType](docs/RuntimeMetadataRuntimeType.md) - - [SchemaColumnSchemaColumnType](docs/SchemaColumnSchemaColumnType.md) - - [SchemaTypeSchemaColumn](docs/SchemaTypeSchemaColumn.md) - - [SecretMountType](docs/SecretMountType.md) - - [SortDirection](docs/SortDirection.md) - - [SqlDialect](docs/SqlDialect.md) - - [StructuredDatasetTypeDatasetColumn](docs/StructuredDatasetTypeDatasetColumn.md) - - [TaskExecutionMetadataInstanceClass](docs/TaskExecutionMetadataInstanceClass.md) - - [TaskLogMessageFormat](docs/TaskLogMessageFormat.md) - - [WorkflowMetadataOnFailurePolicy](docs/WorkflowMetadataOnFailurePolicy.md) - - -## Documentation For Authorization - Endpoints do not require authorization. - - -## Author - - - diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml deleted file mode 100644 index 7d8eced0ac..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml +++ /dev/null @@ -1,136819 +0,0 @@ ---- -swagger: "2.0" -info: - version: "version not set" - title: "flyteidl/service/admin.proto" -schemes: -- "http" -- "https" -consumes: -- "application/json" -produces: -- "application/json" -paths: - /api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`." - operationId: "GetActiveLaunchPlan2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlan" - /api/v1/active_launch_plans/org/{org}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`." - operationId: "ListActiveLaunchPlans2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required." - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required." - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`." - operationId: "GetActiveLaunchPlan" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlan" - /api/v1/active_launch_plans/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`." - operationId: "ListActiveLaunchPlans" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required." - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required." - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - ? /api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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} - : get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by\ - \ the reference :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "ListNodeExecutionsForTask2" - parameters: - - name: "task_execution_id.node_execution_id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdOrg" - - name: "task_execution_id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdProject" - - name: "task_execution_id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdDomain" - - name: "task_execution_id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdName" - - name: "task_execution_id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdNodeId" - - name: "task_execution_id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdProject" - - name: "task_execution_id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdDomain" - - name: "task_execution_id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdName" - - name: "task_execution_id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdVersion" - - name: "task_execution_id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "TaskExecutionIdRetryAttempt" - - name: "task_execution_id.task_id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "TaskExecutionIdTaskIdResourceType" - x-optionalDataType: "String" - - name: "task_execution_id.task_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the, server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionList" - ? /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} - : get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by\ - \ the reference :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "ListNodeExecutionsForTask" - parameters: - - name: "task_execution_id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdProject" - - name: "task_execution_id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdDomain" - - name: "task_execution_id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdName" - - name: "task_execution_id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdNodeId" - - name: "task_execution_id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdProject" - - name: "task_execution_id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdDomain" - - name: "task_execution_id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdName" - - name: "task_execution_id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdVersion" - - name: "task_execution_id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "TaskExecutionIdRetryAttempt" - - name: "task_execution_id.task_id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "TaskExecutionIdTaskIdResourceType" - x-optionalDataType: "String" - - name: "task_execution_id.task_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "TaskExecutionIdTaskIdOrg" - x-optionalDataType: "String" - - name: "task_execution_id.node_execution_id.execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "TaskExecutionIdNodeExecutionIdExecutionIdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the, server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionList" - /api/v1/data/executions/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`." - operationId: "GetExecutionData" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionGetDataResponse" - /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}: - get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`." - operationId: "GetNodeExecutionData" - parameters: - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - - name: "id.execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdExecutionIdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionGetDataResponse" - ? /api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} - : get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`." - operationId: "GetNodeExecutionData2" - parameters: - - name: "id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdOrg" - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionGetDataResponse" - ? /api/v1/data/org/{id.node_execution_id.execution_id.org}/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} - : get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "GetTaskExecutionData2" - parameters: - - name: "id.node_execution_id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdOrg" - - name: "id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdProject" - - name: "id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" - - name: "id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdName" - - name: "id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdNodeId" - - name: "id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdTaskIdProject" - - name: "id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdTaskIdDomain" - - name: "id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdName" - - name: "id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdVersion" - - name: "id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "IdRetryAttempt" - - name: "id.task_id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdTaskIdResourceType" - x-optionalDataType: "String" - - name: "id.task_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdTaskIdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionGetDataResponse" - /api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`." - operationId: "GetExecutionData2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionGetDataResponse" - ? /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} - : get: - tags: - - "AdminService" - summary: "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "GetTaskExecutionData" - parameters: - - name: "id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdProject" - - name: "id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" - - name: "id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdName" - - name: "id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdNodeId" - - name: "id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdTaskIdProject" - - name: "id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdTaskIdDomain" - - name: "id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdName" - - name: "id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdVersion" - - name: "id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "IdRetryAttempt" - - name: "id.task_id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdTaskIdResourceType" - x-optionalDataType: "String" - - name: "id.task_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdTaskIdOrg" - x-optionalDataType: "String" - - name: "id.node_execution_id.execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionGetDataResponse" - /api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object." - operationId: "GetDescriptionEntity2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.resource_type" - in: "path" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDescriptionEntity" - /api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions." - operationId: "ListDescriptionEntities4" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "resource_type" - in: "path" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDescriptionEntityList" - /api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions." - operationId: "ListDescriptionEntities2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "resource_type" - in: "path" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDescriptionEntityList" - /api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object." - operationId: "GetDescriptionEntity" - parameters: - - name: "id.resource_type" - in: "path" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDescriptionEntity" - /api/v1/description_entities/{resource_type}/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions." - operationId: "ListDescriptionEntities3" - parameters: - - name: "resource_type" - in: "path" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDescriptionEntityList" - /api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions." - operationId: "ListDescriptionEntities" - parameters: - - name: "resource_type" - in: "path" - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDescriptionEntityList" - /api/v1/events/nodes: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred." - operationId: "CreateNodeEvent" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminNodeExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionEventResponse" - /api/v1/events/org/{event.execution_id.org}/workflows: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred." - operationId: "CreateWorkflowEvent2" - parameters: - - name: "event.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "EventExecutionIdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionEventResponse" - /api/v1/events/org/{event.id.execution_id.org}/nodes: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred." - operationId: "CreateNodeEvent2" - parameters: - - name: "event.id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "EventIdExecutionIdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminNodeExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionEventResponse" - /api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred." - operationId: "CreateTaskEvent2" - parameters: - - name: "event.parent_node_execution_id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "EventParentNodeExecutionIdExecutionIdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminTaskExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionEventResponse" - /api/v1/events/tasks: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred." - operationId: "CreateTaskEvent" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminTaskExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionEventResponse" - /api/v1/events/workflows: - post: - tags: - - "AdminService" - summary: "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred." - operationId: "CreateWorkflowEvent" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowExecutionEventRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionEventResponse" - /api/v1/executions: - post: - tags: - - "AdminService" - summary: "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`" - operationId: "CreateExecution" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/org/{id.org}/recover: - post: - tags: - - "AdminService" - summary: "Recreates a previously-run workflow execution that will only start\ - \ executing from the last known failure point.\nIn Recover mode, users cannot\ - \ change any input parameters or update the version of the execution.\nThis\ - \ is extremely useful to recover from system errors and byzantine faults like\ - \ - Loss of K8s cluster, bugs in platform or instability, machine failures,\n\ - downstream system failures (downstream services), or simply to recover executions\ - \ that failed because of retry exhaustion and should complete if tried again.\n\ - See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details." - operationId: "RecoverExecution2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionRecoverRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/org/{id.org}/relaunch: - post: - tags: - - "AdminService" - summary: "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`" - operationId: "RelaunchExecution2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionRelaunchRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/org/{id.org}/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Execution`." - operationId: "ListExecutions2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionList" - /api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.Execution`." - operationId: "GetExecution2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecution" - put: - tags: - - "AdminService" - summary: "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`." - operationId: "UpdateExecution2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionUpdateResponse" - delete: - tags: - - "AdminService" - summary: "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`." - operationId: "TerminateExecution2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionTerminateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionTerminateResponse" - /api/v1/executions/org/{org}: - put: - tags: - - "AdminService" - summary: "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`" - operationId: "CreateExecution2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "Org" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/recover: - post: - tags: - - "AdminService" - summary: "Recreates a previously-run workflow execution that will only start\ - \ executing from the last known failure point.\nIn Recover mode, users cannot\ - \ change any input parameters or update the version of the execution.\nThis\ - \ is extremely useful to recover from system errors and byzantine faults like\ - \ - Loss of K8s cluster, bugs in platform or instability, machine failures,\n\ - downstream system failures (downstream services), or simply to recover executions\ - \ that failed because of retry exhaustion and should complete if tried again.\n\ - See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details." - operationId: "RecoverExecution" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionRecoverRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/relaunch: - post: - tags: - - "AdminService" - summary: "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`" - operationId: "RelaunchExecution" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionRelaunchRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionCreateResponse" - /api/v1/executions/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Execution`." - operationId: "ListExecutions" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionList" - /api/v1/executions/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.Execution`." - operationId: "GetExecution" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecution" - put: - tags: - - "AdminService" - summary: "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`." - operationId: "UpdateExecution" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionUpdateResponse" - delete: - tags: - - "AdminService" - summary: "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`." - operationId: "TerminateExecution" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminExecutionTerminateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminExecutionTerminateResponse" - /api/v1/launch_plan_ids/org/{org}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ launch plan objects." - operationId: "ListLaunchPlanIds2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/launch_plan_ids/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ launch plan objects." - operationId: "ListLaunchPlanIds" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/launch_plans: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition" - operationId: "CreateLaunchPlan" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminLaunchPlanCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanCreateResponse" - /api/v1/launch_plans/org/{id.org}: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition" - operationId: "CreateLaunchPlan2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminLaunchPlanCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanCreateResponse" - /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." - operationId: "ListLaunchPlans4" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." - operationId: "ListLaunchPlans2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition." - operationId: "GetLaunchPlan2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlan" - put: - tags: - - "AdminService" - summary: "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`." - operationId: "UpdateLaunchPlan2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanUpdateResponse" - /api/v1/launch_plans/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." - operationId: "ListLaunchPlans3" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions." - operationId: "ListLaunchPlans" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanList" - /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition." - operationId: "GetLaunchPlan" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlan" - put: - tags: - - "AdminService" - summary: "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`." - operationId: "UpdateLaunchPlan" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminLaunchPlanUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminLaunchPlanUpdateResponse" - /api/v1/matchable_attributes: - get: - tags: - - "AdminService" - summary: "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a specific resource type." - operationId: "ListMatchableAttributes" - parameters: - - name: "resource_type" - in: "query" - description: "+required.\n\n - TASK_RESOURCE: Applies to customizable task\ - \ resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring\ - \ templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures\ - \ task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL:\ - \ Configures the K8s cluster label to be used for execution to be run\n\ - \ - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service\ - \ when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable\ - \ plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG:\ - \ Adds defaults for customizable workflow-execution specifications and overrides.\n\ - \ - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which\ - \ this execution should run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org filter applied to list project requests." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminListMatchableAttributesResponse" - /api/v1/matchable_attributes/org/{org}: - get: - tags: - - "AdminService" - summary: "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a specific resource type." - operationId: "ListMatchableAttributes2" - parameters: - - name: "org" - in: "path" - description: "Optional, org filter applied to list project requests." - required: true - type: "string" - x-exportParamName: "Org" - - name: "resource_type" - in: "query" - description: "+required.\n\n - TASK_RESOURCE: Applies to customizable task\ - \ resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring\ - \ templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures\ - \ task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL:\ - \ Configures the K8s cluster label to be used for execution to be run\n\ - \ - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service\ - \ when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable\ - \ plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG:\ - \ Adds defaults for customizable workflow-execution specifications and overrides.\n\ - \ - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which\ - \ this execution should run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminListMatchableAttributesResponse" - /api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`." - operationId: "GetExecutionMetrics2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "depth" - in: "query" - description: "depth defines the number of Flyte entity levels to traverse\ - \ when breaking down execution details." - required: false - type: "integer" - format: "int32" - x-exportParamName: "Depth" - x-optionalDataType: "Int32" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionGetMetricsResponse" - /api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`." - operationId: "GetExecutionMetrics" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "depth" - in: "query" - description: "depth defines the number of Flyte entity levels to traverse\ - \ when breaking down execution details." - required: false - type: "integer" - format: "int32" - x-exportParamName: "Depth" - x-optionalDataType: "Int32" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowExecutionGetMetricsResponse" - /api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object." - operationId: "GetNamedEntity2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to get. One of Task, Workflow\ - \ or LaunchPlan.\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntity" - put: - tags: - - "AdminService" - summary: "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object." - operationId: "UpdateNamedEntity2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to update\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminNamedEntityUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityUpdateResponse" - /api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects." - operationId: "ListNamedEntities2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "Org" - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to query. One of Task, Workflow\ - \ or LaunchPlan.\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project." - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityList" - /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object." - operationId: "GetNamedEntity" - parameters: - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to get. One of Task, Workflow\ - \ or LaunchPlan.\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntity" - put: - tags: - - "AdminService" - summary: "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object." - operationId: "UpdateNamedEntity" - parameters: - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to update\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminNamedEntityUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityUpdateResponse" - /api/v1/named_entities/{resource_type}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects." - operationId: "ListNamedEntities" - parameters: - - name: "resource_type" - in: "path" - description: "Resource type of the metadata to query. One of Task, Workflow\ - \ or LaunchPlan.\n+required" - required: true - type: "string" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "ResourceType" - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project." - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityList" - ? /api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} - : get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`." - operationId: "GetNodeExecution2" - parameters: - - name: "id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdOrg" - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminNodeExecution" - ? /api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow - : get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`." - operationId: "GetDynamicNodeWorkflow2" - parameters: - - name: "id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdOrg" - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDynamicNodeWorkflowResponse" - ? /api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} - : get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`." - operationId: "ListNodeExecutions2" - parameters: - - name: "workflow_execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdOrg" - - name: "workflow_execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdProject" - - name: "workflow_execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdDomain" - - name: "workflow_execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "unique_parent_id" - in: "query" - description: "Unique identifier of the parent node in the execution\n+optional." - required: false - type: "string" - x-exportParamName: "UniqueParentId" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionList" - /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}: - get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`." - operationId: "GetNodeExecution" - parameters: - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - - name: "id.execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdExecutionIdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminNodeExecution" - /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow: - get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`." - operationId: "GetDynamicNodeWorkflow" - parameters: - - name: "id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdExecutionIdProject" - - name: "id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdExecutionIdDomain" - - name: "id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdExecutionIdName" - - name: "id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeId" - - name: "id.execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdExecutionIdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminDynamicNodeWorkflowResponse" - /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`." - operationId: "ListNodeExecutions" - parameters: - - name: "workflow_execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdProject" - - name: "workflow_execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdDomain" - - name: "workflow_execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "WorkflowExecutionIdName" - - name: "workflow_execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "WorkflowExecutionIdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "unique_parent_id" - in: "query" - description: "Unique identifier of the parent node in the execution\n+optional." - required: false - type: "string" - x-exportParamName: "UniqueParentId" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNodeExecutionList" - /api/v1/project_attributes/{attributes.project}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ at the project level" - operationId: "UpdateProjectAttributes" - parameters: - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectAttributesUpdateResponse" - /api/v1/project_attributes/{project}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "GetProjectAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the project." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "DeleteProjectAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectAttributesDeleteResponse" - /api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ at the project level" - operationId: "UpdateProjectAttributes2" - parameters: - - name: "attributes.org" - in: "path" - description: "Optional, org key applied to the project." - required: true - type: "string" - x-exportParamName: "AttributesOrg" - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectAttributesUpdateResponse" - /api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "UpdateProjectDomainAttributes2" - parameters: - - name: "attributes.org" - in: "path" - description: "Optional, org key applied to the attributes." - required: true - type: "string" - x-exportParamName: "AttributesOrg" - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - name: "attributes.domain" - in: "path" - description: "Unique domain id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesDomain" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectDomainAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesUpdateResponse" - /api/v1/project_domain_attributes/org/{org}/{project}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "GetProjectAttributes2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the project." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "DeleteProjectAttributes2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the project." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectAttributesDeleteResponse" - /api/v1/project_domain_attributes/org/{org}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "GetProjectDomainAttributes2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the attributes." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "DeleteProjectDomainAttributes2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the attributes." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectDomainAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesDeleteResponse" - /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "UpdateProjectDomainAttributes" - parameters: - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - name: "attributes.domain" - in: "path" - description: "Unique domain id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesDomain" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectDomainAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesUpdateResponse" - /api/v1/project_domain_attributes/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "GetProjectDomainAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the attributes." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project and domain." - operationId: "DeleteProjectDomainAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectDomainAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectDomainAttributesDeleteResponse" - /api/v1/projects: - get: - tags: - - "AdminService" - summary: "Fetches a list of :ref:`ref_flyteidl.admin.Project`" - operationId: "ListProjects" - parameters: - - name: "limit" - in: "query" - description: "Indicates the number of projects to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org filter applied to list project requests." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjects" - post: - tags: - - "AdminService" - summary: "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment." - operationId: "RegisterProject" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectRegisterRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectRegisterResponse" - /api/v1/projects/org/{org}: - get: - tags: - - "AdminService" - summary: "Fetches a list of :ref:`ref_flyteidl.admin.Project`" - operationId: "ListProjects2" - parameters: - - name: "org" - in: "path" - description: "Optional, org filter applied to list project requests." - required: true - type: "string" - x-exportParamName: "Org" - - name: "limit" - in: "query" - description: "Indicates the number of projects to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjects" - /api/v1/projects/org/{org}/{id}: - put: - tags: - - "AdminService" - summary: "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project\ - \ should be passed but the domains property should be empty;\nit will be ignored\ - \ in the handler as domains cannot be updated via this API." - operationId: "UpdateProject2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "Org" - - name: "id" - in: "path" - description: "Globally unique project name." - required: true - type: "string" - x-exportParamName: "Id" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProject" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectUpdateResponse" - /api/v1/projects/org/{project.org}: - post: - tags: - - "AdminService" - summary: "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment." - operationId: "RegisterProject2" - parameters: - - name: "project.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "ProjectOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProjectRegisterRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectRegisterResponse" - /api/v1/projects/{id}: - put: - tags: - - "AdminService" - summary: "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project\ - \ should be passed but the domains property should be empty;\nit will be ignored\ - \ in the handler as domains cannot be updated via this API." - operationId: "UpdateProject" - parameters: - - name: "id" - in: "path" - description: "Globally unique project name." - required: true - type: "string" - x-exportParamName: "Id" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminProject" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminProjectUpdateResponse" - ? /api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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} - : get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "GetTaskExecution2" - parameters: - - name: "id.node_execution_id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdOrg" - - name: "id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdProject" - - name: "id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" - - name: "id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdName" - - name: "id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdNodeId" - - name: "id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdTaskIdProject" - - name: "id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdTaskIdDomain" - - name: "id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdName" - - name: "id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdVersion" - - name: "id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "IdRetryAttempt" - - name: "id.task_id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdTaskIdResourceType" - x-optionalDataType: "String" - - name: "id.task_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdTaskIdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminTaskExecution" - ? /api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} - : get: - tags: - - "AdminService" - summary: "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "ListTaskExecutions2" - parameters: - - name: "node_execution_id.execution_id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdOrg" - - name: "node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdProject" - - name: "node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdDomain" - - name: "node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdName" - - name: "node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "NodeExecutionIdNodeId" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionList" - ? /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} - : get: - tags: - - "AdminService" - summary: "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "GetTaskExecution" - parameters: - - name: "id.node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdProject" - - name: "id.node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdDomain" - - name: "id.node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdName" - - name: "id.node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "IdNodeExecutionIdNodeId" - - name: "id.task_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdTaskIdProject" - - name: "id.task_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdTaskIdDomain" - - name: "id.task_id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdName" - - name: "id.task_id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdTaskIdVersion" - - name: "id.retry_attempt" - in: "path" - required: true - type: "integer" - format: "int64" - x-exportParamName: "IdRetryAttempt" - - name: "id.task_id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdTaskIdResourceType" - x-optionalDataType: "String" - - name: "id.task_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdTaskIdOrg" - x-optionalDataType: "String" - - name: "id.node_execution_id.execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdNodeExecutionIdExecutionIdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminTaskExecution" - ? /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} - : get: - tags: - - "AdminService" - summary: "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`." - operationId: "ListTaskExecutions" - parameters: - - name: "node_execution_id.execution_id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdProject" - - name: "node_execution_id.execution_id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdDomain" - - name: "node_execution_id.execution_id.name" - in: "path" - description: "User or system provided value for the resource." - required: true - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdName" - - name: "node_execution_id.node_id" - in: "path" - required: true - type: "string" - x-exportParamName: "NodeExecutionIdNodeId" - - name: "node_execution_id.execution_id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "NodeExecutionIdExecutionIdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskExecutionList" - /api/v1/task_ids/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ task objects." - operationId: "ListTaskIds" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/tasks: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.Task` definition" - operationId: "CreateTask" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/flyteidladminTaskCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminTaskCreateResponse" - /api/v1/tasks/org/{id.org}: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.Task` definition" - operationId: "CreateTask2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/flyteidladminTaskCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/flyteidladminTaskCreateResponse" - /api/v1/tasks/org/{id.org}/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." - operationId: "ListTasks4" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskList" - /api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." - operationId: "ListTasks2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskList" - /api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.Task` definition." - operationId: "GetTask2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTask" - /api/v1/tasks/org/{org}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ task objects." - operationId: "ListTaskIds2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/tasks/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." - operationId: "ListTasks3" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskList" - /api/v1/tasks/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions." - operationId: "ListTasks" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTaskList" - /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.Task` definition." - operationId: "GetTask" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminTask" - /api/v1/version: - get: - tags: - - "AdminService" - operationId: "GetVersion" - parameters: [] - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminGetVersionResponse" - /api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - operationId: "UpdateWorkflowAttributes2" - parameters: - - name: "attributes.org" - in: "path" - description: "Optional, org key applied to the attributes." - required: true - type: "string" - x-exportParamName: "AttributesOrg" - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - name: "attributes.domain" - in: "path" - description: "Unique domain id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesDomain" - - name: "attributes.workflow" - in: "path" - description: "Workflow name for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesWorkflow" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesUpdateResponse" - /api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - operationId: "GetWorkflowAttributes2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the attributes." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "workflow" - in: "path" - description: "Workflow name which this set of attributes references.\n+required" - required: true - type: "string" - x-exportParamName: "Workflow" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - operationId: "DeleteWorkflowAttributes2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the attributes." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "workflow" - in: "path" - description: "Workflow name which this set of attributes references.\n+required" - required: true - type: "string" - x-exportParamName: "Workflow" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesDeleteResponse" - /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}: - put: - tags: - - "AdminService" - summary: "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - operationId: "UpdateWorkflowAttributes" - parameters: - - name: "attributes.project" - in: "path" - description: "Unique project id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesProject" - - name: "attributes.domain" - in: "path" - description: "Unique domain id for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesDomain" - - name: "attributes.workflow" - in: "path" - description: "Workflow name for which this set of attributes will be applied." - required: true - type: "string" - x-exportParamName: "AttributesWorkflow" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowAttributesUpdateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesUpdateResponse" - /api/v1/workflow_attributes/{project}/{domain}/{workflow}: - get: - tags: - - "AdminService" - summary: "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - operationId: "GetWorkflowAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "workflow" - in: "path" - description: "Workflow name which this set of attributes references.\n+required" - required: true - type: "string" - x-exportParamName: "Workflow" - - name: "resource_type" - in: "query" - description: "Which type of matchable attributes to return.\n+required.\n\n\ - \ - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n\ - \ - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster\ - \ resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution\ - \ queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster\ - \ label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior\ - \ for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for\ - \ customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT:\ - \ Controls how to select an available cluster on which this execution should\ - \ run." - required: false - type: "string" - default: "TASK_RESOURCE" - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - x-exportParamName: "ResourceType" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the attributes." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesGetResponse" - delete: - tags: - - "AdminService" - summary: "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`\ - \ for a project, domain and workflow." - operationId: "DeleteWorkflowAttributes" - parameters: - - name: "project" - in: "path" - description: "Unique project id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Unique domain id which this set of attributes references.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "workflow" - in: "path" - description: "Workflow name which this set of attributes references.\n+required" - required: true - type: "string" - x-exportParamName: "Workflow" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowAttributesDeleteRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowAttributesDeleteResponse" - /api/v1/workflow_ids/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ workflow objects." - operationId: "ListWorkflowIds" - parameters: - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "Org" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/workflows: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition" - operationId: "CreateWorkflow" - parameters: - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowCreateResponse" - /api/v1/workflows/org/{id.org}: - post: - tags: - - "AdminService" - summary: "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition" - operationId: "CreateWorkflow2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - in: "body" - name: "body" - required: true - schema: - $ref: "#/definitions/adminWorkflowCreateRequest" - x-exportParamName: "Body" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowCreateResponse" - /api/v1/workflows/org/{id.org}/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." - operationId: "ListWorkflows4" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowList" - /api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." - operationId: "ListWorkflows2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowList" - /api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition." - operationId: "GetWorkflow2" - parameters: - - name: "id.org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "IdOrg" - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflow" - /api/v1/workflows/org/{org}/{project}/{domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of\ - \ workflow objects." - operationId: "ListWorkflowIds2" - parameters: - - name: "org" - in: "path" - description: "Optional, org key applied to the resource." - required: true - type: "string" - x-exportParamName: "Org" - - name: "project" - in: "path" - description: "Name of the project that contains the identifiers.\n+required" - required: true - type: "string" - x-exportParamName: "Project" - - name: "domain" - in: "path" - description: "Name of the domain the identifiers belongs to within the project.\n\ - +required" - required: true - type: "string" - x-exportParamName: "Domain" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminNamedEntityIdentifierList" - /api/v1/workflows/{id.project}/{id.domain}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." - operationId: "ListWorkflows3" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "query" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'." - required: false - type: "string" - x-exportParamName: "IdName" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowList" - /api/v1/workflows/{id.project}/{id.domain}/{id.name}: - get: - tags: - - "AdminService" - summary: "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions." - operationId: "ListWorkflows" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - - name: "limit" - in: "query" - description: "Indicates the number of resources to be returned.\n+required." - required: false - type: "integer" - format: "int64" - x-exportParamName: "Limit" - x-optionalDataType: "Int64" - - name: "token" - in: "query" - description: "In the case of multiple pages of results, this server-provided\ - \ token can be used to fetch the next page\nin a query.\n+optional." - required: false - type: "string" - x-exportParamName: "Token" - x-optionalDataType: "String" - - name: "filters" - in: "query" - description: "Indicates a list of filters passed as string.\nMore info on\ - \ constructing filters : \n+optional." - required: false - type: "string" - x-exportParamName: "Filters" - x-optionalDataType: "String" - - name: "sort_by.key" - in: "query" - description: "Indicates an attribute to sort the response values.\n+required." - required: false - type: "string" - x-exportParamName: "SortByKey" - x-optionalDataType: "String" - - name: "sort_by.direction" - in: "query" - description: "Indicates the direction to apply sort key for response values.\n\ - +optional.\n\n - DESCENDING: By default, fields are sorted in descending\ - \ order." - required: false - type: "string" - default: "DESCENDING" - enum: - - "DESCENDING" - - "ASCENDING" - x-exportParamName: "SortByDirection" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflowList" - /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}: - get: - tags: - - "AdminService" - summary: "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition." - operationId: "GetWorkflow" - parameters: - - name: "id.project" - in: "path" - description: "Name of the project the resource belongs to." - required: true - type: "string" - x-exportParamName: "IdProject" - - name: "id.domain" - in: "path" - description: "Name of the domain the resource belongs to.\nA domain can be\ - \ considered as a subset within a specific project." - required: true - type: "string" - x-exportParamName: "IdDomain" - - name: "id.name" - in: "path" - description: "User provided value for the resource." - required: true - type: "string" - x-exportParamName: "IdName" - - name: "id.version" - in: "path" - description: "Specific version of the resource." - required: true - type: "string" - x-exportParamName: "IdVersion" - - name: "id.resource_type" - in: "query" - 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" - required: false - type: "string" - default: "UNSPECIFIED" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - x-exportParamName: "IdResourceType" - x-optionalDataType: "String" - - name: "id.org" - in: "query" - description: "Optional, org key applied to the resource." - required: false - type: "string" - x-exportParamName: "IdOrg" - x-optionalDataType: "String" - responses: - 200: - description: "A successful response." - schema: - $ref: "#/definitions/adminWorkflow" -definitions: - BlobTypeBlobDimensionality: - type: "string" - enum: - - "SINGLE" - - "MULTIPART" - default: "SINGLE" - CatalogReservationStatus: - type: "string" - description: "Indicates the status of a catalog reservation operation.\n\n - RESERVATION_DISABLED:\ - \ Used to indicate that reservations are disabled\n - RESERVATION_ACQUIRED:\ - \ Used to indicate that a reservation was successfully acquired or extended\n\ - \ - RESERVATION_EXISTS: Used to indicate that an active reservation currently\ - \ exists\n - RESERVATION_RELEASED: Used to indicate that the reservation has\ - \ been successfully released\n - RESERVATION_FAILURE: Used to indicate that\ - \ a reservation operation resulted in failure" - enum: - - "RESERVATION_DISABLED" - - "RESERVATION_ACQUIRED" - - "RESERVATION_EXISTS" - - "RESERVATION_RELEASED" - - "RESERVATION_FAILURE" - default: "RESERVATION_DISABLED" - ComparisonExpressionOperator: - type: "string" - title: "Binary Operator for each expression" - description: "- GT: Greater Than\n - LT: Less Than" - enum: - - "EQ" - - "NEQ" - - "GT" - - "GTE" - - "LT" - - "LTE" - default: "EQ" - ConjunctionExpressionLogicalOperator: - type: "string" - title: "Nested conditions. They can be conjoined using AND / OR\nOrder of evaluation\ - \ is not important as the operators are Commutative" - description: "- AND: Conjunction" - enum: - - "AND" - - "OR" - default: "AND" - ConnectionSetIdList: - type: "object" - properties: - ids: - type: "array" - items: - type: "string" - example: - ids: - - "ids" - - "ids" - ContainerArchitecture: - type: "string" - description: "Architecture-type the container image supports." - enum: - - "UNKNOWN" - - "AMD64" - - "ARM64" - - "ARM_V6" - - "ARM_V7" - default: "UNKNOWN" - DataLoadingConfigLiteralMapFormat: - type: "string" - title: "LiteralMapFormat decides the encoding format in which the input metadata\ - \ should be made available to the containers.\nIf the user has access to the\ - \ protocol buffer definitions, it is recommended to use the PROTO format.\n\ - JSON and YAML do not need any protobuf definitions to read it\nAll remote references\ - \ in core.LiteralMap are replaced with local filesystem references (the data\ - \ is downloaded to local filesystem)" - description: "- JSON: JSON / YAML for the metadata (which contains inlined primitive\ - \ values). The representation is inline with the standard json specification\ - \ as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized\ - \ binary of `core.LiteralMap` defined in flyteidl/core" - enum: - - "JSON" - - "YAML" - - "PROTO" - default: "JSON" - ExecutionErrorErrorKind: - type: "string" - title: "Error type: System or User" - enum: - - "UNKNOWN" - - "USER" - - "SYSTEM" - default: "UNKNOWN" - ExecutionMetadataExecutionMode: - type: "string" - description: "The method by which this execution was launched.\n\n - MANUAL: The\ - \ default execution mode, MANUAL implies that an execution was launched by an\ - \ individual.\n - SCHEDULED: A schedule triggered this execution launch.\n -\ - \ SYSTEM: A system process was responsible for launching this execution rather\ - \ an individual.\n - RELAUNCH: This execution was launched with identical inputs\ - \ as a previous execution.\n - CHILD_WORKFLOW: This execution was triggered\ - \ by another execution.\n - RECOVERED: This execution was recovered from another\ - \ execution." - enum: - - "MANUAL" - - "SCHEDULED" - - "SYSTEM" - - "RELAUNCH" - - "CHILD_WORKFLOW" - - "RECOVERED" - default: "MANUAL" - IOStrategyDownloadMode: - type: "string" - title: "Mode to use for downloading" - description: "- DOWNLOAD_EAGER: All data will be downloaded before the main container\ - \ is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an\ - \ End-Of-Stream marker will be written to indicate all data has been downloaded.\ - \ Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded)\ - \ will not be downloaded" - enum: - - "DOWNLOAD_EAGER" - - "DOWNLOAD_STREAM" - - "DO_NOT_DOWNLOAD" - default: "DOWNLOAD_EAGER" - IOStrategyUploadMode: - type: "string" - title: "Mode to use for uploading" - description: "- UPLOAD_ON_EXIT: All data will be uploaded after the main container\ - \ exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol\ - \ specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only\ - \ references will be written" - enum: - - "UPLOAD_ON_EXIT" - - "UPLOAD_EAGER" - - "DO_NOT_UPLOAD" - default: "UPLOAD_ON_EXIT" - PluginOverrideMissingPluginBehavior: - type: "string" - description: " - FAIL: By default, if this plugin is not enabled for a Flyte deployment\ - \ then execution will fail.\n - USE_DEFAULT: Uses the system-configured default\ - \ implementation." - enum: - - "FAIL" - - "USE_DEFAULT" - default: "FAIL" - ProjectProjectState: - type: "string" - description: "The state of the project is used to control its visibility in the\ - \ UI and validity.\n\n - ACTIVE: By default, all projects are considered active.\n\ - \ - ARCHIVED: Archived projects are no longer visible in the UI and no longer\ - \ valid.\n - SYSTEM_GENERATED: System generated projects that aren't explicitly\ - \ created or managed by a user." - enum: - - "ACTIVE" - - "ARCHIVED" - - "SYSTEM_GENERATED" - default: "ACTIVE" - QualityOfServiceTier: - type: "string" - description: " - UNDEFINED: Default: no quality of service specified." - enum: - - "UNDEFINED" - - "HIGH" - - "MEDIUM" - - "LOW" - default: "UNDEFINED" - ResourcesResourceEntry: - type: "object" - properties: - name: - description: "Resource name." - $ref: "#/definitions/ResourcesResourceName" - value: - type: "string" - title: "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" - description: "Encapsulates a resource name and value." - example: - name: {} - value: "value" - ResourcesResourceName: - type: "string" - description: "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based\ - \ deployments, pods use ephemeral local storage for scratch space, caching,\ - \ and for logs." - enum: - - "UNKNOWN" - - "CPU" - - "GPU" - - "MEMORY" - - "STORAGE" - - "EPHEMERAL_STORAGE" - default: "UNKNOWN" - RuntimeMetadataRuntimeType: - type: "string" - enum: - - "OTHER" - - "FLYTE_SDK" - default: "OTHER" - SchemaColumnSchemaColumnType: - type: "string" - enum: - - "INTEGER" - - "FLOAT" - - "STRING" - - "BOOLEAN" - - "DATETIME" - - "DURATION" - default: "INTEGER" - SchemaTypeSchemaColumn: - type: "object" - properties: - name: - type: "string" - title: "A unique name -within the schema type- for the column" - type: - description: "The column type. This allows a limited set of types currently." - $ref: "#/definitions/SchemaColumnSchemaColumnType" - example: - name: "name" - type: {} - SecretMountType: - type: "string" - description: " - ANY: Default case, indicates the client can tolerate either mounting\ - \ options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as\ - \ an environment variable.\n - FILE: FILE indicates the secret needs to be mounted\ - \ as a file." - enum: - - "ANY" - - "ENV_VAR" - - "FILE" - default: "ANY" - SortDirection: - type: "string" - description: " - DESCENDING: By default, fields are sorted in descending order." - enum: - - "DESCENDING" - - "ASCENDING" - default: "DESCENDING" - SqlDialect: - type: "string" - description: "The dialect of the SQL statement. This is used to validate and parse\ - \ SQL statements at compilation time to avoid\nexpensive runtime operations.\ - \ If set to an unsupported dialect, no validation will be done on the statement.\n\ - We support the following dialect: ansi, hive." - enum: - - "UNDEFINED" - - "ANSI" - - "HIVE" - - "OTHER" - default: "UNDEFINED" - StructuredDatasetTypeDatasetColumn: - type: "object" - properties: - name: - type: "string" - description: "A unique name within the schema type for the column." - literal_type: - description: "The column type." - $ref: "#/definitions/coreLiteralType" - example: - name: "name" - TaskExecutionMetadataInstanceClass: - type: "string" - description: "Includes the broad category of machine used for this specific task\ - \ execution.\n\n - DEFAULT: The default instance class configured for the flyte\ - \ application platform.\n - INTERRUPTIBLE: The instance class configured for\ - \ interruptible tasks." - enum: - - "DEFAULT" - - "INTERRUPTIBLE" - default: "DEFAULT" - TaskLogMessageFormat: - type: "string" - enum: - - "UNKNOWN" - - "CSV" - - "JSON" - default: "UNKNOWN" - WorkflowMetadataOnFailurePolicy: - type: "string" - title: "Failure Handling Strategy" - description: "- FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail\ - \ as soon as a node fails in the workflow. It'll automatically\nabort all currently\ - \ running nodes and clean up resources before finally marking the workflow executions\ - \ as\nfailed.\n - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE\ - \ instructs the system to make as much progress as it can. The system will\n\ - not alter the dependencies of the execution graph so any node that depend on\ - \ the failed node will not be run.\nOther nodes that will be executed to completion\ - \ before cleaning up resources and marking the workflow\nexecution as failed." - enum: - - "FAIL_IMMEDIATELY" - - "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" - default: "FAIL_IMMEDIATELY" - adminAbortMetadata: - type: "object" - properties: - cause: - type: "string" - description: "In the case of a user-specified abort, this will pass along\ - \ the user-supplied cause." - principal: - type: "string" - title: "Identifies the entity (if any) responsible for terminating the execution" - description: "Specifies metadata around an aborted workflow execution." - example: - principal: "principal" - cause: "cause" - adminAnnotations: - type: "object" - properties: - values: - type: "object" - description: "Map of custom annotations to be applied to the execution resource." - additionalProperties: - type: "string" - description: "Annotation values to be applied to an execution resource.\nIn the\ - \ future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how\ - \ to merge annotations defined at registration and execution time." - example: - values: - key: "values" - adminAuth: - type: "object" - properties: - assumable_iam_role: - type: "string" - description: "Defines an optional iam role which will be used for tasks run\ - \ in executions created with this launch plan." - kubernetes_service_account: - type: "string" - description: "Defines an optional kubernetes service account which will be\ - \ used for tasks run in executions created with this launch plan." - description: "Defines permissions associated with executions created by this launch\ - \ plan spec.\nUse either of these roles when they have permissions required\ - \ by your workflow execution.\nDeprecated." - example: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminAuthRole: - type: "object" - properties: - assumable_iam_role: - type: "string" - description: "Defines an optional iam role which will be used for tasks run\ - \ in executions created with this launch plan." - kubernetes_service_account: - type: "string" - description: "Defines an optional kubernetes service account which will be\ - \ used for tasks run in executions created with this launch plan." - description: "Defines permissions associated with executions created by this launch\ - \ plan spec.\nUse either of these roles when they have permissions required\ - \ by your workflow execution.\nDeprecated." - example: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminClusterAssignment: - type: "object" - properties: - cluster_pool_name: - type: "string" - description: "Encapsulates specifications for routing an execution onto a specific\ - \ cluster." - example: - cluster_pool_name: "cluster_pool_name" - adminClusterResourceAttributes: - type: "object" - properties: - attributes: - type: "object" - description: "Custom resource attributes which will be applied in cluster\ - \ resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names\ - \ of variables in templatized resource files.\nMap values should be the\ - \ custom values which get substituted during resource creation." - additionalProperties: - type: "string" - example: - attributes: - key: "attributes" - adminCronSchedule: - type: "object" - properties: - schedule: - type: "string" - title: "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;\n\ - Also supports nonstandard predefined scheduling definitions\nas described\ - \ by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\n\ - except @reboot" - offset: - type: "string" - title: "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" - description: "Options for schedules to run according to a cron expression." - example: - schedule: "schedule" - offset: "offset" - adminDescription: - type: "object" - properties: - value: - type: "string" - title: "long description - no more than 4KB" - uri: - type: "string" - title: "if the description sizes exceed some threshold we can offload the\ - \ entire\ndescription proto altogether to an external data store, like S3\ - \ rather than store inline in the db" - format: - title: "Format of the long description" - $ref: "#/definitions/adminDescriptionFormat" - icon_link: - type: "string" - title: "Optional link to an icon for the entity" - description: "Full user description with formatting preserved. This can be rendered\n\ - by clients, such as the console or command line tools with in-tact\nformatting." - example: - format: {} - icon_link: "icon_link" - value: "value" - uri: "uri" - adminDescriptionEntity: - type: "object" - properties: - id: - description: "id represents the unique identifier of the description entity." - $ref: "#/definitions/coreIdentifier" - short_description: - type: "string" - description: "One-liner overview of the entity." - long_description: - description: "Full user description with formatting preserved." - $ref: "#/definitions/adminDescription" - source_code: - description: "Optional link to source code used to define this entity." - $ref: "#/definitions/adminSourceCode" - tags: - type: "array" - description: "User-specified tags. These are arbitrary and can be used for\ - \ searching\nfiltering and discovering tasks." - items: - type: "string" - description: "DescriptionEntity contains detailed description for the task/workflow.\n\ - Documentation could provide insight into the algorithms, business use case,\ - \ etc." - example: - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - long_description: - format: {} - icon_link: "icon_link" - value: "value" - uri: "uri" - source_code: - link: "link" - tags: - - "tags" - - "tags" - adminDescriptionEntityList: - type: "object" - properties: - descriptionEntities: - type: "array" - description: "A list of DescriptionEntities returned based on the request." - items: - $ref: "#/definitions/adminDescriptionEntity" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Represents a list of DescriptionEntities returned from the admin.\nSee\ - \ :ref:`ref_flyteidl.admin.DescriptionEntity` for more details" - example: - descriptionEntities: - - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - long_description: - format: {} - icon_link: "icon_link" - value: "value" - uri: "uri" - source_code: - link: "link" - tags: - - "tags" - - "tags" - - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - long_description: - format: {} - icon_link: "icon_link" - value: "value" - uri: "uri" - source_code: - link: "link" - tags: - - "tags" - - "tags" - token: "token" - adminDescriptionFormat: - type: "string" - title: "The format of the long description" - description: "- DESCRIPTION_FORMAT_RST: python default documentation - comments\ - \ is rst" - enum: - - "DESCRIPTION_FORMAT_UNKNOWN" - - "DESCRIPTION_FORMAT_MARKDOWN" - - "DESCRIPTION_FORMAT_HTML" - - "DESCRIPTION_FORMAT_RST" - default: "DESCRIPTION_FORMAT_UNKNOWN" - adminDomain: - type: "object" - properties: - id: - type: "string" - description: "Globally unique domain name." - name: - type: "string" - description: "Display name." - description: "Namespace within a project commonly used to differentiate between\ - \ different service instances.\ne.g. \"production\", \"development\", etc." - example: - name: "name" - id: "id" - adminDynamicNodeWorkflowResponse: - type: "object" - properties: - compiled_workflow: - $ref: "#/definitions/coreCompiledWorkflowClosure" - example: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - adminEmailNotification: - type: "object" - properties: - recipients_email: - type: "array" - title: "The list of email addresses recipients for this notification.\n+required" - items: - type: "string" - description: "Defines an email notification specification." - example: - recipients_email: - - "recipients_email" - - "recipients_email" - adminEnvs: - type: "object" - properties: - values: - type: "array" - description: "Map of custom environment variables to be applied to the execution\ - \ resource." - items: - $ref: "#/definitions/coreKeyValuePair" - description: "Environment variable values to be applied to an execution resource.\n\ - In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify\ - \ how to merge environment variables defined at registration and execution time." - example: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - adminExecution: - type: "object" - properties: - id: - description: "Unique identifier of the workflow execution." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - spec: - description: "User-provided configuration and inputs for launching the execution." - $ref: "#/definitions/adminExecutionSpec" - closure: - description: "Execution results." - $ref: "#/definitions/adminExecutionClosure" - description: "A workflow execution represents an instantiated workflow, including\ - \ all inputs and additional\nmetadata as well as computed results included state,\ - \ outputs, and duration-based attributes.\nUsed as a response object used in\ - \ Get and List execution requests." - example: - id: - org: "org" - domain: "domain" - name: "name" - project: "project" - closure: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - spec: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - org: "org" - domain: "domain" - name: "name" - project: "project" - artifact_ids: - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - namespace: "namespace" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - tags: - - "tags" - - "tags" - launch_plan: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminExecutionClosure: - type: "object" - properties: - outputs: - description: "Output URI in the case of a successful execution.\nDEPRECATED.\ - \ Use GetExecutionData to fetch output data instead." - $ref: "#/definitions/adminLiteralMapBlob" - error: - description: "Error information in the case of a failed execution." - $ref: "#/definitions/coreExecutionError" - abort_cause: - type: "string" - description: "In the case of a user-specified abort, this will pass along\ - \ the user-supplied cause." - abort_metadata: - description: "In the case of a user-specified abort, this will pass along\ - \ the user and their supplied cause." - $ref: "#/definitions/adminAbortMetadata" - output_data: - description: "Raw output data produced by this execution.\nDEPRECATED. Use\ - \ GetExecutionData to fetch output data instead." - $ref: "#/definitions/coreLiteralMap" - computed_inputs: - title: "Inputs computed and passed for execution.\ncomputed_inputs depends\ - \ on inputs in ExecutionSpec, fixed and default inputs in launch plan" - $ref: "#/definitions/coreLiteralMap" - phase: - description: "Most recent recorded phase for the execution." - $ref: "#/definitions/coreWorkflowExecutionPhase" - started_at: - type: "string" - format: "date-time" - description: "Reported time at which the execution began running." - duration: - type: "string" - description: "The amount of time the execution spent running." - created_at: - type: "string" - format: "date-time" - description: "Reported time at which the execution was created." - updated_at: - type: "string" - format: "date-time" - description: "Reported time at which the execution was last updated." - notifications: - type: "array" - description: "The notification settings to use after merging the CreateExecutionRequest\ - \ and the launch plan\nnotification settings. An execution launched with\ - \ notifications will always prefer that definition\nto notifications defined\ - \ statically in a launch plan." - items: - $ref: "#/definitions/adminNotification" - workflow_id: - description: "Identifies the workflow definition for this execution." - $ref: "#/definitions/coreIdentifier" - state_change_details: - title: "Provides the details of the last stage change" - $ref: "#/definitions/adminExecutionStateChangeDetails" - title: "Encapsulates the results of the Execution" - example: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminExecutionClusterLabel: - type: "object" - properties: - value: - type: "string" - title: "Label value to determine where the execution will be run" - example: - value: "value" - adminExecutionCreateRequest: - type: "object" - properties: - project: - type: "string" - title: "Name of the project the execution belongs to.\n+required" - domain: - type: "string" - title: "Name of the domain the execution belongs to.\nA domain can be considered\ - \ as a subset within a specific project.\n+required" - name: - type: "string" - title: "User provided value for the resource.\nIf none is provided the system\ - \ will generate a unique string.\n+optional" - spec: - title: "Additional fields necessary to launch the execution.\n+optional" - $ref: "#/definitions/adminExecutionSpec" - inputs: - title: "The inputs required to start the execution. All required inputs must\ - \ be\nincluded in this map. If not required and not provided, defaults apply.\n\ - +optional" - $ref: "#/definitions/coreLiteralMap" - org: - type: "string" - description: "Optional, org key applied to the resource." - description: "Request to launch an execution with the given project, domain and\ - \ optionally-assigned name." - adminExecutionCreateResponse: - type: "object" - properties: - id: - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - description: "The unique identifier for a successfully created execution.\nIf\ - \ the name was *not* specified in the create request, this identifier will include\ - \ a generated name." - example: - id: - org: "org" - domain: "domain" - name: "name" - project: "project" - adminExecutionList: - type: "object" - properties: - executions: - type: "array" - items: - $ref: "#/definitions/adminExecution" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Used as a response for request to list executions.\nSee :ref:`ref_flyteidl.admin.Execution`\ - \ for more details" - example: - executions: - - id: - org: "org" - domain: "domain" - name: "name" - project: "project" - closure: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - spec: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - org: "org" - domain: "domain" - name: "name" - project: "project" - artifact_ids: - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - namespace: "namespace" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - tags: - - "tags" - - "tags" - launch_plan: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - - id: - org: "org" - domain: "domain" - name: "name" - project: "project" - closure: - outputs: - values: - literals: {} - uri: "uri" - phase: {} - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - created_at: "2000-01-23T04:56:07.000+00:00" - state_change_details: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - computed_inputs: - literals: {} - abort_metadata: - principal: "principal" - cause: "cause" - updated_at: "2000-01-23T04:56:07.000+00:00" - started_at: "2000-01-23T04:56:07.000+00:00" - abort_cause: "abort_cause" - output_data: - literals: {} - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - spec: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - org: "org" - domain: "domain" - name: "name" - project: "project" - artifact_ids: - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - namespace: "namespace" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - tags: - - "tags" - - "tags" - launch_plan: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - token: "token" - adminExecutionMetadata: - type: "object" - properties: - mode: - $ref: "#/definitions/ExecutionMetadataExecutionMode" - principal: - type: "string" - description: "Identifier of the entity that triggered this execution.\nFor\ - \ systems using back-end authentication any value set here will be discarded\ - \ in favor of the\nauthenticated user context." - nesting: - type: "integer" - format: "int64" - description: "Indicates the nestedness of this execution.\nIf a user launches\ - \ a workflow execution, the default nesting is 0.\nIf this execution further\ - \ launches a workflow (child workflow), the nesting level is incremented\ - \ by 0 => 1\nGenerally, if workflow at nesting level k launches a workflow\ - \ then the child workflow will have\nnesting = k + 1." - scheduled_at: - type: "string" - format: "date-time" - description: "For scheduled executions, the requested time for execution for\ - \ this specific schedule invocation." - parent_node_execution: - title: "Which subworkflow node (if any) launched this execution" - $ref: "#/definitions/coreNodeExecutionIdentifier" - reference_execution: - description: "Optional, a reference workflow execution related to this execution.\n\ - In the case of a relaunch, this references the original workflow execution." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - system_metadata: - description: "Optional, platform-specific metadata about the execution.\n\ - In this the future this may be gated behind an ACL or some sort of authorization." - $ref: "#/definitions/adminSystemMetadata" - artifact_ids: - type: "array" - description: "Save a list of the artifacts used in this execution for now.\ - \ This is a list only rather than a mapping\nsince we don't have a structure\ - \ to handle nested ones anyways." - items: - $ref: "#/definitions/coreArtifactID" - description: "Represents attributes about an execution which are not required\ - \ to launch the execution but are useful to record.\nThese attributes are assigned\ - \ at launch time and do not change." - example: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - org: "org" - domain: "domain" - name: "name" - project: "project" - artifact_ids: - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - namespace: "namespace" - adminExecutionQueueAttributes: - type: "object" - properties: - tags: - type: "array" - description: "Tags used for assigning execution queues for tasks defined within\ - \ this project." - items: - type: "string" - example: - tags: - - "tags" - - "tags" - adminExecutionRecoverRequest: - type: "object" - properties: - id: - description: "Identifier of the workflow execution to recover." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - name: - type: "string" - title: "User provided value for the recovered execution.\nIf none is provided\ - \ the system will generate a unique string.\n+optional" - metadata: - description: "Additional metadata which will be used to overwrite any metadata\ - \ in the reference execution when triggering a recovery execution." - $ref: "#/definitions/adminExecutionMetadata" - description: "Request to recover the referenced execution." - adminExecutionRelaunchRequest: - type: "object" - properties: - id: - title: "Identifier of the workflow execution to relaunch.\n+required" - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - name: - type: "string" - title: "User provided value for the relaunched execution.\nIf none is provided\ - \ the system will generate a unique string.\n+optional" - overwrite_cache: - type: "boolean" - format: "boolean" - description: "Allows for all cached values of a workflow and its tasks to\ - \ be overwritten for a single execution.\nIf enabled, all calculations are\ - \ performed even if cached results would be available, overwriting the stored\n\ - data once execution finishes successfully." - description: "Request to relaunch the referenced execution." - adminExecutionSpec: - type: "object" - properties: - launch_plan: - title: "Launch plan to be executed" - $ref: "#/definitions/coreIdentifier" - inputs: - title: "Input values to be passed for the execution" - $ref: "#/definitions/coreLiteralMap" - metadata: - title: "Metadata for the execution" - $ref: "#/definitions/adminExecutionMetadata" - notifications: - description: "List of notifications based on Execution status transitions\n\ - When this list is not empty it is used rather than any notifications defined\ - \ in the referenced launch plan.\nWhen this list is empty, the notifications\ - \ defined for the launch plan will be applied." - $ref: "#/definitions/adminNotificationList" - disable_all: - type: "boolean" - format: "boolean" - description: "This should be set to true if all notifications are intended\ - \ to be disabled for this execution." - labels: - description: "Labels to apply to the execution resource." - $ref: "#/definitions/adminLabels" - annotations: - description: "Annotations to apply to the execution resource." - $ref: "#/definitions/adminAnnotations" - security_context: - description: "Optional: security context override to apply this execution." - $ref: "#/definitions/coreSecurityContext" - auth_role: - description: "Optional: auth override to apply this execution." - $ref: "#/definitions/adminAuthRole" - quality_of_service: - description: "Indicates the runtime priority of the execution." - $ref: "#/definitions/coreQualityOfService" - max_parallelism: - type: "integer" - format: "int32" - description: "Controls the maximum number of task nodes that can be run in\ - \ parallel for the entire workflow.\nThis is useful to achieve fairness.\ - \ Note: MapTasks are regarded as one unit,\nand parallelism/concurrency\ - \ of MapTasks is independent from this." - raw_output_data_config: - title: "User setting to configure where to store offloaded data (i.e. Blobs,\ - \ structured datasets, query data, etc.).\nThis should be a prefix like\ - \ s3://my-bucket/my-data" - $ref: "#/definitions/adminRawOutputDataConfig" - cluster_assignment: - description: "Controls how to select an available cluster on which this execution\ - \ should run." - $ref: "#/definitions/adminClusterAssignment" - interruptible: - type: "boolean" - format: "boolean" - description: "Allows for the interruptible flag of a workflow to be overwritten\ - \ for a single execution.\nOmitting this field uses the workflow's value\ - \ as a default.\nAs we need to distinguish between the field not being provided\ - \ and its default value false, we have to use a wrapper\naround the bool\ - \ field." - overwrite_cache: - type: "boolean" - format: "boolean" - description: "Allows for all cached values of a workflow and its tasks to\ - \ be overwritten for a single execution.\nIf enabled, all calculations are\ - \ performed even if cached results would be available, overwriting the stored\n\ - data once execution finishes successfully." - envs: - description: "Environment variables to be set for the execution." - $ref: "#/definitions/adminEnvs" - tags: - type: "array" - description: "Tags to be set for the execution." - items: - type: "string" - description: "An ExecutionSpec encompasses all data used to launch this execution.\ - \ The Spec does not change over the lifetime\nof an execution as it progresses\ - \ across phase changes." - example: - metadata: - mode: {} - principal: "principal" - parent_node_execution: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - reference_execution: - org: "org" - domain: "domain" - name: "name" - project: "project" - artifact_ids: - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - scheduled_at: "2000-01-23T04:56:07.000+00:00" - nesting: 0 - system_metadata: - execution_cluster: "execution_cluster" - namespace: "namespace" - disable_all: true - inputs: - literals: {} - annotations: - values: - key: "values" - max_parallelism: 6 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - tags: - - "tags" - - "tags" - launch_plan: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - notifications: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminExecutionState: - type: "string" - description: "The state of the execution is used to control its visibility in\ - \ the UI/CLI.\n\n - EXECUTION_ACTIVE: By default, all executions are considered\ - \ active.\n - EXECUTION_ARCHIVED: Archived executions are no longer visible\ - \ in the UI." - enum: - - "EXECUTION_ACTIVE" - - "EXECUTION_ARCHIVED" - default: "EXECUTION_ACTIVE" - adminExecutionStateChangeDetails: - type: "object" - properties: - state: - description: "The state of the execution is used to control its visibility\ - \ in the UI/CLI." - $ref: "#/definitions/adminExecutionState" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the state changed." - principal: - type: "string" - title: "Identifies the entity (if any) responsible for causing the state change\ - \ of the execution" - example: - occurred_at: "2000-01-23T04:56:07.000+00:00" - principal: "principal" - state: {} - adminExecutionTerminateRequest: - type: "object" - properties: - id: - description: "Uniquely identifies the individual workflow execution to be\ - \ terminated." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - cause: - type: "string" - description: "Optional reason for aborting." - description: "Request to terminate an in-progress execution. This action is irreversible.\n\ - If an execution is already terminated, this request will simply be a no-op.\n\ - This request will fail if it references a non-existent execution.\nIf the request\ - \ succeeds the phase \"ABORTED\" will be recorded for the termination\nwith\ - \ the optional cause added to the output_result." - adminExecutionTerminateResponse: - type: "object" - adminExecutionUpdateRequest: - type: "object" - properties: - id: - title: "Identifier of the execution to update" - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - state: - title: "State to set as the new value active/archive" - $ref: "#/definitions/adminExecutionState" - adminExecutionUpdateResponse: - type: "object" - adminFixedRate: - type: "object" - properties: - value: - type: "integer" - format: "int64" - unit: - $ref: "#/definitions/adminFixedRateUnit" - description: "Option for schedules run at a certain frequency e.g. every 2 minutes." - example: - unit: {} - value: 0 - adminFixedRateUnit: - type: "string" - description: "Represents a frequency at which to run a schedule." - enum: - - "MINUTE" - - "HOUR" - - "DAY" - default: "MINUTE" - adminFlyteURLs: - type: "object" - properties: - inputs: - type: "string" - outputs: - type: "string" - deck: - type: "string" - description: "These URLs are returned as part of node and task execution data\ - \ requests." - example: - outputs: "outputs" - inputs: "inputs" - deck: "deck" - adminGetVersionResponse: - type: "object" - properties: - control_plane_version: - title: "The control plane version information. FlyteAdmin and related components\n\ - form the control plane of Flyte" - $ref: "#/definitions/adminVersion" - title: "Response for the GetVersion API" - example: - control_plane_version: - Version: "Version" - Build: "Build" - BuildTime: "BuildTime" - adminLabels: - type: "object" - properties: - values: - type: "object" - description: "Map of custom labels to be applied to the execution resource." - additionalProperties: - type: "string" - description: "Label values to be applied to an execution resource.\nIn the future\ - \ a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge\ - \ labels defined at registration and execution time." - example: - values: - key: "values" - adminLaunchPlan: - type: "object" - properties: - id: - description: "Uniquely identifies a launch plan entity." - $ref: "#/definitions/coreIdentifier" - spec: - description: "User-provided launch plan details, including reference workflow,\ - \ inputs and other metadata." - $ref: "#/definitions/adminLaunchPlanSpec" - closure: - description: "Values computed by the flyte platform after launch plan registration." - $ref: "#/definitions/adminLaunchPlanClosure" - description: "A LaunchPlan provides the capability to templatize workflow executions.\n\ - Launch plans simplify associating one or more schedules, inputs and notifications\ - \ with your workflows.\nLaunch plans can be shared and used to trigger executions\ - \ with predefined inputs even when a workflow\ndefinition doesn't necessarily\ - \ have a default value for said input." - example: - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - expected_outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - spec: - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - launch_conditions: - value: "value" - type_url: "type_url" - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminLaunchPlanClosure: - type: "object" - properties: - state: - description: "Indicate the Launch plan state." - $ref: "#/definitions/adminLaunchPlanState" - expected_inputs: - title: "Indicates the set of inputs expected when creating an execution with\ - \ the Launch plan" - $ref: "#/definitions/coreParameterMap" - expected_outputs: - title: "Indicates the set of outputs expected to be produced by creating an\ - \ execution with the Launch plan" - $ref: "#/definitions/coreVariableMap" - created_at: - type: "string" - format: "date-time" - description: "Time at which the launch plan was created." - updated_at: - type: "string" - format: "date-time" - description: "Time at which the launch plan was last updated." - description: "Values computed by the flyte platform after launch plan registration.\n\ - These include expected_inputs required to be present in a CreateExecutionRequest\n\ - to launch the reference workflow as well timestamp values associated with the\ - \ launch plan." - example: - expected_outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - adminLaunchPlanCreateRequest: - type: "object" - properties: - id: - description: "Uniquely identifies a launch plan entity." - $ref: "#/definitions/coreIdentifier" - spec: - description: "User-provided launch plan details, including reference workflow,\ - \ inputs and other metadata." - $ref: "#/definitions/adminLaunchPlanSpec" - description: "Request to register a launch plan. The included LaunchPlanSpec may\ - \ have a complete or incomplete set of inputs required\nto launch a workflow\ - \ execution. By default all launch plans are registered in state INACTIVE. If\ - \ you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest,\ - \ after you have successfully created a launch plan." - adminLaunchPlanCreateResponse: - type: "object" - adminLaunchPlanList: - type: "object" - properties: - launch_plans: - type: "array" - items: - $ref: "#/definitions/adminLaunchPlan" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Response object for list launch plan requests.\nSee :ref:`ref_flyteidl.admin.LaunchPlan`\ - \ for more details" - example: - launch_plans: - - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - expected_outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - spec: - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - launch_conditions: - value: "value" - type_url: "type_url" - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - expected_outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - updated_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - state: {} - expected_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - spec: - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - launch_conditions: - value: "value" - type_url: "type_url" - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - token: "token" - adminLaunchPlanMetadata: - type: "object" - properties: - schedule: - title: "Schedule to execute the Launch Plan" - $ref: "#/definitions/adminSchedule" - notifications: - type: "array" - title: "List of notifications based on Execution status transitions" - items: - $ref: "#/definitions/adminNotification" - launch_conditions: - title: "Additional metadata for how to launch the launch plan" - $ref: "#/definitions/protobufAny" - description: "Additional launch plan attributes included in the LaunchPlanSpec\ - \ not strictly required to launch\nthe reference workflow." - example: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - launch_conditions: - value: "value" - type_url: "type_url" - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminLaunchPlanSpec: - type: "object" - properties: - workflow_id: - title: "Reference to the Workflow template that the launch plan references" - $ref: "#/definitions/coreIdentifier" - entity_metadata: - title: "Metadata for the Launch Plan" - $ref: "#/definitions/adminLaunchPlanMetadata" - default_inputs: - description: "Input values to be passed for the execution.\nThese can be overridden\ - \ when an execution is created with this launch plan." - $ref: "#/definitions/coreParameterMap" - fixed_inputs: - description: "Fixed, non-overridable inputs for the Launch Plan.\nThese can\ - \ not be overridden when an execution is created with this launch plan." - $ref: "#/definitions/coreLiteralMap" - role: - type: "string" - title: "String to indicate the role to use to execute the workflow underneath" - labels: - description: "Custom labels to be applied to the execution resource." - $ref: "#/definitions/adminLabels" - annotations: - description: "Custom annotations to be applied to the execution resource." - $ref: "#/definitions/adminAnnotations" - auth: - description: "Indicates the permission associated with workflow executions\ - \ triggered with this launch plan." - $ref: "#/definitions/adminAuth" - auth_role: - $ref: "#/definitions/adminAuthRole" - security_context: - title: "Indicates security context for permissions triggered with this launch\ - \ plan" - $ref: "#/definitions/coreSecurityContext" - quality_of_service: - description: "Indicates the runtime priority of the execution." - $ref: "#/definitions/coreQualityOfService" - raw_output_data_config: - description: "Encapsulates user settings pertaining to offloaded data (i.e.\ - \ Blobs, Schema, query data, etc.)." - $ref: "#/definitions/adminRawOutputDataConfig" - max_parallelism: - type: "integer" - format: "int32" - description: "Controls the maximum number of tasknodes that can be run in\ - \ parallel for the entire workflow.\nThis is useful to achieve fairness.\ - \ Note: MapTasks are regarded as one unit,\nand parallelism/concurrency\ - \ of MapTasks is independent from this." - interruptible: - type: "boolean" - format: "boolean" - description: "Allows for the interruptible flag of a workflow to be overwritten\ - \ for a single execution.\nOmitting this field uses the workflow's value\ - \ as a default.\nAs we need to distinguish between the field not being provided\ - \ and its default value false, we have to use a wrapper\naround the bool\ - \ field." - overwrite_cache: - type: "boolean" - format: "boolean" - description: "Allows for all cached values of a workflow and its tasks to\ - \ be overwritten for a single execution.\nIf enabled, all calculations are\ - \ performed even if cached results would be available, overwriting the stored\n\ - data once execution finishes successfully." - envs: - description: "Environment variables to be set for the execution." - $ref: "#/definitions/adminEnvs" - description: "User-provided launch plan definition and configuration values." - example: - workflow_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - fixed_inputs: - literals: {} - role: "role" - auth: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - entity_metadata: - schedule: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - launch_conditions: - value: "value" - type_url: "type_url" - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - annotations: - values: - key: "values" - max_parallelism: 5 - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - labels: - values: - key: "values" - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - default_inputs: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - auth_role: - kubernetes_service_account: "kubernetes_service_account" - assumable_iam_role: "assumable_iam_role" - adminLaunchPlanState: - type: "string" - description: "By default any launch plan regardless of state can be used to launch\ - \ a workflow execution.\nHowever, at most one version of a launch plan\n(e.g.\ - \ a NamedEntityIdentifier set of shared project, domain and name values) can\ - \ be\nactive at a time in regards to *schedules*. That is, at most one schedule\ - \ in a NamedEntityIdentifier\ngroup will be observed and trigger executions\ - \ at a defined cadence." - enum: - - "INACTIVE" - - "ACTIVE" - default: "INACTIVE" - adminLaunchPlanUpdateRequest: - type: "object" - properties: - id: - description: "Identifier of launch plan for which to change state.\n+required." - $ref: "#/definitions/coreIdentifier" - state: - description: "Desired state to apply to the launch plan.\n+required." - $ref: "#/definitions/adminLaunchPlanState" - title: "Request to set the referenced launch plan state to the configured value.\n\ - See :ref:`ref_flyteidl.admin.LaunchPlan` for more details" - adminLaunchPlanUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminListMatchableAttributesResponse: - type: "object" - properties: - configurations: - type: "array" - items: - $ref: "#/definitions/adminMatchableAttributesConfiguration" - title: "Response for a request for all matching resource attributes for a resource\ - \ type.\nSee :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for\ - \ more details" - example: - configurations: - - launch_plan: "launch_plan" - workflow: "workflow" - org: "org" - domain: "domain" - project: "project" - attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - launch_plan: "launch_plan" - workflow: "workflow" - org: "org" - domain: "domain" - project: "project" - attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminLiteralMapBlob: - type: "object" - properties: - values: - title: "Data in LiteralMap format" - $ref: "#/definitions/coreLiteralMap" - uri: - type: "string" - title: "In the event that the map is too large, we return a uri to the data" - title: "Input/output data can represented by actual values or a link to where\ - \ values are stored" - example: - values: - literals: {} - uri: "uri" - adminMatchableAttributesConfiguration: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminMatchingAttributes" - domain: - type: "string" - project: - type: "string" - workflow: - type: "string" - launch_plan: - type: "string" - org: - type: "string" - description: "Optional, org key applied to the resource." - description: "Represents a custom set of attributes applied for either a domain\ - \ (and optional org); a domain and project (and optional org);\nor domain, project\ - \ and workflow name (and optional org).\nThese are used to override system level\ - \ defaults for kubernetes cluster resource management,\ndefault execution values,\ - \ and more all across different levels of specificity." - example: - launch_plan: "launch_plan" - workflow: "workflow" - org: "org" - domain: "domain" - project: "project" - attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminMatchableResource: - type: "string" - description: "Defines a resource that can be configured by customizable Project-,\ - \ ProjectDomain- or WorkflowAttributes\nbased on matching tags.\n\n - TASK_RESOURCE:\ - \ Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE:\ - \ Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE:\ - \ Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL:\ - \ Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION:\ - \ Configures default quality of service when undefined in an execution spec.\n\ - \ - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for\ - \ a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable\ - \ workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls\ - \ how to select an available cluster on which this execution should run." - enum: - - "TASK_RESOURCE" - - "CLUSTER_RESOURCE" - - "EXECUTION_QUEUE" - - "EXECUTION_CLUSTER_LABEL" - - "QUALITY_OF_SERVICE_SPECIFICATION" - - "PLUGIN_OVERRIDE" - - "WORKFLOW_EXECUTION_CONFIG" - - "CLUSTER_ASSIGNMENT" - default: "TASK_RESOURCE" - adminMatchingAttributes: - type: "object" - properties: - task_resource_attributes: - $ref: "#/definitions/adminTaskResourceAttributes" - cluster_resource_attributes: - $ref: "#/definitions/adminClusterResourceAttributes" - execution_queue_attributes: - $ref: "#/definitions/adminExecutionQueueAttributes" - execution_cluster_label: - $ref: "#/definitions/adminExecutionClusterLabel" - quality_of_service: - $ref: "#/definitions/coreQualityOfService" - plugin_overrides: - $ref: "#/definitions/adminPluginOverrides" - workflow_execution_config: - $ref: "#/definitions/adminWorkflowExecutionConfig" - cluster_assignment: - $ref: "#/definitions/adminClusterAssignment" - description: "Generic container for encapsulating all types of the above attributes\ - \ messages." - example: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminNamedEntity: - type: "object" - properties: - resource_type: - description: "Resource type of the named entity. One of Task, Workflow or\ - \ LaunchPlan." - $ref: "#/definitions/coreResourceType" - id: - $ref: "#/definitions/adminNamedEntityIdentifier" - metadata: - description: "Additional metadata around a named entity." - $ref: "#/definitions/adminNamedEntityMetadata" - description: "Encapsulates information common to a NamedEntity, a Flyte resource\ - \ such as a task,\nworkflow or launch plan. A NamedEntity is exclusively identified\ - \ by its resource type\nand identifier." - example: - metadata: - description: "description" - state: {} - resource_type: {} - id: - org: "org" - domain: "domain" - name: "name" - project: "project" - adminNamedEntityIdentifier: - 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" - title: "User provided value for the resource.\nThe combination of project\ - \ + domain + name uniquely identifies the resource.\n+optional - in certain\ - \ contexts - like 'List API', 'Launch plans'" - org: - type: "string" - description: "Optional, org key applied to the resource." - description: "Encapsulation of fields that identifies a Flyte resource.\nA Flyte\ - \ resource can be a task, workflow or launch plan.\nA resource can internally\ - \ have multiple versions and is uniquely identified\nby project, domain, and\ - \ name." - example: - org: "org" - domain: "domain" - name: "name" - project: "project" - adminNamedEntityIdentifierList: - type: "object" - properties: - entities: - type: "array" - description: "A list of identifiers." - items: - $ref: "#/definitions/adminNamedEntityIdentifier" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - description: "Represents a list of NamedEntityIdentifiers." - example: - entities: - - org: "org" - domain: "domain" - name: "name" - project: "project" - - org: "org" - domain: "domain" - name: "name" - project: "project" - token: "token" - adminNamedEntityList: - type: "object" - properties: - entities: - type: "array" - title: "A list of NamedEntity objects" - items: - $ref: "#/definitions/adminNamedEntity" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - description: "Represents a list of NamedEntityIdentifiers." - example: - entities: - - metadata: - description: "description" - state: {} - resource_type: {} - id: - org: "org" - domain: "domain" - name: "name" - project: "project" - - metadata: - description: "description" - state: {} - resource_type: {} - id: - org: "org" - domain: "domain" - name: "name" - project: "project" - token: "token" - adminNamedEntityMetadata: - type: "object" - properties: - description: - type: "string" - title: "Common description across all versions of the entity\n+optional" - state: - description: "Shared state across all version of the entity\nAt this point\ - \ in time, only workflow entities can have their state archived." - $ref: "#/definitions/adminNamedEntityState" - description: "Additional metadata around a named entity." - example: - description: "description" - state: {} - adminNamedEntityState: - type: "string" - description: "The status of the named entity is used to control its visibility\ - \ in the UI.\n\n - NAMED_ENTITY_ACTIVE: By default, all named entities are considered\ - \ active and under development.\n - NAMED_ENTITY_ARCHIVED: Archived named entities\ - \ are no longer visible in the UI.\n - SYSTEM_GENERATED: System generated entities\ - \ that aren't explicitly created or managed by a user." - enum: - - "NAMED_ENTITY_ACTIVE" - - "NAMED_ENTITY_ARCHIVED" - - "SYSTEM_GENERATED" - default: "NAMED_ENTITY_ACTIVE" - adminNamedEntityUpdateRequest: - type: "object" - properties: - resource_type: - title: "Resource type of the metadata to update\n+required" - $ref: "#/definitions/coreResourceType" - id: - title: "Identifier of the metadata to update\n+required" - $ref: "#/definitions/adminNamedEntityIdentifier" - metadata: - title: "Metadata object to set as the new value\n+required" - $ref: "#/definitions/adminNamedEntityMetadata" - description: "Request to set the referenced named entity state to the configured\ - \ value." - adminNamedEntityUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminNodeExecutionClosure: - type: "object" - properties: - output_uri: - type: "string" - description: "Links to a remotely stored, serialized core.LiteralMap of node\ - \ execution outputs.\nDEPRECATED. Use GetNodeExecutionData to fetch output\ - \ data instead." - error: - title: "Error information for the Node" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this node execution.\nDEPRECATED.\ - \ Use GetNodeExecutionData to fetch output data instead." - $ref: "#/definitions/coreLiteralMap" - phase: - description: "The last recorded phase for this node execution." - $ref: "#/definitions/coreNodeExecutionPhase" - started_at: - type: "string" - format: "date-time" - description: "Time at which the node execution began running." - duration: - type: "string" - description: "The amount of time the node execution spent running." - created_at: - type: "string" - format: "date-time" - description: "Time at which the node execution was created." - updated_at: - type: "string" - format: "date-time" - description: "Time at which the node execution was last updated." - workflow_node_metadata: - $ref: "#/definitions/flyteidladminWorkflowNodeMetadata" - task_node_metadata: - $ref: "#/definitions/flyteidladminTaskNodeMetadata" - deck_uri: - type: "string" - title: "String location uniquely identifying where the deck HTML file is.\n\ - NativeUrl specifies the url in the format of the configured storage provider\ - \ (e.g. s3://my-bucket/randomstring/suffix.tar)" - dynamic_job_spec_uri: - type: "string" - description: "dynamic_job_spec_uri is the location of the DynamicJobSpec proto\ - \ message for a DynamicWorkflow. This is required\nto correctly recover\ - \ partially completed executions where the subworkflow has already been\ - \ compiled." - description: "Container for node execution details and results." - example: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - org: "org" - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - checkpoint_uri: "checkpoint_uri" - cache_status: {} - dynamic_job_spec_uri: "dynamic_job_spec_uri" - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - adminNodeExecutionEventRequest: - type: "object" - properties: - request_id: - type: "string" - title: "Unique ID for this request that can be traced between services" - event: - description: "Details about the event that occurred." - $ref: "#/definitions/eventNodeExecutionEvent" - description: "Request to send a notification that a node execution event has occurred." - adminNodeExecutionEventResponse: - type: "object" - adminNodeExecutionGetDataResponse: - type: "object" - properties: - inputs: - description: "Signed url to fetch a core.LiteralMap of node execution inputs.\n\ - Deprecated: Please use full_inputs instead." - $ref: "#/definitions/adminUrlBlob" - outputs: - description: "Signed url to fetch a core.LiteralMap of node execution outputs.\n\ - Deprecated: Please use full_outputs instead." - $ref: "#/definitions/adminUrlBlob" - full_inputs: - description: "Full_inputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - full_outputs: - description: "Full_outputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - dynamic_workflow: - description: "Optional Workflow closure for a dynamically generated workflow,\ - \ in the case this node yields a dynamic workflow we return its structure\ - \ here." - $ref: "#/definitions/flyteidladminDynamicWorkflowNodeMetadata" - flyte_urls: - $ref: "#/definitions/adminFlyteURLs" - description: "Response structure for NodeExecutionGetDataRequest which contains\ - \ inputs and outputs for a node execution." - example: - outputs: - bytes: "bytes" - url: "url" - flyte_urls: - outputs: "outputs" - inputs: "inputs" - deck: "deck" - full_inputs: - literals: {} - dynamic_workflow: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - dynamic_job_spec_uri: "dynamic_job_spec_uri" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - inputs: - bytes: "bytes" - url: "url" - full_outputs: - literals: {} - adminNodeExecutionList: - type: "object" - properties: - node_executions: - type: "array" - items: - $ref: "#/definitions/flyteidladminNodeExecution" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Request structure to retrieve a list of node execution entities.\nSee\ - \ :ref:`ref_flyteidl.admin.NodeExecution` for more details" - example: - node_executions: - - metadata: - retry_group: "retry_group" - is_parent_node: true - is_array: true - spec_node_id: "spec_node_id" - is_dynamic: true - input_uri: "input_uri" - id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - closure: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - org: "org" - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - checkpoint_uri: "checkpoint_uri" - cache_status: {} - dynamic_job_spec_uri: "dynamic_job_spec_uri" - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - - metadata: - retry_group: "retry_group" - is_parent_node: true - is_array: true - spec_node_id: "spec_node_id" - is_dynamic: true - input_uri: "input_uri" - id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - closure: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - org: "org" - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - checkpoint_uri: "checkpoint_uri" - cache_status: {} - dynamic_job_spec_uri: "dynamic_job_spec_uri" - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - token: "token" - adminNodeExecutionMetaData: - type: "object" - properties: - retry_group: - type: "string" - description: "Node executions are grouped depending on retries of the parent\n\ - Retry group is unique within the context of a parent node." - is_parent_node: - type: "boolean" - format: "boolean" - description: "Boolean flag indicating if the node has child nodes under it\n\ - This can be true when a node contains a dynamic workflow which then produces\n\ - child nodes." - spec_node_id: - type: "string" - title: "Node id of the node in the original workflow\nThis maps to value of\ - \ WorkflowTemplate.nodes[X].id" - is_dynamic: - type: "boolean" - format: "boolean" - description: "Boolean flag indicating if the node has contains a dynamic workflow\ - \ which then produces child nodes.\nThis is to distinguish between subworkflows\ - \ and dynamic workflows which can both have is_parent_node as true." - is_array: - type: "boolean" - format: "boolean" - description: "Boolean flag indicating if the node is an array node. This is\ - \ intended to uniquely identify\narray nodes from other nodes which can\ - \ have is_parent_node as true." - title: "Represents additional attributes related to a Node Execution" - example: - retry_group: "retry_group" - is_parent_node: true - is_array: true - spec_node_id: "spec_node_id" - is_dynamic: true - adminNotification: - type: "object" - properties: - phases: - type: "array" - title: "A list of phases to which users can associate the notifications to.\n\ - +required" - items: - $ref: "#/definitions/coreWorkflowExecutionPhase" - email: - $ref: "#/definitions/adminEmailNotification" - pager_duty: - $ref: "#/definitions/adminPagerDutyNotification" - slack: - $ref: "#/definitions/adminSlackNotification" - description: "Represents a structure for notifications based on execution status.\n\ - The notification content is configured within flyte admin but can be templatized.\n\ - Future iterations could expose configuring notifications with custom content." - example: - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminNotificationList: - type: "object" - properties: - notifications: - type: "array" - items: - $ref: "#/definitions/adminNotification" - example: - notifications: - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - - pager_duty: - recipients_email: - - "recipients_email" - - "recipients_email" - slack: - recipients_email: - - "recipients_email" - - "recipients_email" - phases: - - {} - - {} - email: - recipients_email: - - "recipients_email" - - "recipients_email" - adminPagerDutyNotification: - type: "object" - properties: - recipients_email: - type: "array" - title: "Currently, PagerDuty notifications leverage email to trigger a notification.\n\ - +required" - items: - type: "string" - description: "Defines a pager duty notification specification." - example: - recipients_email: - - "recipients_email" - - "recipients_email" - adminPluginOverride: - type: "object" - properties: - task_type: - type: "string" - description: "A predefined yet extensible Task type identifier." - plugin_id: - type: "array" - description: "A set of plugin ids which should handle tasks of this type instead\ - \ of the default registered plugin. The list will be tried in order until\ - \ a plugin is found with that id." - items: - type: "string" - missing_plugin_behavior: - description: "Defines the behavior when no plugin from the plugin_id list\ - \ is not found." - $ref: "#/definitions/PluginOverrideMissingPluginBehavior" - description: "This MatchableAttribute configures selecting alternate plugin implementations\ - \ for a given task type.\nIn addition to an override implementation a selection\ - \ of fallbacks can be provided or other modes\nfor handling cases where the\ - \ desired plugin override is not enabled in a given Flyte deployment." - example: - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminPluginOverrides: - type: "object" - properties: - overrides: - type: "array" - items: - $ref: "#/definitions/adminPluginOverride" - example: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProject: - type: "object" - properties: - id: - type: "string" - description: "Globally unique project name." - name: - type: "string" - description: "Display name." - domains: - type: "array" - items: - $ref: "#/definitions/adminDomain" - description: - type: "string" - labels: - description: "Leverage Labels from flyteidl.admin.common.proto to\ntag projects\ - \ with ownership information." - $ref: "#/definitions/adminLabels" - state: - $ref: "#/definitions/ProjectProjectState" - org: - type: "string" - description: "Optional, org key applied to the resource." - description: "Top-level namespace used to classify different entities like workflows\ - \ and executions." - example: - org: "org" - name: "name" - domains: - - name: "name" - id: "id" - - name: "name" - id: "id" - description: "description" - id: "id" - state: {} - labels: - values: - key: "values" - adminProjectAttributes: - type: "object" - properties: - project: - type: "string" - description: "Unique project id for which this set of attributes will be applied." - matching_attributes: - $ref: "#/definitions/adminMatchingAttributes" - org: - type: "string" - description: "Optional, org key applied to the project." - title: "Defines a set of custom matching attributes at the project level.\nFor\ - \ more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - org: "org" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProjectAttributesDeleteRequest: - type: "object" - properties: - project: - type: "string" - title: "Unique project id which this set of attributes references.\n+required" - resource_type: - title: "Which type of matchable attributes to delete.\n+required" - $ref: "#/definitions/adminMatchableResource" - org: - type: "string" - description: "Optional, org key applied to the project." - title: "Request to delete a set matchable project level attribute override.\n\ - For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminProjectAttributesDeleteResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminProjectAttributesGetResponse: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminProjectAttributes" - title: "Response to get an individual project level attribute override.\nFor more\ - \ info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - attributes: - org: "org" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProjectAttributesUpdateRequest: - type: "object" - properties: - attributes: - title: "+required" - $ref: "#/definitions/adminProjectAttributes" - title: "Sets custom attributes for a project\nFor more info on matchable attributes,\ - \ see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminProjectAttributesUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminProjectDomainAttributes: - type: "object" - properties: - project: - type: "string" - description: "Unique project id for which this set of attributes will be applied." - domain: - type: "string" - description: "Unique domain id for which this set of attributes will be applied." - matching_attributes: - $ref: "#/definitions/adminMatchingAttributes" - org: - type: "string" - description: "Optional, org key applied to the attributes." - title: "Defines a set of custom matching attributes which defines resource defaults\ - \ for a project and domain.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - org: "org" - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProjectDomainAttributesDeleteRequest: - type: "object" - properties: - project: - type: "string" - title: "Unique project id which this set of attributes references.\n+required" - domain: - type: "string" - title: "Unique domain id which this set of attributes references.\n+required" - resource_type: - title: "Which type of matchable attributes to delete.\n+required" - $ref: "#/definitions/adminMatchableResource" - org: - type: "string" - description: "Optional, org key applied to the attributes." - title: "Request to delete a set matchable project domain attribute override.\n\ - For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminProjectDomainAttributesDeleteResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminProjectDomainAttributesGetResponse: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminProjectDomainAttributes" - title: "Response to get an individual project domain attribute override.\nFor\ - \ more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - attributes: - org: "org" - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminProjectDomainAttributesUpdateRequest: - type: "object" - properties: - attributes: - title: "+required" - $ref: "#/definitions/adminProjectDomainAttributes" - title: "Sets custom attributes for a project-domain combination.\nFor more info\ - \ on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminProjectDomainAttributesUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminProjectRegisterRequest: - type: "object" - properties: - project: - title: "+required" - $ref: "#/definitions/adminProject" - title: "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project`\ - \ for more details" - adminProjectRegisterResponse: - type: "object" - description: "Purposefully empty, may be updated in the future." - adminProjectUpdateResponse: - type: "object" - description: "Purposefully empty, may be updated in the future." - adminProjects: - type: "object" - properties: - projects: - type: "array" - items: - $ref: "#/definitions/adminProject" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Represents a list of projects.\nSee :ref:`ref_flyteidl.admin.Project`\ - \ for more details" - example: - projects: - - org: "org" - name: "name" - domains: - - name: "name" - id: "id" - - name: "name" - id: "id" - description: "description" - id: "id" - state: {} - labels: - values: - key: "values" - - org: "org" - name: "name" - domains: - - name: "name" - id: "id" - - name: "name" - id: "id" - description: "description" - id: "id" - state: {} - labels: - values: - key: "values" - token: "token" - adminRawOutputDataConfig: - type: "object" - properties: - output_location_prefix: - type: "string" - title: "Prefix for where offloaded data from user workflows will be written\n\ - e.g. s3://bucket/key or s3://bucket/" - description: "Encapsulates user settings pertaining to offloaded data (i.e. Blobs,\ - \ Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211\ - \ for more background information." - example: - output_location_prefix: "output_location_prefix" - adminReason: - type: "object" - properties: - occurred_at: - type: "string" - format: "date-time" - description: "occurred_at is the timestamp indicating the instant that this\ - \ reason happened." - message: - type: "string" - description: "message is the explanation for the most recent phase transition\ - \ or status update." - description: "Reason is a single message annotated with a timestamp to indicate\ - \ the instant the reason occurred." - example: - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - adminSchedule: - type: "object" - properties: - cron_expression: - type: "string" - title: "Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year\n\ - e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" - rate: - $ref: "#/definitions/adminFixedRate" - cron_schedule: - $ref: "#/definitions/adminCronSchedule" - kickoff_time_input_arg: - type: "string" - description: "Name of the input variable that the kickoff time will be supplied\ - \ to when the workflow is kicked off." - description: "Defines complete set of information required to trigger an execution\ - \ on a schedule." - example: - kickoff_time_input_arg: "kickoff_time_input_arg" - cron_schedule: - schedule: "schedule" - offset: "offset" - cron_expression: "cron_expression" - rate: - unit: {} - value: 0 - adminSlackNotification: - type: "object" - properties: - recipients_email: - type: "array" - title: "Currently, Slack notifications leverage email to trigger a notification.\n\ - +required" - items: - type: "string" - description: "Defines a slack notification specification." - example: - recipients_email: - - "recipients_email" - - "recipients_email" - adminSort: - type: "object" - properties: - key: - type: "string" - title: "Indicates an attribute to sort the response values.\n+required" - direction: - title: "Indicates the direction to apply sort key for response values.\n+optional" - $ref: "#/definitions/SortDirection" - description: "Specifies sort ordering in a list request." - adminSourceCode: - type: "object" - properties: - link: - type: "string" - title: "Link to source code used to define this entity" - example: - link: "link" - adminSystemMetadata: - type: "object" - properties: - execution_cluster: - type: "string" - description: "Which execution cluster this execution ran on." - namespace: - type: "string" - description: "Which kubernetes namespace the execution ran under." - description: "Represents system, rather than user-facing, metadata about an execution." - example: - execution_cluster: "execution_cluster" - namespace: "namespace" - adminTask: - type: "object" - properties: - id: - description: "id represents the unique identifier of the task." - $ref: "#/definitions/coreIdentifier" - closure: - description: "closure encapsulates all the fields that maps to a compiled\ - \ version of the task." - $ref: "#/definitions/adminTaskClosure" - short_description: - type: "string" - description: "One-liner overview of the entity." - description: "Flyte workflows are composed of many ordered tasks. That is small,\ - \ reusable, self-contained logical blocks\narranged to process workflow inputs\ - \ and produce a deterministic set of outputs.\nTasks can come in many varieties\ - \ tuned for specialized behavior." - example: - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - adminTaskClosure: - type: "object" - properties: - compiled_task: - description: "Represents the compiled representation of the task from the\ - \ specification provided." - $ref: "#/definitions/coreCompiledTask" - created_at: - type: "string" - format: "date-time" - description: "Time at which the task was created." - description: "Compute task attributes which include values derived from the TaskSpec,\ - \ as well as plugin-specific data\nand task metadata." - example: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - adminTaskExecutionClosure: - type: "object" - properties: - output_uri: - type: "string" - description: "Path to remote data store where output blob is stored if the\ - \ execution succeeded (and produced outputs).\nDEPRECATED. Use GetTaskExecutionData\ - \ to fetch output data instead." - error: - description: "Error information for the task execution. Populated if the execution\ - \ failed." - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this task execution.\nDEPRECATED.\ - \ Use GetTaskExecutionData to fetch output data instead." - $ref: "#/definitions/coreLiteralMap" - phase: - description: "The last recorded phase for this task execution." - $ref: "#/definitions/coreTaskExecutionPhase" - logs: - type: "array" - description: "Detailed log information output by the task execution." - items: - $ref: "#/definitions/coreTaskLog" - started_at: - type: "string" - format: "date-time" - description: "Time at which the task execution began running." - duration: - type: "string" - description: "The amount of time the task execution spent running." - created_at: - type: "string" - format: "date-time" - description: "Time at which the task execution was created." - updated_at: - type: "string" - format: "date-time" - description: "Time at which the task execution was last updated." - custom_info: - description: "Custom data specific to the task plugin." - $ref: "#/definitions/protobufStruct" - reason: - type: "string" - description: "If there is an explanation for the most recent phase transition,\ - \ the reason will capture it." - task_type: - type: "string" - description: "A predefined yet extensible Task type identifier." - metadata: - description: "Metadata around how a task was executed." - $ref: "#/definitions/flyteidleventTaskExecutionMetadata" - event_version: - type: "integer" - format: "int32" - description: "The event version is used to indicate versioned changes in how\ - \ data is maintained using this\nproto message. For example, event_verison\ - \ > 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo\ - \ fields for each subtask rather than the TaskLog\nin this message." - reasons: - type: "array" - description: "A time-series of the phase transition or update explanations.\ - \ This, when compared to storing a singular reason\nas previously done,\ - \ is much more valuable in visualizing and understanding historical evaluations." - items: - $ref: "#/definitions/adminReason" - description: "Container for task execution details and results." - example: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - reasons: - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - adminTaskExecutionEventRequest: - type: "object" - properties: - request_id: - type: "string" - title: "Unique ID for this request that can be traced between services" - event: - description: "Details about the event that occurred." - $ref: "#/definitions/eventTaskExecutionEvent" - description: "Request to send a notification that a task execution event has occurred." - adminTaskExecutionEventResponse: - type: "object" - adminTaskExecutionGetDataResponse: - type: "object" - properties: - inputs: - description: "Signed url to fetch a core.LiteralMap of task execution inputs.\n\ - Deprecated: Please use full_inputs instead." - $ref: "#/definitions/adminUrlBlob" - outputs: - description: "Signed url to fetch a core.LiteralMap of task execution outputs.\n\ - Deprecated: Please use full_outputs instead." - $ref: "#/definitions/adminUrlBlob" - full_inputs: - description: "Full_inputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - full_outputs: - description: "Full_outputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - flyte_urls: - title: "flyte tiny url to fetch a core.LiteralMap of task execution's IO\n\ - Deck will be empty for task" - $ref: "#/definitions/adminFlyteURLs" - description: "Response structure for TaskExecutionGetDataRequest which contains\ - \ inputs and outputs for a task execution." - example: - outputs: - bytes: "bytes" - url: "url" - flyte_urls: - outputs: "outputs" - inputs: "inputs" - deck: "deck" - full_inputs: - literals: {} - inputs: - bytes: "bytes" - url: "url" - full_outputs: - literals: {} - adminTaskExecutionList: - type: "object" - properties: - task_executions: - type: "array" - items: - $ref: "#/definitions/flyteidladminTaskExecution" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Response structure for a query to list of task execution entities.\nSee\ - \ :ref:`ref_flyteidl.admin.TaskExecution` for more details" - example: - task_executions: - - input_uri: "input_uri" - id: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - is_parent: true - closure: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - reasons: - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - input_uri: "input_uri" - id: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - is_parent: true - closure: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - reasons: - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - token: "token" - adminTaskList: - type: "object" - properties: - tasks: - type: "array" - description: "A list of tasks returned based on the request." - items: - $ref: "#/definitions/adminTask" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Represents a list of tasks returned from the admin.\nSee :ref:`ref_flyteidl.admin.Task`\ - \ for more details" - example: - tasks: - - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - created_at: "2000-01-23T04:56:07.000+00:00" - compiled_task: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - token: "token" - adminTaskResourceAttributes: - type: "object" - properties: - defaults: - $ref: "#/definitions/adminTaskResourceSpec" - limits: - $ref: "#/definitions/adminTaskResourceSpec" - description: "Defines task resource defaults and limits that will be applied at\ - \ task registration." - example: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - adminTaskResourceSpec: - type: "object" - properties: - cpu: - type: "string" - gpu: - type: "string" - memory: - type: "string" - storage: - type: "string" - ephemeral_storage: - type: "string" - description: "Defines a set of overridable task resource attributes set during\ - \ task registration." - example: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - adminTaskSpec: - type: "object" - properties: - template: - description: "Template of the task that encapsulates all the metadata of the\ - \ task." - $ref: "#/definitions/coreTaskTemplate" - description: - description: "Represents the specification for description entity." - $ref: "#/definitions/adminDescriptionEntity" - description: "Represents a structure that encapsulates the user-configured specification\ - \ of the task." - adminUrlBlob: - type: "object" - properties: - url: - type: "string" - description: "Actual url value." - bytes: - type: "string" - format: "int64" - description: "Represents the size of the file accessible at the above url." - description: "Represents a string url and associated metadata used throughout\ - \ the platform." - example: - bytes: "bytes" - url: "url" - adminVersion: - type: "object" - properties: - Build: - type: "string" - title: "Specifies the GIT sha of the build" - Version: - type: "string" - title: "Version for the build, should follow a semver" - BuildTime: - type: "string" - title: "Build timestamp" - title: "Provides Version information for a component" - example: - Version: "Version" - Build: "Build" - BuildTime: "BuildTime" - adminWorkflow: - type: "object" - properties: - id: - description: "id represents the unique identifier of the workflow." - $ref: "#/definitions/coreIdentifier" - closure: - description: "closure encapsulates all the fields that maps to a compiled\ - \ version of the workflow." - $ref: "#/definitions/adminWorkflowClosure" - short_description: - type: "string" - description: "One-liner overview of the entity." - description: "Represents the workflow structure stored in the Admin\nA workflow\ - \ is created by ordering tasks and associating outputs to inputs\nin order to\ - \ produce a directed-acyclic execution graph." - example: - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - adminWorkflowAttributes: - type: "object" - properties: - project: - type: "string" - description: "Unique project id for which this set of attributes will be applied." - domain: - type: "string" - description: "Unique domain id for which this set of attributes will be applied." - workflow: - type: "string" - description: "Workflow name for which this set of attributes will be applied." - matching_attributes: - $ref: "#/definitions/adminMatchingAttributes" - org: - type: "string" - description: "Optional, org key applied to the attributes." - title: "Defines a set of custom matching attributes which defines resource defaults\ - \ for a project, domain and workflow.\nFor more info on matchable attributes,\ - \ see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - example: - workflow: "workflow" - org: "org" - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminWorkflowAttributesDeleteRequest: - type: "object" - properties: - project: - type: "string" - title: "Unique project id which this set of attributes references.\n+required" - domain: - type: "string" - title: "Unique domain id which this set of attributes references.\n+required" - workflow: - type: "string" - title: "Workflow name which this set of attributes references.\n+required" - resource_type: - title: "Which type of matchable attributes to delete.\n+required" - $ref: "#/definitions/adminMatchableResource" - org: - type: "string" - description: "Optional, org key applied to the attributes." - title: "Request to delete a set matchable workflow attribute override.\nFor more\ - \ info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminWorkflowAttributesDeleteResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminWorkflowAttributesGetResponse: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminWorkflowAttributes" - description: "Response to get an individual workflow attribute override." - example: - attributes: - workflow: "workflow" - org: "org" - domain: "domain" - project: "project" - matching_attributes: - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - workflow_execution_config: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - cluster_assignment: - cluster_pool_name: "cluster_pool_name" - cluster_resource_attributes: - attributes: - key: "attributes" - execution_queue_attributes: - tags: - - "tags" - - "tags" - task_resource_attributes: - defaults: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - limits: - memory: "memory" - cpu: "cpu" - ephemeral_storage: "ephemeral_storage" - storage: "storage" - gpu: "gpu" - execution_cluster_label: - value: "value" - plugin_overrides: - overrides: - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - - plugin_id: - - "plugin_id" - - "plugin_id" - missing_plugin_behavior: {} - task_type: "task_type" - adminWorkflowAttributesUpdateRequest: - type: "object" - properties: - attributes: - $ref: "#/definitions/adminWorkflowAttributes" - title: "Sets custom attributes for a project, domain and workflow combination.\n\ - For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" - adminWorkflowAttributesUpdateResponse: - type: "object" - description: "Purposefully empty, may be populated in the future." - adminWorkflowClosure: - type: "object" - properties: - compiled_workflow: - description: "Represents the compiled representation of the workflow from\ - \ the specification provided." - $ref: "#/definitions/coreCompiledWorkflowClosure" - created_at: - type: "string" - format: "date-time" - description: "Time at which the workflow was created." - description: "A container holding the compiled workflow produced from the WorkflowSpec\ - \ and additional metadata." - example: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - adminWorkflowCreateRequest: - type: "object" - properties: - id: - title: "id represents the unique identifier of the workflow.\n+required" - $ref: "#/definitions/coreIdentifier" - spec: - title: "Represents the specification for workflow.\n+required" - $ref: "#/definitions/adminWorkflowSpec" - title: "Represents a request structure to create a revision of a workflow.\nSee\ - \ :ref:`ref_flyteidl.admin.Workflow` for more details" - adminWorkflowCreateResponse: - type: "object" - adminWorkflowExecutionConfig: - type: "object" - properties: - max_parallelism: - type: "integer" - format: "int32" - description: "Can be used to control the number of parallel nodes to run within\ - \ the workflow. This is useful to achieve fairness." - security_context: - description: "Indicates security context permissions for executions triggered\ - \ with this matchable attribute." - $ref: "#/definitions/coreSecurityContext" - raw_output_data_config: - description: "Encapsulates user settings pertaining to offloaded data (i.e.\ - \ Blobs, Schema, query data, etc.)." - $ref: "#/definitions/adminRawOutputDataConfig" - labels: - description: "Custom labels to be applied to a triggered execution resource." - $ref: "#/definitions/adminLabels" - annotations: - description: "Custom annotations to be applied to a triggered execution resource." - $ref: "#/definitions/adminAnnotations" - interruptible: - type: "boolean" - format: "boolean" - description: "Allows for the interruptible flag of a workflow to be overwritten\ - \ for a single execution.\nOmitting this field uses the workflow's value\ - \ as a default.\nAs we need to distinguish between the field not being provided\ - \ and its default value false, we have to use a wrapper\naround the bool\ - \ field." - overwrite_cache: - type: "boolean" - format: "boolean" - description: "Allows for all cached values of a workflow and its tasks to\ - \ be overwritten for a single execution.\nIf enabled, all calculations are\ - \ performed even if cached results would be available, overwriting the stored\n\ - data once execution finishes successfully." - envs: - description: "Environment variables to be set for the execution." - $ref: "#/definitions/adminEnvs" - description: "Adds defaults for customizable workflow-execution specifications\ - \ and overrides." - example: - overwrite_cache: true - raw_output_data_config: - output_location_prefix: "output_location_prefix" - max_parallelism: 0 - annotations: - values: - key: "values" - envs: - values: - - value: "value" - key: "key" - - value: "value" - key: "key" - interruptible: true - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - labels: - values: - key: "values" - adminWorkflowExecutionEventRequest: - type: "object" - properties: - request_id: - type: "string" - title: "Unique ID for this request that can be traced between services" - event: - description: "Details about the event that occurred." - $ref: "#/definitions/eventWorkflowExecutionEvent" - description: "Request to send a notification that a workflow execution event has\ - \ occurred." - adminWorkflowExecutionEventResponse: - type: "object" - adminWorkflowExecutionGetDataResponse: - type: "object" - properties: - outputs: - description: "Signed url to fetch a core.LiteralMap of execution outputs.\n\ - Deprecated: Please use full_outputs instead." - $ref: "#/definitions/adminUrlBlob" - inputs: - description: "Signed url to fetch a core.LiteralMap of execution inputs.\n\ - Deprecated: Please use full_inputs instead." - $ref: "#/definitions/adminUrlBlob" - full_inputs: - description: "Full_inputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - full_outputs: - description: "Full_outputs will only be populated if they are under a configured\ - \ size threshold." - $ref: "#/definitions/coreLiteralMap" - description: "Response structure for WorkflowExecutionGetDataRequest which contains\ - \ inputs and outputs for an execution." - example: - outputs: - bytes: "bytes" - url: "url" - full_inputs: - literals: {} - inputs: - bytes: "bytes" - url: "url" - full_outputs: - literals: {} - adminWorkflowExecutionGetMetricsResponse: - type: "object" - properties: - span: - description: "Span defines the top-level breakdown of the workflows execution.\ - \ More precise information is nested in a\nhierarchical structure using\ - \ Flyte entity references." - $ref: "#/definitions/coreSpan" - description: "WorkflowExecutionGetMetricsResponse represents the response containing\ - \ metrics for the specified workflow execution." - example: - span: - start_time: "2000-01-23T04:56:07.000+00:00" - spans: - - null - - null - workflow_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - end_time: "2000-01-23T04:56:07.000+00:00" - task_id: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - operation_id: "operation_id" - node_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - adminWorkflowList: - type: "object" - properties: - workflows: - type: "array" - description: "A list of workflows returned based on the request." - items: - $ref: "#/definitions/adminWorkflow" - token: - type: "string" - description: "In the case of multiple pages of results, the server-provided\ - \ token can be used to fetch the next page\nin a query. If there are no\ - \ more results, this value will be empty." - title: "Represents a list of workflows returned from the admin.\nSee :ref:`ref_flyteidl.admin.Workflow`\ - \ for more details" - example: - workflows: - - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - - short_description: "short_description" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - closure: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - created_at: "2000-01-23T04:56:07.000+00:00" - token: "token" - adminWorkflowSpec: - type: "object" - properties: - template: - description: "Template of the task that encapsulates all the metadata of the\ - \ workflow." - $ref: "#/definitions/coreWorkflowTemplate" - sub_workflows: - type: "array" - description: "Workflows that are embedded into other workflows need to be\ - \ passed alongside the parent workflow to the\npropeller compiler (since\ - \ the compiler doesn't have any knowledge of other workflows - ie, it doesn't\ - \ reach out\nto Admin to see other registered workflows). In fact, subworkflows\ - \ do not even need to be registered." - items: - $ref: "#/definitions/coreWorkflowTemplate" - description: - description: "Represents the specification for description entity." - $ref: "#/definitions/adminDescriptionEntity" - description: "Represents a structure that encapsulates the specification of the\ - \ workflow." - coreAlias: - type: "object" - properties: - var: - type: "string" - description: "Must match one of the output variable names on a node." - alias: - type: "string" - description: "A workflow-level unique alias that downstream nodes can refer\ - \ to in their input." - description: "Links a variable to an alias." - example: - var: "var" - alias: "alias" - coreApproveCondition: - type: "object" - properties: - signal_id: - type: "string" - description: "A unique identifier for the requested boolean signal." - description: "ApproveCondition represents a dependency on an external approval.\ - \ During execution, this will manifest as a boolean\nsignal with the provided\ - \ signal_id." - example: - signal_id: "signal_id" - coreArrayNode: - type: "object" - properties: - node: - description: "node is the sub-node that will be executed for each element\ - \ in the array." - $ref: "#/definitions/coreNode" - parallelism: - type: "integer" - format: "int64" - description: "parallelism defines the minimum number of instances to bring\ - \ up concurrently at any given\npoint. Note that this is an optimistic restriction\ - \ and that, due to network partitioning or\nother failures, the actual number\ - \ of currently running instances might be more. This has to\nbe a positive\ - \ number if assigned. Default value is size." - min_successes: - type: "integer" - format: "int64" - description: "min_successes is an absolute number of the minimum number of\ - \ successful completions of\nsub-nodes. As soon as this criteria is met,\ - \ the ArrayNode will be marked as successful\nand outputs will be computed.\ - \ This has to be a non-negative number if assigned. Default\nvalue is size\ - \ (if specified)." - min_success_ratio: - type: "number" - format: "float" - description: "If the array job size is not known beforehand, the min_success_ratio\ - \ can instead be used\nto determine when an ArrayNode can be marked successful." - description: "ArrayNode is a Flyte node type that simplifies the execution of\ - \ a sub-node over a list of input\nvalues. An ArrayNode can be executed with\ - \ configurable parallelism (separate from the parent\nworkflow) and can be configured\ - \ to succeed when a certain number of sub-nodes succeed." - example: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - coreArtifactBindingData: - type: "object" - properties: - index: - type: "integer" - format: "int64" - partition_key: - type: "string" - bind_to_time_partition: - type: "boolean" - format: "boolean" - transform: - type: "string" - title: "This is only relevant in the time partition case" - title: "Only valid for triggers" - example: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - coreArtifactID: - type: "object" - properties: - artifact_key: - $ref: "#/definitions/coreArtifactKey" - version: - type: "string" - partitions: - description: "Think of a partition as a tag on an Artifact, except it's a\ - \ key-value pair.\nDifferent partitions naturally have different versions\ - \ (execution ids)." - $ref: "#/definitions/corePartitions" - time_partition: - description: "There is no such thing as an empty time partition - if it's\ - \ not set, then there is no time partition." - $ref: "#/definitions/coreTimePartition" - example: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreArtifactKey: - type: "object" - properties: - project: - type: "string" - description: "Project and domain and suffix needs to be unique across a given\ - \ artifact store." - domain: - type: "string" - name: - type: "string" - example: - domain: "domain" - name: "name" - project: "project" - coreArtifactQuery: - type: "object" - properties: - artifact_id: - $ref: "#/definitions/coreArtifactID" - artifact_tag: - $ref: "#/definitions/coreArtifactTag" - uri: - type: "string" - binding: - description: "This is used in the trigger case, where a user specifies a value\ - \ for an input that is one of the triggering\nartifacts, or a partition\ - \ value derived from a triggering artifact." - $ref: "#/definitions/coreArtifactBindingData" - title: "Uniqueness constraints for Artifacts\n - project, domain, name, version,\ - \ partitions\nOption 2 (tags are standalone, point to an individual artifact\ - \ id):\n - project, domain, name, alias (points to one partition if partitioned)\n\ - \ - project, domain, name, partition key, partition value" - example: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreArtifactTag: - type: "object" - properties: - artifact_key: - $ref: "#/definitions/coreArtifactKey" - value: - $ref: "#/definitions/coreLabelValue" - example: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreBinary: - type: "object" - properties: - value: - type: "string" - format: "byte" - pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" - tag: - type: "string" - description: "A simple byte array with a tag to help different parts of the system\ - \ communicate about what is in the byte array.\nIt's strongly advisable that\ - \ consumers of this type define a unique tag and validate the tag before parsing\ - \ the data." - example: - tag: "tag" - value: "value" - coreBinding: - type: "object" - properties: - var: - type: "string" - description: "Variable name must match an input/output variable of the node." - binding: - description: "Data to use to bind this variable." - $ref: "#/definitions/coreBindingData" - description: "An input/output binding of a variable to either static value or\ - \ a node output." - example: - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - coreBindingData: - type: "object" - properties: - scalar: - description: "A simple scalar value." - $ref: "#/definitions/coreScalar" - collection: - description: "A collection of binding data. This allows nesting of binding\ - \ data to any number\nof levels." - $ref: "#/definitions/coreBindingDataCollection" - promise: - description: "References an output promised by another node." - $ref: "#/definitions/coreOutputReference" - map: - description: "A map of bindings. The key is always a string." - $ref: "#/definitions/coreBindingDataMap" - union: - $ref: "#/definitions/coreUnionInfo" - description: "Specifies either a simple value or a reference to another output." - example: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - coreBindingDataCollection: - type: "object" - properties: - bindings: - type: "array" - items: - $ref: "#/definitions/coreBindingData" - description: "A collection of BindingData items." - example: - bindings: - - null - - null - coreBindingDataMap: - type: "object" - properties: - bindings: - type: "object" - additionalProperties: - $ref: "#/definitions/coreBindingData" - description: "A map of BindingData items." - example: - bindings: {} - coreBlob: - type: "object" - properties: - metadata: - $ref: "#/definitions/coreBlobMetadata" - uri: - type: "string" - description: "Refers to an offloaded set of files. It encapsulates the type of\ - \ the store and a unique uri for where the data is.\nThere are no restrictions\ - \ on how the uri is formatted since it will depend on how to interact with the\ - \ store." - example: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - coreBlobMetadata: - type: "object" - properties: - type: - $ref: "#/definitions/coreBlobType" - example: - type: - dimensionality: {} - format: "format" - coreBlobType: - type: "object" - properties: - format: - type: "string" - title: "Format can be a free form string understood by SDK/UI etc like\ncsv,\ - \ parquet etc" - dimensionality: - $ref: "#/definitions/BlobTypeBlobDimensionality" - title: "Defines type behavior for blob objects" - example: - dimensionality: {} - format: "format" - coreBooleanExpression: - type: "object" - properties: - conjunction: - $ref: "#/definitions/coreConjunctionExpression" - comparison: - $ref: "#/definitions/coreComparisonExpression" - description: "Defines a boolean expression tree. It can be a simple or a conjunction\ - \ expression.\nMultiple expressions can be combined using a conjunction or a\ - \ disjunction to result in a final boolean result." - example: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - coreBranchNode: - type: "object" - properties: - if_else: - title: "+required" - $ref: "#/definitions/coreIfElseBlock" - description: "BranchNode is a special node that alter the flow of the workflow\ - \ graph. It allows the control flow to branch at\nruntime based on a series\ - \ of conditions that get evaluated on various parameters (e.g. inputs, primitives)." - example: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - coreCatalogArtifactTag: - type: "object" - properties: - artifact_id: - type: "string" - title: "Artifact ID is generated name" - name: - type: "string" - title: "Flyte computes the tag automatically, as the hash of the values" - example: - name: "name" - artifact_id: "artifact_id" - coreCatalogCacheStatus: - type: "string" - title: "Indicates the status of CatalogCaching. The reason why this is not embedded\ - \ in TaskNodeMetadata is, that we may use for other types of nodes as well in\ - \ the future" - description: "- CACHE_DISABLED: Used to indicate that caching was disabled\n -\ - \ CACHE_MISS: Used to indicate that the cache lookup resulted in no matches\n\ - \ - CACHE_HIT: used to indicate that the associated artifact was a result of\ - \ a previous execution\n - CACHE_POPULATED: used to indicate that the resultant\ - \ artifact was added to the cache\n - CACHE_LOOKUP_FAILURE: Used to indicate\ - \ that cache lookup failed because of an error\n - CACHE_PUT_FAILURE: Used to\ - \ indicate that cache lookup failed because of an error\n - CACHE_SKIPPED: Used\ - \ to indicate the cache lookup was skipped\n - CACHE_EVICTED: Used to indicate\ - \ that the cache was evicted" - enum: - - "CACHE_DISABLED" - - "CACHE_MISS" - - "CACHE_HIT" - - "CACHE_POPULATED" - - "CACHE_LOOKUP_FAILURE" - - "CACHE_PUT_FAILURE" - - "CACHE_SKIPPED" - - "CACHE_EVICTED" - default: "CACHE_DISABLED" - coreCatalogMetadata: - type: "object" - properties: - dataset_id: - title: "Dataset ID in the catalog" - $ref: "#/definitions/coreIdentifier" - artifact_tag: - title: "Artifact tag in the catalog" - $ref: "#/definitions/coreCatalogArtifactTag" - source_task_execution: - title: "Today we only support TaskExecutionIdentifier as a source, as catalog\ - \ caching only works for task executions" - $ref: "#/definitions/coreTaskExecutionIdentifier" - title: "Catalog artifact information with specific metadata" - example: - source_task_execution: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - coreComparisonExpression: - type: "object" - properties: - operator: - $ref: "#/definitions/ComparisonExpressionOperator" - left_value: - $ref: "#/definitions/coreOperand" - right_value: - $ref: "#/definitions/coreOperand" - description: "Defines a 2-level tree where the root is a comparison operator and\ - \ Operands are primitives or known variables.\nEach expression results in a\ - \ boolean result." - example: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - coreCompiledTask: - type: "object" - properties: - template: - title: "Completely contained TaskTemplate" - $ref: "#/definitions/coreTaskTemplate" - title: "Output of the Compilation step. This object represent one Task. We store\ - \ more metadata at this layer" - example: - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - coreCompiledWorkflow: - type: "object" - properties: - template: - title: "Completely contained Workflow Template" - $ref: "#/definitions/coreWorkflowTemplate" - connections: - description: "For internal use only! This field is used by the system and\ - \ must not be filled in. Any values set will be ignored." - $ref: "#/definitions/coreConnectionSet" - title: "Output of the compilation Step. This object represents one workflow. We\ - \ store more metadata at this layer" - example: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - coreCompiledWorkflowClosure: - type: "object" - properties: - primary: - title: "+required" - $ref: "#/definitions/coreCompiledWorkflow" - sub_workflows: - type: "array" - title: "Guaranteed that there will only exist one and only one workflow with\ - \ a given id, i.e., every sub workflow has a\nunique identifier. Also every\ - \ enclosed subworkflow is used either by a primary workflow or by a subworkflow\n\ - as an inlined workflow\n+optional" - items: - $ref: "#/definitions/coreCompiledWorkflow" - tasks: - type: "array" - title: "Guaranteed that there will only exist one and only one task with a\ - \ given id, i.e., every task has a unique id\n+required (at least 1)" - items: - $ref: "#/definitions/coreCompiledTask" - description: "A Compiled Workflow Closure contains all the information required\ - \ to start a new execution, or to visualize a workflow\nand its details. The\ - \ CompiledWorkflowClosure should always contain a primary workflow, that is\ - \ the main workflow that\nwill being the execution. All subworkflows are denormalized.\ - \ WorkflowNodes refer to the workflow identifiers of\ncompiled subworkflows." - example: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - coreConjunctionExpression: - type: "object" - properties: - operator: - $ref: "#/definitions/ConjunctionExpressionLogicalOperator" - left_expression: - $ref: "#/definitions/coreBooleanExpression" - right_expression: - $ref: "#/definitions/coreBooleanExpression" - description: "Defines a conjunction expression of two boolean expressions." - example: - operator: {} - coreConnectionSet: - type: "object" - properties: - downstream: - type: "object" - title: "A list of all the node ids that are downstream from a given node id" - additionalProperties: - $ref: "#/definitions/ConnectionSetIdList" - upstream: - type: "object" - title: "A list of all the node ids, that are upstream of this node id" - additionalProperties: - $ref: "#/definitions/ConnectionSetIdList" - title: "Adjacency list for the workflow. This is created as part of the compilation\ - \ process. Every process after the compilation\nstep uses this created ConnectionSet" - example: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - coreContainer: - type: "object" - properties: - image: - type: "string" - title: "Container image url. Eg: docker/redis:latest" - command: - type: "array" - description: "Command to be executed, if not provided, the default entrypoint\ - \ in the container image will be used." - items: - type: "string" - args: - type: "array" - description: "These will default to Flyte given paths. If provided, the system\ - \ will not append known paths. If the task still\nneeds flyte's inputs and\ - \ outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes\ - \ sense and the\nsystem will populate these before executing the container." - items: - type: "string" - resources: - description: "Container resources requirement as specified by the container\ - \ engine." - $ref: "#/definitions/coreResources" - env: - type: "array" - description: "Environment variables will be set as the container is starting\ - \ up." - items: - $ref: "#/definitions/coreKeyValuePair" - config: - type: "array" - description: "Allows extra configs to be available for the container.\nTODO:\ - \ elaborate on how configs will become available.\nDeprecated, please use\ - \ TaskTemplate.config instead." - items: - $ref: "#/definitions/coreKeyValuePair" - ports: - type: "array" - title: "Ports to open in the container. This feature is not supported by all\ - \ execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\n\ - Only K8s" - items: - $ref: "#/definitions/coreContainerPort" - data_config: - title: "BETA: Optional configuration for DataLoading. If not specified, then\ - \ default values are used.\nThis makes it possible to to run a completely\ - \ portable container, that uses inputs and outputs\nonly from the local\ - \ file-system and without having any reference to flyteidl. This is supported\ - \ only on K8s at the moment.\nIf data loading is enabled, then data will\ - \ be mounted in accompanying directories specified in the DataLoadingConfig.\ - \ If the directories\nare not specified, inputs will be mounted onto and\ - \ outputs will be uploaded from a pre-determined file-system path. Refer\ - \ to the documentation\nto understand the default paths.\nOnly K8s" - $ref: "#/definitions/coreDataLoadingConfig" - architecture: - $ref: "#/definitions/ContainerArchitecture" - example: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - coreContainerPort: - type: "object" - properties: - container_port: - type: "integer" - format: "int64" - description: "Number of port to expose on the pod's IP address.\nThis must\ - \ be a valid port number, 0 < x < 65536." - description: "Defines port properties for a container." - example: - container_port: 2 - coreDataLoadingConfig: - type: "object" - properties: - enabled: - type: "boolean" - format: "boolean" - title: "Flag enables DataLoading Config. If this is not set, data loading\ - \ will not be used!" - input_path: - type: "string" - title: "File system path (start at root). This folder will contain all the\ - \ inputs exploded to a separate file.\nExample, if the input interface needs\ - \ (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs',\ - \ then the file system will look like\n/var/flyte/inputs/inputs. .pb .json .yaml> -> Format as defined previously.\ - \ The Blob and Multipart blob will reference local filesystem instead of\ - \ remote locations\n/var/flyte/inputs/x -> X is a file that contains the\ - \ value of x (integer) in string format\n/var/flyte/inputs/y -> Y is a file\ - \ in Binary format\n/var/flyte/inputs/z/... -> Note Z itself is a directory\n\ - More information about the protocol - refer to docs #TODO reference docs\ - \ here" - output_path: - type: "string" - title: "File system path (start at root). This folder should contain all the\ - \ outputs for the task as individual files and/or an error text file" - format: - title: "In the inputs folder, there will be an additional summary/metadata\ - \ file that contains references to all files or inlined primitive values.\n\ - This format decides the actual encoding for the data. Refer to the encoding\ - \ to understand the specifics of the contents and the encoding" - $ref: "#/definitions/DataLoadingConfigLiteralMapFormat" - io_strategy: - $ref: "#/definitions/coreIOStrategy" - description: "This configuration allows executing raw containers in Flyte using\ - \ the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit\ - \ or sdk inside the container. Any inputs required by the users container are\ - \ side-loaded in the input_path\nAny outputs generated by the user container\ - \ - within output_path are automatically uploaded." - example: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - coreEnumType: - type: "object" - properties: - values: - type: "array" - description: "Predefined set of enum values." - items: - type: "string" - description: "Enables declaring enum types, with predefined string values\nFor\ - \ len(values) > 0, the first value in the ordered list is regarded as the default\ - \ value. If you wish\nTo provide no defaults, make the first value as undefined." - example: - values: - - "values" - - "values" - coreError: - type: "object" - properties: - failed_node_id: - type: "string" - description: "The node id that threw the error." - message: - type: "string" - description: "Error message thrown." - description: "Represents an error thrown from a node." - example: - message: "message" - failed_node_id: "failed_node_id" - coreExecutionError: - type: "object" - properties: - code: - type: "string" - title: "Error code indicates a grouping of a type of error.\nMore Info: " - message: - type: "string" - description: "Detailed description of the error - including stack trace." - error_uri: - type: "string" - title: "Full error contents accessible via a URI" - kind: - $ref: "#/definitions/ExecutionErrorErrorKind" - description: "Represents the error message from the execution." - example: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - coreExtendedResources: - type: "object" - properties: - gpu_accelerator: - description: "GPU accelerator to select for task. Contains information about\ - \ device type, and\nfor multi-instance GPUs, the partition size to use." - $ref: "#/definitions/coreGPUAccelerator" - description: "Encapsulates all non-standard resources, not captured by v1.ResourceRequirements,\ - \ to\nallocate to a task." - example: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - coreGPUAccelerator: - type: "object" - properties: - device: - type: "string" - description: "This can be any arbitrary string, and should be informed by\ - \ the labels or taints\nassociated with the nodes in question. Default cloud\ - \ provider labels typically\nuse the following values: `nvidia-tesla-t4`,\ - \ `nvidia-tesla-a100`, etc." - unpartitioned: - type: "boolean" - format: "boolean" - partition_size: - type: "string" - description: "Like `device`, this can be any arbitrary string, and should\ - \ be informed by\nthe labels or taints associated with the nodes in question.\ - \ Default cloud\nprovider labels typically use the following values: `1g.5gb`,\ - \ `2g.10gb`, etc." - description: "Metadata associated with the GPU accelerator to allocate to a task.\ - \ Contains\ninformation about device type, and for multi-instance GPUs, the\ - \ partition size to\nuse." - example: - partition_size: "partition_size" - unpartitioned: true - device: "device" - coreGateNode: - type: "object" - properties: - approve: - description: "ApproveCondition represents a dependency on an external approval\ - \ provided by a boolean signal." - $ref: "#/definitions/coreApproveCondition" - signal: - description: "SignalCondition represents a dependency on an signal." - $ref: "#/definitions/coreSignalCondition" - sleep: - description: "SleepCondition represents a dependency on waiting for the specified\ - \ duration." - $ref: "#/definitions/coreSleepCondition" - description: "GateNode refers to the condition that is required for the gate to\ - \ successfully complete." - example: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - coreIOStrategy: - type: "object" - properties: - download_mode: - title: "Mode to use to manage downloads" - $ref: "#/definitions/IOStrategyDownloadMode" - upload_mode: - title: "Mode to use to manage uploads" - $ref: "#/definitions/IOStrategyUploadMode" - title: "Strategy to use when dealing with Blob, Schema, or multipart blob data\ - \ (large datasets)" - example: - upload_mode: {} - download_mode: {} - coreIdentifier: - type: "object" - properties: - resource_type: - description: "Identifies the specific type of resource that this identifier\ - \ corresponds to." - $ref: "#/definitions/coreResourceType" - 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." - org: - type: "string" - description: "Optional, org key applied to the resource." - description: "Encapsulation of fields that uniquely identifies a Flyte resource." - example: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - coreIdentity: - type: "object" - properties: - iam_role: - type: "string" - description: "iam_role references the fully qualified name of Identity & Access\ - \ Management role to impersonate." - k8s_service_account: - type: "string" - description: "k8s_service_account references a kubernetes service account\ - \ to impersonate." - oauth2_client: - description: "oauth2_client references an oauth2 client. Backend plugins can\ - \ use this information to impersonate the client when\nmaking external calls." - $ref: "#/definitions/coreOAuth2Client" - execution_identity: - type: "string" - title: "execution_identity references the subject who makes the execution" - description: "Identity encapsulates the various security identities a task can\ - \ run as. It's up to the underlying plugin to pick the\nright identity for the\ - \ execution environment." - example: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - coreIfBlock: - type: "object" - properties: - condition: - $ref: "#/definitions/coreBooleanExpression" - then_node: - $ref: "#/definitions/coreNode" - description: "Defines a condition and the execution unit that should be executed\ - \ if the condition is satisfied." - example: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - coreIfElseBlock: - type: "object" - properties: - case: - description: "+required. First condition to evaluate." - $ref: "#/definitions/coreIfBlock" - other: - type: "array" - description: "+optional. Additional branches to evaluate." - items: - $ref: "#/definitions/coreIfBlock" - else_node: - description: "The node to execute in case none of the branches were taken." - $ref: "#/definitions/coreNode" - error: - description: "An error to throw in case none of the branches were taken." - $ref: "#/definitions/coreError" - description: "Defines a series of if/else blocks. The first branch whose condition\ - \ evaluates to true is the one to execute.\nIf no conditions were satisfied,\ - \ the else_node or the error will execute." - example: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - coreInputBindingData: - type: "object" - properties: - var: - type: "string" - example: - var: "var" - coreK8sObjectMetadata: - type: "object" - properties: - labels: - type: "object" - description: "Optional labels to add to the pod definition." - additionalProperties: - type: "string" - annotations: - type: "object" - description: "Optional annotations to add to the pod definition." - additionalProperties: - type: "string" - description: "Metadata for building a kubernetes object when a task is executed." - example: - annotations: - key: "annotations" - labels: - key: "labels" - coreK8sPod: - type: "object" - properties: - metadata: - description: "Contains additional metadata for building a kubernetes pod." - $ref: "#/definitions/coreK8sObjectMetadata" - pod_spec: - title: "Defines the primary pod spec created when a task is executed.\nThis\ - \ should be a JSON-marshalled pod spec, which can be defined in\n- go, using:\ - \ https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n\ - - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" - $ref: "#/definitions/protobufStruct" - data_config: - title: "BETA: Optional configuration for DataLoading. If not specified, then\ - \ default values are used.\nThis makes it possible to to run a completely\ - \ portable container, that uses inputs and outputs\nonly from the local\ - \ file-system and without having any reference to flytekit. This is supported\ - \ only on K8s at the moment.\nIf data loading is enabled, then data will\ - \ be mounted in accompanying directories specified in the DataLoadingConfig.\ - \ If the directories\nare not specified, inputs will be mounted onto and\ - \ outputs will be uploaded from a pre-determined file-system path. Refer\ - \ to the documentation\nto understand the default paths.\nOnly K8s" - $ref: "#/definitions/coreDataLoadingConfig" - description: "Defines a pod spec and additional pod metadata that is created when\ - \ a task is executed." - example: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - coreKeyValuePair: - type: "object" - properties: - key: - type: "string" - description: "required." - value: - type: "string" - description: "+optional." - description: "A generic key value pair." - example: - value: "value" - key: "key" - coreLabelValue: - type: "object" - properties: - static_value: - type: "string" - title: "The string static value is for use in the Partitions object" - time_value: - type: "string" - format: "date-time" - title: "The time value is for use in the TimePartition case" - triggered_binding: - $ref: "#/definitions/coreArtifactBindingData" - input_binding: - $ref: "#/definitions/coreInputBindingData" - example: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreLiteral: - type: "object" - properties: - scalar: - description: "A simple value." - $ref: "#/definitions/coreScalar" - collection: - description: "A collection of literals to allow nesting." - $ref: "#/definitions/coreLiteralCollection" - map: - description: "A map of strings to literals." - $ref: "#/definitions/coreLiteralMap" - hash: - type: "string" - title: "A hash representing this literal.\nThis is used for caching purposes.\ - \ For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" - metadata: - type: "object" - description: "Additional metadata for literals." - additionalProperties: - type: "string" - description: "A simple value. This supports any level of nesting (e.g. array of\ - \ array of array of Blobs) as well as simple primitives." - example: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - coreLiteralCollection: - type: "object" - properties: - literals: - type: "array" - items: - $ref: "#/definitions/coreLiteral" - description: "A collection of literals. This is a workaround since oneofs in proto\ - \ messages cannot contain a repeated field." - example: - literals: - - null - - null - coreLiteralMap: - type: "object" - properties: - literals: - type: "object" - additionalProperties: - $ref: "#/definitions/coreLiteral" - description: "A map of literals. This is a workaround since oneofs in proto messages\ - \ cannot contain a repeated field." - example: - literals: {} - coreLiteralType: - type: "object" - properties: - simple: - description: "A simple type that can be compared one-to-one with another." - $ref: "#/definitions/coreSimpleType" - schema: - description: "A complex type that requires matching of inner fields." - $ref: "#/definitions/coreSchemaType" - collection_type: - description: "Defines the type of the value of a collection. Only homogeneous\ - \ collections are allowed." - $ref: "#/definitions/coreLiteralType" - map_value_type: - description: "Defines the type of the value of a map type. The type of the\ - \ key is always a string." - $ref: "#/definitions/coreLiteralType" - blob: - description: "A blob might have specialized implementation details depending\ - \ on associated metadata." - $ref: "#/definitions/coreBlobType" - enum_type: - description: "Defines an enum with pre-defined string values." - $ref: "#/definitions/coreEnumType" - structured_dataset_type: - title: "Generalized schema support" - $ref: "#/definitions/coreStructuredDatasetType" - union_type: - description: "Defines an union type with pre-defined LiteralTypes." - $ref: "#/definitions/coreUnionType" - metadata: - description: "This field contains type metadata that is descriptive of the\ - \ type, but is NOT considered in type-checking. This might be used by\n\ - consumers to identify special behavior or display extended information for\ - \ the type." - $ref: "#/definitions/protobufStruct" - annotation: - description: "This field contains arbitrary data that might have special semantic\n\ - meaning for the client but does not effect internal flyte behavior." - $ref: "#/definitions/coreTypeAnnotation" - structure: - description: "Hints to improve type matching." - $ref: "#/definitions/coreTypeStructure" - description: "Defines a strong type to allow type checking between interfaces." - example: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - coreNode: - type: "object" - properties: - id: - type: "string" - description: "A workflow-level unique identifier that identifies this node\ - \ in the workflow. 'inputs' and 'outputs' are reserved\nnode ids that cannot\ - \ be used by other nodes." - metadata: - description: "Extra metadata about the node." - $ref: "#/definitions/coreNodeMetadata" - inputs: - type: "array" - description: "Specifies how to bind the underlying interface's inputs. All\ - \ required inputs specified in the underlying interface\nmust be fulfilled." - items: - $ref: "#/definitions/coreBinding" - upstream_node_ids: - type: "array" - description: "+optional Specifies execution dependency for this node ensuring\ - \ it will only get scheduled to run after all its\nupstream nodes have completed.\ - \ This node will have an implicit dependency on any node that appears in\ - \ inputs\nfield." - items: - type: "string" - output_aliases: - type: "array" - description: "+optional. A node can define aliases for a subset of its outputs.\ - \ This is particularly useful if different nodes\nneed to conform to the\ - \ same interface (e.g. all branches in a branch node). Downstream nodes\ - \ must refer to this\nnodes outputs using the alias if one's specified." - items: - $ref: "#/definitions/coreAlias" - task_node: - description: "Information about the Task to execute in this node." - $ref: "#/definitions/coreTaskNode" - workflow_node: - description: "Information about the Workflow to execute in this mode." - $ref: "#/definitions/coreWorkflowNode" - branch_node: - description: "Information about the branch node to evaluate in this node." - $ref: "#/definitions/coreBranchNode" - gate_node: - description: "Information about the condition to evaluate in this node." - $ref: "#/definitions/coreGateNode" - array_node: - description: "Information about the sub-node executions for each value in\ - \ the list of this nodes\ninputs values." - $ref: "#/definitions/coreArrayNode" - description: "A Workflow graph Node. One unit of execution in the graph. Each\ - \ node can be linked to a Task, a Workflow or a branch\nnode." - example: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - coreNodeExecutionIdentifier: - type: "object" - properties: - node_id: - type: "string" - execution_id: - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - description: "Encapsulation of fields that identify a Flyte node execution entity." - example: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - coreNodeExecutionPhase: - type: "string" - enum: - - "UNDEFINED" - - "QUEUED" - - "RUNNING" - - "SUCCEEDED" - - "FAILING" - - "FAILED" - - "ABORTED" - - "SKIPPED" - - "TIMED_OUT" - - "DYNAMIC_RUNNING" - - "RECOVERED" - default: "UNDEFINED" - coreNodeMetadata: - type: "object" - properties: - name: - type: "string" - title: "A friendly name for the Node" - timeout: - type: "string" - description: "The overall timeout of a task." - retries: - description: "Number of retries per task." - $ref: "#/definitions/coreRetryStrategy" - interruptible: - type: "boolean" - format: "boolean" - description: "Defines extra information about the Node." - example: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - coreOAuth2Client: - type: "object" - properties: - client_id: - type: "string" - title: "client_id is the public id for the client to use. The system will\ - \ not perform any pre-auth validation that the\nsecret requested matches\ - \ the client_id indicated here.\n+required" - client_secret: - title: "client_secret is a reference to the secret used to authenticate the\ - \ OAuth2 client.\n+required" - $ref: "#/definitions/coreSecret" - description: "OAuth2Client encapsulates OAuth2 Client Credentials to be used when\ - \ making calls on behalf of that task." - example: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - coreOAuth2TokenRequest: - type: "object" - properties: - name: - type: "string" - title: "name indicates a unique id for the token request within this task\ - \ token requests. It'll be used as a suffix for\nenvironment variables and\ - \ as a filename for mounting tokens as files.\n+required" - type: - title: "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n\ - +required" - $ref: "#/definitions/coreOAuth2TokenRequestType" - client: - title: "client references the client_id/secret to use to request the OAuth2\ - \ token.\n+required" - $ref: "#/definitions/coreOAuth2Client" - idp_discovery_endpoint: - type: "string" - title: "idp_discovery_endpoint references the discovery endpoint used to retrieve\ - \ token endpoint and other related\ninformation.\n+optional" - token_endpoint: - type: "string" - title: "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint\ - \ is not provided, this parameter is\nmandatory.\n+optional" - description: "OAuth2TokenRequest encapsulates information needed to request an\ - \ OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix\ - \ of the environment variables that will be present if\ntokens are passed through\ - \ environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate\ - \ the prefix of the path where secrets will be mounted if tokens\nare passed\ - \ through file mounts." - example: - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - coreOAuth2TokenRequestType: - type: "string" - description: "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS\ - \ indicates a 2-legged OAuth token requested using client credentials." - enum: - - "CLIENT_CREDENTIALS" - default: "CLIENT_CREDENTIALS" - coreOperand: - type: "object" - properties: - primitive: - title: "Can be a constant" - $ref: "#/definitions/corePrimitive" - var: - type: "string" - title: "Or one of this node's input variables" - scalar: - title: "Replace the primitive field" - $ref: "#/definitions/coreScalar" - description: "Defines an operand to a comparison expression." - example: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - coreOutputReference: - type: "object" - properties: - node_id: - type: "string" - description: "Node id must exist at the graph layer." - var: - type: "string" - description: "Variable name must refer to an output variable for the node." - attr_path: - type: "array" - items: - $ref: "#/definitions/corePromiseAttribute" - description: "A reference to an output produced by a node. The type can be retrieved\ - \ -and validated- from\nthe underlying interface of the node." - example: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - coreParameter: - type: "object" - properties: - var: - description: "+required Variable. Defines the type of the variable backing\ - \ this parameter." - $ref: "#/definitions/coreVariable" - default: - description: "Defines a default value that has to match the variable type\ - \ defined." - $ref: "#/definitions/coreLiteral" - required: - type: "boolean" - format: "boolean" - description: "+optional, is this value required to be filled." - artifact_query: - description: "This is an execution time search basically that should result\ - \ in exactly one Artifact with a Type that\nmatches the type of the variable." - $ref: "#/definitions/coreArtifactQuery" - artifact_id: - $ref: "#/definitions/coreArtifactID" - description: "A parameter is used as input to a launch plan and has\nthe special\ - \ ability to have a default value or mark itself as required." - example: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - coreParameterMap: - type: "object" - properties: - parameters: - type: "object" - description: "Defines a map of parameter names to parameters." - additionalProperties: - $ref: "#/definitions/coreParameter" - description: "A map of Parameters." - example: - parameters: - key: - default: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - metadata: - key: "metadata" - collection: - literals: - - null - - null - map: - literals: {} - hash: "hash" - var: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_query: - binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - uri: "uri" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - required: true - corePartitions: - type: "object" - properties: - value: - type: "object" - additionalProperties: - $ref: "#/definitions/coreLabelValue" - example: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - corePrimitive: - type: "object" - properties: - integer: - type: "string" - format: "int64" - float_value: - type: "number" - format: "double" - string_value: - type: "string" - boolean: - type: "boolean" - format: "boolean" - datetime: - type: "string" - format: "date-time" - duration: - type: "string" - title: "Primitive Types" - example: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - corePromiseAttribute: - type: "object" - properties: - string_value: - type: "string" - int_value: - type: "integer" - format: "int32" - example: - string_value: "string_value" - int_value: 6 - coreQualityOfService: - type: "object" - properties: - tier: - $ref: "#/definitions/QualityOfServiceTier" - spec: - $ref: "#/definitions/coreQualityOfServiceSpec" - description: "Indicates the priority of an execution." - example: - tier: {} - spec: - queueing_budget: "queueing_budget" - coreQualityOfServiceSpec: - type: "object" - properties: - queueing_budget: - type: "string" - description: "Indicates how much queueing delay an execution can tolerate." - description: "Represents customized execution run-time attributes." - example: - queueing_budget: "queueing_budget" - coreResourceType: - type: "string" - 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" - enum: - - "UNSPECIFIED" - - "TASK" - - "WORKFLOW" - - "LAUNCH_PLAN" - - "DATASET" - default: "UNSPECIFIED" - coreResources: - type: "object" - properties: - requests: - type: "array" - description: "The desired set of resources requested. ResourceNames must be\ - \ unique within the list." - items: - $ref: "#/definitions/ResourcesResourceEntry" - limits: - type: "array" - description: "Defines a set of bounds (e.g. min/max) within which the task\ - \ can reliably run. ResourceNames must be unique\nwithin the list." - items: - $ref: "#/definitions/ResourcesResourceEntry" - description: "A customizable interface to convey resources requested for a container.\ - \ This can be interpreted differently for different\ncontainer engines." - example: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - coreRetryStrategy: - type: "object" - properties: - retries: - type: "integer" - format: "int64" - description: "Number of retries. Retries will be consumed when the job fails\ - \ with a recoverable error.\nThe number of retries must be less than or\ - \ equals to 10." - description: "Retry strategy associated with an executable unit." - example: - retries: 0 - coreRuntimeMetadata: - type: "object" - properties: - type: - description: "Type of runtime." - $ref: "#/definitions/RuntimeMetadataRuntimeType" - version: - type: "string" - description: "Version of the runtime. All versions should be backward compatible.\ - \ However, certain cases call for version\nchecks to ensure tighter validation\ - \ or setting expectations." - flavor: - type: "string" - description: "+optional It can be used to provide extra information about\ - \ the runtime (e.g. python, golang... etc.)." - description: "Runtime information. This is loosely defined to allow for extensibility." - example: - flavor: "flavor" - type: {} - version: "version" - coreScalar: - type: "object" - properties: - primitive: - $ref: "#/definitions/corePrimitive" - blob: - $ref: "#/definitions/coreBlob" - binary: - $ref: "#/definitions/coreBinary" - schema: - $ref: "#/definitions/coreSchema" - none_type: - $ref: "#/definitions/coreVoid" - error: - $ref: "#/definitions/coreError" - generic: - $ref: "#/definitions/protobufStruct" - structured_dataset: - $ref: "#/definitions/coreStructuredDataset" - union: - $ref: "#/definitions/coreUnion" - example: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - coreSchema: - type: "object" - properties: - uri: - type: "string" - type: - $ref: "#/definitions/coreSchemaType" - description: "A strongly typed schema that defines the interface of data retrieved\ - \ from the underlying storage medium." - example: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - coreSchemaType: - type: "object" - properties: - columns: - type: "array" - description: "A list of ordered columns this schema comprises of." - items: - $ref: "#/definitions/SchemaTypeSchemaColumn" - description: "Defines schema columns and types to strongly type-validate schemas\ - \ interoperability." - example: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - coreSecret: - type: "object" - properties: - group: - type: "string" - title: "The name of the secret group where to find the key referenced below.\ - \ For K8s secrets, this should be the name of\nthe v1/secret object. For\ - \ Confidant, this should be the Credential name. For Vault, this should\ - \ be the secret name.\nFor AWS Secret Manager, this should be the name of\ - \ the secret.\n+required" - group_version: - type: "string" - title: "The group version to fetch. This is not supported in all secret management\ - \ systems. It'll be ignored for the ones\nthat do not support it.\n+optional" - key: - type: "string" - title: "The name of the secret to mount. This has to match an existing secret\ - \ in the system. It's up to the implementation\nof the secret management\ - \ system to require case sensitivity. For K8s secrets, Confidant and Vault,\ - \ this should\nmatch one of the keys inside the secret. For AWS Secret Manager,\ - \ it's ignored.\n+optional" - mount_requirement: - title: "mount_requirement is optional. Indicates where the secret has to be\ - \ mounted. If provided, the execution will fail\nif the underlying key management\ - \ system cannot satisfy that requirement. If not provided, the default location\n\ - will depend on the key management system.\n+optional" - $ref: "#/definitions/SecretMountType" - description: "Secret encapsulates information about the secret a task needs to\ - \ proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed\ - \ to indicate the prefix of the environment variables that will be present if\n\ - secrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR\ - \ will be passed to indicate the prefix of the path where secrets will be mounted\ - \ if secrets\nare passed through file mounts." - example: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - coreSecurityContext: - type: "object" - properties: - run_as: - description: "run_as encapsulates the identity a pod should run as. If the\ - \ task fills in multiple fields here, it'll be up to the\nbackend plugin\ - \ to choose the appropriate identity for the execution engine the task will\ - \ run on." - $ref: "#/definitions/coreIdentity" - secrets: - type: "array" - description: "secrets indicate the list of secrets the task needs in order\ - \ to proceed. Secrets will be mounted/passed to the\npod as it starts. If\ - \ the plugin responsible for kicking of the task will not run it on a flyte\ - \ cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch\ - \ the secret (which means propeller identity will need access\nto the secret)\ - \ and to pass it to the remote execution engine." - items: - $ref: "#/definitions/coreSecret" - tokens: - type: "array" - description: "tokens indicate the list of token requests the task needs in\ - \ order to proceed. Tokens will be mounted/passed to the\npod as it starts.\ - \ If the plugin responsible for kicking of the task will not run it on a\ - \ flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin\ - \ to fetch the secret (which means propeller identity will need access\n\ - to the secret) and to pass it to the remote execution engine." - items: - $ref: "#/definitions/coreOAuth2TokenRequest" - description: "SecurityContext holds security attributes that apply to tasks." - example: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - coreSignalCondition: - type: "object" - properties: - signal_id: - type: "string" - description: "A unique identifier for the requested signal." - type: - description: "A type denoting the required value type for this signal." - $ref: "#/definitions/coreLiteralType" - output_variable_name: - type: "string" - description: "The variable name for the signal value in this nodes outputs." - description: "SignalCondition represents a dependency on an signal." - example: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - coreSimpleType: - type: "string" - description: "Define a set of simple types." - enum: - - "NONE" - - "INTEGER" - - "FLOAT" - - "STRING" - - "BOOLEAN" - - "DATETIME" - - "DURATION" - - "BINARY" - - "ERROR" - - "STRUCT" - default: "NONE" - coreSleepCondition: - type: "object" - properties: - duration: - type: "string" - description: "The overall duration for this sleep." - description: "SleepCondition represents a dependency on waiting for the specified\ - \ duration." - example: - duration: "duration" - coreSpan: - type: "object" - properties: - start_time: - type: "string" - format: "date-time" - description: "start_time defines the instance this span began." - end_time: - type: "string" - format: "date-time" - description: "end_time defines the instance this span completed." - workflow_id: - description: "workflow_id is the id of the workflow execution this Span represents." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - node_id: - description: "node_id is the id of the node execution this Span represents." - $ref: "#/definitions/coreNodeExecutionIdentifier" - task_id: - description: "task_id is the id of the task execution this Span represents." - $ref: "#/definitions/coreTaskExecutionIdentifier" - operation_id: - type: "string" - description: "operation_id is the id of a unique operation that this Span\ - \ represents." - spans: - type: "array" - description: "spans defines a collection of Spans that breakdown this execution." - items: - $ref: "#/definitions/coreSpan" - description: "Span represents a duration trace of Flyte execution. The id field\ - \ denotes a Flyte execution entity or an operation\nwhich uniquely identifies\ - \ the Span. The spans attribute allows this Span to be further broken down into\ - \ more\nprecise definitions." - example: - start_time: "2000-01-23T04:56:07.000+00:00" - spans: - - null - - null - workflow_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - end_time: "2000-01-23T04:56:07.000+00:00" - task_id: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - operation_id: "operation_id" - node_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - coreSql: - type: "object" - properties: - statement: - type: "string" - title: "The actual query to run, the query can have templated parameters.\n\ - We use Flyte's Golang templating format for Query templating.\nRefer to\ - \ the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\n\ - For example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored\ - \ as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" - dialect: - $ref: "#/definitions/SqlDialect" - description: "Sql represents a generic sql workload with a statement and dialect." - example: - dialect: {} - statement: "statement" - coreStructuredDataset: - type: "object" - properties: - uri: - type: "string" - title: "String location uniquely identifying where the data is.\nShould start\ - \ with the storage location (e.g. s3://, gs://, bq://, etc.)" - metadata: - $ref: "#/definitions/coreStructuredDatasetMetadata" - example: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - coreStructuredDatasetMetadata: - type: "object" - properties: - structured_dataset_type: - description: "Bundle the type information along with the literal.\nThis is\ - \ here because StructuredDatasets can often be more defined at run time\ - \ than at compile time.\nThat is, at compile time you might only declare\ - \ a task to return a pandas dataframe or a StructuredDataset,\nwithout any\ - \ column information, but at run time, you might have that column information.\n\ - flytekit python will copy this type information into the literal, from the\ - \ type information, if not provided by\nthe various plugins (encoders).\n\ - Since this field is run time generated, it's not used for any type checking." - $ref: "#/definitions/coreStructuredDatasetType" - example: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - coreStructuredDatasetType: - type: "object" - properties: - columns: - type: "array" - description: "A list of ordered columns this schema comprises of." - items: - $ref: "#/definitions/StructuredDatasetTypeDatasetColumn" - format: - type: "string" - description: "This is the storage format, the format of the bits at rest\n\ - parquet, feather, csv, etc.\nFor two types to be compatible, the format\ - \ will need to be an exact match." - external_schema_type: - type: "string" - description: "This is a string representing the type that the bytes in external_schema_bytes\ - \ are formatted in.\nThis is an optional field that will not be used for\ - \ type checking." - external_schema_bytes: - type: "string" - format: "byte" - description: "The serialized bytes of a third-party schema library like Arrow.\n\ - This is an optional field that will not be used for type checking." - pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" - example: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - 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." - example: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - coreTaskExecutionPhase: - type: "string" - title: "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull,\ - \ ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases,\ - \ where underlying resource is not available: Backoff error, Resource quota\ - \ exceeded" - enum: - - "UNDEFINED" - - "QUEUED" - - "RUNNING" - - "SUCCEEDED" - - "ABORTED" - - "FAILED" - - "INITIALIZING" - - "WAITING_FOR_RESOURCES" - default: "UNDEFINED" - coreTaskLog: - type: "object" - properties: - uri: - type: "string" - name: - type: "string" - message_format: - $ref: "#/definitions/TaskLogMessageFormat" - ttl: - type: "string" - title: "Log information for the task that is specific to a log sink\nWhen our\ - \ log story is flushed out, we may have more metadata here like log link expiry" - example: - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - coreTaskMetadata: - type: "object" - properties: - discoverable: - type: "boolean" - format: "boolean" - description: "Indicates whether the system should attempt to lookup this task's\ - \ output to avoid duplication of work." - runtime: - description: "Runtime information about the task." - $ref: "#/definitions/coreRuntimeMetadata" - timeout: - type: "string" - description: "The overall timeout of a task including user-triggered retries." - retries: - description: "Number of retries per task." - $ref: "#/definitions/coreRetryStrategy" - discovery_version: - type: "string" - description: "Indicates a logical version to apply to this task for the purpose\ - \ of discovery." - deprecated_error_message: - type: "string" - description: "If set, this indicates that this task is deprecated. This will\ - \ enable owners of tasks to notify consumers\nof the ending of support for\ - \ a given task." - interruptible: - type: "boolean" - format: "boolean" - cache_serializable: - type: "boolean" - format: "boolean" - title: "Indicates whether the system should attempt to execute discoverable\ - \ instances in serial to avoid duplicate work" - generates_deck: - type: "boolean" - format: "boolean" - description: "Indicates whether the task will generate a Deck URI when it\ - \ finishes executing." - tags: - type: "object" - title: "Arbitrary tags that allow users and the platform to store small but\ - \ arbitrary labels" - additionalProperties: - type: "string" - pod_template_name: - type: "string" - description: "pod_template_name is the unique name of a PodTemplate k8s resource\ - \ to be used as the base configuration if this\ntask creates a k8s Pod.\ - \ If this value is set, the specified PodTemplate will be used instead of,\ - \ but applied\nidentically as, the default PodTemplate configured in FlytePropeller." - cache_ignore_input_vars: - type: "array" - description: "cache_ignore_input_vars is the input variables that should not\ - \ be included when calculating hash for cache." - items: - type: "string" - title: "Task Metadata" - example: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - coreTaskNode: - type: "object" - properties: - reference_id: - description: "A globally unique identifier for the task." - $ref: "#/definitions/coreIdentifier" - overrides: - description: "Optional overrides applied at task execution time." - $ref: "#/definitions/coreTaskNodeOverrides" - description: "Refers to the task that the Node is to execute." - example: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - coreTaskNodeOverrides: - type: "object" - properties: - resources: - description: "A customizable interface to convey resources requested for a\ - \ task container." - $ref: "#/definitions/coreResources" - extended_resources: - description: "Overrides for all non-standard resources, not captured by\n\ - v1.ResourceRequirements, to allocate to a task." - $ref: "#/definitions/coreExtendedResources" - description: "Optional task node overrides that will be applied at task execution\ - \ time." - example: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - coreTaskTemplate: - type: "object" - properties: - id: - description: "Auto generated taskId by the system. Task Id uniquely identifies\ - \ this task globally." - $ref: "#/definitions/coreIdentifier" - type: - type: "string" - description: "A predefined yet extensible Task type identifier. This can be\ - \ used to customize any of the components. If no\nextensions are provided\ - \ in the system, Flyte will resolve the this task to its TaskCategory and\ - \ default the\nimplementation registered for the TaskCategory." - metadata: - description: "Extra metadata about the task." - $ref: "#/definitions/coreTaskMetadata" - interface: - description: "A strongly typed interface for the task. This enables others\ - \ to use this task within a workflow and guarantees\ncompile-time validation\ - \ of the workflow to avoid costly runtime failures." - $ref: "#/definitions/coreTypedInterface" - custom: - description: "Custom data about the task. This is extensible to allow various\ - \ plugins in the system." - $ref: "#/definitions/protobufStruct" - container: - $ref: "#/definitions/coreContainer" - k8s_pod: - $ref: "#/definitions/coreK8sPod" - sql: - $ref: "#/definitions/coreSql" - task_type_version: - type: "integer" - format: "int32" - description: "This can be used to customize task handling at execution time\ - \ for the same task type." - security_context: - description: "security_context encapsulates security attributes requested\ - \ to run this task." - $ref: "#/definitions/coreSecurityContext" - extended_resources: - description: "Encapsulates all non-standard resources, not captured by\nv1.ResourceRequirements,\ - \ to allocate to a task." - $ref: "#/definitions/coreExtendedResources" - config: - type: "object" - title: "Metadata about the custom defined for this task. This is extensible\ - \ to allow various plugins in the system\nto use as required.\nreserve the\ - \ field numbers 1 through 15 for very frequently occurring message elements" - additionalProperties: - type: "string" - description: "A Task structure that uniquely identifies a task in the system\n\ - Tasks are registered as a first step in the system." - example: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - coreTimePartition: - type: "object" - properties: - value: - $ref: "#/definitions/coreLabelValue" - example: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreTypeAnnotation: - type: "object" - properties: - annotations: - description: "A arbitrary JSON payload to describe a type." - $ref: "#/definitions/protobufStruct" - description: "TypeAnnotation encapsulates registration time information about\ - \ a type. This can be used for various control-plane operations. TypeAnnotation\ - \ will not be available at runtime when a task runs." - example: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - coreTypeStructure: - type: "object" - properties: - tag: - type: "string" - title: "Must exactly match for types to be castable" - dataclass_type: - type: "object" - title: "dataclass_type only exists for dataclasses.\nThis is used to resolve\ - \ the type of the fields of dataclass\nThe key is the field name, and the\ - \ value is the literal type of the field\ne.g. For dataclass Foo, with fields\ - \ a, and a is a string\nFoo.a will be resolved as a literal type of string\ - \ from dataclass_type" - additionalProperties: - $ref: "#/definitions/coreLiteralType" - description: "Hints to improve type matching\ne.g. allows distinguishing output\ - \ from custom type transformers\neven if the underlying IDL serialization matches." - example: - dataclass_type: {} - tag: "tag" - coreTypedInterface: - type: "object" - properties: - inputs: - $ref: "#/definitions/coreVariableMap" - outputs: - $ref: "#/definitions/coreVariableMap" - description: "Defines strongly typed inputs and outputs." - example: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreUnion: - type: "object" - properties: - value: - $ref: "#/definitions/coreLiteral" - type: - $ref: "#/definitions/coreLiteralType" - description: "The runtime representation of a tagged union value. See `UnionType`\ - \ for more details." - example: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - coreUnionInfo: - type: "object" - properties: - targetType: - $ref: "#/definitions/coreLiteralType" - example: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - coreUnionType: - type: "object" - properties: - variants: - type: "array" - description: "Predefined set of variants in union." - items: - $ref: "#/definitions/coreLiteralType" - description: "Defines a tagged union type, also known as a variant (and formally\ - \ as the sum type).\n\nA sum type S is defined by a sequence of types (A, B,\ - \ C, ...), each tagged by a string tag\nA value of type S is constructed from\ - \ a value of any of the variant types. The specific choice of type is recorded\ - \ by\nstoring the varaint's tag with the literal value and can be examined in\ - \ runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe\ - \ C | ...\n\nNotably, a nullable (optional) type is a sum type between some\ - \ type X and the singleton type representing a null-value:\nOptional X := X\ - \ | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" - example: - variants: - - null - - null - coreVariable: - type: "object" - properties: - type: - description: "Variable literal type." - $ref: "#/definitions/coreLiteralType" - description: - type: "string" - title: "+optional string describing input variable" - artifact_partial_id: - description: "+optional This object allows the user to specify how Artifacts\ - \ are created.\nname, tag, partitions can be specified. The other fields\ - \ (version and project/domain) are ignored." - $ref: "#/definitions/coreArtifactID" - artifact_tag: - $ref: "#/definitions/coreArtifactTag" - description: "Defines a strongly typed variable." - example: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreVariableMap: - type: "object" - properties: - variables: - type: "object" - description: "Defines a map of variable names to variables." - additionalProperties: - $ref: "#/definitions/coreVariable" - title: "A map of Variables" - example: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - coreVoid: - type: "object" - description: "Used to denote a nil/null/None assignment to a scalar value. The\ - \ underlying LiteralType for Void is intentionally\nundefined since it can be\ - \ assigned to a scalar of any LiteralType." - 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." - org: - type: "string" - description: "Optional, org key applied to the resource." - title: "Encapsulation of fields that uniquely identifies a Flyte workflow execution" - example: - org: "org" - domain: "domain" - name: "name" - project: "project" - coreWorkflowExecutionPhase: - type: "string" - enum: - - "UNDEFINED" - - "QUEUED" - - "RUNNING" - - "SUCCEEDING" - - "SUCCEEDED" - - "FAILING" - - "FAILED" - - "ABORTED" - - "TIMED_OUT" - - "ABORTING" - default: "UNDEFINED" - coreWorkflowMetadata: - type: "object" - properties: - quality_of_service: - description: "Indicates the runtime priority of workflow executions." - $ref: "#/definitions/coreQualityOfService" - on_failure: - description: "Defines how the system should behave when a failure is detected\ - \ in the workflow execution." - $ref: "#/definitions/WorkflowMetadataOnFailurePolicy" - tags: - type: "object" - title: "Arbitrary tags that allow users and the platform to store small but\ - \ arbitrary labels" - additionalProperties: - type: "string" - description: "This is workflow layer metadata. These settings are only applicable\ - \ to the workflow as a whole, and do not\npercolate down to child entities (like\ - \ tasks) launched by the workflow." - example: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - coreWorkflowMetadataDefaults: - type: "object" - properties: - interruptible: - type: "boolean" - format: "boolean" - description: "Whether child nodes of the workflow are interruptible." - description: "The difference between these settings and the WorkflowMetadata ones\ - \ is that these are meant to be passed down to\na workflow's underlying entities\ - \ (like tasks). For instance, 'interruptible' has no meaning at the workflow\ - \ layer, it\nis only relevant when a task executes. The settings here are the\ - \ defaults that are passed to all nodes\nunless explicitly overridden at the\ - \ node layer.\nIf you are adding a setting that applies to both the Workflow\ - \ itself, and everything underneath it, it should be\nadded to both this object\ - \ and the WorkflowMetadata object above." - example: - interruptible: true - coreWorkflowNode: - type: "object" - properties: - launchplan_ref: - description: "A globally unique identifier for the launch plan." - $ref: "#/definitions/coreIdentifier" - sub_workflow_ref: - title: "Reference to a subworkflow, that should be defined with the compiler\ - \ context" - $ref: "#/definitions/coreIdentifier" - description: "Refers to a the workflow the node is to execute." - example: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - coreWorkflowTemplate: - type: "object" - properties: - id: - description: "A globally unique identifier for the workflow." - $ref: "#/definitions/coreIdentifier" - metadata: - description: "Extra metadata about the workflow." - $ref: "#/definitions/coreWorkflowMetadata" - interface: - description: "Defines a strongly typed interface for the Workflow. This can\ - \ include some optional parameters." - $ref: "#/definitions/coreTypedInterface" - nodes: - type: "array" - description: "A list of nodes. In addition, 'globals' is a special reserved\ - \ node id that can be used to consume workflow inputs." - items: - $ref: "#/definitions/coreNode" - outputs: - type: "array" - description: "A list of output bindings that specify how to construct workflow\ - \ outputs. Bindings can pull node outputs or\nspecify literals. All workflow\ - \ outputs specified in the interface field must be bound in order for the\ - \ workflow\nto be validated. A workflow has an implicit dependency on all\ - \ of its nodes to execute successfully in order to\nbind final outputs.\n\ - Most of these outputs will be Binding's with a BindingData of type OutputReference.\ - \ That is, your workflow can\njust have an output of some constant (`Output(5)`),\ - \ but usually, the workflow will be pulling\noutputs from the output of\ - \ a task." - items: - $ref: "#/definitions/coreBinding" - failure_node: - description: "+optional A catch-all node. This node is executed whenever the\ - \ execution engine determines the workflow has failed.\nThe interface of\ - \ this node must match the Workflow interface with an additional input named\ - \ 'error' of type\npb.lyft.flyte.core.Error." - $ref: "#/definitions/coreNode" - metadata_defaults: - title: "workflow defaults" - $ref: "#/definitions/coreWorkflowMetadataDefaults" - description: "Flyte Workflow Structure that encapsulates task, branch and subworkflow\ - \ nodes to form a statically analyzable,\ndirected acyclic graph." - example: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - eventEventReason: - type: "object" - properties: - reason: - type: "string" - title: "An explanation for this event" - occurred_at: - type: "string" - format: "date-time" - title: "The time this reason occurred" - eventExternalResourceInfo: - type: "object" - properties: - external_id: - type: "string" - description: "Identifier for an external resource created by this task execution,\ - \ for example Qubole query ID or presto query ids." - index: - type: "integer" - format: "int64" - description: "A unique index for the external resource with respect to all\ - \ external resources for this task. Although the\nidentifier may change\ - \ between task reporting events or retries, this will remain the same to\ - \ enable aggregating\ninformation from multiple reports." - retry_attempt: - type: "integer" - format: "int64" - title: "Retry attempt number for this external resource, ie., 2 for the second\ - \ attempt" - phase: - title: "Phase associated with the external resource" - $ref: "#/definitions/coreTaskExecutionPhase" - cache_status: - description: "Captures the status of caching for this external resource execution." - $ref: "#/definitions/coreCatalogCacheStatus" - logs: - type: "array" - title: "log information for the external resource execution" - items: - $ref: "#/definitions/coreTaskLog" - description: "This message contains metadata about external resources produced\ - \ or used by a specific task execution." - example: - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - eventNodeExecutionEvent: - type: "object" - properties: - id: - title: "Unique identifier for this node execution" - $ref: "#/definitions/coreNodeExecutionIdentifier" - producer_id: - type: "string" - title: "the id of the originator (Propeller) of the event" - phase: - $ref: "#/definitions/coreNodeExecutionPhase" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the original event occurred,\ - \ it is generated\nby the executor of the node." - input_uri: - type: "string" - input_data: - description: "Raw input data consumed by this node execution." - $ref: "#/definitions/coreLiteralMap" - output_uri: - type: "string" - description: "URL to the output of the execution, it encodes all the information\n\ - including Cloud source provider. ie., s3://..." - error: - title: "Error information for the execution" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this node execution." - $ref: "#/definitions/coreLiteralMap" - workflow_node_metadata: - $ref: "#/definitions/flyteidleventWorkflowNodeMetadata" - task_node_metadata: - $ref: "#/definitions/flyteidleventTaskNodeMetadata" - parent_task_metadata: - description: "[To be deprecated] Specifies which task (if any) launched this\ - \ node." - $ref: "#/definitions/eventParentTaskExecutionMetadata" - parent_node_metadata: - description: "Specifies the parent node of the current node execution. Node\ - \ executions at level zero will not have a parent node." - $ref: "#/definitions/eventParentNodeExecutionMetadata" - retry_group: - type: "string" - title: "Retry group to indicate grouping of nodes by retries" - spec_node_id: - type: "string" - title: "Identifier of the node in the original workflow/graph\nThis maps to\ - \ value of WorkflowTemplate.nodes[X].id" - node_name: - type: "string" - title: "Friendly readable name for the node" - event_version: - type: "integer" - format: "int32" - is_parent: - type: "boolean" - format: "boolean" - description: "Whether this node launched a subworkflow." - is_dynamic: - type: "boolean" - format: "boolean" - description: "Whether this node yielded a dynamic workflow." - deck_uri: - type: "string" - title: "String location uniquely identifying where the deck HTML file is\n\ - NativeUrl specifies the url in the format of the configured storage provider\ - \ (e.g. s3://my-bucket/randomstring/suffix.tar)" - reported_at: - type: "string" - format: "date-time" - description: "This timestamp represents the instant when the event was reported\ - \ by the executing framework. For example,\nwhen first processing a node\ - \ the `occurred_at` timestamp should be the instant propeller makes progress,\ - \ so when\nliteral inputs are initially copied. The event however will not\ - \ be sent until after the copy completes.\nExtracting both of these timestamps\ - \ facilitates a more accurate portrayal of the evaluation time-series." - is_array: - type: "boolean" - format: "boolean" - description: "Indicates if this node is an ArrayNode." - eventParentNodeExecutionMetadata: - type: "object" - properties: - node_id: - type: "string" - title: "Unique identifier of the parent node id within the execution\nThis\ - \ is value of core.NodeExecutionIdentifier.node_id of the parent node" - eventParentTaskExecutionMetadata: - type: "object" - properties: - id: - $ref: "#/definitions/coreTaskExecutionIdentifier" - eventResourcePoolInfo: - type: "object" - properties: - allocation_token: - type: "string" - description: "Unique resource ID used to identify this execution when allocating\ - \ a token." - namespace: - type: "string" - description: "Namespace under which this task execution requested an allocation\ - \ token." - description: "This message holds task execution metadata specific to resource\ - \ allocation used to manage concurrent\nexecutions for a project namespace." - example: - allocation_token: "allocation_token" - namespace: "namespace" - eventTaskExecutionEvent: - type: "object" - properties: - task_id: - description: "ID of the task. In combination with the retryAttempt this will\ - \ indicate\nthe task execution uniquely for a given parent node execution." - $ref: "#/definitions/coreIdentifier" - parent_node_execution_id: - title: "A task execution is always kicked off by a node execution, the event\ - \ consumer\nwill use the parent_id to relate the task to it's parent node\ - \ execution" - $ref: "#/definitions/coreNodeExecutionIdentifier" - retry_attempt: - type: "integer" - format: "int64" - title: "retry attempt number for this task, ie., 2 for the second attempt" - phase: - title: "Phase associated with the event" - $ref: "#/definitions/coreTaskExecutionPhase" - producer_id: - type: "string" - title: "id of the process that sent this event, mainly for trace debugging" - logs: - type: "array" - title: "log information for the task execution" - items: - $ref: "#/definitions/coreTaskLog" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the original event occurred,\ - \ it is generated\nby the executor of the task." - input_uri: - type: "string" - description: "URI of the input file, it encodes all the information\nincluding\ - \ Cloud source provider. ie., s3://..." - input_data: - description: "Raw input data consumed by this task execution." - $ref: "#/definitions/coreLiteralMap" - output_uri: - type: "string" - description: "URI to the output of the execution, it will be in a format that\ - \ encodes all the information\nincluding Cloud source provider. ie., s3://..." - error: - title: "Error information for the execution" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this task execution." - $ref: "#/definitions/coreLiteralMap" - custom_info: - description: "Custom data that the task plugin sends back. This is extensible\ - \ to allow various plugins in the system." - $ref: "#/definitions/protobufStruct" - phase_version: - type: "integer" - format: "int64" - description: "Some phases, like RUNNING, can send multiple events with changed\ - \ metadata (new logs, additional custom_info, etc)\nthat should be recorded\ - \ regardless of the lack of phase change.\nThe version field should be incremented\ - \ when metadata changes across the duration of an individual phase." - reason: - type: "string" - description: "An optional explanation for the phase transition.\nDeprecated:\ - \ Use reasons instead." - reasons: - type: "array" - description: "An optional list of explanations for the phase transition." - items: - $ref: "#/definitions/eventEventReason" - task_type: - type: "string" - description: "A predefined yet extensible Task type identifier. If the task\ - \ definition is already registered in flyte admin\nthis type will be identical,\ - \ but not all task executions necessarily use pre-registered definitions\ - \ and this\ntype is useful to render the task in the UI, filter task executions,\ - \ etc." - metadata: - description: "Metadata around how a task was executed." - $ref: "#/definitions/flyteidleventTaskExecutionMetadata" - event_version: - type: "integer" - format: "int32" - description: "The event version is used to indicate versioned changes in how\ - \ data is reported using this\nproto message. For example, event_verison\ - \ > 0 means that maps tasks report logs using the\nTaskExecutionMetadata\ - \ ExternalResourceInfo fields for each subtask rather than the TaskLog\n\ - in this message." - reported_at: - type: "string" - format: "date-time" - description: "This timestamp represents the instant when the event was reported\ - \ by the executing framework. For example, a k8s\npod task may be marked\ - \ completed at (ie. `occurred_at`) the instant the container running user\ - \ code completes,\nbut this event will not be reported until the pod is\ - \ marked as completed. Extracting both of these timestamps\nfacilitates\ - \ a more accurate portrayal of the evaluation time-series." - description: "Plugin specific execution event information. For tasks like Python,\ - \ Hive, Spark, DynamicJob." - eventWorkflowExecutionEvent: - type: "object" - properties: - execution_id: - title: "Workflow execution id" - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - producer_id: - type: "string" - title: "the id of the originator (Propeller) of the event" - phase: - $ref: "#/definitions/coreWorkflowExecutionPhase" - occurred_at: - type: "string" - format: "date-time" - description: "This timestamp represents when the original event occurred,\ - \ it is generated\nby the executor of the workflow." - output_uri: - type: "string" - description: "URL to the output of the execution, it encodes all the information\n\ - including Cloud source provider. ie., s3://..." - error: - title: "Error information for the execution" - $ref: "#/definitions/coreExecutionError" - output_data: - description: "Raw output data produced by this workflow execution." - $ref: "#/definitions/coreLiteralMap" - flyteidladminDynamicWorkflowNodeMetadata: - type: "object" - properties: - id: - description: "id represents the unique identifier of the workflow." - $ref: "#/definitions/coreIdentifier" - compiled_workflow: - description: "Represents the compiled representation of the embedded dynamic\ - \ workflow." - $ref: "#/definitions/coreCompiledWorkflowClosure" - dynamic_job_spec_uri: - type: "string" - description: "dynamic_job_spec_uri is the location of the DynamicJobSpec proto\ - \ message for this DynamicWorkflow. This is\nrequired to correctly recover\ - \ partially completed executions where the subworkflow has already been\ - \ compiled." - description: "For dynamic workflow nodes we capture information about the dynamic\ - \ workflow definition that gets generated." - example: - compiled_workflow: - sub_workflows: - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - tasks: - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - - template: - container: - args: - - "args" - - "args" - image: "image" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - env: - - value: "value" - key: "key" - - value: "value" - key: "key" - ports: - - container_port: 2 - - container_port: 2 - config: - - value: "value" - key: "key" - - value: "value" - key: "key" - command: - - "command" - - "command" - architecture: {} - metadata: - retries: - retries: 0 - pod_template_name: "pod_template_name" - discoverable: true - runtime: - flavor: "flavor" - type: {} - version: "version" - cache_serializable: true - discovery_version: "discovery_version" - deprecated_error_message: "deprecated_error_message" - interruptible: true - timeout: "timeout" - generates_deck: true - cache_ignore_input_vars: - - "cache_ignore_input_vars" - - "cache_ignore_input_vars" - tags: - key: "tags" - task_type_version: 7 - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - custom: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - k8s_pod: - metadata: - annotations: - key: "annotations" - labels: - key: "labels" - pod_spec: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - data_config: - io_strategy: - upload_mode: {} - download_mode: {} - format: {} - output_path: "output_path" - enabled: true - input_path: "input_path" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - type: "type" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - config: - key: "config" - security_context: - run_as: - execution_identity: "execution_identity" - iam_role: "iam_role" - oauth2_client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - k8s_service_account: "k8s_service_account" - tokens: - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - - idp_discovery_endpoint: "idp_discovery_endpoint" - name: "name" - client: - client_secret: - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - client_id: "client_id" - type: {} - token_endpoint: "token_endpoint" - secrets: - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - - mount_requirement: {} - group_version: "group_version" - key: "key" - group: "group" - sql: - dialect: {} - statement: "statement" - primary: - template: - outputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - metadata: - on_failure: {} - quality_of_service: - tier: {} - spec: - queueing_budget: "queueing_budget" - tags: - key: "tags" - failure_node: - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - nodes: - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - - branch_node: - if_else: - other: - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - error: - message: "message" - failed_node_id: "failed_node_id" - case: - condition: - conjunction: - operator: {} - comparison: - left_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - right_value: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - var: "var" - operator: {} - array_node: - min_successes: 5 - parallelism: 1 - min_success_ratio: 5.637377 - metadata: - retries: - retries: 0 - name: "name" - interruptible: true - timeout: "timeout" - gate_node: - sleep: - duration: "duration" - approve: - signal_id: "signal_id" - signal: - output_variable_name: "output_variable_name" - signal_id: "signal_id" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - upstream_node_ids: - - "upstream_node_ids" - - "upstream_node_ids" - inputs: - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - - var: "var" - binding: - scalar: - schema: - type: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - uri: "uri" - blob: - metadata: - type: - dimensionality: {} - format: "format" - uri: "uri" - none_type: {} - primitive: - duration: "duration" - datetime: "2000-01-23T04:56:07.000+00:00" - string_value: "string_value" - boolean: true - float_value: 5.962133916683182 - integer: "integer" - binary: - tag: "tag" - value: "value" - structured_dataset: - metadata: - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - uri: "uri" - union: - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - error: - message: "message" - failed_node_id: "failed_node_id" - generic: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - promise: - attr_path: - - string_value: "string_value" - int_value: 6 - - string_value: "string_value" - int_value: 6 - var: "var" - node_id: "node_id" - collection: - bindings: - - null - - null - union: - targetType: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - map: - bindings: {} - output_aliases: - - var: "var" - alias: "alias" - - var: "var" - alias: "alias" - task_node: - reference_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - overrides: - extended_resources: - gpu_accelerator: - partition_size: "partition_size" - unpartitioned: true - device: "device" - resources: - requests: - - name: {} - value: "value" - - name: {} - value: "value" - limits: - - name: {} - value: "value" - - name: {} - value: "value" - id: "id" - workflow_node: - launchplan_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - sub_workflow_ref: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - metadata_defaults: - interruptible: true - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - interface: - outputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - inputs: - variables: - key: - description: "description" - artifact_partial_id: - partitions: - value: - key: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - artifact_key: - domain: "domain" - name: "name" - project: "project" - version: "version" - time_partition: - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - artifact_tag: - artifact_key: - domain: "domain" - name: "name" - project: "project" - value: - input_binding: - var: "var" - static_value: "static_value" - triggered_binding: - transform: "transform" - partition_key: "partition_key" - bind_to_time_partition: true - index: 1 - time_value: "2000-01-23T04:56:07.000+00:00" - connections: - upstream: - key: - ids: - - "ids" - - "ids" - downstream: - key: - ids: - - "ids" - - "ids" - dynamic_job_spec_uri: "dynamic_job_spec_uri" - id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - flyteidladminNodeExecution: - type: "object" - properties: - id: - description: "Uniquely identifies an individual node execution." - $ref: "#/definitions/coreNodeExecutionIdentifier" - input_uri: - type: "string" - description: "Path to remote data store where input blob is stored." - closure: - description: "Computed results associated with this node execution." - $ref: "#/definitions/adminNodeExecutionClosure" - metadata: - title: "Metadata for Node Execution" - $ref: "#/definitions/adminNodeExecutionMetaData" - description: "Encapsulates all details for a single node execution entity.\nA\ - \ node represents a component in the overall workflow graph. A node launch a\ - \ task, multiple tasks, an entire nested\nsub-workflow, or even a separate child-workflow\ - \ execution.\nThe same task can be called repeatedly in a single workflow but\ - \ each node is unique." - example: - metadata: - retry_group: "retry_group" - is_parent_node: true - is_array: true - spec_node_id: "spec_node_id" - is_dynamic: true - input_uri: "input_uri" - id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - closure: - phase: {} - duration: "duration" - workflow_node_metadata: - executionId: - org: "org" - domain: "domain" - name: "name" - project: "project" - updated_at: "2000-01-23T04:56:07.000+00:00" - task_node_metadata: - catalog_key: - source_task_execution: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - checkpoint_uri: "checkpoint_uri" - cache_status: {} - dynamic_job_spec_uri: "dynamic_job_spec_uri" - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - output_data: - literals: {} - deck_uri: "deck_uri" - flyteidladminTaskCreateRequest: - type: "object" - properties: - id: - title: "id represents the unique identifier of the task.\n+required" - $ref: "#/definitions/coreIdentifier" - spec: - title: "Represents the specification for task.\n+required" - $ref: "#/definitions/adminTaskSpec" - title: "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task`\ - \ for more details" - flyteidladminTaskCreateResponse: - type: "object" - description: "Represents a response structure if task creation succeeds." - flyteidladminTaskExecution: - type: "object" - properties: - id: - description: "Unique identifier for the task execution." - $ref: "#/definitions/coreTaskExecutionIdentifier" - input_uri: - type: "string" - description: "Path to remote data store where input blob is stored." - closure: - description: "Task execution details and results." - $ref: "#/definitions/adminTaskExecutionClosure" - is_parent: - type: "boolean" - format: "boolean" - description: "Whether this task spawned nodes." - description: "Encapsulates all details for a single task execution entity.\nA\ - \ task execution represents an instantiated task, including all inputs and additional\n\ - metadata as well as computed results included state, outputs, and duration-based\ - \ attributes." - example: - input_uri: "input_uri" - id: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - is_parent: true - closure: - phase: {} - reason: "reason" - metadata: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - reasons: - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - - occurred_at: "2000-01-23T04:56:07.000+00:00" - message: "message" - created_at: "2000-01-23T04:56:07.000+00:00" - error: - code: "code" - kind: {} - message: "message" - error_uri: "error_uri" - duration: "duration" - event_version: 1 - updated_at: "2000-01-23T04:56:07.000+00:00" - custom_info: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - output_uri: "output_uri" - started_at: "2000-01-23T04:56:07.000+00:00" - task_type: "task_type" - output_data: - literals: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - flyteidladminTaskNodeMetadata: - type: "object" - properties: - cache_status: - description: "Captures the status of caching for this execution." - $ref: "#/definitions/coreCatalogCacheStatus" - catalog_key: - title: "This structure carries the catalog artifact information" - $ref: "#/definitions/coreCatalogMetadata" - checkpoint_uri: - type: "string" - title: "The latest checkpoint location" - title: "Metadata for the case in which the node is a TaskNode" - example: - catalog_key: - source_task_execution: - task_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - node_execution_id: - execution_id: - org: "org" - domain: "domain" - name: "name" - project: "project" - node_id: "node_id" - retry_attempt: 0 - dataset_id: - org: "org" - domain: "domain" - resource_type: {} - name: "name" - project: "project" - version: "version" - artifact_tag: - name: "name" - artifact_id: "artifact_id" - checkpoint_uri: "checkpoint_uri" - cache_status: {} - flyteidladminWorkflowNodeMetadata: - type: "object" - properties: - executionId: - description: "The identifier for a workflow execution launched by a node." - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - title: "Metadata for a WorkflowNode" - example: - executionId: - org: "org" - domain: "domain" - name: "name" - project: "project" - flyteidleventDynamicWorkflowNodeMetadata: - type: "object" - properties: - id: - description: "id represents the unique identifier of the workflow." - $ref: "#/definitions/coreIdentifier" - compiled_workflow: - description: "Represents the compiled representation of the embedded dynamic\ - \ workflow." - $ref: "#/definitions/coreCompiledWorkflowClosure" - dynamic_job_spec_uri: - type: "string" - description: "dynamic_job_spec_uri is the location of the DynamicJobSpec proto\ - \ message for this DynamicWorkflow. This is\nrequired to correctly recover\ - \ partially completed executions where the workflow has already been compiled." - description: "For dynamic workflow nodes we send information about the dynamic\ - \ workflow definition that gets generated." - flyteidleventTaskExecutionMetadata: - type: "object" - properties: - generated_name: - type: "string" - description: "Unique, generated name for this task execution used by the backend." - external_resources: - type: "array" - description: "Additional data on external resources on other back-ends or\ - \ platforms (e.g. Hive, Qubole, etc) launched by this task execution." - items: - $ref: "#/definitions/eventExternalResourceInfo" - resource_pool_info: - type: "array" - description: "Includes additional data on concurrent resource management used\ - \ during execution..\nThis is a repeated field because a plugin can request\ - \ multiple resource allocations during execution." - items: - $ref: "#/definitions/eventResourcePoolInfo" - plugin_identifier: - type: "string" - description: "The identifier of the plugin used to execute this task." - instance_class: - $ref: "#/definitions/TaskExecutionMetadataInstanceClass" - description: "Holds metadata around how a task was executed.\nAs a task transitions\ - \ across event phases during execution some attributes, such its generated name,\ - \ generated external resources,\nand more may grow in size but not change necessarily\ - \ based on the phase transition that sparked the event update.\nMetadata is\ - \ a container for these attributes across the task execution lifecycle." - example: - external_resources: - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - index: 0 - external_id: "external_id" - retry_attempt: 6 - cache_status: {} - logs: - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - - message_format: {} - name: "name" - uri: "uri" - ttl: "ttl" - instance_class: {} - resource_pool_info: - - allocation_token: "allocation_token" - namespace: "namespace" - - allocation_token: "allocation_token" - namespace: "namespace" - generated_name: "generated_name" - plugin_identifier: "plugin_identifier" - flyteidleventTaskNodeMetadata: - type: "object" - properties: - cache_status: - description: "Captures the status of caching for this execution." - $ref: "#/definitions/coreCatalogCacheStatus" - catalog_key: - title: "This structure carries the catalog artifact information" - $ref: "#/definitions/coreCatalogMetadata" - reservation_status: - description: "Captures the status of cache reservations for this execution." - $ref: "#/definitions/CatalogReservationStatus" - checkpoint_uri: - type: "string" - title: "The latest checkpoint location" - dynamic_workflow: - description: "In the case this task launched a dynamic workflow we capture\ - \ its structure here." - $ref: "#/definitions/flyteidleventDynamicWorkflowNodeMetadata" - flyteidleventWorkflowNodeMetadata: - type: "object" - properties: - execution_id: - $ref: "#/definitions/coreWorkflowExecutionIdentifier" - title: "For Workflow Nodes we need to send information about the workflow that's\ - \ launched" - protobufAny: - type: "object" - properties: - type_url: - type: "string" - description: "A URL/resource name that uniquely identifies the type of the\ - \ serialized\nprotocol buffer message. This string must contain at least\n\ - one \"/\" character. The last segment of the URL's path must represent\n\ - the fully qualified name of the type (as in\n`path/google.protobuf.Duration`).\ - \ The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\ - \nIn practice, teams usually precompile into the binary all types that they\n\ - expect it to use in the context of Any. However, for URLs which use the\n\ - scheme `http`, `https`, or no scheme, one can optionally set up a type\n\ - server that maps type URLs to message definitions as follows:\n\n* If no\ - \ scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must\ - \ yield a [google.protobuf.Type][]\n value in binary format, or produce\ - \ an error.\n* Applications are allowed to cache lookup results based on\ - \ the\n URL, or have them precompiled into a binary to avoid any\n lookup.\ - \ Therefore, binary compatibility needs to be preserved\n on changes to\ - \ types. (Use versioned type names to manage\n breaking changes.)\n\nNote:\ - \ this functionality is not currently available in the official\nprotobuf\ - \ release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\ - \nSchemes other than `http`, `https` (or the empty scheme) might be\nused\ - \ with implementation specific semantics." - value: - type: "string" - format: "byte" - description: "Must be a valid serialized protocol buffer of the above specified\ - \ type." - pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" - description: "`Any` contains an arbitrary serialized protocol buffer message along\ - \ with a\nURL that describes the type of the serialized message.\n\nProtobuf\ - \ library provides support to pack/unpack Any values in the form\nof utility\ - \ functions or additional generated methods of the Any type.\n\nExample 1: Pack\ - \ and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n\ - \ ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack\ - \ and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n\ - \ ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n\ - \ }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n\ - \ any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n\ - \ any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in\ - \ Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n\ - \ ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo);\ - \ err != nil {\n ...\n }\n\nThe pack methods provided by protobuf\ - \ library will by default use\n'type.googleapis.com/full.type.name' as the type\ - \ URL and the unpack\nmethods only use the fully qualified type name after the\ - \ last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n\ - name \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses\ - \ the regular\nrepresentation of the deserialized, embedded message, with an\n\ - additional field `@type` which contains the type URL. Example:\n\n package\ - \ google.profile;\n message Person {\n string first_name = 1;\n \ - \ string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\"\ - ,\n \"firstName\": ,\n \"lastName\": \n }\n\nIf\ - \ the embedded message type is well-known and has a custom JSON\nrepresentation,\ - \ that representation will be embedded adding a field\n`value` which holds the\ - \ custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\ - \n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n\ - \ \"value\": \"1.212s\"\n }" - example: - value: "value" - type_url: "type_url" - protobufListValue: - type: "object" - properties: - values: - type: "array" - description: "Repeated field of dynamically typed values." - items: - $ref: "#/definitions/protobufValue" - description: "`ListValue` is a wrapper around a repeated field of values.\n\n\ - The JSON representation for `ListValue` is JSON array." - example: - values: - - null - - null - protobufNullValue: - type: "string" - description: "`NullValue` is a singleton enumeration to represent the null value\ - \ for the\n`Value` type union.\n\n The JSON representation for `NullValue` is\ - \ JSON `null`.\n\n - NULL_VALUE: Null value." - enum: - - "NULL_VALUE" - default: "NULL_VALUE" - protobufStruct: - type: "object" - properties: - fields: - type: "object" - description: "Unordered map of dynamically typed values." - additionalProperties: - $ref: "#/definitions/protobufValue" - description: "`Struct` represents a structured data value, consisting of fields\n\ - which map to dynamically typed values. In some languages, `Struct`\nmight be\ - \ supported by a native representation. For example, in\nscripting languages\ - \ like JS a struct is represented as an\nobject. The details of that representation\ - \ are described together\nwith the proto support for the language.\n\nThe JSON\ - \ representation for `Struct` is JSON object." - example: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - protobufValue: - type: "object" - properties: - null_value: - description: "Represents a null value." - $ref: "#/definitions/protobufNullValue" - number_value: - type: "number" - format: "double" - description: "Represents a double value." - string_value: - type: "string" - description: "Represents a string value." - bool_value: - type: "boolean" - format: "boolean" - description: "Represents a boolean value." - struct_value: - description: "Represents a structured value." - $ref: "#/definitions/protobufStruct" - list_value: - description: "Represents a repeated `Value`." - $ref: "#/definitions/protobufListValue" - description: "`Value` represents a dynamically typed value which can be either\n\ - null, a number, a string, a boolean, a recursive struct value, or a\nlist of\ - \ values. A producer of value is expected to set one of that\nvariants, absence\ - \ of any variant indicates an error.\n\nThe JSON representation for `Value`\ - \ is JSON value." - example: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go deleted file mode 100644 index 6c18ff3633..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ /dev/null @@ -1,12332 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - "fmt" - "github.com/antihax/optional" -) - -// Linger please -var ( - _ context.Context -) - -type AdminServiceApiService service - -/* -AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) CreateExecution(ctx context.Context, body AdminExecutionCreateRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the resource. - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) CreateExecution2(ctx context.Context, org string, body AdminExecutionCreateRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/org/{org}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminLaunchPlanCreateResponse -*/ -func (a *AdminServiceApiService) CreateLaunchPlan(ctx context.Context, body AdminLaunchPlanCreateRequest) (AdminLaunchPlanCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param body - -@return AdminLaunchPlanCreateResponse -*/ -func (a *AdminServiceApiService) CreateLaunchPlan2(ctx context.Context, idOrg string, body AdminLaunchPlanCreateRequest) (AdminLaunchPlanCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/org/{id.org}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminNodeExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateNodeEvent(ctx context.Context, body AdminNodeExecutionEventRequest) (AdminNodeExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/nodes" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param eventIdExecutionIdOrg Optional, org key applied to the resource. - * @param body - -@return AdminNodeExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateNodeEvent2(ctx context.Context, eventIdExecutionIdOrg string, body AdminNodeExecutionEventRequest) (AdminNodeExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/org/{event.id.execution_id.org}/nodes" - localVarPath = strings.Replace(localVarPath, "{"+"event.id.execution_id.org"+"}", fmt.Sprintf("%v", eventIdExecutionIdOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return FlyteidladminTaskCreateResponse -*/ -func (a *AdminServiceApiService) CreateTask(ctx context.Context, body FlyteidladminTaskCreateRequest) (FlyteidladminTaskCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminTaskCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminTaskCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task` definition - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param body - -@return FlyteidladminTaskCreateResponse -*/ -func (a *AdminServiceApiService) CreateTask2(ctx context.Context, idOrg string, body FlyteidladminTaskCreateRequest) (FlyteidladminTaskCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminTaskCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/org/{id.org}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminTaskCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminTaskExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateTaskEvent(ctx context.Context, body AdminTaskExecutionEventRequest) (AdminTaskExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/tasks" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param eventParentNodeExecutionIdExecutionIdOrg Optional, org key applied to the resource. - * @param body - -@return AdminTaskExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateTaskEvent2(ctx context.Context, eventParentNodeExecutionIdExecutionIdOrg string, body AdminTaskExecutionEventRequest) (AdminTaskExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks" - localVarPath = strings.Replace(localVarPath, "{"+"event.parent_node_execution_id.execution_id.org"+"}", fmt.Sprintf("%v", eventParentNodeExecutionIdExecutionIdOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminWorkflowCreateResponse -*/ -func (a *AdminServiceApiService) CreateWorkflow(ctx context.Context, body AdminWorkflowCreateRequest) (AdminWorkflowCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param body - -@return AdminWorkflowCreateResponse -*/ -func (a *AdminServiceApiService) CreateWorkflow2(ctx context.Context, idOrg string, body AdminWorkflowCreateRequest) (AdminWorkflowCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/org/{id.org}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminWorkflowExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateWorkflowEvent(ctx context.Context, body AdminWorkflowExecutionEventRequest) (AdminWorkflowExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/workflows" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param eventExecutionIdOrg Optional, org key applied to the resource. - * @param body - -@return AdminWorkflowExecutionEventResponse -*/ -func (a *AdminServiceApiService) CreateWorkflowEvent2(ctx context.Context, eventExecutionIdOrg string, body AdminWorkflowExecutionEventRequest) (AdminWorkflowExecutionEventResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionEventResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/events/org/{event.execution_id.org}/workflows" - localVarPath = strings.Replace(localVarPath, "{"+"event.execution_id.org"+"}", fmt.Sprintf("%v", eventExecutionIdOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionEventResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param body - -@return AdminProjectAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteProjectAttributes(ctx context.Context, project string, body AdminProjectAttributesDeleteRequest) (AdminProjectAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_attributes/{project}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the project. - * @param project Unique project id which this set of attributes references. +required - * @param body - -@return AdminProjectAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteProjectAttributes2(ctx context.Context, org string, project string, body AdminProjectAttributesDeleteRequest) (AdminProjectAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/org/{org}/{project}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param body - -@return AdminProjectDomainAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteProjectDomainAttributes(ctx context.Context, project string, domain string, body AdminProjectDomainAttributesDeleteRequest) (AdminProjectDomainAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the attributes. - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param body - -@return AdminProjectDomainAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteProjectDomainAttributes2(ctx context.Context, org string, project string, domain string, body AdminProjectDomainAttributesDeleteRequest) (AdminProjectDomainAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/org/{org}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param workflow Workflow name which this set of attributes references. +required - * @param body - -@return AdminWorkflowAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, body AdminWorkflowAttributesDeleteRequest) (AdminWorkflowAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the attributes. - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param workflow Workflow name which this set of attributes references. +required - * @param body - -@return AdminWorkflowAttributesDeleteResponse -*/ -func (a *AdminServiceApiService) DeleteWorkflowAttributes2(ctx context.Context, org string, project string, domain string, workflow string, body AdminWorkflowAttributesDeleteRequest) (AdminWorkflowAttributesDeleteResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesDeleteResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesDeleteResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *GetActiveLaunchPlanOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminLaunchPlan -*/ - -type GetActiveLaunchPlanOpts struct { - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetActiveLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *GetActiveLaunchPlanOpts) (AdminLaunchPlan, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlan - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - -@return AdminLaunchPlan -*/ -func (a *AdminServiceApiService) GetActiveLaunchPlan2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string) (AdminLaunchPlan, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlan - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idResourceType Identifies the specific type of resource that this identifier corresponds to. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetDescriptionEntityOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminDescriptionEntity -*/ - -type GetDescriptionEntityOpts struct { - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetDescriptionEntity(ctx context.Context, idResourceType string, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetDescriptionEntityOpts) (AdminDescriptionEntity, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDescriptionEntity - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.resource_type"+"}", fmt.Sprintf("%v", idResourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDescriptionEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idResourceType Identifies the specific type of resource that this identifier corresponds to. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - -@return AdminDescriptionEntity -*/ -func (a *AdminServiceApiService) GetDescriptionEntity2(ctx context.Context, idOrg string, idResourceType string, idProject string, idDomain string, idName string, idVersion string) (AdminDescriptionEntity, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDescriptionEntity - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.resource_type"+"}", fmt.Sprintf("%v", idResourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDescriptionEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - * @param optional nil or *GetDynamicNodeWorkflowOpts - Optional Parameters: - * @param "IdExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminDynamicNodeWorkflowResponse -*/ - -type GetDynamicNodeWorkflowOpts struct { - IdExecutionIdOrg optional.String -} - -func (a *AdminServiceApiService) GetDynamicNodeWorkflow(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string, localVarOptionals *GetDynamicNodeWorkflowOpts) (AdminDynamicNodeWorkflowResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDynamicNodeWorkflowResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdExecutionIdOrg.IsSet() { - localVarQueryParams.Add("id.execution_id.org", parameterToString(localVarOptionals.IdExecutionIdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDynamicNodeWorkflowResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdOrg Optional, org key applied to the resource. - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - -@return AdminDynamicNodeWorkflowResponse -*/ -func (a *AdminServiceApiService) GetDynamicNodeWorkflow2(ctx context.Context, idExecutionIdOrg string, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (AdminDynamicNodeWorkflowResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDynamicNodeWorkflowResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.org"+"}", fmt.Sprintf("%v", idExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDynamicNodeWorkflowResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param optional nil or *GetExecutionOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminExecution -*/ - -type GetExecutionOpts struct { - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetExecution(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *GetExecutionOpts) (AdminExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - -@return AdminExecution -*/ -func (a *AdminServiceApiService) GetExecution2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string) (AdminExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param optional nil or *GetExecutionDataOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminWorkflowExecutionGetDataResponse -*/ - -type GetExecutionDataOpts struct { - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *GetExecutionDataOpts) (AdminWorkflowExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - -@return AdminWorkflowExecutionGetDataResponse -*/ -func (a *AdminServiceApiService) GetExecutionData2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string) (AdminWorkflowExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param optional nil or *GetExecutionMetricsOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Depth" (optional.Int32) - depth defines the number of Flyte entity levels to traverse when breaking down execution details. - -@return AdminWorkflowExecutionGetMetricsResponse -*/ - -type GetExecutionMetricsOpts struct { - IdOrg optional.String - Depth optional.Int32 -} - -func (a *AdminServiceApiService) GetExecutionMetrics(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *GetExecutionMetricsOpts) (AdminWorkflowExecutionGetMetricsResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionGetMetricsResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Depth.IsSet() { - localVarQueryParams.Add("depth", parameterToString(localVarOptionals.Depth.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionGetMetricsResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param optional nil or *GetExecutionMetrics2Opts - Optional Parameters: - * @param "Depth" (optional.Int32) - depth defines the number of Flyte entity levels to traverse when breaking down execution details. - -@return AdminWorkflowExecutionGetMetricsResponse -*/ - -type GetExecutionMetrics2Opts struct { - Depth optional.Int32 -} - -func (a *AdminServiceApiService) GetExecutionMetrics2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, localVarOptionals *GetExecutionMetrics2Opts) (AdminWorkflowExecutionGetMetricsResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowExecutionGetMetricsResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Depth.IsSet() { - localVarQueryParams.Add("depth", parameterToString(localVarOptionals.Depth.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowExecutionGetMetricsResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetLaunchPlanOpts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminLaunchPlan -*/ - -type GetLaunchPlanOpts struct { - IdResourceType optional.String - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetLaunchPlanOpts) (AdminLaunchPlan, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlan - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetLaunchPlan2Opts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - -@return AdminLaunchPlan -*/ - -type GetLaunchPlan2Opts struct { - IdResourceType optional.String -} - -func (a *AdminServiceApiService) GetLaunchPlan2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetLaunchPlan2Opts) (AdminLaunchPlan, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlan - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlan - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *GetNamedEntityOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminNamedEntity -*/ - -type GetNamedEntityOpts struct { - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, localVarOptionals *GetNamedEntityOpts) (AdminNamedEntity, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntity - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param resourceType Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - -@return AdminNamedEntity -*/ -func (a *AdminServiceApiService) GetNamedEntity2(ctx context.Context, idOrg string, resourceType string, idProject string, idDomain string, idName string) (AdminNamedEntity, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntity - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntity - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - * @param optional nil or *GetNodeExecutionOpts - Optional Parameters: - * @param "IdExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - -@return FlyteidladminNodeExecution -*/ - -type GetNodeExecutionOpts struct { - IdExecutionIdOrg optional.String -} - -func (a *AdminServiceApiService) GetNodeExecution(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string, localVarOptionals *GetNodeExecutionOpts) (FlyteidladminNodeExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminNodeExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdExecutionIdOrg.IsSet() { - localVarQueryParams.Add("id.execution_id.org", parameterToString(localVarOptionals.IdExecutionIdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminNodeExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdOrg Optional, org key applied to the resource. - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - -@return FlyteidladminNodeExecution -*/ -func (a *AdminServiceApiService) GetNodeExecution2(ctx context.Context, idExecutionIdOrg string, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (FlyteidladminNodeExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminNodeExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.org"+"}", fmt.Sprintf("%v", idExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminNodeExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - * @param optional nil or *GetNodeExecutionDataOpts - Optional Parameters: - * @param "IdExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminNodeExecutionGetDataResponse -*/ - -type GetNodeExecutionDataOpts struct { - IdExecutionIdOrg optional.String -} - -func (a *AdminServiceApiService) GetNodeExecutionData(ctx context.Context, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string, localVarOptionals *GetNodeExecutionDataOpts) (AdminNodeExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdExecutionIdOrg.IsSet() { - localVarQueryParams.Add("id.execution_id.org", parameterToString(localVarOptionals.IdExecutionIdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idExecutionIdOrg Optional, org key applied to the resource. - * @param idExecutionIdProject Name of the project the resource belongs to. - * @param idExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idExecutionIdName User or system provided value for the resource. - * @param idNodeId - -@return AdminNodeExecutionGetDataResponse -*/ -func (a *AdminServiceApiService) GetNodeExecutionData2(ctx context.Context, idExecutionIdOrg string, idExecutionIdProject string, idExecutionIdDomain string, idExecutionIdName string, idNodeId string) (AdminNodeExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.org"+"}", fmt.Sprintf("%v", idExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.project"+"}", fmt.Sprintf("%v", idExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.domain"+"}", fmt.Sprintf("%v", idExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.execution_id.name"+"}", fmt.Sprintf("%v", idExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_id"+"}", fmt.Sprintf("%v", idNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param optional nil or *GetProjectAttributesOpts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - * @param "Org" (optional.String) - Optional, org key applied to the project. - -@return AdminProjectAttributesGetResponse -*/ - -type GetProjectAttributesOpts struct { - ResourceType optional.String - Org optional.String -} - -func (a *AdminServiceApiService) GetProjectAttributes(ctx context.Context, project string, localVarOptionals *GetProjectAttributesOpts) (AdminProjectAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_attributes/{project}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the project. - * @param project Unique project id which this set of attributes references. +required - * @param optional nil or *GetProjectAttributes2Opts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - -@return AdminProjectAttributesGetResponse -*/ - -type GetProjectAttributes2Opts struct { - ResourceType optional.String -} - -func (a *AdminServiceApiService) GetProjectAttributes2(ctx context.Context, org string, project string, localVarOptionals *GetProjectAttributes2Opts) (AdminProjectAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/org/{org}/{project}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param optional nil or *GetProjectDomainAttributesOpts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - * @param "Org" (optional.String) - Optional, org key applied to the attributes. - -@return AdminProjectDomainAttributesGetResponse -*/ - -type GetProjectDomainAttributesOpts struct { - ResourceType optional.String - Org optional.String -} - -func (a *AdminServiceApiService) GetProjectDomainAttributes(ctx context.Context, project string, domain string, localVarOptionals *GetProjectDomainAttributesOpts) (AdminProjectDomainAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the attributes. - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param optional nil or *GetProjectDomainAttributes2Opts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - -@return AdminProjectDomainAttributesGetResponse -*/ - -type GetProjectDomainAttributes2Opts struct { - ResourceType optional.String -} - -func (a *AdminServiceApiService) GetProjectDomainAttributes2(ctx context.Context, org string, project string, domain string, localVarOptionals *GetProjectDomainAttributes2Opts) (AdminProjectDomainAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/org/{org}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetTaskOpts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminTask -*/ - -type GetTaskOpts struct { - IdResourceType optional.String - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetTask(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetTaskOpts) (AdminTask, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTask - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTask - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Task` definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetTask2Opts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - -@return AdminTask -*/ - -type GetTask2Opts struct { - IdResourceType optional.String -} - -func (a *AdminServiceApiService) GetTask2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetTask2Opts) (AdminTask, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTask - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTask - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param idNodeExecutionIdNodeId - * @param idTaskIdProject Name of the project the resource belongs to. - * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idTaskIdName User provided value for the resource. - * @param idTaskIdVersion Specific version of the resource. - * @param idRetryAttempt - * @param optional nil or *GetTaskExecutionOpts - Optional Parameters: - * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "IdTaskIdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "IdNodeExecutionIdExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - -@return FlyteidladminTaskExecution -*/ - -type GetTaskExecutionOpts struct { - IdTaskIdResourceType optional.String - IdTaskIdOrg optional.String - IdNodeExecutionIdExecutionIdOrg optional.String -} - -func (a *AdminServiceApiService) GetTaskExecution(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionOpts) (FlyteidladminTaskExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminTaskExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/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}" - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdTaskIdOrg.IsSet() { - localVarQueryParams.Add("id.task_id.org", parameterToString(localVarOptionals.IdTaskIdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdNodeExecutionIdExecutionIdOrg.IsSet() { - localVarQueryParams.Add("id.node_execution_id.execution_id.org", parameterToString(localVarOptionals.IdNodeExecutionIdExecutionIdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminTaskExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idNodeExecutionIdExecutionIdOrg Optional, org key applied to the resource. - * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param idNodeExecutionIdNodeId - * @param idTaskIdProject Name of the project the resource belongs to. - * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idTaskIdName User provided value for the resource. - * @param idTaskIdVersion Specific version of the resource. - * @param idRetryAttempt - * @param optional nil or *GetTaskExecution2Opts - Optional Parameters: - * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "IdTaskIdOrg" (optional.String) - Optional, org key applied to the resource. - -@return FlyteidladminTaskExecution -*/ - -type GetTaskExecution2Opts struct { - IdTaskIdResourceType optional.String - IdTaskIdOrg optional.String -} - -func (a *AdminServiceApiService) GetTaskExecution2(ctx context.Context, idNodeExecutionIdExecutionIdOrg string, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecution2Opts) (FlyteidladminTaskExecution, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue FlyteidladminTaskExecution - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}" - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.org"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdTaskIdOrg.IsSet() { - localVarQueryParams.Add("id.task_id.org", parameterToString(localVarOptionals.IdTaskIdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v FlyteidladminTaskExecution - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param idNodeExecutionIdNodeId - * @param idTaskIdProject Name of the project the resource belongs to. - * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idTaskIdName User provided value for the resource. - * @param idTaskIdVersion Specific version of the resource. - * @param idRetryAttempt - * @param optional nil or *GetTaskExecutionDataOpts - Optional Parameters: - * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "IdTaskIdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "IdNodeExecutionIdExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminTaskExecutionGetDataResponse -*/ - -type GetTaskExecutionDataOpts struct { - IdTaskIdResourceType optional.String - IdTaskIdOrg optional.String - IdNodeExecutionIdExecutionIdOrg optional.String -} - -func (a *AdminServiceApiService) GetTaskExecutionData(ctx context.Context, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionDataOpts) (AdminTaskExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/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}" - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdTaskIdOrg.IsSet() { - localVarQueryParams.Add("id.task_id.org", parameterToString(localVarOptionals.IdTaskIdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdNodeExecutionIdExecutionIdOrg.IsSet() { - localVarQueryParams.Add("id.node_execution_id.execution_id.org", parameterToString(localVarOptionals.IdNodeExecutionIdExecutionIdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idNodeExecutionIdExecutionIdOrg Optional, org key applied to the resource. - * @param idNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param idNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param idNodeExecutionIdNodeId - * @param idTaskIdProject Name of the project the resource belongs to. - * @param idTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idTaskIdName User provided value for the resource. - * @param idTaskIdVersion Specific version of the resource. - * @param idRetryAttempt - * @param optional nil or *GetTaskExecutionData2Opts - Optional Parameters: - * @param "IdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "IdTaskIdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminTaskExecutionGetDataResponse -*/ - -type GetTaskExecutionData2Opts struct { - IdTaskIdResourceType optional.String - IdTaskIdOrg optional.String -} - -func (a *AdminServiceApiService) GetTaskExecutionData2(ctx context.Context, idNodeExecutionIdExecutionIdOrg string, idNodeExecutionIdExecutionIdProject string, idNodeExecutionIdExecutionIdDomain string, idNodeExecutionIdExecutionIdName string, idNodeExecutionIdNodeId string, idTaskIdProject string, idTaskIdDomain string, idTaskIdName string, idTaskIdVersion string, idRetryAttempt int64, localVarOptionals *GetTaskExecutionData2Opts) (AdminTaskExecutionGetDataResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionGetDataResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}" - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.org"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", idNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", idNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.project"+"}", fmt.Sprintf("%v", idTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.domain"+"}", fmt.Sprintf("%v", idTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.name"+"}", fmt.Sprintf("%v", idTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.task_id.version"+"}", fmt.Sprintf("%v", idTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.retry_attempt"+"}", fmt.Sprintf("%v", idRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("id.task_id.resource_type", parameterToString(localVarOptionals.IdTaskIdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdTaskIdOrg.IsSet() { - localVarQueryParams.Add("id.task_id.org", parameterToString(localVarOptionals.IdTaskIdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionGetDataResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - -@return AdminGetVersionResponse -*/ -func (a *AdminServiceApiService) GetVersion(ctx context.Context) (AdminGetVersionResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminGetVersionResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/version" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminGetVersionResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetWorkflowOpts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - -@return AdminWorkflow -*/ - -type GetWorkflowOpts struct { - IdResourceType optional.String - IdOrg optional.String -} - -func (a *AdminServiceApiService) GetWorkflow(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetWorkflowOpts) (AdminWorkflow, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflow - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflow - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param optional nil or *GetWorkflow2Opts - Optional Parameters: - * @param "IdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - -@return AdminWorkflow -*/ - -type GetWorkflow2Opts struct { - IdResourceType optional.String -} - -func (a *AdminServiceApiService) GetWorkflow2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, idVersion string, localVarOptionals *GetWorkflow2Opts) (AdminWorkflow, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflow - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdResourceType.IsSet() { - localVarQueryParams.Add("id.resource_type", parameterToString(localVarOptionals.IdResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflow - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param workflow Workflow name which this set of attributes references. +required - * @param optional nil or *GetWorkflowAttributesOpts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - * @param "Org" (optional.String) - Optional, org key applied to the attributes. - -@return AdminWorkflowAttributesGetResponse -*/ - -type GetWorkflowAttributesOpts struct { - ResourceType optional.String - Org optional.String -} - -func (a *AdminServiceApiService) GetWorkflowAttributes(ctx context.Context, project string, domain string, workflow string, localVarOptionals *GetWorkflowAttributesOpts) (AdminWorkflowAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the attributes. - * @param project Unique project id which this set of attributes references. +required - * @param domain Unique domain id which this set of attributes references. +required - * @param workflow Workflow name which this set of attributes references. +required - * @param optional nil or *GetWorkflowAttributes2Opts - Optional Parameters: - * @param "ResourceType" (optional.String) - Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - -@return AdminWorkflowAttributesGetResponse -*/ - -type GetWorkflowAttributes2Opts struct { - ResourceType optional.String -} - -func (a *AdminServiceApiService) GetWorkflowAttributes2(ctx context.Context, org string, project string, domain string, workflow string, localVarOptionals *GetWorkflowAttributes2Opts) (AdminWorkflowAttributesGetResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesGetResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow"+"}", fmt.Sprintf("%v", workflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesGetResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required. - * @param domain Name of the domain the identifiers belongs to within the project. +required. - * @param optional nil or *ListActiveLaunchPlansOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Org" (optional.String) - Optional, org key applied to the resource. - -@return AdminLaunchPlanList -*/ - -type ListActiveLaunchPlansOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Org optional.String -} - -func (a *AdminServiceApiService) ListActiveLaunchPlans(ctx context.Context, project string, domain string, localVarOptionals *ListActiveLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the resource. - * @param project Name of the project that contains the identifiers. +required. - * @param domain Name of the domain the identifiers belongs to within the project. +required. - * @param optional nil or *ListActiveLaunchPlans2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListActiveLaunchPlans2Opts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListActiveLaunchPlans2(ctx context.Context, org string, project string, domain string, localVarOptionals *ListActiveLaunchPlans2Opts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/active_launch_plans/org/{org}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Identifies the specific type of resource that this identifier corresponds to. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListDescriptionEntitiesOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminDescriptionEntityList -*/ - -type ListDescriptionEntitiesOpts struct { - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListDescriptionEntities(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, localVarOptionals *ListDescriptionEntitiesOpts) (AdminDescriptionEntityList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDescriptionEntityList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDescriptionEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param resourceType Identifies the specific type of resource that this identifier corresponds to. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListDescriptionEntities2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminDescriptionEntityList -*/ - -type ListDescriptionEntities2Opts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListDescriptionEntities2(ctx context.Context, idOrg string, resourceType string, idProject string, idDomain string, idName string, localVarOptionals *ListDescriptionEntities2Opts) (AdminDescriptionEntityList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDescriptionEntityList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDescriptionEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Identifies the specific type of resource that this identifier corresponds to. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListDescriptionEntities3Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminDescriptionEntityList -*/ - -type ListDescriptionEntities3Opts struct { - IdName optional.String - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListDescriptionEntities3(ctx context.Context, resourceType string, idProject string, idDomain string, localVarOptionals *ListDescriptionEntities3Opts) (AdminDescriptionEntityList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDescriptionEntityList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDescriptionEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param resourceType Identifies the specific type of resource that this identifier corresponds to. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListDescriptionEntities4Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminDescriptionEntityList -*/ - -type ListDescriptionEntities4Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListDescriptionEntities4(ctx context.Context, idOrg string, resourceType string, idProject string, idDomain string, localVarOptionals *ListDescriptionEntities4Opts) (AdminDescriptionEntityList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminDescriptionEntityList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminDescriptionEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListExecutionsOpts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminExecutionList -*/ - -type ListExecutionsOpts struct { - IdName optional.String - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListExecutions(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListExecutionsOpts) (AdminExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListExecutions2Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminExecutionList -*/ - -type ListExecutions2Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListExecutions2(ctx context.Context, idOrg string, idProject string, idDomain string, localVarOptionals *ListExecutions2Opts) (AdminExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListLaunchPlanIdsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - * @param "Org" (optional.String) - Optional, org key applied to the resource. - -@return AdminNamedEntityIdentifierList -*/ - -type ListLaunchPlanIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String - Org optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlanIds(ctx context.Context, project string, domain string, localVarOptionals *ListLaunchPlanIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plan_ids/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the resource. - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListLaunchPlanIds2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityIdentifierList -*/ - -type ListLaunchPlanIds2Opts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlanIds2(ctx context.Context, org string, project string, domain string, localVarOptionals *ListLaunchPlanIds2Opts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plan_ids/org/{org}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListLaunchPlansOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListLaunchPlansOpts struct { - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlans(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListLaunchPlansOpts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListLaunchPlans2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListLaunchPlans2Opts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlans2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, localVarOptionals *ListLaunchPlans2Opts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListLaunchPlans3Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListLaunchPlans3Opts struct { - IdName optional.String - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlans3(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListLaunchPlans3Opts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListLaunchPlans4Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminLaunchPlanList -*/ - -type ListLaunchPlans4Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListLaunchPlans4(ctx context.Context, idOrg string, idProject string, idDomain string, localVarOptionals *ListLaunchPlans4Opts) (AdminLaunchPlanList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ListMatchableAttributesOpts - Optional Parameters: - * @param "ResourceType" (optional.String) - +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - * @param "Org" (optional.String) - Optional, org filter applied to list project requests. - -@return AdminListMatchableAttributesResponse -*/ - -type ListMatchableAttributesOpts struct { - ResourceType optional.String - Org optional.String -} - -func (a *AdminServiceApiService) ListMatchableAttributes(ctx context.Context, localVarOptionals *ListMatchableAttributesOpts) (AdminListMatchableAttributesResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminListMatchableAttributesResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/matchable_attributes" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminListMatchableAttributesResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org filter applied to list project requests. - * @param optional nil or *ListMatchableAttributes2Opts - Optional Parameters: - * @param "ResourceType" (optional.String) - +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - -@return AdminListMatchableAttributesResponse -*/ - -type ListMatchableAttributes2Opts struct { - ResourceType optional.String -} - -func (a *AdminServiceApiService) ListMatchableAttributes2(ctx context.Context, org string, localVarOptionals *ListMatchableAttributes2Opts) (AdminListMatchableAttributesResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminListMatchableAttributesResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/matchable_attributes/org/{org}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.ResourceType.IsSet() { - localVarQueryParams.Add("resource_type", parameterToString(localVarOptionals.ResourceType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminListMatchableAttributesResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. - * @param optional nil or *ListNamedEntitiesOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - * @param "Org" (optional.String) - Optional, org key applied to the resource. - -@return AdminNamedEntityList -*/ - -type ListNamedEntitiesOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String - Org optional.String -} - -func (a *AdminServiceApiService) ListNamedEntities(ctx context.Context, resourceType string, project string, domain string, localVarOptionals *ListNamedEntitiesOpts) (AdminNamedEntityList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the resource. - * @param resourceType Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. - * @param optional nil or *ListNamedEntities2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityList -*/ - -type ListNamedEntities2Opts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListNamedEntities2(ctx context.Context, org string, resourceType string, project string, domain string, localVarOptionals *ListNamedEntities2Opts) (AdminNamedEntityList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param workflowExecutionIdProject Name of the project the resource belongs to. - * @param workflowExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param workflowExecutionIdName User or system provided value for the resource. - * @param optional nil or *ListNodeExecutionsOpts - Optional Parameters: - * @param "WorkflowExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "UniqueParentId" (optional.String) - Unique identifier of the parent node in the execution +optional. - -@return AdminNodeExecutionList -*/ - -type ListNodeExecutionsOpts struct { - WorkflowExecutionIdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String - UniqueParentId optional.String -} - -func (a *AdminServiceApiService) ListNodeExecutions(ctx context.Context, workflowExecutionIdProject string, workflowExecutionIdDomain string, workflowExecutionIdName string, localVarOptionals *ListNodeExecutionsOpts) (AdminNodeExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.project"+"}", fmt.Sprintf("%v", workflowExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.domain"+"}", fmt.Sprintf("%v", workflowExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.name"+"}", fmt.Sprintf("%v", workflowExecutionIdName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.WorkflowExecutionIdOrg.IsSet() { - localVarQueryParams.Add("workflow_execution_id.org", parameterToString(localVarOptionals.WorkflowExecutionIdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.UniqueParentId.IsSet() { - localVarQueryParams.Add("unique_parent_id", parameterToString(localVarOptionals.UniqueParentId.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param workflowExecutionIdOrg Optional, org key applied to the resource. - * @param workflowExecutionIdProject Name of the project the resource belongs to. - * @param workflowExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param workflowExecutionIdName User or system provided value for the resource. - * @param optional nil or *ListNodeExecutions2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "UniqueParentId" (optional.String) - Unique identifier of the parent node in the execution +optional. - -@return AdminNodeExecutionList -*/ - -type ListNodeExecutions2Opts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String - UniqueParentId optional.String -} - -func (a *AdminServiceApiService) ListNodeExecutions2(ctx context.Context, workflowExecutionIdOrg string, workflowExecutionIdProject string, workflowExecutionIdDomain string, workflowExecutionIdName string, localVarOptionals *ListNodeExecutions2Opts) (AdminNodeExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.org"+"}", fmt.Sprintf("%v", workflowExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.project"+"}", fmt.Sprintf("%v", workflowExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.domain"+"}", fmt.Sprintf("%v", workflowExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"workflow_execution_id.name"+"}", fmt.Sprintf("%v", workflowExecutionIdName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.UniqueParentId.IsSet() { - localVarQueryParams.Add("unique_parent_id", parameterToString(localVarOptionals.UniqueParentId.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param taskExecutionIdNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param taskExecutionIdNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param taskExecutionIdNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param taskExecutionIdNodeExecutionIdNodeId - * @param taskExecutionIdTaskIdProject Name of the project the resource belongs to. - * @param taskExecutionIdTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param taskExecutionIdTaskIdName User provided value for the resource. - * @param taskExecutionIdTaskIdVersion Specific version of the resource. - * @param taskExecutionIdRetryAttempt - * @param optional nil or *ListNodeExecutionsForTaskOpts - Optional Parameters: - * @param "TaskExecutionIdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "TaskExecutionIdTaskIdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "TaskExecutionIdNodeExecutionIdExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminNodeExecutionList -*/ - -type ListNodeExecutionsForTaskOpts struct { - TaskExecutionIdTaskIdResourceType optional.String - TaskExecutionIdTaskIdOrg optional.String - TaskExecutionIdNodeExecutionIdExecutionIdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListNodeExecutionsForTask(ctx context.Context, taskExecutionIdNodeExecutionIdExecutionIdProject string, taskExecutionIdNodeExecutionIdExecutionIdDomain string, taskExecutionIdNodeExecutionIdExecutionIdName string, taskExecutionIdNodeExecutionIdNodeId string, taskExecutionIdTaskIdProject string, taskExecutionIdTaskIdDomain string, taskExecutionIdTaskIdName string, taskExecutionIdTaskIdVersion string, taskExecutionIdRetryAttempt int64, localVarOptionals *ListNodeExecutionsForTaskOpts) (AdminNodeExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/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}" - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.version"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.retry_attempt"+"}", fmt.Sprintf("%v", taskExecutionIdRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.TaskExecutionIdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("task_execution_id.task_id.resource_type", parameterToString(localVarOptionals.TaskExecutionIdTaskIdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.TaskExecutionIdTaskIdOrg.IsSet() { - localVarQueryParams.Add("task_execution_id.task_id.org", parameterToString(localVarOptionals.TaskExecutionIdTaskIdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.TaskExecutionIdNodeExecutionIdExecutionIdOrg.IsSet() { - localVarQueryParams.Add("task_execution_id.node_execution_id.execution_id.org", parameterToString(localVarOptionals.TaskExecutionIdNodeExecutionIdExecutionIdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param taskExecutionIdNodeExecutionIdExecutionIdOrg Optional, org key applied to the resource. - * @param taskExecutionIdNodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param taskExecutionIdNodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param taskExecutionIdNodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param taskExecutionIdNodeExecutionIdNodeId - * @param taskExecutionIdTaskIdProject Name of the project the resource belongs to. - * @param taskExecutionIdTaskIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param taskExecutionIdTaskIdName User provided value for the resource. - * @param taskExecutionIdTaskIdVersion Specific version of the resource. - * @param taskExecutionIdRetryAttempt - * @param optional nil or *ListNodeExecutionsForTask2Opts - Optional Parameters: - * @param "TaskExecutionIdTaskIdResourceType" (optional.String) - Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - * @param "TaskExecutionIdTaskIdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminNodeExecutionList -*/ - -type ListNodeExecutionsForTask2Opts struct { - TaskExecutionIdTaskIdResourceType optional.String - TaskExecutionIdTaskIdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListNodeExecutionsForTask2(ctx context.Context, taskExecutionIdNodeExecutionIdExecutionIdOrg string, taskExecutionIdNodeExecutionIdExecutionIdProject string, taskExecutionIdNodeExecutionIdExecutionIdDomain string, taskExecutionIdNodeExecutionIdExecutionIdName string, taskExecutionIdNodeExecutionIdNodeId string, taskExecutionIdTaskIdProject string, taskExecutionIdTaskIdDomain string, taskExecutionIdTaskIdName string, taskExecutionIdTaskIdVersion string, taskExecutionIdRetryAttempt int64, localVarOptionals *ListNodeExecutionsForTask2Opts) (AdminNodeExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNodeExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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}" - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.org"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.node_execution_id.node_id"+"}", fmt.Sprintf("%v", taskExecutionIdNodeExecutionIdNodeId), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.project"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.domain"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.name"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.task_id.version"+"}", fmt.Sprintf("%v", taskExecutionIdTaskIdVersion), -1) - localVarPath = strings.Replace(localVarPath, "{"+"task_execution_id.retry_attempt"+"}", fmt.Sprintf("%v", taskExecutionIdRetryAttempt), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.TaskExecutionIdTaskIdResourceType.IsSet() { - localVarQueryParams.Add("task_execution_id.task_id.resource_type", parameterToString(localVarOptionals.TaskExecutionIdTaskIdResourceType.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.TaskExecutionIdTaskIdOrg.IsSet() { - localVarQueryParams.Add("task_execution_id.task_id.org", parameterToString(localVarOptionals.TaskExecutionIdTaskIdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNodeExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project` - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ListProjectsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of projects to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Org" (optional.String) - Optional, org filter applied to list project requests. - -@return AdminProjects -*/ - -type ListProjectsOpts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String - Org optional.String -} - -func (a *AdminServiceApiService) ListProjects(ctx context.Context, localVarOptionals *ListProjectsOpts) (AdminProjects, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjects - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjects - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.Project` - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org filter applied to list project requests. - * @param optional nil or *ListProjects2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of projects to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminProjects -*/ - -type ListProjects2Opts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListProjects2(ctx context.Context, org string, localVarOptionals *ListProjects2Opts) (AdminProjects, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjects - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects/org/{org}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjects - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param nodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param nodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param nodeExecutionIdNodeId - * @param optional nil or *ListTaskExecutionsOpts - Optional Parameters: - * @param "NodeExecutionIdExecutionIdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskExecutionList -*/ - -type ListTaskExecutionsOpts struct { - NodeExecutionIdExecutionIdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTaskExecutions(ctx context.Context, nodeExecutionIdExecutionIdProject string, nodeExecutionIdExecutionIdDomain string, nodeExecutionIdExecutionIdName string, nodeExecutionIdNodeId string, localVarOptionals *ListTaskExecutionsOpts) (AdminTaskExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/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}" - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.node_id"+"}", fmt.Sprintf("%v", nodeExecutionIdNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.NodeExecutionIdExecutionIdOrg.IsSet() { - localVarQueryParams.Add("node_execution_id.execution_id.org", parameterToString(localVarOptionals.NodeExecutionIdExecutionIdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param nodeExecutionIdExecutionIdOrg Optional, org key applied to the resource. - * @param nodeExecutionIdExecutionIdProject Name of the project the resource belongs to. - * @param nodeExecutionIdExecutionIdDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param nodeExecutionIdExecutionIdName User or system provided value for the resource. - * @param nodeExecutionIdNodeId - * @param optional nil or *ListTaskExecutions2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskExecutionList -*/ - -type ListTaskExecutions2Opts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTaskExecutions2(ctx context.Context, nodeExecutionIdExecutionIdOrg string, nodeExecutionIdExecutionIdProject string, nodeExecutionIdExecutionIdDomain string, nodeExecutionIdExecutionIdName string, nodeExecutionIdNodeId string, localVarOptionals *ListTaskExecutions2Opts) (AdminTaskExecutionList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskExecutionList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}" - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.org"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.project"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.domain"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.execution_id.name"+"}", fmt.Sprintf("%v", nodeExecutionIdExecutionIdName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"node_execution_id.node_id"+"}", fmt.Sprintf("%v", nodeExecutionIdNodeId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskExecutionList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListTaskIdsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - * @param "Org" (optional.String) - Optional, org key applied to the resource. - -@return AdminNamedEntityIdentifierList -*/ - -type ListTaskIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String - Org optional.String -} - -func (a *AdminServiceApiService) ListTaskIds(ctx context.Context, project string, domain string, localVarOptionals *ListTaskIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/task_ids/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the resource. - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListTaskIds2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityIdentifierList -*/ - -type ListTaskIds2Opts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListTaskIds2(ctx context.Context, org string, project string, domain string, localVarOptionals *ListTaskIds2Opts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/org/{org}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListTasksOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskList -*/ - -type ListTasksOpts struct { - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTasks(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListTasksOpts) (AdminTaskList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListTasks2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskList -*/ - -type ListTasks2Opts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTasks2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, localVarOptionals *ListTasks2Opts) (AdminTaskList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListTasks3Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskList -*/ - -type ListTasks3Opts struct { - IdName optional.String - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTasks3(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListTasks3Opts) (AdminTaskList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListTasks4Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminTaskList -*/ - -type ListTasks4Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListTasks4(ctx context.Context, idOrg string, idProject string, idDomain string, localVarOptionals *ListTasks4Opts) (AdminTaskList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminTaskList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListWorkflowIdsOpts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - * @param "Org" (optional.String) - Optional, org key applied to the resource. - -@return AdminNamedEntityIdentifierList -*/ - -type ListWorkflowIdsOpts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String - Org optional.String -} - -func (a *AdminServiceApiService) ListWorkflowIds(ctx context.Context, project string, domain string, localVarOptionals *ListWorkflowIdsOpts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_ids/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Org.IsSet() { - localVarQueryParams.Add("org", parameterToString(localVarOptionals.Org.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the resource. - * @param project Name of the project that contains the identifiers. +required - * @param domain Name of the domain the identifiers belongs to within the project. +required - * @param optional nil or *ListWorkflowIds2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. +optional. - -@return AdminNamedEntityIdentifierList -*/ - -type ListWorkflowIds2Opts struct { - Limit optional.Int64 - Token optional.String - SortByKey optional.String - SortByDirection optional.String - Filters optional.String -} - -func (a *AdminServiceApiService) ListWorkflowIds2(ctx context.Context, org string, project string, domain string, localVarOptionals *ListWorkflowIds2Opts) (AdminNamedEntityIdentifierList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityIdentifierList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/org/{org}/{project}/{domain}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", fmt.Sprintf("%v", project), -1) - localVarPath = strings.Replace(localVarPath, "{"+"domain"+"}", fmt.Sprintf("%v", domain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityIdentifierList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListWorkflowsOpts - Optional Parameters: - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminWorkflowList -*/ - -type ListWorkflowsOpts struct { - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListWorkflows(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *ListWorkflowsOpts) (AdminWorkflowList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param optional nil or *ListWorkflows2Opts - Optional Parameters: - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminWorkflowList -*/ - -type ListWorkflows2Opts struct { - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListWorkflows2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, localVarOptionals *ListWorkflows2Opts) (AdminWorkflowList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListWorkflows3Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "IdOrg" (optional.String) - Optional, org key applied to the resource. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminWorkflowList -*/ - -type ListWorkflows3Opts struct { - IdName optional.String - IdOrg optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListWorkflows3(ctx context.Context, idProject string, idDomain string, localVarOptionals *ListWorkflows3Opts) (AdminWorkflowList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.IdOrg.IsSet() { - localVarQueryParams.Add("id.org", parameterToString(localVarOptionals.IdOrg.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param optional nil or *ListWorkflows4Opts - Optional Parameters: - * @param "IdName" (optional.String) - User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - * @param "Limit" (optional.Int64) - Indicates the number of resources to be returned. +required. - * @param "Token" (optional.String) - In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - * @param "Filters" (optional.String) - Indicates a list of filters passed as string. More info on constructing filters : <Link> +optional. - * @param "SortByKey" (optional.String) - Indicates an attribute to sort the response values. +required. - * @param "SortByDirection" (optional.String) - Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - -@return AdminWorkflowList -*/ - -type ListWorkflows4Opts struct { - IdName optional.String - Limit optional.Int64 - Token optional.String - Filters optional.String - SortByKey optional.String - SortByDirection optional.String -} - -func (a *AdminServiceApiService) ListWorkflows4(ctx context.Context, idOrg string, idProject string, idDomain string, localVarOptionals *ListWorkflows4Opts) (AdminWorkflowList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.IdName.IsSet() { - localVarQueryParams.Add("id.name", parameterToString(localVarOptionals.IdName.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { - localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Token.IsSet() { - localVarQueryParams.Add("token", parameterToString(localVarOptionals.Token.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Filters.IsSet() { - localVarQueryParams.Add("filters", parameterToString(localVarOptionals.Filters.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByKey.IsSet() { - localVarQueryParams.Add("sort_by.key", parameterToString(localVarOptionals.SortByKey.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.SortByDirection.IsSet() { - localVarQueryParams.Add("sort_by.direction", parameterToString(localVarOptionals.SortByDirection.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) RecoverExecution(ctx context.Context, body AdminExecutionRecoverRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/recover" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) RecoverExecution2(ctx context.Context, idOrg string, body AdminExecutionRecoverRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/org/{id.org}/recover" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminProjectRegisterResponse -*/ -func (a *AdminServiceApiService) RegisterProject(ctx context.Context, body AdminProjectRegisterRequest) (AdminProjectRegisterResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectRegisterResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectRegisterResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param projectOrg Optional, org key applied to the resource. - * @param body - -@return AdminProjectRegisterResponse -*/ -func (a *AdminServiceApiService) RegisterProject2(ctx context.Context, projectOrg string, body AdminProjectRegisterRequest) (AdminProjectRegisterResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectRegisterResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects/org/{project.org}" - localVarPath = strings.Replace(localVarPath, "{"+"project.org"+"}", fmt.Sprintf("%v", projectOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectRegisterResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) RelaunchExecution(ctx context.Context, body AdminExecutionRelaunchRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/relaunch" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param body - -@return AdminExecutionCreateResponse -*/ -func (a *AdminServiceApiService) RelaunchExecution2(ctx context.Context, idOrg string, body AdminExecutionRelaunchRequest) (AdminExecutionCreateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionCreateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/org/{id.org}/relaunch" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionCreateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param body - -@return AdminExecutionTerminateResponse -*/ -func (a *AdminServiceApiService) TerminateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionTerminateRequest) (AdminExecutionTerminateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionTerminateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionTerminateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param body - -@return AdminExecutionTerminateResponse -*/ -func (a *AdminServiceApiService) TerminateExecution2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, body AdminExecutionTerminateRequest) (AdminExecutionTerminateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionTerminateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionTerminateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param body - -@return AdminExecutionUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateExecution(ctx context.Context, idProject string, idDomain string, idName string, body AdminExecutionUpdateRequest) (AdminExecutionUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User or system provided value for the resource. - * @param body - -@return AdminExecutionUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateExecution2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, body AdminExecutionUpdateRequest) (AdminExecutionUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminExecutionUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminExecutionUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - * @param body - -@return AdminLaunchPlanUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateLaunchPlan(ctx context.Context, idProject string, idDomain string, idName string, idVersion string, body AdminLaunchPlanUpdateRequest) (AdminLaunchPlanUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. - * @param idVersion Specific version of the resource. - -@return AdminLaunchPlanUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateLaunchPlan2(ctx context.Context, idOrg string, idProject string, idDomain string, idName string, idVersion string) (AdminLaunchPlanUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminLaunchPlanUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.version"+"}", fmt.Sprintf("%v", idVersion), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminLaunchPlanUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType Resource type of the metadata to update +required - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param body - -@return AdminNamedEntityUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resourceType string, idProject string, idDomain string, idName string, body AdminNamedEntityUpdateRequest) (AdminNamedEntityUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param idOrg Optional, org key applied to the resource. - * @param resourceType Resource type of the metadata to update +required - * @param idProject Name of the project the resource belongs to. - * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - * @param idName User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' - * @param body - -@return AdminNamedEntityUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateNamedEntity2(ctx context.Context, idOrg string, resourceType string, idProject string, idDomain string, idName string, body AdminNamedEntityUpdateRequest) (AdminNamedEntityUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminNamedEntityUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}" - localVarPath = strings.Replace(localVarPath, "{"+"id.org"+"}", fmt.Sprintf("%v", idOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"resource_type"+"}", fmt.Sprintf("%v", resourceType), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminNamedEntityUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param id Globally unique project name. - * @param body - -@return AdminProjectUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProject(ctx context.Context, id string, body AdminProject) (AdminProjectUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param org Optional, org key applied to the resource. - * @param id Globally unique project name. - * @param body - -@return AdminProjectUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProject2(ctx context.Context, org string, id string, body AdminProject) (AdminProjectUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/projects/org/{org}/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", fmt.Sprintf("%v", org), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param body - -@return AdminProjectAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProjectAttributes(ctx context.Context, attributesProject string, body AdminProjectAttributesUpdateRequest) (AdminProjectAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_attributes/{attributes.project}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesOrg Optional, org key applied to the project. - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param body - -@return AdminProjectAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProjectAttributes2(ctx context.Context, attributesOrg string, attributesProject string, body AdminProjectAttributesUpdateRequest) (AdminProjectAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.org"+"}", fmt.Sprintf("%v", attributesOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param attributesDomain Unique domain id for which this set of attributes will be applied. - * @param body - -@return AdminProjectDomainAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Context, attributesProject string, attributesDomain string, body AdminProjectDomainAttributesUpdateRequest) (AdminProjectDomainAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesOrg Optional, org key applied to the attributes. - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param attributesDomain Unique domain id for which this set of attributes will be applied. - * @param body - -@return AdminProjectDomainAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateProjectDomainAttributes2(ctx context.Context, attributesOrg string, attributesProject string, attributesDomain string, body AdminProjectDomainAttributesUpdateRequest) (AdminProjectDomainAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminProjectDomainAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.org"+"}", fmt.Sprintf("%v", attributesOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminProjectDomainAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param attributesDomain Unique domain id for which this set of attributes will be applied. - * @param attributesWorkflow Workflow name for which this set of attributes will be applied. - * @param body - -@return AdminWorkflowAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.workflow"+"}", fmt.Sprintf("%v", attributesWorkflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} - -/* -AdminServiceApiService Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attributesOrg Optional, org key applied to the attributes. - * @param attributesProject Unique project id for which this set of attributes will be applied. - * @param attributesDomain Unique domain id for which this set of attributes will be applied. - * @param attributesWorkflow Workflow name for which this set of attributes will be applied. - * @param body - -@return AdminWorkflowAttributesUpdateResponse -*/ -func (a *AdminServiceApiService) UpdateWorkflowAttributes2(ctx context.Context, attributesOrg string, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue AdminWorkflowAttributesUpdateResponse - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}" - localVarPath = strings.Replace(localVarPath, "{"+"attributes.org"+"}", fmt.Sprintf("%v", attributesOrg), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) - localVarPath = strings.Replace(localVarPath, "{"+"attributes.workflow"+"}", fmt.Sprintf("%v", attributesWorkflow), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - - if localVarHttpResponse.StatusCode == 200 { - var v AdminWorkflowAttributesUpdateResponse - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/client.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/client.go deleted file mode 100644 index 8fd676821e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/client.go +++ /dev/null @@ -1,464 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "bytes" - "context" - "encoding/json" - "encoding/xml" - "errors" - "fmt" - "io" - "mime/multipart" - "net/http" - "net/url" - "os" - "path/filepath" - "reflect" - "regexp" - "strconv" - "strings" - "time" - "unicode/utf8" - - "golang.org/x/oauth2" -) - -var ( - jsonCheck = regexp.MustCompile("(?i:[application|text]/json)") - xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") -) - -// APIClient manages communication with the flyteidl/service/admin.proto API vversion not set -// In most cases there should be only one, shared, APIClient. -type APIClient struct { - cfg *Configuration - common service // Reuse a single struct instead of allocating one for each service on the heap. - - // API Services - - AdminServiceApi *AdminServiceApiService -} - -type service struct { - client *APIClient -} - -// NewAPIClient creates a new API client. Requires a userAgent string describing your application. -// optionally a custom http.Client to allow for advanced features such as caching. -func NewAPIClient(cfg *Configuration) *APIClient { - if cfg.HTTPClient == nil { - cfg.HTTPClient = http.DefaultClient - } - - c := &APIClient{} - c.cfg = cfg - c.common.client = c - - // API Services - c.AdminServiceApi = (*AdminServiceApiService)(&c.common) - - return c -} - -func atoi(in string) (int, error) { - return strconv.Atoi(in) -} - -// selectHeaderContentType select a content type from the available list. -func selectHeaderContentType(contentTypes []string) string { - if len(contentTypes) == 0 { - return "" - } - if contains(contentTypes, "application/json") { - return "application/json" - } - return contentTypes[0] // use the first content type specified in 'consumes' -} - -// selectHeaderAccept join all accept types and return -func selectHeaderAccept(accepts []string) string { - if len(accepts) == 0 { - return "" - } - - if contains(accepts, "application/json") { - return "application/json" - } - - return strings.Join(accepts, ",") -} - -// contains is a case insenstive match, finding needle in a haystack -func contains(haystack []string, needle string) bool { - for _, a := range haystack { - if strings.ToLower(a) == strings.ToLower(needle) { - return true - } - } - return false -} - -// Verify optional parameters are of the correct type. -func typeCheckParameter(obj interface{}, expected string, name string) error { - // Make sure there is an object. - if obj == nil { - return nil - } - - // Check the type is as expected. - if reflect.TypeOf(obj).String() != expected { - return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) - } - return nil -} - -// parameterToString convert interface{} parameters to string, using a delimiter if format is provided. -func parameterToString(obj interface{}, collectionFormat string) string { - var delimiter string - - switch collectionFormat { - case "pipes": - delimiter = "|" - case "ssv": - delimiter = " " - case "tsv": - delimiter = "\t" - case "csv": - delimiter = "," - } - - if reflect.TypeOf(obj).Kind() == reflect.Slice { - return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") - } - - return fmt.Sprintf("%v", obj) -} - -// callAPI do the request. -func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) { - return c.cfg.HTTPClient.Do(request) -} - -// Change base path to allow switching to mocks -func (c *APIClient) ChangeBasePath(path string) { - c.cfg.BasePath = path -} - -// prepareRequest build the request -func (c *APIClient) prepareRequest( - ctx context.Context, - path string, method string, - postBody interface{}, - headerParams map[string]string, - queryParams url.Values, - formParams url.Values, - fileName string, - fileBytes []byte) (localVarRequest *http.Request, err error) { - - var body *bytes.Buffer - - // Detect postBody type and post. - if postBody != nil { - contentType := headerParams["Content-Type"] - if contentType == "" { - contentType = detectContentType(postBody) - headerParams["Content-Type"] = contentType - } - - body, err = setBody(postBody, contentType) - if err != nil { - return nil, err - } - } - - // add form parameters and file if available. - if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { - if body != nil { - return nil, errors.New("Cannot specify postBody and multipart form at the same time.") - } - body = &bytes.Buffer{} - w := multipart.NewWriter(body) - - for k, v := range formParams { - for _, iv := range v { - if strings.HasPrefix(k, "@") { // file - err = addFile(w, k[1:], iv) - if err != nil { - return nil, err - } - } else { // form value - w.WriteField(k, iv) - } - } - } - if len(fileBytes) > 0 && fileName != "" { - w.Boundary() - //_, fileNm := filepath.Split(fileName) - part, err := w.CreateFormFile("file", filepath.Base(fileName)) - if err != nil { - return nil, err - } - _, err = part.Write(fileBytes) - if err != nil { - return nil, err - } - // Set the Boundary in the Content-Type - headerParams["Content-Type"] = w.FormDataContentType() - } - - // Set Content-Length - headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) - w.Close() - } - - // Setup path and query parameters - url, err := url.Parse(path) - if err != nil { - return nil, err - } - - // Adding Query Param - query := url.Query() - for k, v := range queryParams { - for _, iv := range v { - query.Add(k, iv) - } - } - - // Encode the parameters. - url.RawQuery = query.Encode() - - // Generate a new request - if body != nil { - localVarRequest, err = http.NewRequest(method, url.String(), body) - } else { - localVarRequest, err = http.NewRequest(method, url.String(), nil) - } - if err != nil { - return nil, err - } - - // add header parameters, if any - if len(headerParams) > 0 { - headers := http.Header{} - for h, v := range headerParams { - headers.Set(h, v) - } - localVarRequest.Header = headers - } - - // Override request host, if applicable - if c.cfg.Host != "" { - localVarRequest.Host = c.cfg.Host - } - - // Add the user agent to the request. - localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) - - if ctx != nil { - // add context to the request - localVarRequest = localVarRequest.WithContext(ctx) - - // Walk through any authentication. - - // OAuth2 authentication - if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { - // We were able to grab an oauth2 token from the context - var latestToken *oauth2.Token - if latestToken, err = tok.Token(); err != nil { - return nil, err - } - - latestToken.SetAuthHeader(localVarRequest) - } - - // Basic HTTP Authentication - if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok { - localVarRequest.SetBasicAuth(auth.UserName, auth.Password) - } - - // AccessToken Authentication - if auth, ok := ctx.Value(ContextAccessToken).(string); ok { - localVarRequest.Header.Add("Authorization", "Bearer "+auth) - } - } - - for header, value := range c.cfg.DefaultHeader { - localVarRequest.Header.Add(header, value) - } - - return localVarRequest, nil -} - -func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if strings.Contains(contentType, "application/xml") { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } else if strings.Contains(contentType, "application/json") { - if err = json.Unmarshal(b, v); err != nil { - return err - } - return nil - } - return errors.New("undefined response type") -} - -// Add a file to the multipart request -func addFile(w *multipart.Writer, fieldName, path string) error { - file, err := os.Open(path) - if err != nil { - return err - } - defer file.Close() - - part, err := w.CreateFormFile(fieldName, filepath.Base(path)) - if err != nil { - return err - } - _, err = io.Copy(part, file) - - return err -} - -// Prevent trying to import "fmt" -func reportError(format string, a ...interface{}) error { - return fmt.Errorf(format, a...) -} - -// Set request body from an interface{} -func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { - if bodyBuf == nil { - bodyBuf = &bytes.Buffer{} - } - - if reader, ok := body.(io.Reader); ok { - _, err = bodyBuf.ReadFrom(reader) - } else if b, ok := body.([]byte); ok { - _, err = bodyBuf.Write(b) - } else if s, ok := body.(string); ok { - _, err = bodyBuf.WriteString(s) - } else if s, ok := body.(*string); ok { - _, err = bodyBuf.WriteString(*s) - } else if jsonCheck.MatchString(contentType) { - err = json.NewEncoder(bodyBuf).Encode(body) - } else if xmlCheck.MatchString(contentType) { - xml.NewEncoder(bodyBuf).Encode(body) - } - - if err != nil { - return nil, err - } - - if bodyBuf.Len() == 0 { - err = fmt.Errorf("Invalid body type %s\n", contentType) - return nil, err - } - return bodyBuf, nil -} - -// detectContentType method is used to figure out `Request.Body` content type for request header -func detectContentType(body interface{}) string { - contentType := "text/plain; charset=utf-8" - kind := reflect.TypeOf(body).Kind() - - switch kind { - case reflect.Struct, reflect.Map, reflect.Ptr: - contentType = "application/json; charset=utf-8" - case reflect.String: - contentType = "text/plain; charset=utf-8" - default: - if b, ok := body.([]byte); ok { - contentType = http.DetectContentType(b) - } else if kind == reflect.Slice { - contentType = "application/json; charset=utf-8" - } - } - - return contentType -} - -// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go -type cacheControl map[string]string - -func parseCacheControl(headers http.Header) cacheControl { - cc := cacheControl{} - ccHeader := headers.Get("Cache-Control") - for _, part := range strings.Split(ccHeader, ",") { - part = strings.Trim(part, " ") - if part == "" { - continue - } - if strings.ContainsRune(part, '=') { - keyval := strings.Split(part, "=") - cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") - } else { - cc[part] = "" - } - } - return cc -} - -// CacheExpires helper function to determine remaining time before repeating a request. -func CacheExpires(r *http.Response) time.Time { - // Figure out when the cache expires. - var expires time.Time - now, err := time.Parse(time.RFC1123, r.Header.Get("date")) - if err != nil { - return time.Now() - } - respCacheControl := parseCacheControl(r.Header) - - if maxAge, ok := respCacheControl["max-age"]; ok { - lifetime, err := time.ParseDuration(maxAge + "s") - if err != nil { - expires = now - } - expires = now.Add(lifetime) - } else { - expiresHeader := r.Header.Get("Expires") - if expiresHeader != "" { - expires, err = time.Parse(time.RFC1123, expiresHeader) - if err != nil { - expires = now - } - } - } - return expires -} - -func strlen(s string) int { - return utf8.RuneCountInString(s) -} - -// GenericSwaggerError Provides access to the body, error and model on returned errors. -type GenericSwaggerError struct { - body []byte - error string - model interface{} -} - -// Error returns non-empty string if there was an error. -func (e GenericSwaggerError) Error() string { - return e.error -} - -// Body returns the raw bytes of the response -func (e GenericSwaggerError) Body() []byte { - return e.body -} - -// Model returns the unpacked model of the error -func (e GenericSwaggerError) Model() interface{} { - return e.model -} \ No newline at end of file diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/configuration.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/configuration.go deleted file mode 100644 index 5ca411ba6a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/configuration.go +++ /dev/null @@ -1,72 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "net/http" -) - -// contextKeys are used to identify the type of value in the context. -// Since these are string, it is possible to get a short description of the -// context key for logging and debugging using key.String(). - -type contextKey string - -func (c contextKey) String() string { - return "auth " + string(c) -} - -var ( - // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. - ContextOAuth2 = contextKey("token") - - // ContextBasicAuth takes BasicAuth as authentication for the request. - ContextBasicAuth = contextKey("basic") - - // ContextAccessToken takes a string oauth2 access token as authentication for the request. - ContextAccessToken = contextKey("accesstoken") - - // ContextAPIKey takes an APIKey as authentication for the request - ContextAPIKey = contextKey("apikey") -) - -// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth -type BasicAuth struct { - UserName string `json:"userName,omitempty"` - Password string `json:"password,omitempty"` -} - -// APIKey provides API key based authentication to a request passed via context using ContextAPIKey -type APIKey struct { - Key string - Prefix string -} - -type Configuration struct { - BasePath string `json:"basePath,omitempty"` - Host string `json:"host,omitempty"` - Scheme string `json:"scheme,omitempty"` - DefaultHeader map[string]string `json:"defaultHeader,omitempty"` - UserAgent string `json:"userAgent,omitempty"` - HTTPClient *http.Client -} - -func NewConfiguration() *Configuration { - cfg := &Configuration{ - BasePath: "http://localhost", - DefaultHeader: make(map[string]string), - UserAgent: "Swagger-Codegen/1.0.0/go", - } - return cfg -} - -func (c *Configuration) AddDefaultHeader(key string, value string) { - c.DefaultHeader[key] = value -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh deleted file mode 100644 index ae01b182ae..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/git_push.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=`git remote` -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' - diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go deleted file mode 100644 index f2bd1e1146..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_abort_metadata.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Specifies metadata around an aborted workflow execution. -type AdminAbortMetadata struct { - // In the case of a user-specified abort, this will pass along the user-supplied cause. - Cause string `json:"cause,omitempty"` - Principal string `json:"principal,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go deleted file mode 100644 index ca3f4649dd..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_annotations.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Annotation values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge annotations defined at registration and execution time. -type AdminAnnotations struct { - // Map of custom annotations to be applied to the execution resource. - Values map[string]string `json:"values,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go deleted file mode 100644 index 9901eb85e4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines permissions associated with executions created by this launch plan spec. Use either of these roles when they have permissions required by your workflow execution. Deprecated. -type AdminAuth struct { - // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. - AssumableIamRole string `json:"assumable_iam_role,omitempty"` - // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - KubernetesServiceAccount string `json:"kubernetes_service_account,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go deleted file mode 100644 index ca6c75ddee..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_auth_role.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines permissions associated with executions created by this launch plan spec. Use either of these roles when they have permissions required by your workflow execution. Deprecated. -type AdminAuthRole struct { - // Defines an optional iam role which will be used for tasks run in executions created with this launch plan. - AssumableIamRole string `json:"assumable_iam_role,omitempty"` - // Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - KubernetesServiceAccount string `json:"kubernetes_service_account,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go deleted file mode 100644 index de9cf5bf86..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_assignment.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates specifications for routing an execution onto a specific cluster. -type AdminClusterAssignment struct { - ClusterPoolName string `json:"cluster_pool_name,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go deleted file mode 100644 index 05f3bb7756..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminClusterResourceAttributes struct { - // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. - Attributes map[string]string `json:"attributes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go deleted file mode 100644 index fa40dd16bc..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cron_schedule.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Options for schedules to run according to a cron expression. -type AdminCronSchedule struct { - Schedule string `json:"schedule,omitempty"` - Offset string `json:"offset,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description.go deleted file mode 100644 index 6e696d7c12..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Full user description with formatting preserved. This can be rendered by clients, such as the console or command line tools with in-tact formatting. -type AdminDescription struct { - Value string `json:"value,omitempty"` - Uri string `json:"uri,omitempty"` - Format *AdminDescriptionFormat `json:"format,omitempty"` - IconLink string `json:"icon_link,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_entity.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_entity.go deleted file mode 100644 index 98fdc94706..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_entity.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// DescriptionEntity contains detailed description for the task/workflow. Documentation could provide insight into the algorithms, business use case, etc. -type AdminDescriptionEntity struct { - // id represents the unique identifier of the description entity. - Id *CoreIdentifier `json:"id,omitempty"` - // One-liner overview of the entity. - ShortDescription string `json:"short_description,omitempty"` - // Full user description with formatting preserved. - LongDescription *AdminDescription `json:"long_description,omitempty"` - // Optional link to source code used to define this entity. - SourceCode *AdminSourceCode `json:"source_code,omitempty"` - // User-specified tags. These are arbitrary and can be used for searching filtering and discovering tasks. - Tags []string `json:"tags,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_entity_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_entity_list.go deleted file mode 100644 index 98ca02f0a1..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_entity_list.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminDescriptionEntityList struct { - // A list of DescriptionEntities returned based on the request. - DescriptionEntities []AdminDescriptionEntity `json:"descriptionEntities,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_format.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_format.go deleted file mode 100644 index c392910277..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_description_format.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminDescriptionFormat : - DESCRIPTION_FORMAT_RST: python default documentation - comments is rst -type AdminDescriptionFormat string - -// List of adminDescriptionFormat -const ( - AdminDescriptionFormatUNKNOWN AdminDescriptionFormat = "DESCRIPTION_FORMAT_UNKNOWN" - AdminDescriptionFormatMARKDOWN AdminDescriptionFormat = "DESCRIPTION_FORMAT_MARKDOWN" - AdminDescriptionFormatHTML AdminDescriptionFormat = "DESCRIPTION_FORMAT_HTML" - AdminDescriptionFormatRST AdminDescriptionFormat = "DESCRIPTION_FORMAT_RST" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go deleted file mode 100644 index 2c2bdaa740..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_domain.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Namespace within a project commonly used to differentiate between different service instances. e.g. \"production\", \"development\", etc. -type AdminDomain struct { - // Globally unique domain name. - Id string `json:"id,omitempty"` - // Display name. - Name string `json:"name,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_dynamic_node_workflow_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_dynamic_node_workflow_response.go deleted file mode 100644 index a431f23d17..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_dynamic_node_workflow_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminDynamicNodeWorkflowResponse struct { - CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go deleted file mode 100644 index a5d8783209..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_email_notification.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines an email notification specification. -type AdminEmailNotification struct { - RecipientsEmail []string `json:"recipients_email,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_envs.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_envs.go deleted file mode 100644 index 7e8ed26ad0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_envs.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Environment variable values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge environment variables defined at registration and execution time. -type AdminEnvs struct { - // Map of custom environment variables to be applied to the execution resource. - Values []CoreKeyValuePair `json:"values,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go deleted file mode 100644 index ac331c3483..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A workflow execution represents an instantiated workflow, including all inputs and additional metadata as well as computed results included state, outputs, and duration-based attributes. Used as a response object used in Get and List execution requests. -type AdminExecution struct { - // Unique identifier of the workflow execution. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - // User-provided configuration and inputs for launching the execution. - Spec *AdminExecutionSpec `json:"spec,omitempty"` - // Execution results. - Closure *AdminExecutionClosure `json:"closure,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go deleted file mode 100644 index 831dcb9d02..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_closure.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type AdminExecutionClosure struct { - // Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. - Outputs *AdminLiteralMapBlob `json:"outputs,omitempty"` - // Error information in the case of a failed execution. - Error_ *CoreExecutionError `json:"error,omitempty"` - // In the case of a user-specified abort, this will pass along the user-supplied cause. - AbortCause string `json:"abort_cause,omitempty"` - // In the case of a user-specified abort, this will pass along the user and their supplied cause. - AbortMetadata *AdminAbortMetadata `json:"abort_metadata,omitempty"` - // Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - ComputedInputs *CoreLiteralMap `json:"computed_inputs,omitempty"` - // Most recent recorded phase for the execution. - Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` - // Reported time at which the execution began running. - StartedAt time.Time `json:"started_at,omitempty"` - // The amount of time the execution spent running. - Duration string `json:"duration,omitempty"` - // Reported time at which the execution was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Reported time at which the execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` - // The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. - Notifications []AdminNotification `json:"notifications,omitempty"` - // Identifies the workflow definition for this execution. - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` - StateChangeDetails *AdminExecutionStateChangeDetails `json:"state_change_details,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go deleted file mode 100644 index 0666bf60c2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_cluster_label.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionClusterLabel struct { - Value string `json:"value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go deleted file mode 100644 index c7eff0aded..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_request.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to launch an execution with the given project, domain and optionally-assigned name. -type AdminExecutionCreateRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` - Spec *AdminExecutionSpec `json:"spec,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` - // Optional, org key applied to the resource. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go deleted file mode 100644 index 540bc7e143..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_create_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// The unique identifier for a successfully created execution. If the name was *not* specified in the create request, this identifier will include a generated name. -type AdminExecutionCreateResponse struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go deleted file mode 100644 index bffe0c3a0b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionList struct { - Executions []AdminExecution `json:"executions,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go deleted file mode 100644 index a309aa0be5..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_metadata.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Represents attributes about an execution which are not required to launch the execution but are useful to record. These attributes are assigned at launch time and do not change. -type AdminExecutionMetadata struct { - Mode *ExecutionMetadataExecutionMode `json:"mode,omitempty"` - // Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. - Principal string `json:"principal,omitempty"` - // Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. - Nesting int64 `json:"nesting,omitempty"` - // For scheduled executions, the requested time for execution for this specific schedule invocation. - ScheduledAt time.Time `json:"scheduled_at,omitempty"` - ParentNodeExecution *CoreNodeExecutionIdentifier `json:"parent_node_execution,omitempty"` - // Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. - ReferenceExecution *CoreWorkflowExecutionIdentifier `json:"reference_execution,omitempty"` - // Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. - SystemMetadata *AdminSystemMetadata `json:"system_metadata,omitempty"` - // Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping since we don't have a structure to handle nested ones anyways. - ArtifactIds []CoreArtifactId `json:"artifact_ids,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go deleted file mode 100644 index 3cced5ad51..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionQueueAttributes struct { - // Tags used for assigning execution queues for tasks defined within this project. - Tags []string `json:"tags,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go deleted file mode 100644 index 571e0013f9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_recover_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to recover the referenced execution. -type AdminExecutionRecoverRequest struct { - // Identifier of the workflow execution to recover. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` - // Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. - Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go deleted file mode 100644 index 0f8ccc51c0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_relaunch_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to relaunch the referenced execution. -type AdminExecutionRelaunchRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - Name string `json:"name,omitempty"` - // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. - OverwriteCache bool `json:"overwrite_cache,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go deleted file mode 100644 index 3c9dc0ffdb..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go +++ /dev/null @@ -1,44 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime of an execution as it progresses across phase changes. -type AdminExecutionSpec struct { - LaunchPlan *CoreIdentifier `json:"launch_plan,omitempty"` - Inputs *CoreLiteralMap `json:"inputs,omitempty"` - Metadata *AdminExecutionMetadata `json:"metadata,omitempty"` - // List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. - Notifications *AdminNotificationList `json:"notifications,omitempty"` - // This should be set to true if all notifications are intended to be disabled for this execution. - DisableAll bool `json:"disable_all,omitempty"` - // Labels to apply to the execution resource. - Labels *AdminLabels `json:"labels,omitempty"` - // Annotations to apply to the execution resource. - Annotations *AdminAnnotations `json:"annotations,omitempty"` - // Optional: security context override to apply this execution. - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - // Optional: auth override to apply this execution. - AuthRole *AdminAuthRole `json:"auth_role,omitempty"` - // Indicates the runtime priority of the execution. - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - // Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. - MaxParallelism int32 `json:"max_parallelism,omitempty"` - RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` - // Controls how to select an available cluster on which this execution should run. - ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` - // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. - Interruptible bool `json:"interruptible,omitempty"` - // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. - OverwriteCache bool `json:"overwrite_cache,omitempty"` - // Environment variables to be set for the execution. - Envs *AdminEnvs `json:"envs,omitempty"` - // Tags to be set for the execution. - Tags []string `json:"tags,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go deleted file mode 100644 index c67d546f89..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminExecutionState : The state of the execution is used to control its visibility in the UI/CLI. - EXECUTION_ACTIVE: By default, all executions are considered active. - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI. -type AdminExecutionState string - -// List of adminExecutionState -const ( - AdminExecutionStateACTIVE AdminExecutionState = "EXECUTION_ACTIVE" - AdminExecutionStateARCHIVED AdminExecutionState = "EXECUTION_ARCHIVED" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go deleted file mode 100644 index 44e3d275a0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_state_change_details.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type AdminExecutionStateChangeDetails struct { - // The state of the execution is used to control its visibility in the UI/CLI. - State *AdminExecutionState `json:"state,omitempty"` - // This timestamp represents when the state changed. - OccurredAt time.Time `json:"occurred_at,omitempty"` - Principal string `json:"principal,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go deleted file mode 100644 index fe49673450..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to terminate an in-progress execution. This action is irreversible. If an execution is already terminated, this request will simply be a no-op. This request will fail if it references a non-existent execution. If the request succeeds the phase \"ABORTED\" will be recorded for the termination with the optional cause added to the output_result. -type AdminExecutionTerminateRequest struct { - // Uniquely identifies the individual workflow execution to be terminated. - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - // Optional reason for aborting. - Cause string `json:"cause,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go deleted file mode 100644 index 7471278b35..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_terminate_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionTerminateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go deleted file mode 100644 index 681eb05ed9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_request.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionUpdateRequest struct { - Id *CoreWorkflowExecutionIdentifier `json:"id,omitempty"` - State *AdminExecutionState `json:"state,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go deleted file mode 100644 index 34de2f4ce0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_update_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminExecutionUpdateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go deleted file mode 100644 index b92e2a45e2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Option for schedules run at a certain frequency e.g. every 2 minutes. -type AdminFixedRate struct { - Value int64 `json:"value,omitempty"` - Unit *AdminFixedRateUnit `json:"unit,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go deleted file mode 100644 index 4a6dd4877a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_fixed_rate_unit.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminFixedRateUnit : Represents a frequency at which to run a schedule. -type AdminFixedRateUnit string - -// List of adminFixedRateUnit -const ( - AdminFixedRateUnitMINUTE AdminFixedRateUnit = "MINUTE" - AdminFixedRateUnitHOUR AdminFixedRateUnit = "HOUR" - AdminFixedRateUnitDAY AdminFixedRateUnit = "DAY" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go deleted file mode 100644 index 6b8a49a661..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// These URLs are returned as part of node and task execution data requests. -type AdminFlyteUrLs struct { - Inputs string `json:"inputs,omitempty"` - Outputs string `json:"outputs,omitempty"` - Deck string `json:"deck,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go deleted file mode 100644 index b09afbfe02..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_get_version_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminGetVersionResponse struct { - ControlPlaneVersion *AdminVersion `json:"control_plane_version,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go deleted file mode 100644 index a544db3a14..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_labels.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Label values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge labels defined at registration and execution time. -type AdminLabels struct { - // Map of custom labels to be applied to the execution resource. - Values map[string]string `json:"values,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go deleted file mode 100644 index d7fa0b566a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A LaunchPlan provides the capability to templatize workflow executions. Launch plans simplify associating one or more schedules, inputs and notifications with your workflows. Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow definition doesn't necessarily have a default value for said input. -type AdminLaunchPlan struct { - // Uniquely identifies a launch plan entity. - Id *CoreIdentifier `json:"id,omitempty"` - // User-provided launch plan details, including reference workflow, inputs and other metadata. - Spec *AdminLaunchPlanSpec `json:"spec,omitempty"` - // Values computed by the flyte platform after launch plan registration. - Closure *AdminLaunchPlanClosure `json:"closure,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go deleted file mode 100644 index 540110cb0f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_closure.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Values computed by the flyte platform after launch plan registration. These include expected_inputs required to be present in a CreateExecutionRequest to launch the reference workflow as well timestamp values associated with the launch plan. -type AdminLaunchPlanClosure struct { - // Indicate the Launch plan state. - State *AdminLaunchPlanState `json:"state,omitempty"` - ExpectedInputs *CoreParameterMap `json:"expected_inputs,omitempty"` - ExpectedOutputs *CoreVariableMap `json:"expected_outputs,omitempty"` - // Time at which the launch plan was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Time at which the launch plan was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go deleted file mode 100644 index f7a46775ad..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan. -type AdminLaunchPlanCreateRequest struct { - // Uniquely identifies a launch plan entity. - Id *CoreIdentifier `json:"id,omitempty"` - // User-provided launch plan details, including reference workflow, inputs and other metadata. - Spec *AdminLaunchPlanSpec `json:"spec,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go deleted file mode 100644 index 7203a99c80..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_create_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLaunchPlanCreateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go deleted file mode 100644 index 3e91d5a0b9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLaunchPlanList struct { - LaunchPlans []AdminLaunchPlan `json:"launch_plans,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go deleted file mode 100644 index 655ac325c2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch the reference workflow. -type AdminLaunchPlanMetadata struct { - Schedule *AdminSchedule `json:"schedule,omitempty"` - Notifications []AdminNotification `json:"notifications,omitempty"` - LaunchConditions *ProtobufAny `json:"launch_conditions,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go deleted file mode 100644 index 52a7ad3dac..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go +++ /dev/null @@ -1,41 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// User-provided launch plan definition and configuration values. -type AdminLaunchPlanSpec struct { - WorkflowId *CoreIdentifier `json:"workflow_id,omitempty"` - EntityMetadata *AdminLaunchPlanMetadata `json:"entity_metadata,omitempty"` - // Input values to be passed for the execution. These can be overridden when an execution is created with this launch plan. - DefaultInputs *CoreParameterMap `json:"default_inputs,omitempty"` - // Fixed, non-overridable inputs for the Launch Plan. These can not be overridden when an execution is created with this launch plan. - FixedInputs *CoreLiteralMap `json:"fixed_inputs,omitempty"` - Role string `json:"role,omitempty"` - // Custom labels to be applied to the execution resource. - Labels *AdminLabels `json:"labels,omitempty"` - // Custom annotations to be applied to the execution resource. - Annotations *AdminAnnotations `json:"annotations,omitempty"` - // Indicates the permission associated with workflow executions triggered with this launch plan. - Auth *AdminAuth `json:"auth,omitempty"` - AuthRole *AdminAuthRole `json:"auth_role,omitempty"` - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - // Indicates the runtime priority of the execution. - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - // Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). - RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` - // Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. - MaxParallelism int32 `json:"max_parallelism,omitempty"` - // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. - Interruptible bool `json:"interruptible,omitempty"` - // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. - OverwriteCache bool `json:"overwrite_cache,omitempty"` - // Environment variables to be set for the execution. - Envs *AdminEnvs `json:"envs,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go deleted file mode 100644 index f0a1d32782..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_state.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminLaunchPlanState : By default any launch plan regardless of state can be used to launch a workflow execution. However, at most one version of a launch plan (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier group will be observed and trigger executions at a defined cadence. -type AdminLaunchPlanState string - -// List of adminLaunchPlanState -const ( - AdminLaunchPlanStateINACTIVE AdminLaunchPlanState = "INACTIVE" - AdminLaunchPlanStateACTIVE AdminLaunchPlanState = "ACTIVE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go deleted file mode 100644 index bda31c28a1..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLaunchPlanUpdateRequest struct { - // Identifier of launch plan for which to change state. +required. - Id *CoreIdentifier `json:"id,omitempty"` - // Desired state to apply to the launch plan. +required. - State *AdminLaunchPlanState `json:"state,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go deleted file mode 100644 index 84397b0166..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminLaunchPlanUpdateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go deleted file mode 100644 index 92b56e3124..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_list_matchable_attributes_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminListMatchableAttributesResponse struct { - Configurations []AdminMatchableAttributesConfiguration `json:"configurations,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go deleted file mode 100644 index ac5e29d42c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_literal_map_blob.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminLiteralMapBlob struct { - Values *CoreLiteralMap `json:"values,omitempty"` - Uri string `json:"uri,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go deleted file mode 100644 index a9381abc9b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_attributes_configuration.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org); or domain, project and workflow name (and optional org). These are used to override system level defaults for kubernetes cluster resource management, default execution values, and more all across different levels of specificity. -type AdminMatchableAttributesConfiguration struct { - Attributes *AdminMatchingAttributes `json:"attributes,omitempty"` - Domain string `json:"domain,omitempty"` - Project string `json:"project,omitempty"` - Workflow string `json:"workflow,omitempty"` - LaunchPlan string `json:"launch_plan,omitempty"` - // Optional, org key applied to the resource. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go deleted file mode 100644 index 411a7becc0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matchable_resource.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminMatchableResource : Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes based on matching tags. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. -type AdminMatchableResource string - -// List of adminMatchableResource -const ( - AdminMatchableResourceTASK_RESOURCE AdminMatchableResource = "TASK_RESOURCE" - AdminMatchableResourceCLUSTER_RESOURCE AdminMatchableResource = "CLUSTER_RESOURCE" - AdminMatchableResourceEXECUTION_QUEUE AdminMatchableResource = "EXECUTION_QUEUE" - AdminMatchableResourceEXECUTION_CLUSTER_LABEL AdminMatchableResource = "EXECUTION_CLUSTER_LABEL" - AdminMatchableResourceQUALITY_OF_SERVICE_SPECIFICATION AdminMatchableResource = "QUALITY_OF_SERVICE_SPECIFICATION" - AdminMatchableResourcePLUGIN_OVERRIDE AdminMatchableResource = "PLUGIN_OVERRIDE" - AdminMatchableResourceWORKFLOW_EXECUTION_CONFIG AdminMatchableResource = "WORKFLOW_EXECUTION_CONFIG" - AdminMatchableResourceCLUSTER_ASSIGNMENT AdminMatchableResource = "CLUSTER_ASSIGNMENT" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go deleted file mode 100644 index 2af9b6d702..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Generic container for encapsulating all types of the above attributes messages. -type AdminMatchingAttributes struct { - TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` - ClusterResourceAttributes *AdminClusterResourceAttributes `json:"cluster_resource_attributes,omitempty"` - ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` - ExecutionClusterLabel *AdminExecutionClusterLabel `json:"execution_cluster_label,omitempty"` - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - PluginOverrides *AdminPluginOverrides `json:"plugin_overrides,omitempty"` - WorkflowExecutionConfig *AdminWorkflowExecutionConfig `json:"workflow_execution_config,omitempty"` - ClusterAssignment *AdminClusterAssignment `json:"cluster_assignment,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go deleted file mode 100644 index 6239ddb45a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates information common to a NamedEntity, a Flyte resource such as a task, workflow or launch plan. A NamedEntity is exclusively identified by its resource type and identifier. -type AdminNamedEntity struct { - // Resource type of the named entity. One of Task, Workflow or LaunchPlan. - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` - // Additional metadata around a named entity. - Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go deleted file mode 100644 index ac55ee330b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that identifies a Flyte resource. A Flyte resource can be a task, workflow or launch plan. A resource can internally have multiple versions and is uniquely identified by project, domain, and name. -type AdminNamedEntityIdentifier struct { - // Name of the project the resource belongs to. - Project string `json:"project,omitempty"` - // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` - // Optional, org key applied to the resource. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go deleted file mode 100644 index 55cbafc9c9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_identifier_list.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a list of NamedEntityIdentifiers. -type AdminNamedEntityIdentifierList struct { - // A list of identifiers. - Entities []AdminNamedEntityIdentifier `json:"entities,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go deleted file mode 100644 index d8042a7ff6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_list.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a list of NamedEntityIdentifiers. -type AdminNamedEntityList struct { - Entities []AdminNamedEntity `json:"entities,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go deleted file mode 100644 index b608d83515..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_metadata.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Additional metadata around a named entity. -type AdminNamedEntityMetadata struct { - Description string `json:"description,omitempty"` - // Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. - State *AdminNamedEntityState `json:"state,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go deleted file mode 100644 index eed0505492..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_state.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// AdminNamedEntityState : The status of the named entity is used to control its visibility in the UI. - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development. - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI. - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user. -type AdminNamedEntityState string - -// List of adminNamedEntityState -const ( - AdminNamedEntityStateNAMED_ENTITY_ACTIVE AdminNamedEntityState = "NAMED_ENTITY_ACTIVE" - AdminNamedEntityStateNAMED_ENTITY_ARCHIVED AdminNamedEntityState = "NAMED_ENTITY_ARCHIVED" - AdminNamedEntityStateSYSTEM_GENERATED AdminNamedEntityState = "SYSTEM_GENERATED" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go deleted file mode 100644 index 66fb02ea37..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to set the referenced named entity state to the configured value. -type AdminNamedEntityUpdateRequest struct { - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - Id *AdminNamedEntityIdentifier `json:"id,omitempty"` - Metadata *AdminNamedEntityMetadata `json:"metadata,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go deleted file mode 100644 index 2376f0f26e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_named_entity_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminNamedEntityUpdateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go deleted file mode 100644 index a522ec663e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go +++ /dev/null @@ -1,38 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Container for node execution details and results. -type AdminNodeExecutionClosure struct { - // Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - // The last recorded phase for this node execution. - Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` - // Time at which the node execution began running. - StartedAt time.Time `json:"started_at,omitempty"` - // The amount of time the node execution spent running. - Duration string `json:"duration,omitempty"` - // Time at which the node execution was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Time at which the node execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` - WorkflowNodeMetadata *FlyteidladminWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` - // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. - DynamicJobSpecUri string `json:"dynamic_job_spec_uri,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go deleted file mode 100644 index f31d2ce272..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to send a notification that a node execution event has occurred. -type AdminNodeExecutionEventRequest struct { - RequestId string `json:"request_id,omitempty"` - // Details about the event that occurred. - Event *EventNodeExecutionEvent `json:"event,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go deleted file mode 100644 index a1bec33b15..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_event_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNodeExecutionEventResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go deleted file mode 100644 index 0ab85da7cc..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution. -type AdminNodeExecutionGetDataResponse struct { - // Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. - Inputs *AdminUrlBlob `json:"inputs,omitempty"` - // Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. - Outputs *AdminUrlBlob `json:"outputs,omitempty"` - // Full_inputs will only be populated if they are under a configured size threshold. - FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` - // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` - // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. - DynamicWorkflow *FlyteidladminDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` - FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go deleted file mode 100644 index 6ee23b657e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNodeExecutionList struct { - NodeExecutions []FlyteidladminNodeExecution `json:"node_executions,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go deleted file mode 100644 index fea13f6ade..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_meta_data.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNodeExecutionMetaData struct { - // Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. - RetryGroup string `json:"retry_group,omitempty"` - // Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. - IsParentNode bool `json:"is_parent_node,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` - // Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. - IsDynamic bool `json:"is_dynamic,omitempty"` - // Boolean flag indicating if the node is an array node. This is intended to uniquely identify array nodes from other nodes which can have is_parent_node as true. - IsArray bool `json:"is_array,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go deleted file mode 100644 index 16cc5a3c71..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a structure for notifications based on execution status. The notification content is configured within flyte admin but can be templatized. Future iterations could expose configuring notifications with custom content. -type AdminNotification struct { - Phases []CoreWorkflowExecutionPhase `json:"phases,omitempty"` - Email *AdminEmailNotification `json:"email,omitempty"` - PagerDuty *AdminPagerDutyNotification `json:"pager_duty,omitempty"` - Slack *AdminSlackNotification `json:"slack,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go deleted file mode 100644 index b89a82f831..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_notification_list.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminNotificationList struct { - Notifications []AdminNotification `json:"notifications,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go deleted file mode 100644 index c54a917fee..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_pager_duty_notification.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a pager duty notification specification. -type AdminPagerDutyNotification struct { - RecipientsEmail []string `json:"recipients_email,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go deleted file mode 100644 index cace6c40b7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_override.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This MatchableAttribute configures selecting alternate plugin implementations for a given task type. In addition to an override implementation a selection of fallbacks can be provided or other modes for handling cases where the desired plugin override is not enabled in a given Flyte deployment. -type AdminPluginOverride struct { - // A predefined yet extensible Task type identifier. - TaskType string `json:"task_type,omitempty"` - // A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. - PluginId []string `json:"plugin_id,omitempty"` - // Defines the behavior when no plugin from the plugin_id list is not found. - MissingPluginBehavior *PluginOverrideMissingPluginBehavior `json:"missing_plugin_behavior,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go deleted file mode 100644 index b137c69f1e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_plugin_overrides.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminPluginOverrides struct { - Overrides []AdminPluginOverride `json:"overrides,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go deleted file mode 100644 index fafa42e708..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Top-level namespace used to classify different entities like workflows and executions. -type AdminProject struct { - // Globally unique project name. - Id string `json:"id,omitempty"` - // Display name. - Name string `json:"name,omitempty"` - Domains []AdminDomain `json:"domains,omitempty"` - Description string `json:"description,omitempty"` - // Leverage Labels from flyteidl.admin.common.proto to tag projects with ownership information. - Labels *AdminLabels `json:"labels,omitempty"` - State *ProjectProjectState `json:"state,omitempty"` - // Optional, org key applied to the resource. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go deleted file mode 100644 index 7772a1b781..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectAttributes struct { - // Unique project id for which this set of attributes will be applied. - Project string `json:"project,omitempty"` - MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` - // Optional, org key applied to the project. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go deleted file mode 100644 index c94bdf8d78..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` - // Optional, org key applied to the project. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_response.go deleted file mode 100644 index 5c79b2c257..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_delete_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminProjectAttributesDeleteResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_get_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_get_response.go deleted file mode 100644 index 28391629eb..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_get_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectAttributesGetResponse struct { - Attributes *AdminProjectAttributes `json:"attributes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_request.go deleted file mode 100644 index 47892f4a97..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_request.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectAttributesUpdateRequest struct { - Attributes *AdminProjectAttributes `json:"attributes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_response.go deleted file mode 100644 index e54987aadf..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminProjectAttributesUpdateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go deleted file mode 100644 index 7f25ab536c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributes struct { - // Unique project id for which this set of attributes will be applied. - Project string `json:"project,omitempty"` - // Unique domain id for which this set of attributes will be applied. - Domain string `json:"domain,omitempty"` - MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` - // Optional, org key applied to the attributes. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go deleted file mode 100644 index 6431b0ffc9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_request.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` - // Optional, org key applied to the attributes. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go deleted file mode 100644 index f3b853e4a8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_delete_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminProjectDomainAttributesDeleteResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go deleted file mode 100644 index b0a90f4837..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_get_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributesGetResponse struct { - Attributes *AdminProjectDomainAttributes `json:"attributes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go deleted file mode 100644 index ffb143d783..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_request.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectDomainAttributesUpdateRequest struct { - Attributes *AdminProjectDomainAttributes `json:"attributes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go deleted file mode 100644 index 56d8148295..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminProjectDomainAttributesUpdateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go deleted file mode 100644 index 075f0de866..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_request.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjectRegisterRequest struct { - Project *AdminProject `json:"project,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go deleted file mode 100644 index beae16e4a4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_register_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be updated in the future. -type AdminProjectRegisterResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go deleted file mode 100644 index ca1f7fb47c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be updated in the future. -type AdminProjectUpdateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go deleted file mode 100644 index ed23a4f275..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_projects.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminProjects struct { - Projects []AdminProject `json:"projects,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go deleted file mode 100644 index d440e07a07..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_raw_output_data_config.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). See https://github.com/flyteorg/flyte/issues/211 for more background information. -type AdminRawOutputDataConfig struct { - OutputLocationPrefix string `json:"output_location_prefix,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_reason.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_reason.go deleted file mode 100644 index 353e673ac2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_reason.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Reason is a single message annotated with a timestamp to indicate the instant the reason occurred. -type AdminReason struct { - // occurred_at is the timestamp indicating the instant that this reason happened. - OccurredAt time.Time `json:"occurred_at,omitempty"` - // message is the explanation for the most recent phase transition or status update. - Message string `json:"message,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go deleted file mode 100644 index b6c0a02014..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_schedule.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines complete set of information required to trigger an execution on a schedule. -type AdminSchedule struct { - CronExpression string `json:"cron_expression,omitempty"` - Rate *AdminFixedRate `json:"rate,omitempty"` - CronSchedule *AdminCronSchedule `json:"cron_schedule,omitempty"` - // Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. - KickoffTimeInputArg string `json:"kickoff_time_input_arg,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go deleted file mode 100644 index e6f0faf44d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_slack_notification.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a slack notification specification. -type AdminSlackNotification struct { - RecipientsEmail []string `json:"recipients_email,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go deleted file mode 100644 index 7469a2cb02..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_sort.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Specifies sort ordering in a list request. -type AdminSort struct { - Key string `json:"key,omitempty"` - Direction *SortDirection `json:"direction,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_source_code.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_source_code.go deleted file mode 100644 index 72aa08c11a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_source_code.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminSourceCode struct { - Link string `json:"link,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go deleted file mode 100644 index 48569f8720..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_system_metadata.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents system, rather than user-facing, metadata about an execution. -type AdminSystemMetadata struct { - // Which execution cluster this execution ran on. - ExecutionCluster string `json:"execution_cluster,omitempty"` - // Which kubernetes namespace the execution ran under. - Namespace string `json:"namespace,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go deleted file mode 100644 index 6ebc453247..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks arranged to process workflow inputs and produce a deterministic set of outputs. Tasks can come in many varieties tuned for specialized behavior. -type AdminTask struct { - // id represents the unique identifier of the task. - Id *CoreIdentifier `json:"id,omitempty"` - // closure encapsulates all the fields that maps to a compiled version of the task. - Closure *AdminTaskClosure `json:"closure,omitempty"` - // One-liner overview of the entity. - ShortDescription string `json:"short_description,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go deleted file mode 100644 index 0491fd6b2b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_closure.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data and task metadata. -type AdminTaskClosure struct { - // Represents the compiled representation of the task from the specification provided. - CompiledTask *CoreCompiledTask `json:"compiled_task,omitempty"` - // Time at which the task was created. - CreatedAt time.Time `json:"created_at,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go deleted file mode 100644 index 2a0cd78a25..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go +++ /dev/null @@ -1,48 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Container for task execution details and results. -type AdminTaskExecutionClosure struct { - // Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. - OutputUri string `json:"output_uri,omitempty"` - // Error information for the task execution. Populated if the execution failed. - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - // The last recorded phase for this task execution. - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - // Detailed log information output by the task execution. - Logs []CoreTaskLog `json:"logs,omitempty"` - // Time at which the task execution began running. - StartedAt time.Time `json:"started_at,omitempty"` - // The amount of time the task execution spent running. - Duration string `json:"duration,omitempty"` - // Time at which the task execution was created. - CreatedAt time.Time `json:"created_at,omitempty"` - // Time at which the task execution was last updated. - UpdatedAt time.Time `json:"updated_at,omitempty"` - // Custom data specific to the task plugin. - CustomInfo *ProtobufStruct `json:"custom_info,omitempty"` - // If there is an explanation for the most recent phase transition, the reason will capture it. - Reason string `json:"reason,omitempty"` - // A predefined yet extensible Task type identifier. - TaskType string `json:"task_type,omitempty"` - // Metadata around how a task was executed. - Metadata *FlyteidleventTaskExecutionMetadata `json:"metadata,omitempty"` - // The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. - EventVersion int32 `json:"event_version,omitempty"` - // A time-series of the phase transition or update explanations. This, when compared to storing a singular reason as previously done, is much more valuable in visualizing and understanding historical evaluations. - Reasons []AdminReason `json:"reasons,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go deleted file mode 100644 index 47fe4cb73d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to send a notification that a task execution event has occurred. -type AdminTaskExecutionEventRequest struct { - RequestId string `json:"request_id,omitempty"` - // Details about the event that occurred. - Event *EventTaskExecutionEvent `json:"event,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go deleted file mode 100644 index f30c09a8f0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_event_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminTaskExecutionEventResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go deleted file mode 100644 index 75c3e8423e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution. -type AdminTaskExecutionGetDataResponse struct { - // Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. - Inputs *AdminUrlBlob `json:"inputs,omitempty"` - // Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. - Outputs *AdminUrlBlob `json:"outputs,omitempty"` - // Full_inputs will only be populated if they are under a configured size threshold. - FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` - // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` - FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go deleted file mode 100644 index e5c42e9d01..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_list.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminTaskExecutionList struct { - TaskExecutions []FlyteidladminTaskExecution `json:"task_executions,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go deleted file mode 100644 index 32baeb5315..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_list.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminTaskList struct { - // A list of tasks returned based on the request. - Tasks []AdminTask `json:"tasks,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go deleted file mode 100644 index 3917b5f2f8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines task resource defaults and limits that will be applied at task registration. -type AdminTaskResourceAttributes struct { - Defaults *AdminTaskResourceSpec `json:"defaults,omitempty"` - Limits *AdminTaskResourceSpec `json:"limits,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go deleted file mode 100644 index b022f1a976..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a set of overridable task resource attributes set during task registration. -type AdminTaskResourceSpec struct { - Cpu string `json:"cpu,omitempty"` - Gpu string `json:"gpu,omitempty"` - Memory string `json:"memory,omitempty"` - Storage string `json:"storage,omitempty"` - EphemeralStorage string `json:"ephemeral_storage,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go deleted file mode 100644 index 38c518515f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_spec.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a structure that encapsulates the user-configured specification of the task. -type AdminTaskSpec struct { - // Template of the task that encapsulates all the metadata of the task. - Template *CoreTaskTemplate `json:"template,omitempty"` - // Represents the specification for description entity. - Description *AdminDescriptionEntity `json:"description,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go deleted file mode 100644 index fc2ac8662f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_url_blob.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a string url and associated metadata used throughout the platform. -type AdminUrlBlob struct { - // Actual url value. - Url string `json:"url,omitempty"` - // Represents the size of the file accessible at the above url. - Bytes string `json:"bytes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go deleted file mode 100644 index 559cc80b93..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_version.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminVersion struct { - Build string `json:"Build,omitempty"` - Version string `json:"Version,omitempty"` - BuildTime string `json:"BuildTime,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go deleted file mode 100644 index 8b092b6c3e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents the workflow structure stored in the Admin A workflow is created by ordering tasks and associating outputs to inputs in order to produce a directed-acyclic execution graph. -type AdminWorkflow struct { - // id represents the unique identifier of the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // closure encapsulates all the fields that maps to a compiled version of the workflow. - Closure *AdminWorkflowClosure `json:"closure,omitempty"` - // One-liner overview of the entity. - ShortDescription string `json:"short_description,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go deleted file mode 100644 index f8fdf30748..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowAttributes struct { - // Unique project id for which this set of attributes will be applied. - Project string `json:"project,omitempty"` - // Unique domain id for which this set of attributes will be applied. - Domain string `json:"domain,omitempty"` - // Workflow name for which this set of attributes will be applied. - Workflow string `json:"workflow,omitempty"` - MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` - // Optional, org key applied to the attributes. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go deleted file mode 100644 index 26df12fc94..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowAttributesDeleteRequest struct { - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Workflow string `json:"workflow,omitempty"` - ResourceType *AdminMatchableResource `json:"resource_type,omitempty"` - // Optional, org key applied to the attributes. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go deleted file mode 100644 index 335d0be208..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_delete_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminWorkflowAttributesDeleteResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go deleted file mode 100644 index 5cfbc5219b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_get_response.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response to get an individual workflow attribute override. -type AdminWorkflowAttributesGetResponse struct { - Attributes *AdminWorkflowAttributes `json:"attributes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go deleted file mode 100644 index eb28b94d0d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowAttributesUpdateRequest struct { - Attributes *AdminWorkflowAttributes `json:"attributes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go deleted file mode 100644 index 1c449c700f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Purposefully empty, may be populated in the future. -type AdminWorkflowAttributesUpdateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go deleted file mode 100644 index 585ef055b9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_closure.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// A container holding the compiled workflow produced from the WorkflowSpec and additional metadata. -type AdminWorkflowClosure struct { - // Represents the compiled representation of the workflow from the specification provided. - CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` - // Time at which the workflow was created. - CreatedAt time.Time `json:"created_at,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go deleted file mode 100644 index 53b4cbbb08..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_request.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` - Spec *AdminWorkflowSpec `json:"spec,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go deleted file mode 100644 index badaea629f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_create_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowCreateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go deleted file mode 100644 index 7c4b9660b9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Adds defaults for customizable workflow-execution specifications and overrides. -type AdminWorkflowExecutionConfig struct { - // Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. - MaxParallelism int32 `json:"max_parallelism,omitempty"` - // Indicates security context permissions for executions triggered with this matchable attribute. - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - // Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). - RawOutputDataConfig *AdminRawOutputDataConfig `json:"raw_output_data_config,omitempty"` - // Custom labels to be applied to a triggered execution resource. - Labels *AdminLabels `json:"labels,omitempty"` - // Custom annotations to be applied to a triggered execution resource. - Annotations *AdminAnnotations `json:"annotations,omitempty"` - // Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. - Interruptible bool `json:"interruptible,omitempty"` - // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. - OverwriteCache bool `json:"overwrite_cache,omitempty"` - // Environment variables to be set for the execution. - Envs *AdminEnvs `json:"envs,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go deleted file mode 100644 index b44cf1fc95..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_request.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Request to send a notification that a workflow execution event has occurred. -type AdminWorkflowExecutionEventRequest struct { - RequestId string `json:"request_id,omitempty"` - // Details about the event that occurred. - Event *EventWorkflowExecutionEvent `json:"event,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go deleted file mode 100644 index e6805a3462..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_event_response.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowExecutionEventResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go deleted file mode 100644 index d4411944e3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_data_response.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution. -type AdminWorkflowExecutionGetDataResponse struct { - // Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. - Outputs *AdminUrlBlob `json:"outputs,omitempty"` - // Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. - Inputs *AdminUrlBlob `json:"inputs,omitempty"` - // Full_inputs will only be populated if they are under a configured size threshold. - FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` - // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_metrics_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_metrics_response.go deleted file mode 100644 index a64dbca99a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_metrics_response.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. -type AdminWorkflowExecutionGetMetricsResponse struct { - // Span defines the top-level breakdown of the workflows execution. More precise information is nested in a hierarchical structure using Flyte entity references. - Span *CoreSpan `json:"span,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go deleted file mode 100644 index 8f6b9947b3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_list.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type AdminWorkflowList struct { - // A list of workflows returned based on the request. - Workflows []AdminWorkflow `json:"workflows,omitempty"` - // In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. - Token string `json:"token,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go deleted file mode 100644 index e4ff5018c7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_spec.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a structure that encapsulates the specification of the workflow. -type AdminWorkflowSpec struct { - // Template of the task that encapsulates all the metadata of the workflow. - Template *CoreWorkflowTemplate `json:"template,omitempty"` - // Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. - SubWorkflows []CoreWorkflowTemplate `json:"sub_workflows,omitempty"` - // Represents the specification for description entity. - Description *AdminDescriptionEntity `json:"description,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go deleted file mode 100644 index c2557772aa..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_blob_type_blob_dimensionality.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type BlobTypeBlobDimensionality string - -// List of BlobTypeBlobDimensionality -const ( - BlobTypeBlobDimensionalitySINGLE BlobTypeBlobDimensionality = "SINGLE" - BlobTypeBlobDimensionalityMULTIPART BlobTypeBlobDimensionality = "MULTIPART" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go deleted file mode 100644 index 42b34515db..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_catalog_reservation_status.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CatalogReservationStatus : Indicates the status of a catalog reservation operation. - RESERVATION_DISABLED: Used to indicate that reservations are disabled - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure -type CatalogReservationStatus string - -// List of CatalogReservationStatus -const ( - CatalogReservationStatusDISABLED CatalogReservationStatus = "RESERVATION_DISABLED" - CatalogReservationStatusACQUIRED CatalogReservationStatus = "RESERVATION_ACQUIRED" - CatalogReservationStatusEXISTS CatalogReservationStatus = "RESERVATION_EXISTS" - CatalogReservationStatusRELEASED CatalogReservationStatus = "RESERVATION_RELEASED" - CatalogReservationStatusFAILURE CatalogReservationStatus = "RESERVATION_FAILURE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go deleted file mode 100644 index f12c82ff7d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_comparison_expression_operator.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ComparisonExpressionOperator : - GT: Greater Than - LT: Less Than -type ComparisonExpressionOperator string - -// List of ComparisonExpressionOperator -const ( - ComparisonExpressionOperatorEQ ComparisonExpressionOperator = "EQ" - ComparisonExpressionOperatorNEQ ComparisonExpressionOperator = "NEQ" - ComparisonExpressionOperatorGT ComparisonExpressionOperator = "GT" - ComparisonExpressionOperatorGTE ComparisonExpressionOperator = "GTE" - ComparisonExpressionOperatorLT ComparisonExpressionOperator = "LT" - ComparisonExpressionOperatorLTE ComparisonExpressionOperator = "LTE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go deleted file mode 100644 index 537e3b45e7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_conjunction_expression_logical_operator.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ConjunctionExpressionLogicalOperator : - AND: Conjunction -type ConjunctionExpressionLogicalOperator string - -// List of ConjunctionExpressionLogicalOperator -const ( - ConjunctionExpressionLogicalOperatorAND ConjunctionExpressionLogicalOperator = "AND" - ConjunctionExpressionLogicalOperatorOR ConjunctionExpressionLogicalOperator = "OR" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go deleted file mode 100644 index 6a6396583f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_connection_set_id_list.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type ConnectionSetIdList struct { - Ids []string `json:"ids,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go deleted file mode 100644 index 2ec668c981..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_container_architecture.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ContainerArchitecture : Architecture-type the container image supports. -type ContainerArchitecture string - -// List of ContainerArchitecture -const ( - ContainerArchitectureUNKNOWN ContainerArchitecture = "UNKNOWN" - ContainerArchitectureAMD64 ContainerArchitecture = "AMD64" - ContainerArchitectureARM64 ContainerArchitecture = "ARM64" - ContainerArchitectureARM_V6 ContainerArchitecture = "ARM_V6" - ContainerArchitectureARM_V7 ContainerArchitecture = "ARM_V7" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go deleted file mode 100644 index 2e0276e490..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_alias.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Links a variable to an alias. -type CoreAlias struct { - // Must match one of the output variable names on a node. - Var_ string `json:"var,omitempty"` - // A workflow-level unique alias that downstream nodes can refer to in their input. - Alias string `json:"alias,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_approve_condition.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_approve_condition.go deleted file mode 100644 index e75ab0d299..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_approve_condition.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean signal with the provided signal_id. -type CoreApproveCondition struct { - // A unique identifier for the requested boolean signal. - SignalId string `json:"signal_id,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_array_node.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_array_node.go deleted file mode 100644 index 3af3d44494..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_array_node.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input values. An ArrayNode can be executed with configurable parallelism (separate from the parent workflow) and can be configured to succeed when a certain number of sub-nodes succeed. -type CoreArrayNode struct { - // node is the sub-node that will be executed for each element in the array. - Node *CoreNode `json:"node,omitempty"` - // parallelism defines the minimum number of instances to bring up concurrently at any given point. Note that this is an optimistic restriction and that, due to network partitioning or other failures, the actual number of currently running instances might be more. This has to be a positive number if assigned. Default value is size. - Parallelism int64 `json:"parallelism,omitempty"` - // min_successes is an absolute number of the minimum number of successful completions of sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful and outputs will be computed. This has to be a non-negative number if assigned. Default value is size (if specified). - MinSuccesses int64 `json:"min_successes,omitempty"` - // If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an ArrayNode can be marked successful. - MinSuccessRatio float32 `json:"min_success_ratio,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go deleted file mode 100644 index e9df809c3b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreArtifactBindingData struct { - Index int64 `json:"index,omitempty"` - PartitionKey string `json:"partition_key,omitempty"` - BindToTimePartition bool `json:"bind_to_time_partition,omitempty"` - Transform string `json:"transform,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go deleted file mode 100644 index 701466b9c3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreArtifactId struct { - ArtifactKey *CoreArtifactKey `json:"artifact_key,omitempty"` - Version string `json:"version,omitempty"` - // Think of a partition as a tag on an Artifact, except it's a key-value pair. Different partitions naturally have different versions (execution ids). - Partitions *CorePartitions `json:"partitions,omitempty"` - // There is no such thing as an empty time partition - if it's not set, then there is no time partition. - TimePartition *CoreTimePartition `json:"time_partition,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go deleted file mode 100644 index 6aad4528b0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreArtifactKey struct { - // Project and domain and suffix needs to be unique across a given artifact store. - Project string `json:"project,omitempty"` - Domain string `json:"domain,omitempty"` - Name string `json:"name,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go deleted file mode 100644 index 0425ac9bb8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreArtifactQuery struct { - ArtifactId *CoreArtifactId `json:"artifact_id,omitempty"` - ArtifactTag *CoreArtifactTag `json:"artifact_tag,omitempty"` - Uri string `json:"uri,omitempty"` - // This is used in the trigger case, where a user specifies a value for an input that is one of the triggering artifacts, or a partition value derived from a triggering artifact. - Binding *CoreArtifactBindingData `json:"binding,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go deleted file mode 100644 index 54b3bcb6e3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreArtifactTag struct { - ArtifactKey *CoreArtifactKey `json:"artifact_key,omitempty"` - Value *CoreLabelValue `json:"value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go deleted file mode 100644 index b66a50bd78..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binary.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data. -type CoreBinary struct { - Value string `json:"value,omitempty"` - Tag string `json:"tag,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go deleted file mode 100644 index 479a2a60ff..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// An input/output binding of a variable to either static value or a node output. -type CoreBinding struct { - // Variable name must match an input/output variable of the node. - Var_ string `json:"var,omitempty"` - // Data to use to bind this variable. - Binding *CoreBindingData `json:"binding,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go deleted file mode 100644 index 903ef1f8e2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Specifies either a simple value or a reference to another output. -type CoreBindingData struct { - // A simple scalar value. - Scalar *CoreScalar `json:"scalar,omitempty"` - // A collection of binding data. This allows nesting of binding data to any number of levels. - Collection *CoreBindingDataCollection `json:"collection,omitempty"` - // References an output promised by another node. - Promise *CoreOutputReference `json:"promise,omitempty"` - // A map of bindings. The key is always a string. - Map_ *CoreBindingDataMap `json:"map,omitempty"` - Union *CoreUnionInfo `json:"union,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go deleted file mode 100644 index e83621557e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_collection.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A collection of BindingData items. -type CoreBindingDataCollection struct { - Bindings []CoreBindingData `json:"bindings,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go deleted file mode 100644 index d63199bc45..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_binding_data_map.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A map of BindingData items. -type CoreBindingDataMap struct { - Bindings map[string]CoreBindingData `json:"bindings,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go deleted file mode 100644 index 081e36a03d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. There are no restrictions on how the uri is formatted since it will depend on how to interact with the store. -type CoreBlob struct { - Metadata *CoreBlobMetadata `json:"metadata,omitempty"` - Uri string `json:"uri,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go deleted file mode 100644 index 1dfb19dda9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreBlobMetadata struct { - Type_ *CoreBlobType `json:"type,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go deleted file mode 100644 index 5c751b9562..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_blob_type.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreBlobType struct { - Format string `json:"format,omitempty"` - Dimensionality *BlobTypeBlobDimensionality `json:"dimensionality,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go deleted file mode 100644 index 0ee33d7c3a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_boolean_expression.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a boolean expression tree. It can be a simple or a conjunction expression. Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result. -type CoreBooleanExpression struct { - Conjunction *CoreConjunctionExpression `json:"conjunction,omitempty"` - Comparison *CoreComparisonExpression `json:"comparison,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go deleted file mode 100644 index e5860bb84a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_branch_node.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives). -type CoreBranchNode struct { - IfElse *CoreIfElseBlock `json:"if_else,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go deleted file mode 100644 index 94c8826d3a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_artifact_tag.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCatalogArtifactTag struct { - ArtifactId string `json:"artifact_id,omitempty"` - Name string `json:"name,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go deleted file mode 100644 index 855a733fbc..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_cache_status.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreCatalogCacheStatus : - CACHE_DISABLED: Used to indicate that caching was disabled - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error - CACHE_SKIPPED: Used to indicate the cache lookup was skipped - CACHE_EVICTED: Used to indicate that the cache was evicted -type CoreCatalogCacheStatus string - -// List of coreCatalogCacheStatus -const ( - CoreCatalogCacheStatusDISABLED CoreCatalogCacheStatus = "CACHE_DISABLED" - CoreCatalogCacheStatusMISS CoreCatalogCacheStatus = "CACHE_MISS" - CoreCatalogCacheStatusHIT CoreCatalogCacheStatus = "CACHE_HIT" - CoreCatalogCacheStatusPOPULATED CoreCatalogCacheStatus = "CACHE_POPULATED" - CoreCatalogCacheStatusLOOKUP_FAILURE CoreCatalogCacheStatus = "CACHE_LOOKUP_FAILURE" - CoreCatalogCacheStatusPUT_FAILURE CoreCatalogCacheStatus = "CACHE_PUT_FAILURE" - CoreCatalogCacheStatusSKIPPED CoreCatalogCacheStatus = "CACHE_SKIPPED" - CoreCatalogCacheStatusEVICTED CoreCatalogCacheStatus = "CACHE_EVICTED" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go deleted file mode 100644 index a4223f28b8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_catalog_metadata.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCatalogMetadata struct { - DatasetId *CoreIdentifier `json:"dataset_id,omitempty"` - ArtifactTag *CoreCatalogArtifactTag `json:"artifact_tag,omitempty"` - SourceTaskExecution *CoreTaskExecutionIdentifier `json:"source_task_execution,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go deleted file mode 100644 index 86e9586a7d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_comparison_expression.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. Each expression results in a boolean result. -type CoreComparisonExpression struct { - Operator *ComparisonExpressionOperator `json:"operator,omitempty"` - LeftValue *CoreOperand `json:"left_value,omitempty"` - RightValue *CoreOperand `json:"right_value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go deleted file mode 100644 index f5a06ebd27..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_task.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCompiledTask struct { - Template *CoreTaskTemplate `json:"template,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go deleted file mode 100644 index c30998d66c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreCompiledWorkflow struct { - Template *CoreWorkflowTemplate `json:"template,omitempty"` - // For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. - Connections *CoreConnectionSet `json:"connections,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go deleted file mode 100644 index 64753a21b5..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_compiled_workflow_closure.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of compiled subworkflows. -type CoreCompiledWorkflowClosure struct { - Primary *CoreCompiledWorkflow `json:"primary,omitempty"` - SubWorkflows []CoreCompiledWorkflow `json:"sub_workflows,omitempty"` - Tasks []CoreCompiledTask `json:"tasks,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go deleted file mode 100644 index cf8c99b9bb..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_conjunction_expression.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a conjunction expression of two boolean expressions. -type CoreConjunctionExpression struct { - Operator *ConjunctionExpressionLogicalOperator `json:"operator,omitempty"` - LeftExpression *CoreBooleanExpression `json:"left_expression,omitempty"` - RightExpression *CoreBooleanExpression `json:"right_expression,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go deleted file mode 100644 index 8d7b9bc344..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_connection_set.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreConnectionSet struct { - Downstream map[string]ConnectionSetIdList `json:"downstream,omitempty"` - Upstream map[string]ConnectionSetIdList `json:"upstream,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go deleted file mode 100644 index 26f0e9d65a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreContainer struct { - Image string `json:"image,omitempty"` - // Command to be executed, if not provided, the default entrypoint in the container image will be used. - Command []string `json:"command,omitempty"` - // These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. - Args []string `json:"args,omitempty"` - // Container resources requirement as specified by the container engine. - Resources *CoreResources `json:"resources,omitempty"` - // Environment variables will be set as the container is starting up. - Env []CoreKeyValuePair `json:"env,omitempty"` - // Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. - Config []CoreKeyValuePair `json:"config,omitempty"` - Ports []CoreContainerPort `json:"ports,omitempty"` - DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` - Architecture *ContainerArchitecture `json:"architecture,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go deleted file mode 100644 index 40e941c7e6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_container_port.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines port properties for a container. -type CoreContainerPort struct { - // Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. - ContainerPort int64 `json:"container_port,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go deleted file mode 100644 index f74fb3aaa1..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_data_loading_config.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path Any outputs generated by the user container - within output_path are automatically uploaded. -type CoreDataLoadingConfig struct { - Enabled bool `json:"enabled,omitempty"` - InputPath string `json:"input_path,omitempty"` - OutputPath string `json:"output_path,omitempty"` - Format *DataLoadingConfigLiteralMapFormat `json:"format,omitempty"` - IoStrategy *CoreIoStrategy `json:"io_strategy,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go deleted file mode 100644 index 98925eabcf..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_enum_type.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Enables declaring enum types, with predefined string values For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish To provide no defaults, make the first value as undefined. -type CoreEnumType struct { - // Predefined set of enum values. - Values []string `json:"values,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go deleted file mode 100644 index de5a0f838c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_error.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents an error thrown from a node. -type CoreError struct { - // The node id that threw the error. - FailedNodeId string `json:"failed_node_id,omitempty"` - // Error message thrown. - Message string `json:"message,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go deleted file mode 100644 index 4b2b6e07b4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_execution_error.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents the error message from the execution. -type CoreExecutionError struct { - Code string `json:"code,omitempty"` - // Detailed description of the error - including stack trace. - Message string `json:"message,omitempty"` - ErrorUri string `json:"error_uri,omitempty"` - Kind *ExecutionErrorErrorKind `json:"kind,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_extended_resources.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_extended_resources.go deleted file mode 100644 index bb02119b08..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_extended_resources.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to allocate to a task. -type CoreExtendedResources struct { - // GPU accelerator to select for task. Contains information about device type, and for multi-instance GPUs, the partition size to use. - GpuAccelerator *CoreGpuAccelerator `json:"gpu_accelerator,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_gate_node.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_gate_node.go deleted file mode 100644 index 27966e22c7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_gate_node.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// GateNode refers to the condition that is required for the gate to successfully complete. -type CoreGateNode struct { - // ApproveCondition represents a dependency on an external approval provided by a boolean signal. - Approve *CoreApproveCondition `json:"approve,omitempty"` - // SignalCondition represents a dependency on an signal. - Signal *CoreSignalCondition `json:"signal,omitempty"` - // SleepCondition represents a dependency on waiting for the specified duration. - Sleep *CoreSleepCondition `json:"sleep,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_gpu_accelerator.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_gpu_accelerator.go deleted file mode 100644 index 6be738d59f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_gpu_accelerator.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Metadata associated with the GPU accelerator to allocate to a task. Contains information about device type, and for multi-instance GPUs, the partition size to use. -type CoreGpuAccelerator struct { - // This can be any arbitrary string, and should be informed by the labels or taints associated with the nodes in question. Default cloud provider labels typically use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc. - Device string `json:"device,omitempty"` - Unpartitioned bool `json:"unpartitioned,omitempty"` - // Like `device`, this can be any arbitrary string, and should be informed by the labels or taints associated with the nodes in question. Default cloud provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc. - PartitionSize string `json:"partition_size,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go deleted file mode 100644 index 33cc281aa9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identifier.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that uniquely identifies a Flyte resource. -type CoreIdentifier struct { - // Identifies the specific type of resource that this identifier corresponds to. - ResourceType *CoreResourceType `json:"resource_type,omitempty"` - // Name of the project the resource belongs to. - Project string `json:"project,omitempty"` - // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - Domain string `json:"domain,omitempty"` - // User provided value for the resource. - Name string `json:"name,omitempty"` - // Specific version of the resource. - Version string `json:"version,omitempty"` - // Optional, org key applied to the resource. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go deleted file mode 100644 index 60251e7b6b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the right identity for the execution environment. -type CoreIdentity struct { - // iam_role references the fully qualified name of Identity & Access Management role to impersonate. - IamRole string `json:"iam_role,omitempty"` - // k8s_service_account references a kubernetes service account to impersonate. - K8sServiceAccount string `json:"k8s_service_account,omitempty"` - // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. - Oauth2Client *CoreOAuth2Client `json:"oauth2_client,omitempty"` - ExecutionIdentity string `json:"execution_identity,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go deleted file mode 100644 index 88c084f857..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_block.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a condition and the execution unit that should be executed if the condition is satisfied. -type CoreIfBlock struct { - Condition *CoreBooleanExpression `json:"condition,omitempty"` - ThenNode *CoreNode `json:"then_node,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go deleted file mode 100644 index f9e2b64918..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_if_else_block.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. If no conditions were satisfied, the else_node or the error will execute. -type CoreIfElseBlock struct { - // +required. First condition to evaluate. - Case_ *CoreIfBlock `json:"case,omitempty"` - // +optional. Additional branches to evaluate. - Other []CoreIfBlock `json:"other,omitempty"` - // The node to execute in case none of the branches were taken. - ElseNode *CoreNode `json:"else_node,omitempty"` - // An error to throw in case none of the branches were taken. - Error_ *CoreError `json:"error,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go deleted file mode 100644 index 1a66e6cf49..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreInputBindingData struct { - Var_ string `json:"var,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go deleted file mode 100644 index d310d02903..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_io_strategy.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreIoStrategy struct { - DownloadMode *IoStrategyDownloadMode `json:"download_mode,omitempty"` - UploadMode *IoStrategyUploadMode `json:"upload_mode,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go deleted file mode 100644 index a6ad3f789b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_object_metadata.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Metadata for building a kubernetes object when a task is executed. -type CoreK8sObjectMetadata struct { - // Optional labels to add to the pod definition. - Labels map[string]string `json:"labels,omitempty"` - // Optional annotations to add to the pod definition. - Annotations map[string]string `json:"annotations,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go deleted file mode 100644 index df6db9479b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a pod spec and additional pod metadata that is created when a task is executed. -type CoreK8sPod struct { - // Contains additional metadata for building a kubernetes pod. - Metadata *CoreK8sObjectMetadata `json:"metadata,omitempty"` - PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` - DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go deleted file mode 100644 index 62a32a04af..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_key_value_pair.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A generic key value pair. -type CoreKeyValuePair struct { - // required. - Key string `json:"key,omitempty"` - // +optional. - Value string `json:"value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go deleted file mode 100644 index 12e4783cfd..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type CoreLabelValue struct { - StaticValue string `json:"static_value,omitempty"` - TimeValue time.Time `json:"time_value,omitempty"` - TriggeredBinding *CoreArtifactBindingData `json:"triggered_binding,omitempty"` - InputBinding *CoreInputBindingData `json:"input_binding,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go deleted file mode 100644 index 32592b12a6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives. -type CoreLiteral struct { - // A simple value. - Scalar *CoreScalar `json:"scalar,omitempty"` - // A collection of literals to allow nesting. - Collection *CoreLiteralCollection `json:"collection,omitempty"` - // A map of strings to literals. - Map_ *CoreLiteralMap `json:"map,omitempty"` - Hash string `json:"hash,omitempty"` - // Additional metadata for literals. - Metadata map[string]string `json:"metadata,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go deleted file mode 100644 index b7de3d8c49..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_collection.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. -type CoreLiteralCollection struct { - Literals []CoreLiteral `json:"literals,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go deleted file mode 100644 index 58728f6325..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_map.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. -type CoreLiteralMap struct { - Literals map[string]CoreLiteral `json:"literals,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go deleted file mode 100644 index 08611bf6c0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal_type.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a strong type to allow type checking between interfaces. -type CoreLiteralType struct { - // A simple type that can be compared one-to-one with another. - Simple *CoreSimpleType `json:"simple,omitempty"` - // A complex type that requires matching of inner fields. - Schema *CoreSchemaType `json:"schema,omitempty"` - // Defines the type of the value of a collection. Only homogeneous collections are allowed. - CollectionType *CoreLiteralType `json:"collection_type,omitempty"` - // Defines the type of the value of a map type. The type of the key is always a string. - MapValueType *CoreLiteralType `json:"map_value_type,omitempty"` - // A blob might have specialized implementation details depending on associated metadata. - Blob *CoreBlobType `json:"blob,omitempty"` - // Defines an enum with pre-defined string values. - EnumType *CoreEnumType `json:"enum_type,omitempty"` - StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` - // Defines an union type with pre-defined LiteralTypes. - UnionType *CoreUnionType `json:"union_type,omitempty"` - // This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. - Metadata *ProtobufStruct `json:"metadata,omitempty"` - // This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. - Annotation *CoreTypeAnnotation `json:"annotation,omitempty"` - // Hints to improve type matching. - Structure *CoreTypeStructure `json:"structure,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go deleted file mode 100644 index 8a420c0e7a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch node. -type CoreNode struct { - // A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. - Id string `json:"id,omitempty"` - // Extra metadata about the node. - Metadata *CoreNodeMetadata `json:"metadata,omitempty"` - // Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. - Inputs []CoreBinding `json:"inputs,omitempty"` - // +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. - UpstreamNodeIds []string `json:"upstream_node_ids,omitempty"` - // +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. - OutputAliases []CoreAlias `json:"output_aliases,omitempty"` - // Information about the Task to execute in this node. - TaskNode *CoreTaskNode `json:"task_node,omitempty"` - // Information about the Workflow to execute in this mode. - WorkflowNode *CoreWorkflowNode `json:"workflow_node,omitempty"` - // Information about the branch node to evaluate in this node. - BranchNode *CoreBranchNode `json:"branch_node,omitempty"` - // Information about the condition to evaluate in this node. - GateNode *CoreGateNode `json:"gate_node,omitempty"` - // Information about the sub-node executions for each value in the list of this nodes inputs values. - ArrayNode *CoreArrayNode `json:"array_node,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go deleted file mode 100644 index 2a391e095f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_identifier.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that identify a Flyte node execution entity. -type CoreNodeExecutionIdentifier struct { - NodeId string `json:"node_id,omitempty"` - ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go deleted file mode 100644 index 55c46425a5..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_execution_phase.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreNodeExecutionPhase string - -// List of coreNodeExecutionPhase -const ( - CoreNodeExecutionPhaseUNDEFINED CoreNodeExecutionPhase = "UNDEFINED" - CoreNodeExecutionPhaseQUEUED CoreNodeExecutionPhase = "QUEUED" - CoreNodeExecutionPhaseRUNNING CoreNodeExecutionPhase = "RUNNING" - CoreNodeExecutionPhaseSUCCEEDED CoreNodeExecutionPhase = "SUCCEEDED" - CoreNodeExecutionPhaseFAILING CoreNodeExecutionPhase = "FAILING" - CoreNodeExecutionPhaseFAILED CoreNodeExecutionPhase = "FAILED" - CoreNodeExecutionPhaseABORTED CoreNodeExecutionPhase = "ABORTED" - CoreNodeExecutionPhaseSKIPPED CoreNodeExecutionPhase = "SKIPPED" - CoreNodeExecutionPhaseTIMED_OUT CoreNodeExecutionPhase = "TIMED_OUT" - CoreNodeExecutionPhaseDYNAMIC_RUNNING CoreNodeExecutionPhase = "DYNAMIC_RUNNING" - CoreNodeExecutionPhaseRECOVERED CoreNodeExecutionPhase = "RECOVERED" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go deleted file mode 100644 index 3913c96c83..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_node_metadata.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines extra information about the Node. -type CoreNodeMetadata struct { - Name string `json:"name,omitempty"` - // The overall timeout of a task. - Timeout string `json:"timeout,omitempty"` - // Number of retries per task. - Retries *CoreRetryStrategy `json:"retries,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go deleted file mode 100644 index 8413c9169f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_client.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task. -type CoreOAuth2Client struct { - ClientId string `json:"client_id,omitempty"` - ClientSecret *CoreSecret `json:"client_secret,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go deleted file mode 100644 index 6dcdb2dddd..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if tokens are passed through environment variables. FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens are passed through file mounts. -type CoreOAuth2TokenRequest struct { - Name string `json:"name,omitempty"` - Type_ *CoreOAuth2TokenRequestType `json:"type,omitempty"` - Client *CoreOAuth2Client `json:"client,omitempty"` - IdpDiscoveryEndpoint string `json:"idp_discovery_endpoint,omitempty"` - TokenEndpoint string `json:"token_endpoint,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go deleted file mode 100644 index 5e9b5d4e6f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_o_auth2_token_request_type.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreOAuth2TokenRequestType : Type of the token requested. - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials. -type CoreOAuth2TokenRequestType string - -// List of coreOAuth2TokenRequestType -const ( - CoreOAuth2TokenRequestTypeCLIENT_CREDENTIALS CoreOAuth2TokenRequestType = "CLIENT_CREDENTIALS" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go deleted file mode 100644 index 07f2887e70..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_operand.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines an operand to a comparison expression. -type CoreOperand struct { - Primitive *CorePrimitive `json:"primitive,omitempty"` - Var_ string `json:"var,omitempty"` - Scalar *CoreScalar `json:"scalar,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go deleted file mode 100644 index 469e79f2dd..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_output_reference.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A reference to an output produced by a node. The type can be retrieved -and validated- from the underlying interface of the node. -type CoreOutputReference struct { - // Node id must exist at the graph layer. - NodeId string `json:"node_id,omitempty"` - // Variable name must refer to an output variable for the node. - Var_ string `json:"var,omitempty"` - AttrPath []CorePromiseAttribute `json:"attr_path,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go deleted file mode 100644 index 5e113d24c8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A parameter is used as input to a launch plan and has the special ability to have a default value or mark itself as required. -type CoreParameter struct { - // +required Variable. Defines the type of the variable backing this parameter. - Var_ *CoreVariable `json:"var,omitempty"` - // Defines a default value that has to match the variable type defined. - Default_ *CoreLiteral `json:"default,omitempty"` - // +optional, is this value required to be filled. - Required bool `json:"required,omitempty"` - // This is an execution time search basically that should result in exactly one Artifact with a Type that matches the type of the variable. - ArtifactQuery *CoreArtifactQuery `json:"artifact_query,omitempty"` - ArtifactId *CoreArtifactId `json:"artifact_id,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go deleted file mode 100644 index 0c6fc94fb0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter_map.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A map of Parameters. -type CoreParameterMap struct { - // Defines a map of parameter names to parameters. - Parameters map[string]CoreParameter `json:"parameters,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go deleted file mode 100644 index a4c70146cc..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CorePartitions struct { - Value map[string]CoreLabelValue `json:"value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go deleted file mode 100644 index efe369c246..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_primitive.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type CorePrimitive struct { - Integer string `json:"integer,omitempty"` - FloatValue float64 `json:"float_value,omitempty"` - StringValue string `json:"string_value,omitempty"` - Boolean bool `json:"boolean,omitempty"` - Datetime time.Time `json:"datetime,omitempty"` - Duration string `json:"duration,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_promise_attribute.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_promise_attribute.go deleted file mode 100644 index 2c6ab252f1..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_promise_attribute.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CorePromiseAttribute struct { - StringValue string `json:"string_value,omitempty"` - IntValue int32 `json:"int_value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go deleted file mode 100644 index d735974d03..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Indicates the priority of an execution. -type CoreQualityOfService struct { - Tier *QualityOfServiceTier `json:"tier,omitempty"` - Spec *CoreQualityOfServiceSpec `json:"spec,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go deleted file mode 100644 index e7a8a8ad7a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_quality_of_service_spec.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents customized execution run-time attributes. -type CoreQualityOfServiceSpec struct { - // Indicates how much queueing delay an execution can tolerate. - QueueingBudget string `json:"queueing_budget,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go deleted file mode 100644 index 26866d1c4c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resource_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreResourceType : Indicates a resource type within Flyte. - 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. Eventually 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 in a similar manner to other Flyte objects -type CoreResourceType string - -// List of coreResourceType -const ( - CoreResourceTypeUNSPECIFIED CoreResourceType = "UNSPECIFIED" - CoreResourceTypeTASK CoreResourceType = "TASK" - CoreResourceTypeWORKFLOW CoreResourceType = "WORKFLOW" - CoreResourceTypeLAUNCH_PLAN CoreResourceType = "LAUNCH_PLAN" - CoreResourceTypeDATASET CoreResourceType = "DATASET" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go deleted file mode 100644 index 725140da08..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_resources.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A customizable interface to convey resources requested for a container. This can be interpreted differently for different container engines. -type CoreResources struct { - // The desired set of resources requested. ResourceNames must be unique within the list. - Requests []ResourcesResourceEntry `json:"requests,omitempty"` - // Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. - Limits []ResourcesResourceEntry `json:"limits,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go deleted file mode 100644 index 4766ef1445..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_retry_strategy.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Retry strategy associated with an executable unit. -type CoreRetryStrategy struct { - // Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. - Retries int64 `json:"retries,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go deleted file mode 100644 index 51fe719888..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_runtime_metadata.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Runtime information. This is loosely defined to allow for extensibility. -type CoreRuntimeMetadata struct { - // Type of runtime. - Type_ *RuntimeMetadataRuntimeType `json:"type,omitempty"` - // Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. - Version string `json:"version,omitempty"` - // +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). - Flavor string `json:"flavor,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go deleted file mode 100644 index 09c05e7bef..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_scalar.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreScalar struct { - Primitive *CorePrimitive `json:"primitive,omitempty"` - Blob *CoreBlob `json:"blob,omitempty"` - Binary *CoreBinary `json:"binary,omitempty"` - Schema *CoreSchema `json:"schema,omitempty"` - NoneType *CoreVoid `json:"none_type,omitempty"` - Error_ *CoreError `json:"error,omitempty"` - Generic *ProtobufStruct `json:"generic,omitempty"` - StructuredDataset *CoreStructuredDataset `json:"structured_dataset,omitempty"` - Union *CoreUnion `json:"union,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema.go deleted file mode 100644 index b621770da0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A strongly typed schema that defines the interface of data retrieved from the underlying storage medium. -type CoreSchema struct { - Uri string `json:"uri,omitempty"` - Type_ *CoreSchemaType `json:"type,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go deleted file mode 100644 index 52df3a083e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_schema_type.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines schema columns and types to strongly type-validate schemas interoperability. -type CoreSchemaType struct { - // A list of ordered columns this schema comprises of. - Columns []SchemaTypeSchemaColumn `json:"columns,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go deleted file mode 100644 index 3b709cefe6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_secret.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Secret encapsulates information about the secret a task needs to proceed. An environment variable FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if secrets are passed through environment variables. FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets are passed through file mounts. -type CoreSecret struct { - Group string `json:"group,omitempty"` - GroupVersion string `json:"group_version,omitempty"` - Key string `json:"key,omitempty"` - MountRequirement *SecretMountType `json:"mount_requirement,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go deleted file mode 100644 index d5c2a841a9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_security_context.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// SecurityContext holds security attributes that apply to tasks. -type CoreSecurityContext struct { - // run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. - RunAs *CoreIdentity `json:"run_as,omitempty"` - // secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. - Secrets []CoreSecret `json:"secrets,omitempty"` - // tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. - Tokens []CoreOAuth2TokenRequest `json:"tokens,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_signal_condition.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_signal_condition.go deleted file mode 100644 index 22e6a53060..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_signal_condition.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// SignalCondition represents a dependency on an signal. -type CoreSignalCondition struct { - // A unique identifier for the requested signal. - SignalId string `json:"signal_id,omitempty"` - // A type denoting the required value type for this signal. - Type_ *CoreLiteralType `json:"type,omitempty"` - // The variable name for the signal value in this nodes outputs. - OutputVariableName string `json:"output_variable_name,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go deleted file mode 100644 index 23988bb9c1..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_simple_type.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// CoreSimpleType : Define a set of simple types. -type CoreSimpleType string - -// List of coreSimpleType -const ( - CoreSimpleTypeNONE CoreSimpleType = "NONE" - CoreSimpleTypeINTEGER CoreSimpleType = "INTEGER" - CoreSimpleTypeFLOAT CoreSimpleType = "FLOAT" - CoreSimpleTypeSTRING_ CoreSimpleType = "STRING" - CoreSimpleTypeBOOLEAN CoreSimpleType = "BOOLEAN" - CoreSimpleTypeDATETIME CoreSimpleType = "DATETIME" - CoreSimpleTypeDURATION CoreSimpleType = "DURATION" - CoreSimpleTypeBINARY CoreSimpleType = "BINARY" - CoreSimpleTypeERROR_ CoreSimpleType = "ERROR" - CoreSimpleTypeSTRUCT_ CoreSimpleType = "STRUCT" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sleep_condition.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sleep_condition.go deleted file mode 100644 index 4646d8c012..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sleep_condition.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// SleepCondition represents a dependency on waiting for the specified duration. -type CoreSleepCondition struct { - // The overall duration for this sleep. - Duration string `json:"duration,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_span.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_span.go deleted file mode 100644 index c050250df6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_span.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more precise definitions. -type CoreSpan struct { - // start_time defines the instance this span began. - StartTime time.Time `json:"start_time,omitempty"` - // end_time defines the instance this span completed. - EndTime time.Time `json:"end_time,omitempty"` - // workflow_id is the id of the workflow execution this Span represents. - WorkflowId *CoreWorkflowExecutionIdentifier `json:"workflow_id,omitempty"` - // node_id is the id of the node execution this Span represents. - NodeId *CoreNodeExecutionIdentifier `json:"node_id,omitempty"` - // task_id is the id of the task execution this Span represents. - TaskId *CoreTaskExecutionIdentifier `json:"task_id,omitempty"` - // operation_id is the id of a unique operation that this Span represents. - OperationId string `json:"operation_id,omitempty"` - // spans defines a collection of Spans that breakdown this execution. - Spans []CoreSpan `json:"spans,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go deleted file mode 100644 index c0cd22cb48..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_sql.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Sql represents a generic sql workload with a statement and dialect. -type CoreSql struct { - Statement string `json:"statement,omitempty"` - Dialect *SqlDialect `json:"dialect,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go deleted file mode 100644 index 88fb473fcc..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreStructuredDataset struct { - Uri string `json:"uri,omitempty"` - Metadata *CoreStructuredDatasetMetadata `json:"metadata,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go deleted file mode 100644 index 9ae04bc033..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_metadata.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreStructuredDatasetMetadata struct { - // Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. - StructuredDatasetType *CoreStructuredDatasetType `json:"structured_dataset_type,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go deleted file mode 100644 index 74d678705b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_structured_dataset_type.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreStructuredDatasetType struct { - // A list of ordered columns this schema comprises of. - Columns []StructuredDatasetTypeDatasetColumn `json:"columns,omitempty"` - // This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. - Format string `json:"format,omitempty"` - // This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. - ExternalSchemaType string `json:"external_schema_type,omitempty"` - // The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. - ExternalSchemaBytes string `json:"external_schema_bytes,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go deleted file mode 100644 index c0f0264ad2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_identifier.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulation of fields that identify a Flyte task execution entity. -type CoreTaskExecutionIdentifier struct { - TaskId *CoreIdentifier `json:"task_id,omitempty"` - NodeExecutionId *CoreNodeExecutionIdentifier `json:"node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go deleted file mode 100644 index 0dd23b9a2c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_execution_phase.go +++ /dev/null @@ -1,24 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreTaskExecutionPhase string - -// List of coreTaskExecutionPhase -const ( - CoreTaskExecutionPhaseUNDEFINED CoreTaskExecutionPhase = "UNDEFINED" - CoreTaskExecutionPhaseQUEUED CoreTaskExecutionPhase = "QUEUED" - CoreTaskExecutionPhaseRUNNING CoreTaskExecutionPhase = "RUNNING" - CoreTaskExecutionPhaseSUCCEEDED CoreTaskExecutionPhase = "SUCCEEDED" - CoreTaskExecutionPhaseABORTED CoreTaskExecutionPhase = "ABORTED" - CoreTaskExecutionPhaseFAILED CoreTaskExecutionPhase = "FAILED" - CoreTaskExecutionPhaseINITIALIZING CoreTaskExecutionPhase = "INITIALIZING" - CoreTaskExecutionPhaseWAITING_FOR_RESOURCES CoreTaskExecutionPhase = "WAITING_FOR_RESOURCES" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go deleted file mode 100644 index 1eef3655de..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_log.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreTaskLog struct { - Uri string `json:"uri,omitempty"` - Name string `json:"name,omitempty"` - MessageFormat *TaskLogMessageFormat `json:"message_format,omitempty"` - Ttl string `json:"ttl,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go deleted file mode 100644 index 7445d16032..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_metadata.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreTaskMetadata struct { - // Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. - Discoverable bool `json:"discoverable,omitempty"` - // Runtime information about the task. - Runtime *CoreRuntimeMetadata `json:"runtime,omitempty"` - // The overall timeout of a task including user-triggered retries. - Timeout string `json:"timeout,omitempty"` - // Number of retries per task. - Retries *CoreRetryStrategy `json:"retries,omitempty"` - // Indicates a logical version to apply to this task for the purpose of discovery. - DiscoveryVersion string `json:"discovery_version,omitempty"` - // If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. - DeprecatedErrorMessage string `json:"deprecated_error_message,omitempty"` - Interruptible bool `json:"interruptible,omitempty"` - CacheSerializable bool `json:"cache_serializable,omitempty"` - // Indicates whether the task will generate a Deck URI when it finishes executing. - GeneratesDeck bool `json:"generates_deck,omitempty"` - Tags map[string]string `json:"tags,omitempty"` - // pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied identically as, the default PodTemplate configured in FlytePropeller. - PodTemplateName string `json:"pod_template_name,omitempty"` - // cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache. - CacheIgnoreInputVars []string `json:"cache_ignore_input_vars,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go deleted file mode 100644 index 63d75a8153..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Refers to the task that the Node is to execute. -type CoreTaskNode struct { - // A globally unique identifier for the task. - ReferenceId *CoreIdentifier `json:"reference_id,omitempty"` - // Optional overrides applied at task execution time. - Overrides *CoreTaskNodeOverrides `json:"overrides,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go deleted file mode 100644 index 7717000d4e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_node_overrides.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Optional task node overrides that will be applied at task execution time. -type CoreTaskNodeOverrides struct { - // A customizable interface to convey resources requested for a task container. - Resources *CoreResources `json:"resources,omitempty"` - // Overrides for all non-standard resources, not captured by v1.ResourceRequirements, to allocate to a task. - ExtendedResources *CoreExtendedResources `json:"extended_resources,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go deleted file mode 100644 index 64a4a984a8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_task_template.go +++ /dev/null @@ -1,34 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// A Task structure that uniquely identifies a task in the system Tasks are registered as a first step in the system. -type CoreTaskTemplate struct { - // Auto generated taskId by the system. Task Id uniquely identifies this task globally. - Id *CoreIdentifier `json:"id,omitempty"` - // A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. - Type_ string `json:"type,omitempty"` - // Extra metadata about the task. - Metadata *CoreTaskMetadata `json:"metadata,omitempty"` - // A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. - Interface_ *CoreTypedInterface `json:"interface,omitempty"` - // Custom data about the task. This is extensible to allow various plugins in the system. - Custom *ProtobufStruct `json:"custom,omitempty"` - Container *CoreContainer `json:"container,omitempty"` - K8sPod *CoreK8sPod `json:"k8s_pod,omitempty"` - Sql *CoreSql `json:"sql,omitempty"` - // This can be used to customize task handling at execution time for the same task type. - TaskTypeVersion int32 `json:"task_type_version,omitempty"` - // security_context encapsulates security attributes requested to run this task. - SecurityContext *CoreSecurityContext `json:"security_context,omitempty"` - // Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to allocate to a task. - ExtendedResources *CoreExtendedResources `json:"extended_resources,omitempty"` - Config map[string]string `json:"config,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_time_partition.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_time_partition.go deleted file mode 100644 index ea4002a6f0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_time_partition.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreTimePartition struct { - Value *CoreLabelValue `json:"value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go deleted file mode 100644 index 221a16877a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_annotation.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs. -type CoreTypeAnnotation struct { - // A arbitrary JSON payload to describe a type. - Annotations *ProtobufStruct `json:"annotations,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go deleted file mode 100644 index 5c92a39d26..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_type_structure.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Hints to improve type matching e.g. allows distinguishing output from custom type transformers even if the underlying IDL serialization matches. -type CoreTypeStructure struct { - Tag string `json:"tag,omitempty"` - DataclassType map[string]CoreLiteralType `json:"dataclass_type,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go deleted file mode 100644 index 8a14876460..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_typed_interface.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines strongly typed inputs and outputs. -type CoreTypedInterface struct { - Inputs *CoreVariableMap `json:"inputs,omitempty"` - Outputs *CoreVariableMap `json:"outputs,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go deleted file mode 100644 index dc4a92e0d4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// The runtime representation of a tagged union value. See `UnionType` for more details. -type CoreUnion struct { - Value *CoreLiteral `json:"value,omitempty"` - Type_ *CoreLiteralType `json:"type,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go deleted file mode 100644 index f4468f7ad0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_info.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreUnionInfo struct { - TargetType *CoreLiteralType `json:"targetType,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go deleted file mode 100644 index a2c710b49e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_union_type.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a tagged union type, also known as a variant (and formally as the sum type). A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by storing the varaint's tag with the literal value and can be examined in runtime. Type S is typically written as S := Apple A | Banana B | Cantaloupe C | ... Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value: Optional X := X | Null See also: https://en.wikipedia.org/wiki/Tagged_union -type CoreUnionType struct { - // Predefined set of variants in union. - Variants []CoreLiteralType `json:"variants,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go deleted file mode 100644 index 60655aff32..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Defines a strongly typed variable. -type CoreVariable struct { - // Variable literal type. - Type_ *CoreLiteralType `json:"type,omitempty"` - Description string `json:"description,omitempty"` - // +optional This object allows the user to specify how Artifacts are created. name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. - ArtifactPartialId *CoreArtifactId `json:"artifact_partial_id,omitempty"` - ArtifactTag *CoreArtifactTag `json:"artifact_tag,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go deleted file mode 100644 index 581bc9668a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable_map.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreVariableMap struct { - // Defines a map of variable names to variables. - Variables map[string]CoreVariable `json:"variables,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go deleted file mode 100644 index 94fc7ee1fc..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_void.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally undefined since it can be assigned to a scalar of any LiteralType. -type CoreVoid struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go deleted file mode 100644 index 92f6945956..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_identifier.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreWorkflowExecutionIdentifier struct { - // Name of the project the resource belongs to. - Project string `json:"project,omitempty"` - // Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. - Domain string `json:"domain,omitempty"` - // User or system provided value for the resource. - Name string `json:"name,omitempty"` - // Optional, org key applied to the resource. - Org string `json:"org,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go deleted file mode 100644 index 0745afacd7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_execution_phase.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type CoreWorkflowExecutionPhase string - -// List of coreWorkflowExecutionPhase -const ( - CoreWorkflowExecutionPhaseUNDEFINED CoreWorkflowExecutionPhase = "UNDEFINED" - CoreWorkflowExecutionPhaseQUEUED CoreWorkflowExecutionPhase = "QUEUED" - CoreWorkflowExecutionPhaseRUNNING CoreWorkflowExecutionPhase = "RUNNING" - CoreWorkflowExecutionPhaseSUCCEEDING CoreWorkflowExecutionPhase = "SUCCEEDING" - CoreWorkflowExecutionPhaseSUCCEEDED CoreWorkflowExecutionPhase = "SUCCEEDED" - CoreWorkflowExecutionPhaseFAILING CoreWorkflowExecutionPhase = "FAILING" - CoreWorkflowExecutionPhaseFAILED CoreWorkflowExecutionPhase = "FAILED" - CoreWorkflowExecutionPhaseABORTED CoreWorkflowExecutionPhase = "ABORTED" - CoreWorkflowExecutionPhaseTIMED_OUT CoreWorkflowExecutionPhase = "TIMED_OUT" - CoreWorkflowExecutionPhaseABORTING CoreWorkflowExecutionPhase = "ABORTING" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go deleted file mode 100644 index 9761a3abc4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not percolate down to child entities (like tasks) launched by the workflow. -type CoreWorkflowMetadata struct { - // Indicates the runtime priority of workflow executions. - QualityOfService *CoreQualityOfService `json:"quality_of_service,omitempty"` - // Defines how the system should behave when a failure is detected in the workflow execution. - OnFailure *WorkflowMetadataOnFailurePolicy `json:"on_failure,omitempty"` - Tags map[string]string `json:"tags,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go deleted file mode 100644 index 715c329160..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_metadata_defaults.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it is only relevant when a task executes. The settings here are the defaults that are passed to all nodes unless explicitly overridden at the node layer. If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be added to both this object and the WorkflowMetadata object above. -type CoreWorkflowMetadataDefaults struct { - // Whether child nodes of the workflow are interruptible. - Interruptible bool `json:"interruptible,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go deleted file mode 100644 index 42b07706aa..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_node.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Refers to a the workflow the node is to execute. -type CoreWorkflowNode struct { - // A globally unique identifier for the launch plan. - LaunchplanRef *CoreIdentifier `json:"launchplan_ref,omitempty"` - SubWorkflowRef *CoreIdentifier `json:"sub_workflow_ref,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go deleted file mode 100644 index 377a19bf82..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_workflow_template.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, directed acyclic graph. -type CoreWorkflowTemplate struct { - // A globally unique identifier for the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // Extra metadata about the workflow. - Metadata *CoreWorkflowMetadata `json:"metadata,omitempty"` - // Defines a strongly typed interface for the Workflow. This can include some optional parameters. - Interface_ *CoreTypedInterface `json:"interface,omitempty"` - // A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. - Nodes []CoreNode `json:"nodes,omitempty"` - // A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. - Outputs []CoreBinding `json:"outputs,omitempty"` - // +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. - FailureNode *CoreNode `json:"failure_node,omitempty"` - MetadataDefaults *CoreWorkflowMetadataDefaults `json:"metadata_defaults,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go deleted file mode 100644 index bfb25fd456..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_data_loading_config_literal_map_format.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// DataLoadingConfigLiteralMapFormat : - JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core -type DataLoadingConfigLiteralMapFormat string - -// List of DataLoadingConfigLiteralMapFormat -const ( - DataLoadingConfigLiteralMapFormatJSON DataLoadingConfigLiteralMapFormat = "JSON" - DataLoadingConfigLiteralMapFormatYAML DataLoadingConfigLiteralMapFormat = "YAML" - DataLoadingConfigLiteralMapFormatPROTO DataLoadingConfigLiteralMapFormat = "PROTO" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_event_reason.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_event_reason.go deleted file mode 100644 index 2f85376781..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_event_reason.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type EventEventReason struct { - Reason string `json:"reason,omitempty"` - OccurredAt time.Time `json:"occurred_at,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go deleted file mode 100644 index 8daa059ed9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_external_resource_info.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This message contains metadata about external resources produced or used by a specific task execution. -type EventExternalResourceInfo struct { - // Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. - ExternalId string `json:"external_id,omitempty"` - // A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. - Index int64 `json:"index,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - // Captures the status of caching for this external resource execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go deleted file mode 100644 index 4edc5d3692..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type EventNodeExecutionEvent struct { - Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreNodeExecutionPhase `json:"phase,omitempty"` - // This timestamp represents when the original event occurred, it is generated by the executor of the node. - OccurredAt time.Time `json:"occurred_at,omitempty"` - InputUri string `json:"input_uri,omitempty"` - // Raw input data consumed by this node execution. - InputData *CoreLiteralMap `json:"input_data,omitempty"` - // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this node execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - WorkflowNodeMetadata *FlyteidleventWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` - TaskNodeMetadata *FlyteidleventTaskNodeMetadata `json:"task_node_metadata,omitempty"` - // [To be deprecated] Specifies which task (if any) launched this node. - ParentTaskMetadata *EventParentTaskExecutionMetadata `json:"parent_task_metadata,omitempty"` - // Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. - ParentNodeMetadata *EventParentNodeExecutionMetadata `json:"parent_node_metadata,omitempty"` - RetryGroup string `json:"retry_group,omitempty"` - SpecNodeId string `json:"spec_node_id,omitempty"` - NodeName string `json:"node_name,omitempty"` - EventVersion int32 `json:"event_version,omitempty"` - // Whether this node launched a subworkflow. - IsParent bool `json:"is_parent,omitempty"` - // Whether this node yielded a dynamic workflow. - IsDynamic bool `json:"is_dynamic,omitempty"` - DeckUri string `json:"deck_uri,omitempty"` - // This timestamp represents the instant when the event was reported by the executing framework. For example, when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when literal inputs are initially copied. The event however will not be sent until after the copy completes. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. - ReportedAt time.Time `json:"reported_at,omitempty"` - // Indicates if this node is an ArrayNode. - IsArray bool `json:"is_array,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go deleted file mode 100644 index 80cd096b18..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_node_execution_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type EventParentNodeExecutionMetadata struct { - NodeId string `json:"node_id,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go deleted file mode 100644 index c5276ee64c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_parent_task_execution_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type EventParentTaskExecutionMetadata struct { - Id *CoreTaskExecutionIdentifier `json:"id,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go deleted file mode 100644 index 4b2bde69b0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_resource_pool_info.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// This message holds task execution metadata specific to resource allocation used to manage concurrent executions for a project namespace. -type EventResourcePoolInfo struct { - // Unique resource ID used to identify this execution when allocating a token. - AllocationToken string `json:"allocation_token,omitempty"` - // Namespace under which this task execution requested an allocation token. - Namespace string `json:"namespace,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go deleted file mode 100644 index dac65497ac..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -// Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob. -type EventTaskExecutionEvent struct { - // ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. - TaskId *CoreIdentifier `json:"task_id,omitempty"` - ParentNodeExecutionId *CoreNodeExecutionIdentifier `json:"parent_node_execution_id,omitempty"` - RetryAttempt int64 `json:"retry_attempt,omitempty"` - Phase *CoreTaskExecutionPhase `json:"phase,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Logs []CoreTaskLog `json:"logs,omitempty"` - // This timestamp represents when the original event occurred, it is generated by the executor of the task. - OccurredAt time.Time `json:"occurred_at,omitempty"` - // URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... - InputUri string `json:"input_uri,omitempty"` - // Raw input data consumed by this task execution. - InputData *CoreLiteralMap `json:"input_data,omitempty"` - // URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this task execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` - // Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. - CustomInfo *ProtobufStruct `json:"custom_info,omitempty"` - // Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. - PhaseVersion int64 `json:"phase_version,omitempty"` - // An optional explanation for the phase transition. Deprecated: Use reasons instead. - Reason string `json:"reason,omitempty"` - // An optional list of explanations for the phase transition. - Reasons []EventEventReason `json:"reasons,omitempty"` - // A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. - TaskType string `json:"task_type,omitempty"` - // Metadata around how a task was executed. - Metadata *FlyteidleventTaskExecutionMetadata `json:"metadata,omitempty"` - // The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. - EventVersion int32 `json:"event_version,omitempty"` - // This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. - ReportedAt time.Time `json:"reported_at,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go deleted file mode 100644 index 279f0d5a5c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_event_workflow_execution_event.go +++ /dev/null @@ -1,27 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "time" -) - -type EventWorkflowExecutionEvent struct { - ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` - ProducerId string `json:"producer_id,omitempty"` - Phase *CoreWorkflowExecutionPhase `json:"phase,omitempty"` - // This timestamp represents when the original event occurred, it is generated by the executor of the workflow. - OccurredAt time.Time `json:"occurred_at,omitempty"` - // URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... - OutputUri string `json:"output_uri,omitempty"` - Error_ *CoreExecutionError `json:"error,omitempty"` - // Raw output data produced by this workflow execution. - OutputData *CoreLiteralMap `json:"output_data,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go deleted file mode 100644 index fa2eb9e95e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_error_error_kind.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type ExecutionErrorErrorKind string - -// List of ExecutionErrorErrorKind -const ( - ExecutionErrorErrorKindUNKNOWN ExecutionErrorErrorKind = "UNKNOWN" - ExecutionErrorErrorKindUSER ExecutionErrorErrorKind = "USER" - ExecutionErrorErrorKindSYSTEM ExecutionErrorErrorKind = "SYSTEM" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go deleted file mode 100644 index 000c4da4c6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_execution_metadata_execution_mode.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ExecutionMetadataExecutionMode : The method by which this execution was launched. - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual. - SCHEDULED: A schedule triggered this execution launch. - SYSTEM: A system process was responsible for launching this execution rather an individual. - RELAUNCH: This execution was launched with identical inputs as a previous execution. - CHILD_WORKFLOW: This execution was triggered by another execution. - RECOVERED: This execution was recovered from another execution. -type ExecutionMetadataExecutionMode string - -// List of ExecutionMetadataExecutionMode -const ( - ExecutionMetadataExecutionModeMANUAL ExecutionMetadataExecutionMode = "MANUAL" - ExecutionMetadataExecutionModeSCHEDULED ExecutionMetadataExecutionMode = "SCHEDULED" - ExecutionMetadataExecutionModeSYSTEM ExecutionMetadataExecutionMode = "SYSTEM" - ExecutionMetadataExecutionModeRELAUNCH ExecutionMetadataExecutionMode = "RELAUNCH" - ExecutionMetadataExecutionModeCHILD_WORKFLOW ExecutionMetadataExecutionMode = "CHILD_WORKFLOW" - ExecutionMetadataExecutionModeRECOVERED ExecutionMetadataExecutionMode = "RECOVERED" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go deleted file mode 100644 index be943d57f4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated. -type FlyteidladminDynamicWorkflowNodeMetadata struct { - // id represents the unique identifier of the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // Represents the compiled representation of the embedded dynamic workflow. - CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` - // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. - DynamicJobSpecUri string `json:"dynamic_job_spec_uri,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go deleted file mode 100644 index 98ec72e86b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_node_execution.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates all details for a single node execution entity. A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested sub-workflow, or even a separate child-workflow execution. The same task can be called repeatedly in a single workflow but each node is unique. -type FlyteidladminNodeExecution struct { - // Uniquely identifies an individual node execution. - Id *CoreNodeExecutionIdentifier `json:"id,omitempty"` - // Path to remote data store where input blob is stored. - InputUri string `json:"input_uri,omitempty"` - // Computed results associated with this node execution. - Closure *AdminNodeExecutionClosure `json:"closure,omitempty"` - Metadata *AdminNodeExecutionMetaData `json:"metadata,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go deleted file mode 100644 index ab5fca2a45..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidladminTaskCreateRequest struct { - Id *CoreIdentifier `json:"id,omitempty"` - Spec *AdminTaskSpec `json:"spec,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_response.go deleted file mode 100644 index caffded160..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_response.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Represents a response structure if task creation succeeds. -type FlyteidladminTaskCreateResponse struct { -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go deleted file mode 100644 index e0532d1a27..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_execution.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates all details for a single task execution entity. A task execution represents an instantiated task, including all inputs and additional metadata as well as computed results included state, outputs, and duration-based attributes. -type FlyteidladminTaskExecution struct { - // Unique identifier for the task execution. - Id *CoreTaskExecutionIdentifier `json:"id,omitempty"` - // Path to remote data store where input blob is stored. - InputUri string `json:"input_uri,omitempty"` - // Task execution details and results. - Closure *AdminTaskExecutionClosure `json:"closure,omitempty"` - // Whether this task spawned nodes. - IsParent bool `json:"is_parent,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go deleted file mode 100644 index 56d98b26d1..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_node_metadata.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidladminTaskNodeMetadata struct { - // Captures the status of caching for this execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` - CheckpointUri string `json:"checkpoint_uri,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go deleted file mode 100644 index fe99080d56..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_workflow_node_metadata.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidladminWorkflowNodeMetadata struct { - // The identifier for a workflow execution launched by a node. - ExecutionId *CoreWorkflowExecutionIdentifier `json:"executionId,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go deleted file mode 100644 index a02306af60..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated. -type FlyteidleventDynamicWorkflowNodeMetadata struct { - // id represents the unique identifier of the workflow. - Id *CoreIdentifier `json:"id,omitempty"` - // Represents the compiled representation of the embedded dynamic workflow. - CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` - // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the workflow has already been compiled. - DynamicJobSpecUri string `json:"dynamic_job_spec_uri,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_execution_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_execution_metadata.go deleted file mode 100644 index 71d474ab41..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_execution_metadata.go +++ /dev/null @@ -1,23 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Holds metadata around how a task was executed. As a task transitions across event phases during execution some attributes, such its generated name, generated external resources, and more may grow in size but not change necessarily based on the phase transition that sparked the event update. Metadata is a container for these attributes across the task execution lifecycle. -type FlyteidleventTaskExecutionMetadata struct { - // Unique, generated name for this task execution used by the backend. - GeneratedName string `json:"generated_name,omitempty"` - // Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. - ExternalResources []EventExternalResourceInfo `json:"external_resources,omitempty"` - // Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. - ResourcePoolInfo []EventResourcePoolInfo `json:"resource_pool_info,omitempty"` - // The identifier of the plugin used to execute this task. - PluginIdentifier string `json:"plugin_identifier,omitempty"` - InstanceClass *TaskExecutionMetadataInstanceClass `json:"instance_class,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go deleted file mode 100644 index 50a76526b3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_task_node_metadata.go +++ /dev/null @@ -1,21 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidleventTaskNodeMetadata struct { - // Captures the status of caching for this execution. - CacheStatus *CoreCatalogCacheStatus `json:"cache_status,omitempty"` - CatalogKey *CoreCatalogMetadata `json:"catalog_key,omitempty"` - // Captures the status of cache reservations for this execution. - ReservationStatus *CatalogReservationStatus `json:"reservation_status,omitempty"` - CheckpointUri string `json:"checkpoint_uri,omitempty"` - // In the case this task launched a dynamic workflow we capture its structure here. - DynamicWorkflow *FlyteidleventDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go deleted file mode 100644 index 0530d49c8d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_workflow_node_metadata.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type FlyteidleventWorkflowNodeMetadata struct { - ExecutionId *CoreWorkflowExecutionIdentifier `json:"execution_id,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go deleted file mode 100644 index 670fc15294..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_download_mode.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// IoStrategyDownloadMode : - DOWNLOAD_EAGER: All data will be downloaded before the main container is executed - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded -type IoStrategyDownloadMode string - -// List of IOStrategyDownloadMode -const ( - IoStrategyDownloadModeDOWNLOAD_EAGER IoStrategyDownloadMode = "DOWNLOAD_EAGER" - IoStrategyDownloadModeDOWNLOAD_STREAM IoStrategyDownloadMode = "DOWNLOAD_STREAM" - IoStrategyDownloadModeDO_NOT_DOWNLOAD IoStrategyDownloadMode = "DO_NOT_DOWNLOAD" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go deleted file mode 100644 index d7b6e5f1fe..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_io_strategy_upload_mode.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// IoStrategyUploadMode : - UPLOAD_ON_EXIT: All data will be uploaded after the main container exits - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written -type IoStrategyUploadMode string - -// List of IOStrategyUploadMode -const ( - IoStrategyUploadModeUPLOAD_ON_EXIT IoStrategyUploadMode = "UPLOAD_ON_EXIT" - IoStrategyUploadModeUPLOAD_EAGER IoStrategyUploadMode = "UPLOAD_EAGER" - IoStrategyUploadModeDO_NOT_UPLOAD IoStrategyUploadMode = "DO_NOT_UPLOAD" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go deleted file mode 100644 index 2c8ff10df0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_plugin_override_missing_plugin_behavior.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// PluginOverrideMissingPluginBehavior : - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail. - USE_DEFAULT: Uses the system-configured default implementation. -type PluginOverrideMissingPluginBehavior string - -// List of PluginOverrideMissingPluginBehavior -const ( - PluginOverrideMissingPluginBehaviorFAIL PluginOverrideMissingPluginBehavior = "FAIL" - PluginOverrideMissingPluginBehaviorUSE_DEFAULT PluginOverrideMissingPluginBehavior = "USE_DEFAULT" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go deleted file mode 100644 index 112958abfa..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_project_project_state.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ProjectProjectState : The state of the project is used to control its visibility in the UI and validity. - ACTIVE: By default, all projects are considered active. - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid. - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user. -type ProjectProjectState string - -// List of ProjectProjectState -const ( - ProjectProjectStateACTIVE ProjectProjectState = "ACTIVE" - ProjectProjectStateARCHIVED ProjectProjectState = "ARCHIVED" - ProjectProjectStateSYSTEM_GENERATED ProjectProjectState = "SYSTEM_GENERATED" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go deleted file mode 100644 index cc85641360..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": , \"lastName\": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" } -type ProtobufAny struct { - // A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - TypeUrl string `json:"type_url,omitempty"` - // Must be a valid serialized protocol buffer of the above specified type. - Value string `json:"value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go deleted file mode 100644 index bc715dd55e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_list_value.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// `ListValue` is a wrapper around a repeated field of values. The JSON representation for `ListValue` is JSON array. -type ProtobufListValue struct { - // Repeated field of dynamically typed values. - Values []ProtobufValue `json:"values,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go deleted file mode 100644 index b7bb2d3e80..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_null_value.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ProtobufNullValue : `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value. -type ProtobufNullValue string - -// List of protobufNullValue -const ( - ProtobufNullValueNULL_VALUE ProtobufNullValue = "NULL_VALUE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go deleted file mode 100644 index 377cb9bbcd..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_struct.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language. The JSON representation for `Struct` is JSON object. -type ProtobufStruct struct { - // Unordered map of dynamically typed values. - Fields map[string]ProtobufValue `json:"fields,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go deleted file mode 100644 index 67738ccee2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_value.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error. The JSON representation for `Value` is JSON value. -type ProtobufValue struct { - // Represents a null value. - NullValue *ProtobufNullValue `json:"null_value,omitempty"` - // Represents a double value. - NumberValue float64 `json:"number_value,omitempty"` - // Represents a string value. - StringValue string `json:"string_value,omitempty"` - // Represents a boolean value. - BoolValue bool `json:"bool_value,omitempty"` - // Represents a structured value. - StructValue *ProtobufStruct `json:"struct_value,omitempty"` - // Represents a repeated `Value`. - ListValue *ProtobufListValue `json:"list_value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go deleted file mode 100644 index b156cc3b7e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_quality_of_service_tier.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// QualityOfServiceTier : - UNDEFINED: Default: no quality of service specified. -type QualityOfServiceTier string - -// List of QualityOfServiceTier -const ( - QualityOfServiceTierUNDEFINED QualityOfServiceTier = "UNDEFINED" - QualityOfServiceTierHIGH QualityOfServiceTier = "HIGH" - QualityOfServiceTierMEDIUM QualityOfServiceTier = "MEDIUM" - QualityOfServiceTierLOW QualityOfServiceTier = "LOW" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go deleted file mode 100644 index cb02920221..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_entry.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -// Encapsulates a resource name and value. -type ResourcesResourceEntry struct { - // Resource name. - Name *ResourcesResourceName `json:"name,omitempty"` - Value string `json:"value,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go deleted file mode 100644 index 13b9f8b236..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_resources_resource_name.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// ResourcesResourceName : Known resource names. - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs. -type ResourcesResourceName string - -// List of ResourcesResourceName -const ( - ResourcesResourceNameUNKNOWN ResourcesResourceName = "UNKNOWN" - ResourcesResourceNameCPU ResourcesResourceName = "CPU" - ResourcesResourceNameGPU ResourcesResourceName = "GPU" - ResourcesResourceNameMEMORY ResourcesResourceName = "MEMORY" - ResourcesResourceNameSTORAGE ResourcesResourceName = "STORAGE" - ResourcesResourceNameEPHEMERAL_STORAGE ResourcesResourceName = "EPHEMERAL_STORAGE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go deleted file mode 100644 index 85abd1fbcc..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_runtime_metadata_runtime_type.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type RuntimeMetadataRuntimeType string - -// List of RuntimeMetadataRuntimeType -const ( - RuntimeMetadataRuntimeTypeOTHER RuntimeMetadataRuntimeType = "OTHER" - RuntimeMetadataRuntimeTypeFLYTE_SDK RuntimeMetadataRuntimeType = "FLYTE_SDK" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go deleted file mode 100644 index ece75c9671..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_column_schema_column_type.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type SchemaColumnSchemaColumnType string - -// List of SchemaColumnSchemaColumnType -const ( - SchemaColumnSchemaColumnTypeINTEGER SchemaColumnSchemaColumnType = "INTEGER" - SchemaColumnSchemaColumnTypeFLOAT SchemaColumnSchemaColumnType = "FLOAT" - SchemaColumnSchemaColumnTypeSTRING_ SchemaColumnSchemaColumnType = "STRING" - SchemaColumnSchemaColumnTypeBOOLEAN SchemaColumnSchemaColumnType = "BOOLEAN" - SchemaColumnSchemaColumnTypeDATETIME SchemaColumnSchemaColumnType = "DATETIME" - SchemaColumnSchemaColumnTypeDURATION SchemaColumnSchemaColumnType = "DURATION" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go deleted file mode 100644 index 33bc8433ad..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_schema_type_schema_column.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type SchemaTypeSchemaColumn struct { - Name string `json:"name,omitempty"` - // The column type. This allows a limited set of types currently. - Type_ *SchemaColumnSchemaColumnType `json:"type,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go deleted file mode 100644 index 4f76410bc7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_secret_mount_type.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// SecretMountType : - ANY: Default case, indicates the client can tolerate either mounting options. - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable. - FILE: FILE indicates the secret needs to be mounted as a file. -type SecretMountType string - -// List of SecretMountType -const ( - SecretMountTypeANY SecretMountType = "ANY" - SecretMountTypeENV_VAR SecretMountType = "ENV_VAR" - SecretMountTypeFILE SecretMountType = "FILE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go deleted file mode 100644 index bc5e709b53..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sort_direction.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// SortDirection : - DESCENDING: By default, fields are sorted in descending order. -type SortDirection string - -// List of SortDirection -const ( - SortDirectionDESCENDING SortDirection = "DESCENDING" - SortDirectionASCENDING SortDirection = "ASCENDING" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go deleted file mode 100644 index 4f3e1a661a..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_sql_dialect.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// SqlDialect : The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. We support the following dialect: ansi, hive. -type SqlDialect string - -// List of SqlDialect -const ( - SqlDialectUNDEFINED SqlDialect = "UNDEFINED" - SqlDialectANSI SqlDialect = "ANSI" - SqlDialectHIVE SqlDialect = "HIVE" - SqlDialectOTHER SqlDialect = "OTHER" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go deleted file mode 100644 index ef02a51df2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_structured_dataset_type_dataset_column.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type StructuredDatasetTypeDatasetColumn struct { - // A unique name within the schema type for the column. - Name string `json:"name,omitempty"` - // The column type. - LiteralType *CoreLiteralType `json:"literal_type,omitempty"` -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go deleted file mode 100644 index efff48b058..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_execution_metadata_instance_class.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// TaskExecutionMetadataInstanceClass : Includes the broad category of machine used for this specific task execution. - DEFAULT: The default instance class configured for the flyte application platform. - INTERRUPTIBLE: The instance class configured for interruptible tasks. -type TaskExecutionMetadataInstanceClass string - -// List of TaskExecutionMetadataInstanceClass -const ( - TaskExecutionMetadataInstanceClassDEFAULT_ TaskExecutionMetadataInstanceClass = "DEFAULT" - TaskExecutionMetadataInstanceClassINTERRUPTIBLE TaskExecutionMetadataInstanceClass = "INTERRUPTIBLE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go deleted file mode 100644 index 46eab08cba..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_task_log_message_format.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -type TaskLogMessageFormat string - -// List of TaskLogMessageFormat -const ( - TaskLogMessageFormatUNKNOWN TaskLogMessageFormat = "UNKNOWN" - TaskLogMessageFormatCSV TaskLogMessageFormat = "CSV" - TaskLogMessageFormatJSON TaskLogMessageFormat = "JSON" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go deleted file mode 100644 index 81379f25c6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_workflow_metadata_on_failure_policy.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin -// WorkflowMetadataOnFailurePolicy : - FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically abort all currently running nodes and clean up resources before finally marking the workflow executions as failed. - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will not alter the dependencies of the execution graph so any node that depend on the failed node will not be run. Other nodes that will be executed to completion before cleaning up resources and marking the workflow execution as failed. -type WorkflowMetadataOnFailurePolicy string - -// List of WorkflowMetadataOnFailurePolicy -const ( - WorkflowMetadataOnFailurePolicyIMMEDIATELY WorkflowMetadataOnFailurePolicy = "FAIL_IMMEDIATELY" - WorkflowMetadataOnFailurePolicyAFTER_EXECUTABLE_NODES_COMPLETE WorkflowMetadataOnFailurePolicy = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/response.go deleted file mode 100644 index d8bc6fdc65..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/response.go +++ /dev/null @@ -1,43 +0,0 @@ -/* - * flyteidl/service/admin.proto - * - * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - * - * API version: version not set - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package flyteadmin - -import ( - "net/http" -) - -type APIResponse struct { - *http.Response `json:"-"` - Message string `json:"message,omitempty"` - // Operation is the name of the swagger operation. - Operation string `json:"operation,omitempty"` - // RequestURL is the request URL. This value is always available, even if the - // embedded *http.Response is nil. - RequestURL string `json:"url,omitempty"` - // Method is the HTTP method used for the request. This value is always - // available, even if the embedded *http.Response is nil. - Method string `json:"method,omitempty"` - // Payload holds the contents of the response body (which may be nil or empty). - // This is provided here as the raw response.Body() reader will have already - // been drained. - Payload []byte `json:"-"` -} - -func NewAPIResponse(r *http.Response) *APIResponse { - - response := &APIResponse{Response: r} - return response -} - -func NewAPIResponseWithError(errorMessage string) *APIResponse { - - response := &APIResponse{Message: errorMessage} - return response -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go b/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go index e99fbf81ef..87430aa9c5 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/identity.pb.go @@ -1,64 +1,72 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/service/identity.proto package service import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" ) -// 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 +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type UserInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *UserInfoRequest) Reset() { *m = UserInfoRequest{} } -func (m *UserInfoRequest) String() string { return proto.CompactTextString(m) } -func (*UserInfoRequest) ProtoMessage() {} -func (*UserInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0c3f20efbeb1b3f8, []int{0} +func (x *UserInfoRequest) Reset() { + *x = UserInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_identity_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserInfoRequest.Unmarshal(m, b) -} -func (m *UserInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserInfoRequest.Marshal(b, m, deterministic) -} -func (m *UserInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInfoRequest.Merge(m, src) -} -func (m *UserInfoRequest) XXX_Size() int { - return xxx_messageInfo_UserInfoRequest.Size(m) +func (x *UserInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserInfoRequest.DiscardUnknown(m) + +func (*UserInfoRequest) ProtoMessage() {} + +func (x *UserInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_identity_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UserInfoRequest proto.InternalMessageInfo +// Deprecated: Use UserInfoRequest.ProtoReflect.Descriptor instead. +func (*UserInfoRequest) Descriptor() ([]byte, []int) { + return file_flyteidl_service_identity_proto_rawDescGZIP(), []int{0} +} // See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information. type UserInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed // by the Client. Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` @@ -75,206 +83,231 @@ type UserInfoResponse struct { // Profile picture URL Picture string `protobuf:"bytes,7,opt,name=picture,proto3" json:"picture,omitempty"` // Additional claims - AdditionalClaims *_struct.Struct `protobuf:"bytes,8,opt,name=additional_claims,json=additionalClaims,proto3" json:"additional_claims,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AdditionalClaims *structpb.Struct `protobuf:"bytes,8,opt,name=additional_claims,json=additionalClaims,proto3" json:"additional_claims,omitempty"` } -func (m *UserInfoResponse) Reset() { *m = UserInfoResponse{} } -func (m *UserInfoResponse) String() string { return proto.CompactTextString(m) } -func (*UserInfoResponse) ProtoMessage() {} -func (*UserInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0c3f20efbeb1b3f8, []int{1} +func (x *UserInfoResponse) Reset() { + *x = UserInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_flyteidl_service_identity_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserInfoResponse.Unmarshal(m, b) -} -func (m *UserInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserInfoResponse.Marshal(b, m, deterministic) -} -func (m *UserInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInfoResponse.Merge(m, src) -} -func (m *UserInfoResponse) XXX_Size() int { - return xxx_messageInfo_UserInfoResponse.Size(m) -} -func (m *UserInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserInfoResponse.DiscardUnknown(m) +func (x *UserInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UserInfoResponse proto.InternalMessageInfo +func (*UserInfoResponse) ProtoMessage() {} -func (m *UserInfoResponse) GetSubject() string { - if m != nil { - return m.Subject +func (x *UserInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_flyteidl_service_identity_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *UserInfoResponse) GetName() string { - if m != nil { - return m.Name - } - return "" +// Deprecated: Use UserInfoResponse.ProtoReflect.Descriptor instead. +func (*UserInfoResponse) Descriptor() ([]byte, []int) { + return file_flyteidl_service_identity_proto_rawDescGZIP(), []int{1} } -func (m *UserInfoResponse) GetPreferredUsername() string { - if m != nil { - return m.PreferredUsername +func (x *UserInfoResponse) GetSubject() string { + if x != nil { + return x.Subject } return "" } -func (m *UserInfoResponse) GetGivenName() string { - if m != nil { - return m.GivenName +func (x *UserInfoResponse) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *UserInfoResponse) GetFamilyName() string { - if m != nil { - return m.FamilyName +func (x *UserInfoResponse) GetPreferredUsername() string { + if x != nil { + return x.PreferredUsername } return "" } -func (m *UserInfoResponse) GetEmail() string { - if m != nil { - return m.Email +func (x *UserInfoResponse) GetGivenName() string { + if x != nil { + return x.GivenName } return "" } -func (m *UserInfoResponse) GetPicture() string { - if m != nil { - return m.Picture +func (x *UserInfoResponse) GetFamilyName() string { + if x != nil { + return x.FamilyName } return "" } -func (m *UserInfoResponse) GetAdditionalClaims() *_struct.Struct { - if m != nil { - return m.AdditionalClaims +func (x *UserInfoResponse) GetEmail() string { + if x != nil { + return x.Email } - return nil -} - -func init() { - proto.RegisterType((*UserInfoRequest)(nil), "flyteidl.service.UserInfoRequest") - proto.RegisterType((*UserInfoResponse)(nil), "flyteidl.service.UserInfoResponse") -} - -func init() { proto.RegisterFile("flyteidl/service/identity.proto", fileDescriptor_0c3f20efbeb1b3f8) } - -var fileDescriptor_0c3f20efbeb1b3f8 = []byte{ - // 374 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xbf, 0x6e, 0xea, 0x30, - 0x14, 0x87, 0xc5, 0x7f, 0x30, 0x03, 0x60, 0x5d, 0xe9, 0x46, 0xa8, 0x15, 0x34, 0x13, 0x0b, 0xb6, - 0x44, 0xe7, 0xaa, 0x52, 0xdb, 0x85, 0xa5, 0x03, 0x88, 0xa5, 0x43, 0x91, 0x93, 0x9c, 0xa4, 0xae, - 0x12, 0x3b, 0xd8, 0x0e, 0x12, 0x6b, 0x5f, 0xa1, 0xcf, 0xd0, 0x27, 0xea, 0x2b, 0xf4, 0x41, 0x2a, - 0xec, 0x04, 0x24, 0x86, 0x6e, 0x3e, 0xe7, 0xfb, 0x8e, 0x64, 0xff, 0x8e, 0xd1, 0x24, 0x4e, 0x0f, - 0x06, 0x78, 0x94, 0x52, 0x0d, 0x6a, 0xcf, 0x43, 0xa0, 0x3c, 0x02, 0x61, 0xb8, 0x39, 0x90, 0x5c, - 0x49, 0x23, 0xf1, 0xb0, 0x12, 0x48, 0x29, 0x8c, 0xaf, 0x12, 0x29, 0x93, 0x14, 0x28, 0xcb, 0x39, - 0x65, 0x42, 0x48, 0xc3, 0x0c, 0x97, 0x42, 0x3b, 0xff, 0x44, 0x6d, 0x15, 0x14, 0x31, 0xd5, 0x46, - 0x15, 0xa1, 0x71, 0xd4, 0x1f, 0xa1, 0xc1, 0x46, 0x83, 0x5a, 0x8a, 0x58, 0xae, 0x60, 0x57, 0x80, - 0x36, 0xfe, 0x57, 0x1d, 0x0d, 0xcf, 0x3d, 0x9d, 0x4b, 0xa1, 0x01, 0x7b, 0xa8, 0xa3, 0x8b, 0xe0, - 0x1d, 0x42, 0xe3, 0xd5, 0xa6, 0xb5, 0x59, 0x6f, 0x55, 0x95, 0x18, 0xa3, 0xa6, 0x60, 0x19, 0x78, - 0x75, 0xdb, 0xb6, 0x67, 0x3c, 0x47, 0x38, 0x57, 0x10, 0x83, 0x52, 0x10, 0x6d, 0x0b, 0x0d, 0xca, - 0x1a, 0x0d, 0x6b, 0x8c, 0x4e, 0x64, 0x53, 0x02, 0x7c, 0x8d, 0x50, 0xc2, 0xf7, 0x20, 0xb6, 0x56, - 0x6b, 0x5a, 0xad, 0x67, 0x3b, 0xcf, 0x47, 0x3c, 0x41, 0xfd, 0x98, 0x65, 0x3c, 0x3d, 0x38, 0xde, - 0xb2, 0x1c, 0xb9, 0x96, 0x15, 0xfe, 0xa1, 0x16, 0x64, 0x8c, 0xa7, 0x5e, 0xdb, 0x22, 0x57, 0x1c, - 0xaf, 0x9c, 0xf3, 0xd0, 0x14, 0x0a, 0xbc, 0x8e, 0xbb, 0x72, 0x59, 0xe2, 0x27, 0x34, 0x62, 0x51, - 0xc4, 0x8f, 0x29, 0xb1, 0x74, 0x1b, 0xa6, 0x8c, 0x67, 0xda, 0xeb, 0x4e, 0x6b, 0xb3, 0xfe, 0xe2, - 0x3f, 0x71, 0x71, 0x91, 0x2a, 0x2e, 0xb2, 0xb6, 0x71, 0xad, 0x86, 0xe7, 0x89, 0x47, 0x3b, 0xb0, - 0xd8, 0xa1, 0xc1, 0xb2, 0x5c, 0xcd, 0xda, 0x6d, 0x02, 0xbf, 0xa2, 0x6e, 0x95, 0x1c, 0xbe, 0x21, - 0x97, 0x8b, 0x22, 0x17, 0x49, 0x8f, 0xfd, 0xbf, 0x14, 0x17, 0xbc, 0xdf, 0xff, 0xf8, 0xfe, 0xf9, - 0xac, 0xb7, 0x70, 0x83, 0x66, 0xf0, 0x70, 0xff, 0x72, 0x97, 0x70, 0xf3, 0x56, 0x04, 0x24, 0x94, - 0x19, 0xb5, 0xc3, 0x52, 0x25, 0xee, 0x40, 0x4f, 0x1f, 0x27, 0x01, 0x41, 0xf3, 0x60, 0x9e, 0x48, - 0x7a, 0xf9, 0x97, 0x82, 0xb6, 0x7d, 0xd6, 0xed, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfa, 0xf1, - 0xd4, 0xeb, 0x66, 0x02, 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 - -// IdentityServiceClient is the client API for IdentityService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type IdentityServiceClient interface { - // Retrieves user information about the currently logged in user. - UserInfo(ctx context.Context, in *UserInfoRequest, opts ...grpc.CallOption) (*UserInfoResponse, error) -} - -type identityServiceClient struct { - cc *grpc.ClientConn -} - -func NewIdentityServiceClient(cc *grpc.ClientConn) IdentityServiceClient { - return &identityServiceClient{cc} + return "" } -func (c *identityServiceClient) UserInfo(ctx context.Context, in *UserInfoRequest, opts ...grpc.CallOption) (*UserInfoResponse, error) { - out := new(UserInfoResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.IdentityService/UserInfo", in, out, opts...) - if err != nil { - return nil, err +func (x *UserInfoResponse) GetPicture() string { + if x != nil { + return x.Picture } - return out, nil -} - -// IdentityServiceServer is the server API for IdentityService service. -type IdentityServiceServer interface { - // Retrieves user information about the currently logged in user. - UserInfo(context.Context, *UserInfoRequest) (*UserInfoResponse, error) -} - -// UnimplementedIdentityServiceServer can be embedded to have forward compatible implementations. -type UnimplementedIdentityServiceServer struct { + return "" } -func (*UnimplementedIdentityServiceServer) UserInfo(ctx context.Context, req *UserInfoRequest) (*UserInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented") +func (x *UserInfoResponse) GetAdditionalClaims() *structpb.Struct { + if x != nil { + return x.AdditionalClaims + } + return nil } -func RegisterIdentityServiceServer(s *grpc.Server, srv IdentityServiceServer) { - s.RegisterService(&_IdentityService_serviceDesc, srv) -} +var File_flyteidl_service_identity_proto protoreflect.FileDescriptor + +var file_flyteidl_service_identity_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, + 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x11, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0xa5, 0x02, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, + 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x69, 0x76, 0x65, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x69, 0x76, 0x65, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x69, + 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x69, 0x63, + 0x74, 0x75, 0x72, 0x65, 0x12, 0x44, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x10, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x32, 0x9d, 0x01, 0x0a, 0x0f, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x89, + 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x36, 0x92, 0x41, 0x28, 0x1a, 0x26, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, + 0x65, 0x73, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x05, 0x12, 0x03, 0x2f, 0x6d, 0x65, 0x42, 0xc5, 0x01, 0x0a, 0x14, 0x63, + 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x42, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, + 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x53, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xca, 0x02, 0x10, 0x46, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xe2, + 0x02, 0x1c, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x11, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_flyteidl_service_identity_proto_rawDescOnce sync.Once + file_flyteidl_service_identity_proto_rawDescData = file_flyteidl_service_identity_proto_rawDesc +) -func _IdentityService_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IdentityServiceServer).UserInfo(ctx, in) +func file_flyteidl_service_identity_proto_rawDescGZIP() []byte { + file_flyteidl_service_identity_proto_rawDescOnce.Do(func() { + file_flyteidl_service_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_flyteidl_service_identity_proto_rawDescData) + }) + return file_flyteidl_service_identity_proto_rawDescData +} + +var file_flyteidl_service_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flyteidl_service_identity_proto_goTypes = []interface{}{ + (*UserInfoRequest)(nil), // 0: flyteidl.service.UserInfoRequest + (*UserInfoResponse)(nil), // 1: flyteidl.service.UserInfoResponse + (*structpb.Struct)(nil), // 2: google.protobuf.Struct +} +var file_flyteidl_service_identity_proto_depIdxs = []int32{ + 2, // 0: flyteidl.service.UserInfoResponse.additional_claims:type_name -> google.protobuf.Struct + 0, // 1: flyteidl.service.IdentityService.UserInfo:input_type -> flyteidl.service.UserInfoRequest + 1, // 2: flyteidl.service.IdentityService.UserInfo:output_type -> flyteidl.service.UserInfoResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_flyteidl_service_identity_proto_init() } +func file_flyteidl_service_identity_proto_init() { + if File_flyteidl_service_identity_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.IdentityService/UserInfo", + if !protoimpl.UnsafeEnabled { + file_flyteidl_service_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_flyteidl_service_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IdentityServiceServer).UserInfo(ctx, req.(*UserInfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _IdentityService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.IdentityService", - HandlerType: (*IdentityServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UserInfo", - Handler: _IdentityService_UserInfo_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_service_identity_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/identity.proto", + GoTypes: file_flyteidl_service_identity_proto_goTypes, + DependencyIndexes: file_flyteidl_service_identity_proto_depIdxs, + MessageInfos: file_flyteidl_service_identity_proto_msgTypes, + }.Build() + File_flyteidl_service_identity_proto = out.File + file_flyteidl_service_identity_proto_rawDesc = nil + file_flyteidl_service_identity_proto_goTypes = nil + file_flyteidl_service_identity_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/identity.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/service/identity.pb.gw.go deleted file mode 100644 index d3ad8ae43f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/identity.pb.gw.go +++ /dev/null @@ -1,107 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: flyteidl/service/identity.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 - -func request_IdentityService_UserInfo_0(ctx context.Context, marshaler runtime.Marshaler, client IdentityServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UserInfoRequest - var metadata runtime.ServerMetadata - - msg, err := client.UserInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -// RegisterIdentityServiceHandlerFromEndpoint is same as RegisterIdentityServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterIdentityServiceHandlerFromEndpoint(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 RegisterIdentityServiceHandler(ctx, mux, conn) -} - -// RegisterIdentityServiceHandler registers the http handlers for service IdentityService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterIdentityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterIdentityServiceHandlerClient(ctx, mux, NewIdentityServiceClient(conn)) -} - -// RegisterIdentityServiceHandlerClient registers the http handlers for service IdentityService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdentityServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdentityServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "IdentityServiceClient" to call the correct interceptors. -func RegisterIdentityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdentityServiceClient) error { - - mux.Handle("GET", pattern_IdentityService_UserInfo_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_IdentityService_UserInfo_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_IdentityService_UserInfo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_IdentityService_UserInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"me"}, "")) -) - -var ( - forward_IdentityService_UserInfo_0 = runtime.ForwardResponseMessage -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/identity.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/identity.swagger.json deleted file mode 100644 index 62cfc9e104..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/identity.swagger.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/service/identity.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/me": { - "get": { - "summary": "Retrieves user information about the currently logged in user.", - "operationId": "UserInfo", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/serviceUserInfoResponse" - } - } - }, - "tags": [ - "IdentityService" - ] - } - } - }, - "definitions": { - "protobufListValue": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Repeated field of dynamically typed values." - } - }, - "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." - }, - "protobufNullValue": { - "type": "string", - "enum": [ - "NULL_VALUE" - ], - "default": "NULL_VALUE", - "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." - }, - "protobufStruct": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Unordered map of dynamically typed values." - } - }, - "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." - }, - "protobufValue": { - "type": "object", - "properties": { - "null_value": { - "$ref": "#/definitions/protobufNullValue", - "description": "Represents a null value." - }, - "number_value": { - "type": "number", - "format": "double", - "description": "Represents a double value." - }, - "string_value": { - "type": "string", - "description": "Represents a string value." - }, - "bool_value": { - "type": "boolean", - "format": "boolean", - "description": "Represents a boolean value." - }, - "struct_value": { - "$ref": "#/definitions/protobufStruct", - "description": "Represents a structured value." - }, - "list_value": { - "$ref": "#/definitions/protobufListValue", - "description": "Represents a repeated `Value`." - } - }, - "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." - }, - "serviceUserInfoResponse": { - "type": "object", - "properties": { - "subject": { - "type": "string", - "description": "Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed\nby the Client." - }, - "name": { - "type": "string", - "title": "Full name" - }, - "preferred_username": { - "type": "string", - "title": "Shorthand name by which the End-User wishes to be referred to" - }, - "given_name": { - "type": "string", - "title": "Given name(s) or first name(s)" - }, - "family_name": { - "type": "string", - "title": "Surname(s) or last name(s)" - }, - "email": { - "type": "string", - "title": "Preferred e-mail address" - }, - "picture": { - "type": "string", - "title": "Profile picture URL" - }, - "additional_claims": { - "$ref": "#/definitions/protobufStruct", - "title": "Additional claims" - } - }, - "description": "See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information." - } - } -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/identity_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/service/identity_grpc.pb.go new file mode 100644 index 0000000000..6e7c0b54dd --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/identity_grpc.pb.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/service/identity.proto + +package service + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + IdentityService_UserInfo_FullMethodName = "/flyteidl.service.IdentityService/UserInfo" +) + +// IdentityServiceClient is the client API for IdentityService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type IdentityServiceClient interface { + // Retrieves user information about the currently logged in user. + UserInfo(ctx context.Context, in *UserInfoRequest, opts ...grpc.CallOption) (*UserInfoResponse, error) +} + +type identityServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewIdentityServiceClient(cc grpc.ClientConnInterface) IdentityServiceClient { + return &identityServiceClient{cc} +} + +func (c *identityServiceClient) UserInfo(ctx context.Context, in *UserInfoRequest, opts ...grpc.CallOption) (*UserInfoResponse, error) { + out := new(UserInfoResponse) + err := c.cc.Invoke(ctx, IdentityService_UserInfo_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// IdentityServiceServer is the server API for IdentityService service. +// All implementations should embed UnimplementedIdentityServiceServer +// for forward compatibility +type IdentityServiceServer interface { + // Retrieves user information about the currently logged in user. + UserInfo(context.Context, *UserInfoRequest) (*UserInfoResponse, error) +} + +// UnimplementedIdentityServiceServer should be embedded to have forward compatible implementations. +type UnimplementedIdentityServiceServer struct { +} + +func (UnimplementedIdentityServiceServer) UserInfo(context.Context, *UserInfoRequest) (*UserInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented") +} + +// UnsafeIdentityServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to IdentityServiceServer will +// result in compilation errors. +type UnsafeIdentityServiceServer interface { + mustEmbedUnimplementedIdentityServiceServer() +} + +func RegisterIdentityServiceServer(s grpc.ServiceRegistrar, srv IdentityServiceServer) { + s.RegisterService(&IdentityService_ServiceDesc, srv) +} + +func _IdentityService_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(IdentityServiceServer).UserInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: IdentityService_UserInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(IdentityServiceServer).UserInfo(ctx, req.(*UserInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// IdentityService_ServiceDesc is the grpc.ServiceDesc for IdentityService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var IdentityService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.IdentityService", + HandlerType: (*IdentityServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UserInfo", + Handler: _IdentityService_UserInfo_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/identity.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/openapi.go b/flyteidl/gen/pb-go/flyteidl/service/openapi.go deleted file mode 100644 index 778bacd1c2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/openapi.go +++ /dev/null @@ -1,245 +0,0 @@ -// Code generated by go-bindata. (@generated) DO NOT EDIT. - - //Package service generated by go-bindata.// sources: -// ../service/admin.swagger.json -package service - -import ( - "bytes" - "compress/gzip" - "fmt" - "io" - "io/ioutil" - "os" - "path/filepath" - "strings" - "time" -) - -func bindataRead(data []byte, name string) ([]byte, error) { - gz, err := gzip.NewReader(bytes.NewBuffer(data)) - if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) - } - - var buf bytes.Buffer - _, err = io.Copy(&buf, gz) - clErr := gz.Close() - - if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) - } - if clErr != nil { - return nil, err - } - - return buf.Bytes(), nil -} - -type asset struct { - bytes []byte - info os.FileInfo -} - -type bindataFileInfo struct { - name string - size int64 - mode os.FileMode - modTime time.Time -} - -// Name return file name -func (fi bindataFileInfo) Name() string { - return fi.name -} - -// Size return file size -func (fi bindataFileInfo) Size() int64 { - return fi.size -} - -// Mode return file mode -func (fi bindataFileInfo) Mode() os.FileMode { - return fi.mode -} - -// ModTime return file modify time -func (fi bindataFileInfo) ModTime() time.Time { - return fi.modTime -} - -// IsDir return file whether a directory -func (fi bindataFileInfo) IsDir() bool { - return fi.mode&os.ModeDir != 0 -} - -// Sys return file is sys mode -func (fi bindataFileInfo) Sys() interface{} { - return nil -} - -var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\xe3\xb8\xb5\x28\x8a\xff\xbf\x3f\x05\xaa\xf7\xaf\xaa\x33\x89\xed\x9e\x64\x72\xf6\x2f\xe5\x5d\xa7\xee\xd5\xd8\xea\x1e\x9d\x71\xdb\x1e\x5b\x9e\xc9\xd4\xf1\x2e\x0d\x44\x42\x12\x62\x0a\xd0\x00\xa0\xdd\x4a\x2a\xdf\xfd\x16\x16\x00\x12\xa4\x48\x89\x7a\x9a\x72\x23\xa9\x4a\xdc\x22\x89\xc7\xc2\xc2\x7a\x3f\xfe\xf5\x1f\x08\xbd\x93\x2f\x78\x3c\x26\xe2\xdd\x39\x7a\xf7\x97\xb3\x6f\xdf\x9d\xe8\xdf\x28\x1b\xf1\x77\xe7\x48\x3f\x47\xe8\x9d\xa2\x2a\x21\xfa\xf9\x28\x99\x2b\x42\xe3\xe4\x83\x24\xe2\x99\x46\xe4\x03\x8e\xa7\x94\x9d\xcd\x04\x57\x1c\x3e\x44\xe8\xdd\x33\x11\x92\x72\xa6\x5f\xb7\x7f\x22\xc6\x15\x92\x44\xbd\xfb\x0f\x84\xfe\x0d\xc3\xcb\x68\x42\xa6\x44\xbe\x3b\x47\xff\xd7\x7c\x34\x51\x6a\xe6\x06\xd0\x7f\x4b\xfd\xee\xff\xc0\xbb\x11\x67\x32\x2d\xbc\x8c\x67\xb3\x84\x46\x58\x51\xce\x3e\xfc\x43\x72\x96\xbf\x3b\x13\x3c\x4e\xa3\x86\xef\x62\x35\x91\xf9\x1e\x3f\xe0\x19\xfd\xf0\xfc\xe7\x0f\x38\x52\xf4\x99\x0c\x12\x9c\xb2\x68\x32\x98\x25\x98\xc9\x0f\x5c\x8c\x3f\xfc\x8b\xc6\x67\x5c\x8c\xff\x0d\x7f\xcc\x04\xff\x07\x89\x94\xf9\x47\xcc\xa7\x98\x32\xf3\x37\xc3\x53\xf2\xef\x6c\x50\x84\xde\x8d\x89\xf2\xfe\xa9\xb7\x9e\x4e\xa7\x58\xcc\x35\x78\x3e\x12\x15\x4d\x90\x9a\x10\x64\x26\x45\x0e\x5e\x7c\x84\x30\x3a\x17\x64\x74\xfe\x9b\x20\xa3\x81\x83\xfa\x99\x81\xf6\x15\x2c\xed\x36\xc1\xec\xb7\x33\x0b\x33\x18\x99\xcf\x88\x80\x8d\xf6\x62\x3d\xfa\x27\xa2\x3a\x30\x6c\xfe\xfe\x5f\xfc\xd7\x05\x91\x33\xce\x24\x91\x85\xf5\x21\xf4\xee\x2f\xdf\x7e\x5b\xfa\x09\xa1\x77\x31\x91\x91\xa0\x33\x65\x4f\xb6\x83\x64\x1a\x45\x44\xca\x51\x9a\x20\x37\x92\xbf\x1a\xb3\x57\x7d\xcc\x78\x61\x30\x84\xde\xfd\xff\x04\x19\xe9\x71\xfe\xf3\x43\x4c\x46\x94\x51\x3d\xae\x34\xd8\x94\x2f\xf7\x5d\xe1\xab\x7f\xff\x47\xd5\xdf\xff\xf6\x76\x34\xc3\x02\x4f\x89\x22\x22\x3f\x7f\xf3\x9f\xd2\x5e\xf4\x21\xe9\xc9\xcd\x89\x96\x17\x5d\xda\xe9\x0d\xfc\x85\x93\x13\xc4\xc5\x18\x3d\x91\x39\x02\x94\x22\x31\x52\x1c\xce\x4e\x10\xc9\x53\x11\x2d\xee\x9e\xc2\xf7\x1a\xcd\xca\x4f\x04\xf9\x3d\xa5\x82\xe8\x63\x52\x22\x25\xa5\xa7\x6a\x3e\x83\xe5\x49\x25\x28\x1b\xfb\x40\xf8\xf7\x49\xa3\x4d\x59\xec\x5c\xb1\xb1\x6b\x3c\x25\x1a\xd3\xf4\x1e\xec\x17\x85\xfd\xa0\x21\x49\x38\x1b\x4b\xa4\x78\x7b\xb6\x66\xee\xda\x1a\x3b\x33\x1f\xd4\x6e\xec\x91\x75\xdc\x2b\x11\x66\x68\x48\x90\x26\x37\x34\x26\x82\xc4\x08\x4b\x84\x91\x4c\x87\x92\x28\xf4\x42\xd5\x84\x32\xfd\xef\x19\x89\xe8\x88\x46\x0e\x66\xed\x81\x0d\xfc\xb9\x1c\x32\x0f\x92\x08\xbd\xf0\x67\x1a\x93\x18\x3d\xe3\x24\x25\x68\xc4\x45\x11\x8f\x1f\x59\x7f\xa2\xe1\x30\x1d\x52\x06\xf4\x44\xc3\xd2\x61\xc8\x9f\x1c\xb8\xfe\x84\xf4\x7c\x28\x65\xf4\xf7\x94\x24\x73\x44\x63\xc2\x14\x1d\x51\x22\xcb\xa3\xfd\x89\xdb\x2b\x84\x4e\x91\x86\x33\x11\x0a\xe0\xcd\x99\x22\x5f\x94\x44\xa7\x28\xa1\x4f\x04\xbd\xbf\xa2\x52\xa1\xce\x6d\xef\xfd\x09\x7a\x6f\x88\x00\x02\xf2\xfb\xfe\x00\x10\xce\xfe\xfe\x1f\x8f\x9e\x28\x3c\x2e\x53\x92\x77\x1d\x4d\xa2\xee\x0d\xf7\xcb\x47\xf8\x9f\xff\xf0\xc7\xb1\xe7\xb5\x9a\xa5\x18\x7e\x92\x33\x13\xcb\x49\x9a\xf2\x0f\x00\x58\x91\x75\x48\x7d\x56\xdb\x72\x0e\x3d\x6e\x99\x75\xc8\x23\xe3\x1d\x7a\x0f\xfb\xe6\x1f\x6f\x8f\x79\x6c\xc3\x39\xb0\x82\x2b\x8d\x29\x33\x14\x20\x23\x08\x42\x6a\x22\xe0\x96\xdd\x92\x9d\x6e\xc3\x48\xbc\x9d\x79\xbc\xc4\xb1\x08\x0f\x2a\x2d\xdc\x77\x42\xa7\x74\xd5\xf9\xf6\x58\xac\x45\x66\x4b\xc9\x59\x3a\x1d\x12\xa1\xc1\xe0\x90\x15\x76\x3b\xd4\xc8\xab\x52\xc1\x48\xdc\x60\x9b\xbf\xa7\x44\xcc\x97\xec\x73\x84\x13\x59\xb7\x51\xca\x14\xd1\xfa\x49\xe9\xf1\x88\x8b\x29\x56\xf6\x85\xff\xfa\xeb\xba\x80\x50\xfc\x89\xac\x3a\xff\x9e\x39\xcd\x08\x4b\x40\x83\x69\x9a\x28\x3a\x4b\x08\x9a\xe1\x31\x91\x16\x22\x69\xa2\xe4\x09\xbc\xa6\x75\x22\x22\x4e\x33\xf6\x0a\x33\x38\xb1\x22\x95\xe6\xd2\x8f\x32\x99\x9f\x91\x2f\x0a\x46\x7a\x64\x20\x58\x00\x88\x7c\x76\xb9\x07\x50\x6e\x86\x33\x92\x0b\x35\x18\xce\xcf\x9e\xc8\xc2\xbc\xb5\x98\x83\x19\xc2\x4a\x09\x3a\x4c\x15\xd1\xfb\xd6\x63\x38\x8a\x07\x04\xdf\x48\x1f\x4d\x48\xc3\xeb\x6d\x38\xa6\x82\x44\xb0\xb7\x75\x2e\x4c\xf6\x95\xde\xb7\xa6\xf7\x73\xb3\x7b\x4d\xfe\xb5\xb0\x55\x01\x81\xec\xc8\x1f\xd9\x23\x43\xa7\xe8\xb2\x7b\x7f\xd1\xbd\xbe\xec\x5d\x7f\x3a\x47\xdf\xcf\x51\x4c\x46\x38\x4d\xd4\x09\x1a\x51\x92\xc4\x12\x61\x41\x60\x48\x12\x6b\x81\x4a\x2f\x86\xb0\x98\xb2\x31\xe2\x22\x26\x62\x7f\x60\x2c\x3d\x25\x2c\x9d\x96\x38\x25\xfc\x9e\xaf\xbe\xf4\x85\x96\x9f\xb2\x47\x85\x27\xff\xb3\x00\x60\xd8\xb1\x9e\xdb\x1b\xed\x55\x25\xb6\x23\xd6\xfb\x8f\x4b\x74\x3b\x80\xda\x1f\x34\xe4\xa0\x21\x57\x43\x26\x68\xc8\x5b\x41\x78\xff\x2a\xd1\x8e\xa5\x81\xc3\xb3\x91\xe3\x50\xf7\x8f\x8b\x65\x1c\x42\xdb\x0f\xba\x71\xd0\x8d\x83\x6e\x1c\x74\xe3\x22\xa8\x82\x6e\x1c\x74\xe3\xd6\xe9\xc6\x0d\x8e\x31\x08\x6a\xbe\xa0\x16\x4d\x68\x12\x0b\xc2\x8c\x5b\x46\x61\xf9\x34\x20\x5f\x48\x94\x6a\x08\x0c\xb4\xe2\xc0\x63\x52\xfc\xa5\xf0\x0f\xf0\xe3\x14\xbf\x92\x1b\x0c\x93\x4b\x86\x6b\x7f\x9a\xd9\x22\xd6\xfe\x12\x2c\x17\xcd\xbe\x83\x5f\x68\x5c\xf9\x36\xfc\xb2\x62\x0f\xee\x9d\x25\x8b\x75\xaf\xd4\xae\xca\xbd\x60\x05\xe0\xca\x77\x04\x51\x62\x3e\xc0\x4a\x91\xe9\x4c\xad\x69\x95\xc1\x28\xd1\x62\xf6\x32\xb1\xfa\x9a\xc7\xa4\xeb\xe6\xfb\x0d\x19\xe9\x9e\xc4\x68\x38\xb7\xd7\x62\x44\x04\x61\x11\xa9\x1f\xa1\x8f\xe5\x53\x3e\xc2\x2a\xd9\xbc\x30\x9f\xfc\xc8\x85\xfe\xfc\x28\xdc\x71\x85\x95\x1f\x42\x46\xdf\xe4\xe6\xbe\x31\x17\xde\xa6\x54\xe7\xcd\xd9\xc2\x36\xa4\xa1\xc1\x72\xb6\x3d\x24\x9b\xda\xd9\xb8\x40\x72\x2e\x15\x99\xae\xb4\xb8\x1d\x0f\x20\x2c\x93\x6c\xeb\x82\x4b\x7c\xfa\x2b\xb8\xf5\x45\xa9\x23\x5c\xef\x35\x40\xb6\x2b\x7b\x79\xdb\xf7\xe9\x42\x96\x97\x6f\xf5\xde\x1d\x9f\xe7\xae\x3b\x8a\x6d\x16\xe4\xe1\x5d\x2f\x72\x4f\x16\xa8\xda\xb3\x72\xd0\x1e\xc0\x02\x56\xd8\x1e\x8a\x1e\x97\xec\xfe\xe9\x4f\x7d\xa3\x9d\xb1\xd0\xaa\x09\x95\x9e\xfd\x12\x45\x5c\x18\x71\x38\xb6\xf7\xdd\x98\x1f\x3a\xfd\xce\x7d\xb7\x7f\x8e\x3a\x28\xc6\x0a\xeb\x0b\x2e\xc8\x4c\x10\x49\x98\x02\xd3\x8e\xfe\x5e\xcd\xd1\x94\xc7\x24\x31\x46\x88\x8f\x5a\xfa\x47\x97\x58\xe1\x0b\xac\x70\xc2\xc7\x67\xa8\x03\xff\xd4\x1f\x53\x89\x70\x22\x39\xc2\x0e\xad\x48\xec\x86\xc0\x2c\x76\xa4\x05\xa3\x88\x4f\x67\x34\xc9\xbc\x4d\x99\xbd\x8d\xb2\x98\x3e\xd3\x38\xc5\x09\xe2\x43\x4d\x55\xe4\xd9\x23\xeb\x3e\x13\xa6\x52\x9c\x24\x73\x84\x93\x04\xd9\x69\xdd\x0b\x48\x4e\x78\x9a\xc4\x7a\x5c\xb7\x4a\x49\xa7\x34\xc1\x42\xcb\xb4\x66\xb5\x37\x76\x2c\xd4\x9f\x90\x6c\xad\xb0\x2e\x0d\xcd\x29\x7e\x22\x12\x51\x85\x66\x5c\x4a\x3a\x4c\xf2\x3b\xff\xd0\x43\xb0\xee\x8b\xab\x1e\x98\x78\x22\x85\xb8\xa1\xa1\x6e\x72\x6b\xd2\x73\x33\x4e\x31\x63\x04\x26\xe6\x6a\x42\x84\x9d\xde\xbe\xfc\xda\xd6\x9a\x87\xeb\xfb\xdb\xee\x45\xef\x63\xaf\x7b\xb9\x68\xae\xe9\x77\xee\x7f\x5c\xfc\xf5\x97\x9b\xbb\x1f\x3f\x5e\xdd\xfc\xb2\xf8\xe4\xaa\xf3\x70\x7d\xf1\xc3\xe0\xf6\xaa\x73\xbd\xf8\xd0\xa2\x55\x63\xcb\x8f\xbf\xb2\x9d\xdd\xad\xa3\x33\x0a\x05\xa3\xfe\x1a\xc7\xbe\x6b\xa3\xfe\xc9\xdb\xb5\xea\x8f\x68\x02\x46\x87\xc6\x16\xfd\xcc\x6a\x64\xbf\x44\x33\x2c\xa5\x91\x03\xcd\x0a\xce\x1e\xd9\x67\x2e\x34\xb9\x1e\x71\x4d\x11\xb5\xac\xa8\x44\x1a\x29\xca\xc6\xd9\x47\xe7\xe8\x31\xfd\xf6\xdb\xef\xa2\x2b\xca\x9e\xe0\x2f\xd2\x46\xe0\x04\x97\x47\x70\x79\xb4\xce\xe5\xf1\x1f\x15\x9f\xee\xde\x3d\x10\x6c\xfc\xc1\xc6\x7f\x38\x1b\x7f\x30\xf1\x7b\x6b\x08\xf6\xed\x6d\x01\x11\x0c\x60\xc1\xbe\xbd\x3d\x20\x82\x7d\xbb\xa5\x3b\x0e\xd7\x3b\xd8\xb7\x83\x7d\x3b\xd8\xb7\x83\x7d\x3b\xd8\xb7\x83\x7d\xfb\xab\xb1\x6f\xb7\x30\xe4\x29\x18\xf9\x83\x91\x3f\x18\xf9\x83\x91\x3f\x18\xf9\x83\x91\xff\x78\x8c\xfc\x5a\xda\xfd\xe0\xdb\xf6\x77\x9b\xef\xaf\xe5\x49\x36\x4b\x15\x48\x8f\x3c\x55\xfa\x4f\x3d\x25\xa0\xc7\x92\xac\xff\x66\x36\xe4\x4f\x44\x65\x2f\x6a\x69\xf6\x18\x4c\xc7\xbf\x70\xf1\x34\x4a\xf8\x4b\xb6\xf0\x4f\x44\xe9\xb5\xdf\xd9\x59\x42\x1d\x80\x50\x07\xe0\x75\xeb\x00\x1c\x9b\xfd\xf6\x18\xa5\xfb\xfd\xd3\xf4\xa2\x3e\x64\x08\x7b\x8d\x4f\xb6\xd6\xe5\x5a\xe3\x51\xf5\x1c\xa6\x07\x61\x06\x45\xb7\xe4\x0a\x86\x50\x78\xf9\x58\x98\x42\x61\xd1\x87\x67\x08\x5f\x85\xe7\x30\x38\x06\x37\x04\xd4\x1b\xe6\x1b\xad\x72\xeb\x1d\xbd\xc9\x6a\xff\x4c\xcd\x95\x24\x5f\xcc\x43\x0e\xec\xce\xb2\xbb\xe3\x4b\x91\x7d\x65\x7e\xf7\xf6\x92\x61\x03\x47\x6f\xb8\xcd\xc0\xd1\x6b\xc1\x14\x38\xfa\xaa\xf5\x1c\x8e\xdb\x6d\x54\x87\x63\x9d\xa0\xdc\x35\xa2\x70\x1b\x87\xdd\xae\x88\xb3\xad\x0c\xac\xad\x8a\xa4\x5d\x0c\x9d\xad\x8c\x95\xdd\x2e\x38\x76\x53\x56\xdd\x3c\xdc\xf5\x13\x51\x85\x97\x8f\x86\x55\x17\x56\x7d\x78\x56\xfd\xea\x6e\xdd\xd7\xa2\x61\x5f\x5f\x68\x6f\x88\xe5\xdd\x23\xe8\xde\x3a\xcb\x6f\x6f\xb4\xee\x57\x10\x9e\x1b\xe2\x71\xd7\x82\xd1\xdb\x0a\xc0\x7d\xab\x11\xb7\xc7\x19\x62\x1b\x62\x6a\x43\x4c\xed\x4e\x0d\xbc\xa5\xa7\x5f\x55\x4c\xed\x31\x07\xd1\x1e\xce\x3c\x01\xf6\x87\xb7\x12\x42\x74\x14\x3a\x79\x0b\x62\x88\xde\xa4\xe2\xfd\x86\xe5\xf3\x20\x97\xbf\xb1\xc0\xa8\xfd\xd3\xf7\x60\x52\x3e\x3e\x93\xf2\x31\x70\xaf\x76\x5b\x94\xdf\x30\x0f\x08\xd6\xd5\x60\x5d\xdd\xc1\xce\x83\x75\x35\x58\x57\x5b\x78\x45\x83\x75\x35\x58\x57\x83\x75\x35\x58\x57\x83\x75\x15\x05\xeb\xaa\x37\xd0\x6b\xa5\xd6\xb6\x21\x78\xe5\xa8\x6c\xca\xf9\xd6\x07\xee\x82\x17\x6d\xcc\xff\x2a\x93\xdd\x7f\x37\xb0\x35\xc3\x5f\x4e\xa9\x5f\xb7\x62\x62\xad\x96\x7e\x99\x2f\xb6\x0b\x44\xf2\x37\x4b\x2a\x56\x28\xec\x0b\xdf\x1d\x85\xbd\x79\x61\xd5\xc1\xc0\xbc\xa9\xc8\xf3\x4a\x42\xc3\x9e\x20\x70\x24\xec\x6b\xfd\x83\x7a\xc3\xba\x64\xd0\x21\xb7\xf7\x04\x1c\x8d\xee\x78\x3c\x3a\xe3\x6b\xcb\x16\x0d\x05\x8b\x9d\xd7\x5c\xae\x90\x24\x3c\xfe\xbb\xaa\x82\x72\xf9\x6b\x4a\xe4\x5f\x8f\x52\xa2\x38\x44\x11\xe5\x37\x29\x55\x04\x91\x22\x88\x14\x76\xa8\x20\x52\xbc\x61\x91\xe2\x91\xf5\x27\x1a\x0e\xd3\x21\x65\x99\xf5\xcd\x61\xc8\x9f\x1c\xb8\xfe\x84\xf4\x7c\x28\x65\xf4\xf7\x94\x24\xf3\xfc\xfa\xca\xf2\x68\x59\x25\x2e\x74\x8a\x34\x9c\x89\x50\x00\x6f\xce\x14\xf9\xa2\x24\x3a\x45\x09\x7d\x22\xe8\xbd\x26\xcc\xa8\x73\xdb\x7b\x7f\x82\xde\x5f\x41\x43\x00\x34\x4b\x30\x93\xef\x5b\x63\x68\x09\x65\x10\xf7\x55\x06\x31\x54\x41\x0c\x55\x10\x9b\x02\x28\x54\x41\x0c\x55\x10\x8f\xb7\x0a\xe2\xce\xf4\xc3\x0d\x83\x9c\x5f\x45\x53\x3c\x4e\xdb\x73\xd0\x14\x83\xa6\x18\x34\xc5\xa0\x29\x06\x4d\xf1\x58\x34\xc5\x76\x40\x38\xa8\x89\x41\x4d\x0c\x6a\xe2\x0e\x81\x13\xd4\xc4\xa0\x26\x06\x35\xf1\x4d\x46\x25\x1d\xa5\x62\x78\x00\xa5\x30\xa8\x50\x41\x85\xb2\x43\x05\x15\xea\x0d\xab\x50\xad\xd9\xd0\xf1\xc4\xef\x34\xdb\x4f\x08\x79\x5e\x2d\x4f\xbc\x99\x48\xa4\xef\x8e\x52\x8c\x38\x84\x7d\x39\xc8\x11\x41\x8e\xb0\x43\x05\x39\xe2\x0d\xcb\x11\xad\x33\xc5\xb6\xc6\x96\x72\x8c\xb2\x40\x30\x32\x37\x07\x44\x30\x32\x37\x06\x55\x30\x32\x2f\x01\x4e\x30\x32\x07\x23\x73\x30\x32\xbf\xc9\xf0\xa3\xa0\x1d\x06\xed\xd0\xff\x3d\x68\x87\x41\x3b\x0c\xda\x61\x08\xd4\x09\xaa\x61\x50\x0d\x83\x6a\x18\x54\xc3\x55\xc0\x09\xaa\x61\x50\x0d\xbf\x2e\xd5\x90\x3c\x13\xa6\x24\xf4\xba\xf5\x15\xa5\x77\x33\x2e\xeb\x15\x3c\x9f\x3a\x54\x28\x77\x30\x66\xb1\xe7\x2c\x54\x6d\xfb\x0d\x4d\xb0\x44\x3c\x8a\x52\x51\xba\x03\x65\xf5\xee\x42\x10\xac\x08\x8c\xa0\x3f\x3c\x06\xb5\x6e\x71\xbb\x87\x2a\x40\x3c\xe4\xf1\x02\xb6\x9b\x8b\x50\xf5\x64\xb9\x98\xb5\xb3\xad\xff\x9e\x92\x66\x5a\xed\x1e\x91\x1a\xb2\xad\x0c\x32\x2e\x76\xb7\x7c\xb1\x0d\x0f\x76\x8c\xf5\x0b\x7d\x14\x36\xc2\xfc\x6c\x14\xfd\xf1\x51\xe4\x54\x55\xef\xfb\x50\x57\xa0\xfa\x90\xf7\x2c\xef\x1f\x5a\x89\x79\xf5\x7b\x5e\x77\xc6\x2d\xbb\xeb\xb5\xcd\xdc\xdb\xcb\xe0\x8e\xe2\x8a\xbf\x1e\x87\xab\x3d\xd7\x70\xc3\xbf\x3a\x4e\x3e\xc3\x82\x30\x35\x68\xda\xc0\x7a\xc7\x77\xbe\xd0\x68\x62\xa3\x3b\x0f\x23\x1c\xcd\x9d\x5f\xdc\xef\x61\xef\x7c\xe3\xd3\x0e\x94\x60\xb7\x94\xa0\xea\xe0\xdb\x40\x09\xda\x7d\xa7\xc3\x95\x86\xff\x04\xa4\x5e\x0f\xa9\x8f\x47\x17\x3d\x06\x04\x7f\x5d\x55\xf4\xd5\x91\xbc\x9d\x5a\x5a\xd6\xf3\xad\x31\x8a\xf7\x05\x1d\x8f\x89\x30\x96\xe6\x48\xa3\xa2\x75\x67\x36\x6a\xd0\xb9\x12\xad\xb3\x57\x8f\x01\xa5\xb3\xc5\x9a\xb5\x7f\x35\xb8\xbc\xb0\xef\x96\x20\x71\xb1\x90\x93\x20\x11\x7f\x26\xa2\x31\x66\xdf\x11\x40\x67\x20\xde\x33\x41\x9e\x29\x4f\x65\x32\x3f\x15\x29\x43\x8e\x13\xa0\x6c\x2e\x13\x65\xf3\x42\x93\x04\x71\x96\xcc\x91\x54\x58\x28\xf7\x98\x8d\xd1\x48\xf0\x29\x5c\x91\x04\x4b\x85\x9e\x18\x7f\x61\x68\x84\x69\x92\x0a\x82\x66\x9c\x32\x75\xf6\xc8\x7a\x0c\xdd\x99\x35\x42\x57\x94\x13\x94\x4a\x7d\xb1\x22\xcc\x18\x57\x28\x9a\x60\x36\x26\x08\xb3\xb9\x6d\x2f\x98\xa3\x09\xe2\x02\xa5\xb3\x18\x2b\x02\x53\x94\x72\xc1\xb2\x35\x42\xd8\x01\x95\x88\x4a\x44\xbe\x28\x41\xa6\x24\x99\xeb\x39\xf4\x45\x50\x1c\x59\xf8\x98\xa5\xda\x66\x65\x44\x08\x2e\x24\xf4\x53\x19\xce\xff\x89\x99\xa2\x8c\x20\xf0\x84\x48\x13\x52\x70\x8a\xae\xb8\x04\xbf\xec\x8f\x7f\x93\x28\x4a\x52\xa9\x88\x38\x41\xc3\x74\x2c\x11\x65\x68\x96\x60\x35\xe2\x62\xaa\x57\x48\x99\x54\x78\x48\x13\xaa\xe6\x27\x68\x8a\xa3\x89\x19\x0b\x60\x20\x4f\x1e\x59\xcc\x5f\x98\x54\x82\xe0\x6c\x76\xf7\x10\xfd\xc1\x7f\x66\xb0\x41\x7e\x73\x02\x4d\xd5\xe8\x74\x96\xcc\xfd\xe5\xe7\xc7\x6f\xce\x44\x0f\x42\x62\x34\x24\x11\x4e\xa5\x8d\x8c\x52\x62\x8e\xc8\x97\x09\x4e\x25\x9c\x9d\xde\x9e\xed\x48\x13\xf1\xe9\x2c\x21\x8a\x20\x3a\x42\x4a\x68\xcd\x03\x8f\x31\xd5\xa0\xbb\x27\xa4\x01\x45\xb3\x07\x68\xaf\xc0\x6f\xe0\x5f\x9b\x72\x41\x50\x4c\x14\xa6\xc9\xd2\x68\x39\xfb\x6d\x36\xd6\x51\xa8\x9e\xaf\x44\xf3\x82\x3a\xb9\x57\x42\x5e\x44\xe3\xf6\x51\xf2\x04\x82\x97\x76\x20\xa4\x30\x1b\x55\x15\xe1\x64\x4b\x79\xe5\xce\x2e\x2a\x5c\xdf\x70\x7d\xcb\x2b\x39\xfc\xf5\x35\xb8\xd8\xd2\xfb\x7b\xb0\xc4\xe6\x66\xed\x94\xaf\xa8\x54\xd9\x9b\xc7\x51\x1b\x33\x5b\x6e\xa8\x89\x19\x9a\xfe\x57\x6c\x2d\x04\x71\x7f\x85\x41\xdc\xad\x09\x57\x0c\x01\xcf\x7b\x0a\x78\xa6\x32\x44\x3c\x87\x88\xe7\xa6\x00\x0a\x11\xcf\x21\xe2\xf9\x78\x23\x9e\xd7\xd4\x1d\x36\xcc\x7f\xad\x73\xcd\xad\xa3\x3f\x7c\x22\xea\x48\x95\xfe\xa0\x39\x04\xcd\x21\x68\x0e\x3b\xd7\x1c\xb8\x70\x1e\x8c\x16\x94\x1b\xdc\x15\x95\x76\x5f\xbf\x8b\x49\x42\x14\xa9\xb7\xb5\x12\x31\xd5\x0a\x91\x91\x40\x28\xd3\xa2\xea\x58\x10\x29\xb7\x25\xb3\xd9\xc0\x47\x4a\x6c\xb3\xf5\x07\x23\x6b\xa0\xbe\x35\x5b\x0b\xd4\xf7\x8d\x51\xdf\xa3\x72\x1b\x78\x14\xea\x50\x7e\x83\x8c\xab\xcc\xd2\x7a\x49\xfd\xc1\xc4\x36\xe4\xc1\x16\x06\xc3\xb5\xba\xa5\x78\x76\xb9\x2d\x9e\x6f\xc9\x65\xcc\x5c\x47\xca\x62\xcc\xe2\x03\x7f\x09\xfc\xa5\x66\x6b\x81\xbf\x04\xfe\xf2\x7a\xfc\xc5\x91\xa7\x56\x39\xa5\xb9\x18\x17\x4c\x46\xcb\x18\xd1\xa1\x82\x5d\x8f\x8b\xeb\x1c\x36\x74\xe4\xed\xb1\x9c\xf6\x5c\xd0\xb6\xc5\xef\x86\x90\xdd\x10\xb2\x7b\x54\x21\xbb\x81\x6e\x1f\x01\x95\x6b\x5d\x70\xeb\x71\xc4\xb3\x06\xdc\x3e\x0a\xdc\x6e\x5b\xe4\x67\xab\x83\x3d\x8f\x0a\xa7\x0f\x14\xeb\x19\xcc\x1f\xc1\xfc\x51\x0d\x99\x10\x16\x19\xca\xdb\x2e\x6e\x2b\x44\x7b\x86\x68\xcf\x10\xed\xb9\x4b\xe0\x84\x68\xcf\x10\xed\xf9\xd5\x46\x7b\xb6\x3c\xc0\xf3\xa8\x34\x86\xa0\x2d\x04\x6d\x21\x38\x4b\xd7\xdc\xda\xd1\xc9\xe8\xbb\xa2\xcc\xee\xeb\x16\x45\x78\x1e\x15\xb5\x7d\x8d\x00\xcf\x40\x7e\x03\xf9\xad\x86\xcc\x51\x92\xdf\xf6\x18\xd2\x43\x2c\xe4\x42\x2c\xe4\x51\x11\xe3\x83\x87\x42\x06\x4a\x1c\x28\x71\x35\x64\x02\x25\x3e\xfe\xa8\x41\xe3\x55\x1d\xcc\x12\xcc\x06\x34\xf6\x42\x07\x3f\xfc\x2b\x37\x56\xec\xcb\xb3\xa9\xaf\x56\x6c\xba\x90\x66\x5d\x3f\xc5\x6f\xfa\x93\x24\x77\x74\x20\x3e\xd4\xcb\x58\xd9\x8f\xd5\xf8\x46\x6e\x13\xcc\x7a\xf1\x71\x14\xbb\xa9\xdc\xfe\x21\x9c\xa1\x6f\x2f\xd4\x70\x1b\x26\x85\x15\x38\xdd\x30\x65\xc6\xec\x9a\x77\x93\x2d\x18\x95\xdb\xb1\xd1\x6d\x58\x96\xb7\x31\x8f\x6b\x39\x66\xe4\x01\xa5\x7d\xdb\x0e\xbe\xb8\xd0\x6a\x32\x78\x9b\x1a\x6e\x38\x78\x9b\xda\xeb\x6d\x6a\x70\x8c\x7b\x71\x21\x1f\xf8\x7a\x1e\x54\x66\x3d\x6a\x49\x35\x08\xaa\x28\x88\x75\x41\xac\xab\xdf\x75\x10\xeb\x82\x58\x17\xc4\xba\x20\xd6\x05\xb1\xee\xf5\xc5\xba\x06\xdb\xfc\x6a\xa3\x0c\x56\x89\xaa\xcd\x5b\x0f\x99\x1c\x1f\x48\x05\x4c\x67\x09\xc7\xf1\xb2\x48\xaf\x5c\x98\xfc\x0d\xe5\x82\xdb\x12\x09\xd4\x8c\x9e\x7f\x76\x0c\x02\x68\xbe\xda\xaf\x2c\xff\x69\x71\xe3\x6d\xf1\x16\x14\xcb\x57\xb6\x14\xb7\x8f\xc2\x0d\xf0\x5a\xc8\xfd\x26\xcb\xdc\x84\x1b\xdb\xf0\xc6\x1e\x2e\x7f\xb1\xfa\x16\xaf\x61\x25\x91\x7f\x3d\xae\x6b\x1c\x7a\x57\x84\x1a\x55\x15\x5b\x0b\xd1\x26\x21\x49\x33\x64\x33\xbe\x39\x53\x5b\xc8\x66\x0c\xd9\x8c\xc1\x10\xb9\x7c\xdb\xc1\x10\xf9\x26\xb2\x19\xd7\x57\x26\x36\x4c\x6e\x3c\x8c\x5a\x71\x64\xd6\x81\xa0\x56\x04\xb5\xa2\x62\x6b\x41\xad\xf8\x0a\xd5\x8a\x76\x40\x38\xe8\x14\x41\xa7\x08\x3a\x45\xd0\x29\x82\x4e\xb1\x73\x30\x06\x9d\xa2\x81\x4e\x01\x7f\xd9\x12\xc3\x6b\x2b\x18\x6b\x2a\x16\x2b\xea\xa8\x1c\xad\xcf\x31\x68\x14\x41\xa3\x08\x1a\xc5\xc1\x35\x8a\xd6\x6c\xc8\x92\xcf\x15\x7b\xba\x77\x07\x52\x2a\xe8\xde\xbe\xfd\xb8\x15\x0d\x60\xa4\x15\xc2\x44\x51\x41\xcb\xb0\x4e\x7f\xea\xeb\x28\x26\x9a\x1c\xc4\xf2\x3c\xd8\x1a\x45\x5c\x18\xa2\x1c\x5b\x2c\x37\xf2\x44\xa7\xdf\xb9\xef\xf6\xcf\x51\x07\xc5\x58\x61\x8d\xd6\x82\xcc\x04\x91\x84\x29\x90\xd5\x08\xc4\xd1\x43\x59\xfd\xc4\x48\x15\x1f\x35\xff\x41\x97\x58\xe1\x0b\xac\x70\xc2\xc7\x67\xa8\x03\xff\xd4\x1f\x53\x89\x70\x22\x39\xc2\x0e\xf4\x24\x76\x43\x60\x16\xbb\x0b\x85\xa1\x5a\x3c\x4d\x32\xe5\x34\x53\x2f\x28\x8b\xe9\x33\x8d\x53\x9c\x64\xe9\x09\x8f\xac\xfb\x4c\x98\x4a\x71\x92\xcc\x11\x4e\x12\x64\xa7\x75\x2f\xb8\x02\xf4\x43\x92\xad\x52\xd2\x29\x4d\xb0\xd0\xe4\xd8\xac\xf6\xc6\x8e\x85\xb4\x62\xec\xd6\x0a\xeb\xd2\xd0\x9c\xe2\x27\x22\x11\x55\x68\xc6\xa5\xa4\xc3\x24\xbf\x00\x0f\x3d\x04\xeb\xbe\xb8\xea\x81\xcc\x16\x29\xc4\x0d\xe5\x70\x93\x5b\x05\xc6\xcd\x38\xc5\x8c\x11\x98\x98\xab\x09\x11\x76\x7a\xfb\xf2\x6b\x8b\x5f\x0f\xd7\xf7\xb7\xdd\x8b\xde\xc7\x5e\xf7\x72\x51\xfe\xea\x77\xee\x7f\x5c\xfc\xf5\x97\x9b\xbb\x1f\x3f\x5e\xdd\xfc\xb2\xf8\xe4\xaa\xf3\x70\x7d\xf1\xc3\xe0\xf6\xaa\x73\xbd\xf8\xd0\xa2\x55\x63\x51\xce\x5f\xd9\x3e\x64\x39\xf7\x75\x83\x9a\x1e\xf6\x72\x29\xac\x52\x69\x7a\xca\x08\x32\xa6\x52\x01\xf9\x6f\x22\x85\xad\x2e\xe5\x71\xb4\xd2\x57\x68\x6c\x16\x64\xb1\x20\x8b\x05\x59\xec\xd8\x64\xb1\xc3\x99\x04\x8e\x28\x4c\xf1\xbb\xe3\xe2\x3d\xa1\xed\x42\x20\xce\xed\x27\xce\xad\x73\xbd\xb5\xc6\x74\x7e\x8c\x25\x5d\x83\x53\xb1\x39\x20\x82\x53\xb1\x39\xac\x82\x53\x71\x09\x70\x82\x53\x31\x38\x15\xbf\x62\xa7\xe2\x51\xc6\x26\x06\x55\xc2\xbd\x17\x54\x89\xa0\x4a\xbc\x51\x55\xa2\x35\x10\x0e\x7a\x44\xd0\x23\x82\x1e\x11\xf4\x88\xe5\xc0\x09\x7a\x44\xd0\x23\x82\x1e\x71\x6c\xf1\x88\xc7\xa5\x49\x04\x2d\x22\x68\x11\xed\xd6\x22\x5a\xb3\xa1\xe3\xf1\x16\x37\xdb\x4f\x88\xdc\x0b\x91\x7b\x21\x72\xaf\x36\x72\xef\x8d\x6a\xf2\xbb\x92\xdf\xdc\xd7\x6d\x0b\x48\x3c\x2e\xf1\x2b\x74\x17\xcb\x9e\x06\x61\x2c\x08\x63\x5f\xa9\x30\xd6\xa2\x22\x8a\xad\x68\x92\x36\xc5\x2a\x9a\xe0\x61\x42\x06\x99\x2d\x4b\x36\x55\xef\xaf\xa8\x54\x12\x45\xa9\x54\x7c\x5a\xcf\x5c\x3e\xbb\x19\x3a\xd9\x04\x17\x9c\x8d\xe8\x38\x35\xbc\xe5\x37\x40\x7d\xef\x46\xe7\x02\xee\x7c\x46\x56\xf9\x15\x2b\x46\x3f\x0a\xb6\x54\xbd\xf4\x43\x71\xa7\x75\xf4\x91\xdc\x76\x69\x95\x09\x2d\x42\x0e\xee\xba\xf7\x37\x0f\x77\x17\xdd\x73\xd4\x01\x11\x0b\xdc\x09\x06\x15\xe8\x3f\xf5\xa6\x90\xc2\xf2\x29\x3f\x4b\x61\xd0\x5c\x82\x9c\x0d\xfe\x0b\x2d\xf2\xa3\x53\x74\x71\xf5\x70\xdf\xef\xde\xd5\x0c\x68\x11\x05\x5a\xa5\x92\xe9\x2c\xc1\x8a\xc4\xe8\x29\x1d\x12\xc1\x88\x96\x76\xa2\x24\xd5\xc2\x4d\xee\xd5\x30\x83\x76\xff\xde\xbd\x78\xe8\xf7\x6e\xae\x07\x3f\x3d\x74\x1f\xba\xe7\xc8\x61\x9c\x1e\x56\xaf\x4b\xaf\x22\x9e\x33\x3c\xd5\x8a\x95\xfe\x21\x6f\xce\xfa\x7b\x4a\x52\x82\xb0\x94\x74\xcc\xa6\x84\xa9\xf2\x88\x6e\xc1\x57\x9d\xef\xbb\x57\xc5\x91\x27\x04\xfd\xf8\xb7\x7c\x51\x09\x1e\x92\xc4\xba\x59\xc0\x73\xa0\x11\x3d\x9f\xc8\xfa\x5f\x52\x03\xd5\x9f\x1e\x3a\x57\xbd\xfe\xaf\x83\x9b\x8f\x83\xfb\xee\xdd\xcf\xbd\x8b\xee\xc0\x0a\xcb\x17\x1d\x3d\x6f\x61\x26\x2b\x53\xa3\xdf\x53\x9c\x68\xa5\x8b\x8f\xc0\x6f\x41\x23\x82\x5e\x26\x84\xa1\x94\x01\xc6\x19\x4d\x4e\xab\x77\xd9\xa4\xfa\x96\x99\x1d\xdd\x5e\x3d\x7c\xea\x5d\x0f\x6e\x7e\xee\xde\xdd\xf5\x2e\xbb\xe7\xe8\x9e\x24\xa0\xeb\x38\xa0\xc3\x29\xce\x92\x74\x4c\x19\xa2\xd3\x59\x42\x34\x34\x8c\x2e\x37\x24\x13\xfc\x4c\xb9\xb0\x57\x77\x4c\x9f\x09\x33\x70\x84\x3b\x0b\xe3\x3b\x9d\x62\xe0\x81\xee\xe6\xfa\x63\xef\xd3\x39\xea\xc4\x71\xb6\x07\x09\x63\x14\x30\xe7\x85\x8b\xa7\x51\xc2\x5f\x4e\x8b\xcb\xd6\xc4\x01\xa6\x37\x48\xc4\x9f\x89\x10\x34\x26\x25\x3c\xea\xdc\xdf\xf7\x3e\x5d\x7f\xee\x5e\xf7\x01\x62\x4a\xf0\x44\xa2\x09\x7f\x01\x0b\x3d\xec\x10\x0c\xf7\xcf\x98\x26\x30\x99\x3b\x2c\xce\xd0\xcb\x84\x82\x57\x87\x4a\x1f\x60\x46\xed\x14\x29\x7b\x75\xa3\x73\xe1\xe2\x2d\x6a\x63\xe5\x9b\xb4\xf8\x46\xe9\x5a\x2c\x7b\xa1\x80\xe5\x8b\x2f\xae\xc2\xd6\xc5\x2f\x4a\xe8\x56\xaf\x83\x2e\xe0\x4b\xfd\x4e\xf3\xb3\x6e\xac\x82\x16\x61\xb8\xa6\xf0\xb0\xae\x06\x6a\x7c\x60\xbe\x12\x0a\x2e\x35\x27\xe6\x3b\x9a\x78\x5c\xda\x68\x63\x31\x22\x6f\xb8\x7a\xe4\x02\xc5\x71\x24\xde\xbd\xae\x44\x71\xd8\xab\x71\x68\xad\x21\xc8\x4b\x41\x5e\x0a\xf2\x52\x90\x97\x82\xbc\x94\xfd\x67\xcf\xf2\x04\x51\x82\x46\xf2\x43\x86\x57\xfb\x2d\xca\x4a\xa4\x46\x58\x45\xa7\x04\xd9\x99\xed\x4d\xad\x15\x42\xb2\x56\xf7\x4b\x2d\xe6\x9f\x88\xca\x5e\xfc\x6c\x06\x3e\x0a\x61\xe2\x17\x4b\x51\xb2\xc5\x7f\x22\xca\xae\x3f\x24\xf4\x87\x84\xfe\x9a\xad\x05\xaf\xc0\xf6\x5e\x01\x2e\x90\x9c\x4b\x45\xa6\x47\xe2\x1f\x88\xc9\x6c\x71\xc2\xd2\xc6\xe0\x1d\x13\xdf\xb5\x10\x8e\x6c\x3c\xe7\x36\x76\x20\x21\xcf\x24\x01\x41\x56\x09\xfc\x4c\x84\xb4\xe2\xd9\x50\x10\xfc\xa4\x65\xda\x98\xbf\xf8\xc2\x59\x4c\x14\xa6\xc9\x3e\xf4\xe7\x26\xe1\xca\xdf\xfd\xe5\x55\xf9\xe1\xf1\xb2\xc0\xc0\x01\x83\x0b\x39\x30\x8b\xaf\x90\x59\x1c\x63\x10\x4f\xe0\x81\x6d\xe1\x81\x1a\xdc\xf1\xc0\x85\xf3\x95\xf4\xc1\x82\x85\x6e\x97\xfa\xe1\x1d\xe4\x47\xc9\x65\x8c\x50\x53\xa9\xb8\x0b\xc7\xf7\x9b\x0d\x02\x5c\xc1\x11\xbd\x2f\x8e\x42\x1f\xf4\xd6\x1b\xf4\xbe\x3d\xdb\x8f\xef\x7c\x6f\x85\x63\x7e\x53\xa2\x70\x8c\x15\xd6\xfb\x1b\x13\x75\x86\x6e\x18\x3c\xeb\x63\xf9\x74\x82\x9c\xb0\xa2\x19\x42\x1e\x5f\xe2\xe7\x1d\xed\x09\x0c\x0d\x0d\x71\xaf\x1d\x91\x1a\xb4\xf4\x20\x78\xed\x54\xf0\x0a\xe9\xd8\x2d\x89\x76\xde\x1d\x57\x36\x23\x1e\x31\x63\x0e\xf5\x56\xdb\xc5\xa6\x53\x38\x8f\xc0\x83\xcd\x7f\x02\x0f\x0e\x3c\x38\xf0\xe0\x16\x40\xf8\xd5\x03\xe0\x2b\x58\xd6\xab\x46\xc0\x57\x99\x15\xaa\x6d\x0a\xb9\x41\x61\xcd\x42\xbd\xb9\x0d\x61\x65\x79\xad\x0a\xa9\x65\x65\x6d\xad\xfc\x1b\x7a\x24\xc1\x6a\xde\x2e\x0f\x51\x5f\x2b\x48\x2a\x4b\x25\x15\x53\xb3\x26\x98\x14\xf6\x28\xce\x6c\x23\xcb\x60\x05\x4c\x06\x53\x66\x78\x52\x9e\xed\x2d\x0f\x70\x1e\x6b\x6e\x74\x1b\xc9\xc6\xdb\x98\x27\xdc\x38\x99\xc5\x03\x4a\x4b\x2e\xe1\x5e\xca\x70\xbd\x8e\x1d\xff\xf5\x4b\x6f\x91\xb7\x5b\x79\x2b\x14\x97\x5a\xeb\x92\x84\xe2\x52\x87\x28\x2e\xd5\xe0\x18\xf7\x52\x31\xee\xc0\xd7\xf3\x90\xaa\xc3\xf1\x3a\x21\x8f\x4c\x67\x68\x53\x7a\x6c\x70\xd7\xbd\xb6\x6c\x1d\x4c\x85\xc1\x54\x58\x0b\x99\x60\x2a\xfc\xba\xc2\xb5\x76\xc5\xef\xdd\xd7\xaf\xed\x85\x3c\x32\xce\x7c\x58\x27\x64\xf0\xd7\x15\x7e\x0d\x4c\x38\x30\xe1\xc0\x84\xdf\x18\x13\x0e\xfe\xba\x35\x95\xee\xa3\xf0\xd2\x1d\x19\x5b\x3f\x84\x93\x2e\xb8\xb4\x8e\x8b\xe3\x07\x97\x56\x70\x69\x05\x97\x56\x70\x69\x05\x97\xd6\xf2\x6d\x07\x97\x56\x70\x69\x1d\x1a\x5b\xbf\x5a\xb3\x5d\xb5\xc6\xc0\x63\x32\xa8\xa8\x24\x93\xfd\x34\xf0\xcb\xca\x14\x7e\x2d\xb8\xef\x0a\x4f\x7c\x5f\x5e\xe1\x41\xde\x2e\x07\xe6\xa5\xf1\xda\x79\xf8\xcb\xcc\x89\x3c\x26\x8d\xf3\xee\x0b\x2f\xb7\x3d\x2e\xd0\x6d\xd4\xa8\x1e\xfe\xca\x0f\x90\xca\x50\xc6\x84\x37\x16\x2d\x58\x83\xd5\x6f\xd1\x52\x57\x71\x47\x83\xd9\x6e\x25\xa0\xde\x70\xc1\x01\x4b\x84\x0f\xb0\x9e\x37\xcd\xc3\x3e\xd8\xea\x8f\x03\x57\x6c\x70\x87\x4c\xed\xd2\x0c\xad\x89\xbe\xb3\xd1\x38\x0f\xd2\x2a\x16\x57\xf1\x69\xdb\x19\x1d\xec\x79\xc9\x96\x03\xbb\x0b\xec\x2e\xb0\xbb\xc0\xee\x02\xbb\x2b\xb3\x3b\xc7\x7a\x06\x15\x4c\xaf\xfa\x59\xce\xfa\xaa\x9f\x67\x0c\xb0\xfa\xf1\xfa\x55\xd4\x1a\x39\x8f\x1a\xeb\x70\xe0\x36\xf2\xdf\x3e\x92\xec\x2e\x7f\xc9\x87\x70\x1d\xd5\x22\xc6\x1b\x63\x6c\x4b\x91\xfc\xcd\xb1\xb7\x65\x57\x36\x30\xb9\x86\xe0\x7a\xab\xac\x6e\x2f\x8e\xaa\xfd\x3a\x1e\x0e\xe8\xb4\x7a\x2d\xbb\xf3\x5e\xcc\xeb\x9f\xb9\x20\x88\xb2\x11\x47\x1c\xc2\x77\xa4\x12\x69\xa4\x28\x1b\x67\x1f\x9d\xa3\xc7\xf4\xdb\x6f\xbf\x8b\xae\x28\x7b\x82\xbf\x48\x1b\x8d\xf2\xc1\x67\x16\x7c\x66\xc7\xe8\x33\x33\xb1\x76\x83\x19\x16\x84\xa9\x0a\xdd\xa2\xcc\x4e\xe0\x75\xbf\x27\xb5\x93\x3a\x60\x00\xa4\x45\x7b\x64\x19\x72\xc6\xaa\xde\x58\x5e\x58\x49\x7b\x79\xc3\x6e\xa5\x96\xeb\x23\xed\xf1\x2a\xbd\x55\x29\x3d\x18\xa1\x82\x11\xaa\xbc\xcf\xc3\x19\xa1\x36\x80\x7b\x88\x8d\x38\x3c\xab\x3a\x1e\xef\x51\xcb\xf9\x59\xdb\x9c\x47\x81\xab\x05\xae\x16\xb8\x5a\x0b\xe0\x1e\xb8\xda\x52\xae\xf6\x95\xb8\x87\x8e\x81\x7b\xb5\xc4\x3b\xf4\x56\x39\x57\xf0\x9a\xec\x00\x5c\x6f\x95\x8b\xbd\x96\xa3\xf4\xf0\xb6\xe7\xe0\x1f\x0a\xfe\xa1\xe0\x1f\x0a\xfe\xa1\xe0\x1f\xf2\x7f\x0f\xfe\xa1\x65\x70\x3f\x98\x7a\x62\x45\xa0\x41\x76\x75\xe5\x87\x7f\xe5\x7f\x67\x6a\x89\xaf\x5a\x2c\x2b\x43\x74\x21\x08\xdc\x0a\x2e\x6c\x11\x1b\x69\xfb\xc3\xd7\x2b\x19\x9f\xb1\x8a\x26\x78\x98\x90\x4e\x36\xad\x6b\x97\x0f\x0a\xc6\x6f\x08\xab\x82\xd0\x0b\x6d\xe9\x96\xe8\x22\xa6\x34\xc4\xad\x79\x3b\x1f\xf4\x18\x14\x92\x85\x45\x1f\xb6\x88\xd1\xe2\xc1\x37\xbb\x40\xee\x64\x68\x0c\xe4\xce\x6b\xc6\xaf\xe5\x6e\x3e\xca\x19\x83\x44\x2f\x34\x49\xb4\x24\x63\xa5\xb6\x96\x48\xa3\xaf\x5e\xda\xa4\xf6\xe4\x5f\xb5\xc0\x49\x15\x75\xa8\x22\x09\x4d\xec\xe6\xdb\xd3\x01\xd3\x04\xd8\x21\x1b\x66\xb1\xd5\xfb\x56\x98\xd6\xdf\x06\x25\xf8\x44\xd4\xa1\xc8\xc0\xa6\x77\x7f\xe9\xbd\x17\x64\x44\x04\x61\x11\x69\x61\x59\x8d\x75\xea\xbd\xfc\x62\x36\x69\x8b\xbd\x4c\x1d\xd2\xfa\x5b\x55\xdc\xea\x69\x05\x51\xd7\x0a\x7a\xfd\xce\xfd\x8f\x83\xbb\xee\xfd\xcd\xc3\xdd\x45\xf7\x1c\x75\x80\x0c\xc2\x37\xe6\x82\xd0\x7f\xc2\x70\x0a\xcb\xa7\xdc\xdc\x21\x0c\x19\x90\x80\xf4\xa0\x4f\x6a\x28\xa2\x53\x74\x71\xf5\x70\xdf\xef\xde\xd5\x0c\x68\xaf\x8f\x96\x13\x15\x99\xce\x12\xac\xe5\xc7\xa7\x74\x48\x04\x23\xc0\x9a\x93\x54\x2a\x22\x72\x2d\xd3\x0c\xda\xfd\x7b\xf7\xe2\xa1\xdf\xbb\xb9\x1e\xfc\xf4\xd0\x7d\xe8\x9e\x23\x77\x0f\xf5\xb0\x7a\x5d\x70\xf5\x8c\xe7\xc7\xfc\x90\xf7\x80\xfd\x3d\x25\x29\x41\x58\x4a\x3a\x66\x53\xc2\x54\x79\x44\xb7\xe0\xab\xce\xf7\xdd\xab\xe2\xc8\x13\x82\x7e\xfc\x5b\xbe\xa8\x04\x0f\x49\x62\xd5\x5e\xa8\x4f\xa1\xaf\x7f\x3e\x91\xd5\x87\x53\x03\xd5\x9f\x1e\x3a\x57\xbd\xfe\xaf\x83\x9b\x8f\x83\xfb\xee\xdd\xcf\xbd\x8b\xee\xc0\x56\xb0\xb9\xe8\xe8\x79\x0b\x33\x59\x51\x13\xfd\x9e\xe2\x84\xaa\xb9\x3e\x47\x69\xe8\xa2\xe9\x6f\x9b\x32\xd3\x1c\x17\x64\x6d\xec\x77\xb8\x95\x33\x12\x99\x1d\xdd\x5e\x3d\x7c\xea\x5d\x0f\x6e\x7e\xee\xde\xdd\xf5\x2e\xbb\xe7\xe8\x9e\x24\x24\x52\x32\x03\x3a\x9c\xe2\x2c\x49\xc7\x94\x21\x3a\x9d\x25\x44\x43\xc3\x14\x13\x1b\x92\x09\x7e\xa6\x5c\x58\x82\x36\xa6\xcf\x84\x19\x38\x6a\xb4\x32\xe3\xbb\x72\x3a\x03\x0f\x74\x37\xd7\x1f\x7b\x9f\xce\x51\x27\x8e\xb3\x3d\x98\xce\xe8\x05\xcc\x71\x86\x95\xd3\xe2\xb2\xe9\x48\x2b\x2c\x9a\xc0\xc0\xf1\xf1\x67\x22\x04\x8d\x49\x09\x8f\x3a\xf7\xf7\xbd\x4f\xd7\x9f\xbb\xd7\x7d\x80\x98\x12\x3c\x91\x68\xc2\x5f\x40\xa1\x83\x1d\x82\x9e\xf7\x8c\x69\x02\x93\xb9\xc3\xe2\xcc\xbf\xfd\xde\xcc\x13\x9e\x26\xb1\x3e\xa6\x57\xd7\x51\x0a\x17\x6f\x51\x4d\x29\xdf\xa4\xc5\x37\x4a\xd7\x62\xd9\x0b\x05\x2c\x5f\x7c\x71\x15\xb6\x2e\x7e\x51\x42\xb7\xc5\x17\x6a\xf1\xa5\x7e\xa7\xf9\x59\x37\xd6\xcc\x8a\x30\x5c\x93\xca\xee\xc0\xb6\xb7\xdc\x60\xdb\x52\xbd\xcb\x7d\xfd\x2e\x26\x09\x51\xa4\x56\x50\xba\x84\xc7\xaf\x25\x28\x99\xd9\xdf\x86\xac\x64\xf6\x12\xc4\xa5\xaf\x46\x59\x72\x07\xde\x0a\x65\xc9\xdc\x35\x5f\x67\x82\x94\x41\x4f\xb9\x36\x79\x82\x6f\xd3\xcc\x72\x14\x69\x81\xed\xb1\xb3\xec\x9d\x29\x1e\x9a\x38\x04\x1b\xd2\xe2\x4a\x82\x0d\x69\x3b\xb2\x58\xf8\xb1\xa2\x94\xee\xc1\x49\xe5\x26\x02\x56\x81\x5e\x5e\xc2\xeb\xc7\x49\x35\xcb\x6b\x3f\x66\xda\xe9\x8d\xd6\x0e\x22\xf2\xf5\x92\xcf\x85\x2b\xde\x6c\xe3\x36\xf4\xe7\x78\xf7\xdd\x16\xb6\x51\x77\xad\xdb\xcc\x3c\x0c\xc7\x38\x7e\x8f\xc4\x31\x91\xff\x57\x71\x49\xbc\x39\x31\xf9\xab\x33\x1a\x04\x1f\x4b\xf0\xb1\x04\x1f\x4b\xf0\xb1\x04\x1f\x0b\xda\xd4\xc7\xb2\x2b\x49\xeb\xa8\x1d\x12\xc7\x29\x2a\x1d\xd6\x23\x11\xa4\xa5\x63\x97\x96\xda\xa2\x14\x1e\x97\x8b\xa5\xa8\x0e\xae\xdd\x75\xab\x2d\x7a\xe1\x5b\x32\x0e\x1e\x97\x8e\xd8\x3a\x73\xe0\x57\x47\xf8\x36\x33\xfd\x1d\xed\x76\x83\x56\x1c\xb4\xe2\xa0\x15\x07\xad\x38\x68\xc5\x28\x68\xc5\x6b\x6b\xc5\x6f\x49\x50\x3c\x3a\x0d\x39\xc8\x8a\xaf\xbd\xe1\xaf\x4c\x56\x6c\x8b\x4d\xa0\xee\xe6\xb6\xd4\x32\xf0\x75\x06\x14\x1d\x31\x27\x08\x39\xaf\xc8\x3b\xba\x10\x70\xf3\xb5\xd0\xd1\x96\x07\xdc\xbc\x3d\xbb\xea\x11\xd3\xc8\x90\x0d\x1c\xc4\xca\x1d\x6d\x37\x98\x20\x83\x09\x32\x98\x20\x83\x09\x32\x98\x20\x51\xbb\x93\x9f\x57\x1a\x9c\x42\xfe\xf3\xbe\x0c\xab\x47\x2c\x29\x86\x5c\xe8\x20\x2c\xee\x6e\xbb\x6d\xd5\x9d\xdb\x64\x83\x94\xeb\x77\x94\x58\x59\x89\xdb\x6e\xfb\xb7\x25\x04\xec\x8a\x4a\xa7\xe8\x1e\x13\xbd\x92\xfb\x26\x49\xdb\x94\xdf\x75\x27\xfa\x66\xab\xef\x2e\xc0\x01\x00\x10\x61\x69\x14\xbc\x34\x51\x74\xa6\x45\x79\x3c\x26\xd2\xd6\x23\xd6\x82\xf7\x89\xa3\x5d\xe2\x99\x88\xd3\xac\xe0\x34\x4c\xe1\xaa\x70\x83\xda\xa2\x38\x1a\x41\xb5\x79\x80\x2b\xf9\xa2\x60\xa8\x47\x06\x75\xb8\x01\x46\x67\x6d\xac\x7f\x1b\x8a\x03\x2f\x01\x4e\x28\x0e\xbc\x16\x35\x09\xc5\x81\x5b\x52\x1c\x78\x5d\x15\xcc\xdc\x4a\x5f\x0b\x83\x4b\xee\xa4\x56\x67\x96\x3a\x52\x65\x6c\xc6\x65\xbd\x64\x72\x47\xc6\x54\x02\x49\x5a\xd2\xed\xca\xc9\x24\xd0\x58\x01\x50\xfd\xa3\x7e\x01\xc5\x64\x96\xf0\x39\xd8\xbf\x96\x88\x2b\x6e\x8a\xdb\x05\x8d\xa1\xed\x12\x8b\x5b\xf9\xa1\x74\xaa\xb6\xc8\xdc\xf9\xbe\x5b\x21\x65\xe7\x21\xff\xaf\x2f\x6f\x1f\x53\xe0\xd5\xde\x05\xee\xc3\xd2\xd9\x63\xea\xf6\x1e\xd4\x89\xa0\x4e\x34\xc1\x9a\xa0\x4e\xac\x02\x50\x50\x27\x82\x3a\xb1\x4f\x75\xe2\xc0\x12\xcc\x87\x7f\x95\x9a\xa8\x2f\x0b\x40\x7c\xb0\x51\x87\xe0\x9c\xa5\x12\xae\xfc\x4a\x41\xe6\x91\x55\x3f\x70\x4e\xca\x21\x71\x34\x66\x98\x2a\xaf\xed\x9a\xd4\x4c\x6b\x46\x84\x9a\x7b\x6f\x92\xe9\x4c\xcd\xff\xfb\x91\x51\x95\x85\x78\xd1\x31\xe3\xc2\x60\x8c\xfe\x78\x82\x59\x9c\x68\xa6\x2e\xb3\x71\x22\xcc\x18\x57\x40\xca\x61\x03\x31\x7a\xa6\xd8\x10\xfe\xce\x6d\xaf\x71\xa0\xe3\x31\x89\x5a\x87\x8d\x64\xdc\x7f\xef\xb4\xc3\x77\x16\x5d\xb1\xa1\x4f\x09\x1f\xe2\x24\x99\xa3\xb4\xe8\x51\xd2\x03\xb4\x64\x0f\x6d\xd1\xde\xda\xa1\xae\xb9\xb2\x02\x65\xb5\xad\x65\xd6\x88\x63\x22\x32\x87\x36\x47\x78\x47\xf8\xc6\xc8\x4d\x5b\xae\x6a\xdb\x0c\x2d\x41\x38\x69\x2a\x9c\x1c\x11\xd9\x38\xac\x6c\x12\x38\xf9\xf1\x73\x72\x85\xe5\x93\xdf\xc9\x1c\x18\xba\x6b\x46\x5f\xe8\xe2\x5b\x6e\xe9\xfb\xef\x26\xef\xe5\xe9\x05\xab\xdf\xcd\xba\xa1\xaf\x7e\x15\x3a\xa3\xd7\xbc\x68\xdb\xe8\x9b\xc7\xb0\xbd\xf2\x3a\xdc\x8f\xfe\x84\xee\xb7\x7c\x64\xf7\xcb\x33\x11\x92\x72\xfb\x9a\x20\x4a\xcc\x07\x58\x29\x4d\x90\x36\xb0\x51\xd7\x52\xcd\x3e\x96\x4f\xcd\xba\xb2\x7f\x22\xaa\xf0\x72\xdb\xc5\x1a\xb7\x51\xd8\x67\x61\xe5\xfb\xa7\x4f\x0d\xd0\xf8\x8d\x89\x3b\x8d\xaf\xe4\x8a\x7d\x1f\x5f\x63\xfa\xa6\x04\x66\x8d\x8d\x7f\x2d\x4d\xea\x9b\x11\xdc\x55\xf1\x90\xc7\xd8\xb0\x7e\x19\x07\x69\xcd\x0a\x4b\x4c\xec\x2d\xde\xdc\x22\x4b\x0e\x57\x74\x19\x8c\x9a\xde\xc5\xa3\xb9\x81\x25\x49\x6b\xc5\xde\xee\xdd\x01\xd9\xd7\x1d\x26\xb4\x6f\x5f\x05\x61\x71\xd7\xab\xda\x8f\x03\xd8\x3b\x8d\x75\x52\x08\x7b\xae\xd9\xba\x71\x67\x65\x77\xc8\x25\x15\x66\x57\x53\x4d\xa0\x21\x15\x95\x7e\x7f\xf6\x88\x0b\x23\x6d\xc6\xf6\xce\x1a\x87\x56\xa7\xdf\xb9\xef\xf6\xcf\x51\x07\xc5\x58\x61\x7d\x49\x05\x99\x09\x22\x09\x53\xc6\x14\xc1\x14\x55\x73\x34\xe5\x31\x49\x8c\x1d\xc0\x18\x07\x2f\xb1\xc2\x17\x58\xe1\x84\x8f\xcf\x50\x07\xfe\xa9\x3f\xa6\x12\xe1\x44\x72\x84\x1d\xe2\x90\xd8\x0d\x81\x59\xec\xc8\x03\x46\x11\x9f\xce\x68\x62\xf2\xda\x7c\xff\x36\x65\x31\x7d\xa6\x71\x8a\x13\xc4\x87\x60\x43\x39\x7b\x64\xdd\x67\xc2\x54\x0a\x3a\x2e\x4e\x12\x64\xa7\x75\x2f\x78\x06\x0c\xb7\x4a\x49\xa7\x34\xc1\x42\x4b\x8f\x66\xb5\x37\x76\x2c\xd4\x9f\x90\x6c\xad\xb0\x2e\x0d\xcd\x29\x7e\x22\x12\x51\x85\x66\x5c\x4a\x3a\x4c\xf2\x6b\xfc\xd0\x43\xb0\xee\x8b\xab\x1e\x38\x0d\x23\x85\xb8\xa1\x83\x6e\x72\xeb\x41\x77\x33\x4e\x31\x63\x04\x26\xe6\x6a\x42\x84\x9d\xde\xbe\xfc\xda\xfe\xbf\x87\x6b\x9b\x2e\xd6\xbd\x5c\x74\x00\xf6\x3b\xf7\x3f\x2e\xfe\xea\xf2\xc3\x16\x9f\x5c\x75\x1e\xae\x2f\x7e\x18\xdc\x5e\x75\x2a\xf2\xce\x2c\x5a\x35\xf6\x25\xfa\x2b\xdb\xfc\x32\xed\x5f\xd1\x68\x69\x68\x62\x73\xa3\x43\x23\x8b\x43\x63\x73\x43\x53\x5b\x43\x33\x43\x43\xbd\x95\x61\x0f\x61\x6a\xcd\x4d\x01\x57\x54\x16\x6d\x01\xc7\x11\xb3\x56\x58\xb2\xde\xc3\xbe\x0d\x01\x5f\x9d\x15\xe0\x2b\x35\x01\x04\xfd\x7f\x2f\x70\x7b\xab\xca\x7f\xcb\x35\xff\x6d\x82\x52\xb3\xfa\x17\x21\x2a\x75\x31\x2a\x95\x84\xa0\xd4\x10\x94\xda\x14\x40\x21\x28\x35\x04\xa5\x1e\x6d\x50\x6a\x59\xd1\x0a\x1e\xdb\x36\x78\x6c\x5b\xae\xa3\xb5\xd9\x61\xfb\x56\x35\x97\xe0\xbc\x0c\xce\xcb\xe0\xbc\x3c\xd2\x9b\x1b\x9c\x97\xcd\x61\x14\x9c\x97\xc1\x79\x19\x9c\x97\xc1\x79\x19\x9c\x97\xc1\x79\xf9\x9a\xa6\x91\x36\xc4\x86\x1e\xb3\xcb\x36\x78\x62\x57\x78\x62\x5b\xae\xe4\xb7\xd2\x11\xfb\x56\x75\x84\xa0\xda\x07\xbf\xe4\x56\xdb\x6e\x95\x52\xff\xd6\xf8\x66\x70\xc5\x36\x07\x44\x70\xc5\x36\x06\x55\x70\xc5\x2e\x01\x4e\x70\xc5\x06\x57\xec\x57\xe8\x8a\xa5\xf1\xd6\x2d\xb7\x9a\xe8\x2d\x5a\x56\x8c\xbb\x60\x1e\xca\x8c\x5b\xe2\x37\x90\x1e\xb1\x7c\xca\x2c\x40\x0d\xf4\x99\x5e\x7c\x14\x8a\x4c\xe5\x86\x0f\xa1\xd0\x6c\xa3\xb1\x60\xa5\x29\xb8\x82\x52\x05\xfa\x49\x6e\x54\x6c\x61\x8f\x80\x6d\x74\x14\x6f\x63\x9e\x9a\xe2\xb4\x0f\x0f\x28\xed\xdb\x76\x10\xfc\x82\xe0\x17\x64\x9b\x86\x1b\x0e\xb2\x4d\x7b\x65\x9b\xd7\x52\x58\xda\x77\x3d\x8f\xce\x3e\xb1\x77\xb1\x54\x36\x2e\xda\x66\xda\x64\x83\xeb\x2e\x9d\x25\x1c\xc7\xab\x02\xe4\x7e\x43\xb9\xac\xb6\x44\xdc\x34\xe3\xea\x0f\x5a\x2e\x6d\x2e\xc4\xc6\x99\x95\x7f\x0d\x55\xe3\x6b\xb7\xfe\xaa\xf5\xcc\x00\x7f\xb3\xaa\x45\x6b\x55\x20\xdc\x3f\x32\xb7\x3d\x1b\xef\x95\xb1\xf9\x4d\xa6\xde\x85\x2b\xba\xfa\x8a\xc2\x1f\x85\x00\xef\x7d\x59\x42\xca\xd7\xb6\x91\xd1\x43\xfe\xb5\xe5\xf7\x36\x3b\xdf\x43\x98\x38\xde\xe4\x2d\x7d\xc3\xce\xe6\xe0\x50\x5e\x1e\xf5\xb3\xa3\x00\xd4\x47\xd6\x9f\x68\x38\x4c\x87\x94\x65\xf1\x76\x0e\x43\xfe\xe4\xc0\xf5\x27\xa8\x75\x69\xeb\x5f\x26\xf3\xdc\x14\x26\xcb\xa3\x65\x8a\x12\x3a\xd5\x5a\x6a\x44\x84\x02\x78\x73\xa6\xc8\x17\x25\xd1\x29\x4a\xe8\x13\x41\xef\xf5\x95\x47\x9d\xdb\xde\xfb\x13\xf4\xfe\x0a\xa7\x2c\x9a\xa0\x59\x82\x99\x7c\xdf\x1a\x05\x2b\xd8\xcc\x42\x37\x95\xe0\x2d\xdd\x25\x70\x82\x45\x31\x58\x14\x5b\x67\x51\x6c\x8b\xce\x60\x92\x4a\xf1\x94\xb4\x45\x7b\x68\xbb\xd6\x1f\xb4\x87\xa0\x3d\x04\xed\x21\x68\x0f\x05\xed\xa1\x1d\x10\x0e\xaa\x43\x50\x1d\x82\xea\x10\x54\x87\xa0\x3a\xec\x1c\x8c\x41\x75\x58\xa6\x3a\xc0\x5f\xae\x6e\xcc\xba\x7a\x44\x63\xfd\xa1\x41\x91\x98\xa3\x51\x1e\x82\xe2\x10\x14\x87\xa0\x38\x1c\x5c\x71\x68\xcd\x86\xde\x5e\xbd\x8b\x50\x31\x22\x54\x8c\x08\x15\x23\x6a\x2a\x46\x1c\x4a\x64\x33\xf2\xda\x91\xa5\xc8\x1c\x85\xd0\xf6\x6a\x39\x32\x6f\x4f\x8c\x0b\x59\x3f\x21\xeb\x27\x98\x21\x43\xd6\x4f\x30\xb4\x05\x43\x5b\xab\x0d\x6d\xaf\x65\x3d\x3f\xf0\xf5\x3c\x80\x70\xda\xf2\x88\xe5\xef\x8e\x41\x02\x3d\x60\xcc\x41\xb0\xb2\x05\x2b\x5b\x35\x64\x8e\xd3\x3d\xdf\x1a\xae\x1f\x0a\x3c\x05\x89\x3f\x04\x1e\x84\xc0\x83\x95\xc0\x09\xfa\x50\xd0\x87\x5a\xa7\x0f\xbd\xa2\xa2\xd0\xba\x30\xe5\xa0\x31\x04\x8d\x21\x68\x0c\x6f\x56\x63\x68\x0d\x84\x83\xba\x10\xd4\x85\xa0\x2e\x04\x75\x61\x39\x70\x82\xba\x10\xd4\x85\xa0\x2e\xb4\x3a\x34\xf9\x58\x14\x86\xa0\x2c\x04\x65\xa1\xdd\xca\x42\x6b\x36\x14\x82\x78\x43\x10\x6f\x08\xe2\xfd\x6a\x82\x78\xdf\xa8\xc2\xbe\x57\x31\xcd\x91\xc8\x65\x82\xd7\xa2\xbc\xf4\xf3\x02\x61\x6d\xad\xc8\x94\xaf\x76\xd3\xba\x8f\xbb\x02\xf5\x0b\x17\x4f\xa3\x84\xbf\x0c\x32\xad\xce\x06\x85\xe7\xff\xb6\xf9\x7c\xde\x0f\xb9\xf0\xec\xfd\x98\x09\xd1\xde\x6f\x6e\xf4\x62\x81\xd0\x74\x55\x7d\x50\x89\xb8\x40\xe9\x2c\x86\x3f\xa3\x54\x2a\x3e\xad\x97\xaa\x3f\x63\x15\x4d\xf0\x30\x21\x9d\x6c\xde\x0b\xce\x46\x74\x9c\x1a\xfc\xf8\x0d\x48\x21\x76\x92\xcd\x89\x93\x8c\x34\x51\x74\xeb\x5b\x26\x89\x3f\xc0\x3a\x7e\xb1\x6f\xe6\x93\x1c\x45\x00\xfa\xe2\xb2\xcd\x76\x0e\x55\x6e\xb4\x88\x45\xdb\x92\x38\x6f\xb4\x76\x88\x3f\x8b\x77\x62\x95\xa8\x0a\x56\xe8\x4c\x33\xa1\x31\x20\xe7\xcb\x84\x82\x65\x0d\x2c\x71\x60\x7d\xca\x07\x46\x2f\x34\x49\x40\xe2\x30\xb0\x68\xdf\xce\x1b\x69\x2f\x76\xe3\xf6\xee\xbd\x89\x7d\x3b\xe2\xb1\x62\xe7\xee\x0a\x1a\x37\xc4\x91\x6e\xfb\x35\x2b\xec\xae\x20\x64\xaf\x5a\x67\xb7\x96\x7d\xd6\xe4\x54\x7d\xf8\x57\x25\x4b\x6c\xd2\x3b\xf5\xb5\xf9\xe0\x27\xa2\xde\x0c\x13\xfc\x44\xd4\xa1\x38\xe0\x5b\x64\x7b\x9b\xf2\xba\xa5\x84\x4f\x90\x11\x11\x84\x45\xe4\x58\x73\xb2\x16\x58\xdc\xd1\x6e\x77\x23\xce\x76\xb4\xbb\x5d\xc7\x80\xf5\x8b\xd9\xa4\x35\x57\x4d\x1d\xc9\xf5\xb7\xaa\xb8\x75\x2f\x17\x5c\x60\xd6\x58\xd5\xef\xdc\xff\x38\xb8\xeb\xde\xdf\x3c\xdc\x5d\x74\xcf\x51\x07\x2e\x3a\x7c\x63\xc8\x3b\xfd\x27\x0c\x07\xf9\xb0\x99\x31\x4c\x18\x1e\x27\x81\x54\x83\x1b\x5c\x43\x11\x9d\xa2\x8b\xab\x87\xfb\x7e\xf7\xae\x66\x40\x4b\xfc\x29\x1b\x23\x45\xa6\xb3\x04\x2b\x12\xa3\xa7\x74\x48\x04\x23\xa0\x58\x25\xa9\x54\x44\xe4\xce\x71\x33\x68\xf7\xef\xdd\x8b\x87\x7e\xef\xe6\x7a\xf0\xd3\x43\xf7\xa1\x7b\x8e\x1c\x17\xd1\xc3\xea\x75\xe9\x55\xc4\x73\x86\xa7\x34\x32\x3f\x64\xad\x68\xd1\xef\x29\x49\x09\xc2\x52\xd2\x31\x9b\x12\xa6\xca\x23\xba\x05\x5f\x75\xbe\xef\x5e\x15\x47\x9e\x10\xf4\xe3\xdf\xf2\x45\x25\x78\x48\x12\xeb\xad\x07\x07\xb4\x66\x5e\xf9\x44\xd6\x8d\x9f\x1a\xa8\xfe\xf4\xd0\xb9\xea\xf5\x7f\x1d\xdc\x7c\x1c\xdc\x77\xef\x7e\xee\x5d\x74\x07\xd6\x18\x73\xd1\xd1\xf3\x16\x66\xb2\x36\x1b\xf4\x7b\x8a\x13\xaa\xe6\xfa\x1c\xa5\x61\xfa\xe8\x65\x42\x18\x4a\x19\x30\x10\x63\x29\xc4\xcc\x9b\x54\xce\x48\x64\x76\x74\x7b\xf5\xf0\xa9\x77\x3d\xb8\xf9\xb9\x7b\x77\xd7\xbb\xec\x9e\xa3\x7b\x92\x80\x2d\xcd\x01\x1d\x4e\x71\x96\xa4\x63\x4d\x09\xa6\xb3\x84\x68\x68\x18\x5b\xe1\x90\x4c\xf0\x33\xe5\xc2\xb2\xe3\x31\x7d\x26\xcc\xc0\x51\xa3\x95\x19\xdf\xd9\xac\x06\x1e\xe8\x6e\xae\x3f\xf6\x3e\x9d\xa3\x4e\x1c\x67\x7b\x90\x30\x46\x01\x73\xdc\xd5\x3d\x2d\x2e\x9b\x8e\x68\x04\xd3\x1b\x24\xe2\xcf\x44\x08\x1a\x93\x12\x1e\x75\xee\xef\x7b\x9f\xae\x3f\x77\xaf\xfb\x00\x31\x25\x78\x22\xd1\x84\xbf\x80\xa3\x17\x76\x08\xfe\xdf\x67\x4c\x13\x98\xcc\x1d\x16\x67\xfe\xed\xf7\x66\x36\x66\x4d\x91\xb2\x57\xf7\x5d\x16\x2e\xde\xa2\xb5\xaf\x7c\x93\x16\xdf\x28\x5d\x8b\x65\x2f\x14\xb0\x7c\xf1\xc5\x55\xd8\xba\xf8\x45\x09\xdd\xea\x6d\x9c\x0b\xf8\x52\xbf\xd3\xfc\xac\x1b\x9b\x38\x8b\x30\xdc\x87\x8c\xed\xbe\x7e\x17\x93\x84\x28\x52\x2b\x13\x5f\xc2\xe3\xd7\x97\x89\xcd\x3a\xde\x8c\x58\x6c\xb6\x13\x24\xe3\x20\x19\x37\xde\x70\x90\x8c\xab\x36\xfc\x46\x24\xe3\x16\x5a\x7d\x1c\x89\x6a\x9d\xd5\x27\xf8\x47\x4a\x27\x75\x9c\x2c\xf0\xd5\xdc\x23\xc1\x7f\xb0\x1e\x0b\x39\xfe\x7d\x07\xff\x41\xf0\x1f\x54\x72\x92\x37\xef\x35\x38\x4e\xd6\x70\x40\xa7\x41\x50\x23\x96\xec\x37\xa8\x11\x47\xb6\xdb\x60\x60\x0f\x06\xf6\x60\x60\x0f\x06\xf6\x60\x60\x47\x9b\x1a\xd8\x1b\x50\xd9\x43\x98\x53\x5b\x1a\x44\xfc\x56\xdc\x06\xc7\x29\x17\x1f\xd6\x6b\x10\x44\xe3\x25\xfb\x0d\xa2\xf1\x91\xed\xb6\x85\x76\x91\x76\x59\xd8\x69\x5c\x65\x10\x39\x60\x69\x7a\xb7\x92\xa6\xe5\xe9\x1d\x40\x7b\xf1\x51\x90\xf3\x57\xab\x50\x1f\xea\xb9\x87\x7a\xee\xa1\x5c\x4b\xa8\xe7\x8e\x42\x41\x92\x50\x90\xa4\xcd\x05\x49\x1a\x1c\xe3\x5b\xa8\xe7\x7e\x18\x0b\xc3\x1b\x4a\x52\x76\x82\xa1\x2c\xc4\x6e\x70\xb9\x2a\x78\x03\xac\x04\xe9\x2c\xe1\x38\x5e\x56\x2c\xc6\xc9\x91\x7e\xc1\x98\x25\xa2\xa7\x19\xfb\x97\x45\xe5\xa9\xb5\x92\xa7\x5b\xab\x59\xf9\xa1\xcc\x07\xad\x51\xb8\xdc\xb6\x5b\xa1\x66\x15\x7b\xb7\xb6\x10\xa1\x8f\x2a\xa0\xf6\xb0\x18\xfd\x26\x9b\xb6\x86\x6b\xba\xfa\x9a\x1e\xae\x3f\x4a\xd5\xd5\x6d\x6c\x08\x91\x7f\x3d\xa6\xbb\x7b\xa0\xca\xc7\x6f\xef\xc6\x86\x0a\x6d\xa1\x42\x5b\x2d\x64\x8e\xb3\x9c\x73\x6b\x14\xaf\x60\x4b\x0b\xa5\x8f\x43\xe9\xe3\x5d\x02\x27\x58\x1a\x83\xa5\xb1\x75\x96\xc6\x36\xe9\x10\x7b\x6c\x9d\xb2\x9d\x36\x71\x54\x96\x80\xa0\x4d\x04\x6d\xa2\x62\x6b\x41\x9b\xf8\x0a\xb5\x89\x76\x40\x38\xa8\x12\x41\x95\x08\xaa\x44\x50\x25\x82\x2a\xb1\x73\x30\x06\x55\xe2\x75\xda\xaa\x54\xe9\x13\x0d\x53\x52\x8f\x4a\x99\x08\x8a\x44\x50\x24\x82\x22\x11\x1a\xc7\x2c\xdf\x53\x68\x1c\x13\x1a\xc7\x84\xc6\x31\x6f\xa0\x71\xcc\x21\x45\xb8\x9a\x6a\xe5\xc7\x91\x66\x73\x14\x42\xdc\xab\xe5\xd9\xbc\x3d\x91\x2e\x64\x0e\x85\xcc\xa1\x60\xa2\x0c\x99\x43\xc1\x08\x17\x8c\x70\xad\x36\xc2\xbd\x96\x65\xfd\xc0\xd7\xf3\x40\x82\xea\x91\x44\x3b\x7f\x77\x0c\xd2\xe8\x81\xe3\x13\x82\x05\x2e\x58\xe0\xaa\x21\x73\x9c\xae\xfc\xd6\x48\x01\xc7\xd8\x39\x36\x68\x00\xcd\x01\x11\x82\x14\x9a\xc3\x2a\x04\x29\x2c\x01\x4e\xd0\x8f\x82\x7e\xd4\x3a\xfd\xe8\x95\x15\x87\xd6\x86\x38\x07\x0d\xc2\xbc\x17\x34\x88\xa0\x41\xbc\x51\x0d\xa2\x35\x10\x0e\xea\x43\x50\x1f\x82\xfa\x10\xd4\x87\xe5\xc0\x09\xea\x43\x50\x1f\x82\xfa\x70\x34\x61\xcd\xc7\xa4\x40\x04\xe5\x21\x28\x0f\xed\x56\x1e\x5a\xb3\xa1\x10\x00\x1c\x02\x80\x43\x00\xf0\x57\x13\x00\xfc\x46\x15\xf8\xdd\x8a\x6d\xff\x61\x01\xf5\xce\x13\x30\x32\x49\xe4\xdd\xf7\x09\x1f\xf6\xe7\x33\xa2\xff\xff\x92\x4e\x09\x93\x00\x09\xaa\xe6\xbe\x98\x56\x83\x50\x8b\xa8\xf4\xee\xbe\x77\xfd\xe9\xca\x6f\x0f\xf4\xee\xf3\xc3\x55\xbf\x77\xdb\xb9\xcb\x8e\x3b\xdb\x95\x7f\xc4\xf6\xbb\x82\xa4\x69\x6f\xf2\x1d\xd1\x2a\x35\x10\x83\x7b\x85\x55\x2a\x37\x5b\xd9\x5d\xf7\xbe\x7b\xf7\x33\xb4\x37\x1a\x5c\xf6\xee\x3b\xdf\x5f\x15\xf0\xbc\xf0\xbc\x73\xf1\xd3\x43\xef\xae\xfe\x79\xf7\xef\xbd\xfb\xfe\x7d\xdd\xd3\xbb\xee\x55\xb7\x73\x5f\xff\xf5\xc7\x4e\xef\xea\xe1\xae\xbb\x14\x1e\x4b\x57\xbb\x5c\xb7\x92\x00\x24\x68\xf1\x81\x22\x4b\x0c\x45\x0e\x43\x94\x49\xc5\x8e\xca\x57\xcd\x75\x8e\x1e\xac\xa9\x82\xda\xc1\x0d\xdf\xf0\x06\x32\x3a\x56\x4c\x25\x1e\x26\x24\x5e\x18\xc9\xc1\xb0\x6e\x24\x5c\x58\xd4\x0b\x96\x9e\x24\xad\x49\x79\x64\xae\x0f\x82\xa6\x6b\x8a\xb0\xb8\x62\x0e\x73\x0e\xb5\x33\x30\x4d\x92\xe9\x33\x29\xcc\x14\xa5\x42\x10\xa6\x92\x39\x22\x5f\xa8\x54\x72\x61\x50\x77\x7c\x75\xc3\x5a\x82\x90\x0d\x38\xc1\x12\x0d\x09\x61\xc5\xf5\x0b\x92\x10\x2c\x2b\xd6\x6c\x4f\xbf\x19\x58\xb2\xb3\xb2\x46\x26\xc3\x63\x47\x98\x26\xa9\x20\xa5\xdb\xc2\xa7\x33\x2c\xa8\xe4\xac\xfb\x45\xb3\x68\x7d\x91\x6f\xe0\x73\x2e\x36\xbb\x31\xdd\x9f\x7c\x0c\xbe\x2e\xfe\xf3\x53\xbf\xf8\xaf\xc2\x9d\xbf\xea\x17\xff\xb5\x1c\xd7\xbd\x81\xcb\x98\x7d\x8a\x3e\xf5\xcf\xd1\x27\x28\x31\x2a\x50\x7f\x82\x0d\xc6\x5e\xf5\xcf\xd1\x15\x91\x12\x7e\xc9\x3f\x56\x54\x25\xb0\xb7\xef\x29\xc3\x62\x8e\xdc\xf6\x4d\xe7\x3e\x1c\x4d\x10\xc9\x40\x53\x06\x1e\xfb\x47\xca\xc0\x22\x91\x43\xef\x8a\x8f\x69\x84\x93\xed\x80\xd8\xb9\x2e\xd0\x81\x9b\xbb\xa5\xa0\xf0\xdf\x5e\x84\x45\xe7\xfa\x12\xba\xe2\xb9\xa5\x56\xec\xfc\x9a\x48\x8d\x24\x11\x67\xb1\xf5\xa9\x69\xa1\x66\xee\xe9\x2a\xff\xe0\xd0\x59\x30\x95\x94\x8d\xf5\x88\xe8\x03\xba\xb9\x7b\x64\x37\x22\x36\xf6\x5d\xa2\x85\x7c\x83\x73\x54\x22\xc6\x15\xa2\xd3\x19\x17\x0a\x33\xa5\xf5\x1b\x90\x6e\x2c\x44\x0c\x05\xb8\xe0\xd3\x69\xaa\xb0\xbe\x68\x0b\x40\x65\xc6\xca\x73\x4f\x54\x2f\x06\x47\x58\x05\x0c\x8d\xf8\x93\xef\x65\x26\xf4\xf8\x5a\xf4\x2a\x9a\x06\x68\xbc\xa0\xa1\xbb\x21\xb0\x10\xb8\xc8\x80\xdf\x51\x45\xa6\xe5\xf7\x1b\xb2\xdd\x7f\x57\xda\x3d\x2e\x4c\x56\x04\x11\x1d\x11\x4d\xa8\x22\x91\xd2\x57\x70\x23\x9c\x78\xb8\xfe\xf1\xfa\xe6\x17\x5f\x30\x7a\xd7\xf9\x7c\xf9\x5f\x85\x32\xb0\x9d\xbb\xcf\x0b\x3f\x0c\x7e\xfe\xaf\x85\x5f\xfe\xff\x4b\xf1\xa9\x3c\xd3\x82\xf9\xc2\xdb\xcb\x29\x68\x0a\x60\xea\x76\x5b\x45\x74\x8a\xc7\x04\xc9\x74\xa6\x31\x40\x9e\x15\xcf\x57\x4b\xca\x57\x1c\xc7\x94\x8d\x4d\xf3\xb7\x2b\xaa\x88\xc0\xc9\x67\x3c\xfb\xe8\xcc\xf2\x1b\x40\xe7\xff\xdc\x17\x1a\x10\xbe\xfb\xb5\xf3\xd9\x6f\x61\xf8\xee\xf6\xee\xa6\x7f\xb3\x74\xd7\x85\x11\x16\xaf\x91\x7e\x7c\x0e\xff\x8b\x3e\x20\x3d\x7a\x26\xd0\x4f\x89\xc2\x5a\xd1\x41\x7f\x30\xfd\xb2\xb2\x4c\x18\xca\x12\xb8\x35\x33\x41\xa7\x14\x58\x8a\x31\x4c\x7e\x63\x74\x86\x4c\x29\xca\xee\x8d\xf9\x00\x8c\x00\x8e\x29\xb3\x18\x8b\x18\xfd\x43\x96\xfb\x61\x82\x3d\xdc\xfc\x40\x62\x74\x8a\x26\x4a\xcd\xe4\xf9\x87\x0f\x2f\x2f\x2f\x67\xfa\x6d\x2d\xc0\x7e\xd0\x7f\x9c\x12\x76\x36\x51\xd3\xc4\xf4\xff\xd4\x50\x38\x47\xb7\x82\x6b\x16\x02\x76\x07\x22\x28\x4e\xe8\x3f\x49\x8c\x86\x86\xfe\xf1\x11\xfa\x2d\xe2\x82\x9c\xe5\x07\x63\x6d\x65\x96\x8f\x58\x7b\xda\x07\xfd\x52\x05\x31\x29\x9f\x27\x8a\x49\x44\x63\x2b\x66\x10\x16\x71\x30\xa8\x1a\x17\x8c\x1e\xcf\x35\x19\xd3\x8a\xda\x2c\x55\x39\x38\x3d\x1d\x0c\xc7\xc4\x6b\xdf\x69\xe5\xeb\x0c\xe1\xb4\x3e\xd7\x33\xda\x78\x2a\x89\x00\xde\x8a\x81\xab\xba\x57\x67\x7a\xc3\x11\x4f\xd0\x30\x1d\x8d\x88\xf0\xc3\x07\x4e\xb4\x92\x46\x25\x12\x24\xe2\xd3\x29\x48\x0c\xfa\xab\x54\x1a\xac\x06\x88\xd9\xd5\x9e\x3d\x32\x38\x7f\xad\xbd\x01\x06\xc4\x1c\x48\x1d\x23\x24\x46\x98\xcd\xcd\x34\xc3\x74\xe4\x8f\x6f\xfa\xea\xe2\x18\x51\xf5\xc8\x3a\x49\x82\x04\x99\x72\x45\xbc\xf6\x69\xe0\xea\x2c\x02\x1c\x48\xa4\x20\xb3\x04\x47\x24\x36\xf8\x90\xf0\x08\x27\x68\x44\x13\x22\xe7\x52\x91\xa9\x3f\xc0\x1f\xc0\x04\xa5\x61\x46\x25\x8a\xf9\x0b\x4b\x38\xb6\xfb\x28\x7f\xf6\x4d\xf1\x36\x76\x5d\xcf\xd3\xae\x10\x5c\xc0\xff\xfc\x48\x59\xbc\x33\x0a\xf5\x70\xdf\xbd\xf3\xff\x7d\xff\xeb\x7d\xbf\xfb\x79\x3d\xea\x93\x61\x16\x2c\x0f\x4c\x13\xe7\xe8\xde\x00\x81\x0b\x2d\x11\x89\x9a\x4d\x7d\xb6\xa8\x94\xff\xc0\xe3\x0d\xa9\xef\xe7\xce\xf5\x43\xa7\x40\x51\xee\x2f\x7e\xe8\x5e\x3e\x94\xf4\x01\xbb\xbf\x82\x0c\x6f\xb4\x5a\xff\xb7\x8b\x1f\x7a\x57\x97\x83\x0a\x3d\xf8\xdd\x5d\xf7\xe2\xe6\xe7\xee\x5d\xae\xb2\x56\x82\xa8\xb4\x98\x32\xb1\xea\x1b\xa2\x34\xe1\x31\x1a\xce\xab\x3b\xdc\x6a\xc9\x39\x01\xcf\x79\xde\xe3\xd9\x8c\x7a\x0e\xb4\xc9\x35\x1b\xce\xbf\x98\xf2\x98\x9c\xd8\x77\xa0\x35\xb0\xb1\x19\x19\x89\xb9\x7a\x60\x3d\x3b\x66\x9e\xfd\xc5\x74\xed\xcd\x00\x77\x8e\x3a\x48\xea\x17\x53\x7d\xa9\x05\x1d\x8f\xc1\x1e\x5a\x5a\xaa\x19\xcd\x7e\x0a\xe0\x85\xef\xcc\xf9\xcf\x04\x87\x7b\xae\xa7\xb5\x86\xf4\xcc\xd8\x62\x3e\x84\x36\xd2\xc5\x11\x05\x06\x3b\x4a\xc5\xd2\xdc\x61\x69\x20\xd4\xc2\xcb\xdc\x47\x63\x06\xd3\x97\x0b\xc8\x96\x34\x66\xdc\x99\x20\xcf\x94\xa7\xde\xa7\xb6\x53\x71\xe1\xc4\x2b\x87\xcf\x01\x00\x60\x33\xb6\x9e\xd2\x30\x19\x7a\x54\x8e\xa0\x49\xd8\x33\x8c\x30\x12\x7c\x5a\x31\x46\xf1\x9a\xf4\x6e\xee\x95\xc0\x8a\x8c\xe7\x97\x96\x64\x6c\x7e\x3d\x2e\x6f\x7e\xb9\xbe\xba\xe9\x5c\x0e\xba\x9d\x4f\xc5\x1b\x9f\x3d\xb9\xef\xdf\x75\x3b\x9f\x8b\x8f\x06\xd7\x37\xfd\x81\x7b\x63\x29\xca\xd7\x4c\xb0\xc8\xa7\x8b\x2f\x9e\x23\x4d\x72\x81\x34\xbe\xd0\x24\xd1\xcc\xc4\xa3\x8f\x43\x32\xe2\xc2\xd0\xf9\xa9\x0b\x34\xb1\x22\x8c\x83\xad\xd5\xc5\x4a\xbb\x38\x07\x83\x5f\xd5\x90\xc6\x98\xaf\x04\xc1\x53\xe0\x13\x98\xa1\x2e\x8b\x4f\x6f\x46\xa7\xf7\xe6\xc7\x29\x16\x4f\x44\x64\x9f\xbe\x08\xaa\x14\x61\x05\x95\x0e\xbb\x25\x67\x4a\x62\x3e\xc1\x19\xba\xd3\x74\x5f\xbf\x9f\x31\x35\x8d\xec\x31\x51\x98\x26\xd2\x2e\xb6\x00\xd7\x73\x74\x85\xc5\x38\x37\x2f\xfe\x81\x8f\x46\x66\xb0\x6f\xcc\x32\x34\x0f\x2b\xec\xa2\x82\xf6\x6a\xd4\x70\x7c\x11\xe6\xb3\x2f\x67\xf2\xf0\x22\x56\x3d\xcc\xb6\xc3\xa9\x87\x5b\x80\xb8\xd1\xd8\x0b\xba\xa1\x7d\x52\x81\x6b\xb0\x71\xf3\x78\x39\x93\xa9\x1e\x7b\x11\x9d\x8a\x2f\x56\xa0\x93\xe9\xd0\xa2\x4f\x7e\xa4\xb5\xcd\x0a\x5c\x22\x5f\xa8\x35\x18\xf8\xeb\x2e\xa1\x50\x3e\x0c\x58\x8d\xf1\x6c\x46\xb0\x90\x55\xa7\x5d\x14\x03\x6b\xce\xde\xcc\xe4\xcf\x61\x0f\xd9\xcd\x73\x82\x38\x03\x83\x43\x26\x44\x94\x30\xb2\x01\x0e\x98\xb1\x16\x30\xe0\x16\xda\xc7\xdf\xd8\x56\xed\x9f\xa9\xd4\x4a\xa3\xf9\xf1\x7b\xdb\x43\x7e\x33\x84\xf8\xd8\xe9\x5d\x95\x84\x8b\xc1\x65\xf7\x63\xe7\xe1\x6a\xb9\x99\xb0\xf0\x5d\xf9\x88\xd1\x29\xd2\xcf\x8b\xe1\x00\x74\x64\x78\x86\xeb\x84\x6f\x54\x5a\xc2\xc0\x68\x65\xbb\x54\x1b\x33\x7c\x4c\x66\x09\x9f\x4f\x09\x03\x13\x4f\x81\x13\x6a\x78\x8e\x30\xb5\xac\xc5\x5b\x2c\x58\x71\xac\xd9\x0d\xd8\xd8\xa9\x6b\xbf\x4f\xe2\x8c\xf3\x16\xbb\xef\x97\x48\xf7\xad\x71\x0a\xda\xff\xbb\x57\x58\x6d\x78\xc7\x3a\x17\xfd\xde\xcf\xdd\xa2\x7e\x78\xf1\x43\xef\xe7\x2a\xa9\x66\xf0\xa9\x7b\xdd\xbd\xeb\xf4\x57\x08\x27\xa5\x21\xab\x84\x13\xa9\x17\x5c\x76\x0a\x53\x99\x05\x3a\x45\xa6\x87\x3f\xa2\x4a\xa2\x67\x2a\xe9\x90\x26\x54\xcd\x91\x75\xb0\x3e\xf4\x80\xb2\x3e\xe3\x84\xc6\x54\xcd\x9d\xf8\x62\xe6\x2d\x9e\xa3\xa6\xa4\x76\x7c\x63\x76\xf0\xdd\xae\x60\xe5\x33\x87\xe3\x36\x7d\x8e\x40\xb7\x7d\x06\xa5\xcd\xfb\x8c\x69\x41\x9a\x8d\x89\x30\xcb\x01\xa7\x92\xbf\x16\xef\xb9\x5e\x95\x2f\xac\xe4\x50\xcb\x84\xd6\x31\x61\x44\x93\x48\x6f\x12\x23\x48\x09\xc2\xde\x6b\x99\x6b\x96\xd0\x88\xaa\x64\x8e\x22\xb0\x61\x81\x39\x73\x8a\x19\x1e\x5b\xe1\x00\xd4\x9c\x12\x4a\xfc\x94\x82\x01\xfe\x66\x64\x4d\xfb\x7d\x4a\x36\xbc\x66\x0f\xd7\x97\xdd\x8f\xbd\xeb\x22\x0a\xfc\xd0\xfb\x54\x10\x61\x3f\x77\x2f\x7b\x0f\x05\x6e\xae\x25\xd9\xe5\x72\x7d\x79\xd8\x8a\xab\x98\xbd\x74\x8e\x2e\xcd\xa7\xe7\x1a\xb8\xbf\x9b\xcd\x69\x94\x91\x66\x7b\xb9\xf2\x5b\x82\xc3\x9d\x8b\x34\x74\x7f\x74\x99\x12\x95\x7e\x89\xa6\x26\x24\xeb\x15\x2a\xd8\x90\xaa\x23\x30\x16\xe6\xbe\x2e\xfb\xca\xcb\x5b\x76\x2f\x42\x88\xec\x59\x6e\x59\xf2\x43\x33\xc0\x68\x50\x67\xc4\xaa\xf0\xd6\xe5\x04\xfb\x67\xf0\xbc\x4f\x53\xa9\x8c\x87\x14\x90\x13\x3d\xfd\x4d\x6a\x80\x82\x07\xf5\x0c\xdd\x13\xf2\xc8\x9c\xf5\x60\x4c\xd5\x24\x1d\x9e\x45\x7c\xfa\xe1\x29\x1d\x12\xc1\x88\x22\xf2\x03\x9e\xd1\x29\xd6\x92\x34\x11\xf3\x0f\xc3\x84\x0f\x3f\x4c\xb1\x54\x44\x7c\x98\x3d\x8d\x21\xb0\xc7\x79\xba\x3e\x64\xc3\x8e\xf9\x7f\x5e\x7d\xf7\xed\xe9\xd5\xdf\xbe\x7d\xb7\x68\x21\xab\x3b\xff\x2e\x8b\xf0\x4c\xa6\x89\x0d\x04\x14\x3e\x6c\xdc\x95\x4f\xc9\xaa\xf3\xbe\x2e\x1e\xd7\x76\xfa\xeb\xc5\xed\x43\xc1\x62\x5d\xfc\xe7\xe7\xee\xe7\x9b\xbb\x5f\x0b\x94\xb2\x7f\x73\xd7\xf9\x54\x20\xa8\xdd\xdb\x1f\xba\x9f\xbb\x77\x9d\xab\x81\x7b\xb8\x8d\xed\xed\x47\xc6\x5f\x58\x11\x34\xd2\x51\xc0\x85\x99\xce\xd1\x47\x2e\xd0\x8f\xd9\x49\x9e\x0e\xb1\x04\x16\xe3\x78\x96\x3c\x41\x33\x1e\x03\xe1\x45\x64\x36\x21\x53\x22\x70\x62\x6d\x06\x52\x71\x81\xc7\x86\xd3\xcb\x48\x60\x15\x4d\x90\x9c\xe1\x88\x9c\xa0\x08\xb0\x61\x7c\x02\x87\x02\xaa\x16\x1f\x97\xed\x7c\x77\x29\x53\x74\x4a\x9c\x0a\x6e\xff\xd9\x37\x87\xb1\xc1\xe1\xdc\xf4\x7f\x28\x0a\x7b\x1f\xaf\x7e\xed\x77\x07\xf7\x97\x3f\x2e\x85\xa7\xf9\xac\xb0\xb2\x7b\x88\xab\xba\xe0\x49\x3a\x65\xfe\xdf\x9b\xaf\xad\x77\xdd\xef\x7e\x2a\xaf\xee\xa6\xd3\x2f\x62\xc6\x5d\x31\x6e\xef\xdd\xf7\x37\x37\x57\xdd\x82\xa7\xfb\xdd\x65\xa7\xdf\xed\xf7\x3e\x17\xf0\xe7\xf2\xe1\x0e\x7c\x40\x4b\xb7\xe9\x56\x50\xb1\x51\xbd\x2d\x7f\x9b\xbb\x26\x85\x8d\x28\x51\xc7\x86\xff\x9b\xbb\x7c\xea\xd5\xcb\x31\x51\x6e\x60\xd5\x39\xcd\x4c\xaa\x91\x59\x69\x25\x39\x54\xc5\x63\x42\xf5\xe4\x78\xe9\x41\x2f\xa3\xca\xfd\x6c\x09\xb0\xae\x33\xa3\x6c\xe3\x24\xe1\x2f\x26\x42\x79\x4a\x35\x57\x96\x04\x02\x95\xf5\x2b\x32\xf7\x10\x9e\x55\x50\xbc\xe2\xb1\x90\x48\x10\xf5\x99\xa7\x4c\x6d\x8e\x72\x9d\xeb\x02\xdd\xe9\x5e\xff\x3c\xf8\xb9\x53\xc4\xc0\xde\xd5\x72\x52\xe3\x0f\x51\xc1\x8a\x3b\xd7\xbf\x66\x4c\x18\xe2\xd8\x4f\x32\x0d\xd5\xc8\xae\x51\x42\xb5\xd8\x1b\x61\xad\xbd\x26\x20\xd1\x20\x42\xc1\xe4\x30\xd5\x9b\x83\xb8\xd9\x99\xf1\x27\x19\xfa\x64\x16\x79\xee\xfe\x28\x8d\x27\x01\x2e\x60\x4d\x75\x69\x02\x30\x8e\xd5\xaa\x19\x22\xec\x99\x0a\xce\x40\xd8\x7e\xc6\x82\x6a\x69\xdc\x8c\xac\xf7\x7a\x0e\xff\xbb\xde\x98\x60\x18\x2d\x11\xae\x7b\x2e\xd4\x65\x16\x9f\xbc\x99\x35\xa4\x2a\x4e\x77\x31\x42\xb7\xda\xd0\xb1\xf8\x6d\xc5\xe1\x6c\x19\xc7\x5c\xdc\xf0\xef\xc9\x25\xc5\x89\x26\x00\xbb\x93\x17\x3b\xd7\xf7\xbd\xa2\xfc\x58\x54\x33\x3c\xba\xbc\xb1\xbc\x08\x86\x4a\xb3\x72\xa7\x4c\xdc\xff\x74\x65\xb4\x0b\x8d\x24\xf6\xde\x7a\x8a\x05\x08\x40\xae\xb7\xea\x0c\x0b\x59\xfa\x42\x22\xa8\x64\x96\xc7\x91\x69\x9e\x05\x51\x5a\xcf\x9c\xc6\x8f\x8c\x7c\x99\x11\x26\x21\x38\xc0\xf0\xb3\xdc\xd7\x2e\xcf\x50\x6f\x04\x24\x41\xbf\xce\x50\xca\xac\x03\x4c\x33\x5c\xb3\xc8\x13\x2d\xca\xda\x25\x64\x1a\x22\x18\x5e\x18\x71\x31\x60\xf9\xe2\x1f\xd9\x2f\x99\x13\x0d\x1e\x8d\xb8\x26\x40\xfa\x14\xed\x78\xe7\x08\x33\x49\x4f\x90\x56\x58\xca\x67\x0a\x19\x11\x5a\xa1\xb4\x91\x69\x9a\xd2\xd8\x3f\x0f\xcf\x06\x16\xc2\x9f\x7d\x66\x50\xcd\x0b\x4a\xac\xa0\x46\x34\x4e\x8c\xc7\x64\xd0\x9c\x27\x44\x5c\x10\xeb\x67\x59\x9b\x0d\xac\x22\xec\x7d\x2c\x9f\x16\x7c\x0f\x3d\x26\x15\x66\x11\xb9\x48\xb0\xdc\x30\x08\xc9\xd9\x38\x4e\x8a\x12\xc7\xdd\xdd\xc3\x6d\xbf\xf7\xfd\x0a\x2a\x5f\xfe\x78\x31\x0c\x28\x4a\x52\xe7\x9e\x1b\x0a\x8e\x63\xa4\xc9\xe7\x98\x1b\x57\xa0\x15\xfc\xcd\x0d\x32\x67\x42\xa5\x17\x27\x8a\xe5\x53\xc1\x48\x6d\xb3\x2c\xac\x9d\xc3\x77\x25\x50\x0b\x08\x14\x69\x48\x20\xcf\xe4\xe1\x8e\x1a\x3c\x8b\x26\x8a\xce\x5a\xb7\x66\x09\x56\x23\x2e\xa6\x86\xca\x17\x36\x6d\x06\x5f\x3e\x28\x65\x8a\x08\x91\xce\x14\xa8\xec\x7a\xad\x65\x29\x55\x1f\xd9\x15\x1f\x7f\x26\x52\xe2\x31\xd9\xc6\x01\x5d\xa5\x3c\xdc\xff\xec\xff\x13\x1c\xcc\x4d\x64\xff\xc2\x0a\x5d\x40\xbf\xc3\xa7\x1b\xf6\xd1\x04\xf2\xdc\xf2\x84\x46\x1b\x06\xdc\x7d\xec\xf4\xae\x06\xbd\xcf\x5a\x89\xef\xf4\xbb\x57\x05\x51\x02\x9e\x75\x3e\xf6\xbb\x77\x83\xee\xdf\xbb\x17\x0f\xfd\xce\xf7\x57\xdd\xc1\xf5\xcd\x65\xf7\x7e\x70\x71\xf3\xf9\xf6\xaa\xbb\x22\x32\xa7\x76\xf0\x45\xeb\x6a\xf9\xd5\xf3\x85\x5f\xe0\x84\x35\x2d\xf3\xed\x65\x90\x0c\x87\x69\x02\x4e\x70\x6e\x9c\xe1\x18\x31\x1e\x13\xf8\x59\x3a\xeb\x8c\xcb\x36\x39\x43\x3d\xf5\x3e\x49\x10\x4e\x15\x9f\x62\xf0\xda\x24\xf3\x47\x86\x87\x9a\xb4\xe2\x24\xf1\xc2\xbb\x44\xca\x98\x26\xb1\x7a\x30\x69\xe2\x8b\x13\xa2\xc9\xf9\xcc\xcb\x61\xb4\x7e\x83\x11\x65\x10\x40\x3c\xc5\xe2\xc9\xb8\x99\xf2\x29\xf3\x4b\x21\x11\x96\x8f\x4c\xaf\x8b\x58\xc3\x50\x13\x08\x9f\x37\x7a\xab\x16\x3a\x53\xfc\x44\x34\x54\xa6\x69\x34\x41\x33\xc1\xc7\x82\x48\x69\x6d\xcb\x11\x66\x26\x00\xc1\xbe\xae\xd9\xd0\x23\x63\x5c\x83\xc2\x99\xb0\x63\x32\x23\x2c\x26\x2c\xa2\x26\x5b\x11\x7c\xf7\x99\x69\x73\x2c\xf0\x6c\x82\x24\x07\xa7\x37\x80\x1d\xec\x57\xe6\x23\xc7\xc9\xcc\x8e\xcd\x63\xdf\x02\x2d\x52\x4d\x27\x6e\x40\x4e\x34\x50\x86\x8f\x1d\x33\x74\x6e\x17\x63\x07\x9c\xce\x12\x02\x53\x5a\x90\xc3\x61\x68\x58\x17\xce\x43\x1f\x53\xd5\x21\x68\x86\xed\xd6\x8c\xa5\x5d\xd1\x59\x85\x65\xdb\x5e\x29\xf4\x03\x66\x71\xa2\x47\x71\x3e\x8c\xe2\x5d\x84\x0c\x9b\x8e\xc6\x1a\x77\x1b\xb7\xe1\xa2\x11\x4e\xe5\x36\x6c\xb4\x94\x62\x6a\xac\x82\xa7\x79\x50\x08\xa0\xb7\xcd\x2f\x05\xe8\xce\x34\x89\xc4\x09\xb7\x50\x32\xaf\xa7\x36\x68\x19\x56\x53\xc3\x66\x67\x82\xb2\x88\xce\x70\xb2\x91\xee\x57\xca\x31\xb0\xa1\xfb\x7f\xa0\x23\x8d\x3e\xdf\x2c\xb8\x6d\x15\x11\x53\x48\x27\xb7\xcb\xcc\x8e\x70\x0d\x4b\x92\x4d\xd6\x20\x32\x8f\x26\xc1\x82\xa7\xc6\x1f\x07\x70\x21\x71\xc5\x55\x3d\xab\x3a\x6e\x7d\x33\x70\x31\x00\x7a\x83\xc3\x36\x91\x3f\x75\xf0\x2b\x8d\x62\x67\x37\xc1\x78\x38\xb9\xad\x1e\xb3\xea\x04\xbc\x87\xff\x5e\x86\x3b\x9f\xf1\x4c\xe3\x4c\x94\x4a\x05\x9e\xe2\x6c\x8f\x56\x49\x2a\x85\xb2\x7b\xbe\xf3\x2c\xa8\xbd\xf9\x69\xe4\x20\xb4\x01\x50\x8b\x93\x14\x62\x08\xbc\x8a\x00\x16\xc7\x47\xa9\x96\x65\x11\x86\x28\x04\xf4\x07\x72\x36\x3e\x43\x37\x3f\x77\xef\xee\x7a\x97\xdd\x13\xd4\xb9\xbd\xed\x5e\x5f\x9e\x20\xa2\xa2\x6f\x5c\xcc\xa2\x0d\x58\x7a\x64\x8a\x5b\x69\x65\x8e\x26\xfc\x05\x68\x23\x11\x63\x52\xd8\xb3\x8b\x6e\x82\x50\xe5\x31\x95\xca\x86\xcf\x6a\xba\x92\x2f\x4b\xcb\xfb\x95\x18\x92\xaa\xc9\x36\xa8\x81\xa5\x4c\xa7\x5a\x97\x1d\x50\x3c\x1d\x08\x9e\x6c\x43\x14\x2e\x61\x2b\xa0\x2e\x67\xc5\x14\x28\x9e\x22\x3d\xac\x0d\x05\xc9\x5c\x8e\x99\x48\xa7\x05\x23\x4d\x97\x35\xdf\xf4\xf8\x96\xf3\x3e\xd8\x78\x34\xea\x42\x20\xa0\xd8\x42\x0d\xa9\xc8\xcd\xc6\x03\x6b\xa9\x1f\xe0\x28\xd2\x2a\xf7\x8e\x37\x95\x4f\x94\xb9\x04\xec\x44\x7b\xdb\xe6\x2a\x3c\x77\xcb\x9c\x69\x0a\x06\xc1\xc0\x9a\xe5\x4a\x1e\xd1\x7c\xfc\x8a\x79\x87\xf3\x85\x59\x01\x65\xcf\x1e\xd9\x83\xcc\x4c\x2a\x86\x09\x4b\x02\x27\x29\xd1\xcb\x84\xc0\xd5\x98\xa3\x09\x7e\x26\x85\x29\x5d\x0e\x89\x1e\x78\xce\x53\x51\x45\xe8\x1e\xd9\x25\x99\x09\xa2\x25\xfd\xb2\x03\x25\xc3\xe9\xbb\x22\x26\x06\xbc\x0e\x78\x7d\xf4\x78\x7d\x91\xa4\x52\x11\xd1\x91\x92\x8e\xc1\x90\xb8\x95\x00\x67\x06\x1b\xcc\x38\x4f\x06\x0d\x6c\x22\xcd\x21\x5e\xf0\x84\x15\x02\x3e\xa4\xa9\x74\xc0\x53\x90\x8f\x0a\x6c\x93\x6b\x5e\xe7\x65\x0e\xdb\xe5\x2d\x01\x83\x73\x99\x75\x5c\x41\x89\xad\x44\x1c\x5c\x35\xca\xb2\x91\xd0\xde\xc5\x9c\x0b\x23\xdf\x64\xee\xb2\x7c\x89\xa5\xcb\xe4\x44\x11\xca\x1c\xd8\xf2\x8f\x00\x9f\x35\x80\x8d\xdc\xf1\x7b\xca\x15\x96\xdf\x9c\x3d\x32\x2d\x44\x3d\x91\xb9\x31\xb7\x6a\x31\xe5\x8f\x5a\x16\x3f\x95\x84\x49\x08\xf7\xfe\xa3\x71\xcf\x69\x14\x77\xe6\x6a\xa3\x9a\x92\xe9\x2c\xc1\x0a\x82\xae\xb3\x59\x20\x44\xd7\x0e\x6a\xa5\xa4\x3c\x00\x1a\xe4\x7c\xb3\x17\xfb\xcc\x2c\x7f\x4c\x14\x64\x8e\x2b\xaa\x40\x67\x8a\x53\x0d\x9e\xc5\xa5\xaf\x34\x5d\x19\xac\x10\x1c\xfc\x24\x71\xba\x1d\xe1\x97\x8b\x63\xac\xa4\x8c\x99\xb6\x70\x6f\x63\xde\x3f\x38\xbb\x51\x24\x38\x2b\x45\xc3\x68\x65\xce\x9c\xf4\xd0\x90\x03\xe7\xbf\x26\xec\xec\x85\x3e\xd1\x19\x89\x29\x86\x08\x78\xfd\xaf\x0f\x7a\x5f\xff\x79\x71\x77\x73\x3d\xc8\x33\x79\xfe\xfb\x91\x75\x12\xc9\xb3\x2c\x05\xc4\x38\xcb\xc2\xed\x67\x82\x38\x91\xd0\xee\x05\xac\xae\xb9\x19\xf1\x91\xd5\xad\x20\xe6\x91\x3c\xc3\x2f\xf2\x0c\x4f\xf1\x3f\x39\x03\x57\x7a\x07\xfe\xbc\x48\x78\x1a\xff\x82\x55\x34\xf9\x00\xf7\x5a\x7d\x20\xcf\x84\x29\xe3\xa6\xd2\xe0\x8a\x21\x27\x59\x42\xb4\xfe\x7f\xea\x35\xe7\x49\x45\x52\x6b\xb2\x11\x99\x29\xf4\xff\x0a\x32\xe4\x5c\x55\x33\x29\x3e\x1a\x49\xb2\x16\x43\xca\x95\xb4\xfb\x1b\xf4\xb7\xff\xfa\xf6\xcf\x1a\x85\x36\x81\x71\xef\xfe\x66\xa0\xbf\xff\xcf\x4b\xfb\xbd\x5c\x83\xdc\x99\x54\x5a\x69\x5d\xcd\x06\x1a\x26\x70\x3e\x65\xc0\xfd\x04\x38\x2f\x80\xbc\x01\x3a\xe4\xe7\x58\x45\xdd\x2e\x0b\xa3\x6f\xa7\xb2\x6d\x04\x4c\x50\xb1\xbd\x3d\xa2\x53\xc4\x38\x9a\x9a\x58\x53\xcc\xd0\x5f\x7f\xfc\xbe\xfa\x00\x53\x41\x37\x9a\x90\xda\x2a\x14\xde\x94\x92\xfe\x93\x48\xa4\xb1\x46\x63\x31\x9f\xea\xa9\x05\x91\x13\x9e\xc4\xe8\x85\x80\x9a\x64\xe3\x40\x33\xad\x5c\x90\x47\xe6\x0f\x01\x21\x87\x08\x27\x8a\x8f\x09\xf0\x6a\xa7\xa8\x29\x22\xb4\xa8\x62\xb2\x34\x14\x17\xe4\xc4\x14\x66\xbb\xff\xce\xc5\x56\xc3\x36\xe1\x91\x4b\x6a\xb1\x26\xb9\x78\x58\xbd\xf3\x51\xd9\xf4\x8a\xea\x6d\xf8\xe5\x43\xb6\x66\xdb\x6a\xd0\xd8\x24\x14\x6b\xc3\x2a\x9f\x4c\xf5\x62\x68\xc4\xd9\x20\xa1\xec\x69\xa3\xc3\x70\x89\xe1\x48\x8f\x60\x61\xa6\x47\xcc\xec\xdc\xc6\x02\xb2\xc6\xfd\xf8\x98\x26\x89\x49\x6d\xf1\x8f\x07\xe4\x2e\x03\x37\x10\x06\x66\x26\x07\x94\xc4\xd6\xef\x65\x35\x61\x41\x18\x04\xbc\x3d\xb2\xe1\xdc\xfa\x6c\xe5\x09\x92\x69\x34\x71\x99\x79\x11\x67\x52\x8b\xd1\x5c\xa0\x88\x4f\xa7\x5a\xeb\x85\x23\x53\x9c\x27\xd2\x46\xbb\xb3\x53\x85\x23\xf5\xc8\xf2\xf9\x56\xdc\x3c\xd3\x94\x69\xbb\xd4\xbd\xe6\x2e\x9d\xbc\xf9\xd3\x52\x81\x9b\xc6\x7e\x29\x0a\x30\x82\x19\x4f\x94\x57\xd4\x82\x2f\xde\x25\x73\x60\x35\x9a\x81\x9c\x70\xa1\x06\x71\x25\xcd\x59\x89\x34\x65\x42\xc8\xc8\x69\x02\x41\xc3\xfc\x59\x0b\xff\xe4\x25\x33\xbe\x2e\x5b\x82\xc6\xea\x65\x2b\x68\x76\x8d\x96\xae\x6c\x5d\x14\xac\x81\x95\x29\x4c\x12\x15\x63\xc2\x57\xad\xf1\x1e\xbe\xba\xd0\x1f\x2d\x05\x5e\xf9\xde\x39\x21\x88\xc7\x79\x0d\x3d\xc3\xd7\x6d\x46\xc8\x32\x98\xda\xd2\x09\xfb\xcb\x1c\x5d\xb6\x95\x87\xa2\x25\x57\xaf\x05\x4c\xf6\x92\x80\xac\x89\xc5\x90\x2a\x81\x45\xa1\x00\x4a\xa6\x0f\x4a\x82\x05\xc4\x67\x3d\x32\x53\x0e\xcf\x68\x0a\x31\x8a\xa9\x84\x04\x11\xe0\xa5\x9e\x33\x0c\x35\x53\x02\x4b\x57\x3b\xcf\x73\x34\xf1\xe7\x10\x58\x96\xa3\x86\x23\x76\x7a\xa2\xac\xec\x97\xd6\xcf\x78\x94\xe6\x82\x5c\x04\x12\xae\x2d\x15\x84\x28\x93\x74\x3c\x51\x88\x32\x6b\x77\xc4\xc9\x98\x0b\xaa\x26\x53\x79\x82\x86\xa9\xd4\x5a\xa8\x09\x56\x33\xf1\x28\x44\x45\x8d\xa8\xd0\xb6\x49\xc4\x71\x69\xc0\x45\x15\x65\x03\xd4\x68\x76\x29\xbb\x25\x5e\xb1\x02\x71\x3a\x59\xf9\xc4\xf2\x18\x94\xc8\xac\xea\x26\x32\x71\x80\xdc\x15\xac\xfa\x3d\x25\x52\xd5\xdd\x03\x28\x76\xb9\x33\x2f\xc5\x21\x3a\x69\x21\x93\x0c\x2a\x88\x8b\xdd\x06\xc9\xab\x58\x70\xd3\x14\xa5\xca\x9c\x4e\xd3\x99\xaa\x0c\xdc\x5a\x74\x15\xdd\x79\xa5\x8c\x9a\x01\x1b\x92\xb1\x00\x9b\xa1\x00\xdd\x23\xbb\x27\xa4\xbe\x3e\xdd\xc2\xd9\xff\x06\x57\x09\xb6\x60\x13\x3d\x96\xa3\xfc\x36\x4e\xec\xcb\xee\xfd\xc5\x5d\xef\xd6\x94\x9c\xb8\xb9\xfb\xdc\xe9\x0f\x2a\xfc\xda\x15\x6f\x7d\xee\xdc\xfd\x78\xb9\xfa\xb5\x1f\xfa\xc5\xac\xec\x8a\x57\xee\xee\x97\x27\x73\x34\x58\x62\x45\x52\x58\xe5\x3c\xe7\x68\x36\x57\x13\xce\xb2\x10\x85\xb8\x40\x9b\x4e\x91\xc9\x08\x56\x10\x42\x24\xa4\xaa\x70\x1c\xf6\x21\x2e\x67\xb5\x84\x59\x3c\x2c\x53\x5d\x6e\xa7\xa2\xd1\x1a\x37\xf2\x53\xc2\x87\xe0\xb7\xb6\xb2\x8f\x2d\x4c\xb7\x24\x02\x7d\xcb\x78\x9f\x4b\x2a\x67\x09\x9e\x2f\xcc\xb0\x8a\xe5\x5c\xe3\x29\x81\x88\xe3\xbc\x2c\x9e\x4b\x16\xd1\x27\x03\x09\x4c\x19\x5f\xa7\x23\xc8\x64\x52\x14\x2b\x82\x86\x44\xbd\x40\xde\x9c\xfb\x35\xb3\xa5\xba\x80\x11\x79\xf6\xc8\xc0\x9c\xf3\xa8\x81\x1c\xa7\x10\xed\xf7\xf8\xee\x04\x3d\xbe\x8b\xc9\x33\x49\xf8\x4c\x9f\xbc\xfe\xa1\x8e\xc9\xcc\x19\x9e\xd2\xe8\x9a\xc7\xc4\x85\x68\xdc\xd9\x4a\x8e\x5b\xd9\x14\x21\xf8\x8c\xc4\x03\xc7\x32\x9b\xcb\xc0\x17\xf6\x53\xb7\x9c\x8b\x84\xcb\xac\xe0\x0b\x5a\x6e\xfa\xe9\x4e\x31\x4d\xae\xb9\xca\xec\x8c\xdb\xec\x41\x90\x88\xce\x40\xcf\x18\x10\x3d\xee\xe1\xc4\xa8\xc2\xbd\x74\xc4\x19\xd6\x80\x70\x1c\x0b\x22\x25\x10\x66\xb7\xbc\x3c\xa0\x89\x79\x5b\x2f\xb4\xee\x5c\x47\x40\xca\x8c\xf9\x66\x46\x7f\xcc\xa2\x11\xb7\x0a\x9f\xba\xec\x79\x8f\x0e\xe6\x6d\xc5\x12\x8d\x5f\x3f\x92\x39\x24\x94\xdc\x62\x2a\x36\x74\x34\x57\x45\xf0\xee\xc5\xe5\xdc\xad\x98\xa8\x45\xce\xe7\x6a\x38\x6c\xe7\x86\xce\x22\x0f\x0f\xa5\x73\x3b\x3a\x93\x4d\xdc\x50\x09\x7f\xa8\x53\xb9\x6b\x03\x32\x50\x59\x8d\x9c\x91\x68\x0d\xfd\x31\x5b\xe0\xbd\xfe\x6e\xa5\xde\x95\x09\x9f\x2e\x9a\x30\x3f\x05\x9b\xea\x5f\xae\x2e\x40\x56\xae\x38\xb2\xb4\x78\x83\x45\x3b\x32\xbe\x6c\xdd\x5d\x1f\x7d\xb5\x94\xbb\x56\x78\x46\x05\xe0\x4b\x15\x3b\x0d\xd7\x54\xd6\xdf\x67\xdf\x3e\x41\x14\x62\x47\x41\xbd\x4c\xf2\x3a\x08\x2c\x46\xb9\x53\xe7\x91\xe5\x11\x38\x12\xbd\x90\x04\x82\xf6\x34\x97\x03\x87\x85\x5d\xae\x1d\x89\xc4\x26\xfe\xf9\x04\xf1\x54\xe9\xc1\x4c\x86\x91\x33\x49\xdb\xf4\xa5\xdc\x89\x63\x3c\x89\x36\x94\x3f\xab\xfe\x6d\x70\xdd\x48\x06\x94\xa1\x4f\x44\xc1\x28\xd0\x34\xc2\xdf\x20\x68\x3d\xe5\x80\xd0\x6a\xd8\x6f\x71\xa3\xec\x4e\xd6\x38\xf9\xbc\x0c\xcc\xf7\x09\x1f\x2e\x37\x79\xc0\xe0\xe8\xe1\xae\xe7\xec\xab\x79\x34\x98\x57\x62\xba\xe0\x1f\xed\xde\xde\x75\x2f\x3a\xfd\xee\xe5\x19\x7a\x90\x44\x83\x27\xdb\x2e\x64\x8b\x67\x0a\x96\x59\xb9\xad\x2b\xc3\xa4\x22\xb8\xce\xac\x43\x84\x28\xe4\x74\xaf\x20\x1c\xc5\xa2\x33\xcb\x11\x1b\x4a\xbe\x50\x6b\x76\x84\x32\x49\xe5\x7d\xda\x38\xc3\x55\x37\x10\xa2\xbe\x06\xc7\x13\x73\x67\xd6\x3b\x5d\x8c\x33\x5c\x85\x3e\xc5\xf8\xc4\x7d\x6f\x06\xae\x96\x9a\x10\x2a\x50\xa3\x6d\x19\xa4\x1a\x34\xdf\x93\x17\xb0\xff\x19\xcf\x96\x27\xd3\xe2\x97\x02\xd2\x1a\xc1\xde\x8b\x44\xd8\xf7\x3d\x70\x64\x6d\x60\x48\xe1\xf6\x1b\xcc\xdd\x73\x86\xb6\x66\x74\xd3\xe4\xaf\x48\x67\xf2\xf3\x37\x56\x5a\x84\x8d\xca\x95\x08\xee\x0e\xfc\x42\x19\x2a\xb0\xc4\x13\x34\xa2\x5f\xec\xa0\x79\xb4\xbe\x7b\xd5\x0b\xdf\xa8\x89\x0e\x9d\xe0\xc5\x3b\xb5\x86\xd8\x70\x0b\xdf\x2f\x15\x22\xb9\xd4\x22\x51\xa4\xc5\x25\x41\x22\x2e\x34\xa7\x80\x69\x73\x9f\xca\x2a\x91\x41\x61\xa1\x81\xb2\xe8\x63\x5a\x76\xfb\xf3\x46\x31\x31\x56\xe4\x54\x8b\x5e\x2b\xd2\xb9\x6d\xc6\x0f\xe4\x06\x61\xe5\x15\x37\xcb\x39\xcf\x90\x8c\x31\x73\x81\xe6\x35\xcb\x75\x2c\x6f\x0b\x52\xa5\x55\x20\x0c\xc9\x6e\x20\x5f\x41\x22\x53\x61\x1d\x72\x06\xf0\x5c\xba\x0e\x1b\xcb\xd3\x06\xb0\xbd\xe0\x2c\xb4\xa8\x66\xb1\xe9\x2c\x6e\xd3\x62\x13\x2c\x15\xb2\x6b\xaa\x33\xac\x78\x2a\xe2\x7e\x4d\xca\x05\xdd\xbe\xa9\xf2\xa6\x51\xa8\xa8\xc5\x12\xf0\xf3\x48\x57\x05\xc6\xd4\xbc\xd1\x3a\x8d\x13\x84\x2f\xe0\x84\xb2\xbb\x7d\x67\xa4\x2c\xc7\x25\x7c\x62\x02\x29\x07\x8b\x43\x9f\xa1\x0e\x5b\xa8\xfe\xe5\xa2\xcc\x0a\xf0\x32\x3c\x09\x27\x2f\x78\x2e\xd1\x4c\x98\x42\x39\x26\x0f\xc1\x6d\x1e\x34\xb0\xe2\x47\x59\x60\x87\x72\x89\x20\x08\x2c\x4b\xab\x43\x00\x9d\xdc\x3b\xd8\x83\x63\xb2\x14\x23\x9f\x09\xe4\xf9\x70\xb9\xad\xa2\x01\xa9\x53\x64\x10\x4d\x30\x1b\x93\x81\x33\x19\x6f\xa2\x2d\xe9\x71\x2e\x60\x98\x4b\x3b\x4a\x35\x73\xba\x35\x0a\x93\x6d\xd2\x63\x5e\xcd\xcc\xa1\xfa\x12\x48\x85\xc7\x04\x99\x15\x35\x32\xb2\x17\xe2\xdf\x6c\xe9\x64\xd0\x13\xec\xa8\xdd\x62\x4e\x40\x9d\xf0\x0e\x81\x5c\x57\x78\x48\x92\xd7\x89\x03\x81\xa9\xad\xab\x01\x7c\x8f\x26\xb7\x81\xa0\x17\xf0\x4e\x94\x48\x86\xf5\x45\x88\xb4\x2a\xd3\x61\xd9\x3e\xe1\xca\xd9\x9b\xb6\xcd\x46\x5d\x43\x97\x4d\xb6\x5a\xd7\xe6\xc5\x67\x7b\x5e\x3b\x94\x2a\x03\x9b\xcf\xfe\xca\x16\xf2\xcd\x16\xe2\x75\x65\xa9\x59\xc7\xd6\x6d\x59\x56\x6e\x65\xe3\x92\x09\x0d\x3b\x30\xf6\x46\x88\x71\x46\x10\x95\xf9\xcb\xaa\x98\xdc\x95\x15\x1c\xd2\x22\xbe\x31\xbe\x64\xad\xd4\xb2\x0e\x59\xfb\xb6\xb4\xe4\xa5\x20\x32\xdb\x80\xcb\x56\x67\x44\x2b\xaa\x58\xcc\xa1\x60\xa9\xa1\xc3\x45\x99\x6e\xe5\x3a\x77\x2e\x70\xf7\x5d\x3d\x5a\x2f\xee\x58\x71\x04\x62\x64\x69\x71\xc8\x54\x75\xb5\x2f\xd9\x8f\x6c\xd1\x9d\x47\x96\x59\x36\x00\x11\xa9\x44\x53\x3c\x03\x0f\x25\xe3\x2a\xff\xca\x14\x91\x52\xd9\x11\x9e\x38\x41\x5c\x9a\x46\x67\xab\x21\xc0\xc5\x78\x9b\xc0\x93\xe6\xcd\x2c\x9a\x1b\x96\x1c\xf3\xcf\x4f\xb5\x58\x2a\xd4\x95\x39\x1e\xd3\x67\xc2\xdc\x8d\x3a\x71\x37\x52\x83\xc4\x6d\x39\x99\x9f\x62\x08\xd9\x26\xb1\xef\x45\x5a\x4e\x0f\xb7\x77\xc6\xec\xca\x1a\xda\x1c\x64\xfd\xca\x90\x24\x53\x70\xae\xd0\x29\xc0\x05\xd9\xfb\x77\xc4\xd6\x40\x36\x59\xf5\x58\xa2\x3f\x32\xae\xfe\xe8\x55\x89\x76\xa6\x13\xf8\xd4\x19\xc0\x4e\x16\xba\xfa\x00\xc9\xb0\x68\x8b\xb0\x57\xad\x6c\x25\xe4\xb7\x8d\xb3\xc8\x93\x08\xf6\x2a\x0b\x77\x17\x33\x0a\xeb\xda\xa2\x85\xe8\x07\x54\x66\x4a\x65\x73\xab\xe9\xbc\x98\xdf\xf4\x82\x99\x55\xae\x0a\x77\xc8\xce\xa2\x51\x98\xc3\x42\x75\x85\x6d\xb0\x6d\xda\x38\x0a\x6d\x45\x41\xe9\x6a\xab\xc8\x26\x39\xb3\x75\x5a\x81\x28\x86\x01\xda\x96\x22\x35\x15\x93\xcf\x1e\xd9\x47\x2e\xac\x00\x20\x6d\xcf\x86\x21\x8e\x9e\x4e\x09\x8b\x11\x4e\xd5\xc4\x54\x2e\xb6\x5e\x8d\xb9\xc5\x06\x2d\xe7\x00\xda\x64\x65\x49\xa8\x8c\xb0\x88\x5d\xf7\x90\x67\xee\x56\xf1\xc8\xbc\x41\xa0\x2b\x04\xf4\x02\x83\x26\xcd\x75\x8a\x2e\x91\x5a\xbb\xab\x83\x45\x55\x9f\xde\x85\x2e\xbd\xcb\xef\x59\xa1\xef\x30\xf4\xb3\x80\x60\x31\x3e\x5a\x84\x4e\xcf\xd9\x3a\x9d\x76\xa9\xf1\x79\xd1\x07\x72\x62\xf5\x19\x63\x10\xb3\x3b\xd0\x72\xd6\xb7\x8e\xd6\x16\x2a\x30\x8f\x52\x01\xa1\xcf\x55\x63\xfe\x21\x9a\xd0\x24\xf7\x9c\x7c\x73\x92\x2d\x53\x0f\x99\x90\x67\x92\x98\xfa\xff\x91\x80\x2c\x07\x63\xb3\xfc\x16\xfd\x6f\xd3\xbb\x16\xfd\xf9\x91\x7d\x02\x32\x9c\x24\x73\xa8\x4e\x9a\x8d\x8c\x55\x69\x98\xa7\xca\x05\x28\x9b\x56\x85\x8a\x0b\x31\x67\x3d\xc1\xcf\xe4\x91\xb9\x61\xfe\x37\x7a\x42\x7f\x42\x7f\xae\x53\x2e\x5d\xb2\xc2\x9e\xad\x2c\x1f\xbd\x54\x00\x8f\xcb\x59\x42\x69\xe9\x8d\x33\xc2\x14\x4c\xa0\x15\x55\x4a\xb2\x22\xe3\x94\x3d\xf3\x68\x21\x23\xc6\xbf\xb5\x58\x10\xa6\x06\x8c\xc7\x64\x40\x2a\x1c\xaa\x4b\x88\x84\x16\x02\xae\x79\x4c\x56\xba\x43\x33\x62\xfa\x0b\x18\x8e\x64\x3a\xcc\x8e\x03\x8a\x25\x64\x99\xf1\x99\xed\xa3\x88\x69\xd5\x2b\xcf\x2a\xf9\x6e\xb2\xee\x4d\x5d\xb9\xb9\xd8\x88\xf3\x52\xc2\xd5\xee\xc4\x04\x2b\x27\x4d\x96\xaf\x63\xd9\x0d\xa1\x5f\xd6\x3b\xb7\xcc\xca\xab\x51\x0c\x7d\x64\x04\x1d\x53\xad\x3d\x34\x77\x17\x03\x25\xdc\xc4\x97\x62\x0a\xb6\x36\x72\xa6\xe4\xa0\x70\x45\x6b\x4e\x33\xfc\xcb\x5d\xa0\x43\x9e\x96\xd5\x07\x0b\x00\x2a\xfd\x60\x03\xab\x29\xcc\x35\x1d\x1e\x9b\x6c\x4a\x32\xa1\xa6\x7e\x41\xe7\xe2\x0a\xe9\xdb\xc1\xa7\xa6\xc8\x17\x00\x2d\x55\x13\x2e\xe8\x3f\x97\xe1\x36\x16\x8a\x8e\x70\xa4\x06\x3b\xe9\x89\x53\x8f\x4c\x1d\x3b\x4f\xaf\xbe\xef\xde\x42\xbd\x06\xfc\x4c\xbc\x70\x4a\x08\x96\xb4\xa3\xc8\xcc\x91\x5b\xa6\xb7\x5c\x20\xc6\x5f\xf2\x22\x5f\xee\x7b\xa8\x6b\xed\xa5\xa1\x60\xad\x72\xcd\x20\x1e\x5a\x52\xc0\x4f\x28\xb9\xf5\x5e\x99\x14\x53\x28\xd7\x6e\x8a\x65\x69\xf4\x9c\x60\x16\x27\x8e\x85\x20\x6e\x22\x7a\xe6\x2f\x78\xbe\x96\x4f\xdd\x8f\x12\xcd\x73\x0e\xcd\xf1\x17\x95\x20\xa0\x01\x46\x52\x53\x05\x55\xb3\x4a\x11\x46\xc3\x14\xca\x04\x6b\x98\x8c\xd2\xc4\xf4\x16\x89\xb8\x88\xcf\x1e\x99\x0d\x0f\xf7\x66\xd3\x22\xa0\xd3\x9a\xb0\xca\x06\xa4\xb6\x9a\xaa\xed\x5e\x62\xcc\x72\x4b\xe5\xfa\x9f\x52\x92\xee\x28\x49\xf4\x55\xc3\xea\xfb\x78\x2c\xf3\x38\x79\x03\x1b\xcd\xf2\x72\xf8\xfe\xae\x77\x2a\xbd\xb4\x6a\x67\x2e\xce\xaa\x94\x19\x3b\x8b\x69\xc9\xbb\x96\x99\xee\xce\x74\x67\xd8\x81\x9d\xee\x10\x41\x3a\x8b\xa2\x67\x05\x55\xb7\xe8\xf7\x9c\x25\x19\xa3\xc3\x18\xbf\x5c\x9b\x8b\x92\x50\xb7\x47\x3b\xd8\x06\xbc\x63\x51\x57\x59\x1a\xb8\x9f\x5b\xc5\x32\x6e\x51\x91\xef\xaf\x38\x64\x06\xbd\x08\x0a\x45\x0c\xe7\xf9\xcb\x59\xf7\x69\xc7\x85\x7d\x1a\xa3\x85\x3f\xa3\x2d\x40\xb0\x8e\x03\xe1\xbc\x9a\x75\xae\x61\xd7\xb1\x03\x15\xa7\x5e\x0c\xc6\xa8\xbb\x11\x86\x24\xb5\xf5\x4a\x2c\x56\x30\x5a\x79\x19\xb2\x66\x35\xaf\x63\x15\xce\x24\xc6\xc3\xdd\x8c\x0c\x1d\x07\x11\x8e\x26\xb5\x9b\x1a\x72\x9e\x10\xcc\xea\x94\x82\xca\xc7\xe5\x2b\x62\xea\xef\x02\xe9\x4e\x12\x28\x42\xed\x40\x60\x1b\x97\xe6\x5a\x11\x8b\xa1\x79\x80\xa1\xe1\x26\xe0\xd3\x2d\x54\x11\xe6\x0c\x6a\x94\x8d\x13\x52\x86\x95\xed\xf2\x70\x62\x27\x49\xa2\x34\xf1\x3a\x97\xce\x88\xd0\xab\xd6\x20\x7e\x26\x4c\xab\x62\x76\x1d\xce\x43\xf5\xe2\x72\xf6\xb3\x7e\x65\x27\xd9\xd4\xce\x49\x0a\x89\xb1\xf1\x23\x83\x8b\xcb\x8b\x97\x55\xe3\xaa\xd4\xda\x9b\x6f\xee\xdb\xf8\x76\x7a\x42\xc4\xda\xd7\xf3\xbe\x68\xfb\x5f\xfb\x4e\x9a\xb9\x07\x10\x38\xb2\xb5\xbf\xd4\xf3\xa9\xe5\xd5\x44\xcc\xc1\xba\x8a\x71\x07\xf2\x0c\x40\x28\x4e\x31\x96\xd8\x8b\xc4\xa9\xab\x58\xb6\x57\x5e\x92\x77\x68\x71\xdc\xa0\xe1\x52\x96\xc6\x1f\x34\x8c\x26\x00\xa3\xef\xb2\x7b\x7b\x65\xa5\xfa\xa2\x1f\x3e\x4b\x41\xcb\x63\x57\x6d\x0f\x62\x25\x30\x14\xd0\x80\xb2\x07\xbf\x18\xc3\x05\x95\x46\xb8\x77\x9d\x58\xa6\x33\x35\xb7\x8d\xfb\x80\x2f\x16\xe4\x7d\x28\x4a\x58\xe5\xf3\x2f\xf3\xc8\xb8\xe0\xf5\xaf\x9a\x0c\x26\xb2\xd6\x9a\xca\x21\x1d\xa0\xfd\x22\x37\xa5\xa2\x22\x75\x21\x3e\xa6\x07\xf2\x00\x27\xb5\x26\xc2\x1d\x10\x4d\x50\x8e\xf2\x42\x22\xb6\x3e\xb1\x12\x29\xd1\xb4\x0b\x27\x49\x69\x5f\x18\x32\xf6\x55\xd6\x07\x71\x98\x37\x6b\x6e\x1e\x81\x90\xe0\x21\x59\x2b\xe6\xe0\xca\x7c\xb0\x14\x8b\xe0\x15\x08\xd7\x9f\xcd\x92\x79\xb3\x34\x01\x5f\xfb\xad\xac\xe3\xb7\x6a\x61\x7e\xf5\xbf\xa5\xbc\xa9\x58\x41\x6f\xb3\x25\x4a\x12\xa5\x82\xaa\xf9\xc0\xda\x52\x9b\x13\xad\x7b\xfb\xe5\x85\xfd\xb0\x89\xa1\xe2\x1c\xb9\xf9\x9c\xed\x16\xf8\x94\xa0\xa6\xc9\x93\xdd\x42\x93\xe3\xc6\xa9\x9a\x54\xd6\xf7\x5a\x06\x58\x57\x60\xac\xd9\x52\xf5\x14\x9b\x2e\xcf\x36\x8f\x19\xf0\x91\x2b\xdd\xd5\x1c\xb0\xe5\xae\x3a\x6b\x18\xa1\x5d\x85\xf0\x99\xa0\x5c\xd8\xe6\x35\x4d\x22\x15\xa7\xf8\xcb\x60\x86\x05\x4e\x12\x92\x50\x39\xdd\xdc\x64\xfe\xdd\x5f\x96\xae\xf6\xc2\x34\x59\x32\x8b\x9d\xe2\x2f\x74\x9a\x4e\x11\x4b\xa7\x43\x2b\xe5\x62\xf9\xe4\xd7\x67\x75\xd5\x24\x4c\x99\x31\xb7\xc0\x42\x4d\x0b\xe1\x55\xdc\x7d\x64\x5e\xed\x75\x6b\xaa\xc0\xd1\x84\x92\x67\xa8\x0c\x2b\x18\x91\xf2\x0c\x5d\x73\x45\xce\xd1\x67\x3c\xeb\x83\xa0\x66\xba\x9e\x8e\x8d\xd3\x01\x4b\xa4\xa5\xd6\x94\x51\x75\xf2\xc8\x6c\xc1\x76\x07\x95\x0f\x11\x67\xa6\x68\x6f\x04\x80\xcd\x86\x00\x2b\xba\xab\x5e\xab\x5c\xee\x2d\x95\x35\xc0\x16\xf8\x65\xe0\x85\x24\x0f\x4c\xca\xc7\x1a\x78\x7c\x87\x5f\x4c\x10\xfe\x25\x56\xd8\x34\x34\x5e\x26\xb9\xdb\x28\x37\xdb\xe4\xca\xd4\xaa\x76\xd1\x40\xdc\x16\x4c\xc9\xda\xf3\x99\x90\xe3\x3f\xd0\x33\x72\x86\xbe\x4f\xf8\x50\x9e\xe4\xa6\x2a\xf3\x50\x12\x25\x4f\x8c\xdf\x0f\xfe\x6d\xb2\x15\xbf\x71\xd0\xcf\xe9\x3e\x74\xa6\x1c\xd1\x2f\xa6\x4e\x8b\xfc\xee\xfc\xc3\x87\xe9\xfc\x74\x98\x46\x4f\x44\xe9\xbf\x40\xa6\xa8\x84\x90\x2b\x72\x86\xab\x4a\xa6\xad\x82\xce\x62\xb9\xb5\x46\x18\x69\x73\xa5\x24\x81\xd2\xfe\x9a\xa5\x67\xbd\x7f\x5d\x75\x2e\xce\xaa\x1b\x9b\xda\x2d\x8b\xb4\xee\x7a\x15\x6a\x82\x1f\x46\x5b\x31\xbd\x8d\xfd\x52\xe4\xa3\x04\x8f\x4b\x2a\xcb\x1a\x4a\xca\xcd\x94\x5a\x2c\xd2\x7b\x87\x20\x1a\x7d\xcb\x8a\xa1\x83\xef\x9d\x97\x17\xbc\xb5\xd6\x8b\x75\xf6\xc8\x3a\x12\xbd\x10\xd3\xb2\x18\xd2\x66\xc1\xe9\x93\x52\x39\xc9\x92\x66\xc1\x0c\x0d\x83\x9a\x8a\xcd\xa6\xb0\x87\x55\x1c\x9d\x66\xe5\xdc\x62\x56\x03\xc5\x89\x24\x27\x7a\x60\x30\xa9\xba\xe8\x50\xf4\x22\xf0\x6c\x46\xc4\x23\xb3\xd5\x77\xa1\xc6\x3c\xe7\x36\xf2\xa7\x2e\x45\x20\x68\x94\x87\xd5\x28\x3d\xd8\x93\x62\x16\xea\xaa\xfb\x0d\x49\xab\xcb\x20\x5c\x95\x87\xe9\xc0\xa7\x65\xd1\xa6\xe1\xfb\xaf\x6f\x36\x6e\xb8\xe6\x55\xda\x79\xa7\x94\x7b\x01\x1d\xd1\xa7\xa0\x40\xca\xbc\xf1\xab\xb3\xf5\x65\xea\x7b\x41\xcc\x81\xe2\xed\xf0\x71\xcc\x89\xf4\x8c\xf8\x28\xb3\xc5\x25\x74\x44\xb4\xf4\xf1\xc8\x34\x1a\xfb\x0e\x07\x53\x03\xde\x95\x84\xd7\x93\x46\x82\x4b\x69\xd3\x29\xcc\x38\xcb\x93\xe2\xb6\x68\x37\x69\x0a\xd9\xf7\x6e\xae\x07\x8b\x8d\x27\xbd\x67\xae\x05\xa5\x7d\x58\x59\x07\xa2\x76\xa8\x95\x0d\x27\x73\x58\xac\xd1\x72\xf2\xc3\xc5\x55\x2f\xeb\xb3\x56\x9a\x7a\xb1\xe7\xa4\x5f\xfc\xbf\xbe\xeb\xe4\xe2\x8e\xbd\xfe\x93\xa5\x21\x96\x74\xa0\x5c\x7d\x58\xc5\x20\xee\x6d\x2a\x3b\x96\x8e\x7e\x25\x7d\x28\xe2\xcc\xaa\x5c\x83\x1d\x1d\x53\x0d\x5b\x89\x40\x60\xdc\x77\xe0\x02\x08\x5e\xfa\x2d\xa9\xf0\x74\xe6\xe7\xd1\xba\xd2\xb6\x76\x9b\xe6\xaa\xd5\x31\xc1\x83\x96\xdc\x8f\xb0\x09\x12\x2a\x2f\x6e\xe1\x28\xd6\xf3\x78\xf5\x6d\x25\xff\x5d\xc4\xa6\x1f\x2e\x31\x3d\x99\xe7\xc1\x90\xd2\xca\x6e\xae\x4b\x7c\x8d\xdd\x7f\x48\xb2\xae\x05\xb5\x07\xba\x6d\xe6\x69\x56\xdd\x4c\x10\x2c\xad\xfb\x1b\x12\x34\x4b\xc9\x5b\x6b\x98\x87\xb3\x35\x9b\x14\xef\xd3\xac\x4f\x88\xc7\x6a\x6c\xeb\xbb\xc8\x5d\x44\x2a\x04\x79\x26\x02\x70\xc7\x86\x52\xb1\xe2\x55\xc5\x89\x20\x38\x9e\x7b\x10\xc9\xe2\x38\xcc\xcc\x60\x1e\x93\x74\xaa\x15\x78\x50\x4d\x18\x3f\xe5\x33\xa7\xb3\x14\xde\x82\x26\x2f\x74\xa4\x39\x96\x17\x05\xa2\xbf\x60\xa7\xe4\x0b\x95\x4a\xcb\x15\x15\x21\xb0\x6e\x10\x90\x78\xa0\xf5\xdb\x84\x58\x0e\xf7\xf8\xae\xf3\xfd\xcd\x5d\xbf\x7b\xf9\xf8\x2e\x4f\xb9\x70\x39\x85\x59\xd1\x32\xd7\x83\x82\xb3\x47\x96\xc5\x29\x67\x35\xba\xe1\x2c\x11\x8e\xe3\x3c\x3e\xda\x2a\x91\x46\x66\x5b\x4a\x91\xbd\x5b\xb1\x32\x42\x79\xc9\x30\x0f\x90\x58\xd6\xd6\x9b\xb5\xc4\x75\x56\xb8\x39\x26\x3d\x6e\x49\x1e\xd3\x8e\x98\x8d\x5f\x5e\x58\x19\x5d\x9b\x28\x57\xff\x92\x91\x17\xa7\x2b\x01\x77\xfe\x80\x0d\x13\x5e\x8f\xda\xb9\x03\xd9\xe0\x50\x3f\xd2\x2f\x24\xbe\xab\x91\xaa\x76\x92\xa6\xd4\x28\xc0\xb2\xf2\x14\x52\x46\xd7\xd1\xf8\xb3\xad\x3c\xe8\xef\x9a\x93\xa5\x9b\xbc\x6a\x60\x5e\x01\x18\xca\xff\x2a\x84\x51\x44\x84\xc2\x94\xa1\x11\x5c\x6c\x16\xcd\x11\x54\x61\x21\xe0\xc3\xfe\x0b\x9a\x52\x06\xe5\x20\x96\x81\xf6\xa1\xb8\x8f\x35\x84\xd6\xcf\xbd\xeb\x87\x7e\x41\x54\xfd\xe1\xe6\xa1\xd0\x6a\xf3\xb2\xf3\xeb\x52\x59\xb5\x34\xc2\xb2\x60\x21\x6f\x8b\x79\x6a\xa9\x2d\x84\x9c\x41\xa6\x72\xa3\xc9\x5c\x91\x87\xbb\xab\xad\xe4\xbb\x6a\x67\x59\x6d\x19\x7b\x5f\xba\xaa\x2e\x73\xd1\xe4\xd3\x98\x44\xab\x0a\xed\x36\xc7\x23\x13\x05\xa5\xe1\x60\xad\x89\xb6\x08\x1f\x96\x68\x86\x85\xf5\x43\xc5\x26\x00\xaa\xd8\xbc\xce\x68\x5e\xcb\xca\x82\x7c\x22\xea\x67\xcd\xfa\x38\xdb\x4d\xa5\x2f\x10\x65\xc1\x3f\x4a\x06\xcf\x66\xe0\x35\x6e\x9a\x5d\xca\x92\xfc\x25\x27\x2c\xc3\x0c\xc8\xce\xe0\x17\xd3\x38\x43\x80\x35\x1d\x3d\x1c\x40\xc4\x85\x69\x6a\x95\x94\x33\x8d\x91\xa6\xe2\xaf\x2b\x13\xec\x0d\xc7\x47\xe6\xe3\x86\x45\x13\xbd\x64\x01\x3d\x56\x0e\x4a\xd4\xb9\xed\x55\xc0\xfa\xaa\xec\x42\x7a\x5b\x1d\x97\x92\xcc\x9b\xb5\xeb\xca\x57\x5e\xce\x69\x2b\x4a\x5d\xd9\x9d\x6e\x57\xdb\xca\x38\xfd\x6f\x8b\x91\x04\x6d\x28\x28\x5d\xa5\x32\x14\x72\xc9\x57\xd4\x8e\x5e\x2f\xbd\x32\x07\xc3\x9a\x95\xac\xfc\x05\xd9\xec\x1a\xbf\x7a\xd3\x62\xe8\xf6\x89\x5f\xcd\x89\x9b\x9e\xce\x36\xb6\x60\x67\x15\xae\xf2\xdd\x34\x29\x71\xf5\xb3\xc1\xe8\xac\x02\x0a\xd4\x74\x71\x3d\x43\x5d\xc8\xb5\x2d\x48\xe0\x6f\xd7\xc7\xb6\xf5\xaa\x62\xe5\xeb\x73\xe6\x6f\x5b\x2e\x1d\xcf\xb0\xb5\x3b\x80\x12\xe5\x9a\x79\x54\xf5\x7e\x3c\x7b\x64\x5e\xc0\x8a\x34\x6a\x8f\xbe\x23\xae\x7f\x0e\x34\x65\x66\x50\x7b\x1d\x72\x9f\x32\xe1\xa7\x70\x02\xe5\xba\x07\x6a\x52\xec\x80\xb3\x30\x8f\xbd\x9d\x72\x82\x5d\x76\xa9\xb3\xa0\xd8\x38\x40\xdf\xbe\x04\xe3\x79\x3d\x2f\xec\xc4\x60\x8e\x06\xa3\x05\xf6\x3a\x2a\x7a\x15\x09\x62\x4e\x24\x7b\xaf\xb2\xfc\x5d\x9a\xcc\x5d\x48\x75\xc9\x3d\xa0\xa5\x3a\x4c\xed\xc8\xcb\x2f\xf8\x0e\x4a\x6e\xad\xab\x38\x78\xd7\x6a\xa5\x99\xca\xf9\x78\x01\x13\xfc\x58\x24\x98\xb4\xce\xaa\xfe\x65\x46\xa2\x4d\xea\x02\xdd\x62\x81\xa7\x44\x11\xb1\x2c\x1c\xa9\xd8\xef\x1c\x44\x1c\x77\x82\x76\x5e\x73\x8a\xa6\x19\x4c\xb9\x6b\x50\xa6\xdd\x5e\xad\xaa\xf3\x93\xed\x62\xad\x92\x66\x7a\x1b\x3f\x5b\xcb\xff\x9a\xbb\xb0\xf3\xe4\xdb\xb0\xd1\x56\x5e\x59\xa7\x6d\xf7\x74\x98\xfa\x36\xfd\x85\x4a\x31\x85\x70\xa1\x96\x14\xb6\x59\xbd\xca\xba\x8a\x36\xab\x68\xe9\x4e\x68\xb7\xcb\x70\x70\x99\xc9\xa5\x4b\x55\xc8\x9d\x00\x2c\x01\x95\xca\x14\x77\xa9\xae\x4a\x03\x42\x4b\x55\x84\xa4\xe7\xf6\xb3\x35\x0b\x73\x83\xae\x95\xac\xca\xfd\xcf\x4a\xe0\x5a\x41\xe3\x76\x55\xb1\x23\x48\x34\xbb\x96\x68\x56\xa1\x72\x21\xba\x56\x63\x27\x11\xa5\xe2\x41\xb6\x2f\xb9\xad\xfa\x50\xdc\x20\xa4\x74\x59\x16\x69\x9b\x1b\x03\xeb\xa7\x2c\xfb\x57\x91\x82\x3b\xa4\xf6\x51\xb5\x2a\x57\xf5\xcc\x73\x41\x81\x07\x2a\xf1\xa5\x01\x1b\x57\x03\xab\x35\x61\x90\xc6\xca\xdf\xbb\x36\x0e\x2c\xc8\x19\x9f\xf3\x14\xbd\x50\x39\x41\x8a\x3f\x32\x88\x13\xcc\xbc\x01\x8a\x23\xf3\xe2\x09\xbc\x05\xb5\x2d\x64\x3a\x9c\x52\x85\xb0\xb7\xc3\x82\x49\xf2\xc4\xde\x67\xfd\x01\xec\xb8\xb2\x7c\x41\x55\xdd\xa5\x15\x97\x66\x03\xfb\x5a\x3e\xc8\xb6\x15\x0a\xbc\x98\xe6\xfd\xd6\x28\xf0\x34\x1e\x5f\xc3\xac\xbc\x73\xa1\x48\x01\xaa\xb6\x36\xd8\x4a\xb0\x50\xae\x97\x4a\x55\xe2\x2d\xd6\xd0\xb3\xa2\x40\x41\x7e\x10\x8d\x2a\x14\xe4\xaf\xef\xa2\x44\x41\x5d\x27\xbd\x65\x29\xab\xee\x93\x1a\xfb\xb7\x4b\x85\x56\xdc\x05\xce\xfb\x92\xd2\x6d\xad\xa4\xd4\xb6\x52\x75\x79\x42\xc0\xe6\xe1\xe5\x75\xd1\xcb\x70\xc7\x23\xce\x62\xba\x46\xbc\x30\x74\x4b\x1b\xa6\xa3\x0e\x9b\xaf\xae\x7c\x34\xf5\x03\xf5\xad\xbd\xc4\x93\x44\xaa\x6b\x6e\xae\x54\x59\xf3\xf1\x7d\x4c\xf7\x52\x42\x8b\xc5\x88\x48\x99\x3b\x31\xae\x20\xef\x27\x52\xc9\xbc\x22\x17\xf5\x91\x55\x4b\x49\xcb\xe9\xf6\xb6\x69\x24\x3b\x2d\xbb\xe7\xd1\x08\xb7\x0b\x6b\x75\xfb\x25\x0b\xc4\x33\x0a\x3d\xb1\x45\x36\x4a\x62\x70\xee\x86\xac\x0b\xa0\xd2\xc2\xd1\x26\xb9\xe6\x15\x94\xa3\x7a\xe9\x0b\x49\x1e\x2b\xef\xae\x15\x0c\x76\xa8\x7e\x2e\x70\x90\xc6\x39\x31\x99\x1c\x6f\x39\x86\x0d\xea\x8e\x33\x5b\x43\xc9\x9d\xbc\x49\xb3\x66\x28\x67\xbb\xb3\x22\xbc\xe5\xca\x14\x7a\xf0\x13\x70\x41\xdb\xb5\x63\x13\x8e\x93\x95\x86\x2f\x9d\x49\x61\xc7\x26\xa4\x72\x2f\xbb\x5e\xb7\xc3\xb6\xe7\x13\x15\x36\x26\x99\xfa\xd6\x0d\x68\xad\x6d\x43\x39\x4b\xdc\x22\x13\x40\x53\x16\x13\xc1\x08\x56\x93\xc3\x65\x82\x5c\x6c\x6b\x42\xf7\xd6\xb7\xdf\xac\x10\xbb\x52\x5c\x4c\x0e\xd9\x66\xb9\xa9\x9a\xac\x99\x64\xb1\x46\xc6\x42\xde\x6c\x7b\x41\xbd\xad\x30\x6d\x7a\xf5\x87\xd6\xc1\xd2\xad\x92\x45\xaa\x55\xce\xfd\xa4\xcd\x54\xd8\xa6\x16\x12\x66\xf4\x6d\xf7\x5b\x94\xaf\x00\xc9\x9b\xc8\x4f\xd9\x7f\xca\xc4\xb2\x66\xe8\xa9\x97\x45\x01\x1d\xe9\x15\xa6\xcc\x52\xaf\x65\x89\x13\x5a\xee\x9d\xe2\xaa\x5c\x89\xd6\x67\xe1\xbc\xf9\x24\x9c\x90\x92\x11\x52\x32\x2a\xce\x28\xa4\x64\x20\xd4\xb6\x94\x8c\x55\x2a\xe8\x32\x23\x6d\xe6\x37\x84\xa6\xb5\x85\xde\x4a\xe6\x7c\x57\xe8\x91\x9b\xa7\x1d\x38\x3b\xa7\x1f\xb3\x65\x7f\xb1\x3f\x54\x86\x6d\x2d\x7c\x56\xde\xad\x6f\x73\x65\xf3\xb2\xeb\x02\x8b\x38\xb1\x25\x08\x6d\x50\x75\xd1\x46\xb6\xcc\x9c\xfb\xc8\x7e\xe0\x2f\xe4\x99\x88\x13\x84\x15\x9a\x72\xa8\x6b\x95\xc7\xf0\xc0\x45\x28\xd4\xd2\x37\xb1\x1a\x18\x5d\xe3\x29\x89\x4d\xe3\x50\x2f\xf4\xd2\x1a\x95\xad\x3b\xb8\xaa\xd2\x2e\x14\x8d\x35\xc7\xe0\x62\x3b\x1e\x99\x09\x87\x34\x21\x78\x20\x2b\x50\xb7\x31\x40\x98\x3f\x66\xce\xea\x3f\x9e\xa1\xbe\xe6\x4f\x54\x16\xd7\xeb\x15\xde\xab\x5b\xdb\x23\x1b\x0b\x9e\xce\x32\x3b\x1f\x1f\x9a\x0e\xd2\x26\x42\x6b\xd1\x59\x0d\x8b\x71\x9e\xea\x08\xc7\x5a\x17\x5f\x8e\x38\xaf\x12\x29\xbb\x51\x99\x25\x1f\x81\xf4\x35\xcc\xc2\xff\x6c\x38\xbe\xf1\x31\x7b\xc5\x65\x96\x75\x00\xd8\x93\x03\xfc\x92\x48\xb0\x0a\x65\x9e\x81\x42\xae\x7b\xb1\x9e\x42\xe5\x3a\x97\xd9\x6d\x33\xdf\x8a\xf3\x3f\x54\x97\x6a\xc8\x27\xb7\x71\x69\x26\x91\xd6\xf2\x89\xbd\x59\x74\x1b\x47\xf8\xd6\xd1\x8b\xdb\x54\xcc\x38\x48\x62\xc9\xdc\x95\x96\xb0\x45\xfe\x66\x7c\x96\x9a\xd8\x3b\xea\x87\x62\x55\x62\x36\x95\xea\x33\x56\xd1\x44\x53\xee\xbc\x2a\xdb\x8e\x62\x12\x73\xaa\xbc\x5f\x2b\x6f\xc5\x0e\x2e\xfc\xd9\x6b\xdc\x1e\xcb\xb0\xc7\x8b\x31\xcc\x02\x39\x33\x49\x62\xaa\xe7\x33\xae\x41\xdb\x17\xde\xb3\x8b\xba\x4f\xec\x13\xbd\xd1\x55\x58\xb4\x6a\xfd\xcd\x70\xab\xd8\xea\x6d\xe7\xd1\x8e\x5b\x94\xb9\xb9\xb4\x45\xc5\xf2\x17\x6d\xa3\xe3\x9a\x10\x05\x41\x37\xcb\x54\xb2\xed\x19\x9e\xb5\x38\x92\x59\x5c\xa7\x78\xa6\x95\x08\xc5\x35\x97\x14\x63\x23\xc7\x9a\x58\x5e\x84\x51\x2a\xa8\xbb\xfb\xa5\xbc\xf5\x7a\xec\x00\x0b\xe5\x07\xbf\x95\x57\x84\xbd\x2e\x87\x26\x28\x01\x47\x2a\xc5\x59\xf0\x24\xe0\x44\x42\xd9\x93\x9e\xcc\xe4\xe8\x3b\xe7\xbf\x70\xe2\x5d\xc5\x99\xae\x44\xec\x2d\x4e\x19\x57\xd5\x60\x6c\x74\xd3\x28\x1b\x7b\x05\x1c\xab\xad\xc4\x4d\x9a\x6e\x54\x7e\xd9\xac\x71\x48\xe5\xa7\x75\x6d\x8e\x9b\x7c\xbb\xa4\xc0\x54\xa3\x90\xf5\x36\x76\x4c\xf0\x32\x01\x6c\xa8\xb0\x95\xdd\xfc\xc2\x9e\x76\x22\x28\x7b\x4c\x21\x94\x01\x3b\x59\xee\x0f\x7e\xdb\x04\xbd\xb4\x6f\xfe\x3b\x7f\x08\xfa\xbb\x6d\xce\x52\xf1\xe2\x23\xe3\xc2\xbe\x7a\x92\xbd\xa7\x5f\xcb\xeb\x13\x6b\x29\x71\xf1\xcb\xbc\xfa\xa8\x28\xd6\x29\x84\x6a\x2d\xb6\xce\x9c\x29\x4f\x9d\xb5\xb5\xd0\x8b\x7f\x4a\x87\x44\x30\xa2\xf7\xe4\xea\x3a\x64\x34\x78\x8a\x19\x1e\x43\x31\xec\x13\x08\x3a\x04\x29\x3b\xd7\xa0\xcc\x4d\x34\xfd\x41\x81\xc8\x6a\x1a\x6f\x53\x99\xf3\xae\xdf\x30\xa7\x91\xc0\x6d\x2d\xde\x3c\x72\xa5\xfa\xd2\xde\xd9\xf9\x37\x53\x34\xfa\x9d\xfb\x1f\x07\x77\xdd\xfb\x9b\x87\xbb\x8b\x82\xb6\x71\x71\xf5\x70\xdf\xef\xde\x55\x3e\xcb\xd3\x80\x7f\x7a\xe8\x3e\xd4\x3c\x72\x03\x5c\x75\xbe\xef\x16\x5a\xe8\xff\xf4\xd0\xb9\xea\xf5\x7f\x1d\xdc\x7c\x1c\xdc\x77\xef\x7e\xee\x5d\x74\x07\xf7\xb7\xdd\x8b\xde\xc7\xde\x45\x47\x7f\xe9\xbf\x7b\x7b\xf5\xf0\xa9\x77\x3d\x70\x11\xdd\xfe\xa3\x5f\x6e\xee\x7e\xfc\x78\x75\xf3\xcb\xc0\x9b\xf2\xe6\xfa\x63\xef\x53\xd5\x2e\x3a\xf7\xf7\xbd\x4f\xd7\x9f\xbb\xd7\xcb\x5b\xf5\x57\x43\xa3\xb6\x6f\xb6\xc7\x7f\x3d\x5b\x97\x27\xdd\x0d\xe7\xf6\x4e\xd0\x7f\x82\xcb\xe5\xd6\xa0\xe8\xe9\x89\xfb\xcb\x34\xd6\x3f\xd5\x94\xdb\xb9\xf3\x72\xa2\xf7\xc8\x32\x9f\x70\x26\x0b\x28\x3c\x96\x2e\xab\xbb\xb0\xda\x73\xd4\x81\x4b\x06\x7a\x4e\x61\x52\x48\x1a\xc9\x56\xea\xa2\x08\x00\x0f\x13\x3a\xa5\x10\x50\x80\x4e\x51\xf9\xc0\x8b\x03\xda\x3d\xc1\x12\xac\xbb\x31\x5e\x76\x1b\x64\x39\x61\x1c\x30\xe5\x1c\x39\xc6\x42\x8c\x15\xc4\x94\xf5\x35\x8d\xe9\xcb\xd9\x2d\x50\xd9\x16\xe5\x55\x5c\xca\x23\x16\x10\xac\x38\xf2\x84\xa0\x1f\xff\x96\x2f\x0a\x1c\x2f\xd6\x60\x90\x2e\x74\xa0\xb4\x0f\x44\x6a\xa0\xba\x0a\x3d\x0b\x33\xb9\x6b\x6e\x2d\xe2\x70\x6f\x6d\xdf\x7e\xf0\x92\xa5\xcc\xab\xe4\x56\x70\x99\xe9\xeb\x6d\x76\x54\xc2\xf1\x73\x74\x0f\x55\x64\x64\x6e\x71\xd0\xa7\x38\x4b\xd2\x31\x65\x88\x4e\x67\x09\xd0\x18\x63\x86\x18\x92\x09\x7e\xa6\xdc\x35\x5c\x31\x7d\x69\x00\x8e\x56\x22\x44\xa7\xa8\xf6\xa2\x9c\xa3\x4e\x1c\xcb\x22\x81\x2b\x60\x8e\xa3\xa2\xa7\xc5\x65\xfb\xc5\xd7\x34\x61\xb5\x64\xb3\x84\x47\xf9\x95\x03\x88\xed\xbe\x4e\xce\x22\x39\x2c\x8a\x0c\x5b\x48\x2d\x1a\x82\x03\x87\xca\x83\x8d\x64\x98\x3e\x96\x4f\x8e\x34\xaf\x92\x63\x5c\xc5\xa2\xed\x66\xb4\xa5\x8b\x9a\x4e\x9a\x41\x76\x00\x17\x6d\xb3\x39\x6b\x0b\x6e\xaf\x98\xd2\xed\x38\x29\xb5\xba\x6b\x3c\x5f\xa1\x55\x5e\xe5\x64\x3b\x75\x52\x55\x0b\x91\x70\x25\x07\x19\xfe\xaf\xb1\x8f\x5b\xf8\xf4\x26\xfb\x72\xa9\xa4\x39\xf0\xe0\xb6\xae\xeb\x6a\x21\xff\xd9\xba\xaf\x96\xe2\xe1\x8e\x2a\x67\x35\x97\x22\xa1\x55\x08\x8d\xc0\x4b\x89\x29\xb3\x0d\xa4\x48\xe6\x46\x73\x0d\xdb\xf5\x3d\xce\x5a\x2a\xe2\x21\x7f\x2e\xe8\xc4\x53\x22\x25\xae\xa9\x05\xe3\x59\xf2\xb6\x21\x0c\xd9\x0d\xb5\x1f\x36\xc4\x27\x77\x27\xfb\xfa\xab\x65\x32\xfa\x9d\xaf\xd0\xbb\x8d\x6a\x19\x36\x76\x41\xcc\xe8\xc6\xa4\x32\x6a\xfa\x72\x92\xc7\x00\x71\xe1\x85\x46\xd5\x79\xad\x1a\x5a\x03\xcb\x00\xab\xec\x0b\xe6\x7b\x1e\xd7\x0f\x1d\xf2\x46\xdf\xb8\xd8\xb8\x75\x07\xe1\x22\x7c\xd6\xc0\xba\x82\x9b\xd6\xef\xd8\x1e\xf1\xe9\xd4\xc8\x05\x05\x13\xf0\x09\xc2\x26\x83\x34\x97\xa6\x64\x1a\x4d\x8c\x73\x4c\xb3\x8c\x93\x47\xf6\xe2\x1d\x48\x21\xc6\xba\xe3\x8f\x04\x85\x5a\xbf\xe8\xeb\x46\x9f\x0b\x91\xeb\x20\x32\x52\x08\xa3\xf6\x10\xc1\xf8\x31\xf3\x86\x67\x2b\x10\xdc\x3b\xaf\x2d\x50\x7d\x83\xde\x9a\x25\xf8\xd6\x75\xd8\xcc\xf6\xe6\x35\xb6\xdc\x42\xc1\x6f\xba\x04\xaf\xb7\x66\xd5\x0a\x76\xd0\x5a\xf3\xa0\x95\xd3\xb3\x4c\x58\x93\x38\x3d\x1d\xda\xf2\x1f\x7a\xbb\x0e\xda\x7f\x72\x3b\xfa\x93\x51\x84\xd3\x9a\x7a\x31\xde\x68\x59\xf1\x74\x74\xaa\x65\x56\x57\xc7\xc0\xc6\x8f\x48\x74\x6a\x0a\x32\xbe\x87\x20\xd6\xce\x6d\xef\xfd\x09\x7a\xef\x27\xf2\xbd\x3f\x1a\xd3\x45\x7e\xfd\x2d\xd4\x6c\x73\x4f\xd0\xe5\x0a\xb9\x24\xc5\x4b\x0f\x98\x52\xa2\x03\x16\x63\x2c\x19\x40\x75\x54\x40\x7f\x59\xf8\x06\x3c\xfa\xd0\x2e\xd2\x38\xbd\xb3\x48\x76\xeb\x37\x33\x12\x36\x95\x15\x27\x17\x3f\xb2\xe1\xbc\xec\x19\x3b\xc9\x5c\x63\x8d\x69\xc4\xd6\x2d\x10\xf5\x78\x8b\x79\xe7\x3b\x8e\xb0\x5e\xce\x8d\x56\x64\xb2\x77\xb2\x3e\x3d\x39\x0d\xad\x0b\xed\x08\xa9\x09\x55\xbb\x2a\x98\xf9\x1c\x30\x2b\x0f\x65\x95\xf4\x75\x6c\xe8\xd6\x20\x9e\xbf\x53\x05\x11\x9b\xca\x51\x23\xda\x07\x2c\xdb\x2f\x96\xed\x22\x95\xa5\xb8\xb8\xf5\xd9\xf7\x85\x91\x22\xbd\x61\x9c\xb9\x57\xab\x32\x19\x81\x2f\xf4\xc9\x5c\xdd\xde\x7a\x4d\x47\xb9\x07\x93\xd5\x9e\xf2\x7b\x13\x6d\x61\x7c\xd5\x8b\x6b\x2d\x2f\xb5\xa3\x6c\x77\x29\x4e\x4d\xda\xaa\xa2\x53\x72\x62\xda\x99\xe5\x11\x22\xf6\xbe\x02\xba\x99\xc0\xae\x09\xa1\xc2\x4d\x62\x8b\x47\xae\x55\xe7\x60\x4d\x5d\xa0\x0e\x47\xb6\x08\xcf\xb9\xee\x7c\xee\x5e\x0e\xba\xd7\xfd\x5e\xff\xd7\x8a\xc2\xa0\xc5\xc7\xae\x36\xa8\xf7\xc2\xfd\xaf\xf7\xfd\xee\xe7\xc1\xa7\xee\x75\xf7\xae\xd3\x5f\x51\x37\x74\xd9\x64\x75\x35\x29\x53\x59\xa5\x3c\xae\x53\x97\xd2\x19\x99\x2b\x66\x5f\xac\x1e\xea\x4d\x42\x49\x4d\x05\x51\x53\xd3\x81\xc5\x44\xa0\x98\x3c\x93\x84\xcf\x72\xa3\x6e\x25\xc0\xbc\xd2\xa2\x15\xe3\x2f\x2b\x2f\x0a\x63\x96\x61\x7c\x8e\x4c\x6f\x44\xaf\x3d\x74\x36\x20\x88\x7c\x58\x10\xf6\x5e\x21\xf2\x65\x96\xd0\x88\x2a\x2f\xe7\x93\x0b\xeb\xdc\x31\x3e\x57\x08\xe9\x5d\x81\x5c\x3b\x0b\xe1\xd9\xb9\xc5\xc1\x0f\x3f\x58\xb4\x35\x64\x37\x2a\x2b\x75\xb7\xb2\x33\xd4\x0e\xcc\x0a\x35\x9e\xf6\x85\x4a\x7c\x1b\xac\x6e\x1f\xc6\x89\xc5\xc4\x26\x9b\xb7\x59\x53\xa5\xaf\x7a\x91\xab\xb9\xe1\xb2\xe0\xa2\xc2\xbd\x5e\x1e\x5d\xd4\x0c\x53\x5f\x39\x46\xa8\xd0\x88\x76\x07\x25\x55\x6c\xc0\xff\x9a\x51\x1e\x0b\x8d\x80\x98\x09\xd4\xc5\x48\x90\x29\x57\x5a\x01\x33\x61\x14\x27\x5a\xa8\xa2\x38\xa1\xff\x84\xe2\x63\x82\x9c\x79\x61\x27\xae\x64\x5b\xee\xbc\xb0\x85\x41\xce\x1e\xd9\x65\xf7\xf6\xae\x7b\xa1\x09\xd2\x19\x7a\x90\x50\x57\xac\xb0\xf5\x4b\x8b\xde\x46\x1c\xf3\xc3\x3f\x28\x93\x8a\xe0\xba\x08\x3a\x22\x04\x17\xcd\xe9\x43\x36\x5f\x17\xbe\xab\x46\x6f\x78\x56\xb0\x8c\x39\xf3\xc3\x75\x6d\x17\x71\x2f\xd1\x62\xe7\x89\x6c\x77\xf8\xa5\x00\x11\xbf\xae\x0a\x48\x22\x45\xa8\xef\x11\xda\x50\x99\xb5\xf9\xfe\x0a\x73\xde\xc2\xb7\xcb\xf6\xd9\x87\xb8\x44\xa9\xf2\x32\xaf\xa6\x12\x6c\xd6\xce\xa8\xb4\xcf\x5a\x51\x51\xbc\x46\x0d\x96\x12\xea\x0f\xc9\x18\x33\x24\x52\xc6\x4a\x75\x7f\x7d\x3b\xdf\x62\xa4\xd1\xba\x57\x55\xc3\x0c\x4f\x79\xca\x4c\x3f\x5e\xbd\xaa\x8a\xc5\xc8\x19\x61\x6a\xc5\x62\x5e\xab\xc2\x4e\x69\xa9\xed\x2d\xb2\x53\xb1\xd0\xba\x3a\x3b\x55\xde\x2c\x68\x55\xbe\x1e\x5b\x76\x91\x8c\x05\x97\x96\xbe\x54\x19\x7f\xae\xd6\xb2\xb1\x7c\xda\x7a\xba\x3e\x96\x4f\xab\xa7\x8a\x49\xf4\xb4\x2e\xb3\x29\xa7\xb3\x26\xb6\xd3\xfb\x82\xb1\x6f\xae\x9f\xda\x9e\x3b\xd0\xe0\x3f\x7a\x42\x3f\xf4\x3f\x5f\xa1\x11\xd5\x72\xaf\x66\x2b\xd7\x58\xcb\xd8\x0f\x22\x71\x56\x69\x6b\xd9\x4d\x45\x92\xf1\x5e\x38\x78\x27\x4a\x79\x52\x82\xe6\x68\x78\x4c\x9c\xa9\x59\xd8\x32\x8a\xa5\x9e\x3b\x02\xb3\x98\x4f\xcd\x3e\x3e\xc8\x74\x34\xa2\x5f\xce\x14\x16\xdf\xd4\xc0\xc3\xc4\x74\x0c\xfe\xc1\x87\x03\xbd\xa2\x2d\x19\x71\xd5\x70\xc8\x36\x20\xcf\xc0\x66\x77\x76\x69\xde\xfd\x3f\x7c\x08\x25\x02\xa0\xca\x81\xf3\x0d\xda\x38\x09\xfb\x8a\xc3\xa4\xbc\x23\x77\xa1\x7a\x4d\xc4\x85\x20\xb6\xb2\x80\x69\x1a\x3b\xc3\x42\x51\xb0\xd6\xba\xea\x37\x85\xb6\x07\xf9\x11\xf9\x2d\xf2\x27\x38\x2f\x31\x3e\x24\x04\xdc\x4b\x33\x9a\xac\xa7\xf4\x5e\x14\x3c\xa3\xa5\x1b\x68\xc3\x75\x6d\x41\x54\x30\xc8\xac\x14\xb1\xba\xcf\x84\xa9\x9d\xe8\x27\x30\x44\x45\xad\x83\x66\x3e\x0e\xd3\xbb\xb5\x77\x99\x33\x37\x17\x07\xed\xc7\x54\x29\x81\x81\xcf\xdb\xec\x32\xeb\xd0\xaf\x0b\x33\x78\x6e\xec\xb9\x86\x57\x17\xe1\xb2\x22\x9f\xc0\x42\x3b\x6f\x8d\x9f\xc7\x02\xbb\x9e\x0d\x1b\x56\x68\x92\xc4\x58\x31\xbc\xca\x20\x56\x39\x2d\x9f\xb9\x99\x53\xe3\x56\x69\xca\x95\x47\xbe\x41\x39\xa2\xc2\x30\x9f\x08\xe4\xc1\xee\x22\x7a\x7f\x9d\x82\x07\xb0\x90\x07\x91\x40\xdc\xf9\x52\x2b\x96\xe9\x1f\xaf\x29\x5f\x26\xd9\xe1\x06\x32\xba\x59\x8c\x16\x1a\xc9\x4c\x90\x48\xb3\xb2\x73\x74\x9b\x10\x2d\x79\xa5\x5a\xfa\x4a\x93\xc4\x95\x6e\x5b\x2e\x1d\xae\x55\x6e\x70\xef\xfb\xf2\x74\x8f\x25\x1b\x73\xa5\x0b\x97\xef\xcc\x83\xc1\xee\xcb\x54\x78\xf0\x05\x13\x32\x18\x12\x8b\x5a\x24\x50\xf8\xb9\x89\xda\x05\x53\x12\x2e\x30\x32\xfa\x4f\x4d\x7e\x05\x91\x13\x5e\x9b\x19\xea\xef\x76\x3f\x7b\x70\xa0\xdc\xe3\x26\x1c\x3f\xac\x0b\x46\x6f\x20\xd7\x94\x78\x60\x41\xc4\x69\xe2\x8b\xcd\x63\x4f\x6c\x21\x5d\xcb\x5b\xed\xd2\x80\x4b\xe6\xa6\x36\xbf\xa8\x5d\xee\xba\xc8\x95\x99\xb9\xf1\xbd\x66\x9f\xe7\x06\xe4\x3c\x8f\x82\x2a\x99\xb7\x13\x44\x9a\xd7\xd6\x1d\xb1\xde\xe7\x20\x15\x6b\xd5\xf1\xc8\xcb\xd1\xaf\x43\xb9\x6d\x06\x4f\xbe\x2c\x0d\x84\x6a\x72\x69\xbb\x84\x80\x18\x6d\x03\x9d\x64\xa1\xc4\x9f\x45\x1b\x03\xc6\x4a\x15\xaf\x9e\x28\x6f\xeb\x56\x03\x29\x39\x17\x65\xf6\xe5\x5d\x2b\x60\x60\x61\x03\xa1\x68\xdc\xfa\x45\xe3\x6c\xcb\x98\x0c\xf7\xa0\xc4\xa3\x12\x50\x2d\x21\x77\xa0\x95\x05\x07\x6b\xf4\x5e\x95\x2e\x56\x38\x9d\x46\xb9\x61\x85\x2f\x34\x2d\xb9\xdc\xd2\x03\xa7\x37\x33\x1f\x40\xb6\xed\x36\x31\x40\x85\xfd\x1b\xef\x01\x8c\x49\x62\x64\x4a\x3e\x98\x92\xd6\x16\x76\x99\xe7\x64\x86\x05\x61\xea\x91\xdd\xe9\x55\x98\x2f\xf2\x48\x0c\x17\x05\xe4\xda\x0c\x40\x33\xe2\x11\xc2\xf6\x2b\x00\x7a\x5d\x18\x9e\x1c\x98\x97\x40\x35\xdd\x63\x65\x82\xef\xcd\x3b\xa6\x50\x84\x2d\x94\xa4\xb7\x4a\x47\xb9\x1a\xaf\x05\xc8\x68\x42\xa1\x4e\x43\x4c\xa4\x65\x48\x54\xd9\x42\x1c\x99\xf8\x9d\x12\x57\x58\x1b\x3e\xcb\xe8\x57\x15\xc1\x76\x86\x02\xe6\x0c\x74\xf2\x91\x79\x73\x2c\xa9\xc3\x6a\x94\xf5\x0d\x55\x09\x38\x67\x1a\x67\x8e\x2f\xf8\xa7\x39\x21\x2e\xe8\x98\x32\xaf\x1b\x96\xdd\xde\x14\xcf\xc0\xbc\x6b\xee\x20\x1f\x65\x3c\xad\x6f\x73\x1c\xce\x60\xc5\xff\xf7\xef\xff\x73\x46\xeb\xbc\x1f\x72\x60\x21\xd0\x86\x93\x5c\xef\x58\xfc\x93\xf7\x4a\xaf\xd4\x94\xf4\xf0\x74\x5a\x59\xc8\xdb\xc8\x7f\xb5\xcc\x4d\x23\x0d\x57\x13\xe3\xee\x2d\xa2\x3b\xf8\x46\x44\xba\xe4\x6e\x18\x16\xf3\xba\xb0\xa4\x12\x72\x13\xf4\x4a\xcc\x4d\xce\x0c\x04\x7e\xa7\xf9\x05\x33\xcd\x23\xcb\x3f\x91\xa6\x88\x8c\xa9\xdb\x6b\x7e\xc8\xa1\xd3\x10\x30\xcb\x68\x7f\x1e\x29\x91\xbb\xc3\xbd\x58\x68\xd7\x17\xc5\xc4\xb0\xea\xf1\x4b\x9c\xb6\x44\xb9\xbd\x02\x96\xdb\xc4\x8c\x4e\xb0\xdc\x5f\x68\x4e\x65\x3f\x2f\x63\x4d\xf7\x85\x87\x55\x41\x3a\x66\x91\x26\x45\x56\x1f\x48\x2a\x89\x30\x94\x2e\xab\x21\x66\x31\xc1\x2f\xcf\x09\x11\xa2\x2b\x7c\x8d\x64\x8a\xe9\x5a\xd9\x0c\xfa\xfd\xea\xe2\xa1\x05\x67\x03\x1e\x13\x31\x88\x53\xb5\x70\x2d\x96\x65\x18\xe8\x8f\x2e\x53\x35\x5f\x3d\xbe\x4c\xf0\x62\x3f\xa3\x65\x05\x5b\xf5\xfb\x35\xc3\xae\x96\x98\xbd\x10\x9f\xa2\xd4\x5c\x53\x0e\x95\x94\xca\xa1\xda\x88\xd7\x82\x89\x04\x38\x30\x53\x50\x87\x30\xd7\xa4\x2c\x8b\x36\x45\xdb\x61\xe5\x68\x98\xe6\x26\xa5\xac\x0d\x46\x7c\xf6\xc8\x3e\x9a\x3e\x32\xa0\xe5\x99\x05\x44\x90\x6e\x44\xbe\xcc\xb8\x24\x85\xfc\xb7\x8a\xd6\x16\x36\xf1\xd5\x2e\xa3\x5a\x58\xcf\x3f\xda\x5e\x56\x7f\xf5\xc2\xb6\x8b\x07\xbe\xb8\xe5\x6a\x0c\xdc\x4a\x1c\x8c\xe8\x8c\x6a\xdc\x19\x54\xde\xb4\xfd\xb5\x57\xce\x63\xba\xa0\x78\x98\x4a\xe6\x27\x28\xdb\x5e\x09\x21\x12\xf2\x4c\xc0\x9c\x0e\x6b\xf4\x1b\x98\x14\xed\x7a\x35\xe4\x64\xd5\x05\xca\x93\x4f\x81\x2c\xa0\xb8\xbc\x82\x62\x8a\x5e\x15\x2e\x16\x93\x8f\xb6\xce\x93\xab\x0a\x4c\x59\x43\x3c\xef\xf8\x8d\x5c\xe6\x44\x21\xf2\x45\x11\xdb\xea\xb5\xef\x32\x19\x17\x93\x1f\x50\x75\x32\x56\xbd\xec\xb8\xf7\xa6\xdb\x1d\x97\xf8\xee\x52\x35\x63\xc7\xf2\x6d\xea\xe2\x04\xb3\xd8\xe6\xe3\x5a\x25\x43\x0b\x5b\xb0\x3b\x63\x74\xcb\x32\x15\x6c\x56\xa9\x57\x01\xdf\x8c\x69\x4a\xf5\x03\x23\x73\x0a\xa3\x56\x59\x20\xbc\x82\x0b\x2d\xb9\xa7\x4c\xd1\x44\x23\x87\x5d\x83\x44\x23\x88\x8c\xb3\xd5\x1d\x21\xb2\xbd\xae\x80\x20\x95\x92\xb2\xf1\xc0\x42\xd2\xa5\x96\x36\x63\x0c\x45\x9c\xfa\x6c\x86\x32\x3f\x7e\xef\x06\x5a\x6e\x54\x37\x68\x0d\xc5\xdd\x5c\x52\x2b\x68\x1c\x8c\xbb\xcd\xd8\xaa\x7c\x2e\x17\x76\x40\x63\x03\x0a\x6a\x3a\x8a\xc3\x46\xd7\xb1\xbb\x83\x4c\xb7\x58\xfc\x22\x67\x21\xd2\x26\xaa\x9a\xf4\x33\x88\xd4\x57\x35\x99\xb8\xb2\x36\x03\xb7\xc7\x32\x11\xcd\xf6\x33\xcb\xea\x0c\x94\x92\x79\xb1\x9b\xce\xa6\x23\xe0\x24\x19\xe2\xe8\x29\xd3\xc2\x32\x5b\x04\x17\xae\x1f\x84\x96\x2b\xa1\xe1\x9d\x41\x2e\xbd\xd0\x08\xa4\x1b\xdf\x5b\x68\xca\x1f\xd9\x65\xe7\x93\x1b\xa8\xd9\xba\x72\xa6\xde\x95\x59\xbd\xc9\x6d\x88\xc9\x2c\xe1\xf3\x69\x0d\x3f\x2b\x27\x30\x6e\x13\xa9\x53\x97\x3f\xb9\x53\x56\x56\x22\x7a\x6b\x33\xb3\x85\x6c\xa8\x1d\x14\xe3\x5a\x83\x4a\x7e\x4a\xf8\x10\x4c\xaa\xd6\xfc\xe0\x32\x7c\xbc\x54\x8f\xf2\x7d\x5e\x37\xef\xa8\x7c\x23\xa9\x9c\x25\x5a\x99\xa9\x9f\xc1\xe4\x9c\xec\xf7\xdc\x4c\x85\x84\xd5\xd6\xc1\xe6\xd1\xda\x95\x9f\xef\xa3\xec\xf3\x95\x93\x04\xcc\xbb\x86\x7e\x95\xac\x6c\x26\xd5\xf0\xcc\x38\xa9\x15\x7f\x64\x0a\x8f\xdd\xe1\x5a\xe1\x92\xbf\x30\x22\xe4\x84\xce\x0a\x8d\x30\xb7\x0e\x0f\xb7\x18\x6d\xff\xcf\x04\x43\x57\x8e\xd9\xc2\xd4\xad\x3e\x9f\x9d\x9a\xea\x2c\x1a\x3b\xe5\x0c\x47\xb9\x4d\x36\x4a\xb0\x94\x74\x34\xf7\x8a\xaa\x64\x71\xbe\x90\xba\x56\x34\x62\x78\x9d\xef\xaa\xc8\x9c\x81\xce\x6e\xaa\x0a\x6c\x9f\x51\xf9\x50\xbc\xfc\x34\xf6\x8b\xee\x69\x6e\xb6\x58\x7a\xc7\xc9\x09\x16\xea\xb5\xc5\x83\x4d\xf9\x84\xcd\xaa\x00\x34\xad\xd7\xb4\x67\x4c\xaa\x48\xc3\x5c\x40\xa4\xbc\x5a\x58\x26\x47\x5b\x98\x59\x1d\x2e\xab\xb4\xe2\x97\x2f\x52\x85\x1c\x56\xc0\x3c\xad\x33\x3a\x93\xb8\xbe\x97\x59\x95\x16\x28\x66\x91\x7f\x7c\x82\xe4\x56\x45\xd9\x9a\x20\xe5\x25\x49\xc8\x4e\x82\xcd\x37\xc0\xd0\x72\x24\x87\x87\x9b\x4b\xf1\x32\x6f\x4b\xb1\xda\xae\xb2\x41\x0c\x7c\x4d\x8d\xa4\xea\xa5\xff\x62\x16\x6a\xc3\xe0\xab\x4e\x11\x6c\xa2\x00\xe5\xd5\xab\x6d\x13\x96\x7b\xa1\x25\x66\xf9\x16\xdf\xf3\x3d\x16\x90\x3a\xdf\x71\x26\x27\xb6\x11\xcf\x5f\x39\x54\x7d\x61\x5d\x9f\x48\x93\xb0\x9a\x95\xb7\x6f\x23\xda\xbb\xc8\xa1\x9a\xe1\x85\x75\x5c\x2b\x8e\xc6\x04\x2a\xf1\x50\x16\xd3\x67\x1a\xa7\x38\x39\x2a\x9c\xd8\x59\xa2\xcd\x8e\xa0\x5f\x4d\x61\x1a\x59\x7a\xf2\x78\x50\xa2\xa4\xe3\x47\x0b\x35\x3f\xed\xe1\xb4\xf0\x08\xda\x71\x2d\x8d\xc2\xf0\xe6\x25\xb6\xad\x4b\x63\xd8\x95\xd9\x02\x11\x41\x94\x2c\x30\xd9\x7c\xed\xbb\x97\x26\x0d\x8c\x63\xfb\x45\x56\x0e\xa2\x50\x86\x0d\x17\xaa\x59\x9a\x33\x7a\x7d\xaa\x5b\xbe\x5a\x6f\x5d\xee\x5c\xff\x8e\x95\x57\x95\xdf\xae\x20\x0c\xb7\xe1\x9e\x36\x97\x87\x5d\x01\xda\x16\x0a\x3f\x75\xd7\xb0\x9d\xfc\xb7\x05\xc2\xf1\x82\x48\xb0\x3b\x11\xf9\x88\xd0\xa4\x15\x92\xf2\xc2\x51\x1c\x4a\x5e\x3e\x75\xb5\xbd\xf2\x4a\x59\xed\x3d\xa2\x76\xdc\xe4\x3b\xeb\x7e\xdc\x1f\x83\x5f\x8d\x2f\x3b\xc1\x0f\x28\x73\x8b\x21\x1f\x3f\xb5\xed\x7e\xe0\xf2\x7a\x31\x9c\x0b\x3e\xaf\x15\xd1\xb1\x76\x79\x8d\xe2\x62\x17\xc0\xb9\x8f\xe3\xb5\xc9\x97\x8d\x0f\x77\x9f\xa8\xb6\xee\x5a\x76\xa1\xa3\xed\xd9\x7b\x68\xb1\xd1\xfb\x20\x04\xa9\x37\xe3\xa2\x15\x25\x9d\xdc\x91\xed\xf2\x92\x55\xf5\x68\xdc\xbe\x7c\x84\xcb\x2d\x1d\xcc\x04\x19\xd1\x2f\x1b\xa9\x02\xb7\xf0\xa9\x55\xaf\x35\x98\x4b\x5d\x1f\xc1\x2d\x08\x5d\x22\xbd\x40\x5a\x0b\x69\xdb\x19\xee\x91\xe5\x19\xb9\x36\x1d\x57\x0b\xc3\x5c\x14\x7e\xda\xb4\xf4\xe9\xee\x3b\x54\x9a\x73\x9d\x28\x35\x93\xe7\x1f\x3e\x8c\xa9\x9a\xa4\xc3\xb3\x88\x4f\x4d\xfe\x07\x17\x63\xf3\xc7\x07\x2a\x65\x4a\xe4\x87\xbf\xfc\xf9\xcf\xf9\x11\x0f\x71\xf4\x34\x36\xe5\x9c\x16\xfd\x9d\xc5\x23\x27\x58\x6e\x17\x51\xe6\x52\x27\xf7\x9c\x42\xef\x4d\xe3\x92\x96\xf5\x37\x52\xe1\xe9\xcc\x0f\x41\x36\x3d\x1e\xa5\xc2\x79\x67\x19\xc8\x87\xd5\xdb\x44\x13\x3c\x9b\x11\x56\x6f\x76\x31\x09\xce\x5b\x90\x1e\x97\x22\x6d\x57\x48\xbe\xcc\x12\xcc\x8a\x65\x3f\xa0\x4d\x9a\x20\x11\x61\xca\x96\xa4\xc8\x7b\xd3\x03\x36\x9a\xd2\x53\x86\xfe\xaf\x97\x02\x0b\x7b\xa4\x32\xef\x7f\xe8\x96\x63\x7b\x11\xbb\x0e\xb5\xd8\x03\x5d\xb9\xff\x73\x0e\x3b\xe2\xa0\xb6\x2c\x39\xf6\xde\xf6\x7a\xdb\x06\x83\x22\xc1\xd9\x80\x7c\xd1\x44\x4e\x6e\x5a\x28\xee\x41\x12\x89\x3a\xbf\xdc\x23\x39\x67\x0a\x7f\x39\x47\x9f\x29\x03\x01\xf6\x07\x9e\x0a\x89\x2e\xf1\xfc\x94\x8f\x4e\xa7\x9c\xa9\x09\xfa\x0c\xff\x6b\x7f\x7a\x21\xe4\x09\xfd\x4a\xb0\xb0\xf4\xc1\xf6\x8f\x74\x2d\xec\x00\x85\x44\xca\x24\x22\xcf\xfa\x86\xfe\xf9\x7f\xa1\xa9\x19\xf9\x1c\x7d\xfb\xe1\xcf\xff\x0b\xfd\x11\xfe\xfb\xff\xa0\x3f\xd6\x58\x1a\xd6\x2b\x35\x07\x6d\xc6\xef\x6a\xc3\x08\x00\x52\x72\x11\xe4\xab\x86\xbd\x10\x3c\x3f\xa9\xca\x91\x9f\x68\xf4\xc4\x47\xa3\x81\x46\x0c\x93\x40\x3a\xc0\x5b\x99\x1d\xfc\xaa\xc1\xd4\x36\x8a\x37\x6d\x27\xf3\x86\x4f\x76\x52\x53\x69\xc4\x91\x6b\x99\xe6\xe6\x09\x08\x5e\x2b\xb4\x1e\xa7\x12\xbe\x22\xb1\xa6\xaa\xeb\xdc\x0e\x67\x5d\x74\x45\x07\x9c\x05\xc9\xaf\xcc\xe3\x04\xe2\x42\xc0\xa9\x1f\x3d\x6d\x02\xcc\x2c\x20\x2b\xaf\xc3\x42\x58\xf7\x9b\x89\xd5\x85\xad\xbd\x56\x9c\xae\x5c\x98\x7c\x75\x88\xee\x3d\x17\x5b\xe9\x5b\x4f\xa4\x36\x85\x66\x45\x73\x33\xd7\x70\x1b\xfb\x46\x0d\xc5\x91\xe4\x22\xab\xde\x6d\xec\x22\xb6\x05\xea\x6a\x2b\x2a\x15\x26\xa8\xb1\xd9\xa5\xd7\x5b\xbf\xcc\x3e\x59\xb5\x4c\x88\x70\x74\x6f\xe7\xcd\x1d\x61\xb5\x5a\x44\xd2\x24\xb1\x62\xc5\x15\x45\x36\x57\x1d\xe8\x7d\x56\x57\x05\x06\x87\x70\x5b\xc8\x1b\x62\x4e\xb2\xb5\x85\x2b\xaa\xcf\x33\x15\x11\xb9\xe0\xdb\x85\x5b\x27\x94\x2d\xe4\x69\xd4\x06\xb7\xd5\xcb\xe4\x57\xb6\x43\x9c\xab\x43\xcd\xe3\x5c\x59\x30\x6e\x09\xdb\x7b\xc5\x2b\x80\x5b\xdc\x0d\x14\x52\xdc\x45\x8d\xd5\x85\x8e\x20\x5b\x50\x6d\x63\xb8\xce\x09\x9e\x6b\x28\x53\xea\x23\x23\xb0\xa6\x85\x4b\x62\x26\x21\x9c\x6c\xeb\x75\x78\xbd\x91\xf2\x18\xb5\x42\x97\x62\x58\x09\xe4\x5b\x6e\x58\x23\xd7\xb4\x29\x3b\x41\x02\x43\x30\xb0\x9a\xe8\xf1\x24\x11\xa7\x23\x1c\x51\x36\x3e\xf1\xca\xa3\x42\xa9\x12\x9f\x1d\x54\x21\x69\x1f\xcb\xa7\xdd\x06\xb8\x6e\xdd\x6d\x96\xc6\x79\xc7\x43\x5b\xd0\xc8\x38\x56\xe8\x42\x6d\x48\x85\xe5\x53\x5d\x45\xaf\x85\x72\x82\x4b\x56\x97\x81\xc2\x15\x21\x5c\xb6\x3e\x57\xfa\x80\xf8\xfa\x14\x74\x2a\x71\xfd\xcf\x6d\x71\x51\x97\x69\x8a\xb3\xea\x3f\xe5\xaa\xba\x4b\xd6\x2f\x27\x5c\xa8\xc1\x86\xf5\x88\xcb\x2e\x15\x46\x4e\x13\x28\x24\xc4\x9f\x89\x78\xa6\xe4\xa5\x58\xd6\x77\x1d\x5c\x34\x46\x33\x2f\x9e\x12\xea\xbe\x4e\x67\x1c\x52\xb7\x46\x68\x8a\xd9\xdc\x10\x4a\x4d\x5c\xb0\x7c\x92\x59\xd7\x65\x24\xa7\x38\x49\x4e\x90\x20\xa9\x34\xdd\xc8\x25\x49\x46\xa7\xae\x01\x4c\x8c\x12\x3e\xa6\x11\x4e\xd0\x30\xe1\xd1\x93\x34\x99\x95\x6c\x6c\x88\xd4\x4c\xf0\x88\x48\xe9\x49\x56\x79\x15\x05\x9b\xdb\x0a\x2d\x97\x15\x11\x53\xca\xa8\x54\x34\x72\x22\x53\x5e\x0c\xc5\x34\xfe\x8f\x30\x98\x84\x21\x53\x18\x96\xab\x25\x3d\x62\x8a\xc2\xa6\xcc\xb6\x0a\x03\x76\x6d\x6b\x3d\xba\xe4\x84\xba\x0b\xb4\x83\xd2\x95\x0e\x43\x06\xaa\x78\x21\x57\x5c\xa9\x0b\xfb\x19\x5c\xe3\x65\x28\x70\x57\xbc\x51\x19\x42\x66\x37\xad\x50\x4e\x0b\x72\x19\xb2\xd4\x8b\x82\xe4\x92\x65\x24\xb4\xac\x92\x1e\x2c\xb9\xa6\x7e\xde\x2a\x9c\xd6\x50\x04\x91\x07\xba\xd3\x95\xbd\xf6\x94\x45\x49\x1a\x67\x6d\x55\xb5\x08\xf0\xac\x91\xc4\x81\x47\xc3\x5e\x0b\x0a\x27\x08\x4b\xf4\x42\x92\x44\xff\xbf\xc9\xbc\x38\xcd\xda\x85\x68\x92\x6c\x5a\xba\xc0\x24\x8e\x4a\xd7\x61\x54\xeb\xaa\xa2\xde\x62\x35\x31\xb5\x26\xa6\x5c\x99\x8e\xb6\xa6\x2a\xaa\xb3\x6f\x99\x32\x9a\xc3\x84\x0f\xe1\xa6\x43\xc1\x54\x97\x5f\xed\xa5\x73\xa6\x51\x44\x48\x4c\x62\xd3\x9f\x33\x2b\xe6\x69\xaf\xe8\x37\xd5\xe5\x3b\x0b\x10\x69\x41\xb1\xd4\xb2\x61\xad\xb6\x64\x6a\xb1\xbb\xe1\x19\xba\x2d\x15\x04\xf2\x20\x33\xc2\xe5\xf2\x70\x27\x0b\x47\xf8\x3a\x05\x56\x4b\x9b\xd8\xdf\x09\xad\x59\x60\xb5\x30\xe7\x0e\x0a\xac\x96\xf6\x59\x93\x33\xc2\xc7\x7b\xcd\x75\xd7\x9b\xba\xe2\xcd\x13\x10\x4d\x61\x3a\xc3\x3b\x0b\x28\xe8\x2e\xe4\xbc\x0a\x11\xdb\x55\x3c\xb6\xd4\x03\xf4\x75\x8b\xc7\x96\x16\xd3\xe6\xe2\xb1\xa5\xa5\xb6\xb7\x78\x6c\xc5\x42\x1b\x14\x8f\x35\xce\xfd\x81\x46\xea\x66\x44\x01\x12\xaa\x86\xe9\xe8\x1e\x4a\x0c\x2c\x5d\xe3\x85\x09\x1c\x30\x6c\xcc\xf1\x68\x1b\x5f\x04\xab\xb5\xb9\xb7\x75\xe1\x58\x25\x27\xc4\xba\xb8\x97\x79\xdf\x4c\xd1\x91\x75\xcd\xee\x27\xbe\xb5\x1b\xec\x90\x11\x9e\xd9\x5a\x06\x75\x2d\x8e\xda\x93\xb5\xbd\x59\x5d\x5e\xa8\x7d\x59\x20\xf9\x8d\x2a\xd7\x7d\x2e\x75\x0b\x99\xf0\x17\xdb\xb1\x0b\xd0\xd0\x20\x65\x2d\x0a\xc2\xa4\x03\xab\xb4\xd5\x41\x8e\x32\x45\xc6\x65\x9d\x36\xbf\x34\x94\xa9\xef\xfe\xb2\x92\x12\x99\xd2\x9e\x4e\x3d\xf4\x7a\x76\x64\xce\x0e\xfb\x8c\xc4\x28\x9a\x68\xad\x48\x6a\xf5\x45\x6f\xc7\x70\x56\x89\xa6\x98\x3a\x45\x2a\x95\xc6\xb5\x44\xe5\x23\x2b\xd4\xc2\x3d\x43\x1f\xa1\x0d\x32\x9e\xce\xb4\xfe\x95\xed\x8f\x6a\x4c\x7a\x4c\xbf\xfd\xf6\x3b\x82\xbe\x45\x53\x82\x59\x41\x87\x05\xb5\x49\xb3\x3e\xa8\x1d\xa9\x26\xe4\x91\x55\x1e\x05\xea\x7e\x31\xbd\xcd\x5c\xbc\x61\x8f\x8d\xb8\xd3\x89\xa1\xbd\x27\x8e\x26\x48\xa6\x43\xd3\x9f\xda\xb3\x61\x38\x41\xfa\x8a\x8f\xc1\x51\x0d\x1c\xd9\x2d\x7a\xd9\x2d\xdc\x6f\x0c\x80\x75\x37\x36\xe5\xc6\x1d\xe0\x23\xa7\x92\x14\x6a\x8a\x55\x38\xcd\x0c\xe5\xf3\x2f\xbe\x34\xf5\x86\x4e\x8c\x0f\x41\xeb\x67\xd8\x5a\xf6\xb5\x2c\x0d\xe1\xc4\xe0\x25\x4b\x13\x2c\xec\xd5\x7f\x64\x5a\xd1\x10\xe4\x99\xf2\x54\x26\x73\x14\x73\x46\x4e\x00\x13\xd2\x68\x62\x1c\xab\x5a\x67\xc1\xb6\x51\xca\x33\x95\xa9\x56\x68\x61\x2c\xd7\x97\x45\x2a\x6c\x6a\xa1\x4d\x28\xcc\xa3\xd5\x6f\x02\x5f\x29\x2f\x3f\x12\x35\xd3\xa2\xfc\x72\xc5\x25\x9a\xdf\xb0\x5c\x71\x01\xab\x42\xb9\xe2\xac\x5c\xf1\x22\x5c\xda\x58\xae\xb8\x74\xe6\xcd\xca\x15\x57\x1d\xf9\x06\xe5\x8a\x0b\xc3\xbc\x99\x72\xc5\x25\x88\xbe\x99\x72\xc5\xa5\x7d\x85\x72\xc5\x6f\xaf\x5c\xf1\x96\x05\x79\xab\x69\xb1\xa9\xeb\xa5\x28\x9b\xaf\x8d\x64\xef\x25\xea\xdd\x68\x04\x8b\x9e\x8a\x41\x6d\x19\xbb\xda\xbe\x08\x70\x35\x11\x5a\xaf\x08\x70\xa5\xaa\x5e\x4f\xea\xb6\x2d\x2c\x06\x8a\xc1\x81\x8b\x00\x17\x36\x10\xe2\x2b\xd7\x8f\xaf\xac\x44\x3e\x3b\xb7\x5e\x9e\x0b\xba\x2c\x33\xe4\x86\x65\x80\x0b\xe7\xd3\x28\x12\x13\x44\xf7\x1d\x60\xe2\x7e\xa5\xf9\x7e\xe1\x92\xaf\x94\xe5\x7d\x28\x4a\x5b\x90\x5c\x4b\x78\xae\x4a\xa1\x51\xc2\x7d\xff\x7f\xc0\xdc\x0d\x22\x83\x4b\xe0\xcd\xfc\x2a\x06\x17\x1b\xa0\x6a\x63\x0c\x75\x5a\xe9\x6e\x12\x85\x5d\xf2\xe6\x9a\x2e\x66\xb7\x88\xfb\x19\x89\x6a\x6c\xcc\x74\x4a\x77\x35\xec\x2a\x46\x96\xd5\x60\x03\x85\x7c\x21\x2f\x55\xb3\x27\xb3\x1c\x23\xe3\x97\xd2\x81\xa1\x4a\x8a\xf9\x72\x4c\xa5\x12\xb5\xb1\x4d\x0b\x2b\xdc\xc6\x55\x3a\x4b\x1b\x07\xc4\x78\x50\x1d\x6f\xf6\xd9\x94\x4c\xb9\x58\x15\x58\x55\xf9\xa5\x6d\xb1\xb4\xc9\xa7\x64\x36\x21\x53\x2d\xc9\x0c\xd6\x1d\xa4\xe9\x79\x67\x49\xcb\x36\x77\xcd\x04\x3a\x16\x90\xc0\x73\x84\xea\x77\x63\x53\x09\xb5\xf1\x71\x6f\x7b\xcc\xb6\x56\xeb\x9a\x0e\x21\x57\xc4\x7b\xb9\xc1\xcd\xbe\x54\x70\x77\x03\x7e\x57\xc6\x74\x64\x21\x35\xab\xa3\x36\x96\xc4\x6b\x2c\xab\x77\x96\x7f\x65\x1b\x90\xaf\xe1\xca\x2f\x7a\xe7\x35\x25\xf4\xbb\x4f\xaf\x1f\xe0\x51\x53\xad\x77\x11\x3c\x10\x99\x23\x89\x38\xf5\x35\x83\xc2\x62\x16\xe1\x55\xc0\x12\xa7\x51\x6e\x81\x24\xa9\xa8\x8d\x32\x6d\x62\xd0\x8e\x54\x8a\x13\xd0\x24\xfc\xae\xa9\xe5\x43\x1d\xce\x2b\xd2\x1e\x9b\x79\x4c\x28\x53\xff\xf5\xd7\xb5\x4e\x53\xab\x56\x16\x6e\xd0\xe9\x0d\x47\x11\x91\xc6\xc6\x6e\xa3\x90\xf1\x90\x3f\x43\x93\xb7\x6d\x4e\x55\x5f\x65\xbd\x6f\x4d\xe0\xb3\x12\xd8\x71\x8e\xea\x46\x5c\x98\x08\x9e\x8e\x27\xce\x86\xa4\xef\x8c\xde\x5a\xd5\x59\xfe\xbc\x60\x23\x5f\xfb\x2c\xbf\x4f\x69\xb2\x99\x85\xee\xbe\xd0\xfe\xee\x53\xaf\x8f\xe4\x24\xbb\xad\x43\x18\xb6\xf2\x60\x17\x17\xdd\x7c\x4e\xfb\x6d\xe6\xaf\x81\x69\x4e\x5c\xd9\xd7\x11\x4f\x12\xf0\x34\x48\x32\x7d\x26\xa2\x7a\x7a\xd8\x70\x9f\xae\x57\xb1\x31\x5b\x00\x7c\x9d\x27\x46\x34\x92\xbf\x6e\x8d\x68\x28\x91\x5b\x7d\x39\x68\xc1\x84\xaa\x71\x46\x58\x95\x8d\xed\x97\xc5\xce\x43\x47\x16\x30\xe8\xa2\xc7\x76\x16\x34\xe8\x40\x72\xe0\xc0\xc1\x15\xfb\x68\x6b\xf0\x60\x89\xd8\x65\xb1\x7c\x39\x9b\x71\x81\x43\x46\xf1\xe9\x68\x10\x3f\xb2\x4e\x21\x9f\xc2\x75\x68\x1f\xce\xf3\x80\x6c\xa3\x43\xf8\xc4\x0c\xfa\xbb\x58\xc3\x0a\xb8\xd1\xf4\x5f\xa0\xe9\x98\xa2\xc9\x26\xa4\xd0\x85\x0d\x42\x34\x39\x89\x4f\x71\x34\x8f\x12\x1a\x79\x3a\xf3\x58\xe0\xd9\xa4\x8a\xe2\xb9\x93\x0f\x55\x87\x5e\xab\xea\x50\x5d\x23\xb4\x75\xe2\xb6\x1d\x5e\x31\x3c\x25\xa1\x1a\x52\x1b\xab\x21\x9d\x64\xf5\x36\x58\xde\x52\xee\x15\xcb\x38\x2c\xde\xfb\x50\x12\xe9\x15\x4a\x22\x6d\x72\xf9\xf3\x7a\x47\x85\x6b\x1f\xca\x34\x35\x01\xde\xeb\x97\x69\xca\x84\x80\x56\x55\xde\xa9\xa7\x07\xaf\x5c\xd1\x65\x71\x61\xaf\x59\x96\xa9\x42\x5c\x5a\x47\x6e\x5c\x56\x97\x69\x19\x5e\x34\x82\xcb\xeb\x56\x49\x5a\x0f\x32\x6b\x15\x40\xaa\xe4\x9d\x2d\x29\x87\x54\x7f\x0c\x2d\xb9\x37\xbb\xcc\xea\x59\xaf\x67\xaf\x9f\xd9\xb3\x8e\x82\xb9\x5e\x92\x4f\x86\x0f\xc7\x95\xe8\x93\x37\x37\xdc\x2c\xd9\xa7\xe3\x7c\xf0\x44\xa0\x09\x4f\x62\x57\x84\x23\x83\x56\x36\x41\x96\x09\x91\x01\xc8\x1d\xc6\xfd\x8c\x44\x46\xdb\xcc\x1b\xf1\x2d\x4b\xe9\xc9\x0e\x11\x96\xbb\x03\x42\xb3\x0b\x2b\x4a\x46\x49\x36\xb1\x9f\xac\x94\x2e\x64\xd1\xfc\xbf\x64\x8d\x05\x08\x81\xd7\xa0\x7a\x99\x2b\xed\xde\x2b\x16\xb7\x4c\xf4\xf0\x8c\xa3\xa2\xaa\xc5\xae\xc1\x33\x78\xfa\x4c\x9d\x21\x06\xfb\x33\x2e\xf5\x52\xba\xdd\x35\xf2\x54\x96\x91\x65\x83\x60\xb8\x85\x8e\x89\xdb\x17\x47\x9a\xe2\x2f\x83\x19\x16\x38\x49\x48\x42\xe5\x74\x6f\xc1\xd0\x17\x45\x77\xb5\xbe\xab\x82\x1b\x13\x19\x4b\xa7\x43\x83\x8a\x6e\x21\xb6\xc9\xa6\xe2\x48\xa4\xcc\x2f\xed\x96\x1d\x4c\xd6\xc4\x33\x05\xbe\x00\x56\xb5\x68\x02\xdd\x92\x47\x98\x0a\x46\x64\x6d\x6f\x5a\x12\xa5\x82\xaa\xf9\xc0\xb6\xfa\x6d\x7e\xe1\xee\xed\x97\x17\xf6\xc3\xe5\x1e\x7e\x57\xd5\xc0\xcd\x97\xb5\x16\x9e\x11\x01\xed\xb9\x5c\xa3\x29\xaf\x9d\xb1\xad\x5a\x41\xb2\x1e\x5f\x10\xfe\xbd\xc0\xb6\xeb\x02\xa7\xf1\xcb\xc0\xcb\x28\x1b\x44\x65\xe4\x58\x75\x59\xab\xea\x6e\x2d\xdb\xe4\x9e\x2b\x4f\xd5\x78\xd1\xf7\xd0\xdd\xc7\xa6\x8d\x98\xa1\xf5\x82\x3d\x57\x38\xd8\x6b\xf3\x83\xf1\x52\xfe\x2b\x9a\xdd\x78\xeb\xb4\xb5\x8e\xaa\x82\xaf\x96\x2c\xb6\xe3\x7d\xd5\x60\xc5\xde\x24\x3b\x5a\xb6\xbe\xe8\x42\xa4\x33\x45\x87\x8b\xa5\x7d\x1c\x35\xd8\x41\xeb\xde\x4e\x02\x69\xe6\xce\xcd\x52\x98\xd6\xf4\xf3\x2d\x50\x62\xbb\x3b\x2d\xff\xdb\x3a\x6a\xae\x42\x92\xa9\x30\xe5\xe7\x31\xde\x4c\xa9\x52\x2e\x51\xc2\x18\xe0\x35\x76\x16\x6d\xd3\xef\x5d\xb8\x0b\x86\x0e\xcb\xc6\x44\x75\xf6\xc8\x3a\x12\xbd\x10\xc4\x88\x2d\xa1\x51\xd1\x3b\x39\xb3\xea\x43\xcf\xb5\x21\xd1\x33\x65\xb1\x39\x5a\x78\xa0\x4a\x66\x6d\xff\xcc\x1c\x23\x9c\x48\x72\xa2\x07\x86\x6e\xc1\x8a\x43\xf0\x2b\x46\x2f\x02\xcf\x66\x44\x3c\x32\x9b\xc5\x02\x0e\x27\xce\x13\x33\x7e\x5d\x88\xaf\x85\x01\x19\x44\x38\x9a\x1c\xe8\x8c\x30\x24\x23\x45\x13\x12\xbb\x7c\xe9\xe2\xf1\xb8\x7d\x1b\x83\xfd\x1a\x87\xd5\x1b\xb9\xb6\x75\x27\x76\x92\x24\xd2\x14\x25\x6b\xef\x3e\x23\x42\xaf\x5a\xe3\xf0\x33\x61\x88\x8e\xdc\x3a\x6c\xec\x12\x7a\x01\xcf\x9c\x46\xfd\x67\x4c\x13\x53\x80\xc0\x4d\xed\x84\x40\xe3\x7e\x78\x64\xc6\xdd\xcf\xa2\x42\x86\x2e\x65\x54\x4e\x34\xa5\x4e\xc1\x27\x0b\x6a\x46\x5d\xe2\x10\x7b\x5e\xe7\x36\x77\xf5\xeb\xcb\x29\xe8\x33\x15\x9c\x4d\x21\x49\xc8\xd6\xa5\x72\xe0\x93\x44\x65\xd7\xa3\x32\xc5\x73\xa5\x44\x1c\xc7\xb2\x68\x7c\x35\x6a\x25\xfd\x67\xc1\xec\x72\x5a\xc8\x8a\x8c\xbc\xb2\x4a\x10\xc4\xea\x3a\xfa\x2d\x93\x7f\x43\x6a\xc7\x62\x6a\x47\x35\x6c\xda\x98\xde\x91\x5d\xe2\x75\x53\x3c\xea\x8e\x7f\x17\x92\xed\x0e\x53\x3d\x5e\x39\x27\x62\x3f\xe9\x10\xaf\x9b\xbf\xb2\x8f\xd4\x95\x90\xe0\xf1\x8a\x09\x1e\x8d\x2d\xb5\xc5\xd8\xf4\xfa\x6b\xbb\x56\x72\xc4\x8a\x62\x56\x55\xb3\x7c\x26\x4a\xd0\x48\xee\x82\x3e\xc8\x19\x6e\x18\xd5\x07\x5a\xe0\x6c\x85\xd4\xa4\x5f\xc8\x9c\xa0\x10\x27\x97\x75\xb8\x1c\x0a\x82\x9f\x62\xfe\xb2\x60\xab\x93\x7e\x35\x91\xcf\x5c\x8b\x3d\x82\x44\x54\x92\x42\x24\x0f\x95\x88\x11\x69\x8d\x9d\xf8\x91\x4d\x28\x11\x58\x44\x13\xc8\xee\xcc\x0f\xc6\x64\x09\x9b\x82\x4e\x26\x96\xc3\xf7\x76\xad\x71\xe8\x0d\xe0\x5e\xb6\x30\x65\xf5\xf9\xec\x99\xeb\x95\x4c\xcd\x27\x99\x30\x63\xa5\x0c\xdf\x24\xd7\xe8\xf8\xb7\x4d\x44\xc8\x80\xbd\xd7\x64\x84\x2c\x98\xca\xfb\xa2\x61\x42\x42\x8e\x0d\x21\x29\x61\x4f\x49\x09\x15\x20\x5e\x2f\x31\x61\x23\x93\xdf\xe1\x63\xa6\xdd\xcc\x87\x88\x9b\x5e\x15\xb4\x96\x0e\x07\x7b\xbf\x7a\x95\x7b\x6e\x7a\x03\x7f\xc9\x90\xc2\x48\xc4\x42\xe3\xd9\x90\xc4\x31\x50\x5a\xc5\x6d\x87\xf6\x1c\x77\x9c\x79\x40\xf3\x5e\x2c\x35\xb2\xe3\x84\xb3\xb1\xa4\xb1\x29\x36\x33\xc3\xd0\xab\xd8\x37\x5e\x40\x71\x05\x38\xdf\x24\x21\xc2\x79\x25\x04\xfa\x83\xa4\xcc\x56\x93\xcc\x7e\x8b\x39\x91\xec\xbd\x32\xc6\x02\xcc\xe6\xe8\x89\xf1\x97\x84\xc4\x63\x38\xa1\xf2\x62\x4e\x11\x25\x27\x88\xaa\xec\x33\x01\xd5\x18\x78\xaa\x1e\xf5\xda\x21\xd6\xce\x68\x00\xc4\x7e\x2b\x6c\xf7\x0a\x8f\x02\xcb\x6f\xce\x10\xea\x31\x34\xc2\x91\x3a\x41\x32\x1d\xe6\xe3\xc7\xdc\x34\x97\xd7\xda\xb7\xb7\xf1\x7c\x90\x10\x33\x5f\x31\x79\xf5\xdd\x70\xd4\x41\xa3\x6b\x27\xa1\x78\xab\xd8\xc2\x67\xbc\x4d\x89\xd5\xcf\xa9\xb4\x41\x18\x88\xb3\xec\xea\xdb\xf2\x52\x59\x8d\x6c\xa8\x77\x6a\xea\x4d\x33\x1e\xd7\xda\x3a\x4b\x5b\x59\x77\x2d\x79\x20\xa8\x15\x94\xac\xa3\x0a\xc6\x35\xe0\xd6\x52\x93\x54\x82\xe0\xa9\x75\x0e\x68\x56\x03\x62\x8d\x09\x03\xd5\xab\xa7\xc2\x48\x98\xeb\x1c\xf1\x15\x65\x4f\xfa\x74\xf3\xaa\xe0\x1c\xea\x25\xeb\x99\xab\x0e\x6d\xa6\x39\x1e\xb9\xe0\xcc\x38\x08\xb7\x92\x3b\xe9\x98\xe1\x64\x4d\x1b\xc7\x02\xe4\x16\x7d\x7a\x4e\xce\xb2\xe2\x82\x96\x22\x8c\xb1\x0f\x99\x19\xd7\xb2\x21\x95\xf6\xeb\xcb\x7b\x18\xc5\x64\x46\x58\x4c\x58\x34\x07\x14\x61\x50\x39\x48\x30\x9c\x20\x0c\xdf\xe1\xe4\x0c\x5d\x9a\xfc\xa2\x4c\xc2\xb3\x6c\x1d\x18\xfa\x14\x33\x3a\xd2\x7a\x02\x18\x61\xed\x2a\x1f\x99\x59\xa6\xf3\x81\x90\xdc\xba\x9a\x41\xac\xea\x64\x34\x07\xb9\xde\xb2\x2a\x33\x2b\x7e\x8f\x96\x33\x1c\x98\x6d\xd9\xe9\xe8\xe1\x5c\x0f\x06\x99\x0e\x4f\xe1\xdf\x85\x84\x3b\x57\xa8\x28\xaf\xa2\x43\x12\x02\xe6\x40\xeb\xf1\x02\xc6\x58\x57\x58\x6f\x17\x7e\xbb\x15\x79\x2c\xde\x1c\x05\xa5\x66\x4a\x19\x9d\xa6\x53\xcf\x79\x67\x3a\x36\x44\xd6\x7e\x69\x32\x51\x66\x5a\x0f\x88\x5c\xf1\x76\xa4\x99\x2b\x9b\xa3\x31\x7d\x26\xec\x91\xcd\x38\x65\xea\x0c\x5d\x73\x45\xbc\x16\x19\xa6\x74\x16\x9f\x29\x3a\x35\xd5\x5e\x05\xd1\xf7\xc0\x14\x05\x87\x42\x9b\x13\xac\x4e\x50\x9c\xc2\x55\x65\x44\x69\xd2\xa1\x39\xae\x82\x93\x81\xf8\x70\xf1\xc8\x0c\xa7\x1b\x61\x9a\xa4\x82\x58\x99\x15\x9b\xbc\xa0\x7c\xc9\xf9\xca\x6c\x25\x38\x6f\x13\x53\x3a\x9e\x28\x7d\x44\x5a\xc6\xb3\xfe\xc6\x89\xa6\x46\xfc\x91\x0d\x09\xc2\x68\xc6\x25\x55\xf4\x39\xf3\x5f\xd2\x11\xc2\x52\x82\x05\xe5\x0c\x5d\x16\xec\xff\x54\x82\xea\x5d\x17\x57\x4c\xd9\xc0\xda\x9e\xeb\xf3\x91\xb6\x3e\xc8\xc2\x2c\x16\xca\x78\x28\x79\x92\x2a\xdf\x05\x5b\x7d\xb6\xb9\x69\xdc\x35\x2e\x00\x03\x31\x1f\x3d\x32\x87\xd7\xf2\x0c\x75\x24\x92\x5c\x9f\x92\x34\x47\x19\x09\xaa\x88\xa0\xa6\x8a\x15\x51\xe6\x10\xb2\x7b\x9a\xdd\x81\x29\x16\x4f\x5a\x84\xf2\x2d\xf0\xa6\xa6\x6a\xc1\xda\x31\x34\x12\x12\x94\xf5\xf2\x8f\x03\x4c\xff\x88\x71\x76\xca\xc8\x18\xaf\x3a\x91\x47\x56\x38\x12\xf4\x07\x3a\xca\x15\xd2\x3a\x9f\xa3\x07\xbb\x01\x44\x3e\xd5\x9d\x92\x99\xb8\xee\x90\x46\x09\xc7\x2b\xdc\xc6\xa3\xfc\xd2\xa3\x7f\xf0\xa1\x59\xa3\xd6\xfb\xb9\x02\x29\x50\xab\x57\x23\x2e\xc8\x04\xb3\xf8\xc4\x1d\x56\x71\x6d\xc0\x19\xad\xa9\xcd\x29\x63\x20\x09\xba\x22\xca\xff\x1f\x7b\xef\xda\xdc\x38\x92\x9c\x0b\x7f\xf7\xaf\x28\x8f\xdf\x88\xee\x3e\xa6\xa8\xe9\xd9\x63\xc7\xb8\x1d\x13\xf1\xaa\x25\xf5\x0c\x77\xd4\x6a\xad\x2e\x33\xeb\xb3\xdc\x60\x17\x81\x22\x59\x2b\xb0\x0a\x83\x02\xa4\xe6\xda\xfb\xdf\x4f\x54\x66\xd6\x05\x20\x40\x02\xa2\xba\x67\xec\xb3\x1f\xec\x9d\x16\x81\xaa\x42\x5d\xb2\xf2\xf2\xe4\x93\x02\xb9\xa8\xb8\x8a\xd6\x82\x0c\x37\x5a\x8a\xb0\x0e\x83\xee\x0a\xdf\x1a\xd4\x7e\x41\x07\x04\x8a\xbc\x4d\x4e\x47\xdc\xc8\x75\x9e\x85\x9c\xae\xc8\x37\xba\xb0\x2a\x96\x93\x91\xfa\x01\x5c\x57\xce\x6a\x83\x5b\x9d\x56\xce\xee\xb3\x96\x91\x7b\x41\x0a\xb7\x86\xf3\x79\x61\x19\xd0\x48\x84\xbd\x34\xc2\xfe\xb3\x14\xc1\xec\x43\x65\x7d\xaa\x9c\x0a\xf2\x0a\xa4\x0c\x35\x1b\x39\xcf\xac\x0a\x8d\x34\xb7\x34\x7f\x2c\xc1\x20\x77\xed\x9c\xd0\x61\x70\x8f\xb6\x5e\x54\xa5\xb4\x6a\xf6\x5b\x09\x0c\x5d\x67\x07\xd2\xee\x4b\x95\x8a\xce\x62\x56\xbd\xa4\x46\xd7\xdd\x82\x02\x75\xb6\xbf\xfe\x44\x6b\x03\x73\xa9\xd2\x59\xa9\xb1\x92\x8b\x6f\xed\xc0\x68\x65\xbb\xe3\xa3\xe0\xca\xd8\x67\x9f\x14\x2b\x72\x40\x12\x70\xa6\x16\x22\x13\x0f\x3c\xdc\xbe\x40\x1f\xea\x07\x0f\xbe\x91\x5e\xbe\x87\x0f\xb6\xb1\x07\x9e\x51\x52\x0c\xc5\xe1\x4d\xf7\x66\x98\x9c\x1d\x84\x4f\xa5\x56\xda\xd6\xaa\x5b\x7d\x71\x7d\xff\x28\x36\xed\x13\xbb\x87\x20\x71\xd7\xea\xfb\x39\x1b\xe0\x07\xbf\x0a\xef\xec\xf4\x56\xac\xa4\xba\x47\x79\x11\x56\x06\x14\xc8\x92\x2f\x49\x0f\x75\x9f\x36\x62\xe2\x53\x22\xf2\x92\xc9\xf2\x85\x7d\xe2\x5e\x6c\x8e\x50\xfe\xe7\x5c\x16\xe3\xa9\x3a\x93\x0b\xf0\x8c\x96\xa1\x2d\xc3\x14\x2f\x2b\x2b\x32\x36\x68\x81\xa7\xfe\x19\x9a\x10\xc3\x5e\x46\x01\x90\xd4\x74\x5d\x1b\xbb\xb7\xfe\x8e\x84\x77\xb9\x0e\x93\xb1\x8f\x62\xb2\xa0\xfb\xc1\x4a\x1c\x80\x0c\xa9\x25\xcc\x86\x22\x16\xa4\xc6\x16\x3e\xb2\xb7\x22\xcc\x86\xbd\x52\x0c\xdd\xca\x2a\xf0\x96\x2a\xdd\x78\xa5\xed\x0a\xe8\xdc\xc7\x3f\xd6\x36\xe0\xaf\x90\x2e\x77\xb5\x55\x6b\x1d\xfe\xd3\x54\x8b\x85\xfc\x04\xfe\x0b\xa7\x33\x38\x1b\x33\x29\xb4\xb1\x7b\x03\xb4\x52\xe6\x8e\x12\x42\x06\x0e\x49\x9d\x6b\x7d\xd3\xda\xd3\x83\x49\x1f\x3a\x67\xfb\x0f\x95\x28\x0e\x9a\x6f\x2f\x38\x86\x00\x4f\x23\x99\xd5\xee\x0d\x70\x8d\x96\xbc\x27\xfa\x2c\x6e\xf5\x96\x77\x4c\xdd\x7e\xa2\xfb\xce\x7b\xc8\xfe\x38\x78\x20\xf1\xfd\xbc\x47\x1e\x19\xcf\xec\xea\xee\x0d\x2a\x3f\x65\x2f\x8c\x11\x51\xe9\x73\x82\xc8\xf9\xa4\x76\xee\xd0\x41\x18\x02\xc3\xea\x64\x25\xd5\xd4\x88\x7c\x32\xd4\x98\x54\xcb\xa9\x72\x73\x6b\x46\x0c\x13\x02\xfc\xc1\xc6\xb6\x6a\x55\x0c\x78\xf4\xaa\xdf\xd8\xfd\x9c\xe7\x88\xa0\x50\xc2\x18\xab\x02\x99\xb2\xe0\x52\x51\xb4\xce\xcd\x8f\x99\x5a\x69\xd2\xc8\x48\x18\x81\xc7\x68\xe4\x24\xe5\x28\x12\xab\x53\x85\xb9\x45\xec\x1b\xf6\xb2\xe4\x4b\x44\xf7\x00\x4f\x29\xcf\x80\xe1\x14\xec\x41\xf2\xbf\x44\x69\x20\xfe\x44\xca\xf4\xd5\x9b\x5d\x7d\xa2\xb7\xe8\x25\x34\x03\x87\xdc\xce\x61\x98\x20\xb9\x08\xff\x10\xe9\xab\x5d\x2d\x85\x97\xee\xc5\x66\xd4\x9c\xe4\xee\x5b\xfc\x96\x1f\x84\xc5\xfd\x5c\xd7\x38\x0c\xba\x7f\x38\x9a\xcf\x45\xf6\x53\xf8\x50\xb6\x53\x14\xbd\x95\x8a\x1f\x26\x83\x5a\x87\xd7\x2f\xd7\x60\xbe\xe9\xaa\x50\xd8\x22\x7a\x9e\xcc\xad\x73\x82\x56\x8b\x60\xb6\x3b\xb2\xcd\x5c\xfd\x4a\x0e\xf8\xd6\x95\xc8\xf2\x48\x4d\xb0\xfb\xc5\xd3\x04\x63\x65\x27\x6b\xba\xae\x2b\x85\x94\xcf\x88\xef\x79\xa4\x93\x4e\x22\x23\x34\x3e\x9e\xaa\x89\xbd\xa0\x4d\x59\x68\xb5\xcc\x36\x8c\xa7\x0f\xd2\x84\x92\x85\xf6\x40\x56\x6b\x51\x50\x17\xd2\xa0\x7d\x45\xe5\xbe\xb8\xbb\xd8\xec\xd8\xec\xd5\x07\x6a\xa8\x2b\xab\x69\xff\x88\x16\xa4\x1d\xa5\x71\xf8\xb8\x96\x04\x07\x5a\xdc\x86\xec\xfc\xc2\x4e\xea\x9f\x62\x3f\x34\x5b\x07\x97\xb5\x93\x97\xc7\x4d\x87\x35\xcd\xfa\x0e\x67\xf5\xe0\x0b\xa1\xef\x45\xe0\xea\x63\x54\x98\xd0\x66\xfb\x71\x21\x4c\x1c\xdc\x20\x63\xba\xf1\x81\x34\x6a\xd4\x7b\x63\x67\xb5\x90\xe0\xe9\x32\x25\x2f\x65\x42\xb7\x80\x2e\xc8\x5f\x4f\x1e\x94\xee\xa5\x3d\xd4\xfa\x34\x09\xcf\xb6\x57\x78\x07\x7a\x02\x9f\xdf\xed\xd2\xa6\xe3\x86\x6d\xef\xa4\xf0\x49\x74\x96\x0d\x29\x48\xd8\xf8\xf2\xd3\xf0\xfa\xee\x11\x85\x7e\xec\x02\xb8\xb5\x80\x53\x83\xae\x28\x9e\x51\x60\xd0\x94\xb4\x4a\xf1\x43\x78\xa9\x6d\xc8\x51\x30\x55\x7a\x01\x25\x2b\xb3\xae\x1c\x85\xbc\xd0\x6b\x39\xa4\x66\x0a\xc2\xf6\xaf\x1d\xca\x63\x4f\xcc\xcc\x61\x41\xc0\xd1\x8a\xdb\x8b\x7a\x04\xf6\x0d\x4e\xce\xd3\x1d\x67\x68\xcd\xf3\x27\x4d\xf8\x3e\x8c\xd3\x09\x5b\x23\xc0\x8c\x66\x0f\xd8\xd3\x05\xa4\x21\xc3\x24\x3f\xf2\x4d\x20\x3a\xea\xaa\x86\xa1\x06\x6d\x87\x3b\xfb\xf8\x44\x2d\xf4\x80\xc3\x19\x88\x89\xe8\xf4\x71\xb7\x67\xa3\xf3\xe7\x31\x37\xb8\xfa\x38\xa7\x7d\xce\xe3\x69\xdb\xa6\x1e\x7c\x32\xdd\x0c\x7e\xce\x88\x7b\x2c\x44\xa2\x77\xfe\x36\xe4\x6e\xad\x1f\xad\xa8\x45\x06\xc3\xd9\x3d\x55\xef\x6b\xfb\xf0\xd9\xe7\xa8\xd1\x0e\xfc\x16\x52\x03\xaf\xda\x5b\xfd\x02\x73\x46\x87\xa4\xd7\x64\x1d\xc8\xc4\x36\xac\xaa\x87\xeb\xd1\xd7\xf0\x38\xd8\x92\xdb\x37\x19\x20\xcd\x0c\x59\x0d\x21\xcf\x88\x08\x1f\x16\x32\x13\x66\xcc\x26\x2d\xe1\x7a\x47\xb7\xe0\xd3\x03\x30\xf1\xd3\x69\x4f\x55\x21\xa3\x32\xff\x4e\x47\x62\x12\xca\x0d\xc6\x90\xa5\x28\x3c\x05\x81\xf2\x95\x7e\xc4\x5c\xcb\x42\x5a\x99\x85\xca\x6a\x09\xc1\x4b\x2b\x0b\x24\xc5\xfe\x30\x74\xea\x5f\xd0\x98\x01\x63\xcd\x1c\x1f\xf6\x8c\x3d\x10\xcd\x25\x7d\x8e\x82\xad\xfd\xd9\x2c\x5c\xaf\xb7\xf6\x8d\x3e\x46\x81\x7b\xf6\x80\xd1\x79\x2d\x7f\xb8\x4b\xf7\x1d\xbc\xea\x5c\xf8\x9c\x2d\x0a\x01\x56\xf6\xda\x33\xe4\x61\x89\x0c\xad\xe1\xbe\xbb\x39\xfb\xf1\xf8\x6e\xc2\x44\x99\xb0\x4c\xde\x8b\xa9\x4a\xcc\x03\x18\x7d\xbf\x54\xa2\xb4\x7f\xee\x70\x02\xc9\xb5\x50\x06\x24\x81\x2c\x7b\xda\x6b\x6e\x62\xec\xff\x9e\xd5\xdf\xef\x63\x95\x7b\x56\x57\xbb\x77\x5d\xf5\x4a\xd8\xa6\x50\xa0\x0f\xa7\xb6\xc5\xcb\xfc\x16\xdd\xe7\xe7\x6d\xb5\xed\x9f\x90\xfc\xae\xfe\x52\xa9\x81\x4a\xd7\x69\x78\x29\x1a\x45\x87\x4e\xb7\xce\x39\x54\xae\x19\x96\x55\x8f\xef\xb4\xb6\xbe\x4f\x88\x04\x92\x23\x87\x94\x10\xbe\x19\x56\x16\x42\x80\x08\xf1\xfb\x89\xee\x7a\xe2\xd5\xf3\x1f\x16\xbd\x34\x9e\xaa\xf7\x0e\x3f\x19\xfe\x6a\x42\x54\x69\x3d\x8f\x0a\xfa\xd4\x5b\x81\x66\x53\x69\xfc\x1f\xa0\x3c\xa3\xa9\xb2\x12\xeb\x53\x2f\xa4\xe2\x99\x1f\x28\xfe\xd2\x26\x25\x0a\xae\x92\xd5\xa1\x80\x08\xb9\x98\x89\x6c\x88\x26\x3a\x59\x9c\x67\xc6\xee\xef\xe4\xbe\xe3\x74\x3e\xa5\x02\x7b\xf8\x18\x8c\x2d\x52\x15\x57\x16\x00\x15\x3c\xc3\xfa\xd0\x82\x01\xe2\xae\xc9\x85\x80\x74\x6f\x76\x15\x49\x53\x47\xc0\x1d\x26\x21\xfb\x04\x43\xe8\x85\xf1\x72\xaa\x8a\x4a\x81\x17\xdc\xe3\x6f\x39\x0b\xd5\x7f\x12\x87\x86\x21\x6c\xd2\xd2\x8a\x09\x2c\xae\x83\x0f\x5b\xfb\x4c\x57\x06\x22\x8f\x6b\x51\xda\x0b\xea\xa5\x18\x2f\xc7\x04\x80\x1f\xb1\xbc\x90\x6b\x00\x0f\xf8\xd8\x41\xbc\x74\xa7\xbc\xe4\x99\x5e\x3e\xb7\x57\xe9\x89\xc9\x54\x6e\x18\x6c\x72\x66\x27\x7f\x29\x94\x28\xe0\x43\xc1\x97\xdd\x7a\x84\x7b\x78\xb9\x3b\x24\x37\xc4\x8c\x29\xcc\x6f\xbc\xc7\x82\x57\xa5\x5e\x5b\xfb\x96\x67\xd9\x66\x84\xf8\x02\xc1\x56\xdc\xac\xdc\x42\x63\x68\xb8\xcf\xdd\x44\x93\x7b\xca\x93\x95\xb8\x29\x79\x59\xb5\x62\xf0\x1a\xa3\xfc\x4a\xa8\x6a\xfd\xd5\x1b\xf6\xa7\xf0\x8d\xa7\x27\xa7\x3f\x9c\xcf\xce\x26\x37\x27\x6f\x2f\xce\xcf\xa2\xef\xa1\x5f\xde\x4f\x6e\x6e\xb6\xff\xfa\xc3\xe4\x76\xfb\x8f\x57\x1f\xae\xee\x2e\x4e\x6e\xdb\x5a\xb9\xf8\xf0\xe1\xc7\xbb\xab\xd9\xbb\x93\xc9\xc5\xdd\xf5\x79\xcb\xab\x77\xb7\xdd\x3f\xde\xfc\x38\xb9\xba\x6a\x6b\xf5\xfc\xa7\xc9\xa9\xed\x8e\xfe\xfe\xe7\xe8\xd8\x01\x48\xc2\xce\x40\xc7\xf7\x35\x4f\xe6\x11\xab\x3f\xf8\x86\xdd\x35\x2b\x9c\x51\xca\x1d\xd2\xc5\x3d\x72\x63\x85\x1b\x64\x7c\x82\x0b\x36\xcc\x56\xd7\xab\x88\x4a\x4f\x56\x82\x65\x5a\xdf\x57\x39\xc9\x3c\xf4\xb6\x2b\x8d\x1e\x21\x61\xa2\xd6\x7e\x98\xdc\xbe\xd9\xae\xb4\xe6\x1b\x8b\x88\x71\xbd\x73\xf9\x91\x23\x49\x04\xc8\x59\x0c\x2e\x52\x05\xae\x00\x52\x88\x7a\xf0\x4b\xb6\xab\x1f\x6c\x8d\xab\xb2\xd1\x4d\x9a\x06\x3a\x2d\xf8\xb0\xa8\xe1\xfa\x82\xef\x9a\x4d\x3f\x1d\x58\x62\x96\xcd\x45\xc2\x2b\xc4\xee\xdb\x0b\xac\x28\x74\x11\x0f\x38\x6c\x94\xe7\x6b\x94\x36\x58\x6b\x83\x8d\x35\xb3\x1f\x6e\xee\x65\x9e\xd7\x96\x9d\x36\xe2\xfe\x95\x87\xa2\x7e\x0f\x32\x29\x45\xfa\xd5\xb6\x5e\x14\xd8\x16\x50\x6f\xb6\xa7\xda\x0e\x39\x3a\xeb\x52\x2d\xd1\x97\xe0\xca\x2b\xae\x36\x1e\x6f\x06\xf0\xe6\x00\xf8\x86\x72\x2f\xf6\xae\xf1\xe5\xef\x24\x00\xc8\x78\xc9\x1e\x05\x10\x0f\x55\x54\x5f\x16\x6d\x7a\x2b\x33\xa0\x3b\x44\x7e\xb8\x6a\xd1\x35\x42\xa2\x4e\x21\xff\x1c\x8a\xbc\x7d\xdf\x88\x61\x41\xbc\xbd\xec\x31\x67\xd8\x28\x48\x7d\x97\x19\x02\x23\x7e\xce\xa0\x5f\xcb\x4d\xb7\xe7\x12\xb2\xd7\x41\x9f\xf1\x38\xc6\xbe\x5a\x19\x9c\x01\x21\xf8\xb8\x54\xca\xde\xb9\xba\xd5\x29\xdf\xd8\xcd\x01\x20\x12\x53\xe5\xb9\x2e\x4a\xd6\xd1\x06\x62\x15\x70\x7c\x70\x97\xd1\x77\x78\x11\x09\x8d\x58\xcd\xc5\xb4\x54\xdc\xeb\x47\x22\x46\xf3\x1a\xc5\xce\xa2\x34\x32\x30\x30\x7d\x75\xd4\x75\xcd\x54\xaf\xed\xd0\x36\xa5\xfa\x90\x3c\xdc\xdc\x2a\x0e\x7d\x8b\x75\xb7\xf5\xfe\xc1\xb5\xd0\xba\xe4\x99\x58\x94\xb3\x81\xc1\x2e\x68\x51\x75\xf1\x3e\xca\xe5\xea\x19\x5a\xec\x6f\x7d\x7c\x43\xf0\x77\x6b\x72\x44\x9e\x87\x42\xeb\x12\xf5\xde\x60\x1b\x31\x37\x9b\xe0\xb6\xa0\x4e\x89\x31\xc1\x2b\x97\xd6\x96\x40\xd4\xa0\x27\x17\x18\x4f\xd5\x39\xc0\x8c\x83\x81\xe3\x88\x14\xc0\xba\xd8\x6b\x57\x38\x02\x33\x28\xba\xf3\x45\x73\x9a\xba\xeb\x40\x84\x7d\x8f\xe0\x54\x91\x6d\x3c\x1b\x58\xca\x6a\xef\xf5\x39\x3d\xe8\x4d\x77\xaa\x25\x7e\x30\x1e\x1d\x53\x8a\x9c\x3c\xfe\xf8\x9d\x01\x0f\x0f\xd1\x66\xdb\xd5\x98\xfd\xec\x3c\x4a\x90\x1e\xe6\xd3\xa5\x1c\xc2\x39\xe3\x1b\x47\x1d\xdf\x36\xb1\xcf\xc1\xc6\xfe\xdc\x09\x63\xbb\x27\xd8\xd3\xae\xb6\xcc\x72\xcd\xb0\x57\x0a\x3d\xbd\x03\x40\x61\xa7\xfe\xa5\x1b\xb1\x1b\x3b\xfb\x0e\x8a\xf5\x53\xfe\x01\xe8\x2c\x2a\xdb\xfc\x23\x2e\x16\xf2\xb5\x38\x90\x06\x15\x4f\xa7\xc8\xac\x3d\x3f\x10\x59\x44\x3a\x17\xb6\x90\x59\x06\x7a\xc0\x98\x9d\xa8\x8d\xa3\x3b\xb1\x57\xa1\x83\x21\xcb\xa5\xd2\xfb\x98\x18\x3a\x36\x53\x12\x6d\xa6\x9b\xee\xcd\x84\xf8\x8f\xc0\x76\xf5\x3c\x3b\xea\x19\x98\x0f\xad\x6c\xe1\xdb\x75\x73\xfa\xf3\x1d\x0e\x70\x0a\xc4\xb7\xf9\x97\xca\x21\xdc\x1a\x6e\xf4\xe2\xdf\xda\x87\xfe\x7d\xc5\x0b\xae\x4a\xc8\x8c\x23\xa5\xb5\x10\x51\x82\xbe\xf8\x04\x28\x66\x85\x0e\x66\xf8\x53\xbc\xb8\x0e\x4a\x80\xf0\x33\x99\x8e\x98\x1c\x8b\x31\xd4\x70\x2e\xac\x2e\x31\x0f\x4f\xae\xac\xe6\x30\x55\x5b\x19\x3f\x63\x76\x92\x19\x4d\x6f\x08\x95\x64\xda\x00\x88\x7b\x1e\xd3\xeb\xc3\xce\xa7\x70\xd5\x7c\x03\xf6\x0d\x2c\x65\x68\x5e\xd3\x0f\xd1\x8b\x50\x8a\x18\x62\xed\x19\x9c\xf4\xf0\xf7\x7f\xd6\x44\x14\xdc\x85\xbf\xf8\x8c\x45\xdf\xb6\xae\xa1\xcf\xb6\x48\x58\x50\x7c\xd7\x02\xc1\x13\xb0\x30\x21\x13\x2b\xe2\x29\x64\x2f\x79\xc9\x32\xc1\x4d\xc9\x5e\xbf\x1a\x84\x39\x71\x1f\x18\xa4\x2b\x1d\xdf\x40\xa7\xe0\x12\x72\x63\xe5\xce\x77\x0c\x15\xa6\x79\x51\x32\xce\x94\x78\x8c\xf3\xaf\x34\xa4\xcc\xb9\xb2\xd1\x22\x62\x80\xc1\xac\x0b\xe4\xaf\x82\x9c\x66\x34\x99\x3a\xe4\x88\x2b\x8a\x42\x61\x59\x1a\x56\xcb\xce\x1a\x79\x54\x1b\x24\x2c\xd8\x87\x42\x6a\xec\x8a\x97\x53\x45\x92\xd5\xc1\x51\x22\x32\x84\x93\x2c\xab\xa7\xa3\x72\xc8\xb8\x56\xf6\x83\xed\xe8\xd3\xb1\x9f\xa0\x4b\x30\xbf\x7c\x4e\x60\xcd\xff\x17\x0e\x0b\x66\xad\x78\x56\xd0\xb8\xed\x56\x6d\xa7\xcd\x6f\xfd\x05\x95\xe0\x96\xee\x2f\xf4\x52\x26\x3c\xeb\xa1\x0c\x8b\xb6\x21\xef\x39\x58\xdb\xb1\x82\x1d\xba\xf1\x73\x77\xd0\x5f\x55\x6e\xf7\xbb\xc3\x35\xfb\xa8\x5b\xdc\xf8\x1d\x8b\x1b\xe9\x16\x87\x18\xe0\x3e\x39\xf5\x4b\x45\x92\x6b\x43\x9f\xa4\x40\x8d\xb1\x5f\x0a\x06\xaa\x09\x27\x3a\x30\x43\x31\x8d\x32\xdf\xa3\x44\x5b\x02\x91\xa2\xe0\xa3\x27\x3b\x22\xba\xf9\x7f\xef\xcf\x1f\x85\xef\x77\x9f\xe2\xc1\x75\xdb\x1f\xde\xad\xec\x9d\xa4\x7f\xe1\x09\xe4\xc3\x42\x4f\x2e\x13\x77\x9b\xb6\xd4\x15\xbb\xe1\x10\x24\x68\x55\x0f\xf3\x42\x27\xc2\x98\x31\x3b\x87\x8b\x86\xfe\xc9\xf8\xc2\x05\x3a\xa2\x87\xa7\xca\x5a\x26\x8e\xe5\x30\x6a\xbf\xbe\xc5\xdb\x4e\x00\x52\x26\x1f\x14\x23\x5a\xef\xaf\x64\xd8\x65\x4d\x38\xc6\x66\x68\x03\x8a\x9f\xb1\xf3\xe5\x1b\x96\xea\xe4\x5e\x14\xc7\x85\x48\xa5\x79\x03\x31\xfb\xb2\x33\x58\xb8\xb6\xd6\xf6\xc1\x9a\x46\x17\x00\x61\x0f\x75\xc4\x29\xf6\x4f\x29\x05\x2e\x09\x6d\xc4\xe4\x02\xcc\x09\x97\xb9\x8c\xa9\x7a\x8e\x14\x52\xa8\xb2\xd8\x20\xda\xd9\xb9\xb2\x1a\x13\xe1\x2c\x0d\xab\xb4\x75\xe5\xdc\x17\xcf\x81\xed\x79\xe2\x67\xdf\xae\x84\x11\x0e\xc8\x80\x1f\x55\x6a\xca\xf8\x43\x71\x91\xf3\x72\x65\x80\xe0\xa5\x3e\x07\x64\x74\xc1\xab\x76\x86\x78\x0e\x38\x08\xf4\x52\x84\x97\x3c\x0d\x89\x29\x65\x96\x4d\x15\x26\x6e\x00\x17\xcb\x8b\x56\x1e\x29\xfb\xea\x88\xf1\x34\x65\xff\xdf\xcb\x77\x17\xff\x71\x7b\x3e\x9b\x5c\x82\xcf\x7b\x72\x71\xfe\x6a\xe4\xff\xf8\xe1\xee\xd6\xff\x15\x3d\x2c\x0f\xa2\x60\x6b\x7e\x0f\x26\x9e\x32\x82\x52\x8c\xc5\x54\xc5\x23\x75\x0c\x5b\xf6\x17\x23\x1c\x82\x96\xd4\x14\x4f\x34\x4e\x6b\xd8\x45\xcf\x4b\xc4\xab\x03\x8c\xdf\x6b\xff\xca\xee\x3d\xe8\x36\x8f\xef\xc2\xa9\x81\x90\x49\xce\x4d\x44\xb9\x44\xb6\x6f\xd8\x70\x42\x2d\xa5\xea\xc2\xf9\x09\xf5\xf0\x39\x95\xf8\x1f\xc5\x06\x80\xe6\x57\x5c\x16\xbd\xf7\x5e\x3b\x67\xa6\x3b\x31\xd6\x4e\xe7\xa6\x79\xa8\x0c\xea\xc2\x98\x93\xde\x89\x25\x6d\xa3\x4b\xfe\xd5\x3f\x97\x48\x58\xc5\xa7\xb2\x70\x5c\x6e\x3e\xeb\xd9\x11\x9e\xfa\x8b\x26\xec\xc1\xa9\xba\xfd\x70\xf6\xe1\x0d\x13\x19\x9f\x6b\x48\x78\x25\xa8\x91\x6b\x82\x26\x2c\xd1\xeb\xa8\xa1\x1a\x8f\xdf\x88\xe5\x81\xc7\x2f\x76\xa2\x8d\xb1\x8d\x3d\x7c\x7e\xb9\x2e\xb6\x59\xf0\x9e\xd7\x04\xa4\x8f\xbd\xd2\x45\x9f\xeb\xdf\x3e\x86\x79\x21\xb9\x35\xe4\x1a\x92\x97\xee\xe6\x85\xe0\xc0\xf1\x42\x61\x21\xf2\xe5\x13\x30\x36\xcb\x6a\x55\xd7\xed\xc1\x31\x63\x0a\xed\x87\x27\xb5\x62\x3f\x7e\x6b\xd8\xbc\x2a\xa7\xaa\xde\x86\x56\xec\xe4\xe7\x1b\xf6\x96\x97\xc9\xea\xd5\x54\x41\x96\xe8\x8f\xdf\x76\x10\x8e\x0e\xe6\xf0\xb6\x73\x72\xc6\x4b\x7e\xa1\x79\x2a\xd5\xb2\x8d\xc0\x3b\x54\x99\x3c\xbf\x3d\x79\xc3\x5c\xb1\x9f\x90\x2f\x5d\x3a\xe2\x9c\xa8\x21\x10\xc8\xf0\x21\x4e\x8a\x50\xce\x60\x8d\xe4\x18\x2d\x33\xb8\xb0\xa6\xea\x16\x99\xcb\xad\x54\x95\x25\xcb\x35\x55\x3a\xb5\x56\x19\x72\xba\x73\xc7\x23\x20\xb2\x0d\xb3\xb3\x03\xdb\xd8\x2f\x06\xe9\x63\xa0\xcf\x6c\x0b\xfb\xa9\x02\x03\xdd\x67\x70\x67\x3a\xe1\x19\x60\xfd\x8e\x22\x9f\x9e\x35\xdb\x75\x05\x2c\x4a\x00\xb2\x51\x9b\x3a\x24\xd7\x13\x7b\x79\xa5\x2c\x5e\x28\x70\x00\xc0\x3a\x52\x1c\x72\xad\xad\xc4\x41\xc6\x62\x70\xbe\x65\x38\x3b\xf6\x45\xcf\x60\x8c\xd3\x62\x7f\xf5\xe4\x06\xba\x52\x8e\xb1\x2f\x01\xf7\xbd\xda\x00\x2c\x1c\x4a\x13\x6a\x80\x94\x04\xe9\x4c\x9b\x72\x6b\x15\xfd\x9d\x18\xbd\x36\x55\x88\x40\xac\xad\x4b\xcc\x71\x19\xf5\xae\x15\x00\x24\xb7\x19\x15\xaa\x9c\x00\x93\xa4\xeb\xe7\x85\x38\xf2\x3c\x01\x69\x6d\x4e\xed\x0d\x3b\x66\xd7\xb1\x79\x9d\xea\xa4\x5a\xbb\xfa\x23\xc0\x31\x40\xc8\x3a\xba\x44\xfd\x0e\xc1\x8b\x7d\xdf\x8e\x07\x2e\xc3\x52\x00\xc9\x52\x6f\xfb\x18\x37\xcc\x49\xfc\xea\xb6\xa6\xde\xad\xf8\x82\xec\x38\x0c\x0d\x87\x0d\xcd\xf2\x7a\x4b\xb5\xd6\x0e\x66\xef\xb8\x0c\x35\x12\x74\x01\xca\x96\xf8\x94\x6b\x70\x72\x23\x89\x81\x4e\x5f\x18\x36\xb9\xb2\x1a\x90\xb5\x78\xfd\x19\xac\x4c\x89\xa0\x35\xcc\x46\x87\xb7\x31\x0d\x61\xc4\xbe\x66\xd3\xea\xeb\xaf\x7f\x97\xb0\x4f\xee\x3f\xfe\xf5\x5f\xfe\xe5\x77\xff\x3a\x24\x4d\xc5\x19\xe4\xd0\x6e\x98\x23\x5f\x74\xb6\xae\x12\xc5\x2b\xb0\x2d\xa9\x0e\x58\x05\x3a\x80\x07\xb2\x0b\x74\x61\x92\xf8\x92\x4e\xb8\x89\x4f\x26\xab\x1d\xcd\x80\x24\x80\x9c\xea\x9a\x84\xf0\xca\x2e\x69\xf4\xff\xb8\x83\xd2\x77\x66\x8f\xca\xd3\xb0\x53\x32\xf3\xea\xb5\x6d\x84\xbd\x24\xff\x5f\x09\x01\xc4\x57\xee\x82\xd3\x59\x2a\x0a\x1c\x93\x77\xd9\x79\x47\x22\x08\x07\xf1\x29\xcf\x74\xea\x8a\x08\x04\xc6\x0c\x09\x0a\xc2\xf9\x27\x6e\x25\xf7\x88\xc8\x66\x29\x6f\x15\x22\x2f\x0b\x9e\x08\xca\xb1\x7e\xf9\xe9\x8d\xfd\xdb\x88\x6d\xde\x00\x38\x75\xc4\xfe\xfa\x86\x38\x25\x79\x51\xce\xec\x9f\x5e\x39\x5d\x9b\x9a\x80\x41\x4b\xc3\x5e\x1c\x3f\xf0\xe2\x18\xc4\xf3\x31\x8e\xe8\x45\x48\x52\xc7\xea\xd9\xb1\x6e\x9e\x69\x7d\x4f\xc0\xdd\xad\x17\x8f\x1d\x3d\x31\x6c\x6f\x1f\x37\xc1\xa5\xf7\xf4\x55\x25\x3b\x82\x07\x04\x1b\xe7\x73\x36\xfe\x8b\xd1\x8a\x8d\x37\x7c\x9d\xd1\x5f\xdd\xaf\x84\x2b\xe6\x86\x72\xed\x52\x8f\x11\xca\x36\xe8\x29\x7d\x9b\xe9\x39\x7c\xd5\x7b\xf7\xa5\x88\xcc\x85\x81\x86\xdb\x27\x5c\x58\xf4\x21\x8e\xae\x05\x58\x36\xd7\xba\xc4\x47\x28\x6d\x76\xfb\xab\x3e\xf9\x21\xfd\x11\xe3\xc2\x30\x29\x2e\x39\x10\x9d\xc3\x1e\x15\x67\x1b\xfd\xc4\x5e\x92\x08\x7a\x65\xef\x18\x82\x41\xe3\x34\xb4\x75\xb0\xf1\x1d\xfc\x47\xd4\x81\x54\x0c\xd3\x3d\x77\xbc\xf9\xd7\xe3\xf1\x78\xec\xdf\x06\x6e\xa7\xff\xc3\x64\x69\x44\xb6\xc0\x96\xdc\x0d\xb6\x99\xaa\xf7\xae\x3c\x99\x73\x5e\x07\xe2\xf3\xbc\xd0\xa5\x4e\x74\xc6\x8e\x82\x43\x37\xd5\x89\x61\xff\x64\xd5\xda\x68\x2a\xe1\x8f\xd6\x8e\x6b\x3f\x53\x54\x0f\xe5\x0b\x1d\x2a\x72\x88\x37\x8f\x55\xcc\x75\xec\x0d\x5b\x6e\xe2\x24\x67\xd8\x0b\x76\xe7\x1c\x13\x1f\x72\x51\xd8\x87\xc5\xa7\x12\x7e\xea\xa0\x9b\x6e\x85\xc8\xb7\xdf\x94\x5b\xe2\x36\xb0\x4e\xe3\xb6\xee\x98\x00\x62\x85\x25\xc9\x80\xdf\x39\x8a\xc3\x27\xf6\x72\x51\x71\xc1\x2c\x53\xad\xd7\xbc\xd8\x1c\x87\xd3\xb6\xbd\x39\x03\x1f\x31\xc8\x98\xcc\x4d\x00\x84\x70\x33\x3a\x5a\x84\x62\x20\xf5\xd2\xdd\x68\xfe\xec\x26\x50\xf1\x3c\xe2\xf5\x12\x2a\xd1\x29\xed\xeb\x90\xd5\x5a\xd7\x58\xfc\x33\xdb\xba\x8a\x43\xc4\x98\xe0\x8c\x53\x25\x12\xdd\xd1\x13\xee\xe5\x0e\xf1\xad\x67\xa6\xb4\x82\x72\x39\x20\x3c\x3a\xf9\x70\xe3\xde\xe9\x7f\xe9\xc2\x3c\xd4\x55\x76\x9e\xc5\x2c\xd2\x6a\xc9\x0a\xfe\x18\xae\x5f\xc0\x76\xa0\x77\xa6\xf2\x39\xbf\xf8\xef\x53\x7d\x25\x33\x7b\x6b\xc1\x1e\x1f\x4f\x55\xed\xcf\x23\x26\x32\xb9\x96\xca\x63\xeb\x50\xb8\xeb\x05\x6a\xcf\xf7\xb2\xb4\x4b\x66\xd2\x7b\x2b\xc1\x1c\xfb\x69\x64\x52\x9d\xa8\x8d\xdb\x3a\x3e\x30\x45\x1e\x88\xca\xd8\x71\x05\x1b\x1d\xd8\x00\x64\x2a\x8e\x48\x21\x95\xd1\xc6\x83\xf3\x3b\x55\xb6\x35\x77\x96\x02\x0c\x39\x6a\x2f\x6a\xee\xc8\x95\x8d\x8a\x24\x00\xf4\x51\xc3\x12\x7b\xfd\xb7\x45\x41\x39\x57\xd5\xfa\xd0\x24\x16\x82\x25\xff\x5a\x6e\xba\xab\x42\xb8\x9b\x8a\x12\xa2\x84\xaa\xd6\xee\x40\x0d\xd8\x71\xe7\xa4\xfe\xa4\x22\xc9\x38\xf2\x39\xda\x86\x00\xf9\x38\xc2\x00\x69\x1e\xf5\x85\xd7\x0b\x76\x83\x95\x28\x33\xa1\x5e\xe2\xbf\x5f\x31\xba\x1b\xbe\x1e\xd1\x7d\x5e\x18\xcf\x93\x87\x6b\x0e\x95\xdc\x45\x8a\x3e\x74\xa8\xdd\xb1\xe4\x45\x8a\xde\xf2\xd8\xaa\xc0\xcc\x60\xab\x7f\x6d\x74\xc5\x1e\xa5\x59\x4d\xd5\xad\x76\x0e\x47\xa6\xb4\xaf\x7e\x32\x02\x63\x74\xab\x3f\x6e\x40\x08\xc0\xa8\xdb\x76\x80\x15\xc2\x07\xe5\x30\x01\x88\x76\xa6\x74\x2a\x0e\xa3\xf9\xbc\x0d\xb1\x0a\x17\xbf\x2e\x04\xe6\x99\xc1\x4d\xd1\x95\xa6\x2b\x8c\x19\xe8\x9b\x6f\x2e\x3c\xdc\x43\xd4\x8e\xed\x55\x3f\x0e\xaa\x41\x13\x33\xe8\xfa\x5b\x0d\x5a\x71\x16\x67\x94\x65\x5c\x9b\x7b\x5f\x53\xe4\xd0\x45\x48\x5a\x38\x3d\x7b\xdd\xfd\xf8\xed\x09\x4c\xbb\x07\x18\x73\xb6\x2c\x74\x95\xfb\x54\x7c\x97\x46\x88\xcb\x40\x3a\xcd\x44\x2d\xf4\x1b\xb2\xa9\x2e\xa4\xba\xc7\x1d\xff\xb9\xd6\x08\xcb\xc6\x88\xb4\x46\x76\x4c\x77\x18\xce\xf8\x11\x93\x2a\xc9\x2a\xb8\xf8\x4c\xc9\x93\x7b\x2c\x7d\xd3\xe5\xf4\xb5\xef\xcc\xf6\x27\x69\x76\x68\x4c\x55\x96\x51\xb7\xe1\x02\x05\x3a\x41\x70\x01\x3d\x48\xce\x38\xbb\xbb\x9e\xb4\xf7\x7d\x2f\xb7\x83\x39\xed\xb7\x67\x7d\x83\xc0\xff\xfb\x51\x0e\xc2\x5d\x36\xc8\xa3\x45\x6d\xab\x7b\xe7\x52\x57\x69\x02\xdc\xa4\xa5\x35\x20\xd2\xeb\x16\xd7\xfe\xe0\x7d\xba\xcc\xab\x99\x9d\xa8\x6c\x08\x40\xc0\x8e\xe2\xfb\xab\xbb\x93\xe8\xbd\x5d\x5b\xe5\xfb\xab\x3b\x16\xf5\x81\xb4\xe0\x99\x48\x4a\x8f\x34\x1e\xb3\xd3\x50\xad\xa3\xa9\x99\xa7\xe2\x41\x26\x98\x3a\x3b\xb2\x5a\xd1\x54\x01\x09\xbe\xb5\x75\x8e\x1c\x73\x2a\xfb\xfe\xea\x8e\xf8\x56\x03\x6f\x0e\x16\x1e\x01\x6a\x8c\x61\xd7\x4e\x83\x7e\x5e\x69\x75\x84\x94\x41\x45\x1a\xa2\x1d\x23\x30\xae\x13\x9e\x97\x15\x29\x18\x0f\xaf\xc7\x6e\x4d\xae\x43\x24\xc4\x0e\x4b\x4f\x95\xd5\x95\x30\xc7\x00\x6a\xe4\xd9\x8f\xde\x5e\xda\xc6\xa4\x1e\x02\x0e\x80\x49\x3b\x48\xf8\x4b\x9f\x39\xc8\xd5\x86\xf1\x62\x2e\xcb\xc2\x9a\x61\xf8\xf2\x08\x19\xce\x56\xae\x0e\x1a\xae\x5b\xd0\x8c\xa8\xac\x21\x2c\xb0\x54\xa5\x99\xaa\x28\x01\xc6\x67\x1b\x63\xf2\x82\x54\x0c\x48\xa3\x01\x7b\xe3\x48\x6c\x93\x4c\x57\xa9\xbb\x56\x0b\x5f\x26\x71\x93\xa3\x12\x35\x55\xc0\x78\x62\xef\x56\x6d\xd5\xd0\x70\xf7\xbf\x61\x1f\xd5\x83\x4c\x25\x3f\x2a\x85\xc9\xf8\x51\xf9\xbf\x3f\x8e\x1a\x7f\xe2\xaf\xbf\xfe\xfa\x23\x56\x7c\xec\xa2\x73\x88\x58\x9b\x0e\x74\xf0\xb4\xc7\x29\x3c\xd3\xa5\xdd\xa5\x07\xac\xd3\x85\xbc\x17\xec\x23\x2e\xf7\x47\xa2\xb9\x7e\xda\xb2\x4d\x55\xdb\xba\xb1\xa7\x2c\x1b\x14\x1d\x68\x5f\x37\xb6\x63\xd9\x5e\x2f\xc7\xff\xb2\x9c\xdb\xd5\xfa\x66\x39\x7e\xfd\x35\xfc\x67\x63\x8d\xf6\x1d\x5e\x9f\x3d\xd3\x36\xec\x16\x41\xd4\x72\x2c\xbd\x2c\x9a\xaa\xfd\xc2\x88\x0d\x93\x45\xb0\x6b\xdb\x0e\x3e\x2f\xc5\xa1\x59\xb3\xc8\x7e\x3e\x00\x7d\xbd\x45\x2b\xbf\x33\x22\x78\x20\x27\x7b\xe0\x53\x07\xb8\x67\x37\x39\x7c\x0c\xc0\x85\x1f\x07\xf0\xfc\xc0\xf3\xfd\xbe\xa7\xf1\xec\x9e\xcf\xd9\x3d\xcc\x4c\x88\x01\xcc\x34\x37\xf6\xf1\x9e\x83\xac\x3d\xba\x6b\x8c\x8f\x1c\xeb\x4e\x6e\x97\x3b\x4a\xc9\x5a\x1f\x72\x8a\xdc\x76\x44\x97\x89\xf1\x69\x83\x7e\x24\x0e\x5a\xe9\xed\x6b\xd7\xef\x92\xce\x52\x5c\xd6\xd2\x47\xdd\x5a\x36\x7e\xe4\x8a\x38\x10\x0a\x67\x4d\xea\xd9\xba\x37\x95\x7e\xe8\xf8\x8c\x5e\x7e\xbf\x45\xac\xef\xd5\xcb\xf7\x90\xf1\xed\x49\xb6\xd6\x5c\x59\x6d\xcd\xf5\xda\x11\x58\x42\x2b\xff\x49\x43\xba\xcb\x9f\x34\x20\xec\xb1\x5f\xb2\x96\xeb\xca\xb5\xf2\x88\xb1\x55\x9e\x61\xec\xa0\x5c\x81\x5b\x39\x54\x4a\x76\x62\x2e\xb8\x97\xb1\xaa\x72\xc6\x8b\x25\x3a\xbd\x8c\x28\xcd\xab\x96\x15\x0e\x79\x6c\x07\xac\xb0\x53\xbb\x66\xc3\xf8\x43\x9c\x3e\x06\x2e\x95\x5d\x27\xcd\x8f\xb2\x5e\x56\xc5\x5b\x5a\xae\xff\xb8\x66\x40\x48\xae\x4b\x74\x81\x35\xc8\x80\xe7\xb5\x9b\x5f\xeb\x40\x9a\xd9\x4b\xbe\xf6\xec\x31\xd4\x9a\x4b\xf9\xc5\xc1\xcd\x05\x54\x04\xea\x1e\x43\x2f\x0e\xd9\xbe\x43\x20\xa6\xdb\xae\x11\x4c\xd5\x89\x7b\x24\xf0\x9a\x1b\x89\x5e\x16\x4c\x47\xac\xe6\x98\xe1\x02\x3e\x33\x1e\x66\x9d\x3e\xae\xe3\x23\x86\x26\xfa\x37\x3e\xe1\xce\x88\x22\xdc\x46\x81\x0d\x35\xfe\x8e\x8e\x9e\xfb\x71\x53\xef\x94\xe8\xee\x13\xa9\x29\x37\x97\x7b\x3a\xd6\xc5\x3e\x66\xc9\x5d\x9d\x3a\xc4\x85\x3d\xc5\x4b\xe0\x35\x8b\x0a\x76\x77\xf5\xde\xdf\x4c\xa2\xcf\x80\x74\x27\xc2\xf4\x62\x56\x42\xb6\x09\x87\x24\x90\xf3\x37\x3a\xdb\x96\x15\xe5\x41\x77\x81\xe4\xeb\x59\xa1\xbb\xcb\x88\xf7\x98\x2f\xd7\x44\x2d\x62\xb0\xc2\xb2\xa2\x1b\xf6\x4b\xc5\x33\xbc\x5a\x15\x1d\x06\x37\x6c\x70\xbe\x7c\xf3\xaf\xec\x04\xee\x3e\xf6\x1e\xa4\x32\x40\xc6\xa0\xb5\x52\x33\xb9\xce\x45\x61\xb4\xe2\x9d\xf5\xf4\xef\xbf\x35\x33\xaa\x09\x6c\x0d\x73\x5d\x6d\xd7\xff\x1d\xf0\x25\x2d\xad\xc5\x1f\xc5\xd9\x7d\x35\x17\x85\x12\x25\x20\x11\xe1\x39\xe6\x9e\xeb\x35\x5c\xcd\xab\x72\xf5\xcd\x2c\xc9\x64\xef\x42\xc5\x90\xaf\x7a\x62\x5f\x3b\xc5\xb7\x76\x7d\x40\xad\xfd\xda\xd0\x15\xc3\xdf\x18\xfe\x36\x66\x6f\x79\x72\x2f\x54\xca\xf2\xac\x5a\x4a\xa2\xbd\x41\x63\x43\xd6\xdd\x0a\xf5\x0f\x43\xcd\x06\xdb\xb7\x97\xe0\x54\xad\xf9\x3d\x16\x0f\x22\x15\xd6\xda\x2d\x5d\xa4\x89\xde\x51\x33\x93\xdb\x7b\x77\xef\x6a\xf9\xdb\x78\xbb\x99\xe6\xde\x33\x15\x66\xeb\x3d\xae\x34\x61\x9c\x6a\x7e\xa2\x01\x07\xd7\xef\xd6\x2d\x76\x32\xc7\x20\x63\x44\x52\x15\xf6\x09\x1a\x0c\x9e\x5e\x08\x20\x42\x01\xac\x4a\x31\x0e\x04\x67\x2f\x0c\xab\x72\x27\x44\x20\xb2\x95\x01\xce\x08\x97\xc0\xfe\x90\xcb\xe4\x1e\x91\xad\x90\xbb\xc1\xfc\xe7\x6d\x15\x19\x67\x22\x40\x2c\xdb\x44\xc3\x02\xe9\x7d\x0e\x43\xcd\x6c\xd5\xcf\xda\xb3\x4f\x7b\xe6\xa5\x94\x2b\xa1\x66\x4f\x28\xe3\xd4\x7f\xd1\x6a\x39\x28\xa4\x84\xfb\x08\xa1\x9f\xc2\x4a\x49\x22\xf3\x0e\x16\xbe\xaf\x51\x22\x17\x0d\x25\x5e\x1a\x66\x78\x29\x8d\x95\x65\xad\x33\x1e\x48\x95\x0e\x99\x75\x3e\x8c\xc9\xa9\x85\xc5\xa9\x31\x17\x3e\xcf\x6d\xcc\xde\x41\x5c\x25\xb2\x4b\xb4\xe7\x44\xea\x12\x58\xe5\x4a\x74\x92\x03\x3f\x07\x40\xd4\x7d\x41\xf4\xfc\xce\x70\x99\xcf\x69\x1c\xb3\x93\x10\xcf\x46\x56\x28\x8c\x54\xef\xf9\x22\x91\x19\xf1\x94\xcd\xd7\x2b\xf4\x03\x98\x2f\xd8\x40\x4c\x62\x29\x12\xa6\x22\x96\x78\x3f\xcc\x47\xa0\x0d\xe0\xf7\x42\xed\xf2\xef\xf7\x1f\x21\x06\x60\x76\x3a\x24\x7c\x64\x47\x63\x70\xe7\x29\x03\xec\x7f\xec\x02\x11\x97\x5c\x1c\xdb\x29\xb7\x46\x50\x72\x4f\xc9\x8a\x18\xdf\x23\x2a\xaf\xc7\x95\x36\xf1\x39\x73\xeb\x87\x76\x74\x51\xf9\xea\x6c\x90\xec\xe9\x27\x18\x51\x9e\x4a\xc7\x4c\x5f\x30\x6a\x7f\x48\xd1\xa9\xe4\xd7\x9b\x39\x11\x0a\xd3\x00\xb8\x08\xd7\x54\xcb\x69\x56\x79\xf5\x5c\xd5\x7f\xf6\xd3\x6b\x6f\xcf\xf0\xd6\x80\x7e\xfc\xd6\x7c\x80\xfe\x9e\x83\x8c\x06\xbd\x8c\xcf\x9f\x08\xf6\xc4\x10\xb8\x87\x38\x3b\xef\xa7\x86\x24\x11\xba\x28\x73\x9d\xb2\xb0\xdf\xbb\x32\x6d\x94\xd2\x08\x71\xfd\x0d\x7e\x56\x34\xb8\xde\xdf\xb6\xef\xa8\xbd\x8f\x70\x72\x6c\x5e\xc9\x2c\x45\x96\xc2\x48\x43\xd5\x4e\x05\x82\x42\x58\xa0\x8f\x48\xe3\x2f\xb8\x96\x4d\xff\xe3\xb7\xe6\x4a\xa7\x87\x6c\xac\xe1\x4c\xb4\xdb\xfb\xba\x47\x1a\x8d\x89\xb1\x4c\xeb\xfd\x33\x91\xeb\xee\x04\x88\x74\x66\xea\x95\x9f\x77\x0c\x18\x10\x6f\xf3\x6a\x71\x03\x65\x66\xbb\x48\x99\xa2\x0a\x8c\x2e\xcb\xda\xae\xb3\xed\xc6\xe7\xfc\x75\x2d\x0a\x01\xa8\x82\x3e\xc2\xd9\xef\x6f\x3e\x5c\x1e\xad\x79\x61\x56\x1c\x48\x2f\x5c\x5b\x23\x57\xb9\x1f\xbd\x05\x0e\xd8\x21\xd5\x54\x1d\xb1\xa5\x1e\x21\x8c\xe8\x0d\x5b\x95\x65\x6e\xde\x1c\x1f\x2f\x65\xb9\xaa\xe6\xe3\x44\xaf\x8f\xc3\xd4\x1c\xf3\x5c\x1e\xcf\x33\x3d\x3f\x2e\x04\x24\x92\x1c\xbd\x1e\x7f\xf3\x1a\x56\xe6\xf8\xe1\xf5\x31\x80\x47\xc6\x4b\xfd\x4f\x17\xdf\xfc\xdb\xef\xfe\xd5\x36\x9c\x6f\xca\x95\x56\x6f\x08\xa3\xb4\xb3\xed\x23\x34\x13\x8e\xf1\x95\x46\x2f\xff\x36\xfe\x3a\x1e\x06\x3d\xba\xd6\xa9\xc8\xcc\xf1\xc3\xeb\x99\x5b\x98\x71\xde\x51\x31\xe3\xef\xa9\x17\x5f\x20\xf5\xe2\x5e\x96\x7f\x4f\xbd\xf8\x55\x53\x2f\xfa\xab\x5c\x5e\xc6\x00\x47\x76\x90\x8f\xf6\xef\x5e\x46\xba\x48\xc4\x3e\x39\xd4\x72\x39\xc4\x89\x71\x07\x5c\x11\xfb\x4b\x15\xee\xba\x00\xbc\x2d\xd3\xe1\x71\x1c\x5a\xa7\xa6\xd3\xba\x18\xc4\x03\x02\x40\x47\x99\x80\xaf\x30\x2a\x5d\xb7\x3d\x89\x51\xdd\x9e\x03\xa6\x10\xeb\x88\xb4\x93\x9e\xf5\xac\xa7\x28\x1c\x00\xb0\x56\x93\x04\xa1\xbb\xe0\x06\xa2\xa3\x16\xea\xfd\x91\x3a\xd1\x61\xd1\xcb\xb5\x18\x3e\x9e\x10\xfc\x4f\x79\x29\x8e\x6c\x23\x3b\x06\x0c\x5c\xbf\x5d\xe3\xac\x95\xe3\x6b\xd6\x80\x8c\x07\x8a\xc5\xb6\x44\x3a\x7b\x96\x9a\x63\xad\x7d\x20\x1c\x76\x70\xfb\x5b\x26\x47\x0f\xab\x80\x00\xe2\x07\x6d\xa6\xcf\x58\x1d\xe6\xb9\xcb\xc2\xd0\xe7\x3e\xb1\x24\x4c\x86\x6f\x3b\x38\xbb\x7e\x74\xa5\x60\x9e\xa3\x80\x4a\x80\xea\xf7\x2b\x9e\x82\xe7\x01\xc6\xe2\xc6\xd5\x31\x8c\x15\x37\x4f\xcb\x8b\x38\x41\xf6\x65\x1f\x06\x47\x50\xb9\x34\xae\x43\xa7\x88\x38\xe2\x29\x7b\xa4\x1c\xbf\x65\x5e\x15\xb9\x36\xc2\x8c\xd9\x3b\x5d\x20\xa3\x19\xd1\x0d\x85\x5c\x8f\xeb\x77\xa7\xec\xf5\xb7\xff\xf6\xbb\xa9\x7a\xd9\xa2\x07\x82\xfe\xa0\x8b\x25\xa5\x9e\x80\xf6\xb7\xe6\xa6\x14\xc5\x71\xb1\x48\x8e\xf1\xd6\x3c\xb6\xef\x1f\x51\xa7\x47\x7a\x71\xe4\xab\x43\x1c\x11\x51\xfe\x78\x9d\xbe\xea\x02\x65\xb6\xdb\x1a\xbf\x9a\xbd\x77\xd2\x61\x93\xb4\xad\xef\xfe\x3b\xa5\x76\x84\x50\x07\x23\x05\xcc\x80\xb2\x86\x2c\x94\x7a\xe1\xeb\x19\x61\x8a\x33\x96\x3e\xd3\x8b\x96\xff\x78\x9b\xe9\xb9\x79\xe5\xb9\x6f\xb9\x71\x7d\x04\x32\xca\xb6\x2b\x6b\xeb\xcc\x1d\xe2\x78\xa0\xa9\xf8\x9c\x1e\x45\x27\x13\xe3\x65\x1b\x32\xf1\xed\x42\x23\xa8\xc1\x48\xc5\xc5\x0b\x5d\x29\x57\x30\x44\x2b\xa1\x17\x80\xf0\x02\x0b\xd1\x01\x54\x21\xa8\x02\xb0\x47\x4f\xbb\x55\x88\x1c\x15\x2f\x08\xff\x75\x4f\xf7\x81\x45\x73\xf6\xcd\xf3\xe7\x28\x9a\x73\xe8\xbc\x93\x60\xfc\x95\x26\xfc\xd0\x2c\x12\x3c\x4a\x43\xc0\x57\xf6\xf9\xbd\x40\x0b\x2f\x07\x42\x79\xf6\x50\x9f\x22\xe7\x05\x18\x2f\xe2\xa8\xd4\x47\xc0\x57\x08\x2c\x78\x58\xc6\xaa\x0b\x7d\x05\x00\x95\x21\xd7\xbd\x7d\xbe\xc7\x38\xd1\x60\xfd\x14\x0d\x94\x74\x75\x83\xe4\xef\x84\xc6\x97\x4a\x89\x82\x82\xdf\x7b\x35\x83\x81\xf0\x95\x78\x29\x77\x0d\x36\xf6\xd0\xc4\x25\x86\x7c\x2a\x26\x8f\x84\xc0\x98\x81\x55\xb6\xd2\x6b\x6d\xd5\x7c\x5d\x99\xe8\x47\xb4\xea\x41\x99\xe8\xb4\x49\xd6\x3c\x47\xd5\xf8\xd7\xfb\x1a\x7b\xb4\xec\x4f\xe8\x7d\x8f\x1f\x1a\x54\xb5\x6d\x5e\xaf\x53\xb5\x67\xfc\xbe\xc0\xd0\xee\x7d\x03\xe0\xa8\x35\x44\x3b\xa1\x92\x37\x95\x0d\x91\x7f\xb5\xf6\xbe\xdd\x52\xde\x82\xf6\x1a\x08\x62\xf9\x90\x86\x3b\x46\xae\xba\x5b\xb7\x93\x28\xa7\x5a\x0f\x5c\x03\x9f\x5f\xd6\x67\x01\xb8\xc2\x8c\x2b\x97\x6a\x75\xd4\x9a\x6b\xd5\x75\x2e\xc1\xa5\x58\x59\xcb\xc4\x51\xc5\x0f\x1b\xea\x8d\x6f\x80\x58\xe1\xb7\xc7\x1d\x98\x36\x21\x31\x0f\xe7\x18\x05\x82\xd3\x2d\xba\xf0\xdd\xc3\x0f\x23\xd4\xec\x1b\x32\x77\xd0\x09\x6e\xce\xad\x19\x8c\xce\x42\xd7\x04\x0e\x73\x3d\xef\xf2\xe4\xb6\x41\xfb\x91\x9c\x38\x24\x6e\xdb\x51\x6e\x39\x55\xfc\x8b\x0f\xa1\x2e\x34\x20\x9f\xe7\x15\xfc\x7e\xf9\xe1\x36\x06\x75\x49\xfc\xda\xa3\x64\x25\x92\x7b\x70\x24\xe2\x95\x87\x87\x81\x78\x08\x00\x69\x1e\xaa\xc9\x96\xda\x61\x84\x36\xbe\xc0\x8e\x2f\x32\xa5\x0b\x96\x4a\x93\x67\x7c\x03\x68\x0c\x85\x29\x9a\x01\xc9\xe1\x73\x9b\xad\x28\xd8\x17\x47\xe9\xbf\xd2\x76\x55\x4e\xc2\x7b\x43\xe7\x32\x60\xee\xc3\x64\x6e\xcb\x03\x66\xc4\x9a\xab\x52\x26\x53\xb5\x16\x5c\xc5\xe0\x5d\x42\xa3\xd8\x49\x4e\xb5\xa0\x52\x11\x8b\x85\x48\xca\xc0\x35\x0d\x46\x88\x9f\xa9\x7d\x67\x70\xd8\xb7\xfb\x93\xb7\xf3\xd3\x7f\x70\x15\xaf\xe5\x1a\xa0\xe1\xb4\x87\xe8\x6a\x7c\x62\x94\x15\xaa\x0f\xd3\x95\xeb\x8c\x5a\xf8\x97\xdb\x53\x6c\x2e\xca\x47\x01\x54\x4a\xc4\xfd\xd0\xa6\xe3\x1f\x5c\x81\xea\x90\xbc\xc9\x13\x4f\xbd\x48\xcc\xfa\x5b\xdc\xc9\x74\xc0\x62\xcc\xa9\xe7\x7c\x54\x0d\xf2\xc6\x17\xc4\x46\x01\x5e\xd0\x17\xe4\xcf\x7d\x01\xd7\xb4\xb5\x82\x8b\x07\x91\x4e\x55\x9d\x51\x93\x74\xc6\x70\xe0\x58\xa8\xad\xfa\x3c\xd2\xc6\xcd\x71\xaf\x18\xd7\x39\xb0\x88\x05\xfe\x70\xcf\xb7\xb0\xa3\xd6\x2b\x7e\xf4\xe7\xb4\xaa\x5c\x99\xe9\xbe\xc6\x70\x28\xbf\x4a\xb5\x13\xa9\xd4\x72\x0d\xf8\xe4\x37\xa5\xe7\x0b\x44\x32\x61\x8f\x93\x27\x7f\xfd\x56\x04\xa0\xad\x8d\xa9\x72\x44\x3a\x8b\x2a\x43\x82\xf8\xae\x74\x25\xa2\x0f\x75\x49\xbf\xbf\x5e\xf2\xb7\xf7\x37\xb3\xa8\x5c\xad\xc7\x27\x45\x39\x0b\x28\xeb\xdc\xae\x17\xca\x54\xa0\x52\xb8\x4a\x95\x10\x90\x59\x8a\x12\x6e\xf3\xb4\xca\x10\xab\x0a\x91\x24\xa0\x22\xe5\x59\xc6\x64\x69\xa6\xca\x33\xa7\x62\x4e\x12\x48\x58\x17\x6a\x4a\xc9\xe4\x82\x2e\xa0\x59\xf8\x99\x2b\xd0\xc3\x64\x22\xcb\xad\x4c\x8f\x4d\x5c\xdd\x2d\xcf\x05\x47\x1a\x03\x5c\xb6\xa9\x8a\x6d\xae\xe6\x22\x50\xce\x3f\xcf\x24\x37\xcf\x91\x7e\xbf\xc3\x71\x6b\xbb\x78\x12\xc0\x08\xbf\xce\x1a\x5c\xae\x70\x3b\x8e\x96\xa8\x93\x08\x90\x6d\xad\x9a\xd2\xb8\xd8\x51\xb0\x5b\x21\x9d\x29\xa9\x32\x5e\x60\x1e\xd7\xa2\xca\x98\x5c\x44\x35\xe8\x61\x0d\x90\x37\xd3\x2e\x57\xa2\xe1\xae\x76\xd1\x23\xc3\xd7\x22\xa2\xec\x21\xf7\x4e\x16\x81\x9d\xb0\x18\x08\xa2\x68\x6c\x5b\xaf\xc6\xec\x2c\x30\x03\xe3\x0a\xc3\x99\x88\xf8\xb6\xa5\x41\xf1\xe7\xc7\x1b\xb1\x4d\xc0\xd7\xd9\x21\x6a\x65\x4f\xa4\x3f\x75\x1d\x2b\x08\x75\x7b\x86\x21\xa9\x5c\xd5\xa6\xdd\xc9\x05\xad\x6c\x33\xf6\xd5\x06\xbe\xca\x1f\x88\x8e\x01\xba\x5b\x61\xe0\x20\x63\xae\xf2\x27\x0c\xd4\x73\xc1\xb7\x0c\x76\xbd\xa3\xe4\x3d\xac\xe3\xc0\xa1\x46\x05\x24\x87\x0f\x34\xda\x39\x31\x6e\xae\xcf\xcc\x2e\x79\x39\x14\x44\xe7\x73\xf6\x86\x0f\xb4\x15\xb0\xd8\x67\x98\x20\x3d\x06\x8e\xf3\xc4\xbe\xf3\xc4\x81\x9a\x6a\x7e\x84\x02\xda\x97\x82\x02\x51\x21\x78\xb2\xaa\xd3\x67\x38\x92\x6b\xff\x05\x90\x3e\x09\xe7\x71\x38\xf3\xc7\x49\xd8\x73\x50\x43\x93\xd9\xe1\x8f\xd9\x07\x25\x10\xe2\xaa\x17\xd1\xa5\x42\x03\xa0\x62\x9b\x50\x67\xc8\x4b\xb9\xb9\x1d\x98\xba\x77\xac\x62\xf6\xc8\x8d\x18\x0f\xad\x83\xd4\xc3\x6d\x83\x52\xa4\x43\x97\x6c\xab\xca\x75\x80\x7a\xd9\x8f\x9b\xa3\xdd\xe6\x8f\x90\xe2\xc3\x25\x40\xdb\x77\xf4\x5f\x96\x9d\x29\x1f\xde\x8a\x73\x79\x1e\xf5\x7d\xc3\x10\xf7\xbd\x6f\x7e\xaf\x56\x75\xb8\xf0\x80\xda\x98\x77\x97\x67\xe7\xef\x26\x97\xf5\xd2\x93\x7f\xb8\x3b\xbf\xab\xff\xe5\xfa\xee\xf2\x72\x72\xf9\x7d\xfc\xa7\x9b\xbb\xd3\xd3\xf3\xf3\xb3\xfa\x73\xef\x4e\x26\x17\x8d\xe7\xec\x9f\xea\x0f\x9d\xbc\xfd\x70\xdd\x28\xa1\xd9\x52\xff\xf2\x76\xf2\xfe\xfc\x6c\xf6\xe1\xae\x56\x85\xf3\xec\x3f\x2e\x4f\xde\x4f\x4e\x67\x2d\xe3\xb9\x3e\x3f\xfd\xf0\xd3\xf9\xf5\x9e\x5a\x99\xe1\x7b\x5b\xa7\xf4\x39\x60\x95\x4f\x2e\xa9\x7a\xc2\x16\x85\x14\x2a\xcd\x36\x98\x24\xe3\x2c\xdb\x06\xea\xbd\x11\x70\xd7\xd5\x21\xb9\x2e\xb7\x2b\xc1\xf4\x83\x28\x80\x00\x0d\x5b\x23\xb6\x94\x40\xb6\xd0\xec\xb5\x10\x65\xb1\x1d\x15\xd8\x99\x50\x58\x16\x1b\x9f\xb2\xba\x6b\x38\x81\x3c\x93\x3a\x61\xb9\x28\x76\x8d\x05\x34\xa3\xa2\xca\x4b\x39\xef\xce\x5e\x1a\xcc\x39\xd0\xd7\xf6\x46\xaa\xe7\x76\x5e\xbc\xcb\x76\xc1\x58\x4b\xe2\x39\x24\x43\x00\x5a\x78\x6a\xa5\x60\xff\xb6\x43\x55\xe7\xd5\x3c\x93\x09\x93\x69\xd3\x9f\x42\x54\x20\xe0\x32\x6e\x32\xc2\xe7\xa2\x00\x55\xd5\x5a\x00\x79\x21\x8e\x78\x55\xae\x90\xbd\x94\x72\x86\xa8\x7e\xcf\x54\x19\x91\x14\x02\x63\x01\xc2\x80\x93\x16\x2b\xc1\x46\x3d\xc1\x60\x88\xbc\x27\x05\x9e\xc0\x71\x54\x9d\xa7\x23\x46\x80\x6f\x62\xeb\x03\x9c\xa4\xf8\xfc\xce\xa9\xa1\x11\x4b\xac\x35\x1b\x21\xe2\xe0\x86\xc7\x1f\x5d\x3d\x59\xfb\xdd\x56\x52\xfb\x7a\xaa\xb8\xc8\x2e\xc9\xaa\xfd\x33\xf6\xed\xb1\x78\xa3\xd4\xb3\x8e\xa8\x75\xfa\xe9\xb4\x10\x70\x89\x10\xa4\xc1\xf9\x2f\x00\xd2\x45\x49\x59\x90\x8b\x65\x4d\xb5\xb9\x58\xf1\x6c\x81\x1a\x87\x5d\x9a\x76\x42\x15\x6c\xff\x56\xdf\x0b\x75\x8d\x0b\xf6\xab\x88\x43\x85\x96\x4f\xa0\x73\xf2\x1e\xa1\xe0\xc2\xb4\x63\x74\xbb\xca\xa5\xc4\x82\x32\x55\xa2\x9d\x10\xfd\x8c\xb9\x57\xa1\x58\x83\xcb\xa6\x5d\x2c\xe4\x27\xdb\xe0\x54\x89\x56\xba\x7a\xc0\xd1\x39\x62\x4d\x2f\x97\x01\x33\x88\xec\x84\xf7\x42\x41\x29\x59\xe0\x45\xdc\xbf\x67\x87\xf9\xcf\xb7\xd7\x62\x87\x43\x1f\x7c\x7e\xb2\x56\x61\x37\x8e\xf2\xb8\x79\x2a\x31\x19\xce\xd3\x8f\xc0\xbe\x39\xbd\x98\x9c\x5f\xde\xce\x4e\xaf\xcf\xcf\xce\x2f\x6f\x27\x27\x17\x37\x7d\x8f\xdf\x73\x24\x30\x36\x4e\x5f\x33\x8f\xcf\x4b\x88\x63\x3a\x79\x21\x8b\xdf\x7f\x54\x38\x76\xb0\x24\xfb\x47\x2f\xd3\x7c\x96\x4a\x93\xd8\xeb\x6f\x33\x13\x2a\x85\x3a\x1f\x4f\xda\xaa\xed\x4d\x35\xbf\xc2\x3f\xc1\xfc\x13\x4e\x82\xe0\x6d\xf7\xe0\x76\xb4\xff\x1d\xd0\xa8\xe0\x86\x2c\x84\x3d\xfc\x69\x8d\x5e\x65\xbc\xbf\xb8\x9b\x6d\xee\xb0\x6f\xab\x37\xd1\xfc\x26\x1c\xaf\x34\xa6\x02\x16\x17\xf7\x18\x40\x71\x3b\x66\x85\xc8\x97\xe3\x62\x23\x32\x2a\xc0\xcf\xa4\x99\xaa\x35\x57\x29\x2f\x75\xb1\xe9\xf8\xc4\x7e\xc2\x33\x3e\x36\x75\x11\x1a\x5f\xd9\x4a\x88\xd4\xad\x02\x3e\xca\x55\x73\x2b\x61\x49\x92\xdb\x0f\x3f\x9e\x5f\xde\xcc\xce\x2f\x7f\x9a\x5d\x5d\x9f\xbf\x9b\xfc\xd1\x23\x84\x73\x6e\xda\xea\x6a\xe7\x85\xb0\xd2\xc5\x31\xbc\xb5\xca\x17\xac\x56\xed\xda\xa1\x0a\xa5\x72\x31\x55\x4e\xb2\x14\xa1\xf9\x55\xa1\xab\xe5\xaa\xbd\xa1\xe6\x28\xaf\x4e\x6e\x7f\x78\xd2\x30\x81\x7f\x13\x4b\xda\xe2\x69\xdb\x46\x4a\xcb\x05\xc9\x3d\x84\x57\x37\x86\x07\x2c\xb2\xf0\x68\x5b\x94\xa1\x43\xa2\x3d\xc9\x7a\xd9\x16\x5a\x3b\x95\xff\x96\xc7\xbb\x36\xd0\x6d\x24\x37\x6b\xd7\x08\x20\xf7\xb1\x2e\xfa\x56\x6b\x6f\x5a\xfe\x56\xbb\xc1\xbe\x39\xca\xc4\x72\x29\x52\xdc\x5e\xcd\x86\xc9\x07\x47\x22\x30\x09\xf7\x7a\xdb\x2c\x52\xed\xe2\x03\x2e\x66\x8f\xf7\xea\x2f\xc0\xaf\xfc\x2b\xed\xb2\xe2\x94\x38\xb4\x20\xbe\x59\x72\xd5\x11\x48\xde\x9f\x0a\xd7\xde\xfc\x87\x82\xf9\x2c\x45\x72\x98\xb8\x90\x41\x38\x07\x5d\x80\x97\xc3\xf1\xad\x7e\x1c\xd7\x22\xcf\x78\x22\x7c\x6e\x0f\x92\x1f\x83\x5d\xff\x94\x00\x1e\x55\x88\x56\xe4\x6f\x89\x2a\x47\x87\xa2\x78\x6d\x5b\x00\x3c\xb7\xd7\x4e\x1e\x7f\x7e\xd7\xca\x4e\xc3\x8d\x28\x4f\xc1\xd1\x8c\x25\x3a\x29\x25\x04\x7d\x51\x50\xf7\xb6\x13\xae\x3f\x68\x3b\x34\x7a\xfe\x89\x16\x1e\x6d\xe6\xba\xa3\x9b\x3b\x52\x61\xbf\x3d\xbc\xea\xb8\xcb\x5f\x58\x96\xc5\x4e\x1e\xf2\xe7\x08\x47\x5c\x15\x7a\x2d\x8d\x38\x29\xcb\x42\xce\xab\xb8\x10\xf3\x40\xc0\x5c\xcd\x38\x09\x1f\x9c\x17\x3a\xad\x12\xc7\x1c\x06\x5f\x1b\x60\x3f\xe4\xe5\x73\x5a\x47\xca\x8e\xec\xee\x23\xcb\x4d\xa4\x47\x90\xe8\x82\xd4\x76\x6d\x31\x36\x27\x18\x3b\x7c\x7f\x57\xee\x2a\x7f\xe6\x74\xd9\xee\xc9\x74\x7b\xa0\x5f\x06\x3c\x73\x8f\x83\x06\xdc\x81\x9a\xa2\xed\x32\xe7\x18\x40\xaf\xeb\x28\x5d\x44\x41\xfe\xaa\x19\x06\xee\xea\x87\x8d\xa9\x67\x92\xa1\xde\xb0\xe2\x06\xd5\xf9\x32\x59\xd5\x07\x0e\x5f\x53\x27\x4c\x6e\x0e\xd7\xab\xc7\x87\xb9\x4d\x7a\x85\xd1\x46\xe8\x68\x90\xe4\xd8\xae\x15\xbf\xf5\x95\xbc\x3b\xfd\xf7\x98\x72\x31\xfb\xa5\x12\x43\x0a\x5a\xbb\x54\x8d\x3f\xc0\x6b\x7b\x01\x29\x12\xb1\x5b\xde\xf7\x0a\x99\x26\x46\xf0\x22\x59\xb1\x39\x37\xc4\xc4\x18\x13\x45\x60\xe5\x7d\x26\xed\x5b\x3c\x29\xa9\x12\xb1\xeb\xd6\x55\x23\xbe\x75\x50\x48\xab\xd6\x06\xaf\x47\xdb\x76\xdb\x37\x01\x43\xbc\xd7\x6e\x18\x93\xb3\x41\x31\x84\x58\x0f\xf7\x76\x32\x5e\xb1\x70\x3b\x65\xbc\x52\xc9\x8a\xe5\x19\x47\x2e\x8d\x15\x37\x28\x28\x1c\x42\x87\xcf\x65\x26\x4b\xa0\x48\xc3\xc0\x71\x63\xdf\x5a\xe3\x99\x17\xf7\xae\xd2\x04\x0f\x7c\x78\xbb\x44\xc9\x81\x48\x68\xff\x55\x5f\x14\x0b\x1d\x04\x61\x2c\xdc\xfb\x1d\x76\xc2\x41\x87\xe5\xb0\xd7\x1b\x1c\xf6\xf0\x2d\xc3\xa2\x43\xd4\xe2\x55\xf3\xf5\xc6\x7c\x53\xa2\xd7\x61\xb2\x7b\x47\x0a\xd8\x67\x01\x9d\x87\x84\xba\xdd\xd7\xe8\xf6\x07\xb7\x28\xc1\xc3\x81\x4f\x54\x33\xea\x49\x49\x6f\x58\x51\xaa\xf5\xdc\x2f\x32\xcd\xcb\xdd\x09\x75\x58\x20\xaa\x33\xa1\x4e\x57\xf3\xae\x92\x24\x38\xaa\x5e\xe9\x7a\xad\xef\x3b\xf1\xff\x5c\x3e\xf7\xf8\x1e\xe5\xa5\x80\x34\xc0\x03\xb3\x08\xdb\x1b\xa7\x04\xee\xc1\x64\x1c\x7e\x1b\x84\x32\x85\x5e\xf7\x07\x48\x6a\xcb\x71\x6a\x2a\x79\x07\xa5\x7b\x1e\xb6\x5e\x52\xed\xd9\x4a\xfb\x2b\x9f\xfd\xee\x9b\x3e\xd9\x88\x7f\xa8\xb8\xbd\x00\x3e\x2c\x6e\x90\x1b\xed\x90\x8f\x2e\xe5\xf6\xb1\x6a\x17\x03\xcd\x5e\x6f\xeb\x51\xda\x78\xe3\xf7\x26\x7a\x68\xfb\x9a\x1b\xfb\x76\x7f\xb1\x3b\xa9\x79\x63\xf3\x42\x6a\xe0\x08\xd3\x8b\x9a\xae\xd1\x22\x89\x5b\xfb\x3d\x60\x26\x7f\xa9\x44\x25\xec\x06\x9a\x57\xe9\x72\x3b\x58\x32\xc0\xe0\x0a\x9f\xb4\xd2\x8f\x6c\x5d\x25\x2b\xe6\x1a\x67\xa9\xc8\xf8\xa6\xae\x46\x59\x5b\xa3\xd4\xc0\x1e\x3d\x88\x2a\x31\xe2\xfc\x4f\x2a\x53\xea\x35\xe0\xd4\x43\xbb\x45\xa5\xe0\x94\x33\xee\x4e\x57\xdb\x85\x56\xe3\x32\x7d\x62\x84\xfc\xe6\xea\xfc\x74\xf2\x6e\xd2\x08\x4f\x9f\xdc\xfc\x18\xff\xfb\xe7\x0f\xd7\x3f\xbe\xbb\xf8\xf0\x73\xfc\xb7\x8b\x93\xbb\xcb\xd3\x1f\x66\x57\x17\x27\x97\xb5\x20\xf6\xc9\xed\xc9\xcd\xf9\xed\x9e\x38\xf5\x76\xaf\xdd\x0b\xc1\x23\xaa\x55\x87\x9c\x77\x75\x84\x9c\xbb\x8a\x7a\x7d\xc3\x4e\x1c\xf1\x6c\x8d\x1a\xd9\x61\x0d\x00\x9c\x94\x21\xc6\x12\x21\x09\x67\xbc\xe4\xa7\xbc\xe4\x99\x5e\x8e\xd9\x09\xa3\xbc\x02\xcc\x17\x31\x56\x25\x24\x56\x4e\xbb\x3a\xd8\x84\xd5\x0b\x93\xe0\x0a\x0a\x85\xd2\xf5\x82\xf8\x70\x33\x11\x97\xd4\x72\x49\x9e\x53\x75\xfe\x20\x54\x59\x81\xa2\xcd\xb3\x8c\x51\xb7\xee\x81\x88\x10\xc5\x8d\xd2\xc8\xb5\xcc\x78\x11\x6a\x5a\x7f\xa0\xb6\xc0\xd8\x75\x63\xf5\x84\x7c\xdb\x6c\x1b\xce\x1f\x70\x37\x61\x30\xee\xd3\x8b\x09\x28\xba\x49\xe9\x0a\x36\xba\xce\xa7\x0a\xf9\x56\xa9\xc7\x35\x87\x1c\xa6\x52\x93\x83\x1e\xbb\xa7\x87\xbb\x37\xe2\x41\x8a\x95\x0b\x65\x7d\x2e\xc7\x84\x1f\xa4\xfb\x8f\x73\x55\x16\x9b\xde\xda\xeb\x2d\x90\x59\x18\xb0\xeb\x08\x12\x59\xaf\x73\x8d\xfe\x53\xe6\x5a\xbf\x04\x95\xd6\xe1\x75\x29\xbc\xe7\xa3\x78\x08\x8f\xea\x30\x89\x32\x7b\xf3\xfe\x56\xe7\x21\x26\x40\x83\x59\x98\xeb\x4a\xa5\x86\xc0\x9b\x6b\xa9\x8e\xd7\xfc\xd3\x2b\xf7\xa5\xc8\xdf\xe3\xab\xcd\x01\x59\xa4\xc8\xac\x3d\xb8\xb1\x42\x6e\xf7\x74\x4d\xd5\x8e\xf9\xda\x6f\x13\x38\xc9\x0a\x2e\x83\xe0\xdf\x41\x18\xea\x83\xd8\xb4\xad\xdf\x56\xc5\x50\x16\x97\xbd\x80\x46\xf2\x42\xd8\x07\x3d\xc6\x35\x43\xe8\xb2\xff\x37\xe4\xb2\xd4\xaa\x9a\xb7\xcb\xee\x18\x36\x72\xd0\xb1\x69\x05\xac\xf4\x57\x7c\x7a\x97\x7c\xa5\x9e\xec\x9a\x21\x7c\xc5\x45\x4e\x28\x77\x87\xe2\xf2\x76\xb1\xfe\xa2\xe7\x6c\x01\x89\x6c\xe4\x27\x28\x04\x44\xca\x60\x29\x5c\x8d\x22\xa0\x14\xdc\xc2\xc4\xb8\x2d\x90\x09\x03\xf1\x23\x65\x8d\x6a\xf1\x4b\x45\x10\x80\xd7\x5f\x0f\xbb\x67\x4b\x2c\x74\x81\xcc\xe6\xcd\x12\x10\xfe\x2e\x87\x71\x55\x4a\xb6\xf1\x8c\x5e\x57\xca\x5e\xc5\xcf\x81\x9e\xea\x1f\x1e\x6f\x74\x4a\xff\xdc\x9b\x6b\xe6\x22\x3b\x05\x3e\xff\xd9\x48\xab\x7f\x6a\x70\x55\x53\x77\x90\xd9\x40\xad\xc7\x17\xda\x9c\x27\xf7\x8f\xbc\x48\xd1\xfd\x0f\x70\xa6\x31\xfb\x41\x3f\x8a\x07\x51\x8c\x58\x22\x8a\x92\x13\x55\xa3\x01\x3c\x07\x1c\x28\x6a\x67\xaa\x20\xd1\x07\x79\x2f\x95\xa9\x0a\xc1\x4a\xb9\x5c\x95\xa2\x88\xd1\x38\xba\xb0\xe2\xa8\x44\x96\xde\x5c\x24\xc4\x45\xd7\x31\x01\x8b\x8c\x3f\x6c\x73\x4f\x3e\x85\x44\x87\x4d\x7c\xb6\xb2\x0b\x77\xbb\xba\x6f\xbb\xf0\x53\x34\x61\x24\x34\x91\x3d\x6c\xc4\x96\x3a\xe3\x6a\x39\x1e\x8f\xa1\xc6\xc9\xab\x41\x1b\x9d\x1a\x8c\x03\xe8\x1e\xa5\x9f\x69\x6d\x44\xb6\xf1\xfc\x69\x3e\x8f\x0a\x80\xbb\x9f\x4a\xa1\x8c\x44\xc7\x56\xcb\xf6\xbf\x69\x06\x97\xbe\x6c\x2c\xae\xdd\x3c\x1f\x9c\xa5\xdb\xd1\x0e\x94\x91\x1d\xd0\x12\x3e\xdf\x6e\x79\x3d\x29\xeb\xbc\xbd\x2d\xa5\xd5\xd0\x54\xea\x9f\xb4\xec\x80\x82\x3c\x89\x67\xb5\xb5\x25\xe2\x80\x7a\x52\xfa\x69\xfb\x9c\x6d\x65\x04\x1f\x90\x0c\xbc\x23\xaf\x77\x60\x4a\x6f\x1f\x47\xc0\x4d\x73\xb9\x07\x1f\x8b\xfd\x95\xed\x5a\x3f\x68\x60\xca\x74\xe0\x36\x18\xa2\x3a\x61\xd6\x65\xb6\x01\x8b\xcb\x27\x50\x43\x78\x20\x8d\xa2\x4a\xb5\xa0\x19\xa4\xf2\x85\xa8\x9b\xe7\xe6\x8b\x82\x6c\xa6\xd4\x05\x5f\x0a\xb6\x16\xa9\xac\xd6\xad\xc2\xc6\x0f\xf7\x10\xf8\xa8\xce\xaa\x75\x37\x4b\xea\xa1\x0a\x74\x18\x24\xfe\xd7\x29\x74\xd7\x9f\x43\xc7\x67\x46\xb8\x02\xa3\x34\x5e\x0c\x21\xd1\x5c\xdb\x9b\xb2\x90\x06\x08\x86\x9f\x92\x39\xeb\x9b\xc1\xa6\x21\x00\xbf\xc9\xd1\xc9\x5e\x5b\xdd\x23\x17\x19\xa5\x57\x0c\xae\x2a\x44\xed\xbb\x2f\x85\x26\x28\x75\x78\x99\xc1\x42\x57\x5b\xdc\x53\xbd\x99\xdd\x54\x54\x74\x84\x50\x73\xd0\x20\x41\x7b\x4a\xcd\x16\x2e\x17\xf3\x5e\x44\xac\x8f\x29\x94\x23\x79\x44\xca\xa7\x1f\xbf\x35\x0e\x04\x44\x38\xad\xa0\xb1\x94\xa1\x13\x8c\x00\x3d\xbc\x76\xf0\x3c\xfc\x42\x6c\x02\xb8\x19\x53\xae\xca\xd6\x06\x02\x7a\x15\xda\xc2\x57\x7e\xe2\x55\xd6\xfe\x38\xb5\x0f\x8f\x62\xb9\xda\x93\x9f\x6f\x18\x4e\x35\x95\x8e\x28\x76\x0d\x34\x6a\x64\x3f\x40\x10\xa6\x6b\xf6\x04\x4d\xb0\xb6\x0e\x38\xe9\xae\x72\x89\x9d\x76\x51\x26\xab\xa0\x79\x00\x37\xa5\xe7\xd4\xa4\x5a\xe4\xf4\x9d\xeb\x50\x0c\x03\xb1\xd7\x31\x88\x55\x2e\x95\x8e\xab\x48\x69\x25\x20\x14\x67\x05\x90\x8e\x9b\x65\xb2\xdc\x8f\x14\x1c\x48\xc8\xb8\x6f\xab\x95\x1a\x11\x60\xf4\x9d\xb5\x38\x35\x98\x14\x12\xe9\xaa\x1c\xcc\x1a\x6d\x22\x2a\x6d\xdd\x2c\x92\x50\x27\x00\x99\xaa\x7a\x57\x5b\x93\xe4\xa0\x7c\xb2\x10\xc8\x6d\x6e\xac\xf6\x56\xca\x07\x7b\x50\xb7\xb7\xb5\xdf\xa0\x20\x01\xb6\xf7\x1e\x85\x6d\x59\x44\x90\x7e\x2f\x36\x26\xae\xa3\x4d\x3b\x8a\x75\x6d\x48\x69\xbf\x87\xd6\x6b\xff\x52\xc0\xc4\xcd\x8a\x50\x0d\xb3\xdf\x5d\x86\x9d\xbe\xb7\x2f\xef\xc0\x08\x6f\x35\x6e\xf7\x60\x48\x76\x0d\x3e\x45\x12\x13\x61\x9e\x69\x0d\x03\x0c\x10\x40\x9e\x31\x8c\x33\xce\x5c\x02\xc3\xd7\xda\xb7\x53\x45\x35\x14\xa2\x4b\xce\x0a\x9c\xed\x65\xa3\x0c\x7c\x64\x6e\xdf\xd4\xd8\x83\x80\x55\xd6\x31\xec\xd6\xbb\x74\xd1\x65\x28\x49\x08\xdb\x03\xba\xc6\x1c\x65\xe7\xc3\x6b\xed\xf0\x89\xd8\x52\x5a\xdc\x4e\x3c\x69\x94\x08\x88\x4f\x12\xb1\x2a\x16\x64\x47\xeb\x27\x11\x76\xfa\x4e\x54\x2b\x94\xd3\x01\x39\x6f\xce\x4f\xaf\xcf\x6f\xbf\x18\xde\xd4\x81\x3d\x07\x03\x4e\xdd\x38\xcf\xce\xdf\x9d\xdc\x5d\xdc\xce\xce\x26\xd7\x9f\x03\x71\x4a\x3f\x3d\x01\x72\x7a\x43\xa5\x59\x4e\xb5\x2a\xc5\xa7\x83\xee\xe4\xa2\x52\x33\x3e\x20\xf5\xc9\x17\x67\xda\xa5\xee\x60\xa3\xdb\xa5\x65\x7c\xdd\x17\xa2\xf5\x25\xd4\x89\xab\x24\xb3\x08\x4e\xc3\x85\xcc\x32\xc8\x04\xf7\xee\x75\xca\x32\xb4\x93\x0a\xf2\xc7\x31\x19\x93\x4c\x9d\xaa\x79\xad\xf2\x0f\xb8\xfc\x56\xd6\x08\xc6\x1c\xf0\xdc\x4e\x40\x21\x21\xc3\x76\x57\xf5\x99\xa5\x54\x22\x0c\x03\x56\xcd\x8e\xaf\x93\xa1\x9f\x16\xf1\x73\x22\xeb\x48\xf1\xea\xab\x6b\xba\x1d\x57\xdb\x9f\x4e\xfd\x74\x3f\xfa\x2f\xc4\x43\x2c\x15\x2a\xa6\xb5\xd3\x7c\xd3\xbe\x75\x8f\xc3\x11\x80\x79\xb7\x2b\xc9\x21\x06\x61\x4a\x5e\x94\x61\x21\x69\x21\xb0\x26\x5e\x08\x4e\xdc\x4b\x44\xa0\xe9\x45\x63\x9e\xad\x28\xb4\x73\x2d\x21\x52\xc1\x89\xdc\x26\xc9\x2a\x53\x8a\x82\xdc\x26\x27\x3f\xdf\x4c\xd5\x5b\x7b\x7d\xbd\xa2\x5b\x88\x2a\x97\x61\x17\x88\xd4\xd1\xb5\xfe\x9d\x86\x12\x4b\xb0\x97\xe8\xa3\x5e\x0b\xae\x0c\x83\xa3\x91\x65\xa2\x08\x3b\x03\xc7\x23\x44\x4a\xf5\xc3\x81\xe5\x3a\xbc\xff\x8a\x11\xb8\xd5\x4e\x85\x1d\xaf\xaf\xa0\xb6\xd6\xe5\xf6\x7e\xea\x22\x1a\x00\xc4\xf9\xe7\xdc\x39\x2d\x89\x4f\x7d\x77\x11\x81\xf5\x5b\x37\x51\x3d\x0d\xa9\xd7\x5e\xba\xc5\xe6\xfe\xbe\x95\x9e\x71\x2b\xf5\xb8\xd7\xe3\x5b\x82\xad\xb4\x15\xa0\xbe\xac\x57\x08\x33\x7b\xa2\x93\x0c\x50\x6e\x76\x1a\x5b\x6f\x9d\x46\x61\xdd\x43\xb0\x1f\xd0\xd4\x61\x08\xed\x93\x16\x46\xa5\x50\xc1\xd1\xc5\x76\x76\xd6\xec\xfd\x3c\xcc\x85\x27\x0e\xab\xaa\x74\xe9\x38\x48\x3c\x3c\x94\xb0\xae\xf6\x01\x4f\x7e\xb3\x73\x8c\x44\x28\xe3\xb4\x94\xd9\x81\x75\x2f\x6f\x63\x4c\x6d\x2d\x2b\x1b\x47\x11\xf3\x39\x38\x0e\x07\xcf\x01\x33\x64\xf3\x3d\xbd\xb2\x72\x7d\xcf\x79\x3e\xd1\x27\x81\x1d\x2e\x3f\x5c\x9e\xc7\x50\x85\xc9\xe5\xed\xf9\xf7\xe7\xd7\xb5\x7c\xfe\x8b\x0f\x27\xb5\x9c\xfc\x9b\xdb\xeb\x46\x2a\xfe\xdb\x0f\x1f\x2e\xce\xb7\x30\x0f\xe7\xb7\x93\xf7\xb5\xc6\xcf\xee\xae\x4f\x6e\x27\x1f\x6a\xcf\xbd\x9d\x5c\x9e\x5c\xff\x47\xfc\x97\xf3\xeb\xeb\x0f\xd7\x8d\xfe\xee\x4e\x77\xa3\x27\x6a\x9f\xd1\xee\xfe\x09\xc1\xd9\x88\x5a\xb5\xf5\x18\xd7\x2b\x4f\x1f\x70\x8a\x7b\x22\xcf\xf6\x6d\x47\x97\xae\x9f\xc6\x95\x48\xf0\x60\xd8\xa1\x0e\xda\x75\xcf\x5f\x2a\xbb\x36\x75\x39\x3f\x4c\xec\xd9\x5b\x6d\xf6\x1c\x48\xc0\x9d\x0a\xa0\xef\xa5\xe1\xb8\xa5\xca\xf4\x38\xb5\x39\x44\xb0\x96\xbc\xb3\x54\x9b\x4a\x3f\xfb\x48\x5d\x1f\xfb\xc6\x19\xa8\xbc\xf6\x30\x22\x3d\x17\x1b\xca\xae\x41\x47\x9d\x39\xb2\x01\x99\x3a\x45\xc1\xfd\x18\xc3\xee\xed\x67\xd8\x9d\x13\x6d\xc7\xae\x9a\xc6\xed\x69\x4b\xbb\xd9\xf7\x86\x8e\x9f\x3a\xd9\x1e\x7b\x83\xaa\x65\xc0\xb8\x81\x32\x6b\xc8\xb8\x6f\xb9\xb9\x1f\x3a\x6e\xea\x64\x7b\xdc\xa0\xf6\x3d\x69\xdc\xe0\xf0\x2e\xdb\x69\x74\x06\x08\xb1\xb8\x99\xfa\xf0\x7c\x8e\xbf\x7f\x24\x2a\x1d\xde\x6f\x8c\xf6\x00\x7c\x5e\xf3\x32\xe7\xfd\x03\x19\x30\x1a\x7f\x5c\x79\x83\x55\xfe\x06\x7e\x85\x2f\x9c\x17\x82\xdf\xa7\xfa\x91\xd6\xa3\x89\x0c\x65\xbd\xa4\x79\x7d\x82\xac\x0c\x77\x57\x44\x59\x50\x04\x0a\x51\x6a\xa1\x79\x80\xc9\x49\xe2\x45\x47\x1d\x2c\xaa\x3a\xdd\x24\x22\x02\xea\x27\x15\x56\x67\xaa\x50\x9b\x6f\xab\x5c\x6d\x57\xd5\x8e\x88\xa8\x43\xe0\x53\xbd\x0e\x8d\xc1\x75\x13\x2d\x2c\xe5\x01\x55\x05\x80\xe9\xe6\x05\xd8\x4c\x30\x21\x52\x81\x33\xb9\xb0\x06\x4f\x21\x12\x69\x44\x54\x2c\xaf\xf5\xc6\xfe\xe5\xb0\x52\x28\x25\x2f\x5b\xdd\xae\xbd\xfd\xe1\x3c\x29\x2b\x9e\x31\x48\x57\x22\x06\x46\xf4\x55\xe2\x5f\x12\xae\x30\x35\xa6\x14\xeb\x1c\xb2\xfa\xe3\x9c\x8e\xa9\xfa\x19\x80\x12\xb8\x04\x2f\x0c\xfb\x1e\x20\x0f\xee\x61\xba\x84\xd7\xbc\x84\xbb\xf8\x0f\xd8\x87\xff\x6d\x3c\x55\xb5\xe2\x53\xd1\x5b\xb5\x3a\x54\xe3\xa9\x72\xd5\x3a\x52\x9d\x98\x31\x58\x7c\x63\x5d\x2c\x8f\xa9\x8c\xbc\xdd\xec\xfa\x7e\xae\xf5\xfd\xb1\x50\xc7\xe0\x93\x2a\x8f\x79\x55\xea\x63\x80\x4b\xe1\xfa\x9b\x63\x57\xef\xd9\x15\xcc\x36\xc7\x2b\xf9\x20\xe0\xff\x8d\x57\xe5\x3a\xfb\x27\x93\xaf\x3e\x1d\x2d\xb3\xe2\xc8\xbe\x7b\x14\xbf\x7b\xe4\xde\x3d\x72\xef\x1e\xd9\xd7\xf0\xff\xe5\x1b\x0c\xef\x88\x4f\xdc\xde\x65\xa3\xa9\x92\xca\x88\xa2\x04\xed\xe7\xb1\x90\x65\xa8\xf2\xb5\x61\x2f\xfe\xf3\x3f\xd9\xb8\xe0\x8f\x98\x11\x7b\xc6\x4b\x7e\x85\xfe\xc5\xbf\xfd\xed\x05\x04\x54\x31\x8b\x29\xe7\xc5\x2f\x95\x28\xa7\xca\x08\x7b\x08\xd9\xff\x9a\x2a\x88\xc0\xae\x37\xb3\x12\xfd\xae\xe8\x83\x4c\x0d\xfb\x0e\xdb\x9c\x20\x1b\x69\x6a\x6c\x4b\x1d\xe9\x04\x92\xdb\xc6\x7a\xba\xe8\x7f\xc9\xce\xe8\xf9\x01\xc7\xfa\x97\xac\x7e\xaa\x5d\x9d\x29\xf3\x4b\x06\x17\x68\xa6\xb9\x03\x6b\x31\xbf\x79\xc1\x4e\xa6\xc1\xb5\x9d\x91\x2d\x68\xc0\x67\x0d\xd3\xb7\x9f\x95\x1b\x64\x44\x77\x9e\xfb\x2d\x31\x02\xb1\x82\x10\x87\x80\xe8\xb9\xb4\x27\xe4\x06\x3d\xa1\xa0\xb9\xe1\x97\x83\x4e\x4a\xa1\x73\xdf\x1e\x3a\x2e\xcc\xef\xde\x1c\x1f\x8f\xd8\xd2\xc0\xff\xcc\x7f\x81\xff\x01\xf4\xd0\x73\x91\xfa\x6e\x4d\xa6\x07\xc2\x6d\xaf\xf2\xfe\x95\x78\x0e\x14\xdd\x97\xe0\x91\x6f\x6c\xd3\xb7\x95\x4a\x33\x11\x52\x1b\x6b\x21\x91\x4c\xdb\x95\x74\x0b\xb5\x5d\x79\x08\xd6\x78\x2e\x12\x6e\x05\xdf\x56\xdf\x08\x2e\xd5\x8b\x52\x28\xf4\x86\x15\xa1\xd0\x25\x47\xcf\x15\xa8\xc5\x00\x85\xe4\x25\x41\xce\xb1\x56\x18\x74\x02\xc4\xec\xa3\xe6\x4f\x6c\xa3\x2b\xe2\x18\x07\xe6\xdc\x54\x24\x19\x14\x72\x70\xec\x41\xac\x10\x65\x55\x28\xc6\x59\xce\x55\xca\x0d\xec\xc0\x45\x01\xd1\xce\x82\xf1\xed\x81\x8e\x10\x8e\xab\xab\x12\x38\xb1\x10\x59\x10\xcf\x04\x92\xc0\x47\x63\x1e\x45\x83\xc0\x3b\x01\xb8\xa8\xb7\x5e\x1c\x4f\x95\x2b\xc5\x48\x58\x38\xf4\x94\x25\x3a\xdf\x10\xe3\x51\x73\xd2\xa5\xf3\x9c\xd1\x74\x8f\x02\xde\xa4\xf9\xec\x88\xc9\x7a\x68\x0d\xf8\xe6\xcb\xa8\xba\x3d\x7a\xf4\x0c\x7b\x29\x54\xa2\x53\x51\x98\x57\xf6\x18\x4a\x6f\x77\xa0\xfe\x20\x4d\x58\x0c\x90\x52\xf6\x72\x23\x6f\xa1\x6d\xde\x17\x98\xb2\xb3\x53\x63\x28\x6f\xd3\x73\xf6\x1f\x95\xdf\x3a\x0a\xa6\x6d\xbc\xf4\x9f\x5f\x14\x11\x13\xe3\x3a\x9d\xcd\xf9\x74\x17\x04\x1e\xd9\x58\xe2\x62\xa3\xa8\xe3\x90\x72\xe2\x4a\x89\xcb\x12\x8a\x83\x16\xc2\x94\x53\x45\x37\xf0\x88\x2d\x04\xb7\x7a\xde\x88\x25\xe6\x01\x85\x31\x5e\xf7\xe5\xa3\x0e\x18\x1c\x57\xde\x06\xc0\xb0\xb5\xc6\x83\x93\x18\x1f\xe3\x94\x81\x8d\x00\x83\x2e\x0b\xdd\xab\x2a\x30\x59\xad\x02\xf1\x09\xf3\xe0\xaa\xa5\x34\x2b\xac\xc5\xc5\x7a\x60\x26\x36\x18\x28\x66\xcd\x71\xe0\x0f\x56\xf0\xe0\xd7\x21\x0c\x24\x12\x8e\xa0\x71\x13\x96\x16\xcf\x59\x88\xe1\xc6\x94\xf5\xe0\x9b\xe9\x3a\x54\x3b\x26\x02\x06\xf0\x34\xbf\x85\x7d\x75\xaf\xc3\xca\x88\xc2\x95\x72\xc1\x6f\x45\x82\xc9\x95\x2c\xd2\xa3\x9c\x17\xe5\xc6\x6d\xdf\x4c\xce\xa1\x02\x44\x26\xef\x05\x3b\x29\x0a\xfd\xf8\xdc\xb3\xd0\x29\x5a\xba\x2c\xec\x43\x90\xec\x43\xad\xfc\x56\x7a\xd9\xa6\xbb\xe3\x69\x54\xb6\x5d\x8e\x8f\xd6\x7e\x0a\x51\x16\x9b\x99\xdd\x88\xeb\xbc\x53\x52\xf4\x4a\x9a\xe8\xaf\xe4\x0e\x63\xc9\x6d\xb8\x30\x3a\x59\x72\x6b\xab\xfa\xdb\x61\xc9\x6d\x21\xc0\xdd\x66\xc9\x9d\x5c\x4e\x6e\x27\x27\x17\x93\xff\xd3\x68\xf1\xe7\x93\xc9\xed\xe4\xf2\xfb\xd9\xbb\x0f\xd7\xb3\xeb\xf3\x9b\x0f\x77\xd7\xa7\xe7\xbb\x69\xaf\xb6\x47\x1f\x54\xf0\x23\x16\xf7\xf3\x86\xdd\x46\x40\x0d\x4c\x36\x20\xfd\x9b\x4a\x03\xc3\xae\xb2\x87\x59\xaa\xe5\x08\x0e\xea\x1b\x76\x5e\x14\x93\x35\x5f\x8a\xab\x2a\xcb\x00\x4e\x85\x99\x3d\xa7\x85\x00\xc3\x73\xc4\xae\x74\x3a\x89\xde\x83\x74\xc4\xd6\xcf\x80\xfe\x79\x9a\x16\xc2\x18\xec\x7e\x44\xfd\x47\xe0\x21\x9f\xea\x48\xe0\x39\xfe\xc0\x65\x66\xed\xb7\x37\xec\x2d\x4f\xee\xf5\x62\x81\xe9\x33\x23\x9f\x38\xc5\x7e\xa9\x74\xc9\x99\xf8\x94\x00\xd5\x5b\xfb\x3e\xb9\xd0\xcb\x5f\x01\xaa\xdc\x23\x3c\xd5\x61\xa4\x40\xa9\xbb\x59\xfb\x75\xde\x2e\x08\xe8\x2b\xdf\xe3\xab\xef\xf0\xcd\x76\x07\x65\x99\x3d\x43\x7a\xfc\x85\x5e\xb6\x17\x1e\x02\xed\x9a\xaa\x25\x51\x20\x21\x21\x76\x11\xbd\x64\x46\xaa\xfb\xa9\xfa\x79\x25\x14\xd3\x55\x81\x7f\x02\x33\xdf\xaa\x99\x59\x65\x56\x02\x2a\x74\x8f\xd8\xa3\x60\x6b\xbe\x41\xb5\x19\x6c\x02\x5f\x2d\x05\xb6\x0c\xdc\x22\xf6\xed\x4c\x2a\x2b\x2d\x72\xe9\xf2\x12\x9a\x4b\xff\x1c\x16\x97\x23\x3a\xe4\x87\xf3\x10\xef\xba\x4f\x6b\xf8\x3c\x70\x95\x05\xdc\xa4\x03\x08\x91\xe4\x86\xa2\xb2\x5a\xdf\x57\x79\xa0\x44\x7d\xe1\x82\x93\x30\xdd\x0f\x5a\xa6\x2c\xad\xf2\x4c\x26\x5e\xee\x3e\xea\xa2\x93\xf7\x19\x13\x68\xfa\xdf\x3a\xcd\xb4\xb0\x5d\x1f\xd6\x92\x9d\x13\x21\xe9\x76\x30\x40\x7f\x66\x0e\x6c\x26\x55\x92\x55\x50\x66\xae\x32\xa2\x38\xf2\xa5\xa3\x7d\xae\xdf\x6f\x9f\x24\x3b\x90\x70\x1e\x9e\xd6\x16\x27\x9d\x67\x7a\x29\x13\x9e\xc5\xe0\xe6\x80\x8a\xf0\x2c\xbc\xee\xd8\x53\x31\x61\xc8\x83\x70\x03\xea\x24\xd2\xca\x0b\x01\x44\xd0\x33\x10\xe5\x33\x12\x77\x87\x8c\x7b\xc1\xac\x81\x8e\xe3\x8a\x39\x72\x5d\x78\xc1\xdd\x70\xa1\x6f\x57\x89\x0d\x54\x4c\xa1\x00\x02\xa0\x1f\x95\x28\x40\x83\x05\xd8\x87\xfd\x52\xa5\x41\x37\xf1\xd5\xd9\x3c\x3e\xd9\x55\x27\x5c\x78\x20\x36\x66\xce\x2e\xe5\x83\x50\x5f\x9e\xd4\x3c\xea\x20\xe1\xc9\x4a\xcc\x9c\x5e\xfe\xdc\x22\xcb\x5f\x00\x03\x85\x95\x2b\x93\x12\x8b\x52\x1f\xde\x04\xd3\x09\x47\xbc\x2d\xbb\x30\x90\xb8\x23\x23\xcb\x0e\x62\x96\x8a\xe4\xfe\x8b\x8b\xe6\x00\xb2\x72\x03\x61\x9c\x9d\x89\xe4\x9e\xdd\x5d\x4f\x30\x1b\x58\x96\xcc\x8a\x02\xb3\x0a\x65\x9f\x3a\x6d\xb7\x92\x2f\x3f\x03\x85\x55\xdf\xba\x55\xa1\x54\x81\xaf\xd6\x67\x07\x44\x80\x28\xc8\x97\xb4\x42\x92\x72\x69\x00\x08\xc6\x4b\x57\xcd\x08\x1c\xf1\xcc\xac\xa1\x78\x51\x55\x46\x15\xff\x32\x3e\x17\x59\x07\x71\x67\xae\xd3\x99\x8b\x93\x1c\x0a\xe6\xd9\x6a\xcb\xf9\x31\x28\xea\xe8\xf2\x18\xb8\xd5\x58\x6f\xe9\x41\x76\xff\xad\x89\xe8\x35\x74\xcc\x1f\x0e\x76\x3d\x37\x90\xde\xbd\x90\x4b\x17\x6d\x93\x0b\x2a\xb1\x84\x09\xfd\x56\x0f\x06\x79\x69\x5b\xba\xd2\x29\xc1\xf4\x3c\x17\x9e\xd5\x82\x04\x79\x4f\x02\xae\x22\x1e\x82\xc3\x01\x42\xbf\xf6\x44\x08\x9e\x32\xbd\x20\x6f\x62\x9e\x67\x12\x98\xa1\x53\x24\xa1\x07\xf6\x0c\x53\x47\xc7\xc7\xad\xb9\xc1\x46\x24\x1f\x57\x0e\x88\xd7\x55\x8c\x17\x04\x06\x66\x30\xcc\x80\x0d\x6e\xf6\xc0\xbb\xc9\xd4\x3e\x7b\xc5\xb4\x8e\xf1\xf8\x68\x72\x9d\x12\xb6\x46\xda\x47\xbe\x02\xbc\xd6\x5d\x42\x7e\xc2\xb3\xa4\xa2\x38\x19\x94\xcb\x77\x55\xf0\x77\x23\x08\x43\xd4\xcf\x2e\x74\xdd\xeb\xdf\x54\x32\x0f\xad\xae\xe8\x13\xb4\x9e\xea\x53\xd8\xed\x5e\x5c\x66\x7a\x0e\x3b\xa7\x1b\x25\xb8\xe3\xc6\xb2\xe2\xba\x90\xe9\x10\x7d\xc7\xcd\xc9\x07\xff\xea\xae\x01\x7e\x70\xae\x1f\xdf\x93\xdb\xf7\x8c\x0a\x19\x34\x98\x1b\x87\x51\x20\x2c\xa8\xaa\x6a\xdd\x3c\x29\xa9\x8c\x07\x6c\x2b\x7f\x3f\x75\xf8\x19\xea\xdf\x72\xd0\x42\x6f\x33\xc5\xec\x99\xcb\x40\x2e\xb3\x7b\x91\x0f\xa0\xfb\x40\x51\xe6\x39\x3f\xba\x3d\x8b\x2a\x15\xe9\xec\x09\xdf\x70\x4e\xef\xf6\xfb\x16\x3f\xd3\x38\x3c\xf0\x01\xaa\x23\xab\x2a\xa4\xbc\x48\xc3\x77\x8c\xe0\xbc\x27\x3c\x07\x37\x3c\x84\x35\x1e\x5e\x8f\x5d\x1f\xd7\x21\xbb\xc8\xca\x4b\xcc\xf9\x47\xfc\xb6\x6e\xa9\x81\xb3\x6f\x1f\xf9\x4d\x8a\xf0\x6e\xbb\x73\xc2\x76\xad\xe5\xdd\xf4\xda\xbb\xcd\x1d\xe6\x04\xf8\x21\x9b\xeb\x73\xc8\x8e\xaa\xd4\x21\xda\x03\xdf\x33\x01\xda\xe1\x38\xa3\x0f\x04\xe4\x24\xed\x40\x8a\x38\xf5\xdb\x09\xa1\x01\xf8\xe3\x41\x08\xe8\xbc\x10\x2e\x6e\xb8\x11\xa5\xe7\x75\xc8\x5c\x5d\x41\x08\x8b\xf9\xaf\xae\x13\xdb\x38\xee\x0a\x4f\x46\x06\x41\x2c\x52\xf5\x13\xbd\xce\xb5\x02\x58\x12\x66\xa9\x4d\x15\x35\xee\xaa\xc3\xfb\xc8\x5a\x2d\xd5\x71\x44\x0e\x4d\x4c\x9c\x11\x46\x67\x0f\x14\x42\x8d\x8a\x98\x40\x5d\x49\x3b\xc0\x53\x6b\x1b\xea\x02\x09\xb6\xdc\xcd\x0e\x99\x00\x8d\x12\xe9\x85\x58\x4a\x53\x8a\x38\x3b\x34\x7e\xff\xd9\xaa\xd9\xd6\x9c\x27\xbb\xa6\xbe\xb3\x9a\xed\x3e\x2b\xc8\xca\xa7\x01\xe3\xd9\xe4\x22\x9d\xf8\xf7\x76\x6f\x86\x46\x02\x7f\x10\x87\xb5\xfb\x0e\xf7\x00\x5a\x7f\x06\xa9\xbe\x8c\x2f\x3f\xe2\x17\x89\x48\x98\x78\x00\x34\xda\x25\x5a\x56\xbc\xe0\xaa\x14\xc2\x4c\x15\x05\x9e\x91\xb2\x2e\x66\x65\x69\x00\x21\xbd\x6d\x93\x68\x53\x22\x03\x14\xbc\xb2\xe0\x32\xab\x8a\x4e\x77\x03\xee\xca\x27\xd1\x4e\xec\x9a\xa5\x53\x68\x96\xb5\x2d\x9a\x4f\x60\x8e\x4e\x91\x67\x4d\x69\x86\x8d\xeb\xf9\xbd\x1d\x9f\xe0\x2e\x97\xfe\xeb\xed\x7d\xcd\x1d\x39\xcd\xdf\x9a\x59\xae\x07\x48\xbc\x1f\xbf\x35\x57\xba\x23\x1b\xdc\xfc\xb2\xe5\x13\xdd\x01\x9f\xf8\xa5\xab\x20\x0b\x37\xf7\x10\x79\xdc\xe7\x8a\xe9\xc5\xc6\xb9\x37\x3e\xd9\x29\xbb\x60\xd7\xae\xb8\x4a\x33\xab\xf2\xf2\xb2\xc9\x7b\xed\x71\xde\xd6\x24\x2a\x9d\x70\xec\x4e\xea\x83\x1c\x99\x59\xb2\x95\x60\xb9\x6f\x9e\x1a\x99\x99\x3b\xb1\x94\x8d\x5e\xea\xf9\x92\x6d\x79\x3a\x41\x87\xa1\x32\xc8\xfe\xc0\xfe\xea\xfa\xcb\x79\x3c\xf6\x2f\xa4\xbe\xd4\xcf\xda\x42\x2e\x7f\x03\x8e\x84\xf7\xdb\x57\x42\x42\x32\x87\x2e\x6a\x9f\xdd\x70\xa0\xd4\x81\x44\x32\x2b\xb5\x63\xc6\xf1\xa9\xa2\x72\xf0\x88\x2e\x80\xb0\x32\xf2\xad\x19\xf6\xda\x67\x17\xbf\xfe\x17\xc7\xb6\xb5\x61\x0b\xd8\x54\x40\x69\xa7\x93\xa4\x2a\x20\xf4\x4f\xee\x49\x26\xf0\x12\x36\x83\x88\x64\x40\xf5\xf0\x80\x2d\xd4\x13\xdb\xd4\x24\xef\x8f\xae\x7d\xd4\x2d\xb8\x21\xb1\xb0\xbd\xbf\xf4\xa9\x5e\x59\x61\x4a\x66\x4a\x91\xb7\x8a\xdf\x9a\x76\x29\xd7\x81\xfa\xfb\x10\xf5\xb2\x95\x60\x78\x18\x6f\xf7\x8e\x18\xfd\x26\x17\x27\x4a\xe9\xb2\x99\x45\x33\x78\x98\xdc\xb7\xd2\xf3\x80\x0f\xb8\x32\x4f\x22\xc7\xd6\xef\x6f\x3e\x5c\xb2\x9c\x6f\x00\xa1\x59\x6a\x86\x8f\x02\x2d\x6a\x53\x9c\xee\xdb\x27\xf5\x8f\xaf\xcb\x3e\x5c\x79\x07\xf5\x6e\x8f\xa2\x50\x8f\xdb\x2a\x2d\xec\x6c\x3a\x38\x56\xb2\x16\x3a\x3b\xca\x33\xae\x22\x10\xbe\x19\xb3\x46\xf7\x31\xea\xc2\xc7\x5f\x09\xd7\x06\x03\x00\xaf\x0a\xed\xd8\xa2\x6a\x85\x69\x03\x3b\x90\xdb\xf6\x87\x01\x2d\x3a\x25\xd9\x4e\xf8\xe9\x7b\xac\x55\x83\x95\x1b\x90\xe3\xc3\x81\x47\x3c\xfe\x88\x1b\x80\x06\x77\xf2\x94\xf3\x24\xe3\xc6\xec\xc4\x12\x7d\x16\xc2\xfb\x28\xb7\x72\xbf\x90\xad\x8f\x13\xc1\x8e\xc0\xc0\x82\xd6\xb3\xff\x19\x38\x1d\x9c\x80\x0d\xa5\xe9\x22\xab\x24\xaa\x59\x41\x00\x0d\x62\xb5\x82\xf7\x91\xaf\xf2\x5e\x6c\x9c\x1f\x8e\x04\x2a\x5f\x8b\x91\x77\x09\x7b\x9f\x67\x04\x4d\xdc\x6e\x78\xaa\x00\xbb\xfb\x2e\x1e\x1e\x7b\xa7\xf5\x08\x51\xa4\xd4\x39\xc7\x66\x79\x8c\xc3\x9a\xaa\x77\x5a\x8f\xb9\x37\xb5\x69\xfc\x24\x14\x9b\x1d\x12\x76\x0b\x90\x91\x8d\xe5\xec\x7f\x36\x7f\x90\x0a\x8b\x28\xca\xb5\x35\xf3\x68\x9e\x60\x47\xc1\x80\x5c\xcd\x7e\xfd\x68\x58\x8a\xc4\x37\x95\x34\x2b\x08\x0e\x61\x34\x16\xfa\xa7\x8b\x0f\x61\x63\x05\x57\xc6\x9e\x61\x08\x28\x89\x07\x41\x5e\xe5\x1a\x12\x62\x72\x76\xe1\xc1\x55\x78\x2e\xa9\xc0\x48\xc7\x69\x8b\x4c\xa3\x43\x5c\x08\x00\x8a\x1f\x40\xbb\x47\x6e\xd8\xf7\x3c\xdf\x95\xb2\x7b\x70\x8b\xfb\x56\xc9\xd3\x7e\x35\xed\x3e\xa8\xb7\x0e\x95\x16\x6b\x79\xbb\xf1\xec\xdd\xa9\x2f\x7c\x31\x52\x61\xa0\xde\x6e\x90\x81\xa2\x62\xff\x75\x13\x31\x70\x7a\x60\xa3\xb7\x58\xad\x60\x87\x3a\x76\x40\x1d\x88\x47\x7a\xcc\x6e\x84\x60\x1f\x61\xa6\x6c\x67\x1f\xa9\x4e\x2a\x60\xb5\x4b\x2e\x5b\xcb\xd8\xc1\xd3\x13\xb5\xd0\x87\xc9\xff\x62\xb9\x85\x05\x3e\x68\x56\xda\xc7\x79\x28\xda\x18\xe2\x11\xea\xf3\x92\x9f\xf4\xba\x18\x1a\x6b\x7d\x15\xbc\x62\x94\x12\xed\x46\x6a\x15\x47\x58\xe2\xa7\xd0\xeb\x35\x36\x89\xfd\xca\x11\x52\xc6\xdf\x2b\xfd\xa8\x50\x1e\x53\x4f\xec\xa5\x3d\x7f\xa0\xb3\x60\xf4\x0a\xf5\xd5\x0a\xa5\xe1\x2b\xe0\xb0\x3f\xf1\xff\x66\x37\x18\xa8\xc7\x31\x43\x81\x33\x03\x5a\x39\x95\x26\x83\x0b\xfc\xe5\xc9\x88\xbd\x1d\xb1\xd3\x11\x1b\x8f\xc7\xaf\x46\x4c\xf0\x64\xe5\x46\x84\xaf\xa0\xe8\x2f\xf9\xd2\xb6\x4d\xc5\x89\x16\x51\x07\x50\xc4\xd0\xea\x27\x8e\xaa\x91\x87\xa7\x22\xdf\x9f\xfb\x04\x4c\x20\xa7\x6c\x37\x02\x35\x25\x2b\x2d\xc3\xa0\x00\x1f\x2f\x12\x5d\x38\x84\xbd\x29\x75\xe1\xd0\xc2\x0f\xbc\xe0\x52\x01\xaf\x06\xdf\xce\x95\xa0\x9e\x23\x66\x7d\xf1\x89\xaf\xe1\xfb\xa5\xf2\xe4\xc2\x76\x9a\x6e\xfd\xf8\xcb\x4d\x4e\xd1\xc0\xc7\x42\x96\xa5\x55\xc8\xcc\x54\xdd\xb0\x37\xdf\xb1\x93\x3c\xcf\x04\x3b\x61\xff\xc5\xde\x72\xc5\x15\x67\x6f\xd9\x7f\xb1\x53\xae\x4a\x9e\xe9\x2a\x17\xec\x94\xfd\x97\x9d\x36\xdb\xde\xa5\xb6\x1a\xd0\x66\xc4\x38\x53\x55\x86\x8a\xde\x4b\x87\xc4\x7d\xe5\xbf\x8b\x87\xd5\x99\x8b\xf2\x51\x08\xc5\x8c\x5e\xd3\x55\xf8\x47\x7f\xfb\x1b\xa9\x96\x99\x28\x69\x3f\xd4\x31\xd3\xd8\xc1\x11\x7c\xe9\x9b\xa9\xf2\xde\xf4\x3f\xda\x11\xff\x91\xfd\x17\xbb\xac\xb2\xcc\x0e\xc9\x0a\x1a\xbb\x91\xde\x30\x97\xc3\x26\xd4\xf8\x51\xde\xcb\x5c\xa4\x92\x43\x16\x9b\xfd\xd7\xf1\x2d\xac\xf6\xac\x0a\x84\xa5\xf1\x99\xf6\x45\xe3\x0e\x11\x3d\x9f\x85\x11\xc3\x97\x34\x8c\xb5\x95\x4e\xa8\x4c\xfc\xea\x70\x25\x38\xd0\x34\xd3\x79\x20\x1b\x05\x0b\xfe\xc5\x61\xd4\xf6\xfe\x7d\x6d\xb2\xdc\xfe\x57\x2b\x49\x49\xaf\x1a\x65\xbb\xe6\x23\x8c\x11\x94\x53\x5c\x9c\x90\x42\x0a\x86\x0c\x64\x3c\xe2\xb9\xdb\x40\x61\x12\xd7\x36\x1a\xc7\x18\x84\xb7\x06\x3f\x6a\xa3\x25\x5f\x8e\x58\xee\xab\x5d\xb9\x43\xe5\xc3\xef\x78\x8e\xb1\xb2\x03\x29\x9b\x2f\x1d\xcc\xc9\xee\x65\xca\x92\x3c\x4e\xf5\x9a\x4b\xf5\x0a\xfa\x70\x04\x7f\x7b\x26\xaa\xc5\x5c\xd9\x3f\x43\xb7\x7c\x27\xe6\xb2\xbb\x00\x41\x5d\xd9\x69\x14\x9a\x6b\x3b\x0e\x07\x56\x5a\x0b\x75\x58\xbf\xa0\x39\xf4\xd3\xd6\x16\xdd\x73\xe5\x6d\xd5\x59\xab\x71\xbc\x80\x2e\x1f\x78\xee\x7a\x21\x00\x7c\x7d\xb5\x9f\xea\x85\x68\x6b\x53\xac\x65\xaf\x8a\xbd\x8d\xc1\xde\x91\x25\x86\xd9\xd9\x56\x4c\xca\xec\xd8\x8a\xca\xe3\x4b\xad\x04\xe3\xc6\xc8\x25\x72\xf3\x81\xdb\x0f\x4b\xdd\x3a\xa5\xec\xb6\x6e\x32\x44\x22\x08\xf4\x33\x3b\x24\xc4\x75\x97\x56\x0a\xdb\x25\xc8\x36\x53\x65\xdf\x20\x8d\x00\x72\xbc\xa4\xa7\x70\xc7\xde\x88\x21\xdd\xf5\x45\x17\x62\xd4\x78\xcb\x06\xdb\x45\x20\x71\xc0\x86\xa3\x93\x78\x40\x5c\xf0\x32\xa2\x2f\xa5\xd6\x1c\xb7\x15\x82\x7e\xe6\x22\xd3\x6a\x69\x77\x45\x97\x10\x06\x29\xf0\x4c\x43\xc0\xc6\x3a\x47\x60\x95\x15\x7a\x84\x96\xc4\xea\x29\x32\x0d\x8e\x3f\x53\xcd\xad\x1e\xe7\x63\x52\x5e\x1b\xa1\x8f\xeb\x62\xd3\x38\x0c\x5c\x75\x67\x65\xb0\x2e\x1c\xbc\xcf\xc7\x3b\x51\x71\x09\x4c\x53\xf8\x45\x5d\x38\x92\x62\x90\x2b\xa7\x23\xfe\x3e\x62\xba\x40\x92\x51\x17\x67\xf7\x2c\x61\xdb\xbd\x77\x1f\xe9\x9d\x39\x29\xed\x1e\x5a\x8a\xe6\x6e\xb1\x9a\xf4\x38\x0d\xbf\x66\x7a\x4a\x9f\xa4\x95\x77\x27\x93\x8b\xc6\x73\xdb\x49\x2b\x2d\x99\x2d\xb7\x93\xf7\xe7\x67\xb3\x0f\x77\xb7\x5b\xcf\xd9\xd6\xe8\x4f\x7b\xf2\x56\x3a\x67\xef\x39\x90\xfb\xbf\x60\xa5\xb5\x99\x5e\x38\x12\x83\xfe\xd7\xf3\x56\xad\xbb\x7e\x00\xd1\x32\xb2\xae\xe3\x9a\x70\xdb\x1b\xa7\x93\x8a\x45\xcd\x28\x22\xdc\x6f\xb0\xcd\x09\xfb\xa0\xde\xe1\xeb\x57\x3a\x93\xc9\x6e\xbc\xb9\xbb\x2c\xad\x56\xb5\x0d\xe0\x9d\x0b\x48\xc0\x20\x87\x2f\x0d\x0a\xed\xb3\x52\x24\x65\x40\x3c\x6c\x7f\xdc\xff\xd3\x18\xd7\xfd\x1e\x18\xf4\xc3\xfa\x69\x83\x12\xea\x1e\x43\x01\x37\x3b\x70\x5b\x43\x49\x17\xd4\x72\xc1\xb3\x0b\x32\x2f\xe1\x14\x19\xab\xcd\x3c\x5c\x0f\x8f\x2b\x9d\x91\x3f\x16\x79\xc2\xa7\x2a\x17\x45\xa2\x01\x1b\x8a\x14\x34\x9a\x25\x2b\x99\xa5\xa1\x6e\xda\x4b\x48\xa6\x01\xc8\xfb\x2b\x2a\x01\x2c\x3c\xc6\xc7\x35\xbf\xe3\xce\x77\xdb\xee\x0c\x4f\xf7\x41\xf8\xb8\xe7\x44\xc7\xef\xda\xf6\x3f\x13\x8a\x1b\xa7\x82\x98\xfd\x1a\x68\x0d\x50\xfb\xe3\xf1\x0c\x0a\xe9\xd8\xcb\x9e\x4a\x62\x25\xc1\x6c\x2e\x1b\xeb\x4a\xdb\xac\x39\x95\xc0\xf7\x8e\x7e\x74\x84\x2a\x1a\x01\xc3\x59\x0b\x8e\x9a\x60\x60\x5f\xa6\x45\x9d\xaa\x80\x4f\x79\x61\x62\xad\xb0\x75\x9d\xd1\xfb\xee\xf0\xf7\x23\xf6\xa2\xf6\xa1\x2f\x80\x0f\x5c\x69\xe8\x8f\x30\x04\xb5\xa9\x81\xed\x3a\x62\xb2\x9c\x2a\x6b\xb3\xd9\x9d\x59\x88\x4c\x3c\xd8\xd1\xc5\xd1\x21\x42\x55\x3a\xcf\x89\xfb\x6c\x48\xe1\xe2\x8e\xf9\x83\xb6\x0d\x1d\xc2\x22\xe6\x95\xc6\xe0\x79\x2a\x8c\xd5\x5a\xa1\x22\x96\xf8\x64\x0f\x80\x84\x10\x2d\xc2\xef\x52\xa1\xdc\xf8\x00\x95\x07\x63\x1b\x4f\xd5\x64\x01\xf4\x0b\x40\xfa\x90\xa6\xe8\x83\x70\x35\x92\x3c\xc9\xa7\xa4\x68\x90\x26\x8f\x8c\x5b\x08\xaa\x60\x8d\x27\x49\x3c\x88\x62\x53\x82\x4b\x1f\xe6\x55\x09\x5e\xae\x98\x2c\x47\xc0\xce\xea\x24\xe5\x54\xf1\x34\xa5\xac\x75\x6c\x2e\x32\x67\x3b\xd7\x99\x7e\x9f\xeb\x87\x5d\x6a\xf5\xa1\xf8\x62\x3c\xd5\x79\xc6\xd5\x0c\x6f\x90\x5f\x01\x61\x1c\x15\x17\xef\x82\x9a\x54\xf3\x99\x67\x94\x7b\x96\x71\x7a\x79\x7f\xed\x00\xd6\x64\xda\x54\x73\xd7\xd1\xa8\x06\x20\x9f\x07\xf2\x11\xef\xa5\x23\x74\x57\xc1\x1c\x02\xa6\xbf\x14\x08\xe0\x63\xde\x40\x82\xb9\xdd\xba\x0f\x7d\xec\x76\xc0\x6f\x15\x1f\xda\x67\xe5\x1b\x77\x48\x73\xd9\x87\x43\x13\xb7\x34\xc4\x27\xc1\x13\xf7\x0c\xeb\xf3\x42\x14\x3b\xbd\x38\xdb\x50\x45\xf7\xb5\x51\x7c\x9f\x12\x1c\xd0\x0b\xeb\x1d\x68\xed\xc5\xe3\x63\x2b\x50\xb7\xa0\xf8\x9f\x33\x42\x01\x72\xaa\xaf\x9f\x26\xd0\x9e\xc0\xb8\xc6\x6c\xa2\x98\x53\xf7\x46\xec\x05\x6e\x2c\xf3\x82\x1c\xd0\xd6\xce\xe5\x80\xa3\x15\xc5\x83\x48\xe9\xf4\x10\x51\x44\x13\x0a\x87\xe9\x7a\xe1\xb8\x61\x1c\x70\x27\xab\xf0\x67\x9d\x97\xb7\x12\xd2\x05\x9f\xc2\x08\x83\x31\xe4\x39\x36\xe0\xb2\x5d\x22\x57\x28\x7d\x2e\xc4\x32\xc2\x07\xbb\x68\x27\x7b\xeb\x5e\xb4\x53\x94\x57\x74\x9f\xba\xdf\x99\x2e\xa6\xca\xb5\x46\x0e\x69\x83\x65\x0c\x9b\x4d\x45\xd9\x4b\xa4\xf3\x47\x3b\x15\xa0\x00\xae\x72\x25\x14\x44\x0d\xd4\xe7\x4d\x29\x00\x58\xad\xb9\xc7\xc9\x42\xad\x8c\xd0\x9b\x55\x3c\xec\x06\x5f\xe3\x35\xdf\xa4\x47\xce\x32\x3b\x29\xb2\x74\x6c\xcc\x51\x66\xa1\xa9\x80\x53\x7c\x51\x59\x61\x14\x11\xaf\x4f\x95\x9d\x3c\xb6\x90\x90\x61\x42\xf3\x32\x55\xef\xb5\x71\x44\x36\x26\xcc\x87\x03\x16\xd0\xb4\xbd\xf0\x05\x3c\xe9\x0f\x67\x70\x69\x53\xc4\x07\x29\xe9\xfc\xd5\x02\x29\xa5\xc4\x46\xb5\xd1\x55\x11\x3e\x2a\xe1\x6a\xaa\xfe\x62\xa7\x07\xcc\x29\xae\xdc\xb2\xea\x05\x1e\x61\x58\x41\x08\x95\x7d\xc4\x46\x5f\xfe\xcb\xab\x8f\xaf\x30\x05\xac\x32\x50\x33\x79\x54\xbf\x40\x7c\x0d\x8e\x2a\xcb\x00\x87\xe0\xbe\xc0\xf3\x40\x85\x2e\x76\xa2\x05\xc9\xa8\x9b\xa9\xba\x8a\xd1\xe7\xa0\xf7\x73\xeb\x9f\xb0\x84\x97\xc9\xea\xc8\xe9\x72\x24\xc6\xdc\xed\x47\xcb\x87\xb9\x5a\x56\xd3\x62\xad\x65\x28\xac\xc1\x59\xac\x3d\x31\x6e\x6d\xbf\xd8\x4f\x00\xf7\xff\x6d\xb3\x26\x9b\xe7\xed\xc6\xcd\x89\x38\xa0\xba\x9e\xe7\x1f\x77\x15\x51\x83\xc5\x49\x31\x12\xc5\xd7\x22\x65\x2f\x20\x59\xf9\x85\x5b\xfc\xa9\xca\xe7\xe3\x6c\xb3\x28\x89\x5d\xd1\x4e\xca\x18\x6a\x07\xee\xb9\xe5\x66\xe9\xb6\x99\xb4\x67\xb2\x3b\x0d\xad\x76\x5d\xc7\xcf\x8d\xef\xa9\xbf\xc2\x82\x3e\x2e\x3f\x3b\x37\x75\xe4\x62\xbd\x88\x09\x37\xf7\x23\x36\x2f\xb8\x82\xb2\x4f\x69\xac\x54\x85\xd3\x09\xc6\x33\x52\x17\xba\xec\x45\xc5\xb3\x0d\x64\x29\x8d\xa6\x0a\x79\x1e\xa1\x20\xc0\x26\xc9\x64\xc2\x96\x05\xcf\x57\x0d\x3d\x48\x3c\x08\x55\x42\xf5\xf0\x6b\xc1\xcd\x61\x58\x8d\xa2\xd9\x02\xeb\x1d\x4d\x3b\x51\x60\x7d\x70\xd5\x60\xe6\x86\xe1\x75\x5c\x2d\x80\x22\x15\xe9\x6c\x18\x2b\xd7\x5e\xee\xe8\x1a\x23\x29\xd1\xe3\x41\xfc\xd9\x7e\x1c\x73\xbd\xee\x03\x3f\xe0\xbc\x12\x61\x94\xc3\x1d\x1f\x0a\xd8\xf0\x04\x54\x07\xd1\x08\x4f\xea\x5a\x24\x0f\xcc\x5a\xc1\x6f\x4e\x61\x3f\xf4\x54\xb8\x64\x0d\x2f\x38\x46\x54\xdd\x15\x28\x46\xd9\x1f\xaa\xb9\xce\x1c\x47\xeb\xe4\x8c\xe9\x02\xca\x23\x95\x9a\xfe\x24\xd3\x2e\xed\x40\xaa\x54\x7c\x3a\x88\x28\x69\xf7\x45\xef\xd4\x66\xdb\x4d\x54\x85\xa7\xf9\xb1\x20\x9d\x0a\x61\x2f\xe1\xd2\x59\xc6\x5b\x4f\x99\x26\xa0\xfa\x24\x2b\x57\x80\x72\xc6\x44\xa2\x30\xa9\x6b\xbe\x61\xc9\x8a\xab\x65\xe4\x9a\x00\x38\xa7\xc8\x75\x81\x65\x84\x1f\x80\x91\x54\x17\x8e\x88\x82\xe8\x15\x28\x9b\xc9\x87\x31\x30\x89\x40\x3b\x0e\x05\xbe\x5c\x16\x62\x09\xc9\xb6\x53\x55\x23\x88\x01\x36\x56\x57\xc1\x08\xfb\xd9\xc5\xaf\xf1\x3c\x24\x55\x5d\xd6\x60\x59\x6c\x3c\x3b\x01\xd5\xe0\x0e\xe7\xb9\x39\xad\x23\x26\xc5\x78\xc4\xbe\x09\x89\x13\x22\xd1\xca\xd3\x1b\x74\xe4\xb6\x37\x5c\xfe\x6c\x8f\xe9\xb0\xcd\x66\xd5\x3e\x76\xf8\x6d\xab\x92\x77\xeb\xa6\xd9\xc9\x0f\x51\xf2\xb2\x1a\x70\x07\x9d\xf2\x92\x67\x7a\x79\x6a\x5f\xbe\xc1\x77\x77\xed\xeb\x53\xcc\x6a\x70\x4c\x82\xf6\x79\x7b\x73\xda\xbe\x43\xa5\x81\xb6\xb9\xde\xeb\x40\xce\x74\xb7\x03\xf9\x39\x54\x75\x47\x17\xb5\xdf\x87\x9c\x75\x50\x20\xed\xf8\xa6\xa1\x2e\x62\x97\x7b\x40\xe9\x53\xa6\x69\xc6\xb6\x48\x80\xbc\xd0\x69\x95\x88\xd4\x9e\x5c\xb0\x87\x10\x0f\xe5\x99\x98\x6a\x42\xb2\xed\xa2\xad\xd1\xc9\xc1\xad\xfb\xa5\x7c\x0e\xbd\x18\xfc\xfd\xf4\xdf\x75\xf8\x1b\x9c\xc6\xd7\x36\xe9\xf1\xf9\xc4\x79\x2a\x06\xde\x53\xbe\xfb\x3a\xef\xbe\x2e\xe4\x52\x2a\x5e\xea\x82\xbd\xf4\x7c\x0b\xaf\x7c\xb1\xbe\x6e\x0d\x61\xa0\x98\xa8\x4d\x11\x8a\x89\x2f\xaa\x78\xb4\x6d\x52\xfb\x94\x29\xf9\x3a\x8f\x99\xac\xc1\x0b\x1c\xcd\x4c\x86\x93\xe0\x75\x13\xf0\x9d\x4a\x13\x72\x8b\xa7\x8a\x22\x0e\xb8\x6e\xba\x88\x4b\x31\x74\xde\xcd\x79\x55\xce\x9e\xc8\xce\x86\x2f\x0f\x73\x3c\x11\x08\xe2\x3d\xcf\x77\xf3\x5d\x71\x72\x39\x60\x72\x25\xb9\x23\x82\xa6\x52\xdf\x9f\xbb\x8b\x1d\x0d\xe4\xdf\x6e\x06\xee\xaf\x2f\x5c\xa0\x28\xd8\x83\x35\x03\x0b\x16\x02\x89\x7f\x31\x59\x0d\x4d\x7b\x2f\xd6\xec\x2d\xee\x48\xb2\x4e\x33\x5d\xa5\x8c\x84\x1a\x81\x00\x8a\x31\xde\x8e\xc0\xc4\x3d\x1e\x77\x25\xdf\x0d\x2c\xc2\xee\xe5\x0f\xbc\xd7\x7e\x02\xe1\xb7\x0e\x09\xbc\xf3\xe8\xd3\xcc\x7e\xb6\xa5\xa7\x99\x86\xb5\xf7\xe2\x78\xd0\xda\x7b\x2f\x38\xd0\x82\x0e\x73\x90\x82\x3d\x2a\xd3\x0c\xce\x5b\x1c\x40\x68\x21\x2e\xaf\x05\x66\xcd\xfd\xc1\xdd\x39\xae\x8c\xdd\x5d\xe5\xbc\x10\xaa\x9c\x41\x8f\xc3\x3a\x83\x4e\xae\xe0\xf5\x9a\xc2\xd4\xcb\x11\xfc\xa7\x5b\x8d\xfe\x7d\xc7\x01\xf6\x67\x76\x43\x3e\x2d\x2b\xaf\x24\x40\x88\xcd\x3d\x7b\x29\x01\xf1\x14\xc5\x42\xfd\xc2\x75\x2c\x17\x7d\xd0\x13\x66\x2f\xfa\xa0\x9a\x68\xef\xf5\x41\x61\xf4\x10\xaa\x86\x56\xc8\xbd\x47\xcc\x05\x56\xd4\xba\xbf\x45\x75\x41\x2e\x6b\xff\x06\x0e\x67\xbb\x7e\x19\xfb\xab\x28\x74\xc8\xff\x42\x67\x55\xdc\xf0\x4e\x7d\xfd\xe9\x25\xcd\x51\x1f\xc7\x62\xda\x71\x35\x59\xf8\x0b\xd1\xac\xa1\x47\x61\xbe\x71\xe6\x48\x47\x08\x29\x17\xc9\xac\xa3\x74\x50\xaf\xa1\x44\x86\x67\x5c\x0a\x48\x36\x2e\x33\x77\x40\x8f\xc1\x5f\x41\x89\x55\x6b\x9e\x13\xba\x90\x80\xe4\xcd\xe0\xcd\x18\x3e\xe2\x4f\x7f\xfc\xf3\x58\x76\x24\xa2\xc3\xd0\x87\x82\xb5\xfc\xe0\xdf\x15\x52\xa8\x14\x82\xb1\x3c\xdd\xae\x6a\xa7\x6a\xde\xf9\x9a\x78\xb6\xdb\xf0\x59\xb2\xd6\xdb\xaf\x5a\x33\xc3\x4d\xf4\x05\x22\xfa\x41\xc8\xfa\xe3\x5b\x8b\xf7\x75\xa9\x12\x66\x96\x6e\x14\x5f\xcb\xe4\x8b\x8e\x71\x23\x45\x96\xc2\x10\xa9\xf7\x7d\x51\xa9\x54\x24\xf7\x43\x75\x82\x27\xd7\xe4\x10\xc9\x3d\xfb\xe1\xf6\xfd\x05\x96\x60\x96\x66\xaa\x2e\x79\x29\x1f\xc4\x5d\x91\xf9\x70\x00\x81\xb4\x8b\xcc\x9d\x91\x3a\x47\x7c\xc4\x47\xe6\x08\xe5\x9d\xe2\x10\x97\xf0\x58\x6f\x8e\xe6\x55\x72\x2f\xca\xe3\x82\xab\x54\xaf\xf1\x33\x8e\x4d\xb5\x58\xc8\x4f\xe3\x92\x17\x1d\xf5\x3c\xd0\x8f\xf0\x2b\xea\xb9\xa1\x4a\x5b\x19\x74\x5e\x54\x75\x1f\x21\x19\x9d\x6a\xff\xd7\x94\x5b\xcc\x4a\xe4\x6b\x01\x84\xac\xac\x5e\x0b\x07\x5a\xc1\xfc\x6e\x28\x19\x6b\x0c\xe5\x4f\x68\x2a\x48\xff\x31\x52\xee\x3f\x46\xa3\x0a\x21\xec\x78\x50\xa1\x0c\xeb\x9a\xdf\xa3\x7d\xb8\x2c\x84\x31\x23\x66\x34\x8c\x78\xaa\x5c\x26\x82\xcb\x96\x03\xdc\x0b\x50\x3a\x67\x1b\x96\xe8\xdc\x43\xe6\xf1\xbb\x56\xfa\x11\xfc\xf4\x71\x9e\x30\x14\x1a\xaf\x54\x29\x33\xc6\x17\x25\x39\xf1\xa1\x7e\x85\xab\x57\x67\xc6\x53\x05\xa1\xd8\x04\x3e\x1f\x20\x12\x3e\xfc\xe2\x3f\xc2\xb0\x05\x4f\x64\x26\x4b\x62\xd5\x83\x14\x33\x6e\xbf\xd7\xde\x07\x76\x2e\x0b\xbe\xe1\x59\x30\xac\x78\x56\x85\xd4\xe8\x23\x23\x76\xb0\xb6\x4a\x33\x43\x07\xc1\xe7\x3b\xe0\x01\x05\x28\xe3\xe0\x03\x32\xdc\x9f\xd8\xce\x2f\x1b\xb7\xe8\x3f\xc4\xff\x5b\xb3\xc3\x77\x69\x05\x07\x18\xe4\x87\x5c\x8e\xdb\x26\xb7\x2f\xf2\x1e\xf4\x0c\x99\x3a\x74\x72\x4d\x15\x0f\xc9\xc7\xfe\x7a\x84\x98\x49\x87\xd1\x3f\x76\xa5\xf9\xb6\x7b\x18\x30\x7b\xed\x4a\xe2\x17\x72\x67\x74\x95\x1d\xe8\x33\x7c\xe7\x8d\xbf\xd2\x3a\x3b\xd4\x23\x4f\xc4\x21\x52\xab\x19\x54\xab\x3e\xc4\x9c\xc4\x0d\xe0\x1d\x5b\x93\x33\x1f\x73\xf7\x3c\xfe\xf5\x1a\x77\x04\x07\xa3\x21\x80\x20\x83\x41\xec\xc0\xa9\x9b\xbc\x05\x74\x31\x10\x6f\x0f\x6d\x20\x5a\xcb\xa9\xf6\xdb\x21\x82\x88\x43\x86\x87\x31\x02\xd7\x71\x63\x84\x83\x9c\x75\x58\x5b\xba\xd1\x95\x77\xdc\xc5\x9c\xe8\x7e\x1e\xa3\xbe\xdd\x7c\xae\xb9\x22\xcf\x1f\x69\xf1\x53\x15\x69\xec\xc8\xdb\xe7\x12\x1a\xfc\xac\xb5\xf9\xf3\x6a\xdb\xf0\x60\x7f\xde\x21\x85\x2f\x76\x4a\xce\xb3\xb8\x84\x25\x60\x41\x12\xbd\x9e\x4b\xe5\x38\x29\xc8\xc9\x0d\xa6\xc6\x89\xe3\x15\xf6\x01\x09\x67\x32\x60\x61\xa3\xc6\xdc\x7b\x35\x27\xa6\x68\x8e\x45\xd6\x3e\x73\x3c\xb6\xef\x9e\xb7\x46\x47\x47\xa4\xb1\xf9\x05\xf6\x02\xc9\x1e\xf9\xc6\x40\x99\x77\x61\xa5\xe2\x02\x1d\xbb\xf5\xf1\x8f\x22\xf5\xc3\x71\x56\x4f\x15\xcc\x10\x72\x9a\x39\x41\x6a\x25\x2b\x6c\xc0\xcc\x15\xb4\x0f\x7c\x74\x2f\x4c\xfb\xe4\xfc\x3a\xb1\x9a\x62\x67\xac\x06\x83\xd0\xff\x3d\xc2\x33\x3b\x9c\xc0\x07\xfa\xa2\xa3\x6b\x12\x35\x46\x82\x09\x41\xda\x98\x0f\x51\x8f\xd8\x9a\x4b\x45\xc7\x00\x8b\x86\xa6\x62\x5e\x2d\x97\x9d\x2e\xd2\xdf\x7e\xac\xa5\x7e\x4e\xfe\xc7\xfb\xc2\x77\x32\x2a\x3e\x87\xb7\x78\xe2\x7a\x42\xf7\xb5\xb5\xfb\xbe\x8c\x83\xf8\x57\xf4\xc6\xb7\x86\xc4\xb6\x36\xd1\xf3\x78\xe3\x27\x7d\xbc\xf1\x0e\xdb\x05\x09\x7e\x64\x4e\x3b\xfc\xcd\xdf\xdd\xf4\x5f\xc6\x4d\xdf\x6b\x53\x20\xa9\xcf\x4c\xd6\x15\xf4\x1d\x23\x7c\x22\x3b\xa7\x27\xac\x86\x51\x21\x03\x9e\x95\xee\xa9\x61\x73\x9e\x7c\x06\xba\x4e\xb8\x1d\x0f\xf7\x07\xee\x01\xbf\xdc\xe8\xb5\x60\xd0\x95\xc1\x72\x53\x8c\xb2\x18\x47\x80\x56\xb5\x1f\x18\x10\x23\x84\x47\x81\xeb\x14\x91\x2b\x69\x50\xaa\x5f\x2a\xf1\xc8\xec\x6d\x35\x8a\xe1\x7b\xd1\xf2\x40\x1d\xc2\x57\x56\x3b\xac\x61\xfd\x3d\x61\x47\x21\x96\xbc\x48\x21\xc3\x84\x8e\x64\xc6\x93\x7b\xfb\xdf\x30\x3e\xea\x91\x20\x86\x8e\x2b\x00\x61\xaf\xa1\x35\xa9\x12\x24\x6c\x74\xcc\xf3\x7e\x7c\xf8\xba\x61\x3c\x29\xb4\x41\xa7\x91\x2f\xdf\x0d\xf9\xd5\xa0\xc0\x3e\xc8\xb4\xe2\x19\xf6\xd8\xe9\x69\x1f\x0a\x5f\x6b\x02\x8e\xa2\x4a\x7b\xdb\x68\x36\x5a\x0e\x64\xa8\x82\x69\x1c\x4f\xd5\x99\x0f\x98\xbc\x61\x77\x46\x10\xca\xcc\xb8\x5a\x05\x3b\x47\xfa\xd9\xd4\x87\x2d\x4c\x60\xa7\x0e\xb1\x63\x02\x1c\xc8\x3a\x9a\x08\xd3\x3d\x13\x7b\x48\x5f\x0f\x59\x94\xc1\xe4\xd5\x93\xa8\xdc\x7f\x98\x16\xb4\x13\x0a\xc1\xd3\x4d\xcc\x18\x29\x15\x83\x28\x1d\xe3\xe9\x5a\x2a\x7b\x08\x5c\x49\x59\x7f\xd3\xb8\xea\x12\x08\x39\x86\xca\x6b\x59\xd6\x10\x82\x86\x29\x61\x95\x4b\x5e\xc8\x6c\x03\xf6\x44\x5e\x88\xa3\xa8\x9f\x68\x7d\x28\xe3\x09\xea\x64\x10\x89\x4c\x65\xc4\xa2\xca\xd0\xea\x00\xbb\xdc\x7f\x00\x49\xa4\xbb\xc9\xc8\x2a\x1c\x25\xd5\x3b\x8a\x3a\xc6\x2a\xa2\xcf\x91\x3d\xb2\x15\xad\x1c\x16\x71\x0b\x8c\xa6\x05\x80\xdc\x57\xfa\xd1\xa5\xba\x3d\xf2\x80\x65\xee\xba\x5d\x9f\x2d\xca\xb2\x5b\x0f\x75\x16\xa0\x93\x53\x11\xe1\x9f\x0f\xad\xd1\x6f\x22\xf5\xb2\x49\x2a\xf8\x1c\x2a\xc4\x1d\x3c\xd7\x95\xc1\x8c\x39\xbb\x96\x70\x7f\x39\x47\x47\xdd\x71\xcd\xfc\xd7\x49\xa3\x15\x9b\x56\x5f\x7f\xfd\x3b\xc1\xbe\x86\x14\x42\xb2\x47\x30\x3e\x06\x9c\xa6\xd8\x3a\x88\x6c\xdf\x81\x40\xc2\xd3\xad\x15\x61\x6d\x10\x55\x97\xaf\x0f\x20\x4f\x9e\xac\x98\xa9\xe6\x88\x60\xe4\x14\x62\xe1\xca\x73\xa3\x5f\x68\x00\x23\xe2\xcd\xee\x46\xff\xff\x48\x40\x01\x4b\xd3\x4c\x55\xae\x91\xbe\x1f\xa0\x9f\x73\xc1\xd6\xbc\xb8\x87\x4a\xc3\xe8\x9e\x87\x72\x05\x2f\xa5\x18\xd7\xc3\x0b\xaf\x6a\xe3\xa1\x80\x0e\xd2\x72\xb3\xa2\x52\xca\x95\x4e\x63\x56\x31\x0d\xbe\xfe\xd1\x54\xcd\xab\xd8\xf6\xac\x05\x0b\xc2\xd6\x82\x80\x01\x08\x5b\x0d\x4c\x25\x34\x28\x6e\xc2\xb8\xc6\xac\x47\xd4\x60\xaa\x9e\x39\x6c\xb0\xcf\xe1\x77\x45\x3a\x98\x73\xe6\x45\xf9\x0a\xf0\xb9\x71\x75\x6f\x58\x0e\xdc\xf6\xa0\xe4\x5c\x41\x89\xef\x11\xfb\x41\x3e\x88\x11\xbb\xc9\x79\x71\x3f\x62\x67\x18\xfe\xfb\xbd\x9e\xb7\xf9\xf0\xb6\x08\x25\x0e\xf6\xe3\x3d\xcd\x8d\xb5\x8b\xe6\xa5\x5d\xfb\xff\x79\x8b\x18\x80\x75\xc5\xbe\xff\x7b\x22\xf2\x3a\xb8\x3e\xfe\xa7\x7b\x22\xf6\x84\xa9\xff\x0e\x5e\xfb\x1f\x69\x15\xef\xa6\xf9\xf8\x87\xf8\x7f\x9d\xfc\x72\x1a\x17\xe8\x9e\x24\xe5\x5a\x51\x69\xbf\xad\xc4\x66\x99\x36\x2f\xe5\xed\xfc\xe6\x7e\x47\x81\xd2\xc7\x53\x9f\xda\x3e\x00\x74\x4f\xaf\xba\xf9\x3a\xcd\xb4\xa9\x8a\xdd\x87\xff\xba\x3e\x6a\xd7\x7b\x0b\xd1\x2b\x6c\xb6\xf5\x5c\x00\x6b\x41\x5f\xf8\x09\x3e\x36\xfb\x8b\x9e\xcf\x00\x6b\x75\xd8\x09\x6f\x6b\xce\xd3\x47\xeb\xa4\x36\xd4\x70\x43\xde\xe4\x02\xf8\xae\x82\x2a\x1a\x02\x02\x8d\x1d\xe6\x5d\x23\x53\xe5\xea\x02\x60\xc6\x6c\x51\x08\xa0\x06\x2f\x04\x94\xa3\x64\xc4\x70\x98\x6d\x22\x8d\x28\xb2\x7c\x02\x28\x26\xce\x72\x83\x64\x55\xb2\xb7\xe6\x42\x28\x3f\xdb\x43\x54\x09\xa0\xc1\x6e\xcc\x3e\xa1\xdd\x1e\x85\x2b\x0f\xd1\x51\x3a\x77\xeb\xbd\xc8\x16\x04\x95\x7b\x29\xca\x48\x9a\x37\x54\x8b\xda\xd1\xac\x45\xa8\x7e\x53\x88\xff\xd6\x18\x74\x83\x9c\xab\xe6\x40\xe9\x15\xd3\x7b\x0e\x7f\xf9\x15\x2f\x57\x68\xd0\xae\x75\x29\x50\x66\x22\x4b\x10\xee\x17\xf4\x3a\xcf\x33\x3d\x87\x3a\x90\xe5\x0e\x06\xc9\x84\x8e\x76\xaf\xa9\xdb\x5e\xb0\x3e\x92\xc1\x4a\x13\xc8\xb4\x2d\x84\x01\xc2\x95\xed\x28\x55\x5f\x7c\xf2\x30\xa3\x7b\x7b\xb8\x56\xe8\x9f\x6d\x19\xdb\xdb\x85\x43\xec\xb1\x06\xb0\xea\xf9\x13\x32\x68\xb6\xca\xb0\x10\x55\x35\x85\x81\x91\xad\xb6\xf1\xbd\xc8\x96\xb3\x01\x22\x3e\xf8\x25\xba\x04\x78\xa8\x04\xe6\xf1\xa0\x54\x59\xda\x9f\x3f\x4c\x5f\x65\x27\x31\x02\x91\x3c\x04\xa3\xe0\xcb\x04\x63\x60\x04\x59\x8d\xaa\x94\x85\x60\x0a\x50\x08\x53\x65\xaa\xf9\x51\x20\x26\xb1\x56\xdc\x03\x90\xe9\x18\x91\x73\x30\x65\x80\xaf\xe8\xa8\xe5\x1a\x46\xcf\x64\xa8\xe8\xe3\xe8\x03\x79\x46\xc2\x1f\x72\x25\x31\x33\xde\x7f\xbb\x6f\xc7\x1a\x6b\x60\x45\x3b\xb8\x12\x5e\x76\xbb\xe4\x05\xd4\x1c\x83\x0c\xcc\x6b\x44\x51\xfc\xda\x17\x78\x1c\x0d\xed\x7b\x75\x43\x3c\x6d\xaa\xfe\xd9\xdd\x0d\xdd\xa0\xe2\x01\x3b\xdd\xce\x8c\xbd\xa2\x3a\xc1\xce\xb5\xb1\x39\x13\x32\x52\x02\xbb\x07\xb5\xb5\xe5\xdb\x5a\xe5\x0e\xd7\x12\x17\x9e\xd1\x94\x2e\x0b\xbf\x3e\x48\x13\x91\xbd\x43\x6f\x37\x42\xb0\x37\x85\x58\xbc\xf9\x58\x88\xc5\xcc\xad\xf4\x18\x3e\x68\x6c\xbf\x68\x9b\xf2\xbd\xe7\xe6\x30\xb9\x56\xed\xe4\x87\x7b\xa8\x51\x1b\x9f\x84\xed\x44\xdf\x24\x17\x2c\xd4\xe0\xb5\xdf\x03\x0c\x10\x22\x6d\x72\xd1\x6f\x8d\xec\x8b\x5f\x73\x5d\x48\xb0\x1e\x50\xab\x8e\x52\xad\xff\xf3\xaf\xb7\xda\x9c\xf5\xb9\xde\x6e\xeb\x90\x19\x27\xec\xb9\xf2\x17\x5e\x37\x2e\xf4\xcb\xa2\xd3\x61\x01\x4d\xce\x1f\x15\xf1\xd8\x0c\x72\x3d\xf5\xbb\xd6\x1a\x00\xa2\xe8\x5a\xdb\xc2\xc0\x85\x53\xa6\x9c\xa7\x4f\xfa\x6a\x9f\x23\x16\x2c\x68\x9e\x65\x71\x45\x8d\x10\x69\x9b\xaa\x90\x97\x6a\xb5\xd6\x2c\x73\x2e\xbc\x9a\xbe\xe1\xcb\x32\x9b\x92\x97\x62\xe4\x48\x57\x88\xae\x90\xe2\x61\x47\x73\x0e\x05\xb8\x7d\xa5\xb7\x7d\xa7\xf9\xb9\x8c\xc8\xdf\x58\x5e\xf4\x9e\xc8\x33\x76\x3b\xbb\x17\x5b\x70\xe6\xbd\x63\x6d\x8f\x74\x44\x94\x12\x70\x98\x9d\x94\x4d\x78\x51\x38\x94\x3f\xf5\xca\x1c\xdd\x79\x6c\x95\x74\x8c\x73\x25\x92\xfb\x5c\x4b\x35\x58\x16\xd5\x28\x2e\x60\xb3\x97\x2c\xb4\xe6\xad\xc3\x5e\x97\x63\x4d\x9f\xc4\x0f\x31\x00\xaf\x70\xd0\xd0\x40\xc6\xc6\x99\xaf\xe7\xdd\xbd\xed\x9e\xdb\x7f\x21\xc2\xdd\xf0\x19\x7c\xb1\x2d\xf1\xa1\xc6\xad\xc2\x5b\x1c\x3b\x35\x26\x50\xbe\x95\xfd\xd5\x73\xb2\x39\xab\x51\x18\xb6\x4e\x29\xb8\x20\xff\xee\x19\xfa\xbb\x67\xe8\xbf\xb9\x67\xe8\x4b\xba\x85\x00\x1b\xf3\x39\x7d\x42\x3b\x02\xe4\x07\x1c\x47\xdf\xeb\xe0\x1c\xc7\x56\xed\x78\x14\x95\x26\x8f\x32\x1d\xb7\x81\xfe\x8e\x08\xc3\xce\xcf\x9c\x27\xf7\x42\x75\xc6\xe8\x1d\x7d\x51\x67\x95\xd8\xe7\x45\xb0\xb4\xb1\x2f\x45\x6f\xef\x86\xb2\x04\xa8\x13\x91\x06\xb7\x11\x82\xd8\x73\x02\xba\xa7\xfd\xf0\x23\x00\x8d\xe9\xc2\x13\x5b\x1b\xca\xc2\xc3\x60\x24\xd2\x24\x21\x58\xaa\x41\x05\xdd\x17\x13\xe7\x3a\x9e\xe5\x5a\x67\xad\xd0\xb8\x67\x9d\xc0\xad\x44\x99\xbe\x93\x37\x41\x65\xd4\xc4\x80\x31\x37\x8b\x21\xe9\x22\xa4\x68\x60\x3e\x06\x54\xe2\x80\xdd\x94\x56\x90\x4b\x19\xa6\x23\x2a\xaf\xc8\xbd\xc3\x85\x30\x62\x73\x91\x70\x28\x4f\xeb\xc0\x7b\x09\xf7\xd9\x27\x31\x29\xd2\x56\x3a\x88\xd9\xee\xa7\x23\x6a\x09\xed\xce\x64\x5b\xd9\x8d\xa1\x87\xab\xa1\x21\x38\x68\x39\x8e\xdc\x21\x49\x1c\xed\xe2\xbe\xb2\xcb\x8e\x63\x7a\x06\xd5\x17\xfb\xdd\x70\xad\x72\x67\x42\x0d\x9d\x42\x3b\xfd\x05\xe9\x0f\x90\x8e\xb3\xee\x89\xdc\x99\xaa\x13\x5f\x8d\x37\x60\xbf\x3c\x72\x0f\xc3\xa5\x88\x59\xdc\x5a\x1a\xe4\x72\x0c\x96\xcb\x88\x99\x2a\x59\x01\x5b\x65\x5d\x4e\xc5\x72\x6b\xfb\xc4\x8e\xa6\xca\x1a\x44\xe0\x6a\x59\x73\xc8\x8b\x7f\xb4\xca\xaa\x91\x7f\x15\x1e\x9e\x45\xe4\x5d\x31\x22\x0b\x0d\x27\xad\x5a\xd1\x6b\x8e\x38\x14\x01\x16\x01\x53\x52\xe5\x29\x2f\xc5\x78\x1a\xd0\x36\x12\x3d\x9d\x0e\xe5\x41\x2a\xb3\x89\x3f\x2c\xc6\x31\x36\x24\x6d\x26\x17\x22\xd9\x24\x5b\x55\x88\x76\xd3\x44\xfc\xdd\x6c\xfb\x6d\x99\x6d\xc8\xb2\x8b\x39\x83\x43\xa6\x96\x86\x7a\x1d\x5e\x3f\x6c\x72\x05\x8b\x46\x62\x06\xcc\xf3\x17\x34\x3b\x5b\x74\xe0\x61\xfa\x7c\x6f\x3b\x68\xf7\x75\x16\x0c\xdb\x70\x59\x47\x14\x08\x5b\x6a\x61\x1c\x5c\x2c\xe3\xad\x63\x15\xda\xde\x61\xfd\x6e\x96\x99\xdf\x14\x38\xa9\x8f\xe1\x6a\x35\x6e\x0f\x57\xba\x74\x9a\xb6\x12\x78\xdf\xed\xd0\xb8\x23\x56\x77\x5e\xbe\x30\x7e\xd6\xeb\x12\xd0\x61\xff\x4f\xd4\xe6\xa0\x04\xcc\x4d\x2e\x66\x55\x91\x1d\x04\x37\xbe\xbb\xbe\x38\xf6\xda\x06\x68\xce\x9d\x75\x8f\xca\x46\x69\x68\x57\x93\x58\xa4\x04\x07\x4d\x74\xc6\xe6\xd5\x62\x01\xf5\x4b\x08\x18\xea\x84\x11\xd4\xcf\xaf\x4c\xe9\xee\x13\x64\x9a\xe1\xa6\x9c\x2a\xad\x04\x9b\x7e\x75\x3c\xfd\xca\x5e\x65\x05\x4f\x4a\x51\x20\xc9\x40\xc6\x4d\xc9\x8c\x58\x82\xaa\x45\x9d\xde\x5d\x5f\x40\x56\x62\xb9\xc2\xe6\xbc\xc9\x8a\xf9\x9e\xc8\xf9\x0c\xb5\x7e\x80\xa0\x5a\x45\x15\xb7\x60\xec\x2f\xb9\x61\x52\x4d\xd5\x47\xdb\xc4\xf1\x52\xeb\x65\x26\xc6\x6e\x41\xc6\x67\xe4\x7a\xfc\xf8\x0a\x47\x00\xaf\xc7\xb0\x7e\x7b\x21\x72\xa5\x95\x4c\x78\x06\x09\x39\x53\x05\x5a\xf3\xc8\x7e\x0c\xb8\x46\xa7\x5f\x8d\xa7\x5f\x31\x08\x9f\x96\x8c\x27\x89\xc8\x4b\x91\x62\x69\xd3\x89\x62\x39\xe0\x17\x13\x31\x62\xa5\xe0\x6b\xe3\x28\x9d\x59\x6e\x6d\x4c\x30\x0d\x99\x54\x84\x74\x9a\x4b\xc5\x8b\x0d\x82\x99\xb0\x58\x39\x25\x7f\x6c\xa6\x4a\x7c\x02\xfa\x4f\x09\x0c\xa0\x95\xf1\xb4\x34\x54\x98\xc0\x7e\xf2\x89\xda\x8c\xd9\x0f\xc8\xd0\x80\x14\xa8\x77\xd7\x17\x8e\xde\x88\x72\x40\xa7\xca\x24\x2b\xb1\x16\xec\xe3\xaa\x2c\xf3\x8f\x23\xfc\x5f\xf3\x11\x22\x8e\x4a\x33\xfc\x75\xc4\xec\x12\x59\x45\xd5\xe1\xe5\xb3\x0d\xd4\x90\xad\x72\x2a\x38\x3f\x55\xc0\xc5\x5e\xc4\xe8\x5e\x3b\xdb\xd0\x63\x64\x82\xd7\x70\xe1\x56\x8a\x43\x71\xc7\x37\x76\x72\xfe\x17\x9b\x2c\x42\x97\x76\x02\x5d\x6d\x31\x3f\x2a\x50\x48\x0c\xa4\x6c\x8d\xed\x0b\x27\x8a\xfd\x70\x7b\x7b\xc5\xbe\x3f\xbf\x75\xca\xce\xdd\xf5\x05\xee\x0b\xa0\x53\x61\x9c\xfd\xa9\xb9\xc4\xb7\x9b\x5c\xfc\xf9\x4f\x7f\x9e\x2a\xe6\x6a\x94\x2b\x37\xd3\x78\xa2\x47\x48\x09\x0b\x78\x27\x08\xcc\x02\x95\x33\xf4\x87\x25\x77\x68\xf8\x05\x6a\xe7\x8f\xe4\x2d\x80\x3b\x2a\xd3\xfa\xbe\xca\xbd\x9b\x3b\xd6\xc3\x6c\x87\x77\xd7\x17\xd0\x3a\xd0\x29\x95\x2b\xa8\x9f\x26\xbc\xf7\x05\x16\x9e\xbb\xc1\xd8\xff\x7e\xd0\x32\x65\x5c\x6d\xec\xbb\xd8\x34\x6c\xcb\x42\x2c\x74\x21\x46\xee\x49\xdb\x00\x2f\xe5\x5c\x66\xb2\xdc\x80\x94\x72\x75\xed\x73\xc7\x91\x6f\x1b\xb0\xd6\x0c\x01\xbc\xed\x06\xc3\x32\xb6\x2f\xef\x4c\x8c\x00\x87\x45\xf3\xb5\x11\xd1\xd0\xb1\xef\xce\x0b\xc1\xef\xed\xee\xa6\x16\xc6\xaf\xa8\x66\xac\x78\x83\x77\xcc\xa2\x52\x09\x6e\x0d\x3b\x06\xda\xfd\x64\x39\x65\x1b\xc6\x1f\xb8\xc4\x9a\xb2\x2e\x5c\xbe\x58\xc8\x44\xf2\x8c\x24\xc7\xbc\x5a\x40\xd9\x18\x6e\xa8\x64\x11\x82\x0f\x6d\x23\x60\x65\xb8\x82\xfd\xb8\xa1\xe6\x62\x29\x11\x70\xfc\x28\xcb\x15\xe6\x15\x8c\x71\x9d\x79\x2e\xcd\x38\xd1\x6b\x38\x6f\x37\xb0\x95\x0c\x19\xbd\x80\x03\x6f\xec\x73\xf6\xd2\x41\xed\xd6\x79\xb9\xa1\xbd\xf7\x8a\xad\xe5\x72\x55\x42\x21\x17\xe8\x1d\x20\x11\x72\x9d\x67\x60\xf4\x51\x84\xd1\xe1\x7d\x8d\x58\x73\x55\xca\xa4\x2b\xa6\xd4\x5a\x12\xbc\x1f\xc6\x73\xbe\x29\x77\xfb\xf1\xde\x13\xcf\x3e\x47\x0a\xfd\x48\x22\xb3\xa6\x40\x26\x19\x08\xe5\x65\x22\x02\xff\x66\xc9\xd9\x7d\x26\xd4\xc7\x13\xb5\xf9\x18\x48\x48\xb9\x8a\x6a\x5f\xed\xe8\xdd\x9d\x7f\x9e\x69\x5a\x35\xc6\xa7\x0a\x50\x9d\x56\x60\x50\x31\xda\x9d\x77\x8c\xbf\x52\xec\xca\x5e\xb9\x4d\x93\xc9\x39\xf4\x4d\xb2\xc2\x30\x53\xe5\x90\x4f\x50\x6a\x96\xf3\xe4\xfe\xb8\x52\xf6\x7f\xac\x30\xc4\xe3\x6e\x62\x72\xa2\xa9\xd2\x0b\x56\x95\x78\x70\xdc\x16\x06\xa7\x48\xe4\x0a\x08\x06\xda\x5a\x94\x2b\x9d\xfa\xbc\x30\xdb\x26\xcc\x9f\x1d\xd1\x39\xd1\x4b\xbf\x7e\xc3\xae\x6c\x87\x76\x13\x53\xdf\xdc\x7f\xbe\x54\xec\xf4\x9f\xff\x19\x9e\xb7\x93\xfb\x4e\x6b\xb6\xd0\x9a\x7d\xc7\xc6\xe3\xf1\xbf\xe3\xdf\x6c\xa3\x5c\x6d\xe8\x5f\x5c\x6d\xc6\xb6\xb9\x77\x85\x5e\xbf\x5c\x68\xfd\x8a\xfe\x0e\x45\x9b\xed\x7f\xc8\x05\x7b\x69\x1f\xba\x83\xae\x6e\xf5\xcb\x69\xf5\xf5\xd7\xdf\xfc\xab\x7d\xf4\x15\xfb\x4f\x7c\x26\x7a\xfc\x6f\xf1\x50\xbf\xd9\x33\xd4\xdf\xf3\x07\xde\x67\xac\xec\x3b\xb8\x6b\x6c\x03\x3b\xc7\x28\xcd\xcb\x77\x5a\x8f\xc1\xfa\x8f\x47\x87\xcd\xda\x27\x70\x14\xd1\x53\xff\x1e\x0d\x9b\xb9\x71\xff\x6e\xcf\xb8\x11\x55\xef\x47\x8e\xcd\xbf\xd3\xfa\xe5\x78\x6c\xe5\x16\xcd\x2b\x8e\xfa\xe5\xab\xfa\x44\xc3\x07\x6c\x8f\xdf\xfe\x3c\xc1\xe1\x9f\x9d\xdf\x9c\x5e\x4f\xae\x6e\x3f\x5c\xbf\x7a\xe3\xbe\x20\xac\x40\xf4\x3e\x73\xa5\xb5\xfd\xc0\xff\xf7\x9e\x81\x7f\xaf\xdd\x98\x61\xd0\x6f\xbe\x63\xb8\x9a\xf9\x7c\xfc\x4e\xeb\xff\x1c\x8f\xc7\x7f\xa3\x9f\xb9\xda\x8c\xec\xc5\x64\x9f\xc9\x51\x94\xbf\xe7\x85\x59\xf1\xcc\x7e\x53\x34\x06\xff\x11\xad\x2d\xba\xe6\xe4\xa2\xd1\xd8\x9d\x5a\x87\xe6\xa0\x33\x58\x58\x78\xea\x1f\xbf\x63\x4a\x66\x61\xf9\xa2\x3e\x60\x9d\x6e\x81\x5a\x22\xb9\xf7\xc7\xc5\xd7\x08\x9d\x6f\x58\xde\x3c\xb8\x98\x77\xb6\x71\x15\x0a\xac\xb8\x9f\xaa\x17\x2d\x12\xfd\xd8\xaa\x76\x63\xf8\xc1\x5e\x50\x2f\x5c\xf5\x78\x77\x2d\xf8\xca\x5a\x38\xb3\x10\x88\xc6\xd3\xaa\x28\x47\xad\x4d\x3f\xf4\x17\x5e\x44\x56\x05\x6a\xe7\x8b\xe3\x17\x94\x28\x14\xba\xa8\x13\xc9\x4f\xbf\x5a\x68\x3d\x9e\xf3\x02\x46\xf7\xe9\x78\x33\xfe\xeb\xf4\x2b\xfc\x1e\x54\x3e\x50\x31\x82\xc6\xa7\x5f\xc1\xaf\xb0\x1d\xa6\xea\xf7\x37\x1f\x2e\xa7\xea\xbb\xef\xbe\xfb\x0e\x67\xcb\xfe\xbb\x25\xf6\x62\xaf\x2b\x10\xb7\xa8\xa7\x54\xc6\x95\x94\x14\xcb\x2a\xe3\xc5\x54\xb5\x87\x6b\x52\x11\x84\xe6\x28\x04\x6f\x68\x9f\x8d\x5c\x75\x0b\x28\x52\xe6\x64\x1c\xfa\x26\x3f\xfe\xff\x76\xc8\x1f\x49\x45\xf4\x42\x3e\x9e\x82\xb1\xdb\xcc\x6f\xdc\x56\xb5\x93\x6d\xf7\x6f\xd0\xb3\x16\x32\x13\x74\x70\xdd\xe6\xbe\x12\x85\xd1\x2a\xec\x19\x32\x08\x80\xdb\x0c\x02\x00\xec\x3b\xf6\xfa\xdf\x1b\xbf\xda\x75\x70\x3f\x7e\x53\x93\x04\x8c\x85\xa6\xa6\x5f\xc1\xa8\xa7\x5f\xbd\x61\xd3\xaf\xda\xf6\x4d\x7d\x60\x63\x1c\xca\xf4\xab\x51\x68\x00\x86\x71\xc9\xd7\xd8\x48\xf5\xf5\xd7\xbf\x4b\x70\x08\x98\xba\x16\x3d\x69\x87\xd4\xfd\x60\x34\xc4\x49\x23\x74\xe6\x26\xc2\xa5\x40\x3e\x8a\x2c\x3b\xba\x57\xfa\x11\xeb\x8c\x43\x9c\x88\xb2\x94\x19\x6e\x8f\xfa\xe2\x52\x6d\xb2\xc6\x8a\xbb\xa4\x4d\xdf\x8d\x2f\x6f\x07\x0b\x3a\x55\x1f\x61\xeb\xb8\x15\x25\x3a\x22\xa0\x03\xf5\x3d\x81\x51\x43\x3b\xc1\xe5\x58\xd0\x46\x98\x2a\x68\xc6\xaf\x39\x7b\x09\xc0\x2f\xfa\x94\x2d\xcd\xda\x19\x4f\x7f\xfe\xd3\x9f\x5f\xbd\x39\x64\x9d\xea\xcd\xd5\x96\x0a\xbe\x07\xdb\x78\x3d\xfe\xe6\xf5\x37\x66\xfa\x15\xcd\x7a\xbb\x89\x7d\x21\x4d\xf9\x53\x43\x03\x7b\x42\xb1\x73\xab\x38\x7c\xae\xe0\x85\x1b\x2a\x0e\xb3\x6f\xd0\xe2\xba\x1e\x56\xd0\x0b\xe7\xd6\x01\xe3\xcc\x95\x81\xb7\xe3\x1e\xa4\xde\xf9\xf9\x42\x63\x8b\x3d\x16\x3c\xcf\x45\xe1\x7c\xe5\x5b\xe1\x0c\xa8\xa9\x0e\xbd\x38\xd1\xdf\x26\xcc\xec\xb6\x69\x34\x0d\x8f\xc1\xd4\x8d\xdb\x57\xee\xb2\xca\xb2\xce\x95\xdb\x5f\x2c\xf9\xf2\xee\xe2\x62\xf6\xd3\xc9\xc5\xdd\xb9\xfb\xfc\xd6\xe2\xc3\xd1\x63\x9d\x73\xe2\x47\x42\x73\x82\xb8\xaa\x12\xb0\x54\xd5\x5a\x14\x8e\x29\x2c\x7c\x35\xe2\x48\xaa\x2c\xab\x97\xc5\x9e\xaa\x8f\xd4\x0e\x88\x81\x4a\x49\xa7\xa6\xec\x9c\xb8\x7a\xff\xf0\xd8\x47\xdb\xf8\x47\x7c\xf7\x88\x85\x8f\x78\xc3\x2e\x7d\xaf\x1d\xf3\x4a\x84\x13\x07\x1c\x07\xcc\xb7\xed\x3a\x0e\xcf\x5d\xf8\xff\x69\xc7\xe3\x4e\x41\xd1\x2f\x2b\x79\xb1\x5e\xff\xb3\x9c\x0e\x9c\xbb\x8f\x75\x28\xb8\x77\x97\xa6\x18\x35\x84\x76\x47\x58\xae\xdd\x94\xc4\x59\x8c\x73\x36\x55\x28\x88\xed\x98\x4a\xdd\x3d\x26\x36\xa1\x08\x52\xc6\xd5\xb2\xe2\x4b\x61\x46\xcc\x75\x3e\x55\xce\x3a\x75\xb6\x8e\x07\xe6\x00\x23\x6b\x63\x0b\x35\x52\x80\xa5\x9a\x2a\xfa\x26\xb8\x61\xa9\x79\x4c\x47\xfd\xfd\x8d\xff\x1c\xca\xfb\xc6\x86\xa8\xe2\xbc\x9a\x2a\x5c\x5c\xf4\x8d\x39\xb0\x21\xa8\x1d\xdb\x77\x13\x07\x78\x30\xda\x75\x29\x2b\xf5\x12\x60\x8f\x53\xe5\x59\xb0\x10\x9c\xe1\xec\xb5\x50\x1b\x14\x87\xb4\x5f\x9e\xb8\xc5\x70\x67\x82\xc6\xd6\xbe\xeb\x0f\xbe\x03\xec\x81\x9b\xb5\xda\xf2\xbb\xb7\x6d\x10\x63\x3d\x01\x39\x3c\x12\x1c\x5d\xd4\x88\x40\x7d\xd6\x3e\x1a\xf7\x5d\xf8\x4c\x67\xf6\xa8\xae\xe6\xd9\x80\x21\xe1\xf3\x3b\x07\x85\x22\x79\xf7\xa0\x7a\x78\xa4\xaf\x1b\x47\xcb\x6e\xd3\x5d\xdd\xce\xb5\xee\x58\x97\x67\xc4\xec\xd6\x06\x45\x2f\xec\x9b\x8c\x2a\x29\x9f\xb2\x5f\x7a\xf0\x01\x35\xa7\xc8\x49\x9f\x5d\x03\xca\xa4\x79\xd2\x70\x82\xfe\xd4\x7b\x44\x5e\x43\xa0\xcb\x6e\x90\x84\xa5\x7b\xae\x26\x60\x3b\xc4\xa4\x33\x53\x30\xbd\x45\x48\x14\x2f\xf6\xf0\x8c\xe0\x10\xd9\xfd\x3f\xf2\x9b\x68\x14\x56\x6e\x04\x83\x4c\xaa\xc2\x58\x71\x49\xf2\x8e\xa4\xb6\x2e\x18\x9f\x2a\xc7\x06\xe3\xc4\xf1\x89\xf3\x07\x17\xfe\xaf\xc8\xb1\x94\x63\xc9\x3a\x08\x0a\x95\xe0\x25\x27\x69\x38\x55\x0f\xbc\x90\x5c\x01\xa6\x79\x6e\xa0\xde\x30\x98\x74\x1b\x46\x3f\x78\x02\x0e\x13\x3b\x99\xf7\xc8\xbc\x86\x1a\x50\xbb\xe7\xff\xc1\xfe\xdf\xdf\xfe\xe1\xff\x06\x00\x00\xff\xff\x9a\xd6\x34\xea\xf7\xfd\x06\x00") - -func adminSwaggerJsonBytes() ([]byte, error) { - return bindataRead( - _adminSwaggerJson, - "admin.swagger.json", - ) -} - -func adminSwaggerJson() (*asset, error) { - bytes, err := adminSwaggerJsonBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "admin.swagger.json", size: 458231, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -// Asset loads and returns the asset for the given name. -// It returns an error if the asset could not be found or -// could not be loaded. -func Asset(name string) ([]byte, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { - a, err := f() - if err != nil { - return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) - } - return a.bytes, nil - } - return nil, fmt.Errorf("Asset %s not found", name) -} - -// MustAsset is like Asset but panics when Asset would return an error. -// It simplifies safe initialization of global variables. -func MustAsset(name string) []byte { - a, err := Asset(name) - if err != nil { - panic("asset: Asset(" + name + "): " + err.Error()) - } - - return a -} - -// AssetInfo loads and returns the asset info for the given name. -// It returns an error if the asset could not be found or -// could not be loaded. -func AssetInfo(name string) (os.FileInfo, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { - a, err := f() - if err != nil { - return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) - } - return a.info, nil - } - return nil, fmt.Errorf("AssetInfo %s not found", name) -} - -// AssetNames returns the names of the assets. -func AssetNames() []string { - names := make([]string, 0, len(_bindata)) - for name := range _bindata { - names = append(names, name) - } - return names -} - -// _bindata is a table, holding each asset generator, mapped to its name. -var _bindata = map[string]func() (*asset, error){ - "admin.swagger.json": adminSwaggerJson, -} - -// AssetDir returns the file names below a certain -// directory embedded in the file by go-bindata. -// For example if you run go-bindata on data/... and data contains the -// following hierarchy: -// data/ -// foo.txt -// img/ -// a.png -// b.png -// then AssetDir("data") would return []string{"foo.txt", "img"} -// AssetDir("data/img") would return []string{"a.png", "b.png"} -// AssetDir("foo.txt") and AssetDir("notexist") would return an error -// AssetDir("") will return []string{"data"}. -func AssetDir(name string) ([]string, error) { - node := _bintree - if len(name) != 0 { - cannonicalName := strings.Replace(name, "\\", "/", -1) - pathList := strings.Split(cannonicalName, "/") - for _, p := range pathList { - node = node.Children[p] - if node == nil { - return nil, fmt.Errorf("Asset %s not found", name) - } - } - } - if node.Func != nil { - return nil, fmt.Errorf("Asset %s not found", name) - } - rv := make([]string, 0, len(node.Children)) - for childName := range node.Children { - rv = append(rv, childName) - } - return rv, nil -} - -type bintree struct { - Func func() (*asset, error) - Children map[string]*bintree -} - -var _bintree = &bintree{nil, map[string]*bintree{ - "admin.swagger.json": &bintree{adminSwaggerJson, map[string]*bintree{}}, -}} - -// RestoreAsset restores an asset under the given directory -func RestoreAsset(dir, name string) error { - data, err := Asset(name) - if err != nil { - return err - } - info, err := AssetInfo(name) - if err != nil { - return err - } - err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755)) - if err != nil { - return err - } - err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) - if err != nil { - return err - } - err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) - if err != nil { - return err - } - return nil -} - -// RestoreAssets restores an asset under the given directory recursively -func RestoreAssets(dir, name string) error { - children, err := AssetDir(name) - // File - if err != nil { - return RestoreAsset(dir, name) - } - // Dir - for _, child := range children { - err = RestoreAssets(dir, filepath.Join(name, child)) - if err != nil { - return err - } - } - return nil -} - -func _filePath(dir, name string) string { - cannonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go b/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go index 3ad109ae7d..dd07d27692 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/signal.pb.go @@ -1,214 +1,156 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.30.0 +// protoc (unknown) // source: flyteidl/service/signal.proto package service import ( - context "context" - fmt "fmt" admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - proto "github.com/golang/protobuf/proto" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "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" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// 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 - -func init() { proto.RegisterFile("flyteidl/service/signal.proto", fileDescriptor_ca211d25a1023377) } - -var fileDescriptor_ca211d25a1023377 = []byte{ - // 356 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x92, 0x41, 0x4b, 0xeb, 0x40, - 0x14, 0x85, 0x5f, 0xca, 0xe3, 0xc1, 0x8b, 0x88, 0x3a, 0x0b, 0x17, 0x51, 0xc1, 0x66, 0xa5, 0x05, - 0x33, 0xa8, 0xbb, 0x82, 0x08, 0x2a, 0x08, 0x22, 0x08, 0x66, 0x21, 0x74, 0x53, 0xa6, 0xc9, 0xed, - 0x38, 0x36, 0x99, 0x1b, 0x33, 0xd3, 0x56, 0x91, 0x6e, 0x04, 0x57, 0x82, 0x1b, 0xb7, 0xfe, 0x2b, - 0x5d, 0xbb, 0xf2, 0x77, 0x88, 0x64, 0xd2, 0x06, 0xad, 0x89, 0x3b, 0x77, 0xe1, 0x9e, 0x2f, 0xe7, - 0xce, 0x39, 0x5c, 0x7b, 0xa5, 0x1b, 0x5d, 0x6b, 0x10, 0x61, 0x44, 0x15, 0xa4, 0x03, 0x11, 0x00, - 0x55, 0x82, 0x4b, 0x16, 0x79, 0x49, 0x8a, 0x1a, 0xc9, 0xfc, 0x44, 0xf6, 0xc6, 0xb2, 0xb3, 0xcc, - 0x11, 0x79, 0x04, 0x94, 0x25, 0x82, 0x32, 0x29, 0x51, 0x33, 0x2d, 0x50, 0xaa, 0x9c, 0x77, 0x96, - 0x0a, 0x3b, 0x16, 0xc6, 0x42, 0x7e, 0x31, 0xdb, 0x7a, 0xfd, 0x6b, 0xcf, 0xfa, 0x66, 0xe0, 0xe7, - 0x66, 0xe4, 0xcc, 0x5e, 0x38, 0x04, 0x7d, 0x92, 0xee, 0xa7, 0xc0, 0x34, 0xe4, 0x1a, 0x59, 0xf3, - 0x8a, 0xa5, 0xc6, 0xc4, 0xcb, 0xe7, 0x9f, 0xc0, 0x53, 0xb8, 0xec, 0x83, 0xd2, 0xce, 0x62, 0x39, - 0xe9, 0xfe, 0x21, 0x2f, 0x35, 0x7b, 0xe6, 0x58, 0x28, 0x9d, 0x0f, 0x14, 0xa9, 0x97, 0x93, 0x19, - 0x32, 0x31, 0x73, 0xaa, 0x11, 0xf7, 0xae, 0x76, 0xfb, 0xfc, 0xf6, 0x58, 0x7b, 0xb7, 0x48, 0xcf, - 0x04, 0x1f, 0x6c, 0x8e, 0x93, 0x29, 0x7a, 0x33, 0xc4, 0xb4, 0xd7, 0x8d, 0x70, 0xd8, 0x86, 0x2b, - 0x08, 0xfa, 0x59, 0x19, 0x6d, 0x11, 0x66, 0x89, 0x2f, 0x20, 0xd0, 0xa3, 0x2a, 0x3d, 0xc4, 0x98, - 0x09, 0x59, 0x29, 0x4b, 0x16, 0xc3, 0xa8, 0xf5, 0x60, 0x91, 0x7b, 0x6b, 0x7a, 0x21, 0xa6, 0xbc, - 0xea, 0x2f, 0x4c, 0xf9, 0xe8, 0x37, 0x1f, 0x44, 0x9e, 0x2c, 0xfb, 0xbf, 0x0f, 0xe3, 0x56, 0xc9, - 0x6a, 0x79, 0x63, 0x3e, 0x14, 0x9d, 0xd6, 0x7f, 0x20, 0x54, 0x82, 0x52, 0x81, 0x7b, 0x64, 0x9a, - 0x3d, 0x70, 0xe7, 0xa6, 0x72, 0x36, 0xad, 0x46, 0xcb, 0x73, 0xd7, 0x4b, 0xd3, 0x8b, 0xd0, 0xfb, - 0x96, 0xbb, 0x69, 0x35, 0xf6, 0x76, 0x5b, 0x3b, 0x5c, 0xe8, 0xf3, 0x7e, 0xc7, 0x0b, 0x30, 0xa6, - 0x66, 0x75, 0xc6, 0x9b, 0x0f, 0x5a, 0x5c, 0x26, 0x07, 0x49, 0x93, 0xce, 0x06, 0x47, 0x3a, 0x7d, - 0xfb, 0x9d, 0x7f, 0xe6, 0x50, 0xb7, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x52, 0xf5, 0x8e, 0x13, - 0x16, 0x03, 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 - -// SignalServiceClient is the client API for SignalService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SignalServiceClient interface { - // Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. - GetOrCreateSignal(ctx context.Context, in *admin.SignalGetOrCreateRequest, opts ...grpc.CallOption) (*admin.Signal, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. - ListSignals(ctx context.Context, in *admin.SignalListRequest, opts ...grpc.CallOption) (*admin.SignalList, error) - // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition - SetSignal(ctx context.Context, in *admin.SignalSetRequest, opts ...grpc.CallOption) (*admin.SignalSetResponse, error) -} - -type signalServiceClient struct { - cc *grpc.ClientConn -} - -func NewSignalServiceClient(cc *grpc.ClientConn) SignalServiceClient { - return &signalServiceClient{cc} -} - -func (c *signalServiceClient) GetOrCreateSignal(ctx context.Context, in *admin.SignalGetOrCreateRequest, opts ...grpc.CallOption) (*admin.Signal, error) { - out := new(admin.Signal) - err := c.cc.Invoke(ctx, "/flyteidl.service.SignalService/GetOrCreateSignal", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *signalServiceClient) ListSignals(ctx context.Context, in *admin.SignalListRequest, opts ...grpc.CallOption) (*admin.SignalList, error) { - out := new(admin.SignalList) - err := c.cc.Invoke(ctx, "/flyteidl.service.SignalService/ListSignals", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *signalServiceClient) SetSignal(ctx context.Context, in *admin.SignalSetRequest, opts ...grpc.CallOption) (*admin.SignalSetResponse, error) { - out := new(admin.SignalSetResponse) - err := c.cc.Invoke(ctx, "/flyteidl.service.SignalService/SetSignal", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SignalServiceServer is the server API for SignalService service. -type SignalServiceServer interface { - // Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. - GetOrCreateSignal(context.Context, *admin.SignalGetOrCreateRequest) (*admin.Signal, error) - // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. - ListSignals(context.Context, *admin.SignalListRequest) (*admin.SignalList, error) - // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition - SetSignal(context.Context, *admin.SignalSetRequest) (*admin.SignalSetResponse, error) -} - -// UnimplementedSignalServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSignalServiceServer struct { -} - -func (*UnimplementedSignalServiceServer) GetOrCreateSignal(ctx context.Context, req *admin.SignalGetOrCreateRequest) (*admin.Signal, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOrCreateSignal not implemented") -} -func (*UnimplementedSignalServiceServer) ListSignals(ctx context.Context, req *admin.SignalListRequest) (*admin.SignalList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSignals not implemented") -} -func (*UnimplementedSignalServiceServer) SetSignal(ctx context.Context, req *admin.SignalSetRequest) (*admin.SignalSetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetSignal not implemented") -} - -func RegisterSignalServiceServer(s *grpc.Server, srv SignalServiceServer) { - s.RegisterService(&_SignalService_serviceDesc, srv) -} - -func _SignalService_GetOrCreateSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.SignalGetOrCreateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SignalServiceServer).GetOrCreateSignal(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.SignalService/GetOrCreateSignal", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SignalServiceServer).GetOrCreateSignal(ctx, req.(*admin.SignalGetOrCreateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SignalService_ListSignals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.SignalListRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SignalServiceServer).ListSignals(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.SignalService/ListSignals", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SignalServiceServer).ListSignals(ctx, req.(*admin.SignalListRequest)) - } - return interceptor(ctx, in, info, handler) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -func _SignalService_SetSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(admin.SignalSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SignalServiceServer).SetSignal(ctx, in) +var File_flyteidl_service_signal_proto protoreflect.FileDescriptor + +var file_flyteidl_service_signal_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x10, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1b, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, + 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xa9, 0x07, 0x0a, + 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, + 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x28, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x47, 0x65, 0x74, 0x4f, + 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, + 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x39, 0x92, 0x41, 0x36, 0x1a, 0x34, 0x52, 0x65, 0x74, + 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x61, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2c, 0x20, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x74, 0x20, 0x69, 0x66, 0x20, 0x69, + 0x74, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x2e, 0x12, 0xa0, 0x03, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, + 0x73, 0x12, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0xd1, 0x02, 0x92, 0x41, 0x49, 0x1a, 0x47, 0x46, 0x65, 0x74, 0x63, 0x68, 0x20, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, + 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x20, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x6c, 0x20, 0x69, 0x64, 0x20, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0xfe, 0x01, 0x5a, 0x8e, 0x01, 0x12, 0x8b, 0x01, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x2f, 0x6f, 0x72, 0x67, 0x2f, + 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, + 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xe1, 0x02, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8e, 0x02, 0x92, 0x41, 0xc0, 0x01, 0x1a, 0x13, + 0x53, 0x65, 0x74, 0x20, 0x61, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x2e, 0x4a, 0x42, 0x0a, 0x03, 0x34, 0x30, 0x30, 0x12, 0x3b, 0x0a, 0x39, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x62, 0x61, 0x64, 0x20, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x6d, 0x61, 0x79, 0x20, + 0x68, 0x61, 0x76, 0x65, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x65, 0x0a, 0x03, 0x34, 0x30, 0x39, 0x12, 0x5e, + 0x0a, 0x5c, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, + 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x20, 0x61, 0x6e, 0x20, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x6c, 0x20, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x74, 0x68, 0x61, + 0x74, 0x20, 0x68, 0x61, 0x73, 0x20, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x20, 0x62, 0x65, + 0x65, 0x6e, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x2e, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x44, 0x3a, 0x01, 0x2a, 0x5a, 0x2e, 0x3a, 0x01, 0x2a, 0x22, 0x29, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x2f, 0x6f, 0x72, + 0x67, 0x2f, 0x7b, 0x69, 0x64, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x7d, 0x22, 0x0f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x42, 0xc3, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x42, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, + 0x02, 0x03, 0x46, 0x53, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xe2, 0x02, 0x1c, 0x46, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x46, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_flyteidl_service_signal_proto_goTypes = []interface{}{ + (*admin.SignalGetOrCreateRequest)(nil), // 0: flyteidl.admin.SignalGetOrCreateRequest + (*admin.SignalListRequest)(nil), // 1: flyteidl.admin.SignalListRequest + (*admin.SignalSetRequest)(nil), // 2: flyteidl.admin.SignalSetRequest + (*admin.Signal)(nil), // 3: flyteidl.admin.Signal + (*admin.SignalList)(nil), // 4: flyteidl.admin.SignalList + (*admin.SignalSetResponse)(nil), // 5: flyteidl.admin.SignalSetResponse +} +var file_flyteidl_service_signal_proto_depIdxs = []int32{ + 0, // 0: flyteidl.service.SignalService.GetOrCreateSignal:input_type -> flyteidl.admin.SignalGetOrCreateRequest + 1, // 1: flyteidl.service.SignalService.ListSignals:input_type -> flyteidl.admin.SignalListRequest + 2, // 2: flyteidl.service.SignalService.SetSignal:input_type -> flyteidl.admin.SignalSetRequest + 3, // 3: flyteidl.service.SignalService.GetOrCreateSignal:output_type -> flyteidl.admin.Signal + 4, // 4: flyteidl.service.SignalService.ListSignals:output_type -> flyteidl.admin.SignalList + 5, // 5: flyteidl.service.SignalService.SetSignal:output_type -> flyteidl.admin.SignalSetResponse + 3, // [3:6] is the sub-list for method output_type + 0, // [0:3] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flyteidl_service_signal_proto_init() } +func file_flyteidl_service_signal_proto_init() { + if File_flyteidl_service_signal_proto != nil { + return } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/flyteidl.service.SignalService/SetSignal", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SignalServiceServer).SetSignal(ctx, req.(*admin.SignalSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SignalService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "flyteidl.service.SignalService", - HandlerType: (*SignalServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetOrCreateSignal", - Handler: _SignalService_GetOrCreateSignal_Handler, - }, - { - MethodName: "ListSignals", - Handler: _SignalService_ListSignals_Handler, - }, - { - MethodName: "SetSignal", - Handler: _SignalService_SetSignal_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_flyteidl_service_signal_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "flyteidl/service/signal.proto", + GoTypes: file_flyteidl_service_signal_proto_goTypes, + DependencyIndexes: file_flyteidl_service_signal_proto_depIdxs, + }.Build() + File_flyteidl_service_signal_proto = out.File + file_flyteidl_service_signal_proto_rawDesc = nil + file_flyteidl_service_signal_proto_goTypes = nil + file_flyteidl_service_signal_proto_depIdxs = nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/signal.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/service/signal.pb.gw.go deleted file mode 100644 index e0ba6b6ef4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/signal.pb.gw.go +++ /dev/null @@ -1,354 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: flyteidl/service/signal.proto - -/* -Package service is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package service - -import ( - "context" - "io" - "net/http" - - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "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_SignalService_ListSignals_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_SignalService_ListSignals_0(ctx context.Context, marshaler runtime.Marshaler, client SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.SignalListRequest - 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_SignalService_ListSignals_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListSignals(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_SignalService_ListSignals_1 = &utilities.DoubleArray{Encoding: map[string]int{"workflow_execution_id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 2, 3, 4, 5, 6}} -) - -func request_SignalService_ListSignals_1(ctx context.Context, marshaler runtime.Marshaler, client SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.SignalListRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["workflow_execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.org", 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_SignalService_ListSignals_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ListSignals(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_SignalService_SetSignal_0(ctx context.Context, marshaler runtime.Marshaler, client SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.SignalSetRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.SetSignal(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func request_SignalService_SetSignal_1(ctx context.Context, marshaler runtime.Marshaler, client SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq admin.SignalSetRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id.execution_id.org"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) - } - - msg, err := client.SetSignal(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -// RegisterSignalServiceHandlerFromEndpoint is same as RegisterSignalServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterSignalServiceHandlerFromEndpoint(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 RegisterSignalServiceHandler(ctx, mux, conn) -} - -// RegisterSignalServiceHandler registers the http handlers for service SignalService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterSignalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterSignalServiceHandlerClient(ctx, mux, NewSignalServiceClient(conn)) -} - -// RegisterSignalServiceHandlerClient registers the http handlers for service SignalService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SignalServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SignalServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "SignalServiceClient" to call the correct interceptors. -func RegisterSignalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SignalServiceClient) error { - - mux.Handle("GET", pattern_SignalService_ListSignals_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_SignalService_ListSignals_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_SignalService_ListSignals_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_SignalService_ListSignals_1, 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_SignalService_ListSignals_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_SignalService_ListSignals_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_SignalService_SetSignal_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_SignalService_SetSignal_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_SignalService_SetSignal_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_SignalService_SetSignal_1, 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_SignalService_SetSignal_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_SignalService_SetSignal_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_SignalService_ListSignals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "signals", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) - - pattern_SignalService_ListSignals_1 = 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}, []string{"api", "v1", "signals", "org", "workflow_execution_id.org", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) - - pattern_SignalService_SetSignal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "signals"}, "")) - - pattern_SignalService_SetSignal_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "signals", "org", "id.execution_id.org"}, "")) -) - -var ( - forward_SignalService_ListSignals_0 = runtime.ForwardResponseMessage - - forward_SignalService_ListSignals_1 = runtime.ForwardResponseMessage - - forward_SignalService_SetSignal_0 = runtime.ForwardResponseMessage - - forward_SignalService_SetSignal_1 = runtime.ForwardResponseMessage -) diff --git a/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json deleted file mode 100644 index 39b3f3e777..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json +++ /dev/null @@ -1,862 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "flyteidl/service/signal.proto", - "version": "version not set" - }, - "schemes": [ - "http", - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/api/v1/signals": { - "post": { - "summary": "Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition", - "operationId": "SetSignal", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminSignalSetResponse" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminSignalSetRequest" - } - } - ], - "tags": [ - "SignalService" - ] - } - }, - "/api/v1/signals/org/{id.execution_id.org}": { - "post": { - "summary": "Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition", - "operationId": "SetSignal2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminSignalSetResponse" - } - } - }, - "parameters": [ - { - "name": "id.execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/adminSignalSetRequest" - } - } - ], - "tags": [ - "SignalService" - ] - } - }, - "/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions.", - "operationId": "ListSignals2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminSignalList" - } - } - }, - "parameters": [ - { - "name": "workflow_execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "path", - "required": true, - "type": "string" - }, - { - "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" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "SignalService" - ] - } - }, - "/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { - "get": { - "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions.", - "operationId": "ListSignals", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/adminSignalList" - } - } - }, - "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" - }, - { - "name": "workflow_execution_id.org", - "description": "Optional, org key applied to the resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "description": "Indicates the number of resources to be returned.\n+required.", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "token", - "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "filters", - "description": "Indicates a list of filters passed as string.\n+optional.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.key", - "description": "Indicates an attribute to sort the response values.\n+required.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "sort_by.direction", - "description": "Indicates the direction to apply sort key for response values.\n+optional.\n\n - DESCENDING: By default, fields are sorted in descending order.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING" - } - ], - "tags": [ - "SignalService" - ] - } - } - }, - "definitions": { - "BlobTypeBlobDimensionality": { - "type": "string", - "enum": [ - "SINGLE", - "MULTIPART" - ], - "default": "SINGLE" - }, - "SchemaColumnSchemaColumnType": { - "type": "string", - "enum": [ - "INTEGER", - "FLOAT", - "STRING", - "BOOLEAN", - "DATETIME", - "DURATION" - ], - "default": "INTEGER" - }, - "SchemaTypeSchemaColumn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "A unique name -within the schema type- for the column" - }, - "type": { - "$ref": "#/definitions/SchemaColumnSchemaColumnType", - "description": "The column type. This allows a limited set of types currently." - } - } - }, - "SortDirection": { - "type": "string", - "enum": [ - "DESCENDING", - "ASCENDING" - ], - "default": "DESCENDING", - "description": " - DESCENDING: By default, fields are sorted in descending order." - }, - "StructuredDatasetTypeDatasetColumn": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A unique name within the schema type for the column." - }, - "literal_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "The column type." - } - } - }, - "adminSignal": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreSignalIdentifier", - "description": "A unique identifier for the requested signal." - }, - "type": { - "$ref": "#/definitions/coreLiteralType", - "description": "A type denoting the required value type for this signal." - }, - "value": { - "$ref": "#/definitions/coreLiteral", - "description": "The value of the signal. This is only available if the signal has been \"set\" and must match\nthe defined the type." - } - }, - "description": "Signal encapsulates a unique identifier, associated metadata, and a value for a single Flyte\nsignal. Signals may exist either without a set value (representing a signal request) or with a\npopulated value (indicating the signal has been given)." - }, - "adminSignalList": { - "type": "object", - "properties": { - "signals": { - "type": "array", - "items": { - "$ref": "#/definitions/adminSignal" - }, - "description": "A list of signals matching the input filters." - }, - "token": { - "type": "string", - "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." - } - }, - "title": "SignalList represents collection of signals along with the token of the last result.\nSee :ref:`ref_flyteidl.admin.Signal` for more details" - }, - "adminSignalSetRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreSignalIdentifier", - "description": "A unique identifier for the requested signal." - }, - "value": { - "$ref": "#/definitions/coreLiteral", - "description": "The value of this signal, must match the defining signal type." - } - }, - "title": "SignalSetRequest represents a request structure to set the value on a signal. Setting a signal\neffetively satisfies the signal condition within a Flyte workflow.\nSee :ref:`ref_flyteidl.admin.Signal` for more details" - }, - "adminSignalSetResponse": { - "type": "object", - "description": "SignalSetResponse represents a response structure if signal setting succeeds." - }, - "adminSort": { - "type": "object", - "properties": { - "key": { - "type": "string", - "title": "Indicates an attribute to sort the response values.\n+required" - }, - "direction": { - "$ref": "#/definitions/SortDirection", - "title": "Indicates the direction to apply sort key for response values.\n+optional" - } - }, - "description": "Specifies sort ordering in a list request." - }, - "coreBinary": { - "type": "object", - "properties": { - "value": { - "type": "string", - "format": "byte" - }, - "tag": { - "type": "string" - } - }, - "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." - }, - "coreBlob": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/coreBlobMetadata" - }, - "uri": { - "type": "string" - } - }, - "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." - }, - "coreBlobMetadata": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/coreBlobType" - } - } - }, - "coreBlobType": { - "type": "object", - "properties": { - "format": { - "type": "string", - "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" - }, - "dimensionality": { - "$ref": "#/definitions/BlobTypeBlobDimensionality" - } - }, - "title": "Defines type behavior for blob objects" - }, - "coreEnumType": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Predefined set of enum values." - } - }, - "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." - }, - "coreError": { - "type": "object", - "properties": { - "failed_node_id": { - "type": "string", - "description": "The node id that threw the error." - }, - "message": { - "type": "string", - "description": "Error message thrown." - } - }, - "description": "Represents an error thrown from a node." - }, - "coreLiteral": { - "type": "object", - "properties": { - "scalar": { - "$ref": "#/definitions/coreScalar", - "description": "A simple value." - }, - "collection": { - "$ref": "#/definitions/coreLiteralCollection", - "description": "A collection of literals to allow nesting." - }, - "map": { - "$ref": "#/definitions/coreLiteralMap", - "description": "A map of strings to literals." - }, - "hash": { - "type": "string", - "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional metadata for literals." - } - }, - "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." - }, - "coreLiteralCollection": { - "type": "object", - "properties": { - "literals": { - "type": "array", - "items": { - "$ref": "#/definitions/coreLiteral" - } - } - }, - "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." - }, - "coreLiteralMap": { - "type": "object", - "properties": { - "literals": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLiteral" - } - } - }, - "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." - }, - "coreLiteralType": { - "type": "object", - "properties": { - "simple": { - "$ref": "#/definitions/coreSimpleType", - "description": "A simple type that can be compared one-to-one with another." - }, - "schema": { - "$ref": "#/definitions/coreSchemaType", - "description": "A complex type that requires matching of inner fields." - }, - "collection_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." - }, - "map_value_type": { - "$ref": "#/definitions/coreLiteralType", - "description": "Defines the type of the value of a map type. The type of the key is always a string." - }, - "blob": { - "$ref": "#/definitions/coreBlobType", - "description": "A blob might have specialized implementation details depending on associated metadata." - }, - "enum_type": { - "$ref": "#/definitions/coreEnumType", - "description": "Defines an enum with pre-defined string values." - }, - "structured_dataset_type": { - "$ref": "#/definitions/coreStructuredDatasetType", - "title": "Generalized schema support" - }, - "union_type": { - "$ref": "#/definitions/coreUnionType", - "description": "Defines an union type with pre-defined LiteralTypes." - }, - "metadata": { - "$ref": "#/definitions/protobufStruct", - "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." - }, - "annotation": { - "$ref": "#/definitions/coreTypeAnnotation", - "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." - }, - "structure": { - "$ref": "#/definitions/coreTypeStructure", - "description": "Hints to improve type matching." - } - }, - "description": "Defines a strong type to allow type checking between interfaces." - }, - "corePrimitive": { - "type": "object", - "properties": { - "integer": { - "type": "string", - "format": "int64" - }, - "float_value": { - "type": "number", - "format": "double" - }, - "string_value": { - "type": "string" - }, - "boolean": { - "type": "boolean", - "format": "boolean" - }, - "datetime": { - "type": "string", - "format": "date-time" - }, - "duration": { - "type": "string" - } - }, - "title": "Primitive Types" - }, - "coreScalar": { - "type": "object", - "properties": { - "primitive": { - "$ref": "#/definitions/corePrimitive" - }, - "blob": { - "$ref": "#/definitions/coreBlob" - }, - "binary": { - "$ref": "#/definitions/coreBinary" - }, - "schema": { - "$ref": "#/definitions/coreSchema" - }, - "none_type": { - "$ref": "#/definitions/coreVoid" - }, - "error": { - "$ref": "#/definitions/coreError" - }, - "generic": { - "$ref": "#/definitions/protobufStruct" - }, - "structured_dataset": { - "$ref": "#/definitions/coreStructuredDataset" - }, - "union": { - "$ref": "#/definitions/coreUnion" - } - } - }, - "coreSchema": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/coreSchemaType" - } - }, - "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." - }, - "coreSchemaType": { - "type": "object", - "properties": { - "columns": { - "type": "array", - "items": { - "$ref": "#/definitions/SchemaTypeSchemaColumn" - }, - "description": "A list of ordered columns this schema comprises of." - } - }, - "description": "Defines schema columns and types to strongly type-validate schemas interoperability." - }, - "coreSignalIdentifier": { - "type": "object", - "properties": { - "signal_id": { - "type": "string", - "description": "Unique identifier for a signal." - }, - "execution_id": { - "$ref": "#/definitions/coreWorkflowExecutionIdentifier", - "description": "Identifies the Flyte workflow execution this signal belongs to." - } - }, - "description": "Encapsulation of fields the uniquely identify a signal." - }, - "coreSimpleType": { - "type": "string", - "enum": [ - "NONE", - "INTEGER", - "FLOAT", - "STRING", - "BOOLEAN", - "DATETIME", - "DURATION", - "BINARY", - "ERROR", - "STRUCT" - ], - "default": "NONE", - "description": "Define a set of simple types." - }, - "coreStructuredDataset": { - "type": "object", - "properties": { - "uri": { - "type": "string", - "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" - }, - "metadata": { - "$ref": "#/definitions/coreStructuredDatasetMetadata" - } - } - }, - "coreStructuredDatasetMetadata": { - "type": "object", - "properties": { - "structured_dataset_type": { - "$ref": "#/definitions/coreStructuredDatasetType", - "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." - } - } - }, - "coreStructuredDatasetType": { - "type": "object", - "properties": { - "columns": { - "type": "array", - "items": { - "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" - }, - "description": "A list of ordered columns this schema comprises of." - }, - "format": { - "type": "string", - "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." - }, - "external_schema_type": { - "type": "string", - "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." - }, - "external_schema_bytes": { - "type": "string", - "format": "byte", - "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." - } - } - }, - "coreTypeAnnotation": { - "type": "object", - "properties": { - "annotations": { - "$ref": "#/definitions/protobufStruct", - "description": "A arbitrary JSON payload to describe a type." - } - }, - "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." - }, - "coreTypeStructure": { - "type": "object", - "properties": { - "tag": { - "type": "string", - "title": "Must exactly match for types to be castable" - }, - "dataclass_type": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/coreLiteralType" - }, - "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" - } - }, - "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." - }, - "coreUnion": { - "type": "object", - "properties": { - "value": { - "$ref": "#/definitions/coreLiteral" - }, - "type": { - "$ref": "#/definitions/coreLiteralType" - } - }, - "description": "The runtime representation of a tagged union value. See `UnionType` for more details." - }, - "coreUnionType": { - "type": "object", - "properties": { - "variants": { - "type": "array", - "items": { - "$ref": "#/definitions/coreLiteralType" - }, - "description": "Predefined set of variants in union." - } - }, - "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" - }, - "coreVoid": { - "type": "object", - "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." - }, - "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." - }, - "org": { - "type": "string", - "description": "Optional, org key applied to the resource." - } - }, - "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" - }, - "protobufListValue": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Repeated field of dynamically typed values." - } - }, - "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." - }, - "protobufNullValue": { - "type": "string", - "enum": [ - "NULL_VALUE" - ], - "default": "NULL_VALUE", - "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." - }, - "protobufStruct": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Unordered map of dynamically typed values." - } - }, - "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." - }, - "protobufValue": { - "type": "object", - "properties": { - "null_value": { - "$ref": "#/definitions/protobufNullValue", - "description": "Represents a null value." - }, - "number_value": { - "type": "number", - "format": "double", - "description": "Represents a double value." - }, - "string_value": { - "type": "string", - "description": "Represents a string value." - }, - "bool_value": { - "type": "boolean", - "format": "boolean", - "description": "Represents a boolean value." - }, - "struct_value": { - "$ref": "#/definitions/protobufStruct", - "description": "Represents a structured value." - }, - "list_value": { - "$ref": "#/definitions/protobufListValue", - "description": "Represents a repeated `Value`." - } - }, - "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." - } - } -} diff --git a/flyteidl/gen/pb-go/flyteidl/service/signal_grpc.pb.go b/flyteidl/gen/pb-go/flyteidl/service/signal_grpc.pb.go new file mode 100644 index 0000000000..6a6be05f2f --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/signal_grpc.pb.go @@ -0,0 +1,188 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: flyteidl/service/signal.proto + +package service + +import ( + context "context" + admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + SignalService_GetOrCreateSignal_FullMethodName = "/flyteidl.service.SignalService/GetOrCreateSignal" + SignalService_ListSignals_FullMethodName = "/flyteidl.service.SignalService/ListSignals" + SignalService_SetSignal_FullMethodName = "/flyteidl.service.SignalService/SetSignal" +) + +// SignalServiceClient is the client API for SignalService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type SignalServiceClient interface { + // Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. + GetOrCreateSignal(ctx context.Context, in *admin.SignalGetOrCreateRequest, opts ...grpc.CallOption) (*admin.Signal, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. + ListSignals(ctx context.Context, in *admin.SignalListRequest, opts ...grpc.CallOption) (*admin.SignalList, error) + // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition + SetSignal(ctx context.Context, in *admin.SignalSetRequest, opts ...grpc.CallOption) (*admin.SignalSetResponse, error) +} + +type signalServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewSignalServiceClient(cc grpc.ClientConnInterface) SignalServiceClient { + return &signalServiceClient{cc} +} + +func (c *signalServiceClient) GetOrCreateSignal(ctx context.Context, in *admin.SignalGetOrCreateRequest, opts ...grpc.CallOption) (*admin.Signal, error) { + out := new(admin.Signal) + err := c.cc.Invoke(ctx, SignalService_GetOrCreateSignal_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *signalServiceClient) ListSignals(ctx context.Context, in *admin.SignalListRequest, opts ...grpc.CallOption) (*admin.SignalList, error) { + out := new(admin.SignalList) + err := c.cc.Invoke(ctx, SignalService_ListSignals_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *signalServiceClient) SetSignal(ctx context.Context, in *admin.SignalSetRequest, opts ...grpc.CallOption) (*admin.SignalSetResponse, error) { + out := new(admin.SignalSetResponse) + err := c.cc.Invoke(ctx, SignalService_SetSignal_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SignalServiceServer is the server API for SignalService service. +// All implementations should embed UnimplementedSignalServiceServer +// for forward compatibility +type SignalServiceServer interface { + // Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. + GetOrCreateSignal(context.Context, *admin.SignalGetOrCreateRequest) (*admin.Signal, error) + // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. + ListSignals(context.Context, *admin.SignalListRequest) (*admin.SignalList, error) + // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition + SetSignal(context.Context, *admin.SignalSetRequest) (*admin.SignalSetResponse, error) +} + +// UnimplementedSignalServiceServer should be embedded to have forward compatible implementations. +type UnimplementedSignalServiceServer struct { +} + +func (UnimplementedSignalServiceServer) GetOrCreateSignal(context.Context, *admin.SignalGetOrCreateRequest) (*admin.Signal, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOrCreateSignal not implemented") +} +func (UnimplementedSignalServiceServer) ListSignals(context.Context, *admin.SignalListRequest) (*admin.SignalList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListSignals not implemented") +} +func (UnimplementedSignalServiceServer) SetSignal(context.Context, *admin.SignalSetRequest) (*admin.SignalSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetSignal not implemented") +} + +// UnsafeSignalServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to SignalServiceServer will +// result in compilation errors. +type UnsafeSignalServiceServer interface { + mustEmbedUnimplementedSignalServiceServer() +} + +func RegisterSignalServiceServer(s grpc.ServiceRegistrar, srv SignalServiceServer) { + s.RegisterService(&SignalService_ServiceDesc, srv) +} + +func _SignalService_GetOrCreateSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.SignalGetOrCreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SignalServiceServer).GetOrCreateSignal(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SignalService_GetOrCreateSignal_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SignalServiceServer).GetOrCreateSignal(ctx, req.(*admin.SignalGetOrCreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SignalService_ListSignals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.SignalListRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SignalServiceServer).ListSignals(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SignalService_ListSignals_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SignalServiceServer).ListSignals(ctx, req.(*admin.SignalListRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SignalService_SetSignal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.SignalSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SignalServiceServer).SetSignal(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SignalService_SetSignal_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SignalServiceServer).SetSignal(ctx, req.(*admin.SignalSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// SignalService_ServiceDesc is the grpc.ServiceDesc for SignalService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var SignalService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.SignalService", + HandlerType: (*SignalServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOrCreateSignal", + Handler: _SignalService_GetOrCreateSignal_Handler, + }, + { + MethodName: "ListSignals", + Handler: _SignalService_ListSignals_Handler, + }, + { + MethodName: "SetSignal", + Handler: _SignalService_SetSignal_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/signal.proto", +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/agent.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/agent.swagger.json new file mode 100644 index 0000000000..867b42fdf4 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/agent.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/agent.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/cluster_assignment.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/cluster_assignment.swagger.json new file mode 100644 index 0000000000..11e3755e4c --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/cluster_assignment.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/cluster_assignment.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/common.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/common.swagger.json new file mode 100644 index 0000000000..7c8e3fac2f --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/common.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/common.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/description_entity.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/description_entity.swagger.json new file mode 100644 index 0000000000..982e0455cd --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/description_entity.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/description_entity.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/event.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/event.swagger.json new file mode 100644 index 0000000000..08fc718b1b --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/event.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/event.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/execution.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/execution.swagger.json new file mode 100644 index 0000000000..1b9db4b8ec --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/execution.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/execution.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/launch_plan.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/launch_plan.swagger.json new file mode 100644 index 0000000000..7066f302bf --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/launch_plan.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/launch_plan.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/matchable_resource.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/matchable_resource.swagger.json new file mode 100644 index 0000000000..56eb3a3948 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/matchable_resource.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/matchable_resource.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/node_execution.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/node_execution.swagger.json new file mode 100644 index 0000000000..cf7179f5eb --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/node_execution.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/node_execution.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/notification.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/notification.swagger.json new file mode 100644 index 0000000000..a1fc5d8f16 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/notification.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/notification.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/project.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/project.swagger.json new file mode 100644 index 0000000000..2bfa5870e8 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/project.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/project.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/project_attributes.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/project_attributes.swagger.json new file mode 100644 index 0000000000..7079f79fb3 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/project_attributes.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/project_attributes.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/project_domain_attributes.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/project_domain_attributes.swagger.json new file mode 100644 index 0000000000..09f64b053d --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/project_domain_attributes.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/project_domain_attributes.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/schedule.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/schedule.swagger.json new file mode 100644 index 0000000000..839787bd88 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/schedule.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/schedule.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/signal.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/signal.swagger.json new file mode 100644 index 0000000000..0e32934d8f --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/signal.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/signal.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/task.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/task.swagger.json new file mode 100644 index 0000000000..a6110df959 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/task.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/task.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/task_execution.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/task_execution.swagger.json new file mode 100644 index 0000000000..ef9b640cc1 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/task_execution.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/task_execution.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/version.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/version.swagger.json new file mode 100644 index 0000000000..6c24a79ee3 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/version.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/version.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/workflow.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/workflow.swagger.json new file mode 100644 index 0000000000..df48bdbd6b --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/workflow.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/workflow.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/admin/workflow_attributes.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/admin/workflow_attributes.swagger.json new file mode 100644 index 0000000000..481b28de53 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/admin/workflow_attributes.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/workflow_attributes.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/artifact_id.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/artifact_id.swagger.json new file mode 100644 index 0000000000..5275dc2670 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/artifact_id.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/artifact_id.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/catalog.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/catalog.swagger.json new file mode 100644 index 0000000000..844c33316f --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/catalog.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/catalog.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/compiler.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/compiler.swagger.json new file mode 100644 index 0000000000..55482fb19d --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/compiler.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/compiler.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/condition.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/condition.swagger.json new file mode 100644 index 0000000000..2c30824855 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/condition.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/condition.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/dynamic_job.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/dynamic_job.swagger.json new file mode 100644 index 0000000000..b9e8ff4c14 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/dynamic_job.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/dynamic_job.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/errors.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/errors.swagger.json new file mode 100644 index 0000000000..d22c32a52c --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/errors.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/errors.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/execution.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/execution.swagger.json new file mode 100644 index 0000000000..afd47219df --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/execution.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/execution.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/identifier.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/identifier.swagger.json new file mode 100644 index 0000000000..21cf0360bc --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/identifier.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/identifier.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/interface.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/interface.swagger.json new file mode 100644 index 0000000000..53138e169f --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/interface.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/interface.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/literals.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/literals.swagger.json new file mode 100644 index 0000000000..dae38e22a2 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/literals.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/literals.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/metrics.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/metrics.swagger.json new file mode 100644 index 0000000000..e5f079d717 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/metrics.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/metrics.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/security.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/security.swagger.json new file mode 100644 index 0000000000..a05237a531 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/security.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/security.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/tasks.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/tasks.swagger.json new file mode 100644 index 0000000000..e3d14e75b2 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/tasks.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/tasks.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/types.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/types.swagger.json new file mode 100644 index 0000000000..a8e40649b6 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/types.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/types.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/workflow.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/workflow.swagger.json new file mode 100644 index 0000000000..5bc734a1aa --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/workflow.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/workflow.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/core/workflow_closure.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/core/workflow_closure.swagger.json new file mode 100644 index 0000000000..871d4fea54 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/core/workflow_closure.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/workflow_closure.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/datacatalog/datacatalog.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/datacatalog/datacatalog.swagger.json new file mode 100644 index 0000000000..1f2f91d28b --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/datacatalog/datacatalog.swagger.json @@ -0,0 +1,908 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/datacatalog/datacatalog.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "DataCatalog" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "PaginationOptionsSortKey": { + "type": "string", + "enum": [ + "CREATION_TIME" + ], + "default": "CREATION_TIME" + }, + "PaginationOptionsSortOrder": { + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "SinglePropertyFilterComparisonOperator": { + "type": "string", + "enum": [ + "EQUALS" + ], + "default": "EQUALS", + "description": "as use-cases come up we can add more operators, ex: gte, like, not eq etc." + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/flyteidlcoreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "type": "object", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/flyteidlcoreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "type": "object" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + }, + "dataclass_type": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteralType" + }, + "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, + "datacatalogAddTagResponse": { + "type": "object", + "description": "Response message for tagging an Artifact." + }, + "datacatalogArtifact": { + "type": "object", + "properties": { + "id": { + "type": "string", + "title": "The unique ID of the artifact" + }, + "dataset": { + "$ref": "#/definitions/datacatalogDatasetID", + "title": "The Dataset that the artifact belongs to" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/datacatalogArtifactData" + }, + "title": "A list of data that is associated with the artifact" + }, + "metadata": { + "$ref": "#/definitions/datacatalogMetadata", + "title": "Free-form metadata associated with the artifact" + }, + "partitions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/datacatalogPartition" + } + }, + "tags": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/datacatalogTag" + } + }, + "created_at": { + "type": "string", + "format": "date-time", + "title": "creation timestamp of artifact, autogenerated by service" + } + }, + "description": "Artifact message. It is composed of several string fields." + }, + "datacatalogArtifactData": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "$ref": "#/definitions/coreLiteral" + } + }, + "title": "ArtifactData that belongs to an artifact" + }, + "datacatalogArtifactPropertyFilter": { + "type": "object", + "properties": { + "artifact_id": { + "type": "string" + } + }, + "title": "Artifact properties we can filter by" + }, + "datacatalogCreateArtifactResponse": { + "type": "object", + "description": "Response message for creating an Artifact." + }, + "datacatalogCreateDatasetResponse": { + "type": "object", + "title": "Response message for creating a Dataset" + }, + "datacatalogDataset": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/datacatalogDatasetID" + }, + "metadata": { + "$ref": "#/definitions/datacatalogMetadata" + }, + "partitionKeys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "description": "Dataset message. It is uniquely identified by DatasetID." + }, + "datacatalogDatasetID": { + "type": "object", + "properties": { + "project": { + "type": "string", + "title": "The name of the project" + }, + "name": { + "type": "string", + "title": "The name of the dataset" + }, + "domain": { + "type": "string", + "title": "The domain (eg. environment)" + }, + "version": { + "type": "string", + "title": "Version of the data schema" + }, + "UUID": { + "type": "string", + "title": "UUID for the dataset (if set the above fields are optional)" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "DatasetID message that is composed of several string fields." + }, + "datacatalogDatasetPropertyFilter": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "name": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "version": { + "type": "string" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the dataset." + } + }, + "title": "Dataset properties we can filter by" + }, + "datacatalogFilterExpression": { + "type": "object", + "properties": { + "filters": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/datacatalogSinglePropertyFilter" + } + } + }, + "title": "Filter expression that is composed of a combination of single filters" + }, + "datacatalogGetArtifactResponse": { + "type": "object", + "properties": { + "artifact": { + "$ref": "#/definitions/datacatalogArtifact" + } + }, + "description": "Response message for retrieving an Artifact. The result returned will include the artifact data\nand metadata associated with the artifact." + }, + "datacatalogGetDatasetResponse": { + "type": "object", + "properties": { + "dataset": { + "$ref": "#/definitions/datacatalogDataset" + } + }, + "description": "Response message for retrieving a Dataset. The response will include the metadata for the\nDataset." + }, + "datacatalogGetOrExtendReservationResponse": { + "type": "object", + "properties": { + "reservation": { + "$ref": "#/definitions/datacatalogReservation", + "title": "The reservation to be acquired or extended" + } + }, + "title": "Response including either a newly minted reservation or the existing reservation" + }, + "datacatalogKeyValuePair": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "datacatalogListArtifactsResponse": { + "type": "object", + "properties": { + "artifacts": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/datacatalogArtifact" + }, + "title": "The list of artifacts" + }, + "next_token": { + "type": "string", + "title": "Token to use to request the next page, pass this into the next requests PaginationOptions" + } + }, + "title": "Response to list artifacts" + }, + "datacatalogListDatasetsResponse": { + "type": "object", + "properties": { + "datasets": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/datacatalogDataset" + }, + "title": "The list of datasets" + }, + "next_token": { + "type": "string", + "title": "Token to use to request the next page, pass this into the next requests PaginationOptions" + } + }, + "title": "List the datasets response with token for next pagination" + }, + "datacatalogMetadata": { + "type": "object", + "properties": { + "key_map": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "key map is a dictionary of key/val strings that represent metadata" + } + }, + "title": "Metadata representation for artifacts and datasets" + }, + "datacatalogPaginationOptions": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int64", + "title": "the max number of results to return" + }, + "token": { + "type": "string", + "title": "the token to pass to fetch the next page" + }, + "sortKey": { + "$ref": "#/definitions/PaginationOptionsSortKey", + "title": "the property that we want to sort the results by" + }, + "sortOrder": { + "$ref": "#/definitions/PaginationOptionsSortOrder", + "title": "the sort order of the results" + } + }, + "title": "Pagination options for making list requests" + }, + "datacatalogPartition": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "title": "An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair" + }, + "datacatalogPartitionPropertyFilter": { + "type": "object", + "properties": { + "key_val": { + "$ref": "#/definitions/datacatalogKeyValuePair" + } + }, + "title": "Partition properties we can filter by" + }, + "datacatalogReleaseReservationResponse": { + "type": "object", + "title": "Response to release reservation" + }, + "datacatalogReservation": { + "type": "object", + "properties": { + "reservation_id": { + "$ref": "#/definitions/datacatalogReservationID", + "title": "The unique ID for the reservation" + }, + "owner_id": { + "type": "string", + "title": "The unique ID of the owner for the reservation" + }, + "heartbeat_interval": { + "type": "string", + "title": "Recommended heartbeat interval to extend reservation" + }, + "expires_at": { + "type": "string", + "format": "date-time", + "title": "Expiration timestamp of this reservation" + }, + "metadata": { + "$ref": "#/definitions/datacatalogMetadata", + "title": "Free-form metadata associated with the artifact" + } + }, + "description": "A reservation including owner, heartbeat interval, expiration timestamp, and various metadata." + }, + "datacatalogReservationID": { + "type": "object", + "properties": { + "dataset_id": { + "$ref": "#/definitions/datacatalogDatasetID", + "title": "The unique ID for the reserved dataset" + }, + "tag_name": { + "type": "string", + "title": "The specific artifact tag for the reservation" + } + }, + "description": "ReservationID message that is composed of several string fields." + }, + "datacatalogSinglePropertyFilter": { + "type": "object", + "properties": { + "tag_filter": { + "$ref": "#/definitions/datacatalogTagPropertyFilter" + }, + "partition_filter": { + "$ref": "#/definitions/datacatalogPartitionPropertyFilter" + }, + "artifact_filter": { + "$ref": "#/definitions/datacatalogArtifactPropertyFilter" + }, + "dataset_filter": { + "$ref": "#/definitions/datacatalogDatasetPropertyFilter" + }, + "operator": { + "$ref": "#/definitions/SinglePropertyFilterComparisonOperator", + "title": "field 10 in case we add more entities to query" + } + }, + "description": "A single property to filter on." + }, + "datacatalogTag": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "Name of tag" + }, + "artifact_id": { + "type": "string", + "title": "The tagged artifact" + }, + "dataset": { + "$ref": "#/definitions/datacatalogDatasetID", + "title": "The Dataset that this tag belongs to" + } + }, + "description": "Tag message that is unique to a Dataset. It is associated to a single artifact and\ncan be retrieved by name later." + }, + "datacatalogTagPropertyFilter": { + "type": "object", + "properties": { + "tag_name": { + "type": "string" + } + }, + "title": "Tag properties we can filter by" + }, + "datacatalogUpdateArtifactResponse": { + "type": "object", + "properties": { + "artifact_id": { + "type": "string", + "title": "The unique ID of the artifact updated" + } + }, + "description": "Response message for updating an Artifact." + }, + "flyteidlcoreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "flyteidlcoreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/event/cloudevents.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/event/cloudevents.swagger.json new file mode 100644 index 0000000000..21a3bf24c4 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/event/cloudevents.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/event/cloudevents.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/event/event.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/event/event.swagger.json new file mode 100644 index 0000000000..51e6479e80 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/event/event.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/event/event.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/array_job.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/array_job.swagger.json new file mode 100644 index 0000000000..0da6756ab5 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/array_job.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/array_job.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/dask.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/dask.swagger.json new file mode 100644 index 0000000000..861a1b650a --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/dask.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/dask.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/common.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/common.swagger.json new file mode 100644 index 0000000000..77cadf68e6 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/common.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/kubeflow/common.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/mpi.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/mpi.swagger.json new file mode 100644 index 0000000000..d08431ce72 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/mpi.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/kubeflow/mpi.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/pytorch.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/pytorch.swagger.json new file mode 100644 index 0000000000..76b3b8c340 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/pytorch.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/kubeflow/pytorch.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/tensorflow.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/tensorflow.swagger.json new file mode 100644 index 0000000000..bc41f3a307 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/kubeflow/tensorflow.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/kubeflow/tensorflow.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/mpi.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/mpi.swagger.json new file mode 100644 index 0000000000..331054d5f6 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/mpi.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/mpi.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/presto.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/presto.swagger.json new file mode 100644 index 0000000000..580f735248 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/presto.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/presto.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/pytorch.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/pytorch.swagger.json new file mode 100644 index 0000000000..6cbb898683 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/pytorch.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/pytorch.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/qubole.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/qubole.swagger.json new file mode 100644 index 0000000000..b8b32b82ff --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/qubole.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/qubole.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/ray.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/ray.swagger.json new file mode 100644 index 0000000000..138914df1f --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/ray.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/ray.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/spark.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/spark.swagger.json new file mode 100644 index 0000000000..fc06645ac5 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/spark.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/spark.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/tensorflow.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/tensorflow.swagger.json new file mode 100644 index 0000000000..86b93506ea --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/tensorflow.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/tensorflow.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/plugins/waitable.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/waitable.swagger.json new file mode 100644 index 0000000000..96a105c1f1 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/plugins/waitable.swagger.json @@ -0,0 +1,46 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/plugins/waitable.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.pb.gw.go b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.pb.gw.go new file mode 100644 index 0000000000..771437d9f4 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.pb.gw.go @@ -0,0 +1,18534 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/service/admin.proto + +/* +Package service is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package service + +import ( + "context" + "io" + "net/http" + + extAdmin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + extCore "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + extService "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_AdminService_CreateTask_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateTask_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateTask(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateTask_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := client.CreateTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateTask_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := server.CreateTask(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetTask_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3, "version": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_GetTask_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetTask_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetTask_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetTask_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetTask(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetTask_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 10, 11, 12, 13, 14, 15, 2, 0, 4, 0, 6, 0, 8, 0, 10, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 2, 8, 2, 10, 2, 12, 2, 14, 2, 16, 3, 4, 5, 6, 7}} +) + +func request_AdminService_GetTask_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetTask_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetTask_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetTask_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetTask(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTaskIds_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 2, 3, 3}} +) + +func request_AdminService_ListTaskIds_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskIds_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTaskIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTaskIds_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskIds_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTaskIds(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTaskIds_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 2, 4, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 2, 3, 3, 4, 4}} +) + +func request_AdminService_ListTaskIds_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskIds_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTaskIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTaskIds_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskIds_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTaskIds(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTasks_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListTasks_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListTasks_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTasks_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListTasks_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTasks(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTasks_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_ListTasks_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListTasks_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTasks_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListTasks_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTasks(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTasks_2 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 4, 5, 6, 2, 0, 4, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 5, 2, 7, 3, 4}} +) + +func request_AdminService_ListTasks_2(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTasks_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTasks_2(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTasks_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTasks(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTasks_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListTasks_3(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTasks_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTasks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTasks_3(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTasks_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTasks(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateWorkflow(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := client.CreateWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := server.CreateWorkflow(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetWorkflow_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3, "version": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_GetWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflow_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflow_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetWorkflow(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetWorkflow_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 10, 11, 12, 13, 14, 15, 2, 0, 4, 0, 6, 0, 8, 0, 10, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 2, 8, 2, 10, 2, 12, 2, 14, 2, 16, 3, 4, 5, 6, 7}} +) + +func request_AdminService_GetWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflow_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflow_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetWorkflow(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListWorkflowIds_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 2, 3, 3}} +) + +func request_AdminService_ListWorkflowIds_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflowIds_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListWorkflowIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListWorkflowIds_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflowIds_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListWorkflowIds(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListWorkflowIds_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 2, 4, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 2, 3, 3, 4, 4}} +) + +func request_AdminService_ListWorkflowIds_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflowIds_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListWorkflowIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListWorkflowIds_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflowIds_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListWorkflowIds(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListWorkflows_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListWorkflows_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListWorkflows_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListWorkflows_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListWorkflows_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListWorkflows(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListWorkflows_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_ListWorkflows_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListWorkflows_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListWorkflows_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListWorkflows_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListWorkflows(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListWorkflows_2 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 4, 5, 6, 2, 0, 4, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 5, 2, 7, 3, 4}} +) + +func request_AdminService_ListWorkflows_2(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflows_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListWorkflows_2(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflows_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListWorkflows(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListWorkflows_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListWorkflows_3(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflows_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListWorkflows(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListWorkflows_3(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListWorkflows_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListWorkflows(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := client.CreateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := server.CreateLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetLaunchPlan_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3, "version": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_GetLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetLaunchPlan_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetLaunchPlan_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetLaunchPlan_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 10, 11, 12, 13, 14, 15, 2, 0, 4, 0, 6, 0, 8, 0, 10, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 2, 8, 2, 10, 2, 12, 2, 14, 2, 16, 3, 4, 5, 6, 7}} +) + +func request_AdminService_GetLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetLaunchPlan_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetLaunchPlan_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetActiveLaunchPlan_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_GetActiveLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetActiveLaunchPlan_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetActiveLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetActiveLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetActiveLaunchPlan_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetActiveLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetActiveLaunchPlan_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_GetActiveLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetActiveLaunchPlan_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetActiveLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetActiveLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetActiveLaunchPlan_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetActiveLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListActiveLaunchPlans_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 2, 3, 3}} +) + +func request_AdminService_ListActiveLaunchPlans_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListActiveLaunchPlans_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListActiveLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListActiveLaunchPlans_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListActiveLaunchPlans_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListActiveLaunchPlans(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListActiveLaunchPlans_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 2, 4, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 2, 3, 3, 4, 4}} +) + +func request_AdminService_ListActiveLaunchPlans_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListActiveLaunchPlans_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListActiveLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListActiveLaunchPlans_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ActiveLaunchPlanListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListActiveLaunchPlans_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListActiveLaunchPlans(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListLaunchPlanIds_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 2, 3, 3}} +) + +func request_AdminService_ListLaunchPlanIds_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlanIds_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListLaunchPlanIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListLaunchPlanIds_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlanIds_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListLaunchPlanIds(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListLaunchPlanIds_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 2, 4, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 2, 3, 3, 4, 4}} +) + +func request_AdminService_ListLaunchPlanIds_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlanIds_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListLaunchPlanIds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListLaunchPlanIds_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityIdentifierListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlanIds_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListLaunchPlanIds(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListLaunchPlans_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListLaunchPlans_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListLaunchPlans_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListLaunchPlans_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListLaunchPlans_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListLaunchPlans(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListLaunchPlans_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_ListLaunchPlans_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListLaunchPlans_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListLaunchPlans_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListLaunchPlans_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListLaunchPlans(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListLaunchPlans_2 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 4, 5, 6, 2, 0, 4, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 5, 2, 7, 3, 4}} +) + +func request_AdminService_ListLaunchPlans_2(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlans_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListLaunchPlans_2(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlans_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListLaunchPlans(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListLaunchPlans_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListLaunchPlans_3(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlans_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListLaunchPlans(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListLaunchPlans_3(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListLaunchPlans_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListLaunchPlans(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + msg, err := client.UpdateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateLaunchPlan_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + msg, err := server.UpdateLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_UpdateLaunchPlan_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4, "version": 5}, Base: []int{1, 10, 11, 12, 13, 14, 15, 2, 0, 4, 0, 6, 0, 8, 0, 10, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 2, 8, 2, 10, 2, 12, 2, 14, 2, 16, 3, 4, 5, 6, 7}} +) + +func request_AdminService_UpdateLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanUpdateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_UpdateLaunchPlan_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.UpdateLaunchPlan(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateLaunchPlan_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.LaunchPlanUpdateRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_UpdateLaunchPlan_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.UpdateLaunchPlan(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + msg, err := client.CreateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionCreateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + msg, err := server.CreateExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_RelaunchExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRelaunchRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.RelaunchExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_RelaunchExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRelaunchRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.RelaunchExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_RelaunchExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRelaunchRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := client.RelaunchExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_RelaunchExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRelaunchRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := server.RelaunchExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_RecoverExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRecoverRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.RecoverExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_RecoverExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRecoverRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.RecoverExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_RecoverExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRecoverRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := client.RecoverExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_RecoverExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionRecoverRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + msg, err := server.RecoverExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetExecution_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_GetExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecution_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecution_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetExecution_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_GetExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecution_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecution_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := client.UpdateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := server.UpdateExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := client.UpdateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := server.UpdateExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetExecutionData_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_GetExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetExecutionData(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetExecutionData_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_GetExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionData_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionData_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetExecutionData(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListExecutions_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2}, Base: []int{1, 4, 5, 6, 2, 0, 4, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 5, 2, 7, 3, 4}} +) + +func request_AdminService_ListExecutions_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListExecutions_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListExecutions_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListExecutions_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListExecutions(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListExecutions_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListExecutions_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListExecutions_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListExecutions_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ResourceListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListExecutions_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListExecutions(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_TerminateExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionTerminateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := client.TerminateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_TerminateExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionTerminateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := server.TerminateExecution(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_TerminateExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionTerminateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := client.TerminateExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_TerminateExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ExecutionTerminateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := server.TerminateExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetNodeExecution_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5, "nodeId": 6}, Base: []int{1, 10, 4, 10, 11, 12, 1, 13, 0, 7, 4, 0, 9, 7, 0, 9, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 3, 1, 7, 2, 10, 11, 2, 13, 14, 2, 16, 4, 5, 6, 8}} +) + +func request_AdminService_GetNodeExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecution_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetNodeExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetNodeExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecution_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetNodeExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetNodeExecution_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6, "nodeId": 7}, Base: []int{1, 13, 5, 13, 14, 15, 16, 1, 17, 0, 8, 4, 0, 10, 7, 0, 12, 10, 0, 12, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 1, 3, 1, 8, 2, 11, 12, 2, 14, 15, 2, 17, 18, 2, 20, 4, 5, 6, 7, 9}} +) + +func request_AdminService_GetNodeExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecution_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetNodeExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetNodeExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecution_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetNodeExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetDynamicNodeWorkflow_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5, "nodeId": 6}, Base: []int{1, 10, 4, 10, 11, 12, 1, 13, 0, 7, 4, 0, 9, 7, 0, 9, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 3, 1, 7, 2, 10, 11, 2, 13, 14, 2, 16, 4, 5, 6, 8}} +) + +func request_AdminService_GetDynamicNodeWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetDynamicNodeWorkflowRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDynamicNodeWorkflow_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetDynamicNodeWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetDynamicNodeWorkflow_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetDynamicNodeWorkflowRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDynamicNodeWorkflow_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetDynamicNodeWorkflow(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetDynamicNodeWorkflow_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6, "nodeId": 7}, Base: []int{1, 13, 5, 13, 14, 15, 16, 1, 17, 0, 8, 4, 0, 10, 7, 0, 12, 10, 0, 12, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 1, 3, 1, 8, 2, 11, 12, 2, 14, 15, 2, 17, 18, 2, 20, 4, 5, 6, 7, 9}} +) + +func request_AdminService_GetDynamicNodeWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetDynamicNodeWorkflowRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDynamicNodeWorkflow_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetDynamicNodeWorkflow(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetDynamicNodeWorkflow_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetDynamicNodeWorkflowRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDynamicNodeWorkflow_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetDynamicNodeWorkflow(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListNodeExecutions_0 = &utilities.DoubleArray{Encoding: map[string]int{"workflow_execution_id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_ListNodeExecutions_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionListRequest + 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_AdminService_ListNodeExecutions_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListNodeExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListNodeExecutions_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionListRequest + 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_AdminService_ListNodeExecutions_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListNodeExecutions(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListNodeExecutions_1 = &utilities.DoubleArray{Encoding: map[string]int{"workflow_execution_id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_ListNodeExecutions_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["workflow_execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.org", 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_AdminService_ListNodeExecutions_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListNodeExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListNodeExecutions_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["workflow_execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.org", 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_AdminService_ListNodeExecutions_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListNodeExecutions(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListNodeExecutionsForTask_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, "nodeId": 7, "task_id": 8, "version": 9, "retry_attempt": 10, "retryAttempt": 11}, Base: []int{1, 25, 1, 4, 26, 28, 30, 1, 31, 9, 32, 10, 33, 0, 3, 0, 15, 13, 7, 0, 15, 10, 0, 21, 13, 0, 23, 16, 0, 25, 19, 0, 24, 22, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 3, 1, 1, 1, 4, 1, 2, 1, 10, 1, 8, 12, 15, 2, 17, 18, 19, 2, 21, 22, 2, 24, 25, 2, 27, 28, 2, 30, 31, 2, 33, 34, 2, 36, 5, 5, 6, 6, 7, 7, 9, 11, 13}} +) + +func request_AdminService_ListNodeExecutionsForTask_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionForTaskListRequest + 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_AdminService_ListNodeExecutionsForTask_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListNodeExecutionsForTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListNodeExecutionsForTask_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionForTaskListRequest + 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_AdminService_ListNodeExecutionsForTask_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListNodeExecutionsForTask(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListNodeExecutionsForTask_1 = &utilities.DoubleArray{Encoding: map[string]int{"task_execution_id": 0, "node_execution_id": 1, "execution_id": 2, "org": 3, "project": 4, "domain": 5, "name": 6, "node_id": 7, "nodeId": 8, "task_id": 9, "version": 10, "retry_attempt": 11, "retryAttempt": 12}, Base: []int{1, 29, 1, 5, 29, 31, 33, 35, 1, 36, 10, 37, 11, 38, 0, 3, 0, 16, 14, 7, 0, 20, 17, 11, 0, 19, 14, 0, 25, 17, 0, 27, 20, 0, 29, 23, 0, 28, 26, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 3, 1, 1, 1, 1, 4, 1, 2, 1, 11, 1, 9, 13, 16, 2, 18, 19, 20, 2, 22, 23, 24, 2, 26, 27, 2, 29, 30, 2, 32, 33, 2, 35, 36, 2, 38, 39, 2, 41, 5, 6, 6, 7, 7, 8, 8, 10, 12, 14}} +) + +func request_AdminService_ListNodeExecutionsForTask_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionForTaskListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["task_execution_id.node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.node_execution_id.execution_id.org", 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.org", 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_AdminService_ListNodeExecutionsForTask_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListNodeExecutionsForTask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListNodeExecutionsForTask_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionForTaskListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["task_execution_id.node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.node_execution_id.execution_id.org", 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.org", 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_AdminService_ListNodeExecutionsForTask_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListNodeExecutionsForTask(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetNodeExecutionData_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5, "nodeId": 6}, Base: []int{1, 10, 4, 10, 11, 12, 1, 13, 0, 7, 4, 0, 9, 7, 0, 9, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 3, 1, 7, 2, 10, 11, 2, 13, 14, 2, 16, 4, 5, 6, 8}} +) + +func request_AdminService_GetNodeExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecutionData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetNodeExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetNodeExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecutionData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetNodeExecutionData(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetNodeExecutionData_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6, "nodeId": 7}, Base: []int{1, 13, 5, 13, 14, 15, 16, 1, 17, 0, 8, 4, 0, 10, 7, 0, 12, 10, 0, 12, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 1, 3, 1, 8, 2, 11, 12, 2, 14, 15, 2, 17, 18, 2, 20, 4, 5, 6, 7, 9}} +) + +func request_AdminService_GetNodeExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecutionData_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetNodeExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetNodeExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + val, ok = pathParams["id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.project", err) + } + + val, ok = pathParams["id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.domain", err) + } + + val, ok = pathParams["id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.name", err) + } + + val, ok = pathParams["id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetNodeExecutionData_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetNodeExecutionData(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_RegisterProject_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectRegisterRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.RegisterProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_RegisterProject_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectRegisterRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.RegisterProject(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_RegisterProject_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectRegisterRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "project.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project.org", err) + } + + msg, err := client.RegisterProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_RegisterProject_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectRegisterRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "project.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project.org", err) + } + + msg, err := server.RegisterProject(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateProject_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.Project + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := client.UpdateProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateProject_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.Project + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := server.UpdateProject(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateProject_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.Project + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := client.UpdateProject(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateProject_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.Project + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := server.UpdateProject(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_AdminService_ListProjects_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectListRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListProjects_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListProjects(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListProjects_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectListRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListProjects_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListProjects(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListProjects_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}} +) + +func request_AdminService_ListProjects_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListProjects_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListProjects(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListProjects_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListProjects_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListProjects(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateWorkflowEvent_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateWorkflowEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateWorkflowEvent_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateWorkflowEvent(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateWorkflowEvent_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["event.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "event.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.execution_id.org", err) + } + + msg, err := client.CreateWorkflowEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateWorkflowEvent_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["event.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "event.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.execution_id.org", err) + } + + msg, err := server.CreateWorkflowEvent(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateNodeEvent_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateNodeEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateNodeEvent_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateNodeEvent(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateNodeEvent_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["event.id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "event.id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.id.execution_id.org", err) + } + + msg, err := client.CreateNodeEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateNodeEvent_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NodeExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["event.id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "event.id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.id.execution_id.org", err) + } + + msg, err := server.CreateNodeEvent(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateTaskEvent_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateTaskEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateTaskEvent_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateTaskEvent(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_CreateTaskEvent_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["event.parent_node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.parent_node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "event.parent_node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.parent_node_execution_id.execution_id.org", err) + } + + msg, err := client.CreateTaskEvent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_CreateTaskEvent_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionEventRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["event.parent_node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "event.parent_node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "event.parent_node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "event.parent_node_execution_id.execution_id.org", err) + } + + msg, err := server.CreateTaskEvent(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetTaskExecution_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "node_execution_id": 1, "execution_id": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6, "nodeId": 7, "task_id": 8, "version": 9, "retry_attempt": 10, "retryAttempt": 11}, Base: []int{1, 25, 1, 4, 26, 28, 30, 1, 31, 9, 32, 10, 33, 0, 3, 0, 15, 13, 7, 0, 15, 10, 0, 21, 13, 0, 23, 16, 0, 25, 19, 0, 24, 22, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 3, 1, 1, 1, 4, 1, 2, 1, 10, 1, 8, 12, 15, 2, 17, 18, 19, 2, 21, 22, 2, 24, 25, 2, 27, 28, 2, 30, 31, 2, 33, 34, 2, 36, 5, 5, 6, 6, 7, 7, 9, 11, 13}} +) + +func request_AdminService_GetTaskExecution_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecution_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetTaskExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetTaskExecution_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecution_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetTaskExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetTaskExecution_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "node_execution_id": 1, "execution_id": 2, "org": 3, "project": 4, "domain": 5, "name": 6, "node_id": 7, "nodeId": 8, "task_id": 9, "version": 10, "retry_attempt": 11, "retryAttempt": 12}, Base: []int{1, 29, 1, 5, 29, 31, 33, 35, 1, 36, 10, 37, 11, 38, 0, 3, 0, 16, 14, 7, 0, 20, 17, 11, 0, 19, 14, 0, 25, 17, 0, 27, 20, 0, 29, 23, 0, 28, 26, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 3, 1, 1, 1, 1, 4, 1, 2, 1, 11, 1, 9, 13, 16, 2, 18, 19, 20, 2, 22, 23, 24, 2, 26, 27, 2, 29, 30, 2, 32, 33, 2, 35, 36, 2, 38, 39, 2, 41, 5, 6, 6, 7, 7, 8, 8, 10, 12, 14}} +) + +func request_AdminService_GetTaskExecution_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.org", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecution_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetTaskExecution(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetTaskExecution_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.org", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecution_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetTaskExecution(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTaskExecutions_0 = &utilities.DoubleArray{Encoding: map[string]int{"node_execution_id": 0, "execution_id": 1, "project": 2, "domain": 3, "name": 4, "node_id": 5, "nodeId": 6}, Base: []int{1, 10, 4, 10, 11, 12, 1, 13, 0, 7, 4, 0, 9, 7, 0, 9, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 3, 1, 7, 2, 10, 11, 2, 13, 14, 2, 16, 4, 5, 6, 8}} +) + +func request_AdminService_ListTaskExecutions_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskExecutions_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTaskExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTaskExecutions_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskExecutions_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTaskExecutions(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListTaskExecutions_1 = &utilities.DoubleArray{Encoding: map[string]int{"node_execution_id": 0, "execution_id": 1, "org": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6, "nodeId": 7}, Base: []int{1, 13, 5, 13, 14, 15, 16, 1, 17, 0, 8, 4, 0, 10, 7, 0, 12, 10, 0, 12, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 1, 3, 1, 8, 2, 11, 12, 2, 14, 15, 2, 17, 18, 2, 20, 4, 5, 6, 7, 9}} +) + +func request_AdminService_ListTaskExecutions_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.org", err) + } + + val, ok = pathParams["node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskExecutions_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListTaskExecutions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListTaskExecutions_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.org", err) + } + + val, ok = pathParams["node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "node_execution_id.node_id", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListTaskExecutions_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListTaskExecutions(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetTaskExecutionData_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "node_execution_id": 1, "execution_id": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6, "nodeId": 7, "task_id": 8, "version": 9, "retry_attempt": 10, "retryAttempt": 11}, Base: []int{1, 25, 1, 4, 26, 28, 30, 1, 31, 9, 32, 10, 33, 0, 3, 0, 15, 13, 7, 0, 15, 10, 0, 21, 13, 0, 23, 16, 0, 25, 19, 0, 24, 22, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 3, 1, 1, 1, 4, 1, 2, 1, 10, 1, 8, 12, 15, 2, 17, 18, 19, 2, 21, 22, 2, 24, 25, 2, 27, 28, 2, 30, 31, 2, 33, 34, 2, 36, 5, 5, 6, 6, 7, 7, 9, 11, 13}} +) + +func request_AdminService_GetTaskExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecutionData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetTaskExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetTaskExecutionData_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecutionData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetTaskExecutionData(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetTaskExecutionData_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "node_execution_id": 1, "execution_id": 2, "org": 3, "project": 4, "domain": 5, "name": 6, "node_id": 7, "nodeId": 8, "task_id": 9, "version": 10, "retry_attempt": 11, "retryAttempt": 12}, Base: []int{1, 29, 1, 5, 29, 31, 33, 35, 1, 36, 10, 37, 11, 38, 0, 3, 0, 16, 14, 7, 0, 20, 17, 11, 0, 19, 14, 0, 25, 17, 0, 27, 20, 0, 29, 23, 0, 28, 26, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 3, 1, 1, 1, 1, 4, 1, 2, 1, 11, 1, 9, 13, 16, 2, 18, 19, 20, 2, 22, 23, 24, 2, 26, 27, 2, 29, 30, 2, 32, 33, 2, 35, 36, 2, 38, 39, 2, 41, 5, 6, 6, 7, 7, 8, 8, 10, 12, 14}} +) + +func request_AdminService_GetTaskExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.org", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecutionData_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetTaskExecutionData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetTaskExecutionData_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.TaskExecutionGetDataRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.node_execution_id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.org", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.execution_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.node_execution_id.node_id", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.node_execution_id.node_id", err) + } + + val, ok = pathParams["id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.project", err) + } + + val, ok = pathParams["id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.domain", err) + } + + val, ok = pathParams["id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.name", err) + } + + val, ok = pathParams["id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.task_id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.task_id.version", err) + } + + val, ok = pathParams["id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.retry_attempt", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetTaskExecutionData_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetTaskExecutionData(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + msg, err := client.UpdateProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + msg, err := server.UpdateProjectDomainAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) + } + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + msg, err := client.UpdateProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) + } + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + msg, err := server.UpdateProjectDomainAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetProjectDomainAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1}, Base: []int{1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 2, 3, 3}} +) + +func request_AdminService_GetProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectDomainAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectDomainAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetProjectDomainAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetProjectDomainAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2}, Base: []int{1, 2, 4, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 2, 3, 3, 4, 4}} +) + +func request_AdminService_GetProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectDomainAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectDomainAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetProjectDomainAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_DeleteProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + msg, err := client.DeleteProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_DeleteProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + msg, err := server.DeleteProjectDomainAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_DeleteProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + msg, err := client.DeleteProjectDomainAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_DeleteProjectDomainAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectDomainAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + msg, err := server.DeleteProjectDomainAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + msg, err := client.UpdateProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + msg, err := server.UpdateProjectAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) + } + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + msg, err := client.UpdateProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) + } + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + msg, err := server.UpdateProjectAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetProjectAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}} +) + +func request_AdminService_GetProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetProjectAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetProjectAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1}, Base: []int{1, 2, 4, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 2, 3, 3}} +) + +func request_AdminService_GetProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetProjectAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetProjectAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_DeleteProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + msg, err := client.DeleteProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_DeleteProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + msg, err := server.DeleteProjectAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_DeleteProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + msg, err := client.DeleteProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_DeleteProjectAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ProjectAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + msg, err := server.DeleteProjectAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + val, ok = pathParams["attributes.workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.workflow") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.workflow", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.workflow", err) + } + + msg, err := client.UpdateWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + val, ok = pathParams["attributes.workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.workflow") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.workflow", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.workflow", err) + } + + msg, err := server.UpdateWorkflowAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) + } + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + val, ok = pathParams["attributes.workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.workflow") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.workflow", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.workflow", err) + } + + msg, err := client.UpdateWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.org", err) + } + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + val, ok = pathParams["attributes.workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.workflow") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.workflow", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.workflow", err) + } + + msg, err := server.UpdateWorkflowAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetWorkflowAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0, "domain": 1, "workflow": 2}, Base: []int{1, 2, 4, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 2, 3, 3, 4, 4}} +) + +func request_AdminService_GetWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflowAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflowAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetWorkflowAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetWorkflowAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "project": 1, "domain": 2, "workflow": 3}, Base: []int{1, 2, 4, 6, 8, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5}} +) + +func request_AdminService_GetWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflowAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetWorkflowAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetWorkflowAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_DeleteWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + msg, err := client.DeleteWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_DeleteWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + msg, err := server.DeleteWorkflowAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_DeleteWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + msg, err := client.DeleteWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_DeleteWorkflowAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowAttributesDeleteRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + val, ok = pathParams["workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow") + } + + protoReq.Workflow, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow", err) + } + + msg, err := server.DeleteWorkflowAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListMatchableAttributes_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_AdminService_ListMatchableAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ListMatchableAttributesRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListMatchableAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListMatchableAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListMatchableAttributes_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ListMatchableAttributesRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListMatchableAttributes_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListMatchableAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListMatchableAttributes_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}} +) + +func request_AdminService_ListMatchableAttributes_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ListMatchableAttributesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListMatchableAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListMatchableAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListMatchableAttributes_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ListMatchableAttributesRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListMatchableAttributes_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListMatchableAttributes(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListNamedEntities_0 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "resourceType": 1, "project": 2, "domain": 3}, Base: []int{1, 1, 2, 4, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 3, 4, 4, 5, 5}} +) + +func request_AdminService_ListNamedEntities_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListNamedEntities_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListNamedEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListNamedEntities_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListNamedEntities_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListNamedEntities(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListNamedEntities_1 = &utilities.DoubleArray{Encoding: map[string]int{"org": 0, "resource_type": 1, "resourceType": 2, "project": 3, "domain": 4}, Base: []int{1, 2, 3, 4, 6, 8, 0, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 2, 3, 4, 5, 5, 6, 6}} +) + +func request_AdminService_ListNamedEntities_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListNamedEntities_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListNamedEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListNamedEntities_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "org") + } + + protoReq.Org, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "project") + } + + protoReq.Project, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "project", err) + } + + val, ok = pathParams["domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "domain") + } + + protoReq.Domain, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListNamedEntities_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListNamedEntities(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetNamedEntity_0 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "resourceType": 1, "id": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 1, 2, 8, 9, 10, 11, 0, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 2, 3, 4, 10, 4, 12, 4, 14, 5, 6, 7}} +) + +func request_AdminService_GetNamedEntity_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetNamedEntity_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetNamedEntity_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetNamedEntity_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetNamedEntity(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetNamedEntity_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "resourceType": 3, "project": 4, "domain": 5, "name": 6}, Base: []int{1, 8, 9, 10, 11, 12, 13, 14, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 1, 2, 9, 2, 11, 2, 13, 2, 15, 3, 4, 5, 6, 7, 8}} +) + +func request_AdminService_GetNamedEntity_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetNamedEntity_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetNamedEntity_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetNamedEntity_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetNamedEntity(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateNamedEntity_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := client.UpdateNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateNamedEntity_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := server.UpdateNamedEntity(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_UpdateNamedEntity_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := client.UpdateNamedEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_UpdateNamedEntity_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.NamedEntityUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + msg, err := server.UpdateNamedEntity(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AdminService_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetVersionRequest + var metadata runtime.ServerMetadata + + msg, err := client.GetVersion(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetVersion_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetVersionRequest + var metadata runtime.ServerMetadata + + msg, err := server.GetVersion(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetDescriptionEntity_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "resource_type": 1, "resourceType": 2, "project": 3, "domain": 4, "name": 5, "version": 6}, Base: []int{1, 9, 1, 10, 11, 12, 13, 14, 0, 3, 0, 5, 0, 7, 0, 9, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 2, 1, 1, 1, 1, 1, 3, 2, 10, 2, 12, 2, 14, 2, 16, 4, 5, 6, 7, 8}} +) + +func request_AdminService_GetDescriptionEntity_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.resource_type") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.resource_type", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.resource_type", err) + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "could not parse path as enum value, parameter: %s, error: %v", "id.resource_type", err) + } + + protoReq.Id.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDescriptionEntity_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetDescriptionEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetDescriptionEntity_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.resource_type") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.resource_type", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.resource_type", err) + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "could not parse path as enum value, parameter: %s, error: %v", "id.resource_type", err) + } + + protoReq.Id.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDescriptionEntity_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetDescriptionEntity(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetDescriptionEntity_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "resourceType": 3, "project": 4, "domain": 5, "name": 6, "version": 7}, Base: []int{1, 11, 12, 1, 13, 14, 15, 16, 17, 0, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 1, 1, 1, 1, 1, 4, 2, 11, 2, 13, 2, 15, 2, 17, 2, 19, 3, 5, 6, 7, 8, 9}} +) + +func request_AdminService_GetDescriptionEntity_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.resource_type") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.resource_type", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.resource_type", err) + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "could not parse path as enum value, parameter: %s, error: %v", "id.resource_type", err) + } + + protoReq.Id.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDescriptionEntity_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetDescriptionEntity(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetDescriptionEntity_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ObjectGetRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.resource_type") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.resource_type", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.resource_type", err) + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "could not parse path as enum value, parameter: %s, error: %v", "id.resource_type", err) + } + + protoReq.Id.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + val, ok = pathParams["id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.version", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.version", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetDescriptionEntity_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetDescriptionEntity(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListDescriptionEntities_0 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "resourceType": 1, "id": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 1, 2, 8, 9, 10, 11, 0, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 2, 3, 4, 10, 4, 12, 4, 14, 5, 6, 7}} +) + +func request_AdminService_ListDescriptionEntities_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListDescriptionEntities_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListDescriptionEntities_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListDescriptionEntities_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListDescriptionEntities(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListDescriptionEntities_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "resourceType": 3, "project": 4, "domain": 5, "name": 6}, Base: []int{1, 8, 9, 10, 11, 12, 13, 14, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 1, 2, 9, 2, 11, 2, 13, 2, 15, 3, 4, 5, 6, 7, 8}} +) + +func request_AdminService_ListDescriptionEntities_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListDescriptionEntities_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListDescriptionEntities_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_ListDescriptionEntities_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListDescriptionEntities(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListDescriptionEntities_2 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "resourceType": 1, "id": 2, "project": 3, "domain": 4}, Base: []int{1, 1, 2, 6, 7, 8, 0, 0, 4, 0, 6, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 3, 4, 9, 4, 11, 5, 6}} +) + +func request_AdminService_ListDescriptionEntities_2(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListDescriptionEntities_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListDescriptionEntities_2(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListDescriptionEntities_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListDescriptionEntities(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_ListDescriptionEntities_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "resource_type": 2, "resourceType": 3, "project": 4, "domain": 5}, Base: []int{1, 6, 7, 8, 9, 10, 11, 2, 0, 4, 0, 6, 0, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 1, 2, 8, 2, 10, 2, 12, 3, 4, 5, 6, 7}} +) + +func request_AdminService_ListDescriptionEntities_3(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListDescriptionEntities_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListDescriptionEntities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_ListDescriptionEntities_3(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.DescriptionEntityListRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["resource_type"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "resource_type") + } + + e, err = runtime.Enum(val, extCore.ResourceType_value) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "resource_type", err) + } + + protoReq.ResourceType = extCore.ResourceType(e) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_ListDescriptionEntities_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListDescriptionEntities(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetExecutionMetrics_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_AdminService_GetExecutionMetrics_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetMetricsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionMetrics_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetExecutionMetrics(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetExecutionMetrics_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetMetricsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionMetrics_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetExecutionMetrics(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_AdminService_GetExecutionMetrics_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_AdminService_GetExecutionMetrics_1(ctx context.Context, marshaler runtime.Marshaler, client extService.AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetMetricsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionMetrics_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetExecutionMetrics(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AdminService_GetExecutionMetrics_1(ctx context.Context, marshaler runtime.Marshaler, server extService.AdminServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.WorkflowExecutionGetMetricsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.org", err) + } + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "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_AdminService_GetExecutionMetrics_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetExecutionMetrics(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterAdminServiceHandlerServer registers the http handlers for service AdminService to "mux". +// UnaryRPC :call AdminServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdminServiceHandlerFromEndpoint instead. +func RegisterAdminServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.AdminServiceServer) error { + + mux.Handle("POST", pattern_AdminService_CreateTask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTask", runtime.WithHTTPPathPattern("/api/v1/tasks")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateTask_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTask_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateTask_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTask", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateTask_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTask_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTask", runtime.WithHTTPPathPattern("/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetTask_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTask_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTask_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTask", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetTask_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTask_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskIds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskIds", runtime.WithHTTPPathPattern("/api/v1/task_ids/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTaskIds_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskIds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskIds_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskIds", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTaskIds_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskIds_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTasks_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTasks_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTasks_2(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTasks_3(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflow_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateWorkflow_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflow_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflow_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateWorkflow_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflow_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflow_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetWorkflow_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflow_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflow_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetWorkflow_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflow_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflowIds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflowIds", runtime.WithHTTPPathPattern("/api/v1/workflow_ids/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListWorkflowIds_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflowIds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflowIds_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflowIds", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListWorkflowIds_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflowIds_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListWorkflows_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListWorkflows_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListWorkflows_2(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListWorkflows_3(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateLaunchPlan_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateLaunchPlan_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetLaunchPlan_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetLaunchPlan_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetActiveLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetActiveLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetActiveLaunchPlan_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetActiveLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetActiveLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetActiveLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetActiveLaunchPlan_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetActiveLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListActiveLaunchPlans_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListActiveLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListActiveLaunchPlans_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListActiveLaunchPlans_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListActiveLaunchPlans_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListActiveLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListActiveLaunchPlans_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListActiveLaunchPlans_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlanIds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlanIds", runtime.WithHTTPPathPattern("/api/v1/launch_plan_ids/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListLaunchPlanIds_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlanIds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlanIds_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlanIds", runtime.WithHTTPPathPattern("/api/v1/launch_plan_ids/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListLaunchPlanIds_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlanIds_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListLaunchPlans_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListLaunchPlans_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListLaunchPlans_2(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListLaunchPlans_3(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateLaunchPlan_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateLaunchPlan_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateLaunchPlan_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateLaunchPlan_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateExecution", runtime.WithHTTPPathPattern("/api/v1/executions")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_CreateExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RelaunchExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/RelaunchExecution", runtime.WithHTTPPathPattern("/api/v1/executions/relaunch")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_RelaunchExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RelaunchExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RelaunchExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/RelaunchExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/relaunch")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_RelaunchExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RelaunchExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RecoverExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/RecoverExecution", runtime.WithHTTPPathPattern("/api/v1/executions/recover")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_RecoverExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RecoverExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RecoverExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/RecoverExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/recover")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_RecoverExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RecoverExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecution", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetExecutionData_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionData_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetExecutionData_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionData_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListExecutions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListExecutions", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListExecutions_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListExecutions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListExecutions_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListExecutions", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListExecutions_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListExecutions_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_TerminateExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/TerminateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_TerminateExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_TerminateExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_TerminateExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/TerminateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_TerminateExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_TerminateExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecution", runtime.WithHTTPPathPattern("/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetNodeExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecution", runtime.WithHTTPPathPattern("/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetNodeExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDynamicNodeWorkflow_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDynamicNodeWorkflow", runtime.WithHTTPPathPattern("/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetDynamicNodeWorkflow_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDynamicNodeWorkflow_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDynamicNodeWorkflow_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDynamicNodeWorkflow", runtime.WithHTTPPathPattern("/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetDynamicNodeWorkflow_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDynamicNodeWorkflow_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutions", runtime.WithHTTPPathPattern("/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListNodeExecutions_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutions_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutions", runtime.WithHTTPPathPattern("/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListNodeExecutions_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutions_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutionsForTask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutionsForTask", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListNodeExecutionsForTask_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutionsForTask_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutionsForTask_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutionsForTask", runtime.WithHTTPPathPattern("/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListNodeExecutionsForTask_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutionsForTask_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecutionData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetNodeExecutionData_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecutionData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecutionData_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetNodeExecutionData_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecutionData_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RegisterProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/RegisterProject", runtime.WithHTTPPathPattern("/api/v1/projects")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_RegisterProject_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RegisterProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RegisterProject_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/RegisterProject", runtime.WithHTTPPathPattern("/api/v1/projects/org/{project.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_RegisterProject_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RegisterProject_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProject", runtime.WithHTTPPathPattern("/api/v1/projects/{id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateProject_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProject_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProject", runtime.WithHTTPPathPattern("/api/v1/projects/org/{org}/{id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateProject_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProject_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListProjects", runtime.WithHTTPPathPattern("/api/v1/projects")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListProjects_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListProjects_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListProjects", runtime.WithHTTPPathPattern("/api/v1/projects/org/{org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListProjects_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListProjects_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflowEvent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflowEvent", runtime.WithHTTPPathPattern("/api/v1/events/workflows")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateWorkflowEvent_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflowEvent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflowEvent_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflowEvent", runtime.WithHTTPPathPattern("/api/v1/events/org/{event.execution_id.org}/workflows")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateWorkflowEvent_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflowEvent_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateNodeEvent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateNodeEvent", runtime.WithHTTPPathPattern("/api/v1/events/nodes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateNodeEvent_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateNodeEvent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateNodeEvent_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateNodeEvent", runtime.WithHTTPPathPattern("/api/v1/events/org/{event.id.execution_id.org}/nodes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateNodeEvent_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateNodeEvent_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateTaskEvent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTaskEvent", runtime.WithHTTPPathPattern("/api/v1/events/tasks")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateTaskEvent_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTaskEvent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateTaskEvent_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTaskEvent", runtime.WithHTTPPathPattern("/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_CreateTaskEvent_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTaskEvent_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecution_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecution", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetTaskExecution_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecution_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecution", runtime.WithHTTPPathPattern("/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetTaskExecution_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskExecutions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskExecutions", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTaskExecutions_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskExecutions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskExecutions_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskExecutions", runtime.WithHTTPPathPattern("/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListTaskExecutions_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskExecutions_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecutionData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecutionData", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetTaskExecutionData_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecutionData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecutionData_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetTaskExecutionData_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecutionData_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateProjectDomainAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectDomainAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectDomainAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateProjectDomainAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectDomainAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetProjectDomainAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectDomainAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectDomainAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetProjectDomainAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectDomainAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_DeleteProjectDomainAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectDomainAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectDomainAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_DeleteProjectDomainAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectDomainAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_attributes/{attributes.project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateProjectAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateProjectAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_attributes/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetProjectAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetProjectAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_attributes/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_DeleteProjectAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_DeleteProjectAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateWorkflowAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateWorkflowAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateWorkflowAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateWorkflowAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateWorkflowAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetWorkflowAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflowAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflowAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetWorkflowAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflowAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_DeleteWorkflowAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteWorkflowAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteWorkflowAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_DeleteWorkflowAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteWorkflowAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListMatchableAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListMatchableAttributes", runtime.WithHTTPPathPattern("/api/v1/matchable_attributes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListMatchableAttributes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListMatchableAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListMatchableAttributes_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListMatchableAttributes", runtime.WithHTTPPathPattern("/api/v1/matchable_attributes/org/{org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListMatchableAttributes_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListMatchableAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNamedEntities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNamedEntities", runtime.WithHTTPPathPattern("/api/v1/named_entities/{resource_type}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListNamedEntities_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNamedEntities_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNamedEntities_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNamedEntities", runtime.WithHTTPPathPattern("/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListNamedEntities_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNamedEntities_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNamedEntity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetNamedEntity_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNamedEntity_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNamedEntity_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetNamedEntity_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNamedEntity_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateNamedEntity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateNamedEntity_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateNamedEntity_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateNamedEntity_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_UpdateNamedEntity_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateNamedEntity_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetVersion_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetVersion", runtime.WithHTTPPathPattern("/api/v1/version")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetVersion_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetVersion_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDescriptionEntity_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDescriptionEntity", runtime.WithHTTPPathPattern("/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetDescriptionEntity_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDescriptionEntity_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDescriptionEntity_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDescriptionEntity", runtime.WithHTTPPathPattern("/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetDescriptionEntity_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDescriptionEntity_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListDescriptionEntities_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListDescriptionEntities_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListDescriptionEntities_2(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_ListDescriptionEntities_3(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionMetrics_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionMetrics", runtime.WithHTTPPathPattern("/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetExecutionMetrics_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionMetrics_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionMetrics_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionMetrics", runtime.WithHTTPPathPattern("/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AdminService_GetExecutionMetrics_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionMetrics_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, 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 RegisterAdminServiceHandler(ctx, mux, conn) +} + +// RegisterAdminServiceHandler registers the http handlers for service AdminService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterAdminServiceHandlerClient(ctx, mux, extService.NewAdminServiceClient(conn)) +} + +// RegisterAdminServiceHandlerClient registers the http handlers for service AdminService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.AdminServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.AdminServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "extService.AdminServiceClient" to call the correct interceptors. +func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.AdminServiceClient) error { + + mux.Handle("POST", pattern_AdminService_CreateTask_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTask", runtime.WithHTTPPathPattern("/api/v1/tasks")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateTask_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTask_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateTask_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTask", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateTask_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTask_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTask_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTask", runtime.WithHTTPPathPattern("/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetTask_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTask_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTask_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTask", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetTask_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTask_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskIds_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskIds", runtime.WithHTTPPathPattern("/api/v1/task_ids/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTaskIds_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskIds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskIds_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskIds", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTaskIds_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskIds_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTasks_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTasks_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_2, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTasks_2(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTasks_3, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTasks", runtime.WithHTTPPathPattern("/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTasks_3(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTasks_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflow_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateWorkflow_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflow_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflow_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateWorkflow_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflow_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflow_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetWorkflow_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflow_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflow_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflow", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetWorkflow_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflow_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflowIds_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflowIds", runtime.WithHTTPPathPattern("/api/v1/workflow_ids/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListWorkflowIds_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflowIds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflowIds_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflowIds", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListWorkflowIds_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflowIds_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListWorkflows_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListWorkflows_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_2, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListWorkflows_2(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListWorkflows_3, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListWorkflows", runtime.WithHTTPPathPattern("/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListWorkflows_3(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListWorkflows_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateLaunchPlan_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateLaunchPlan_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateLaunchPlan_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateLaunchPlan_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetLaunchPlan_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetLaunchPlan_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetLaunchPlan_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetLaunchPlan_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetActiveLaunchPlan_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetActiveLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetActiveLaunchPlan_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetActiveLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetActiveLaunchPlan_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetActiveLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetActiveLaunchPlan_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetActiveLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListActiveLaunchPlans_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListActiveLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListActiveLaunchPlans_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListActiveLaunchPlans_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListActiveLaunchPlans_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListActiveLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/active_launch_plans/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListActiveLaunchPlans_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListActiveLaunchPlans_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlanIds_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlanIds", runtime.WithHTTPPathPattern("/api/v1/launch_plan_ids/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListLaunchPlanIds_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlanIds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlanIds_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlanIds", runtime.WithHTTPPathPattern("/api/v1/launch_plan_ids/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListLaunchPlanIds_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlanIds_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListLaunchPlans_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListLaunchPlans_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_2, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListLaunchPlans_2(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListLaunchPlans_3, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListLaunchPlans", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListLaunchPlans_3(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListLaunchPlans_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateLaunchPlan_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateLaunchPlan_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateLaunchPlan_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateLaunchPlan_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateLaunchPlan", runtime.WithHTTPPathPattern("/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateLaunchPlan_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateLaunchPlan_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateExecution", runtime.WithHTTPPathPattern("/api/v1/executions")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_CreateExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RelaunchExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/RelaunchExecution", runtime.WithHTTPPathPattern("/api/v1/executions/relaunch")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_RelaunchExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RelaunchExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RelaunchExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/RelaunchExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/relaunch")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_RelaunchExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RelaunchExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RecoverExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/RecoverExecution", runtime.WithHTTPPathPattern("/api/v1/executions/recover")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_RecoverExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RecoverExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RecoverExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/RecoverExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/recover")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_RecoverExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RecoverExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecution", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionData_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetExecutionData_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionData_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetExecutionData_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionData_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListExecutions_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListExecutions", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListExecutions_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListExecutions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListExecutions_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListExecutions", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListExecutions_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListExecutions_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_TerminateExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/TerminateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_TerminateExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_TerminateExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_TerminateExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/TerminateExecution", runtime.WithHTTPPathPattern("/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_TerminateExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_TerminateExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecution", runtime.WithHTTPPathPattern("/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetNodeExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecution", runtime.WithHTTPPathPattern("/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetNodeExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDynamicNodeWorkflow_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDynamicNodeWorkflow", runtime.WithHTTPPathPattern("/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetDynamicNodeWorkflow_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDynamicNodeWorkflow_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDynamicNodeWorkflow_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDynamicNodeWorkflow", runtime.WithHTTPPathPattern("/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetDynamicNodeWorkflow_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDynamicNodeWorkflow_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutions_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutions", runtime.WithHTTPPathPattern("/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListNodeExecutions_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutions_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutions", runtime.WithHTTPPathPattern("/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListNodeExecutions_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutions_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutionsForTask_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutionsForTask", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListNodeExecutionsForTask_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutionsForTask_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNodeExecutionsForTask_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNodeExecutionsForTask", runtime.WithHTTPPathPattern("/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListNodeExecutionsForTask_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNodeExecutionsForTask_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecutionData_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetNodeExecutionData_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecutionData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNodeExecutionData_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNodeExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetNodeExecutionData_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNodeExecutionData_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RegisterProject_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/RegisterProject", runtime.WithHTTPPathPattern("/api/v1/projects")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_RegisterProject_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RegisterProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_RegisterProject_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/RegisterProject", runtime.WithHTTPPathPattern("/api/v1/projects/org/{project.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_RegisterProject_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_RegisterProject_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProject_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProject", runtime.WithHTTPPathPattern("/api/v1/projects/{id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateProject_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProject_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProject", runtime.WithHTTPPathPattern("/api/v1/projects/org/{org}/{id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateProject_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProject_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListProjects_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListProjects", runtime.WithHTTPPathPattern("/api/v1/projects")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListProjects_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListProjects_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListProjects", runtime.WithHTTPPathPattern("/api/v1/projects/org/{org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListProjects_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListProjects_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflowEvent_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflowEvent", runtime.WithHTTPPathPattern("/api/v1/events/workflows")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateWorkflowEvent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflowEvent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateWorkflowEvent_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateWorkflowEvent", runtime.WithHTTPPathPattern("/api/v1/events/org/{event.execution_id.org}/workflows")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateWorkflowEvent_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateWorkflowEvent_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateNodeEvent_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateNodeEvent", runtime.WithHTTPPathPattern("/api/v1/events/nodes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateNodeEvent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateNodeEvent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateNodeEvent_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateNodeEvent", runtime.WithHTTPPathPattern("/api/v1/events/org/{event.id.execution_id.org}/nodes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateNodeEvent_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateNodeEvent_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateTaskEvent_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTaskEvent", runtime.WithHTTPPathPattern("/api/v1/events/tasks")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateTaskEvent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTaskEvent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_AdminService_CreateTaskEvent_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/CreateTaskEvent", runtime.WithHTTPPathPattern("/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_CreateTaskEvent_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_CreateTaskEvent_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecution_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecution", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetTaskExecution_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecution_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecution_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecution", runtime.WithHTTPPathPattern("/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetTaskExecution_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecution_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskExecutions_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskExecutions", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTaskExecutions_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskExecutions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListTaskExecutions_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListTaskExecutions", runtime.WithHTTPPathPattern("/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListTaskExecutions_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListTaskExecutions_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecutionData_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecutionData", runtime.WithHTTPPathPattern("/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetTaskExecutionData_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecutionData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetTaskExecutionData_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetTaskExecutionData", runtime.WithHTTPPathPattern("/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetTaskExecutionData_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetTaskExecutionData_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateProjectDomainAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectDomainAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectDomainAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateProjectDomainAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectDomainAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectDomainAttributes_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetProjectDomainAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectDomainAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectDomainAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetProjectDomainAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectDomainAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectDomainAttributes_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_DeleteProjectDomainAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectDomainAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectDomainAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectDomainAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_DeleteProjectDomainAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectDomainAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_attributes/{attributes.project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateProjectAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateProjectAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateProjectAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectAttributes_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_attributes/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetProjectAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetProjectAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetProjectAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetProjectAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectAttributes_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_attributes/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_DeleteProjectAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteProjectAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteProjectAttributes", runtime.WithHTTPPathPattern("/api/v1/project_domain_attributes/org/{org}/{project}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_DeleteProjectAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteProjectAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateWorkflowAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateWorkflowAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateWorkflowAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateWorkflowAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateWorkflowAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflowAttributes_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetWorkflowAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflowAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetWorkflowAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetWorkflowAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetWorkflowAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteWorkflowAttributes_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_DeleteWorkflowAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteWorkflowAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_AdminService_DeleteWorkflowAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/DeleteWorkflowAttributes", runtime.WithHTTPPathPattern("/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_DeleteWorkflowAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_DeleteWorkflowAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListMatchableAttributes_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListMatchableAttributes", runtime.WithHTTPPathPattern("/api/v1/matchable_attributes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListMatchableAttributes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListMatchableAttributes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListMatchableAttributes_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListMatchableAttributes", runtime.WithHTTPPathPattern("/api/v1/matchable_attributes/org/{org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListMatchableAttributes_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListMatchableAttributes_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNamedEntities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNamedEntities", runtime.WithHTTPPathPattern("/api/v1/named_entities/{resource_type}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListNamedEntities_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNamedEntities_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListNamedEntities_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListNamedEntities", runtime.WithHTTPPathPattern("/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListNamedEntities_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListNamedEntities_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNamedEntity_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetNamedEntity_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNamedEntity_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetNamedEntity_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetNamedEntity_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetNamedEntity_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateNamedEntity_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateNamedEntity_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateNamedEntity_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PUT", pattern_AdminService_UpdateNamedEntity_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/UpdateNamedEntity", runtime.WithHTTPPathPattern("/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateNamedEntity_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateNamedEntity_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetVersion_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetVersion", runtime.WithHTTPPathPattern("/api/v1/version")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetVersion_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetVersion_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDescriptionEntity_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDescriptionEntity", runtime.WithHTTPPathPattern("/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetDescriptionEntity_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDescriptionEntity_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetDescriptionEntity_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetDescriptionEntity", runtime.WithHTTPPathPattern("/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetDescriptionEntity_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetDescriptionEntity_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListDescriptionEntities_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListDescriptionEntities_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_2, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListDescriptionEntities_2(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_2(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_ListDescriptionEntities_3, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/ListDescriptionEntities", runtime.WithHTTPPathPattern("/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_ListDescriptionEntities_3(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_ListDescriptionEntities_3(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionMetrics_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionMetrics", runtime.WithHTTPPathPattern("/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetExecutionMetrics_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionMetrics_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AdminService_GetExecutionMetrics_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AdminService/GetExecutionMetrics", runtime.WithHTTPPathPattern("/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetExecutionMetrics_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionMetrics_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_AdminService_CreateTask_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "tasks"}, "")) + + pattern_AdminService_CreateTask_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "tasks", "org", "id.org"}, "")) + + pattern_AdminService_GetTask_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "tasks", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_GetTask_1 = 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}, []string{"api", "v1", "tasks", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_ListTaskIds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "task_ids", "project", "domain"}, "")) + + pattern_AdminService_ListTaskIds_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "tasks", "org", "project", "domain"}, "")) + + pattern_AdminService_ListTasks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "tasks", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListTasks_1 = 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}, []string{"api", "v1", "tasks", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListTasks_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "tasks", "id.project", "id.domain"}, "")) + + pattern_AdminService_ListTasks_3 = 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", "tasks", "org", "id.org", "id.project", "id.domain"}, "")) + + pattern_AdminService_CreateWorkflow_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "workflows"}, "")) + + pattern_AdminService_CreateWorkflow_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "workflows", "org", "id.org"}, "")) + + pattern_AdminService_GetWorkflow_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "workflows", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_GetWorkflow_1 = 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}, []string{"api", "v1", "workflows", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_ListWorkflowIds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "workflow_ids", "project", "domain"}, "")) + + pattern_AdminService_ListWorkflowIds_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflows", "org", "project", "domain"}, "")) + + pattern_AdminService_ListWorkflows_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflows", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListWorkflows_1 = 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}, []string{"api", "v1", "workflows", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListWorkflows_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "workflows", "id.project", "id.domain"}, "")) + + pattern_AdminService_ListWorkflows_3 = 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", "workflows", "org", "id.org", "id.project", "id.domain"}, "")) + + pattern_AdminService_CreateLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "launch_plans"}, "")) + + pattern_AdminService_CreateLaunchPlan_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "launch_plans", "org", "id.org"}, "")) + + pattern_AdminService_GetLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "launch_plans", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_GetLaunchPlan_1 = 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}, []string{"api", "v1", "launch_plans", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_GetActiveLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "active_launch_plans", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetActiveLaunchPlan_1 = 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}, []string{"api", "v1", "active_launch_plans", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListActiveLaunchPlans_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "active_launch_plans", "project", "domain"}, "")) + + pattern_AdminService_ListActiveLaunchPlans_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "active_launch_plans", "org", "project", "domain"}, "")) + + pattern_AdminService_ListLaunchPlanIds_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "launch_plan_ids", "project", "domain"}, "")) + + pattern_AdminService_ListLaunchPlanIds_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "launch_plan_ids", "org", "project", "domain"}, "")) + + pattern_AdminService_ListLaunchPlans_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "launch_plans", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListLaunchPlans_1 = 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}, []string{"api", "v1", "launch_plans", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListLaunchPlans_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "launch_plans", "id.project", "id.domain"}, "")) + + pattern_AdminService_ListLaunchPlans_3 = 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", "launch_plans", "org", "id.org", "id.project", "id.domain"}, "")) + + pattern_AdminService_UpdateLaunchPlan_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "launch_plans", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_UpdateLaunchPlan_1 = 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}, []string{"api", "v1", "launch_plans", "org", "id.org", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_CreateExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "executions"}, "")) + + pattern_AdminService_CreateExecution_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "executions", "org"}, "")) + + pattern_AdminService_RelaunchExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "executions", "relaunch"}, "")) + + pattern_AdminService_RelaunchExecution_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "executions", "org", "id.org", "relaunch"}, "")) + + pattern_AdminService_RecoverExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "executions", "recover"}, "")) + + pattern_AdminService_RecoverExecution_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "executions", "org", "id.org", "recover"}, "")) + + pattern_AdminService_GetExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "executions", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetExecution_1 = 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}, []string{"api", "v1", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_UpdateExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "executions", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_UpdateExecution_1 = 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}, []string{"api", "v1", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetExecutionData_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", "data", "executions", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetExecutionData_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"api", "v1", "data", "org", "id.org", "executions", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListExecutions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "executions", "id.project", "id.domain"}, "")) + + pattern_AdminService_ListExecutions_1 = 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", "executions", "org", "id.org", "id.project", "id.domain"}, "")) + + pattern_AdminService_TerminateExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "executions", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_TerminateExecution_1 = 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}, []string{"api", "v1", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetNodeExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) + + pattern_AdminService_GetNodeExecution_1 = 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}, []string{"api", "v1", "node_executions", "org", "id.execution_id.org", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) + + pattern_AdminService_GetDynamicNodeWorkflow_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 2, 7}, []string{"api", "v1", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id", "dynamic_workflow"}, "")) + + pattern_AdminService_GetDynamicNodeWorkflow_1 = 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, 2, 9}, []string{"api", "v1", "node_executions", "org", "id.execution_id.org", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id", "dynamic_workflow"}, "")) + + pattern_AdminService_ListNodeExecutions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "node_executions", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) + + pattern_AdminService_ListNodeExecutions_1 = 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}, []string{"api", "v1", "node_executions", "org", "workflow_execution_id.org", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) + + pattern_AdminService_ListNodeExecutionsForTask_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", "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"}, "")) + + pattern_AdminService_ListNodeExecutionsForTask_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 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, 1, 0, 4, 1, 5, 13, 1, 0, 4, 1, 5, 14}, []string{"api", "v1", "children", "org", "task_execution_id.node_execution_id.execution_id.org", "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"}, "")) + + pattern_AdminService_GetNodeExecutionData_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}, []string{"api", "v1", "data", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) + + pattern_AdminService_GetNodeExecutionData_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 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}, []string{"api", "v1", "data", "org", "id.execution_id.org", "node_executions", "id.execution_id.project", "id.execution_id.domain", "id.execution_id.name", "id.node_id"}, "")) + + pattern_AdminService_RegisterProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "projects"}, "")) + + pattern_AdminService_RegisterProject_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "projects", "org", "project.org"}, "")) + + pattern_AdminService_UpdateProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "projects", "id"}, "")) + + pattern_AdminService_UpdateProject_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "projects", "org", "id"}, "")) + + pattern_AdminService_ListProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "projects"}, "")) + + pattern_AdminService_ListProjects_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "projects", "org"}, "")) + + pattern_AdminService_CreateWorkflowEvent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "events", "workflows"}, "")) + + pattern_AdminService_CreateWorkflowEvent_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "events", "org", "event.execution_id.org", "workflows"}, "")) + + pattern_AdminService_CreateNodeEvent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "events", "nodes"}, "")) + + pattern_AdminService_CreateNodeEvent_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "events", "org", "event.id.execution_id.org", "nodes"}, "")) + + pattern_AdminService_CreateTaskEvent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "events", "tasks"}, "")) + + pattern_AdminService_CreateTaskEvent_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"api", "v1", "events", "org", "event.parent_node_execution_id.execution_id.org", "tasks"}, "")) + + pattern_AdminService_GetTaskExecution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 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}, []string{"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"}, "")) + + pattern_AdminService_GetTaskExecution_1 = 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, 1, 0, 4, 1, 5, 13}, []string{"api", "v1", "task_executions", "org", "id.node_execution_id.execution_id.org", "id.node_execution_id.execution_id.project", "id.node_execution_id.execution_id.domain", "id.node_execution_id.execution_id.name", "id.node_execution_id.node_id", "id.task_id.project", "id.task_id.domain", "id.task_id.name", "id.task_id.version", "id.retry_attempt"}, "")) + + pattern_AdminService_ListTaskExecutions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "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"}, "")) + + pattern_AdminService_ListTaskExecutions_1 = 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}, []string{"api", "v1", "task_executions", "org", "node_execution_id.execution_id.org", "node_execution_id.execution_id.project", "node_execution_id.execution_id.domain", "node_execution_id.execution_id.name", "node_execution_id.node_id"}, "")) + + pattern_AdminService_GetTaskExecutionData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9, 1, 0, 4, 1, 5, 10, 1, 0, 4, 1, 5, 11, 1, 0, 4, 1, 5, 12}, []string{"api", "v1", "data", "task_executions", "id.node_execution_id.execution_id.project", "id.node_execution_id.execution_id.domain", "id.node_execution_id.execution_id.name", "id.node_execution_id.node_id", "id.task_id.project", "id.task_id.domain", "id.task_id.name", "id.task_id.version", "id.retry_attempt"}, "")) + + pattern_AdminService_GetTaskExecutionData_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 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, 1, 0, 4, 1, 5, 13, 1, 0, 4, 1, 5, 14}, []string{"api", "v1", "data", "org", "id.node_execution_id.execution_id.org", "task_executions", "id.node_execution_id.execution_id.project", "id.node_execution_id.execution_id.domain", "id.node_execution_id.execution_id.name", "id.node_execution_id.node_id", "id.task_id.project", "id.task_id.domain", "id.task_id.name", "id.task_id.version", "id.retry_attempt"}, "")) + + pattern_AdminService_UpdateProjectDomainAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "attributes.project", "attributes.domain"}, "")) + + pattern_AdminService_UpdateProjectDomainAttributes_1 = 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", "project_domain_attributes", "org", "attributes.org", "attributes.project", "attributes.domain"}, "")) + + pattern_AdminService_GetProjectDomainAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "project", "domain"}, "")) + + pattern_AdminService_GetProjectDomainAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "project_domain_attributes", "org", "project", "domain"}, "")) + + pattern_AdminService_DeleteProjectDomainAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "project", "domain"}, "")) + + pattern_AdminService_DeleteProjectDomainAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "project_domain_attributes", "org", "project", "domain"}, "")) + + pattern_AdminService_UpdateProjectAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "project_attributes", "attributes.project"}, "")) + + pattern_AdminService_UpdateProjectAttributes_1 = 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}, []string{"api", "v1", "project_domain_attributes", "org", "attributes.org", "attributes.project"}, "")) + + pattern_AdminService_GetProjectAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "project_attributes", "project"}, "")) + + pattern_AdminService_GetProjectAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "org", "project"}, "")) + + pattern_AdminService_DeleteProjectAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "project_attributes", "project"}, "")) + + pattern_AdminService_DeleteProjectAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "org", "project"}, "")) + + pattern_AdminService_UpdateWorkflowAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflow_attributes", "attributes.project", "attributes.domain", "attributes.workflow"}, "")) + + pattern_AdminService_UpdateWorkflowAttributes_1 = 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}, []string{"api", "v1", "workflow_attributes", "org", "attributes.org", "attributes.project", "attributes.domain", "attributes.workflow"}, "")) + + pattern_AdminService_GetWorkflowAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflow_attributes", "project", "domain", "workflow"}, "")) + + pattern_AdminService_GetWorkflowAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "workflow_attributes", "org", "project", "domain", "workflow"}, "")) + + pattern_AdminService_DeleteWorkflowAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflow_attributes", "project", "domain", "workflow"}, "")) + + pattern_AdminService_DeleteWorkflowAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "workflow_attributes", "org", "project", "domain", "workflow"}, "")) + + pattern_AdminService_ListMatchableAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "matchable_attributes"}, "")) + + pattern_AdminService_ListMatchableAttributes_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "matchable_attributes", "org"}, "")) + + pattern_AdminService_ListNamedEntities_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "named_entities", "resource_type", "project", "domain"}, "")) + + pattern_AdminService_ListNamedEntities_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "named_entities", "org", "resource_type", "project", "domain"}, "")) + + pattern_AdminService_GetNamedEntity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "named_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetNamedEntity_1 = 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}, []string{"api", "v1", "named_entities", "org", "id.org", "resource_type", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_UpdateNamedEntity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "named_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_UpdateNamedEntity_1 = 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}, []string{"api", "v1", "named_entities", "org", "id.org", "resource_type", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetVersion_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "version"}, "")) + + pattern_AdminService_GetDescriptionEntity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"api", "v1", "description_entities", "id.resource_type", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_GetDescriptionEntity_1 = 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}, []string{"api", "v1", "description_entities", "org", "id.org", "id.resource_type", "id.project", "id.domain", "id.name", "id.version"}, "")) + + pattern_AdminService_ListDescriptionEntities_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "description_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListDescriptionEntities_1 = 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}, []string{"api", "v1", "description_entities", "org", "id.org", "resource_type", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_ListDescriptionEntities_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "description_entities", "resource_type", "id.project", "id.domain"}, "")) + + pattern_AdminService_ListDescriptionEntities_3 = 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}, []string{"api", "v1", "description_entities", "org", "id.org", "resource_type", "id.project", "id.domain"}, "")) + + pattern_AdminService_GetExecutionMetrics_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", "metrics", "executions", "id.project", "id.domain", "id.name"}, "")) + + pattern_AdminService_GetExecutionMetrics_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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}, []string{"api", "v1", "metrics", "executions", "org", "id.org", "id.project", "id.domain", "id.name"}, "")) +) + +var ( + forward_AdminService_CreateTask_0 = runtime.ForwardResponseMessage + + forward_AdminService_CreateTask_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetTask_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetTask_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListTaskIds_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListTaskIds_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListTasks_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListTasks_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListTasks_2 = runtime.ForwardResponseMessage + + forward_AdminService_ListTasks_3 = runtime.ForwardResponseMessage + + forward_AdminService_CreateWorkflow_0 = runtime.ForwardResponseMessage + + forward_AdminService_CreateWorkflow_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetWorkflow_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetWorkflow_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListWorkflowIds_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListWorkflowIds_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListWorkflows_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListWorkflows_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListWorkflows_2 = runtime.ForwardResponseMessage + + forward_AdminService_ListWorkflows_3 = runtime.ForwardResponseMessage + + forward_AdminService_CreateLaunchPlan_0 = runtime.ForwardResponseMessage + + forward_AdminService_CreateLaunchPlan_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetLaunchPlan_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetLaunchPlan_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetActiveLaunchPlan_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetActiveLaunchPlan_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListActiveLaunchPlans_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListActiveLaunchPlans_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListLaunchPlanIds_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListLaunchPlanIds_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListLaunchPlans_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListLaunchPlans_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListLaunchPlans_2 = runtime.ForwardResponseMessage + + forward_AdminService_ListLaunchPlans_3 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateLaunchPlan_0 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateLaunchPlan_1 = runtime.ForwardResponseMessage + + forward_AdminService_CreateExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_CreateExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_RelaunchExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_RelaunchExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_RecoverExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_RecoverExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetExecutionData_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetExecutionData_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListExecutions_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListExecutions_1 = runtime.ForwardResponseMessage + + forward_AdminService_TerminateExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_TerminateExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetNodeExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetNodeExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetDynamicNodeWorkflow_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetDynamicNodeWorkflow_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListNodeExecutions_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListNodeExecutions_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListNodeExecutionsForTask_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListNodeExecutionsForTask_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetNodeExecutionData_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetNodeExecutionData_1 = runtime.ForwardResponseMessage + + forward_AdminService_RegisterProject_0 = runtime.ForwardResponseMessage + + forward_AdminService_RegisterProject_1 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateProject_0 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateProject_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListProjects_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListProjects_1 = runtime.ForwardResponseMessage + + forward_AdminService_CreateWorkflowEvent_0 = runtime.ForwardResponseMessage + + forward_AdminService_CreateWorkflowEvent_1 = runtime.ForwardResponseMessage + + forward_AdminService_CreateNodeEvent_0 = runtime.ForwardResponseMessage + + forward_AdminService_CreateNodeEvent_1 = runtime.ForwardResponseMessage + + forward_AdminService_CreateTaskEvent_0 = runtime.ForwardResponseMessage + + forward_AdminService_CreateTaskEvent_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetTaskExecution_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetTaskExecution_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListTaskExecutions_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListTaskExecutions_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetTaskExecutionData_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetTaskExecutionData_1 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateProjectDomainAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateProjectDomainAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetProjectDomainAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetProjectDomainAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_DeleteProjectDomainAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_DeleteProjectDomainAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateProjectAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateProjectAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetProjectAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetProjectAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_DeleteProjectAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_DeleteProjectAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateWorkflowAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateWorkflowAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetWorkflowAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetWorkflowAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_DeleteWorkflowAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_DeleteWorkflowAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListMatchableAttributes_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListMatchableAttributes_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListNamedEntities_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListNamedEntities_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetNamedEntity_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetNamedEntity_1 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateNamedEntity_0 = runtime.ForwardResponseMessage + + forward_AdminService_UpdateNamedEntity_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetVersion_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetDescriptionEntity_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetDescriptionEntity_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListDescriptionEntities_0 = runtime.ForwardResponseMessage + + forward_AdminService_ListDescriptionEntities_1 = runtime.ForwardResponseMessage + + forward_AdminService_ListDescriptionEntities_2 = runtime.ForwardResponseMessage + + forward_AdminService_ListDescriptionEntities_3 = runtime.ForwardResponseMessage + + forward_AdminService_GetExecutionMetrics_0 = runtime.ForwardResponseMessage + + forward_AdminService_GetExecutionMetrics_1 = runtime.ForwardResponseMessage +) diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json new file mode 100644 index 0000000000..590c8ccd2a --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json @@ -0,0 +1,13531 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/admin.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "AdminService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Retrieve the active launch plan version specified by input request filters.", + "operationId": "AdminService_GetActiveLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/active_launch_plans/org/{org}/{project}/{domain}": { + "get": { + "summary": "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Fetch the active launch plan versions specified by input request filters.", + "operationId": "AdminService_ListActiveLaunchPlans2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Retrieve the active launch plan version specified by input request filters.", + "operationId": "AdminService_GetActiveLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/active_launch_plans/{project}/{domain}": { + "get": { + "summary": "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Fetch the active launch plan versions specified by input request filters.", + "operationId": "AdminService_ListActiveLaunchPlans", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`.", + "operationId": "AdminService_ListNodeExecutionsForTask2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "task_execution_id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "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" + }, + { + "name": "task_execution_id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`.", + "operationId": "AdminService_ListNodeExecutionsForTask", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "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" + }, + { + "name": "task_execution_id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "task_execution_id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_GetExecutionData", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecutionData", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecutionData2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve input and output data from an existing task execution.", + "operationId": "AdminService_GetTaskExecutionData2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_GetExecutionData2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve input and output data from an existing task execution.", + "operationId": "AdminService_GetTaskExecutionData", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionGetDataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object.", + "description": "Retrieve an existing description entity description.", + "operationId": "AdminService_GetDescriptionEntity2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object.", + "description": "Retrieve an existing description entity description.", + "operationId": "AdminService_GetDescriptionEntity", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions.", + "description": "Fetch existing description entity definitions matching input filters.", + "operationId": "AdminService_ListDescriptionEntities", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDescriptionEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/nodes": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred.", + "description": "Create a node execution event recording a phase transition.", + "operationId": "AdminService_CreateNodeEvent", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to send a notification that a node execution event has occurred.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminNodeExecutionEventRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/org/{event.execution_id.org}/workflows": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred.", + "description": "Create a workflow execution event recording a phase transition.", + "operationId": "AdminService_CreateWorkflowEvent2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "event.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateWorkflowEventBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/org/{event.id.execution_id.org}/nodes": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred.", + "description": "Create a node execution event recording a phase transition.", + "operationId": "AdminService_CreateNodeEvent2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "event.id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateNodeEventBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred.", + "description": "Create a task execution event recording a phase transition.", + "operationId": "AdminService_CreateTaskEvent2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "event.parent_node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateTaskEventBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/tasks": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred.", + "description": "Create a task execution event recording a phase transition.", + "operationId": "AdminService_CreateTaskEvent", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to send a notification that a task execution event has occurred.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminTaskExecutionEventRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/events/workflows": { + "post": { + "summary": "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred.", + "description": "Create a workflow execution event recording a phase transition.", + "operationId": "AdminService_CreateWorkflowEvent", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionEventResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to send a notification that a workflow execution event has occurred.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionEventRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions": { + "post": { + "summary": "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`", + "description": "Create a workflow execution.", + "operationId": "AdminService_CreateExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to launch an execution with the given project, domain and optionally-assigned name.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminExecutionCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/recover": { + "post": { + "summary": "Recreates a previously-run workflow execution that will only start executing from the last known failure point.\nIn Recover mode, users cannot change any input parameters or update the version of the execution.\nThis is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures,\ndownstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\nSee :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details.", + "description": "Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.", + "operationId": "AdminService_RecoverExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceRecoverExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/relaunch": { + "post": { + "summary": "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`", + "description": "Relaunch a workflow execution.", + "operationId": "AdminService_RelaunchExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceRelaunchExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_ListExecutions2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve an existing workflow execution.", + "operationId": "AdminService_GetExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_TerminateExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionTerminateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceTerminateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_UpdateExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/org/{org}": { + "put": { + "summary": "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`", + "description": "Create a workflow execution.", + "operationId": "AdminService_CreateExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/recover": { + "post": { + "summary": "Recreates a previously-run workflow execution that will only start executing from the last known failure point.\nIn Recover mode, users cannot change any input parameters or update the version of the execution.\nThis is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures,\ndownstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\nSee :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details.", + "description": "Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.", + "operationId": "AdminService_RecoverExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to recover the referenced execution.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminExecutionRecoverRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/relaunch": { + "post": { + "summary": "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`", + "description": "Relaunch a workflow execution.", + "operationId": "AdminService_RelaunchExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionCreateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to relaunch the referenced execution.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminExecutionRelaunchRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_ListExecutions", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve an existing workflow execution.", + "operationId": "AdminService_GetExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_TerminateExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionTerminateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceTerminateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "AdminService_UpdateExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminExecutionUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateExecutionBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plan_ids/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects.", + "description": "Fetch existing launch plan definition identifiers matching input filters.", + "operationId": "AdminService_ListLaunchPlanIds2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plan_ids/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects.", + "description": "Fetch existing launch plan definition identifiers matching input filters.", + "operationId": "AdminService_ListLaunchPlanIds", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition", + "description": "Create and register a launch plan definition.", + "operationId": "AdminService_CreateLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "description": "Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required\nto launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminLaunchPlanCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition", + "description": "Create and register a launch plan definition.", + "operationId": "AdminService_CreateLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateLaunchPlanBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition.", + "description": "Retrieve an existing launch plan definition.", + "operationId": "AdminService_GetLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.", + "operationId": "AdminService_UpdateLaunchPlan2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "state", + "description": "Desired state to apply to the launch plan.\n+required.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "INACTIVE", + "ACTIVE" + ], + "default": "INACTIVE" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions.", + "description": "Fetch existing launch plan definitions matching input filters.", + "operationId": "AdminService_ListLaunchPlans", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition.", + "description": "Retrieve an existing launch plan definition.", + "operationId": "AdminService_GetLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`.", + "description": "Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.", + "operationId": "AdminService_UpdateLaunchPlan", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminLaunchPlanUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateLaunchPlanBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/matchable_attributes": { + "get": { + "summary": "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type.", + "description": "Retrieve a list of MatchableAttributesConfiguration objects.", + "operationId": "AdminService_ListMatchableAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminListMatchableAttributesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/matchable_attributes/org/{org}": { + "get": { + "summary": "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type.", + "description": "Retrieve a list of MatchableAttributesConfiguration objects.", + "operationId": "AdminService_ListMatchableAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminListMatchableAttributesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve metrics from an existing workflow execution.", + "operationId": "AdminService_GetExecutionMetrics2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetMetricsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "depth", + "description": "depth defines the number of Flyte entity levels to traverse when breaking down execution details.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`.", + "description": "Retrieve metrics from an existing workflow execution.", + "operationId": "AdminService_GetExecutionMetrics", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetMetricsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "depth", + "description": "depth defines the number of Flyte entity levels to traverse when breaking down execution details.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Retrieve a NamedEntity object.", + "operationId": "AdminService_GetNamedEntity2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Update the fields associated with a NamedEntity", + "operationId": "AdminService_UpdateNamedEntity2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Resource type of the metadata to update\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateNamedEntityBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}": { + "get": { + "summary": "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects.", + "description": "Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain.", + "operationId": "AdminService_ListNamedEntities2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Retrieve a NamedEntity object.", + "operationId": "AdminService_GetNamedEntity", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "put": { + "summary": "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object.", + "description": "Update the fields associated with a NamedEntity", + "operationId": "AdminService_UpdateNamedEntity", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Resource type of the metadata to update\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateNamedEntityBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/named_entities/{resource_type}/{project}/{domain}": { + "get": { + "summary": "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects.", + "description": "Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain.", + "operationId": "AdminService_ListNamedEntities", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "resource_type", + "description": "Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.\n+required", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ] + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminNodeExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`.", + "operationId": "AdminService_GetDynamicNodeWorkflow2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDynamicNodeWorkflowResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_ListNodeExecutions2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "workflow_execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "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" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "unique_parent_id", + "description": "Unique identifier of the parent node in the execution\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_GetNodeExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminNodeExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`.", + "operationId": "AdminService_GetDynamicNodeWorkflow", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminDynamicNodeWorkflowResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`.", + "operationId": "AdminService_ListNodeExecutions", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNodeExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "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" + }, + { + "name": "workflow_execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "unique_parent_id", + "description": "Unique identifier of the parent node in the execution\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_attributes/{attributes.project}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level", + "description": "Update the customized resource attributes associated with a project", + "operationId": "AdminService_UpdateProjectAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_attributes/{project}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project", + "operationId": "AdminService_GetProjectAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org key applied to the project.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project", + "operationId": "AdminService_DeleteProjectAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level", + "description": "Update the customized resource attributes associated with a project", + "operationId": "AdminService_UpdateProjectAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.org", + "description": "Optional, org key applied to the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Update the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_UpdateProjectDomainAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{org}/{project}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project", + "operationId": "AdminService_GetProjectAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project", + "operationId": "AdminService_DeleteProjectAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_GetProjectDomainAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_DeleteProjectDomainAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Update the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_UpdateProjectDomainAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/project_domain_attributes/{project}/{domain}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Retrieve the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_GetProjectDomainAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain.", + "description": "Delete the customized resource attributes associated with a project-domain combination", + "operationId": "AdminService_DeleteProjectDomainAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectDomainAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteProjectDomainAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.Project`", + "description": "Fetch registered projects.", + "operationId": "AdminService_ListProjects", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjects" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "limit", + "description": "Indicates the number of projects to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "post": { + "summary": "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment.", + "operationId": "AdminService_RegisterProject", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectRegisterResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminProjectRegisterRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/org/{org}": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.Project`", + "description": "Fetch registered projects.", + "operationId": "AdminService_ListProjects2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjects" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org filter applied to list project requests.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of projects to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/org/{org}/{id}": { + "put": { + "summary": "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project should be passed but the domains property should be empty;\nit will be ignored in the handler as domains cannot be updated via this API.", + "description": "Update a project.", + "operationId": "AdminService_UpdateProject2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id", + "description": "Globally unique project name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/org/{project.org}": { + "post": { + "summary": "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment.", + "operationId": "AdminService_RegisterProject2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectRegisterResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceRegisterProjectBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/projects/{id}": { + "put": { + "summary": "Updates an existing :ref:`ref_flyteidl.admin.Project`\nflyteidl.admin.Project should be passed but the domains property should be empty;\nit will be ignored in the handler as domains cannot be updated via this API.", + "description": "Update a project.", + "operationId": "AdminService_UpdateProject", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id", + "description": "Globally unique project name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateProjectBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve an existing task execution.", + "operationId": "AdminService_GetTaskExecution2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Fetch existing task executions matching input filters.", + "operationId": "AdminService_ListTaskExecutions2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Retrieve an existing task execution.", + "operationId": "AdminService_GetTaskExecution", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskExecution" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "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" + }, + { + "name": "id.task_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/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}": { + "get": { + "summary": "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`.", + "description": "Fetch existing task executions matching input filters.", + "operationId": "AdminService_ListTaskExecutions", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskExecutionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "node_execution_id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/task_ids/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects.", + "description": "Fetch existing task definition identifiers matching input filters.", + "operationId": "AdminService_ListTaskIds", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Task` definition", + "description": "Create and register a task definition.", + "operationId": "AdminService_CreateTask", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/flyteidladminTaskCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Task` definition", + "description": "Create and register a task definition.", + "operationId": "AdminService_CreateTask2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/flyteidladminTaskCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/serviceAdminServiceCreateTaskBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Task` definition.", + "description": "Retrieve an existing task definition.", + "operationId": "AdminService_GetTask2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTask" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects.", + "description": "Fetch existing task definition identifiers matching input filters.", + "operationId": "AdminService_ListTaskIds2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions.", + "description": "Fetch existing task definitions matching input filters.", + "operationId": "AdminService_ListTasks", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTaskList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Task` definition.", + "description": "Retrieve an existing task definition.", + "operationId": "AdminService_GetTask", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminTask" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/version": { + "get": { + "description": "Retrieve the Version (including the Build information) for FlyteAdmin service", + "operationId": "AdminService_GetVersion", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminGetVersionResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Update the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_UpdateWorkflowAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.workflow", + "description": "Workflow name for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Retrieve the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_GetWorkflowAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Delete the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_DeleteWorkflowAttributes2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}": { + "put": { + "summary": "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Update the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_UpdateWorkflowAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesUpdateResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.workflow", + "description": "Workflow name for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceUpdateWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_attributes/{project}/{domain}/{workflow}": { + "get": { + "summary": "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Retrieve the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_GetWorkflowAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesGetResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource_type", + "description": "Which type of matchable attributes to return.\n+required\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE" + }, + { + "name": "org", + "description": "Optional, org key applied to the attributes.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + }, + "delete": { + "summary": "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow.", + "description": "Delete the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "AdminService_DeleteWorkflowAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesDeleteResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Unique project id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Unique domain id which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow", + "description": "Workflow name which this set of attributes references.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceDeleteWorkflowAttributesBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflow_ids/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects.", + "operationId": "AdminService_ListWorkflowIds", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition", + "description": "Create and register a workflow definition.", + "operationId": "AdminService_CreateWorkflow", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminWorkflowCreateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}": { + "post": { + "summary": "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition", + "description": "Create and register a workflow definition.", + "operationId": "AdminService_CreateWorkflow2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowCreateResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AdminServiceCreateWorkflowBody" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition.", + "description": "Retrieve an existing workflow definition.", + "operationId": "AdminService_GetWorkflow2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/org/{org}/{project}/{domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects.", + "operationId": "AdminService_ListWorkflowIds2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminNamedEntityIdentifierList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "project", + "description": "Name of the project that contains the identifiers.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "domain", + "description": "Name of the domain the identifiers belongs to within the project.\n+required", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/{id.project}/{id.domain}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions.", + "description": "Fetch existing workflow definitions matching input filters.", + "operationId": "AdminService_ListWorkflows", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, this server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\nMore info on constructing filters : \u003cLink\u003e\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "AdminService" + ] + } + }, + "/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition.", + "description": "Retrieve an existing workflow definition.", + "operationId": "AdminService_GetWorkflow", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflow" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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": "id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "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" + }, + { + "name": "id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "AdminService" + ] + } + } + }, + "definitions": { + "AdminServiceCreateExecutionBody": { + "type": "object", + "properties": { + "project": { + "type": "string", + "title": "Name of the project the execution belongs to.\n+required" + }, + "domain": { + "type": "string", + "title": "Name of the domain the execution belongs to.\nA domain can be considered as a subset within a specific project.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the resource.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "spec": { + "$ref": "#/definitions/adminExecutionSpec", + "title": "Additional fields necessary to launch the execution.\n+optional" + }, + "inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "The inputs required to start the execution. All required inputs must be\nincluded in this map. If not required and not provided, defaults apply.\n+optional" + } + }, + "description": "Request to launch an execution with the given project, domain and optionally-assigned name." + }, + "AdminServiceCreateLaunchPlanBody": { + "type": "object", + "properties": { + "id": { + "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": "Uniquely identifies a launch plan entity.", + "title": "Uniquely identifies a launch plan entity." + }, + "spec": { + "$ref": "#/definitions/adminLaunchPlanSpec", + "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." + } + }, + "description": "Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required\nto launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan." + }, + "AdminServiceCreateNodeEventBody": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "type": "object", + "properties": { + "id": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "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" + } + }, + "title": "Unique identifier for this node execution" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreNodeExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the node." + }, + "input_uri": { + "type": "string" + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this node execution." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this node execution." + }, + "workflow_node_metadata": { + "$ref": "#/definitions/flyteidleventWorkflowNodeMetadata" + }, + "task_node_metadata": { + "$ref": "#/definitions/flyteidleventTaskNodeMetadata" + }, + "parent_task_metadata": { + "$ref": "#/definitions/eventParentTaskExecutionMetadata", + "description": "[To be deprecated] Specifies which task (if any) launched this node." + }, + "parent_node_metadata": { + "$ref": "#/definitions/eventParentNodeExecutionMetadata", + "description": "Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node." + }, + "retry_group": { + "type": "string", + "title": "Retry group to indicate grouping of nodes by retries" + }, + "spec_node_id": { + "type": "string", + "title": "Identifier of the node in the original workflow/graph\nThis maps to value of WorkflowTemplate.nodes[X].id" + }, + "node_name": { + "type": "string", + "title": "Friendly readable name for the node" + }, + "event_version": { + "type": "integer", + "format": "int32" + }, + "is_parent": { + "type": "boolean", + "description": "Whether this node launched a subworkflow." + }, + "is_dynamic": { + "type": "boolean", + "description": "Whether this node yielded a dynamic workflow." + }, + "deck_uri": { + "type": "string", + "title": "String location uniquely identifying where the deck HTML file is\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example,\nwhen first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when\nliteral inputs are initially copied. The event however will not be sent until after the copy completes.\nExtracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series." + }, + "is_array": { + "type": "boolean", + "description": "Indicates if this node is an ArrayNode." + } + }, + "description": "Details about the event that occurred.", + "title": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a node execution event has occurred." + }, + "AdminServiceCreateTaskEventBody": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "type": "object", + "properties": { + "task_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "ID of the task. In combination with the retryAttempt this will indicate\nthe task execution uniquely for a given parent node execution." + }, + "parent_node_execution_id": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "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" + } + }, + "title": "A task execution is always kicked off by a node execution, the event consumer\nwill use the parent_id to relate the task to it's parent node execution" + }, + "retry_attempt": { + "type": "integer", + "format": "int64", + "title": "retry attempt number for this task, ie., 2 for the second attempt" + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "title": "Phase associated with the event" + }, + "producer_id": { + "type": "string", + "title": "id of the process that sent this event, mainly for trace debugging" + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "title": "log information for the task execution" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the task." + }, + "input_uri": { + "type": "string", + "description": "URI of the input file, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this task execution." + }, + "output_uri": { + "type": "string", + "description": "URI to the output of the execution, it will be in a format that encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this task execution." + }, + "custom_info": { + "type": "object", + "description": "Custom data that the task plugin sends back. This is extensible to allow various plugins in the system." + }, + "phase_version": { + "type": "integer", + "format": "int64", + "description": "Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)\nthat should be recorded regardless of the lack of phase change.\nThe version field should be incremented when metadata changes across the duration of an individual phase." + }, + "reason": { + "type": "string", + "description": "An optional explanation for the phase transition.\nDeprecated: Use reasons instead." + }, + "reasons": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventEventReason" + }, + "description": "An optional list of explanations for the phase transition." + }, + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin\nthis type will be identical, but not all task executions necessarily use pre-registered definitions and this\ntype is useful to render the task in the UI, filter task executions, etc." + }, + "metadata": { + "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", + "description": "Metadata around how a task was executed." + }, + "event_version": { + "type": "integer", + "format": "int32", + "description": "The event version is used to indicate versioned changes in how data is reported using this\nproto message. For example, event_verison \u003e 0 means that maps tasks report logs using the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s\npod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,\nbut this event will not be reported until the pod is marked as completed. Extracting both of these timestamps\nfacilitates a more accurate portrayal of the evaluation time-series." + } + }, + "description": "Details about the event that occurred.", + "title": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a task execution event has occurred." + }, + "AdminServiceCreateWorkflowBody": { + "type": "object", + "properties": { + "id": { + "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." + } + }, + "title": "id represents the unique identifier of the workflow.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminWorkflowSpec", + "title": "Represents the specification for workflow.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a workflow.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" + }, + "AdminServiceCreateWorkflowEventBody": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "type": "object", + "properties": { + "execution_id": { + "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": "Workflow execution id" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreWorkflowExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the workflow." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this workflow execution." + } + }, + "description": "Details about the event that occurred.", + "title": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a workflow execution event has occurred." + }, + "AdminServiceDeleteProjectAttributesBody": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/adminMatchableResource", + "title": "Which type of matchable attributes to delete.\n+required" + } + }, + "title": "Request to delete a set matchable project level attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceDeleteProjectDomainAttributesBody": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/adminMatchableResource", + "title": "Which type of matchable attributes to delete.\n+required" + } + }, + "title": "Request to delete a set matchable project domain attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceDeleteWorkflowAttributesBody": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/adminMatchableResource", + "title": "Which type of matchable attributes to delete.\n+required" + } + }, + "title": "Request to delete a set matchable workflow attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceRecoverExecutionBody": { + "type": "object", + "properties": { + "id": { + "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." + } + }, + "description": "Identifier of the workflow execution to recover.", + "title": "Identifier of the workflow execution to recover." + }, + "name": { + "type": "string", + "title": "User provided value for the recovered execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "metadata": { + "$ref": "#/definitions/adminExecutionMetadata", + "description": "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution." + } + }, + "description": "Request to recover the referenced execution." + }, + "AdminServiceRegisterProjectBody": { + "type": "object", + "properties": { + "project": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Globally unique project name." + }, + "name": { + "type": "string", + "description": "Display name." + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDomain" + } + }, + "description": { + "type": "string" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Leverage Labels from flyteidl.admin.common.proto to\ntag projects with ownership information." + }, + "state": { + "$ref": "#/definitions/ProjectProjectState" + } + }, + "title": "+required" + } + }, + "title": "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project` for more details" + }, + "AdminServiceRelaunchExecutionBody": { + "type": "object", + "properties": { + "id": { + "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": "Identifier of the workflow execution to relaunch.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the relaunched execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + } + }, + "description": "Request to relaunch the referenced execution." + }, + "AdminServiceTerminateExecutionBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "description": "Uniquely identifies the individual workflow execution to be terminated.", + "title": "Uniquely identifies the individual workflow execution to be terminated." + }, + "cause": { + "type": "string", + "description": "Optional reason for aborting." + } + }, + "description": "Request to terminate an in-progress execution. This action is irreversible.\nIf an execution is already terminated, this request will simply be a no-op.\nThis request will fail if it references a non-existent execution.\nIf the request succeeds the phase \"ABORTED\" will be recorded for the termination\nwith the optional cause added to the output_result." + }, + "AdminServiceUpdateExecutionBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "title": "Identifier of the execution to update" + }, + "state": { + "$ref": "#/definitions/adminExecutionState", + "title": "State to set as the new value active/archive" + } + } + }, + "AdminServiceUpdateLaunchPlanBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Identifies the specific type of resource that this identifier corresponds to." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Identifier of launch plan for which to change state.\n+required.", + "title": "Identifier of launch plan for which to change state.\n+required." + }, + "state": { + "$ref": "#/definitions/adminLaunchPlanState", + "description": "Desired state to apply to the launch plan.\n+required." + } + }, + "title": "Request to set the referenced launch plan state to the configured value.\nSee :ref:`ref_flyteidl.admin.LaunchPlan` for more details" + }, + "AdminServiceUpdateNamedEntityBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "title": "Identifier of the metadata to update\n+required" + }, + "metadata": { + "$ref": "#/definitions/adminNamedEntityMetadata", + "title": "Metadata object to set as the new value\n+required" + } + }, + "description": "Request to set the referenced named entity state to the configured value." + }, + "AdminServiceUpdateProjectAttributesBody": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + }, + "title": "+required" + } + }, + "title": "Sets custom attributes for a project\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceUpdateProjectBody": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Display name." + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDomain" + } + }, + "description": { + "type": "string" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Leverage Labels from flyteidl.admin.common.proto to\ntag projects with ownership information." + }, + "state": { + "$ref": "#/definitions/ProjectProjectState" + } + }, + "description": "Top-level namespace used to classify different entities like workflows and executions." + }, + "AdminServiceUpdateProjectDomainAttributesBody": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + }, + "title": "+required" + } + }, + "title": "Sets custom attributes for a project-domain combination.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "AdminServiceUpdateWorkflowAttributesBody": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "properties": { + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + }, + "title": "Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + } + }, + "title": "Sets custom attributes for a project, domain and workflow combination.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "ComparisonExpressionOperator": { + "type": "string", + "enum": [ + "EQ", + "NEQ", + "GT", + "GTE", + "LT", + "LTE" + ], + "default": "EQ", + "description": "- GT: Greater Than\n - LT: Less Than", + "title": "Binary Operator for each expression" + }, + "ConjunctionExpressionLogicalOperator": { + "type": "string", + "enum": [ + "AND", + "OR" + ], + "default": "AND", + "description": "- AND: Conjunction", + "title": "Nested conditions. They can be conjoined using AND / OR\nOrder of evaluation is not important as the operators are Commutative" + }, + "ConnectionSetIdList": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ContainerArchitecture": { + "type": "string", + "enum": [ + "UNKNOWN", + "AMD64", + "ARM64", + "ARM_V6", + "ARM_V7" + ], + "default": "UNKNOWN", + "description": "Architecture-type the container image supports." + }, + "DataLoadingConfigLiteralMapFormat": { + "type": "string", + "enum": [ + "JSON", + "YAML", + "PROTO" + ], + "default": "JSON", + "description": "- JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core", + "title": "LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers.\nIf the user has access to the protocol buffer definitions, it is recommended to use the PROTO format.\nJSON and YAML do not need any protobuf definitions to read it\nAll remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)" + }, + "ExecutionErrorErrorKind": { + "type": "string", + "enum": [ + "UNKNOWN", + "USER", + "SYSTEM" + ], + "default": "UNKNOWN", + "title": "Error type: System or User" + }, + "ExecutionMetadataExecutionMode": { + "type": "string", + "enum": [ + "MANUAL", + "SCHEDULED", + "SYSTEM", + "RELAUNCH", + "CHILD_WORKFLOW", + "RECOVERED" + ], + "default": "MANUAL", + "description": "The method by which this execution was launched.\n\n - MANUAL: The default execution mode, MANUAL implies that an execution was launched by an individual.\n - SCHEDULED: A schedule triggered this execution launch.\n - SYSTEM: A system process was responsible for launching this execution rather an individual.\n - RELAUNCH: This execution was launched with identical inputs as a previous execution.\n - CHILD_WORKFLOW: This execution was triggered by another execution.\n - RECOVERED: This execution was recovered from another execution." + }, + "IOStrategyDownloadMode": { + "type": "string", + "enum": [ + "DOWNLOAD_EAGER", + "DOWNLOAD_STREAM", + "DO_NOT_DOWNLOAD" + ], + "default": "DOWNLOAD_EAGER", + "description": "- DOWNLOAD_EAGER: All data will be downloaded before the main container is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded", + "title": "Mode to use for downloading" + }, + "IOStrategyUploadMode": { + "type": "string", + "enum": [ + "UPLOAD_ON_EXIT", + "UPLOAD_EAGER", + "DO_NOT_UPLOAD" + ], + "default": "UPLOAD_ON_EXIT", + "description": "- UPLOAD_ON_EXIT: All data will be uploaded after the main container exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written", + "title": "Mode to use for uploading" + }, + "PluginOverrideMissingPluginBehavior": { + "type": "string", + "enum": [ + "FAIL", + "USE_DEFAULT" + ], + "default": "FAIL", + "description": " - FAIL: By default, if this plugin is not enabled for a Flyte deployment then execution will fail.\n - USE_DEFAULT: Uses the system-configured default implementation." + }, + "ProjectProjectState": { + "type": "string", + "enum": [ + "ACTIVE", + "ARCHIVED", + "SYSTEM_GENERATED" + ], + "default": "ACTIVE", + "description": "The state of the project is used to control its visibility in the UI and validity.\n\n - ACTIVE: By default, all projects are considered active.\n - ARCHIVED: Archived projects are no longer visible in the UI and no longer valid.\n - SYSTEM_GENERATED: System generated projects that aren't explicitly created or managed by a user." + }, + "QualityOfServiceTier": { + "type": "string", + "enum": [ + "UNDEFINED", + "HIGH", + "MEDIUM", + "LOW" + ], + "default": "UNDEFINED", + "description": " - UNDEFINED: Default: no quality of service specified." + }, + "ResourcesResourceEntry": { + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourcesResourceName", + "description": "Resource name." + }, + "value": { + "type": "string", + "title": "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" + } + }, + "description": "Encapsulates a resource name and value." + }, + "ResourcesResourceName": { + "type": "string", + "enum": [ + "UNKNOWN", + "CPU", + "GPU", + "MEMORY", + "STORAGE", + "EPHEMERAL_STORAGE" + ], + "default": "UNKNOWN", + "description": "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." + }, + "RuntimeMetadataRuntimeType": { + "type": "string", + "enum": [ + "OTHER", + "FLYTE_SDK" + ], + "default": "OTHER" + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "SecretMountType": { + "type": "string", + "enum": [ + "ANY", + "ENV_VAR", + "FILE" + ], + "default": "ANY", + "description": " - ANY: Default case, indicates the client can tolerate either mounting options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable.\n - FILE: FILE indicates the secret needs to be mounted as a file." + }, + "SortDirection": { + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING", + "description": " - DESCENDING: By default, fields are sorted in descending order." + }, + "SqlDialect": { + "type": "string", + "enum": [ + "UNDEFINED", + "ANSI", + "HIVE", + "OTHER" + ], + "default": "UNDEFINED", + "description": "The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid\nexpensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement.\nWe support the following dialect: ansi, hive." + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "TaskExecutionMetadataInstanceClass": { + "type": "string", + "enum": [ + "DEFAULT", + "INTERRUPTIBLE" + ], + "default": "DEFAULT", + "description": "Includes the broad category of machine used for this specific task execution.\n\n - DEFAULT: The default instance class configured for the flyte application platform.\n - INTERRUPTIBLE: The instance class configured for interruptible tasks." + }, + "TaskLogMessageFormat": { + "type": "string", + "enum": [ + "UNKNOWN", + "CSV", + "JSON" + ], + "default": "UNKNOWN" + }, + "WorkflowMetadataOnFailurePolicy": { + "type": "string", + "enum": [ + "FAIL_IMMEDIATELY", + "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" + ], + "default": "FAIL_IMMEDIATELY", + "description": "- FAIL_IMMEDIATELY: FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically\nabort all currently running nodes and clean up resources before finally marking the workflow executions as\nfailed.\n - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE: FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will\nnot alter the dependencies of the execution graph so any node that depend on the failed node will not be run.\nOther nodes that will be executed to completion before cleaning up resources and marking the workflow\nexecution as failed.", + "title": "Failure Handling Strategy" + }, + "adminAbortMetadata": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "In the case of a user-specified abort, this will pass along the user-supplied cause." + }, + "principal": { + "type": "string", + "title": "Identifies the entity (if any) responsible for terminating the execution" + } + }, + "description": "Specifies metadata around an aborted workflow execution." + }, + "adminAnnotations": { + "type": "object", + "properties": { + "values": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of custom annotations to be applied to the execution resource." + } + }, + "description": "Annotation values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge annotations defined at registration and execution time." + }, + "adminAuth": { + "type": "object", + "properties": { + "assumable_iam_role": { + "type": "string", + "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + }, + "kubernetes_service_account": { + "type": "string", + "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + } + }, + "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." + }, + "adminAuthRole": { + "type": "object", + "properties": { + "assumable_iam_role": { + "type": "string", + "description": "Defines an optional iam role which will be used for tasks run in executions created with this launch plan." + }, + "kubernetes_service_account": { + "type": "string", + "description": "Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan." + } + }, + "description": "Defines permissions associated with executions created by this launch plan spec.\nUse either of these roles when they have permissions required by your workflow execution.\nDeprecated." + }, + "adminClusterAssignment": { + "type": "object", + "properties": { + "cluster_pool_name": { + "type": "string" + } + }, + "description": "Encapsulates specifications for routing an execution onto a specific cluster." + }, + "adminClusterResourceAttributes": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names of variables in templatized resource files.\nMap values should be the custom values which get substituted during resource creation." + } + } + }, + "adminCronSchedule": { + "type": "object", + "properties": { + "schedule": { + "type": "string", + "title": "Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;\nAlso supports nonstandard predefined scheduling definitions\nas described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions\nexcept @reboot" + }, + "offset": { + "type": "string", + "title": "ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations" + } + }, + "description": "Options for schedules to run according to a cron expression." + }, + "adminDescription": { + "type": "object", + "properties": { + "value": { + "type": "string", + "title": "long description - no more than 4KB" + }, + "uri": { + "type": "string", + "title": "if the description sizes exceed some threshold we can offload the entire\ndescription proto altogether to an external data store, like S3 rather than store inline in the db" + }, + "format": { + "$ref": "#/definitions/adminDescriptionFormat", + "title": "Format of the long description" + }, + "icon_link": { + "type": "string", + "title": "Optional link to an icon for the entity" + } + }, + "description": "Full user description with formatting preserved. This can be rendered\nby clients, such as the console or command line tools with in-tact\nformatting." + }, + "adminDescriptionEntity": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the description entity." + }, + "short_description": { + "type": "string", + "description": "One-liner overview of the entity." + }, + "long_description": { + "$ref": "#/definitions/adminDescription", + "description": "Full user description with formatting preserved." + }, + "source_code": { + "$ref": "#/definitions/adminSourceCode", + "description": "Optional link to source code used to define this entity." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "User-specified tags. These are arbitrary and can be used for searching\nfiltering and discovering tasks." + } + }, + "description": "DescriptionEntity contains detailed description for the task/workflow.\nDocumentation could provide insight into the algorithms, business use case, etc." + }, + "adminDescriptionEntityList": { + "type": "object", + "properties": { + "descriptionEntities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDescriptionEntity" + }, + "description": "A list of DescriptionEntities returned based on the request." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of DescriptionEntities returned from the admin.\nSee :ref:`ref_flyteidl.admin.DescriptionEntity` for more details" + }, + "adminDescriptionFormat": { + "type": "string", + "enum": [ + "DESCRIPTION_FORMAT_UNKNOWN", + "DESCRIPTION_FORMAT_MARKDOWN", + "DESCRIPTION_FORMAT_HTML", + "DESCRIPTION_FORMAT_RST" + ], + "default": "DESCRIPTION_FORMAT_UNKNOWN", + "description": "- DESCRIPTION_FORMAT_RST: python default documentation - comments is rst", + "title": "The format of the long description" + }, + "adminDomain": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Globally unique domain name." + }, + "name": { + "type": "string", + "description": "Display name." + } + }, + "description": "Namespace within a project commonly used to differentiate between different service instances.\ne.g. \"production\", \"development\", etc." + }, + "adminDynamicNodeWorkflowResponse": { + "type": "object", + "properties": { + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure" + } + } + }, + "adminEmailNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "The list of email addresses recipients for this notification.\n+required" + } + }, + "description": "Defines an email notification specification." + }, + "adminEnvs": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Map of custom environment variables to be applied to the execution resource." + } + }, + "description": "Environment variable values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge environment variables defined at registration and execution time." + }, + "adminExecution": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Unique identifier of the workflow execution." + }, + "spec": { + "$ref": "#/definitions/adminExecutionSpec", + "description": "User-provided configuration and inputs for launching the execution." + }, + "closure": { + "$ref": "#/definitions/adminExecutionClosure", + "description": "Execution results." + } + }, + "description": "A workflow execution represents an instantiated workflow, including all inputs and additional\nmetadata as well as computed results included state, outputs, and duration-based attributes.\nUsed as a response object used in Get and List execution requests." + }, + "adminExecutionClosure": { + "type": "object", + "properties": { + "outputs": { + "$ref": "#/definitions/adminLiteralMapBlob", + "description": "Output URI in the case of a successful execution.\nDEPRECATED. Use GetExecutionData to fetch output data instead." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "description": "Error information in the case of a failed execution." + }, + "abort_cause": { + "type": "string", + "description": "In the case of a user-specified abort, this will pass along the user-supplied cause." + }, + "abort_metadata": { + "$ref": "#/definitions/adminAbortMetadata", + "description": "In the case of a user-specified abort, this will pass along the user and their supplied cause." + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this execution.\nDEPRECATED. Use GetExecutionData to fetch output data instead." + }, + "computed_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "Inputs computed and passed for execution.\ncomputed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan" + }, + "phase": { + "$ref": "#/definitions/coreWorkflowExecutionPhase", + "description": "Most recent recorded phase for the execution." + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "Reported time at which the execution began running." + }, + "duration": { + "type": "string", + "description": "The amount of time the execution spent running." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Reported time at which the execution was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Reported time at which the execution was last updated." + }, + "notifications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNotification" + }, + "description": "The notification settings to use after merging the CreateExecutionRequest and the launch plan\nnotification settings. An execution launched with notifications will always prefer that definition\nto notifications defined statically in a launch plan." + }, + "workflow_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Identifies the workflow definition for this execution." + }, + "state_change_details": { + "$ref": "#/definitions/adminExecutionStateChangeDetails", + "title": "Provides the details of the last stage change" + } + }, + "title": "Encapsulates the results of the Execution" + }, + "adminExecutionClusterLabel": { + "type": "object", + "properties": { + "value": { + "type": "string", + "title": "Label value to determine where the execution will be run" + } + } + }, + "adminExecutionCreateRequest": { + "type": "object", + "properties": { + "project": { + "type": "string", + "title": "Name of the project the execution belongs to.\n+required" + }, + "domain": { + "type": "string", + "title": "Name of the domain the execution belongs to.\nA domain can be considered as a subset within a specific project.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the resource.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "spec": { + "$ref": "#/definitions/adminExecutionSpec", + "title": "Additional fields necessary to launch the execution.\n+optional" + }, + "inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "The inputs required to start the execution. All required inputs must be\nincluded in this map. If not required and not provided, defaults apply.\n+optional" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Request to launch an execution with the given project, domain and optionally-assigned name." + }, + "adminExecutionCreateResponse": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "description": "The unique identifier for a successfully created execution.\nIf the name was *not* specified in the create request, this identifier will include a generated name." + }, + "adminExecutionList": { + "type": "object", + "properties": { + "executions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminExecution" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Used as a response for request to list executions.\nSee :ref:`ref_flyteidl.admin.Execution` for more details" + }, + "adminExecutionMetadata": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/definitions/ExecutionMetadataExecutionMode" + }, + "principal": { + "type": "string", + "description": "Identifier of the entity that triggered this execution.\nFor systems using back-end authentication any value set here will be discarded in favor of the\nauthenticated user context." + }, + "nesting": { + "type": "integer", + "format": "int64", + "description": "Indicates the nestedness of this execution.\nIf a user launches a workflow execution, the default nesting is 0.\nIf this execution further launches a workflow (child workflow), the nesting level is incremented by 0 =\u003e 1\nGenerally, if workflow at nesting level k launches a workflow then the child workflow will have\nnesting = k + 1." + }, + "scheduled_at": { + "type": "string", + "format": "date-time", + "description": "For scheduled executions, the requested time for execution for this specific schedule invocation." + }, + "parent_node_execution": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "title": "Which subworkflow node (if any) launched this execution" + }, + "reference_execution": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Optional, a reference workflow execution related to this execution.\nIn the case of a relaunch, this references the original workflow execution." + }, + "system_metadata": { + "$ref": "#/definitions/adminSystemMetadata", + "description": "Optional, platform-specific metadata about the execution.\nIn this the future this may be gated behind an ACL or some sort of authorization." + }, + "artifact_ids": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreArtifactID" + }, + "description": "Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping\nsince we don't have a structure to handle nested ones anyways." + } + }, + "description": "Represents attributes about an execution which are not required to launch the execution but are useful to record.\nThese attributes are assigned at launch time and do not change." + }, + "adminExecutionQueueAttributes": { + "type": "object", + "properties": { + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Tags used for assigning execution queues for tasks defined within this project." + } + } + }, + "adminExecutionRecoverRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Identifier of the workflow execution to recover." + }, + "name": { + "type": "string", + "title": "User provided value for the recovered execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "metadata": { + "$ref": "#/definitions/adminExecutionMetadata", + "description": "Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution." + } + }, + "description": "Request to recover the referenced execution." + }, + "adminExecutionRelaunchRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "title": "Identifier of the workflow execution to relaunch.\n+required" + }, + "name": { + "type": "string", + "title": "User provided value for the relaunched execution.\nIf none is provided the system will generate a unique string.\n+optional" + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + } + }, + "description": "Request to relaunch the referenced execution." + }, + "adminExecutionSpec": { + "type": "object", + "properties": { + "launch_plan": { + "$ref": "#/definitions/coreIdentifier", + "title": "Launch plan to be executed" + }, + "inputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "Input values to be passed for the execution" + }, + "metadata": { + "$ref": "#/definitions/adminExecutionMetadata", + "title": "Metadata for the execution" + }, + "notifications": { + "$ref": "#/definitions/adminNotificationList", + "description": "List of notifications based on Execution status transitions\nWhen this list is not empty it is used rather than any notifications defined in the referenced launch plan.\nWhen this list is empty, the notifications defined for the launch plan will be applied." + }, + "disable_all": { + "type": "boolean", + "description": "This should be set to true if all notifications are intended to be disabled for this execution." + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Labels to apply to the execution resource." + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations", + "description": "Annotations to apply to the execution resource." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "Optional: security context override to apply this execution." + }, + "auth_role": { + "$ref": "#/definitions/adminAuthRole", + "description": "Optional: auth override to apply this execution." + }, + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService", + "description": "Indicates the runtime priority of the execution." + }, + "max_parallelism": { + "type": "integer", + "format": "int32", + "description": "Controls the maximum number of task nodes that can be run in parallel for the entire workflow.\nThis is useful to achieve fairness. Note: MapTasks are regarded as one unit,\nand parallelism/concurrency of MapTasks is independent from this." + }, + "raw_output_data_config": { + "$ref": "#/definitions/adminRawOutputDataConfig", + "title": "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).\nThis should be a prefix like s3://my-bucket/my-data" + }, + "cluster_assignment": { + "$ref": "#/definitions/adminClusterAssignment", + "description": "Controls how to select an available cluster on which this execution should run." + }, + "interruptible": { + "type": "boolean", + "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Tags to be set for the execution." + } + }, + "description": "An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime\nof an execution as it progresses across phase changes." + }, + "adminExecutionState": { + "type": "string", + "enum": [ + "EXECUTION_ACTIVE", + "EXECUTION_ARCHIVED" + ], + "default": "EXECUTION_ACTIVE", + "description": "The state of the execution is used to control its visibility in the UI/CLI.\n\n - EXECUTION_ACTIVE: By default, all executions are considered active.\n - EXECUTION_ARCHIVED: Archived executions are no longer visible in the UI." + }, + "adminExecutionStateChangeDetails": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/adminExecutionState", + "description": "The state of the execution is used to control its visibility in the UI/CLI." + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the state changed." + }, + "principal": { + "type": "string", + "title": "Identifies the entity (if any) responsible for causing the state change of the execution" + } + } + }, + "adminExecutionTerminateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminExecutionUpdateResponse": { + "type": "object" + }, + "adminFixedRate": { + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int64" + }, + "unit": { + "$ref": "#/definitions/adminFixedRateUnit" + } + }, + "description": "Option for schedules run at a certain frequency e.g. every 2 minutes." + }, + "adminFixedRateUnit": { + "type": "string", + "enum": [ + "MINUTE", + "HOUR", + "DAY" + ], + "default": "MINUTE", + "description": "Represents a frequency at which to run a schedule." + }, + "adminFlyteURLs": { + "type": "object", + "properties": { + "inputs": { + "type": "string" + }, + "outputs": { + "type": "string" + }, + "deck": { + "type": "string" + } + }, + "description": "These URLs are returned as part of node and task execution data requests." + }, + "adminGetVersionResponse": { + "type": "object", + "properties": { + "control_plane_version": { + "$ref": "#/definitions/adminVersion", + "title": "The control plane version information. FlyteAdmin and related components\nform the control plane of Flyte" + } + }, + "title": "Response for the GetVersion API" + }, + "adminLabels": { + "type": "object", + "properties": { + "values": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of custom labels to be applied to the execution resource." + } + }, + "description": "Label values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge labels defined at registration and execution time." + }, + "adminLaunchPlan": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Uniquely identifies a launch plan entity." + }, + "spec": { + "$ref": "#/definitions/adminLaunchPlanSpec", + "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." + }, + "closure": { + "$ref": "#/definitions/adminLaunchPlanClosure", + "description": "Values computed by the flyte platform after launch plan registration." + } + }, + "description": "A LaunchPlan provides the capability to templatize workflow executions.\nLaunch plans simplify associating one or more schedules, inputs and notifications with your workflows.\nLaunch plans can be shared and used to trigger executions with predefined inputs even when a workflow\ndefinition doesn't necessarily have a default value for said input." + }, + "adminLaunchPlanClosure": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/adminLaunchPlanState", + "description": "Indicate the Launch plan state." + }, + "expected_inputs": { + "$ref": "#/definitions/coreParameterMap", + "title": "Indicates the set of inputs expected when creating an execution with the Launch plan" + }, + "expected_outputs": { + "$ref": "#/definitions/coreVariableMap", + "title": "Indicates the set of outputs expected to be produced by creating an execution with the Launch plan" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the launch plan was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the launch plan was last updated." + } + }, + "description": "Values computed by the flyte platform after launch plan registration.\nThese include expected_inputs required to be present in a CreateExecutionRequest\nto launch the reference workflow as well timestamp values associated with the launch plan." + }, + "adminLaunchPlanCreateRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Uniquely identifies a launch plan entity." + }, + "spec": { + "$ref": "#/definitions/adminLaunchPlanSpec", + "description": "User-provided launch plan details, including reference workflow, inputs and other metadata." + } + }, + "description": "Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required\nto launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to\nset the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan." + }, + "adminLaunchPlanCreateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminLaunchPlanList": { + "type": "object", + "properties": { + "launch_plans": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminLaunchPlan" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Response object for list launch plan requests.\nSee :ref:`ref_flyteidl.admin.LaunchPlan` for more details" + }, + "adminLaunchPlanMetadata": { + "type": "object", + "properties": { + "schedule": { + "$ref": "#/definitions/adminSchedule", + "title": "Schedule to execute the Launch Plan" + }, + "notifications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNotification" + }, + "title": "List of notifications based on Execution status transitions" + }, + "launch_conditions": { + "$ref": "#/definitions/protobufAny", + "title": "Additional metadata for how to launch the launch plan" + } + }, + "description": "Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch\nthe reference workflow." + }, + "adminLaunchPlanSpec": { + "type": "object", + "properties": { + "workflow_id": { + "$ref": "#/definitions/coreIdentifier", + "title": "Reference to the Workflow template that the launch plan references" + }, + "entity_metadata": { + "$ref": "#/definitions/adminLaunchPlanMetadata", + "title": "Metadata for the Launch Plan" + }, + "default_inputs": { + "$ref": "#/definitions/coreParameterMap", + "description": "Input values to be passed for the execution.\nThese can be overridden when an execution is created with this launch plan." + }, + "fixed_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Fixed, non-overridable inputs for the Launch Plan.\nThese can not be overridden when an execution is created with this launch plan." + }, + "role": { + "type": "string", + "title": "String to indicate the role to use to execute the workflow underneath" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Custom labels to be applied to the execution resource." + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations", + "description": "Custom annotations to be applied to the execution resource." + }, + "auth": { + "$ref": "#/definitions/adminAuth", + "description": "Indicates the permission associated with workflow executions triggered with this launch plan." + }, + "auth_role": { + "$ref": "#/definitions/adminAuthRole" + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "title": "Indicates security context for permissions triggered with this launch plan" + }, + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService", + "description": "Indicates the runtime priority of the execution." + }, + "raw_output_data_config": { + "$ref": "#/definitions/adminRawOutputDataConfig", + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." + }, + "max_parallelism": { + "type": "integer", + "format": "int32", + "description": "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.\nThis is useful to achieve fairness. Note: MapTasks are regarded as one unit,\nand parallelism/concurrency of MapTasks is independent from this." + }, + "interruptible": { + "type": "boolean", + "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." + } + }, + "description": "User-provided launch plan definition and configuration values." + }, + "adminLaunchPlanState": { + "type": "string", + "enum": [ + "INACTIVE", + "ACTIVE" + ], + "default": "INACTIVE", + "description": "By default any launch plan regardless of state can be used to launch a workflow execution.\nHowever, at most one version of a launch plan\n(e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be\nactive at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier\ngroup will be observed and trigger executions at a defined cadence." + }, + "adminLaunchPlanUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminListMatchableAttributesResponse": { + "type": "object", + "properties": { + "configurations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminMatchableAttributesConfiguration" + } + } + }, + "title": "Response for a request for all matching resource attributes for a resource type.\nSee :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details" + }, + "adminLiteralMapBlob": { + "type": "object", + "properties": { + "values": { + "$ref": "#/definitions/coreLiteralMap", + "title": "Data in LiteralMap format" + }, + "uri": { + "type": "string", + "title": "In the event that the map is too large, we return a uri to the data" + } + }, + "title": "Input/output data can represented by actual values or a link to where values are stored" + }, + "adminMatchableAttributesConfiguration": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "domain": { + "type": "string" + }, + "project": { + "type": "string" + }, + "workflow": { + "type": "string" + }, + "launch_plan": { + "type": "string" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org);\nor domain, project and workflow name (and optional org).\nThese are used to override system level defaults for kubernetes cluster resource management,\ndefault execution values, and more all across different levels of specificity." + }, + "adminMatchableResource": { + "type": "string", + "enum": [ + "TASK_RESOURCE", + "CLUSTER_RESOURCE", + "EXECUTION_QUEUE", + "EXECUTION_CLUSTER_LABEL", + "QUALITY_OF_SERVICE_SPECIFICATION", + "PLUGIN_OVERRIDE", + "WORKFLOW_EXECUTION_CONFIG", + "CLUSTER_ASSIGNMENT" + ], + "default": "TASK_RESOURCE", + "description": "Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes\nbased on matching tags.\n\n - TASK_RESOURCE: Applies to customizable task resource requests and limits.\n - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources.\n - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment.\n - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run\n - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec.\n - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type.\n - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides.\n - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run." + }, + "adminMatchingAttributes": { + "type": "object", + "properties": { + "task_resource_attributes": { + "$ref": "#/definitions/adminTaskResourceAttributes" + }, + "cluster_resource_attributes": { + "$ref": "#/definitions/adminClusterResourceAttributes" + }, + "execution_queue_attributes": { + "$ref": "#/definitions/adminExecutionQueueAttributes" + }, + "execution_cluster_label": { + "$ref": "#/definitions/adminExecutionClusterLabel" + }, + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService" + }, + "plugin_overrides": { + "$ref": "#/definitions/adminPluginOverrides" + }, + "workflow_execution_config": { + "$ref": "#/definitions/adminWorkflowExecutionConfig" + }, + "cluster_assignment": { + "$ref": "#/definitions/adminClusterAssignment" + } + }, + "description": "Generic container for encapsulating all types of the above attributes messages." + }, + "adminNamedEntity": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Resource type of the named entity. One of Task, Workflow or LaunchPlan." + }, + "id": { + "$ref": "#/definitions/adminNamedEntityIdentifier" + }, + "metadata": { + "$ref": "#/definitions/adminNamedEntityMetadata", + "description": "Additional metadata around a named entity." + } + }, + "description": "Encapsulates information common to a NamedEntity, a Flyte resource such as a task,\nworkflow or launch plan. A NamedEntity is exclusively identified by its resource type\nand identifier." + }, + "adminNamedEntityIdentifier": { + "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", + "title": "User provided value for the resource.\nThe combination of project + domain + name uniquely identifies the resource.\n+optional - in certain contexts - like 'List API', 'Launch plans'" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Encapsulation of fields that identifies a Flyte resource.\nA Flyte resource can be a task, workflow or launch plan.\nA resource can internally have multiple versions and is uniquely identified\nby project, domain, and name." + }, + "adminNamedEntityIdentifierList": { + "type": "object", + "properties": { + "entities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNamedEntityIdentifier" + }, + "description": "A list of identifiers." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "description": "Represents a list of NamedEntityIdentifiers." + }, + "adminNamedEntityList": { + "type": "object", + "properties": { + "entities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNamedEntity" + }, + "title": "A list of NamedEntity objects" + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "description": "Represents a list of NamedEntityIdentifiers." + }, + "adminNamedEntityMetadata": { + "type": "object", + "properties": { + "description": { + "type": "string", + "title": "Common description across all versions of the entity\n+optional" + }, + "state": { + "$ref": "#/definitions/adminNamedEntityState", + "description": "Shared state across all version of the entity\nAt this point in time, only workflow entities can have their state archived." + } + }, + "description": "Additional metadata around a named entity." + }, + "adminNamedEntityState": { + "type": "string", + "enum": [ + "NAMED_ENTITY_ACTIVE", + "NAMED_ENTITY_ARCHIVED", + "SYSTEM_GENERATED" + ], + "default": "NAMED_ENTITY_ACTIVE", + "description": "The status of the named entity is used to control its visibility in the UI.\n\n - NAMED_ENTITY_ACTIVE: By default, all named entities are considered active and under development.\n - NAMED_ENTITY_ARCHIVED: Archived named entities are no longer visible in the UI.\n - SYSTEM_GENERATED: System generated entities that aren't explicitly created or managed by a user." + }, + "adminNamedEntityUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminNodeExecutionClosure": { + "type": "object", + "properties": { + "output_uri": { + "type": "string", + "description": "Links to a remotely stored, serialized core.LiteralMap of node execution outputs.\nDEPRECATED. Use GetNodeExecutionData to fetch output data instead." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the Node" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this node execution.\nDEPRECATED. Use GetNodeExecutionData to fetch output data instead." + }, + "phase": { + "$ref": "#/definitions/coreNodeExecutionPhase", + "description": "The last recorded phase for this node execution." + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the node execution began running." + }, + "duration": { + "type": "string", + "description": "The amount of time the node execution spent running." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the node execution was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the node execution was last updated." + }, + "workflow_node_metadata": { + "$ref": "#/definitions/flyteidladminWorkflowNodeMetadata" + }, + "task_node_metadata": { + "$ref": "#/definitions/flyteidladminTaskNodeMetadata" + }, + "deck_uri": { + "type": "string", + "title": "String location uniquely identifying where the deck HTML file is.\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required\nto correctly recover partially completed executions where the subworkflow has already been compiled." + } + }, + "description": "Container for node execution details and results." + }, + "adminNodeExecutionEventRequest": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "$ref": "#/definitions/eventNodeExecutionEvent", + "description": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a node execution event has occurred." + }, + "adminNodeExecutionEventResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminNodeExecutionGetDataResponse": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of node execution inputs.\nDeprecated: Please use full_inputs instead." + }, + "outputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of node execution outputs.\nDeprecated: Please use full_outputs instead." + }, + "full_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_inputs will only be populated if they are under a configured size threshold." + }, + "full_outputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_outputs will only be populated if they are under a configured size threshold." + }, + "dynamic_workflow": { + "$ref": "#/definitions/flyteidladminDynamicWorkflowNodeMetadata", + "description": "Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here." + }, + "flyte_urls": { + "$ref": "#/definitions/adminFlyteURLs" + } + }, + "description": "Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution." + }, + "adminNodeExecutionList": { + "type": "object", + "properties": { + "node_executions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidladminNodeExecution" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Request structure to retrieve a list of node execution entities.\nSee :ref:`ref_flyteidl.admin.NodeExecution` for more details" + }, + "adminNodeExecutionMetaData": { + "type": "object", + "properties": { + "retry_group": { + "type": "string", + "description": "Node executions are grouped depending on retries of the parent\nRetry group is unique within the context of a parent node." + }, + "is_parent_node": { + "type": "boolean", + "description": "Boolean flag indicating if the node has child nodes under it\nThis can be true when a node contains a dynamic workflow which then produces\nchild nodes." + }, + "spec_node_id": { + "type": "string", + "title": "Node id of the node in the original workflow\nThis maps to value of WorkflowTemplate.nodes[X].id" + }, + "is_dynamic": { + "type": "boolean", + "description": "Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.\nThis is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true." + }, + "is_array": { + "type": "boolean", + "description": "Boolean flag indicating if the node is an array node. This is intended to uniquely identify\narray nodes from other nodes which can have is_parent_node as true." + } + }, + "title": "Represents additional attributes related to a Node Execution" + }, + "adminNotification": { + "type": "object", + "properties": { + "phases": { + "type": "array", + "items": { + "$ref": "#/definitions/coreWorkflowExecutionPhase" + }, + "title": "A list of phases to which users can associate the notifications to.\n+required" + }, + "email": { + "$ref": "#/definitions/adminEmailNotification" + }, + "pager_duty": { + "$ref": "#/definitions/adminPagerDutyNotification" + }, + "slack": { + "$ref": "#/definitions/adminSlackNotification" + } + }, + "description": "Represents a structure for notifications based on execution status.\nThe notification content is configured within flyte admin but can be templatized.\nFuture iterations could expose configuring notifications with custom content." + }, + "adminNotificationList": { + "type": "object", + "properties": { + "notifications": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminNotification" + } + } + } + }, + "adminPagerDutyNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Currently, PagerDuty notifications leverage email to trigger a notification.\n+required" + } + }, + "description": "Defines a pager duty notification specification." + }, + "adminPluginOverride": { + "type": "object", + "properties": { + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier." + }, + "plugin_id": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id." + }, + "missing_plugin_behavior": { + "$ref": "#/definitions/PluginOverrideMissingPluginBehavior", + "description": "Defines the behavior when no plugin from the plugin_id list is not found." + } + }, + "description": "This MatchableAttribute configures selecting alternate plugin implementations for a given task type.\nIn addition to an override implementation a selection of fallbacks can be provided or other modes\nfor handling cases where the desired plugin override is not enabled in a given Flyte deployment." + }, + "adminPluginOverrides": { + "type": "object", + "properties": { + "overrides": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminPluginOverride" + } + } + } + }, + "adminProject": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Globally unique project name." + }, + "name": { + "type": "string", + "description": "Display name." + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminDomain" + } + }, + "description": { + "type": "string" + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Leverage Labels from flyteidl.admin.common.proto to\ntag projects with ownership information." + }, + "state": { + "$ref": "#/definitions/ProjectProjectState" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Top-level namespace used to classify different entities like workflows and executions." + }, + "adminProjectAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the project." + } + }, + "title": "Defines a set of custom matching attributes at the project level.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectAttributesDeleteResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectAttributesGetResponse": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminProjectAttributes" + } + }, + "title": "Response to get an individual project level attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectDomainAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "domain": { + "type": "string", + "description": "Unique domain id for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the attributes." + } + }, + "title": "Defines a set of custom matching attributes which defines resource defaults for a project and domain.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectDomainAttributesDeleteResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectDomainAttributesGetResponse": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminProjectDomainAttributes" + } + }, + "title": "Response to get an individual project domain attribute override.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminProjectDomainAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminProjectRegisterRequest": { + "type": "object", + "properties": { + "project": { + "$ref": "#/definitions/adminProject", + "title": "+required" + } + }, + "title": "Adds a new user-project within the Flyte deployment.\nSee :ref:`ref_flyteidl.admin.Project` for more details" + }, + "adminProjectRegisterResponse": { + "type": "object", + "description": "Purposefully empty, may be updated in the future." + }, + "adminProjectUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be updated in the future." + }, + "adminProjects": { + "type": "object", + "properties": { + "projects": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminProject" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of projects.\nSee :ref:`ref_flyteidl.admin.Project` for more details" + }, + "adminRawOutputDataConfig": { + "type": "object", + "properties": { + "output_location_prefix": { + "type": "string", + "title": "Prefix for where offloaded data from user workflows will be written\ne.g. s3://bucket/key or s3://bucket/" + } + }, + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211 for more background information." + }, + "adminReason": { + "type": "object", + "properties": { + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "occurred_at is the timestamp indicating the instant that this reason happened." + }, + "message": { + "type": "string", + "description": "message is the explanation for the most recent phase transition or status update." + } + }, + "description": "Reason is a single message annotated with a timestamp to indicate the instant the reason occurred." + }, + "adminSchedule": { + "type": "object", + "properties": { + "cron_expression": { + "type": "string", + "title": "Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year\ne.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *" + }, + "rate": { + "$ref": "#/definitions/adminFixedRate" + }, + "cron_schedule": { + "$ref": "#/definitions/adminCronSchedule" + }, + "kickoff_time_input_arg": { + "type": "string", + "description": "Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off." + } + }, + "description": "Defines complete set of information required to trigger an execution on a schedule." + }, + "adminSlackNotification": { + "type": "object", + "properties": { + "recipients_email": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Currently, Slack notifications leverage email to trigger a notification.\n+required" + } + }, + "description": "Defines a slack notification specification." + }, + "adminSort": { + "type": "object", + "properties": { + "key": { + "type": "string", + "title": "Indicates an attribute to sort the response values.\n+required" + }, + "direction": { + "$ref": "#/definitions/SortDirection", + "title": "Indicates the direction to apply sort key for response values.\n+optional" + } + }, + "description": "Specifies sort ordering in a list request." + }, + "adminSourceCode": { + "type": "object", + "properties": { + "link": { + "type": "string" + } + }, + "title": "Link to source code used to define this entity" + }, + "adminSystemMetadata": { + "type": "object", + "properties": { + "execution_cluster": { + "type": "string", + "description": "Which execution cluster this execution ran on." + }, + "namespace": { + "type": "string", + "description": "Which kubernetes namespace the execution ran under." + } + }, + "description": "Represents system, rather than user-facing, metadata about an execution." + }, + "adminTask": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the task." + }, + "closure": { + "$ref": "#/definitions/adminTaskClosure", + "description": "closure encapsulates all the fields that maps to a compiled version of the task." + }, + "short_description": { + "type": "string", + "description": "One-liner overview of the entity." + } + }, + "description": "Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks\narranged to process workflow inputs and produce a deterministic set of outputs.\nTasks can come in many varieties tuned for specialized behavior." + }, + "adminTaskClosure": { + "type": "object", + "properties": { + "compiled_task": { + "$ref": "#/definitions/coreCompiledTask", + "description": "Represents the compiled representation of the task from the specification provided." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task was created." + } + }, + "description": "Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data\nand task metadata." + }, + "adminTaskExecutionClosure": { + "type": "object", + "properties": { + "output_uri": { + "type": "string", + "description": "Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).\nDEPRECATED. Use GetTaskExecutionData to fetch output data instead." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "description": "Error information for the task execution. Populated if the execution failed." + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this task execution.\nDEPRECATED. Use GetTaskExecutionData to fetch output data instead." + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "description": "The last recorded phase for this task execution." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "description": "Detailed log information output by the task execution." + }, + "started_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task execution began running." + }, + "duration": { + "type": "string", + "description": "The amount of time the task execution spent running." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task execution was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the task execution was last updated." + }, + "custom_info": { + "type": "object", + "description": "Custom data specific to the task plugin." + }, + "reason": { + "type": "string", + "description": "If there is an explanation for the most recent phase transition, the reason will capture it." + }, + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier." + }, + "metadata": { + "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", + "description": "Metadata around how a task was executed." + }, + "event_version": { + "type": "integer", + "format": "int32", + "description": "The event version is used to indicate versioned changes in how data is maintained using this\nproto message. For example, event_verison \u003e 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reasons": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminReason" + }, + "description": "A time-series of the phase transition or update explanations. This, when compared to storing a singular reason\nas previously done, is much more valuable in visualizing and understanding historical evaluations." + } + }, + "description": "Container for task execution details and results." + }, + "adminTaskExecutionEventRequest": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "$ref": "#/definitions/eventTaskExecutionEvent", + "description": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a task execution event has occurred." + }, + "adminTaskExecutionEventResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminTaskExecutionGetDataResponse": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of task execution inputs.\nDeprecated: Please use full_inputs instead." + }, + "outputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of task execution outputs.\nDeprecated: Please use full_outputs instead." + }, + "full_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_inputs will only be populated if they are under a configured size threshold." + }, + "full_outputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_outputs will only be populated if they are under a configured size threshold." + }, + "flyte_urls": { + "$ref": "#/definitions/adminFlyteURLs", + "title": "flyte tiny url to fetch a core.LiteralMap of task execution's IO\nDeck will be empty for task" + } + }, + "description": "Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution." + }, + "adminTaskExecutionList": { + "type": "object", + "properties": { + "task_executions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidladminTaskExecution" + } + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Response structure for a query to list of task execution entities.\nSee :ref:`ref_flyteidl.admin.TaskExecution` for more details" + }, + "adminTaskList": { + "type": "object", + "properties": { + "tasks": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminTask" + }, + "description": "A list of tasks returned based on the request." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of tasks returned from the admin.\nSee :ref:`ref_flyteidl.admin.Task` for more details" + }, + "adminTaskResourceAttributes": { + "type": "object", + "properties": { + "defaults": { + "$ref": "#/definitions/adminTaskResourceSpec" + }, + "limits": { + "$ref": "#/definitions/adminTaskResourceSpec" + } + }, + "description": "Defines task resource defaults and limits that will be applied at task registration." + }, + "adminTaskResourceSpec": { + "type": "object", + "properties": { + "cpu": { + "type": "string" + }, + "gpu": { + "type": "string" + }, + "memory": { + "type": "string" + }, + "storage": { + "type": "string" + }, + "ephemeral_storage": { + "type": "string" + } + }, + "description": "Defines a set of overridable task resource attributes set during task registration." + }, + "adminTaskSpec": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreTaskTemplate", + "description": "Template of the task that encapsulates all the metadata of the task." + }, + "description": { + "$ref": "#/definitions/adminDescriptionEntity", + "description": "Represents the specification for description entity." + } + }, + "description": "Represents a structure that encapsulates the user-configured specification of the task." + }, + "adminUrlBlob": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "Actual url value." + }, + "bytes": { + "type": "string", + "format": "int64", + "description": "Represents the size of the file accessible at the above url." + } + }, + "description": "Represents a string url and associated metadata used throughout the platform." + }, + "adminVersion": { + "type": "object", + "properties": { + "Build": { + "type": "string", + "title": "Specifies the GIT sha of the build" + }, + "Version": { + "type": "string", + "title": "Version for the build, should follow a semver" + }, + "BuildTime": { + "type": "string", + "title": "Build timestamp" + } + }, + "title": "Provides Version information for a component" + }, + "adminWorkflow": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the workflow." + }, + "closure": { + "$ref": "#/definitions/flyteidladminWorkflowClosure", + "description": "closure encapsulates all the fields that maps to a compiled version of the workflow." + }, + "short_description": { + "type": "string", + "description": "One-liner overview of the entity." + } + }, + "description": "Represents the workflow structure stored in the Admin\nA workflow is created by ordering tasks and associating outputs to inputs\nin order to produce a directed-acyclic execution graph." + }, + "adminWorkflowAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "domain": { + "type": "string", + "description": "Unique domain id for which this set of attributes will be applied." + }, + "workflow": { + "type": "string", + "description": "Workflow name for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the attributes." + } + }, + "title": "Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.\nFor more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`" + }, + "adminWorkflowAttributesDeleteResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowAttributesGetResponse": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminWorkflowAttributes" + } + }, + "description": "Response to get an individual workflow attribute override." + }, + "adminWorkflowAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowCreateRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "title": "id represents the unique identifier of the workflow.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminWorkflowSpec", + "title": "Represents the specification for workflow.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a workflow.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" + }, + "adminWorkflowCreateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowExecutionConfig": { + "type": "object", + "properties": { + "max_parallelism": { + "type": "integer", + "format": "int32", + "description": "Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "Indicates security context permissions for executions triggered with this matchable attribute." + }, + "raw_output_data_config": { + "$ref": "#/definitions/adminRawOutputDataConfig", + "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)." + }, + "labels": { + "$ref": "#/definitions/adminLabels", + "description": "Custom labels to be applied to a triggered execution resource." + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations", + "description": "Custom annotations to be applied to a triggered execution resource." + }, + "interruptible": { + "type": "boolean", + "description": "Allows for the interruptible flag of a workflow to be overwritten for a single execution.\nOmitting this field uses the workflow's value as a default.\nAs we need to distinguish between the field not being provided and its default value false, we have to use a wrapper\naround the bool field." + }, + "overwrite_cache": { + "type": "boolean", + "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." + } + }, + "description": "Adds defaults for customizable workflow-execution specifications and overrides." + }, + "adminWorkflowExecutionEventRequest": { + "type": "object", + "properties": { + "request_id": { + "type": "string", + "title": "Unique ID for this request that can be traced between services" + }, + "event": { + "$ref": "#/definitions/eventWorkflowExecutionEvent", + "description": "Details about the event that occurred." + } + }, + "description": "Request to send a notification that a workflow execution event has occurred." + }, + "adminWorkflowExecutionEventResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, + "adminWorkflowExecutionGetDataResponse": { + "type": "object", + "properties": { + "outputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of execution outputs.\nDeprecated: Please use full_outputs instead." + }, + "inputs": { + "$ref": "#/definitions/adminUrlBlob", + "description": "Signed url to fetch a core.LiteralMap of execution inputs.\nDeprecated: Please use full_inputs instead." + }, + "full_inputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_inputs will only be populated if they are under a configured size threshold." + }, + "full_outputs": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Full_outputs will only be populated if they are under a configured size threshold." + } + }, + "description": "Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution." + }, + "adminWorkflowExecutionGetMetricsResponse": { + "type": "object", + "properties": { + "span": { + "$ref": "#/definitions/coreSpan", + "description": "Span defines the top-level breakdown of the workflows execution. More precise information is nested in a\nhierarchical structure using Flyte entity references." + } + }, + "description": "WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution." + }, + "adminWorkflowList": { + "type": "object", + "properties": { + "workflows": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminWorkflow" + }, + "description": "A list of workflows returned based on the request." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "Represents a list of workflows returned from the admin.\nSee :ref:`ref_flyteidl.admin.Workflow` for more details" + }, + "adminWorkflowSpec": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreWorkflowTemplate", + "description": "Template of the task that encapsulates all the metadata of the workflow." + }, + "sub_workflows": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreWorkflowTemplate" + }, + "description": "Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the\npropeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out\nto Admin to see other registered workflows). In fact, subworkflows do not even need to be registered." + }, + "description": { + "$ref": "#/definitions/adminDescriptionEntity", + "description": "Represents the specification for description entity." + } + }, + "description": "Represents a structure that encapsulates the specification of the workflow." + }, + "coreAlias": { + "type": "object", + "properties": { + "var": { + "type": "string", + "description": "Must match one of the output variable names on a node." + }, + "alias": { + "type": "string", + "description": "A workflow-level unique alias that downstream nodes can refer to in their input." + } + }, + "description": "Links a variable to an alias." + }, + "coreApproveCondition": { + "type": "object", + "properties": { + "signal_id": { + "type": "string", + "description": "A unique identifier for the requested boolean signal." + } + }, + "description": "ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean\nsignal with the provided signal_id." + }, + "coreArrayNode": { + "type": "object", + "properties": { + "node": { + "$ref": "#/definitions/coreNode", + "description": "node is the sub-node that will be executed for each element in the array." + }, + "parallelism": { + "type": "integer", + "format": "int64", + "description": "parallelism defines the minimum number of instances to bring up concurrently at any given\npoint. Note that this is an optimistic restriction and that, due to network partitioning or\nother failures, the actual number of currently running instances might be more. This has to\nbe a positive number if assigned. Default value is size." + }, + "min_successes": { + "type": "integer", + "format": "int64", + "description": "min_successes is an absolute number of the minimum number of successful completions of\nsub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful\nand outputs will be computed. This has to be a non-negative number if assigned. Default\nvalue is size (if specified)." + }, + "min_success_ratio": { + "type": "number", + "format": "float", + "description": "If the array job size is not known beforehand, the min_success_ratio can instead be used\nto determine when an ArrayNode can be marked successful." + } + }, + "description": "ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input\nvalues. An ArrayNode can be executed with configurable parallelism (separate from the parent\nworkflow) and can be configured to succeed when a certain number of sub-nodes succeed." + }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string" + }, + "bind_to_time_partition": { + "type": "boolean" + }, + "transform": { + "type": "string", + "title": "This is only relevant in the time partition case" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions", + "description": "Think of a partition as a tag on an Artifact, except it's a key-value pair.\nDifferent partitions naturally have different versions (execution ids)." + }, + "time_partition": { + "$ref": "#/definitions/coreTimePartition", + "description": "There is no such thing as an empty time partition - if it's not set, then there is no time partition." + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "coreArtifactQuery": { + "type": "object", + "properties": { + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + }, + "uri": { + "type": "string" + }, + "binding": { + "$ref": "#/definitions/coreArtifactBindingData", + "description": "This is used in the trigger case, where a user specifies a value for an input that is one of the triggering\nartifacts, or a partition value derived from a triggering artifact." + } + }, + "title": "Uniqueness constraints for Artifacts\n - project, domain, name, version, partitions\nOption 2 (tags are standalone, point to an individual artifact id):\n - project, domain, name, alias (points to one partition if partitioned)\n - project, domain, name, partition key, partition value" + }, + "coreArtifactTag": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBinding": { + "type": "object", + "properties": { + "var": { + "type": "string", + "description": "Variable name must match an input/output variable of the node." + }, + "binding": { + "$ref": "#/definitions/coreBindingData", + "description": "Data to use to bind this variable." + } + }, + "description": "An input/output binding of a variable to either static value or a node output." + }, + "coreBindingData": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple scalar value." + }, + "collection": { + "$ref": "#/definitions/coreBindingDataCollection", + "description": "A collection of binding data. This allows nesting of binding data to any number\nof levels." + }, + "promise": { + "$ref": "#/definitions/coreOutputReference", + "description": "References an output promised by another node." + }, + "map": { + "$ref": "#/definitions/coreBindingDataMap", + "description": "A map of bindings. The key is always a string." + }, + "union": { + "$ref": "#/definitions/coreUnionInfo" + } + }, + "description": "Specifies either a simple value or a reference to another output." + }, + "coreBindingDataCollection": { + "type": "object", + "properties": { + "bindings": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreBindingData" + } + } + }, + "description": "A collection of BindingData items." + }, + "coreBindingDataMap": { + "type": "object", + "properties": { + "bindings": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreBindingData" + } + } + }, + "description": "A map of BindingData items." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreBooleanExpression": { + "type": "object", + "properties": { + "conjunction": { + "$ref": "#/definitions/coreConjunctionExpression" + }, + "comparison": { + "$ref": "#/definitions/coreComparisonExpression" + } + }, + "description": "Defines a boolean expression tree. It can be a simple or a conjunction expression.\nMultiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result." + }, + "coreBranchNode": { + "type": "object", + "properties": { + "if_else": { + "$ref": "#/definitions/coreIfElseBlock", + "title": "+required" + } + }, + "description": "BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at\nruntime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives)." + }, + "coreCatalogArtifactTag": { + "type": "object", + "properties": { + "artifact_id": { + "type": "string", + "title": "Artifact ID is generated name" + }, + "name": { + "type": "string", + "title": "Flyte computes the tag automatically, as the hash of the values" + } + } + }, + "coreCatalogCacheStatus": { + "type": "string", + "enum": [ + "CACHE_DISABLED", + "CACHE_MISS", + "CACHE_HIT", + "CACHE_POPULATED", + "CACHE_LOOKUP_FAILURE", + "CACHE_PUT_FAILURE", + "CACHE_SKIPPED", + "CACHE_EVICTED" + ], + "default": "CACHE_DISABLED", + "description": "- CACHE_DISABLED: Used to indicate that caching was disabled\n - CACHE_MISS: Used to indicate that the cache lookup resulted in no matches\n - CACHE_HIT: used to indicate that the associated artifact was a result of a previous execution\n - CACHE_POPULATED: used to indicate that the resultant artifact was added to the cache\n - CACHE_LOOKUP_FAILURE: Used to indicate that cache lookup failed because of an error\n - CACHE_PUT_FAILURE: Used to indicate that cache lookup failed because of an error\n - CACHE_SKIPPED: Used to indicate the cache lookup was skipped\n - CACHE_EVICTED: Used to indicate that the cache was evicted", + "title": "Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future" + }, + "coreCatalogMetadata": { + "type": "object", + "properties": { + "dataset_id": { + "$ref": "#/definitions/coreIdentifier", + "title": "Dataset ID in the catalog" + }, + "artifact_tag": { + "$ref": "#/definitions/coreCatalogArtifactTag", + "title": "Artifact tag in the catalog" + }, + "source_task_execution": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "title": "Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions" + } + }, + "title": "Catalog artifact information with specific metadata" + }, + "coreCatalogReservationStatus": { + "type": "string", + "enum": [ + "RESERVATION_DISABLED", + "RESERVATION_ACQUIRED", + "RESERVATION_EXISTS", + "RESERVATION_RELEASED", + "RESERVATION_FAILURE" + ], + "default": "RESERVATION_DISABLED", + "description": "Indicates the status of a catalog reservation operation.\n\n - RESERVATION_DISABLED: Used to indicate that reservations are disabled\n - RESERVATION_ACQUIRED: Used to indicate that a reservation was successfully acquired or extended\n - RESERVATION_EXISTS: Used to indicate that an active reservation currently exists\n - RESERVATION_RELEASED: Used to indicate that the reservation has been successfully released\n - RESERVATION_FAILURE: Used to indicate that a reservation operation resulted in failure" + }, + "coreComparisonExpression": { + "type": "object", + "properties": { + "operator": { + "$ref": "#/definitions/ComparisonExpressionOperator" + }, + "left_value": { + "$ref": "#/definitions/coreOperand" + }, + "right_value": { + "$ref": "#/definitions/coreOperand" + } + }, + "description": "Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.\nEach expression results in a boolean result." + }, + "coreCompiledTask": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreTaskTemplate", + "title": "Completely contained TaskTemplate" + } + }, + "title": "Output of the Compilation step. This object represent one Task. We store more metadata at this layer" + }, + "coreCompiledWorkflow": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/coreWorkflowTemplate", + "title": "Completely contained Workflow Template" + }, + "connections": { + "$ref": "#/definitions/coreConnectionSet", + "description": "For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored." + } + }, + "title": "Output of the compilation Step. This object represents one workflow. We store more metadata at this layer" + }, + "coreCompiledWorkflowClosure": { + "type": "object", + "properties": { + "primary": { + "$ref": "#/definitions/coreCompiledWorkflow", + "title": "+required" + }, + "sub_workflows": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreCompiledWorkflow" + }, + "title": "Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a\nunique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow\nas an inlined workflow\n+optional" + }, + "tasks": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreCompiledTask" + }, + "title": "Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id\n+required (at least 1)" + } + }, + "description": "A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow\nand its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that\nwill being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of\ncompiled subworkflows." + }, + "coreConjunctionExpression": { + "type": "object", + "properties": { + "operator": { + "$ref": "#/definitions/ConjunctionExpressionLogicalOperator" + }, + "left_expression": { + "$ref": "#/definitions/coreBooleanExpression" + }, + "right_expression": { + "$ref": "#/definitions/coreBooleanExpression" + } + }, + "description": "Defines a conjunction expression of two boolean expressions." + }, + "coreConnectionSet": { + "type": "object", + "properties": { + "downstream": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnectionSetIdList" + }, + "title": "A list of all the node ids that are downstream from a given node id" + }, + "upstream": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConnectionSetIdList" + }, + "title": "A list of all the node ids, that are upstream of this node id" + } + }, + "title": "Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation\nstep uses this created ConnectionSet" + }, + "coreContainer": { + "type": "object", + "properties": { + "image": { + "type": "string", + "title": "Container image url. Eg: docker/redis:latest" + }, + "command": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Command to be executed, if not provided, the default entrypoint in the container image will be used." + }, + "args": { + "type": "array", + "items": { + "type": "string" + }, + "description": "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still\nneeds flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the\nsystem will populate these before executing the container." + }, + "resources": { + "$ref": "#/definitions/coreResources", + "description": "Container resources requirement as specified by the container engine." + }, + "env": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Environment variables will be set as the container is starting up." + }, + "config": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Allows extra configs to be available for the container.\nTODO: elaborate on how configs will become available.\nDeprecated, please use TaskTemplate.config instead." + }, + "ports": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreContainerPort" + }, + "title": "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\nOnly K8s" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + }, + "architecture": { + "$ref": "#/definitions/ContainerArchitecture" + } + } + }, + "coreContainerPort": { + "type": "object", + "properties": { + "container_port": { + "type": "integer", + "format": "int64", + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536." + } + }, + "description": "Defines port properties for a container." + }, + "coreDataLoadingConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "title": "Flag enables DataLoading Config. If this is not set, data loading will not be used!" + }, + "input_path": { + "type": "string", + "title": "File system path (start at root). This folder will contain all the inputs exploded to a separate file.\nExample, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like\n/var/flyte/inputs/inputs.\u003cmetadata format dependent -\u003e .pb .json .yaml\u003e -\u003e Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations\n/var/flyte/inputs/x -\u003e X is a file that contains the value of x (integer) in string format\n/var/flyte/inputs/y -\u003e Y is a file in Binary format\n/var/flyte/inputs/z/... -\u003e Note Z itself is a directory\nMore information about the protocol - refer to docs #TODO reference docs here" + }, + "output_path": { + "type": "string", + "title": "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" + }, + "format": { + "$ref": "#/definitions/DataLoadingConfigLiteralMapFormat", + "title": "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.\nThis format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" + }, + "io_strategy": { + "$ref": "#/definitions/coreIOStrategy" + } + }, + "description": "This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path\nAny outputs generated by the user container - within output_path are automatically uploaded." + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreExecutionError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "title": "Error code indicates a grouping of a type of error.\nMore Info: \u003cLink\u003e" + }, + "message": { + "type": "string", + "description": "Detailed description of the error - including stack trace." + }, + "error_uri": { + "type": "string", + "title": "Full error contents accessible via a URI" + }, + "kind": { + "$ref": "#/definitions/ExecutionErrorErrorKind" + } + }, + "description": "Represents the error message from the execution." + }, + "coreExtendedResources": { + "type": "object", + "properties": { + "gpu_accelerator": { + "$ref": "#/definitions/coreGPUAccelerator", + "description": "GPU accelerator to select for task. Contains information about device type, and\nfor multi-instance GPUs, the partition size to use." + } + }, + "description": "Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to\nallocate to a task." + }, + "coreGPUAccelerator": { + "type": "object", + "properties": { + "device": { + "type": "string", + "description": "This can be any arbitrary string, and should be informed by the labels or taints\nassociated with the nodes in question. Default cloud provider labels typically\nuse the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc." + }, + "unpartitioned": { + "type": "boolean" + }, + "partition_size": { + "type": "string", + "description": "Like `device`, this can be any arbitrary string, and should be informed by\nthe labels or taints associated with the nodes in question. Default cloud\nprovider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc." + } + }, + "description": "Metadata associated with the GPU accelerator to allocate to a task. Contains\ninformation about device type, and for multi-instance GPUs, the partition size to\nuse." + }, + "coreGateNode": { + "type": "object", + "properties": { + "approve": { + "$ref": "#/definitions/coreApproveCondition", + "description": "ApproveCondition represents a dependency on an external approval provided by a boolean signal." + }, + "signal": { + "$ref": "#/definitions/coreSignalCondition", + "description": "SignalCondition represents a dependency on an signal." + }, + "sleep": { + "$ref": "#/definitions/coreSleepCondition", + "description": "SleepCondition represents a dependency on waiting for the specified duration." + } + }, + "description": "GateNode refers to the condition that is required for the gate to successfully complete." + }, + "coreIOStrategy": { + "type": "object", + "properties": { + "download_mode": { + "$ref": "#/definitions/IOStrategyDownloadMode", + "title": "Mode to use to manage downloads" + }, + "upload_mode": { + "$ref": "#/definitions/IOStrategyUploadMode", + "title": "Mode to use to manage uploads" + } + }, + "title": "Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)" + }, + "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." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "coreIdentity": { + "type": "object", + "properties": { + "iam_role": { + "type": "string", + "description": "iam_role references the fully qualified name of Identity \u0026 Access Management role to impersonate." + }, + "k8s_service_account": { + "type": "string", + "description": "k8s_service_account references a kubernetes service account to impersonate." + }, + "oauth2_client": { + "$ref": "#/definitions/coreOAuth2Client", + "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." + }, + "execution_identity": { + "type": "string", + "title": "execution_identity references the subject who makes the execution" + } + }, + "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." + }, + "coreIfBlock": { + "type": "object", + "properties": { + "condition": { + "$ref": "#/definitions/coreBooleanExpression" + }, + "then_node": { + "$ref": "#/definitions/coreNode" + } + }, + "description": "Defines a condition and the execution unit that should be executed if the condition is satisfied." + }, + "coreIfElseBlock": { + "type": "object", + "properties": { + "case": { + "$ref": "#/definitions/coreIfBlock", + "description": "+required. First condition to evaluate." + }, + "other": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreIfBlock" + }, + "description": "+optional. Additional branches to evaluate." + }, + "else_node": { + "$ref": "#/definitions/coreNode", + "description": "The node to execute in case none of the branches were taken." + }, + "error": { + "$ref": "#/definitions/coreError", + "description": "An error to throw in case none of the branches were taken." + } + }, + "description": "Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute.\nIf no conditions were satisfied, the else_node or the error will execute." + }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, + "coreK8sObjectMetadata": { + "type": "object", + "properties": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional labels to add to the pod definition." + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional annotations to add to the pod definition." + } + }, + "description": "Metadata for building a kubernetes object when a task is executed." + }, + "coreK8sPod": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreK8sObjectMetadata", + "description": "Contains additional metadata for building a kubernetes pod." + }, + "pod_spec": { + "type": "object", + "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + } + }, + "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." + }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string", + "title": "The string static value is for use in the Partitions object" + }, + "time_value": { + "type": "string", + "format": "date-time", + "title": "The time value is for use in the TimePartition case" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/flyteidlcoreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "type": "object", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, + "coreNode": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved\nnode ids that cannot be used by other nodes." + }, + "metadata": { + "$ref": "#/definitions/coreNodeMetadata", + "description": "Extra metadata about the node." + }, + "inputs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreBinding" + }, + "description": "Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface\nmust be fulfilled." + }, + "upstream_node_ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its\nupstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs\nfield." + }, + "output_aliases": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreAlias" + }, + "description": "+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes\nneed to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this\nnodes outputs using the alias if one's specified." + }, + "task_node": { + "$ref": "#/definitions/coreTaskNode", + "description": "Information about the Task to execute in this node." + }, + "workflow_node": { + "$ref": "#/definitions/coreWorkflowNode", + "description": "Information about the Workflow to execute in this mode." + }, + "branch_node": { + "$ref": "#/definitions/coreBranchNode", + "description": "Information about the branch node to evaluate in this node." + }, + "gate_node": { + "$ref": "#/definitions/coreGateNode", + "description": "Information about the condition to evaluate in this node." + }, + "array_node": { + "$ref": "#/definitions/coreArrayNode", + "description": "Information about the sub-node executions for each value in the list of this nodes\ninputs values." + } + }, + "description": "A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch\nnode." + }, + "coreNodeExecutionIdentifier": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "description": "Encapsulation of fields that identify a Flyte node execution entity." + }, + "coreNodeExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDED", + "FAILING", + "FAILED", + "ABORTED", + "SKIPPED", + "TIMED_OUT", + "DYNAMIC_RUNNING", + "RECOVERED" + ], + "default": "UNDEFINED" + }, + "coreNodeMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A friendly name for the Node" + }, + "timeout": { + "type": "string", + "description": "The overall timeout of a task." + }, + "retries": { + "$ref": "#/definitions/coreRetryStrategy", + "description": "Number of retries per task." + }, + "interruptible": { + "type": "boolean" + } + }, + "description": "Defines extra information about the Node." + }, + "coreOAuth2Client": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the\nsecret requested matches the client_id indicated here.\n+required" + }, + "client_secret": { + "$ref": "#/definitions/coreSecret", + "title": "client_secret is a reference to the secret used to authenticate the OAuth2 client.\n+required" + } + }, + "description": "OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task." + }, + "coreOAuth2TokenRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for\nenvironment variables and as a filename for mounting tokens as files.\n+required" + }, + "type": { + "$ref": "#/definitions/coreOAuth2TokenRequestType", + "title": "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n+required" + }, + "client": { + "$ref": "#/definitions/coreOAuth2Client", + "title": "client references the client_id/secret to use to request the OAuth2 token.\n+required" + }, + "idp_discovery_endpoint": { + "type": "string", + "title": "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related\ninformation.\n+optional" + }, + "token_endpoint": { + "type": "string", + "title": "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is\nmandatory.\n+optional" + } + }, + "description": "OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\ntokens are passed through environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens\nare passed through file mounts." + }, + "coreOAuth2TokenRequestType": { + "type": "string", + "enum": [ + "CLIENT_CREDENTIALS" + ], + "default": "CLIENT_CREDENTIALS", + "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." + }, + "coreOperand": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive", + "title": "Can be a constant" + }, + "var": { + "type": "string", + "title": "Or one of this node's input variables" + }, + "scalar": { + "$ref": "#/definitions/coreScalar", + "title": "Replace the primitive field" + } + }, + "description": "Defines an operand to a comparison expression." + }, + "coreOutputReference": { + "type": "object", + "properties": { + "node_id": { + "type": "string", + "description": "Node id must exist at the graph layer." + }, + "var": { + "type": "string", + "description": "Variable name must refer to an output variable for the node." + }, + "attr_path": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/corePromiseAttribute" + } + } + }, + "description": "A reference to an output produced by a node. The type can be retrieved -and validated- from\nthe underlying interface of the node." + }, + "coreParameter": { + "type": "object", + "properties": { + "var": { + "$ref": "#/definitions/coreVariable", + "description": "+required Variable. Defines the type of the variable backing this parameter." + }, + "default": { + "$ref": "#/definitions/coreLiteral", + "description": "Defines a default value that has to match the variable type defined." + }, + "required": { + "type": "boolean", + "description": "+optional, is this value required to be filled." + }, + "artifact_query": { + "$ref": "#/definitions/coreArtifactQuery", + "description": "This is an execution time search basically that should result in exactly one Artifact with a Type that\nmatches the type of the variable." + }, + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + } + }, + "description": "A parameter is used as input to a launch plan and has\nthe special ability to have a default value or mark itself as required." + }, + "coreParameterMap": { + "type": "object", + "properties": { + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreParameter" + }, + "description": "Defines a map of parameter names to parameters." + } + }, + "description": "A map of Parameters." + }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "corePromiseAttribute": { + "type": "object", + "properties": { + "string_value": { + "type": "string" + }, + "int_value": { + "type": "integer", + "format": "int32" + } + } + }, + "coreQualityOfService": { + "type": "object", + "properties": { + "tier": { + "$ref": "#/definitions/QualityOfServiceTier" + }, + "spec": { + "$ref": "#/definitions/coreQualityOfServiceSpec" + } + }, + "description": "Indicates the priority of an execution." + }, + "coreQualityOfServiceSpec": { + "type": "object", + "properties": { + "queueing_budget": { + "type": "string", + "description": "Indicates how much queueing delay an execution can tolerate." + } + }, + "description": "Represents customized execution run-time attributes." + }, + "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" + }, + "coreResources": { + "type": "object", + "properties": { + "requests": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "The desired set of resources requested. ResourceNames must be unique within the list." + }, + "limits": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique\nwithin the list." + } + }, + "description": "A customizable interface to convey resources requested for a container. This can be interpreted differently for different\ncontainer engines." + }, + "coreRetryStrategy": { + "type": "object", + "properties": { + "retries": { + "type": "integer", + "format": "int64", + "description": "Number of retries. Retries will be consumed when the job fails with a recoverable error.\nThe number of retries must be less than or equals to 10." + } + }, + "description": "Retry strategy associated with an executable unit." + }, + "coreRuntimeMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/RuntimeMetadataRuntimeType", + "description": "Type of runtime." + }, + "version": { + "type": "string", + "description": "Version of the runtime. All versions should be backward compatible. However, certain cases call for version\nchecks to ensure tighter validation or setting expectations." + }, + "flavor": { + "type": "string", + "description": "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." + } + }, + "description": "Runtime information. This is loosely defined to allow for extensibility." + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/flyteidlcoreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "type": "object" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSecret": { + "type": "object", + "properties": { + "group": { + "type": "string", + "title": "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of\nthe v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.\nFor AWS Secret Manager, this should be the name of the secret.\n+required" + }, + "group_version": { + "type": "string", + "title": "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones\nthat do not support it.\n+optional" + }, + "key": { + "type": "string", + "title": "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation\nof the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should\nmatch one of the keys inside the secret. For AWS Secret Manager, it's ignored.\n+optional" + }, + "mount_requirement": { + "$ref": "#/definitions/SecretMountType", + "title": "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail\nif the underlying key management system cannot satisfy that requirement. If not provided, the default location\nwill depend on the key management system.\n+optional" + } + }, + "description": "Secret encapsulates information about the secret a task needs to proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\nsecrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets\nare passed through file mounts." + }, + "coreSecurityContext": { + "type": "object", + "properties": { + "run_as": { + "$ref": "#/definitions/coreIdentity", + "description": "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the\nbackend plugin to choose the appropriate identity for the execution engine the task will run on." + }, + "secrets": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreSecret" + }, + "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + }, + "tokens": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreOAuth2TokenRequest" + }, + "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + } + }, + "description": "SecurityContext holds security attributes that apply to tasks." + }, + "coreSignalCondition": { + "type": "object", + "properties": { + "signal_id": { + "type": "string", + "description": "A unique identifier for the requested signal." + }, + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "A type denoting the required value type for this signal." + }, + "output_variable_name": { + "type": "string", + "description": "The variable name for the signal value in this nodes outputs." + } + }, + "description": "SignalCondition represents a dependency on an signal." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreSleepCondition": { + "type": "object", + "properties": { + "duration": { + "type": "string", + "description": "The overall duration for this sleep." + } + }, + "description": "SleepCondition represents a dependency on waiting for the specified duration." + }, + "coreSpan": { + "type": "object", + "properties": { + "start_time": { + "type": "string", + "format": "date-time", + "description": "start_time defines the instance this span began." + }, + "end_time": { + "type": "string", + "format": "date-time", + "description": "end_time defines the instance this span completed." + }, + "workflow_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "workflow_id is the id of the workflow execution this Span represents." + }, + "node_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "description": "node_id is the id of the node execution this Span represents." + }, + "task_id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "task_id is the id of the task execution this Span represents." + }, + "operation_id": { + "type": "string", + "description": "operation_id is the id of a unique operation that this Span represents." + }, + "spans": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreSpan" + }, + "description": "spans defines a collection of Spans that breakdown this execution." + } + }, + "description": "Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation\nwhich uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more\nprecise definitions." + }, + "coreSql": { + "type": "object", + "properties": { + "statement": { + "type": "string", + "title": "The actual query to run, the query can have templated parameters.\nWe use Flyte's Golang templating format for Query templating.\nRefer to the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\nFor example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" + }, + "dialect": { + "$ref": "#/definitions/SqlDialect" + } + }, + "description": "Sql represents a generic sql workload with a statement and dialect." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "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." + }, + "coreTaskExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDED", + "ABORTED", + "FAILED", + "INITIALIZING", + "WAITING_FOR_RESOURCES" + ], + "default": "UNDEFINED", + "title": "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded" + }, + "coreTaskLog": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "name": { + "type": "string" + }, + "message_format": { + "$ref": "#/definitions/TaskLogMessageFormat" + }, + "ttl": { + "type": "string" + } + }, + "title": "Log information for the task that is specific to a log sink\nWhen our log story is flushed out, we may have more metadata here like log link expiry" + }, + "coreTaskMetadata": { + "type": "object", + "properties": { + "discoverable": { + "type": "boolean", + "description": "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." + }, + "runtime": { + "$ref": "#/definitions/coreRuntimeMetadata", + "description": "Runtime information about the task." + }, + "timeout": { + "type": "string", + "description": "The overall timeout of a task including user-triggered retries." + }, + "retries": { + "$ref": "#/definitions/coreRetryStrategy", + "description": "Number of retries per task." + }, + "discovery_version": { + "type": "string", + "description": "Indicates a logical version to apply to this task for the purpose of discovery." + }, + "deprecated_error_message": { + "type": "string", + "description": "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers\nof the ending of support for a given task." + }, + "interruptible": { + "type": "boolean" + }, + "cache_serializable": { + "type": "boolean", + "title": "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" + }, + "generates_deck": { + "type": "boolean", + "description": "Indicates whether the task will generate a Deck URI when it finishes executing." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" + }, + "pod_template_name": { + "type": "string", + "description": "pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this\ntask creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied\nidentically as, the default PodTemplate configured in FlytePropeller." + }, + "cache_ignore_input_vars": { + "type": "array", + "items": { + "type": "string" + }, + "description": "cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache." + } + }, + "title": "Task Metadata" + }, + "coreTaskNode": { + "type": "object", + "properties": { + "reference_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "A globally unique identifier for the task." + }, + "overrides": { + "$ref": "#/definitions/coreTaskNodeOverrides", + "description": "Optional overrides applied at task execution time." + } + }, + "description": "Refers to the task that the Node is to execute." + }, + "coreTaskNodeOverrides": { + "type": "object", + "properties": { + "resources": { + "$ref": "#/definitions/coreResources", + "description": "A customizable interface to convey resources requested for a task container." + }, + "extended_resources": { + "$ref": "#/definitions/coreExtendedResources", + "description": "Overrides for all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." + } + }, + "description": "Optional task node overrides that will be applied at task execution time." + }, + "coreTaskTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Auto generated taskId by the system. Task Id uniquely identifies this task globally." + }, + "type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no\nextensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the\nimplementation registered for the TaskCategory." + }, + "metadata": { + "$ref": "#/definitions/coreTaskMetadata", + "description": "Extra metadata about the task." + }, + "interface": { + "$ref": "#/definitions/coreTypedInterface", + "description": "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees\ncompile-time validation of the workflow to avoid costly runtime failures." + }, + "custom": { + "type": "object", + "description": "Custom data about the task. This is extensible to allow various plugins in the system." + }, + "container": { + "$ref": "#/definitions/coreContainer" + }, + "k8s_pod": { + "$ref": "#/definitions/coreK8sPod" + }, + "sql": { + "$ref": "#/definitions/coreSql" + }, + "task_type_version": { + "type": "integer", + "format": "int32", + "description": "This can be used to customize task handling at execution time for the same task type." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "security_context encapsulates security attributes requested to run this task." + }, + "extended_resources": { + "$ref": "#/definitions/coreExtendedResources", + "description": "Encapsulates all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system\nto use as required.\nreserve the field numbers 1 through 15 for very frequently occurring message elements" + } + }, + "description": "A Task structure that uniquely identifies a task in the system\nTasks are registered as a first step in the system." + }, + "coreTimePartition": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + }, + "dataclass_type": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteralType" + }, + "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreTypedInterface": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/coreVariableMap" + }, + "outputs": { + "$ref": "#/definitions/coreVariableMap" + } + }, + "description": "Defines strongly typed inputs and outputs." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionInfo": { + "type": "object", + "properties": { + "targetType": { + "$ref": "#/definitions/coreLiteralType" + } + } + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVariable": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Variable literal type." + }, + "description": { + "type": "string", + "title": "+optional string describing input variable" + }, + "artifact_partial_id": { + "$ref": "#/definitions/coreArtifactID", + "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + } + }, + "description": "Defines a strongly typed variable." + }, + "coreVariableMap": { + "type": "object", + "properties": { + "variables": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreVariable" + }, + "description": "Defines a map of variable names to variables." + } + }, + "title": "A map of Variables" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, + "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." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" + }, + "coreWorkflowExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDING", + "SUCCEEDED", + "FAILING", + "FAILED", + "ABORTED", + "TIMED_OUT", + "ABORTING" + ], + "default": "UNDEFINED" + }, + "coreWorkflowMetadata": { + "type": "object", + "properties": { + "quality_of_service": { + "$ref": "#/definitions/coreQualityOfService", + "description": "Indicates the runtime priority of workflow executions." + }, + "on_failure": { + "$ref": "#/definitions/WorkflowMetadataOnFailurePolicy", + "description": "Defines how the system should behave when a failure is detected in the workflow execution." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" + } + }, + "description": "This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not\npercolate down to child entities (like tasks) launched by the workflow." + }, + "coreWorkflowMetadataDefaults": { + "type": "object", + "properties": { + "interruptible": { + "type": "boolean", + "description": "Whether child nodes of the workflow are interruptible." + } + }, + "description": "The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to\na workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it\nis only relevant when a task executes. The settings here are the defaults that are passed to all nodes\nunless explicitly overridden at the node layer.\nIf you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be\nadded to both this object and the WorkflowMetadata object above." + }, + "coreWorkflowNode": { + "type": "object", + "properties": { + "launchplan_ref": { + "$ref": "#/definitions/coreIdentifier", + "description": "A globally unique identifier for the launch plan." + }, + "sub_workflow_ref": { + "$ref": "#/definitions/coreIdentifier", + "title": "Reference to a subworkflow, that should be defined with the compiler context" + } + }, + "description": "Refers to a the workflow the node is to execute." + }, + "coreWorkflowTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "A globally unique identifier for the workflow." + }, + "metadata": { + "$ref": "#/definitions/coreWorkflowMetadata", + "description": "Extra metadata about the workflow." + }, + "interface": { + "$ref": "#/definitions/coreTypedInterface", + "description": "Defines a strongly typed interface for the Workflow. This can include some optional parameters." + }, + "nodes": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreNode" + }, + "description": "A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs." + }, + "outputs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreBinding" + }, + "description": "A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or\nspecify literals. All workflow outputs specified in the interface field must be bound in order for the workflow\nto be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to\nbind final outputs.\nMost of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can\njust have an output of some constant (`Output(5)`), but usually, the workflow will be pulling\noutputs from the output of a task." + }, + "failure_node": { + "$ref": "#/definitions/coreNode", + "description": "+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.\nThe interface of this node must match the Workflow interface with an additional input named 'error' of type\npb.lyft.flyte.core.Error." + }, + "metadata_defaults": { + "$ref": "#/definitions/coreWorkflowMetadataDefaults", + "title": "workflow defaults" + } + }, + "description": "Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable,\ndirected acyclic graph." + }, + "eventEventReason": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "title": "An explanation for this event" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "title": "The time this reason occurred" + } + } + }, + "eventExternalResourceInfo": { + "type": "object", + "properties": { + "external_id": { + "type": "string", + "description": "Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids." + }, + "index": { + "type": "integer", + "format": "int64", + "description": "A unique index for the external resource with respect to all external resources for this task. Although the\nidentifier may change between task reporting events or retries, this will remain the same to enable aggregating\ninformation from multiple reports." + }, + "retry_attempt": { + "type": "integer", + "format": "int64", + "title": "Retry attempt number for this external resource, ie., 2 for the second attempt" + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "title": "Phase associated with the external resource" + }, + "cache_status": { + "$ref": "#/definitions/coreCatalogCacheStatus", + "description": "Captures the status of caching for this external resource execution." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "title": "log information for the external resource execution" + } + }, + "description": "This message contains metadata about external resources produced or used by a specific task execution." + }, + "eventNodeExecutionEvent": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "title": "Unique identifier for this node execution" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreNodeExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the node." + }, + "input_uri": { + "type": "string" + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this node execution." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this node execution." + }, + "workflow_node_metadata": { + "$ref": "#/definitions/flyteidleventWorkflowNodeMetadata" + }, + "task_node_metadata": { + "$ref": "#/definitions/flyteidleventTaskNodeMetadata" + }, + "parent_task_metadata": { + "$ref": "#/definitions/eventParentTaskExecutionMetadata", + "description": "[To be deprecated] Specifies which task (if any) launched this node." + }, + "parent_node_metadata": { + "$ref": "#/definitions/eventParentNodeExecutionMetadata", + "description": "Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node." + }, + "retry_group": { + "type": "string", + "title": "Retry group to indicate grouping of nodes by retries" + }, + "spec_node_id": { + "type": "string", + "title": "Identifier of the node in the original workflow/graph\nThis maps to value of WorkflowTemplate.nodes[X].id" + }, + "node_name": { + "type": "string", + "title": "Friendly readable name for the node" + }, + "event_version": { + "type": "integer", + "format": "int32" + }, + "is_parent": { + "type": "boolean", + "description": "Whether this node launched a subworkflow." + }, + "is_dynamic": { + "type": "boolean", + "description": "Whether this node yielded a dynamic workflow." + }, + "deck_uri": { + "type": "string", + "title": "String location uniquely identifying where the deck HTML file is\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example,\nwhen first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when\nliteral inputs are initially copied. The event however will not be sent until after the copy completes.\nExtracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series." + }, + "is_array": { + "type": "boolean", + "description": "Indicates if this node is an ArrayNode." + } + } + }, + "eventParentNodeExecutionMetadata": { + "type": "object", + "properties": { + "node_id": { + "type": "string", + "title": "Unique identifier of the parent node id within the execution\nThis is value of core.NodeExecutionIdentifier.node_id of the parent node" + } + } + }, + "eventParentTaskExecutionMetadata": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier" + } + } + }, + "eventResourcePoolInfo": { + "type": "object", + "properties": { + "allocation_token": { + "type": "string", + "description": "Unique resource ID used to identify this execution when allocating a token." + }, + "namespace": { + "type": "string", + "description": "Namespace under which this task execution requested an allocation token." + } + }, + "description": "This message holds task execution metadata specific to resource allocation used to manage concurrent\nexecutions for a project namespace." + }, + "eventTaskExecutionEvent": { + "type": "object", + "properties": { + "task_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "ID of the task. In combination with the retryAttempt this will indicate\nthe task execution uniquely for a given parent node execution." + }, + "parent_node_execution_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "title": "A task execution is always kicked off by a node execution, the event consumer\nwill use the parent_id to relate the task to it's parent node execution" + }, + "retry_attempt": { + "type": "integer", + "format": "int64", + "title": "retry attempt number for this task, ie., 2 for the second attempt" + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "title": "Phase associated with the event" + }, + "producer_id": { + "type": "string", + "title": "id of the process that sent this event, mainly for trace debugging" + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "title": "log information for the task execution" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the task." + }, + "input_uri": { + "type": "string", + "description": "URI of the input file, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "input_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw input data consumed by this task execution." + }, + "output_uri": { + "type": "string", + "description": "URI to the output of the execution, it will be in a format that encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this task execution." + }, + "custom_info": { + "type": "object", + "description": "Custom data that the task plugin sends back. This is extensible to allow various plugins in the system." + }, + "phase_version": { + "type": "integer", + "format": "int64", + "description": "Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)\nthat should be recorded regardless of the lack of phase change.\nThe version field should be incremented when metadata changes across the duration of an individual phase." + }, + "reason": { + "type": "string", + "description": "An optional explanation for the phase transition.\nDeprecated: Use reasons instead." + }, + "reasons": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventEventReason" + }, + "description": "An optional list of explanations for the phase transition." + }, + "task_type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin\nthis type will be identical, but not all task executions necessarily use pre-registered definitions and this\ntype is useful to render the task in the UI, filter task executions, etc." + }, + "metadata": { + "$ref": "#/definitions/flyteidleventTaskExecutionMetadata", + "description": "Metadata around how a task was executed." + }, + "event_version": { + "type": "integer", + "format": "int32", + "description": "The event version is used to indicate versioned changes in how data is reported using this\nproto message. For example, event_verison \u003e 0 means that maps tasks report logs using the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s\npod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,\nbut this event will not be reported until the pod is marked as completed. Extracting both of these timestamps\nfacilitates a more accurate portrayal of the evaluation time-series." + } + }, + "description": "Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob." + }, + "eventWorkflowExecutionEvent": { + "type": "object", + "properties": { + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "title": "Workflow execution id" + }, + "producer_id": { + "type": "string", + "title": "the id of the originator (Propeller) of the event" + }, + "phase": { + "$ref": "#/definitions/coreWorkflowExecutionPhase" + }, + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents when the original event occurred, it is generated\nby the executor of the workflow." + }, + "output_uri": { + "type": "string", + "description": "URL to the output of the execution, it encodes all the information\nincluding Cloud source provider. ie., s3://..." + }, + "error": { + "$ref": "#/definitions/coreExecutionError", + "title": "Error information for the execution" + }, + "output_data": { + "$ref": "#/definitions/coreLiteralMap", + "description": "Raw output data produced by this workflow execution." + } + } + }, + "flyteidladminDynamicWorkflowNodeMetadata": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the workflow." + }, + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure", + "description": "Represents the compiled representation of the embedded dynamic workflow." + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the subworkflow has already been compiled." + } + }, + "description": "For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated." + }, + "flyteidladminNodeExecution": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "description": "Uniquely identifies an individual node execution." + }, + "input_uri": { + "type": "string", + "description": "Path to remote data store where input blob is stored." + }, + "closure": { + "$ref": "#/definitions/adminNodeExecutionClosure", + "description": "Computed results associated with this node execution." + }, + "metadata": { + "$ref": "#/definitions/adminNodeExecutionMetaData", + "title": "Metadata for Node Execution" + } + }, + "description": "Encapsulates all details for a single node execution entity.\nA node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested\nsub-workflow, or even a separate child-workflow execution.\nThe same task can be called repeatedly in a single workflow but each node is unique." + }, + "flyteidladminTaskCreateRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "title": "id represents the unique identifier of the task.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminTaskSpec", + "title": "Represents the specification for task.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task` for more details" + }, + "flyteidladminTaskCreateResponse": { + "type": "object", + "description": "Represents a response structure if task creation succeeds.\n\nPurposefully empty, may be populated in the future." + }, + "flyteidladminTaskExecution": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "Unique identifier for the task execution." + }, + "input_uri": { + "type": "string", + "description": "Path to remote data store where input blob is stored." + }, + "closure": { + "$ref": "#/definitions/adminTaskExecutionClosure", + "description": "Task execution details and results." + }, + "is_parent": { + "type": "boolean", + "description": "Whether this task spawned nodes." + } + }, + "description": "Encapsulates all details for a single task execution entity.\nA task execution represents an instantiated task, including all inputs and additional\nmetadata as well as computed results included state, outputs, and duration-based attributes." + }, + "flyteidladminTaskNodeMetadata": { + "type": "object", + "properties": { + "cache_status": { + "$ref": "#/definitions/coreCatalogCacheStatus", + "description": "Captures the status of caching for this execution." + }, + "catalog_key": { + "$ref": "#/definitions/coreCatalogMetadata", + "title": "This structure carries the catalog artifact information" + }, + "checkpoint_uri": { + "type": "string", + "title": "The latest checkpoint location" + } + }, + "title": "Metadata for the case in which the node is a TaskNode" + }, + "flyteidladminWorkflowClosure": { + "type": "object", + "properties": { + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure", + "description": "Represents the compiled representation of the workflow from the specification provided." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Time at which the workflow was created." + } + }, + "description": "A container holding the compiled workflow produced from the WorkflowSpec and additional metadata." + }, + "flyteidladminWorkflowNodeMetadata": { + "type": "object", + "properties": { + "executionId": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "The identifier for a workflow execution launched by a node." + } + }, + "title": "Metadata for a WorkflowNode" + }, + "flyteidlcoreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "flyteidlcoreKeyValuePair": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "required." + }, + "value": { + "type": "string", + "description": "+optional." + } + }, + "description": "A generic key value pair." + }, + "flyteidlcoreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "flyteidleventDynamicWorkflowNodeMetadata": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "id represents the unique identifier of the workflow." + }, + "compiled_workflow": { + "$ref": "#/definitions/coreCompiledWorkflowClosure", + "description": "Represents the compiled representation of the embedded dynamic workflow." + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the workflow has already been compiled." + } + }, + "description": "For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated." + }, + "flyteidleventTaskExecutionMetadata": { + "type": "object", + "properties": { + "generated_name": { + "type": "string", + "description": "Unique, generated name for this task execution used by the backend." + }, + "external_resources": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventExternalResourceInfo" + }, + "description": "Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution." + }, + "resource_pool_info": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eventResourcePoolInfo" + }, + "description": "Includes additional data on concurrent resource management used during execution..\nThis is a repeated field because a plugin can request multiple resource allocations during execution." + }, + "plugin_identifier": { + "type": "string", + "description": "The identifier of the plugin used to execute this task." + }, + "instance_class": { + "$ref": "#/definitions/TaskExecutionMetadataInstanceClass" + } + }, + "description": "Holds metadata around how a task was executed.\nAs a task transitions across event phases during execution some attributes, such its generated name, generated external resources,\nand more may grow in size but not change necessarily based on the phase transition that sparked the event update.\nMetadata is a container for these attributes across the task execution lifecycle." + }, + "flyteidleventTaskNodeMetadata": { + "type": "object", + "properties": { + "cache_status": { + "$ref": "#/definitions/coreCatalogCacheStatus", + "description": "Captures the status of caching for this execution." + }, + "catalog_key": { + "$ref": "#/definitions/coreCatalogMetadata", + "title": "This structure carries the catalog artifact information" + }, + "reservation_status": { + "$ref": "#/definitions/coreCatalogReservationStatus", + "description": "Captures the status of cache reservations for this execution." + }, + "checkpoint_uri": { + "type": "string", + "title": "The latest checkpoint location" + }, + "dynamic_workflow": { + "$ref": "#/definitions/flyteidleventDynamicWorkflowNodeMetadata", + "description": "In the case this task launched a dynamic workflow we capture its structure here." + } + } + }, + "flyteidleventWorkflowNodeMetadata": { + "type": "object", + "properties": { + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "title": "For Workflow Nodes we need to send information about the workflow that's launched" + }, + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + }, + "serviceAdminServiceCreateTaskBody": { + "type": "object", + "properties": { + "id": { + "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." + } + }, + "title": "id represents the unique identifier of the task.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminTaskSpec", + "title": "Represents the specification for task.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task` for more details" + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/agent.pb.gw.go b/flyteidl/gen/pb-go/gateway/flyteidl/service/agent.pb.gw.go new file mode 100644 index 0000000000..a5fec7e0f7 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/agent.pb.gw.go @@ -0,0 +1,260 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/service/agent.proto + +/* +Package service is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package service + +import ( + "context" + "io" + "net/http" + + extAdmin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + extService "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_AgentMetadataService_GetAgent_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AgentMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetAgentRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.GetAgent(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AgentMetadataService_GetAgent_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AgentMetadataServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.GetAgentRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.GetAgent(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AgentMetadataService_ListAgents_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AgentMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ListAgentsRequest + var metadata runtime.ServerMetadata + + msg, err := client.ListAgents(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AgentMetadataService_ListAgents_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AgentMetadataServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.ListAgentsRequest + var metadata runtime.ServerMetadata + + msg, err := server.ListAgents(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterAgentMetadataServiceHandlerServer registers the http handlers for service AgentMetadataService to "mux". +// UnaryRPC :call AgentMetadataServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAgentMetadataServiceHandlerFromEndpoint instead. +func RegisterAgentMetadataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.AgentMetadataServiceServer) error { + + mux.Handle("GET", pattern_AgentMetadataService_GetAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AgentMetadataService/GetAgent", runtime.WithHTTPPathPattern("/api/v1/agent/{name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AgentMetadataService_GetAgent_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AgentMetadataService_GetAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AgentMetadataService_ListAgents_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AgentMetadataService/ListAgents", runtime.WithHTTPPathPattern("/api/v1/agents")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AgentMetadataService_ListAgents_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AgentMetadataService_ListAgents_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterAgentMetadataServiceHandlerFromEndpoint is same as RegisterAgentMetadataServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterAgentMetadataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, 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 RegisterAgentMetadataServiceHandler(ctx, mux, conn) +} + +// RegisterAgentMetadataServiceHandler registers the http handlers for service AgentMetadataService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterAgentMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterAgentMetadataServiceHandlerClient(ctx, mux, extService.NewAgentMetadataServiceClient(conn)) +} + +// RegisterAgentMetadataServiceHandlerClient registers the http handlers for service AgentMetadataService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.AgentMetadataServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.AgentMetadataServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "extService.AgentMetadataServiceClient" to call the correct interceptors. +func RegisterAgentMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.AgentMetadataServiceClient) error { + + mux.Handle("GET", pattern_AgentMetadataService_GetAgent_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AgentMetadataService/GetAgent", runtime.WithHTTPPathPattern("/api/v1/agent/{name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AgentMetadataService_GetAgent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AgentMetadataService_GetAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AgentMetadataService_ListAgents_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AgentMetadataService/ListAgents", runtime.WithHTTPPathPattern("/api/v1/agents")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AgentMetadataService_ListAgents_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AgentMetadataService_ListAgents_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_AgentMetadataService_GetAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "agent", "name"}, "")) + + pattern_AgentMetadataService_ListAgents_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "agents"}, "")) +) + +var ( + forward_AgentMetadataService_GetAgent_0 = runtime.ForwardResponseMessage + + forward_AgentMetadataService_ListAgents_0 = runtime.ForwardResponseMessage +) diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/agent.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/agent.swagger.json new file mode 100644 index 0000000000..1a17685ff6 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/agent.swagger.json @@ -0,0 +1,1621 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/agent.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "AsyncAgentService" + }, + { + "name": "AgentMetadataService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/api/v1/agent/{name}": { + "get": { + "summary": "Fetch a :ref:`ref_flyteidl.admin.Agent` definition.", + "operationId": "AgentMetadataService_GetAgent", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminGetAgentResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "name", + "description": "The name of the agent.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "AgentMetadataService" + ] + } + }, + "/api/v1/agents": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Agent` definitions.", + "operationId": "AgentMetadataService_ListAgents", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminListAgentsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "tags": [ + "AgentMetadataService" + ] + } + } + }, + "definitions": { + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "ContainerArchitecture": { + "type": "string", + "enum": [ + "UNKNOWN", + "AMD64", + "ARM64", + "ARM_V6", + "ARM_V7" + ], + "default": "UNKNOWN", + "description": "Architecture-type the container image supports." + }, + "DataLoadingConfigLiteralMapFormat": { + "type": "string", + "enum": [ + "JSON", + "YAML", + "PROTO" + ], + "default": "JSON", + "description": "- JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core", + "title": "LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers.\nIf the user has access to the protocol buffer definitions, it is recommended to use the PROTO format.\nJSON and YAML do not need any protobuf definitions to read it\nAll remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)" + }, + "IOStrategyDownloadMode": { + "type": "string", + "enum": [ + "DOWNLOAD_EAGER", + "DOWNLOAD_STREAM", + "DO_NOT_DOWNLOAD" + ], + "default": "DOWNLOAD_EAGER", + "description": "- DOWNLOAD_EAGER: All data will be downloaded before the main container is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded", + "title": "Mode to use for downloading" + }, + "IOStrategyUploadMode": { + "type": "string", + "enum": [ + "UPLOAD_ON_EXIT", + "UPLOAD_EAGER", + "DO_NOT_UPLOAD" + ], + "default": "UPLOAD_ON_EXIT", + "description": "- UPLOAD_ON_EXIT: All data will be uploaded after the main container exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written", + "title": "Mode to use for uploading" + }, + "ResourcesResourceEntry": { + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourcesResourceName", + "description": "Resource name." + }, + "value": { + "type": "string", + "title": "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" + } + }, + "description": "Encapsulates a resource name and value." + }, + "ResourcesResourceName": { + "type": "string", + "enum": [ + "UNKNOWN", + "CPU", + "GPU", + "MEMORY", + "STORAGE", + "EPHEMERAL_STORAGE" + ], + "default": "UNKNOWN", + "description": "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." + }, + "RuntimeMetadataRuntimeType": { + "type": "string", + "enum": [ + "OTHER", + "FLYTE_SDK" + ], + "default": "OTHER" + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "SecretMountType": { + "type": "string", + "enum": [ + "ANY", + "ENV_VAR", + "FILE" + ], + "default": "ANY", + "description": " - ANY: Default case, indicates the client can tolerate either mounting options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable.\n - FILE: FILE indicates the secret needs to be mounted as a file." + }, + "SqlDialect": { + "type": "string", + "enum": [ + "UNDEFINED", + "ANSI", + "HIVE", + "OTHER" + ], + "default": "UNDEFINED", + "description": "The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid\nexpensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement.\nWe support the following dialect: ansi, hive." + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "TaskLogMessageFormat": { + "type": "string", + "enum": [ + "UNKNOWN", + "CSV", + "JSON" + ], + "default": "UNKNOWN" + }, + "adminAgent": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name is the developer-assigned name of the agent." + }, + "supported_task_types": { + "type": "array", + "items": { + "type": "string" + }, + "description": "SupportedTaskTypes are the types of the tasks that the agent can handle." + } + }, + "description": "A message containing the agent metadata." + }, + "adminCreateTaskResponse": { + "type": "object", + "properties": { + "resource_meta": { + "type": "string", + "format": "byte" + }, + "resource": { + "$ref": "#/definitions/adminResource" + } + }, + "description": "Represents a create response structure." + }, + "adminDeleteTaskResponse": { + "type": "object", + "description": "Response to delete a task." + }, + "adminGetAgentResponse": { + "type": "object", + "properties": { + "agent": { + "$ref": "#/definitions/adminAgent" + } + }, + "description": "A response containing an agent." + }, + "adminGetTaskLogsResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The execution log results." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "description": "A response containing the logs for a task execution." + }, + "adminGetTaskMetricsResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreExecutionMetricResult" + }, + "description": "The execution metric results." + } + }, + "description": "A response containing a list of metrics for a task execution." + }, + "adminGetTaskResponse": { + "type": "object", + "properties": { + "resource": { + "$ref": "#/definitions/adminResource" + }, + "log_links": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "title": "log information for the task execution" + } + }, + "description": "Response to get an individual task resource." + }, + "adminListAgentsResponse": { + "type": "object", + "properties": { + "agents": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminAgent" + } + } + }, + "description": "A response containing a list of agents." + }, + "adminResource": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/flyteidladminState", + "description": "DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI." + }, + "outputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "The outputs of the execution. It's typically used by sql task. Agent service will create a\nStructured dataset pointing to the query result table.\n+optional" + }, + "message": { + "type": "string", + "description": "A descriptive message for the current state. e.g. waiting for cluster." + }, + "log_links": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreTaskLog" + }, + "description": "log information for the task execution." + }, + "phase": { + "$ref": "#/definitions/coreTaskExecutionPhase", + "description": "The phase of the execution is used to determine the phase of the plugin's execution." + } + } + }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string" + }, + "bind_to_time_partition": { + "type": "boolean" + }, + "transform": { + "type": "string", + "title": "This is only relevant in the time partition case" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions", + "description": "Think of a partition as a tag on an Artifact, except it's a key-value pair.\nDifferent partitions naturally have different versions (execution ids)." + }, + "time_partition": { + "$ref": "#/definitions/coreTimePartition", + "description": "There is no such thing as an empty time partition - if it's not set, then there is no time partition." + } + } + }, + "coreArtifactKey": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Project and domain and suffix needs to be unique across a given artifact store." + }, + "domain": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "coreArtifactTag": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreContainer": { + "type": "object", + "properties": { + "image": { + "type": "string", + "title": "Container image url. Eg: docker/redis:latest" + }, + "command": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Command to be executed, if not provided, the default entrypoint in the container image will be used." + }, + "args": { + "type": "array", + "items": { + "type": "string" + }, + "description": "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still\nneeds flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the\nsystem will populate these before executing the container." + }, + "resources": { + "$ref": "#/definitions/coreResources", + "description": "Container resources requirement as specified by the container engine." + }, + "env": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Environment variables will be set as the container is starting up." + }, + "config": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" + }, + "description": "Allows extra configs to be available for the container.\nTODO: elaborate on how configs will become available.\nDeprecated, please use TaskTemplate.config instead." + }, + "ports": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreContainerPort" + }, + "title": "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\nOnly K8s" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + }, + "architecture": { + "$ref": "#/definitions/ContainerArchitecture" + } + } + }, + "coreContainerPort": { + "type": "object", + "properties": { + "container_port": { + "type": "integer", + "format": "int64", + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536." + } + }, + "description": "Defines port properties for a container." + }, + "coreDataLoadingConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "title": "Flag enables DataLoading Config. If this is not set, data loading will not be used!" + }, + "input_path": { + "type": "string", + "title": "File system path (start at root). This folder will contain all the inputs exploded to a separate file.\nExample, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like\n/var/flyte/inputs/inputs.\u003cmetadata format dependent -\u003e .pb .json .yaml\u003e -\u003e Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations\n/var/flyte/inputs/x -\u003e X is a file that contains the value of x (integer) in string format\n/var/flyte/inputs/y -\u003e Y is a file in Binary format\n/var/flyte/inputs/z/... -\u003e Note Z itself is a directory\nMore information about the protocol - refer to docs #TODO reference docs here" + }, + "output_path": { + "type": "string", + "title": "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" + }, + "format": { + "$ref": "#/definitions/DataLoadingConfigLiteralMapFormat", + "title": "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.\nThis format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" + }, + "io_strategy": { + "$ref": "#/definitions/coreIOStrategy" + } + }, + "description": "This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path\nAny outputs generated by the user container - within output_path are automatically uploaded." + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreExecutionMetricResult": { + "type": "object", + "properties": { + "metric": { + "type": "string", + "description": "The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG." + }, + "data": { + "type": "object", + "title": "The result data in prometheus range query result format\nhttps://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.\nThis may include multiple time series, differentiated by their metric labels.\nStart time is greater of (execution attempt start, 48h ago)\nEnd time is lesser of (execution attempt end, now)" + } + }, + "description": "ExecutionMetrics is a collection of metrics that are collected during the execution of a Flyte task." + }, + "coreExtendedResources": { + "type": "object", + "properties": { + "gpu_accelerator": { + "$ref": "#/definitions/coreGPUAccelerator", + "description": "GPU accelerator to select for task. Contains information about device type, and\nfor multi-instance GPUs, the partition size to use." + } + }, + "description": "Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to\nallocate to a task." + }, + "coreGPUAccelerator": { + "type": "object", + "properties": { + "device": { + "type": "string", + "description": "This can be any arbitrary string, and should be informed by the labels or taints\nassociated with the nodes in question. Default cloud provider labels typically\nuse the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc." + }, + "unpartitioned": { + "type": "boolean" + }, + "partition_size": { + "type": "string", + "description": "Like `device`, this can be any arbitrary string, and should be informed by\nthe labels or taints associated with the nodes in question. Default cloud\nprovider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc." + } + }, + "description": "Metadata associated with the GPU accelerator to allocate to a task. Contains\ninformation about device type, and for multi-instance GPUs, the partition size to\nuse." + }, + "coreIOStrategy": { + "type": "object", + "properties": { + "download_mode": { + "$ref": "#/definitions/IOStrategyDownloadMode", + "title": "Mode to use to manage downloads" + }, + "upload_mode": { + "$ref": "#/definitions/IOStrategyUploadMode", + "title": "Mode to use to manage uploads" + } + }, + "title": "Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)" + }, + "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." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "coreIdentity": { + "type": "object", + "properties": { + "iam_role": { + "type": "string", + "description": "iam_role references the fully qualified name of Identity \u0026 Access Management role to impersonate." + }, + "k8s_service_account": { + "type": "string", + "description": "k8s_service_account references a kubernetes service account to impersonate." + }, + "oauth2_client": { + "$ref": "#/definitions/coreOAuth2Client", + "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." + }, + "execution_identity": { + "type": "string", + "title": "execution_identity references the subject who makes the execution" + } + }, + "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." + }, + "coreInputBindingData": { + "type": "object", + "properties": { + "var": { + "type": "string" + } + } + }, + "coreK8sObjectMetadata": { + "type": "object", + "properties": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional labels to add to the pod definition." + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional annotations to add to the pod definition." + } + }, + "description": "Metadata for building a kubernetes object when a task is executed." + }, + "coreK8sPod": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreK8sObjectMetadata", + "description": "Contains additional metadata for building a kubernetes pod." + }, + "pod_spec": { + "type": "object", + "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + } + }, + "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." + }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string", + "title": "The string static value is for use in the Partitions object" + }, + "time_value": { + "type": "string", + "format": "date-time", + "title": "The time value is for use in the TimePartition case" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/flyteidlcoreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "type": "object", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, + "coreNodeExecutionIdentifier": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "description": "Encapsulation of fields that identify a Flyte node execution entity." + }, + "coreOAuth2Client": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the\nsecret requested matches the client_id indicated here.\n+required" + }, + "client_secret": { + "$ref": "#/definitions/coreSecret", + "title": "client_secret is a reference to the secret used to authenticate the OAuth2 client.\n+required" + } + }, + "description": "OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task." + }, + "coreOAuth2TokenRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for\nenvironment variables and as a filename for mounting tokens as files.\n+required" + }, + "type": { + "$ref": "#/definitions/coreOAuth2TokenRequestType", + "title": "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n+required" + }, + "client": { + "$ref": "#/definitions/coreOAuth2Client", + "title": "client references the client_id/secret to use to request the OAuth2 token.\n+required" + }, + "idp_discovery_endpoint": { + "type": "string", + "title": "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related\ninformation.\n+optional" + }, + "token_endpoint": { + "type": "string", + "title": "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is\nmandatory.\n+optional" + } + }, + "description": "OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\ntokens are passed through environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens\nare passed through file mounts." + }, + "coreOAuth2TokenRequestType": { + "type": "string", + "enum": [ + "CLIENT_CREDENTIALS" + ], + "default": "CLIENT_CREDENTIALS", + "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." + }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "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" + }, + "coreResources": { + "type": "object", + "properties": { + "requests": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "The desired set of resources requested. ResourceNames must be unique within the list." + }, + "limits": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique\nwithin the list." + } + }, + "description": "A customizable interface to convey resources requested for a container. This can be interpreted differently for different\ncontainer engines." + }, + "coreRetryStrategy": { + "type": "object", + "properties": { + "retries": { + "type": "integer", + "format": "int64", + "description": "Number of retries. Retries will be consumed when the job fails with a recoverable error.\nThe number of retries must be less than or equals to 10." + } + }, + "description": "Retry strategy associated with an executable unit." + }, + "coreRuntimeMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/RuntimeMetadataRuntimeType", + "description": "Type of runtime." + }, + "version": { + "type": "string", + "description": "Version of the runtime. All versions should be backward compatible. However, certain cases call for version\nchecks to ensure tighter validation or setting expectations." + }, + "flavor": { + "type": "string", + "description": "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." + } + }, + "description": "Runtime information. This is loosely defined to allow for extensibility." + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/flyteidlcoreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "type": "object" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSecret": { + "type": "object", + "properties": { + "group": { + "type": "string", + "title": "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of\nthe v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.\nFor AWS Secret Manager, this should be the name of the secret.\n+required" + }, + "group_version": { + "type": "string", + "title": "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones\nthat do not support it.\n+optional" + }, + "key": { + "type": "string", + "title": "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation\nof the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should\nmatch one of the keys inside the secret. For AWS Secret Manager, it's ignored.\n+optional" + }, + "mount_requirement": { + "$ref": "#/definitions/SecretMountType", + "title": "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail\nif the underlying key management system cannot satisfy that requirement. If not provided, the default location\nwill depend on the key management system.\n+optional" + } + }, + "description": "Secret encapsulates information about the secret a task needs to proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\nsecrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets\nare passed through file mounts." + }, + "coreSecurityContext": { + "type": "object", + "properties": { + "run_as": { + "$ref": "#/definitions/coreIdentity", + "description": "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the\nbackend plugin to choose the appropriate identity for the execution engine the task will run on." + }, + "secrets": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreSecret" + }, + "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + }, + "tokens": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreOAuth2TokenRequest" + }, + "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + } + }, + "description": "SecurityContext holds security attributes that apply to tasks." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreSql": { + "type": "object", + "properties": { + "statement": { + "type": "string", + "title": "The actual query to run, the query can have templated parameters.\nWe use Flyte's Golang templating format for Query templating.\nRefer to the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\nFor example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" + }, + "dialect": { + "$ref": "#/definitions/SqlDialect" + } + }, + "description": "Sql represents a generic sql workload with a statement and dialect." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "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." + }, + "coreTaskExecutionPhase": { + "type": "string", + "enum": [ + "UNDEFINED", + "QUEUED", + "RUNNING", + "SUCCEEDED", + "ABORTED", + "FAILED", + "INITIALIZING", + "WAITING_FOR_RESOURCES" + ], + "default": "UNDEFINED", + "title": "- INITIALIZING: To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing\n - WAITING_FOR_RESOURCES: To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded" + }, + "coreTaskLog": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "name": { + "type": "string" + }, + "message_format": { + "$ref": "#/definitions/TaskLogMessageFormat" + }, + "ttl": { + "type": "string" + } + }, + "title": "Log information for the task that is specific to a log sink\nWhen our log story is flushed out, we may have more metadata here like log link expiry" + }, + "coreTaskMetadata": { + "type": "object", + "properties": { + "discoverable": { + "type": "boolean", + "description": "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." + }, + "runtime": { + "$ref": "#/definitions/coreRuntimeMetadata", + "description": "Runtime information about the task." + }, + "timeout": { + "type": "string", + "description": "The overall timeout of a task including user-triggered retries." + }, + "retries": { + "$ref": "#/definitions/coreRetryStrategy", + "description": "Number of retries per task." + }, + "discovery_version": { + "type": "string", + "description": "Indicates a logical version to apply to this task for the purpose of discovery." + }, + "deprecated_error_message": { + "type": "string", + "description": "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers\nof the ending of support for a given task." + }, + "interruptible": { + "type": "boolean" + }, + "cache_serializable": { + "type": "boolean", + "title": "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" + }, + "generates_deck": { + "type": "boolean", + "description": "Indicates whether the task will generate a Deck URI when it finishes executing." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" + }, + "pod_template_name": { + "type": "string", + "description": "pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this\ntask creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied\nidentically as, the default PodTemplate configured in FlytePropeller." + }, + "cache_ignore_input_vars": { + "type": "array", + "items": { + "type": "string" + }, + "description": "cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache." + } + }, + "title": "Task Metadata" + }, + "coreTaskTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Auto generated taskId by the system. Task Id uniquely identifies this task globally." + }, + "type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no\nextensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the\nimplementation registered for the TaskCategory." + }, + "metadata": { + "$ref": "#/definitions/coreTaskMetadata", + "description": "Extra metadata about the task." + }, + "interface": { + "$ref": "#/definitions/coreTypedInterface", + "description": "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees\ncompile-time validation of the workflow to avoid costly runtime failures." + }, + "custom": { + "type": "object", + "description": "Custom data about the task. This is extensible to allow various plugins in the system." + }, + "container": { + "$ref": "#/definitions/coreContainer" + }, + "k8s_pod": { + "$ref": "#/definitions/coreK8sPod" + }, + "sql": { + "$ref": "#/definitions/coreSql" + }, + "task_type_version": { + "type": "integer", + "format": "int32", + "description": "This can be used to customize task handling at execution time for the same task type." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "security_context encapsulates security attributes requested to run this task." + }, + "extended_resources": { + "$ref": "#/definitions/coreExtendedResources", + "description": "Encapsulates all non-standard resources, not captured by\nv1.ResourceRequirements, to allocate to a task." + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system\nto use as required.\nreserve the field numbers 1 through 15 for very frequently occurring message elements" + } + }, + "description": "A Task structure that uniquely identifies a task in the system\nTasks are registered as a first step in the system." + }, + "coreTimePartition": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLabelValue" + } + } + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + }, + "dataclass_type": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteralType" + }, + "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreTypedInterface": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/coreVariableMap" + }, + "outputs": { + "$ref": "#/definitions/coreVariableMap" + } + }, + "description": "Defines strongly typed inputs and outputs." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVariable": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Variable literal type." + }, + "description": { + "type": "string", + "title": "+optional string describing input variable" + }, + "artifact_partial_id": { + "$ref": "#/definitions/coreArtifactID", + "description": "+optional This object allows the user to specify how Artifacts are created.\nname, tag, partitions can be specified. The other fields (version and project/domain) are ignored." + }, + "artifact_tag": { + "$ref": "#/definitions/coreArtifactTag" + } + }, + "description": "Defines a strongly typed variable." + }, + "coreVariableMap": { + "type": "object", + "properties": { + "variables": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreVariable" + }, + "description": "Defines a map of variable names to variables." + } + }, + "title": "A map of Variables" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, + "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." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" + }, + "flyteidladminState": { + "type": "string", + "enum": [ + "RETRYABLE_FAILURE", + "PERMANENT_FAILURE", + "PENDING", + "RUNNING", + "SUCCEEDED" + ], + "default": "RETRYABLE_FAILURE", + "description": "The state of the execution is used to control its visibility in the UI/CLI." + }, + "flyteidladminTaskExecutionMetadata": { + "type": "object", + "properties": { + "task_execution_id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "title": "ID of the task execution" + }, + "namespace": { + "type": "string", + "title": "k8s namespace where the task is executed in" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Labels attached to the task execution" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Annotations attached to the task execution" + }, + "k8s_service_account": { + "type": "string", + "title": "k8s service account associated with the task execution" + }, + "environment_variables": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Environment variables attached to the task execution" + } + }, + "description": "Represents a subset of runtime task execution metadata that are relevant to external plugins." + }, + "flyteidlcoreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "flyteidlcoreKeyValuePair": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "required." + }, + "value": { + "type": "string", + "description": "+optional." + } + }, + "description": "A generic key value pair." + }, + "flyteidlcoreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/auth.pb.gw.go b/flyteidl/gen/pb-go/gateway/flyteidl/service/auth.pb.gw.go new file mode 100644 index 0000000000..9220cc3e68 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/auth.pb.gw.go @@ -0,0 +1,225 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/service/auth.proto + +/* +Package service is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package service + +import ( + "context" + "io" + "net/http" + + extService "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_AuthMetadataService_GetOAuth2Metadata_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AuthMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.OAuth2MetadataRequest + var metadata runtime.ServerMetadata + + msg, err := client.GetOAuth2Metadata(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AuthMetadataService_GetOAuth2Metadata_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AuthMetadataServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.OAuth2MetadataRequest + var metadata runtime.ServerMetadata + + msg, err := server.GetOAuth2Metadata(ctx, &protoReq) + return msg, metadata, err + +} + +func request_AuthMetadataService_GetPublicClientConfig_0(ctx context.Context, marshaler runtime.Marshaler, client extService.AuthMetadataServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.PublicClientAuthConfigRequest + var metadata runtime.ServerMetadata + + msg, err := client.GetPublicClientConfig(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AuthMetadataService_GetPublicClientConfig_0(ctx context.Context, marshaler runtime.Marshaler, server extService.AuthMetadataServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.PublicClientAuthConfigRequest + var metadata runtime.ServerMetadata + + msg, err := server.GetPublicClientConfig(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterAuthMetadataServiceHandlerServer registers the http handlers for service AuthMetadataService to "mux". +// UnaryRPC :call AuthMetadataServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthMetadataServiceHandlerFromEndpoint instead. +func RegisterAuthMetadataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.AuthMetadataServiceServer) error { + + mux.Handle("GET", pattern_AuthMetadataService_GetOAuth2Metadata_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AuthMetadataService/GetOAuth2Metadata", runtime.WithHTTPPathPattern("/.well-known/oauth-authorization-server")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthMetadataService_GetOAuth2Metadata_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthMetadataService_GetOAuth2Metadata_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthMetadataService_GetPublicClientConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.AuthMetadataService/GetPublicClientConfig", runtime.WithHTTPPathPattern("/config/v1/flyte_client")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AuthMetadataService_GetPublicClientConfig_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthMetadataService_GetPublicClientConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterAuthMetadataServiceHandlerFromEndpoint is same as RegisterAuthMetadataServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterAuthMetadataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, 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 RegisterAuthMetadataServiceHandler(ctx, mux, conn) +} + +// RegisterAuthMetadataServiceHandler registers the http handlers for service AuthMetadataService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterAuthMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterAuthMetadataServiceHandlerClient(ctx, mux, extService.NewAuthMetadataServiceClient(conn)) +} + +// RegisterAuthMetadataServiceHandlerClient registers the http handlers for service AuthMetadataService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.AuthMetadataServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.AuthMetadataServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "extService.AuthMetadataServiceClient" to call the correct interceptors. +func RegisterAuthMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.AuthMetadataServiceClient) error { + + mux.Handle("GET", pattern_AuthMetadataService_GetOAuth2Metadata_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AuthMetadataService/GetOAuth2Metadata", runtime.WithHTTPPathPattern("/.well-known/oauth-authorization-server")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AuthMetadataService_GetOAuth2Metadata_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthMetadataService_GetOAuth2Metadata_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_AuthMetadataService_GetPublicClientConfig_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.AuthMetadataService/GetPublicClientConfig", runtime.WithHTTPPathPattern("/config/v1/flyte_client")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AuthMetadataService_GetPublicClientConfig_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AuthMetadataService_GetPublicClientConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_AuthMetadataService_GetOAuth2Metadata_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{".well-known", "oauth-authorization-server"}, "")) + + pattern_AuthMetadataService_GetPublicClientConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"config", "v1", "flyte_client"}, "")) +) + +var ( + forward_AuthMetadataService_GetOAuth2Metadata_0 = runtime.ForwardResponseMessage + + forward_AuthMetadataService_GetPublicClientConfig_0 = runtime.ForwardResponseMessage +) diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/auth.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/auth.swagger.json new file mode 100644 index 0000000000..1114b7c73f --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/auth.swagger.json @@ -0,0 +1,194 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/auth.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "AuthMetadataService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/.well-known/oauth-authorization-server": { + "get": { + "summary": "Anonymously accessible. Retrieves local or external oauth authorization server metadata.", + "description": "Retrieves OAuth2 authorization server metadata. This endpoint is anonymously accessible.", + "operationId": "AuthMetadataService_GetOAuth2Metadata", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/serviceOAuth2MetadataResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "tags": [ + "AuthMetadataService" + ] + } + }, + "/config/v1/flyte_client": { + "get": { + "summary": "Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization\nrequests.", + "description": "Retrieves public flyte client info. This endpoint is anonymously accessible.", + "operationId": "AuthMetadataService_GetPublicClientConfig", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/servicePublicClientAuthConfigResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "tags": [ + "AuthMetadataService" + ] + } + } + }, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "serviceOAuth2MetadataResponse": { + "type": "object", + "properties": { + "issuer": { + "type": "string", + "description": "Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external\nissuer." + }, + "authorization_endpoint": { + "type": "string", + "description": "URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are\nsupported that use the authorization endpoint." + }, + "token_endpoint": { + "type": "string", + "description": "URL of the authorization server's token endpoint [RFC6749]." + }, + "response_types_supported": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array containing a list of the OAuth 2.0 response_type values that this authorization server supports." + }, + "scopes_supported": { + "type": "array", + "items": { + "type": "string" + }, + "description": "JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports." + }, + "token_endpoint_auth_methods_supported": { + "type": "array", + "items": { + "type": "string" + }, + "description": "JSON array containing a list of client authentication methods supported by this token endpoint." + }, + "jwks_uri": { + "type": "string", + "description": "URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the\nclient uses to validate signatures from the authorization server." + }, + "code_challenge_methods_supported": { + "type": "array", + "items": { + "type": "string" + }, + "description": "JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by\nthis authorization server." + }, + "grant_types_supported": { + "type": "array", + "items": { + "type": "string" + }, + "description": "JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports." + }, + "device_authorization_endpoint": { + "type": "string", + "title": "URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]" + } + }, + "title": "OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata\nas defined in https://tools.ietf.org/html/rfc8414" + }, + "servicePublicClientAuthConfigResponse": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "client_id to use when initiating OAuth2 authorization requests." + }, + "redirect_uri": { + "type": "string", + "description": "redirect uri to use when initiating OAuth2 authorization requests." + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "scopes to request when initiating OAuth2 authorization requests." + }, + "authorization_metadata_key": { + "type": "string", + "description": "Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the\ndefault http `Authorization` header." + }, + "service_http_endpoint": { + "type": "string", + "description": "ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used\nto configure the gRPC connection can be used for the http one respecting the insecure flag to choose between\nSSL or no SSL connections." + }, + "audience": { + "type": "string", + "description": "audience to use when initiating OAuth2 authorization requests." + } + }, + "description": "FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users." + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/dataproxy.pb.gw.go b/flyteidl/gen/pb-go/gateway/flyteidl/service/dataproxy.pb.gw.go new file mode 100644 index 0000000000..37c447ad9a --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/dataproxy.pb.gw.go @@ -0,0 +1,431 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/service/dataproxy.proto + +/* +Package service is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package service + +import ( + "context" + "io" + "net/http" + + extService "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_DataProxyService_CreateUploadLocation_0(ctx context.Context, marshaler runtime.Marshaler, client extService.DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.CreateUploadLocationRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateUploadLocation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_DataProxyService_CreateUploadLocation_0(ctx context.Context, marshaler runtime.Marshaler, server extService.DataProxyServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.CreateUploadLocationRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateUploadLocation(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_DataProxyService_CreateDownloadLocation_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_DataProxyService_CreateDownloadLocation_0(ctx context.Context, marshaler runtime.Marshaler, client extService.DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.CreateDownloadLocationRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DataProxyService_CreateDownloadLocation_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateDownloadLocation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_DataProxyService_CreateDownloadLocation_0(ctx context.Context, marshaler runtime.Marshaler, server extService.DataProxyServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.CreateDownloadLocationRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DataProxyService_CreateDownloadLocation_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateDownloadLocation(ctx, &protoReq) + return msg, metadata, err + +} + +func request_DataProxyService_CreateDownloadLink_0(ctx context.Context, marshaler runtime.Marshaler, client extService.DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.CreateDownloadLinkRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateDownloadLink(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_DataProxyService_CreateDownloadLink_0(ctx context.Context, marshaler runtime.Marshaler, server extService.DataProxyServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.CreateDownloadLinkRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateDownloadLink(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_DataProxyService_GetData_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_DataProxyService_GetData_0(ctx context.Context, marshaler runtime.Marshaler, client extService.DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.GetDataRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DataProxyService_GetData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_DataProxyService_GetData_0(ctx context.Context, marshaler runtime.Marshaler, server extService.DataProxyServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.GetDataRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DataProxyService_GetData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetData(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterDataProxyServiceHandlerServer registers the http handlers for service DataProxyService to "mux". +// UnaryRPC :call DataProxyServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDataProxyServiceHandlerFromEndpoint instead. +func RegisterDataProxyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.DataProxyServiceServer) error { + + mux.Handle("POST", pattern_DataProxyService_CreateUploadLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.DataProxyService/CreateUploadLocation", runtime.WithHTTPPathPattern("/api/v1/dataproxy/artifact_urn")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_DataProxyService_CreateUploadLocation_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_CreateUploadLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_DataProxyService_CreateDownloadLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.DataProxyService/CreateDownloadLocation", runtime.WithHTTPPathPattern("/api/v1/dataproxy/artifact_urn")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_DataProxyService_CreateDownloadLocation_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_CreateDownloadLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_DataProxyService_CreateDownloadLink_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.DataProxyService/CreateDownloadLink", runtime.WithHTTPPathPattern("/api/v1/dataproxy/artifact_link")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_DataProxyService_CreateDownloadLink_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_CreateDownloadLink_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_DataProxyService_GetData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.DataProxyService/GetData", runtime.WithHTTPPathPattern("/api/v1/data")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_DataProxyService_GetData_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_GetData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterDataProxyServiceHandlerFromEndpoint is same as RegisterDataProxyServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterDataProxyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, 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 RegisterDataProxyServiceHandler(ctx, mux, conn) +} + +// RegisterDataProxyServiceHandler registers the http handlers for service DataProxyService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterDataProxyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterDataProxyServiceHandlerClient(ctx, mux, extService.NewDataProxyServiceClient(conn)) +} + +// RegisterDataProxyServiceHandlerClient registers the http handlers for service DataProxyService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.DataProxyServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.DataProxyServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "extService.DataProxyServiceClient" to call the correct interceptors. +func RegisterDataProxyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.DataProxyServiceClient) error { + + mux.Handle("POST", pattern_DataProxyService_CreateUploadLocation_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.DataProxyService/CreateUploadLocation", runtime.WithHTTPPathPattern("/api/v1/dataproxy/artifact_urn")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_DataProxyService_CreateUploadLocation_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_CreateUploadLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_DataProxyService_CreateDownloadLocation_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.DataProxyService/CreateDownloadLocation", runtime.WithHTTPPathPattern("/api/v1/dataproxy/artifact_urn")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_DataProxyService_CreateDownloadLocation_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_CreateDownloadLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_DataProxyService_CreateDownloadLink_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.DataProxyService/CreateDownloadLink", runtime.WithHTTPPathPattern("/api/v1/dataproxy/artifact_link")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_DataProxyService_CreateDownloadLink_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_CreateDownloadLink_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_DataProxyService_GetData_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.DataProxyService/GetData", runtime.WithHTTPPathPattern("/api/v1/data")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_DataProxyService_GetData_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_GetData_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_DataProxyService_CreateUploadLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_urn"}, "")) + + pattern_DataProxyService_CreateDownloadLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_urn"}, "")) + + pattern_DataProxyService_CreateDownloadLink_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_link"}, "")) + + pattern_DataProxyService_GetData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "data"}, "")) +) + +var ( + forward_DataProxyService_CreateUploadLocation_0 = runtime.ForwardResponseMessage + + forward_DataProxyService_CreateDownloadLocation_0 = runtime.ForwardResponseMessage + + forward_DataProxyService_CreateDownloadLink_0 = runtime.ForwardResponseMessage + + forward_DataProxyService_GetData_0 = runtime.ForwardResponseMessage +) diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/dataproxy.swagger.json similarity index 80% rename from flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json rename to flyteidl/gen/pb-go/gateway/flyteidl/service/dataproxy.swagger.json index 939f94f862..e23e22df70 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/dataproxy.swagger.json @@ -4,9 +4,10 @@ "title": "flyteidl/service/dataproxy.proto", "version": "version not set" }, - "schemes": [ - "http", - "https" + "tags": [ + { + "name": "DataProxyService" + } ], "consumes": [ "application/json" @@ -17,19 +18,25 @@ "paths": { "/api/v1/data": { "get": { - "operationId": "GetData", + "operationId": "DataProxyService_GetData", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/serviceGetDataResponse" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } } }, "parameters": [ { "name": "flyte_url", - "description": "A unique identifier in the form of flyte://\u003csomething\u003e that uniquely, for a given Flyte\nbackend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).\ne.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)\n flyte://v1/proj/development/execid/n2/i (for node execution input)\n flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node).", + "description": "A unique identifier in the form of flyte://\u003csomething\u003e that uniquely, for a given Flyte\nbackend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).\ne.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)\n flyte://v1/proj/development/execid/n2/i (for node execution input)\n flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)", "in": "query", "required": false, "type": "string" @@ -43,13 +50,20 @@ "/api/v1/dataproxy/artifact_link": { "post": { "summary": "CreateDownloadLocation creates a signed url to download artifacts.", - "operationId": "CreateDownloadLink", + "description": "Creates a read-only http location that is accessible for tasks at runtime.", + "operationId": "DataProxyService_CreateDownloadLink", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/serviceCreateDownloadLinkResponse" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } } }, "parameters": [ @@ -70,19 +84,26 @@ "/api/v1/dataproxy/artifact_urn": { "get": { "summary": "CreateDownloadLocation creates a signed url to download artifacts.", - "operationId": "CreateDownloadLocation", + "description": "Deprecated: Please use CreateDownloadLink instead. Creates a read-only http location that is accessible for tasks at runtime.", + "operationId": "DataProxyService_CreateDownloadLocation", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/serviceCreateDownloadLocationResponse" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } } }, "parameters": [ { "name": "native_url", - "description": "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar).", + "description": "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)", "in": "query", "required": false, "type": "string" @@ -101,18 +122,26 @@ }, "post": { "summary": "CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain.", - "operationId": "CreateUploadLocation", + "description": "Creates a write-only http location that is accessible for tasks at runtime.", + "operationId": "DataProxyService_CreateUploadLocation", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/serviceCreateUploadLocationResponse" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } } }, "parameters": [ { "name": "body", + "description": "CreateUploadLocationRequest specified request for the CreateUploadLocation API.\nThe implementation in data proxy service will create the s3 location with some server side configured prefixes,\nand then:\n - project/domain/(a deterministic str representation of the content_md5)/filename (if present); OR\n - project/domain/filename_root (if present)/filename (if present).", "in": "body", "required": true, "schema": { @@ -219,19 +248,6 @@ }, "title": "Defines type behavior for blob objects" }, - "coreEnumType": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Predefined set of enum values." - } - }, - "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." - }, "coreError": { "type": "object", "properties": { @@ -281,6 +297,7 @@ "literals": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/coreLiteral" } } @@ -323,7 +340,7 @@ "description": "A blob might have specialized implementation details depending on associated metadata." }, "enum_type": { - "$ref": "#/definitions/coreEnumType", + "$ref": "#/definitions/flyteidlcoreEnumType", "description": "Defines an enum with pre-defined string values." }, "structured_dataset_type": { @@ -335,7 +352,7 @@ "description": "Defines an union type with pre-defined LiteralTypes." }, "metadata": { - "$ref": "#/definitions/protobufStruct", + "type": "object", "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." }, "annotation": { @@ -376,8 +393,7 @@ "type": "string" }, "boolean": { - "type": "boolean", - "format": "boolean" + "type": "boolean" }, "datetime": { "type": "string", @@ -402,7 +418,7 @@ "$ref": "#/definitions/coreBinary" }, "schema": { - "$ref": "#/definitions/coreSchema" + "$ref": "#/definitions/flyteidlcoreSchema" }, "none_type": { "$ref": "#/definitions/coreVoid" @@ -411,7 +427,7 @@ "$ref": "#/definitions/coreError" }, "generic": { - "$ref": "#/definitions/protobufStruct" + "type": "object" }, "structured_dataset": { "$ref": "#/definitions/coreStructuredDataset" @@ -421,24 +437,13 @@ } } }, - "coreSchema": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/coreSchemaType" - } - }, - "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." - }, "coreSchemaType": { "type": "object", "properties": { "columns": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/SchemaTypeSchemaColumn" }, "description": "A list of ordered columns this schema comprises of." @@ -490,6 +495,7 @@ "columns": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" }, "description": "A list of ordered columns this schema comprises of." @@ -513,7 +519,7 @@ "type": "object", "properties": { "annotations": { - "$ref": "#/definitions/protobufStruct", + "type": "object", "description": "A arbitrary JSON payload to describe a type." } }, @@ -554,6 +560,7 @@ "variants": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/coreLiteralType" }, "description": "Predefined set of variants in union." @@ -587,71 +594,68 @@ }, "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" }, - "protobufListValue": { + "flyteidlcoreEnumType": { "type": "object", "properties": { "values": { "type": "array", "items": { - "$ref": "#/definitions/protobufValue" + "type": "string" }, - "description": "Repeated field of dynamically typed values." + "description": "Predefined set of enum values." } }, - "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." - }, - "protobufNullValue": { - "type": "string", - "enum": [ - "NULL_VALUE" - ], - "default": "NULL_VALUE", - "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." }, - "protobufStruct": { + "flyteidlcoreSchema": { "type": "object", "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Unordered map of dynamically typed values." + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" } }, - "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." }, - "protobufValue": { + "googlerpcStatus": { "type": "object", "properties": { - "null_value": { - "$ref": "#/definitions/protobufNullValue", - "description": "Represents a null value." + "code": { + "type": "integer", + "format": "int32" }, - "number_value": { - "type": "number", - "format": "double", - "description": "Represents a double value." + "message": { + "type": "string" }, - "string_value": { + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { "type": "string", - "description": "Represents a string value." - }, - "bool_value": { - "type": "boolean", - "format": "boolean", - "description": "Represents a boolean value." - }, - "struct_value": { - "$ref": "#/definitions/protobufStruct", - "description": "Represents a structured value." - }, - "list_value": { - "$ref": "#/definitions/protobufListValue", - "description": "Represents a repeated `Value`." + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, - "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." }, "serviceArtifactType": { "type": "string", diff --git a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/external_plugin_service.swagger.json similarity index 90% rename from flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json rename to flyteidl/gen/pb-go/gateway/flyteidl/service/external_plugin_service.swagger.json index c83aad0fa0..a7e7dcf7fd 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/external_plugin_service.swagger.json @@ -4,9 +4,10 @@ "title": "flyteidl/service/external_plugin_service.proto", "version": "version not set" }, - "schemes": [ - "http", - "https" + "tags": [ + { + "name": "ExternalPluginService" + } ], "consumes": [ "application/json" @@ -174,8 +175,7 @@ "type": "string" }, "bind_to_time_partition": { - "type": "boolean", - "format": "boolean" + "type": "boolean" }, "transform": { "type": "string", @@ -303,20 +303,23 @@ "env": { "type": "array", "items": { - "$ref": "#/definitions/coreKeyValuePair" + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" }, "description": "Environment variables will be set as the container is starting up." }, "config": { "type": "array", "items": { - "$ref": "#/definitions/coreKeyValuePair" + "type": "object", + "$ref": "#/definitions/flyteidlcoreKeyValuePair" }, "description": "Allows extra configs to be available for the container.\nTODO: elaborate on how configs will become available.\nDeprecated, please use TaskTemplate.config instead." }, "ports": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/coreContainerPort" }, "title": "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\nOnly K8s" @@ -346,7 +349,6 @@ "properties": { "enabled": { "type": "boolean", - "format": "boolean", "title": "Flag enables DataLoading Config. If this is not set, data loading will not be used!" }, "input_path": { @@ -367,19 +369,6 @@ }, "description": "This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path\nAny outputs generated by the user container - within output_path are automatically uploaded." }, - "coreEnumType": { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Predefined set of enum values." - } - }, - "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." - }, "coreError": { "type": "object", "properties": { @@ -412,8 +401,7 @@ "description": "This can be any arbitrary string, and should be informed by the labels or taints\nassociated with the nodes in question. Default cloud provider labels typically\nuse the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc." }, "unpartitioned": { - "type": "boolean", - "format": "boolean" + "type": "boolean" }, "partition_size": { "type": "string", @@ -524,7 +512,7 @@ "description": "Contains additional metadata for building a kubernetes pod." }, "pod_spec": { - "$ref": "#/definitions/protobufStruct", + "type": "object", "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" }, "data_config": { @@ -534,20 +522,6 @@ }, "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." }, - "coreKeyValuePair": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "required." - }, - "value": { - "type": "string", - "description": "+optional." - } - }, - "description": "A generic key value pair." - }, "coreLabelValue": { "type": "object", "properties": { @@ -603,6 +577,7 @@ "literals": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/coreLiteral" } } @@ -645,7 +620,7 @@ "description": "A blob might have specialized implementation details depending on associated metadata." }, "enum_type": { - "$ref": "#/definitions/coreEnumType", + "$ref": "#/definitions/flyteidlcoreEnumType", "description": "Defines an enum with pre-defined string values." }, "structured_dataset_type": { @@ -657,7 +632,7 @@ "description": "Defines an union type with pre-defined LiteralTypes." }, "metadata": { - "$ref": "#/definitions/protobufStruct", + "type": "object", "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." }, "annotation": { @@ -745,8 +720,7 @@ "type": "string" }, "boolean": { - "type": "boolean", - "format": "boolean" + "type": "boolean" }, "datetime": { "type": "string", @@ -776,6 +750,7 @@ "requests": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/ResourcesResourceEntry" }, "description": "The desired set of resources requested. ResourceNames must be unique within the list." @@ -783,6 +758,7 @@ "limits": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/ResourcesResourceEntry" }, "description": "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique\nwithin the list." @@ -832,7 +808,7 @@ "$ref": "#/definitions/coreBinary" }, "schema": { - "$ref": "#/definitions/coreSchema" + "$ref": "#/definitions/flyteidlcoreSchema" }, "none_type": { "$ref": "#/definitions/coreVoid" @@ -841,7 +817,7 @@ "$ref": "#/definitions/coreError" }, "generic": { - "$ref": "#/definitions/protobufStruct" + "type": "object" }, "structured_dataset": { "$ref": "#/definitions/coreStructuredDataset" @@ -851,24 +827,13 @@ } } }, - "coreSchema": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/coreSchemaType" - } - }, - "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." - }, "coreSchemaType": { "type": "object", "properties": { "columns": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/SchemaTypeSchemaColumn" }, "description": "A list of ordered columns this schema comprises of." @@ -908,6 +873,7 @@ "secrets": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/coreSecret" }, "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." @@ -915,6 +881,7 @@ "tokens": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/coreOAuth2TokenRequest" }, "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." @@ -979,6 +946,7 @@ "columns": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" }, "description": "A list of ordered columns this schema comprises of." @@ -1003,7 +971,6 @@ "properties": { "discoverable": { "type": "boolean", - "format": "boolean", "description": "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." }, "runtime": { @@ -1027,17 +994,14 @@ "description": "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers\nof the ending of support for a given task." }, "interruptible": { - "type": "boolean", - "format": "boolean" + "type": "boolean" }, "cache_serializable": { "type": "boolean", - "format": "boolean", "title": "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" }, "generates_deck": { "type": "boolean", - "format": "boolean", "description": "Indicates whether the task will generate a Deck URI when it finishes executing." }, "tags": { @@ -1081,7 +1045,7 @@ "description": "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees\ncompile-time validation of the workflow to avoid costly runtime failures." }, "custom": { - "$ref": "#/definitions/protobufStruct", + "type": "object", "description": "Custom data about the task. This is extensible to allow various plugins in the system." }, "container": { @@ -1128,7 +1092,7 @@ "type": "object", "properties": { "annotations": { - "$ref": "#/definitions/protobufStruct", + "type": "object", "description": "A arbitrary JSON payload to describe a type." } }, @@ -1181,6 +1145,7 @@ "variants": { "type": "array", "items": { + "type": "object", "$ref": "#/definitions/coreLiteralType" }, "description": "Predefined set of variants in union." @@ -1226,6 +1191,45 @@ "type": "object", "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." }, + "flyteidlcoreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "flyteidlcoreKeyValuePair": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "required." + }, + "value": { + "type": "string", + "description": "+optional." + } + }, + "description": "A generic key value pair." + }, + "flyteidlcoreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, "flyteidlserviceState": { "type": "string", "enum": [ @@ -1247,18 +1251,35 @@ }, "description": "Represents a create response structure." }, - "protobufListValue": { + "googlerpcStatus": { "type": "object", "properties": { - "values": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { "type": "array", "items": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Repeated field of dynamically typed values." + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, - "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "protobufNullValue": { "type": "string", @@ -1266,52 +1287,7 @@ "NULL_VALUE" ], "default": "NULL_VALUE", - "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." - }, - "protobufStruct": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/protobufValue" - }, - "description": "Unordered map of dynamically typed values." - } - }, - "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." - }, - "protobufValue": { - "type": "object", - "properties": { - "null_value": { - "$ref": "#/definitions/protobufNullValue", - "description": "Represents a null value." - }, - "number_value": { - "type": "number", - "format": "double", - "description": "Represents a double value." - }, - "string_value": { - "type": "string", - "description": "Represents a string value." - }, - "bool_value": { - "type": "boolean", - "format": "boolean", - "description": "Represents a boolean value." - }, - "struct_value": { - "$ref": "#/definitions/protobufStruct", - "description": "Represents a structured value." - }, - "list_value": { - "$ref": "#/definitions/protobufListValue", - "description": "Represents a repeated `Value`." - } - }, - "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." }, "serviceTaskDeleteResponse": { "type": "object", diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/identity.pb.gw.go b/flyteidl/gen/pb-go/gateway/flyteidl/service/identity.pb.gw.go new file mode 100644 index 0000000000..ba78e8df84 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/identity.pb.gw.go @@ -0,0 +1,156 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/service/identity.proto + +/* +Package service is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package service + +import ( + "context" + "io" + "net/http" + + extService "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_IdentityService_UserInfo_0(ctx context.Context, marshaler runtime.Marshaler, client extService.IdentityServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.UserInfoRequest + var metadata runtime.ServerMetadata + + msg, err := client.UserInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_IdentityService_UserInfo_0(ctx context.Context, marshaler runtime.Marshaler, server extService.IdentityServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extService.UserInfoRequest + var metadata runtime.ServerMetadata + + msg, err := server.UserInfo(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterIdentityServiceHandlerServer registers the http handlers for service IdentityService to "mux". +// UnaryRPC :call IdentityServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIdentityServiceHandlerFromEndpoint instead. +func RegisterIdentityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.IdentityServiceServer) error { + + mux.Handle("GET", pattern_IdentityService_UserInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.IdentityService/UserInfo", runtime.WithHTTPPathPattern("/me")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_IdentityService_UserInfo_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_IdentityService_UserInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterIdentityServiceHandlerFromEndpoint is same as RegisterIdentityServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterIdentityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, 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 RegisterIdentityServiceHandler(ctx, mux, conn) +} + +// RegisterIdentityServiceHandler registers the http handlers for service IdentityService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterIdentityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterIdentityServiceHandlerClient(ctx, mux, extService.NewIdentityServiceClient(conn)) +} + +// RegisterIdentityServiceHandlerClient registers the http handlers for service IdentityService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.IdentityServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.IdentityServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "extService.IdentityServiceClient" to call the correct interceptors. +func RegisterIdentityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.IdentityServiceClient) error { + + mux.Handle("GET", pattern_IdentityService_UserInfo_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.IdentityService/UserInfo", runtime.WithHTTPPathPattern("/me")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_IdentityService_UserInfo_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_IdentityService_UserInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_IdentityService_UserInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0}, []string{"me"}, "")) +) + +var ( + forward_IdentityService_UserInfo_0 = runtime.ForwardResponseMessage +) diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/identity.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/identity.swagger.json new file mode 100644 index 0000000000..8293cb25af --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/identity.swagger.json @@ -0,0 +1,122 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/identity.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "IdentityService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/me": { + "get": { + "summary": "Retrieves user information about the currently logged in user.", + "description": "Retrieves authenticated identity info.", + "operationId": "IdentityService_UserInfo", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/serviceUserInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "tags": [ + "IdentityService" + ] + } + } + }, + "definitions": { + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + }, + "serviceUserInfoResponse": { + "type": "object", + "properties": { + "subject": { + "type": "string", + "description": "Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed\nby the Client." + }, + "name": { + "type": "string", + "title": "Full name" + }, + "preferred_username": { + "type": "string", + "title": "Shorthand name by which the End-User wishes to be referred to" + }, + "given_name": { + "type": "string", + "title": "Given name(s) or first name(s)" + }, + "family_name": { + "type": "string", + "title": "Surname(s) or last name(s)" + }, + "email": { + "type": "string", + "title": "Preferred e-mail address" + }, + "picture": { + "type": "string", + "title": "Profile picture URL" + }, + "additional_claims": { + "type": "object", + "title": "Additional claims" + } + }, + "description": "See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information." + } + } +} diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/signal.pb.gw.go b/flyteidl/gen/pb-go/gateway/flyteidl/service/signal.pb.gw.go new file mode 100644 index 0000000000..7913c742e7 --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/signal.pb.gw.go @@ -0,0 +1,634 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/service/signal.proto + +/* +Package service is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package service + +import ( + "context" + "io" + "net/http" + + extAdmin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + extService "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +var ( + filter_SignalService_ListSignals_0 = &utilities.DoubleArray{Encoding: map[string]int{"workflow_execution_id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 6, 7, 8, 9, 2, 0, 4, 0, 6, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 2, 6, 2, 8, 2, 10, 3, 4, 5}} +) + +func request_SignalService_ListSignals_0(ctx context.Context, marshaler runtime.Marshaler, client extService.SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalListRequest + 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_SignalService_ListSignals_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListSignals(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SignalService_ListSignals_0(ctx context.Context, marshaler runtime.Marshaler, server extService.SignalServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalListRequest + 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_SignalService_ListSignals_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListSignals(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_SignalService_ListSignals_1 = &utilities.DoubleArray{Encoding: map[string]int{"workflow_execution_id": 0, "org": 1, "project": 2, "domain": 3, "name": 4}, Base: []int{1, 8, 9, 10, 11, 12, 2, 0, 4, 0, 6, 0, 8, 0, 0, 0, 0, 0}, Check: []int{0, 1, 1, 1, 1, 1, 2, 7, 2, 9, 2, 11, 2, 13, 3, 4, 5, 6}} +) + +func request_SignalService_ListSignals_1(ctx context.Context, marshaler runtime.Marshaler, client extService.SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["workflow_execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.org", 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_SignalService_ListSignals_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListSignals(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SignalService_ListSignals_1(ctx context.Context, marshaler runtime.Marshaler, server extService.SignalServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalListRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["workflow_execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.org", 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_SignalService_ListSignals_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListSignals(ctx, &protoReq) + return msg, metadata, err + +} + +func request_SignalService_SetSignal_0(ctx context.Context, marshaler runtime.Marshaler, client extService.SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalSetRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SetSignal(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SignalService_SetSignal_0(ctx context.Context, marshaler runtime.Marshaler, server extService.SignalServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalSetRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SetSignal(ctx, &protoReq) + return msg, metadata, err + +} + +func request_SignalService_SetSignal_1(ctx context.Context, marshaler runtime.Marshaler, client extService.SignalServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalSetRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + msg, err := client.SetSignal(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SignalService_SetSignal_1(ctx context.Context, marshaler runtime.Marshaler, server extService.SignalServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq extAdmin.SignalSetRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.execution_id.org"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.execution_id.org") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.execution_id.org", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.execution_id.org", err) + } + + msg, err := server.SetSignal(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterSignalServiceHandlerServer registers the http handlers for service SignalService to "mux". +// UnaryRPC :call SignalServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSignalServiceHandlerFromEndpoint instead. +func RegisterSignalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extService.SignalServiceServer) error { + + mux.Handle("GET", pattern_SignalService_ListSignals_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.SignalService/ListSignals", runtime.WithHTTPPathPattern("/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SignalService_ListSignals_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_ListSignals_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_SignalService_ListSignals_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.SignalService/ListSignals", runtime.WithHTTPPathPattern("/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SignalService_ListSignals_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_ListSignals_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_SignalService_SetSignal_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.SignalService/SetSignal", runtime.WithHTTPPathPattern("/api/v1/signals")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SignalService_SetSignal_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_SetSignal_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_SignalService_SetSignal_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/flyteidl.service.SignalService/SetSignal", runtime.WithHTTPPathPattern("/api/v1/signals/org/{id.execution_id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SignalService_SetSignal_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_SetSignal_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterSignalServiceHandlerFromEndpoint is same as RegisterSignalServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterSignalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, 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 RegisterSignalServiceHandler(ctx, mux, conn) +} + +// RegisterSignalServiceHandler registers the http handlers for service SignalService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterSignalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterSignalServiceHandlerClient(ctx, mux, extService.NewSignalServiceClient(conn)) +} + +// RegisterSignalServiceHandlerClient registers the http handlers for service SignalService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extService.SignalServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extService.SignalServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "extService.SignalServiceClient" to call the correct interceptors. +func RegisterSignalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extService.SignalServiceClient) error { + + mux.Handle("GET", pattern_SignalService_ListSignals_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.SignalService/ListSignals", runtime.WithHTTPPathPattern("/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SignalService_ListSignals_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_ListSignals_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_SignalService_ListSignals_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.SignalService/ListSignals", runtime.WithHTTPPathPattern("/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SignalService_ListSignals_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_ListSignals_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_SignalService_SetSignal_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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.SignalService/SetSignal", runtime.WithHTTPPathPattern("/api/v1/signals")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SignalService_SetSignal_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_SetSignal_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_SignalService_SetSignal_1, 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) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/flyteidl.service.SignalService/SetSignal", runtime.WithHTTPPathPattern("/api/v1/signals/org/{id.execution_id.org}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SignalService_SetSignal_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SignalService_SetSignal_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_SignalService_ListSignals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "signals", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) + + pattern_SignalService_ListSignals_1 = 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}, []string{"api", "v1", "signals", "org", "workflow_execution_id.org", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) + + pattern_SignalService_SetSignal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "signals"}, "")) + + pattern_SignalService_SetSignal_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "signals", "org", "id.execution_id.org"}, "")) +) + +var ( + forward_SignalService_ListSignals_0 = runtime.ForwardResponseMessage + + forward_SignalService_ListSignals_1 = runtime.ForwardResponseMessage + + forward_SignalService_SetSignal_0 = runtime.ForwardResponseMessage + + forward_SignalService_SetSignal_1 = runtime.ForwardResponseMessage +) diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/signal.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/signal.swagger.json new file mode 100644 index 0000000000..4af1a6023c --- /dev/null +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/signal.swagger.json @@ -0,0 +1,923 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/signal.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "SignalService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/api/v1/signals": { + "post": { + "summary": "Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition", + "description": "Set a signal value.", + "operationId": "SignalService_SetSignal", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminSignalSetResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminSignalSetRequest" + } + } + ], + "tags": [ + "SignalService" + ] + } + }, + "/api/v1/signals/org/{id.execution_id.org}": { + "post": { + "summary": "Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition", + "description": "Set a signal value.", + "operationId": "SignalService_SetSignal2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminSignalSetResponse" + } + }, + "400": { + "description": "Returned for bad request that may have failed validation.", + "schema": {} + }, + "409": { + "description": "Returned for a request that references an identical entity that has already been registered.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "id.execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SignalServiceSetSignalBody" + } + } + ], + "tags": [ + "SignalService" + ] + } + }, + "/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions.", + "description": "Fetch existing signal definitions matching the input signal id filters.", + "operationId": "SignalService_ListSignals2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminSignalList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "parameters": [ + { + "name": "workflow_execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "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" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "SignalService" + ] + } + }, + "/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { + "get": { + "summary": "Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions.", + "description": "Fetch existing signal definitions matching the input signal id filters.", + "operationId": "SignalService_ListSignals", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminSignalList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + }, + "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" + }, + { + "name": "workflow_execution_id.org", + "description": "Optional, org key applied to the resource.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "description": "Indicates the number of resources to be returned.\n+required", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "token", + "description": "In the case of multiple pages of results, the, server-provided token can be used to fetch the next page\nin a query.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "filters", + "description": "Indicates a list of filters passed as string.\n+optional", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.key", + "description": "Indicates an attribute to sort the response values.\n+required", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "sort_by.direction", + "description": "Indicates the direction to apply sort key for response values.\n+optional\n\n - DESCENDING: By default, fields are sorted in descending order.", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING" + } + ], + "tags": [ + "SignalService" + ] + } + } + }, + "definitions": { + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "SignalServiceSetSignalBody": { + "type": "object", + "properties": { + "id": { + "type": "object", + "properties": { + "signal_id": { + "type": "string", + "description": "Unique identifier for a signal." + }, + "execution_id": { + "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." + } + }, + "description": "Identifies the Flyte workflow execution this signal belongs to.", + "title": "Identifies the Flyte workflow execution this signal belongs to." + } + }, + "description": "A unique identifier for the requested signal.", + "title": "A unique identifier for the requested signal." + }, + "value": { + "$ref": "#/definitions/coreLiteral", + "description": "The value of this signal, must match the defining signal type." + } + }, + "title": "SignalSetRequest represents a request structure to set the value on a signal. Setting a signal\neffetively satisfies the signal condition within a Flyte workflow.\nSee :ref:`ref_flyteidl.admin.Signal` for more details" + }, + "SortDirection": { + "type": "string", + "enum": [ + "DESCENDING", + "ASCENDING" + ], + "default": "DESCENDING", + "description": " - DESCENDING: By default, fields are sorted in descending order." + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "adminSignal": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreSignalIdentifier", + "description": "A unique identifier for the requested signal." + }, + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "A type denoting the required value type for this signal." + }, + "value": { + "$ref": "#/definitions/coreLiteral", + "description": "The value of the signal. This is only available if the signal has been \"set\" and must match\nthe defined the type." + } + }, + "description": "Signal encapsulates a unique identifier, associated metadata, and a value for a single Flyte\nsignal. Signals may exist either without a set value (representing a signal request) or with a\npopulated value (indicating the signal has been given)." + }, + "adminSignalList": { + "type": "object", + "properties": { + "signals": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/adminSignal" + }, + "description": "A list of signals matching the input filters." + }, + "token": { + "type": "string", + "description": "In the case of multiple pages of results, the server-provided token can be used to fetch the next page\nin a query. If there are no more results, this value will be empty." + } + }, + "title": "SignalList represents collection of signals along with the token of the last result.\nSee :ref:`ref_flyteidl.admin.Signal` for more details" + }, + "adminSignalSetRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreSignalIdentifier", + "description": "A unique identifier for the requested signal." + }, + "value": { + "$ref": "#/definitions/coreLiteral", + "description": "The value of this signal, must match the defining signal type." + } + }, + "title": "SignalSetRequest represents a request structure to set the value on a signal. Setting a signal\neffetively satisfies the signal condition within a Flyte workflow.\nSee :ref:`ref_flyteidl.admin.Signal` for more details" + }, + "adminSignalSetResponse": { + "type": "object", + "description": "SignalSetResponse represents a response structure if signal setting succeeds.\n\nPurposefully empty, may be populated in the future." + }, + "adminSort": { + "type": "object", + "properties": { + "key": { + "type": "string", + "title": "Indicates an attribute to sort the response values.\n+required" + }, + "direction": { + "$ref": "#/definitions/SortDirection", + "title": "Indicates the direction to apply sort key for response values.\n+optional" + } + }, + "description": "Specifies sort ordering in a list request." + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Additional metadata for literals." + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/flyteidlcoreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "type": "object", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/flyteidlcoreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "type": "object" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSignalIdentifier": { + "type": "object", + "properties": { + "signal_id": { + "type": "string", + "description": "Unique identifier for a signal." + }, + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "Identifies the Flyte workflow execution this signal belongs to." + } + }, + "description": "Encapsulation of fields the uniquely identify a signal." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + }, + "dataclass_type": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteralType" + }, + "title": "dataclass_type only exists for dataclasses.\nThis is used to resolve the type of the fields of dataclass\nThe key is the field name, and the value is the literal type of the field\ne.g. For dataclass Foo, with fields a, and a is a string\nFoo.a will be resolved as a literal type of string from dataclass_type" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, + "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." + }, + "org": { + "type": "string", + "description": "Optional, org key applied to the resource." + } + }, + "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" + }, + "flyteidlcoreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "flyteidlcoreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "googlerpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + } + }, + "additionalProperties": {}, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + } + } +} diff --git a/flyteidl/gen/pb-java/datacatalog/Datacatalog.java b/flyteidl/gen/pb-java/datacatalog/Datacatalog.java deleted file mode 100644 index 4d0c9894e9..0000000000 --- a/flyteidl/gen/pb-java/datacatalog/Datacatalog.java +++ /dev/null @@ -1,34563 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/datacatalog/datacatalog.proto - -package datacatalog; - -public final class Datacatalog { - private Datacatalog() {} - 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 CreateDatasetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.CreateDatasetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.Dataset dataset = 1; - */ - boolean hasDataset(); - /** - * .datacatalog.Dataset dataset = 1; - */ - datacatalog.Datacatalog.Dataset getDataset(); - /** - * .datacatalog.Dataset dataset = 1; - */ - datacatalog.Datacatalog.DatasetOrBuilder getDatasetOrBuilder(); - } - /** - *
-   * Request message for creating a Dataset.
-   * 
- * - * Protobuf type {@code datacatalog.CreateDatasetRequest} - */ - public static final class CreateDatasetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.CreateDatasetRequest) - CreateDatasetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDatasetRequest.newBuilder() to construct. - private CreateDatasetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDatasetRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateDatasetRequest( - 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.Dataset.Builder subBuilder = null; - if (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.Dataset.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = 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_CreateDatasetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateDatasetRequest.class, datacatalog.Datacatalog.CreateDatasetRequest.Builder.class); - } - - public static final int DATASET_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.Dataset dataset_; - /** - * .datacatalog.Dataset dataset = 1; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.Dataset getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.Dataset.getDefaultInstance() : dataset_; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.DatasetOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - 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 (dataset_ != null) { - output.writeMessage(1, getDataset()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataset()); - } - 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.CreateDatasetRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.CreateDatasetRequest other = (datacatalog.Datacatalog.CreateDatasetRequest) obj; - - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) 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 (hasDataset()) { - hash = (37 * hash) + DATASET_FIELD_NUMBER; - hash = (53 * hash) + getDataset().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.CreateDatasetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateDatasetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateDatasetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateDatasetRequest 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.CreateDatasetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateDatasetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateDatasetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateDatasetRequest 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.CreateDatasetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateDatasetRequest 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.CreateDatasetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateDatasetRequest 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.CreateDatasetRequest 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 creating a Dataset.
-     * 
- * - * Protobuf type {@code datacatalog.CreateDatasetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.CreateDatasetRequest) - datacatalog.Datacatalog.CreateDatasetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateDatasetRequest.class, datacatalog.Datacatalog.CreateDatasetRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.CreateDatasetRequest.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 (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateDatasetRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.CreateDatasetRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateDatasetRequest build() { - datacatalog.Datacatalog.CreateDatasetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateDatasetRequest buildPartial() { - datacatalog.Datacatalog.CreateDatasetRequest result = new datacatalog.Datacatalog.CreateDatasetRequest(this); - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.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.CreateDatasetRequest) { - return mergeFrom((datacatalog.Datacatalog.CreateDatasetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.CreateDatasetRequest other) { - if (other == datacatalog.Datacatalog.CreateDatasetRequest.getDefaultInstance()) return this; - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - 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.CreateDatasetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.CreateDatasetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.Dataset dataset_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder> datasetBuilder_; - /** - * .datacatalog.Dataset dataset = 1; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.Dataset getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.Dataset.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder setDataset(datacatalog.Datacatalog.Dataset value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder setDataset( - datacatalog.Datacatalog.Dataset.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder mergeDataset(datacatalog.Datacatalog.Dataset value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.Dataset.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.Dataset.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.DatasetOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.Dataset.getDefaultInstance() : dataset_; - } - } - /** - * .datacatalog.Dataset dataset = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - @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.CreateDatasetRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.CreateDatasetRequest) - private static final datacatalog.Datacatalog.CreateDatasetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.CreateDatasetRequest(); - } - - public static datacatalog.Datacatalog.CreateDatasetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatasetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDatasetRequest(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.CreateDatasetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateDatasetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.CreateDatasetResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Response message for creating a Dataset
-   * 
- * - * Protobuf type {@code datacatalog.CreateDatasetResponse} - */ - public static final class CreateDatasetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.CreateDatasetResponse) - CreateDatasetResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDatasetResponse.newBuilder() to construct. - private CreateDatasetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDatasetResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateDatasetResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateDatasetResponse.class, datacatalog.Datacatalog.CreateDatasetResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof datacatalog.Datacatalog.CreateDatasetResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.CreateDatasetResponse other = (datacatalog.Datacatalog.CreateDatasetResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.CreateDatasetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateDatasetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateDatasetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateDatasetResponse 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.CreateDatasetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateDatasetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateDatasetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateDatasetResponse 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.CreateDatasetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateDatasetResponse 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.CreateDatasetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateDatasetResponse 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.CreateDatasetResponse 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 message for creating a Dataset
-     * 
- * - * Protobuf type {@code datacatalog.CreateDatasetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.CreateDatasetResponse) - datacatalog.Datacatalog.CreateDatasetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateDatasetResponse.class, datacatalog.Datacatalog.CreateDatasetResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.CreateDatasetResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateDatasetResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateDatasetResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.CreateDatasetResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateDatasetResponse build() { - datacatalog.Datacatalog.CreateDatasetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateDatasetResponse buildPartial() { - datacatalog.Datacatalog.CreateDatasetResponse result = new datacatalog.Datacatalog.CreateDatasetResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.CreateDatasetResponse) { - return mergeFrom((datacatalog.Datacatalog.CreateDatasetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.CreateDatasetResponse other) { - if (other == datacatalog.Datacatalog.CreateDatasetResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - datacatalog.Datacatalog.CreateDatasetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.CreateDatasetResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datacatalog.CreateDatasetResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.CreateDatasetResponse) - private static final datacatalog.Datacatalog.CreateDatasetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.CreateDatasetResponse(); - } - - public static datacatalog.Datacatalog.CreateDatasetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatasetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDatasetResponse(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.CreateDatasetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetDatasetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.GetDatasetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.DatasetID dataset = 1; - */ - boolean hasDataset(); - /** - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetID getDataset(); - /** - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder(); - } - /** - *
-   * Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier
-   * which is a combination of several fields.
-   * 
- * - * Protobuf type {@code datacatalog.GetDatasetRequest} - */ - public static final class GetDatasetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.GetDatasetRequest) - GetDatasetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetDatasetRequest.newBuilder() to construct. - private GetDatasetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetDatasetRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetDatasetRequest( - 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 (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = 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_GetDatasetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetDatasetRequest.class, datacatalog.Datacatalog.GetDatasetRequest.Builder.class); - } - - public static final int DATASET_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.DatasetID dataset_; - /** - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - 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 (dataset_ != null) { - output.writeMessage(1, getDataset()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataset()); - } - 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.GetDatasetRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.GetDatasetRequest other = (datacatalog.Datacatalog.GetDatasetRequest) obj; - - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) 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 (hasDataset()) { - hash = (37 * hash) + DATASET_FIELD_NUMBER; - hash = (53 * hash) + getDataset().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.GetDatasetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetDatasetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetDatasetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetDatasetRequest 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.GetDatasetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetDatasetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetDatasetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetDatasetRequest 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.GetDatasetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetDatasetRequest 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.GetDatasetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetDatasetRequest 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.GetDatasetRequest 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 retrieving a Dataset. The Dataset is retrieved by it's unique identifier
-     * which is a combination of several fields.
-     * 
- * - * Protobuf type {@code datacatalog.GetDatasetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.GetDatasetRequest) - datacatalog.Datacatalog.GetDatasetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetDatasetRequest.class, datacatalog.Datacatalog.GetDatasetRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.GetDatasetRequest.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 (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetDatasetRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.GetDatasetRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.GetDatasetRequest build() { - datacatalog.Datacatalog.GetDatasetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetDatasetRequest buildPartial() { - datacatalog.Datacatalog.GetDatasetRequest result = new datacatalog.Datacatalog.GetDatasetRequest(this); - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.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.GetDatasetRequest) { - return mergeFrom((datacatalog.Datacatalog.GetDatasetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.GetDatasetRequest other) { - if (other == datacatalog.Datacatalog.GetDatasetRequest.getDefaultInstance()) return this; - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - 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.GetDatasetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.GetDatasetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.DatasetID dataset_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetBuilder_; - /** - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset( - datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder mergeDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.DatasetID.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - @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.GetDatasetRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.GetDatasetRequest) - private static final datacatalog.Datacatalog.GetDatasetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetDatasetRequest(); - } - - public static datacatalog.Datacatalog.GetDatasetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatasetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDatasetRequest(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.GetDatasetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetDatasetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.GetDatasetResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.Dataset dataset = 1; - */ - boolean hasDataset(); - /** - * .datacatalog.Dataset dataset = 1; - */ - datacatalog.Datacatalog.Dataset getDataset(); - /** - * .datacatalog.Dataset dataset = 1; - */ - datacatalog.Datacatalog.DatasetOrBuilder getDatasetOrBuilder(); - } - /** - *
-   * Response message for retrieving a Dataset. The response will include the metadata for the
-   * Dataset.
-   * 
- * - * Protobuf type {@code datacatalog.GetDatasetResponse} - */ - public static final class GetDatasetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.GetDatasetResponse) - GetDatasetResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetDatasetResponse.newBuilder() to construct. - private GetDatasetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetDatasetResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetDatasetResponse( - 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.Dataset.Builder subBuilder = null; - if (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.Dataset.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = 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_GetDatasetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetDatasetResponse.class, datacatalog.Datacatalog.GetDatasetResponse.Builder.class); - } - - public static final int DATASET_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.Dataset dataset_; - /** - * .datacatalog.Dataset dataset = 1; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.Dataset getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.Dataset.getDefaultInstance() : dataset_; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.DatasetOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - 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 (dataset_ != null) { - output.writeMessage(1, getDataset()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataset()); - } - 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.GetDatasetResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.GetDatasetResponse other = (datacatalog.Datacatalog.GetDatasetResponse) obj; - - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) 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 (hasDataset()) { - hash = (37 * hash) + DATASET_FIELD_NUMBER; - hash = (53 * hash) + getDataset().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.GetDatasetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetDatasetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetDatasetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetDatasetResponse 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.GetDatasetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetDatasetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetDatasetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetDatasetResponse 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.GetDatasetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetDatasetResponse 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.GetDatasetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetDatasetResponse 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.GetDatasetResponse 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 message for retrieving a Dataset. The response will include the metadata for the
-     * Dataset.
-     * 
- * - * Protobuf type {@code datacatalog.GetDatasetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.GetDatasetResponse) - datacatalog.Datacatalog.GetDatasetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetDatasetResponse.class, datacatalog.Datacatalog.GetDatasetResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.GetDatasetResponse.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 (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetDatasetResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetDatasetResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.GetDatasetResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.GetDatasetResponse build() { - datacatalog.Datacatalog.GetDatasetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetDatasetResponse buildPartial() { - datacatalog.Datacatalog.GetDatasetResponse result = new datacatalog.Datacatalog.GetDatasetResponse(this); - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.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.GetDatasetResponse) { - return mergeFrom((datacatalog.Datacatalog.GetDatasetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.GetDatasetResponse other) { - if (other == datacatalog.Datacatalog.GetDatasetResponse.getDefaultInstance()) return this; - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - 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.GetDatasetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.GetDatasetResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.Dataset dataset_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder> datasetBuilder_; - /** - * .datacatalog.Dataset dataset = 1; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.Dataset getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.Dataset.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder setDataset(datacatalog.Datacatalog.Dataset value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder setDataset( - datacatalog.Datacatalog.Dataset.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder mergeDataset(datacatalog.Datacatalog.Dataset value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.Dataset.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.Dataset.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - * .datacatalog.Dataset dataset = 1; - */ - public datacatalog.Datacatalog.DatasetOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.Dataset.getDefaultInstance() : dataset_; - } - } - /** - * .datacatalog.Dataset dataset = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - @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.GetDatasetResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.GetDatasetResponse) - private static final datacatalog.Datacatalog.GetDatasetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetDatasetResponse(); - } - - public static datacatalog.Datacatalog.GetDatasetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatasetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDatasetResponse(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.GetDatasetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetArtifactRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.GetArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.DatasetID dataset = 1; - */ - boolean hasDataset(); - /** - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetID getDataset(); - /** - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder(); - - /** - * 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(); - /** - * string tag_name = 3; - */ - com.google.protobuf.ByteString - getTagNameBytes(); - - public datacatalog.Datacatalog.GetArtifactRequest.QueryHandleCase getQueryHandleCase(); - } - /** - *
-   * Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that
-   * can be one of artifact_id or tag. The result returned will include the artifact data and metadata
-   * associated with the artifact.
-   * 
- * - * Protobuf type {@code datacatalog.GetArtifactRequest} - */ - public static final class GetArtifactRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.GetArtifactRequest) - GetArtifactRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetArtifactRequest.newBuilder() to construct. - private GetArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetArtifactRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetArtifactRequest( - 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 (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - queryHandleCase_ = 2; - queryHandle_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - queryHandleCase_ = 3; - queryHandle_ = 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_GetArtifactRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetArtifactRequest.class, datacatalog.Datacatalog.GetArtifactRequest.Builder.class); - } - - 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_; - /** - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 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 = ""; - 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(); - if (queryHandleCase_ == 3) { - queryHandle_ = s; - } - return s; - } - } - /** - * string tag_name = 3; - */ - public com.google.protobuf.ByteString - getTagNameBytes() { - 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); - if (queryHandleCase_ == 3) { - queryHandle_ = 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 (dataset_ != null) { - output.writeMessage(1, getDataset()); - } - 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); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataset()); - } - 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; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof datacatalog.Datacatalog.GetArtifactRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.GetArtifactRequest other = (datacatalog.Datacatalog.GetArtifactRequest) obj; - - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) return false; - } - 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) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().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 = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.GetArtifactRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetArtifactRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetArtifactRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetArtifactRequest 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.GetArtifactRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetArtifactRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetArtifactRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetArtifactRequest 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.GetArtifactRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetArtifactRequest 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.GetArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetArtifactRequest 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.GetArtifactRequest 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 retrieving an Artifact. Retrieve an artifact based on a query handle that
-     * can be one of artifact_id or tag. The result returned will include the artifact data and metadata
-     * associated with the artifact.
-     * 
- * - * Protobuf type {@code datacatalog.GetArtifactRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.GetArtifactRequest) - datacatalog.Datacatalog.GetArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetArtifactRequest.class, datacatalog.Datacatalog.GetArtifactRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.GetArtifactRequest.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 (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - queryHandleCase_ = 0; - queryHandle_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetArtifactRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.GetArtifactRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.GetArtifactRequest build() { - datacatalog.Datacatalog.GetArtifactRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetArtifactRequest buildPartial() { - datacatalog.Datacatalog.GetArtifactRequest result = new datacatalog.Datacatalog.GetArtifactRequest(this); - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.build(); - } - if (queryHandleCase_ == 2) { - result.queryHandle_ = queryHandle_; - } - if (queryHandleCase_ == 3) { - result.queryHandle_ = queryHandle_; - } - result.queryHandleCase_ = queryHandleCase_; - 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.GetArtifactRequest) { - return mergeFrom((datacatalog.Datacatalog.GetArtifactRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.GetArtifactRequest other) { - if (other == datacatalog.Datacatalog.GetArtifactRequest.getDefaultInstance()) return this; - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - 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(); - 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.GetArtifactRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.GetArtifactRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int queryHandleCase_ = 0; - private java.lang.Object queryHandle_; - public QueryHandleCase - getQueryHandleCase() { - return QueryHandleCase.forNumber( - queryHandleCase_); - } - - 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> datasetBuilder_; - /** - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset( - datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder mergeDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.DatasetID.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - } - /** - * .datacatalog.DatasetID dataset = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - - /** - * 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 = ""; - 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(); - if (queryHandleCase_ == 3) { - queryHandle_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string tag_name = 3; - */ - public com.google.protobuf.ByteString - getTagNameBytes() { - 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); - if (queryHandleCase_ == 3) { - queryHandle_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string tag_name = 3; - */ - public Builder setTagName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - queryHandleCase_ = 3; - queryHandle_ = value; - onChanged(); - return this; - } - /** - * string tag_name = 3; - */ - public Builder clearTagName() { - if (queryHandleCase_ == 3) { - queryHandleCase_ = 0; - queryHandle_ = null; - onChanged(); - } - return this; - } - /** - * string tag_name = 3; - */ - public Builder setTagNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - queryHandleCase_ = 3; - queryHandle_ = 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.GetArtifactRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.GetArtifactRequest) - private static final datacatalog.Datacatalog.GetArtifactRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetArtifactRequest(); - } - - public static datacatalog.Datacatalog.GetArtifactRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetArtifactRequest(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.GetArtifactRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetArtifactResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.GetArtifactResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.Artifact artifact = 1; - */ - boolean hasArtifact(); - /** - * .datacatalog.Artifact artifact = 1; - */ - datacatalog.Datacatalog.Artifact getArtifact(); - /** - * .datacatalog.Artifact artifact = 1; - */ - datacatalog.Datacatalog.ArtifactOrBuilder getArtifactOrBuilder(); - } - /** - *
-   * Response message for retrieving an Artifact. The result returned will include the artifact data
-   * and metadata associated with the artifact.
-   * 
- * - * Protobuf type {@code datacatalog.GetArtifactResponse} - */ - public static final class GetArtifactResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.GetArtifactResponse) - GetArtifactResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetArtifactResponse.newBuilder() to construct. - private GetArtifactResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetArtifactResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetArtifactResponse( - 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.Artifact.Builder subBuilder = null; - if (artifact_ != null) { - subBuilder = artifact_.toBuilder(); - } - artifact_ = input.readMessage(datacatalog.Datacatalog.Artifact.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifact_); - artifact_ = 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_GetArtifactResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetArtifactResponse.class, datacatalog.Datacatalog.GetArtifactResponse.Builder.class); - } - - public static final int ARTIFACT_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.Artifact artifact_; - /** - * .datacatalog.Artifact artifact = 1; - */ - public boolean hasArtifact() { - return artifact_ != null; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.Artifact getArtifact() { - return artifact_ == null ? datacatalog.Datacatalog.Artifact.getDefaultInstance() : artifact_; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.ArtifactOrBuilder getArtifactOrBuilder() { - return getArtifact(); - } - - 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 (artifact_ != null) { - output.writeMessage(1, getArtifact()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (artifact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getArtifact()); - } - 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.GetArtifactResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.GetArtifactResponse other = (datacatalog.Datacatalog.GetArtifactResponse) obj; - - if (hasArtifact() != other.hasArtifact()) return false; - if (hasArtifact()) { - if (!getArtifact() - .equals(other.getArtifact())) 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 (hasArtifact()) { - hash = (37 * hash) + ARTIFACT_FIELD_NUMBER; - hash = (53 * hash) + getArtifact().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.GetArtifactResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetArtifactResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetArtifactResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetArtifactResponse 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.GetArtifactResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.GetArtifactResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.GetArtifactResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetArtifactResponse 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.GetArtifactResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetArtifactResponse 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.GetArtifactResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.GetArtifactResponse 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.GetArtifactResponse 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 message for retrieving an Artifact. The result returned will include the artifact data
-     * and metadata associated with the artifact.
-     * 
- * - * Protobuf type {@code datacatalog.GetArtifactResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.GetArtifactResponse) - datacatalog.Datacatalog.GetArtifactResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetArtifactResponse.class, datacatalog.Datacatalog.GetArtifactResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.GetArtifactResponse.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 (artifactBuilder_ == null) { - artifact_ = null; - } else { - artifact_ = null; - artifactBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetArtifactResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetArtifactResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.GetArtifactResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.GetArtifactResponse build() { - datacatalog.Datacatalog.GetArtifactResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.GetArtifactResponse buildPartial() { - datacatalog.Datacatalog.GetArtifactResponse result = new datacatalog.Datacatalog.GetArtifactResponse(this); - if (artifactBuilder_ == null) { - result.artifact_ = artifact_; - } else { - result.artifact_ = artifactBuilder_.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.GetArtifactResponse) { - return mergeFrom((datacatalog.Datacatalog.GetArtifactResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.GetArtifactResponse other) { - if (other == datacatalog.Datacatalog.GetArtifactResponse.getDefaultInstance()) return this; - if (other.hasArtifact()) { - mergeArtifact(other.getArtifact()); - } - 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.GetArtifactResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.GetArtifactResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.Artifact artifact_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder> artifactBuilder_; - /** - * .datacatalog.Artifact artifact = 1; - */ - public boolean hasArtifact() { - return artifactBuilder_ != null || artifact_ != null; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.Artifact getArtifact() { - if (artifactBuilder_ == null) { - return artifact_ == null ? datacatalog.Datacatalog.Artifact.getDefaultInstance() : artifact_; - } else { - return artifactBuilder_.getMessage(); - } - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder setArtifact(datacatalog.Datacatalog.Artifact value) { - if (artifactBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - artifact_ = value; - onChanged(); - } else { - artifactBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder setArtifact( - datacatalog.Datacatalog.Artifact.Builder builderForValue) { - if (artifactBuilder_ == null) { - artifact_ = builderForValue.build(); - onChanged(); - } else { - artifactBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder mergeArtifact(datacatalog.Datacatalog.Artifact value) { - if (artifactBuilder_ == null) { - if (artifact_ != null) { - artifact_ = - datacatalog.Datacatalog.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); - } else { - artifact_ = value; - } - onChanged(); - } else { - artifactBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder clearArtifact() { - if (artifactBuilder_ == null) { - artifact_ = null; - onChanged(); - } else { - artifact_ = null; - artifactBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.Artifact.Builder getArtifactBuilder() { - - onChanged(); - return getArtifactFieldBuilder().getBuilder(); - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.ArtifactOrBuilder getArtifactOrBuilder() { - if (artifactBuilder_ != null) { - return artifactBuilder_.getMessageOrBuilder(); - } else { - return artifact_ == null ? - datacatalog.Datacatalog.Artifact.getDefaultInstance() : artifact_; - } - } - /** - * .datacatalog.Artifact artifact = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder> - getArtifactFieldBuilder() { - if (artifactBuilder_ == null) { - artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder>( - getArtifact(), - getParentForChildren(), - isClean()); - artifact_ = null; - } - return artifactBuilder_; - } - @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.GetArtifactResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.GetArtifactResponse) - private static final datacatalog.Datacatalog.GetArtifactResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetArtifactResponse(); - } - - public static datacatalog.Datacatalog.GetArtifactResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetArtifactResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetArtifactResponse(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.GetArtifactResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateArtifactRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.CreateArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.Artifact artifact = 1; - */ - boolean hasArtifact(); - /** - * .datacatalog.Artifact artifact = 1; - */ - datacatalog.Datacatalog.Artifact getArtifact(); - /** - * .datacatalog.Artifact artifact = 1; - */ - datacatalog.Datacatalog.ArtifactOrBuilder getArtifactOrBuilder(); - } - /** - *
-   * Request message for creating an Artifact and its associated artifact Data.
-   * 
- * - * Protobuf type {@code datacatalog.CreateArtifactRequest} - */ - public static final class CreateArtifactRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.CreateArtifactRequest) - CreateArtifactRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateArtifactRequest.newBuilder() to construct. - private CreateArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateArtifactRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateArtifactRequest( - 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.Artifact.Builder subBuilder = null; - if (artifact_ != null) { - subBuilder = artifact_.toBuilder(); - } - artifact_ = input.readMessage(datacatalog.Datacatalog.Artifact.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifact_); - artifact_ = 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_CreateArtifactRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateArtifactRequest.class, datacatalog.Datacatalog.CreateArtifactRequest.Builder.class); - } - - public static final int ARTIFACT_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.Artifact artifact_; - /** - * .datacatalog.Artifact artifact = 1; - */ - public boolean hasArtifact() { - return artifact_ != null; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.Artifact getArtifact() { - return artifact_ == null ? datacatalog.Datacatalog.Artifact.getDefaultInstance() : artifact_; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.ArtifactOrBuilder getArtifactOrBuilder() { - return getArtifact(); - } - - 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 (artifact_ != null) { - output.writeMessage(1, getArtifact()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (artifact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getArtifact()); - } - 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.CreateArtifactRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.CreateArtifactRequest other = (datacatalog.Datacatalog.CreateArtifactRequest) obj; - - if (hasArtifact() != other.hasArtifact()) return false; - if (hasArtifact()) { - if (!getArtifact() - .equals(other.getArtifact())) 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 (hasArtifact()) { - hash = (37 * hash) + ARTIFACT_FIELD_NUMBER; - hash = (53 * hash) + getArtifact().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.CreateArtifactRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateArtifactRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateArtifactRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateArtifactRequest 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.CreateArtifactRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateArtifactRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateArtifactRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateArtifactRequest 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.CreateArtifactRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateArtifactRequest 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.CreateArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateArtifactRequest 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.CreateArtifactRequest 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 creating an Artifact and its associated artifact Data.
-     * 
- * - * Protobuf type {@code datacatalog.CreateArtifactRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.CreateArtifactRequest) - datacatalog.Datacatalog.CreateArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateArtifactRequest.class, datacatalog.Datacatalog.CreateArtifactRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.CreateArtifactRequest.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 (artifactBuilder_ == null) { - artifact_ = null; - } else { - artifact_ = null; - artifactBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateArtifactRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.CreateArtifactRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateArtifactRequest build() { - datacatalog.Datacatalog.CreateArtifactRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateArtifactRequest buildPartial() { - datacatalog.Datacatalog.CreateArtifactRequest result = new datacatalog.Datacatalog.CreateArtifactRequest(this); - if (artifactBuilder_ == null) { - result.artifact_ = artifact_; - } else { - result.artifact_ = artifactBuilder_.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.CreateArtifactRequest) { - return mergeFrom((datacatalog.Datacatalog.CreateArtifactRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.CreateArtifactRequest other) { - if (other == datacatalog.Datacatalog.CreateArtifactRequest.getDefaultInstance()) return this; - if (other.hasArtifact()) { - mergeArtifact(other.getArtifact()); - } - 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.CreateArtifactRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.CreateArtifactRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.Artifact artifact_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder> artifactBuilder_; - /** - * .datacatalog.Artifact artifact = 1; - */ - public boolean hasArtifact() { - return artifactBuilder_ != null || artifact_ != null; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.Artifact getArtifact() { - if (artifactBuilder_ == null) { - return artifact_ == null ? datacatalog.Datacatalog.Artifact.getDefaultInstance() : artifact_; - } else { - return artifactBuilder_.getMessage(); - } - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder setArtifact(datacatalog.Datacatalog.Artifact value) { - if (artifactBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - artifact_ = value; - onChanged(); - } else { - artifactBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder setArtifact( - datacatalog.Datacatalog.Artifact.Builder builderForValue) { - if (artifactBuilder_ == null) { - artifact_ = builderForValue.build(); - onChanged(); - } else { - artifactBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder mergeArtifact(datacatalog.Datacatalog.Artifact value) { - if (artifactBuilder_ == null) { - if (artifact_ != null) { - artifact_ = - datacatalog.Datacatalog.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); - } else { - artifact_ = value; - } - onChanged(); - } else { - artifactBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public Builder clearArtifact() { - if (artifactBuilder_ == null) { - artifact_ = null; - onChanged(); - } else { - artifact_ = null; - artifactBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.Artifact.Builder getArtifactBuilder() { - - onChanged(); - return getArtifactFieldBuilder().getBuilder(); - } - /** - * .datacatalog.Artifact artifact = 1; - */ - public datacatalog.Datacatalog.ArtifactOrBuilder getArtifactOrBuilder() { - if (artifactBuilder_ != null) { - return artifactBuilder_.getMessageOrBuilder(); - } else { - return artifact_ == null ? - datacatalog.Datacatalog.Artifact.getDefaultInstance() : artifact_; - } - } - /** - * .datacatalog.Artifact artifact = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder> - getArtifactFieldBuilder() { - if (artifactBuilder_ == null) { - artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder>( - getArtifact(), - getParentForChildren(), - isClean()); - artifact_ = null; - } - return artifactBuilder_; - } - @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.CreateArtifactRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.CreateArtifactRequest) - private static final datacatalog.Datacatalog.CreateArtifactRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.CreateArtifactRequest(); - } - - public static datacatalog.Datacatalog.CreateArtifactRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateArtifactRequest(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.CreateArtifactRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateArtifactResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.CreateArtifactResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Response message for creating an Artifact.
-   * 
- * - * Protobuf type {@code datacatalog.CreateArtifactResponse} - */ - public static final class CreateArtifactResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.CreateArtifactResponse) - CreateArtifactResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateArtifactResponse.newBuilder() to construct. - private CreateArtifactResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateArtifactResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateArtifactResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateArtifactResponse.class, datacatalog.Datacatalog.CreateArtifactResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof datacatalog.Datacatalog.CreateArtifactResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.CreateArtifactResponse other = (datacatalog.Datacatalog.CreateArtifactResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.CreateArtifactResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateArtifactResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateArtifactResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateArtifactResponse 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.CreateArtifactResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.CreateArtifactResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.CreateArtifactResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateArtifactResponse 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.CreateArtifactResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateArtifactResponse 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.CreateArtifactResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.CreateArtifactResponse 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.CreateArtifactResponse 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 message for creating an Artifact.
-     * 
- * - * Protobuf type {@code datacatalog.CreateArtifactResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.CreateArtifactResponse) - datacatalog.Datacatalog.CreateArtifactResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.CreateArtifactResponse.class, datacatalog.Datacatalog.CreateArtifactResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.CreateArtifactResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_CreateArtifactResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateArtifactResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.CreateArtifactResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateArtifactResponse build() { - datacatalog.Datacatalog.CreateArtifactResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.CreateArtifactResponse buildPartial() { - datacatalog.Datacatalog.CreateArtifactResponse result = new datacatalog.Datacatalog.CreateArtifactResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.CreateArtifactResponse) { - return mergeFrom((datacatalog.Datacatalog.CreateArtifactResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.CreateArtifactResponse other) { - if (other == datacatalog.Datacatalog.CreateArtifactResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - datacatalog.Datacatalog.CreateArtifactResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.CreateArtifactResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datacatalog.CreateArtifactResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.CreateArtifactResponse) - private static final datacatalog.Datacatalog.CreateArtifactResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.CreateArtifactResponse(); - } - - public static datacatalog.Datacatalog.CreateArtifactResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateArtifactResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateArtifactResponse(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.CreateArtifactResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AddTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.AddTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.Tag tag = 1; - */ - boolean hasTag(); - /** - * .datacatalog.Tag tag = 1; - */ - datacatalog.Datacatalog.Tag getTag(); - /** - * .datacatalog.Tag tag = 1; - */ - datacatalog.Datacatalog.TagOrBuilder getTagOrBuilder(); - } - /** - *
-   * Request message for tagging an Artifact.
-   * 
- * - * Protobuf type {@code datacatalog.AddTagRequest} - */ - public static final class AddTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.AddTagRequest) - AddTagRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use AddTagRequest.newBuilder() to construct. - private AddTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AddTagRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AddTagRequest( - 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.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(datacatalog.Datacatalog.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = 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_AddTagRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.AddTagRequest.class, datacatalog.Datacatalog.AddTagRequest.Builder.class); - } - - public static final int TAG_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.Tag tag_; - /** - * .datacatalog.Tag tag = 1; - */ - public boolean hasTag() { - return tag_ != null; - } - /** - * .datacatalog.Tag tag = 1; - */ - public datacatalog.Datacatalog.Tag getTag() { - return tag_ == null ? datacatalog.Datacatalog.Tag.getDefaultInstance() : tag_; - } - /** - * .datacatalog.Tag tag = 1; - */ - public datacatalog.Datacatalog.TagOrBuilder getTagOrBuilder() { - return getTag(); - } - - 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 (tag_ != null) { - output.writeMessage(1, getTag()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTag()); - } - 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.AddTagRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.AddTagRequest other = (datacatalog.Datacatalog.AddTagRequest) obj; - - if (hasTag() != other.hasTag()) return false; - if (hasTag()) { - if (!getTag() - .equals(other.getTag())) 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 (hasTag()) { - hash = (37 * hash) + TAG_FIELD_NUMBER; - hash = (53 * hash) + getTag().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.AddTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.AddTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.AddTagRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.AddTagRequest 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.AddTagRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.AddTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.AddTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.AddTagRequest 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.AddTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.AddTagRequest 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.AddTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.AddTagRequest 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.AddTagRequest 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 tagging an Artifact.
-     * 
- * - * Protobuf type {@code datacatalog.AddTagRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.AddTagRequest) - datacatalog.Datacatalog.AddTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.AddTagRequest.class, datacatalog.Datacatalog.AddTagRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.AddTagRequest.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 (tagBuilder_ == null) { - tag_ = null; - } else { - tag_ = null; - tagBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.AddTagRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.AddTagRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.AddTagRequest build() { - datacatalog.Datacatalog.AddTagRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.AddTagRequest buildPartial() { - datacatalog.Datacatalog.AddTagRequest result = new datacatalog.Datacatalog.AddTagRequest(this); - if (tagBuilder_ == null) { - result.tag_ = tag_; - } else { - result.tag_ = tagBuilder_.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.AddTagRequest) { - return mergeFrom((datacatalog.Datacatalog.AddTagRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.AddTagRequest other) { - if (other == datacatalog.Datacatalog.AddTagRequest.getDefaultInstance()) return this; - if (other.hasTag()) { - mergeTag(other.getTag()); - } - 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.AddTagRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.AddTagRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.Tag tag_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Tag, datacatalog.Datacatalog.Tag.Builder, datacatalog.Datacatalog.TagOrBuilder> tagBuilder_; - /** - * .datacatalog.Tag tag = 1; - */ - public boolean hasTag() { - return tagBuilder_ != null || tag_ != null; - } - /** - * .datacatalog.Tag tag = 1; - */ - public datacatalog.Datacatalog.Tag getTag() { - if (tagBuilder_ == null) { - return tag_ == null ? datacatalog.Datacatalog.Tag.getDefaultInstance() : tag_; - } else { - return tagBuilder_.getMessage(); - } - } - /** - * .datacatalog.Tag tag = 1; - */ - public Builder setTag(datacatalog.Datacatalog.Tag value) { - if (tagBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - tag_ = value; - onChanged(); - } else { - tagBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.Tag tag = 1; - */ - public Builder setTag( - datacatalog.Datacatalog.Tag.Builder builderForValue) { - if (tagBuilder_ == null) { - tag_ = builderForValue.build(); - onChanged(); - } else { - tagBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.Tag tag = 1; - */ - public Builder mergeTag(datacatalog.Datacatalog.Tag value) { - if (tagBuilder_ == null) { - if (tag_ != null) { - tag_ = - datacatalog.Datacatalog.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); - } else { - tag_ = value; - } - onChanged(); - } else { - tagBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.Tag tag = 1; - */ - public Builder clearTag() { - if (tagBuilder_ == null) { - tag_ = null; - onChanged(); - } else { - tag_ = null; - tagBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.Tag tag = 1; - */ - public datacatalog.Datacatalog.Tag.Builder getTagBuilder() { - - onChanged(); - return getTagFieldBuilder().getBuilder(); - } - /** - * .datacatalog.Tag tag = 1; - */ - public datacatalog.Datacatalog.TagOrBuilder getTagOrBuilder() { - if (tagBuilder_ != null) { - return tagBuilder_.getMessageOrBuilder(); - } else { - return tag_ == null ? - datacatalog.Datacatalog.Tag.getDefaultInstance() : tag_; - } - } - /** - * .datacatalog.Tag tag = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Tag, datacatalog.Datacatalog.Tag.Builder, datacatalog.Datacatalog.TagOrBuilder> - getTagFieldBuilder() { - if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Tag, datacatalog.Datacatalog.Tag.Builder, datacatalog.Datacatalog.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); - tag_ = null; - } - return tagBuilder_; - } - @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.AddTagRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.AddTagRequest) - private static final datacatalog.Datacatalog.AddTagRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.AddTagRequest(); - } - - public static datacatalog.Datacatalog.AddTagRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddTagRequest(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.AddTagRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AddTagResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.AddTagResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Response message for tagging an Artifact.
-   * 
- * - * Protobuf type {@code datacatalog.AddTagResponse} - */ - public static final class AddTagResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.AddTagResponse) - AddTagResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use AddTagResponse.newBuilder() to construct. - private AddTagResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AddTagResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AddTagResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.AddTagResponse.class, datacatalog.Datacatalog.AddTagResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof datacatalog.Datacatalog.AddTagResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.AddTagResponse other = (datacatalog.Datacatalog.AddTagResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.AddTagResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.AddTagResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.AddTagResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.AddTagResponse 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.AddTagResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.AddTagResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.AddTagResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.AddTagResponse 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.AddTagResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.AddTagResponse 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.AddTagResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.AddTagResponse 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.AddTagResponse 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 message for tagging an Artifact.
-     * 
- * - * Protobuf type {@code datacatalog.AddTagResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.AddTagResponse) - datacatalog.Datacatalog.AddTagResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.AddTagResponse.class, datacatalog.Datacatalog.AddTagResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.AddTagResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_AddTagResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.AddTagResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.AddTagResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.AddTagResponse build() { - datacatalog.Datacatalog.AddTagResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.AddTagResponse buildPartial() { - datacatalog.Datacatalog.AddTagResponse result = new datacatalog.Datacatalog.AddTagResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.AddTagResponse) { - return mergeFrom((datacatalog.Datacatalog.AddTagResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.AddTagResponse other) { - if (other == datacatalog.Datacatalog.AddTagResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - datacatalog.Datacatalog.AddTagResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.AddTagResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datacatalog.AddTagResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.AddTagResponse) - private static final datacatalog.Datacatalog.AddTagResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.AddTagResponse(); - } - - public static datacatalog.Datacatalog.AddTagResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddTagResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddTagResponse(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.AddTagResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListArtifactsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ListArtifactsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Use a datasetID for which you want to retrieve the artifacts
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - boolean hasDataset(); - /** - *
-     * Use a datasetID for which you want to retrieve the artifacts
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetID getDataset(); - /** - *
-     * Use a datasetID for which you want to retrieve the artifacts
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder(); - - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - boolean hasFilter(); - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - datacatalog.Datacatalog.FilterExpression getFilter(); - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - datacatalog.Datacatalog.FilterExpressionOrBuilder getFilterOrBuilder(); - - /** - *
-     * Pagination options to get a page of artifacts
-     * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - boolean hasPagination(); - /** - *
-     * Pagination options to get a page of artifacts
-     * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - datacatalog.Datacatalog.PaginationOptions getPagination(); - /** - *
-     * Pagination options to get a page of artifacts
-     * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - datacatalog.Datacatalog.PaginationOptionsOrBuilder getPaginationOrBuilder(); - } - /** - *
-   * List the artifacts that belong to the Dataset, optionally filtered using filtered expression.
-   * 
- * - * Protobuf type {@code datacatalog.ListArtifactsRequest} - */ - public static final class ListArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ListArtifactsRequest) - ListArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListArtifactsRequest.newBuilder() to construct. - private ListArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListArtifactsRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListArtifactsRequest( - 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 (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - datacatalog.Datacatalog.FilterExpression.Builder subBuilder = null; - if (filter_ != null) { - subBuilder = filter_.toBuilder(); - } - filter_ = input.readMessage(datacatalog.Datacatalog.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(filter_); - filter_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - datacatalog.Datacatalog.PaginationOptions.Builder subBuilder = null; - if (pagination_ != null) { - subBuilder = pagination_.toBuilder(); - } - pagination_ = input.readMessage(datacatalog.Datacatalog.PaginationOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pagination_); - pagination_ = 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_ListArtifactsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListArtifactsRequest.class, datacatalog.Datacatalog.ListArtifactsRequest.Builder.class); - } - - public static final int DATASET_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.DatasetID dataset_; - /** - *
-     * Use a datasetID for which you want to retrieve the artifacts
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - *
-     * Use a datasetID for which you want to retrieve the artifacts
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - /** - *
-     * Use a datasetID for which you want to retrieve the artifacts
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - public static final int FILTER_FIELD_NUMBER = 2; - private datacatalog.Datacatalog.FilterExpression filter_; - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public boolean hasFilter() { - return filter_ != null; - } - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public datacatalog.Datacatalog.FilterExpression getFilter() { - return filter_ == null ? datacatalog.Datacatalog.FilterExpression.getDefaultInstance() : filter_; - } - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public datacatalog.Datacatalog.FilterExpressionOrBuilder getFilterOrBuilder() { - return getFilter(); - } - - public static final int PAGINATION_FIELD_NUMBER = 3; - private datacatalog.Datacatalog.PaginationOptions pagination_; - /** - *
-     * Pagination options to get a page of artifacts
-     * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public boolean hasPagination() { - return pagination_ != null; - } - /** - *
-     * Pagination options to get a page of artifacts
-     * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public datacatalog.Datacatalog.PaginationOptions getPagination() { - return pagination_ == null ? datacatalog.Datacatalog.PaginationOptions.getDefaultInstance() : pagination_; - } - /** - *
-     * Pagination options to get a page of artifacts
-     * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public datacatalog.Datacatalog.PaginationOptionsOrBuilder getPaginationOrBuilder() { - return getPagination(); - } - - 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 (dataset_ != null) { - output.writeMessage(1, getDataset()); - } - if (filter_ != null) { - output.writeMessage(2, getFilter()); - } - if (pagination_ != null) { - output.writeMessage(3, getPagination()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataset()); - } - if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFilter()); - } - if (pagination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPagination()); - } - 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.ListArtifactsRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ListArtifactsRequest other = (datacatalog.Datacatalog.ListArtifactsRequest) obj; - - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) return false; - } - if (hasFilter() != other.hasFilter()) return false; - if (hasFilter()) { - if (!getFilter() - .equals(other.getFilter())) return false; - } - if (hasPagination() != other.hasPagination()) return false; - if (hasPagination()) { - if (!getPagination() - .equals(other.getPagination())) 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 (hasDataset()) { - hash = (37 * hash) + DATASET_FIELD_NUMBER; - hash = (53 * hash) + getDataset().hashCode(); - } - if (hasFilter()) { - hash = (37 * hash) + FILTER_FIELD_NUMBER; - hash = (53 * hash) + getFilter().hashCode(); - } - if (hasPagination()) { - hash = (37 * hash) + PAGINATION_FIELD_NUMBER; - hash = (53 * hash) + getPagination().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ListArtifactsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListArtifactsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListArtifactsRequest 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.ListArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListArtifactsRequest 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.ListArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListArtifactsRequest 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.ListArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListArtifactsRequest 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.ListArtifactsRequest 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 the artifacts that belong to the Dataset, optionally filtered using filtered expression.
-     * 
- * - * Protobuf type {@code datacatalog.ListArtifactsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ListArtifactsRequest) - datacatalog.Datacatalog.ListArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListArtifactsRequest.class, datacatalog.Datacatalog.ListArtifactsRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ListArtifactsRequest.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 (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - if (filterBuilder_ == null) { - filter_ = null; - } else { - filter_ = null; - filterBuilder_ = null; - } - if (paginationBuilder_ == null) { - pagination_ = null; - } else { - pagination_ = null; - paginationBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListArtifactsRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.ListArtifactsRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ListArtifactsRequest build() { - datacatalog.Datacatalog.ListArtifactsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListArtifactsRequest buildPartial() { - datacatalog.Datacatalog.ListArtifactsRequest result = new datacatalog.Datacatalog.ListArtifactsRequest(this); - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.build(); - } - if (filterBuilder_ == null) { - result.filter_ = filter_; - } else { - result.filter_ = filterBuilder_.build(); - } - if (paginationBuilder_ == null) { - result.pagination_ = pagination_; - } else { - result.pagination_ = paginationBuilder_.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.ListArtifactsRequest) { - return mergeFrom((datacatalog.Datacatalog.ListArtifactsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.ListArtifactsRequest other) { - if (other == datacatalog.Datacatalog.ListArtifactsRequest.getDefaultInstance()) return this; - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - if (other.hasFilter()) { - mergeFilter(other.getFilter()); - } - if (other.hasPagination()) { - mergePagination(other.getPagination()); - } - 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.ListArtifactsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ListArtifactsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.DatasetID dataset_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetBuilder_; - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset( - datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder mergeDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.DatasetID.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - } - /** - *
-       * Use a datasetID for which you want to retrieve the artifacts
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - - private datacatalog.Datacatalog.FilterExpression filter_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.FilterExpression, datacatalog.Datacatalog.FilterExpression.Builder, datacatalog.Datacatalog.FilterExpressionOrBuilder> filterBuilder_; - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public boolean hasFilter() { - return filterBuilder_ != null || filter_ != null; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public datacatalog.Datacatalog.FilterExpression getFilter() { - if (filterBuilder_ == null) { - return filter_ == null ? datacatalog.Datacatalog.FilterExpression.getDefaultInstance() : filter_; - } else { - return filterBuilder_.getMessage(); - } - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public Builder setFilter(datacatalog.Datacatalog.FilterExpression value) { - if (filterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - filter_ = value; - onChanged(); - } else { - filterBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public Builder setFilter( - datacatalog.Datacatalog.FilterExpression.Builder builderForValue) { - if (filterBuilder_ == null) { - filter_ = builderForValue.build(); - onChanged(); - } else { - filterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public Builder mergeFilter(datacatalog.Datacatalog.FilterExpression value) { - if (filterBuilder_ == null) { - if (filter_ != null) { - filter_ = - datacatalog.Datacatalog.FilterExpression.newBuilder(filter_).mergeFrom(value).buildPartial(); - } else { - filter_ = value; - } - onChanged(); - } else { - filterBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public Builder clearFilter() { - if (filterBuilder_ == null) { - filter_ = null; - onChanged(); - } else { - filter_ = null; - filterBuilder_ = null; - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public datacatalog.Datacatalog.FilterExpression.Builder getFilterBuilder() { - - onChanged(); - return getFilterFieldBuilder().getBuilder(); - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - public datacatalog.Datacatalog.FilterExpressionOrBuilder getFilterOrBuilder() { - if (filterBuilder_ != null) { - return filterBuilder_.getMessageOrBuilder(); - } else { - return filter_ == null ? - datacatalog.Datacatalog.FilterExpression.getDefaultInstance() : filter_; - } - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.FilterExpression, datacatalog.Datacatalog.FilterExpression.Builder, datacatalog.Datacatalog.FilterExpressionOrBuilder> - getFilterFieldBuilder() { - if (filterBuilder_ == null) { - filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.FilterExpression, datacatalog.Datacatalog.FilterExpression.Builder, datacatalog.Datacatalog.FilterExpressionOrBuilder>( - getFilter(), - getParentForChildren(), - isClean()); - filter_ = null; - } - return filterBuilder_; - } - - private datacatalog.Datacatalog.PaginationOptions pagination_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PaginationOptions, datacatalog.Datacatalog.PaginationOptions.Builder, datacatalog.Datacatalog.PaginationOptionsOrBuilder> paginationBuilder_; - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public boolean hasPagination() { - return paginationBuilder_ != null || pagination_ != null; - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public datacatalog.Datacatalog.PaginationOptions getPagination() { - if (paginationBuilder_ == null) { - return pagination_ == null ? datacatalog.Datacatalog.PaginationOptions.getDefaultInstance() : pagination_; - } else { - return paginationBuilder_.getMessage(); - } - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public Builder setPagination(datacatalog.Datacatalog.PaginationOptions value) { - if (paginationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - pagination_ = value; - onChanged(); - } else { - paginationBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public Builder setPagination( - datacatalog.Datacatalog.PaginationOptions.Builder builderForValue) { - if (paginationBuilder_ == null) { - pagination_ = builderForValue.build(); - onChanged(); - } else { - paginationBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public Builder mergePagination(datacatalog.Datacatalog.PaginationOptions value) { - if (paginationBuilder_ == null) { - if (pagination_ != null) { - pagination_ = - datacatalog.Datacatalog.PaginationOptions.newBuilder(pagination_).mergeFrom(value).buildPartial(); - } else { - pagination_ = value; - } - onChanged(); - } else { - paginationBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public Builder clearPagination() { - if (paginationBuilder_ == null) { - pagination_ = null; - onChanged(); - } else { - pagination_ = null; - paginationBuilder_ = null; - } - - return this; - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public datacatalog.Datacatalog.PaginationOptions.Builder getPaginationBuilder() { - - onChanged(); - return getPaginationFieldBuilder().getBuilder(); - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - public datacatalog.Datacatalog.PaginationOptionsOrBuilder getPaginationOrBuilder() { - if (paginationBuilder_ != null) { - return paginationBuilder_.getMessageOrBuilder(); - } else { - return pagination_ == null ? - datacatalog.Datacatalog.PaginationOptions.getDefaultInstance() : pagination_; - } - } - /** - *
-       * Pagination options to get a page of artifacts
-       * 
- * - * .datacatalog.PaginationOptions pagination = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PaginationOptions, datacatalog.Datacatalog.PaginationOptions.Builder, datacatalog.Datacatalog.PaginationOptionsOrBuilder> - getPaginationFieldBuilder() { - if (paginationBuilder_ == null) { - paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PaginationOptions, datacatalog.Datacatalog.PaginationOptions.Builder, datacatalog.Datacatalog.PaginationOptionsOrBuilder>( - getPagination(), - getParentForChildren(), - isClean()); - pagination_ = null; - } - return paginationBuilder_; - } - @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.ListArtifactsRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ListArtifactsRequest) - private static final datacatalog.Datacatalog.ListArtifactsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ListArtifactsRequest(); - } - - public static datacatalog.Datacatalog.ListArtifactsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListArtifactsRequest(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.ListArtifactsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListArtifactsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ListArtifactsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - java.util.List - getArtifactsList(); - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - datacatalog.Datacatalog.Artifact getArtifacts(int index); - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - int getArtifactsCount(); - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - java.util.List - getArtifactsOrBuilderList(); - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - datacatalog.Datacatalog.ArtifactOrBuilder getArtifactsOrBuilder( - int index); - - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - java.lang.String getNextToken(); - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - com.google.protobuf.ByteString - getNextTokenBytes(); - } - /** - *
-   * Response to list artifacts
-   * 
- * - * Protobuf type {@code datacatalog.ListArtifactsResponse} - */ - public static final class ListArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ListArtifactsResponse) - ListArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListArtifactsResponse.newBuilder() to construct. - private ListArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListArtifactsResponse() { - artifacts_ = java.util.Collections.emptyList(); - nextToken_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListArtifactsResponse( - 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)) { - artifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - artifacts_.add( - input.readMessage(datacatalog.Datacatalog.Artifact.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - nextToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - 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_ListArtifactsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListArtifactsResponse.class, datacatalog.Datacatalog.ListArtifactsResponse.Builder.class); - } - - private int bitField0_; - public static final int ARTIFACTS_FIELD_NUMBER = 1; - private java.util.List artifacts_; - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public java.util.List getArtifactsList() { - return artifacts_; - } - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public java.util.List - getArtifactsOrBuilderList() { - return artifacts_; - } - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public int getArtifactsCount() { - return artifacts_.size(); - } - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public datacatalog.Datacatalog.Artifact getArtifacts(int index) { - return artifacts_.get(index); - } - /** - *
-     * The list of artifacts
-     * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public datacatalog.Datacatalog.ArtifactOrBuilder getArtifactsOrBuilder( - int index) { - return artifacts_.get(index); - } - - public static final int NEXT_TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object nextToken_; - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - public java.lang.String getNextToken() { - java.lang.Object ref = nextToken_; - 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(); - nextToken_ = s; - return s; - } - } - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - public com.google.protobuf.ByteString - getNextTokenBytes() { - java.lang.Object ref = nextToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nextToken_ = 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 { - for (int i = 0; i < artifacts_.size(); i++) { - output.writeMessage(1, artifacts_.get(i)); - } - if (!getNextTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextToken_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < artifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, artifacts_.get(i)); - } - if (!getNextTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextToken_); - } - 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.ListArtifactsResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ListArtifactsResponse other = (datacatalog.Datacatalog.ListArtifactsResponse) obj; - - if (!getArtifactsList() - .equals(other.getArtifactsList())) return false; - if (!getNextToken() - .equals(other.getNextToken())) 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 (getArtifactsCount() > 0) { - hash = (37 * hash) + ARTIFACTS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactsList().hashCode(); - } - hash = (37 * hash) + NEXT_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ListArtifactsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListArtifactsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListArtifactsResponse 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.ListArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListArtifactsResponse 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.ListArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListArtifactsResponse 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.ListArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListArtifactsResponse 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.ListArtifactsResponse 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 to list artifacts
-     * 
- * - * Protobuf type {@code datacatalog.ListArtifactsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ListArtifactsResponse) - datacatalog.Datacatalog.ListArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListArtifactsResponse.class, datacatalog.Datacatalog.ListArtifactsResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ListArtifactsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getArtifactsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (artifactsBuilder_ == null) { - artifacts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - artifactsBuilder_.clear(); - } - nextToken_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListArtifactsResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListArtifactsResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.ListArtifactsResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ListArtifactsResponse build() { - datacatalog.Datacatalog.ListArtifactsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListArtifactsResponse buildPartial() { - datacatalog.Datacatalog.ListArtifactsResponse result = new datacatalog.Datacatalog.ListArtifactsResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (artifactsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - artifacts_ = java.util.Collections.unmodifiableList(artifacts_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.artifacts_ = artifacts_; - } else { - result.artifacts_ = artifactsBuilder_.build(); - } - result.nextToken_ = nextToken_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.ListArtifactsResponse) { - return mergeFrom((datacatalog.Datacatalog.ListArtifactsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.ListArtifactsResponse other) { - if (other == datacatalog.Datacatalog.ListArtifactsResponse.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_); - } - } - } - if (!other.getNextToken().isEmpty()) { - nextToken_ = other.nextToken_; - 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.ListArtifactsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ListArtifactsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - 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.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder> artifactsBuilder_; - - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public java.util.List getArtifactsList() { - if (artifactsBuilder_ == null) { - return java.util.Collections.unmodifiableList(artifacts_); - } else { - return artifactsBuilder_.getMessageList(); - } - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public int getArtifactsCount() { - if (artifactsBuilder_ == null) { - return artifacts_.size(); - } else { - return artifactsBuilder_.getCount(); - } - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public datacatalog.Datacatalog.Artifact getArtifacts(int index) { - if (artifactsBuilder_ == null) { - return artifacts_.get(index); - } else { - return artifactsBuilder_.getMessage(index); - } - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder setArtifacts( - int index, datacatalog.Datacatalog.Artifact value) { - if (artifactsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactsIsMutable(); - artifacts_.set(index, value); - onChanged(); - } else { - artifactsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder setArtifacts( - int index, datacatalog.Datacatalog.Artifact.Builder builderForValue) { - if (artifactsBuilder_ == null) { - ensureArtifactsIsMutable(); - artifacts_.set(index, builderForValue.build()); - onChanged(); - } else { - artifactsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder addArtifacts(datacatalog.Datacatalog.Artifact value) { - if (artifactsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactsIsMutable(); - artifacts_.add(value); - onChanged(); - } else { - artifactsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder addArtifacts( - int index, datacatalog.Datacatalog.Artifact value) { - if (artifactsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactsIsMutable(); - artifacts_.add(index, value); - onChanged(); - } else { - artifactsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder addArtifacts( - datacatalog.Datacatalog.Artifact.Builder builderForValue) { - if (artifactsBuilder_ == null) { - ensureArtifactsIsMutable(); - artifacts_.add(builderForValue.build()); - onChanged(); - } else { - artifactsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder addArtifacts( - int index, datacatalog.Datacatalog.Artifact.Builder builderForValue) { - if (artifactsBuilder_ == null) { - ensureArtifactsIsMutable(); - artifacts_.add(index, builderForValue.build()); - onChanged(); - } else { - artifactsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - 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 this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder clearArtifacts() { - if (artifactsBuilder_ == null) { - artifacts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - artifactsBuilder_.clear(); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public Builder removeArtifacts(int index) { - if (artifactsBuilder_ == null) { - ensureArtifactsIsMutable(); - artifacts_.remove(index); - onChanged(); - } else { - artifactsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public datacatalog.Datacatalog.Artifact.Builder getArtifactsBuilder( - int index) { - return getArtifactsFieldBuilder().getBuilder(index); - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public datacatalog.Datacatalog.ArtifactOrBuilder getArtifactsOrBuilder( - int index) { - if (artifactsBuilder_ == null) { - return artifacts_.get(index); } else { - return artifactsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public java.util.List - getArtifactsOrBuilderList() { - if (artifactsBuilder_ != null) { - return artifactsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(artifacts_); - } - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public datacatalog.Datacatalog.Artifact.Builder addArtifactsBuilder() { - return getArtifactsFieldBuilder().addBuilder( - datacatalog.Datacatalog.Artifact.getDefaultInstance()); - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public datacatalog.Datacatalog.Artifact.Builder addArtifactsBuilder( - int index) { - return getArtifactsFieldBuilder().addBuilder( - index, datacatalog.Datacatalog.Artifact.getDefaultInstance()); - } - /** - *
-       * The list of artifacts
-       * 
- * - * repeated .datacatalog.Artifact artifacts = 1; - */ - public java.util.List - getArtifactsBuilderList() { - return getArtifactsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder> - getArtifactsFieldBuilder() { - if (artifactsBuilder_ == null) { - artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Artifact, datacatalog.Datacatalog.Artifact.Builder, datacatalog.Datacatalog.ArtifactOrBuilder>( - artifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - artifacts_ = null; - } - return artifactsBuilder_; - } - - private java.lang.Object nextToken_ = ""; - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public java.lang.String getNextToken() { - java.lang.Object ref = nextToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public com.google.protobuf.ByteString - getNextTokenBytes() { - java.lang.Object ref = nextToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nextToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public Builder setNextToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nextToken_ = value; - onChanged(); - return this; - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public Builder clearNextToken() { - - nextToken_ = getDefaultInstance().getNextToken(); - onChanged(); - return this; - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public Builder setNextTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nextToken_ = 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.ListArtifactsResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ListArtifactsResponse) - private static final datacatalog.Datacatalog.ListArtifactsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ListArtifactsResponse(); - } - - public static datacatalog.Datacatalog.ListArtifactsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListArtifactsResponse(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.ListArtifactsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListDatasetsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ListDatasetsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - boolean hasFilter(); - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - datacatalog.Datacatalog.FilterExpression getFilter(); - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - datacatalog.Datacatalog.FilterExpressionOrBuilder getFilterOrBuilder(); - - /** - *
-     * Pagination options to get a page of datasets
-     * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - boolean hasPagination(); - /** - *
-     * Pagination options to get a page of datasets
-     * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - datacatalog.Datacatalog.PaginationOptions getPagination(); - /** - *
-     * Pagination options to get a page of datasets
-     * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - datacatalog.Datacatalog.PaginationOptionsOrBuilder getPaginationOrBuilder(); - } - /** - *
-   * List the datasets for the given query
-   * 
- * - * Protobuf type {@code datacatalog.ListDatasetsRequest} - */ - public static final class ListDatasetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ListDatasetsRequest) - ListDatasetsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListDatasetsRequest.newBuilder() to construct. - private ListDatasetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListDatasetsRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListDatasetsRequest( - 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.FilterExpression.Builder subBuilder = null; - if (filter_ != null) { - subBuilder = filter_.toBuilder(); - } - filter_ = input.readMessage(datacatalog.Datacatalog.FilterExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(filter_); - filter_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - datacatalog.Datacatalog.PaginationOptions.Builder subBuilder = null; - if (pagination_ != null) { - subBuilder = pagination_.toBuilder(); - } - pagination_ = input.readMessage(datacatalog.Datacatalog.PaginationOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pagination_); - pagination_ = 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_ListDatasetsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListDatasetsRequest.class, datacatalog.Datacatalog.ListDatasetsRequest.Builder.class); - } - - public static final int FILTER_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.FilterExpression filter_; - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public boolean hasFilter() { - return filter_ != null; - } - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public datacatalog.Datacatalog.FilterExpression getFilter() { - return filter_ == null ? datacatalog.Datacatalog.FilterExpression.getDefaultInstance() : filter_; - } - /** - *
-     * Apply the filter expression to this query
-     * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public datacatalog.Datacatalog.FilterExpressionOrBuilder getFilterOrBuilder() { - return getFilter(); - } - - public static final int PAGINATION_FIELD_NUMBER = 2; - private datacatalog.Datacatalog.PaginationOptions pagination_; - /** - *
-     * Pagination options to get a page of datasets
-     * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public boolean hasPagination() { - return pagination_ != null; - } - /** - *
-     * Pagination options to get a page of datasets
-     * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public datacatalog.Datacatalog.PaginationOptions getPagination() { - return pagination_ == null ? datacatalog.Datacatalog.PaginationOptions.getDefaultInstance() : pagination_; - } - /** - *
-     * Pagination options to get a page of datasets
-     * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public datacatalog.Datacatalog.PaginationOptionsOrBuilder getPaginationOrBuilder() { - return getPagination(); - } - - 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 (filter_ != null) { - output.writeMessage(1, getFilter()); - } - if (pagination_ != null) { - output.writeMessage(2, getPagination()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFilter()); - } - if (pagination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPagination()); - } - 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.ListDatasetsRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ListDatasetsRequest other = (datacatalog.Datacatalog.ListDatasetsRequest) obj; - - if (hasFilter() != other.hasFilter()) return false; - if (hasFilter()) { - if (!getFilter() - .equals(other.getFilter())) return false; - } - if (hasPagination() != other.hasPagination()) return false; - if (hasPagination()) { - if (!getPagination() - .equals(other.getPagination())) 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 (hasFilter()) { - hash = (37 * hash) + FILTER_FIELD_NUMBER; - hash = (53 * hash) + getFilter().hashCode(); - } - if (hasPagination()) { - hash = (37 * hash) + PAGINATION_FIELD_NUMBER; - hash = (53 * hash) + getPagination().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ListDatasetsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListDatasetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListDatasetsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListDatasetsRequest 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.ListDatasetsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListDatasetsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListDatasetsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListDatasetsRequest 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.ListDatasetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListDatasetsRequest 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.ListDatasetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListDatasetsRequest 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.ListDatasetsRequest 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 the datasets for the given query
-     * 
- * - * Protobuf type {@code datacatalog.ListDatasetsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ListDatasetsRequest) - datacatalog.Datacatalog.ListDatasetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListDatasetsRequest.class, datacatalog.Datacatalog.ListDatasetsRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ListDatasetsRequest.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 (filterBuilder_ == null) { - filter_ = null; - } else { - filter_ = null; - filterBuilder_ = null; - } - if (paginationBuilder_ == null) { - pagination_ = null; - } else { - pagination_ = null; - paginationBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListDatasetsRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.ListDatasetsRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ListDatasetsRequest build() { - datacatalog.Datacatalog.ListDatasetsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListDatasetsRequest buildPartial() { - datacatalog.Datacatalog.ListDatasetsRequest result = new datacatalog.Datacatalog.ListDatasetsRequest(this); - if (filterBuilder_ == null) { - result.filter_ = filter_; - } else { - result.filter_ = filterBuilder_.build(); - } - if (paginationBuilder_ == null) { - result.pagination_ = pagination_; - } else { - result.pagination_ = paginationBuilder_.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.ListDatasetsRequest) { - return mergeFrom((datacatalog.Datacatalog.ListDatasetsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.ListDatasetsRequest other) { - if (other == datacatalog.Datacatalog.ListDatasetsRequest.getDefaultInstance()) return this; - if (other.hasFilter()) { - mergeFilter(other.getFilter()); - } - if (other.hasPagination()) { - mergePagination(other.getPagination()); - } - 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.ListDatasetsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ListDatasetsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private datacatalog.Datacatalog.FilterExpression filter_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.FilterExpression, datacatalog.Datacatalog.FilterExpression.Builder, datacatalog.Datacatalog.FilterExpressionOrBuilder> filterBuilder_; - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public boolean hasFilter() { - return filterBuilder_ != null || filter_ != null; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public datacatalog.Datacatalog.FilterExpression getFilter() { - if (filterBuilder_ == null) { - return filter_ == null ? datacatalog.Datacatalog.FilterExpression.getDefaultInstance() : filter_; - } else { - return filterBuilder_.getMessage(); - } - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public Builder setFilter(datacatalog.Datacatalog.FilterExpression value) { - if (filterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - filter_ = value; - onChanged(); - } else { - filterBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public Builder setFilter( - datacatalog.Datacatalog.FilterExpression.Builder builderForValue) { - if (filterBuilder_ == null) { - filter_ = builderForValue.build(); - onChanged(); - } else { - filterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public Builder mergeFilter(datacatalog.Datacatalog.FilterExpression value) { - if (filterBuilder_ == null) { - if (filter_ != null) { - filter_ = - datacatalog.Datacatalog.FilterExpression.newBuilder(filter_).mergeFrom(value).buildPartial(); - } else { - filter_ = value; - } - onChanged(); - } else { - filterBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public Builder clearFilter() { - if (filterBuilder_ == null) { - filter_ = null; - onChanged(); - } else { - filter_ = null; - filterBuilder_ = null; - } - - return this; - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public datacatalog.Datacatalog.FilterExpression.Builder getFilterBuilder() { - - onChanged(); - return getFilterFieldBuilder().getBuilder(); - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - public datacatalog.Datacatalog.FilterExpressionOrBuilder getFilterOrBuilder() { - if (filterBuilder_ != null) { - return filterBuilder_.getMessageOrBuilder(); - } else { - return filter_ == null ? - datacatalog.Datacatalog.FilterExpression.getDefaultInstance() : filter_; - } - } - /** - *
-       * Apply the filter expression to this query
-       * 
- * - * .datacatalog.FilterExpression filter = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.FilterExpression, datacatalog.Datacatalog.FilterExpression.Builder, datacatalog.Datacatalog.FilterExpressionOrBuilder> - getFilterFieldBuilder() { - if (filterBuilder_ == null) { - filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.FilterExpression, datacatalog.Datacatalog.FilterExpression.Builder, datacatalog.Datacatalog.FilterExpressionOrBuilder>( - getFilter(), - getParentForChildren(), - isClean()); - filter_ = null; - } - return filterBuilder_; - } - - private datacatalog.Datacatalog.PaginationOptions pagination_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PaginationOptions, datacatalog.Datacatalog.PaginationOptions.Builder, datacatalog.Datacatalog.PaginationOptionsOrBuilder> paginationBuilder_; - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public boolean hasPagination() { - return paginationBuilder_ != null || pagination_ != null; - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public datacatalog.Datacatalog.PaginationOptions getPagination() { - if (paginationBuilder_ == null) { - return pagination_ == null ? datacatalog.Datacatalog.PaginationOptions.getDefaultInstance() : pagination_; - } else { - return paginationBuilder_.getMessage(); - } - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public Builder setPagination(datacatalog.Datacatalog.PaginationOptions value) { - if (paginationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - pagination_ = value; - onChanged(); - } else { - paginationBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public Builder setPagination( - datacatalog.Datacatalog.PaginationOptions.Builder builderForValue) { - if (paginationBuilder_ == null) { - pagination_ = builderForValue.build(); - onChanged(); - } else { - paginationBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public Builder mergePagination(datacatalog.Datacatalog.PaginationOptions value) { - if (paginationBuilder_ == null) { - if (pagination_ != null) { - pagination_ = - datacatalog.Datacatalog.PaginationOptions.newBuilder(pagination_).mergeFrom(value).buildPartial(); - } else { - pagination_ = value; - } - onChanged(); - } else { - paginationBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public Builder clearPagination() { - if (paginationBuilder_ == null) { - pagination_ = null; - onChanged(); - } else { - pagination_ = null; - paginationBuilder_ = null; - } - - return this; - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public datacatalog.Datacatalog.PaginationOptions.Builder getPaginationBuilder() { - - onChanged(); - return getPaginationFieldBuilder().getBuilder(); - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - public datacatalog.Datacatalog.PaginationOptionsOrBuilder getPaginationOrBuilder() { - if (paginationBuilder_ != null) { - return paginationBuilder_.getMessageOrBuilder(); - } else { - return pagination_ == null ? - datacatalog.Datacatalog.PaginationOptions.getDefaultInstance() : pagination_; - } - } - /** - *
-       * Pagination options to get a page of datasets
-       * 
- * - * .datacatalog.PaginationOptions pagination = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PaginationOptions, datacatalog.Datacatalog.PaginationOptions.Builder, datacatalog.Datacatalog.PaginationOptionsOrBuilder> - getPaginationFieldBuilder() { - if (paginationBuilder_ == null) { - paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PaginationOptions, datacatalog.Datacatalog.PaginationOptions.Builder, datacatalog.Datacatalog.PaginationOptionsOrBuilder>( - getPagination(), - getParentForChildren(), - isClean()); - pagination_ = null; - } - return paginationBuilder_; - } - @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.ListDatasetsRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ListDatasetsRequest) - private static final datacatalog.Datacatalog.ListDatasetsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ListDatasetsRequest(); - } - - public static datacatalog.Datacatalog.ListDatasetsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatasetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatasetsRequest(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.ListDatasetsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListDatasetsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ListDatasetsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - java.util.List - getDatasetsList(); - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - datacatalog.Datacatalog.Dataset getDatasets(int index); - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - int getDatasetsCount(); - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - java.util.List - getDatasetsOrBuilderList(); - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - datacatalog.Datacatalog.DatasetOrBuilder getDatasetsOrBuilder( - int index); - - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - java.lang.String getNextToken(); - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - com.google.protobuf.ByteString - getNextTokenBytes(); - } - /** - *
-   * List the datasets response with token for next pagination
-   * 
- * - * Protobuf type {@code datacatalog.ListDatasetsResponse} - */ - public static final class ListDatasetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ListDatasetsResponse) - ListDatasetsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListDatasetsResponse.newBuilder() to construct. - private ListDatasetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListDatasetsResponse() { - datasets_ = java.util.Collections.emptyList(); - nextToken_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListDatasetsResponse( - 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)) { - datasets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - datasets_.add( - input.readMessage(datacatalog.Datacatalog.Dataset.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - nextToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - datasets_ = java.util.Collections.unmodifiableList(datasets_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListDatasetsResponse.class, datacatalog.Datacatalog.ListDatasetsResponse.Builder.class); - } - - private int bitField0_; - public static final int DATASETS_FIELD_NUMBER = 1; - private java.util.List datasets_; - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public java.util.List getDatasetsList() { - return datasets_; - } - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public java.util.List - getDatasetsOrBuilderList() { - return datasets_; - } - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public int getDatasetsCount() { - return datasets_.size(); - } - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public datacatalog.Datacatalog.Dataset getDatasets(int index) { - return datasets_.get(index); - } - /** - *
-     * The list of datasets
-     * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public datacatalog.Datacatalog.DatasetOrBuilder getDatasetsOrBuilder( - int index) { - return datasets_.get(index); - } - - public static final int NEXT_TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object nextToken_; - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - public java.lang.String getNextToken() { - java.lang.Object ref = nextToken_; - 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(); - nextToken_ = s; - return s; - } - } - /** - *
-     * Token to use to request the next page, pass this into the next requests PaginationOptions
-     * 
- * - * string next_token = 2; - */ - public com.google.protobuf.ByteString - getNextTokenBytes() { - java.lang.Object ref = nextToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nextToken_ = 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 { - for (int i = 0; i < datasets_.size(); i++) { - output.writeMessage(1, datasets_.get(i)); - } - if (!getNextTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextToken_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < datasets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, datasets_.get(i)); - } - if (!getNextTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextToken_); - } - 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.ListDatasetsResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ListDatasetsResponse other = (datacatalog.Datacatalog.ListDatasetsResponse) obj; - - if (!getDatasetsList() - .equals(other.getDatasetsList())) return false; - if (!getNextToken() - .equals(other.getNextToken())) 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 (getDatasetsCount() > 0) { - hash = (37 * hash) + DATASETS_FIELD_NUMBER; - hash = (53 * hash) + getDatasetsList().hashCode(); - } - hash = (37 * hash) + NEXT_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ListDatasetsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListDatasetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListDatasetsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListDatasetsResponse 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.ListDatasetsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ListDatasetsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ListDatasetsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListDatasetsResponse 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.ListDatasetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListDatasetsResponse 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.ListDatasetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ListDatasetsResponse 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.ListDatasetsResponse 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 the datasets response with token for next pagination
-     * 
- * - * Protobuf type {@code datacatalog.ListDatasetsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ListDatasetsResponse) - datacatalog.Datacatalog.ListDatasetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ListDatasetsResponse.class, datacatalog.Datacatalog.ListDatasetsResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ListDatasetsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getDatasetsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (datasetsBuilder_ == null) { - datasets_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - datasetsBuilder_.clear(); - } - nextToken_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ListDatasetsResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListDatasetsResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.ListDatasetsResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ListDatasetsResponse build() { - datacatalog.Datacatalog.ListDatasetsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ListDatasetsResponse buildPartial() { - datacatalog.Datacatalog.ListDatasetsResponse result = new datacatalog.Datacatalog.ListDatasetsResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (datasetsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - datasets_ = java.util.Collections.unmodifiableList(datasets_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.datasets_ = datasets_; - } else { - result.datasets_ = datasetsBuilder_.build(); - } - result.nextToken_ = nextToken_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.ListDatasetsResponse) { - return mergeFrom((datacatalog.Datacatalog.ListDatasetsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.ListDatasetsResponse other) { - if (other == datacatalog.Datacatalog.ListDatasetsResponse.getDefaultInstance()) return this; - if (datasetsBuilder_ == null) { - if (!other.datasets_.isEmpty()) { - if (datasets_.isEmpty()) { - datasets_ = other.datasets_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDatasetsIsMutable(); - datasets_.addAll(other.datasets_); - } - onChanged(); - } - } else { - if (!other.datasets_.isEmpty()) { - if (datasetsBuilder_.isEmpty()) { - datasetsBuilder_.dispose(); - datasetsBuilder_ = null; - datasets_ = other.datasets_; - bitField0_ = (bitField0_ & ~0x00000001); - datasetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDatasetsFieldBuilder() : null; - } else { - datasetsBuilder_.addAllMessages(other.datasets_); - } - } - } - if (!other.getNextToken().isEmpty()) { - nextToken_ = other.nextToken_; - 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.ListDatasetsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ListDatasetsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List datasets_ = - java.util.Collections.emptyList(); - private void ensureDatasetsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - datasets_ = new java.util.ArrayList(datasets_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder> datasetsBuilder_; - - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public java.util.List getDatasetsList() { - if (datasetsBuilder_ == null) { - return java.util.Collections.unmodifiableList(datasets_); - } else { - return datasetsBuilder_.getMessageList(); - } - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public int getDatasetsCount() { - if (datasetsBuilder_ == null) { - return datasets_.size(); - } else { - return datasetsBuilder_.getCount(); - } - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public datacatalog.Datacatalog.Dataset getDatasets(int index) { - if (datasetsBuilder_ == null) { - return datasets_.get(index); - } else { - return datasetsBuilder_.getMessage(index); - } - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder setDatasets( - int index, datacatalog.Datacatalog.Dataset value) { - if (datasetsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDatasetsIsMutable(); - datasets_.set(index, value); - onChanged(); - } else { - datasetsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder setDatasets( - int index, datacatalog.Datacatalog.Dataset.Builder builderForValue) { - if (datasetsBuilder_ == null) { - ensureDatasetsIsMutable(); - datasets_.set(index, builderForValue.build()); - onChanged(); - } else { - datasetsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder addDatasets(datacatalog.Datacatalog.Dataset value) { - if (datasetsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDatasetsIsMutable(); - datasets_.add(value); - onChanged(); - } else { - datasetsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder addDatasets( - int index, datacatalog.Datacatalog.Dataset value) { - if (datasetsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDatasetsIsMutable(); - datasets_.add(index, value); - onChanged(); - } else { - datasetsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder addDatasets( - datacatalog.Datacatalog.Dataset.Builder builderForValue) { - if (datasetsBuilder_ == null) { - ensureDatasetsIsMutable(); - datasets_.add(builderForValue.build()); - onChanged(); - } else { - datasetsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder addDatasets( - int index, datacatalog.Datacatalog.Dataset.Builder builderForValue) { - if (datasetsBuilder_ == null) { - ensureDatasetsIsMutable(); - datasets_.add(index, builderForValue.build()); - onChanged(); - } else { - datasetsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder addAllDatasets( - java.lang.Iterable values) { - if (datasetsBuilder_ == null) { - ensureDatasetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, datasets_); - onChanged(); - } else { - datasetsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder clearDatasets() { - if (datasetsBuilder_ == null) { - datasets_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - datasetsBuilder_.clear(); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public Builder removeDatasets(int index) { - if (datasetsBuilder_ == null) { - ensureDatasetsIsMutable(); - datasets_.remove(index); - onChanged(); - } else { - datasetsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public datacatalog.Datacatalog.Dataset.Builder getDatasetsBuilder( - int index) { - return getDatasetsFieldBuilder().getBuilder(index); - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public datacatalog.Datacatalog.DatasetOrBuilder getDatasetsOrBuilder( - int index) { - if (datasetsBuilder_ == null) { - return datasets_.get(index); } else { - return datasetsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public java.util.List - getDatasetsOrBuilderList() { - if (datasetsBuilder_ != null) { - return datasetsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(datasets_); - } - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public datacatalog.Datacatalog.Dataset.Builder addDatasetsBuilder() { - return getDatasetsFieldBuilder().addBuilder( - datacatalog.Datacatalog.Dataset.getDefaultInstance()); - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public datacatalog.Datacatalog.Dataset.Builder addDatasetsBuilder( - int index) { - return getDatasetsFieldBuilder().addBuilder( - index, datacatalog.Datacatalog.Dataset.getDefaultInstance()); - } - /** - *
-       * The list of datasets
-       * 
- * - * repeated .datacatalog.Dataset datasets = 1; - */ - public java.util.List - getDatasetsBuilderList() { - return getDatasetsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder> - getDatasetsFieldBuilder() { - if (datasetsBuilder_ == null) { - datasetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Dataset, datacatalog.Datacatalog.Dataset.Builder, datacatalog.Datacatalog.DatasetOrBuilder>( - datasets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - datasets_ = null; - } - return datasetsBuilder_; - } - - private java.lang.Object nextToken_ = ""; - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public java.lang.String getNextToken() { - java.lang.Object ref = nextToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public com.google.protobuf.ByteString - getNextTokenBytes() { - java.lang.Object ref = nextToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nextToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public Builder setNextToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nextToken_ = value; - onChanged(); - return this; - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public Builder clearNextToken() { - - nextToken_ = getDefaultInstance().getNextToken(); - onChanged(); - return this; - } - /** - *
-       * Token to use to request the next page, pass this into the next requests PaginationOptions
-       * 
- * - * string next_token = 2; - */ - public Builder setNextTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nextToken_ = 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.ListDatasetsResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ListDatasetsResponse) - private static final datacatalog.Datacatalog.ListDatasetsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ListDatasetsResponse(); - } - - public static datacatalog.Datacatalog.ListDatasetsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatasetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDatasetsResponse(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.ListDatasetsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UpdateArtifactRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.UpdateArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * ID of dataset the artifact is associated with
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - boolean hasDataset(); - /** - *
-     * ID of dataset the artifact is associated with
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetID getDataset(); - /** - *
-     * ID of dataset the artifact is associated with
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder(); - - /** - * 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(); - /** - * string tag_name = 3; - */ - com.google.protobuf.ByteString - getTagNameBytes(); - - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - java.util.List - getDataList(); - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - datacatalog.Datacatalog.ArtifactData getData(int index); - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - int getDataCount(); - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - java.util.List - getDataOrBuilderList(); - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( - int index); - - /** - *
-     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-     * 
- * - * .datacatalog.Metadata metadata = 5; - */ - boolean hasMetadata(); - /** - *
-     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-     * 
- * - * .datacatalog.Metadata metadata = 5; - */ - datacatalog.Datacatalog.Metadata getMetadata(); - /** - *
-     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-     * 
- * - * .datacatalog.Metadata metadata = 5; - */ - datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder(); - - public datacatalog.Datacatalog.UpdateArtifactRequest.QueryHandleCase getQueryHandleCase(); - } - /** - *
-   * Request message for updating an Artifact and overwriting its associated ArtifactData.
-   * 
- * - * Protobuf type {@code datacatalog.UpdateArtifactRequest} - */ - public static final class UpdateArtifactRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.UpdateArtifactRequest) - UpdateArtifactRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use UpdateArtifactRequest.newBuilder() to construct. - private UpdateArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UpdateArtifactRequest() { - data_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UpdateArtifactRequest( - 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 (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - queryHandleCase_ = 2; - queryHandle_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - queryHandleCase_ = 3; - queryHandle_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - data_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - data_.add( - input.readMessage(datacatalog.Datacatalog.ArtifactData.parser(), extensionRegistry)); - break; - } - case 42: { - 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 { - if (((mutable_bitField0_ & 0x00000008) != 0)) { - data_ = java.util.Collections.unmodifiableList(data_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.UpdateArtifactRequest.class, datacatalog.Datacatalog.UpdateArtifactRequest.Builder.class); - } - - private int bitField0_; - 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_; - /** - *
-     * ID of dataset the artifact is associated with
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - *
-     * ID of dataset the artifact is associated with
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - /** - *
-     * ID of dataset the artifact is associated with
-     * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 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 = ""; - 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(); - if (queryHandleCase_ == 3) { - queryHandle_ = s; - } - return s; - } - } - /** - * string tag_name = 3; - */ - public com.google.protobuf.ByteString - getTagNameBytes() { - 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); - if (queryHandleCase_ == 3) { - queryHandle_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATA_FIELD_NUMBER = 4; - private java.util.List data_; - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public java.util.List getDataList() { - return data_; - } - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public java.util.List - getDataOrBuilderList() { - return data_; - } - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public int getDataCount() { - return data_.size(); - } - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public datacatalog.Datacatalog.ArtifactData getData(int index) { - return data_.get(index); - } - /** - *
-     * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-     * ArtifactData entries will be removed from the underlying blob storage and database.
-     * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( - int index) { - return data_.get(index); - } - - public static final int METADATA_FIELD_NUMBER = 5; - private datacatalog.Datacatalog.Metadata metadata_; - /** - *
-     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-     * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-     * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public datacatalog.Datacatalog.Metadata getMetadata() { - return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-     * 
- * - * .datacatalog.Metadata metadata = 5; - */ - 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 (dataset_ != null) { - output.writeMessage(1, getDataset()); - } - if (queryHandleCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryHandle_); - } - if (queryHandleCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, queryHandle_); - } - for (int i = 0; i < data_.size(); i++) { - output.writeMessage(4, data_.get(i)); - } - if (metadata_ != null) { - output.writeMessage(5, getMetadata()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataset()); - } - if (queryHandleCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryHandle_); - } - if (queryHandleCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, queryHandle_); - } - for (int i = 0; i < data_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, data_.get(i)); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, 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.UpdateArtifactRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.UpdateArtifactRequest other = (datacatalog.Datacatalog.UpdateArtifactRequest) obj; - - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) return false; - } - if (!getDataList() - .equals(other.getDataList())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - 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) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasDataset()) { - hash = (37 * hash) + DATASET_FIELD_NUMBER; - hash = (53 * hash) + getDataset().hashCode(); - } - if (getDataCount() > 0) { - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + getDataList().hashCode(); - } - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().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 = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.UpdateArtifactRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest 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.UpdateArtifactRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest 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.UpdateArtifactRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest 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.UpdateArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.UpdateArtifactRequest 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.UpdateArtifactRequest 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 updating an Artifact and overwriting its associated ArtifactData.
-     * 
- * - * Protobuf type {@code datacatalog.UpdateArtifactRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.UpdateArtifactRequest) - datacatalog.Datacatalog.UpdateArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.UpdateArtifactRequest.class, datacatalog.Datacatalog.UpdateArtifactRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.UpdateArtifactRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getDataFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - if (dataBuilder_ == null) { - data_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - dataBuilder_.clear(); - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - queryHandleCase_ = 0; - queryHandle_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.UpdateArtifactRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.UpdateArtifactRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.UpdateArtifactRequest build() { - datacatalog.Datacatalog.UpdateArtifactRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.UpdateArtifactRequest buildPartial() { - datacatalog.Datacatalog.UpdateArtifactRequest result = new datacatalog.Datacatalog.UpdateArtifactRequest(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.build(); - } - if (queryHandleCase_ == 2) { - result.queryHandle_ = queryHandle_; - } - if (queryHandleCase_ == 3) { - result.queryHandle_ = queryHandle_; - } - if (dataBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - data_ = java.util.Collections.unmodifiableList(data_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.data_ = data_; - } else { - result.data_ = dataBuilder_.build(); - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - result.queryHandleCase_ = queryHandleCase_; - 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.UpdateArtifactRequest) { - return mergeFrom((datacatalog.Datacatalog.UpdateArtifactRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.UpdateArtifactRequest other) { - if (other == datacatalog.Datacatalog.UpdateArtifactRequest.getDefaultInstance()) return this; - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - if (dataBuilder_ == null) { - if (!other.data_.isEmpty()) { - if (data_.isEmpty()) { - data_ = other.data_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureDataIsMutable(); - data_.addAll(other.data_); - } - onChanged(); - } - } else { - if (!other.data_.isEmpty()) { - if (dataBuilder_.isEmpty()) { - dataBuilder_.dispose(); - dataBuilder_ = null; - data_ = other.data_; - bitField0_ = (bitField0_ & ~0x00000008); - dataBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataFieldBuilder() : null; - } else { - dataBuilder_.addAllMessages(other.data_); - } - } - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - 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(); - 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.UpdateArtifactRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.UpdateArtifactRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int queryHandleCase_ = 0; - private java.lang.Object queryHandle_; - public QueryHandleCase - getQueryHandleCase() { - return QueryHandleCase.forNumber( - queryHandleCase_); - } - - public Builder clearQueryHandle() { - queryHandleCase_ = 0; - queryHandle_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private datacatalog.Datacatalog.DatasetID dataset_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetBuilder_; - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder setDataset( - datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder mergeDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.DatasetID.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetID.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - } - /** - *
-       * ID of dataset the artifact is associated with
-       * 
- * - * .datacatalog.DatasetID dataset = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - - /** - * 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 = ""; - 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(); - if (queryHandleCase_ == 3) { - queryHandle_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string tag_name = 3; - */ - public com.google.protobuf.ByteString - getTagNameBytes() { - 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); - if (queryHandleCase_ == 3) { - queryHandle_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string tag_name = 3; - */ - public Builder setTagName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - queryHandleCase_ = 3; - queryHandle_ = value; - onChanged(); - return this; - } - /** - * string tag_name = 3; - */ - public Builder clearTagName() { - if (queryHandleCase_ == 3) { - queryHandleCase_ = 0; - queryHandle_ = null; - onChanged(); - } - return this; - } - /** - * string tag_name = 3; - */ - public Builder setTagNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - queryHandleCase_ = 3; - queryHandle_ = value; - onChanged(); - return this; - } - - private java.util.List data_ = - java.util.Collections.emptyList(); - private void ensureDataIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - data_ = new java.util.ArrayList(data_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.ArtifactData, datacatalog.Datacatalog.ArtifactData.Builder, datacatalog.Datacatalog.ArtifactDataOrBuilder> dataBuilder_; - - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public java.util.List getDataList() { - if (dataBuilder_ == null) { - return java.util.Collections.unmodifiableList(data_); - } else { - return dataBuilder_.getMessageList(); - } - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public int getDataCount() { - if (dataBuilder_ == null) { - return data_.size(); - } else { - return dataBuilder_.getCount(); - } - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public datacatalog.Datacatalog.ArtifactData getData(int index) { - if (dataBuilder_ == null) { - return data_.get(index); - } else { - return dataBuilder_.getMessage(index); - } - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder setData( - int index, datacatalog.Datacatalog.ArtifactData value) { - if (dataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDataIsMutable(); - data_.set(index, value); - onChanged(); - } else { - dataBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder setData( - int index, datacatalog.Datacatalog.ArtifactData.Builder builderForValue) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.set(index, builderForValue.build()); - onChanged(); - } else { - dataBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder addData(datacatalog.Datacatalog.ArtifactData value) { - if (dataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDataIsMutable(); - data_.add(value); - onChanged(); - } else { - dataBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder addData( - int index, datacatalog.Datacatalog.ArtifactData value) { - if (dataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDataIsMutable(); - data_.add(index, value); - onChanged(); - } else { - dataBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder addData( - datacatalog.Datacatalog.ArtifactData.Builder builderForValue) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.add(builderForValue.build()); - onChanged(); - } else { - dataBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder addData( - int index, datacatalog.Datacatalog.ArtifactData.Builder builderForValue) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.add(index, builderForValue.build()); - onChanged(); - } else { - dataBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder addAllData( - java.lang.Iterable values) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, data_); - onChanged(); - } else { - dataBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder clearData() { - if (dataBuilder_ == null) { - data_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - dataBuilder_.clear(); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public Builder removeData(int index) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.remove(index); - onChanged(); - } else { - dataBuilder_.remove(index); - } - return this; - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public datacatalog.Datacatalog.ArtifactData.Builder getDataBuilder( - int index) { - return getDataFieldBuilder().getBuilder(index); - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( - int index) { - if (dataBuilder_ == null) { - return data_.get(index); } else { - return dataBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public java.util.List - getDataOrBuilderList() { - if (dataBuilder_ != null) { - return dataBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(data_); - } - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public datacatalog.Datacatalog.ArtifactData.Builder addDataBuilder() { - return getDataFieldBuilder().addBuilder( - datacatalog.Datacatalog.ArtifactData.getDefaultInstance()); - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public datacatalog.Datacatalog.ArtifactData.Builder addDataBuilder( - int index) { - return getDataFieldBuilder().addBuilder( - index, datacatalog.Datacatalog.ArtifactData.getDefaultInstance()); - } - /** - *
-       * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
-       * ArtifactData entries will be removed from the underlying blob storage and database.
-       * 
- * - * repeated .datacatalog.ArtifactData data = 4; - */ - public java.util.List - getDataBuilderList() { - return getDataFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.ArtifactData, datacatalog.Datacatalog.ArtifactData.Builder, datacatalog.Datacatalog.ArtifactDataOrBuilder> - getDataFieldBuilder() { - if (dataBuilder_ == null) { - dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.ArtifactData, datacatalog.Datacatalog.ArtifactData.Builder, datacatalog.Datacatalog.ArtifactDataOrBuilder>( - data_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - data_ = null; - } - return dataBuilder_; - } - - private datacatalog.Datacatalog.Metadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder> metadataBuilder_; - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public datacatalog.Datacatalog.Metadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - 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; - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public Builder setMetadata( - datacatalog.Datacatalog.Metadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - 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; - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public datacatalog.Datacatalog.Metadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
-       * 
- * - * .datacatalog.Metadata metadata = 5; - */ - 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.UpdateArtifactRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.UpdateArtifactRequest) - private static final datacatalog.Datacatalog.UpdateArtifactRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.UpdateArtifactRequest(); - } - - public static datacatalog.Datacatalog.UpdateArtifactRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateArtifactRequest(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.UpdateArtifactRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UpdateArtifactResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.UpdateArtifactResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The unique ID of the artifact updated
-     * 
- * - * string artifact_id = 1; - */ - java.lang.String getArtifactId(); - /** - *
-     * The unique ID of the artifact updated
-     * 
- * - * string artifact_id = 1; - */ - com.google.protobuf.ByteString - getArtifactIdBytes(); - } - /** - *
-   * Response message for updating an Artifact.
-   * 
- * - * Protobuf type {@code datacatalog.UpdateArtifactResponse} - */ - public static final class UpdateArtifactResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.UpdateArtifactResponse) - UpdateArtifactResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use UpdateArtifactResponse.newBuilder() to construct. - private UpdateArtifactResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UpdateArtifactResponse() { - artifactId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UpdateArtifactResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - artifactId_ = 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_UpdateArtifactResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.UpdateArtifactResponse.class, datacatalog.Datacatalog.UpdateArtifactResponse.Builder.class); - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object artifactId_; - /** - *
-     * The unique ID of the artifact updated
-     * 
- * - * string artifact_id = 1; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = artifactId_; - 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(); - artifactId_ = s; - return s; - } - } - /** - *
-     * The unique ID of the artifact updated
-     * 
- * - * string artifact_id = 1; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = artifactId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - artifactId_ = 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 (!getArtifactIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getArtifactIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, artifactId_); - } - 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.UpdateArtifactResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.UpdateArtifactResponse other = (datacatalog.Datacatalog.UpdateArtifactResponse) obj; - - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; - hash = (53 * hash) + getArtifactId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.UpdateArtifactResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse 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.UpdateArtifactResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse 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.UpdateArtifactResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse 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.UpdateArtifactResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.UpdateArtifactResponse 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.UpdateArtifactResponse 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 message for updating an Artifact.
-     * 
- * - * Protobuf type {@code datacatalog.UpdateArtifactResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.UpdateArtifactResponse) - datacatalog.Datacatalog.UpdateArtifactResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.UpdateArtifactResponse.class, datacatalog.Datacatalog.UpdateArtifactResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.UpdateArtifactResponse.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(); - artifactId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_UpdateArtifactResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.UpdateArtifactResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.UpdateArtifactResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.UpdateArtifactResponse build() { - datacatalog.Datacatalog.UpdateArtifactResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.UpdateArtifactResponse buildPartial() { - datacatalog.Datacatalog.UpdateArtifactResponse result = new datacatalog.Datacatalog.UpdateArtifactResponse(this); - result.artifactId_ = artifactId_; - 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.UpdateArtifactResponse) { - return mergeFrom((datacatalog.Datacatalog.UpdateArtifactResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.UpdateArtifactResponse other) { - if (other == datacatalog.Datacatalog.UpdateArtifactResponse.getDefaultInstance()) return this; - if (!other.getArtifactId().isEmpty()) { - artifactId_ = other.artifactId_; - 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.UpdateArtifactResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.UpdateArtifactResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object artifactId_ = ""; - /** - *
-       * The unique ID of the artifact updated
-       * 
- * - * string artifact_id = 1; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = artifactId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - artifactId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The unique ID of the artifact updated
-       * 
- * - * string artifact_id = 1; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = artifactId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - artifactId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The unique ID of the artifact updated
-       * 
- * - * string artifact_id = 1; - */ - public Builder setArtifactId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - artifactId_ = value; - onChanged(); - return this; - } - /** - *
-       * The unique ID of the artifact updated
-       * 
- * - * string artifact_id = 1; - */ - public Builder clearArtifactId() { - - artifactId_ = getDefaultInstance().getArtifactId(); - onChanged(); - return this; - } - /** - *
-       * The unique ID of the artifact updated
-       * 
- * - * string artifact_id = 1; - */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - artifactId_ = 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.UpdateArtifactResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.UpdateArtifactResponse) - private static final datacatalog.Datacatalog.UpdateArtifactResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.UpdateArtifactResponse(); - } - - public static datacatalog.Datacatalog.UpdateArtifactResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateArtifactResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateArtifactResponse(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.UpdateArtifactResponse 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 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 ReleaseReservationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ReleaseReservationRequest) - 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(); - } - /** - *
-   * Request to release reservation
-   * 
- * - * Protobuf type {@code datacatalog.ReleaseReservationRequest} - */ - public static final class ReleaseReservationRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ReleaseReservationRequest) - ReleaseReservationRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ReleaseReservationRequest.newBuilder() to construct. - private ReleaseReservationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ReleaseReservationRequest() { - ownerId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ReleaseReservationRequest( - 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; - } - 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_ReleaseReservationRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReleaseReservationRequest.class, datacatalog.Datacatalog.ReleaseReservationRequest.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; - } - } - - 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_); - } - 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_); - } - 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.ReleaseReservationRequest)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ReleaseReservationRequest other = (datacatalog.Datacatalog.ReleaseReservationRequest) obj; - - 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; - } - - @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(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - 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.ReleaseReservationRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - 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.ReleaseReservationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - 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.ReleaseReservationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - 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.ReleaseReservationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - 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.ReleaseReservationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ReleaseReservationRequest 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.ReleaseReservationRequest 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 to release reservation
-     * 
- * - * Protobuf type {@code datacatalog.ReleaseReservationRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@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_ReleaseReservationRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReleaseReservationRequest.class, datacatalog.Datacatalog.ReleaseReservationRequest.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ReleaseReservationRequest.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_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.ReleaseReservationRequest.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationRequest build() { - datacatalog.Datacatalog.ReleaseReservationRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationRequest buildPartial() { - datacatalog.Datacatalog.ReleaseReservationRequest result = new datacatalog.Datacatalog.ReleaseReservationRequest(this); - if (reservationIdBuilder_ == null) { - result.reservationId_ = reservationId_; - } else { - result.reservationId_ = reservationIdBuilder_.build(); - } - result.ownerId_ = ownerId_; - 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.ReleaseReservationRequest) { - return mergeFrom((datacatalog.Datacatalog.ReleaseReservationRequest)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(); - } - 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.ReleaseReservationRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ReleaseReservationRequest) 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; - } - @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.ReleaseReservationRequest) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationRequest) - private static final datacatalog.Datacatalog.ReleaseReservationRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ReleaseReservationRequest(); - } - - public static datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseReservationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReleaseReservationRequest(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.ReleaseReservationRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ReleaseReservationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ReleaseReservationResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Response to release reservation
-   * 
- * - * Protobuf type {@code datacatalog.ReleaseReservationResponse} - */ - public static final class ReleaseReservationResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ReleaseReservationResponse) - ReleaseReservationResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ReleaseReservationResponse.newBuilder() to construct. - private ReleaseReservationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ReleaseReservationResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ReleaseReservationResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReleaseReservationResponse.class, datacatalog.Datacatalog.ReleaseReservationResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof datacatalog.Datacatalog.ReleaseReservationResponse)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ReleaseReservationResponse other = (datacatalog.Datacatalog.ReleaseReservationResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ReleaseReservationResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse 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.ReleaseReservationResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse 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.ReleaseReservationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse 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.ReleaseReservationResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ReleaseReservationResponse 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.ReleaseReservationResponse 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 to release reservation
-     * 
- * - * Protobuf type {@code datacatalog.ReleaseReservationResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ReleaseReservationResponse) - datacatalog.Datacatalog.ReleaseReservationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReleaseReservationResponse.class, datacatalog.Datacatalog.ReleaseReservationResponse.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ReleaseReservationResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationResponse_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.ReleaseReservationResponse.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationResponse build() { - datacatalog.Datacatalog.ReleaseReservationResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationResponse buildPartial() { - datacatalog.Datacatalog.ReleaseReservationResponse result = new datacatalog.Datacatalog.ReleaseReservationResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.ReleaseReservationResponse) { - return mergeFrom((datacatalog.Datacatalog.ReleaseReservationResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.ReleaseReservationResponse other) { - if (other == datacatalog.Datacatalog.ReleaseReservationResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - datacatalog.Datacatalog.ReleaseReservationResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ReleaseReservationResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datacatalog.ReleaseReservationResponse) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationResponse) - private static final datacatalog.Datacatalog.ReleaseReservationResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ReleaseReservationResponse(); - } - - public static datacatalog.Datacatalog.ReleaseReservationResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseReservationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReleaseReservationResponse(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.ReleaseReservationResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DatasetOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.Dataset) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.DatasetID id = 1; - */ - boolean hasId(); - /** - * .datacatalog.DatasetID id = 1; - */ - datacatalog.Datacatalog.DatasetID getId(); - /** - * .datacatalog.DatasetID id = 1; - */ - datacatalog.Datacatalog.DatasetIDOrBuilder getIdOrBuilder(); - - /** - * .datacatalog.Metadata metadata = 2; - */ - boolean hasMetadata(); - /** - * .datacatalog.Metadata metadata = 2; - */ - datacatalog.Datacatalog.Metadata getMetadata(); - /** - * .datacatalog.Metadata metadata = 2; - */ - datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder(); - - /** - * repeated string partitionKeys = 3; - */ - java.util.List - getPartitionKeysList(); - /** - * repeated string partitionKeys = 3; - */ - int getPartitionKeysCount(); - /** - * repeated string partitionKeys = 3; - */ - java.lang.String getPartitionKeys(int index); - /** - * repeated string partitionKeys = 3; - */ - com.google.protobuf.ByteString - getPartitionKeysBytes(int index); - } - /** - *
-   * Dataset message. It is uniquely identified by DatasetID.
-   * 
- * - * Protobuf type {@code datacatalog.Dataset} - */ - public static final class Dataset extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.Dataset) - DatasetOrBuilder { - private static final long serialVersionUID = 0L; - // Use Dataset.newBuilder() to construct. - private Dataset(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Dataset() { - partitionKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Dataset( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - 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; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - partitionKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - partitionKeys_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - partitionKeys_ = partitionKeys_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Dataset_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Dataset_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Dataset.class, datacatalog.Datacatalog.Dataset.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.DatasetID id_; - /** - * .datacatalog.DatasetID id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - * .datacatalog.DatasetID id = 1; - */ - public datacatalog.Datacatalog.DatasetID getId() { - return id_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : id_; - } - /** - * .datacatalog.DatasetID id = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int METADATA_FIELD_NUMBER = 2; - private datacatalog.Datacatalog.Metadata metadata_; - /** - * .datacatalog.Metadata metadata = 2; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - * .datacatalog.Metadata metadata = 2; - */ - public datacatalog.Datacatalog.Metadata getMetadata() { - return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } - /** - * .datacatalog.Metadata metadata = 2; - */ - public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int PARTITIONKEYS_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList partitionKeys_; - /** - * repeated string partitionKeys = 3; - */ - public com.google.protobuf.ProtocolStringList - getPartitionKeysList() { - return partitionKeys_; - } - /** - * repeated string partitionKeys = 3; - */ - public int getPartitionKeysCount() { - return partitionKeys_.size(); - } - /** - * repeated string partitionKeys = 3; - */ - public java.lang.String getPartitionKeys(int index) { - return partitionKeys_.get(index); - } - /** - * repeated string partitionKeys = 3; - */ - public com.google.protobuf.ByteString - getPartitionKeysBytes(int index) { - return partitionKeys_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (metadata_ != null) { - output.writeMessage(2, getMetadata()); - } - for (int i = 0; i < partitionKeys_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, partitionKeys_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMetadata()); - } - { - int dataSize = 0; - for (int i = 0; i < partitionKeys_.size(); i++) { - dataSize += computeStringSizeNoTag(partitionKeys_.getRaw(i)); - } - size += dataSize; - size += 1 * getPartitionKeysList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof datacatalog.Datacatalog.Dataset)) { - return super.equals(obj); - } - datacatalog.Datacatalog.Dataset other = (datacatalog.Datacatalog.Dataset) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (!getPartitionKeysList() - .equals(other.getPartitionKeysList())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (getPartitionKeysCount() > 0) { - hash = (37 * hash) + PARTITIONKEYS_FIELD_NUMBER; - hash = (53 * hash) + getPartitionKeysList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.Dataset parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Dataset parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Dataset parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Dataset 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.Dataset parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Dataset parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Dataset parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Dataset 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.Dataset parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Dataset 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.Dataset parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Dataset 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.Dataset 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; - } - /** - *
-     * Dataset message. It is uniquely identified by DatasetID.
-     * 
- * - * Protobuf type {@code datacatalog.Dataset} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.Dataset) - datacatalog.Datacatalog.DatasetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Dataset_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Dataset_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Dataset.class, datacatalog.Datacatalog.Dataset.Builder.class); - } - - // Construct using datacatalog.Datacatalog.Dataset.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - partitionKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_Dataset_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.Dataset getDefaultInstanceForType() { - return datacatalog.Datacatalog.Dataset.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.Dataset build() { - datacatalog.Datacatalog.Dataset result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.Dataset buildPartial() { - datacatalog.Datacatalog.Dataset result = new datacatalog.Datacatalog.Dataset(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (((bitField0_ & 0x00000004) != 0)) { - partitionKeys_ = partitionKeys_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.partitionKeys_ = partitionKeys_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.Dataset) { - return mergeFrom((datacatalog.Datacatalog.Dataset)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.Dataset other) { - if (other == datacatalog.Datacatalog.Dataset.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (!other.partitionKeys_.isEmpty()) { - if (partitionKeys_.isEmpty()) { - partitionKeys_ = other.partitionKeys_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensurePartitionKeysIsMutable(); - partitionKeys_.addAll(other.partitionKeys_); - } - 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.Dataset parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.Dataset) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private datacatalog.Datacatalog.DatasetID id_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> idBuilder_; - /** - * .datacatalog.DatasetID id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .datacatalog.DatasetID id = 1; - */ - public datacatalog.Datacatalog.DatasetID getId() { - if (idBuilder_ == null) { - return id_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .datacatalog.DatasetID id = 1; - */ - public Builder setId(datacatalog.Datacatalog.DatasetID value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .datacatalog.DatasetID id = 1; - */ - public Builder setId( - datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.DatasetID id = 1; - */ - public Builder mergeId(datacatalog.Datacatalog.DatasetID value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - datacatalog.Datacatalog.DatasetID.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .datacatalog.DatasetID id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.DatasetID id = 1; - */ - public datacatalog.Datacatalog.DatasetID.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .datacatalog.DatasetID id = 1; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : id_; - } - } - /** - * .datacatalog.DatasetID id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private datacatalog.Datacatalog.Metadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder> metadataBuilder_; - /** - * .datacatalog.Metadata metadata = 2; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - * .datacatalog.Metadata metadata = 2; - */ - public datacatalog.Datacatalog.Metadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - * .datacatalog.Metadata metadata = 2; - */ - 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; - } - /** - * .datacatalog.Metadata metadata = 2; - */ - public Builder setMetadata( - datacatalog.Datacatalog.Metadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .datacatalog.Metadata metadata = 2; - */ - 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; - } - /** - * .datacatalog.Metadata metadata = 2; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - * .datacatalog.Metadata metadata = 2; - */ - public datacatalog.Datacatalog.Metadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - * .datacatalog.Metadata metadata = 2; - */ - public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } - } - /** - * .datacatalog.Metadata metadata = 2; - */ - 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_; - } - - private com.google.protobuf.LazyStringList partitionKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensurePartitionKeysIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - partitionKeys_ = new com.google.protobuf.LazyStringArrayList(partitionKeys_); - bitField0_ |= 0x00000004; - } - } - /** - * repeated string partitionKeys = 3; - */ - public com.google.protobuf.ProtocolStringList - getPartitionKeysList() { - return partitionKeys_.getUnmodifiableView(); - } - /** - * repeated string partitionKeys = 3; - */ - public int getPartitionKeysCount() { - return partitionKeys_.size(); - } - /** - * repeated string partitionKeys = 3; - */ - public java.lang.String getPartitionKeys(int index) { - return partitionKeys_.get(index); - } - /** - * repeated string partitionKeys = 3; - */ - public com.google.protobuf.ByteString - getPartitionKeysBytes(int index) { - return partitionKeys_.getByteString(index); - } - /** - * repeated string partitionKeys = 3; - */ - public Builder setPartitionKeys( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartitionKeysIsMutable(); - partitionKeys_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string partitionKeys = 3; - */ - public Builder addPartitionKeys( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartitionKeysIsMutable(); - partitionKeys_.add(value); - onChanged(); - return this; - } - /** - * repeated string partitionKeys = 3; - */ - public Builder addAllPartitionKeys( - java.lang.Iterable values) { - ensurePartitionKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, partitionKeys_); - onChanged(); - return this; - } - /** - * repeated string partitionKeys = 3; - */ - public Builder clearPartitionKeys() { - partitionKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * repeated string partitionKeys = 3; - */ - public Builder addPartitionKeysBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePartitionKeysIsMutable(); - partitionKeys_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datacatalog.Dataset) - } - - // @@protoc_insertion_point(class_scope:datacatalog.Dataset) - private static final datacatalog.Datacatalog.Dataset DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.Dataset(); - } - - public static datacatalog.Datacatalog.Dataset getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Dataset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Dataset(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.Dataset getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PartitionOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.Partition) - com.google.protobuf.MessageOrBuilder { - - /** - * string key = 1; - */ - java.lang.String getKey(); - /** - * string key = 1; - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - * string value = 2; - */ - java.lang.String getValue(); - /** - * string value = 2; - */ - com.google.protobuf.ByteString - getValueBytes(); - } - /** - *
-   * An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair
-   * 
- * - * Protobuf type {@code datacatalog.Partition} - */ - public static final class Partition extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.Partition) - PartitionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Partition.newBuilder() to construct. - private Partition(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Partition() { - key_ = ""; - value_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Partition( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = 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_Partition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Partition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Partition.class, datacatalog.Datacatalog.Partition.Builder.class); - } - - public static final int KEY_FIELD_NUMBER = 1; - private volatile java.lang.Object key_; - /** - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - 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(); - key_ = s; - return s; - } - } - /** - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - /** - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - 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(); - value_ = s; - return s; - } - } - /** - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = 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 (!getKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); - } - if (!getValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); - } - if (!getValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - 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.Partition)) { - return super.equals(obj); - } - datacatalog.Datacatalog.Partition other = (datacatalog.Datacatalog.Partition) obj; - - if (!getKey() - .equals(other.getKey())) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.Partition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Partition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Partition parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Partition 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.Partition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Partition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Partition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Partition 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.Partition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Partition 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.Partition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Partition 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.Partition 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; - } - /** - *
-     * An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair
-     * 
- * - * Protobuf type {@code datacatalog.Partition} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.Partition) - datacatalog.Datacatalog.PartitionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Partition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Partition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Partition.class, datacatalog.Datacatalog.Partition.Builder.class); - } - - // Construct using datacatalog.Datacatalog.Partition.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(); - key_ = ""; - - value_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_Partition_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.Partition getDefaultInstanceForType() { - return datacatalog.Datacatalog.Partition.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.Partition build() { - datacatalog.Datacatalog.Partition result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.Partition buildPartial() { - datacatalog.Datacatalog.Partition result = new datacatalog.Datacatalog.Partition(this); - result.key_ = key_; - result.value_ = value_; - 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.Partition) { - return mergeFrom((datacatalog.Datacatalog.Partition)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.Partition other) { - if (other == datacatalog.Datacatalog.Partition.getDefaultInstance()) return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - 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.Partition parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.Partition) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object key_ = ""; - /** - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string key = 1; - */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - key_ = value; - onChanged(); - return this; - } - /** - * string key = 1; - */ - public Builder clearKey() { - - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - * string key = 1; - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - key_ = value; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - /** - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string value = 2; - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - value_ = value; - onChanged(); - return this; - } - /** - * string value = 2; - */ - public Builder clearValue() { - - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - * string value = 2; - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - value_ = 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.Partition) - } - - // @@protoc_insertion_point(class_scope:datacatalog.Partition) - private static final datacatalog.Datacatalog.Partition DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.Partition(); - } - - public static datacatalog.Datacatalog.Partition getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Partition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Partition(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.Partition getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DatasetIDOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.DatasetID) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The name of the project
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * The name of the project
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * The name of the dataset
-     * 
- * - * string name = 2; - */ - java.lang.String getName(); - /** - *
-     * The name of the dataset
-     * 
- * - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * The domain (eg. environment)
-     * 
- * - * string domain = 3; - */ - java.lang.String getDomain(); - /** - *
-     * The domain (eg. environment)
-     * 
- * - * string domain = 3; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Version of the data schema
-     * 
- * - * string version = 4; - */ - java.lang.String getVersion(); - /** - *
-     * Version of the data schema
-     * 
- * - * string version = 4; - */ - com.google.protobuf.ByteString - getVersionBytes(); - - /** - *
-     * UUID for the dataset (if set the above fields are optional)
-     * 
- * - * string UUID = 5; - */ - java.lang.String getUUID(); - /** - *
-     * UUID for the dataset (if set the above fields are optional)
-     * 
- * - * string UUID = 5; - */ - com.google.protobuf.ByteString - getUUIDBytes(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * DatasetID message that is composed of several string fields.
-   * 
- * - * Protobuf type {@code datacatalog.DatasetID} - */ - public static final class DatasetID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.DatasetID) - DatasetIDOrBuilder { - private static final long serialVersionUID = 0L; - // Use DatasetID.newBuilder() to construct. - private DatasetID(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DatasetID() { - project_ = ""; - name_ = ""; - domain_ = ""; - version_ = ""; - uUID_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DatasetID( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - uUID_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = 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_DatasetID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.DatasetID.class, datacatalog.Datacatalog.DatasetID.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * The name of the project
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * The name of the project
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - *
-     * The name of the dataset
-     * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * The name of the dataset
-     * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 3; - private volatile java.lang.Object domain_; - /** - *
-     * The domain (eg. environment)
-     * 
- * - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * The domain (eg. environment)
-     * 
- * - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VERSION_FIELD_NUMBER = 4; - private volatile java.lang.Object version_; - /** - *
-     * Version of the data schema
-     * 
- * - * string version = 4; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - 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(); - version_ = s; - return s; - } - } - /** - *
-     * Version of the data schema
-     * 
- * - * string version = 4; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int UUID_FIELD_NUMBER = 5; - private volatile java.lang.Object uUID_; - /** - *
-     * UUID for the dataset (if set the above fields are optional)
-     * 
- * - * string UUID = 5; - */ - public java.lang.String getUUID() { - java.lang.Object ref = uUID_; - 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(); - uUID_ = s; - return s; - } - } - /** - *
-     * UUID for the dataset (if set the above fields are optional)
-     * 
- * - * string UUID = 5; - */ - public com.google.protobuf.ByteString - getUUIDBytes() { - java.lang.Object ref = uUID_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uUID_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 6; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domain_); - } - if (!getVersionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, version_); - } - if (!getUUIDBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, uUID_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domain_); - } - if (!getVersionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, version_); - } - if (!getUUIDBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uUID_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, org_); - } - 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.DatasetID)) { - return super.equals(obj); - } - datacatalog.Datacatalog.DatasetID other = (datacatalog.Datacatalog.DatasetID) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getUUID() - .equals(other.getUUID())) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - hash = (37 * hash) + UUID_FIELD_NUMBER; - hash = (53 * hash) + getUUID().hashCode(); - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.DatasetID parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.DatasetID parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.DatasetID parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.DatasetID 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.DatasetID parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.DatasetID parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.DatasetID parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.DatasetID 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.DatasetID parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.DatasetID 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.DatasetID parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.DatasetID 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.DatasetID 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; - } - /** - *
-     * DatasetID message that is composed of several string fields.
-     * 
- * - * Protobuf type {@code datacatalog.DatasetID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.DatasetID) - datacatalog.Datacatalog.DatasetIDOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.DatasetID.class, datacatalog.Datacatalog.DatasetID.Builder.class); - } - - // Construct using datacatalog.Datacatalog.DatasetID.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - name_ = ""; - - domain_ = ""; - - version_ = ""; - - uUID_ = ""; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetID_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.DatasetID getDefaultInstanceForType() { - return datacatalog.Datacatalog.DatasetID.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.DatasetID build() { - datacatalog.Datacatalog.DatasetID result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.DatasetID buildPartial() { - datacatalog.Datacatalog.DatasetID result = new datacatalog.Datacatalog.DatasetID(this); - result.project_ = project_; - result.name_ = name_; - result.domain_ = domain_; - result.version_ = version_; - result.uUID_ = uUID_; - result.org_ = org_; - 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.DatasetID) { - return mergeFrom((datacatalog.Datacatalog.DatasetID)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.DatasetID other) { - if (other == datacatalog.Datacatalog.DatasetID.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - onChanged(); - } - if (!other.getUUID().isEmpty()) { - uUID_ = other.uUID_; - onChanged(); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - 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.DatasetID parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.DatasetID) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * The name of the project
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The name of the project
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The name of the project
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * The name of the project
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * The name of the project
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * The name of the dataset
-       * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The name of the dataset
-       * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The name of the dataset
-       * 
- * - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * The name of the dataset
-       * 
- * - * string name = 2; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * The name of the dataset
-       * 
- * - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * The domain (eg. environment)
-       * 
- * - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The domain (eg. environment)
-       * 
- * - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The domain (eg. environment)
-       * 
- * - * string domain = 3; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * The domain (eg. environment)
-       * 
- * - * string domain = 3; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * The domain (eg. environment)
-       * 
- * - * string domain = 3; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object version_ = ""; - /** - *
-       * Version of the data schema
-       * 
- * - * string version = 4; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Version of the data schema
-       * 
- * - * string version = 4; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Version of the data schema
-       * 
- * - * string version = 4; - */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - version_ = value; - onChanged(); - return this; - } - /** - *
-       * Version of the data schema
-       * 
- * - * string version = 4; - */ - public Builder clearVersion() { - - version_ = getDefaultInstance().getVersion(); - onChanged(); - return this; - } - /** - *
-       * Version of the data schema
-       * 
- * - * string version = 4; - */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - version_ = value; - onChanged(); - return this; - } - - private java.lang.Object uUID_ = ""; - /** - *
-       * UUID for the dataset (if set the above fields are optional)
-       * 
- * - * string UUID = 5; - */ - public java.lang.String getUUID() { - java.lang.Object ref = uUID_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uUID_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * UUID for the dataset (if set the above fields are optional)
-       * 
- * - * string UUID = 5; - */ - public com.google.protobuf.ByteString - getUUIDBytes() { - java.lang.Object ref = uUID_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uUID_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * UUID for the dataset (if set the above fields are optional)
-       * 
- * - * string UUID = 5; - */ - public Builder setUUID( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uUID_ = value; - onChanged(); - return this; - } - /** - *
-       * UUID for the dataset (if set the above fields are optional)
-       * 
- * - * string UUID = 5; - */ - public Builder clearUUID() { - - uUID_ = getDefaultInstance().getUUID(); - onChanged(); - return this; - } - /** - *
-       * UUID for the dataset (if set the above fields are optional)
-       * 
- * - * string UUID = 5; - */ - public Builder setUUIDBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uUID_ = value; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = 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.DatasetID) - } - - // @@protoc_insertion_point(class_scope:datacatalog.DatasetID) - private static final datacatalog.Datacatalog.DatasetID DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.DatasetID(); - } - - public static datacatalog.Datacatalog.DatasetID getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatasetID parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatasetID(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.DatasetID getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArtifactOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.Artifact) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The unique ID of the artifact
-     * 
- * - * string id = 1; - */ - java.lang.String getId(); - /** - *
-     * The unique ID of the artifact
-     * 
- * - * string id = 1; - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - *
-     * The Dataset that the artifact belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - boolean hasDataset(); - /** - *
-     * The Dataset that the artifact belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - datacatalog.Datacatalog.DatasetID getDataset(); - /** - *
-     * The Dataset that the artifact belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder(); - - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - java.util.List - getDataList(); - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - datacatalog.Datacatalog.ArtifactData getData(int index); - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - int getDataCount(); - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - java.util.List - getDataOrBuilderList(); - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( - int index); - - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 4; - */ - boolean hasMetadata(); - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 4; - */ - datacatalog.Datacatalog.Metadata getMetadata(); - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 4; - */ - datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder(); - - /** - * repeated .datacatalog.Partition partitions = 5; - */ - java.util.List - getPartitionsList(); - /** - * repeated .datacatalog.Partition partitions = 5; - */ - datacatalog.Datacatalog.Partition getPartitions(int index); - /** - * repeated .datacatalog.Partition partitions = 5; - */ - int getPartitionsCount(); - /** - * repeated .datacatalog.Partition partitions = 5; - */ - java.util.List - getPartitionsOrBuilderList(); - /** - * repeated .datacatalog.Partition partitions = 5; - */ - datacatalog.Datacatalog.PartitionOrBuilder getPartitionsOrBuilder( - int index); - - /** - * repeated .datacatalog.Tag tags = 6; - */ - java.util.List - getTagsList(); - /** - * repeated .datacatalog.Tag tags = 6; - */ - datacatalog.Datacatalog.Tag getTags(int index); - /** - * repeated .datacatalog.Tag tags = 6; - */ - int getTagsCount(); - /** - * repeated .datacatalog.Tag tags = 6; - */ - java.util.List - getTagsOrBuilderList(); - /** - * repeated .datacatalog.Tag tags = 6; - */ - datacatalog.Datacatalog.TagOrBuilder getTagsOrBuilder( - int index); - - /** - *
-     * creation timestamp of artifact, autogenerated by service
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - boolean hasCreatedAt(); - /** - *
-     * creation timestamp of artifact, autogenerated by service
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - com.google.protobuf.Timestamp getCreatedAt(); - /** - *
-     * creation timestamp of artifact, autogenerated by service
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); - } - /** - *
-   * Artifact message. It is composed of several string fields.
-   * 
- * - * Protobuf type {@code datacatalog.Artifact} - */ - public static final class Artifact extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.Artifact) - ArtifactOrBuilder { - private static final long serialVersionUID = 0L; - // Use Artifact.newBuilder() to construct. - private Artifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Artifact() { - id_ = ""; - data_ = java.util.Collections.emptyList(); - partitions_ = java.util.Collections.emptyList(); - tags_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Artifact( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 18: { - datacatalog.Datacatalog.DatasetID.Builder subBuilder = null; - if (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - data_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - data_.add( - input.readMessage(datacatalog.Datacatalog.ArtifactData.parser(), extensionRegistry)); - break; - } - case 34: { - 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; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - partitions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - partitions_.add( - input.readMessage(datacatalog.Datacatalog.Partition.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - tags_.add( - input.readMessage(datacatalog.Datacatalog.Tag.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createdAt_ != null) { - subBuilder = createdAt_.toBuilder(); - } - createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createdAt_); - createdAt_ = 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 { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - data_ = java.util.Collections.unmodifiableList(data_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - partitions_ = java.util.Collections.unmodifiableList(partitions_); - } - if (((mutable_bitField0_ & 0x00000020) != 0)) { - tags_ = java.util.Collections.unmodifiableList(tags_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Artifact_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Artifact_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Artifact.class, datacatalog.Datacatalog.Artifact.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - *
-     * The unique ID of the artifact
-     * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - 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(); - id_ = s; - return s; - } - } - /** - *
-     * The unique ID of the artifact
-     * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATASET_FIELD_NUMBER = 2; - private datacatalog.Datacatalog.DatasetID dataset_; - /** - *
-     * The Dataset that the artifact belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - *
-     * The Dataset that the artifact belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - /** - *
-     * The Dataset that the artifact belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - public static final int DATA_FIELD_NUMBER = 3; - private java.util.List data_; - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public java.util.List getDataList() { - return data_; - } - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public java.util.List - getDataOrBuilderList() { - return data_; - } - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public int getDataCount() { - return data_.size(); - } - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public datacatalog.Datacatalog.ArtifactData getData(int index) { - return data_.get(index); - } - /** - *
-     * A list of data that is associated with the artifact
-     * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( - int index) { - return data_.get(index); - } - - public static final int METADATA_FIELD_NUMBER = 4; - private datacatalog.Datacatalog.Metadata metadata_; - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 4; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 4; - */ - public datacatalog.Datacatalog.Metadata getMetadata() { - return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 4; - */ - public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int PARTITIONS_FIELD_NUMBER = 5; - private java.util.List partitions_; - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public java.util.List getPartitionsList() { - return partitions_; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public java.util.List - getPartitionsOrBuilderList() { - return partitions_; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public int getPartitionsCount() { - return partitions_.size(); - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public datacatalog.Datacatalog.Partition getPartitions(int index) { - return partitions_.get(index); - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public datacatalog.Datacatalog.PartitionOrBuilder getPartitionsOrBuilder( - int index) { - return partitions_.get(index); - } - - public static final int TAGS_FIELD_NUMBER = 6; - private java.util.List tags_; - /** - * repeated .datacatalog.Tag tags = 6; - */ - public java.util.List getTagsList() { - return tags_; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public java.util.List - getTagsOrBuilderList() { - return tags_; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public datacatalog.Datacatalog.Tag getTags(int index) { - return tags_.get(index); - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public datacatalog.Datacatalog.TagOrBuilder getTagsOrBuilder( - int index) { - return tags_.get(index); - } - - public static final int CREATED_AT_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp createdAt_; - /** - *
-     * creation timestamp of artifact, autogenerated by service
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public boolean hasCreatedAt() { - return createdAt_ != null; - } - /** - *
-     * creation timestamp of artifact, autogenerated by service
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - /** - *
-     * creation timestamp of artifact, autogenerated by service
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - return getCreatedAt(); - } - - 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 (!getIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (dataset_ != null) { - output.writeMessage(2, getDataset()); - } - for (int i = 0; i < data_.size(); i++) { - output.writeMessage(3, data_.get(i)); - } - if (metadata_ != null) { - output.writeMessage(4, getMetadata()); - } - for (int i = 0; i < partitions_.size(); i++) { - output.writeMessage(5, partitions_.get(i)); - } - for (int i = 0; i < tags_.size(); i++) { - output.writeMessage(6, tags_.get(i)); - } - if (createdAt_ != null) { - output.writeMessage(7, getCreatedAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDataset()); - } - for (int i = 0; i < data_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, data_.get(i)); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMetadata()); - } - for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, partitions_.get(i)); - } - for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, tags_.get(i)); - } - if (createdAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreatedAt()); - } - 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.Artifact)) { - return super.equals(obj); - } - datacatalog.Datacatalog.Artifact other = (datacatalog.Datacatalog.Artifact) obj; - - if (!getId() - .equals(other.getId())) return false; - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) return false; - } - if (!getDataList() - .equals(other.getDataList())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (!getPartitionsList() - .equals(other.getPartitionsList())) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (hasCreatedAt() != other.hasCreatedAt()) return false; - if (hasCreatedAt()) { - if (!getCreatedAt() - .equals(other.getCreatedAt())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - if (hasDataset()) { - hash = (37 * hash) + DATASET_FIELD_NUMBER; - hash = (53 * hash) + getDataset().hashCode(); - } - if (getDataCount() > 0) { - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + getDataList().hashCode(); - } - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (getPartitionsCount() > 0) { - hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; - hash = (53 * hash) + getPartitionsList().hashCode(); - } - if (getTagsCount() > 0) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + getTagsList().hashCode(); - } - if (hasCreatedAt()) { - hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getCreatedAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.Artifact parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Artifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Artifact parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Artifact 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.Artifact parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Artifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Artifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Artifact 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.Artifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Artifact 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.Artifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Artifact 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.Artifact 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; - } - /** - *
-     * Artifact message. It is composed of several string fields.
-     * 
- * - * Protobuf type {@code datacatalog.Artifact} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.Artifact) - datacatalog.Datacatalog.ArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Artifact_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Artifact_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Artifact.class, datacatalog.Datacatalog.Artifact.Builder.class); - } - - // Construct using datacatalog.Datacatalog.Artifact.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getDataFieldBuilder(); - getPartitionsFieldBuilder(); - getTagsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - - if (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - if (dataBuilder_ == null) { - data_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - dataBuilder_.clear(); - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (partitionsBuilder_ == null) { - partitions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - partitionsBuilder_.clear(); - } - if (tagsBuilder_ == null) { - tags_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - } else { - tagsBuilder_.clear(); - } - if (createdAtBuilder_ == null) { - createdAt_ = null; - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_Artifact_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.Artifact getDefaultInstanceForType() { - return datacatalog.Datacatalog.Artifact.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.Artifact build() { - datacatalog.Datacatalog.Artifact result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.Artifact buildPartial() { - datacatalog.Datacatalog.Artifact result = new datacatalog.Datacatalog.Artifact(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.id_ = id_; - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.build(); - } - if (dataBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - data_ = java.util.Collections.unmodifiableList(data_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.data_ = data_; - } else { - result.data_ = dataBuilder_.build(); - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (partitionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - partitions_ = java.util.Collections.unmodifiableList(partitions_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.partitions_ = partitions_; - } else { - result.partitions_ = partitionsBuilder_.build(); - } - if (tagsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - tags_ = java.util.Collections.unmodifiableList(tags_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.tags_ = tags_; - } else { - result.tags_ = tagsBuilder_.build(); - } - if (createdAtBuilder_ == null) { - result.createdAt_ = createdAt_; - } else { - result.createdAt_ = createdAtBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.Artifact) { - return mergeFrom((datacatalog.Datacatalog.Artifact)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.Artifact other) { - if (other == datacatalog.Datacatalog.Artifact.getDefaultInstance()) return this; - if (!other.getId().isEmpty()) { - id_ = other.id_; - onChanged(); - } - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - if (dataBuilder_ == null) { - if (!other.data_.isEmpty()) { - if (data_.isEmpty()) { - data_ = other.data_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureDataIsMutable(); - data_.addAll(other.data_); - } - onChanged(); - } - } else { - if (!other.data_.isEmpty()) { - if (dataBuilder_.isEmpty()) { - dataBuilder_.dispose(); - dataBuilder_ = null; - data_ = other.data_; - bitField0_ = (bitField0_ & ~0x00000004); - dataBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDataFieldBuilder() : null; - } else { - dataBuilder_.addAllMessages(other.data_); - } - } - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (partitionsBuilder_ == null) { - if (!other.partitions_.isEmpty()) { - if (partitions_.isEmpty()) { - partitions_ = other.partitions_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensurePartitionsIsMutable(); - partitions_.addAll(other.partitions_); - } - onChanged(); - } - } else { - if (!other.partitions_.isEmpty()) { - if (partitionsBuilder_.isEmpty()) { - partitionsBuilder_.dispose(); - partitionsBuilder_ = null; - partitions_ = other.partitions_; - bitField0_ = (bitField0_ & ~0x00000010); - partitionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartitionsFieldBuilder() : null; - } else { - partitionsBuilder_.addAllMessages(other.partitions_); - } - } - } - if (tagsBuilder_ == null) { - if (!other.tags_.isEmpty()) { - if (tags_.isEmpty()) { - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureTagsIsMutable(); - tags_.addAll(other.tags_); - } - onChanged(); - } - } else { - if (!other.tags_.isEmpty()) { - if (tagsBuilder_.isEmpty()) { - tagsBuilder_.dispose(); - tagsBuilder_ = null; - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000020); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; - } else { - tagsBuilder_.addAllMessages(other.tags_); - } - } - } - if (other.hasCreatedAt()) { - mergeCreatedAt(other.getCreatedAt()); - } - 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.Artifact parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.Artifact) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object id_ = ""; - /** - *
-       * The unique ID of the artifact
-       * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The unique ID of the artifact
-       * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The unique ID of the artifact
-       * 
- * - * string id = 1; - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - id_ = value; - onChanged(); - return this; - } - /** - *
-       * The unique ID of the artifact
-       * 
- * - * string id = 1; - */ - public Builder clearId() { - - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - *
-       * The unique ID of the artifact
-       * 
- * - * string id = 1; - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - id_ = value; - onChanged(); - return this; - } - - private datacatalog.Datacatalog.DatasetID dataset_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetBuilder_; - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public Builder setDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public Builder setDataset( - datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public Builder mergeDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.DatasetID.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public datacatalog.Datacatalog.DatasetID.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - } - /** - *
-       * The Dataset that the artifact belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - - private java.util.List data_ = - java.util.Collections.emptyList(); - private void ensureDataIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - data_ = new java.util.ArrayList(data_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.ArtifactData, datacatalog.Datacatalog.ArtifactData.Builder, datacatalog.Datacatalog.ArtifactDataOrBuilder> dataBuilder_; - - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public java.util.List getDataList() { - if (dataBuilder_ == null) { - return java.util.Collections.unmodifiableList(data_); - } else { - return dataBuilder_.getMessageList(); - } - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public int getDataCount() { - if (dataBuilder_ == null) { - return data_.size(); - } else { - return dataBuilder_.getCount(); - } - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public datacatalog.Datacatalog.ArtifactData getData(int index) { - if (dataBuilder_ == null) { - return data_.get(index); - } else { - return dataBuilder_.getMessage(index); - } - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder setData( - int index, datacatalog.Datacatalog.ArtifactData value) { - if (dataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDataIsMutable(); - data_.set(index, value); - onChanged(); - } else { - dataBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder setData( - int index, datacatalog.Datacatalog.ArtifactData.Builder builderForValue) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.set(index, builderForValue.build()); - onChanged(); - } else { - dataBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder addData(datacatalog.Datacatalog.ArtifactData value) { - if (dataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDataIsMutable(); - data_.add(value); - onChanged(); - } else { - dataBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder addData( - int index, datacatalog.Datacatalog.ArtifactData value) { - if (dataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDataIsMutable(); - data_.add(index, value); - onChanged(); - } else { - dataBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder addData( - datacatalog.Datacatalog.ArtifactData.Builder builderForValue) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.add(builderForValue.build()); - onChanged(); - } else { - dataBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder addData( - int index, datacatalog.Datacatalog.ArtifactData.Builder builderForValue) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.add(index, builderForValue.build()); - onChanged(); - } else { - dataBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder addAllData( - java.lang.Iterable values) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, data_); - onChanged(); - } else { - dataBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder clearData() { - if (dataBuilder_ == null) { - data_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - dataBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public Builder removeData(int index) { - if (dataBuilder_ == null) { - ensureDataIsMutable(); - data_.remove(index); - onChanged(); - } else { - dataBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public datacatalog.Datacatalog.ArtifactData.Builder getDataBuilder( - int index) { - return getDataFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( - int index) { - if (dataBuilder_ == null) { - return data_.get(index); } else { - return dataBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public java.util.List - getDataOrBuilderList() { - if (dataBuilder_ != null) { - return dataBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(data_); - } - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public datacatalog.Datacatalog.ArtifactData.Builder addDataBuilder() { - return getDataFieldBuilder().addBuilder( - datacatalog.Datacatalog.ArtifactData.getDefaultInstance()); - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public datacatalog.Datacatalog.ArtifactData.Builder addDataBuilder( - int index) { - return getDataFieldBuilder().addBuilder( - index, datacatalog.Datacatalog.ArtifactData.getDefaultInstance()); - } - /** - *
-       * A list of data that is associated with the artifact
-       * 
- * - * repeated .datacatalog.ArtifactData data = 3; - */ - public java.util.List - getDataBuilderList() { - return getDataFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.ArtifactData, datacatalog.Datacatalog.ArtifactData.Builder, datacatalog.Datacatalog.ArtifactDataOrBuilder> - getDataFieldBuilder() { - if (dataBuilder_ == null) { - dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.ArtifactData, datacatalog.Datacatalog.ArtifactData.Builder, datacatalog.Datacatalog.ArtifactDataOrBuilder>( - data_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - data_ = null; - } - return dataBuilder_; - } - - 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 = 4; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Free-form metadata associated with the artifact
-       * 
- * - * .datacatalog.Metadata metadata = 4; - */ - 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 = 4; - */ - 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 = 4; - */ - 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 = 4; - */ - 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 = 4; - */ - 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 = 4; - */ - public datacatalog.Datacatalog.Metadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Free-form metadata associated with the artifact
-       * 
- * - * .datacatalog.Metadata metadata = 4; - */ - 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 = 4; - */ - 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_; - } - - private java.util.List partitions_ = - java.util.Collections.emptyList(); - private void ensurePartitionsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - partitions_ = new java.util.ArrayList(partitions_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Partition, datacatalog.Datacatalog.Partition.Builder, datacatalog.Datacatalog.PartitionOrBuilder> partitionsBuilder_; - - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public java.util.List getPartitionsList() { - if (partitionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(partitions_); - } else { - return partitionsBuilder_.getMessageList(); - } - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public int getPartitionsCount() { - if (partitionsBuilder_ == null) { - return partitions_.size(); - } else { - return partitionsBuilder_.getCount(); - } - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public datacatalog.Datacatalog.Partition getPartitions(int index) { - if (partitionsBuilder_ == null) { - return partitions_.get(index); - } else { - return partitionsBuilder_.getMessage(index); - } - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder setPartitions( - int index, datacatalog.Datacatalog.Partition value) { - if (partitionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartitionsIsMutable(); - partitions_.set(index, value); - onChanged(); - } else { - partitionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder setPartitions( - int index, datacatalog.Datacatalog.Partition.Builder builderForValue) { - if (partitionsBuilder_ == null) { - ensurePartitionsIsMutable(); - partitions_.set(index, builderForValue.build()); - onChanged(); - } else { - partitionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder addPartitions(datacatalog.Datacatalog.Partition value) { - if (partitionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartitionsIsMutable(); - partitions_.add(value); - onChanged(); - } else { - partitionsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder addPartitions( - int index, datacatalog.Datacatalog.Partition value) { - if (partitionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePartitionsIsMutable(); - partitions_.add(index, value); - onChanged(); - } else { - partitionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder addPartitions( - datacatalog.Datacatalog.Partition.Builder builderForValue) { - if (partitionsBuilder_ == null) { - ensurePartitionsIsMutable(); - partitions_.add(builderForValue.build()); - onChanged(); - } else { - partitionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder addPartitions( - int index, datacatalog.Datacatalog.Partition.Builder builderForValue) { - if (partitionsBuilder_ == null) { - ensurePartitionsIsMutable(); - partitions_.add(index, builderForValue.build()); - onChanged(); - } else { - partitionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder addAllPartitions( - java.lang.Iterable values) { - if (partitionsBuilder_ == null) { - ensurePartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, partitions_); - onChanged(); - } else { - partitionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder clearPartitions() { - if (partitionsBuilder_ == null) { - partitions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - partitionsBuilder_.clear(); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public Builder removePartitions(int index) { - if (partitionsBuilder_ == null) { - ensurePartitionsIsMutable(); - partitions_.remove(index); - onChanged(); - } else { - partitionsBuilder_.remove(index); - } - return this; - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public datacatalog.Datacatalog.Partition.Builder getPartitionsBuilder( - int index) { - return getPartitionsFieldBuilder().getBuilder(index); - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public datacatalog.Datacatalog.PartitionOrBuilder getPartitionsOrBuilder( - int index) { - if (partitionsBuilder_ == null) { - return partitions_.get(index); } else { - return partitionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public java.util.List - getPartitionsOrBuilderList() { - if (partitionsBuilder_ != null) { - return partitionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(partitions_); - } - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public datacatalog.Datacatalog.Partition.Builder addPartitionsBuilder() { - return getPartitionsFieldBuilder().addBuilder( - datacatalog.Datacatalog.Partition.getDefaultInstance()); - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public datacatalog.Datacatalog.Partition.Builder addPartitionsBuilder( - int index) { - return getPartitionsFieldBuilder().addBuilder( - index, datacatalog.Datacatalog.Partition.getDefaultInstance()); - } - /** - * repeated .datacatalog.Partition partitions = 5; - */ - public java.util.List - getPartitionsBuilderList() { - return getPartitionsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Partition, datacatalog.Datacatalog.Partition.Builder, datacatalog.Datacatalog.PartitionOrBuilder> - getPartitionsFieldBuilder() { - if (partitionsBuilder_ == null) { - partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Partition, datacatalog.Datacatalog.Partition.Builder, datacatalog.Datacatalog.PartitionOrBuilder>( - partitions_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - partitions_ = null; - } - return partitionsBuilder_; - } - - private java.util.List tags_ = - java.util.Collections.emptyList(); - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - tags_ = new java.util.ArrayList(tags_); - bitField0_ |= 0x00000020; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Tag, datacatalog.Datacatalog.Tag.Builder, datacatalog.Datacatalog.TagOrBuilder> tagsBuilder_; - - /** - * repeated .datacatalog.Tag tags = 6; - */ - public java.util.List getTagsList() { - if (tagsBuilder_ == null) { - return java.util.Collections.unmodifiableList(tags_); - } else { - return tagsBuilder_.getMessageList(); - } - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public int getTagsCount() { - if (tagsBuilder_ == null) { - return tags_.size(); - } else { - return tagsBuilder_.getCount(); - } - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public datacatalog.Datacatalog.Tag getTags(int index) { - if (tagsBuilder_ == null) { - return tags_.get(index); - } else { - return tagsBuilder_.getMessage(index); - } - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder setTags( - int index, datacatalog.Datacatalog.Tag value) { - if (tagsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - } else { - tagsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder setTags( - int index, datacatalog.Datacatalog.Tag.Builder builderForValue) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.set(index, builderForValue.build()); - onChanged(); - } else { - tagsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder addTags(datacatalog.Datacatalog.Tag value) { - if (tagsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - } else { - tagsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder addTags( - int index, datacatalog.Datacatalog.Tag value) { - if (tagsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(index, value); - onChanged(); - } else { - tagsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder addTags( - datacatalog.Datacatalog.Tag.Builder builderForValue) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.add(builderForValue.build()); - onChanged(); - } else { - tagsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder addTags( - int index, datacatalog.Datacatalog.Tag.Builder builderForValue) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.add(index, builderForValue.build()); - onChanged(); - } else { - tagsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder addAllTags( - java.lang.Iterable values) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); - onChanged(); - } else { - tagsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder clearTags() { - if (tagsBuilder_ == null) { - tags_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - tagsBuilder_.clear(); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public Builder removeTags(int index) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.remove(index); - onChanged(); - } else { - tagsBuilder_.remove(index); - } - return this; - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public datacatalog.Datacatalog.Tag.Builder getTagsBuilder( - int index) { - return getTagsFieldBuilder().getBuilder(index); - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public datacatalog.Datacatalog.TagOrBuilder getTagsOrBuilder( - int index) { - if (tagsBuilder_ == null) { - return tags_.get(index); } else { - return tagsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public java.util.List - getTagsOrBuilderList() { - if (tagsBuilder_ != null) { - return tagsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tags_); - } - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public datacatalog.Datacatalog.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - datacatalog.Datacatalog.Tag.getDefaultInstance()); - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public datacatalog.Datacatalog.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, datacatalog.Datacatalog.Tag.getDefaultInstance()); - } - /** - * repeated .datacatalog.Tag tags = 6; - */ - public java.util.List - getTagsBuilderList() { - return getTagsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Tag, datacatalog.Datacatalog.Tag.Builder, datacatalog.Datacatalog.TagOrBuilder> - getTagsFieldBuilder() { - if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.Tag, datacatalog.Datacatalog.Tag.Builder, datacatalog.Datacatalog.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); - tags_ = null; - } - return tagsBuilder_; - } - - private com.google.protobuf.Timestamp createdAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public boolean hasCreatedAt() { - return createdAtBuilder_ != null || createdAt_ != null; - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - if (createdAtBuilder_ == null) { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } else { - return createdAtBuilder_.getMessage(); - } - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder setCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createdAt_ = value; - onChanged(); - } else { - createdAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder setCreatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (createdAtBuilder_ == null) { - createdAt_ = builderForValue.build(); - onChanged(); - } else { - createdAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (createdAt_ != null) { - createdAt_ = - com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); - } else { - createdAt_ = value; - } - onChanged(); - } else { - createdAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder clearCreatedAt() { - if (createdAtBuilder_ == null) { - createdAt_ = null; - onChanged(); - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - - return this; - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { - - onChanged(); - return getCreatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - if (createdAtBuilder_ != null) { - return createdAtBuilder_.getMessageOrBuilder(); - } else { - return createdAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - } - /** - *
-       * creation timestamp of artifact, autogenerated by service
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreatedAtFieldBuilder() { - if (createdAtBuilder_ == null) { - createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreatedAt(), - getParentForChildren(), - isClean()); - createdAt_ = null; - } - return createdAtBuilder_; - } - @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.Artifact) - } - - // @@protoc_insertion_point(class_scope:datacatalog.Artifact) - private static final datacatalog.Datacatalog.Artifact DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.Artifact(); - } - - public static datacatalog.Datacatalog.Artifact getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Artifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Artifact(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.Artifact getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArtifactDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ArtifactData) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - */ - java.lang.String getName(); - /** - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * .flyteidl.core.Literal value = 2; - */ - boolean hasValue(); - /** - * .flyteidl.core.Literal value = 2; - */ - flyteidl.core.Literals.Literal getValue(); - /** - * .flyteidl.core.Literal value = 2; - */ - flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder(); - } - /** - *
-   * ArtifactData that belongs to an artifact
-   * 
- * - * Protobuf type {@code datacatalog.ArtifactData} - */ - public static final class ArtifactData extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ArtifactData) - ArtifactDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArtifactData.newBuilder() to construct. - private ArtifactData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArtifactData() { - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArtifactData( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - flyteidl.core.Literals.Literal.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = 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_ArtifactData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ArtifactData.class, datacatalog.Datacatalog.ArtifactData.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private flyteidl.core.Literals.Literal value_; - /** - * .flyteidl.core.Literal value = 2; - */ - public boolean hasValue() { - return value_ != null; - } - /** - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.Literal getValue() { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - /** - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - return getValue(); - } - - 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 (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (value_ != null) { - output.writeMessage(2, getValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); - } - 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.ArtifactData)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ArtifactData other = (datacatalog.Datacatalog.ArtifactData) obj; - - if (!getName() - .equals(other.getName())) return false; - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ArtifactData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ArtifactData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ArtifactData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ArtifactData 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.ArtifactData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ArtifactData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ArtifactData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ArtifactData 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.ArtifactData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ArtifactData 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.ArtifactData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ArtifactData 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.ArtifactData 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; - } - /** - *
-     * ArtifactData that belongs to an artifact
-     * 
- * - * Protobuf type {@code datacatalog.ArtifactData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ArtifactData) - datacatalog.Datacatalog.ArtifactDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ArtifactData.class, datacatalog.Datacatalog.ArtifactData.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ArtifactData.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(); - name_ = ""; - - if (valueBuilder_ == null) { - value_ = null; - } else { - value_ = null; - valueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactData_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ArtifactData getDefaultInstanceForType() { - return datacatalog.Datacatalog.ArtifactData.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ArtifactData build() { - datacatalog.Datacatalog.ArtifactData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ArtifactData buildPartial() { - datacatalog.Datacatalog.ArtifactData result = new datacatalog.Datacatalog.ArtifactData(this); - result.name_ = name_; - if (valueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = valueBuilder_.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.ArtifactData) { - return mergeFrom((datacatalog.Datacatalog.ArtifactData)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.ArtifactData other) { - if (other == datacatalog.Datacatalog.ArtifactData.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.hasValue()) { - mergeValue(other.getValue()); - } - 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.ArtifactData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ArtifactData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Literals.Literal value_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> valueBuilder_; - /** - * .flyteidl.core.Literal value = 2; - */ - public boolean hasValue() { - return valueBuilder_ != null || value_ != null; - } - /** - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.Literal getValue() { - if (valueBuilder_ == null) { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } else { - return valueBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Literal value = 2; - */ - public Builder setValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - valueBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Literal value = 2; - */ - public Builder setValue( - flyteidl.core.Literals.Literal.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Literal value = 2; - */ - public Builder mergeValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value_ != null) { - value_ = - flyteidl.core.Literals.Literal.newBuilder(value_).mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - valueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Literal value = 2; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = null; - onChanged(); - } else { - value_ = null; - valueBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.Literal.Builder getValueBuilder() { - - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null ? - flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - } - /** - * .flyteidl.core.Literal value = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); - value_ = null; - } - return valueBuilder_; - } - @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.ArtifactData) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ArtifactData) - private static final datacatalog.Datacatalog.ArtifactData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ArtifactData(); - } - - public static datacatalog.Datacatalog.ArtifactData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArtifactData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArtifactData(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.ArtifactData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TagOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.Tag) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name of tag
-     * 
- * - * string name = 1; - */ - java.lang.String getName(); - /** - *
-     * Name of tag
-     * 
- * - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * The tagged artifact
-     * 
- * - * string artifact_id = 2; - */ - java.lang.String getArtifactId(); - /** - *
-     * The tagged artifact
-     * 
- * - * string artifact_id = 2; - */ - com.google.protobuf.ByteString - getArtifactIdBytes(); - - /** - *
-     * The Dataset that this tag belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - boolean hasDataset(); - /** - *
-     * The Dataset that this tag belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - datacatalog.Datacatalog.DatasetID getDataset(); - /** - *
-     * The Dataset that this tag belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder(); - } - /** - *
-   * Tag message that is unique to a Dataset. It is associated to a single artifact and
-   * can be retrieved by name later.
-   * 
- * - * Protobuf type {@code datacatalog.Tag} - */ - public static final class Tag extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.Tag) - TagOrBuilder { - private static final long serialVersionUID = 0L; - // Use Tag.newBuilder() to construct. - private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Tag() { - name_ = ""; - artifactId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Tag( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - artifactId_ = s; - break; - } - case 26: { - datacatalog.Datacatalog.DatasetID.Builder subBuilder = null; - if (dataset_ != null) { - subBuilder = dataset_.toBuilder(); - } - dataset_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataset_); - dataset_ = 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_Tag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Tag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Tag.class, datacatalog.Datacatalog.Tag.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - *
-     * Name of tag
-     * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * Name of tag
-     * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object artifactId_; - /** - *
-     * The tagged artifact
-     * 
- * - * string artifact_id = 2; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = artifactId_; - 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(); - artifactId_ = s; - return s; - } - } - /** - *
-     * The tagged artifact
-     * 
- * - * string artifact_id = 2; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = artifactId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - artifactId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATASET_FIELD_NUMBER = 3; - private datacatalog.Datacatalog.DatasetID dataset_; - /** - *
-     * The Dataset that this tag belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public boolean hasDataset() { - return dataset_ != null; - } - /** - *
-     * The Dataset that this tag belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - /** - *
-     * The Dataset that this tag belongs to
-     * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - return getDataset(); - } - - 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 (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!getArtifactIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, artifactId_); - } - if (dataset_ != null) { - output.writeMessage(3, getDataset()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!getArtifactIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, artifactId_); - } - if (dataset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDataset()); - } - 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.Tag)) { - return super.equals(obj); - } - datacatalog.Datacatalog.Tag other = (datacatalog.Datacatalog.Tag) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - if (hasDataset() != other.hasDataset()) return false; - if (hasDataset()) { - if (!getDataset() - .equals(other.getDataset())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; - hash = (53 * hash) + getArtifactId().hashCode(); - if (hasDataset()) { - hash = (37 * hash) + DATASET_FIELD_NUMBER; - hash = (53 * hash) + getDataset().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.Tag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Tag parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Tag 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.Tag parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Tag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Tag 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.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Tag 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.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Tag 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.Tag 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; - } - /** - *
-     * Tag message that is unique to a Dataset. It is associated to a single artifact and
-     * can be retrieved by name later.
-     * 
- * - * Protobuf type {@code datacatalog.Tag} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.Tag) - datacatalog.Datacatalog.TagOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Tag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Tag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Tag.class, datacatalog.Datacatalog.Tag.Builder.class); - } - - // Construct using datacatalog.Datacatalog.Tag.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(); - name_ = ""; - - artifactId_ = ""; - - if (datasetBuilder_ == null) { - dataset_ = null; - } else { - dataset_ = null; - datasetBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_Tag_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.Tag getDefaultInstanceForType() { - return datacatalog.Datacatalog.Tag.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.Tag build() { - datacatalog.Datacatalog.Tag result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.Tag buildPartial() { - datacatalog.Datacatalog.Tag result = new datacatalog.Datacatalog.Tag(this); - result.name_ = name_; - result.artifactId_ = artifactId_; - if (datasetBuilder_ == null) { - result.dataset_ = dataset_; - } else { - result.dataset_ = datasetBuilder_.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.Tag) { - return mergeFrom((datacatalog.Datacatalog.Tag)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.Tag other) { - if (other == datacatalog.Datacatalog.Tag.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getArtifactId().isEmpty()) { - artifactId_ = other.artifactId_; - onChanged(); - } - if (other.hasDataset()) { - mergeDataset(other.getDataset()); - } - 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.Tag parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.Tag) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * Name of tag
-       * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of tag
-       * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of tag
-       * 
- * - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of tag
-       * 
- * - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * Name of tag
-       * 
- * - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object artifactId_ = ""; - /** - *
-       * The tagged artifact
-       * 
- * - * string artifact_id = 2; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = artifactId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - artifactId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The tagged artifact
-       * 
- * - * string artifact_id = 2; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = artifactId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - artifactId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The tagged artifact
-       * 
- * - * string artifact_id = 2; - */ - public Builder setArtifactId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - artifactId_ = value; - onChanged(); - return this; - } - /** - *
-       * The tagged artifact
-       * 
- * - * string artifact_id = 2; - */ - public Builder clearArtifactId() { - - artifactId_ = getDefaultInstance().getArtifactId(); - onChanged(); - return this; - } - /** - *
-       * The tagged artifact
-       * 
- * - * string artifact_id = 2; - */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - artifactId_ = value; - onChanged(); - return this; - } - - private datacatalog.Datacatalog.DatasetID dataset_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetBuilder_; - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public boolean hasDataset() { - return datasetBuilder_ != null || dataset_ != null; - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public datacatalog.Datacatalog.DatasetID getDataset() { - if (datasetBuilder_ == null) { - return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } else { - return datasetBuilder_.getMessage(); - } - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public Builder setDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataset_ = value; - onChanged(); - } else { - datasetBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public Builder setDataset( - datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (datasetBuilder_ == null) { - dataset_ = builderForValue.build(); - onChanged(); - } else { - datasetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public Builder mergeDataset(datacatalog.Datacatalog.DatasetID value) { - if (datasetBuilder_ == null) { - if (dataset_ != null) { - dataset_ = - datacatalog.Datacatalog.DatasetID.newBuilder(dataset_).mergeFrom(value).buildPartial(); - } else { - dataset_ = value; - } - onChanged(); - } else { - datasetBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public Builder clearDataset() { - if (datasetBuilder_ == null) { - dataset_ = null; - onChanged(); - } else { - dataset_ = null; - datasetBuilder_ = null; - } - - return this; - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public datacatalog.Datacatalog.DatasetID.Builder getDatasetBuilder() { - - onChanged(); - return getDatasetFieldBuilder().getBuilder(); - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { - if (datasetBuilder_ != null) { - return datasetBuilder_.getMessageOrBuilder(); - } else { - return dataset_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; - } - } - /** - *
-       * The Dataset that this tag belongs to
-       * 
- * - * .datacatalog.DatasetID dataset = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getDatasetFieldBuilder() { - if (datasetBuilder_ == null) { - datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getDataset(), - getParentForChildren(), - isClean()); - dataset_ = null; - } - return datasetBuilder_; - } - @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.Tag) - } - - // @@protoc_insertion_point(class_scope:datacatalog.Tag) - private static final datacatalog.Datacatalog.Tag DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.Tag(); - } - - public static datacatalog.Datacatalog.Tag getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(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.Tag getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface MetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.Metadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - int getKeyMapCount(); - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - boolean containsKeyMap( - java.lang.String key); - /** - * Use {@link #getKeyMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getKeyMap(); - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - java.util.Map - getKeyMapMap(); - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - - java.lang.String getKeyMapOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - - java.lang.String getKeyMapOrThrow( - java.lang.String key); - } - /** - *
-   * Metadata representation for artifacts and datasets
-   * 
- * - * Protobuf type {@code datacatalog.Metadata} - */ - public static final class Metadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.Metadata) - MetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use Metadata.newBuilder() to construct. - private Metadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Metadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Metadata( - 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)) { - keyMap_ = com.google.protobuf.MapField.newMapField( - KeyMapDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - keyMap__ = input.readMessage( - KeyMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - keyMap_.getMutableMap().put( - keyMap__.getKey(), keyMap__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Metadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetKeyMap(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Metadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Metadata.class, datacatalog.Datacatalog.Metadata.Builder.class); - } - - public static final int KEY_MAP_FIELD_NUMBER = 1; - private static final class KeyMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - datacatalog.Datacatalog.internal_static_datacatalog_Metadata_KeyMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> keyMap_; - private com.google.protobuf.MapField - internalGetKeyMap() { - if (keyMap_ == null) { - return com.google.protobuf.MapField.emptyMapField( - KeyMapDefaultEntryHolder.defaultEntry); - } - return keyMap_; - } - - public int getKeyMapCount() { - return internalGetKeyMap().getMap().size(); - } - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - - public boolean containsKeyMap( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetKeyMap().getMap().containsKey(key); - } - /** - * Use {@link #getKeyMapMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getKeyMap() { - return getKeyMapMap(); - } - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - - public java.util.Map getKeyMapMap() { - return internalGetKeyMap().getMap(); - } - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - - public java.lang.String getKeyMapOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetKeyMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * key map is a dictionary of key/val strings that represent metadata
-     * 
- * - * map<string, string> key_map = 1; - */ - - public java.lang.String getKeyMapOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetKeyMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetKeyMap(), - KeyMapDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetKeyMap().getMap().entrySet()) { - com.google.protobuf.MapEntry - keyMap__ = KeyMapDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, keyMap__); - } - 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.Metadata)) { - return super.equals(obj); - } - datacatalog.Datacatalog.Metadata other = (datacatalog.Datacatalog.Metadata) obj; - - if (!internalGetKeyMap().equals( - other.internalGetKeyMap())) 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 (!internalGetKeyMap().getMap().isEmpty()) { - hash = (37 * hash) + KEY_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetKeyMap().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.Metadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Metadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Metadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Metadata 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.Metadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.Metadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.Metadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Metadata 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.Metadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Metadata 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.Metadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.Metadata 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.Metadata 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; - } - /** - *
-     * Metadata representation for artifacts and datasets
-     * 
- * - * Protobuf type {@code datacatalog.Metadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.Metadata) - datacatalog.Datacatalog.MetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Metadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetKeyMap(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableKeyMap(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Metadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Metadata.class, datacatalog.Datacatalog.Metadata.Builder.class); - } - - // Construct using datacatalog.Datacatalog.Metadata.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(); - internalGetMutableKeyMap().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_Metadata_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.Metadata getDefaultInstanceForType() { - return datacatalog.Datacatalog.Metadata.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.Metadata build() { - datacatalog.Datacatalog.Metadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.Metadata buildPartial() { - datacatalog.Datacatalog.Metadata result = new datacatalog.Datacatalog.Metadata(this); - int from_bitField0_ = bitField0_; - result.keyMap_ = internalGetKeyMap(); - result.keyMap_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.Metadata) { - return mergeFrom((datacatalog.Datacatalog.Metadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.Metadata other) { - if (other == datacatalog.Datacatalog.Metadata.getDefaultInstance()) return this; - internalGetMutableKeyMap().mergeFrom( - other.internalGetKeyMap()); - 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.Metadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.Metadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> keyMap_; - private com.google.protobuf.MapField - internalGetKeyMap() { - if (keyMap_ == null) { - return com.google.protobuf.MapField.emptyMapField( - KeyMapDefaultEntryHolder.defaultEntry); - } - return keyMap_; - } - private com.google.protobuf.MapField - internalGetMutableKeyMap() { - onChanged();; - if (keyMap_ == null) { - keyMap_ = com.google.protobuf.MapField.newMapField( - KeyMapDefaultEntryHolder.defaultEntry); - } - if (!keyMap_.isMutable()) { - keyMap_ = keyMap_.copy(); - } - return keyMap_; - } - - public int getKeyMapCount() { - return internalGetKeyMap().getMap().size(); - } - /** - *
-       * key map is a dictionary of key/val strings that represent metadata
-       * 
- * - * map<string, string> key_map = 1; - */ - - public boolean containsKeyMap( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetKeyMap().getMap().containsKey(key); - } - /** - * Use {@link #getKeyMapMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getKeyMap() { - return getKeyMapMap(); - } - /** - *
-       * key map is a dictionary of key/val strings that represent metadata
-       * 
- * - * map<string, string> key_map = 1; - */ - - public java.util.Map getKeyMapMap() { - return internalGetKeyMap().getMap(); - } - /** - *
-       * key map is a dictionary of key/val strings that represent metadata
-       * 
- * - * map<string, string> key_map = 1; - */ - - public java.lang.String getKeyMapOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetKeyMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * key map is a dictionary of key/val strings that represent metadata
-       * 
- * - * map<string, string> key_map = 1; - */ - - public java.lang.String getKeyMapOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetKeyMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearKeyMap() { - internalGetMutableKeyMap().getMutableMap() - .clear(); - return this; - } - /** - *
-       * key map is a dictionary of key/val strings that represent metadata
-       * 
- * - * map<string, string> key_map = 1; - */ - - public Builder removeKeyMap( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableKeyMap().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableKeyMap() { - return internalGetMutableKeyMap().getMutableMap(); - } - /** - *
-       * key map is a dictionary of key/val strings that represent metadata
-       * 
- * - * map<string, string> key_map = 1; - */ - public Builder putKeyMap( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableKeyMap().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * key map is a dictionary of key/val strings that represent metadata
-       * 
- * - * map<string, string> key_map = 1; - */ - - public Builder putAllKeyMap( - java.util.Map values) { - internalGetMutableKeyMap().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:datacatalog.Metadata) - } - - // @@protoc_insertion_point(class_scope:datacatalog.Metadata) - private static final datacatalog.Datacatalog.Metadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.Metadata(); - } - - public static datacatalog.Datacatalog.Metadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Metadata(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.Metadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FilterExpressionOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.FilterExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - java.util.List - getFiltersList(); - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - datacatalog.Datacatalog.SinglePropertyFilter getFilters(int index); - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - int getFiltersCount(); - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - java.util.List - getFiltersOrBuilderList(); - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - datacatalog.Datacatalog.SinglePropertyFilterOrBuilder getFiltersOrBuilder( - int index); - } - /** - *
-   * Filter expression that is composed of a combination of single filters
-   * 
- * - * Protobuf type {@code datacatalog.FilterExpression} - */ - public static final class FilterExpression extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.FilterExpression) - FilterExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use FilterExpression.newBuilder() to construct. - private FilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private FilterExpression() { - filters_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FilterExpression( - 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)) { - filters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - filters_.add( - input.readMessage(datacatalog.Datacatalog.SinglePropertyFilter.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)) { - filters_ = java.util.Collections.unmodifiableList(filters_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_FilterExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_FilterExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.FilterExpression.class, datacatalog.Datacatalog.FilterExpression.Builder.class); - } - - public static final int FILTERS_FIELD_NUMBER = 1; - private java.util.List filters_; - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public java.util.List getFiltersList() { - return filters_; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public java.util.List - getFiltersOrBuilderList() { - return filters_; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public int getFiltersCount() { - return filters_.size(); - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public datacatalog.Datacatalog.SinglePropertyFilter getFilters(int index) { - return filters_.get(index); - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public datacatalog.Datacatalog.SinglePropertyFilterOrBuilder getFiltersOrBuilder( - int index) { - return filters_.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 < filters_.size(); i++) { - output.writeMessage(1, filters_.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 < filters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, filters_.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.FilterExpression)) { - return super.equals(obj); - } - datacatalog.Datacatalog.FilterExpression other = (datacatalog.Datacatalog.FilterExpression) obj; - - if (!getFiltersList() - .equals(other.getFiltersList())) 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 (getFiltersCount() > 0) { - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFiltersList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.FilterExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.FilterExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.FilterExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.FilterExpression 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.FilterExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.FilterExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.FilterExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.FilterExpression 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.FilterExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.FilterExpression 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.FilterExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.FilterExpression 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.FilterExpression 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; - } - /** - *
-     * Filter expression that is composed of a combination of single filters
-     * 
- * - * Protobuf type {@code datacatalog.FilterExpression} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.FilterExpression) - datacatalog.Datacatalog.FilterExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_FilterExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_FilterExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.FilterExpression.class, datacatalog.Datacatalog.FilterExpression.Builder.class); - } - - // Construct using datacatalog.Datacatalog.FilterExpression.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getFiltersFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (filtersBuilder_ == null) { - filters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - filtersBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_FilterExpression_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.FilterExpression getDefaultInstanceForType() { - return datacatalog.Datacatalog.FilterExpression.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.FilterExpression build() { - datacatalog.Datacatalog.FilterExpression result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.FilterExpression buildPartial() { - datacatalog.Datacatalog.FilterExpression result = new datacatalog.Datacatalog.FilterExpression(this); - int from_bitField0_ = bitField0_; - if (filtersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - filters_ = java.util.Collections.unmodifiableList(filters_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.filters_ = filters_; - } else { - result.filters_ = filtersBuilder_.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.FilterExpression) { - return mergeFrom((datacatalog.Datacatalog.FilterExpression)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.FilterExpression other) { - if (other == datacatalog.Datacatalog.FilterExpression.getDefaultInstance()) return this; - if (filtersBuilder_ == null) { - if (!other.filters_.isEmpty()) { - if (filters_.isEmpty()) { - filters_ = other.filters_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureFiltersIsMutable(); - filters_.addAll(other.filters_); - } - onChanged(); - } - } else { - if (!other.filters_.isEmpty()) { - if (filtersBuilder_.isEmpty()) { - filtersBuilder_.dispose(); - filtersBuilder_ = null; - filters_ = other.filters_; - bitField0_ = (bitField0_ & ~0x00000001); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFiltersFieldBuilder() : null; - } else { - filtersBuilder_.addAllMessages(other.filters_); - } - } - } - 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.FilterExpression parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.FilterExpression) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List filters_ = - java.util.Collections.emptyList(); - private void ensureFiltersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - filters_ = new java.util.ArrayList(filters_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.SinglePropertyFilter, datacatalog.Datacatalog.SinglePropertyFilter.Builder, datacatalog.Datacatalog.SinglePropertyFilterOrBuilder> filtersBuilder_; - - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public java.util.List getFiltersList() { - if (filtersBuilder_ == null) { - return java.util.Collections.unmodifiableList(filters_); - } else { - return filtersBuilder_.getMessageList(); - } - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public int getFiltersCount() { - if (filtersBuilder_ == null) { - return filters_.size(); - } else { - return filtersBuilder_.getCount(); - } - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public datacatalog.Datacatalog.SinglePropertyFilter getFilters(int index) { - if (filtersBuilder_ == null) { - return filters_.get(index); - } else { - return filtersBuilder_.getMessage(index); - } - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder setFilters( - int index, datacatalog.Datacatalog.SinglePropertyFilter value) { - if (filtersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFiltersIsMutable(); - filters_.set(index, value); - onChanged(); - } else { - filtersBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder setFilters( - int index, datacatalog.Datacatalog.SinglePropertyFilter.Builder builderForValue) { - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.set(index, builderForValue.build()); - onChanged(); - } else { - filtersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder addFilters(datacatalog.Datacatalog.SinglePropertyFilter value) { - if (filtersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFiltersIsMutable(); - filters_.add(value); - onChanged(); - } else { - filtersBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder addFilters( - int index, datacatalog.Datacatalog.SinglePropertyFilter value) { - if (filtersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFiltersIsMutable(); - filters_.add(index, value); - onChanged(); - } else { - filtersBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder addFilters( - datacatalog.Datacatalog.SinglePropertyFilter.Builder builderForValue) { - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(builderForValue.build()); - onChanged(); - } else { - filtersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder addFilters( - int index, datacatalog.Datacatalog.SinglePropertyFilter.Builder builderForValue) { - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(index, builderForValue.build()); - onChanged(); - } else { - filtersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder addAllFilters( - java.lang.Iterable values) { - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, filters_); - onChanged(); - } else { - filtersBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder clearFilters() { - if (filtersBuilder_ == null) { - filters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - filtersBuilder_.clear(); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public Builder removeFilters(int index) { - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.remove(index); - onChanged(); - } else { - filtersBuilder_.remove(index); - } - return this; - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public datacatalog.Datacatalog.SinglePropertyFilter.Builder getFiltersBuilder( - int index) { - return getFiltersFieldBuilder().getBuilder(index); - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public datacatalog.Datacatalog.SinglePropertyFilterOrBuilder getFiltersOrBuilder( - int index) { - if (filtersBuilder_ == null) { - return filters_.get(index); } else { - return filtersBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public java.util.List - getFiltersOrBuilderList() { - if (filtersBuilder_ != null) { - return filtersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(filters_); - } - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public datacatalog.Datacatalog.SinglePropertyFilter.Builder addFiltersBuilder() { - return getFiltersFieldBuilder().addBuilder( - datacatalog.Datacatalog.SinglePropertyFilter.getDefaultInstance()); - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public datacatalog.Datacatalog.SinglePropertyFilter.Builder addFiltersBuilder( - int index) { - return getFiltersFieldBuilder().addBuilder( - index, datacatalog.Datacatalog.SinglePropertyFilter.getDefaultInstance()); - } - /** - * repeated .datacatalog.SinglePropertyFilter filters = 1; - */ - public java.util.List - getFiltersBuilderList() { - return getFiltersFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.SinglePropertyFilter, datacatalog.Datacatalog.SinglePropertyFilter.Builder, datacatalog.Datacatalog.SinglePropertyFilterOrBuilder> - getFiltersFieldBuilder() { - if (filtersBuilder_ == null) { - filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - datacatalog.Datacatalog.SinglePropertyFilter, datacatalog.Datacatalog.SinglePropertyFilter.Builder, datacatalog.Datacatalog.SinglePropertyFilterOrBuilder>( - filters_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - filters_ = null; - } - return filtersBuilder_; - } - @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.FilterExpression) - } - - // @@protoc_insertion_point(class_scope:datacatalog.FilterExpression) - private static final datacatalog.Datacatalog.FilterExpression DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.FilterExpression(); - } - - public static datacatalog.Datacatalog.FilterExpression getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FilterExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FilterExpression(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.FilterExpression getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SinglePropertyFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.SinglePropertyFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - boolean hasTagFilter(); - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - datacatalog.Datacatalog.TagPropertyFilter getTagFilter(); - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - datacatalog.Datacatalog.TagPropertyFilterOrBuilder getTagFilterOrBuilder(); - - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - boolean hasPartitionFilter(); - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - datacatalog.Datacatalog.PartitionPropertyFilter getPartitionFilter(); - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - datacatalog.Datacatalog.PartitionPropertyFilterOrBuilder getPartitionFilterOrBuilder(); - - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - boolean hasArtifactFilter(); - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - datacatalog.Datacatalog.ArtifactPropertyFilter getArtifactFilter(); - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - datacatalog.Datacatalog.ArtifactPropertyFilterOrBuilder getArtifactFilterOrBuilder(); - - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - boolean hasDatasetFilter(); - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - datacatalog.Datacatalog.DatasetPropertyFilter getDatasetFilter(); - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - datacatalog.Datacatalog.DatasetPropertyFilterOrBuilder getDatasetFilterOrBuilder(); - - /** - *
-     * field 10 in case we add more entities to query
-     * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - int getOperatorValue(); - /** - *
-     * field 10 in case we add more entities to query
-     * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator getOperator(); - - public datacatalog.Datacatalog.SinglePropertyFilter.PropertyFilterCase getPropertyFilterCase(); - } - /** - *
-   * A single property to filter on.
-   * 
- * - * Protobuf type {@code datacatalog.SinglePropertyFilter} - */ - public static final class SinglePropertyFilter extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.SinglePropertyFilter) - SinglePropertyFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use SinglePropertyFilter.newBuilder() to construct. - private SinglePropertyFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SinglePropertyFilter() { - operator_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SinglePropertyFilter( - 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.TagPropertyFilter.Builder subBuilder = null; - if (propertyFilterCase_ == 1) { - subBuilder = ((datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_).toBuilder(); - } - propertyFilter_ = - input.readMessage(datacatalog.Datacatalog.TagPropertyFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_); - propertyFilter_ = subBuilder.buildPartial(); - } - propertyFilterCase_ = 1; - break; - } - case 18: { - datacatalog.Datacatalog.PartitionPropertyFilter.Builder subBuilder = null; - if (propertyFilterCase_ == 2) { - subBuilder = ((datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_).toBuilder(); - } - propertyFilter_ = - input.readMessage(datacatalog.Datacatalog.PartitionPropertyFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_); - propertyFilter_ = subBuilder.buildPartial(); - } - propertyFilterCase_ = 2; - break; - } - case 26: { - datacatalog.Datacatalog.ArtifactPropertyFilter.Builder subBuilder = null; - if (propertyFilterCase_ == 3) { - subBuilder = ((datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_).toBuilder(); - } - propertyFilter_ = - input.readMessage(datacatalog.Datacatalog.ArtifactPropertyFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_); - propertyFilter_ = subBuilder.buildPartial(); - } - propertyFilterCase_ = 3; - break; - } - case 34: { - datacatalog.Datacatalog.DatasetPropertyFilter.Builder subBuilder = null; - if (propertyFilterCase_ == 4) { - subBuilder = ((datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_).toBuilder(); - } - propertyFilter_ = - input.readMessage(datacatalog.Datacatalog.DatasetPropertyFilter.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_); - propertyFilter_ = subBuilder.buildPartial(); - } - propertyFilterCase_ = 4; - break; - } - case 80: { - int rawValue = input.readEnum(); - - operator_ = rawValue; - 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_SinglePropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_SinglePropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.SinglePropertyFilter.class, datacatalog.Datacatalog.SinglePropertyFilter.Builder.class); - } - - /** - *
-     * as use-cases come up we can add more operators, ex: gte, like, not eq etc.
-     * 
- * - * Protobuf enum {@code datacatalog.SinglePropertyFilter.ComparisonOperator} - */ - public enum ComparisonOperator - implements com.google.protobuf.ProtocolMessageEnum { - /** - * EQUALS = 0; - */ - EQUALS(0), - UNRECOGNIZED(-1), - ; - - /** - * EQUALS = 0; - */ - public static final int EQUALS_VALUE = 0; - - - 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 ComparisonOperator valueOf(int value) { - return forNumber(value); - } - - public static ComparisonOperator forNumber(int value) { - switch (value) { - case 0: return EQUALS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ComparisonOperator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComparisonOperator findValueByNumber(int number) { - return ComparisonOperator.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 datacatalog.Datacatalog.SinglePropertyFilter.getDescriptor().getEnumTypes().get(0); - } - - private static final ComparisonOperator[] VALUES = values(); - - public static ComparisonOperator 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 ComparisonOperator(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:datacatalog.SinglePropertyFilter.ComparisonOperator) - } - - private int propertyFilterCase_ = 0; - private java.lang.Object propertyFilter_; - public enum PropertyFilterCase - implements com.google.protobuf.Internal.EnumLite { - TAG_FILTER(1), - PARTITION_FILTER(2), - ARTIFACT_FILTER(3), - DATASET_FILTER(4), - PROPERTYFILTER_NOT_SET(0); - private final int value; - private PropertyFilterCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PropertyFilterCase valueOf(int value) { - return forNumber(value); - } - - public static PropertyFilterCase forNumber(int value) { - switch (value) { - case 1: return TAG_FILTER; - case 2: return PARTITION_FILTER; - case 3: return ARTIFACT_FILTER; - case 4: return DATASET_FILTER; - case 0: return PROPERTYFILTER_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public PropertyFilterCase - getPropertyFilterCase() { - return PropertyFilterCase.forNumber( - propertyFilterCase_); - } - - public static final int TAG_FILTER_FIELD_NUMBER = 1; - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public boolean hasTagFilter() { - return propertyFilterCase_ == 1; - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public datacatalog.Datacatalog.TagPropertyFilter getTagFilter() { - if (propertyFilterCase_ == 1) { - return (datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance(); - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public datacatalog.Datacatalog.TagPropertyFilterOrBuilder getTagFilterOrBuilder() { - if (propertyFilterCase_ == 1) { - return (datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance(); - } - - public static final int PARTITION_FILTER_FIELD_NUMBER = 2; - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public boolean hasPartitionFilter() { - return propertyFilterCase_ == 2; - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public datacatalog.Datacatalog.PartitionPropertyFilter getPartitionFilter() { - if (propertyFilterCase_ == 2) { - return (datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance(); - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public datacatalog.Datacatalog.PartitionPropertyFilterOrBuilder getPartitionFilterOrBuilder() { - if (propertyFilterCase_ == 2) { - return (datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance(); - } - - public static final int ARTIFACT_FILTER_FIELD_NUMBER = 3; - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public boolean hasArtifactFilter() { - return propertyFilterCase_ == 3; - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public datacatalog.Datacatalog.ArtifactPropertyFilter getArtifactFilter() { - if (propertyFilterCase_ == 3) { - return (datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance(); - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public datacatalog.Datacatalog.ArtifactPropertyFilterOrBuilder getArtifactFilterOrBuilder() { - if (propertyFilterCase_ == 3) { - return (datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance(); - } - - public static final int DATASET_FILTER_FIELD_NUMBER = 4; - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public boolean hasDatasetFilter() { - return propertyFilterCase_ == 4; - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public datacatalog.Datacatalog.DatasetPropertyFilter getDatasetFilter() { - if (propertyFilterCase_ == 4) { - return (datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance(); - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public datacatalog.Datacatalog.DatasetPropertyFilterOrBuilder getDatasetFilterOrBuilder() { - if (propertyFilterCase_ == 4) { - return (datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance(); - } - - public static final int OPERATOR_FIELD_NUMBER = 10; - private int operator_; - /** - *
-     * field 10 in case we add more entities to query
-     * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - public int getOperatorValue() { - return operator_; - } - /** - *
-     * field 10 in case we add more entities to query
-     * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - public datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator getOperator() { - @SuppressWarnings("deprecation") - datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator result = datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator.valueOf(operator_); - return result == null ? datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator.UNRECOGNIZED : result; - } - - 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 (propertyFilterCase_ == 1) { - output.writeMessage(1, (datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_); - } - if (propertyFilterCase_ == 2) { - output.writeMessage(2, (datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_); - } - if (propertyFilterCase_ == 3) { - output.writeMessage(3, (datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_); - } - if (propertyFilterCase_ == 4) { - output.writeMessage(4, (datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_); - } - if (operator_ != datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator.EQUALS.getNumber()) { - output.writeEnum(10, operator_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (propertyFilterCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_); - } - if (propertyFilterCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_); - } - if (propertyFilterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_); - } - if (propertyFilterCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_); - } - if (operator_ != datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator.EQUALS.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, operator_); - } - 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.SinglePropertyFilter)) { - return super.equals(obj); - } - datacatalog.Datacatalog.SinglePropertyFilter other = (datacatalog.Datacatalog.SinglePropertyFilter) obj; - - if (operator_ != other.operator_) return false; - if (!getPropertyFilterCase().equals(other.getPropertyFilterCase())) return false; - switch (propertyFilterCase_) { - case 1: - if (!getTagFilter() - .equals(other.getTagFilter())) return false; - break; - case 2: - if (!getPartitionFilter() - .equals(other.getPartitionFilter())) return false; - break; - case 3: - if (!getArtifactFilter() - .equals(other.getArtifactFilter())) return false; - break; - case 4: - if (!getDatasetFilter() - .equals(other.getDatasetFilter())) 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) + OPERATOR_FIELD_NUMBER; - hash = (53 * hash) + operator_; - switch (propertyFilterCase_) { - case 1: - hash = (37 * hash) + TAG_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getTagFilter().hashCode(); - break; - case 2: - hash = (37 * hash) + PARTITION_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getPartitionFilter().hashCode(); - break; - case 3: - hash = (37 * hash) + ARTIFACT_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getArtifactFilter().hashCode(); - break; - case 4: - hash = (37 * hash) + DATASET_FILTER_FIELD_NUMBER; - hash = (53 * hash) + getDatasetFilter().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.SinglePropertyFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.SinglePropertyFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.SinglePropertyFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.SinglePropertyFilter 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.SinglePropertyFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.SinglePropertyFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.SinglePropertyFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.SinglePropertyFilter 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.SinglePropertyFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.SinglePropertyFilter 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.SinglePropertyFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.SinglePropertyFilter 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.SinglePropertyFilter 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 single property to filter on.
-     * 
- * - * Protobuf type {@code datacatalog.SinglePropertyFilter} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.SinglePropertyFilter) - datacatalog.Datacatalog.SinglePropertyFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_SinglePropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_SinglePropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.SinglePropertyFilter.class, datacatalog.Datacatalog.SinglePropertyFilter.Builder.class); - } - - // Construct using datacatalog.Datacatalog.SinglePropertyFilter.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(); - operator_ = 0; - - propertyFilterCase_ = 0; - propertyFilter_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_SinglePropertyFilter_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.SinglePropertyFilter getDefaultInstanceForType() { - return datacatalog.Datacatalog.SinglePropertyFilter.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.SinglePropertyFilter build() { - datacatalog.Datacatalog.SinglePropertyFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.SinglePropertyFilter buildPartial() { - datacatalog.Datacatalog.SinglePropertyFilter result = new datacatalog.Datacatalog.SinglePropertyFilter(this); - if (propertyFilterCase_ == 1) { - if (tagFilterBuilder_ == null) { - result.propertyFilter_ = propertyFilter_; - } else { - result.propertyFilter_ = tagFilterBuilder_.build(); - } - } - if (propertyFilterCase_ == 2) { - if (partitionFilterBuilder_ == null) { - result.propertyFilter_ = propertyFilter_; - } else { - result.propertyFilter_ = partitionFilterBuilder_.build(); - } - } - if (propertyFilterCase_ == 3) { - if (artifactFilterBuilder_ == null) { - result.propertyFilter_ = propertyFilter_; - } else { - result.propertyFilter_ = artifactFilterBuilder_.build(); - } - } - if (propertyFilterCase_ == 4) { - if (datasetFilterBuilder_ == null) { - result.propertyFilter_ = propertyFilter_; - } else { - result.propertyFilter_ = datasetFilterBuilder_.build(); - } - } - result.operator_ = operator_; - result.propertyFilterCase_ = propertyFilterCase_; - 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.SinglePropertyFilter) { - return mergeFrom((datacatalog.Datacatalog.SinglePropertyFilter)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.SinglePropertyFilter other) { - if (other == datacatalog.Datacatalog.SinglePropertyFilter.getDefaultInstance()) return this; - if (other.operator_ != 0) { - setOperatorValue(other.getOperatorValue()); - } - switch (other.getPropertyFilterCase()) { - case TAG_FILTER: { - mergeTagFilter(other.getTagFilter()); - break; - } - case PARTITION_FILTER: { - mergePartitionFilter(other.getPartitionFilter()); - break; - } - case ARTIFACT_FILTER: { - mergeArtifactFilter(other.getArtifactFilter()); - break; - } - case DATASET_FILTER: { - mergeDatasetFilter(other.getDatasetFilter()); - break; - } - case PROPERTYFILTER_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 { - datacatalog.Datacatalog.SinglePropertyFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.SinglePropertyFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int propertyFilterCase_ = 0; - private java.lang.Object propertyFilter_; - public PropertyFilterCase - getPropertyFilterCase() { - return PropertyFilterCase.forNumber( - propertyFilterCase_); - } - - public Builder clearPropertyFilter() { - propertyFilterCase_ = 0; - propertyFilter_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.TagPropertyFilter, datacatalog.Datacatalog.TagPropertyFilter.Builder, datacatalog.Datacatalog.TagPropertyFilterOrBuilder> tagFilterBuilder_; - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public boolean hasTagFilter() { - return propertyFilterCase_ == 1; - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public datacatalog.Datacatalog.TagPropertyFilter getTagFilter() { - if (tagFilterBuilder_ == null) { - if (propertyFilterCase_ == 1) { - return (datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance(); - } else { - if (propertyFilterCase_ == 1) { - return tagFilterBuilder_.getMessage(); - } - return datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public Builder setTagFilter(datacatalog.Datacatalog.TagPropertyFilter value) { - if (tagFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - propertyFilter_ = value; - onChanged(); - } else { - tagFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 1; - return this; - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public Builder setTagFilter( - datacatalog.Datacatalog.TagPropertyFilter.Builder builderForValue) { - if (tagFilterBuilder_ == null) { - propertyFilter_ = builderForValue.build(); - onChanged(); - } else { - tagFilterBuilder_.setMessage(builderForValue.build()); - } - propertyFilterCase_ = 1; - return this; - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public Builder mergeTagFilter(datacatalog.Datacatalog.TagPropertyFilter value) { - if (tagFilterBuilder_ == null) { - if (propertyFilterCase_ == 1 && - propertyFilter_ != datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance()) { - propertyFilter_ = datacatalog.Datacatalog.TagPropertyFilter.newBuilder((datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_) - .mergeFrom(value).buildPartial(); - } else { - propertyFilter_ = value; - } - onChanged(); - } else { - if (propertyFilterCase_ == 1) { - tagFilterBuilder_.mergeFrom(value); - } - tagFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 1; - return this; - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public Builder clearTagFilter() { - if (tagFilterBuilder_ == null) { - if (propertyFilterCase_ == 1) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - onChanged(); - } - } else { - if (propertyFilterCase_ == 1) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - } - tagFilterBuilder_.clear(); - } - return this; - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public datacatalog.Datacatalog.TagPropertyFilter.Builder getTagFilterBuilder() { - return getTagFilterFieldBuilder().getBuilder(); - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - public datacatalog.Datacatalog.TagPropertyFilterOrBuilder getTagFilterOrBuilder() { - if ((propertyFilterCase_ == 1) && (tagFilterBuilder_ != null)) { - return tagFilterBuilder_.getMessageOrBuilder(); - } else { - if (propertyFilterCase_ == 1) { - return (datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.TagPropertyFilter tag_filter = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.TagPropertyFilter, datacatalog.Datacatalog.TagPropertyFilter.Builder, datacatalog.Datacatalog.TagPropertyFilterOrBuilder> - getTagFilterFieldBuilder() { - if (tagFilterBuilder_ == null) { - if (!(propertyFilterCase_ == 1)) { - propertyFilter_ = datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance(); - } - tagFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.TagPropertyFilter, datacatalog.Datacatalog.TagPropertyFilter.Builder, datacatalog.Datacatalog.TagPropertyFilterOrBuilder>( - (datacatalog.Datacatalog.TagPropertyFilter) propertyFilter_, - getParentForChildren(), - isClean()); - propertyFilter_ = null; - } - propertyFilterCase_ = 1; - onChanged();; - return tagFilterBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PartitionPropertyFilter, datacatalog.Datacatalog.PartitionPropertyFilter.Builder, datacatalog.Datacatalog.PartitionPropertyFilterOrBuilder> partitionFilterBuilder_; - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public boolean hasPartitionFilter() { - return propertyFilterCase_ == 2; - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public datacatalog.Datacatalog.PartitionPropertyFilter getPartitionFilter() { - if (partitionFilterBuilder_ == null) { - if (propertyFilterCase_ == 2) { - return (datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance(); - } else { - if (propertyFilterCase_ == 2) { - return partitionFilterBuilder_.getMessage(); - } - return datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public Builder setPartitionFilter(datacatalog.Datacatalog.PartitionPropertyFilter value) { - if (partitionFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - propertyFilter_ = value; - onChanged(); - } else { - partitionFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 2; - return this; - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public Builder setPartitionFilter( - datacatalog.Datacatalog.PartitionPropertyFilter.Builder builderForValue) { - if (partitionFilterBuilder_ == null) { - propertyFilter_ = builderForValue.build(); - onChanged(); - } else { - partitionFilterBuilder_.setMessage(builderForValue.build()); - } - propertyFilterCase_ = 2; - return this; - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public Builder mergePartitionFilter(datacatalog.Datacatalog.PartitionPropertyFilter value) { - if (partitionFilterBuilder_ == null) { - if (propertyFilterCase_ == 2 && - propertyFilter_ != datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance()) { - propertyFilter_ = datacatalog.Datacatalog.PartitionPropertyFilter.newBuilder((datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_) - .mergeFrom(value).buildPartial(); - } else { - propertyFilter_ = value; - } - onChanged(); - } else { - if (propertyFilterCase_ == 2) { - partitionFilterBuilder_.mergeFrom(value); - } - partitionFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 2; - return this; - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public Builder clearPartitionFilter() { - if (partitionFilterBuilder_ == null) { - if (propertyFilterCase_ == 2) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - onChanged(); - } - } else { - if (propertyFilterCase_ == 2) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - } - partitionFilterBuilder_.clear(); - } - return this; - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public datacatalog.Datacatalog.PartitionPropertyFilter.Builder getPartitionFilterBuilder() { - return getPartitionFilterFieldBuilder().getBuilder(); - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - public datacatalog.Datacatalog.PartitionPropertyFilterOrBuilder getPartitionFilterOrBuilder() { - if ((propertyFilterCase_ == 2) && (partitionFilterBuilder_ != null)) { - return partitionFilterBuilder_.getMessageOrBuilder(); - } else { - if (propertyFilterCase_ == 2) { - return (datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.PartitionPropertyFilter partition_filter = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PartitionPropertyFilter, datacatalog.Datacatalog.PartitionPropertyFilter.Builder, datacatalog.Datacatalog.PartitionPropertyFilterOrBuilder> - getPartitionFilterFieldBuilder() { - if (partitionFilterBuilder_ == null) { - if (!(propertyFilterCase_ == 2)) { - propertyFilter_ = datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance(); - } - partitionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.PartitionPropertyFilter, datacatalog.Datacatalog.PartitionPropertyFilter.Builder, datacatalog.Datacatalog.PartitionPropertyFilterOrBuilder>( - (datacatalog.Datacatalog.PartitionPropertyFilter) propertyFilter_, - getParentForChildren(), - isClean()); - propertyFilter_ = null; - } - propertyFilterCase_ = 2; - onChanged();; - return partitionFilterBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ArtifactPropertyFilter, datacatalog.Datacatalog.ArtifactPropertyFilter.Builder, datacatalog.Datacatalog.ArtifactPropertyFilterOrBuilder> artifactFilterBuilder_; - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public boolean hasArtifactFilter() { - return propertyFilterCase_ == 3; - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public datacatalog.Datacatalog.ArtifactPropertyFilter getArtifactFilter() { - if (artifactFilterBuilder_ == null) { - if (propertyFilterCase_ == 3) { - return (datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance(); - } else { - if (propertyFilterCase_ == 3) { - return artifactFilterBuilder_.getMessage(); - } - return datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public Builder setArtifactFilter(datacatalog.Datacatalog.ArtifactPropertyFilter value) { - if (artifactFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - propertyFilter_ = value; - onChanged(); - } else { - artifactFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 3; - return this; - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public Builder setArtifactFilter( - datacatalog.Datacatalog.ArtifactPropertyFilter.Builder builderForValue) { - if (artifactFilterBuilder_ == null) { - propertyFilter_ = builderForValue.build(); - onChanged(); - } else { - artifactFilterBuilder_.setMessage(builderForValue.build()); - } - propertyFilterCase_ = 3; - return this; - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public Builder mergeArtifactFilter(datacatalog.Datacatalog.ArtifactPropertyFilter value) { - if (artifactFilterBuilder_ == null) { - if (propertyFilterCase_ == 3 && - propertyFilter_ != datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance()) { - propertyFilter_ = datacatalog.Datacatalog.ArtifactPropertyFilter.newBuilder((datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_) - .mergeFrom(value).buildPartial(); - } else { - propertyFilter_ = value; - } - onChanged(); - } else { - if (propertyFilterCase_ == 3) { - artifactFilterBuilder_.mergeFrom(value); - } - artifactFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 3; - return this; - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public Builder clearArtifactFilter() { - if (artifactFilterBuilder_ == null) { - if (propertyFilterCase_ == 3) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - onChanged(); - } - } else { - if (propertyFilterCase_ == 3) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - } - artifactFilterBuilder_.clear(); - } - return this; - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public datacatalog.Datacatalog.ArtifactPropertyFilter.Builder getArtifactFilterBuilder() { - return getArtifactFilterFieldBuilder().getBuilder(); - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - public datacatalog.Datacatalog.ArtifactPropertyFilterOrBuilder getArtifactFilterOrBuilder() { - if ((propertyFilterCase_ == 3) && (artifactFilterBuilder_ != null)) { - return artifactFilterBuilder_.getMessageOrBuilder(); - } else { - if (propertyFilterCase_ == 3) { - return (datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ArtifactPropertyFilter, datacatalog.Datacatalog.ArtifactPropertyFilter.Builder, datacatalog.Datacatalog.ArtifactPropertyFilterOrBuilder> - getArtifactFilterFieldBuilder() { - if (artifactFilterBuilder_ == null) { - if (!(propertyFilterCase_ == 3)) { - propertyFilter_ = datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance(); - } - artifactFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ArtifactPropertyFilter, datacatalog.Datacatalog.ArtifactPropertyFilter.Builder, datacatalog.Datacatalog.ArtifactPropertyFilterOrBuilder>( - (datacatalog.Datacatalog.ArtifactPropertyFilter) propertyFilter_, - getParentForChildren(), - isClean()); - propertyFilter_ = null; - } - propertyFilterCase_ = 3; - onChanged();; - return artifactFilterBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetPropertyFilter, datacatalog.Datacatalog.DatasetPropertyFilter.Builder, datacatalog.Datacatalog.DatasetPropertyFilterOrBuilder> datasetFilterBuilder_; - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public boolean hasDatasetFilter() { - return propertyFilterCase_ == 4; - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public datacatalog.Datacatalog.DatasetPropertyFilter getDatasetFilter() { - if (datasetFilterBuilder_ == null) { - if (propertyFilterCase_ == 4) { - return (datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance(); - } else { - if (propertyFilterCase_ == 4) { - return datasetFilterBuilder_.getMessage(); - } - return datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public Builder setDatasetFilter(datacatalog.Datacatalog.DatasetPropertyFilter value) { - if (datasetFilterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - propertyFilter_ = value; - onChanged(); - } else { - datasetFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 4; - return this; - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public Builder setDatasetFilter( - datacatalog.Datacatalog.DatasetPropertyFilter.Builder builderForValue) { - if (datasetFilterBuilder_ == null) { - propertyFilter_ = builderForValue.build(); - onChanged(); - } else { - datasetFilterBuilder_.setMessage(builderForValue.build()); - } - propertyFilterCase_ = 4; - return this; - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public Builder mergeDatasetFilter(datacatalog.Datacatalog.DatasetPropertyFilter value) { - if (datasetFilterBuilder_ == null) { - if (propertyFilterCase_ == 4 && - propertyFilter_ != datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance()) { - propertyFilter_ = datacatalog.Datacatalog.DatasetPropertyFilter.newBuilder((datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_) - .mergeFrom(value).buildPartial(); - } else { - propertyFilter_ = value; - } - onChanged(); - } else { - if (propertyFilterCase_ == 4) { - datasetFilterBuilder_.mergeFrom(value); - } - datasetFilterBuilder_.setMessage(value); - } - propertyFilterCase_ = 4; - return this; - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public Builder clearDatasetFilter() { - if (datasetFilterBuilder_ == null) { - if (propertyFilterCase_ == 4) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - onChanged(); - } - } else { - if (propertyFilterCase_ == 4) { - propertyFilterCase_ = 0; - propertyFilter_ = null; - } - datasetFilterBuilder_.clear(); - } - return this; - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public datacatalog.Datacatalog.DatasetPropertyFilter.Builder getDatasetFilterBuilder() { - return getDatasetFilterFieldBuilder().getBuilder(); - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - public datacatalog.Datacatalog.DatasetPropertyFilterOrBuilder getDatasetFilterOrBuilder() { - if ((propertyFilterCase_ == 4) && (datasetFilterBuilder_ != null)) { - return datasetFilterBuilder_.getMessageOrBuilder(); - } else { - if (propertyFilterCase_ == 4) { - return (datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_; - } - return datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance(); - } - } - /** - * .datacatalog.DatasetPropertyFilter dataset_filter = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetPropertyFilter, datacatalog.Datacatalog.DatasetPropertyFilter.Builder, datacatalog.Datacatalog.DatasetPropertyFilterOrBuilder> - getDatasetFilterFieldBuilder() { - if (datasetFilterBuilder_ == null) { - if (!(propertyFilterCase_ == 4)) { - propertyFilter_ = datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance(); - } - datasetFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetPropertyFilter, datacatalog.Datacatalog.DatasetPropertyFilter.Builder, datacatalog.Datacatalog.DatasetPropertyFilterOrBuilder>( - (datacatalog.Datacatalog.DatasetPropertyFilter) propertyFilter_, - getParentForChildren(), - isClean()); - propertyFilter_ = null; - } - propertyFilterCase_ = 4; - onChanged();; - return datasetFilterBuilder_; - } - - private int operator_ = 0; - /** - *
-       * field 10 in case we add more entities to query
-       * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - public int getOperatorValue() { - return operator_; - } - /** - *
-       * field 10 in case we add more entities to query
-       * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - public Builder setOperatorValue(int value) { - operator_ = value; - onChanged(); - return this; - } - /** - *
-       * field 10 in case we add more entities to query
-       * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - public datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator getOperator() { - @SuppressWarnings("deprecation") - datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator result = datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator.valueOf(operator_); - return result == null ? datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator.UNRECOGNIZED : result; - } - /** - *
-       * field 10 in case we add more entities to query
-       * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - public Builder setOperator(datacatalog.Datacatalog.SinglePropertyFilter.ComparisonOperator value) { - if (value == null) { - throw new NullPointerException(); - } - - operator_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * field 10 in case we add more entities to query
-       * 
- * - * .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - */ - public Builder clearOperator() { - - operator_ = 0; - 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.SinglePropertyFilter) - } - - // @@protoc_insertion_point(class_scope:datacatalog.SinglePropertyFilter) - private static final datacatalog.Datacatalog.SinglePropertyFilter DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.SinglePropertyFilter(); - } - - public static datacatalog.Datacatalog.SinglePropertyFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SinglePropertyFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SinglePropertyFilter(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.SinglePropertyFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArtifactPropertyFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ArtifactPropertyFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * string artifact_id = 1; - */ - java.lang.String getArtifactId(); - /** - * string artifact_id = 1; - */ - com.google.protobuf.ByteString - getArtifactIdBytes(); - - public datacatalog.Datacatalog.ArtifactPropertyFilter.PropertyCase getPropertyCase(); - } - /** - *
-   * Artifact properties we can filter by
-   * 
- * - * Protobuf type {@code datacatalog.ArtifactPropertyFilter} - */ - public static final class ArtifactPropertyFilter extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ArtifactPropertyFilter) - ArtifactPropertyFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArtifactPropertyFilter.newBuilder() to construct. - private ArtifactPropertyFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArtifactPropertyFilter() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArtifactPropertyFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - propertyCase_ = 1; - property_ = 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_ArtifactPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ArtifactPropertyFilter.class, datacatalog.Datacatalog.ArtifactPropertyFilter.Builder.class); - } - - private int propertyCase_ = 0; - private java.lang.Object property_; - public enum PropertyCase - implements com.google.protobuf.Internal.EnumLite { - ARTIFACT_ID(1), - PROPERTY_NOT_SET(0); - private final int value; - private PropertyCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PropertyCase valueOf(int value) { - return forNumber(value); - } - - public static PropertyCase forNumber(int value) { - switch (value) { - case 1: return ARTIFACT_ID; - case 0: return PROPERTY_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 1; - /** - * string artifact_id = 1; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - 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 (propertyCase_ == 1) { - property_ = s; - } - return s; - } - } - /** - * string artifact_id = 1; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 1) { - property_ = 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 (propertyCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (propertyCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); - } - 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.ArtifactPropertyFilter)) { - return super.equals(obj); - } - datacatalog.Datacatalog.ArtifactPropertyFilter other = (datacatalog.Datacatalog.ArtifactPropertyFilter) obj; - - if (!getPropertyCase().equals(other.getPropertyCase())) return false; - switch (propertyCase_) { - case 1: - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (propertyCase_) { - case 1: - hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; - hash = (53 * hash) + getArtifactId().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.ArtifactPropertyFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter 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.ArtifactPropertyFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter 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.ArtifactPropertyFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter 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.ArtifactPropertyFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.ArtifactPropertyFilter 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.ArtifactPropertyFilter 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; - } - /** - *
-     * Artifact properties we can filter by
-     * 
- * - * Protobuf type {@code datacatalog.ArtifactPropertyFilter} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ArtifactPropertyFilter) - datacatalog.Datacatalog.ArtifactPropertyFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ArtifactPropertyFilter.class, datacatalog.Datacatalog.ArtifactPropertyFilter.Builder.class); - } - - // Construct using datacatalog.Datacatalog.ArtifactPropertyFilter.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(); - propertyCase_ = 0; - property_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ArtifactPropertyFilter_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.ArtifactPropertyFilter getDefaultInstanceForType() { - return datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.ArtifactPropertyFilter build() { - datacatalog.Datacatalog.ArtifactPropertyFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.ArtifactPropertyFilter buildPartial() { - datacatalog.Datacatalog.ArtifactPropertyFilter result = new datacatalog.Datacatalog.ArtifactPropertyFilter(this); - if (propertyCase_ == 1) { - result.property_ = property_; - } - result.propertyCase_ = propertyCase_; - 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.ArtifactPropertyFilter) { - return mergeFrom((datacatalog.Datacatalog.ArtifactPropertyFilter)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.ArtifactPropertyFilter other) { - if (other == datacatalog.Datacatalog.ArtifactPropertyFilter.getDefaultInstance()) return this; - switch (other.getPropertyCase()) { - case ARTIFACT_ID: { - propertyCase_ = 1; - property_ = other.property_; - onChanged(); - break; - } - case PROPERTY_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 { - datacatalog.Datacatalog.ArtifactPropertyFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ArtifactPropertyFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int propertyCase_ = 0; - private java.lang.Object property_; - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public Builder clearProperty() { - propertyCase_ = 0; - property_ = null; - onChanged(); - return this; - } - - - /** - * string artifact_id = 1; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (propertyCase_ == 1) { - property_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string artifact_id = 1; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 1) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string artifact_id = 1; - */ - public Builder setArtifactId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - propertyCase_ = 1; - property_ = value; - onChanged(); - return this; - } - /** - * string artifact_id = 1; - */ - public Builder clearArtifactId() { - if (propertyCase_ == 1) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - return this; - } - /** - * string artifact_id = 1; - */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - propertyCase_ = 1; - property_ = 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.ArtifactPropertyFilter) - } - - // @@protoc_insertion_point(class_scope:datacatalog.ArtifactPropertyFilter) - private static final datacatalog.Datacatalog.ArtifactPropertyFilter DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ArtifactPropertyFilter(); - } - - public static datacatalog.Datacatalog.ArtifactPropertyFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArtifactPropertyFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArtifactPropertyFilter(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.ArtifactPropertyFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TagPropertyFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.TagPropertyFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * string tag_name = 1; - */ - java.lang.String getTagName(); - /** - * string tag_name = 1; - */ - com.google.protobuf.ByteString - getTagNameBytes(); - - public datacatalog.Datacatalog.TagPropertyFilter.PropertyCase getPropertyCase(); - } - /** - *
-   * Tag properties we can filter by
-   * 
- * - * Protobuf type {@code datacatalog.TagPropertyFilter} - */ - public static final class TagPropertyFilter extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.TagPropertyFilter) - TagPropertyFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use TagPropertyFilter.newBuilder() to construct. - private TagPropertyFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TagPropertyFilter() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TagPropertyFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - propertyCase_ = 1; - property_ = 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_TagPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_TagPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.TagPropertyFilter.class, datacatalog.Datacatalog.TagPropertyFilter.Builder.class); - } - - private int propertyCase_ = 0; - private java.lang.Object property_; - public enum PropertyCase - implements com.google.protobuf.Internal.EnumLite { - TAG_NAME(1), - PROPERTY_NOT_SET(0); - private final int value; - private PropertyCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PropertyCase valueOf(int value) { - return forNumber(value); - } - - public static PropertyCase forNumber(int value) { - switch (value) { - case 1: return TAG_NAME; - case 0: return PROPERTY_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public static final int TAG_NAME_FIELD_NUMBER = 1; - /** - * string tag_name = 1; - */ - public java.lang.String getTagName() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - 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 (propertyCase_ == 1) { - property_ = s; - } - return s; - } - } - /** - * string tag_name = 1; - */ - public com.google.protobuf.ByteString - getTagNameBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 1) { - property_ = 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 (propertyCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (propertyCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); - } - 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.TagPropertyFilter)) { - return super.equals(obj); - } - datacatalog.Datacatalog.TagPropertyFilter other = (datacatalog.Datacatalog.TagPropertyFilter) obj; - - if (!getPropertyCase().equals(other.getPropertyCase())) return false; - switch (propertyCase_) { - case 1: - 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) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (propertyCase_) { - case 1: - hash = (37 * hash) + TAG_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTagName().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.TagPropertyFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.TagPropertyFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.TagPropertyFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.TagPropertyFilter 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.TagPropertyFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.TagPropertyFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.TagPropertyFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.TagPropertyFilter 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.TagPropertyFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.TagPropertyFilter 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.TagPropertyFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.TagPropertyFilter 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.TagPropertyFilter 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; - } - /** - *
-     * Tag properties we can filter by
-     * 
- * - * Protobuf type {@code datacatalog.TagPropertyFilter} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.TagPropertyFilter) - datacatalog.Datacatalog.TagPropertyFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_TagPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_TagPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.TagPropertyFilter.class, datacatalog.Datacatalog.TagPropertyFilter.Builder.class); - } - - // Construct using datacatalog.Datacatalog.TagPropertyFilter.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(); - propertyCase_ = 0; - property_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_TagPropertyFilter_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.TagPropertyFilter getDefaultInstanceForType() { - return datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.TagPropertyFilter build() { - datacatalog.Datacatalog.TagPropertyFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.TagPropertyFilter buildPartial() { - datacatalog.Datacatalog.TagPropertyFilter result = new datacatalog.Datacatalog.TagPropertyFilter(this); - if (propertyCase_ == 1) { - result.property_ = property_; - } - result.propertyCase_ = propertyCase_; - 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.TagPropertyFilter) { - return mergeFrom((datacatalog.Datacatalog.TagPropertyFilter)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.TagPropertyFilter other) { - if (other == datacatalog.Datacatalog.TagPropertyFilter.getDefaultInstance()) return this; - switch (other.getPropertyCase()) { - case TAG_NAME: { - propertyCase_ = 1; - property_ = other.property_; - onChanged(); - break; - } - case PROPERTY_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 { - datacatalog.Datacatalog.TagPropertyFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.TagPropertyFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int propertyCase_ = 0; - private java.lang.Object property_; - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public Builder clearProperty() { - propertyCase_ = 0; - property_ = null; - onChanged(); - return this; - } - - - /** - * string tag_name = 1; - */ - public java.lang.String getTagName() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (propertyCase_ == 1) { - property_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string tag_name = 1; - */ - public com.google.protobuf.ByteString - getTagNameBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 1) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string tag_name = 1; - */ - public Builder setTagName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - propertyCase_ = 1; - property_ = value; - onChanged(); - return this; - } - /** - * string tag_name = 1; - */ - public Builder clearTagName() { - if (propertyCase_ == 1) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - return this; - } - /** - * string tag_name = 1; - */ - public Builder setTagNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - propertyCase_ = 1; - property_ = 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.TagPropertyFilter) - } - - // @@protoc_insertion_point(class_scope:datacatalog.TagPropertyFilter) - private static final datacatalog.Datacatalog.TagPropertyFilter DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.TagPropertyFilter(); - } - - public static datacatalog.Datacatalog.TagPropertyFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagPropertyFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TagPropertyFilter(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.TagPropertyFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PartitionPropertyFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.PartitionPropertyFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - boolean hasKeyVal(); - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - datacatalog.Datacatalog.KeyValuePair getKeyVal(); - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - datacatalog.Datacatalog.KeyValuePairOrBuilder getKeyValOrBuilder(); - - public datacatalog.Datacatalog.PartitionPropertyFilter.PropertyCase getPropertyCase(); - } - /** - *
-   * Partition properties we can filter by
-   * 
- * - * Protobuf type {@code datacatalog.PartitionPropertyFilter} - */ - public static final class PartitionPropertyFilter extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.PartitionPropertyFilter) - PartitionPropertyFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use PartitionPropertyFilter.newBuilder() to construct. - private PartitionPropertyFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PartitionPropertyFilter() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PartitionPropertyFilter( - 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.KeyValuePair.Builder subBuilder = null; - if (propertyCase_ == 1) { - subBuilder = ((datacatalog.Datacatalog.KeyValuePair) property_).toBuilder(); - } - property_ = - input.readMessage(datacatalog.Datacatalog.KeyValuePair.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((datacatalog.Datacatalog.KeyValuePair) property_); - property_ = subBuilder.buildPartial(); - } - propertyCase_ = 1; - 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_PartitionPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_PartitionPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.PartitionPropertyFilter.class, datacatalog.Datacatalog.PartitionPropertyFilter.Builder.class); - } - - private int propertyCase_ = 0; - private java.lang.Object property_; - public enum PropertyCase - implements com.google.protobuf.Internal.EnumLite { - KEY_VAL(1), - PROPERTY_NOT_SET(0); - private final int value; - private PropertyCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PropertyCase valueOf(int value) { - return forNumber(value); - } - - public static PropertyCase forNumber(int value) { - switch (value) { - case 1: return KEY_VAL; - case 0: return PROPERTY_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public static final int KEY_VAL_FIELD_NUMBER = 1; - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public boolean hasKeyVal() { - return propertyCase_ == 1; - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public datacatalog.Datacatalog.KeyValuePair getKeyVal() { - if (propertyCase_ == 1) { - return (datacatalog.Datacatalog.KeyValuePair) property_; - } - return datacatalog.Datacatalog.KeyValuePair.getDefaultInstance(); - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public datacatalog.Datacatalog.KeyValuePairOrBuilder getKeyValOrBuilder() { - if (propertyCase_ == 1) { - return (datacatalog.Datacatalog.KeyValuePair) property_; - } - return datacatalog.Datacatalog.KeyValuePair.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 (propertyCase_ == 1) { - output.writeMessage(1, (datacatalog.Datacatalog.KeyValuePair) property_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (propertyCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (datacatalog.Datacatalog.KeyValuePair) property_); - } - 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.PartitionPropertyFilter)) { - return super.equals(obj); - } - datacatalog.Datacatalog.PartitionPropertyFilter other = (datacatalog.Datacatalog.PartitionPropertyFilter) obj; - - if (!getPropertyCase().equals(other.getPropertyCase())) return false; - switch (propertyCase_) { - case 1: - if (!getKeyVal() - .equals(other.getKeyVal())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (propertyCase_) { - case 1: - hash = (37 * hash) + KEY_VAL_FIELD_NUMBER; - hash = (53 * hash) + getKeyVal().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.PartitionPropertyFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter 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.PartitionPropertyFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter 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.PartitionPropertyFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter 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.PartitionPropertyFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.PartitionPropertyFilter 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.PartitionPropertyFilter 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; - } - /** - *
-     * Partition properties we can filter by
-     * 
- * - * Protobuf type {@code datacatalog.PartitionPropertyFilter} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.PartitionPropertyFilter) - datacatalog.Datacatalog.PartitionPropertyFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_PartitionPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_PartitionPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.PartitionPropertyFilter.class, datacatalog.Datacatalog.PartitionPropertyFilter.Builder.class); - } - - // Construct using datacatalog.Datacatalog.PartitionPropertyFilter.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(); - propertyCase_ = 0; - property_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_PartitionPropertyFilter_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.PartitionPropertyFilter getDefaultInstanceForType() { - return datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.PartitionPropertyFilter build() { - datacatalog.Datacatalog.PartitionPropertyFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.PartitionPropertyFilter buildPartial() { - datacatalog.Datacatalog.PartitionPropertyFilter result = new datacatalog.Datacatalog.PartitionPropertyFilter(this); - if (propertyCase_ == 1) { - if (keyValBuilder_ == null) { - result.property_ = property_; - } else { - result.property_ = keyValBuilder_.build(); - } - } - result.propertyCase_ = propertyCase_; - 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.PartitionPropertyFilter) { - return mergeFrom((datacatalog.Datacatalog.PartitionPropertyFilter)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.PartitionPropertyFilter other) { - if (other == datacatalog.Datacatalog.PartitionPropertyFilter.getDefaultInstance()) return this; - switch (other.getPropertyCase()) { - case KEY_VAL: { - mergeKeyVal(other.getKeyVal()); - break; - } - case PROPERTY_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 { - datacatalog.Datacatalog.PartitionPropertyFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.PartitionPropertyFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int propertyCase_ = 0; - private java.lang.Object property_; - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public Builder clearProperty() { - propertyCase_ = 0; - property_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.KeyValuePair, datacatalog.Datacatalog.KeyValuePair.Builder, datacatalog.Datacatalog.KeyValuePairOrBuilder> keyValBuilder_; - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public boolean hasKeyVal() { - return propertyCase_ == 1; - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public datacatalog.Datacatalog.KeyValuePair getKeyVal() { - if (keyValBuilder_ == null) { - if (propertyCase_ == 1) { - return (datacatalog.Datacatalog.KeyValuePair) property_; - } - return datacatalog.Datacatalog.KeyValuePair.getDefaultInstance(); - } else { - if (propertyCase_ == 1) { - return keyValBuilder_.getMessage(); - } - return datacatalog.Datacatalog.KeyValuePair.getDefaultInstance(); - } - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public Builder setKeyVal(datacatalog.Datacatalog.KeyValuePair value) { - if (keyValBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - property_ = value; - onChanged(); - } else { - keyValBuilder_.setMessage(value); - } - propertyCase_ = 1; - return this; - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public Builder setKeyVal( - datacatalog.Datacatalog.KeyValuePair.Builder builderForValue) { - if (keyValBuilder_ == null) { - property_ = builderForValue.build(); - onChanged(); - } else { - keyValBuilder_.setMessage(builderForValue.build()); - } - propertyCase_ = 1; - return this; - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public Builder mergeKeyVal(datacatalog.Datacatalog.KeyValuePair value) { - if (keyValBuilder_ == null) { - if (propertyCase_ == 1 && - property_ != datacatalog.Datacatalog.KeyValuePair.getDefaultInstance()) { - property_ = datacatalog.Datacatalog.KeyValuePair.newBuilder((datacatalog.Datacatalog.KeyValuePair) property_) - .mergeFrom(value).buildPartial(); - } else { - property_ = value; - } - onChanged(); - } else { - if (propertyCase_ == 1) { - keyValBuilder_.mergeFrom(value); - } - keyValBuilder_.setMessage(value); - } - propertyCase_ = 1; - return this; - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public Builder clearKeyVal() { - if (keyValBuilder_ == null) { - if (propertyCase_ == 1) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - } else { - if (propertyCase_ == 1) { - propertyCase_ = 0; - property_ = null; - } - keyValBuilder_.clear(); - } - return this; - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public datacatalog.Datacatalog.KeyValuePair.Builder getKeyValBuilder() { - return getKeyValFieldBuilder().getBuilder(); - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - public datacatalog.Datacatalog.KeyValuePairOrBuilder getKeyValOrBuilder() { - if ((propertyCase_ == 1) && (keyValBuilder_ != null)) { - return keyValBuilder_.getMessageOrBuilder(); - } else { - if (propertyCase_ == 1) { - return (datacatalog.Datacatalog.KeyValuePair) property_; - } - return datacatalog.Datacatalog.KeyValuePair.getDefaultInstance(); - } - } - /** - * .datacatalog.KeyValuePair key_val = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.KeyValuePair, datacatalog.Datacatalog.KeyValuePair.Builder, datacatalog.Datacatalog.KeyValuePairOrBuilder> - getKeyValFieldBuilder() { - if (keyValBuilder_ == null) { - if (!(propertyCase_ == 1)) { - property_ = datacatalog.Datacatalog.KeyValuePair.getDefaultInstance(); - } - keyValBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.KeyValuePair, datacatalog.Datacatalog.KeyValuePair.Builder, datacatalog.Datacatalog.KeyValuePairOrBuilder>( - (datacatalog.Datacatalog.KeyValuePair) property_, - getParentForChildren(), - isClean()); - property_ = null; - } - propertyCase_ = 1; - onChanged();; - return keyValBuilder_; - } - @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.PartitionPropertyFilter) - } - - // @@protoc_insertion_point(class_scope:datacatalog.PartitionPropertyFilter) - private static final datacatalog.Datacatalog.PartitionPropertyFilter DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.PartitionPropertyFilter(); - } - - public static datacatalog.Datacatalog.PartitionPropertyFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionPropertyFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionPropertyFilter(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.PartitionPropertyFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface KeyValuePairOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.KeyValuePair) - com.google.protobuf.MessageOrBuilder { - - /** - * string key = 1; - */ - java.lang.String getKey(); - /** - * string key = 1; - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - * string value = 2; - */ - java.lang.String getValue(); - /** - * string value = 2; - */ - com.google.protobuf.ByteString - getValueBytes(); - } - /** - * Protobuf type {@code datacatalog.KeyValuePair} - */ - public static final class KeyValuePair extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.KeyValuePair) - KeyValuePairOrBuilder { - private static final long serialVersionUID = 0L; - // Use KeyValuePair.newBuilder() to construct. - private KeyValuePair(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private KeyValuePair() { - key_ = ""; - value_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private KeyValuePair( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = 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_KeyValuePair_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.KeyValuePair.class, datacatalog.Datacatalog.KeyValuePair.Builder.class); - } - - public static final int KEY_FIELD_NUMBER = 1; - private volatile java.lang.Object key_; - /** - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - 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(); - key_ = s; - return s; - } - } - /** - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - /** - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - 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(); - value_ = s; - return s; - } - } - /** - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = 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 (!getKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); - } - if (!getValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); - } - if (!getValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - 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.KeyValuePair)) { - return super.equals(obj); - } - datacatalog.Datacatalog.KeyValuePair other = (datacatalog.Datacatalog.KeyValuePair) obj; - - if (!getKey() - .equals(other.getKey())) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.KeyValuePair parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.KeyValuePair parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.KeyValuePair parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.KeyValuePair 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.KeyValuePair parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.KeyValuePair parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.KeyValuePair parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.KeyValuePair 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.KeyValuePair parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.KeyValuePair 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.KeyValuePair parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.KeyValuePair 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.KeyValuePair 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 datacatalog.KeyValuePair} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.KeyValuePair) - datacatalog.Datacatalog.KeyValuePairOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_KeyValuePair_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.KeyValuePair.class, datacatalog.Datacatalog.KeyValuePair.Builder.class); - } - - // Construct using datacatalog.Datacatalog.KeyValuePair.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(); - key_ = ""; - - value_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_KeyValuePair_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.KeyValuePair getDefaultInstanceForType() { - return datacatalog.Datacatalog.KeyValuePair.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.KeyValuePair build() { - datacatalog.Datacatalog.KeyValuePair result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.KeyValuePair buildPartial() { - datacatalog.Datacatalog.KeyValuePair result = new datacatalog.Datacatalog.KeyValuePair(this); - result.key_ = key_; - result.value_ = value_; - 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.KeyValuePair) { - return mergeFrom((datacatalog.Datacatalog.KeyValuePair)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.KeyValuePair other) { - if (other == datacatalog.Datacatalog.KeyValuePair.getDefaultInstance()) return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - 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.KeyValuePair parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.KeyValuePair) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object key_ = ""; - /** - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string key = 1; - */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - key_ = value; - onChanged(); - return this; - } - /** - * string key = 1; - */ - public Builder clearKey() { - - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - * string key = 1; - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - key_ = value; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - /** - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string value = 2; - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - value_ = value; - onChanged(); - return this; - } - /** - * string value = 2; - */ - public Builder clearValue() { - - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - * string value = 2; - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - value_ = 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.KeyValuePair) - } - - // @@protoc_insertion_point(class_scope:datacatalog.KeyValuePair) - private static final datacatalog.Datacatalog.KeyValuePair DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.KeyValuePair(); - } - - public static datacatalog.Datacatalog.KeyValuePair getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeyValuePair parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KeyValuePair(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.KeyValuePair getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DatasetPropertyFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.DatasetPropertyFilter) - com.google.protobuf.MessageOrBuilder { - - /** - * string project = 1; - */ - java.lang.String getProject(); - /** - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - * string name = 2; - */ - java.lang.String getName(); - /** - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * string domain = 3; - */ - java.lang.String getDomain(); - /** - * string domain = 3; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - * string version = 4; - */ - java.lang.String getVersion(); - /** - * string version = 4; - */ - com.google.protobuf.ByteString - getVersionBytes(); - - /** - *
-     * Optional, org key applied to the dataset.
-     * 
- * - * string org = 5; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the dataset.
-     * 
- * - * string org = 5; - */ - com.google.protobuf.ByteString - getOrgBytes(); - - public datacatalog.Datacatalog.DatasetPropertyFilter.PropertyCase getPropertyCase(); - } - /** - *
-   * Dataset properties we can filter by
-   * 
- * - * Protobuf type {@code datacatalog.DatasetPropertyFilter} - */ - public static final class DatasetPropertyFilter extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.DatasetPropertyFilter) - DatasetPropertyFilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use DatasetPropertyFilter.newBuilder() to construct. - private DatasetPropertyFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DatasetPropertyFilter() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DatasetPropertyFilter( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - propertyCase_ = 1; - property_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - propertyCase_ = 2; - property_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - propertyCase_ = 3; - property_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - propertyCase_ = 4; - property_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - propertyCase_ = 5; - property_ = 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_DatasetPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.DatasetPropertyFilter.class, datacatalog.Datacatalog.DatasetPropertyFilter.Builder.class); - } - - private int propertyCase_ = 0; - private java.lang.Object property_; - public enum PropertyCase - implements com.google.protobuf.Internal.EnumLite { - PROJECT(1), - NAME(2), - DOMAIN(3), - VERSION(4), - ORG(5), - PROPERTY_NOT_SET(0); - private final int value; - private PropertyCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PropertyCase valueOf(int value) { - return forNumber(value); - } - - public static PropertyCase forNumber(int value) { - switch (value) { - case 1: return PROJECT; - case 2: return NAME; - case 3: return DOMAIN; - case 4: return VERSION; - case 5: return ORG; - case 0: return PROPERTY_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - /** - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - 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 (propertyCase_ == 1) { - property_ = s; - } - return s; - } - } - /** - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 1) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 2; - /** - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = ""; - if (propertyCase_ == 2) { - ref = property_; - } - 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 (propertyCase_ == 2) { - property_ = s; - } - return s; - } - } - /** - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 2) { - ref = property_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 2) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 3; - /** - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = ""; - if (propertyCase_ == 3) { - ref = property_; - } - 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 (propertyCase_ == 3) { - property_ = s; - } - return s; - } - } - /** - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 3) { - ref = property_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 3) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VERSION_FIELD_NUMBER = 4; - /** - * string version = 4; - */ - public java.lang.String getVersion() { - java.lang.Object ref = ""; - if (propertyCase_ == 4) { - ref = property_; - } - 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 (propertyCase_ == 4) { - property_ = s; - } - return s; - } - } - /** - * string version = 4; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 4) { - ref = property_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 4) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 5; - /** - *
-     * Optional, org key applied to the dataset.
-     * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = ""; - if (propertyCase_ == 5) { - ref = property_; - } - 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 (propertyCase_ == 5) { - property_ = s; - } - return s; - } - } - /** - *
-     * Optional, org key applied to the dataset.
-     * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 5) { - ref = property_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 5) { - property_ = 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 (propertyCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); - } - if (propertyCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, property_); - } - if (propertyCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, property_); - } - if (propertyCase_ == 4) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, property_); - } - if (propertyCase_ == 5) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, property_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (propertyCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); - } - if (propertyCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, property_); - } - if (propertyCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, property_); - } - if (propertyCase_ == 4) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, property_); - } - if (propertyCase_ == 5) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, property_); - } - 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.DatasetPropertyFilter)) { - return super.equals(obj); - } - datacatalog.Datacatalog.DatasetPropertyFilter other = (datacatalog.Datacatalog.DatasetPropertyFilter) obj; - - if (!getPropertyCase().equals(other.getPropertyCase())) return false; - switch (propertyCase_) { - case 1: - if (!getProject() - .equals(other.getProject())) return false; - break; - case 2: - if (!getName() - .equals(other.getName())) return false; - break; - case 3: - if (!getDomain() - .equals(other.getDomain())) return false; - break; - case 4: - if (!getVersion() - .equals(other.getVersion())) return false; - break; - case 5: - if (!getOrg() - .equals(other.getOrg())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (propertyCase_) { - case 1: - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - break; - case 2: - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - break; - case 3: - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - break; - case 4: - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - break; - case 5: - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.DatasetPropertyFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter 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.DatasetPropertyFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter 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.DatasetPropertyFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter 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.DatasetPropertyFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.DatasetPropertyFilter 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.DatasetPropertyFilter 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; - } - /** - *
-     * Dataset properties we can filter by
-     * 
- * - * Protobuf type {@code datacatalog.DatasetPropertyFilter} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.DatasetPropertyFilter) - datacatalog.Datacatalog.DatasetPropertyFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetPropertyFilter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetPropertyFilter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.DatasetPropertyFilter.class, datacatalog.Datacatalog.DatasetPropertyFilter.Builder.class); - } - - // Construct using datacatalog.Datacatalog.DatasetPropertyFilter.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(); - propertyCase_ = 0; - property_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_DatasetPropertyFilter_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.DatasetPropertyFilter getDefaultInstanceForType() { - return datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.DatasetPropertyFilter build() { - datacatalog.Datacatalog.DatasetPropertyFilter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.DatasetPropertyFilter buildPartial() { - datacatalog.Datacatalog.DatasetPropertyFilter result = new datacatalog.Datacatalog.DatasetPropertyFilter(this); - if (propertyCase_ == 1) { - result.property_ = property_; - } - if (propertyCase_ == 2) { - result.property_ = property_; - } - if (propertyCase_ == 3) { - result.property_ = property_; - } - if (propertyCase_ == 4) { - result.property_ = property_; - } - if (propertyCase_ == 5) { - result.property_ = property_; - } - result.propertyCase_ = propertyCase_; - 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.DatasetPropertyFilter) { - return mergeFrom((datacatalog.Datacatalog.DatasetPropertyFilter)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.DatasetPropertyFilter other) { - if (other == datacatalog.Datacatalog.DatasetPropertyFilter.getDefaultInstance()) return this; - switch (other.getPropertyCase()) { - case PROJECT: { - propertyCase_ = 1; - property_ = other.property_; - onChanged(); - break; - } - case NAME: { - propertyCase_ = 2; - property_ = other.property_; - onChanged(); - break; - } - case DOMAIN: { - propertyCase_ = 3; - property_ = other.property_; - onChanged(); - break; - } - case VERSION: { - propertyCase_ = 4; - property_ = other.property_; - onChanged(); - break; - } - case ORG: { - propertyCase_ = 5; - property_ = other.property_; - onChanged(); - break; - } - case PROPERTY_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 { - datacatalog.Datacatalog.DatasetPropertyFilter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.DatasetPropertyFilter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int propertyCase_ = 0; - private java.lang.Object property_; - public PropertyCase - getPropertyCase() { - return PropertyCase.forNumber( - propertyCase_); - } - - public Builder clearProperty() { - propertyCase_ = 0; - property_ = null; - onChanged(); - return this; - } - - - /** - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (propertyCase_ == 1) { - property_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 1) { - ref = property_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 1) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - propertyCase_ = 1; - property_ = value; - onChanged(); - return this; - } - /** - * string project = 1; - */ - public Builder clearProject() { - if (propertyCase_ == 1) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - return this; - } - /** - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - propertyCase_ = 1; - property_ = value; - onChanged(); - return this; - } - - /** - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = ""; - if (propertyCase_ == 2) { - ref = property_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (propertyCase_ == 2) { - property_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 2) { - ref = property_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 2) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - propertyCase_ = 2; - property_ = value; - onChanged(); - return this; - } - /** - * string name = 2; - */ - public Builder clearName() { - if (propertyCase_ == 2) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - return this; - } - /** - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - propertyCase_ = 2; - property_ = value; - onChanged(); - return this; - } - - /** - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = ""; - if (propertyCase_ == 3) { - ref = property_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (propertyCase_ == 3) { - property_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 3) { - ref = property_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 3) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string domain = 3; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - propertyCase_ = 3; - property_ = value; - onChanged(); - return this; - } - /** - * string domain = 3; - */ - public Builder clearDomain() { - if (propertyCase_ == 3) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - return this; - } - /** - * string domain = 3; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - propertyCase_ = 3; - property_ = value; - onChanged(); - return this; - } - - /** - * string version = 4; - */ - public java.lang.String getVersion() { - java.lang.Object ref = ""; - if (propertyCase_ == 4) { - ref = property_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (propertyCase_ == 4) { - property_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string version = 4; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 4) { - ref = property_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 4) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string version = 4; - */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - propertyCase_ = 4; - property_ = value; - onChanged(); - return this; - } - /** - * string version = 4; - */ - public Builder clearVersion() { - if (propertyCase_ == 4) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - return this; - } - /** - * string version = 4; - */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - propertyCase_ = 4; - property_ = value; - onChanged(); - return this; - } - - /** - *
-       * Optional, org key applied to the dataset.
-       * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = ""; - if (propertyCase_ == 5) { - ref = property_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (propertyCase_ == 5) { - property_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the dataset.
-       * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = ""; - if (propertyCase_ == 5) { - ref = property_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (propertyCase_ == 5) { - property_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the dataset.
-       * 
- * - * string org = 5; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - propertyCase_ = 5; - property_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the dataset.
-       * 
- * - * string org = 5; - */ - public Builder clearOrg() { - if (propertyCase_ == 5) { - propertyCase_ = 0; - property_ = null; - onChanged(); - } - return this; - } - /** - *
-       * Optional, org key applied to the dataset.
-       * 
- * - * string org = 5; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - propertyCase_ = 5; - property_ = 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.DatasetPropertyFilter) - } - - // @@protoc_insertion_point(class_scope:datacatalog.DatasetPropertyFilter) - private static final datacatalog.Datacatalog.DatasetPropertyFilter DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.DatasetPropertyFilter(); - } - - public static datacatalog.Datacatalog.DatasetPropertyFilter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatasetPropertyFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatasetPropertyFilter(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.DatasetPropertyFilter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PaginationOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.PaginationOptions) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * the max number of results to return
-     * 
- * - * uint32 limit = 1; - */ - int getLimit(); - - /** - *
-     * the token to pass to fetch the next page
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * the token to pass to fetch the next page
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * the property that we want to sort the results by
-     * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - int getSortKeyValue(); - /** - *
-     * the property that we want to sort the results by
-     * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - datacatalog.Datacatalog.PaginationOptions.SortKey getSortKey(); - - /** - *
-     * the sort order of the results
-     * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - int getSortOrderValue(); - /** - *
-     * the sort order of the results
-     * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - datacatalog.Datacatalog.PaginationOptions.SortOrder getSortOrder(); - } - /** - *
-   * Pagination options for making list requests
-   * 
- * - * Protobuf type {@code datacatalog.PaginationOptions} - */ - public static final class PaginationOptions extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.PaginationOptions) - PaginationOptionsOrBuilder { - private static final long serialVersionUID = 0L; - // Use PaginationOptions.newBuilder() to construct. - private PaginationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PaginationOptions() { - token_ = ""; - sortKey_ = 0; - sortOrder_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PaginationOptions( - 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: { - - limit_ = input.readUInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - sortKey_ = rawValue; - break; - } - case 32: { - int rawValue = input.readEnum(); - - sortOrder_ = rawValue; - 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_PaginationOptions_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_PaginationOptions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.PaginationOptions.class, datacatalog.Datacatalog.PaginationOptions.Builder.class); - } - - /** - * Protobuf enum {@code datacatalog.PaginationOptions.SortOrder} - */ - public enum SortOrder - implements com.google.protobuf.ProtocolMessageEnum { - /** - * DESCENDING = 0; - */ - DESCENDING(0), - /** - * ASCENDING = 1; - */ - ASCENDING(1), - UNRECOGNIZED(-1), - ; - - /** - * DESCENDING = 0; - */ - public static final int DESCENDING_VALUE = 0; - /** - * ASCENDING = 1; - */ - public static final int ASCENDING_VALUE = 1; - - - 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 SortOrder valueOf(int value) { - return forNumber(value); - } - - public static SortOrder forNumber(int value) { - switch (value) { - case 0: return DESCENDING; - case 1: return ASCENDING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - SortOrder> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SortOrder findValueByNumber(int number) { - return SortOrder.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 datacatalog.Datacatalog.PaginationOptions.getDescriptor().getEnumTypes().get(0); - } - - private static final SortOrder[] VALUES = values(); - - public static SortOrder 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 SortOrder(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:datacatalog.PaginationOptions.SortOrder) - } - - /** - * Protobuf enum {@code datacatalog.PaginationOptions.SortKey} - */ - public enum SortKey - implements com.google.protobuf.ProtocolMessageEnum { - /** - * CREATION_TIME = 0; - */ - CREATION_TIME(0), - UNRECOGNIZED(-1), - ; - - /** - * CREATION_TIME = 0; - */ - public static final int CREATION_TIME_VALUE = 0; - - - 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 SortKey valueOf(int value) { - return forNumber(value); - } - - public static SortKey forNumber(int value) { - switch (value) { - case 0: return CREATION_TIME; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - SortKey> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SortKey findValueByNumber(int number) { - return SortKey.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 datacatalog.Datacatalog.PaginationOptions.getDescriptor().getEnumTypes().get(1); - } - - private static final SortKey[] VALUES = values(); - - public static SortKey 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 SortKey(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:datacatalog.PaginationOptions.SortKey) - } - - public static final int LIMIT_FIELD_NUMBER = 1; - private int limit_; - /** - *
-     * the max number of results to return
-     * 
- * - * uint32 limit = 1; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * the token to pass to fetch the next page
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * the token to pass to fetch the next page
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORTKEY_FIELD_NUMBER = 3; - private int sortKey_; - /** - *
-     * the property that we want to sort the results by
-     * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - public int getSortKeyValue() { - return sortKey_; - } - /** - *
-     * the property that we want to sort the results by
-     * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - public datacatalog.Datacatalog.PaginationOptions.SortKey getSortKey() { - @SuppressWarnings("deprecation") - datacatalog.Datacatalog.PaginationOptions.SortKey result = datacatalog.Datacatalog.PaginationOptions.SortKey.valueOf(sortKey_); - return result == null ? datacatalog.Datacatalog.PaginationOptions.SortKey.UNRECOGNIZED : result; - } - - public static final int SORTORDER_FIELD_NUMBER = 4; - private int sortOrder_; - /** - *
-     * the sort order of the results
-     * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - public int getSortOrderValue() { - return sortOrder_; - } - /** - *
-     * the sort order of the results
-     * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - public datacatalog.Datacatalog.PaginationOptions.SortOrder getSortOrder() { - @SuppressWarnings("deprecation") - datacatalog.Datacatalog.PaginationOptions.SortOrder result = datacatalog.Datacatalog.PaginationOptions.SortOrder.valueOf(sortOrder_); - return result == null ? datacatalog.Datacatalog.PaginationOptions.SortOrder.UNRECOGNIZED : result; - } - - 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 (limit_ != 0) { - output.writeUInt32(1, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - if (sortKey_ != datacatalog.Datacatalog.PaginationOptions.SortKey.CREATION_TIME.getNumber()) { - output.writeEnum(3, sortKey_); - } - if (sortOrder_ != datacatalog.Datacatalog.PaginationOptions.SortOrder.DESCENDING.getNumber()) { - output.writeEnum(4, sortOrder_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - if (sortKey_ != datacatalog.Datacatalog.PaginationOptions.SortKey.CREATION_TIME.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, sortKey_); - } - if (sortOrder_ != datacatalog.Datacatalog.PaginationOptions.SortOrder.DESCENDING.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, sortOrder_); - } - 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.PaginationOptions)) { - return super.equals(obj); - } - datacatalog.Datacatalog.PaginationOptions other = (datacatalog.Datacatalog.PaginationOptions) obj; - - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (sortKey_ != other.sortKey_) return false; - if (sortOrder_ != other.sortOrder_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + SORTKEY_FIELD_NUMBER; - hash = (53 * hash) + sortKey_; - hash = (37 * hash) + SORTORDER_FIELD_NUMBER; - hash = (53 * hash) + sortOrder_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static datacatalog.Datacatalog.PaginationOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.PaginationOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.PaginationOptions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.PaginationOptions 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.PaginationOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static datacatalog.Datacatalog.PaginationOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static datacatalog.Datacatalog.PaginationOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.PaginationOptions 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.PaginationOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.PaginationOptions 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.PaginationOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static datacatalog.Datacatalog.PaginationOptions 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.PaginationOptions 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; - } - /** - *
-     * Pagination options for making list requests
-     * 
- * - * Protobuf type {@code datacatalog.PaginationOptions} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.PaginationOptions) - datacatalog.Datacatalog.PaginationOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_PaginationOptions_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_PaginationOptions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.PaginationOptions.class, datacatalog.Datacatalog.PaginationOptions.Builder.class); - } - - // Construct using datacatalog.Datacatalog.PaginationOptions.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(); - limit_ = 0; - - token_ = ""; - - sortKey_ = 0; - - sortOrder_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_PaginationOptions_descriptor; - } - - @java.lang.Override - public datacatalog.Datacatalog.PaginationOptions getDefaultInstanceForType() { - return datacatalog.Datacatalog.PaginationOptions.getDefaultInstance(); - } - - @java.lang.Override - public datacatalog.Datacatalog.PaginationOptions build() { - datacatalog.Datacatalog.PaginationOptions result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public datacatalog.Datacatalog.PaginationOptions buildPartial() { - datacatalog.Datacatalog.PaginationOptions result = new datacatalog.Datacatalog.PaginationOptions(this); - result.limit_ = limit_; - result.token_ = token_; - result.sortKey_ = sortKey_; - result.sortOrder_ = sortOrder_; - 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.PaginationOptions) { - return mergeFrom((datacatalog.Datacatalog.PaginationOptions)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(datacatalog.Datacatalog.PaginationOptions other) { - if (other == datacatalog.Datacatalog.PaginationOptions.getDefaultInstance()) return this; - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (other.sortKey_ != 0) { - setSortKeyValue(other.getSortKeyValue()); - } - if (other.sortOrder_ != 0) { - setSortOrderValue(other.getSortOrderValue()); - } - 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.PaginationOptions parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.PaginationOptions) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int limit_ ; - /** - *
-       * the max number of results to return
-       * 
- * - * uint32 limit = 1; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * the max number of results to return
-       * 
- * - * uint32 limit = 1; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * the max number of results to return
-       * 
- * - * uint32 limit = 1; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * the token to pass to fetch the next page
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * the token to pass to fetch the next page
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * the token to pass to fetch the next page
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * the token to pass to fetch the next page
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * the token to pass to fetch the next page
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private int sortKey_ = 0; - /** - *
-       * the property that we want to sort the results by
-       * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - public int getSortKeyValue() { - return sortKey_; - } - /** - *
-       * the property that we want to sort the results by
-       * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - public Builder setSortKeyValue(int value) { - sortKey_ = value; - onChanged(); - return this; - } - /** - *
-       * the property that we want to sort the results by
-       * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - public datacatalog.Datacatalog.PaginationOptions.SortKey getSortKey() { - @SuppressWarnings("deprecation") - datacatalog.Datacatalog.PaginationOptions.SortKey result = datacatalog.Datacatalog.PaginationOptions.SortKey.valueOf(sortKey_); - return result == null ? datacatalog.Datacatalog.PaginationOptions.SortKey.UNRECOGNIZED : result; - } - /** - *
-       * the property that we want to sort the results by
-       * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - public Builder setSortKey(datacatalog.Datacatalog.PaginationOptions.SortKey value) { - if (value == null) { - throw new NullPointerException(); - } - - sortKey_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * the property that we want to sort the results by
-       * 
- * - * .datacatalog.PaginationOptions.SortKey sortKey = 3; - */ - public Builder clearSortKey() { - - sortKey_ = 0; - onChanged(); - return this; - } - - private int sortOrder_ = 0; - /** - *
-       * the sort order of the results
-       * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - public int getSortOrderValue() { - return sortOrder_; - } - /** - *
-       * the sort order of the results
-       * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - public Builder setSortOrderValue(int value) { - sortOrder_ = value; - onChanged(); - return this; - } - /** - *
-       * the sort order of the results
-       * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - public datacatalog.Datacatalog.PaginationOptions.SortOrder getSortOrder() { - @SuppressWarnings("deprecation") - datacatalog.Datacatalog.PaginationOptions.SortOrder result = datacatalog.Datacatalog.PaginationOptions.SortOrder.valueOf(sortOrder_); - return result == null ? datacatalog.Datacatalog.PaginationOptions.SortOrder.UNRECOGNIZED : result; - } - /** - *
-       * the sort order of the results
-       * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - public Builder setSortOrder(datacatalog.Datacatalog.PaginationOptions.SortOrder value) { - if (value == null) { - throw new NullPointerException(); - } - - sortOrder_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * the sort order of the results
-       * 
- * - * .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - */ - public Builder clearSortOrder() { - - sortOrder_ = 0; - 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.PaginationOptions) - } - - // @@protoc_insertion_point(class_scope:datacatalog.PaginationOptions) - private static final datacatalog.Datacatalog.PaginationOptions DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.PaginationOptions(); - } - - public static datacatalog.Datacatalog.PaginationOptions getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PaginationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PaginationOptions(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.PaginationOptions getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_CreateDatasetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_CreateDatasetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_CreateDatasetResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_CreateDatasetResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_GetDatasetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_GetDatasetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_GetDatasetResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_GetDatasetResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_GetArtifactRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_GetArtifactRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_GetArtifactResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_GetArtifactResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_CreateArtifactRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_CreateArtifactRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_CreateArtifactResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_CreateArtifactResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_AddTagRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_AddTagRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_AddTagResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_AddTagResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_ListArtifactsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ListArtifactsRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_ListArtifactsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ListArtifactsResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_ListDatasetsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ListDatasetsRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_ListDatasetsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ListDatasetsResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_UpdateArtifactRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_UpdateArtifactRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_UpdateArtifactResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_UpdateArtifactResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_ReservationID_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ReservationID_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_GetOrExtendReservationRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_GetOrExtendReservationRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_Reservation_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_Reservation_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_GetOrExtendReservationResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_GetOrExtendReservationResponse_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_ReleaseReservationResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ReleaseReservationResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_Dataset_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_Dataset_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_Partition_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_Partition_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_DatasetID_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_DatasetID_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_Artifact_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_Artifact_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_ArtifactData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ArtifactData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_Tag_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_Tag_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_Metadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_Metadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_Metadata_KeyMapEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_Metadata_KeyMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_FilterExpression_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_FilterExpression_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_SinglePropertyFilter_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_SinglePropertyFilter_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_ArtifactPropertyFilter_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_ArtifactPropertyFilter_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_TagPropertyFilter_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_TagPropertyFilter_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_PartitionPropertyFilter_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_PartitionPropertyFilter_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_KeyValuePair_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_KeyValuePair_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_DatasetPropertyFilter_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_DatasetPropertyFilter_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_datacatalog_PaginationOptions_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_datacatalog_PaginationOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&flyteidl/datacatalog/datacatalog.proto" + - "\022\013datacatalog\032\034flyteidl/core/literals.pr" + - "oto\032\036google/protobuf/duration.proto\032\037goo" + - "gle/protobuf/timestamp.proto\"=\n\024CreateDa" + - "tasetRequest\022%\n\007dataset\030\001 \001(\0132\024.datacata" + - "log.Dataset\"\027\n\025CreateDatasetResponse\"<\n\021" + - "GetDatasetRequest\022\'\n\007dataset\030\001 \001(\0132\026.dat" + - "acatalog.DatasetID\";\n\022GetDatasetResponse" + - "\022%\n\007dataset\030\001 \001(\0132\024.datacatalog.Dataset\"" + - "x\n\022GetArtifactRequest\022\'\n\007dataset\030\001 \001(\0132\026" + - ".datacatalog.DatasetID\022\025\n\013artifact_id\030\002 " + - "\001(\tH\000\022\022\n\010tag_name\030\003 \001(\tH\000B\016\n\014query_handl" + - "e\">\n\023GetArtifactResponse\022\'\n\010artifact\030\001 \001" + - "(\0132\025.datacatalog.Artifact\"@\n\025CreateArtif" + - "actRequest\022\'\n\010artifact\030\001 \001(\0132\025.datacatal" + - "og.Artifact\"\030\n\026CreateArtifactResponse\".\n" + - "\rAddTagRequest\022\035\n\003tag\030\001 \001(\0132\020.datacatalo" + - "g.Tag\"\020\n\016AddTagResponse\"\242\001\n\024ListArtifact" + - "sRequest\022\'\n\007dataset\030\001 \001(\0132\026.datacatalog." + - "DatasetID\022-\n\006filter\030\002 \001(\0132\035.datacatalog." + - "FilterExpression\0222\n\npagination\030\003 \001(\0132\036.d" + - "atacatalog.PaginationOptions\"U\n\025ListArti" + - "factsResponse\022(\n\tartifacts\030\001 \003(\0132\025.datac" + - "atalog.Artifact\022\022\n\nnext_token\030\002 \001(\t\"x\n\023L" + - "istDatasetsRequest\022-\n\006filter\030\001 \001(\0132\035.dat" + - "acatalog.FilterExpression\0222\n\npagination\030" + - "\002 \001(\0132\036.datacatalog.PaginationOptions\"R\n" + - "\024ListDatasetsResponse\022&\n\010datasets\030\001 \003(\0132" + - "\024.datacatalog.Dataset\022\022\n\nnext_token\030\002 \001(" + - "\t\"\315\001\n\025UpdateArtifactRequest\022\'\n\007dataset\030\001" + - " \001(\0132\026.datacatalog.DatasetID\022\025\n\013artifact" + - "_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.ArtifactData\022\'\n\010meta" + - "data\030\005 \001(\0132\025.datacatalog.MetadataB\016\n\014que" + - "ry_handle\"-\n\026UpdateArtifactResponse\022\023\n\013a" + - "rtifact_id\030\001 \001(\t\"M\n\rReservationID\022*\n\ndat" + - "aset_id\030\001 \001(\0132\026.datacatalog.DatasetID\022\020\n" + - "\010tag_name\030\002 \001(\t\"\234\001\n\035GetOrExtendReservati" + - "onRequest\0222\n\016reservation_id\030\001 \001(\0132\032.data" + - "catalog.ReservationID\022\020\n\010owner_id\030\002 \001(\t\022" + - "5\n\022heartbeat_interval\030\003 \001(\0132\031.google.pro" + - "tobuf.Duration\"\343\001\n\013Reservation\0222\n\016reserv" + - "ation_id\030\001 \001(\0132\032.datacatalog.Reservation" + - "ID\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heartbeat_interv" + - "al\030\003 \001(\0132\031.google.protobuf.Duration\022.\n\ne" + - "xpires_at\030\004 \001(\0132\032.google.protobuf.Timest" + - "amp\022\'\n\010metadata\030\006 \001(\0132\025.datacatalog.Meta" + - "data\"O\n\036GetOrExtendReservationResponse\022-" + - "\n\013reservation\030\001 \001(\0132\030.datacatalog.Reserv" + - "ation\"a\n\031ReleaseReservationRequest\0222\n\016re" + - "servation_id\030\001 \001(\0132\032.datacatalog.Reserva" + - "tionID\022\020\n\010owner_id\030\002 \001(\t\"\034\n\032ReleaseReser" + - "vationResponse\"m\n\007Dataset\022\"\n\002id\030\001 \001(\0132\026." + - "datacatalog.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\"f\n\tDatasetID\022\017\n\007project\030\001 \001(\t\022\014\n\004" + - "name\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\022\013\n\003org\030\006 \001(\t\"\215\002\n\010Artif" + - "act\022\n\n\002id\030\001 \001(\t\022\'\n\007dataset\030\002 \001(\0132\026.datac" + - "atalog.DatasetID\022\'\n\004data\030\003 \003(\0132\031.datacat" + - "alog.ArtifactData\022\'\n\010metadata\030\004 \001(\0132\025.da" + - "tacatalog.Metadata\022*\n\npartitions\030\005 \003(\0132\026" + - ".datacatalog.Partition\022\036\n\004tags\030\006 \003(\0132\020.d" + - "atacatalog.Tag\022.\n\ncreated_at\030\007 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\"C\n\014ArtifactData\022\014" + - "\n\004name\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.flyteidl.c" + - "ore.Literal\"Q\n\003Tag\022\014\n\004name\030\001 \001(\t\022\023\n\013arti" + - "fact_id\030\002 \001(\t\022\'\n\007dataset\030\003 \001(\0132\026.datacat" + - "alog.DatasetID\"m\n\010Metadata\0222\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.SinglePropertyFilter\"\211\003" + - "\n\024SinglePropertyFilter\0224\n\ntag_filter\030\001 \001" + - "(\0132\036.datacatalog.TagPropertyFilterH\000\022@\n\020" + - "partition_filter\030\002 \001(\0132$.datacatalog.Par" + - "titionPropertyFilterH\000\022>\n\017artifact_filte" + - "r\030\003 \001(\0132#.datacatalog.ArtifactPropertyFi" + - "lterH\000\022<\n\016dataset_filter\030\004 \001(\0132\".datacat" + - "alog.DatasetPropertyFilterH\000\022F\n\010operator" + - "\030\n \001(\01624.datacatalog.SinglePropertyFilte" + - "r.ComparisonOperator\" \n\022ComparisonOperat" + - "or\022\n\n\006EQUALS\020\000B\021\n\017property_filter\";\n\026Art" + - "ifactPropertyFilter\022\025\n\013artifact_id\030\001 \001(\t" + - "H\000B\n\n\010property\"3\n\021TagPropertyFilter\022\022\n\010t" + - "ag_name\030\001 \001(\tH\000B\n\n\010property\"S\n\027Partition" + - "PropertyFilter\022,\n\007key_val\030\001 \001(\0132\031.dataca" + - "talog.KeyValuePairH\000B\n\n\010property\"*\n\014KeyV" + - "aluePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"z\n\025" + - "DatasetPropertyFilter\022\021\n\007project\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\007ve" + - "rsion\030\004 \001(\tH\000\022\r\n\003org\030\005 \001(\tH\000B\n\n\010property" + - "\"\361\001\n\021PaginationOptions\022\r\n\005limit\030\001 \001(\r\022\r\n" + - "\005token\030\002 \001(\t\0227\n\007sortKey\030\003 \001(\0162&.datacata" + - "log.PaginationOptions.SortKey\022;\n\tsortOrd" + - "er\030\004 \001(\0162(.datacatalog.PaginationOptions" + - ".SortOrder\"*\n\tSortOrder\022\016\n\nDESCENDING\020\000\022" + - "\r\n\tASCENDING\020\001\"\034\n\007SortKey\022\021\n\rCREATION_TI" + - "ME\020\0002\206\007\n\013DataCatalog\022V\n\rCreateDataset\022!." + - "datacatalog.CreateDatasetRequest\032\".datac" + - "atalog.CreateDatasetResponse\022M\n\nGetDatas" + - "et\022\036.datacatalog.GetDatasetRequest\032\037.dat" + - "acatalog.GetDatasetResponse\022Y\n\016CreateArt" + - "ifact\022\".datacatalog.CreateArtifactReques" + - "t\032#.datacatalog.CreateArtifactResponse\022P" + - "\n\013GetArtifact\022\037.datacatalog.GetArtifactR" + - "equest\032 .datacatalog.GetArtifactResponse" + - "\022A\n\006AddTag\022\032.datacatalog.AddTagRequest\032\033" + - ".datacatalog.AddTagResponse\022V\n\rListArtif" + - "acts\022!.datacatalog.ListArtifactsRequest\032" + - "\".datacatalog.ListArtifactsResponse\022S\n\014L" + - "istDatasets\022 .datacatalog.ListDatasetsRe" + - "quest\032!.datacatalog.ListDatasetsResponse" + - "\022Y\n\016UpdateArtifact\022\".datacatalog.UpdateA" + - "rtifactRequest\032#.datacatalog.UpdateArtif" + - "actResponse\022q\n\026GetOrExtendReservation\022*." + - "datacatalog.GetOrExtendReservationReques" + - "t\032+.datacatalog.GetOrExtendReservationRe" + - "sponse\022e\n\022ReleaseReservation\022&.datacatal" + - "og.ReleaseReservationRequest\032\'.datacatal" + - "og.ReleaseReservationResponseBCZAgithub." + - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + - "yteidl/datacatalogb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Literals.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, assigner); - internal_static_datacatalog_CreateDatasetRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_datacatalog_CreateDatasetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_CreateDatasetRequest_descriptor, - new java.lang.String[] { "Dataset", }); - internal_static_datacatalog_CreateDatasetResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_datacatalog_CreateDatasetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_CreateDatasetResponse_descriptor, - new java.lang.String[] { }); - internal_static_datacatalog_GetDatasetRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_datacatalog_GetDatasetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_GetDatasetRequest_descriptor, - new java.lang.String[] { "Dataset", }); - internal_static_datacatalog_GetDatasetResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_datacatalog_GetDatasetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_GetDatasetResponse_descriptor, - new java.lang.String[] { "Dataset", }); - internal_static_datacatalog_GetArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_datacatalog_GetArtifactRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_GetArtifactRequest_descriptor, - new java.lang.String[] { "Dataset", "ArtifactId", "TagName", "QueryHandle", }); - internal_static_datacatalog_GetArtifactResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_datacatalog_GetArtifactResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_GetArtifactResponse_descriptor, - new java.lang.String[] { "Artifact", }); - internal_static_datacatalog_CreateArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_datacatalog_CreateArtifactRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_CreateArtifactRequest_descriptor, - new java.lang.String[] { "Artifact", }); - internal_static_datacatalog_CreateArtifactResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_datacatalog_CreateArtifactResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_CreateArtifactResponse_descriptor, - new java.lang.String[] { }); - internal_static_datacatalog_AddTagRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_datacatalog_AddTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_AddTagRequest_descriptor, - new java.lang.String[] { "Tag", }); - internal_static_datacatalog_AddTagResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_datacatalog_AddTagResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_AddTagResponse_descriptor, - new java.lang.String[] { }); - internal_static_datacatalog_ListArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_datacatalog_ListArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_ListArtifactsRequest_descriptor, - new java.lang.String[] { "Dataset", "Filter", "Pagination", }); - internal_static_datacatalog_ListArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_datacatalog_ListArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_ListArtifactsResponse_descriptor, - new java.lang.String[] { "Artifacts", "NextToken", }); - internal_static_datacatalog_ListDatasetsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_datacatalog_ListDatasetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_ListDatasetsRequest_descriptor, - new java.lang.String[] { "Filter", "Pagination", }); - internal_static_datacatalog_ListDatasetsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_datacatalog_ListDatasetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_ListDatasetsResponse_descriptor, - new java.lang.String[] { "Datasets", "NextToken", }); - internal_static_datacatalog_UpdateArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_datacatalog_UpdateArtifactRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_UpdateArtifactRequest_descriptor, - new java.lang.String[] { "Dataset", "ArtifactId", "TagName", "Data", "Metadata", "QueryHandle", }); - internal_static_datacatalog_UpdateArtifactResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_datacatalog_UpdateArtifactResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_UpdateArtifactResponse_descriptor, - new java.lang.String[] { "ArtifactId", }); - internal_static_datacatalog_ReservationID_descriptor = - getDescriptor().getMessageTypes().get(16); - 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); - 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_Reservation_descriptor = - getDescriptor().getMessageTypes().get(18); - 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); - internal_static_datacatalog_GetOrExtendReservationResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_GetOrExtendReservationResponse_descriptor, - new java.lang.String[] { "Reservation", }); - internal_static_datacatalog_ReleaseReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - 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_ReleaseReservationResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - 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); - 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); - 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); - 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", "Org", }); - internal_static_datacatalog_Artifact_descriptor = - getDescriptor().getMessageTypes().get(25); - 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); - 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); - 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); - internal_static_datacatalog_Metadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_Metadata_descriptor, - new java.lang.String[] { "KeyMap", }); - internal_static_datacatalog_Metadata_KeyMapEntry_descriptor = - internal_static_datacatalog_Metadata_descriptor.getNestedTypes().get(0); - internal_static_datacatalog_Metadata_KeyMapEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_Metadata_KeyMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_datacatalog_FilterExpression_descriptor = - getDescriptor().getMessageTypes().get(29); - 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); - 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); - 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); - 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); - 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); - 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); - internal_static_datacatalog_DatasetPropertyFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_DatasetPropertyFilter_descriptor, - new java.lang.String[] { "Project", "Name", "Domain", "Version", "Org", "Property", }); - internal_static_datacatalog_PaginationOptions_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_datacatalog_PaginationOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_datacatalog_PaginationOptions_descriptor, - new java.lang.String[] { "Limit", "Token", "SortKey", "SortOrder", }); - flyteidl.core.Literals.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/AgentOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/AgentOuterClass.java deleted file mode 100644 index e5422d0656..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/AgentOuterClass.java +++ /dev/null @@ -1,16905 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/agent.proto - -package flyteidl.admin; - -public final class AgentOuterClass { - private AgentOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * The state of the execution is used to control its visibility in the UI/CLI.
-   * 
- * - * Protobuf enum {@code flyteidl.admin.State} - */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { - /** - * RETRYABLE_FAILURE = 0; - */ - RETRYABLE_FAILURE(0), - /** - * PERMANENT_FAILURE = 1; - */ - PERMANENT_FAILURE(1), - /** - * PENDING = 2; - */ - PENDING(2), - /** - * RUNNING = 3; - */ - RUNNING(3), - /** - * SUCCEEDED = 4; - */ - SUCCEEDED(4), - UNRECOGNIZED(-1), - ; - - /** - * RETRYABLE_FAILURE = 0; - */ - public static final int RETRYABLE_FAILURE_VALUE = 0; - /** - * PERMANENT_FAILURE = 1; - */ - public static final int PERMANENT_FAILURE_VALUE = 1; - /** - * PENDING = 2; - */ - public static final int PENDING_VALUE = 2; - /** - * RUNNING = 3; - */ - public static final int RUNNING_VALUE = 3; - /** - * SUCCEEDED = 4; - */ - public static final int SUCCEEDED_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 State valueOf(int value) { - return forNumber(value); - } - - public static State forNumber(int value) { - switch (value) { - case 0: return RETRYABLE_FAILURE; - case 1: return PERMANENT_FAILURE; - case 2: return PENDING; - case 3: return RUNNING; - case 4: return SUCCEEDED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final State[] VALUES = values(); - - public static State 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 State(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.State) - } - - public interface TaskExecutionMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * ID of the task execution
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - boolean hasTaskExecutionId(); - /** - *
-     * ID of the task execution
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId(); - /** - *
-     * ID of the task execution
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder(); - - /** - *
-     * k8s namespace where the task is executed in
-     * 
- * - * string namespace = 2; - */ - java.lang.String getNamespace(); - /** - *
-     * k8s namespace where the task is executed in
-     * 
- * - * string namespace = 2; - */ - com.google.protobuf.ByteString - getNamespaceBytes(); - - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - int getLabelsCount(); - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getLabels(); - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - java.util.Map - getLabelsMap(); - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - - java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); - - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - int getAnnotationsCount(); - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getAnnotations(); - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - java.util.Map - getAnnotationsMap(); - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - - java.lang.String getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - - java.lang.String getAnnotationsOrThrow( - java.lang.String key); - - /** - *
-     * k8s service account associated with the task execution
-     * 
- * - * string k8s_service_account = 5; - */ - java.lang.String getK8SServiceAccount(); - /** - *
-     * k8s service account associated with the task execution
-     * 
- * - * string k8s_service_account = 5; - */ - com.google.protobuf.ByteString - getK8SServiceAccountBytes(); - - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - int getEnvironmentVariablesCount(); - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - boolean containsEnvironmentVariables( - java.lang.String key); - /** - * Use {@link #getEnvironmentVariablesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getEnvironmentVariables(); - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - java.util.Map - getEnvironmentVariablesMap(); - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - - java.lang.String getEnvironmentVariablesOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - - java.lang.String getEnvironmentVariablesOrThrow( - java.lang.String key); - } - /** - *
-   * Represents a subset of runtime task execution metadata that are relevant to external plugins.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionMetadata} - */ - public static final class TaskExecutionMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionMetadata) - TaskExecutionMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionMetadata.newBuilder() to construct. - private TaskExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionMetadata() { - namespace_ = ""; - k8SServiceAccount_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionMetadata( - 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; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - namespace_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; - } - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - annotations_.getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - k8SServiceAccount_ = s; - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - environmentVariables_ = com.google.protobuf.MapField.newMapField( - EnvironmentVariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; - } - com.google.protobuf.MapEntry - environmentVariables__ = input.readMessage( - EnvironmentVariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - environmentVariables_.getMutableMap().put( - environmentVariables__.getKey(), environmentVariables__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetLabels(); - case 4: - return internalGetAnnotations(); - case 6: - return internalGetEnvironmentVariables(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.class, flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder.class); - } - - private int bitField0_; - public static final int TASK_EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecutionId_; - /** - *
-     * ID of the task execution
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public boolean hasTaskExecutionId() { - return taskExecutionId_ != null; - } - /** - *
-     * ID of the task execution
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() { - return taskExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_; - } - /** - *
-     * ID of the task execution
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() { - return getTaskExecutionId(); - } - - public static final int NAMESPACE_FIELD_NUMBER = 2; - private volatile java.lang.Object namespace_; - /** - *
-     * k8s namespace where the task is executed in
-     * 
- * - * string namespace = 2; - */ - public java.lang.String getNamespace() { - java.lang.Object ref = namespace_; - 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(); - namespace_ = s; - return s; - } - } - /** - *
-     * k8s namespace where the task is executed in
-     * 
- * - * string namespace = 2; - */ - public com.google.protobuf.ByteString - getNamespaceBytes() { - java.lang.Object ref = namespace_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - namespace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LABELS_FIELD_NUMBER = 3; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetLabels().getMap().containsKey(key); - } - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Labels attached to the task execution
-     * 
- * - * map<string, string> labels = 3; - */ - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 4; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAnnotations().getMap().containsKey(key); - } - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Annotations attached to the task execution
-     * 
- * - * map<string, string> annotations = 4; - */ - - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int K8S_SERVICE_ACCOUNT_FIELD_NUMBER = 5; - private volatile java.lang.Object k8SServiceAccount_; - /** - *
-     * k8s service account associated with the task execution
-     * 
- * - * string k8s_service_account = 5; - */ - public java.lang.String getK8SServiceAccount() { - java.lang.Object ref = k8SServiceAccount_; - 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(); - k8SServiceAccount_ = s; - return s; - } - } - /** - *
-     * k8s service account associated with the task execution
-     * 
- * - * string k8s_service_account = 5; - */ - public com.google.protobuf.ByteString - getK8SServiceAccountBytes() { - java.lang.Object ref = k8SServiceAccount_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - k8SServiceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ENVIRONMENT_VARIABLES_FIELD_NUMBER = 6; - private static final class EnvironmentVariablesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_EnvironmentVariablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> environmentVariables_; - private com.google.protobuf.MapField - internalGetEnvironmentVariables() { - if (environmentVariables_ == null) { - return com.google.protobuf.MapField.emptyMapField( - EnvironmentVariablesDefaultEntryHolder.defaultEntry); - } - return environmentVariables_; - } - - public int getEnvironmentVariablesCount() { - return internalGetEnvironmentVariables().getMap().size(); - } - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - - public boolean containsEnvironmentVariables( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetEnvironmentVariables().getMap().containsKey(key); - } - /** - * Use {@link #getEnvironmentVariablesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getEnvironmentVariables() { - return getEnvironmentVariablesMap(); - } - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - - public java.util.Map getEnvironmentVariablesMap() { - return internalGetEnvironmentVariables().getMap(); - } - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - - public java.lang.String getEnvironmentVariablesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvironmentVariables().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Environment variables attached to the task execution
-     * 
- * - * map<string, string> environment_variables = 6; - */ - - public java.lang.String getEnvironmentVariablesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvironmentVariables().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (taskExecutionId_ != null) { - output.writeMessage(1, getTaskExecutionId()); - } - if (!getNamespaceBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 3); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 4); - if (!getK8SServiceAccountBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, k8SServiceAccount_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetEnvironmentVariables(), - EnvironmentVariablesDefaultEntryHolder.defaultEntry, - 6); - 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()); - } - if (!getNamespaceBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, labels__); - } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, annotations__); - } - if (!getK8SServiceAccountBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, k8SServiceAccount_); - } - for (java.util.Map.Entry entry - : internalGetEnvironmentVariables().getMap().entrySet()) { - com.google.protobuf.MapEntry - environmentVariables__ = EnvironmentVariablesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, environmentVariables__); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.TaskExecutionMetadata)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata other = (flyteidl.admin.AgentOuterClass.TaskExecutionMetadata) obj; - - if (hasTaskExecutionId() != other.hasTaskExecutionId()) return false; - if (hasTaskExecutionId()) { - if (!getTaskExecutionId() - .equals(other.getTaskExecutionId())) return false; - } - if (!getNamespace() - .equals(other.getNamespace())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (!getK8SServiceAccount() - .equals(other.getK8SServiceAccount())) return false; - if (!internalGetEnvironmentVariables().equals( - other.internalGetEnvironmentVariables())) 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 = (37 * hash) + NAMESPACE_FIELD_NUMBER; - hash = (53 * hash) + getNamespace().hashCode(); - if (!internalGetLabels().getMap().isEmpty()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + internalGetLabels().hashCode(); - } - if (!internalGetAnnotations().getMap().isEmpty()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + internalGetAnnotations().hashCode(); - } - hash = (37 * hash) + K8S_SERVICE_ACCOUNT_FIELD_NUMBER; - hash = (53 * hash) + getK8SServiceAccount().hashCode(); - if (!internalGetEnvironmentVariables().getMap().isEmpty()) { - hash = (37 * hash) + ENVIRONMENT_VARIABLES_FIELD_NUMBER; - hash = (53 * hash) + internalGetEnvironmentVariables().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.TaskExecutionMetadata 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; - } - /** - *
-     * Represents a subset of runtime task execution metadata that are relevant to external plugins.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionMetadata) - flyteidl.admin.AgentOuterClass.TaskExecutionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetLabels(); - case 4: - return internalGetAnnotations(); - case 6: - return internalGetEnvironmentVariables(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 3: - return internalGetMutableLabels(); - case 4: - return internalGetMutableAnnotations(); - case 6: - return internalGetMutableEnvironmentVariables(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.class, flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.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; - } - namespace_ = ""; - - internalGetMutableLabels().clear(); - internalGetMutableAnnotations().clear(); - k8SServiceAccount_ = ""; - - internalGetMutableEnvironmentVariables().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadata getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadata build() { - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadata buildPartial() { - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata result = new flyteidl.admin.AgentOuterClass.TaskExecutionMetadata(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (taskExecutionIdBuilder_ == null) { - result.taskExecutionId_ = taskExecutionId_; - } else { - result.taskExecutionId_ = taskExecutionIdBuilder_.build(); - } - result.namespace_ = namespace_; - result.labels_ = internalGetLabels(); - result.labels_.makeImmutable(); - result.annotations_ = internalGetAnnotations(); - result.annotations_.makeImmutable(); - result.k8SServiceAccount_ = k8SServiceAccount_; - result.environmentVariables_ = internalGetEnvironmentVariables(); - result.environmentVariables_.makeImmutable(); - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.TaskExecutionMetadata) { - return mergeFrom((flyteidl.admin.AgentOuterClass.TaskExecutionMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.TaskExecutionMetadata other) { - if (other == flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.getDefaultInstance()) return this; - if (other.hasTaskExecutionId()) { - mergeTaskExecutionId(other.getTaskExecutionId()); - } - if (!other.getNamespace().isEmpty()) { - namespace_ = other.namespace_; - onChanged(); - } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); - if (!other.getK8SServiceAccount().isEmpty()) { - k8SServiceAccount_ = other.k8SServiceAccount_; - onChanged(); - } - internalGetMutableEnvironmentVariables().mergeFrom( - other.internalGetEnvironmentVariables()); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.TaskExecutionMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - 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_; - /** - *
-       * ID of the task execution
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public boolean hasTaskExecutionId() { - return taskExecutionIdBuilder_ != null || taskExecutionId_ != null; - } - /** - *
-       * ID of the task execution
-       * 
- * - * .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(); - } - } - /** - *
-       * ID of the task execution
-       * 
- * - * .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; - } - /** - *
-       * ID of the task execution
-       * 
- * - * .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; - } - /** - *
-       * ID of the task execution
-       * 
- * - * .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; - } - /** - *
-       * ID of the task execution
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public Builder clearTaskExecutionId() { - if (taskExecutionIdBuilder_ == null) { - taskExecutionId_ = null; - onChanged(); - } else { - taskExecutionId_ = null; - taskExecutionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * ID of the task execution
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskExecutionIdBuilder() { - - onChanged(); - return getTaskExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * ID of the task execution
-       * 
- * - * .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_; - } - } - /** - *
-       * ID of the task execution
-       * 
- * - * .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_; - } - - private java.lang.Object namespace_ = ""; - /** - *
-       * k8s namespace where the task is executed in
-       * 
- * - * string namespace = 2; - */ - public java.lang.String getNamespace() { - java.lang.Object ref = namespace_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - namespace_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * k8s namespace where the task is executed in
-       * 
- * - * string namespace = 2; - */ - public com.google.protobuf.ByteString - getNamespaceBytes() { - java.lang.Object ref = namespace_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - namespace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * k8s namespace where the task is executed in
-       * 
- * - * string namespace = 2; - */ - public Builder setNamespace( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - namespace_ = value; - onChanged(); - return this; - } - /** - *
-       * k8s namespace where the task is executed in
-       * 
- * - * string namespace = 2; - */ - public Builder clearNamespace() { - - namespace_ = getDefaultInstance().getNamespace(); - onChanged(); - return this; - } - /** - *
-       * k8s namespace where the task is executed in
-       * 
- * - * string namespace = 2; - */ - public Builder setNamespaceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - namespace_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; - if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - if (!labels_.isMutable()) { - labels_ = labels_.copy(); - } - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - *
-       * Labels attached to the task execution
-       * 
- * - * map<string, string> labels = 3; - */ - - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetLabels().getMap().containsKey(key); - } - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - *
-       * Labels attached to the task execution
-       * 
- * - * map<string, string> labels = 3; - */ - - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - *
-       * Labels attached to the task execution
-       * 
- * - * map<string, string> labels = 3; - */ - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Labels attached to the task execution
-       * 
- * - * map<string, string> labels = 3; - */ - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Labels attached to the task execution
-       * 
- * - * map<string, string> labels = 3; - */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableLabels() { - return internalGetMutableLabels().getMutableMap(); - } - /** - *
-       * Labels attached to the task execution
-       * 
- * - * map<string, string> labels = 3; - */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Labels attached to the task execution
-       * 
- * - * map<string, string> labels = 3; - */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged();; - if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - if (!annotations_.isMutable()) { - annotations_ = annotations_.copy(); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - *
-       * Annotations attached to the task execution
-       * 
- * - * map<string, string> annotations = 4; - */ - - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAnnotations().getMap().containsKey(key); - } - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - *
-       * Annotations attached to the task execution
-       * 
- * - * map<string, string> annotations = 4; - */ - - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - *
-       * Annotations attached to the task execution
-       * 
- * - * map<string, string> annotations = 4; - */ - - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Annotations attached to the task execution
-       * 
- * - * map<string, string> annotations = 4; - */ - - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Annotations attached to the task execution
-       * 
- * - * map<string, string> annotations = 4; - */ - - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { - return internalGetMutableAnnotations().getMutableMap(); - } - /** - *
-       * Annotations attached to the task execution
-       * 
- * - * map<string, string> annotations = 4; - */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Annotations attached to the task execution
-       * 
- * - * map<string, string> annotations = 4; - */ - - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); - return this; - } - - private java.lang.Object k8SServiceAccount_ = ""; - /** - *
-       * k8s service account associated with the task execution
-       * 
- * - * string k8s_service_account = 5; - */ - public java.lang.String getK8SServiceAccount() { - java.lang.Object ref = k8SServiceAccount_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - k8SServiceAccount_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * k8s service account associated with the task execution
-       * 
- * - * string k8s_service_account = 5; - */ - public com.google.protobuf.ByteString - getK8SServiceAccountBytes() { - java.lang.Object ref = k8SServiceAccount_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - k8SServiceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * k8s service account associated with the task execution
-       * 
- * - * string k8s_service_account = 5; - */ - public Builder setK8SServiceAccount( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - k8SServiceAccount_ = value; - onChanged(); - return this; - } - /** - *
-       * k8s service account associated with the task execution
-       * 
- * - * string k8s_service_account = 5; - */ - public Builder clearK8SServiceAccount() { - - k8SServiceAccount_ = getDefaultInstance().getK8SServiceAccount(); - onChanged(); - return this; - } - /** - *
-       * k8s service account associated with the task execution
-       * 
- * - * string k8s_service_account = 5; - */ - public Builder setK8SServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - k8SServiceAccount_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> environmentVariables_; - private com.google.protobuf.MapField - internalGetEnvironmentVariables() { - if (environmentVariables_ == null) { - return com.google.protobuf.MapField.emptyMapField( - EnvironmentVariablesDefaultEntryHolder.defaultEntry); - } - return environmentVariables_; - } - private com.google.protobuf.MapField - internalGetMutableEnvironmentVariables() { - onChanged();; - if (environmentVariables_ == null) { - environmentVariables_ = com.google.protobuf.MapField.newMapField( - EnvironmentVariablesDefaultEntryHolder.defaultEntry); - } - if (!environmentVariables_.isMutable()) { - environmentVariables_ = environmentVariables_.copy(); - } - return environmentVariables_; - } - - public int getEnvironmentVariablesCount() { - return internalGetEnvironmentVariables().getMap().size(); - } - /** - *
-       * Environment variables attached to the task execution
-       * 
- * - * map<string, string> environment_variables = 6; - */ - - public boolean containsEnvironmentVariables( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetEnvironmentVariables().getMap().containsKey(key); - } - /** - * Use {@link #getEnvironmentVariablesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getEnvironmentVariables() { - return getEnvironmentVariablesMap(); - } - /** - *
-       * Environment variables attached to the task execution
-       * 
- * - * map<string, string> environment_variables = 6; - */ - - public java.util.Map getEnvironmentVariablesMap() { - return internalGetEnvironmentVariables().getMap(); - } - /** - *
-       * Environment variables attached to the task execution
-       * 
- * - * map<string, string> environment_variables = 6; - */ - - public java.lang.String getEnvironmentVariablesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvironmentVariables().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Environment variables attached to the task execution
-       * 
- * - * map<string, string> environment_variables = 6; - */ - - public java.lang.String getEnvironmentVariablesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetEnvironmentVariables().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearEnvironmentVariables() { - internalGetMutableEnvironmentVariables().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Environment variables attached to the task execution
-       * 
- * - * map<string, string> environment_variables = 6; - */ - - public Builder removeEnvironmentVariables( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableEnvironmentVariables().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableEnvironmentVariables() { - return internalGetMutableEnvironmentVariables().getMutableMap(); - } - /** - *
-       * Environment variables attached to the task execution
-       * 
- * - * map<string, string> environment_variables = 6; - */ - public Builder putEnvironmentVariables( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableEnvironmentVariables().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Environment variables attached to the task execution
-       * 
- * - * map<string, string> environment_variables = 6; - */ - - public Builder putAllEnvironmentVariables( - java.util.Map values) { - internalGetMutableEnvironmentVariables().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionMetadata) - private static final flyteidl.admin.AgentOuterClass.TaskExecutionMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.TaskExecutionMetadata(); - } - - public static flyteidl.admin.AgentOuterClass.TaskExecutionMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.CreateTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - boolean hasInputs(); - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - flyteidl.core.Literals.LiteralMap getInputs(); - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder(); - - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - boolean hasTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - flyteidl.core.Tasks.TaskTemplate getTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder(); - - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - java.lang.String getOutputPrefix(); - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - com.google.protobuf.ByteString - getOutputPrefixBytes(); - - /** - *
-     * subset of runtime task execution metadata.
-     * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - boolean hasTaskExecutionMetadata(); - /** - *
-     * subset of runtime task execution metadata.
-     * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata getTaskExecutionMetadata(); - /** - *
-     * subset of runtime task execution metadata.
-     * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - flyteidl.admin.AgentOuterClass.TaskExecutionMetadataOrBuilder getTaskExecutionMetadataOrBuilder(); - } - /** - *
-   * Represents a request structure to create task.
-   * 
- * - * Protobuf type {@code flyteidl.admin.CreateTaskRequest} - */ - public static final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.CreateTaskRequest) - CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateTaskRequest.newBuilder() to construct. - private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateTaskRequest() { - outputPrefix_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateTaskRequest( - 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.Literals.LiteralMap.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Tasks.TaskTemplate.Builder subBuilder = null; - if (template_ != null) { - subBuilder = template_.toBuilder(); - } - template_ = input.readMessage(flyteidl.core.Tasks.TaskTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(template_); - template_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - outputPrefix_ = s; - break; - } - case 34: { - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder subBuilder = null; - if (taskExecutionMetadata_ != null) { - subBuilder = taskExecutionMetadata_.toBuilder(); - } - taskExecutionMetadata_ = input.readMessage(flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(taskExecutionMetadata_); - taskExecutionMetadata_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.CreateTaskRequest.class, flyteidl.admin.AgentOuterClass.CreateTaskRequest.Builder.class); - } - - public static final int INPUTS_FIELD_NUMBER = 1; - private flyteidl.core.Literals.LiteralMap inputs_; - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public boolean hasInputs() { - return inputs_ != null; - } - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMap getInputs() { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int TEMPLATE_FIELD_NUMBER = 2; - private flyteidl.core.Tasks.TaskTemplate template_; - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public boolean hasTemplate() { - return template_ != null; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - return getTemplate(); - } - - public static final int OUTPUT_PREFIX_FIELD_NUMBER = 3; - private volatile java.lang.Object outputPrefix_; - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - public java.lang.String getOutputPrefix() { - java.lang.Object ref = outputPrefix_; - 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(); - outputPrefix_ = s; - return s; - } - } - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - public com.google.protobuf.ByteString - getOutputPrefixBytes() { - java.lang.Object ref = outputPrefix_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputPrefix_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TASK_EXECUTION_METADATA_FIELD_NUMBER = 4; - private flyteidl.admin.AgentOuterClass.TaskExecutionMetadata taskExecutionMetadata_; - /** - *
-     * subset of runtime task execution metadata.
-     * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public boolean hasTaskExecutionMetadata() { - return taskExecutionMetadata_ != null; - } - /** - *
-     * subset of runtime task execution metadata.
-     * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadata getTaskExecutionMetadata() { - return taskExecutionMetadata_ == null ? flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.getDefaultInstance() : taskExecutionMetadata_; - } - /** - *
-     * subset of runtime task execution metadata.
-     * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadataOrBuilder getTaskExecutionMetadataOrBuilder() { - return getTaskExecutionMetadata(); - } - - 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 (inputs_ != null) { - output.writeMessage(1, getInputs()); - } - if (template_ != null) { - output.writeMessage(2, getTemplate()); - } - if (!getOutputPrefixBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputPrefix_); - } - if (taskExecutionMetadata_ != null) { - output.writeMessage(4, getTaskExecutionMetadata()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInputs()); - } - if (template_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTemplate()); - } - if (!getOutputPrefixBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputPrefix_); - } - if (taskExecutionMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTaskExecutionMetadata()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.CreateTaskRequest)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.CreateTaskRequest other = (flyteidl.admin.AgentOuterClass.CreateTaskRequest) obj; - - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (hasTemplate() != other.hasTemplate()) return false; - if (hasTemplate()) { - if (!getTemplate() - .equals(other.getTemplate())) return false; - } - if (!getOutputPrefix() - .equals(other.getOutputPrefix())) return false; - if (hasTaskExecutionMetadata() != other.hasTaskExecutionMetadata()) return false; - if (hasTaskExecutionMetadata()) { - if (!getTaskExecutionMetadata() - .equals(other.getTaskExecutionMetadata())) 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 (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - if (hasTemplate()) { - hash = (37 * hash) + TEMPLATE_FIELD_NUMBER; - hash = (53 * hash) + getTemplate().hashCode(); - } - hash = (37 * hash) + OUTPUT_PREFIX_FIELD_NUMBER; - hash = (53 * hash) + getOutputPrefix().hashCode(); - if (hasTaskExecutionMetadata()) { - hash = (37 * hash) + TASK_EXECUTION_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getTaskExecutionMetadata().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.CreateTaskRequest 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; - } - /** - *
-     * Represents a request structure to create task.
-     * 
- * - * Protobuf type {@code flyteidl.admin.CreateTaskRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.CreateTaskRequest) - flyteidl.admin.AgentOuterClass.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.CreateTaskRequest.class, flyteidl.admin.AgentOuterClass.CreateTaskRequest.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.CreateTaskRequest.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 (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - if (templateBuilder_ == null) { - template_ = null; - } else { - template_ = null; - templateBuilder_ = null; - } - outputPrefix_ = ""; - - if (taskExecutionMetadataBuilder_ == null) { - taskExecutionMetadata_ = null; - } else { - taskExecutionMetadata_ = null; - taskExecutionMetadataBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskRequest getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.CreateTaskRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskRequest build() { - flyteidl.admin.AgentOuterClass.CreateTaskRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskRequest buildPartial() { - flyteidl.admin.AgentOuterClass.CreateTaskRequest result = new flyteidl.admin.AgentOuterClass.CreateTaskRequest(this); - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (templateBuilder_ == null) { - result.template_ = template_; - } else { - result.template_ = templateBuilder_.build(); - } - result.outputPrefix_ = outputPrefix_; - if (taskExecutionMetadataBuilder_ == null) { - result.taskExecutionMetadata_ = taskExecutionMetadata_; - } else { - result.taskExecutionMetadata_ = taskExecutionMetadataBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.CreateTaskRequest) { - return mergeFrom((flyteidl.admin.AgentOuterClass.CreateTaskRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.CreateTaskRequest other) { - if (other == flyteidl.admin.AgentOuterClass.CreateTaskRequest.getDefaultInstance()) return this; - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (other.hasTemplate()) { - mergeTemplate(other.getTemplate()); - } - if (!other.getOutputPrefix().isEmpty()) { - outputPrefix_ = other.outputPrefix_; - onChanged(); - } - if (other.hasTaskExecutionMetadata()) { - mergeTaskExecutionMetadata(other.getTaskExecutionMetadata()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.CreateTaskRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.CreateTaskRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Literals.LiteralMap inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputsBuilder_; - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMap getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder setInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder setInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder mergeInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private flyteidl.core.Tasks.TaskTemplate template_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> templateBuilder_; - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public boolean hasTemplate() { - return templateBuilder_ != null || template_ != null; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - if (templateBuilder_ == null) { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } else { - return templateBuilder_.getMessage(); - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder setTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - template_ = value; - onChanged(); - } else { - templateBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder setTemplate( - flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (templateBuilder_ == null) { - template_ = builderForValue.build(); - onChanged(); - } else { - templateBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder mergeTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (template_ != null) { - template_ = - flyteidl.core.Tasks.TaskTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); - } else { - template_ = value; - } - onChanged(); - } else { - templateBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder clearTemplate() { - if (templateBuilder_ == null) { - template_ = null; - onChanged(); - } else { - template_ = null; - templateBuilder_ = null; - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder getTemplateBuilder() { - - onChanged(); - return getTemplateFieldBuilder().getBuilder(); - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - if (templateBuilder_ != null) { - return templateBuilder_.getMessageOrBuilder(); - } else { - return template_ == null ? - flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> - getTemplateFieldBuilder() { - if (templateBuilder_ == null) { - templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>( - getTemplate(), - getParentForChildren(), - isClean()); - template_ = null; - } - return templateBuilder_; - } - - private java.lang.Object outputPrefix_ = ""; - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public java.lang.String getOutputPrefix() { - java.lang.Object ref = outputPrefix_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - outputPrefix_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public com.google.protobuf.ByteString - getOutputPrefixBytes() { - java.lang.Object ref = outputPrefix_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputPrefix_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public Builder setOutputPrefix( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - outputPrefix_ = value; - onChanged(); - return this; - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public Builder clearOutputPrefix() { - - outputPrefix_ = getDefaultInstance().getOutputPrefix(); - onChanged(); - return this; - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public Builder setOutputPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - outputPrefix_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.AgentOuterClass.TaskExecutionMetadata taskExecutionMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata, flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder, flyteidl.admin.AgentOuterClass.TaskExecutionMetadataOrBuilder> taskExecutionMetadataBuilder_; - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public boolean hasTaskExecutionMetadata() { - return taskExecutionMetadataBuilder_ != null || taskExecutionMetadata_ != null; - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadata getTaskExecutionMetadata() { - if (taskExecutionMetadataBuilder_ == null) { - return taskExecutionMetadata_ == null ? flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.getDefaultInstance() : taskExecutionMetadata_; - } else { - return taskExecutionMetadataBuilder_.getMessage(); - } - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public Builder setTaskExecutionMetadata(flyteidl.admin.AgentOuterClass.TaskExecutionMetadata value) { - if (taskExecutionMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - taskExecutionMetadata_ = value; - onChanged(); - } else { - taskExecutionMetadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public Builder setTaskExecutionMetadata( - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder builderForValue) { - if (taskExecutionMetadataBuilder_ == null) { - taskExecutionMetadata_ = builderForValue.build(); - onChanged(); - } else { - taskExecutionMetadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public Builder mergeTaskExecutionMetadata(flyteidl.admin.AgentOuterClass.TaskExecutionMetadata value) { - if (taskExecutionMetadataBuilder_ == null) { - if (taskExecutionMetadata_ != null) { - taskExecutionMetadata_ = - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.newBuilder(taskExecutionMetadata_).mergeFrom(value).buildPartial(); - } else { - taskExecutionMetadata_ = value; - } - onChanged(); - } else { - taskExecutionMetadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public Builder clearTaskExecutionMetadata() { - if (taskExecutionMetadataBuilder_ == null) { - taskExecutionMetadata_ = null; - onChanged(); - } else { - taskExecutionMetadata_ = null; - taskExecutionMetadataBuilder_ = null; - } - - return this; - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder getTaskExecutionMetadataBuilder() { - - onChanged(); - return getTaskExecutionMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - public flyteidl.admin.AgentOuterClass.TaskExecutionMetadataOrBuilder getTaskExecutionMetadataOrBuilder() { - if (taskExecutionMetadataBuilder_ != null) { - return taskExecutionMetadataBuilder_.getMessageOrBuilder(); - } else { - return taskExecutionMetadata_ == null ? - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.getDefaultInstance() : taskExecutionMetadata_; - } - } - /** - *
-       * subset of runtime task execution metadata.
-       * 
- * - * .flyteidl.admin.TaskExecutionMetadata task_execution_metadata = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata, flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder, flyteidl.admin.AgentOuterClass.TaskExecutionMetadataOrBuilder> - getTaskExecutionMetadataFieldBuilder() { - if (taskExecutionMetadataBuilder_ == null) { - taskExecutionMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.TaskExecutionMetadata, flyteidl.admin.AgentOuterClass.TaskExecutionMetadata.Builder, flyteidl.admin.AgentOuterClass.TaskExecutionMetadataOrBuilder>( - getTaskExecutionMetadata(), - getParentForChildren(), - isClean()); - taskExecutionMetadata_ = null; - } - return taskExecutionMetadataBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.CreateTaskRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.CreateTaskRequest) - private static final flyteidl.admin.AgentOuterClass.CreateTaskRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.CreateTaskRequest(); - } - - public static flyteidl.admin.AgentOuterClass.CreateTaskRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateTaskResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.CreateTaskResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * bytes resource_meta = 1; - */ - com.google.protobuf.ByteString getResourceMeta(); - - /** - * .flyteidl.admin.Resource resource = 2; - */ - boolean hasResource(); - /** - * .flyteidl.admin.Resource resource = 2; - */ - flyteidl.admin.AgentOuterClass.Resource getResource(); - /** - * .flyteidl.admin.Resource resource = 2; - */ - flyteidl.admin.AgentOuterClass.ResourceOrBuilder getResourceOrBuilder(); - - public flyteidl.admin.AgentOuterClass.CreateTaskResponse.ResCase getResCase(); - } - /** - *
-   * Represents a create response structure.
-   * 
- * - * Protobuf type {@code flyteidl.admin.CreateTaskResponse} - */ - public static final class CreateTaskResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.CreateTaskResponse) - CreateTaskResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateTaskResponse.newBuilder() to construct. - private CreateTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateTaskResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateTaskResponse( - 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: { - resCase_ = 1; - res_ = input.readBytes(); - break; - } - case 18: { - flyteidl.admin.AgentOuterClass.Resource.Builder subBuilder = null; - if (resCase_ == 2) { - subBuilder = ((flyteidl.admin.AgentOuterClass.Resource) res_).toBuilder(); - } - res_ = - input.readMessage(flyteidl.admin.AgentOuterClass.Resource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.AgentOuterClass.Resource) res_); - res_ = subBuilder.buildPartial(); - } - resCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.CreateTaskResponse.class, flyteidl.admin.AgentOuterClass.CreateTaskResponse.Builder.class); - } - - private int resCase_ = 0; - private java.lang.Object res_; - public enum ResCase - implements com.google.protobuf.Internal.EnumLite { - RESOURCE_META(1), - RESOURCE(2), - RES_NOT_SET(0); - private final int value; - private ResCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ResCase valueOf(int value) { - return forNumber(value); - } - - public static ResCase forNumber(int value) { - switch (value) { - case 1: return RESOURCE_META; - case 2: return RESOURCE; - case 0: return RES_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ResCase - getResCase() { - return ResCase.forNumber( - resCase_); - } - - public static final int RESOURCE_META_FIELD_NUMBER = 1; - /** - * bytes resource_meta = 1; - */ - public com.google.protobuf.ByteString getResourceMeta() { - if (resCase_ == 1) { - return (com.google.protobuf.ByteString) res_; - } - return com.google.protobuf.ByteString.EMPTY; - } - - public static final int RESOURCE_FIELD_NUMBER = 2; - /** - * .flyteidl.admin.Resource resource = 2; - */ - public boolean hasResource() { - return resCase_ == 2; - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public flyteidl.admin.AgentOuterClass.Resource getResource() { - if (resCase_ == 2) { - return (flyteidl.admin.AgentOuterClass.Resource) res_; - } - return flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance(); - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public flyteidl.admin.AgentOuterClass.ResourceOrBuilder getResourceOrBuilder() { - if (resCase_ == 2) { - return (flyteidl.admin.AgentOuterClass.Resource) res_; - } - return flyteidl.admin.AgentOuterClass.Resource.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 (resCase_ == 1) { - output.writeBytes( - 1, (com.google.protobuf.ByteString) res_); - } - if (resCase_ == 2) { - output.writeMessage(2, (flyteidl.admin.AgentOuterClass.Resource) res_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 1, (com.google.protobuf.ByteString) res_); - } - if (resCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.admin.AgentOuterClass.Resource) res_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.CreateTaskResponse)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.CreateTaskResponse other = (flyteidl.admin.AgentOuterClass.CreateTaskResponse) obj; - - if (!getResCase().equals(other.getResCase())) return false; - switch (resCase_) { - case 1: - if (!getResourceMeta() - .equals(other.getResourceMeta())) return false; - break; - case 2: - if (!getResource() - .equals(other.getResource())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (resCase_) { - case 1: - hash = (37 * hash) + RESOURCE_META_FIELD_NUMBER; - hash = (53 * hash) + getResourceMeta().hashCode(); - break; - case 2: - hash = (37 * hash) + RESOURCE_FIELD_NUMBER; - hash = (53 * hash) + getResource().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.CreateTaskResponse 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; - } - /** - *
-     * Represents a create response structure.
-     * 
- * - * Protobuf type {@code flyteidl.admin.CreateTaskResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.CreateTaskResponse) - flyteidl.admin.AgentOuterClass.CreateTaskResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.CreateTaskResponse.class, flyteidl.admin.AgentOuterClass.CreateTaskResponse.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.CreateTaskResponse.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(); - resCase_ = 0; - res_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_CreateTaskResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskResponse getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.CreateTaskResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskResponse build() { - flyteidl.admin.AgentOuterClass.CreateTaskResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskResponse buildPartial() { - flyteidl.admin.AgentOuterClass.CreateTaskResponse result = new flyteidl.admin.AgentOuterClass.CreateTaskResponse(this); - if (resCase_ == 1) { - result.res_ = res_; - } - if (resCase_ == 2) { - if (resourceBuilder_ == null) { - result.res_ = res_; - } else { - result.res_ = resourceBuilder_.build(); - } - } - result.resCase_ = resCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.CreateTaskResponse) { - return mergeFrom((flyteidl.admin.AgentOuterClass.CreateTaskResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.CreateTaskResponse other) { - if (other == flyteidl.admin.AgentOuterClass.CreateTaskResponse.getDefaultInstance()) return this; - switch (other.getResCase()) { - case RESOURCE_META: { - setResourceMeta(other.getResourceMeta()); - break; - } - case RESOURCE: { - mergeResource(other.getResource()); - break; - } - case RES_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.CreateTaskResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.CreateTaskResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int resCase_ = 0; - private java.lang.Object res_; - public ResCase - getResCase() { - return ResCase.forNumber( - resCase_); - } - - public Builder clearRes() { - resCase_ = 0; - res_ = null; - onChanged(); - return this; - } - - - /** - * bytes resource_meta = 1; - */ - public com.google.protobuf.ByteString getResourceMeta() { - if (resCase_ == 1) { - return (com.google.protobuf.ByteString) res_; - } - return com.google.protobuf.ByteString.EMPTY; - } - /** - * bytes resource_meta = 1; - */ - public Builder setResourceMeta(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - resCase_ = 1; - res_ = value; - onChanged(); - return this; - } - /** - * bytes resource_meta = 1; - */ - public Builder clearResourceMeta() { - if (resCase_ == 1) { - resCase_ = 0; - res_ = null; - onChanged(); - } - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Resource, flyteidl.admin.AgentOuterClass.Resource.Builder, flyteidl.admin.AgentOuterClass.ResourceOrBuilder> resourceBuilder_; - /** - * .flyteidl.admin.Resource resource = 2; - */ - public boolean hasResource() { - return resCase_ == 2; - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public flyteidl.admin.AgentOuterClass.Resource getResource() { - if (resourceBuilder_ == null) { - if (resCase_ == 2) { - return (flyteidl.admin.AgentOuterClass.Resource) res_; - } - return flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance(); - } else { - if (resCase_ == 2) { - return resourceBuilder_.getMessage(); - } - return flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public Builder setResource(flyteidl.admin.AgentOuterClass.Resource value) { - if (resourceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - res_ = value; - onChanged(); - } else { - resourceBuilder_.setMessage(value); - } - resCase_ = 2; - return this; - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public Builder setResource( - flyteidl.admin.AgentOuterClass.Resource.Builder builderForValue) { - if (resourceBuilder_ == null) { - res_ = builderForValue.build(); - onChanged(); - } else { - resourceBuilder_.setMessage(builderForValue.build()); - } - resCase_ = 2; - return this; - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public Builder mergeResource(flyteidl.admin.AgentOuterClass.Resource value) { - if (resourceBuilder_ == null) { - if (resCase_ == 2 && - res_ != flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance()) { - res_ = flyteidl.admin.AgentOuterClass.Resource.newBuilder((flyteidl.admin.AgentOuterClass.Resource) res_) - .mergeFrom(value).buildPartial(); - } else { - res_ = value; - } - onChanged(); - } else { - if (resCase_ == 2) { - resourceBuilder_.mergeFrom(value); - } - resourceBuilder_.setMessage(value); - } - resCase_ = 2; - return this; - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public Builder clearResource() { - if (resourceBuilder_ == null) { - if (resCase_ == 2) { - resCase_ = 0; - res_ = null; - onChanged(); - } - } else { - if (resCase_ == 2) { - resCase_ = 0; - res_ = null; - } - resourceBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public flyteidl.admin.AgentOuterClass.Resource.Builder getResourceBuilder() { - return getResourceFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - public flyteidl.admin.AgentOuterClass.ResourceOrBuilder getResourceOrBuilder() { - if ((resCase_ == 2) && (resourceBuilder_ != null)) { - return resourceBuilder_.getMessageOrBuilder(); - } else { - if (resCase_ == 2) { - return (flyteidl.admin.AgentOuterClass.Resource) res_; - } - return flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.Resource resource = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Resource, flyteidl.admin.AgentOuterClass.Resource.Builder, flyteidl.admin.AgentOuterClass.ResourceOrBuilder> - getResourceFieldBuilder() { - if (resourceBuilder_ == null) { - if (!(resCase_ == 2)) { - res_ = flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance(); - } - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Resource, flyteidl.admin.AgentOuterClass.Resource.Builder, flyteidl.admin.AgentOuterClass.ResourceOrBuilder>( - (flyteidl.admin.AgentOuterClass.Resource) res_, - getParentForChildren(), - isClean()); - res_ = null; - } - resCase_ = 2; - onChanged();; - return resourceBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.CreateTaskResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.CreateTaskResponse) - private static final flyteidl.admin.AgentOuterClass.CreateTaskResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.CreateTaskResponse(); - } - - public static flyteidl.admin.AgentOuterClass.CreateTaskResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.CreateTaskResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * Metadata about the resource to be pass to the agent.
-     * 
- * - * bytes resource_meta = 2; - */ - com.google.protobuf.ByteString getResourceMeta(); - } - /** - *
-   * A message used to fetch a job resource from flyte agent server.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskRequest} - */ - public static final class GetTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetTaskRequest) - GetTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetTaskRequest.newBuilder() to construct. - private GetTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetTaskRequest() { - taskType_ = ""; - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetTaskRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 18: { - - resourceMeta_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskRequest.class, flyteidl.admin.AgentOuterClass.GetTaskRequest.Builder.class); - } - - public static final int TASK_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_META_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString resourceMeta_; - /** - *
-     * Metadata about the resource to be pass to the agent.
-     * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - - 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 (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - output.writeBytes(2, resourceMeta_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, resourceMeta_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.GetTaskRequest)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetTaskRequest other = (flyteidl.admin.AgentOuterClass.GetTaskRequest) obj; - - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (!getResourceMeta() - .equals(other.getResourceMeta())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - hash = (37 * hash) + RESOURCE_META_FIELD_NUMBER; - hash = (53 * hash) + getResourceMeta().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetTaskRequest 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 message used to fetch a job resource from flyte agent server.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetTaskRequest) - flyteidl.admin.AgentOuterClass.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskRequest.class, flyteidl.admin.AgentOuterClass.GetTaskRequest.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetTaskRequest.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(); - taskType_ = ""; - - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskRequest getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetTaskRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskRequest build() { - flyteidl.admin.AgentOuterClass.GetTaskRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskRequest buildPartial() { - flyteidl.admin.AgentOuterClass.GetTaskRequest result = new flyteidl.admin.AgentOuterClass.GetTaskRequest(this); - result.taskType_ = taskType_; - result.resourceMeta_ = resourceMeta_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetTaskRequest) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetTaskRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetTaskRequest other) { - if (other == flyteidl.admin.AgentOuterClass.GetTaskRequest.getDefaultInstance()) return this; - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (other.getResourceMeta() != com.google.protobuf.ByteString.EMPTY) { - setResourceMeta(other.getResourceMeta()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetTaskRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetTaskRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - /** - *
-       * Metadata about the resource to be pass to the agent.
-       * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - /** - *
-       * Metadata about the resource to be pass to the agent.
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder setResourceMeta(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceMeta_ = value; - onChanged(); - return this; - } - /** - *
-       * Metadata about the resource to be pass to the agent.
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder clearResourceMeta() { - - resourceMeta_ = getDefaultInstance().getResourceMeta(); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetTaskRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskRequest) - private static final flyteidl.admin.AgentOuterClass.GetTaskRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetTaskRequest(); - } - - public static flyteidl.admin.AgentOuterClass.GetTaskRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTaskRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetTaskResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetTaskResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.Resource resource = 1; - */ - boolean hasResource(); - /** - * .flyteidl.admin.Resource resource = 1; - */ - flyteidl.admin.AgentOuterClass.Resource getResource(); - /** - * .flyteidl.admin.Resource resource = 1; - */ - flyteidl.admin.AgentOuterClass.ResourceOrBuilder getResourceOrBuilder(); - - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - java.util.List - getLogLinksList(); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - flyteidl.core.Execution.TaskLog getLogLinks(int index); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - int getLogLinksCount(); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - java.util.List - getLogLinksOrBuilderList(); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - flyteidl.core.Execution.TaskLogOrBuilder getLogLinksOrBuilder( - int index); - } - /** - *
-   * Response to get an individual task resource.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskResponse} - */ - public static final class GetTaskResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetTaskResponse) - GetTaskResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetTaskResponse.newBuilder() to construct. - private GetTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetTaskResponse() { - logLinks_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetTaskResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.AgentOuterClass.Resource.Builder subBuilder = null; - if (resource_ != null) { - subBuilder = resource_.toBuilder(); - } - resource_ = input.readMessage(flyteidl.admin.AgentOuterClass.Resource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resource_); - resource_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - logLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - logLinks_.add( - input.readMessage(flyteidl.core.Execution.TaskLog.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_ & 0x00000002) != 0)) { - logLinks_ = java.util.Collections.unmodifiableList(logLinks_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskResponse.class, flyteidl.admin.AgentOuterClass.GetTaskResponse.Builder.class); - } - - private int bitField0_; - public static final int RESOURCE_FIELD_NUMBER = 1; - private flyteidl.admin.AgentOuterClass.Resource resource_; - /** - * .flyteidl.admin.Resource resource = 1; - */ - public boolean hasResource() { - return resource_ != null; - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public flyteidl.admin.AgentOuterClass.Resource getResource() { - return resource_ == null ? flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance() : resource_; - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public flyteidl.admin.AgentOuterClass.ResourceOrBuilder getResourceOrBuilder() { - return getResource(); - } - - public static final int LOG_LINKS_FIELD_NUMBER = 2; - private java.util.List logLinks_; - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public java.util.List getLogLinksList() { - return logLinks_; - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public java.util.List - getLogLinksOrBuilderList() { - return logLinks_; - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public int getLogLinksCount() { - return logLinks_.size(); - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public flyteidl.core.Execution.TaskLog getLogLinks(int index) { - return logLinks_.get(index); - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogLinksOrBuilder( - int index) { - return logLinks_.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 { - if (resource_ != null) { - output.writeMessage(1, getResource()); - } - for (int i = 0; i < logLinks_.size(); i++) { - output.writeMessage(2, logLinks_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getResource()); - } - for (int i = 0; i < logLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, logLinks_.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.admin.AgentOuterClass.GetTaskResponse)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetTaskResponse other = (flyteidl.admin.AgentOuterClass.GetTaskResponse) obj; - - if (hasResource() != other.hasResource()) return false; - if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; - } - if (!getLogLinksList() - .equals(other.getLogLinksList())) 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 (hasResource()) { - hash = (37 * hash) + RESOURCE_FIELD_NUMBER; - hash = (53 * hash) + getResource().hashCode(); - } - if (getLogLinksCount() > 0) { - hash = (37 * hash) + LOG_LINKS_FIELD_NUMBER; - hash = (53 * hash) + getLogLinksList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetTaskResponse 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 to get an individual task resource.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetTaskResponse) - flyteidl.admin.AgentOuterClass.GetTaskResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskResponse.class, flyteidl.admin.AgentOuterClass.GetTaskResponse.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetTaskResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getLogLinksFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (resourceBuilder_ == null) { - resource_ = null; - } else { - resource_ = null; - resourceBuilder_ = null; - } - if (logLinksBuilder_ == null) { - logLinks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - logLinksBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskResponse getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetTaskResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskResponse build() { - flyteidl.admin.AgentOuterClass.GetTaskResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskResponse buildPartial() { - flyteidl.admin.AgentOuterClass.GetTaskResponse result = new flyteidl.admin.AgentOuterClass.GetTaskResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (resourceBuilder_ == null) { - result.resource_ = resource_; - } else { - result.resource_ = resourceBuilder_.build(); - } - if (logLinksBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - logLinks_ = java.util.Collections.unmodifiableList(logLinks_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.logLinks_ = logLinks_; - } else { - result.logLinks_ = logLinksBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetTaskResponse) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetTaskResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetTaskResponse other) { - if (other == flyteidl.admin.AgentOuterClass.GetTaskResponse.getDefaultInstance()) return this; - if (other.hasResource()) { - mergeResource(other.getResource()); - } - if (logLinksBuilder_ == null) { - if (!other.logLinks_.isEmpty()) { - if (logLinks_.isEmpty()) { - logLinks_ = other.logLinks_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureLogLinksIsMutable(); - logLinks_.addAll(other.logLinks_); - } - onChanged(); - } - } else { - if (!other.logLinks_.isEmpty()) { - if (logLinksBuilder_.isEmpty()) { - logLinksBuilder_.dispose(); - logLinksBuilder_ = null; - logLinks_ = other.logLinks_; - bitField0_ = (bitField0_ & ~0x00000002); - logLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLogLinksFieldBuilder() : null; - } else { - logLinksBuilder_.addAllMessages(other.logLinks_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetTaskResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetTaskResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.admin.AgentOuterClass.Resource resource_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Resource, flyteidl.admin.AgentOuterClass.Resource.Builder, flyteidl.admin.AgentOuterClass.ResourceOrBuilder> resourceBuilder_; - /** - * .flyteidl.admin.Resource resource = 1; - */ - public boolean hasResource() { - return resourceBuilder_ != null || resource_ != null; - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public flyteidl.admin.AgentOuterClass.Resource getResource() { - if (resourceBuilder_ == null) { - return resource_ == null ? flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance() : resource_; - } else { - return resourceBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public Builder setResource(flyteidl.admin.AgentOuterClass.Resource value) { - if (resourceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resource_ = value; - onChanged(); - } else { - resourceBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public Builder setResource( - flyteidl.admin.AgentOuterClass.Resource.Builder builderForValue) { - if (resourceBuilder_ == null) { - resource_ = builderForValue.build(); - onChanged(); - } else { - resourceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public Builder mergeResource(flyteidl.admin.AgentOuterClass.Resource value) { - if (resourceBuilder_ == null) { - if (resource_ != null) { - resource_ = - flyteidl.admin.AgentOuterClass.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); - } else { - resource_ = value; - } - onChanged(); - } else { - resourceBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public Builder clearResource() { - if (resourceBuilder_ == null) { - resource_ = null; - onChanged(); - } else { - resource_ = null; - resourceBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public flyteidl.admin.AgentOuterClass.Resource.Builder getResourceBuilder() { - - onChanged(); - return getResourceFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - public flyteidl.admin.AgentOuterClass.ResourceOrBuilder getResourceOrBuilder() { - if (resourceBuilder_ != null) { - return resourceBuilder_.getMessageOrBuilder(); - } else { - return resource_ == null ? - flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance() : resource_; - } - } - /** - * .flyteidl.admin.Resource resource = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Resource, flyteidl.admin.AgentOuterClass.Resource.Builder, flyteidl.admin.AgentOuterClass.ResourceOrBuilder> - getResourceFieldBuilder() { - if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Resource, flyteidl.admin.AgentOuterClass.Resource.Builder, flyteidl.admin.AgentOuterClass.ResourceOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); - resource_ = null; - } - return resourceBuilder_; - } - - private java.util.List logLinks_ = - java.util.Collections.emptyList(); - private void ensureLogLinksIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - logLinks_ = new java.util.ArrayList(logLinks_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> logLinksBuilder_; - - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public java.util.List getLogLinksList() { - if (logLinksBuilder_ == null) { - return java.util.Collections.unmodifiableList(logLinks_); - } else { - return logLinksBuilder_.getMessageList(); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public int getLogLinksCount() { - if (logLinksBuilder_ == null) { - return logLinks_.size(); - } else { - return logLinksBuilder_.getCount(); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public flyteidl.core.Execution.TaskLog getLogLinks(int index) { - if (logLinksBuilder_ == null) { - return logLinks_.get(index); - } else { - return logLinksBuilder_.getMessage(index); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder setLogLinks( - int index, flyteidl.core.Execution.TaskLog value) { - if (logLinksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogLinksIsMutable(); - logLinks_.set(index, value); - onChanged(); - } else { - logLinksBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder setLogLinks( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.set(index, builderForValue.build()); - onChanged(); - } else { - logLinksBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder addLogLinks(flyteidl.core.Execution.TaskLog value) { - if (logLinksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogLinksIsMutable(); - logLinks_.add(value); - onChanged(); - } else { - logLinksBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder addLogLinks( - int index, flyteidl.core.Execution.TaskLog value) { - if (logLinksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogLinksIsMutable(); - logLinks_.add(index, value); - onChanged(); - } else { - logLinksBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder addLogLinks( - flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.add(builderForValue.build()); - onChanged(); - } else { - logLinksBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder addLogLinks( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.add(index, builderForValue.build()); - onChanged(); - } else { - logLinksBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder addAllLogLinks( - java.lang.Iterable values) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logLinks_); - onChanged(); - } else { - logLinksBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder clearLogLinks() { - if (logLinksBuilder_ == null) { - logLinks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - logLinksBuilder_.clear(); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public Builder removeLogLinks(int index) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.remove(index); - onChanged(); - } else { - logLinksBuilder_.remove(index); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public flyteidl.core.Execution.TaskLog.Builder getLogLinksBuilder( - int index) { - return getLogLinksFieldBuilder().getBuilder(index); - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogLinksOrBuilder( - int index) { - if (logLinksBuilder_ == null) { - return logLinks_.get(index); } else { - return logLinksBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public java.util.List - getLogLinksOrBuilderList() { - if (logLinksBuilder_ != null) { - return logLinksBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(logLinks_); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogLinksBuilder() { - return getLogLinksFieldBuilder().addBuilder( - flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogLinksBuilder( - int index) { - return getLogLinksFieldBuilder().addBuilder( - index, flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 2; - */ - public java.util.List - getLogLinksBuilderList() { - return getLogLinksFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> - getLogLinksFieldBuilder() { - if (logLinksBuilder_ == null) { - logLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder>( - logLinks_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - logLinks_ = null; - } - return logLinksBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetTaskResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskResponse) - private static final flyteidl.admin.AgentOuterClass.GetTaskResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetTaskResponse(); - } - - public static flyteidl.admin.AgentOuterClass.GetTaskResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTaskResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ResourceOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Resource) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated int getStateValue(); - /** - *
-     * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.AgentOuterClass.State getState(); - - /** - *
-     * The outputs of the execution. It's typically used by sql task. Agent service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - boolean hasOutputs(); - /** - *
-     * The outputs of the execution. It's typically used by sql task. Agent service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - flyteidl.core.Literals.LiteralMap getOutputs(); - /** - *
-     * The outputs of the execution. It's typically used by sql task. Agent service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder(); - - /** - *
-     * A descriptive message for the current state. e.g. waiting for cluster.
-     * 
- * - * string message = 3; - */ - java.lang.String getMessage(); - /** - *
-     * A descriptive message for the current state. e.g. waiting for cluster.
-     * 
- * - * string message = 3; - */ - com.google.protobuf.ByteString - getMessageBytes(); - - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - java.util.List - getLogLinksList(); - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - flyteidl.core.Execution.TaskLog getLogLinks(int index); - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - int getLogLinksCount(); - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - java.util.List - getLogLinksOrBuilderList(); - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - flyteidl.core.Execution.TaskLogOrBuilder getLogLinksOrBuilder( - int index); - - /** - *
-     * The phase of the execution is used to determine the phase of the plugin's execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - int getPhaseValue(); - /** - *
-     * The phase of the execution is used to determine the phase of the plugin's execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - flyteidl.core.Execution.TaskExecution.Phase getPhase(); - } - /** - * Protobuf type {@code flyteidl.admin.Resource} - */ - public static final class Resource extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Resource) - ResourceOrBuilder { - private static final long serialVersionUID = 0L; - // Use Resource.newBuilder() to construct. - private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Resource() { - state_ = 0; - message_ = ""; - logLinks_ = java.util.Collections.emptyList(); - phase_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Resource( - 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(); - - state_ = rawValue; - break; - } - case 18: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputs_ != null) { - subBuilder = outputs_.toBuilder(); - } - outputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputs_); - outputs_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - message_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - logLinks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - logLinks_.add( - input.readMessage(flyteidl.core.Execution.TaskLog.parser(), extensionRegistry)); - break; - } - case 40: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - 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_ & 0x00000008) != 0)) { - logLinks_ = java.util.Collections.unmodifiableList(logLinks_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Resource_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Resource_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.Resource.class, flyteidl.admin.AgentOuterClass.Resource.Builder.class); - } - - private int bitField0_; - public static final int STATE_FIELD_NUMBER = 1; - private int state_; - /** - *
-     * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated public int getStateValue() { - return state_; - } - /** - *
-     * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.AgentOuterClass.State getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.AgentOuterClass.State result = flyteidl.admin.AgentOuterClass.State.valueOf(state_); - return result == null ? flyteidl.admin.AgentOuterClass.State.UNRECOGNIZED : result; - } - - public static final int OUTPUTS_FIELD_NUMBER = 2; - private flyteidl.core.Literals.LiteralMap outputs_; - /** - *
-     * The outputs of the execution. It's typically used by sql task. Agent service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public boolean hasOutputs() { - return outputs_ != null; - } - /** - *
-     * The outputs of the execution. It's typically used by sql task. Agent service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputs() { - return outputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; - } - /** - *
-     * The outputs of the execution. It's typically used by sql task. Agent service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder() { - return getOutputs(); - } - - public static final int MESSAGE_FIELD_NUMBER = 3; - private volatile java.lang.Object message_; - /** - *
-     * A descriptive message for the current state. e.g. waiting for cluster.
-     * 
- * - * string message = 3; - */ - 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; - } - } - /** - *
-     * A descriptive message for the current state. e.g. waiting for cluster.
-     * 
- * - * string message = 3; - */ - 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 LOG_LINKS_FIELD_NUMBER = 4; - private java.util.List logLinks_; - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public java.util.List getLogLinksList() { - return logLinks_; - } - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public java.util.List - getLogLinksOrBuilderList() { - return logLinks_; - } - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public int getLogLinksCount() { - return logLinks_.size(); - } - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public flyteidl.core.Execution.TaskLog getLogLinks(int index) { - return logLinks_.get(index); - } - /** - *
-     * log information for the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogLinksOrBuilder( - int index) { - return logLinks_.get(index); - } - - public static final int PHASE_FIELD_NUMBER = 5; - private int phase_; - /** - *
-     * The phase of the execution is used to determine the phase of the plugin's execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-     * The phase of the execution is used to determine the phase of the plugin's execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - - 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 (state_ != flyteidl.admin.AgentOuterClass.State.RETRYABLE_FAILURE.getNumber()) { - output.writeEnum(1, state_); - } - if (outputs_ != null) { - output.writeMessage(2, getOutputs()); - } - if (!getMessageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_); - } - for (int i = 0; i < logLinks_.size(); i++) { - output.writeMessage(4, logLinks_.get(i)); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(5, phase_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (state_ != flyteidl.admin.AgentOuterClass.State.RETRYABLE_FAILURE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); - } - if (outputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputs()); - } - if (!getMessageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); - } - for (int i = 0; i < logLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, logLinks_.get(i)); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, phase_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.Resource)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.Resource other = (flyteidl.admin.AgentOuterClass.Resource) obj; - - if (state_ != other.state_) return false; - if (hasOutputs() != other.hasOutputs()) return false; - if (hasOutputs()) { - if (!getOutputs() - .equals(other.getOutputs())) return false; - } - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getLogLinksList() - .equals(other.getLogLinksList())) return false; - if (phase_ != other.phase_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - if (hasOutputs()) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - } - hash = (37 * hash) + MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getMessage().hashCode(); - if (getLogLinksCount() > 0) { - hash = (37 * hash) + LOG_LINKS_FIELD_NUMBER; - hash = (53 * hash) + getLogLinksList().hashCode(); - } - hash = (37 * hash) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Resource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.Resource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.Resource parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.Resource prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.Resource} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Resource) - flyteidl.admin.AgentOuterClass.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Resource_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Resource_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.Resource.class, flyteidl.admin.AgentOuterClass.Resource.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.Resource.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getLogLinksFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - state_ = 0; - - if (outputsBuilder_ == null) { - outputs_ = null; - } else { - outputs_ = null; - outputsBuilder_ = null; - } - message_ = ""; - - if (logLinksBuilder_ == null) { - logLinks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - logLinksBuilder_.clear(); - } - phase_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Resource_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Resource getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Resource build() { - flyteidl.admin.AgentOuterClass.Resource result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Resource buildPartial() { - flyteidl.admin.AgentOuterClass.Resource result = new flyteidl.admin.AgentOuterClass.Resource(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.state_ = state_; - if (outputsBuilder_ == null) { - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.build(); - } - result.message_ = message_; - if (logLinksBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - logLinks_ = java.util.Collections.unmodifiableList(logLinks_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.logLinks_ = logLinks_; - } else { - result.logLinks_ = logLinksBuilder_.build(); - } - result.phase_ = phase_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.Resource) { - return mergeFrom((flyteidl.admin.AgentOuterClass.Resource)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.Resource other) { - if (other == flyteidl.admin.AgentOuterClass.Resource.getDefaultInstance()) return this; - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - if (other.hasOutputs()) { - mergeOutputs(other.getOutputs()); - } - if (!other.getMessage().isEmpty()) { - message_ = other.message_; - onChanged(); - } - if (logLinksBuilder_ == null) { - if (!other.logLinks_.isEmpty()) { - if (logLinks_.isEmpty()) { - logLinks_ = other.logLinks_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureLogLinksIsMutable(); - logLinks_.addAll(other.logLinks_); - } - onChanged(); - } - } else { - if (!other.logLinks_.isEmpty()) { - if (logLinksBuilder_.isEmpty()) { - logLinksBuilder_.dispose(); - logLinksBuilder_ = null; - logLinks_ = other.logLinks_; - bitField0_ = (bitField0_ & ~0x00000008); - logLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLogLinksFieldBuilder() : null; - } else { - logLinksBuilder_.addAllMessages(other.logLinks_); - } - } - } - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.Resource parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.Resource) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private int state_ = 0; - /** - *
-       * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated public int getStateValue() { - return state_; - } - /** - *
-       * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - *
-       * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.AgentOuterClass.State getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.AgentOuterClass.State result = flyteidl.admin.AgentOuterClass.State.valueOf(state_); - return result == null ? flyteidl.admin.AgentOuterClass.State.UNRECOGNIZED : result; - } - /** - *
-       * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setState(flyteidl.admin.AgentOuterClass.State value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.State state = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Literals.LiteralMap outputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputsBuilder_; - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public boolean hasOutputs() { - return outputsBuilder_ != null || outputs_ != null; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputs() { - if (outputsBuilder_ == null) { - return outputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; - } else { - return outputsBuilder_.getMessage(); - } - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder setOutputs(flyteidl.core.Literals.LiteralMap value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputs_ = value; - onChanged(); - } else { - outputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder setOutputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputsBuilder_ == null) { - outputs_ = builderForValue.build(); - onChanged(); - } else { - outputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder mergeOutputs(flyteidl.core.Literals.LiteralMap value) { - if (outputsBuilder_ == null) { - if (outputs_ != null) { - outputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(outputs_).mergeFrom(value).buildPartial(); - } else { - outputs_ = value; - } - onChanged(); - } else { - outputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = null; - onChanged(); - } else { - outputs_ = null; - outputsBuilder_ = null; - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputsBuilder() { - - onChanged(); - return getOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilder(); - } else { - return outputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; - } - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Agent service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getOutputs(), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - - private java.lang.Object message_ = ""; - /** - *
-       * A descriptive message for the current state. e.g. waiting for cluster.
-       * 
- * - * string message = 3; - */ - 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; - } - } - /** - *
-       * A descriptive message for the current state. e.g. waiting for cluster.
-       * 
- * - * string message = 3; - */ - 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; - } - } - /** - *
-       * A descriptive message for the current state. e.g. waiting for cluster.
-       * 
- * - * string message = 3; - */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - message_ = value; - onChanged(); - return this; - } - /** - *
-       * A descriptive message for the current state. e.g. waiting for cluster.
-       * 
- * - * string message = 3; - */ - public Builder clearMessage() { - - message_ = getDefaultInstance().getMessage(); - onChanged(); - return this; - } - /** - *
-       * A descriptive message for the current state. e.g. waiting for cluster.
-       * 
- * - * string message = 3; - */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - message_ = value; - onChanged(); - return this; - } - - private java.util.List logLinks_ = - java.util.Collections.emptyList(); - private void ensureLogLinksIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - logLinks_ = new java.util.ArrayList(logLinks_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> logLinksBuilder_; - - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public java.util.List getLogLinksList() { - if (logLinksBuilder_ == null) { - return java.util.Collections.unmodifiableList(logLinks_); - } else { - return logLinksBuilder_.getMessageList(); - } - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public int getLogLinksCount() { - if (logLinksBuilder_ == null) { - return logLinks_.size(); - } else { - return logLinksBuilder_.getCount(); - } - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public flyteidl.core.Execution.TaskLog getLogLinks(int index) { - if (logLinksBuilder_ == null) { - return logLinks_.get(index); - } else { - return logLinksBuilder_.getMessage(index); - } - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder setLogLinks( - int index, flyteidl.core.Execution.TaskLog value) { - if (logLinksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogLinksIsMutable(); - logLinks_.set(index, value); - onChanged(); - } else { - logLinksBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder setLogLinks( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.set(index, builderForValue.build()); - onChanged(); - } else { - logLinksBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder addLogLinks(flyteidl.core.Execution.TaskLog value) { - if (logLinksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogLinksIsMutable(); - logLinks_.add(value); - onChanged(); - } else { - logLinksBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder addLogLinks( - int index, flyteidl.core.Execution.TaskLog value) { - if (logLinksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogLinksIsMutable(); - logLinks_.add(index, value); - onChanged(); - } else { - logLinksBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder addLogLinks( - flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.add(builderForValue.build()); - onChanged(); - } else { - logLinksBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder addLogLinks( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.add(index, builderForValue.build()); - onChanged(); - } else { - logLinksBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder addAllLogLinks( - java.lang.Iterable values) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logLinks_); - onChanged(); - } else { - logLinksBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder clearLogLinks() { - if (logLinksBuilder_ == null) { - logLinks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - logLinksBuilder_.clear(); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public Builder removeLogLinks(int index) { - if (logLinksBuilder_ == null) { - ensureLogLinksIsMutable(); - logLinks_.remove(index); - onChanged(); - } else { - logLinksBuilder_.remove(index); - } - return this; - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public flyteidl.core.Execution.TaskLog.Builder getLogLinksBuilder( - int index) { - return getLogLinksFieldBuilder().getBuilder(index); - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogLinksOrBuilder( - int index) { - if (logLinksBuilder_ == null) { - return logLinks_.get(index); } else { - return logLinksBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public java.util.List - getLogLinksOrBuilderList() { - if (logLinksBuilder_ != null) { - return logLinksBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(logLinks_); - } - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogLinksBuilder() { - return getLogLinksFieldBuilder().addBuilder( - flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogLinksBuilder( - int index) { - return getLogLinksFieldBuilder().addBuilder( - index, flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog log_links = 4; - */ - public java.util.List - getLogLinksBuilderList() { - return getLogLinksFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> - getLogLinksFieldBuilder() { - if (logLinksBuilder_ == null) { - logLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder>( - logLinks_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - logLinks_ = null; - } - return logLinksBuilder_; - } - - private int phase_ = 0; - /** - *
-       * The phase of the execution is used to determine the phase of the plugin's execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-       * The phase of the execution is used to determine the phase of the plugin's execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - *
-       * The phase of the execution is used to determine the phase of the plugin's execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - /** - *
-       * The phase of the execution is used to determine the phase of the plugin's execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - public Builder setPhase(flyteidl.core.Execution.TaskExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * The phase of the execution is used to determine the phase of the plugin's execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 5; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Resource) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Resource) - private static final flyteidl.admin.AgentOuterClass.Resource DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.Resource(); - } - - public static flyteidl.admin.AgentOuterClass.Resource getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Resource getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * Metadata about the resource to be pass to the agent.
-     * 
- * - * bytes resource_meta = 2; - */ - com.google.protobuf.ByteString getResourceMeta(); - } - /** - *
-   * A message used to delete a task.
-   * 
- * - * Protobuf type {@code flyteidl.admin.DeleteTaskRequest} - */ - public static final class DeleteTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.DeleteTaskRequest) - DeleteTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use DeleteTaskRequest.newBuilder() to construct. - private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteTaskRequest() { - taskType_ = ""; - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteTaskRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 18: { - - resourceMeta_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.DeleteTaskRequest.class, flyteidl.admin.AgentOuterClass.DeleteTaskRequest.Builder.class); - } - - public static final int TASK_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_META_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString resourceMeta_; - /** - *
-     * Metadata about the resource to be pass to the agent.
-     * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - - 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 (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - output.writeBytes(2, resourceMeta_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, resourceMeta_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.DeleteTaskRequest)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.DeleteTaskRequest other = (flyteidl.admin.AgentOuterClass.DeleteTaskRequest) obj; - - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (!getResourceMeta() - .equals(other.getResourceMeta())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - hash = (37 * hash) + RESOURCE_META_FIELD_NUMBER; - hash = (53 * hash) + getResourceMeta().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.DeleteTaskRequest 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 message used to delete a task.
-     * 
- * - * Protobuf type {@code flyteidl.admin.DeleteTaskRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.DeleteTaskRequest) - flyteidl.admin.AgentOuterClass.DeleteTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.DeleteTaskRequest.class, flyteidl.admin.AgentOuterClass.DeleteTaskRequest.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.DeleteTaskRequest.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(); - taskType_ = ""; - - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskRequest getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.DeleteTaskRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskRequest build() { - flyteidl.admin.AgentOuterClass.DeleteTaskRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskRequest buildPartial() { - flyteidl.admin.AgentOuterClass.DeleteTaskRequest result = new flyteidl.admin.AgentOuterClass.DeleteTaskRequest(this); - result.taskType_ = taskType_; - result.resourceMeta_ = resourceMeta_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.DeleteTaskRequest) { - return mergeFrom((flyteidl.admin.AgentOuterClass.DeleteTaskRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.DeleteTaskRequest other) { - if (other == flyteidl.admin.AgentOuterClass.DeleteTaskRequest.getDefaultInstance()) return this; - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (other.getResourceMeta() != com.google.protobuf.ByteString.EMPTY) { - setResourceMeta(other.getResourceMeta()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.DeleteTaskRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.DeleteTaskRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - /** - *
-       * Metadata about the resource to be pass to the agent.
-       * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - /** - *
-       * Metadata about the resource to be pass to the agent.
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder setResourceMeta(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceMeta_ = value; - onChanged(); - return this; - } - /** - *
-       * Metadata about the resource to be pass to the agent.
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder clearResourceMeta() { - - resourceMeta_ = getDefaultInstance().getResourceMeta(); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.DeleteTaskRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DeleteTaskRequest) - private static final flyteidl.admin.AgentOuterClass.DeleteTaskRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.DeleteTaskRequest(); - } - - public static flyteidl.admin.AgentOuterClass.DeleteTaskRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DeleteTaskResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.DeleteTaskResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Response to delete a task.
-   * 
- * - * Protobuf type {@code flyteidl.admin.DeleteTaskResponse} - */ - public static final class DeleteTaskResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.DeleteTaskResponse) - DeleteTaskResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use DeleteTaskResponse.newBuilder() to construct. - private DeleteTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteTaskResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteTaskResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.DeleteTaskResponse.class, flyteidl.admin.AgentOuterClass.DeleteTaskResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.DeleteTaskResponse)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.DeleteTaskResponse other = (flyteidl.admin.AgentOuterClass.DeleteTaskResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.DeleteTaskResponse 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 to delete a task.
-     * 
- * - * Protobuf type {@code flyteidl.admin.DeleteTaskResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.DeleteTaskResponse) - flyteidl.admin.AgentOuterClass.DeleteTaskResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.DeleteTaskResponse.class, flyteidl.admin.AgentOuterClass.DeleteTaskResponse.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.DeleteTaskResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_DeleteTaskResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskResponse getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.DeleteTaskResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskResponse build() { - flyteidl.admin.AgentOuterClass.DeleteTaskResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskResponse buildPartial() { - flyteidl.admin.AgentOuterClass.DeleteTaskResponse result = new flyteidl.admin.AgentOuterClass.DeleteTaskResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.DeleteTaskResponse) { - return mergeFrom((flyteidl.admin.AgentOuterClass.DeleteTaskResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.DeleteTaskResponse other) { - if (other == flyteidl.admin.AgentOuterClass.DeleteTaskResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.DeleteTaskResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.DeleteTaskResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.DeleteTaskResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DeleteTaskResponse) - private static final flyteidl.admin.AgentOuterClass.DeleteTaskResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.DeleteTaskResponse(); - } - - public static flyteidl.admin.AgentOuterClass.DeleteTaskResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.DeleteTaskResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AgentOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Agent) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name is the developer-assigned name of the agent.
-     * 
- * - * string name = 1; - */ - java.lang.String getName(); - /** - *
-     * Name is the developer-assigned name of the agent.
-     * 
- * - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - java.util.List - getSupportedTaskTypesList(); - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - int getSupportedTaskTypesCount(); - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - java.lang.String getSupportedTaskTypes(int index); - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - com.google.protobuf.ByteString - getSupportedTaskTypesBytes(int index); - } - /** - *
-   * A message containing the agent metadata.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Agent} - */ - public static final class Agent extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Agent) - AgentOrBuilder { - private static final long serialVersionUID = 0L; - // Use Agent.newBuilder() to construct. - private Agent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Agent() { - name_ = ""; - supportedTaskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Agent( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedTaskTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - supportedTaskTypes_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - supportedTaskTypes_ = supportedTaskTypes_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Agent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Agent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.Agent.class, flyteidl.admin.AgentOuterClass.Agent.Builder.class); - } - - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - *
-     * Name is the developer-assigned name of the agent.
-     * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * Name is the developer-assigned name of the agent.
-     * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SUPPORTED_TASK_TYPES_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList supportedTaskTypes_; - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - public com.google.protobuf.ProtocolStringList - getSupportedTaskTypesList() { - return supportedTaskTypes_; - } - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - public int getSupportedTaskTypesCount() { - return supportedTaskTypes_.size(); - } - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - public java.lang.String getSupportedTaskTypes(int index) { - return supportedTaskTypes_.get(index); - } - /** - *
-     * SupportedTaskTypes are the types of the tasks that the agent can handle.
-     * 
- * - * repeated string supported_task_types = 2; - */ - public com.google.protobuf.ByteString - getSupportedTaskTypesBytes(int index) { - return supportedTaskTypes_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - for (int i = 0; i < supportedTaskTypes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, supportedTaskTypes_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - { - int dataSize = 0; - for (int i = 0; i < supportedTaskTypes_.size(); i++) { - dataSize += computeStringSizeNoTag(supportedTaskTypes_.getRaw(i)); - } - size += dataSize; - size += 1 * getSupportedTaskTypesList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.Agent)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.Agent other = (flyteidl.admin.AgentOuterClass.Agent) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getSupportedTaskTypesList() - .equals(other.getSupportedTaskTypesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getSupportedTaskTypesCount() > 0) { - hash = (37 * hash) + SUPPORTED_TASK_TYPES_FIELD_NUMBER; - hash = (53 * hash) + getSupportedTaskTypesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Agent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.Agent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.Agent parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.Agent 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 message containing the agent metadata.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Agent} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Agent) - flyteidl.admin.AgentOuterClass.AgentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Agent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Agent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.Agent.class, flyteidl.admin.AgentOuterClass.Agent.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.Agent.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(); - name_ = ""; - - supportedTaskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_Agent_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Agent getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.Agent.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Agent build() { - flyteidl.admin.AgentOuterClass.Agent result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Agent buildPartial() { - flyteidl.admin.AgentOuterClass.Agent result = new flyteidl.admin.AgentOuterClass.Agent(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.name_ = name_; - if (((bitField0_ & 0x00000002) != 0)) { - supportedTaskTypes_ = supportedTaskTypes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.supportedTaskTypes_ = supportedTaskTypes_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.Agent) { - return mergeFrom((flyteidl.admin.AgentOuterClass.Agent)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.Agent other) { - if (other == flyteidl.admin.AgentOuterClass.Agent.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.supportedTaskTypes_.isEmpty()) { - if (supportedTaskTypes_.isEmpty()) { - supportedTaskTypes_ = other.supportedTaskTypes_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureSupportedTaskTypesIsMutable(); - supportedTaskTypes_.addAll(other.supportedTaskTypes_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.Agent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.Agent) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - *
-       * Name is the developer-assigned name of the agent.
-       * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name is the developer-assigned name of the agent.
-       * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name is the developer-assigned name of the agent.
-       * 
- * - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * Name is the developer-assigned name of the agent.
-       * 
- * - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * Name is the developer-assigned name of the agent.
-       * 
- * - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList supportedTaskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureSupportedTaskTypesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - supportedTaskTypes_ = new com.google.protobuf.LazyStringArrayList(supportedTaskTypes_); - bitField0_ |= 0x00000002; - } - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public com.google.protobuf.ProtocolStringList - getSupportedTaskTypesList() { - return supportedTaskTypes_.getUnmodifiableView(); - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public int getSupportedTaskTypesCount() { - return supportedTaskTypes_.size(); - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public java.lang.String getSupportedTaskTypes(int index) { - return supportedTaskTypes_.get(index); - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public com.google.protobuf.ByteString - getSupportedTaskTypesBytes(int index) { - return supportedTaskTypes_.getByteString(index); - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public Builder setSupportedTaskTypes( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSupportedTaskTypesIsMutable(); - supportedTaskTypes_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public Builder addSupportedTaskTypes( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSupportedTaskTypesIsMutable(); - supportedTaskTypes_.add(value); - onChanged(); - return this; - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public Builder addAllSupportedTaskTypes( - java.lang.Iterable values) { - ensureSupportedTaskTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedTaskTypes_); - onChanged(); - return this; - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public Builder clearSupportedTaskTypes() { - supportedTaskTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - *
-       * SupportedTaskTypes are the types of the tasks that the agent can handle.
-       * 
- * - * repeated string supported_task_types = 2; - */ - public Builder addSupportedTaskTypesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSupportedTaskTypesIsMutable(); - supportedTaskTypes_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Agent) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Agent) - private static final flyteidl.admin.AgentOuterClass.Agent DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.Agent(); - } - - public static flyteidl.admin.AgentOuterClass.Agent getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Agent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Agent(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.Agent getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetAgentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetAgentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The name of the agent.
-     * 
- * - * string name = 1; - */ - java.lang.String getName(); - /** - *
-     * The name of the agent.
-     * 
- * - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - } - /** - *
-   * A request to get an agent.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetAgentRequest} - */ - public static final class GetAgentRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetAgentRequest) - GetAgentRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetAgentRequest.newBuilder() to construct. - private GetAgentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetAgentRequest() { - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetAgentRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetAgentRequest.class, flyteidl.admin.AgentOuterClass.GetAgentRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - *
-     * The name of the agent.
-     * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * The name of the agent.
-     * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = 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 (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.GetAgentRequest)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetAgentRequest other = (flyteidl.admin.AgentOuterClass.GetAgentRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetAgentRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetAgentRequest 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 request to get an agent.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetAgentRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetAgentRequest) - flyteidl.admin.AgentOuterClass.GetAgentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetAgentRequest.class, flyteidl.admin.AgentOuterClass.GetAgentRequest.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetAgentRequest.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(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentRequest getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetAgentRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentRequest build() { - flyteidl.admin.AgentOuterClass.GetAgentRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentRequest buildPartial() { - flyteidl.admin.AgentOuterClass.GetAgentRequest result = new flyteidl.admin.AgentOuterClass.GetAgentRequest(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetAgentRequest) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetAgentRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetAgentRequest other) { - if (other == flyteidl.admin.AgentOuterClass.GetAgentRequest.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetAgentRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetAgentRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * The name of the agent.
-       * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The name of the agent.
-       * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The name of the agent.
-       * 
- * - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * The name of the agent.
-       * 
- * - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * The name of the agent.
-       * 
- * - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetAgentRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetAgentRequest) - private static final flyteidl.admin.AgentOuterClass.GetAgentRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetAgentRequest(); - } - - public static flyteidl.admin.AgentOuterClass.GetAgentRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAgentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAgentRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetAgentResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetAgentResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.Agent agent = 1; - */ - boolean hasAgent(); - /** - * .flyteidl.admin.Agent agent = 1; - */ - flyteidl.admin.AgentOuterClass.Agent getAgent(); - /** - * .flyteidl.admin.Agent agent = 1; - */ - flyteidl.admin.AgentOuterClass.AgentOrBuilder getAgentOrBuilder(); - } - /** - *
-   * A response containing an agent.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetAgentResponse} - */ - public static final class GetAgentResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetAgentResponse) - GetAgentResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetAgentResponse.newBuilder() to construct. - private GetAgentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetAgentResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetAgentResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.AgentOuterClass.Agent.Builder subBuilder = null; - if (agent_ != null) { - subBuilder = agent_.toBuilder(); - } - agent_ = input.readMessage(flyteidl.admin.AgentOuterClass.Agent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(agent_); - agent_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetAgentResponse.class, flyteidl.admin.AgentOuterClass.GetAgentResponse.Builder.class); - } - - public static final int AGENT_FIELD_NUMBER = 1; - private flyteidl.admin.AgentOuterClass.Agent agent_; - /** - * .flyteidl.admin.Agent agent = 1; - */ - public boolean hasAgent() { - return agent_ != null; - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent getAgent() { - return agent_ == null ? flyteidl.admin.AgentOuterClass.Agent.getDefaultInstance() : agent_; - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public flyteidl.admin.AgentOuterClass.AgentOrBuilder getAgentOrBuilder() { - return getAgent(); - } - - 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 (agent_ != null) { - output.writeMessage(1, getAgent()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (agent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAgent()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.GetAgentResponse)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetAgentResponse other = (flyteidl.admin.AgentOuterClass.GetAgentResponse) obj; - - if (hasAgent() != other.hasAgent()) return false; - if (hasAgent()) { - if (!getAgent() - .equals(other.getAgent())) 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 (hasAgent()) { - hash = (37 * hash) + AGENT_FIELD_NUMBER; - hash = (53 * hash) + getAgent().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetAgentResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetAgentResponse 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 response containing an agent.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetAgentResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetAgentResponse) - flyteidl.admin.AgentOuterClass.GetAgentResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetAgentResponse.class, flyteidl.admin.AgentOuterClass.GetAgentResponse.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetAgentResponse.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 (agentBuilder_ == null) { - agent_ = null; - } else { - agent_ = null; - agentBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetAgentResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentResponse getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetAgentResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentResponse build() { - flyteidl.admin.AgentOuterClass.GetAgentResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentResponse buildPartial() { - flyteidl.admin.AgentOuterClass.GetAgentResponse result = new flyteidl.admin.AgentOuterClass.GetAgentResponse(this); - if (agentBuilder_ == null) { - result.agent_ = agent_; - } else { - result.agent_ = agentBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetAgentResponse) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetAgentResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetAgentResponse other) { - if (other == flyteidl.admin.AgentOuterClass.GetAgentResponse.getDefaultInstance()) return this; - if (other.hasAgent()) { - mergeAgent(other.getAgent()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetAgentResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetAgentResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.AgentOuterClass.Agent agent_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Agent, flyteidl.admin.AgentOuterClass.Agent.Builder, flyteidl.admin.AgentOuterClass.AgentOrBuilder> agentBuilder_; - /** - * .flyteidl.admin.Agent agent = 1; - */ - public boolean hasAgent() { - return agentBuilder_ != null || agent_ != null; - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent getAgent() { - if (agentBuilder_ == null) { - return agent_ == null ? flyteidl.admin.AgentOuterClass.Agent.getDefaultInstance() : agent_; - } else { - return agentBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public Builder setAgent(flyteidl.admin.AgentOuterClass.Agent value) { - if (agentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - agent_ = value; - onChanged(); - } else { - agentBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public Builder setAgent( - flyteidl.admin.AgentOuterClass.Agent.Builder builderForValue) { - if (agentBuilder_ == null) { - agent_ = builderForValue.build(); - onChanged(); - } else { - agentBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public Builder mergeAgent(flyteidl.admin.AgentOuterClass.Agent value) { - if (agentBuilder_ == null) { - if (agent_ != null) { - agent_ = - flyteidl.admin.AgentOuterClass.Agent.newBuilder(agent_).mergeFrom(value).buildPartial(); - } else { - agent_ = value; - } - onChanged(); - } else { - agentBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public Builder clearAgent() { - if (agentBuilder_ == null) { - agent_ = null; - onChanged(); - } else { - agent_ = null; - agentBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent.Builder getAgentBuilder() { - - onChanged(); - return getAgentFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - public flyteidl.admin.AgentOuterClass.AgentOrBuilder getAgentOrBuilder() { - if (agentBuilder_ != null) { - return agentBuilder_.getMessageOrBuilder(); - } else { - return agent_ == null ? - flyteidl.admin.AgentOuterClass.Agent.getDefaultInstance() : agent_; - } - } - /** - * .flyteidl.admin.Agent agent = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Agent, flyteidl.admin.AgentOuterClass.Agent.Builder, flyteidl.admin.AgentOuterClass.AgentOrBuilder> - getAgentFieldBuilder() { - if (agentBuilder_ == null) { - agentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Agent, flyteidl.admin.AgentOuterClass.Agent.Builder, flyteidl.admin.AgentOuterClass.AgentOrBuilder>( - getAgent(), - getParentForChildren(), - isClean()); - agent_ = null; - } - return agentBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetAgentResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetAgentResponse) - private static final flyteidl.admin.AgentOuterClass.GetAgentResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetAgentResponse(); - } - - public static flyteidl.admin.AgentOuterClass.GetAgentResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAgentResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAgentResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetAgentResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListAgentsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ListAgentsRequest) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * A request to list all agents.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ListAgentsRequest} - */ - public static final class ListAgentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ListAgentsRequest) - ListAgentsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListAgentsRequest.newBuilder() to construct. - private ListAgentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListAgentsRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListAgentsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.ListAgentsRequest.class, flyteidl.admin.AgentOuterClass.ListAgentsRequest.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.ListAgentsRequest)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.ListAgentsRequest other = (flyteidl.admin.AgentOuterClass.ListAgentsRequest) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.ListAgentsRequest 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 request to list all agents.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ListAgentsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ListAgentsRequest) - flyteidl.admin.AgentOuterClass.ListAgentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.ListAgentsRequest.class, flyteidl.admin.AgentOuterClass.ListAgentsRequest.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.ListAgentsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsRequest getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.ListAgentsRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsRequest build() { - flyteidl.admin.AgentOuterClass.ListAgentsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsRequest buildPartial() { - flyteidl.admin.AgentOuterClass.ListAgentsRequest result = new flyteidl.admin.AgentOuterClass.ListAgentsRequest(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.ListAgentsRequest) { - return mergeFrom((flyteidl.admin.AgentOuterClass.ListAgentsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.ListAgentsRequest other) { - if (other == flyteidl.admin.AgentOuterClass.ListAgentsRequest.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.ListAgentsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.ListAgentsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ListAgentsRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListAgentsRequest) - private static final flyteidl.admin.AgentOuterClass.ListAgentsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.ListAgentsRequest(); - } - - public static flyteidl.admin.AgentOuterClass.ListAgentsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAgentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAgentsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListAgentsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ListAgentsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - java.util.List - getAgentsList(); - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - flyteidl.admin.AgentOuterClass.Agent getAgents(int index); - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - int getAgentsCount(); - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - java.util.List - getAgentsOrBuilderList(); - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - flyteidl.admin.AgentOuterClass.AgentOrBuilder getAgentsOrBuilder( - int index); - } - /** - *
-   * A response containing a list of agents.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ListAgentsResponse} - */ - public static final class ListAgentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ListAgentsResponse) - ListAgentsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListAgentsResponse.newBuilder() to construct. - private ListAgentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListAgentsResponse() { - agents_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListAgentsResponse( - 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)) { - agents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - agents_.add( - input.readMessage(flyteidl.admin.AgentOuterClass.Agent.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)) { - agents_ = java.util.Collections.unmodifiableList(agents_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.ListAgentsResponse.class, flyteidl.admin.AgentOuterClass.ListAgentsResponse.Builder.class); - } - - public static final int AGENTS_FIELD_NUMBER = 1; - private java.util.List agents_; - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public java.util.List getAgentsList() { - return agents_; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public java.util.List - getAgentsOrBuilderList() { - return agents_; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public int getAgentsCount() { - return agents_.size(); - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent getAgents(int index) { - return agents_.get(index); - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public flyteidl.admin.AgentOuterClass.AgentOrBuilder getAgentsOrBuilder( - int index) { - return agents_.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 < agents_.size(); i++) { - output.writeMessage(1, agents_.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 < agents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, agents_.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.admin.AgentOuterClass.ListAgentsResponse)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.ListAgentsResponse other = (flyteidl.admin.AgentOuterClass.ListAgentsResponse) obj; - - if (!getAgentsList() - .equals(other.getAgentsList())) 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 (getAgentsCount() > 0) { - hash = (37 * hash) + AGENTS_FIELD_NUMBER; - hash = (53 * hash) + getAgentsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.ListAgentsResponse 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 response containing a list of agents.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ListAgentsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ListAgentsResponse) - flyteidl.admin.AgentOuterClass.ListAgentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.ListAgentsResponse.class, flyteidl.admin.AgentOuterClass.ListAgentsResponse.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.ListAgentsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getAgentsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (agentsBuilder_ == null) { - agents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - agentsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_ListAgentsResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsResponse getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.ListAgentsResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsResponse build() { - flyteidl.admin.AgentOuterClass.ListAgentsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsResponse buildPartial() { - flyteidl.admin.AgentOuterClass.ListAgentsResponse result = new flyteidl.admin.AgentOuterClass.ListAgentsResponse(this); - int from_bitField0_ = bitField0_; - if (agentsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - agents_ = java.util.Collections.unmodifiableList(agents_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.agents_ = agents_; - } else { - result.agents_ = agentsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.ListAgentsResponse) { - return mergeFrom((flyteidl.admin.AgentOuterClass.ListAgentsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.ListAgentsResponse other) { - if (other == flyteidl.admin.AgentOuterClass.ListAgentsResponse.getDefaultInstance()) return this; - if (agentsBuilder_ == null) { - if (!other.agents_.isEmpty()) { - if (agents_.isEmpty()) { - agents_ = other.agents_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureAgentsIsMutable(); - agents_.addAll(other.agents_); - } - onChanged(); - } - } else { - if (!other.agents_.isEmpty()) { - if (agentsBuilder_.isEmpty()) { - agentsBuilder_.dispose(); - agentsBuilder_ = null; - agents_ = other.agents_; - bitField0_ = (bitField0_ & ~0x00000001); - agentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAgentsFieldBuilder() : null; - } else { - agentsBuilder_.addAllMessages(other.agents_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.ListAgentsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.ListAgentsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List agents_ = - java.util.Collections.emptyList(); - private void ensureAgentsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - agents_ = new java.util.ArrayList(agents_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Agent, flyteidl.admin.AgentOuterClass.Agent.Builder, flyteidl.admin.AgentOuterClass.AgentOrBuilder> agentsBuilder_; - - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public java.util.List getAgentsList() { - if (agentsBuilder_ == null) { - return java.util.Collections.unmodifiableList(agents_); - } else { - return agentsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public int getAgentsCount() { - if (agentsBuilder_ == null) { - return agents_.size(); - } else { - return agentsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent getAgents(int index) { - if (agentsBuilder_ == null) { - return agents_.get(index); - } else { - return agentsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder setAgents( - int index, flyteidl.admin.AgentOuterClass.Agent value) { - if (agentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAgentsIsMutable(); - agents_.set(index, value); - onChanged(); - } else { - agentsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder setAgents( - int index, flyteidl.admin.AgentOuterClass.Agent.Builder builderForValue) { - if (agentsBuilder_ == null) { - ensureAgentsIsMutable(); - agents_.set(index, builderForValue.build()); - onChanged(); - } else { - agentsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder addAgents(flyteidl.admin.AgentOuterClass.Agent value) { - if (agentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAgentsIsMutable(); - agents_.add(value); - onChanged(); - } else { - agentsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder addAgents( - int index, flyteidl.admin.AgentOuterClass.Agent value) { - if (agentsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAgentsIsMutable(); - agents_.add(index, value); - onChanged(); - } else { - agentsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder addAgents( - flyteidl.admin.AgentOuterClass.Agent.Builder builderForValue) { - if (agentsBuilder_ == null) { - ensureAgentsIsMutable(); - agents_.add(builderForValue.build()); - onChanged(); - } else { - agentsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder addAgents( - int index, flyteidl.admin.AgentOuterClass.Agent.Builder builderForValue) { - if (agentsBuilder_ == null) { - ensureAgentsIsMutable(); - agents_.add(index, builderForValue.build()); - onChanged(); - } else { - agentsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder addAllAgents( - java.lang.Iterable values) { - if (agentsBuilder_ == null) { - ensureAgentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, agents_); - onChanged(); - } else { - agentsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder clearAgents() { - if (agentsBuilder_ == null) { - agents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - agentsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public Builder removeAgents(int index) { - if (agentsBuilder_ == null) { - ensureAgentsIsMutable(); - agents_.remove(index); - onChanged(); - } else { - agentsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent.Builder getAgentsBuilder( - int index) { - return getAgentsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public flyteidl.admin.AgentOuterClass.AgentOrBuilder getAgentsOrBuilder( - int index) { - if (agentsBuilder_ == null) { - return agents_.get(index); } else { - return agentsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public java.util.List - getAgentsOrBuilderList() { - if (agentsBuilder_ != null) { - return agentsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(agents_); - } - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent.Builder addAgentsBuilder() { - return getAgentsFieldBuilder().addBuilder( - flyteidl.admin.AgentOuterClass.Agent.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public flyteidl.admin.AgentOuterClass.Agent.Builder addAgentsBuilder( - int index) { - return getAgentsFieldBuilder().addBuilder( - index, flyteidl.admin.AgentOuterClass.Agent.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Agent agents = 1; - */ - public java.util.List - getAgentsBuilderList() { - return getAgentsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Agent, flyteidl.admin.AgentOuterClass.Agent.Builder, flyteidl.admin.AgentOuterClass.AgentOrBuilder> - getAgentsFieldBuilder() { - if (agentsBuilder_ == null) { - agentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.AgentOuterClass.Agent, flyteidl.admin.AgentOuterClass.Agent.Builder, flyteidl.admin.AgentOuterClass.AgentOrBuilder>( - agents_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - agents_ = null; - } - return agentsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ListAgentsResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListAgentsResponse) - private static final flyteidl.admin.AgentOuterClass.ListAgentsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.ListAgentsResponse(); - } - - public static flyteidl.admin.AgentOuterClass.ListAgentsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAgentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAgentsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.ListAgentsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetTaskMetricsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetTaskMetricsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-     * 
- * - * bytes resource_meta = 2; - */ - com.google.protobuf.ByteString getResourceMeta(); - - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - java.util.List - getQueriesList(); - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - int getQueriesCount(); - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - java.lang.String getQueries(int index); - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - com.google.protobuf.ByteString - getQueriesBytes(int index); - - /** - *
-     * Start timestamp, inclusive.
-     * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - boolean hasStartTime(); - /** - *
-     * Start timestamp, inclusive.
-     * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - com.google.protobuf.Timestamp getStartTime(); - /** - *
-     * Start timestamp, inclusive.
-     * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); - - /** - *
-     * End timestamp, inclusive..
-     * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - boolean hasEndTime(); - /** - *
-     * End timestamp, inclusive..
-     * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - com.google.protobuf.Timestamp getEndTime(); - /** - *
-     * End timestamp, inclusive..
-     * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); - - /** - *
-     * Query resolution step width in duration format or float number of seconds.
-     * 
- * - * .google.protobuf.Duration step = 6; - */ - boolean hasStep(); - /** - *
-     * Query resolution step width in duration format or float number of seconds.
-     * 
- * - * .google.protobuf.Duration step = 6; - */ - com.google.protobuf.Duration getStep(); - /** - *
-     * Query resolution step width in duration format or float number of seconds.
-     * 
- * - * .google.protobuf.Duration step = 6; - */ - com.google.protobuf.DurationOrBuilder getStepOrBuilder(); - } - /** - *
-   * A request to get the metrics from a task execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskMetricsRequest} - */ - public static final class GetTaskMetricsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetTaskMetricsRequest) - GetTaskMetricsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetTaskMetricsRequest.newBuilder() to construct. - private GetTaskMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetTaskMetricsRequest() { - taskType_ = ""; - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetTaskMetricsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 18: { - - resourceMeta_ = input.readBytes(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - queries_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - queries_.add(s); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (step_ != null) { - subBuilder = step_.toBuilder(); - } - step_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(step_); - step_ = 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 { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - queries_ = queries_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest.class, flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest.Builder.class); - } - - private int bitField0_; - public static final int TASK_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_META_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString resourceMeta_; - /** - *
-     * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-     * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - - public static final int QUERIES_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList queries_; - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { - return queries_; - } - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - public int getQueriesCount() { - return queries_.size(); - } - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - public java.lang.String getQueries(int index) { - return queries_.get(index); - } - /** - *
-     * The metrics to query. If empty, will return a default set of metrics.
-     * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-     * 
- * - * repeated string queries = 3; - */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { - return queries_.getByteString(index); - } - - public static final int START_TIME_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp startTime_; - /** - *
-     * Start timestamp, inclusive.
-     * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public boolean hasStartTime() { - return startTime_ != null; - } - /** - *
-     * Start timestamp, inclusive.
-     * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public com.google.protobuf.Timestamp getStartTime() { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } - /** - *
-     * Start timestamp, inclusive.
-     * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { - return getStartTime(); - } - - public static final int END_TIME_FIELD_NUMBER = 5; - private com.google.protobuf.Timestamp endTime_; - /** - *
-     * End timestamp, inclusive..
-     * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public boolean hasEndTime() { - return endTime_ != null; - } - /** - *
-     * End timestamp, inclusive..
-     * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public com.google.protobuf.Timestamp getEndTime() { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - /** - *
-     * End timestamp, inclusive..
-     * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - return getEndTime(); - } - - public static final int STEP_FIELD_NUMBER = 6; - private com.google.protobuf.Duration step_; - /** - *
-     * Query resolution step width in duration format or float number of seconds.
-     * 
- * - * .google.protobuf.Duration step = 6; - */ - public boolean hasStep() { - return step_ != null; - } - /** - *
-     * Query resolution step width in duration format or float number of seconds.
-     * 
- * - * .google.protobuf.Duration step = 6; - */ - public com.google.protobuf.Duration getStep() { - return step_ == null ? com.google.protobuf.Duration.getDefaultInstance() : step_; - } - /** - *
-     * Query resolution step width in duration format or float number of seconds.
-     * 
- * - * .google.protobuf.Duration step = 6; - */ - public com.google.protobuf.DurationOrBuilder getStepOrBuilder() { - return getStep(); - } - - 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 (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - output.writeBytes(2, resourceMeta_); - } - for (int i = 0; i < queries_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, queries_.getRaw(i)); - } - if (startTime_ != null) { - output.writeMessage(4, getStartTime()); - } - if (endTime_ != null) { - output.writeMessage(5, getEndTime()); - } - if (step_ != null) { - output.writeMessage(6, getStep()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, resourceMeta_); - } - { - int dataSize = 0; - for (int i = 0; i < queries_.size(); i++) { - dataSize += computeStringSizeNoTag(queries_.getRaw(i)); - } - size += dataSize; - size += 1 * getQueriesList().size(); - } - if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStartTime()); - } - if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEndTime()); - } - if (step_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getStep()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest other = (flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest) obj; - - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (!getResourceMeta() - .equals(other.getResourceMeta())) return false; - if (!getQueriesList() - .equals(other.getQueriesList())) return false; - if (hasStartTime() != other.hasStartTime()) return false; - if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; - } - if (hasEndTime() != other.hasEndTime()) return false; - if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (hasStep() != other.hasStep()) return false; - if (hasStep()) { - if (!getStep() - .equals(other.getStep())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - hash = (37 * hash) + RESOURCE_META_FIELD_NUMBER; - hash = (53 * hash) + getResourceMeta().hashCode(); - if (getQueriesCount() > 0) { - hash = (37 * hash) + QUERIES_FIELD_NUMBER; - hash = (53 * hash) + getQueriesList().hashCode(); - } - if (hasStartTime()) { - hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + getStartTime().hashCode(); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + getEndTime().hashCode(); - } - if (hasStep()) { - hash = (37 * hash) + STEP_FIELD_NUMBER; - hash = (53 * hash) + getStep().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest 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 request to get the metrics from a task execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskMetricsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetTaskMetricsRequest) - flyteidl.admin.AgentOuterClass.GetTaskMetricsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest.class, flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest.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(); - taskType_ = ""; - - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - - queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - if (startTimeBuilder_ == null) { - startTime_ = null; - } else { - startTime_ = null; - startTimeBuilder_ = null; - } - if (endTimeBuilder_ == null) { - endTime_ = null; - } else { - endTime_ = null; - endTimeBuilder_ = null; - } - if (stepBuilder_ == null) { - step_ = null; - } else { - step_ = null; - stepBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest build() { - flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest buildPartial() { - flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest result = new flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.taskType_ = taskType_; - result.resourceMeta_ = resourceMeta_; - if (((bitField0_ & 0x00000004) != 0)) { - queries_ = queries_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.queries_ = queries_; - if (startTimeBuilder_ == null) { - result.startTime_ = startTime_; - } else { - result.startTime_ = startTimeBuilder_.build(); - } - if (endTimeBuilder_ == null) { - result.endTime_ = endTime_; - } else { - result.endTime_ = endTimeBuilder_.build(); - } - if (stepBuilder_ == null) { - result.step_ = step_; - } else { - result.step_ = stepBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest other) { - if (other == flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest.getDefaultInstance()) return this; - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (other.getResourceMeta() != com.google.protobuf.ByteString.EMPTY) { - setResourceMeta(other.getResourceMeta()); - } - if (!other.queries_.isEmpty()) { - if (queries_.isEmpty()) { - queries_ = other.queries_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureQueriesIsMutable(); - queries_.addAll(other.queries_); - } - onChanged(); - } - if (other.hasStartTime()) { - mergeStartTime(other.getStartTime()); - } - if (other.hasEndTime()) { - mergeEndTime(other.getEndTime()); - } - if (other.hasStep()) { - mergeStep(other.getStep()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - /** - *
-       * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-       * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - /** - *
-       * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder setResourceMeta(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceMeta_ = value; - onChanged(); - return this; - } - /** - *
-       * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder clearResourceMeta() { - - resourceMeta_ = getDefaultInstance().getResourceMeta(); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureQueriesIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - queries_ = new com.google.protobuf.LazyStringArrayList(queries_); - bitField0_ |= 0x00000004; - } - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { - return queries_.getUnmodifiableView(); - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public int getQueriesCount() { - return queries_.size(); - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public java.lang.String getQueries(int index) { - return queries_.get(index); - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { - return queries_.getByteString(index); - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public Builder setQueries( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); - queries_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public Builder addQueries( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); - queries_.add(value); - onChanged(); - return this; - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public Builder addAllQueries( - java.lang.Iterable values) { - ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queries_); - onChanged(); - return this; - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public Builder clearQueries() { - queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - *
-       * The metrics to query. If empty, will return a default set of metrics.
-       * e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
-       * 
- * - * repeated string queries = 3; - */ - public Builder addQueriesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureQueriesIsMutable(); - queries_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public boolean hasStartTime() { - return startTimeBuilder_ != null || startTime_ != null; - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public com.google.protobuf.Timestamp getStartTime() { - if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } else { - return startTimeBuilder_.getMessage(); - } - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public Builder setStartTime(com.google.protobuf.Timestamp value) { - if (startTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - startTime_ = value; - onChanged(); - } else { - startTimeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (startTimeBuilder_ == null) { - startTime_ = builderForValue.build(); - onChanged(); - } else { - startTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public Builder mergeStartTime(com.google.protobuf.Timestamp value) { - if (startTimeBuilder_ == null) { - if (startTime_ != null) { - startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); - } else { - startTime_ = value; - } - onChanged(); - } else { - startTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public Builder clearStartTime() { - if (startTimeBuilder_ == null) { - startTime_ = null; - onChanged(); - } else { - startTime_ = null; - startTimeBuilder_ = null; - } - - return this; - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - - onChanged(); - return getStartTimeFieldBuilder().getBuilder(); - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { - if (startTimeBuilder_ != null) { - return startTimeBuilder_.getMessageOrBuilder(); - } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } - } - /** - *
-       * Start timestamp, inclusive.
-       * 
- * - * .google.protobuf.Timestamp start_time = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartTimeFieldBuilder() { - if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); - startTime_ = null; - } - return startTimeBuilder_; - } - - private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public boolean hasEndTime() { - return endTimeBuilder_ != null || endTime_ != null; - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public com.google.protobuf.Timestamp getEndTime() { - if (endTimeBuilder_ == null) { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } else { - return endTimeBuilder_.getMessage(); - } - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public Builder setEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - endTime_ = value; - onChanged(); - } else { - endTimeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (endTimeBuilder_ == null) { - endTime_ = builderForValue.build(); - onChanged(); - } else { - endTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public Builder mergeEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (endTime_ != null) { - endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); - } else { - endTime_ = value; - } - onChanged(); - } else { - endTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public Builder clearEndTime() { - if (endTimeBuilder_ == null) { - endTime_ = null; - onChanged(); - } else { - endTime_ = null; - endTimeBuilder_ = null; - } - - return this; - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - - onChanged(); - return getEndTimeFieldBuilder().getBuilder(); - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - if (endTimeBuilder_ != null) { - return endTimeBuilder_.getMessageOrBuilder(); - } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - } - /** - *
-       * End timestamp, inclusive..
-       * 
- * - * .google.protobuf.Timestamp end_time = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getEndTimeFieldBuilder() { - if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); - endTime_ = null; - } - return endTimeBuilder_; - } - - private com.google.protobuf.Duration step_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> stepBuilder_; - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public boolean hasStep() { - return stepBuilder_ != null || step_ != null; - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public com.google.protobuf.Duration getStep() { - if (stepBuilder_ == null) { - return step_ == null ? com.google.protobuf.Duration.getDefaultInstance() : step_; - } else { - return stepBuilder_.getMessage(); - } - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public Builder setStep(com.google.protobuf.Duration value) { - if (stepBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - step_ = value; - onChanged(); - } else { - stepBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public Builder setStep( - com.google.protobuf.Duration.Builder builderForValue) { - if (stepBuilder_ == null) { - step_ = builderForValue.build(); - onChanged(); - } else { - stepBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public Builder mergeStep(com.google.protobuf.Duration value) { - if (stepBuilder_ == null) { - if (step_ != null) { - step_ = - com.google.protobuf.Duration.newBuilder(step_).mergeFrom(value).buildPartial(); - } else { - step_ = value; - } - onChanged(); - } else { - stepBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public Builder clearStep() { - if (stepBuilder_ == null) { - step_ = null; - onChanged(); - } else { - step_ = null; - stepBuilder_ = null; - } - - return this; - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public com.google.protobuf.Duration.Builder getStepBuilder() { - - onChanged(); - return getStepFieldBuilder().getBuilder(); - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - public com.google.protobuf.DurationOrBuilder getStepOrBuilder() { - if (stepBuilder_ != null) { - return stepBuilder_.getMessageOrBuilder(); - } else { - return step_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : step_; - } - } - /** - *
-       * Query resolution step width in duration format or float number of seconds.
-       * 
- * - * .google.protobuf.Duration step = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getStepFieldBuilder() { - if (stepBuilder_ == null) { - stepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getStep(), - getParentForChildren(), - isClean()); - step_ = null; - } - return stepBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetTaskMetricsRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskMetricsRequest) - private static final flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest(); - } - - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskMetricsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTaskMetricsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetTaskMetricsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetTaskMetricsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - java.util.List - getResultsList(); - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - flyteidl.core.Metrics.ExecutionMetricResult getResults(int index); - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - int getResultsCount(); - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - java.util.List - getResultsOrBuilderList(); - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - flyteidl.core.Metrics.ExecutionMetricResultOrBuilder getResultsOrBuilder( - int index); - } - /** - *
-   * A response containing a list of metrics for a task execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskMetricsResponse} - */ - public static final class GetTaskMetricsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetTaskMetricsResponse) - GetTaskMetricsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetTaskMetricsResponse.newBuilder() to construct. - private GetTaskMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetTaskMetricsResponse() { - results_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetTaskMetricsResponse( - 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)) { - results_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - results_.add( - input.readMessage(flyteidl.core.Metrics.ExecutionMetricResult.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)) { - results_ = java.util.Collections.unmodifiableList(results_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse.class, flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse.Builder.class); - } - - public static final int RESULTS_FIELD_NUMBER = 1; - private java.util.List results_; - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public java.util.List getResultsList() { - return results_; - } - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public java.util.List - getResultsOrBuilderList() { - return results_; - } - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public int getResultsCount() { - return results_.size(); - } - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public flyteidl.core.Metrics.ExecutionMetricResult getResults(int index) { - return results_.get(index); - } - /** - *
-     * The execution metric results.
-     * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public flyteidl.core.Metrics.ExecutionMetricResultOrBuilder getResultsOrBuilder( - int index) { - return results_.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 < results_.size(); i++) { - output.writeMessage(1, results_.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 < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.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.admin.AgentOuterClass.GetTaskMetricsResponse)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse other = (flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse) obj; - - if (!getResultsList() - .equals(other.getResultsList())) 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 (getResultsCount() > 0) { - hash = (37 * hash) + RESULTS_FIELD_NUMBER; - hash = (53 * hash) + getResultsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse 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 response containing a list of metrics for a task execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskMetricsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetTaskMetricsResponse) - flyteidl.admin.AgentOuterClass.GetTaskMetricsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse.class, flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getResultsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (resultsBuilder_ == null) { - results_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - resultsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskMetricsResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse build() { - flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse buildPartial() { - flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse result = new flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse(this); - int from_bitField0_ = bitField0_; - if (resultsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - results_ = java.util.Collections.unmodifiableList(results_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.results_ = results_; - } else { - result.results_ = resultsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse other) { - if (other == flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse.getDefaultInstance()) return this; - if (resultsBuilder_ == null) { - if (!other.results_.isEmpty()) { - if (results_.isEmpty()) { - results_ = other.results_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureResultsIsMutable(); - results_.addAll(other.results_); - } - onChanged(); - } - } else { - if (!other.results_.isEmpty()) { - if (resultsBuilder_.isEmpty()) { - resultsBuilder_.dispose(); - resultsBuilder_ = null; - results_ = other.results_; - bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResultsFieldBuilder() : null; - } else { - resultsBuilder_.addAllMessages(other.results_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List results_ = - java.util.Collections.emptyList(); - private void ensureResultsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(results_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Metrics.ExecutionMetricResult, flyteidl.core.Metrics.ExecutionMetricResult.Builder, flyteidl.core.Metrics.ExecutionMetricResultOrBuilder> resultsBuilder_; - - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public java.util.List getResultsList() { - if (resultsBuilder_ == null) { - return java.util.Collections.unmodifiableList(results_); - } else { - return resultsBuilder_.getMessageList(); - } - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public int getResultsCount() { - if (resultsBuilder_ == null) { - return results_.size(); - } else { - return resultsBuilder_.getCount(); - } - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public flyteidl.core.Metrics.ExecutionMetricResult getResults(int index) { - if (resultsBuilder_ == null) { - return results_.get(index); - } else { - return resultsBuilder_.getMessage(index); - } - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder setResults( - int index, flyteidl.core.Metrics.ExecutionMetricResult value) { - if (resultsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.set(index, value); - onChanged(); - } else { - resultsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder setResults( - int index, flyteidl.core.Metrics.ExecutionMetricResult.Builder builderForValue) { - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.set(index, builderForValue.build()); - onChanged(); - } else { - resultsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder addResults(flyteidl.core.Metrics.ExecutionMetricResult value) { - if (resultsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.add(value); - onChanged(); - } else { - resultsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder addResults( - int index, flyteidl.core.Metrics.ExecutionMetricResult value) { - if (resultsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.add(index, value); - onChanged(); - } else { - resultsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder addResults( - flyteidl.core.Metrics.ExecutionMetricResult.Builder builderForValue) { - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(builderForValue.build()); - onChanged(); - } else { - resultsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder addResults( - int index, flyteidl.core.Metrics.ExecutionMetricResult.Builder builderForValue) { - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.add(index, builderForValue.build()); - onChanged(); - } else { - resultsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder addAllResults( - java.lang.Iterable values) { - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, results_); - onChanged(); - } else { - resultsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder clearResults() { - if (resultsBuilder_ == null) { - results_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - resultsBuilder_.clear(); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public Builder removeResults(int index) { - if (resultsBuilder_ == null) { - ensureResultsIsMutable(); - results_.remove(index); - onChanged(); - } else { - resultsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public flyteidl.core.Metrics.ExecutionMetricResult.Builder getResultsBuilder( - int index) { - return getResultsFieldBuilder().getBuilder(index); - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public flyteidl.core.Metrics.ExecutionMetricResultOrBuilder getResultsOrBuilder( - int index) { - if (resultsBuilder_ == null) { - return results_.get(index); } else { - return resultsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public java.util.List - getResultsOrBuilderList() { - if (resultsBuilder_ != null) { - return resultsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(results_); - } - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public flyteidl.core.Metrics.ExecutionMetricResult.Builder addResultsBuilder() { - return getResultsFieldBuilder().addBuilder( - flyteidl.core.Metrics.ExecutionMetricResult.getDefaultInstance()); - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public flyteidl.core.Metrics.ExecutionMetricResult.Builder addResultsBuilder( - int index) { - return getResultsFieldBuilder().addBuilder( - index, flyteidl.core.Metrics.ExecutionMetricResult.getDefaultInstance()); - } - /** - *
-       * The execution metric results.
-       * 
- * - * repeated .flyteidl.core.ExecutionMetricResult results = 1; - */ - public java.util.List - getResultsBuilderList() { - return getResultsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Metrics.ExecutionMetricResult, flyteidl.core.Metrics.ExecutionMetricResult.Builder, flyteidl.core.Metrics.ExecutionMetricResultOrBuilder> - getResultsFieldBuilder() { - if (resultsBuilder_ == null) { - resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Metrics.ExecutionMetricResult, flyteidl.core.Metrics.ExecutionMetricResult.Builder, flyteidl.core.Metrics.ExecutionMetricResultOrBuilder>( - results_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - results_ = null; - } - return resultsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetTaskMetricsResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskMetricsResponse) - private static final flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse(); - } - - public static flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskMetricsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTaskMetricsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskMetricsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetTaskLogsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetTaskLogsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-     * 
- * - * bytes resource_meta = 2; - */ - com.google.protobuf.ByteString getResourceMeta(); - - /** - *
-     * Number of lines to return.
-     * 
- * - * uint64 lines = 3; - */ - long getLines(); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 4; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 4; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * A request to get the log from a task execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskLogsRequest} - */ - public static final class GetTaskLogsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetTaskLogsRequest) - GetTaskLogsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetTaskLogsRequest.newBuilder() to construct. - private GetTaskLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetTaskLogsRequest() { - taskType_ = ""; - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetTaskLogsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 18: { - - resourceMeta_ = input.readBytes(); - break; - } - case 24: { - - lines_ = input.readUInt64(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskLogsRequest.class, flyteidl.admin.AgentOuterClass.GetTaskLogsRequest.Builder.class); - } - - public static final int TASK_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_META_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString resourceMeta_; - /** - *
-     * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-     * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - - public static final int LINES_FIELD_NUMBER = 3; - private long lines_; - /** - *
-     * Number of lines to return.
-     * 
- * - * uint64 lines = 3; - */ - public long getLines() { - return lines_; - } - - public static final int TOKEN_FIELD_NUMBER = 4; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - output.writeBytes(2, resourceMeta_); - } - if (lines_ != 0L) { - output.writeUInt64(3, lines_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); - } - if (!resourceMeta_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, resourceMeta_); - } - if (lines_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(3, lines_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.GetTaskLogsRequest)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetTaskLogsRequest other = (flyteidl.admin.AgentOuterClass.GetTaskLogsRequest) obj; - - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (!getResourceMeta() - .equals(other.getResourceMeta())) return false; - if (getLines() - != other.getLines()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - hash = (37 * hash) + RESOURCE_META_FIELD_NUMBER; - hash = (53 * hash) + getResourceMeta().hashCode(); - hash = (37 * hash) + LINES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLines()); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetTaskLogsRequest 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 request to get the log from a task execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskLogsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetTaskLogsRequest) - flyteidl.admin.AgentOuterClass.GetTaskLogsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskLogsRequest.class, flyteidl.admin.AgentOuterClass.GetTaskLogsRequest.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetTaskLogsRequest.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(); - taskType_ = ""; - - resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - - lines_ = 0L; - - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsRequest getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetTaskLogsRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsRequest build() { - flyteidl.admin.AgentOuterClass.GetTaskLogsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsRequest buildPartial() { - flyteidl.admin.AgentOuterClass.GetTaskLogsRequest result = new flyteidl.admin.AgentOuterClass.GetTaskLogsRequest(this); - result.taskType_ = taskType_; - result.resourceMeta_ = resourceMeta_; - result.lines_ = lines_; - result.token_ = token_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetTaskLogsRequest) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetTaskLogsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetTaskLogsRequest other) { - if (other == flyteidl.admin.AgentOuterClass.GetTaskLogsRequest.getDefaultInstance()) return this; - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (other.getResourceMeta() != com.google.protobuf.ByteString.EMPTY) { - setResourceMeta(other.getResourceMeta()); - } - if (other.getLines() != 0L) { - setLines(other.getLines()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetTaskLogsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetTaskLogsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString resourceMeta_ = com.google.protobuf.ByteString.EMPTY; - /** - *
-       * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-       * 
- * - * bytes resource_meta = 2; - */ - public com.google.protobuf.ByteString getResourceMeta() { - return resourceMeta_; - } - /** - *
-       * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder setResourceMeta(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceMeta_ = value; - onChanged(); - return this; - } - /** - *
-       * Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
-       * 
- * - * bytes resource_meta = 2; - */ - public Builder clearResourceMeta() { - - resourceMeta_ = getDefaultInstance().getResourceMeta(); - onChanged(); - return this; - } - - private long lines_ ; - /** - *
-       * Number of lines to return.
-       * 
- * - * uint64 lines = 3; - */ - public long getLines() { - return lines_; - } - /** - *
-       * Number of lines to return.
-       * 
- * - * uint64 lines = 3; - */ - public Builder setLines(long value) { - - lines_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of lines to return.
-       * 
- * - * uint64 lines = 3; - */ - public Builder clearLines() { - - lines_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 4; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 4; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 4; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetTaskLogsRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskLogsRequest) - private static final flyteidl.admin.AgentOuterClass.GetTaskLogsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetTaskLogsRequest(); - } - - public static flyteidl.admin.AgentOuterClass.GetTaskLogsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskLogsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTaskLogsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetTaskLogsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetTaskLogsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - java.util.List - getResultsList(); - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - int getResultsCount(); - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - java.lang.String getResults(int index); - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - com.google.protobuf.ByteString - getResultsBytes(int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * A response containing the logs for a task execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskLogsResponse} - */ - public static final class GetTaskLogsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetTaskLogsResponse) - GetTaskLogsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetTaskLogsResponse.newBuilder() to construct. - private GetTaskLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetTaskLogsResponse() { - results_ = com.google.protobuf.LazyStringArrayList.EMPTY; - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetTaskLogsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - results_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = results_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskLogsResponse.class, flyteidl.admin.AgentOuterClass.GetTaskLogsResponse.Builder.class); - } - - private int bitField0_; - public static final int RESULTS_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList results_; - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - public com.google.protobuf.ProtocolStringList - getResultsList() { - return results_; - } - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - public int getResultsCount() { - return results_.size(); - } - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - public java.lang.String getResults(int index) { - return results_.get(index); - } - /** - *
-     * The execution log results.
-     * 
- * - * repeated string results = 1; - */ - public com.google.protobuf.ByteString - getResultsBytes(int index) { - return results_.getByteString(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < results_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, results_.getRaw(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < results_.size(); i++) { - dataSize += computeStringSizeNoTag(results_.getRaw(i)); - } - size += dataSize; - size += 1 * getResultsList().size(); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.AgentOuterClass.GetTaskLogsResponse)) { - return super.equals(obj); - } - flyteidl.admin.AgentOuterClass.GetTaskLogsResponse other = (flyteidl.admin.AgentOuterClass.GetTaskLogsResponse) obj; - - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getResultsCount() > 0) { - hash = (37 * hash) + RESULTS_FIELD_NUMBER; - hash = (53 * hash) + getResultsList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.AgentOuterClass.GetTaskLogsResponse 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 response containing the logs for a task execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetTaskLogsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetTaskLogsResponse) - flyteidl.admin.AgentOuterClass.GetTaskLogsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.AgentOuterClass.GetTaskLogsResponse.class, flyteidl.admin.AgentOuterClass.GetTaskLogsResponse.Builder.class); - } - - // Construct using flyteidl.admin.AgentOuterClass.GetTaskLogsResponse.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(); - results_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.AgentOuterClass.internal_static_flyteidl_admin_GetTaskLogsResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsResponse getDefaultInstanceForType() { - return flyteidl.admin.AgentOuterClass.GetTaskLogsResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsResponse build() { - flyteidl.admin.AgentOuterClass.GetTaskLogsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsResponse buildPartial() { - flyteidl.admin.AgentOuterClass.GetTaskLogsResponse result = new flyteidl.admin.AgentOuterClass.GetTaskLogsResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - results_ = results_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.results_ = results_; - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.AgentOuterClass.GetTaskLogsResponse) { - return mergeFrom((flyteidl.admin.AgentOuterClass.GetTaskLogsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.AgentOuterClass.GetTaskLogsResponse other) { - if (other == flyteidl.admin.AgentOuterClass.GetTaskLogsResponse.getDefaultInstance()) return this; - if (!other.results_.isEmpty()) { - if (results_.isEmpty()) { - results_ = other.results_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureResultsIsMutable(); - results_.addAll(other.results_); - } - onChanged(); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.AgentOuterClass.GetTaskLogsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.AgentOuterClass.GetTaskLogsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList results_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureResultsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - results_ = new com.google.protobuf.LazyStringArrayList(results_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public com.google.protobuf.ProtocolStringList - getResultsList() { - return results_.getUnmodifiableView(); - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public int getResultsCount() { - return results_.size(); - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public java.lang.String getResults(int index) { - return results_.get(index); - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public com.google.protobuf.ByteString - getResultsBytes(int index) { - return results_.getByteString(index); - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public Builder setResults( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public Builder addResults( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResultsIsMutable(); - results_.add(value); - onChanged(); - return this; - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public Builder addAllResults( - java.lang.Iterable values) { - ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, results_); - onChanged(); - return this; - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public Builder clearResults() { - results_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * The execution log results.
-       * 
- * - * repeated string results = 1; - */ - public Builder addResultsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureResultsIsMutable(); - results_.add(value); - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetTaskLogsResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetTaskLogsResponse) - private static final flyteidl.admin.AgentOuterClass.GetTaskLogsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.AgentOuterClass.GetTaskLogsResponse(); - } - - public static flyteidl.admin.AgentOuterClass.GetTaskLogsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskLogsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTaskLogsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.AgentOuterClass.GetTaskLogsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionMetadata_LabelsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionMetadata_LabelsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionMetadata_AnnotationsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionMetadata_AnnotationsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionMetadata_EnvironmentVariablesEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionMetadata_EnvironmentVariablesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_CreateTaskRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_CreateTaskRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_CreateTaskResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_CreateTaskResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetTaskRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetTaskRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetTaskResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetTaskResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Resource_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Resource_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_DeleteTaskRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_DeleteTaskRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_DeleteTaskResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_DeleteTaskResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Agent_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Agent_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetAgentRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetAgentRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetAgentResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetAgentResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ListAgentsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ListAgentsRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ListAgentsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ListAgentsResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetTaskMetricsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetTaskMetricsRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetTaskMetricsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetTaskMetricsResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetTaskLogsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetTaskLogsRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetTaskLogsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetTaskLogsResponse_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\032flyteidl/admin/agent.proto\022\016flyteidl.a" + - "dmin\032\034flyteidl/core/literals.proto\032\031flyt" + - "eidl/core/tasks.proto\032\036flyteidl/core/ide" + - "ntifier.proto\032\035flyteidl/core/execution.p" + - "roto\032\033flyteidl/core/metrics.proto\032\036googl" + - "e/protobuf/duration.proto\032\037google/protob" + - "uf/timestamp.proto\"\232\004\n\025TaskExecutionMeta" + - "data\022A\n\021task_execution_id\030\001 \001(\0132&.flytei" + - "dl.core.TaskExecutionIdentifier\022\021\n\tnames" + - "pace\030\002 \001(\t\022A\n\006labels\030\003 \003(\01321.flyteidl.ad" + - "min.TaskExecutionMetadata.LabelsEntry\022K\n" + - "\013annotations\030\004 \003(\01326.flyteidl.admin.Task" + - "ExecutionMetadata.AnnotationsEntry\022\033\n\023k8" + - "s_service_account\030\005 \001(\t\022^\n\025environment_v" + - "ariables\030\006 \003(\0132?.flyteidl.admin.TaskExec" + - "utionMetadata.EnvironmentVariablesEntry\032" + - "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022" + - "\r\n\005value\030\002 \001(\t:\0028\001\032;\n\031EnvironmentVariabl" + - "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + - "\314\001\n\021CreateTaskRequest\022)\n\006inputs\030\001 \001(\0132\031." + - "flyteidl.core.LiteralMap\022-\n\010template\030\002 \001" + - "(\0132\033.flyteidl.core.TaskTemplate\022\025\n\routpu" + - "t_prefix\030\003 \001(\t\022F\n\027task_execution_metadat" + - "a\030\004 \001(\0132%.flyteidl.admin.TaskExecutionMe" + - "tadata\"b\n\022CreateTaskResponse\022\027\n\rresource" + - "_meta\030\001 \001(\014H\000\022,\n\010resource\030\002 \001(\0132\030.flytei" + - "dl.admin.ResourceH\000B\005\n\003res\":\n\016GetTaskReq" + - "uest\022\021\n\ttask_type\030\001 \001(\t\022\025\n\rresource_meta" + - "\030\002 \001(\014\"h\n\017GetTaskResponse\022*\n\010resource\030\001 " + - "\001(\0132\030.flyteidl.admin.Resource\022)\n\tlog_lin" + - "ks\030\002 \003(\0132\026.flyteidl.core.TaskLog\"\317\001\n\010Res" + - "ource\022(\n\005state\030\001 \001(\0162\025.flyteidl.admin.St" + - "ateB\002\030\001\022*\n\007outputs\030\002 \001(\0132\031.flyteidl.core" + - ".LiteralMap\022\017\n\007message\030\003 \001(\t\022)\n\tlog_link" + - "s\030\004 \003(\0132\026.flyteidl.core.TaskLog\0221\n\005phase" + - "\030\005 \001(\0162\".flyteidl.core.TaskExecution.Pha" + - "se\"=\n\021DeleteTaskRequest\022\021\n\ttask_type\030\001 \001" + - "(\t\022\025\n\rresource_meta\030\002 \001(\014\"\024\n\022DeleteTaskR" + - "esponse\"3\n\005Agent\022\014\n\004name\030\001 \001(\t\022\034\n\024suppor" + - "ted_task_types\030\002 \003(\t\"\037\n\017GetAgentRequest\022" + - "\014\n\004name\030\001 \001(\t\"8\n\020GetAgentResponse\022$\n\005age" + - "nt\030\001 \001(\0132\025.flyteidl.admin.Agent\"\023\n\021ListA" + - "gentsRequest\";\n\022ListAgentsResponse\022%\n\006ag" + - "ents\030\001 \003(\0132\025.flyteidl.admin.Agent\"\331\001\n\025Ge" + - "tTaskMetricsRequest\022\021\n\ttask_type\030\001 \001(\t\022\025" + - "\n\rresource_meta\030\002 \001(\014\022\017\n\007queries\030\003 \003(\t\022." + - "\n\nstart_time\030\004 \001(\0132\032.google.protobuf.Tim" + - "estamp\022,\n\010end_time\030\005 \001(\0132\032.google.protob" + - "uf.Timestamp\022\'\n\004step\030\006 \001(\0132\031.google.prot" + - "obuf.Duration\"O\n\026GetTaskMetricsResponse\022" + - "5\n\007results\030\001 \003(\0132$.flyteidl.core.Executi" + - "onMetricResult\"\\\n\022GetTaskLogsRequest\022\021\n\t" + - "task_type\030\001 \001(\t\022\025\n\rresource_meta\030\002 \001(\014\022\r" + - "\n\005lines\030\003 \001(\004\022\r\n\005token\030\004 \001(\t\"5\n\023GetTaskL" + - "ogsResponse\022\017\n\007results\030\001 \003(\t\022\r\n\005token\030\002 " + - "\001(\t*^\n\005State\022\025\n\021RETRYABLE_FAILURE\020\000\022\025\n\021P" + - "ERMANENT_FAILURE\020\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNI" + - "NG\020\003\022\r\n\tSUCCEEDED\020\004B=Z;github.com/flyteo" + - "rg/flyte/flyteidl/gen/pb-go/flyteidl/adm" + - "inb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Literals.getDescriptor(), - flyteidl.core.Tasks.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.Metrics.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_TaskExecutionMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor, - new java.lang.String[] { "TaskExecutionId", "Namespace", "Labels", "Annotations", "K8SServiceAccount", "EnvironmentVariables", }); - internal_static_flyteidl_admin_TaskExecutionMetadata_LabelsEntry_descriptor = - internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_admin_TaskExecutionMetadata_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionMetadata_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_admin_TaskExecutionMetadata_AnnotationsEntry_descriptor = - internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor.getNestedTypes().get(1); - internal_static_flyteidl_admin_TaskExecutionMetadata_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionMetadata_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_admin_TaskExecutionMetadata_EnvironmentVariablesEntry_descriptor = - internal_static_flyteidl_admin_TaskExecutionMetadata_descriptor.getNestedTypes().get(2); - internal_static_flyteidl_admin_TaskExecutionMetadata_EnvironmentVariablesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionMetadata_EnvironmentVariablesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_admin_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_CreateTaskRequest_descriptor, - new java.lang.String[] { "Inputs", "Template", "OutputPrefix", "TaskExecutionMetadata", }); - internal_static_flyteidl_admin_CreateTaskResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_CreateTaskResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_CreateTaskResponse_descriptor, - new java.lang.String[] { "ResourceMeta", "Resource", "Res", }); - internal_static_flyteidl_admin_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetTaskRequest_descriptor, - new java.lang.String[] { "TaskType", "ResourceMeta", }); - internal_static_flyteidl_admin_GetTaskResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_GetTaskResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetTaskResponse_descriptor, - new java.lang.String[] { "Resource", "LogLinks", }); - internal_static_flyteidl_admin_Resource_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Resource_descriptor, - new java.lang.String[] { "State", "Outputs", "Message", "LogLinks", "Phase", }); - internal_static_flyteidl_admin_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_DeleteTaskRequest_descriptor, - new java.lang.String[] { "TaskType", "ResourceMeta", }); - internal_static_flyteidl_admin_DeleteTaskResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_DeleteTaskResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_DeleteTaskResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_Agent_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_Agent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Agent_descriptor, - new java.lang.String[] { "Name", "SupportedTaskTypes", }); - internal_static_flyteidl_admin_GetAgentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_flyteidl_admin_GetAgentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetAgentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_flyteidl_admin_GetAgentResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_flyteidl_admin_GetAgentResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetAgentResponse_descriptor, - new java.lang.String[] { "Agent", }); - internal_static_flyteidl_admin_ListAgentsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_flyteidl_admin_ListAgentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ListAgentsRequest_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_ListAgentsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_flyteidl_admin_ListAgentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ListAgentsResponse_descriptor, - new java.lang.String[] { "Agents", }); - internal_static_flyteidl_admin_GetTaskMetricsRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_flyteidl_admin_GetTaskMetricsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetTaskMetricsRequest_descriptor, - new java.lang.String[] { "TaskType", "ResourceMeta", "Queries", "StartTime", "EndTime", "Step", }); - internal_static_flyteidl_admin_GetTaskMetricsResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_flyteidl_admin_GetTaskMetricsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetTaskMetricsResponse_descriptor, - new java.lang.String[] { "Results", }); - internal_static_flyteidl_admin_GetTaskLogsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_flyteidl_admin_GetTaskLogsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetTaskLogsRequest_descriptor, - new java.lang.String[] { "TaskType", "ResourceMeta", "Lines", "Token", }); - internal_static_flyteidl_admin_GetTaskLogsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_flyteidl_admin_GetTaskLogsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetTaskLogsResponse_descriptor, - new java.lang.String[] { "Results", "Token", }); - flyteidl.core.Literals.getDescriptor(); - flyteidl.core.Tasks.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.Metrics.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java deleted file mode 100644 index 5557da7b50..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/ClusterAssignmentOuterClass.java +++ /dev/null @@ -1,615 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/cluster_assignment.proto - -package flyteidl.admin; - -public final class ClusterAssignmentOuterClass { - private ClusterAssignmentOuterClass() {} - 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 ClusterAssignmentOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ClusterAssignment) - com.google.protobuf.MessageOrBuilder { - - /** - * string cluster_pool_name = 3; - */ - java.lang.String getClusterPoolName(); - /** - * string cluster_pool_name = 3; - */ - com.google.protobuf.ByteString - getClusterPoolNameBytes(); - } - /** - *
-   * Encapsulates specifications for routing an execution onto a specific cluster.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ClusterAssignment} - */ - public static final class ClusterAssignment extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ClusterAssignment) - ClusterAssignmentOrBuilder { - private static final long serialVersionUID = 0L; - // Use ClusterAssignment.newBuilder() to construct. - private ClusterAssignment(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ClusterAssignment() { - clusterPoolName_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ClusterAssignment( - 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 26: { - java.lang.String s = input.readStringRequireUtf8(); - - clusterPoolName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_ClusterAssignment_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_ClusterAssignment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.class, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder.class); - } - - public static final int CLUSTER_POOL_NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object clusterPoolName_; - /** - * string cluster_pool_name = 3; - */ - public java.lang.String getClusterPoolName() { - java.lang.Object ref = clusterPoolName_; - 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(); - clusterPoolName_ = s; - return s; - } - } - /** - * string cluster_pool_name = 3; - */ - public com.google.protobuf.ByteString - getClusterPoolNameBytes() { - java.lang.Object ref = clusterPoolName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clusterPoolName_ = 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 (!getClusterPoolNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterPoolName_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getClusterPoolNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterPoolName_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment)) { - return super.equals(obj); - } - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment other = (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) obj; - - if (!getClusterPoolName() - .equals(other.getClusterPoolName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CLUSTER_POOL_NAME_FIELD_NUMBER; - hash = (53 * hash) + getClusterPoolName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment 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; - } - /** - *
-     * Encapsulates specifications for routing an execution onto a specific cluster.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ClusterAssignment} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ClusterAssignment) - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_ClusterAssignment_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_ClusterAssignment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.class, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder.class); - } - - // Construct using flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.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(); - clusterPoolName_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.internal_static_flyteidl_admin_ClusterAssignment_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getDefaultInstanceForType() { - return flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment build() { - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment buildPartial() { - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment result = new flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment(this); - result.clusterPoolName_ = clusterPoolName_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) { - return mergeFrom((flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment other) { - if (other == flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance()) return this; - if (!other.getClusterPoolName().isEmpty()) { - clusterPoolName_ = other.clusterPoolName_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object clusterPoolName_ = ""; - /** - * string cluster_pool_name = 3; - */ - public java.lang.String getClusterPoolName() { - java.lang.Object ref = clusterPoolName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - clusterPoolName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string cluster_pool_name = 3; - */ - public com.google.protobuf.ByteString - getClusterPoolNameBytes() { - java.lang.Object ref = clusterPoolName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clusterPoolName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string cluster_pool_name = 3; - */ - public Builder setClusterPoolName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - clusterPoolName_ = value; - onChanged(); - return this; - } - /** - * string cluster_pool_name = 3; - */ - public Builder clearClusterPoolName() { - - clusterPoolName_ = getDefaultInstance().getClusterPoolName(); - onChanged(); - return this; - } - /** - * string cluster_pool_name = 3; - */ - public Builder setClusterPoolNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - clusterPoolName_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ClusterAssignment) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterAssignment) - private static final flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment(); - } - - public static flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAssignment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ClusterAssignment(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ClusterAssignment_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ClusterAssignment_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'flyteidl/admin/cluster_assignment.prot" + - "o\022\016flyteidl.admin\":\n\021ClusterAssignment\022\031" + - "\n\021cluster_pool_name\030\003 \001(\tJ\004\010\001\020\002J\004\010\002\020\003B=Z" + - ";github.com/flyteorg/flyte/flyteidl/gen/" + - "pb-go/flyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }, assigner); - internal_static_flyteidl_admin_ClusterAssignment_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_ClusterAssignment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ClusterAssignment_descriptor, - new java.lang.String[] { "ClusterPoolName", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/Common.java b/flyteidl/gen/pb-java/flyteidl/admin/Common.java deleted file mode 100644 index bc18ef3c1e..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/Common.java +++ /dev/null @@ -1,23391 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/common.proto - -package flyteidl.admin; - -public final class Common { - private Common() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * The status of the named entity is used to control its visibility in the UI.
-   * 
- * - * Protobuf enum {@code flyteidl.admin.NamedEntityState} - */ - public enum NamedEntityState - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-     * By default, all named entities are considered active and under development.
-     * 
- * - * NAMED_ENTITY_ACTIVE = 0; - */ - NAMED_ENTITY_ACTIVE(0), - /** - *
-     * Archived named entities are no longer visible in the UI.
-     * 
- * - * NAMED_ENTITY_ARCHIVED = 1; - */ - NAMED_ENTITY_ARCHIVED(1), - /** - *
-     * System generated entities that aren't explicitly created or managed by a user.
-     * 
- * - * SYSTEM_GENERATED = 2; - */ - SYSTEM_GENERATED(2), - UNRECOGNIZED(-1), - ; - - /** - *
-     * By default, all named entities are considered active and under development.
-     * 
- * - * NAMED_ENTITY_ACTIVE = 0; - */ - public static final int NAMED_ENTITY_ACTIVE_VALUE = 0; - /** - *
-     * Archived named entities are no longer visible in the UI.
-     * 
- * - * NAMED_ENTITY_ARCHIVED = 1; - */ - public static final int NAMED_ENTITY_ARCHIVED_VALUE = 1; - /** - *
-     * System generated entities that aren't explicitly created or managed by a user.
-     * 
- * - * SYSTEM_GENERATED = 2; - */ - public static final int SYSTEM_GENERATED_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static NamedEntityState valueOf(int value) { - return forNumber(value); - } - - public static NamedEntityState forNumber(int value) { - switch (value) { - case 0: return NAMED_ENTITY_ACTIVE; - case 1: return NAMED_ENTITY_ARCHIVED; - case 2: return SYSTEM_GENERATED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - NamedEntityState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public NamedEntityState findValueByNumber(int number) { - return NamedEntityState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.Common.getDescriptor().getEnumTypes().get(0); - } - - private static final NamedEntityState[] VALUES = values(); - - public static NamedEntityState 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 NamedEntityState(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.NamedEntityState) - } - - public interface NamedEntityIdentifierOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * User provided value for the resource.
-     * The combination of project + domain + name uniquely identifies the resource.
-     * +optional - in certain contexts - like 'List API', 'Launch plans'
-     * 
- * - * string name = 3; - */ - java.lang.String getName(); - /** - *
-     * User provided value for the resource.
-     * The combination of project + domain + name uniquely identifies the resource.
-     * +optional - in certain contexts - like 'List API', 'Launch plans'
-     * 
- * - * string name = 3; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 4; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 4; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Encapsulation of fields that identifies a Flyte resource.
-   * A Flyte resource can be a task, workflow or launch plan.
-   * A resource can internally have multiple versions and is uniquely identified
-   * by project, domain, and name.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityIdentifier} - */ - public static final class NamedEntityIdentifier extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityIdentifier) - NamedEntityIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityIdentifier.newBuilder() to construct. - private NamedEntityIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityIdentifier() { - project_ = ""; - domain_ = ""; - name_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityIdentifier( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityIdentifier.class, flyteidl.admin.Common.NamedEntityIdentifier.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - *
-     * User provided value for the resource.
-     * The combination of project + domain + name uniquely identifies the resource.
-     * +optional - in certain contexts - like 'List API', 'Launch plans'
-     * 
- * - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * User provided value for the resource.
-     * The combination of project + domain + name uniquely identifies the resource.
-     * +optional - in certain contexts - like 'List API', 'Launch plans'
-     * 
- * - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 4; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityIdentifier)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityIdentifier other = (flyteidl.admin.Common.NamedEntityIdentifier) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifier parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityIdentifier 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; - } - /** - *
-     * Encapsulation of fields that identifies a Flyte resource.
-     * A Flyte resource can be a task, workflow or launch plan.
-     * A resource can internally have multiple versions and is uniquely identified
-     * by project, domain, and name.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityIdentifier} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityIdentifier) - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityIdentifier.class, flyteidl.admin.Common.NamedEntityIdentifier.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityIdentifier.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - name_ = ""; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifier_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifier getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifier build() { - flyteidl.admin.Common.NamedEntityIdentifier result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifier buildPartial() { - flyteidl.admin.Common.NamedEntityIdentifier result = new flyteidl.admin.Common.NamedEntityIdentifier(this); - result.project_ = project_; - result.domain_ = domain_; - result.name_ = name_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityIdentifier) { - return mergeFrom((flyteidl.admin.Common.NamedEntityIdentifier)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityIdentifier other) { - if (other == flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityIdentifier parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityIdentifier) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * User provided value for the resource.
-       * The combination of project + domain + name uniquely identifies the resource.
-       * +optional - in certain contexts - like 'List API', 'Launch plans'
-       * 
- * - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * User provided value for the resource.
-       * The combination of project + domain + name uniquely identifies the resource.
-       * +optional - in certain contexts - like 'List API', 'Launch plans'
-       * 
- * - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * User provided value for the resource.
-       * The combination of project + domain + name uniquely identifies the resource.
-       * +optional - in certain contexts - like 'List API', 'Launch plans'
-       * 
- * - * string name = 3; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * User provided value for the resource.
-       * The combination of project + domain + name uniquely identifies the resource.
-       * +optional - in certain contexts - like 'List API', 'Launch plans'
-       * 
- * - * string name = 3; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * User provided value for the resource.
-       * The combination of project + domain + name uniquely identifies the resource.
-       * +optional - in certain contexts - like 'List API', 'Launch plans'
-       * 
- * - * string name = 3; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 4; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 4; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 4; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityIdentifier) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityIdentifier) - private static final flyteidl.admin.Common.NamedEntityIdentifier DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityIdentifier(); - } - - public static flyteidl.admin.Common.NamedEntityIdentifier getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityIdentifier(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifier getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Common description across all versions of the entity
-     * +optional
-     * 
- * - * string description = 1; - */ - java.lang.String getDescription(); - /** - *
-     * Common description across all versions of the entity
-     * +optional
-     * 
- * - * string description = 1; - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - - /** - *
-     * Shared state across all version of the entity
-     * At this point in time, only workflow entities can have their state archived.
-     * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - int getStateValue(); - /** - *
-     * Shared state across all version of the entity
-     * At this point in time, only workflow entities can have their state archived.
-     * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - flyteidl.admin.Common.NamedEntityState getState(); - } - /** - *
-   * Additional metadata around a named entity.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityMetadata} - */ - public static final class NamedEntityMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityMetadata) - NamedEntityMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityMetadata.newBuilder() to construct. - private NamedEntityMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityMetadata() { - description_ = ""; - state_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityMetadata.class, flyteidl.admin.Common.NamedEntityMetadata.Builder.class); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 1; - private volatile java.lang.Object description_; - /** - *
-     * Common description across all versions of the entity
-     * +optional
-     * 
- * - * string description = 1; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - 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(); - description_ = s; - return s; - } - } - /** - *
-     * Common description across all versions of the entity
-     * +optional
-     * 
- * - * string description = 1; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATE_FIELD_NUMBER = 2; - private int state_; - /** - *
-     * Shared state across all version of the entity
-     * At this point in time, only workflow entities can have their state archived.
-     * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - public int getStateValue() { - return state_; - } - /** - *
-     * Shared state across all version of the entity
-     * At this point in time, only workflow entities can have their state archived.
-     * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - public flyteidl.admin.Common.NamedEntityState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.Common.NamedEntityState result = flyteidl.admin.Common.NamedEntityState.valueOf(state_); - return result == null ? flyteidl.admin.Common.NamedEntityState.UNRECOGNIZED : result; - } - - 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 (!getDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); - } - if (state_ != flyteidl.admin.Common.NamedEntityState.NAMED_ENTITY_ACTIVE.getNumber()) { - output.writeEnum(2, state_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); - } - if (state_ != flyteidl.admin.Common.NamedEntityState.NAMED_ENTITY_ACTIVE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityMetadata)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityMetadata other = (flyteidl.admin.Common.NamedEntityMetadata) obj; - - if (!getDescription() - .equals(other.getDescription())) return false; - if (state_ != other.state_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityMetadata 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; - } - /** - *
-     * Additional metadata around a named entity.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityMetadata) - flyteidl.admin.Common.NamedEntityMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityMetadata.class, flyteidl.admin.Common.NamedEntityMetadata.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityMetadata.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(); - description_ = ""; - - state_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityMetadata getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityMetadata build() { - flyteidl.admin.Common.NamedEntityMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityMetadata buildPartial() { - flyteidl.admin.Common.NamedEntityMetadata result = new flyteidl.admin.Common.NamedEntityMetadata(this); - result.description_ = description_; - result.state_ = state_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityMetadata) { - return mergeFrom((flyteidl.admin.Common.NamedEntityMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityMetadata other) { - if (other == flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance()) return this; - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object description_ = ""; - /** - *
-       * Common description across all versions of the entity
-       * +optional
-       * 
- * - * string description = 1; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Common description across all versions of the entity
-       * +optional
-       * 
- * - * string description = 1; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Common description across all versions of the entity
-       * +optional
-       * 
- * - * string description = 1; - */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - description_ = value; - onChanged(); - return this; - } - /** - *
-       * Common description across all versions of the entity
-       * +optional
-       * 
- * - * string description = 1; - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - *
-       * Common description across all versions of the entity
-       * +optional
-       * 
- * - * string description = 1; - */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - private int state_ = 0; - /** - *
-       * Shared state across all version of the entity
-       * At this point in time, only workflow entities can have their state archived.
-       * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - public int getStateValue() { - return state_; - } - /** - *
-       * Shared state across all version of the entity
-       * At this point in time, only workflow entities can have their state archived.
-       * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - *
-       * Shared state across all version of the entity
-       * At this point in time, only workflow entities can have their state archived.
-       * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - public flyteidl.admin.Common.NamedEntityState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.Common.NamedEntityState result = flyteidl.admin.Common.NamedEntityState.valueOf(state_); - return result == null ? flyteidl.admin.Common.NamedEntityState.UNRECOGNIZED : result; - } - /** - *
-       * Shared state across all version of the entity
-       * At this point in time, only workflow entities can have their state archived.
-       * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - public Builder setState(flyteidl.admin.Common.NamedEntityState value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Shared state across all version of the entity
-       * At this point in time, only workflow entities can have their state archived.
-       * 
- * - * .flyteidl.admin.NamedEntityState state = 2; - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityMetadata) - private static final flyteidl.admin.Common.NamedEntityMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityMetadata(); - } - - public static flyteidl.admin.Common.NamedEntityMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntity) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - int getResourceTypeValue(); - /** - *
-     * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - flyteidl.core.IdentifierOuterClass.ResourceType getResourceType(); - - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - boolean hasId(); - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifier getId(); - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Additional metadata around a named entity.
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - boolean hasMetadata(); - /** - *
-     * Additional metadata around a named entity.
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - flyteidl.admin.Common.NamedEntityMetadata getMetadata(); - /** - *
-     * Additional metadata around a named entity.
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - flyteidl.admin.Common.NamedEntityMetadataOrBuilder getMetadataOrBuilder(); - } - /** - *
-   * Encapsulates information common to a NamedEntity, a Flyte resource such as a task,
-   * workflow or launch plan. A NamedEntity is exclusively identified by its resource type
-   * and identifier.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntity} - */ - public static final class NamedEntity extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntity) - NamedEntityOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntity.newBuilder() to construct. - private NamedEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntity() { - resourceType_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntity( - 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(); - - resourceType_ = rawValue; - break; - } - case 18: { - flyteidl.admin.Common.NamedEntityIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.admin.Common.NamedEntityIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.admin.Common.NamedEntityMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.admin.Common.NamedEntityMetadata.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 flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntity.class, flyteidl.admin.Common.NamedEntity.Builder.class); - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; - private int resourceType_; - /** - *
-     * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - - public static final int ID_FIELD_NUMBER = 2; - private flyteidl.admin.Common.NamedEntityIdentifier id_; - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return id_ != null; - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int METADATA_FIELD_NUMBER = 3; - private flyteidl.admin.Common.NamedEntityMetadata metadata_; - /** - *
-     * Additional metadata around a named entity.
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Additional metadata around a named entity.
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadata getMetadata() { - return metadata_ == null ? flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Additional metadata around a named entity.
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadataOrBuilder 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 (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - output.writeEnum(1, resourceType_); - } - if (id_ != null) { - output.writeMessage(2, getId()); - } - if (metadata_ != null) { - output.writeMessage(3, getMetadata()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); - } - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getId()); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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 flyteidl.admin.Common.NamedEntity)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntity other = (flyteidl.admin.Common.NamedEntity) obj; - - if (resourceType_ != other.resourceType_) return false; - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().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 flyteidl.admin.Common.NamedEntity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntity parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntity parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntity parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntity 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; - } - /** - *
-     * Encapsulates information common to a NamedEntity, a Flyte resource such as a task,
-     * workflow or launch plan. A NamedEntity is exclusively identified by its resource type
-     * and identifier.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntity} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntity) - flyteidl.admin.Common.NamedEntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntity.class, flyteidl.admin.Common.NamedEntity.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntity.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(); - resourceType_ = 0; - - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntity_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntity getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntity.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntity build() { - flyteidl.admin.Common.NamedEntity result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntity buildPartial() { - flyteidl.admin.Common.NamedEntity result = new flyteidl.admin.Common.NamedEntity(this); - result.resourceType_ = resourceType_; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.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 flyteidl.admin.Common.NamedEntity) { - return mergeFrom((flyteidl.admin.Common.NamedEntity)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntity other) { - if (other == flyteidl.admin.Common.NamedEntity.getDefaultInstance()) return this; - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (other.hasId()) { - mergeId(other.getId()); - } - 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 { - flyteidl.admin.Common.NamedEntity parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntity) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - /** - *
-       * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceType(flyteidl.core.IdentifierOuterClass.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Resource type of the named entity. One of Task, Workflow or LaunchPlan.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private flyteidl.admin.Common.NamedEntityIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> idBuilder_; - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId( - flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder mergeId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.admin.Common.NamedEntityIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - } - /** - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.Common.NamedEntityMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityMetadata, flyteidl.admin.Common.NamedEntityMetadata.Builder, flyteidl.admin.Common.NamedEntityMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder setMetadata(flyteidl.admin.Common.NamedEntityMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder setMetadata( - flyteidl.admin.Common.NamedEntityMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder mergeMetadata(flyteidl.admin.Common.NamedEntityMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.admin.Common.NamedEntityMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Additional metadata around a named entity.
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityMetadata, flyteidl.admin.Common.NamedEntityMetadata.Builder, flyteidl.admin.Common.NamedEntityMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityMetadata, flyteidl.admin.Common.NamedEntityMetadata.Builder, flyteidl.admin.Common.NamedEntityMetadataOrBuilder>( - 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:flyteidl.admin.NamedEntity) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntity) - private static final flyteidl.admin.Common.NamedEntity DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntity(); - } - - public static flyteidl.admin.Common.NamedEntity getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntity(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntity getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SortOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Sort) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates an attribute to sort the response values.
-     * +required
-     * 
- * - * string key = 1; - */ - java.lang.String getKey(); - /** - *
-     * Indicates an attribute to sort the response values.
-     * +required
-     * 
- * - * string key = 1; - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - *
-     * Indicates the direction to apply sort key for response values.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - int getDirectionValue(); - /** - *
-     * Indicates the direction to apply sort key for response values.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - flyteidl.admin.Common.Sort.Direction getDirection(); - } - /** - *
-   * Specifies sort ordering in a list request.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Sort} - */ - public static final class Sort extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Sort) - SortOrBuilder { - private static final long serialVersionUID = 0L; - // Use Sort.newBuilder() to construct. - private Sort(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Sort() { - key_ = ""; - direction_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Sort( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - direction_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Sort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Sort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Sort.class, flyteidl.admin.Common.Sort.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.admin.Sort.Direction} - */ - public enum Direction - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * By default, fields are sorted in descending order.
-       * 
- * - * DESCENDING = 0; - */ - DESCENDING(0), - /** - * ASCENDING = 1; - */ - ASCENDING(1), - UNRECOGNIZED(-1), - ; - - /** - *
-       * By default, fields are sorted in descending order.
-       * 
- * - * DESCENDING = 0; - */ - public static final int DESCENDING_VALUE = 0; - /** - * ASCENDING = 1; - */ - public static final int ASCENDING_VALUE = 1; - - - 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 Direction valueOf(int value) { - return forNumber(value); - } - - public static Direction forNumber(int value) { - switch (value) { - case 0: return DESCENDING; - case 1: return ASCENDING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Direction> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Direction findValueByNumber(int number) { - return Direction.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.Common.Sort.getDescriptor().getEnumTypes().get(0); - } - - private static final Direction[] VALUES = values(); - - public static Direction 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 Direction(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.Sort.Direction) - } - - public static final int KEY_FIELD_NUMBER = 1; - private volatile java.lang.Object key_; - /** - *
-     * Indicates an attribute to sort the response values.
-     * +required
-     * 
- * - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - 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(); - key_ = s; - return s; - } - } - /** - *
-     * Indicates an attribute to sort the response values.
-     * +required
-     * 
- * - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIRECTION_FIELD_NUMBER = 2; - private int direction_; - /** - *
-     * Indicates the direction to apply sort key for response values.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - public int getDirectionValue() { - return direction_; - } - /** - *
-     * Indicates the direction to apply sort key for response values.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - public flyteidl.admin.Common.Sort.Direction getDirection() { - @SuppressWarnings("deprecation") - flyteidl.admin.Common.Sort.Direction result = flyteidl.admin.Common.Sort.Direction.valueOf(direction_); - return result == null ? flyteidl.admin.Common.Sort.Direction.UNRECOGNIZED : result; - } - - 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 (!getKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); - } - if (direction_ != flyteidl.admin.Common.Sort.Direction.DESCENDING.getNumber()) { - output.writeEnum(2, direction_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); - } - if (direction_ != flyteidl.admin.Common.Sort.Direction.DESCENDING.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, direction_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.Sort)) { - return super.equals(obj); - } - flyteidl.admin.Common.Sort other = (flyteidl.admin.Common.Sort) obj; - - if (!getKey() - .equals(other.getKey())) return false; - if (direction_ != other.direction_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + DIRECTION_FIELD_NUMBER; - hash = (53 * hash) + direction_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.Sort parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Sort parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Sort parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Sort parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Sort parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Sort parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Sort parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Sort parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Sort parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Sort parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Sort parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Sort parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.Sort 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; - } - /** - *
-     * Specifies sort ordering in a list request.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Sort} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Sort) - flyteidl.admin.Common.SortOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Sort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Sort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Sort.class, flyteidl.admin.Common.Sort.Builder.class); - } - - // Construct using flyteidl.admin.Common.Sort.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(); - key_ = ""; - - direction_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Sort_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.Sort getDefaultInstanceForType() { - return flyteidl.admin.Common.Sort.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.Sort build() { - flyteidl.admin.Common.Sort result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.Sort buildPartial() { - flyteidl.admin.Common.Sort result = new flyteidl.admin.Common.Sort(this); - result.key_ = key_; - result.direction_ = direction_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.Sort) { - return mergeFrom((flyteidl.admin.Common.Sort)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.Sort other) { - if (other == flyteidl.admin.Common.Sort.getDefaultInstance()) return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - onChanged(); - } - if (other.direction_ != 0) { - setDirectionValue(other.getDirectionValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.Sort parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.Sort) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object key_ = ""; - /** - *
-       * Indicates an attribute to sort the response values.
-       * +required
-       * 
- * - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates an attribute to sort the response values.
-       * +required
-       * 
- * - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates an attribute to sort the response values.
-       * +required
-       * 
- * - * string key = 1; - */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - key_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates an attribute to sort the response values.
-       * +required
-       * 
- * - * string key = 1; - */ - public Builder clearKey() { - - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - *
-       * Indicates an attribute to sort the response values.
-       * +required
-       * 
- * - * string key = 1; - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - key_ = value; - onChanged(); - return this; - } - - private int direction_ = 0; - /** - *
-       * Indicates the direction to apply sort key for response values.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - public int getDirectionValue() { - return direction_; - } - /** - *
-       * Indicates the direction to apply sort key for response values.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - public Builder setDirectionValue(int value) { - direction_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the direction to apply sort key for response values.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - public flyteidl.admin.Common.Sort.Direction getDirection() { - @SuppressWarnings("deprecation") - flyteidl.admin.Common.Sort.Direction result = flyteidl.admin.Common.Sort.Direction.valueOf(direction_); - return result == null ? flyteidl.admin.Common.Sort.Direction.UNRECOGNIZED : result; - } - /** - *
-       * Indicates the direction to apply sort key for response values.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - public Builder setDirection(flyteidl.admin.Common.Sort.Direction value) { - if (value == null) { - throw new NullPointerException(); - } - - direction_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Indicates the direction to apply sort key for response values.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort.Direction direction = 2; - */ - public Builder clearDirection() { - - direction_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Sort) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Sort) - private static final flyteidl.admin.Common.Sort DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.Sort(); - } - - public static flyteidl.admin.Common.Sort getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Sort parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Sort(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.Sort getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityIdentifierListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityIdentifierListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 3; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - boolean hasSortBy(); - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 6; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 6; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Represents a request structure to list NamedEntityIdentifiers.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityIdentifierListRequest} - */ - public static final class NamedEntityIdentifierListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityIdentifierListRequest) - NamedEntityIdentifierListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityIdentifierListRequest.newBuilder() to construct. - private NamedEntityIdentifierListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityIdentifierListRequest() { - project_ = ""; - domain_ = ""; - token_ = ""; - filters_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityIdentifierListRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 24: { - - limit_ = input.readUInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityIdentifierListRequest.class, flyteidl.admin.Common.NamedEntityIdentifierListRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LIMIT_FIELD_NUMBER = 3; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 3; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 4; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - public static final int FILTERS_FIELD_NUMBER = 6; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 6; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 6; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 7; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (limit_ != 0) { - output.writeUInt32(3, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, token_); - } - if (sortBy_ != null) { - output.writeMessage(5, getSortBy()); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, filters_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, token_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSortBy()); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, filters_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityIdentifierListRequest)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityIdentifierListRequest other = (flyteidl.admin.Common.NamedEntityIdentifierListRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) return false; - } - if (!getFilters() - .equals(other.getFilters())) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityIdentifierListRequest 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; - } - /** - *
-     * Represents a request structure to list NamedEntityIdentifiers.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityIdentifierListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityIdentifierListRequest) - flyteidl.admin.Common.NamedEntityIdentifierListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityIdentifierListRequest.class, flyteidl.admin.Common.NamedEntityIdentifierListRequest.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityIdentifierListRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - limit_ = 0; - - token_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - filters_ = ""; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierListRequest getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityIdentifierListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierListRequest build() { - flyteidl.admin.Common.NamedEntityIdentifierListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierListRequest buildPartial() { - flyteidl.admin.Common.NamedEntityIdentifierListRequest result = new flyteidl.admin.Common.NamedEntityIdentifierListRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.limit_ = limit_; - result.token_ = token_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - result.filters_ = filters_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityIdentifierListRequest) { - return mergeFrom((flyteidl.admin.Common.NamedEntityIdentifierListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityIdentifierListRequest other) { - if (other == flyteidl.admin.Common.NamedEntityIdentifierListRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityIdentifierListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityIdentifierListRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 3; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 3; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 3; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 6; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 6; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 6; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 6; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 6; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityIdentifierListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityIdentifierListRequest) - private static final flyteidl.admin.Common.NamedEntityIdentifierListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityIdentifierListRequest(); - } - - public static flyteidl.admin.Common.NamedEntityIdentifierListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityIdentifierListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityIdentifierListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - int getResourceTypeValue(); - /** - *
-     * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - flyteidl.core.IdentifierOuterClass.ResourceType getResourceType(); - - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 2; - */ - java.lang.String getProject(); - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 2; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * 
- * - * string domain = 3; - */ - java.lang.String getDomain(); - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * 
- * - * string domain = 3; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * 
- * - * uint32 limit = 4; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 5; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 5; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - boolean hasSortBy(); - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 7; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 7; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 8; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 8; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Represents a request structure to list NamedEntity objects
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityListRequest} - */ - public static final class NamedEntityListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityListRequest) - NamedEntityListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityListRequest.newBuilder() to construct. - private NamedEntityListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityListRequest() { - resourceType_ = 0; - project_ = ""; - domain_ = ""; - token_ = ""; - filters_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityListRequest( - 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(); - - resourceType_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 32: { - - limit_ = input.readUInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 50: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityListRequest.class, flyteidl.admin.Common.NamedEntityListRequest.Builder.class); - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; - private int resourceType_; - /** - *
-     * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - - public static final int PROJECT_FIELD_NUMBER = 2; - private volatile java.lang.Object project_; - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 2; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Name of the project that contains the identifiers.
-     * +required
-     * 
- * - * string project = 2; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 3; - private volatile java.lang.Object domain_; - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * 
- * - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * 
- * - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LIMIT_FIELD_NUMBER = 4; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * 
- * - * uint32 limit = 4; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 5; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 5; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 5; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 6; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Specifies how listed entities should be sorted in the response.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - public static final int FILTERS_FIELD_NUMBER = 7; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 7; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 7; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 8; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 8; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 8; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = 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 (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - output.writeEnum(1, resourceType_); - } - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domain_); - } - if (limit_ != 0) { - output.writeUInt32(4, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, token_); - } - if (sortBy_ != null) { - output.writeMessage(6, getSortBy()); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, filters_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); - } - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domain_); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, token_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getSortBy()); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, filters_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityListRequest)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityListRequest other = (flyteidl.admin.Common.NamedEntityListRequest) obj; - - if (resourceType_ != other.resourceType_) return false; - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) return false; - } - if (!getFilters() - .equals(other.getFilters())) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityListRequest 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; - } - /** - *
-     * Represents a request structure to list NamedEntity objects
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityListRequest) - flyteidl.admin.Common.NamedEntityListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityListRequest.class, flyteidl.admin.Common.NamedEntityListRequest.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityListRequest.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(); - resourceType_ = 0; - - project_ = ""; - - domain_ = ""; - - limit_ = 0; - - token_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - filters_ = ""; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityListRequest getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityListRequest build() { - flyteidl.admin.Common.NamedEntityListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityListRequest buildPartial() { - flyteidl.admin.Common.NamedEntityListRequest result = new flyteidl.admin.Common.NamedEntityListRequest(this); - result.resourceType_ = resourceType_; - result.project_ = project_; - result.domain_ = domain_; - result.limit_ = limit_; - result.token_ = token_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - result.filters_ = filters_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityListRequest) { - return mergeFrom((flyteidl.admin.Common.NamedEntityListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityListRequest other) { - if (other == flyteidl.admin.Common.NamedEntityListRequest.getDefaultInstance()) return this; - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityListRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - /** - *
-       * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceType(flyteidl.core.IdentifierOuterClass.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Resource type of the metadata to query. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 2; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 2; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 2; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 2; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required
-       * 
- * - * string project = 2; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * 
- * - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * 
- * - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * 
- * - * string domain = 3; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * 
- * - * string domain = 3; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * 
- * - * string domain = 3; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * 
- * - * uint32 limit = 4; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * 
- * - * uint32 limit = 4; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * 
- * - * uint32 limit = 4; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 5; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 5; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 5; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 5; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 5; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Specifies how listed entities should be sorted in the response.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 7; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 7; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 7; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 7; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 7; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 8; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 8; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 8; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 8; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 8; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityListRequest) - private static final flyteidl.admin.Common.NamedEntityListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityListRequest(); - } - - public static flyteidl.admin.Common.NamedEntityListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityIdentifierListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityIdentifierList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - java.util.List - getEntitiesList(); - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - flyteidl.admin.Common.NamedEntityIdentifier getEntities(int index); - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - int getEntitiesCount(); - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - java.util.List - getEntitiesOrBuilderList(); - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getEntitiesOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Represents a list of NamedEntityIdentifiers.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityIdentifierList} - */ - public static final class NamedEntityIdentifierList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityIdentifierList) - NamedEntityIdentifierListOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityIdentifierList.newBuilder() to construct. - private NamedEntityIdentifierList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityIdentifierList() { - entities_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityIdentifierList( - 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)) { - entities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - entities_.add( - input.readMessage(flyteidl.admin.Common.NamedEntityIdentifier.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - entities_ = java.util.Collections.unmodifiableList(entities_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityIdentifierList.class, flyteidl.admin.Common.NamedEntityIdentifierList.Builder.class); - } - - private int bitField0_; - public static final int ENTITIES_FIELD_NUMBER = 1; - private java.util.List entities_; - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public java.util.List getEntitiesList() { - return entities_; - } - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public java.util.List - getEntitiesOrBuilderList() { - return entities_; - } - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public int getEntitiesCount() { - return entities_.size(); - } - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getEntities(int index) { - return entities_.get(index); - } - /** - *
-     * A list of identifiers.
-     * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getEntitiesOrBuilder( - int index) { - return entities_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < entities_.size(); i++) { - output.writeMessage(1, entities_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < entities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entities_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityIdentifierList)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityIdentifierList other = (flyteidl.admin.Common.NamedEntityIdentifierList) obj; - - if (!getEntitiesList() - .equals(other.getEntitiesList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getEntitiesCount() > 0) { - hash = (37 * hash) + ENTITIES_FIELD_NUMBER; - hash = (53 * hash) + getEntitiesList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityIdentifierList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityIdentifierList 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; - } - /** - *
-     * Represents a list of NamedEntityIdentifiers.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityIdentifierList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityIdentifierList) - flyteidl.admin.Common.NamedEntityIdentifierListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityIdentifierList.class, flyteidl.admin.Common.NamedEntityIdentifierList.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityIdentifierList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getEntitiesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (entitiesBuilder_ == null) { - entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - entitiesBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityIdentifierList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierList getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityIdentifierList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierList build() { - flyteidl.admin.Common.NamedEntityIdentifierList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierList buildPartial() { - flyteidl.admin.Common.NamedEntityIdentifierList result = new flyteidl.admin.Common.NamedEntityIdentifierList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (entitiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - entities_ = java.util.Collections.unmodifiableList(entities_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.entities_ = entities_; - } else { - result.entities_ = entitiesBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityIdentifierList) { - return mergeFrom((flyteidl.admin.Common.NamedEntityIdentifierList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityIdentifierList other) { - if (other == flyteidl.admin.Common.NamedEntityIdentifierList.getDefaultInstance()) return this; - if (entitiesBuilder_ == null) { - if (!other.entities_.isEmpty()) { - if (entities_.isEmpty()) { - entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureEntitiesIsMutable(); - entities_.addAll(other.entities_); - } - onChanged(); - } - } else { - if (!other.entities_.isEmpty()) { - if (entitiesBuilder_.isEmpty()) { - entitiesBuilder_.dispose(); - entitiesBuilder_ = null; - entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000001); - entitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntitiesFieldBuilder() : null; - } else { - entitiesBuilder_.addAllMessages(other.entities_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityIdentifierList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityIdentifierList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List entities_ = - java.util.Collections.emptyList(); - private void ensureEntitiesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - entities_ = new java.util.ArrayList(entities_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> entitiesBuilder_; - - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public java.util.List getEntitiesList() { - if (entitiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(entities_); - } else { - return entitiesBuilder_.getMessageList(); - } - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public int getEntitiesCount() { - if (entitiesBuilder_ == null) { - return entities_.size(); - } else { - return entitiesBuilder_.getCount(); - } - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getEntities(int index) { - if (entitiesBuilder_ == null) { - return entities_.get(index); - } else { - return entitiesBuilder_.getMessage(index); - } - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder setEntities( - int index, flyteidl.admin.Common.NamedEntityIdentifier value) { - if (entitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEntitiesIsMutable(); - entities_.set(index, value); - onChanged(); - } else { - entitiesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder setEntities( - int index, flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.set(index, builderForValue.build()); - onChanged(); - } else { - entitiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder addEntities(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (entitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEntitiesIsMutable(); - entities_.add(value); - onChanged(); - } else { - entitiesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder addEntities( - int index, flyteidl.admin.Common.NamedEntityIdentifier value) { - if (entitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEntitiesIsMutable(); - entities_.add(index, value); - onChanged(); - } else { - entitiesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder addEntities( - flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.add(builderForValue.build()); - onChanged(); - } else { - entitiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder addEntities( - int index, flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.add(index, builderForValue.build()); - onChanged(); - } else { - entitiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder addAllEntities( - java.lang.Iterable values) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entities_); - onChanged(); - } else { - entitiesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder clearEntities() { - if (entitiesBuilder_ == null) { - entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - entitiesBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public Builder removeEntities(int index) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.remove(index); - onChanged(); - } else { - entitiesBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder getEntitiesBuilder( - int index) { - return getEntitiesFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getEntitiesOrBuilder( - int index) { - if (entitiesBuilder_ == null) { - return entities_.get(index); } else { - return entitiesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public java.util.List - getEntitiesOrBuilderList() { - if (entitiesBuilder_ != null) { - return entitiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(entities_); - } - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder addEntitiesBuilder() { - return getEntitiesFieldBuilder().addBuilder( - flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance()); - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder addEntitiesBuilder( - int index) { - return getEntitiesFieldBuilder().addBuilder( - index, flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance()); - } - /** - *
-       * A list of identifiers.
-       * 
- * - * repeated .flyteidl.admin.NamedEntityIdentifier entities = 1; - */ - public java.util.List - getEntitiesBuilderList() { - return getEntitiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> - getEntitiesFieldBuilder() { - if (entitiesBuilder_ == null) { - entitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder>( - entities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - entities_ = null; - } - return entitiesBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityIdentifierList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityIdentifierList) - private static final flyteidl.admin.Common.NamedEntityIdentifierList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityIdentifierList(); - } - - public static flyteidl.admin.Common.NamedEntityIdentifierList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityIdentifierList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityIdentifierList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityIdentifierList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - java.util.List - getEntitiesList(); - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - flyteidl.admin.Common.NamedEntity getEntities(int index); - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - int getEntitiesCount(); - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - java.util.List - getEntitiesOrBuilderList(); - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - flyteidl.admin.Common.NamedEntityOrBuilder getEntitiesOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Represents a list of NamedEntityIdentifiers.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityList} - */ - public static final class NamedEntityList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityList) - NamedEntityListOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityList.newBuilder() to construct. - private NamedEntityList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityList() { - entities_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityList( - 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)) { - entities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - entities_.add( - input.readMessage(flyteidl.admin.Common.NamedEntity.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - entities_ = java.util.Collections.unmodifiableList(entities_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityList.class, flyteidl.admin.Common.NamedEntityList.Builder.class); - } - - private int bitField0_; - public static final int ENTITIES_FIELD_NUMBER = 1; - private java.util.List entities_; - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public java.util.List getEntitiesList() { - return entities_; - } - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public java.util.List - getEntitiesOrBuilderList() { - return entities_; - } - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public int getEntitiesCount() { - return entities_.size(); - } - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public flyteidl.admin.Common.NamedEntity getEntities(int index) { - return entities_.get(index); - } - /** - *
-     * A list of NamedEntity objects
-     * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public flyteidl.admin.Common.NamedEntityOrBuilder getEntitiesOrBuilder( - int index) { - return entities_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < entities_.size(); i++) { - output.writeMessage(1, entities_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < entities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entities_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityList)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityList other = (flyteidl.admin.Common.NamedEntityList) obj; - - if (!getEntitiesList() - .equals(other.getEntitiesList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getEntitiesCount() > 0) { - hash = (37 * hash) + ENTITIES_FIELD_NUMBER; - hash = (53 * hash) + getEntitiesList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityList 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; - } - /** - *
-     * Represents a list of NamedEntityIdentifiers.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityList) - flyteidl.admin.Common.NamedEntityListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityList.class, flyteidl.admin.Common.NamedEntityList.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getEntitiesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (entitiesBuilder_ == null) { - entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - entitiesBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityList getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityList build() { - flyteidl.admin.Common.NamedEntityList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityList buildPartial() { - flyteidl.admin.Common.NamedEntityList result = new flyteidl.admin.Common.NamedEntityList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (entitiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - entities_ = java.util.Collections.unmodifiableList(entities_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.entities_ = entities_; - } else { - result.entities_ = entitiesBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityList) { - return mergeFrom((flyteidl.admin.Common.NamedEntityList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityList other) { - if (other == flyteidl.admin.Common.NamedEntityList.getDefaultInstance()) return this; - if (entitiesBuilder_ == null) { - if (!other.entities_.isEmpty()) { - if (entities_.isEmpty()) { - entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureEntitiesIsMutable(); - entities_.addAll(other.entities_); - } - onChanged(); - } - } else { - if (!other.entities_.isEmpty()) { - if (entitiesBuilder_.isEmpty()) { - entitiesBuilder_.dispose(); - entitiesBuilder_ = null; - entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000001); - entitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntitiesFieldBuilder() : null; - } else { - entitiesBuilder_.addAllMessages(other.entities_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List entities_ = - java.util.Collections.emptyList(); - private void ensureEntitiesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - entities_ = new java.util.ArrayList(entities_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.NamedEntity, flyteidl.admin.Common.NamedEntity.Builder, flyteidl.admin.Common.NamedEntityOrBuilder> entitiesBuilder_; - - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public java.util.List getEntitiesList() { - if (entitiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(entities_); - } else { - return entitiesBuilder_.getMessageList(); - } - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public int getEntitiesCount() { - if (entitiesBuilder_ == null) { - return entities_.size(); - } else { - return entitiesBuilder_.getCount(); - } - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public flyteidl.admin.Common.NamedEntity getEntities(int index) { - if (entitiesBuilder_ == null) { - return entities_.get(index); - } else { - return entitiesBuilder_.getMessage(index); - } - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder setEntities( - int index, flyteidl.admin.Common.NamedEntity value) { - if (entitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEntitiesIsMutable(); - entities_.set(index, value); - onChanged(); - } else { - entitiesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder setEntities( - int index, flyteidl.admin.Common.NamedEntity.Builder builderForValue) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.set(index, builderForValue.build()); - onChanged(); - } else { - entitiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder addEntities(flyteidl.admin.Common.NamedEntity value) { - if (entitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEntitiesIsMutable(); - entities_.add(value); - onChanged(); - } else { - entitiesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder addEntities( - int index, flyteidl.admin.Common.NamedEntity value) { - if (entitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEntitiesIsMutable(); - entities_.add(index, value); - onChanged(); - } else { - entitiesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder addEntities( - flyteidl.admin.Common.NamedEntity.Builder builderForValue) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.add(builderForValue.build()); - onChanged(); - } else { - entitiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder addEntities( - int index, flyteidl.admin.Common.NamedEntity.Builder builderForValue) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.add(index, builderForValue.build()); - onChanged(); - } else { - entitiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder addAllEntities( - java.lang.Iterable values) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entities_); - onChanged(); - } else { - entitiesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder clearEntities() { - if (entitiesBuilder_ == null) { - entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - entitiesBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public Builder removeEntities(int index) { - if (entitiesBuilder_ == null) { - ensureEntitiesIsMutable(); - entities_.remove(index); - onChanged(); - } else { - entitiesBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public flyteidl.admin.Common.NamedEntity.Builder getEntitiesBuilder( - int index) { - return getEntitiesFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public flyteidl.admin.Common.NamedEntityOrBuilder getEntitiesOrBuilder( - int index) { - if (entitiesBuilder_ == null) { - return entities_.get(index); } else { - return entitiesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public java.util.List - getEntitiesOrBuilderList() { - if (entitiesBuilder_ != null) { - return entitiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(entities_); - } - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public flyteidl.admin.Common.NamedEntity.Builder addEntitiesBuilder() { - return getEntitiesFieldBuilder().addBuilder( - flyteidl.admin.Common.NamedEntity.getDefaultInstance()); - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public flyteidl.admin.Common.NamedEntity.Builder addEntitiesBuilder( - int index) { - return getEntitiesFieldBuilder().addBuilder( - index, flyteidl.admin.Common.NamedEntity.getDefaultInstance()); - } - /** - *
-       * A list of NamedEntity objects
-       * 
- * - * repeated .flyteidl.admin.NamedEntity entities = 1; - */ - public java.util.List - getEntitiesBuilderList() { - return getEntitiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.NamedEntity, flyteidl.admin.Common.NamedEntity.Builder, flyteidl.admin.Common.NamedEntityOrBuilder> - getEntitiesFieldBuilder() { - if (entitiesBuilder_ == null) { - entitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.NamedEntity, flyteidl.admin.Common.NamedEntity.Builder, flyteidl.admin.Common.NamedEntityOrBuilder>( - entities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - entities_ = null; - } - return entitiesBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityList) - private static final flyteidl.admin.Common.NamedEntityList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityList(); - } - - public static flyteidl.admin.Common.NamedEntityList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - int getResourceTypeValue(); - /** - *
-     * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - flyteidl.core.IdentifierOuterClass.ResourceType getResourceType(); - - /** - *
-     * The identifier for the named entity for which to fetch metadata.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - boolean hasId(); - /** - *
-     * The identifier for the named entity for which to fetch metadata.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifier getId(); - /** - *
-     * The identifier for the named entity for which to fetch metadata.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * A request to retrieve the metadata associated with a NamedEntityIdentifier
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityGetRequest} - */ - public static final class NamedEntityGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityGetRequest) - NamedEntityGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityGetRequest.newBuilder() to construct. - private NamedEntityGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityGetRequest() { - resourceType_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityGetRequest( - 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(); - - resourceType_ = rawValue; - break; - } - case 18: { - flyteidl.admin.Common.NamedEntityIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.admin.Common.NamedEntityIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityGetRequest.class, flyteidl.admin.Common.NamedEntityGetRequest.Builder.class); - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; - private int resourceType_; - /** - *
-     * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - - public static final int ID_FIELD_NUMBER = 2; - private flyteidl.admin.Common.NamedEntityIdentifier id_; - /** - *
-     * The identifier for the named entity for which to fetch metadata.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * The identifier for the named entity for which to fetch metadata.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * The identifier for the named entity for which to fetch metadata.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - output.writeEnum(1, resourceType_); - } - if (id_ != null) { - output.writeMessage(2, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); - } - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityGetRequest other = (flyteidl.admin.Common.NamedEntityGetRequest) obj; - - if (resourceType_ != other.resourceType_) return false; - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityGetRequest 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 request to retrieve the metadata associated with a NamedEntityIdentifier
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityGetRequest) - flyteidl.admin.Common.NamedEntityGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityGetRequest.class, flyteidl.admin.Common.NamedEntityGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityGetRequest.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(); - resourceType_ = 0; - - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityGetRequest getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityGetRequest build() { - flyteidl.admin.Common.NamedEntityGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityGetRequest buildPartial() { - flyteidl.admin.Common.NamedEntityGetRequest result = new flyteidl.admin.Common.NamedEntityGetRequest(this); - result.resourceType_ = resourceType_; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityGetRequest) { - return mergeFrom((flyteidl.admin.Common.NamedEntityGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityGetRequest other) { - if (other == flyteidl.admin.Common.NamedEntityGetRequest.getDefaultInstance()) return this; - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - /** - *
-       * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceType(flyteidl.core.IdentifierOuterClass.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Resource type of the metadata to get. One of Task, Workflow or LaunchPlan.
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private flyteidl.admin.Common.NamedEntityIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> idBuilder_; - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId( - flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder mergeId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.admin.Common.NamedEntityIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * The identifier for the named entity for which to fetch metadata.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityGetRequest) - private static final flyteidl.admin.Common.NamedEntityGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityGetRequest(); - } - - public static flyteidl.admin.Common.NamedEntityGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityUpdateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Resource type of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - int getResourceTypeValue(); - /** - *
-     * Resource type of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - flyteidl.core.IdentifierOuterClass.ResourceType getResourceType(); - - /** - *
-     * Identifier of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - boolean hasId(); - /** - *
-     * Identifier of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifier getId(); - /** - *
-     * Identifier of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Metadata object to set as the new value
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - boolean hasMetadata(); - /** - *
-     * Metadata object to set as the new value
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - flyteidl.admin.Common.NamedEntityMetadata getMetadata(); - /** - *
-     * Metadata object to set as the new value
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - flyteidl.admin.Common.NamedEntityMetadataOrBuilder getMetadataOrBuilder(); - } - /** - *
-   * Request to set the referenced named entity state to the configured value.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityUpdateRequest} - */ - public static final class NamedEntityUpdateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityUpdateRequest) - NamedEntityUpdateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityUpdateRequest.newBuilder() to construct. - private NamedEntityUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityUpdateRequest() { - resourceType_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityUpdateRequest( - 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(); - - resourceType_ = rawValue; - break; - } - case 18: { - flyteidl.admin.Common.NamedEntityIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.admin.Common.NamedEntityIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.admin.Common.NamedEntityMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.admin.Common.NamedEntityMetadata.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 flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityUpdateRequest.class, flyteidl.admin.Common.NamedEntityUpdateRequest.Builder.class); - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; - private int resourceType_; - /** - *
-     * Resource type of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Resource type of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - - public static final int ID_FIELD_NUMBER = 2; - private flyteidl.admin.Common.NamedEntityIdentifier id_; - /** - *
-     * Identifier of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Identifier of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Identifier of the metadata to update
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int METADATA_FIELD_NUMBER = 3; - private flyteidl.admin.Common.NamedEntityMetadata metadata_; - /** - *
-     * Metadata object to set as the new value
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Metadata object to set as the new value
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadata getMetadata() { - return metadata_ == null ? flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Metadata object to set as the new value
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadataOrBuilder 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 (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - output.writeEnum(1, resourceType_); - } - if (id_ != null) { - output.writeMessage(2, getId()); - } - if (metadata_ != null) { - output.writeMessage(3, getMetadata()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); - } - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getId()); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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 flyteidl.admin.Common.NamedEntityUpdateRequest)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityUpdateRequest other = (flyteidl.admin.Common.NamedEntityUpdateRequest) obj; - - if (resourceType_ != other.resourceType_) return false; - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().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 flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityUpdateRequest 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 to set the referenced named entity state to the configured value.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityUpdateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityUpdateRequest) - flyteidl.admin.Common.NamedEntityUpdateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityUpdateRequest.class, flyteidl.admin.Common.NamedEntityUpdateRequest.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityUpdateRequest.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(); - resourceType_ = 0; - - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateRequest getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityUpdateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateRequest build() { - flyteidl.admin.Common.NamedEntityUpdateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateRequest buildPartial() { - flyteidl.admin.Common.NamedEntityUpdateRequest result = new flyteidl.admin.Common.NamedEntityUpdateRequest(this); - result.resourceType_ = resourceType_; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.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 flyteidl.admin.Common.NamedEntityUpdateRequest) { - return mergeFrom((flyteidl.admin.Common.NamedEntityUpdateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityUpdateRequest other) { - if (other == flyteidl.admin.Common.NamedEntityUpdateRequest.getDefaultInstance()) return this; - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (other.hasId()) { - mergeId(other.getId()); - } - 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 { - flyteidl.admin.Common.NamedEntityUpdateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityUpdateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Resource type of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Resource type of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Resource type of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - /** - *
-       * Resource type of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceType(flyteidl.core.IdentifierOuterClass.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Resource type of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private flyteidl.admin.Common.NamedEntityIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> idBuilder_; - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId( - flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder mergeId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.admin.Common.NamedEntityIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Identifier of the metadata to update
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.Common.NamedEntityMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityMetadata, flyteidl.admin.Common.NamedEntityMetadata.Builder, flyteidl.admin.Common.NamedEntityMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder setMetadata(flyteidl.admin.Common.NamedEntityMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder setMetadata( - flyteidl.admin.Common.NamedEntityMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder mergeMetadata(flyteidl.admin.Common.NamedEntityMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.admin.Common.NamedEntityMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - public flyteidl.admin.Common.NamedEntityMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.admin.Common.NamedEntityMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Metadata object to set as the new value
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityMetadata metadata = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityMetadata, flyteidl.admin.Common.NamedEntityMetadata.Builder, flyteidl.admin.Common.NamedEntityMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityMetadata, flyteidl.admin.Common.NamedEntityMetadata.Builder, flyteidl.admin.Common.NamedEntityMetadataOrBuilder>( - 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:flyteidl.admin.NamedEntityUpdateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityUpdateRequest) - private static final flyteidl.admin.Common.NamedEntityUpdateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityUpdateRequest(); - } - - public static flyteidl.admin.Common.NamedEntityUpdateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityUpdateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityUpdateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NamedEntityUpdateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NamedEntityUpdateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityUpdateResponse} - */ - public static final class NamedEntityUpdateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NamedEntityUpdateResponse) - NamedEntityUpdateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use NamedEntityUpdateResponse.newBuilder() to construct. - private NamedEntityUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NamedEntityUpdateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NamedEntityUpdateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityUpdateResponse.class, flyteidl.admin.Common.NamedEntityUpdateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.NamedEntityUpdateResponse)) { - return super.equals(obj); - } - flyteidl.admin.Common.NamedEntityUpdateResponse other = (flyteidl.admin.Common.NamedEntityUpdateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.NamedEntityUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.NamedEntityUpdateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NamedEntityUpdateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NamedEntityUpdateResponse) - flyteidl.admin.Common.NamedEntityUpdateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.NamedEntityUpdateResponse.class, flyteidl.admin.Common.NamedEntityUpdateResponse.Builder.class); - } - - // Construct using flyteidl.admin.Common.NamedEntityUpdateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_NamedEntityUpdateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateResponse getDefaultInstanceForType() { - return flyteidl.admin.Common.NamedEntityUpdateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateResponse build() { - flyteidl.admin.Common.NamedEntityUpdateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateResponse buildPartial() { - flyteidl.admin.Common.NamedEntityUpdateResponse result = new flyteidl.admin.Common.NamedEntityUpdateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.NamedEntityUpdateResponse) { - return mergeFrom((flyteidl.admin.Common.NamedEntityUpdateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.NamedEntityUpdateResponse other) { - if (other == flyteidl.admin.Common.NamedEntityUpdateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.NamedEntityUpdateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.NamedEntityUpdateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NamedEntityUpdateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NamedEntityUpdateResponse) - private static final flyteidl.admin.Common.NamedEntityUpdateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.NamedEntityUpdateResponse(); - } - - public static flyteidl.admin.Common.NamedEntityUpdateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NamedEntityUpdateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NamedEntityUpdateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.NamedEntityUpdateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ObjectGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ObjectGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates a unique version of resource.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * Indicates a unique version of resource.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * Indicates a unique version of resource.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * Shared request structure to fetch a single resource.
-   * Resources include: Task, Workflow, LaunchPlan
-   * 
- * - * Protobuf type {@code flyteidl.admin.ObjectGetRequest} - */ - public static final class ObjectGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ObjectGetRequest) - ObjectGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ObjectGetRequest.newBuilder() to construct. - private ObjectGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ObjectGetRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ObjectGetRequest( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ObjectGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ObjectGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.ObjectGetRequest.class, flyteidl.admin.Common.ObjectGetRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * Indicates a unique version of resource.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Indicates a unique version of resource.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * Indicates a unique version of resource.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.ObjectGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.Common.ObjectGetRequest other = (flyteidl.admin.Common.ObjectGetRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.ObjectGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.ObjectGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.ObjectGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.ObjectGetRequest 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; - } - /** - *
-     * Shared request structure to fetch a single resource.
-     * Resources include: Task, Workflow, LaunchPlan
-     * 
- * - * Protobuf type {@code flyteidl.admin.ObjectGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ObjectGetRequest) - flyteidl.admin.Common.ObjectGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ObjectGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ObjectGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.ObjectGetRequest.class, flyteidl.admin.Common.ObjectGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.Common.ObjectGetRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ObjectGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.ObjectGetRequest getDefaultInstanceForType() { - return flyteidl.admin.Common.ObjectGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.ObjectGetRequest build() { - flyteidl.admin.Common.ObjectGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.ObjectGetRequest buildPartial() { - flyteidl.admin.Common.ObjectGetRequest result = new flyteidl.admin.Common.ObjectGetRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.ObjectGetRequest) { - return mergeFrom((flyteidl.admin.Common.ObjectGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.ObjectGetRequest other) { - if (other == flyteidl.admin.Common.ObjectGetRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.ObjectGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.ObjectGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Indicates a unique version of resource.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ObjectGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ObjectGetRequest) - private static final flyteidl.admin.Common.ObjectGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.ObjectGetRequest(); - } - - public static flyteidl.admin.Common.ObjectGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ObjectGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.ObjectGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ResourceListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ResourceListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the resource.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the resource.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - flyteidl.admin.Common.NamedEntityIdentifier getId(); - /** - *
-     * id represents the unique identifier of the resource.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - } - /** - *
-   * Shared request structure to retrieve a list of resources.
-   * Resources include: Task, Workflow, LaunchPlan
-   * 
- * - * Protobuf type {@code flyteidl.admin.ResourceListRequest} - */ - public static final class ResourceListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ResourceListRequest) - ResourceListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ResourceListRequest.newBuilder() to construct. - private ResourceListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ResourceListRequest() { - token_ = ""; - filters_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ResourceListRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.Common.NamedEntityIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.admin.Common.NamedEntityIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - - limit_ = input.readUInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ResourceListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ResourceListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.ResourceListRequest.class, flyteidl.admin.Common.ResourceListRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.admin.Common.NamedEntityIdentifier id_; - /** - *
-     * id represents the unique identifier of the resource.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the resource.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the resource.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int LIMIT_FIELD_NUMBER = 2; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTERS_FIELD_NUMBER = 4; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (limit_ != 0) { - output.writeUInt32(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filters_); - } - if (sortBy_ != null) { - output.writeMessage(5, getSortBy()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, token_); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filters_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSortBy()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.ResourceListRequest)) { - return super.equals(obj); - } - flyteidl.admin.Common.ResourceListRequest other = (flyteidl.admin.Common.ResourceListRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!getFilters() - .equals(other.getFilters())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.ResourceListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.ResourceListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.ResourceListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.ResourceListRequest 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; - } - /** - *
-     * Shared request structure to retrieve a list of resources.
-     * Resources include: Task, Workflow, LaunchPlan
-     * 
- * - * Protobuf type {@code flyteidl.admin.ResourceListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ResourceListRequest) - flyteidl.admin.Common.ResourceListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ResourceListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ResourceListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.ResourceListRequest.class, flyteidl.admin.Common.ResourceListRequest.Builder.class); - } - - // Construct using flyteidl.admin.Common.ResourceListRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - limit_ = 0; - - token_ = ""; - - filters_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_ResourceListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.ResourceListRequest getDefaultInstanceForType() { - return flyteidl.admin.Common.ResourceListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.ResourceListRequest build() { - flyteidl.admin.Common.ResourceListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.ResourceListRequest buildPartial() { - flyteidl.admin.Common.ResourceListRequest result = new flyteidl.admin.Common.ResourceListRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.limit_ = limit_; - result.token_ = token_; - result.filters_ = filters_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.ResourceListRequest) { - return mergeFrom((flyteidl.admin.Common.ResourceListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.ResourceListRequest other) { - if (other == flyteidl.admin.Common.ResourceListRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.ResourceListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.ResourceListRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.Common.NamedEntityIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder setId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder setId( - flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder mergeId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.admin.Common.NamedEntityIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the resource.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ResourceListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ResourceListRequest) - private static final flyteidl.admin.Common.ResourceListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.ResourceListRequest(); - } - - public static flyteidl.admin.Common.ResourceListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.ResourceListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface EmailNotificationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.EmailNotification) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - java.util.List - getRecipientsEmailList(); - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - int getRecipientsEmailCount(); - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - java.lang.String getRecipientsEmail(int index); - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - com.google.protobuf.ByteString - getRecipientsEmailBytes(int index); - } - /** - *
-   * Defines an email notification specification.
-   * 
- * - * Protobuf type {@code flyteidl.admin.EmailNotification} - */ - public static final class EmailNotification extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.EmailNotification) - EmailNotificationOrBuilder { - private static final long serialVersionUID = 0L; - // Use EmailNotification.newBuilder() to construct. - private EmailNotification(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EmailNotification() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EmailNotification( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - recipientsEmail_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_EmailNotification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_EmailNotification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.EmailNotification.class, flyteidl.admin.Common.EmailNotification.Builder.class); - } - - public static final int RECIPIENTS_EMAIL_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList recipientsEmail_; - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_; - } - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-     * The list of email addresses recipients for this notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < recipientsEmail_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, recipientsEmail_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < recipientsEmail_.size(); i++) { - dataSize += computeStringSizeNoTag(recipientsEmail_.getRaw(i)); - } - size += dataSize; - size += 1 * getRecipientsEmailList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.EmailNotification)) { - return super.equals(obj); - } - flyteidl.admin.Common.EmailNotification other = (flyteidl.admin.Common.EmailNotification) obj; - - if (!getRecipientsEmailList() - .equals(other.getRecipientsEmailList())) 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 (getRecipientsEmailCount() > 0) { - hash = (37 * hash) + RECIPIENTS_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + getRecipientsEmailList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.EmailNotification parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.EmailNotification parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.EmailNotification parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.EmailNotification parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.EmailNotification parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.EmailNotification parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.EmailNotification parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.EmailNotification parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.EmailNotification parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.EmailNotification parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.EmailNotification parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.EmailNotification parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.EmailNotification prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines an email notification specification.
-     * 
- * - * Protobuf type {@code flyteidl.admin.EmailNotification} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.EmailNotification) - flyteidl.admin.Common.EmailNotificationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_EmailNotification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_EmailNotification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.EmailNotification.class, flyteidl.admin.Common.EmailNotification.Builder.class); - } - - // Construct using flyteidl.admin.Common.EmailNotification.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(); - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_EmailNotification_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.EmailNotification getDefaultInstanceForType() { - return flyteidl.admin.Common.EmailNotification.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.EmailNotification build() { - flyteidl.admin.Common.EmailNotification result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.EmailNotification buildPartial() { - flyteidl.admin.Common.EmailNotification result = new flyteidl.admin.Common.EmailNotification(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.recipientsEmail_ = recipientsEmail_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.EmailNotification) { - return mergeFrom((flyteidl.admin.Common.EmailNotification)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.EmailNotification other) { - if (other == flyteidl.admin.Common.EmailNotification.getDefaultInstance()) return this; - if (!other.recipientsEmail_.isEmpty()) { - if (recipientsEmail_.isEmpty()) { - recipientsEmail_ = other.recipientsEmail_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRecipientsEmailIsMutable(); - recipientsEmail_.addAll(other.recipientsEmail_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.EmailNotification parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.EmailNotification) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureRecipientsEmailIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(recipientsEmail_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_.getUnmodifiableView(); - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder setRecipientsEmail( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmail( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addAllRecipientsEmail( - java.lang.Iterable values) { - ensureRecipientsEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, recipientsEmail_); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder clearRecipientsEmail() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses recipients for this notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.EmailNotification) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EmailNotification) - private static final flyteidl.admin.Common.EmailNotification DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.EmailNotification(); - } - - public static flyteidl.admin.Common.EmailNotification getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EmailNotification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EmailNotification(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.EmailNotification getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PagerDutyNotificationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.PagerDutyNotification) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - java.util.List - getRecipientsEmailList(); - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - int getRecipientsEmailCount(); - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - java.lang.String getRecipientsEmail(int index); - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - com.google.protobuf.ByteString - getRecipientsEmailBytes(int index); - } - /** - *
-   * Defines a pager duty notification specification.
-   * 
- * - * Protobuf type {@code flyteidl.admin.PagerDutyNotification} - */ - public static final class PagerDutyNotification extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.PagerDutyNotification) - PagerDutyNotificationOrBuilder { - private static final long serialVersionUID = 0L; - // Use PagerDutyNotification.newBuilder() to construct. - private PagerDutyNotification(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PagerDutyNotification() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PagerDutyNotification( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - recipientsEmail_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_PagerDutyNotification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_PagerDutyNotification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.PagerDutyNotification.class, flyteidl.admin.Common.PagerDutyNotification.Builder.class); - } - - public static final int RECIPIENTS_EMAIL_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList recipientsEmail_; - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_; - } - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-     * Currently, PagerDuty notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < recipientsEmail_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, recipientsEmail_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < recipientsEmail_.size(); i++) { - dataSize += computeStringSizeNoTag(recipientsEmail_.getRaw(i)); - } - size += dataSize; - size += 1 * getRecipientsEmailList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.PagerDutyNotification)) { - return super.equals(obj); - } - flyteidl.admin.Common.PagerDutyNotification other = (flyteidl.admin.Common.PagerDutyNotification) obj; - - if (!getRecipientsEmailList() - .equals(other.getRecipientsEmailList())) 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 (getRecipientsEmailCount() > 0) { - hash = (37 * hash) + RECIPIENTS_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + getRecipientsEmailList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.PagerDutyNotification parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.PagerDutyNotification parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.PagerDutyNotification parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.PagerDutyNotification prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a pager duty notification specification.
-     * 
- * - * Protobuf type {@code flyteidl.admin.PagerDutyNotification} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.PagerDutyNotification) - flyteidl.admin.Common.PagerDutyNotificationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_PagerDutyNotification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_PagerDutyNotification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.PagerDutyNotification.class, flyteidl.admin.Common.PagerDutyNotification.Builder.class); - } - - // Construct using flyteidl.admin.Common.PagerDutyNotification.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(); - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_PagerDutyNotification_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.PagerDutyNotification getDefaultInstanceForType() { - return flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.PagerDutyNotification build() { - flyteidl.admin.Common.PagerDutyNotification result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.PagerDutyNotification buildPartial() { - flyteidl.admin.Common.PagerDutyNotification result = new flyteidl.admin.Common.PagerDutyNotification(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.recipientsEmail_ = recipientsEmail_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.PagerDutyNotification) { - return mergeFrom((flyteidl.admin.Common.PagerDutyNotification)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.PagerDutyNotification other) { - if (other == flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance()) return this; - if (!other.recipientsEmail_.isEmpty()) { - if (recipientsEmail_.isEmpty()) { - recipientsEmail_ = other.recipientsEmail_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRecipientsEmailIsMutable(); - recipientsEmail_.addAll(other.recipientsEmail_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.PagerDutyNotification parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.PagerDutyNotification) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureRecipientsEmailIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(recipientsEmail_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_.getUnmodifiableView(); - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder setRecipientsEmail( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmail( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addAllRecipientsEmail( - java.lang.Iterable values) { - ensureRecipientsEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, recipientsEmail_); - onChanged(); - return this; - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder clearRecipientsEmail() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * Currently, PagerDuty notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.PagerDutyNotification) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.PagerDutyNotification) - private static final flyteidl.admin.Common.PagerDutyNotification DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.PagerDutyNotification(); - } - - public static flyteidl.admin.Common.PagerDutyNotification getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PagerDutyNotification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PagerDutyNotification(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.PagerDutyNotification getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SlackNotificationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SlackNotification) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - java.util.List - getRecipientsEmailList(); - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - int getRecipientsEmailCount(); - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - java.lang.String getRecipientsEmail(int index); - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - com.google.protobuf.ByteString - getRecipientsEmailBytes(int index); - } - /** - *
-   * Defines a slack notification specification.
-   * 
- * - * Protobuf type {@code flyteidl.admin.SlackNotification} - */ - public static final class SlackNotification extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SlackNotification) - SlackNotificationOrBuilder { - private static final long serialVersionUID = 0L; - // Use SlackNotification.newBuilder() to construct. - private SlackNotification(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SlackNotification() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SlackNotification( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - recipientsEmail_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_SlackNotification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_SlackNotification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.SlackNotification.class, flyteidl.admin.Common.SlackNotification.Builder.class); - } - - public static final int RECIPIENTS_EMAIL_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList recipientsEmail_; - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_; - } - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-     * Currently, Slack notifications leverage email to trigger a notification.
-     * +required
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < recipientsEmail_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, recipientsEmail_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < recipientsEmail_.size(); i++) { - dataSize += computeStringSizeNoTag(recipientsEmail_.getRaw(i)); - } - size += dataSize; - size += 1 * getRecipientsEmailList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.SlackNotification)) { - return super.equals(obj); - } - flyteidl.admin.Common.SlackNotification other = (flyteidl.admin.Common.SlackNotification) obj; - - if (!getRecipientsEmailList() - .equals(other.getRecipientsEmailList())) 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 (getRecipientsEmailCount() > 0) { - hash = (37 * hash) + RECIPIENTS_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + getRecipientsEmailList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.SlackNotification parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.SlackNotification parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.SlackNotification parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.SlackNotification parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.SlackNotification parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.SlackNotification parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.SlackNotification parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.SlackNotification parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.SlackNotification parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.SlackNotification parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.SlackNotification parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.SlackNotification parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.SlackNotification prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a slack notification specification.
-     * 
- * - * Protobuf type {@code flyteidl.admin.SlackNotification} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SlackNotification) - flyteidl.admin.Common.SlackNotificationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_SlackNotification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_SlackNotification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.SlackNotification.class, flyteidl.admin.Common.SlackNotification.Builder.class); - } - - // Construct using flyteidl.admin.Common.SlackNotification.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(); - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_SlackNotification_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.SlackNotification getDefaultInstanceForType() { - return flyteidl.admin.Common.SlackNotification.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.SlackNotification build() { - flyteidl.admin.Common.SlackNotification result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.SlackNotification buildPartial() { - flyteidl.admin.Common.SlackNotification result = new flyteidl.admin.Common.SlackNotification(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.recipientsEmail_ = recipientsEmail_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.SlackNotification) { - return mergeFrom((flyteidl.admin.Common.SlackNotification)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.SlackNotification other) { - if (other == flyteidl.admin.Common.SlackNotification.getDefaultInstance()) return this; - if (!other.recipientsEmail_.isEmpty()) { - if (recipientsEmail_.isEmpty()) { - recipientsEmail_ = other.recipientsEmail_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRecipientsEmailIsMutable(); - recipientsEmail_.addAll(other.recipientsEmail_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.SlackNotification parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.SlackNotification) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureRecipientsEmailIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(recipientsEmail_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_.getUnmodifiableView(); - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder setRecipientsEmail( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmail( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addAllRecipientsEmail( - java.lang.Iterable values) { - ensureRecipientsEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, recipientsEmail_); - onChanged(); - return this; - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder clearRecipientsEmail() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * Currently, Slack notifications leverage email to trigger a notification.
-       * +required
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SlackNotification) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SlackNotification) - private static final flyteidl.admin.Common.SlackNotification DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.SlackNotification(); - } - - public static flyteidl.admin.Common.SlackNotification getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SlackNotification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SlackNotification(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.SlackNotification getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NotificationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Notification) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - java.util.List getPhasesList(); - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - int getPhasesCount(); - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - flyteidl.core.Execution.WorkflowExecution.Phase getPhases(int index); - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - java.util.List - getPhasesValueList(); - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - int getPhasesValue(int index); - - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - boolean hasEmail(); - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - flyteidl.admin.Common.EmailNotification getEmail(); - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - flyteidl.admin.Common.EmailNotificationOrBuilder getEmailOrBuilder(); - - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - boolean hasPagerDuty(); - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - flyteidl.admin.Common.PagerDutyNotification getPagerDuty(); - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - flyteidl.admin.Common.PagerDutyNotificationOrBuilder getPagerDutyOrBuilder(); - - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - boolean hasSlack(); - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - flyteidl.admin.Common.SlackNotification getSlack(); - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - flyteidl.admin.Common.SlackNotificationOrBuilder getSlackOrBuilder(); - - public flyteidl.admin.Common.Notification.TypeCase getTypeCase(); - } - /** - *
-   * Represents a structure for notifications based on execution status.
-   * The notification content is configured within flyte admin but can be templatized.
-   * Future iterations could expose configuring notifications with custom content.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Notification} - */ - public static final class Notification extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Notification) - NotificationOrBuilder { - private static final long serialVersionUID = 0L; - // Use Notification.newBuilder() to construct. - private Notification(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Notification() { - phases_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Notification( - 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(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - phases_.add(rawValue); - break; - } - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - phases_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - case 18: { - flyteidl.admin.Common.EmailNotification.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((flyteidl.admin.Common.EmailNotification) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.admin.Common.EmailNotification.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.Common.EmailNotification) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; - } - case 26: { - flyteidl.admin.Common.PagerDutyNotification.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((flyteidl.admin.Common.PagerDutyNotification) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.admin.Common.PagerDutyNotification.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.Common.PagerDutyNotification) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; - } - case 34: { - flyteidl.admin.Common.SlackNotification.Builder subBuilder = null; - if (typeCase_ == 4) { - subBuilder = ((flyteidl.admin.Common.SlackNotification) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.admin.Common.SlackNotification.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.Common.SlackNotification) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 4; - 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)) { - phases_ = java.util.Collections.unmodifiableList(phases_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Notification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Notification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Notification.class, flyteidl.admin.Common.Notification.Builder.class); - } - - private int bitField0_; - private int typeCase_ = 0; - private java.lang.Object type_; - public enum TypeCase - implements com.google.protobuf.Internal.EnumLite { - EMAIL(2), - PAGER_DUTY(3), - SLACK(4), - TYPE_NOT_SET(0); - private final int value; - private TypeCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TypeCase valueOf(int value) { - return forNumber(value); - } - - public static TypeCase forNumber(int value) { - switch (value) { - case 2: return EMAIL; - case 3: return PAGER_DUTY; - case 4: return SLACK; - case 0: return TYPE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); - } - - public static final int PHASES_FIELD_NUMBER = 1; - private java.util.List phases_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, flyteidl.core.Execution.WorkflowExecution.Phase> phases_converter_ = - new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, flyteidl.core.Execution.WorkflowExecution.Phase>() { - public flyteidl.core.Execution.WorkflowExecution.Phase convert(java.lang.Integer from) { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.WorkflowExecution.Phase result = flyteidl.core.Execution.WorkflowExecution.Phase.valueOf(from); - return result == null ? flyteidl.core.Execution.WorkflowExecution.Phase.UNRECOGNIZED : result; - } - }; - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public java.util.List getPhasesList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, flyteidl.core.Execution.WorkflowExecution.Phase>(phases_, phases_converter_); - } - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public int getPhasesCount() { - return phases_.size(); - } - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhases(int index) { - return phases_converter_.convert(phases_.get(index)); - } - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public java.util.List - getPhasesValueList() { - return phases_; - } - /** - *
-     * A list of phases to which users can associate the notifications to.
-     * +required
-     * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public int getPhasesValue(int index) { - return phases_.get(index); - } - private int phasesMemoizedSerializedSize; - - public static final int EMAIL_FIELD_NUMBER = 2; - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public boolean hasEmail() { - return typeCase_ == 2; - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public flyteidl.admin.Common.EmailNotification getEmail() { - if (typeCase_ == 2) { - return (flyteidl.admin.Common.EmailNotification) type_; - } - return flyteidl.admin.Common.EmailNotification.getDefaultInstance(); - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public flyteidl.admin.Common.EmailNotificationOrBuilder getEmailOrBuilder() { - if (typeCase_ == 2) { - return (flyteidl.admin.Common.EmailNotification) type_; - } - return flyteidl.admin.Common.EmailNotification.getDefaultInstance(); - } - - public static final int PAGER_DUTY_FIELD_NUMBER = 3; - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public boolean hasPagerDuty() { - return typeCase_ == 3; - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public flyteidl.admin.Common.PagerDutyNotification getPagerDuty() { - if (typeCase_ == 3) { - return (flyteidl.admin.Common.PagerDutyNotification) type_; - } - return flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance(); - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public flyteidl.admin.Common.PagerDutyNotificationOrBuilder getPagerDutyOrBuilder() { - if (typeCase_ == 3) { - return (flyteidl.admin.Common.PagerDutyNotification) type_; - } - return flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance(); - } - - public static final int SLACK_FIELD_NUMBER = 4; - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public boolean hasSlack() { - return typeCase_ == 4; - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public flyteidl.admin.Common.SlackNotification getSlack() { - if (typeCase_ == 4) { - return (flyteidl.admin.Common.SlackNotification) type_; - } - return flyteidl.admin.Common.SlackNotification.getDefaultInstance(); - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public flyteidl.admin.Common.SlackNotificationOrBuilder getSlackOrBuilder() { - if (typeCase_ == 4) { - return (flyteidl.admin.Common.SlackNotification) type_; - } - return flyteidl.admin.Common.SlackNotification.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 { - getSerializedSize(); - if (getPhasesList().size() > 0) { - output.writeUInt32NoTag(10); - output.writeUInt32NoTag(phasesMemoizedSerializedSize); - } - for (int i = 0; i < phases_.size(); i++) { - output.writeEnumNoTag(phases_.get(i)); - } - if (typeCase_ == 2) { - output.writeMessage(2, (flyteidl.admin.Common.EmailNotification) type_); - } - if (typeCase_ == 3) { - output.writeMessage(3, (flyteidl.admin.Common.PagerDutyNotification) type_); - } - if (typeCase_ == 4) { - output.writeMessage(4, (flyteidl.admin.Common.SlackNotification) type_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < phases_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(phases_.get(i)); - } - size += dataSize; - if (!getPhasesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }phasesMemoizedSerializedSize = dataSize; - } - if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.admin.Common.EmailNotification) type_); - } - if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.admin.Common.PagerDutyNotification) type_); - } - if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.admin.Common.SlackNotification) type_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.Notification)) { - return super.equals(obj); - } - flyteidl.admin.Common.Notification other = (flyteidl.admin.Common.Notification) obj; - - if (!phases_.equals(other.phases_)) return false; - if (!getTypeCase().equals(other.getTypeCase())) return false; - switch (typeCase_) { - case 2: - if (!getEmail() - .equals(other.getEmail())) return false; - break; - case 3: - if (!getPagerDuty() - .equals(other.getPagerDuty())) return false; - break; - case 4: - if (!getSlack() - .equals(other.getSlack())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPhasesCount() > 0) { - hash = (37 * hash) + PHASES_FIELD_NUMBER; - hash = (53 * hash) + phases_.hashCode(); - } - switch (typeCase_) { - case 2: - hash = (37 * hash) + EMAIL_FIELD_NUMBER; - hash = (53 * hash) + getEmail().hashCode(); - break; - case 3: - hash = (37 * hash) + PAGER_DUTY_FIELD_NUMBER; - hash = (53 * hash) + getPagerDuty().hashCode(); - break; - case 4: - hash = (37 * hash) + SLACK_FIELD_NUMBER; - hash = (53 * hash) + getSlack().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.Notification parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Notification parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Notification parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Notification parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Notification parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Notification parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Notification parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Notification parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Notification parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Notification parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Notification parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Notification parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.Notification 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; - } - /** - *
-     * Represents a structure for notifications based on execution status.
-     * The notification content is configured within flyte admin but can be templatized.
-     * Future iterations could expose configuring notifications with custom content.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Notification} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Notification) - flyteidl.admin.Common.NotificationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Notification_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Notification_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Notification.class, flyteidl.admin.Common.Notification.Builder.class); - } - - // Construct using flyteidl.admin.Common.Notification.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(); - phases_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - typeCase_ = 0; - type_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Notification_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.Notification getDefaultInstanceForType() { - return flyteidl.admin.Common.Notification.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.Notification build() { - flyteidl.admin.Common.Notification result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.Notification buildPartial() { - flyteidl.admin.Common.Notification result = new flyteidl.admin.Common.Notification(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - phases_ = java.util.Collections.unmodifiableList(phases_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.phases_ = phases_; - if (typeCase_ == 2) { - if (emailBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = emailBuilder_.build(); - } - } - if (typeCase_ == 3) { - if (pagerDutyBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = pagerDutyBuilder_.build(); - } - } - if (typeCase_ == 4) { - if (slackBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = slackBuilder_.build(); - } - } - result.bitField0_ = to_bitField0_; - result.typeCase_ = typeCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.Notification) { - return mergeFrom((flyteidl.admin.Common.Notification)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.Notification other) { - if (other == flyteidl.admin.Common.Notification.getDefaultInstance()) return this; - if (!other.phases_.isEmpty()) { - if (phases_.isEmpty()) { - phases_ = other.phases_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePhasesIsMutable(); - phases_.addAll(other.phases_); - } - onChanged(); - } - switch (other.getTypeCase()) { - case EMAIL: { - mergeEmail(other.getEmail()); - break; - } - case PAGER_DUTY: { - mergePagerDuty(other.getPagerDuty()); - break; - } - case SLACK: { - mergeSlack(other.getSlack()); - break; - } - case TYPE_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.Notification parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.Notification) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int typeCase_ = 0; - private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); - } - - public Builder clearType() { - typeCase_ = 0; - type_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private java.util.List phases_ = - java.util.Collections.emptyList(); - private void ensurePhasesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - phases_ = new java.util.ArrayList(phases_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public java.util.List getPhasesList() { - return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, flyteidl.core.Execution.WorkflowExecution.Phase>(phases_, phases_converter_); - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public int getPhasesCount() { - return phases_.size(); - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhases(int index) { - return phases_converter_.convert(phases_.get(index)); - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public Builder setPhases( - int index, flyteidl.core.Execution.WorkflowExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePhasesIsMutable(); - phases_.set(index, value.getNumber()); - onChanged(); - return this; - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public Builder addPhases(flyteidl.core.Execution.WorkflowExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePhasesIsMutable(); - phases_.add(value.getNumber()); - onChanged(); - return this; - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public Builder addAllPhases( - java.lang.Iterable values) { - ensurePhasesIsMutable(); - for (flyteidl.core.Execution.WorkflowExecution.Phase value : values) { - phases_.add(value.getNumber()); - } - onChanged(); - return this; - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public Builder clearPhases() { - phases_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public java.util.List - getPhasesValueList() { - return java.util.Collections.unmodifiableList(phases_); - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public int getPhasesValue(int index) { - return phases_.get(index); - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public Builder setPhasesValue( - int index, int value) { - ensurePhasesIsMutable(); - phases_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public Builder addPhasesValue(int value) { - ensurePhasesIsMutable(); - phases_.add(value); - onChanged(); - return this; - } - /** - *
-       * A list of phases to which users can associate the notifications to.
-       * +required
-       * 
- * - * repeated .flyteidl.core.WorkflowExecution.Phase phases = 1; - */ - public Builder addAllPhasesValue( - java.lang.Iterable values) { - ensurePhasesIsMutable(); - for (int value : values) { - phases_.add(value); - } - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.EmailNotification, flyteidl.admin.Common.EmailNotification.Builder, flyteidl.admin.Common.EmailNotificationOrBuilder> emailBuilder_; - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public boolean hasEmail() { - return typeCase_ == 2; - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public flyteidl.admin.Common.EmailNotification getEmail() { - if (emailBuilder_ == null) { - if (typeCase_ == 2) { - return (flyteidl.admin.Common.EmailNotification) type_; - } - return flyteidl.admin.Common.EmailNotification.getDefaultInstance(); - } else { - if (typeCase_ == 2) { - return emailBuilder_.getMessage(); - } - return flyteidl.admin.Common.EmailNotification.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public Builder setEmail(flyteidl.admin.Common.EmailNotification value) { - if (emailBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - emailBuilder_.setMessage(value); - } - typeCase_ = 2; - return this; - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public Builder setEmail( - flyteidl.admin.Common.EmailNotification.Builder builderForValue) { - if (emailBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - emailBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 2; - return this; - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public Builder mergeEmail(flyteidl.admin.Common.EmailNotification value) { - if (emailBuilder_ == null) { - if (typeCase_ == 2 && - type_ != flyteidl.admin.Common.EmailNotification.getDefaultInstance()) { - type_ = flyteidl.admin.Common.EmailNotification.newBuilder((flyteidl.admin.Common.EmailNotification) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 2) { - emailBuilder_.mergeFrom(value); - } - emailBuilder_.setMessage(value); - } - typeCase_ = 2; - return this; - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public Builder clearEmail() { - if (emailBuilder_ == null) { - if (typeCase_ == 2) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 2) { - typeCase_ = 0; - type_ = null; - } - emailBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public flyteidl.admin.Common.EmailNotification.Builder getEmailBuilder() { - return getEmailFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - public flyteidl.admin.Common.EmailNotificationOrBuilder getEmailOrBuilder() { - if ((typeCase_ == 2) && (emailBuilder_ != null)) { - return emailBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 2) { - return (flyteidl.admin.Common.EmailNotification) type_; - } - return flyteidl.admin.Common.EmailNotification.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.EmailNotification email = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.EmailNotification, flyteidl.admin.Common.EmailNotification.Builder, flyteidl.admin.Common.EmailNotificationOrBuilder> - getEmailFieldBuilder() { - if (emailBuilder_ == null) { - if (!(typeCase_ == 2)) { - type_ = flyteidl.admin.Common.EmailNotification.getDefaultInstance(); - } - emailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.EmailNotification, flyteidl.admin.Common.EmailNotification.Builder, flyteidl.admin.Common.EmailNotificationOrBuilder>( - (flyteidl.admin.Common.EmailNotification) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 2; - onChanged();; - return emailBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.PagerDutyNotification, flyteidl.admin.Common.PagerDutyNotification.Builder, flyteidl.admin.Common.PagerDutyNotificationOrBuilder> pagerDutyBuilder_; - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public boolean hasPagerDuty() { - return typeCase_ == 3; - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public flyteidl.admin.Common.PagerDutyNotification getPagerDuty() { - if (pagerDutyBuilder_ == null) { - if (typeCase_ == 3) { - return (flyteidl.admin.Common.PagerDutyNotification) type_; - } - return flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance(); - } else { - if (typeCase_ == 3) { - return pagerDutyBuilder_.getMessage(); - } - return flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public Builder setPagerDuty(flyteidl.admin.Common.PagerDutyNotification value) { - if (pagerDutyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - pagerDutyBuilder_.setMessage(value); - } - typeCase_ = 3; - return this; - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public Builder setPagerDuty( - flyteidl.admin.Common.PagerDutyNotification.Builder builderForValue) { - if (pagerDutyBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - pagerDutyBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 3; - return this; - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public Builder mergePagerDuty(flyteidl.admin.Common.PagerDutyNotification value) { - if (pagerDutyBuilder_ == null) { - if (typeCase_ == 3 && - type_ != flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance()) { - type_ = flyteidl.admin.Common.PagerDutyNotification.newBuilder((flyteidl.admin.Common.PagerDutyNotification) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 3) { - pagerDutyBuilder_.mergeFrom(value); - } - pagerDutyBuilder_.setMessage(value); - } - typeCase_ = 3; - return this; - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public Builder clearPagerDuty() { - if (pagerDutyBuilder_ == null) { - if (typeCase_ == 3) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 3) { - typeCase_ = 0; - type_ = null; - } - pagerDutyBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public flyteidl.admin.Common.PagerDutyNotification.Builder getPagerDutyBuilder() { - return getPagerDutyFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - public flyteidl.admin.Common.PagerDutyNotificationOrBuilder getPagerDutyOrBuilder() { - if ((typeCase_ == 3) && (pagerDutyBuilder_ != null)) { - return pagerDutyBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 3) { - return (flyteidl.admin.Common.PagerDutyNotification) type_; - } - return flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.PagerDutyNotification pager_duty = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.PagerDutyNotification, flyteidl.admin.Common.PagerDutyNotification.Builder, flyteidl.admin.Common.PagerDutyNotificationOrBuilder> - getPagerDutyFieldBuilder() { - if (pagerDutyBuilder_ == null) { - if (!(typeCase_ == 3)) { - type_ = flyteidl.admin.Common.PagerDutyNotification.getDefaultInstance(); - } - pagerDutyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.PagerDutyNotification, flyteidl.admin.Common.PagerDutyNotification.Builder, flyteidl.admin.Common.PagerDutyNotificationOrBuilder>( - (flyteidl.admin.Common.PagerDutyNotification) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 3; - onChanged();; - return pagerDutyBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.SlackNotification, flyteidl.admin.Common.SlackNotification.Builder, flyteidl.admin.Common.SlackNotificationOrBuilder> slackBuilder_; - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public boolean hasSlack() { - return typeCase_ == 4; - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public flyteidl.admin.Common.SlackNotification getSlack() { - if (slackBuilder_ == null) { - if (typeCase_ == 4) { - return (flyteidl.admin.Common.SlackNotification) type_; - } - return flyteidl.admin.Common.SlackNotification.getDefaultInstance(); - } else { - if (typeCase_ == 4) { - return slackBuilder_.getMessage(); - } - return flyteidl.admin.Common.SlackNotification.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public Builder setSlack(flyteidl.admin.Common.SlackNotification value) { - if (slackBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - slackBuilder_.setMessage(value); - } - typeCase_ = 4; - return this; - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public Builder setSlack( - flyteidl.admin.Common.SlackNotification.Builder builderForValue) { - if (slackBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - slackBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 4; - return this; - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public Builder mergeSlack(flyteidl.admin.Common.SlackNotification value) { - if (slackBuilder_ == null) { - if (typeCase_ == 4 && - type_ != flyteidl.admin.Common.SlackNotification.getDefaultInstance()) { - type_ = flyteidl.admin.Common.SlackNotification.newBuilder((flyteidl.admin.Common.SlackNotification) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 4) { - slackBuilder_.mergeFrom(value); - } - slackBuilder_.setMessage(value); - } - typeCase_ = 4; - return this; - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public Builder clearSlack() { - if (slackBuilder_ == null) { - if (typeCase_ == 4) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 4) { - typeCase_ = 0; - type_ = null; - } - slackBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public flyteidl.admin.Common.SlackNotification.Builder getSlackBuilder() { - return getSlackFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - public flyteidl.admin.Common.SlackNotificationOrBuilder getSlackOrBuilder() { - if ((typeCase_ == 4) && (slackBuilder_ != null)) { - return slackBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 4) { - return (flyteidl.admin.Common.SlackNotification) type_; - } - return flyteidl.admin.Common.SlackNotification.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.SlackNotification slack = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.SlackNotification, flyteidl.admin.Common.SlackNotification.Builder, flyteidl.admin.Common.SlackNotificationOrBuilder> - getSlackFieldBuilder() { - if (slackBuilder_ == null) { - if (!(typeCase_ == 4)) { - type_ = flyteidl.admin.Common.SlackNotification.getDefaultInstance(); - } - slackBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.SlackNotification, flyteidl.admin.Common.SlackNotification.Builder, flyteidl.admin.Common.SlackNotificationOrBuilder>( - (flyteidl.admin.Common.SlackNotification) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 4; - onChanged();; - return slackBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Notification) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Notification) - private static final flyteidl.admin.Common.Notification DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.Notification(); - } - - public static flyteidl.admin.Common.Notification getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Notification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Notification(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.Notification getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface UrlBlobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.UrlBlob) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Actual url value.
-     * 
- * - * string url = 1; - */ - java.lang.String getUrl(); - /** - *
-     * Actual url value.
-     * 
- * - * string url = 1; - */ - com.google.protobuf.ByteString - getUrlBytes(); - - /** - *
-     * Represents the size of the file accessible at the above url.
-     * 
- * - * int64 bytes = 2; - */ - long getBytes(); - } - /** - *
-   * Represents a string url and associated metadata used throughout the platform.
-   * 
- * - * Protobuf type {@code flyteidl.admin.UrlBlob} - */ - @java.lang.Deprecated public static final class UrlBlob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.UrlBlob) - UrlBlobOrBuilder { - private static final long serialVersionUID = 0L; - // Use UrlBlob.newBuilder() to construct. - private UrlBlob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UrlBlob() { - url_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UrlBlob( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - url_ = s; - break; - } - case 16: { - - bytes_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_UrlBlob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_UrlBlob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.UrlBlob.class, flyteidl.admin.Common.UrlBlob.Builder.class); - } - - public static final int URL_FIELD_NUMBER = 1; - private volatile java.lang.Object url_; - /** - *
-     * Actual url value.
-     * 
- * - * string url = 1; - */ - public java.lang.String getUrl() { - java.lang.Object ref = url_; - 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(); - url_ = s; - return s; - } - } - /** - *
-     * Actual url value.
-     * 
- * - * string url = 1; - */ - public com.google.protobuf.ByteString - getUrlBytes() { - java.lang.Object ref = url_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - url_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BYTES_FIELD_NUMBER = 2; - private long bytes_; - /** - *
-     * Represents the size of the file accessible at the above url.
-     * 
- * - * int64 bytes = 2; - */ - public long getBytes() { - return bytes_; - } - - 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 (!getUrlBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); - } - if (bytes_ != 0L) { - output.writeInt64(2, bytes_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getUrlBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_); - } - if (bytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, bytes_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.UrlBlob)) { - return super.equals(obj); - } - flyteidl.admin.Common.UrlBlob other = (flyteidl.admin.Common.UrlBlob) obj; - - if (!getUrl() - .equals(other.getUrl())) return false; - if (getBytes() - != other.getBytes()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + URL_FIELD_NUMBER; - hash = (53 * hash) + getUrl().hashCode(); - hash = (37 * hash) + BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBytes()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.UrlBlob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.UrlBlob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.UrlBlob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.UrlBlob parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.UrlBlob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.UrlBlob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.UrlBlob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.UrlBlob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.UrlBlob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.UrlBlob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.UrlBlob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.UrlBlob parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.UrlBlob 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; - } - /** - *
-     * Represents a string url and associated metadata used throughout the platform.
-     * 
- * - * Protobuf type {@code flyteidl.admin.UrlBlob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.UrlBlob) - flyteidl.admin.Common.UrlBlobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_UrlBlob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_UrlBlob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.UrlBlob.class, flyteidl.admin.Common.UrlBlob.Builder.class); - } - - // Construct using flyteidl.admin.Common.UrlBlob.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(); - url_ = ""; - - bytes_ = 0L; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_UrlBlob_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.UrlBlob getDefaultInstanceForType() { - return flyteidl.admin.Common.UrlBlob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.UrlBlob build() { - flyteidl.admin.Common.UrlBlob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.UrlBlob buildPartial() { - flyteidl.admin.Common.UrlBlob result = new flyteidl.admin.Common.UrlBlob(this); - result.url_ = url_; - result.bytes_ = bytes_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.UrlBlob) { - return mergeFrom((flyteidl.admin.Common.UrlBlob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.UrlBlob other) { - if (other == flyteidl.admin.Common.UrlBlob.getDefaultInstance()) return this; - if (!other.getUrl().isEmpty()) { - url_ = other.url_; - onChanged(); - } - if (other.getBytes() != 0L) { - setBytes(other.getBytes()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.UrlBlob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.UrlBlob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object url_ = ""; - /** - *
-       * Actual url value.
-       * 
- * - * string url = 1; - */ - public java.lang.String getUrl() { - java.lang.Object ref = url_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - url_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Actual url value.
-       * 
- * - * string url = 1; - */ - public com.google.protobuf.ByteString - getUrlBytes() { - java.lang.Object ref = url_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - url_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Actual url value.
-       * 
- * - * string url = 1; - */ - public Builder setUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - url_ = value; - onChanged(); - return this; - } - /** - *
-       * Actual url value.
-       * 
- * - * string url = 1; - */ - public Builder clearUrl() { - - url_ = getDefaultInstance().getUrl(); - onChanged(); - return this; - } - /** - *
-       * Actual url value.
-       * 
- * - * string url = 1; - */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - url_ = value; - onChanged(); - return this; - } - - private long bytes_ ; - /** - *
-       * Represents the size of the file accessible at the above url.
-       * 
- * - * int64 bytes = 2; - */ - public long getBytes() { - return bytes_; - } - /** - *
-       * Represents the size of the file accessible at the above url.
-       * 
- * - * int64 bytes = 2; - */ - public Builder setBytes(long value) { - - bytes_ = value; - onChanged(); - return this; - } - /** - *
-       * Represents the size of the file accessible at the above url.
-       * 
- * - * int64 bytes = 2; - */ - public Builder clearBytes() { - - bytes_ = 0L; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.UrlBlob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.UrlBlob) - private static final flyteidl.admin.Common.UrlBlob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.UrlBlob(); - } - - public static flyteidl.admin.Common.UrlBlob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UrlBlob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UrlBlob(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.UrlBlob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LabelsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Labels) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - int getValuesCount(); - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - boolean containsValues( - java.lang.String key); - /** - * Use {@link #getValuesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getValues(); - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - java.util.Map - getValuesMap(); - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - java.lang.String getValuesOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - java.lang.String getValuesOrThrow( - java.lang.String key); - } - /** - *
-   * Label values to be applied to an execution resource.
-   * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
-   * to specify how to merge labels defined at registration and execution time.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Labels} - */ - public static final class Labels extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Labels) - LabelsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Labels.newBuilder() to construct. - private Labels(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Labels() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Labels( - 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)) { - values_ = com.google.protobuf.MapField.newMapField( - ValuesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - values__ = input.readMessage( - ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - values_.getMutableMap().put( - values__.getKey(), values__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Labels_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValues(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Labels_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Labels.class, flyteidl.admin.Common.Labels.Builder.class); - } - - public static final int VALUES_FIELD_NUMBER = 1; - private static final class ValuesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.admin.Common.internal_static_flyteidl_admin_Labels_ValuesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { - if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); - } - return values_; - } - - public int getValuesCount() { - return internalGetValues().getMap().size(); - } - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValues().getMap().containsKey(key); - } - /** - * Use {@link #getValuesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValues() { - return getValuesMap(); - } - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public java.util.Map getValuesMap() { - return internalGetValues().getMap(); - } - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Map of custom labels to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValues(), - ValuesDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetValues().getMap().entrySet()) { - com.google.protobuf.MapEntry - values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values__); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.Labels)) { - return super.equals(obj); - } - flyteidl.admin.Common.Labels other = (flyteidl.admin.Common.Labels) obj; - - if (!internalGetValues().equals( - other.internalGetValues())) 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 (!internalGetValues().getMap().isEmpty()) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + internalGetValues().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.Labels parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Labels parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Labels parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Labels parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Labels parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Labels parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Labels parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Labels parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Labels parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Labels parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Labels parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Labels parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.Labels 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; - } - /** - *
-     * Label values to be applied to an execution resource.
-     * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
-     * to specify how to merge labels defined at registration and execution time.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Labels} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Labels) - flyteidl.admin.Common.LabelsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Labels_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValues(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableValues(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Labels_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Labels.class, flyteidl.admin.Common.Labels.Builder.class); - } - - // Construct using flyteidl.admin.Common.Labels.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(); - internalGetMutableValues().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Labels_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.Labels getDefaultInstanceForType() { - return flyteidl.admin.Common.Labels.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.Labels build() { - flyteidl.admin.Common.Labels result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.Labels buildPartial() { - flyteidl.admin.Common.Labels result = new flyteidl.admin.Common.Labels(this); - int from_bitField0_ = bitField0_; - result.values_ = internalGetValues(); - result.values_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.Labels) { - return mergeFrom((flyteidl.admin.Common.Labels)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.Labels other) { - if (other == flyteidl.admin.Common.Labels.getDefaultInstance()) return this; - internalGetMutableValues().mergeFrom( - other.internalGetValues()); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.Labels parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.Labels) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { - if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); - } - return values_; - } - private com.google.protobuf.MapField - internalGetMutableValues() { - onChanged();; - if (values_ == null) { - values_ = com.google.protobuf.MapField.newMapField( - ValuesDefaultEntryHolder.defaultEntry); - } - if (!values_.isMutable()) { - values_ = values_.copy(); - } - return values_; - } - - public int getValuesCount() { - return internalGetValues().getMap().size(); - } - /** - *
-       * Map of custom labels to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValues().getMap().containsKey(key); - } - /** - * Use {@link #getValuesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValues() { - return getValuesMap(); - } - /** - *
-       * Map of custom labels to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public java.util.Map getValuesMap() { - return internalGetValues().getMap(); - } - /** - *
-       * Map of custom labels to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Map of custom labels to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearValues() { - internalGetMutableValues().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Map of custom labels to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public Builder removeValues( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValues().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableValues() { - return internalGetMutableValues().getMutableMap(); - } - /** - *
-       * Map of custom labels to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - public Builder putValues( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValues().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Map of custom labels to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public Builder putAllValues( - java.util.Map values) { - internalGetMutableValues().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Labels) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Labels) - private static final flyteidl.admin.Common.Labels DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.Labels(); - } - - public static flyteidl.admin.Common.Labels getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Labels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Labels(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.Labels getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AnnotationsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Annotations) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - int getValuesCount(); - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - boolean containsValues( - java.lang.String key); - /** - * Use {@link #getValuesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getValues(); - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - java.util.Map - getValuesMap(); - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - java.lang.String getValuesOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - java.lang.String getValuesOrThrow( - java.lang.String key); - } - /** - *
-   * Annotation values to be applied to an execution resource.
-   * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
-   * to specify how to merge annotations defined at registration and execution time.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Annotations} - */ - public static final class Annotations extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Annotations) - AnnotationsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Annotations.newBuilder() to construct. - private Annotations(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Annotations() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Annotations( - 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)) { - values_ = com.google.protobuf.MapField.newMapField( - ValuesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - values__ = input.readMessage( - ValuesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - values_.getMutableMap().put( - values__.getKey(), values__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Annotations_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValues(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Annotations_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Annotations.class, flyteidl.admin.Common.Annotations.Builder.class); - } - - public static final int VALUES_FIELD_NUMBER = 1; - private static final class ValuesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.admin.Common.internal_static_flyteidl_admin_Annotations_ValuesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { - if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); - } - return values_; - } - - public int getValuesCount() { - return internalGetValues().getMap().size(); - } - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValues().getMap().containsKey(key); - } - /** - * Use {@link #getValuesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValues() { - return getValuesMap(); - } - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public java.util.Map getValuesMap() { - return internalGetValues().getMap(); - } - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Map of custom annotations to be applied to the execution resource.
-     * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValues(), - ValuesDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetValues().getMap().entrySet()) { - com.google.protobuf.MapEntry - values__ = ValuesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values__); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.Annotations)) { - return super.equals(obj); - } - flyteidl.admin.Common.Annotations other = (flyteidl.admin.Common.Annotations) obj; - - if (!internalGetValues().equals( - other.internalGetValues())) 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 (!internalGetValues().getMap().isEmpty()) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + internalGetValues().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.Annotations parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Annotations parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Annotations parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Annotations parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Annotations parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Annotations parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Annotations parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Annotations parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Annotations parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Annotations parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Annotations parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Annotations parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.Annotations 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; - } - /** - *
-     * Annotation values to be applied to an execution resource.
-     * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
-     * to specify how to merge annotations defined at registration and execution time.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Annotations} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Annotations) - flyteidl.admin.Common.AnnotationsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Annotations_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValues(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableValues(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Annotations_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Annotations.class, flyteidl.admin.Common.Annotations.Builder.class); - } - - // Construct using flyteidl.admin.Common.Annotations.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(); - internalGetMutableValues().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Annotations_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.Annotations getDefaultInstanceForType() { - return flyteidl.admin.Common.Annotations.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.Annotations build() { - flyteidl.admin.Common.Annotations result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.Annotations buildPartial() { - flyteidl.admin.Common.Annotations result = new flyteidl.admin.Common.Annotations(this); - int from_bitField0_ = bitField0_; - result.values_ = internalGetValues(); - result.values_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.Annotations) { - return mergeFrom((flyteidl.admin.Common.Annotations)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.Annotations other) { - if (other == flyteidl.admin.Common.Annotations.getDefaultInstance()) return this; - internalGetMutableValues().mergeFrom( - other.internalGetValues()); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.Annotations parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.Annotations) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> values_; - private com.google.protobuf.MapField - internalGetValues() { - if (values_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValuesDefaultEntryHolder.defaultEntry); - } - return values_; - } - private com.google.protobuf.MapField - internalGetMutableValues() { - onChanged();; - if (values_ == null) { - values_ = com.google.protobuf.MapField.newMapField( - ValuesDefaultEntryHolder.defaultEntry); - } - if (!values_.isMutable()) { - values_ = values_.copy(); - } - return values_; - } - - public int getValuesCount() { - return internalGetValues().getMap().size(); - } - /** - *
-       * Map of custom annotations to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public boolean containsValues( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValues().getMap().containsKey(key); - } - /** - * Use {@link #getValuesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValues() { - return getValuesMap(); - } - /** - *
-       * Map of custom annotations to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public java.util.Map getValuesMap() { - return internalGetValues().getMap(); - } - /** - *
-       * Map of custom annotations to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Map of custom annotations to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public java.lang.String getValuesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValues().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearValues() { - internalGetMutableValues().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Map of custom annotations to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public Builder removeValues( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValues().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableValues() { - return internalGetMutableValues().getMutableMap(); - } - /** - *
-       * Map of custom annotations to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - public Builder putValues( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValues().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Map of custom annotations to be applied to the execution resource.
-       * 
- * - * map<string, string> values = 1; - */ - - public Builder putAllValues( - java.util.Map values) { - internalGetMutableValues().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Annotations) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Annotations) - private static final flyteidl.admin.Common.Annotations DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.Annotations(); - } - - public static flyteidl.admin.Common.Annotations getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Annotations parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Annotations(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.Annotations getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface EnvsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Envs) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - java.util.List - getValuesList(); - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - flyteidl.core.Literals.KeyValuePair getValues(int index); - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - int getValuesCount(); - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - java.util.List - getValuesOrBuilderList(); - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - flyteidl.core.Literals.KeyValuePairOrBuilder getValuesOrBuilder( - int index); - } - /** - *
-   * Environment variable values to be applied to an execution resource.
-   * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
-   * to specify how to merge environment variables defined at registration and execution time.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Envs} - */ - public static final class Envs extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Envs) - EnvsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Envs.newBuilder() to construct. - private Envs(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Envs() { - values_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Envs( - 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)) { - values_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - values_.add( - input.readMessage(flyteidl.core.Literals.KeyValuePair.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)) { - values_ = java.util.Collections.unmodifiableList(values_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Envs.class, flyteidl.admin.Common.Envs.Builder.class); - } - - public static final int VALUES_FIELD_NUMBER = 1; - private java.util.List values_; - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public java.util.List getValuesList() { - return values_; - } - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public java.util.List - getValuesOrBuilderList() { - return values_; - } - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public int getValuesCount() { - return values_.size(); - } - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public flyteidl.core.Literals.KeyValuePair getValues(int index) { - return values_.get(index); - } - /** - *
-     * Map of custom environment variables to be applied to the execution resource.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public flyteidl.core.Literals.KeyValuePairOrBuilder getValuesOrBuilder( - int index) { - return values_.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 < values_.size(); i++) { - output.writeMessage(1, values_.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 < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values_.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.admin.Common.Envs)) { - return super.equals(obj); - } - flyteidl.admin.Common.Envs other = (flyteidl.admin.Common.Envs) obj; - - if (!getValuesList() - .equals(other.getValuesList())) 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 (getValuesCount() > 0) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + getValuesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.Envs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Envs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Envs parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Envs parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Envs parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.Envs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.Envs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Envs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Envs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Envs parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.Envs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.Envs parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.Envs 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; - } - /** - *
-     * Environment variable values to be applied to an execution resource.
-     * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
-     * to specify how to merge environment variables defined at registration and execution time.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Envs} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Envs) - flyteidl.admin.Common.EnvsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.Envs.class, flyteidl.admin.Common.Envs.Builder.class); - } - - // Construct using flyteidl.admin.Common.Envs.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getValuesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (valuesBuilder_ == null) { - values_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - valuesBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.Envs getDefaultInstanceForType() { - return flyteidl.admin.Common.Envs.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.Envs build() { - flyteidl.admin.Common.Envs result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.Envs buildPartial() { - flyteidl.admin.Common.Envs result = new flyteidl.admin.Common.Envs(this); - int from_bitField0_ = bitField0_; - if (valuesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - values_ = java.util.Collections.unmodifiableList(values_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.values_ = values_; - } else { - result.values_ = valuesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.Envs) { - return mergeFrom((flyteidl.admin.Common.Envs)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.Envs other) { - if (other == flyteidl.admin.Common.Envs.getDefaultInstance()) return this; - if (valuesBuilder_ == null) { - if (!other.values_.isEmpty()) { - if (values_.isEmpty()) { - values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureValuesIsMutable(); - values_.addAll(other.values_); - } - onChanged(); - } - } else { - if (!other.values_.isEmpty()) { - if (valuesBuilder_.isEmpty()) { - valuesBuilder_.dispose(); - valuesBuilder_ = null; - values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValuesFieldBuilder() : null; - } else { - valuesBuilder_.addAllMessages(other.values_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.Envs parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.Envs) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List values_ = - java.util.Collections.emptyList(); - private void ensureValuesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - values_ = new java.util.ArrayList(values_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> valuesBuilder_; - - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public java.util.List getValuesList() { - if (valuesBuilder_ == null) { - return java.util.Collections.unmodifiableList(values_); - } else { - return valuesBuilder_.getMessageList(); - } - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public int getValuesCount() { - if (valuesBuilder_ == null) { - return values_.size(); - } else { - return valuesBuilder_.getCount(); - } - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public flyteidl.core.Literals.KeyValuePair getValues(int index) { - if (valuesBuilder_ == null) { - return values_.get(index); - } else { - return valuesBuilder_.getMessage(index); - } - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder setValues( - int index, flyteidl.core.Literals.KeyValuePair value) { - if (valuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.set(index, value); - onChanged(); - } else { - valuesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder setValues( - int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.set(index, builderForValue.build()); - onChanged(); - } else { - valuesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder addValues(flyteidl.core.Literals.KeyValuePair value) { - if (valuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(value); - onChanged(); - } else { - valuesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder addValues( - int index, flyteidl.core.Literals.KeyValuePair value) { - if (valuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(index, value); - onChanged(); - } else { - valuesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder addValues( - flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(builderForValue.build()); - onChanged(); - } else { - valuesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder addValues( - int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(index, builderForValue.build()); - onChanged(); - } else { - valuesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder addAllValues( - java.lang.Iterable values) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); - onChanged(); - } else { - valuesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder clearValues() { - if (valuesBuilder_ == null) { - values_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - valuesBuilder_.clear(); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public Builder removeValues(int index) { - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.remove(index); - onChanged(); - } else { - valuesBuilder_.remove(index); - } - return this; - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public flyteidl.core.Literals.KeyValuePair.Builder getValuesBuilder( - int index) { - return getValuesFieldBuilder().getBuilder(index); - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public flyteidl.core.Literals.KeyValuePairOrBuilder getValuesOrBuilder( - int index) { - if (valuesBuilder_ == null) { - return values_.get(index); } else { - return valuesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public java.util.List - getValuesOrBuilderList() { - if (valuesBuilder_ != null) { - return valuesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(values_); - } - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public flyteidl.core.Literals.KeyValuePair.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder( - flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public flyteidl.core.Literals.KeyValuePair.Builder addValuesBuilder( - int index) { - return getValuesFieldBuilder().addBuilder( - index, flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); - } - /** - *
-       * Map of custom environment variables to be applied to the execution resource.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair values = 1; - */ - public java.util.List - getValuesBuilderList() { - return getValuesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> - getValuesFieldBuilder() { - if (valuesBuilder_ == null) { - valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder>( - values_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - values_ = null; - } - return valuesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Envs) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Envs) - private static final flyteidl.admin.Common.Envs DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.Envs(); - } - - public static flyteidl.admin.Common.Envs getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Envs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Envs(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.Envs getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface AuthRoleOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.AuthRole) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - java.lang.String getAssumableIamRole(); - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - com.google.protobuf.ByteString - getAssumableIamRoleBytes(); - - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - java.lang.String getKubernetesServiceAccount(); - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - com.google.protobuf.ByteString - getKubernetesServiceAccountBytes(); - } - /** - *
-   * Defines permissions associated with executions created by this launch plan spec.
-   * Use either of these roles when they have permissions required by your workflow execution.
-   * Deprecated.
-   * 
- * - * Protobuf type {@code flyteidl.admin.AuthRole} - */ - @java.lang.Deprecated public static final class AuthRole extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.AuthRole) - AuthRoleOrBuilder { - private static final long serialVersionUID = 0L; - // Use AuthRole.newBuilder() to construct. - private AuthRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AuthRole() { - assumableIamRole_ = ""; - kubernetesServiceAccount_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AuthRole( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - assumableIamRole_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - kubernetesServiceAccount_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.AuthRole.class, flyteidl.admin.Common.AuthRole.Builder.class); - } - - public static final int ASSUMABLE_IAM_ROLE_FIELD_NUMBER = 1; - private volatile java.lang.Object assumableIamRole_; - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - public java.lang.String getAssumableIamRole() { - java.lang.Object ref = assumableIamRole_; - 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(); - assumableIamRole_ = s; - return s; - } - } - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - public com.google.protobuf.ByteString - getAssumableIamRoleBytes() { - java.lang.Object ref = assumableIamRole_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - assumableIamRole_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER = 2; - private volatile java.lang.Object kubernetesServiceAccount_; - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - public java.lang.String getKubernetesServiceAccount() { - java.lang.Object ref = kubernetesServiceAccount_; - 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(); - kubernetesServiceAccount_ = s; - return s; - } - } - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { - java.lang.Object ref = kubernetesServiceAccount_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kubernetesServiceAccount_ = 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 (!getAssumableIamRoleBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assumableIamRole_); - } - if (!getKubernetesServiceAccountBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kubernetesServiceAccount_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getAssumableIamRoleBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, assumableIamRole_); - } - if (!getKubernetesServiceAccountBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kubernetesServiceAccount_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.AuthRole)) { - return super.equals(obj); - } - flyteidl.admin.Common.AuthRole other = (flyteidl.admin.Common.AuthRole) obj; - - if (!getAssumableIamRole() - .equals(other.getAssumableIamRole())) return false; - if (!getKubernetesServiceAccount() - .equals(other.getKubernetesServiceAccount())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ASSUMABLE_IAM_ROLE_FIELD_NUMBER; - hash = (53 * hash) + getAssumableIamRole().hashCode(); - hash = (37 * hash) + KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER; - hash = (53 * hash) + getKubernetesServiceAccount().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.AuthRole parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.AuthRole parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.AuthRole parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.AuthRole parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.AuthRole parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.AuthRole parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.AuthRole parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.AuthRole parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.AuthRole parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.AuthRole parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.AuthRole parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.AuthRole parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.AuthRole prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines permissions associated with executions created by this launch plan spec.
-     * Use either of these roles when they have permissions required by your workflow execution.
-     * Deprecated.
-     * 
- * - * Protobuf type {@code flyteidl.admin.AuthRole} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.AuthRole) - flyteidl.admin.Common.AuthRoleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.AuthRole.class, flyteidl.admin.Common.AuthRole.Builder.class); - } - - // Construct using flyteidl.admin.Common.AuthRole.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(); - assumableIamRole_ = ""; - - kubernetesServiceAccount_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.AuthRole getDefaultInstanceForType() { - return flyteidl.admin.Common.AuthRole.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.AuthRole build() { - flyteidl.admin.Common.AuthRole result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.AuthRole buildPartial() { - flyteidl.admin.Common.AuthRole result = new flyteidl.admin.Common.AuthRole(this); - result.assumableIamRole_ = assumableIamRole_; - result.kubernetesServiceAccount_ = kubernetesServiceAccount_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.AuthRole) { - return mergeFrom((flyteidl.admin.Common.AuthRole)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.AuthRole other) { - if (other == flyteidl.admin.Common.AuthRole.getDefaultInstance()) return this; - if (!other.getAssumableIamRole().isEmpty()) { - assumableIamRole_ = other.assumableIamRole_; - onChanged(); - } - if (!other.getKubernetesServiceAccount().isEmpty()) { - kubernetesServiceAccount_ = other.kubernetesServiceAccount_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.AuthRole parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.AuthRole) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object assumableIamRole_ = ""; - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public java.lang.String getAssumableIamRole() { - java.lang.Object ref = assumableIamRole_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - assumableIamRole_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public com.google.protobuf.ByteString - getAssumableIamRoleBytes() { - java.lang.Object ref = assumableIamRole_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - assumableIamRole_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder setAssumableIamRole( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - assumableIamRole_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder clearAssumableIamRole() { - - assumableIamRole_ = getDefaultInstance().getAssumableIamRole(); - onChanged(); - return this; - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder setAssumableIamRoleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - assumableIamRole_ = value; - onChanged(); - return this; - } - - private java.lang.Object kubernetesServiceAccount_ = ""; - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public java.lang.String getKubernetesServiceAccount() { - java.lang.Object ref = kubernetesServiceAccount_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kubernetesServiceAccount_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { - java.lang.Object ref = kubernetesServiceAccount_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kubernetesServiceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public Builder setKubernetesServiceAccount( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - kubernetesServiceAccount_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public Builder clearKubernetesServiceAccount() { - - kubernetesServiceAccount_ = getDefaultInstance().getKubernetesServiceAccount(); - onChanged(); - return this; - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public Builder setKubernetesServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - kubernetesServiceAccount_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.AuthRole) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.AuthRole) - private static final flyteidl.admin.Common.AuthRole DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.AuthRole(); - } - - public static flyteidl.admin.Common.AuthRole getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthRole parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthRole(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.AuthRole getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RawOutputDataConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.RawOutputDataConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; - */ - java.lang.String getOutputLocationPrefix(); - /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; - */ - com.google.protobuf.ByteString - getOutputLocationPrefixBytes(); - } - /** - *
-   * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-   * See https://github.com/flyteorg/flyte/issues/211 for more background information.
-   * 
- * - * Protobuf type {@code flyteidl.admin.RawOutputDataConfig} - */ - public static final class RawOutputDataConfig extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.RawOutputDataConfig) - RawOutputDataConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use RawOutputDataConfig.newBuilder() to construct. - private RawOutputDataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RawOutputDataConfig() { - outputLocationPrefix_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RawOutputDataConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - outputLocationPrefix_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.RawOutputDataConfig.class, flyteidl.admin.Common.RawOutputDataConfig.Builder.class); - } - - public static final int OUTPUT_LOCATION_PREFIX_FIELD_NUMBER = 1; - private volatile java.lang.Object outputLocationPrefix_; - /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; - */ - public java.lang.String getOutputLocationPrefix() { - java.lang.Object ref = outputLocationPrefix_; - 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(); - outputLocationPrefix_ = s; - return s; - } - } - /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; - */ - public com.google.protobuf.ByteString - getOutputLocationPrefixBytes() { - java.lang.Object ref = outputLocationPrefix_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputLocationPrefix_ = 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 (!getOutputLocationPrefixBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputLocationPrefix_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getOutputLocationPrefixBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputLocationPrefix_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.RawOutputDataConfig)) { - return super.equals(obj); - } - flyteidl.admin.Common.RawOutputDataConfig other = (flyteidl.admin.Common.RawOutputDataConfig) obj; - - if (!getOutputLocationPrefix() - .equals(other.getOutputLocationPrefix())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + OUTPUT_LOCATION_PREFIX_FIELD_NUMBER; - hash = (53 * hash) + getOutputLocationPrefix().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.RawOutputDataConfig 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; - } - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * See https://github.com/flyteorg/flyte/issues/211 for more background information.
-     * 
- * - * Protobuf type {@code flyteidl.admin.RawOutputDataConfig} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.RawOutputDataConfig) - flyteidl.admin.Common.RawOutputDataConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.RawOutputDataConfig.class, flyteidl.admin.Common.RawOutputDataConfig.Builder.class); - } - - // Construct using flyteidl.admin.Common.RawOutputDataConfig.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(); - outputLocationPrefix_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { - return flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig build() { - flyteidl.admin.Common.RawOutputDataConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig buildPartial() { - flyteidl.admin.Common.RawOutputDataConfig result = new flyteidl.admin.Common.RawOutputDataConfig(this); - result.outputLocationPrefix_ = outputLocationPrefix_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.RawOutputDataConfig) { - return mergeFrom((flyteidl.admin.Common.RawOutputDataConfig)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.RawOutputDataConfig other) { - if (other == flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance()) return this; - if (!other.getOutputLocationPrefix().isEmpty()) { - outputLocationPrefix_ = other.outputLocationPrefix_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.RawOutputDataConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.RawOutputDataConfig) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object outputLocationPrefix_ = ""; - /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; - */ - public java.lang.String getOutputLocationPrefix() { - java.lang.Object ref = outputLocationPrefix_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - outputLocationPrefix_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; - */ - public com.google.protobuf.ByteString - getOutputLocationPrefixBytes() { - java.lang.Object ref = outputLocationPrefix_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputLocationPrefix_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; - */ - public Builder setOutputLocationPrefix( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - outputLocationPrefix_ = value; - onChanged(); - return this; - } - /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; - */ - public Builder clearOutputLocationPrefix() { - - outputLocationPrefix_ = getDefaultInstance().getOutputLocationPrefix(); - onChanged(); - return this; - } - /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; - */ - public Builder setOutputLocationPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - outputLocationPrefix_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.RawOutputDataConfig) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.RawOutputDataConfig) - private static final flyteidl.admin.Common.RawOutputDataConfig DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.RawOutputDataConfig(); - } - - public static flyteidl.admin.Common.RawOutputDataConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RawOutputDataConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RawOutputDataConfig(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface FlyteURLsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.FlyteURLs) - com.google.protobuf.MessageOrBuilder { - - /** - * string inputs = 1; - */ - java.lang.String getInputs(); - /** - * string inputs = 1; - */ - com.google.protobuf.ByteString - getInputsBytes(); - - /** - * string outputs = 2; - */ - java.lang.String getOutputs(); - /** - * string outputs = 2; - */ - com.google.protobuf.ByteString - getOutputsBytes(); - - /** - * string deck = 3; - */ - java.lang.String getDeck(); - /** - * string deck = 3; - */ - com.google.protobuf.ByteString - getDeckBytes(); - } - /** - *
-   * These URLs are returned as part of node and task execution data requests.
-   * 
- * - * Protobuf type {@code flyteidl.admin.FlyteURLs} - */ - public static final class FlyteURLs extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.FlyteURLs) - FlyteURLsOrBuilder { - private static final long serialVersionUID = 0L; - // Use FlyteURLs.newBuilder() to construct. - private FlyteURLs(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private FlyteURLs() { - inputs_ = ""; - outputs_ = ""; - deck_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FlyteURLs( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - inputs_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - outputs_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - deck_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.FlyteURLs.class, flyteidl.admin.Common.FlyteURLs.Builder.class); - } - - public static final int INPUTS_FIELD_NUMBER = 1; - private volatile java.lang.Object inputs_; - /** - * string inputs = 1; - */ - public java.lang.String getInputs() { - java.lang.Object ref = inputs_; - 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(); - inputs_ = s; - return s; - } - } - /** - * string inputs = 1; - */ - public com.google.protobuf.ByteString - getInputsBytes() { - java.lang.Object ref = inputs_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputs_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OUTPUTS_FIELD_NUMBER = 2; - private volatile java.lang.Object outputs_; - /** - * string outputs = 2; - */ - public java.lang.String getOutputs() { - java.lang.Object ref = outputs_; - 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(); - outputs_ = s; - return s; - } - } - /** - * string outputs = 2; - */ - public com.google.protobuf.ByteString - getOutputsBytes() { - java.lang.Object ref = outputs_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputs_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DECK_FIELD_NUMBER = 3; - private volatile java.lang.Object deck_; - /** - * string deck = 3; - */ - public java.lang.String getDeck() { - java.lang.Object ref = deck_; - 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(); - deck_ = s; - return s; - } - } - /** - * string deck = 3; - */ - public com.google.protobuf.ByteString - getDeckBytes() { - java.lang.Object ref = deck_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deck_ = 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 (!getInputsBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputs_); - } - if (!getOutputsBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, outputs_); - } - if (!getDeckBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deck_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getInputsBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputs_); - } - if (!getOutputsBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, outputs_); - } - if (!getDeckBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deck_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Common.FlyteURLs)) { - return super.equals(obj); - } - flyteidl.admin.Common.FlyteURLs other = (flyteidl.admin.Common.FlyteURLs) obj; - - if (!getInputs() - .equals(other.getInputs())) return false; - if (!getOutputs() - .equals(other.getOutputs())) return false; - if (!getDeck() - .equals(other.getDeck())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - hash = (37 * hash) + DECK_FIELD_NUMBER; - hash = (53 * hash) + getDeck().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Common.FlyteURLs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.FlyteURLs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.FlyteURLs parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Common.FlyteURLs parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Common.FlyteURLs 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; - } - /** - *
-     * These URLs are returned as part of node and task execution data requests.
-     * 
- * - * Protobuf type {@code flyteidl.admin.FlyteURLs} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.FlyteURLs) - flyteidl.admin.Common.FlyteURLsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.FlyteURLs.class, flyteidl.admin.Common.FlyteURLs.Builder.class); - } - - // Construct using flyteidl.admin.Common.FlyteURLs.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(); - inputs_ = ""; - - outputs_ = ""; - - deck_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Common.FlyteURLs getDefaultInstanceForType() { - return flyteidl.admin.Common.FlyteURLs.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Common.FlyteURLs build() { - flyteidl.admin.Common.FlyteURLs result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Common.FlyteURLs buildPartial() { - flyteidl.admin.Common.FlyteURLs result = new flyteidl.admin.Common.FlyteURLs(this); - result.inputs_ = inputs_; - result.outputs_ = outputs_; - result.deck_ = deck_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.FlyteURLs) { - return mergeFrom((flyteidl.admin.Common.FlyteURLs)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Common.FlyteURLs other) { - if (other == flyteidl.admin.Common.FlyteURLs.getDefaultInstance()) return this; - if (!other.getInputs().isEmpty()) { - inputs_ = other.inputs_; - onChanged(); - } - if (!other.getOutputs().isEmpty()) { - outputs_ = other.outputs_; - onChanged(); - } - if (!other.getDeck().isEmpty()) { - deck_ = other.deck_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Common.FlyteURLs parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.FlyteURLs) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object inputs_ = ""; - /** - * string inputs = 1; - */ - public java.lang.String getInputs() { - java.lang.Object ref = inputs_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - inputs_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string inputs = 1; - */ - public com.google.protobuf.ByteString - getInputsBytes() { - java.lang.Object ref = inputs_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputs_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string inputs = 1; - */ - public Builder setInputs( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - inputs_ = value; - onChanged(); - return this; - } - /** - * string inputs = 1; - */ - public Builder clearInputs() { - - inputs_ = getDefaultInstance().getInputs(); - onChanged(); - return this; - } - /** - * string inputs = 1; - */ - public Builder setInputsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - inputs_ = value; - onChanged(); - return this; - } - - private java.lang.Object outputs_ = ""; - /** - * string outputs = 2; - */ - public java.lang.String getOutputs() { - java.lang.Object ref = outputs_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - outputs_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string outputs = 2; - */ - public com.google.protobuf.ByteString - getOutputsBytes() { - java.lang.Object ref = outputs_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputs_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string outputs = 2; - */ - public Builder setOutputs( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - outputs_ = value; - onChanged(); - return this; - } - /** - * string outputs = 2; - */ - public Builder clearOutputs() { - - outputs_ = getDefaultInstance().getOutputs(); - onChanged(); - return this; - } - /** - * string outputs = 2; - */ - public Builder setOutputsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - outputs_ = value; - onChanged(); - return this; - } - - private java.lang.Object deck_ = ""; - /** - * string deck = 3; - */ - public java.lang.String getDeck() { - java.lang.Object ref = deck_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - deck_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string deck = 3; - */ - public com.google.protobuf.ByteString - getDeckBytes() { - java.lang.Object ref = deck_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deck_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string deck = 3; - */ - public Builder setDeck( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - deck_ = value; - onChanged(); - return this; - } - /** - * string deck = 3; - */ - public Builder clearDeck() { - - deck_ = getDefaultInstance().getDeck(); - onChanged(); - return this; - } - /** - * string deck = 3; - */ - public Builder setDeckBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - deck_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.FlyteURLs) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.FlyteURLs) - private static final flyteidl.admin.Common.FlyteURLs DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.FlyteURLs(); - } - - public static flyteidl.admin.Common.FlyteURLs getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FlyteURLs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FlyteURLs(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Common.FlyteURLs getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityIdentifier_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityIdentifier_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntity_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntity_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Sort_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Sort_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityIdentifierList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityIdentifierList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityUpdateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityUpdateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NamedEntityUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NamedEntityUpdateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ObjectGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ObjectGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ResourceListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ResourceListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_EmailNotification_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_EmailNotification_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_PagerDutyNotification_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_PagerDutyNotification_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SlackNotification_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SlackNotification_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Notification_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Notification_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_UrlBlob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_UrlBlob_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Labels_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Labels_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Labels_ValuesEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Labels_ValuesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Annotations_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Annotations_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Annotations_ValuesEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Annotations_ValuesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Envs_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Envs_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_AuthRole_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_AuthRole_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_FlyteURLs_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_FlyteURLs_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\033flyteidl/admin/common.proto\022\016flyteidl." + - "admin\032\035flyteidl/core/execution.proto\032\036fl" + - "yteidl/core/identifier.proto\032\034flyteidl/c" + - "ore/literals.proto\032\037google/protobuf/time" + - "stamp.proto\"S\n\025NamedEntityIdentifier\022\017\n\007" + - "project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 " + - "\001(\t\022\013\n\003org\030\004 \001(\t\"[\n\023NamedEntityMetadata\022" + - "\023\n\013description\030\001 \001(\t\022/\n\005state\030\002 \001(\0162 .fl" + - "yteidl.admin.NamedEntityState\"\253\001\n\013NamedE" + - "ntity\0222\n\rresource_type\030\001 \001(\0162\033.flyteidl." + - "core.ResourceType\0221\n\002id\030\002 \001(\0132%.flyteidl" + - ".admin.NamedEntityIdentifier\0225\n\010metadata" + - "\030\003 \001(\0132#.flyteidl.admin.NamedEntityMetad" + - "ata\"r\n\004Sort\022\013\n\003key\030\001 \001(\t\0221\n\tdirection\030\002 " + - "\001(\0162\036.flyteidl.admin.Sort.Direction\"*\n\tD" + - "irection\022\016\n\nDESCENDING\020\000\022\r\n\tASCENDING\020\001\"" + - "\246\001\n NamedEntityIdentifierListRequest\022\017\n\007" + - "project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\r\n\005limit\030\003" + - " \001(\r\022\r\n\005token\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.f" + - "lyteidl.admin.Sort\022\017\n\007filters\030\006 \001(\t\022\013\n\003o" + - "rg\030\007 \001(\t\"\320\001\n\026NamedEntityListRequest\0222\n\rr" + - "esource_type\030\001 \001(\0162\033.flyteidl.core.Resou" + - "rceType\022\017\n\007project\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t" + - "\022\r\n\005limit\030\004 \001(\r\022\r\n\005token\030\005 \001(\t\022%\n\007sort_b" + - "y\030\006 \001(\0132\024.flyteidl.admin.Sort\022\017\n\007filters" + - "\030\007 \001(\t\022\013\n\003org\030\010 \001(\t\"c\n\031NamedEntityIdenti" + - "fierList\0227\n\010entities\030\001 \003(\0132%.flyteidl.ad" + - "min.NamedEntityIdentifier\022\r\n\005token\030\002 \001(\t" + - "\"O\n\017NamedEntityList\022-\n\010entities\030\001 \003(\0132\033." + - "flyteidl.admin.NamedEntity\022\r\n\005token\030\002 \001(" + - "\t\"~\n\025NamedEntityGetRequest\0222\n\rresource_t" + - "ype\030\001 \001(\0162\033.flyteidl.core.ResourceType\0221" + - "\n\002id\030\002 \001(\0132%.flyteidl.admin.NamedEntityI" + - "dentifier\"\270\001\n\030NamedEntityUpdateRequest\0222" + - "\n\rresource_type\030\001 \001(\0162\033.flyteidl.core.Re" + - "sourceType\0221\n\002id\030\002 \001(\0132%.flyteidl.admin." + - "NamedEntityIdentifier\0225\n\010metadata\030\003 \001(\0132" + - "#.flyteidl.admin.NamedEntityMetadata\"\033\n\031" + - "NamedEntityUpdateResponse\"9\n\020ObjectGetRe" + - "quest\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identi" + - "fier\"\236\001\n\023ResourceListRequest\0221\n\002id\030\001 \001(\013" + - "2%.flyteidl.admin.NamedEntityIdentifier\022" + - "\r\n\005limit\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filters" + - "\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin" + - ".Sort\"-\n\021EmailNotification\022\030\n\020recipients" + - "_email\030\001 \003(\t\"1\n\025PagerDutyNotification\022\030\n" + - "\020recipients_email\030\001 \003(\t\"-\n\021SlackNotifica" + - "tion\022\030\n\020recipients_email\030\001 \003(\t\"\363\001\n\014Notif" + - "ication\0226\n\006phases\030\001 \003(\0162&.flyteidl.core." + - "WorkflowExecution.Phase\0222\n\005email\030\002 \001(\0132!" + - ".flyteidl.admin.EmailNotificationH\000\022;\n\np" + - "ager_duty\030\003 \001(\0132%.flyteidl.admin.PagerDu" + - "tyNotificationH\000\0222\n\005slack\030\004 \001(\0132!.flytei" + - "dl.admin.SlackNotificationH\000B\006\n\004type\")\n\007" + - "UrlBlob\022\013\n\003url\030\001 \001(\t\022\r\n\005bytes\030\002 \001(\003:\002\030\001\"" + - "k\n\006Labels\0222\n\006values\030\001 \003(\0132\".flyteidl.adm" + - "in.Labels.ValuesEntry\032-\n\013ValuesEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\013Annotati" + - "ons\0227\n\006values\030\001 \003(\0132\'.flyteidl.admin.Ann" + - "otations.ValuesEntry\032-\n\013ValuesEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"3\n\004Envs\022+\n\006v" + - "alues\030\001 \003(\0132\033.flyteidl.core.KeyValuePair" + - "\"N\n\010AuthRole\022\032\n\022assumable_iam_role\030\001 \001(\t" + - "\022\"\n\032kubernetes_service_account\030\002 \001(\t:\002\030\001" + - "\"5\n\023RawOutputDataConfig\022\036\n\026output_locati" + - "on_prefix\030\001 \001(\t\":\n\tFlyteURLs\022\016\n\006inputs\030\001" + - " \001(\t\022\017\n\007outputs\030\002 \001(\t\022\014\n\004deck\030\003 \001(\t*\\\n\020N" + - "amedEntityState\022\027\n\023NAMED_ENTITY_ACTIVE\020\000" + - "\022\031\n\025NAMED_ENTITY_ARCHIVED\020\001\022\024\n\020SYSTEM_GE" + - "NERATED\020\002B=Z;github.com/flyteorg/flyte/f" + - "lyteidl/gen/pb-go/flyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_NamedEntityIdentifier_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_NamedEntityIdentifier_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityIdentifier_descriptor, - new java.lang.String[] { "Project", "Domain", "Name", "Org", }); - internal_static_flyteidl_admin_NamedEntityMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_NamedEntityMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityMetadata_descriptor, - new java.lang.String[] { "Description", "State", }); - internal_static_flyteidl_admin_NamedEntity_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_NamedEntity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntity_descriptor, - new java.lang.String[] { "ResourceType", "Id", "Metadata", }); - internal_static_flyteidl_admin_Sort_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_Sort_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Sort_descriptor, - new java.lang.String[] { "Key", "Direction", }); - internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityIdentifierListRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "Limit", "Token", "SortBy", "Filters", "Org", }); - internal_static_flyteidl_admin_NamedEntityListRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_NamedEntityListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityListRequest_descriptor, - new java.lang.String[] { "ResourceType", "Project", "Domain", "Limit", "Token", "SortBy", "Filters", "Org", }); - internal_static_flyteidl_admin_NamedEntityIdentifierList_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_NamedEntityIdentifierList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityIdentifierList_descriptor, - new java.lang.String[] { "Entities", "Token", }); - internal_static_flyteidl_admin_NamedEntityList_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_NamedEntityList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityList_descriptor, - new java.lang.String[] { "Entities", "Token", }); - internal_static_flyteidl_admin_NamedEntityGetRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_NamedEntityGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityGetRequest_descriptor, - new java.lang.String[] { "ResourceType", "Id", }); - internal_static_flyteidl_admin_NamedEntityUpdateRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_flyteidl_admin_NamedEntityUpdateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityUpdateRequest_descriptor, - new java.lang.String[] { "ResourceType", "Id", "Metadata", }); - internal_static_flyteidl_admin_NamedEntityUpdateResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_flyteidl_admin_NamedEntityUpdateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NamedEntityUpdateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_ObjectGetRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_flyteidl_admin_ObjectGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ObjectGetRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_ResourceListRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_flyteidl_admin_ResourceListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ResourceListRequest_descriptor, - new java.lang.String[] { "Id", "Limit", "Token", "Filters", "SortBy", }); - internal_static_flyteidl_admin_EmailNotification_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_flyteidl_admin_EmailNotification_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_EmailNotification_descriptor, - new java.lang.String[] { "RecipientsEmail", }); - internal_static_flyteidl_admin_PagerDutyNotification_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_flyteidl_admin_PagerDutyNotification_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_PagerDutyNotification_descriptor, - new java.lang.String[] { "RecipientsEmail", }); - internal_static_flyteidl_admin_SlackNotification_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_flyteidl_admin_SlackNotification_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SlackNotification_descriptor, - new java.lang.String[] { "RecipientsEmail", }); - internal_static_flyteidl_admin_Notification_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_flyteidl_admin_Notification_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Notification_descriptor, - new java.lang.String[] { "Phases", "Email", "PagerDuty", "Slack", "Type", }); - internal_static_flyteidl_admin_UrlBlob_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_flyteidl_admin_UrlBlob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_UrlBlob_descriptor, - new java.lang.String[] { "Url", "Bytes", }); - internal_static_flyteidl_admin_Labels_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_flyteidl_admin_Labels_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Labels_descriptor, - new java.lang.String[] { "Values", }); - internal_static_flyteidl_admin_Labels_ValuesEntry_descriptor = - internal_static_flyteidl_admin_Labels_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_admin_Labels_ValuesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Labels_ValuesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_admin_Annotations_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_flyteidl_admin_Annotations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Annotations_descriptor, - new java.lang.String[] { "Values", }); - internal_static_flyteidl_admin_Annotations_ValuesEntry_descriptor = - internal_static_flyteidl_admin_Annotations_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_admin_Annotations_ValuesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Annotations_ValuesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_admin_Envs_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_flyteidl_admin_Envs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Envs_descriptor, - new java.lang.String[] { "Values", }); - internal_static_flyteidl_admin_AuthRole_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_flyteidl_admin_AuthRole_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_AuthRole_descriptor, - new java.lang.String[] { "AssumableIamRole", "KubernetesServiceAccount", }); - internal_static_flyteidl_admin_RawOutputDataConfig_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_RawOutputDataConfig_descriptor, - new java.lang.String[] { "OutputLocationPrefix", }); - internal_static_flyteidl_admin_FlyteURLs_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_flyteidl_admin_FlyteURLs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_FlyteURLs_descriptor, - new java.lang.String[] { "Inputs", "Outputs", "Deck", }); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/DescriptionEntityOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/DescriptionEntityOuterClass.java deleted file mode 100644 index 44ab6d1f61..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/DescriptionEntityOuterClass.java +++ /dev/null @@ -1,6299 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/description_entity.proto - -package flyteidl.admin; - -public final class DescriptionEntityOuterClass { - private DescriptionEntityOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * The format of the long description
-   * 
- * - * Protobuf enum {@code flyteidl.admin.DescriptionFormat} - */ - public enum DescriptionFormat - implements com.google.protobuf.ProtocolMessageEnum { - /** - * DESCRIPTION_FORMAT_UNKNOWN = 0; - */ - DESCRIPTION_FORMAT_UNKNOWN(0), - /** - * DESCRIPTION_FORMAT_MARKDOWN = 1; - */ - DESCRIPTION_FORMAT_MARKDOWN(1), - /** - * DESCRIPTION_FORMAT_HTML = 2; - */ - DESCRIPTION_FORMAT_HTML(2), - /** - *
-     * python default documentation - comments is rst
-     * 
- * - * DESCRIPTION_FORMAT_RST = 3; - */ - DESCRIPTION_FORMAT_RST(3), - UNRECOGNIZED(-1), - ; - - /** - * DESCRIPTION_FORMAT_UNKNOWN = 0; - */ - public static final int DESCRIPTION_FORMAT_UNKNOWN_VALUE = 0; - /** - * DESCRIPTION_FORMAT_MARKDOWN = 1; - */ - public static final int DESCRIPTION_FORMAT_MARKDOWN_VALUE = 1; - /** - * DESCRIPTION_FORMAT_HTML = 2; - */ - public static final int DESCRIPTION_FORMAT_HTML_VALUE = 2; - /** - *
-     * python default documentation - comments is rst
-     * 
- * - * DESCRIPTION_FORMAT_RST = 3; - */ - public static final int DESCRIPTION_FORMAT_RST_VALUE = 3; - - - 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 DescriptionFormat valueOf(int value) { - return forNumber(value); - } - - public static DescriptionFormat forNumber(int value) { - switch (value) { - case 0: return DESCRIPTION_FORMAT_UNKNOWN; - case 1: return DESCRIPTION_FORMAT_MARKDOWN; - case 2: return DESCRIPTION_FORMAT_HTML; - case 3: return DESCRIPTION_FORMAT_RST; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - DescriptionFormat> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DescriptionFormat findValueByNumber(int number) { - return DescriptionFormat.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final DescriptionFormat[] VALUES = values(); - - public static DescriptionFormat 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 DescriptionFormat(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.DescriptionFormat) - } - - public interface DescriptionEntityOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.DescriptionEntity) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the description entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the description entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * id represents the unique identifier of the description entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 2; - */ - java.lang.String getShortDescription(); - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 2; - */ - com.google.protobuf.ByteString - getShortDescriptionBytes(); - - /** - *
-     * Full user description with formatting preserved.
-     * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - boolean hasLongDescription(); - /** - *
-     * Full user description with formatting preserved.
-     * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - flyteidl.admin.DescriptionEntityOuterClass.Description getLongDescription(); - /** - *
-     * Full user description with formatting preserved.
-     * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionOrBuilder getLongDescriptionOrBuilder(); - - /** - *
-     * Optional link to source code used to define this entity.
-     * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - boolean hasSourceCode(); - /** - *
-     * Optional link to source code used to define this entity.
-     * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - flyteidl.admin.DescriptionEntityOuterClass.SourceCode getSourceCode(); - /** - *
-     * Optional link to source code used to define this entity.
-     * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - flyteidl.admin.DescriptionEntityOuterClass.SourceCodeOrBuilder getSourceCodeOrBuilder(); - - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - java.util.List - getTagsList(); - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - int getTagsCount(); - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - java.lang.String getTags(int index); - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - com.google.protobuf.ByteString - getTagsBytes(int index); - } - /** - *
-   * DescriptionEntity contains detailed description for the task/workflow.
-   * Documentation could provide insight into the algorithms, business use case, etc.
-   * 
- * - * Protobuf type {@code flyteidl.admin.DescriptionEntity} - */ - public static final class DescriptionEntity extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.DescriptionEntity) - DescriptionEntityOrBuilder { - private static final long serialVersionUID = 0L; - // Use DescriptionEntity.newBuilder() to construct. - private DescriptionEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DescriptionEntity() { - shortDescription_ = ""; - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DescriptionEntity( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - shortDescription_ = s; - break; - } - case 26: { - flyteidl.admin.DescriptionEntityOuterClass.Description.Builder subBuilder = null; - if (longDescription_ != null) { - subBuilder = longDescription_.toBuilder(); - } - longDescription_ = input.readMessage(flyteidl.admin.DescriptionEntityOuterClass.Description.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(longDescription_); - longDescription_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder subBuilder = null; - if (sourceCode_ != null) { - subBuilder = sourceCode_.toBuilder(); - } - sourceCode_ = input.readMessage(flyteidl.admin.DescriptionEntityOuterClass.SourceCode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sourceCode_); - sourceCode_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - tags_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { - tags_ = tags_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.class, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * id represents the unique identifier of the description entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the description entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the description entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int SHORT_DESCRIPTION_FIELD_NUMBER = 2; - private volatile java.lang.Object shortDescription_; - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 2; - */ - public java.lang.String getShortDescription() { - java.lang.Object ref = shortDescription_; - 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(); - shortDescription_ = s; - return s; - } - } - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 2; - */ - public com.google.protobuf.ByteString - getShortDescriptionBytes() { - java.lang.Object ref = shortDescription_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - shortDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LONG_DESCRIPTION_FIELD_NUMBER = 3; - private flyteidl.admin.DescriptionEntityOuterClass.Description longDescription_; - /** - *
-     * Full user description with formatting preserved.
-     * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public boolean hasLongDescription() { - return longDescription_ != null; - } - /** - *
-     * Full user description with formatting preserved.
-     * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.Description getLongDescription() { - return longDescription_ == null ? flyteidl.admin.DescriptionEntityOuterClass.Description.getDefaultInstance() : longDescription_; - } - /** - *
-     * Full user description with formatting preserved.
-     * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionOrBuilder getLongDescriptionOrBuilder() { - return getLongDescription(); - } - - public static final int SOURCE_CODE_FIELD_NUMBER = 4; - private flyteidl.admin.DescriptionEntityOuterClass.SourceCode sourceCode_; - /** - *
-     * Optional link to source code used to define this entity.
-     * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public boolean hasSourceCode() { - return sourceCode_ != null; - } - /** - *
-     * Optional link to source code used to define this entity.
-     * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public flyteidl.admin.DescriptionEntityOuterClass.SourceCode getSourceCode() { - return sourceCode_ == null ? flyteidl.admin.DescriptionEntityOuterClass.SourceCode.getDefaultInstance() : sourceCode_; - } - /** - *
-     * Optional link to source code used to define this entity.
-     * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public flyteidl.admin.DescriptionEntityOuterClass.SourceCodeOrBuilder getSourceCodeOrBuilder() { - return getSourceCode(); - } - - public static final int TAGS_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList tags_; - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_; - } - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - *
-     * User-specified tags. These are arbitrary and can be used for searching
-     * filtering and discovering tasks.
-     * 
- * - * repeated string tags = 5; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getShortDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shortDescription_); - } - if (longDescription_ != null) { - output.writeMessage(3, getLongDescription()); - } - if (sourceCode_ != null) { - output.writeMessage(4, getSourceCode()); - } - for (int i = 0; i < tags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tags_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getShortDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shortDescription_); - } - if (longDescription_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLongDescription()); - } - if (sourceCode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getSourceCode()); - } - { - int dataSize = 0; - for (int i = 0; i < tags_.size(); i++) { - dataSize += computeStringSizeNoTag(tags_.getRaw(i)); - } - size += dataSize; - size += 1 * getTagsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity)) { - return super.equals(obj); - } - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity other = (flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getShortDescription() - .equals(other.getShortDescription())) return false; - if (hasLongDescription() != other.hasLongDescription()) return false; - if (hasLongDescription()) { - if (!getLongDescription() - .equals(other.getLongDescription())) return false; - } - if (hasSourceCode() != other.hasSourceCode()) return false; - if (hasSourceCode()) { - if (!getSourceCode() - .equals(other.getSourceCode())) return false; - } - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + SHORT_DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getShortDescription().hashCode(); - if (hasLongDescription()) { - hash = (37 * hash) + LONG_DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getLongDescription().hashCode(); - } - if (hasSourceCode()) { - hash = (37 * hash) + SOURCE_CODE_FIELD_NUMBER; - hash = (53 * hash) + getSourceCode().hashCode(); - } - if (getTagsCount() > 0) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + getTagsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity 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; - } - /** - *
-     * DescriptionEntity contains detailed description for the task/workflow.
-     * Documentation could provide insight into the algorithms, business use case, etc.
-     * 
- * - * Protobuf type {@code flyteidl.admin.DescriptionEntity} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.DescriptionEntity) - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.class, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder.class); - } - - // Construct using flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - shortDescription_ = ""; - - if (longDescriptionBuilder_ == null) { - longDescription_ = null; - } else { - longDescription_ = null; - longDescriptionBuilder_ = null; - } - if (sourceCodeBuilder_ == null) { - sourceCode_ = null; - } else { - sourceCode_ = null; - sourceCodeBuilder_ = null; - } - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntity_descriptor; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDefaultInstanceForType() { - return flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity build() { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity buildPartial() { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity result = new flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.shortDescription_ = shortDescription_; - if (longDescriptionBuilder_ == null) { - result.longDescription_ = longDescription_; - } else { - result.longDescription_ = longDescriptionBuilder_.build(); - } - if (sourceCodeBuilder_ == null) { - result.sourceCode_ = sourceCode_; - } else { - result.sourceCode_ = sourceCodeBuilder_.build(); - } - if (((bitField0_ & 0x00000010) != 0)) { - tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.tags_ = tags_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity) { - return mergeFrom((flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity other) { - if (other == flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getShortDescription().isEmpty()) { - shortDescription_ = other.shortDescription_; - onChanged(); - } - if (other.hasLongDescription()) { - mergeLongDescription(other.getLongDescription()); - } - if (other.hasSourceCode()) { - mergeSourceCode(other.getSourceCode()); - } - if (!other.tags_.isEmpty()) { - if (tags_.isEmpty()) { - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureTagsIsMutable(); - tags_.addAll(other.tags_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the description entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object shortDescription_ = ""; - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 2; - */ - public java.lang.String getShortDescription() { - java.lang.Object ref = shortDescription_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - shortDescription_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 2; - */ - public com.google.protobuf.ByteString - getShortDescriptionBytes() { - java.lang.Object ref = shortDescription_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - shortDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 2; - */ - public Builder setShortDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - shortDescription_ = value; - onChanged(); - return this; - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 2; - */ - public Builder clearShortDescription() { - - shortDescription_ = getDefaultInstance().getShortDescription(); - onChanged(); - return this; - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 2; - */ - public Builder setShortDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - shortDescription_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.DescriptionEntityOuterClass.Description longDescription_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.Description, flyteidl.admin.DescriptionEntityOuterClass.Description.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionOrBuilder> longDescriptionBuilder_; - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public boolean hasLongDescription() { - return longDescriptionBuilder_ != null || longDescription_ != null; - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.Description getLongDescription() { - if (longDescriptionBuilder_ == null) { - return longDescription_ == null ? flyteidl.admin.DescriptionEntityOuterClass.Description.getDefaultInstance() : longDescription_; - } else { - return longDescriptionBuilder_.getMessage(); - } - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public Builder setLongDescription(flyteidl.admin.DescriptionEntityOuterClass.Description value) { - if (longDescriptionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - longDescription_ = value; - onChanged(); - } else { - longDescriptionBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public Builder setLongDescription( - flyteidl.admin.DescriptionEntityOuterClass.Description.Builder builderForValue) { - if (longDescriptionBuilder_ == null) { - longDescription_ = builderForValue.build(); - onChanged(); - } else { - longDescriptionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public Builder mergeLongDescription(flyteidl.admin.DescriptionEntityOuterClass.Description value) { - if (longDescriptionBuilder_ == null) { - if (longDescription_ != null) { - longDescription_ = - flyteidl.admin.DescriptionEntityOuterClass.Description.newBuilder(longDescription_).mergeFrom(value).buildPartial(); - } else { - longDescription_ = value; - } - onChanged(); - } else { - longDescriptionBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public Builder clearLongDescription() { - if (longDescriptionBuilder_ == null) { - longDescription_ = null; - onChanged(); - } else { - longDescription_ = null; - longDescriptionBuilder_ = null; - } - - return this; - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.Description.Builder getLongDescriptionBuilder() { - - onChanged(); - return getLongDescriptionFieldBuilder().getBuilder(); - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionOrBuilder getLongDescriptionOrBuilder() { - if (longDescriptionBuilder_ != null) { - return longDescriptionBuilder_.getMessageOrBuilder(); - } else { - return longDescription_ == null ? - flyteidl.admin.DescriptionEntityOuterClass.Description.getDefaultInstance() : longDescription_; - } - } - /** - *
-       * Full user description with formatting preserved.
-       * 
- * - * .flyteidl.admin.Description long_description = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.Description, flyteidl.admin.DescriptionEntityOuterClass.Description.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionOrBuilder> - getLongDescriptionFieldBuilder() { - if (longDescriptionBuilder_ == null) { - longDescriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.Description, flyteidl.admin.DescriptionEntityOuterClass.Description.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionOrBuilder>( - getLongDescription(), - getParentForChildren(), - isClean()); - longDescription_ = null; - } - return longDescriptionBuilder_; - } - - private flyteidl.admin.DescriptionEntityOuterClass.SourceCode sourceCode_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.SourceCode, flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder, flyteidl.admin.DescriptionEntityOuterClass.SourceCodeOrBuilder> sourceCodeBuilder_; - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public boolean hasSourceCode() { - return sourceCodeBuilder_ != null || sourceCode_ != null; - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public flyteidl.admin.DescriptionEntityOuterClass.SourceCode getSourceCode() { - if (sourceCodeBuilder_ == null) { - return sourceCode_ == null ? flyteidl.admin.DescriptionEntityOuterClass.SourceCode.getDefaultInstance() : sourceCode_; - } else { - return sourceCodeBuilder_.getMessage(); - } - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public Builder setSourceCode(flyteidl.admin.DescriptionEntityOuterClass.SourceCode value) { - if (sourceCodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sourceCode_ = value; - onChanged(); - } else { - sourceCodeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public Builder setSourceCode( - flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder builderForValue) { - if (sourceCodeBuilder_ == null) { - sourceCode_ = builderForValue.build(); - onChanged(); - } else { - sourceCodeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public Builder mergeSourceCode(flyteidl.admin.DescriptionEntityOuterClass.SourceCode value) { - if (sourceCodeBuilder_ == null) { - if (sourceCode_ != null) { - sourceCode_ = - flyteidl.admin.DescriptionEntityOuterClass.SourceCode.newBuilder(sourceCode_).mergeFrom(value).buildPartial(); - } else { - sourceCode_ = value; - } - onChanged(); - } else { - sourceCodeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public Builder clearSourceCode() { - if (sourceCodeBuilder_ == null) { - sourceCode_ = null; - onChanged(); - } else { - sourceCode_ = null; - sourceCodeBuilder_ = null; - } - - return this; - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder getSourceCodeBuilder() { - - onChanged(); - return getSourceCodeFieldBuilder().getBuilder(); - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - public flyteidl.admin.DescriptionEntityOuterClass.SourceCodeOrBuilder getSourceCodeOrBuilder() { - if (sourceCodeBuilder_ != null) { - return sourceCodeBuilder_.getMessageOrBuilder(); - } else { - return sourceCode_ == null ? - flyteidl.admin.DescriptionEntityOuterClass.SourceCode.getDefaultInstance() : sourceCode_; - } - } - /** - *
-       * Optional link to source code used to define this entity.
-       * 
- * - * .flyteidl.admin.SourceCode source_code = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.SourceCode, flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder, flyteidl.admin.DescriptionEntityOuterClass.SourceCodeOrBuilder> - getSourceCodeFieldBuilder() { - if (sourceCodeBuilder_ == null) { - sourceCodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.SourceCode, flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder, flyteidl.admin.DescriptionEntityOuterClass.SourceCodeOrBuilder>( - getSourceCode(), - getParentForChildren(), - isClean()); - sourceCode_ = null; - } - return sourceCodeBuilder_; - } - - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00000010; - } - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_.getUnmodifiableView(); - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public Builder setTags( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public Builder addTags( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public Builder addAllTags( - java.lang.Iterable values) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); - onChanged(); - return this; - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public Builder clearTags() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - /** - *
-       * User-specified tags. These are arbitrary and can be used for searching
-       * filtering and discovering tasks.
-       * 
- * - * repeated string tags = 5; - */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.DescriptionEntity) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DescriptionEntity) - private static final flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity(); - } - - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DescriptionEntity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DescriptionEntity(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DescriptionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Description) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * long description - no more than 4KB
-     * 
- * - * string value = 1; - */ - java.lang.String getValue(); - /** - *
-     * long description - no more than 4KB
-     * 
- * - * string value = 1; - */ - com.google.protobuf.ByteString - getValueBytes(); - - /** - *
-     * if the description sizes exceed some threshold we can offload the entire
-     * description proto altogether to an external data store, like S3 rather than store inline in the db
-     * 
- * - * string uri = 2; - */ - java.lang.String getUri(); - /** - *
-     * if the description sizes exceed some threshold we can offload the entire
-     * description proto altogether to an external data store, like S3 rather than store inline in the db
-     * 
- * - * string uri = 2; - */ - com.google.protobuf.ByteString - getUriBytes(); - - /** - *
-     * Format of the long description
-     * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - int getFormatValue(); - /** - *
-     * Format of the long description
-     * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat getFormat(); - - /** - *
-     * Optional link to an icon for the entity
-     * 
- * - * string icon_link = 4; - */ - java.lang.String getIconLink(); - /** - *
-     * Optional link to an icon for the entity
-     * 
- * - * string icon_link = 4; - */ - com.google.protobuf.ByteString - getIconLinkBytes(); - - public flyteidl.admin.DescriptionEntityOuterClass.Description.ContentCase getContentCase(); - } - /** - *
-   * Full user description with formatting preserved. This can be rendered
-   * by clients, such as the console or command line tools with in-tact
-   * formatting.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Description} - */ - public static final class Description extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Description) - DescriptionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Description.newBuilder() to construct. - private Description(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Description() { - format_ = 0; - iconLink_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Description( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - contentCase_ = 1; - content_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - contentCase_ = 2; - content_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - format_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - iconLink_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_Description_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_Description_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.Description.class, flyteidl.admin.DescriptionEntityOuterClass.Description.Builder.class); - } - - private int contentCase_ = 0; - private java.lang.Object content_; - public enum ContentCase - implements com.google.protobuf.Internal.EnumLite { - VALUE(1), - URI(2), - CONTENT_NOT_SET(0); - private final int value; - private ContentCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ContentCase valueOf(int value) { - return forNumber(value); - } - - public static ContentCase forNumber(int value) { - switch (value) { - case 1: return VALUE; - case 2: return URI; - case 0: return CONTENT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ContentCase - getContentCase() { - return ContentCase.forNumber( - contentCase_); - } - - public static final int VALUE_FIELD_NUMBER = 1; - /** - *
-     * long description - no more than 4KB
-     * 
- * - * string value = 1; - */ - public java.lang.String getValue() { - java.lang.Object ref = ""; - if (contentCase_ == 1) { - ref = content_; - } - 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 (contentCase_ == 1) { - content_ = s; - } - return s; - } - } - /** - *
-     * long description - no more than 4KB
-     * 
- * - * string value = 1; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 1) { - ref = content_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (contentCase_ == 1) { - content_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int URI_FIELD_NUMBER = 2; - /** - *
-     * if the description sizes exceed some threshold we can offload the entire
-     * description proto altogether to an external data store, like S3 rather than store inline in the db
-     * 
- * - * string uri = 2; - */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - 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 (contentCase_ == 2) { - content_ = s; - } - return s; - } - } - /** - *
-     * if the description sizes exceed some threshold we can offload the entire
-     * description proto altogether to an external data store, like S3 rather than store inline in the db
-     * 
- * - * string uri = 2; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (contentCase_ == 2) { - content_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FORMAT_FIELD_NUMBER = 3; - private int format_; - /** - *
-     * Format of the long description
-     * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - public int getFormatValue() { - return format_; - } - /** - *
-     * Format of the long description
-     * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat getFormat() { - @SuppressWarnings("deprecation") - flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat result = flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat.valueOf(format_); - return result == null ? flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat.UNRECOGNIZED : result; - } - - public static final int ICON_LINK_FIELD_NUMBER = 4; - private volatile java.lang.Object iconLink_; - /** - *
-     * Optional link to an icon for the entity
-     * 
- * - * string icon_link = 4; - */ - public java.lang.String getIconLink() { - java.lang.Object ref = iconLink_; - 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(); - iconLink_ = s; - return s; - } - } - /** - *
-     * Optional link to an icon for the entity
-     * 
- * - * string icon_link = 4; - */ - public com.google.protobuf.ByteString - getIconLinkBytes() { - java.lang.Object ref = iconLink_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - iconLink_ = 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 (contentCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); - } - if (contentCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_); - } - if (format_ != flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat.DESCRIPTION_FORMAT_UNKNOWN.getNumber()) { - output.writeEnum(3, format_); - } - if (!getIconLinkBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, iconLink_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (contentCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, content_); - } - if (contentCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); - } - if (format_ != flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat.DESCRIPTION_FORMAT_UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, format_); - } - if (!getIconLinkBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, iconLink_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.DescriptionEntityOuterClass.Description)) { - return super.equals(obj); - } - flyteidl.admin.DescriptionEntityOuterClass.Description other = (flyteidl.admin.DescriptionEntityOuterClass.Description) obj; - - if (format_ != other.format_) return false; - if (!getIconLink() - .equals(other.getIconLink())) return false; - if (!getContentCase().equals(other.getContentCase())) return false; - switch (contentCase_) { - case 1: - if (!getValue() - .equals(other.getValue())) return false; - break; - case 2: - if (!getUri() - .equals(other.getUri())) 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) + FORMAT_FIELD_NUMBER; - hash = (53 * hash) + format_; - hash = (37 * hash) + ICON_LINK_FIELD_NUMBER; - hash = (53 * hash) + getIconLink().hashCode(); - switch (contentCase_) { - case 1: - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - break; - case 2: - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.Description parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.DescriptionEntityOuterClass.Description 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; - } - /** - *
-     * Full user description with formatting preserved. This can be rendered
-     * by clients, such as the console or command line tools with in-tact
-     * formatting.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Description} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Description) - flyteidl.admin.DescriptionEntityOuterClass.DescriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_Description_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_Description_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.Description.class, flyteidl.admin.DescriptionEntityOuterClass.Description.Builder.class); - } - - // Construct using flyteidl.admin.DescriptionEntityOuterClass.Description.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(); - format_ = 0; - - iconLink_ = ""; - - contentCase_ = 0; - content_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_Description_descriptor; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.Description getDefaultInstanceForType() { - return flyteidl.admin.DescriptionEntityOuterClass.Description.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.Description build() { - flyteidl.admin.DescriptionEntityOuterClass.Description result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.Description buildPartial() { - flyteidl.admin.DescriptionEntityOuterClass.Description result = new flyteidl.admin.DescriptionEntityOuterClass.Description(this); - if (contentCase_ == 1) { - result.content_ = content_; - } - if (contentCase_ == 2) { - result.content_ = content_; - } - result.format_ = format_; - result.iconLink_ = iconLink_; - result.contentCase_ = contentCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.DescriptionEntityOuterClass.Description) { - return mergeFrom((flyteidl.admin.DescriptionEntityOuterClass.Description)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.DescriptionEntityOuterClass.Description other) { - if (other == flyteidl.admin.DescriptionEntityOuterClass.Description.getDefaultInstance()) return this; - if (other.format_ != 0) { - setFormatValue(other.getFormatValue()); - } - if (!other.getIconLink().isEmpty()) { - iconLink_ = other.iconLink_; - onChanged(); - } - switch (other.getContentCase()) { - case VALUE: { - contentCase_ = 1; - content_ = other.content_; - onChanged(); - break; - } - case URI: { - contentCase_ = 2; - content_ = other.content_; - onChanged(); - break; - } - case CONTENT_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.DescriptionEntityOuterClass.Description parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.DescriptionEntityOuterClass.Description) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int contentCase_ = 0; - private java.lang.Object content_; - public ContentCase - getContentCase() { - return ContentCase.forNumber( - contentCase_); - } - - public Builder clearContent() { - contentCase_ = 0; - content_ = null; - onChanged(); - return this; - } - - - /** - *
-       * long description - no more than 4KB
-       * 
- * - * string value = 1; - */ - public java.lang.String getValue() { - java.lang.Object ref = ""; - if (contentCase_ == 1) { - ref = content_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (contentCase_ == 1) { - content_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * long description - no more than 4KB
-       * 
- * - * string value = 1; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 1) { - ref = content_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (contentCase_ == 1) { - content_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * long description - no more than 4KB
-       * 
- * - * string value = 1; - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - contentCase_ = 1; - content_ = value; - onChanged(); - return this; - } - /** - *
-       * long description - no more than 4KB
-       * 
- * - * string value = 1; - */ - public Builder clearValue() { - if (contentCase_ == 1) { - contentCase_ = 0; - content_ = null; - onChanged(); - } - return this; - } - /** - *
-       * long description - no more than 4KB
-       * 
- * - * string value = 1; - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - contentCase_ = 1; - content_ = value; - onChanged(); - return this; - } - - /** - *
-       * if the description sizes exceed some threshold we can offload the entire
-       * description proto altogether to an external data store, like S3 rather than store inline in the db
-       * 
- * - * string uri = 2; - */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (contentCase_ == 2) { - content_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * if the description sizes exceed some threshold we can offload the entire
-       * description proto altogether to an external data store, like S3 rather than store inline in the db
-       * 
- * - * string uri = 2; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = ""; - if (contentCase_ == 2) { - ref = content_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (contentCase_ == 2) { - content_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * if the description sizes exceed some threshold we can offload the entire
-       * description proto altogether to an external data store, like S3 rather than store inline in the db
-       * 
- * - * string uri = 2; - */ - public Builder setUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - contentCase_ = 2; - content_ = value; - onChanged(); - return this; - } - /** - *
-       * if the description sizes exceed some threshold we can offload the entire
-       * description proto altogether to an external data store, like S3 rather than store inline in the db
-       * 
- * - * string uri = 2; - */ - public Builder clearUri() { - if (contentCase_ == 2) { - contentCase_ = 0; - content_ = null; - onChanged(); - } - return this; - } - /** - *
-       * if the description sizes exceed some threshold we can offload the entire
-       * description proto altogether to an external data store, like S3 rather than store inline in the db
-       * 
- * - * string uri = 2; - */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - contentCase_ = 2; - content_ = value; - onChanged(); - return this; - } - - private int format_ = 0; - /** - *
-       * Format of the long description
-       * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - public int getFormatValue() { - return format_; - } - /** - *
-       * Format of the long description
-       * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - public Builder setFormatValue(int value) { - format_ = value; - onChanged(); - return this; - } - /** - *
-       * Format of the long description
-       * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat getFormat() { - @SuppressWarnings("deprecation") - flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat result = flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat.valueOf(format_); - return result == null ? flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat.UNRECOGNIZED : result; - } - /** - *
-       * Format of the long description
-       * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - public Builder setFormat(flyteidl.admin.DescriptionEntityOuterClass.DescriptionFormat value) { - if (value == null) { - throw new NullPointerException(); - } - - format_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Format of the long description
-       * 
- * - * .flyteidl.admin.DescriptionFormat format = 3; - */ - public Builder clearFormat() { - - format_ = 0; - onChanged(); - return this; - } - - private java.lang.Object iconLink_ = ""; - /** - *
-       * Optional link to an icon for the entity
-       * 
- * - * string icon_link = 4; - */ - public java.lang.String getIconLink() { - java.lang.Object ref = iconLink_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - iconLink_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional link to an icon for the entity
-       * 
- * - * string icon_link = 4; - */ - public com.google.protobuf.ByteString - getIconLinkBytes() { - java.lang.Object ref = iconLink_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - iconLink_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional link to an icon for the entity
-       * 
- * - * string icon_link = 4; - */ - public Builder setIconLink( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - iconLink_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional link to an icon for the entity
-       * 
- * - * string icon_link = 4; - */ - public Builder clearIconLink() { - - iconLink_ = getDefaultInstance().getIconLink(); - onChanged(); - return this; - } - /** - *
-       * Optional link to an icon for the entity
-       * 
- * - * string icon_link = 4; - */ - public Builder setIconLinkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - iconLink_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Description) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Description) - private static final flyteidl.admin.DescriptionEntityOuterClass.Description DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.DescriptionEntityOuterClass.Description(); - } - - public static flyteidl.admin.DescriptionEntityOuterClass.Description getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Description parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Description(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.Description getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SourceCodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SourceCode) - com.google.protobuf.MessageOrBuilder { - - /** - * string link = 1; - */ - java.lang.String getLink(); - /** - * string link = 1; - */ - com.google.protobuf.ByteString - getLinkBytes(); - } - /** - *
-   * Link to source code used to define this entity
-   * 
- * - * Protobuf type {@code flyteidl.admin.SourceCode} - */ - public static final class SourceCode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SourceCode) - SourceCodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use SourceCode.newBuilder() to construct. - private SourceCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SourceCode() { - link_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SourceCode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - link_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_SourceCode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_SourceCode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.SourceCode.class, flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder.class); - } - - public static final int LINK_FIELD_NUMBER = 1; - private volatile java.lang.Object link_; - /** - * string link = 1; - */ - public java.lang.String getLink() { - java.lang.Object ref = link_; - 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(); - link_ = s; - return s; - } - } - /** - * string link = 1; - */ - public com.google.protobuf.ByteString - getLinkBytes() { - java.lang.Object ref = link_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - link_ = 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 (!getLinkBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, link_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getLinkBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, link_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.DescriptionEntityOuterClass.SourceCode)) { - return super.equals(obj); - } - flyteidl.admin.DescriptionEntityOuterClass.SourceCode other = (flyteidl.admin.DescriptionEntityOuterClass.SourceCode) obj; - - if (!getLink() - .equals(other.getLink())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LINK_FIELD_NUMBER; - hash = (53 * hash) + getLink().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.DescriptionEntityOuterClass.SourceCode 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; - } - /** - *
-     * Link to source code used to define this entity
-     * 
- * - * Protobuf type {@code flyteidl.admin.SourceCode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SourceCode) - flyteidl.admin.DescriptionEntityOuterClass.SourceCodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_SourceCode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_SourceCode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.SourceCode.class, flyteidl.admin.DescriptionEntityOuterClass.SourceCode.Builder.class); - } - - // Construct using flyteidl.admin.DescriptionEntityOuterClass.SourceCode.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(); - link_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_SourceCode_descriptor; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.SourceCode getDefaultInstanceForType() { - return flyteidl.admin.DescriptionEntityOuterClass.SourceCode.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.SourceCode build() { - flyteidl.admin.DescriptionEntityOuterClass.SourceCode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.SourceCode buildPartial() { - flyteidl.admin.DescriptionEntityOuterClass.SourceCode result = new flyteidl.admin.DescriptionEntityOuterClass.SourceCode(this); - result.link_ = link_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.DescriptionEntityOuterClass.SourceCode) { - return mergeFrom((flyteidl.admin.DescriptionEntityOuterClass.SourceCode)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.DescriptionEntityOuterClass.SourceCode other) { - if (other == flyteidl.admin.DescriptionEntityOuterClass.SourceCode.getDefaultInstance()) return this; - if (!other.getLink().isEmpty()) { - link_ = other.link_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.DescriptionEntityOuterClass.SourceCode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.DescriptionEntityOuterClass.SourceCode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object link_ = ""; - /** - * string link = 1; - */ - public java.lang.String getLink() { - java.lang.Object ref = link_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - link_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string link = 1; - */ - public com.google.protobuf.ByteString - getLinkBytes() { - java.lang.Object ref = link_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - link_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string link = 1; - */ - public Builder setLink( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - link_ = value; - onChanged(); - return this; - } - /** - * string link = 1; - */ - public Builder clearLink() { - - link_ = getDefaultInstance().getLink(); - onChanged(); - return this; - } - /** - * string link = 1; - */ - public Builder setLinkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - link_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SourceCode) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SourceCode) - private static final flyteidl.admin.DescriptionEntityOuterClass.SourceCode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.DescriptionEntityOuterClass.SourceCode(); - } - - public static flyteidl.admin.DescriptionEntityOuterClass.SourceCode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SourceCode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SourceCode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.SourceCode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DescriptionEntityListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.DescriptionEntityList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - java.util.List - getDescriptionEntitiesList(); - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescriptionEntities(int index); - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - int getDescriptionEntitiesCount(); - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - java.util.List - getDescriptionEntitiesOrBuilderList(); - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionEntitiesOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Represents a list of DescriptionEntities returned from the admin.
-   * See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.DescriptionEntityList} - */ - public static final class DescriptionEntityList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.DescriptionEntityList) - DescriptionEntityListOrBuilder { - private static final long serialVersionUID = 0L; - // Use DescriptionEntityList.newBuilder() to construct. - private DescriptionEntityList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DescriptionEntityList() { - descriptionEntities_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DescriptionEntityList( - 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)) { - descriptionEntities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - descriptionEntities_.add( - input.readMessage(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - descriptionEntities_ = java.util.Collections.unmodifiableList(descriptionEntities_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList.class, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList.Builder.class); - } - - private int bitField0_; - public static final int DESCRIPTIONENTITIES_FIELD_NUMBER = 1; - private java.util.List descriptionEntities_; - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public java.util.List getDescriptionEntitiesList() { - return descriptionEntities_; - } - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public java.util.List - getDescriptionEntitiesOrBuilderList() { - return descriptionEntities_; - } - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public int getDescriptionEntitiesCount() { - return descriptionEntities_.size(); - } - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescriptionEntities(int index) { - return descriptionEntities_.get(index); - } - /** - *
-     * A list of DescriptionEntities returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionEntitiesOrBuilder( - int index) { - return descriptionEntities_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < descriptionEntities_.size(); i++) { - output.writeMessage(1, descriptionEntities_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < descriptionEntities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, descriptionEntities_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList)) { - return super.equals(obj); - } - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList other = (flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList) obj; - - if (!getDescriptionEntitiesList() - .equals(other.getDescriptionEntitiesList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getDescriptionEntitiesCount() > 0) { - hash = (37 * hash) + DESCRIPTIONENTITIES_FIELD_NUMBER; - hash = (53 * hash) + getDescriptionEntitiesList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList 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; - } - /** - *
-     * Represents a list of DescriptionEntities returned from the admin.
-     * See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.DescriptionEntityList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.DescriptionEntityList) - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList.class, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList.Builder.class); - } - - // Construct using flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getDescriptionEntitiesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (descriptionEntitiesBuilder_ == null) { - descriptionEntities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - descriptionEntitiesBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList getDefaultInstanceForType() { - return flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList build() { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList buildPartial() { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList result = new flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (descriptionEntitiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - descriptionEntities_ = java.util.Collections.unmodifiableList(descriptionEntities_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.descriptionEntities_ = descriptionEntities_; - } else { - result.descriptionEntities_ = descriptionEntitiesBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList) { - return mergeFrom((flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList other) { - if (other == flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList.getDefaultInstance()) return this; - if (descriptionEntitiesBuilder_ == null) { - if (!other.descriptionEntities_.isEmpty()) { - if (descriptionEntities_.isEmpty()) { - descriptionEntities_ = other.descriptionEntities_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.addAll(other.descriptionEntities_); - } - onChanged(); - } - } else { - if (!other.descriptionEntities_.isEmpty()) { - if (descriptionEntitiesBuilder_.isEmpty()) { - descriptionEntitiesBuilder_.dispose(); - descriptionEntitiesBuilder_ = null; - descriptionEntities_ = other.descriptionEntities_; - bitField0_ = (bitField0_ & ~0x00000001); - descriptionEntitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDescriptionEntitiesFieldBuilder() : null; - } else { - descriptionEntitiesBuilder_.addAllMessages(other.descriptionEntities_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List descriptionEntities_ = - java.util.Collections.emptyList(); - private void ensureDescriptionEntitiesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - descriptionEntities_ = new java.util.ArrayList(descriptionEntities_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder> descriptionEntitiesBuilder_; - - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public java.util.List getDescriptionEntitiesList() { - if (descriptionEntitiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(descriptionEntities_); - } else { - return descriptionEntitiesBuilder_.getMessageList(); - } - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public int getDescriptionEntitiesCount() { - if (descriptionEntitiesBuilder_ == null) { - return descriptionEntities_.size(); - } else { - return descriptionEntitiesBuilder_.getCount(); - } - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescriptionEntities(int index) { - if (descriptionEntitiesBuilder_ == null) { - return descriptionEntities_.get(index); - } else { - return descriptionEntitiesBuilder_.getMessage(index); - } - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder setDescriptionEntities( - int index, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity value) { - if (descriptionEntitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.set(index, value); - onChanged(); - } else { - descriptionEntitiesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder setDescriptionEntities( - int index, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder builderForValue) { - if (descriptionEntitiesBuilder_ == null) { - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.set(index, builderForValue.build()); - onChanged(); - } else { - descriptionEntitiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder addDescriptionEntities(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity value) { - if (descriptionEntitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.add(value); - onChanged(); - } else { - descriptionEntitiesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder addDescriptionEntities( - int index, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity value) { - if (descriptionEntitiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.add(index, value); - onChanged(); - } else { - descriptionEntitiesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder addDescriptionEntities( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder builderForValue) { - if (descriptionEntitiesBuilder_ == null) { - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.add(builderForValue.build()); - onChanged(); - } else { - descriptionEntitiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder addDescriptionEntities( - int index, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder builderForValue) { - if (descriptionEntitiesBuilder_ == null) { - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.add(index, builderForValue.build()); - onChanged(); - } else { - descriptionEntitiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder addAllDescriptionEntities( - java.lang.Iterable values) { - if (descriptionEntitiesBuilder_ == null) { - ensureDescriptionEntitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, descriptionEntities_); - onChanged(); - } else { - descriptionEntitiesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder clearDescriptionEntities() { - if (descriptionEntitiesBuilder_ == null) { - descriptionEntities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - descriptionEntitiesBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public Builder removeDescriptionEntities(int index) { - if (descriptionEntitiesBuilder_ == null) { - ensureDescriptionEntitiesIsMutable(); - descriptionEntities_.remove(index); - onChanged(); - } else { - descriptionEntitiesBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder getDescriptionEntitiesBuilder( - int index) { - return getDescriptionEntitiesFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionEntitiesOrBuilder( - int index) { - if (descriptionEntitiesBuilder_ == null) { - return descriptionEntities_.get(index); } else { - return descriptionEntitiesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public java.util.List - getDescriptionEntitiesOrBuilderList() { - if (descriptionEntitiesBuilder_ != null) { - return descriptionEntitiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(descriptionEntities_); - } - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder addDescriptionEntitiesBuilder() { - return getDescriptionEntitiesFieldBuilder().addBuilder( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance()); - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder addDescriptionEntitiesBuilder( - int index) { - return getDescriptionEntitiesFieldBuilder().addBuilder( - index, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance()); - } - /** - *
-       * A list of DescriptionEntities returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.DescriptionEntity descriptionEntities = 1; - */ - public java.util.List - getDescriptionEntitiesBuilderList() { - return getDescriptionEntitiesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder> - getDescriptionEntitiesFieldBuilder() { - if (descriptionEntitiesBuilder_ == null) { - descriptionEntitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder>( - descriptionEntities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - descriptionEntities_ = null; - } - return descriptionEntitiesBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.DescriptionEntityList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DescriptionEntityList) - private static final flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList(); - } - - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DescriptionEntityList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DescriptionEntityList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DescriptionEntityListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.DescriptionEntityListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - int getResourceTypeValue(); - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - flyteidl.core.IdentifierOuterClass.ResourceType getResourceType(); - - /** - *
-     * The identifier for the description entity.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - boolean hasId(); - /** - *
-     * The identifier for the description entity.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifier getId(); - /** - *
-     * The identifier for the description entity.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 3; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 5; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 5; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - } - /** - *
-   * Represents a request structure to retrieve a list of DescriptionEntities.
-   * See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.DescriptionEntityListRequest} - */ - public static final class DescriptionEntityListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.DescriptionEntityListRequest) - DescriptionEntityListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use DescriptionEntityListRequest.newBuilder() to construct. - private DescriptionEntityListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DescriptionEntityListRequest() { - resourceType_ = 0; - token_ = ""; - filters_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DescriptionEntityListRequest( - 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(); - - resourceType_ = rawValue; - break; - } - case 18: { - flyteidl.admin.Common.NamedEntityIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.admin.Common.NamedEntityIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { - - limit_ = input.readUInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 50: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest.class, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest.Builder.class); - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; - private int resourceType_; - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - - public static final int ID_FIELD_NUMBER = 2; - private flyteidl.admin.Common.NamedEntityIdentifier id_; - /** - *
-     * The identifier for the description entity.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * The identifier for the description entity.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * The identifier for the description entity.
-     * +required
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int LIMIT_FIELD_NUMBER = 3; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 3; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 4; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTERS_FIELD_NUMBER = 5; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 5; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 5; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 6; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - 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 (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - output.writeEnum(1, resourceType_); - } - if (id_ != null) { - output.writeMessage(2, getId()); - } - if (limit_ != 0) { - output.writeUInt32(3, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, token_); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filters_); - } - if (sortBy_ != null) { - output.writeMessage(6, getSortBy()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); - } - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getId()); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, token_); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filters_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getSortBy()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest)) { - return super.equals(obj); - } - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest other = (flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest) obj; - - if (resourceType_ != other.resourceType_) return false; - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!getFilters() - .equals(other.getFilters())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest 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; - } - /** - *
-     * Represents a request structure to retrieve a list of DescriptionEntities.
-     * See :ref:`ref_flyteidl.admin.DescriptionEntity` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.DescriptionEntityListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.DescriptionEntityListRequest) - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest.class, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest.Builder.class); - } - - // Construct using flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest.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(); - resourceType_ = 0; - - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - limit_ = 0; - - token_ = ""; - - filters_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.DescriptionEntityOuterClass.internal_static_flyteidl_admin_DescriptionEntityListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest getDefaultInstanceForType() { - return flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest build() { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest buildPartial() { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest result = new flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest(this); - result.resourceType_ = resourceType_; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.limit_ = limit_; - result.token_ = token_; - result.filters_ = filters_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest) { - return mergeFrom((flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest other) { - if (other == flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest.getDefaultInstance()) return this; - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceType(flyteidl.core.IdentifierOuterClass.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private flyteidl.admin.Common.NamedEntityIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> idBuilder_; - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder setId( - flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder mergeId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.admin.Common.NamedEntityIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * The identifier for the description entity.
-       * +required
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 3; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 3; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 3; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 5; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 5; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 5; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 5; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 5; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.DescriptionEntityListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DescriptionEntityListRequest) - private static final flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest(); - } - - public static flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DescriptionEntityListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DescriptionEntityListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_DescriptionEntity_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_DescriptionEntity_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Description_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Description_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SourceCode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SourceCode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_DescriptionEntityList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_DescriptionEntityList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_DescriptionEntityListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_DescriptionEntityListRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'flyteidl/admin/description_entity.prot" + - "o\022\016flyteidl.admin\032\036flyteidl/core/identif" + - "ier.proto\032\033flyteidl/admin/common.proto\"\313" + - "\001\n\021DescriptionEntity\022%\n\002id\030\001 \001(\0132\031.flyte" + - "idl.core.Identifier\022\031\n\021short_description" + - "\030\002 \001(\t\0225\n\020long_description\030\003 \001(\0132\033.flyte" + - "idl.admin.Description\022/\n\013source_code\030\004 \001" + - "(\0132\032.flyteidl.admin.SourceCode\022\014\n\004tags\030\005" + - " \003(\t\"~\n\013Description\022\017\n\005value\030\001 \001(\tH\000\022\r\n\003" + - "uri\030\002 \001(\tH\000\0221\n\006format\030\003 \001(\0162!.flyteidl.a" + - "dmin.DescriptionFormat\022\021\n\ticon_link\030\004 \001(" + - "\tB\t\n\007content\"\032\n\nSourceCode\022\014\n\004link\030\001 \001(\t" + - "\"f\n\025DescriptionEntityList\022>\n\023description" + - "Entities\030\001 \003(\0132!.flyteidl.admin.Descript" + - "ionEntity\022\r\n\005token\030\002 \001(\t\"\333\001\n\034Description" + - "EntityListRequest\0222\n\rresource_type\030\001 \001(\016" + - "2\033.flyteidl.core.ResourceType\0221\n\002id\030\002 \001(" + - "\0132%.flyteidl.admin.NamedEntityIdentifier" + - "\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022\017\n\007filter" + - "s\030\005 \001(\t\022%\n\007sort_by\030\006 \001(\0132\024.flyteidl.admi" + - "n.Sort*\215\001\n\021DescriptionFormat\022\036\n\032DESCRIPT" + - "ION_FORMAT_UNKNOWN\020\000\022\037\n\033DESCRIPTION_FORM" + - "AT_MARKDOWN\020\001\022\033\n\027DESCRIPTION_FORMAT_HTML" + - "\020\002\022\032\n\026DESCRIPTION_FORMAT_RST\020\003B=Z;github" + - ".com/flyteorg/flyte/flyteidl/gen/pb-go/f" + - "lyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.admin.Common.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_DescriptionEntity_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_DescriptionEntity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_DescriptionEntity_descriptor, - new java.lang.String[] { "Id", "ShortDescription", "LongDescription", "SourceCode", "Tags", }); - internal_static_flyteidl_admin_Description_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_Description_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Description_descriptor, - new java.lang.String[] { "Value", "Uri", "Format", "IconLink", "Content", }); - internal_static_flyteidl_admin_SourceCode_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_SourceCode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SourceCode_descriptor, - new java.lang.String[] { "Link", }); - internal_static_flyteidl_admin_DescriptionEntityList_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_DescriptionEntityList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_DescriptionEntityList_descriptor, - new java.lang.String[] { "DescriptionEntities", "Token", }); - internal_static_flyteidl_admin_DescriptionEntityListRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_DescriptionEntityListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_DescriptionEntityListRequest_descriptor, - new java.lang.String[] { "ResourceType", "Id", "Limit", "Token", "Filters", "SortBy", }); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.admin.Common.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/Event.java b/flyteidl/gen/pb-java/flyteidl/admin/Event.java deleted file mode 100644 index d698a0538f..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/Event.java +++ /dev/null @@ -1,6086 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/event.proto - -package flyteidl.admin; - -public final class Event { - private Event() {} - 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 EventErrorAlreadyInTerminalStateOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.EventErrorAlreadyInTerminalState) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * +required
-     * 
- * - * string current_phase = 1; - */ - java.lang.String getCurrentPhase(); - /** - *
-     * +required
-     * 
- * - * string current_phase = 1; - */ - com.google.protobuf.ByteString - getCurrentPhaseBytes(); - } - /** - *
-   * Indicates that a sent event was not used to update execution state due to
-   * the referenced execution already being terminated (and therefore ineligible
-   * for further state transitions).
-   * 
- * - * Protobuf type {@code flyteidl.admin.EventErrorAlreadyInTerminalState} - */ - public static final class EventErrorAlreadyInTerminalState extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.EventErrorAlreadyInTerminalState) - EventErrorAlreadyInTerminalStateOrBuilder { - private static final long serialVersionUID = 0L; - // Use EventErrorAlreadyInTerminalState.newBuilder() to construct. - private EventErrorAlreadyInTerminalState(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EventErrorAlreadyInTerminalState() { - currentPhase_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EventErrorAlreadyInTerminalState( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - currentPhase_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.EventErrorAlreadyInTerminalState.class, flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder.class); - } - - public static final int CURRENT_PHASE_FIELD_NUMBER = 1; - private volatile java.lang.Object currentPhase_; - /** - *
-     * +required
-     * 
- * - * string current_phase = 1; - */ - public java.lang.String getCurrentPhase() { - java.lang.Object ref = currentPhase_; - 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(); - currentPhase_ = s; - return s; - } - } - /** - *
-     * +required
-     * 
- * - * string current_phase = 1; - */ - public com.google.protobuf.ByteString - getCurrentPhaseBytes() { - java.lang.Object ref = currentPhase_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - currentPhase_ = 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 (!getCurrentPhaseBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, currentPhase_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getCurrentPhaseBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, currentPhase_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.EventErrorAlreadyInTerminalState)) { - return super.equals(obj); - } - flyteidl.admin.Event.EventErrorAlreadyInTerminalState other = (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) obj; - - if (!getCurrentPhase() - .equals(other.getCurrentPhase())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CURRENT_PHASE_FIELD_NUMBER; - hash = (53 * hash) + getCurrentPhase().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.EventErrorAlreadyInTerminalState 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; - } - /** - *
-     * Indicates that a sent event was not used to update execution state due to
-     * the referenced execution already being terminated (and therefore ineligible
-     * for further state transitions).
-     * 
- * - * Protobuf type {@code flyteidl.admin.EventErrorAlreadyInTerminalState} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.EventErrorAlreadyInTerminalState) - flyteidl.admin.Event.EventErrorAlreadyInTerminalStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.EventErrorAlreadyInTerminalState.class, flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder.class); - } - - // Construct using flyteidl.admin.Event.EventErrorAlreadyInTerminalState.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(); - currentPhase_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorAlreadyInTerminalState getDefaultInstanceForType() { - return flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorAlreadyInTerminalState build() { - flyteidl.admin.Event.EventErrorAlreadyInTerminalState result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorAlreadyInTerminalState buildPartial() { - flyteidl.admin.Event.EventErrorAlreadyInTerminalState result = new flyteidl.admin.Event.EventErrorAlreadyInTerminalState(this); - result.currentPhase_ = currentPhase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.EventErrorAlreadyInTerminalState) { - return mergeFrom((flyteidl.admin.Event.EventErrorAlreadyInTerminalState)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.EventErrorAlreadyInTerminalState other) { - if (other == flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance()) return this; - if (!other.getCurrentPhase().isEmpty()) { - currentPhase_ = other.currentPhase_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.EventErrorAlreadyInTerminalState parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object currentPhase_ = ""; - /** - *
-       * +required
-       * 
- * - * string current_phase = 1; - */ - public java.lang.String getCurrentPhase() { - java.lang.Object ref = currentPhase_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - currentPhase_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * +required
-       * 
- * - * string current_phase = 1; - */ - public com.google.protobuf.ByteString - getCurrentPhaseBytes() { - java.lang.Object ref = currentPhase_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - currentPhase_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * +required
-       * 
- * - * string current_phase = 1; - */ - public Builder setCurrentPhase( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - currentPhase_ = value; - onChanged(); - return this; - } - /** - *
-       * +required
-       * 
- * - * string current_phase = 1; - */ - public Builder clearCurrentPhase() { - - currentPhase_ = getDefaultInstance().getCurrentPhase(); - onChanged(); - return this; - } - /** - *
-       * +required
-       * 
- * - * string current_phase = 1; - */ - public Builder setCurrentPhaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - currentPhase_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.EventErrorAlreadyInTerminalState) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EventErrorAlreadyInTerminalState) - private static final flyteidl.admin.Event.EventErrorAlreadyInTerminalState DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.EventErrorAlreadyInTerminalState(); - } - - public static flyteidl.admin.Event.EventErrorAlreadyInTerminalState getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventErrorAlreadyInTerminalState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EventErrorAlreadyInTerminalState(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorAlreadyInTerminalState getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface EventErrorIncompatibleClusterOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.EventErrorIncompatibleCluster) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The cluster which has been recorded as processing the execution.
-     * +required
-     * 
- * - * string cluster = 1; - */ - java.lang.String getCluster(); - /** - *
-     * The cluster which has been recorded as processing the execution.
-     * +required
-     * 
- * - * string cluster = 1; - */ - com.google.protobuf.ByteString - getClusterBytes(); - } - /** - *
-   * Indicates an event was rejected because it came from a different cluster than 
-   * is on record as running the execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.EventErrorIncompatibleCluster} - */ - public static final class EventErrorIncompatibleCluster extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.EventErrorIncompatibleCluster) - EventErrorIncompatibleClusterOrBuilder { - private static final long serialVersionUID = 0L; - // Use EventErrorIncompatibleCluster.newBuilder() to construct. - private EventErrorIncompatibleCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EventErrorIncompatibleCluster() { - cluster_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EventErrorIncompatibleCluster( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - cluster_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorIncompatibleCluster_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorIncompatibleCluster_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.EventErrorIncompatibleCluster.class, flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder.class); - } - - public static final int CLUSTER_FIELD_NUMBER = 1; - private volatile java.lang.Object cluster_; - /** - *
-     * The cluster which has been recorded as processing the execution.
-     * +required
-     * 
- * - * string cluster = 1; - */ - public java.lang.String getCluster() { - java.lang.Object ref = cluster_; - 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(); - cluster_ = s; - return s; - } - } - /** - *
-     * The cluster which has been recorded as processing the execution.
-     * +required
-     * 
- * - * string cluster = 1; - */ - public com.google.protobuf.ByteString - getClusterBytes() { - java.lang.Object ref = cluster_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cluster_ = 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 (!getClusterBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getClusterBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.EventErrorIncompatibleCluster)) { - return super.equals(obj); - } - flyteidl.admin.Event.EventErrorIncompatibleCluster other = (flyteidl.admin.Event.EventErrorIncompatibleCluster) obj; - - if (!getCluster() - .equals(other.getCluster())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + getCluster().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventErrorIncompatibleCluster parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.EventErrorIncompatibleCluster 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; - } - /** - *
-     * Indicates an event was rejected because it came from a different cluster than 
-     * is on record as running the execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.EventErrorIncompatibleCluster} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.EventErrorIncompatibleCluster) - flyteidl.admin.Event.EventErrorIncompatibleClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorIncompatibleCluster_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorIncompatibleCluster_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.EventErrorIncompatibleCluster.class, flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder.class); - } - - // Construct using flyteidl.admin.Event.EventErrorIncompatibleCluster.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(); - cluster_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventErrorIncompatibleCluster_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorIncompatibleCluster getDefaultInstanceForType() { - return flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorIncompatibleCluster build() { - flyteidl.admin.Event.EventErrorIncompatibleCluster result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorIncompatibleCluster buildPartial() { - flyteidl.admin.Event.EventErrorIncompatibleCluster result = new flyteidl.admin.Event.EventErrorIncompatibleCluster(this); - result.cluster_ = cluster_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.EventErrorIncompatibleCluster) { - return mergeFrom((flyteidl.admin.Event.EventErrorIncompatibleCluster)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.EventErrorIncompatibleCluster other) { - if (other == flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance()) return this; - if (!other.getCluster().isEmpty()) { - cluster_ = other.cluster_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.EventErrorIncompatibleCluster parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.EventErrorIncompatibleCluster) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object cluster_ = ""; - /** - *
-       * The cluster which has been recorded as processing the execution.
-       * +required
-       * 
- * - * string cluster = 1; - */ - public java.lang.String getCluster() { - java.lang.Object ref = cluster_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - cluster_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The cluster which has been recorded as processing the execution.
-       * +required
-       * 
- * - * string cluster = 1; - */ - public com.google.protobuf.ByteString - getClusterBytes() { - java.lang.Object ref = cluster_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cluster_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The cluster which has been recorded as processing the execution.
-       * +required
-       * 
- * - * string cluster = 1; - */ - public Builder setCluster( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - cluster_ = value; - onChanged(); - return this; - } - /** - *
-       * The cluster which has been recorded as processing the execution.
-       * +required
-       * 
- * - * string cluster = 1; - */ - public Builder clearCluster() { - - cluster_ = getDefaultInstance().getCluster(); - onChanged(); - return this; - } - /** - *
-       * The cluster which has been recorded as processing the execution.
-       * +required
-       * 
- * - * string cluster = 1; - */ - public Builder setClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - cluster_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.EventErrorIncompatibleCluster) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EventErrorIncompatibleCluster) - private static final flyteidl.admin.Event.EventErrorIncompatibleCluster DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.EventErrorIncompatibleCluster(); - } - - public static flyteidl.admin.Event.EventErrorIncompatibleCluster getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventErrorIncompatibleCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EventErrorIncompatibleCluster(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.EventErrorIncompatibleCluster getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface EventFailureReasonOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.EventFailureReason) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - boolean hasAlreadyInTerminalState(); - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - flyteidl.admin.Event.EventErrorAlreadyInTerminalState getAlreadyInTerminalState(); - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - flyteidl.admin.Event.EventErrorAlreadyInTerminalStateOrBuilder getAlreadyInTerminalStateOrBuilder(); - - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - boolean hasIncompatibleCluster(); - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - flyteidl.admin.Event.EventErrorIncompatibleCluster getIncompatibleCluster(); - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - flyteidl.admin.Event.EventErrorIncompatibleClusterOrBuilder getIncompatibleClusterOrBuilder(); - - public flyteidl.admin.Event.EventFailureReason.ReasonCase getReasonCase(); - } - /** - *
-   * Indicates why a sent event was not used to update execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.EventFailureReason} - */ - public static final class EventFailureReason extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.EventFailureReason) - EventFailureReasonOrBuilder { - private static final long serialVersionUID = 0L; - // Use EventFailureReason.newBuilder() to construct. - private EventFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EventFailureReason() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EventFailureReason( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder subBuilder = null; - if (reasonCase_ == 1) { - subBuilder = ((flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_).toBuilder(); - } - reason_ = - input.readMessage(flyteidl.admin.Event.EventErrorAlreadyInTerminalState.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_); - reason_ = subBuilder.buildPartial(); - } - reasonCase_ = 1; - break; - } - case 18: { - flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder subBuilder = null; - if (reasonCase_ == 2) { - subBuilder = ((flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_).toBuilder(); - } - reason_ = - input.readMessage(flyteidl.admin.Event.EventErrorIncompatibleCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_); - reason_ = subBuilder.buildPartial(); - } - reasonCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventFailureReason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventFailureReason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.EventFailureReason.class, flyteidl.admin.Event.EventFailureReason.Builder.class); - } - - private int reasonCase_ = 0; - private java.lang.Object reason_; - public enum ReasonCase - implements com.google.protobuf.Internal.EnumLite { - ALREADY_IN_TERMINAL_STATE(1), - INCOMPATIBLE_CLUSTER(2), - REASON_NOT_SET(0); - private final int value; - private ReasonCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ReasonCase valueOf(int value) { - return forNumber(value); - } - - public static ReasonCase forNumber(int value) { - switch (value) { - case 1: return ALREADY_IN_TERMINAL_STATE; - case 2: return INCOMPATIBLE_CLUSTER; - case 0: return REASON_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ReasonCase - getReasonCase() { - return ReasonCase.forNumber( - reasonCase_); - } - - public static final int ALREADY_IN_TERMINAL_STATE_FIELD_NUMBER = 1; - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public boolean hasAlreadyInTerminalState() { - return reasonCase_ == 1; - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public flyteidl.admin.Event.EventErrorAlreadyInTerminalState getAlreadyInTerminalState() { - if (reasonCase_ == 1) { - return (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_; - } - return flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance(); - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public flyteidl.admin.Event.EventErrorAlreadyInTerminalStateOrBuilder getAlreadyInTerminalStateOrBuilder() { - if (reasonCase_ == 1) { - return (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_; - } - return flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance(); - } - - public static final int INCOMPATIBLE_CLUSTER_FIELD_NUMBER = 2; - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public boolean hasIncompatibleCluster() { - return reasonCase_ == 2; - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public flyteidl.admin.Event.EventErrorIncompatibleCluster getIncompatibleCluster() { - if (reasonCase_ == 2) { - return (flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_; - } - return flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance(); - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public flyteidl.admin.Event.EventErrorIncompatibleClusterOrBuilder getIncompatibleClusterOrBuilder() { - if (reasonCase_ == 2) { - return (flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_; - } - return flyteidl.admin.Event.EventErrorIncompatibleCluster.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 (reasonCase_ == 1) { - output.writeMessage(1, (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_); - } - if (reasonCase_ == 2) { - output.writeMessage(2, (flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (reasonCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_); - } - if (reasonCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.EventFailureReason)) { - return super.equals(obj); - } - flyteidl.admin.Event.EventFailureReason other = (flyteidl.admin.Event.EventFailureReason) obj; - - if (!getReasonCase().equals(other.getReasonCase())) return false; - switch (reasonCase_) { - case 1: - if (!getAlreadyInTerminalState() - .equals(other.getAlreadyInTerminalState())) return false; - break; - case 2: - if (!getIncompatibleCluster() - .equals(other.getIncompatibleCluster())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (reasonCase_) { - case 1: - hash = (37 * hash) + ALREADY_IN_TERMINAL_STATE_FIELD_NUMBER; - hash = (53 * hash) + getAlreadyInTerminalState().hashCode(); - break; - case 2: - hash = (37 * hash) + INCOMPATIBLE_CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + getIncompatibleCluster().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.EventFailureReason parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.EventFailureReason parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventFailureReason parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.EventFailureReason parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.EventFailureReason 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; - } - /** - *
-     * Indicates why a sent event was not used to update execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.EventFailureReason} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.EventFailureReason) - flyteidl.admin.Event.EventFailureReasonOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventFailureReason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventFailureReason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.EventFailureReason.class, flyteidl.admin.Event.EventFailureReason.Builder.class); - } - - // Construct using flyteidl.admin.Event.EventFailureReason.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(); - reasonCase_ = 0; - reason_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_EventFailureReason_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.EventFailureReason getDefaultInstanceForType() { - return flyteidl.admin.Event.EventFailureReason.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.EventFailureReason build() { - flyteidl.admin.Event.EventFailureReason result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.EventFailureReason buildPartial() { - flyteidl.admin.Event.EventFailureReason result = new flyteidl.admin.Event.EventFailureReason(this); - if (reasonCase_ == 1) { - if (alreadyInTerminalStateBuilder_ == null) { - result.reason_ = reason_; - } else { - result.reason_ = alreadyInTerminalStateBuilder_.build(); - } - } - if (reasonCase_ == 2) { - if (incompatibleClusterBuilder_ == null) { - result.reason_ = reason_; - } else { - result.reason_ = incompatibleClusterBuilder_.build(); - } - } - result.reasonCase_ = reasonCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.EventFailureReason) { - return mergeFrom((flyteidl.admin.Event.EventFailureReason)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.EventFailureReason other) { - if (other == flyteidl.admin.Event.EventFailureReason.getDefaultInstance()) return this; - switch (other.getReasonCase()) { - case ALREADY_IN_TERMINAL_STATE: { - mergeAlreadyInTerminalState(other.getAlreadyInTerminalState()); - break; - } - case INCOMPATIBLE_CLUSTER: { - mergeIncompatibleCluster(other.getIncompatibleCluster()); - break; - } - case REASON_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.EventFailureReason parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.EventFailureReason) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int reasonCase_ = 0; - private java.lang.Object reason_; - public ReasonCase - getReasonCase() { - return ReasonCase.forNumber( - reasonCase_); - } - - public Builder clearReason() { - reasonCase_ = 0; - reason_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Event.EventErrorAlreadyInTerminalState, flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder, flyteidl.admin.Event.EventErrorAlreadyInTerminalStateOrBuilder> alreadyInTerminalStateBuilder_; - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public boolean hasAlreadyInTerminalState() { - return reasonCase_ == 1; - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public flyteidl.admin.Event.EventErrorAlreadyInTerminalState getAlreadyInTerminalState() { - if (alreadyInTerminalStateBuilder_ == null) { - if (reasonCase_ == 1) { - return (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_; - } - return flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance(); - } else { - if (reasonCase_ == 1) { - return alreadyInTerminalStateBuilder_.getMessage(); - } - return flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public Builder setAlreadyInTerminalState(flyteidl.admin.Event.EventErrorAlreadyInTerminalState value) { - if (alreadyInTerminalStateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reason_ = value; - onChanged(); - } else { - alreadyInTerminalStateBuilder_.setMessage(value); - } - reasonCase_ = 1; - return this; - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public Builder setAlreadyInTerminalState( - flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder builderForValue) { - if (alreadyInTerminalStateBuilder_ == null) { - reason_ = builderForValue.build(); - onChanged(); - } else { - alreadyInTerminalStateBuilder_.setMessage(builderForValue.build()); - } - reasonCase_ = 1; - return this; - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public Builder mergeAlreadyInTerminalState(flyteidl.admin.Event.EventErrorAlreadyInTerminalState value) { - if (alreadyInTerminalStateBuilder_ == null) { - if (reasonCase_ == 1 && - reason_ != flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance()) { - reason_ = flyteidl.admin.Event.EventErrorAlreadyInTerminalState.newBuilder((flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_) - .mergeFrom(value).buildPartial(); - } else { - reason_ = value; - } - onChanged(); - } else { - if (reasonCase_ == 1) { - alreadyInTerminalStateBuilder_.mergeFrom(value); - } - alreadyInTerminalStateBuilder_.setMessage(value); - } - reasonCase_ = 1; - return this; - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public Builder clearAlreadyInTerminalState() { - if (alreadyInTerminalStateBuilder_ == null) { - if (reasonCase_ == 1) { - reasonCase_ = 0; - reason_ = null; - onChanged(); - } - } else { - if (reasonCase_ == 1) { - reasonCase_ = 0; - reason_ = null; - } - alreadyInTerminalStateBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder getAlreadyInTerminalStateBuilder() { - return getAlreadyInTerminalStateFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - public flyteidl.admin.Event.EventErrorAlreadyInTerminalStateOrBuilder getAlreadyInTerminalStateOrBuilder() { - if ((reasonCase_ == 1) && (alreadyInTerminalStateBuilder_ != null)) { - return alreadyInTerminalStateBuilder_.getMessageOrBuilder(); - } else { - if (reasonCase_ == 1) { - return (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_; - } - return flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.EventErrorAlreadyInTerminalState already_in_terminal_state = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Event.EventErrorAlreadyInTerminalState, flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder, flyteidl.admin.Event.EventErrorAlreadyInTerminalStateOrBuilder> - getAlreadyInTerminalStateFieldBuilder() { - if (alreadyInTerminalStateBuilder_ == null) { - if (!(reasonCase_ == 1)) { - reason_ = flyteidl.admin.Event.EventErrorAlreadyInTerminalState.getDefaultInstance(); - } - alreadyInTerminalStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Event.EventErrorAlreadyInTerminalState, flyteidl.admin.Event.EventErrorAlreadyInTerminalState.Builder, flyteidl.admin.Event.EventErrorAlreadyInTerminalStateOrBuilder>( - (flyteidl.admin.Event.EventErrorAlreadyInTerminalState) reason_, - getParentForChildren(), - isClean()); - reason_ = null; - } - reasonCase_ = 1; - onChanged();; - return alreadyInTerminalStateBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Event.EventErrorIncompatibleCluster, flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder, flyteidl.admin.Event.EventErrorIncompatibleClusterOrBuilder> incompatibleClusterBuilder_; - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public boolean hasIncompatibleCluster() { - return reasonCase_ == 2; - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public flyteidl.admin.Event.EventErrorIncompatibleCluster getIncompatibleCluster() { - if (incompatibleClusterBuilder_ == null) { - if (reasonCase_ == 2) { - return (flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_; - } - return flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance(); - } else { - if (reasonCase_ == 2) { - return incompatibleClusterBuilder_.getMessage(); - } - return flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public Builder setIncompatibleCluster(flyteidl.admin.Event.EventErrorIncompatibleCluster value) { - if (incompatibleClusterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reason_ = value; - onChanged(); - } else { - incompatibleClusterBuilder_.setMessage(value); - } - reasonCase_ = 2; - return this; - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public Builder setIncompatibleCluster( - flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder builderForValue) { - if (incompatibleClusterBuilder_ == null) { - reason_ = builderForValue.build(); - onChanged(); - } else { - incompatibleClusterBuilder_.setMessage(builderForValue.build()); - } - reasonCase_ = 2; - return this; - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public Builder mergeIncompatibleCluster(flyteidl.admin.Event.EventErrorIncompatibleCluster value) { - if (incompatibleClusterBuilder_ == null) { - if (reasonCase_ == 2 && - reason_ != flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance()) { - reason_ = flyteidl.admin.Event.EventErrorIncompatibleCluster.newBuilder((flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_) - .mergeFrom(value).buildPartial(); - } else { - reason_ = value; - } - onChanged(); - } else { - if (reasonCase_ == 2) { - incompatibleClusterBuilder_.mergeFrom(value); - } - incompatibleClusterBuilder_.setMessage(value); - } - reasonCase_ = 2; - return this; - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public Builder clearIncompatibleCluster() { - if (incompatibleClusterBuilder_ == null) { - if (reasonCase_ == 2) { - reasonCase_ = 0; - reason_ = null; - onChanged(); - } - } else { - if (reasonCase_ == 2) { - reasonCase_ = 0; - reason_ = null; - } - incompatibleClusterBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder getIncompatibleClusterBuilder() { - return getIncompatibleClusterFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - public flyteidl.admin.Event.EventErrorIncompatibleClusterOrBuilder getIncompatibleClusterOrBuilder() { - if ((reasonCase_ == 2) && (incompatibleClusterBuilder_ != null)) { - return incompatibleClusterBuilder_.getMessageOrBuilder(); - } else { - if (reasonCase_ == 2) { - return (flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_; - } - return flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.EventErrorIncompatibleCluster incompatible_cluster = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Event.EventErrorIncompatibleCluster, flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder, flyteidl.admin.Event.EventErrorIncompatibleClusterOrBuilder> - getIncompatibleClusterFieldBuilder() { - if (incompatibleClusterBuilder_ == null) { - if (!(reasonCase_ == 2)) { - reason_ = flyteidl.admin.Event.EventErrorIncompatibleCluster.getDefaultInstance(); - } - incompatibleClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Event.EventErrorIncompatibleCluster, flyteidl.admin.Event.EventErrorIncompatibleCluster.Builder, flyteidl.admin.Event.EventErrorIncompatibleClusterOrBuilder>( - (flyteidl.admin.Event.EventErrorIncompatibleCluster) reason_, - getParentForChildren(), - isClean()); - reason_ = null; - } - reasonCase_ = 2; - onChanged();; - return incompatibleClusterBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.EventFailureReason) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EventFailureReason) - private static final flyteidl.admin.Event.EventFailureReason DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.EventFailureReason(); - } - - public static flyteidl.admin.Event.EventFailureReason getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventFailureReason parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EventFailureReason(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.EventFailureReason getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - java.lang.String getRequestId(); - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - com.google.protobuf.ByteString - getRequestIdBytes(); - - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - boolean hasEvent(); - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - flyteidl.event.Event.WorkflowExecutionEvent getEvent(); - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - flyteidl.event.Event.WorkflowExecutionEventOrBuilder getEventOrBuilder(); - } - /** - *
-   * Request to send a notification that a workflow execution event has occurred.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionEventRequest} - */ - public static final class WorkflowExecutionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionEventRequest) - WorkflowExecutionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionEventRequest.newBuilder() to construct. - private WorkflowExecutionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionEventRequest() { - requestId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionEventRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - requestId_ = s; - break; - } - case 18: { - flyteidl.event.Event.WorkflowExecutionEvent.Builder subBuilder = null; - if (event_ != null) { - subBuilder = event_.toBuilder(); - } - event_ = input.readMessage(flyteidl.event.Event.WorkflowExecutionEvent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(event_); - event_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.WorkflowExecutionEventRequest.class, flyteidl.admin.Event.WorkflowExecutionEventRequest.Builder.class); - } - - public static final int REQUEST_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object requestId_; - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - public java.lang.String getRequestId() { - java.lang.Object ref = requestId_; - 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(); - requestId_ = s; - return s; - } - } - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - public com.google.protobuf.ByteString - getRequestIdBytes() { - java.lang.Object ref = requestId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - requestId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EVENT_FIELD_NUMBER = 2; - private flyteidl.event.Event.WorkflowExecutionEvent event_; - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public boolean hasEvent() { - return event_ != null; - } - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public flyteidl.event.Event.WorkflowExecutionEvent getEvent() { - return event_ == null ? flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : event_; - } - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getEventOrBuilder() { - return getEvent(); - } - - 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 (!getRequestIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); - } - if (event_ != null) { - output.writeMessage(2, getEvent()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getRequestIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_); - } - if (event_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEvent()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.WorkflowExecutionEventRequest)) { - return super.equals(obj); - } - flyteidl.admin.Event.WorkflowExecutionEventRequest other = (flyteidl.admin.Event.WorkflowExecutionEventRequest) obj; - - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (hasEvent() != other.hasEvent()) return false; - if (hasEvent()) { - if (!getEvent() - .equals(other.getEvent())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; - hash = (53 * hash) + getRequestId().hashCode(); - if (hasEvent()) { - hash = (37 * hash) + EVENT_FIELD_NUMBER; - hash = (53 * hash) + getEvent().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.WorkflowExecutionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.WorkflowExecutionEventRequest 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 to send a notification that a workflow execution event has occurred.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionEventRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionEventRequest) - flyteidl.admin.Event.WorkflowExecutionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.WorkflowExecutionEventRequest.class, flyteidl.admin.Event.WorkflowExecutionEventRequest.Builder.class); - } - - // Construct using flyteidl.admin.Event.WorkflowExecutionEventRequest.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(); - requestId_ = ""; - - if (eventBuilder_ == null) { - event_ = null; - } else { - event_ = null; - eventBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventRequest getDefaultInstanceForType() { - return flyteidl.admin.Event.WorkflowExecutionEventRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventRequest build() { - flyteidl.admin.Event.WorkflowExecutionEventRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventRequest buildPartial() { - flyteidl.admin.Event.WorkflowExecutionEventRequest result = new flyteidl.admin.Event.WorkflowExecutionEventRequest(this); - result.requestId_ = requestId_; - if (eventBuilder_ == null) { - result.event_ = event_; - } else { - result.event_ = eventBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.WorkflowExecutionEventRequest) { - return mergeFrom((flyteidl.admin.Event.WorkflowExecutionEventRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.WorkflowExecutionEventRequest other) { - if (other == flyteidl.admin.Event.WorkflowExecutionEventRequest.getDefaultInstance()) return this; - if (!other.getRequestId().isEmpty()) { - requestId_ = other.requestId_; - onChanged(); - } - if (other.hasEvent()) { - mergeEvent(other.getEvent()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.WorkflowExecutionEventRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.WorkflowExecutionEventRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object requestId_ = ""; - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public java.lang.String getRequestId() { - java.lang.Object ref = requestId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - requestId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public com.google.protobuf.ByteString - getRequestIdBytes() { - java.lang.Object ref = requestId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - requestId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - requestId_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder clearRequestId() { - - requestId_ = getDefaultInstance().getRequestId(); - onChanged(); - return this; - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - requestId_ = value; - onChanged(); - return this; - } - - private flyteidl.event.Event.WorkflowExecutionEvent event_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder> eventBuilder_; - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public boolean hasEvent() { - return eventBuilder_ != null || event_ != null; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public flyteidl.event.Event.WorkflowExecutionEvent getEvent() { - if (eventBuilder_ == null) { - return event_ == null ? flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : event_; - } else { - return eventBuilder_.getMessage(); - } - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public Builder setEvent(flyteidl.event.Event.WorkflowExecutionEvent value) { - if (eventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - event_ = value; - onChanged(); - } else { - eventBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public Builder setEvent( - flyteidl.event.Event.WorkflowExecutionEvent.Builder builderForValue) { - if (eventBuilder_ == null) { - event_ = builderForValue.build(); - onChanged(); - } else { - eventBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public Builder mergeEvent(flyteidl.event.Event.WorkflowExecutionEvent value) { - if (eventBuilder_ == null) { - if (event_ != null) { - event_ = - flyteidl.event.Event.WorkflowExecutionEvent.newBuilder(event_).mergeFrom(value).buildPartial(); - } else { - event_ = value; - } - onChanged(); - } else { - eventBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public Builder clearEvent() { - if (eventBuilder_ == null) { - event_ = null; - onChanged(); - } else { - event_ = null; - eventBuilder_ = null; - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public flyteidl.event.Event.WorkflowExecutionEvent.Builder getEventBuilder() { - - onChanged(); - return getEventFieldBuilder().getBuilder(); - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getEventOrBuilder() { - if (eventBuilder_ != null) { - return eventBuilder_.getMessageOrBuilder(); - } else { - return event_ == null ? - flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : event_; - } - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.WorkflowExecutionEvent event = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder> - getEventFieldBuilder() { - if (eventBuilder_ == null) { - eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder>( - getEvent(), - getParentForChildren(), - isClean()); - event_ = null; - } - return eventBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionEventRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionEventRequest) - private static final flyteidl.admin.Event.WorkflowExecutionEventRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.WorkflowExecutionEventRequest(); - } - - public static flyteidl.admin.Event.WorkflowExecutionEventRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionEventRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionEventResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionEventResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionEventResponse} - */ - public static final class WorkflowExecutionEventResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionEventResponse) - WorkflowExecutionEventResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionEventResponse.newBuilder() to construct. - private WorkflowExecutionEventResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionEventResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionEventResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.WorkflowExecutionEventResponse.class, flyteidl.admin.Event.WorkflowExecutionEventResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.WorkflowExecutionEventResponse)) { - return super.equals(obj); - } - flyteidl.admin.Event.WorkflowExecutionEventResponse other = (flyteidl.admin.Event.WorkflowExecutionEventResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.WorkflowExecutionEventResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.WorkflowExecutionEventResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionEventResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionEventResponse) - flyteidl.admin.Event.WorkflowExecutionEventResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.WorkflowExecutionEventResponse.class, flyteidl.admin.Event.WorkflowExecutionEventResponse.Builder.class); - } - - // Construct using flyteidl.admin.Event.WorkflowExecutionEventResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_WorkflowExecutionEventResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventResponse getDefaultInstanceForType() { - return flyteidl.admin.Event.WorkflowExecutionEventResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventResponse build() { - flyteidl.admin.Event.WorkflowExecutionEventResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventResponse buildPartial() { - flyteidl.admin.Event.WorkflowExecutionEventResponse result = new flyteidl.admin.Event.WorkflowExecutionEventResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.WorkflowExecutionEventResponse) { - return mergeFrom((flyteidl.admin.Event.WorkflowExecutionEventResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.WorkflowExecutionEventResponse other) { - if (other == flyteidl.admin.Event.WorkflowExecutionEventResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.WorkflowExecutionEventResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.WorkflowExecutionEventResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionEventResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionEventResponse) - private static final flyteidl.admin.Event.WorkflowExecutionEventResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.WorkflowExecutionEventResponse(); - } - - public static flyteidl.admin.Event.WorkflowExecutionEventResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionEventResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionEventResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.WorkflowExecutionEventResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - java.lang.String getRequestId(); - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - com.google.protobuf.ByteString - getRequestIdBytes(); - - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - boolean hasEvent(); - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - flyteidl.event.Event.NodeExecutionEvent getEvent(); - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - flyteidl.event.Event.NodeExecutionEventOrBuilder getEventOrBuilder(); - } - /** - *
-   * Request to send a notification that a node execution event has occurred.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionEventRequest} - */ - public static final class NodeExecutionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionEventRequest) - NodeExecutionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionEventRequest.newBuilder() to construct. - private NodeExecutionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionEventRequest() { - requestId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionEventRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - requestId_ = s; - break; - } - case 18: { - flyteidl.event.Event.NodeExecutionEvent.Builder subBuilder = null; - if (event_ != null) { - subBuilder = event_.toBuilder(); - } - event_ = input.readMessage(flyteidl.event.Event.NodeExecutionEvent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(event_); - event_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.NodeExecutionEventRequest.class, flyteidl.admin.Event.NodeExecutionEventRequest.Builder.class); - } - - public static final int REQUEST_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object requestId_; - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - public java.lang.String getRequestId() { - java.lang.Object ref = requestId_; - 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(); - requestId_ = s; - return s; - } - } - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - public com.google.protobuf.ByteString - getRequestIdBytes() { - java.lang.Object ref = requestId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - requestId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EVENT_FIELD_NUMBER = 2; - private flyteidl.event.Event.NodeExecutionEvent event_; - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public boolean hasEvent() { - return event_ != null; - } - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public flyteidl.event.Event.NodeExecutionEvent getEvent() { - return event_ == null ? flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : event_; - } - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public flyteidl.event.Event.NodeExecutionEventOrBuilder getEventOrBuilder() { - return getEvent(); - } - - 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 (!getRequestIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); - } - if (event_ != null) { - output.writeMessage(2, getEvent()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getRequestIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_); - } - if (event_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEvent()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.NodeExecutionEventRequest)) { - return super.equals(obj); - } - flyteidl.admin.Event.NodeExecutionEventRequest other = (flyteidl.admin.Event.NodeExecutionEventRequest) obj; - - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (hasEvent() != other.hasEvent()) return false; - if (hasEvent()) { - if (!getEvent() - .equals(other.getEvent())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; - hash = (53 * hash) + getRequestId().hashCode(); - if (hasEvent()) { - hash = (37 * hash) + EVENT_FIELD_NUMBER; - hash = (53 * hash) + getEvent().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.NodeExecutionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.NodeExecutionEventRequest 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 to send a notification that a node execution event has occurred.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionEventRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionEventRequest) - flyteidl.admin.Event.NodeExecutionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.NodeExecutionEventRequest.class, flyteidl.admin.Event.NodeExecutionEventRequest.Builder.class); - } - - // Construct using flyteidl.admin.Event.NodeExecutionEventRequest.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(); - requestId_ = ""; - - if (eventBuilder_ == null) { - event_ = null; - } else { - event_ = null; - eventBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventRequest getDefaultInstanceForType() { - return flyteidl.admin.Event.NodeExecutionEventRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventRequest build() { - flyteidl.admin.Event.NodeExecutionEventRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventRequest buildPartial() { - flyteidl.admin.Event.NodeExecutionEventRequest result = new flyteidl.admin.Event.NodeExecutionEventRequest(this); - result.requestId_ = requestId_; - if (eventBuilder_ == null) { - result.event_ = event_; - } else { - result.event_ = eventBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.NodeExecutionEventRequest) { - return mergeFrom((flyteidl.admin.Event.NodeExecutionEventRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.NodeExecutionEventRequest other) { - if (other == flyteidl.admin.Event.NodeExecutionEventRequest.getDefaultInstance()) return this; - if (!other.getRequestId().isEmpty()) { - requestId_ = other.requestId_; - onChanged(); - } - if (other.hasEvent()) { - mergeEvent(other.getEvent()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.NodeExecutionEventRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.NodeExecutionEventRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object requestId_ = ""; - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public java.lang.String getRequestId() { - java.lang.Object ref = requestId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - requestId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public com.google.protobuf.ByteString - getRequestIdBytes() { - java.lang.Object ref = requestId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - requestId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - requestId_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder clearRequestId() { - - requestId_ = getDefaultInstance().getRequestId(); - onChanged(); - return this; - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - requestId_ = value; - onChanged(); - return this; - } - - private flyteidl.event.Event.NodeExecutionEvent event_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder> eventBuilder_; - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public boolean hasEvent() { - return eventBuilder_ != null || event_ != null; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public flyteidl.event.Event.NodeExecutionEvent getEvent() { - if (eventBuilder_ == null) { - return event_ == null ? flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : event_; - } else { - return eventBuilder_.getMessage(); - } - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public Builder setEvent(flyteidl.event.Event.NodeExecutionEvent value) { - if (eventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - event_ = value; - onChanged(); - } else { - eventBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public Builder setEvent( - flyteidl.event.Event.NodeExecutionEvent.Builder builderForValue) { - if (eventBuilder_ == null) { - event_ = builderForValue.build(); - onChanged(); - } else { - eventBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public Builder mergeEvent(flyteidl.event.Event.NodeExecutionEvent value) { - if (eventBuilder_ == null) { - if (event_ != null) { - event_ = - flyteidl.event.Event.NodeExecutionEvent.newBuilder(event_).mergeFrom(value).buildPartial(); - } else { - event_ = value; - } - onChanged(); - } else { - eventBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public Builder clearEvent() { - if (eventBuilder_ == null) { - event_ = null; - onChanged(); - } else { - event_ = null; - eventBuilder_ = null; - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public flyteidl.event.Event.NodeExecutionEvent.Builder getEventBuilder() { - - onChanged(); - return getEventFieldBuilder().getBuilder(); - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - public flyteidl.event.Event.NodeExecutionEventOrBuilder getEventOrBuilder() { - if (eventBuilder_ != null) { - return eventBuilder_.getMessageOrBuilder(); - } else { - return event_ == null ? - flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : event_; - } - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.NodeExecutionEvent event = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder> - getEventFieldBuilder() { - if (eventBuilder_ == null) { - eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder>( - getEvent(), - getParentForChildren(), - isClean()); - event_ = null; - } - return eventBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionEventRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionEventRequest) - private static final flyteidl.admin.Event.NodeExecutionEventRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.NodeExecutionEventRequest(); - } - - public static flyteidl.admin.Event.NodeExecutionEventRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionEventRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionEventResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionEventResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionEventResponse} - */ - public static final class NodeExecutionEventResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionEventResponse) - NodeExecutionEventResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionEventResponse.newBuilder() to construct. - private NodeExecutionEventResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionEventResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionEventResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.NodeExecutionEventResponse.class, flyteidl.admin.Event.NodeExecutionEventResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.NodeExecutionEventResponse)) { - return super.equals(obj); - } - flyteidl.admin.Event.NodeExecutionEventResponse other = (flyteidl.admin.Event.NodeExecutionEventResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.NodeExecutionEventResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.NodeExecutionEventResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionEventResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionEventResponse) - flyteidl.admin.Event.NodeExecutionEventResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.NodeExecutionEventResponse.class, flyteidl.admin.Event.NodeExecutionEventResponse.Builder.class); - } - - // Construct using flyteidl.admin.Event.NodeExecutionEventResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_NodeExecutionEventResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventResponse getDefaultInstanceForType() { - return flyteidl.admin.Event.NodeExecutionEventResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventResponse build() { - flyteidl.admin.Event.NodeExecutionEventResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventResponse buildPartial() { - flyteidl.admin.Event.NodeExecutionEventResponse result = new flyteidl.admin.Event.NodeExecutionEventResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.NodeExecutionEventResponse) { - return mergeFrom((flyteidl.admin.Event.NodeExecutionEventResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.NodeExecutionEventResponse other) { - if (other == flyteidl.admin.Event.NodeExecutionEventResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.NodeExecutionEventResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.NodeExecutionEventResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionEventResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionEventResponse) - private static final flyteidl.admin.Event.NodeExecutionEventResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.NodeExecutionEventResponse(); - } - - public static flyteidl.admin.Event.NodeExecutionEventResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionEventResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionEventResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.NodeExecutionEventResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionEventRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionEventRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - java.lang.String getRequestId(); - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - com.google.protobuf.ByteString - getRequestIdBytes(); - - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - boolean hasEvent(); - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - flyteidl.event.Event.TaskExecutionEvent getEvent(); - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - flyteidl.event.Event.TaskExecutionEventOrBuilder getEventOrBuilder(); - } - /** - *
-   * Request to send a notification that a task execution event has occurred.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionEventRequest} - */ - public static final class TaskExecutionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionEventRequest) - TaskExecutionEventRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionEventRequest.newBuilder() to construct. - private TaskExecutionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionEventRequest() { - requestId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionEventRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - requestId_ = s; - break; - } - case 18: { - flyteidl.event.Event.TaskExecutionEvent.Builder subBuilder = null; - if (event_ != null) { - subBuilder = event_.toBuilder(); - } - event_ = input.readMessage(flyteidl.event.Event.TaskExecutionEvent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(event_); - event_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.TaskExecutionEventRequest.class, flyteidl.admin.Event.TaskExecutionEventRequest.Builder.class); - } - - public static final int REQUEST_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object requestId_; - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - public java.lang.String getRequestId() { - java.lang.Object ref = requestId_; - 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(); - requestId_ = s; - return s; - } - } - /** - *
-     * Unique ID for this request that can be traced between services
-     * 
- * - * string request_id = 1; - */ - public com.google.protobuf.ByteString - getRequestIdBytes() { - java.lang.Object ref = requestId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - requestId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EVENT_FIELD_NUMBER = 2; - private flyteidl.event.Event.TaskExecutionEvent event_; - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public boolean hasEvent() { - return event_ != null; - } - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public flyteidl.event.Event.TaskExecutionEvent getEvent() { - return event_ == null ? flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : event_; - } - /** - *
-     * Details about the event that occurred.
-     * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public flyteidl.event.Event.TaskExecutionEventOrBuilder getEventOrBuilder() { - return getEvent(); - } - - 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 (!getRequestIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); - } - if (event_ != null) { - output.writeMessage(2, getEvent()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getRequestIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_); - } - if (event_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEvent()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.TaskExecutionEventRequest)) { - return super.equals(obj); - } - flyteidl.admin.Event.TaskExecutionEventRequest other = (flyteidl.admin.Event.TaskExecutionEventRequest) obj; - - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (hasEvent() != other.hasEvent()) return false; - if (hasEvent()) { - if (!getEvent() - .equals(other.getEvent())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; - hash = (53 * hash) + getRequestId().hashCode(); - if (hasEvent()) { - hash = (37 * hash) + EVENT_FIELD_NUMBER; - hash = (53 * hash) + getEvent().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.TaskExecutionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.TaskExecutionEventRequest 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 to send a notification that a task execution event has occurred.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionEventRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionEventRequest) - flyteidl.admin.Event.TaskExecutionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.TaskExecutionEventRequest.class, flyteidl.admin.Event.TaskExecutionEventRequest.Builder.class); - } - - // Construct using flyteidl.admin.Event.TaskExecutionEventRequest.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(); - requestId_ = ""; - - if (eventBuilder_ == null) { - event_ = null; - } else { - event_ = null; - eventBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventRequest getDefaultInstanceForType() { - return flyteidl.admin.Event.TaskExecutionEventRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventRequest build() { - flyteidl.admin.Event.TaskExecutionEventRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventRequest buildPartial() { - flyteidl.admin.Event.TaskExecutionEventRequest result = new flyteidl.admin.Event.TaskExecutionEventRequest(this); - result.requestId_ = requestId_; - if (eventBuilder_ == null) { - result.event_ = event_; - } else { - result.event_ = eventBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.TaskExecutionEventRequest) { - return mergeFrom((flyteidl.admin.Event.TaskExecutionEventRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.TaskExecutionEventRequest other) { - if (other == flyteidl.admin.Event.TaskExecutionEventRequest.getDefaultInstance()) return this; - if (!other.getRequestId().isEmpty()) { - requestId_ = other.requestId_; - onChanged(); - } - if (other.hasEvent()) { - mergeEvent(other.getEvent()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.TaskExecutionEventRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.TaskExecutionEventRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object requestId_ = ""; - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public java.lang.String getRequestId() { - java.lang.Object ref = requestId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - requestId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public com.google.protobuf.ByteString - getRequestIdBytes() { - java.lang.Object ref = requestId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - requestId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - requestId_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder clearRequestId() { - - requestId_ = getDefaultInstance().getRequestId(); - onChanged(); - return this; - } - /** - *
-       * Unique ID for this request that can be traced between services
-       * 
- * - * string request_id = 1; - */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - requestId_ = value; - onChanged(); - return this; - } - - private flyteidl.event.Event.TaskExecutionEvent event_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder> eventBuilder_; - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public boolean hasEvent() { - return eventBuilder_ != null || event_ != null; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public flyteidl.event.Event.TaskExecutionEvent getEvent() { - if (eventBuilder_ == null) { - return event_ == null ? flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : event_; - } else { - return eventBuilder_.getMessage(); - } - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public Builder setEvent(flyteidl.event.Event.TaskExecutionEvent value) { - if (eventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - event_ = value; - onChanged(); - } else { - eventBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public Builder setEvent( - flyteidl.event.Event.TaskExecutionEvent.Builder builderForValue) { - if (eventBuilder_ == null) { - event_ = builderForValue.build(); - onChanged(); - } else { - eventBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public Builder mergeEvent(flyteidl.event.Event.TaskExecutionEvent value) { - if (eventBuilder_ == null) { - if (event_ != null) { - event_ = - flyteidl.event.Event.TaskExecutionEvent.newBuilder(event_).mergeFrom(value).buildPartial(); - } else { - event_ = value; - } - onChanged(); - } else { - eventBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public Builder clearEvent() { - if (eventBuilder_ == null) { - event_ = null; - onChanged(); - } else { - event_ = null; - eventBuilder_ = null; - } - - return this; - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public flyteidl.event.Event.TaskExecutionEvent.Builder getEventBuilder() { - - onChanged(); - return getEventFieldBuilder().getBuilder(); - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - public flyteidl.event.Event.TaskExecutionEventOrBuilder getEventOrBuilder() { - if (eventBuilder_ != null) { - return eventBuilder_.getMessageOrBuilder(); - } else { - return event_ == null ? - flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : event_; - } - } - /** - *
-       * Details about the event that occurred.
-       * 
- * - * .flyteidl.event.TaskExecutionEvent event = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder> - getEventFieldBuilder() { - if (eventBuilder_ == null) { - eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder>( - getEvent(), - getParentForChildren(), - isClean()); - event_ = null; - } - return eventBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionEventRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionEventRequest) - private static final flyteidl.admin.Event.TaskExecutionEventRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.TaskExecutionEventRequest(); - } - - public static flyteidl.admin.Event.TaskExecutionEventRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionEventRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionEventResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionEventResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionEventResponse} - */ - public static final class TaskExecutionEventResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionEventResponse) - TaskExecutionEventResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionEventResponse.newBuilder() to construct. - private TaskExecutionEventResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionEventResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionEventResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.TaskExecutionEventResponse.class, flyteidl.admin.Event.TaskExecutionEventResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Event.TaskExecutionEventResponse)) { - return super.equals(obj); - } - flyteidl.admin.Event.TaskExecutionEventResponse other = (flyteidl.admin.Event.TaskExecutionEventResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Event.TaskExecutionEventResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Event.TaskExecutionEventResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionEventResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionEventResponse) - flyteidl.admin.Event.TaskExecutionEventResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Event.TaskExecutionEventResponse.class, flyteidl.admin.Event.TaskExecutionEventResponse.Builder.class); - } - - // Construct using flyteidl.admin.Event.TaskExecutionEventResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Event.internal_static_flyteidl_admin_TaskExecutionEventResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventResponse getDefaultInstanceForType() { - return flyteidl.admin.Event.TaskExecutionEventResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventResponse build() { - flyteidl.admin.Event.TaskExecutionEventResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventResponse buildPartial() { - flyteidl.admin.Event.TaskExecutionEventResponse result = new flyteidl.admin.Event.TaskExecutionEventResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Event.TaskExecutionEventResponse) { - return mergeFrom((flyteidl.admin.Event.TaskExecutionEventResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Event.TaskExecutionEventResponse other) { - if (other == flyteidl.admin.Event.TaskExecutionEventResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Event.TaskExecutionEventResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Event.TaskExecutionEventResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionEventResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionEventResponse) - private static final flyteidl.admin.Event.TaskExecutionEventResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Event.TaskExecutionEventResponse(); - } - - public static flyteidl.admin.Event.TaskExecutionEventResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionEventResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionEventResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Event.TaskExecutionEventResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_EventErrorIncompatibleCluster_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_EventErrorIncompatibleCluster_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_EventFailureReason_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_EventFailureReason_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionEventRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionEventRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionEventResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionEventResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionEventRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionEventRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionEventResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionEventResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionEventRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionEventRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionEventResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionEventResponse_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\032flyteidl/admin/event.proto\022\016flyteidl.a" + - "dmin\032\032flyteidl/event/event.proto\"9\n Even" + - "tErrorAlreadyInTerminalState\022\025\n\rcurrent_" + - "phase\030\001 \001(\t\"0\n\035EventErrorIncompatibleClu" + - "ster\022\017\n\007cluster\030\001 \001(\t\"\304\001\n\022EventFailureRe" + - "ason\022U\n\031already_in_terminal_state\030\001 \001(\0132" + - "0.flyteidl.admin.EventErrorAlreadyInTerm" + - "inalStateH\000\022M\n\024incompatible_cluster\030\002 \001(" + - "\0132-.flyteidl.admin.EventErrorIncompatibl" + - "eClusterH\000B\010\n\006reason\"j\n\035WorkflowExecutio" + - "nEventRequest\022\022\n\nrequest_id\030\001 \001(\t\0225\n\005eve" + - "nt\030\002 \001(\0132&.flyteidl.event.WorkflowExecut" + - "ionEvent\" \n\036WorkflowExecutionEventRespon" + - "se\"b\n\031NodeExecutionEventRequest\022\022\n\nreque" + - "st_id\030\001 \001(\t\0221\n\005event\030\002 \001(\0132\".flyteidl.ev" + - "ent.NodeExecutionEvent\"\034\n\032NodeExecutionE" + - "ventResponse\"b\n\031TaskExecutionEventReques" + - "t\022\022\n\nrequest_id\030\001 \001(\t\0221\n\005event\030\002 \001(\0132\".f" + - "lyteidl.event.TaskExecutionEvent\"\034\n\032Task" + - "ExecutionEventResponseB=Z;github.com/fly" + - "teorg/flyte/flyteidl/gen/pb-go/flyteidl/" + - "adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.event.Event.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_EventErrorAlreadyInTerminalState_descriptor, - new java.lang.String[] { "CurrentPhase", }); - internal_static_flyteidl_admin_EventErrorIncompatibleCluster_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_EventErrorIncompatibleCluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_EventErrorIncompatibleCluster_descriptor, - new java.lang.String[] { "Cluster", }); - internal_static_flyteidl_admin_EventFailureReason_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_EventFailureReason_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_EventFailureReason_descriptor, - new java.lang.String[] { "AlreadyInTerminalState", "IncompatibleCluster", "Reason", }); - internal_static_flyteidl_admin_WorkflowExecutionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_WorkflowExecutionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionEventRequest_descriptor, - new java.lang.String[] { "RequestId", "Event", }); - internal_static_flyteidl_admin_WorkflowExecutionEventResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_WorkflowExecutionEventResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionEventResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_NodeExecutionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_NodeExecutionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionEventRequest_descriptor, - new java.lang.String[] { "RequestId", "Event", }); - internal_static_flyteidl_admin_NodeExecutionEventResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_NodeExecutionEventResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionEventResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_TaskExecutionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_TaskExecutionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionEventRequest_descriptor, - new java.lang.String[] { "RequestId", "Event", }); - internal_static_flyteidl_admin_TaskExecutionEventResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_TaskExecutionEventResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionEventResponse_descriptor, - new java.lang.String[] { }); - flyteidl.event.Event.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java deleted file mode 100644 index 57ad2a4f24..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java +++ /dev/null @@ -1,29416 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/execution.proto - -package flyteidl.admin; - -public final class ExecutionOuterClass { - private ExecutionOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * The state of the execution is used to control its visibility in the UI/CLI.
-   * 
- * - * Protobuf enum {@code flyteidl.admin.ExecutionState} - */ - public enum ExecutionState - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-     * By default, all executions are considered active.
-     * 
- * - * EXECUTION_ACTIVE = 0; - */ - EXECUTION_ACTIVE(0), - /** - *
-     * Archived executions are no longer visible in the UI.
-     * 
- * - * EXECUTION_ARCHIVED = 1; - */ - EXECUTION_ARCHIVED(1), - UNRECOGNIZED(-1), - ; - - /** - *
-     * By default, all executions are considered active.
-     * 
- * - * EXECUTION_ACTIVE = 0; - */ - public static final int EXECUTION_ACTIVE_VALUE = 0; - /** - *
-     * Archived executions are no longer visible in the UI.
-     * 
- * - * EXECUTION_ARCHIVED = 1; - */ - public static final int EXECUTION_ARCHIVED_VALUE = 1; - - - 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 ExecutionState valueOf(int value) { - return forNumber(value); - } - - public static ExecutionState forNumber(int value) { - switch (value) { - case 0: return EXECUTION_ACTIVE; - case 1: return EXECUTION_ARCHIVED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ExecutionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionState findValueByNumber(int number) { - return ExecutionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final ExecutionState[] VALUES = values(); - - public static ExecutionState 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 ExecutionState(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.ExecutionState) - } - - public interface ExecutionCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionCreateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name of the project the execution belongs to.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Name of the project the execution belongs to.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Name of the domain the execution belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * +required
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Name of the domain the execution belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * +required
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * User provided value for the resource.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - java.lang.String getName(); - /** - *
-     * User provided value for the resource.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Additional fields necessary to launch the execution.
-     * +optional
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - boolean hasSpec(); - /** - *
-     * Additional fields necessary to launch the execution.
-     * +optional
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionSpec getSpec(); - /** - *
-     * Additional fields necessary to launch the execution.
-     * +optional
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder getSpecOrBuilder(); - - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - boolean hasInputs(); - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - flyteidl.core.Literals.LiteralMap getInputs(); - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to launch an execution with the given project, domain and optionally-assigned name.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionCreateRequest} - */ - public static final class ExecutionCreateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionCreateRequest) - ExecutionCreateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionCreateRequest.newBuilder() to construct. - private ExecutionCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionCreateRequest() { - project_ = ""; - domain_ = ""; - name_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionCreateRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 34: { - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder subBuilder = null; - if (spec_ != null) { - subBuilder = spec_.toBuilder(); - } - spec_ = input.readMessage(flyteidl.admin.ExecutionOuterClass.ExecutionSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(spec_); - spec_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Name of the project the execution belongs to.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Name of the project the execution belongs to.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Name of the domain the execution belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * +required
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Name of the domain the execution belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * +required
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - *
-     * User provided value for the resource.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * User provided value for the resource.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SPEC_FIELD_NUMBER = 4; - private flyteidl.admin.ExecutionOuterClass.ExecutionSpec spec_; - /** - *
-     * Additional fields necessary to launch the execution.
-     * +optional
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public boolean hasSpec() { - return spec_ != null; - } - /** - *
-     * Additional fields necessary to launch the execution.
-     * +optional
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec getSpec() { - return spec_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance() : spec_; - } - /** - *
-     * Additional fields necessary to launch the execution.
-     * +optional
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder getSpecOrBuilder() { - return getSpec(); - } - - public static final int INPUTS_FIELD_NUMBER = 5; - private flyteidl.core.Literals.LiteralMap inputs_; - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public boolean hasInputs() { - return inputs_ != null; - } - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public flyteidl.core.Literals.LiteralMap getInputs() { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int ORG_FIELD_NUMBER = 6; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - if (spec_ != null) { - output.writeMessage(4, getSpec()); - } - if (inputs_ != null) { - output.writeMessage(5, getInputs()); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - if (spec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getSpec()); - } - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInputs()); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest other = (flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getName() - .equals(other.getName())) return false; - if (hasSpec() != other.hasSpec()) return false; - if (hasSpec()) { - if (!getSpec() - .equals(other.getSpec())) return false; - } - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasSpec()) { - hash = (37 * hash) + SPEC_FIELD_NUMBER; - hash = (53 * hash) + getSpec().hashCode(); - } - if (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest 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 to launch an execution with the given project, domain and optionally-assigned name.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionCreateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionCreateRequest) - flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - name_ = ""; - - if (specBuilder_ == null) { - spec_ = null; - } else { - spec_ = null; - specBuilder_ = null; - } - if (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest build() { - flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest result = new flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.name_ = name_; - if (specBuilder_ == null) { - result.spec_ = spec_; - } else { - result.spec_ = specBuilder_.build(); - } - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.hasSpec()) { - mergeSpec(other.getSpec()); - } - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Name of the project the execution belongs to.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the project the execution belongs to.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the project the execution belongs to.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the project the execution belongs to.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Name of the project the execution belongs to.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Name of the domain the execution belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the domain the execution belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the domain the execution belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the domain the execution belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Name of the domain the execution belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * User provided value for the resource.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * User provided value for the resource.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * User provided value for the resource.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * User provided value for the resource.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * User provided value for the resource.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.ExecutionOuterClass.ExecutionSpec spec_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionSpec, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder> specBuilder_; - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public boolean hasSpec() { - return specBuilder_ != null || spec_ != null; - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec getSpec() { - if (specBuilder_ == null) { - return spec_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance() : spec_; - } else { - return specBuilder_.getMessage(); - } - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public Builder setSpec(flyteidl.admin.ExecutionOuterClass.ExecutionSpec value) { - if (specBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - spec_ = value; - onChanged(); - } else { - specBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public Builder setSpec( - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder builderForValue) { - if (specBuilder_ == null) { - spec_ = builderForValue.build(); - onChanged(); - } else { - specBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public Builder mergeSpec(flyteidl.admin.ExecutionOuterClass.ExecutionSpec value) { - if (specBuilder_ == null) { - if (spec_ != null) { - spec_ = - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); - } else { - spec_ = value; - } - onChanged(); - } else { - specBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public Builder clearSpec() { - if (specBuilder_ == null) { - spec_ = null; - onChanged(); - } else { - spec_ = null; - specBuilder_ = null; - } - - return this; - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder getSpecBuilder() { - - onChanged(); - return getSpecFieldBuilder().getBuilder(); - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder getSpecOrBuilder() { - if (specBuilder_ != null) { - return specBuilder_.getMessageOrBuilder(); - } else { - return spec_ == null ? - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance() : spec_; - } - } - /** - *
-       * Additional fields necessary to launch the execution.
-       * +optional
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionSpec, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder> - getSpecFieldBuilder() { - if (specBuilder_ == null) { - specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionSpec, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder>( - getSpec(), - getParentForChildren(), - isClean()); - spec_ = null; - } - return specBuilder_; - } - - private flyteidl.core.Literals.LiteralMap inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputsBuilder_; - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public flyteidl.core.Literals.LiteralMap getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public Builder setInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public Builder setInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public Builder mergeInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionCreateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionCreateRequest) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionCreateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionCreateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionRelaunchRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionRelaunchRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Identifier of the workflow execution to relaunch.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Identifier of the workflow execution to relaunch.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * Identifier of the workflow execution to relaunch.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * User provided value for the relaunched execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - java.lang.String getName(); - /** - *
-     * User provided value for the relaunched execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 4; - */ - boolean getOverwriteCache(); - } - /** - *
-   * Request to relaunch the referenced execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionRelaunchRequest} - */ - public static final class ExecutionRelaunchRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionRelaunchRequest) - ExecutionRelaunchRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionRelaunchRequest.newBuilder() to construct. - private ExecutionRelaunchRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionRelaunchRequest() { - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionRelaunchRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 32: { - - overwriteCache_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRelaunchRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * Identifier of the workflow execution to relaunch.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Identifier of the workflow execution to relaunch.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Identifier of the workflow execution to relaunch.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - *
-     * User provided value for the relaunched execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * User provided value for the relaunched execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OVERWRITE_CACHE_FIELD_NUMBER = 4; - private boolean overwriteCache_; - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 4; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - if (overwriteCache_ != false) { - output.writeBool(4, overwriteCache_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - if (overwriteCache_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, overwriteCache_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest other = (flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getName() - .equals(other.getName())) return false; - if (getOverwriteCache() - != other.getOverwriteCache()) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + OVERWRITE_CACHE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOverwriteCache()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest 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 to relaunch the referenced execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionRelaunchRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionRelaunchRequest) - flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRelaunchRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - name_ = ""; - - overwriteCache_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest build() { - flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest result = new flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.name_ = name_; - result.overwriteCache_ = overwriteCache_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.getOverwriteCache() != false) { - setOverwriteCache(other.getOverwriteCache()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Identifier of the workflow execution to relaunch.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object name_ = ""; - /** - *
-       * User provided value for the relaunched execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * User provided value for the relaunched execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * User provided value for the relaunched execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * User provided value for the relaunched execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * User provided value for the relaunched execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 3; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private boolean overwriteCache_ ; - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 4; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 4; - */ - public Builder setOverwriteCache(boolean value) { - - overwriteCache_ = value; - onChanged(); - return this; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 4; - */ - public Builder clearOverwriteCache() { - - overwriteCache_ = false; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionRelaunchRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionRelaunchRequest) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionRelaunchRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionRelaunchRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRelaunchRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionRecoverRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionRecoverRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Identifier of the workflow execution to recover.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Identifier of the workflow execution to recover.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * Identifier of the workflow execution to recover.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * User provided value for the recovered execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 2; - */ - java.lang.String getName(); - /** - *
-     * User provided value for the recovered execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - boolean hasMetadata(); - /** - *
-     * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getMetadata(); - /** - *
-     * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder getMetadataOrBuilder(); - } - /** - *
-   * Request to recover the referenced execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionRecoverRequest} - */ - public static final class ExecutionRecoverRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionRecoverRequest) - ExecutionRecoverRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionRecoverRequest.newBuilder() to construct. - private ExecutionRecoverRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionRecoverRequest() { - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionRecoverRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 26: { - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.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 flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRecoverRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * Identifier of the workflow execution to recover.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Identifier of the workflow execution to recover.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Identifier of the workflow execution to recover.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - *
-     * User provided value for the recovered execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * User provided value for the recovered execution.
-     * If none is provided the system will generate a unique string.
-     * +optional
-     * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int METADATA_FIELD_NUMBER = 3; - private flyteidl.admin.ExecutionOuterClass.ExecutionMetadata metadata_; - /** - *
-     * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getMetadata() { - return metadata_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - if (metadata_ != null) { - output.writeMessage(3, getMetadata()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, 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 flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest other = (flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getName() - .equals(other.getName())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().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 flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest 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 to recover the referenced execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionRecoverRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionRecoverRequest) - flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRecoverRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - name_ = ""; - - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest build() { - flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest result = new flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.name_ = name_; - 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 flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - 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 { - flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Identifier of the workflow execution to recover.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object name_ = ""; - /** - *
-       * User provided value for the recovered execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * User provided value for the recovered execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * User provided value for the recovered execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * User provided value for the recovered execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 2; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * User provided value for the recovered execution.
-       * If none is provided the system will generate a unique string.
-       * +optional
-       * 
- * - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.ExecutionOuterClass.ExecutionMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder setMetadata(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder setMetadata( - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder mergeMetadata(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder>( - 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:flyteidl.admin.ExecutionRecoverRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionRecoverRequest) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionRecoverRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionRecoverRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionRecoverRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionCreateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionCreateResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * The unique identifier for a successfully created execution.
-   * If the name was *not* specified in the create request, this identifier will include a generated name.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionCreateResponse} - */ - public static final class ExecutionCreateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionCreateResponse) - ExecutionCreateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionCreateResponse.newBuilder() to construct. - private ExecutionCreateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionCreateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionCreateResponse( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse.class, flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse other = (flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse 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; - } - /** - *
-     * The unique identifier for a successfully created execution.
-     * If the name was *not* specified in the create request, this identifier will include a generated name.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionCreateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionCreateResponse) - flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse.class, flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse build() { - flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse result = new flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionCreateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionCreateResponse) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionCreateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionCreateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionCreateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Uniquely identifies an individual workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Uniquely identifies an individual workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * Uniquely identifies an individual workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * A message used to fetch a single workflow execution entity.
-   * See :ref:`ref_flyteidl.admin.Execution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetRequest} - */ - public static final class WorkflowExecutionGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionGetRequest) - WorkflowExecutionGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionGetRequest.newBuilder() to construct. - private WorkflowExecutionGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionGetRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionGetRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * Uniquely identifies an individual workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Uniquely identifies an individual workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Uniquely identifies an individual workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest other = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest 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 message used to fetch a single workflow execution entity.
-     * See :ref:`ref_flyteidl.admin.Execution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionGetRequest) - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest build() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest result = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Uniquely identifies an individual workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetRequest) - private static final flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Execution) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique identifier of the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Unique identifier of the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * Unique identifier of the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * User-provided configuration and inputs for launching the execution.
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - boolean hasSpec(); - /** - *
-     * User-provided configuration and inputs for launching the execution.
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionSpec getSpec(); - /** - *
-     * User-provided configuration and inputs for launching the execution.
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder getSpecOrBuilder(); - - /** - *
-     * Execution results.
-     * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - boolean hasClosure(); - /** - *
-     * Execution results.
-     * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionClosure getClosure(); - /** - *
-     * Execution results.
-     * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionClosureOrBuilder getClosureOrBuilder(); - } - /** - *
-   * A workflow execution represents an instantiated workflow, including all inputs and additional
-   * metadata as well as computed results included state, outputs, and duration-based attributes.
-   * Used as a response object used in Get and List execution requests.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Execution} - */ - public static final class Execution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Execution) - ExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Execution.newBuilder() to construct. - private Execution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Execution() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Execution( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder subBuilder = null; - if (spec_ != null) { - subBuilder = spec_.toBuilder(); - } - spec_ = input.readMessage(flyteidl.admin.ExecutionOuterClass.ExecutionSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(spec_); - spec_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder subBuilder = null; - if (closure_ != null) { - subBuilder = closure_.toBuilder(); - } - closure_ = input.readMessage(flyteidl.admin.ExecutionOuterClass.ExecutionClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(closure_); - closure_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_Execution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_Execution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.Execution.class, flyteidl.admin.ExecutionOuterClass.Execution.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * Unique identifier of the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Unique identifier of the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Unique identifier of the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int SPEC_FIELD_NUMBER = 2; - private flyteidl.admin.ExecutionOuterClass.ExecutionSpec spec_; - /** - *
-     * User-provided configuration and inputs for launching the execution.
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public boolean hasSpec() { - return spec_ != null; - } - /** - *
-     * User-provided configuration and inputs for launching the execution.
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec getSpec() { - return spec_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance() : spec_; - } - /** - *
-     * User-provided configuration and inputs for launching the execution.
-     * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder getSpecOrBuilder() { - return getSpec(); - } - - public static final int CLOSURE_FIELD_NUMBER = 3; - private flyteidl.admin.ExecutionOuterClass.ExecutionClosure closure_; - /** - *
-     * Execution results.
-     * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public boolean hasClosure() { - return closure_ != null; - } - /** - *
-     * Execution results.
-     * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure getClosure() { - return closure_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionClosure.getDefaultInstance() : closure_; - } - /** - *
-     * Execution results.
-     * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionClosureOrBuilder getClosureOrBuilder() { - return getClosure(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (spec_ != null) { - output.writeMessage(2, getSpec()); - } - if (closure_ != null) { - output.writeMessage(3, getClosure()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (spec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSpec()); - } - if (closure_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getClosure()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.Execution)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.Execution other = (flyteidl.admin.ExecutionOuterClass.Execution) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasSpec() != other.hasSpec()) return false; - if (hasSpec()) { - if (!getSpec() - .equals(other.getSpec())) return false; - } - if (hasClosure() != other.hasClosure()) return false; - if (hasClosure()) { - if (!getClosure() - .equals(other.getClosure())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasSpec()) { - hash = (37 * hash) + SPEC_FIELD_NUMBER; - hash = (53 * hash) + getSpec().hashCode(); - } - if (hasClosure()) { - hash = (37 * hash) + CLOSURE_FIELD_NUMBER; - hash = (53 * hash) + getClosure().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.Execution parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.Execution 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 workflow execution represents an instantiated workflow, including all inputs and additional
-     * metadata as well as computed results included state, outputs, and duration-based attributes.
-     * Used as a response object used in Get and List execution requests.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Execution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Execution) - flyteidl.admin.ExecutionOuterClass.ExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_Execution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_Execution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.Execution.class, flyteidl.admin.ExecutionOuterClass.Execution.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.Execution.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (specBuilder_ == null) { - spec_ = null; - } else { - spec_ = null; - specBuilder_ = null; - } - if (closureBuilder_ == null) { - closure_ = null; - } else { - closure_ = null; - closureBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_Execution_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.Execution getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.Execution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.Execution build() { - flyteidl.admin.ExecutionOuterClass.Execution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.Execution buildPartial() { - flyteidl.admin.ExecutionOuterClass.Execution result = new flyteidl.admin.ExecutionOuterClass.Execution(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (specBuilder_ == null) { - result.spec_ = spec_; - } else { - result.spec_ = specBuilder_.build(); - } - if (closureBuilder_ == null) { - result.closure_ = closure_; - } else { - result.closure_ = closureBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.Execution) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.Execution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.Execution other) { - if (other == flyteidl.admin.ExecutionOuterClass.Execution.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasSpec()) { - mergeSpec(other.getSpec()); - } - if (other.hasClosure()) { - mergeClosure(other.getClosure()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.Execution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.Execution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Unique identifier of the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.ExecutionOuterClass.ExecutionSpec spec_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionSpec, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder> specBuilder_; - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public boolean hasSpec() { - return specBuilder_ != null || spec_ != null; - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec getSpec() { - if (specBuilder_ == null) { - return spec_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance() : spec_; - } else { - return specBuilder_.getMessage(); - } - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public Builder setSpec(flyteidl.admin.ExecutionOuterClass.ExecutionSpec value) { - if (specBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - spec_ = value; - onChanged(); - } else { - specBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public Builder setSpec( - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder builderForValue) { - if (specBuilder_ == null) { - spec_ = builderForValue.build(); - onChanged(); - } else { - specBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public Builder mergeSpec(flyteidl.admin.ExecutionOuterClass.ExecutionSpec value) { - if (specBuilder_ == null) { - if (spec_ != null) { - spec_ = - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); - } else { - spec_ = value; - } - onChanged(); - } else { - specBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public Builder clearSpec() { - if (specBuilder_ == null) { - spec_ = null; - onChanged(); - } else { - spec_ = null; - specBuilder_ = null; - } - - return this; - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder getSpecBuilder() { - - onChanged(); - return getSpecFieldBuilder().getBuilder(); - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder getSpecOrBuilder() { - if (specBuilder_ != null) { - return specBuilder_.getMessageOrBuilder(); - } else { - return spec_ == null ? - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance() : spec_; - } - } - /** - *
-       * User-provided configuration and inputs for launching the execution.
-       * 
- * - * .flyteidl.admin.ExecutionSpec spec = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionSpec, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder> - getSpecFieldBuilder() { - if (specBuilder_ == null) { - specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionSpec, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder>( - getSpec(), - getParentForChildren(), - isClean()); - spec_ = null; - } - return specBuilder_; - } - - private flyteidl.admin.ExecutionOuterClass.ExecutionClosure closure_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionClosure, flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionClosureOrBuilder> closureBuilder_; - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public boolean hasClosure() { - return closureBuilder_ != null || closure_ != null; - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure getClosure() { - if (closureBuilder_ == null) { - return closure_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionClosure.getDefaultInstance() : closure_; - } else { - return closureBuilder_.getMessage(); - } - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public Builder setClosure(flyteidl.admin.ExecutionOuterClass.ExecutionClosure value) { - if (closureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - closure_ = value; - onChanged(); - } else { - closureBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public Builder setClosure( - flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder builderForValue) { - if (closureBuilder_ == null) { - closure_ = builderForValue.build(); - onChanged(); - } else { - closureBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public Builder mergeClosure(flyteidl.admin.ExecutionOuterClass.ExecutionClosure value) { - if (closureBuilder_ == null) { - if (closure_ != null) { - closure_ = - flyteidl.admin.ExecutionOuterClass.ExecutionClosure.newBuilder(closure_).mergeFrom(value).buildPartial(); - } else { - closure_ = value; - } - onChanged(); - } else { - closureBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public Builder clearClosure() { - if (closureBuilder_ == null) { - closure_ = null; - onChanged(); - } else { - closure_ = null; - closureBuilder_ = null; - } - - return this; - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder getClosureBuilder() { - - onChanged(); - return getClosureFieldBuilder().getBuilder(); - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionClosureOrBuilder getClosureOrBuilder() { - if (closureBuilder_ != null) { - return closureBuilder_.getMessageOrBuilder(); - } else { - return closure_ == null ? - flyteidl.admin.ExecutionOuterClass.ExecutionClosure.getDefaultInstance() : closure_; - } - } - /** - *
-       * Execution results.
-       * 
- * - * .flyteidl.admin.ExecutionClosure closure = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionClosure, flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionClosureOrBuilder> - getClosureFieldBuilder() { - if (closureBuilder_ == null) { - closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionClosure, flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionClosureOrBuilder>( - getClosure(), - getParentForChildren(), - isClean()); - closure_ = null; - } - return closureBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Execution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Execution) - private static final flyteidl.admin.ExecutionOuterClass.Execution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.Execution(); - } - - public static flyteidl.admin.ExecutionOuterClass.Execution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Execution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Execution(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.Execution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - java.util.List - getExecutionsList(); - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - flyteidl.admin.ExecutionOuterClass.Execution getExecutions(int index); - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - int getExecutionsCount(); - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - java.util.List - getExecutionsOrBuilderList(); - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionOrBuilder getExecutionsOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Used as a response for request to list executions.
-   * See :ref:`ref_flyteidl.admin.Execution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionList} - */ - public static final class ExecutionList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionList) - ExecutionListOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionList.newBuilder() to construct. - private ExecutionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionList() { - executions_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionList( - 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)) { - executions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - executions_.add( - input.readMessage(flyteidl.admin.ExecutionOuterClass.Execution.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - executions_ = java.util.Collections.unmodifiableList(executions_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionList.class, flyteidl.admin.ExecutionOuterClass.ExecutionList.Builder.class); - } - - private int bitField0_; - public static final int EXECUTIONS_FIELD_NUMBER = 1; - private java.util.List executions_; - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public java.util.List getExecutionsList() { - return executions_; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public java.util.List - getExecutionsOrBuilderList() { - return executions_; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public int getExecutionsCount() { - return executions_.size(); - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public flyteidl.admin.ExecutionOuterClass.Execution getExecutions(int index) { - return executions_.get(index); - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionOrBuilder getExecutionsOrBuilder( - int index) { - return executions_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < executions_.size(); i++) { - output.writeMessage(1, executions_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < executions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, executions_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionList)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionList other = (flyteidl.admin.ExecutionOuterClass.ExecutionList) obj; - - if (!getExecutionsList() - .equals(other.getExecutionsList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getExecutionsCount() > 0) { - hash = (37 * hash) + EXECUTIONS_FIELD_NUMBER; - hash = (53 * hash) + getExecutionsList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionList 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; - } - /** - *
-     * Used as a response for request to list executions.
-     * See :ref:`ref_flyteidl.admin.Execution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionList) - flyteidl.admin.ExecutionOuterClass.ExecutionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionList.class, flyteidl.admin.ExecutionOuterClass.ExecutionList.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getExecutionsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (executionsBuilder_ == null) { - executions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - executionsBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionList getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionList build() { - flyteidl.admin.ExecutionOuterClass.ExecutionList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionList buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionList result = new flyteidl.admin.ExecutionOuterClass.ExecutionList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (executionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - executions_ = java.util.Collections.unmodifiableList(executions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.executions_ = executions_; - } else { - result.executions_ = executionsBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionList) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionList other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionList.getDefaultInstance()) return this; - if (executionsBuilder_ == null) { - if (!other.executions_.isEmpty()) { - if (executions_.isEmpty()) { - executions_ = other.executions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureExecutionsIsMutable(); - executions_.addAll(other.executions_); - } - onChanged(); - } - } else { - if (!other.executions_.isEmpty()) { - if (executionsBuilder_.isEmpty()) { - executionsBuilder_.dispose(); - executionsBuilder_ = null; - executions_ = other.executions_; - bitField0_ = (bitField0_ & ~0x00000001); - executionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExecutionsFieldBuilder() : null; - } else { - executionsBuilder_.addAllMessages(other.executions_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List executions_ = - java.util.Collections.emptyList(); - private void ensureExecutionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - executions_ = new java.util.ArrayList(executions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.Execution, flyteidl.admin.ExecutionOuterClass.Execution.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionOrBuilder> executionsBuilder_; - - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public java.util.List getExecutionsList() { - if (executionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(executions_); - } else { - return executionsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public int getExecutionsCount() { - if (executionsBuilder_ == null) { - return executions_.size(); - } else { - return executionsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public flyteidl.admin.ExecutionOuterClass.Execution getExecutions(int index) { - if (executionsBuilder_ == null) { - return executions_.get(index); - } else { - return executionsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder setExecutions( - int index, flyteidl.admin.ExecutionOuterClass.Execution value) { - if (executionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExecutionsIsMutable(); - executions_.set(index, value); - onChanged(); - } else { - executionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder setExecutions( - int index, flyteidl.admin.ExecutionOuterClass.Execution.Builder builderForValue) { - if (executionsBuilder_ == null) { - ensureExecutionsIsMutable(); - executions_.set(index, builderForValue.build()); - onChanged(); - } else { - executionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder addExecutions(flyteidl.admin.ExecutionOuterClass.Execution value) { - if (executionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExecutionsIsMutable(); - executions_.add(value); - onChanged(); - } else { - executionsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder addExecutions( - int index, flyteidl.admin.ExecutionOuterClass.Execution value) { - if (executionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExecutionsIsMutable(); - executions_.add(index, value); - onChanged(); - } else { - executionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder addExecutions( - flyteidl.admin.ExecutionOuterClass.Execution.Builder builderForValue) { - if (executionsBuilder_ == null) { - ensureExecutionsIsMutable(); - executions_.add(builderForValue.build()); - onChanged(); - } else { - executionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder addExecutions( - int index, flyteidl.admin.ExecutionOuterClass.Execution.Builder builderForValue) { - if (executionsBuilder_ == null) { - ensureExecutionsIsMutable(); - executions_.add(index, builderForValue.build()); - onChanged(); - } else { - executionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder addAllExecutions( - java.lang.Iterable values) { - if (executionsBuilder_ == null) { - ensureExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, executions_); - onChanged(); - } else { - executionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder clearExecutions() { - if (executionsBuilder_ == null) { - executions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - executionsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public Builder removeExecutions(int index) { - if (executionsBuilder_ == null) { - ensureExecutionsIsMutable(); - executions_.remove(index); - onChanged(); - } else { - executionsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public flyteidl.admin.ExecutionOuterClass.Execution.Builder getExecutionsBuilder( - int index) { - return getExecutionsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionOrBuilder getExecutionsOrBuilder( - int index) { - if (executionsBuilder_ == null) { - return executions_.get(index); } else { - return executionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public java.util.List - getExecutionsOrBuilderList() { - if (executionsBuilder_ != null) { - return executionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(executions_); - } - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public flyteidl.admin.ExecutionOuterClass.Execution.Builder addExecutionsBuilder() { - return getExecutionsFieldBuilder().addBuilder( - flyteidl.admin.ExecutionOuterClass.Execution.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public flyteidl.admin.ExecutionOuterClass.Execution.Builder addExecutionsBuilder( - int index) { - return getExecutionsFieldBuilder().addBuilder( - index, flyteidl.admin.ExecutionOuterClass.Execution.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Execution executions = 1; - */ - public java.util.List - getExecutionsBuilderList() { - return getExecutionsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.Execution, flyteidl.admin.ExecutionOuterClass.Execution.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionOrBuilder> - getExecutionsFieldBuilder() { - if (executionsBuilder_ == null) { - executionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.Execution, flyteidl.admin.ExecutionOuterClass.Execution.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionOrBuilder>( - executions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - executions_ = null; - } - return executionsBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionList) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionList(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LiteralMapBlobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LiteralMapBlob) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Data in LiteralMap format
-     * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasValues(); - /** - *
-     * Data in LiteralMap format
-     * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMap getValues(); - /** - *
-     * Data in LiteralMap format
-     * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMapOrBuilder getValuesOrBuilder(); - - /** - *
-     * In the event that the map is too large, we return a uri to the data
-     * 
- * - * string uri = 2; - */ - java.lang.String getUri(); - /** - *
-     * In the event that the map is too large, we return a uri to the data
-     * 
- * - * string uri = 2; - */ - com.google.protobuf.ByteString - getUriBytes(); - - public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.DataCase getDataCase(); - } - /** - *
-   * Input/output data can represented by actual values or a link to where values are stored
-   * 
- * - * Protobuf type {@code flyteidl.admin.LiteralMapBlob} - */ - public static final class LiteralMapBlob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LiteralMapBlob) - LiteralMapBlobOrBuilder { - private static final long serialVersionUID = 0L; - // Use LiteralMapBlob.newBuilder() to construct. - private LiteralMapBlob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LiteralMapBlob() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LiteralMapBlob( - 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.Literals.LiteralMap.Builder subBuilder = null; - if (dataCase_ == 1) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) data_).toBuilder(); - } - data_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 1; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - dataCase_ = 2; - data_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_LiteralMapBlob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_LiteralMapBlob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.class, flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder.class); - } - - private int dataCase_ = 0; - private java.lang.Object data_; - public enum DataCase - implements com.google.protobuf.Internal.EnumLite { - @java.lang.Deprecated VALUES(1), - URI(2), - DATA_NOT_SET(0); - private final int value; - private DataCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static DataCase valueOf(int value) { - return forNumber(value); - } - - public static DataCase forNumber(int value) { - switch (value) { - case 1: return VALUES; - case 2: return URI; - case 0: return DATA_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); - } - - public static final int VALUES_FIELD_NUMBER = 1; - /** - *
-     * Data in LiteralMap format
-     * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasValues() { - return dataCase_ == 1; - } - /** - *
-     * Data in LiteralMap format
-     * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getValues() { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Data in LiteralMap format
-     * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getValuesOrBuilder() { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int URI_FIELD_NUMBER = 2; - /** - *
-     * In the event that the map is too large, we return a uri to the data
-     * 
- * - * string uri = 2; - */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (dataCase_ == 2) { - ref = data_; - } - 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 (dataCase_ == 2) { - data_ = s; - } - return s; - } - } - /** - *
-     * In the event that the map is too large, we return a uri to the data
-     * 
- * - * string uri = 2; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = ""; - if (dataCase_ == 2) { - ref = data_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (dataCase_ == 2) { - data_ = 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 (dataCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Literals.LiteralMap) data_); - } - if (dataCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, data_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Literals.LiteralMap) data_); - } - if (dataCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, data_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.LiteralMapBlob)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob other = (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) obj; - - if (!getDataCase().equals(other.getDataCase())) return false; - switch (dataCase_) { - case 1: - if (!getValues() - .equals(other.getValues())) return false; - break; - case 2: - if (!getUri() - .equals(other.getUri())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (dataCase_) { - case 1: - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + getValues().hashCode(); - break; - case 2: - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.LiteralMapBlob 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; - } - /** - *
-     * Input/output data can represented by actual values or a link to where values are stored
-     * 
- * - * Protobuf type {@code flyteidl.admin.LiteralMapBlob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LiteralMapBlob) - flyteidl.admin.ExecutionOuterClass.LiteralMapBlobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_LiteralMapBlob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_LiteralMapBlob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.class, flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.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(); - dataCase_ = 0; - data_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_LiteralMapBlob_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob build() { - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob buildPartial() { - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob result = new flyteidl.admin.ExecutionOuterClass.LiteralMapBlob(this); - if (dataCase_ == 1) { - if (valuesBuilder_ == null) { - result.data_ = data_; - } else { - result.data_ = valuesBuilder_.build(); - } - } - if (dataCase_ == 2) { - result.data_ = data_; - } - result.dataCase_ = dataCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.LiteralMapBlob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.LiteralMapBlob other) { - if (other == flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance()) return this; - switch (other.getDataCase()) { - case VALUES: { - mergeValues(other.getValues()); - break; - } - case URI: { - dataCase_ = 2; - data_ = other.data_; - onChanged(); - break; - } - case DATA_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int dataCase_ = 0; - private java.lang.Object data_; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); - } - - public Builder clearData() { - dataCase_ = 0; - data_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> valuesBuilder_; - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasValues() { - return dataCase_ == 1; - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getValues() { - if (valuesBuilder_ == null) { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (dataCase_ == 1) { - return valuesBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setValues(flyteidl.core.Literals.LiteralMap value) { - if (valuesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - data_ = value; - onChanged(); - } else { - valuesBuilder_.setMessage(value); - } - dataCase_ = 1; - return this; - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setValues( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (valuesBuilder_ == null) { - data_ = builderForValue.build(); - onChanged(); - } else { - valuesBuilder_.setMessage(builderForValue.build()); - } - dataCase_ = 1; - return this; - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeValues(flyteidl.core.Literals.LiteralMap value) { - if (valuesBuilder_ == null) { - if (dataCase_ == 1 && - data_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - data_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) data_) - .mergeFrom(value).buildPartial(); - } else { - data_ = value; - } - onChanged(); - } else { - if (dataCase_ == 1) { - valuesBuilder_.mergeFrom(value); - } - valuesBuilder_.setMessage(value); - } - dataCase_ = 1; - return this; - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearValues() { - if (valuesBuilder_ == null) { - if (dataCase_ == 1) { - dataCase_ = 0; - data_ = null; - onChanged(); - } - } else { - if (dataCase_ == 1) { - dataCase_ = 0; - data_ = null; - } - valuesBuilder_.clear(); - } - return this; - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap.Builder getValuesBuilder() { - return getValuesFieldBuilder().getBuilder(); - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getValuesOrBuilder() { - if ((dataCase_ == 1) && (valuesBuilder_ != null)) { - return valuesBuilder_.getMessageOrBuilder(); - } else { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Data in LiteralMap format
-       * 
- * - * .flyteidl.core.LiteralMap values = 1 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getValuesFieldBuilder() { - if (valuesBuilder_ == null) { - if (!(dataCase_ == 1)) { - data_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - valuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) data_, - getParentForChildren(), - isClean()); - data_ = null; - } - dataCase_ = 1; - onChanged();; - return valuesBuilder_; - } - - /** - *
-       * In the event that the map is too large, we return a uri to the data
-       * 
- * - * string uri = 2; - */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (dataCase_ == 2) { - ref = data_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (dataCase_ == 2) { - data_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the event that the map is too large, we return a uri to the data
-       * 
- * - * string uri = 2; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = ""; - if (dataCase_ == 2) { - ref = data_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (dataCase_ == 2) { - data_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the event that the map is too large, we return a uri to the data
-       * 
- * - * string uri = 2; - */ - public Builder setUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - dataCase_ = 2; - data_ = value; - onChanged(); - return this; - } - /** - *
-       * In the event that the map is too large, we return a uri to the data
-       * 
- * - * string uri = 2; - */ - public Builder clearUri() { - if (dataCase_ == 2) { - dataCase_ = 0; - data_ = null; - onChanged(); - } - return this; - } - /** - *
-       * In the event that the map is too large, we return a uri to the data
-       * 
- * - * string uri = 2; - */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - dataCase_ = 2; - data_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LiteralMapBlob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LiteralMapBlob) - private static final flyteidl.admin.ExecutionOuterClass.LiteralMapBlob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.LiteralMapBlob(); - } - - public static flyteidl.admin.ExecutionOuterClass.LiteralMapBlob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LiteralMapBlob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LiteralMapBlob(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AbortMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.AbortMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string cause = 1; - */ - java.lang.String getCause(); - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string cause = 1; - */ - com.google.protobuf.ByteString - getCauseBytes(); - - /** - *
-     * Identifies the entity (if any) responsible for terminating the execution
-     * 
- * - * string principal = 2; - */ - java.lang.String getPrincipal(); - /** - *
-     * Identifies the entity (if any) responsible for terminating the execution
-     * 
- * - * string principal = 2; - */ - com.google.protobuf.ByteString - getPrincipalBytes(); - } - /** - *
-   * Specifies metadata around an aborted workflow execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.AbortMetadata} - */ - public static final class AbortMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.AbortMetadata) - AbortMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use AbortMetadata.newBuilder() to construct. - private AbortMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AbortMetadata() { - cause_ = ""; - principal_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AbortMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - cause_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - principal_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_AbortMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_AbortMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.AbortMetadata.class, flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder.class); - } - - public static final int CAUSE_FIELD_NUMBER = 1; - private volatile java.lang.Object cause_; - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string cause = 1; - */ - public java.lang.String getCause() { - java.lang.Object ref = cause_; - 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(); - cause_ = s; - return s; - } - } - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string cause = 1; - */ - public com.google.protobuf.ByteString - getCauseBytes() { - java.lang.Object ref = cause_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cause_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PRINCIPAL_FIELD_NUMBER = 2; - private volatile java.lang.Object principal_; - /** - *
-     * Identifies the entity (if any) responsible for terminating the execution
-     * 
- * - * string principal = 2; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - 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(); - principal_ = s; - return s; - } - } - /** - *
-     * Identifies the entity (if any) responsible for terminating the execution
-     * 
- * - * string principal = 2; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = 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 (!getCauseBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cause_); - } - if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, principal_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getCauseBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cause_); - } - if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, principal_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.AbortMetadata)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.AbortMetadata other = (flyteidl.admin.ExecutionOuterClass.AbortMetadata) obj; - - if (!getCause() - .equals(other.getCause())) return false; - if (!getPrincipal() - .equals(other.getPrincipal())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CAUSE_FIELD_NUMBER; - hash = (53 * hash) + getCause().hashCode(); - hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; - hash = (53 * hash) + getPrincipal().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.AbortMetadata 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; - } - /** - *
-     * Specifies metadata around an aborted workflow execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.AbortMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.AbortMetadata) - flyteidl.admin.ExecutionOuterClass.AbortMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_AbortMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_AbortMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.AbortMetadata.class, flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.AbortMetadata.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(); - cause_ = ""; - - principal_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_AbortMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.AbortMetadata getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.AbortMetadata build() { - flyteidl.admin.ExecutionOuterClass.AbortMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.AbortMetadata buildPartial() { - flyteidl.admin.ExecutionOuterClass.AbortMetadata result = new flyteidl.admin.ExecutionOuterClass.AbortMetadata(this); - result.cause_ = cause_; - result.principal_ = principal_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.AbortMetadata) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.AbortMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.AbortMetadata other) { - if (other == flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance()) return this; - if (!other.getCause().isEmpty()) { - cause_ = other.cause_; - onChanged(); - } - if (!other.getPrincipal().isEmpty()) { - principal_ = other.principal_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.AbortMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.AbortMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object cause_ = ""; - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string cause = 1; - */ - public java.lang.String getCause() { - java.lang.Object ref = cause_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - cause_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string cause = 1; - */ - public com.google.protobuf.ByteString - getCauseBytes() { - java.lang.Object ref = cause_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cause_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string cause = 1; - */ - public Builder setCause( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - cause_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string cause = 1; - */ - public Builder clearCause() { - - cause_ = getDefaultInstance().getCause(); - onChanged(); - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string cause = 1; - */ - public Builder setCauseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - cause_ = value; - onChanged(); - return this; - } - - private java.lang.Object principal_ = ""; - /** - *
-       * Identifies the entity (if any) responsible for terminating the execution
-       * 
- * - * string principal = 2; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - principal_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Identifies the entity (if any) responsible for terminating the execution
-       * 
- * - * string principal = 2; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Identifies the entity (if any) responsible for terminating the execution
-       * 
- * - * string principal = 2; - */ - public Builder setPrincipal( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - principal_ = value; - onChanged(); - return this; - } - /** - *
-       * Identifies the entity (if any) responsible for terminating the execution
-       * 
- * - * string principal = 2; - */ - public Builder clearPrincipal() { - - principal_ = getDefaultInstance().getPrincipal(); - onChanged(); - return this; - } - /** - *
-       * Identifies the entity (if any) responsible for terminating the execution
-       * 
- * - * string principal = 2; - */ - public Builder setPrincipalBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - principal_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.AbortMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.AbortMetadata) - private static final flyteidl.admin.ExecutionOuterClass.AbortMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.AbortMetadata(); - } - - public static flyteidl.admin.ExecutionOuterClass.AbortMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AbortMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AbortMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.AbortMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionClosureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionClosure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Output URI in the case of a successful execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasOutputs(); - /** - *
-     * Output URI in the case of a successful execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.ExecutionOuterClass.LiteralMapBlob getOutputs(); - /** - *
-     * Output URI in the case of a successful execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.ExecutionOuterClass.LiteralMapBlobOrBuilder getOutputsOrBuilder(); - - /** - *
-     * Error information in the case of a failed execution.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - boolean hasError(); - /** - *
-     * Error information in the case of a failed execution.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - flyteidl.core.Execution.ExecutionError getError(); - /** - *
-     * Error information in the case of a failed execution.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder(); - - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated java.lang.String getAbortCause(); - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getAbortCauseBytes(); - - /** - *
-     * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-     * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - boolean hasAbortMetadata(); - /** - *
-     * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-     * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - flyteidl.admin.ExecutionOuterClass.AbortMetadata getAbortMetadata(); - /** - *
-     * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-     * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - flyteidl.admin.ExecutionOuterClass.AbortMetadataOrBuilder getAbortMetadataOrBuilder(); - - /** - *
-     * Raw output data produced by this execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasOutputData(); - /** - *
-     * Raw output data produced by this execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Raw output data produced by this execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - /** - *
-     * Inputs computed and passed for execution.
-     * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-     * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasComputedInputs(); - /** - *
-     * Inputs computed and passed for execution.
-     * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-     * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMap getComputedInputs(); - /** - *
-     * Inputs computed and passed for execution.
-     * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-     * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMapOrBuilder getComputedInputsOrBuilder(); - - /** - *
-     * Most recent recorded phase for the execution.
-     * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - int getPhaseValue(); - /** - *
-     * Most recent recorded phase for the execution.
-     * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - flyteidl.core.Execution.WorkflowExecution.Phase getPhase(); - - /** - *
-     * Reported time at which the execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - boolean hasStartedAt(); - /** - *
-     * Reported time at which the execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - com.google.protobuf.Timestamp getStartedAt(); - /** - *
-     * Reported time at which the execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder(); - - /** - *
-     * The amount of time the execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - boolean hasDuration(); - /** - *
-     * The amount of time the execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - com.google.protobuf.Duration getDuration(); - /** - *
-     * The amount of time the execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); - - /** - *
-     * Reported time at which the execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - boolean hasCreatedAt(); - /** - *
-     * Reported time at which the execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - com.google.protobuf.Timestamp getCreatedAt(); - /** - *
-     * Reported time at which the execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); - - /** - *
-     * Reported time at which the execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - boolean hasUpdatedAt(); - /** - *
-     * Reported time at which the execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - com.google.protobuf.Timestamp getUpdatedAt(); - /** - *
-     * Reported time at which the execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder(); - - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - java.util.List - getNotificationsList(); - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - flyteidl.admin.Common.Notification getNotifications(int index); - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - int getNotificationsCount(); - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - java.util.List - getNotificationsOrBuilderList(); - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index); - - /** - *
-     * Identifies the workflow definition for this execution.
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - boolean hasWorkflowId(); - /** - *
-     * Identifies the workflow definition for this execution.
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId(); - /** - *
-     * Identifies the workflow definition for this execution.
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder(); - - /** - *
-     * Provides the details of the last stage change
-     * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - boolean hasStateChangeDetails(); - /** - *
-     * Provides the details of the last stage change
-     * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails getStateChangeDetails(); - /** - *
-     * Provides the details of the last stage change
-     * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetailsOrBuilder getStateChangeDetailsOrBuilder(); - - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure.OutputResultCase getOutputResultCase(); - } - /** - *
-   * Encapsulates the results of the Execution
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionClosure} - */ - public static final class ExecutionClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionClosure) - ExecutionClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionClosure.newBuilder() to construct. - private ExecutionClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionClosure() { - phase_ = 0; - notifications_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionClosure( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder subBuilder = null; - if (outputResultCase_ == 1) { - subBuilder = ((flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 1; - break; - } - case 18: { - flyteidl.core.Execution.ExecutionError.Builder subBuilder = null; - if (outputResultCase_ == 2) { - subBuilder = ((flyteidl.core.Execution.ExecutionError) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Execution.ExecutionError.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.ExecutionError) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 2; - break; - } - case 26: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (computedInputs_ != null) { - subBuilder = computedInputs_.toBuilder(); - } - computedInputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(computedInputs_); - computedInputs_ = subBuilder.buildPartial(); - } - - break; - } - case 32: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startedAt_ != null) { - subBuilder = startedAt_.toBuilder(); - } - startedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startedAt_); - startedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createdAt_ != null) { - subBuilder = createdAt_.toBuilder(); - } - createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createdAt_); - createdAt_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updatedAt_ != null) { - subBuilder = updatedAt_.toBuilder(); - } - updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updatedAt_); - updatedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 74: { - if (!((mutable_bitField0_ & 0x00000800) != 0)) { - notifications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000800; - } - notifications_.add( - input.readMessage(flyteidl.admin.Common.Notification.parser(), extensionRegistry)); - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - outputResultCase_ = 10; - outputResult_ = s; - break; - } - case 90: { - flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; - if (workflowId_ != null) { - subBuilder = workflowId_.toBuilder(); - } - workflowId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workflowId_); - workflowId_ = subBuilder.buildPartial(); - } - - break; - } - case 98: { - flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder subBuilder = null; - if (outputResultCase_ == 12) { - subBuilder = ((flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.admin.ExecutionOuterClass.AbortMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 12; - break; - } - case 106: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputResultCase_ == 13) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 13; - break; - } - case 114: { - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder subBuilder = null; - if (stateChangeDetails_ != null) { - subBuilder = stateChangeDetails_.toBuilder(); - } - stateChangeDetails_ = input.readMessage(flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stateChangeDetails_); - stateChangeDetails_ = 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 { - if (((mutable_bitField0_ & 0x00000800) != 0)) { - notifications_ = java.util.Collections.unmodifiableList(notifications_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionClosure.class, flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder.class); - } - - private int bitField0_; - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public enum OutputResultCase - implements com.google.protobuf.Internal.EnumLite { - @java.lang.Deprecated OUTPUTS(1), - ERROR(2), - @java.lang.Deprecated ABORT_CAUSE(10), - ABORT_METADATA(12), - @java.lang.Deprecated OUTPUT_DATA(13), - OUTPUTRESULT_NOT_SET(0); - private final int value; - private OutputResultCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OutputResultCase valueOf(int value) { - return forNumber(value); - } - - public static OutputResultCase forNumber(int value) { - switch (value) { - case 1: return OUTPUTS; - case 2: return ERROR; - case 10: return ABORT_CAUSE; - case 12: return ABORT_METADATA; - case 13: return OUTPUT_DATA; - case 0: return OUTPUTRESULT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public static final int OUTPUTS_FIELD_NUMBER = 1; - /** - *
-     * Output URI in the case of a successful execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputResultCase_ == 1; - } - /** - *
-     * Output URI in the case of a successful execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob getOutputs() { - if (outputResultCase_ == 1) { - return (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance(); - } - /** - *
-     * Output URI in the case of a successful execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.ExecutionOuterClass.LiteralMapBlobOrBuilder getOutputsOrBuilder() { - if (outputResultCase_ == 1) { - return (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance(); - } - - public static final int ERROR_FIELD_NUMBER = 2; - /** - *
-     * Error information in the case of a failed execution.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public boolean hasError() { - return outputResultCase_ == 2; - } - /** - *
-     * Error information in the case of a failed execution.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - /** - *
-     * Error information in the case of a failed execution.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - - public static final int ABORT_CAUSE_FIELD_NUMBER = 10; - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getAbortCause() { - java.lang.Object ref = ""; - if (outputResultCase_ == 10) { - ref = outputResult_; - } - 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 (outputResultCase_ == 10) { - outputResult_ = s; - } - return s; - } - } - /** - *
-     * In the case of a user-specified abort, this will pass along the user-supplied cause.
-     * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAbortCauseBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 10) { - ref = outputResult_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 10) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ABORT_METADATA_FIELD_NUMBER = 12; - /** - *
-     * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-     * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public boolean hasAbortMetadata() { - return outputResultCase_ == 12; - } - /** - *
-     * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-     * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public flyteidl.admin.ExecutionOuterClass.AbortMetadata getAbortMetadata() { - if (outputResultCase_ == 12) { - return (flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance(); - } - /** - *
-     * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-     * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public flyteidl.admin.ExecutionOuterClass.AbortMetadataOrBuilder getAbortMetadataOrBuilder() { - if (outputResultCase_ == 12) { - return (flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance(); - } - - public static final int OUTPUT_DATA_FIELD_NUMBER = 13; - /** - *
-     * Raw output data produced by this execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputData() { - return outputResultCase_ == 13; - } - /** - *
-     * Raw output data produced by this execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputResultCase_ == 13) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw output data produced by this execution.
-     * DEPRECATED. Use GetExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputResultCase_ == 13) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int COMPUTED_INPUTS_FIELD_NUMBER = 3; - private flyteidl.core.Literals.LiteralMap computedInputs_; - /** - *
-     * Inputs computed and passed for execution.
-     * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-     * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasComputedInputs() { - return computedInputs_ != null; - } - /** - *
-     * Inputs computed and passed for execution.
-     * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-     * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getComputedInputs() { - return computedInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : computedInputs_; - } - /** - *
-     * Inputs computed and passed for execution.
-     * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-     * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getComputedInputsOrBuilder() { - return getComputedInputs(); - } - - public static final int PHASE_FIELD_NUMBER = 4; - private int phase_; - /** - *
-     * Most recent recorded phase for the execution.
-     * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-     * Most recent recorded phase for the execution.
-     * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.WorkflowExecution.Phase result = flyteidl.core.Execution.WorkflowExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.WorkflowExecution.Phase.UNRECOGNIZED : result; - } - - public static final int STARTED_AT_FIELD_NUMBER = 5; - private com.google.protobuf.Timestamp startedAt_; - /** - *
-     * Reported time at which the execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public boolean hasStartedAt() { - return startedAt_ != null; - } - /** - *
-     * Reported time at which the execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.Timestamp getStartedAt() { - return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } - /** - *
-     * Reported time at which the execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { - return getStartedAt(); - } - - public static final int DURATION_FIELD_NUMBER = 6; - private com.google.protobuf.Duration duration_; - /** - *
-     * The amount of time the execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - public boolean hasDuration() { - return duration_ != null; - } - /** - *
-     * The amount of time the execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration getDuration() { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - /** - *
-     * The amount of time the execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - return getDuration(); - } - - public static final int CREATED_AT_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp createdAt_; - /** - *
-     * Reported time at which the execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public boolean hasCreatedAt() { - return createdAt_ != null; - } - /** - *
-     * Reported time at which the execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - /** - *
-     * Reported time at which the execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - return getCreatedAt(); - } - - public static final int UPDATED_AT_FIELD_NUMBER = 8; - private com.google.protobuf.Timestamp updatedAt_; - /** - *
-     * Reported time at which the execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public boolean hasUpdatedAt() { - return updatedAt_ != null; - } - /** - *
-     * Reported time at which the execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - /** - *
-     * Reported time at which the execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - return getUpdatedAt(); - } - - public static final int NOTIFICATIONS_FIELD_NUMBER = 9; - private java.util.List notifications_; - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public java.util.List getNotificationsList() { - return notifications_; - } - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public java.util.List - getNotificationsOrBuilderList() { - return notifications_; - } - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public int getNotificationsCount() { - return notifications_.size(); - } - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public flyteidl.admin.Common.Notification getNotifications(int index) { - return notifications_.get(index); - } - /** - *
-     * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-     * notification settings. An execution launched with notifications will always prefer that definition
-     * to notifications defined statically in a launch plan.
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index) { - return notifications_.get(index); - } - - public static final int WORKFLOW_ID_FIELD_NUMBER = 11; - private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; - /** - *
-     * Identifies the workflow definition for this execution.
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public boolean hasWorkflowId() { - return workflowId_ != null; - } - /** - *
-     * Identifies the workflow definition for this execution.
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { - return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } - /** - *
-     * Identifies the workflow definition for this execution.
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { - return getWorkflowId(); - } - - public static final int STATE_CHANGE_DETAILS_FIELD_NUMBER = 14; - private flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails stateChangeDetails_; - /** - *
-     * Provides the details of the last stage change
-     * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public boolean hasStateChangeDetails() { - return stateChangeDetails_ != null; - } - /** - *
-     * Provides the details of the last stage change
-     * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails getStateChangeDetails() { - return stateChangeDetails_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.getDefaultInstance() : stateChangeDetails_; - } - /** - *
-     * Provides the details of the last stage change
-     * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetailsOrBuilder getStateChangeDetailsOrBuilder() { - return getStateChangeDetails(); - } - - 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 (outputResultCase_ == 1) { - output.writeMessage(1, (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_); - } - if (outputResultCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (computedInputs_ != null) { - output.writeMessage(3, getComputedInputs()); - } - if (phase_ != flyteidl.core.Execution.WorkflowExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(4, phase_); - } - if (startedAt_ != null) { - output.writeMessage(5, getStartedAt()); - } - if (duration_ != null) { - output.writeMessage(6, getDuration()); - } - if (createdAt_ != null) { - output.writeMessage(7, getCreatedAt()); - } - if (updatedAt_ != null) { - output.writeMessage(8, getUpdatedAt()); - } - for (int i = 0; i < notifications_.size(); i++) { - output.writeMessage(9, notifications_.get(i)); - } - if (outputResultCase_ == 10) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, outputResult_); - } - if (workflowId_ != null) { - output.writeMessage(11, getWorkflowId()); - } - if (outputResultCase_ == 12) { - output.writeMessage(12, (flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_); - } - if (outputResultCase_ == 13) { - output.writeMessage(13, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (stateChangeDetails_ != null) { - output.writeMessage(14, getStateChangeDetails()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (outputResultCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_); - } - if (outputResultCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (computedInputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getComputedInputs()); - } - if (phase_ != flyteidl.core.Execution.WorkflowExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, phase_); - } - if (startedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getStartedAt()); - } - if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDuration()); - } - if (createdAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreatedAt()); - } - if (updatedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getUpdatedAt()); - } - for (int i = 0; i < notifications_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, notifications_.get(i)); - } - if (outputResultCase_ == 10) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, outputResult_); - } - if (workflowId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getWorkflowId()); - } - if (outputResultCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_); - } - if (outputResultCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (stateChangeDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getStateChangeDetails()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionClosure)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionClosure other = (flyteidl.admin.ExecutionOuterClass.ExecutionClosure) obj; - - if (hasComputedInputs() != other.hasComputedInputs()) return false; - if (hasComputedInputs()) { - if (!getComputedInputs() - .equals(other.getComputedInputs())) return false; - } - if (phase_ != other.phase_) return false; - if (hasStartedAt() != other.hasStartedAt()) return false; - if (hasStartedAt()) { - if (!getStartedAt() - .equals(other.getStartedAt())) return false; - } - if (hasDuration() != other.hasDuration()) return false; - if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; - } - if (hasCreatedAt() != other.hasCreatedAt()) return false; - if (hasCreatedAt()) { - if (!getCreatedAt() - .equals(other.getCreatedAt())) return false; - } - if (hasUpdatedAt() != other.hasUpdatedAt()) return false; - if (hasUpdatedAt()) { - if (!getUpdatedAt() - .equals(other.getUpdatedAt())) return false; - } - if (!getNotificationsList() - .equals(other.getNotificationsList())) return false; - if (hasWorkflowId() != other.hasWorkflowId()) return false; - if (hasWorkflowId()) { - if (!getWorkflowId() - .equals(other.getWorkflowId())) return false; - } - if (hasStateChangeDetails() != other.hasStateChangeDetails()) return false; - if (hasStateChangeDetails()) { - if (!getStateChangeDetails() - .equals(other.getStateChangeDetails())) return false; - } - if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; - switch (outputResultCase_) { - case 1: - if (!getOutputs() - .equals(other.getOutputs())) return false; - break; - case 2: - if (!getError() - .equals(other.getError())) return false; - break; - case 10: - if (!getAbortCause() - .equals(other.getAbortCause())) return false; - break; - case 12: - if (!getAbortMetadata() - .equals(other.getAbortMetadata())) return false; - break; - case 13: - if (!getOutputData() - .equals(other.getOutputData())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasComputedInputs()) { - hash = (37 * hash) + COMPUTED_INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getComputedInputs().hashCode(); - } - hash = (37 * hash) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - if (hasStartedAt()) { - hash = (37 * hash) + STARTED_AT_FIELD_NUMBER; - hash = (53 * hash) + getStartedAt().hashCode(); - } - if (hasDuration()) { - hash = (37 * hash) + DURATION_FIELD_NUMBER; - hash = (53 * hash) + getDuration().hashCode(); - } - if (hasCreatedAt()) { - hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getCreatedAt().hashCode(); - } - if (hasUpdatedAt()) { - hash = (37 * hash) + UPDATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getUpdatedAt().hashCode(); - } - if (getNotificationsCount() > 0) { - hash = (37 * hash) + NOTIFICATIONS_FIELD_NUMBER; - hash = (53 * hash) + getNotificationsList().hashCode(); - } - if (hasWorkflowId()) { - hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowId().hashCode(); - } - if (hasStateChangeDetails()) { - hash = (37 * hash) + STATE_CHANGE_DETAILS_FIELD_NUMBER; - hash = (53 * hash) + getStateChangeDetails().hashCode(); - } - switch (outputResultCase_) { - case 1: - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - break; - case 2: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 10: - hash = (37 * hash) + ABORT_CAUSE_FIELD_NUMBER; - hash = (53 * hash) + getAbortCause().hashCode(); - break; - case 12: - hash = (37 * hash) + ABORT_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getAbortMetadata().hashCode(); - break; - case 13: - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionClosure 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; - } - /** - *
-     * Encapsulates the results of the Execution
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionClosure) - flyteidl.admin.ExecutionOuterClass.ExecutionClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionClosure.class, flyteidl.admin.ExecutionOuterClass.ExecutionClosure.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionClosure.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNotificationsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (computedInputsBuilder_ == null) { - computedInputs_ = null; - } else { - computedInputs_ = null; - computedInputsBuilder_ = null; - } - phase_ = 0; - - if (startedAtBuilder_ == null) { - startedAt_ = null; - } else { - startedAt_ = null; - startedAtBuilder_ = null; - } - if (durationBuilder_ == null) { - duration_ = null; - } else { - duration_ = null; - durationBuilder_ = null; - } - if (createdAtBuilder_ == null) { - createdAt_ = null; - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - if (notificationsBuilder_ == null) { - notifications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800); - } else { - notificationsBuilder_.clear(); - } - if (workflowIdBuilder_ == null) { - workflowId_ = null; - } else { - workflowId_ = null; - workflowIdBuilder_ = null; - } - if (stateChangeDetailsBuilder_ == null) { - stateChangeDetails_ = null; - } else { - stateChangeDetails_ = null; - stateChangeDetailsBuilder_ = null; - } - outputResultCase_ = 0; - outputResult_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionClosure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure build() { - flyteidl.admin.ExecutionOuterClass.ExecutionClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionClosure result = new flyteidl.admin.ExecutionOuterClass.ExecutionClosure(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (outputResultCase_ == 1) { - if (outputsBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = outputsBuilder_.build(); - } - } - if (outputResultCase_ == 2) { - if (errorBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = errorBuilder_.build(); - } - } - if (outputResultCase_ == 10) { - result.outputResult_ = outputResult_; - } - if (outputResultCase_ == 12) { - if (abortMetadataBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = abortMetadataBuilder_.build(); - } - } - if (outputResultCase_ == 13) { - if (outputDataBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = outputDataBuilder_.build(); - } - } - if (computedInputsBuilder_ == null) { - result.computedInputs_ = computedInputs_; - } else { - result.computedInputs_ = computedInputsBuilder_.build(); - } - result.phase_ = phase_; - if (startedAtBuilder_ == null) { - result.startedAt_ = startedAt_; - } else { - result.startedAt_ = startedAtBuilder_.build(); - } - if (durationBuilder_ == null) { - result.duration_ = duration_; - } else { - result.duration_ = durationBuilder_.build(); - } - if (createdAtBuilder_ == null) { - result.createdAt_ = createdAt_; - } else { - result.createdAt_ = createdAtBuilder_.build(); - } - if (updatedAtBuilder_ == null) { - result.updatedAt_ = updatedAt_; - } else { - result.updatedAt_ = updatedAtBuilder_.build(); - } - if (notificationsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0)) { - notifications_ = java.util.Collections.unmodifiableList(notifications_); - bitField0_ = (bitField0_ & ~0x00000800); - } - result.notifications_ = notifications_; - } else { - result.notifications_ = notificationsBuilder_.build(); - } - if (workflowIdBuilder_ == null) { - result.workflowId_ = workflowId_; - } else { - result.workflowId_ = workflowIdBuilder_.build(); - } - if (stateChangeDetailsBuilder_ == null) { - result.stateChangeDetails_ = stateChangeDetails_; - } else { - result.stateChangeDetails_ = stateChangeDetailsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - result.outputResultCase_ = outputResultCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionClosure) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionClosure other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionClosure.getDefaultInstance()) return this; - if (other.hasComputedInputs()) { - mergeComputedInputs(other.getComputedInputs()); - } - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (other.hasStartedAt()) { - mergeStartedAt(other.getStartedAt()); - } - if (other.hasDuration()) { - mergeDuration(other.getDuration()); - } - if (other.hasCreatedAt()) { - mergeCreatedAt(other.getCreatedAt()); - } - if (other.hasUpdatedAt()) { - mergeUpdatedAt(other.getUpdatedAt()); - } - if (notificationsBuilder_ == null) { - if (!other.notifications_.isEmpty()) { - if (notifications_.isEmpty()) { - notifications_ = other.notifications_; - bitField0_ = (bitField0_ & ~0x00000800); - } else { - ensureNotificationsIsMutable(); - notifications_.addAll(other.notifications_); - } - onChanged(); - } - } else { - if (!other.notifications_.isEmpty()) { - if (notificationsBuilder_.isEmpty()) { - notificationsBuilder_.dispose(); - notificationsBuilder_ = null; - notifications_ = other.notifications_; - bitField0_ = (bitField0_ & ~0x00000800); - notificationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNotificationsFieldBuilder() : null; - } else { - notificationsBuilder_.addAllMessages(other.notifications_); - } - } - } - if (other.hasWorkflowId()) { - mergeWorkflowId(other.getWorkflowId()); - } - if (other.hasStateChangeDetails()) { - mergeStateChangeDetails(other.getStateChangeDetails()); - } - switch (other.getOutputResultCase()) { - case OUTPUTS: { - mergeOutputs(other.getOutputs()); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case ABORT_CAUSE: { - outputResultCase_ = 10; - outputResult_ = other.outputResult_; - onChanged(); - break; - } - case ABORT_METADATA: { - mergeAbortMetadata(other.getAbortMetadata()); - break; - } - case OUTPUT_DATA: { - mergeOutputData(other.getOutputData()); - break; - } - case OUTPUTRESULT_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public Builder clearOutputResult() { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob, flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder, flyteidl.admin.ExecutionOuterClass.LiteralMapBlobOrBuilder> outputsBuilder_; - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputResultCase_ == 1; - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob getOutputs() { - if (outputsBuilder_ == null) { - if (outputResultCase_ == 1) { - return (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance(); - } else { - if (outputResultCase_ == 1) { - return outputsBuilder_.getMessage(); - } - return flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance(); - } - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs(flyteidl.admin.ExecutionOuterClass.LiteralMapBlob value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - outputsBuilder_.setMessage(value); - } - outputResultCase_ = 1; - return this; - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs( - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder builderForValue) { - if (outputsBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - outputsBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 1; - return this; - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeOutputs(flyteidl.admin.ExecutionOuterClass.LiteralMapBlob value) { - if (outputsBuilder_ == null) { - if (outputResultCase_ == 1 && - outputResult_ != flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance()) { - outputResult_ = flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.newBuilder((flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 1) { - outputsBuilder_.mergeFrom(value); - } - outputsBuilder_.setMessage(value); - } - outputResultCase_ = 1; - return this; - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputs() { - if (outputsBuilder_ == null) { - if (outputResultCase_ == 1) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 1) { - outputResultCase_ = 0; - outputResult_ = null; - } - outputsBuilder_.clear(); - } - return this; - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder getOutputsBuilder() { - return getOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.ExecutionOuterClass.LiteralMapBlobOrBuilder getOutputsOrBuilder() { - if ((outputResultCase_ == 1) && (outputsBuilder_ != null)) { - return outputsBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 1) { - return (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance(); - } - } - /** - *
-       * Output URI in the case of a successful execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.admin.LiteralMapBlob outputs = 1 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob, flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder, flyteidl.admin.ExecutionOuterClass.LiteralMapBlobOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - if (!(outputResultCase_ == 1)) { - outputResult_ = flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.getDefaultInstance(); - } - outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.LiteralMapBlob, flyteidl.admin.ExecutionOuterClass.LiteralMapBlob.Builder, flyteidl.admin.ExecutionOuterClass.LiteralMapBlobOrBuilder>( - (flyteidl.admin.ExecutionOuterClass.LiteralMapBlob) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 1; - onChanged();; - return outputsBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> errorBuilder_; - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public boolean hasError() { - return outputResultCase_ == 2; - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } else { - if (outputResultCase_ == 2) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder setError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder setError( - flyteidl.core.Execution.ExecutionError.Builder builderForValue) { - if (errorBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder mergeError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2 && - outputResult_ != flyteidl.core.Execution.ExecutionError.getDefaultInstance()) { - outputResult_ = flyteidl.core.Execution.ExecutionError.newBuilder((flyteidl.core.Execution.ExecutionError) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 2) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 2) { - outputResultCase_ = 0; - outputResult_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if ((outputResultCase_ == 2) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information in the case of a failed execution.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(outputResultCase_ == 2)) { - outputResult_ = flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder>( - (flyteidl.core.Execution.ExecutionError) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 2; - onChanged();; - return errorBuilder_; - } - - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getAbortCause() { - java.lang.Object ref = ""; - if (outputResultCase_ == 10) { - ref = outputResult_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (outputResultCase_ == 10) { - outputResult_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getAbortCauseBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 10) { - ref = outputResult_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 10) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAbortCause( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - outputResultCase_ = 10; - outputResult_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearAbortCause() { - if (outputResultCase_ == 10) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user-supplied cause.
-       * 
- * - * string abort_cause = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAbortCauseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - outputResultCase_ = 10; - outputResult_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.AbortMetadata, flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder, flyteidl.admin.ExecutionOuterClass.AbortMetadataOrBuilder> abortMetadataBuilder_; - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public boolean hasAbortMetadata() { - return outputResultCase_ == 12; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public flyteidl.admin.ExecutionOuterClass.AbortMetadata getAbortMetadata() { - if (abortMetadataBuilder_ == null) { - if (outputResultCase_ == 12) { - return (flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance(); - } else { - if (outputResultCase_ == 12) { - return abortMetadataBuilder_.getMessage(); - } - return flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance(); - } - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public Builder setAbortMetadata(flyteidl.admin.ExecutionOuterClass.AbortMetadata value) { - if (abortMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - abortMetadataBuilder_.setMessage(value); - } - outputResultCase_ = 12; - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public Builder setAbortMetadata( - flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder builderForValue) { - if (abortMetadataBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - abortMetadataBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 12; - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public Builder mergeAbortMetadata(flyteidl.admin.ExecutionOuterClass.AbortMetadata value) { - if (abortMetadataBuilder_ == null) { - if (outputResultCase_ == 12 && - outputResult_ != flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance()) { - outputResult_ = flyteidl.admin.ExecutionOuterClass.AbortMetadata.newBuilder((flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 12) { - abortMetadataBuilder_.mergeFrom(value); - } - abortMetadataBuilder_.setMessage(value); - } - outputResultCase_ = 12; - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public Builder clearAbortMetadata() { - if (abortMetadataBuilder_ == null) { - if (outputResultCase_ == 12) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 12) { - outputResultCase_ = 0; - outputResult_ = null; - } - abortMetadataBuilder_.clear(); - } - return this; - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder getAbortMetadataBuilder() { - return getAbortMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - public flyteidl.admin.ExecutionOuterClass.AbortMetadataOrBuilder getAbortMetadataOrBuilder() { - if ((outputResultCase_ == 12) && (abortMetadataBuilder_ != null)) { - return abortMetadataBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 12) { - return (flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_; - } - return flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance(); - } - } - /** - *
-       * In the case of a user-specified abort, this will pass along the user and their supplied cause.
-       * 
- * - * .flyteidl.admin.AbortMetadata abort_metadata = 12; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.AbortMetadata, flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder, flyteidl.admin.ExecutionOuterClass.AbortMetadataOrBuilder> - getAbortMetadataFieldBuilder() { - if (abortMetadataBuilder_ == null) { - if (!(outputResultCase_ == 12)) { - outputResult_ = flyteidl.admin.ExecutionOuterClass.AbortMetadata.getDefaultInstance(); - } - abortMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.AbortMetadata, flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder, flyteidl.admin.ExecutionOuterClass.AbortMetadataOrBuilder>( - (flyteidl.admin.ExecutionOuterClass.AbortMetadata) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 12; - onChanged();; - return abortMetadataBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputData() { - return outputResultCase_ == 13; - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 13) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (outputResultCase_ == 13) { - return outputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 13; - return this; - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 13; - return this; - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 13 && - outputResult_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - outputResult_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 13) { - outputDataBuilder_.mergeFrom(value); - } - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 13; - return this; - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 13) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 13) { - outputResultCase_ = 0; - outputResult_ = null; - } - outputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if ((outputResultCase_ == 13) && (outputDataBuilder_ != null)) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 13) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this execution.
-       * DEPRECATED. Use GetExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 13 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - if (!(outputResultCase_ == 13)) { - outputResult_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 13; - onChanged();; - return outputDataBuilder_; - } - - private flyteidl.core.Literals.LiteralMap computedInputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> computedInputsBuilder_; - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasComputedInputs() { - return computedInputsBuilder_ != null || computedInputs_ != null; - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getComputedInputs() { - if (computedInputsBuilder_ == null) { - return computedInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : computedInputs_; - } else { - return computedInputsBuilder_.getMessage(); - } - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setComputedInputs(flyteidl.core.Literals.LiteralMap value) { - if (computedInputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - computedInputs_ = value; - onChanged(); - } else { - computedInputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setComputedInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (computedInputsBuilder_ == null) { - computedInputs_ = builderForValue.build(); - onChanged(); - } else { - computedInputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeComputedInputs(flyteidl.core.Literals.LiteralMap value) { - if (computedInputsBuilder_ == null) { - if (computedInputs_ != null) { - computedInputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(computedInputs_).mergeFrom(value).buildPartial(); - } else { - computedInputs_ = value; - } - onChanged(); - } else { - computedInputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearComputedInputs() { - if (computedInputsBuilder_ == null) { - computedInputs_ = null; - onChanged(); - } else { - computedInputs_ = null; - computedInputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap.Builder getComputedInputsBuilder() { - - onChanged(); - return getComputedInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getComputedInputsOrBuilder() { - if (computedInputsBuilder_ != null) { - return computedInputsBuilder_.getMessageOrBuilder(); - } else { - return computedInputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : computedInputs_; - } - } - /** - *
-       * Inputs computed and passed for execution.
-       * computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
-       * 
- * - * .flyteidl.core.LiteralMap computed_inputs = 3 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getComputedInputsFieldBuilder() { - if (computedInputsBuilder_ == null) { - computedInputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getComputedInputs(), - getParentForChildren(), - isClean()); - computedInputs_ = null; - } - return computedInputsBuilder_; - } - - private int phase_ = 0; - /** - *
-       * Most recent recorded phase for the execution.
-       * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-       * Most recent recorded phase for the execution.
-       * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - *
-       * Most recent recorded phase for the execution.
-       * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.WorkflowExecution.Phase result = flyteidl.core.Execution.WorkflowExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.WorkflowExecution.Phase.UNRECOGNIZED : result; - } - /** - *
-       * Most recent recorded phase for the execution.
-       * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - public Builder setPhase(flyteidl.core.Execution.WorkflowExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Most recent recorded phase for the execution.
-       * 
- * - * .flyteidl.core.WorkflowExecution.Phase phase = 4; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp startedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startedAtBuilder_; - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public boolean hasStartedAt() { - return startedAtBuilder_ != null || startedAt_ != null; - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.Timestamp getStartedAt() { - if (startedAtBuilder_ == null) { - return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } else { - return startedAtBuilder_.getMessage(); - } - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder setStartedAt(com.google.protobuf.Timestamp value) { - if (startedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - startedAt_ = value; - onChanged(); - } else { - startedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder setStartedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (startedAtBuilder_ == null) { - startedAt_ = builderForValue.build(); - onChanged(); - } else { - startedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder mergeStartedAt(com.google.protobuf.Timestamp value) { - if (startedAtBuilder_ == null) { - if (startedAt_ != null) { - startedAt_ = - com.google.protobuf.Timestamp.newBuilder(startedAt_).mergeFrom(value).buildPartial(); - } else { - startedAt_ = value; - } - onChanged(); - } else { - startedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder clearStartedAt() { - if (startedAtBuilder_ == null) { - startedAt_ = null; - onChanged(); - } else { - startedAt_ = null; - startedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.Timestamp.Builder getStartedAtBuilder() { - - onChanged(); - return getStartedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { - if (startedAtBuilder_ != null) { - return startedAtBuilder_.getMessageOrBuilder(); - } else { - return startedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } - } - /** - *
-       * Reported time at which the execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartedAtFieldBuilder() { - if (startedAtBuilder_ == null) { - startedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartedAt(), - getParentForChildren(), - isClean()); - startedAt_ = null; - } - return startedAtBuilder_; - } - - private com.google.protobuf.Duration duration_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public boolean hasDuration() { - return durationBuilder_ != null || duration_ != null; - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration getDuration() { - if (durationBuilder_ == null) { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } else { - return durationBuilder_.getMessage(); - } - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder setDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - duration_ = value; - onChanged(); - } else { - durationBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { - if (durationBuilder_ == null) { - duration_ = builderForValue.build(); - onChanged(); - } else { - durationBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder mergeDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (duration_ != null) { - duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); - } else { - duration_ = value; - } - onChanged(); - } else { - durationBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder clearDuration() { - if (durationBuilder_ == null) { - duration_ = null; - onChanged(); - } else { - duration_ = null; - durationBuilder_ = null; - } - - return this; - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration.Builder getDurationBuilder() { - - onChanged(); - return getDurationFieldBuilder().getBuilder(); - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - if (durationBuilder_ != null) { - return durationBuilder_.getMessageOrBuilder(); - } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - } - /** - *
-       * The amount of time the execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getDurationFieldBuilder() { - if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); - duration_ = null; - } - return durationBuilder_; - } - - private com.google.protobuf.Timestamp createdAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public boolean hasCreatedAt() { - return createdAtBuilder_ != null || createdAt_ != null; - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - if (createdAtBuilder_ == null) { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } else { - return createdAtBuilder_.getMessage(); - } - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder setCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createdAt_ = value; - onChanged(); - } else { - createdAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder setCreatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (createdAtBuilder_ == null) { - createdAt_ = builderForValue.build(); - onChanged(); - } else { - createdAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (createdAt_ != null) { - createdAt_ = - com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); - } else { - createdAt_ = value; - } - onChanged(); - } else { - createdAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder clearCreatedAt() { - if (createdAtBuilder_ == null) { - createdAt_ = null; - onChanged(); - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { - - onChanged(); - return getCreatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - if (createdAtBuilder_ != null) { - return createdAtBuilder_.getMessageOrBuilder(); - } else { - return createdAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - } - /** - *
-       * Reported time at which the execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreatedAtFieldBuilder() { - if (createdAtBuilder_ == null) { - createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreatedAt(), - getParentForChildren(), - isClean()); - createdAt_ = null; - } - return createdAtBuilder_; - } - - private com.google.protobuf.Timestamp updatedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_; - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public boolean hasUpdatedAt() { - return updatedAtBuilder_ != null || updatedAt_ != null; - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - if (updatedAtBuilder_ == null) { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } else { - return updatedAtBuilder_.getMessage(); - } - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder setUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updatedAt_ = value; - onChanged(); - } else { - updatedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder setUpdatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (updatedAtBuilder_ == null) { - updatedAt_ = builderForValue.build(); - onChanged(); - } else { - updatedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (updatedAt_ != null) { - updatedAt_ = - com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial(); - } else { - updatedAt_ = value; - } - onChanged(); - } else { - updatedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder clearUpdatedAt() { - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - onChanged(); - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() { - - onChanged(); - return getUpdatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - if (updatedAtBuilder_ != null) { - return updatedAtBuilder_.getMessageOrBuilder(); - } else { - return updatedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - } - /** - *
-       * Reported time at which the execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdatedAtFieldBuilder() { - if (updatedAtBuilder_ == null) { - updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdatedAt(), - getParentForChildren(), - isClean()); - updatedAt_ = null; - } - return updatedAtBuilder_; - } - - private java.util.List notifications_ = - java.util.Collections.emptyList(); - private void ensureNotificationsIsMutable() { - if (!((bitField0_ & 0x00000800) != 0)) { - notifications_ = new java.util.ArrayList(notifications_); - bitField0_ |= 0x00000800; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder> notificationsBuilder_; - - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public java.util.List getNotificationsList() { - if (notificationsBuilder_ == null) { - return java.util.Collections.unmodifiableList(notifications_); - } else { - return notificationsBuilder_.getMessageList(); - } - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public int getNotificationsCount() { - if (notificationsBuilder_ == null) { - return notifications_.size(); - } else { - return notificationsBuilder_.getCount(); - } - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public flyteidl.admin.Common.Notification getNotifications(int index) { - if (notificationsBuilder_ == null) { - return notifications_.get(index); - } else { - return notificationsBuilder_.getMessage(index); - } - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder setNotifications( - int index, flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.set(index, value); - onChanged(); - } else { - notificationsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder setNotifications( - int index, flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.set(index, builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder addNotifications(flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.add(value); - onChanged(); - } else { - notificationsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder addNotifications( - int index, flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.add(index, value); - onChanged(); - } else { - notificationsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder addNotifications( - flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.add(builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder addNotifications( - int index, flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.add(index, builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder addAllNotifications( - java.lang.Iterable values) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, notifications_); - onChanged(); - } else { - notificationsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder clearNotifications() { - if (notificationsBuilder_ == null) { - notifications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); - } else { - notificationsBuilder_.clear(); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public Builder removeNotifications(int index) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.remove(index); - onChanged(); - } else { - notificationsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public flyteidl.admin.Common.Notification.Builder getNotificationsBuilder( - int index) { - return getNotificationsFieldBuilder().getBuilder(index); - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index) { - if (notificationsBuilder_ == null) { - return notifications_.get(index); } else { - return notificationsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public java.util.List - getNotificationsOrBuilderList() { - if (notificationsBuilder_ != null) { - return notificationsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(notifications_); - } - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder() { - return getNotificationsFieldBuilder().addBuilder( - flyteidl.admin.Common.Notification.getDefaultInstance()); - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder( - int index) { - return getNotificationsFieldBuilder().addBuilder( - index, flyteidl.admin.Common.Notification.getDefaultInstance()); - } - /** - *
-       * The notification settings to use after merging the CreateExecutionRequest and the launch plan
-       * notification settings. An execution launched with notifications will always prefer that definition
-       * to notifications defined statically in a launch plan.
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 9; - */ - public java.util.List - getNotificationsBuilderList() { - return getNotificationsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder> - getNotificationsFieldBuilder() { - if (notificationsBuilder_ == null) { - notificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder>( - notifications_, - ((bitField0_ & 0x00000800) != 0), - getParentForChildren(), - isClean()); - notifications_ = null; - } - return notificationsBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> workflowIdBuilder_; - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public boolean hasWorkflowId() { - return workflowIdBuilder_ != null || workflowId_ != null; - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { - if (workflowIdBuilder_ == null) { - return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } else { - return workflowIdBuilder_.getMessage(); - } - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public Builder setWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (workflowIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workflowId_ = value; - onChanged(); - } else { - workflowIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public Builder setWorkflowId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (workflowIdBuilder_ == null) { - workflowId_ = builderForValue.build(); - onChanged(); - } else { - workflowIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public Builder mergeWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (workflowIdBuilder_ == null) { - if (workflowId_ != null) { - workflowId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(workflowId_).mergeFrom(value).buildPartial(); - } else { - workflowId_ = value; - } - onChanged(); - } else { - workflowIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public Builder clearWorkflowId() { - if (workflowIdBuilder_ == null) { - workflowId_ = null; - onChanged(); - } else { - workflowId_ = null; - workflowIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getWorkflowIdBuilder() { - - onChanged(); - return getWorkflowIdFieldBuilder().getBuilder(); - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { - if (workflowIdBuilder_ != null) { - return workflowIdBuilder_.getMessageOrBuilder(); - } else { - return workflowId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } - } - /** - *
-       * Identifies the workflow definition for this execution.
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 11; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getWorkflowIdFieldBuilder() { - if (workflowIdBuilder_ == null) { - workflowIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getWorkflowId(), - getParentForChildren(), - isClean()); - workflowId_ = null; - } - return workflowIdBuilder_; - } - - private flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails stateChangeDetails_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetailsOrBuilder> stateChangeDetailsBuilder_; - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public boolean hasStateChangeDetails() { - return stateChangeDetailsBuilder_ != null || stateChangeDetails_ != null; - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails getStateChangeDetails() { - if (stateChangeDetailsBuilder_ == null) { - return stateChangeDetails_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.getDefaultInstance() : stateChangeDetails_; - } else { - return stateChangeDetailsBuilder_.getMessage(); - } - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public Builder setStateChangeDetails(flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails value) { - if (stateChangeDetailsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stateChangeDetails_ = value; - onChanged(); - } else { - stateChangeDetailsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public Builder setStateChangeDetails( - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder builderForValue) { - if (stateChangeDetailsBuilder_ == null) { - stateChangeDetails_ = builderForValue.build(); - onChanged(); - } else { - stateChangeDetailsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public Builder mergeStateChangeDetails(flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails value) { - if (stateChangeDetailsBuilder_ == null) { - if (stateChangeDetails_ != null) { - stateChangeDetails_ = - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.newBuilder(stateChangeDetails_).mergeFrom(value).buildPartial(); - } else { - stateChangeDetails_ = value; - } - onChanged(); - } else { - stateChangeDetailsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public Builder clearStateChangeDetails() { - if (stateChangeDetailsBuilder_ == null) { - stateChangeDetails_ = null; - onChanged(); - } else { - stateChangeDetails_ = null; - stateChangeDetailsBuilder_ = null; - } - - return this; - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder getStateChangeDetailsBuilder() { - - onChanged(); - return getStateChangeDetailsFieldBuilder().getBuilder(); - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetailsOrBuilder getStateChangeDetailsOrBuilder() { - if (stateChangeDetailsBuilder_ != null) { - return stateChangeDetailsBuilder_.getMessageOrBuilder(); - } else { - return stateChangeDetails_ == null ? - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.getDefaultInstance() : stateChangeDetails_; - } - } - /** - *
-       * Provides the details of the last stage change
-       * 
- * - * .flyteidl.admin.ExecutionStateChangeDetails state_change_details = 14; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetailsOrBuilder> - getStateChangeDetailsFieldBuilder() { - if (stateChangeDetailsBuilder_ == null) { - stateChangeDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetailsOrBuilder>( - getStateChangeDetails(), - getParentForChildren(), - isClean()); - stateChangeDetails_ = null; - } - return stateChangeDetailsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionClosure) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionClosure(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionClosure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SystemMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SystemMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Which execution cluster this execution ran on.
-     * 
- * - * string execution_cluster = 1; - */ - java.lang.String getExecutionCluster(); - /** - *
-     * Which execution cluster this execution ran on.
-     * 
- * - * string execution_cluster = 1; - */ - com.google.protobuf.ByteString - getExecutionClusterBytes(); - - /** - *
-     * Which kubernetes namespace the execution ran under.
-     * 
- * - * string namespace = 2; - */ - java.lang.String getNamespace(); - /** - *
-     * Which kubernetes namespace the execution ran under.
-     * 
- * - * string namespace = 2; - */ - com.google.protobuf.ByteString - getNamespaceBytes(); - } - /** - *
-   * Represents system, rather than user-facing, metadata about an execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.SystemMetadata} - */ - public static final class SystemMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SystemMetadata) - SystemMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use SystemMetadata.newBuilder() to construct. - private SystemMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SystemMetadata() { - executionCluster_ = ""; - namespace_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SystemMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - executionCluster_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - namespace_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_SystemMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_SystemMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.SystemMetadata.class, flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder.class); - } - - public static final int EXECUTION_CLUSTER_FIELD_NUMBER = 1; - private volatile java.lang.Object executionCluster_; - /** - *
-     * Which execution cluster this execution ran on.
-     * 
- * - * string execution_cluster = 1; - */ - public java.lang.String getExecutionCluster() { - java.lang.Object ref = executionCluster_; - 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(); - executionCluster_ = s; - return s; - } - } - /** - *
-     * Which execution cluster this execution ran on.
-     * 
- * - * string execution_cluster = 1; - */ - public com.google.protobuf.ByteString - getExecutionClusterBytes() { - java.lang.Object ref = executionCluster_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - executionCluster_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAMESPACE_FIELD_NUMBER = 2; - private volatile java.lang.Object namespace_; - /** - *
-     * Which kubernetes namespace the execution ran under.
-     * 
- * - * string namespace = 2; - */ - public java.lang.String getNamespace() { - java.lang.Object ref = namespace_; - 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(); - namespace_ = s; - return s; - } - } - /** - *
-     * Which kubernetes namespace the execution ran under.
-     * 
- * - * string namespace = 2; - */ - public com.google.protobuf.ByteString - getNamespaceBytes() { - java.lang.Object ref = namespace_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - namespace_ = 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 (!getExecutionClusterBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, executionCluster_); - } - if (!getNamespaceBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getExecutionClusterBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, executionCluster_); - } - if (!getNamespaceBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.SystemMetadata)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.SystemMetadata other = (flyteidl.admin.ExecutionOuterClass.SystemMetadata) obj; - - if (!getExecutionCluster() - .equals(other.getExecutionCluster())) return false; - if (!getNamespace() - .equals(other.getNamespace())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + EXECUTION_CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + getExecutionCluster().hashCode(); - hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; - hash = (53 * hash) + getNamespace().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.SystemMetadata 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; - } - /** - *
-     * Represents system, rather than user-facing, metadata about an execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.SystemMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SystemMetadata) - flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_SystemMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_SystemMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.SystemMetadata.class, flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.SystemMetadata.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(); - executionCluster_ = ""; - - namespace_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_SystemMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.SystemMetadata getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.SystemMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.SystemMetadata build() { - flyteidl.admin.ExecutionOuterClass.SystemMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.SystemMetadata buildPartial() { - flyteidl.admin.ExecutionOuterClass.SystemMetadata result = new flyteidl.admin.ExecutionOuterClass.SystemMetadata(this); - result.executionCluster_ = executionCluster_; - result.namespace_ = namespace_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.SystemMetadata) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.SystemMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.SystemMetadata other) { - if (other == flyteidl.admin.ExecutionOuterClass.SystemMetadata.getDefaultInstance()) return this; - if (!other.getExecutionCluster().isEmpty()) { - executionCluster_ = other.executionCluster_; - onChanged(); - } - if (!other.getNamespace().isEmpty()) { - namespace_ = other.namespace_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.SystemMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.SystemMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object executionCluster_ = ""; - /** - *
-       * Which execution cluster this execution ran on.
-       * 
- * - * string execution_cluster = 1; - */ - public java.lang.String getExecutionCluster() { - java.lang.Object ref = executionCluster_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - executionCluster_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Which execution cluster this execution ran on.
-       * 
- * - * string execution_cluster = 1; - */ - public com.google.protobuf.ByteString - getExecutionClusterBytes() { - java.lang.Object ref = executionCluster_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - executionCluster_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Which execution cluster this execution ran on.
-       * 
- * - * string execution_cluster = 1; - */ - public Builder setExecutionCluster( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - executionCluster_ = value; - onChanged(); - return this; - } - /** - *
-       * Which execution cluster this execution ran on.
-       * 
- * - * string execution_cluster = 1; - */ - public Builder clearExecutionCluster() { - - executionCluster_ = getDefaultInstance().getExecutionCluster(); - onChanged(); - return this; - } - /** - *
-       * Which execution cluster this execution ran on.
-       * 
- * - * string execution_cluster = 1; - */ - public Builder setExecutionClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - executionCluster_ = value; - onChanged(); - return this; - } - - private java.lang.Object namespace_ = ""; - /** - *
-       * Which kubernetes namespace the execution ran under.
-       * 
- * - * string namespace = 2; - */ - public java.lang.String getNamespace() { - java.lang.Object ref = namespace_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - namespace_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Which kubernetes namespace the execution ran under.
-       * 
- * - * string namespace = 2; - */ - public com.google.protobuf.ByteString - getNamespaceBytes() { - java.lang.Object ref = namespace_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - namespace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Which kubernetes namespace the execution ran under.
-       * 
- * - * string namespace = 2; - */ - public Builder setNamespace( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - namespace_ = value; - onChanged(); - return this; - } - /** - *
-       * Which kubernetes namespace the execution ran under.
-       * 
- * - * string namespace = 2; - */ - public Builder clearNamespace() { - - namespace_ = getDefaultInstance().getNamespace(); - onChanged(); - return this; - } - /** - *
-       * Which kubernetes namespace the execution ran under.
-       * 
- * - * string namespace = 2; - */ - public Builder setNamespaceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - namespace_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SystemMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SystemMetadata) - private static final flyteidl.admin.ExecutionOuterClass.SystemMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.SystemMetadata(); - } - - public static flyteidl.admin.ExecutionOuterClass.SystemMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SystemMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SystemMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.SystemMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - int getModeValue(); - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode getMode(); - - /** - *
-     * Identifier of the entity that triggered this execution.
-     * For systems using back-end authentication any value set here will be discarded in favor of the
-     * authenticated user context.
-     * 
- * - * string principal = 2; - */ - java.lang.String getPrincipal(); - /** - *
-     * Identifier of the entity that triggered this execution.
-     * For systems using back-end authentication any value set here will be discarded in favor of the
-     * authenticated user context.
-     * 
- * - * string principal = 2; - */ - com.google.protobuf.ByteString - getPrincipalBytes(); - - /** - *
-     * Indicates the nestedness of this execution.
-     * If a user launches a workflow execution, the default nesting is 0.
-     * If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1
-     * Generally, if workflow at nesting level k launches a workflow then the child workflow will have
-     * nesting = k + 1.
-     * 
- * - * uint32 nesting = 3; - */ - int getNesting(); - - /** - *
-     * For scheduled executions, the requested time for execution for this specific schedule invocation.
-     * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - boolean hasScheduledAt(); - /** - *
-     * For scheduled executions, the requested time for execution for this specific schedule invocation.
-     * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - com.google.protobuf.Timestamp getScheduledAt(); - /** - *
-     * For scheduled executions, the requested time for execution for this specific schedule invocation.
-     * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder(); - - /** - *
-     * Which subworkflow node (if any) launched this execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - boolean hasParentNodeExecution(); - /** - *
-     * Which subworkflow node (if any) launched this execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution(); - /** - *
-     * Which subworkflow node (if any) launched this execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder(); - - /** - *
-     * Optional, a reference workflow execution related to this execution.
-     * In the case of a relaunch, this references the original workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - boolean hasReferenceExecution(); - /** - *
-     * Optional, a reference workflow execution related to this execution.
-     * In the case of a relaunch, this references the original workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution(); - /** - *
-     * Optional, a reference workflow execution related to this execution.
-     * In the case of a relaunch, this references the original workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder(); - - /** - *
-     * Optional, platform-specific metadata about the execution.
-     * In this the future this may be gated behind an ACL or some sort of authorization.
-     * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - boolean hasSystemMetadata(); - /** - *
-     * Optional, platform-specific metadata about the execution.
-     * In this the future this may be gated behind an ACL or some sort of authorization.
-     * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - flyteidl.admin.ExecutionOuterClass.SystemMetadata getSystemMetadata(); - /** - *
-     * Optional, platform-specific metadata about the execution.
-     * In this the future this may be gated behind an ACL or some sort of authorization.
-     * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetadataOrBuilder(); - - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - java.util.List - getArtifactIdsList(); - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - int getArtifactIdsCount(); - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - java.util.List - getArtifactIdsOrBuilderList(); - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index); - } - /** - *
-   * Represents attributes about an execution which are not required to launch the execution but are useful to record.
-   * These attributes are assigned at launch time and do not change.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionMetadata} - */ - public static final class ExecutionMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionMetadata) - ExecutionMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionMetadata.newBuilder() to construct. - private ExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionMetadata() { - mode_ = 0; - principal_ = ""; - artifactIds_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionMetadata( - 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(); - - mode_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - principal_ = s; - break; - } - case 24: { - - nesting_ = input.readUInt32(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduledAt_ != null) { - subBuilder = scheduledAt_.toBuilder(); - } - scheduledAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduledAt_); - scheduledAt_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; - if (parentNodeExecution_ != null) { - subBuilder = parentNodeExecution_.toBuilder(); - } - parentNodeExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(parentNodeExecution_); - parentNodeExecution_ = subBuilder.buildPartial(); - } - - break; - } - case 130: { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; - if (referenceExecution_ != null) { - subBuilder = referenceExecution_.toBuilder(); - } - referenceExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(referenceExecution_); - referenceExecution_ = subBuilder.buildPartial(); - } - - break; - } - case 138: { - flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder subBuilder = null; - if (systemMetadata_ != null) { - subBuilder = systemMetadata_.toBuilder(); - } - systemMetadata_ = input.readMessage(flyteidl.admin.ExecutionOuterClass.SystemMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(systemMetadata_); - systemMetadata_ = subBuilder.buildPartial(); - } - - break; - } - case 146: { - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000080; - } - artifactIds_.add( - input.readMessage(flyteidl.core.ArtifactId.ArtifactID.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_ & 0x00000080) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.class, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder.class); - } - - /** - *
-     * The method by which this execution was launched.
-     * 
- * - * Protobuf enum {@code flyteidl.admin.ExecutionMetadata.ExecutionMode} - */ - public enum ExecutionMode - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * The default execution mode, MANUAL implies that an execution was launched by an individual.
-       * 
- * - * MANUAL = 0; - */ - MANUAL(0), - /** - *
-       * A schedule triggered this execution launch.
-       * 
- * - * SCHEDULED = 1; - */ - SCHEDULED(1), - /** - *
-       * A system process was responsible for launching this execution rather an individual.
-       * 
- * - * SYSTEM = 2; - */ - SYSTEM(2), - /** - *
-       * This execution was launched with identical inputs as a previous execution.
-       * 
- * - * RELAUNCH = 3; - */ - RELAUNCH(3), - /** - *
-       * This execution was triggered by another execution.
-       * 
- * - * CHILD_WORKFLOW = 4; - */ - CHILD_WORKFLOW(4), - /** - *
-       * This execution was recovered from another execution.
-       * 
- * - * RECOVERED = 5; - */ - RECOVERED(5), - UNRECOGNIZED(-1), - ; - - /** - *
-       * The default execution mode, MANUAL implies that an execution was launched by an individual.
-       * 
- * - * MANUAL = 0; - */ - public static final int MANUAL_VALUE = 0; - /** - *
-       * A schedule triggered this execution launch.
-       * 
- * - * SCHEDULED = 1; - */ - public static final int SCHEDULED_VALUE = 1; - /** - *
-       * A system process was responsible for launching this execution rather an individual.
-       * 
- * - * SYSTEM = 2; - */ - public static final int SYSTEM_VALUE = 2; - /** - *
-       * This execution was launched with identical inputs as a previous execution.
-       * 
- * - * RELAUNCH = 3; - */ - public static final int RELAUNCH_VALUE = 3; - /** - *
-       * This execution was triggered by another execution.
-       * 
- * - * CHILD_WORKFLOW = 4; - */ - public static final int CHILD_WORKFLOW_VALUE = 4; - /** - *
-       * This execution was recovered from another execution.
-       * 
- * - * RECOVERED = 5; - */ - public static final int RECOVERED_VALUE = 5; - - - 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 ExecutionMode valueOf(int value) { - return forNumber(value); - } - - public static ExecutionMode forNumber(int value) { - switch (value) { - case 0: return MANUAL; - case 1: return SCHEDULED; - case 2: return SYSTEM; - case 3: return RELAUNCH; - case 4: return CHILD_WORKFLOW; - case 5: return RECOVERED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ExecutionMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionMode findValueByNumber(int number) { - return ExecutionMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDescriptor().getEnumTypes().get(0); - } - - private static final ExecutionMode[] VALUES = values(); - - public static ExecutionMode 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 ExecutionMode(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.ExecutionMetadata.ExecutionMode) - } - - private int bitField0_; - public static final int MODE_FIELD_NUMBER = 1; - private int mode_; - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - public int getModeValue() { - return mode_; - } - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode getMode() { - @SuppressWarnings("deprecation") - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode result = flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode.valueOf(mode_); - return result == null ? flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode.UNRECOGNIZED : result; - } - - public static final int PRINCIPAL_FIELD_NUMBER = 2; - private volatile java.lang.Object principal_; - /** - *
-     * Identifier of the entity that triggered this execution.
-     * For systems using back-end authentication any value set here will be discarded in favor of the
-     * authenticated user context.
-     * 
- * - * string principal = 2; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - 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(); - principal_ = s; - return s; - } - } - /** - *
-     * Identifier of the entity that triggered this execution.
-     * For systems using back-end authentication any value set here will be discarded in favor of the
-     * authenticated user context.
-     * 
- * - * string principal = 2; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NESTING_FIELD_NUMBER = 3; - private int nesting_; - /** - *
-     * Indicates the nestedness of this execution.
-     * If a user launches a workflow execution, the default nesting is 0.
-     * If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1
-     * Generally, if workflow at nesting level k launches a workflow then the child workflow will have
-     * nesting = k + 1.
-     * 
- * - * uint32 nesting = 3; - */ - public int getNesting() { - return nesting_; - } - - public static final int SCHEDULED_AT_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp scheduledAt_; - /** - *
-     * For scheduled executions, the requested time for execution for this specific schedule invocation.
-     * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public boolean hasScheduledAt() { - return scheduledAt_ != null; - } - /** - *
-     * For scheduled executions, the requested time for execution for this specific schedule invocation.
-     * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public com.google.protobuf.Timestamp getScheduledAt() { - return scheduledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; - } - /** - *
-     * For scheduled executions, the requested time for execution for this specific schedule invocation.
-     * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder() { - return getScheduledAt(); - } - - public static final int PARENT_NODE_EXECUTION_FIELD_NUMBER = 5; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecution_; - /** - *
-     * Which subworkflow node (if any) launched this execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public boolean hasParentNodeExecution() { - return parentNodeExecution_ != null; - } - /** - *
-     * Which subworkflow node (if any) launched this execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution() { - return parentNodeExecution_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; - } - /** - *
-     * Which subworkflow node (if any) launched this execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder() { - return getParentNodeExecution(); - } - - public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 16; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; - /** - *
-     * Optional, a reference workflow execution related to this execution.
-     * In the case of a relaunch, this references the original workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public boolean hasReferenceExecution() { - return referenceExecution_ != null; - } - /** - *
-     * Optional, a reference workflow execution related to this execution.
-     * In the case of a relaunch, this references the original workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { - return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; - } - /** - *
-     * Optional, a reference workflow execution related to this execution.
-     * In the case of a relaunch, this references the original workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { - return getReferenceExecution(); - } - - public static final int SYSTEM_METADATA_FIELD_NUMBER = 17; - private flyteidl.admin.ExecutionOuterClass.SystemMetadata systemMetadata_; - /** - *
-     * Optional, platform-specific metadata about the execution.
-     * In this the future this may be gated behind an ACL or some sort of authorization.
-     * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public boolean hasSystemMetadata() { - return systemMetadata_ != null; - } - /** - *
-     * Optional, platform-specific metadata about the execution.
-     * In this the future this may be gated behind an ACL or some sort of authorization.
-     * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public flyteidl.admin.ExecutionOuterClass.SystemMetadata getSystemMetadata() { - return systemMetadata_ == null ? flyteidl.admin.ExecutionOuterClass.SystemMetadata.getDefaultInstance() : systemMetadata_; - } - /** - *
-     * Optional, platform-specific metadata about the execution.
-     * In this the future this may be gated behind an ACL or some sort of authorization.
-     * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetadataOrBuilder() { - return getSystemMetadata(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 18; - private java.util.List artifactIds_; - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public java.util.List getArtifactIdsList() { - return artifactIds_; - } - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - return artifactIds_; - } - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public int getArtifactIdsCount() { - return artifactIds_.size(); - } - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - return artifactIds_.get(index); - } - /** - *
-     * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-     * since we don't have a structure to handle nested ones anyways.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - return artifactIds_.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 { - if (mode_ != flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode.MANUAL.getNumber()) { - output.writeEnum(1, mode_); - } - if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, principal_); - } - if (nesting_ != 0) { - output.writeUInt32(3, nesting_); - } - if (scheduledAt_ != null) { - output.writeMessage(4, getScheduledAt()); - } - if (parentNodeExecution_ != null) { - output.writeMessage(5, getParentNodeExecution()); - } - if (referenceExecution_ != null) { - output.writeMessage(16, getReferenceExecution()); - } - if (systemMetadata_ != null) { - output.writeMessage(17, getSystemMetadata()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(18, artifactIds_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (mode_ != flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode.MANUAL.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, mode_); - } - if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, principal_); - } - if (nesting_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, nesting_); - } - if (scheduledAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getScheduledAt()); - } - if (parentNodeExecution_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getParentNodeExecution()); - } - if (referenceExecution_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getReferenceExecution()); - } - if (systemMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getSystemMetadata()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, artifactIds_.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.admin.ExecutionOuterClass.ExecutionMetadata)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata other = (flyteidl.admin.ExecutionOuterClass.ExecutionMetadata) obj; - - if (mode_ != other.mode_) return false; - if (!getPrincipal() - .equals(other.getPrincipal())) return false; - if (getNesting() - != other.getNesting()) return false; - if (hasScheduledAt() != other.hasScheduledAt()) return false; - if (hasScheduledAt()) { - if (!getScheduledAt() - .equals(other.getScheduledAt())) return false; - } - if (hasParentNodeExecution() != other.hasParentNodeExecution()) return false; - if (hasParentNodeExecution()) { - if (!getParentNodeExecution() - .equals(other.getParentNodeExecution())) return false; - } - if (hasReferenceExecution() != other.hasReferenceExecution()) return false; - if (hasReferenceExecution()) { - if (!getReferenceExecution() - .equals(other.getReferenceExecution())) return false; - } - if (hasSystemMetadata() != other.hasSystemMetadata()) return false; - if (hasSystemMetadata()) { - if (!getSystemMetadata() - .equals(other.getSystemMetadata())) return false; - } - if (!getArtifactIdsList() - .equals(other.getArtifactIdsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MODE_FIELD_NUMBER; - hash = (53 * hash) + mode_; - hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; - hash = (53 * hash) + getPrincipal().hashCode(); - hash = (37 * hash) + NESTING_FIELD_NUMBER; - hash = (53 * hash) + getNesting(); - if (hasScheduledAt()) { - hash = (37 * hash) + SCHEDULED_AT_FIELD_NUMBER; - hash = (53 * hash) + getScheduledAt().hashCode(); - } - if (hasParentNodeExecution()) { - hash = (37 * hash) + PARENT_NODE_EXECUTION_FIELD_NUMBER; - hash = (53 * hash) + getParentNodeExecution().hashCode(); - } - if (hasReferenceExecution()) { - hash = (37 * hash) + REFERENCE_EXECUTION_FIELD_NUMBER; - hash = (53 * hash) + getReferenceExecution().hashCode(); - } - if (hasSystemMetadata()) { - hash = (37 * hash) + SYSTEM_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getSystemMetadata().hashCode(); - } - if (getArtifactIdsCount() > 0) { - hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactIdsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata 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; - } - /** - *
-     * Represents attributes about an execution which are not required to launch the execution but are useful to record.
-     * These attributes are assigned at launch time and do not change.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionMetadata) - flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.class, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getArtifactIdsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - mode_ = 0; - - principal_ = ""; - - nesting_ = 0; - - if (scheduledAtBuilder_ == null) { - scheduledAt_ = null; - } else { - scheduledAt_ = null; - scheduledAtBuilder_ = null; - } - if (parentNodeExecutionBuilder_ == null) { - parentNodeExecution_ = null; - } else { - parentNodeExecution_ = null; - parentNodeExecutionBuilder_ = null; - } - if (referenceExecutionBuilder_ == null) { - referenceExecution_ = null; - } else { - referenceExecution_ = null; - referenceExecutionBuilder_ = null; - } - if (systemMetadataBuilder_ == null) { - systemMetadata_ = null; - } else { - systemMetadata_ = null; - systemMetadataBuilder_ = null; - } - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - } else { - artifactIdsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata build() { - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata result = new flyteidl.admin.ExecutionOuterClass.ExecutionMetadata(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.mode_ = mode_; - result.principal_ = principal_; - result.nesting_ = nesting_; - if (scheduledAtBuilder_ == null) { - result.scheduledAt_ = scheduledAt_; - } else { - result.scheduledAt_ = scheduledAtBuilder_.build(); - } - if (parentNodeExecutionBuilder_ == null) { - result.parentNodeExecution_ = parentNodeExecution_; - } else { - result.parentNodeExecution_ = parentNodeExecutionBuilder_.build(); - } - if (referenceExecutionBuilder_ == null) { - result.referenceExecution_ = referenceExecution_; - } else { - result.referenceExecution_ = referenceExecutionBuilder_.build(); - } - if (systemMetadataBuilder_ == null) { - result.systemMetadata_ = systemMetadata_; - } else { - result.systemMetadata_ = systemMetadataBuilder_.build(); - } - if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000080); - } - result.artifactIds_ = artifactIds_; - } else { - result.artifactIds_ = artifactIdsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionMetadata) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance()) return this; - if (other.mode_ != 0) { - setModeValue(other.getModeValue()); - } - if (!other.getPrincipal().isEmpty()) { - principal_ = other.principal_; - onChanged(); - } - if (other.getNesting() != 0) { - setNesting(other.getNesting()); - } - if (other.hasScheduledAt()) { - mergeScheduledAt(other.getScheduledAt()); - } - if (other.hasParentNodeExecution()) { - mergeParentNodeExecution(other.getParentNodeExecution()); - } - if (other.hasReferenceExecution()) { - mergeReferenceExecution(other.getReferenceExecution()); - } - if (other.hasSystemMetadata()) { - mergeSystemMetadata(other.getSystemMetadata()); - } - if (artifactIdsBuilder_ == null) { - if (!other.artifactIds_.isEmpty()) { - if (artifactIds_.isEmpty()) { - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000080); - } else { - ensureArtifactIdsIsMutable(); - artifactIds_.addAll(other.artifactIds_); - } - onChanged(); - } - } else { - if (!other.artifactIds_.isEmpty()) { - if (artifactIdsBuilder_.isEmpty()) { - artifactIdsBuilder_.dispose(); - artifactIdsBuilder_ = null; - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000080); - artifactIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getArtifactIdsFieldBuilder() : null; - } else { - artifactIdsBuilder_.addAllMessages(other.artifactIds_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private int mode_ = 0; - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - public int getModeValue() { - return mode_; - } - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - public Builder setModeValue(int value) { - mode_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode getMode() { - @SuppressWarnings("deprecation") - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode result = flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode.valueOf(mode_); - return result == null ? flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode.UNRECOGNIZED : result; - } - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - public Builder setMode(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.ExecutionMode value) { - if (value == null) { - throw new NullPointerException(); - } - - mode_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.admin.ExecutionMetadata.ExecutionMode mode = 1; - */ - public Builder clearMode() { - - mode_ = 0; - onChanged(); - return this; - } - - private java.lang.Object principal_ = ""; - /** - *
-       * Identifier of the entity that triggered this execution.
-       * For systems using back-end authentication any value set here will be discarded in favor of the
-       * authenticated user context.
-       * 
- * - * string principal = 2; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - principal_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Identifier of the entity that triggered this execution.
-       * For systems using back-end authentication any value set here will be discarded in favor of the
-       * authenticated user context.
-       * 
- * - * string principal = 2; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Identifier of the entity that triggered this execution.
-       * For systems using back-end authentication any value set here will be discarded in favor of the
-       * authenticated user context.
-       * 
- * - * string principal = 2; - */ - public Builder setPrincipal( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - principal_ = value; - onChanged(); - return this; - } - /** - *
-       * Identifier of the entity that triggered this execution.
-       * For systems using back-end authentication any value set here will be discarded in favor of the
-       * authenticated user context.
-       * 
- * - * string principal = 2; - */ - public Builder clearPrincipal() { - - principal_ = getDefaultInstance().getPrincipal(); - onChanged(); - return this; - } - /** - *
-       * Identifier of the entity that triggered this execution.
-       * For systems using back-end authentication any value set here will be discarded in favor of the
-       * authenticated user context.
-       * 
- * - * string principal = 2; - */ - public Builder setPrincipalBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - principal_ = value; - onChanged(); - return this; - } - - private int nesting_ ; - /** - *
-       * Indicates the nestedness of this execution.
-       * If a user launches a workflow execution, the default nesting is 0.
-       * If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1
-       * Generally, if workflow at nesting level k launches a workflow then the child workflow will have
-       * nesting = k + 1.
-       * 
- * - * uint32 nesting = 3; - */ - public int getNesting() { - return nesting_; - } - /** - *
-       * Indicates the nestedness of this execution.
-       * If a user launches a workflow execution, the default nesting is 0.
-       * If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1
-       * Generally, if workflow at nesting level k launches a workflow then the child workflow will have
-       * nesting = k + 1.
-       * 
- * - * uint32 nesting = 3; - */ - public Builder setNesting(int value) { - - nesting_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the nestedness of this execution.
-       * If a user launches a workflow execution, the default nesting is 0.
-       * If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1
-       * Generally, if workflow at nesting level k launches a workflow then the child workflow will have
-       * nesting = k + 1.
-       * 
- * - * uint32 nesting = 3; - */ - public Builder clearNesting() { - - nesting_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp scheduledAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduledAtBuilder_; - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public boolean hasScheduledAt() { - return scheduledAtBuilder_ != null || scheduledAt_ != null; - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public com.google.protobuf.Timestamp getScheduledAt() { - if (scheduledAtBuilder_ == null) { - return scheduledAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; - } else { - return scheduledAtBuilder_.getMessage(); - } - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public Builder setScheduledAt(com.google.protobuf.Timestamp value) { - if (scheduledAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - scheduledAt_ = value; - onChanged(); - } else { - scheduledAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public Builder setScheduledAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (scheduledAtBuilder_ == null) { - scheduledAt_ = builderForValue.build(); - onChanged(); - } else { - scheduledAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public Builder mergeScheduledAt(com.google.protobuf.Timestamp value) { - if (scheduledAtBuilder_ == null) { - if (scheduledAt_ != null) { - scheduledAt_ = - com.google.protobuf.Timestamp.newBuilder(scheduledAt_).mergeFrom(value).buildPartial(); - } else { - scheduledAt_ = value; - } - onChanged(); - } else { - scheduledAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public Builder clearScheduledAt() { - if (scheduledAtBuilder_ == null) { - scheduledAt_ = null; - onChanged(); - } else { - scheduledAt_ = null; - scheduledAtBuilder_ = null; - } - - return this; - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public com.google.protobuf.Timestamp.Builder getScheduledAtBuilder() { - - onChanged(); - return getScheduledAtFieldBuilder().getBuilder(); - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getScheduledAtOrBuilder() { - if (scheduledAtBuilder_ != null) { - return scheduledAtBuilder_.getMessageOrBuilder(); - } else { - return scheduledAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduledAt_; - } - } - /** - *
-       * For scheduled executions, the requested time for execution for this specific schedule invocation.
-       * 
- * - * .google.protobuf.Timestamp scheduled_at = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getScheduledAtFieldBuilder() { - if (scheduledAtBuilder_ == null) { - scheduledAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduledAt(), - getParentForChildren(), - isClean()); - scheduledAt_ = null; - } - return scheduledAtBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecution_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> parentNodeExecutionBuilder_; - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public boolean hasParentNodeExecution() { - return parentNodeExecutionBuilder_ != null || parentNodeExecution_ != null; - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecution() { - if (parentNodeExecutionBuilder_ == null) { - return parentNodeExecution_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; - } else { - return parentNodeExecutionBuilder_.getMessage(); - } - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public Builder setParentNodeExecution(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (parentNodeExecutionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parentNodeExecution_ = value; - onChanged(); - } else { - parentNodeExecutionBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public Builder setParentNodeExecution( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (parentNodeExecutionBuilder_ == null) { - parentNodeExecution_ = builderForValue.build(); - onChanged(); - } else { - parentNodeExecutionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public Builder mergeParentNodeExecution(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (parentNodeExecutionBuilder_ == null) { - if (parentNodeExecution_ != null) { - parentNodeExecution_ = - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(parentNodeExecution_).mergeFrom(value).buildPartial(); - } else { - parentNodeExecution_ = value; - } - onChanged(); - } else { - parentNodeExecutionBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public Builder clearParentNodeExecution() { - if (parentNodeExecutionBuilder_ == null) { - parentNodeExecution_ = null; - onChanged(); - } else { - parentNodeExecution_ = null; - parentNodeExecutionBuilder_ = null; - } - - return this; - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getParentNodeExecutionBuilder() { - - onChanged(); - return getParentNodeExecutionFieldBuilder().getBuilder(); - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionOrBuilder() { - if (parentNodeExecutionBuilder_ != null) { - return parentNodeExecutionBuilder_.getMessageOrBuilder(); - } else { - return parentNodeExecution_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecution_; - } - } - /** - *
-       * Which subworkflow node (if any) launched this execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getParentNodeExecutionFieldBuilder() { - if (parentNodeExecutionBuilder_ == null) { - parentNodeExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - getParentNodeExecution(), - getParentForChildren(), - isClean()); - parentNodeExecution_ = null; - } - return parentNodeExecutionBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> referenceExecutionBuilder_; - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public boolean hasReferenceExecution() { - return referenceExecutionBuilder_ != null || referenceExecution_ != null; - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { - if (referenceExecutionBuilder_ == null) { - return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; - } else { - return referenceExecutionBuilder_.getMessage(); - } - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (referenceExecutionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - referenceExecution_ = value; - onChanged(); - } else { - referenceExecutionBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public Builder setReferenceExecution( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (referenceExecutionBuilder_ == null) { - referenceExecution_ = builderForValue.build(); - onChanged(); - } else { - referenceExecutionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (referenceExecutionBuilder_ == null) { - if (referenceExecution_ != null) { - referenceExecution_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(referenceExecution_).mergeFrom(value).buildPartial(); - } else { - referenceExecution_ = value; - } - onChanged(); - } else { - referenceExecutionBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public Builder clearReferenceExecution() { - if (referenceExecutionBuilder_ == null) { - referenceExecution_ = null; - onChanged(); - } else { - referenceExecution_ = null; - referenceExecutionBuilder_ = null; - } - - return this; - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getReferenceExecutionBuilder() { - - onChanged(); - return getReferenceExecutionFieldBuilder().getBuilder(); - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { - if (referenceExecutionBuilder_ != null) { - return referenceExecutionBuilder_.getMessageOrBuilder(); - } else { - return referenceExecution_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; - } - } - /** - *
-       * Optional, a reference workflow execution related to this execution.
-       * In the case of a relaunch, this references the original workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 16; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getReferenceExecutionFieldBuilder() { - if (referenceExecutionBuilder_ == null) { - referenceExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getReferenceExecution(), - getParentForChildren(), - isClean()); - referenceExecution_ = null; - } - return referenceExecutionBuilder_; - } - - private flyteidl.admin.ExecutionOuterClass.SystemMetadata systemMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.SystemMetadata, flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder, flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder> systemMetadataBuilder_; - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public boolean hasSystemMetadata() { - return systemMetadataBuilder_ != null || systemMetadata_ != null; - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public flyteidl.admin.ExecutionOuterClass.SystemMetadata getSystemMetadata() { - if (systemMetadataBuilder_ == null) { - return systemMetadata_ == null ? flyteidl.admin.ExecutionOuterClass.SystemMetadata.getDefaultInstance() : systemMetadata_; - } else { - return systemMetadataBuilder_.getMessage(); - } - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public Builder setSystemMetadata(flyteidl.admin.ExecutionOuterClass.SystemMetadata value) { - if (systemMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - systemMetadata_ = value; - onChanged(); - } else { - systemMetadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public Builder setSystemMetadata( - flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder builderForValue) { - if (systemMetadataBuilder_ == null) { - systemMetadata_ = builderForValue.build(); - onChanged(); - } else { - systemMetadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public Builder mergeSystemMetadata(flyteidl.admin.ExecutionOuterClass.SystemMetadata value) { - if (systemMetadataBuilder_ == null) { - if (systemMetadata_ != null) { - systemMetadata_ = - flyteidl.admin.ExecutionOuterClass.SystemMetadata.newBuilder(systemMetadata_).mergeFrom(value).buildPartial(); - } else { - systemMetadata_ = value; - } - onChanged(); - } else { - systemMetadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public Builder clearSystemMetadata() { - if (systemMetadataBuilder_ == null) { - systemMetadata_ = null; - onChanged(); - } else { - systemMetadata_ = null; - systemMetadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder getSystemMetadataBuilder() { - - onChanged(); - return getSystemMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - public flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetadataOrBuilder() { - if (systemMetadataBuilder_ != null) { - return systemMetadataBuilder_.getMessageOrBuilder(); - } else { - return systemMetadata_ == null ? - flyteidl.admin.ExecutionOuterClass.SystemMetadata.getDefaultInstance() : systemMetadata_; - } - } - /** - *
-       * Optional, platform-specific metadata about the execution.
-       * In this the future this may be gated behind an ACL or some sort of authorization.
-       * 
- * - * .flyteidl.admin.SystemMetadata system_metadata = 17; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.SystemMetadata, flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder, flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder> - getSystemMetadataFieldBuilder() { - if (systemMetadataBuilder_ == null) { - systemMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.SystemMetadata, flyteidl.admin.ExecutionOuterClass.SystemMetadata.Builder, flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder>( - getSystemMetadata(), - getParentForChildren(), - isClean()); - systemMetadata_ = null; - } - return systemMetadataBuilder_; - } - - private java.util.List artifactIds_ = - java.util.Collections.emptyList(); - private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { - artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000080; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; - - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public java.util.List getArtifactIdsList() { - if (artifactIdsBuilder_ == null) { - return java.util.Collections.unmodifiableList(artifactIds_); - } else { - return artifactIdsBuilder_.getMessageList(); - } - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public int getArtifactIdsCount() { - if (artifactIdsBuilder_ == null) { - return artifactIds_.size(); - } else { - return artifactIdsBuilder_.getCount(); - } - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); - } else { - return artifactIdsBuilder_.getMessage(index); - } - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, value); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder addArtifactIds( - flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder addAllArtifactIds( - java.lang.Iterable values) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifactIds_); - onChanged(); - } else { - artifactIdsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder clearArtifactIds() { - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - } else { - artifactIdsBuilder_.clear(); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public Builder removeArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.remove(index); - onChanged(); - } else { - artifactIdsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().getBuilder(index); - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); } else { - return artifactIdsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - if (artifactIdsBuilder_ != null) { - return artifactIdsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(artifactIds_); - } - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { - return getArtifactIdsFieldBuilder().addBuilder( - flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().addBuilder( - index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping
-       * since we don't have a structure to handle nested ones anyways.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 18; - */ - public java.util.List - getArtifactIdsBuilderList() { - return getArtifactIdsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> - getArtifactIdsFieldBuilder() { - if (artifactIdsBuilder_ == null) { - artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( - artifactIds_, - ((bitField0_ & 0x00000080) != 0), - getParentForChildren(), - isClean()); - artifactIds_ = null; - } - return artifactIdsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionMetadata) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionMetadata(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NotificationListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NotificationList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - java.util.List - getNotificationsList(); - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - flyteidl.admin.Common.Notification getNotifications(int index); - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - int getNotificationsCount(); - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - java.util.List - getNotificationsOrBuilderList(); - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index); - } - /** - * Protobuf type {@code flyteidl.admin.NotificationList} - */ - public static final class NotificationList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NotificationList) - NotificationListOrBuilder { - private static final long serialVersionUID = 0L; - // Use NotificationList.newBuilder() to construct. - private NotificationList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NotificationList() { - notifications_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NotificationList( - 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)) { - notifications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - notifications_.add( - input.readMessage(flyteidl.admin.Common.Notification.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)) { - notifications_ = java.util.Collections.unmodifiableList(notifications_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_NotificationList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_NotificationList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.NotificationList.class, flyteidl.admin.ExecutionOuterClass.NotificationList.Builder.class); - } - - public static final int NOTIFICATIONS_FIELD_NUMBER = 1; - private java.util.List notifications_; - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public java.util.List getNotificationsList() { - return notifications_; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public java.util.List - getNotificationsOrBuilderList() { - return notifications_; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public int getNotificationsCount() { - return notifications_.size(); - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public flyteidl.admin.Common.Notification getNotifications(int index) { - return notifications_.get(index); - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index) { - return notifications_.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 < notifications_.size(); i++) { - output.writeMessage(1, notifications_.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 < notifications_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, notifications_.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.admin.ExecutionOuterClass.NotificationList)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.NotificationList other = (flyteidl.admin.ExecutionOuterClass.NotificationList) obj; - - if (!getNotificationsList() - .equals(other.getNotificationsList())) 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 (getNotificationsCount() > 0) { - hash = (37 * hash) + NOTIFICATIONS_FIELD_NUMBER; - hash = (53 * hash) + getNotificationsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.NotificationList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.NotificationList prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.NotificationList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NotificationList) - flyteidl.admin.ExecutionOuterClass.NotificationListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_NotificationList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_NotificationList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.NotificationList.class, flyteidl.admin.ExecutionOuterClass.NotificationList.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.NotificationList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNotificationsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (notificationsBuilder_ == null) { - notifications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - notificationsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_NotificationList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.NotificationList getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.NotificationList build() { - flyteidl.admin.ExecutionOuterClass.NotificationList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.NotificationList buildPartial() { - flyteidl.admin.ExecutionOuterClass.NotificationList result = new flyteidl.admin.ExecutionOuterClass.NotificationList(this); - int from_bitField0_ = bitField0_; - if (notificationsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - notifications_ = java.util.Collections.unmodifiableList(notifications_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.notifications_ = notifications_; - } else { - result.notifications_ = notificationsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.NotificationList) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.NotificationList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.NotificationList other) { - if (other == flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance()) return this; - if (notificationsBuilder_ == null) { - if (!other.notifications_.isEmpty()) { - if (notifications_.isEmpty()) { - notifications_ = other.notifications_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureNotificationsIsMutable(); - notifications_.addAll(other.notifications_); - } - onChanged(); - } - } else { - if (!other.notifications_.isEmpty()) { - if (notificationsBuilder_.isEmpty()) { - notificationsBuilder_.dispose(); - notificationsBuilder_ = null; - notifications_ = other.notifications_; - bitField0_ = (bitField0_ & ~0x00000001); - notificationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNotificationsFieldBuilder() : null; - } else { - notificationsBuilder_.addAllMessages(other.notifications_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.NotificationList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.NotificationList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List notifications_ = - java.util.Collections.emptyList(); - private void ensureNotificationsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - notifications_ = new java.util.ArrayList(notifications_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder> notificationsBuilder_; - - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public java.util.List getNotificationsList() { - if (notificationsBuilder_ == null) { - return java.util.Collections.unmodifiableList(notifications_); - } else { - return notificationsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public int getNotificationsCount() { - if (notificationsBuilder_ == null) { - return notifications_.size(); - } else { - return notificationsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public flyteidl.admin.Common.Notification getNotifications(int index) { - if (notificationsBuilder_ == null) { - return notifications_.get(index); - } else { - return notificationsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder setNotifications( - int index, flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.set(index, value); - onChanged(); - } else { - notificationsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder setNotifications( - int index, flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.set(index, builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder addNotifications(flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.add(value); - onChanged(); - } else { - notificationsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder addNotifications( - int index, flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.add(index, value); - onChanged(); - } else { - notificationsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder addNotifications( - flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.add(builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder addNotifications( - int index, flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.add(index, builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder addAllNotifications( - java.lang.Iterable values) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, notifications_); - onChanged(); - } else { - notificationsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder clearNotifications() { - if (notificationsBuilder_ == null) { - notifications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - notificationsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public Builder removeNotifications(int index) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.remove(index); - onChanged(); - } else { - notificationsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public flyteidl.admin.Common.Notification.Builder getNotificationsBuilder( - int index) { - return getNotificationsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index) { - if (notificationsBuilder_ == null) { - return notifications_.get(index); } else { - return notificationsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public java.util.List - getNotificationsOrBuilderList() { - if (notificationsBuilder_ != null) { - return notificationsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(notifications_); - } - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder() { - return getNotificationsFieldBuilder().addBuilder( - flyteidl.admin.Common.Notification.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder( - int index) { - return getNotificationsFieldBuilder().addBuilder( - index, flyteidl.admin.Common.Notification.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Notification notifications = 1; - */ - public java.util.List - getNotificationsBuilderList() { - return getNotificationsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder> - getNotificationsFieldBuilder() { - if (notificationsBuilder_ == null) { - notificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder>( - notifications_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - notifications_ = null; - } - return notificationsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NotificationList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NotificationList) - private static final flyteidl.admin.ExecutionOuterClass.NotificationList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.NotificationList(); - } - - public static flyteidl.admin.ExecutionOuterClass.NotificationList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.NotificationList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Launch plan to be executed
-     * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - boolean hasLaunchPlan(); - /** - *
-     * Launch plan to be executed
-     * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlan(); - /** - *
-     * Launch plan to be executed
-     * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanOrBuilder(); - - /** - *
-     * Input values to be passed for the execution
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasInputs(); - /** - *
-     * Input values to be passed for the execution
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMap getInputs(); - /** - *
-     * Input values to be passed for the execution
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder(); - - /** - *
-     * Metadata for the execution
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - boolean hasMetadata(); - /** - *
-     * Metadata for the execution
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getMetadata(); - /** - *
-     * Metadata for the execution
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder getMetadataOrBuilder(); - - /** - *
-     * List of notifications based on Execution status transitions
-     * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-     * When this list is empty, the notifications defined for the launch plan will be applied.
-     * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - boolean hasNotifications(); - /** - *
-     * List of notifications based on Execution status transitions
-     * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-     * When this list is empty, the notifications defined for the launch plan will be applied.
-     * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - flyteidl.admin.ExecutionOuterClass.NotificationList getNotifications(); - /** - *
-     * List of notifications based on Execution status transitions
-     * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-     * When this list is empty, the notifications defined for the launch plan will be applied.
-     * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - flyteidl.admin.ExecutionOuterClass.NotificationListOrBuilder getNotificationsOrBuilder(); - - /** - *
-     * This should be set to true if all notifications are intended to be disabled for this execution.
-     * 
- * - * bool disable_all = 6; - */ - boolean getDisableAll(); - - /** - *
-     * Labels to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - boolean hasLabels(); - /** - *
-     * Labels to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - flyteidl.admin.Common.Labels getLabels(); - /** - *
-     * Labels to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder(); - - /** - *
-     * Annotations to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - boolean hasAnnotations(); - /** - *
-     * Annotations to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - flyteidl.admin.Common.Annotations getAnnotations(); - /** - *
-     * Annotations to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder(); - - /** - *
-     * Optional: security context override to apply this execution.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - boolean hasSecurityContext(); - /** - *
-     * Optional: security context override to apply this execution.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - flyteidl.core.Security.SecurityContext getSecurityContext(); - /** - *
-     * Optional: security context override to apply this execution.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder(); - - /** - *
-     * Optional: auth override to apply this execution.
-     * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasAuthRole(); - /** - *
-     * Optional: auth override to apply this execution.
-     * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.AuthRole getAuthRole(); - /** - *
-     * Optional: auth override to apply this execution.
-     * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.AuthRoleOrBuilder getAuthRoleOrBuilder(); - - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - boolean hasQualityOfService(); - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - flyteidl.core.Execution.QualityOfService getQualityOfService(); - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder(); - - /** - *
-     * Controls the maximum number of task nodes that can be run in parallel for the entire workflow.
-     * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-     * and parallelism/concurrency of MapTasks is independent from this.
-     * 
- * - * int32 max_parallelism = 18; - */ - int getMaxParallelism(); - - /** - *
-     * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-     * This should be a prefix like s3://my-bucket/my-data
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - boolean hasRawOutputDataConfig(); - /** - *
-     * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-     * This should be a prefix like s3://my-bucket/my-data
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig(); - /** - *
-     * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-     * This should be a prefix like s3://my-bucket/my-data
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder(); - - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - boolean hasClusterAssignment(); - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignment(); - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentOrBuilder(); - - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - boolean hasInterruptible(); - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - com.google.protobuf.BoolValue getInterruptible(); - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder(); - - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 22; - */ - boolean getOverwriteCache(); - - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - boolean hasEnvs(); - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - flyteidl.admin.Common.Envs getEnvs(); - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder(); - - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - java.util.List - getTagsList(); - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - int getTagsCount(); - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - java.lang.String getTags(int index); - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - com.google.protobuf.ByteString - getTagsBytes(int index); - - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec.NotificationOverridesCase getNotificationOverridesCase(); - } - /** - *
-   * An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime
-   * of an execution as it progresses across phase changes.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionSpec} - */ - public static final class ExecutionSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionSpec) - ExecutionSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionSpec.newBuilder() to construct. - private ExecutionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionSpec() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionSpec( - 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.Identifier.Builder subBuilder = null; - if (launchPlan_ != null) { - subBuilder = launchPlan_.toBuilder(); - } - launchPlan_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(launchPlan_); - launchPlan_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.admin.ExecutionOuterClass.NotificationList.Builder subBuilder = null; - if (notificationOverridesCase_ == 5) { - subBuilder = ((flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_).toBuilder(); - } - notificationOverrides_ = - input.readMessage(flyteidl.admin.ExecutionOuterClass.NotificationList.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_); - notificationOverrides_ = subBuilder.buildPartial(); - } - notificationOverridesCase_ = 5; - break; - } - case 48: { - notificationOverridesCase_ = 6; - notificationOverrides_ = input.readBool(); - break; - } - case 58: { - flyteidl.admin.Common.Labels.Builder subBuilder = null; - if (labels_ != null) { - subBuilder = labels_.toBuilder(); - } - labels_ = input.readMessage(flyteidl.admin.Common.Labels.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labels_); - labels_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - flyteidl.admin.Common.Annotations.Builder subBuilder = null; - if (annotations_ != null) { - subBuilder = annotations_.toBuilder(); - } - annotations_ = input.readMessage(flyteidl.admin.Common.Annotations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotations_); - annotations_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - flyteidl.core.Security.SecurityContext.Builder subBuilder = null; - if (securityContext_ != null) { - subBuilder = securityContext_.toBuilder(); - } - securityContext_ = input.readMessage(flyteidl.core.Security.SecurityContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(securityContext_); - securityContext_ = subBuilder.buildPartial(); - } - - break; - } - case 130: { - flyteidl.admin.Common.AuthRole.Builder subBuilder = null; - if (authRole_ != null) { - subBuilder = authRole_.toBuilder(); - } - authRole_ = input.readMessage(flyteidl.admin.Common.AuthRole.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authRole_); - authRole_ = subBuilder.buildPartial(); - } - - break; - } - case 138: { - flyteidl.core.Execution.QualityOfService.Builder subBuilder = null; - if (qualityOfService_ != null) { - subBuilder = qualityOfService_.toBuilder(); - } - qualityOfService_ = input.readMessage(flyteidl.core.Execution.QualityOfService.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(qualityOfService_); - qualityOfService_ = subBuilder.buildPartial(); - } - - break; - } - case 144: { - - maxParallelism_ = input.readInt32(); - break; - } - case 154: { - flyteidl.admin.Common.RawOutputDataConfig.Builder subBuilder = null; - if (rawOutputDataConfig_ != null) { - subBuilder = rawOutputDataConfig_.toBuilder(); - } - rawOutputDataConfig_ = input.readMessage(flyteidl.admin.Common.RawOutputDataConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rawOutputDataConfig_); - rawOutputDataConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 162: { - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder subBuilder = null; - if (clusterAssignment_ != null) { - subBuilder = clusterAssignment_.toBuilder(); - } - clusterAssignment_ = input.readMessage(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(clusterAssignment_); - clusterAssignment_ = subBuilder.buildPartial(); - } - - break; - } - case 170: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (interruptible_ != null) { - subBuilder = interruptible_.toBuilder(); - } - interruptible_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interruptible_); - interruptible_ = subBuilder.buildPartial(); - } - - break; - } - case 176: { - - overwriteCache_ = input.readBool(); - break; - } - case 186: { - flyteidl.admin.Common.Envs.Builder subBuilder = null; - if (envs_ != null) { - subBuilder = envs_.toBuilder(); - } - envs_ = input.readMessage(flyteidl.admin.Common.Envs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(envs_); - envs_ = subBuilder.buildPartial(); - } - - break; - } - case 194: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00010000) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00010000; - } - tags_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00010000) != 0)) { - tags_ = tags_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.class, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder.class); - } - - private int bitField0_; - private int notificationOverridesCase_ = 0; - private java.lang.Object notificationOverrides_; - public enum NotificationOverridesCase - implements com.google.protobuf.Internal.EnumLite { - NOTIFICATIONS(5), - DISABLE_ALL(6), - NOTIFICATIONOVERRIDES_NOT_SET(0); - private final int value; - private NotificationOverridesCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static NotificationOverridesCase valueOf(int value) { - return forNumber(value); - } - - public static NotificationOverridesCase forNumber(int value) { - switch (value) { - case 5: return NOTIFICATIONS; - case 6: return DISABLE_ALL; - case 0: return NOTIFICATIONOVERRIDES_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public NotificationOverridesCase - getNotificationOverridesCase() { - return NotificationOverridesCase.forNumber( - notificationOverridesCase_); - } - - public static final int LAUNCH_PLAN_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier launchPlan_; - /** - *
-     * Launch plan to be executed
-     * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public boolean hasLaunchPlan() { - return launchPlan_ != null; - } - /** - *
-     * Launch plan to be executed
-     * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlan() { - return launchPlan_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlan_; - } - /** - *
-     * Launch plan to be executed
-     * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanOrBuilder() { - return getLaunchPlan(); - } - - public static final int INPUTS_FIELD_NUMBER = 2; - private flyteidl.core.Literals.LiteralMap inputs_; - /** - *
-     * Input values to be passed for the execution
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputs_ != null; - } - /** - *
-     * Input values to be passed for the execution
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getInputs() { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - /** - *
-     * Input values to be passed for the execution
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int METADATA_FIELD_NUMBER = 3; - private flyteidl.admin.ExecutionOuterClass.ExecutionMetadata metadata_; - /** - *
-     * Metadata for the execution
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Metadata for the execution
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getMetadata() { - return metadata_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Metadata for the execution
-     * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int NOTIFICATIONS_FIELD_NUMBER = 5; - /** - *
-     * List of notifications based on Execution status transitions
-     * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-     * When this list is empty, the notifications defined for the launch plan will be applied.
-     * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public boolean hasNotifications() { - return notificationOverridesCase_ == 5; - } - /** - *
-     * List of notifications based on Execution status transitions
-     * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-     * When this list is empty, the notifications defined for the launch plan will be applied.
-     * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public flyteidl.admin.ExecutionOuterClass.NotificationList getNotifications() { - if (notificationOverridesCase_ == 5) { - return (flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_; - } - return flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance(); - } - /** - *
-     * List of notifications based on Execution status transitions
-     * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-     * When this list is empty, the notifications defined for the launch plan will be applied.
-     * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public flyteidl.admin.ExecutionOuterClass.NotificationListOrBuilder getNotificationsOrBuilder() { - if (notificationOverridesCase_ == 5) { - return (flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_; - } - return flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance(); - } - - public static final int DISABLE_ALL_FIELD_NUMBER = 6; - /** - *
-     * This should be set to true if all notifications are intended to be disabled for this execution.
-     * 
- * - * bool disable_all = 6; - */ - public boolean getDisableAll() { - if (notificationOverridesCase_ == 6) { - return (java.lang.Boolean) notificationOverrides_; - } - return false; - } - - public static final int LABELS_FIELD_NUMBER = 7; - private flyteidl.admin.Common.Labels labels_; - /** - *
-     * Labels to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public boolean hasLabels() { - return labels_ != null; - } - /** - *
-     * Labels to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public flyteidl.admin.Common.Labels getLabels() { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - /** - *
-     * Labels to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - return getLabels(); - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 8; - private flyteidl.admin.Common.Annotations annotations_; - /** - *
-     * Annotations to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public boolean hasAnnotations() { - return annotations_ != null; - } - /** - *
-     * Annotations to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public flyteidl.admin.Common.Annotations getAnnotations() { - return annotations_ == null ? flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } - /** - *
-     * Annotations to apply to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder() { - return getAnnotations(); - } - - public static final int SECURITY_CONTEXT_FIELD_NUMBER = 10; - private flyteidl.core.Security.SecurityContext securityContext_; - /** - *
-     * Optional: security context override to apply this execution.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public boolean hasSecurityContext() { - return securityContext_ != null; - } - /** - *
-     * Optional: security context override to apply this execution.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - /** - *
-     * Optional: security context override to apply this execution.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - return getSecurityContext(); - } - - public static final int AUTH_ROLE_FIELD_NUMBER = 16; - private flyteidl.admin.Common.AuthRole authRole_; - /** - *
-     * Optional: auth override to apply this execution.
-     * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasAuthRole() { - return authRole_ != null; - } - /** - *
-     * Optional: auth override to apply this execution.
-     * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRole getAuthRole() { - return authRole_ == null ? flyteidl.admin.Common.AuthRole.getDefaultInstance() : authRole_; - } - /** - *
-     * Optional: auth override to apply this execution.
-     * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRoleOrBuilder getAuthRoleOrBuilder() { - return getAuthRole(); - } - - public static final int QUALITY_OF_SERVICE_FIELD_NUMBER = 17; - private flyteidl.core.Execution.QualityOfService qualityOfService_; - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public boolean hasQualityOfService() { - return qualityOfService_ != null; - } - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - return qualityOfService_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - return getQualityOfService(); - } - - public static final int MAX_PARALLELISM_FIELD_NUMBER = 18; - private int maxParallelism_; - /** - *
-     * Controls the maximum number of task nodes that can be run in parallel for the entire workflow.
-     * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-     * and parallelism/concurrency of MapTasks is independent from this.
-     * 
- * - * int32 max_parallelism = 18; - */ - public int getMaxParallelism() { - return maxParallelism_; - } - - public static final int RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER = 19; - private flyteidl.admin.Common.RawOutputDataConfig rawOutputDataConfig_; - /** - *
-     * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-     * This should be a prefix like s3://my-bucket/my-data
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public boolean hasRawOutputDataConfig() { - return rawOutputDataConfig_ != null; - } - /** - *
-     * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-     * This should be a prefix like s3://my-bucket/my-data
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig() { - return rawOutputDataConfig_ == null ? flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } - /** - *
-     * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-     * This should be a prefix like s3://my-bucket/my-data
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder() { - return getRawOutputDataConfig(); - } - - public static final int CLUSTER_ASSIGNMENT_FIELD_NUMBER = 20; - private flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment clusterAssignment_; - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public boolean hasClusterAssignment() { - return clusterAssignment_ != null; - } - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignment() { - return clusterAssignment_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance() : clusterAssignment_; - } - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentOrBuilder() { - return getClusterAssignment(); - } - - public static final int INTERRUPTIBLE_FIELD_NUMBER = 21; - private com.google.protobuf.BoolValue interruptible_; - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public boolean hasInterruptible() { - return interruptible_ != null; - } - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public com.google.protobuf.BoolValue getInterruptible() { - return interruptible_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder() { - return getInterruptible(); - } - - public static final int OVERWRITE_CACHE_FIELD_NUMBER = 22; - private boolean overwriteCache_; - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 22; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - - public static final int ENVS_FIELD_NUMBER = 23; - private flyteidl.admin.Common.Envs envs_; - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public boolean hasEnvs() { - return envs_ != null; - } - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public flyteidl.admin.Common.Envs getEnvs() { - return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { - return getEnvs(); - } - - public static final int TAGS_FIELD_NUMBER = 24; - private com.google.protobuf.LazyStringList tags_; - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_; - } - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - *
-     * Tags to be set for the execution.
-     * 
- * - * repeated string tags = 24; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (launchPlan_ != null) { - output.writeMessage(1, getLaunchPlan()); - } - if (inputs_ != null) { - output.writeMessage(2, getInputs()); - } - if (metadata_ != null) { - output.writeMessage(3, getMetadata()); - } - if (notificationOverridesCase_ == 5) { - output.writeMessage(5, (flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_); - } - if (notificationOverridesCase_ == 6) { - output.writeBool( - 6, (boolean)((java.lang.Boolean) notificationOverrides_)); - } - if (labels_ != null) { - output.writeMessage(7, getLabels()); - } - if (annotations_ != null) { - output.writeMessage(8, getAnnotations()); - } - if (securityContext_ != null) { - output.writeMessage(10, getSecurityContext()); - } - if (authRole_ != null) { - output.writeMessage(16, getAuthRole()); - } - if (qualityOfService_ != null) { - output.writeMessage(17, getQualityOfService()); - } - if (maxParallelism_ != 0) { - output.writeInt32(18, maxParallelism_); - } - if (rawOutputDataConfig_ != null) { - output.writeMessage(19, getRawOutputDataConfig()); - } - if (clusterAssignment_ != null) { - output.writeMessage(20, getClusterAssignment()); - } - if (interruptible_ != null) { - output.writeMessage(21, getInterruptible()); - } - if (overwriteCache_ != false) { - output.writeBool(22, overwriteCache_); - } - if (envs_ != null) { - output.writeMessage(23, getEnvs()); - } - for (int i = 0; i < tags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 24, tags_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (launchPlan_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLaunchPlan()); - } - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInputs()); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMetadata()); - } - if (notificationOverridesCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_); - } - if (notificationOverridesCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 6, (boolean)((java.lang.Boolean) notificationOverrides_)); - } - if (labels_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLabels()); - } - if (annotations_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getAnnotations()); - } - if (securityContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getSecurityContext()); - } - if (authRole_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getAuthRole()); - } - if (qualityOfService_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getQualityOfService()); - } - if (maxParallelism_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(18, maxParallelism_); - } - if (rawOutputDataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getRawOutputDataConfig()); - } - if (clusterAssignment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getClusterAssignment()); - } - if (interruptible_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getInterruptible()); - } - if (overwriteCache_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(22, overwriteCache_); - } - if (envs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getEnvs()); - } - { - int dataSize = 0; - for (int i = 0; i < tags_.size(); i++) { - dataSize += computeStringSizeNoTag(tags_.getRaw(i)); - } - size += dataSize; - size += 2 * getTagsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionSpec)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionSpec other = (flyteidl.admin.ExecutionOuterClass.ExecutionSpec) obj; - - if (hasLaunchPlan() != other.hasLaunchPlan()) return false; - if (hasLaunchPlan()) { - if (!getLaunchPlan() - .equals(other.getLaunchPlan())) return false; - } - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (hasLabels() != other.hasLabels()) return false; - if (hasLabels()) { - if (!getLabels() - .equals(other.getLabels())) return false; - } - if (hasAnnotations() != other.hasAnnotations()) return false; - if (hasAnnotations()) { - if (!getAnnotations() - .equals(other.getAnnotations())) return false; - } - if (hasSecurityContext() != other.hasSecurityContext()) return false; - if (hasSecurityContext()) { - if (!getSecurityContext() - .equals(other.getSecurityContext())) return false; - } - if (hasAuthRole() != other.hasAuthRole()) return false; - if (hasAuthRole()) { - if (!getAuthRole() - .equals(other.getAuthRole())) return false; - } - if (hasQualityOfService() != other.hasQualityOfService()) return false; - if (hasQualityOfService()) { - if (!getQualityOfService() - .equals(other.getQualityOfService())) return false; - } - if (getMaxParallelism() - != other.getMaxParallelism()) return false; - if (hasRawOutputDataConfig() != other.hasRawOutputDataConfig()) return false; - if (hasRawOutputDataConfig()) { - if (!getRawOutputDataConfig() - .equals(other.getRawOutputDataConfig())) return false; - } - if (hasClusterAssignment() != other.hasClusterAssignment()) return false; - if (hasClusterAssignment()) { - if (!getClusterAssignment() - .equals(other.getClusterAssignment())) return false; - } - if (hasInterruptible() != other.hasInterruptible()) return false; - if (hasInterruptible()) { - if (!getInterruptible() - .equals(other.getInterruptible())) return false; - } - if (getOverwriteCache() - != other.getOverwriteCache()) return false; - if (hasEnvs() != other.hasEnvs()) return false; - if (hasEnvs()) { - if (!getEnvs() - .equals(other.getEnvs())) return false; - } - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNotificationOverridesCase().equals(other.getNotificationOverridesCase())) return false; - switch (notificationOverridesCase_) { - case 5: - if (!getNotifications() - .equals(other.getNotifications())) return false; - break; - case 6: - if (getDisableAll() - != other.getDisableAll()) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasLaunchPlan()) { - hash = (37 * hash) + LAUNCH_PLAN_FIELD_NUMBER; - hash = (53 * hash) + getLaunchPlan().hashCode(); - } - if (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (hasLabels()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + getLabels().hashCode(); - } - if (hasAnnotations()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + getAnnotations().hashCode(); - } - if (hasSecurityContext()) { - hash = (37 * hash) + SECURITY_CONTEXT_FIELD_NUMBER; - hash = (53 * hash) + getSecurityContext().hashCode(); - } - if (hasAuthRole()) { - hash = (37 * hash) + AUTH_ROLE_FIELD_NUMBER; - hash = (53 * hash) + getAuthRole().hashCode(); - } - if (hasQualityOfService()) { - hash = (37 * hash) + QUALITY_OF_SERVICE_FIELD_NUMBER; - hash = (53 * hash) + getQualityOfService().hashCode(); - } - hash = (37 * hash) + MAX_PARALLELISM_FIELD_NUMBER; - hash = (53 * hash) + getMaxParallelism(); - if (hasRawOutputDataConfig()) { - hash = (37 * hash) + RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getRawOutputDataConfig().hashCode(); - } - if (hasClusterAssignment()) { - hash = (37 * hash) + CLUSTER_ASSIGNMENT_FIELD_NUMBER; - hash = (53 * hash) + getClusterAssignment().hashCode(); - } - if (hasInterruptible()) { - hash = (37 * hash) + INTERRUPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + getInterruptible().hashCode(); - } - hash = (37 * hash) + OVERWRITE_CACHE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOverwriteCache()); - if (hasEnvs()) { - hash = (37 * hash) + ENVS_FIELD_NUMBER; - hash = (53 * hash) + getEnvs().hashCode(); - } - if (getTagsCount() > 0) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + getTagsList().hashCode(); - } - switch (notificationOverridesCase_) { - case 5: - hash = (37 * hash) + NOTIFICATIONS_FIELD_NUMBER; - hash = (53 * hash) + getNotifications().hashCode(); - break; - case 6: - hash = (37 * hash) + DISABLE_ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableAll()); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionSpec 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; - } - /** - *
-     * An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime
-     * of an execution as it progresses across phase changes.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionSpec) - flyteidl.admin.ExecutionOuterClass.ExecutionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionSpec.class, flyteidl.admin.ExecutionOuterClass.ExecutionSpec.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionSpec.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 (launchPlanBuilder_ == null) { - launchPlan_ = null; - } else { - launchPlan_ = null; - launchPlanBuilder_ = null; - } - if (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (labelsBuilder_ == null) { - labels_ = null; - } else { - labels_ = null; - labelsBuilder_ = null; - } - if (annotationsBuilder_ == null) { - annotations_ = null; - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - if (securityContextBuilder_ == null) { - securityContext_ = null; - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - if (authRoleBuilder_ == null) { - authRole_ = null; - } else { - authRole_ = null; - authRoleBuilder_ = null; - } - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = null; - } else { - qualityOfService_ = null; - qualityOfServiceBuilder_ = null; - } - maxParallelism_ = 0; - - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = null; - } else { - rawOutputDataConfig_ = null; - rawOutputDataConfigBuilder_ = null; - } - if (clusterAssignmentBuilder_ == null) { - clusterAssignment_ = null; - } else { - clusterAssignment_ = null; - clusterAssignmentBuilder_ = null; - } - if (interruptibleBuilder_ == null) { - interruptible_ = null; - } else { - interruptible_ = null; - interruptibleBuilder_ = null; - } - overwriteCache_ = false; - - if (envsBuilder_ == null) { - envs_ = null; - } else { - envs_ = null; - envsBuilder_ = null; - } - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); - notificationOverridesCase_ = 0; - notificationOverrides_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionSpec_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec build() { - flyteidl.admin.ExecutionOuterClass.ExecutionSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionSpec result = new flyteidl.admin.ExecutionOuterClass.ExecutionSpec(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (launchPlanBuilder_ == null) { - result.launchPlan_ = launchPlan_; - } else { - result.launchPlan_ = launchPlanBuilder_.build(); - } - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (notificationOverridesCase_ == 5) { - if (notificationsBuilder_ == null) { - result.notificationOverrides_ = notificationOverrides_; - } else { - result.notificationOverrides_ = notificationsBuilder_.build(); - } - } - if (notificationOverridesCase_ == 6) { - result.notificationOverrides_ = notificationOverrides_; - } - if (labelsBuilder_ == null) { - result.labels_ = labels_; - } else { - result.labels_ = labelsBuilder_.build(); - } - if (annotationsBuilder_ == null) { - result.annotations_ = annotations_; - } else { - result.annotations_ = annotationsBuilder_.build(); - } - if (securityContextBuilder_ == null) { - result.securityContext_ = securityContext_; - } else { - result.securityContext_ = securityContextBuilder_.build(); - } - if (authRoleBuilder_ == null) { - result.authRole_ = authRole_; - } else { - result.authRole_ = authRoleBuilder_.build(); - } - if (qualityOfServiceBuilder_ == null) { - result.qualityOfService_ = qualityOfService_; - } else { - result.qualityOfService_ = qualityOfServiceBuilder_.build(); - } - result.maxParallelism_ = maxParallelism_; - if (rawOutputDataConfigBuilder_ == null) { - result.rawOutputDataConfig_ = rawOutputDataConfig_; - } else { - result.rawOutputDataConfig_ = rawOutputDataConfigBuilder_.build(); - } - if (clusterAssignmentBuilder_ == null) { - result.clusterAssignment_ = clusterAssignment_; - } else { - result.clusterAssignment_ = clusterAssignmentBuilder_.build(); - } - if (interruptibleBuilder_ == null) { - result.interruptible_ = interruptible_; - } else { - result.interruptible_ = interruptibleBuilder_.build(); - } - result.overwriteCache_ = overwriteCache_; - if (envsBuilder_ == null) { - result.envs_ = envs_; - } else { - result.envs_ = envsBuilder_.build(); - } - if (((bitField0_ & 0x00010000) != 0)) { - tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00010000); - } - result.tags_ = tags_; - result.bitField0_ = to_bitField0_; - result.notificationOverridesCase_ = notificationOverridesCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionSpec) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionSpec other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionSpec.getDefaultInstance()) return this; - if (other.hasLaunchPlan()) { - mergeLaunchPlan(other.getLaunchPlan()); - } - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.hasLabels()) { - mergeLabels(other.getLabels()); - } - if (other.hasAnnotations()) { - mergeAnnotations(other.getAnnotations()); - } - if (other.hasSecurityContext()) { - mergeSecurityContext(other.getSecurityContext()); - } - if (other.hasAuthRole()) { - mergeAuthRole(other.getAuthRole()); - } - if (other.hasQualityOfService()) { - mergeQualityOfService(other.getQualityOfService()); - } - if (other.getMaxParallelism() != 0) { - setMaxParallelism(other.getMaxParallelism()); - } - if (other.hasRawOutputDataConfig()) { - mergeRawOutputDataConfig(other.getRawOutputDataConfig()); - } - if (other.hasClusterAssignment()) { - mergeClusterAssignment(other.getClusterAssignment()); - } - if (other.hasInterruptible()) { - mergeInterruptible(other.getInterruptible()); - } - if (other.getOverwriteCache() != false) { - setOverwriteCache(other.getOverwriteCache()); - } - if (other.hasEnvs()) { - mergeEnvs(other.getEnvs()); - } - if (!other.tags_.isEmpty()) { - if (tags_.isEmpty()) { - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00010000); - } else { - ensureTagsIsMutable(); - tags_.addAll(other.tags_); - } - onChanged(); - } - switch (other.getNotificationOverridesCase()) { - case NOTIFICATIONS: { - mergeNotifications(other.getNotifications()); - break; - } - case DISABLE_ALL: { - setDisableAll(other.getDisableAll()); - break; - } - case NOTIFICATIONOVERRIDES_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int notificationOverridesCase_ = 0; - private java.lang.Object notificationOverrides_; - public NotificationOverridesCase - getNotificationOverridesCase() { - return NotificationOverridesCase.forNumber( - notificationOverridesCase_); - } - - public Builder clearNotificationOverrides() { - notificationOverridesCase_ = 0; - notificationOverrides_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private flyteidl.core.IdentifierOuterClass.Identifier launchPlan_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> launchPlanBuilder_; - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public boolean hasLaunchPlan() { - return launchPlanBuilder_ != null || launchPlan_ != null; - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlan() { - if (launchPlanBuilder_ == null) { - return launchPlan_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlan_; - } else { - return launchPlanBuilder_.getMessage(); - } - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public Builder setLaunchPlan(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - launchPlan_ = value; - onChanged(); - } else { - launchPlanBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public Builder setLaunchPlan( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (launchPlanBuilder_ == null) { - launchPlan_ = builderForValue.build(); - onChanged(); - } else { - launchPlanBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public Builder mergeLaunchPlan(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanBuilder_ == null) { - if (launchPlan_ != null) { - launchPlan_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(launchPlan_).mergeFrom(value).buildPartial(); - } else { - launchPlan_ = value; - } - onChanged(); - } else { - launchPlanBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public Builder clearLaunchPlan() { - if (launchPlanBuilder_ == null) { - launchPlan_ = null; - onChanged(); - } else { - launchPlan_ = null; - launchPlanBuilder_ = null; - } - - return this; - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanBuilder() { - - onChanged(); - return getLaunchPlanFieldBuilder().getBuilder(); - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanOrBuilder() { - if (launchPlanBuilder_ != null) { - return launchPlanBuilder_.getMessageOrBuilder(); - } else { - return launchPlan_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlan_; - } - } - /** - *
-       * Launch plan to be executed
-       * 
- * - * .flyteidl.core.Identifier launch_plan = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getLaunchPlanFieldBuilder() { - if (launchPlanBuilder_ == null) { - launchPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getLaunchPlan(), - getParentForChildren(), - isClean()); - launchPlan_ = null; - } - return launchPlanBuilder_; - } - - private flyteidl.core.Literals.LiteralMap inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputsBuilder_; - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - } - /** - *
-       * Input values to be passed for the execution
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 2 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private flyteidl.admin.ExecutionOuterClass.ExecutionMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder setMetadata(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder setMetadata( - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder mergeMetadata(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Metadata for the execution
-       * 
- * - * .flyteidl.admin.ExecutionMetadata metadata = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.ExecutionMetadata, flyteidl.admin.ExecutionOuterClass.ExecutionMetadata.Builder, flyteidl.admin.ExecutionOuterClass.ExecutionMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.NotificationList, flyteidl.admin.ExecutionOuterClass.NotificationList.Builder, flyteidl.admin.ExecutionOuterClass.NotificationListOrBuilder> notificationsBuilder_; - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public boolean hasNotifications() { - return notificationOverridesCase_ == 5; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public flyteidl.admin.ExecutionOuterClass.NotificationList getNotifications() { - if (notificationsBuilder_ == null) { - if (notificationOverridesCase_ == 5) { - return (flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_; - } - return flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance(); - } else { - if (notificationOverridesCase_ == 5) { - return notificationsBuilder_.getMessage(); - } - return flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance(); - } - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public Builder setNotifications(flyteidl.admin.ExecutionOuterClass.NotificationList value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - notificationOverrides_ = value; - onChanged(); - } else { - notificationsBuilder_.setMessage(value); - } - notificationOverridesCase_ = 5; - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public Builder setNotifications( - flyteidl.admin.ExecutionOuterClass.NotificationList.Builder builderForValue) { - if (notificationsBuilder_ == null) { - notificationOverrides_ = builderForValue.build(); - onChanged(); - } else { - notificationsBuilder_.setMessage(builderForValue.build()); - } - notificationOverridesCase_ = 5; - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public Builder mergeNotifications(flyteidl.admin.ExecutionOuterClass.NotificationList value) { - if (notificationsBuilder_ == null) { - if (notificationOverridesCase_ == 5 && - notificationOverrides_ != flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance()) { - notificationOverrides_ = flyteidl.admin.ExecutionOuterClass.NotificationList.newBuilder((flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_) - .mergeFrom(value).buildPartial(); - } else { - notificationOverrides_ = value; - } - onChanged(); - } else { - if (notificationOverridesCase_ == 5) { - notificationsBuilder_.mergeFrom(value); - } - notificationsBuilder_.setMessage(value); - } - notificationOverridesCase_ = 5; - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public Builder clearNotifications() { - if (notificationsBuilder_ == null) { - if (notificationOverridesCase_ == 5) { - notificationOverridesCase_ = 0; - notificationOverrides_ = null; - onChanged(); - } - } else { - if (notificationOverridesCase_ == 5) { - notificationOverridesCase_ = 0; - notificationOverrides_ = null; - } - notificationsBuilder_.clear(); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public flyteidl.admin.ExecutionOuterClass.NotificationList.Builder getNotificationsBuilder() { - return getNotificationsFieldBuilder().getBuilder(); - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - public flyteidl.admin.ExecutionOuterClass.NotificationListOrBuilder getNotificationsOrBuilder() { - if ((notificationOverridesCase_ == 5) && (notificationsBuilder_ != null)) { - return notificationsBuilder_.getMessageOrBuilder(); - } else { - if (notificationOverridesCase_ == 5) { - return (flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_; - } - return flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance(); - } - } - /** - *
-       * List of notifications based on Execution status transitions
-       * When this list is not empty it is used rather than any notifications defined in the referenced launch plan.
-       * When this list is empty, the notifications defined for the launch plan will be applied.
-       * 
- * - * .flyteidl.admin.NotificationList notifications = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.NotificationList, flyteidl.admin.ExecutionOuterClass.NotificationList.Builder, flyteidl.admin.ExecutionOuterClass.NotificationListOrBuilder> - getNotificationsFieldBuilder() { - if (notificationsBuilder_ == null) { - if (!(notificationOverridesCase_ == 5)) { - notificationOverrides_ = flyteidl.admin.ExecutionOuterClass.NotificationList.getDefaultInstance(); - } - notificationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ExecutionOuterClass.NotificationList, flyteidl.admin.ExecutionOuterClass.NotificationList.Builder, flyteidl.admin.ExecutionOuterClass.NotificationListOrBuilder>( - (flyteidl.admin.ExecutionOuterClass.NotificationList) notificationOverrides_, - getParentForChildren(), - isClean()); - notificationOverrides_ = null; - } - notificationOverridesCase_ = 5; - onChanged();; - return notificationsBuilder_; - } - - /** - *
-       * This should be set to true if all notifications are intended to be disabled for this execution.
-       * 
- * - * bool disable_all = 6; - */ - public boolean getDisableAll() { - if (notificationOverridesCase_ == 6) { - return (java.lang.Boolean) notificationOverrides_; - } - return false; - } - /** - *
-       * This should be set to true if all notifications are intended to be disabled for this execution.
-       * 
- * - * bool disable_all = 6; - */ - public Builder setDisableAll(boolean value) { - notificationOverridesCase_ = 6; - notificationOverrides_ = value; - onChanged(); - return this; - } - /** - *
-       * This should be set to true if all notifications are intended to be disabled for this execution.
-       * 
- * - * bool disable_all = 6; - */ - public Builder clearDisableAll() { - if (notificationOverridesCase_ == 6) { - notificationOverridesCase_ = 0; - notificationOverrides_ = null; - onChanged(); - } - return this; - } - - private flyteidl.admin.Common.Labels labels_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> labelsBuilder_; - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public boolean hasLabels() { - return labelsBuilder_ != null || labels_ != null; - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public flyteidl.admin.Common.Labels getLabels() { - if (labelsBuilder_ == null) { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } else { - return labelsBuilder_.getMessage(); - } - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public Builder setLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - labels_ = value; - onChanged(); - } else { - labelsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public Builder setLabels( - flyteidl.admin.Common.Labels.Builder builderForValue) { - if (labelsBuilder_ == null) { - labels_ = builderForValue.build(); - onChanged(); - } else { - labelsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public Builder mergeLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (labels_ != null) { - labels_ = - flyteidl.admin.Common.Labels.newBuilder(labels_).mergeFrom(value).buildPartial(); - } else { - labels_ = value; - } - onChanged(); - } else { - labelsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public Builder clearLabels() { - if (labelsBuilder_ == null) { - labels_ = null; - onChanged(); - } else { - labels_ = null; - labelsBuilder_ = null; - } - - return this; - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public flyteidl.admin.Common.Labels.Builder getLabelsBuilder() { - - onChanged(); - return getLabelsFieldBuilder().getBuilder(); - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - if (labelsBuilder_ != null) { - return labelsBuilder_.getMessageOrBuilder(); - } else { - return labels_ == null ? - flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - } - /** - *
-       * Labels to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> - getLabelsFieldBuilder() { - if (labelsBuilder_ == null) { - labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder>( - getLabels(), - getParentForChildren(), - isClean()); - labels_ = null; - } - return labelsBuilder_; - } - - private flyteidl.admin.Common.Annotations annotations_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder> annotationsBuilder_; - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public boolean hasAnnotations() { - return annotationsBuilder_ != null || annotations_ != null; - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public flyteidl.admin.Common.Annotations getAnnotations() { - if (annotationsBuilder_ == null) { - return annotations_ == null ? flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } else { - return annotationsBuilder_.getMessage(); - } - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public Builder setAnnotations(flyteidl.admin.Common.Annotations value) { - if (annotationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - annotations_ = value; - onChanged(); - } else { - annotationsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public Builder setAnnotations( - flyteidl.admin.Common.Annotations.Builder builderForValue) { - if (annotationsBuilder_ == null) { - annotations_ = builderForValue.build(); - onChanged(); - } else { - annotationsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public Builder mergeAnnotations(flyteidl.admin.Common.Annotations value) { - if (annotationsBuilder_ == null) { - if (annotations_ != null) { - annotations_ = - flyteidl.admin.Common.Annotations.newBuilder(annotations_).mergeFrom(value).buildPartial(); - } else { - annotations_ = value; - } - onChanged(); - } else { - annotationsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public Builder clearAnnotations() { - if (annotationsBuilder_ == null) { - annotations_ = null; - onChanged(); - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - - return this; - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public flyteidl.admin.Common.Annotations.Builder getAnnotationsBuilder() { - - onChanged(); - return getAnnotationsFieldBuilder().getBuilder(); - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - public flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder() { - if (annotationsBuilder_ != null) { - return annotationsBuilder_.getMessageOrBuilder(); - } else { - return annotations_ == null ? - flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } - } - /** - *
-       * Annotations to apply to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder> - getAnnotationsFieldBuilder() { - if (annotationsBuilder_ == null) { - annotationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder>( - getAnnotations(), - getParentForChildren(), - isClean()); - annotations_ = null; - } - return annotationsBuilder_; - } - - private flyteidl.core.Security.SecurityContext securityContext_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> securityContextBuilder_; - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public boolean hasSecurityContext() { - return securityContextBuilder_ != null || securityContext_ != null; - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - if (securityContextBuilder_ == null) { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } else { - return securityContextBuilder_.getMessage(); - } - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder setSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - securityContext_ = value; - onChanged(); - } else { - securityContextBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder setSecurityContext( - flyteidl.core.Security.SecurityContext.Builder builderForValue) { - if (securityContextBuilder_ == null) { - securityContext_ = builderForValue.build(); - onChanged(); - } else { - securityContextBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder mergeSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (securityContext_ != null) { - securityContext_ = - flyteidl.core.Security.SecurityContext.newBuilder(securityContext_).mergeFrom(value).buildPartial(); - } else { - securityContext_ = value; - } - onChanged(); - } else { - securityContextBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder clearSecurityContext() { - if (securityContextBuilder_ == null) { - securityContext_ = null; - onChanged(); - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - - return this; - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContext.Builder getSecurityContextBuilder() { - - onChanged(); - return getSecurityContextFieldBuilder().getBuilder(); - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - if (securityContextBuilder_ != null) { - return securityContextBuilder_.getMessageOrBuilder(); - } else { - return securityContext_ == null ? - flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - } - /** - *
-       * Optional: security context override to apply this execution.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> - getSecurityContextFieldBuilder() { - if (securityContextBuilder_ == null) { - securityContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder>( - getSecurityContext(), - getParentForChildren(), - isClean()); - securityContext_ = null; - } - return securityContextBuilder_; - } - - private flyteidl.admin.Common.AuthRole authRole_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.AuthRole, flyteidl.admin.Common.AuthRole.Builder, flyteidl.admin.Common.AuthRoleOrBuilder> authRoleBuilder_; - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasAuthRole() { - return authRoleBuilder_ != null || authRole_ != null; - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRole getAuthRole() { - if (authRoleBuilder_ == null) { - return authRole_ == null ? flyteidl.admin.Common.AuthRole.getDefaultInstance() : authRole_; - } else { - return authRoleBuilder_.getMessage(); - } - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAuthRole(flyteidl.admin.Common.AuthRole value) { - if (authRoleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - authRole_ = value; - onChanged(); - } else { - authRoleBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAuthRole( - flyteidl.admin.Common.AuthRole.Builder builderForValue) { - if (authRoleBuilder_ == null) { - authRole_ = builderForValue.build(); - onChanged(); - } else { - authRoleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeAuthRole(flyteidl.admin.Common.AuthRole value) { - if (authRoleBuilder_ == null) { - if (authRole_ != null) { - authRole_ = - flyteidl.admin.Common.AuthRole.newBuilder(authRole_).mergeFrom(value).buildPartial(); - } else { - authRole_ = value; - } - onChanged(); - } else { - authRoleBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearAuthRole() { - if (authRoleBuilder_ == null) { - authRole_ = null; - onChanged(); - } else { - authRole_ = null; - authRoleBuilder_ = null; - } - - return this; - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRole.Builder getAuthRoleBuilder() { - - onChanged(); - return getAuthRoleFieldBuilder().getBuilder(); - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRoleOrBuilder getAuthRoleOrBuilder() { - if (authRoleBuilder_ != null) { - return authRoleBuilder_.getMessageOrBuilder(); - } else { - return authRole_ == null ? - flyteidl.admin.Common.AuthRole.getDefaultInstance() : authRole_; - } - } - /** - *
-       * Optional: auth override to apply this execution.
-       * 
- * - * .flyteidl.admin.AuthRole auth_role = 16 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.AuthRole, flyteidl.admin.Common.AuthRole.Builder, flyteidl.admin.Common.AuthRoleOrBuilder> - getAuthRoleFieldBuilder() { - if (authRoleBuilder_ == null) { - authRoleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.AuthRole, flyteidl.admin.Common.AuthRole.Builder, flyteidl.admin.Common.AuthRoleOrBuilder>( - getAuthRole(), - getParentForChildren(), - isClean()); - authRole_ = null; - } - return authRoleBuilder_; - } - - private flyteidl.core.Execution.QualityOfService qualityOfService_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> qualityOfServiceBuilder_; - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public boolean hasQualityOfService() { - return qualityOfServiceBuilder_ != null || qualityOfService_ != null; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - return qualityOfService_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } else { - return qualityOfServiceBuilder_.getMessage(); - } - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public Builder setQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - qualityOfService_ = value; - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public Builder setQualityOfService( - flyteidl.core.Execution.QualityOfService.Builder builderForValue) { - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = builderForValue.build(); - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public Builder mergeQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (qualityOfService_ != null) { - qualityOfService_ = - flyteidl.core.Execution.QualityOfService.newBuilder(qualityOfService_).mergeFrom(value).buildPartial(); - } else { - qualityOfService_ = value; - } - onChanged(); - } else { - qualityOfServiceBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public Builder clearQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = null; - onChanged(); - } else { - qualityOfService_ = null; - qualityOfServiceBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public flyteidl.core.Execution.QualityOfService.Builder getQualityOfServiceBuilder() { - - onChanged(); - return getQualityOfServiceFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - if (qualityOfServiceBuilder_ != null) { - return qualityOfServiceBuilder_.getMessageOrBuilder(); - } else { - return qualityOfService_ == null ? - flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 17; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> - getQualityOfServiceFieldBuilder() { - if (qualityOfServiceBuilder_ == null) { - qualityOfServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder>( - getQualityOfService(), - getParentForChildren(), - isClean()); - qualityOfService_ = null; - } - return qualityOfServiceBuilder_; - } - - private int maxParallelism_ ; - /** - *
-       * Controls the maximum number of task nodes that can be run in parallel for the entire workflow.
-       * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-       * and parallelism/concurrency of MapTasks is independent from this.
-       * 
- * - * int32 max_parallelism = 18; - */ - public int getMaxParallelism() { - return maxParallelism_; - } - /** - *
-       * Controls the maximum number of task nodes that can be run in parallel for the entire workflow.
-       * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-       * and parallelism/concurrency of MapTasks is independent from this.
-       * 
- * - * int32 max_parallelism = 18; - */ - public Builder setMaxParallelism(int value) { - - maxParallelism_ = value; - onChanged(); - return this; - } - /** - *
-       * Controls the maximum number of task nodes that can be run in parallel for the entire workflow.
-       * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-       * and parallelism/concurrency of MapTasks is independent from this.
-       * 
- * - * int32 max_parallelism = 18; - */ - public Builder clearMaxParallelism() { - - maxParallelism_ = 0; - onChanged(); - return this; - } - - private flyteidl.admin.Common.RawOutputDataConfig rawOutputDataConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder> rawOutputDataConfigBuilder_; - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public boolean hasRawOutputDataConfig() { - return rawOutputDataConfigBuilder_ != null || rawOutputDataConfig_ != null; - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig() { - if (rawOutputDataConfigBuilder_ == null) { - return rawOutputDataConfig_ == null ? flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } else { - return rawOutputDataConfigBuilder_.getMessage(); - } - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public Builder setRawOutputDataConfig(flyteidl.admin.Common.RawOutputDataConfig value) { - if (rawOutputDataConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rawOutputDataConfig_ = value; - onChanged(); - } else { - rawOutputDataConfigBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public Builder setRawOutputDataConfig( - flyteidl.admin.Common.RawOutputDataConfig.Builder builderForValue) { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = builderForValue.build(); - onChanged(); - } else { - rawOutputDataConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public Builder mergeRawOutputDataConfig(flyteidl.admin.Common.RawOutputDataConfig value) { - if (rawOutputDataConfigBuilder_ == null) { - if (rawOutputDataConfig_ != null) { - rawOutputDataConfig_ = - flyteidl.admin.Common.RawOutputDataConfig.newBuilder(rawOutputDataConfig_).mergeFrom(value).buildPartial(); - } else { - rawOutputDataConfig_ = value; - } - onChanged(); - } else { - rawOutputDataConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public Builder clearRawOutputDataConfig() { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = null; - onChanged(); - } else { - rawOutputDataConfig_ = null; - rawOutputDataConfigBuilder_ = null; - } - - return this; - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public flyteidl.admin.Common.RawOutputDataConfig.Builder getRawOutputDataConfigBuilder() { - - onChanged(); - return getRawOutputDataConfigFieldBuilder().getBuilder(); - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - public flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder() { - if (rawOutputDataConfigBuilder_ != null) { - return rawOutputDataConfigBuilder_.getMessageOrBuilder(); - } else { - return rawOutputDataConfig_ == null ? - flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } - } - /** - *
-       * User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.).
-       * This should be a prefix like s3://my-bucket/my-data
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 19; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder> - getRawOutputDataConfigFieldBuilder() { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder>( - getRawOutputDataConfig(), - getParentForChildren(), - isClean()); - rawOutputDataConfig_ = null; - } - return rawOutputDataConfigBuilder_; - } - - private flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment clusterAssignment_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder> clusterAssignmentBuilder_; - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public boolean hasClusterAssignment() { - return clusterAssignmentBuilder_ != null || clusterAssignment_ != null; - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignment() { - if (clusterAssignmentBuilder_ == null) { - return clusterAssignment_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance() : clusterAssignment_; - } else { - return clusterAssignmentBuilder_.getMessage(); - } - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public Builder setClusterAssignment(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment value) { - if (clusterAssignmentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - clusterAssignment_ = value; - onChanged(); - } else { - clusterAssignmentBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public Builder setClusterAssignment( - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder builderForValue) { - if (clusterAssignmentBuilder_ == null) { - clusterAssignment_ = builderForValue.build(); - onChanged(); - } else { - clusterAssignmentBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public Builder mergeClusterAssignment(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment value) { - if (clusterAssignmentBuilder_ == null) { - if (clusterAssignment_ != null) { - clusterAssignment_ = - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.newBuilder(clusterAssignment_).mergeFrom(value).buildPartial(); - } else { - clusterAssignment_ = value; - } - onChanged(); - } else { - clusterAssignmentBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public Builder clearClusterAssignment() { - if (clusterAssignmentBuilder_ == null) { - clusterAssignment_ = null; - onChanged(); - } else { - clusterAssignment_ = null; - clusterAssignmentBuilder_ = null; - } - - return this; - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder getClusterAssignmentBuilder() { - - onChanged(); - return getClusterAssignmentFieldBuilder().getBuilder(); - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentOrBuilder() { - if (clusterAssignmentBuilder_ != null) { - return clusterAssignmentBuilder_.getMessageOrBuilder(); - } else { - return clusterAssignment_ == null ? - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance() : clusterAssignment_; - } - } - /** - *
-       * Controls how to select an available cluster on which this execution should run.
-       * 
- * - * .flyteidl.admin.ClusterAssignment cluster_assignment = 20; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder> - getClusterAssignmentFieldBuilder() { - if (clusterAssignmentBuilder_ == null) { - clusterAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder>( - getClusterAssignment(), - getParentForChildren(), - isClean()); - clusterAssignment_ = null; - } - return clusterAssignmentBuilder_; - } - - private com.google.protobuf.BoolValue interruptible_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> interruptibleBuilder_; - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public boolean hasInterruptible() { - return interruptibleBuilder_ != null || interruptible_ != null; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public com.google.protobuf.BoolValue getInterruptible() { - if (interruptibleBuilder_ == null) { - return interruptible_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } else { - return interruptibleBuilder_.getMessage(); - } - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public Builder setInterruptible(com.google.protobuf.BoolValue value) { - if (interruptibleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - interruptible_ = value; - onChanged(); - } else { - interruptibleBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public Builder setInterruptible( - com.google.protobuf.BoolValue.Builder builderForValue) { - if (interruptibleBuilder_ == null) { - interruptible_ = builderForValue.build(); - onChanged(); - } else { - interruptibleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public Builder mergeInterruptible(com.google.protobuf.BoolValue value) { - if (interruptibleBuilder_ == null) { - if (interruptible_ != null) { - interruptible_ = - com.google.protobuf.BoolValue.newBuilder(interruptible_).mergeFrom(value).buildPartial(); - } else { - interruptible_ = value; - } - onChanged(); - } else { - interruptibleBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public Builder clearInterruptible() { - if (interruptibleBuilder_ == null) { - interruptible_ = null; - onChanged(); - } else { - interruptible_ = null; - interruptibleBuilder_ = null; - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public com.google.protobuf.BoolValue.Builder getInterruptibleBuilder() { - - onChanged(); - return getInterruptibleFieldBuilder().getBuilder(); - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - public com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder() { - if (interruptibleBuilder_ != null) { - return interruptibleBuilder_.getMessageOrBuilder(); - } else { - return interruptible_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 21; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> - getInterruptibleFieldBuilder() { - if (interruptibleBuilder_ == null) { - interruptibleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( - getInterruptible(), - getParentForChildren(), - isClean()); - interruptible_ = null; - } - return interruptibleBuilder_; - } - - private boolean overwriteCache_ ; - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 22; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 22; - */ - public Builder setOverwriteCache(boolean value) { - - overwriteCache_ = value; - onChanged(); - return this; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 22; - */ - public Builder clearOverwriteCache() { - - overwriteCache_ = false; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Envs envs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> envsBuilder_; - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public boolean hasEnvs() { - return envsBuilder_ != null || envs_ != null; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public flyteidl.admin.Common.Envs getEnvs() { - if (envsBuilder_ == null) { - return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } else { - return envsBuilder_.getMessage(); - } - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public Builder setEnvs(flyteidl.admin.Common.Envs value) { - if (envsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - envs_ = value; - onChanged(); - } else { - envsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public Builder setEnvs( - flyteidl.admin.Common.Envs.Builder builderForValue) { - if (envsBuilder_ == null) { - envs_ = builderForValue.build(); - onChanged(); - } else { - envsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public Builder mergeEnvs(flyteidl.admin.Common.Envs value) { - if (envsBuilder_ == null) { - if (envs_ != null) { - envs_ = - flyteidl.admin.Common.Envs.newBuilder(envs_).mergeFrom(value).buildPartial(); - } else { - envs_ = value; - } - onChanged(); - } else { - envsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public Builder clearEnvs() { - if (envsBuilder_ == null) { - envs_ = null; - onChanged(); - } else { - envs_ = null; - envsBuilder_ = null; - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public flyteidl.admin.Common.Envs.Builder getEnvsBuilder() { - - onChanged(); - return getEnvsFieldBuilder().getBuilder(); - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { - if (envsBuilder_ != null) { - return envsBuilder_.getMessageOrBuilder(); - } else { - return envs_ == null ? - flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 23; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> - getEnvsFieldBuilder() { - if (envsBuilder_ == null) { - envsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder>( - getEnvs(), - getParentForChildren(), - isClean()); - envs_ = null; - } - return envsBuilder_; - } - - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00010000) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00010000; - } - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_.getUnmodifiableView(); - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public Builder setTags( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public Builder addTags( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public Builder addAllTags( - java.lang.Iterable values) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); - onChanged(); - return this; - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public Builder clearTags() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); - onChanged(); - return this; - } - /** - *
-       * Tags to be set for the execution.
-       * 
- * - * repeated string tags = 24; - */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionSpec) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionSpec(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionSpec(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionTerminateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionTerminateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Uniquely identifies the individual workflow execution to be terminated.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Uniquely identifies the individual workflow execution to be terminated.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * Uniquely identifies the individual workflow execution to be terminated.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Optional reason for aborting.
-     * 
- * - * string cause = 2; - */ - java.lang.String getCause(); - /** - *
-     * Optional reason for aborting.
-     * 
- * - * string cause = 2; - */ - com.google.protobuf.ByteString - getCauseBytes(); - } - /** - *
-   * Request to terminate an in-progress execution.  This action is irreversible.
-   * If an execution is already terminated, this request will simply be a no-op.
-   * This request will fail if it references a non-existent execution.
-   * If the request succeeds the phase "ABORTED" will be recorded for the termination
-   * with the optional cause added to the output_result.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionTerminateRequest} - */ - public static final class ExecutionTerminateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionTerminateRequest) - ExecutionTerminateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionTerminateRequest.newBuilder() to construct. - private ExecutionTerminateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionTerminateRequest() { - cause_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionTerminateRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - cause_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * Uniquely identifies the individual workflow execution to be terminated.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Uniquely identifies the individual workflow execution to be terminated.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Uniquely identifies the individual workflow execution to be terminated.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int CAUSE_FIELD_NUMBER = 2; - private volatile java.lang.Object cause_; - /** - *
-     * Optional reason for aborting.
-     * 
- * - * string cause = 2; - */ - public java.lang.String getCause() { - java.lang.Object ref = cause_; - 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(); - cause_ = s; - return s; - } - } - /** - *
-     * Optional reason for aborting.
-     * 
- * - * string cause = 2; - */ - public com.google.protobuf.ByteString - getCauseBytes() { - java.lang.Object ref = cause_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cause_ = 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getCauseBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cause_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getCauseBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest other = (flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getCause() - .equals(other.getCause())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + CAUSE_FIELD_NUMBER; - hash = (53 * hash) + getCause().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest 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 to terminate an in-progress execution.  This action is irreversible.
-     * If an execution is already terminated, this request will simply be a no-op.
-     * This request will fail if it references a non-existent execution.
-     * If the request succeeds the phase "ABORTED" will be recorded for the termination
-     * with the optional cause added to the output_result.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionTerminateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionTerminateRequest) - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - cause_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest build() { - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest result = new flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.cause_ = cause_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getCause().isEmpty()) { - cause_ = other.cause_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Uniquely identifies the individual workflow execution to be terminated.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object cause_ = ""; - /** - *
-       * Optional reason for aborting.
-       * 
- * - * string cause = 2; - */ - public java.lang.String getCause() { - java.lang.Object ref = cause_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - cause_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional reason for aborting.
-       * 
- * - * string cause = 2; - */ - public com.google.protobuf.ByteString - getCauseBytes() { - java.lang.Object ref = cause_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cause_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional reason for aborting.
-       * 
- * - * string cause = 2; - */ - public Builder setCause( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - cause_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional reason for aborting.
-       * 
- * - * string cause = 2; - */ - public Builder clearCause() { - - cause_ = getDefaultInstance().getCause(); - onChanged(); - return this; - } - /** - *
-       * Optional reason for aborting.
-       * 
- * - * string cause = 2; - */ - public Builder setCauseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - cause_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionTerminateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionTerminateRequest) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionTerminateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionTerminateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionTerminateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionTerminateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionTerminateResponse} - */ - public static final class ExecutionTerminateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionTerminateResponse) - ExecutionTerminateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionTerminateResponse.newBuilder() to construct. - private ExecutionTerminateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionTerminateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionTerminateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse.class, flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse other = (flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ExecutionTerminateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionTerminateResponse) - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse.class, flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse build() { - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse result = new flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionTerminateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionTerminateResponse) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionTerminateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionTerminateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionTerminateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionGetDataRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionGetDataRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The identifier of the execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * The identifier of the execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * The identifier of the execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * Request structure to fetch inputs, output and other data produced by an execution.
-   * By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetDataRequest} - */ - public static final class WorkflowExecutionGetDataRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionGetDataRequest) - WorkflowExecutionGetDataRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionGetDataRequest.newBuilder() to construct. - private WorkflowExecutionGetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionGetDataRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionGetDataRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * The identifier of the execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * The identifier of the execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * The identifier of the execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest other = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest 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 structure to fetch inputs, output and other data produced by an execution.
-     * By default this data is not returned inline in :ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetDataRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionGetDataRequest) - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest build() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest result = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * The identifier of the execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionGetDataRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetDataRequest) - private static final flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionGetDataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionGetDataRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionGetDataResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionGetDataResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Signed url to fetch a core.LiteralMap of execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasOutputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlob getOutputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder(); - - /** - *
-     * Signed url to fetch a core.LiteralMap of execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasInputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlob getInputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder(); - - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - boolean hasFullInputs(); - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - flyteidl.core.Literals.LiteralMap getFullInputs(); - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder(); - - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - boolean hasFullOutputs(); - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - flyteidl.core.Literals.LiteralMap getFullOutputs(); - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder(); - } - /** - *
-   * Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetDataResponse} - */ - public static final class WorkflowExecutionGetDataResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionGetDataResponse) - WorkflowExecutionGetDataResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionGetDataResponse.newBuilder() to construct. - private WorkflowExecutionGetDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionGetDataResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionGetDataResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; - if (outputs_ != null) { - subBuilder = outputs_.toBuilder(); - } - outputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputs_); - outputs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (fullInputs_ != null) { - subBuilder = fullInputs_.toBuilder(); - } - fullInputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fullInputs_); - fullInputs_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (fullOutputs_ != null) { - subBuilder = fullOutputs_.toBuilder(); - } - fullOutputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fullOutputs_); - fullOutputs_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse.Builder.class); - } - - public static final int OUTPUTS_FIELD_NUMBER = 1; - private flyteidl.admin.Common.UrlBlob outputs_; - /** - *
-     * Signed url to fetch a core.LiteralMap of execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputs_ != null; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getOutputs() { - return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { - return getOutputs(); - } - - public static final int INPUTS_FIELD_NUMBER = 2; - private flyteidl.admin.Common.UrlBlob inputs_; - /** - *
-     * Signed url to fetch a core.LiteralMap of execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputs_ != null; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getInputs() { - return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int FULL_INPUTS_FIELD_NUMBER = 3; - private flyteidl.core.Literals.LiteralMap fullInputs_; - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public boolean hasFullInputs() { - return fullInputs_ != null; - } - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap getFullInputs() { - return fullInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder() { - return getFullInputs(); - } - - public static final int FULL_OUTPUTS_FIELD_NUMBER = 4; - private flyteidl.core.Literals.LiteralMap fullOutputs_; - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public boolean hasFullOutputs() { - return fullOutputs_ != null; - } - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFullOutputs() { - return fullOutputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() { - return getFullOutputs(); - } - - 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 (outputs_ != null) { - output.writeMessage(1, getOutputs()); - } - if (inputs_ != null) { - output.writeMessage(2, getInputs()); - } - if (fullInputs_ != null) { - output.writeMessage(3, getFullInputs()); - } - if (fullOutputs_ != null) { - output.writeMessage(4, getFullOutputs()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (outputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOutputs()); - } - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInputs()); - } - if (fullInputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getFullInputs()); - } - if (fullOutputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getFullOutputs()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse other = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse) obj; - - if (hasOutputs() != other.hasOutputs()) return false; - if (hasOutputs()) { - if (!getOutputs() - .equals(other.getOutputs())) return false; - } - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (hasFullInputs() != other.hasFullInputs()) return false; - if (hasFullInputs()) { - if (!getFullInputs() - .equals(other.getFullInputs())) return false; - } - if (hasFullOutputs() != other.hasFullOutputs()) return false; - if (hasFullOutputs()) { - if (!getFullOutputs() - .equals(other.getFullOutputs())) 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 (hasOutputs()) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - } - if (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - if (hasFullInputs()) { - hash = (37 * hash) + FULL_INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getFullInputs().hashCode(); - } - if (hasFullOutputs()) { - hash = (37 * hash) + FULL_OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getFullOutputs().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse 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 structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetDataResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionGetDataResponse) - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse.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 (outputsBuilder_ == null) { - outputs_ = null; - } else { - outputs_ = null; - outputsBuilder_ = null; - } - if (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - if (fullInputsBuilder_ == null) { - fullInputs_ = null; - } else { - fullInputs_ = null; - fullInputsBuilder_ = null; - } - if (fullOutputsBuilder_ == null) { - fullOutputs_ = null; - } else { - fullOutputs_ = null; - fullOutputsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse build() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse buildPartial() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse result = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse(this); - if (outputsBuilder_ == null) { - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.build(); - } - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (fullInputsBuilder_ == null) { - result.fullInputs_ = fullInputs_; - } else { - result.fullInputs_ = fullInputsBuilder_.build(); - } - if (fullOutputsBuilder_ == null) { - result.fullOutputs_ = fullOutputs_; - } else { - result.fullOutputs_ = fullOutputsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse other) { - if (other == flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse.getDefaultInstance()) return this; - if (other.hasOutputs()) { - mergeOutputs(other.getOutputs()); - } - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (other.hasFullInputs()) { - mergeFullInputs(other.getFullInputs()); - } - if (other.hasFullOutputs()) { - mergeFullOutputs(other.getFullOutputs()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.Common.UrlBlob outputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> outputsBuilder_; - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputsBuilder_ != null || outputs_ != null; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getOutputs() { - if (outputsBuilder_ == null) { - return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } else { - return outputsBuilder_.getMessage(); - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs(flyteidl.admin.Common.UrlBlob value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputs_ = value; - onChanged(); - } else { - outputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs( - flyteidl.admin.Common.UrlBlob.Builder builderForValue) { - if (outputsBuilder_ == null) { - outputs_ = builderForValue.build(); - onChanged(); - } else { - outputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeOutputs(flyteidl.admin.Common.UrlBlob value) { - if (outputsBuilder_ == null) { - if (outputs_ != null) { - outputs_ = - flyteidl.admin.Common.UrlBlob.newBuilder(outputs_).mergeFrom(value).buildPartial(); - } else { - outputs_ = value; - } - onChanged(); - } else { - outputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = null; - onChanged(); - } else { - outputs_ = null; - outputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob.Builder getOutputsBuilder() { - - onChanged(); - return getOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilder(); - } else { - return outputs_ == null ? - flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 1 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( - getOutputs(), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - - private flyteidl.admin.Common.UrlBlob inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> inputsBuilder_; - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs(flyteidl.admin.Common.UrlBlob value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs( - flyteidl.admin.Common.UrlBlob.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeInputs(flyteidl.admin.Common.UrlBlob value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.admin.Common.UrlBlob.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 2 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private flyteidl.core.Literals.LiteralMap fullInputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> fullInputsBuilder_; - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public boolean hasFullInputs() { - return fullInputsBuilder_ != null || fullInputs_ != null; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap getFullInputs() { - if (fullInputsBuilder_ == null) { - return fullInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } else { - return fullInputsBuilder_.getMessage(); - } - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder setFullInputs(flyteidl.core.Literals.LiteralMap value) { - if (fullInputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fullInputs_ = value; - onChanged(); - } else { - fullInputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder setFullInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (fullInputsBuilder_ == null) { - fullInputs_ = builderForValue.build(); - onChanged(); - } else { - fullInputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder mergeFullInputs(flyteidl.core.Literals.LiteralMap value) { - if (fullInputsBuilder_ == null) { - if (fullInputs_ != null) { - fullInputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(fullInputs_).mergeFrom(value).buildPartial(); - } else { - fullInputs_ = value; - } - onChanged(); - } else { - fullInputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder clearFullInputs() { - if (fullInputsBuilder_ == null) { - fullInputs_ = null; - onChanged(); - } else { - fullInputs_ = null; - fullInputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap.Builder getFullInputsBuilder() { - - onChanged(); - return getFullInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder() { - if (fullInputsBuilder_ != null) { - return fullInputsBuilder_.getMessageOrBuilder(); - } else { - return fullInputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getFullInputsFieldBuilder() { - if (fullInputsBuilder_ == null) { - fullInputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getFullInputs(), - getParentForChildren(), - isClean()); - fullInputs_ = null; - } - return fullInputsBuilder_; - } - - private flyteidl.core.Literals.LiteralMap fullOutputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> fullOutputsBuilder_; - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public boolean hasFullOutputs() { - return fullOutputsBuilder_ != null || fullOutputs_ != null; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFullOutputs() { - if (fullOutputsBuilder_ == null) { - return fullOutputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } else { - return fullOutputsBuilder_.getMessage(); - } - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder setFullOutputs(flyteidl.core.Literals.LiteralMap value) { - if (fullOutputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fullOutputs_ = value; - onChanged(); - } else { - fullOutputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder setFullOutputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (fullOutputsBuilder_ == null) { - fullOutputs_ = builderForValue.build(); - onChanged(); - } else { - fullOutputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder mergeFullOutputs(flyteidl.core.Literals.LiteralMap value) { - if (fullOutputsBuilder_ == null) { - if (fullOutputs_ != null) { - fullOutputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(fullOutputs_).mergeFrom(value).buildPartial(); - } else { - fullOutputs_ = value; - } - onChanged(); - } else { - fullOutputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder clearFullOutputs() { - if (fullOutputsBuilder_ == null) { - fullOutputs_ = null; - onChanged(); - } else { - fullOutputs_ = null; - fullOutputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap.Builder getFullOutputsBuilder() { - - onChanged(); - return getFullOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() { - if (fullOutputsBuilder_ != null) { - return fullOutputsBuilder_.getMessageOrBuilder(); - } else { - return fullOutputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getFullOutputsFieldBuilder() { - if (fullOutputsBuilder_ == null) { - fullOutputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getFullOutputs(), - getParentForChildren(), - isClean()); - fullOutputs_ = null; - } - return fullOutputsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionGetDataResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetDataResponse) - private static final flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse(); - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionGetDataResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionGetDataResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetDataResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionUpdateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Identifier of the execution to update
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Identifier of the execution to update
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * Identifier of the execution to update
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * State to set as the new value active/archive
-     * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - int getStateValue(); - /** - *
-     * State to set as the new value active/archive
-     * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionState getState(); - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionUpdateRequest} - */ - public static final class ExecutionUpdateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionUpdateRequest) - ExecutionUpdateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionUpdateRequest.newBuilder() to construct. - private ExecutionUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionUpdateRequest() { - state_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionUpdateRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * Identifier of the execution to update
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Identifier of the execution to update
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Identifier of the execution to update
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int STATE_FIELD_NUMBER = 2; - private int state_; - /** - *
-     * State to set as the new value active/archive
-     * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - public int getStateValue() { - return state_; - } - /** - *
-     * State to set as the new value active/archive
-     * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.ExecutionOuterClass.ExecutionState result = flyteidl.admin.ExecutionOuterClass.ExecutionState.valueOf(state_); - return result == null ? flyteidl.admin.ExecutionOuterClass.ExecutionState.UNRECOGNIZED : result; - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (state_ != flyteidl.admin.ExecutionOuterClass.ExecutionState.EXECUTION_ACTIVE.getNumber()) { - output.writeEnum(2, state_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (state_ != flyteidl.admin.ExecutionOuterClass.ExecutionState.EXECUTION_ACTIVE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest other = (flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (state_ != other.state_) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionUpdateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionUpdateRequest) - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest.class, flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - state_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest build() { - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest result = new flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.state_ = state_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Identifier of the execution to update
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private int state_ = 0; - /** - *
-       * State to set as the new value active/archive
-       * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - public int getStateValue() { - return state_; - } - /** - *
-       * State to set as the new value active/archive
-       * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - *
-       * State to set as the new value active/archive
-       * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.ExecutionOuterClass.ExecutionState result = flyteidl.admin.ExecutionOuterClass.ExecutionState.valueOf(state_); - return result == null ? flyteidl.admin.ExecutionOuterClass.ExecutionState.UNRECOGNIZED : result; - } - /** - *
-       * State to set as the new value active/archive
-       * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - public Builder setState(flyteidl.admin.ExecutionOuterClass.ExecutionState value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * State to set as the new value active/archive
-       * 
- * - * .flyteidl.admin.ExecutionState state = 2; - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionUpdateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionUpdateRequest) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionUpdateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionUpdateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionStateChangeDetailsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionStateChangeDetails) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - int getStateValue(); - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - flyteidl.admin.ExecutionOuterClass.ExecutionState getState(); - - /** - *
-     * This timestamp represents when the state changed.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - boolean hasOccurredAt(); - /** - *
-     * This timestamp represents when the state changed.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - com.google.protobuf.Timestamp getOccurredAt(); - /** - *
-     * This timestamp represents when the state changed.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder(); - - /** - *
-     * Identifies the entity (if any) responsible for causing the state change of the execution
-     * 
- * - * string principal = 3; - */ - java.lang.String getPrincipal(); - /** - *
-     * Identifies the entity (if any) responsible for causing the state change of the execution
-     * 
- * - * string principal = 3; - */ - com.google.protobuf.ByteString - getPrincipalBytes(); - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionStateChangeDetails} - */ - public static final class ExecutionStateChangeDetails extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionStateChangeDetails) - ExecutionStateChangeDetailsOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionStateChangeDetails.newBuilder() to construct. - private ExecutionStateChangeDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionStateChangeDetails() { - state_ = 0; - principal_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionStateChangeDetails( - 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(); - - state_ = rawValue; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (occurredAt_ != null) { - subBuilder = occurredAt_.toBuilder(); - } - occurredAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(occurredAt_); - occurredAt_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - principal_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionStateChangeDetails_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.class, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder.class); - } - - public static final int STATE_FIELD_NUMBER = 1; - private int state_; - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - public int getStateValue() { - return state_; - } - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.ExecutionOuterClass.ExecutionState result = flyteidl.admin.ExecutionOuterClass.ExecutionState.valueOf(state_); - return result == null ? flyteidl.admin.ExecutionOuterClass.ExecutionState.UNRECOGNIZED : result; - } - - public static final int OCCURRED_AT_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp occurredAt_; - /** - *
-     * This timestamp represents when the state changed.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public boolean hasOccurredAt() { - return occurredAt_ != null; - } - /** - *
-     * This timestamp represents when the state changed.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - /** - *
-     * This timestamp represents when the state changed.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - return getOccurredAt(); - } - - public static final int PRINCIPAL_FIELD_NUMBER = 3; - private volatile java.lang.Object principal_; - /** - *
-     * Identifies the entity (if any) responsible for causing the state change of the execution
-     * 
- * - * string principal = 3; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - 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(); - principal_ = s; - return s; - } - } - /** - *
-     * Identifies the entity (if any) responsible for causing the state change of the execution
-     * 
- * - * string principal = 3; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = 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 (state_ != flyteidl.admin.ExecutionOuterClass.ExecutionState.EXECUTION_ACTIVE.getNumber()) { - output.writeEnum(1, state_); - } - if (occurredAt_ != null) { - output.writeMessage(2, getOccurredAt()); - } - if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, principal_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (state_ != flyteidl.admin.ExecutionOuterClass.ExecutionState.EXECUTION_ACTIVE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); - } - if (occurredAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOccurredAt()); - } - if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, principal_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails other = (flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails) obj; - - if (state_ != other.state_) return false; - if (hasOccurredAt() != other.hasOccurredAt()) return false; - if (hasOccurredAt()) { - if (!getOccurredAt() - .equals(other.getOccurredAt())) return false; - } - if (!getPrincipal() - .equals(other.getPrincipal())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - if (hasOccurredAt()) { - hash = (37 * hash) + OCCURRED_AT_FIELD_NUMBER; - hash = (53 * hash) + getOccurredAt().hashCode(); - } - hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; - hash = (53 * hash) + getPrincipal().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionStateChangeDetails} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionStateChangeDetails) - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionStateChangeDetails_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.class, flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.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(); - state_ = 0; - - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - principal_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails build() { - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails result = new flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails(this); - result.state_ = state_; - if (occurredAtBuilder_ == null) { - result.occurredAt_ = occurredAt_; - } else { - result.occurredAt_ = occurredAtBuilder_.build(); - } - result.principal_ = principal_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails.getDefaultInstance()) return this; - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - if (other.hasOccurredAt()) { - mergeOccurredAt(other.getOccurredAt()); - } - if (!other.getPrincipal().isEmpty()) { - principal_ = other.principal_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int state_ = 0; - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - public int getStateValue() { - return state_; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - public flyteidl.admin.ExecutionOuterClass.ExecutionState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.ExecutionOuterClass.ExecutionState result = flyteidl.admin.ExecutionOuterClass.ExecutionState.valueOf(state_); - return result == null ? flyteidl.admin.ExecutionOuterClass.ExecutionState.UNRECOGNIZED : result; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - public Builder setState(flyteidl.admin.ExecutionOuterClass.ExecutionState value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.admin.ExecutionState state = 1; - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp occurredAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_; - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public boolean hasOccurredAt() { - return occurredAtBuilder_ != null || occurredAt_ != null; - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - if (occurredAtBuilder_ == null) { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } else { - return occurredAtBuilder_.getMessage(); - } - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder setOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - occurredAt_ = value; - onChanged(); - } else { - occurredAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder setOccurredAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (occurredAtBuilder_ == null) { - occurredAt_ = builderForValue.build(); - onChanged(); - } else { - occurredAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder mergeOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (occurredAt_ != null) { - occurredAt_ = - com.google.protobuf.Timestamp.newBuilder(occurredAt_).mergeFrom(value).buildPartial(); - } else { - occurredAt_ = value; - } - onChanged(); - } else { - occurredAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder clearOccurredAt() { - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - onChanged(); - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - - return this; - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder() { - - onChanged(); - return getOccurredAtFieldBuilder().getBuilder(); - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - if (occurredAtBuilder_ != null) { - return occurredAtBuilder_.getMessageOrBuilder(); - } else { - return occurredAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - } - /** - *
-       * This timestamp represents when the state changed.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getOccurredAtFieldBuilder() { - if (occurredAtBuilder_ == null) { - occurredAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOccurredAt(), - getParentForChildren(), - isClean()); - occurredAt_ = null; - } - return occurredAtBuilder_; - } - - private java.lang.Object principal_ = ""; - /** - *
-       * Identifies the entity (if any) responsible for causing the state change of the execution
-       * 
- * - * string principal = 3; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - principal_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Identifies the entity (if any) responsible for causing the state change of the execution
-       * 
- * - * string principal = 3; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Identifies the entity (if any) responsible for causing the state change of the execution
-       * 
- * - * string principal = 3; - */ - public Builder setPrincipal( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - principal_ = value; - onChanged(); - return this; - } - /** - *
-       * Identifies the entity (if any) responsible for causing the state change of the execution
-       * 
- * - * string principal = 3; - */ - public Builder clearPrincipal() { - - principal_ = getDefaultInstance().getPrincipal(); - onChanged(); - return this; - } - /** - *
-       * Identifies the entity (if any) responsible for causing the state change of the execution
-       * 
- * - * string principal = 3; - */ - public Builder setPrincipalBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - principal_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionStateChangeDetails) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionStateChangeDetails) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionStateChangeDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionStateChangeDetails(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionStateChangeDetails getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionUpdateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionUpdateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionUpdateResponse} - */ - public static final class ExecutionUpdateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionUpdateResponse) - ExecutionUpdateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionUpdateResponse.newBuilder() to construct. - private ExecutionUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionUpdateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionUpdateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse.class, flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse other = (flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionUpdateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionUpdateResponse) - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse.class, flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse build() { - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse buildPartial() { - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse result = new flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse other) { - if (other == flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionUpdateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionUpdateResponse) - private static final flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse(); - } - - public static flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionUpdateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionUpdateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionGetMetricsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id defines the workflow execution to query for.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * id defines the workflow execution to query for.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); - /** - *
-     * id defines the workflow execution to query for.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
-     * 
- * - * int32 depth = 2; - */ - int getDepth(); - } - /** - *
-   * WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsRequest} - */ - public static final class WorkflowExecutionGetMetricsRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - WorkflowExecutionGetMetricsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionGetMetricsRequest.newBuilder() to construct. - private WorkflowExecutionGetMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionGetMetricsRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionGetMetricsRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - - depth_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - /** - *
-     * id defines the workflow execution to query for.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id defines the workflow execution to query for.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * id defines the workflow execution to query for.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int DEPTH_FIELD_NUMBER = 2; - private int depth_; - /** - *
-     * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
-     * 
- * - * int32 depth = 2; - */ - public int getDepth() { - return depth_; - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (depth_ != 0) { - output.writeInt32(2, depth_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (depth_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, depth_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest other = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (getDepth() - != other.getDepth()) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + DEPTH_FIELD_NUMBER; - hash = (53 * hash) + getDepth(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest 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; - } - /** - *
-     * WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - depth_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest build() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest buildPartial() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest result = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.depth_ = depth_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest other) { - if (other == flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.getDepth() != 0) { - setDepth(other.getDepth()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id defines the workflow execution to query for.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private int depth_ ; - /** - *
-       * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
-       * 
- * - * int32 depth = 2; - */ - public int getDepth() { - return depth_; - } - /** - *
-       * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
-       * 
- * - * int32 depth = 2; - */ - public Builder setDepth(int value) { - - depth_ = value; - onChanged(); - return this; - } - /** - *
-       * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
-       * 
- * - * int32 depth = 2; - */ - public Builder clearDepth() { - - depth_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsRequest) - private static final flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest(); - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionGetMetricsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionGetMetricsRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionGetMetricsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-     * hierarchical structure using Flyte entity references.
-     * 
- * - * .flyteidl.core.Span span = 1; - */ - boolean hasSpan(); - /** - *
-     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-     * hierarchical structure using Flyte entity references.
-     * 
- * - * .flyteidl.core.Span span = 1; - */ - flyteidl.core.Metrics.Span getSpan(); - /** - *
-     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-     * hierarchical structure using Flyte entity references.
-     * 
- * - * .flyteidl.core.Span span = 1; - */ - flyteidl.core.Metrics.SpanOrBuilder getSpanOrBuilder(); - } - /** - *
-   * WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsResponse} - */ - public static final class WorkflowExecutionGetMetricsResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - WorkflowExecutionGetMetricsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionGetMetricsResponse.newBuilder() to construct. - private WorkflowExecutionGetMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionGetMetricsResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionGetMetricsResponse( - 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.Metrics.Span.Builder subBuilder = null; - if (span_ != null) { - subBuilder = span_.toBuilder(); - } - span_ = input.readMessage(flyteidl.core.Metrics.Span.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(span_); - span_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.Builder.class); - } - - public static final int SPAN_FIELD_NUMBER = 1; - private flyteidl.core.Metrics.Span span_; - /** - *
-     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-     * hierarchical structure using Flyte entity references.
-     * 
- * - * .flyteidl.core.Span span = 1; - */ - public boolean hasSpan() { - return span_ != null; - } - /** - *
-     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-     * hierarchical structure using Flyte entity references.
-     * 
- * - * .flyteidl.core.Span span = 1; - */ - public flyteidl.core.Metrics.Span getSpan() { - return span_ == null ? flyteidl.core.Metrics.Span.getDefaultInstance() : span_; - } - /** - *
-     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-     * hierarchical structure using Flyte entity references.
-     * 
- * - * .flyteidl.core.Span span = 1; - */ - public flyteidl.core.Metrics.SpanOrBuilder getSpanOrBuilder() { - return getSpan(); - } - - 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 (span_ != null) { - output.writeMessage(1, getSpan()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (span_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSpan()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse)) { - return super.equals(obj); - } - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse other = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse) obj; - - if (hasSpan() != other.hasSpan()) return false; - if (hasSpan()) { - if (!getSpan() - .equals(other.getSpan())) 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 (hasSpan()) { - hash = (37 * hash) + SPAN_FIELD_NUMBER; - hash = (53 * hash) + getSpan().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse 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; - } - /** - *
-     * WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.Builder.class); - } - - // Construct using flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.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 (spanBuilder_ == null) { - span_ = null; - } else { - span_ = null; - spanBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse getDefaultInstanceForType() { - return flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse build() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse buildPartial() { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse result = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse(this); - if (spanBuilder_ == null) { - result.span_ = span_; - } else { - result.span_ = spanBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse) { - return mergeFrom((flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse other) { - if (other == flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.getDefaultInstance()) return this; - if (other.hasSpan()) { - mergeSpan(other.getSpan()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Metrics.Span span_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> spanBuilder_; - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public boolean hasSpan() { - return spanBuilder_ != null || span_ != null; - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public flyteidl.core.Metrics.Span getSpan() { - if (spanBuilder_ == null) { - return span_ == null ? flyteidl.core.Metrics.Span.getDefaultInstance() : span_; - } else { - return spanBuilder_.getMessage(); - } - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public Builder setSpan(flyteidl.core.Metrics.Span value) { - if (spanBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - span_ = value; - onChanged(); - } else { - spanBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public Builder setSpan( - flyteidl.core.Metrics.Span.Builder builderForValue) { - if (spanBuilder_ == null) { - span_ = builderForValue.build(); - onChanged(); - } else { - spanBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public Builder mergeSpan(flyteidl.core.Metrics.Span value) { - if (spanBuilder_ == null) { - if (span_ != null) { - span_ = - flyteidl.core.Metrics.Span.newBuilder(span_).mergeFrom(value).buildPartial(); - } else { - span_ = value; - } - onChanged(); - } else { - spanBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public Builder clearSpan() { - if (spanBuilder_ == null) { - span_ = null; - onChanged(); - } else { - span_ = null; - spanBuilder_ = null; - } - - return this; - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public flyteidl.core.Metrics.Span.Builder getSpanBuilder() { - - onChanged(); - return getSpanFieldBuilder().getBuilder(); - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - public flyteidl.core.Metrics.SpanOrBuilder getSpanOrBuilder() { - if (spanBuilder_ != null) { - return spanBuilder_.getMessageOrBuilder(); - } else { - return span_ == null ? - flyteidl.core.Metrics.Span.getDefaultInstance() : span_; - } - } - /** - *
-       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
-       * hierarchical structure using Flyte entity references.
-       * 
- * - * .flyteidl.core.Span span = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> - getSpanFieldBuilder() { - if (spanBuilder_ == null) { - spanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder>( - getSpan(), - getParentForChildren(), - isClean()); - span_ = null; - } - return spanBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsResponse) - private static final flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse(); - } - - public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionGetMetricsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionGetMetricsResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionCreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionRelaunchRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionRecoverRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionCreateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Execution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Execution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LiteralMapBlob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LiteralMapBlob_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_AbortMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_AbortMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionClosure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SystemMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SystemMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NotificationList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NotificationList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionTerminateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionTerminateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionUpdateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionStateChangeDetails_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionUpdateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_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\036flyteidl/admin/execution.proto\022\016flytei" + - "dl.admin\032\'flyteidl/admin/cluster_assignm" + - "ent.proto\032\033flyteidl/admin/common.proto\032\034" + - "flyteidl/core/literals.proto\032\035flyteidl/c" + - "ore/execution.proto\032\037flyteidl/core/artif" + - "act_id.proto\032\036flyteidl/core/identifier.p" + - "roto\032\033flyteidl/core/metrics.proto\032\034flyte" + - "idl/core/security.proto\032\036google/protobuf" + - "/duration.proto\032\037google/protobuf/timesta" + - "mp.proto\032\036google/protobuf/wrappers.proto" + - "\"\254\001\n\026ExecutionCreateRequest\022\017\n\007project\030\001" + - " \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022+\n\004sp" + - "ec\030\004 \001(\0132\035.flyteidl.admin.ExecutionSpec\022" + - ")\n\006inputs\030\005 \001(\0132\031.flyteidl.core.LiteralM" + - "ap\022\013\n\003org\030\006 \001(\t\"\177\n\030ExecutionRelaunchRequ" + - "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" + - "ExecutionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017ove" + - "rwrite_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRe" + - "coverRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core" + - ".WorkflowExecutionIdentifier\022\014\n\004name\030\002 \001" + - "(\t\0223\n\010metadata\030\003 \001(\0132!.flyteidl.admin.Ex" + - "ecutionMetadata\"Q\n\027ExecutionCreateRespon" + - "se\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + - "xecutionIdentifier\"U\n\033WorkflowExecutionG" + - "etRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Wo" + - "rkflowExecutionIdentifier\"\243\001\n\tExecution\022" + - "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + - "utionIdentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl" + - ".admin.ExecutionSpec\0221\n\007closure\030\003 \001(\0132 ." + - "flyteidl.admin.ExecutionClosure\"M\n\rExecu" + - "tionList\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl." + - "admin.Execution\022\r\n\005token\030\002 \001(\t\"X\n\016Litera" + - "lMapBlob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core" + - ".LiteralMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data" + - "\"1\n\rAbortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprin" + - "cipal\030\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outp" + - "uts\030\001 \001(\0132\036.flyteidl.admin.LiteralMapBlo" + - "bB\002\030\001H\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.E" + - "xecutionErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001" + - "H\000\0227\n\016abort_metadata\030\014 \001(\0132\035.flyteidl.ad" + - "min.AbortMetadataH\000\0224\n\013output_data\030\r \001(\013" + - "2\031.flyteidl.core.LiteralMapB\002\030\001H\000\0226\n\017com" + - "puted_inputs\030\003 \001(\0132\031.flyteidl.core.Liter" + - "alMapB\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core" + - ".WorkflowExecution.Phase\022.\n\nstarted_at\030\005" + - " \001(\0132\032.google.protobuf.Timestamp\022+\n\010dura" + - "tion\030\006 \001(\0132\031.google.protobuf.Duration\022.\n" + - "\ncreated_at\030\007 \001(\0132\032.google.protobuf.Time" + - "stamp\022.\n\nupdated_at\030\010 \001(\0132\032.google.proto" + - "buf.Timestamp\0223\n\rnotifications\030\t \003(\0132\034.f" + - "lyteidl.admin.Notification\022.\n\013workflow_i" + - "d\030\013 \001(\0132\031.flyteidl.core.Identifier\022I\n\024st" + - "ate_change_details\030\016 \001(\0132+.flyteidl.admi" + - "n.ExecutionStateChangeDetailsB\017\n\routput_" + - "result\">\n\016SystemMetadata\022\031\n\021execution_cl" + - "uster\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\213\004\n\021Execu" + - "tionMetadata\022=\n\004mode\030\001 \001(\0162/.flyteidl.ad" + - "min.ExecutionMetadata.ExecutionMode\022\021\n\tp" + - "rincipal\030\002 \001(\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014sched" + - "uled_at\030\004 \001(\0132\032.google.protobuf.Timestam" + - "p\022E\n\025parent_node_execution\030\005 \001(\0132&.flyte" + - "idl.core.NodeExecutionIdentifier\022G\n\023refe" + - "rence_execution\030\020 \001(\0132*.flyteidl.core.Wo" + - "rkflowExecutionIdentifier\0227\n\017system_meta" + - "data\030\021 \001(\0132\036.flyteidl.admin.SystemMetada" + - "ta\022/\n\014artifact_ids\030\022 \003(\0132\031.flyteidl.core" + - ".ArtifactID\"g\n\rExecutionMode\022\n\n\006MANUAL\020\000" + - "\022\r\n\tSCHEDULED\020\001\022\n\n\006SYSTEM\020\002\022\014\n\010RELAUNCH\020" + - "\003\022\022\n\016CHILD_WORKFLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020" + - "NotificationList\0223\n\rnotifications\030\001 \003(\0132" + - "\034.flyteidl.admin.Notification\"\262\006\n\rExecut" + - "ionSpec\022.\n\013launch_plan\030\001 \001(\0132\031.flyteidl." + - "core.Identifier\022-\n\006inputs\030\002 \001(\0132\031.flytei" + - "dl.core.LiteralMapB\002\030\001\0223\n\010metadata\030\003 \001(\013" + - "2!.flyteidl.admin.ExecutionMetadata\0229\n\rn" + - "otifications\030\005 \001(\0132 .flyteidl.admin.Noti" + - "ficationListH\000\022\025\n\013disable_all\030\006 \001(\010H\000\022&\n" + - "\006labels\030\007 \001(\0132\026.flyteidl.admin.Labels\0220\n" + - "\013annotations\030\010 \001(\0132\033.flyteidl.admin.Anno" + - "tations\0228\n\020security_context\030\n \001(\0132\036.flyt" + - "eidl.core.SecurityContext\022/\n\tauth_role\030\020" + - " \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001\022;\n\022qu" + - "ality_of_service\030\021 \001(\0132\037.flyteidl.core.Q" + - "ualityOfService\022\027\n\017max_parallelism\030\022 \001(\005" + - "\022C\n\026raw_output_data_config\030\023 \001(\0132#.flyte" + - "idl.admin.RawOutputDataConfig\022=\n\022cluster" + - "_assignment\030\024 \001(\0132!.flyteidl.admin.Clust" + - "erAssignment\0221\n\rinterruptible\030\025 \001(\0132\032.go" + - "ogle.protobuf.BoolValue\022\027\n\017overwrite_cac" + - "he\030\026 \001(\010\022\"\n\004envs\030\027 \001(\0132\024.flyteidl.admin." + - "Envs\022\014\n\004tags\030\030 \003(\tB\030\n\026notification_overr" + - "idesJ\004\010\004\020\005\"b\n\031ExecutionTerminateRequest\022" + - "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + - "utionIdentifier\022\r\n\005cause\030\002 \001(\t\"\034\n\032Execut" + - "ionTerminateResponse\"Y\n\037WorkflowExecutio" + - "nGetDataRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.c" + - "ore.WorkflowExecutionIdentifier\"\336\001\n Work" + - "flowExecutionGetDataResponse\022,\n\007outputs\030" + - "\001 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022+\n\006in" + - "puts\030\002 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022" + - ".\n\013full_inputs\030\003 \001(\0132\031.flyteidl.core.Lit" + - "eralMap\022/\n\014full_outputs\030\004 \001(\0132\031.flyteidl" + - ".core.LiteralMap\"\177\n\026ExecutionUpdateReque" + - "st\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + - "xecutionIdentifier\022-\n\005state\030\002 \001(\0162\036.flyt" + - "eidl.admin.ExecutionState\"\220\001\n\033ExecutionS" + - "tateChangeDetails\022-\n\005state\030\001 \001(\0162\036.flyte" + - "idl.admin.ExecutionState\022/\n\013occurred_at\030" + - "\002 \001(\0132\032.google.protobuf.Timestamp\022\021\n\tpri" + - "ncipal\030\003 \001(\t\"\031\n\027ExecutionUpdateResponse\"" + - "k\n\"WorkflowExecutionGetMetricsRequest\0226\n" + - "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" + - "ionIdentifier\022\r\n\005depth\030\002 \001(\005\"H\n#Workflow" + - "ExecutionGetMetricsResponse\022!\n\004span\030\001 \001(" + - "\0132\023.flyteidl.core.Span*>\n\016ExecutionState" + - "\022\024\n\020EXECUTION_ACTIVE\020\000\022\026\n\022EXECUTION_ARCH" + - "IVED\020\001B=Z;github.com/flyteorg/flyte/flyt" + - "eidl/gen/pb-go/flyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.ClusterAssignmentOuterClass.getDescriptor(), - flyteidl.admin.Common.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.ArtifactId.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Metrics.getDescriptor(), - flyteidl.core.Security.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_ExecutionCreateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "Name", "Spec", "Inputs", "Org", }); - internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_ExecutionRelaunchRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor, - new java.lang.String[] { "Id", "Name", "OverwriteCache", }); - internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_ExecutionRecoverRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor, - new java.lang.String[] { "Id", "Name", "Metadata", }); - internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_ExecutionCreateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_WorkflowExecutionGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_Execution_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_Execution_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Execution_descriptor, - new java.lang.String[] { "Id", "Spec", "Closure", }); - internal_static_flyteidl_admin_ExecutionList_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_ExecutionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionList_descriptor, - new java.lang.String[] { "Executions", "Token", }); - internal_static_flyteidl_admin_LiteralMapBlob_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_LiteralMapBlob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LiteralMapBlob_descriptor, - new java.lang.String[] { "Values", "Uri", "Data", }); - internal_static_flyteidl_admin_AbortMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_AbortMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_AbortMetadata_descriptor, - new java.lang.String[] { "Cause", "Principal", }); - internal_static_flyteidl_admin_ExecutionClosure_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_flyteidl_admin_ExecutionClosure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionClosure_descriptor, - new java.lang.String[] { "Outputs", "Error", "AbortCause", "AbortMetadata", "OutputData", "ComputedInputs", "Phase", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "Notifications", "WorkflowId", "StateChangeDetails", "OutputResult", }); - internal_static_flyteidl_admin_SystemMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_flyteidl_admin_SystemMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SystemMetadata_descriptor, - new java.lang.String[] { "ExecutionCluster", "Namespace", }); - internal_static_flyteidl_admin_ExecutionMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_flyteidl_admin_ExecutionMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionMetadata_descriptor, - new java.lang.String[] { "Mode", "Principal", "Nesting", "ScheduledAt", "ParentNodeExecution", "ReferenceExecution", "SystemMetadata", "ArtifactIds", }); - internal_static_flyteidl_admin_NotificationList_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_flyteidl_admin_NotificationList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NotificationList_descriptor, - new java.lang.String[] { "Notifications", }); - internal_static_flyteidl_admin_ExecutionSpec_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_flyteidl_admin_ExecutionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionSpec_descriptor, - new java.lang.String[] { "LaunchPlan", "Inputs", "Metadata", "Notifications", "DisableAll", "Labels", "Annotations", "SecurityContext", "AuthRole", "QualityOfService", "MaxParallelism", "RawOutputDataConfig", "ClusterAssignment", "Interruptible", "OverwriteCache", "Envs", "Tags", "NotificationOverrides", }); - internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_flyteidl_admin_ExecutionTerminateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor, - new java.lang.String[] { "Id", "Cause", }); - internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_flyteidl_admin_ExecutionTerminateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor, - new java.lang.String[] { "Outputs", "Inputs", "FullInputs", "FullOutputs", }); - internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_flyteidl_admin_ExecutionUpdateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor, - new java.lang.String[] { "Id", "State", }); - internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_flyteidl_admin_ExecutionStateChangeDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor, - new java.lang.String[] { "State", "OccurredAt", "Principal", }); - internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_flyteidl_admin_ExecutionUpdateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor, - new java.lang.String[] { "Id", "Depth", }); - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor, - new java.lang.String[] { "Span", }); - flyteidl.admin.ClusterAssignmentOuterClass.getDescriptor(); - flyteidl.admin.Common.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.ArtifactId.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Metrics.getDescriptor(); - flyteidl.core.Security.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java deleted file mode 100644 index 77678695e6..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java +++ /dev/null @@ -1,15158 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/launch_plan.proto - -package flyteidl.admin; - -public final class LaunchPlanOuterClass { - private LaunchPlanOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * By default any launch plan regardless of state can be used to launch a workflow execution.
-   * However, at most one version of a launch plan
-   * (e.g. a NamedEntityIdentifier set of shared project, domain and name values) can be
-   * active at a time in regards to *schedules*. That is, at most one schedule in a NamedEntityIdentifier
-   * group will be observed and trigger executions at a defined cadence.
-   * 
- * - * Protobuf enum {@code flyteidl.admin.LaunchPlanState} - */ - public enum LaunchPlanState - implements com.google.protobuf.ProtocolMessageEnum { - /** - * INACTIVE = 0; - */ - INACTIVE(0), - /** - * ACTIVE = 1; - */ - ACTIVE(1), - UNRECOGNIZED(-1), - ; - - /** - * INACTIVE = 0; - */ - public static final int INACTIVE_VALUE = 0; - /** - * ACTIVE = 1; - */ - public static final int ACTIVE_VALUE = 1; - - - 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 LaunchPlanState valueOf(int value) { - return forNumber(value); - } - - public static LaunchPlanState forNumber(int value) { - switch (value) { - case 0: return INACTIVE; - case 1: return ACTIVE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - LaunchPlanState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LaunchPlanState findValueByNumber(int number) { - return LaunchPlanState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final LaunchPlanState[] VALUES = values(); - - public static LaunchPlanState 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 LaunchPlanState(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.LaunchPlanState) - } - - public interface LaunchPlanCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanCreateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - boolean hasSpec(); - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getSpec(); - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder getSpecOrBuilder(); - } - /** - *
-   * Request to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required
-   * to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to
-   * set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan.
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanCreateRequest} - */ - public static final class LaunchPlanCreateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanCreateRequest) - LaunchPlanCreateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanCreateRequest.newBuilder() to construct. - private LaunchPlanCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanCreateRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanCreateRequest( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder subBuilder = null; - if (spec_ != null) { - subBuilder = spec_.toBuilder(); - } - spec_ = input.readMessage(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(spec_); - spec_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int SPEC_FIELD_NUMBER = 2; - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec spec_; - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public boolean hasSpec() { - return spec_ != null; - } - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getSpec() { - return spec_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance() : spec_; - } - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder getSpecOrBuilder() { - return getSpec(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (spec_ != null) { - output.writeMessage(2, getSpec()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (spec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSpec()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasSpec() != other.hasSpec()) return false; - if (hasSpec()) { - if (!getSpec() - .equals(other.getSpec())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasSpec()) { - hash = (37 * hash) + SPEC_FIELD_NUMBER; - hash = (53 * hash) + getSpec().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest 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 to register a launch plan. The included LaunchPlanSpec may have a complete or incomplete set of inputs required
-     * to launch a workflow execution. By default all launch plans are registered in state INACTIVE. If you wish to
-     * set the state to ACTIVE, you must submit a LaunchPlanUpdateRequest, after you have successfully created a launch plan.
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanCreateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanCreateRequest) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (specBuilder_ == null) { - spec_ = null; - } else { - spec_ = null; - specBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (specBuilder_ == null) { - result.spec_ = spec_; - } else { - result.spec_ = specBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasSpec()) { - mergeSpec(other.getSpec()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec spec_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder> specBuilder_; - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public boolean hasSpec() { - return specBuilder_ != null || spec_ != null; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getSpec() { - if (specBuilder_ == null) { - return spec_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance() : spec_; - } else { - return specBuilder_.getMessage(); - } - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder setSpec(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec value) { - if (specBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - spec_ = value; - onChanged(); - } else { - specBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder setSpec( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder builderForValue) { - if (specBuilder_ == null) { - spec_ = builderForValue.build(); - onChanged(); - } else { - specBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder mergeSpec(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec value) { - if (specBuilder_ == null) { - if (spec_ != null) { - spec_ = - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); - } else { - spec_ = value; - } - onChanged(); - } else { - specBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder clearSpec() { - if (specBuilder_ == null) { - spec_ = null; - onChanged(); - } else { - spec_ = null; - specBuilder_ = null; - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder getSpecBuilder() { - - onChanged(); - return getSpecFieldBuilder().getBuilder(); - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder getSpecOrBuilder() { - if (specBuilder_ != null) { - return specBuilder_.getMessageOrBuilder(); - } else { - return spec_ == null ? - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance() : spec_; - } - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder> - getSpecFieldBuilder() { - if (specBuilder_ == null) { - specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder>( - getSpec(), - getParentForChildren(), - isClean()); - spec_ = null; - } - return specBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanCreateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanCreateRequest) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanCreateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanCreateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanCreateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanCreateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanCreateResponse} - */ - public static final class LaunchPlanCreateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanCreateResponse) - LaunchPlanCreateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanCreateResponse.newBuilder() to construct. - private LaunchPlanCreateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanCreateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanCreateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanCreateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanCreateResponse) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanCreateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanCreateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanCreateResponse) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanCreateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanCreateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanCreateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlan) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - boolean hasSpec(); - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getSpec(); - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder getSpecOrBuilder(); - - /** - *
-     * Values computed by the flyte platform after launch plan registration.
-     * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - boolean hasClosure(); - /** - *
-     * Values computed by the flyte platform after launch plan registration.
-     * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure getClosure(); - /** - *
-     * Values computed by the flyte platform after launch plan registration.
-     * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosureOrBuilder getClosureOrBuilder(); - } - /** - *
-   * A LaunchPlan provides the capability to templatize workflow executions.
-   * Launch plans simplify associating one or more schedules, inputs and notifications with your workflows.
-   * Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow
-   * definition doesn't necessarily have a default value for said input.
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlan} - */ - public static final class LaunchPlan extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlan) - LaunchPlanOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlan.newBuilder() to construct. - private LaunchPlan(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlan() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlan( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder subBuilder = null; - if (spec_ != null) { - subBuilder = spec_.toBuilder(); - } - spec_ = input.readMessage(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(spec_); - spec_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder subBuilder = null; - if (closure_ != null) { - subBuilder = closure_.toBuilder(); - } - closure_ = input.readMessage(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(closure_); - closure_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlan_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlan_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * Uniquely identifies a launch plan entity.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int SPEC_FIELD_NUMBER = 2; - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec spec_; - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public boolean hasSpec() { - return spec_ != null; - } - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getSpec() { - return spec_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance() : spec_; - } - /** - *
-     * User-provided launch plan details, including reference workflow, inputs and other metadata.
-     * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder getSpecOrBuilder() { - return getSpec(); - } - - public static final int CLOSURE_FIELD_NUMBER = 3; - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure closure_; - /** - *
-     * Values computed by the flyte platform after launch plan registration.
-     * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public boolean hasClosure() { - return closure_ != null; - } - /** - *
-     * Values computed by the flyte platform after launch plan registration.
-     * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure getClosure() { - return closure_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.getDefaultInstance() : closure_; - } - /** - *
-     * Values computed by the flyte platform after launch plan registration.
-     * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosureOrBuilder getClosureOrBuilder() { - return getClosure(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (spec_ != null) { - output.writeMessage(2, getSpec()); - } - if (closure_ != null) { - output.writeMessage(3, getClosure()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (spec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSpec()); - } - if (closure_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getClosure()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlan)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlan) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasSpec() != other.hasSpec()) return false; - if (hasSpec()) { - if (!getSpec() - .equals(other.getSpec())) return false; - } - if (hasClosure() != other.hasClosure()) return false; - if (hasClosure()) { - if (!getClosure() - .equals(other.getClosure())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasSpec()) { - hash = (37 * hash) + SPEC_FIELD_NUMBER; - hash = (53 * hash) + getSpec().hashCode(); - } - if (hasClosure()) { - hash = (37 * hash) + CLOSURE_FIELD_NUMBER; - hash = (53 * hash) + getClosure().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan 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 LaunchPlan provides the capability to templatize workflow executions.
-     * Launch plans simplify associating one or more schedules, inputs and notifications with your workflows.
-     * Launch plans can be shared and used to trigger executions with predefined inputs even when a workflow
-     * definition doesn't necessarily have a default value for said input.
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlan} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlan) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlan_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlan_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (specBuilder_ == null) { - spec_ = null; - } else { - spec_ = null; - specBuilder_ = null; - } - if (closureBuilder_ == null) { - closure_ = null; - } else { - closure_ = null; - closureBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlan_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlan(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (specBuilder_ == null) { - result.spec_ = spec_; - } else { - result.spec_ = specBuilder_.build(); - } - if (closureBuilder_ == null) { - result.closure_ = closure_; - } else { - result.closure_ = closureBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlan) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlan)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasSpec()) { - mergeSpec(other.getSpec()); - } - if (other.hasClosure()) { - mergeClosure(other.getClosure()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlan) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Uniquely identifies a launch plan entity.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec spec_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder> specBuilder_; - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public boolean hasSpec() { - return specBuilder_ != null || spec_ != null; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getSpec() { - if (specBuilder_ == null) { - return spec_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance() : spec_; - } else { - return specBuilder_.getMessage(); - } - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder setSpec(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec value) { - if (specBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - spec_ = value; - onChanged(); - } else { - specBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder setSpec( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder builderForValue) { - if (specBuilder_ == null) { - spec_ = builderForValue.build(); - onChanged(); - } else { - specBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder mergeSpec(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec value) { - if (specBuilder_ == null) { - if (spec_ != null) { - spec_ = - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); - } else { - spec_ = value; - } - onChanged(); - } else { - specBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public Builder clearSpec() { - if (specBuilder_ == null) { - spec_ = null; - onChanged(); - } else { - spec_ = null; - specBuilder_ = null; - } - - return this; - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder getSpecBuilder() { - - onChanged(); - return getSpecFieldBuilder().getBuilder(); - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder getSpecOrBuilder() { - if (specBuilder_ != null) { - return specBuilder_.getMessageOrBuilder(); - } else { - return spec_ == null ? - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance() : spec_; - } - } - /** - *
-       * User-provided launch plan details, including reference workflow, inputs and other metadata.
-       * 
- * - * .flyteidl.admin.LaunchPlanSpec spec = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder> - getSpecFieldBuilder() { - if (specBuilder_ == null) { - specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder>( - getSpec(), - getParentForChildren(), - isClean()); - spec_ = null; - } - return specBuilder_; - } - - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure closure_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosureOrBuilder> closureBuilder_; - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public boolean hasClosure() { - return closureBuilder_ != null || closure_ != null; - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure getClosure() { - if (closureBuilder_ == null) { - return closure_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.getDefaultInstance() : closure_; - } else { - return closureBuilder_.getMessage(); - } - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public Builder setClosure(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure value) { - if (closureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - closure_ = value; - onChanged(); - } else { - closureBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public Builder setClosure( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder builderForValue) { - if (closureBuilder_ == null) { - closure_ = builderForValue.build(); - onChanged(); - } else { - closureBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public Builder mergeClosure(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure value) { - if (closureBuilder_ == null) { - if (closure_ != null) { - closure_ = - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.newBuilder(closure_).mergeFrom(value).buildPartial(); - } else { - closure_ = value; - } - onChanged(); - } else { - closureBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public Builder clearClosure() { - if (closureBuilder_ == null) { - closure_ = null; - onChanged(); - } else { - closure_ = null; - closureBuilder_ = null; - } - - return this; - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder getClosureBuilder() { - - onChanged(); - return getClosureFieldBuilder().getBuilder(); - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosureOrBuilder getClosureOrBuilder() { - if (closureBuilder_ != null) { - return closureBuilder_.getMessageOrBuilder(); - } else { - return closure_ == null ? - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.getDefaultInstance() : closure_; - } - } - /** - *
-       * Values computed by the flyte platform after launch plan registration.
-       * 
- * - * .flyteidl.admin.LaunchPlanClosure closure = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosureOrBuilder> - getClosureFieldBuilder() { - if (closureBuilder_ == null) { - closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosureOrBuilder>( - getClosure(), - getParentForChildren(), - isClean()); - closure_ = null; - } - return closureBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlan) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlan) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlan DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlan(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlan parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlan(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - java.util.List - getLaunchPlansList(); - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getLaunchPlans(int index); - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - int getLaunchPlansCount(); - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - java.util.List - getLaunchPlansOrBuilderList(); - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getLaunchPlansOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Response object for list launch plan requests.
-   * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanList} - */ - public static final class LaunchPlanList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanList) - LaunchPlanListOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanList.newBuilder() to construct. - private LaunchPlanList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanList() { - launchPlans_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanList( - 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)) { - launchPlans_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - launchPlans_.add( - input.readMessage(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - launchPlans_ = java.util.Collections.unmodifiableList(launchPlans_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList.Builder.class); - } - - private int bitField0_; - public static final int LAUNCH_PLANS_FIELD_NUMBER = 1; - private java.util.List launchPlans_; - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public java.util.List getLaunchPlansList() { - return launchPlans_; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public java.util.List - getLaunchPlansOrBuilderList() { - return launchPlans_; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public int getLaunchPlansCount() { - return launchPlans_.size(); - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getLaunchPlans(int index) { - return launchPlans_.get(index); - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getLaunchPlansOrBuilder( - int index) { - return launchPlans_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < launchPlans_.size(); i++) { - output.writeMessage(1, launchPlans_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < launchPlans_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, launchPlans_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList) obj; - - if (!getLaunchPlansList() - .equals(other.getLaunchPlansList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getLaunchPlansCount() > 0) { - hash = (37 * hash) + LAUNCH_PLANS_FIELD_NUMBER; - hash = (53 * hash) + getLaunchPlansList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList 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 object for list launch plan requests.
-     * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanList) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getLaunchPlansFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (launchPlansBuilder_ == null) { - launchPlans_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - launchPlansBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (launchPlansBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - launchPlans_ = java.util.Collections.unmodifiableList(launchPlans_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.launchPlans_ = launchPlans_; - } else { - result.launchPlans_ = launchPlansBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList.getDefaultInstance()) return this; - if (launchPlansBuilder_ == null) { - if (!other.launchPlans_.isEmpty()) { - if (launchPlans_.isEmpty()) { - launchPlans_ = other.launchPlans_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureLaunchPlansIsMutable(); - launchPlans_.addAll(other.launchPlans_); - } - onChanged(); - } - } else { - if (!other.launchPlans_.isEmpty()) { - if (launchPlansBuilder_.isEmpty()) { - launchPlansBuilder_.dispose(); - launchPlansBuilder_ = null; - launchPlans_ = other.launchPlans_; - bitField0_ = (bitField0_ & ~0x00000001); - launchPlansBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLaunchPlansFieldBuilder() : null; - } else { - launchPlansBuilder_.addAllMessages(other.launchPlans_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List launchPlans_ = - java.util.Collections.emptyList(); - private void ensureLaunchPlansIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - launchPlans_ = new java.util.ArrayList(launchPlans_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder> launchPlansBuilder_; - - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public java.util.List getLaunchPlansList() { - if (launchPlansBuilder_ == null) { - return java.util.Collections.unmodifiableList(launchPlans_); - } else { - return launchPlansBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public int getLaunchPlansCount() { - if (launchPlansBuilder_ == null) { - return launchPlans_.size(); - } else { - return launchPlansBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getLaunchPlans(int index) { - if (launchPlansBuilder_ == null) { - return launchPlans_.get(index); - } else { - return launchPlansBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder setLaunchPlans( - int index, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan value) { - if (launchPlansBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLaunchPlansIsMutable(); - launchPlans_.set(index, value); - onChanged(); - } else { - launchPlansBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder setLaunchPlans( - int index, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder builderForValue) { - if (launchPlansBuilder_ == null) { - ensureLaunchPlansIsMutable(); - launchPlans_.set(index, builderForValue.build()); - onChanged(); - } else { - launchPlansBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder addLaunchPlans(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan value) { - if (launchPlansBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLaunchPlansIsMutable(); - launchPlans_.add(value); - onChanged(); - } else { - launchPlansBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder addLaunchPlans( - int index, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan value) { - if (launchPlansBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLaunchPlansIsMutable(); - launchPlans_.add(index, value); - onChanged(); - } else { - launchPlansBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder addLaunchPlans( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder builderForValue) { - if (launchPlansBuilder_ == null) { - ensureLaunchPlansIsMutable(); - launchPlans_.add(builderForValue.build()); - onChanged(); - } else { - launchPlansBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder addLaunchPlans( - int index, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder builderForValue) { - if (launchPlansBuilder_ == null) { - ensureLaunchPlansIsMutable(); - launchPlans_.add(index, builderForValue.build()); - onChanged(); - } else { - launchPlansBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder addAllLaunchPlans( - java.lang.Iterable values) { - if (launchPlansBuilder_ == null) { - ensureLaunchPlansIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, launchPlans_); - onChanged(); - } else { - launchPlansBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder clearLaunchPlans() { - if (launchPlansBuilder_ == null) { - launchPlans_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - launchPlansBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public Builder removeLaunchPlans(int index) { - if (launchPlansBuilder_ == null) { - ensureLaunchPlansIsMutable(); - launchPlans_.remove(index); - onChanged(); - } else { - launchPlansBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder getLaunchPlansBuilder( - int index) { - return getLaunchPlansFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getLaunchPlansOrBuilder( - int index) { - if (launchPlansBuilder_ == null) { - return launchPlans_.get(index); } else { - return launchPlansBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public java.util.List - getLaunchPlansOrBuilderList() { - if (launchPlansBuilder_ != null) { - return launchPlansBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(launchPlans_); - } - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder addLaunchPlansBuilder() { - return getLaunchPlansFieldBuilder().addBuilder( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder addLaunchPlansBuilder( - int index) { - return getLaunchPlansFieldBuilder().addBuilder( - index, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.LaunchPlan launch_plans = 1; - */ - public java.util.List - getLaunchPlansBuilderList() { - return getLaunchPlansFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder> - getLaunchPlansFieldBuilder() { - if (launchPlansBuilder_ == null) { - launchPlansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder>( - launchPlans_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - launchPlans_ = null; - } - return launchPlansBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanList) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface AuthOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Auth) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - java.lang.String getAssumableIamRole(); - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - com.google.protobuf.ByteString - getAssumableIamRoleBytes(); - - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - java.lang.String getKubernetesServiceAccount(); - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - com.google.protobuf.ByteString - getKubernetesServiceAccountBytes(); - } - /** - *
-   * Defines permissions associated with executions created by this launch plan spec.
-   * Use either of these roles when they have permissions required by your workflow execution.
-   * Deprecated.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Auth} - */ - @java.lang.Deprecated public static final class Auth extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Auth) - AuthOrBuilder { - private static final long serialVersionUID = 0L; - // Use Auth.newBuilder() to construct. - private Auth(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Auth() { - assumableIamRole_ = ""; - kubernetesServiceAccount_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Auth( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - assumableIamRole_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - kubernetesServiceAccount_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_Auth_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_Auth_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.Auth.class, flyteidl.admin.LaunchPlanOuterClass.Auth.Builder.class); - } - - public static final int ASSUMABLE_IAM_ROLE_FIELD_NUMBER = 1; - private volatile java.lang.Object assumableIamRole_; - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - public java.lang.String getAssumableIamRole() { - java.lang.Object ref = assumableIamRole_; - 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(); - assumableIamRole_ = s; - return s; - } - } - /** - *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string assumable_iam_role = 1; - */ - public com.google.protobuf.ByteString - getAssumableIamRoleBytes() { - java.lang.Object ref = assumableIamRole_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - assumableIamRole_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER = 2; - private volatile java.lang.Object kubernetesServiceAccount_; - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - public java.lang.String getKubernetesServiceAccount() { - java.lang.Object ref = kubernetesServiceAccount_; - 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(); - kubernetesServiceAccount_ = s; - return s; - } - } - /** - *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-     * 
- * - * string kubernetes_service_account = 2; - */ - public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { - java.lang.Object ref = kubernetesServiceAccount_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kubernetesServiceAccount_ = 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 (!getAssumableIamRoleBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assumableIamRole_); - } - if (!getKubernetesServiceAccountBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kubernetesServiceAccount_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getAssumableIamRoleBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, assumableIamRole_); - } - if (!getKubernetesServiceAccountBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kubernetesServiceAccount_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.Auth)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.Auth other = (flyteidl.admin.LaunchPlanOuterClass.Auth) obj; - - if (!getAssumableIamRole() - .equals(other.getAssumableIamRole())) return false; - if (!getKubernetesServiceAccount() - .equals(other.getKubernetesServiceAccount())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ASSUMABLE_IAM_ROLE_FIELD_NUMBER; - hash = (53 * hash) + getAssumableIamRole().hashCode(); - hash = (37 * hash) + KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER; - hash = (53 * hash) + getKubernetesServiceAccount().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.Auth parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.Auth prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines permissions associated with executions created by this launch plan spec.
-     * Use either of these roles when they have permissions required by your workflow execution.
-     * Deprecated.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Auth} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Auth) - flyteidl.admin.LaunchPlanOuterClass.AuthOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_Auth_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_Auth_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.Auth.class, flyteidl.admin.LaunchPlanOuterClass.Auth.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.Auth.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(); - assumableIamRole_ = ""; - - kubernetesServiceAccount_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_Auth_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.Auth getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.Auth.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.Auth build() { - flyteidl.admin.LaunchPlanOuterClass.Auth result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.Auth buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.Auth result = new flyteidl.admin.LaunchPlanOuterClass.Auth(this); - result.assumableIamRole_ = assumableIamRole_; - result.kubernetesServiceAccount_ = kubernetesServiceAccount_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.Auth) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.Auth)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.Auth other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.Auth.getDefaultInstance()) return this; - if (!other.getAssumableIamRole().isEmpty()) { - assumableIamRole_ = other.assumableIamRole_; - onChanged(); - } - if (!other.getKubernetesServiceAccount().isEmpty()) { - kubernetesServiceAccount_ = other.kubernetesServiceAccount_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.Auth parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.Auth) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object assumableIamRole_ = ""; - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public java.lang.String getAssumableIamRole() { - java.lang.Object ref = assumableIamRole_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - assumableIamRole_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public com.google.protobuf.ByteString - getAssumableIamRoleBytes() { - java.lang.Object ref = assumableIamRole_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - assumableIamRole_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder setAssumableIamRole( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - assumableIamRole_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder clearAssumableIamRole() { - - assumableIamRole_ = getDefaultInstance().getAssumableIamRole(); - onChanged(); - return this; - } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder setAssumableIamRoleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - assumableIamRole_ = value; - onChanged(); - return this; - } - - private java.lang.Object kubernetesServiceAccount_ = ""; - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public java.lang.String getKubernetesServiceAccount() { - java.lang.Object ref = kubernetesServiceAccount_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kubernetesServiceAccount_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { - java.lang.Object ref = kubernetesServiceAccount_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kubernetesServiceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public Builder setKubernetesServiceAccount( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - kubernetesServiceAccount_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public Builder clearKubernetesServiceAccount() { - - kubernetesServiceAccount_ = getDefaultInstance().getKubernetesServiceAccount(); - onChanged(); - return this; - } - /** - *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string kubernetes_service_account = 2; - */ - public Builder setKubernetesServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - kubernetesServiceAccount_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Auth) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Auth) - private static final flyteidl.admin.LaunchPlanOuterClass.Auth DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.Auth(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.Auth getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Auth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Auth(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.Auth getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Reference to the Workflow template that the launch plan references
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - boolean hasWorkflowId(); - /** - *
-     * Reference to the Workflow template that the launch plan references
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId(); - /** - *
-     * Reference to the Workflow template that the launch plan references
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder(); - - /** - *
-     * Metadata for the Launch Plan
-     * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - boolean hasEntityMetadata(); - /** - *
-     * Metadata for the Launch Plan
-     * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata getEntityMetadata(); - /** - *
-     * Metadata for the Launch Plan
-     * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadataOrBuilder getEntityMetadataOrBuilder(); - - /** - *
-     * Input values to be passed for the execution.
-     * These can be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - boolean hasDefaultInputs(); - /** - *
-     * Input values to be passed for the execution.
-     * These can be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - flyteidl.core.Interface.ParameterMap getDefaultInputs(); - /** - *
-     * Input values to be passed for the execution.
-     * These can be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - flyteidl.core.Interface.ParameterMapOrBuilder getDefaultInputsOrBuilder(); - - /** - *
-     * Fixed, non-overridable inputs for the Launch Plan.
-     * These can not be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - boolean hasFixedInputs(); - /** - *
-     * Fixed, non-overridable inputs for the Launch Plan.
-     * These can not be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - flyteidl.core.Literals.LiteralMap getFixedInputs(); - /** - *
-     * Fixed, non-overridable inputs for the Launch Plan.
-     * These can not be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getFixedInputsOrBuilder(); - - /** - *
-     * String to indicate the role to use to execute the workflow underneath
-     * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated java.lang.String getRole(); - /** - *
-     * String to indicate the role to use to execute the workflow underneath
-     * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getRoleBytes(); - - /** - *
-     * Custom labels to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - boolean hasLabels(); - /** - *
-     * Custom labels to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - flyteidl.admin.Common.Labels getLabels(); - /** - *
-     * Custom labels to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder(); - - /** - *
-     * Custom annotations to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - boolean hasAnnotations(); - /** - *
-     * Custom annotations to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - flyteidl.admin.Common.Annotations getAnnotations(); - /** - *
-     * Custom annotations to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder(); - - /** - *
-     * Indicates the permission associated with workflow executions triggered with this launch plan.
-     * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasAuth(); - /** - *
-     * Indicates the permission associated with workflow executions triggered with this launch plan.
-     * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.LaunchPlanOuterClass.Auth getAuth(); - /** - *
-     * Indicates the permission associated with workflow executions triggered with this launch plan.
-     * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.LaunchPlanOuterClass.AuthOrBuilder getAuthOrBuilder(); - - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasAuthRole(); - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.AuthRole getAuthRole(); - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.AuthRoleOrBuilder getAuthRoleOrBuilder(); - - /** - *
-     * Indicates security context for permissions triggered with this launch plan
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - boolean hasSecurityContext(); - /** - *
-     * Indicates security context for permissions triggered with this launch plan
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - flyteidl.core.Security.SecurityContext getSecurityContext(); - /** - *
-     * Indicates security context for permissions triggered with this launch plan
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder(); - - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - boolean hasQualityOfService(); - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - flyteidl.core.Execution.QualityOfService getQualityOfService(); - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder(); - - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - boolean hasRawOutputDataConfig(); - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig(); - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder(); - - /** - *
-     * Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.
-     * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-     * and parallelism/concurrency of MapTasks is independent from this.
-     * 
- * - * int32 max_parallelism = 18; - */ - int getMaxParallelism(); - - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - boolean hasInterruptible(); - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - com.google.protobuf.BoolValue getInterruptible(); - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder(); - - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 20; - */ - boolean getOverwriteCache(); - - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - boolean hasEnvs(); - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - flyteidl.admin.Common.Envs getEnvs(); - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder(); - } - /** - *
-   * User-provided launch plan definition and configuration values.
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanSpec} - */ - public static final class LaunchPlanSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanSpec) - LaunchPlanSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanSpec.newBuilder() to construct. - private LaunchPlanSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanSpec() { - role_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanSpec( - 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.Identifier.Builder subBuilder = null; - if (workflowId_ != null) { - subBuilder = workflowId_.toBuilder(); - } - workflowId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workflowId_); - workflowId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder subBuilder = null; - if (entityMetadata_ != null) { - subBuilder = entityMetadata_.toBuilder(); - } - entityMetadata_ = input.readMessage(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(entityMetadata_); - entityMetadata_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Interface.ParameterMap.Builder subBuilder = null; - if (defaultInputs_ != null) { - subBuilder = defaultInputs_.toBuilder(); - } - defaultInputs_ = input.readMessage(flyteidl.core.Interface.ParameterMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(defaultInputs_); - defaultInputs_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (fixedInputs_ != null) { - subBuilder = fixedInputs_.toBuilder(); - } - fixedInputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fixedInputs_); - fixedInputs_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - role_ = s; - break; - } - case 50: { - flyteidl.admin.Common.Labels.Builder subBuilder = null; - if (labels_ != null) { - subBuilder = labels_.toBuilder(); - } - labels_ = input.readMessage(flyteidl.admin.Common.Labels.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labels_); - labels_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - flyteidl.admin.Common.Annotations.Builder subBuilder = null; - if (annotations_ != null) { - subBuilder = annotations_.toBuilder(); - } - annotations_ = input.readMessage(flyteidl.admin.Common.Annotations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotations_); - annotations_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - flyteidl.admin.LaunchPlanOuterClass.Auth.Builder subBuilder = null; - if (auth_ != null) { - subBuilder = auth_.toBuilder(); - } - auth_ = input.readMessage(flyteidl.admin.LaunchPlanOuterClass.Auth.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(auth_); - auth_ = subBuilder.buildPartial(); - } - - break; - } - case 74: { - flyteidl.admin.Common.AuthRole.Builder subBuilder = null; - if (authRole_ != null) { - subBuilder = authRole_.toBuilder(); - } - authRole_ = input.readMessage(flyteidl.admin.Common.AuthRole.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authRole_); - authRole_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - flyteidl.core.Security.SecurityContext.Builder subBuilder = null; - if (securityContext_ != null) { - subBuilder = securityContext_.toBuilder(); - } - securityContext_ = input.readMessage(flyteidl.core.Security.SecurityContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(securityContext_); - securityContext_ = subBuilder.buildPartial(); - } - - break; - } - case 130: { - flyteidl.core.Execution.QualityOfService.Builder subBuilder = null; - if (qualityOfService_ != null) { - subBuilder = qualityOfService_.toBuilder(); - } - qualityOfService_ = input.readMessage(flyteidl.core.Execution.QualityOfService.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(qualityOfService_); - qualityOfService_ = subBuilder.buildPartial(); - } - - break; - } - case 138: { - flyteidl.admin.Common.RawOutputDataConfig.Builder subBuilder = null; - if (rawOutputDataConfig_ != null) { - subBuilder = rawOutputDataConfig_.toBuilder(); - } - rawOutputDataConfig_ = input.readMessage(flyteidl.admin.Common.RawOutputDataConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rawOutputDataConfig_); - rawOutputDataConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 144: { - - maxParallelism_ = input.readInt32(); - break; - } - case 154: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (interruptible_ != null) { - subBuilder = interruptible_.toBuilder(); - } - interruptible_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interruptible_); - interruptible_ = subBuilder.buildPartial(); - } - - break; - } - case 160: { - - overwriteCache_ = input.readBool(); - break; - } - case 170: { - flyteidl.admin.Common.Envs.Builder subBuilder = null; - if (envs_ != null) { - subBuilder = envs_.toBuilder(); - } - envs_ = input.readMessage(flyteidl.admin.Common.Envs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(envs_); - envs_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder.class); - } - - public static final int WORKFLOW_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; - /** - *
-     * Reference to the Workflow template that the launch plan references
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public boolean hasWorkflowId() { - return workflowId_ != null; - } - /** - *
-     * Reference to the Workflow template that the launch plan references
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { - return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } - /** - *
-     * Reference to the Workflow template that the launch plan references
-     * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { - return getWorkflowId(); - } - - public static final int ENTITY_METADATA_FIELD_NUMBER = 2; - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata entityMetadata_; - /** - *
-     * Metadata for the Launch Plan
-     * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public boolean hasEntityMetadata() { - return entityMetadata_ != null; - } - /** - *
-     * Metadata for the Launch Plan
-     * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata getEntityMetadata() { - return entityMetadata_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.getDefaultInstance() : entityMetadata_; - } - /** - *
-     * Metadata for the Launch Plan
-     * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadataOrBuilder getEntityMetadataOrBuilder() { - return getEntityMetadata(); - } - - public static final int DEFAULT_INPUTS_FIELD_NUMBER = 3; - private flyteidl.core.Interface.ParameterMap defaultInputs_; - /** - *
-     * Input values to be passed for the execution.
-     * These can be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public boolean hasDefaultInputs() { - return defaultInputs_ != null; - } - /** - *
-     * Input values to be passed for the execution.
-     * These can be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public flyteidl.core.Interface.ParameterMap getDefaultInputs() { - return defaultInputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : defaultInputs_; - } - /** - *
-     * Input values to be passed for the execution.
-     * These can be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public flyteidl.core.Interface.ParameterMapOrBuilder getDefaultInputsOrBuilder() { - return getDefaultInputs(); - } - - public static final int FIXED_INPUTS_FIELD_NUMBER = 4; - private flyteidl.core.Literals.LiteralMap fixedInputs_; - /** - *
-     * Fixed, non-overridable inputs for the Launch Plan.
-     * These can not be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public boolean hasFixedInputs() { - return fixedInputs_ != null; - } - /** - *
-     * Fixed, non-overridable inputs for the Launch Plan.
-     * These can not be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFixedInputs() { - return fixedInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fixedInputs_; - } - /** - *
-     * Fixed, non-overridable inputs for the Launch Plan.
-     * These can not be overridden when an execution is created with this launch plan.
-     * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFixedInputsOrBuilder() { - return getFixedInputs(); - } - - public static final int ROLE_FIELD_NUMBER = 5; - private volatile java.lang.Object role_; - /** - *
-     * String to indicate the role to use to execute the workflow underneath
-     * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getRole() { - java.lang.Object ref = role_; - 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(); - role_ = s; - return s; - } - } - /** - *
-     * String to indicate the role to use to execute the workflow underneath
-     * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getRoleBytes() { - java.lang.Object ref = role_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - role_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LABELS_FIELD_NUMBER = 6; - private flyteidl.admin.Common.Labels labels_; - /** - *
-     * Custom labels to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public boolean hasLabels() { - return labels_ != null; - } - /** - *
-     * Custom labels to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public flyteidl.admin.Common.Labels getLabels() { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - /** - *
-     * Custom labels to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - return getLabels(); - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 7; - private flyteidl.admin.Common.Annotations annotations_; - /** - *
-     * Custom annotations to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public boolean hasAnnotations() { - return annotations_ != null; - } - /** - *
-     * Custom annotations to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public flyteidl.admin.Common.Annotations getAnnotations() { - return annotations_ == null ? flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } - /** - *
-     * Custom annotations to be applied to the execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder() { - return getAnnotations(); - } - - public static final int AUTH_FIELD_NUMBER = 8; - private flyteidl.admin.LaunchPlanOuterClass.Auth auth_; - /** - *
-     * Indicates the permission associated with workflow executions triggered with this launch plan.
-     * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasAuth() { - return auth_ != null; - } - /** - *
-     * Indicates the permission associated with workflow executions triggered with this launch plan.
-     * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.LaunchPlanOuterClass.Auth getAuth() { - return auth_ == null ? flyteidl.admin.LaunchPlanOuterClass.Auth.getDefaultInstance() : auth_; - } - /** - *
-     * Indicates the permission associated with workflow executions triggered with this launch plan.
-     * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.LaunchPlanOuterClass.AuthOrBuilder getAuthOrBuilder() { - return getAuth(); - } - - public static final int AUTH_ROLE_FIELD_NUMBER = 9; - private flyteidl.admin.Common.AuthRole authRole_; - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasAuthRole() { - return authRole_ != null; - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRole getAuthRole() { - return authRole_ == null ? flyteidl.admin.Common.AuthRole.getDefaultInstance() : authRole_; - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRoleOrBuilder getAuthRoleOrBuilder() { - return getAuthRole(); - } - - public static final int SECURITY_CONTEXT_FIELD_NUMBER = 10; - private flyteidl.core.Security.SecurityContext securityContext_; - /** - *
-     * Indicates security context for permissions triggered with this launch plan
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public boolean hasSecurityContext() { - return securityContext_ != null; - } - /** - *
-     * Indicates security context for permissions triggered with this launch plan
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - /** - *
-     * Indicates security context for permissions triggered with this launch plan
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - return getSecurityContext(); - } - - public static final int QUALITY_OF_SERVICE_FIELD_NUMBER = 16; - private flyteidl.core.Execution.QualityOfService qualityOfService_; - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public boolean hasQualityOfService() { - return qualityOfService_ != null; - } - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - return qualityOfService_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } - /** - *
-     * Indicates the runtime priority of the execution.
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - return getQualityOfService(); - } - - public static final int RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER = 17; - private flyteidl.admin.Common.RawOutputDataConfig rawOutputDataConfig_; - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public boolean hasRawOutputDataConfig() { - return rawOutputDataConfig_ != null; - } - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig() { - return rawOutputDataConfig_ == null ? flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder() { - return getRawOutputDataConfig(); - } - - public static final int MAX_PARALLELISM_FIELD_NUMBER = 18; - private int maxParallelism_; - /** - *
-     * Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.
-     * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-     * and parallelism/concurrency of MapTasks is independent from this.
-     * 
- * - * int32 max_parallelism = 18; - */ - public int getMaxParallelism() { - return maxParallelism_; - } - - public static final int INTERRUPTIBLE_FIELD_NUMBER = 19; - private com.google.protobuf.BoolValue interruptible_; - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public boolean hasInterruptible() { - return interruptible_ != null; - } - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public com.google.protobuf.BoolValue getInterruptible() { - return interruptible_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder() { - return getInterruptible(); - } - - public static final int OVERWRITE_CACHE_FIELD_NUMBER = 20; - private boolean overwriteCache_; - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 20; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - - public static final int ENVS_FIELD_NUMBER = 21; - private flyteidl.admin.Common.Envs envs_; - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public boolean hasEnvs() { - return envs_ != null; - } - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public flyteidl.admin.Common.Envs getEnvs() { - return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { - return getEnvs(); - } - - 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 (workflowId_ != null) { - output.writeMessage(1, getWorkflowId()); - } - if (entityMetadata_ != null) { - output.writeMessage(2, getEntityMetadata()); - } - if (defaultInputs_ != null) { - output.writeMessage(3, getDefaultInputs()); - } - if (fixedInputs_ != null) { - output.writeMessage(4, getFixedInputs()); - } - if (!getRoleBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, role_); - } - if (labels_ != null) { - output.writeMessage(6, getLabels()); - } - if (annotations_ != null) { - output.writeMessage(7, getAnnotations()); - } - if (auth_ != null) { - output.writeMessage(8, getAuth()); - } - if (authRole_ != null) { - output.writeMessage(9, getAuthRole()); - } - if (securityContext_ != null) { - output.writeMessage(10, getSecurityContext()); - } - if (qualityOfService_ != null) { - output.writeMessage(16, getQualityOfService()); - } - if (rawOutputDataConfig_ != null) { - output.writeMessage(17, getRawOutputDataConfig()); - } - if (maxParallelism_ != 0) { - output.writeInt32(18, maxParallelism_); - } - if (interruptible_ != null) { - output.writeMessage(19, getInterruptible()); - } - if (overwriteCache_ != false) { - output.writeBool(20, overwriteCache_); - } - if (envs_ != null) { - output.writeMessage(21, getEnvs()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (workflowId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWorkflowId()); - } - if (entityMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntityMetadata()); - } - if (defaultInputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDefaultInputs()); - } - if (fixedInputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getFixedInputs()); - } - if (!getRoleBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, role_); - } - if (labels_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getLabels()); - } - if (annotations_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getAnnotations()); - } - if (auth_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getAuth()); - } - if (authRole_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getAuthRole()); - } - if (securityContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getSecurityContext()); - } - if (qualityOfService_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getQualityOfService()); - } - if (rawOutputDataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getRawOutputDataConfig()); - } - if (maxParallelism_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(18, maxParallelism_); - } - if (interruptible_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getInterruptible()); - } - if (overwriteCache_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(20, overwriteCache_); - } - if (envs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getEnvs()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec) obj; - - if (hasWorkflowId() != other.hasWorkflowId()) return false; - if (hasWorkflowId()) { - if (!getWorkflowId() - .equals(other.getWorkflowId())) return false; - } - if (hasEntityMetadata() != other.hasEntityMetadata()) return false; - if (hasEntityMetadata()) { - if (!getEntityMetadata() - .equals(other.getEntityMetadata())) return false; - } - if (hasDefaultInputs() != other.hasDefaultInputs()) return false; - if (hasDefaultInputs()) { - if (!getDefaultInputs() - .equals(other.getDefaultInputs())) return false; - } - if (hasFixedInputs() != other.hasFixedInputs()) return false; - if (hasFixedInputs()) { - if (!getFixedInputs() - .equals(other.getFixedInputs())) return false; - } - if (!getRole() - .equals(other.getRole())) return false; - if (hasLabels() != other.hasLabels()) return false; - if (hasLabels()) { - if (!getLabels() - .equals(other.getLabels())) return false; - } - if (hasAnnotations() != other.hasAnnotations()) return false; - if (hasAnnotations()) { - if (!getAnnotations() - .equals(other.getAnnotations())) return false; - } - if (hasAuth() != other.hasAuth()) return false; - if (hasAuth()) { - if (!getAuth() - .equals(other.getAuth())) return false; - } - if (hasAuthRole() != other.hasAuthRole()) return false; - if (hasAuthRole()) { - if (!getAuthRole() - .equals(other.getAuthRole())) return false; - } - if (hasSecurityContext() != other.hasSecurityContext()) return false; - if (hasSecurityContext()) { - if (!getSecurityContext() - .equals(other.getSecurityContext())) return false; - } - if (hasQualityOfService() != other.hasQualityOfService()) return false; - if (hasQualityOfService()) { - if (!getQualityOfService() - .equals(other.getQualityOfService())) return false; - } - if (hasRawOutputDataConfig() != other.hasRawOutputDataConfig()) return false; - if (hasRawOutputDataConfig()) { - if (!getRawOutputDataConfig() - .equals(other.getRawOutputDataConfig())) return false; - } - if (getMaxParallelism() - != other.getMaxParallelism()) return false; - if (hasInterruptible() != other.hasInterruptible()) return false; - if (hasInterruptible()) { - if (!getInterruptible() - .equals(other.getInterruptible())) return false; - } - if (getOverwriteCache() - != other.getOverwriteCache()) return false; - if (hasEnvs() != other.hasEnvs()) return false; - if (hasEnvs()) { - if (!getEnvs() - .equals(other.getEnvs())) 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 (hasWorkflowId()) { - hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowId().hashCode(); - } - if (hasEntityMetadata()) { - hash = (37 * hash) + ENTITY_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getEntityMetadata().hashCode(); - } - if (hasDefaultInputs()) { - hash = (37 * hash) + DEFAULT_INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getDefaultInputs().hashCode(); - } - if (hasFixedInputs()) { - hash = (37 * hash) + FIXED_INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getFixedInputs().hashCode(); - } - hash = (37 * hash) + ROLE_FIELD_NUMBER; - hash = (53 * hash) + getRole().hashCode(); - if (hasLabels()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + getLabels().hashCode(); - } - if (hasAnnotations()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + getAnnotations().hashCode(); - } - if (hasAuth()) { - hash = (37 * hash) + AUTH_FIELD_NUMBER; - hash = (53 * hash) + getAuth().hashCode(); - } - if (hasAuthRole()) { - hash = (37 * hash) + AUTH_ROLE_FIELD_NUMBER; - hash = (53 * hash) + getAuthRole().hashCode(); - } - if (hasSecurityContext()) { - hash = (37 * hash) + SECURITY_CONTEXT_FIELD_NUMBER; - hash = (53 * hash) + getSecurityContext().hashCode(); - } - if (hasQualityOfService()) { - hash = (37 * hash) + QUALITY_OF_SERVICE_FIELD_NUMBER; - hash = (53 * hash) + getQualityOfService().hashCode(); - } - if (hasRawOutputDataConfig()) { - hash = (37 * hash) + RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getRawOutputDataConfig().hashCode(); - } - hash = (37 * hash) + MAX_PARALLELISM_FIELD_NUMBER; - hash = (53 * hash) + getMaxParallelism(); - if (hasInterruptible()) { - hash = (37 * hash) + INTERRUPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + getInterruptible().hashCode(); - } - hash = (37 * hash) + OVERWRITE_CACHE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOverwriteCache()); - if (hasEnvs()) { - hash = (37 * hash) + ENVS_FIELD_NUMBER; - hash = (53 * hash) + getEnvs().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec 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; - } - /** - *
-     * User-provided launch plan definition and configuration values.
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanSpec) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.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 (workflowIdBuilder_ == null) { - workflowId_ = null; - } else { - workflowId_ = null; - workflowIdBuilder_ = null; - } - if (entityMetadataBuilder_ == null) { - entityMetadata_ = null; - } else { - entityMetadata_ = null; - entityMetadataBuilder_ = null; - } - if (defaultInputsBuilder_ == null) { - defaultInputs_ = null; - } else { - defaultInputs_ = null; - defaultInputsBuilder_ = null; - } - if (fixedInputsBuilder_ == null) { - fixedInputs_ = null; - } else { - fixedInputs_ = null; - fixedInputsBuilder_ = null; - } - role_ = ""; - - if (labelsBuilder_ == null) { - labels_ = null; - } else { - labels_ = null; - labelsBuilder_ = null; - } - if (annotationsBuilder_ == null) { - annotations_ = null; - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - if (authBuilder_ == null) { - auth_ = null; - } else { - auth_ = null; - authBuilder_ = null; - } - if (authRoleBuilder_ == null) { - authRole_ = null; - } else { - authRole_ = null; - authRoleBuilder_ = null; - } - if (securityContextBuilder_ == null) { - securityContext_ = null; - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = null; - } else { - qualityOfService_ = null; - qualityOfServiceBuilder_ = null; - } - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = null; - } else { - rawOutputDataConfig_ = null; - rawOutputDataConfigBuilder_ = null; - } - maxParallelism_ = 0; - - if (interruptibleBuilder_ == null) { - interruptible_ = null; - } else { - interruptible_ = null; - interruptibleBuilder_ = null; - } - overwriteCache_ = false; - - if (envsBuilder_ == null) { - envs_ = null; - } else { - envs_ = null; - envsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanSpec_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec(this); - if (workflowIdBuilder_ == null) { - result.workflowId_ = workflowId_; - } else { - result.workflowId_ = workflowIdBuilder_.build(); - } - if (entityMetadataBuilder_ == null) { - result.entityMetadata_ = entityMetadata_; - } else { - result.entityMetadata_ = entityMetadataBuilder_.build(); - } - if (defaultInputsBuilder_ == null) { - result.defaultInputs_ = defaultInputs_; - } else { - result.defaultInputs_ = defaultInputsBuilder_.build(); - } - if (fixedInputsBuilder_ == null) { - result.fixedInputs_ = fixedInputs_; - } else { - result.fixedInputs_ = fixedInputsBuilder_.build(); - } - result.role_ = role_; - if (labelsBuilder_ == null) { - result.labels_ = labels_; - } else { - result.labels_ = labelsBuilder_.build(); - } - if (annotationsBuilder_ == null) { - result.annotations_ = annotations_; - } else { - result.annotations_ = annotationsBuilder_.build(); - } - if (authBuilder_ == null) { - result.auth_ = auth_; - } else { - result.auth_ = authBuilder_.build(); - } - if (authRoleBuilder_ == null) { - result.authRole_ = authRole_; - } else { - result.authRole_ = authRoleBuilder_.build(); - } - if (securityContextBuilder_ == null) { - result.securityContext_ = securityContext_; - } else { - result.securityContext_ = securityContextBuilder_.build(); - } - if (qualityOfServiceBuilder_ == null) { - result.qualityOfService_ = qualityOfService_; - } else { - result.qualityOfService_ = qualityOfServiceBuilder_.build(); - } - if (rawOutputDataConfigBuilder_ == null) { - result.rawOutputDataConfig_ = rawOutputDataConfig_; - } else { - result.rawOutputDataConfig_ = rawOutputDataConfigBuilder_.build(); - } - result.maxParallelism_ = maxParallelism_; - if (interruptibleBuilder_ == null) { - result.interruptible_ = interruptible_; - } else { - result.interruptible_ = interruptibleBuilder_.build(); - } - result.overwriteCache_ = overwriteCache_; - if (envsBuilder_ == null) { - result.envs_ = envs_; - } else { - result.envs_ = envsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec.getDefaultInstance()) return this; - if (other.hasWorkflowId()) { - mergeWorkflowId(other.getWorkflowId()); - } - if (other.hasEntityMetadata()) { - mergeEntityMetadata(other.getEntityMetadata()); - } - if (other.hasDefaultInputs()) { - mergeDefaultInputs(other.getDefaultInputs()); - } - if (other.hasFixedInputs()) { - mergeFixedInputs(other.getFixedInputs()); - } - if (!other.getRole().isEmpty()) { - role_ = other.role_; - onChanged(); - } - if (other.hasLabels()) { - mergeLabels(other.getLabels()); - } - if (other.hasAnnotations()) { - mergeAnnotations(other.getAnnotations()); - } - if (other.hasAuth()) { - mergeAuth(other.getAuth()); - } - if (other.hasAuthRole()) { - mergeAuthRole(other.getAuthRole()); - } - if (other.hasSecurityContext()) { - mergeSecurityContext(other.getSecurityContext()); - } - if (other.hasQualityOfService()) { - mergeQualityOfService(other.getQualityOfService()); - } - if (other.hasRawOutputDataConfig()) { - mergeRawOutputDataConfig(other.getRawOutputDataConfig()); - } - if (other.getMaxParallelism() != 0) { - setMaxParallelism(other.getMaxParallelism()); - } - if (other.hasInterruptible()) { - mergeInterruptible(other.getInterruptible()); - } - if (other.getOverwriteCache() != false) { - setOverwriteCache(other.getOverwriteCache()); - } - if (other.hasEnvs()) { - mergeEnvs(other.getEnvs()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> workflowIdBuilder_; - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public boolean hasWorkflowId() { - return workflowIdBuilder_ != null || workflowId_ != null; - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { - if (workflowIdBuilder_ == null) { - return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } else { - return workflowIdBuilder_.getMessage(); - } - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public Builder setWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (workflowIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workflowId_ = value; - onChanged(); - } else { - workflowIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public Builder setWorkflowId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (workflowIdBuilder_ == null) { - workflowId_ = builderForValue.build(); - onChanged(); - } else { - workflowIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public Builder mergeWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (workflowIdBuilder_ == null) { - if (workflowId_ != null) { - workflowId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(workflowId_).mergeFrom(value).buildPartial(); - } else { - workflowId_ = value; - } - onChanged(); - } else { - workflowIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public Builder clearWorkflowId() { - if (workflowIdBuilder_ == null) { - workflowId_ = null; - onChanged(); - } else { - workflowId_ = null; - workflowIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getWorkflowIdBuilder() { - - onChanged(); - return getWorkflowIdFieldBuilder().getBuilder(); - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { - if (workflowIdBuilder_ != null) { - return workflowIdBuilder_.getMessageOrBuilder(); - } else { - return workflowId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } - } - /** - *
-       * Reference to the Workflow template that the launch plan references
-       * 
- * - * .flyteidl.core.Identifier workflow_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getWorkflowIdFieldBuilder() { - if (workflowIdBuilder_ == null) { - workflowIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getWorkflowId(), - getParentForChildren(), - isClean()); - workflowId_ = null; - } - return workflowIdBuilder_; - } - - private flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata entityMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadataOrBuilder> entityMetadataBuilder_; - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public boolean hasEntityMetadata() { - return entityMetadataBuilder_ != null || entityMetadata_ != null; - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata getEntityMetadata() { - if (entityMetadataBuilder_ == null) { - return entityMetadata_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.getDefaultInstance() : entityMetadata_; - } else { - return entityMetadataBuilder_.getMessage(); - } - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public Builder setEntityMetadata(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata value) { - if (entityMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - entityMetadata_ = value; - onChanged(); - } else { - entityMetadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public Builder setEntityMetadata( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder builderForValue) { - if (entityMetadataBuilder_ == null) { - entityMetadata_ = builderForValue.build(); - onChanged(); - } else { - entityMetadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public Builder mergeEntityMetadata(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata value) { - if (entityMetadataBuilder_ == null) { - if (entityMetadata_ != null) { - entityMetadata_ = - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.newBuilder(entityMetadata_).mergeFrom(value).buildPartial(); - } else { - entityMetadata_ = value; - } - onChanged(); - } else { - entityMetadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public Builder clearEntityMetadata() { - if (entityMetadataBuilder_ == null) { - entityMetadata_ = null; - onChanged(); - } else { - entityMetadata_ = null; - entityMetadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder getEntityMetadataBuilder() { - - onChanged(); - return getEntityMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadataOrBuilder getEntityMetadataOrBuilder() { - if (entityMetadataBuilder_ != null) { - return entityMetadataBuilder_.getMessageOrBuilder(); - } else { - return entityMetadata_ == null ? - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.getDefaultInstance() : entityMetadata_; - } - } - /** - *
-       * Metadata for the Launch Plan
-       * 
- * - * .flyteidl.admin.LaunchPlanMetadata entity_metadata = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadataOrBuilder> - getEntityMetadataFieldBuilder() { - if (entityMetadataBuilder_ == null) { - entityMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadataOrBuilder>( - getEntityMetadata(), - getParentForChildren(), - isClean()); - entityMetadata_ = null; - } - return entityMetadataBuilder_; - } - - private flyteidl.core.Interface.ParameterMap defaultInputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> defaultInputsBuilder_; - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public boolean hasDefaultInputs() { - return defaultInputsBuilder_ != null || defaultInputs_ != null; - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public flyteidl.core.Interface.ParameterMap getDefaultInputs() { - if (defaultInputsBuilder_ == null) { - return defaultInputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : defaultInputs_; - } else { - return defaultInputsBuilder_.getMessage(); - } - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public Builder setDefaultInputs(flyteidl.core.Interface.ParameterMap value) { - if (defaultInputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - defaultInputs_ = value; - onChanged(); - } else { - defaultInputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public Builder setDefaultInputs( - flyteidl.core.Interface.ParameterMap.Builder builderForValue) { - if (defaultInputsBuilder_ == null) { - defaultInputs_ = builderForValue.build(); - onChanged(); - } else { - defaultInputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public Builder mergeDefaultInputs(flyteidl.core.Interface.ParameterMap value) { - if (defaultInputsBuilder_ == null) { - if (defaultInputs_ != null) { - defaultInputs_ = - flyteidl.core.Interface.ParameterMap.newBuilder(defaultInputs_).mergeFrom(value).buildPartial(); - } else { - defaultInputs_ = value; - } - onChanged(); - } else { - defaultInputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public Builder clearDefaultInputs() { - if (defaultInputsBuilder_ == null) { - defaultInputs_ = null; - onChanged(); - } else { - defaultInputs_ = null; - defaultInputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public flyteidl.core.Interface.ParameterMap.Builder getDefaultInputsBuilder() { - - onChanged(); - return getDefaultInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - public flyteidl.core.Interface.ParameterMapOrBuilder getDefaultInputsOrBuilder() { - if (defaultInputsBuilder_ != null) { - return defaultInputsBuilder_.getMessageOrBuilder(); - } else { - return defaultInputs_ == null ? - flyteidl.core.Interface.ParameterMap.getDefaultInstance() : defaultInputs_; - } - } - /** - *
-       * Input values to be passed for the execution.
-       * These can be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.ParameterMap default_inputs = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> - getDefaultInputsFieldBuilder() { - if (defaultInputsBuilder_ == null) { - defaultInputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder>( - getDefaultInputs(), - getParentForChildren(), - isClean()); - defaultInputs_ = null; - } - return defaultInputsBuilder_; - } - - private flyteidl.core.Literals.LiteralMap fixedInputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> fixedInputsBuilder_; - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public boolean hasFixedInputs() { - return fixedInputsBuilder_ != null || fixedInputs_ != null; - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFixedInputs() { - if (fixedInputsBuilder_ == null) { - return fixedInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fixedInputs_; - } else { - return fixedInputsBuilder_.getMessage(); - } - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public Builder setFixedInputs(flyteidl.core.Literals.LiteralMap value) { - if (fixedInputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fixedInputs_ = value; - onChanged(); - } else { - fixedInputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public Builder setFixedInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (fixedInputsBuilder_ == null) { - fixedInputs_ = builderForValue.build(); - onChanged(); - } else { - fixedInputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public Builder mergeFixedInputs(flyteidl.core.Literals.LiteralMap value) { - if (fixedInputsBuilder_ == null) { - if (fixedInputs_ != null) { - fixedInputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(fixedInputs_).mergeFrom(value).buildPartial(); - } else { - fixedInputs_ = value; - } - onChanged(); - } else { - fixedInputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public Builder clearFixedInputs() { - if (fixedInputsBuilder_ == null) { - fixedInputs_ = null; - onChanged(); - } else { - fixedInputs_ = null; - fixedInputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public flyteidl.core.Literals.LiteralMap.Builder getFixedInputsBuilder() { - - onChanged(); - return getFixedInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFixedInputsOrBuilder() { - if (fixedInputsBuilder_ != null) { - return fixedInputsBuilder_.getMessageOrBuilder(); - } else { - return fixedInputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fixedInputs_; - } - } - /** - *
-       * Fixed, non-overridable inputs for the Launch Plan.
-       * These can not be overridden when an execution is created with this launch plan.
-       * 
- * - * .flyteidl.core.LiteralMap fixed_inputs = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getFixedInputsFieldBuilder() { - if (fixedInputsBuilder_ == null) { - fixedInputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getFixedInputs(), - getParentForChildren(), - isClean()); - fixedInputs_ = null; - } - return fixedInputsBuilder_; - } - - private java.lang.Object role_ = ""; - /** - *
-       * String to indicate the role to use to execute the workflow underneath
-       * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getRole() { - java.lang.Object ref = role_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - role_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * String to indicate the role to use to execute the workflow underneath
-       * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getRoleBytes() { - java.lang.Object ref = role_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - role_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * String to indicate the role to use to execute the workflow underneath
-       * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setRole( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - role_ = value; - onChanged(); - return this; - } - /** - *
-       * String to indicate the role to use to execute the workflow underneath
-       * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearRole() { - - role_ = getDefaultInstance().getRole(); - onChanged(); - return this; - } - /** - *
-       * String to indicate the role to use to execute the workflow underneath
-       * 
- * - * string role = 5 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setRoleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - role_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Labels labels_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> labelsBuilder_; - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public boolean hasLabels() { - return labelsBuilder_ != null || labels_ != null; - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public flyteidl.admin.Common.Labels getLabels() { - if (labelsBuilder_ == null) { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } else { - return labelsBuilder_.getMessage(); - } - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public Builder setLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - labels_ = value; - onChanged(); - } else { - labelsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public Builder setLabels( - flyteidl.admin.Common.Labels.Builder builderForValue) { - if (labelsBuilder_ == null) { - labels_ = builderForValue.build(); - onChanged(); - } else { - labelsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public Builder mergeLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (labels_ != null) { - labels_ = - flyteidl.admin.Common.Labels.newBuilder(labels_).mergeFrom(value).buildPartial(); - } else { - labels_ = value; - } - onChanged(); - } else { - labelsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public Builder clearLabels() { - if (labelsBuilder_ == null) { - labels_ = null; - onChanged(); - } else { - labels_ = null; - labelsBuilder_ = null; - } - - return this; - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public flyteidl.admin.Common.Labels.Builder getLabelsBuilder() { - - onChanged(); - return getLabelsFieldBuilder().getBuilder(); - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - if (labelsBuilder_ != null) { - return labelsBuilder_.getMessageOrBuilder(); - } else { - return labels_ == null ? - flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - } - /** - *
-       * Custom labels to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> - getLabelsFieldBuilder() { - if (labelsBuilder_ == null) { - labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder>( - getLabels(), - getParentForChildren(), - isClean()); - labels_ = null; - } - return labelsBuilder_; - } - - private flyteidl.admin.Common.Annotations annotations_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder> annotationsBuilder_; - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public boolean hasAnnotations() { - return annotationsBuilder_ != null || annotations_ != null; - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public flyteidl.admin.Common.Annotations getAnnotations() { - if (annotationsBuilder_ == null) { - return annotations_ == null ? flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } else { - return annotationsBuilder_.getMessage(); - } - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public Builder setAnnotations(flyteidl.admin.Common.Annotations value) { - if (annotationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - annotations_ = value; - onChanged(); - } else { - annotationsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public Builder setAnnotations( - flyteidl.admin.Common.Annotations.Builder builderForValue) { - if (annotationsBuilder_ == null) { - annotations_ = builderForValue.build(); - onChanged(); - } else { - annotationsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public Builder mergeAnnotations(flyteidl.admin.Common.Annotations value) { - if (annotationsBuilder_ == null) { - if (annotations_ != null) { - annotations_ = - flyteidl.admin.Common.Annotations.newBuilder(annotations_).mergeFrom(value).buildPartial(); - } else { - annotations_ = value; - } - onChanged(); - } else { - annotationsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public Builder clearAnnotations() { - if (annotationsBuilder_ == null) { - annotations_ = null; - onChanged(); - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - - return this; - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public flyteidl.admin.Common.Annotations.Builder getAnnotationsBuilder() { - - onChanged(); - return getAnnotationsFieldBuilder().getBuilder(); - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - public flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder() { - if (annotationsBuilder_ != null) { - return annotationsBuilder_.getMessageOrBuilder(); - } else { - return annotations_ == null ? - flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } - } - /** - *
-       * Custom annotations to be applied to the execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder> - getAnnotationsFieldBuilder() { - if (annotationsBuilder_ == null) { - annotationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder>( - getAnnotations(), - getParentForChildren(), - isClean()); - annotations_ = null; - } - return annotationsBuilder_; - } - - private flyteidl.admin.LaunchPlanOuterClass.Auth auth_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.Auth, flyteidl.admin.LaunchPlanOuterClass.Auth.Builder, flyteidl.admin.LaunchPlanOuterClass.AuthOrBuilder> authBuilder_; - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasAuth() { - return authBuilder_ != null || auth_ != null; - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.LaunchPlanOuterClass.Auth getAuth() { - if (authBuilder_ == null) { - return auth_ == null ? flyteidl.admin.LaunchPlanOuterClass.Auth.getDefaultInstance() : auth_; - } else { - return authBuilder_.getMessage(); - } - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAuth(flyteidl.admin.LaunchPlanOuterClass.Auth value) { - if (authBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - auth_ = value; - onChanged(); - } else { - authBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAuth( - flyteidl.admin.LaunchPlanOuterClass.Auth.Builder builderForValue) { - if (authBuilder_ == null) { - auth_ = builderForValue.build(); - onChanged(); - } else { - authBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeAuth(flyteidl.admin.LaunchPlanOuterClass.Auth value) { - if (authBuilder_ == null) { - if (auth_ != null) { - auth_ = - flyteidl.admin.LaunchPlanOuterClass.Auth.newBuilder(auth_).mergeFrom(value).buildPartial(); - } else { - auth_ = value; - } - onChanged(); - } else { - authBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearAuth() { - if (authBuilder_ == null) { - auth_ = null; - onChanged(); - } else { - auth_ = null; - authBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.LaunchPlanOuterClass.Auth.Builder getAuthBuilder() { - - onChanged(); - return getAuthFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.LaunchPlanOuterClass.AuthOrBuilder getAuthOrBuilder() { - if (authBuilder_ != null) { - return authBuilder_.getMessageOrBuilder(); - } else { - return auth_ == null ? - flyteidl.admin.LaunchPlanOuterClass.Auth.getDefaultInstance() : auth_; - } - } - /** - *
-       * Indicates the permission associated with workflow executions triggered with this launch plan.
-       * 
- * - * .flyteidl.admin.Auth auth = 8 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.Auth, flyteidl.admin.LaunchPlanOuterClass.Auth.Builder, flyteidl.admin.LaunchPlanOuterClass.AuthOrBuilder> - getAuthFieldBuilder() { - if (authBuilder_ == null) { - authBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.LaunchPlanOuterClass.Auth, flyteidl.admin.LaunchPlanOuterClass.Auth.Builder, flyteidl.admin.LaunchPlanOuterClass.AuthOrBuilder>( - getAuth(), - getParentForChildren(), - isClean()); - auth_ = null; - } - return authBuilder_; - } - - private flyteidl.admin.Common.AuthRole authRole_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.AuthRole, flyteidl.admin.Common.AuthRole.Builder, flyteidl.admin.Common.AuthRoleOrBuilder> authRoleBuilder_; - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasAuthRole() { - return authRoleBuilder_ != null || authRole_ != null; - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRole getAuthRole() { - if (authRoleBuilder_ == null) { - return authRole_ == null ? flyteidl.admin.Common.AuthRole.getDefaultInstance() : authRole_; - } else { - return authRoleBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAuthRole(flyteidl.admin.Common.AuthRole value) { - if (authRoleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - authRole_ = value; - onChanged(); - } else { - authRoleBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setAuthRole( - flyteidl.admin.Common.AuthRole.Builder builderForValue) { - if (authRoleBuilder_ == null) { - authRole_ = builderForValue.build(); - onChanged(); - } else { - authRoleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeAuthRole(flyteidl.admin.Common.AuthRole value) { - if (authRoleBuilder_ == null) { - if (authRole_ != null) { - authRole_ = - flyteidl.admin.Common.AuthRole.newBuilder(authRole_).mergeFrom(value).buildPartial(); - } else { - authRole_ = value; - } - onChanged(); - } else { - authRoleBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearAuthRole() { - if (authRoleBuilder_ == null) { - authRole_ = null; - onChanged(); - } else { - authRole_ = null; - authRoleBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRole.Builder getAuthRoleBuilder() { - - onChanged(); - return getAuthRoleFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.AuthRoleOrBuilder getAuthRoleOrBuilder() { - if (authRoleBuilder_ != null) { - return authRoleBuilder_.getMessageOrBuilder(); - } else { - return authRole_ == null ? - flyteidl.admin.Common.AuthRole.getDefaultInstance() : authRole_; - } - } - /** - * .flyteidl.admin.AuthRole auth_role = 9 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.AuthRole, flyteidl.admin.Common.AuthRole.Builder, flyteidl.admin.Common.AuthRoleOrBuilder> - getAuthRoleFieldBuilder() { - if (authRoleBuilder_ == null) { - authRoleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.AuthRole, flyteidl.admin.Common.AuthRole.Builder, flyteidl.admin.Common.AuthRoleOrBuilder>( - getAuthRole(), - getParentForChildren(), - isClean()); - authRole_ = null; - } - return authRoleBuilder_; - } - - private flyteidl.core.Security.SecurityContext securityContext_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> securityContextBuilder_; - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public boolean hasSecurityContext() { - return securityContextBuilder_ != null || securityContext_ != null; - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - if (securityContextBuilder_ == null) { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } else { - return securityContextBuilder_.getMessage(); - } - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder setSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - securityContext_ = value; - onChanged(); - } else { - securityContextBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder setSecurityContext( - flyteidl.core.Security.SecurityContext.Builder builderForValue) { - if (securityContextBuilder_ == null) { - securityContext_ = builderForValue.build(); - onChanged(); - } else { - securityContextBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder mergeSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (securityContext_ != null) { - securityContext_ = - flyteidl.core.Security.SecurityContext.newBuilder(securityContext_).mergeFrom(value).buildPartial(); - } else { - securityContext_ = value; - } - onChanged(); - } else { - securityContextBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public Builder clearSecurityContext() { - if (securityContextBuilder_ == null) { - securityContext_ = null; - onChanged(); - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContext.Builder getSecurityContextBuilder() { - - onChanged(); - return getSecurityContextFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - if (securityContextBuilder_ != null) { - return securityContextBuilder_.getMessageOrBuilder(); - } else { - return securityContext_ == null ? - flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - } - /** - *
-       * Indicates security context for permissions triggered with this launch plan
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> - getSecurityContextFieldBuilder() { - if (securityContextBuilder_ == null) { - securityContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder>( - getSecurityContext(), - getParentForChildren(), - isClean()); - securityContext_ = null; - } - return securityContextBuilder_; - } - - private flyteidl.core.Execution.QualityOfService qualityOfService_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> qualityOfServiceBuilder_; - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public boolean hasQualityOfService() { - return qualityOfServiceBuilder_ != null || qualityOfService_ != null; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - return qualityOfService_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } else { - return qualityOfServiceBuilder_.getMessage(); - } - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public Builder setQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - qualityOfService_ = value; - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public Builder setQualityOfService( - flyteidl.core.Execution.QualityOfService.Builder builderForValue) { - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = builderForValue.build(); - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public Builder mergeQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (qualityOfService_ != null) { - qualityOfService_ = - flyteidl.core.Execution.QualityOfService.newBuilder(qualityOfService_).mergeFrom(value).buildPartial(); - } else { - qualityOfService_ = value; - } - onChanged(); - } else { - qualityOfServiceBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public Builder clearQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = null; - onChanged(); - } else { - qualityOfService_ = null; - qualityOfServiceBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public flyteidl.core.Execution.QualityOfService.Builder getQualityOfServiceBuilder() { - - onChanged(); - return getQualityOfServiceFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - if (qualityOfServiceBuilder_ != null) { - return qualityOfServiceBuilder_.getMessageOrBuilder(); - } else { - return qualityOfService_ == null ? - flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } - } - /** - *
-       * Indicates the runtime priority of the execution.
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 16; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> - getQualityOfServiceFieldBuilder() { - if (qualityOfServiceBuilder_ == null) { - qualityOfServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder>( - getQualityOfService(), - getParentForChildren(), - isClean()); - qualityOfService_ = null; - } - return qualityOfServiceBuilder_; - } - - private flyteidl.admin.Common.RawOutputDataConfig rawOutputDataConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder> rawOutputDataConfigBuilder_; - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public boolean hasRawOutputDataConfig() { - return rawOutputDataConfigBuilder_ != null || rawOutputDataConfig_ != null; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig() { - if (rawOutputDataConfigBuilder_ == null) { - return rawOutputDataConfig_ == null ? flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } else { - return rawOutputDataConfigBuilder_.getMessage(); - } - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public Builder setRawOutputDataConfig(flyteidl.admin.Common.RawOutputDataConfig value) { - if (rawOutputDataConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rawOutputDataConfig_ = value; - onChanged(); - } else { - rawOutputDataConfigBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public Builder setRawOutputDataConfig( - flyteidl.admin.Common.RawOutputDataConfig.Builder builderForValue) { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = builderForValue.build(); - onChanged(); - } else { - rawOutputDataConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public Builder mergeRawOutputDataConfig(flyteidl.admin.Common.RawOutputDataConfig value) { - if (rawOutputDataConfigBuilder_ == null) { - if (rawOutputDataConfig_ != null) { - rawOutputDataConfig_ = - flyteidl.admin.Common.RawOutputDataConfig.newBuilder(rawOutputDataConfig_).mergeFrom(value).buildPartial(); - } else { - rawOutputDataConfig_ = value; - } - onChanged(); - } else { - rawOutputDataConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public Builder clearRawOutputDataConfig() { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = null; - onChanged(); - } else { - rawOutputDataConfig_ = null; - rawOutputDataConfigBuilder_ = null; - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public flyteidl.admin.Common.RawOutputDataConfig.Builder getRawOutputDataConfigBuilder() { - - onChanged(); - return getRawOutputDataConfigFieldBuilder().getBuilder(); - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - public flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder() { - if (rawOutputDataConfigBuilder_ != null) { - return rawOutputDataConfigBuilder_.getMessageOrBuilder(); - } else { - return rawOutputDataConfig_ == null ? - flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 17; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder> - getRawOutputDataConfigFieldBuilder() { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder>( - getRawOutputDataConfig(), - getParentForChildren(), - isClean()); - rawOutputDataConfig_ = null; - } - return rawOutputDataConfigBuilder_; - } - - private int maxParallelism_ ; - /** - *
-       * Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.
-       * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-       * and parallelism/concurrency of MapTasks is independent from this.
-       * 
- * - * int32 max_parallelism = 18; - */ - public int getMaxParallelism() { - return maxParallelism_; - } - /** - *
-       * Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.
-       * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-       * and parallelism/concurrency of MapTasks is independent from this.
-       * 
- * - * int32 max_parallelism = 18; - */ - public Builder setMaxParallelism(int value) { - - maxParallelism_ = value; - onChanged(); - return this; - } - /** - *
-       * Controls the maximum number of tasknodes that can be run in parallel for the entire workflow.
-       * This is useful to achieve fairness. Note: MapTasks are regarded as one unit,
-       * and parallelism/concurrency of MapTasks is independent from this.
-       * 
- * - * int32 max_parallelism = 18; - */ - public Builder clearMaxParallelism() { - - maxParallelism_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.BoolValue interruptible_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> interruptibleBuilder_; - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public boolean hasInterruptible() { - return interruptibleBuilder_ != null || interruptible_ != null; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public com.google.protobuf.BoolValue getInterruptible() { - if (interruptibleBuilder_ == null) { - return interruptible_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } else { - return interruptibleBuilder_.getMessage(); - } - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public Builder setInterruptible(com.google.protobuf.BoolValue value) { - if (interruptibleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - interruptible_ = value; - onChanged(); - } else { - interruptibleBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public Builder setInterruptible( - com.google.protobuf.BoolValue.Builder builderForValue) { - if (interruptibleBuilder_ == null) { - interruptible_ = builderForValue.build(); - onChanged(); - } else { - interruptibleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public Builder mergeInterruptible(com.google.protobuf.BoolValue value) { - if (interruptibleBuilder_ == null) { - if (interruptible_ != null) { - interruptible_ = - com.google.protobuf.BoolValue.newBuilder(interruptible_).mergeFrom(value).buildPartial(); - } else { - interruptible_ = value; - } - onChanged(); - } else { - interruptibleBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public Builder clearInterruptible() { - if (interruptibleBuilder_ == null) { - interruptible_ = null; - onChanged(); - } else { - interruptible_ = null; - interruptibleBuilder_ = null; - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public com.google.protobuf.BoolValue.Builder getInterruptibleBuilder() { - - onChanged(); - return getInterruptibleFieldBuilder().getBuilder(); - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - public com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder() { - if (interruptibleBuilder_ != null) { - return interruptibleBuilder_.getMessageOrBuilder(); - } else { - return interruptible_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 19; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> - getInterruptibleFieldBuilder() { - if (interruptibleBuilder_ == null) { - interruptibleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( - getInterruptible(), - getParentForChildren(), - isClean()); - interruptible_ = null; - } - return interruptibleBuilder_; - } - - private boolean overwriteCache_ ; - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 20; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 20; - */ - public Builder setOverwriteCache(boolean value) { - - overwriteCache_ = value; - onChanged(); - return this; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 20; - */ - public Builder clearOverwriteCache() { - - overwriteCache_ = false; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Envs envs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> envsBuilder_; - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public boolean hasEnvs() { - return envsBuilder_ != null || envs_ != null; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public flyteidl.admin.Common.Envs getEnvs() { - if (envsBuilder_ == null) { - return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } else { - return envsBuilder_.getMessage(); - } - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public Builder setEnvs(flyteidl.admin.Common.Envs value) { - if (envsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - envs_ = value; - onChanged(); - } else { - envsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public Builder setEnvs( - flyteidl.admin.Common.Envs.Builder builderForValue) { - if (envsBuilder_ == null) { - envs_ = builderForValue.build(); - onChanged(); - } else { - envsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public Builder mergeEnvs(flyteidl.admin.Common.Envs value) { - if (envsBuilder_ == null) { - if (envs_ != null) { - envs_ = - flyteidl.admin.Common.Envs.newBuilder(envs_).mergeFrom(value).buildPartial(); - } else { - envs_ = value; - } - onChanged(); - } else { - envsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public Builder clearEnvs() { - if (envsBuilder_ == null) { - envs_ = null; - onChanged(); - } else { - envs_ = null; - envsBuilder_ = null; - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public flyteidl.admin.Common.Envs.Builder getEnvsBuilder() { - - onChanged(); - return getEnvsFieldBuilder().getBuilder(); - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { - if (envsBuilder_ != null) { - return envsBuilder_.getMessageOrBuilder(); - } else { - return envs_ == null ? - flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 21; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> - getEnvsFieldBuilder() { - if (envsBuilder_ == null) { - envsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder>( - getEnvs(), - getParentForChildren(), - isClean()); - envs_ = null; - } - return envsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanSpec) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanSpec(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanClosureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanClosure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicate the Launch plan state. 
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - int getStateValue(); - /** - *
-     * Indicate the Launch plan state. 
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState getState(); - - /** - *
-     * Indicates the set of inputs expected when creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - boolean hasExpectedInputs(); - /** - *
-     * Indicates the set of inputs expected when creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - flyteidl.core.Interface.ParameterMap getExpectedInputs(); - /** - *
-     * Indicates the set of inputs expected when creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - flyteidl.core.Interface.ParameterMapOrBuilder getExpectedInputsOrBuilder(); - - /** - *
-     * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - boolean hasExpectedOutputs(); - /** - *
-     * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - flyteidl.core.Interface.VariableMap getExpectedOutputs(); - /** - *
-     * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - flyteidl.core.Interface.VariableMapOrBuilder getExpectedOutputsOrBuilder(); - - /** - *
-     * Time at which the launch plan was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - boolean hasCreatedAt(); - /** - *
-     * Time at which the launch plan was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - com.google.protobuf.Timestamp getCreatedAt(); - /** - *
-     * Time at which the launch plan was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); - - /** - *
-     * Time at which the launch plan was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - boolean hasUpdatedAt(); - /** - *
-     * Time at which the launch plan was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - com.google.protobuf.Timestamp getUpdatedAt(); - /** - *
-     * Time at which the launch plan was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder(); - } - /** - *
-   * Values computed by the flyte platform after launch plan registration.
-   * These include expected_inputs required to be present in a CreateExecutionRequest
-   * to launch the reference workflow as well timestamp values associated with the launch plan.
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanClosure} - */ - public static final class LaunchPlanClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanClosure) - LaunchPlanClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanClosure.newBuilder() to construct. - private LaunchPlanClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanClosure() { - state_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanClosure( - 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(); - - state_ = rawValue; - break; - } - case 18: { - flyteidl.core.Interface.ParameterMap.Builder subBuilder = null; - if (expectedInputs_ != null) { - subBuilder = expectedInputs_.toBuilder(); - } - expectedInputs_ = input.readMessage(flyteidl.core.Interface.ParameterMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expectedInputs_); - expectedInputs_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Interface.VariableMap.Builder subBuilder = null; - if (expectedOutputs_ != null) { - subBuilder = expectedOutputs_.toBuilder(); - } - expectedOutputs_ = input.readMessage(flyteidl.core.Interface.VariableMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expectedOutputs_); - expectedOutputs_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createdAt_ != null) { - subBuilder = createdAt_.toBuilder(); - } - createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createdAt_); - createdAt_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updatedAt_ != null) { - subBuilder = updatedAt_.toBuilder(); - } - updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updatedAt_); - updatedAt_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder.class); - } - - public static final int STATE_FIELD_NUMBER = 1; - private int state_; - /** - *
-     * Indicate the Launch plan state. 
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - public int getStateValue() { - return state_; - } - /** - *
-     * Indicate the Launch plan state. 
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState result = flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.valueOf(state_); - return result == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.UNRECOGNIZED : result; - } - - public static final int EXPECTED_INPUTS_FIELD_NUMBER = 2; - private flyteidl.core.Interface.ParameterMap expectedInputs_; - /** - *
-     * Indicates the set of inputs expected when creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public boolean hasExpectedInputs() { - return expectedInputs_ != null; - } - /** - *
-     * Indicates the set of inputs expected when creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public flyteidl.core.Interface.ParameterMap getExpectedInputs() { - return expectedInputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : expectedInputs_; - } - /** - *
-     * Indicates the set of inputs expected when creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public flyteidl.core.Interface.ParameterMapOrBuilder getExpectedInputsOrBuilder() { - return getExpectedInputs(); - } - - public static final int EXPECTED_OUTPUTS_FIELD_NUMBER = 3; - private flyteidl.core.Interface.VariableMap expectedOutputs_; - /** - *
-     * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public boolean hasExpectedOutputs() { - return expectedOutputs_ != null; - } - /** - *
-     * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public flyteidl.core.Interface.VariableMap getExpectedOutputs() { - return expectedOutputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : expectedOutputs_; - } - /** - *
-     * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-     * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public flyteidl.core.Interface.VariableMapOrBuilder getExpectedOutputsOrBuilder() { - return getExpectedOutputs(); - } - - public static final int CREATED_AT_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp createdAt_; - /** - *
-     * Time at which the launch plan was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public boolean hasCreatedAt() { - return createdAt_ != null; - } - /** - *
-     * Time at which the launch plan was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - /** - *
-     * Time at which the launch plan was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - return getCreatedAt(); - } - - public static final int UPDATED_AT_FIELD_NUMBER = 5; - private com.google.protobuf.Timestamp updatedAt_; - /** - *
-     * Time at which the launch plan was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public boolean hasUpdatedAt() { - return updatedAt_ != null; - } - /** - *
-     * Time at which the launch plan was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - /** - *
-     * Time at which the launch plan was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - return getUpdatedAt(); - } - - 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 (state_ != flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.INACTIVE.getNumber()) { - output.writeEnum(1, state_); - } - if (expectedInputs_ != null) { - output.writeMessage(2, getExpectedInputs()); - } - if (expectedOutputs_ != null) { - output.writeMessage(3, getExpectedOutputs()); - } - if (createdAt_ != null) { - output.writeMessage(4, getCreatedAt()); - } - if (updatedAt_ != null) { - output.writeMessage(5, getUpdatedAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (state_ != flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.INACTIVE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); - } - if (expectedInputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpectedInputs()); - } - if (expectedOutputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getExpectedOutputs()); - } - if (createdAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreatedAt()); - } - if (updatedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdatedAt()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure) obj; - - if (state_ != other.state_) return false; - if (hasExpectedInputs() != other.hasExpectedInputs()) return false; - if (hasExpectedInputs()) { - if (!getExpectedInputs() - .equals(other.getExpectedInputs())) return false; - } - if (hasExpectedOutputs() != other.hasExpectedOutputs()) return false; - if (hasExpectedOutputs()) { - if (!getExpectedOutputs() - .equals(other.getExpectedOutputs())) return false; - } - if (hasCreatedAt() != other.hasCreatedAt()) return false; - if (hasCreatedAt()) { - if (!getCreatedAt() - .equals(other.getCreatedAt())) return false; - } - if (hasUpdatedAt() != other.hasUpdatedAt()) return false; - if (hasUpdatedAt()) { - if (!getUpdatedAt() - .equals(other.getUpdatedAt())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - if (hasExpectedInputs()) { - hash = (37 * hash) + EXPECTED_INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getExpectedInputs().hashCode(); - } - if (hasExpectedOutputs()) { - hash = (37 * hash) + EXPECTED_OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getExpectedOutputs().hashCode(); - } - if (hasCreatedAt()) { - hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getCreatedAt().hashCode(); - } - if (hasUpdatedAt()) { - hash = (37 * hash) + UPDATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getUpdatedAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure 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; - } - /** - *
-     * Values computed by the flyte platform after launch plan registration.
-     * These include expected_inputs required to be present in a CreateExecutionRequest
-     * to launch the reference workflow as well timestamp values associated with the launch plan.
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanClosure) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.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(); - state_ = 0; - - if (expectedInputsBuilder_ == null) { - expectedInputs_ = null; - } else { - expectedInputs_ = null; - expectedInputsBuilder_ = null; - } - if (expectedOutputsBuilder_ == null) { - expectedOutputs_ = null; - } else { - expectedOutputs_ = null; - expectedOutputsBuilder_ = null; - } - if (createdAtBuilder_ == null) { - createdAt_ = null; - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanClosure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure(this); - result.state_ = state_; - if (expectedInputsBuilder_ == null) { - result.expectedInputs_ = expectedInputs_; - } else { - result.expectedInputs_ = expectedInputsBuilder_.build(); - } - if (expectedOutputsBuilder_ == null) { - result.expectedOutputs_ = expectedOutputs_; - } else { - result.expectedOutputs_ = expectedOutputsBuilder_.build(); - } - if (createdAtBuilder_ == null) { - result.createdAt_ = createdAt_; - } else { - result.createdAt_ = createdAtBuilder_.build(); - } - if (updatedAtBuilder_ == null) { - result.updatedAt_ = updatedAt_; - } else { - result.updatedAt_ = updatedAtBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure.getDefaultInstance()) return this; - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - if (other.hasExpectedInputs()) { - mergeExpectedInputs(other.getExpectedInputs()); - } - if (other.hasExpectedOutputs()) { - mergeExpectedOutputs(other.getExpectedOutputs()); - } - if (other.hasCreatedAt()) { - mergeCreatedAt(other.getCreatedAt()); - } - if (other.hasUpdatedAt()) { - mergeUpdatedAt(other.getUpdatedAt()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int state_ = 0; - /** - *
-       * Indicate the Launch plan state. 
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - public int getStateValue() { - return state_; - } - /** - *
-       * Indicate the Launch plan state. 
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicate the Launch plan state. 
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState result = flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.valueOf(state_); - return result == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.UNRECOGNIZED : result; - } - /** - *
-       * Indicate the Launch plan state. 
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - public Builder setState(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Indicate the Launch plan state. 
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 1; - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Interface.ParameterMap expectedInputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> expectedInputsBuilder_; - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public boolean hasExpectedInputs() { - return expectedInputsBuilder_ != null || expectedInputs_ != null; - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public flyteidl.core.Interface.ParameterMap getExpectedInputs() { - if (expectedInputsBuilder_ == null) { - return expectedInputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : expectedInputs_; - } else { - return expectedInputsBuilder_.getMessage(); - } - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public Builder setExpectedInputs(flyteidl.core.Interface.ParameterMap value) { - if (expectedInputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expectedInputs_ = value; - onChanged(); - } else { - expectedInputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public Builder setExpectedInputs( - flyteidl.core.Interface.ParameterMap.Builder builderForValue) { - if (expectedInputsBuilder_ == null) { - expectedInputs_ = builderForValue.build(); - onChanged(); - } else { - expectedInputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public Builder mergeExpectedInputs(flyteidl.core.Interface.ParameterMap value) { - if (expectedInputsBuilder_ == null) { - if (expectedInputs_ != null) { - expectedInputs_ = - flyteidl.core.Interface.ParameterMap.newBuilder(expectedInputs_).mergeFrom(value).buildPartial(); - } else { - expectedInputs_ = value; - } - onChanged(); - } else { - expectedInputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public Builder clearExpectedInputs() { - if (expectedInputsBuilder_ == null) { - expectedInputs_ = null; - onChanged(); - } else { - expectedInputs_ = null; - expectedInputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public flyteidl.core.Interface.ParameterMap.Builder getExpectedInputsBuilder() { - - onChanged(); - return getExpectedInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - public flyteidl.core.Interface.ParameterMapOrBuilder getExpectedInputsOrBuilder() { - if (expectedInputsBuilder_ != null) { - return expectedInputsBuilder_.getMessageOrBuilder(); - } else { - return expectedInputs_ == null ? - flyteidl.core.Interface.ParameterMap.getDefaultInstance() : expectedInputs_; - } - } - /** - *
-       * Indicates the set of inputs expected when creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.ParameterMap expected_inputs = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> - getExpectedInputsFieldBuilder() { - if (expectedInputsBuilder_ == null) { - expectedInputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder>( - getExpectedInputs(), - getParentForChildren(), - isClean()); - expectedInputs_ = null; - } - return expectedInputsBuilder_; - } - - private flyteidl.core.Interface.VariableMap expectedOutputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> expectedOutputsBuilder_; - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public boolean hasExpectedOutputs() { - return expectedOutputsBuilder_ != null || expectedOutputs_ != null; - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public flyteidl.core.Interface.VariableMap getExpectedOutputs() { - if (expectedOutputsBuilder_ == null) { - return expectedOutputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : expectedOutputs_; - } else { - return expectedOutputsBuilder_.getMessage(); - } - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public Builder setExpectedOutputs(flyteidl.core.Interface.VariableMap value) { - if (expectedOutputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expectedOutputs_ = value; - onChanged(); - } else { - expectedOutputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public Builder setExpectedOutputs( - flyteidl.core.Interface.VariableMap.Builder builderForValue) { - if (expectedOutputsBuilder_ == null) { - expectedOutputs_ = builderForValue.build(); - onChanged(); - } else { - expectedOutputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public Builder mergeExpectedOutputs(flyteidl.core.Interface.VariableMap value) { - if (expectedOutputsBuilder_ == null) { - if (expectedOutputs_ != null) { - expectedOutputs_ = - flyteidl.core.Interface.VariableMap.newBuilder(expectedOutputs_).mergeFrom(value).buildPartial(); - } else { - expectedOutputs_ = value; - } - onChanged(); - } else { - expectedOutputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public Builder clearExpectedOutputs() { - if (expectedOutputsBuilder_ == null) { - expectedOutputs_ = null; - onChanged(); - } else { - expectedOutputs_ = null; - expectedOutputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public flyteidl.core.Interface.VariableMap.Builder getExpectedOutputsBuilder() { - - onChanged(); - return getExpectedOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - public flyteidl.core.Interface.VariableMapOrBuilder getExpectedOutputsOrBuilder() { - if (expectedOutputsBuilder_ != null) { - return expectedOutputsBuilder_.getMessageOrBuilder(); - } else { - return expectedOutputs_ == null ? - flyteidl.core.Interface.VariableMap.getDefaultInstance() : expectedOutputs_; - } - } - /** - *
-       * Indicates the set of outputs expected to be produced by creating an execution with the Launch plan
-       * 
- * - * .flyteidl.core.VariableMap expected_outputs = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> - getExpectedOutputsFieldBuilder() { - if (expectedOutputsBuilder_ == null) { - expectedOutputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder>( - getExpectedOutputs(), - getParentForChildren(), - isClean()); - expectedOutputs_ = null; - } - return expectedOutputsBuilder_; - } - - private com.google.protobuf.Timestamp createdAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public boolean hasCreatedAt() { - return createdAtBuilder_ != null || createdAt_ != null; - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - if (createdAtBuilder_ == null) { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } else { - return createdAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public Builder setCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createdAt_ = value; - onChanged(); - } else { - createdAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public Builder setCreatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (createdAtBuilder_ == null) { - createdAt_ = builderForValue.build(); - onChanged(); - } else { - createdAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (createdAt_ != null) { - createdAt_ = - com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); - } else { - createdAt_ = value; - } - onChanged(); - } else { - createdAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public Builder clearCreatedAt() { - if (createdAtBuilder_ == null) { - createdAt_ = null; - onChanged(); - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { - - onChanged(); - return getCreatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - if (createdAtBuilder_ != null) { - return createdAtBuilder_.getMessageOrBuilder(); - } else { - return createdAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - } - /** - *
-       * Time at which the launch plan was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreatedAtFieldBuilder() { - if (createdAtBuilder_ == null) { - createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreatedAt(), - getParentForChildren(), - isClean()); - createdAt_ = null; - } - return createdAtBuilder_; - } - - private com.google.protobuf.Timestamp updatedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_; - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public boolean hasUpdatedAt() { - return updatedAtBuilder_ != null || updatedAt_ != null; - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - if (updatedAtBuilder_ == null) { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } else { - return updatedAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public Builder setUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updatedAt_ = value; - onChanged(); - } else { - updatedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public Builder setUpdatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (updatedAtBuilder_ == null) { - updatedAt_ = builderForValue.build(); - onChanged(); - } else { - updatedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (updatedAt_ != null) { - updatedAt_ = - com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial(); - } else { - updatedAt_ = value; - } - onChanged(); - } else { - updatedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public Builder clearUpdatedAt() { - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - onChanged(); - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() { - - onChanged(); - return getUpdatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - if (updatedAtBuilder_ != null) { - return updatedAtBuilder_.getMessageOrBuilder(); - } else { - return updatedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - } - /** - *
-       * Time at which the launch plan was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdatedAtFieldBuilder() { - if (updatedAtBuilder_ == null) { - updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdatedAt(), - getParentForChildren(), - isClean()); - updatedAt_ = null; - } - return updatedAtBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanClosure) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanClosure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Schedule to execute the Launch Plan
-     * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - boolean hasSchedule(); - /** - *
-     * Schedule to execute the Launch Plan
-     * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - flyteidl.admin.ScheduleOuterClass.Schedule getSchedule(); - /** - *
-     * Schedule to execute the Launch Plan
-     * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - flyteidl.admin.ScheduleOuterClass.ScheduleOrBuilder getScheduleOrBuilder(); - - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - java.util.List - getNotificationsList(); - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - flyteidl.admin.Common.Notification getNotifications(int index); - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - int getNotificationsCount(); - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - java.util.List - getNotificationsOrBuilderList(); - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index); - - /** - *
-     * Additional metadata for how to launch the launch plan
-     * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - boolean hasLaunchConditions(); - /** - *
-     * Additional metadata for how to launch the launch plan
-     * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - com.google.protobuf.Any getLaunchConditions(); - /** - *
-     * Additional metadata for how to launch the launch plan
-     * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - com.google.protobuf.AnyOrBuilder getLaunchConditionsOrBuilder(); - } - /** - *
-   * Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch
-   * the reference workflow.
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanMetadata} - */ - public static final class LaunchPlanMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanMetadata) - LaunchPlanMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanMetadata.newBuilder() to construct. - private LaunchPlanMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanMetadata() { - notifications_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.ScheduleOuterClass.Schedule.Builder subBuilder = null; - if (schedule_ != null) { - subBuilder = schedule_.toBuilder(); - } - schedule_ = input.readMessage(flyteidl.admin.ScheduleOuterClass.Schedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(schedule_); - schedule_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - notifications_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - notifications_.add( - input.readMessage(flyteidl.admin.Common.Notification.parser(), extensionRegistry)); - break; - } - case 26: { - com.google.protobuf.Any.Builder subBuilder = null; - if (launchConditions_ != null) { - subBuilder = launchConditions_.toBuilder(); - } - launchConditions_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(launchConditions_); - launchConditions_ = 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 { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - notifications_ = java.util.Collections.unmodifiableList(notifications_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder.class); - } - - private int bitField0_; - public static final int SCHEDULE_FIELD_NUMBER = 1; - private flyteidl.admin.ScheduleOuterClass.Schedule schedule_; - /** - *
-     * Schedule to execute the Launch Plan
-     * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public boolean hasSchedule() { - return schedule_ != null; - } - /** - *
-     * Schedule to execute the Launch Plan
-     * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public flyteidl.admin.ScheduleOuterClass.Schedule getSchedule() { - return schedule_ == null ? flyteidl.admin.ScheduleOuterClass.Schedule.getDefaultInstance() : schedule_; - } - /** - *
-     * Schedule to execute the Launch Plan
-     * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public flyteidl.admin.ScheduleOuterClass.ScheduleOrBuilder getScheduleOrBuilder() { - return getSchedule(); - } - - public static final int NOTIFICATIONS_FIELD_NUMBER = 2; - private java.util.List notifications_; - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public java.util.List getNotificationsList() { - return notifications_; - } - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public java.util.List - getNotificationsOrBuilderList() { - return notifications_; - } - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public int getNotificationsCount() { - return notifications_.size(); - } - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public flyteidl.admin.Common.Notification getNotifications(int index) { - return notifications_.get(index); - } - /** - *
-     * List of notifications based on Execution status transitions
-     * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index) { - return notifications_.get(index); - } - - public static final int LAUNCH_CONDITIONS_FIELD_NUMBER = 3; - private com.google.protobuf.Any launchConditions_; - /** - *
-     * Additional metadata for how to launch the launch plan
-     * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public boolean hasLaunchConditions() { - return launchConditions_ != null; - } - /** - *
-     * Additional metadata for how to launch the launch plan
-     * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public com.google.protobuf.Any getLaunchConditions() { - return launchConditions_ == null ? com.google.protobuf.Any.getDefaultInstance() : launchConditions_; - } - /** - *
-     * Additional metadata for how to launch the launch plan
-     * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public com.google.protobuf.AnyOrBuilder getLaunchConditionsOrBuilder() { - return getLaunchConditions(); - } - - 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 (schedule_ != null) { - output.writeMessage(1, getSchedule()); - } - for (int i = 0; i < notifications_.size(); i++) { - output.writeMessage(2, notifications_.get(i)); - } - if (launchConditions_ != null) { - output.writeMessage(3, getLaunchConditions()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (schedule_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSchedule()); - } - for (int i = 0; i < notifications_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, notifications_.get(i)); - } - if (launchConditions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLaunchConditions()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata) obj; - - if (hasSchedule() != other.hasSchedule()) return false; - if (hasSchedule()) { - if (!getSchedule() - .equals(other.getSchedule())) return false; - } - if (!getNotificationsList() - .equals(other.getNotificationsList())) return false; - if (hasLaunchConditions() != other.hasLaunchConditions()) return false; - if (hasLaunchConditions()) { - if (!getLaunchConditions() - .equals(other.getLaunchConditions())) 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 (hasSchedule()) { - hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; - hash = (53 * hash) + getSchedule().hashCode(); - } - if (getNotificationsCount() > 0) { - hash = (37 * hash) + NOTIFICATIONS_FIELD_NUMBER; - hash = (53 * hash) + getNotificationsList().hashCode(); - } - if (hasLaunchConditions()) { - hash = (37 * hash) + LAUNCH_CONDITIONS_FIELD_NUMBER; - hash = (53 * hash) + getLaunchConditions().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata 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; - } - /** - *
-     * Additional launch plan attributes included in the LaunchPlanSpec not strictly required to launch
-     * the reference workflow.
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanMetadata) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNotificationsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (scheduleBuilder_ == null) { - schedule_ = null; - } else { - schedule_ = null; - scheduleBuilder_ = null; - } - if (notificationsBuilder_ == null) { - notifications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - notificationsBuilder_.clear(); - } - if (launchConditionsBuilder_ == null) { - launchConditions_ = null; - } else { - launchConditions_ = null; - launchConditionsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (scheduleBuilder_ == null) { - result.schedule_ = schedule_; - } else { - result.schedule_ = scheduleBuilder_.build(); - } - if (notificationsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - notifications_ = java.util.Collections.unmodifiableList(notifications_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.notifications_ = notifications_; - } else { - result.notifications_ = notificationsBuilder_.build(); - } - if (launchConditionsBuilder_ == null) { - result.launchConditions_ = launchConditions_; - } else { - result.launchConditions_ = launchConditionsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata.getDefaultInstance()) return this; - if (other.hasSchedule()) { - mergeSchedule(other.getSchedule()); - } - if (notificationsBuilder_ == null) { - if (!other.notifications_.isEmpty()) { - if (notifications_.isEmpty()) { - notifications_ = other.notifications_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureNotificationsIsMutable(); - notifications_.addAll(other.notifications_); - } - onChanged(); - } - } else { - if (!other.notifications_.isEmpty()) { - if (notificationsBuilder_.isEmpty()) { - notificationsBuilder_.dispose(); - notificationsBuilder_ = null; - notifications_ = other.notifications_; - bitField0_ = (bitField0_ & ~0x00000002); - notificationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNotificationsFieldBuilder() : null; - } else { - notificationsBuilder_.addAllMessages(other.notifications_); - } - } - } - if (other.hasLaunchConditions()) { - mergeLaunchConditions(other.getLaunchConditions()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.admin.ScheduleOuterClass.Schedule schedule_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.Schedule, flyteidl.admin.ScheduleOuterClass.Schedule.Builder, flyteidl.admin.ScheduleOuterClass.ScheduleOrBuilder> scheduleBuilder_; - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public boolean hasSchedule() { - return scheduleBuilder_ != null || schedule_ != null; - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public flyteidl.admin.ScheduleOuterClass.Schedule getSchedule() { - if (scheduleBuilder_ == null) { - return schedule_ == null ? flyteidl.admin.ScheduleOuterClass.Schedule.getDefaultInstance() : schedule_; - } else { - return scheduleBuilder_.getMessage(); - } - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public Builder setSchedule(flyteidl.admin.ScheduleOuterClass.Schedule value) { - if (scheduleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - schedule_ = value; - onChanged(); - } else { - scheduleBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public Builder setSchedule( - flyteidl.admin.ScheduleOuterClass.Schedule.Builder builderForValue) { - if (scheduleBuilder_ == null) { - schedule_ = builderForValue.build(); - onChanged(); - } else { - scheduleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public Builder mergeSchedule(flyteidl.admin.ScheduleOuterClass.Schedule value) { - if (scheduleBuilder_ == null) { - if (schedule_ != null) { - schedule_ = - flyteidl.admin.ScheduleOuterClass.Schedule.newBuilder(schedule_).mergeFrom(value).buildPartial(); - } else { - schedule_ = value; - } - onChanged(); - } else { - scheduleBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public Builder clearSchedule() { - if (scheduleBuilder_ == null) { - schedule_ = null; - onChanged(); - } else { - schedule_ = null; - scheduleBuilder_ = null; - } - - return this; - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public flyteidl.admin.ScheduleOuterClass.Schedule.Builder getScheduleBuilder() { - - onChanged(); - return getScheduleFieldBuilder().getBuilder(); - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - public flyteidl.admin.ScheduleOuterClass.ScheduleOrBuilder getScheduleOrBuilder() { - if (scheduleBuilder_ != null) { - return scheduleBuilder_.getMessageOrBuilder(); - } else { - return schedule_ == null ? - flyteidl.admin.ScheduleOuterClass.Schedule.getDefaultInstance() : schedule_; - } - } - /** - *
-       * Schedule to execute the Launch Plan
-       * 
- * - * .flyteidl.admin.Schedule schedule = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.Schedule, flyteidl.admin.ScheduleOuterClass.Schedule.Builder, flyteidl.admin.ScheduleOuterClass.ScheduleOrBuilder> - getScheduleFieldBuilder() { - if (scheduleBuilder_ == null) { - scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.Schedule, flyteidl.admin.ScheduleOuterClass.Schedule.Builder, flyteidl.admin.ScheduleOuterClass.ScheduleOrBuilder>( - getSchedule(), - getParentForChildren(), - isClean()); - schedule_ = null; - } - return scheduleBuilder_; - } - - private java.util.List notifications_ = - java.util.Collections.emptyList(); - private void ensureNotificationsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - notifications_ = new java.util.ArrayList(notifications_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder> notificationsBuilder_; - - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public java.util.List getNotificationsList() { - if (notificationsBuilder_ == null) { - return java.util.Collections.unmodifiableList(notifications_); - } else { - return notificationsBuilder_.getMessageList(); - } - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public int getNotificationsCount() { - if (notificationsBuilder_ == null) { - return notifications_.size(); - } else { - return notificationsBuilder_.getCount(); - } - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public flyteidl.admin.Common.Notification getNotifications(int index) { - if (notificationsBuilder_ == null) { - return notifications_.get(index); - } else { - return notificationsBuilder_.getMessage(index); - } - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder setNotifications( - int index, flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.set(index, value); - onChanged(); - } else { - notificationsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder setNotifications( - int index, flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.set(index, builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder addNotifications(flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.add(value); - onChanged(); - } else { - notificationsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder addNotifications( - int index, flyteidl.admin.Common.Notification value) { - if (notificationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNotificationsIsMutable(); - notifications_.add(index, value); - onChanged(); - } else { - notificationsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder addNotifications( - flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.add(builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder addNotifications( - int index, flyteidl.admin.Common.Notification.Builder builderForValue) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.add(index, builderForValue.build()); - onChanged(); - } else { - notificationsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder addAllNotifications( - java.lang.Iterable values) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, notifications_); - onChanged(); - } else { - notificationsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder clearNotifications() { - if (notificationsBuilder_ == null) { - notifications_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - notificationsBuilder_.clear(); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public Builder removeNotifications(int index) { - if (notificationsBuilder_ == null) { - ensureNotificationsIsMutable(); - notifications_.remove(index); - onChanged(); - } else { - notificationsBuilder_.remove(index); - } - return this; - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public flyteidl.admin.Common.Notification.Builder getNotificationsBuilder( - int index) { - return getNotificationsFieldBuilder().getBuilder(index); - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder( - int index) { - if (notificationsBuilder_ == null) { - return notifications_.get(index); } else { - return notificationsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public java.util.List - getNotificationsOrBuilderList() { - if (notificationsBuilder_ != null) { - return notificationsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(notifications_); - } - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder() { - return getNotificationsFieldBuilder().addBuilder( - flyteidl.admin.Common.Notification.getDefaultInstance()); - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder( - int index) { - return getNotificationsFieldBuilder().addBuilder( - index, flyteidl.admin.Common.Notification.getDefaultInstance()); - } - /** - *
-       * List of notifications based on Execution status transitions
-       * 
- * - * repeated .flyteidl.admin.Notification notifications = 2; - */ - public java.util.List - getNotificationsBuilderList() { - return getNotificationsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder> - getNotificationsFieldBuilder() { - if (notificationsBuilder_ == null) { - notificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.Common.Notification, flyteidl.admin.Common.Notification.Builder, flyteidl.admin.Common.NotificationOrBuilder>( - notifications_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - notifications_ = null; - } - return notificationsBuilder_; - } - - private com.google.protobuf.Any launchConditions_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> launchConditionsBuilder_; - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public boolean hasLaunchConditions() { - return launchConditionsBuilder_ != null || launchConditions_ != null; - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public com.google.protobuf.Any getLaunchConditions() { - if (launchConditionsBuilder_ == null) { - return launchConditions_ == null ? com.google.protobuf.Any.getDefaultInstance() : launchConditions_; - } else { - return launchConditionsBuilder_.getMessage(); - } - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public Builder setLaunchConditions(com.google.protobuf.Any value) { - if (launchConditionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - launchConditions_ = value; - onChanged(); - } else { - launchConditionsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public Builder setLaunchConditions( - com.google.protobuf.Any.Builder builderForValue) { - if (launchConditionsBuilder_ == null) { - launchConditions_ = builderForValue.build(); - onChanged(); - } else { - launchConditionsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public Builder mergeLaunchConditions(com.google.protobuf.Any value) { - if (launchConditionsBuilder_ == null) { - if (launchConditions_ != null) { - launchConditions_ = - com.google.protobuf.Any.newBuilder(launchConditions_).mergeFrom(value).buildPartial(); - } else { - launchConditions_ = value; - } - onChanged(); - } else { - launchConditionsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public Builder clearLaunchConditions() { - if (launchConditionsBuilder_ == null) { - launchConditions_ = null; - onChanged(); - } else { - launchConditions_ = null; - launchConditionsBuilder_ = null; - } - - return this; - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public com.google.protobuf.Any.Builder getLaunchConditionsBuilder() { - - onChanged(); - return getLaunchConditionsFieldBuilder().getBuilder(); - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - public com.google.protobuf.AnyOrBuilder getLaunchConditionsOrBuilder() { - if (launchConditionsBuilder_ != null) { - return launchConditionsBuilder_.getMessageOrBuilder(); - } else { - return launchConditions_ == null ? - com.google.protobuf.Any.getDefaultInstance() : launchConditions_; - } - } - /** - *
-       * Additional metadata for how to launch the launch plan
-       * 
- * - * .google.protobuf.Any launch_conditions = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> - getLaunchConditionsFieldBuilder() { - if (launchConditionsBuilder_ == null) { - launchConditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( - getLaunchConditions(), - getParentForChildren(), - isClean()); - launchConditions_ = null; - } - return launchConditionsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanMetadata) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanUpdateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Identifier of launch plan for which to change state.
-     * +required.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * Identifier of launch plan for which to change state.
-     * +required.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * Identifier of launch plan for which to change state.
-     * +required.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Desired state to apply to the launch plan.
-     * +required.
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - int getStateValue(); - /** - *
-     * Desired state to apply to the launch plan.
-     * +required.
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState getState(); - } - /** - *
-   * Request to set the referenced launch plan state to the configured value.
-   * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanUpdateRequest} - */ - public static final class LaunchPlanUpdateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanUpdateRequest) - LaunchPlanUpdateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanUpdateRequest.newBuilder() to construct. - private LaunchPlanUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanUpdateRequest() { - state_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanUpdateRequest( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * Identifier of launch plan for which to change state.
-     * +required.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Identifier of launch plan for which to change state.
-     * +required.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * Identifier of launch plan for which to change state.
-     * +required.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int STATE_FIELD_NUMBER = 2; - private int state_; - /** - *
-     * Desired state to apply to the launch plan.
-     * +required.
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - public int getStateValue() { - return state_; - } - /** - *
-     * Desired state to apply to the launch plan.
-     * +required.
-     * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState result = flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.valueOf(state_); - return result == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.UNRECOGNIZED : result; - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (state_ != flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.INACTIVE.getNumber()) { - output.writeEnum(2, state_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (state_ != flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.INACTIVE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (state_ != other.state_) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest 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 to set the referenced launch plan state to the configured value.
-     * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanUpdateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanUpdateRequest) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - state_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.state_ = state_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Identifier of launch plan for which to change state.
-       * +required.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private int state_ = 0; - /** - *
-       * Desired state to apply to the launch plan.
-       * +required.
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - public int getStateValue() { - return state_; - } - /** - *
-       * Desired state to apply to the launch plan.
-       * +required.
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - *
-       * Desired state to apply to the launch plan.
-       * +required.
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState result = flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.valueOf(state_); - return result == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState.UNRECOGNIZED : result; - } - /** - *
-       * Desired state to apply to the launch plan.
-       * +required.
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - public Builder setState(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanState value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Desired state to apply to the launch plan.
-       * +required.
-       * 
- * - * .flyteidl.admin.LaunchPlanState state = 2; - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanUpdateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanUpdateRequest) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanUpdateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanUpdateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LaunchPlanUpdateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchPlanUpdateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanUpdateResponse} - */ - public static final class LaunchPlanUpdateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchPlanUpdateResponse) - LaunchPlanUpdateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use LaunchPlanUpdateResponse.newBuilder() to construct. - private LaunchPlanUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LaunchPlanUpdateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LaunchPlanUpdateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse other = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.LaunchPlanUpdateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchPlanUpdateResponse) - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse.class, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_LaunchPlanUpdateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse build() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse result = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchPlanUpdateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchPlanUpdateResponse) - private static final flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LaunchPlanUpdateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LaunchPlanUpdateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanUpdateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ActiveLaunchPlanRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ActiveLaunchPlanRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * +required.
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * +required.
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - flyteidl.admin.Common.NamedEntityIdentifier getId(); - /** - *
-     * +required.
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier
-   * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.ActiveLaunchPlanRequest} - */ - public static final class ActiveLaunchPlanRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ActiveLaunchPlanRequest) - ActiveLaunchPlanRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ActiveLaunchPlanRequest.newBuilder() to construct. - private ActiveLaunchPlanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ActiveLaunchPlanRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ActiveLaunchPlanRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.Common.NamedEntityIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.admin.Common.NamedEntityIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest.class, flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.admin.Common.NamedEntityIdentifier id_; - /** - *
-     * +required.
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * +required.
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * +required.
-     * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest other = (flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest 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; - } - /** - *
-     * Represents a request struct for finding an active launch plan for a given NamedEntityIdentifier
-     * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.ActiveLaunchPlanRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ActiveLaunchPlanRequest) - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest.class, flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest build() { - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest result = new flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.Common.NamedEntityIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> idBuilder_; - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder setId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder setId( - flyteidl.admin.Common.NamedEntityIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder mergeId(flyteidl.admin.Common.NamedEntityIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.admin.Common.NamedEntityIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - public flyteidl.admin.Common.NamedEntityIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.admin.Common.NamedEntityIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * +required.
-       * 
- * - * .flyteidl.admin.NamedEntityIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.NamedEntityIdentifier, flyteidl.admin.Common.NamedEntityIdentifier.Builder, flyteidl.admin.Common.NamedEntityIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ActiveLaunchPlanRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ActiveLaunchPlanRequest) - private static final flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActiveLaunchPlanRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ActiveLaunchPlanRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ActiveLaunchPlanListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ActiveLaunchPlanListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name of the project that contains the identifiers.
-     * +required.
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Name of the project that contains the identifiers.
-     * +required.
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required.
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required.
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required.
-     * 
- * - * uint32 limit = 3; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Represents a request structure to list active launch plans within a project/domain and optional org.
-   * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.ActiveLaunchPlanListRequest} - */ - public static final class ActiveLaunchPlanListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ActiveLaunchPlanListRequest) - ActiveLaunchPlanListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ActiveLaunchPlanListRequest.newBuilder() to construct. - private ActiveLaunchPlanListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ActiveLaunchPlanListRequest() { - project_ = ""; - domain_ = ""; - token_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ActiveLaunchPlanListRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 24: { - - limit_ = input.readUInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest.class, flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Name of the project that contains the identifiers.
-     * +required.
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Name of the project that contains the identifiers.
-     * +required.
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required.
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Name of the domain the identifiers belongs to within the project.
-     * +required.
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LIMIT_FIELD_NUMBER = 3; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required.
-     * 
- * - * uint32 limit = 3; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 4; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - public static final int ORG_FIELD_NUMBER = 6; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (limit_ != 0) { - output.writeUInt32(3, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, token_); - } - if (sortBy_ != null) { - output.writeMessage(5, getSortBy()); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, token_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSortBy()); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest)) { - return super.equals(obj); - } - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest other = (flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) return false; - } - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest 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; - } - /** - *
-     * Represents a request structure to list active launch plans within a project/domain and optional org.
-     * See :ref:`ref_flyteidl.admin.LaunchPlan` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.ActiveLaunchPlanListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ActiveLaunchPlanListRequest) - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest.class, flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest.Builder.class); - } - - // Construct using flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - limit_ = 0; - - token_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.LaunchPlanOuterClass.internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest getDefaultInstanceForType() { - return flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest build() { - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest buildPartial() { - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest result = new flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.limit_ = limit_; - result.token_ = token_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest) { - return mergeFrom((flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest other) { - if (other == flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Name of the project that contains the identifiers.
-       * +required.
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required.
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required.
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required.
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Name of the project that contains the identifiers.
-       * +required.
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required.
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required.
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required.
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required.
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Name of the domain the identifiers belongs to within the project.
-       * +required.
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required.
-       * 
- * - * uint32 limit = 3; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required.
-       * 
- * - * uint32 limit = 3; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required.
-       * 
- * - * uint32 limit = 3; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 4; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ActiveLaunchPlanListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ActiveLaunchPlanListRequest) - private static final flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest(); - } - - public static flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActiveLaunchPlanListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ActiveLaunchPlanListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanCreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanCreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanCreateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanCreateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlan_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlan_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Auth_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Auth_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanClosure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanUpdateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LaunchPlanUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LaunchPlanUpdateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ActiveLaunchPlanRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ActiveLaunchPlanRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n flyteidl/admin/launch_plan.proto\022\016flyt" + - "eidl.admin\032\035flyteidl/core/execution.prot" + - "o\032\034flyteidl/core/literals.proto\032\036flyteid" + - "l/core/identifier.proto\032\035flyteidl/core/i" + - "nterface.proto\032\034flyteidl/core/security.p" + - "roto\032\035flyteidl/admin/schedule.proto\032\033fly" + - "teidl/admin/common.proto\032\031google/protobu" + - "f/any.proto\032\037google/protobuf/timestamp.p" + - "roto\032\036google/protobuf/wrappers.proto\"n\n\027" + - "LaunchPlanCreateRequest\022%\n\002id\030\001 \001(\0132\031.fl" + - "yteidl.core.Identifier\022,\n\004spec\030\002 \001(\0132\036.f" + - "lyteidl.admin.LaunchPlanSpec\"\032\n\030LaunchPl" + - "anCreateResponse\"\225\001\n\nLaunchPlan\022%\n\002id\030\001 " + - "\001(\0132\031.flyteidl.core.Identifier\022,\n\004spec\030\002" + - " \001(\0132\036.flyteidl.admin.LaunchPlanSpec\0222\n\007" + - "closure\030\003 \001(\0132!.flyteidl.admin.LaunchPla" + - "nClosure\"Q\n\016LaunchPlanList\0220\n\014launch_pla" + - "ns\030\001 \003(\0132\032.flyteidl.admin.LaunchPlan\022\r\n\005" + - "token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assumable_iam_rol" + - "e\030\001 \001(\t\022\"\n\032kubernetes_service_account\030\002 " + - "\001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022.\n\013workflow_i" + - "d\030\001 \001(\0132\031.flyteidl.core.Identifier\022;\n\017en" + - "tity_metadata\030\002 \001(\0132\".flyteidl.admin.Lau" + - "nchPlanMetadata\0223\n\016default_inputs\030\003 \001(\0132" + - "\033.flyteidl.core.ParameterMap\022/\n\014fixed_in" + - "puts\030\004 \001(\0132\031.flyteidl.core.LiteralMap\022\020\n" + - "\004role\030\005 \001(\tB\002\030\001\022&\n\006labels\030\006 \001(\0132\026.flytei" + - "dl.admin.Labels\0220\n\013annotations\030\007 \001(\0132\033.f" + - "lyteidl.admin.Annotations\022&\n\004auth\030\010 \001(\0132" + - "\024.flyteidl.admin.AuthB\002\030\001\022/\n\tauth_role\030\t" + - " \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001\0228\n\020se" + - "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" + - "urityContext\022;\n\022quality_of_service\030\020 \001(\013" + - "2\037.flyteidl.core.QualityOfService\022C\n\026raw" + - "_output_data_config\030\021 \001(\0132#.flyteidl.adm" + - "in.RawOutputDataConfig\022\027\n\017max_parallelis" + - "m\030\022 \001(\005\0221\n\rinterruptible\030\023 \001(\0132\032.google." + - "protobuf.BoolValue\022\027\n\017overwrite_cache\030\024 " + - "\001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteidl.admin.Envs\"" + - "\217\002\n\021LaunchPlanClosure\022.\n\005state\030\001 \001(\0162\037.f" + - "lyteidl.admin.LaunchPlanState\0224\n\017expecte" + - "d_inputs\030\002 \001(\0132\033.flyteidl.core.Parameter" + - "Map\0224\n\020expected_outputs\030\003 \001(\0132\032.flyteidl" + - ".core.VariableMap\022.\n\ncreated_at\030\004 \001(\0132\032." + - "google.protobuf.Timestamp\022.\n\nupdated_at\030" + - "\005 \001(\0132\032.google.protobuf.Timestamp\"\246\001\n\022La" + - "unchPlanMetadata\022*\n\010schedule\030\001 \001(\0132\030.fly" + - "teidl.admin.Schedule\0223\n\rnotifications\030\002 " + - "\003(\0132\034.flyteidl.admin.Notification\022/\n\021lau" + - "nch_conditions\030\003 \001(\0132\024.google.protobuf.A" + - "ny\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001 \001(" + - "\0132\031.flyteidl.core.Identifier\022.\n\005state\030\002 " + - "\001(\0162\037.flyteidl.admin.LaunchPlanState\"\032\n\030" + - "LaunchPlanUpdateResponse\"L\n\027ActiveLaunch" + - "PlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.admin" + - ".NamedEntityIdentifier\"\220\001\n\033ActiveLaunchP" + - "lanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domai" + - "n\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022%\n" + - "\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort\022\013\n\003" + - "org\030\006 \001(\t*+\n\017LaunchPlanState\022\014\n\010INACTIVE" + - "\020\000\022\n\n\006ACTIVE\020\001B=Z;github.com/flyteorg/fl" + - "yte/flyteidl/gen/pb-go/flyteidl/adminb\006p" + - "roto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Interface.getDescriptor(), - flyteidl.core.Security.getDescriptor(), - flyteidl.admin.ScheduleOuterClass.getDescriptor(), - flyteidl.admin.Common.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_LaunchPlanCreateRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_LaunchPlanCreateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanCreateRequest_descriptor, - new java.lang.String[] { "Id", "Spec", }); - internal_static_flyteidl_admin_LaunchPlanCreateResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_LaunchPlanCreateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanCreateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_LaunchPlan_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_LaunchPlan_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlan_descriptor, - new java.lang.String[] { "Id", "Spec", "Closure", }); - internal_static_flyteidl_admin_LaunchPlanList_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_LaunchPlanList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanList_descriptor, - new java.lang.String[] { "LaunchPlans", "Token", }); - internal_static_flyteidl_admin_Auth_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_Auth_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Auth_descriptor, - new java.lang.String[] { "AssumableIamRole", "KubernetesServiceAccount", }); - internal_static_flyteidl_admin_LaunchPlanSpec_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_LaunchPlanSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanSpec_descriptor, - new java.lang.String[] { "WorkflowId", "EntityMetadata", "DefaultInputs", "FixedInputs", "Role", "Labels", "Annotations", "Auth", "AuthRole", "SecurityContext", "QualityOfService", "RawOutputDataConfig", "MaxParallelism", "Interruptible", "OverwriteCache", "Envs", }); - internal_static_flyteidl_admin_LaunchPlanClosure_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_LaunchPlanClosure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanClosure_descriptor, - new java.lang.String[] { "State", "ExpectedInputs", "ExpectedOutputs", "CreatedAt", "UpdatedAt", }); - internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_LaunchPlanMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor, - new java.lang.String[] { "Schedule", "Notifications", "LaunchConditions", }); - internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_LaunchPlanUpdateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor, - new java.lang.String[] { "Id", "State", }); - internal_static_flyteidl_admin_LaunchPlanUpdateResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_flyteidl_admin_LaunchPlanUpdateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_LaunchPlanUpdateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_ActiveLaunchPlanRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_flyteidl_admin_ActiveLaunchPlanRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ActiveLaunchPlanRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ActiveLaunchPlanListRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "Limit", "Token", "SortBy", "Org", }); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Interface.getDescriptor(); - flyteidl.core.Security.getDescriptor(); - flyteidl.admin.ScheduleOuterClass.getDescriptor(); - flyteidl.admin.Common.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java deleted file mode 100644 index 18a56d8164..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java +++ /dev/null @@ -1,13598 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/matchable_resource.proto - -package flyteidl.admin; - -public final class MatchableResourceOuterClass { - private MatchableResourceOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes
-   * based on matching tags.
-   * 
- * - * Protobuf enum {@code flyteidl.admin.MatchableResource} - */ - public enum MatchableResource - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-     * Applies to customizable task resource requests and limits.
-     * 
- * - * TASK_RESOURCE = 0; - */ - TASK_RESOURCE(0), - /** - *
-     * Applies to configuring templated kubernetes cluster resources.
-     * 
- * - * CLUSTER_RESOURCE = 1; - */ - CLUSTER_RESOURCE(1), - /** - *
-     * Configures task and dynamic task execution queue assignment.
-     * 
- * - * EXECUTION_QUEUE = 2; - */ - EXECUTION_QUEUE(2), - /** - *
-     * Configures the K8s cluster label to be used for execution to be run
-     * 
- * - * EXECUTION_CLUSTER_LABEL = 3; - */ - EXECUTION_CLUSTER_LABEL(3), - /** - *
-     * Configures default quality of service when undefined in an execution spec.
-     * 
- * - * QUALITY_OF_SERVICE_SPECIFICATION = 4; - */ - QUALITY_OF_SERVICE_SPECIFICATION(4), - /** - *
-     * Selects configurable plugin implementation behavior for a given task type.
-     * 
- * - * PLUGIN_OVERRIDE = 5; - */ - PLUGIN_OVERRIDE(5), - /** - *
-     * Adds defaults for customizable workflow-execution specifications and overrides.
-     * 
- * - * WORKFLOW_EXECUTION_CONFIG = 6; - */ - WORKFLOW_EXECUTION_CONFIG(6), - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * CLUSTER_ASSIGNMENT = 7; - */ - CLUSTER_ASSIGNMENT(7), - UNRECOGNIZED(-1), - ; - - /** - *
-     * Applies to customizable task resource requests and limits.
-     * 
- * - * TASK_RESOURCE = 0; - */ - public static final int TASK_RESOURCE_VALUE = 0; - /** - *
-     * Applies to configuring templated kubernetes cluster resources.
-     * 
- * - * CLUSTER_RESOURCE = 1; - */ - public static final int CLUSTER_RESOURCE_VALUE = 1; - /** - *
-     * Configures task and dynamic task execution queue assignment.
-     * 
- * - * EXECUTION_QUEUE = 2; - */ - public static final int EXECUTION_QUEUE_VALUE = 2; - /** - *
-     * Configures the K8s cluster label to be used for execution to be run
-     * 
- * - * EXECUTION_CLUSTER_LABEL = 3; - */ - public static final int EXECUTION_CLUSTER_LABEL_VALUE = 3; - /** - *
-     * Configures default quality of service when undefined in an execution spec.
-     * 
- * - * QUALITY_OF_SERVICE_SPECIFICATION = 4; - */ - public static final int QUALITY_OF_SERVICE_SPECIFICATION_VALUE = 4; - /** - *
-     * Selects configurable plugin implementation behavior for a given task type.
-     * 
- * - * PLUGIN_OVERRIDE = 5; - */ - public static final int PLUGIN_OVERRIDE_VALUE = 5; - /** - *
-     * Adds defaults for customizable workflow-execution specifications and overrides.
-     * 
- * - * WORKFLOW_EXECUTION_CONFIG = 6; - */ - public static final int WORKFLOW_EXECUTION_CONFIG_VALUE = 6; - /** - *
-     * Controls how to select an available cluster on which this execution should run.
-     * 
- * - * CLUSTER_ASSIGNMENT = 7; - */ - public static final int CLUSTER_ASSIGNMENT_VALUE = 7; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static MatchableResource valueOf(int value) { - return forNumber(value); - } - - public static MatchableResource forNumber(int value) { - switch (value) { - case 0: return TASK_RESOURCE; - case 1: return CLUSTER_RESOURCE; - case 2: return EXECUTION_QUEUE; - case 3: return EXECUTION_CLUSTER_LABEL; - case 4: return QUALITY_OF_SERVICE_SPECIFICATION; - case 5: return PLUGIN_OVERRIDE; - case 6: return WORKFLOW_EXECUTION_CONFIG; - case 7: return CLUSTER_ASSIGNMENT; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - MatchableResource> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MatchableResource findValueByNumber(int number) { - return MatchableResource.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final MatchableResource[] VALUES = values(); - - public static MatchableResource valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private MatchableResource(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.MatchableResource) - } - - public interface TaskResourceSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskResourceSpec) - com.google.protobuf.MessageOrBuilder { - - /** - * string cpu = 1; - */ - java.lang.String getCpu(); - /** - * string cpu = 1; - */ - com.google.protobuf.ByteString - getCpuBytes(); - - /** - * string gpu = 2; - */ - java.lang.String getGpu(); - /** - * string gpu = 2; - */ - com.google.protobuf.ByteString - getGpuBytes(); - - /** - * string memory = 3; - */ - java.lang.String getMemory(); - /** - * string memory = 3; - */ - com.google.protobuf.ByteString - getMemoryBytes(); - - /** - * string storage = 4; - */ - java.lang.String getStorage(); - /** - * string storage = 4; - */ - com.google.protobuf.ByteString - getStorageBytes(); - - /** - * string ephemeral_storage = 5; - */ - java.lang.String getEphemeralStorage(); - /** - * string ephemeral_storage = 5; - */ - com.google.protobuf.ByteString - getEphemeralStorageBytes(); - } - /** - *
-   * Defines a set of overridable task resource attributes set during task registration.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskResourceSpec} - */ - public static final class TaskResourceSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskResourceSpec) - TaskResourceSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskResourceSpec.newBuilder() to construct. - private TaskResourceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskResourceSpec() { - cpu_ = ""; - gpu_ = ""; - memory_ = ""; - storage_ = ""; - ephemeralStorage_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskResourceSpec( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - cpu_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - gpu_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - memory_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - storage_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - ephemeralStorage_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder.class); - } - - public static final int CPU_FIELD_NUMBER = 1; - private volatile java.lang.Object cpu_; - /** - * string cpu = 1; - */ - public java.lang.String getCpu() { - java.lang.Object ref = cpu_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - cpu_ = s; - return s; - } - } - /** - * string cpu = 1; - */ - public com.google.protobuf.ByteString - getCpuBytes() { - java.lang.Object ref = cpu_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cpu_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int GPU_FIELD_NUMBER = 2; - private volatile java.lang.Object gpu_; - /** - * string gpu = 2; - */ - public java.lang.String getGpu() { - java.lang.Object ref = gpu_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - gpu_ = s; - return s; - } - } - /** - * string gpu = 2; - */ - public com.google.protobuf.ByteString - getGpuBytes() { - java.lang.Object ref = gpu_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - gpu_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MEMORY_FIELD_NUMBER = 3; - private volatile java.lang.Object memory_; - /** - * string memory = 3; - */ - public java.lang.String getMemory() { - java.lang.Object ref = memory_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - memory_ = s; - return s; - } - } - /** - * string memory = 3; - */ - public com.google.protobuf.ByteString - getMemoryBytes() { - java.lang.Object ref = memory_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - memory_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STORAGE_FIELD_NUMBER = 4; - private volatile java.lang.Object storage_; - /** - * string storage = 4; - */ - public java.lang.String getStorage() { - java.lang.Object ref = storage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - storage_ = s; - return s; - } - } - /** - * string storage = 4; - */ - public com.google.protobuf.ByteString - getStorageBytes() { - java.lang.Object ref = storage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - storage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EPHEMERAL_STORAGE_FIELD_NUMBER = 5; - private volatile java.lang.Object ephemeralStorage_; - /** - * string ephemeral_storage = 5; - */ - public java.lang.String getEphemeralStorage() { - java.lang.Object ref = ephemeralStorage_; - 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(); - ephemeralStorage_ = s; - return s; - } - } - /** - * string ephemeral_storage = 5; - */ - public com.google.protobuf.ByteString - getEphemeralStorageBytes() { - java.lang.Object ref = ephemeralStorage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ephemeralStorage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getCpuBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cpu_); - } - if (!getGpuBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, gpu_); - } - if (!getMemoryBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, memory_); - } - if (!getStorageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, storage_); - } - if (!getEphemeralStorageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ephemeralStorage_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getCpuBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cpu_); - } - if (!getGpuBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, gpu_); - } - if (!getMemoryBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, memory_); - } - if (!getStorageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, storage_); - } - if (!getEphemeralStorageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ephemeralStorage_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec other = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec) obj; - - if (!getCpu() - .equals(other.getCpu())) return false; - if (!getGpu() - .equals(other.getGpu())) return false; - if (!getMemory() - .equals(other.getMemory())) return false; - if (!getStorage() - .equals(other.getStorage())) return false; - if (!getEphemeralStorage() - .equals(other.getEphemeralStorage())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CPU_FIELD_NUMBER; - hash = (53 * hash) + getCpu().hashCode(); - hash = (37 * hash) + GPU_FIELD_NUMBER; - hash = (53 * hash) + getGpu().hashCode(); - hash = (37 * hash) + MEMORY_FIELD_NUMBER; - hash = (53 * hash) + getMemory().hashCode(); - hash = (37 * hash) + STORAGE_FIELD_NUMBER; - hash = (53 * hash) + getStorage().hashCode(); - hash = (37 * hash) + EPHEMERAL_STORAGE_FIELD_NUMBER; - hash = (53 * hash) + getEphemeralStorage().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a set of overridable task resource attributes set during task registration.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskResourceSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskResourceSpec) - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - cpu_ = ""; - - gpu_ = ""; - - memory_ = ""; - - storage_ = ""; - - ephemeralStorage_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec build() { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec result = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec(this); - result.cpu_ = cpu_; - result.gpu_ = gpu_; - result.memory_ = memory_; - result.storage_ = storage_; - result.ephemeralStorage_ = ephemeralStorage_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance()) return this; - if (!other.getCpu().isEmpty()) { - cpu_ = other.cpu_; - onChanged(); - } - if (!other.getGpu().isEmpty()) { - gpu_ = other.gpu_; - onChanged(); - } - if (!other.getMemory().isEmpty()) { - memory_ = other.memory_; - onChanged(); - } - if (!other.getStorage().isEmpty()) { - storage_ = other.storage_; - onChanged(); - } - if (!other.getEphemeralStorage().isEmpty()) { - ephemeralStorage_ = other.ephemeralStorage_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object cpu_ = ""; - /** - * string cpu = 1; - */ - public java.lang.String getCpu() { - java.lang.Object ref = cpu_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - cpu_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string cpu = 1; - */ - public com.google.protobuf.ByteString - getCpuBytes() { - java.lang.Object ref = cpu_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cpu_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string cpu = 1; - */ - public Builder setCpu( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - cpu_ = value; - onChanged(); - return this; - } - /** - * string cpu = 1; - */ - public Builder clearCpu() { - - cpu_ = getDefaultInstance().getCpu(); - onChanged(); - return this; - } - /** - * string cpu = 1; - */ - public Builder setCpuBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - cpu_ = value; - onChanged(); - return this; - } - - private java.lang.Object gpu_ = ""; - /** - * string gpu = 2; - */ - public java.lang.String getGpu() { - java.lang.Object ref = gpu_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - gpu_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string gpu = 2; - */ - public com.google.protobuf.ByteString - getGpuBytes() { - java.lang.Object ref = gpu_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - gpu_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string gpu = 2; - */ - public Builder setGpu( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - gpu_ = value; - onChanged(); - return this; - } - /** - * string gpu = 2; - */ - public Builder clearGpu() { - - gpu_ = getDefaultInstance().getGpu(); - onChanged(); - return this; - } - /** - * string gpu = 2; - */ - public Builder setGpuBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - gpu_ = value; - onChanged(); - return this; - } - - private java.lang.Object memory_ = ""; - /** - * string memory = 3; - */ - public java.lang.String getMemory() { - java.lang.Object ref = memory_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - memory_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string memory = 3; - */ - public com.google.protobuf.ByteString - getMemoryBytes() { - java.lang.Object ref = memory_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - memory_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string memory = 3; - */ - public Builder setMemory( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - memory_ = value; - onChanged(); - return this; - } - /** - * string memory = 3; - */ - public Builder clearMemory() { - - memory_ = getDefaultInstance().getMemory(); - onChanged(); - return this; - } - /** - * string memory = 3; - */ - public Builder setMemoryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - memory_ = value; - onChanged(); - return this; - } - - private java.lang.Object storage_ = ""; - /** - * string storage = 4; - */ - public java.lang.String getStorage() { - java.lang.Object ref = storage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - storage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string storage = 4; - */ - public com.google.protobuf.ByteString - getStorageBytes() { - java.lang.Object ref = storage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - storage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string storage = 4; - */ - public Builder setStorage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - storage_ = value; - onChanged(); - return this; - } - /** - * string storage = 4; - */ - public Builder clearStorage() { - - storage_ = getDefaultInstance().getStorage(); - onChanged(); - return this; - } - /** - * string storage = 4; - */ - public Builder setStorageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - storage_ = value; - onChanged(); - return this; - } - - private java.lang.Object ephemeralStorage_ = ""; - /** - * string ephemeral_storage = 5; - */ - public java.lang.String getEphemeralStorage() { - java.lang.Object ref = ephemeralStorage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ephemeralStorage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string ephemeral_storage = 5; - */ - public com.google.protobuf.ByteString - getEphemeralStorageBytes() { - java.lang.Object ref = ephemeralStorage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ephemeralStorage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string ephemeral_storage = 5; - */ - public Builder setEphemeralStorage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - ephemeralStorage_ = value; - onChanged(); - return this; - } - /** - * string ephemeral_storage = 5; - */ - public Builder clearEphemeralStorage() { - - ephemeralStorage_ = getDefaultInstance().getEphemeralStorage(); - onChanged(); - return this; - } - /** - * string ephemeral_storage = 5; - */ - public Builder setEphemeralStorageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - ephemeralStorage_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskResourceSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceSpec) - private static final flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskResourceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskResourceSpec(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskResourceAttributesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskResourceAttributes) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - boolean hasDefaults(); - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaults(); - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getDefaultsOrBuilder(); - - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - boolean hasLimits(); - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getLimits(); - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getLimitsOrBuilder(); - } - /** - *
-   * Defines task resource defaults and limits that will be applied at task registration.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskResourceAttributes} - */ - public static final class TaskResourceAttributes extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskResourceAttributes) - TaskResourceAttributesOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskResourceAttributes.newBuilder() to construct. - private TaskResourceAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskResourceAttributes() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskResourceAttributes( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder subBuilder = null; - if (defaults_ != null) { - subBuilder = defaults_.toBuilder(); - } - defaults_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(defaults_); - defaults_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder subBuilder = null; - if (limits_ != null) { - subBuilder = limits_.toBuilder(); - } - limits_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(limits_); - limits_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder.class); - } - - public static final int DEFAULTS_FIELD_NUMBER = 1; - private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec defaults_; - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public boolean hasDefaults() { - return defaults_ != null; - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaults() { - return defaults_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : defaults_; - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getDefaultsOrBuilder() { - return getDefaults(); - } - - public static final int LIMITS_FIELD_NUMBER = 2; - private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec limits_; - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public boolean hasLimits() { - return limits_ != null; - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getLimits() { - return limits_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : limits_; - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getLimitsOrBuilder() { - return getLimits(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (defaults_ != null) { - output.writeMessage(1, getDefaults()); - } - if (limits_ != null) { - output.writeMessage(2, getLimits()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (defaults_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDefaults()); - } - if (limits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLimits()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes other = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) obj; - - if (hasDefaults() != other.hasDefaults()) return false; - if (hasDefaults()) { - if (!getDefaults() - .equals(other.getDefaults())) return false; - } - if (hasLimits() != other.hasLimits()) return false; - if (hasLimits()) { - if (!getLimits() - .equals(other.getLimits())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasDefaults()) { - hash = (37 * hash) + DEFAULTS_FIELD_NUMBER; - hash = (53 * hash) + getDefaults().hashCode(); - } - if (hasLimits()) { - hash = (37 * hash) + LIMITS_FIELD_NUMBER; - hash = (53 * hash) + getLimits().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines task resource defaults and limits that will be applied at task registration.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskResourceAttributes} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskResourceAttributes) - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (defaultsBuilder_ == null) { - defaults_ = null; - } else { - defaults_ = null; - defaultsBuilder_ = null; - } - if (limitsBuilder_ == null) { - limits_ = null; - } else { - limits_ = null; - limitsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes build() { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes result = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes(this); - if (defaultsBuilder_ == null) { - result.defaults_ = defaults_; - } else { - result.defaults_ = defaultsBuilder_.build(); - } - if (limitsBuilder_ == null) { - result.limits_ = limits_; - } else { - result.limits_ = limitsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance()) return this; - if (other.hasDefaults()) { - mergeDefaults(other.getDefaults()); - } - if (other.hasLimits()) { - mergeLimits(other.getLimits()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec defaults_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> defaultsBuilder_; - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public boolean hasDefaults() { - return defaultsBuilder_ != null || defaults_ != null; - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaults() { - if (defaultsBuilder_ == null) { - return defaults_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : defaults_; - } else { - return defaultsBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public Builder setDefaults(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { - if (defaultsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - defaults_ = value; - onChanged(); - } else { - defaultsBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public Builder setDefaults( - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder builderForValue) { - if (defaultsBuilder_ == null) { - defaults_ = builderForValue.build(); - onChanged(); - } else { - defaultsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public Builder mergeDefaults(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { - if (defaultsBuilder_ == null) { - if (defaults_ != null) { - defaults_ = - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.newBuilder(defaults_).mergeFrom(value).buildPartial(); - } else { - defaults_ = value; - } - onChanged(); - } else { - defaultsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public Builder clearDefaults() { - if (defaultsBuilder_ == null) { - defaults_ = null; - onChanged(); - } else { - defaults_ = null; - defaultsBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder getDefaultsBuilder() { - - onChanged(); - return getDefaultsFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getDefaultsOrBuilder() { - if (defaultsBuilder_ != null) { - return defaultsBuilder_.getMessageOrBuilder(); - } else { - return defaults_ == null ? - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : defaults_; - } - } - /** - * .flyteidl.admin.TaskResourceSpec defaults = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> - getDefaultsFieldBuilder() { - if (defaultsBuilder_ == null) { - defaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder>( - getDefaults(), - getParentForChildren(), - isClean()); - defaults_ = null; - } - return defaultsBuilder_; - } - - private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec limits_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> limitsBuilder_; - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public boolean hasLimits() { - return limitsBuilder_ != null || limits_ != null; - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getLimits() { - if (limitsBuilder_ == null) { - return limits_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : limits_; - } else { - return limitsBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public Builder setLimits(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { - if (limitsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - limits_ = value; - onChanged(); - } else { - limitsBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public Builder setLimits( - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder builderForValue) { - if (limitsBuilder_ == null) { - limits_ = builderForValue.build(); - onChanged(); - } else { - limitsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public Builder mergeLimits(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { - if (limitsBuilder_ == null) { - if (limits_ != null) { - limits_ = - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.newBuilder(limits_).mergeFrom(value).buildPartial(); - } else { - limits_ = value; - } - onChanged(); - } else { - limitsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public Builder clearLimits() { - if (limitsBuilder_ == null) { - limits_ = null; - onChanged(); - } else { - limits_ = null; - limitsBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder getLimitsBuilder() { - - onChanged(); - return getLimitsFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getLimitsOrBuilder() { - if (limitsBuilder_ != null) { - return limitsBuilder_.getMessageOrBuilder(); - } else { - return limits_ == null ? - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : limits_; - } - } - /** - * .flyteidl.admin.TaskResourceSpec limits = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> - getLimitsFieldBuilder() { - if (limitsBuilder_ == null) { - limitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder>( - getLimits(), - getParentForChildren(), - isClean()); - limits_ = null; - } - return limitsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskResourceAttributes) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceAttributes) - private static final flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskResourceAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskResourceAttributes(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ClusterResourceAttributesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ClusterResourceAttributes) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - int getAttributesCount(); - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - boolean containsAttributes( - java.lang.String key); - /** - * Use {@link #getAttributesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getAttributes(); - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - java.util.Map - getAttributesMap(); - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - - java.lang.String getAttributesOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - - java.lang.String getAttributesOrThrow( - java.lang.String key); - } - /** - * Protobuf type {@code flyteidl.admin.ClusterResourceAttributes} - */ - public static final class ClusterResourceAttributes extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ClusterResourceAttributes) - ClusterResourceAttributesOrBuilder { - private static final long serialVersionUID = 0L; - // Use ClusterResourceAttributes.newBuilder() to construct. - private ClusterResourceAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ClusterResourceAttributes() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ClusterResourceAttributes( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - attributes_ = com.google.protobuf.MapField.newMapField( - AttributesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - attributes__ = input.readMessage( - AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - attributes_.getMutableMap().put( - attributes__.getKey(), attributes__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetAttributes(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private static final class AttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; - private com.google.protobuf.MapField - internalGetAttributes() { - if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AttributesDefaultEntryHolder.defaultEntry); - } - return attributes_; - } - - public int getAttributesCount() { - return internalGetAttributes().getMap().size(); - } - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - - public boolean containsAttributes( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAttributes().getMap().containsKey(key); - } - /** - * Use {@link #getAttributesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getAttributes() { - return getAttributesMap(); - } - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - - public java.util.Map getAttributesMap() { - return internalGetAttributes().getMap(); - } - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - - public java.lang.String getAttributesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 1; - */ - - public java.lang.String getAttributesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAttributes(), - AttributesDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry - attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, attributes__); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes other = (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) obj; - - if (!internalGetAttributes().equals( - other.internalGetAttributes())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetAttributes().getMap().isEmpty()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + internalGetAttributes().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.ClusterResourceAttributes} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ClusterResourceAttributes) - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetAttributes(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableAttributes(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - internalGetMutableAttributes().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes build() { - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes result = new flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes(this); - int from_bitField0_ = bitField0_; - result.attributes_ = internalGetAttributes(); - result.attributes_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance()) return this; - internalGetMutableAttributes().mergeFrom( - other.internalGetAttributes()); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; - private com.google.protobuf.MapField - internalGetAttributes() { - if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AttributesDefaultEntryHolder.defaultEntry); - } - return attributes_; - } - private com.google.protobuf.MapField - internalGetMutableAttributes() { - onChanged();; - if (attributes_ == null) { - attributes_ = com.google.protobuf.MapField.newMapField( - AttributesDefaultEntryHolder.defaultEntry); - } - if (!attributes_.isMutable()) { - attributes_ = attributes_.copy(); - } - return attributes_; - } - - public int getAttributesCount() { - return internalGetAttributes().getMap().size(); - } - /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 1; - */ - - public boolean containsAttributes( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAttributes().getMap().containsKey(key); - } - /** - * Use {@link #getAttributesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getAttributes() { - return getAttributesMap(); - } - /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 1; - */ - - public java.util.Map getAttributesMap() { - return internalGetAttributes().getMap(); - } - /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 1; - */ - - public java.lang.String getAttributesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 1; - */ - - public java.lang.String getAttributesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearAttributes() { - internalGetMutableAttributes().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 1; - */ - - public Builder removeAttributes( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAttributes().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableAttributes() { - return internalGetMutableAttributes().getMutableMap(); - } - /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 1; - */ - public Builder putAttributes( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAttributes().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 1; - */ - - public Builder putAllAttributes( - java.util.Map values) { - internalGetMutableAttributes().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ClusterResourceAttributes) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterResourceAttributes) - private static final flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterResourceAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ClusterResourceAttributes(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionQueueAttributesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionQueueAttributes) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - java.util.List - getTagsList(); - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - int getTagsCount(); - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - java.lang.String getTags(int index); - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - com.google.protobuf.ByteString - getTagsBytes(int index); - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionQueueAttributes} - */ - public static final class ExecutionQueueAttributes extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionQueueAttributes) - ExecutionQueueAttributesOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionQueueAttributes.newBuilder() to construct. - private ExecutionQueueAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionQueueAttributes() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionQueueAttributes( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = tags_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder.class); - } - - public static final int TAGS_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList tags_; - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_; - } - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - *
-     * Tags used for assigning execution queues for tasks defined within this project.
-     * 
- * - * repeated string tags = 1; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < tags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < tags_.size(); i++) { - dataSize += computeStringSizeNoTag(tags_.getRaw(i)); - } - size += dataSize; - size += 1 * getTagsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes other = (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) obj; - - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTagsCount() > 0) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + getTagsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionQueueAttributes} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionQueueAttributes) - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes build() { - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes result = new flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.tags_ = tags_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance()) return this; - if (!other.tags_.isEmpty()) { - if (tags_.isEmpty()) { - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTagsIsMutable(); - tags_.addAll(other.tags_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_.getUnmodifiableView(); - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public Builder setTags( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public Builder addTags( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public Builder addAllTags( - java.lang.Iterable values) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); - onChanged(); - return this; - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public Builder clearTags() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * Tags used for assigning execution queues for tasks defined within this project.
-       * 
- * - * repeated string tags = 1; - */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionQueueAttributes) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionQueueAttributes) - private static final flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionQueueAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionQueueAttributes(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionClusterLabelOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionClusterLabel) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Label value to determine where the execution will be run
-     * 
- * - * string value = 1; - */ - java.lang.String getValue(); - /** - *
-     * Label value to determine where the execution will be run
-     * 
- * - * string value = 1; - */ - com.google.protobuf.ByteString - getValueBytes(); - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionClusterLabel} - */ - public static final class ExecutionClusterLabel extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionClusterLabel) - ExecutionClusterLabelOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionClusterLabel.newBuilder() to construct. - private ExecutionClusterLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionClusterLabel() { - value_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionClusterLabel( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionClusterLabel_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionClusterLabel_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.class, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private volatile java.lang.Object value_; - /** - *
-     * Label value to determine where the execution will be run
-     * 
- * - * string value = 1; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - 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(); - value_ = s; - return s; - } - } - /** - *
-     * Label value to determine where the execution will be run
-     * 
- * - * string value = 1; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = 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 (!getValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel other = (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) obj; - - if (!getValue() - .equals(other.getValue())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.ExecutionClusterLabel} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionClusterLabel) - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionClusterLabel_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionClusterLabel_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.class, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.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(); - value_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionClusterLabel_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel build() { - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel result = new flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel(this); - result.value_ = value_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance()) return this; - if (!other.getValue().isEmpty()) { - value_ = other.value_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object value_ = ""; - /** - *
-       * Label value to determine where the execution will be run
-       * 
- * - * string value = 1; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Label value to determine where the execution will be run
-       * 
- * - * string value = 1; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Label value to determine where the execution will be run
-       * 
- * - * string value = 1; - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - value_ = value; - onChanged(); - return this; - } - /** - *
-       * Label value to determine where the execution will be run
-       * 
- * - * string value = 1; - */ - public Builder clearValue() { - - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - *
-       * Label value to determine where the execution will be run
-       * 
- * - * string value = 1; - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - value_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ExecutionClusterLabel) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionClusterLabel) - private static final flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionClusterLabel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionClusterLabel(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PluginOverrideOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.PluginOverride) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - java.util.List - getPluginIdList(); - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - int getPluginIdCount(); - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - java.lang.String getPluginId(int index); - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - com.google.protobuf.ByteString - getPluginIdBytes(int index); - - /** - *
-     * Defines the behavior when no plugin from the plugin_id list is not found.
-     * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - int getMissingPluginBehaviorValue(); - /** - *
-     * Defines the behavior when no plugin from the plugin_id list is not found.
-     * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior getMissingPluginBehavior(); - } - /** - *
-   * This MatchableAttribute configures selecting alternate plugin implementations for a given task type.
-   * In addition to an override implementation a selection of fallbacks can be provided or other modes
-   * for handling cases where the desired plugin override is not enabled in a given Flyte deployment.
-   * 
- * - * Protobuf type {@code flyteidl.admin.PluginOverride} - */ - public static final class PluginOverride extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.PluginOverride) - PluginOverrideOrBuilder { - private static final long serialVersionUID = 0L; - // Use PluginOverride.newBuilder() to construct. - private PluginOverride(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PluginOverride() { - taskType_ = ""; - pluginId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - missingPluginBehavior_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PluginOverride( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - pluginId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - pluginId_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); - - missingPluginBehavior_ = rawValue; - 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_ & 0x00000002) != 0)) { - pluginId_ = pluginId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverride_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverride_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.PluginOverride.class, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.admin.PluginOverride.MissingPluginBehavior} - */ - public enum MissingPluginBehavior - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * By default, if this plugin is not enabled for a Flyte deployment then execution will fail.
-       * 
- * - * FAIL = 0; - */ - FAIL(0), - /** - *
-       * Uses the system-configured default implementation.
-       * 
- * - * USE_DEFAULT = 1; - */ - USE_DEFAULT(1), - UNRECOGNIZED(-1), - ; - - /** - *
-       * By default, if this plugin is not enabled for a Flyte deployment then execution will fail.
-       * 
- * - * FAIL = 0; - */ - public static final int FAIL_VALUE = 0; - /** - *
-       * Uses the system-configured default implementation.
-       * 
- * - * USE_DEFAULT = 1; - */ - public static final int USE_DEFAULT_VALUE = 1; - - - 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 MissingPluginBehavior valueOf(int value) { - return forNumber(value); - } - - public static MissingPluginBehavior forNumber(int value) { - switch (value) { - case 0: return FAIL; - case 1: return USE_DEFAULT; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - MissingPluginBehavior> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MissingPluginBehavior findValueByNumber(int number) { - return MissingPluginBehavior.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDescriptor().getEnumTypes().get(0); - } - - private static final MissingPluginBehavior[] VALUES = values(); - - public static MissingPluginBehavior 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 MissingPluginBehavior(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.PluginOverride.MissingPluginBehavior) - } - - private int bitField0_; - public static final int TASK_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PLUGIN_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList pluginId_; - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - public com.google.protobuf.ProtocolStringList - getPluginIdList() { - return pluginId_; - } - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - public int getPluginIdCount() { - return pluginId_.size(); - } - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - public java.lang.String getPluginId(int index) { - return pluginId_.get(index); - } - /** - *
-     * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-     * 
- * - * repeated string plugin_id = 2; - */ - public com.google.protobuf.ByteString - getPluginIdBytes(int index) { - return pluginId_.getByteString(index); - } - - public static final int MISSING_PLUGIN_BEHAVIOR_FIELD_NUMBER = 4; - private int missingPluginBehavior_; - /** - *
-     * Defines the behavior when no plugin from the plugin_id list is not found.
-     * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - public int getMissingPluginBehaviorValue() { - return missingPluginBehavior_; - } - /** - *
-     * Defines the behavior when no plugin from the plugin_id list is not found.
-     * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior getMissingPluginBehavior() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior result = flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior.valueOf(missingPluginBehavior_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior.UNRECOGNIZED : result; - } - - 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 (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); - } - for (int i = 0; i < pluginId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pluginId_.getRaw(i)); - } - if (missingPluginBehavior_ != flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior.FAIL.getNumber()) { - output.writeEnum(4, missingPluginBehavior_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); - } - { - int dataSize = 0; - for (int i = 0; i < pluginId_.size(); i++) { - dataSize += computeStringSizeNoTag(pluginId_.getRaw(i)); - } - size += dataSize; - size += 1 * getPluginIdList().size(); - } - if (missingPluginBehavior_ != flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior.FAIL.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, missingPluginBehavior_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.PluginOverride)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.PluginOverride other = (flyteidl.admin.MatchableResourceOuterClass.PluginOverride) obj; - - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (!getPluginIdList() - .equals(other.getPluginIdList())) return false; - if (missingPluginBehavior_ != other.missingPluginBehavior_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - if (getPluginIdCount() > 0) { - hash = (37 * hash) + PLUGIN_ID_FIELD_NUMBER; - hash = (53 * hash) + getPluginIdList().hashCode(); - } - hash = (37 * hash) + MISSING_PLUGIN_BEHAVIOR_FIELD_NUMBER; - hash = (53 * hash) + missingPluginBehavior_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.PluginOverride 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; - } - /** - *
-     * This MatchableAttribute configures selecting alternate plugin implementations for a given task type.
-     * In addition to an override implementation a selection of fallbacks can be provided or other modes
-     * for handling cases where the desired plugin override is not enabled in a given Flyte deployment.
-     * 
- * - * Protobuf type {@code flyteidl.admin.PluginOverride} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.PluginOverride) - flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverride_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverride_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.PluginOverride.class, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.PluginOverride.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(); - taskType_ = ""; - - pluginId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - missingPluginBehavior_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverride_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride build() { - flyteidl.admin.MatchableResourceOuterClass.PluginOverride result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.PluginOverride result = new flyteidl.admin.MatchableResourceOuterClass.PluginOverride(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.taskType_ = taskType_; - if (((bitField0_ & 0x00000002) != 0)) { - pluginId_ = pluginId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.pluginId_ = pluginId_; - result.missingPluginBehavior_ = missingPluginBehavior_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.PluginOverride) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.PluginOverride)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.PluginOverride other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDefaultInstance()) return this; - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (!other.pluginId_.isEmpty()) { - if (pluginId_.isEmpty()) { - pluginId_ = other.pluginId_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensurePluginIdIsMutable(); - pluginId_.addAll(other.pluginId_); - } - onChanged(); - } - if (other.missingPluginBehavior_ != 0) { - setMissingPluginBehaviorValue(other.getMissingPluginBehaviorValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.PluginOverride parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.PluginOverride) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList pluginId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensurePluginIdIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - pluginId_ = new com.google.protobuf.LazyStringArrayList(pluginId_); - bitField0_ |= 0x00000002; - } - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public com.google.protobuf.ProtocolStringList - getPluginIdList() { - return pluginId_.getUnmodifiableView(); - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public int getPluginIdCount() { - return pluginId_.size(); - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public java.lang.String getPluginId(int index) { - return pluginId_.get(index); - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public com.google.protobuf.ByteString - getPluginIdBytes(int index) { - return pluginId_.getByteString(index); - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public Builder setPluginId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePluginIdIsMutable(); - pluginId_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public Builder addPluginId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePluginIdIsMutable(); - pluginId_.add(value); - onChanged(); - return this; - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public Builder addAllPluginId( - java.lang.Iterable values) { - ensurePluginIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pluginId_); - onChanged(); - return this; - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public Builder clearPluginId() { - pluginId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - *
-       * A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id.
-       * 
- * - * repeated string plugin_id = 2; - */ - public Builder addPluginIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePluginIdIsMutable(); - pluginId_.add(value); - onChanged(); - return this; - } - - private int missingPluginBehavior_ = 0; - /** - *
-       * Defines the behavior when no plugin from the plugin_id list is not found.
-       * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - public int getMissingPluginBehaviorValue() { - return missingPluginBehavior_; - } - /** - *
-       * Defines the behavior when no plugin from the plugin_id list is not found.
-       * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - public Builder setMissingPluginBehaviorValue(int value) { - missingPluginBehavior_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines the behavior when no plugin from the plugin_id list is not found.
-       * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior getMissingPluginBehavior() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior result = flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior.valueOf(missingPluginBehavior_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior.UNRECOGNIZED : result; - } - /** - *
-       * Defines the behavior when no plugin from the plugin_id list is not found.
-       * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - public Builder setMissingPluginBehavior(flyteidl.admin.MatchableResourceOuterClass.PluginOverride.MissingPluginBehavior value) { - if (value == null) { - throw new NullPointerException(); - } - - missingPluginBehavior_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Defines the behavior when no plugin from the plugin_id list is not found.
-       * 
- * - * .flyteidl.admin.PluginOverride.MissingPluginBehavior missing_plugin_behavior = 4; - */ - public Builder clearMissingPluginBehavior() { - - missingPluginBehavior_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.PluginOverride) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.PluginOverride) - private static final flyteidl.admin.MatchableResourceOuterClass.PluginOverride DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.PluginOverride(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverride getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PluginOverride parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PluginOverride(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PluginOverridesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.PluginOverrides) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - java.util.List - getOverridesList(); - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.PluginOverride getOverrides(int index); - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - int getOverridesCount(); - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - java.util.List - getOverridesOrBuilderList(); - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder getOverridesOrBuilder( - int index); - } - /** - * Protobuf type {@code flyteidl.admin.PluginOverrides} - */ - public static final class PluginOverrides extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.PluginOverrides) - PluginOverridesOrBuilder { - private static final long serialVersionUID = 0L; - // Use PluginOverrides.newBuilder() to construct. - private PluginOverrides(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PluginOverrides() { - overrides_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PluginOverrides( - 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)) { - overrides_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - overrides_.add( - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.PluginOverride.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)) { - overrides_ = java.util.Collections.unmodifiableList(overrides_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverrides_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverrides_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.class, flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder.class); - } - - public static final int OVERRIDES_FIELD_NUMBER = 1; - private java.util.List overrides_; - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public java.util.List getOverridesList() { - return overrides_; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public java.util.List - getOverridesOrBuilderList() { - return overrides_; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public int getOverridesCount() { - return overrides_.size(); - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride getOverrides(int index) { - return overrides_.get(index); - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder getOverridesOrBuilder( - int index) { - return overrides_.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 < overrides_.size(); i++) { - output.writeMessage(1, overrides_.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 < overrides_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, overrides_.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.admin.MatchableResourceOuterClass.PluginOverrides)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides other = (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) obj; - - if (!getOverridesList() - .equals(other.getOverridesList())) 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 (getOverridesCount() > 0) { - hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getOverridesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.PluginOverrides prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.PluginOverrides} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.PluginOverrides) - flyteidl.admin.MatchableResourceOuterClass.PluginOverridesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverrides_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverrides_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.class, flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getOverridesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (overridesBuilder_ == null) { - overrides_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - overridesBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_PluginOverrides_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrides getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrides build() { - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrides buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides result = new flyteidl.admin.MatchableResourceOuterClass.PluginOverrides(this); - int from_bitField0_ = bitField0_; - if (overridesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - overrides_ = java.util.Collections.unmodifiableList(overrides_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.overrides_ = overrides_; - } else { - result.overrides_ = overridesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.PluginOverrides)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.PluginOverrides other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance()) return this; - if (overridesBuilder_ == null) { - if (!other.overrides_.isEmpty()) { - if (overrides_.isEmpty()) { - overrides_ = other.overrides_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureOverridesIsMutable(); - overrides_.addAll(other.overrides_); - } - onChanged(); - } - } else { - if (!other.overrides_.isEmpty()) { - if (overridesBuilder_.isEmpty()) { - overridesBuilder_.dispose(); - overridesBuilder_ = null; - overrides_ = other.overrides_; - bitField0_ = (bitField0_ & ~0x00000001); - overridesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOverridesFieldBuilder() : null; - } else { - overridesBuilder_.addAllMessages(other.overrides_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List overrides_ = - java.util.Collections.emptyList(); - private void ensureOverridesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - overrides_ = new java.util.ArrayList(overrides_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.PluginOverride, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder> overridesBuilder_; - - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public java.util.List getOverridesList() { - if (overridesBuilder_ == null) { - return java.util.Collections.unmodifiableList(overrides_); - } else { - return overridesBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public int getOverridesCount() { - if (overridesBuilder_ == null) { - return overrides_.size(); - } else { - return overridesBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride getOverrides(int index) { - if (overridesBuilder_ == null) { - return overrides_.get(index); - } else { - return overridesBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder setOverrides( - int index, flyteidl.admin.MatchableResourceOuterClass.PluginOverride value) { - if (overridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.set(index, value); - onChanged(); - } else { - overridesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder setOverrides( - int index, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder builderForValue) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.set(index, builderForValue.build()); - onChanged(); - } else { - overridesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder addOverrides(flyteidl.admin.MatchableResourceOuterClass.PluginOverride value) { - if (overridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.add(value); - onChanged(); - } else { - overridesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder addOverrides( - int index, flyteidl.admin.MatchableResourceOuterClass.PluginOverride value) { - if (overridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOverridesIsMutable(); - overrides_.add(index, value); - onChanged(); - } else { - overridesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder addOverrides( - flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder builderForValue) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.add(builderForValue.build()); - onChanged(); - } else { - overridesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder addOverrides( - int index, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder builderForValue) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.add(index, builderForValue.build()); - onChanged(); - } else { - overridesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder addAllOverrides( - java.lang.Iterable values) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, overrides_); - onChanged(); - } else { - overridesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder clearOverrides() { - if (overridesBuilder_ == null) { - overrides_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - overridesBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public Builder removeOverrides(int index) { - if (overridesBuilder_ == null) { - ensureOverridesIsMutable(); - overrides_.remove(index); - onChanged(); - } else { - overridesBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder getOverridesBuilder( - int index) { - return getOverridesFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder getOverridesOrBuilder( - int index) { - if (overridesBuilder_ == null) { - return overrides_.get(index); } else { - return overridesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public java.util.List - getOverridesOrBuilderList() { - if (overridesBuilder_ != null) { - return overridesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(overrides_); - } - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder addOverridesBuilder() { - return getOverridesFieldBuilder().addBuilder( - flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder addOverridesBuilder( - int index) { - return getOverridesFieldBuilder().addBuilder( - index, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.PluginOverride overrides = 1; - */ - public java.util.List - getOverridesBuilderList() { - return getOverridesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.PluginOverride, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder> - getOverridesFieldBuilder() { - if (overridesBuilder_ == null) { - overridesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.PluginOverride, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder>( - overrides_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - overrides_ = null; - } - return overridesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.PluginOverrides) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.PluginOverrides) - private static final flyteidl.admin.MatchableResourceOuterClass.PluginOverrides DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.PluginOverrides(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.PluginOverrides getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PluginOverrides parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PluginOverrides(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrides getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness.
-     * 
- * - * int32 max_parallelism = 1; - */ - int getMaxParallelism(); - - /** - *
-     * Indicates security context permissions for executions triggered with this matchable attribute. 
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - boolean hasSecurityContext(); - /** - *
-     * Indicates security context permissions for executions triggered with this matchable attribute. 
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - flyteidl.core.Security.SecurityContext getSecurityContext(); - /** - *
-     * Indicates security context permissions for executions triggered with this matchable attribute. 
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder(); - - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - boolean hasRawOutputDataConfig(); - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig(); - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder(); - - /** - *
-     * Custom labels to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - boolean hasLabels(); - /** - *
-     * Custom labels to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - flyteidl.admin.Common.Labels getLabels(); - /** - *
-     * Custom labels to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder(); - - /** - *
-     * Custom annotations to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - boolean hasAnnotations(); - /** - *
-     * Custom annotations to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - flyteidl.admin.Common.Annotations getAnnotations(); - /** - *
-     * Custom annotations to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder(); - - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - boolean hasInterruptible(); - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - com.google.protobuf.BoolValue getInterruptible(); - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder(); - - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 7; - */ - boolean getOverwriteCache(); - - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - boolean hasEnvs(); - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - flyteidl.admin.Common.Envs getEnvs(); - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder(); - } - /** - *
-   * Adds defaults for customizable workflow-execution specifications and overrides.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionConfig} - */ - public static final class WorkflowExecutionConfig extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionConfig) - WorkflowExecutionConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionConfig.newBuilder() to construct. - private WorkflowExecutionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionConfig() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionConfig( - 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: { - - maxParallelism_ = input.readInt32(); - break; - } - case 18: { - flyteidl.core.Security.SecurityContext.Builder subBuilder = null; - if (securityContext_ != null) { - subBuilder = securityContext_.toBuilder(); - } - securityContext_ = input.readMessage(flyteidl.core.Security.SecurityContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(securityContext_); - securityContext_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.admin.Common.RawOutputDataConfig.Builder subBuilder = null; - if (rawOutputDataConfig_ != null) { - subBuilder = rawOutputDataConfig_.toBuilder(); - } - rawOutputDataConfig_ = input.readMessage(flyteidl.admin.Common.RawOutputDataConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rawOutputDataConfig_); - rawOutputDataConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.admin.Common.Labels.Builder subBuilder = null; - if (labels_ != null) { - subBuilder = labels_.toBuilder(); - } - labels_ = input.readMessage(flyteidl.admin.Common.Labels.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labels_); - labels_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.admin.Common.Annotations.Builder subBuilder = null; - if (annotations_ != null) { - subBuilder = annotations_.toBuilder(); - } - annotations_ = input.readMessage(flyteidl.admin.Common.Annotations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotations_); - annotations_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (interruptible_ != null) { - subBuilder = interruptible_.toBuilder(); - } - interruptible_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interruptible_); - interruptible_ = subBuilder.buildPartial(); - } - - break; - } - case 56: { - - overwriteCache_ = input.readBool(); - break; - } - case 66: { - flyteidl.admin.Common.Envs.Builder subBuilder = null; - if (envs_ != null) { - subBuilder = envs_.toBuilder(); - } - envs_ = input.readMessage(flyteidl.admin.Common.Envs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(envs_); - envs_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_WorkflowExecutionConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_WorkflowExecutionConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.class, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder.class); - } - - public static final int MAX_PARALLELISM_FIELD_NUMBER = 1; - private int maxParallelism_; - /** - *
-     * Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness.
-     * 
- * - * int32 max_parallelism = 1; - */ - public int getMaxParallelism() { - return maxParallelism_; - } - - public static final int SECURITY_CONTEXT_FIELD_NUMBER = 2; - private flyteidl.core.Security.SecurityContext securityContext_; - /** - *
-     * Indicates security context permissions for executions triggered with this matchable attribute. 
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public boolean hasSecurityContext() { - return securityContext_ != null; - } - /** - *
-     * Indicates security context permissions for executions triggered with this matchable attribute. 
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - /** - *
-     * Indicates security context permissions for executions triggered with this matchable attribute. 
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - return getSecurityContext(); - } - - public static final int RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER = 3; - private flyteidl.admin.Common.RawOutputDataConfig rawOutputDataConfig_; - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public boolean hasRawOutputDataConfig() { - return rawOutputDataConfig_ != null; - } - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig() { - return rawOutputDataConfig_ == null ? flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } - /** - *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder() { - return getRawOutputDataConfig(); - } - - public static final int LABELS_FIELD_NUMBER = 4; - private flyteidl.admin.Common.Labels labels_; - /** - *
-     * Custom labels to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public boolean hasLabels() { - return labels_ != null; - } - /** - *
-     * Custom labels to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public flyteidl.admin.Common.Labels getLabels() { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - /** - *
-     * Custom labels to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - return getLabels(); - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Annotations annotations_; - /** - *
-     * Custom annotations to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public boolean hasAnnotations() { - return annotations_ != null; - } - /** - *
-     * Custom annotations to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public flyteidl.admin.Common.Annotations getAnnotations() { - return annotations_ == null ? flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } - /** - *
-     * Custom annotations to be applied to a triggered execution resource.
-     * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder() { - return getAnnotations(); - } - - public static final int INTERRUPTIBLE_FIELD_NUMBER = 6; - private com.google.protobuf.BoolValue interruptible_; - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public boolean hasInterruptible() { - return interruptible_ != null; - } - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public com.google.protobuf.BoolValue getInterruptible() { - return interruptible_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } - /** - *
-     * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-     * Omitting this field uses the workflow's value as a default.
-     * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-     * around the bool field.
-     * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder() { - return getInterruptible(); - } - - public static final int OVERWRITE_CACHE_FIELD_NUMBER = 7; - private boolean overwriteCache_; - /** - *
-     * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-     * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-     * data once execution finishes successfully.
-     * 
- * - * bool overwrite_cache = 7; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - - public static final int ENVS_FIELD_NUMBER = 8; - private flyteidl.admin.Common.Envs envs_; - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public boolean hasEnvs() { - return envs_ != null; - } - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public flyteidl.admin.Common.Envs getEnvs() { - return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } - /** - *
-     * Environment variables to be set for the execution.
-     * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { - return getEnvs(); - } - - 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 (maxParallelism_ != 0) { - output.writeInt32(1, maxParallelism_); - } - if (securityContext_ != null) { - output.writeMessage(2, getSecurityContext()); - } - if (rawOutputDataConfig_ != null) { - output.writeMessage(3, getRawOutputDataConfig()); - } - if (labels_ != null) { - output.writeMessage(4, getLabels()); - } - if (annotations_ != null) { - output.writeMessage(5, getAnnotations()); - } - if (interruptible_ != null) { - output.writeMessage(6, getInterruptible()); - } - if (overwriteCache_ != false) { - output.writeBool(7, overwriteCache_); - } - if (envs_ != null) { - output.writeMessage(8, getEnvs()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (maxParallelism_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxParallelism_); - } - if (securityContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSecurityContext()); - } - if (rawOutputDataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRawOutputDataConfig()); - } - if (labels_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getLabels()); - } - if (annotations_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAnnotations()); - } - if (interruptible_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getInterruptible()); - } - if (overwriteCache_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, overwriteCache_); - } - if (envs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEnvs()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig other = (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) obj; - - if (getMaxParallelism() - != other.getMaxParallelism()) return false; - if (hasSecurityContext() != other.hasSecurityContext()) return false; - if (hasSecurityContext()) { - if (!getSecurityContext() - .equals(other.getSecurityContext())) return false; - } - if (hasRawOutputDataConfig() != other.hasRawOutputDataConfig()) return false; - if (hasRawOutputDataConfig()) { - if (!getRawOutputDataConfig() - .equals(other.getRawOutputDataConfig())) return false; - } - if (hasLabels() != other.hasLabels()) return false; - if (hasLabels()) { - if (!getLabels() - .equals(other.getLabels())) return false; - } - if (hasAnnotations() != other.hasAnnotations()) return false; - if (hasAnnotations()) { - if (!getAnnotations() - .equals(other.getAnnotations())) return false; - } - if (hasInterruptible() != other.hasInterruptible()) return false; - if (hasInterruptible()) { - if (!getInterruptible() - .equals(other.getInterruptible())) return false; - } - if (getOverwriteCache() - != other.getOverwriteCache()) return false; - if (hasEnvs() != other.hasEnvs()) return false; - if (hasEnvs()) { - if (!getEnvs() - .equals(other.getEnvs())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + MAX_PARALLELISM_FIELD_NUMBER; - hash = (53 * hash) + getMaxParallelism(); - if (hasSecurityContext()) { - hash = (37 * hash) + SECURITY_CONTEXT_FIELD_NUMBER; - hash = (53 * hash) + getSecurityContext().hashCode(); - } - if (hasRawOutputDataConfig()) { - hash = (37 * hash) + RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getRawOutputDataConfig().hashCode(); - } - if (hasLabels()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + getLabels().hashCode(); - } - if (hasAnnotations()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + getAnnotations().hashCode(); - } - if (hasInterruptible()) { - hash = (37 * hash) + INTERRUPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + getInterruptible().hashCode(); - } - hash = (37 * hash) + OVERWRITE_CACHE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOverwriteCache()); - if (hasEnvs()) { - hash = (37 * hash) + ENVS_FIELD_NUMBER; - hash = (53 * hash) + getEnvs().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig 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; - } - /** - *
-     * Adds defaults for customizable workflow-execution specifications and overrides.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowExecutionConfig} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionConfig) - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_WorkflowExecutionConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_WorkflowExecutionConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.class, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.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(); - maxParallelism_ = 0; - - if (securityContextBuilder_ == null) { - securityContext_ = null; - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = null; - } else { - rawOutputDataConfig_ = null; - rawOutputDataConfigBuilder_ = null; - } - if (labelsBuilder_ == null) { - labels_ = null; - } else { - labels_ = null; - labelsBuilder_ = null; - } - if (annotationsBuilder_ == null) { - annotations_ = null; - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - if (interruptibleBuilder_ == null) { - interruptible_ = null; - } else { - interruptible_ = null; - interruptibleBuilder_ = null; - } - overwriteCache_ = false; - - if (envsBuilder_ == null) { - envs_ = null; - } else { - envs_ = null; - envsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_WorkflowExecutionConfig_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig build() { - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig result = new flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig(this); - result.maxParallelism_ = maxParallelism_; - if (securityContextBuilder_ == null) { - result.securityContext_ = securityContext_; - } else { - result.securityContext_ = securityContextBuilder_.build(); - } - if (rawOutputDataConfigBuilder_ == null) { - result.rawOutputDataConfig_ = rawOutputDataConfig_; - } else { - result.rawOutputDataConfig_ = rawOutputDataConfigBuilder_.build(); - } - if (labelsBuilder_ == null) { - result.labels_ = labels_; - } else { - result.labels_ = labelsBuilder_.build(); - } - if (annotationsBuilder_ == null) { - result.annotations_ = annotations_; - } else { - result.annotations_ = annotationsBuilder_.build(); - } - if (interruptibleBuilder_ == null) { - result.interruptible_ = interruptible_; - } else { - result.interruptible_ = interruptibleBuilder_.build(); - } - result.overwriteCache_ = overwriteCache_; - if (envsBuilder_ == null) { - result.envs_ = envs_; - } else { - result.envs_ = envsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance()) return this; - if (other.getMaxParallelism() != 0) { - setMaxParallelism(other.getMaxParallelism()); - } - if (other.hasSecurityContext()) { - mergeSecurityContext(other.getSecurityContext()); - } - if (other.hasRawOutputDataConfig()) { - mergeRawOutputDataConfig(other.getRawOutputDataConfig()); - } - if (other.hasLabels()) { - mergeLabels(other.getLabels()); - } - if (other.hasAnnotations()) { - mergeAnnotations(other.getAnnotations()); - } - if (other.hasInterruptible()) { - mergeInterruptible(other.getInterruptible()); - } - if (other.getOverwriteCache() != false) { - setOverwriteCache(other.getOverwriteCache()); - } - if (other.hasEnvs()) { - mergeEnvs(other.getEnvs()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int maxParallelism_ ; - /** - *
-       * Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness.
-       * 
- * - * int32 max_parallelism = 1; - */ - public int getMaxParallelism() { - return maxParallelism_; - } - /** - *
-       * Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness.
-       * 
- * - * int32 max_parallelism = 1; - */ - public Builder setMaxParallelism(int value) { - - maxParallelism_ = value; - onChanged(); - return this; - } - /** - *
-       * Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness.
-       * 
- * - * int32 max_parallelism = 1; - */ - public Builder clearMaxParallelism() { - - maxParallelism_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Security.SecurityContext securityContext_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> securityContextBuilder_; - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public boolean hasSecurityContext() { - return securityContextBuilder_ != null || securityContext_ != null; - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - if (securityContextBuilder_ == null) { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } else { - return securityContextBuilder_.getMessage(); - } - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public Builder setSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - securityContext_ = value; - onChanged(); - } else { - securityContextBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public Builder setSecurityContext( - flyteidl.core.Security.SecurityContext.Builder builderForValue) { - if (securityContextBuilder_ == null) { - securityContext_ = builderForValue.build(); - onChanged(); - } else { - securityContextBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public Builder mergeSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (securityContext_ != null) { - securityContext_ = - flyteidl.core.Security.SecurityContext.newBuilder(securityContext_).mergeFrom(value).buildPartial(); - } else { - securityContext_ = value; - } - onChanged(); - } else { - securityContextBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public Builder clearSecurityContext() { - if (securityContextBuilder_ == null) { - securityContext_ = null; - onChanged(); - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public flyteidl.core.Security.SecurityContext.Builder getSecurityContextBuilder() { - - onChanged(); - return getSecurityContextFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - if (securityContextBuilder_ != null) { - return securityContextBuilder_.getMessageOrBuilder(); - } else { - return securityContext_ == null ? - flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - } - /** - *
-       * Indicates security context permissions for executions triggered with this matchable attribute. 
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> - getSecurityContextFieldBuilder() { - if (securityContextBuilder_ == null) { - securityContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder>( - getSecurityContext(), - getParentForChildren(), - isClean()); - securityContext_ = null; - } - return securityContextBuilder_; - } - - private flyteidl.admin.Common.RawOutputDataConfig rawOutputDataConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder> rawOutputDataConfigBuilder_; - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public boolean hasRawOutputDataConfig() { - return rawOutputDataConfigBuilder_ != null || rawOutputDataConfig_ != null; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public flyteidl.admin.Common.RawOutputDataConfig getRawOutputDataConfig() { - if (rawOutputDataConfigBuilder_ == null) { - return rawOutputDataConfig_ == null ? flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } else { - return rawOutputDataConfigBuilder_.getMessage(); - } - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public Builder setRawOutputDataConfig(flyteidl.admin.Common.RawOutputDataConfig value) { - if (rawOutputDataConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rawOutputDataConfig_ = value; - onChanged(); - } else { - rawOutputDataConfigBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public Builder setRawOutputDataConfig( - flyteidl.admin.Common.RawOutputDataConfig.Builder builderForValue) { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = builderForValue.build(); - onChanged(); - } else { - rawOutputDataConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public Builder mergeRawOutputDataConfig(flyteidl.admin.Common.RawOutputDataConfig value) { - if (rawOutputDataConfigBuilder_ == null) { - if (rawOutputDataConfig_ != null) { - rawOutputDataConfig_ = - flyteidl.admin.Common.RawOutputDataConfig.newBuilder(rawOutputDataConfig_).mergeFrom(value).buildPartial(); - } else { - rawOutputDataConfig_ = value; - } - onChanged(); - } else { - rawOutputDataConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public Builder clearRawOutputDataConfig() { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfig_ = null; - onChanged(); - } else { - rawOutputDataConfig_ = null; - rawOutputDataConfigBuilder_ = null; - } - - return this; - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public flyteidl.admin.Common.RawOutputDataConfig.Builder getRawOutputDataConfigBuilder() { - - onChanged(); - return getRawOutputDataConfigFieldBuilder().getBuilder(); - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - public flyteidl.admin.Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder() { - if (rawOutputDataConfigBuilder_ != null) { - return rawOutputDataConfigBuilder_.getMessageOrBuilder(); - } else { - return rawOutputDataConfig_ == null ? - flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance() : rawOutputDataConfig_; - } - } - /** - *
-       * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-       * 
- * - * .flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder> - getRawOutputDataConfigFieldBuilder() { - if (rawOutputDataConfigBuilder_ == null) { - rawOutputDataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.RawOutputDataConfig, flyteidl.admin.Common.RawOutputDataConfig.Builder, flyteidl.admin.Common.RawOutputDataConfigOrBuilder>( - getRawOutputDataConfig(), - getParentForChildren(), - isClean()); - rawOutputDataConfig_ = null; - } - return rawOutputDataConfigBuilder_; - } - - private flyteidl.admin.Common.Labels labels_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> labelsBuilder_; - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public boolean hasLabels() { - return labelsBuilder_ != null || labels_ != null; - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public flyteidl.admin.Common.Labels getLabels() { - if (labelsBuilder_ == null) { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } else { - return labelsBuilder_.getMessage(); - } - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public Builder setLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - labels_ = value; - onChanged(); - } else { - labelsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public Builder setLabels( - flyteidl.admin.Common.Labels.Builder builderForValue) { - if (labelsBuilder_ == null) { - labels_ = builderForValue.build(); - onChanged(); - } else { - labelsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public Builder mergeLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (labels_ != null) { - labels_ = - flyteidl.admin.Common.Labels.newBuilder(labels_).mergeFrom(value).buildPartial(); - } else { - labels_ = value; - } - onChanged(); - } else { - labelsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public Builder clearLabels() { - if (labelsBuilder_ == null) { - labels_ = null; - onChanged(); - } else { - labels_ = null; - labelsBuilder_ = null; - } - - return this; - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public flyteidl.admin.Common.Labels.Builder getLabelsBuilder() { - - onChanged(); - return getLabelsFieldBuilder().getBuilder(); - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - if (labelsBuilder_ != null) { - return labelsBuilder_.getMessageOrBuilder(); - } else { - return labels_ == null ? - flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - } - /** - *
-       * Custom labels to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Labels labels = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> - getLabelsFieldBuilder() { - if (labelsBuilder_ == null) { - labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder>( - getLabels(), - getParentForChildren(), - isClean()); - labels_ = null; - } - return labelsBuilder_; - } - - private flyteidl.admin.Common.Annotations annotations_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder> annotationsBuilder_; - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public boolean hasAnnotations() { - return annotationsBuilder_ != null || annotations_ != null; - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public flyteidl.admin.Common.Annotations getAnnotations() { - if (annotationsBuilder_ == null) { - return annotations_ == null ? flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } else { - return annotationsBuilder_.getMessage(); - } - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public Builder setAnnotations(flyteidl.admin.Common.Annotations value) { - if (annotationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - annotations_ = value; - onChanged(); - } else { - annotationsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public Builder setAnnotations( - flyteidl.admin.Common.Annotations.Builder builderForValue) { - if (annotationsBuilder_ == null) { - annotations_ = builderForValue.build(); - onChanged(); - } else { - annotationsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public Builder mergeAnnotations(flyteidl.admin.Common.Annotations value) { - if (annotationsBuilder_ == null) { - if (annotations_ != null) { - annotations_ = - flyteidl.admin.Common.Annotations.newBuilder(annotations_).mergeFrom(value).buildPartial(); - } else { - annotations_ = value; - } - onChanged(); - } else { - annotationsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public Builder clearAnnotations() { - if (annotationsBuilder_ == null) { - annotations_ = null; - onChanged(); - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - - return this; - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public flyteidl.admin.Common.Annotations.Builder getAnnotationsBuilder() { - - onChanged(); - return getAnnotationsFieldBuilder().getBuilder(); - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - public flyteidl.admin.Common.AnnotationsOrBuilder getAnnotationsOrBuilder() { - if (annotationsBuilder_ != null) { - return annotationsBuilder_.getMessageOrBuilder(); - } else { - return annotations_ == null ? - flyteidl.admin.Common.Annotations.getDefaultInstance() : annotations_; - } - } - /** - *
-       * Custom annotations to be applied to a triggered execution resource.
-       * 
- * - * .flyteidl.admin.Annotations annotations = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder> - getAnnotationsFieldBuilder() { - if (annotationsBuilder_ == null) { - annotationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Annotations, flyteidl.admin.Common.Annotations.Builder, flyteidl.admin.Common.AnnotationsOrBuilder>( - getAnnotations(), - getParentForChildren(), - isClean()); - annotations_ = null; - } - return annotationsBuilder_; - } - - private com.google.protobuf.BoolValue interruptible_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> interruptibleBuilder_; - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public boolean hasInterruptible() { - return interruptibleBuilder_ != null || interruptible_ != null; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public com.google.protobuf.BoolValue getInterruptible() { - if (interruptibleBuilder_ == null) { - return interruptible_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } else { - return interruptibleBuilder_.getMessage(); - } - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public Builder setInterruptible(com.google.protobuf.BoolValue value) { - if (interruptibleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - interruptible_ = value; - onChanged(); - } else { - interruptibleBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public Builder setInterruptible( - com.google.protobuf.BoolValue.Builder builderForValue) { - if (interruptibleBuilder_ == null) { - interruptible_ = builderForValue.build(); - onChanged(); - } else { - interruptibleBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public Builder mergeInterruptible(com.google.protobuf.BoolValue value) { - if (interruptibleBuilder_ == null) { - if (interruptible_ != null) { - interruptible_ = - com.google.protobuf.BoolValue.newBuilder(interruptible_).mergeFrom(value).buildPartial(); - } else { - interruptible_ = value; - } - onChanged(); - } else { - interruptibleBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public Builder clearInterruptible() { - if (interruptibleBuilder_ == null) { - interruptible_ = null; - onChanged(); - } else { - interruptible_ = null; - interruptibleBuilder_ = null; - } - - return this; - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public com.google.protobuf.BoolValue.Builder getInterruptibleBuilder() { - - onChanged(); - return getInterruptibleFieldBuilder().getBuilder(); - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - public com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder() { - if (interruptibleBuilder_ != null) { - return interruptibleBuilder_.getMessageOrBuilder(); - } else { - return interruptible_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : interruptible_; - } - } - /** - *
-       * Allows for the interruptible flag of a workflow to be overwritten for a single execution.
-       * Omitting this field uses the workflow's value as a default.
-       * As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
-       * around the bool field.
-       * 
- * - * .google.protobuf.BoolValue interruptible = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> - getInterruptibleFieldBuilder() { - if (interruptibleBuilder_ == null) { - interruptibleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( - getInterruptible(), - getParentForChildren(), - isClean()); - interruptible_ = null; - } - return interruptibleBuilder_; - } - - private boolean overwriteCache_ ; - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 7; - */ - public boolean getOverwriteCache() { - return overwriteCache_; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 7; - */ - public Builder setOverwriteCache(boolean value) { - - overwriteCache_ = value; - onChanged(); - return this; - } - /** - *
-       * Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
-       * If enabled, all calculations are performed even if cached results would be available, overwriting the stored
-       * data once execution finishes successfully.
-       * 
- * - * bool overwrite_cache = 7; - */ - public Builder clearOverwriteCache() { - - overwriteCache_ = false; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Envs envs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> envsBuilder_; - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public boolean hasEnvs() { - return envsBuilder_ != null || envs_ != null; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public flyteidl.admin.Common.Envs getEnvs() { - if (envsBuilder_ == null) { - return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } else { - return envsBuilder_.getMessage(); - } - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public Builder setEnvs(flyteidl.admin.Common.Envs value) { - if (envsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - envs_ = value; - onChanged(); - } else { - envsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public Builder setEnvs( - flyteidl.admin.Common.Envs.Builder builderForValue) { - if (envsBuilder_ == null) { - envs_ = builderForValue.build(); - onChanged(); - } else { - envsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public Builder mergeEnvs(flyteidl.admin.Common.Envs value) { - if (envsBuilder_ == null) { - if (envs_ != null) { - envs_ = - flyteidl.admin.Common.Envs.newBuilder(envs_).mergeFrom(value).buildPartial(); - } else { - envs_ = value; - } - onChanged(); - } else { - envsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public Builder clearEnvs() { - if (envsBuilder_ == null) { - envs_ = null; - onChanged(); - } else { - envs_ = null; - envsBuilder_ = null; - } - - return this; - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public flyteidl.admin.Common.Envs.Builder getEnvsBuilder() { - - onChanged(); - return getEnvsFieldBuilder().getBuilder(); - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { - if (envsBuilder_ != null) { - return envsBuilder_.getMessageOrBuilder(); - } else { - return envs_ == null ? - flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; - } - } - /** - *
-       * Environment variables to be set for the execution.
-       * 
- * - * .flyteidl.admin.Envs envs = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> - getEnvsFieldBuilder() { - if (envsBuilder_ == null) { - envsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder>( - getEnvs(), - getParentForChildren(), - isClean()); - envs_ = null; - } - return envsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionConfig) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionConfig) - private static final flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionConfig(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface MatchingAttributesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.MatchingAttributes) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - boolean hasTaskResourceAttributes(); - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceAttributes(); - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceAttributesOrBuilder(); - - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - boolean hasClusterResourceAttributes(); - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceAttributes(); - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceAttributesOrBuilder(); - - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - boolean hasExecutionQueueAttributes(); - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueAttributes(); - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueAttributesOrBuilder(); - - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - boolean hasExecutionClusterLabel(); - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getExecutionClusterLabel(); - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder getExecutionClusterLabelOrBuilder(); - - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - boolean hasQualityOfService(); - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - flyteidl.core.Execution.QualityOfService getQualityOfService(); - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder(); - - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - boolean hasPluginOverrides(); - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides getPluginOverrides(); - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - flyteidl.admin.MatchableResourceOuterClass.PluginOverridesOrBuilder getPluginOverridesOrBuilder(); - - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - boolean hasWorkflowExecutionConfig(); - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getWorkflowExecutionConfig(); - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder getWorkflowExecutionConfigOrBuilder(); - - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - boolean hasClusterAssignment(); - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignment(); - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentOrBuilder(); - - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.TargetCase getTargetCase(); - } - /** - *
-   * Generic container for encapsulating all types of the above attributes messages.
-   * 
- * - * Protobuf type {@code flyteidl.admin.MatchingAttributes} - */ - public static final class MatchingAttributes extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.MatchingAttributes) - MatchingAttributesOrBuilder { - private static final long serialVersionUID = 0L; - // Use MatchingAttributes.newBuilder() to construct. - private MatchingAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private MatchingAttributes() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private MatchingAttributes( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder subBuilder = null; - if (targetCase_ == 1) { - subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 1; - break; - } - case 18: { - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder subBuilder = null; - if (targetCase_ == 2) { - subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 2; - break; - } - case 26: { - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder subBuilder = null; - if (targetCase_ == 3) { - subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 3; - break; - } - case 34: { - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder subBuilder = null; - if (targetCase_ == 4) { - subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 4; - break; - } - case 42: { - flyteidl.core.Execution.QualityOfService.Builder subBuilder = null; - if (targetCase_ == 5) { - subBuilder = ((flyteidl.core.Execution.QualityOfService) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Execution.QualityOfService.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.QualityOfService) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 5; - break; - } - case 50: { - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder subBuilder = null; - if (targetCase_ == 6) { - subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 6; - break; - } - case 58: { - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder subBuilder = null; - if (targetCase_ == 7) { - subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 7; - break; - } - case 66: { - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder subBuilder = null; - if (targetCase_ == 8) { - subBuilder = ((flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 8; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.class, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder.class); - } - - private int targetCase_ = 0; - private java.lang.Object target_; - public enum TargetCase - implements com.google.protobuf.Internal.EnumLite { - TASK_RESOURCE_ATTRIBUTES(1), - CLUSTER_RESOURCE_ATTRIBUTES(2), - EXECUTION_QUEUE_ATTRIBUTES(3), - EXECUTION_CLUSTER_LABEL(4), - QUALITY_OF_SERVICE(5), - PLUGIN_OVERRIDES(6), - WORKFLOW_EXECUTION_CONFIG(7), - CLUSTER_ASSIGNMENT(8), - TARGET_NOT_SET(0); - private final int value; - private TargetCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TargetCase valueOf(int value) { - return forNumber(value); - } - - public static TargetCase forNumber(int value) { - switch (value) { - case 1: return TASK_RESOURCE_ATTRIBUTES; - case 2: return CLUSTER_RESOURCE_ATTRIBUTES; - case 3: return EXECUTION_QUEUE_ATTRIBUTES; - case 4: return EXECUTION_CLUSTER_LABEL; - case 5: return QUALITY_OF_SERVICE; - case 6: return PLUGIN_OVERRIDES; - case 7: return WORKFLOW_EXECUTION_CONFIG; - case 8: return CLUSTER_ASSIGNMENT; - case 0: return TARGET_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); - } - - public static final int TASK_RESOURCE_ATTRIBUTES_FIELD_NUMBER = 1; - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public boolean hasTaskResourceAttributes() { - return targetCase_ == 1; - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceAttributes() { - if (targetCase_ == 1) { - return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceAttributesOrBuilder() { - if (targetCase_ == 1) { - return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); - } - - public static final int CLUSTER_RESOURCE_ATTRIBUTES_FIELD_NUMBER = 2; - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public boolean hasClusterResourceAttributes() { - return targetCase_ == 2; - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceAttributes() { - if (targetCase_ == 2) { - return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceAttributesOrBuilder() { - if (targetCase_ == 2) { - return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); - } - - public static final int EXECUTION_QUEUE_ATTRIBUTES_FIELD_NUMBER = 3; - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public boolean hasExecutionQueueAttributes() { - return targetCase_ == 3; - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueAttributes() { - if (targetCase_ == 3) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueAttributesOrBuilder() { - if (targetCase_ == 3) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); - } - - public static final int EXECUTION_CLUSTER_LABEL_FIELD_NUMBER = 4; - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public boolean hasExecutionClusterLabel() { - return targetCase_ == 4; - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getExecutionClusterLabel() { - if (targetCase_ == 4) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance(); - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder getExecutionClusterLabelOrBuilder() { - if (targetCase_ == 4) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance(); - } - - public static final int QUALITY_OF_SERVICE_FIELD_NUMBER = 5; - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public boolean hasQualityOfService() { - return targetCase_ == 5; - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - if (targetCase_ == 5) { - return (flyteidl.core.Execution.QualityOfService) target_; - } - return flyteidl.core.Execution.QualityOfService.getDefaultInstance(); - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - if (targetCase_ == 5) { - return (flyteidl.core.Execution.QualityOfService) target_; - } - return flyteidl.core.Execution.QualityOfService.getDefaultInstance(); - } - - public static final int PLUGIN_OVERRIDES_FIELD_NUMBER = 6; - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public boolean hasPluginOverrides() { - return targetCase_ == 6; - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrides getPluginOverrides() { - if (targetCase_ == 6) { - return (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance(); - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverridesOrBuilder getPluginOverridesOrBuilder() { - if (targetCase_ == 6) { - return (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance(); - } - - public static final int WORKFLOW_EXECUTION_CONFIG_FIELD_NUMBER = 7; - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public boolean hasWorkflowExecutionConfig() { - return targetCase_ == 7; - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getWorkflowExecutionConfig() { - if (targetCase_ == 7) { - return (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance(); - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder getWorkflowExecutionConfigOrBuilder() { - if (targetCase_ == 7) { - return (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance(); - } - - public static final int CLUSTER_ASSIGNMENT_FIELD_NUMBER = 8; - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public boolean hasClusterAssignment() { - return targetCase_ == 8; - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignment() { - if (targetCase_ == 8) { - return (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_; - } - return flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance(); - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentOrBuilder() { - if (targetCase_ == 8) { - return (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_; - } - return flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (targetCase_ == 1) { - output.writeMessage(1, (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_); - } - if (targetCase_ == 2) { - output.writeMessage(2, (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_); - } - if (targetCase_ == 3) { - output.writeMessage(3, (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_); - } - if (targetCase_ == 4) { - output.writeMessage(4, (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_); - } - if (targetCase_ == 5) { - output.writeMessage(5, (flyteidl.core.Execution.QualityOfService) target_); - } - if (targetCase_ == 6) { - output.writeMessage(6, (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_); - } - if (targetCase_ == 7) { - output.writeMessage(7, (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_); - } - if (targetCase_ == 8) { - output.writeMessage(8, (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (targetCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_); - } - if (targetCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_); - } - if (targetCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_); - } - if (targetCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_); - } - if (targetCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (flyteidl.core.Execution.QualityOfService) target_); - } - if (targetCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_); - } - if (targetCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_); - } - if (targetCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes other = (flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes) obj; - - if (!getTargetCase().equals(other.getTargetCase())) return false; - switch (targetCase_) { - case 1: - if (!getTaskResourceAttributes() - .equals(other.getTaskResourceAttributes())) return false; - break; - case 2: - if (!getClusterResourceAttributes() - .equals(other.getClusterResourceAttributes())) return false; - break; - case 3: - if (!getExecutionQueueAttributes() - .equals(other.getExecutionQueueAttributes())) return false; - break; - case 4: - if (!getExecutionClusterLabel() - .equals(other.getExecutionClusterLabel())) return false; - break; - case 5: - if (!getQualityOfService() - .equals(other.getQualityOfService())) return false; - break; - case 6: - if (!getPluginOverrides() - .equals(other.getPluginOverrides())) return false; - break; - case 7: - if (!getWorkflowExecutionConfig() - .equals(other.getWorkflowExecutionConfig())) return false; - break; - case 8: - if (!getClusterAssignment() - .equals(other.getClusterAssignment())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (targetCase_) { - case 1: - hash = (37 * hash) + TASK_RESOURCE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getTaskResourceAttributes().hashCode(); - break; - case 2: - hash = (37 * hash) + CLUSTER_RESOURCE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getClusterResourceAttributes().hashCode(); - break; - case 3: - hash = (37 * hash) + EXECUTION_QUEUE_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getExecutionQueueAttributes().hashCode(); - break; - case 4: - hash = (37 * hash) + EXECUTION_CLUSTER_LABEL_FIELD_NUMBER; - hash = (53 * hash) + getExecutionClusterLabel().hashCode(); - break; - case 5: - hash = (37 * hash) + QUALITY_OF_SERVICE_FIELD_NUMBER; - hash = (53 * hash) + getQualityOfService().hashCode(); - break; - case 6: - hash = (37 * hash) + PLUGIN_OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getPluginOverrides().hashCode(); - break; - case 7: - hash = (37 * hash) + WORKFLOW_EXECUTION_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowExecutionConfig().hashCode(); - break; - case 8: - hash = (37 * hash) + CLUSTER_ASSIGNMENT_FIELD_NUMBER; - hash = (53 * hash) + getClusterAssignment().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Generic container for encapsulating all types of the above attributes messages.
-     * 
- * - * Protobuf type {@code flyteidl.admin.MatchingAttributes} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.MatchingAttributes) - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.class, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - targetCase_ = 0; - target_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes build() { - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes result = new flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes(this); - if (targetCase_ == 1) { - if (taskResourceAttributesBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = taskResourceAttributesBuilder_.build(); - } - } - if (targetCase_ == 2) { - if (clusterResourceAttributesBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = clusterResourceAttributesBuilder_.build(); - } - } - if (targetCase_ == 3) { - if (executionQueueAttributesBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = executionQueueAttributesBuilder_.build(); - } - } - if (targetCase_ == 4) { - if (executionClusterLabelBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = executionClusterLabelBuilder_.build(); - } - } - if (targetCase_ == 5) { - if (qualityOfServiceBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = qualityOfServiceBuilder_.build(); - } - } - if (targetCase_ == 6) { - if (pluginOverridesBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = pluginOverridesBuilder_.build(); - } - } - if (targetCase_ == 7) { - if (workflowExecutionConfigBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = workflowExecutionConfigBuilder_.build(); - } - } - if (targetCase_ == 8) { - if (clusterAssignmentBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = clusterAssignmentBuilder_.build(); - } - } - result.targetCase_ = targetCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance()) return this; - switch (other.getTargetCase()) { - case TASK_RESOURCE_ATTRIBUTES: { - mergeTaskResourceAttributes(other.getTaskResourceAttributes()); - break; - } - case CLUSTER_RESOURCE_ATTRIBUTES: { - mergeClusterResourceAttributes(other.getClusterResourceAttributes()); - break; - } - case EXECUTION_QUEUE_ATTRIBUTES: { - mergeExecutionQueueAttributes(other.getExecutionQueueAttributes()); - break; - } - case EXECUTION_CLUSTER_LABEL: { - mergeExecutionClusterLabel(other.getExecutionClusterLabel()); - break; - } - case QUALITY_OF_SERVICE: { - mergeQualityOfService(other.getQualityOfService()); - break; - } - case PLUGIN_OVERRIDES: { - mergePluginOverrides(other.getPluginOverrides()); - break; - } - case WORKFLOW_EXECUTION_CONFIG: { - mergeWorkflowExecutionConfig(other.getWorkflowExecutionConfig()); - break; - } - case CLUSTER_ASSIGNMENT: { - mergeClusterAssignment(other.getClusterAssignment()); - break; - } - case TARGET_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int targetCase_ = 0; - private java.lang.Object target_; - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); - } - - public Builder clearTarget() { - targetCase_ = 0; - target_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder> taskResourceAttributesBuilder_; - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public boolean hasTaskResourceAttributes() { - return targetCase_ == 1; - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceAttributes() { - if (taskResourceAttributesBuilder_ == null) { - if (targetCase_ == 1) { - return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); - } else { - if (targetCase_ == 1) { - return taskResourceAttributesBuilder_.getMessage(); - } - return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public Builder setTaskResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes value) { - if (taskResourceAttributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - taskResourceAttributesBuilder_.setMessage(value); - } - targetCase_ = 1; - return this; - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public Builder setTaskResourceAttributes( - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder builderForValue) { - if (taskResourceAttributesBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - taskResourceAttributesBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 1; - return this; - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public Builder mergeTaskResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes value) { - if (taskResourceAttributesBuilder_ == null) { - if (targetCase_ == 1 && - target_ != flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance()) { - target_ = flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.newBuilder((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 1) { - taskResourceAttributesBuilder_.mergeFrom(value); - } - taskResourceAttributesBuilder_.setMessage(value); - } - targetCase_ = 1; - return this; - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public Builder clearTaskResourceAttributes() { - if (taskResourceAttributesBuilder_ == null) { - if (targetCase_ == 1) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 1) { - targetCase_ = 0; - target_ = null; - } - taskResourceAttributesBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder getTaskResourceAttributesBuilder() { - return getTaskResourceAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceAttributesOrBuilder() { - if ((targetCase_ == 1) && (taskResourceAttributesBuilder_ != null)) { - return taskResourceAttributesBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 1) { - return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder> - getTaskResourceAttributesFieldBuilder() { - if (taskResourceAttributesBuilder_ == null) { - if (!(targetCase_ == 1)) { - target_ = flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); - } - taskResourceAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder>( - (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 1; - onChanged();; - return taskResourceAttributesBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder> clusterResourceAttributesBuilder_; - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public boolean hasClusterResourceAttributes() { - return targetCase_ == 2; - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceAttributes() { - if (clusterResourceAttributesBuilder_ == null) { - if (targetCase_ == 2) { - return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); - } else { - if (targetCase_ == 2) { - return clusterResourceAttributesBuilder_.getMessage(); - } - return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public Builder setClusterResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes value) { - if (clusterResourceAttributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - clusterResourceAttributesBuilder_.setMessage(value); - } - targetCase_ = 2; - return this; - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public Builder setClusterResourceAttributes( - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder builderForValue) { - if (clusterResourceAttributesBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - clusterResourceAttributesBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 2; - return this; - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public Builder mergeClusterResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes value) { - if (clusterResourceAttributesBuilder_ == null) { - if (targetCase_ == 2 && - target_ != flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance()) { - target_ = flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.newBuilder((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 2) { - clusterResourceAttributesBuilder_.mergeFrom(value); - } - clusterResourceAttributesBuilder_.setMessage(value); - } - targetCase_ = 2; - return this; - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public Builder clearClusterResourceAttributes() { - if (clusterResourceAttributesBuilder_ == null) { - if (targetCase_ == 2) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 2) { - targetCase_ = 0; - target_ = null; - } - clusterResourceAttributesBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder getClusterResourceAttributesBuilder() { - return getClusterResourceAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceAttributesOrBuilder() { - if ((targetCase_ == 2) && (clusterResourceAttributesBuilder_ != null)) { - return clusterResourceAttributesBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 2) { - return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder> - getClusterResourceAttributesFieldBuilder() { - if (clusterResourceAttributesBuilder_ == null) { - if (!(targetCase_ == 2)) { - target_ = flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); - } - clusterResourceAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder>( - (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 2; - onChanged();; - return clusterResourceAttributesBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder> executionQueueAttributesBuilder_; - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public boolean hasExecutionQueueAttributes() { - return targetCase_ == 3; - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueAttributes() { - if (executionQueueAttributesBuilder_ == null) { - if (targetCase_ == 3) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); - } else { - if (targetCase_ == 3) { - return executionQueueAttributesBuilder_.getMessage(); - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public Builder setExecutionQueueAttributes(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes value) { - if (executionQueueAttributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - executionQueueAttributesBuilder_.setMessage(value); - } - targetCase_ = 3; - return this; - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public Builder setExecutionQueueAttributes( - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder builderForValue) { - if (executionQueueAttributesBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - executionQueueAttributesBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 3; - return this; - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public Builder mergeExecutionQueueAttributes(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes value) { - if (executionQueueAttributesBuilder_ == null) { - if (targetCase_ == 3 && - target_ != flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance()) { - target_ = flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.newBuilder((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 3) { - executionQueueAttributesBuilder_.mergeFrom(value); - } - executionQueueAttributesBuilder_.setMessage(value); - } - targetCase_ = 3; - return this; - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public Builder clearExecutionQueueAttributes() { - if (executionQueueAttributesBuilder_ == null) { - if (targetCase_ == 3) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 3) { - targetCase_ = 0; - target_ = null; - } - executionQueueAttributesBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder getExecutionQueueAttributesBuilder() { - return getExecutionQueueAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueAttributesOrBuilder() { - if ((targetCase_ == 3) && (executionQueueAttributesBuilder_ != null)) { - return executionQueueAttributesBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 3) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder> - getExecutionQueueAttributesFieldBuilder() { - if (executionQueueAttributesBuilder_ == null) { - if (!(targetCase_ == 3)) { - target_ = flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); - } - executionQueueAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder>( - (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 3; - onChanged();; - return executionQueueAttributesBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder> executionClusterLabelBuilder_; - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public boolean hasExecutionClusterLabel() { - return targetCase_ == 4; - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getExecutionClusterLabel() { - if (executionClusterLabelBuilder_ == null) { - if (targetCase_ == 4) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance(); - } else { - if (targetCase_ == 4) { - return executionClusterLabelBuilder_.getMessage(); - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public Builder setExecutionClusterLabel(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel value) { - if (executionClusterLabelBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - executionClusterLabelBuilder_.setMessage(value); - } - targetCase_ = 4; - return this; - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public Builder setExecutionClusterLabel( - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder builderForValue) { - if (executionClusterLabelBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - executionClusterLabelBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 4; - return this; - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public Builder mergeExecutionClusterLabel(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel value) { - if (executionClusterLabelBuilder_ == null) { - if (targetCase_ == 4 && - target_ != flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance()) { - target_ = flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.newBuilder((flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 4) { - executionClusterLabelBuilder_.mergeFrom(value); - } - executionClusterLabelBuilder_.setMessage(value); - } - targetCase_ = 4; - return this; - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public Builder clearExecutionClusterLabel() { - if (executionClusterLabelBuilder_ == null) { - if (targetCase_ == 4) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 4) { - targetCase_ = 0; - target_ = null; - } - executionClusterLabelBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder getExecutionClusterLabelBuilder() { - return getExecutionClusterLabelFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder getExecutionClusterLabelOrBuilder() { - if ((targetCase_ == 4) && (executionClusterLabelBuilder_ != null)) { - return executionClusterLabelBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 4) { - return (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder> - getExecutionClusterLabelFieldBuilder() { - if (executionClusterLabelBuilder_ == null) { - if (!(targetCase_ == 4)) { - target_ = flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance(); - } - executionClusterLabelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder>( - (flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 4; - onChanged();; - return executionClusterLabelBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> qualityOfServiceBuilder_; - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public boolean hasQualityOfService() { - return targetCase_ == 5; - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - if (targetCase_ == 5) { - return (flyteidl.core.Execution.QualityOfService) target_; - } - return flyteidl.core.Execution.QualityOfService.getDefaultInstance(); - } else { - if (targetCase_ == 5) { - return qualityOfServiceBuilder_.getMessage(); - } - return flyteidl.core.Execution.QualityOfService.getDefaultInstance(); - } - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public Builder setQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(value); - } - targetCase_ = 5; - return this; - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public Builder setQualityOfService( - flyteidl.core.Execution.QualityOfService.Builder builderForValue) { - if (qualityOfServiceBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 5; - return this; - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public Builder mergeQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (targetCase_ == 5 && - target_ != flyteidl.core.Execution.QualityOfService.getDefaultInstance()) { - target_ = flyteidl.core.Execution.QualityOfService.newBuilder((flyteidl.core.Execution.QualityOfService) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 5) { - qualityOfServiceBuilder_.mergeFrom(value); - } - qualityOfServiceBuilder_.setMessage(value); - } - targetCase_ = 5; - return this; - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public Builder clearQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - if (targetCase_ == 5) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 5) { - targetCase_ = 0; - target_ = null; - } - qualityOfServiceBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public flyteidl.core.Execution.QualityOfService.Builder getQualityOfServiceBuilder() { - return getQualityOfServiceFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - if ((targetCase_ == 5) && (qualityOfServiceBuilder_ != null)) { - return qualityOfServiceBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 5) { - return (flyteidl.core.Execution.QualityOfService) target_; - } - return flyteidl.core.Execution.QualityOfService.getDefaultInstance(); - } - } - /** - * .flyteidl.core.QualityOfService quality_of_service = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> - getQualityOfServiceFieldBuilder() { - if (qualityOfServiceBuilder_ == null) { - if (!(targetCase_ == 5)) { - target_ = flyteidl.core.Execution.QualityOfService.getDefaultInstance(); - } - qualityOfServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder>( - (flyteidl.core.Execution.QualityOfService) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 5; - onChanged();; - return qualityOfServiceBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides, flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverridesOrBuilder> pluginOverridesBuilder_; - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public boolean hasPluginOverrides() { - return targetCase_ == 6; - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrides getPluginOverrides() { - if (pluginOverridesBuilder_ == null) { - if (targetCase_ == 6) { - return (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance(); - } else { - if (targetCase_ == 6) { - return pluginOverridesBuilder_.getMessage(); - } - return flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public Builder setPluginOverrides(flyteidl.admin.MatchableResourceOuterClass.PluginOverrides value) { - if (pluginOverridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - pluginOverridesBuilder_.setMessage(value); - } - targetCase_ = 6; - return this; - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public Builder setPluginOverrides( - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder builderForValue) { - if (pluginOverridesBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - pluginOverridesBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 6; - return this; - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public Builder mergePluginOverrides(flyteidl.admin.MatchableResourceOuterClass.PluginOverrides value) { - if (pluginOverridesBuilder_ == null) { - if (targetCase_ == 6 && - target_ != flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance()) { - target_ = flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.newBuilder((flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 6) { - pluginOverridesBuilder_.mergeFrom(value); - } - pluginOverridesBuilder_.setMessage(value); - } - targetCase_ = 6; - return this; - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public Builder clearPluginOverrides() { - if (pluginOverridesBuilder_ == null) { - if (targetCase_ == 6) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 6) { - targetCase_ = 0; - target_ = null; - } - pluginOverridesBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder getPluginOverridesBuilder() { - return getPluginOverridesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - public flyteidl.admin.MatchableResourceOuterClass.PluginOverridesOrBuilder getPluginOverridesOrBuilder() { - if ((targetCase_ == 6) && (pluginOverridesBuilder_ != null)) { - return pluginOverridesBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 6) { - return (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.PluginOverrides plugin_overrides = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides, flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverridesOrBuilder> - getPluginOverridesFieldBuilder() { - if (pluginOverridesBuilder_ == null) { - if (!(targetCase_ == 6)) { - target_ = flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.getDefaultInstance(); - } - pluginOverridesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.PluginOverrides, flyteidl.admin.MatchableResourceOuterClass.PluginOverrides.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverridesOrBuilder>( - (flyteidl.admin.MatchableResourceOuterClass.PluginOverrides) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 6; - onChanged();; - return pluginOverridesBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder> workflowExecutionConfigBuilder_; - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public boolean hasWorkflowExecutionConfig() { - return targetCase_ == 7; - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getWorkflowExecutionConfig() { - if (workflowExecutionConfigBuilder_ == null) { - if (targetCase_ == 7) { - return (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance(); - } else { - if (targetCase_ == 7) { - return workflowExecutionConfigBuilder_.getMessage(); - } - return flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public Builder setWorkflowExecutionConfig(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig value) { - if (workflowExecutionConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - workflowExecutionConfigBuilder_.setMessage(value); - } - targetCase_ = 7; - return this; - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public Builder setWorkflowExecutionConfig( - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder builderForValue) { - if (workflowExecutionConfigBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - workflowExecutionConfigBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 7; - return this; - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public Builder mergeWorkflowExecutionConfig(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig value) { - if (workflowExecutionConfigBuilder_ == null) { - if (targetCase_ == 7 && - target_ != flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance()) { - target_ = flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.newBuilder((flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 7) { - workflowExecutionConfigBuilder_.mergeFrom(value); - } - workflowExecutionConfigBuilder_.setMessage(value); - } - targetCase_ = 7; - return this; - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public Builder clearWorkflowExecutionConfig() { - if (workflowExecutionConfigBuilder_ == null) { - if (targetCase_ == 7) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 7) { - targetCase_ = 0; - target_ = null; - } - workflowExecutionConfigBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder getWorkflowExecutionConfigBuilder() { - return getWorkflowExecutionConfigFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder getWorkflowExecutionConfigOrBuilder() { - if ((targetCase_ == 7) && (workflowExecutionConfigBuilder_ != null)) { - return workflowExecutionConfigBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 7) { - return (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_; - } - return flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_config = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder> - getWorkflowExecutionConfigFieldBuilder() { - if (workflowExecutionConfigBuilder_ == null) { - if (!(targetCase_ == 7)) { - target_ = flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance(); - } - workflowExecutionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder>( - (flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 7; - onChanged();; - return workflowExecutionConfigBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder> clusterAssignmentBuilder_; - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public boolean hasClusterAssignment() { - return targetCase_ == 8; - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignment() { - if (clusterAssignmentBuilder_ == null) { - if (targetCase_ == 8) { - return (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_; - } - return flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance(); - } else { - if (targetCase_ == 8) { - return clusterAssignmentBuilder_.getMessage(); - } - return flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public Builder setClusterAssignment(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment value) { - if (clusterAssignmentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - clusterAssignmentBuilder_.setMessage(value); - } - targetCase_ = 8; - return this; - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public Builder setClusterAssignment( - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder builderForValue) { - if (clusterAssignmentBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - clusterAssignmentBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 8; - return this; - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public Builder mergeClusterAssignment(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment value) { - if (clusterAssignmentBuilder_ == null) { - if (targetCase_ == 8 && - target_ != flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance()) { - target_ = flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.newBuilder((flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 8) { - clusterAssignmentBuilder_.mergeFrom(value); - } - clusterAssignmentBuilder_.setMessage(value); - } - targetCase_ = 8; - return this; - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public Builder clearClusterAssignment() { - if (clusterAssignmentBuilder_ == null) { - if (targetCase_ == 8) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 8) { - targetCase_ = 0; - target_ = null; - } - clusterAssignmentBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder getClusterAssignmentBuilder() { - return getClusterAssignmentFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentOrBuilder() { - if ((targetCase_ == 8) && (clusterAssignmentBuilder_ != null)) { - return clusterAssignmentBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 8) { - return (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_; - } - return flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.ClusterAssignment cluster_assignment = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder> - getClusterAssignmentFieldBuilder() { - if (clusterAssignmentBuilder_ == null) { - if (!(targetCase_ == 8)) { - target_ = flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance(); - } - clusterAssignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder>( - (flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 8; - onChanged();; - return clusterAssignmentBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.MatchingAttributes) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.MatchingAttributes) - private static final flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MatchingAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MatchingAttributes(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface MatchableAttributesConfigurationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.MatchableAttributesConfiguration) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - boolean hasAttributes(); - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getAttributes(); - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getAttributesOrBuilder(); - - /** - * string domain = 2; - */ - java.lang.String getDomain(); - /** - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - * string project = 3; - */ - java.lang.String getProject(); - /** - * string project = 3; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - * string workflow = 4; - */ - java.lang.String getWorkflow(); - /** - * string workflow = 4; - */ - com.google.protobuf.ByteString - getWorkflowBytes(); - - /** - * string launch_plan = 5; - */ - java.lang.String getLaunchPlan(); - /** - * string launch_plan = 5; - */ - com.google.protobuf.ByteString - getLaunchPlanBytes(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org);
-   * or domain, project and workflow name (and optional org).
-   * These are used to override system level defaults for kubernetes cluster resource management,
-   * default execution values, and more all across different levels of specificity.
-   * 
- * - * Protobuf type {@code flyteidl.admin.MatchableAttributesConfiguration} - */ - public static final class MatchableAttributesConfiguration extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.MatchableAttributesConfiguration) - MatchableAttributesConfigurationOrBuilder { - private static final long serialVersionUID = 0L; - // Use MatchableAttributesConfiguration.newBuilder() to construct. - private MatchableAttributesConfiguration(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private MatchableAttributesConfiguration() { - domain_ = ""; - project_ = ""; - workflow_ = ""; - launchPlan_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private MatchableAttributesConfiguration( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; - if (attributes_ != null) { - subBuilder = attributes_.toBuilder(); - } - attributes_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(attributes_); - attributes_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - workflow_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - launchPlan_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchableAttributesConfiguration_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchableAttributesConfiguration_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.class, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes attributes_; - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getAttributes() { - return attributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : attributes_; - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getAttributesOrBuilder() { - return getAttributes(); - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PROJECT_FIELD_NUMBER = 3; - private volatile java.lang.Object project_; - /** - * string project = 3; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - * string project = 3; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int WORKFLOW_FIELD_NUMBER = 4; - private volatile java.lang.Object workflow_; - /** - * string workflow = 4; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } - } - /** - * string workflow = 4; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LAUNCH_PLAN_FIELD_NUMBER = 5; - private volatile java.lang.Object launchPlan_; - /** - * string launch_plan = 5; - */ - public java.lang.String getLaunchPlan() { - java.lang.Object ref = launchPlan_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - launchPlan_ = s; - return s; - } - } - /** - * string launch_plan = 5; - */ - public com.google.protobuf.ByteString - getLaunchPlanBytes() { - java.lang.Object ref = launchPlan_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - launchPlan_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 6; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = 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 (attributes_ != null) { - output.writeMessage(1, getAttributes()); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, project_); - } - if (!getWorkflowBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, workflow_); - } - if (!getLaunchPlanBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, launchPlan_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (attributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributes()); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, project_); - } - if (!getWorkflowBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, workflow_); - } - if (!getLaunchPlanBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, launchPlan_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration other = (flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration) obj; - - if (hasAttributes() != other.hasAttributes()) return false; - if (hasAttributes()) { - if (!getAttributes() - .equals(other.getAttributes())) return false; - } - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getProject() - .equals(other.getProject())) return false; - if (!getWorkflow() - .equals(other.getWorkflow())) return false; - if (!getLaunchPlan() - .equals(other.getLaunchPlan())) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAttributes()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getAttributes().hashCode(); - } - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getWorkflow().hashCode(); - hash = (37 * hash) + LAUNCH_PLAN_FIELD_NUMBER; - hash = (53 * hash) + getLaunchPlan().hashCode(); - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration 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; - } - /** - *
-     * Represents a custom set of attributes applied for either a domain (and optional org); a domain and project (and optional org);
-     * or domain, project and workflow name (and optional org).
-     * These are used to override system level defaults for kubernetes cluster resource management,
-     * default execution values, and more all across different levels of specificity.
-     * 
- * - * Protobuf type {@code flyteidl.admin.MatchableAttributesConfiguration} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.MatchableAttributesConfiguration) - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfigurationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchableAttributesConfiguration_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchableAttributesConfiguration_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.class, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (attributesBuilder_ == null) { - attributes_ = null; - } else { - attributes_ = null; - attributesBuilder_ = null; - } - domain_ = ""; - - project_ = ""; - - workflow_ = ""; - - launchPlan_ = ""; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchableAttributesConfiguration_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration build() { - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration result = new flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration(this); - if (attributesBuilder_ == null) { - result.attributes_ = attributes_; - } else { - result.attributes_ = attributesBuilder_.build(); - } - result.domain_ = domain_; - result.project_ = project_; - result.workflow_ = workflow_; - result.launchPlan_ = launchPlan_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.getDefaultInstance()) return this; - if (other.hasAttributes()) { - mergeAttributes(other.getAttributes()); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getWorkflow().isEmpty()) { - workflow_ = other.workflow_; - onChanged(); - } - if (!other.getLaunchPlan().isEmpty()) { - launchPlan_ = other.launchPlan_; - onChanged(); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes attributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> attributesBuilder_; - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributesBuilder_ != null || attributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getAttributes() { - if (attributesBuilder_ == null) { - return attributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : attributes_; - } else { - return attributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public Builder setAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (attributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - attributes_ = value; - onChanged(); - } else { - attributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public Builder setAttributes( - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { - if (attributesBuilder_ == null) { - attributes_ = builderForValue.build(); - onChanged(); - } else { - attributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public Builder mergeAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (attributesBuilder_ == null) { - if (attributes_ != null) { - attributes_ = - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); - } else { - attributes_ = value; - } - onChanged(); - } else { - attributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public Builder clearAttributes() { - if (attributesBuilder_ == null) { - attributes_ = null; - onChanged(); - } else { - attributes_ = null; - attributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getAttributesBuilder() { - - onChanged(); - return getAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getAttributesOrBuilder() { - if (attributesBuilder_ != null) { - return attributesBuilder_.getMessageOrBuilder(); - } else { - return attributes_ == null ? - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : attributes_; - } - } - /** - * .flyteidl.admin.MatchingAttributes attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> - getAttributesFieldBuilder() { - if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( - getAttributes(), - getParentForChildren(), - isClean()); - attributes_ = null; - } - return attributesBuilder_; - } - - private java.lang.Object domain_ = ""; - /** - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object project_ = ""; - /** - * string project = 3; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string project = 3; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string project = 3; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - * string project = 3; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - * string project = 3; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object workflow_ = ""; - /** - * string workflow = 4; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string workflow = 4; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string workflow = 4; - */ - public Builder setWorkflow( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - workflow_ = value; - onChanged(); - return this; - } - /** - * string workflow = 4; - */ - public Builder clearWorkflow() { - - workflow_ = getDefaultInstance().getWorkflow(); - onChanged(); - return this; - } - /** - * string workflow = 4; - */ - public Builder setWorkflowBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - workflow_ = value; - onChanged(); - return this; - } - - private java.lang.Object launchPlan_ = ""; - /** - * string launch_plan = 5; - */ - public java.lang.String getLaunchPlan() { - java.lang.Object ref = launchPlan_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - launchPlan_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string launch_plan = 5; - */ - public com.google.protobuf.ByteString - getLaunchPlanBytes() { - java.lang.Object ref = launchPlan_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - launchPlan_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string launch_plan = 5; - */ - public Builder setLaunchPlan( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - launchPlan_ = value; - onChanged(); - return this; - } - /** - * string launch_plan = 5; - */ - public Builder clearLaunchPlan() { - - launchPlan_ = getDefaultInstance().getLaunchPlan(); - onChanged(); - return this; - } - /** - * string launch_plan = 5; - */ - public Builder setLaunchPlanBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - launchPlan_ = value; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.MatchableAttributesConfiguration) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.MatchableAttributesConfiguration) - private static final flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MatchableAttributesConfiguration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MatchableAttributesConfiguration(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListMatchableAttributesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ListMatchableAttributesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - int getResourceTypeValue(); - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType(); - - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 2; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 2; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request all matching resource attributes for a resource type.
-   * See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.ListMatchableAttributesRequest} - */ - public static final class ListMatchableAttributesRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ListMatchableAttributesRequest) - ListMatchableAttributesRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListMatchableAttributesRequest.newBuilder() to construct. - private ListMatchableAttributesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListMatchableAttributesRequest() { - resourceType_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListMatchableAttributesRequest( - 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(); - - resourceType_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest.class, flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest.Builder.class); - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; - private int resourceType_; - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 2; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 2; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 2; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = 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 (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - output.writeEnum(1, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest other = (flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest) obj; - - if (resourceType_ != other.resourceType_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest 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 all matching resource attributes for a resource type.
-     * See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.ListMatchableAttributesRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ListMatchableAttributesRequest) - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest.class, flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest.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(); - resourceType_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest build() { - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest result = new flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest(this); - result.resourceType_ = resourceType_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest.getDefaultInstance()) return this; - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int resourceType_ = 0; - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - public Builder setResourceType(flyteidl.admin.MatchableResourceOuterClass.MatchableResource value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 1; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 2; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 2; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 2; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 2; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 2; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ListMatchableAttributesRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListMatchableAttributesRequest) - private static final flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMatchableAttributesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMatchableAttributesRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ListMatchableAttributesResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ListMatchableAttributesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - java.util.List - getConfigurationsList(); - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration getConfigurations(int index); - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - int getConfigurationsCount(); - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - java.util.List - getConfigurationsOrBuilderList(); - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfigurationOrBuilder getConfigurationsOrBuilder( - int index); - } - /** - *
-   * Response for a request for all matching resource attributes for a resource type.
-   * See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.ListMatchableAttributesResponse} - */ - public static final class ListMatchableAttributesResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ListMatchableAttributesResponse) - ListMatchableAttributesResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListMatchableAttributesResponse.newBuilder() to construct. - private ListMatchableAttributesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ListMatchableAttributesResponse() { - configurations_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ListMatchableAttributesResponse( - 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)) { - configurations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - configurations_.add( - input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.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)) { - configurations_ = java.util.Collections.unmodifiableList(configurations_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse.class, flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse.Builder.class); - } - - public static final int CONFIGURATIONS_FIELD_NUMBER = 1; - private java.util.List configurations_; - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public java.util.List getConfigurationsList() { - return configurations_; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public java.util.List - getConfigurationsOrBuilderList() { - return configurations_; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public int getConfigurationsCount() { - return configurations_.size(); - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration getConfigurations(int index) { - return configurations_.get(index); - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfigurationOrBuilder getConfigurationsOrBuilder( - int index) { - return configurations_.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 < configurations_.size(); i++) { - output.writeMessage(1, configurations_.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 < configurations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, configurations_.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.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse)) { - return super.equals(obj); - } - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse other = (flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse) obj; - - if (!getConfigurationsList() - .equals(other.getConfigurationsList())) 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 (getConfigurationsCount() > 0) { - hash = (37 * hash) + CONFIGURATIONS_FIELD_NUMBER; - hash = (53 * hash) + getConfigurationsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse 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 for a request for all matching resource attributes for a resource type.
-     * See :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.ListMatchableAttributesResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ListMatchableAttributesResponse) - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse.class, flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse.Builder.class); - } - - // Construct using flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getConfigurationsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (configurationsBuilder_ == null) { - configurations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - configurationsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ListMatchableAttributesResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse getDefaultInstanceForType() { - return flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse build() { - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse buildPartial() { - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse result = new flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse(this); - int from_bitField0_ = bitField0_; - if (configurationsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - configurations_ = java.util.Collections.unmodifiableList(configurations_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.configurations_ = configurations_; - } else { - result.configurations_ = configurationsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse) { - return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse other) { - if (other == flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse.getDefaultInstance()) return this; - if (configurationsBuilder_ == null) { - if (!other.configurations_.isEmpty()) { - if (configurations_.isEmpty()) { - configurations_ = other.configurations_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureConfigurationsIsMutable(); - configurations_.addAll(other.configurations_); - } - onChanged(); - } - } else { - if (!other.configurations_.isEmpty()) { - if (configurationsBuilder_.isEmpty()) { - configurationsBuilder_.dispose(); - configurationsBuilder_ = null; - configurations_ = other.configurations_; - bitField0_ = (bitField0_ & ~0x00000001); - configurationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConfigurationsFieldBuilder() : null; - } else { - configurationsBuilder_.addAllMessages(other.configurations_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List configurations_ = - java.util.Collections.emptyList(); - private void ensureConfigurationsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - configurations_ = new java.util.ArrayList(configurations_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfigurationOrBuilder> configurationsBuilder_; - - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public java.util.List getConfigurationsList() { - if (configurationsBuilder_ == null) { - return java.util.Collections.unmodifiableList(configurations_); - } else { - return configurationsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public int getConfigurationsCount() { - if (configurationsBuilder_ == null) { - return configurations_.size(); - } else { - return configurationsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration getConfigurations(int index) { - if (configurationsBuilder_ == null) { - return configurations_.get(index); - } else { - return configurationsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder setConfigurations( - int index, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration value) { - if (configurationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureConfigurationsIsMutable(); - configurations_.set(index, value); - onChanged(); - } else { - configurationsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder setConfigurations( - int index, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder builderForValue) { - if (configurationsBuilder_ == null) { - ensureConfigurationsIsMutable(); - configurations_.set(index, builderForValue.build()); - onChanged(); - } else { - configurationsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder addConfigurations(flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration value) { - if (configurationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureConfigurationsIsMutable(); - configurations_.add(value); - onChanged(); - } else { - configurationsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder addConfigurations( - int index, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration value) { - if (configurationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureConfigurationsIsMutable(); - configurations_.add(index, value); - onChanged(); - } else { - configurationsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder addConfigurations( - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder builderForValue) { - if (configurationsBuilder_ == null) { - ensureConfigurationsIsMutable(); - configurations_.add(builderForValue.build()); - onChanged(); - } else { - configurationsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder addConfigurations( - int index, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder builderForValue) { - if (configurationsBuilder_ == null) { - ensureConfigurationsIsMutable(); - configurations_.add(index, builderForValue.build()); - onChanged(); - } else { - configurationsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder addAllConfigurations( - java.lang.Iterable values) { - if (configurationsBuilder_ == null) { - ensureConfigurationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, configurations_); - onChanged(); - } else { - configurationsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder clearConfigurations() { - if (configurationsBuilder_ == null) { - configurations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - configurationsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public Builder removeConfigurations(int index) { - if (configurationsBuilder_ == null) { - ensureConfigurationsIsMutable(); - configurations_.remove(index); - onChanged(); - } else { - configurationsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder getConfigurationsBuilder( - int index) { - return getConfigurationsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfigurationOrBuilder getConfigurationsOrBuilder( - int index) { - if (configurationsBuilder_ == null) { - return configurations_.get(index); } else { - return configurationsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public java.util.List - getConfigurationsOrBuilderList() { - if (configurationsBuilder_ != null) { - return configurationsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(configurations_); - } - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder addConfigurationsBuilder() { - return getConfigurationsFieldBuilder().addBuilder( - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder addConfigurationsBuilder( - int index) { - return getConfigurationsFieldBuilder().addBuilder( - index, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.MatchableAttributesConfiguration configurations = 1; - */ - public java.util.List - getConfigurationsBuilderList() { - return getConfigurationsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfigurationOrBuilder> - getConfigurationsFieldBuilder() { - if (configurationsBuilder_ == null) { - configurationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfiguration.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchableAttributesConfigurationOrBuilder>( - configurations_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - configurations_ = null; - } - return configurationsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ListMatchableAttributesResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ListMatchableAttributesResponse) - private static final flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse(); - } - - public static flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMatchableAttributesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMatchableAttributesResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskResourceSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionClusterLabel_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionClusterLabel_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_PluginOverride_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_PluginOverride_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_PluginOverrides_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_PluginOverrides_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionConfig_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_MatchingAttributes_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_MatchableAttributesConfiguration_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_MatchableAttributesConfiguration_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ListMatchableAttributesRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ListMatchableAttributesRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ListMatchableAttributesResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ListMatchableAttributesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'flyteidl/admin/matchable_resource.prot" + - "o\022\016flyteidl.admin\032\033flyteidl/admin/common" + - ".proto\032\'flyteidl/admin/cluster_assignmen" + - "t.proto\032\035flyteidl/core/execution.proto\032\034" + - "flyteidl/core/security.proto\032\036google/pro" + - "tobuf/wrappers.proto\"h\n\020TaskResourceSpec" + - "\022\013\n\003cpu\030\001 \001(\t\022\013\n\003gpu\030\002 \001(\t\022\016\n\006memory\030\003 \001" + - "(\t\022\017\n\007storage\030\004 \001(\t\022\031\n\021ephemeral_storage" + - "\030\005 \001(\t\"~\n\026TaskResourceAttributes\0222\n\010defa" + - "ults\030\001 \001(\0132 .flyteidl.admin.TaskResource" + - "Spec\0220\n\006limits\030\002 \001(\0132 .flyteidl.admin.Ta" + - "skResourceSpec\"\235\001\n\031ClusterResourceAttrib" + - "utes\022M\n\nattributes\030\001 \003(\01329.flyteidl.admi" + - "n.ClusterResourceAttributes.AttributesEn" + - "try\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t:\0028\001\"(\n\030ExecutionQueueAttribut" + - "es\022\014\n\004tags\030\001 \003(\t\"&\n\025ExecutionClusterLabe" + - "l\022\r\n\005value\030\001 \001(\t\"\301\001\n\016PluginOverride\022\021\n\tt" + - "ask_type\030\001 \001(\t\022\021\n\tplugin_id\030\002 \003(\t\022U\n\027mis" + - "sing_plugin_behavior\030\004 \001(\01624.flyteidl.ad" + - "min.PluginOverride.MissingPluginBehavior" + - "\"2\n\025MissingPluginBehavior\022\010\n\004FAIL\020\000\022\017\n\013U" + - "SE_DEFAULT\020\001\"D\n\017PluginOverrides\0221\n\toverr" + - "ides\030\001 \003(\0132\036.flyteidl.admin.PluginOverri" + - "de\"\373\002\n\027WorkflowExecutionConfig\022\027\n\017max_pa" + - "rallelism\030\001 \001(\005\0228\n\020security_context\030\002 \001(" + - "\0132\036.flyteidl.core.SecurityContext\022C\n\026raw" + - "_output_data_config\030\003 \001(\0132#.flyteidl.adm" + - "in.RawOutputDataConfig\022&\n\006labels\030\004 \001(\0132\026" + - ".flyteidl.admin.Labels\0220\n\013annotations\030\005 " + - "\001(\0132\033.flyteidl.admin.Annotations\0221\n\rinte" + - "rruptible\030\006 \001(\0132\032.google.protobuf.BoolVa" + - "lue\022\027\n\017overwrite_cache\030\007 \001(\010\022\"\n\004envs\030\010 \001" + - "(\0132\024.flyteidl.admin.Envs\"\341\004\n\022MatchingAtt" + - "ributes\022J\n\030task_resource_attributes\030\001 \001(" + - "\0132&.flyteidl.admin.TaskResourceAttribute" + - "sH\000\022P\n\033cluster_resource_attributes\030\002 \001(\013" + - "2).flyteidl.admin.ClusterResourceAttribu" + - "tesH\000\022N\n\032execution_queue_attributes\030\003 \001(" + - "\0132(.flyteidl.admin.ExecutionQueueAttribu" + - "tesH\000\022H\n\027execution_cluster_label\030\004 \001(\0132%" + - ".flyteidl.admin.ExecutionClusterLabelH\000\022" + - "=\n\022quality_of_service\030\005 \001(\0132\037.flyteidl.c" + - "ore.QualityOfServiceH\000\022;\n\020plugin_overrid" + - "es\030\006 \001(\0132\037.flyteidl.admin.PluginOverride" + - "sH\000\022L\n\031workflow_execution_config\030\007 \001(\0132\'" + - ".flyteidl.admin.WorkflowExecutionConfigH" + - "\000\022?\n\022cluster_assignment\030\010 \001(\0132!.flyteidl" + - ".admin.ClusterAssignmentH\000B\010\n\006target\"\257\001\n" + - " MatchableAttributesConfiguration\0226\n\natt" + - "ributes\030\001 \001(\0132\".flyteidl.admin.MatchingA" + - "ttributes\022\016\n\006domain\030\002 \001(\t\022\017\n\007project\030\003 \001" + - "(\t\022\020\n\010workflow\030\004 \001(\t\022\023\n\013launch_plan\030\005 \001(" + - "\t\022\013\n\003org\030\006 \001(\t\"g\n\036ListMatchableAttribute" + - "sRequest\0228\n\rresource_type\030\001 \001(\0162!.flytei" + - "dl.admin.MatchableResource\022\013\n\003org\030\002 \001(\t\"" + - "k\n\037ListMatchableAttributesResponse\022H\n\016co" + - "nfigurations\030\001 \003(\01320.flyteidl.admin.Matc" + - "hableAttributesConfiguration*\340\001\n\021Matchab" + - "leResource\022\021\n\rTASK_RESOURCE\020\000\022\024\n\020CLUSTER" + - "_RESOURCE\020\001\022\023\n\017EXECUTION_QUEUE\020\002\022\033\n\027EXEC" + - "UTION_CLUSTER_LABEL\020\003\022$\n QUALITY_OF_SERV" + - "ICE_SPECIFICATION\020\004\022\023\n\017PLUGIN_OVERRIDE\020\005" + - "\022\035\n\031WORKFLOW_EXECUTION_CONFIG\020\006\022\026\n\022CLUST" + - "ER_ASSIGNMENT\020\007B=Z;github.com/flyteorg/f" + - "lyte/flyteidl/gen/pb-go/flyteidl/adminb\006" + - "proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.Common.getDescriptor(), - flyteidl.admin.ClusterAssignmentOuterClass.getDescriptor(), - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.Security.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_TaskResourceSpec_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskResourceSpec_descriptor, - new java.lang.String[] { "Cpu", "Gpu", "Memory", "Storage", "EphemeralStorage", }); - internal_static_flyteidl_admin_TaskResourceAttributes_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskResourceAttributes_descriptor, - new java.lang.String[] { "Defaults", "Limits", }); - internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor, - new java.lang.String[] { "Attributes", }); - internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor = - internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor, - new java.lang.String[] { "Tags", }); - internal_static_flyteidl_admin_ExecutionClusterLabel_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_ExecutionClusterLabel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ExecutionClusterLabel_descriptor, - new java.lang.String[] { "Value", }); - internal_static_flyteidl_admin_PluginOverride_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_PluginOverride_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_PluginOverride_descriptor, - new java.lang.String[] { "TaskType", "PluginId", "MissingPluginBehavior", }); - internal_static_flyteidl_admin_PluginOverrides_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_PluginOverrides_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_PluginOverrides_descriptor, - new java.lang.String[] { "Overrides", }); - internal_static_flyteidl_admin_WorkflowExecutionConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_WorkflowExecutionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowExecutionConfig_descriptor, - new java.lang.String[] { "MaxParallelism", "SecurityContext", "RawOutputDataConfig", "Labels", "Annotations", "Interruptible", "OverwriteCache", "Envs", }); - internal_static_flyteidl_admin_MatchingAttributes_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_MatchingAttributes_descriptor, - new java.lang.String[] { "TaskResourceAttributes", "ClusterResourceAttributes", "ExecutionQueueAttributes", "ExecutionClusterLabel", "QualityOfService", "PluginOverrides", "WorkflowExecutionConfig", "ClusterAssignment", "Target", }); - internal_static_flyteidl_admin_MatchableAttributesConfiguration_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_flyteidl_admin_MatchableAttributesConfiguration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_MatchableAttributesConfiguration_descriptor, - new java.lang.String[] { "Attributes", "Domain", "Project", "Workflow", "LaunchPlan", "Org", }); - internal_static_flyteidl_admin_ListMatchableAttributesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_flyteidl_admin_ListMatchableAttributesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ListMatchableAttributesRequest_descriptor, - new java.lang.String[] { "ResourceType", "Org", }); - internal_static_flyteidl_admin_ListMatchableAttributesResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_flyteidl_admin_ListMatchableAttributesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ListMatchableAttributesResponse_descriptor, - new java.lang.String[] { "Configurations", }); - flyteidl.admin.Common.getDescriptor(); - flyteidl.admin.ClusterAssignmentOuterClass.getDescriptor(); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.Security.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/NodeExecutionOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/NodeExecutionOuterClass.java deleted file mode 100644 index da63f51ffc..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/NodeExecutionOuterClass.java +++ /dev/null @@ -1,17193 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/node_execution.proto - -package flyteidl.admin; - -public final class NodeExecutionOuterClass { - private NodeExecutionOuterClass() {} - 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 NodeExecutionGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Uniquely identifies an individual node execution.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Uniquely identifies an individual node execution.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId(); - /** - *
-     * Uniquely identifies an individual node execution.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * A message used to fetch a single node execution entity.
-   * See :ref:`ref_flyteidl.admin.NodeExecution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionGetRequest} - */ - public static final class NodeExecutionGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionGetRequest) - NodeExecutionGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionGetRequest.newBuilder() to construct. - private NodeExecutionGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionGetRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionGetRequest( - 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.NodeExecutionIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - /** - *
-     * Uniquely identifies an individual node execution.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Uniquely identifies an individual node execution.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Uniquely identifies an individual node execution.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest 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 message used to fetch a single node execution entity.
-     * See :ref:`ref_flyteidl.admin.NodeExecution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionGetRequest) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetRequest) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - boolean hasWorkflowExecutionId(); - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId(); - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - int getLimit(); - - /** - * string token = 3; - */ - java.lang.String getToken(); - /** - * string token = 3; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - - /** - *
-     * Unique identifier of the parent node in the execution
-     * +optional
-     * 
- * - * string unique_parent_id = 6; - */ - java.lang.String getUniqueParentId(); - /** - *
-     * Unique identifier of the parent node in the execution
-     * +optional
-     * 
- * - * string unique_parent_id = 6; - */ - com.google.protobuf.ByteString - getUniqueParentIdBytes(); - } - /** - *
-   * Represents a request structure to retrieve a list of node execution entities.
-   * See :ref:`ref_flyteidl.admin.NodeExecution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionListRequest} - */ - public static final class NodeExecutionListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionListRequest) - NodeExecutionListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionListRequest.newBuilder() to construct. - private NodeExecutionListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionListRequest() { - token_ = ""; - filters_ = ""; - uniqueParentId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionListRequest( - 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; - } - case 16: { - - limit_ = input.readUInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - uniqueParentId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.Builder.class); - } - - public static final int WORKFLOW_EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecutionId_; - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public boolean hasWorkflowExecutionId() { - return workflowExecutionId_ != null; - } - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() { - return workflowExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_; - } - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() { - return getWorkflowExecutionId(); - } - - public static final int LIMIT_FIELD_NUMBER = 2; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object token_; - /** - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTERS_FIELD_NUMBER = 4; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - public static final int UNIQUE_PARENT_ID_FIELD_NUMBER = 6; - private volatile java.lang.Object uniqueParentId_; - /** - *
-     * Unique identifier of the parent node in the execution
-     * +optional
-     * 
- * - * string unique_parent_id = 6; - */ - public java.lang.String getUniqueParentId() { - java.lang.Object ref = uniqueParentId_; - 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(); - uniqueParentId_ = s; - return s; - } - } - /** - *
-     * Unique identifier of the parent node in the execution
-     * +optional
-     * 
- * - * string unique_parent_id = 6; - */ - public com.google.protobuf.ByteString - getUniqueParentIdBytes() { - java.lang.Object ref = uniqueParentId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uniqueParentId_ = 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 (workflowExecutionId_ != null) { - output.writeMessage(1, getWorkflowExecutionId()); - } - if (limit_ != 0) { - output.writeUInt32(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filters_); - } - if (sortBy_ != null) { - output.writeMessage(5, getSortBy()); - } - if (!getUniqueParentIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, uniqueParentId_); - } - 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()); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, token_); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filters_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSortBy()); - } - if (!getUniqueParentIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, uniqueParentId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest) obj; - - if (hasWorkflowExecutionId() != other.hasWorkflowExecutionId()) return false; - if (hasWorkflowExecutionId()) { - if (!getWorkflowExecutionId() - .equals(other.getWorkflowExecutionId())) return false; - } - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!getFilters() - .equals(other.getFilters())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) return false; - } - if (!getUniqueParentId() - .equals(other.getUniqueParentId())) 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 = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (37 * hash) + UNIQUE_PARENT_ID_FIELD_NUMBER; - hash = (53 * hash) + getUniqueParentId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest 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; - } - /** - *
-     * Represents a request structure to retrieve a list of node execution entities.
-     * See :ref:`ref_flyteidl.admin.NodeExecution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionListRequest) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.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; - } - limit_ = 0; - - token_ = ""; - - filters_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - uniqueParentId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest(this); - if (workflowExecutionIdBuilder_ == null) { - result.workflowExecutionId_ = workflowExecutionId_; - } else { - result.workflowExecutionId_ = workflowExecutionIdBuilder_.build(); - } - result.limit_ = limit_; - result.token_ = token_; - result.filters_ = filters_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - result.uniqueParentId_ = uniqueParentId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.getDefaultInstance()) return this; - if (other.hasWorkflowExecutionId()) { - mergeWorkflowExecutionId(other.getWorkflowExecutionId()); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - if (!other.getUniqueParentId().isEmpty()) { - uniqueParentId_ = other.uniqueParentId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest) 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_; - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public boolean hasWorkflowExecutionId() { - return workflowExecutionIdBuilder_ != null || workflowExecutionId_ != null; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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(); - } - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public Builder clearWorkflowExecutionId() { - if (workflowExecutionIdBuilder_ == null) { - workflowExecutionId_ = null; - onChanged(); - } else { - workflowExecutionId_ = null; - workflowExecutionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowExecutionIdBuilder() { - - onChanged(); - return getWorkflowExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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_; - } - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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_; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string token = 3; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - * string token = 3; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - * string token = 3; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - - private java.lang.Object uniqueParentId_ = ""; - /** - *
-       * Unique identifier of the parent node in the execution
-       * +optional
-       * 
- * - * string unique_parent_id = 6; - */ - public java.lang.String getUniqueParentId() { - java.lang.Object ref = uniqueParentId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uniqueParentId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique identifier of the parent node in the execution
-       * +optional
-       * 
- * - * string unique_parent_id = 6; - */ - public com.google.protobuf.ByteString - getUniqueParentIdBytes() { - java.lang.Object ref = uniqueParentId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uniqueParentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique identifier of the parent node in the execution
-       * +optional
-       * 
- * - * string unique_parent_id = 6; - */ - public Builder setUniqueParentId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uniqueParentId_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique identifier of the parent node in the execution
-       * +optional
-       * 
- * - * string unique_parent_id = 6; - */ - public Builder clearUniqueParentId() { - - uniqueParentId_ = getDefaultInstance().getUniqueParentId(); - onChanged(); - return this; - } - /** - *
-       * Unique identifier of the parent node in the execution
-       * +optional
-       * 
- * - * string unique_parent_id = 6; - */ - public Builder setUniqueParentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uniqueParentId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionListRequest) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionForTaskListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionForTaskListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - boolean hasTaskExecutionId(); - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId(); - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - } - /** - *
-   * Represents a request structure to retrieve a list of node execution entities launched by a specific task.
-   * This can arise when a task yields a subworkflow.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionForTaskListRequest} - */ - public static final class NodeExecutionForTaskListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionForTaskListRequest) - NodeExecutionForTaskListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionForTaskListRequest.newBuilder() to construct. - private NodeExecutionForTaskListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionForTaskListRequest() { - token_ = ""; - filters_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionForTaskListRequest( - 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; - } - case 16: { - - limit_ = input.readUInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.Builder.class); - } - - public static final int TASK_EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecutionId_; - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public boolean hasTaskExecutionId() { - return taskExecutionId_ != null; - } - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() { - return taskExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_; - } - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() { - return getTaskExecutionId(); - } - - public static final int LIMIT_FIELD_NUMBER = 2; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTERS_FIELD_NUMBER = 4; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - 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()); - } - if (limit_ != 0) { - output.writeUInt32(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filters_); - } - if (sortBy_ != null) { - output.writeMessage(5, getSortBy()); - } - 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()); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, token_); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filters_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSortBy()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest) obj; - - if (hasTaskExecutionId() != other.hasTaskExecutionId()) return false; - if (hasTaskExecutionId()) { - if (!getTaskExecutionId() - .equals(other.getTaskExecutionId())) return false; - } - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!getFilters() - .equals(other.getFilters())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) 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 = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest 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; - } - /** - *
-     * Represents a request structure to retrieve a list of node execution entities launched by a specific task.
-     * This can arise when a task yields a subworkflow.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionForTaskListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionForTaskListRequest) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.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; - } - limit_ = 0; - - token_ = ""; - - filters_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest(this); - if (taskExecutionIdBuilder_ == null) { - result.taskExecutionId_ = taskExecutionId_; - } else { - result.taskExecutionId_ = taskExecutionIdBuilder_.build(); - } - result.limit_ = limit_; - result.token_ = token_; - result.filters_ = filters_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.getDefaultInstance()) return this; - if (other.hasTaskExecutionId()) { - mergeTaskExecutionId(other.getTaskExecutionId()); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest) 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_; - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public boolean hasTaskExecutionId() { - return taskExecutionIdBuilder_ != null || taskExecutionId_ != null; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .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(); - } - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public Builder clearTaskExecutionId() { - if (taskExecutionIdBuilder_ == null) { - taskExecutionId_ = null; - onChanged(); - } else { - taskExecutionId_ = null; - taskExecutionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskExecutionIdBuilder() { - - onChanged(); - return getTaskExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .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_; - } - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .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_; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionForTaskListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionForTaskListRequest) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionForTaskListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionForTaskListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecution) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Uniquely identifies an individual node execution.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Uniquely identifies an individual node execution.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId(); - /** - *
-     * Uniquely identifies an individual node execution.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - java.lang.String getInputUri(); - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - com.google.protobuf.ByteString - getInputUriBytes(); - - /** - *
-     * Computed results associated with this node execution.
-     * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - boolean hasClosure(); - /** - *
-     * Computed results associated with this node execution.
-     * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getClosure(); - /** - *
-     * Computed results associated with this node execution.
-     * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder getClosureOrBuilder(); - - /** - *
-     * Metadata for Node Execution
-     * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - boolean hasMetadata(); - /** - *
-     * Metadata for Node Execution
-     * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getMetadata(); - /** - *
-     * Metadata for Node Execution
-     * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder getMetadataOrBuilder(); - } - /** - *
-   * Encapsulates all details for a single node execution entity.
-   * A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested
-   * sub-workflow, or even a separate child-workflow execution.
-   * The same task can be called repeatedly in a single workflow but each node is unique.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecution} - */ - public static final class NodeExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecution) - NodeExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecution.newBuilder() to construct. - private NodeExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecution() { - inputUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecution( - 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.NodeExecutionIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - inputUri_ = s; - break; - } - case 26: { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder subBuilder = null; - if (closure_ != null) { - subBuilder = closure_.toBuilder(); - } - closure_ = input.readMessage(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(closure_); - closure_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.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 flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecution.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - /** - *
-     * Uniquely identifies an individual node execution.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Uniquely identifies an individual node execution.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Uniquely identifies an individual node execution.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int INPUT_URI_FIELD_NUMBER = 2; - private volatile java.lang.Object inputUri_; - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = inputUri_; - 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(); - inputUri_ = s; - return s; - } - } - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = inputUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CLOSURE_FIELD_NUMBER = 3; - private flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure closure_; - /** - *
-     * Computed results associated with this node execution.
-     * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public boolean hasClosure() { - return closure_ != null; - } - /** - *
-     * Computed results associated with this node execution.
-     * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getClosure() { - return closure_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance() : closure_; - } - /** - *
-     * Computed results associated with this node execution.
-     * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder getClosureOrBuilder() { - return getClosure(); - } - - public static final int METADATA_FIELD_NUMBER = 4; - private flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData metadata_; - /** - *
-     * Metadata for Node Execution
-     * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Metadata for Node Execution
-     * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getMetadata() { - return metadata_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance() : metadata_; - } - /** - *
-     * Metadata for Node Execution
-     * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getInputUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputUri_); - } - if (closure_ != null) { - output.writeMessage(3, getClosure()); - } - if (metadata_ != null) { - output.writeMessage(4, getMetadata()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getInputUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputUri_); - } - if (closure_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getClosure()); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, 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 flyteidl.admin.NodeExecutionOuterClass.NodeExecution)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecution other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecution) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (hasClosure() != other.hasClosure()) return false; - if (hasClosure()) { - if (!getClosure() - .equals(other.getClosure())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getInputUri().hashCode(); - if (hasClosure()) { - hash = (37 * hash) + CLOSURE_FIELD_NUMBER; - hash = (53 * hash) + getClosure().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 flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecution 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; - } - /** - *
-     * Encapsulates all details for a single node execution entity.
-     * A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested
-     * sub-workflow, or even a separate child-workflow execution.
-     * The same task can be called repeatedly in a single workflow but each node is unique.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecution) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecution.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecution.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - inputUri_ = ""; - - if (closureBuilder_ == null) { - closure_ = null; - } else { - closure_ = null; - closureBuilder_ = null; - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecution result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecution(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.inputUri_ = inputUri_; - if (closureBuilder_ == null) { - result.closure_ = closure_; - } else { - result.closure_ = closureBuilder_.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 flyteidl.admin.NodeExecutionOuterClass.NodeExecution) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecution other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecution.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getInputUri().isEmpty()) { - inputUri_ = other.inputUri_; - onChanged(); - } - if (other.hasClosure()) { - mergeClosure(other.getClosure()); - } - 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 { - flyteidl.admin.NodeExecutionOuterClass.NodeExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Uniquely identifies an individual node execution.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object inputUri_ = ""; - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = inputUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - inputUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = inputUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public Builder setInputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - inputUri_ = value; - onChanged(); - return this; - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public Builder clearInputUri() { - - inputUri_ = getDefaultInstance().getInputUri(); - onChanged(); - return this; - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public Builder setInputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - inputUri_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure closure_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder> closureBuilder_; - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public boolean hasClosure() { - return closureBuilder_ != null || closure_ != null; - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getClosure() { - if (closureBuilder_ == null) { - return closure_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance() : closure_; - } else { - return closureBuilder_.getMessage(); - } - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public Builder setClosure(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure value) { - if (closureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - closure_ = value; - onChanged(); - } else { - closureBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public Builder setClosure( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder builderForValue) { - if (closureBuilder_ == null) { - closure_ = builderForValue.build(); - onChanged(); - } else { - closureBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public Builder mergeClosure(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure value) { - if (closureBuilder_ == null) { - if (closure_ != null) { - closure_ = - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.newBuilder(closure_).mergeFrom(value).buildPartial(); - } else { - closure_ = value; - } - onChanged(); - } else { - closureBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public Builder clearClosure() { - if (closureBuilder_ == null) { - closure_ = null; - onChanged(); - } else { - closure_ = null; - closureBuilder_ = null; - } - - return this; - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder getClosureBuilder() { - - onChanged(); - return getClosureFieldBuilder().getBuilder(); - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder getClosureOrBuilder() { - if (closureBuilder_ != null) { - return closureBuilder_.getMessageOrBuilder(); - } else { - return closure_ == null ? - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance() : closure_; - } - } - /** - *
-       * Computed results associated with this node execution.
-       * 
- * - * .flyteidl.admin.NodeExecutionClosure closure = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder> - getClosureFieldBuilder() { - if (closureBuilder_ == null) { - closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder>( - getClosure(), - getParentForChildren(), - isClean()); - closure_ = null; - } - return closureBuilder_; - } - - private flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder> metadataBuilder_; - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public Builder setMetadata(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public Builder setMetadata( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public Builder mergeMetadata(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Metadata for Node Execution
-       * 
- * - * .flyteidl.admin.NodeExecutionMetaData metadata = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder>( - 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:flyteidl.admin.NodeExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecution) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecution(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecution(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionMetaDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionMetaData) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Node executions are grouped depending on retries of the parent
-     * Retry group is unique within the context of a parent node.
-     * 
- * - * string retry_group = 1; - */ - java.lang.String getRetryGroup(); - /** - *
-     * Node executions are grouped depending on retries of the parent
-     * Retry group is unique within the context of a parent node.
-     * 
- * - * string retry_group = 1; - */ - com.google.protobuf.ByteString - getRetryGroupBytes(); - - /** - *
-     * Boolean flag indicating if the node has child nodes under it
-     * This can be true when a node contains a dynamic workflow which then produces
-     * child nodes.
-     * 
- * - * bool is_parent_node = 2; - */ - boolean getIsParentNode(); - - /** - *
-     * Node id of the node in the original workflow
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 3; - */ - java.lang.String getSpecNodeId(); - /** - *
-     * Node id of the node in the original workflow
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 3; - */ - com.google.protobuf.ByteString - getSpecNodeIdBytes(); - - /** - *
-     * Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.
-     * This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true.
-     * 
- * - * bool is_dynamic = 4; - */ - boolean getIsDynamic(); - - /** - *
-     * Boolean flag indicating if the node is an array node. This is intended to uniquely identify
-     * array nodes from other nodes which can have is_parent_node as true.
-     * 
- * - * bool is_array = 5; - */ - boolean getIsArray(); - } - /** - *
-   * Represents additional attributes related to a Node Execution
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionMetaData} - */ - public static final class NodeExecutionMetaData extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionMetaData) - NodeExecutionMetaDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionMetaData.newBuilder() to construct. - private NodeExecutionMetaData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionMetaData() { - retryGroup_ = ""; - specNodeId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionMetaData( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - retryGroup_ = s; - break; - } - case 16: { - - isParentNode_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - specNodeId_ = s; - break; - } - case 32: { - - isDynamic_ = input.readBool(); - break; - } - case 40: { - - isArray_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder.class); - } - - public static final int RETRY_GROUP_FIELD_NUMBER = 1; - private volatile java.lang.Object retryGroup_; - /** - *
-     * Node executions are grouped depending on retries of the parent
-     * Retry group is unique within the context of a parent node.
-     * 
- * - * string retry_group = 1; - */ - public java.lang.String getRetryGroup() { - java.lang.Object ref = retryGroup_; - 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(); - retryGroup_ = s; - return s; - } - } - /** - *
-     * Node executions are grouped depending on retries of the parent
-     * Retry group is unique within the context of a parent node.
-     * 
- * - * string retry_group = 1; - */ - public com.google.protobuf.ByteString - getRetryGroupBytes() { - java.lang.Object ref = retryGroup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - retryGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int IS_PARENT_NODE_FIELD_NUMBER = 2; - private boolean isParentNode_; - /** - *
-     * Boolean flag indicating if the node has child nodes under it
-     * This can be true when a node contains a dynamic workflow which then produces
-     * child nodes.
-     * 
- * - * bool is_parent_node = 2; - */ - public boolean getIsParentNode() { - return isParentNode_; - } - - public static final int SPEC_NODE_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object specNodeId_; - /** - *
-     * Node id of the node in the original workflow
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 3; - */ - public java.lang.String getSpecNodeId() { - java.lang.Object ref = specNodeId_; - 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(); - specNodeId_ = s; - return s; - } - } - /** - *
-     * Node id of the node in the original workflow
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 3; - */ - public com.google.protobuf.ByteString - getSpecNodeIdBytes() { - java.lang.Object ref = specNodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - specNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int IS_DYNAMIC_FIELD_NUMBER = 4; - private boolean isDynamic_; - /** - *
-     * Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.
-     * This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true.
-     * 
- * - * bool is_dynamic = 4; - */ - public boolean getIsDynamic() { - return isDynamic_; - } - - public static final int IS_ARRAY_FIELD_NUMBER = 5; - private boolean isArray_; - /** - *
-     * Boolean flag indicating if the node is an array node. This is intended to uniquely identify
-     * array nodes from other nodes which can have is_parent_node as true.
-     * 
- * - * bool is_array = 5; - */ - public boolean getIsArray() { - return isArray_; - } - - 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 (!getRetryGroupBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, retryGroup_); - } - if (isParentNode_ != false) { - output.writeBool(2, isParentNode_); - } - if (!getSpecNodeIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, specNodeId_); - } - if (isDynamic_ != false) { - output.writeBool(4, isDynamic_); - } - if (isArray_ != false) { - output.writeBool(5, isArray_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getRetryGroupBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, retryGroup_); - } - if (isParentNode_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, isParentNode_); - } - if (!getSpecNodeIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, specNodeId_); - } - if (isDynamic_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, isDynamic_); - } - if (isArray_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, isArray_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData) obj; - - if (!getRetryGroup() - .equals(other.getRetryGroup())) return false; - if (getIsParentNode() - != other.getIsParentNode()) return false; - if (!getSpecNodeId() - .equals(other.getSpecNodeId())) return false; - if (getIsDynamic() - != other.getIsDynamic()) return false; - if (getIsArray() - != other.getIsArray()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RETRY_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getRetryGroup().hashCode(); - hash = (37 * hash) + IS_PARENT_NODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsParentNode()); - hash = (37 * hash) + SPEC_NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getSpecNodeId().hashCode(); - hash = (37 * hash) + IS_DYNAMIC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsDynamic()); - hash = (37 * hash) + IS_ARRAY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsArray()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData 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; - } - /** - *
-     * Represents additional attributes related to a Node Execution
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionMetaData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionMetaData) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.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(); - retryGroup_ = ""; - - isParentNode_ = false; - - specNodeId_ = ""; - - isDynamic_ = false; - - isArray_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData(this); - result.retryGroup_ = retryGroup_; - result.isParentNode_ = isParentNode_; - result.specNodeId_ = specNodeId_; - result.isDynamic_ = isDynamic_; - result.isArray_ = isArray_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance()) return this; - if (!other.getRetryGroup().isEmpty()) { - retryGroup_ = other.retryGroup_; - onChanged(); - } - if (other.getIsParentNode() != false) { - setIsParentNode(other.getIsParentNode()); - } - if (!other.getSpecNodeId().isEmpty()) { - specNodeId_ = other.specNodeId_; - onChanged(); - } - if (other.getIsDynamic() != false) { - setIsDynamic(other.getIsDynamic()); - } - if (other.getIsArray() != false) { - setIsArray(other.getIsArray()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object retryGroup_ = ""; - /** - *
-       * Node executions are grouped depending on retries of the parent
-       * Retry group is unique within the context of a parent node.
-       * 
- * - * string retry_group = 1; - */ - public java.lang.String getRetryGroup() { - java.lang.Object ref = retryGroup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - retryGroup_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Node executions are grouped depending on retries of the parent
-       * Retry group is unique within the context of a parent node.
-       * 
- * - * string retry_group = 1; - */ - public com.google.protobuf.ByteString - getRetryGroupBytes() { - java.lang.Object ref = retryGroup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - retryGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Node executions are grouped depending on retries of the parent
-       * Retry group is unique within the context of a parent node.
-       * 
- * - * string retry_group = 1; - */ - public Builder setRetryGroup( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - retryGroup_ = value; - onChanged(); - return this; - } - /** - *
-       * Node executions are grouped depending on retries of the parent
-       * Retry group is unique within the context of a parent node.
-       * 
- * - * string retry_group = 1; - */ - public Builder clearRetryGroup() { - - retryGroup_ = getDefaultInstance().getRetryGroup(); - onChanged(); - return this; - } - /** - *
-       * Node executions are grouped depending on retries of the parent
-       * Retry group is unique within the context of a parent node.
-       * 
- * - * string retry_group = 1; - */ - public Builder setRetryGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - retryGroup_ = value; - onChanged(); - return this; - } - - private boolean isParentNode_ ; - /** - *
-       * Boolean flag indicating if the node has child nodes under it
-       * This can be true when a node contains a dynamic workflow which then produces
-       * child nodes.
-       * 
- * - * bool is_parent_node = 2; - */ - public boolean getIsParentNode() { - return isParentNode_; - } - /** - *
-       * Boolean flag indicating if the node has child nodes under it
-       * This can be true when a node contains a dynamic workflow which then produces
-       * child nodes.
-       * 
- * - * bool is_parent_node = 2; - */ - public Builder setIsParentNode(boolean value) { - - isParentNode_ = value; - onChanged(); - return this; - } - /** - *
-       * Boolean flag indicating if the node has child nodes under it
-       * This can be true when a node contains a dynamic workflow which then produces
-       * child nodes.
-       * 
- * - * bool is_parent_node = 2; - */ - public Builder clearIsParentNode() { - - isParentNode_ = false; - onChanged(); - return this; - } - - private java.lang.Object specNodeId_ = ""; - /** - *
-       * Node id of the node in the original workflow
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 3; - */ - public java.lang.String getSpecNodeId() { - java.lang.Object ref = specNodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - specNodeId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Node id of the node in the original workflow
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 3; - */ - public com.google.protobuf.ByteString - getSpecNodeIdBytes() { - java.lang.Object ref = specNodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - specNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Node id of the node in the original workflow
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 3; - */ - public Builder setSpecNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - specNodeId_ = value; - onChanged(); - return this; - } - /** - *
-       * Node id of the node in the original workflow
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 3; - */ - public Builder clearSpecNodeId() { - - specNodeId_ = getDefaultInstance().getSpecNodeId(); - onChanged(); - return this; - } - /** - *
-       * Node id of the node in the original workflow
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 3; - */ - public Builder setSpecNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - specNodeId_ = value; - onChanged(); - return this; - } - - private boolean isDynamic_ ; - /** - *
-       * Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.
-       * This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true.
-       * 
- * - * bool is_dynamic = 4; - */ - public boolean getIsDynamic() { - return isDynamic_; - } - /** - *
-       * Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.
-       * This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true.
-       * 
- * - * bool is_dynamic = 4; - */ - public Builder setIsDynamic(boolean value) { - - isDynamic_ = value; - onChanged(); - return this; - } - /** - *
-       * Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.
-       * This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true.
-       * 
- * - * bool is_dynamic = 4; - */ - public Builder clearIsDynamic() { - - isDynamic_ = false; - onChanged(); - return this; - } - - private boolean isArray_ ; - /** - *
-       * Boolean flag indicating if the node is an array node. This is intended to uniquely identify
-       * array nodes from other nodes which can have is_parent_node as true.
-       * 
- * - * bool is_array = 5; - */ - public boolean getIsArray() { - return isArray_; - } - /** - *
-       * Boolean flag indicating if the node is an array node. This is intended to uniquely identify
-       * array nodes from other nodes which can have is_parent_node as true.
-       * 
- * - * bool is_array = 5; - */ - public Builder setIsArray(boolean value) { - - isArray_ = value; - onChanged(); - return this; - } - /** - *
-       * Boolean flag indicating if the node is an array node. This is intended to uniquely identify
-       * array nodes from other nodes which can have is_parent_node as true.
-       * 
- * - * bool is_array = 5; - */ - public Builder clearIsArray() { - - isArray_ = false; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionMetaData) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionMetaData) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionMetaData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionMetaData(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - java.util.List - getNodeExecutionsList(); - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - flyteidl.admin.NodeExecutionOuterClass.NodeExecution getNodeExecutions(int index); - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - int getNodeExecutionsCount(); - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - java.util.List - getNodeExecutionsOrBuilderList(); - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder getNodeExecutionsOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Request structure to retrieve a list of node execution entities.
-   * See :ref:`ref_flyteidl.admin.NodeExecution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionList} - */ - public static final class NodeExecutionList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionList) - NodeExecutionListOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionList.newBuilder() to construct. - private NodeExecutionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionList() { - nodeExecutions_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionList( - 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)) { - nodeExecutions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nodeExecutions_.add( - input.readMessage(flyteidl.admin.NodeExecutionOuterClass.NodeExecution.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - nodeExecutions_ = java.util.Collections.unmodifiableList(nodeExecutions_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.Builder.class); - } - - private int bitField0_; - public static final int NODE_EXECUTIONS_FIELD_NUMBER = 1; - private java.util.List nodeExecutions_; - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public java.util.List getNodeExecutionsList() { - return nodeExecutions_; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public java.util.List - getNodeExecutionsOrBuilderList() { - return nodeExecutions_; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public int getNodeExecutionsCount() { - return nodeExecutions_.size(); - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution getNodeExecutions(int index) { - return nodeExecutions_.get(index); - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder getNodeExecutionsOrBuilder( - int index) { - return nodeExecutions_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < nodeExecutions_.size(); i++) { - output.writeMessage(1, nodeExecutions_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < nodeExecutions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, nodeExecutions_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList) obj; - - if (!getNodeExecutionsList() - .equals(other.getNodeExecutionsList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getNodeExecutionsCount() > 0) { - hash = (37 * hash) + NODE_EXECUTIONS_FIELD_NUMBER; - hash = (53 * hash) + getNodeExecutionsList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList 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 structure to retrieve a list of node execution entities.
-     * See :ref:`ref_flyteidl.admin.NodeExecution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionList) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNodeExecutionsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (nodeExecutionsBuilder_ == null) { - nodeExecutions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - nodeExecutionsBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (nodeExecutionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - nodeExecutions_ = java.util.Collections.unmodifiableList(nodeExecutions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.nodeExecutions_ = nodeExecutions_; - } else { - result.nodeExecutions_ = nodeExecutionsBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.getDefaultInstance()) return this; - if (nodeExecutionsBuilder_ == null) { - if (!other.nodeExecutions_.isEmpty()) { - if (nodeExecutions_.isEmpty()) { - nodeExecutions_ = other.nodeExecutions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureNodeExecutionsIsMutable(); - nodeExecutions_.addAll(other.nodeExecutions_); - } - onChanged(); - } - } else { - if (!other.nodeExecutions_.isEmpty()) { - if (nodeExecutionsBuilder_.isEmpty()) { - nodeExecutionsBuilder_.dispose(); - nodeExecutionsBuilder_ = null; - nodeExecutions_ = other.nodeExecutions_; - bitField0_ = (bitField0_ & ~0x00000001); - nodeExecutionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodeExecutionsFieldBuilder() : null; - } else { - nodeExecutionsBuilder_.addAllMessages(other.nodeExecutions_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List nodeExecutions_ = - java.util.Collections.emptyList(); - private void ensureNodeExecutionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - nodeExecutions_ = new java.util.ArrayList(nodeExecutions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecution, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder> nodeExecutionsBuilder_; - - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public java.util.List getNodeExecutionsList() { - if (nodeExecutionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodeExecutions_); - } else { - return nodeExecutionsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public int getNodeExecutionsCount() { - if (nodeExecutionsBuilder_ == null) { - return nodeExecutions_.size(); - } else { - return nodeExecutionsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution getNodeExecutions(int index) { - if (nodeExecutionsBuilder_ == null) { - return nodeExecutions_.get(index); - } else { - return nodeExecutionsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder setNodeExecutions( - int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution value) { - if (nodeExecutionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeExecutionsIsMutable(); - nodeExecutions_.set(index, value); - onChanged(); - } else { - nodeExecutionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder setNodeExecutions( - int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder builderForValue) { - if (nodeExecutionsBuilder_ == null) { - ensureNodeExecutionsIsMutable(); - nodeExecutions_.set(index, builderForValue.build()); - onChanged(); - } else { - nodeExecutionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder addNodeExecutions(flyteidl.admin.NodeExecutionOuterClass.NodeExecution value) { - if (nodeExecutionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeExecutionsIsMutable(); - nodeExecutions_.add(value); - onChanged(); - } else { - nodeExecutionsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder addNodeExecutions( - int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution value) { - if (nodeExecutionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeExecutionsIsMutable(); - nodeExecutions_.add(index, value); - onChanged(); - } else { - nodeExecutionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder addNodeExecutions( - flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder builderForValue) { - if (nodeExecutionsBuilder_ == null) { - ensureNodeExecutionsIsMutable(); - nodeExecutions_.add(builderForValue.build()); - onChanged(); - } else { - nodeExecutionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder addNodeExecutions( - int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder builderForValue) { - if (nodeExecutionsBuilder_ == null) { - ensureNodeExecutionsIsMutable(); - nodeExecutions_.add(index, builderForValue.build()); - onChanged(); - } else { - nodeExecutionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder addAllNodeExecutions( - java.lang.Iterable values) { - if (nodeExecutionsBuilder_ == null) { - ensureNodeExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodeExecutions_); - onChanged(); - } else { - nodeExecutionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder clearNodeExecutions() { - if (nodeExecutionsBuilder_ == null) { - nodeExecutions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - nodeExecutionsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public Builder removeNodeExecutions(int index) { - if (nodeExecutionsBuilder_ == null) { - ensureNodeExecutionsIsMutable(); - nodeExecutions_.remove(index); - onChanged(); - } else { - nodeExecutionsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder getNodeExecutionsBuilder( - int index) { - return getNodeExecutionsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder getNodeExecutionsOrBuilder( - int index) { - if (nodeExecutionsBuilder_ == null) { - return nodeExecutions_.get(index); } else { - return nodeExecutionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public java.util.List - getNodeExecutionsOrBuilderList() { - if (nodeExecutionsBuilder_ != null) { - return nodeExecutionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodeExecutions_); - } - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder addNodeExecutionsBuilder() { - return getNodeExecutionsFieldBuilder().addBuilder( - flyteidl.admin.NodeExecutionOuterClass.NodeExecution.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder addNodeExecutionsBuilder( - int index) { - return getNodeExecutionsFieldBuilder().addBuilder( - index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.NodeExecution node_executions = 1; - */ - public java.util.List - getNodeExecutionsBuilderList() { - return getNodeExecutionsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecution, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder> - getNodeExecutionsFieldBuilder() { - if (nodeExecutionsBuilder_ == null) { - nodeExecutionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.NodeExecution, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder>( - nodeExecutions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - nodeExecutions_ = null; - } - return nodeExecutionsBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionList) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionClosureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionClosure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated java.lang.String getOutputUri(); - /** - *
-     * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getOutputUriBytes(); - - /** - *
-     * Error information for the Node
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - boolean hasError(); - /** - *
-     * Error information for the Node
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - flyteidl.core.Execution.ExecutionError getError(); - /** - *
-     * Error information for the Node
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder(); - - /** - *
-     * Raw output data produced by this node execution.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasOutputData(); - /** - *
-     * Raw output data produced by this node execution.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Raw output data produced by this node execution.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - /** - *
-     * The last recorded phase for this node execution.
-     * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - int getPhaseValue(); - /** - *
-     * The last recorded phase for this node execution.
-     * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - flyteidl.core.Execution.NodeExecution.Phase getPhase(); - - /** - *
-     * Time at which the node execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - boolean hasStartedAt(); - /** - *
-     * Time at which the node execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - com.google.protobuf.Timestamp getStartedAt(); - /** - *
-     * Time at which the node execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder(); - - /** - *
-     * The amount of time the node execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 5; - */ - boolean hasDuration(); - /** - *
-     * The amount of time the node execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 5; - */ - com.google.protobuf.Duration getDuration(); - /** - *
-     * The amount of time the node execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 5; - */ - com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); - - /** - *
-     * Time at which the node execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - boolean hasCreatedAt(); - /** - *
-     * Time at which the node execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - com.google.protobuf.Timestamp getCreatedAt(); - /** - *
-     * Time at which the node execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); - - /** - *
-     * Time at which the node execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - boolean hasUpdatedAt(); - /** - *
-     * Time at which the node execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - com.google.protobuf.Timestamp getUpdatedAt(); - /** - *
-     * Time at which the node execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder(); - - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - boolean hasWorkflowNodeMetadata(); - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getWorkflowNodeMetadata(); - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder(); - - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - boolean hasTaskNodeMetadata(); - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata getTaskNodeMetadata(); - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadataOrBuilder getTaskNodeMetadataOrBuilder(); - - /** - *
-     * String location uniquely identifying where the deck HTML file is.
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 11; - */ - java.lang.String getDeckUri(); - /** - *
-     * String location uniquely identifying where the deck HTML file is.
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 11; - */ - com.google.protobuf.ByteString - getDeckUriBytes(); - - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-     * to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 12; - */ - java.lang.String getDynamicJobSpecUri(); - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-     * to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 12; - */ - com.google.protobuf.ByteString - getDynamicJobSpecUriBytes(); - - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.OutputResultCase getOutputResultCase(); - - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.TargetMetadataCase getTargetMetadataCase(); - } - /** - *
-   * Container for node execution details and results.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionClosure} - */ - public static final class NodeExecutionClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionClosure) - NodeExecutionClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionClosure.newBuilder() to construct. - private NodeExecutionClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionClosure() { - phase_ = 0; - deckUri_ = ""; - dynamicJobSpecUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionClosure( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - outputResultCase_ = 1; - outputResult_ = s; - break; - } - case 18: { - flyteidl.core.Execution.ExecutionError.Builder subBuilder = null; - if (outputResultCase_ == 2) { - subBuilder = ((flyteidl.core.Execution.ExecutionError) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Execution.ExecutionError.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.ExecutionError) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 2; - break; - } - case 24: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startedAt_ != null) { - subBuilder = startedAt_.toBuilder(); - } - startedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startedAt_); - startedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createdAt_ != null) { - subBuilder = createdAt_.toBuilder(); - } - createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createdAt_); - createdAt_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updatedAt_ != null) { - subBuilder = updatedAt_.toBuilder(); - } - updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updatedAt_); - updatedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder subBuilder = null; - if (targetMetadataCase_ == 8) { - subBuilder = ((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_).toBuilder(); - } - targetMetadata_ = - input.readMessage(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_); - targetMetadata_ = subBuilder.buildPartial(); - } - targetMetadataCase_ = 8; - break; - } - case 74: { - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder subBuilder = null; - if (targetMetadataCase_ == 9) { - subBuilder = ((flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_).toBuilder(); - } - targetMetadata_ = - input.readMessage(flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_); - targetMetadata_ = subBuilder.buildPartial(); - } - targetMetadataCase_ = 9; - break; - } - case 82: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputResultCase_ == 10) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 10; - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - - deckUri_ = s; - break; - } - case 98: { - java.lang.String s = input.readStringRequireUtf8(); - - dynamicJobSpecUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder.class); - } - - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public enum OutputResultCase - implements com.google.protobuf.Internal.EnumLite { - @java.lang.Deprecated OUTPUT_URI(1), - ERROR(2), - @java.lang.Deprecated OUTPUT_DATA(10), - OUTPUTRESULT_NOT_SET(0); - private final int value; - private OutputResultCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OutputResultCase valueOf(int value) { - return forNumber(value); - } - - public static OutputResultCase forNumber(int value) { - switch (value) { - case 1: return OUTPUT_URI; - case 2: return ERROR; - case 10: return OUTPUT_DATA; - case 0: return OUTPUTRESULT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - private int targetMetadataCase_ = 0; - private java.lang.Object targetMetadata_; - public enum TargetMetadataCase - implements com.google.protobuf.Internal.EnumLite { - WORKFLOW_NODE_METADATA(8), - TASK_NODE_METADATA(9), - TARGETMETADATA_NOT_SET(0); - private final int value; - private TargetMetadataCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TargetMetadataCase valueOf(int value) { - return forNumber(value); - } - - public static TargetMetadataCase forNumber(int value) { - switch (value) { - case 8: return WORKFLOW_NODE_METADATA; - case 9: return TASK_NODE_METADATA; - case 0: return TARGETMETADATA_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public TargetMetadataCase - getTargetMetadataCase() { - return TargetMetadataCase.forNumber( - targetMetadataCase_); - } - - public static final int OUTPUT_URI_FIELD_NUMBER = 1; - /** - *
-     * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - 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 (outputResultCase_ == 1) { - outputResult_ = s; - } - return s; - } - } - /** - *
-     * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 1) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_FIELD_NUMBER = 2; - /** - *
-     * Error information for the Node
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public boolean hasError() { - return outputResultCase_ == 2; - } - /** - *
-     * Error information for the Node
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - /** - *
-     * Error information for the Node
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - - public static final int OUTPUT_DATA_FIELD_NUMBER = 10; - /** - *
-     * Raw output data produced by this node execution.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputData() { - return outputResultCase_ == 10; - } - /** - *
-     * Raw output data produced by this node execution.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputResultCase_ == 10) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw output data produced by this node execution.
-     * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputResultCase_ == 10) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int PHASE_FIELD_NUMBER = 3; - private int phase_; - /** - *
-     * The last recorded phase for this node execution.
-     * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-     * The last recorded phase for this node execution.
-     * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.NodeExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.NodeExecution.Phase result = flyteidl.core.Execution.NodeExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.NodeExecution.Phase.UNRECOGNIZED : result; - } - - public static final int STARTED_AT_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp startedAt_; - /** - *
-     * Time at which the node execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public boolean hasStartedAt() { - return startedAt_ != null; - } - /** - *
-     * Time at which the node execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public com.google.protobuf.Timestamp getStartedAt() { - return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } - /** - *
-     * Time at which the node execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { - return getStartedAt(); - } - - public static final int DURATION_FIELD_NUMBER = 5; - private com.google.protobuf.Duration duration_; - /** - *
-     * The amount of time the node execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 5; - */ - public boolean hasDuration() { - return duration_ != null; - } - /** - *
-     * The amount of time the node execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 5; - */ - public com.google.protobuf.Duration getDuration() { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - /** - *
-     * The amount of time the node execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 5; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - return getDuration(); - } - - public static final int CREATED_AT_FIELD_NUMBER = 6; - private com.google.protobuf.Timestamp createdAt_; - /** - *
-     * Time at which the node execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public boolean hasCreatedAt() { - return createdAt_ != null; - } - /** - *
-     * Time at which the node execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - /** - *
-     * Time at which the node execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - return getCreatedAt(); - } - - public static final int UPDATED_AT_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp updatedAt_; - /** - *
-     * Time at which the node execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public boolean hasUpdatedAt() { - return updatedAt_ != null; - } - /** - *
-     * Time at which the node execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - /** - *
-     * Time at which the node execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - return getUpdatedAt(); - } - - public static final int WORKFLOW_NODE_METADATA_FIELD_NUMBER = 8; - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public boolean hasWorkflowNodeMetadata() { - return targetMetadataCase_ == 8; - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getWorkflowNodeMetadata() { - if (targetMetadataCase_ == 8) { - return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance(); - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder() { - if (targetMetadataCase_ == 8) { - return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance(); - } - - public static final int TASK_NODE_METADATA_FIELD_NUMBER = 9; - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public boolean hasTaskNodeMetadata() { - return targetMetadataCase_ == 9; - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata getTaskNodeMetadata() { - if (targetMetadataCase_ == 9) { - return (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance(); - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadataOrBuilder getTaskNodeMetadataOrBuilder() { - if (targetMetadataCase_ == 9) { - return (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance(); - } - - public static final int DECK_URI_FIELD_NUMBER = 11; - private volatile java.lang.Object deckUri_; - /** - *
-     * String location uniquely identifying where the deck HTML file is.
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 11; - */ - public java.lang.String getDeckUri() { - java.lang.Object ref = deckUri_; - 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(); - deckUri_ = s; - return s; - } - } - /** - *
-     * String location uniquely identifying where the deck HTML file is.
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 11; - */ - public com.google.protobuf.ByteString - getDeckUriBytes() { - java.lang.Object ref = deckUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deckUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER = 12; - private volatile java.lang.Object dynamicJobSpecUri_; - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-     * to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 12; - */ - public java.lang.String getDynamicJobSpecUri() { - java.lang.Object ref = dynamicJobSpecUri_; - 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(); - dynamicJobSpecUri_ = s; - return s; - } - } - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-     * to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 12; - */ - public com.google.protobuf.ByteString - getDynamicJobSpecUriBytes() { - java.lang.Object ref = dynamicJobSpecUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dynamicJobSpecUri_ = 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 (outputResultCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputResult_); - } - if (outputResultCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (phase_ != flyteidl.core.Execution.NodeExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(3, phase_); - } - if (startedAt_ != null) { - output.writeMessage(4, getStartedAt()); - } - if (duration_ != null) { - output.writeMessage(5, getDuration()); - } - if (createdAt_ != null) { - output.writeMessage(6, getCreatedAt()); - } - if (updatedAt_ != null) { - output.writeMessage(7, getUpdatedAt()); - } - if (targetMetadataCase_ == 8) { - output.writeMessage(8, (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_); - } - if (targetMetadataCase_ == 9) { - output.writeMessage(9, (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_); - } - if (outputResultCase_ == 10) { - output.writeMessage(10, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (!getDeckUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, deckUri_); - } - if (!getDynamicJobSpecUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, dynamicJobSpecUri_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (outputResultCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputResult_); - } - if (outputResultCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (phase_ != flyteidl.core.Execution.NodeExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, phase_); - } - if (startedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStartedAt()); - } - if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDuration()); - } - if (createdAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreatedAt()); - } - if (updatedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getUpdatedAt()); - } - if (targetMetadataCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_); - } - if (targetMetadataCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_); - } - if (outputResultCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (!getDeckUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, deckUri_); - } - if (!getDynamicJobSpecUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, dynamicJobSpecUri_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure) obj; - - if (phase_ != other.phase_) return false; - if (hasStartedAt() != other.hasStartedAt()) return false; - if (hasStartedAt()) { - if (!getStartedAt() - .equals(other.getStartedAt())) return false; - } - if (hasDuration() != other.hasDuration()) return false; - if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; - } - if (hasCreatedAt() != other.hasCreatedAt()) return false; - if (hasCreatedAt()) { - if (!getCreatedAt() - .equals(other.getCreatedAt())) return false; - } - if (hasUpdatedAt() != other.hasUpdatedAt()) return false; - if (hasUpdatedAt()) { - if (!getUpdatedAt() - .equals(other.getUpdatedAt())) return false; - } - if (!getDeckUri() - .equals(other.getDeckUri())) return false; - if (!getDynamicJobSpecUri() - .equals(other.getDynamicJobSpecUri())) return false; - if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; - switch (outputResultCase_) { - case 1: - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - break; - case 2: - if (!getError() - .equals(other.getError())) return false; - break; - case 10: - if (!getOutputData() - .equals(other.getOutputData())) return false; - break; - case 0: - default: - } - if (!getTargetMetadataCase().equals(other.getTargetMetadataCase())) return false; - switch (targetMetadataCase_) { - case 8: - if (!getWorkflowNodeMetadata() - .equals(other.getWorkflowNodeMetadata())) return false; - break; - case 9: - if (!getTaskNodeMetadata() - .equals(other.getTaskNodeMetadata())) 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) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - if (hasStartedAt()) { - hash = (37 * hash) + STARTED_AT_FIELD_NUMBER; - hash = (53 * hash) + getStartedAt().hashCode(); - } - if (hasDuration()) { - hash = (37 * hash) + DURATION_FIELD_NUMBER; - hash = (53 * hash) + getDuration().hashCode(); - } - if (hasCreatedAt()) { - hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getCreatedAt().hashCode(); - } - if (hasUpdatedAt()) { - hash = (37 * hash) + UPDATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getUpdatedAt().hashCode(); - } - hash = (37 * hash) + DECK_URI_FIELD_NUMBER; - hash = (53 * hash) + getDeckUri().hashCode(); - hash = (37 * hash) + DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER; - hash = (53 * hash) + getDynamicJobSpecUri().hashCode(); - switch (outputResultCase_) { - case 1: - hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getOutputUri().hashCode(); - break; - case 2: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 10: - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - break; - case 0: - default: - } - switch (targetMetadataCase_) { - case 8: - hash = (37 * hash) + WORKFLOW_NODE_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowNodeMetadata().hashCode(); - break; - case 9: - hash = (37 * hash) + TASK_NODE_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getTaskNodeMetadata().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure 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; - } - /** - *
-     * Container for node execution details and results.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionClosure) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.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(); - phase_ = 0; - - if (startedAtBuilder_ == null) { - startedAt_ = null; - } else { - startedAt_ = null; - startedAtBuilder_ = null; - } - if (durationBuilder_ == null) { - duration_ = null; - } else { - duration_ = null; - durationBuilder_ = null; - } - if (createdAtBuilder_ == null) { - createdAt_ = null; - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - deckUri_ = ""; - - dynamicJobSpecUri_ = ""; - - outputResultCase_ = 0; - outputResult_ = null; - targetMetadataCase_ = 0; - targetMetadata_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure(this); - if (outputResultCase_ == 1) { - result.outputResult_ = outputResult_; - } - if (outputResultCase_ == 2) { - if (errorBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = errorBuilder_.build(); - } - } - if (outputResultCase_ == 10) { - if (outputDataBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = outputDataBuilder_.build(); - } - } - result.phase_ = phase_; - if (startedAtBuilder_ == null) { - result.startedAt_ = startedAt_; - } else { - result.startedAt_ = startedAtBuilder_.build(); - } - if (durationBuilder_ == null) { - result.duration_ = duration_; - } else { - result.duration_ = durationBuilder_.build(); - } - if (createdAtBuilder_ == null) { - result.createdAt_ = createdAt_; - } else { - result.createdAt_ = createdAtBuilder_.build(); - } - if (updatedAtBuilder_ == null) { - result.updatedAt_ = updatedAt_; - } else { - result.updatedAt_ = updatedAtBuilder_.build(); - } - if (targetMetadataCase_ == 8) { - if (workflowNodeMetadataBuilder_ == null) { - result.targetMetadata_ = targetMetadata_; - } else { - result.targetMetadata_ = workflowNodeMetadataBuilder_.build(); - } - } - if (targetMetadataCase_ == 9) { - if (taskNodeMetadataBuilder_ == null) { - result.targetMetadata_ = targetMetadata_; - } else { - result.targetMetadata_ = taskNodeMetadataBuilder_.build(); - } - } - result.deckUri_ = deckUri_; - result.dynamicJobSpecUri_ = dynamicJobSpecUri_; - result.outputResultCase_ = outputResultCase_; - result.targetMetadataCase_ = targetMetadataCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance()) return this; - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (other.hasStartedAt()) { - mergeStartedAt(other.getStartedAt()); - } - if (other.hasDuration()) { - mergeDuration(other.getDuration()); - } - if (other.hasCreatedAt()) { - mergeCreatedAt(other.getCreatedAt()); - } - if (other.hasUpdatedAt()) { - mergeUpdatedAt(other.getUpdatedAt()); - } - if (!other.getDeckUri().isEmpty()) { - deckUri_ = other.deckUri_; - onChanged(); - } - if (!other.getDynamicJobSpecUri().isEmpty()) { - dynamicJobSpecUri_ = other.dynamicJobSpecUri_; - onChanged(); - } - switch (other.getOutputResultCase()) { - case OUTPUT_URI: { - outputResultCase_ = 1; - outputResult_ = other.outputResult_; - onChanged(); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case OUTPUT_DATA: { - mergeOutputData(other.getOutputData()); - break; - } - case OUTPUTRESULT_NOT_SET: { - break; - } - } - switch (other.getTargetMetadataCase()) { - case WORKFLOW_NODE_METADATA: { - mergeWorkflowNodeMetadata(other.getWorkflowNodeMetadata()); - break; - } - case TASK_NODE_METADATA: { - mergeTaskNodeMetadata(other.getTaskNodeMetadata()); - break; - } - case TARGETMETADATA_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public Builder clearOutputResult() { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - return this; - } - - private int targetMetadataCase_ = 0; - private java.lang.Object targetMetadata_; - public TargetMetadataCase - getTargetMetadataCase() { - return TargetMetadataCase.forNumber( - targetMetadataCase_); - } - - public Builder clearTargetMetadata() { - targetMetadataCase_ = 0; - targetMetadata_ = null; - onChanged(); - return this; - } - - - /** - *
-       * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (outputResultCase_ == 1) { - outputResult_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 1) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - outputResultCase_ = 1; - outputResult_ = value; - onChanged(); - return this; - } - /** - *
-       * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputUri() { - if (outputResultCase_ == 1) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - return this; - } - /** - *
-       * Links to a remotely stored, serialized core.LiteralMap of node execution outputs.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - outputResultCase_ = 1; - outputResult_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> errorBuilder_; - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public boolean hasError() { - return outputResultCase_ == 2; - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } else { - if (outputResultCase_ == 2) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder setError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder setError( - flyteidl.core.Execution.ExecutionError.Builder builderForValue) { - if (errorBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder mergeError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2 && - outputResult_ != flyteidl.core.Execution.ExecutionError.getDefaultInstance()) { - outputResult_ = flyteidl.core.Execution.ExecutionError.newBuilder((flyteidl.core.Execution.ExecutionError) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 2) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 2) { - outputResultCase_ = 0; - outputResult_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if ((outputResultCase_ == 2) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the Node
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(outputResultCase_ == 2)) { - outputResult_ = flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder>( - (flyteidl.core.Execution.ExecutionError) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 2; - onChanged();; - return errorBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputData() { - return outputResultCase_ == 10; - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 10) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (outputResultCase_ == 10) { - return outputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 10; - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 10; - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 10 && - outputResult_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - outputResult_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 10) { - outputDataBuilder_.mergeFrom(value); - } - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 10; - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 10) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 10) { - outputResultCase_ = 0; - outputResult_ = null; - } - outputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if ((outputResultCase_ == 10) && (outputDataBuilder_ != null)) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 10) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this node execution.
-       * DEPRECATED. Use GetNodeExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 10 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - if (!(outputResultCase_ == 10)) { - outputResult_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 10; - onChanged();; - return outputDataBuilder_; - } - - private int phase_ = 0; - /** - *
-       * The last recorded phase for this node execution.
-       * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-       * The last recorded phase for this node execution.
-       * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - *
-       * The last recorded phase for this node execution.
-       * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.NodeExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.NodeExecution.Phase result = flyteidl.core.Execution.NodeExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.NodeExecution.Phase.UNRECOGNIZED : result; - } - /** - *
-       * The last recorded phase for this node execution.
-       * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public Builder setPhase(flyteidl.core.Execution.NodeExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * The last recorded phase for this node execution.
-       * 
- * - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp startedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startedAtBuilder_; - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public boolean hasStartedAt() { - return startedAtBuilder_ != null || startedAt_ != null; - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public com.google.protobuf.Timestamp getStartedAt() { - if (startedAtBuilder_ == null) { - return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } else { - return startedAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public Builder setStartedAt(com.google.protobuf.Timestamp value) { - if (startedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - startedAt_ = value; - onChanged(); - } else { - startedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public Builder setStartedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (startedAtBuilder_ == null) { - startedAt_ = builderForValue.build(); - onChanged(); - } else { - startedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public Builder mergeStartedAt(com.google.protobuf.Timestamp value) { - if (startedAtBuilder_ == null) { - if (startedAt_ != null) { - startedAt_ = - com.google.protobuf.Timestamp.newBuilder(startedAt_).mergeFrom(value).buildPartial(); - } else { - startedAt_ = value; - } - onChanged(); - } else { - startedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public Builder clearStartedAt() { - if (startedAtBuilder_ == null) { - startedAt_ = null; - onChanged(); - } else { - startedAt_ = null; - startedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public com.google.protobuf.Timestamp.Builder getStartedAtBuilder() { - - onChanged(); - return getStartedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { - if (startedAtBuilder_ != null) { - return startedAtBuilder_.getMessageOrBuilder(); - } else { - return startedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } - } - /** - *
-       * Time at which the node execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartedAtFieldBuilder() { - if (startedAtBuilder_ == null) { - startedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartedAt(), - getParentForChildren(), - isClean()); - startedAt_ = null; - } - return startedAtBuilder_; - } - - private com.google.protobuf.Duration duration_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public boolean hasDuration() { - return durationBuilder_ != null || duration_ != null; - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public com.google.protobuf.Duration getDuration() { - if (durationBuilder_ == null) { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } else { - return durationBuilder_.getMessage(); - } - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public Builder setDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - duration_ = value; - onChanged(); - } else { - durationBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { - if (durationBuilder_ == null) { - duration_ = builderForValue.build(); - onChanged(); - } else { - durationBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public Builder mergeDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (duration_ != null) { - duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); - } else { - duration_ = value; - } - onChanged(); - } else { - durationBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public Builder clearDuration() { - if (durationBuilder_ == null) { - duration_ = null; - onChanged(); - } else { - duration_ = null; - durationBuilder_ = null; - } - - return this; - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public com.google.protobuf.Duration.Builder getDurationBuilder() { - - onChanged(); - return getDurationFieldBuilder().getBuilder(); - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - if (durationBuilder_ != null) { - return durationBuilder_.getMessageOrBuilder(); - } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - } - /** - *
-       * The amount of time the node execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getDurationFieldBuilder() { - if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); - duration_ = null; - } - return durationBuilder_; - } - - private com.google.protobuf.Timestamp createdAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public boolean hasCreatedAt() { - return createdAtBuilder_ != null || createdAt_ != null; - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - if (createdAtBuilder_ == null) { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } else { - return createdAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public Builder setCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createdAt_ = value; - onChanged(); - } else { - createdAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public Builder setCreatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (createdAtBuilder_ == null) { - createdAt_ = builderForValue.build(); - onChanged(); - } else { - createdAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (createdAt_ != null) { - createdAt_ = - com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); - } else { - createdAt_ = value; - } - onChanged(); - } else { - createdAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public Builder clearCreatedAt() { - if (createdAtBuilder_ == null) { - createdAt_ = null; - onChanged(); - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { - - onChanged(); - return getCreatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - if (createdAtBuilder_ != null) { - return createdAtBuilder_.getMessageOrBuilder(); - } else { - return createdAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - } - /** - *
-       * Time at which the node execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreatedAtFieldBuilder() { - if (createdAtBuilder_ == null) { - createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreatedAt(), - getParentForChildren(), - isClean()); - createdAt_ = null; - } - return createdAtBuilder_; - } - - private com.google.protobuf.Timestamp updatedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_; - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public boolean hasUpdatedAt() { - return updatedAtBuilder_ != null || updatedAt_ != null; - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - if (updatedAtBuilder_ == null) { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } else { - return updatedAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public Builder setUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updatedAt_ = value; - onChanged(); - } else { - updatedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public Builder setUpdatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (updatedAtBuilder_ == null) { - updatedAt_ = builderForValue.build(); - onChanged(); - } else { - updatedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (updatedAt_ != null) { - updatedAt_ = - com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial(); - } else { - updatedAt_ = value; - } - onChanged(); - } else { - updatedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public Builder clearUpdatedAt() { - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - onChanged(); - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() { - - onChanged(); - return getUpdatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - if (updatedAtBuilder_ != null) { - return updatedAtBuilder_.getMessageOrBuilder(); - } else { - return updatedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - } - /** - *
-       * Time at which the node execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdatedAtFieldBuilder() { - if (updatedAtBuilder_ == null) { - updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdatedAt(), - getParentForChildren(), - isClean()); - updatedAt_ = null; - } - return updatedAtBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder> workflowNodeMetadataBuilder_; - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public boolean hasWorkflowNodeMetadata() { - return targetMetadataCase_ == 8; - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getWorkflowNodeMetadata() { - if (workflowNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 8) { - return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance(); - } else { - if (targetMetadataCase_ == 8) { - return workflowNodeMetadataBuilder_.getMessage(); - } - return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder setWorkflowNodeMetadata(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata value) { - if (workflowNodeMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - targetMetadata_ = value; - onChanged(); - } else { - workflowNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 8; - return this; - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder setWorkflowNodeMetadata( - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder builderForValue) { - if (workflowNodeMetadataBuilder_ == null) { - targetMetadata_ = builderForValue.build(); - onChanged(); - } else { - workflowNodeMetadataBuilder_.setMessage(builderForValue.build()); - } - targetMetadataCase_ = 8; - return this; - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder mergeWorkflowNodeMetadata(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata value) { - if (workflowNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 8 && - targetMetadata_ != flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance()) { - targetMetadata_ = flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.newBuilder((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_) - .mergeFrom(value).buildPartial(); - } else { - targetMetadata_ = value; - } - onChanged(); - } else { - if (targetMetadataCase_ == 8) { - workflowNodeMetadataBuilder_.mergeFrom(value); - } - workflowNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 8; - return this; - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder clearWorkflowNodeMetadata() { - if (workflowNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 8) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - onChanged(); - } - } else { - if (targetMetadataCase_ == 8) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - } - workflowNodeMetadataBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder getWorkflowNodeMetadataBuilder() { - return getWorkflowNodeMetadataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder() { - if ((targetMetadataCase_ == 8) && (workflowNodeMetadataBuilder_ != null)) { - return workflowNodeMetadataBuilder_.getMessageOrBuilder(); - } else { - if (targetMetadataCase_ == 8) { - return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder> - getWorkflowNodeMetadataFieldBuilder() { - if (workflowNodeMetadataBuilder_ == null) { - if (!(targetMetadataCase_ == 8)) { - targetMetadata_ = flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance(); - } - workflowNodeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder>( - (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_, - getParentForChildren(), - isClean()); - targetMetadata_ = null; - } - targetMetadataCase_ = 8; - onChanged();; - return workflowNodeMetadataBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadataOrBuilder> taskNodeMetadataBuilder_; - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public boolean hasTaskNodeMetadata() { - return targetMetadataCase_ == 9; - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata getTaskNodeMetadata() { - if (taskNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 9) { - return (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance(); - } else { - if (targetMetadataCase_ == 9) { - return taskNodeMetadataBuilder_.getMessage(); - } - return flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public Builder setTaskNodeMetadata(flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata value) { - if (taskNodeMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - targetMetadata_ = value; - onChanged(); - } else { - taskNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 9; - return this; - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public Builder setTaskNodeMetadata( - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder builderForValue) { - if (taskNodeMetadataBuilder_ == null) { - targetMetadata_ = builderForValue.build(); - onChanged(); - } else { - taskNodeMetadataBuilder_.setMessage(builderForValue.build()); - } - targetMetadataCase_ = 9; - return this; - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public Builder mergeTaskNodeMetadata(flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata value) { - if (taskNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 9 && - targetMetadata_ != flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance()) { - targetMetadata_ = flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.newBuilder((flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_) - .mergeFrom(value).buildPartial(); - } else { - targetMetadata_ = value; - } - onChanged(); - } else { - if (targetMetadataCase_ == 9) { - taskNodeMetadataBuilder_.mergeFrom(value); - } - taskNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 9; - return this; - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public Builder clearTaskNodeMetadata() { - if (taskNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 9) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - onChanged(); - } - } else { - if (targetMetadataCase_ == 9) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - } - taskNodeMetadataBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder getTaskNodeMetadataBuilder() { - return getTaskNodeMetadataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadataOrBuilder getTaskNodeMetadataOrBuilder() { - if ((targetMetadataCase_ == 9) && (taskNodeMetadataBuilder_ != null)) { - return taskNodeMetadataBuilder_.getMessageOrBuilder(); - } else { - if (targetMetadataCase_ == 9) { - return (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.TaskNodeMetadata task_node_metadata = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadataOrBuilder> - getTaskNodeMetadataFieldBuilder() { - if (taskNodeMetadataBuilder_ == null) { - if (!(targetMetadataCase_ == 9)) { - targetMetadata_ = flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance(); - } - taskNodeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadataOrBuilder>( - (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) targetMetadata_, - getParentForChildren(), - isClean()); - targetMetadata_ = null; - } - targetMetadataCase_ = 9; - onChanged();; - return taskNodeMetadataBuilder_; - } - - private java.lang.Object deckUri_ = ""; - /** - *
-       * String location uniquely identifying where the deck HTML file is.
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 11; - */ - public java.lang.String getDeckUri() { - java.lang.Object ref = deckUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - deckUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * String location uniquely identifying where the deck HTML file is.
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 11; - */ - public com.google.protobuf.ByteString - getDeckUriBytes() { - java.lang.Object ref = deckUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deckUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * String location uniquely identifying where the deck HTML file is.
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 11; - */ - public Builder setDeckUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - deckUri_ = value; - onChanged(); - return this; - } - /** - *
-       * String location uniquely identifying where the deck HTML file is.
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 11; - */ - public Builder clearDeckUri() { - - deckUri_ = getDefaultInstance().getDeckUri(); - onChanged(); - return this; - } - /** - *
-       * String location uniquely identifying where the deck HTML file is.
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 11; - */ - public Builder setDeckUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - deckUri_ = value; - onChanged(); - return this; - } - - private java.lang.Object dynamicJobSpecUri_ = ""; - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-       * to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 12; - */ - public java.lang.String getDynamicJobSpecUri() { - java.lang.Object ref = dynamicJobSpecUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dynamicJobSpecUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-       * to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 12; - */ - public com.google.protobuf.ByteString - getDynamicJobSpecUriBytes() { - java.lang.Object ref = dynamicJobSpecUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dynamicJobSpecUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-       * to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 12; - */ - public Builder setDynamicJobSpecUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dynamicJobSpecUri_ = value; - onChanged(); - return this; - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-       * to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 12; - */ - public Builder clearDynamicJobSpecUri() { - - dynamicJobSpecUri_ = getDefaultInstance().getDynamicJobSpecUri(); - onChanged(); - return this; - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
-       * to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 12; - */ - public Builder setDynamicJobSpecUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dynamicJobSpecUri_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionClosure) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionClosure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowNodeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowNodeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The identifier for a workflow execution launched by a node.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - boolean hasExecutionId(); - /** - *
-     * The identifier for a workflow execution launched by a node.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId(); - /** - *
-     * The identifier for a workflow execution launched by a node.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder(); - } - /** - *
-   * Metadata for a WorkflowNode
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowNodeMetadata} - */ - public static final class WorkflowNodeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowNodeMetadata) - WorkflowNodeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowNodeMetadata.newBuilder() to construct. - private WorkflowNodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowNodeMetadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowNodeMetadata( - 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 (executionId_ != null) { - subBuilder = executionId_.toBuilder(); - } - executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionId_); - executionId_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder.class); - } - - public static final int EXECUTIONID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - /** - *
-     * The identifier for a workflow execution launched by a node.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public boolean hasExecutionId() { - return executionId_ != null; - } - /** - *
-     * The identifier for a workflow execution launched by a node.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - /** - *
-     * The identifier for a workflow execution launched by a node.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - return getExecutionId(); - } - - 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 (executionId_ != null) { - output.writeMessage(1, getExecutionId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (executionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExecutionId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata other = (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) obj; - - if (hasExecutionId() != other.hasExecutionId()) return false; - if (hasExecutionId()) { - if (!getExecutionId() - .equals(other.getExecutionId())) 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 (hasExecutionId()) { - hash = (37 * hash) + EXECUTIONID_FIELD_NUMBER; - hash = (53 * hash) + getExecutionId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata 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; - } - /** - *
-     * Metadata for a WorkflowNode
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowNodeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowNodeMetadata) - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.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 (executionIdBuilder_ == null) { - executionId_ = null; - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata build() { - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata result = new flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata(this); - if (executionIdBuilder_ == null) { - result.executionId_ = executionId_; - } else { - result.executionId_ = executionIdBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance()) return this; - if (other.hasExecutionId()) { - mergeExecutionId(other.getExecutionId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_; - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public boolean hasExecutionId() { - return executionIdBuilder_ != null || executionId_ != null; - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - if (executionIdBuilder_ == null) { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } else { - return executionIdBuilder_.getMessage(); - } - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - executionId_ = value; - onChanged(); - } else { - executionIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public Builder setExecutionId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (executionIdBuilder_ == null) { - executionId_ = builderForValue.build(); - onChanged(); - } else { - executionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (executionId_ != null) { - executionId_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial(); - } else { - executionId_ = value; - } - onChanged(); - } else { - executionIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public Builder clearExecutionId() { - if (executionIdBuilder_ == null) { - executionId_ = null; - onChanged(); - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() { - - onChanged(); - return getExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - if (executionIdBuilder_ != null) { - return executionIdBuilder_.getMessageOrBuilder(); - } else { - return executionId_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - } - /** - *
-       * The identifier for a workflow execution launched by a node.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier executionId = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getExecutionIdFieldBuilder() { - if (executionIdBuilder_ == null) { - executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getExecutionId(), - getParentForChildren(), - isClean()); - executionId_ = null; - } - return executionIdBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowNodeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowNodeMetadata) - private static final flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowNodeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowNodeMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskNodeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskNodeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - int getCacheStatusValue(); - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus(); - - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - boolean hasCatalogKey(); - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - flyteidl.core.Catalog.CatalogMetadata getCatalogKey(); - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - flyteidl.core.Catalog.CatalogMetadataOrBuilder getCatalogKeyOrBuilder(); - - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - java.lang.String getCheckpointUri(); - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - com.google.protobuf.ByteString - getCheckpointUriBytes(); - } - /** - *
-   * Metadata for the case in which the node is a TaskNode
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskNodeMetadata} - */ - public static final class TaskNodeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskNodeMetadata) - TaskNodeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskNodeMetadata.newBuilder() to construct. - private TaskNodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskNodeMetadata() { - cacheStatus_ = 0; - checkpointUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskNodeMetadata( - 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(); - - cacheStatus_ = rawValue; - break; - } - case 18: { - flyteidl.core.Catalog.CatalogMetadata.Builder subBuilder = null; - if (catalogKey_ != null) { - subBuilder = catalogKey_.toBuilder(); - } - catalogKey_ = input.readMessage(flyteidl.core.Catalog.CatalogMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(catalogKey_); - catalogKey_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - checkpointUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_TaskNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_TaskNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder.class); - } - - public static final int CACHE_STATUS_FIELD_NUMBER = 1; - private int cacheStatus_; - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public int getCacheStatusValue() { - return cacheStatus_; - } - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogCacheStatus result = flyteidl.core.Catalog.CatalogCacheStatus.valueOf(cacheStatus_); - return result == null ? flyteidl.core.Catalog.CatalogCacheStatus.UNRECOGNIZED : result; - } - - public static final int CATALOG_KEY_FIELD_NUMBER = 2; - private flyteidl.core.Catalog.CatalogMetadata catalogKey_; - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public boolean hasCatalogKey() { - return catalogKey_ != null; - } - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadata getCatalogKey() { - return catalogKey_ == null ? flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance() : catalogKey_; - } - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadataOrBuilder getCatalogKeyOrBuilder() { - return getCatalogKey(); - } - - public static final int CHECKPOINT_URI_FIELD_NUMBER = 4; - private volatile java.lang.Object checkpointUri_; - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - public java.lang.String getCheckpointUri() { - java.lang.Object ref = checkpointUri_; - 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(); - checkpointUri_ = s; - return s; - } - } - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - public com.google.protobuf.ByteString - getCheckpointUriBytes() { - java.lang.Object ref = checkpointUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - checkpointUri_ = 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 (cacheStatus_ != flyteidl.core.Catalog.CatalogCacheStatus.CACHE_DISABLED.getNumber()) { - output.writeEnum(1, cacheStatus_); - } - if (catalogKey_ != null) { - output.writeMessage(2, getCatalogKey()); - } - if (!getCheckpointUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, checkpointUri_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (cacheStatus_ != flyteidl.core.Catalog.CatalogCacheStatus.CACHE_DISABLED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, cacheStatus_); - } - if (catalogKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCatalogKey()); - } - if (!getCheckpointUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, checkpointUri_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata other = (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) obj; - - if (cacheStatus_ != other.cacheStatus_) return false; - if (hasCatalogKey() != other.hasCatalogKey()) return false; - if (hasCatalogKey()) { - if (!getCatalogKey() - .equals(other.getCatalogKey())) return false; - } - if (!getCheckpointUri() - .equals(other.getCheckpointUri())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CACHE_STATUS_FIELD_NUMBER; - hash = (53 * hash) + cacheStatus_; - if (hasCatalogKey()) { - hash = (37 * hash) + CATALOG_KEY_FIELD_NUMBER; - hash = (53 * hash) + getCatalogKey().hashCode(); - } - hash = (37 * hash) + CHECKPOINT_URI_FIELD_NUMBER; - hash = (53 * hash) + getCheckpointUri().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata 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; - } - /** - *
-     * Metadata for the case in which the node is a TaskNode
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskNodeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskNodeMetadata) - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_TaskNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_TaskNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.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(); - cacheStatus_ = 0; - - if (catalogKeyBuilder_ == null) { - catalogKey_ = null; - } else { - catalogKey_ = null; - catalogKeyBuilder_ = null; - } - checkpointUri_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_TaskNodeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata build() { - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata result = new flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata(this); - result.cacheStatus_ = cacheStatus_; - if (catalogKeyBuilder_ == null) { - result.catalogKey_ = catalogKey_; - } else { - result.catalogKey_ = catalogKeyBuilder_.build(); - } - result.checkpointUri_ = checkpointUri_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata.getDefaultInstance()) return this; - if (other.cacheStatus_ != 0) { - setCacheStatusValue(other.getCacheStatusValue()); - } - if (other.hasCatalogKey()) { - mergeCatalogKey(other.getCatalogKey()); - } - if (!other.getCheckpointUri().isEmpty()) { - checkpointUri_ = other.checkpointUri_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int cacheStatus_ = 0; - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public int getCacheStatusValue() { - return cacheStatus_; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public Builder setCacheStatusValue(int value) { - cacheStatus_ = value; - onChanged(); - return this; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogCacheStatus result = flyteidl.core.Catalog.CatalogCacheStatus.valueOf(cacheStatus_); - return result == null ? flyteidl.core.Catalog.CatalogCacheStatus.UNRECOGNIZED : result; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public Builder setCacheStatus(flyteidl.core.Catalog.CatalogCacheStatus value) { - if (value == null) { - throw new NullPointerException(); - } - - cacheStatus_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public Builder clearCacheStatus() { - - cacheStatus_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Catalog.CatalogMetadata catalogKey_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogMetadata, flyteidl.core.Catalog.CatalogMetadata.Builder, flyteidl.core.Catalog.CatalogMetadataOrBuilder> catalogKeyBuilder_; - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public boolean hasCatalogKey() { - return catalogKeyBuilder_ != null || catalogKey_ != null; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadata getCatalogKey() { - if (catalogKeyBuilder_ == null) { - return catalogKey_ == null ? flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance() : catalogKey_; - } else { - return catalogKeyBuilder_.getMessage(); - } - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder setCatalogKey(flyteidl.core.Catalog.CatalogMetadata value) { - if (catalogKeyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - catalogKey_ = value; - onChanged(); - } else { - catalogKeyBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder setCatalogKey( - flyteidl.core.Catalog.CatalogMetadata.Builder builderForValue) { - if (catalogKeyBuilder_ == null) { - catalogKey_ = builderForValue.build(); - onChanged(); - } else { - catalogKeyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder mergeCatalogKey(flyteidl.core.Catalog.CatalogMetadata value) { - if (catalogKeyBuilder_ == null) { - if (catalogKey_ != null) { - catalogKey_ = - flyteidl.core.Catalog.CatalogMetadata.newBuilder(catalogKey_).mergeFrom(value).buildPartial(); - } else { - catalogKey_ = value; - } - onChanged(); - } else { - catalogKeyBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder clearCatalogKey() { - if (catalogKeyBuilder_ == null) { - catalogKey_ = null; - onChanged(); - } else { - catalogKey_ = null; - catalogKeyBuilder_ = null; - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadata.Builder getCatalogKeyBuilder() { - - onChanged(); - return getCatalogKeyFieldBuilder().getBuilder(); - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadataOrBuilder getCatalogKeyOrBuilder() { - if (catalogKeyBuilder_ != null) { - return catalogKeyBuilder_.getMessageOrBuilder(); - } else { - return catalogKey_ == null ? - flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance() : catalogKey_; - } - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogMetadata, flyteidl.core.Catalog.CatalogMetadata.Builder, flyteidl.core.Catalog.CatalogMetadataOrBuilder> - getCatalogKeyFieldBuilder() { - if (catalogKeyBuilder_ == null) { - catalogKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogMetadata, flyteidl.core.Catalog.CatalogMetadata.Builder, flyteidl.core.Catalog.CatalogMetadataOrBuilder>( - getCatalogKey(), - getParentForChildren(), - isClean()); - catalogKey_ = null; - } - return catalogKeyBuilder_; - } - - private java.lang.Object checkpointUri_ = ""; - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public java.lang.String getCheckpointUri() { - java.lang.Object ref = checkpointUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - checkpointUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public com.google.protobuf.ByteString - getCheckpointUriBytes() { - java.lang.Object ref = checkpointUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - checkpointUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public Builder setCheckpointUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - checkpointUri_ = value; - onChanged(); - return this; - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public Builder clearCheckpointUri() { - - checkpointUri_ = getDefaultInstance().getCheckpointUri(); - onChanged(); - return this; - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public Builder setCheckpointUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - checkpointUri_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskNodeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskNodeMetadata) - private static final flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskNodeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskNodeMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.TaskNodeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DynamicWorkflowNodeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.DynamicWorkflowNodeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - boolean hasCompiledWorkflow(); - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow(); - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder(); - - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - java.lang.String getDynamicJobSpecUri(); - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - com.google.protobuf.ByteString - getDynamicJobSpecUriBytes(); - } - /** - *
-   * For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated.
-   * 
- * - * Protobuf type {@code flyteidl.admin.DynamicWorkflowNodeMetadata} - */ - public static final class DynamicWorkflowNodeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.DynamicWorkflowNodeMetadata) - DynamicWorkflowNodeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use DynamicWorkflowNodeMetadata.newBuilder() to construct. - private DynamicWorkflowNodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DynamicWorkflowNodeMetadata() { - dynamicJobSpecUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DynamicWorkflowNodeMetadata( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Compiler.CompiledWorkflowClosure.Builder subBuilder = null; - if (compiledWorkflow_ != null) { - subBuilder = compiledWorkflow_.toBuilder(); - } - compiledWorkflow_ = input.readMessage(flyteidl.core.Compiler.CompiledWorkflowClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compiledWorkflow_); - compiledWorkflow_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - dynamicJobSpecUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int COMPILED_WORKFLOW_FIELD_NUMBER = 2; - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflow_ != null; - } - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - return getCompiledWorkflow(); - } - - public static final int DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER = 3; - private volatile java.lang.Object dynamicJobSpecUri_; - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - public java.lang.String getDynamicJobSpecUri() { - java.lang.Object ref = dynamicJobSpecUri_; - 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(); - dynamicJobSpecUri_ = s; - return s; - } - } - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - public com.google.protobuf.ByteString - getDynamicJobSpecUriBytes() { - java.lang.Object ref = dynamicJobSpecUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dynamicJobSpecUri_ = 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (compiledWorkflow_ != null) { - output.writeMessage(2, getCompiledWorkflow()); - } - if (!getDynamicJobSpecUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dynamicJobSpecUri_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (compiledWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompiledWorkflow()); - } - if (!getDynamicJobSpecUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dynamicJobSpecUri_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata other = (flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasCompiledWorkflow() != other.hasCompiledWorkflow()) return false; - if (hasCompiledWorkflow()) { - if (!getCompiledWorkflow() - .equals(other.getCompiledWorkflow())) return false; - } - if (!getDynamicJobSpecUri() - .equals(other.getDynamicJobSpecUri())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasCompiledWorkflow()) { - hash = (37 * hash) + COMPILED_WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getCompiledWorkflow().hashCode(); - } - hash = (37 * hash) + DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER; - hash = (53 * hash) + getDynamicJobSpecUri().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata 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; - } - /** - *
-     * For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated.
-     * 
- * - * Protobuf type {@code flyteidl.admin.DynamicWorkflowNodeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.DynamicWorkflowNodeMetadata) - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - dynamicJobSpecUri_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata build() { - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata result = new flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (compiledWorkflowBuilder_ == null) { - result.compiledWorkflow_ = compiledWorkflow_; - } else { - result.compiledWorkflow_ = compiledWorkflowBuilder_.build(); - } - result.dynamicJobSpecUri_ = dynamicJobSpecUri_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasCompiledWorkflow()) { - mergeCompiledWorkflow(other.getCompiledWorkflow()); - } - if (!other.getDynamicJobSpecUri().isEmpty()) { - dynamicJobSpecUri_ = other.dynamicJobSpecUri_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> compiledWorkflowBuilder_; - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflowBuilder_ != null || compiledWorkflow_ != null; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } else { - return compiledWorkflowBuilder_.getMessage(); - } - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder setCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - compiledWorkflow_ = value; - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder setCompiledWorkflow( - flyteidl.core.Compiler.CompiledWorkflowClosure.Builder builderForValue) { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = builderForValue.build(); - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder mergeCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (compiledWorkflow_ != null) { - compiledWorkflow_ = - flyteidl.core.Compiler.CompiledWorkflowClosure.newBuilder(compiledWorkflow_).mergeFrom(value).buildPartial(); - } else { - compiledWorkflow_ = value; - } - onChanged(); - } else { - compiledWorkflowBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder clearCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - onChanged(); - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure.Builder getCompiledWorkflowBuilder() { - - onChanged(); - return getCompiledWorkflowFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - if (compiledWorkflowBuilder_ != null) { - return compiledWorkflowBuilder_.getMessageOrBuilder(); - } else { - return compiledWorkflow_ == null ? - flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> - getCompiledWorkflowFieldBuilder() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder>( - getCompiledWorkflow(), - getParentForChildren(), - isClean()); - compiledWorkflow_ = null; - } - return compiledWorkflowBuilder_; - } - - private java.lang.Object dynamicJobSpecUri_ = ""; - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public java.lang.String getDynamicJobSpecUri() { - java.lang.Object ref = dynamicJobSpecUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dynamicJobSpecUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public com.google.protobuf.ByteString - getDynamicJobSpecUriBytes() { - java.lang.Object ref = dynamicJobSpecUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dynamicJobSpecUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public Builder setDynamicJobSpecUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dynamicJobSpecUri_ = value; - onChanged(); - return this; - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public Builder clearDynamicJobSpecUri() { - - dynamicJobSpecUri_ = getDefaultInstance().getDynamicJobSpecUri(); - onChanged(); - return this; - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public Builder setDynamicJobSpecUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dynamicJobSpecUri_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.DynamicWorkflowNodeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DynamicWorkflowNodeMetadata) - private static final flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DynamicWorkflowNodeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DynamicWorkflowNodeMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionGetDataRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionGetDataRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The identifier of the node execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * The identifier of the node execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId(); - /** - *
-     * The identifier of the node execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * Request structure to fetch inputs and output for a node execution.
-   * By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest`
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionGetDataRequest} - */ - public static final class NodeExecutionGetDataRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionGetDataRequest) - NodeExecutionGetDataRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionGetDataRequest.newBuilder() to construct. - private NodeExecutionGetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionGetDataRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionGetDataRequest( - 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.NodeExecutionIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - /** - *
-     * The identifier of the node execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * The identifier of the node execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * The identifier of the node execution for which to fetch inputs and outputs.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest 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 structure to fetch inputs and output for a node execution.
-     * By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest`
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionGetDataRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionGetDataRequest) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * The identifier of the node execution for which to fetch inputs and outputs.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionGetDataRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetDataRequest) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionGetDataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionGetDataRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionGetDataResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionGetDataResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasInputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlob getInputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder(); - - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasOutputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlob getOutputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder(); - - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - boolean hasFullInputs(); - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - flyteidl.core.Literals.LiteralMap getFullInputs(); - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder(); - - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold. 
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - boolean hasFullOutputs(); - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold. 
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - flyteidl.core.Literals.LiteralMap getFullOutputs(); - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold. 
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder(); - - /** - *
-     * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-     * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - boolean hasDynamicWorkflow(); - /** - *
-     * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-     * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata getDynamicWorkflow(); - /** - *
-     * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-     * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder getDynamicWorkflowOrBuilder(); - - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - boolean hasFlyteUrls(); - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - flyteidl.admin.Common.FlyteURLs getFlyteUrls(); - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder(); - } - /** - *
-   * Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionGetDataResponse} - */ - public static final class NodeExecutionGetDataResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionGetDataResponse) - NodeExecutionGetDataResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionGetDataResponse.newBuilder() to construct. - private NodeExecutionGetDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionGetDataResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionGetDataResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; - if (outputs_ != null) { - subBuilder = outputs_.toBuilder(); - } - outputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputs_); - outputs_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (fullInputs_ != null) { - subBuilder = fullInputs_.toBuilder(); - } - fullInputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fullInputs_); - fullInputs_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (fullOutputs_ != null) { - subBuilder = fullOutputs_.toBuilder(); - } - fullOutputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fullOutputs_); - fullOutputs_ = subBuilder.buildPartial(); - } - - break; - } - case 130: { - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder subBuilder = null; - if (dynamicWorkflow_ != null) { - subBuilder = dynamicWorkflow_.toBuilder(); - } - dynamicWorkflow_ = input.readMessage(flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dynamicWorkflow_); - dynamicWorkflow_ = subBuilder.buildPartial(); - } - - break; - } - case 138: { - flyteidl.admin.Common.FlyteURLs.Builder subBuilder = null; - if (flyteUrls_ != null) { - subBuilder = flyteUrls_.toBuilder(); - } - flyteUrls_ = input.readMessage(flyteidl.admin.Common.FlyteURLs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(flyteUrls_); - flyteUrls_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.Builder.class); - } - - public static final int INPUTS_FIELD_NUMBER = 1; - private flyteidl.admin.Common.UrlBlob inputs_; - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputs_ != null; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getInputs() { - return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int OUTPUTS_FIELD_NUMBER = 2; - private flyteidl.admin.Common.UrlBlob outputs_; - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputs_ != null; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getOutputs() { - return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of node execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { - return getOutputs(); - } - - public static final int FULL_INPUTS_FIELD_NUMBER = 3; - private flyteidl.core.Literals.LiteralMap fullInputs_; - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public boolean hasFullInputs() { - return fullInputs_ != null; - } - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap getFullInputs() { - return fullInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder() { - return getFullInputs(); - } - - public static final int FULL_OUTPUTS_FIELD_NUMBER = 4; - private flyteidl.core.Literals.LiteralMap fullOutputs_; - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold. 
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public boolean hasFullOutputs() { - return fullOutputs_ != null; - } - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold. 
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFullOutputs() { - return fullOutputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold. 
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() { - return getFullOutputs(); - } - - public static final int DYNAMIC_WORKFLOW_FIELD_NUMBER = 16; - private flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata dynamicWorkflow_; - /** - *
-     * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-     * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public boolean hasDynamicWorkflow() { - return dynamicWorkflow_ != null; - } - /** - *
-     * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-     * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata getDynamicWorkflow() { - return dynamicWorkflow_ == null ? flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.getDefaultInstance() : dynamicWorkflow_; - } - /** - *
-     * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-     * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder getDynamicWorkflowOrBuilder() { - return getDynamicWorkflow(); - } - - public static final int FLYTE_URLS_FIELD_NUMBER = 17; - private flyteidl.admin.Common.FlyteURLs flyteUrls_; - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public boolean hasFlyteUrls() { - return flyteUrls_ != null; - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public flyteidl.admin.Common.FlyteURLs getFlyteUrls() { - return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() { - return getFlyteUrls(); - } - - 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 (inputs_ != null) { - output.writeMessage(1, getInputs()); - } - if (outputs_ != null) { - output.writeMessage(2, getOutputs()); - } - if (fullInputs_ != null) { - output.writeMessage(3, getFullInputs()); - } - if (fullOutputs_ != null) { - output.writeMessage(4, getFullOutputs()); - } - if (dynamicWorkflow_ != null) { - output.writeMessage(16, getDynamicWorkflow()); - } - if (flyteUrls_ != null) { - output.writeMessage(17, getFlyteUrls()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInputs()); - } - if (outputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputs()); - } - if (fullInputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getFullInputs()); - } - if (fullOutputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getFullOutputs()); - } - if (dynamicWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getDynamicWorkflow()); - } - if (flyteUrls_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getFlyteUrls()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse) obj; - - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (hasOutputs() != other.hasOutputs()) return false; - if (hasOutputs()) { - if (!getOutputs() - .equals(other.getOutputs())) return false; - } - if (hasFullInputs() != other.hasFullInputs()) return false; - if (hasFullInputs()) { - if (!getFullInputs() - .equals(other.getFullInputs())) return false; - } - if (hasFullOutputs() != other.hasFullOutputs()) return false; - if (hasFullOutputs()) { - if (!getFullOutputs() - .equals(other.getFullOutputs())) return false; - } - if (hasDynamicWorkflow() != other.hasDynamicWorkflow()) return false; - if (hasDynamicWorkflow()) { - if (!getDynamicWorkflow() - .equals(other.getDynamicWorkflow())) return false; - } - if (hasFlyteUrls() != other.hasFlyteUrls()) return false; - if (hasFlyteUrls()) { - if (!getFlyteUrls() - .equals(other.getFlyteUrls())) 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 (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - if (hasOutputs()) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - } - if (hasFullInputs()) { - hash = (37 * hash) + FULL_INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getFullInputs().hashCode(); - } - if (hasFullOutputs()) { - hash = (37 * hash) + FULL_OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getFullOutputs().hashCode(); - } - if (hasDynamicWorkflow()) { - hash = (37 * hash) + DYNAMIC_WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getDynamicWorkflow().hashCode(); - } - if (hasFlyteUrls()) { - hash = (37 * hash) + FLYTE_URLS_FIELD_NUMBER; - hash = (53 * hash) + getFlyteUrls().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse 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 structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.NodeExecutionGetDataResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionGetDataResponse) - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.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 (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - if (outputsBuilder_ == null) { - outputs_ = null; - } else { - outputs_ = null; - outputsBuilder_ = null; - } - if (fullInputsBuilder_ == null) { - fullInputs_ = null; - } else { - fullInputs_ = null; - fullInputsBuilder_ = null; - } - if (fullOutputsBuilder_ == null) { - fullOutputs_ = null; - } else { - fullOutputs_ = null; - fullOutputsBuilder_ = null; - } - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflow_ = null; - } else { - dynamicWorkflow_ = null; - dynamicWorkflowBuilder_ = null; - } - if (flyteUrlsBuilder_ == null) { - flyteUrls_ = null; - } else { - flyteUrls_ = null; - flyteUrlsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse build() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse(this); - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (outputsBuilder_ == null) { - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.build(); - } - if (fullInputsBuilder_ == null) { - result.fullInputs_ = fullInputs_; - } else { - result.fullInputs_ = fullInputsBuilder_.build(); - } - if (fullOutputsBuilder_ == null) { - result.fullOutputs_ = fullOutputs_; - } else { - result.fullOutputs_ = fullOutputsBuilder_.build(); - } - if (dynamicWorkflowBuilder_ == null) { - result.dynamicWorkflow_ = dynamicWorkflow_; - } else { - result.dynamicWorkflow_ = dynamicWorkflowBuilder_.build(); - } - if (flyteUrlsBuilder_ == null) { - result.flyteUrls_ = flyteUrls_; - } else { - result.flyteUrls_ = flyteUrlsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.getDefaultInstance()) return this; - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (other.hasOutputs()) { - mergeOutputs(other.getOutputs()); - } - if (other.hasFullInputs()) { - mergeFullInputs(other.getFullInputs()); - } - if (other.hasFullOutputs()) { - mergeFullOutputs(other.getFullOutputs()); - } - if (other.hasDynamicWorkflow()) { - mergeDynamicWorkflow(other.getDynamicWorkflow()); - } - if (other.hasFlyteUrls()) { - mergeFlyteUrls(other.getFlyteUrls()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.Common.UrlBlob inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> inputsBuilder_; - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs(flyteidl.admin.Common.UrlBlob value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs( - flyteidl.admin.Common.UrlBlob.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeInputs(flyteidl.admin.Common.UrlBlob value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.admin.Common.UrlBlob.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private flyteidl.admin.Common.UrlBlob outputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> outputsBuilder_; - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputsBuilder_ != null || outputs_ != null; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getOutputs() { - if (outputsBuilder_ == null) { - return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } else { - return outputsBuilder_.getMessage(); - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs(flyteidl.admin.Common.UrlBlob value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputs_ = value; - onChanged(); - } else { - outputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs( - flyteidl.admin.Common.UrlBlob.Builder builderForValue) { - if (outputsBuilder_ == null) { - outputs_ = builderForValue.build(); - onChanged(); - } else { - outputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeOutputs(flyteidl.admin.Common.UrlBlob value) { - if (outputsBuilder_ == null) { - if (outputs_ != null) { - outputs_ = - flyteidl.admin.Common.UrlBlob.newBuilder(outputs_).mergeFrom(value).buildPartial(); - } else { - outputs_ = value; - } - onChanged(); - } else { - outputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = null; - onChanged(); - } else { - outputs_ = null; - outputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob.Builder getOutputsBuilder() { - - onChanged(); - return getOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilder(); - } else { - return outputs_ == null ? - flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of node execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( - getOutputs(), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - - private flyteidl.core.Literals.LiteralMap fullInputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> fullInputsBuilder_; - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public boolean hasFullInputs() { - return fullInputsBuilder_ != null || fullInputs_ != null; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap getFullInputs() { - if (fullInputsBuilder_ == null) { - return fullInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } else { - return fullInputsBuilder_.getMessage(); - } - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder setFullInputs(flyteidl.core.Literals.LiteralMap value) { - if (fullInputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fullInputs_ = value; - onChanged(); - } else { - fullInputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder setFullInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (fullInputsBuilder_ == null) { - fullInputs_ = builderForValue.build(); - onChanged(); - } else { - fullInputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder mergeFullInputs(flyteidl.core.Literals.LiteralMap value) { - if (fullInputsBuilder_ == null) { - if (fullInputs_ != null) { - fullInputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(fullInputs_).mergeFrom(value).buildPartial(); - } else { - fullInputs_ = value; - } - onChanged(); - } else { - fullInputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder clearFullInputs() { - if (fullInputsBuilder_ == null) { - fullInputs_ = null; - onChanged(); - } else { - fullInputs_ = null; - fullInputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap.Builder getFullInputsBuilder() { - - onChanged(); - return getFullInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder() { - if (fullInputsBuilder_ != null) { - return fullInputsBuilder_.getMessageOrBuilder(); - } else { - return fullInputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getFullInputsFieldBuilder() { - if (fullInputsBuilder_ == null) { - fullInputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getFullInputs(), - getParentForChildren(), - isClean()); - fullInputs_ = null; - } - return fullInputsBuilder_; - } - - private flyteidl.core.Literals.LiteralMap fullOutputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> fullOutputsBuilder_; - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public boolean hasFullOutputs() { - return fullOutputsBuilder_ != null || fullOutputs_ != null; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFullOutputs() { - if (fullOutputsBuilder_ == null) { - return fullOutputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } else { - return fullOutputsBuilder_.getMessage(); - } - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder setFullOutputs(flyteidl.core.Literals.LiteralMap value) { - if (fullOutputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fullOutputs_ = value; - onChanged(); - } else { - fullOutputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder setFullOutputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (fullOutputsBuilder_ == null) { - fullOutputs_ = builderForValue.build(); - onChanged(); - } else { - fullOutputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder mergeFullOutputs(flyteidl.core.Literals.LiteralMap value) { - if (fullOutputsBuilder_ == null) { - if (fullOutputs_ != null) { - fullOutputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(fullOutputs_).mergeFrom(value).buildPartial(); - } else { - fullOutputs_ = value; - } - onChanged(); - } else { - fullOutputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder clearFullOutputs() { - if (fullOutputsBuilder_ == null) { - fullOutputs_ = null; - onChanged(); - } else { - fullOutputs_ = null; - fullOutputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap.Builder getFullOutputsBuilder() { - - onChanged(); - return getFullOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() { - if (fullOutputsBuilder_ != null) { - return fullOutputsBuilder_.getMessageOrBuilder(); - } else { - return fullOutputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold. 
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getFullOutputsFieldBuilder() { - if (fullOutputsBuilder_ == null) { - fullOutputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getFullOutputs(), - getParentForChildren(), - isClean()); - fullOutputs_ = null; - } - return fullOutputsBuilder_; - } - - private flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata dynamicWorkflow_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder> dynamicWorkflowBuilder_; - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public boolean hasDynamicWorkflow() { - return dynamicWorkflowBuilder_ != null || dynamicWorkflow_ != null; - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata getDynamicWorkflow() { - if (dynamicWorkflowBuilder_ == null) { - return dynamicWorkflow_ == null ? flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.getDefaultInstance() : dynamicWorkflow_; - } else { - return dynamicWorkflowBuilder_.getMessage(); - } - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder setDynamicWorkflow(flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata value) { - if (dynamicWorkflowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dynamicWorkflow_ = value; - onChanged(); - } else { - dynamicWorkflowBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder setDynamicWorkflow( - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder builderForValue) { - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflow_ = builderForValue.build(); - onChanged(); - } else { - dynamicWorkflowBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder mergeDynamicWorkflow(flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata value) { - if (dynamicWorkflowBuilder_ == null) { - if (dynamicWorkflow_ != null) { - dynamicWorkflow_ = - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.newBuilder(dynamicWorkflow_).mergeFrom(value).buildPartial(); - } else { - dynamicWorkflow_ = value; - } - onChanged(); - } else { - dynamicWorkflowBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder clearDynamicWorkflow() { - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflow_ = null; - onChanged(); - } else { - dynamicWorkflow_ = null; - dynamicWorkflowBuilder_ = null; - } - - return this; - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder getDynamicWorkflowBuilder() { - - onChanged(); - return getDynamicWorkflowFieldBuilder().getBuilder(); - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder getDynamicWorkflowOrBuilder() { - if (dynamicWorkflowBuilder_ != null) { - return dynamicWorkflowBuilder_.getMessageOrBuilder(); - } else { - return dynamicWorkflow_ == null ? - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.getDefaultInstance() : dynamicWorkflow_; - } - } - /** - *
-       * Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
-       * 
- * - * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder> - getDynamicWorkflowFieldBuilder() { - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder>( - getDynamicWorkflow(), - getParentForChildren(), - isClean()); - dynamicWorkflow_ = null; - } - return dynamicWorkflowBuilder_; - } - - private flyteidl.admin.Common.FlyteURLs flyteUrls_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> flyteUrlsBuilder_; - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public boolean hasFlyteUrls() { - return flyteUrlsBuilder_ != null || flyteUrls_ != null; - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public flyteidl.admin.Common.FlyteURLs getFlyteUrls() { - if (flyteUrlsBuilder_ == null) { - return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; - } else { - return flyteUrlsBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public Builder setFlyteUrls(flyteidl.admin.Common.FlyteURLs value) { - if (flyteUrlsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - flyteUrls_ = value; - onChanged(); - } else { - flyteUrlsBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public Builder setFlyteUrls( - flyteidl.admin.Common.FlyteURLs.Builder builderForValue) { - if (flyteUrlsBuilder_ == null) { - flyteUrls_ = builderForValue.build(); - onChanged(); - } else { - flyteUrlsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public Builder mergeFlyteUrls(flyteidl.admin.Common.FlyteURLs value) { - if (flyteUrlsBuilder_ == null) { - if (flyteUrls_ != null) { - flyteUrls_ = - flyteidl.admin.Common.FlyteURLs.newBuilder(flyteUrls_).mergeFrom(value).buildPartial(); - } else { - flyteUrls_ = value; - } - onChanged(); - } else { - flyteUrlsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public Builder clearFlyteUrls() { - if (flyteUrlsBuilder_ == null) { - flyteUrls_ = null; - onChanged(); - } else { - flyteUrls_ = null; - flyteUrlsBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public flyteidl.admin.Common.FlyteURLs.Builder getFlyteUrlsBuilder() { - - onChanged(); - return getFlyteUrlsFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() { - if (flyteUrlsBuilder_ != null) { - return flyteUrlsBuilder_.getMessageOrBuilder(); - } else { - return flyteUrls_ == null ? - flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; - } - } - /** - * .flyteidl.admin.FlyteURLs flyte_urls = 17; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> - getFlyteUrlsFieldBuilder() { - if (flyteUrlsBuilder_ == null) { - flyteUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder>( - getFlyteUrls(), - getParentForChildren(), - isClean()); - flyteUrls_ = null; - } - return flyteUrlsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.NodeExecutionGetDataResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetDataResponse) - private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionGetDataResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionGetDataResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetDynamicNodeWorkflowRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetDynamicNodeWorkflowRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId(); - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.admin.GetDynamicNodeWorkflowRequest} - */ - public static final class GetDynamicNodeWorkflowRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetDynamicNodeWorkflowRequest) - GetDynamicNodeWorkflowRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetDynamicNodeWorkflowRequest.newBuilder() to construct. - private GetDynamicNodeWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetDynamicNodeWorkflowRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetDynamicNodeWorkflowRequest( - 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.NodeExecutionIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest.class, flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest other = (flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.GetDynamicNodeWorkflowRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetDynamicNodeWorkflowRequest) - flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest.class, flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest build() { - flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest result = new flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_; - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetDynamicNodeWorkflowRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetDynamicNodeWorkflowRequest) - private static final flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDynamicNodeWorkflowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDynamicNodeWorkflowRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.GetDynamicNodeWorkflowRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DynamicNodeWorkflowResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.DynamicNodeWorkflowResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - boolean hasCompiledWorkflow(); - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow(); - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.admin.DynamicNodeWorkflowResponse} - */ - public static final class DynamicNodeWorkflowResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.DynamicNodeWorkflowResponse) - DynamicNodeWorkflowResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use DynamicNodeWorkflowResponse.newBuilder() to construct. - private DynamicNodeWorkflowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DynamicNodeWorkflowResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DynamicNodeWorkflowResponse( - 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.Compiler.CompiledWorkflowClosure.Builder subBuilder = null; - if (compiledWorkflow_ != null) { - subBuilder = compiledWorkflow_.toBuilder(); - } - compiledWorkflow_ = input.readMessage(flyteidl.core.Compiler.CompiledWorkflowClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compiledWorkflow_); - compiledWorkflow_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse.class, flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse.Builder.class); - } - - public static final int COMPILED_WORKFLOW_FIELD_NUMBER = 1; - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflow_ != null; - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - return getCompiledWorkflow(); - } - - 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 (compiledWorkflow_ != null) { - output.writeMessage(1, getCompiledWorkflow()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (compiledWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCompiledWorkflow()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse)) { - return super.equals(obj); - } - flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse other = (flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse) obj; - - if (hasCompiledWorkflow() != other.hasCompiledWorkflow()) return false; - if (hasCompiledWorkflow()) { - if (!getCompiledWorkflow() - .equals(other.getCompiledWorkflow())) 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 (hasCompiledWorkflow()) { - hash = (37 * hash) + COMPILED_WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getCompiledWorkflow().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code flyteidl.admin.DynamicNodeWorkflowResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.DynamicNodeWorkflowResponse) - flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse.class, flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse.Builder.class); - } - - // Construct using flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse.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 (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse getDefaultInstanceForType() { - return flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse build() { - flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse buildPartial() { - flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse result = new flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse(this); - if (compiledWorkflowBuilder_ == null) { - result.compiledWorkflow_ = compiledWorkflow_; - } else { - result.compiledWorkflow_ = compiledWorkflowBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse) { - return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse other) { - if (other == flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse.getDefaultInstance()) return this; - if (other.hasCompiledWorkflow()) { - mergeCompiledWorkflow(other.getCompiledWorkflow()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> compiledWorkflowBuilder_; - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflowBuilder_ != null || compiledWorkflow_ != null; - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } else { - return compiledWorkflowBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder setCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - compiledWorkflow_ = value; - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder setCompiledWorkflow( - flyteidl.core.Compiler.CompiledWorkflowClosure.Builder builderForValue) { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = builderForValue.build(); - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder mergeCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (compiledWorkflow_ != null) { - compiledWorkflow_ = - flyteidl.core.Compiler.CompiledWorkflowClosure.newBuilder(compiledWorkflow_).mergeFrom(value).buildPartial(); - } else { - compiledWorkflow_ = value; - } - onChanged(); - } else { - compiledWorkflowBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder clearCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - onChanged(); - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure.Builder getCompiledWorkflowBuilder() { - - onChanged(); - return getCompiledWorkflowFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - if (compiledWorkflowBuilder_ != null) { - return compiledWorkflowBuilder_.getMessageOrBuilder(); - } else { - return compiledWorkflow_ == null ? - flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - } - /** - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> - getCompiledWorkflowFieldBuilder() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder>( - getCompiledWorkflow(), - getParentForChildren(), - isClean()); - compiledWorkflow_ = null; - } - return compiledWorkflowBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.DynamicNodeWorkflowResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.DynamicNodeWorkflowResponse) - private static final flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse(); - } - - public static flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DynamicNodeWorkflowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DynamicNodeWorkflowResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.NodeExecutionOuterClass.DynamicNodeWorkflowResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskNodeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskNodeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#flyteidl/admin/node_execution.proto\022\016f" + - "lyteidl.admin\032\033flyteidl/admin/common.pro" + - "to\032\035flyteidl/core/execution.proto\032\033flyte" + - "idl/core/catalog.proto\032\034flyteidl/core/co" + - "mpiler.proto\032\036flyteidl/core/identifier.p" + - "roto\032\034flyteidl/core/literals.proto\032\037goog" + - "le/protobuf/timestamp.proto\032\036google/prot" + - "obuf/duration.proto\"M\n\027NodeExecutionGetR" + - "equest\0222\n\002id\030\001 \001(\0132&.flyteidl.core.NodeE" + - "xecutionIdentifier\"\325\001\n\030NodeExecutionList" + - "Request\022I\n\025workflow_execution_id\030\001 \001(\0132*" + - ".flyteidl.core.WorkflowExecutionIdentifi" + - "er\022\r\n\005limit\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filt" + - "ers\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.ad" + - "min.Sort\022\030\n\020unique_parent_id\030\006 \001(\t\"\272\001\n\037N" + - "odeExecutionForTaskListRequest\022A\n\021task_e" + - "xecution_id\030\001 \001(\0132&.flyteidl.core.TaskEx" + - "ecutionIdentifier\022\r\n\005limit\030\002 \001(\r\022\r\n\005toke" + - "n\030\003 \001(\t\022\017\n\007filters\030\004 \001(\t\022%\n\007sort_by\030\005 \001(" + - "\0132\024.flyteidl.admin.Sort\"\306\001\n\rNodeExecutio" + - "n\0222\n\002id\030\001 \001(\0132&.flyteidl.core.NodeExecut" + - "ionIdentifier\022\021\n\tinput_uri\030\002 \001(\t\0225\n\007clos" + - "ure\030\003 \001(\0132$.flyteidl.admin.NodeExecution" + - "Closure\0227\n\010metadata\030\004 \001(\0132%.flyteidl.adm" + - "in.NodeExecutionMetaData\"\200\001\n\025NodeExecuti" + - "onMetaData\022\023\n\013retry_group\030\001 \001(\t\022\026\n\016is_pa" + - "rent_node\030\002 \001(\010\022\024\n\014spec_node_id\030\003 \001(\t\022\022\n" + - "\nis_dynamic\030\004 \001(\010\022\020\n\010is_array\030\005 \001(\010\"Z\n\021N" + - "odeExecutionList\0226\n\017node_executions\030\001 \003(" + - "\0132\035.flyteidl.admin.NodeExecution\022\r\n\005toke" + - "n\030\002 \001(\t\"\342\004\n\024NodeExecutionClosure\022\030\n\noutp" + - "ut_uri\030\001 \001(\tB\002\030\001H\000\022.\n\005error\030\002 \001(\0132\035.flyt" + - "eidl.core.ExecutionErrorH\000\0224\n\013output_dat" + - "a\030\n \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001H\000" + - "\0221\n\005phase\030\003 \001(\0162\".flyteidl.core.NodeExec" + - "ution.Phase\022.\n\nstarted_at\030\004 \001(\0132\032.google" + - ".protobuf.Timestamp\022+\n\010duration\030\005 \001(\0132\031." + - "google.protobuf.Duration\022.\n\ncreated_at\030\006" + - " \001(\0132\032.google.protobuf.Timestamp\022.\n\nupda" + - "ted_at\030\007 \001(\0132\032.google.protobuf.Timestamp" + - "\022F\n\026workflow_node_metadata\030\010 \001(\0132$.flyte" + - "idl.admin.WorkflowNodeMetadataH\001\022>\n\022task" + - "_node_metadata\030\t \001(\0132 .flyteidl.admin.Ta" + - "skNodeMetadataH\001\022\020\n\010deck_uri\030\013 \001(\t\022\034\n\024dy" + - "namic_job_spec_uri\030\014 \001(\tB\017\n\routput_resul" + - "tB\021\n\017target_metadata\"W\n\024WorkflowNodeMeta" + - "data\022?\n\013executionId\030\001 \001(\0132*.flyteidl.cor" + - "e.WorkflowExecutionIdentifier\"\230\001\n\020TaskNo" + - "deMetadata\0227\n\014cache_status\030\001 \001(\0162!.flyte" + - "idl.core.CatalogCacheStatus\0223\n\013catalog_k" + - "ey\030\002 \001(\0132\036.flyteidl.core.CatalogMetadata" + - "\022\026\n\016checkpoint_uri\030\004 \001(\t\"\245\001\n\033DynamicWork" + - "flowNodeMetadata\022%\n\002id\030\001 \001(\0132\031.flyteidl." + - "core.Identifier\022A\n\021compiled_workflow\030\002 \001" + - "(\0132&.flyteidl.core.CompiledWorkflowClosu" + - "re\022\034\n\024dynamic_job_spec_uri\030\003 \001(\t\"Q\n\033Node" + - "ExecutionGetDataRequest\0222\n\002id\030\001 \001(\0132&.fl" + - "yteidl.core.NodeExecutionIdentifier\"\320\002\n\034" + - "NodeExecutionGetDataResponse\022+\n\006inputs\030\001" + - " \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022,\n\007out" + - "puts\030\002 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022" + - ".\n\013full_inputs\030\003 \001(\0132\031.flyteidl.core.Lit" + - "eralMap\022/\n\014full_outputs\030\004 \001(\0132\031.flyteidl" + - ".core.LiteralMap\022E\n\020dynamic_workflow\030\020 \001" + - "(\0132+.flyteidl.admin.DynamicWorkflowNodeM" + - "etadata\022-\n\nflyte_urls\030\021 \001(\0132\031.flyteidl.a" + - "dmin.FlyteURLs\"S\n\035GetDynamicNodeWorkflow" + - "Request\0222\n\002id\030\001 \001(\0132&.flyteidl.core.Node" + - "ExecutionIdentifier\"`\n\033DynamicNodeWorkfl" + - "owResponse\022A\n\021compiled_workflow\030\001 \001(\0132&." + - "flyteidl.core.CompiledWorkflowClosureB=Z" + - ";github.com/flyteorg/flyte/flyteidl/gen/" + - "pb-go/flyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.Common.getDescriptor(), - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.Catalog.getDescriptor(), - flyteidl.core.Compiler.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor, - new java.lang.String[] { "WorkflowExecutionId", "Limit", "Token", "Filters", "SortBy", "UniqueParentId", }); - internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor, - new java.lang.String[] { "TaskExecutionId", "Limit", "Token", "Filters", "SortBy", }); - internal_static_flyteidl_admin_NodeExecution_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecution_descriptor, - new java.lang.String[] { "Id", "InputUri", "Closure", "Metadata", }); - internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor, - new java.lang.String[] { "RetryGroup", "IsParentNode", "SpecNodeId", "IsDynamic", "IsArray", }); - internal_static_flyteidl_admin_NodeExecutionList_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionList_descriptor, - new java.lang.String[] { "NodeExecutions", "Token", }); - internal_static_flyteidl_admin_NodeExecutionClosure_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionClosure_descriptor, - new java.lang.String[] { "OutputUri", "Error", "OutputData", "Phase", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "WorkflowNodeMetadata", "TaskNodeMetadata", "DeckUri", "DynamicJobSpecUri", "OutputResult", "TargetMetadata", }); - internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor, - new java.lang.String[] { "ExecutionId", }); - internal_static_flyteidl_admin_TaskNodeMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_TaskNodeMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskNodeMetadata_descriptor, - new java.lang.String[] { "CacheStatus", "CatalogKey", "CheckpointUri", }); - internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_descriptor, - new java.lang.String[] { "Id", "CompiledWorkflow", "DynamicJobSpecUri", }); - internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor, - new java.lang.String[] { "Inputs", "Outputs", "FullInputs", "FullOutputs", "DynamicWorkflow", "FlyteUrls", }); - internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetDynamicNodeWorkflowRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_DynamicNodeWorkflowResponse_descriptor, - new java.lang.String[] { "CompiledWorkflow", }); - flyteidl.admin.Common.getDescriptor(); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.Catalog.getDescriptor(); - flyteidl.core.Compiler.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/Notification.java b/flyteidl/gen/pb-java/flyteidl/admin/Notification.java deleted file mode 100644 index 4d5a1f2b35..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/Notification.java +++ /dev/null @@ -1,1325 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/notification.proto - -package flyteidl.admin; - -public final class Notification { - private Notification() {} - 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 EmailMessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.EmailMessage) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - java.util.List - getRecipientsEmailList(); - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - int getRecipientsEmailCount(); - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - java.lang.String getRecipientsEmail(int index); - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - com.google.protobuf.ByteString - getRecipientsEmailBytes(int index); - - /** - *
-     * The email of the sender.
-     * This populates the FROM field.
-     * 
- * - * string sender_email = 2; - */ - java.lang.String getSenderEmail(); - /** - *
-     * The email of the sender.
-     * This populates the FROM field.
-     * 
- * - * string sender_email = 2; - */ - com.google.protobuf.ByteString - getSenderEmailBytes(); - - /** - *
-     * The content of the subject line.
-     * This populates the SUBJECT field.
-     * 
- * - * string subject_line = 3; - */ - java.lang.String getSubjectLine(); - /** - *
-     * The content of the subject line.
-     * This populates the SUBJECT field.
-     * 
- * - * string subject_line = 3; - */ - com.google.protobuf.ByteString - getSubjectLineBytes(); - - /** - *
-     * The content of the email body.
-     * This populates the BODY field.
-     * 
- * - * string body = 4; - */ - java.lang.String getBody(); - /** - *
-     * The content of the email body.
-     * This populates the BODY field.
-     * 
- * - * string body = 4; - */ - com.google.protobuf.ByteString - getBodyBytes(); - } - /** - *
-   * Represents the Email object that is sent to a publisher/subscriber
-   * to forward the notification.
-   * Note: This is internal to Admin and doesn't need to be exposed to other components.
-   * 
- * - * Protobuf type {@code flyteidl.admin.EmailMessage} - */ - public static final class EmailMessage extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.EmailMessage) - EmailMessageOrBuilder { - private static final long serialVersionUID = 0L; - // Use EmailMessage.newBuilder() to construct. - private EmailMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EmailMessage() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - senderEmail_ = ""; - subjectLine_ = ""; - body_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EmailMessage( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - recipientsEmail_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - senderEmail_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - subjectLine_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - body_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Notification.internal_static_flyteidl_admin_EmailMessage_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Notification.internal_static_flyteidl_admin_EmailMessage_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Notification.EmailMessage.class, flyteidl.admin.Notification.EmailMessage.Builder.class); - } - - private int bitField0_; - public static final int RECIPIENTS_EMAIL_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList recipientsEmail_; - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_; - } - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-     * The list of email addresses to receive an email with the content populated in the other fields.
-     * Currently, each email recipient will receive its own email.
-     * This populates the TO field.
-     * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - - public static final int SENDER_EMAIL_FIELD_NUMBER = 2; - private volatile java.lang.Object senderEmail_; - /** - *
-     * The email of the sender.
-     * This populates the FROM field.
-     * 
- * - * string sender_email = 2; - */ - public java.lang.String getSenderEmail() { - java.lang.Object ref = senderEmail_; - 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(); - senderEmail_ = s; - return s; - } - } - /** - *
-     * The email of the sender.
-     * This populates the FROM field.
-     * 
- * - * string sender_email = 2; - */ - public com.google.protobuf.ByteString - getSenderEmailBytes() { - java.lang.Object ref = senderEmail_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - senderEmail_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SUBJECT_LINE_FIELD_NUMBER = 3; - private volatile java.lang.Object subjectLine_; - /** - *
-     * The content of the subject line.
-     * This populates the SUBJECT field.
-     * 
- * - * string subject_line = 3; - */ - public java.lang.String getSubjectLine() { - java.lang.Object ref = subjectLine_; - 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(); - subjectLine_ = s; - return s; - } - } - /** - *
-     * The content of the subject line.
-     * This populates the SUBJECT field.
-     * 
- * - * string subject_line = 3; - */ - public com.google.protobuf.ByteString - getSubjectLineBytes() { - java.lang.Object ref = subjectLine_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subjectLine_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BODY_FIELD_NUMBER = 4; - private volatile java.lang.Object body_; - /** - *
-     * The content of the email body.
-     * This populates the BODY field.
-     * 
- * - * string body = 4; - */ - public java.lang.String getBody() { - java.lang.Object ref = body_; - 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(); - body_ = s; - return s; - } - } - /** - *
-     * The content of the email body.
-     * This populates the BODY field.
-     * 
- * - * string body = 4; - */ - public com.google.protobuf.ByteString - getBodyBytes() { - java.lang.Object ref = body_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - body_ = 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 { - for (int i = 0; i < recipientsEmail_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, recipientsEmail_.getRaw(i)); - } - if (!getSenderEmailBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, senderEmail_); - } - if (!getSubjectLineBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subjectLine_); - } - if (!getBodyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, body_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < recipientsEmail_.size(); i++) { - dataSize += computeStringSizeNoTag(recipientsEmail_.getRaw(i)); - } - size += dataSize; - size += 1 * getRecipientsEmailList().size(); - } - if (!getSenderEmailBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, senderEmail_); - } - if (!getSubjectLineBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subjectLine_); - } - if (!getBodyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, body_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.Notification.EmailMessage)) { - return super.equals(obj); - } - flyteidl.admin.Notification.EmailMessage other = (flyteidl.admin.Notification.EmailMessage) obj; - - if (!getRecipientsEmailList() - .equals(other.getRecipientsEmailList())) return false; - if (!getSenderEmail() - .equals(other.getSenderEmail())) return false; - if (!getSubjectLine() - .equals(other.getSubjectLine())) return false; - if (!getBody() - .equals(other.getBody())) 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 (getRecipientsEmailCount() > 0) { - hash = (37 * hash) + RECIPIENTS_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + getRecipientsEmailList().hashCode(); - } - hash = (37 * hash) + SENDER_EMAIL_FIELD_NUMBER; - hash = (53 * hash) + getSenderEmail().hashCode(); - hash = (37 * hash) + SUBJECT_LINE_FIELD_NUMBER; - hash = (53 * hash) + getSubjectLine().hashCode(); - hash = (37 * hash) + BODY_FIELD_NUMBER; - hash = (53 * hash) + getBody().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.Notification.EmailMessage parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Notification.EmailMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.Notification.EmailMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.Notification.EmailMessage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.Notification.EmailMessage 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; - } - /** - *
-     * Represents the Email object that is sent to a publisher/subscriber
-     * to forward the notification.
-     * Note: This is internal to Admin and doesn't need to be exposed to other components.
-     * 
- * - * Protobuf type {@code flyteidl.admin.EmailMessage} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.EmailMessage) - flyteidl.admin.Notification.EmailMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.Notification.internal_static_flyteidl_admin_EmailMessage_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.Notification.internal_static_flyteidl_admin_EmailMessage_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.Notification.EmailMessage.class, flyteidl.admin.Notification.EmailMessage.Builder.class); - } - - // Construct using flyteidl.admin.Notification.EmailMessage.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(); - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - senderEmail_ = ""; - - subjectLine_ = ""; - - body_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.Notification.internal_static_flyteidl_admin_EmailMessage_descriptor; - } - - @java.lang.Override - public flyteidl.admin.Notification.EmailMessage getDefaultInstanceForType() { - return flyteidl.admin.Notification.EmailMessage.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.Notification.EmailMessage build() { - flyteidl.admin.Notification.EmailMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.Notification.EmailMessage buildPartial() { - flyteidl.admin.Notification.EmailMessage result = new flyteidl.admin.Notification.EmailMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = recipientsEmail_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.recipientsEmail_ = recipientsEmail_; - result.senderEmail_ = senderEmail_; - result.subjectLine_ = subjectLine_; - result.body_ = body_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Notification.EmailMessage) { - return mergeFrom((flyteidl.admin.Notification.EmailMessage)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.Notification.EmailMessage other) { - if (other == flyteidl.admin.Notification.EmailMessage.getDefaultInstance()) return this; - if (!other.recipientsEmail_.isEmpty()) { - if (recipientsEmail_.isEmpty()) { - recipientsEmail_ = other.recipientsEmail_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRecipientsEmailIsMutable(); - recipientsEmail_.addAll(other.recipientsEmail_); - } - onChanged(); - } - if (!other.getSenderEmail().isEmpty()) { - senderEmail_ = other.senderEmail_; - onChanged(); - } - if (!other.getSubjectLine().isEmpty()) { - subjectLine_ = other.subjectLine_; - onChanged(); - } - if (!other.getBody().isEmpty()) { - body_ = other.body_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.Notification.EmailMessage parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Notification.EmailMessage) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureRecipientsEmailIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - recipientsEmail_ = new com.google.protobuf.LazyStringArrayList(recipientsEmail_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ProtocolStringList - getRecipientsEmailList() { - return recipientsEmail_.getUnmodifiableView(); - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public int getRecipientsEmailCount() { - return recipientsEmail_.size(); - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public java.lang.String getRecipientsEmail(int index) { - return recipientsEmail_.get(index); - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public com.google.protobuf.ByteString - getRecipientsEmailBytes(int index) { - return recipientsEmail_.getByteString(index); - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder setRecipientsEmail( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmail( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addAllRecipientsEmail( - java.lang.Iterable values) { - ensureRecipientsEmailIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, recipientsEmail_); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder clearRecipientsEmail() { - recipientsEmail_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * The list of email addresses to receive an email with the content populated in the other fields.
-       * Currently, each email recipient will receive its own email.
-       * This populates the TO field.
-       * 
- * - * repeated string recipients_email = 1; - */ - public Builder addRecipientsEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureRecipientsEmailIsMutable(); - recipientsEmail_.add(value); - onChanged(); - return this; - } - - private java.lang.Object senderEmail_ = ""; - /** - *
-       * The email of the sender.
-       * This populates the FROM field.
-       * 
- * - * string sender_email = 2; - */ - public java.lang.String getSenderEmail() { - java.lang.Object ref = senderEmail_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - senderEmail_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The email of the sender.
-       * This populates the FROM field.
-       * 
- * - * string sender_email = 2; - */ - public com.google.protobuf.ByteString - getSenderEmailBytes() { - java.lang.Object ref = senderEmail_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - senderEmail_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The email of the sender.
-       * This populates the FROM field.
-       * 
- * - * string sender_email = 2; - */ - public Builder setSenderEmail( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - senderEmail_ = value; - onChanged(); - return this; - } - /** - *
-       * The email of the sender.
-       * This populates the FROM field.
-       * 
- * - * string sender_email = 2; - */ - public Builder clearSenderEmail() { - - senderEmail_ = getDefaultInstance().getSenderEmail(); - onChanged(); - return this; - } - /** - *
-       * The email of the sender.
-       * This populates the FROM field.
-       * 
- * - * string sender_email = 2; - */ - public Builder setSenderEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - senderEmail_ = value; - onChanged(); - return this; - } - - private java.lang.Object subjectLine_ = ""; - /** - *
-       * The content of the subject line.
-       * This populates the SUBJECT field.
-       * 
- * - * string subject_line = 3; - */ - public java.lang.String getSubjectLine() { - java.lang.Object ref = subjectLine_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subjectLine_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The content of the subject line.
-       * This populates the SUBJECT field.
-       * 
- * - * string subject_line = 3; - */ - public com.google.protobuf.ByteString - getSubjectLineBytes() { - java.lang.Object ref = subjectLine_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subjectLine_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The content of the subject line.
-       * This populates the SUBJECT field.
-       * 
- * - * string subject_line = 3; - */ - public Builder setSubjectLine( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - subjectLine_ = value; - onChanged(); - return this; - } - /** - *
-       * The content of the subject line.
-       * This populates the SUBJECT field.
-       * 
- * - * string subject_line = 3; - */ - public Builder clearSubjectLine() { - - subjectLine_ = getDefaultInstance().getSubjectLine(); - onChanged(); - return this; - } - /** - *
-       * The content of the subject line.
-       * This populates the SUBJECT field.
-       * 
- * - * string subject_line = 3; - */ - public Builder setSubjectLineBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - subjectLine_ = value; - onChanged(); - return this; - } - - private java.lang.Object body_ = ""; - /** - *
-       * The content of the email body.
-       * This populates the BODY field.
-       * 
- * - * string body = 4; - */ - public java.lang.String getBody() { - java.lang.Object ref = body_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - body_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The content of the email body.
-       * This populates the BODY field.
-       * 
- * - * string body = 4; - */ - public com.google.protobuf.ByteString - getBodyBytes() { - java.lang.Object ref = body_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - body_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The content of the email body.
-       * This populates the BODY field.
-       * 
- * - * string body = 4; - */ - public Builder setBody( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - body_ = value; - onChanged(); - return this; - } - /** - *
-       * The content of the email body.
-       * This populates the BODY field.
-       * 
- * - * string body = 4; - */ - public Builder clearBody() { - - body_ = getDefaultInstance().getBody(); - onChanged(); - return this; - } - /** - *
-       * The content of the email body.
-       * This populates the BODY field.
-       * 
- * - * string body = 4; - */ - public Builder setBodyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - body_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.EmailMessage) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.EmailMessage) - private static final flyteidl.admin.Notification.EmailMessage DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.Notification.EmailMessage(); - } - - public static flyteidl.admin.Notification.EmailMessage getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EmailMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EmailMessage(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.Notification.EmailMessage getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_EmailMessage_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_EmailMessage_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n!flyteidl/admin/notification.proto\022\016fly" + - "teidl.admin\"b\n\014EmailMessage\022\030\n\020recipient" + - "s_email\030\001 \003(\t\022\024\n\014sender_email\030\002 \001(\t\022\024\n\014s" + - "ubject_line\030\003 \001(\t\022\014\n\004body\030\004 \001(\tB=Z;githu" + - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" + - "flyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }, assigner); - internal_static_flyteidl_admin_EmailMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_EmailMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_EmailMessage_descriptor, - new java.lang.String[] { "RecipientsEmail", "SenderEmail", "SubjectLine", "Body", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ProjectAttributesOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ProjectAttributesOuterClass.java deleted file mode 100644 index c124b52d9d..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/ProjectAttributesOuterClass.java +++ /dev/null @@ -1,5065 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project_attributes.proto - -package flyteidl.admin; - -public final class ProjectAttributesOuterClass { - private ProjectAttributesOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - public interface ProjectAttributesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributes) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - boolean hasMatchingAttributes(); - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes(); - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder(); - - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Defines a set of custom matching attributes at the project level.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributes} - */ - public static final class ProjectAttributes extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributes) - ProjectAttributesOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectAttributes.newBuilder() to construct. - private ProjectAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectAttributes() { - project_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectAttributes( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; - if (matchingAttributes_ != null) { - subBuilder = matchingAttributes_.toBuilder(); - } - matchingAttributes_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(matchingAttributes_); - matchingAttributes_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MATCHING_ATTRIBUTES_FIELD_NUMBER = 2; - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public boolean hasMatchingAttributes() { - return matchingAttributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { - return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { - return getMatchingAttributes(); - } - - public static final int ORG_FIELD_NUMBER = 3; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (matchingAttributes_ != null) { - output.writeMessage(2, getMatchingAttributes()); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (matchingAttributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMatchingAttributes()); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes)) { - return super.equals(obj); - } - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (hasMatchingAttributes() != other.hasMatchingAttributes()) return false; - if (hasMatchingAttributes()) { - if (!getMatchingAttributes() - .equals(other.getMatchingAttributes())) return false; - } - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - if (hasMatchingAttributes()) { - hash = (37 * hash) + MATCHING_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getMatchingAttributes().hashCode(); - } - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a set of custom matching attributes at the project level.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributes} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributes) - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder.class); - } - - // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = null; - } else { - matchingAttributes_ = null; - matchingAttributesBuilder_ = null; - } - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getDefaultInstanceForType() { - return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes build() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes buildPartial() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes(this); - result.project_ = project_; - if (matchingAttributesBuilder_ == null) { - result.matchingAttributes_ = matchingAttributes_; - } else { - result.matchingAttributes_ = matchingAttributesBuilder_.build(); - } - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes) { - return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes other) { - if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (other.hasMatchingAttributes()) { - mergeMatchingAttributes(other.getMatchingAttributes()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> matchingAttributesBuilder_; - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public boolean hasMatchingAttributes() { - return matchingAttributesBuilder_ != null || matchingAttributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { - if (matchingAttributesBuilder_ == null) { - return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } else { - return matchingAttributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public Builder setMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (matchingAttributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - matchingAttributes_ = value; - onChanged(); - } else { - matchingAttributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public Builder setMatchingAttributes( - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = builderForValue.build(); - onChanged(); - } else { - matchingAttributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public Builder mergeMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (matchingAttributesBuilder_ == null) { - if (matchingAttributes_ != null) { - matchingAttributes_ = - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(matchingAttributes_).mergeFrom(value).buildPartial(); - } else { - matchingAttributes_ = value; - } - onChanged(); - } else { - matchingAttributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public Builder clearMatchingAttributes() { - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = null; - onChanged(); - } else { - matchingAttributes_ = null; - matchingAttributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getMatchingAttributesBuilder() { - - onChanged(); - return getMatchingAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { - if (matchingAttributesBuilder_ != null) { - return matchingAttributesBuilder_.getMessageOrBuilder(); - } else { - return matchingAttributes_ == null ? - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> - getMatchingAttributesFieldBuilder() { - if (matchingAttributesBuilder_ == null) { - matchingAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( - getMatchingAttributes(), - getParentForChildren(), - isClean()); - matchingAttributes_ = null; - } - return matchingAttributesBuilder_; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectAttributes) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributes) - private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes(); - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectAttributes(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectAttributesUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesUpdateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - boolean hasAttributes(); - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes(); - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder(); - } - /** - *
-   * Sets custom attributes for a project
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesUpdateRequest} - */ - public static final class ProjectAttributesUpdateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesUpdateRequest) - ProjectAttributesUpdateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectAttributesUpdateRequest.newBuilder() to construct. - private ProjectAttributesUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectAttributesUpdateRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectAttributesUpdateRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder subBuilder = null; - if (attributes_ != null) { - subBuilder = attributes_.toBuilder(); - } - attributes_ = input.readMessage(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(attributes_); - attributes_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes attributes_; - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributes_ != null; - } - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes() { - return attributes_ == null ? flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; - } - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder() { - return getAttributes(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (attributes_ != null) { - output.writeMessage(1, getAttributes()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (attributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributes()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest) obj; - - if (hasAttributes() != other.hasAttributes()) return false; - if (hasAttributes()) { - if (!getAttributes() - .equals(other.getAttributes())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAttributes()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getAttributes().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Sets custom attributes for a project
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesUpdateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesUpdateRequest) - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (attributesBuilder_ == null) { - attributes_ = null; - } else { - attributes_ = null; - attributesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest build() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest buildPartial() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest(this); - if (attributesBuilder_ == null) { - result.attributes_ = attributes_; - } else { - result.attributes_ = attributesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest) { - return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest other) { - if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.getDefaultInstance()) return this; - if (other.hasAttributes()) { - mergeAttributes(other.getAttributes()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes attributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder> attributesBuilder_; - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributesBuilder_ != null || attributes_ != null; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes() { - if (attributesBuilder_ == null) { - return attributes_ == null ? flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; - } else { - return attributesBuilder_.getMessage(); - } - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder setAttributes(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes value) { - if (attributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - attributes_ = value; - onChanged(); - } else { - attributesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder setAttributes( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder builderForValue) { - if (attributesBuilder_ == null) { - attributes_ = builderForValue.build(); - onChanged(); - } else { - attributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder mergeAttributes(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes value) { - if (attributesBuilder_ == null) { - if (attributes_ != null) { - attributes_ = - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); - } else { - attributes_ = value; - } - onChanged(); - } else { - attributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder clearAttributes() { - if (attributesBuilder_ == null) { - attributes_ = null; - onChanged(); - } else { - attributes_ = null; - attributesBuilder_ = null; - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder getAttributesBuilder() { - - onChanged(); - return getAttributesFieldBuilder().getBuilder(); - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder() { - if (attributesBuilder_ != null) { - return attributesBuilder_.getMessageOrBuilder(); - } else { - return attributes_ == null ? - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; - } - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder> - getAttributesFieldBuilder() { - if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder>( - getAttributes(), - getParentForChildren(), - isClean()); - attributes_ = null; - } - return attributesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectAttributesUpdateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateRequest) - private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest(); - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectAttributesUpdateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectAttributesUpdateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectAttributesUpdateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesUpdateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesUpdateResponse} - */ - public static final class ProjectAttributesUpdateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesUpdateResponse) - ProjectAttributesUpdateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectAttributesUpdateResponse.newBuilder() to construct. - private ProjectAttributesUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectAttributesUpdateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectAttributesUpdateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesUpdateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesUpdateResponse) - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse build() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse buildPartial() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse) { - return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse other) { - if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectAttributesUpdateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateResponse) - private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse(); - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectAttributesUpdateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectAttributesUpdateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectAttributesGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - int getResourceTypeValue(); - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType(); - - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to get an individual project level attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesGetRequest} - */ - public static final class ProjectAttributesGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesGetRequest) - ProjectAttributesGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectAttributesGetRequest.newBuilder() to construct. - private ProjectAttributesGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectAttributesGetRequest() { - project_ = ""; - resourceType_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectAttributesGetRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - resourceType_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; - private int resourceType_; - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 3; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - output.writeEnum(2, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (resourceType_ != other.resourceType_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest 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 to get an individual project level attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesGetRequest) - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - resourceType_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest build() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest buildPartial() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest(this); - result.project_ = project_; - result.resourceType_ = resourceType_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest) { - return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest other) { - if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public Builder setResourceType(flyteidl.admin.MatchableResourceOuterClass.MatchableResource value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectAttributesGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesGetRequest) - private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest(); - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectAttributesGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectAttributesGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectAttributesGetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesGetResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - boolean hasAttributes(); - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes(); - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder(); - } - /** - *
-   * Response to get an individual project level attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesGetResponse} - */ - public static final class ProjectAttributesGetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesGetResponse) - ProjectAttributesGetResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectAttributesGetResponse.newBuilder() to construct. - private ProjectAttributesGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectAttributesGetResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectAttributesGetResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder subBuilder = null; - if (attributes_ != null) { - subBuilder = attributes_.toBuilder(); - } - attributes_ = input.readMessage(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(attributes_); - attributes_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes attributes_; - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributes_ != null; - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes() { - return attributes_ == null ? flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder() { - return getAttributes(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (attributes_ != null) { - output.writeMessage(1, getAttributes()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (attributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributes()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse) obj; - - if (hasAttributes() != other.hasAttributes()) return false; - if (hasAttributes()) { - if (!getAttributes() - .equals(other.getAttributes())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAttributes()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getAttributes().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse 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 to get an individual project level attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesGetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesGetResponse) - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (attributesBuilder_ == null) { - attributes_ = null; - } else { - attributes_ = null; - attributesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesGetResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse build() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse buildPartial() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse(this); - if (attributesBuilder_ == null) { - result.attributes_ = attributes_; - } else { - result.attributes_ = attributesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse) { - return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse other) { - if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse.getDefaultInstance()) return this; - if (other.hasAttributes()) { - mergeAttributes(other.getAttributes()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes attributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder> attributesBuilder_; - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributesBuilder_ != null || attributes_ != null; - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes() { - if (attributesBuilder_ == null) { - return attributes_ == null ? flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; - } else { - return attributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder setAttributes(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes value) { - if (attributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - attributes_ = value; - onChanged(); - } else { - attributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder setAttributes( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder builderForValue) { - if (attributesBuilder_ == null) { - attributes_ = builderForValue.build(); - onChanged(); - } else { - attributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder mergeAttributes(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes value) { - if (attributesBuilder_ == null) { - if (attributes_ != null) { - attributes_ = - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); - } else { - attributes_ = value; - } - onChanged(); - } else { - attributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public Builder clearAttributes() { - if (attributesBuilder_ == null) { - attributes_ = null; - onChanged(); - } else { - attributes_ = null; - attributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder getAttributesBuilder() { - - onChanged(); - return getAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder() { - if (attributesBuilder_ != null) { - return attributesBuilder_.getMessageOrBuilder(); - } else { - return attributes_ == null ? - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; - } - } - /** - * .flyteidl.admin.ProjectAttributes attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder> - getAttributesFieldBuilder() { - if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder>( - getAttributes(), - getParentForChildren(), - isClean()); - attributes_ = null; - } - return attributesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectAttributesGetResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesGetResponse) - private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse(); - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectAttributesGetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectAttributesGetResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesGetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectAttributesDeleteRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesDeleteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - int getResourceTypeValue(); - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType(); - - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to delete a set matchable project level attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesDeleteRequest} - */ - public static final class ProjectAttributesDeleteRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesDeleteRequest) - ProjectAttributesDeleteRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectAttributesDeleteRequest.newBuilder() to construct. - private ProjectAttributesDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectAttributesDeleteRequest() { - project_ = ""; - resourceType_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectAttributesDeleteRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - resourceType_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; - private int resourceType_; - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 3; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the project.
-     * 
- * - * string org = 3; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - output.writeEnum(2, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (resourceType_ != other.resourceType_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest 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 to delete a set matchable project level attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesDeleteRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesDeleteRequest) - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - resourceType_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest build() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest buildPartial() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest(this); - result.project_ = project_; - result.resourceType_ = resourceType_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest) { - return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest other) { - if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public Builder setResourceType(flyteidl.admin.MatchableResourceOuterClass.MatchableResource value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 2; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the project.
-       * 
- * - * string org = 3; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectAttributesDeleteRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesDeleteRequest) - private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest(); - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectAttributesDeleteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectAttributesDeleteRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectAttributesDeleteResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesDeleteResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesDeleteResponse} - */ - public static final class ProjectAttributesDeleteResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesDeleteResponse) - ProjectAttributesDeleteResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectAttributesDeleteResponse.newBuilder() to construct. - private ProjectAttributesDeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectAttributesDeleteResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectAttributesDeleteResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectAttributesDeleteResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesDeleteResponse) - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse build() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse buildPartial() { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse) { - return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse other) { - if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectAttributesDeleteResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesDeleteResponse) - private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse(); - } - - public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectAttributesDeleteResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectAttributesDeleteResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesDeleteResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectAttributes_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectAttributesGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectAttributesGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectAttributesGetResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectAttributesGetResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'flyteidl/admin/project_attributes.prot" + - "o\022\016flyteidl.admin\032\'flyteidl/admin/matcha" + - "ble_resource.proto\"r\n\021ProjectAttributes\022" + - "\017\n\007project\030\001 \001(\t\022?\n\023matching_attributes\030" + - "\002 \001(\0132\".flyteidl.admin.MatchingAttribute" + - "s\022\013\n\003org\030\003 \001(\t\"W\n\036ProjectAttributesUpdat" + - "eRequest\0225\n\nattributes\030\001 \001(\0132!.flyteidl." + - "admin.ProjectAttributes\"!\n\037ProjectAttrib" + - "utesUpdateResponse\"u\n\033ProjectAttributesG" + - "etRequest\022\017\n\007project\030\001 \001(\t\0228\n\rresource_t" + - "ype\030\002 \001(\0162!.flyteidl.admin.MatchableReso" + - "urce\022\013\n\003org\030\003 \001(\t\"U\n\034ProjectAttributesGe" + - "tResponse\0225\n\nattributes\030\001 \001(\0132!.flyteidl" + - ".admin.ProjectAttributes\"x\n\036ProjectAttri" + - "butesDeleteRequest\022\017\n\007project\030\001 \001(\t\0228\n\rr" + - "esource_type\030\002 \001(\0162!.flyteidl.admin.Matc" + - "hableResource\022\013\n\003org\030\003 \001(\t\"!\n\037ProjectAtt" + - "ributesDeleteResponseB=Z;github.com/flyt" + - "eorg/flyte/flyteidl/gen/pb-go/flyteidl/a" + - "dminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_ProjectAttributes_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectAttributes_descriptor, - new java.lang.String[] { "Project", "MatchingAttributes", "Org", }); - internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor, - new java.lang.String[] { "Attributes", }); - internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_ProjectAttributesGetRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_ProjectAttributesGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectAttributesGetRequest_descriptor, - new java.lang.String[] { "Project", "ResourceType", "Org", }); - internal_static_flyteidl_admin_ProjectAttributesGetResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_ProjectAttributesGetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectAttributesGetResponse_descriptor, - new java.lang.String[] { "Attributes", }); - internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectAttributesDeleteRequest_descriptor, - new java.lang.String[] { "Project", "ResourceType", "Org", }); - internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectAttributesDeleteResponse_descriptor, - new java.lang.String[] { }); - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ProjectDomainAttributesOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ProjectDomainAttributesOuterClass.java deleted file mode 100644 index 22d73ff719..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/ProjectDomainAttributesOuterClass.java +++ /dev/null @@ -1,5605 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project_domain_attributes.proto - -package flyteidl.admin; - -public final class ProjectDomainAttributesOuterClass { - private ProjectDomainAttributesOuterClass() {} - 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 ProjectDomainAttributesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectDomainAttributes) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - boolean hasMatchingAttributes(); - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes(); - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder(); - - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Defines a set of custom matching attributes which defines resource defaults for a project and domain.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributes} - */ - public static final class ProjectDomainAttributes extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectDomainAttributes) - ProjectDomainAttributesOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectDomainAttributes.newBuilder() to construct. - private ProjectDomainAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectDomainAttributes() { - project_ = ""; - domain_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectDomainAttributes( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; - if (matchingAttributes_ != null) { - subBuilder = matchingAttributes_.toBuilder(); - } - matchingAttributes_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(matchingAttributes_); - matchingAttributes_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MATCHING_ATTRIBUTES_FIELD_NUMBER = 3; - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public boolean hasMatchingAttributes() { - return matchingAttributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { - return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { - return getMatchingAttributes(); - } - - public static final int ORG_FIELD_NUMBER = 4; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (matchingAttributes_ != null) { - output.writeMessage(3, getMatchingAttributes()); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (matchingAttributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMatchingAttributes()); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes)) { - return super.equals(obj); - } - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes other = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (hasMatchingAttributes() != other.hasMatchingAttributes()) return false; - if (hasMatchingAttributes()) { - if (!getMatchingAttributes() - .equals(other.getMatchingAttributes())) return false; - } - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - if (hasMatchingAttributes()) { - hash = (37 * hash) + MATCHING_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getMatchingAttributes().hashCode(); - } - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a set of custom matching attributes which defines resource defaults for a project and domain.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributes} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectDomainAttributes) - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder.class); - } - - // Construct using flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = null; - } else { - matchingAttributes_ = null; - matchingAttributesBuilder_ = null; - } - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getDefaultInstanceForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes build() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes buildPartial() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes(this); - result.project_ = project_; - result.domain_ = domain_; - if (matchingAttributesBuilder_ == null) { - result.matchingAttributes_ = matchingAttributes_; - } else { - result.matchingAttributes_ = matchingAttributesBuilder_.build(); - } - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes) { - return mergeFrom((flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes other) { - if (other == flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (other.hasMatchingAttributes()) { - mergeMatchingAttributes(other.getMatchingAttributes()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> matchingAttributesBuilder_; - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public boolean hasMatchingAttributes() { - return matchingAttributesBuilder_ != null || matchingAttributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { - if (matchingAttributesBuilder_ == null) { - return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } else { - return matchingAttributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public Builder setMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (matchingAttributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - matchingAttributes_ = value; - onChanged(); - } else { - matchingAttributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public Builder setMatchingAttributes( - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = builderForValue.build(); - onChanged(); - } else { - matchingAttributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public Builder mergeMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (matchingAttributesBuilder_ == null) { - if (matchingAttributes_ != null) { - matchingAttributes_ = - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(matchingAttributes_).mergeFrom(value).buildPartial(); - } else { - matchingAttributes_ = value; - } - onChanged(); - } else { - matchingAttributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public Builder clearMatchingAttributes() { - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = null; - onChanged(); - } else { - matchingAttributes_ = null; - matchingAttributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getMatchingAttributesBuilder() { - - onChanged(); - return getMatchingAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { - if (matchingAttributesBuilder_ != null) { - return matchingAttributesBuilder_.getMessageOrBuilder(); - } else { - return matchingAttributes_ == null ? - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> - getMatchingAttributesFieldBuilder() { - if (matchingAttributesBuilder_ == null) { - matchingAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( - getMatchingAttributes(), - getParentForChildren(), - isClean()); - matchingAttributes_ = null; - } - return matchingAttributesBuilder_; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectDomainAttributes) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributes) - private static final flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes(); - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectDomainAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectDomainAttributes(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectDomainAttributesUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - boolean hasAttributes(); - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getAttributes(); - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder getAttributesOrBuilder(); - } - /** - *
-   * Sets custom attributes for a project-domain combination.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesUpdateRequest} - */ - public static final class ProjectDomainAttributesUpdateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - ProjectDomainAttributesUpdateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectDomainAttributesUpdateRequest.newBuilder() to construct. - private ProjectDomainAttributesUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectDomainAttributesUpdateRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectDomainAttributesUpdateRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder subBuilder = null; - if (attributes_ != null) { - subBuilder = attributes_.toBuilder(); - } - attributes_ = input.readMessage(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(attributes_); - attributes_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes attributes_; - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributes_ != null; - } - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getAttributes() { - return attributes_ == null ? flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance() : attributes_; - } - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder getAttributesOrBuilder() { - return getAttributes(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (attributes_ != null) { - output.writeMessage(1, getAttributes()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (attributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributes()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest other = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest) obj; - - if (hasAttributes() != other.hasAttributes()) return false; - if (hasAttributes()) { - if (!getAttributes() - .equals(other.getAttributes())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAttributes()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getAttributes().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Sets custom attributes for a project-domain combination.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesUpdateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (attributesBuilder_ == null) { - attributes_ = null; - } else { - attributes_ = null; - attributesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest build() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest buildPartial() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest(this); - if (attributesBuilder_ == null) { - result.attributes_ = attributes_; - } else { - result.attributes_ = attributesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest) { - return mergeFrom((flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest other) { - if (other == flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest.getDefaultInstance()) return this; - if (other.hasAttributes()) { - mergeAttributes(other.getAttributes()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes attributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder> attributesBuilder_; - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributesBuilder_ != null || attributes_ != null; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getAttributes() { - if (attributesBuilder_ == null) { - return attributes_ == null ? flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance() : attributes_; - } else { - return attributesBuilder_.getMessage(); - } - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder setAttributes(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes value) { - if (attributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - attributes_ = value; - onChanged(); - } else { - attributesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder setAttributes( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder builderForValue) { - if (attributesBuilder_ == null) { - attributes_ = builderForValue.build(); - onChanged(); - } else { - attributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder mergeAttributes(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes value) { - if (attributesBuilder_ == null) { - if (attributes_ != null) { - attributes_ = - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); - } else { - attributes_ = value; - } - onChanged(); - } else { - attributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder clearAttributes() { - if (attributesBuilder_ == null) { - attributes_ = null; - onChanged(); - } else { - attributes_ = null; - attributesBuilder_ = null; - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder getAttributesBuilder() { - - onChanged(); - return getAttributesFieldBuilder().getBuilder(); - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder getAttributesOrBuilder() { - if (attributesBuilder_ != null) { - return attributesBuilder_.getMessageOrBuilder(); - } else { - return attributes_ == null ? - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance() : attributes_; - } - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder> - getAttributesFieldBuilder() { - if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder>( - getAttributes(), - getParentForChildren(), - isClean()); - attributes_ = null; - } - return attributesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesUpdateRequest) - private static final flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest(); - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectDomainAttributesUpdateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectDomainAttributesUpdateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectDomainAttributesUpdateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesUpdateResponse} - */ - public static final class ProjectDomainAttributesUpdateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - ProjectDomainAttributesUpdateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectDomainAttributesUpdateResponse.newBuilder() to construct. - private ProjectDomainAttributesUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectDomainAttributesUpdateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectDomainAttributesUpdateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse other = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesUpdateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse build() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse buildPartial() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse) { - return mergeFrom((flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse other) { - if (other == flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesUpdateResponse) - private static final flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse(); - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectDomainAttributesUpdateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectDomainAttributesUpdateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesUpdateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectDomainAttributesGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectDomainAttributesGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - int getResourceTypeValue(); - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType(); - - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to get an individual project domain attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesGetRequest} - */ - public static final class ProjectDomainAttributesGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectDomainAttributesGetRequest) - ProjectDomainAttributesGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectDomainAttributesGetRequest.newBuilder() to construct. - private ProjectDomainAttributesGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectDomainAttributesGetRequest() { - project_ = ""; - domain_ = ""; - resourceType_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectDomainAttributesGetRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - resourceType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; - private int resourceType_; - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 4; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - output.writeEnum(3, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest other = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (resourceType_ != other.resourceType_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest 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 to get an individual project domain attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectDomainAttributesGetRequest) - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - resourceType_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest build() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest buildPartial() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.resourceType_ = resourceType_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest) { - return mergeFrom((flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest other) { - if (other == flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public Builder setResourceType(flyteidl.admin.MatchableResourceOuterClass.MatchableResource value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectDomainAttributesGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesGetRequest) - private static final flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest(); - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectDomainAttributesGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectDomainAttributesGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectDomainAttributesGetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectDomainAttributesGetResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - boolean hasAttributes(); - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getAttributes(); - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder getAttributesOrBuilder(); - } - /** - *
-   * Response to get an individual project domain attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesGetResponse} - */ - public static final class ProjectDomainAttributesGetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectDomainAttributesGetResponse) - ProjectDomainAttributesGetResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectDomainAttributesGetResponse.newBuilder() to construct. - private ProjectDomainAttributesGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectDomainAttributesGetResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectDomainAttributesGetResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder subBuilder = null; - if (attributes_ != null) { - subBuilder = attributes_.toBuilder(); - } - attributes_ = input.readMessage(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(attributes_); - attributes_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes attributes_; - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributes_ != null; - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getAttributes() { - return attributes_ == null ? flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance() : attributes_; - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder getAttributesOrBuilder() { - return getAttributes(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (attributes_ != null) { - output.writeMessage(1, getAttributes()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (attributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributes()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse other = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse) obj; - - if (hasAttributes() != other.hasAttributes()) return false; - if (hasAttributes()) { - if (!getAttributes() - .equals(other.getAttributes())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAttributes()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getAttributes().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse 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 to get an individual project domain attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesGetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectDomainAttributesGetResponse) - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (attributesBuilder_ == null) { - attributes_ = null; - } else { - attributes_ = null; - attributesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse build() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse buildPartial() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse(this); - if (attributesBuilder_ == null) { - result.attributes_ = attributes_; - } else { - result.attributes_ = attributesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse) { - return mergeFrom((flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse other) { - if (other == flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse.getDefaultInstance()) return this; - if (other.hasAttributes()) { - mergeAttributes(other.getAttributes()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes attributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder> attributesBuilder_; - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributesBuilder_ != null || attributes_ != null; - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes getAttributes() { - if (attributesBuilder_ == null) { - return attributes_ == null ? flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance() : attributes_; - } else { - return attributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder setAttributes(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes value) { - if (attributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - attributes_ = value; - onChanged(); - } else { - attributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder setAttributes( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder builderForValue) { - if (attributesBuilder_ == null) { - attributes_ = builderForValue.build(); - onChanged(); - } else { - attributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder mergeAttributes(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes value) { - if (attributesBuilder_ == null) { - if (attributes_ != null) { - attributes_ = - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); - } else { - attributes_ = value; - } - onChanged(); - } else { - attributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public Builder clearAttributes() { - if (attributesBuilder_ == null) { - attributes_ = null; - onChanged(); - } else { - attributes_ = null; - attributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder getAttributesBuilder() { - - onChanged(); - return getAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder getAttributesOrBuilder() { - if (attributesBuilder_ != null) { - return attributesBuilder_.getMessageOrBuilder(); - } else { - return attributes_ == null ? - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.getDefaultInstance() : attributes_; - } - } - /** - * .flyteidl.admin.ProjectDomainAttributes attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder> - getAttributesFieldBuilder() { - if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesOrBuilder>( - getAttributes(), - getParentForChildren(), - isClean()); - attributes_ = null; - } - return attributesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectDomainAttributesGetResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesGetResponse) - private static final flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse(); - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectDomainAttributesGetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectDomainAttributesGetResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesGetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectDomainAttributesDeleteRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - int getResourceTypeValue(); - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType(); - - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to delete a set matchable project domain attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesDeleteRequest} - */ - public static final class ProjectDomainAttributesDeleteRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - ProjectDomainAttributesDeleteRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectDomainAttributesDeleteRequest.newBuilder() to construct. - private ProjectDomainAttributesDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectDomainAttributesDeleteRequest() { - project_ = ""; - domain_ = ""; - resourceType_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectDomainAttributesDeleteRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - resourceType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 3; - private int resourceType_; - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 4; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - output.writeEnum(3, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest other = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (resourceType_ != other.resourceType_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest 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 to delete a set matchable project domain attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesDeleteRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - resourceType_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest build() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest buildPartial() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.resourceType_ = resourceType_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest) { - return mergeFrom((flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest other) { - if (other == flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public Builder setResourceType(flyteidl.admin.MatchableResourceOuterClass.MatchableResource value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 3; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 4; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesDeleteRequest) - private static final flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest(); - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectDomainAttributesDeleteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectDomainAttributesDeleteRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectDomainAttributesDeleteResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesDeleteResponse} - */ - public static final class ProjectDomainAttributesDeleteResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - ProjectDomainAttributesDeleteResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectDomainAttributesDeleteResponse.newBuilder() to construct. - private ProjectDomainAttributesDeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectDomainAttributesDeleteResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectDomainAttributesDeleteResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse other = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectDomainAttributesDeleteResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse build() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse buildPartial() { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse) { - return mergeFrom((flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse other) { - if (other == flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributesDeleteResponse) - private static final flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse(); - } - - public static flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectDomainAttributesDeleteResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectDomainAttributesDeleteResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesDeleteResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.flyteidl/admin/project_domain_attribut" + - "es.proto\022\016flyteidl.admin\032\'flyteidl/admin" + - "/matchable_resource.proto\"\210\001\n\027ProjectDom" + - "ainAttributes\022\017\n\007project\030\001 \001(\t\022\016\n\006domain" + - "\030\002 \001(\t\022?\n\023matching_attributes\030\003 \001(\0132\".fl" + - "yteidl.admin.MatchingAttributes\022\013\n\003org\030\004" + - " \001(\t\"c\n$ProjectDomainAttributesUpdateReq" + - "uest\022;\n\nattributes\030\001 \001(\0132\'.flyteidl.admi" + - "n.ProjectDomainAttributes\"\'\n%ProjectDoma" + - "inAttributesUpdateResponse\"\213\001\n!ProjectDo" + - "mainAttributesGetRequest\022\017\n\007project\030\001 \001(" + - "\t\022\016\n\006domain\030\002 \001(\t\0228\n\rresource_type\030\003 \001(\016" + - "2!.flyteidl.admin.MatchableResource\022\013\n\003o" + - "rg\030\004 \001(\t\"a\n\"ProjectDomainAttributesGetRe" + - "sponse\022;\n\nattributes\030\001 \001(\0132\'.flyteidl.ad" + - "min.ProjectDomainAttributes\"\216\001\n$ProjectD" + - "omainAttributesDeleteRequest\022\017\n\007project\030" + - "\001 \001(\t\022\016\n\006domain\030\002 \001(\t\0228\n\rresource_type\030\003" + - " \001(\0162!.flyteidl.admin.MatchableResource\022" + - "\013\n\003org\030\004 \001(\t\"\'\n%ProjectDomainAttributesD" + - "eleteResponseB=Z;github.com/flyteorg/fly" + - "te/flyteidl/gen/pb-go/flyteidl/adminb\006pr" + - "oto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_ProjectDomainAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor, - new java.lang.String[] { "Project", "Domain", "MatchingAttributes", "Org", }); - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor, - new java.lang.String[] { "Attributes", }); - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributesGetRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "ResourceType", "Org", }); - internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributesGetResponse_descriptor, - new java.lang.String[] { "Attributes", }); - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "ResourceType", "Org", }); - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributesDeleteResponse_descriptor, - new java.lang.String[] { }); - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ProjectOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ProjectOuterClass.java deleted file mode 100644 index f00680e1b0..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/ProjectOuterClass.java +++ /dev/null @@ -1,6678 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/project.proto - -package flyteidl.admin; - -public final class ProjectOuterClass { - private ProjectOuterClass() {} - 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 DomainOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Domain) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Globally unique domain name.
-     * 
- * - * string id = 1; - */ - java.lang.String getId(); - /** - *
-     * Globally unique domain name.
-     * 
- * - * string id = 1; - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - java.lang.String getName(); - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - } - /** - *
-   * Namespace within a project commonly used to differentiate between different service instances.
-   * e.g. "production", "development", etc.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Domain} - */ - public static final class Domain extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Domain) - DomainOrBuilder { - private static final long serialVersionUID = 0L; - // Use Domain.newBuilder() to construct. - private Domain(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Domain() { - id_ = ""; - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Domain( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Domain_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Domain_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.Domain.class, flyteidl.admin.ProjectOuterClass.Domain.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - *
-     * Globally unique domain name.
-     * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - 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(); - id_ = s; - return s; - } - } - /** - *
-     * Globally unique domain name.
-     * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = 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 (!getIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectOuterClass.Domain)) { - return super.equals(obj); - } - flyteidl.admin.ProjectOuterClass.Domain other = (flyteidl.admin.ProjectOuterClass.Domain) obj; - - if (!getId() - .equals(other.getId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Domain parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectOuterClass.Domain 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; - } - /** - *
-     * Namespace within a project commonly used to differentiate between different service instances.
-     * e.g. "production", "development", etc.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Domain} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Domain) - flyteidl.admin.ProjectOuterClass.DomainOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Domain_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Domain_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.Domain.class, flyteidl.admin.ProjectOuterClass.Domain.Builder.class); - } - - // Construct using flyteidl.admin.ProjectOuterClass.Domain.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(); - id_ = ""; - - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Domain_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Domain getDefaultInstanceForType() { - return flyteidl.admin.ProjectOuterClass.Domain.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Domain build() { - flyteidl.admin.ProjectOuterClass.Domain result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Domain buildPartial() { - flyteidl.admin.ProjectOuterClass.Domain result = new flyteidl.admin.ProjectOuterClass.Domain(this); - result.id_ = id_; - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectOuterClass.Domain) { - return mergeFrom((flyteidl.admin.ProjectOuterClass.Domain)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectOuterClass.Domain other) { - if (other == flyteidl.admin.ProjectOuterClass.Domain.getDefaultInstance()) return this; - if (!other.getId().isEmpty()) { - id_ = other.id_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectOuterClass.Domain parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectOuterClass.Domain) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object id_ = ""; - /** - *
-       * Globally unique domain name.
-       * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Globally unique domain name.
-       * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Globally unique domain name.
-       * 
- * - * string id = 1; - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - id_ = value; - onChanged(); - return this; - } - /** - *
-       * Globally unique domain name.
-       * 
- * - * string id = 1; - */ - public Builder clearId() { - - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - *
-       * Globally unique domain name.
-       * 
- * - * string id = 1; - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Domain) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Domain) - private static final flyteidl.admin.ProjectOuterClass.Domain DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectOuterClass.Domain(); - } - - public static flyteidl.admin.ProjectOuterClass.Domain getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Domain parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Domain(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Domain getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Project) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Globally unique project name.
-     * 
- * - * string id = 1; - */ - java.lang.String getId(); - /** - *
-     * Globally unique project name.
-     * 
- * - * string id = 1; - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - java.lang.String getName(); - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - java.util.List - getDomainsList(); - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - flyteidl.admin.ProjectOuterClass.Domain getDomains(int index); - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - int getDomainsCount(); - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - java.util.List - getDomainsOrBuilderList(); - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - flyteidl.admin.ProjectOuterClass.DomainOrBuilder getDomainsOrBuilder( - int index); - - /** - * string description = 4; - */ - java.lang.String getDescription(); - /** - * string description = 4; - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - - /** - *
-     * Leverage Labels from flyteidl.admin.common.proto to
-     * tag projects with ownership information.
-     * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - boolean hasLabels(); - /** - *
-     * Leverage Labels from flyteidl.admin.common.proto to
-     * tag projects with ownership information.
-     * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - flyteidl.admin.Common.Labels getLabels(); - /** - *
-     * Leverage Labels from flyteidl.admin.common.proto to
-     * tag projects with ownership information.
-     * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder(); - - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - int getStateValue(); - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - flyteidl.admin.ProjectOuterClass.Project.ProjectState getState(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Top-level namespace used to classify different entities like workflows and executions.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Project} - */ - public static final class Project extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Project) - ProjectOrBuilder { - private static final long serialVersionUID = 0L; - // Use Project.newBuilder() to construct. - private Project(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Project() { - id_ = ""; - name_ = ""; - domains_ = java.util.Collections.emptyList(); - description_ = ""; - state_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Project( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - domains_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - domains_.add( - input.readMessage(flyteidl.admin.ProjectOuterClass.Domain.parser(), extensionRegistry)); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Labels.Builder subBuilder = null; - if (labels_ != null) { - subBuilder = labels_.toBuilder(); - } - labels_ = input.readMessage(flyteidl.admin.Common.Labels.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(labels_); - labels_ = subBuilder.buildPartial(); - } - - break; - } - case 48: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - domains_ = java.util.Collections.unmodifiableList(domains_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Project_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Project_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.Project.class, flyteidl.admin.ProjectOuterClass.Project.Builder.class); - } - - /** - *
-     * The state of the project is used to control its visibility in the UI and validity.
-     * 
- * - * Protobuf enum {@code flyteidl.admin.Project.ProjectState} - */ - public enum ProjectState - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * By default, all projects are considered active.
-       * 
- * - * ACTIVE = 0; - */ - ACTIVE(0), - /** - *
-       * Archived projects are no longer visible in the UI and no longer valid.
-       * 
- * - * ARCHIVED = 1; - */ - ARCHIVED(1), - /** - *
-       * System generated projects that aren't explicitly created or managed by a user.
-       * 
- * - * SYSTEM_GENERATED = 2; - */ - SYSTEM_GENERATED(2), - UNRECOGNIZED(-1), - ; - - /** - *
-       * By default, all projects are considered active.
-       * 
- * - * ACTIVE = 0; - */ - public static final int ACTIVE_VALUE = 0; - /** - *
-       * Archived projects are no longer visible in the UI and no longer valid.
-       * 
- * - * ARCHIVED = 1; - */ - public static final int ARCHIVED_VALUE = 1; - /** - *
-       * System generated projects that aren't explicitly created or managed by a user.
-       * 
- * - * SYSTEM_GENERATED = 2; - */ - public static final int SYSTEM_GENERATED_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ProjectState valueOf(int value) { - return forNumber(value); - } - - public static ProjectState forNumber(int value) { - switch (value) { - case 0: return ACTIVE; - case 1: return ARCHIVED; - case 2: return SYSTEM_GENERATED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ProjectState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ProjectState findValueByNumber(int number) { - return ProjectState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.Project.getDescriptor().getEnumTypes().get(0); - } - - private static final ProjectState[] VALUES = values(); - - public static ProjectState 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 ProjectState(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.Project.ProjectState) - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - *
-     * Globally unique project name.
-     * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - 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(); - id_ = s; - return s; - } - } - /** - *
-     * Globally unique project name.
-     * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * Display name.
-     * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAINS_FIELD_NUMBER = 3; - private java.util.List domains_; - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public java.util.List getDomainsList() { - return domains_; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public java.util.List - getDomainsOrBuilderList() { - return domains_; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public int getDomainsCount() { - return domains_.size(); - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public flyteidl.admin.ProjectOuterClass.Domain getDomains(int index) { - return domains_.get(index); - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public flyteidl.admin.ProjectOuterClass.DomainOrBuilder getDomainsOrBuilder( - int index) { - return domains_.get(index); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 4; - private volatile java.lang.Object description_; - /** - * string description = 4; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - 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(); - description_ = s; - return s; - } - } - /** - * string description = 4; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LABELS_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Labels labels_; - /** - *
-     * Leverage Labels from flyteidl.admin.common.proto to
-     * tag projects with ownership information.
-     * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public boolean hasLabels() { - return labels_ != null; - } - /** - *
-     * Leverage Labels from flyteidl.admin.common.proto to
-     * tag projects with ownership information.
-     * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public flyteidl.admin.Common.Labels getLabels() { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - /** - *
-     * Leverage Labels from flyteidl.admin.common.proto to
-     * tag projects with ownership information.
-     * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - return getLabels(); - } - - public static final int STATE_FIELD_NUMBER = 6; - private int state_; - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - public int getStateValue() { - return state_; - } - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - public flyteidl.admin.ProjectOuterClass.Project.ProjectState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.ProjectOuterClass.Project.ProjectState result = flyteidl.admin.ProjectOuterClass.Project.ProjectState.valueOf(state_); - return result == null ? flyteidl.admin.ProjectOuterClass.Project.ProjectState.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 7; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 7; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = 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 (!getIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - for (int i = 0; i < domains_.size(); i++) { - output.writeMessage(3, domains_.get(i)); - } - if (!getDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); - } - if (labels_ != null) { - output.writeMessage(5, getLabels()); - } - if (state_ != flyteidl.admin.ProjectOuterClass.Project.ProjectState.ACTIVE.getNumber()) { - output.writeEnum(6, state_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - for (int i = 0; i < domains_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, domains_.get(i)); - } - if (!getDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); - } - if (labels_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getLabels()); - } - if (state_ != flyteidl.admin.ProjectOuterClass.Project.ProjectState.ACTIVE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectOuterClass.Project)) { - return super.equals(obj); - } - flyteidl.admin.ProjectOuterClass.Project other = (flyteidl.admin.ProjectOuterClass.Project) obj; - - if (!getId() - .equals(other.getId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getDomainsList() - .equals(other.getDomainsList())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (hasLabels() != other.hasLabels()) return false; - if (hasLabels()) { - if (!getLabels() - .equals(other.getLabels())) return false; - } - if (state_ != other.state_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getDomainsCount() > 0) { - hash = (37 * hash) + DOMAINS_FIELD_NUMBER; - hash = (53 * hash) + getDomainsList().hashCode(); - } - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (hasLabels()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + getLabels().hashCode(); - } - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Project parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Project parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Project parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectOuterClass.Project 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; - } - /** - *
-     * Top-level namespace used to classify different entities like workflows and executions.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Project} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Project) - flyteidl.admin.ProjectOuterClass.ProjectOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Project_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Project_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.Project.class, flyteidl.admin.ProjectOuterClass.Project.Builder.class); - } - - // Construct using flyteidl.admin.ProjectOuterClass.Project.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getDomainsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - - name_ = ""; - - if (domainsBuilder_ == null) { - domains_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - domainsBuilder_.clear(); - } - description_ = ""; - - if (labelsBuilder_ == null) { - labels_ = null; - } else { - labels_ = null; - labelsBuilder_ = null; - } - state_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Project_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Project getDefaultInstanceForType() { - return flyteidl.admin.ProjectOuterClass.Project.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Project build() { - flyteidl.admin.ProjectOuterClass.Project result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Project buildPartial() { - flyteidl.admin.ProjectOuterClass.Project result = new flyteidl.admin.ProjectOuterClass.Project(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.id_ = id_; - result.name_ = name_; - if (domainsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - domains_ = java.util.Collections.unmodifiableList(domains_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.domains_ = domains_; - } else { - result.domains_ = domainsBuilder_.build(); - } - result.description_ = description_; - if (labelsBuilder_ == null) { - result.labels_ = labels_; - } else { - result.labels_ = labelsBuilder_.build(); - } - result.state_ = state_; - result.org_ = org_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectOuterClass.Project) { - return mergeFrom((flyteidl.admin.ProjectOuterClass.Project)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectOuterClass.Project other) { - if (other == flyteidl.admin.ProjectOuterClass.Project.getDefaultInstance()) return this; - if (!other.getId().isEmpty()) { - id_ = other.id_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (domainsBuilder_ == null) { - if (!other.domains_.isEmpty()) { - if (domains_.isEmpty()) { - domains_ = other.domains_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureDomainsIsMutable(); - domains_.addAll(other.domains_); - } - onChanged(); - } - } else { - if (!other.domains_.isEmpty()) { - if (domainsBuilder_.isEmpty()) { - domainsBuilder_.dispose(); - domainsBuilder_ = null; - domains_ = other.domains_; - bitField0_ = (bitField0_ & ~0x00000004); - domainsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDomainsFieldBuilder() : null; - } else { - domainsBuilder_.addAllMessages(other.domains_); - } - } - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - if (other.hasLabels()) { - mergeLabels(other.getLabels()); - } - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectOuterClass.Project parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectOuterClass.Project) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object id_ = ""; - /** - *
-       * Globally unique project name.
-       * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Globally unique project name.
-       * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Globally unique project name.
-       * 
- * - * string id = 1; - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - id_ = value; - onChanged(); - return this; - } - /** - *
-       * Globally unique project name.
-       * 
- * - * string id = 1; - */ - public Builder clearId() { - - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - *
-       * Globally unique project name.
-       * 
- * - * string id = 1; - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * Display name.
-       * 
- * - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.util.List domains_ = - java.util.Collections.emptyList(); - private void ensureDomainsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - domains_ = new java.util.ArrayList(domains_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Domain, flyteidl.admin.ProjectOuterClass.Domain.Builder, flyteidl.admin.ProjectOuterClass.DomainOrBuilder> domainsBuilder_; - - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public java.util.List getDomainsList() { - if (domainsBuilder_ == null) { - return java.util.Collections.unmodifiableList(domains_); - } else { - return domainsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public int getDomainsCount() { - if (domainsBuilder_ == null) { - return domains_.size(); - } else { - return domainsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public flyteidl.admin.ProjectOuterClass.Domain getDomains(int index) { - if (domainsBuilder_ == null) { - return domains_.get(index); - } else { - return domainsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder setDomains( - int index, flyteidl.admin.ProjectOuterClass.Domain value) { - if (domainsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDomainsIsMutable(); - domains_.set(index, value); - onChanged(); - } else { - domainsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder setDomains( - int index, flyteidl.admin.ProjectOuterClass.Domain.Builder builderForValue) { - if (domainsBuilder_ == null) { - ensureDomainsIsMutable(); - domains_.set(index, builderForValue.build()); - onChanged(); - } else { - domainsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder addDomains(flyteidl.admin.ProjectOuterClass.Domain value) { - if (domainsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDomainsIsMutable(); - domains_.add(value); - onChanged(); - } else { - domainsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder addDomains( - int index, flyteidl.admin.ProjectOuterClass.Domain value) { - if (domainsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDomainsIsMutable(); - domains_.add(index, value); - onChanged(); - } else { - domainsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder addDomains( - flyteidl.admin.ProjectOuterClass.Domain.Builder builderForValue) { - if (domainsBuilder_ == null) { - ensureDomainsIsMutable(); - domains_.add(builderForValue.build()); - onChanged(); - } else { - domainsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder addDomains( - int index, flyteidl.admin.ProjectOuterClass.Domain.Builder builderForValue) { - if (domainsBuilder_ == null) { - ensureDomainsIsMutable(); - domains_.add(index, builderForValue.build()); - onChanged(); - } else { - domainsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder addAllDomains( - java.lang.Iterable values) { - if (domainsBuilder_ == null) { - ensureDomainsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, domains_); - onChanged(); - } else { - domainsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder clearDomains() { - if (domainsBuilder_ == null) { - domains_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - domainsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public Builder removeDomains(int index) { - if (domainsBuilder_ == null) { - ensureDomainsIsMutable(); - domains_.remove(index); - onChanged(); - } else { - domainsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public flyteidl.admin.ProjectOuterClass.Domain.Builder getDomainsBuilder( - int index) { - return getDomainsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public flyteidl.admin.ProjectOuterClass.DomainOrBuilder getDomainsOrBuilder( - int index) { - if (domainsBuilder_ == null) { - return domains_.get(index); } else { - return domainsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public java.util.List - getDomainsOrBuilderList() { - if (domainsBuilder_ != null) { - return domainsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(domains_); - } - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public flyteidl.admin.ProjectOuterClass.Domain.Builder addDomainsBuilder() { - return getDomainsFieldBuilder().addBuilder( - flyteidl.admin.ProjectOuterClass.Domain.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public flyteidl.admin.ProjectOuterClass.Domain.Builder addDomainsBuilder( - int index) { - return getDomainsFieldBuilder().addBuilder( - index, flyteidl.admin.ProjectOuterClass.Domain.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Domain domains = 3; - */ - public java.util.List - getDomainsBuilderList() { - return getDomainsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Domain, flyteidl.admin.ProjectOuterClass.Domain.Builder, flyteidl.admin.ProjectOuterClass.DomainOrBuilder> - getDomainsFieldBuilder() { - if (domainsBuilder_ == null) { - domainsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Domain, flyteidl.admin.ProjectOuterClass.Domain.Builder, flyteidl.admin.ProjectOuterClass.DomainOrBuilder>( - domains_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - domains_ = null; - } - return domainsBuilder_; - } - - private java.lang.Object description_ = ""; - /** - * string description = 4; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string description = 4; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string description = 4; - */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - description_ = value; - onChanged(); - return this; - } - /** - * string description = 4; - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - * string description = 4; - */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Labels labels_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> labelsBuilder_; - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public boolean hasLabels() { - return labelsBuilder_ != null || labels_ != null; - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public flyteidl.admin.Common.Labels getLabels() { - if (labelsBuilder_ == null) { - return labels_ == null ? flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } else { - return labelsBuilder_.getMessage(); - } - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public Builder setLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - labels_ = value; - onChanged(); - } else { - labelsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public Builder setLabels( - flyteidl.admin.Common.Labels.Builder builderForValue) { - if (labelsBuilder_ == null) { - labels_ = builderForValue.build(); - onChanged(); - } else { - labelsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public Builder mergeLabels(flyteidl.admin.Common.Labels value) { - if (labelsBuilder_ == null) { - if (labels_ != null) { - labels_ = - flyteidl.admin.Common.Labels.newBuilder(labels_).mergeFrom(value).buildPartial(); - } else { - labels_ = value; - } - onChanged(); - } else { - labelsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public Builder clearLabels() { - if (labelsBuilder_ == null) { - labels_ = null; - onChanged(); - } else { - labels_ = null; - labelsBuilder_ = null; - } - - return this; - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public flyteidl.admin.Common.Labels.Builder getLabelsBuilder() { - - onChanged(); - return getLabelsFieldBuilder().getBuilder(); - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - public flyteidl.admin.Common.LabelsOrBuilder getLabelsOrBuilder() { - if (labelsBuilder_ != null) { - return labelsBuilder_.getMessageOrBuilder(); - } else { - return labels_ == null ? - flyteidl.admin.Common.Labels.getDefaultInstance() : labels_; - } - } - /** - *
-       * Leverage Labels from flyteidl.admin.common.proto to
-       * tag projects with ownership information.
-       * 
- * - * .flyteidl.admin.Labels labels = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder> - getLabelsFieldBuilder() { - if (labelsBuilder_ == null) { - labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Labels, flyteidl.admin.Common.Labels.Builder, flyteidl.admin.Common.LabelsOrBuilder>( - getLabels(), - getParentForChildren(), - isClean()); - labels_ = null; - } - return labelsBuilder_; - } - - private int state_ = 0; - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - public int getStateValue() { - return state_; - } - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - public flyteidl.admin.ProjectOuterClass.Project.ProjectState getState() { - @SuppressWarnings("deprecation") - flyteidl.admin.ProjectOuterClass.Project.ProjectState result = flyteidl.admin.ProjectOuterClass.Project.ProjectState.valueOf(state_); - return result == null ? flyteidl.admin.ProjectOuterClass.Project.ProjectState.UNRECOGNIZED : result; - } - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - public Builder setState(flyteidl.admin.ProjectOuterClass.Project.ProjectState value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.admin.Project.ProjectState state = 6; - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 7; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Project) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Project) - private static final flyteidl.admin.ProjectOuterClass.Project DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectOuterClass.Project(); - } - - public static flyteidl.admin.ProjectOuterClass.Project getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Project parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Project(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Project getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Projects) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - java.util.List - getProjectsList(); - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - flyteidl.admin.ProjectOuterClass.Project getProjects(int index); - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - int getProjectsCount(); - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - java.util.List - getProjectsOrBuilderList(); - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - flyteidl.admin.ProjectOuterClass.ProjectOrBuilder getProjectsOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Represents a list of projects.
-   * See :ref:`ref_flyteidl.admin.Project` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.Projects} - */ - public static final class Projects extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Projects) - ProjectsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Projects.newBuilder() to construct. - private Projects(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Projects() { - projects_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Projects( - 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)) { - projects_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - projects_.add( - input.readMessage(flyteidl.admin.ProjectOuterClass.Project.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - projects_ = java.util.Collections.unmodifiableList(projects_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Projects_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Projects_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.Projects.class, flyteidl.admin.ProjectOuterClass.Projects.Builder.class); - } - - private int bitField0_; - public static final int PROJECTS_FIELD_NUMBER = 1; - private java.util.List projects_; - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public java.util.List getProjectsList() { - return projects_; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public java.util.List - getProjectsOrBuilderList() { - return projects_; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public int getProjectsCount() { - return projects_.size(); - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project getProjects(int index) { - return projects_.get(index); - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public flyteidl.admin.ProjectOuterClass.ProjectOrBuilder getProjectsOrBuilder( - int index) { - return projects_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < projects_.size(); i++) { - output.writeMessage(1, projects_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < projects_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, projects_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectOuterClass.Projects)) { - return super.equals(obj); - } - flyteidl.admin.ProjectOuterClass.Projects other = (flyteidl.admin.ProjectOuterClass.Projects) obj; - - if (!getProjectsList() - .equals(other.getProjectsList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getProjectsCount() > 0) { - hash = (37 * hash) + PROJECTS_FIELD_NUMBER; - hash = (53 * hash) + getProjectsList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.Projects parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectOuterClass.Projects 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; - } - /** - *
-     * Represents a list of projects.
-     * See :ref:`ref_flyteidl.admin.Project` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.Projects} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Projects) - flyteidl.admin.ProjectOuterClass.ProjectsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Projects_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Projects_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.Projects.class, flyteidl.admin.ProjectOuterClass.Projects.Builder.class); - } - - // Construct using flyteidl.admin.ProjectOuterClass.Projects.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getProjectsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (projectsBuilder_ == null) { - projects_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - projectsBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_Projects_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Projects getDefaultInstanceForType() { - return flyteidl.admin.ProjectOuterClass.Projects.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Projects build() { - flyteidl.admin.ProjectOuterClass.Projects result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Projects buildPartial() { - flyteidl.admin.ProjectOuterClass.Projects result = new flyteidl.admin.ProjectOuterClass.Projects(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (projectsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - projects_ = java.util.Collections.unmodifiableList(projects_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.projects_ = projects_; - } else { - result.projects_ = projectsBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectOuterClass.Projects) { - return mergeFrom((flyteidl.admin.ProjectOuterClass.Projects)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectOuterClass.Projects other) { - if (other == flyteidl.admin.ProjectOuterClass.Projects.getDefaultInstance()) return this; - if (projectsBuilder_ == null) { - if (!other.projects_.isEmpty()) { - if (projects_.isEmpty()) { - projects_ = other.projects_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureProjectsIsMutable(); - projects_.addAll(other.projects_); - } - onChanged(); - } - } else { - if (!other.projects_.isEmpty()) { - if (projectsBuilder_.isEmpty()) { - projectsBuilder_.dispose(); - projectsBuilder_ = null; - projects_ = other.projects_; - bitField0_ = (bitField0_ & ~0x00000001); - projectsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getProjectsFieldBuilder() : null; - } else { - projectsBuilder_.addAllMessages(other.projects_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectOuterClass.Projects parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectOuterClass.Projects) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List projects_ = - java.util.Collections.emptyList(); - private void ensureProjectsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - projects_ = new java.util.ArrayList(projects_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Project, flyteidl.admin.ProjectOuterClass.Project.Builder, flyteidl.admin.ProjectOuterClass.ProjectOrBuilder> projectsBuilder_; - - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public java.util.List getProjectsList() { - if (projectsBuilder_ == null) { - return java.util.Collections.unmodifiableList(projects_); - } else { - return projectsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public int getProjectsCount() { - if (projectsBuilder_ == null) { - return projects_.size(); - } else { - return projectsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project getProjects(int index) { - if (projectsBuilder_ == null) { - return projects_.get(index); - } else { - return projectsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder setProjects( - int index, flyteidl.admin.ProjectOuterClass.Project value) { - if (projectsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureProjectsIsMutable(); - projects_.set(index, value); - onChanged(); - } else { - projectsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder setProjects( - int index, flyteidl.admin.ProjectOuterClass.Project.Builder builderForValue) { - if (projectsBuilder_ == null) { - ensureProjectsIsMutable(); - projects_.set(index, builderForValue.build()); - onChanged(); - } else { - projectsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder addProjects(flyteidl.admin.ProjectOuterClass.Project value) { - if (projectsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureProjectsIsMutable(); - projects_.add(value); - onChanged(); - } else { - projectsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder addProjects( - int index, flyteidl.admin.ProjectOuterClass.Project value) { - if (projectsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureProjectsIsMutable(); - projects_.add(index, value); - onChanged(); - } else { - projectsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder addProjects( - flyteidl.admin.ProjectOuterClass.Project.Builder builderForValue) { - if (projectsBuilder_ == null) { - ensureProjectsIsMutable(); - projects_.add(builderForValue.build()); - onChanged(); - } else { - projectsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder addProjects( - int index, flyteidl.admin.ProjectOuterClass.Project.Builder builderForValue) { - if (projectsBuilder_ == null) { - ensureProjectsIsMutable(); - projects_.add(index, builderForValue.build()); - onChanged(); - } else { - projectsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder addAllProjects( - java.lang.Iterable values) { - if (projectsBuilder_ == null) { - ensureProjectsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, projects_); - onChanged(); - } else { - projectsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder clearProjects() { - if (projectsBuilder_ == null) { - projects_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - projectsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public Builder removeProjects(int index) { - if (projectsBuilder_ == null) { - ensureProjectsIsMutable(); - projects_.remove(index); - onChanged(); - } else { - projectsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project.Builder getProjectsBuilder( - int index) { - return getProjectsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public flyteidl.admin.ProjectOuterClass.ProjectOrBuilder getProjectsOrBuilder( - int index) { - if (projectsBuilder_ == null) { - return projects_.get(index); } else { - return projectsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public java.util.List - getProjectsOrBuilderList() { - if (projectsBuilder_ != null) { - return projectsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(projects_); - } - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project.Builder addProjectsBuilder() { - return getProjectsFieldBuilder().addBuilder( - flyteidl.admin.ProjectOuterClass.Project.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project.Builder addProjectsBuilder( - int index) { - return getProjectsFieldBuilder().addBuilder( - index, flyteidl.admin.ProjectOuterClass.Project.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.Project projects = 1; - */ - public java.util.List - getProjectsBuilderList() { - return getProjectsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Project, flyteidl.admin.ProjectOuterClass.Project.Builder, flyteidl.admin.ProjectOuterClass.ProjectOrBuilder> - getProjectsFieldBuilder() { - if (projectsBuilder_ == null) { - projectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Project, flyteidl.admin.ProjectOuterClass.Project.Builder, flyteidl.admin.ProjectOuterClass.ProjectOrBuilder>( - projects_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - projects_ = null; - } - return projectsBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Projects) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Projects) - private static final flyteidl.admin.ProjectOuterClass.Projects DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectOuterClass.Projects(); - } - - public static flyteidl.admin.ProjectOuterClass.Projects getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Projects parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Projects(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.Projects getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates the number of projects to be returned.
-     * +required
-     * 
- * - * uint32 limit = 1; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 3; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 3; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 5; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 5; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to retrieve a list of projects matching specified filters. 
-   * See :ref:`ref_flyteidl.admin.Project` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectListRequest} - */ - public static final class ProjectListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectListRequest) - ProjectListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectListRequest.newBuilder() to construct. - private ProjectListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectListRequest() { - token_ = ""; - filters_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectListRequest( - 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: { - - limit_ = input.readUInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 34: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectListRequest.class, flyteidl.admin.ProjectOuterClass.ProjectListRequest.Builder.class); - } - - public static final int LIMIT_FIELD_NUMBER = 1; - private int limit_; - /** - *
-     * Indicates the number of projects to be returned.
-     * +required
-     * 
- * - * uint32 limit = 1; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTERS_FIELD_NUMBER = 3; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 3; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 3; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 4; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - public static final int ORG_FIELD_NUMBER = 5; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org filter applied to list project requests.
-     * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = 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 (limit_ != 0) { - output.writeUInt32(1, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filters_); - } - if (sortBy_ != null) { - output.writeMessage(4, getSortBy()); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filters_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getSortBy()); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectOuterClass.ProjectListRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectOuterClass.ProjectListRequest other = (flyteidl.admin.ProjectOuterClass.ProjectListRequest) obj; - - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!getFilters() - .equals(other.getFilters())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) return false; - } - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectOuterClass.ProjectListRequest 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 to retrieve a list of projects matching specified filters. 
-     * See :ref:`ref_flyteidl.admin.Project` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectListRequest) - flyteidl.admin.ProjectOuterClass.ProjectListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectListRequest.class, flyteidl.admin.ProjectOuterClass.ProjectListRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectOuterClass.ProjectListRequest.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(); - limit_ = 0; - - token_ = ""; - - filters_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectListRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectOuterClass.ProjectListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectListRequest build() { - flyteidl.admin.ProjectOuterClass.ProjectListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectListRequest buildPartial() { - flyteidl.admin.ProjectOuterClass.ProjectListRequest result = new flyteidl.admin.ProjectOuterClass.ProjectListRequest(this); - result.limit_ = limit_; - result.token_ = token_; - result.filters_ = filters_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectOuterClass.ProjectListRequest) { - return mergeFrom((flyteidl.admin.ProjectOuterClass.ProjectListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectOuterClass.ProjectListRequest other) { - if (other == flyteidl.admin.ProjectOuterClass.ProjectListRequest.getDefaultInstance()) return this; - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectOuterClass.ProjectListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectOuterClass.ProjectListRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int limit_ ; - /** - *
-       * Indicates the number of projects to be returned.
-       * +required
-       * 
- * - * uint32 limit = 1; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of projects to be returned.
-       * +required
-       * 
- * - * uint32 limit = 1; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of projects to be returned.
-       * +required
-       * 
- * - * uint32 limit = 1; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, this server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 3; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 3; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 3; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 3; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 3; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 5; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 5; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org filter applied to list project requests.
-       * 
- * - * string org = 5; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectListRequest) - private static final flyteidl.admin.ProjectOuterClass.ProjectListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectOuterClass.ProjectListRequest(); - } - - public static flyteidl.admin.ProjectOuterClass.ProjectListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectRegisterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectRegisterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.Project project = 1; - */ - boolean hasProject(); - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.Project project = 1; - */ - flyteidl.admin.ProjectOuterClass.Project getProject(); - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.Project project = 1; - */ - flyteidl.admin.ProjectOuterClass.ProjectOrBuilder getProjectOrBuilder(); - } - /** - *
-   * Adds a new user-project within the Flyte deployment.
-   * See :ref:`ref_flyteidl.admin.Project` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectRegisterRequest} - */ - public static final class ProjectRegisterRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectRegisterRequest) - ProjectRegisterRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectRegisterRequest.newBuilder() to construct. - private ProjectRegisterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectRegisterRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectRegisterRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.ProjectOuterClass.Project.Builder subBuilder = null; - if (project_ != null) { - subBuilder = project_.toBuilder(); - } - project_ = input.readMessage(flyteidl.admin.ProjectOuterClass.Project.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(project_); - project_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest.class, flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private flyteidl.admin.ProjectOuterClass.Project project_; - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.Project project = 1; - */ - public boolean hasProject() { - return project_ != null; - } - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.Project project = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project getProject() { - return project_ == null ? flyteidl.admin.ProjectOuterClass.Project.getDefaultInstance() : project_; - } - /** - *
-     * +required
-     * 
- * - * .flyteidl.admin.Project project = 1; - */ - public flyteidl.admin.ProjectOuterClass.ProjectOrBuilder getProjectOrBuilder() { - return getProject(); - } - - 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 (project_ != null) { - output.writeMessage(1, getProject()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (project_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProject()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest)) { - return super.equals(obj); - } - flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest other = (flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest) obj; - - if (hasProject() != other.hasProject()) return false; - if (hasProject()) { - if (!getProject() - .equals(other.getProject())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasProject()) { - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest 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; - } - /** - *
-     * Adds a new user-project within the Flyte deployment.
-     * See :ref:`ref_flyteidl.admin.Project` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectRegisterRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectRegisterRequest) - flyteidl.admin.ProjectOuterClass.ProjectRegisterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest.class, flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest.Builder.class); - } - - // Construct using flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest.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 (projectBuilder_ == null) { - project_ = null; - } else { - project_ = null; - projectBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest getDefaultInstanceForType() { - return flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest build() { - flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest buildPartial() { - flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest result = new flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest(this); - if (projectBuilder_ == null) { - result.project_ = project_; - } else { - result.project_ = projectBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest) { - return mergeFrom((flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest other) { - if (other == flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest.getDefaultInstance()) return this; - if (other.hasProject()) { - mergeProject(other.getProject()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.ProjectOuterClass.Project project_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Project, flyteidl.admin.ProjectOuterClass.Project.Builder, flyteidl.admin.ProjectOuterClass.ProjectOrBuilder> projectBuilder_; - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public boolean hasProject() { - return projectBuilder_ != null || project_ != null; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project getProject() { - if (projectBuilder_ == null) { - return project_ == null ? flyteidl.admin.ProjectOuterClass.Project.getDefaultInstance() : project_; - } else { - return projectBuilder_.getMessage(); - } - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public Builder setProject(flyteidl.admin.ProjectOuterClass.Project value) { - if (projectBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - project_ = value; - onChanged(); - } else { - projectBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public Builder setProject( - flyteidl.admin.ProjectOuterClass.Project.Builder builderForValue) { - if (projectBuilder_ == null) { - project_ = builderForValue.build(); - onChanged(); - } else { - projectBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public Builder mergeProject(flyteidl.admin.ProjectOuterClass.Project value) { - if (projectBuilder_ == null) { - if (project_ != null) { - project_ = - flyteidl.admin.ProjectOuterClass.Project.newBuilder(project_).mergeFrom(value).buildPartial(); - } else { - project_ = value; - } - onChanged(); - } else { - projectBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public Builder clearProject() { - if (projectBuilder_ == null) { - project_ = null; - onChanged(); - } else { - project_ = null; - projectBuilder_ = null; - } - - return this; - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public flyteidl.admin.ProjectOuterClass.Project.Builder getProjectBuilder() { - - onChanged(); - return getProjectFieldBuilder().getBuilder(); - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - public flyteidl.admin.ProjectOuterClass.ProjectOrBuilder getProjectOrBuilder() { - if (projectBuilder_ != null) { - return projectBuilder_.getMessageOrBuilder(); - } else { - return project_ == null ? - flyteidl.admin.ProjectOuterClass.Project.getDefaultInstance() : project_; - } - } - /** - *
-       * +required
-       * 
- * - * .flyteidl.admin.Project project = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Project, flyteidl.admin.ProjectOuterClass.Project.Builder, flyteidl.admin.ProjectOuterClass.ProjectOrBuilder> - getProjectFieldBuilder() { - if (projectBuilder_ == null) { - projectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ProjectOuterClass.Project, flyteidl.admin.ProjectOuterClass.Project.Builder, flyteidl.admin.ProjectOuterClass.ProjectOrBuilder>( - getProject(), - getParentForChildren(), - isClean()); - project_ = null; - } - return projectBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectRegisterRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectRegisterRequest) - private static final flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest(); - } - - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectRegisterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectRegisterRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectRegisterResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectRegisterResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be updated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectRegisterResponse} - */ - public static final class ProjectRegisterResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectRegisterResponse) - ProjectRegisterResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectRegisterResponse.newBuilder() to construct. - private ProjectRegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectRegisterResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectRegisterResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse.class, flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse other = (flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be updated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectRegisterResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectRegisterResponse) - flyteidl.admin.ProjectOuterClass.ProjectRegisterResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse.class, flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectRegisterResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse build() { - flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse buildPartial() { - flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse result = new flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse) { - return mergeFrom((flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse other) { - if (other == flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectRegisterResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectRegisterResponse) - private static final flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse(); - } - - public static flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectRegisterResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectRegisterResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectRegisterResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProjectUpdateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectUpdateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be updated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.ProjectUpdateResponse} - */ - public static final class ProjectUpdateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectUpdateResponse) - ProjectUpdateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProjectUpdateResponse.newBuilder() to construct. - private ProjectUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProjectUpdateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProjectUpdateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse.class, flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse)) { - return super.equals(obj); - } - flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse other = (flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be updated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.ProjectUpdateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectUpdateResponse) - flyteidl.admin.ProjectOuterClass.ProjectUpdateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse.class, flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse.Builder.class); - } - - // Construct using flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ProjectOuterClass.internal_static_flyteidl_admin_ProjectUpdateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse getDefaultInstanceForType() { - return flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse build() { - flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse buildPartial() { - flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse result = new flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse) { - return mergeFrom((flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse other) { - if (other == flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectUpdateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectUpdateResponse) - private static final flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse(); - } - - public static flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectUpdateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectUpdateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ProjectOuterClass.ProjectUpdateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Domain_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Domain_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Project_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Project_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Projects_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Projects_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectRegisterRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectRegisterRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectRegisterResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectRegisterResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectUpdateResponse_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/admin/project.proto\022\016flyteidl" + - ".admin\032\033flyteidl/admin/common.proto\"\"\n\006D" + - "omain\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\"\213\002\n\007Proj" + - "ect\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\'\n\007domains" + - "\030\003 \003(\0132\026.flyteidl.admin.Domain\022\023\n\013descri" + - "ption\030\004 \001(\t\022&\n\006labels\030\005 \001(\0132\026.flyteidl.a" + - "dmin.Labels\0223\n\005state\030\006 \001(\0162$.flyteidl.ad" + - "min.Project.ProjectState\022\013\n\003org\030\007 \001(\t\">\n" + - "\014ProjectState\022\n\n\006ACTIVE\020\000\022\014\n\010ARCHIVED\020\001\022" + - "\024\n\020SYSTEM_GENERATED\020\002\"D\n\010Projects\022)\n\010pro" + - "jects\030\001 \003(\0132\027.flyteidl.admin.Project\022\r\n\005" + - "token\030\002 \001(\t\"w\n\022ProjectListRequest\022\r\n\005lim" + - "it\030\001 \001(\r\022\r\n\005token\030\002 \001(\t\022\017\n\007filters\030\003 \001(\t" + - "\022%\n\007sort_by\030\004 \001(\0132\024.flyteidl.admin.Sort\022" + - "\013\n\003org\030\005 \001(\t\"B\n\026ProjectRegisterRequest\022(" + - "\n\007project\030\001 \001(\0132\027.flyteidl.admin.Project" + - "\"\031\n\027ProjectRegisterResponse\"\027\n\025ProjectUp" + - "dateResponseB=Z;github.com/flyteorg/flyt" + - "e/flyteidl/gen/pb-go/flyteidl/adminb\006pro" + - "to3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.Common.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_Domain_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_Domain_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Domain_descriptor, - new java.lang.String[] { "Id", "Name", }); - internal_static_flyteidl_admin_Project_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_Project_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Project_descriptor, - new java.lang.String[] { "Id", "Name", "Domains", "Description", "Labels", "State", "Org", }); - internal_static_flyteidl_admin_Projects_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_Projects_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Projects_descriptor, - new java.lang.String[] { "Projects", "Token", }); - internal_static_flyteidl_admin_ProjectListRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_ProjectListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectListRequest_descriptor, - new java.lang.String[] { "Limit", "Token", "Filters", "SortBy", "Org", }); - internal_static_flyteidl_admin_ProjectRegisterRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_ProjectRegisterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectRegisterRequest_descriptor, - new java.lang.String[] { "Project", }); - internal_static_flyteidl_admin_ProjectRegisterResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_ProjectRegisterResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectRegisterResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_ProjectUpdateResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_ProjectUpdateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectUpdateResponse_descriptor, - new java.lang.String[] { }); - flyteidl.admin.Common.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ScheduleOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ScheduleOuterClass.java deleted file mode 100644 index d0ab80c575..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/ScheduleOuterClass.java +++ /dev/null @@ -1,2872 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/schedule.proto - -package flyteidl.admin; - -public final class ScheduleOuterClass { - private ScheduleOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * Represents a frequency at which to run a schedule.
-   * 
- * - * Protobuf enum {@code flyteidl.admin.FixedRateUnit} - */ - public enum FixedRateUnit - implements com.google.protobuf.ProtocolMessageEnum { - /** - * MINUTE = 0; - */ - MINUTE(0), - /** - * HOUR = 1; - */ - HOUR(1), - /** - * DAY = 2; - */ - DAY(2), - UNRECOGNIZED(-1), - ; - - /** - * MINUTE = 0; - */ - public static final int MINUTE_VALUE = 0; - /** - * HOUR = 1; - */ - public static final int HOUR_VALUE = 1; - /** - * DAY = 2; - */ - public static final int DAY_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static FixedRateUnit valueOf(int value) { - return forNumber(value); - } - - public static FixedRateUnit forNumber(int value) { - switch (value) { - case 0: return MINUTE; - case 1: return HOUR; - case 2: return DAY; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - FixedRateUnit> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FixedRateUnit findValueByNumber(int number) { - return FixedRateUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return flyteidl.admin.ScheduleOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final FixedRateUnit[] VALUES = values(); - - public static FixedRateUnit 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 FixedRateUnit(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.admin.FixedRateUnit) - } - - public interface FixedRateOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.FixedRate) - com.google.protobuf.MessageOrBuilder { - - /** - * uint32 value = 1; - */ - int getValue(); - - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - int getUnitValue(); - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - flyteidl.admin.ScheduleOuterClass.FixedRateUnit getUnit(); - } - /** - *
-   * Option for schedules run at a certain frequency e.g. every 2 minutes.
-   * 
- * - * Protobuf type {@code flyteidl.admin.FixedRate} - */ - public static final class FixedRate extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.FixedRate) - FixedRateOrBuilder { - private static final long serialVersionUID = 0L; - // Use FixedRate.newBuilder() to construct. - private FixedRate(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private FixedRate() { - unit_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FixedRate( - 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: { - - value_ = input.readUInt32(); - break; - } - case 16: { - int rawValue = input.readEnum(); - - unit_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_FixedRate_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_FixedRate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ScheduleOuterClass.FixedRate.class, flyteidl.admin.ScheduleOuterClass.FixedRate.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private int value_; - /** - * uint32 value = 1; - */ - public int getValue() { - return value_; - } - - public static final int UNIT_FIELD_NUMBER = 2; - private int unit_; - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - public int getUnitValue() { - return unit_; - } - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - public flyteidl.admin.ScheduleOuterClass.FixedRateUnit getUnit() { - @SuppressWarnings("deprecation") - flyteidl.admin.ScheduleOuterClass.FixedRateUnit result = flyteidl.admin.ScheduleOuterClass.FixedRateUnit.valueOf(unit_); - return result == null ? flyteidl.admin.ScheduleOuterClass.FixedRateUnit.UNRECOGNIZED : result; - } - - 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 (value_ != 0) { - output.writeUInt32(1, value_); - } - if (unit_ != flyteidl.admin.ScheduleOuterClass.FixedRateUnit.MINUTE.getNumber()) { - output.writeEnum(2, unit_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (value_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, value_); - } - if (unit_ != flyteidl.admin.ScheduleOuterClass.FixedRateUnit.MINUTE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, unit_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ScheduleOuterClass.FixedRate)) { - return super.equals(obj); - } - flyteidl.admin.ScheduleOuterClass.FixedRate other = (flyteidl.admin.ScheduleOuterClass.FixedRate) obj; - - if (getValue() - != other.getValue()) return false; - if (unit_ != other.unit_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue(); - hash = (37 * hash) + UNIT_FIELD_NUMBER; - hash = (53 * hash) + unit_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.FixedRate parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ScheduleOuterClass.FixedRate 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; - } - /** - *
-     * Option for schedules run at a certain frequency e.g. every 2 minutes.
-     * 
- * - * Protobuf type {@code flyteidl.admin.FixedRate} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.FixedRate) - flyteidl.admin.ScheduleOuterClass.FixedRateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_FixedRate_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_FixedRate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ScheduleOuterClass.FixedRate.class, flyteidl.admin.ScheduleOuterClass.FixedRate.Builder.class); - } - - // Construct using flyteidl.admin.ScheduleOuterClass.FixedRate.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(); - value_ = 0; - - unit_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_FixedRate_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.FixedRate getDefaultInstanceForType() { - return flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.FixedRate build() { - flyteidl.admin.ScheduleOuterClass.FixedRate result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.FixedRate buildPartial() { - flyteidl.admin.ScheduleOuterClass.FixedRate result = new flyteidl.admin.ScheduleOuterClass.FixedRate(this); - result.value_ = value_; - result.unit_ = unit_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ScheduleOuterClass.FixedRate) { - return mergeFrom((flyteidl.admin.ScheduleOuterClass.FixedRate)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ScheduleOuterClass.FixedRate other) { - if (other == flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance()) return this; - if (other.getValue() != 0) { - setValue(other.getValue()); - } - if (other.unit_ != 0) { - setUnitValue(other.getUnitValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ScheduleOuterClass.FixedRate parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ScheduleOuterClass.FixedRate) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int value_ ; - /** - * uint32 value = 1; - */ - public int getValue() { - return value_; - } - /** - * uint32 value = 1; - */ - public Builder setValue(int value) { - - value_ = value; - onChanged(); - return this; - } - /** - * uint32 value = 1; - */ - public Builder clearValue() { - - value_ = 0; - onChanged(); - return this; - } - - private int unit_ = 0; - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - public int getUnitValue() { - return unit_; - } - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - public Builder setUnitValue(int value) { - unit_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - public flyteidl.admin.ScheduleOuterClass.FixedRateUnit getUnit() { - @SuppressWarnings("deprecation") - flyteidl.admin.ScheduleOuterClass.FixedRateUnit result = flyteidl.admin.ScheduleOuterClass.FixedRateUnit.valueOf(unit_); - return result == null ? flyteidl.admin.ScheduleOuterClass.FixedRateUnit.UNRECOGNIZED : result; - } - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - public Builder setUnit(flyteidl.admin.ScheduleOuterClass.FixedRateUnit value) { - if (value == null) { - throw new NullPointerException(); - } - - unit_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.admin.FixedRateUnit unit = 2; - */ - public Builder clearUnit() { - - unit_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.FixedRate) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.FixedRate) - private static final flyteidl.admin.ScheduleOuterClass.FixedRate DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ScheduleOuterClass.FixedRate(); - } - - public static flyteidl.admin.ScheduleOuterClass.FixedRate getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FixedRate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FixedRate(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.FixedRate getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CronScheduleOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.CronSchedule) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-     * Also supports nonstandard predefined scheduling definitions
-     * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-     * except @reboot
-     * 
- * - * string schedule = 1; - */ - java.lang.String getSchedule(); - /** - *
-     * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-     * Also supports nonstandard predefined scheduling definitions
-     * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-     * except @reboot
-     * 
- * - * string schedule = 1; - */ - com.google.protobuf.ByteString - getScheduleBytes(); - - /** - *
-     * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-     * 
- * - * string offset = 2; - */ - java.lang.String getOffset(); - /** - *
-     * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-     * 
- * - * string offset = 2; - */ - com.google.protobuf.ByteString - getOffsetBytes(); - } - /** - *
-   * Options for schedules to run according to a cron expression.
-   * 
- * - * Protobuf type {@code flyteidl.admin.CronSchedule} - */ - public static final class CronSchedule extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.CronSchedule) - CronScheduleOrBuilder { - private static final long serialVersionUID = 0L; - // Use CronSchedule.newBuilder() to construct. - private CronSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CronSchedule() { - schedule_ = ""; - offset_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CronSchedule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - schedule_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - offset_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_CronSchedule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_CronSchedule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ScheduleOuterClass.CronSchedule.class, flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder.class); - } - - public static final int SCHEDULE_FIELD_NUMBER = 1; - private volatile java.lang.Object schedule_; - /** - *
-     * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-     * Also supports nonstandard predefined scheduling definitions
-     * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-     * except @reboot
-     * 
- * - * string schedule = 1; - */ - public java.lang.String getSchedule() { - java.lang.Object ref = schedule_; - 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(); - schedule_ = s; - return s; - } - } - /** - *
-     * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-     * Also supports nonstandard predefined scheduling definitions
-     * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-     * except @reboot
-     * 
- * - * string schedule = 1; - */ - public com.google.protobuf.ByteString - getScheduleBytes() { - java.lang.Object ref = schedule_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - schedule_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OFFSET_FIELD_NUMBER = 2; - private volatile java.lang.Object offset_; - /** - *
-     * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-     * 
- * - * string offset = 2; - */ - public java.lang.String getOffset() { - java.lang.Object ref = offset_; - 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(); - offset_ = s; - return s; - } - } - /** - *
-     * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-     * 
- * - * string offset = 2; - */ - public com.google.protobuf.ByteString - getOffsetBytes() { - java.lang.Object ref = offset_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - offset_ = 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 (!getScheduleBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schedule_); - } - if (!getOffsetBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, offset_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getScheduleBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schedule_); - } - if (!getOffsetBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, offset_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ScheduleOuterClass.CronSchedule)) { - return super.equals(obj); - } - flyteidl.admin.ScheduleOuterClass.CronSchedule other = (flyteidl.admin.ScheduleOuterClass.CronSchedule) obj; - - if (!getSchedule() - .equals(other.getSchedule())) return false; - if (!getOffset() - .equals(other.getOffset())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; - hash = (53 * hash) + getSchedule().hashCode(); - hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + getOffset().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.CronSchedule parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ScheduleOuterClass.CronSchedule 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; - } - /** - *
-     * Options for schedules to run according to a cron expression.
-     * 
- * - * Protobuf type {@code flyteidl.admin.CronSchedule} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.CronSchedule) - flyteidl.admin.ScheduleOuterClass.CronScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_CronSchedule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_CronSchedule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ScheduleOuterClass.CronSchedule.class, flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder.class); - } - - // Construct using flyteidl.admin.ScheduleOuterClass.CronSchedule.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(); - schedule_ = ""; - - offset_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_CronSchedule_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.CronSchedule getDefaultInstanceForType() { - return flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.CronSchedule build() { - flyteidl.admin.ScheduleOuterClass.CronSchedule result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.CronSchedule buildPartial() { - flyteidl.admin.ScheduleOuterClass.CronSchedule result = new flyteidl.admin.ScheduleOuterClass.CronSchedule(this); - result.schedule_ = schedule_; - result.offset_ = offset_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ScheduleOuterClass.CronSchedule) { - return mergeFrom((flyteidl.admin.ScheduleOuterClass.CronSchedule)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ScheduleOuterClass.CronSchedule other) { - if (other == flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance()) return this; - if (!other.getSchedule().isEmpty()) { - schedule_ = other.schedule_; - onChanged(); - } - if (!other.getOffset().isEmpty()) { - offset_ = other.offset_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ScheduleOuterClass.CronSchedule parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ScheduleOuterClass.CronSchedule) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object schedule_ = ""; - /** - *
-       * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-       * Also supports nonstandard predefined scheduling definitions
-       * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-       * except @reboot
-       * 
- * - * string schedule = 1; - */ - public java.lang.String getSchedule() { - java.lang.Object ref = schedule_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schedule_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-       * Also supports nonstandard predefined scheduling definitions
-       * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-       * except @reboot
-       * 
- * - * string schedule = 1; - */ - public com.google.protobuf.ByteString - getScheduleBytes() { - java.lang.Object ref = schedule_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - schedule_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-       * Also supports nonstandard predefined scheduling definitions
-       * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-       * except @reboot
-       * 
- * - * string schedule = 1; - */ - public Builder setSchedule( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - schedule_ = value; - onChanged(); - return this; - } - /** - *
-       * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-       * Also supports nonstandard predefined scheduling definitions
-       * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-       * except @reboot
-       * 
- * - * string schedule = 1; - */ - public Builder clearSchedule() { - - schedule_ = getDefaultInstance().getSchedule(); - onChanged(); - return this; - } - /** - *
-       * Standard/default cron implementation as described by https://en.wikipedia.org/wiki/Cron#CRON_expression;
-       * Also supports nonstandard predefined scheduling definitions
-       * as described by https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
-       * except @reboot
-       * 
- * - * string schedule = 1; - */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - schedule_ = value; - onChanged(); - return this; - } - - private java.lang.Object offset_ = ""; - /** - *
-       * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-       * 
- * - * string offset = 2; - */ - public java.lang.String getOffset() { - java.lang.Object ref = offset_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - offset_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-       * 
- * - * string offset = 2; - */ - public com.google.protobuf.ByteString - getOffsetBytes() { - java.lang.Object ref = offset_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - offset_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-       * 
- * - * string offset = 2; - */ - public Builder setOffset( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - offset_ = value; - onChanged(); - return this; - } - /** - *
-       * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-       * 
- * - * string offset = 2; - */ - public Builder clearOffset() { - - offset_ = getDefaultInstance().getOffset(); - onChanged(); - return this; - } - /** - *
-       * ISO 8601 duration as described by https://en.wikipedia.org/wiki/ISO_8601#Durations
-       * 
- * - * string offset = 2; - */ - public Builder setOffsetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - offset_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.CronSchedule) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.CronSchedule) - private static final flyteidl.admin.ScheduleOuterClass.CronSchedule DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ScheduleOuterClass.CronSchedule(); - } - - public static flyteidl.admin.ScheduleOuterClass.CronSchedule getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CronSchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CronSchedule(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.CronSchedule getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ScheduleOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Schedule) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-     * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-     * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated java.lang.String getCronExpression(); - /** - *
-     * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-     * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-     * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getCronExpressionBytes(); - - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - boolean hasRate(); - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - flyteidl.admin.ScheduleOuterClass.FixedRate getRate(); - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - flyteidl.admin.ScheduleOuterClass.FixedRateOrBuilder getRateOrBuilder(); - - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - boolean hasCronSchedule(); - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - flyteidl.admin.ScheduleOuterClass.CronSchedule getCronSchedule(); - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - flyteidl.admin.ScheduleOuterClass.CronScheduleOrBuilder getCronScheduleOrBuilder(); - - /** - *
-     * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-     * 
- * - * string kickoff_time_input_arg = 3; - */ - java.lang.String getKickoffTimeInputArg(); - /** - *
-     * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-     * 
- * - * string kickoff_time_input_arg = 3; - */ - com.google.protobuf.ByteString - getKickoffTimeInputArgBytes(); - - public flyteidl.admin.ScheduleOuterClass.Schedule.ScheduleExpressionCase getScheduleExpressionCase(); - } - /** - *
-   * Defines complete set of information required to trigger an execution on a schedule.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Schedule} - */ - public static final class Schedule extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Schedule) - ScheduleOrBuilder { - private static final long serialVersionUID = 0L; - // Use Schedule.newBuilder() to construct. - private Schedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Schedule() { - kickoffTimeInputArg_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Schedule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - scheduleExpressionCase_ = 1; - scheduleExpression_ = s; - break; - } - case 18: { - flyteidl.admin.ScheduleOuterClass.FixedRate.Builder subBuilder = null; - if (scheduleExpressionCase_ == 2) { - subBuilder = ((flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_).toBuilder(); - } - scheduleExpression_ = - input.readMessage(flyteidl.admin.ScheduleOuterClass.FixedRate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_); - scheduleExpression_ = subBuilder.buildPartial(); - } - scheduleExpressionCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - kickoffTimeInputArg_ = s; - break; - } - case 34: { - flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder subBuilder = null; - if (scheduleExpressionCase_ == 4) { - subBuilder = ((flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_).toBuilder(); - } - scheduleExpression_ = - input.readMessage(flyteidl.admin.ScheduleOuterClass.CronSchedule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_); - scheduleExpression_ = subBuilder.buildPartial(); - } - scheduleExpressionCase_ = 4; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_Schedule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_Schedule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ScheduleOuterClass.Schedule.class, flyteidl.admin.ScheduleOuterClass.Schedule.Builder.class); - } - - private int scheduleExpressionCase_ = 0; - private java.lang.Object scheduleExpression_; - public enum ScheduleExpressionCase - implements com.google.protobuf.Internal.EnumLite { - @java.lang.Deprecated CRON_EXPRESSION(1), - RATE(2), - CRON_SCHEDULE(4), - SCHEDULEEXPRESSION_NOT_SET(0); - private final int value; - private ScheduleExpressionCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ScheduleExpressionCase valueOf(int value) { - return forNumber(value); - } - - public static ScheduleExpressionCase forNumber(int value) { - switch (value) { - case 1: return CRON_EXPRESSION; - case 2: return RATE; - case 4: return CRON_SCHEDULE; - case 0: return SCHEDULEEXPRESSION_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ScheduleExpressionCase - getScheduleExpressionCase() { - return ScheduleExpressionCase.forNumber( - scheduleExpressionCase_); - } - - public static final int CRON_EXPRESSION_FIELD_NUMBER = 1; - /** - *
-     * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-     * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-     * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getCronExpression() { - java.lang.Object ref = ""; - if (scheduleExpressionCase_ == 1) { - ref = scheduleExpression_; - } - 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 (scheduleExpressionCase_ == 1) { - scheduleExpression_ = s; - } - return s; - } - } - /** - *
-     * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-     * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-     * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getCronExpressionBytes() { - java.lang.Object ref = ""; - if (scheduleExpressionCase_ == 1) { - ref = scheduleExpression_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (scheduleExpressionCase_ == 1) { - scheduleExpression_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RATE_FIELD_NUMBER = 2; - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public boolean hasRate() { - return scheduleExpressionCase_ == 2; - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public flyteidl.admin.ScheduleOuterClass.FixedRate getRate() { - if (scheduleExpressionCase_ == 2) { - return (flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance(); - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public flyteidl.admin.ScheduleOuterClass.FixedRateOrBuilder getRateOrBuilder() { - if (scheduleExpressionCase_ == 2) { - return (flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance(); - } - - public static final int CRON_SCHEDULE_FIELD_NUMBER = 4; - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public boolean hasCronSchedule() { - return scheduleExpressionCase_ == 4; - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public flyteidl.admin.ScheduleOuterClass.CronSchedule getCronSchedule() { - if (scheduleExpressionCase_ == 4) { - return (flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance(); - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public flyteidl.admin.ScheduleOuterClass.CronScheduleOrBuilder getCronScheduleOrBuilder() { - if (scheduleExpressionCase_ == 4) { - return (flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance(); - } - - public static final int KICKOFF_TIME_INPUT_ARG_FIELD_NUMBER = 3; - private volatile java.lang.Object kickoffTimeInputArg_; - /** - *
-     * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-     * 
- * - * string kickoff_time_input_arg = 3; - */ - public java.lang.String getKickoffTimeInputArg() { - java.lang.Object ref = kickoffTimeInputArg_; - 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(); - kickoffTimeInputArg_ = s; - return s; - } - } - /** - *
-     * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-     * 
- * - * string kickoff_time_input_arg = 3; - */ - public com.google.protobuf.ByteString - getKickoffTimeInputArgBytes() { - java.lang.Object ref = kickoffTimeInputArg_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kickoffTimeInputArg_ = 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 (scheduleExpressionCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scheduleExpression_); - } - if (scheduleExpressionCase_ == 2) { - output.writeMessage(2, (flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_); - } - if (!getKickoffTimeInputArgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kickoffTimeInputArg_); - } - if (scheduleExpressionCase_ == 4) { - output.writeMessage(4, (flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (scheduleExpressionCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scheduleExpression_); - } - if (scheduleExpressionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_); - } - if (!getKickoffTimeInputArgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kickoffTimeInputArg_); - } - if (scheduleExpressionCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.ScheduleOuterClass.Schedule)) { - return super.equals(obj); - } - flyteidl.admin.ScheduleOuterClass.Schedule other = (flyteidl.admin.ScheduleOuterClass.Schedule) obj; - - if (!getKickoffTimeInputArg() - .equals(other.getKickoffTimeInputArg())) return false; - if (!getScheduleExpressionCase().equals(other.getScheduleExpressionCase())) return false; - switch (scheduleExpressionCase_) { - case 1: - if (!getCronExpression() - .equals(other.getCronExpression())) return false; - break; - case 2: - if (!getRate() - .equals(other.getRate())) return false; - break; - case 4: - if (!getCronSchedule() - .equals(other.getCronSchedule())) 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) + KICKOFF_TIME_INPUT_ARG_FIELD_NUMBER; - hash = (53 * hash) + getKickoffTimeInputArg().hashCode(); - switch (scheduleExpressionCase_) { - case 1: - hash = (37 * hash) + CRON_EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getCronExpression().hashCode(); - break; - case 2: - hash = (37 * hash) + RATE_FIELD_NUMBER; - hash = (53 * hash) + getRate().hashCode(); - break; - case 4: - hash = (37 * hash) + CRON_SCHEDULE_FIELD_NUMBER; - hash = (53 * hash) + getCronSchedule().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.ScheduleOuterClass.Schedule parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.ScheduleOuterClass.Schedule prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines complete set of information required to trigger an execution on a schedule.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Schedule} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Schedule) - flyteidl.admin.ScheduleOuterClass.ScheduleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_Schedule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_Schedule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.ScheduleOuterClass.Schedule.class, flyteidl.admin.ScheduleOuterClass.Schedule.Builder.class); - } - - // Construct using flyteidl.admin.ScheduleOuterClass.Schedule.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(); - kickoffTimeInputArg_ = ""; - - scheduleExpressionCase_ = 0; - scheduleExpression_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.ScheduleOuterClass.internal_static_flyteidl_admin_Schedule_descriptor; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.Schedule getDefaultInstanceForType() { - return flyteidl.admin.ScheduleOuterClass.Schedule.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.Schedule build() { - flyteidl.admin.ScheduleOuterClass.Schedule result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.Schedule buildPartial() { - flyteidl.admin.ScheduleOuterClass.Schedule result = new flyteidl.admin.ScheduleOuterClass.Schedule(this); - if (scheduleExpressionCase_ == 1) { - result.scheduleExpression_ = scheduleExpression_; - } - if (scheduleExpressionCase_ == 2) { - if (rateBuilder_ == null) { - result.scheduleExpression_ = scheduleExpression_; - } else { - result.scheduleExpression_ = rateBuilder_.build(); - } - } - if (scheduleExpressionCase_ == 4) { - if (cronScheduleBuilder_ == null) { - result.scheduleExpression_ = scheduleExpression_; - } else { - result.scheduleExpression_ = cronScheduleBuilder_.build(); - } - } - result.kickoffTimeInputArg_ = kickoffTimeInputArg_; - result.scheduleExpressionCase_ = scheduleExpressionCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.ScheduleOuterClass.Schedule) { - return mergeFrom((flyteidl.admin.ScheduleOuterClass.Schedule)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.ScheduleOuterClass.Schedule other) { - if (other == flyteidl.admin.ScheduleOuterClass.Schedule.getDefaultInstance()) return this; - if (!other.getKickoffTimeInputArg().isEmpty()) { - kickoffTimeInputArg_ = other.kickoffTimeInputArg_; - onChanged(); - } - switch (other.getScheduleExpressionCase()) { - case CRON_EXPRESSION: { - scheduleExpressionCase_ = 1; - scheduleExpression_ = other.scheduleExpression_; - onChanged(); - break; - } - case RATE: { - mergeRate(other.getRate()); - break; - } - case CRON_SCHEDULE: { - mergeCronSchedule(other.getCronSchedule()); - break; - } - case SCHEDULEEXPRESSION_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.ScheduleOuterClass.Schedule parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.ScheduleOuterClass.Schedule) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int scheduleExpressionCase_ = 0; - private java.lang.Object scheduleExpression_; - public ScheduleExpressionCase - getScheduleExpressionCase() { - return ScheduleExpressionCase.forNumber( - scheduleExpressionCase_); - } - - public Builder clearScheduleExpression() { - scheduleExpressionCase_ = 0; - scheduleExpression_ = null; - onChanged(); - return this; - } - - - /** - *
-       * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-       * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-       * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getCronExpression() { - java.lang.Object ref = ""; - if (scheduleExpressionCase_ == 1) { - ref = scheduleExpression_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (scheduleExpressionCase_ == 1) { - scheduleExpression_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-       * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-       * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getCronExpressionBytes() { - java.lang.Object ref = ""; - if (scheduleExpressionCase_ == 1) { - ref = scheduleExpression_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (scheduleExpressionCase_ == 1) { - scheduleExpression_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-       * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-       * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setCronExpression( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - scheduleExpressionCase_ = 1; - scheduleExpression_ = value; - onChanged(); - return this; - } - /** - *
-       * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-       * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-       * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearCronExpression() { - if (scheduleExpressionCase_ == 1) { - scheduleExpressionCase_ = 0; - scheduleExpression_ = null; - onChanged(); - } - return this; - } - /** - *
-       * Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
-       * e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
-       * 
- * - * string cron_expression = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setCronExpressionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - scheduleExpressionCase_ = 1; - scheduleExpression_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.FixedRate, flyteidl.admin.ScheduleOuterClass.FixedRate.Builder, flyteidl.admin.ScheduleOuterClass.FixedRateOrBuilder> rateBuilder_; - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public boolean hasRate() { - return scheduleExpressionCase_ == 2; - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public flyteidl.admin.ScheduleOuterClass.FixedRate getRate() { - if (rateBuilder_ == null) { - if (scheduleExpressionCase_ == 2) { - return (flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance(); - } else { - if (scheduleExpressionCase_ == 2) { - return rateBuilder_.getMessage(); - } - return flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public Builder setRate(flyteidl.admin.ScheduleOuterClass.FixedRate value) { - if (rateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - scheduleExpression_ = value; - onChanged(); - } else { - rateBuilder_.setMessage(value); - } - scheduleExpressionCase_ = 2; - return this; - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public Builder setRate( - flyteidl.admin.ScheduleOuterClass.FixedRate.Builder builderForValue) { - if (rateBuilder_ == null) { - scheduleExpression_ = builderForValue.build(); - onChanged(); - } else { - rateBuilder_.setMessage(builderForValue.build()); - } - scheduleExpressionCase_ = 2; - return this; - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public Builder mergeRate(flyteidl.admin.ScheduleOuterClass.FixedRate value) { - if (rateBuilder_ == null) { - if (scheduleExpressionCase_ == 2 && - scheduleExpression_ != flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance()) { - scheduleExpression_ = flyteidl.admin.ScheduleOuterClass.FixedRate.newBuilder((flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_) - .mergeFrom(value).buildPartial(); - } else { - scheduleExpression_ = value; - } - onChanged(); - } else { - if (scheduleExpressionCase_ == 2) { - rateBuilder_.mergeFrom(value); - } - rateBuilder_.setMessage(value); - } - scheduleExpressionCase_ = 2; - return this; - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public Builder clearRate() { - if (rateBuilder_ == null) { - if (scheduleExpressionCase_ == 2) { - scheduleExpressionCase_ = 0; - scheduleExpression_ = null; - onChanged(); - } - } else { - if (scheduleExpressionCase_ == 2) { - scheduleExpressionCase_ = 0; - scheduleExpression_ = null; - } - rateBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public flyteidl.admin.ScheduleOuterClass.FixedRate.Builder getRateBuilder() { - return getRateFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - public flyteidl.admin.ScheduleOuterClass.FixedRateOrBuilder getRateOrBuilder() { - if ((scheduleExpressionCase_ == 2) && (rateBuilder_ != null)) { - return rateBuilder_.getMessageOrBuilder(); - } else { - if (scheduleExpressionCase_ == 2) { - return (flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.FixedRate rate = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.FixedRate, flyteidl.admin.ScheduleOuterClass.FixedRate.Builder, flyteidl.admin.ScheduleOuterClass.FixedRateOrBuilder> - getRateFieldBuilder() { - if (rateBuilder_ == null) { - if (!(scheduleExpressionCase_ == 2)) { - scheduleExpression_ = flyteidl.admin.ScheduleOuterClass.FixedRate.getDefaultInstance(); - } - rateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.FixedRate, flyteidl.admin.ScheduleOuterClass.FixedRate.Builder, flyteidl.admin.ScheduleOuterClass.FixedRateOrBuilder>( - (flyteidl.admin.ScheduleOuterClass.FixedRate) scheduleExpression_, - getParentForChildren(), - isClean()); - scheduleExpression_ = null; - } - scheduleExpressionCase_ = 2; - onChanged();; - return rateBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.CronSchedule, flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder, flyteidl.admin.ScheduleOuterClass.CronScheduleOrBuilder> cronScheduleBuilder_; - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public boolean hasCronSchedule() { - return scheduleExpressionCase_ == 4; - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public flyteidl.admin.ScheduleOuterClass.CronSchedule getCronSchedule() { - if (cronScheduleBuilder_ == null) { - if (scheduleExpressionCase_ == 4) { - return (flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance(); - } else { - if (scheduleExpressionCase_ == 4) { - return cronScheduleBuilder_.getMessage(); - } - return flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public Builder setCronSchedule(flyteidl.admin.ScheduleOuterClass.CronSchedule value) { - if (cronScheduleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - scheduleExpression_ = value; - onChanged(); - } else { - cronScheduleBuilder_.setMessage(value); - } - scheduleExpressionCase_ = 4; - return this; - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public Builder setCronSchedule( - flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder builderForValue) { - if (cronScheduleBuilder_ == null) { - scheduleExpression_ = builderForValue.build(); - onChanged(); - } else { - cronScheduleBuilder_.setMessage(builderForValue.build()); - } - scheduleExpressionCase_ = 4; - return this; - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public Builder mergeCronSchedule(flyteidl.admin.ScheduleOuterClass.CronSchedule value) { - if (cronScheduleBuilder_ == null) { - if (scheduleExpressionCase_ == 4 && - scheduleExpression_ != flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance()) { - scheduleExpression_ = flyteidl.admin.ScheduleOuterClass.CronSchedule.newBuilder((flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_) - .mergeFrom(value).buildPartial(); - } else { - scheduleExpression_ = value; - } - onChanged(); - } else { - if (scheduleExpressionCase_ == 4) { - cronScheduleBuilder_.mergeFrom(value); - } - cronScheduleBuilder_.setMessage(value); - } - scheduleExpressionCase_ = 4; - return this; - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public Builder clearCronSchedule() { - if (cronScheduleBuilder_ == null) { - if (scheduleExpressionCase_ == 4) { - scheduleExpressionCase_ = 0; - scheduleExpression_ = null; - onChanged(); - } - } else { - if (scheduleExpressionCase_ == 4) { - scheduleExpressionCase_ = 0; - scheduleExpression_ = null; - } - cronScheduleBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder getCronScheduleBuilder() { - return getCronScheduleFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - public flyteidl.admin.ScheduleOuterClass.CronScheduleOrBuilder getCronScheduleOrBuilder() { - if ((scheduleExpressionCase_ == 4) && (cronScheduleBuilder_ != null)) { - return cronScheduleBuilder_.getMessageOrBuilder(); - } else { - if (scheduleExpressionCase_ == 4) { - return (flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_; - } - return flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.CronSchedule cron_schedule = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.CronSchedule, flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder, flyteidl.admin.ScheduleOuterClass.CronScheduleOrBuilder> - getCronScheduleFieldBuilder() { - if (cronScheduleBuilder_ == null) { - if (!(scheduleExpressionCase_ == 4)) { - scheduleExpression_ = flyteidl.admin.ScheduleOuterClass.CronSchedule.getDefaultInstance(); - } - cronScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.ScheduleOuterClass.CronSchedule, flyteidl.admin.ScheduleOuterClass.CronSchedule.Builder, flyteidl.admin.ScheduleOuterClass.CronScheduleOrBuilder>( - (flyteidl.admin.ScheduleOuterClass.CronSchedule) scheduleExpression_, - getParentForChildren(), - isClean()); - scheduleExpression_ = null; - } - scheduleExpressionCase_ = 4; - onChanged();; - return cronScheduleBuilder_; - } - - private java.lang.Object kickoffTimeInputArg_ = ""; - /** - *
-       * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-       * 
- * - * string kickoff_time_input_arg = 3; - */ - public java.lang.String getKickoffTimeInputArg() { - java.lang.Object ref = kickoffTimeInputArg_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kickoffTimeInputArg_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-       * 
- * - * string kickoff_time_input_arg = 3; - */ - public com.google.protobuf.ByteString - getKickoffTimeInputArgBytes() { - java.lang.Object ref = kickoffTimeInputArg_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kickoffTimeInputArg_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-       * 
- * - * string kickoff_time_input_arg = 3; - */ - public Builder setKickoffTimeInputArg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - kickoffTimeInputArg_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-       * 
- * - * string kickoff_time_input_arg = 3; - */ - public Builder clearKickoffTimeInputArg() { - - kickoffTimeInputArg_ = getDefaultInstance().getKickoffTimeInputArg(); - onChanged(); - return this; - } - /** - *
-       * Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
-       * 
- * - * string kickoff_time_input_arg = 3; - */ - public Builder setKickoffTimeInputArgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - kickoffTimeInputArg_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Schedule) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Schedule) - private static final flyteidl.admin.ScheduleOuterClass.Schedule DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.ScheduleOuterClass.Schedule(); - } - - public static flyteidl.admin.ScheduleOuterClass.Schedule getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Schedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Schedule(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.ScheduleOuterClass.Schedule getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_FixedRate_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_FixedRate_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_CronSchedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_CronSchedule_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Schedule_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Schedule_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/admin/schedule.proto\022\016flyteid" + - "l.admin\"G\n\tFixedRate\022\r\n\005value\030\001 \001(\r\022+\n\004u" + - "nit\030\002 \001(\0162\035.flyteidl.admin.FixedRateUnit" + - "\"0\n\014CronSchedule\022\020\n\010schedule\030\001 \001(\t\022\016\n\006of" + - "fset\030\002 \001(\t\"\301\001\n\010Schedule\022\035\n\017cron_expressi" + - "on\030\001 \001(\tB\002\030\001H\000\022)\n\004rate\030\002 \001(\0132\031.flyteidl." + - "admin.FixedRateH\000\0225\n\rcron_schedule\030\004 \001(\013" + - "2\034.flyteidl.admin.CronScheduleH\000\022\036\n\026kick" + - "off_time_input_arg\030\003 \001(\tB\024\n\022ScheduleExpr" + - "ession*.\n\rFixedRateUnit\022\n\n\006MINUTE\020\000\022\010\n\004H" + - "OUR\020\001\022\007\n\003DAY\020\002B=Z;github.com/flyteorg/fl" + - "yte/flyteidl/gen/pb-go/flyteidl/adminb\006p" + - "roto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }, assigner); - internal_static_flyteidl_admin_FixedRate_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_FixedRate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_FixedRate_descriptor, - new java.lang.String[] { "Value", "Unit", }); - internal_static_flyteidl_admin_CronSchedule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_CronSchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_CronSchedule_descriptor, - new java.lang.String[] { "Schedule", "Offset", }); - internal_static_flyteidl_admin_Schedule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_Schedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Schedule_descriptor, - new java.lang.String[] { "CronExpression", "Rate", "CronSchedule", "KickoffTimeInputArg", "ScheduleExpression", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/SignalOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/SignalOuterClass.java deleted file mode 100644 index 06cb554d90..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/SignalOuterClass.java +++ /dev/null @@ -1,6128 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/signal.proto - -package flyteidl.admin; - -public final class SignalOuterClass { - private SignalOuterClass() {} - 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 SignalGetOrCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SignalGetOrCreateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.SignalIdentifier getId(); - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - boolean hasType(); - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralType getType(); - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); - } - /** - *
-   * SignalGetOrCreateRequest represents a request structure to retrieve or create a signal.
-   * See :ref:`ref_flyteidl.admin.Signal` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.SignalGetOrCreateRequest} - */ - public static final class SignalGetOrCreateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SignalGetOrCreateRequest) - SignalGetOrCreateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use SignalGetOrCreateRequest.newBuilder() to construct. - private SignalGetOrCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SignalGetOrCreateRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignalGetOrCreateRequest( - 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.SignalIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.SignalIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Types.LiteralType.Builder subBuilder = null; - if (type_ != null) { - subBuilder = type_.toBuilder(); - } - type_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(type_); - type_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalGetOrCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalGetOrCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest.class, flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.SignalIdentifier id_; - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int TYPE_FIELD_NUMBER = 2; - private flyteidl.core.Types.LiteralType type_; - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return type_ != null; - } - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - return getType(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (type_ != null) { - output.writeMessage(2, getType()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getType()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest)) { - return super.equals(obj); - } - flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest other = (flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (!getType() - .equals(other.getType())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest 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; - } - /** - *
-     * SignalGetOrCreateRequest represents a request structure to retrieve or create a signal.
-     * See :ref:`ref_flyteidl.admin.Signal` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.SignalGetOrCreateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SignalGetOrCreateRequest) - flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalGetOrCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalGetOrCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest.class, flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest.Builder.class); - } - - // Construct using flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (typeBuilder_ == null) { - type_ = null; - } else { - type_ = null; - typeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalGetOrCreateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest getDefaultInstanceForType() { - return flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest build() { - flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest buildPartial() { - flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest result = new flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (typeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = typeBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest) { - return mergeFrom((flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest other) { - if (other == flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasType()) { - mergeType(other.getType()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.SignalIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder> idBuilder_; - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.SignalIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.SignalIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.SignalIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.core.Types.LiteralType type_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> typeBuilder_; - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return typeBuilder_ != null || type_ != null; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - if (typeBuilder_ == null) { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } else { - return typeBuilder_.getMessage(); - } - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - typeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (typeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - typeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder mergeType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (type_ != null) { - type_ = - flyteidl.core.Types.LiteralType.newBuilder(type_).mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - typeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder clearType() { - if (typeBuilder_ == null) { - type_ = null; - onChanged(); - } else { - type_ = null; - typeBuilder_ = null; - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { - - onChanged(); - return getTypeFieldBuilder().getBuilder(); - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - if (typeBuilder_ != null) { - return typeBuilder_.getMessageOrBuilder(); - } else { - return type_ == null ? - flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getTypeFieldBuilder() { - if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); - type_ = null; - } - return typeBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SignalGetOrCreateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalGetOrCreateRequest) - private static final flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest(); - } - - public static flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SignalGetOrCreateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SignalGetOrCreateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalGetOrCreateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignalListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SignalListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - boolean hasWorkflowExecutionId(); - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId(); - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 4; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 4; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - } - /** - *
-   * SignalListRequest represents a request structure to retrieve a collection of signals.
-   * See :ref:`ref_flyteidl.admin.Signal` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.SignalListRequest} - */ - public static final class SignalListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SignalListRequest) - SignalListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use SignalListRequest.newBuilder() to construct. - private SignalListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SignalListRequest() { - token_ = ""; - filters_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignalListRequest( - 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; - } - case 16: { - - limit_ = input.readUInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalListRequest.class, flyteidl.admin.SignalOuterClass.SignalListRequest.Builder.class); - } - - public static final int WORKFLOW_EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecutionId_; - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public boolean hasWorkflowExecutionId() { - return workflowExecutionId_ != null; - } - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() { - return workflowExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_; - } - /** - *
-     * Indicates the workflow execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() { - return getWorkflowExecutionId(); - } - - public static final int LIMIT_FIELD_NUMBER = 2; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTERS_FIELD_NUMBER = 4; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * +optional
-     * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - 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()); - } - if (limit_ != 0) { - output.writeUInt32(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filters_); - } - if (sortBy_ != null) { - output.writeMessage(5, getSortBy()); - } - 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()); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, token_); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filters_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSortBy()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.SignalOuterClass.SignalListRequest)) { - return super.equals(obj); - } - flyteidl.admin.SignalOuterClass.SignalListRequest other = (flyteidl.admin.SignalOuterClass.SignalListRequest) obj; - - if (hasWorkflowExecutionId() != other.hasWorkflowExecutionId()) return false; - if (hasWorkflowExecutionId()) { - if (!getWorkflowExecutionId() - .equals(other.getWorkflowExecutionId())) return false; - } - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!getFilters() - .equals(other.getFilters())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) 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 = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.SignalOuterClass.SignalListRequest 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; - } - /** - *
-     * SignalListRequest represents a request structure to retrieve a collection of signals.
-     * See :ref:`ref_flyteidl.admin.Signal` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.SignalListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SignalListRequest) - flyteidl.admin.SignalOuterClass.SignalListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalListRequest.class, flyteidl.admin.SignalOuterClass.SignalListRequest.Builder.class); - } - - // Construct using flyteidl.admin.SignalOuterClass.SignalListRequest.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; - } - limit_ = 0; - - token_ = ""; - - filters_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalListRequest getDefaultInstanceForType() { - return flyteidl.admin.SignalOuterClass.SignalListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalListRequest build() { - flyteidl.admin.SignalOuterClass.SignalListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalListRequest buildPartial() { - flyteidl.admin.SignalOuterClass.SignalListRequest result = new flyteidl.admin.SignalOuterClass.SignalListRequest(this); - if (workflowExecutionIdBuilder_ == null) { - result.workflowExecutionId_ = workflowExecutionId_; - } else { - result.workflowExecutionId_ = workflowExecutionIdBuilder_.build(); - } - result.limit_ = limit_; - result.token_ = token_; - result.filters_ = filters_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.SignalOuterClass.SignalListRequest) { - return mergeFrom((flyteidl.admin.SignalOuterClass.SignalListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.SignalOuterClass.SignalListRequest other) { - if (other == flyteidl.admin.SignalOuterClass.SignalListRequest.getDefaultInstance()) return this; - if (other.hasWorkflowExecutionId()) { - mergeWorkflowExecutionId(other.getWorkflowExecutionId()); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.SignalOuterClass.SignalListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.SignalOuterClass.SignalListRequest) 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_; - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public boolean hasWorkflowExecutionId() { - return workflowExecutionIdBuilder_ != null || workflowExecutionId_ != null; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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(); - } - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public Builder clearWorkflowExecutionId() { - if (workflowExecutionIdBuilder_ == null) { - workflowExecutionId_ = null; - onChanged(); - } else { - workflowExecutionId_ = null; - workflowExecutionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowExecutionIdBuilder() { - - onChanged(); - return getWorkflowExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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_; - } - } - /** - *
-       * Indicates the workflow execution to filter by.
-       * +required
-       * 
- * - * .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_; - } - - private int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the, server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SignalListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalListRequest) - private static final flyteidl.admin.SignalOuterClass.SignalListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.SignalOuterClass.SignalListRequest(); - } - - public static flyteidl.admin.SignalOuterClass.SignalListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SignalListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SignalListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignalListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SignalList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - java.util.List - getSignalsList(); - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - flyteidl.admin.SignalOuterClass.Signal getSignals(int index); - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - int getSignalsCount(); - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - java.util.List - getSignalsOrBuilderList(); - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - flyteidl.admin.SignalOuterClass.SignalOrBuilder getSignalsOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * SignalList represents collection of signals along with the token of the last result.
-   * See :ref:`ref_flyteidl.admin.Signal` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.SignalList} - */ - public static final class SignalList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SignalList) - SignalListOrBuilder { - private static final long serialVersionUID = 0L; - // Use SignalList.newBuilder() to construct. - private SignalList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SignalList() { - signals_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignalList( - 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)) { - signals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - signals_.add( - input.readMessage(flyteidl.admin.SignalOuterClass.Signal.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - signals_ = java.util.Collections.unmodifiableList(signals_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalList.class, flyteidl.admin.SignalOuterClass.SignalList.Builder.class); - } - - private int bitField0_; - public static final int SIGNALS_FIELD_NUMBER = 1; - private java.util.List signals_; - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public java.util.List getSignalsList() { - return signals_; - } - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public java.util.List - getSignalsOrBuilderList() { - return signals_; - } - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public int getSignalsCount() { - return signals_.size(); - } - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public flyteidl.admin.SignalOuterClass.Signal getSignals(int index) { - return signals_.get(index); - } - /** - *
-     * A list of signals matching the input filters.
-     * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public flyteidl.admin.SignalOuterClass.SignalOrBuilder getSignalsOrBuilder( - int index) { - return signals_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < signals_.size(); i++) { - output.writeMessage(1, signals_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < signals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, signals_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.SignalOuterClass.SignalList)) { - return super.equals(obj); - } - flyteidl.admin.SignalOuterClass.SignalList other = (flyteidl.admin.SignalOuterClass.SignalList) obj; - - if (!getSignalsList() - .equals(other.getSignalsList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getSignalsCount() > 0) { - hash = (37 * hash) + SIGNALS_FIELD_NUMBER; - hash = (53 * hash) + getSignalsList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.SignalOuterClass.SignalList 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; - } - /** - *
-     * SignalList represents collection of signals along with the token of the last result.
-     * See :ref:`ref_flyteidl.admin.Signal` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.SignalList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SignalList) - flyteidl.admin.SignalOuterClass.SignalListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalList.class, flyteidl.admin.SignalOuterClass.SignalList.Builder.class); - } - - // Construct using flyteidl.admin.SignalOuterClass.SignalList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSignalsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (signalsBuilder_ == null) { - signals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - signalsBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalList getDefaultInstanceForType() { - return flyteidl.admin.SignalOuterClass.SignalList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalList build() { - flyteidl.admin.SignalOuterClass.SignalList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalList buildPartial() { - flyteidl.admin.SignalOuterClass.SignalList result = new flyteidl.admin.SignalOuterClass.SignalList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (signalsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - signals_ = java.util.Collections.unmodifiableList(signals_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.signals_ = signals_; - } else { - result.signals_ = signalsBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.SignalOuterClass.SignalList) { - return mergeFrom((flyteidl.admin.SignalOuterClass.SignalList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.SignalOuterClass.SignalList other) { - if (other == flyteidl.admin.SignalOuterClass.SignalList.getDefaultInstance()) return this; - if (signalsBuilder_ == null) { - if (!other.signals_.isEmpty()) { - if (signals_.isEmpty()) { - signals_ = other.signals_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSignalsIsMutable(); - signals_.addAll(other.signals_); - } - onChanged(); - } - } else { - if (!other.signals_.isEmpty()) { - if (signalsBuilder_.isEmpty()) { - signalsBuilder_.dispose(); - signalsBuilder_ = null; - signals_ = other.signals_; - bitField0_ = (bitField0_ & ~0x00000001); - signalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSignalsFieldBuilder() : null; - } else { - signalsBuilder_.addAllMessages(other.signals_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.SignalOuterClass.SignalList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.SignalOuterClass.SignalList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List signals_ = - java.util.Collections.emptyList(); - private void ensureSignalsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - signals_ = new java.util.ArrayList(signals_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.SignalOuterClass.Signal, flyteidl.admin.SignalOuterClass.Signal.Builder, flyteidl.admin.SignalOuterClass.SignalOrBuilder> signalsBuilder_; - - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public java.util.List getSignalsList() { - if (signalsBuilder_ == null) { - return java.util.Collections.unmodifiableList(signals_); - } else { - return signalsBuilder_.getMessageList(); - } - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public int getSignalsCount() { - if (signalsBuilder_ == null) { - return signals_.size(); - } else { - return signalsBuilder_.getCount(); - } - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public flyteidl.admin.SignalOuterClass.Signal getSignals(int index) { - if (signalsBuilder_ == null) { - return signals_.get(index); - } else { - return signalsBuilder_.getMessage(index); - } - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder setSignals( - int index, flyteidl.admin.SignalOuterClass.Signal value) { - if (signalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSignalsIsMutable(); - signals_.set(index, value); - onChanged(); - } else { - signalsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder setSignals( - int index, flyteidl.admin.SignalOuterClass.Signal.Builder builderForValue) { - if (signalsBuilder_ == null) { - ensureSignalsIsMutable(); - signals_.set(index, builderForValue.build()); - onChanged(); - } else { - signalsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder addSignals(flyteidl.admin.SignalOuterClass.Signal value) { - if (signalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSignalsIsMutable(); - signals_.add(value); - onChanged(); - } else { - signalsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder addSignals( - int index, flyteidl.admin.SignalOuterClass.Signal value) { - if (signalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSignalsIsMutable(); - signals_.add(index, value); - onChanged(); - } else { - signalsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder addSignals( - flyteidl.admin.SignalOuterClass.Signal.Builder builderForValue) { - if (signalsBuilder_ == null) { - ensureSignalsIsMutable(); - signals_.add(builderForValue.build()); - onChanged(); - } else { - signalsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder addSignals( - int index, flyteidl.admin.SignalOuterClass.Signal.Builder builderForValue) { - if (signalsBuilder_ == null) { - ensureSignalsIsMutable(); - signals_.add(index, builderForValue.build()); - onChanged(); - } else { - signalsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder addAllSignals( - java.lang.Iterable values) { - if (signalsBuilder_ == null) { - ensureSignalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, signals_); - onChanged(); - } else { - signalsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder clearSignals() { - if (signalsBuilder_ == null) { - signals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - signalsBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public Builder removeSignals(int index) { - if (signalsBuilder_ == null) { - ensureSignalsIsMutable(); - signals_.remove(index); - onChanged(); - } else { - signalsBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public flyteidl.admin.SignalOuterClass.Signal.Builder getSignalsBuilder( - int index) { - return getSignalsFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public flyteidl.admin.SignalOuterClass.SignalOrBuilder getSignalsOrBuilder( - int index) { - if (signalsBuilder_ == null) { - return signals_.get(index); } else { - return signalsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public java.util.List - getSignalsOrBuilderList() { - if (signalsBuilder_ != null) { - return signalsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(signals_); - } - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public flyteidl.admin.SignalOuterClass.Signal.Builder addSignalsBuilder() { - return getSignalsFieldBuilder().addBuilder( - flyteidl.admin.SignalOuterClass.Signal.getDefaultInstance()); - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public flyteidl.admin.SignalOuterClass.Signal.Builder addSignalsBuilder( - int index) { - return getSignalsFieldBuilder().addBuilder( - index, flyteidl.admin.SignalOuterClass.Signal.getDefaultInstance()); - } - /** - *
-       * A list of signals matching the input filters.
-       * 
- * - * repeated .flyteidl.admin.Signal signals = 1; - */ - public java.util.List - getSignalsBuilderList() { - return getSignalsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.SignalOuterClass.Signal, flyteidl.admin.SignalOuterClass.Signal.Builder, flyteidl.admin.SignalOuterClass.SignalOrBuilder> - getSignalsFieldBuilder() { - if (signalsBuilder_ == null) { - signalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.SignalOuterClass.Signal, flyteidl.admin.SignalOuterClass.Signal.Builder, flyteidl.admin.SignalOuterClass.SignalOrBuilder>( - signals_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - signals_ = null; - } - return signalsBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SignalList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalList) - private static final flyteidl.admin.SignalOuterClass.SignalList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.SignalOuterClass.SignalList(); - } - - public static flyteidl.admin.SignalOuterClass.SignalList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SignalList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SignalList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignalSetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SignalSetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.SignalIdentifier getId(); - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * The value of this signal, must match the defining signal type.
-     * 
- * - * .flyteidl.core.Literal value = 2; - */ - boolean hasValue(); - /** - *
-     * The value of this signal, must match the defining signal type.
-     * 
- * - * .flyteidl.core.Literal value = 2; - */ - flyteidl.core.Literals.Literal getValue(); - /** - *
-     * The value of this signal, must match the defining signal type.
-     * 
- * - * .flyteidl.core.Literal value = 2; - */ - flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder(); - } - /** - *
-   * SignalSetRequest represents a request structure to set the value on a signal. Setting a signal
-   * effetively satisfies the signal condition within a Flyte workflow.
-   * See :ref:`ref_flyteidl.admin.Signal` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.SignalSetRequest} - */ - public static final class SignalSetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SignalSetRequest) - SignalSetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use SignalSetRequest.newBuilder() to construct. - private SignalSetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SignalSetRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignalSetRequest( - 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.SignalIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.SignalIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Literals.Literal.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalSetRequest.class, flyteidl.admin.SignalOuterClass.SignalSetRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.SignalIdentifier id_; - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int VALUE_FIELD_NUMBER = 2; - private flyteidl.core.Literals.Literal value_; - /** - *
-     * The value of this signal, must match the defining signal type.
-     * 
- * - * .flyteidl.core.Literal value = 2; - */ - public boolean hasValue() { - return value_ != null; - } - /** - *
-     * The value of this signal, must match the defining signal type.
-     * 
- * - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.Literal getValue() { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - /** - *
-     * The value of this signal, must match the defining signal type.
-     * 
- * - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - return getValue(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (value_ != null) { - output.writeMessage(2, getValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.SignalOuterClass.SignalSetRequest)) { - return super.equals(obj); - } - flyteidl.admin.SignalOuterClass.SignalSetRequest other = (flyteidl.admin.SignalOuterClass.SignalSetRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalSetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.SignalOuterClass.SignalSetRequest 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; - } - /** - *
-     * SignalSetRequest represents a request structure to set the value on a signal. Setting a signal
-     * effetively satisfies the signal condition within a Flyte workflow.
-     * See :ref:`ref_flyteidl.admin.Signal` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.SignalSetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SignalSetRequest) - flyteidl.admin.SignalOuterClass.SignalSetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalSetRequest.class, flyteidl.admin.SignalOuterClass.SignalSetRequest.Builder.class); - } - - // Construct using flyteidl.admin.SignalOuterClass.SignalSetRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (valueBuilder_ == null) { - value_ = null; - } else { - value_ = null; - valueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetRequest getDefaultInstanceForType() { - return flyteidl.admin.SignalOuterClass.SignalSetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetRequest build() { - flyteidl.admin.SignalOuterClass.SignalSetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetRequest buildPartial() { - flyteidl.admin.SignalOuterClass.SignalSetRequest result = new flyteidl.admin.SignalOuterClass.SignalSetRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (valueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = valueBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.SignalOuterClass.SignalSetRequest) { - return mergeFrom((flyteidl.admin.SignalOuterClass.SignalSetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.SignalOuterClass.SignalSetRequest other) { - if (other == flyteidl.admin.SignalOuterClass.SignalSetRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasValue()) { - mergeValue(other.getValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.SignalOuterClass.SignalSetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.SignalOuterClass.SignalSetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.SignalIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder> idBuilder_; - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.SignalIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.SignalIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.SignalIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.core.Literals.Literal value_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> valueBuilder_; - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public boolean hasValue() { - return valueBuilder_ != null || value_ != null; - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.Literal getValue() { - if (valueBuilder_ == null) { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } else { - return valueBuilder_.getMessage(); - } - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public Builder setValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - valueBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public Builder setValue( - flyteidl.core.Literals.Literal.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public Builder mergeValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value_ != null) { - value_ = - flyteidl.core.Literals.Literal.newBuilder(value_).mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - valueBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = null; - onChanged(); - } else { - value_ = null; - valueBuilder_ = null; - } - - return this; - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.Literal.Builder getValueBuilder() { - - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null ? - flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - } - /** - *
-       * The value of this signal, must match the defining signal type.
-       * 
- * - * .flyteidl.core.Literal value = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); - value_ = null; - } - return valueBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SignalSetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalSetRequest) - private static final flyteidl.admin.SignalOuterClass.SignalSetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.SignalOuterClass.SignalSetRequest(); - } - - public static flyteidl.admin.SignalOuterClass.SignalSetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SignalSetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SignalSetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignalSetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.SignalSetResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * SignalSetResponse represents a response structure if signal setting succeeds.
-   * 
- * - * Protobuf type {@code flyteidl.admin.SignalSetResponse} - */ - public static final class SignalSetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.SignalSetResponse) - SignalSetResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use SignalSetResponse.newBuilder() to construct. - private SignalSetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SignalSetResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignalSetResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalSetResponse.class, flyteidl.admin.SignalOuterClass.SignalSetResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.SignalOuterClass.SignalSetResponse)) { - return super.equals(obj); - } - flyteidl.admin.SignalOuterClass.SignalSetResponse other = (flyteidl.admin.SignalOuterClass.SignalSetResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.SignalSetResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.SignalOuterClass.SignalSetResponse 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; - } - /** - *
-     * SignalSetResponse represents a response structure if signal setting succeeds.
-     * 
- * - * Protobuf type {@code flyteidl.admin.SignalSetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.SignalSetResponse) - flyteidl.admin.SignalOuterClass.SignalSetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.SignalSetResponse.class, flyteidl.admin.SignalOuterClass.SignalSetResponse.Builder.class); - } - - // Construct using flyteidl.admin.SignalOuterClass.SignalSetResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_SignalSetResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetResponse getDefaultInstanceForType() { - return flyteidl.admin.SignalOuterClass.SignalSetResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetResponse build() { - flyteidl.admin.SignalOuterClass.SignalSetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetResponse buildPartial() { - flyteidl.admin.SignalOuterClass.SignalSetResponse result = new flyteidl.admin.SignalOuterClass.SignalSetResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.SignalOuterClass.SignalSetResponse) { - return mergeFrom((flyteidl.admin.SignalOuterClass.SignalSetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.SignalOuterClass.SignalSetResponse other) { - if (other == flyteidl.admin.SignalOuterClass.SignalSetResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.SignalOuterClass.SignalSetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.SignalOuterClass.SignalSetResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.SignalSetResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.SignalSetResponse) - private static final flyteidl.admin.SignalOuterClass.SignalSetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.SignalOuterClass.SignalSetResponse(); - } - - public static flyteidl.admin.SignalOuterClass.SignalSetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SignalSetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SignalSetResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.SignalSetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignalOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Signal) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.SignalIdentifier getId(); - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - boolean hasType(); - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralType getType(); - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); - - /** - *
-     * The value of the signal. This is only available if the signal has been "set" and must match
-     * the defined the type.
-     * 
- * - * .flyteidl.core.Literal value = 3; - */ - boolean hasValue(); - /** - *
-     * The value of the signal. This is only available if the signal has been "set" and must match
-     * the defined the type.
-     * 
- * - * .flyteidl.core.Literal value = 3; - */ - flyteidl.core.Literals.Literal getValue(); - /** - *
-     * The value of the signal. This is only available if the signal has been "set" and must match
-     * the defined the type.
-     * 
- * - * .flyteidl.core.Literal value = 3; - */ - flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder(); - } - /** - *
-   * Signal encapsulates a unique identifier, associated metadata, and a value for a single Flyte
-   * signal. Signals may exist either without a set value (representing a signal request) or with a
-   * populated value (indicating the signal has been given).
-   * 
- * - * Protobuf type {@code flyteidl.admin.Signal} - */ - public static final class Signal extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Signal) - SignalOrBuilder { - private static final long serialVersionUID = 0L; - // Use Signal.newBuilder() to construct. - private Signal(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Signal() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Signal( - 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.SignalIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.SignalIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Types.LiteralType.Builder subBuilder = null; - if (type_ != null) { - subBuilder = type_.toBuilder(); - } - type_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(type_); - type_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Literals.Literal.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_Signal_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_Signal_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.Signal.class, flyteidl.admin.SignalOuterClass.Signal.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.SignalIdentifier id_; - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int TYPE_FIELD_NUMBER = 2; - private flyteidl.core.Types.LiteralType type_; - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return type_ != null; - } - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - return getType(); - } - - public static final int VALUE_FIELD_NUMBER = 3; - private flyteidl.core.Literals.Literal value_; - /** - *
-     * The value of the signal. This is only available if the signal has been "set" and must match
-     * the defined the type.
-     * 
- * - * .flyteidl.core.Literal value = 3; - */ - public boolean hasValue() { - return value_ != null; - } - /** - *
-     * The value of the signal. This is only available if the signal has been "set" and must match
-     * the defined the type.
-     * 
- * - * .flyteidl.core.Literal value = 3; - */ - public flyteidl.core.Literals.Literal getValue() { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - /** - *
-     * The value of the signal. This is only available if the signal has been "set" and must match
-     * the defined the type.
-     * 
- * - * .flyteidl.core.Literal value = 3; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - return getValue(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (type_ != null) { - output.writeMessage(2, getType()); - } - if (value_ != null) { - output.writeMessage(3, getValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getType()); - } - if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getValue()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.SignalOuterClass.Signal)) { - return super.equals(obj); - } - flyteidl.admin.SignalOuterClass.Signal other = (flyteidl.admin.SignalOuterClass.Signal) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (!getType() - .equals(other.getType())) return false; - } - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.Signal parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.Signal parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.SignalOuterClass.Signal parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.SignalOuterClass.Signal 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; - } - /** - *
-     * Signal encapsulates a unique identifier, associated metadata, and a value for a single Flyte
-     * signal. Signals may exist either without a set value (representing a signal request) or with a
-     * populated value (indicating the signal has been given).
-     * 
- * - * Protobuf type {@code flyteidl.admin.Signal} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Signal) - flyteidl.admin.SignalOuterClass.SignalOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_Signal_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_Signal_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.SignalOuterClass.Signal.class, flyteidl.admin.SignalOuterClass.Signal.Builder.class); - } - - // Construct using flyteidl.admin.SignalOuterClass.Signal.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (typeBuilder_ == null) { - type_ = null; - } else { - type_ = null; - typeBuilder_ = null; - } - if (valueBuilder_ == null) { - value_ = null; - } else { - value_ = null; - valueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.SignalOuterClass.internal_static_flyteidl_admin_Signal_descriptor; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.Signal getDefaultInstanceForType() { - return flyteidl.admin.SignalOuterClass.Signal.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.Signal build() { - flyteidl.admin.SignalOuterClass.Signal result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.Signal buildPartial() { - flyteidl.admin.SignalOuterClass.Signal result = new flyteidl.admin.SignalOuterClass.Signal(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (typeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = typeBuilder_.build(); - } - if (valueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = valueBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.SignalOuterClass.Signal) { - return mergeFrom((flyteidl.admin.SignalOuterClass.Signal)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.SignalOuterClass.Signal other) { - if (other == flyteidl.admin.SignalOuterClass.Signal.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasType()) { - mergeType(other.getType()); - } - if (other.hasValue()) { - mergeValue(other.getValue()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.SignalOuterClass.Signal parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.SignalOuterClass.Signal) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.SignalIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder> idBuilder_; - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.SignalIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.SignalIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.SignalIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * .flyteidl.core.SignalIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.SignalIdentifier, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder, flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.core.Types.LiteralType type_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> typeBuilder_; - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return typeBuilder_ != null || type_ != null; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - if (typeBuilder_ == null) { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } else { - return typeBuilder_.getMessage(); - } - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - typeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (typeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - typeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder mergeType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (type_ != null) { - type_ = - flyteidl.core.Types.LiteralType.newBuilder(type_).mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - typeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder clearType() { - if (typeBuilder_ == null) { - type_ = null; - onChanged(); - } else { - type_ = null; - typeBuilder_ = null; - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { - - onChanged(); - return getTypeFieldBuilder().getBuilder(); - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - if (typeBuilder_ != null) { - return typeBuilder_.getMessageOrBuilder(); - } else { - return type_ == null ? - flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getTypeFieldBuilder() { - if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); - type_ = null; - } - return typeBuilder_; - } - - private flyteidl.core.Literals.Literal value_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> valueBuilder_; - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public boolean hasValue() { - return valueBuilder_ != null || value_ != null; - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public flyteidl.core.Literals.Literal getValue() { - if (valueBuilder_ == null) { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } else { - return valueBuilder_.getMessage(); - } - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public Builder setValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - valueBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public Builder setValue( - flyteidl.core.Literals.Literal.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public Builder mergeValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value_ != null) { - value_ = - flyteidl.core.Literals.Literal.newBuilder(value_).mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - valueBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = null; - onChanged(); - } else { - value_ = null; - valueBuilder_ = null; - } - - return this; - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public flyteidl.core.Literals.Literal.Builder getValueBuilder() { - - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null ? - flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - } - /** - *
-       * The value of the signal. This is only available if the signal has been "set" and must match
-       * the defined the type.
-       * 
- * - * .flyteidl.core.Literal value = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); - value_ = null; - } - return valueBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Signal) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Signal) - private static final flyteidl.admin.SignalOuterClass.Signal DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.SignalOuterClass.Signal(); - } - - public static flyteidl.admin.SignalOuterClass.Signal getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Signal parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Signal(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.SignalOuterClass.Signal getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SignalGetOrCreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SignalGetOrCreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SignalListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SignalListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SignalList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SignalList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SignalSetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SignalSetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SignalSetResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SignalSetResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Signal_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Signal_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\033flyteidl/admin/signal.proto\022\016flyteidl." + - "admin\032\033flyteidl/admin/common.proto\032\036flyt" + - "eidl/core/identifier.proto\032\034flyteidl/cor" + - "e/literals.proto\032\031flyteidl/core/types.pr" + - "oto\"q\n\030SignalGetOrCreateRequest\022+\n\002id\030\001 " + - "\001(\0132\037.flyteidl.core.SignalIdentifier\022(\n\004" + - "type\030\002 \001(\0132\032.flyteidl.core.LiteralType\"\264" + - "\001\n\021SignalListRequest\022I\n\025workflow_executi" + - "on_id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + - "utionIdentifier\022\r\n\005limit\030\002 \001(\r\022\r\n\005token\030" + - "\003 \001(\t\022\017\n\007filters\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132" + - "\024.flyteidl.admin.Sort\"D\n\nSignalList\022\'\n\007s" + - "ignals\030\001 \003(\0132\026.flyteidl.admin.Signal\022\r\n\005" + - "token\030\002 \001(\t\"f\n\020SignalSetRequest\022+\n\002id\030\001 " + - "\001(\0132\037.flyteidl.core.SignalIdentifier\022%\n\005" + - "value\030\002 \001(\0132\026.flyteidl.core.Literal\"\023\n\021S" + - "ignalSetResponse\"\206\001\n\006Signal\022+\n\002id\030\001 \001(\0132" + - "\037.flyteidl.core.SignalIdentifier\022(\n\004type" + - "\030\002 \001(\0132\032.flyteidl.core.LiteralType\022%\n\005va" + - "lue\030\003 \001(\0132\026.flyteidl.core.LiteralB=Z;git" + - "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" + - "o/flyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.Common.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - flyteidl.core.Types.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_SignalGetOrCreateRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_SignalGetOrCreateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SignalGetOrCreateRequest_descriptor, - new java.lang.String[] { "Id", "Type", }); - internal_static_flyteidl_admin_SignalListRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_SignalListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SignalListRequest_descriptor, - new java.lang.String[] { "WorkflowExecutionId", "Limit", "Token", "Filters", "SortBy", }); - internal_static_flyteidl_admin_SignalList_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_SignalList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SignalList_descriptor, - new java.lang.String[] { "Signals", "Token", }); - internal_static_flyteidl_admin_SignalSetRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_SignalSetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SignalSetRequest_descriptor, - new java.lang.String[] { "Id", "Value", }); - internal_static_flyteidl_admin_SignalSetResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_SignalSetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_SignalSetResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_Signal_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_Signal_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Signal_descriptor, - new java.lang.String[] { "Id", "Type", "Value", }); - flyteidl.admin.Common.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - flyteidl.core.Types.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/TaskExecutionOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/TaskExecutionOuterClass.java deleted file mode 100644 index 9fe3947f83..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/TaskExecutionOuterClass.java +++ /dev/null @@ -1,12107 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/task_execution.proto - -package flyteidl.admin; - -public final class TaskExecutionOuterClass { - private TaskExecutionOuterClass() {} - 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 TaskExecutionGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique identifier for the task execution.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Unique identifier for the task execution.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); - /** - *
-     * Unique identifier for the task execution.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * A message used to fetch a single task execution entity.
-   * See :ref:`ref_flyteidl.admin.TaskExecution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionGetRequest} - */ - public static final class TaskExecutionGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetRequest) - TaskExecutionGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionGetRequest.newBuilder() to construct. - private TaskExecutionGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionGetRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionGetRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - /** - *
-     * Unique identifier for the task execution.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Unique identifier for the task execution.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Unique identifier for the task execution.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest 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 message used to fetch a single task execution entity.
-     * See :ref:`ref_flyteidl.admin.TaskExecution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionGetRequest) - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest build() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Unique identifier for the task execution.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetRequest) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - boolean hasNodeExecutionId(); - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId(); - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder(); - - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - int getLimit(); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - com.google.protobuf.ByteString - getTokenBytes(); - - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - java.lang.String getFilters(); - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - com.google.protobuf.ByteString - getFiltersBytes(); - - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - boolean hasSortBy(); - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.Sort getSortBy(); - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); - } - /** - *
-   * Represents a request structure to retrieve a list of task execution entities yielded by a specific node execution.
-   * See :ref:`ref_flyteidl.admin.TaskExecution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionListRequest} - */ - public static final class TaskExecutionListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionListRequest) - TaskExecutionListRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionListRequest.newBuilder() to construct. - private TaskExecutionListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionListRequest() { - token_ = ""; - filters_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionListRequest( - 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.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 16: { - - limit_ = input.readUInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - filters_ = s; - break; - } - case 42: { - flyteidl.admin.Common.Sort.Builder subBuilder = null; - if (sortBy_ != null) { - subBuilder = sortBy_.toBuilder(); - } - sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sortBy_); - sortBy_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.Builder.class); - } - - public static final int NODE_EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier nodeExecutionId_; - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public boolean hasNodeExecutionId() { - return nodeExecutionId_ != null; - } - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { - return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; - } - /** - *
-     * Indicates the node execution to filter by.
-     * +required
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { - return getNodeExecutionId(); - } - - public static final int LIMIT_FIELD_NUMBER = 2; - private int limit_; - /** - *
-     * Indicates the number of resources to be returned.
-     * +required
-     * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - - public static final int TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query.
-     * +optional
-     * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTERS_FIELD_NUMBER = 4; - private volatile java.lang.Object filters_; - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - 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(); - filters_ = s; - return s; - } - } - /** - *
-     * Indicates a list of filters passed as string.
-     * More info on constructing filters : <Link>
-     * +optional
-     * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SORT_BY_FIELD_NUMBER = 5; - private flyteidl.admin.Common.Sort sortBy_; - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortBy_ != null; - } - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - /** - *
-     * Sort ordering for returned list.
-     * +optional
-     * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - return getSortBy(); - } - - 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 (nodeExecutionId_ != null) { - output.writeMessage(1, getNodeExecutionId()); - } - if (limit_ != 0) { - output.writeUInt32(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); - } - if (!getFiltersBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filters_); - } - if (sortBy_ != null) { - output.writeMessage(5, getSortBy()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (nodeExecutionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNodeExecutionId()); - } - if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, limit_); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, token_); - } - if (!getFiltersBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filters_); - } - if (sortBy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSortBy()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest) obj; - - if (hasNodeExecutionId() != other.hasNodeExecutionId()) return false; - if (hasNodeExecutionId()) { - if (!getNodeExecutionId() - .equals(other.getNodeExecutionId())) return false; - } - if (getLimit() - != other.getLimit()) return false; - if (!getToken() - .equals(other.getToken())) return false; - if (!getFilters() - .equals(other.getFilters())) return false; - if (hasSortBy() != other.hasSortBy()) return false; - if (hasSortBy()) { - if (!getSortBy() - .equals(other.getSortBy())) 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 (hasNodeExecutionId()) { - hash = (37 * hash) + NODE_EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeExecutionId().hashCode(); - } - hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getLimit(); - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (37 * hash) + FILTERS_FIELD_NUMBER; - hash = (53 * hash) + getFilters().hashCode(); - if (hasSortBy()) { - hash = (37 * hash) + SORT_BY_FIELD_NUMBER; - hash = (53 * hash) + getSortBy().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest 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; - } - /** - *
-     * Represents a request structure to retrieve a list of task execution entities yielded by a specific node execution.
-     * See :ref:`ref_flyteidl.admin.TaskExecution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionListRequest) - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.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 (nodeExecutionIdBuilder_ == null) { - nodeExecutionId_ = null; - } else { - nodeExecutionId_ = null; - nodeExecutionIdBuilder_ = null; - } - limit_ = 0; - - token_ = ""; - - filters_ = ""; - - if (sortByBuilder_ == null) { - sortBy_ = null; - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest build() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest(this); - if (nodeExecutionIdBuilder_ == null) { - result.nodeExecutionId_ = nodeExecutionId_; - } else { - result.nodeExecutionId_ = nodeExecutionIdBuilder_.build(); - } - result.limit_ = limit_; - result.token_ = token_; - result.filters_ = filters_; - if (sortByBuilder_ == null) { - result.sortBy_ = sortBy_; - } else { - result.sortBy_ = sortByBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.getDefaultInstance()) return this; - if (other.hasNodeExecutionId()) { - mergeNodeExecutionId(other.getNodeExecutionId()); - } - if (other.getLimit() != 0) { - setLimit(other.getLimit()); - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - if (!other.getFilters().isEmpty()) { - filters_ = other.filters_; - onChanged(); - } - if (other.hasSortBy()) { - mergeSortBy(other.getSortBy()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - 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_; - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public boolean hasNodeExecutionId() { - return nodeExecutionIdBuilder_ != null || nodeExecutionId_ != null; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { - if (nodeExecutionIdBuilder_ == null) { - return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; - } else { - return nodeExecutionIdBuilder_.getMessage(); - } - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - 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; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public Builder setNodeExecutionId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (nodeExecutionIdBuilder_ == null) { - nodeExecutionId_ = builderForValue.build(); - onChanged(); - } else { - nodeExecutionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - 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; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public Builder clearNodeExecutionId() { - if (nodeExecutionIdBuilder_ == null) { - nodeExecutionId_ = null; - onChanged(); - } else { - nodeExecutionId_ = null; - nodeExecutionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getNodeExecutionIdBuilder() { - - onChanged(); - return getNodeExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { - if (nodeExecutionIdBuilder_ != null) { - return nodeExecutionIdBuilder_.getMessageOrBuilder(); - } else { - return nodeExecutionId_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; - } - } - /** - *
-       * Indicates the node execution to filter by.
-       * +required
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; - */ - 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 int limit_ ; - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public int getLimit() { - return limit_; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder setLimit(int value) { - - limit_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates the number of resources to be returned.
-       * +required
-       * 
- * - * uint32 limit = 2; - */ - public Builder clearLimit() { - - limit_ = 0; - onChanged(); - return this; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query.
-       * +optional
-       * 
- * - * string token = 3; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - - private java.lang.Object filters_ = ""; - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public java.lang.String getFilters() { - java.lang.Object ref = filters_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filters_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public com.google.protobuf.ByteString - getFiltersBytes() { - java.lang.Object ref = filters_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filters_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFilters( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filters_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder clearFilters() { - - filters_ = getDefaultInstance().getFilters(); - onChanged(); - return this; - } - /** - *
-       * Indicates a list of filters passed as string.
-       * More info on constructing filters : <Link>
-       * +optional
-       * 
- * - * string filters = 4; - */ - public Builder setFiltersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filters_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.Common.Sort sortBy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public boolean hasSortBy() { - return sortByBuilder_ != null || sortBy_ != null; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort getSortBy() { - if (sortByBuilder_ == null) { - return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } else { - return sortByBuilder_.getMessage(); - } - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sortBy_ = value; - onChanged(); - } else { - sortByBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder setSortBy( - flyteidl.admin.Common.Sort.Builder builderForValue) { - if (sortByBuilder_ == null) { - sortBy_ = builderForValue.build(); - onChanged(); - } else { - sortByBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { - if (sortByBuilder_ == null) { - if (sortBy_ != null) { - sortBy_ = - flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); - } else { - sortBy_ = value; - } - onChanged(); - } else { - sortByBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public Builder clearSortBy() { - if (sortByBuilder_ == null) { - sortBy_ = null; - onChanged(); - } else { - sortBy_ = null; - sortByBuilder_ = null; - } - - return this; - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { - - onChanged(); - return getSortByFieldBuilder().getBuilder(); - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { - if (sortByBuilder_ != null) { - return sortByBuilder_.getMessageOrBuilder(); - } else { - return sortBy_ == null ? - flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; - } - } - /** - *
-       * Sort ordering for returned list.
-       * +optional
-       * 
- * - * .flyteidl.admin.Sort sort_by = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> - getSortByFieldBuilder() { - if (sortByBuilder_ == null) { - sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( - getSortBy(), - getParentForChildren(), - isClean()); - sortBy_ = null; - } - return sortByBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionListRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionListRequest) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionListRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecution) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique identifier for the task execution.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Unique identifier for the task execution.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); - /** - *
-     * Unique identifier for the task execution.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - java.lang.String getInputUri(); - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - com.google.protobuf.ByteString - getInputUriBytes(); - - /** - *
-     * Task execution details and results.
-     * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - boolean hasClosure(); - /** - *
-     * Task execution details and results.
-     * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getClosure(); - /** - *
-     * Task execution details and results.
-     * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder getClosureOrBuilder(); - - /** - *
-     * Whether this task spawned nodes.
-     * 
- * - * bool is_parent = 4; - */ - boolean getIsParent(); - } - /** - *
-   * Encapsulates all details for a single task execution entity.
-   * A task execution represents an instantiated task, including all inputs and additional
-   * metadata as well as computed results included state, outputs, and duration-based attributes.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecution} - */ - public static final class TaskExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecution) - TaskExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecution.newBuilder() to construct. - private TaskExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecution() { - inputUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecution( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - inputUri_ = s; - break; - } - case 26: { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder subBuilder = null; - if (closure_ != null) { - subBuilder = closure_.toBuilder(); - } - closure_ = input.readMessage(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(closure_); - closure_ = subBuilder.buildPartial(); - } - - break; - } - case 32: { - - isParent_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecution.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - /** - *
-     * Unique identifier for the task execution.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Unique identifier for the task execution.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Unique identifier for the task execution.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int INPUT_URI_FIELD_NUMBER = 2; - private volatile java.lang.Object inputUri_; - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = inputUri_; - 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(); - inputUri_ = s; - return s; - } - } - /** - *
-     * Path to remote data store where input blob is stored.
-     * 
- * - * string input_uri = 2; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = inputUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CLOSURE_FIELD_NUMBER = 3; - private flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure closure_; - /** - *
-     * Task execution details and results.
-     * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public boolean hasClosure() { - return closure_ != null; - } - /** - *
-     * Task execution details and results.
-     * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getClosure() { - return closure_ == null ? flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance() : closure_; - } - /** - *
-     * Task execution details and results.
-     * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder getClosureOrBuilder() { - return getClosure(); - } - - public static final int IS_PARENT_FIELD_NUMBER = 4; - private boolean isParent_; - /** - *
-     * Whether this task spawned nodes.
-     * 
- * - * bool is_parent = 4; - */ - public boolean getIsParent() { - return isParent_; - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getInputUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputUri_); - } - if (closure_ != null) { - output.writeMessage(3, getClosure()); - } - if (isParent_ != false) { - output.writeBool(4, isParent_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getInputUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputUri_); - } - if (closure_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getClosure()); - } - if (isParent_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, isParent_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecution)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.TaskExecution other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecution) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getInputUri() - .equals(other.getInputUri())) return false; - if (hasClosure() != other.hasClosure()) return false; - if (hasClosure()) { - if (!getClosure() - .equals(other.getClosure())) return false; - } - if (getIsParent() - != other.getIsParent()) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getInputUri().hashCode(); - if (hasClosure()) { - hash = (37 * hash) + CLOSURE_FIELD_NUMBER; - hash = (53 * hash) + getClosure().hashCode(); - } - hash = (37 * hash) + IS_PARENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsParent()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.TaskExecution 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; - } - /** - *
-     * Encapsulates all details for a single task execution entity.
-     * A task execution represents an instantiated task, including all inputs and additional
-     * metadata as well as computed results included state, outputs, and duration-based attributes.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecution) - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecution.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecution.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - inputUri_ = ""; - - if (closureBuilder_ == null) { - closure_ = null; - } else { - closure_ = null; - closureBuilder_ = null; - } - isParent_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution build() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecution result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecution(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.inputUri_ = inputUri_; - if (closureBuilder_ == null) { - result.closure_ = closure_; - } else { - result.closure_ = closureBuilder_.build(); - } - result.isParent_ = isParent_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecution) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecution other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getInputUri().isEmpty()) { - inputUri_ = other.inputUri_; - onChanged(); - } - if (other.hasClosure()) { - mergeClosure(other.getClosure()); - } - if (other.getIsParent() != false) { - setIsParent(other.getIsParent()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.TaskExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Unique identifier for the task execution.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object inputUri_ = ""; - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = inputUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - inputUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = inputUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public Builder setInputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - inputUri_ = value; - onChanged(); - return this; - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public Builder clearInputUri() { - - inputUri_ = getDefaultInstance().getInputUri(); - onChanged(); - return this; - } - /** - *
-       * Path to remote data store where input blob is stored.
-       * 
- * - * string input_uri = 2; - */ - public Builder setInputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - inputUri_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure closure_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder> closureBuilder_; - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public boolean hasClosure() { - return closureBuilder_ != null || closure_ != null; - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getClosure() { - if (closureBuilder_ == null) { - return closure_ == null ? flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance() : closure_; - } else { - return closureBuilder_.getMessage(); - } - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public Builder setClosure(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure value) { - if (closureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - closure_ = value; - onChanged(); - } else { - closureBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public Builder setClosure( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder builderForValue) { - if (closureBuilder_ == null) { - closure_ = builderForValue.build(); - onChanged(); - } else { - closureBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public Builder mergeClosure(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure value) { - if (closureBuilder_ == null) { - if (closure_ != null) { - closure_ = - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.newBuilder(closure_).mergeFrom(value).buildPartial(); - } else { - closure_ = value; - } - onChanged(); - } else { - closureBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public Builder clearClosure() { - if (closureBuilder_ == null) { - closure_ = null; - onChanged(); - } else { - closure_ = null; - closureBuilder_ = null; - } - - return this; - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder getClosureBuilder() { - - onChanged(); - return getClosureFieldBuilder().getBuilder(); - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder getClosureOrBuilder() { - if (closureBuilder_ != null) { - return closureBuilder_.getMessageOrBuilder(); - } else { - return closure_ == null ? - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance() : closure_; - } - } - /** - *
-       * Task execution details and results.
-       * 
- * - * .flyteidl.admin.TaskExecutionClosure closure = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder> - getClosureFieldBuilder() { - if (closureBuilder_ == null) { - closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder>( - getClosure(), - getParentForChildren(), - isClean()); - closure_ = null; - } - return closureBuilder_; - } - - private boolean isParent_ ; - /** - *
-       * Whether this task spawned nodes.
-       * 
- * - * bool is_parent = 4; - */ - public boolean getIsParent() { - return isParent_; - } - /** - *
-       * Whether this task spawned nodes.
-       * 
- * - * bool is_parent = 4; - */ - public Builder setIsParent(boolean value) { - - isParent_ = value; - onChanged(); - return this; - } - /** - *
-       * Whether this task spawned nodes.
-       * 
- * - * bool is_parent = 4; - */ - public Builder clearIsParent() { - - isParent_ = false; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecution) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecution(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecution(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - java.util.List - getTaskExecutionsList(); - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - flyteidl.admin.TaskExecutionOuterClass.TaskExecution getTaskExecutions(int index); - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - int getTaskExecutionsCount(); - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - java.util.List - getTaskExecutionsOrBuilderList(); - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder getTaskExecutionsOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Response structure for a query to list of task execution entities.
-   * See :ref:`ref_flyteidl.admin.TaskExecution` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionList} - */ - public static final class TaskExecutionList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionList) - TaskExecutionListOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionList.newBuilder() to construct. - private TaskExecutionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionList() { - taskExecutions_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionList( - 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)) { - taskExecutions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - taskExecutions_.add( - input.readMessage(flyteidl.admin.TaskExecutionOuterClass.TaskExecution.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - taskExecutions_ = java.util.Collections.unmodifiableList(taskExecutions_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.Builder.class); - } - - private int bitField0_; - public static final int TASK_EXECUTIONS_FIELD_NUMBER = 1; - private java.util.List taskExecutions_; - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public java.util.List getTaskExecutionsList() { - return taskExecutions_; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public java.util.List - getTaskExecutionsOrBuilderList() { - return taskExecutions_; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public int getTaskExecutionsCount() { - return taskExecutions_.size(); - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getTaskExecutions(int index) { - return taskExecutions_.get(index); - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder getTaskExecutionsOrBuilder( - int index) { - return taskExecutions_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < taskExecutions_.size(); i++) { - output.writeMessage(1, taskExecutions_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < taskExecutions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taskExecutions_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList) obj; - - if (!getTaskExecutionsList() - .equals(other.getTaskExecutionsList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getTaskExecutionsCount() > 0) { - hash = (37 * hash) + TASK_EXECUTIONS_FIELD_NUMBER; - hash = (53 * hash) + getTaskExecutionsList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList 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 structure for a query to list of task execution entities.
-     * See :ref:`ref_flyteidl.admin.TaskExecution` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionList) - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getTaskExecutionsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (taskExecutionsBuilder_ == null) { - taskExecutions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - taskExecutionsBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList build() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (taskExecutionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - taskExecutions_ = java.util.Collections.unmodifiableList(taskExecutions_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.taskExecutions_ = taskExecutions_; - } else { - result.taskExecutions_ = taskExecutionsBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.getDefaultInstance()) return this; - if (taskExecutionsBuilder_ == null) { - if (!other.taskExecutions_.isEmpty()) { - if (taskExecutions_.isEmpty()) { - taskExecutions_ = other.taskExecutions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTaskExecutionsIsMutable(); - taskExecutions_.addAll(other.taskExecutions_); - } - onChanged(); - } - } else { - if (!other.taskExecutions_.isEmpty()) { - if (taskExecutionsBuilder_.isEmpty()) { - taskExecutionsBuilder_.dispose(); - taskExecutionsBuilder_ = null; - taskExecutions_ = other.taskExecutions_; - bitField0_ = (bitField0_ & ~0x00000001); - taskExecutionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTaskExecutionsFieldBuilder() : null; - } else { - taskExecutionsBuilder_.addAllMessages(other.taskExecutions_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List taskExecutions_ = - java.util.Collections.emptyList(); - private void ensureTaskExecutionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - taskExecutions_ = new java.util.ArrayList(taskExecutions_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.TaskExecution, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder> taskExecutionsBuilder_; - - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public java.util.List getTaskExecutionsList() { - if (taskExecutionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(taskExecutions_); - } else { - return taskExecutionsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public int getTaskExecutionsCount() { - if (taskExecutionsBuilder_ == null) { - return taskExecutions_.size(); - } else { - return taskExecutionsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getTaskExecutions(int index) { - if (taskExecutionsBuilder_ == null) { - return taskExecutions_.get(index); - } else { - return taskExecutionsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder setTaskExecutions( - int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution value) { - if (taskExecutionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTaskExecutionsIsMutable(); - taskExecutions_.set(index, value); - onChanged(); - } else { - taskExecutionsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder setTaskExecutions( - int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder builderForValue) { - if (taskExecutionsBuilder_ == null) { - ensureTaskExecutionsIsMutable(); - taskExecutions_.set(index, builderForValue.build()); - onChanged(); - } else { - taskExecutionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder addTaskExecutions(flyteidl.admin.TaskExecutionOuterClass.TaskExecution value) { - if (taskExecutionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTaskExecutionsIsMutable(); - taskExecutions_.add(value); - onChanged(); - } else { - taskExecutionsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder addTaskExecutions( - int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution value) { - if (taskExecutionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTaskExecutionsIsMutable(); - taskExecutions_.add(index, value); - onChanged(); - } else { - taskExecutionsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder addTaskExecutions( - flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder builderForValue) { - if (taskExecutionsBuilder_ == null) { - ensureTaskExecutionsIsMutable(); - taskExecutions_.add(builderForValue.build()); - onChanged(); - } else { - taskExecutionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder addTaskExecutions( - int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder builderForValue) { - if (taskExecutionsBuilder_ == null) { - ensureTaskExecutionsIsMutable(); - taskExecutions_.add(index, builderForValue.build()); - onChanged(); - } else { - taskExecutionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder addAllTaskExecutions( - java.lang.Iterable values) { - if (taskExecutionsBuilder_ == null) { - ensureTaskExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taskExecutions_); - onChanged(); - } else { - taskExecutionsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder clearTaskExecutions() { - if (taskExecutionsBuilder_ == null) { - taskExecutions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - taskExecutionsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public Builder removeTaskExecutions(int index) { - if (taskExecutionsBuilder_ == null) { - ensureTaskExecutionsIsMutable(); - taskExecutions_.remove(index); - onChanged(); - } else { - taskExecutionsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder getTaskExecutionsBuilder( - int index) { - return getTaskExecutionsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder getTaskExecutionsOrBuilder( - int index) { - if (taskExecutionsBuilder_ == null) { - return taskExecutions_.get(index); } else { - return taskExecutionsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public java.util.List - getTaskExecutionsOrBuilderList() { - if (taskExecutionsBuilder_ != null) { - return taskExecutionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(taskExecutions_); - } - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder addTaskExecutionsBuilder() { - return getTaskExecutionsFieldBuilder().addBuilder( - flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder addTaskExecutionsBuilder( - int index) { - return getTaskExecutionsFieldBuilder().addBuilder( - index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance()); - } - /** - * repeated .flyteidl.admin.TaskExecution task_executions = 1; - */ - public java.util.List - getTaskExecutionsBuilderList() { - return getTaskExecutionsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.TaskExecution, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder> - getTaskExecutionsFieldBuilder() { - if (taskExecutionsBuilder_ == null) { - taskExecutionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.TaskExecution, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder>( - taskExecutions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - taskExecutions_ = null; - } - return taskExecutionsBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionList) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionClosureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionClosure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated java.lang.String getOutputUri(); - /** - *
-     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getOutputUriBytes(); - - /** - *
-     * Error information for the task execution. Populated if the execution failed.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - boolean hasError(); - /** - *
-     * Error information for the task execution. Populated if the execution failed.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - flyteidl.core.Execution.ExecutionError getError(); - /** - *
-     * Error information for the task execution. Populated if the execution failed.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder(); - - /** - *
-     * Raw output data produced by this task execution.
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasOutputData(); - /** - *
-     * Raw output data produced by this task execution.
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Raw output data produced by this task execution.
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - /** - *
-     * The last recorded phase for this task execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - int getPhaseValue(); - /** - *
-     * The last recorded phase for this task execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - flyteidl.core.Execution.TaskExecution.Phase getPhase(); - - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - java.util.List - getLogsList(); - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - flyteidl.core.Execution.TaskLog getLogs(int index); - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - int getLogsCount(); - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - java.util.List - getLogsOrBuilderList(); - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index); - - /** - *
-     * Time at which the task execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - boolean hasStartedAt(); - /** - *
-     * Time at which the task execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - com.google.protobuf.Timestamp getStartedAt(); - /** - *
-     * Time at which the task execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder(); - - /** - *
-     * The amount of time the task execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - boolean hasDuration(); - /** - *
-     * The amount of time the task execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - com.google.protobuf.Duration getDuration(); - /** - *
-     * The amount of time the task execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); - - /** - *
-     * Time at which the task execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - boolean hasCreatedAt(); - /** - *
-     * Time at which the task execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - com.google.protobuf.Timestamp getCreatedAt(); - /** - *
-     * Time at which the task execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); - - /** - *
-     * Time at which the task execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - boolean hasUpdatedAt(); - /** - *
-     * Time at which the task execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - com.google.protobuf.Timestamp getUpdatedAt(); - /** - *
-     * Time at which the task execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder(); - - /** - *
-     * Custom data specific to the task plugin.
-     * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - boolean hasCustomInfo(); - /** - *
-     * Custom data specific to the task plugin.
-     * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - com.google.protobuf.Struct getCustomInfo(); - /** - *
-     * Custom data specific to the task plugin.
-     * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder(); - - /** - *
-     * If there is an explanation for the most recent phase transition, the reason will capture it.
-     * 
- * - * string reason = 10; - */ - java.lang.String getReason(); - /** - *
-     * If there is an explanation for the most recent phase transition, the reason will capture it.
-     * 
- * - * string reason = 10; - */ - com.google.protobuf.ByteString - getReasonBytes(); - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 11; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 11; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - boolean hasMetadata(); - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - flyteidl.event.Event.TaskExecutionMetadata getMetadata(); - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - flyteidl.event.Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder(); - - /** - *
-     * The event version is used to indicate versioned changes in how data is maintained using this
-     * proto message. For example, event_verison > 0 means that maps tasks logs use the
-     * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-     * in this message.
-     * 
- * - * int32 event_version = 17; - */ - int getEventVersion(); - - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - java.util.List - getReasonsList(); - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - flyteidl.admin.TaskExecutionOuterClass.Reason getReasons(int index); - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - int getReasonsCount(); - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - java.util.List - getReasonsOrBuilderList(); - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder getReasonsOrBuilder( - int index); - - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.OutputResultCase getOutputResultCase(); - } - /** - *
-   * Container for task execution details and results.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionClosure} - */ - public static final class TaskExecutionClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionClosure) - TaskExecutionClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionClosure.newBuilder() to construct. - private TaskExecutionClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionClosure() { - phase_ = 0; - logs_ = java.util.Collections.emptyList(); - reason_ = ""; - taskType_ = ""; - reasons_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionClosure( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - outputResultCase_ = 1; - outputResult_ = s; - break; - } - case 18: { - flyteidl.core.Execution.ExecutionError.Builder subBuilder = null; - if (outputResultCase_ == 2) { - subBuilder = ((flyteidl.core.Execution.ExecutionError) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Execution.ExecutionError.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.ExecutionError) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 2; - break; - } - case 24: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - logs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - logs_.add( - input.readMessage(flyteidl.core.Execution.TaskLog.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startedAt_ != null) { - subBuilder = startedAt_.toBuilder(); - } - startedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startedAt_); - startedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createdAt_ != null) { - subBuilder = createdAt_.toBuilder(); - } - createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createdAt_); - createdAt_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updatedAt_ != null) { - subBuilder = updatedAt_.toBuilder(); - } - updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updatedAt_); - updatedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 74: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (customInfo_ != null) { - subBuilder = customInfo_.toBuilder(); - } - customInfo_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customInfo_); - customInfo_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - - reason_ = s; - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 98: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputResultCase_ == 12) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 12; - break; - } - case 130: { - flyteidl.event.Event.TaskExecutionMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.event.Event.TaskExecutionMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 136: { - - eventVersion_ = input.readInt32(); - break; - } - case 146: { - if (!((mutable_bitField0_ & 0x00004000) != 0)) { - reasons_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00004000; - } - reasons_.add( - input.readMessage(flyteidl.admin.TaskExecutionOuterClass.Reason.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_ & 0x00000010) != 0)) { - logs_ = java.util.Collections.unmodifiableList(logs_); - } - if (((mutable_bitField0_ & 0x00004000) != 0)) { - reasons_ = java.util.Collections.unmodifiableList(reasons_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder.class); - } - - private int bitField0_; - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public enum OutputResultCase - implements com.google.protobuf.Internal.EnumLite { - @java.lang.Deprecated OUTPUT_URI(1), - ERROR(2), - @java.lang.Deprecated OUTPUT_DATA(12), - OUTPUTRESULT_NOT_SET(0); - private final int value; - private OutputResultCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OutputResultCase valueOf(int value) { - return forNumber(value); - } - - public static OutputResultCase forNumber(int value) { - switch (value) { - case 1: return OUTPUT_URI; - case 2: return ERROR; - case 12: return OUTPUT_DATA; - case 0: return OUTPUTRESULT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public static final int OUTPUT_URI_FIELD_NUMBER = 1; - /** - *
-     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - 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 (outputResultCase_ == 1) { - outputResult_ = s; - } - return s; - } - } - /** - *
-     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 1) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_FIELD_NUMBER = 2; - /** - *
-     * Error information for the task execution. Populated if the execution failed.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public boolean hasError() { - return outputResultCase_ == 2; - } - /** - *
-     * Error information for the task execution. Populated if the execution failed.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - /** - *
-     * Error information for the task execution. Populated if the execution failed.
-     * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - - public static final int OUTPUT_DATA_FIELD_NUMBER = 12; - /** - *
-     * Raw output data produced by this task execution.
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputData() { - return outputResultCase_ == 12; - } - /** - *
-     * Raw output data produced by this task execution.
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputResultCase_ == 12) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw output data produced by this task execution.
-     * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputResultCase_ == 12) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int PHASE_FIELD_NUMBER = 3; - private int phase_; - /** - *
-     * The last recorded phase for this task execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-     * The last recorded phase for this task execution.
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - - public static final int LOGS_FIELD_NUMBER = 4; - private java.util.List logs_; - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public java.util.List getLogsList() { - return logs_; - } - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public java.util.List - getLogsOrBuilderList() { - return logs_; - } - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public int getLogsCount() { - return logs_.size(); - } - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public flyteidl.core.Execution.TaskLog getLogs(int index) { - return logs_.get(index); - } - /** - *
-     * Detailed log information output by the task execution.
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index) { - return logs_.get(index); - } - - public static final int STARTED_AT_FIELD_NUMBER = 5; - private com.google.protobuf.Timestamp startedAt_; - /** - *
-     * Time at which the task execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public boolean hasStartedAt() { - return startedAt_ != null; - } - /** - *
-     * Time at which the task execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.Timestamp getStartedAt() { - return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } - /** - *
-     * Time at which the task execution began running.
-     * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { - return getStartedAt(); - } - - public static final int DURATION_FIELD_NUMBER = 6; - private com.google.protobuf.Duration duration_; - /** - *
-     * The amount of time the task execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - public boolean hasDuration() { - return duration_ != null; - } - /** - *
-     * The amount of time the task execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration getDuration() { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - /** - *
-     * The amount of time the task execution spent running.
-     * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - return getDuration(); - } - - public static final int CREATED_AT_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp createdAt_; - /** - *
-     * Time at which the task execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public boolean hasCreatedAt() { - return createdAt_ != null; - } - /** - *
-     * Time at which the task execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - /** - *
-     * Time at which the task execution was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - return getCreatedAt(); - } - - public static final int UPDATED_AT_FIELD_NUMBER = 8; - private com.google.protobuf.Timestamp updatedAt_; - /** - *
-     * Time at which the task execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public boolean hasUpdatedAt() { - return updatedAt_ != null; - } - /** - *
-     * Time at which the task execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - /** - *
-     * Time at which the task execution was last updated.
-     * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - return getUpdatedAt(); - } - - public static final int CUSTOM_INFO_FIELD_NUMBER = 9; - private com.google.protobuf.Struct customInfo_; - /** - *
-     * Custom data specific to the task plugin.
-     * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public boolean hasCustomInfo() { - return customInfo_ != null; - } - /** - *
-     * Custom data specific to the task plugin.
-     * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public com.google.protobuf.Struct getCustomInfo() { - return customInfo_ == null ? com.google.protobuf.Struct.getDefaultInstance() : customInfo_; - } - /** - *
-     * Custom data specific to the task plugin.
-     * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder() { - return getCustomInfo(); - } - - public static final int REASON_FIELD_NUMBER = 10; - private volatile java.lang.Object reason_; - /** - *
-     * If there is an explanation for the most recent phase transition, the reason will capture it.
-     * 
- * - * string reason = 10; - */ - public java.lang.String getReason() { - java.lang.Object ref = reason_; - 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(); - reason_ = s; - return s; - } - } - /** - *
-     * If there is an explanation for the most recent phase transition, the reason will capture it.
-     * 
- * - * string reason = 10; - */ - public com.google.protobuf.ByteString - getReasonBytes() { - java.lang.Object ref = reason_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - reason_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TASK_TYPE_FIELD_NUMBER = 11; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 11; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 11; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int METADATA_FIELD_NUMBER = 16; - private flyteidl.event.Event.TaskExecutionMetadata metadata_; - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata getMetadata() { - return metadata_ == null ? flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int EVENT_VERSION_FIELD_NUMBER = 17; - private int eventVersion_; - /** - *
-     * The event version is used to indicate versioned changes in how data is maintained using this
-     * proto message. For example, event_verison > 0 means that maps tasks logs use the
-     * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-     * in this message.
-     * 
- * - * int32 event_version = 17; - */ - public int getEventVersion() { - return eventVersion_; - } - - public static final int REASONS_FIELD_NUMBER = 18; - private java.util.List reasons_; - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public java.util.List getReasonsList() { - return reasons_; - } - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public java.util.List - getReasonsOrBuilderList() { - return reasons_; - } - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public int getReasonsCount() { - return reasons_.size(); - } - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public flyteidl.admin.TaskExecutionOuterClass.Reason getReasons(int index) { - return reasons_.get(index); - } - /** - *
-     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-     * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder getReasonsOrBuilder( - int index) { - return reasons_.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 { - if (outputResultCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputResult_); - } - if (outputResultCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(3, phase_); - } - for (int i = 0; i < logs_.size(); i++) { - output.writeMessage(4, logs_.get(i)); - } - if (startedAt_ != null) { - output.writeMessage(5, getStartedAt()); - } - if (duration_ != null) { - output.writeMessage(6, getDuration()); - } - if (createdAt_ != null) { - output.writeMessage(7, getCreatedAt()); - } - if (updatedAt_ != null) { - output.writeMessage(8, getUpdatedAt()); - } - if (customInfo_ != null) { - output.writeMessage(9, getCustomInfo()); - } - if (!getReasonBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, reason_); - } - if (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, taskType_); - } - if (outputResultCase_ == 12) { - output.writeMessage(12, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (metadata_ != null) { - output.writeMessage(16, getMetadata()); - } - if (eventVersion_ != 0) { - output.writeInt32(17, eventVersion_); - } - for (int i = 0; i < reasons_.size(); i++) { - output.writeMessage(18, reasons_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (outputResultCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputResult_); - } - if (outputResultCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, phase_); - } - for (int i = 0; i < logs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, logs_.get(i)); - } - if (startedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getStartedAt()); - } - if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDuration()); - } - if (createdAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreatedAt()); - } - if (updatedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getUpdatedAt()); - } - if (customInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCustomInfo()); - } - if (!getReasonBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, reason_); - } - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, taskType_); - } - if (outputResultCase_ == 12) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getMetadata()); - } - if (eventVersion_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(17, eventVersion_); - } - for (int i = 0; i < reasons_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, reasons_.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.admin.TaskExecutionOuterClass.TaskExecutionClosure)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure) obj; - - if (phase_ != other.phase_) return false; - if (!getLogsList() - .equals(other.getLogsList())) return false; - if (hasStartedAt() != other.hasStartedAt()) return false; - if (hasStartedAt()) { - if (!getStartedAt() - .equals(other.getStartedAt())) return false; - } - if (hasDuration() != other.hasDuration()) return false; - if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; - } - if (hasCreatedAt() != other.hasCreatedAt()) return false; - if (hasCreatedAt()) { - if (!getCreatedAt() - .equals(other.getCreatedAt())) return false; - } - if (hasUpdatedAt() != other.hasUpdatedAt()) return false; - if (hasUpdatedAt()) { - if (!getUpdatedAt() - .equals(other.getUpdatedAt())) return false; - } - if (hasCustomInfo() != other.hasCustomInfo()) return false; - if (hasCustomInfo()) { - if (!getCustomInfo() - .equals(other.getCustomInfo())) return false; - } - if (!getReason() - .equals(other.getReason())) return false; - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (getEventVersion() - != other.getEventVersion()) return false; - if (!getReasonsList() - .equals(other.getReasonsList())) return false; - if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; - switch (outputResultCase_) { - case 1: - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - break; - case 2: - if (!getError() - .equals(other.getError())) return false; - break; - case 12: - if (!getOutputData() - .equals(other.getOutputData())) 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) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - if (getLogsCount() > 0) { - hash = (37 * hash) + LOGS_FIELD_NUMBER; - hash = (53 * hash) + getLogsList().hashCode(); - } - if (hasStartedAt()) { - hash = (37 * hash) + STARTED_AT_FIELD_NUMBER; - hash = (53 * hash) + getStartedAt().hashCode(); - } - if (hasDuration()) { - hash = (37 * hash) + DURATION_FIELD_NUMBER; - hash = (53 * hash) + getDuration().hashCode(); - } - if (hasCreatedAt()) { - hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getCreatedAt().hashCode(); - } - if (hasUpdatedAt()) { - hash = (37 * hash) + UPDATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getUpdatedAt().hashCode(); - } - if (hasCustomInfo()) { - hash = (37 * hash) + CUSTOM_INFO_FIELD_NUMBER; - hash = (53 * hash) + getCustomInfo().hashCode(); - } - hash = (37 * hash) + REASON_FIELD_NUMBER; - hash = (53 * hash) + getReason().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - hash = (37 * hash) + EVENT_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getEventVersion(); - if (getReasonsCount() > 0) { - hash = (37 * hash) + REASONS_FIELD_NUMBER; - hash = (53 * hash) + getReasonsList().hashCode(); - } - switch (outputResultCase_) { - case 1: - hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getOutputUri().hashCode(); - break; - case 2: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 12: - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure 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; - } - /** - *
-     * Container for task execution details and results.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionClosure) - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getLogsFieldBuilder(); - getReasonsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - phase_ = 0; - - if (logsBuilder_ == null) { - logs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - logsBuilder_.clear(); - } - if (startedAtBuilder_ == null) { - startedAt_ = null; - } else { - startedAt_ = null; - startedAtBuilder_ = null; - } - if (durationBuilder_ == null) { - duration_ = null; - } else { - duration_ = null; - durationBuilder_ = null; - } - if (createdAtBuilder_ == null) { - createdAt_ = null; - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - if (customInfoBuilder_ == null) { - customInfo_ = null; - } else { - customInfo_ = null; - customInfoBuilder_ = null; - } - reason_ = ""; - - taskType_ = ""; - - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - eventVersion_ = 0; - - if (reasonsBuilder_ == null) { - reasons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00004000); - } else { - reasonsBuilder_.clear(); - } - outputResultCase_ = 0; - outputResult_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure build() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (outputResultCase_ == 1) { - result.outputResult_ = outputResult_; - } - if (outputResultCase_ == 2) { - if (errorBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = errorBuilder_.build(); - } - } - if (outputResultCase_ == 12) { - if (outputDataBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = outputDataBuilder_.build(); - } - } - result.phase_ = phase_; - if (logsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - logs_ = java.util.Collections.unmodifiableList(logs_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.logs_ = logs_; - } else { - result.logs_ = logsBuilder_.build(); - } - if (startedAtBuilder_ == null) { - result.startedAt_ = startedAt_; - } else { - result.startedAt_ = startedAtBuilder_.build(); - } - if (durationBuilder_ == null) { - result.duration_ = duration_; - } else { - result.duration_ = durationBuilder_.build(); - } - if (createdAtBuilder_ == null) { - result.createdAt_ = createdAt_; - } else { - result.createdAt_ = createdAtBuilder_.build(); - } - if (updatedAtBuilder_ == null) { - result.updatedAt_ = updatedAt_; - } else { - result.updatedAt_ = updatedAtBuilder_.build(); - } - if (customInfoBuilder_ == null) { - result.customInfo_ = customInfo_; - } else { - result.customInfo_ = customInfoBuilder_.build(); - } - result.reason_ = reason_; - result.taskType_ = taskType_; - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - result.eventVersion_ = eventVersion_; - if (reasonsBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0)) { - reasons_ = java.util.Collections.unmodifiableList(reasons_); - bitField0_ = (bitField0_ & ~0x00004000); - } - result.reasons_ = reasons_; - } else { - result.reasons_ = reasonsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - result.outputResultCase_ = outputResultCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance()) return this; - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (logsBuilder_ == null) { - if (!other.logs_.isEmpty()) { - if (logs_.isEmpty()) { - logs_ = other.logs_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureLogsIsMutable(); - logs_.addAll(other.logs_); - } - onChanged(); - } - } else { - if (!other.logs_.isEmpty()) { - if (logsBuilder_.isEmpty()) { - logsBuilder_.dispose(); - logsBuilder_ = null; - logs_ = other.logs_; - bitField0_ = (bitField0_ & ~0x00000010); - logsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLogsFieldBuilder() : null; - } else { - logsBuilder_.addAllMessages(other.logs_); - } - } - } - if (other.hasStartedAt()) { - mergeStartedAt(other.getStartedAt()); - } - if (other.hasDuration()) { - mergeDuration(other.getDuration()); - } - if (other.hasCreatedAt()) { - mergeCreatedAt(other.getCreatedAt()); - } - if (other.hasUpdatedAt()) { - mergeUpdatedAt(other.getUpdatedAt()); - } - if (other.hasCustomInfo()) { - mergeCustomInfo(other.getCustomInfo()); - } - if (!other.getReason().isEmpty()) { - reason_ = other.reason_; - onChanged(); - } - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.getEventVersion() != 0) { - setEventVersion(other.getEventVersion()); - } - if (reasonsBuilder_ == null) { - if (!other.reasons_.isEmpty()) { - if (reasons_.isEmpty()) { - reasons_ = other.reasons_; - bitField0_ = (bitField0_ & ~0x00004000); - } else { - ensureReasonsIsMutable(); - reasons_.addAll(other.reasons_); - } - onChanged(); - } - } else { - if (!other.reasons_.isEmpty()) { - if (reasonsBuilder_.isEmpty()) { - reasonsBuilder_.dispose(); - reasonsBuilder_ = null; - reasons_ = other.reasons_; - bitField0_ = (bitField0_ & ~0x00004000); - reasonsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReasonsFieldBuilder() : null; - } else { - reasonsBuilder_.addAllMessages(other.reasons_); - } - } - } - switch (other.getOutputResultCase()) { - case OUTPUT_URI: { - outputResultCase_ = 1; - outputResult_ = other.outputResult_; - onChanged(); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case OUTPUT_DATA: { - mergeOutputData(other.getOutputData()); - break; - } - case OUTPUTRESULT_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public Builder clearOutputResult() { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - /** - *
-       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (outputResultCase_ == 1) { - outputResult_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 1) { - ref = outputResult_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 1) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - outputResultCase_ = 1; - outputResult_ = value; - onChanged(); - return this; - } - /** - *
-       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputUri() { - if (outputResultCase_ == 1) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - return this; - } - /** - *
-       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * string output_uri = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - outputResultCase_ = 1; - outputResult_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> errorBuilder_; - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public boolean hasError() { - return outputResultCase_ == 2; - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } else { - if (outputResultCase_ == 2) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder setError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder setError( - flyteidl.core.Execution.ExecutionError.Builder builderForValue) { - if (errorBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder mergeError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2 && - outputResult_ != flyteidl.core.Execution.ExecutionError.getDefaultInstance()) { - outputResult_ = flyteidl.core.Execution.ExecutionError.newBuilder((flyteidl.core.Execution.ExecutionError) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 2) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - outputResultCase_ = 2; - return this; - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 2) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 2) { - outputResultCase_ = 0; - outputResult_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if ((outputResultCase_ == 2) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 2) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the task execution. Populated if the execution failed.
-       * 
- * - * .flyteidl.core.ExecutionError error = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(outputResultCase_ == 2)) { - outputResult_ = flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder>( - (flyteidl.core.Execution.ExecutionError) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 2; - onChanged();; - return errorBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputData() { - return outputResultCase_ == 12; - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 12) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (outputResultCase_ == 12) { - return outputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 12; - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 12; - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 12 && - outputResult_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - outputResult_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 12) { - outputDataBuilder_.mergeFrom(value); - } - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 12; - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 12) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 12) { - outputResultCase_ = 0; - outputResult_ = null; - } - outputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if ((outputResultCase_ == 12) && (outputDataBuilder_ != null)) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 12) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this task execution.
-       * DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 12 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - if (!(outputResultCase_ == 12)) { - outputResult_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 12; - onChanged();; - return outputDataBuilder_; - } - - private int phase_ = 0; - /** - *
-       * The last recorded phase for this task execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-       * The last recorded phase for this task execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - *
-       * The last recorded phase for this task execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - /** - *
-       * The last recorded phase for this task execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - public Builder setPhase(flyteidl.core.Execution.TaskExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * The last recorded phase for this task execution.
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 3; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private java.util.List logs_ = - java.util.Collections.emptyList(); - private void ensureLogsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - logs_ = new java.util.ArrayList(logs_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> logsBuilder_; - - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public java.util.List getLogsList() { - if (logsBuilder_ == null) { - return java.util.Collections.unmodifiableList(logs_); - } else { - return logsBuilder_.getMessageList(); - } - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public int getLogsCount() { - if (logsBuilder_ == null) { - return logs_.size(); - } else { - return logsBuilder_.getCount(); - } - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public flyteidl.core.Execution.TaskLog getLogs(int index) { - if (logsBuilder_ == null) { - return logs_.get(index); - } else { - return logsBuilder_.getMessage(index); - } - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder setLogs( - int index, flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.set(index, value); - onChanged(); - } else { - logsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder setLogs( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.set(index, builderForValue.build()); - onChanged(); - } else { - logsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder addLogs(flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.add(value); - onChanged(); - } else { - logsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder addLogs( - int index, flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.add(index, value); - onChanged(); - } else { - logsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder addLogs( - flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.add(builderForValue.build()); - onChanged(); - } else { - logsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder addLogs( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.add(index, builderForValue.build()); - onChanged(); - } else { - logsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder addAllLogs( - java.lang.Iterable values) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logs_); - onChanged(); - } else { - logsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder clearLogs() { - if (logsBuilder_ == null) { - logs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - logsBuilder_.clear(); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public Builder removeLogs(int index) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.remove(index); - onChanged(); - } else { - logsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public flyteidl.core.Execution.TaskLog.Builder getLogsBuilder( - int index) { - return getLogsFieldBuilder().getBuilder(index); - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index) { - if (logsBuilder_ == null) { - return logs_.get(index); } else { - return logsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public java.util.List - getLogsOrBuilderList() { - if (logsBuilder_ != null) { - return logsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(logs_); - } - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder() { - return getLogsFieldBuilder().addBuilder( - flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder( - int index) { - return getLogsFieldBuilder().addBuilder( - index, flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * Detailed log information output by the task execution.
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 4; - */ - public java.util.List - getLogsBuilderList() { - return getLogsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> - getLogsFieldBuilder() { - if (logsBuilder_ == null) { - logsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder>( - logs_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - logs_ = null; - } - return logsBuilder_; - } - - private com.google.protobuf.Timestamp startedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startedAtBuilder_; - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public boolean hasStartedAt() { - return startedAtBuilder_ != null || startedAt_ != null; - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.Timestamp getStartedAt() { - if (startedAtBuilder_ == null) { - return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } else { - return startedAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder setStartedAt(com.google.protobuf.Timestamp value) { - if (startedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - startedAt_ = value; - onChanged(); - } else { - startedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder setStartedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (startedAtBuilder_ == null) { - startedAt_ = builderForValue.build(); - onChanged(); - } else { - startedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder mergeStartedAt(com.google.protobuf.Timestamp value) { - if (startedAtBuilder_ == null) { - if (startedAt_ != null) { - startedAt_ = - com.google.protobuf.Timestamp.newBuilder(startedAt_).mergeFrom(value).buildPartial(); - } else { - startedAt_ = value; - } - onChanged(); - } else { - startedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public Builder clearStartedAt() { - if (startedAtBuilder_ == null) { - startedAt_ = null; - onChanged(); - } else { - startedAt_ = null; - startedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.Timestamp.Builder getStartedAtBuilder() { - - onChanged(); - return getStartedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { - if (startedAtBuilder_ != null) { - return startedAtBuilder_.getMessageOrBuilder(); - } else { - return startedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; - } - } - /** - *
-       * Time at which the task execution began running.
-       * 
- * - * .google.protobuf.Timestamp started_at = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartedAtFieldBuilder() { - if (startedAtBuilder_ == null) { - startedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartedAt(), - getParentForChildren(), - isClean()); - startedAt_ = null; - } - return startedAtBuilder_; - } - - private com.google.protobuf.Duration duration_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public boolean hasDuration() { - return durationBuilder_ != null || duration_ != null; - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration getDuration() { - if (durationBuilder_ == null) { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } else { - return durationBuilder_.getMessage(); - } - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder setDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - duration_ = value; - onChanged(); - } else { - durationBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { - if (durationBuilder_ == null) { - duration_ = builderForValue.build(); - onChanged(); - } else { - durationBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder mergeDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (duration_ != null) { - duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); - } else { - duration_ = value; - } - onChanged(); - } else { - durationBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public Builder clearDuration() { - if (durationBuilder_ == null) { - duration_ = null; - onChanged(); - } else { - duration_ = null; - durationBuilder_ = null; - } - - return this; - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration.Builder getDurationBuilder() { - - onChanged(); - return getDurationFieldBuilder().getBuilder(); - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - if (durationBuilder_ != null) { - return durationBuilder_.getMessageOrBuilder(); - } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - } - /** - *
-       * The amount of time the task execution spent running.
-       * 
- * - * .google.protobuf.Duration duration = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getDurationFieldBuilder() { - if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); - duration_ = null; - } - return durationBuilder_; - } - - private com.google.protobuf.Timestamp createdAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public boolean hasCreatedAt() { - return createdAtBuilder_ != null || createdAt_ != null; - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - if (createdAtBuilder_ == null) { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } else { - return createdAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder setCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createdAt_ = value; - onChanged(); - } else { - createdAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder setCreatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (createdAtBuilder_ == null) { - createdAt_ = builderForValue.build(); - onChanged(); - } else { - createdAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (createdAt_ != null) { - createdAt_ = - com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); - } else { - createdAt_ = value; - } - onChanged(); - } else { - createdAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public Builder clearCreatedAt() { - if (createdAtBuilder_ == null) { - createdAt_ = null; - onChanged(); - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { - - onChanged(); - return getCreatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - if (createdAtBuilder_ != null) { - return createdAtBuilder_.getMessageOrBuilder(); - } else { - return createdAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - } - /** - *
-       * Time at which the task execution was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreatedAtFieldBuilder() { - if (createdAtBuilder_ == null) { - createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreatedAt(), - getParentForChildren(), - isClean()); - createdAt_ = null; - } - return createdAtBuilder_; - } - - private com.google.protobuf.Timestamp updatedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_; - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public boolean hasUpdatedAt() { - return updatedAtBuilder_ != null || updatedAt_ != null; - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.Timestamp getUpdatedAt() { - if (updatedAtBuilder_ == null) { - return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } else { - return updatedAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder setUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updatedAt_ = value; - onChanged(); - } else { - updatedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder setUpdatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (updatedAtBuilder_ == null) { - updatedAt_ = builderForValue.build(); - onChanged(); - } else { - updatedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) { - if (updatedAtBuilder_ == null) { - if (updatedAt_ != null) { - updatedAt_ = - com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial(); - } else { - updatedAt_ = value; - } - onChanged(); - } else { - updatedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public Builder clearUpdatedAt() { - if (updatedAtBuilder_ == null) { - updatedAt_ = null; - onChanged(); - } else { - updatedAt_ = null; - updatedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() { - - onChanged(); - return getUpdatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { - if (updatedAtBuilder_ != null) { - return updatedAtBuilder_.getMessageOrBuilder(); - } else { - return updatedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; - } - } - /** - *
-       * Time at which the task execution was last updated.
-       * 
- * - * .google.protobuf.Timestamp updated_at = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdatedAtFieldBuilder() { - if (updatedAtBuilder_ == null) { - updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdatedAt(), - getParentForChildren(), - isClean()); - updatedAt_ = null; - } - return updatedAtBuilder_; - } - - private com.google.protobuf.Struct customInfo_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> customInfoBuilder_; - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public boolean hasCustomInfo() { - return customInfoBuilder_ != null || customInfo_ != null; - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public com.google.protobuf.Struct getCustomInfo() { - if (customInfoBuilder_ == null) { - return customInfo_ == null ? com.google.protobuf.Struct.getDefaultInstance() : customInfo_; - } else { - return customInfoBuilder_.getMessage(); - } - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public Builder setCustomInfo(com.google.protobuf.Struct value) { - if (customInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - customInfo_ = value; - onChanged(); - } else { - customInfoBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public Builder setCustomInfo( - com.google.protobuf.Struct.Builder builderForValue) { - if (customInfoBuilder_ == null) { - customInfo_ = builderForValue.build(); - onChanged(); - } else { - customInfoBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public Builder mergeCustomInfo(com.google.protobuf.Struct value) { - if (customInfoBuilder_ == null) { - if (customInfo_ != null) { - customInfo_ = - com.google.protobuf.Struct.newBuilder(customInfo_).mergeFrom(value).buildPartial(); - } else { - customInfo_ = value; - } - onChanged(); - } else { - customInfoBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public Builder clearCustomInfo() { - if (customInfoBuilder_ == null) { - customInfo_ = null; - onChanged(); - } else { - customInfo_ = null; - customInfoBuilder_ = null; - } - - return this; - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public com.google.protobuf.Struct.Builder getCustomInfoBuilder() { - - onChanged(); - return getCustomInfoFieldBuilder().getBuilder(); - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - public com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder() { - if (customInfoBuilder_ != null) { - return customInfoBuilder_.getMessageOrBuilder(); - } else { - return customInfo_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : customInfo_; - } - } - /** - *
-       * Custom data specific to the task plugin.
-       * 
- * - * .google.protobuf.Struct custom_info = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getCustomInfoFieldBuilder() { - if (customInfoBuilder_ == null) { - customInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getCustomInfo(), - getParentForChildren(), - isClean()); - customInfo_ = null; - } - return customInfoBuilder_; - } - - private java.lang.Object reason_ = ""; - /** - *
-       * If there is an explanation for the most recent phase transition, the reason will capture it.
-       * 
- * - * string reason = 10; - */ - public java.lang.String getReason() { - java.lang.Object ref = reason_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - reason_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * If there is an explanation for the most recent phase transition, the reason will capture it.
-       * 
- * - * string reason = 10; - */ - public com.google.protobuf.ByteString - getReasonBytes() { - java.lang.Object ref = reason_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - reason_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * If there is an explanation for the most recent phase transition, the reason will capture it.
-       * 
- * - * string reason = 10; - */ - public Builder setReason( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - reason_ = value; - onChanged(); - return this; - } - /** - *
-       * If there is an explanation for the most recent phase transition, the reason will capture it.
-       * 
- * - * string reason = 10; - */ - public Builder clearReason() { - - reason_ = getDefaultInstance().getReason(); - onChanged(); - return this; - } - /** - *
-       * If there is an explanation for the most recent phase transition, the reason will capture it.
-       * 
- * - * string reason = 10; - */ - public Builder setReasonBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - reason_ = value; - onChanged(); - return this; - } - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 11; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 11; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 11; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 11; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 11; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private flyteidl.event.Event.TaskExecutionMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionMetadata, flyteidl.event.Event.TaskExecutionMetadata.Builder, flyteidl.event.Event.TaskExecutionMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder setMetadata(flyteidl.event.Event.TaskExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder setMetadata( - flyteidl.event.Event.TaskExecutionMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder mergeMetadata(flyteidl.event.Event.TaskExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.event.Event.TaskExecutionMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionMetadata, flyteidl.event.Event.TaskExecutionMetadata.Builder, flyteidl.event.Event.TaskExecutionMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionMetadata, flyteidl.event.Event.TaskExecutionMetadata.Builder, flyteidl.event.Event.TaskExecutionMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private int eventVersion_ ; - /** - *
-       * The event version is used to indicate versioned changes in how data is maintained using this
-       * proto message. For example, event_verison > 0 means that maps tasks logs use the
-       * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-       * in this message.
-       * 
- * - * int32 event_version = 17; - */ - public int getEventVersion() { - return eventVersion_; - } - /** - *
-       * The event version is used to indicate versioned changes in how data is maintained using this
-       * proto message. For example, event_verison > 0 means that maps tasks logs use the
-       * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-       * in this message.
-       * 
- * - * int32 event_version = 17; - */ - public Builder setEventVersion(int value) { - - eventVersion_ = value; - onChanged(); - return this; - } - /** - *
-       * The event version is used to indicate versioned changes in how data is maintained using this
-       * proto message. For example, event_verison > 0 means that maps tasks logs use the
-       * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-       * in this message.
-       * 
- * - * int32 event_version = 17; - */ - public Builder clearEventVersion() { - - eventVersion_ = 0; - onChanged(); - return this; - } - - private java.util.List reasons_ = - java.util.Collections.emptyList(); - private void ensureReasonsIsMutable() { - if (!((bitField0_ & 0x00004000) != 0)) { - reasons_ = new java.util.ArrayList(reasons_); - bitField0_ |= 0x00004000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.Reason, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder, flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder> reasonsBuilder_; - - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public java.util.List getReasonsList() { - if (reasonsBuilder_ == null) { - return java.util.Collections.unmodifiableList(reasons_); - } else { - return reasonsBuilder_.getMessageList(); - } - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public int getReasonsCount() { - if (reasonsBuilder_ == null) { - return reasons_.size(); - } else { - return reasonsBuilder_.getCount(); - } - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public flyteidl.admin.TaskExecutionOuterClass.Reason getReasons(int index) { - if (reasonsBuilder_ == null) { - return reasons_.get(index); - } else { - return reasonsBuilder_.getMessage(index); - } - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder setReasons( - int index, flyteidl.admin.TaskExecutionOuterClass.Reason value) { - if (reasonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReasonsIsMutable(); - reasons_.set(index, value); - onChanged(); - } else { - reasonsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder setReasons( - int index, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder builderForValue) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.set(index, builderForValue.build()); - onChanged(); - } else { - reasonsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder addReasons(flyteidl.admin.TaskExecutionOuterClass.Reason value) { - if (reasonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReasonsIsMutable(); - reasons_.add(value); - onChanged(); - } else { - reasonsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder addReasons( - int index, flyteidl.admin.TaskExecutionOuterClass.Reason value) { - if (reasonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReasonsIsMutable(); - reasons_.add(index, value); - onChanged(); - } else { - reasonsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder addReasons( - flyteidl.admin.TaskExecutionOuterClass.Reason.Builder builderForValue) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.add(builderForValue.build()); - onChanged(); - } else { - reasonsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder addReasons( - int index, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder builderForValue) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.add(index, builderForValue.build()); - onChanged(); - } else { - reasonsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder addAllReasons( - java.lang.Iterable values) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reasons_); - onChanged(); - } else { - reasonsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder clearReasons() { - if (reasonsBuilder_ == null) { - reasons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00004000); - onChanged(); - } else { - reasonsBuilder_.clear(); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public Builder removeReasons(int index) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.remove(index); - onChanged(); - } else { - reasonsBuilder_.remove(index); - } - return this; - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public flyteidl.admin.TaskExecutionOuterClass.Reason.Builder getReasonsBuilder( - int index) { - return getReasonsFieldBuilder().getBuilder(index); - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder getReasonsOrBuilder( - int index) { - if (reasonsBuilder_ == null) { - return reasons_.get(index); } else { - return reasonsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public java.util.List - getReasonsOrBuilderList() { - if (reasonsBuilder_ != null) { - return reasonsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(reasons_); - } - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public flyteidl.admin.TaskExecutionOuterClass.Reason.Builder addReasonsBuilder() { - return getReasonsFieldBuilder().addBuilder( - flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance()); - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public flyteidl.admin.TaskExecutionOuterClass.Reason.Builder addReasonsBuilder( - int index) { - return getReasonsFieldBuilder().addBuilder( - index, flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance()); - } - /** - *
-       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
-       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
-       * 
- * - * repeated .flyteidl.admin.Reason reasons = 18; - */ - public java.util.List - getReasonsBuilderList() { - return getReasonsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.Reason, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder, flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder> - getReasonsFieldBuilder() { - if (reasonsBuilder_ == null) { - reasonsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskExecutionOuterClass.Reason, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder, flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder>( - reasons_, - ((bitField0_ & 0x00004000) != 0), - getParentForChildren(), - isClean()); - reasons_ = null; - } - return reasonsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionClosure) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionClosure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ReasonOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Reason) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * occurred_at is the timestamp indicating the instant that this reason happened.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - boolean hasOccurredAt(); - /** - *
-     * occurred_at is the timestamp indicating the instant that this reason happened.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - com.google.protobuf.Timestamp getOccurredAt(); - /** - *
-     * occurred_at is the timestamp indicating the instant that this reason happened.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder(); - - /** - *
-     * message is the explanation for the most recent phase transition or status update.
-     * 
- * - * string message = 2; - */ - java.lang.String getMessage(); - /** - *
-     * message is the explanation for the most recent phase transition or status update.
-     * 
- * - * string message = 2; - */ - com.google.protobuf.ByteString - getMessageBytes(); - } - /** - *
-   * Reason is a single message annotated with a timestamp to indicate the instant the reason occurred.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Reason} - */ - public static final class Reason extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Reason) - ReasonOrBuilder { - private static final long serialVersionUID = 0L; - // Use Reason.newBuilder() to construct. - private Reason(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Reason() { - message_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Reason( - 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: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (occurredAt_ != null) { - subBuilder = occurredAt_.toBuilder(); - } - occurredAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(occurredAt_); - occurredAt_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - message_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.Reason.class, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder.class); - } - - public static final int OCCURRED_AT_FIELD_NUMBER = 1; - private com.google.protobuf.Timestamp occurredAt_; - /** - *
-     * occurred_at is the timestamp indicating the instant that this reason happened.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public boolean hasOccurredAt() { - return occurredAt_ != null; - } - /** - *
-     * occurred_at is the timestamp indicating the instant that this reason happened.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - /** - *
-     * occurred_at is the timestamp indicating the instant that this reason happened.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - return getOccurredAt(); - } - - public static final int MESSAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object message_; - /** - *
-     * message is the explanation for the most recent phase transition or status update.
-     * 
- * - * 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; - } - } - /** - *
-     * message is the explanation for the most recent phase transition or status update.
-     * 
- * - * 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; - } - } - - 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 (occurredAt_ != null) { - output.writeMessage(1, getOccurredAt()); - } - if (!getMessageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (occurredAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOccurredAt()); - } - if (!getMessageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.Reason)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.Reason other = (flyteidl.admin.TaskExecutionOuterClass.Reason) obj; - - if (hasOccurredAt() != other.hasOccurredAt()) return false; - if (hasOccurredAt()) { - if (!getOccurredAt() - .equals(other.getOccurredAt())) return false; - } - if (!getMessage() - .equals(other.getMessage())) 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 (hasOccurredAt()) { - hash = (37 * hash) + OCCURRED_AT_FIELD_NUMBER; - hash = (53 * hash) + getOccurredAt().hashCode(); - } - hash = (37 * hash) + MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getMessage().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.Reason 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; - } - /** - *
-     * Reason is a single message annotated with a timestamp to indicate the instant the reason occurred.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Reason} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Reason) - flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.Reason.class, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.Reason.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 (occurredAtBuilder_ == null) { - occurredAt_ = null; - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - message_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.Reason getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.Reason build() { - flyteidl.admin.TaskExecutionOuterClass.Reason result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.Reason buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.Reason result = new flyteidl.admin.TaskExecutionOuterClass.Reason(this); - if (occurredAtBuilder_ == null) { - result.occurredAt_ = occurredAt_; - } else { - result.occurredAt_ = occurredAtBuilder_.build(); - } - result.message_ = message_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.Reason) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.Reason)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.Reason other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance()) return this; - if (other.hasOccurredAt()) { - mergeOccurredAt(other.getOccurredAt()); - } - if (!other.getMessage().isEmpty()) { - message_ = other.message_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.Reason parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.Reason) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.protobuf.Timestamp occurredAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_; - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public boolean hasOccurredAt() { - return occurredAtBuilder_ != null || occurredAt_ != null; - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - if (occurredAtBuilder_ == null) { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } else { - return occurredAtBuilder_.getMessage(); - } - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public Builder setOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - occurredAt_ = value; - onChanged(); - } else { - occurredAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public Builder setOccurredAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (occurredAtBuilder_ == null) { - occurredAt_ = builderForValue.build(); - onChanged(); - } else { - occurredAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public Builder mergeOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (occurredAt_ != null) { - occurredAt_ = - com.google.protobuf.Timestamp.newBuilder(occurredAt_).mergeFrom(value).buildPartial(); - } else { - occurredAt_ = value; - } - onChanged(); - } else { - occurredAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public Builder clearOccurredAt() { - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - onChanged(); - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - - return this; - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder() { - - onChanged(); - return getOccurredAtFieldBuilder().getBuilder(); - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - if (occurredAtBuilder_ != null) { - return occurredAtBuilder_.getMessageOrBuilder(); - } else { - return occurredAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - } - /** - *
-       * occurred_at is the timestamp indicating the instant that this reason happened.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getOccurredAtFieldBuilder() { - if (occurredAtBuilder_ == null) { - occurredAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOccurredAt(), - getParentForChildren(), - isClean()); - occurredAt_ = null; - } - return occurredAtBuilder_; - } - - private java.lang.Object message_ = ""; - /** - *
-       * message is the explanation for the most recent phase transition or status update.
-       * 
- * - * 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; - } - } - /** - *
-       * message is the explanation for the most recent phase transition or status update.
-       * 
- * - * 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; - } - } - /** - *
-       * message is the explanation for the most recent phase transition or status update.
-       * 
- * - * string message = 2; - */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - message_ = value; - onChanged(); - return this; - } - /** - *
-       * message is the explanation for the most recent phase transition or status update.
-       * 
- * - * string message = 2; - */ - public Builder clearMessage() { - - message_ = getDefaultInstance().getMessage(); - onChanged(); - return this; - } - /** - *
-       * message is the explanation for the most recent phase transition or status update.
-       * 
- * - * string message = 2; - */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - message_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Reason) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Reason) - private static final flyteidl.admin.TaskExecutionOuterClass.Reason DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.Reason(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.Reason getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Reason parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Reason(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.Reason getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionGetDataRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetDataRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * Request structure to fetch inputs and output for a task execution.
-   * By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest`
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataRequest} - */ - public static final class TaskExecutionGetDataRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetDataRequest) - TaskExecutionGetDataRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionGetDataRequest.newBuilder() to construct. - private TaskExecutionGetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionGetDataRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionGetDataRequest( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest 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 structure to fetch inputs and output for a task execution.
-     * By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest`
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionGetDataRequest) - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest build() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * The identifier of the task execution for which to fetch inputs and outputs.
-       * +required
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionGetDataRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetDataRequest) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionGetDataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionGetDataRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionGetDataResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetDataResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasInputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlob getInputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder(); - - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasOutputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlob getOutputs(); - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder(); - - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - boolean hasFullInputs(); - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - flyteidl.core.Literals.LiteralMap getFullInputs(); - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder(); - - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - boolean hasFullOutputs(); - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - flyteidl.core.Literals.LiteralMap getFullOutputs(); - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder(); - - /** - *
-     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-     * Deck will be empty for task
-     * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - boolean hasFlyteUrls(); - /** - *
-     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-     * Deck will be empty for task
-     * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - flyteidl.admin.Common.FlyteURLs getFlyteUrls(); - /** - *
-     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-     * Deck will be empty for task
-     * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder(); - } - /** - *
-   * Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataResponse} - */ - public static final class TaskExecutionGetDataResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetDataResponse) - TaskExecutionGetDataResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionGetDataResponse.newBuilder() to construct. - private TaskExecutionGetDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionGetDataResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionGetDataResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; - if (outputs_ != null) { - subBuilder = outputs_.toBuilder(); - } - outputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputs_); - outputs_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (fullInputs_ != null) { - subBuilder = fullInputs_.toBuilder(); - } - fullInputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fullInputs_); - fullInputs_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (fullOutputs_ != null) { - subBuilder = fullOutputs_.toBuilder(); - } - fullOutputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fullOutputs_); - fullOutputs_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.admin.Common.FlyteURLs.Builder subBuilder = null; - if (flyteUrls_ != null) { - subBuilder = flyteUrls_.toBuilder(); - } - flyteUrls_ = input.readMessage(flyteidl.admin.Common.FlyteURLs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(flyteUrls_); - flyteUrls_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.Builder.class); - } - - public static final int INPUTS_FIELD_NUMBER = 1; - private flyteidl.admin.Common.UrlBlob inputs_; - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputs_ != null; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getInputs() { - return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution inputs.
-     * Deprecated: Please use full_inputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int OUTPUTS_FIELD_NUMBER = 2; - private flyteidl.admin.Common.UrlBlob outputs_; - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputs_ != null; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getOutputs() { - return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } - /** - *
-     * Signed url to fetch a core.LiteralMap of task execution outputs.
-     * Deprecated: Please use full_outputs instead.
-     * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { - return getOutputs(); - } - - public static final int FULL_INPUTS_FIELD_NUMBER = 3; - private flyteidl.core.Literals.LiteralMap fullInputs_; - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public boolean hasFullInputs() { - return fullInputs_ != null; - } - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap getFullInputs() { - return fullInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } - /** - *
-     * Full_inputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder() { - return getFullInputs(); - } - - public static final int FULL_OUTPUTS_FIELD_NUMBER = 4; - private flyteidl.core.Literals.LiteralMap fullOutputs_; - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public boolean hasFullOutputs() { - return fullOutputs_ != null; - } - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFullOutputs() { - return fullOutputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } - /** - *
-     * Full_outputs will only be populated if they are under a configured size threshold.
-     * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() { - return getFullOutputs(); - } - - public static final int FLYTE_URLS_FIELD_NUMBER = 5; - private flyteidl.admin.Common.FlyteURLs flyteUrls_; - /** - *
-     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-     * Deck will be empty for task
-     * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public boolean hasFlyteUrls() { - return flyteUrls_ != null; - } - /** - *
-     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-     * Deck will be empty for task
-     * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public flyteidl.admin.Common.FlyteURLs getFlyteUrls() { - return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; - } - /** - *
-     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-     * Deck will be empty for task
-     * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() { - return getFlyteUrls(); - } - - 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 (inputs_ != null) { - output.writeMessage(1, getInputs()); - } - if (outputs_ != null) { - output.writeMessage(2, getOutputs()); - } - if (fullInputs_ != null) { - output.writeMessage(3, getFullInputs()); - } - if (fullOutputs_ != null) { - output.writeMessage(4, getFullOutputs()); - } - if (flyteUrls_ != null) { - output.writeMessage(5, getFlyteUrls()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInputs()); - } - if (outputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputs()); - } - if (fullInputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getFullInputs()); - } - if (fullOutputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getFullOutputs()); - } - if (flyteUrls_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFlyteUrls()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse)) { - return super.equals(obj); - } - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse) obj; - - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (hasOutputs() != other.hasOutputs()) return false; - if (hasOutputs()) { - if (!getOutputs() - .equals(other.getOutputs())) return false; - } - if (hasFullInputs() != other.hasFullInputs()) return false; - if (hasFullInputs()) { - if (!getFullInputs() - .equals(other.getFullInputs())) return false; - } - if (hasFullOutputs() != other.hasFullOutputs()) return false; - if (hasFullOutputs()) { - if (!getFullOutputs() - .equals(other.getFullOutputs())) return false; - } - if (hasFlyteUrls() != other.hasFlyteUrls()) return false; - if (hasFlyteUrls()) { - if (!getFlyteUrls() - .equals(other.getFlyteUrls())) 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 (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - if (hasOutputs()) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - } - if (hasFullInputs()) { - hash = (37 * hash) + FULL_INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getFullInputs().hashCode(); - } - if (hasFullOutputs()) { - hash = (37 * hash) + FULL_OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getFullOutputs().hashCode(); - } - if (hasFlyteUrls()) { - hash = (37 * hash) + FLYTE_URLS_FIELD_NUMBER; - hash = (53 * hash) + getFlyteUrls().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse 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 structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionGetDataResponse) - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.Builder.class); - } - - // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.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 (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - if (outputsBuilder_ == null) { - outputs_ = null; - } else { - outputs_ = null; - outputsBuilder_ = null; - } - if (fullInputsBuilder_ == null) { - fullInputs_ = null; - } else { - fullInputs_ = null; - fullInputsBuilder_ = null; - } - if (fullOutputsBuilder_ == null) { - fullOutputs_ = null; - } else { - fullOutputs_ = null; - fullOutputsBuilder_ = null; - } - if (flyteUrlsBuilder_ == null) { - flyteUrls_ = null; - } else { - flyteUrls_ = null; - flyteUrlsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDefaultInstanceForType() { - return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse build() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse buildPartial() { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse(this); - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (outputsBuilder_ == null) { - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.build(); - } - if (fullInputsBuilder_ == null) { - result.fullInputs_ = fullInputs_; - } else { - result.fullInputs_ = fullInputsBuilder_.build(); - } - if (fullOutputsBuilder_ == null) { - result.fullOutputs_ = fullOutputs_; - } else { - result.fullOutputs_ = fullOutputsBuilder_.build(); - } - if (flyteUrlsBuilder_ == null) { - result.flyteUrls_ = flyteUrls_; - } else { - result.flyteUrls_ = flyteUrlsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse) { - return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse other) { - if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.getDefaultInstance()) return this; - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (other.hasOutputs()) { - mergeOutputs(other.getOutputs()); - } - if (other.hasFullInputs()) { - mergeFullInputs(other.getFullInputs()); - } - if (other.hasFullOutputs()) { - mergeFullOutputs(other.getFullOutputs()); - } - if (other.hasFlyteUrls()) { - mergeFlyteUrls(other.getFlyteUrls()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.Common.UrlBlob inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> inputsBuilder_; - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs(flyteidl.admin.Common.UrlBlob value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setInputs( - flyteidl.admin.Common.UrlBlob.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeInputs(flyteidl.admin.Common.UrlBlob value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.admin.Common.UrlBlob.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution inputs.
-       * Deprecated: Please use full_inputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob inputs = 1 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private flyteidl.admin.Common.UrlBlob outputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> outputsBuilder_; - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasOutputs() { - return outputsBuilder_ != null || outputs_ != null; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob getOutputs() { - if (outputsBuilder_ == null) { - return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } else { - return outputsBuilder_.getMessage(); - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs(flyteidl.admin.Common.UrlBlob value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputs_ = value; - onChanged(); - } else { - outputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setOutputs( - flyteidl.admin.Common.UrlBlob.Builder builderForValue) { - if (outputsBuilder_ == null) { - outputs_ = builderForValue.build(); - onChanged(); - } else { - outputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeOutputs(flyteidl.admin.Common.UrlBlob value) { - if (outputsBuilder_ == null) { - if (outputs_ != null) { - outputs_ = - flyteidl.admin.Common.UrlBlob.newBuilder(outputs_).mergeFrom(value).buildPartial(); - } else { - outputs_ = value; - } - onChanged(); - } else { - outputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = null; - onChanged(); - } else { - outputs_ = null; - outputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlob.Builder getOutputsBuilder() { - - onChanged(); - return getOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilder(); - } else { - return outputs_ == null ? - flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; - } - } - /** - *
-       * Signed url to fetch a core.LiteralMap of task execution outputs.
-       * Deprecated: Please use full_outputs instead.
-       * 
- * - * .flyteidl.admin.UrlBlob outputs = 2 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( - getOutputs(), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - - private flyteidl.core.Literals.LiteralMap fullInputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> fullInputsBuilder_; - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public boolean hasFullInputs() { - return fullInputsBuilder_ != null || fullInputs_ != null; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap getFullInputs() { - if (fullInputsBuilder_ == null) { - return fullInputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } else { - return fullInputsBuilder_.getMessage(); - } - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder setFullInputs(flyteidl.core.Literals.LiteralMap value) { - if (fullInputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fullInputs_ = value; - onChanged(); - } else { - fullInputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder setFullInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (fullInputsBuilder_ == null) { - fullInputs_ = builderForValue.build(); - onChanged(); - } else { - fullInputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder mergeFullInputs(flyteidl.core.Literals.LiteralMap value) { - if (fullInputsBuilder_ == null) { - if (fullInputs_ != null) { - fullInputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(fullInputs_).mergeFrom(value).buildPartial(); - } else { - fullInputs_ = value; - } - onChanged(); - } else { - fullInputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public Builder clearFullInputs() { - if (fullInputsBuilder_ == null) { - fullInputs_ = null; - onChanged(); - } else { - fullInputs_ = null; - fullInputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMap.Builder getFullInputsBuilder() { - - onChanged(); - return getFullInputsFieldBuilder().getBuilder(); - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullInputsOrBuilder() { - if (fullInputsBuilder_ != null) { - return fullInputsBuilder_.getMessageOrBuilder(); - } else { - return fullInputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullInputs_; - } - } - /** - *
-       * Full_inputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_inputs = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getFullInputsFieldBuilder() { - if (fullInputsBuilder_ == null) { - fullInputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getFullInputs(), - getParentForChildren(), - isClean()); - fullInputs_ = null; - } - return fullInputsBuilder_; - } - - private flyteidl.core.Literals.LiteralMap fullOutputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> fullOutputsBuilder_; - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public boolean hasFullOutputs() { - return fullOutputsBuilder_ != null || fullOutputs_ != null; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap getFullOutputs() { - if (fullOutputsBuilder_ == null) { - return fullOutputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } else { - return fullOutputsBuilder_.getMessage(); - } - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder setFullOutputs(flyteidl.core.Literals.LiteralMap value) { - if (fullOutputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - fullOutputs_ = value; - onChanged(); - } else { - fullOutputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder setFullOutputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (fullOutputsBuilder_ == null) { - fullOutputs_ = builderForValue.build(); - onChanged(); - } else { - fullOutputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder mergeFullOutputs(flyteidl.core.Literals.LiteralMap value) { - if (fullOutputsBuilder_ == null) { - if (fullOutputs_ != null) { - fullOutputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(fullOutputs_).mergeFrom(value).buildPartial(); - } else { - fullOutputs_ = value; - } - onChanged(); - } else { - fullOutputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public Builder clearFullOutputs() { - if (fullOutputsBuilder_ == null) { - fullOutputs_ = null; - onChanged(); - } else { - fullOutputs_ = null; - fullOutputsBuilder_ = null; - } - - return this; - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMap.Builder getFullOutputsBuilder() { - - onChanged(); - return getFullOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() { - if (fullOutputsBuilder_ != null) { - return fullOutputsBuilder_.getMessageOrBuilder(); - } else { - return fullOutputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : fullOutputs_; - } - } - /** - *
-       * Full_outputs will only be populated if they are under a configured size threshold.
-       * 
- * - * .flyteidl.core.LiteralMap full_outputs = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getFullOutputsFieldBuilder() { - if (fullOutputsBuilder_ == null) { - fullOutputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getFullOutputs(), - getParentForChildren(), - isClean()); - fullOutputs_ = null; - } - return fullOutputsBuilder_; - } - - private flyteidl.admin.Common.FlyteURLs flyteUrls_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> flyteUrlsBuilder_; - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public boolean hasFlyteUrls() { - return flyteUrlsBuilder_ != null || flyteUrls_ != null; - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public flyteidl.admin.Common.FlyteURLs getFlyteUrls() { - if (flyteUrlsBuilder_ == null) { - return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; - } else { - return flyteUrlsBuilder_.getMessage(); - } - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public Builder setFlyteUrls(flyteidl.admin.Common.FlyteURLs value) { - if (flyteUrlsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - flyteUrls_ = value; - onChanged(); - } else { - flyteUrlsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public Builder setFlyteUrls( - flyteidl.admin.Common.FlyteURLs.Builder builderForValue) { - if (flyteUrlsBuilder_ == null) { - flyteUrls_ = builderForValue.build(); - onChanged(); - } else { - flyteUrlsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public Builder mergeFlyteUrls(flyteidl.admin.Common.FlyteURLs value) { - if (flyteUrlsBuilder_ == null) { - if (flyteUrls_ != null) { - flyteUrls_ = - flyteidl.admin.Common.FlyteURLs.newBuilder(flyteUrls_).mergeFrom(value).buildPartial(); - } else { - flyteUrls_ = value; - } - onChanged(); - } else { - flyteUrlsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public Builder clearFlyteUrls() { - if (flyteUrlsBuilder_ == null) { - flyteUrls_ = null; - onChanged(); - } else { - flyteUrls_ = null; - flyteUrlsBuilder_ = null; - } - - return this; - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public flyteidl.admin.Common.FlyteURLs.Builder getFlyteUrlsBuilder() { - - onChanged(); - return getFlyteUrlsFieldBuilder().getBuilder(); - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() { - if (flyteUrlsBuilder_ != null) { - return flyteUrlsBuilder_.getMessageOrBuilder(); - } else { - return flyteUrls_ == null ? - flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; - } - } - /** - *
-       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
-       * Deck will be empty for task
-       * 
- * - * .flyteidl.admin.FlyteURLs flyte_urls = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> - getFlyteUrlsFieldBuilder() { - if (flyteUrlsBuilder_ == null) { - flyteUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder>( - getFlyteUrls(), - getParentForChildren(), - isClean()); - flyteUrls_ = null; - } - return flyteUrlsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionGetDataResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetDataResponse) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionGetDataResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionGetDataResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Reason_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Reason_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#flyteidl/admin/task_execution.proto\022\016f" + - "lyteidl.admin\032\033flyteidl/admin/common.pro" + - "to\032\035flyteidl/core/execution.proto\032\036flyte" + - "idl/core/identifier.proto\032\034flyteidl/core" + - "/literals.proto\032\032flyteidl/event/event.pr" + - "oto\032\037google/protobuf/timestamp.proto\032\036go" + - "ogle/protobuf/duration.proto\032\034google/pro" + - "tobuf/struct.proto\"M\n\027TaskExecutionGetRe" + - "quest\0222\n\002id\030\001 \001(\0132&.flyteidl.core.TaskEx" + - "ecutionIdentifier\"\263\001\n\030TaskExecutionListR" + - "equest\022A\n\021node_execution_id\030\001 \001(\0132&.flyt" + - "eidl.core.NodeExecutionIdentifier\022\r\n\005lim" + - "it\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filters\030\004 \001(\t" + - "\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort\"" + - "\240\001\n\rTaskExecution\0222\n\002id\030\001 \001(\0132&.flyteidl" + - ".core.TaskExecutionIdentifier\022\021\n\tinput_u" + - "ri\030\002 \001(\t\0225\n\007closure\030\003 \001(\0132$.flyteidl.adm" + - "in.TaskExecutionClosure\022\021\n\tis_parent\030\004 \001" + - "(\010\"Z\n\021TaskExecutionList\0226\n\017task_executio" + - "ns\030\001 \003(\0132\035.flyteidl.admin.TaskExecution\022" + - "\r\n\005token\030\002 \001(\t\"\207\005\n\024TaskExecutionClosure\022" + - "\030\n\noutput_uri\030\001 \001(\tB\002\030\001H\000\022.\n\005error\030\002 \001(\013" + - "2\035.flyteidl.core.ExecutionErrorH\000\0224\n\013out" + - "put_data\030\014 \001(\0132\031.flyteidl.core.LiteralMa" + - "pB\002\030\001H\000\0221\n\005phase\030\003 \001(\0162\".flyteidl.core.T" + - "askExecution.Phase\022$\n\004logs\030\004 \003(\0132\026.flyte" + - "idl.core.TaskLog\022.\n\nstarted_at\030\005 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022+\n\010duration\030\006 \001" + - "(\0132\031.google.protobuf.Duration\022.\n\ncreated" + - "_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022.\n" + - "\nupdated_at\030\010 \001(\0132\032.google.protobuf.Time" + - "stamp\022,\n\013custom_info\030\t \001(\0132\027.google.prot" + - "obuf.Struct\022\016\n\006reason\030\n \001(\t\022\021\n\ttask_type" + - "\030\013 \001(\t\0227\n\010metadata\030\020 \001(\0132%.flyteidl.even" + - "t.TaskExecutionMetadata\022\025\n\revent_version" + - "\030\021 \001(\005\022\'\n\007reasons\030\022 \003(\0132\026.flyteidl.admin" + - ".ReasonB\017\n\routput_result\"J\n\006Reason\022/\n\013oc" + - "curred_at\030\001 \001(\0132\032.google.protobuf.Timest" + - "amp\022\017\n\007message\030\002 \001(\t\"Q\n\033TaskExecutionGet" + - "DataRequest\0222\n\002id\030\001 \001(\0132&.flyteidl.core." + - "TaskExecutionIdentifier\"\211\002\n\034TaskExecutio" + - "nGetDataResponse\022+\n\006inputs\030\001 \001(\0132\027.flyte" + - "idl.admin.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(\0132\027" + - ".flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inpu" + - "ts\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014f" + - "ull_outputs\030\004 \001(\0132\031.flyteidl.core.Litera" + - "lMap\022-\n\nflyte_urls\030\005 \001(\0132\031.flyteidl.admi" + - "n.FlyteURLsB=Z;github.com/flyteorg/flyte" + - "/flyteidl/gen/pb-go/flyteidl/adminb\006prot" + - "o3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.Common.getDescriptor(), - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - flyteidl.event.Event.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor, - new java.lang.String[] { "NodeExecutionId", "Limit", "Token", "Filters", "SortBy", }); - internal_static_flyteidl_admin_TaskExecution_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecution_descriptor, - new java.lang.String[] { "Id", "InputUri", "Closure", "IsParent", }); - internal_static_flyteidl_admin_TaskExecutionList_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionList_descriptor, - new java.lang.String[] { "TaskExecutions", "Token", }); - internal_static_flyteidl_admin_TaskExecutionClosure_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionClosure_descriptor, - new java.lang.String[] { "OutputUri", "Error", "OutputData", "Phase", "Logs", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "CustomInfo", "Reason", "TaskType", "Metadata", "EventVersion", "Reasons", "OutputResult", }); - internal_static_flyteidl_admin_Reason_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_Reason_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Reason_descriptor, - new java.lang.String[] { "OccurredAt", "Message", }); - internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor, - new java.lang.String[] { "Inputs", "Outputs", "FullInputs", "FullOutputs", "FlyteUrls", }); - flyteidl.admin.Common.getDescriptor(); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - flyteidl.event.Event.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/TaskOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/TaskOuterClass.java deleted file mode 100644 index f238912262..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/TaskOuterClass.java +++ /dev/null @@ -1,5569 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/task.proto - -package flyteidl.admin; - -public final class TaskOuterClass { - private TaskOuterClass() {} - 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 TaskCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskCreateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the task.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the task.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * id represents the unique identifier of the task.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Represents the specification for task.
-     * +required
-     * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - boolean hasSpec(); - /** - *
-     * Represents the specification for task.
-     * +required
-     * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - flyteidl.admin.TaskOuterClass.TaskSpec getSpec(); - /** - *
-     * Represents the specification for task.
-     * +required
-     * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - flyteidl.admin.TaskOuterClass.TaskSpecOrBuilder getSpecOrBuilder(); - } - /** - *
-   * Represents a request structure to create a revision of a task.
-   * See :ref:`ref_flyteidl.admin.Task` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskCreateRequest} - */ - public static final class TaskCreateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskCreateRequest) - TaskCreateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskCreateRequest.newBuilder() to construct. - private TaskCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskCreateRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskCreateRequest( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.TaskOuterClass.TaskSpec.Builder subBuilder = null; - if (spec_ != null) { - subBuilder = spec_.toBuilder(); - } - spec_ = input.readMessage(flyteidl.admin.TaskOuterClass.TaskSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(spec_); - spec_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskCreateRequest.class, flyteidl.admin.TaskOuterClass.TaskCreateRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * id represents the unique identifier of the task.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the task.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the task.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int SPEC_FIELD_NUMBER = 2; - private flyteidl.admin.TaskOuterClass.TaskSpec spec_; - /** - *
-     * Represents the specification for task.
-     * +required
-     * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public boolean hasSpec() { - return spec_ != null; - } - /** - *
-     * Represents the specification for task.
-     * +required
-     * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskSpec getSpec() { - return spec_ == null ? flyteidl.admin.TaskOuterClass.TaskSpec.getDefaultInstance() : spec_; - } - /** - *
-     * Represents the specification for task.
-     * +required
-     * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskSpecOrBuilder getSpecOrBuilder() { - return getSpec(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (spec_ != null) { - output.writeMessage(2, getSpec()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (spec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSpec()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskOuterClass.TaskCreateRequest)) { - return super.equals(obj); - } - flyteidl.admin.TaskOuterClass.TaskCreateRequest other = (flyteidl.admin.TaskOuterClass.TaskCreateRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasSpec() != other.hasSpec()) return false; - if (hasSpec()) { - if (!getSpec() - .equals(other.getSpec())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasSpec()) { - hash = (37 * hash) + SPEC_FIELD_NUMBER; - hash = (53 * hash) + getSpec().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskOuterClass.TaskCreateRequest 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; - } - /** - *
-     * Represents a request structure to create a revision of a task.
-     * See :ref:`ref_flyteidl.admin.Task` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskCreateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskCreateRequest) - flyteidl.admin.TaskOuterClass.TaskCreateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskCreateRequest.class, flyteidl.admin.TaskOuterClass.TaskCreateRequest.Builder.class); - } - - // Construct using flyteidl.admin.TaskOuterClass.TaskCreateRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (specBuilder_ == null) { - spec_ = null; - } else { - spec_ = null; - specBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateRequest getDefaultInstanceForType() { - return flyteidl.admin.TaskOuterClass.TaskCreateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateRequest build() { - flyteidl.admin.TaskOuterClass.TaskCreateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateRequest buildPartial() { - flyteidl.admin.TaskOuterClass.TaskCreateRequest result = new flyteidl.admin.TaskOuterClass.TaskCreateRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (specBuilder_ == null) { - result.spec_ = spec_; - } else { - result.spec_ = specBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskOuterClass.TaskCreateRequest) { - return mergeFrom((flyteidl.admin.TaskOuterClass.TaskCreateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskOuterClass.TaskCreateRequest other) { - if (other == flyteidl.admin.TaskOuterClass.TaskCreateRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasSpec()) { - mergeSpec(other.getSpec()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskOuterClass.TaskCreateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskOuterClass.TaskCreateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the task.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.TaskOuterClass.TaskSpec spec_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskOuterClass.TaskSpec, flyteidl.admin.TaskOuterClass.TaskSpec.Builder, flyteidl.admin.TaskOuterClass.TaskSpecOrBuilder> specBuilder_; - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public boolean hasSpec() { - return specBuilder_ != null || spec_ != null; - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskSpec getSpec() { - if (specBuilder_ == null) { - return spec_ == null ? flyteidl.admin.TaskOuterClass.TaskSpec.getDefaultInstance() : spec_; - } else { - return specBuilder_.getMessage(); - } - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public Builder setSpec(flyteidl.admin.TaskOuterClass.TaskSpec value) { - if (specBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - spec_ = value; - onChanged(); - } else { - specBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public Builder setSpec( - flyteidl.admin.TaskOuterClass.TaskSpec.Builder builderForValue) { - if (specBuilder_ == null) { - spec_ = builderForValue.build(); - onChanged(); - } else { - specBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public Builder mergeSpec(flyteidl.admin.TaskOuterClass.TaskSpec value) { - if (specBuilder_ == null) { - if (spec_ != null) { - spec_ = - flyteidl.admin.TaskOuterClass.TaskSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); - } else { - spec_ = value; - } - onChanged(); - } else { - specBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public Builder clearSpec() { - if (specBuilder_ == null) { - spec_ = null; - onChanged(); - } else { - spec_ = null; - specBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskSpec.Builder getSpecBuilder() { - - onChanged(); - return getSpecFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskSpecOrBuilder getSpecOrBuilder() { - if (specBuilder_ != null) { - return specBuilder_.getMessageOrBuilder(); - } else { - return spec_ == null ? - flyteidl.admin.TaskOuterClass.TaskSpec.getDefaultInstance() : spec_; - } - } - /** - *
-       * Represents the specification for task.
-       * +required
-       * 
- * - * .flyteidl.admin.TaskSpec spec = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskOuterClass.TaskSpec, flyteidl.admin.TaskOuterClass.TaskSpec.Builder, flyteidl.admin.TaskOuterClass.TaskSpecOrBuilder> - getSpecFieldBuilder() { - if (specBuilder_ == null) { - specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskOuterClass.TaskSpec, flyteidl.admin.TaskOuterClass.TaskSpec.Builder, flyteidl.admin.TaskOuterClass.TaskSpecOrBuilder>( - getSpec(), - getParentForChildren(), - isClean()); - spec_ = null; - } - return specBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskCreateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskCreateRequest) - private static final flyteidl.admin.TaskOuterClass.TaskCreateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskOuterClass.TaskCreateRequest(); - } - - public static flyteidl.admin.TaskOuterClass.TaskCreateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskCreateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskCreateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskCreateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskCreateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Represents a response structure if task creation succeeds.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskCreateResponse} - */ - public static final class TaskCreateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskCreateResponse) - TaskCreateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskCreateResponse.newBuilder() to construct. - private TaskCreateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskCreateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskCreateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskCreateResponse.class, flyteidl.admin.TaskOuterClass.TaskCreateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskOuterClass.TaskCreateResponse)) { - return super.equals(obj); - } - flyteidl.admin.TaskOuterClass.TaskCreateResponse other = (flyteidl.admin.TaskOuterClass.TaskCreateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskOuterClass.TaskCreateResponse 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; - } - /** - *
-     * Represents a response structure if task creation succeeds.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskCreateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskCreateResponse) - flyteidl.admin.TaskOuterClass.TaskCreateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskCreateResponse.class, flyteidl.admin.TaskOuterClass.TaskCreateResponse.Builder.class); - } - - // Construct using flyteidl.admin.TaskOuterClass.TaskCreateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskCreateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateResponse getDefaultInstanceForType() { - return flyteidl.admin.TaskOuterClass.TaskCreateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateResponse build() { - flyteidl.admin.TaskOuterClass.TaskCreateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateResponse buildPartial() { - flyteidl.admin.TaskOuterClass.TaskCreateResponse result = new flyteidl.admin.TaskOuterClass.TaskCreateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskOuterClass.TaskCreateResponse) { - return mergeFrom((flyteidl.admin.TaskOuterClass.TaskCreateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskOuterClass.TaskCreateResponse other) { - if (other == flyteidl.admin.TaskOuterClass.TaskCreateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskOuterClass.TaskCreateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskOuterClass.TaskCreateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskCreateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskCreateResponse) - private static final flyteidl.admin.TaskOuterClass.TaskCreateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskOuterClass.TaskCreateResponse(); - } - - public static flyteidl.admin.TaskOuterClass.TaskCreateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskCreateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskCreateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskCreateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Task) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the task.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the task.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * id represents the unique identifier of the task.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the task.
-     * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - boolean hasClosure(); - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the task.
-     * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - flyteidl.admin.TaskOuterClass.TaskClosure getClosure(); - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the task.
-     * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - flyteidl.admin.TaskOuterClass.TaskClosureOrBuilder getClosureOrBuilder(); - - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - java.lang.String getShortDescription(); - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - com.google.protobuf.ByteString - getShortDescriptionBytes(); - } - /** - *
-   * Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks
-   * arranged to process workflow inputs and produce a deterministic set of outputs.
-   * Tasks can come in many varieties tuned for specialized behavior. 
-   * 
- * - * Protobuf type {@code flyteidl.admin.Task} - */ - public static final class Task extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Task) - TaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use Task.newBuilder() to construct. - private Task(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Task() { - shortDescription_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Task( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.TaskOuterClass.TaskClosure.Builder subBuilder = null; - if (closure_ != null) { - subBuilder = closure_.toBuilder(); - } - closure_ = input.readMessage(flyteidl.admin.TaskOuterClass.TaskClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(closure_); - closure_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - shortDescription_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_Task_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_Task_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.Task.class, flyteidl.admin.TaskOuterClass.Task.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * id represents the unique identifier of the task.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the task.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the task.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int CLOSURE_FIELD_NUMBER = 2; - private flyteidl.admin.TaskOuterClass.TaskClosure closure_; - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the task.
-     * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public boolean hasClosure() { - return closure_ != null; - } - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the task.
-     * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskClosure getClosure() { - return closure_ == null ? flyteidl.admin.TaskOuterClass.TaskClosure.getDefaultInstance() : closure_; - } - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the task.
-     * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskClosureOrBuilder getClosureOrBuilder() { - return getClosure(); - } - - public static final int SHORT_DESCRIPTION_FIELD_NUMBER = 3; - private volatile java.lang.Object shortDescription_; - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - public java.lang.String getShortDescription() { - java.lang.Object ref = shortDescription_; - 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(); - shortDescription_ = s; - return s; - } - } - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - public com.google.protobuf.ByteString - getShortDescriptionBytes() { - java.lang.Object ref = shortDescription_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - shortDescription_ = 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (closure_ != null) { - output.writeMessage(2, getClosure()); - } - if (!getShortDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (closure_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getClosure()); - } - if (!getShortDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskOuterClass.Task)) { - return super.equals(obj); - } - flyteidl.admin.TaskOuterClass.Task other = (flyteidl.admin.TaskOuterClass.Task) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasClosure() != other.hasClosure()) return false; - if (hasClosure()) { - if (!getClosure() - .equals(other.getClosure())) return false; - } - if (!getShortDescription() - .equals(other.getShortDescription())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasClosure()) { - hash = (37 * hash) + CLOSURE_FIELD_NUMBER; - hash = (53 * hash) + getClosure().hashCode(); - } - hash = (37 * hash) + SHORT_DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getShortDescription().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.Task parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.Task parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.Task parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskOuterClass.Task 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; - } - /** - *
-     * Flyte workflows are composed of many ordered tasks. That is small, reusable, self-contained logical blocks
-     * arranged to process workflow inputs and produce a deterministic set of outputs.
-     * Tasks can come in many varieties tuned for specialized behavior. 
-     * 
- * - * Protobuf type {@code flyteidl.admin.Task} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Task) - flyteidl.admin.TaskOuterClass.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_Task_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_Task_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.Task.class, flyteidl.admin.TaskOuterClass.Task.Builder.class); - } - - // Construct using flyteidl.admin.TaskOuterClass.Task.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (closureBuilder_ == null) { - closure_ = null; - } else { - closure_ = null; - closureBuilder_ = null; - } - shortDescription_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_Task_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.Task getDefaultInstanceForType() { - return flyteidl.admin.TaskOuterClass.Task.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.Task build() { - flyteidl.admin.TaskOuterClass.Task result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.Task buildPartial() { - flyteidl.admin.TaskOuterClass.Task result = new flyteidl.admin.TaskOuterClass.Task(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (closureBuilder_ == null) { - result.closure_ = closure_; - } else { - result.closure_ = closureBuilder_.build(); - } - result.shortDescription_ = shortDescription_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskOuterClass.Task) { - return mergeFrom((flyteidl.admin.TaskOuterClass.Task)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskOuterClass.Task other) { - if (other == flyteidl.admin.TaskOuterClass.Task.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasClosure()) { - mergeClosure(other.getClosure()); - } - if (!other.getShortDescription().isEmpty()) { - shortDescription_ = other.shortDescription_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskOuterClass.Task parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskOuterClass.Task) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the task.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.TaskOuterClass.TaskClosure closure_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskOuterClass.TaskClosure, flyteidl.admin.TaskOuterClass.TaskClosure.Builder, flyteidl.admin.TaskOuterClass.TaskClosureOrBuilder> closureBuilder_; - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public boolean hasClosure() { - return closureBuilder_ != null || closure_ != null; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskClosure getClosure() { - if (closureBuilder_ == null) { - return closure_ == null ? flyteidl.admin.TaskOuterClass.TaskClosure.getDefaultInstance() : closure_; - } else { - return closureBuilder_.getMessage(); - } - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public Builder setClosure(flyteidl.admin.TaskOuterClass.TaskClosure value) { - if (closureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - closure_ = value; - onChanged(); - } else { - closureBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public Builder setClosure( - flyteidl.admin.TaskOuterClass.TaskClosure.Builder builderForValue) { - if (closureBuilder_ == null) { - closure_ = builderForValue.build(); - onChanged(); - } else { - closureBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public Builder mergeClosure(flyteidl.admin.TaskOuterClass.TaskClosure value) { - if (closureBuilder_ == null) { - if (closure_ != null) { - closure_ = - flyteidl.admin.TaskOuterClass.TaskClosure.newBuilder(closure_).mergeFrom(value).buildPartial(); - } else { - closure_ = value; - } - onChanged(); - } else { - closureBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public Builder clearClosure() { - if (closureBuilder_ == null) { - closure_ = null; - onChanged(); - } else { - closure_ = null; - closureBuilder_ = null; - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskClosure.Builder getClosureBuilder() { - - onChanged(); - return getClosureFieldBuilder().getBuilder(); - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - public flyteidl.admin.TaskOuterClass.TaskClosureOrBuilder getClosureOrBuilder() { - if (closureBuilder_ != null) { - return closureBuilder_.getMessageOrBuilder(); - } else { - return closure_ == null ? - flyteidl.admin.TaskOuterClass.TaskClosure.getDefaultInstance() : closure_; - } - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the task.
-       * 
- * - * .flyteidl.admin.TaskClosure closure = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskOuterClass.TaskClosure, flyteidl.admin.TaskOuterClass.TaskClosure.Builder, flyteidl.admin.TaskOuterClass.TaskClosureOrBuilder> - getClosureFieldBuilder() { - if (closureBuilder_ == null) { - closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.TaskOuterClass.TaskClosure, flyteidl.admin.TaskOuterClass.TaskClosure.Builder, flyteidl.admin.TaskOuterClass.TaskClosureOrBuilder>( - getClosure(), - getParentForChildren(), - isClean()); - closure_ = null; - } - return closureBuilder_; - } - - private java.lang.Object shortDescription_ = ""; - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public java.lang.String getShortDescription() { - java.lang.Object ref = shortDescription_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - shortDescription_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public com.google.protobuf.ByteString - getShortDescriptionBytes() { - java.lang.Object ref = shortDescription_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - shortDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public Builder setShortDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - shortDescription_ = value; - onChanged(); - return this; - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public Builder clearShortDescription() { - - shortDescription_ = getDefaultInstance().getShortDescription(); - onChanged(); - return this; - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public Builder setShortDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - shortDescription_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Task) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Task) - private static final flyteidl.admin.TaskOuterClass.Task DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskOuterClass.Task(); - } - - public static flyteidl.admin.TaskOuterClass.Task getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Task parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Task(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.Task getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - java.util.List - getTasksList(); - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - flyteidl.admin.TaskOuterClass.Task getTasks(int index); - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - int getTasksCount(); - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - java.util.List - getTasksOrBuilderList(); - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - flyteidl.admin.TaskOuterClass.TaskOrBuilder getTasksOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Represents a list of tasks returned from the admin.
-   * See :ref:`ref_flyteidl.admin.Task` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskList} - */ - public static final class TaskList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskList) - TaskListOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskList.newBuilder() to construct. - private TaskList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskList() { - tasks_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskList( - 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)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage(flyteidl.admin.TaskOuterClass.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskList.class, flyteidl.admin.TaskOuterClass.TaskList.Builder.class); - } - - private int bitField0_; - public static final int TASKS_FIELD_NUMBER = 1; - private java.util.List tasks_; - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public java.util.List getTasksList() { - return tasks_; - } - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public java.util.List - getTasksOrBuilderList() { - return tasks_; - } - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public int getTasksCount() { - return tasks_.size(); - } - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public flyteidl.admin.TaskOuterClass.Task getTasks(int index) { - return tasks_.get(index); - } - /** - *
-     * A list of tasks returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public flyteidl.admin.TaskOuterClass.TaskOrBuilder getTasksOrBuilder( - int index) { - return tasks_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < tasks_.size(); i++) { - output.writeMessage(1, tasks_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < tasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tasks_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskOuterClass.TaskList)) { - return super.equals(obj); - } - flyteidl.admin.TaskOuterClass.TaskList other = (flyteidl.admin.TaskOuterClass.TaskList) obj; - - if (!getTasksList() - .equals(other.getTasksList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getTasksCount() > 0) { - hash = (37 * hash) + TASKS_FIELD_NUMBER; - hash = (53 * hash) + getTasksList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskOuterClass.TaskList 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; - } - /** - *
-     * Represents a list of tasks returned from the admin.
-     * See :ref:`ref_flyteidl.admin.Task` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskList) - flyteidl.admin.TaskOuterClass.TaskListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskList.class, flyteidl.admin.TaskOuterClass.TaskList.Builder.class); - } - - // Construct using flyteidl.admin.TaskOuterClass.TaskList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getTasksFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - tasksBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskList getDefaultInstanceForType() { - return flyteidl.admin.TaskOuterClass.TaskList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskList build() { - flyteidl.admin.TaskOuterClass.TaskList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskList buildPartial() { - flyteidl.admin.TaskOuterClass.TaskList result = new flyteidl.admin.TaskOuterClass.TaskList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (tasksBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.tasks_ = tasks_; - } else { - result.tasks_ = tasksBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskOuterClass.TaskList) { - return mergeFrom((flyteidl.admin.TaskOuterClass.TaskList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskOuterClass.TaskList other) { - if (other == flyteidl.admin.TaskOuterClass.TaskList.getDefaultInstance()) return this; - if (tasksBuilder_ == null) { - if (!other.tasks_.isEmpty()) { - if (tasks_.isEmpty()) { - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTasksIsMutable(); - tasks_.addAll(other.tasks_); - } - onChanged(); - } - } else { - if (!other.tasks_.isEmpty()) { - if (tasksBuilder_.isEmpty()) { - tasksBuilder_.dispose(); - tasksBuilder_ = null; - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000001); - tasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTasksFieldBuilder() : null; - } else { - tasksBuilder_.addAllMessages(other.tasks_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskOuterClass.TaskList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskOuterClass.TaskList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List tasks_ = - java.util.Collections.emptyList(); - private void ensureTasksIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(tasks_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskOuterClass.Task, flyteidl.admin.TaskOuterClass.Task.Builder, flyteidl.admin.TaskOuterClass.TaskOrBuilder> tasksBuilder_; - - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public java.util.List getTasksList() { - if (tasksBuilder_ == null) { - return java.util.Collections.unmodifiableList(tasks_); - } else { - return tasksBuilder_.getMessageList(); - } - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public int getTasksCount() { - if (tasksBuilder_ == null) { - return tasks_.size(); - } else { - return tasksBuilder_.getCount(); - } - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public flyteidl.admin.TaskOuterClass.Task getTasks(int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { - return tasksBuilder_.getMessage(index); - } - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder setTasks( - int index, flyteidl.admin.TaskOuterClass.Task value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.set(index, value); - onChanged(); - } else { - tasksBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder setTasks( - int index, flyteidl.admin.TaskOuterClass.Task.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.set(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder addTasks(flyteidl.admin.TaskOuterClass.Task value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(value); - onChanged(); - } else { - tasksBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder addTasks( - int index, flyteidl.admin.TaskOuterClass.Task value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(index, value); - onChanged(); - } else { - tasksBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder addTasks( - flyteidl.admin.TaskOuterClass.Task.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder addTasks( - int index, flyteidl.admin.TaskOuterClass.Task.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder addAllTasks( - java.lang.Iterable values) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tasks_); - onChanged(); - } else { - tasksBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder clearTasks() { - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - tasksBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public Builder removeTasks(int index) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.remove(index); - onChanged(); - } else { - tasksBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public flyteidl.admin.TaskOuterClass.Task.Builder getTasksBuilder( - int index) { - return getTasksFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public flyteidl.admin.TaskOuterClass.TaskOrBuilder getTasksOrBuilder( - int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); } else { - return tasksBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public java.util.List - getTasksOrBuilderList() { - if (tasksBuilder_ != null) { - return tasksBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tasks_); - } - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public flyteidl.admin.TaskOuterClass.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - flyteidl.admin.TaskOuterClass.Task.getDefaultInstance()); - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public flyteidl.admin.TaskOuterClass.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, flyteidl.admin.TaskOuterClass.Task.getDefaultInstance()); - } - /** - *
-       * A list of tasks returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Task tasks = 1; - */ - public java.util.List - getTasksBuilderList() { - return getTasksFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskOuterClass.Task, flyteidl.admin.TaskOuterClass.Task.Builder, flyteidl.admin.TaskOuterClass.TaskOrBuilder> - getTasksFieldBuilder() { - if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.TaskOuterClass.Task, flyteidl.admin.TaskOuterClass.Task.Builder, flyteidl.admin.TaskOuterClass.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - tasks_ = null; - } - return tasksBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskList) - private static final flyteidl.admin.TaskOuterClass.TaskList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskOuterClass.TaskList(); - } - - public static flyteidl.admin.TaskOuterClass.TaskList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - boolean hasTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - flyteidl.core.Tasks.TaskTemplate getTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder(); - - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - boolean hasDescription(); - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescription(); - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionOrBuilder(); - } - /** - *
-   * Represents a structure that encapsulates the user-configured specification of the task.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskSpec} - */ - public static final class TaskSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskSpec) - TaskSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskSpec.newBuilder() to construct. - private TaskSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskSpec() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskSpec( - 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.Tasks.TaskTemplate.Builder subBuilder = null; - if (template_ != null) { - subBuilder = template_.toBuilder(); - } - template_ = input.readMessage(flyteidl.core.Tasks.TaskTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(template_); - template_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder subBuilder = null; - if (description_ != null) { - subBuilder = description_.toBuilder(); - } - description_ = input.readMessage(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(description_); - description_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskSpec.class, flyteidl.admin.TaskOuterClass.TaskSpec.Builder.class); - } - - public static final int TEMPLATE_FIELD_NUMBER = 1; - private flyteidl.core.Tasks.TaskTemplate template_; - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public boolean hasTemplate() { - return template_ != null; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - return getTemplate(); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 2; - private flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity description_; - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public boolean hasDescription() { - return description_ != null; - } - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescription() { - return description_ == null ? flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance() : description_; - } - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionOrBuilder() { - return getDescription(); - } - - 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 (template_ != null) { - output.writeMessage(1, getTemplate()); - } - if (description_ != null) { - output.writeMessage(2, getDescription()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (template_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTemplate()); - } - if (description_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDescription()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskOuterClass.TaskSpec)) { - return super.equals(obj); - } - flyteidl.admin.TaskOuterClass.TaskSpec other = (flyteidl.admin.TaskOuterClass.TaskSpec) obj; - - if (hasTemplate() != other.hasTemplate()) return false; - if (hasTemplate()) { - if (!getTemplate() - .equals(other.getTemplate())) return false; - } - if (hasDescription() != other.hasDescription()) return false; - if (hasDescription()) { - if (!getDescription() - .equals(other.getDescription())) 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 (hasTemplate()) { - hash = (37 * hash) + TEMPLATE_FIELD_NUMBER; - hash = (53 * hash) + getTemplate().hashCode(); - } - if (hasDescription()) { - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskSpec parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskOuterClass.TaskSpec 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; - } - /** - *
-     * Represents a structure that encapsulates the user-configured specification of the task.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskSpec) - flyteidl.admin.TaskOuterClass.TaskSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskSpec.class, flyteidl.admin.TaskOuterClass.TaskSpec.Builder.class); - } - - // Construct using flyteidl.admin.TaskOuterClass.TaskSpec.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 (templateBuilder_ == null) { - template_ = null; - } else { - template_ = null; - templateBuilder_ = null; - } - if (descriptionBuilder_ == null) { - description_ = null; - } else { - description_ = null; - descriptionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskSpec_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskSpec getDefaultInstanceForType() { - return flyteidl.admin.TaskOuterClass.TaskSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskSpec build() { - flyteidl.admin.TaskOuterClass.TaskSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskSpec buildPartial() { - flyteidl.admin.TaskOuterClass.TaskSpec result = new flyteidl.admin.TaskOuterClass.TaskSpec(this); - if (templateBuilder_ == null) { - result.template_ = template_; - } else { - result.template_ = templateBuilder_.build(); - } - if (descriptionBuilder_ == null) { - result.description_ = description_; - } else { - result.description_ = descriptionBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskOuterClass.TaskSpec) { - return mergeFrom((flyteidl.admin.TaskOuterClass.TaskSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskOuterClass.TaskSpec other) { - if (other == flyteidl.admin.TaskOuterClass.TaskSpec.getDefaultInstance()) return this; - if (other.hasTemplate()) { - mergeTemplate(other.getTemplate()); - } - if (other.hasDescription()) { - mergeDescription(other.getDescription()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskOuterClass.TaskSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskOuterClass.TaskSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Tasks.TaskTemplate template_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> templateBuilder_; - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public boolean hasTemplate() { - return templateBuilder_ != null || template_ != null; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - if (templateBuilder_ == null) { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } else { - return templateBuilder_.getMessage(); - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder setTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - template_ = value; - onChanged(); - } else { - templateBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder setTemplate( - flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (templateBuilder_ == null) { - template_ = builderForValue.build(); - onChanged(); - } else { - templateBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder mergeTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (template_ != null) { - template_ = - flyteidl.core.Tasks.TaskTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); - } else { - template_ = value; - } - onChanged(); - } else { - templateBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder clearTemplate() { - if (templateBuilder_ == null) { - template_ = null; - onChanged(); - } else { - template_ = null; - templateBuilder_ = null; - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder getTemplateBuilder() { - - onChanged(); - return getTemplateFieldBuilder().getBuilder(); - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - if (templateBuilder_ != null) { - return templateBuilder_.getMessageOrBuilder(); - } else { - return template_ == null ? - flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> - getTemplateFieldBuilder() { - if (templateBuilder_ == null) { - templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>( - getTemplate(), - getParentForChildren(), - isClean()); - template_ = null; - } - return templateBuilder_; - } - - private flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity description_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder> descriptionBuilder_; - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public boolean hasDescription() { - return descriptionBuilder_ != null || description_ != null; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescription() { - if (descriptionBuilder_ == null) { - return description_ == null ? flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance() : description_; - } else { - return descriptionBuilder_.getMessage(); - } - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public Builder setDescription(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity value) { - if (descriptionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - description_ = value; - onChanged(); - } else { - descriptionBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public Builder setDescription( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder builderForValue) { - if (descriptionBuilder_ == null) { - description_ = builderForValue.build(); - onChanged(); - } else { - descriptionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public Builder mergeDescription(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity value) { - if (descriptionBuilder_ == null) { - if (description_ != null) { - description_ = - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.newBuilder(description_).mergeFrom(value).buildPartial(); - } else { - description_ = value; - } - onChanged(); - } else { - descriptionBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public Builder clearDescription() { - if (descriptionBuilder_ == null) { - description_ = null; - onChanged(); - } else { - description_ = null; - descriptionBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder getDescriptionBuilder() { - - onChanged(); - return getDescriptionFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionOrBuilder() { - if (descriptionBuilder_ != null) { - return descriptionBuilder_.getMessageOrBuilder(); - } else { - return description_ == null ? - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance() : description_; - } - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder> - getDescriptionFieldBuilder() { - if (descriptionBuilder_ == null) { - descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder>( - getDescription(), - getParentForChildren(), - isClean()); - description_ = null; - } - return descriptionBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskSpec) - private static final flyteidl.admin.TaskOuterClass.TaskSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskOuterClass.TaskSpec(); - } - - public static flyteidl.admin.TaskOuterClass.TaskSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskSpec(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskClosureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskClosure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Represents the compiled representation of the task from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - boolean hasCompiledTask(); - /** - *
-     * Represents the compiled representation of the task from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - flyteidl.core.Compiler.CompiledTask getCompiledTask(); - /** - *
-     * Represents the compiled representation of the task from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - flyteidl.core.Compiler.CompiledTaskOrBuilder getCompiledTaskOrBuilder(); - - /** - *
-     * Time at which the task was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - boolean hasCreatedAt(); - /** - *
-     * Time at which the task was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - com.google.protobuf.Timestamp getCreatedAt(); - /** - *
-     * Time at which the task was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); - } - /** - *
-   * Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data
-   * and task metadata.
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskClosure} - */ - public static final class TaskClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskClosure) - TaskClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskClosure.newBuilder() to construct. - private TaskClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskClosure() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskClosure( - 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.Compiler.CompiledTask.Builder subBuilder = null; - if (compiledTask_ != null) { - subBuilder = compiledTask_.toBuilder(); - } - compiledTask_ = input.readMessage(flyteidl.core.Compiler.CompiledTask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compiledTask_); - compiledTask_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createdAt_ != null) { - subBuilder = createdAt_.toBuilder(); - } - createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createdAt_); - createdAt_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskClosure.class, flyteidl.admin.TaskOuterClass.TaskClosure.Builder.class); - } - - public static final int COMPILED_TASK_FIELD_NUMBER = 1; - private flyteidl.core.Compiler.CompiledTask compiledTask_; - /** - *
-     * Represents the compiled representation of the task from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public boolean hasCompiledTask() { - return compiledTask_ != null; - } - /** - *
-     * Represents the compiled representation of the task from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public flyteidl.core.Compiler.CompiledTask getCompiledTask() { - return compiledTask_ == null ? flyteidl.core.Compiler.CompiledTask.getDefaultInstance() : compiledTask_; - } - /** - *
-     * Represents the compiled representation of the task from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public flyteidl.core.Compiler.CompiledTaskOrBuilder getCompiledTaskOrBuilder() { - return getCompiledTask(); - } - - public static final int CREATED_AT_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp createdAt_; - /** - *
-     * Time at which the task was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public boolean hasCreatedAt() { - return createdAt_ != null; - } - /** - *
-     * Time at which the task was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - /** - *
-     * Time at which the task was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - return getCreatedAt(); - } - - 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 (compiledTask_ != null) { - output.writeMessage(1, getCompiledTask()); - } - if (createdAt_ != null) { - output.writeMessage(2, getCreatedAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (compiledTask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCompiledTask()); - } - if (createdAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreatedAt()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.TaskOuterClass.TaskClosure)) { - return super.equals(obj); - } - flyteidl.admin.TaskOuterClass.TaskClosure other = (flyteidl.admin.TaskOuterClass.TaskClosure) obj; - - if (hasCompiledTask() != other.hasCompiledTask()) return false; - if (hasCompiledTask()) { - if (!getCompiledTask() - .equals(other.getCompiledTask())) return false; - } - if (hasCreatedAt() != other.hasCreatedAt()) return false; - if (hasCreatedAt()) { - if (!getCreatedAt() - .equals(other.getCreatedAt())) 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 (hasCompiledTask()) { - hash = (37 * hash) + COMPILED_TASK_FIELD_NUMBER; - hash = (53 * hash) + getCompiledTask().hashCode(); - } - if (hasCreatedAt()) { - hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getCreatedAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.TaskOuterClass.TaskClosure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.TaskOuterClass.TaskClosure 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; - } - /** - *
-     * Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data
-     * and task metadata.
-     * 
- * - * Protobuf type {@code flyteidl.admin.TaskClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskClosure) - flyteidl.admin.TaskOuterClass.TaskClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.TaskOuterClass.TaskClosure.class, flyteidl.admin.TaskOuterClass.TaskClosure.Builder.class); - } - - // Construct using flyteidl.admin.TaskOuterClass.TaskClosure.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 (compiledTaskBuilder_ == null) { - compiledTask_ = null; - } else { - compiledTask_ = null; - compiledTaskBuilder_ = null; - } - if (createdAtBuilder_ == null) { - createdAt_ = null; - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.TaskOuterClass.internal_static_flyteidl_admin_TaskClosure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskClosure getDefaultInstanceForType() { - return flyteidl.admin.TaskOuterClass.TaskClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskClosure build() { - flyteidl.admin.TaskOuterClass.TaskClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskClosure buildPartial() { - flyteidl.admin.TaskOuterClass.TaskClosure result = new flyteidl.admin.TaskOuterClass.TaskClosure(this); - if (compiledTaskBuilder_ == null) { - result.compiledTask_ = compiledTask_; - } else { - result.compiledTask_ = compiledTaskBuilder_.build(); - } - if (createdAtBuilder_ == null) { - result.createdAt_ = createdAt_; - } else { - result.createdAt_ = createdAtBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.TaskOuterClass.TaskClosure) { - return mergeFrom((flyteidl.admin.TaskOuterClass.TaskClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.TaskOuterClass.TaskClosure other) { - if (other == flyteidl.admin.TaskOuterClass.TaskClosure.getDefaultInstance()) return this; - if (other.hasCompiledTask()) { - mergeCompiledTask(other.getCompiledTask()); - } - if (other.hasCreatedAt()) { - mergeCreatedAt(other.getCreatedAt()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.TaskOuterClass.TaskClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.TaskOuterClass.TaskClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Compiler.CompiledTask compiledTask_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledTask, flyteidl.core.Compiler.CompiledTask.Builder, flyteidl.core.Compiler.CompiledTaskOrBuilder> compiledTaskBuilder_; - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public boolean hasCompiledTask() { - return compiledTaskBuilder_ != null || compiledTask_ != null; - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public flyteidl.core.Compiler.CompiledTask getCompiledTask() { - if (compiledTaskBuilder_ == null) { - return compiledTask_ == null ? flyteidl.core.Compiler.CompiledTask.getDefaultInstance() : compiledTask_; - } else { - return compiledTaskBuilder_.getMessage(); - } - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public Builder setCompiledTask(flyteidl.core.Compiler.CompiledTask value) { - if (compiledTaskBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - compiledTask_ = value; - onChanged(); - } else { - compiledTaskBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public Builder setCompiledTask( - flyteidl.core.Compiler.CompiledTask.Builder builderForValue) { - if (compiledTaskBuilder_ == null) { - compiledTask_ = builderForValue.build(); - onChanged(); - } else { - compiledTaskBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public Builder mergeCompiledTask(flyteidl.core.Compiler.CompiledTask value) { - if (compiledTaskBuilder_ == null) { - if (compiledTask_ != null) { - compiledTask_ = - flyteidl.core.Compiler.CompiledTask.newBuilder(compiledTask_).mergeFrom(value).buildPartial(); - } else { - compiledTask_ = value; - } - onChanged(); - } else { - compiledTaskBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public Builder clearCompiledTask() { - if (compiledTaskBuilder_ == null) { - compiledTask_ = null; - onChanged(); - } else { - compiledTask_ = null; - compiledTaskBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public flyteidl.core.Compiler.CompiledTask.Builder getCompiledTaskBuilder() { - - onChanged(); - return getCompiledTaskFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - public flyteidl.core.Compiler.CompiledTaskOrBuilder getCompiledTaskOrBuilder() { - if (compiledTaskBuilder_ != null) { - return compiledTaskBuilder_.getMessageOrBuilder(); - } else { - return compiledTask_ == null ? - flyteidl.core.Compiler.CompiledTask.getDefaultInstance() : compiledTask_; - } - } - /** - *
-       * Represents the compiled representation of the task from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledTask compiled_task = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledTask, flyteidl.core.Compiler.CompiledTask.Builder, flyteidl.core.Compiler.CompiledTaskOrBuilder> - getCompiledTaskFieldBuilder() { - if (compiledTaskBuilder_ == null) { - compiledTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledTask, flyteidl.core.Compiler.CompiledTask.Builder, flyteidl.core.Compiler.CompiledTaskOrBuilder>( - getCompiledTask(), - getParentForChildren(), - isClean()); - compiledTask_ = null; - } - return compiledTaskBuilder_; - } - - private com.google.protobuf.Timestamp createdAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public boolean hasCreatedAt() { - return createdAtBuilder_ != null || createdAt_ != null; - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - if (createdAtBuilder_ == null) { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } else { - return createdAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder setCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createdAt_ = value; - onChanged(); - } else { - createdAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder setCreatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (createdAtBuilder_ == null) { - createdAt_ = builderForValue.build(); - onChanged(); - } else { - createdAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (createdAt_ != null) { - createdAt_ = - com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); - } else { - createdAt_ = value; - } - onChanged(); - } else { - createdAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder clearCreatedAt() { - if (createdAtBuilder_ == null) { - createdAt_ = null; - onChanged(); - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { - - onChanged(); - return getCreatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - if (createdAtBuilder_ != null) { - return createdAtBuilder_.getMessageOrBuilder(); - } else { - return createdAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - } - /** - *
-       * Time at which the task was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreatedAtFieldBuilder() { - if (createdAtBuilder_ == null) { - createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreatedAt(), - getParentForChildren(), - isClean()); - createdAt_ = null; - } - return createdAtBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskClosure) - private static final flyteidl.admin.TaskOuterClass.TaskClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskOuterClass.TaskClosure(); - } - - public static flyteidl.admin.TaskOuterClass.TaskClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskClosure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskOuterClass.TaskClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskCreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskCreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskCreateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskCreateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Task_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Task_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_TaskClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_TaskClosure_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\031flyteidl/admin/task.proto\022\016flyteidl.ad" + - "min\032\036flyteidl/core/identifier.proto\032\031fly" + - "teidl/core/tasks.proto\032\034flyteidl/core/co" + - "mpiler.proto\032\'flyteidl/admin/description" + - "_entity.proto\032\037google/protobuf/timestamp" + - ".proto\"b\n\021TaskCreateRequest\022%\n\002id\030\001 \001(\0132" + - "\031.flyteidl.core.Identifier\022&\n\004spec\030\002 \001(\013" + - "2\030.flyteidl.admin.TaskSpec\"\024\n\022TaskCreate" + - "Response\"v\n\004Task\022%\n\002id\030\001 \001(\0132\031.flyteidl." + - "core.Identifier\022,\n\007closure\030\002 \001(\0132\033.flyte" + - "idl.admin.TaskClosure\022\031\n\021short_descripti" + - "on\030\003 \001(\t\">\n\010TaskList\022#\n\005tasks\030\001 \003(\0132\024.fl" + - "yteidl.admin.Task\022\r\n\005token\030\002 \001(\t\"q\n\010Task" + - "Spec\022-\n\010template\030\001 \001(\0132\033.flyteidl.core.T" + - "askTemplate\0226\n\013description\030\002 \001(\0132!.flyte" + - "idl.admin.DescriptionEntity\"q\n\013TaskClosu" + - "re\0222\n\rcompiled_task\030\001 \001(\0132\033.flyteidl.cor" + - "e.CompiledTask\022.\n\ncreated_at\030\002 \001(\0132\032.goo" + - "gle.protobuf.TimestampB=Z;github.com/fly" + - "teorg/flyte/flyteidl/gen/pb-go/flyteidl/" + - "adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Tasks.getDescriptor(), - flyteidl.core.Compiler.getDescriptor(), - flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_TaskCreateRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_TaskCreateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskCreateRequest_descriptor, - new java.lang.String[] { "Id", "Spec", }); - internal_static_flyteidl_admin_TaskCreateResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_TaskCreateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskCreateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_Task_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Task_descriptor, - new java.lang.String[] { "Id", "Closure", "ShortDescription", }); - internal_static_flyteidl_admin_TaskList_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_TaskList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskList_descriptor, - new java.lang.String[] { "Tasks", "Token", }); - internal_static_flyteidl_admin_TaskSpec_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_TaskSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskSpec_descriptor, - new java.lang.String[] { "Template", "Description", }); - internal_static_flyteidl_admin_TaskClosure_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_TaskClosure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_TaskClosure_descriptor, - new java.lang.String[] { "CompiledTask", "CreatedAt", }); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Tasks.getDescriptor(); - flyteidl.core.Compiler.getDescriptor(); - flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/VersionOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/VersionOuterClass.java deleted file mode 100644 index c641640bb6..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/VersionOuterClass.java +++ /dev/null @@ -1,2129 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/version.proto - -package flyteidl.admin; - -public final class VersionOuterClass { - private VersionOuterClass() {} - 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 GetVersionResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetVersionResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The control plane version information. FlyteAdmin and related components
-     * form the control plane of Flyte
-     * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - boolean hasControlPlaneVersion(); - /** - *
-     * The control plane version information. FlyteAdmin and related components
-     * form the control plane of Flyte
-     * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - flyteidl.admin.VersionOuterClass.Version getControlPlaneVersion(); - /** - *
-     * The control plane version information. FlyteAdmin and related components
-     * form the control plane of Flyte
-     * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - flyteidl.admin.VersionOuterClass.VersionOrBuilder getControlPlaneVersionOrBuilder(); - } - /** - *
-   * Response for the GetVersion API
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetVersionResponse} - */ - public static final class GetVersionResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetVersionResponse) - GetVersionResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetVersionResponse.newBuilder() to construct. - private GetVersionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetVersionResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetVersionResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.VersionOuterClass.Version.Builder subBuilder = null; - if (controlPlaneVersion_ != null) { - subBuilder = controlPlaneVersion_.toBuilder(); - } - controlPlaneVersion_ = input.readMessage(flyteidl.admin.VersionOuterClass.Version.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controlPlaneVersion_); - controlPlaneVersion_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.VersionOuterClass.GetVersionResponse.class, flyteidl.admin.VersionOuterClass.GetVersionResponse.Builder.class); - } - - public static final int CONTROL_PLANE_VERSION_FIELD_NUMBER = 1; - private flyteidl.admin.VersionOuterClass.Version controlPlaneVersion_; - /** - *
-     * The control plane version information. FlyteAdmin and related components
-     * form the control plane of Flyte
-     * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public boolean hasControlPlaneVersion() { - return controlPlaneVersion_ != null; - } - /** - *
-     * The control plane version information. FlyteAdmin and related components
-     * form the control plane of Flyte
-     * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public flyteidl.admin.VersionOuterClass.Version getControlPlaneVersion() { - return controlPlaneVersion_ == null ? flyteidl.admin.VersionOuterClass.Version.getDefaultInstance() : controlPlaneVersion_; - } - /** - *
-     * The control plane version information. FlyteAdmin and related components
-     * form the control plane of Flyte
-     * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public flyteidl.admin.VersionOuterClass.VersionOrBuilder getControlPlaneVersionOrBuilder() { - return getControlPlaneVersion(); - } - - 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 (controlPlaneVersion_ != null) { - output.writeMessage(1, getControlPlaneVersion()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (controlPlaneVersion_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getControlPlaneVersion()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.VersionOuterClass.GetVersionResponse)) { - return super.equals(obj); - } - flyteidl.admin.VersionOuterClass.GetVersionResponse other = (flyteidl.admin.VersionOuterClass.GetVersionResponse) obj; - - if (hasControlPlaneVersion() != other.hasControlPlaneVersion()) return false; - if (hasControlPlaneVersion()) { - if (!getControlPlaneVersion() - .equals(other.getControlPlaneVersion())) 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 (hasControlPlaneVersion()) { - hash = (37 * hash) + CONTROL_PLANE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getControlPlaneVersion().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.GetVersionResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.VersionOuterClass.GetVersionResponse 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 for the GetVersion API
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetVersionResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetVersionResponse) - flyteidl.admin.VersionOuterClass.GetVersionResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.VersionOuterClass.GetVersionResponse.class, flyteidl.admin.VersionOuterClass.GetVersionResponse.Builder.class); - } - - // Construct using flyteidl.admin.VersionOuterClass.GetVersionResponse.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 (controlPlaneVersionBuilder_ == null) { - controlPlaneVersion_ = null; - } else { - controlPlaneVersion_ = null; - controlPlaneVersionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionResponse getDefaultInstanceForType() { - return flyteidl.admin.VersionOuterClass.GetVersionResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionResponse build() { - flyteidl.admin.VersionOuterClass.GetVersionResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionResponse buildPartial() { - flyteidl.admin.VersionOuterClass.GetVersionResponse result = new flyteidl.admin.VersionOuterClass.GetVersionResponse(this); - if (controlPlaneVersionBuilder_ == null) { - result.controlPlaneVersion_ = controlPlaneVersion_; - } else { - result.controlPlaneVersion_ = controlPlaneVersionBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.VersionOuterClass.GetVersionResponse) { - return mergeFrom((flyteidl.admin.VersionOuterClass.GetVersionResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.VersionOuterClass.GetVersionResponse other) { - if (other == flyteidl.admin.VersionOuterClass.GetVersionResponse.getDefaultInstance()) return this; - if (other.hasControlPlaneVersion()) { - mergeControlPlaneVersion(other.getControlPlaneVersion()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.VersionOuterClass.GetVersionResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.VersionOuterClass.GetVersionResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.VersionOuterClass.Version controlPlaneVersion_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.VersionOuterClass.Version, flyteidl.admin.VersionOuterClass.Version.Builder, flyteidl.admin.VersionOuterClass.VersionOrBuilder> controlPlaneVersionBuilder_; - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public boolean hasControlPlaneVersion() { - return controlPlaneVersionBuilder_ != null || controlPlaneVersion_ != null; - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public flyteidl.admin.VersionOuterClass.Version getControlPlaneVersion() { - if (controlPlaneVersionBuilder_ == null) { - return controlPlaneVersion_ == null ? flyteidl.admin.VersionOuterClass.Version.getDefaultInstance() : controlPlaneVersion_; - } else { - return controlPlaneVersionBuilder_.getMessage(); - } - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public Builder setControlPlaneVersion(flyteidl.admin.VersionOuterClass.Version value) { - if (controlPlaneVersionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - controlPlaneVersion_ = value; - onChanged(); - } else { - controlPlaneVersionBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public Builder setControlPlaneVersion( - flyteidl.admin.VersionOuterClass.Version.Builder builderForValue) { - if (controlPlaneVersionBuilder_ == null) { - controlPlaneVersion_ = builderForValue.build(); - onChanged(); - } else { - controlPlaneVersionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public Builder mergeControlPlaneVersion(flyteidl.admin.VersionOuterClass.Version value) { - if (controlPlaneVersionBuilder_ == null) { - if (controlPlaneVersion_ != null) { - controlPlaneVersion_ = - flyteidl.admin.VersionOuterClass.Version.newBuilder(controlPlaneVersion_).mergeFrom(value).buildPartial(); - } else { - controlPlaneVersion_ = value; - } - onChanged(); - } else { - controlPlaneVersionBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public Builder clearControlPlaneVersion() { - if (controlPlaneVersionBuilder_ == null) { - controlPlaneVersion_ = null; - onChanged(); - } else { - controlPlaneVersion_ = null; - controlPlaneVersionBuilder_ = null; - } - - return this; - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public flyteidl.admin.VersionOuterClass.Version.Builder getControlPlaneVersionBuilder() { - - onChanged(); - return getControlPlaneVersionFieldBuilder().getBuilder(); - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - public flyteidl.admin.VersionOuterClass.VersionOrBuilder getControlPlaneVersionOrBuilder() { - if (controlPlaneVersionBuilder_ != null) { - return controlPlaneVersionBuilder_.getMessageOrBuilder(); - } else { - return controlPlaneVersion_ == null ? - flyteidl.admin.VersionOuterClass.Version.getDefaultInstance() : controlPlaneVersion_; - } - } - /** - *
-       * The control plane version information. FlyteAdmin and related components
-       * form the control plane of Flyte
-       * 
- * - * .flyteidl.admin.Version control_plane_version = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.VersionOuterClass.Version, flyteidl.admin.VersionOuterClass.Version.Builder, flyteidl.admin.VersionOuterClass.VersionOrBuilder> - getControlPlaneVersionFieldBuilder() { - if (controlPlaneVersionBuilder_ == null) { - controlPlaneVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.VersionOuterClass.Version, flyteidl.admin.VersionOuterClass.Version.Builder, flyteidl.admin.VersionOuterClass.VersionOrBuilder>( - getControlPlaneVersion(), - getParentForChildren(), - isClean()); - controlPlaneVersion_ = null; - } - return controlPlaneVersionBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetVersionResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetVersionResponse) - private static final flyteidl.admin.VersionOuterClass.GetVersionResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.VersionOuterClass.GetVersionResponse(); - } - - public static flyteidl.admin.VersionOuterClass.GetVersionResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VersionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Version) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Specifies the GIT sha of the build
-     * 
- * - * string Build = 1; - */ - java.lang.String getBuild(); - /** - *
-     * Specifies the GIT sha of the build
-     * 
- * - * string Build = 1; - */ - com.google.protobuf.ByteString - getBuildBytes(); - - /** - *
-     * Version for the build, should follow a semver
-     * 
- * - * string Version = 2; - */ - java.lang.String getVersion(); - /** - *
-     * Version for the build, should follow a semver
-     * 
- * - * string Version = 2; - */ - com.google.protobuf.ByteString - getVersionBytes(); - - /** - *
-     * Build timestamp
-     * 
- * - * string BuildTime = 3; - */ - java.lang.String getBuildTime(); - /** - *
-     * Build timestamp
-     * 
- * - * string BuildTime = 3; - */ - com.google.protobuf.ByteString - getBuildTimeBytes(); - } - /** - *
-   * Provides Version information for a component
-   * 
- * - * Protobuf type {@code flyteidl.admin.Version} - */ - public static final class Version extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Version) - VersionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Version.newBuilder() to construct. - private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Version() { - build_ = ""; - version_ = ""; - buildTime_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Version( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - build_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - buildTime_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_Version_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_Version_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.VersionOuterClass.Version.class, flyteidl.admin.VersionOuterClass.Version.Builder.class); - } - - public static final int BUILD_FIELD_NUMBER = 1; - private volatile java.lang.Object build_; - /** - *
-     * Specifies the GIT sha of the build
-     * 
- * - * string Build = 1; - */ - public java.lang.String getBuild() { - java.lang.Object ref = build_; - 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(); - build_ = s; - return s; - } - } - /** - *
-     * Specifies the GIT sha of the build
-     * 
- * - * string Build = 1; - */ - public com.google.protobuf.ByteString - getBuildBytes() { - java.lang.Object ref = build_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - build_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VERSION_FIELD_NUMBER = 2; - private volatile java.lang.Object version_; - /** - *
-     * Version for the build, should follow a semver
-     * 
- * - * string Version = 2; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - 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(); - version_ = s; - return s; - } - } - /** - *
-     * Version for the build, should follow a semver
-     * 
- * - * string Version = 2; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BUILDTIME_FIELD_NUMBER = 3; - private volatile java.lang.Object buildTime_; - /** - *
-     * Build timestamp
-     * 
- * - * string BuildTime = 3; - */ - public java.lang.String getBuildTime() { - java.lang.Object ref = buildTime_; - 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(); - buildTime_ = s; - return s; - } - } - /** - *
-     * Build timestamp
-     * 
- * - * string BuildTime = 3; - */ - public com.google.protobuf.ByteString - getBuildTimeBytes() { - java.lang.Object ref = buildTime_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - buildTime_ = 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 (!getBuildBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, build_); - } - if (!getVersionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); - } - if (!getBuildTimeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, buildTime_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getBuildBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, build_); - } - if (!getVersionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); - } - if (!getBuildTimeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, buildTime_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.VersionOuterClass.Version)) { - return super.equals(obj); - } - flyteidl.admin.VersionOuterClass.Version other = (flyteidl.admin.VersionOuterClass.Version) obj; - - if (!getBuild() - .equals(other.getBuild())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getBuildTime() - .equals(other.getBuildTime())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + BUILD_FIELD_NUMBER; - hash = (53 * hash) + getBuild().hashCode(); - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - hash = (37 * hash) + BUILDTIME_FIELD_NUMBER; - hash = (53 * hash) + getBuildTime().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.Version parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.Version parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.Version parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.VersionOuterClass.Version 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; - } - /** - *
-     * Provides Version information for a component
-     * 
- * - * Protobuf type {@code flyteidl.admin.Version} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Version) - flyteidl.admin.VersionOuterClass.VersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_Version_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_Version_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.VersionOuterClass.Version.class, flyteidl.admin.VersionOuterClass.Version.Builder.class); - } - - // Construct using flyteidl.admin.VersionOuterClass.Version.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(); - build_ = ""; - - version_ = ""; - - buildTime_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_Version_descriptor; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.Version getDefaultInstanceForType() { - return flyteidl.admin.VersionOuterClass.Version.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.Version build() { - flyteidl.admin.VersionOuterClass.Version result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.Version buildPartial() { - flyteidl.admin.VersionOuterClass.Version result = new flyteidl.admin.VersionOuterClass.Version(this); - result.build_ = build_; - result.version_ = version_; - result.buildTime_ = buildTime_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.VersionOuterClass.Version) { - return mergeFrom((flyteidl.admin.VersionOuterClass.Version)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.VersionOuterClass.Version other) { - if (other == flyteidl.admin.VersionOuterClass.Version.getDefaultInstance()) return this; - if (!other.getBuild().isEmpty()) { - build_ = other.build_; - onChanged(); - } - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - onChanged(); - } - if (!other.getBuildTime().isEmpty()) { - buildTime_ = other.buildTime_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.VersionOuterClass.Version parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.VersionOuterClass.Version) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object build_ = ""; - /** - *
-       * Specifies the GIT sha of the build
-       * 
- * - * string Build = 1; - */ - public java.lang.String getBuild() { - java.lang.Object ref = build_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - build_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Specifies the GIT sha of the build
-       * 
- * - * string Build = 1; - */ - public com.google.protobuf.ByteString - getBuildBytes() { - java.lang.Object ref = build_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - build_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Specifies the GIT sha of the build
-       * 
- * - * string Build = 1; - */ - public Builder setBuild( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - build_ = value; - onChanged(); - return this; - } - /** - *
-       * Specifies the GIT sha of the build
-       * 
- * - * string Build = 1; - */ - public Builder clearBuild() { - - build_ = getDefaultInstance().getBuild(); - onChanged(); - return this; - } - /** - *
-       * Specifies the GIT sha of the build
-       * 
- * - * string Build = 1; - */ - public Builder setBuildBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - build_ = value; - onChanged(); - return this; - } - - private java.lang.Object version_ = ""; - /** - *
-       * Version for the build, should follow a semver
-       * 
- * - * string Version = 2; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Version for the build, should follow a semver
-       * 
- * - * string Version = 2; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Version for the build, should follow a semver
-       * 
- * - * string Version = 2; - */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - version_ = value; - onChanged(); - return this; - } - /** - *
-       * Version for the build, should follow a semver
-       * 
- * - * string Version = 2; - */ - public Builder clearVersion() { - - version_ = getDefaultInstance().getVersion(); - onChanged(); - return this; - } - /** - *
-       * Version for the build, should follow a semver
-       * 
- * - * string Version = 2; - */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - version_ = value; - onChanged(); - return this; - } - - private java.lang.Object buildTime_ = ""; - /** - *
-       * Build timestamp
-       * 
- * - * string BuildTime = 3; - */ - public java.lang.String getBuildTime() { - java.lang.Object ref = buildTime_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - buildTime_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Build timestamp
-       * 
- * - * string BuildTime = 3; - */ - public com.google.protobuf.ByteString - getBuildTimeBytes() { - java.lang.Object ref = buildTime_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - buildTime_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Build timestamp
-       * 
- * - * string BuildTime = 3; - */ - public Builder setBuildTime( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - buildTime_ = value; - onChanged(); - return this; - } - /** - *
-       * Build timestamp
-       * 
- * - * string BuildTime = 3; - */ - public Builder clearBuildTime() { - - buildTime_ = getDefaultInstance().getBuildTime(); - onChanged(); - return this; - } - /** - *
-       * Build timestamp
-       * 
- * - * string BuildTime = 3; - */ - public Builder setBuildTimeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - buildTime_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Version) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Version) - private static final flyteidl.admin.VersionOuterClass.Version DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.VersionOuterClass.Version(); - } - - public static flyteidl.admin.VersionOuterClass.Version getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.Version getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetVersionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.GetVersionRequest) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Empty request for GetVersion
-   * 
- * - * Protobuf type {@code flyteidl.admin.GetVersionRequest} - */ - public static final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.GetVersionRequest) - GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetVersionRequest.newBuilder() to construct. - private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetVersionRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetVersionRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.VersionOuterClass.GetVersionRequest.class, flyteidl.admin.VersionOuterClass.GetVersionRequest.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.VersionOuterClass.GetVersionRequest)) { - return super.equals(obj); - } - flyteidl.admin.VersionOuterClass.GetVersionRequest other = (flyteidl.admin.VersionOuterClass.GetVersionRequest) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.VersionOuterClass.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.VersionOuterClass.GetVersionRequest 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; - } - /** - *
-     * Empty request for GetVersion
-     * 
- * - * Protobuf type {@code flyteidl.admin.GetVersionRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.GetVersionRequest) - flyteidl.admin.VersionOuterClass.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.VersionOuterClass.GetVersionRequest.class, flyteidl.admin.VersionOuterClass.GetVersionRequest.Builder.class); - } - - // Construct using flyteidl.admin.VersionOuterClass.GetVersionRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.VersionOuterClass.internal_static_flyteidl_admin_GetVersionRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionRequest getDefaultInstanceForType() { - return flyteidl.admin.VersionOuterClass.GetVersionRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionRequest build() { - flyteidl.admin.VersionOuterClass.GetVersionRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionRequest buildPartial() { - flyteidl.admin.VersionOuterClass.GetVersionRequest result = new flyteidl.admin.VersionOuterClass.GetVersionRequest(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.VersionOuterClass.GetVersionRequest) { - return mergeFrom((flyteidl.admin.VersionOuterClass.GetVersionRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.VersionOuterClass.GetVersionRequest other) { - if (other == flyteidl.admin.VersionOuterClass.GetVersionRequest.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.VersionOuterClass.GetVersionRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.VersionOuterClass.GetVersionRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.GetVersionRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.GetVersionRequest) - private static final flyteidl.admin.VersionOuterClass.GetVersionRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.VersionOuterClass.GetVersionRequest(); - } - - public static flyteidl.admin.VersionOuterClass.GetVersionRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.VersionOuterClass.GetVersionRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetVersionResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetVersionResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Version_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Version_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_GetVersionRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_GetVersionRequest_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/admin/version.proto\022\016flyteidl" + - ".admin\"L\n\022GetVersionResponse\0226\n\025control_" + - "plane_version\030\001 \001(\0132\027.flyteidl.admin.Ver" + - "sion\"<\n\007Version\022\r\n\005Build\030\001 \001(\t\022\017\n\007Versio" + - "n\030\002 \001(\t\022\021\n\tBuildTime\030\003 \001(\t\"\023\n\021GetVersion" + - "RequestB=Z;github.com/flyteorg/flyte/fly" + - "teidl/gen/pb-go/flyteidl/adminb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }, assigner); - internal_static_flyteidl_admin_GetVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_GetVersionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetVersionResponse_descriptor, - new java.lang.String[] { "ControlPlaneVersion", }); - internal_static_flyteidl_admin_Version_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Version_descriptor, - new java.lang.String[] { "Build", "Version", "BuildTime", }); - internal_static_flyteidl_admin_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_GetVersionRequest_descriptor, - new java.lang.String[] { }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/WorkflowAttributesOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/WorkflowAttributesOuterClass.java deleted file mode 100644 index 9c5bba8ad3..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/WorkflowAttributesOuterClass.java +++ /dev/null @@ -1,6080 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/workflow_attributes.proto - -package flyteidl.admin; - -public final class WorkflowAttributesOuterClass { - private WorkflowAttributesOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - public interface WorkflowAttributesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributes) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Workflow name for which this set of attributes will be applied.
-     * 
- * - * string workflow = 3; - */ - java.lang.String getWorkflow(); - /** - *
-     * Workflow name for which this set of attributes will be applied.
-     * 
- * - * string workflow = 3; - */ - com.google.protobuf.ByteString - getWorkflowBytes(); - - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - boolean hasMatchingAttributes(); - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes(); - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder(); - - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributes} - */ - public static final class WorkflowAttributes extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributes) - WorkflowAttributesOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowAttributes.newBuilder() to construct. - private WorkflowAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowAttributes() { - project_ = ""; - domain_ = ""; - workflow_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowAttributes( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - workflow_ = s; - break; - } - case 34: { - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; - if (matchingAttributes_ != null) { - subBuilder = matchingAttributes_.toBuilder(); - } - matchingAttributes_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(matchingAttributes_); - matchingAttributes_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id for which this set of attributes will be applied.
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Unique domain id for which this set of attributes will be applied.
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int WORKFLOW_FIELD_NUMBER = 3; - private volatile java.lang.Object workflow_; - /** - *
-     * Workflow name for which this set of attributes will be applied.
-     * 
- * - * string workflow = 3; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } - } - /** - *
-     * Workflow name for which this set of attributes will be applied.
-     * 
- * - * string workflow = 3; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MATCHING_ATTRIBUTES_FIELD_NUMBER = 4; - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public boolean hasMatchingAttributes() { - return matchingAttributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { - return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { - return getMatchingAttributes(); - } - - public static final int ORG_FIELD_NUMBER = 5; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getWorkflowBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflow_); - } - if (matchingAttributes_ != null) { - output.writeMessage(4, getMatchingAttributes()); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getWorkflowBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflow_); - } - if (matchingAttributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMatchingAttributes()); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getWorkflow() - .equals(other.getWorkflow())) return false; - if (hasMatchingAttributes() != other.hasMatchingAttributes()) return false; - if (hasMatchingAttributes()) { - if (!getMatchingAttributes() - .equals(other.getMatchingAttributes())) return false; - } - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getWorkflow().hashCode(); - if (hasMatchingAttributes()) { - hash = (37 * hash) + MATCHING_ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getMatchingAttributes().hashCode(); - } - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a set of custom matching attributes which defines resource defaults for a project, domain and workflow.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributes} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributes) - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - workflow_ = ""; - - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = null; - } else { - matchingAttributes_ = null; - matchingAttributesBuilder_ = null; - } - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getDefaultInstanceForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes build() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes buildPartial() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes(this); - result.project_ = project_; - result.domain_ = domain_; - result.workflow_ = workflow_; - if (matchingAttributesBuilder_ == null) { - result.matchingAttributes_ = matchingAttributes_; - } else { - result.matchingAttributes_ = matchingAttributesBuilder_.build(); - } - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes) { - return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes other) { - if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getWorkflow().isEmpty()) { - workflow_ = other.workflow_; - onChanged(); - } - if (other.hasMatchingAttributes()) { - mergeMatchingAttributes(other.getMatchingAttributes()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id for which this set of attributes will be applied.
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Unique domain id for which this set of attributes will be applied.
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object workflow_ = ""; - /** - *
-       * Workflow name for which this set of attributes will be applied.
-       * 
- * - * string workflow = 3; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Workflow name for which this set of attributes will be applied.
-       * 
- * - * string workflow = 3; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Workflow name for which this set of attributes will be applied.
-       * 
- * - * string workflow = 3; - */ - public Builder setWorkflow( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - workflow_ = value; - onChanged(); - return this; - } - /** - *
-       * Workflow name for which this set of attributes will be applied.
-       * 
- * - * string workflow = 3; - */ - public Builder clearWorkflow() { - - workflow_ = getDefaultInstance().getWorkflow(); - onChanged(); - return this; - } - /** - *
-       * Workflow name for which this set of attributes will be applied.
-       * 
- * - * string workflow = 3; - */ - public Builder setWorkflowBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - workflow_ = value; - onChanged(); - return this; - } - - private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> matchingAttributesBuilder_; - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public boolean hasMatchingAttributes() { - return matchingAttributesBuilder_ != null || matchingAttributes_ != null; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { - if (matchingAttributesBuilder_ == null) { - return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } else { - return matchingAttributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public Builder setMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (matchingAttributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - matchingAttributes_ = value; - onChanged(); - } else { - matchingAttributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public Builder setMatchingAttributes( - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = builderForValue.build(); - onChanged(); - } else { - matchingAttributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public Builder mergeMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { - if (matchingAttributesBuilder_ == null) { - if (matchingAttributes_ != null) { - matchingAttributes_ = - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(matchingAttributes_).mergeFrom(value).buildPartial(); - } else { - matchingAttributes_ = value; - } - onChanged(); - } else { - matchingAttributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public Builder clearMatchingAttributes() { - if (matchingAttributesBuilder_ == null) { - matchingAttributes_ = null; - onChanged(); - } else { - matchingAttributes_ = null; - matchingAttributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getMatchingAttributesBuilder() { - - onChanged(); - return getMatchingAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { - if (matchingAttributesBuilder_ != null) { - return matchingAttributesBuilder_.getMessageOrBuilder(); - } else { - return matchingAttributes_ == null ? - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; - } - } - /** - * .flyteidl.admin.MatchingAttributes matching_attributes = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> - getMatchingAttributesFieldBuilder() { - if (matchingAttributesBuilder_ == null) { - matchingAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( - getMatchingAttributes(), - getParentForChildren(), - isClean()); - matchingAttributes_ = null; - } - return matchingAttributesBuilder_; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowAttributes) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributes) - private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes(); - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowAttributes(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowAttributesUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesUpdateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - boolean hasAttributes(); - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes(); - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder(); - } - /** - *
-   * Sets custom attributes for a project, domain and workflow combination.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesUpdateRequest} - */ - public static final class WorkflowAttributesUpdateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesUpdateRequest) - WorkflowAttributesUpdateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowAttributesUpdateRequest.newBuilder() to construct. - private WorkflowAttributesUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowAttributesUpdateRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowAttributesUpdateRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder subBuilder = null; - if (attributes_ != null) { - subBuilder = attributes_.toBuilder(); - } - attributes_ = input.readMessage(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(attributes_); - attributes_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes attributes_; - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributes_ != null; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes() { - return attributes_ == null ? flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder() { - return getAttributes(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (attributes_ != null) { - output.writeMessage(1, getAttributes()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (attributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributes()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest) obj; - - if (hasAttributes() != other.hasAttributes()) return false; - if (hasAttributes()) { - if (!getAttributes() - .equals(other.getAttributes())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAttributes()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getAttributes().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Sets custom attributes for a project, domain and workflow combination.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesUpdateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesUpdateRequest) - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (attributesBuilder_ == null) { - attributes_ = null; - } else { - attributes_ = null; - attributesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest getDefaultInstanceForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest build() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest buildPartial() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest(this); - if (attributesBuilder_ == null) { - result.attributes_ = attributes_; - } else { - result.attributes_ = attributesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest) { - return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest other) { - if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.getDefaultInstance()) return this; - if (other.hasAttributes()) { - mergeAttributes(other.getAttributes()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes attributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder> attributesBuilder_; - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributesBuilder_ != null || attributes_ != null; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes() { - if (attributesBuilder_ == null) { - return attributes_ == null ? flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; - } else { - return attributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder setAttributes(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes value) { - if (attributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - attributes_ = value; - onChanged(); - } else { - attributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder setAttributes( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder builderForValue) { - if (attributesBuilder_ == null) { - attributes_ = builderForValue.build(); - onChanged(); - } else { - attributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder mergeAttributes(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes value) { - if (attributesBuilder_ == null) { - if (attributes_ != null) { - attributes_ = - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); - } else { - attributes_ = value; - } - onChanged(); - } else { - attributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder clearAttributes() { - if (attributesBuilder_ == null) { - attributes_ = null; - onChanged(); - } else { - attributes_ = null; - attributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder getAttributesBuilder() { - - onChanged(); - return getAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder() { - if (attributesBuilder_ != null) { - return attributesBuilder_.getMessageOrBuilder(); - } else { - return attributes_ == null ? - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; - } - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder> - getAttributesFieldBuilder() { - if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder>( - getAttributes(), - getParentForChildren(), - isClean()); - attributes_ = null; - } - return attributesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowAttributesUpdateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateRequest) - private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest(); - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowAttributesUpdateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowAttributesUpdateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowAttributesUpdateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesUpdateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesUpdateResponse} - */ - public static final class WorkflowAttributesUpdateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesUpdateResponse) - WorkflowAttributesUpdateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowAttributesUpdateResponse.newBuilder() to construct. - private WorkflowAttributesUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowAttributesUpdateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowAttributesUpdateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesUpdateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesUpdateResponse) - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse getDefaultInstanceForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse build() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse buildPartial() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse) { - return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse other) { - if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowAttributesUpdateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateResponse) - private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse(); - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowAttributesUpdateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowAttributesUpdateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowAttributesGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - java.lang.String getWorkflow(); - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - com.google.protobuf.ByteString - getWorkflowBytes(); - - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - int getResourceTypeValue(); - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType(); - - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to get an individual workflow attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesGetRequest} - */ - public static final class WorkflowAttributesGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesGetRequest) - WorkflowAttributesGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowAttributesGetRequest.newBuilder() to construct. - private WorkflowAttributesGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowAttributesGetRequest() { - project_ = ""; - domain_ = ""; - workflow_ = ""; - resourceType_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowAttributesGetRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - workflow_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); - - resourceType_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int WORKFLOW_FIELD_NUMBER = 3; - private volatile java.lang.Object workflow_; - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } - } - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 4; - private int resourceType_; - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Which type of matchable attributes to return.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 5; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getWorkflowBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflow_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - output.writeEnum(4, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getWorkflowBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflow_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getWorkflow() - .equals(other.getWorkflow())) return false; - if (resourceType_ != other.resourceType_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getWorkflow().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest 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 to get an individual workflow attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesGetRequest) - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - workflow_ = ""; - - resourceType_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest getDefaultInstanceForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest build() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest buildPartial() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.workflow_ = workflow_; - result.resourceType_ = resourceType_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest) { - return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest other) { - if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getWorkflow().isEmpty()) { - workflow_ = other.workflow_; - onChanged(); - } - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object workflow_ = ""; - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public Builder setWorkflow( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - workflow_ = value; - onChanged(); - return this; - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public Builder clearWorkflow() { - - workflow_ = getDefaultInstance().getWorkflow(); - onChanged(); - return this; - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public Builder setWorkflowBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - workflow_ = value; - onChanged(); - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public Builder setResourceType(flyteidl.admin.MatchableResourceOuterClass.MatchableResource value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to return.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowAttributesGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesGetRequest) - private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest(); - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowAttributesGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowAttributesGetRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowAttributesGetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesGetResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - boolean hasAttributes(); - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes(); - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder(); - } - /** - *
-   * Response to get an individual workflow attribute override.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesGetResponse} - */ - public static final class WorkflowAttributesGetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesGetResponse) - WorkflowAttributesGetResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowAttributesGetResponse.newBuilder() to construct. - private WorkflowAttributesGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowAttributesGetResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowAttributesGetResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder subBuilder = null; - if (attributes_ != null) { - subBuilder = attributes_.toBuilder(); - } - attributes_ = input.readMessage(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(attributes_); - attributes_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse.Builder.class); - } - - public static final int ATTRIBUTES_FIELD_NUMBER = 1; - private flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes attributes_; - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributes_ != null; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes() { - return attributes_ == null ? flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder() { - return getAttributes(); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (attributes_ != null) { - output.writeMessage(1, getAttributes()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (attributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttributes()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse) obj; - - if (hasAttributes() != other.hasAttributes()) return false; - if (hasAttributes()) { - if (!getAttributes() - .equals(other.getAttributes())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAttributes()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + getAttributes().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse 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 to get an individual workflow attribute override.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesGetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesGetResponse) - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (attributesBuilder_ == null) { - attributes_ = null; - } else { - attributes_ = null; - attributesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesGetResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse getDefaultInstanceForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse build() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse buildPartial() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse(this); - if (attributesBuilder_ == null) { - result.attributes_ = attributes_; - } else { - result.attributes_ = attributesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse) { - return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse other) { - if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse.getDefaultInstance()) return this; - if (other.hasAttributes()) { - mergeAttributes(other.getAttributes()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes attributes_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder> attributesBuilder_; - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public boolean hasAttributes() { - return attributesBuilder_ != null || attributes_ != null; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes() { - if (attributesBuilder_ == null) { - return attributes_ == null ? flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; - } else { - return attributesBuilder_.getMessage(); - } - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder setAttributes(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes value) { - if (attributesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - attributes_ = value; - onChanged(); - } else { - attributesBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder setAttributes( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder builderForValue) { - if (attributesBuilder_ == null) { - attributes_ = builderForValue.build(); - onChanged(); - } else { - attributesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder mergeAttributes(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes value) { - if (attributesBuilder_ == null) { - if (attributes_ != null) { - attributes_ = - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); - } else { - attributes_ = value; - } - onChanged(); - } else { - attributesBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public Builder clearAttributes() { - if (attributesBuilder_ == null) { - attributes_ = null; - onChanged(); - } else { - attributes_ = null; - attributesBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder getAttributesBuilder() { - - onChanged(); - return getAttributesFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder() { - if (attributesBuilder_ != null) { - return attributesBuilder_.getMessageOrBuilder(); - } else { - return attributes_ == null ? - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; - } - } - /** - * .flyteidl.admin.WorkflowAttributes attributes = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder> - getAttributesFieldBuilder() { - if (attributesBuilder_ == null) { - attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder>( - getAttributes(), - getParentForChildren(), - isClean()); - attributes_ = null; - } - return attributesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowAttributesGetResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesGetResponse) - private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse(); - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowAttributesGetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowAttributesGetResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesGetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowAttributesDeleteRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesDeleteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - java.lang.String getWorkflow(); - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - com.google.protobuf.ByteString - getWorkflowBytes(); - - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - int getResourceTypeValue(); - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType(); - - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Request to delete a set matchable workflow attribute override.
-   * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesDeleteRequest} - */ - public static final class WorkflowAttributesDeleteRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesDeleteRequest) - WorkflowAttributesDeleteRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowAttributesDeleteRequest.newBuilder() to construct. - private WorkflowAttributesDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowAttributesDeleteRequest() { - project_ = ""; - domain_ = ""; - workflow_ = ""; - resourceType_ = 0; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowAttributesDeleteRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - workflow_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); - - resourceType_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Unique project id which this set of attributes references.
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Unique domain id which this set of attributes references.
-     * +required
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int WORKFLOW_FIELD_NUMBER = 3; - private volatile java.lang.Object workflow_; - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } - } - /** - *
-     * Workflow name which this set of attributes references.
-     * +required
-     * 
- * - * string workflow = 3; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 4; - private int resourceType_; - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Which type of matchable attributes to delete.
-     * +required
-     * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - - public static final int ORG_FIELD_NUMBER = 5; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the attributes.
-     * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getWorkflowBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflow_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - output.writeEnum(4, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getWorkflowBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflow_); - } - if (resourceType_ != flyteidl.admin.MatchableResourceOuterClass.MatchableResource.TASK_RESOURCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, resourceType_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, org_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getWorkflow() - .equals(other.getWorkflow())) return false; - if (resourceType_ != other.resourceType_) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getWorkflow().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest 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 to delete a set matchable workflow attribute override.
-     * For more info on matchable attributes, see :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration`
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesDeleteRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesDeleteRequest) - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - workflow_ = ""; - - resourceType_ = 0; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest getDefaultInstanceForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest build() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest buildPartial() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.workflow_ = workflow_; - result.resourceType_ = resourceType_; - result.org_ = org_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest) { - return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest other) { - if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getWorkflow().isEmpty()) { - workflow_ = other.workflow_; - onChanged(); - } - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Unique project id which this set of attributes references.
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Unique domain id which this set of attributes references.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object workflow_ = ""; - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public java.lang.String getWorkflow() { - java.lang.Object ref = workflow_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflow_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public com.google.protobuf.ByteString - getWorkflowBytes() { - java.lang.Object ref = workflow_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflow_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public Builder setWorkflow( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - workflow_ = value; - onChanged(); - return this; - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public Builder clearWorkflow() { - - workflow_ = getDefaultInstance().getWorkflow(); - onChanged(); - return this; - } - /** - *
-       * Workflow name which this set of attributes references.
-       * +required
-       * 
- * - * string workflow = 3; - */ - public Builder setWorkflowBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - workflow_ = value; - onChanged(); - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public flyteidl.admin.MatchableResourceOuterClass.MatchableResource getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.admin.MatchableResourceOuterClass.MatchableResource result = flyteidl.admin.MatchableResourceOuterClass.MatchableResource.valueOf(resourceType_); - return result == null ? flyteidl.admin.MatchableResourceOuterClass.MatchableResource.UNRECOGNIZED : result; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public Builder setResourceType(flyteidl.admin.MatchableResourceOuterClass.MatchableResource value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Which type of matchable attributes to delete.
-       * +required
-       * 
- * - * .flyteidl.admin.MatchableResource resource_type = 4; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the attributes.
-       * 
- * - * string org = 5; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowAttributesDeleteRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesDeleteRequest) - private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest(); - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowAttributesDeleteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowAttributesDeleteRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowAttributesDeleteResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesDeleteResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesDeleteResponse} - */ - public static final class WorkflowAttributesDeleteResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesDeleteResponse) - WorkflowAttributesDeleteResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowAttributesDeleteResponse.newBuilder() to construct. - private WorkflowAttributesDeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowAttributesDeleteResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowAttributesDeleteResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowAttributesDeleteResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesDeleteResponse) - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse getDefaultInstanceForType() { - return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse build() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse buildPartial() { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse) { - return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse other) { - if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowAttributesDeleteResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesDeleteResponse) - private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse(); - } - - public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowAttributesDeleteResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowAttributesDeleteResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesDeleteResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowAttributes_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowAttributesGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowAttributesGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowAttributesGetResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowAttributesGetResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(flyteidl/admin/workflow_attributes.pro" + - "to\022\016flyteidl.admin\032\'flyteidl/admin/match" + - "able_resource.proto\"\225\001\n\022WorkflowAttribut" + - "es\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010w" + - "orkflow\030\003 \001(\t\022?\n\023matching_attributes\030\004 \001" + - "(\0132\".flyteidl.admin.MatchingAttributes\022\013" + - "\n\003org\030\005 \001(\t\"Y\n\037WorkflowAttributesUpdateR" + - "equest\0226\n\nattributes\030\001 \001(\0132\".flyteidl.ad" + - "min.WorkflowAttributes\"\"\n WorkflowAttrib" + - "utesUpdateResponse\"\230\001\n\034WorkflowAttribute" + - "sGetRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002" + - " \001(\t\022\020\n\010workflow\030\003 \001(\t\0228\n\rresource_type\030" + - "\004 \001(\0162!.flyteidl.admin.MatchableResource" + - "\022\013\n\003org\030\005 \001(\t\"W\n\035WorkflowAttributesGetRe" + - "sponse\0226\n\nattributes\030\001 \001(\0132\".flyteidl.ad" + - "min.WorkflowAttributes\"\233\001\n\037WorkflowAttri" + - "butesDeleteRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006d" + - "omain\030\002 \001(\t\022\020\n\010workflow\030\003 \001(\t\0228\n\rresourc" + - "e_type\030\004 \001(\0162!.flyteidl.admin.MatchableR" + - "esource\022\013\n\003org\030\005 \001(\t\"\"\n WorkflowAttribut" + - "esDeleteResponseB=Z;github.com/flyteorg/" + - "flyte/flyteidl/gen/pb-go/flyteidl/adminb" + - "\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_WorkflowAttributes_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowAttributes_descriptor, - new java.lang.String[] { "Project", "Domain", "Workflow", "MatchingAttributes", "Org", }); - internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor, - new java.lang.String[] { "Attributes", }); - internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_WorkflowAttributesGetRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_WorkflowAttributesGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowAttributesGetRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "Workflow", "ResourceType", "Org", }); - internal_static_flyteidl_admin_WorkflowAttributesGetResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_WorkflowAttributesGetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowAttributesGetResponse_descriptor, - new java.lang.String[] { "Attributes", }); - internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowAttributesDeleteRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "Workflow", "ResourceType", "Org", }); - internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowAttributesDeleteResponse_descriptor, - new java.lang.String[] { }); - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/WorkflowOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/WorkflowOuterClass.java deleted file mode 100644 index 9def14e8f1..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/admin/WorkflowOuterClass.java +++ /dev/null @@ -1,8303 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/admin/workflow.proto - -package flyteidl.admin; - -public final class WorkflowOuterClass { - private WorkflowOuterClass() {} - 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 WorkflowCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowCreateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the workflow.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Represents the specification for workflow.
-     * +required
-     * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - boolean hasSpec(); - /** - *
-     * Represents the specification for workflow.
-     * +required
-     * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowSpec getSpec(); - /** - *
-     * Represents the specification for workflow.
-     * +required
-     * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowSpecOrBuilder getSpecOrBuilder(); - } - /** - *
-   * Represents a request structure to create a revision of a workflow.
-   * See :ref:`ref_flyteidl.admin.Workflow` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowCreateRequest} - */ - public static final class WorkflowCreateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowCreateRequest) - WorkflowCreateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowCreateRequest.newBuilder() to construct. - private WorkflowCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowCreateRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowCreateRequest( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder subBuilder = null; - if (spec_ != null) { - subBuilder = spec_.toBuilder(); - } - spec_ = input.readMessage(flyteidl.admin.WorkflowOuterClass.WorkflowSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(spec_); - spec_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest.class, flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * id represents the unique identifier of the workflow.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * +required
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int SPEC_FIELD_NUMBER = 2; - private flyteidl.admin.WorkflowOuterClass.WorkflowSpec spec_; - /** - *
-     * Represents the specification for workflow.
-     * +required
-     * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public boolean hasSpec() { - return spec_ != null; - } - /** - *
-     * Represents the specification for workflow.
-     * +required
-     * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowSpec getSpec() { - return spec_ == null ? flyteidl.admin.WorkflowOuterClass.WorkflowSpec.getDefaultInstance() : spec_; - } - /** - *
-     * Represents the specification for workflow.
-     * +required
-     * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowSpecOrBuilder getSpecOrBuilder() { - return getSpec(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (spec_ != null) { - output.writeMessage(2, getSpec()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (spec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSpec()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest other = (flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasSpec() != other.hasSpec()) return false; - if (hasSpec()) { - if (!getSpec() - .equals(other.getSpec())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasSpec()) { - hash = (37 * hash) + SPEC_FIELD_NUMBER; - hash = (53 * hash) + getSpec().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest 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; - } - /** - *
-     * Represents a request structure to create a revision of a workflow.
-     * See :ref:`ref_flyteidl.admin.Workflow` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowCreateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowCreateRequest) - flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest.class, flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (specBuilder_ == null) { - spec_ = null; - } else { - spec_ = null; - specBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest build() { - flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest buildPartial() { - flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest result = new flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (specBuilder_ == null) { - result.spec_ = spec_; - } else { - result.spec_ = specBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest other) { - if (other == flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasSpec()) { - mergeSpec(other.getSpec()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * +required
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.WorkflowOuterClass.WorkflowSpec spec_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowSpec, flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowSpecOrBuilder> specBuilder_; - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public boolean hasSpec() { - return specBuilder_ != null || spec_ != null; - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowSpec getSpec() { - if (specBuilder_ == null) { - return spec_ == null ? flyteidl.admin.WorkflowOuterClass.WorkflowSpec.getDefaultInstance() : spec_; - } else { - return specBuilder_.getMessage(); - } - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public Builder setSpec(flyteidl.admin.WorkflowOuterClass.WorkflowSpec value) { - if (specBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - spec_ = value; - onChanged(); - } else { - specBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public Builder setSpec( - flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder builderForValue) { - if (specBuilder_ == null) { - spec_ = builderForValue.build(); - onChanged(); - } else { - specBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public Builder mergeSpec(flyteidl.admin.WorkflowOuterClass.WorkflowSpec value) { - if (specBuilder_ == null) { - if (spec_ != null) { - spec_ = - flyteidl.admin.WorkflowOuterClass.WorkflowSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); - } else { - spec_ = value; - } - onChanged(); - } else { - specBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public Builder clearSpec() { - if (specBuilder_ == null) { - spec_ = null; - onChanged(); - } else { - spec_ = null; - specBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder getSpecBuilder() { - - onChanged(); - return getSpecFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowSpecOrBuilder getSpecOrBuilder() { - if (specBuilder_ != null) { - return specBuilder_.getMessageOrBuilder(); - } else { - return spec_ == null ? - flyteidl.admin.WorkflowOuterClass.WorkflowSpec.getDefaultInstance() : spec_; - } - } - /** - *
-       * Represents the specification for workflow.
-       * +required
-       * 
- * - * .flyteidl.admin.WorkflowSpec spec = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowSpec, flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowSpecOrBuilder> - getSpecFieldBuilder() { - if (specBuilder_ == null) { - specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowSpec, flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowSpecOrBuilder>( - getSpec(), - getParentForChildren(), - isClean()); - spec_ = null; - } - return specBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowCreateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowCreateRequest) - private static final flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest(); - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowCreateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowCreateRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowCreateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowCreateResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Purposefully empty, may be populated in the future. 
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowCreateResponse} - */ - public static final class WorkflowCreateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowCreateResponse) - WorkflowCreateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowCreateResponse.newBuilder() to construct. - private WorkflowCreateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowCreateResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowCreateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse.class, flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse other = (flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Purposefully empty, may be populated in the future. 
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowCreateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowCreateResponse) - flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse.class, flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowCreateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse build() { - flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse buildPartial() { - flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse result = new flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse other) { - if (other == flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowCreateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowCreateResponse) - private static final flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse(); - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowCreateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowCreateResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowCreateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.Workflow) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the workflow.
-     * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - boolean hasClosure(); - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the workflow.
-     * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowClosure getClosure(); - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the workflow.
-     * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowClosureOrBuilder getClosureOrBuilder(); - - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - java.lang.String getShortDescription(); - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - com.google.protobuf.ByteString - getShortDescriptionBytes(); - } - /** - *
-   * Represents the workflow structure stored in the Admin
-   * A workflow is created by ordering tasks and associating outputs to inputs
-   * in order to produce a directed-acyclic execution graph.
-   * 
- * - * Protobuf type {@code flyteidl.admin.Workflow} - */ - public static final class Workflow extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.Workflow) - WorkflowOrBuilder { - private static final long serialVersionUID = 0L; - // Use Workflow.newBuilder() to construct. - private Workflow(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Workflow() { - shortDescription_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Workflow( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder subBuilder = null; - if (closure_ != null) { - subBuilder = closure_.toBuilder(); - } - closure_ = input.readMessage(flyteidl.admin.WorkflowOuterClass.WorkflowClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(closure_); - closure_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - shortDescription_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_Workflow_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_Workflow_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.Workflow.class, flyteidl.admin.WorkflowOuterClass.Workflow.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int CLOSURE_FIELD_NUMBER = 2; - private flyteidl.admin.WorkflowOuterClass.WorkflowClosure closure_; - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the workflow.
-     * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public boolean hasClosure() { - return closure_ != null; - } - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the workflow.
-     * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowClosure getClosure() { - return closure_ == null ? flyteidl.admin.WorkflowOuterClass.WorkflowClosure.getDefaultInstance() : closure_; - } - /** - *
-     * closure encapsulates all the fields that maps to a compiled version of the workflow.
-     * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowClosureOrBuilder getClosureOrBuilder() { - return getClosure(); - } - - public static final int SHORT_DESCRIPTION_FIELD_NUMBER = 3; - private volatile java.lang.Object shortDescription_; - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - public java.lang.String getShortDescription() { - java.lang.Object ref = shortDescription_; - 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(); - shortDescription_ = s; - return s; - } - } - /** - *
-     * One-liner overview of the entity.
-     * 
- * - * string short_description = 3; - */ - public com.google.protobuf.ByteString - getShortDescriptionBytes() { - java.lang.Object ref = shortDescription_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - shortDescription_ = 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (closure_ != null) { - output.writeMessage(2, getClosure()); - } - if (!getShortDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (closure_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getClosure()); - } - if (!getShortDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.Workflow)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.Workflow other = (flyteidl.admin.WorkflowOuterClass.Workflow) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasClosure() != other.hasClosure()) return false; - if (hasClosure()) { - if (!getClosure() - .equals(other.getClosure())) return false; - } - if (!getShortDescription() - .equals(other.getShortDescription())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasClosure()) { - hash = (37 * hash) + CLOSURE_FIELD_NUMBER; - hash = (53 * hash) + getClosure().hashCode(); - } - hash = (37 * hash) + SHORT_DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getShortDescription().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.Workflow parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.Workflow 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; - } - /** - *
-     * Represents the workflow structure stored in the Admin
-     * A workflow is created by ordering tasks and associating outputs to inputs
-     * in order to produce a directed-acyclic execution graph.
-     * 
- * - * Protobuf type {@code flyteidl.admin.Workflow} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.Workflow) - flyteidl.admin.WorkflowOuterClass.WorkflowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_Workflow_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_Workflow_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.Workflow.class, flyteidl.admin.WorkflowOuterClass.Workflow.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.Workflow.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (closureBuilder_ == null) { - closure_ = null; - } else { - closure_ = null; - closureBuilder_ = null; - } - shortDescription_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_Workflow_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.Workflow getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.Workflow.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.Workflow build() { - flyteidl.admin.WorkflowOuterClass.Workflow result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.Workflow buildPartial() { - flyteidl.admin.WorkflowOuterClass.Workflow result = new flyteidl.admin.WorkflowOuterClass.Workflow(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (closureBuilder_ == null) { - result.closure_ = closure_; - } else { - result.closure_ = closureBuilder_.build(); - } - result.shortDescription_ = shortDescription_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.Workflow) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.Workflow)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.Workflow other) { - if (other == flyteidl.admin.WorkflowOuterClass.Workflow.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasClosure()) { - mergeClosure(other.getClosure()); - } - if (!other.getShortDescription().isEmpty()) { - shortDescription_ = other.shortDescription_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.Workflow parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.Workflow) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.admin.WorkflowOuterClass.WorkflowClosure closure_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowClosure, flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowClosureOrBuilder> closureBuilder_; - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public boolean hasClosure() { - return closureBuilder_ != null || closure_ != null; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowClosure getClosure() { - if (closureBuilder_ == null) { - return closure_ == null ? flyteidl.admin.WorkflowOuterClass.WorkflowClosure.getDefaultInstance() : closure_; - } else { - return closureBuilder_.getMessage(); - } - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public Builder setClosure(flyteidl.admin.WorkflowOuterClass.WorkflowClosure value) { - if (closureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - closure_ = value; - onChanged(); - } else { - closureBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public Builder setClosure( - flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder builderForValue) { - if (closureBuilder_ == null) { - closure_ = builderForValue.build(); - onChanged(); - } else { - closureBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public Builder mergeClosure(flyteidl.admin.WorkflowOuterClass.WorkflowClosure value) { - if (closureBuilder_ == null) { - if (closure_ != null) { - closure_ = - flyteidl.admin.WorkflowOuterClass.WorkflowClosure.newBuilder(closure_).mergeFrom(value).buildPartial(); - } else { - closure_ = value; - } - onChanged(); - } else { - closureBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public Builder clearClosure() { - if (closureBuilder_ == null) { - closure_ = null; - onChanged(); - } else { - closure_ = null; - closureBuilder_ = null; - } - - return this; - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder getClosureBuilder() { - - onChanged(); - return getClosureFieldBuilder().getBuilder(); - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowClosureOrBuilder getClosureOrBuilder() { - if (closureBuilder_ != null) { - return closureBuilder_.getMessageOrBuilder(); - } else { - return closure_ == null ? - flyteidl.admin.WorkflowOuterClass.WorkflowClosure.getDefaultInstance() : closure_; - } - } - /** - *
-       * closure encapsulates all the fields that maps to a compiled version of the workflow.
-       * 
- * - * .flyteidl.admin.WorkflowClosure closure = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowClosure, flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowClosureOrBuilder> - getClosureFieldBuilder() { - if (closureBuilder_ == null) { - closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowClosure, flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowClosureOrBuilder>( - getClosure(), - getParentForChildren(), - isClean()); - closure_ = null; - } - return closureBuilder_; - } - - private java.lang.Object shortDescription_ = ""; - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public java.lang.String getShortDescription() { - java.lang.Object ref = shortDescription_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - shortDescription_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public com.google.protobuf.ByteString - getShortDescriptionBytes() { - java.lang.Object ref = shortDescription_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - shortDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public Builder setShortDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - shortDescription_ = value; - onChanged(); - return this; - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public Builder clearShortDescription() { - - shortDescription_ = getDefaultInstance().getShortDescription(); - onChanged(); - return this; - } - /** - *
-       * One-liner overview of the entity.
-       * 
- * - * string short_description = 3; - */ - public Builder setShortDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - shortDescription_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.Workflow) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.Workflow) - private static final flyteidl.admin.WorkflowOuterClass.Workflow DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.Workflow(); - } - - public static flyteidl.admin.WorkflowOuterClass.Workflow getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Workflow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Workflow(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.Workflow getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - java.util.List - getWorkflowsList(); - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - flyteidl.admin.WorkflowOuterClass.Workflow getWorkflows(int index); - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - int getWorkflowsCount(); - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - java.util.List - getWorkflowsOrBuilderList(); - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowOrBuilder getWorkflowsOrBuilder( - int index); - - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - java.lang.String getToken(); - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - com.google.protobuf.ByteString - getTokenBytes(); - } - /** - *
-   * Represents a list of workflows returned from the admin.
-   * See :ref:`ref_flyteidl.admin.Workflow` for more details
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowList} - */ - public static final class WorkflowList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowList) - WorkflowListOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowList.newBuilder() to construct. - private WorkflowList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowList() { - workflows_ = java.util.Collections.emptyList(); - token_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowList( - 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)) { - workflows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - workflows_.add( - input.readMessage(flyteidl.admin.WorkflowOuterClass.Workflow.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - token_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - workflows_ = java.util.Collections.unmodifiableList(workflows_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowList.class, flyteidl.admin.WorkflowOuterClass.WorkflowList.Builder.class); - } - - private int bitField0_; - public static final int WORKFLOWS_FIELD_NUMBER = 1; - private java.util.List workflows_; - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public java.util.List getWorkflowsList() { - return workflows_; - } - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public java.util.List - getWorkflowsOrBuilderList() { - return workflows_; - } - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public int getWorkflowsCount() { - return workflows_.size(); - } - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public flyteidl.admin.WorkflowOuterClass.Workflow getWorkflows(int index) { - return workflows_.get(index); - } - /** - *
-     * A list of workflows returned based on the request.
-     * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowOrBuilder getWorkflowsOrBuilder( - int index) { - return workflows_.get(index); - } - - public static final int TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object token_; - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - 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(); - token_ = s; - return s; - } - } - /** - *
-     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-     * in a query. If there are no more results, this value will be empty.
-     * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = 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 { - for (int i = 0; i < workflows_.size(); i++) { - output.writeMessage(1, workflows_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < workflows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, workflows_.get(i)); - } - if (!getTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.WorkflowList)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.WorkflowList other = (flyteidl.admin.WorkflowOuterClass.WorkflowList) obj; - - if (!getWorkflowsList() - .equals(other.getWorkflowsList())) return false; - if (!getToken() - .equals(other.getToken())) 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 (getWorkflowsCount() > 0) { - hash = (37 * hash) + WORKFLOWS_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowsList().hashCode(); - } - hash = (37 * hash) + TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowList parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.WorkflowList 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; - } - /** - *
-     * Represents a list of workflows returned from the admin.
-     * See :ref:`ref_flyteidl.admin.Workflow` for more details
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowList) - flyteidl.admin.WorkflowOuterClass.WorkflowListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowList.class, flyteidl.admin.WorkflowOuterClass.WorkflowList.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.WorkflowList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getWorkflowsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (workflowsBuilder_ == null) { - workflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - workflowsBuilder_.clear(); - } - token_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowList_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowList getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.WorkflowList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowList build() { - flyteidl.admin.WorkflowOuterClass.WorkflowList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowList buildPartial() { - flyteidl.admin.WorkflowOuterClass.WorkflowList result = new flyteidl.admin.WorkflowOuterClass.WorkflowList(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (workflowsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - workflows_ = java.util.Collections.unmodifiableList(workflows_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.workflows_ = workflows_; - } else { - result.workflows_ = workflowsBuilder_.build(); - } - result.token_ = token_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.WorkflowList) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.WorkflowList other) { - if (other == flyteidl.admin.WorkflowOuterClass.WorkflowList.getDefaultInstance()) return this; - if (workflowsBuilder_ == null) { - if (!other.workflows_.isEmpty()) { - if (workflows_.isEmpty()) { - workflows_ = other.workflows_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureWorkflowsIsMutable(); - workflows_.addAll(other.workflows_); - } - onChanged(); - } - } else { - if (!other.workflows_.isEmpty()) { - if (workflowsBuilder_.isEmpty()) { - workflowsBuilder_.dispose(); - workflowsBuilder_ = null; - workflows_ = other.workflows_; - bitField0_ = (bitField0_ & ~0x00000001); - workflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkflowsFieldBuilder() : null; - } else { - workflowsBuilder_.addAllMessages(other.workflows_); - } - } - } - if (!other.getToken().isEmpty()) { - token_ = other.token_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.WorkflowList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.WorkflowList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List workflows_ = - java.util.Collections.emptyList(); - private void ensureWorkflowsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - workflows_ = new java.util.ArrayList(workflows_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.Workflow, flyteidl.admin.WorkflowOuterClass.Workflow.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowOrBuilder> workflowsBuilder_; - - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public java.util.List getWorkflowsList() { - if (workflowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(workflows_); - } else { - return workflowsBuilder_.getMessageList(); - } - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public int getWorkflowsCount() { - if (workflowsBuilder_ == null) { - return workflows_.size(); - } else { - return workflowsBuilder_.getCount(); - } - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public flyteidl.admin.WorkflowOuterClass.Workflow getWorkflows(int index) { - if (workflowsBuilder_ == null) { - return workflows_.get(index); - } else { - return workflowsBuilder_.getMessage(index); - } - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder setWorkflows( - int index, flyteidl.admin.WorkflowOuterClass.Workflow value) { - if (workflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkflowsIsMutable(); - workflows_.set(index, value); - onChanged(); - } else { - workflowsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder setWorkflows( - int index, flyteidl.admin.WorkflowOuterClass.Workflow.Builder builderForValue) { - if (workflowsBuilder_ == null) { - ensureWorkflowsIsMutable(); - workflows_.set(index, builderForValue.build()); - onChanged(); - } else { - workflowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder addWorkflows(flyteidl.admin.WorkflowOuterClass.Workflow value) { - if (workflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkflowsIsMutable(); - workflows_.add(value); - onChanged(); - } else { - workflowsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder addWorkflows( - int index, flyteidl.admin.WorkflowOuterClass.Workflow value) { - if (workflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkflowsIsMutable(); - workflows_.add(index, value); - onChanged(); - } else { - workflowsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder addWorkflows( - flyteidl.admin.WorkflowOuterClass.Workflow.Builder builderForValue) { - if (workflowsBuilder_ == null) { - ensureWorkflowsIsMutable(); - workflows_.add(builderForValue.build()); - onChanged(); - } else { - workflowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder addWorkflows( - int index, flyteidl.admin.WorkflowOuterClass.Workflow.Builder builderForValue) { - if (workflowsBuilder_ == null) { - ensureWorkflowsIsMutable(); - workflows_.add(index, builderForValue.build()); - onChanged(); - } else { - workflowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder addAllWorkflows( - java.lang.Iterable values) { - if (workflowsBuilder_ == null) { - ensureWorkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workflows_); - onChanged(); - } else { - workflowsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder clearWorkflows() { - if (workflowsBuilder_ == null) { - workflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - workflowsBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public Builder removeWorkflows(int index) { - if (workflowsBuilder_ == null) { - ensureWorkflowsIsMutable(); - workflows_.remove(index); - onChanged(); - } else { - workflowsBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public flyteidl.admin.WorkflowOuterClass.Workflow.Builder getWorkflowsBuilder( - int index) { - return getWorkflowsFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowOrBuilder getWorkflowsOrBuilder( - int index) { - if (workflowsBuilder_ == null) { - return workflows_.get(index); } else { - return workflowsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public java.util.List - getWorkflowsOrBuilderList() { - if (workflowsBuilder_ != null) { - return workflowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(workflows_); - } - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public flyteidl.admin.WorkflowOuterClass.Workflow.Builder addWorkflowsBuilder() { - return getWorkflowsFieldBuilder().addBuilder( - flyteidl.admin.WorkflowOuterClass.Workflow.getDefaultInstance()); - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public flyteidl.admin.WorkflowOuterClass.Workflow.Builder addWorkflowsBuilder( - int index) { - return getWorkflowsFieldBuilder().addBuilder( - index, flyteidl.admin.WorkflowOuterClass.Workflow.getDefaultInstance()); - } - /** - *
-       * A list of workflows returned based on the request.
-       * 
- * - * repeated .flyteidl.admin.Workflow workflows = 1; - */ - public java.util.List - getWorkflowsBuilderList() { - return getWorkflowsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.Workflow, flyteidl.admin.WorkflowOuterClass.Workflow.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowOrBuilder> - getWorkflowsFieldBuilder() { - if (workflowsBuilder_ == null) { - workflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.Workflow, flyteidl.admin.WorkflowOuterClass.Workflow.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowOrBuilder>( - workflows_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - workflows_ = null; - } - return workflowsBuilder_; - } - - private java.lang.Object token_ = ""; - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public java.lang.String getToken() { - java.lang.Object ref = token_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - token_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public com.google.protobuf.ByteString - getTokenBytes() { - java.lang.Object ref = token_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - token_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - token_ = value; - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder clearToken() { - - token_ = getDefaultInstance().getToken(); - onChanged(); - return this; - } - /** - *
-       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
-       * in a query. If there are no more results, this value will be empty.
-       * 
- * - * string token = 2; - */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - token_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowList) - private static final flyteidl.admin.WorkflowOuterClass.WorkflowList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.WorkflowList(); - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowList(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Template of the task that encapsulates all the metadata of the workflow.
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - boolean hasTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the workflow.
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - flyteidl.core.Workflow.WorkflowTemplate getTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the workflow.
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - flyteidl.core.Workflow.WorkflowTemplateOrBuilder getTemplateOrBuilder(); - - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - java.util.List - getSubWorkflowsList(); - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - flyteidl.core.Workflow.WorkflowTemplate getSubWorkflows(int index); - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - int getSubWorkflowsCount(); - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - java.util.List - getSubWorkflowsOrBuilderList(); - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubWorkflowsOrBuilder( - int index); - - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - boolean hasDescription(); - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescription(); - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionOrBuilder(); - } - /** - *
-   * Represents a structure that encapsulates the specification of the workflow.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowSpec} - */ - public static final class WorkflowSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowSpec) - WorkflowSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowSpec.newBuilder() to construct. - private WorkflowSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowSpec() { - subWorkflows_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowSpec( - 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.Workflow.WorkflowTemplate.Builder subBuilder = null; - if (template_ != null) { - subBuilder = template_.toBuilder(); - } - template_ = input.readMessage(flyteidl.core.Workflow.WorkflowTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(template_); - template_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - subWorkflows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - subWorkflows_.add( - input.readMessage(flyteidl.core.Workflow.WorkflowTemplate.parser(), extensionRegistry)); - break; - } - case 26: { - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder subBuilder = null; - if (description_ != null) { - subBuilder = description_.toBuilder(); - } - description_ = input.readMessage(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(description_); - description_ = 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 { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - subWorkflows_ = java.util.Collections.unmodifiableList(subWorkflows_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowSpec.class, flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder.class); - } - - private int bitField0_; - public static final int TEMPLATE_FIELD_NUMBER = 1; - private flyteidl.core.Workflow.WorkflowTemplate template_; - /** - *
-     * Template of the task that encapsulates all the metadata of the workflow.
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public boolean hasTemplate() { - return template_ != null; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the workflow.
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate getTemplate() { - return template_ == null ? flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : template_; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the workflow.
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getTemplateOrBuilder() { - return getTemplate(); - } - - public static final int SUB_WORKFLOWS_FIELD_NUMBER = 2; - private java.util.List subWorkflows_; - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public java.util.List getSubWorkflowsList() { - return subWorkflows_; - } - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public java.util.List - getSubWorkflowsOrBuilderList() { - return subWorkflows_; - } - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public int getSubWorkflowsCount() { - return subWorkflows_.size(); - } - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public flyteidl.core.Workflow.WorkflowTemplate getSubWorkflows(int index) { - return subWorkflows_.get(index); - } - /** - *
-     * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-     * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-     * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubWorkflowsOrBuilder( - int index) { - return subWorkflows_.get(index); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 3; - private flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity description_; - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public boolean hasDescription() { - return description_ != null; - } - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescription() { - return description_ == null ? flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance() : description_; - } - /** - *
-     * Represents the specification for description entity.
-     * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionOrBuilder() { - return getDescription(); - } - - 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 (template_ != null) { - output.writeMessage(1, getTemplate()); - } - for (int i = 0; i < subWorkflows_.size(); i++) { - output.writeMessage(2, subWorkflows_.get(i)); - } - if (description_ != null) { - output.writeMessage(3, getDescription()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (template_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTemplate()); - } - for (int i = 0; i < subWorkflows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, subWorkflows_.get(i)); - } - if (description_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDescription()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.WorkflowSpec)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.WorkflowSpec other = (flyteidl.admin.WorkflowOuterClass.WorkflowSpec) obj; - - if (hasTemplate() != other.hasTemplate()) return false; - if (hasTemplate()) { - if (!getTemplate() - .equals(other.getTemplate())) return false; - } - if (!getSubWorkflowsList() - .equals(other.getSubWorkflowsList())) return false; - if (hasDescription() != other.hasDescription()) return false; - if (hasDescription()) { - if (!getDescription() - .equals(other.getDescription())) 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 (hasTemplate()) { - hash = (37 * hash) + TEMPLATE_FIELD_NUMBER; - hash = (53 * hash) + getTemplate().hashCode(); - } - if (getSubWorkflowsCount() > 0) { - hash = (37 * hash) + SUB_WORKFLOWS_FIELD_NUMBER; - hash = (53 * hash) + getSubWorkflowsList().hashCode(); - } - if (hasDescription()) { - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.WorkflowSpec 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; - } - /** - *
-     * Represents a structure that encapsulates the specification of the workflow.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowSpec) - flyteidl.admin.WorkflowOuterClass.WorkflowSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowSpec.class, flyteidl.admin.WorkflowOuterClass.WorkflowSpec.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.WorkflowSpec.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSubWorkflowsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (templateBuilder_ == null) { - template_ = null; - } else { - template_ = null; - templateBuilder_ = null; - } - if (subWorkflowsBuilder_ == null) { - subWorkflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - subWorkflowsBuilder_.clear(); - } - if (descriptionBuilder_ == null) { - description_ = null; - } else { - description_ = null; - descriptionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowSpec_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowSpec getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.WorkflowSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowSpec build() { - flyteidl.admin.WorkflowOuterClass.WorkflowSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowSpec buildPartial() { - flyteidl.admin.WorkflowOuterClass.WorkflowSpec result = new flyteidl.admin.WorkflowOuterClass.WorkflowSpec(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (templateBuilder_ == null) { - result.template_ = template_; - } else { - result.template_ = templateBuilder_.build(); - } - if (subWorkflowsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - subWorkflows_ = java.util.Collections.unmodifiableList(subWorkflows_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.subWorkflows_ = subWorkflows_; - } else { - result.subWorkflows_ = subWorkflowsBuilder_.build(); - } - if (descriptionBuilder_ == null) { - result.description_ = description_; - } else { - result.description_ = descriptionBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.WorkflowSpec) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.WorkflowSpec other) { - if (other == flyteidl.admin.WorkflowOuterClass.WorkflowSpec.getDefaultInstance()) return this; - if (other.hasTemplate()) { - mergeTemplate(other.getTemplate()); - } - if (subWorkflowsBuilder_ == null) { - if (!other.subWorkflows_.isEmpty()) { - if (subWorkflows_.isEmpty()) { - subWorkflows_ = other.subWorkflows_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureSubWorkflowsIsMutable(); - subWorkflows_.addAll(other.subWorkflows_); - } - onChanged(); - } - } else { - if (!other.subWorkflows_.isEmpty()) { - if (subWorkflowsBuilder_.isEmpty()) { - subWorkflowsBuilder_.dispose(); - subWorkflowsBuilder_ = null; - subWorkflows_ = other.subWorkflows_; - bitField0_ = (bitField0_ & ~0x00000002); - subWorkflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSubWorkflowsFieldBuilder() : null; - } else { - subWorkflowsBuilder_.addAllMessages(other.subWorkflows_); - } - } - } - if (other.hasDescription()) { - mergeDescription(other.getDescription()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.WorkflowSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.WorkflowSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.Workflow.WorkflowTemplate template_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> templateBuilder_; - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public boolean hasTemplate() { - return templateBuilder_ != null || template_ != null; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate getTemplate() { - if (templateBuilder_ == null) { - return template_ == null ? flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : template_; - } else { - return templateBuilder_.getMessage(); - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder setTemplate(flyteidl.core.Workflow.WorkflowTemplate value) { - if (templateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - template_ = value; - onChanged(); - } else { - templateBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder setTemplate( - flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (templateBuilder_ == null) { - template_ = builderForValue.build(); - onChanged(); - } else { - templateBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder mergeTemplate(flyteidl.core.Workflow.WorkflowTemplate value) { - if (templateBuilder_ == null) { - if (template_ != null) { - template_ = - flyteidl.core.Workflow.WorkflowTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); - } else { - template_ = value; - } - onChanged(); - } else { - templateBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder clearTemplate() { - if (templateBuilder_ == null) { - template_ = null; - onChanged(); - } else { - template_ = null; - templateBuilder_ = null; - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder getTemplateBuilder() { - - onChanged(); - return getTemplateFieldBuilder().getBuilder(); - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getTemplateOrBuilder() { - if (templateBuilder_ != null) { - return templateBuilder_.getMessageOrBuilder(); - } else { - return template_ == null ? - flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : template_; - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the workflow.
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> - getTemplateFieldBuilder() { - if (templateBuilder_ == null) { - templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder>( - getTemplate(), - getParentForChildren(), - isClean()); - template_ = null; - } - return templateBuilder_; - } - - private java.util.List subWorkflows_ = - java.util.Collections.emptyList(); - private void ensureSubWorkflowsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - subWorkflows_ = new java.util.ArrayList(subWorkflows_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> subWorkflowsBuilder_; - - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public java.util.List getSubWorkflowsList() { - if (subWorkflowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(subWorkflows_); - } else { - return subWorkflowsBuilder_.getMessageList(); - } - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public int getSubWorkflowsCount() { - if (subWorkflowsBuilder_ == null) { - return subWorkflows_.size(); - } else { - return subWorkflowsBuilder_.getCount(); - } - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public flyteidl.core.Workflow.WorkflowTemplate getSubWorkflows(int index) { - if (subWorkflowsBuilder_ == null) { - return subWorkflows_.get(index); - } else { - return subWorkflowsBuilder_.getMessage(index); - } - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder setSubWorkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate value) { - if (subWorkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubWorkflowsIsMutable(); - subWorkflows_.set(index, value); - onChanged(); - } else { - subWorkflowsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder setSubWorkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.set(index, builderForValue.build()); - onChanged(); - } else { - subWorkflowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder addSubWorkflows(flyteidl.core.Workflow.WorkflowTemplate value) { - if (subWorkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(value); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder addSubWorkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate value) { - if (subWorkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(index, value); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder addSubWorkflows( - flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(builderForValue.build()); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder addSubWorkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(index, builderForValue.build()); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder addAllSubWorkflows( - java.lang.Iterable values) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subWorkflows_); - onChanged(); - } else { - subWorkflowsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder clearSubWorkflows() { - if (subWorkflowsBuilder_ == null) { - subWorkflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - subWorkflowsBuilder_.clear(); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public Builder removeSubWorkflows(int index) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.remove(index); - onChanged(); - } else { - subWorkflowsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder getSubWorkflowsBuilder( - int index) { - return getSubWorkflowsFieldBuilder().getBuilder(index); - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubWorkflowsOrBuilder( - int index) { - if (subWorkflowsBuilder_ == null) { - return subWorkflows_.get(index); } else { - return subWorkflowsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public java.util.List - getSubWorkflowsOrBuilderList() { - if (subWorkflowsBuilder_ != null) { - return subWorkflowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(subWorkflows_); - } - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder addSubWorkflowsBuilder() { - return getSubWorkflowsFieldBuilder().addBuilder( - flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance()); - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder addSubWorkflowsBuilder( - int index) { - return getSubWorkflowsFieldBuilder().addBuilder( - index, flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance()); - } - /** - *
-       * Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the
-       * propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out
-       * to Admin to see other registered workflows).  In fact, subworkflows do not even need to be registered.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate sub_workflows = 2; - */ - public java.util.List - getSubWorkflowsBuilderList() { - return getSubWorkflowsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> - getSubWorkflowsFieldBuilder() { - if (subWorkflowsBuilder_ == null) { - subWorkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder>( - subWorkflows_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - subWorkflows_ = null; - } - return subWorkflowsBuilder_; - } - - private flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity description_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder> descriptionBuilder_; - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public boolean hasDescription() { - return descriptionBuilder_ != null || description_ != null; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity getDescription() { - if (descriptionBuilder_ == null) { - return description_ == null ? flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance() : description_; - } else { - return descriptionBuilder_.getMessage(); - } - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public Builder setDescription(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity value) { - if (descriptionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - description_ = value; - onChanged(); - } else { - descriptionBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public Builder setDescription( - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder builderForValue) { - if (descriptionBuilder_ == null) { - description_ = builderForValue.build(); - onChanged(); - } else { - descriptionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public Builder mergeDescription(flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity value) { - if (descriptionBuilder_ == null) { - if (description_ != null) { - description_ = - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.newBuilder(description_).mergeFrom(value).buildPartial(); - } else { - description_ = value; - } - onChanged(); - } else { - descriptionBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public Builder clearDescription() { - if (descriptionBuilder_ == null) { - description_ = null; - onChanged(); - } else { - description_ = null; - descriptionBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder getDescriptionBuilder() { - - onChanged(); - return getDescriptionFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - public flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder getDescriptionOrBuilder() { - if (descriptionBuilder_ != null) { - return descriptionBuilder_.getMessageOrBuilder(); - } else { - return description_ == null ? - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.getDefaultInstance() : description_; - } - } - /** - *
-       * Represents the specification for description entity.
-       * 
- * - * .flyteidl.admin.DescriptionEntity description = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder> - getDescriptionFieldBuilder() { - if (descriptionBuilder_ == null) { - descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntity.Builder, flyteidl.admin.DescriptionEntityOuterClass.DescriptionEntityOrBuilder>( - getDescription(), - getParentForChildren(), - isClean()); - description_ = null; - } - return descriptionBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowSpec) - private static final flyteidl.admin.WorkflowOuterClass.WorkflowSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.WorkflowSpec(); - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowSpec(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowClosureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowClosure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Represents the compiled representation of the workflow from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - boolean hasCompiledWorkflow(); - /** - *
-     * Represents the compiled representation of the workflow from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow(); - /** - *
-     * Represents the compiled representation of the workflow from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder(); - - /** - *
-     * Time at which the workflow was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - boolean hasCreatedAt(); - /** - *
-     * Time at which the workflow was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - com.google.protobuf.Timestamp getCreatedAt(); - /** - *
-     * Time at which the workflow was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); - } - /** - *
-   * A container holding the compiled workflow produced from the WorkflowSpec and additional metadata.
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowClosure} - */ - public static final class WorkflowClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowClosure) - WorkflowClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowClosure.newBuilder() to construct. - private WorkflowClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowClosure() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowClosure( - 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.Compiler.CompiledWorkflowClosure.Builder subBuilder = null; - if (compiledWorkflow_ != null) { - subBuilder = compiledWorkflow_.toBuilder(); - } - compiledWorkflow_ = input.readMessage(flyteidl.core.Compiler.CompiledWorkflowClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compiledWorkflow_); - compiledWorkflow_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createdAt_ != null) { - subBuilder = createdAt_.toBuilder(); - } - createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createdAt_); - createdAt_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowClosure.class, flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder.class); - } - - public static final int COMPILED_WORKFLOW_FIELD_NUMBER = 1; - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - /** - *
-     * Represents the compiled representation of the workflow from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflow_ != null; - } - /** - *
-     * Represents the compiled representation of the workflow from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - /** - *
-     * Represents the compiled representation of the workflow from the specification provided.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - return getCompiledWorkflow(); - } - - public static final int CREATED_AT_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp createdAt_; - /** - *
-     * Time at which the workflow was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public boolean hasCreatedAt() { - return createdAt_ != null; - } - /** - *
-     * Time at which the workflow was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - /** - *
-     * Time at which the workflow was created.
-     * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - return getCreatedAt(); - } - - 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 (compiledWorkflow_ != null) { - output.writeMessage(1, getCompiledWorkflow()); - } - if (createdAt_ != null) { - output.writeMessage(2, getCreatedAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (compiledWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCompiledWorkflow()); - } - if (createdAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreatedAt()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.WorkflowClosure)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.WorkflowClosure other = (flyteidl.admin.WorkflowOuterClass.WorkflowClosure) obj; - - if (hasCompiledWorkflow() != other.hasCompiledWorkflow()) return false; - if (hasCompiledWorkflow()) { - if (!getCompiledWorkflow() - .equals(other.getCompiledWorkflow())) return false; - } - if (hasCreatedAt() != other.hasCreatedAt()) return false; - if (hasCreatedAt()) { - if (!getCreatedAt() - .equals(other.getCreatedAt())) 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 (hasCompiledWorkflow()) { - hash = (37 * hash) + COMPILED_WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getCompiledWorkflow().hashCode(); - } - if (hasCreatedAt()) { - hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; - hash = (53 * hash) + getCreatedAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.WorkflowClosure 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 container holding the compiled workflow produced from the WorkflowSpec and additional metadata.
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowClosure) - flyteidl.admin.WorkflowOuterClass.WorkflowClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowClosure.class, flyteidl.admin.WorkflowOuterClass.WorkflowClosure.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.WorkflowClosure.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 (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - if (createdAtBuilder_ == null) { - createdAt_ = null; - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowClosure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowClosure getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.WorkflowClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowClosure build() { - flyteidl.admin.WorkflowOuterClass.WorkflowClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowClosure buildPartial() { - flyteidl.admin.WorkflowOuterClass.WorkflowClosure result = new flyteidl.admin.WorkflowOuterClass.WorkflowClosure(this); - if (compiledWorkflowBuilder_ == null) { - result.compiledWorkflow_ = compiledWorkflow_; - } else { - result.compiledWorkflow_ = compiledWorkflowBuilder_.build(); - } - if (createdAtBuilder_ == null) { - result.createdAt_ = createdAt_; - } else { - result.createdAt_ = createdAtBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.WorkflowClosure) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.WorkflowClosure other) { - if (other == flyteidl.admin.WorkflowOuterClass.WorkflowClosure.getDefaultInstance()) return this; - if (other.hasCompiledWorkflow()) { - mergeCompiledWorkflow(other.getCompiledWorkflow()); - } - if (other.hasCreatedAt()) { - mergeCreatedAt(other.getCreatedAt()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.WorkflowClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.WorkflowClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> compiledWorkflowBuilder_; - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflowBuilder_ != null || compiledWorkflow_ != null; - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } else { - return compiledWorkflowBuilder_.getMessage(); - } - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder setCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - compiledWorkflow_ = value; - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder setCompiledWorkflow( - flyteidl.core.Compiler.CompiledWorkflowClosure.Builder builderForValue) { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = builderForValue.build(); - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder mergeCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (compiledWorkflow_ != null) { - compiledWorkflow_ = - flyteidl.core.Compiler.CompiledWorkflowClosure.newBuilder(compiledWorkflow_).mergeFrom(value).buildPartial(); - } else { - compiledWorkflow_ = value; - } - onChanged(); - } else { - compiledWorkflowBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public Builder clearCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - onChanged(); - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure.Builder getCompiledWorkflowBuilder() { - - onChanged(); - return getCompiledWorkflowFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - if (compiledWorkflowBuilder_ != null) { - return compiledWorkflowBuilder_.getMessageOrBuilder(); - } else { - return compiledWorkflow_ == null ? - flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - } - /** - *
-       * Represents the compiled representation of the workflow from the specification provided.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> - getCompiledWorkflowFieldBuilder() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder>( - getCompiledWorkflow(), - getParentForChildren(), - isClean()); - compiledWorkflow_ = null; - } - return compiledWorkflowBuilder_; - } - - private com.google.protobuf.Timestamp createdAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public boolean hasCreatedAt() { - return createdAtBuilder_ != null || createdAt_ != null; - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.Timestamp getCreatedAt() { - if (createdAtBuilder_ == null) { - return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } else { - return createdAtBuilder_.getMessage(); - } - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder setCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createdAt_ = value; - onChanged(); - } else { - createdAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder setCreatedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (createdAtBuilder_ == null) { - createdAt_ = builderForValue.build(); - onChanged(); - } else { - createdAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { - if (createdAtBuilder_ == null) { - if (createdAt_ != null) { - createdAt_ = - com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); - } else { - createdAt_ = value; - } - onChanged(); - } else { - createdAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public Builder clearCreatedAt() { - if (createdAtBuilder_ == null) { - createdAt_ = null; - onChanged(); - } else { - createdAt_ = null; - createdAtBuilder_ = null; - } - - return this; - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { - - onChanged(); - return getCreatedAtFieldBuilder().getBuilder(); - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { - if (createdAtBuilder_ != null) { - return createdAtBuilder_.getMessageOrBuilder(); - } else { - return createdAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; - } - } - /** - *
-       * Time at which the workflow was created.
-       * 
- * - * .google.protobuf.Timestamp created_at = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreatedAtFieldBuilder() { - if (createdAtBuilder_ == null) { - createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreatedAt(), - getParentForChildren(), - isClean()); - createdAt_ = null; - } - return createdAtBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowClosure) - private static final flyteidl.admin.WorkflowOuterClass.WorkflowClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.WorkflowClosure(); - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowClosure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowErrorExistsDifferentStructureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * The workflow id is already used and the structure is different
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowErrorExistsDifferentStructure} - */ - public static final class WorkflowErrorExistsDifferentStructure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - WorkflowErrorExistsDifferentStructureOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowErrorExistsDifferentStructure.newBuilder() to construct. - private WorkflowErrorExistsDifferentStructure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowErrorExistsDifferentStructure() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowErrorExistsDifferentStructure( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.class, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure other = (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure 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; - } - /** - *
-     * The workflow id is already used and the structure is different
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowErrorExistsDifferentStructure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.class, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure build() { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure buildPartial() { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure result = new flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure other) { - if (other == flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowErrorExistsDifferentStructure) - private static final flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure(); - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowErrorExistsDifferentStructure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowErrorExistsDifferentStructure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowErrorExistsIdenticalStructureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * The workflow id is already used with an identical sctructure
-   * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowErrorExistsIdenticalStructure} - */ - public static final class WorkflowErrorExistsIdenticalStructure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - WorkflowErrorExistsIdenticalStructureOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowErrorExistsIdenticalStructure.newBuilder() to construct. - private WorkflowErrorExistsIdenticalStructure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowErrorExistsIdenticalStructure() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowErrorExistsIdenticalStructure( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.class, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure other = (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure 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; - } - /** - *
-     * The workflow id is already used with an identical sctructure
-     * 
- * - * Protobuf type {@code flyteidl.admin.WorkflowErrorExistsIdenticalStructure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.class, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure build() { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure buildPartial() { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure result = new flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure other) { - if (other == flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowErrorExistsIdenticalStructure) - private static final flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure(); - } - - public static flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowErrorExistsIdenticalStructure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowErrorExistsIdenticalStructure(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateWorkflowFailureReasonOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.CreateWorkflowFailureReason) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - boolean hasExistsDifferentStructure(); - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure getExistsDifferentStructure(); - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructureOrBuilder getExistsDifferentStructureOrBuilder(); - - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - boolean hasExistsIdenticalStructure(); - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure getExistsIdenticalStructure(); - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructureOrBuilder getExistsIdenticalStructureOrBuilder(); - - public flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.ReasonCase getReasonCase(); - } - /** - *
-   * When a CreateWorkflowRequest fails due to matching id
-   * 
- * - * Protobuf type {@code flyteidl.admin.CreateWorkflowFailureReason} - */ - public static final class CreateWorkflowFailureReason extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.CreateWorkflowFailureReason) - CreateWorkflowFailureReasonOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateWorkflowFailureReason.newBuilder() to construct. - private CreateWorkflowFailureReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateWorkflowFailureReason() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateWorkflowFailureReason( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder subBuilder = null; - if (reasonCase_ == 1) { - subBuilder = ((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_).toBuilder(); - } - reason_ = - input.readMessage(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_); - reason_ = subBuilder.buildPartial(); - } - reasonCase_ = 1; - break; - } - case 18: { - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder subBuilder = null; - if (reasonCase_ == 2) { - subBuilder = ((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_).toBuilder(); - } - reason_ = - input.readMessage(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_); - reason_ = subBuilder.buildPartial(); - } - reasonCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_CreateWorkflowFailureReason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_CreateWorkflowFailureReason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.class, flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.Builder.class); - } - - private int reasonCase_ = 0; - private java.lang.Object reason_; - public enum ReasonCase - implements com.google.protobuf.Internal.EnumLite { - EXISTS_DIFFERENT_STRUCTURE(1), - EXISTS_IDENTICAL_STRUCTURE(2), - REASON_NOT_SET(0); - private final int value; - private ReasonCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ReasonCase valueOf(int value) { - return forNumber(value); - } - - public static ReasonCase forNumber(int value) { - switch (value) { - case 1: return EXISTS_DIFFERENT_STRUCTURE; - case 2: return EXISTS_IDENTICAL_STRUCTURE; - case 0: return REASON_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ReasonCase - getReasonCase() { - return ReasonCase.forNumber( - reasonCase_); - } - - public static final int EXISTS_DIFFERENT_STRUCTURE_FIELD_NUMBER = 1; - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public boolean hasExistsDifferentStructure() { - return reasonCase_ == 1; - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure getExistsDifferentStructure() { - if (reasonCase_ == 1) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance(); - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructureOrBuilder getExistsDifferentStructureOrBuilder() { - if (reasonCase_ == 1) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance(); - } - - public static final int EXISTS_IDENTICAL_STRUCTURE_FIELD_NUMBER = 2; - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public boolean hasExistsIdenticalStructure() { - return reasonCase_ == 2; - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure getExistsIdenticalStructure() { - if (reasonCase_ == 2) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance(); - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructureOrBuilder getExistsIdenticalStructureOrBuilder() { - if (reasonCase_ == 2) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.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 (reasonCase_ == 1) { - output.writeMessage(1, (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_); - } - if (reasonCase_ == 2) { - output.writeMessage(2, (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (reasonCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_); - } - if (reasonCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason)) { - return super.equals(obj); - } - flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason other = (flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason) obj; - - if (!getReasonCase().equals(other.getReasonCase())) return false; - switch (reasonCase_) { - case 1: - if (!getExistsDifferentStructure() - .equals(other.getExistsDifferentStructure())) return false; - break; - case 2: - if (!getExistsIdenticalStructure() - .equals(other.getExistsIdenticalStructure())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (reasonCase_) { - case 1: - hash = (37 * hash) + EXISTS_DIFFERENT_STRUCTURE_FIELD_NUMBER; - hash = (53 * hash) + getExistsDifferentStructure().hashCode(); - break; - case 2: - hash = (37 * hash) + EXISTS_IDENTICAL_STRUCTURE_FIELD_NUMBER; - hash = (53 * hash) + getExistsIdenticalStructure().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason 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; - } - /** - *
-     * When a CreateWorkflowRequest fails due to matching id
-     * 
- * - * Protobuf type {@code flyteidl.admin.CreateWorkflowFailureReason} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.CreateWorkflowFailureReason) - flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReasonOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_CreateWorkflowFailureReason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_CreateWorkflowFailureReason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.class, flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.Builder.class); - } - - // Construct using flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.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(); - reasonCase_ = 0; - reason_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.admin.WorkflowOuterClass.internal_static_flyteidl_admin_CreateWorkflowFailureReason_descriptor; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason getDefaultInstanceForType() { - return flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason build() { - flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason buildPartial() { - flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason result = new flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason(this); - if (reasonCase_ == 1) { - if (existsDifferentStructureBuilder_ == null) { - result.reason_ = reason_; - } else { - result.reason_ = existsDifferentStructureBuilder_.build(); - } - } - if (reasonCase_ == 2) { - if (existsIdenticalStructureBuilder_ == null) { - result.reason_ = reason_; - } else { - result.reason_ = existsIdenticalStructureBuilder_.build(); - } - } - result.reasonCase_ = reasonCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason) { - return mergeFrom((flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason other) { - if (other == flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason.getDefaultInstance()) return this; - switch (other.getReasonCase()) { - case EXISTS_DIFFERENT_STRUCTURE: { - mergeExistsDifferentStructure(other.getExistsDifferentStructure()); - break; - } - case EXISTS_IDENTICAL_STRUCTURE: { - mergeExistsIdenticalStructure(other.getExistsIdenticalStructure()); - break; - } - case REASON_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int reasonCase_ = 0; - private java.lang.Object reason_; - public ReasonCase - getReasonCase() { - return ReasonCase.forNumber( - reasonCase_); - } - - public Builder clearReason() { - reasonCase_ = 0; - reason_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructureOrBuilder> existsDifferentStructureBuilder_; - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public boolean hasExistsDifferentStructure() { - return reasonCase_ == 1; - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure getExistsDifferentStructure() { - if (existsDifferentStructureBuilder_ == null) { - if (reasonCase_ == 1) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance(); - } else { - if (reasonCase_ == 1) { - return existsDifferentStructureBuilder_.getMessage(); - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public Builder setExistsDifferentStructure(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure value) { - if (existsDifferentStructureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reason_ = value; - onChanged(); - } else { - existsDifferentStructureBuilder_.setMessage(value); - } - reasonCase_ = 1; - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public Builder setExistsDifferentStructure( - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder builderForValue) { - if (existsDifferentStructureBuilder_ == null) { - reason_ = builderForValue.build(); - onChanged(); - } else { - existsDifferentStructureBuilder_.setMessage(builderForValue.build()); - } - reasonCase_ = 1; - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public Builder mergeExistsDifferentStructure(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure value) { - if (existsDifferentStructureBuilder_ == null) { - if (reasonCase_ == 1 && - reason_ != flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance()) { - reason_ = flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.newBuilder((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_) - .mergeFrom(value).buildPartial(); - } else { - reason_ = value; - } - onChanged(); - } else { - if (reasonCase_ == 1) { - existsDifferentStructureBuilder_.mergeFrom(value); - } - existsDifferentStructureBuilder_.setMessage(value); - } - reasonCase_ = 1; - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public Builder clearExistsDifferentStructure() { - if (existsDifferentStructureBuilder_ == null) { - if (reasonCase_ == 1) { - reasonCase_ = 0; - reason_ = null; - onChanged(); - } - } else { - if (reasonCase_ == 1) { - reasonCase_ = 0; - reason_ = null; - } - existsDifferentStructureBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder getExistsDifferentStructureBuilder() { - return getExistsDifferentStructureFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructureOrBuilder getExistsDifferentStructureOrBuilder() { - if ((reasonCase_ == 1) && (existsDifferentStructureBuilder_ != null)) { - return existsDifferentStructureBuilder_.getMessageOrBuilder(); - } else { - if (reasonCase_ == 1) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowErrorExistsDifferentStructure exists_different_structure = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructureOrBuilder> - getExistsDifferentStructureFieldBuilder() { - if (existsDifferentStructureBuilder_ == null) { - if (!(reasonCase_ == 1)) { - reason_ = flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.getDefaultInstance(); - } - existsDifferentStructureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructureOrBuilder>( - (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsDifferentStructure) reason_, - getParentForChildren(), - isClean()); - reason_ = null; - } - reasonCase_ = 1; - onChanged();; - return existsDifferentStructureBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructureOrBuilder> existsIdenticalStructureBuilder_; - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public boolean hasExistsIdenticalStructure() { - return reasonCase_ == 2; - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure getExistsIdenticalStructure() { - if (existsIdenticalStructureBuilder_ == null) { - if (reasonCase_ == 2) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance(); - } else { - if (reasonCase_ == 2) { - return existsIdenticalStructureBuilder_.getMessage(); - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public Builder setExistsIdenticalStructure(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure value) { - if (existsIdenticalStructureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reason_ = value; - onChanged(); - } else { - existsIdenticalStructureBuilder_.setMessage(value); - } - reasonCase_ = 2; - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public Builder setExistsIdenticalStructure( - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder builderForValue) { - if (existsIdenticalStructureBuilder_ == null) { - reason_ = builderForValue.build(); - onChanged(); - } else { - existsIdenticalStructureBuilder_.setMessage(builderForValue.build()); - } - reasonCase_ = 2; - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public Builder mergeExistsIdenticalStructure(flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure value) { - if (existsIdenticalStructureBuilder_ == null) { - if (reasonCase_ == 2 && - reason_ != flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance()) { - reason_ = flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.newBuilder((flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_) - .mergeFrom(value).buildPartial(); - } else { - reason_ = value; - } - onChanged(); - } else { - if (reasonCase_ == 2) { - existsIdenticalStructureBuilder_.mergeFrom(value); - } - existsIdenticalStructureBuilder_.setMessage(value); - } - reasonCase_ = 2; - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public Builder clearExistsIdenticalStructure() { - if (existsIdenticalStructureBuilder_ == null) { - if (reasonCase_ == 2) { - reasonCase_ = 0; - reason_ = null; - onChanged(); - } - } else { - if (reasonCase_ == 2) { - reasonCase_ = 0; - reason_ = null; - } - existsIdenticalStructureBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder getExistsIdenticalStructureBuilder() { - return getExistsIdenticalStructureFieldBuilder().getBuilder(); - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - public flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructureOrBuilder getExistsIdenticalStructureOrBuilder() { - if ((reasonCase_ == 2) && (existsIdenticalStructureBuilder_ != null)) { - return existsIdenticalStructureBuilder_.getMessageOrBuilder(); - } else { - if (reasonCase_ == 2) { - return (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_; - } - return flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance(); - } - } - /** - * .flyteidl.admin.WorkflowErrorExistsIdenticalStructure exists_identical_structure = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructureOrBuilder> - getExistsIdenticalStructureFieldBuilder() { - if (existsIdenticalStructureBuilder_ == null) { - if (!(reasonCase_ == 2)) { - reason_ = flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.getDefaultInstance(); - } - existsIdenticalStructureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure.Builder, flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructureOrBuilder>( - (flyteidl.admin.WorkflowOuterClass.WorkflowErrorExistsIdenticalStructure) reason_, - getParentForChildren(), - isClean()); - reason_ = null; - } - reasonCase_ = 2; - onChanged();; - return existsIdenticalStructureBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.CreateWorkflowFailureReason) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.CreateWorkflowFailureReason) - private static final flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason(); - } - - public static flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWorkflowFailureReason parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWorkflowFailureReason(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.WorkflowOuterClass.CreateWorkflowFailureReason getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowCreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowCreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowCreateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowCreateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Workflow_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Workflow_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowClosure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_CreateWorkflowFailureReason_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_CreateWorkflowFailureReason_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/admin/workflow.proto\022\016flyteid" + - "l.admin\032\034flyteidl/core/compiler.proto\032\036f" + - "lyteidl/core/identifier.proto\032\034flyteidl/" + - "core/workflow.proto\032\'flyteidl/admin/desc" + - "ription_entity.proto\032\037google/protobuf/ti" + - "mestamp.proto\"j\n\025WorkflowCreateRequest\022%" + - "\n\002id\030\001 \001(\0132\031.flyteidl.core.Identifier\022*\n" + - "\004spec\030\002 \001(\0132\034.flyteidl.admin.WorkflowSpe" + - "c\"\030\n\026WorkflowCreateResponse\"~\n\010Workflow\022" + - "%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identifier\0220" + - "\n\007closure\030\002 \001(\0132\037.flyteidl.admin.Workflo" + - "wClosure\022\031\n\021short_description\030\003 \001(\t\"J\n\014W" + - "orkflowList\022+\n\tworkflows\030\001 \003(\0132\030.flyteid" + - "l.admin.Workflow\022\r\n\005token\030\002 \001(\t\"\261\001\n\014Work" + - "flowSpec\0221\n\010template\030\001 \001(\0132\037.flyteidl.co" + - "re.WorkflowTemplate\0226\n\rsub_workflows\030\002 \003" + - "(\0132\037.flyteidl.core.WorkflowTemplate\0226\n\013d" + - "escription\030\003 \001(\0132!.flyteidl.admin.Descri" + - "ptionEntity\"\204\001\n\017WorkflowClosure\022A\n\021compi" + - "led_workflow\030\001 \001(\0132&.flyteidl.core.Compi" + - "ledWorkflowClosure\022.\n\ncreated_at\030\002 \001(\0132\032" + - ".google.protobuf.Timestamp\"N\n%WorkflowEr" + - "rorExistsDifferentStructure\022%\n\002id\030\001 \001(\0132" + - "\031.flyteidl.core.Identifier\"N\n%WorkflowEr" + - "rorExistsIdenticalStructure\022%\n\002id\030\001 \001(\0132" + - "\031.flyteidl.core.Identifier\"\341\001\n\033CreateWor" + - "kflowFailureReason\022[\n\032exists_different_s" + - "tructure\030\001 \001(\01325.flyteidl.admin.Workflow" + - "ErrorExistsDifferentStructureH\000\022[\n\032exist" + - "s_identical_structure\030\002 \001(\01325.flyteidl.a" + - "dmin.WorkflowErrorExistsIdenticalStructu" + - "reH\000B\010\n\006reasonB=Z;github.com/flyteorg/fl" + - "yte/flyteidl/gen/pb-go/flyteidl/adminb\006p" + - "roto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Compiler.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Workflow.getDescriptor(), - flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_admin_WorkflowCreateRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_admin_WorkflowCreateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowCreateRequest_descriptor, - new java.lang.String[] { "Id", "Spec", }); - internal_static_flyteidl_admin_WorkflowCreateResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_admin_WorkflowCreateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowCreateResponse_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_admin_Workflow_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_admin_Workflow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_Workflow_descriptor, - new java.lang.String[] { "Id", "Closure", "ShortDescription", }); - internal_static_flyteidl_admin_WorkflowList_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_admin_WorkflowList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowList_descriptor, - new java.lang.String[] { "Workflows", "Token", }); - internal_static_flyteidl_admin_WorkflowSpec_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_admin_WorkflowSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowSpec_descriptor, - new java.lang.String[] { "Template", "SubWorkflows", "Description", }); - internal_static_flyteidl_admin_WorkflowClosure_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_admin_WorkflowClosure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowClosure_descriptor, - new java.lang.String[] { "CompiledWorkflow", "CreatedAt", }); - internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowErrorExistsDifferentStructure_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_WorkflowErrorExistsIdenticalStructure_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_admin_CreateWorkflowFailureReason_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_admin_CreateWorkflowFailureReason_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_CreateWorkflowFailureReason_descriptor, - new java.lang.String[] { "ExistsDifferentStructure", "ExistsIdenticalStructure", "Reason", }); - flyteidl.core.Compiler.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Workflow.getDescriptor(); - flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java b/flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java deleted file mode 100644 index 86fd69c612..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java +++ /dev/null @@ -1,8733 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/core/artifact_id.proto - -package flyteidl.core; - -public final class ArtifactId { - private ArtifactId() {} - 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 ArtifactKeyOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactKey) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Project and domain and suffix needs to be unique across a given artifact store.
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Project and domain and suffix needs to be unique across a given artifact store.
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - * string domain = 2; - */ - java.lang.String getDomain(); - /** - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - * string name = 3; - */ - java.lang.String getName(); - /** - * string name = 3; - */ - com.google.protobuf.ByteString - getNameBytes(); - } - /** - * Protobuf type {@code flyteidl.core.ArtifactKey} - */ - public static final class ArtifactKey extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactKey) - ArtifactKeyOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArtifactKey.newBuilder() to construct. - private ArtifactKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArtifactKey() { - project_ = ""; - domain_ = ""; - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArtifactKey( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactKey.class, flyteidl.core.ArtifactId.ArtifactKey.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Project and domain and suffix needs to be unique across a given artifact store.
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Project and domain and suffix needs to be unique across a given artifact store.
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - 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.ArtifactId.ArtifactKey)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.ArtifactKey other = (flyteidl.core.ArtifactId.ArtifactKey) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactKey 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.ArtifactId.ArtifactKey parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactKey parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactKey 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.ArtifactId.ArtifactKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactKey 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.ArtifactId.ArtifactKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactKey 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.ArtifactId.ArtifactKey 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.core.ArtifactKey} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactKey) - flyteidl.core.ArtifactId.ArtifactKeyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactKey.class, flyteidl.core.ArtifactId.ArtifactKey.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.ArtifactKey.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactKey_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactKey getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactKey build() { - flyteidl.core.ArtifactId.ArtifactKey result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactKey buildPartial() { - flyteidl.core.ArtifactId.ArtifactKey result = new flyteidl.core.ArtifactId.ArtifactKey(this); - result.project_ = project_; - result.domain_ = domain_; - result.name_ = name_; - 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.ArtifactId.ArtifactKey) { - return mergeFrom((flyteidl.core.ArtifactId.ArtifactKey)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactKey other) { - if (other == flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.ArtifactId.ArtifactKey parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.ArtifactKey) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Project and domain and suffix needs to be unique across a given artifact store.
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Project and domain and suffix needs to be unique across a given artifact store.
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Project and domain and suffix needs to be unique across a given artifact store.
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Project and domain and suffix needs to be unique across a given artifact store.
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Project and domain and suffix needs to be unique across a given artifact store.
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 3; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 3; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 3; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 3; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 3; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ArtifactKey) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactKey) - private static final flyteidl.core.ArtifactId.ArtifactKey DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactKey(); - } - - public static flyteidl.core.ArtifactId.ArtifactKey getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArtifactKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArtifactKey(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.ArtifactId.ArtifactKey getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArtifactBindingDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactBindingData) - com.google.protobuf.MessageOrBuilder { - - /** - * uint32 index = 1; - */ - int getIndex(); - - /** - * string partition_key = 2; - */ - java.lang.String getPartitionKey(); - /** - * string partition_key = 2; - */ - com.google.protobuf.ByteString - getPartitionKeyBytes(); - - /** - * bool bind_to_time_partition = 3; - */ - boolean getBindToTimePartition(); - - /** - *
-     * This is only relevant in the time partition case
-     * 
- * - * string transform = 4; - */ - java.lang.String getTransform(); - /** - *
-     * This is only relevant in the time partition case
-     * 
- * - * string transform = 4; - */ - com.google.protobuf.ByteString - getTransformBytes(); - - public flyteidl.core.ArtifactId.ArtifactBindingData.PartitionDataCase getPartitionDataCase(); - } - /** - *
-   * Only valid for triggers
-   * 
- * - * Protobuf type {@code flyteidl.core.ArtifactBindingData} - */ - public static final class ArtifactBindingData extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactBindingData) - ArtifactBindingDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArtifactBindingData.newBuilder() to construct. - private ArtifactBindingData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArtifactBindingData() { - transform_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArtifactBindingData( - 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: { - - index_ = input.readUInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - partitionDataCase_ = 2; - partitionData_ = s; - break; - } - case 24: { - partitionDataCase_ = 3; - partitionData_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - transform_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactBindingData.class, flyteidl.core.ArtifactId.ArtifactBindingData.Builder.class); - } - - private int partitionDataCase_ = 0; - private java.lang.Object partitionData_; - public enum PartitionDataCase - implements com.google.protobuf.Internal.EnumLite { - PARTITION_KEY(2), - BIND_TO_TIME_PARTITION(3), - PARTITIONDATA_NOT_SET(0); - private final int value; - private PartitionDataCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PartitionDataCase valueOf(int value) { - return forNumber(value); - } - - public static PartitionDataCase forNumber(int value) { - switch (value) { - case 2: return PARTITION_KEY; - case 3: return BIND_TO_TIME_PARTITION; - case 0: return PARTITIONDATA_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public PartitionDataCase - getPartitionDataCase() { - return PartitionDataCase.forNumber( - partitionDataCase_); - } - - public static final int INDEX_FIELD_NUMBER = 1; - private int index_; - /** - * uint32 index = 1; - */ - public int getIndex() { - return index_; - } - - public static final int PARTITION_KEY_FIELD_NUMBER = 2; - /** - * string partition_key = 2; - */ - public java.lang.String getPartitionKey() { - java.lang.Object ref = ""; - if (partitionDataCase_ == 2) { - ref = partitionData_; - } - 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 (partitionDataCase_ == 2) { - partitionData_ = s; - } - return s; - } - } - /** - * string partition_key = 2; - */ - public com.google.protobuf.ByteString - getPartitionKeyBytes() { - java.lang.Object ref = ""; - if (partitionDataCase_ == 2) { - ref = partitionData_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (partitionDataCase_ == 2) { - partitionData_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BIND_TO_TIME_PARTITION_FIELD_NUMBER = 3; - /** - * bool bind_to_time_partition = 3; - */ - public boolean getBindToTimePartition() { - if (partitionDataCase_ == 3) { - return (java.lang.Boolean) partitionData_; - } - return false; - } - - public static final int TRANSFORM_FIELD_NUMBER = 4; - private volatile java.lang.Object transform_; - /** - *
-     * This is only relevant in the time partition case
-     * 
- * - * string transform = 4; - */ - public java.lang.String getTransform() { - java.lang.Object ref = transform_; - 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(); - transform_ = s; - return s; - } - } - /** - *
-     * This is only relevant in the time partition case
-     * 
- * - * string transform = 4; - */ - public com.google.protobuf.ByteString - getTransformBytes() { - java.lang.Object ref = transform_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - transform_ = 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 (index_ != 0) { - output.writeUInt32(1, index_); - } - if (partitionDataCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partitionData_); - } - if (partitionDataCase_ == 3) { - output.writeBool( - 3, (boolean)((java.lang.Boolean) partitionData_)); - } - if (!getTransformBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, transform_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, index_); - } - if (partitionDataCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partitionData_); - } - if (partitionDataCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 3, (boolean)((java.lang.Boolean) partitionData_)); - } - if (!getTransformBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transform_); - } - 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.ArtifactId.ArtifactBindingData)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.ArtifactBindingData other = (flyteidl.core.ArtifactId.ArtifactBindingData) obj; - - if (getIndex() - != other.getIndex()) return false; - if (!getTransform() - .equals(other.getTransform())) return false; - if (!getPartitionDataCase().equals(other.getPartitionDataCase())) return false; - switch (partitionDataCase_) { - case 2: - if (!getPartitionKey() - .equals(other.getPartitionKey())) return false; - break; - case 3: - if (getBindToTimePartition() - != other.getBindToTimePartition()) 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) + INDEX_FIELD_NUMBER; - hash = (53 * hash) + getIndex(); - hash = (37 * hash) + TRANSFORM_FIELD_NUMBER; - hash = (53 * hash) + getTransform().hashCode(); - switch (partitionDataCase_) { - case 2: - hash = (37 * hash) + PARTITION_KEY_FIELD_NUMBER; - hash = (53 * hash) + getPartitionKey().hashCode(); - break; - case 3: - hash = (37 * hash) + BIND_TO_TIME_PARTITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBindToTimePartition()); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData 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.ArtifactId.ArtifactBindingData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData 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.ArtifactId.ArtifactBindingData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData 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.ArtifactId.ArtifactBindingData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactBindingData 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.ArtifactId.ArtifactBindingData 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; - } - /** - *
-     * Only valid for triggers
-     * 
- * - * Protobuf type {@code flyteidl.core.ArtifactBindingData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactBindingData) - flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactBindingData.class, flyteidl.core.ArtifactId.ArtifactBindingData.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.ArtifactBindingData.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(); - index_ = 0; - - transform_ = ""; - - partitionDataCase_ = 0; - partitionData_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactBindingData_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactBindingData getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactBindingData build() { - flyteidl.core.ArtifactId.ArtifactBindingData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactBindingData buildPartial() { - flyteidl.core.ArtifactId.ArtifactBindingData result = new flyteidl.core.ArtifactId.ArtifactBindingData(this); - result.index_ = index_; - if (partitionDataCase_ == 2) { - result.partitionData_ = partitionData_; - } - if (partitionDataCase_ == 3) { - result.partitionData_ = partitionData_; - } - result.transform_ = transform_; - result.partitionDataCase_ = partitionDataCase_; - 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.ArtifactId.ArtifactBindingData) { - return mergeFrom((flyteidl.core.ArtifactId.ArtifactBindingData)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactBindingData other) { - if (other == flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance()) return this; - if (other.getIndex() != 0) { - setIndex(other.getIndex()); - } - if (!other.getTransform().isEmpty()) { - transform_ = other.transform_; - onChanged(); - } - switch (other.getPartitionDataCase()) { - case PARTITION_KEY: { - partitionDataCase_ = 2; - partitionData_ = other.partitionData_; - onChanged(); - break; - } - case BIND_TO_TIME_PARTITION: { - setBindToTimePartition(other.getBindToTimePartition()); - break; - } - case PARTITIONDATA_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.ArtifactId.ArtifactBindingData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.ArtifactBindingData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int partitionDataCase_ = 0; - private java.lang.Object partitionData_; - public PartitionDataCase - getPartitionDataCase() { - return PartitionDataCase.forNumber( - partitionDataCase_); - } - - public Builder clearPartitionData() { - partitionDataCase_ = 0; - partitionData_ = null; - onChanged(); - return this; - } - - - private int index_ ; - /** - * uint32 index = 1; - */ - public int getIndex() { - return index_; - } - /** - * uint32 index = 1; - */ - public Builder setIndex(int value) { - - index_ = value; - onChanged(); - return this; - } - /** - * uint32 index = 1; - */ - public Builder clearIndex() { - - index_ = 0; - onChanged(); - return this; - } - - /** - * string partition_key = 2; - */ - public java.lang.String getPartitionKey() { - java.lang.Object ref = ""; - if (partitionDataCase_ == 2) { - ref = partitionData_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (partitionDataCase_ == 2) { - partitionData_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string partition_key = 2; - */ - public com.google.protobuf.ByteString - getPartitionKeyBytes() { - java.lang.Object ref = ""; - if (partitionDataCase_ == 2) { - ref = partitionData_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (partitionDataCase_ == 2) { - partitionData_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string partition_key = 2; - */ - public Builder setPartitionKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - partitionDataCase_ = 2; - partitionData_ = value; - onChanged(); - return this; - } - /** - * string partition_key = 2; - */ - public Builder clearPartitionKey() { - if (partitionDataCase_ == 2) { - partitionDataCase_ = 0; - partitionData_ = null; - onChanged(); - } - return this; - } - /** - * string partition_key = 2; - */ - public Builder setPartitionKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - partitionDataCase_ = 2; - partitionData_ = value; - onChanged(); - return this; - } - - /** - * bool bind_to_time_partition = 3; - */ - public boolean getBindToTimePartition() { - if (partitionDataCase_ == 3) { - return (java.lang.Boolean) partitionData_; - } - return false; - } - /** - * bool bind_to_time_partition = 3; - */ - public Builder setBindToTimePartition(boolean value) { - partitionDataCase_ = 3; - partitionData_ = value; - onChanged(); - return this; - } - /** - * bool bind_to_time_partition = 3; - */ - public Builder clearBindToTimePartition() { - if (partitionDataCase_ == 3) { - partitionDataCase_ = 0; - partitionData_ = null; - onChanged(); - } - return this; - } - - private java.lang.Object transform_ = ""; - /** - *
-       * This is only relevant in the time partition case
-       * 
- * - * string transform = 4; - */ - public java.lang.String getTransform() { - java.lang.Object ref = transform_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - transform_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * This is only relevant in the time partition case
-       * 
- * - * string transform = 4; - */ - public com.google.protobuf.ByteString - getTransformBytes() { - java.lang.Object ref = transform_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - transform_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * This is only relevant in the time partition case
-       * 
- * - * string transform = 4; - */ - public Builder setTransform( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - transform_ = value; - onChanged(); - return this; - } - /** - *
-       * This is only relevant in the time partition case
-       * 
- * - * string transform = 4; - */ - public Builder clearTransform() { - - transform_ = getDefaultInstance().getTransform(); - onChanged(); - return this; - } - /** - *
-       * This is only relevant in the time partition case
-       * 
- * - * string transform = 4; - */ - public Builder setTransformBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - transform_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ArtifactBindingData) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactBindingData) - private static final flyteidl.core.ArtifactId.ArtifactBindingData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactBindingData(); - } - - public static flyteidl.core.ArtifactId.ArtifactBindingData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArtifactBindingData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArtifactBindingData(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.ArtifactId.ArtifactBindingData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface InputBindingDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.InputBindingData) - com.google.protobuf.MessageOrBuilder { - - /** - * string var = 1; - */ - java.lang.String getVar(); - /** - * string var = 1; - */ - com.google.protobuf.ByteString - getVarBytes(); - } - /** - * Protobuf type {@code flyteidl.core.InputBindingData} - */ - public static final class InputBindingData extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.InputBindingData) - InputBindingDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use InputBindingData.newBuilder() to construct. - private InputBindingData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private InputBindingData() { - var_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private InputBindingData( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - var_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.InputBindingData.class, flyteidl.core.ArtifactId.InputBindingData.Builder.class); - } - - public static final int VAR_FIELD_NUMBER = 1; - private volatile java.lang.Object var_; - /** - * string var = 1; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - 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(); - var_ = s; - return s; - } - } - /** - * string var = 1; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = 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 (!getVarBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, var_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getVarBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, var_); - } - 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.ArtifactId.InputBindingData)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.InputBindingData other = (flyteidl.core.ArtifactId.InputBindingData) obj; - - if (!getVar() - .equals(other.getVar())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VAR_FIELD_NUMBER; - hash = (53 * hash) + getVar().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.InputBindingData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.InputBindingData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.InputBindingData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.InputBindingData 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.ArtifactId.InputBindingData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.InputBindingData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.InputBindingData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.InputBindingData 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.ArtifactId.InputBindingData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.InputBindingData 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.ArtifactId.InputBindingData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.InputBindingData 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.ArtifactId.InputBindingData 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.core.InputBindingData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.InputBindingData) - flyteidl.core.ArtifactId.InputBindingDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.InputBindingData.class, flyteidl.core.ArtifactId.InputBindingData.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.InputBindingData.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(); - var_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_InputBindingData_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.InputBindingData getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.InputBindingData build() { - flyteidl.core.ArtifactId.InputBindingData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.InputBindingData buildPartial() { - flyteidl.core.ArtifactId.InputBindingData result = new flyteidl.core.ArtifactId.InputBindingData(this); - result.var_ = var_; - 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.ArtifactId.InputBindingData) { - return mergeFrom((flyteidl.core.ArtifactId.InputBindingData)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.InputBindingData other) { - if (other == flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance()) return this; - if (!other.getVar().isEmpty()) { - var_ = other.var_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.ArtifactId.InputBindingData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.InputBindingData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object var_ = ""; - /** - * string var = 1; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - var_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string var = 1; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string var = 1; - */ - public Builder setVar( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - var_ = value; - onChanged(); - return this; - } - /** - * string var = 1; - */ - public Builder clearVar() { - - var_ = getDefaultInstance().getVar(); - onChanged(); - return this; - } - /** - * string var = 1; - */ - public Builder setVarBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - var_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.InputBindingData) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.InputBindingData) - private static final flyteidl.core.ArtifactId.InputBindingData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.InputBindingData(); - } - - public static flyteidl.core.ArtifactId.InputBindingData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InputBindingData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InputBindingData(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.ArtifactId.InputBindingData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LabelValueOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.LabelValue) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The string static value is for use in the Partitions object
-     * 
- * - * string static_value = 1; - */ - java.lang.String getStaticValue(); - /** - *
-     * The string static value is for use in the Partitions object
-     * 
- * - * string static_value = 1; - */ - com.google.protobuf.ByteString - getStaticValueBytes(); - - /** - *
-     * The time value is for use in the TimePartition case
-     * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - boolean hasTimeValue(); - /** - *
-     * The time value is for use in the TimePartition case
-     * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - com.google.protobuf.Timestamp getTimeValue(); - /** - *
-     * The time value is for use in the TimePartition case
-     * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - com.google.protobuf.TimestampOrBuilder getTimeValueOrBuilder(); - - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - boolean hasTriggeredBinding(); - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding(); - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder(); - - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - boolean hasInputBinding(); - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - flyteidl.core.ArtifactId.InputBindingData getInputBinding(); - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder(); - - public flyteidl.core.ArtifactId.LabelValue.ValueCase getValueCase(); - } - /** - * Protobuf type {@code flyteidl.core.LabelValue} - */ - public static final class LabelValue extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.LabelValue) - LabelValueOrBuilder { - private static final long serialVersionUID = 0L; - // Use LabelValue.newBuilder() to construct. - private LabelValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LabelValue() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LabelValue( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 1; - value_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (valueCase_ == 2) { - subBuilder = ((com.google.protobuf.Timestamp) value_).toBuilder(); - } - value_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 2; - break; - } - case 26: { - flyteidl.core.ArtifactId.ArtifactBindingData.Builder subBuilder = null; - if (valueCase_ == 3) { - subBuilder = ((flyteidl.core.ArtifactId.ArtifactBindingData) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.ArtifactId.ArtifactBindingData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactBindingData) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 3; - break; - } - case 34: { - flyteidl.core.ArtifactId.InputBindingData.Builder subBuilder = null; - if (valueCase_ == 4) { - subBuilder = ((flyteidl.core.ArtifactId.InputBindingData) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.ArtifactId.InputBindingData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.ArtifactId.InputBindingData) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 4; - 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.ArtifactId.internal_static_flyteidl_core_LabelValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.LabelValue.class, flyteidl.core.ArtifactId.LabelValue.Builder.class); - } - - private int valueCase_ = 0; - private java.lang.Object value_; - public enum ValueCase - implements com.google.protobuf.Internal.EnumLite { - STATIC_VALUE(1), - TIME_VALUE(2), - TRIGGERED_BINDING(3), - INPUT_BINDING(4), - VALUE_NOT_SET(0); - private final int value; - private ValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValueCase valueOf(int value) { - return forNumber(value); - } - - public static ValueCase forNumber(int value) { - switch (value) { - case 1: return STATIC_VALUE; - case 2: return TIME_VALUE; - case 3: return TRIGGERED_BINDING; - case 4: return INPUT_BINDING; - case 0: return VALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public static final int STATIC_VALUE_FIELD_NUMBER = 1; - /** - *
-     * The string static value is for use in the Partitions object
-     * 
- * - * string static_value = 1; - */ - public java.lang.String getStaticValue() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - 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 (valueCase_ == 1) { - value_ = s; - } - return s; - } - } - /** - *
-     * The string static value is for use in the Partitions object
-     * 
- * - * string static_value = 1; - */ - public com.google.protobuf.ByteString - getStaticValueBytes() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valueCase_ == 1) { - value_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIME_VALUE_FIELD_NUMBER = 2; - /** - *
-     * The time value is for use in the TimePartition case
-     * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public boolean hasTimeValue() { - return valueCase_ == 2; - } - /** - *
-     * The time value is for use in the TimePartition case
-     * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public com.google.protobuf.Timestamp getTimeValue() { - if (valueCase_ == 2) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - /** - *
-     * The time value is for use in the TimePartition case
-     * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public com.google.protobuf.TimestampOrBuilder getTimeValueOrBuilder() { - if (valueCase_ == 2) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - - public static final int TRIGGERED_BINDING_FIELD_NUMBER = 3; - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public boolean hasTriggeredBinding() { - return valueCase_ == 3; - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding() { - if (valueCase_ == 3) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder() { - if (valueCase_ == 3) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - - public static final int INPUT_BINDING_FIELD_NUMBER = 4; - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public boolean hasInputBinding() { - return valueCase_ == 4; - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public flyteidl.core.ArtifactId.InputBindingData getInputBinding() { - if (valueCase_ == 4) { - return (flyteidl.core.ArtifactId.InputBindingData) value_; - } - return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder() { - if (valueCase_ == 4) { - return (flyteidl.core.ArtifactId.InputBindingData) value_; - } - return flyteidl.core.ArtifactId.InputBindingData.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 (valueCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); - } - if (valueCase_ == 2) { - output.writeMessage(2, (com.google.protobuf.Timestamp) value_); - } - if (valueCase_ == 3) { - output.writeMessage(3, (flyteidl.core.ArtifactId.ArtifactBindingData) value_); - } - if (valueCase_ == 4) { - output.writeMessage(4, (flyteidl.core.ArtifactId.InputBindingData) value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (valueCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); - } - if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.protobuf.Timestamp) value_); - } - if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.ArtifactId.ArtifactBindingData) value_); - } - if (valueCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.ArtifactId.InputBindingData) value_); - } - 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.ArtifactId.LabelValue)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.LabelValue other = (flyteidl.core.ArtifactId.LabelValue) obj; - - if (!getValueCase().equals(other.getValueCase())) return false; - switch (valueCase_) { - case 1: - if (!getStaticValue() - .equals(other.getStaticValue())) return false; - break; - case 2: - if (!getTimeValue() - .equals(other.getTimeValue())) return false; - break; - case 3: - if (!getTriggeredBinding() - .equals(other.getTriggeredBinding())) return false; - break; - case 4: - if (!getInputBinding() - .equals(other.getInputBinding())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (valueCase_) { - case 1: - hash = (37 * hash) + STATIC_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getStaticValue().hashCode(); - break; - case 2: - hash = (37 * hash) + TIME_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getTimeValue().hashCode(); - break; - case 3: - hash = (37 * hash) + TRIGGERED_BINDING_FIELD_NUMBER; - hash = (53 * hash) + getTriggeredBinding().hashCode(); - break; - case 4: - hash = (37 * hash) + INPUT_BINDING_FIELD_NUMBER; - hash = (53 * hash) + getInputBinding().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.LabelValue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.LabelValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.LabelValue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.LabelValue 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.ArtifactId.LabelValue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.LabelValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.LabelValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.LabelValue 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.ArtifactId.LabelValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.LabelValue 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.ArtifactId.LabelValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.LabelValue 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.ArtifactId.LabelValue 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.core.LabelValue} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.LabelValue) - flyteidl.core.ArtifactId.LabelValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.LabelValue.class, flyteidl.core.ArtifactId.LabelValue.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.LabelValue.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(); - valueCase_ = 0; - value_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_LabelValue_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.LabelValue getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.LabelValue.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.LabelValue build() { - flyteidl.core.ArtifactId.LabelValue result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.LabelValue buildPartial() { - flyteidl.core.ArtifactId.LabelValue result = new flyteidl.core.ArtifactId.LabelValue(this); - if (valueCase_ == 1) { - result.value_ = value_; - } - if (valueCase_ == 2) { - if (timeValueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = timeValueBuilder_.build(); - } - } - if (valueCase_ == 3) { - if (triggeredBindingBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = triggeredBindingBuilder_.build(); - } - } - if (valueCase_ == 4) { - if (inputBindingBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = inputBindingBuilder_.build(); - } - } - result.valueCase_ = valueCase_; - 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.ArtifactId.LabelValue) { - return mergeFrom((flyteidl.core.ArtifactId.LabelValue)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.LabelValue other) { - if (other == flyteidl.core.ArtifactId.LabelValue.getDefaultInstance()) return this; - switch (other.getValueCase()) { - case STATIC_VALUE: { - valueCase_ = 1; - value_ = other.value_; - onChanged(); - break; - } - case TIME_VALUE: { - mergeTimeValue(other.getTimeValue()); - break; - } - case TRIGGERED_BINDING: { - mergeTriggeredBinding(other.getTriggeredBinding()); - break; - } - case INPUT_BINDING: { - mergeInputBinding(other.getInputBinding()); - break; - } - case VALUE_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.ArtifactId.LabelValue parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.LabelValue) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int valueCase_ = 0; - private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public Builder clearValue() { - valueCase_ = 0; - value_ = null; - onChanged(); - return this; - } - - - /** - *
-       * The string static value is for use in the Partitions object
-       * 
- * - * string static_value = 1; - */ - public java.lang.String getStaticValue() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (valueCase_ == 1) { - value_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The string static value is for use in the Partitions object
-       * 
- * - * string static_value = 1; - */ - public com.google.protobuf.ByteString - getStaticValueBytes() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valueCase_ == 1) { - value_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The string static value is for use in the Partitions object
-       * 
- * - * string static_value = 1; - */ - public Builder setStaticValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 1; - value_ = value; - onChanged(); - return this; - } - /** - *
-       * The string static value is for use in the Partitions object
-       * 
- * - * string static_value = 1; - */ - public Builder clearStaticValue() { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - return this; - } - /** - *
-       * The string static value is for use in the Partitions object
-       * 
- * - * string static_value = 1; - */ - public Builder setStaticValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - valueCase_ = 1; - value_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timeValueBuilder_; - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public boolean hasTimeValue() { - return valueCase_ == 2; - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public com.google.protobuf.Timestamp getTimeValue() { - if (timeValueBuilder_ == null) { - if (valueCase_ == 2) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } else { - if (valueCase_ == 2) { - return timeValueBuilder_.getMessage(); - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public Builder setTimeValue(com.google.protobuf.Timestamp value) { - if (timeValueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - timeValueBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public Builder setTimeValue( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (timeValueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - timeValueBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 2; - return this; - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public Builder mergeTimeValue(com.google.protobuf.Timestamp value) { - if (timeValueBuilder_ == null) { - if (valueCase_ == 2 && - value_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - value_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 2) { - timeValueBuilder_.mergeFrom(value); - } - timeValueBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public Builder clearTimeValue() { - if (timeValueBuilder_ == null) { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - } - timeValueBuilder_.clear(); - } - return this; - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public com.google.protobuf.Timestamp.Builder getTimeValueBuilder() { - return getTimeValueFieldBuilder().getBuilder(); - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - public com.google.protobuf.TimestampOrBuilder getTimeValueOrBuilder() { - if ((valueCase_ == 2) && (timeValueBuilder_ != null)) { - return timeValueBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 2) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - } - /** - *
-       * The time value is for use in the TimePartition case
-       * 
- * - * .google.protobuf.Timestamp time_value = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getTimeValueFieldBuilder() { - if (timeValueBuilder_ == null) { - if (!(valueCase_ == 2)) { - value_ = com.google.protobuf.Timestamp.getDefaultInstance(); - } - timeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 2; - onChanged();; - return timeValueBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> triggeredBindingBuilder_; - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public boolean hasTriggeredBinding() { - return valueCase_ == 3; - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding() { - if (triggeredBindingBuilder_ == null) { - if (valueCase_ == 3) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } else { - if (valueCase_ == 3) { - return triggeredBindingBuilder_.getMessage(); - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public Builder setTriggeredBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { - if (triggeredBindingBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - triggeredBindingBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public Builder setTriggeredBinding( - flyteidl.core.ArtifactId.ArtifactBindingData.Builder builderForValue) { - if (triggeredBindingBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - triggeredBindingBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 3; - return this; - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public Builder mergeTriggeredBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { - if (triggeredBindingBuilder_ == null) { - if (valueCase_ == 3 && - value_ != flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance()) { - value_ = flyteidl.core.ArtifactId.ArtifactBindingData.newBuilder((flyteidl.core.ArtifactId.ArtifactBindingData) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 3) { - triggeredBindingBuilder_.mergeFrom(value); - } - triggeredBindingBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public Builder clearTriggeredBinding() { - if (triggeredBindingBuilder_ == null) { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - } - triggeredBindingBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public flyteidl.core.ArtifactId.ArtifactBindingData.Builder getTriggeredBindingBuilder() { - return getTriggeredBindingFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder() { - if ((valueCase_ == 3) && (triggeredBindingBuilder_ != null)) { - return triggeredBindingBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 3) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactBindingData triggered_binding = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> - getTriggeredBindingFieldBuilder() { - if (triggeredBindingBuilder_ == null) { - if (!(valueCase_ == 3)) { - value_ = flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - triggeredBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder>( - (flyteidl.core.ArtifactId.ArtifactBindingData) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 3; - onChanged();; - return triggeredBindingBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.InputBindingData, flyteidl.core.ArtifactId.InputBindingData.Builder, flyteidl.core.ArtifactId.InputBindingDataOrBuilder> inputBindingBuilder_; - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public boolean hasInputBinding() { - return valueCase_ == 4; - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public flyteidl.core.ArtifactId.InputBindingData getInputBinding() { - if (inputBindingBuilder_ == null) { - if (valueCase_ == 4) { - return (flyteidl.core.ArtifactId.InputBindingData) value_; - } - return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); - } else { - if (valueCase_ == 4) { - return inputBindingBuilder_.getMessage(); - } - return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); - } - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public Builder setInputBinding(flyteidl.core.ArtifactId.InputBindingData value) { - if (inputBindingBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - inputBindingBuilder_.setMessage(value); - } - valueCase_ = 4; - return this; - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public Builder setInputBinding( - flyteidl.core.ArtifactId.InputBindingData.Builder builderForValue) { - if (inputBindingBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - inputBindingBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 4; - return this; - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public Builder mergeInputBinding(flyteidl.core.ArtifactId.InputBindingData value) { - if (inputBindingBuilder_ == null) { - if (valueCase_ == 4 && - value_ != flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance()) { - value_ = flyteidl.core.ArtifactId.InputBindingData.newBuilder((flyteidl.core.ArtifactId.InputBindingData) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 4) { - inputBindingBuilder_.mergeFrom(value); - } - inputBindingBuilder_.setMessage(value); - } - valueCase_ = 4; - return this; - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public Builder clearInputBinding() { - if (inputBindingBuilder_ == null) { - if (valueCase_ == 4) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 4) { - valueCase_ = 0; - value_ = null; - } - inputBindingBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public flyteidl.core.ArtifactId.InputBindingData.Builder getInputBindingBuilder() { - return getInputBindingFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - public flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder() { - if ((valueCase_ == 4) && (inputBindingBuilder_ != null)) { - return inputBindingBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 4) { - return (flyteidl.core.ArtifactId.InputBindingData) value_; - } - return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); - } - } - /** - * .flyteidl.core.InputBindingData input_binding = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.InputBindingData, flyteidl.core.ArtifactId.InputBindingData.Builder, flyteidl.core.ArtifactId.InputBindingDataOrBuilder> - getInputBindingFieldBuilder() { - if (inputBindingBuilder_ == null) { - if (!(valueCase_ == 4)) { - value_ = flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); - } - inputBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.InputBindingData, flyteidl.core.ArtifactId.InputBindingData.Builder, flyteidl.core.ArtifactId.InputBindingDataOrBuilder>( - (flyteidl.core.ArtifactId.InputBindingData) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 4; - onChanged();; - return inputBindingBuilder_; - } - @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.LabelValue) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.LabelValue) - private static final flyteidl.core.ArtifactId.LabelValue DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.LabelValue(); - } - - public static flyteidl.core.ArtifactId.LabelValue getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelValue(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.ArtifactId.LabelValue getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PartitionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Partitions) - com.google.protobuf.MessageOrBuilder { - - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - int getValueCount(); - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - boolean containsValue( - java.lang.String key); - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getValue(); - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - java.util.Map - getValueMap(); - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - flyteidl.core.ArtifactId.LabelValue getValueOrDefault( - java.lang.String key, - flyteidl.core.ArtifactId.LabelValue defaultValue); - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - flyteidl.core.ArtifactId.LabelValue getValueOrThrow( - java.lang.String key); - } - /** - * Protobuf type {@code flyteidl.core.Partitions} - */ - public static final class Partitions extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Partitions) - PartitionsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Partitions.newBuilder() to construct. - private Partitions(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Partitions() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Partitions( - 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)) { - value_ = com.google.protobuf.MapField.newMapField( - ValueDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - value__ = input.readMessage( - ValueDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - value_.getMutableMap().put( - value__.getKey(), value__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValue(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.Partitions.class, flyteidl.core.ArtifactId.Partitions.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private static final class ValueDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.ArtifactId.LabelValue> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_ValueEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.ArtifactId.LabelValue.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.ArtifactId.LabelValue> value_; - private com.google.protobuf.MapField - internalGetValue() { - if (value_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValueDefaultEntryHolder.defaultEntry); - } - return value_; - } - - public int getValueCount() { - return internalGetValue().getMap().size(); - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public boolean containsValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValue().getMap().containsKey(key); - } - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValue() { - return getValueMap(); - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public java.util.Map getValueMap() { - return internalGetValue().getMap(); - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public flyteidl.core.ArtifactId.LabelValue getValueOrDefault( - java.lang.String key, - flyteidl.core.ArtifactId.LabelValue defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public flyteidl.core.ArtifactId.LabelValue getValueOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValue(), - ValueDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetValue().getMap().entrySet()) { - com.google.protobuf.MapEntry - value__ = ValueDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, value__); - } - 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.ArtifactId.Partitions)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.Partitions other = (flyteidl.core.ArtifactId.Partitions) obj; - - if (!internalGetValue().equals( - other.internalGetValue())) 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 (!internalGetValue().getMap().isEmpty()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + internalGetValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.Partitions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.Partitions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.Partitions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.Partitions 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.ArtifactId.Partitions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.Partitions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.Partitions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.Partitions 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.ArtifactId.Partitions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.Partitions 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.ArtifactId.Partitions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.Partitions 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.ArtifactId.Partitions 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.core.Partitions} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Partitions) - flyteidl.core.ArtifactId.PartitionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValue(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableValue(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.Partitions.class, flyteidl.core.ArtifactId.Partitions.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.Partitions.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(); - internalGetMutableValue().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Partitions_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.Partitions getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.Partitions build() { - flyteidl.core.ArtifactId.Partitions result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.Partitions buildPartial() { - flyteidl.core.ArtifactId.Partitions result = new flyteidl.core.ArtifactId.Partitions(this); - int from_bitField0_ = bitField0_; - result.value_ = internalGetValue(); - result.value_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.ArtifactId.Partitions) { - return mergeFrom((flyteidl.core.ArtifactId.Partitions)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.Partitions other) { - if (other == flyteidl.core.ArtifactId.Partitions.getDefaultInstance()) return this; - internalGetMutableValue().mergeFrom( - other.internalGetValue()); - 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.ArtifactId.Partitions parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.Partitions) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.ArtifactId.LabelValue> value_; - private com.google.protobuf.MapField - internalGetValue() { - if (value_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValueDefaultEntryHolder.defaultEntry); - } - return value_; - } - private com.google.protobuf.MapField - internalGetMutableValue() { - onChanged();; - if (value_ == null) { - value_ = com.google.protobuf.MapField.newMapField( - ValueDefaultEntryHolder.defaultEntry); - } - if (!value_.isMutable()) { - value_ = value_.copy(); - } - return value_; - } - - public int getValueCount() { - return internalGetValue().getMap().size(); - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public boolean containsValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValue().getMap().containsKey(key); - } - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValue() { - return getValueMap(); - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public java.util.Map getValueMap() { - return internalGetValue().getMap(); - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public flyteidl.core.ArtifactId.LabelValue getValueOrDefault( - java.lang.String key, - flyteidl.core.ArtifactId.LabelValue defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public flyteidl.core.ArtifactId.LabelValue getValueOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearValue() { - internalGetMutableValue().getMutableMap() - .clear(); - return this; - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public Builder removeValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValue().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableValue() { - return internalGetMutableValue().getMutableMap(); - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - public Builder putValue( - java.lang.String key, - flyteidl.core.ArtifactId.LabelValue value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValue().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, .flyteidl.core.LabelValue> value = 1; - */ - - public Builder putAllValue( - java.util.Map values) { - internalGetMutableValue().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Partitions) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Partitions) - private static final flyteidl.core.ArtifactId.Partitions DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.Partitions(); - } - - public static flyteidl.core.ArtifactId.Partitions getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Partitions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Partitions(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.ArtifactId.Partitions getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TimePartitionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TimePartition) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.LabelValue value = 1; - */ - boolean hasValue(); - /** - * .flyteidl.core.LabelValue value = 1; - */ - flyteidl.core.ArtifactId.LabelValue getValue(); - /** - * .flyteidl.core.LabelValue value = 1; - */ - flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.TimePartition} - */ - public static final class TimePartition extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TimePartition) - TimePartitionOrBuilder { - private static final long serialVersionUID = 0L; - // Use TimePartition.newBuilder() to construct. - private TimePartition(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TimePartition() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TimePartition( - 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.ArtifactId.LabelValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(flyteidl.core.ArtifactId.LabelValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = 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.core.ArtifactId.internal_static_flyteidl_core_TimePartition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_TimePartition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.TimePartition.class, flyteidl.core.ArtifactId.TimePartition.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private flyteidl.core.ArtifactId.LabelValue value_; - /** - * .flyteidl.core.LabelValue value = 1; - */ - public boolean hasValue() { - return value_ != null; - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public flyteidl.core.ArtifactId.LabelValue getValue() { - return value_ == null ? flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder() { - return getValue(); - } - - 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 (value_ != null) { - output.writeMessage(1, getValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getValue()); - } - 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.ArtifactId.TimePartition)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.TimePartition other = (flyteidl.core.ArtifactId.TimePartition) obj; - - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) 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 (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.TimePartition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.TimePartition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.TimePartition parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.TimePartition 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.ArtifactId.TimePartition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.TimePartition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.TimePartition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.TimePartition 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.ArtifactId.TimePartition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.TimePartition 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.ArtifactId.TimePartition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.TimePartition 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.ArtifactId.TimePartition 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.core.TimePartition} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TimePartition) - flyteidl.core.ArtifactId.TimePartitionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_TimePartition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_TimePartition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.TimePartition.class, flyteidl.core.ArtifactId.TimePartition.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.TimePartition.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 (valueBuilder_ == null) { - value_ = null; - } else { - value_ = null; - valueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_TimePartition_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.TimePartition getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.TimePartition.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.TimePartition build() { - flyteidl.core.ArtifactId.TimePartition result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.TimePartition buildPartial() { - flyteidl.core.ArtifactId.TimePartition result = new flyteidl.core.ArtifactId.TimePartition(this); - if (valueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = valueBuilder_.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.ArtifactId.TimePartition) { - return mergeFrom((flyteidl.core.ArtifactId.TimePartition)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.TimePartition other) { - if (other == flyteidl.core.ArtifactId.TimePartition.getDefaultInstance()) return this; - if (other.hasValue()) { - mergeValue(other.getValue()); - } - 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.ArtifactId.TimePartition parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.TimePartition) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.ArtifactId.LabelValue value_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder> valueBuilder_; - /** - * .flyteidl.core.LabelValue value = 1; - */ - public boolean hasValue() { - return valueBuilder_ != null || value_ != null; - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public flyteidl.core.ArtifactId.LabelValue getValue() { - if (valueBuilder_ == null) { - return value_ == null ? flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; - } else { - return valueBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public Builder setValue(flyteidl.core.ArtifactId.LabelValue value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - valueBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public Builder setValue( - flyteidl.core.ArtifactId.LabelValue.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public Builder mergeValue(flyteidl.core.ArtifactId.LabelValue value) { - if (valueBuilder_ == null) { - if (value_ != null) { - value_ = - flyteidl.core.ArtifactId.LabelValue.newBuilder(value_).mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - valueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = null; - onChanged(); - } else { - value_ = null; - valueBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public flyteidl.core.ArtifactId.LabelValue.Builder getValueBuilder() { - - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - public flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null ? - flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; - } - } - /** - * .flyteidl.core.LabelValue value = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); - value_ = null; - } - return valueBuilder_; - } - @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.TimePartition) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TimePartition) - private static final flyteidl.core.ArtifactId.TimePartition DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.TimePartition(); - } - - public static flyteidl.core.ArtifactId.TimePartition getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimePartition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimePartition(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.ArtifactId.TimePartition getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArtifactIDOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactID) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - boolean hasArtifactKey(); - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - flyteidl.core.ArtifactId.ArtifactKey getArtifactKey(); - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder(); - - /** - * string version = 2; - */ - java.lang.String getVersion(); - /** - * string version = 2; - */ - com.google.protobuf.ByteString - getVersionBytes(); - - /** - *
-     * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-     * Different partitions naturally have different versions (execution ids).
-     * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - boolean hasPartitions(); - /** - *
-     * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-     * Different partitions naturally have different versions (execution ids).
-     * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - flyteidl.core.ArtifactId.Partitions getPartitions(); - /** - *
-     * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-     * Different partitions naturally have different versions (execution ids).
-     * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder(); - - /** - *
-     * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-     * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - boolean hasTimePartition(); - /** - *
-     * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-     * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - flyteidl.core.ArtifactId.TimePartition getTimePartition(); - /** - *
-     * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-     * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - flyteidl.core.ArtifactId.TimePartitionOrBuilder getTimePartitionOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.ArtifactID} - */ - public static final class ArtifactID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactID) - ArtifactIDOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArtifactID.newBuilder() to construct. - private ArtifactID(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArtifactID() { - version_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArtifactID( - 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.ArtifactId.ArtifactKey.Builder subBuilder = null; - if (artifactKey_ != null) { - subBuilder = artifactKey_.toBuilder(); - } - artifactKey_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifactKey_); - artifactKey_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; - } - case 26: { - flyteidl.core.ArtifactId.Partitions.Builder subBuilder = null; - if (partitions_ != null) { - subBuilder = partitions_.toBuilder(); - } - partitions_ = input.readMessage(flyteidl.core.ArtifactId.Partitions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(partitions_); - partitions_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.core.ArtifactId.TimePartition.Builder subBuilder = null; - if (timePartition_ != null) { - subBuilder = timePartition_.toBuilder(); - } - timePartition_ = input.readMessage(flyteidl.core.ArtifactId.TimePartition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timePartition_); - timePartition_ = 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.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactID.class, flyteidl.core.ArtifactId.ArtifactID.Builder.class); - } - - public static final int ARTIFACT_KEY_FIELD_NUMBER = 1; - private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public boolean hasArtifactKey() { - return artifactKey_ != null; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { - return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { - return getArtifactKey(); - } - - public static final int VERSION_FIELD_NUMBER = 2; - private volatile java.lang.Object version_; - /** - * string version = 2; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - 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(); - version_ = s; - return s; - } - } - /** - * string version = 2; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PARTITIONS_FIELD_NUMBER = 3; - private flyteidl.core.ArtifactId.Partitions partitions_; - /** - *
-     * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-     * Different partitions naturally have different versions (execution ids).
-     * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public boolean hasPartitions() { - return partitions_ != null; - } - /** - *
-     * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-     * Different partitions naturally have different versions (execution ids).
-     * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public flyteidl.core.ArtifactId.Partitions getPartitions() { - return partitions_ == null ? flyteidl.core.ArtifactId.Partitions.getDefaultInstance() : partitions_; - } - /** - *
-     * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-     * Different partitions naturally have different versions (execution ids).
-     * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { - return getPartitions(); - } - - public static final int TIME_PARTITION_FIELD_NUMBER = 4; - private flyteidl.core.ArtifactId.TimePartition timePartition_; - /** - *
-     * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-     * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public boolean hasTimePartition() { - return timePartition_ != null; - } - /** - *
-     * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-     * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public flyteidl.core.ArtifactId.TimePartition getTimePartition() { - return timePartition_ == null ? flyteidl.core.ArtifactId.TimePartition.getDefaultInstance() : timePartition_; - } - /** - *
-     * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-     * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public flyteidl.core.ArtifactId.TimePartitionOrBuilder getTimePartitionOrBuilder() { - return getTimePartition(); - } - - 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 (artifactKey_ != null) { - output.writeMessage(1, getArtifactKey()); - } - if (!getVersionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); - } - if (partitions_ != null) { - output.writeMessage(3, getPartitions()); - } - if (timePartition_ != null) { - output.writeMessage(4, getTimePartition()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (artifactKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getArtifactKey()); - } - if (!getVersionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); - } - if (partitions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPartitions()); - } - if (timePartition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTimePartition()); - } - 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.ArtifactId.ArtifactID)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.ArtifactID other = (flyteidl.core.ArtifactId.ArtifactID) obj; - - if (hasArtifactKey() != other.hasArtifactKey()) return false; - if (hasArtifactKey()) { - if (!getArtifactKey() - .equals(other.getArtifactKey())) return false; - } - if (!getVersion() - .equals(other.getVersion())) return false; - if (hasPartitions() != other.hasPartitions()) return false; - if (hasPartitions()) { - if (!getPartitions() - .equals(other.getPartitions())) return false; - } - if (hasTimePartition() != other.hasTimePartition()) return false; - if (hasTimePartition()) { - if (!getTimePartition() - .equals(other.getTimePartition())) 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 (hasArtifactKey()) { - hash = (37 * hash) + ARTIFACT_KEY_FIELD_NUMBER; - hash = (53 * hash) + getArtifactKey().hashCode(); - } - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - if (hasPartitions()) { - hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; - hash = (53 * hash) + getPartitions().hashCode(); - } - if (hasTimePartition()) { - hash = (37 * hash) + TIME_PARTITION_FIELD_NUMBER; - hash = (53 * hash) + getTimePartition().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.ArtifactID parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactID parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactID parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactID 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.ArtifactId.ArtifactID parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactID parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactID parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactID 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.ArtifactId.ArtifactID parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactID 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.ArtifactId.ArtifactID parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactID 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.ArtifactId.ArtifactID 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.core.ArtifactID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactID) - flyteidl.core.ArtifactId.ArtifactIDOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactID.class, flyteidl.core.ArtifactId.ArtifactID.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.ArtifactID.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 (artifactKeyBuilder_ == null) { - artifactKey_ = null; - } else { - artifactKey_ = null; - artifactKeyBuilder_ = null; - } - version_ = ""; - - if (partitionsBuilder_ == null) { - partitions_ = null; - } else { - partitions_ = null; - partitionsBuilder_ = null; - } - if (timePartitionBuilder_ == null) { - timePartition_ = null; - } else { - timePartition_ = null; - timePartitionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactID_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactID getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactID build() { - flyteidl.core.ArtifactId.ArtifactID result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactID buildPartial() { - flyteidl.core.ArtifactId.ArtifactID result = new flyteidl.core.ArtifactId.ArtifactID(this); - if (artifactKeyBuilder_ == null) { - result.artifactKey_ = artifactKey_; - } else { - result.artifactKey_ = artifactKeyBuilder_.build(); - } - result.version_ = version_; - if (partitionsBuilder_ == null) { - result.partitions_ = partitions_; - } else { - result.partitions_ = partitionsBuilder_.build(); - } - if (timePartitionBuilder_ == null) { - result.timePartition_ = timePartition_; - } else { - result.timePartition_ = timePartitionBuilder_.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.ArtifactId.ArtifactID) { - return mergeFrom((flyteidl.core.ArtifactId.ArtifactID)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactID other) { - if (other == flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()) return this; - if (other.hasArtifactKey()) { - mergeArtifactKey(other.getArtifactKey()); - } - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - onChanged(); - } - if (other.hasPartitions()) { - mergePartitions(other.getPartitions()); - } - if (other.hasTimePartition()) { - mergeTimePartition(other.getTimePartition()); - } - 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.ArtifactId.ArtifactID parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.ArtifactID) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> artifactKeyBuilder_; - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public boolean hasArtifactKey() { - return artifactKeyBuilder_ != null || artifactKey_ != null; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { - if (artifactKeyBuilder_ == null) { - return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; - } else { - return artifactKeyBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder setArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { - if (artifactKeyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - artifactKey_ = value; - onChanged(); - } else { - artifactKeyBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder setArtifactKey( - flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { - if (artifactKeyBuilder_ == null) { - artifactKey_ = builderForValue.build(); - onChanged(); - } else { - artifactKeyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder mergeArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { - if (artifactKeyBuilder_ == null) { - if (artifactKey_ != null) { - artifactKey_ = - flyteidl.core.ArtifactId.ArtifactKey.newBuilder(artifactKey_).mergeFrom(value).buildPartial(); - } else { - artifactKey_ = value; - } - onChanged(); - } else { - artifactKeyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder clearArtifactKey() { - if (artifactKeyBuilder_ == null) { - artifactKey_ = null; - onChanged(); - } else { - artifactKey_ = null; - artifactKeyBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeyBuilder() { - - onChanged(); - return getArtifactKeyFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { - if (artifactKeyBuilder_ != null) { - return artifactKeyBuilder_.getMessageOrBuilder(); - } else { - return artifactKey_ == null ? - flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; - } - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> - getArtifactKeyFieldBuilder() { - if (artifactKeyBuilder_ == null) { - artifactKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder>( - getArtifactKey(), - getParentForChildren(), - isClean()); - artifactKey_ = null; - } - return artifactKeyBuilder_; - } - - private java.lang.Object version_ = ""; - /** - * string version = 2; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string version = 2; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string version = 2; - */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - version_ = value; - onChanged(); - return this; - } - /** - * string version = 2; - */ - public Builder clearVersion() { - - version_ = getDefaultInstance().getVersion(); - onChanged(); - return this; - } - /** - * string version = 2; - */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - version_ = value; - onChanged(); - return this; - } - - private flyteidl.core.ArtifactId.Partitions partitions_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder> partitionsBuilder_; - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public boolean hasPartitions() { - return partitionsBuilder_ != null || partitions_ != null; - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public flyteidl.core.ArtifactId.Partitions getPartitions() { - if (partitionsBuilder_ == null) { - return partitions_ == null ? flyteidl.core.ArtifactId.Partitions.getDefaultInstance() : partitions_; - } else { - return partitionsBuilder_.getMessage(); - } - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public Builder setPartitions(flyteidl.core.ArtifactId.Partitions value) { - if (partitionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - partitions_ = value; - onChanged(); - } else { - partitionsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public Builder setPartitions( - flyteidl.core.ArtifactId.Partitions.Builder builderForValue) { - if (partitionsBuilder_ == null) { - partitions_ = builderForValue.build(); - onChanged(); - } else { - partitionsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public Builder mergePartitions(flyteidl.core.ArtifactId.Partitions value) { - if (partitionsBuilder_ == null) { - if (partitions_ != null) { - partitions_ = - flyteidl.core.ArtifactId.Partitions.newBuilder(partitions_).mergeFrom(value).buildPartial(); - } else { - partitions_ = value; - } - onChanged(); - } else { - partitionsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public Builder clearPartitions() { - if (partitionsBuilder_ == null) { - partitions_ = null; - onChanged(); - } else { - partitions_ = null; - partitionsBuilder_ = null; - } - - return this; - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public flyteidl.core.ArtifactId.Partitions.Builder getPartitionsBuilder() { - - onChanged(); - return getPartitionsFieldBuilder().getBuilder(); - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { - if (partitionsBuilder_ != null) { - return partitionsBuilder_.getMessageOrBuilder(); - } else { - return partitions_ == null ? - flyteidl.core.ArtifactId.Partitions.getDefaultInstance() : partitions_; - } - } - /** - *
-       * Think of a partition as a tag on an Artifact, except it's a key-value pair.
-       * Different partitions naturally have different versions (execution ids).
-       * 
- * - * .flyteidl.core.Partitions partitions = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder> - getPartitionsFieldBuilder() { - if (partitionsBuilder_ == null) { - partitionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder>( - getPartitions(), - getParentForChildren(), - isClean()); - partitions_ = null; - } - return partitionsBuilder_; - } - - private flyteidl.core.ArtifactId.TimePartition timePartition_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.TimePartition, flyteidl.core.ArtifactId.TimePartition.Builder, flyteidl.core.ArtifactId.TimePartitionOrBuilder> timePartitionBuilder_; - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public boolean hasTimePartition() { - return timePartitionBuilder_ != null || timePartition_ != null; - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public flyteidl.core.ArtifactId.TimePartition getTimePartition() { - if (timePartitionBuilder_ == null) { - return timePartition_ == null ? flyteidl.core.ArtifactId.TimePartition.getDefaultInstance() : timePartition_; - } else { - return timePartitionBuilder_.getMessage(); - } - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public Builder setTimePartition(flyteidl.core.ArtifactId.TimePartition value) { - if (timePartitionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timePartition_ = value; - onChanged(); - } else { - timePartitionBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public Builder setTimePartition( - flyteidl.core.ArtifactId.TimePartition.Builder builderForValue) { - if (timePartitionBuilder_ == null) { - timePartition_ = builderForValue.build(); - onChanged(); - } else { - timePartitionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public Builder mergeTimePartition(flyteidl.core.ArtifactId.TimePartition value) { - if (timePartitionBuilder_ == null) { - if (timePartition_ != null) { - timePartition_ = - flyteidl.core.ArtifactId.TimePartition.newBuilder(timePartition_).mergeFrom(value).buildPartial(); - } else { - timePartition_ = value; - } - onChanged(); - } else { - timePartitionBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public Builder clearTimePartition() { - if (timePartitionBuilder_ == null) { - timePartition_ = null; - onChanged(); - } else { - timePartition_ = null; - timePartitionBuilder_ = null; - } - - return this; - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public flyteidl.core.ArtifactId.TimePartition.Builder getTimePartitionBuilder() { - - onChanged(); - return getTimePartitionFieldBuilder().getBuilder(); - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - public flyteidl.core.ArtifactId.TimePartitionOrBuilder getTimePartitionOrBuilder() { - if (timePartitionBuilder_ != null) { - return timePartitionBuilder_.getMessageOrBuilder(); - } else { - return timePartition_ == null ? - flyteidl.core.ArtifactId.TimePartition.getDefaultInstance() : timePartition_; - } - } - /** - *
-       * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
-       * 
- * - * .flyteidl.core.TimePartition time_partition = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.TimePartition, flyteidl.core.ArtifactId.TimePartition.Builder, flyteidl.core.ArtifactId.TimePartitionOrBuilder> - getTimePartitionFieldBuilder() { - if (timePartitionBuilder_ == null) { - timePartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.TimePartition, flyteidl.core.ArtifactId.TimePartition.Builder, flyteidl.core.ArtifactId.TimePartitionOrBuilder>( - getTimePartition(), - getParentForChildren(), - isClean()); - timePartition_ = null; - } - return timePartitionBuilder_; - } - @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.ArtifactID) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactID) - private static final flyteidl.core.ArtifactId.ArtifactID DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactID(); - } - - public static flyteidl.core.ArtifactId.ArtifactID getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArtifactID parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArtifactID(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.ArtifactId.ArtifactID getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArtifactTagOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactTag) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - boolean hasArtifactKey(); - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - flyteidl.core.ArtifactId.ArtifactKey getArtifactKey(); - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder(); - - /** - * .flyteidl.core.LabelValue value = 2; - */ - boolean hasValue(); - /** - * .flyteidl.core.LabelValue value = 2; - */ - flyteidl.core.ArtifactId.LabelValue getValue(); - /** - * .flyteidl.core.LabelValue value = 2; - */ - flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.ArtifactTag} - */ - public static final class ArtifactTag extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactTag) - ArtifactTagOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArtifactTag.newBuilder() to construct. - private ArtifactTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArtifactTag() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArtifactTag( - 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.ArtifactId.ArtifactKey.Builder subBuilder = null; - if (artifactKey_ != null) { - subBuilder = artifactKey_.toBuilder(); - } - artifactKey_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifactKey_); - artifactKey_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.ArtifactId.LabelValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(flyteidl.core.ArtifactId.LabelValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = 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.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactTag.class, flyteidl.core.ArtifactId.ArtifactTag.Builder.class); - } - - public static final int ARTIFACT_KEY_FIELD_NUMBER = 1; - private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public boolean hasArtifactKey() { - return artifactKey_ != null; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { - return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { - return getArtifactKey(); - } - - public static final int VALUE_FIELD_NUMBER = 2; - private flyteidl.core.ArtifactId.LabelValue value_; - /** - * .flyteidl.core.LabelValue value = 2; - */ - public boolean hasValue() { - return value_ != null; - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public flyteidl.core.ArtifactId.LabelValue getValue() { - return value_ == null ? flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder() { - return getValue(); - } - - 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 (artifactKey_ != null) { - output.writeMessage(1, getArtifactKey()); - } - if (value_ != null) { - output.writeMessage(2, getValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (artifactKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getArtifactKey()); - } - if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); - } - 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.ArtifactId.ArtifactTag)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.ArtifactTag other = (flyteidl.core.ArtifactId.ArtifactTag) obj; - - if (hasArtifactKey() != other.hasArtifactKey()) return false; - if (hasArtifactKey()) { - if (!getArtifactKey() - .equals(other.getArtifactKey())) return false; - } - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) 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 (hasArtifactKey()) { - hash = (37 * hash) + ARTIFACT_KEY_FIELD_NUMBER; - hash = (53 * hash) + getArtifactKey().hashCode(); - } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactTag 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.ArtifactId.ArtifactTag parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactTag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactTag 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.ArtifactId.ArtifactTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactTag 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.ArtifactId.ArtifactTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactTag 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.ArtifactId.ArtifactTag 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.core.ArtifactTag} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactTag) - flyteidl.core.ArtifactId.ArtifactTagOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactTag.class, flyteidl.core.ArtifactId.ArtifactTag.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.ArtifactTag.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 (artifactKeyBuilder_ == null) { - artifactKey_ = null; - } else { - artifactKey_ = null; - artifactKeyBuilder_ = null; - } - if (valueBuilder_ == null) { - value_ = null; - } else { - value_ = null; - valueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactTag_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactTag getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactTag build() { - flyteidl.core.ArtifactId.ArtifactTag result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactTag buildPartial() { - flyteidl.core.ArtifactId.ArtifactTag result = new flyteidl.core.ArtifactId.ArtifactTag(this); - if (artifactKeyBuilder_ == null) { - result.artifactKey_ = artifactKey_; - } else { - result.artifactKey_ = artifactKeyBuilder_.build(); - } - if (valueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = valueBuilder_.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.ArtifactId.ArtifactTag) { - return mergeFrom((flyteidl.core.ArtifactId.ArtifactTag)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactTag other) { - if (other == flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance()) return this; - if (other.hasArtifactKey()) { - mergeArtifactKey(other.getArtifactKey()); - } - if (other.hasValue()) { - mergeValue(other.getValue()); - } - 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.ArtifactId.ArtifactTag parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.ArtifactTag) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> artifactKeyBuilder_; - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public boolean hasArtifactKey() { - return artifactKeyBuilder_ != null || artifactKey_ != null; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { - if (artifactKeyBuilder_ == null) { - return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; - } else { - return artifactKeyBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder setArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { - if (artifactKeyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - artifactKey_ = value; - onChanged(); - } else { - artifactKeyBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder setArtifactKey( - flyteidl.core.ArtifactId.ArtifactKey.Builder builderForValue) { - if (artifactKeyBuilder_ == null) { - artifactKey_ = builderForValue.build(); - onChanged(); - } else { - artifactKeyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder mergeArtifactKey(flyteidl.core.ArtifactId.ArtifactKey value) { - if (artifactKeyBuilder_ == null) { - if (artifactKey_ != null) { - artifactKey_ = - flyteidl.core.ArtifactId.ArtifactKey.newBuilder(artifactKey_).mergeFrom(value).buildPartial(); - } else { - artifactKey_ = value; - } - onChanged(); - } else { - artifactKeyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public Builder clearArtifactKey() { - if (artifactKeyBuilder_ == null) { - artifactKey_ = null; - onChanged(); - } else { - artifactKey_ = null; - artifactKeyBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeyBuilder() { - - onChanged(); - return getArtifactKeyFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { - if (artifactKeyBuilder_ != null) { - return artifactKeyBuilder_.getMessageOrBuilder(); - } else { - return artifactKey_ == null ? - flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; - } - } - /** - * .flyteidl.core.ArtifactKey artifact_key = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder> - getArtifactKeyFieldBuilder() { - if (artifactKeyBuilder_ == null) { - artifactKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactKey, flyteidl.core.ArtifactId.ArtifactKey.Builder, flyteidl.core.ArtifactId.ArtifactKeyOrBuilder>( - getArtifactKey(), - getParentForChildren(), - isClean()); - artifactKey_ = null; - } - return artifactKeyBuilder_; - } - - private flyteidl.core.ArtifactId.LabelValue value_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder> valueBuilder_; - /** - * .flyteidl.core.LabelValue value = 2; - */ - public boolean hasValue() { - return valueBuilder_ != null || value_ != null; - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public flyteidl.core.ArtifactId.LabelValue getValue() { - if (valueBuilder_ == null) { - return value_ == null ? flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; - } else { - return valueBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public Builder setValue(flyteidl.core.ArtifactId.LabelValue value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - valueBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public Builder setValue( - flyteidl.core.ArtifactId.LabelValue.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public Builder mergeValue(flyteidl.core.ArtifactId.LabelValue value) { - if (valueBuilder_ == null) { - if (value_ != null) { - value_ = - flyteidl.core.ArtifactId.LabelValue.newBuilder(value_).mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - valueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = null; - onChanged(); - } else { - value_ = null; - valueBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public flyteidl.core.ArtifactId.LabelValue.Builder getValueBuilder() { - - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - public flyteidl.core.ArtifactId.LabelValueOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null ? - flyteidl.core.ArtifactId.LabelValue.getDefaultInstance() : value_; - } - } - /** - * .flyteidl.core.LabelValue value = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.LabelValue, flyteidl.core.ArtifactId.LabelValue.Builder, flyteidl.core.ArtifactId.LabelValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); - value_ = null; - } - return valueBuilder_; - } - @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.ArtifactTag) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactTag) - private static final flyteidl.core.ArtifactId.ArtifactTag DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactTag(); - } - - public static flyteidl.core.ArtifactId.ArtifactTag getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArtifactTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArtifactTag(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.ArtifactId.ArtifactTag getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArtifactQueryOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ArtifactQuery) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - boolean hasArtifactId(); - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - flyteidl.core.ArtifactId.ArtifactID getArtifactId(); - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder(); - - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - boolean hasArtifactTag(); - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - flyteidl.core.ArtifactId.ArtifactTag getArtifactTag(); - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder(); - - /** - * string uri = 3; - */ - java.lang.String getUri(); - /** - * string uri = 3; - */ - com.google.protobuf.ByteString - getUriBytes(); - - /** - *
-     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-     * artifacts, or a partition value derived from a triggering artifact.
-     * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - boolean hasBinding(); - /** - *
-     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-     * artifacts, or a partition value derived from a triggering artifact.
-     * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - flyteidl.core.ArtifactId.ArtifactBindingData getBinding(); - /** - *
-     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-     * artifacts, or a partition value derived from a triggering artifact.
-     * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getBindingOrBuilder(); - - public flyteidl.core.ArtifactId.ArtifactQuery.IdentifierCase getIdentifierCase(); - } - /** - *
-   * Uniqueness constraints for Artifacts
-   *  - project, domain, name, version, partitions
-   * Option 2 (tags are standalone, point to an individual artifact id):
-   *  - project, domain, name, alias (points to one partition if partitioned)
-   *  - project, domain, name, partition key, partition value
-   * 
- * - * Protobuf type {@code flyteidl.core.ArtifactQuery} - */ - public static final class ArtifactQuery extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ArtifactQuery) - ArtifactQueryOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArtifactQuery.newBuilder() to construct. - private ArtifactQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArtifactQuery() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArtifactQuery( - 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.ArtifactId.ArtifactID.Builder subBuilder = null; - if (identifierCase_ == 1) { - subBuilder = ((flyteidl.core.ArtifactId.ArtifactID) identifier_).toBuilder(); - } - identifier_ = - input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactID) identifier_); - identifier_ = subBuilder.buildPartial(); - } - identifierCase_ = 1; - break; - } - case 18: { - flyteidl.core.ArtifactId.ArtifactTag.Builder subBuilder = null; - if (identifierCase_ == 2) { - subBuilder = ((flyteidl.core.ArtifactId.ArtifactTag) identifier_).toBuilder(); - } - identifier_ = - input.readMessage(flyteidl.core.ArtifactId.ArtifactTag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactTag) identifier_); - identifier_ = subBuilder.buildPartial(); - } - identifierCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - identifierCase_ = 3; - identifier_ = s; - break; - } - case 34: { - flyteidl.core.ArtifactId.ArtifactBindingData.Builder subBuilder = null; - if (identifierCase_ == 4) { - subBuilder = ((flyteidl.core.ArtifactId.ArtifactBindingData) identifier_).toBuilder(); - } - identifier_ = - input.readMessage(flyteidl.core.ArtifactId.ArtifactBindingData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactBindingData) identifier_); - identifier_ = subBuilder.buildPartial(); - } - identifierCase_ = 4; - 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.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactQuery.class, flyteidl.core.ArtifactId.ArtifactQuery.Builder.class); - } - - private int identifierCase_ = 0; - private java.lang.Object identifier_; - public enum IdentifierCase - implements com.google.protobuf.Internal.EnumLite { - ARTIFACT_ID(1), - ARTIFACT_TAG(2), - URI(3), - BINDING(4), - IDENTIFIER_NOT_SET(0); - private final int value; - private IdentifierCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static IdentifierCase valueOf(int value) { - return forNumber(value); - } - - public static IdentifierCase forNumber(int value) { - switch (value) { - case 1: return ARTIFACT_ID; - case 2: return ARTIFACT_TAG; - case 3: return URI; - case 4: return BINDING; - case 0: return IDENTIFIER_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public IdentifierCase - getIdentifierCase() { - return IdentifierCase.forNumber( - identifierCase_); - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 1; - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public boolean hasArtifactId() { - return identifierCase_ == 1; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { - if (identifierCase_ == 1) { - return (flyteidl.core.ArtifactId.ArtifactID) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { - if (identifierCase_ == 1) { - return (flyteidl.core.ArtifactId.ArtifactID) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - - public static final int ARTIFACT_TAG_FIELD_NUMBER = 2; - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public boolean hasArtifactTag() { - return identifierCase_ == 2; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { - if (identifierCase_ == 2) { - return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { - if (identifierCase_ == 2) { - return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); - } - - public static final int URI_FIELD_NUMBER = 3; - /** - * string uri = 3; - */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (identifierCase_ == 3) { - ref = identifier_; - } - 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 (identifierCase_ == 3) { - identifier_ = s; - } - return s; - } - } - /** - * string uri = 3; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = ""; - if (identifierCase_ == 3) { - ref = identifier_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (identifierCase_ == 3) { - identifier_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BINDING_FIELD_NUMBER = 4; - /** - *
-     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-     * artifacts, or a partition value derived from a triggering artifact.
-     * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public boolean hasBinding() { - return identifierCase_ == 4; - } - /** - *
-     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-     * artifacts, or a partition value derived from a triggering artifact.
-     * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public flyteidl.core.ArtifactId.ArtifactBindingData getBinding() { - if (identifierCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - /** - *
-     * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-     * artifacts, or a partition value derived from a triggering artifact.
-     * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getBindingOrBuilder() { - if (identifierCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.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 (identifierCase_ == 1) { - output.writeMessage(1, (flyteidl.core.ArtifactId.ArtifactID) identifier_); - } - if (identifierCase_ == 2) { - output.writeMessage(2, (flyteidl.core.ArtifactId.ArtifactTag) identifier_); - } - if (identifierCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, identifier_); - } - if (identifierCase_ == 4) { - output.writeMessage(4, (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (identifierCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.ArtifactId.ArtifactID) identifier_); - } - if (identifierCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.ArtifactId.ArtifactTag) identifier_); - } - if (identifierCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, identifier_); - } - if (identifierCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_); - } - 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.ArtifactId.ArtifactQuery)) { - return super.equals(obj); - } - flyteidl.core.ArtifactId.ArtifactQuery other = (flyteidl.core.ArtifactId.ArtifactQuery) obj; - - if (!getIdentifierCase().equals(other.getIdentifierCase())) return false; - switch (identifierCase_) { - case 1: - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - break; - case 2: - if (!getArtifactTag() - .equals(other.getArtifactTag())) return false; - break; - case 3: - if (!getUri() - .equals(other.getUri())) return false; - break; - case 4: - if (!getBinding() - .equals(other.getBinding())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (identifierCase_) { - case 1: - hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; - hash = (53 * hash) + getArtifactId().hashCode(); - break; - case 2: - hash = (37 * hash) + ARTIFACT_TAG_FIELD_NUMBER; - hash = (53 * hash) + getArtifactTag().hashCode(); - break; - case 3: - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - break; - case 4: - hash = (37 * hash) + BINDING_FIELD_NUMBER; - hash = (53 * hash) + getBinding().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactQuery 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.ArtifactId.ArtifactQuery parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.ArtifactId.ArtifactQuery parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactQuery 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.ArtifactId.ArtifactQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactQuery 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.ArtifactId.ArtifactQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.ArtifactId.ArtifactQuery 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.ArtifactId.ArtifactQuery 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; - } - /** - *
-     * Uniqueness constraints for Artifacts
-     *  - project, domain, name, version, partitions
-     * Option 2 (tags are standalone, point to an individual artifact id):
-     *  - project, domain, name, alias (points to one partition if partitioned)
-     *  - project, domain, name, partition key, partition value
-     * 
- * - * Protobuf type {@code flyteidl.core.ArtifactQuery} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ArtifactQuery) - flyteidl.core.ArtifactId.ArtifactQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.ArtifactId.ArtifactQuery.class, flyteidl.core.ArtifactId.ArtifactQuery.Builder.class); - } - - // Construct using flyteidl.core.ArtifactId.ArtifactQuery.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(); - identifierCase_ = 0; - identifier_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.ArtifactId.internal_static_flyteidl_core_ArtifactQuery_descriptor; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactQuery getDefaultInstanceForType() { - return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactQuery build() { - flyteidl.core.ArtifactId.ArtifactQuery result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.ArtifactId.ArtifactQuery buildPartial() { - flyteidl.core.ArtifactId.ArtifactQuery result = new flyteidl.core.ArtifactId.ArtifactQuery(this); - if (identifierCase_ == 1) { - if (artifactIdBuilder_ == null) { - result.identifier_ = identifier_; - } else { - result.identifier_ = artifactIdBuilder_.build(); - } - } - if (identifierCase_ == 2) { - if (artifactTagBuilder_ == null) { - result.identifier_ = identifier_; - } else { - result.identifier_ = artifactTagBuilder_.build(); - } - } - if (identifierCase_ == 3) { - result.identifier_ = identifier_; - } - if (identifierCase_ == 4) { - if (bindingBuilder_ == null) { - result.identifier_ = identifier_; - } else { - result.identifier_ = bindingBuilder_.build(); - } - } - result.identifierCase_ = identifierCase_; - 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.ArtifactId.ArtifactQuery) { - return mergeFrom((flyteidl.core.ArtifactId.ArtifactQuery)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.ArtifactId.ArtifactQuery other) { - if (other == flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance()) return this; - switch (other.getIdentifierCase()) { - case ARTIFACT_ID: { - mergeArtifactId(other.getArtifactId()); - break; - } - case ARTIFACT_TAG: { - mergeArtifactTag(other.getArtifactTag()); - break; - } - case URI: { - identifierCase_ = 3; - identifier_ = other.identifier_; - onChanged(); - break; - } - case BINDING: { - mergeBinding(other.getBinding()); - break; - } - case IDENTIFIER_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.ArtifactId.ArtifactQuery parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.ArtifactId.ArtifactQuery) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int identifierCase_ = 0; - private java.lang.Object identifier_; - public IdentifierCase - getIdentifierCase() { - return IdentifierCase.forNumber( - identifierCase_); - } - - public Builder clearIdentifier() { - identifierCase_ = 0; - identifier_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdBuilder_; - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public boolean hasArtifactId() { - return identifierCase_ == 1; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { - if (artifactIdBuilder_ == null) { - if (identifierCase_ == 1) { - return (flyteidl.core.ArtifactId.ArtifactID) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } else { - if (identifierCase_ == 1) { - return artifactIdBuilder_.getMessage(); - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - identifier_ = value; - onChanged(); - } else { - artifactIdBuilder_.setMessage(value); - } - identifierCase_ = 1; - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public Builder setArtifactId( - flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdBuilder_ == null) { - identifier_ = builderForValue.build(); - onChanged(); - } else { - artifactIdBuilder_.setMessage(builderForValue.build()); - } - identifierCase_ = 1; - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdBuilder_ == null) { - if (identifierCase_ == 1 && - identifier_ != flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()) { - identifier_ = flyteidl.core.ArtifactId.ArtifactID.newBuilder((flyteidl.core.ArtifactId.ArtifactID) identifier_) - .mergeFrom(value).buildPartial(); - } else { - identifier_ = value; - } - onChanged(); - } else { - if (identifierCase_ == 1) { - artifactIdBuilder_.mergeFrom(value); - } - artifactIdBuilder_.setMessage(value); - } - identifierCase_ = 1; - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public Builder clearArtifactId() { - if (artifactIdBuilder_ == null) { - if (identifierCase_ == 1) { - identifierCase_ = 0; - identifier_ = null; - onChanged(); - } - } else { - if (identifierCase_ == 1) { - identifierCase_ = 0; - identifier_ = null; - } - artifactIdBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { - return getArtifactIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { - if ((identifierCase_ == 1) && (artifactIdBuilder_ != null)) { - return artifactIdBuilder_.getMessageOrBuilder(); - } else { - if (identifierCase_ == 1) { - return (flyteidl.core.ArtifactId.ArtifactID) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactID artifact_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> - getArtifactIdFieldBuilder() { - if (artifactIdBuilder_ == null) { - if (!(identifierCase_ == 1)) { - identifier_ = flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( - (flyteidl.core.ArtifactId.ArtifactID) identifier_, - getParentForChildren(), - isClean()); - identifier_ = null; - } - identifierCase_ = 1; - onChanged();; - return artifactIdBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> artifactTagBuilder_; - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public boolean hasArtifactTag() { - return identifierCase_ == 2; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { - if (artifactTagBuilder_ == null) { - if (identifierCase_ == 2) { - return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); - } else { - if (identifierCase_ == 2) { - return artifactTagBuilder_.getMessage(); - } - return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public Builder setArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { - if (artifactTagBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - identifier_ = value; - onChanged(); - } else { - artifactTagBuilder_.setMessage(value); - } - identifierCase_ = 2; - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public Builder setArtifactTag( - flyteidl.core.ArtifactId.ArtifactTag.Builder builderForValue) { - if (artifactTagBuilder_ == null) { - identifier_ = builderForValue.build(); - onChanged(); - } else { - artifactTagBuilder_.setMessage(builderForValue.build()); - } - identifierCase_ = 2; - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public Builder mergeArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { - if (artifactTagBuilder_ == null) { - if (identifierCase_ == 2 && - identifier_ != flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance()) { - identifier_ = flyteidl.core.ArtifactId.ArtifactTag.newBuilder((flyteidl.core.ArtifactId.ArtifactTag) identifier_) - .mergeFrom(value).buildPartial(); - } else { - identifier_ = value; - } - onChanged(); - } else { - if (identifierCase_ == 2) { - artifactTagBuilder_.mergeFrom(value); - } - artifactTagBuilder_.setMessage(value); - } - identifierCase_ = 2; - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public Builder clearArtifactTag() { - if (artifactTagBuilder_ == null) { - if (identifierCase_ == 2) { - identifierCase_ = 0; - identifier_ = null; - onChanged(); - } - } else { - if (identifierCase_ == 2) { - identifierCase_ = 0; - identifier_ = null; - } - artifactTagBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public flyteidl.core.ArtifactId.ArtifactTag.Builder getArtifactTagBuilder() { - return getArtifactTagFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { - if ((identifierCase_ == 2) && (artifactTagBuilder_ != null)) { - return artifactTagBuilder_.getMessageOrBuilder(); - } else { - if (identifierCase_ == 2) { - return (flyteidl.core.ArtifactId.ArtifactTag) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> - getArtifactTagFieldBuilder() { - if (artifactTagBuilder_ == null) { - if (!(identifierCase_ == 2)) { - identifier_ = flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance(); - } - artifactTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder>( - (flyteidl.core.ArtifactId.ArtifactTag) identifier_, - getParentForChildren(), - isClean()); - identifier_ = null; - } - identifierCase_ = 2; - onChanged();; - return artifactTagBuilder_; - } - - /** - * string uri = 3; - */ - public java.lang.String getUri() { - java.lang.Object ref = ""; - if (identifierCase_ == 3) { - ref = identifier_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (identifierCase_ == 3) { - identifier_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string uri = 3; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = ""; - if (identifierCase_ == 3) { - ref = identifier_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (identifierCase_ == 3) { - identifier_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string uri = 3; - */ - public Builder setUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - identifierCase_ = 3; - identifier_ = value; - onChanged(); - return this; - } - /** - * string uri = 3; - */ - public Builder clearUri() { - if (identifierCase_ == 3) { - identifierCase_ = 0; - identifier_ = null; - onChanged(); - } - return this; - } - /** - * string uri = 3; - */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - identifierCase_ = 3; - identifier_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> bindingBuilder_; - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public boolean hasBinding() { - return identifierCase_ == 4; - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public flyteidl.core.ArtifactId.ArtifactBindingData getBinding() { - if (bindingBuilder_ == null) { - if (identifierCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } else { - if (identifierCase_ == 4) { - return bindingBuilder_.getMessage(); - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public Builder setBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { - if (bindingBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - identifier_ = value; - onChanged(); - } else { - bindingBuilder_.setMessage(value); - } - identifierCase_ = 4; - return this; - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public Builder setBinding( - flyteidl.core.ArtifactId.ArtifactBindingData.Builder builderForValue) { - if (bindingBuilder_ == null) { - identifier_ = builderForValue.build(); - onChanged(); - } else { - bindingBuilder_.setMessage(builderForValue.build()); - } - identifierCase_ = 4; - return this; - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public Builder mergeBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { - if (bindingBuilder_ == null) { - if (identifierCase_ == 4 && - identifier_ != flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance()) { - identifier_ = flyteidl.core.ArtifactId.ArtifactBindingData.newBuilder((flyteidl.core.ArtifactId.ArtifactBindingData) identifier_) - .mergeFrom(value).buildPartial(); - } else { - identifier_ = value; - } - onChanged(); - } else { - if (identifierCase_ == 4) { - bindingBuilder_.mergeFrom(value); - } - bindingBuilder_.setMessage(value); - } - identifierCase_ = 4; - return this; - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public Builder clearBinding() { - if (bindingBuilder_ == null) { - if (identifierCase_ == 4) { - identifierCase_ = 0; - identifier_ = null; - onChanged(); - } - } else { - if (identifierCase_ == 4) { - identifierCase_ = 0; - identifier_ = null; - } - bindingBuilder_.clear(); - } - return this; - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public flyteidl.core.ArtifactId.ArtifactBindingData.Builder getBindingBuilder() { - return getBindingFieldBuilder().getBuilder(); - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getBindingOrBuilder() { - if ((identifierCase_ == 4) && (bindingBuilder_ != null)) { - return bindingBuilder_.getMessageOrBuilder(); - } else { - if (identifierCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_; - } - return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - } - /** - *
-       * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
-       * artifacts, or a partition value derived from a triggering artifact.
-       * 
- * - * .flyteidl.core.ArtifactBindingData binding = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> - getBindingFieldBuilder() { - if (bindingBuilder_ == null) { - if (!(identifierCase_ == 4)) { - identifier_ = flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); - } - bindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder>( - (flyteidl.core.ArtifactId.ArtifactBindingData) identifier_, - getParentForChildren(), - isClean()); - identifier_ = null; - } - identifierCase_ = 4; - onChanged();; - return bindingBuilder_; - } - @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.ArtifactQuery) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactQuery) - private static final flyteidl.core.ArtifactId.ArtifactQuery DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.ArtifactQuery(); - } - - public static flyteidl.core.ArtifactId.ArtifactQuery getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArtifactQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArtifactQuery(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.ArtifactId.ArtifactQuery getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ArtifactKey_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ArtifactKey_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ArtifactBindingData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ArtifactBindingData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_InputBindingData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_InputBindingData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_LabelValue_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_LabelValue_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Partitions_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Partitions_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Partitions_ValueEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Partitions_ValueEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TimePartition_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TimePartition_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ArtifactID_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ArtifactID_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ArtifactTag_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ArtifactTag_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ArtifactQuery_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ArtifactQuery_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\037flyteidl/core/artifact_id.proto\022\rflyte" + - "idl.core\032\037google/protobuf/timestamp.prot" + - "o\032\036flyteidl/core/identifier.proto\"<\n\013Art" + - "ifactKey\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(" + - "\t\022\014\n\004name\030\003 \001(\t\"\204\001\n\023ArtifactBindingData\022" + - "\r\n\005index\030\001 \001(\r\022\027\n\rpartition_key\030\002 \001(\tH\000\022" + - " \n\026bind_to_time_partition\030\003 \001(\010H\000\022\021\n\ttra" + - "nsform\030\004 \001(\tB\020\n\016partition_data\"\037\n\020InputB" + - "indingData\022\013\n\003var\030\001 \001(\t\"\332\001\n\nLabelValue\022\026" + - "\n\014static_value\030\001 \001(\tH\000\0220\n\ntime_value\030\002 \001" + - "(\0132\032.google.protobuf.TimestampH\000\022?\n\021trig" + - "gered_binding\030\003 \001(\0132\".flyteidl.core.Arti" + - "factBindingDataH\000\0228\n\rinput_binding\030\004 \001(\013" + - "2\037.flyteidl.core.InputBindingDataH\000B\007\n\005v" + - "alue\"\212\001\n\nPartitions\0223\n\005value\030\001 \003(\0132$.fly" + - "teidl.core.Partitions.ValueEntry\032G\n\nValu" + - "eEntry\022\013\n\003key\030\001 \001(\t\022(\n\005value\030\002 \001(\0132\031.fly" + - "teidl.core.LabelValue:\0028\001\"9\n\rTimePartiti" + - "on\022(\n\005value\030\001 \001(\0132\031.flyteidl.core.LabelV" + - "alue\"\264\001\n\nArtifactID\0220\n\014artifact_key\030\001 \001(" + - "\0132\032.flyteidl.core.ArtifactKey\022\017\n\007version" + - "\030\002 \001(\t\022-\n\npartitions\030\003 \001(\0132\031.flyteidl.co" + - "re.Partitions\0224\n\016time_partition\030\004 \001(\0132\034." + - "flyteidl.core.TimePartition\"i\n\013ArtifactT" + - "ag\0220\n\014artifact_key\030\001 \001(\0132\032.flyteidl.core" + - ".ArtifactKey\022(\n\005value\030\002 \001(\0132\031.flyteidl.c" + - "ore.LabelValue\"\311\001\n\rArtifactQuery\0220\n\013arti" + - "fact_id\030\001 \001(\0132\031.flyteidl.core.ArtifactID" + - "H\000\0222\n\014artifact_tag\030\002 \001(\0132\032.flyteidl.core" + - ".ArtifactTagH\000\022\r\n\003uri\030\003 \001(\tH\000\0225\n\007binding" + - "\030\004 \001(\0132\".flyteidl.core.ArtifactBindingDa" + - "taH\000B\014\n\nidentifierB - * Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future - * - * - * Protobuf enum {@code flyteidl.core.CatalogCacheStatus} - */ - public enum CatalogCacheStatus - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-     * Used to indicate that caching was disabled
-     * 
- * - * CACHE_DISABLED = 0; - */ - CACHE_DISABLED(0), - /** - *
-     * Used to indicate that the cache lookup resulted in no matches
-     * 
- * - * CACHE_MISS = 1; - */ - CACHE_MISS(1), - /** - *
-     * used to indicate that the associated artifact was a result of a previous execution
-     * 
- * - * CACHE_HIT = 2; - */ - CACHE_HIT(2), - /** - *
-     * used to indicate that the resultant artifact was added to the cache
-     * 
- * - * CACHE_POPULATED = 3; - */ - CACHE_POPULATED(3), - /** - *
-     * Used to indicate that cache lookup failed because of an error
-     * 
- * - * CACHE_LOOKUP_FAILURE = 4; - */ - CACHE_LOOKUP_FAILURE(4), - /** - *
-     * Used to indicate that cache lookup failed because of an error
-     * 
- * - * CACHE_PUT_FAILURE = 5; - */ - CACHE_PUT_FAILURE(5), - /** - *
-     * Used to indicate the cache lookup was skipped
-     * 
- * - * CACHE_SKIPPED = 6; - */ - CACHE_SKIPPED(6), - /** - *
-     * Used to indicate that the cache was evicted
-     * 
- * - * CACHE_EVICTED = 7; - */ - CACHE_EVICTED(7), - UNRECOGNIZED(-1), - ; - - /** - *
-     * Used to indicate that caching was disabled
-     * 
- * - * CACHE_DISABLED = 0; - */ - public static final int CACHE_DISABLED_VALUE = 0; - /** - *
-     * Used to indicate that the cache lookup resulted in no matches
-     * 
- * - * CACHE_MISS = 1; - */ - public static final int CACHE_MISS_VALUE = 1; - /** - *
-     * used to indicate that the associated artifact was a result of a previous execution
-     * 
- * - * CACHE_HIT = 2; - */ - public static final int CACHE_HIT_VALUE = 2; - /** - *
-     * used to indicate that the resultant artifact was added to the cache
-     * 
- * - * CACHE_POPULATED = 3; - */ - public static final int CACHE_POPULATED_VALUE = 3; - /** - *
-     * Used to indicate that cache lookup failed because of an error
-     * 
- * - * CACHE_LOOKUP_FAILURE = 4; - */ - public static final int CACHE_LOOKUP_FAILURE_VALUE = 4; - /** - *
-     * Used to indicate that cache lookup failed because of an error
-     * 
- * - * CACHE_PUT_FAILURE = 5; - */ - public static final int CACHE_PUT_FAILURE_VALUE = 5; - /** - *
-     * Used to indicate the cache lookup was skipped
-     * 
- * - * CACHE_SKIPPED = 6; - */ - public static final int CACHE_SKIPPED_VALUE = 6; - /** - *
-     * Used to indicate that the cache was evicted
-     * 
- * - * CACHE_EVICTED = 7; - */ - public static final int CACHE_EVICTED_VALUE = 7; - - - 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 CatalogCacheStatus valueOf(int value) { - return forNumber(value); - } - - public static CatalogCacheStatus forNumber(int value) { - switch (value) { - case 0: return CACHE_DISABLED; - case 1: return CACHE_MISS; - case 2: return CACHE_HIT; - case 3: return CACHE_POPULATED; - case 4: return CACHE_LOOKUP_FAILURE; - case 5: return CACHE_PUT_FAILURE; - case 6: return CACHE_SKIPPED; - case 7: return CACHE_EVICTED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - CatalogCacheStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CatalogCacheStatus findValueByNumber(int number) { - return CatalogCacheStatus.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.Catalog.getDescriptor().getEnumTypes().get(0); - } - - private static final CatalogCacheStatus[] VALUES = values(); - - public static CatalogCacheStatus 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 CatalogCacheStatus(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.CatalogCacheStatus) - } - - public interface CatalogArtifactTagOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.CatalogArtifactTag) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Artifact ID is generated name
-     * 
- * - * string artifact_id = 1; - */ - java.lang.String getArtifactId(); - /** - *
-     * Artifact ID is generated name
-     * 
- * - * string artifact_id = 1; - */ - com.google.protobuf.ByteString - getArtifactIdBytes(); - - /** - *
-     * Flyte computes the tag automatically, as the hash of the values
-     * 
- * - * string name = 2; - */ - java.lang.String getName(); - /** - *
-     * Flyte computes the tag automatically, as the hash of the values
-     * 
- * - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - } - /** - * Protobuf type {@code flyteidl.core.CatalogArtifactTag} - */ - public static final class CatalogArtifactTag extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.CatalogArtifactTag) - CatalogArtifactTagOrBuilder { - private static final long serialVersionUID = 0L; - // Use CatalogArtifactTag.newBuilder() to construct. - private CatalogArtifactTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CatalogArtifactTag() { - artifactId_ = ""; - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CatalogArtifactTag( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - artifactId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogArtifactTag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogArtifactTag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Catalog.CatalogArtifactTag.class, flyteidl.core.Catalog.CatalogArtifactTag.Builder.class); - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object artifactId_; - /** - *
-     * Artifact ID is generated name
-     * 
- * - * string artifact_id = 1; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = artifactId_; - 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(); - artifactId_ = s; - return s; - } - } - /** - *
-     * Artifact ID is generated name
-     * 
- * - * string artifact_id = 1; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = artifactId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - artifactId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - *
-     * Flyte computes the tag automatically, as the hash of the values
-     * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * Flyte computes the tag automatically, as the hash of the values
-     * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = 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 (!getArtifactIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, artifactId_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getArtifactIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, artifactId_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - 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.Catalog.CatalogArtifactTag)) { - return super.equals(obj); - } - flyteidl.core.Catalog.CatalogArtifactTag other = (flyteidl.core.Catalog.CatalogArtifactTag) obj; - - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; - hash = (53 * hash) + getArtifactId().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Catalog.CatalogArtifactTag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogArtifactTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Catalog.CatalogArtifactTag parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogArtifactTag 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.Catalog.CatalogArtifactTag parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogArtifactTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Catalog.CatalogArtifactTag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogArtifactTag 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.Catalog.CatalogArtifactTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogArtifactTag 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.Catalog.CatalogArtifactTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogArtifactTag 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.Catalog.CatalogArtifactTag 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.core.CatalogArtifactTag} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.CatalogArtifactTag) - flyteidl.core.Catalog.CatalogArtifactTagOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogArtifactTag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogArtifactTag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Catalog.CatalogArtifactTag.class, flyteidl.core.Catalog.CatalogArtifactTag.Builder.class); - } - - // Construct using flyteidl.core.Catalog.CatalogArtifactTag.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(); - artifactId_ = ""; - - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogArtifactTag_descriptor; - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogArtifactTag getDefaultInstanceForType() { - return flyteidl.core.Catalog.CatalogArtifactTag.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogArtifactTag build() { - flyteidl.core.Catalog.CatalogArtifactTag result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogArtifactTag buildPartial() { - flyteidl.core.Catalog.CatalogArtifactTag result = new flyteidl.core.Catalog.CatalogArtifactTag(this); - result.artifactId_ = artifactId_; - result.name_ = name_; - 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.Catalog.CatalogArtifactTag) { - return mergeFrom((flyteidl.core.Catalog.CatalogArtifactTag)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Catalog.CatalogArtifactTag other) { - if (other == flyteidl.core.Catalog.CatalogArtifactTag.getDefaultInstance()) return this; - if (!other.getArtifactId().isEmpty()) { - artifactId_ = other.artifactId_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Catalog.CatalogArtifactTag parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Catalog.CatalogArtifactTag) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object artifactId_ = ""; - /** - *
-       * Artifact ID is generated name
-       * 
- * - * string artifact_id = 1; - */ - public java.lang.String getArtifactId() { - java.lang.Object ref = artifactId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - artifactId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Artifact ID is generated name
-       * 
- * - * string artifact_id = 1; - */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { - java.lang.Object ref = artifactId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - artifactId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Artifact ID is generated name
-       * 
- * - * string artifact_id = 1; - */ - public Builder setArtifactId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - artifactId_ = value; - onChanged(); - return this; - } - /** - *
-       * Artifact ID is generated name
-       * 
- * - * string artifact_id = 1; - */ - public Builder clearArtifactId() { - - artifactId_ = getDefaultInstance().getArtifactId(); - onChanged(); - return this; - } - /** - *
-       * Artifact ID is generated name
-       * 
- * - * string artifact_id = 1; - */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - artifactId_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * Flyte computes the tag automatically, as the hash of the values
-       * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Flyte computes the tag automatically, as the hash of the values
-       * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Flyte computes the tag automatically, as the hash of the values
-       * 
- * - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * Flyte computes the tag automatically, as the hash of the values
-       * 
- * - * string name = 2; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * Flyte computes the tag automatically, as the hash of the values
-       * 
- * - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.CatalogArtifactTag) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.CatalogArtifactTag) - private static final flyteidl.core.Catalog.CatalogArtifactTag DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Catalog.CatalogArtifactTag(); - } - - public static flyteidl.core.Catalog.CatalogArtifactTag getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CatalogArtifactTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CatalogArtifactTag(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.Catalog.CatalogArtifactTag getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CatalogMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.CatalogMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Dataset ID in the catalog
-     * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - boolean hasDatasetId(); - /** - *
-     * Dataset ID in the catalog
-     * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getDatasetId(); - /** - *
-     * Dataset ID in the catalog
-     * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getDatasetIdOrBuilder(); - - /** - *
-     * Artifact tag in the catalog
-     * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - boolean hasArtifactTag(); - /** - *
-     * Artifact tag in the catalog
-     * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - flyteidl.core.Catalog.CatalogArtifactTag getArtifactTag(); - /** - *
-     * Artifact tag in the catalog
-     * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - flyteidl.core.Catalog.CatalogArtifactTagOrBuilder getArtifactTagOrBuilder(); - - /** - *
-     * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - boolean hasSourceTaskExecution(); - /** - *
-     * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getSourceTaskExecution(); - /** - *
-     * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getSourceTaskExecutionOrBuilder(); - - public flyteidl.core.Catalog.CatalogMetadata.SourceExecutionCase getSourceExecutionCase(); - } - /** - *
-   * Catalog artifact information with specific metadata
-   * 
- * - * Protobuf type {@code flyteidl.core.CatalogMetadata} - */ - public static final class CatalogMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.CatalogMetadata) - CatalogMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use CatalogMetadata.newBuilder() to construct. - private CatalogMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CatalogMetadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CatalogMetadata( - 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.Identifier.Builder subBuilder = null; - if (datasetId_ != null) { - subBuilder = datasetId_.toBuilder(); - } - datasetId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(datasetId_); - datasetId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Catalog.CatalogArtifactTag.Builder subBuilder = null; - if (artifactTag_ != null) { - subBuilder = artifactTag_.toBuilder(); - } - artifactTag_ = input.readMessage(flyteidl.core.Catalog.CatalogArtifactTag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifactTag_); - artifactTag_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; - if (sourceExecutionCase_ == 3) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_).toBuilder(); - } - sourceExecution_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_); - sourceExecution_ = subBuilder.buildPartial(); - } - sourceExecutionCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Catalog.CatalogMetadata.class, flyteidl.core.Catalog.CatalogMetadata.Builder.class); - } - - private int sourceExecutionCase_ = 0; - private java.lang.Object sourceExecution_; - public enum SourceExecutionCase - implements com.google.protobuf.Internal.EnumLite { - SOURCE_TASK_EXECUTION(3), - SOURCEEXECUTION_NOT_SET(0); - private final int value; - private SourceExecutionCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static SourceExecutionCase valueOf(int value) { - return forNumber(value); - } - - public static SourceExecutionCase forNumber(int value) { - switch (value) { - case 3: return SOURCE_TASK_EXECUTION; - case 0: return SOURCEEXECUTION_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public SourceExecutionCase - getSourceExecutionCase() { - return SourceExecutionCase.forNumber( - sourceExecutionCase_); - } - - public static final int DATASET_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier datasetId_; - /** - *
-     * Dataset ID in the catalog
-     * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public boolean hasDatasetId() { - return datasetId_ != null; - } - /** - *
-     * Dataset ID in the catalog
-     * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getDatasetId() { - return datasetId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : datasetId_; - } - /** - *
-     * Dataset ID in the catalog
-     * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getDatasetIdOrBuilder() { - return getDatasetId(); - } - - public static final int ARTIFACT_TAG_FIELD_NUMBER = 2; - private flyteidl.core.Catalog.CatalogArtifactTag artifactTag_; - /** - *
-     * Artifact tag in the catalog
-     * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public boolean hasArtifactTag() { - return artifactTag_ != null; - } - /** - *
-     * Artifact tag in the catalog
-     * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public flyteidl.core.Catalog.CatalogArtifactTag getArtifactTag() { - return artifactTag_ == null ? flyteidl.core.Catalog.CatalogArtifactTag.getDefaultInstance() : artifactTag_; - } - /** - *
-     * Artifact tag in the catalog
-     * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public flyteidl.core.Catalog.CatalogArtifactTagOrBuilder getArtifactTagOrBuilder() { - return getArtifactTag(); - } - - public static final int SOURCE_TASK_EXECUTION_FIELD_NUMBER = 3; - /** - *
-     * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public boolean hasSourceTaskExecution() { - return sourceExecutionCase_ == 3; - } - /** - *
-     * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getSourceTaskExecution() { - if (sourceExecutionCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - /** - *
-     * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getSourceTaskExecutionOrBuilder() { - if (sourceExecutionCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.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 (datasetId_ != null) { - output.writeMessage(1, getDatasetId()); - } - if (artifactTag_ != null) { - output.writeMessage(2, getArtifactTag()); - } - if (sourceExecutionCase_ == 3) { - output.writeMessage(3, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_); - } - 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 (artifactTag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getArtifactTag()); - } - if (sourceExecutionCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_); - } - 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.Catalog.CatalogMetadata)) { - return super.equals(obj); - } - flyteidl.core.Catalog.CatalogMetadata other = (flyteidl.core.Catalog.CatalogMetadata) obj; - - if (hasDatasetId() != other.hasDatasetId()) return false; - if (hasDatasetId()) { - if (!getDatasetId() - .equals(other.getDatasetId())) return false; - } - if (hasArtifactTag() != other.hasArtifactTag()) return false; - if (hasArtifactTag()) { - if (!getArtifactTag() - .equals(other.getArtifactTag())) return false; - } - if (!getSourceExecutionCase().equals(other.getSourceExecutionCase())) return false; - switch (sourceExecutionCase_) { - case 3: - if (!getSourceTaskExecution() - .equals(other.getSourceTaskExecution())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasDatasetId()) { - hash = (37 * hash) + DATASET_ID_FIELD_NUMBER; - hash = (53 * hash) + getDatasetId().hashCode(); - } - if (hasArtifactTag()) { - hash = (37 * hash) + ARTIFACT_TAG_FIELD_NUMBER; - hash = (53 * hash) + getArtifactTag().hashCode(); - } - switch (sourceExecutionCase_) { - case 3: - hash = (37 * hash) + SOURCE_TASK_EXECUTION_FIELD_NUMBER; - hash = (53 * hash) + getSourceTaskExecution().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Catalog.CatalogMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Catalog.CatalogMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogMetadata 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.Catalog.CatalogMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Catalog.CatalogMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogMetadata 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.Catalog.CatalogMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogMetadata 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.Catalog.CatalogMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogMetadata 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.Catalog.CatalogMetadata 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; - } - /** - *
-     * Catalog artifact information with specific metadata
-     * 
- * - * Protobuf type {@code flyteidl.core.CatalogMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.CatalogMetadata) - flyteidl.core.Catalog.CatalogMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Catalog.CatalogMetadata.class, flyteidl.core.Catalog.CatalogMetadata.Builder.class); - } - - // Construct using flyteidl.core.Catalog.CatalogMetadata.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; - } - if (artifactTagBuilder_ == null) { - artifactTag_ = null; - } else { - artifactTag_ = null; - artifactTagBuilder_ = null; - } - sourceExecutionCase_ = 0; - sourceExecution_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogMetadata getDefaultInstanceForType() { - return flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogMetadata build() { - flyteidl.core.Catalog.CatalogMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogMetadata buildPartial() { - flyteidl.core.Catalog.CatalogMetadata result = new flyteidl.core.Catalog.CatalogMetadata(this); - if (datasetIdBuilder_ == null) { - result.datasetId_ = datasetId_; - } else { - result.datasetId_ = datasetIdBuilder_.build(); - } - if (artifactTagBuilder_ == null) { - result.artifactTag_ = artifactTag_; - } else { - result.artifactTag_ = artifactTagBuilder_.build(); - } - if (sourceExecutionCase_ == 3) { - if (sourceTaskExecutionBuilder_ == null) { - result.sourceExecution_ = sourceExecution_; - } else { - result.sourceExecution_ = sourceTaskExecutionBuilder_.build(); - } - } - result.sourceExecutionCase_ = sourceExecutionCase_; - 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.Catalog.CatalogMetadata) { - return mergeFrom((flyteidl.core.Catalog.CatalogMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Catalog.CatalogMetadata other) { - if (other == flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance()) return this; - if (other.hasDatasetId()) { - mergeDatasetId(other.getDatasetId()); - } - if (other.hasArtifactTag()) { - mergeArtifactTag(other.getArtifactTag()); - } - switch (other.getSourceExecutionCase()) { - case SOURCE_TASK_EXECUTION: { - mergeSourceTaskExecution(other.getSourceTaskExecution()); - break; - } - case SOURCEEXECUTION_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.Catalog.CatalogMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Catalog.CatalogMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int sourceExecutionCase_ = 0; - private java.lang.Object sourceExecution_; - public SourceExecutionCase - getSourceExecutionCase() { - return SourceExecutionCase.forNumber( - sourceExecutionCase_); - } - - public Builder clearSourceExecution() { - sourceExecutionCase_ = 0; - sourceExecution_ = null; - onChanged(); - return this; - } - - - private flyteidl.core.IdentifierOuterClass.Identifier datasetId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> datasetIdBuilder_; - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public boolean hasDatasetId() { - return datasetIdBuilder_ != null || datasetId_ != null; - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getDatasetId() { - if (datasetIdBuilder_ == null) { - return datasetId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : datasetId_; - } else { - return datasetIdBuilder_.getMessage(); - } - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public Builder setDatasetId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (datasetIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - datasetId_ = value; - onChanged(); - } else { - datasetIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public Builder setDatasetId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (datasetIdBuilder_ == null) { - datasetId_ = builderForValue.build(); - onChanged(); - } else { - datasetIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public Builder mergeDatasetId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (datasetIdBuilder_ == null) { - if (datasetId_ != null) { - datasetId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(datasetId_).mergeFrom(value).buildPartial(); - } else { - datasetId_ = value; - } - onChanged(); - } else { - datasetIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public Builder clearDatasetId() { - if (datasetIdBuilder_ == null) { - datasetId_ = null; - onChanged(); - } else { - datasetId_ = null; - datasetIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getDatasetIdBuilder() { - - onChanged(); - return getDatasetIdFieldBuilder().getBuilder(); - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getDatasetIdOrBuilder() { - if (datasetIdBuilder_ != null) { - return datasetIdBuilder_.getMessageOrBuilder(); - } else { - return datasetId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : datasetId_; - } - } - /** - *
-       * Dataset ID in the catalog
-       * 
- * - * .flyteidl.core.Identifier dataset_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getDatasetIdFieldBuilder() { - if (datasetIdBuilder_ == null) { - datasetIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getDatasetId(), - getParentForChildren(), - isClean()); - datasetId_ = null; - } - return datasetIdBuilder_; - } - - private flyteidl.core.Catalog.CatalogArtifactTag artifactTag_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogArtifactTag, flyteidl.core.Catalog.CatalogArtifactTag.Builder, flyteidl.core.Catalog.CatalogArtifactTagOrBuilder> artifactTagBuilder_; - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public boolean hasArtifactTag() { - return artifactTagBuilder_ != null || artifactTag_ != null; - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public flyteidl.core.Catalog.CatalogArtifactTag getArtifactTag() { - if (artifactTagBuilder_ == null) { - return artifactTag_ == null ? flyteidl.core.Catalog.CatalogArtifactTag.getDefaultInstance() : artifactTag_; - } else { - return artifactTagBuilder_.getMessage(); - } - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public Builder setArtifactTag(flyteidl.core.Catalog.CatalogArtifactTag value) { - if (artifactTagBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - artifactTag_ = value; - onChanged(); - } else { - artifactTagBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public Builder setArtifactTag( - flyteidl.core.Catalog.CatalogArtifactTag.Builder builderForValue) { - if (artifactTagBuilder_ == null) { - artifactTag_ = builderForValue.build(); - onChanged(); - } else { - artifactTagBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public Builder mergeArtifactTag(flyteidl.core.Catalog.CatalogArtifactTag value) { - if (artifactTagBuilder_ == null) { - if (artifactTag_ != null) { - artifactTag_ = - flyteidl.core.Catalog.CatalogArtifactTag.newBuilder(artifactTag_).mergeFrom(value).buildPartial(); - } else { - artifactTag_ = value; - } - onChanged(); - } else { - artifactTagBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public Builder clearArtifactTag() { - if (artifactTagBuilder_ == null) { - artifactTag_ = null; - onChanged(); - } else { - artifactTag_ = null; - artifactTagBuilder_ = null; - } - - return this; - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public flyteidl.core.Catalog.CatalogArtifactTag.Builder getArtifactTagBuilder() { - - onChanged(); - return getArtifactTagFieldBuilder().getBuilder(); - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - public flyteidl.core.Catalog.CatalogArtifactTagOrBuilder getArtifactTagOrBuilder() { - if (artifactTagBuilder_ != null) { - return artifactTagBuilder_.getMessageOrBuilder(); - } else { - return artifactTag_ == null ? - flyteidl.core.Catalog.CatalogArtifactTag.getDefaultInstance() : artifactTag_; - } - } - /** - *
-       * Artifact tag in the catalog
-       * 
- * - * .flyteidl.core.CatalogArtifactTag artifact_tag = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogArtifactTag, flyteidl.core.Catalog.CatalogArtifactTag.Builder, flyteidl.core.Catalog.CatalogArtifactTagOrBuilder> - getArtifactTagFieldBuilder() { - if (artifactTagBuilder_ == null) { - artifactTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogArtifactTag, flyteidl.core.Catalog.CatalogArtifactTag.Builder, flyteidl.core.Catalog.CatalogArtifactTagOrBuilder>( - getArtifactTag(), - getParentForChildren(), - isClean()); - artifactTag_ = null; - } - return artifactTagBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> sourceTaskExecutionBuilder_; - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public boolean hasSourceTaskExecution() { - return sourceExecutionCase_ == 3; - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getSourceTaskExecution() { - if (sourceTaskExecutionBuilder_ == null) { - if (sourceExecutionCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } else { - if (sourceExecutionCase_ == 3) { - return sourceTaskExecutionBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public Builder setSourceTaskExecution(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (sourceTaskExecutionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sourceExecution_ = value; - onChanged(); - } else { - sourceTaskExecutionBuilder_.setMessage(value); - } - sourceExecutionCase_ = 3; - return this; - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public Builder setSourceTaskExecution( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { - if (sourceTaskExecutionBuilder_ == null) { - sourceExecution_ = builderForValue.build(); - onChanged(); - } else { - sourceTaskExecutionBuilder_.setMessage(builderForValue.build()); - } - sourceExecutionCase_ = 3; - return this; - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public Builder mergeSourceTaskExecution(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (sourceTaskExecutionBuilder_ == null) { - if (sourceExecutionCase_ == 3 && - sourceExecution_ != flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance()) { - sourceExecution_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_) - .mergeFrom(value).buildPartial(); - } else { - sourceExecution_ = value; - } - onChanged(); - } else { - if (sourceExecutionCase_ == 3) { - sourceTaskExecutionBuilder_.mergeFrom(value); - } - sourceTaskExecutionBuilder_.setMessage(value); - } - sourceExecutionCase_ = 3; - return this; - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public Builder clearSourceTaskExecution() { - if (sourceTaskExecutionBuilder_ == null) { - if (sourceExecutionCase_ == 3) { - sourceExecutionCase_ = 0; - sourceExecution_ = null; - onChanged(); - } - } else { - if (sourceExecutionCase_ == 3) { - sourceExecutionCase_ = 0; - sourceExecution_ = null; - } - sourceTaskExecutionBuilder_.clear(); - } - return this; - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getSourceTaskExecutionBuilder() { - return getSourceTaskExecutionFieldBuilder().getBuilder(); - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getSourceTaskExecutionOrBuilder() { - if ((sourceExecutionCase_ == 3) && (sourceTaskExecutionBuilder_ != null)) { - return sourceTaskExecutionBuilder_.getMessageOrBuilder(); - } else { - if (sourceExecutionCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier source_task_execution = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> - getSourceTaskExecutionFieldBuilder() { - if (sourceTaskExecutionBuilder_ == null) { - if (!(sourceExecutionCase_ == 3)) { - sourceExecution_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - sourceTaskExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) sourceExecution_, - getParentForChildren(), - isClean()); - sourceExecution_ = null; - } - sourceExecutionCase_ = 3; - onChanged();; - return sourceTaskExecutionBuilder_; - } - @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.CatalogMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.CatalogMetadata) - private static final flyteidl.core.Catalog.CatalogMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Catalog.CatalogMetadata(); - } - - public static flyteidl.core.Catalog.CatalogMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CatalogMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CatalogMetadata(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.Catalog.CatalogMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CatalogReservationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.CatalogReservation) - com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code flyteidl.core.CatalogReservation} - */ - public static final class CatalogReservation extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.CatalogReservation) - CatalogReservationOrBuilder { - private static final long serialVersionUID = 0L; - // Use CatalogReservation.newBuilder() to construct. - private CatalogReservation(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CatalogReservation() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CatalogReservation( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogReservation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogReservation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Catalog.CatalogReservation.class, flyteidl.core.Catalog.CatalogReservation.Builder.class); - } - - /** - *
-     * Indicates the status of a catalog reservation operation.
-     * 
- * - * Protobuf enum {@code flyteidl.core.CatalogReservation.Status} - */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * Used to indicate that reservations are disabled
-       * 
- * - * RESERVATION_DISABLED = 0; - */ - RESERVATION_DISABLED(0), - /** - *
-       * Used to indicate that a reservation was successfully acquired or extended
-       * 
- * - * RESERVATION_ACQUIRED = 1; - */ - RESERVATION_ACQUIRED(1), - /** - *
-       * Used to indicate that an active reservation currently exists
-       * 
- * - * RESERVATION_EXISTS = 2; - */ - RESERVATION_EXISTS(2), - /** - *
-       * Used to indicate that the reservation has been successfully released
-       * 
- * - * RESERVATION_RELEASED = 3; - */ - RESERVATION_RELEASED(3), - /** - *
-       * Used to indicate that a reservation operation resulted in failure
-       * 
- * - * RESERVATION_FAILURE = 4; - */ - RESERVATION_FAILURE(4), - UNRECOGNIZED(-1), - ; - - /** - *
-       * Used to indicate that reservations are disabled
-       * 
- * - * RESERVATION_DISABLED = 0; - */ - public static final int RESERVATION_DISABLED_VALUE = 0; - /** - *
-       * Used to indicate that a reservation was successfully acquired or extended
-       * 
- * - * RESERVATION_ACQUIRED = 1; - */ - public static final int RESERVATION_ACQUIRED_VALUE = 1; - /** - *
-       * Used to indicate that an active reservation currently exists
-       * 
- * - * RESERVATION_EXISTS = 2; - */ - public static final int RESERVATION_EXISTS_VALUE = 2; - /** - *
-       * Used to indicate that the reservation has been successfully released
-       * 
- * - * RESERVATION_RELEASED = 3; - */ - public static final int RESERVATION_RELEASED_VALUE = 3; - /** - *
-       * Used to indicate that a reservation operation resulted in failure
-       * 
- * - * RESERVATION_FAILURE = 4; - */ - public static final int RESERVATION_FAILURE_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 Status valueOf(int value) { - return forNumber(value); - } - - public static Status forNumber(int value) { - switch (value) { - case 0: return RESERVATION_DISABLED; - case 1: return RESERVATION_ACQUIRED; - case 2: return RESERVATION_EXISTS; - case 3: return RESERVATION_RELEASED; - case 4: return RESERVATION_FAILURE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Status> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.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.Catalog.CatalogReservation.getDescriptor().getEnumTypes().get(0); - } - - private static final Status[] VALUES = values(); - - public static Status 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 Status(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.CatalogReservation.Status) - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Catalog.CatalogReservation)) { - return super.equals(obj); - } - flyteidl.core.Catalog.CatalogReservation other = (flyteidl.core.Catalog.CatalogReservation) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Catalog.CatalogReservation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogReservation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Catalog.CatalogReservation parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogReservation 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.Catalog.CatalogReservation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Catalog.CatalogReservation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Catalog.CatalogReservation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogReservation 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.Catalog.CatalogReservation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogReservation 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.Catalog.CatalogReservation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Catalog.CatalogReservation 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.Catalog.CatalogReservation 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.core.CatalogReservation} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.CatalogReservation) - flyteidl.core.Catalog.CatalogReservationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogReservation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogReservation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Catalog.CatalogReservation.class, flyteidl.core.Catalog.CatalogReservation.Builder.class); - } - - // Construct using flyteidl.core.Catalog.CatalogReservation.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Catalog.internal_static_flyteidl_core_CatalogReservation_descriptor; - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogReservation getDefaultInstanceForType() { - return flyteidl.core.Catalog.CatalogReservation.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogReservation build() { - flyteidl.core.Catalog.CatalogReservation result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Catalog.CatalogReservation buildPartial() { - flyteidl.core.Catalog.CatalogReservation result = new flyteidl.core.Catalog.CatalogReservation(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Catalog.CatalogReservation) { - return mergeFrom((flyteidl.core.Catalog.CatalogReservation)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Catalog.CatalogReservation other) { - if (other == flyteidl.core.Catalog.CatalogReservation.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Catalog.CatalogReservation parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Catalog.CatalogReservation) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.CatalogReservation) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.CatalogReservation) - private static final flyteidl.core.Catalog.CatalogReservation DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Catalog.CatalogReservation(); - } - - public static flyteidl.core.Catalog.CatalogReservation getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CatalogReservation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CatalogReservation(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.Catalog.CatalogReservation getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_CatalogArtifactTag_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_CatalogArtifactTag_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_CatalogMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_CatalogMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_CatalogReservation_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_CatalogReservation_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\033flyteidl/core/catalog.proto\022\rflyteidl." + - "core\032\036flyteidl/core/identifier.proto\"7\n\022" + - "CatalogArtifactTag\022\023\n\013artifact_id\030\001 \001(\t\022" + - "\014\n\004name\030\002 \001(\t\"\326\001\n\017CatalogMetadata\022-\n\ndat" + - "aset_id\030\001 \001(\0132\031.flyteidl.core.Identifier" + - "\0227\n\014artifact_tag\030\002 \001(\0132!.flyteidl.core.C" + - "atalogArtifactTag\022G\n\025source_task_executi" + - "on\030\003 \001(\0132&.flyteidl.core.TaskExecutionId" + - "entifierH\000B\022\n\020source_execution\"\236\001\n\022Catal" + - "ogReservation\"\207\001\n\006Status\022\030\n\024RESERVATION_" + - "DISABLED\020\000\022\030\n\024RESERVATION_ACQUIRED\020\001\022\026\n\022" + - "RESERVATION_EXISTS\020\002\022\030\n\024RESERVATION_RELE" + - "ASED\020\003\022\027\n\023RESERVATION_FAILURE\020\004*\263\001\n\022Cata" + - "logCacheStatus\022\022\n\016CACHE_DISABLED\020\000\022\016\n\nCA" + - "CHE_MISS\020\001\022\r\n\tCACHE_HIT\020\002\022\023\n\017CACHE_POPUL" + - "ATED\020\003\022\030\n\024CACHE_LOOKUP_FAILURE\020\004\022\025\n\021CACH" + - "E_PUT_FAILURE\020\005\022\021\n\rCACHE_SKIPPED\020\006\022\021\n\rCA" + - "CHE_EVICTED\020\007B - * A list of all the node ids that are downstream from a given node id - * - * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - int getDownstreamCount(); - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - boolean containsDownstream( - java.lang.String key); - /** - * Use {@link #getDownstreamMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getDownstream(); - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - java.util.Map - getDownstreamMap(); - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - flyteidl.core.Compiler.ConnectionSet.IdList getDownstreamOrDefault( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList defaultValue); - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - flyteidl.core.Compiler.ConnectionSet.IdList getDownstreamOrThrow( - java.lang.String key); - - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - int getUpstreamCount(); - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - boolean containsUpstream( - java.lang.String key); - /** - * Use {@link #getUpstreamMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getUpstream(); - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - java.util.Map - getUpstreamMap(); - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - flyteidl.core.Compiler.ConnectionSet.IdList getUpstreamOrDefault( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList defaultValue); - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - flyteidl.core.Compiler.ConnectionSet.IdList getUpstreamOrThrow( - java.lang.String key); - } - /** - *
-   * Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation
-   * step uses this created ConnectionSet
-   * 
- * - * Protobuf type {@code flyteidl.core.ConnectionSet} - */ - public static final class ConnectionSet extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ConnectionSet) - ConnectionSetOrBuilder { - private static final long serialVersionUID = 0L; - // Use ConnectionSet.newBuilder() to construct. - private ConnectionSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ConnectionSet() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ConnectionSet( - 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 58: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - downstream_ = com.google.protobuf.MapField.newMapField( - DownstreamDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - downstream__ = input.readMessage( - DownstreamDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - downstream_.getMutableMap().put( - downstream__.getKey(), downstream__.getValue()); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - upstream_ = com.google.protobuf.MapField.newMapField( - UpstreamDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - upstream__ = input.readMessage( - UpstreamDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - upstream_.getMutableMap().put( - upstream__.getKey(), upstream__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 7: - return internalGetDownstream(); - case 8: - return internalGetUpstream(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.ConnectionSet.class, flyteidl.core.Compiler.ConnectionSet.Builder.class); - } - - public interface IdListOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ConnectionSet.IdList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string ids = 1; - */ - java.util.List - getIdsList(); - /** - * repeated string ids = 1; - */ - int getIdsCount(); - /** - * repeated string ids = 1; - */ - java.lang.String getIds(int index); - /** - * repeated string ids = 1; - */ - com.google.protobuf.ByteString - getIdsBytes(int index); - } - /** - * Protobuf type {@code flyteidl.core.ConnectionSet.IdList} - */ - public static final class IdList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ConnectionSet.IdList) - IdListOrBuilder { - private static final long serialVersionUID = 0L; - // Use IdList.newBuilder() to construct. - private IdList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private IdList() { - ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private IdList( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - ids_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - ids_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - ids_ = ids_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_IdList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_IdList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.ConnectionSet.IdList.class, flyteidl.core.Compiler.ConnectionSet.IdList.Builder.class); - } - - public static final int IDS_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList ids_; - /** - * repeated string ids = 1; - */ - public com.google.protobuf.ProtocolStringList - getIdsList() { - return ids_; - } - /** - * repeated string ids = 1; - */ - public int getIdsCount() { - return ids_.size(); - } - /** - * repeated string ids = 1; - */ - public java.lang.String getIds(int index) { - return ids_.get(index); - } - /** - * repeated string ids = 1; - */ - public com.google.protobuf.ByteString - getIdsBytes(int index) { - return ids_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < ids_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ids_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < ids_.size(); i++) { - dataSize += computeStringSizeNoTag(ids_.getRaw(i)); - } - size += dataSize; - size += 1 * getIdsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Compiler.ConnectionSet.IdList)) { - return super.equals(obj); - } - flyteidl.core.Compiler.ConnectionSet.IdList other = (flyteidl.core.Compiler.ConnectionSet.IdList) obj; - - if (!getIdsList() - .equals(other.getIdsList())) 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 (getIdsCount() > 0) { - hash = (37 * hash) + IDS_FIELD_NUMBER; - hash = (53 * hash) + getIdsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Compiler.ConnectionSet.IdList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList 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.Compiler.ConnectionSet.IdList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList 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.Compiler.ConnectionSet.IdList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList 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.Compiler.ConnectionSet.IdList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.ConnectionSet.IdList 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.Compiler.ConnectionSet.IdList 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.core.ConnectionSet.IdList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ConnectionSet.IdList) - flyteidl.core.Compiler.ConnectionSet.IdListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_IdList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_IdList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.ConnectionSet.IdList.class, flyteidl.core.Compiler.ConnectionSet.IdList.Builder.class); - } - - // Construct using flyteidl.core.Compiler.ConnectionSet.IdList.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(); - ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_IdList_descriptor; - } - - @java.lang.Override - public flyteidl.core.Compiler.ConnectionSet.IdList getDefaultInstanceForType() { - return flyteidl.core.Compiler.ConnectionSet.IdList.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Compiler.ConnectionSet.IdList build() { - flyteidl.core.Compiler.ConnectionSet.IdList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Compiler.ConnectionSet.IdList buildPartial() { - flyteidl.core.Compiler.ConnectionSet.IdList result = new flyteidl.core.Compiler.ConnectionSet.IdList(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - ids_ = ids_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.ids_ = ids_; - 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.Compiler.ConnectionSet.IdList) { - return mergeFrom((flyteidl.core.Compiler.ConnectionSet.IdList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Compiler.ConnectionSet.IdList other) { - if (other == flyteidl.core.Compiler.ConnectionSet.IdList.getDefaultInstance()) return this; - if (!other.ids_.isEmpty()) { - if (ids_.isEmpty()) { - ids_ = other.ids_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureIdsIsMutable(); - ids_.addAll(other.ids_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Compiler.ConnectionSet.IdList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Compiler.ConnectionSet.IdList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureIdsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - ids_ = new com.google.protobuf.LazyStringArrayList(ids_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string ids = 1; - */ - public com.google.protobuf.ProtocolStringList - getIdsList() { - return ids_.getUnmodifiableView(); - } - /** - * repeated string ids = 1; - */ - public int getIdsCount() { - return ids_.size(); - } - /** - * repeated string ids = 1; - */ - public java.lang.String getIds(int index) { - return ids_.get(index); - } - /** - * repeated string ids = 1; - */ - public com.google.protobuf.ByteString - getIdsBytes(int index) { - return ids_.getByteString(index); - } - /** - * repeated string ids = 1; - */ - public Builder setIds( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureIdsIsMutable(); - ids_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string ids = 1; - */ - public Builder addIds( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureIdsIsMutable(); - ids_.add(value); - onChanged(); - return this; - } - /** - * repeated string ids = 1; - */ - public Builder addAllIds( - java.lang.Iterable values) { - ensureIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ids_); - onChanged(); - return this; - } - /** - * repeated string ids = 1; - */ - public Builder clearIds() { - ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string ids = 1; - */ - public Builder addIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureIdsIsMutable(); - ids_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ConnectionSet.IdList) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ConnectionSet.IdList) - private static final flyteidl.core.Compiler.ConnectionSet.IdList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Compiler.ConnectionSet.IdList(); - } - - public static flyteidl.core.Compiler.ConnectionSet.IdList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdList(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.Compiler.ConnectionSet.IdList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public static final int DOWNSTREAM_FIELD_NUMBER = 7; - private static final class DownstreamDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.Compiler.ConnectionSet.IdList> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_DownstreamEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.Compiler.ConnectionSet.IdList.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Compiler.ConnectionSet.IdList> downstream_; - private com.google.protobuf.MapField - internalGetDownstream() { - if (downstream_ == null) { - return com.google.protobuf.MapField.emptyMapField( - DownstreamDefaultEntryHolder.defaultEntry); - } - return downstream_; - } - - public int getDownstreamCount() { - return internalGetDownstream().getMap().size(); - } - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public boolean containsDownstream( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetDownstream().getMap().containsKey(key); - } - /** - * Use {@link #getDownstreamMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getDownstream() { - return getDownstreamMap(); - } - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public java.util.Map getDownstreamMap() { - return internalGetDownstream().getMap(); - } - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getDownstreamOrDefault( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDownstream().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * A list of all the node ids that are downstream from a given node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getDownstreamOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDownstream().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int UPSTREAM_FIELD_NUMBER = 8; - private static final class UpstreamDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.Compiler.ConnectionSet.IdList> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_UpstreamEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.Compiler.ConnectionSet.IdList.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Compiler.ConnectionSet.IdList> upstream_; - private com.google.protobuf.MapField - internalGetUpstream() { - if (upstream_ == null) { - return com.google.protobuf.MapField.emptyMapField( - UpstreamDefaultEntryHolder.defaultEntry); - } - return upstream_; - } - - public int getUpstreamCount() { - return internalGetUpstream().getMap().size(); - } - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public boolean containsUpstream( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetUpstream().getMap().containsKey(key); - } - /** - * Use {@link #getUpstreamMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getUpstream() { - return getUpstreamMap(); - } - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public java.util.Map getUpstreamMap() { - return internalGetUpstream().getMap(); - } - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getUpstreamOrDefault( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUpstream().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * A list of all the node ids, that are upstream of this node id
-     * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getUpstreamOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUpstream().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetDownstream(), - DownstreamDefaultEntryHolder.defaultEntry, - 7); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetUpstream(), - UpstreamDefaultEntryHolder.defaultEntry, - 8); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetDownstream().getMap().entrySet()) { - com.google.protobuf.MapEntry - downstream__ = DownstreamDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, downstream__); - } - for (java.util.Map.Entry entry - : internalGetUpstream().getMap().entrySet()) { - com.google.protobuf.MapEntry - upstream__ = UpstreamDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, upstream__); - } - 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.Compiler.ConnectionSet)) { - return super.equals(obj); - } - flyteidl.core.Compiler.ConnectionSet other = (flyteidl.core.Compiler.ConnectionSet) obj; - - if (!internalGetDownstream().equals( - other.internalGetDownstream())) return false; - if (!internalGetUpstream().equals( - other.internalGetUpstream())) 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 (!internalGetDownstream().getMap().isEmpty()) { - hash = (37 * hash) + DOWNSTREAM_FIELD_NUMBER; - hash = (53 * hash) + internalGetDownstream().hashCode(); - } - if (!internalGetUpstream().getMap().isEmpty()) { - hash = (37 * hash) + UPSTREAM_FIELD_NUMBER; - hash = (53 * hash) + internalGetUpstream().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Compiler.ConnectionSet parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.ConnectionSet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.ConnectionSet parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.ConnectionSet 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.Compiler.ConnectionSet parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.ConnectionSet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.ConnectionSet parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.ConnectionSet 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.Compiler.ConnectionSet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.ConnectionSet 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.Compiler.ConnectionSet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.ConnectionSet 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.Compiler.ConnectionSet 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; - } - /** - *
-     * Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation
-     * step uses this created ConnectionSet
-     * 
- * - * Protobuf type {@code flyteidl.core.ConnectionSet} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ConnectionSet) - flyteidl.core.Compiler.ConnectionSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 7: - return internalGetDownstream(); - case 8: - return internalGetUpstream(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 7: - return internalGetMutableDownstream(); - case 8: - return internalGetMutableUpstream(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.ConnectionSet.class, flyteidl.core.Compiler.ConnectionSet.Builder.class); - } - - // Construct using flyteidl.core.Compiler.ConnectionSet.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(); - internalGetMutableDownstream().clear(); - internalGetMutableUpstream().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_ConnectionSet_descriptor; - } - - @java.lang.Override - public flyteidl.core.Compiler.ConnectionSet getDefaultInstanceForType() { - return flyteidl.core.Compiler.ConnectionSet.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Compiler.ConnectionSet build() { - flyteidl.core.Compiler.ConnectionSet result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Compiler.ConnectionSet buildPartial() { - flyteidl.core.Compiler.ConnectionSet result = new flyteidl.core.Compiler.ConnectionSet(this); - int from_bitField0_ = bitField0_; - result.downstream_ = internalGetDownstream(); - result.downstream_.makeImmutable(); - result.upstream_ = internalGetUpstream(); - result.upstream_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Compiler.ConnectionSet) { - return mergeFrom((flyteidl.core.Compiler.ConnectionSet)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Compiler.ConnectionSet other) { - if (other == flyteidl.core.Compiler.ConnectionSet.getDefaultInstance()) return this; - internalGetMutableDownstream().mergeFrom( - other.internalGetDownstream()); - internalGetMutableUpstream().mergeFrom( - other.internalGetUpstream()); - 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.Compiler.ConnectionSet parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Compiler.ConnectionSet) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Compiler.ConnectionSet.IdList> downstream_; - private com.google.protobuf.MapField - internalGetDownstream() { - if (downstream_ == null) { - return com.google.protobuf.MapField.emptyMapField( - DownstreamDefaultEntryHolder.defaultEntry); - } - return downstream_; - } - private com.google.protobuf.MapField - internalGetMutableDownstream() { - onChanged();; - if (downstream_ == null) { - downstream_ = com.google.protobuf.MapField.newMapField( - DownstreamDefaultEntryHolder.defaultEntry); - } - if (!downstream_.isMutable()) { - downstream_ = downstream_.copy(); - } - return downstream_; - } - - public int getDownstreamCount() { - return internalGetDownstream().getMap().size(); - } - /** - *
-       * A list of all the node ids that are downstream from a given node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public boolean containsDownstream( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetDownstream().getMap().containsKey(key); - } - /** - * Use {@link #getDownstreamMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getDownstream() { - return getDownstreamMap(); - } - /** - *
-       * A list of all the node ids that are downstream from a given node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public java.util.Map getDownstreamMap() { - return internalGetDownstream().getMap(); - } - /** - *
-       * A list of all the node ids that are downstream from a given node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getDownstreamOrDefault( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDownstream().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * A list of all the node ids that are downstream from a given node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getDownstreamOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDownstream().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearDownstream() { - internalGetMutableDownstream().getMutableMap() - .clear(); - return this; - } - /** - *
-       * A list of all the node ids that are downstream from a given node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public Builder removeDownstream( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableDownstream().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableDownstream() { - return internalGetMutableDownstream().getMutableMap(); - } - /** - *
-       * A list of all the node ids that are downstream from a given node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - public Builder putDownstream( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableDownstream().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * A list of all the node ids that are downstream from a given node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> downstream = 7; - */ - - public Builder putAllDownstream( - java.util.Map values) { - internalGetMutableDownstream().getMutableMap() - .putAll(values); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Compiler.ConnectionSet.IdList> upstream_; - private com.google.protobuf.MapField - internalGetUpstream() { - if (upstream_ == null) { - return com.google.protobuf.MapField.emptyMapField( - UpstreamDefaultEntryHolder.defaultEntry); - } - return upstream_; - } - private com.google.protobuf.MapField - internalGetMutableUpstream() { - onChanged();; - if (upstream_ == null) { - upstream_ = com.google.protobuf.MapField.newMapField( - UpstreamDefaultEntryHolder.defaultEntry); - } - if (!upstream_.isMutable()) { - upstream_ = upstream_.copy(); - } - return upstream_; - } - - public int getUpstreamCount() { - return internalGetUpstream().getMap().size(); - } - /** - *
-       * A list of all the node ids, that are upstream of this node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public boolean containsUpstream( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetUpstream().getMap().containsKey(key); - } - /** - * Use {@link #getUpstreamMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getUpstream() { - return getUpstreamMap(); - } - /** - *
-       * A list of all the node ids, that are upstream of this node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public java.util.Map getUpstreamMap() { - return internalGetUpstream().getMap(); - } - /** - *
-       * A list of all the node ids, that are upstream of this node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getUpstreamOrDefault( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUpstream().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * A list of all the node ids, that are upstream of this node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public flyteidl.core.Compiler.ConnectionSet.IdList getUpstreamOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUpstream().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearUpstream() { - internalGetMutableUpstream().getMutableMap() - .clear(); - return this; - } - /** - *
-       * A list of all the node ids, that are upstream of this node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public Builder removeUpstream( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableUpstream().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableUpstream() { - return internalGetMutableUpstream().getMutableMap(); - } - /** - *
-       * A list of all the node ids, that are upstream of this node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - public Builder putUpstream( - java.lang.String key, - flyteidl.core.Compiler.ConnectionSet.IdList value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableUpstream().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * A list of all the node ids, that are upstream of this node id
-       * 
- * - * map<string, .flyteidl.core.ConnectionSet.IdList> upstream = 8; - */ - - public Builder putAllUpstream( - java.util.Map values) { - internalGetMutableUpstream().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ConnectionSet) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ConnectionSet) - private static final flyteidl.core.Compiler.ConnectionSet DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Compiler.ConnectionSet(); - } - - public static flyteidl.core.Compiler.ConnectionSet getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConnectionSet(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.Compiler.ConnectionSet getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CompiledWorkflowOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.CompiledWorkflow) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Completely contained Workflow Template
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - boolean hasTemplate(); - /** - *
-     * Completely contained Workflow Template
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - flyteidl.core.Workflow.WorkflowTemplate getTemplate(); - /** - *
-     * Completely contained Workflow Template
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - flyteidl.core.Workflow.WorkflowTemplateOrBuilder getTemplateOrBuilder(); - - /** - *
-     * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-     * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - boolean hasConnections(); - /** - *
-     * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-     * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - flyteidl.core.Compiler.ConnectionSet getConnections(); - /** - *
-     * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-     * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - flyteidl.core.Compiler.ConnectionSetOrBuilder getConnectionsOrBuilder(); - } - /** - *
-   * Output of the compilation Step. This object represents one workflow. We store more metadata at this layer
-   * 
- * - * Protobuf type {@code flyteidl.core.CompiledWorkflow} - */ - public static final class CompiledWorkflow extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.CompiledWorkflow) - CompiledWorkflowOrBuilder { - private static final long serialVersionUID = 0L; - // Use CompiledWorkflow.newBuilder() to construct. - private CompiledWorkflow(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CompiledWorkflow() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CompiledWorkflow( - 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.Workflow.WorkflowTemplate.Builder subBuilder = null; - if (template_ != null) { - subBuilder = template_.toBuilder(); - } - template_ = input.readMessage(flyteidl.core.Workflow.WorkflowTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(template_); - template_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Compiler.ConnectionSet.Builder subBuilder = null; - if (connections_ != null) { - subBuilder = connections_.toBuilder(); - } - connections_ = input.readMessage(flyteidl.core.Compiler.ConnectionSet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(connections_); - connections_ = 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.core.Compiler.internal_static_flyteidl_core_CompiledWorkflow_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflow_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.CompiledWorkflow.class, flyteidl.core.Compiler.CompiledWorkflow.Builder.class); - } - - public static final int TEMPLATE_FIELD_NUMBER = 1; - private flyteidl.core.Workflow.WorkflowTemplate template_; - /** - *
-     * Completely contained Workflow Template
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public boolean hasTemplate() { - return template_ != null; - } - /** - *
-     * Completely contained Workflow Template
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate getTemplate() { - return template_ == null ? flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : template_; - } - /** - *
-     * Completely contained Workflow Template
-     * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getTemplateOrBuilder() { - return getTemplate(); - } - - public static final int CONNECTIONS_FIELD_NUMBER = 2; - private flyteidl.core.Compiler.ConnectionSet connections_; - /** - *
-     * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-     * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public boolean hasConnections() { - return connections_ != null; - } - /** - *
-     * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-     * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public flyteidl.core.Compiler.ConnectionSet getConnections() { - return connections_ == null ? flyteidl.core.Compiler.ConnectionSet.getDefaultInstance() : connections_; - } - /** - *
-     * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-     * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public flyteidl.core.Compiler.ConnectionSetOrBuilder getConnectionsOrBuilder() { - return getConnections(); - } - - 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 (template_ != null) { - output.writeMessage(1, getTemplate()); - } - if (connections_ != null) { - output.writeMessage(2, getConnections()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (template_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTemplate()); - } - if (connections_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConnections()); - } - 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.Compiler.CompiledWorkflow)) { - return super.equals(obj); - } - flyteidl.core.Compiler.CompiledWorkflow other = (flyteidl.core.Compiler.CompiledWorkflow) obj; - - if (hasTemplate() != other.hasTemplate()) return false; - if (hasTemplate()) { - if (!getTemplate() - .equals(other.getTemplate())) return false; - } - if (hasConnections() != other.hasConnections()) return false; - if (hasConnections()) { - if (!getConnections() - .equals(other.getConnections())) 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 (hasTemplate()) { - hash = (37 * hash) + TEMPLATE_FIELD_NUMBER; - hash = (53 * hash) + getTemplate().hashCode(); - } - if (hasConnections()) { - hash = (37 * hash) + CONNECTIONS_FIELD_NUMBER; - hash = (53 * hash) + getConnections().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Compiler.CompiledWorkflow parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledWorkflow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.CompiledWorkflow parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledWorkflow 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.Compiler.CompiledWorkflow parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledWorkflow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.CompiledWorkflow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledWorkflow 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.Compiler.CompiledWorkflow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledWorkflow 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.Compiler.CompiledWorkflow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledWorkflow 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.Compiler.CompiledWorkflow 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; - } - /** - *
-     * Output of the compilation Step. This object represents one workflow. We store more metadata at this layer
-     * 
- * - * Protobuf type {@code flyteidl.core.CompiledWorkflow} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.CompiledWorkflow) - flyteidl.core.Compiler.CompiledWorkflowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflow_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflow_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.CompiledWorkflow.class, flyteidl.core.Compiler.CompiledWorkflow.Builder.class); - } - - // Construct using flyteidl.core.Compiler.CompiledWorkflow.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 (templateBuilder_ == null) { - template_ = null; - } else { - template_ = null; - templateBuilder_ = null; - } - if (connectionsBuilder_ == null) { - connections_ = null; - } else { - connections_ = null; - connectionsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflow_descriptor; - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledWorkflow getDefaultInstanceForType() { - return flyteidl.core.Compiler.CompiledWorkflow.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledWorkflow build() { - flyteidl.core.Compiler.CompiledWorkflow result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledWorkflow buildPartial() { - flyteidl.core.Compiler.CompiledWorkflow result = new flyteidl.core.Compiler.CompiledWorkflow(this); - if (templateBuilder_ == null) { - result.template_ = template_; - } else { - result.template_ = templateBuilder_.build(); - } - if (connectionsBuilder_ == null) { - result.connections_ = connections_; - } else { - result.connections_ = connectionsBuilder_.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.Compiler.CompiledWorkflow) { - return mergeFrom((flyteidl.core.Compiler.CompiledWorkflow)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Compiler.CompiledWorkflow other) { - if (other == flyteidl.core.Compiler.CompiledWorkflow.getDefaultInstance()) return this; - if (other.hasTemplate()) { - mergeTemplate(other.getTemplate()); - } - if (other.hasConnections()) { - mergeConnections(other.getConnections()); - } - 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.Compiler.CompiledWorkflow parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Compiler.CompiledWorkflow) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Workflow.WorkflowTemplate template_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> templateBuilder_; - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public boolean hasTemplate() { - return templateBuilder_ != null || template_ != null; - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate getTemplate() { - if (templateBuilder_ == null) { - return template_ == null ? flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : template_; - } else { - return templateBuilder_.getMessage(); - } - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder setTemplate(flyteidl.core.Workflow.WorkflowTemplate value) { - if (templateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - template_ = value; - onChanged(); - } else { - templateBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder setTemplate( - flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (templateBuilder_ == null) { - template_ = builderForValue.build(); - onChanged(); - } else { - templateBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder mergeTemplate(flyteidl.core.Workflow.WorkflowTemplate value) { - if (templateBuilder_ == null) { - if (template_ != null) { - template_ = - flyteidl.core.Workflow.WorkflowTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); - } else { - template_ = value; - } - onChanged(); - } else { - templateBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public Builder clearTemplate() { - if (templateBuilder_ == null) { - template_ = null; - onChanged(); - } else { - template_ = null; - templateBuilder_ = null; - } - - return this; - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder getTemplateBuilder() { - - onChanged(); - return getTemplateFieldBuilder().getBuilder(); - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getTemplateOrBuilder() { - if (templateBuilder_ != null) { - return templateBuilder_.getMessageOrBuilder(); - } else { - return template_ == null ? - flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : template_; - } - } - /** - *
-       * Completely contained Workflow Template
-       * 
- * - * .flyteidl.core.WorkflowTemplate template = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> - getTemplateFieldBuilder() { - if (templateBuilder_ == null) { - templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder>( - getTemplate(), - getParentForChildren(), - isClean()); - template_ = null; - } - return templateBuilder_; - } - - private flyteidl.core.Compiler.ConnectionSet connections_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.ConnectionSet, flyteidl.core.Compiler.ConnectionSet.Builder, flyteidl.core.Compiler.ConnectionSetOrBuilder> connectionsBuilder_; - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public boolean hasConnections() { - return connectionsBuilder_ != null || connections_ != null; - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public flyteidl.core.Compiler.ConnectionSet getConnections() { - if (connectionsBuilder_ == null) { - return connections_ == null ? flyteidl.core.Compiler.ConnectionSet.getDefaultInstance() : connections_; - } else { - return connectionsBuilder_.getMessage(); - } - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public Builder setConnections(flyteidl.core.Compiler.ConnectionSet value) { - if (connectionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - connections_ = value; - onChanged(); - } else { - connectionsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public Builder setConnections( - flyteidl.core.Compiler.ConnectionSet.Builder builderForValue) { - if (connectionsBuilder_ == null) { - connections_ = builderForValue.build(); - onChanged(); - } else { - connectionsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public Builder mergeConnections(flyteidl.core.Compiler.ConnectionSet value) { - if (connectionsBuilder_ == null) { - if (connections_ != null) { - connections_ = - flyteidl.core.Compiler.ConnectionSet.newBuilder(connections_).mergeFrom(value).buildPartial(); - } else { - connections_ = value; - } - onChanged(); - } else { - connectionsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public Builder clearConnections() { - if (connectionsBuilder_ == null) { - connections_ = null; - onChanged(); - } else { - connections_ = null; - connectionsBuilder_ = null; - } - - return this; - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public flyteidl.core.Compiler.ConnectionSet.Builder getConnectionsBuilder() { - - onChanged(); - return getConnectionsFieldBuilder().getBuilder(); - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - public flyteidl.core.Compiler.ConnectionSetOrBuilder getConnectionsOrBuilder() { - if (connectionsBuilder_ != null) { - return connectionsBuilder_.getMessageOrBuilder(); - } else { - return connections_ == null ? - flyteidl.core.Compiler.ConnectionSet.getDefaultInstance() : connections_; - } - } - /** - *
-       * For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
-       * 
- * - * .flyteidl.core.ConnectionSet connections = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.ConnectionSet, flyteidl.core.Compiler.ConnectionSet.Builder, flyteidl.core.Compiler.ConnectionSetOrBuilder> - getConnectionsFieldBuilder() { - if (connectionsBuilder_ == null) { - connectionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.ConnectionSet, flyteidl.core.Compiler.ConnectionSet.Builder, flyteidl.core.Compiler.ConnectionSetOrBuilder>( - getConnections(), - getParentForChildren(), - isClean()); - connections_ = null; - } - return connectionsBuilder_; - } - @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.CompiledWorkflow) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.CompiledWorkflow) - private static final flyteidl.core.Compiler.CompiledWorkflow DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Compiler.CompiledWorkflow(); - } - - public static flyteidl.core.Compiler.CompiledWorkflow getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompiledWorkflow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompiledWorkflow(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.Compiler.CompiledWorkflow getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CompiledTaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.CompiledTask) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Completely contained TaskTemplate
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - boolean hasTemplate(); - /** - *
-     * Completely contained TaskTemplate
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - flyteidl.core.Tasks.TaskTemplate getTemplate(); - /** - *
-     * Completely contained TaskTemplate
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder(); - } - /** - *
-   * Output of the Compilation step. This object represent one Task. We store more metadata at this layer
-   * 
- * - * Protobuf type {@code flyteidl.core.CompiledTask} - */ - public static final class CompiledTask extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.CompiledTask) - CompiledTaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use CompiledTask.newBuilder() to construct. - private CompiledTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CompiledTask() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CompiledTask( - 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.Tasks.TaskTemplate.Builder subBuilder = null; - if (template_ != null) { - subBuilder = template_.toBuilder(); - } - template_ = input.readMessage(flyteidl.core.Tasks.TaskTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(template_); - template_ = 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.core.Compiler.internal_static_flyteidl_core_CompiledTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.CompiledTask.class, flyteidl.core.Compiler.CompiledTask.Builder.class); - } - - public static final int TEMPLATE_FIELD_NUMBER = 1; - private flyteidl.core.Tasks.TaskTemplate template_; - /** - *
-     * Completely contained TaskTemplate
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public boolean hasTemplate() { - return template_ != null; - } - /** - *
-     * Completely contained TaskTemplate
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - /** - *
-     * Completely contained TaskTemplate
-     * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - return getTemplate(); - } - - 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 (template_ != null) { - output.writeMessage(1, getTemplate()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (template_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTemplate()); - } - 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.Compiler.CompiledTask)) { - return super.equals(obj); - } - flyteidl.core.Compiler.CompiledTask other = (flyteidl.core.Compiler.CompiledTask) obj; - - if (hasTemplate() != other.hasTemplate()) return false; - if (hasTemplate()) { - if (!getTemplate() - .equals(other.getTemplate())) 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 (hasTemplate()) { - hash = (37 * hash) + TEMPLATE_FIELD_NUMBER; - hash = (53 * hash) + getTemplate().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Compiler.CompiledTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.CompiledTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledTask 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.Compiler.CompiledTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.CompiledTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledTask 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.Compiler.CompiledTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledTask 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.Compiler.CompiledTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledTask 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.Compiler.CompiledTask 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; - } - /** - *
-     * Output of the Compilation step. This object represent one Task. We store more metadata at this layer
-     * 
- * - * Protobuf type {@code flyteidl.core.CompiledTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.CompiledTask) - flyteidl.core.Compiler.CompiledTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.CompiledTask.class, flyteidl.core.Compiler.CompiledTask.Builder.class); - } - - // Construct using flyteidl.core.Compiler.CompiledTask.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 (templateBuilder_ == null) { - template_ = null; - } else { - template_ = null; - templateBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledTask_descriptor; - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledTask getDefaultInstanceForType() { - return flyteidl.core.Compiler.CompiledTask.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledTask build() { - flyteidl.core.Compiler.CompiledTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledTask buildPartial() { - flyteidl.core.Compiler.CompiledTask result = new flyteidl.core.Compiler.CompiledTask(this); - if (templateBuilder_ == null) { - result.template_ = template_; - } else { - result.template_ = templateBuilder_.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.Compiler.CompiledTask) { - return mergeFrom((flyteidl.core.Compiler.CompiledTask)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Compiler.CompiledTask other) { - if (other == flyteidl.core.Compiler.CompiledTask.getDefaultInstance()) return this; - if (other.hasTemplate()) { - mergeTemplate(other.getTemplate()); - } - 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.Compiler.CompiledTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Compiler.CompiledTask) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Tasks.TaskTemplate template_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> templateBuilder_; - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public boolean hasTemplate() { - return templateBuilder_ != null || template_ != null; - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - if (templateBuilder_ == null) { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } else { - return templateBuilder_.getMessage(); - } - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder setTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - template_ = value; - onChanged(); - } else { - templateBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder setTemplate( - flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (templateBuilder_ == null) { - template_ = builderForValue.build(); - onChanged(); - } else { - templateBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder mergeTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (template_ != null) { - template_ = - flyteidl.core.Tasks.TaskTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); - } else { - template_ = value; - } - onChanged(); - } else { - templateBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public Builder clearTemplate() { - if (templateBuilder_ == null) { - template_ = null; - onChanged(); - } else { - template_ = null; - templateBuilder_ = null; - } - - return this; - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder getTemplateBuilder() { - - onChanged(); - return getTemplateFieldBuilder().getBuilder(); - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - if (templateBuilder_ != null) { - return templateBuilder_.getMessageOrBuilder(); - } else { - return template_ == null ? - flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - } - /** - *
-       * Completely contained TaskTemplate
-       * 
- * - * .flyteidl.core.TaskTemplate template = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> - getTemplateFieldBuilder() { - if (templateBuilder_ == null) { - templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>( - getTemplate(), - getParentForChildren(), - isClean()); - template_ = null; - } - return templateBuilder_; - } - @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.CompiledTask) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.CompiledTask) - private static final flyteidl.core.Compiler.CompiledTask DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Compiler.CompiledTask(); - } - - public static flyteidl.core.Compiler.CompiledTask getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompiledTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompiledTask(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.Compiler.CompiledTask getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CompiledWorkflowClosureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.CompiledWorkflowClosure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - boolean hasPrimary(); - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - flyteidl.core.Compiler.CompiledWorkflow getPrimary(); - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - flyteidl.core.Compiler.CompiledWorkflowOrBuilder getPrimaryOrBuilder(); - - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - java.util.List - getSubWorkflowsList(); - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - flyteidl.core.Compiler.CompiledWorkflow getSubWorkflows(int index); - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - int getSubWorkflowsCount(); - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - java.util.List - getSubWorkflowsOrBuilderList(); - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - flyteidl.core.Compiler.CompiledWorkflowOrBuilder getSubWorkflowsOrBuilder( - int index); - - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - java.util.List - getTasksList(); - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - flyteidl.core.Compiler.CompiledTask getTasks(int index); - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - int getTasksCount(); - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - java.util.List - getTasksOrBuilderList(); - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - flyteidl.core.Compiler.CompiledTaskOrBuilder getTasksOrBuilder( - int index); - } - /** - *
-   * A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow
-   * and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that
-   * will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of
-   * compiled subworkflows.
-   * 
- * - * Protobuf type {@code flyteidl.core.CompiledWorkflowClosure} - */ - public static final class CompiledWorkflowClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.CompiledWorkflowClosure) - CompiledWorkflowClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use CompiledWorkflowClosure.newBuilder() to construct. - private CompiledWorkflowClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CompiledWorkflowClosure() { - subWorkflows_ = java.util.Collections.emptyList(); - tasks_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CompiledWorkflowClosure( - 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.Compiler.CompiledWorkflow.Builder subBuilder = null; - if (primary_ != null) { - subBuilder = primary_.toBuilder(); - } - primary_ = input.readMessage(flyteidl.core.Compiler.CompiledWorkflow.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primary_); - primary_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - subWorkflows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - subWorkflows_.add( - input.readMessage(flyteidl.core.Compiler.CompiledWorkflow.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - tasks_.add( - input.readMessage(flyteidl.core.Compiler.CompiledTask.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_ & 0x00000002) != 0)) { - subWorkflows_ = java.util.Collections.unmodifiableList(subWorkflows_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflowClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflowClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.CompiledWorkflowClosure.class, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder.class); - } - - private int bitField0_; - public static final int PRIMARY_FIELD_NUMBER = 1; - private flyteidl.core.Compiler.CompiledWorkflow primary_; - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public boolean hasPrimary() { - return primary_ != null; - } - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflow getPrimary() { - return primary_ == null ? flyteidl.core.Compiler.CompiledWorkflow.getDefaultInstance() : primary_; - } - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowOrBuilder getPrimaryOrBuilder() { - return getPrimary(); - } - - public static final int SUB_WORKFLOWS_FIELD_NUMBER = 2; - private java.util.List subWorkflows_; - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public java.util.List getSubWorkflowsList() { - return subWorkflows_; - } - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public java.util.List - getSubWorkflowsOrBuilderList() { - return subWorkflows_; - } - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public int getSubWorkflowsCount() { - return subWorkflows_.size(); - } - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflow getSubWorkflows(int index) { - return subWorkflows_.get(index); - } - /** - *
-     * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-     * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-     * as an inlined workflow
-     *+optional
-     * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowOrBuilder getSubWorkflowsOrBuilder( - int index) { - return subWorkflows_.get(index); - } - - public static final int TASKS_FIELD_NUMBER = 3; - private java.util.List tasks_; - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public java.util.List getTasksList() { - return tasks_; - } - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public java.util.List - getTasksOrBuilderList() { - return tasks_; - } - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public int getTasksCount() { - return tasks_.size(); - } - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public flyteidl.core.Compiler.CompiledTask getTasks(int index) { - return tasks_.get(index); - } - /** - *
-     * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-     *+required (at least 1)
-     * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public flyteidl.core.Compiler.CompiledTaskOrBuilder getTasksOrBuilder( - int index) { - return tasks_.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 { - if (primary_ != null) { - output.writeMessage(1, getPrimary()); - } - for (int i = 0; i < subWorkflows_.size(); i++) { - output.writeMessage(2, subWorkflows_.get(i)); - } - for (int i = 0; i < tasks_.size(); i++) { - output.writeMessage(3, tasks_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (primary_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPrimary()); - } - for (int i = 0; i < subWorkflows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, subWorkflows_.get(i)); - } - for (int i = 0; i < tasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, tasks_.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.Compiler.CompiledWorkflowClosure)) { - return super.equals(obj); - } - flyteidl.core.Compiler.CompiledWorkflowClosure other = (flyteidl.core.Compiler.CompiledWorkflowClosure) obj; - - if (hasPrimary() != other.hasPrimary()) return false; - if (hasPrimary()) { - if (!getPrimary() - .equals(other.getPrimary())) return false; - } - if (!getSubWorkflowsList() - .equals(other.getSubWorkflowsList())) return false; - if (!getTasksList() - .equals(other.getTasksList())) 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 (hasPrimary()) { - hash = (37 * hash) + PRIMARY_FIELD_NUMBER; - hash = (53 * hash) + getPrimary().hashCode(); - } - if (getSubWorkflowsCount() > 0) { - hash = (37 * hash) + SUB_WORKFLOWS_FIELD_NUMBER; - hash = (53 * hash) + getSubWorkflowsList().hashCode(); - } - if (getTasksCount() > 0) { - hash = (37 * hash) + TASKS_FIELD_NUMBER; - hash = (53 * hash) + getTasksList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Compiler.CompiledWorkflowClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure 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.Compiler.CompiledWorkflowClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure 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.Compiler.CompiledWorkflowClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure 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.Compiler.CompiledWorkflowClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Compiler.CompiledWorkflowClosure 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.Compiler.CompiledWorkflowClosure 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 Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow
-     * and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that
-     * will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of
-     * compiled subworkflows.
-     * 
- * - * Protobuf type {@code flyteidl.core.CompiledWorkflowClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.CompiledWorkflowClosure) - flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflowClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflowClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Compiler.CompiledWorkflowClosure.class, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder.class); - } - - // Construct using flyteidl.core.Compiler.CompiledWorkflowClosure.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSubWorkflowsFieldBuilder(); - getTasksFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (primaryBuilder_ == null) { - primary_ = null; - } else { - primary_ = null; - primaryBuilder_ = null; - } - if (subWorkflowsBuilder_ == null) { - subWorkflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - subWorkflowsBuilder_.clear(); - } - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - tasksBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Compiler.internal_static_flyteidl_core_CompiledWorkflowClosure_descriptor; - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledWorkflowClosure getDefaultInstanceForType() { - return flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledWorkflowClosure build() { - flyteidl.core.Compiler.CompiledWorkflowClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Compiler.CompiledWorkflowClosure buildPartial() { - flyteidl.core.Compiler.CompiledWorkflowClosure result = new flyteidl.core.Compiler.CompiledWorkflowClosure(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (primaryBuilder_ == null) { - result.primary_ = primary_; - } else { - result.primary_ = primaryBuilder_.build(); - } - if (subWorkflowsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - subWorkflows_ = java.util.Collections.unmodifiableList(subWorkflows_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.subWorkflows_ = subWorkflows_; - } else { - result.subWorkflows_ = subWorkflowsBuilder_.build(); - } - if (tasksBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.tasks_ = tasks_; - } else { - result.tasks_ = tasksBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Compiler.CompiledWorkflowClosure) { - return mergeFrom((flyteidl.core.Compiler.CompiledWorkflowClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Compiler.CompiledWorkflowClosure other) { - if (other == flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance()) return this; - if (other.hasPrimary()) { - mergePrimary(other.getPrimary()); - } - if (subWorkflowsBuilder_ == null) { - if (!other.subWorkflows_.isEmpty()) { - if (subWorkflows_.isEmpty()) { - subWorkflows_ = other.subWorkflows_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureSubWorkflowsIsMutable(); - subWorkflows_.addAll(other.subWorkflows_); - } - onChanged(); - } - } else { - if (!other.subWorkflows_.isEmpty()) { - if (subWorkflowsBuilder_.isEmpty()) { - subWorkflowsBuilder_.dispose(); - subWorkflowsBuilder_ = null; - subWorkflows_ = other.subWorkflows_; - bitField0_ = (bitField0_ & ~0x00000002); - subWorkflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSubWorkflowsFieldBuilder() : null; - } else { - subWorkflowsBuilder_.addAllMessages(other.subWorkflows_); - } - } - } - if (tasksBuilder_ == null) { - if (!other.tasks_.isEmpty()) { - if (tasks_.isEmpty()) { - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureTasksIsMutable(); - tasks_.addAll(other.tasks_); - } - onChanged(); - } - } else { - if (!other.tasks_.isEmpty()) { - if (tasksBuilder_.isEmpty()) { - tasksBuilder_.dispose(); - tasksBuilder_ = null; - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000004); - tasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTasksFieldBuilder() : null; - } else { - tasksBuilder_.addAllMessages(other.tasks_); - } - } - } - 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.Compiler.CompiledWorkflowClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Compiler.CompiledWorkflowClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.Compiler.CompiledWorkflow primary_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflow, flyteidl.core.Compiler.CompiledWorkflow.Builder, flyteidl.core.Compiler.CompiledWorkflowOrBuilder> primaryBuilder_; - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public boolean hasPrimary() { - return primaryBuilder_ != null || primary_ != null; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflow getPrimary() { - if (primaryBuilder_ == null) { - return primary_ == null ? flyteidl.core.Compiler.CompiledWorkflow.getDefaultInstance() : primary_; - } else { - return primaryBuilder_.getMessage(); - } - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public Builder setPrimary(flyteidl.core.Compiler.CompiledWorkflow value) { - if (primaryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - primary_ = value; - onChanged(); - } else { - primaryBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public Builder setPrimary( - flyteidl.core.Compiler.CompiledWorkflow.Builder builderForValue) { - if (primaryBuilder_ == null) { - primary_ = builderForValue.build(); - onChanged(); - } else { - primaryBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public Builder mergePrimary(flyteidl.core.Compiler.CompiledWorkflow value) { - if (primaryBuilder_ == null) { - if (primary_ != null) { - primary_ = - flyteidl.core.Compiler.CompiledWorkflow.newBuilder(primary_).mergeFrom(value).buildPartial(); - } else { - primary_ = value; - } - onChanged(); - } else { - primaryBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public Builder clearPrimary() { - if (primaryBuilder_ == null) { - primary_ = null; - onChanged(); - } else { - primary_ = null; - primaryBuilder_ = null; - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflow.Builder getPrimaryBuilder() { - - onChanged(); - return getPrimaryFieldBuilder().getBuilder(); - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - public flyteidl.core.Compiler.CompiledWorkflowOrBuilder getPrimaryOrBuilder() { - if (primaryBuilder_ != null) { - return primaryBuilder_.getMessageOrBuilder(); - } else { - return primary_ == null ? - flyteidl.core.Compiler.CompiledWorkflow.getDefaultInstance() : primary_; - } - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.CompiledWorkflow primary = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflow, flyteidl.core.Compiler.CompiledWorkflow.Builder, flyteidl.core.Compiler.CompiledWorkflowOrBuilder> - getPrimaryFieldBuilder() { - if (primaryBuilder_ == null) { - primaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflow, flyteidl.core.Compiler.CompiledWorkflow.Builder, flyteidl.core.Compiler.CompiledWorkflowOrBuilder>( - getPrimary(), - getParentForChildren(), - isClean()); - primary_ = null; - } - return primaryBuilder_; - } - - private java.util.List subWorkflows_ = - java.util.Collections.emptyList(); - private void ensureSubWorkflowsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - subWorkflows_ = new java.util.ArrayList(subWorkflows_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflow, flyteidl.core.Compiler.CompiledWorkflow.Builder, flyteidl.core.Compiler.CompiledWorkflowOrBuilder> subWorkflowsBuilder_; - - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public java.util.List getSubWorkflowsList() { - if (subWorkflowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(subWorkflows_); - } else { - return subWorkflowsBuilder_.getMessageList(); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public int getSubWorkflowsCount() { - if (subWorkflowsBuilder_ == null) { - return subWorkflows_.size(); - } else { - return subWorkflowsBuilder_.getCount(); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflow getSubWorkflows(int index) { - if (subWorkflowsBuilder_ == null) { - return subWorkflows_.get(index); - } else { - return subWorkflowsBuilder_.getMessage(index); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder setSubWorkflows( - int index, flyteidl.core.Compiler.CompiledWorkflow value) { - if (subWorkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubWorkflowsIsMutable(); - subWorkflows_.set(index, value); - onChanged(); - } else { - subWorkflowsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder setSubWorkflows( - int index, flyteidl.core.Compiler.CompiledWorkflow.Builder builderForValue) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.set(index, builderForValue.build()); - onChanged(); - } else { - subWorkflowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder addSubWorkflows(flyteidl.core.Compiler.CompiledWorkflow value) { - if (subWorkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(value); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder addSubWorkflows( - int index, flyteidl.core.Compiler.CompiledWorkflow value) { - if (subWorkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(index, value); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder addSubWorkflows( - flyteidl.core.Compiler.CompiledWorkflow.Builder builderForValue) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(builderForValue.build()); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder addSubWorkflows( - int index, flyteidl.core.Compiler.CompiledWorkflow.Builder builderForValue) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.add(index, builderForValue.build()); - onChanged(); - } else { - subWorkflowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder addAllSubWorkflows( - java.lang.Iterable values) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subWorkflows_); - onChanged(); - } else { - subWorkflowsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder clearSubWorkflows() { - if (subWorkflowsBuilder_ == null) { - subWorkflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - subWorkflowsBuilder_.clear(); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public Builder removeSubWorkflows(int index) { - if (subWorkflowsBuilder_ == null) { - ensureSubWorkflowsIsMutable(); - subWorkflows_.remove(index); - onChanged(); - } else { - subWorkflowsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflow.Builder getSubWorkflowsBuilder( - int index) { - return getSubWorkflowsFieldBuilder().getBuilder(index); - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowOrBuilder getSubWorkflowsOrBuilder( - int index) { - if (subWorkflowsBuilder_ == null) { - return subWorkflows_.get(index); } else { - return subWorkflowsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public java.util.List - getSubWorkflowsOrBuilderList() { - if (subWorkflowsBuilder_ != null) { - return subWorkflowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(subWorkflows_); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflow.Builder addSubWorkflowsBuilder() { - return getSubWorkflowsFieldBuilder().addBuilder( - flyteidl.core.Compiler.CompiledWorkflow.getDefaultInstance()); - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflow.Builder addSubWorkflowsBuilder( - int index) { - return getSubWorkflowsFieldBuilder().addBuilder( - index, flyteidl.core.Compiler.CompiledWorkflow.getDefaultInstance()); - } - /** - *
-       * Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
-       * unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
-       * as an inlined workflow
-       *+optional
-       * 
- * - * repeated .flyteidl.core.CompiledWorkflow sub_workflows = 2; - */ - public java.util.List - getSubWorkflowsBuilderList() { - return getSubWorkflowsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflow, flyteidl.core.Compiler.CompiledWorkflow.Builder, flyteidl.core.Compiler.CompiledWorkflowOrBuilder> - getSubWorkflowsFieldBuilder() { - if (subWorkflowsBuilder_ == null) { - subWorkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflow, flyteidl.core.Compiler.CompiledWorkflow.Builder, flyteidl.core.Compiler.CompiledWorkflowOrBuilder>( - subWorkflows_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - subWorkflows_ = null; - } - return subWorkflowsBuilder_; - } - - private java.util.List tasks_ = - java.util.Collections.emptyList(); - private void ensureTasksIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - tasks_ = new java.util.ArrayList(tasks_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Compiler.CompiledTask, flyteidl.core.Compiler.CompiledTask.Builder, flyteidl.core.Compiler.CompiledTaskOrBuilder> tasksBuilder_; - - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public java.util.List getTasksList() { - if (tasksBuilder_ == null) { - return java.util.Collections.unmodifiableList(tasks_); - } else { - return tasksBuilder_.getMessageList(); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public int getTasksCount() { - if (tasksBuilder_ == null) { - return tasks_.size(); - } else { - return tasksBuilder_.getCount(); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public flyteidl.core.Compiler.CompiledTask getTasks(int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { - return tasksBuilder_.getMessage(index); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder setTasks( - int index, flyteidl.core.Compiler.CompiledTask value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.set(index, value); - onChanged(); - } else { - tasksBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder setTasks( - int index, flyteidl.core.Compiler.CompiledTask.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.set(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder addTasks(flyteidl.core.Compiler.CompiledTask value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(value); - onChanged(); - } else { - tasksBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder addTasks( - int index, flyteidl.core.Compiler.CompiledTask value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(index, value); - onChanged(); - } else { - tasksBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder addTasks( - flyteidl.core.Compiler.CompiledTask.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder addTasks( - int index, flyteidl.core.Compiler.CompiledTask.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder addAllTasks( - java.lang.Iterable values) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tasks_); - onChanged(); - } else { - tasksBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder clearTasks() { - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - tasksBuilder_.clear(); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public Builder removeTasks(int index) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.remove(index); - onChanged(); - } else { - tasksBuilder_.remove(index); - } - return this; - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public flyteidl.core.Compiler.CompiledTask.Builder getTasksBuilder( - int index) { - return getTasksFieldBuilder().getBuilder(index); - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public flyteidl.core.Compiler.CompiledTaskOrBuilder getTasksOrBuilder( - int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); } else { - return tasksBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public java.util.List - getTasksOrBuilderList() { - if (tasksBuilder_ != null) { - return tasksBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tasks_); - } - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public flyteidl.core.Compiler.CompiledTask.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - flyteidl.core.Compiler.CompiledTask.getDefaultInstance()); - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public flyteidl.core.Compiler.CompiledTask.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, flyteidl.core.Compiler.CompiledTask.getDefaultInstance()); - } - /** - *
-       * Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
-       *+required (at least 1)
-       * 
- * - * repeated .flyteidl.core.CompiledTask tasks = 3; - */ - public java.util.List - getTasksBuilderList() { - return getTasksFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Compiler.CompiledTask, flyteidl.core.Compiler.CompiledTask.Builder, flyteidl.core.Compiler.CompiledTaskOrBuilder> - getTasksFieldBuilder() { - if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Compiler.CompiledTask, flyteidl.core.Compiler.CompiledTask.Builder, flyteidl.core.Compiler.CompiledTaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - tasks_ = null; - } - return tasksBuilder_; - } - @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.CompiledWorkflowClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.CompiledWorkflowClosure) - private static final flyteidl.core.Compiler.CompiledWorkflowClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Compiler.CompiledWorkflowClosure(); - } - - public static flyteidl.core.Compiler.CompiledWorkflowClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompiledWorkflowClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompiledWorkflowClosure(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.Compiler.CompiledWorkflowClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ConnectionSet_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ConnectionSet_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ConnectionSet_IdList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ConnectionSet_IdList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ConnectionSet_DownstreamEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ConnectionSet_DownstreamEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ConnectionSet_UpstreamEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ConnectionSet_UpstreamEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_CompiledWorkflow_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_CompiledWorkflow_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_CompiledTask_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_CompiledTask_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_CompiledWorkflowClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_CompiledWorkflowClosure_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/core/compiler.proto\022\rflyteidl" + - ".core\032\034flyteidl/core/workflow.proto\032\031fly" + - "teidl/core/tasks.proto\"\324\002\n\rConnectionSet" + - "\022@\n\ndownstream\030\007 \003(\0132,.flyteidl.core.Con" + - "nectionSet.DownstreamEntry\022<\n\010upstream\030\010" + - " \003(\0132*.flyteidl.core.ConnectionSet.Upstr" + - "eamEntry\032\025\n\006IdList\022\013\n\003ids\030\001 \003(\t\032V\n\017Downs" + - "treamEntry\022\013\n\003key\030\001 \001(\t\0222\n\005value\030\002 \001(\0132#" + - ".flyteidl.core.ConnectionSet.IdList:\0028\001\032" + - "T\n\rUpstreamEntry\022\013\n\003key\030\001 \001(\t\0222\n\005value\030\002" + - " \001(\0132#.flyteidl.core.ConnectionSet.IdLis" + - "t:\0028\001\"x\n\020CompiledWorkflow\0221\n\010template\030\001 " + - "\001(\0132\037.flyteidl.core.WorkflowTemplate\0221\n\013" + - "connections\030\002 \001(\0132\034.flyteidl.core.Connec" + - "tionSet\"=\n\014CompiledTask\022-\n\010template\030\001 \001(" + - "\0132\033.flyteidl.core.TaskTemplate\"\257\001\n\027Compi" + - "ledWorkflowClosure\0220\n\007primary\030\001 \001(\0132\037.fl" + - "yteidl.core.CompiledWorkflow\0226\n\rsub_work" + - "flows\030\002 \003(\0132\037.flyteidl.core.CompiledWork" + - "flow\022*\n\005tasks\030\003 \003(\0132\033.flyteidl.core.Comp" + - "iledTaskB.flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - int getOperatorValue(); - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - flyteidl.core.Condition.ComparisonExpression.Operator getOperator(); - - /** - * .flyteidl.core.Operand left_value = 2; - */ - boolean hasLeftValue(); - /** - * .flyteidl.core.Operand left_value = 2; - */ - flyteidl.core.Condition.Operand getLeftValue(); - /** - * .flyteidl.core.Operand left_value = 2; - */ - flyteidl.core.Condition.OperandOrBuilder getLeftValueOrBuilder(); - - /** - * .flyteidl.core.Operand right_value = 3; - */ - boolean hasRightValue(); - /** - * .flyteidl.core.Operand right_value = 3; - */ - flyteidl.core.Condition.Operand getRightValue(); - /** - * .flyteidl.core.Operand right_value = 3; - */ - flyteidl.core.Condition.OperandOrBuilder getRightValueOrBuilder(); - } - /** - *
-   * Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.
-   * Each expression results in a boolean result.
-   * 
- * - * Protobuf type {@code flyteidl.core.ComparisonExpression} - */ - public static final class ComparisonExpression extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ComparisonExpression) - ComparisonExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use ComparisonExpression.newBuilder() to construct. - private ComparisonExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ComparisonExpression() { - operator_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ComparisonExpression( - 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(); - - operator_ = rawValue; - break; - } - case 18: { - flyteidl.core.Condition.Operand.Builder subBuilder = null; - if (leftValue_ != null) { - subBuilder = leftValue_.toBuilder(); - } - leftValue_ = input.readMessage(flyteidl.core.Condition.Operand.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leftValue_); - leftValue_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Condition.Operand.Builder subBuilder = null; - if (rightValue_ != null) { - subBuilder = rightValue_.toBuilder(); - } - rightValue_ = input.readMessage(flyteidl.core.Condition.Operand.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rightValue_); - rightValue_ = 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.core.Condition.internal_static_flyteidl_core_ComparisonExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ComparisonExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.ComparisonExpression.class, flyteidl.core.Condition.ComparisonExpression.Builder.class); - } - - /** - *
-     * Binary Operator for each expression
-     * 
- * - * Protobuf enum {@code flyteidl.core.ComparisonExpression.Operator} - */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { - /** - * EQ = 0; - */ - EQ(0), - /** - * NEQ = 1; - */ - NEQ(1), - /** - *
-       * Greater Than
-       * 
- * - * GT = 2; - */ - GT(2), - /** - * GTE = 3; - */ - GTE(3), - /** - *
-       * Less Than
-       * 
- * - * LT = 4; - */ - LT(4), - /** - * LTE = 5; - */ - LTE(5), - UNRECOGNIZED(-1), - ; - - /** - * EQ = 0; - */ - public static final int EQ_VALUE = 0; - /** - * NEQ = 1; - */ - public static final int NEQ_VALUE = 1; - /** - *
-       * Greater Than
-       * 
- * - * GT = 2; - */ - public static final int GT_VALUE = 2; - /** - * GTE = 3; - */ - public static final int GTE_VALUE = 3; - /** - *
-       * Less Than
-       * 
- * - * LT = 4; - */ - public static final int LT_VALUE = 4; - /** - * LTE = 5; - */ - public static final int LTE_VALUE = 5; - - - 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 Operator valueOf(int value) { - return forNumber(value); - } - - public static Operator forNumber(int value) { - switch (value) { - case 0: return EQ; - case 1: return NEQ; - case 2: return GT; - case 3: return GTE; - case 4: return LT; - case 5: return LTE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Operator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.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.Condition.ComparisonExpression.getDescriptor().getEnumTypes().get(0); - } - - private static final Operator[] VALUES = values(); - - public static Operator 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 Operator(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.ComparisonExpression.Operator) - } - - public static final int OPERATOR_FIELD_NUMBER = 1; - private int operator_; - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - public int getOperatorValue() { - return operator_; - } - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - public flyteidl.core.Condition.ComparisonExpression.Operator getOperator() { - @SuppressWarnings("deprecation") - flyteidl.core.Condition.ComparisonExpression.Operator result = flyteidl.core.Condition.ComparisonExpression.Operator.valueOf(operator_); - return result == null ? flyteidl.core.Condition.ComparisonExpression.Operator.UNRECOGNIZED : result; - } - - public static final int LEFT_VALUE_FIELD_NUMBER = 2; - private flyteidl.core.Condition.Operand leftValue_; - /** - * .flyteidl.core.Operand left_value = 2; - */ - public boolean hasLeftValue() { - return leftValue_ != null; - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public flyteidl.core.Condition.Operand getLeftValue() { - return leftValue_ == null ? flyteidl.core.Condition.Operand.getDefaultInstance() : leftValue_; - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public flyteidl.core.Condition.OperandOrBuilder getLeftValueOrBuilder() { - return getLeftValue(); - } - - public static final int RIGHT_VALUE_FIELD_NUMBER = 3; - private flyteidl.core.Condition.Operand rightValue_; - /** - * .flyteidl.core.Operand right_value = 3; - */ - public boolean hasRightValue() { - return rightValue_ != null; - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public flyteidl.core.Condition.Operand getRightValue() { - return rightValue_ == null ? flyteidl.core.Condition.Operand.getDefaultInstance() : rightValue_; - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public flyteidl.core.Condition.OperandOrBuilder getRightValueOrBuilder() { - return getRightValue(); - } - - 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 (operator_ != flyteidl.core.Condition.ComparisonExpression.Operator.EQ.getNumber()) { - output.writeEnum(1, operator_); - } - if (leftValue_ != null) { - output.writeMessage(2, getLeftValue()); - } - if (rightValue_ != null) { - output.writeMessage(3, getRightValue()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (operator_ != flyteidl.core.Condition.ComparisonExpression.Operator.EQ.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, operator_); - } - if (leftValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLeftValue()); - } - if (rightValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRightValue()); - } - 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.Condition.ComparisonExpression)) { - return super.equals(obj); - } - flyteidl.core.Condition.ComparisonExpression other = (flyteidl.core.Condition.ComparisonExpression) obj; - - if (operator_ != other.operator_) return false; - if (hasLeftValue() != other.hasLeftValue()) return false; - if (hasLeftValue()) { - if (!getLeftValue() - .equals(other.getLeftValue())) return false; - } - if (hasRightValue() != other.hasRightValue()) return false; - if (hasRightValue()) { - if (!getRightValue() - .equals(other.getRightValue())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + OPERATOR_FIELD_NUMBER; - hash = (53 * hash) + operator_; - if (hasLeftValue()) { - hash = (37 * hash) + LEFT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getLeftValue().hashCode(); - } - if (hasRightValue()) { - hash = (37 * hash) + RIGHT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getRightValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Condition.ComparisonExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.ComparisonExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.ComparisonExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.ComparisonExpression 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.Condition.ComparisonExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.ComparisonExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.ComparisonExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.ComparisonExpression 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.Condition.ComparisonExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.ComparisonExpression 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.Condition.ComparisonExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.ComparisonExpression 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.Condition.ComparisonExpression prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.
-     * Each expression results in a boolean result.
-     * 
- * - * Protobuf type {@code flyteidl.core.ComparisonExpression} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ComparisonExpression) - flyteidl.core.Condition.ComparisonExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ComparisonExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ComparisonExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.ComparisonExpression.class, flyteidl.core.Condition.ComparisonExpression.Builder.class); - } - - // Construct using flyteidl.core.Condition.ComparisonExpression.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(); - operator_ = 0; - - if (leftValueBuilder_ == null) { - leftValue_ = null; - } else { - leftValue_ = null; - leftValueBuilder_ = null; - } - if (rightValueBuilder_ == null) { - rightValue_ = null; - } else { - rightValue_ = null; - rightValueBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ComparisonExpression_descriptor; - } - - @java.lang.Override - public flyteidl.core.Condition.ComparisonExpression getDefaultInstanceForType() { - return flyteidl.core.Condition.ComparisonExpression.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Condition.ComparisonExpression build() { - flyteidl.core.Condition.ComparisonExpression result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Condition.ComparisonExpression buildPartial() { - flyteidl.core.Condition.ComparisonExpression result = new flyteidl.core.Condition.ComparisonExpression(this); - result.operator_ = operator_; - if (leftValueBuilder_ == null) { - result.leftValue_ = leftValue_; - } else { - result.leftValue_ = leftValueBuilder_.build(); - } - if (rightValueBuilder_ == null) { - result.rightValue_ = rightValue_; - } else { - result.rightValue_ = rightValueBuilder_.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.Condition.ComparisonExpression) { - return mergeFrom((flyteidl.core.Condition.ComparisonExpression)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Condition.ComparisonExpression other) { - if (other == flyteidl.core.Condition.ComparisonExpression.getDefaultInstance()) return this; - if (other.operator_ != 0) { - setOperatorValue(other.getOperatorValue()); - } - if (other.hasLeftValue()) { - mergeLeftValue(other.getLeftValue()); - } - if (other.hasRightValue()) { - mergeRightValue(other.getRightValue()); - } - 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.Condition.ComparisonExpression parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Condition.ComparisonExpression) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int operator_ = 0; - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - public int getOperatorValue() { - return operator_; - } - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - public Builder setOperatorValue(int value) { - operator_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - public flyteidl.core.Condition.ComparisonExpression.Operator getOperator() { - @SuppressWarnings("deprecation") - flyteidl.core.Condition.ComparisonExpression.Operator result = flyteidl.core.Condition.ComparisonExpression.Operator.valueOf(operator_); - return result == null ? flyteidl.core.Condition.ComparisonExpression.Operator.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - public Builder setOperator(flyteidl.core.Condition.ComparisonExpression.Operator value) { - if (value == null) { - throw new NullPointerException(); - } - - operator_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.ComparisonExpression.Operator operator = 1; - */ - public Builder clearOperator() { - - operator_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Condition.Operand leftValue_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.Operand, flyteidl.core.Condition.Operand.Builder, flyteidl.core.Condition.OperandOrBuilder> leftValueBuilder_; - /** - * .flyteidl.core.Operand left_value = 2; - */ - public boolean hasLeftValue() { - return leftValueBuilder_ != null || leftValue_ != null; - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public flyteidl.core.Condition.Operand getLeftValue() { - if (leftValueBuilder_ == null) { - return leftValue_ == null ? flyteidl.core.Condition.Operand.getDefaultInstance() : leftValue_; - } else { - return leftValueBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public Builder setLeftValue(flyteidl.core.Condition.Operand value) { - if (leftValueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - leftValue_ = value; - onChanged(); - } else { - leftValueBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public Builder setLeftValue( - flyteidl.core.Condition.Operand.Builder builderForValue) { - if (leftValueBuilder_ == null) { - leftValue_ = builderForValue.build(); - onChanged(); - } else { - leftValueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public Builder mergeLeftValue(flyteidl.core.Condition.Operand value) { - if (leftValueBuilder_ == null) { - if (leftValue_ != null) { - leftValue_ = - flyteidl.core.Condition.Operand.newBuilder(leftValue_).mergeFrom(value).buildPartial(); - } else { - leftValue_ = value; - } - onChanged(); - } else { - leftValueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public Builder clearLeftValue() { - if (leftValueBuilder_ == null) { - leftValue_ = null; - onChanged(); - } else { - leftValue_ = null; - leftValueBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public flyteidl.core.Condition.Operand.Builder getLeftValueBuilder() { - - onChanged(); - return getLeftValueFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - public flyteidl.core.Condition.OperandOrBuilder getLeftValueOrBuilder() { - if (leftValueBuilder_ != null) { - return leftValueBuilder_.getMessageOrBuilder(); - } else { - return leftValue_ == null ? - flyteidl.core.Condition.Operand.getDefaultInstance() : leftValue_; - } - } - /** - * .flyteidl.core.Operand left_value = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.Operand, flyteidl.core.Condition.Operand.Builder, flyteidl.core.Condition.OperandOrBuilder> - getLeftValueFieldBuilder() { - if (leftValueBuilder_ == null) { - leftValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.Operand, flyteidl.core.Condition.Operand.Builder, flyteidl.core.Condition.OperandOrBuilder>( - getLeftValue(), - getParentForChildren(), - isClean()); - leftValue_ = null; - } - return leftValueBuilder_; - } - - private flyteidl.core.Condition.Operand rightValue_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.Operand, flyteidl.core.Condition.Operand.Builder, flyteidl.core.Condition.OperandOrBuilder> rightValueBuilder_; - /** - * .flyteidl.core.Operand right_value = 3; - */ - public boolean hasRightValue() { - return rightValueBuilder_ != null || rightValue_ != null; - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public flyteidl.core.Condition.Operand getRightValue() { - if (rightValueBuilder_ == null) { - return rightValue_ == null ? flyteidl.core.Condition.Operand.getDefaultInstance() : rightValue_; - } else { - return rightValueBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public Builder setRightValue(flyteidl.core.Condition.Operand value) { - if (rightValueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rightValue_ = value; - onChanged(); - } else { - rightValueBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public Builder setRightValue( - flyteidl.core.Condition.Operand.Builder builderForValue) { - if (rightValueBuilder_ == null) { - rightValue_ = builderForValue.build(); - onChanged(); - } else { - rightValueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public Builder mergeRightValue(flyteidl.core.Condition.Operand value) { - if (rightValueBuilder_ == null) { - if (rightValue_ != null) { - rightValue_ = - flyteidl.core.Condition.Operand.newBuilder(rightValue_).mergeFrom(value).buildPartial(); - } else { - rightValue_ = value; - } - onChanged(); - } else { - rightValueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public Builder clearRightValue() { - if (rightValueBuilder_ == null) { - rightValue_ = null; - onChanged(); - } else { - rightValue_ = null; - rightValueBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public flyteidl.core.Condition.Operand.Builder getRightValueBuilder() { - - onChanged(); - return getRightValueFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - public flyteidl.core.Condition.OperandOrBuilder getRightValueOrBuilder() { - if (rightValueBuilder_ != null) { - return rightValueBuilder_.getMessageOrBuilder(); - } else { - return rightValue_ == null ? - flyteidl.core.Condition.Operand.getDefaultInstance() : rightValue_; - } - } - /** - * .flyteidl.core.Operand right_value = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.Operand, flyteidl.core.Condition.Operand.Builder, flyteidl.core.Condition.OperandOrBuilder> - getRightValueFieldBuilder() { - if (rightValueBuilder_ == null) { - rightValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.Operand, flyteidl.core.Condition.Operand.Builder, flyteidl.core.Condition.OperandOrBuilder>( - getRightValue(), - getParentForChildren(), - isClean()); - rightValue_ = null; - } - return rightValueBuilder_; - } - @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.ComparisonExpression) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ComparisonExpression) - private static final flyteidl.core.Condition.ComparisonExpression DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Condition.ComparisonExpression(); - } - - public static flyteidl.core.Condition.ComparisonExpression getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComparisonExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComparisonExpression(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.Condition.ComparisonExpression getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OperandOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Operand) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Can be a constant
-     * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasPrimitive(); - /** - *
-     * Can be a constant
-     * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.Primitive getPrimitive(); - /** - *
-     * Can be a constant
-     * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.PrimitiveOrBuilder getPrimitiveOrBuilder(); - - /** - *
-     * Or one of this node's input variables
-     * 
- * - * string var = 2; - */ - java.lang.String getVar(); - /** - *
-     * Or one of this node's input variables
-     * 
- * - * string var = 2; - */ - com.google.protobuf.ByteString - getVarBytes(); - - /** - *
-     * Replace the primitive field
-     * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - boolean hasScalar(); - /** - *
-     * Replace the primitive field
-     * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - flyteidl.core.Literals.Scalar getScalar(); - /** - *
-     * Replace the primitive field
-     * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder(); - - public flyteidl.core.Condition.Operand.ValCase getValCase(); - } - /** - *
-   * Defines an operand to a comparison expression.
-   * 
- * - * Protobuf type {@code flyteidl.core.Operand} - */ - public static final class Operand extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Operand) - OperandOrBuilder { - private static final long serialVersionUID = 0L; - // Use Operand.newBuilder() to construct. - private Operand(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Operand() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Operand( - 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.Literals.Primitive.Builder subBuilder = null; - if (valCase_ == 1) { - subBuilder = ((flyteidl.core.Literals.Primitive) val_).toBuilder(); - } - val_ = - input.readMessage(flyteidl.core.Literals.Primitive.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Primitive) val_); - val_ = subBuilder.buildPartial(); - } - valCase_ = 1; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - valCase_ = 2; - val_ = s; - break; - } - case 26: { - flyteidl.core.Literals.Scalar.Builder subBuilder = null; - if (valCase_ == 3) { - subBuilder = ((flyteidl.core.Literals.Scalar) val_).toBuilder(); - } - val_ = - input.readMessage(flyteidl.core.Literals.Scalar.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Scalar) val_); - val_ = subBuilder.buildPartial(); - } - valCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Condition.internal_static_flyteidl_core_Operand_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_Operand_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.Operand.class, flyteidl.core.Condition.Operand.Builder.class); - } - - private int valCase_ = 0; - private java.lang.Object val_; - public enum ValCase - implements com.google.protobuf.Internal.EnumLite { - @java.lang.Deprecated PRIMITIVE(1), - VAR(2), - SCALAR(3), - VAL_NOT_SET(0); - private final int value; - private ValCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValCase valueOf(int value) { - return forNumber(value); - } - - public static ValCase forNumber(int value) { - switch (value) { - case 1: return PRIMITIVE; - case 2: return VAR; - case 3: return SCALAR; - case 0: return VAL_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ValCase - getValCase() { - return ValCase.forNumber( - valCase_); - } - - public static final int PRIMITIVE_FIELD_NUMBER = 1; - /** - *
-     * Can be a constant
-     * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasPrimitive() { - return valCase_ == 1; - } - /** - *
-     * Can be a constant
-     * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.Primitive getPrimitive() { - if (valCase_ == 1) { - return (flyteidl.core.Literals.Primitive) val_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - /** - *
-     * Can be a constant
-     * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.PrimitiveOrBuilder getPrimitiveOrBuilder() { - if (valCase_ == 1) { - return (flyteidl.core.Literals.Primitive) val_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - - public static final int VAR_FIELD_NUMBER = 2; - /** - *
-     * Or one of this node's input variables
-     * 
- * - * string var = 2; - */ - public java.lang.String getVar() { - java.lang.Object ref = ""; - if (valCase_ == 2) { - ref = val_; - } - 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 (valCase_ == 2) { - val_ = s; - } - return s; - } - } - /** - *
-     * Or one of this node's input variables
-     * 
- * - * string var = 2; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = ""; - if (valCase_ == 2) { - ref = val_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valCase_ == 2) { - val_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCALAR_FIELD_NUMBER = 3; - /** - *
-     * Replace the primitive field
-     * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public boolean hasScalar() { - return valCase_ == 3; - } - /** - *
-     * Replace the primitive field
-     * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public flyteidl.core.Literals.Scalar getScalar() { - if (valCase_ == 3) { - return (flyteidl.core.Literals.Scalar) val_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - /** - *
-     * Replace the primitive field
-     * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder() { - if (valCase_ == 3) { - return (flyteidl.core.Literals.Scalar) val_; - } - return flyteidl.core.Literals.Scalar.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 (valCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Literals.Primitive) val_); - } - if (valCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, val_); - } - if (valCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Literals.Scalar) val_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (valCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Literals.Primitive) val_); - } - if (valCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, val_); - } - if (valCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Literals.Scalar) val_); - } - 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.Condition.Operand)) { - return super.equals(obj); - } - flyteidl.core.Condition.Operand other = (flyteidl.core.Condition.Operand) obj; - - if (!getValCase().equals(other.getValCase())) return false; - switch (valCase_) { - case 1: - if (!getPrimitive() - .equals(other.getPrimitive())) return false; - break; - case 2: - if (!getVar() - .equals(other.getVar())) return false; - break; - case 3: - if (!getScalar() - .equals(other.getScalar())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (valCase_) { - case 1: - hash = (37 * hash) + PRIMITIVE_FIELD_NUMBER; - hash = (53 * hash) + getPrimitive().hashCode(); - break; - case 2: - hash = (37 * hash) + VAR_FIELD_NUMBER; - hash = (53 * hash) + getVar().hashCode(); - break; - case 3: - hash = (37 * hash) + SCALAR_FIELD_NUMBER; - hash = (53 * hash) + getScalar().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Condition.Operand parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.Operand parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.Operand parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.Operand 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.Condition.Operand parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.Operand parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.Operand parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.Operand 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.Condition.Operand parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.Operand 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.Condition.Operand parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.Operand 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.Condition.Operand prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines an operand to a comparison expression.
-     * 
- * - * Protobuf type {@code flyteidl.core.Operand} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Operand) - flyteidl.core.Condition.OperandOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Condition.internal_static_flyteidl_core_Operand_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_Operand_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.Operand.class, flyteidl.core.Condition.Operand.Builder.class); - } - - // Construct using flyteidl.core.Condition.Operand.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(); - valCase_ = 0; - val_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Condition.internal_static_flyteidl_core_Operand_descriptor; - } - - @java.lang.Override - public flyteidl.core.Condition.Operand getDefaultInstanceForType() { - return flyteidl.core.Condition.Operand.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Condition.Operand build() { - flyteidl.core.Condition.Operand result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Condition.Operand buildPartial() { - flyteidl.core.Condition.Operand result = new flyteidl.core.Condition.Operand(this); - if (valCase_ == 1) { - if (primitiveBuilder_ == null) { - result.val_ = val_; - } else { - result.val_ = primitiveBuilder_.build(); - } - } - if (valCase_ == 2) { - result.val_ = val_; - } - if (valCase_ == 3) { - if (scalarBuilder_ == null) { - result.val_ = val_; - } else { - result.val_ = scalarBuilder_.build(); - } - } - result.valCase_ = valCase_; - 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.Condition.Operand) { - return mergeFrom((flyteidl.core.Condition.Operand)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Condition.Operand other) { - if (other == flyteidl.core.Condition.Operand.getDefaultInstance()) return this; - switch (other.getValCase()) { - case PRIMITIVE: { - mergePrimitive(other.getPrimitive()); - break; - } - case VAR: { - valCase_ = 2; - val_ = other.val_; - onChanged(); - break; - } - case SCALAR: { - mergeScalar(other.getScalar()); - break; - } - case VAL_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.Condition.Operand parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Condition.Operand) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int valCase_ = 0; - private java.lang.Object val_; - public ValCase - getValCase() { - return ValCase.forNumber( - valCase_); - } - - public Builder clearVal() { - valCase_ = 0; - val_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Primitive, flyteidl.core.Literals.Primitive.Builder, flyteidl.core.Literals.PrimitiveOrBuilder> primitiveBuilder_; - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasPrimitive() { - return valCase_ == 1; - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.Primitive getPrimitive() { - if (primitiveBuilder_ == null) { - if (valCase_ == 1) { - return (flyteidl.core.Literals.Primitive) val_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } else { - if (valCase_ == 1) { - return primitiveBuilder_.getMessage(); - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setPrimitive(flyteidl.core.Literals.Primitive value) { - if (primitiveBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - val_ = value; - onChanged(); - } else { - primitiveBuilder_.setMessage(value); - } - valCase_ = 1; - return this; - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setPrimitive( - flyteidl.core.Literals.Primitive.Builder builderForValue) { - if (primitiveBuilder_ == null) { - val_ = builderForValue.build(); - onChanged(); - } else { - primitiveBuilder_.setMessage(builderForValue.build()); - } - valCase_ = 1; - return this; - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergePrimitive(flyteidl.core.Literals.Primitive value) { - if (primitiveBuilder_ == null) { - if (valCase_ == 1 && - val_ != flyteidl.core.Literals.Primitive.getDefaultInstance()) { - val_ = flyteidl.core.Literals.Primitive.newBuilder((flyteidl.core.Literals.Primitive) val_) - .mergeFrom(value).buildPartial(); - } else { - val_ = value; - } - onChanged(); - } else { - if (valCase_ == 1) { - primitiveBuilder_.mergeFrom(value); - } - primitiveBuilder_.setMessage(value); - } - valCase_ = 1; - return this; - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearPrimitive() { - if (primitiveBuilder_ == null) { - if (valCase_ == 1) { - valCase_ = 0; - val_ = null; - onChanged(); - } - } else { - if (valCase_ == 1) { - valCase_ = 0; - val_ = null; - } - primitiveBuilder_.clear(); - } - return this; - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.Primitive.Builder getPrimitiveBuilder() { - return getPrimitiveFieldBuilder().getBuilder(); - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.PrimitiveOrBuilder getPrimitiveOrBuilder() { - if ((valCase_ == 1) && (primitiveBuilder_ != null)) { - return primitiveBuilder_.getMessageOrBuilder(); - } else { - if (valCase_ == 1) { - return (flyteidl.core.Literals.Primitive) val_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - } - /** - *
-       * Can be a constant
-       * 
- * - * .flyteidl.core.Primitive primitive = 1 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Primitive, flyteidl.core.Literals.Primitive.Builder, flyteidl.core.Literals.PrimitiveOrBuilder> - getPrimitiveFieldBuilder() { - if (primitiveBuilder_ == null) { - if (!(valCase_ == 1)) { - val_ = flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - primitiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Primitive, flyteidl.core.Literals.Primitive.Builder, flyteidl.core.Literals.PrimitiveOrBuilder>( - (flyteidl.core.Literals.Primitive) val_, - getParentForChildren(), - isClean()); - val_ = null; - } - valCase_ = 1; - onChanged();; - return primitiveBuilder_; - } - - /** - *
-       * Or one of this node's input variables
-       * 
- * - * string var = 2; - */ - public java.lang.String getVar() { - java.lang.Object ref = ""; - if (valCase_ == 2) { - ref = val_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (valCase_ == 2) { - val_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Or one of this node's input variables
-       * 
- * - * string var = 2; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = ""; - if (valCase_ == 2) { - ref = val_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valCase_ == 2) { - val_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Or one of this node's input variables
-       * 
- * - * string var = 2; - */ - public Builder setVar( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - valCase_ = 2; - val_ = value; - onChanged(); - return this; - } - /** - *
-       * Or one of this node's input variables
-       * 
- * - * string var = 2; - */ - public Builder clearVar() { - if (valCase_ == 2) { - valCase_ = 0; - val_ = null; - onChanged(); - } - return this; - } - /** - *
-       * Or one of this node's input variables
-       * 
- * - * string var = 2; - */ - public Builder setVarBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - valCase_ = 2; - val_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> scalarBuilder_; - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public boolean hasScalar() { - return valCase_ == 3; - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public flyteidl.core.Literals.Scalar getScalar() { - if (scalarBuilder_ == null) { - if (valCase_ == 3) { - return (flyteidl.core.Literals.Scalar) val_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } else { - if (valCase_ == 3) { - return scalarBuilder_.getMessage(); - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public Builder setScalar(flyteidl.core.Literals.Scalar value) { - if (scalarBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - val_ = value; - onChanged(); - } else { - scalarBuilder_.setMessage(value); - } - valCase_ = 3; - return this; - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public Builder setScalar( - flyteidl.core.Literals.Scalar.Builder builderForValue) { - if (scalarBuilder_ == null) { - val_ = builderForValue.build(); - onChanged(); - } else { - scalarBuilder_.setMessage(builderForValue.build()); - } - valCase_ = 3; - return this; - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public Builder mergeScalar(flyteidl.core.Literals.Scalar value) { - if (scalarBuilder_ == null) { - if (valCase_ == 3 && - val_ != flyteidl.core.Literals.Scalar.getDefaultInstance()) { - val_ = flyteidl.core.Literals.Scalar.newBuilder((flyteidl.core.Literals.Scalar) val_) - .mergeFrom(value).buildPartial(); - } else { - val_ = value; - } - onChanged(); - } else { - if (valCase_ == 3) { - scalarBuilder_.mergeFrom(value); - } - scalarBuilder_.setMessage(value); - } - valCase_ = 3; - return this; - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public Builder clearScalar() { - if (scalarBuilder_ == null) { - if (valCase_ == 3) { - valCase_ = 0; - val_ = null; - onChanged(); - } - } else { - if (valCase_ == 3) { - valCase_ = 0; - val_ = null; - } - scalarBuilder_.clear(); - } - return this; - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public flyteidl.core.Literals.Scalar.Builder getScalarBuilder() { - return getScalarFieldBuilder().getBuilder(); - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - public flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder() { - if ((valCase_ == 3) && (scalarBuilder_ != null)) { - return scalarBuilder_.getMessageOrBuilder(); - } else { - if (valCase_ == 3) { - return (flyteidl.core.Literals.Scalar) val_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - } - /** - *
-       * Replace the primitive field
-       * 
- * - * .flyteidl.core.Scalar scalar = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> - getScalarFieldBuilder() { - if (scalarBuilder_ == null) { - if (!(valCase_ == 3)) { - val_ = flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - scalarBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder>( - (flyteidl.core.Literals.Scalar) val_, - getParentForChildren(), - isClean()); - val_ = null; - } - valCase_ = 3; - onChanged();; - return scalarBuilder_; - } - @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.Operand) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Operand) - private static final flyteidl.core.Condition.Operand DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Condition.Operand(); - } - - public static flyteidl.core.Condition.Operand getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operand parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Operand(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.Condition.Operand getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BooleanExpressionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.BooleanExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - boolean hasConjunction(); - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - flyteidl.core.Condition.ConjunctionExpression getConjunction(); - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - flyteidl.core.Condition.ConjunctionExpressionOrBuilder getConjunctionOrBuilder(); - - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - boolean hasComparison(); - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - flyteidl.core.Condition.ComparisonExpression getComparison(); - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - flyteidl.core.Condition.ComparisonExpressionOrBuilder getComparisonOrBuilder(); - - public flyteidl.core.Condition.BooleanExpression.ExprCase getExprCase(); - } - /** - *
-   * Defines a boolean expression tree. It can be a simple or a conjunction expression.
-   * Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result.
-   * 
- * - * Protobuf type {@code flyteidl.core.BooleanExpression} - */ - public static final class BooleanExpression extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.BooleanExpression) - BooleanExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use BooleanExpression.newBuilder() to construct. - private BooleanExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BooleanExpression() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BooleanExpression( - 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.Condition.ConjunctionExpression.Builder subBuilder = null; - if (exprCase_ == 1) { - subBuilder = ((flyteidl.core.Condition.ConjunctionExpression) expr_).toBuilder(); - } - expr_ = - input.readMessage(flyteidl.core.Condition.ConjunctionExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Condition.ConjunctionExpression) expr_); - expr_ = subBuilder.buildPartial(); - } - exprCase_ = 1; - break; - } - case 18: { - flyteidl.core.Condition.ComparisonExpression.Builder subBuilder = null; - if (exprCase_ == 2) { - subBuilder = ((flyteidl.core.Condition.ComparisonExpression) expr_).toBuilder(); - } - expr_ = - input.readMessage(flyteidl.core.Condition.ComparisonExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Condition.ComparisonExpression) expr_); - expr_ = subBuilder.buildPartial(); - } - exprCase_ = 2; - 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.Condition.internal_static_flyteidl_core_BooleanExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_BooleanExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.BooleanExpression.class, flyteidl.core.Condition.BooleanExpression.Builder.class); - } - - private int exprCase_ = 0; - private java.lang.Object expr_; - public enum ExprCase - implements com.google.protobuf.Internal.EnumLite { - CONJUNCTION(1), - COMPARISON(2), - EXPR_NOT_SET(0); - private final int value; - private ExprCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ExprCase valueOf(int value) { - return forNumber(value); - } - - public static ExprCase forNumber(int value) { - switch (value) { - case 1: return CONJUNCTION; - case 2: return COMPARISON; - case 0: return EXPR_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ExprCase - getExprCase() { - return ExprCase.forNumber( - exprCase_); - } - - public static final int CONJUNCTION_FIELD_NUMBER = 1; - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public boolean hasConjunction() { - return exprCase_ == 1; - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public flyteidl.core.Condition.ConjunctionExpression getConjunction() { - if (exprCase_ == 1) { - return (flyteidl.core.Condition.ConjunctionExpression) expr_; - } - return flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance(); - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public flyteidl.core.Condition.ConjunctionExpressionOrBuilder getConjunctionOrBuilder() { - if (exprCase_ == 1) { - return (flyteidl.core.Condition.ConjunctionExpression) expr_; - } - return flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance(); - } - - public static final int COMPARISON_FIELD_NUMBER = 2; - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public boolean hasComparison() { - return exprCase_ == 2; - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public flyteidl.core.Condition.ComparisonExpression getComparison() { - if (exprCase_ == 2) { - return (flyteidl.core.Condition.ComparisonExpression) expr_; - } - return flyteidl.core.Condition.ComparisonExpression.getDefaultInstance(); - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public flyteidl.core.Condition.ComparisonExpressionOrBuilder getComparisonOrBuilder() { - if (exprCase_ == 2) { - return (flyteidl.core.Condition.ComparisonExpression) expr_; - } - return flyteidl.core.Condition.ComparisonExpression.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 (exprCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Condition.ConjunctionExpression) expr_); - } - if (exprCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Condition.ComparisonExpression) expr_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (exprCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Condition.ConjunctionExpression) expr_); - } - if (exprCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Condition.ComparisonExpression) expr_); - } - 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.Condition.BooleanExpression)) { - return super.equals(obj); - } - flyteidl.core.Condition.BooleanExpression other = (flyteidl.core.Condition.BooleanExpression) obj; - - if (!getExprCase().equals(other.getExprCase())) return false; - switch (exprCase_) { - case 1: - if (!getConjunction() - .equals(other.getConjunction())) return false; - break; - case 2: - if (!getComparison() - .equals(other.getComparison())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (exprCase_) { - case 1: - hash = (37 * hash) + CONJUNCTION_FIELD_NUMBER; - hash = (53 * hash) + getConjunction().hashCode(); - break; - case 2: - hash = (37 * hash) + COMPARISON_FIELD_NUMBER; - hash = (53 * hash) + getComparison().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Condition.BooleanExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.BooleanExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.BooleanExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.BooleanExpression 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.Condition.BooleanExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.BooleanExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.BooleanExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.BooleanExpression 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.Condition.BooleanExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.BooleanExpression 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.Condition.BooleanExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.BooleanExpression 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.Condition.BooleanExpression prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a boolean expression tree. It can be a simple or a conjunction expression.
-     * Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result.
-     * 
- * - * Protobuf type {@code flyteidl.core.BooleanExpression} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.BooleanExpression) - flyteidl.core.Condition.BooleanExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Condition.internal_static_flyteidl_core_BooleanExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_BooleanExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.BooleanExpression.class, flyteidl.core.Condition.BooleanExpression.Builder.class); - } - - // Construct using flyteidl.core.Condition.BooleanExpression.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(); - exprCase_ = 0; - expr_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Condition.internal_static_flyteidl_core_BooleanExpression_descriptor; - } - - @java.lang.Override - public flyteidl.core.Condition.BooleanExpression getDefaultInstanceForType() { - return flyteidl.core.Condition.BooleanExpression.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Condition.BooleanExpression build() { - flyteidl.core.Condition.BooleanExpression result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Condition.BooleanExpression buildPartial() { - flyteidl.core.Condition.BooleanExpression result = new flyteidl.core.Condition.BooleanExpression(this); - if (exprCase_ == 1) { - if (conjunctionBuilder_ == null) { - result.expr_ = expr_; - } else { - result.expr_ = conjunctionBuilder_.build(); - } - } - if (exprCase_ == 2) { - if (comparisonBuilder_ == null) { - result.expr_ = expr_; - } else { - result.expr_ = comparisonBuilder_.build(); - } - } - result.exprCase_ = exprCase_; - 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.Condition.BooleanExpression) { - return mergeFrom((flyteidl.core.Condition.BooleanExpression)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Condition.BooleanExpression other) { - if (other == flyteidl.core.Condition.BooleanExpression.getDefaultInstance()) return this; - switch (other.getExprCase()) { - case CONJUNCTION: { - mergeConjunction(other.getConjunction()); - break; - } - case COMPARISON: { - mergeComparison(other.getComparison()); - break; - } - case EXPR_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.Condition.BooleanExpression parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Condition.BooleanExpression) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int exprCase_ = 0; - private java.lang.Object expr_; - public ExprCase - getExprCase() { - return ExprCase.forNumber( - exprCase_); - } - - public Builder clearExpr() { - exprCase_ = 0; - expr_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.ConjunctionExpression, flyteidl.core.Condition.ConjunctionExpression.Builder, flyteidl.core.Condition.ConjunctionExpressionOrBuilder> conjunctionBuilder_; - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public boolean hasConjunction() { - return exprCase_ == 1; - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public flyteidl.core.Condition.ConjunctionExpression getConjunction() { - if (conjunctionBuilder_ == null) { - if (exprCase_ == 1) { - return (flyteidl.core.Condition.ConjunctionExpression) expr_; - } - return flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance(); - } else { - if (exprCase_ == 1) { - return conjunctionBuilder_.getMessage(); - } - return flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public Builder setConjunction(flyteidl.core.Condition.ConjunctionExpression value) { - if (conjunctionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expr_ = value; - onChanged(); - } else { - conjunctionBuilder_.setMessage(value); - } - exprCase_ = 1; - return this; - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public Builder setConjunction( - flyteidl.core.Condition.ConjunctionExpression.Builder builderForValue) { - if (conjunctionBuilder_ == null) { - expr_ = builderForValue.build(); - onChanged(); - } else { - conjunctionBuilder_.setMessage(builderForValue.build()); - } - exprCase_ = 1; - return this; - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public Builder mergeConjunction(flyteidl.core.Condition.ConjunctionExpression value) { - if (conjunctionBuilder_ == null) { - if (exprCase_ == 1 && - expr_ != flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance()) { - expr_ = flyteidl.core.Condition.ConjunctionExpression.newBuilder((flyteidl.core.Condition.ConjunctionExpression) expr_) - .mergeFrom(value).buildPartial(); - } else { - expr_ = value; - } - onChanged(); - } else { - if (exprCase_ == 1) { - conjunctionBuilder_.mergeFrom(value); - } - conjunctionBuilder_.setMessage(value); - } - exprCase_ = 1; - return this; - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public Builder clearConjunction() { - if (conjunctionBuilder_ == null) { - if (exprCase_ == 1) { - exprCase_ = 0; - expr_ = null; - onChanged(); - } - } else { - if (exprCase_ == 1) { - exprCase_ = 0; - expr_ = null; - } - conjunctionBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public flyteidl.core.Condition.ConjunctionExpression.Builder getConjunctionBuilder() { - return getConjunctionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - public flyteidl.core.Condition.ConjunctionExpressionOrBuilder getConjunctionOrBuilder() { - if ((exprCase_ == 1) && (conjunctionBuilder_ != null)) { - return conjunctionBuilder_.getMessageOrBuilder(); - } else { - if (exprCase_ == 1) { - return (flyteidl.core.Condition.ConjunctionExpression) expr_; - } - return flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ConjunctionExpression conjunction = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.ConjunctionExpression, flyteidl.core.Condition.ConjunctionExpression.Builder, flyteidl.core.Condition.ConjunctionExpressionOrBuilder> - getConjunctionFieldBuilder() { - if (conjunctionBuilder_ == null) { - if (!(exprCase_ == 1)) { - expr_ = flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance(); - } - conjunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.ConjunctionExpression, flyteidl.core.Condition.ConjunctionExpression.Builder, flyteidl.core.Condition.ConjunctionExpressionOrBuilder>( - (flyteidl.core.Condition.ConjunctionExpression) expr_, - getParentForChildren(), - isClean()); - expr_ = null; - } - exprCase_ = 1; - onChanged();; - return conjunctionBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.ComparisonExpression, flyteidl.core.Condition.ComparisonExpression.Builder, flyteidl.core.Condition.ComparisonExpressionOrBuilder> comparisonBuilder_; - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public boolean hasComparison() { - return exprCase_ == 2; - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public flyteidl.core.Condition.ComparisonExpression getComparison() { - if (comparisonBuilder_ == null) { - if (exprCase_ == 2) { - return (flyteidl.core.Condition.ComparisonExpression) expr_; - } - return flyteidl.core.Condition.ComparisonExpression.getDefaultInstance(); - } else { - if (exprCase_ == 2) { - return comparisonBuilder_.getMessage(); - } - return flyteidl.core.Condition.ComparisonExpression.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public Builder setComparison(flyteidl.core.Condition.ComparisonExpression value) { - if (comparisonBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expr_ = value; - onChanged(); - } else { - comparisonBuilder_.setMessage(value); - } - exprCase_ = 2; - return this; - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public Builder setComparison( - flyteidl.core.Condition.ComparisonExpression.Builder builderForValue) { - if (comparisonBuilder_ == null) { - expr_ = builderForValue.build(); - onChanged(); - } else { - comparisonBuilder_.setMessage(builderForValue.build()); - } - exprCase_ = 2; - return this; - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public Builder mergeComparison(flyteidl.core.Condition.ComparisonExpression value) { - if (comparisonBuilder_ == null) { - if (exprCase_ == 2 && - expr_ != flyteidl.core.Condition.ComparisonExpression.getDefaultInstance()) { - expr_ = flyteidl.core.Condition.ComparisonExpression.newBuilder((flyteidl.core.Condition.ComparisonExpression) expr_) - .mergeFrom(value).buildPartial(); - } else { - expr_ = value; - } - onChanged(); - } else { - if (exprCase_ == 2) { - comparisonBuilder_.mergeFrom(value); - } - comparisonBuilder_.setMessage(value); - } - exprCase_ = 2; - return this; - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public Builder clearComparison() { - if (comparisonBuilder_ == null) { - if (exprCase_ == 2) { - exprCase_ = 0; - expr_ = null; - onChanged(); - } - } else { - if (exprCase_ == 2) { - exprCase_ = 0; - expr_ = null; - } - comparisonBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public flyteidl.core.Condition.ComparisonExpression.Builder getComparisonBuilder() { - return getComparisonFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - public flyteidl.core.Condition.ComparisonExpressionOrBuilder getComparisonOrBuilder() { - if ((exprCase_ == 2) && (comparisonBuilder_ != null)) { - return comparisonBuilder_.getMessageOrBuilder(); - } else { - if (exprCase_ == 2) { - return (flyteidl.core.Condition.ComparisonExpression) expr_; - } - return flyteidl.core.Condition.ComparisonExpression.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ComparisonExpression comparison = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.ComparisonExpression, flyteidl.core.Condition.ComparisonExpression.Builder, flyteidl.core.Condition.ComparisonExpressionOrBuilder> - getComparisonFieldBuilder() { - if (comparisonBuilder_ == null) { - if (!(exprCase_ == 2)) { - expr_ = flyteidl.core.Condition.ComparisonExpression.getDefaultInstance(); - } - comparisonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.ComparisonExpression, flyteidl.core.Condition.ComparisonExpression.Builder, flyteidl.core.Condition.ComparisonExpressionOrBuilder>( - (flyteidl.core.Condition.ComparisonExpression) expr_, - getParentForChildren(), - isClean()); - expr_ = null; - } - exprCase_ = 2; - onChanged();; - return comparisonBuilder_; - } - @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.BooleanExpression) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.BooleanExpression) - private static final flyteidl.core.Condition.BooleanExpression DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Condition.BooleanExpression(); - } - - public static flyteidl.core.Condition.BooleanExpression getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BooleanExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BooleanExpression(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.Condition.BooleanExpression getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ConjunctionExpressionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ConjunctionExpression) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - int getOperatorValue(); - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - flyteidl.core.Condition.ConjunctionExpression.LogicalOperator getOperator(); - - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - boolean hasLeftExpression(); - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - flyteidl.core.Condition.BooleanExpression getLeftExpression(); - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - flyteidl.core.Condition.BooleanExpressionOrBuilder getLeftExpressionOrBuilder(); - - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - boolean hasRightExpression(); - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - flyteidl.core.Condition.BooleanExpression getRightExpression(); - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - flyteidl.core.Condition.BooleanExpressionOrBuilder getRightExpressionOrBuilder(); - } - /** - *
-   * Defines a conjunction expression of two boolean expressions.
-   * 
- * - * Protobuf type {@code flyteidl.core.ConjunctionExpression} - */ - public static final class ConjunctionExpression extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ConjunctionExpression) - ConjunctionExpressionOrBuilder { - private static final long serialVersionUID = 0L; - // Use ConjunctionExpression.newBuilder() to construct. - private ConjunctionExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ConjunctionExpression() { - operator_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ConjunctionExpression( - 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(); - - operator_ = rawValue; - break; - } - case 18: { - flyteidl.core.Condition.BooleanExpression.Builder subBuilder = null; - if (leftExpression_ != null) { - subBuilder = leftExpression_.toBuilder(); - } - leftExpression_ = input.readMessage(flyteidl.core.Condition.BooleanExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leftExpression_); - leftExpression_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Condition.BooleanExpression.Builder subBuilder = null; - if (rightExpression_ != null) { - subBuilder = rightExpression_.toBuilder(); - } - rightExpression_ = input.readMessage(flyteidl.core.Condition.BooleanExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rightExpression_); - rightExpression_ = 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.core.Condition.internal_static_flyteidl_core_ConjunctionExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ConjunctionExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.ConjunctionExpression.class, flyteidl.core.Condition.ConjunctionExpression.Builder.class); - } - - /** - *
-     * Nested conditions. They can be conjoined using AND / OR
-     * Order of evaluation is not important as the operators are Commutative
-     * 
- * - * Protobuf enum {@code flyteidl.core.ConjunctionExpression.LogicalOperator} - */ - public enum LogicalOperator - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * Conjunction
-       * 
- * - * AND = 0; - */ - AND(0), - /** - * OR = 1; - */ - OR(1), - UNRECOGNIZED(-1), - ; - - /** - *
-       * Conjunction
-       * 
- * - * AND = 0; - */ - public static final int AND_VALUE = 0; - /** - * OR = 1; - */ - public static final int OR_VALUE = 1; - - - 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 LogicalOperator valueOf(int value) { - return forNumber(value); - } - - public static LogicalOperator forNumber(int value) { - switch (value) { - case 0: return AND; - case 1: return OR; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - LogicalOperator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LogicalOperator findValueByNumber(int number) { - return LogicalOperator.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.Condition.ConjunctionExpression.getDescriptor().getEnumTypes().get(0); - } - - private static final LogicalOperator[] VALUES = values(); - - public static LogicalOperator 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 LogicalOperator(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.ConjunctionExpression.LogicalOperator) - } - - public static final int OPERATOR_FIELD_NUMBER = 1; - private int operator_; - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - public int getOperatorValue() { - return operator_; - } - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - public flyteidl.core.Condition.ConjunctionExpression.LogicalOperator getOperator() { - @SuppressWarnings("deprecation") - flyteidl.core.Condition.ConjunctionExpression.LogicalOperator result = flyteidl.core.Condition.ConjunctionExpression.LogicalOperator.valueOf(operator_); - return result == null ? flyteidl.core.Condition.ConjunctionExpression.LogicalOperator.UNRECOGNIZED : result; - } - - public static final int LEFT_EXPRESSION_FIELD_NUMBER = 2; - private flyteidl.core.Condition.BooleanExpression leftExpression_; - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public boolean hasLeftExpression() { - return leftExpression_ != null; - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public flyteidl.core.Condition.BooleanExpression getLeftExpression() { - return leftExpression_ == null ? flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : leftExpression_; - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public flyteidl.core.Condition.BooleanExpressionOrBuilder getLeftExpressionOrBuilder() { - return getLeftExpression(); - } - - public static final int RIGHT_EXPRESSION_FIELD_NUMBER = 3; - private flyteidl.core.Condition.BooleanExpression rightExpression_; - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public boolean hasRightExpression() { - return rightExpression_ != null; - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public flyteidl.core.Condition.BooleanExpression getRightExpression() { - return rightExpression_ == null ? flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : rightExpression_; - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public flyteidl.core.Condition.BooleanExpressionOrBuilder getRightExpressionOrBuilder() { - return getRightExpression(); - } - - 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 (operator_ != flyteidl.core.Condition.ConjunctionExpression.LogicalOperator.AND.getNumber()) { - output.writeEnum(1, operator_); - } - if (leftExpression_ != null) { - output.writeMessage(2, getLeftExpression()); - } - if (rightExpression_ != null) { - output.writeMessage(3, getRightExpression()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (operator_ != flyteidl.core.Condition.ConjunctionExpression.LogicalOperator.AND.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, operator_); - } - if (leftExpression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLeftExpression()); - } - if (rightExpression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRightExpression()); - } - 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.Condition.ConjunctionExpression)) { - return super.equals(obj); - } - flyteidl.core.Condition.ConjunctionExpression other = (flyteidl.core.Condition.ConjunctionExpression) obj; - - if (operator_ != other.operator_) return false; - if (hasLeftExpression() != other.hasLeftExpression()) return false; - if (hasLeftExpression()) { - if (!getLeftExpression() - .equals(other.getLeftExpression())) return false; - } - if (hasRightExpression() != other.hasRightExpression()) return false; - if (hasRightExpression()) { - if (!getRightExpression() - .equals(other.getRightExpression())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + OPERATOR_FIELD_NUMBER; - hash = (53 * hash) + operator_; - if (hasLeftExpression()) { - hash = (37 * hash) + LEFT_EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getLeftExpression().hashCode(); - } - if (hasRightExpression()) { - hash = (37 * hash) + RIGHT_EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getRightExpression().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Condition.ConjunctionExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.ConjunctionExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.ConjunctionExpression parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.ConjunctionExpression 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.Condition.ConjunctionExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Condition.ConjunctionExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Condition.ConjunctionExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.ConjunctionExpression 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.Condition.ConjunctionExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.ConjunctionExpression 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.Condition.ConjunctionExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Condition.ConjunctionExpression 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.Condition.ConjunctionExpression prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a conjunction expression of two boolean expressions.
-     * 
- * - * Protobuf type {@code flyteidl.core.ConjunctionExpression} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ConjunctionExpression) - flyteidl.core.Condition.ConjunctionExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ConjunctionExpression_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ConjunctionExpression_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Condition.ConjunctionExpression.class, flyteidl.core.Condition.ConjunctionExpression.Builder.class); - } - - // Construct using flyteidl.core.Condition.ConjunctionExpression.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(); - operator_ = 0; - - if (leftExpressionBuilder_ == null) { - leftExpression_ = null; - } else { - leftExpression_ = null; - leftExpressionBuilder_ = null; - } - if (rightExpressionBuilder_ == null) { - rightExpression_ = null; - } else { - rightExpression_ = null; - rightExpressionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Condition.internal_static_flyteidl_core_ConjunctionExpression_descriptor; - } - - @java.lang.Override - public flyteidl.core.Condition.ConjunctionExpression getDefaultInstanceForType() { - return flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Condition.ConjunctionExpression build() { - flyteidl.core.Condition.ConjunctionExpression result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Condition.ConjunctionExpression buildPartial() { - flyteidl.core.Condition.ConjunctionExpression result = new flyteidl.core.Condition.ConjunctionExpression(this); - result.operator_ = operator_; - if (leftExpressionBuilder_ == null) { - result.leftExpression_ = leftExpression_; - } else { - result.leftExpression_ = leftExpressionBuilder_.build(); - } - if (rightExpressionBuilder_ == null) { - result.rightExpression_ = rightExpression_; - } else { - result.rightExpression_ = rightExpressionBuilder_.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.Condition.ConjunctionExpression) { - return mergeFrom((flyteidl.core.Condition.ConjunctionExpression)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Condition.ConjunctionExpression other) { - if (other == flyteidl.core.Condition.ConjunctionExpression.getDefaultInstance()) return this; - if (other.operator_ != 0) { - setOperatorValue(other.getOperatorValue()); - } - if (other.hasLeftExpression()) { - mergeLeftExpression(other.getLeftExpression()); - } - if (other.hasRightExpression()) { - mergeRightExpression(other.getRightExpression()); - } - 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.Condition.ConjunctionExpression parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Condition.ConjunctionExpression) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int operator_ = 0; - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - public int getOperatorValue() { - return operator_; - } - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - public Builder setOperatorValue(int value) { - operator_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - public flyteidl.core.Condition.ConjunctionExpression.LogicalOperator getOperator() { - @SuppressWarnings("deprecation") - flyteidl.core.Condition.ConjunctionExpression.LogicalOperator result = flyteidl.core.Condition.ConjunctionExpression.LogicalOperator.valueOf(operator_); - return result == null ? flyteidl.core.Condition.ConjunctionExpression.LogicalOperator.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - public Builder setOperator(flyteidl.core.Condition.ConjunctionExpression.LogicalOperator value) { - if (value == null) { - throw new NullPointerException(); - } - - operator_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.ConjunctionExpression.LogicalOperator operator = 1; - */ - public Builder clearOperator() { - - operator_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Condition.BooleanExpression leftExpression_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder> leftExpressionBuilder_; - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public boolean hasLeftExpression() { - return leftExpressionBuilder_ != null || leftExpression_ != null; - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public flyteidl.core.Condition.BooleanExpression getLeftExpression() { - if (leftExpressionBuilder_ == null) { - return leftExpression_ == null ? flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : leftExpression_; - } else { - return leftExpressionBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public Builder setLeftExpression(flyteidl.core.Condition.BooleanExpression value) { - if (leftExpressionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - leftExpression_ = value; - onChanged(); - } else { - leftExpressionBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public Builder setLeftExpression( - flyteidl.core.Condition.BooleanExpression.Builder builderForValue) { - if (leftExpressionBuilder_ == null) { - leftExpression_ = builderForValue.build(); - onChanged(); - } else { - leftExpressionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public Builder mergeLeftExpression(flyteidl.core.Condition.BooleanExpression value) { - if (leftExpressionBuilder_ == null) { - if (leftExpression_ != null) { - leftExpression_ = - flyteidl.core.Condition.BooleanExpression.newBuilder(leftExpression_).mergeFrom(value).buildPartial(); - } else { - leftExpression_ = value; - } - onChanged(); - } else { - leftExpressionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public Builder clearLeftExpression() { - if (leftExpressionBuilder_ == null) { - leftExpression_ = null; - onChanged(); - } else { - leftExpression_ = null; - leftExpressionBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public flyteidl.core.Condition.BooleanExpression.Builder getLeftExpressionBuilder() { - - onChanged(); - return getLeftExpressionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - public flyteidl.core.Condition.BooleanExpressionOrBuilder getLeftExpressionOrBuilder() { - if (leftExpressionBuilder_ != null) { - return leftExpressionBuilder_.getMessageOrBuilder(); - } else { - return leftExpression_ == null ? - flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : leftExpression_; - } - } - /** - * .flyteidl.core.BooleanExpression left_expression = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder> - getLeftExpressionFieldBuilder() { - if (leftExpressionBuilder_ == null) { - leftExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder>( - getLeftExpression(), - getParentForChildren(), - isClean()); - leftExpression_ = null; - } - return leftExpressionBuilder_; - } - - private flyteidl.core.Condition.BooleanExpression rightExpression_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder> rightExpressionBuilder_; - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public boolean hasRightExpression() { - return rightExpressionBuilder_ != null || rightExpression_ != null; - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public flyteidl.core.Condition.BooleanExpression getRightExpression() { - if (rightExpressionBuilder_ == null) { - return rightExpression_ == null ? flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : rightExpression_; - } else { - return rightExpressionBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public Builder setRightExpression(flyteidl.core.Condition.BooleanExpression value) { - if (rightExpressionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rightExpression_ = value; - onChanged(); - } else { - rightExpressionBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public Builder setRightExpression( - flyteidl.core.Condition.BooleanExpression.Builder builderForValue) { - if (rightExpressionBuilder_ == null) { - rightExpression_ = builderForValue.build(); - onChanged(); - } else { - rightExpressionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public Builder mergeRightExpression(flyteidl.core.Condition.BooleanExpression value) { - if (rightExpressionBuilder_ == null) { - if (rightExpression_ != null) { - rightExpression_ = - flyteidl.core.Condition.BooleanExpression.newBuilder(rightExpression_).mergeFrom(value).buildPartial(); - } else { - rightExpression_ = value; - } - onChanged(); - } else { - rightExpressionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public Builder clearRightExpression() { - if (rightExpressionBuilder_ == null) { - rightExpression_ = null; - onChanged(); - } else { - rightExpression_ = null; - rightExpressionBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public flyteidl.core.Condition.BooleanExpression.Builder getRightExpressionBuilder() { - - onChanged(); - return getRightExpressionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - public flyteidl.core.Condition.BooleanExpressionOrBuilder getRightExpressionOrBuilder() { - if (rightExpressionBuilder_ != null) { - return rightExpressionBuilder_.getMessageOrBuilder(); - } else { - return rightExpression_ == null ? - flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : rightExpression_; - } - } - /** - * .flyteidl.core.BooleanExpression right_expression = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder> - getRightExpressionFieldBuilder() { - if (rightExpressionBuilder_ == null) { - rightExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder>( - getRightExpression(), - getParentForChildren(), - isClean()); - rightExpression_ = null; - } - return rightExpressionBuilder_; - } - @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.ConjunctionExpression) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ConjunctionExpression) - private static final flyteidl.core.Condition.ConjunctionExpression DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Condition.ConjunctionExpression(); - } - - public static flyteidl.core.Condition.ConjunctionExpression getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConjunctionExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConjunctionExpression(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.Condition.ConjunctionExpression getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ComparisonExpression_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ComparisonExpression_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Operand_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Operand_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BooleanExpression_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BooleanExpression_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ConjunctionExpression_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ConjunctionExpression_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/core/condition.proto\022\rflyteid" + - "l.core\032\034flyteidl/core/literals.proto\"\356\001\n" + - "\024ComparisonExpression\022>\n\010operator\030\001 \001(\0162" + - ",.flyteidl.core.ComparisonExpression.Ope" + - "rator\022*\n\nleft_value\030\002 \001(\0132\026.flyteidl.cor" + - "e.Operand\022+\n\013right_value\030\003 \001(\0132\026.flyteid" + - "l.core.Operand\"=\n\010Operator\022\006\n\002EQ\020\000\022\007\n\003NE" + - "Q\020\001\022\006\n\002GT\020\002\022\007\n\003GTE\020\003\022\006\n\002LT\020\004\022\007\n\003LTE\020\005\"{\n" + - "\007Operand\0221\n\tprimitive\030\001 \001(\0132\030.flyteidl.c" + - "ore.PrimitiveB\002\030\001H\000\022\r\n\003var\030\002 \001(\tH\000\022\'\n\006sc" + - "alar\030\003 \001(\0132\025.flyteidl.core.ScalarH\000B\005\n\003v" + - "al\"\223\001\n\021BooleanExpression\022;\n\013conjunction\030" + - "\001 \001(\0132$.flyteidl.core.ConjunctionExpress" + - "ionH\000\0229\n\ncomparison\030\002 \001(\0132#.flyteidl.cor" + - "e.ComparisonExpressionH\000B\006\n\004expr\"\372\001\n\025Con" + - "junctionExpression\022F\n\010operator\030\001 \001(\01624.f" + - "lyteidl.core.ConjunctionExpression.Logic" + - "alOperator\0229\n\017left_expression\030\002 \001(\0132 .fl" + - "yteidl.core.BooleanExpression\022:\n\020right_e" + - "xpression\030\003 \001(\0132 .flyteidl.core.BooleanE" + - "xpression\"\"\n\017LogicalOperator\022\007\n\003AND\020\000\022\006\n" + - "\002OR\020\001B - * A collection of nodes to execute. - * - * - * repeated .flyteidl.core.Node nodes = 1; - */ - java.util.List - getNodesList(); - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - flyteidl.core.Workflow.Node getNodes(int index); - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - int getNodesCount(); - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - java.util.List - getNodesOrBuilderList(); - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder( - int index); - - /** - *
-     * An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
-     * criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
-     * becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
-     * min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
-     * specified, is the count of nodes repeated field.
-     * 
- * - * int64 min_successes = 2; - */ - long getMinSuccesses(); - - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - java.util.List - getOutputsList(); - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - flyteidl.core.Literals.Binding getOutputs(int index); - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - int getOutputsCount(); - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - java.util.List - getOutputsOrBuilderList(); - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder( - int index); - - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - java.util.List - getTasksList(); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - flyteidl.core.Tasks.TaskTemplate getTasks(int index); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - int getTasksCount(); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - java.util.List - getTasksOrBuilderList(); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder( - int index); - - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - java.util.List - getSubworkflowsList(); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - flyteidl.core.Workflow.WorkflowTemplate getSubworkflows(int index); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - int getSubworkflowsCount(); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - java.util.List - getSubworkflowsOrBuilderList(); - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubworkflowsOrBuilder( - int index); - } - /** - *
-   * Describes a set of tasks to execute and how the final outputs are produced.
-   * 
- * - * Protobuf type {@code flyteidl.core.DynamicJobSpec} - */ - public static final class DynamicJobSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.DynamicJobSpec) - DynamicJobSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use DynamicJobSpec.newBuilder() to construct. - private DynamicJobSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DynamicJobSpec() { - nodes_ = java.util.Collections.emptyList(); - outputs_ = java.util.Collections.emptyList(); - tasks_ = java.util.Collections.emptyList(); - subworkflows_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DynamicJobSpec( - 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)) { - nodes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nodes_.add( - input.readMessage(flyteidl.core.Workflow.Node.parser(), extensionRegistry)); - break; - } - case 16: { - - minSuccesses_ = input.readInt64(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - outputs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - outputs_.add( - input.readMessage(flyteidl.core.Literals.Binding.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - tasks_.add( - input.readMessage(flyteidl.core.Tasks.TaskTemplate.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - subworkflows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - subworkflows_.add( - input.readMessage(flyteidl.core.Workflow.WorkflowTemplate.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)) { - nodes_ = java.util.Collections.unmodifiableList(nodes_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - outputs_ = java.util.Collections.unmodifiableList(outputs_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - subworkflows_ = java.util.Collections.unmodifiableList(subworkflows_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.DynamicJob.DynamicJobSpec.class, flyteidl.core.DynamicJob.DynamicJobSpec.Builder.class); - } - - private int bitField0_; - public static final int NODES_FIELD_NUMBER = 1; - private java.util.List nodes_; - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public java.util.List getNodesList() { - return nodes_; - } - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public java.util.List - getNodesOrBuilderList() { - return nodes_; - } - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public int getNodesCount() { - return nodes_.size(); - } - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public flyteidl.core.Workflow.Node getNodes(int index) { - return nodes_.get(index); - } - /** - *
-     * A collection of nodes to execute.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder( - int index) { - return nodes_.get(index); - } - - public static final int MIN_SUCCESSES_FIELD_NUMBER = 2; - private long minSuccesses_; - /** - *
-     * An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
-     * criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
-     * becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
-     * min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
-     * specified, is the count of nodes repeated field.
-     * 
- * - * int64 min_successes = 2; - */ - public long getMinSuccesses() { - return minSuccesses_; - } - - public static final int OUTPUTS_FIELD_NUMBER = 3; - private java.util.List outputs_; - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public java.util.List getOutputsList() { - return outputs_; - } - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public java.util.List - getOutputsOrBuilderList() { - return outputs_; - } - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public int getOutputsCount() { - return outputs_.size(); - } - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public flyteidl.core.Literals.Binding getOutputs(int index) { - return outputs_.get(index); - } - /** - *
-     * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-     * in bindings should have the generated id for the subtask.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder( - int index) { - return outputs_.get(index); - } - - public static final int TASKS_FIELD_NUMBER = 4; - private java.util.List tasks_; - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public java.util.List getTasksList() { - return tasks_; - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public java.util.List - getTasksOrBuilderList() { - return tasks_; - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public int getTasksCount() { - return tasks_.size(); - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public flyteidl.core.Tasks.TaskTemplate getTasks(int index) { - return tasks_.get(index); - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder( - int index) { - return tasks_.get(index); - } - - public static final int SUBWORKFLOWS_FIELD_NUMBER = 5; - private java.util.List subworkflows_; - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public java.util.List getSubworkflowsList() { - return subworkflows_; - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public java.util.List - getSubworkflowsOrBuilderList() { - return subworkflows_; - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public int getSubworkflowsCount() { - return subworkflows_.size(); - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public flyteidl.core.Workflow.WorkflowTemplate getSubworkflows(int index) { - return subworkflows_.get(index); - } - /** - *
-     * [Optional] A complete list of task specs referenced in nodes.
-     * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubworkflowsOrBuilder( - int index) { - return subworkflows_.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 < nodes_.size(); i++) { - output.writeMessage(1, nodes_.get(i)); - } - if (minSuccesses_ != 0L) { - output.writeInt64(2, minSuccesses_); - } - for (int i = 0; i < outputs_.size(); i++) { - output.writeMessage(3, outputs_.get(i)); - } - for (int i = 0; i < tasks_.size(); i++) { - output.writeMessage(4, tasks_.get(i)); - } - for (int i = 0; i < subworkflows_.size(); i++) { - output.writeMessage(5, subworkflows_.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 < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, nodes_.get(i)); - } - if (minSuccesses_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, minSuccesses_); - } - for (int i = 0; i < outputs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, outputs_.get(i)); - } - for (int i = 0; i < tasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, tasks_.get(i)); - } - for (int i = 0; i < subworkflows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, subworkflows_.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.DynamicJob.DynamicJobSpec)) { - return super.equals(obj); - } - flyteidl.core.DynamicJob.DynamicJobSpec other = (flyteidl.core.DynamicJob.DynamicJobSpec) obj; - - if (!getNodesList() - .equals(other.getNodesList())) return false; - if (getMinSuccesses() - != other.getMinSuccesses()) return false; - if (!getOutputsList() - .equals(other.getOutputsList())) return false; - if (!getTasksList() - .equals(other.getTasksList())) return false; - if (!getSubworkflowsList() - .equals(other.getSubworkflowsList())) 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 (getNodesCount() > 0) { - hash = (37 * hash) + NODES_FIELD_NUMBER; - hash = (53 * hash) + getNodesList().hashCode(); - } - hash = (37 * hash) + MIN_SUCCESSES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMinSuccesses()); - if (getOutputsCount() > 0) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputsList().hashCode(); - } - if (getTasksCount() > 0) { - hash = (37 * hash) + TASKS_FIELD_NUMBER; - hash = (53 * hash) + getTasksList().hashCode(); - } - if (getSubworkflowsCount() > 0) { - hash = (37 * hash) + SUBWORKFLOWS_FIELD_NUMBER; - hash = (53 * hash) + getSubworkflowsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec 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.DynamicJob.DynamicJobSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec 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.DynamicJob.DynamicJobSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec 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.DynamicJob.DynamicJobSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.DynamicJob.DynamicJobSpec 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.DynamicJob.DynamicJobSpec 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; - } - /** - *
-     * Describes a set of tasks to execute and how the final outputs are produced.
-     * 
- * - * Protobuf type {@code flyteidl.core.DynamicJobSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.DynamicJobSpec) - flyteidl.core.DynamicJob.DynamicJobSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.DynamicJob.DynamicJobSpec.class, flyteidl.core.DynamicJob.DynamicJobSpec.Builder.class); - } - - // Construct using flyteidl.core.DynamicJob.DynamicJobSpec.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNodesFieldBuilder(); - getOutputsFieldBuilder(); - getTasksFieldBuilder(); - getSubworkflowsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (nodesBuilder_ == null) { - nodes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - nodesBuilder_.clear(); - } - minSuccesses_ = 0L; - - if (outputsBuilder_ == null) { - outputs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - outputsBuilder_.clear(); - } - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - tasksBuilder_.clear(); - } - if (subworkflowsBuilder_ == null) { - subworkflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - subworkflowsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_descriptor; - } - - @java.lang.Override - public flyteidl.core.DynamicJob.DynamicJobSpec getDefaultInstanceForType() { - return flyteidl.core.DynamicJob.DynamicJobSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.DynamicJob.DynamicJobSpec build() { - flyteidl.core.DynamicJob.DynamicJobSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.DynamicJob.DynamicJobSpec buildPartial() { - flyteidl.core.DynamicJob.DynamicJobSpec result = new flyteidl.core.DynamicJob.DynamicJobSpec(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (nodesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - nodes_ = java.util.Collections.unmodifiableList(nodes_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.nodes_ = nodes_; - } else { - result.nodes_ = nodesBuilder_.build(); - } - result.minSuccesses_ = minSuccesses_; - if (outputsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - outputs_ = java.util.Collections.unmodifiableList(outputs_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.build(); - } - if (tasksBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.tasks_ = tasks_; - } else { - result.tasks_ = tasksBuilder_.build(); - } - if (subworkflowsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - subworkflows_ = java.util.Collections.unmodifiableList(subworkflows_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.subworkflows_ = subworkflows_; - } else { - result.subworkflows_ = subworkflowsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.DynamicJob.DynamicJobSpec) { - return mergeFrom((flyteidl.core.DynamicJob.DynamicJobSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.DynamicJob.DynamicJobSpec other) { - if (other == flyteidl.core.DynamicJob.DynamicJobSpec.getDefaultInstance()) return this; - if (nodesBuilder_ == null) { - if (!other.nodes_.isEmpty()) { - if (nodes_.isEmpty()) { - nodes_ = other.nodes_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureNodesIsMutable(); - nodes_.addAll(other.nodes_); - } - onChanged(); - } - } else { - if (!other.nodes_.isEmpty()) { - if (nodesBuilder_.isEmpty()) { - nodesBuilder_.dispose(); - nodesBuilder_ = null; - nodes_ = other.nodes_; - bitField0_ = (bitField0_ & ~0x00000001); - nodesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodesFieldBuilder() : null; - } else { - nodesBuilder_.addAllMessages(other.nodes_); - } - } - } - if (other.getMinSuccesses() != 0L) { - setMinSuccesses(other.getMinSuccesses()); - } - if (outputsBuilder_ == null) { - if (!other.outputs_.isEmpty()) { - if (outputs_.isEmpty()) { - outputs_ = other.outputs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureOutputsIsMutable(); - outputs_.addAll(other.outputs_); - } - onChanged(); - } - } else { - if (!other.outputs_.isEmpty()) { - if (outputsBuilder_.isEmpty()) { - outputsBuilder_.dispose(); - outputsBuilder_ = null; - outputs_ = other.outputs_; - bitField0_ = (bitField0_ & ~0x00000004); - outputsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOutputsFieldBuilder() : null; - } else { - outputsBuilder_.addAllMessages(other.outputs_); - } - } - } - if (tasksBuilder_ == null) { - if (!other.tasks_.isEmpty()) { - if (tasks_.isEmpty()) { - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureTasksIsMutable(); - tasks_.addAll(other.tasks_); - } - onChanged(); - } - } else { - if (!other.tasks_.isEmpty()) { - if (tasksBuilder_.isEmpty()) { - tasksBuilder_.dispose(); - tasksBuilder_ = null; - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000008); - tasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTasksFieldBuilder() : null; - } else { - tasksBuilder_.addAllMessages(other.tasks_); - } - } - } - if (subworkflowsBuilder_ == null) { - if (!other.subworkflows_.isEmpty()) { - if (subworkflows_.isEmpty()) { - subworkflows_ = other.subworkflows_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureSubworkflowsIsMutable(); - subworkflows_.addAll(other.subworkflows_); - } - onChanged(); - } - } else { - if (!other.subworkflows_.isEmpty()) { - if (subworkflowsBuilder_.isEmpty()) { - subworkflowsBuilder_.dispose(); - subworkflowsBuilder_ = null; - subworkflows_ = other.subworkflows_; - bitField0_ = (bitField0_ & ~0x00000010); - subworkflowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSubworkflowsFieldBuilder() : null; - } else { - subworkflowsBuilder_.addAllMessages(other.subworkflows_); - } - } - } - 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.DynamicJob.DynamicJobSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.DynamicJob.DynamicJobSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List nodes_ = - java.util.Collections.emptyList(); - private void ensureNodesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - nodes_ = new java.util.ArrayList(nodes_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> nodesBuilder_; - - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public java.util.List getNodesList() { - if (nodesBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodes_); - } else { - return nodesBuilder_.getMessageList(); - } - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public int getNodesCount() { - if (nodesBuilder_ == null) { - return nodes_.size(); - } else { - return nodesBuilder_.getCount(); - } - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public flyteidl.core.Workflow.Node getNodes(int index) { - if (nodesBuilder_ == null) { - return nodes_.get(index); - } else { - return nodesBuilder_.getMessage(index); - } - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder setNodes( - int index, flyteidl.core.Workflow.Node value) { - if (nodesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodesIsMutable(); - nodes_.set(index, value); - onChanged(); - } else { - nodesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder setNodes( - int index, flyteidl.core.Workflow.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.set(index, builderForValue.build()); - onChanged(); - } else { - nodesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder addNodes(flyteidl.core.Workflow.Node value) { - if (nodesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodesIsMutable(); - nodes_.add(value); - onChanged(); - } else { - nodesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder addNodes( - int index, flyteidl.core.Workflow.Node value) { - if (nodesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodesIsMutable(); - nodes_.add(index, value); - onChanged(); - } else { - nodesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder addNodes( - flyteidl.core.Workflow.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(builderForValue.build()); - onChanged(); - } else { - nodesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder addNodes( - int index, flyteidl.core.Workflow.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(index, builderForValue.build()); - onChanged(); - } else { - nodesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder addAllNodes( - java.lang.Iterable values) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodes_); - onChanged(); - } else { - nodesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder clearNodes() { - if (nodesBuilder_ == null) { - nodes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - nodesBuilder_.clear(); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public Builder removeNodes(int index) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.remove(index); - onChanged(); - } else { - nodesBuilder_.remove(index); - } - return this; - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public flyteidl.core.Workflow.Node.Builder getNodesBuilder( - int index) { - return getNodesFieldBuilder().getBuilder(index); - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder( - int index) { - if (nodesBuilder_ == null) { - return nodes_.get(index); } else { - return nodesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public java.util.List - getNodesOrBuilderList() { - if (nodesBuilder_ != null) { - return nodesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodes_); - } - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public flyteidl.core.Workflow.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder().addBuilder( - flyteidl.core.Workflow.Node.getDefaultInstance()); - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public flyteidl.core.Workflow.Node.Builder addNodesBuilder( - int index) { - return getNodesFieldBuilder().addBuilder( - index, flyteidl.core.Workflow.Node.getDefaultInstance()); - } - /** - *
-       * A collection of nodes to execute.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 1; - */ - public java.util.List - getNodesBuilderList() { - return getNodesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> - getNodesFieldBuilder() { - if (nodesBuilder_ == null) { - nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>( - nodes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - nodes_ = null; - } - return nodesBuilder_; - } - - private long minSuccesses_ ; - /** - *
-       * An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
-       * criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
-       * becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
-       * min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
-       * specified, is the count of nodes repeated field.
-       * 
- * - * int64 min_successes = 2; - */ - public long getMinSuccesses() { - return minSuccesses_; - } - /** - *
-       * An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
-       * criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
-       * becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
-       * min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
-       * specified, is the count of nodes repeated field.
-       * 
- * - * int64 min_successes = 2; - */ - public Builder setMinSuccesses(long value) { - - minSuccesses_ = value; - onChanged(); - return this; - } - /** - *
-       * An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
-       * criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
-       * becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
-       * min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
-       * specified, is the count of nodes repeated field.
-       * 
- * - * int64 min_successes = 2; - */ - public Builder clearMinSuccesses() { - - minSuccesses_ = 0L; - onChanged(); - return this; - } - - private java.util.List outputs_ = - java.util.Collections.emptyList(); - private void ensureOutputsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - outputs_ = new java.util.ArrayList(outputs_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder> outputsBuilder_; - - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public java.util.List getOutputsList() { - if (outputsBuilder_ == null) { - return java.util.Collections.unmodifiableList(outputs_); - } else { - return outputsBuilder_.getMessageList(); - } - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public int getOutputsCount() { - if (outputsBuilder_ == null) { - return outputs_.size(); - } else { - return outputsBuilder_.getCount(); - } - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public flyteidl.core.Literals.Binding getOutputs(int index) { - if (outputsBuilder_ == null) { - return outputs_.get(index); - } else { - return outputsBuilder_.getMessage(index); - } - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder setOutputs( - int index, flyteidl.core.Literals.Binding value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputsIsMutable(); - outputs_.set(index, value); - onChanged(); - } else { - outputsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder setOutputs( - int index, flyteidl.core.Literals.Binding.Builder builderForValue) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.set(index, builderForValue.build()); - onChanged(); - } else { - outputsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder addOutputs(flyteidl.core.Literals.Binding value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputsIsMutable(); - outputs_.add(value); - onChanged(); - } else { - outputsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder addOutputs( - int index, flyteidl.core.Literals.Binding value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputsIsMutable(); - outputs_.add(index, value); - onChanged(); - } else { - outputsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder addOutputs( - flyteidl.core.Literals.Binding.Builder builderForValue) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.add(builderForValue.build()); - onChanged(); - } else { - outputsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder addOutputs( - int index, flyteidl.core.Literals.Binding.Builder builderForValue) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.add(index, builderForValue.build()); - onChanged(); - } else { - outputsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder addAllOutputs( - java.lang.Iterable values) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, outputs_); - onChanged(); - } else { - outputsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - outputsBuilder_.clear(); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public Builder removeOutputs(int index) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.remove(index); - onChanged(); - } else { - outputsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public flyteidl.core.Literals.Binding.Builder getOutputsBuilder( - int index) { - return getOutputsFieldBuilder().getBuilder(index); - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder( - int index) { - if (outputsBuilder_ == null) { - return outputs_.get(index); } else { - return outputsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public java.util.List - getOutputsOrBuilderList() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(outputs_); - } - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public flyteidl.core.Literals.Binding.Builder addOutputsBuilder() { - return getOutputsFieldBuilder().addBuilder( - flyteidl.core.Literals.Binding.getDefaultInstance()); - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public flyteidl.core.Literals.Binding.Builder addOutputsBuilder( - int index) { - return getOutputsFieldBuilder().addBuilder( - index, flyteidl.core.Literals.Binding.getDefaultInstance()); - } - /** - *
-       * Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
-       * in bindings should have the generated id for the subtask.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 3; - */ - public java.util.List - getOutputsBuilderList() { - return getOutputsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder>( - outputs_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - - private java.util.List tasks_ = - java.util.Collections.emptyList(); - private void ensureTasksIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - tasks_ = new java.util.ArrayList(tasks_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> tasksBuilder_; - - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public java.util.List getTasksList() { - if (tasksBuilder_ == null) { - return java.util.Collections.unmodifiableList(tasks_); - } else { - return tasksBuilder_.getMessageList(); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public int getTasksCount() { - if (tasksBuilder_ == null) { - return tasks_.size(); - } else { - return tasksBuilder_.getCount(); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public flyteidl.core.Tasks.TaskTemplate getTasks(int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { - return tasksBuilder_.getMessage(index); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder setTasks( - int index, flyteidl.core.Tasks.TaskTemplate value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.set(index, value); - onChanged(); - } else { - tasksBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder setTasks( - int index, flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.set(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder addTasks(flyteidl.core.Tasks.TaskTemplate value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(value); - onChanged(); - } else { - tasksBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder addTasks( - int index, flyteidl.core.Tasks.TaskTemplate value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(index, value); - onChanged(); - } else { - tasksBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder addTasks( - flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder addTasks( - int index, flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder addAllTasks( - java.lang.Iterable values) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tasks_); - onChanged(); - } else { - tasksBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder clearTasks() { - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - tasksBuilder_.clear(); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public Builder removeTasks(int index) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.remove(index); - onChanged(); - } else { - tasksBuilder_.remove(index); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder getTasksBuilder( - int index) { - return getTasksFieldBuilder().getBuilder(index); - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder( - int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); } else { - return tasksBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public java.util.List - getTasksOrBuilderList() { - if (tasksBuilder_ != null) { - return tasksBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tasks_); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - flyteidl.core.Tasks.TaskTemplate.getDefaultInstance()); - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, flyteidl.core.Tasks.TaskTemplate.getDefaultInstance()); - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 4; - */ - public java.util.List - getTasksBuilderList() { - return getTasksFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> - getTasksFieldBuilder() { - if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>( - tasks_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - tasks_ = null; - } - return tasksBuilder_; - } - - private java.util.List subworkflows_ = - java.util.Collections.emptyList(); - private void ensureSubworkflowsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - subworkflows_ = new java.util.ArrayList(subworkflows_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> subworkflowsBuilder_; - - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public java.util.List getSubworkflowsList() { - if (subworkflowsBuilder_ == null) { - return java.util.Collections.unmodifiableList(subworkflows_); - } else { - return subworkflowsBuilder_.getMessageList(); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public int getSubworkflowsCount() { - if (subworkflowsBuilder_ == null) { - return subworkflows_.size(); - } else { - return subworkflowsBuilder_.getCount(); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public flyteidl.core.Workflow.WorkflowTemplate getSubworkflows(int index) { - if (subworkflowsBuilder_ == null) { - return subworkflows_.get(index); - } else { - return subworkflowsBuilder_.getMessage(index); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder setSubworkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate value) { - if (subworkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubworkflowsIsMutable(); - subworkflows_.set(index, value); - onChanged(); - } else { - subworkflowsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder setSubworkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (subworkflowsBuilder_ == null) { - ensureSubworkflowsIsMutable(); - subworkflows_.set(index, builderForValue.build()); - onChanged(); - } else { - subworkflowsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder addSubworkflows(flyteidl.core.Workflow.WorkflowTemplate value) { - if (subworkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubworkflowsIsMutable(); - subworkflows_.add(value); - onChanged(); - } else { - subworkflowsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder addSubworkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate value) { - if (subworkflowsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSubworkflowsIsMutable(); - subworkflows_.add(index, value); - onChanged(); - } else { - subworkflowsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder addSubworkflows( - flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (subworkflowsBuilder_ == null) { - ensureSubworkflowsIsMutable(); - subworkflows_.add(builderForValue.build()); - onChanged(); - } else { - subworkflowsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder addSubworkflows( - int index, flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (subworkflowsBuilder_ == null) { - ensureSubworkflowsIsMutable(); - subworkflows_.add(index, builderForValue.build()); - onChanged(); - } else { - subworkflowsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder addAllSubworkflows( - java.lang.Iterable values) { - if (subworkflowsBuilder_ == null) { - ensureSubworkflowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subworkflows_); - onChanged(); - } else { - subworkflowsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder clearSubworkflows() { - if (subworkflowsBuilder_ == null) { - subworkflows_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - subworkflowsBuilder_.clear(); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public Builder removeSubworkflows(int index) { - if (subworkflowsBuilder_ == null) { - ensureSubworkflowsIsMutable(); - subworkflows_.remove(index); - onChanged(); - } else { - subworkflowsBuilder_.remove(index); - } - return this; - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder getSubworkflowsBuilder( - int index) { - return getSubworkflowsFieldBuilder().getBuilder(index); - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubworkflowsOrBuilder( - int index) { - if (subworkflowsBuilder_ == null) { - return subworkflows_.get(index); } else { - return subworkflowsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public java.util.List - getSubworkflowsOrBuilderList() { - if (subworkflowsBuilder_ != null) { - return subworkflowsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(subworkflows_); - } - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder addSubworkflowsBuilder() { - return getSubworkflowsFieldBuilder().addBuilder( - flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance()); - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder addSubworkflowsBuilder( - int index) { - return getSubworkflowsFieldBuilder().addBuilder( - index, flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance()); - } - /** - *
-       * [Optional] A complete list of task specs referenced in nodes.
-       * 
- * - * repeated .flyteidl.core.WorkflowTemplate subworkflows = 5; - */ - public java.util.List - getSubworkflowsBuilderList() { - return getSubworkflowsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> - getSubworkflowsFieldBuilder() { - if (subworkflowsBuilder_ == null) { - subworkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder>( - subworkflows_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - subworkflows_ = null; - } - return subworkflowsBuilder_; - } - @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.DynamicJobSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.DynamicJobSpec) - private static final flyteidl.core.DynamicJob.DynamicJobSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.DynamicJob.DynamicJobSpec(); - } - - public static flyteidl.core.DynamicJob.DynamicJobSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DynamicJobSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DynamicJobSpec(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.DynamicJob.DynamicJobSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_DynamicJobSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_DynamicJobSpec_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\037flyteidl/core/dynamic_job.proto\022\rflyte" + - "idl.core\032\031flyteidl/core/tasks.proto\032\034fly" + - "teidl/core/workflow.proto\032\034flyteidl/core" + - "/literals.proto\"\327\001\n\016DynamicJobSpec\022\"\n\005no" + - "des\030\001 \003(\0132\023.flyteidl.core.Node\022\025\n\rmin_su" + - "ccesses\030\002 \001(\003\022\'\n\007outputs\030\003 \003(\0132\026.flyteid" + - "l.core.Binding\022*\n\005tasks\030\004 \003(\0132\033.flyteidl" + - ".core.TaskTemplate\0225\n\014subworkflows\030\005 \003(\013" + - "2\037.flyteidl.core.WorkflowTemplateB - * A simplified code for errors, so that we can provide a glossary of all possible errors. - * - * - * string code = 1; - */ - java.lang.String getCode(); - /** - *
-     * A simplified code for errors, so that we can provide a glossary of all possible errors.
-     * 
- * - * string code = 1; - */ - com.google.protobuf.ByteString - getCodeBytes(); - - /** - *
-     * A detailed error message.
-     * 
- * - * string message = 2; - */ - java.lang.String getMessage(); - /** - *
-     * A detailed error message.
-     * 
- * - * string message = 2; - */ - com.google.protobuf.ByteString - getMessageBytes(); - - /** - *
-     * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-     * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - int getKindValue(); - /** - *
-     * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-     * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - flyteidl.core.Errors.ContainerError.Kind getKind(); - - /** - *
-     * Defines the origin of the error (system, user, unknown).
-     * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - int getOriginValue(); - /** - *
-     * Defines the origin of the error (system, user, unknown).
-     * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - flyteidl.core.Execution.ExecutionError.ErrorKind getOrigin(); - } - /** - *
-   * Error message to propagate detailed errors from container executions to the execution
-   * engine.
-   * 
- * - * Protobuf type {@code flyteidl.core.ContainerError} - */ - public static final class ContainerError extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ContainerError) - ContainerErrorOrBuilder { - private static final long serialVersionUID = 0L; - // Use ContainerError.newBuilder() to construct. - private ContainerError(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ContainerError() { - code_ = ""; - message_ = ""; - kind_ = 0; - origin_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ContainerError( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - code_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - message_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - kind_ = rawValue; - break; - } - case 32: { - int rawValue = input.readEnum(); - - origin_ = rawValue; - 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_ContainerError_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ContainerError_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Errors.ContainerError.class, flyteidl.core.Errors.ContainerError.Builder.class); - } - - /** - *
-     * Defines a generic error type that dictates the behavior of the retry strategy.
-     * 
- * - * Protobuf enum {@code flyteidl.core.ContainerError.Kind} - */ - public enum Kind - implements com.google.protobuf.ProtocolMessageEnum { - /** - * NON_RECOVERABLE = 0; - */ - NON_RECOVERABLE(0), - /** - * RECOVERABLE = 1; - */ - RECOVERABLE(1), - UNRECOGNIZED(-1), - ; - - /** - * NON_RECOVERABLE = 0; - */ - public static final int NON_RECOVERABLE_VALUE = 0; - /** - * RECOVERABLE = 1; - */ - public static final int RECOVERABLE_VALUE = 1; - - - 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 Kind valueOf(int value) { - return forNumber(value); - } - - public static Kind forNumber(int value) { - switch (value) { - case 0: return NON_RECOVERABLE; - case 1: return RECOVERABLE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Kind> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Kind findValueByNumber(int number) { - return Kind.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.ContainerError.getDescriptor().getEnumTypes().get(0); - } - - private static final Kind[] VALUES = values(); - - public static Kind 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 Kind(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.ContainerError.Kind) - } - - public static final int CODE_FIELD_NUMBER = 1; - private volatile java.lang.Object code_; - /** - *
-     * A simplified code for errors, so that we can provide a glossary of all possible errors.
-     * 
- * - * string code = 1; - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - 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(); - code_ = s; - return s; - } - } - /** - *
-     * A simplified code for errors, so that we can provide a glossary of all possible errors.
-     * 
- * - * string code = 1; - */ - public com.google.protobuf.ByteString - getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MESSAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object message_; - /** - *
-     * A detailed error message.
-     * 
- * - * 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; - } - } - /** - *
-     * A detailed error message.
-     * 
- * - * 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 KIND_FIELD_NUMBER = 3; - private int kind_; - /** - *
-     * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-     * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - public int getKindValue() { - return kind_; - } - /** - *
-     * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-     * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - public flyteidl.core.Errors.ContainerError.Kind getKind() { - @SuppressWarnings("deprecation") - flyteidl.core.Errors.ContainerError.Kind result = flyteidl.core.Errors.ContainerError.Kind.valueOf(kind_); - return result == null ? flyteidl.core.Errors.ContainerError.Kind.UNRECOGNIZED : result; - } - - public static final int ORIGIN_FIELD_NUMBER = 4; - private int origin_; - /** - *
-     * Defines the origin of the error (system, user, unknown).
-     * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - public int getOriginValue() { - return origin_; - } - /** - *
-     * Defines the origin of the error (system, user, unknown).
-     * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - public flyteidl.core.Execution.ExecutionError.ErrorKind getOrigin() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.ExecutionError.ErrorKind result = flyteidl.core.Execution.ExecutionError.ErrorKind.valueOf(origin_); - return result == null ? flyteidl.core.Execution.ExecutionError.ErrorKind.UNRECOGNIZED : result; - } - - 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 (!getCodeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); - } - if (!getMessageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); - } - if (kind_ != flyteidl.core.Errors.ContainerError.Kind.NON_RECOVERABLE.getNumber()) { - output.writeEnum(3, kind_); - } - if (origin_ != flyteidl.core.Execution.ExecutionError.ErrorKind.UNKNOWN.getNumber()) { - output.writeEnum(4, origin_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getCodeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_); - } - if (!getMessageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); - } - if (kind_ != flyteidl.core.Errors.ContainerError.Kind.NON_RECOVERABLE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, kind_); - } - if (origin_ != flyteidl.core.Execution.ExecutionError.ErrorKind.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, origin_); - } - 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.ContainerError)) { - return super.equals(obj); - } - flyteidl.core.Errors.ContainerError other = (flyteidl.core.Errors.ContainerError) obj; - - if (!getCode() - .equals(other.getCode())) return false; - if (!getMessage() - .equals(other.getMessage())) return false; - if (kind_ != other.kind_) return false; - if (origin_ != other.origin_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - hash = (37 * hash) + MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getMessage().hashCode(); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + kind_; - hash = (37 * hash) + ORIGIN_FIELD_NUMBER; - hash = (53 * hash) + origin_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Errors.ContainerError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Errors.ContainerError 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.ContainerError parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Errors.ContainerError 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.ContainerError parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Errors.ContainerError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Errors.ContainerError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Errors.ContainerError 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.ContainerError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Errors.ContainerError 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.ContainerError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Errors.ContainerError 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.ContainerError 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 message to propagate detailed errors from container executions to the execution
-     * engine.
-     * 
- * - * Protobuf type {@code flyteidl.core.ContainerError} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ContainerError) - flyteidl.core.Errors.ContainerErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ContainerError_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ContainerError_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Errors.ContainerError.class, flyteidl.core.Errors.ContainerError.Builder.class); - } - - // Construct using flyteidl.core.Errors.ContainerError.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_ = ""; - - message_ = ""; - - kind_ = 0; - - origin_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ContainerError_descriptor; - } - - @java.lang.Override - public flyteidl.core.Errors.ContainerError getDefaultInstanceForType() { - return flyteidl.core.Errors.ContainerError.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Errors.ContainerError build() { - flyteidl.core.Errors.ContainerError result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Errors.ContainerError buildPartial() { - flyteidl.core.Errors.ContainerError result = new flyteidl.core.Errors.ContainerError(this); - result.code_ = code_; - result.message_ = message_; - result.kind_ = kind_; - result.origin_ = origin_; - 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.ContainerError) { - return mergeFrom((flyteidl.core.Errors.ContainerError)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Errors.ContainerError other) { - if (other == flyteidl.core.Errors.ContainerError.getDefaultInstance()) return this; - if (!other.getCode().isEmpty()) { - code_ = other.code_; - onChanged(); - } - if (!other.getMessage().isEmpty()) { - message_ = other.message_; - onChanged(); - } - if (other.kind_ != 0) { - setKindValue(other.getKindValue()); - } - if (other.origin_ != 0) { - setOriginValue(other.getOriginValue()); - } - 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.ContainerError parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Errors.ContainerError) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object code_ = ""; - /** - *
-       * A simplified code for errors, so that we can provide a glossary of all possible errors.
-       * 
- * - * string code = 1; - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A simplified code for errors, so that we can provide a glossary of all possible errors.
-       * 
- * - * string code = 1; - */ - public com.google.protobuf.ByteString - getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A simplified code for errors, so that we can provide a glossary of all possible errors.
-       * 
- * - * string code = 1; - */ - public Builder setCode( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - code_ = value; - onChanged(); - return this; - } - /** - *
-       * A simplified code for errors, so that we can provide a glossary of all possible errors.
-       * 
- * - * string code = 1; - */ - public Builder clearCode() { - - code_ = getDefaultInstance().getCode(); - onChanged(); - return this; - } - /** - *
-       * A simplified code for errors, so that we can provide a glossary of all possible errors.
-       * 
- * - * string code = 1; - */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - code_ = value; - onChanged(); - return this; - } - - private java.lang.Object message_ = ""; - /** - *
-       * A detailed error message.
-       * 
- * - * 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; - } - } - /** - *
-       * A detailed error message.
-       * 
- * - * 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; - } - } - /** - *
-       * A detailed error message.
-       * 
- * - * string message = 2; - */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - message_ = value; - onChanged(); - return this; - } - /** - *
-       * A detailed error message.
-       * 
- * - * string message = 2; - */ - public Builder clearMessage() { - - message_ = getDefaultInstance().getMessage(); - onChanged(); - return this; - } - /** - *
-       * A detailed error message.
-       * 
- * - * 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 int kind_ = 0; - /** - *
-       * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-       * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - public int getKindValue() { - return kind_; - } - /** - *
-       * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-       * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - public Builder setKindValue(int value) { - kind_ = value; - onChanged(); - return this; - } - /** - *
-       * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-       * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - public flyteidl.core.Errors.ContainerError.Kind getKind() { - @SuppressWarnings("deprecation") - flyteidl.core.Errors.ContainerError.Kind result = flyteidl.core.Errors.ContainerError.Kind.valueOf(kind_); - return result == null ? flyteidl.core.Errors.ContainerError.Kind.UNRECOGNIZED : result; - } - /** - *
-       * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-       * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - public Builder setKind(flyteidl.core.Errors.ContainerError.Kind value) { - if (value == null) { - throw new NullPointerException(); - } - - kind_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
-       * 
- * - * .flyteidl.core.ContainerError.Kind kind = 3; - */ - public Builder clearKind() { - - kind_ = 0; - onChanged(); - return this; - } - - private int origin_ = 0; - /** - *
-       * Defines the origin of the error (system, user, unknown).
-       * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - public int getOriginValue() { - return origin_; - } - /** - *
-       * Defines the origin of the error (system, user, unknown).
-       * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - public Builder setOriginValue(int value) { - origin_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines the origin of the error (system, user, unknown).
-       * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - public flyteidl.core.Execution.ExecutionError.ErrorKind getOrigin() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.ExecutionError.ErrorKind result = flyteidl.core.Execution.ExecutionError.ErrorKind.valueOf(origin_); - return result == null ? flyteidl.core.Execution.ExecutionError.ErrorKind.UNRECOGNIZED : result; - } - /** - *
-       * Defines the origin of the error (system, user, unknown).
-       * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - public Builder setOrigin(flyteidl.core.Execution.ExecutionError.ErrorKind value) { - if (value == null) { - throw new NullPointerException(); - } - - origin_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Defines the origin of the error (system, user, unknown).
-       * 
- * - * .flyteidl.core.ExecutionError.ErrorKind origin = 4; - */ - public Builder clearOrigin() { - - origin_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ContainerError) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ContainerError) - private static final flyteidl.core.Errors.ContainerError DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Errors.ContainerError(); - } - - public static flyteidl.core.Errors.ContainerError getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContainerError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContainerError(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.ContainerError getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ErrorDocumentOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ErrorDocument) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The error raised during execution.
-     * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - boolean hasError(); - /** - *
-     * The error raised during execution.
-     * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - flyteidl.core.Errors.ContainerError getError(); - /** - *
-     * The error raised during execution.
-     * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - flyteidl.core.Errors.ContainerErrorOrBuilder getErrorOrBuilder(); - } - /** - *
-   * Defines the errors.pb file format the container can produce to communicate
-   * failure reasons to the execution engine.
-   * 
- * - * Protobuf type {@code flyteidl.core.ErrorDocument} - */ - public static final class ErrorDocument extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ErrorDocument) - ErrorDocumentOrBuilder { - private static final long serialVersionUID = 0L; - // Use ErrorDocument.newBuilder() to construct. - private ErrorDocument(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ErrorDocument() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ErrorDocument( - 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.ContainerError.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(flyteidl.core.Errors.ContainerError.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = 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.core.Errors.internal_static_flyteidl_core_ErrorDocument_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ErrorDocument_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Errors.ErrorDocument.class, flyteidl.core.Errors.ErrorDocument.Builder.class); - } - - public static final int ERROR_FIELD_NUMBER = 1; - private flyteidl.core.Errors.ContainerError error_; - /** - *
-     * The error raised during execution.
-     * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public boolean hasError() { - return error_ != null; - } - /** - *
-     * The error raised during execution.
-     * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public flyteidl.core.Errors.ContainerError getError() { - return error_ == null ? flyteidl.core.Errors.ContainerError.getDefaultInstance() : error_; - } - /** - *
-     * The error raised during execution.
-     * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public flyteidl.core.Errors.ContainerErrorOrBuilder getErrorOrBuilder() { - return getError(); - } - - 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 (error_ != null) { - output.writeMessage(1, getError()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getError()); - } - 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.ErrorDocument)) { - return super.equals(obj); - } - flyteidl.core.Errors.ErrorDocument other = (flyteidl.core.Errors.ErrorDocument) obj; - - if (hasError() != other.hasError()) return false; - if (hasError()) { - if (!getError() - .equals(other.getError())) 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 (hasError()) { - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Errors.ErrorDocument parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Errors.ErrorDocument 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.ErrorDocument parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Errors.ErrorDocument 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.ErrorDocument parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Errors.ErrorDocument parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Errors.ErrorDocument parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Errors.ErrorDocument 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.ErrorDocument parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Errors.ErrorDocument 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.ErrorDocument parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Errors.ErrorDocument 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.ErrorDocument prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines the errors.pb file format the container can produce to communicate
-     * failure reasons to the execution engine.
-     * 
- * - * Protobuf type {@code flyteidl.core.ErrorDocument} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ErrorDocument) - flyteidl.core.Errors.ErrorDocumentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ErrorDocument_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ErrorDocument_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Errors.ErrorDocument.class, flyteidl.core.Errors.ErrorDocument.Builder.class); - } - - // Construct using flyteidl.core.Errors.ErrorDocument.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 (errorBuilder_ == null) { - error_ = null; - } else { - error_ = null; - errorBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Errors.internal_static_flyteidl_core_ErrorDocument_descriptor; - } - - @java.lang.Override - public flyteidl.core.Errors.ErrorDocument getDefaultInstanceForType() { - return flyteidl.core.Errors.ErrorDocument.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Errors.ErrorDocument build() { - flyteidl.core.Errors.ErrorDocument result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Errors.ErrorDocument buildPartial() { - flyteidl.core.Errors.ErrorDocument result = new flyteidl.core.Errors.ErrorDocument(this); - if (errorBuilder_ == null) { - result.error_ = error_; - } else { - result.error_ = errorBuilder_.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.ErrorDocument) { - return mergeFrom((flyteidl.core.Errors.ErrorDocument)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Errors.ErrorDocument other) { - if (other == flyteidl.core.Errors.ErrorDocument.getDefaultInstance()) return this; - if (other.hasError()) { - mergeError(other.getError()); - } - 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.ErrorDocument parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Errors.ErrorDocument) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Errors.ContainerError error_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Errors.ContainerError, flyteidl.core.Errors.ContainerError.Builder, flyteidl.core.Errors.ContainerErrorOrBuilder> errorBuilder_; - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public boolean hasError() { - return errorBuilder_ != null || error_ != null; - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public flyteidl.core.Errors.ContainerError getError() { - if (errorBuilder_ == null) { - return error_ == null ? flyteidl.core.Errors.ContainerError.getDefaultInstance() : error_; - } else { - return errorBuilder_.getMessage(); - } - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public Builder setError(flyteidl.core.Errors.ContainerError value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - error_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public Builder setError( - flyteidl.core.Errors.ContainerError.Builder builderForValue) { - if (errorBuilder_ == null) { - error_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public Builder mergeError(flyteidl.core.Errors.ContainerError value) { - if (errorBuilder_ == null) { - if (error_ != null) { - error_ = - flyteidl.core.Errors.ContainerError.newBuilder(error_).mergeFrom(value).buildPartial(); - } else { - error_ = value; - } - onChanged(); - } else { - errorBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - error_ = null; - onChanged(); - } else { - error_ = null; - errorBuilder_ = null; - } - - return this; - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public flyteidl.core.Errors.ContainerError.Builder getErrorBuilder() { - - onChanged(); - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - public flyteidl.core.Errors.ContainerErrorOrBuilder getErrorOrBuilder() { - if (errorBuilder_ != null) { - return errorBuilder_.getMessageOrBuilder(); - } else { - return error_ == null ? - flyteidl.core.Errors.ContainerError.getDefaultInstance() : error_; - } - } - /** - *
-       * The error raised during execution.
-       * 
- * - * .flyteidl.core.ContainerError error = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Errors.ContainerError, flyteidl.core.Errors.ContainerError.Builder, flyteidl.core.Errors.ContainerErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Errors.ContainerError, flyteidl.core.Errors.ContainerError.Builder, flyteidl.core.Errors.ContainerErrorOrBuilder>( - getError(), - getParentForChildren(), - isClean()); - error_ = null; - } - return errorBuilder_; - } - @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.ErrorDocument) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ErrorDocument) - private static final flyteidl.core.Errors.ErrorDocument DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Errors.ErrorDocument(); - } - - public static flyteidl.core.Errors.ErrorDocument getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ErrorDocument parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ErrorDocument(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.ErrorDocument getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ContainerError_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ContainerError_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ErrorDocument_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ErrorDocument_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\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.ContainerErrorB - * Indicates various phases of Workflow Execution - * - * - * Protobuf type {@code flyteidl.core.WorkflowExecution} - */ - public static final class WorkflowExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.WorkflowExecution) - WorkflowExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecution.newBuilder() to construct. - private WorkflowExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecution() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecution( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_WorkflowExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_WorkflowExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.WorkflowExecution.class, flyteidl.core.Execution.WorkflowExecution.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.WorkflowExecution.Phase} - */ - public enum Phase - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNDEFINED = 0; - */ - UNDEFINED(0), - /** - * QUEUED = 1; - */ - QUEUED(1), - /** - * RUNNING = 2; - */ - RUNNING(2), - /** - * SUCCEEDING = 3; - */ - SUCCEEDING(3), - /** - * SUCCEEDED = 4; - */ - SUCCEEDED(4), - /** - * FAILING = 5; - */ - FAILING(5), - /** - * FAILED = 6; - */ - FAILED(6), - /** - * ABORTED = 7; - */ - ABORTED(7), - /** - * TIMED_OUT = 8; - */ - TIMED_OUT(8), - /** - * ABORTING = 9; - */ - ABORTING(9), - UNRECOGNIZED(-1), - ; - - /** - * UNDEFINED = 0; - */ - public static final int UNDEFINED_VALUE = 0; - /** - * QUEUED = 1; - */ - public static final int QUEUED_VALUE = 1; - /** - * RUNNING = 2; - */ - public static final int RUNNING_VALUE = 2; - /** - * SUCCEEDING = 3; - */ - public static final int SUCCEEDING_VALUE = 3; - /** - * SUCCEEDED = 4; - */ - public static final int SUCCEEDED_VALUE = 4; - /** - * FAILING = 5; - */ - public static final int FAILING_VALUE = 5; - /** - * FAILED = 6; - */ - public static final int FAILED_VALUE = 6; - /** - * ABORTED = 7; - */ - public static final int ABORTED_VALUE = 7; - /** - * TIMED_OUT = 8; - */ - public static final int TIMED_OUT_VALUE = 8; - /** - * ABORTING = 9; - */ - public static final int ABORTING_VALUE = 9; - - - 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 Phase valueOf(int value) { - return forNumber(value); - } - - public static Phase forNumber(int value) { - switch (value) { - case 0: return UNDEFINED; - case 1: return QUEUED; - case 2: return RUNNING; - case 3: return SUCCEEDING; - case 4: return SUCCEEDED; - case 5: return FAILING; - case 6: return FAILED; - case 7: return ABORTED; - case 8: return TIMED_OUT; - case 9: return ABORTING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Phase> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Phase findValueByNumber(int number) { - return Phase.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.Execution.WorkflowExecution.getDescriptor().getEnumTypes().get(0); - } - - private static final Phase[] VALUES = values(); - - public static Phase 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 Phase(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.WorkflowExecution.Phase) - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Execution.WorkflowExecution)) { - return super.equals(obj); - } - flyteidl.core.Execution.WorkflowExecution other = (flyteidl.core.Execution.WorkflowExecution) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Execution.WorkflowExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.WorkflowExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.WorkflowExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.WorkflowExecution 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.Execution.WorkflowExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.WorkflowExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.WorkflowExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.WorkflowExecution 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.Execution.WorkflowExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.WorkflowExecution 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.Execution.WorkflowExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.WorkflowExecution 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.Execution.WorkflowExecution 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; - } - /** - *
-     * Indicates various phases of Workflow Execution
-     * 
- * - * Protobuf type {@code flyteidl.core.WorkflowExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.WorkflowExecution) - flyteidl.core.Execution.WorkflowExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_WorkflowExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_WorkflowExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.WorkflowExecution.class, flyteidl.core.Execution.WorkflowExecution.Builder.class); - } - - // Construct using flyteidl.core.Execution.WorkflowExecution.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Execution.internal_static_flyteidl_core_WorkflowExecution_descriptor; - } - - @java.lang.Override - public flyteidl.core.Execution.WorkflowExecution getDefaultInstanceForType() { - return flyteidl.core.Execution.WorkflowExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Execution.WorkflowExecution build() { - flyteidl.core.Execution.WorkflowExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Execution.WorkflowExecution buildPartial() { - flyteidl.core.Execution.WorkflowExecution result = new flyteidl.core.Execution.WorkflowExecution(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Execution.WorkflowExecution) { - return mergeFrom((flyteidl.core.Execution.WorkflowExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Execution.WorkflowExecution other) { - if (other == flyteidl.core.Execution.WorkflowExecution.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Execution.WorkflowExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Execution.WorkflowExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.WorkflowExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowExecution) - private static final flyteidl.core.Execution.WorkflowExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Execution.WorkflowExecution(); - } - - public static flyteidl.core.Execution.WorkflowExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecution(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.Execution.WorkflowExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.NodeExecution) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Indicates various phases of Node Execution that only include the time spent to run the nodes/workflows
-   * 
- * - * Protobuf type {@code flyteidl.core.NodeExecution} - */ - public static final class NodeExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.NodeExecution) - NodeExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecution.newBuilder() to construct. - private NodeExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecution() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecution( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_NodeExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_NodeExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.NodeExecution.class, flyteidl.core.Execution.NodeExecution.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.NodeExecution.Phase} - */ - public enum Phase - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNDEFINED = 0; - */ - UNDEFINED(0), - /** - * QUEUED = 1; - */ - QUEUED(1), - /** - * RUNNING = 2; - */ - RUNNING(2), - /** - * SUCCEEDED = 3; - */ - SUCCEEDED(3), - /** - * FAILING = 4; - */ - FAILING(4), - /** - * FAILED = 5; - */ - FAILED(5), - /** - * ABORTED = 6; - */ - ABORTED(6), - /** - * SKIPPED = 7; - */ - SKIPPED(7), - /** - * TIMED_OUT = 8; - */ - TIMED_OUT(8), - /** - * DYNAMIC_RUNNING = 9; - */ - DYNAMIC_RUNNING(9), - /** - * RECOVERED = 10; - */ - RECOVERED(10), - UNRECOGNIZED(-1), - ; - - /** - * UNDEFINED = 0; - */ - public static final int UNDEFINED_VALUE = 0; - /** - * QUEUED = 1; - */ - public static final int QUEUED_VALUE = 1; - /** - * RUNNING = 2; - */ - public static final int RUNNING_VALUE = 2; - /** - * SUCCEEDED = 3; - */ - public static final int SUCCEEDED_VALUE = 3; - /** - * FAILING = 4; - */ - public static final int FAILING_VALUE = 4; - /** - * FAILED = 5; - */ - public static final int FAILED_VALUE = 5; - /** - * ABORTED = 6; - */ - public static final int ABORTED_VALUE = 6; - /** - * SKIPPED = 7; - */ - public static final int SKIPPED_VALUE = 7; - /** - * TIMED_OUT = 8; - */ - public static final int TIMED_OUT_VALUE = 8; - /** - * DYNAMIC_RUNNING = 9; - */ - public static final int DYNAMIC_RUNNING_VALUE = 9; - /** - * RECOVERED = 10; - */ - public static final int RECOVERED_VALUE = 10; - - - 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 Phase valueOf(int value) { - return forNumber(value); - } - - public static Phase forNumber(int value) { - switch (value) { - case 0: return UNDEFINED; - case 1: return QUEUED; - case 2: return RUNNING; - case 3: return SUCCEEDED; - case 4: return FAILING; - case 5: return FAILED; - case 6: return ABORTED; - case 7: return SKIPPED; - case 8: return TIMED_OUT; - case 9: return DYNAMIC_RUNNING; - case 10: return RECOVERED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Phase> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Phase findValueByNumber(int number) { - return Phase.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.Execution.NodeExecution.getDescriptor().getEnumTypes().get(0); - } - - private static final Phase[] VALUES = values(); - - public static Phase 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 Phase(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.NodeExecution.Phase) - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Execution.NodeExecution)) { - return super.equals(obj); - } - flyteidl.core.Execution.NodeExecution other = (flyteidl.core.Execution.NodeExecution) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Execution.NodeExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.NodeExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.NodeExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.NodeExecution 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.Execution.NodeExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.NodeExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.NodeExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.NodeExecution 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.Execution.NodeExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.NodeExecution 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.Execution.NodeExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.NodeExecution 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.Execution.NodeExecution 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; - } - /** - *
-     * Indicates various phases of Node Execution that only include the time spent to run the nodes/workflows
-     * 
- * - * Protobuf type {@code flyteidl.core.NodeExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.NodeExecution) - flyteidl.core.Execution.NodeExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_NodeExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_NodeExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.NodeExecution.class, flyteidl.core.Execution.NodeExecution.Builder.class); - } - - // Construct using flyteidl.core.Execution.NodeExecution.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Execution.internal_static_flyteidl_core_NodeExecution_descriptor; - } - - @java.lang.Override - public flyteidl.core.Execution.NodeExecution getDefaultInstanceForType() { - return flyteidl.core.Execution.NodeExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Execution.NodeExecution build() { - flyteidl.core.Execution.NodeExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Execution.NodeExecution buildPartial() { - flyteidl.core.Execution.NodeExecution result = new flyteidl.core.Execution.NodeExecution(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Execution.NodeExecution) { - return mergeFrom((flyteidl.core.Execution.NodeExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Execution.NodeExecution other) { - if (other == flyteidl.core.Execution.NodeExecution.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Execution.NodeExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Execution.NodeExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.NodeExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.NodeExecution) - private static final flyteidl.core.Execution.NodeExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Execution.NodeExecution(); - } - - public static flyteidl.core.Execution.NodeExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecution(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.Execution.NodeExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TaskExecution) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task,
-   * but this is the cumulative list that customers may want to know about for their task.
-   * 
- * - * Protobuf type {@code flyteidl.core.TaskExecution} - */ - public static final class TaskExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TaskExecution) - TaskExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecution.newBuilder() to construct. - private TaskExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecution() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecution( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.TaskExecution.class, flyteidl.core.Execution.TaskExecution.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.TaskExecution.Phase} - */ - public enum Phase - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNDEFINED = 0; - */ - UNDEFINED(0), - /** - * QUEUED = 1; - */ - QUEUED(1), - /** - * RUNNING = 2; - */ - RUNNING(2), - /** - * SUCCEEDED = 3; - */ - SUCCEEDED(3), - /** - * ABORTED = 4; - */ - ABORTED(4), - /** - * FAILED = 5; - */ - FAILED(5), - /** - *
-       * To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing
-       * 
- * - * INITIALIZING = 6; - */ - INITIALIZING(6), - /** - *
-       * To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded
-       * 
- * - * WAITING_FOR_RESOURCES = 7; - */ - WAITING_FOR_RESOURCES(7), - UNRECOGNIZED(-1), - ; - - /** - * UNDEFINED = 0; - */ - public static final int UNDEFINED_VALUE = 0; - /** - * QUEUED = 1; - */ - public static final int QUEUED_VALUE = 1; - /** - * RUNNING = 2; - */ - public static final int RUNNING_VALUE = 2; - /** - * SUCCEEDED = 3; - */ - public static final int SUCCEEDED_VALUE = 3; - /** - * ABORTED = 4; - */ - public static final int ABORTED_VALUE = 4; - /** - * FAILED = 5; - */ - public static final int FAILED_VALUE = 5; - /** - *
-       * To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing
-       * 
- * - * INITIALIZING = 6; - */ - public static final int INITIALIZING_VALUE = 6; - /** - *
-       * To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded
-       * 
- * - * WAITING_FOR_RESOURCES = 7; - */ - public static final int WAITING_FOR_RESOURCES_VALUE = 7; - - - 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 Phase valueOf(int value) { - return forNumber(value); - } - - public static Phase forNumber(int value) { - switch (value) { - case 0: return UNDEFINED; - case 1: return QUEUED; - case 2: return RUNNING; - case 3: return SUCCEEDED; - case 4: return ABORTED; - case 5: return FAILED; - case 6: return INITIALIZING; - case 7: return WAITING_FOR_RESOURCES; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Phase> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Phase findValueByNumber(int number) { - return Phase.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.Execution.TaskExecution.getDescriptor().getEnumTypes().get(0); - } - - private static final Phase[] VALUES = values(); - - public static Phase 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 Phase(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.TaskExecution.Phase) - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Execution.TaskExecution)) { - return super.equals(obj); - } - flyteidl.core.Execution.TaskExecution other = (flyteidl.core.Execution.TaskExecution) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Execution.TaskExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.TaskExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.TaskExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.TaskExecution 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.Execution.TaskExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.TaskExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.TaskExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.TaskExecution 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.Execution.TaskExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.TaskExecution 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.Execution.TaskExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.TaskExecution 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.Execution.TaskExecution 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; - } - /** - *
-     * Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task,
-     * but this is the cumulative list that customers may want to know about for their task.
-     * 
- * - * Protobuf type {@code flyteidl.core.TaskExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TaskExecution) - flyteidl.core.Execution.TaskExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.TaskExecution.class, flyteidl.core.Execution.TaskExecution.Builder.class); - } - - // Construct using flyteidl.core.Execution.TaskExecution.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskExecution_descriptor; - } - - @java.lang.Override - public flyteidl.core.Execution.TaskExecution getDefaultInstanceForType() { - return flyteidl.core.Execution.TaskExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Execution.TaskExecution build() { - flyteidl.core.Execution.TaskExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Execution.TaskExecution buildPartial() { - flyteidl.core.Execution.TaskExecution result = new flyteidl.core.Execution.TaskExecution(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Execution.TaskExecution) { - return mergeFrom((flyteidl.core.Execution.TaskExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Execution.TaskExecution other) { - if (other == flyteidl.core.Execution.TaskExecution.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Execution.TaskExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Execution.TaskExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.TaskExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskExecution) - private static final flyteidl.core.Execution.TaskExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Execution.TaskExecution(); - } - - public static flyteidl.core.Execution.TaskExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecution(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.Execution.TaskExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ExecutionError) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Error code indicates a grouping of a type of error.
-     * More Info: <Link>
-     * 
- * - * string code = 1; - */ - java.lang.String getCode(); - /** - *
-     * Error code indicates a grouping of a type of error.
-     * More Info: <Link>
-     * 
- * - * string code = 1; - */ - com.google.protobuf.ByteString - getCodeBytes(); - - /** - *
-     * Detailed description of the error - including stack trace.
-     * 
- * - * string message = 2; - */ - java.lang.String getMessage(); - /** - *
-     * Detailed description of the error - including stack trace.
-     * 
- * - * string message = 2; - */ - com.google.protobuf.ByteString - getMessageBytes(); - - /** - *
-     * Full error contents accessible via a URI
-     * 
- * - * string error_uri = 3; - */ - java.lang.String getErrorUri(); - /** - *
-     * Full error contents accessible via a URI
-     * 
- * - * string error_uri = 3; - */ - com.google.protobuf.ByteString - getErrorUriBytes(); - - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - int getKindValue(); - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - flyteidl.core.Execution.ExecutionError.ErrorKind getKind(); - } - /** - *
-   * Represents the error message from the execution.
-   * 
- * - * Protobuf type {@code flyteidl.core.ExecutionError} - */ - public static final class ExecutionError extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ExecutionError) - ExecutionErrorOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionError.newBuilder() to construct. - private ExecutionError(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionError() { - code_ = ""; - message_ = ""; - errorUri_ = ""; - kind_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionError( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - code_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - message_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - errorUri_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); - - kind_ = rawValue; - 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.Execution.internal_static_flyteidl_core_ExecutionError_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_ExecutionError_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.ExecutionError.class, flyteidl.core.Execution.ExecutionError.Builder.class); - } - - /** - *
-     * Error type: System or User
-     * 
- * - * Protobuf enum {@code flyteidl.core.ExecutionError.ErrorKind} - */ - public enum ErrorKind - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNKNOWN = 0; - */ - UNKNOWN(0), - /** - * USER = 1; - */ - USER(1), - /** - * SYSTEM = 2; - */ - SYSTEM(2), - UNRECOGNIZED(-1), - ; - - /** - * UNKNOWN = 0; - */ - public static final int UNKNOWN_VALUE = 0; - /** - * USER = 1; - */ - public static final int USER_VALUE = 1; - /** - * SYSTEM = 2; - */ - public static final int SYSTEM_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ErrorKind valueOf(int value) { - return forNumber(value); - } - - public static ErrorKind forNumber(int value) { - switch (value) { - case 0: return UNKNOWN; - case 1: return USER; - case 2: return SYSTEM; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ErrorKind> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ErrorKind findValueByNumber(int number) { - return ErrorKind.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.Execution.ExecutionError.getDescriptor().getEnumTypes().get(0); - } - - private static final ErrorKind[] VALUES = values(); - - public static ErrorKind 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 ErrorKind(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.ExecutionError.ErrorKind) - } - - public static final int CODE_FIELD_NUMBER = 1; - private volatile java.lang.Object code_; - /** - *
-     * Error code indicates a grouping of a type of error.
-     * More Info: <Link>
-     * 
- * - * string code = 1; - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - 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(); - code_ = s; - return s; - } - } - /** - *
-     * Error code indicates a grouping of a type of error.
-     * More Info: <Link>
-     * 
- * - * string code = 1; - */ - public com.google.protobuf.ByteString - getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MESSAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object message_; - /** - *
-     * Detailed description of the error - including stack trace.
-     * 
- * - * 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; - } - } - /** - *
-     * Detailed description of the error - including stack trace.
-     * 
- * - * 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 ERROR_URI_FIELD_NUMBER = 3; - private volatile java.lang.Object errorUri_; - /** - *
-     * Full error contents accessible via a URI
-     * 
- * - * string error_uri = 3; - */ - public java.lang.String getErrorUri() { - java.lang.Object ref = errorUri_; - 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(); - errorUri_ = s; - return s; - } - } - /** - *
-     * Full error contents accessible via a URI
-     * 
- * - * string error_uri = 3; - */ - public com.google.protobuf.ByteString - getErrorUriBytes() { - java.lang.Object ref = errorUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int KIND_FIELD_NUMBER = 4; - private int kind_; - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - public int getKindValue() { - return kind_; - } - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - public flyteidl.core.Execution.ExecutionError.ErrorKind getKind() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.ExecutionError.ErrorKind result = flyteidl.core.Execution.ExecutionError.ErrorKind.valueOf(kind_); - return result == null ? flyteidl.core.Execution.ExecutionError.ErrorKind.UNRECOGNIZED : result; - } - - 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 (!getCodeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); - } - if (!getMessageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); - } - if (!getErrorUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorUri_); - } - if (kind_ != flyteidl.core.Execution.ExecutionError.ErrorKind.UNKNOWN.getNumber()) { - output.writeEnum(4, kind_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getCodeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_); - } - if (!getMessageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); - } - if (!getErrorUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorUri_); - } - if (kind_ != flyteidl.core.Execution.ExecutionError.ErrorKind.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, kind_); - } - 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.Execution.ExecutionError)) { - return super.equals(obj); - } - flyteidl.core.Execution.ExecutionError other = (flyteidl.core.Execution.ExecutionError) obj; - - if (!getCode() - .equals(other.getCode())) return false; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getErrorUri() - .equals(other.getErrorUri())) return false; - if (kind_ != other.kind_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CODE_FIELD_NUMBER; - hash = (53 * hash) + getCode().hashCode(); - hash = (37 * hash) + MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getMessage().hashCode(); - hash = (37 * hash) + ERROR_URI_FIELD_NUMBER; - hash = (53 * hash) + getErrorUri().hashCode(); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + kind_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Execution.ExecutionError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.ExecutionError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.ExecutionError parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.ExecutionError 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.Execution.ExecutionError parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.ExecutionError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.ExecutionError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.ExecutionError 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.Execution.ExecutionError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.ExecutionError 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.Execution.ExecutionError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.ExecutionError 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.Execution.ExecutionError 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; - } - /** - *
-     * Represents the error message from the execution.
-     * 
- * - * Protobuf type {@code flyteidl.core.ExecutionError} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ExecutionError) - flyteidl.core.Execution.ExecutionErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_ExecutionError_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_ExecutionError_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.ExecutionError.class, flyteidl.core.Execution.ExecutionError.Builder.class); - } - - // Construct using flyteidl.core.Execution.ExecutionError.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_ = ""; - - message_ = ""; - - errorUri_ = ""; - - kind_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Execution.internal_static_flyteidl_core_ExecutionError_descriptor; - } - - @java.lang.Override - public flyteidl.core.Execution.ExecutionError getDefaultInstanceForType() { - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Execution.ExecutionError build() { - flyteidl.core.Execution.ExecutionError result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Execution.ExecutionError buildPartial() { - flyteidl.core.Execution.ExecutionError result = new flyteidl.core.Execution.ExecutionError(this); - result.code_ = code_; - result.message_ = message_; - result.errorUri_ = errorUri_; - result.kind_ = kind_; - 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.Execution.ExecutionError) { - return mergeFrom((flyteidl.core.Execution.ExecutionError)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Execution.ExecutionError other) { - if (other == flyteidl.core.Execution.ExecutionError.getDefaultInstance()) return this; - if (!other.getCode().isEmpty()) { - code_ = other.code_; - onChanged(); - } - if (!other.getMessage().isEmpty()) { - message_ = other.message_; - onChanged(); - } - if (!other.getErrorUri().isEmpty()) { - errorUri_ = other.errorUri_; - onChanged(); - } - if (other.kind_ != 0) { - setKindValue(other.getKindValue()); - } - 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.Execution.ExecutionError parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Execution.ExecutionError) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object code_ = ""; - /** - *
-       * Error code indicates a grouping of a type of error.
-       * More Info: <Link>
-       * 
- * - * string code = 1; - */ - public java.lang.String getCode() { - java.lang.Object ref = code_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - code_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Error code indicates a grouping of a type of error.
-       * More Info: <Link>
-       * 
- * - * string code = 1; - */ - public com.google.protobuf.ByteString - getCodeBytes() { - java.lang.Object ref = code_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - code_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Error code indicates a grouping of a type of error.
-       * More Info: <Link>
-       * 
- * - * string code = 1; - */ - public Builder setCode( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - code_ = value; - onChanged(); - return this; - } - /** - *
-       * Error code indicates a grouping of a type of error.
-       * More Info: <Link>
-       * 
- * - * string code = 1; - */ - public Builder clearCode() { - - code_ = getDefaultInstance().getCode(); - onChanged(); - return this; - } - /** - *
-       * Error code indicates a grouping of a type of error.
-       * More Info: <Link>
-       * 
- * - * string code = 1; - */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - code_ = value; - onChanged(); - return this; - } - - private java.lang.Object message_ = ""; - /** - *
-       * Detailed description of the error - including stack trace.
-       * 
- * - * 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; - } - } - /** - *
-       * Detailed description of the error - including stack trace.
-       * 
- * - * 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; - } - } - /** - *
-       * Detailed description of the error - including stack trace.
-       * 
- * - * string message = 2; - */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - message_ = value; - onChanged(); - return this; - } - /** - *
-       * Detailed description of the error - including stack trace.
-       * 
- * - * string message = 2; - */ - public Builder clearMessage() { - - message_ = getDefaultInstance().getMessage(); - onChanged(); - return this; - } - /** - *
-       * Detailed description of the error - including stack trace.
-       * 
- * - * 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 java.lang.Object errorUri_ = ""; - /** - *
-       * Full error contents accessible via a URI
-       * 
- * - * string error_uri = 3; - */ - public java.lang.String getErrorUri() { - java.lang.Object ref = errorUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - errorUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Full error contents accessible via a URI
-       * 
- * - * string error_uri = 3; - */ - public com.google.protobuf.ByteString - getErrorUriBytes() { - java.lang.Object ref = errorUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Full error contents accessible via a URI
-       * 
- * - * string error_uri = 3; - */ - public Builder setErrorUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - errorUri_ = value; - onChanged(); - return this; - } - /** - *
-       * Full error contents accessible via a URI
-       * 
- * - * string error_uri = 3; - */ - public Builder clearErrorUri() { - - errorUri_ = getDefaultInstance().getErrorUri(); - onChanged(); - return this; - } - /** - *
-       * Full error contents accessible via a URI
-       * 
- * - * string error_uri = 3; - */ - public Builder setErrorUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - errorUri_ = value; - onChanged(); - return this; - } - - private int kind_ = 0; - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - public int getKindValue() { - return kind_; - } - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - public Builder setKindValue(int value) { - kind_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - public flyteidl.core.Execution.ExecutionError.ErrorKind getKind() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.ExecutionError.ErrorKind result = flyteidl.core.Execution.ExecutionError.ErrorKind.valueOf(kind_); - return result == null ? flyteidl.core.Execution.ExecutionError.ErrorKind.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - public Builder setKind(flyteidl.core.Execution.ExecutionError.ErrorKind value) { - if (value == null) { - throw new NullPointerException(); - } - - kind_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.ExecutionError.ErrorKind kind = 4; - */ - public Builder clearKind() { - - kind_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ExecutionError) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ExecutionError) - private static final flyteidl.core.Execution.ExecutionError DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Execution.ExecutionError(); - } - - public static flyteidl.core.Execution.ExecutionError getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionError(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.Execution.ExecutionError getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskLogOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TaskLog) - com.google.protobuf.MessageOrBuilder { - - /** - * string uri = 1; - */ - java.lang.String getUri(); - /** - * string uri = 1; - */ - com.google.protobuf.ByteString - getUriBytes(); - - /** - * string name = 2; - */ - java.lang.String getName(); - /** - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - int getMessageFormatValue(); - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - flyteidl.core.Execution.TaskLog.MessageFormat getMessageFormat(); - - /** - * .google.protobuf.Duration ttl = 4; - */ - boolean hasTtl(); - /** - * .google.protobuf.Duration ttl = 4; - */ - com.google.protobuf.Duration getTtl(); - /** - * .google.protobuf.Duration ttl = 4; - */ - com.google.protobuf.DurationOrBuilder getTtlOrBuilder(); - } - /** - *
-   * Log information for the task that is specific to a log sink
-   * When our log story is flushed out, we may have more metadata here like log link expiry
-   * 
- * - * Protobuf type {@code flyteidl.core.TaskLog} - */ - public static final class TaskLog extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TaskLog) - TaskLogOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskLog.newBuilder() to construct. - private TaskLog(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskLog() { - uri_ = ""; - name_ = ""; - messageFormat_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskLog( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - messageFormat_ = rawValue; - break; - } - case 34: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (ttl_ != null) { - subBuilder = ttl_.toBuilder(); - } - ttl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(ttl_); - ttl_ = 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.core.Execution.internal_static_flyteidl_core_TaskLog_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskLog_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.TaskLog.class, flyteidl.core.Execution.TaskLog.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.TaskLog.MessageFormat} - */ - public enum MessageFormat - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNKNOWN = 0; - */ - UNKNOWN(0), - /** - * CSV = 1; - */ - CSV(1), - /** - * JSON = 2; - */ - JSON(2), - UNRECOGNIZED(-1), - ; - - /** - * UNKNOWN = 0; - */ - public static final int UNKNOWN_VALUE = 0; - /** - * CSV = 1; - */ - public static final int CSV_VALUE = 1; - /** - * JSON = 2; - */ - public static final int JSON_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static MessageFormat valueOf(int value) { - return forNumber(value); - } - - public static MessageFormat forNumber(int value) { - switch (value) { - case 0: return UNKNOWN; - case 1: return CSV; - case 2: return JSON; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - MessageFormat> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MessageFormat findValueByNumber(int number) { - return MessageFormat.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.Execution.TaskLog.getDescriptor().getEnumTypes().get(0); - } - - private static final MessageFormat[] VALUES = values(); - - public static MessageFormat 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 MessageFormat(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.TaskLog.MessageFormat) - } - - public static final int URI_FIELD_NUMBER = 1; - private volatile java.lang.Object uri_; - /** - * string uri = 1; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - 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(); - uri_ = s; - return s; - } - } - /** - * string uri = 1; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MESSAGE_FORMAT_FIELD_NUMBER = 3; - private int messageFormat_; - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - public int getMessageFormatValue() { - return messageFormat_; - } - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - public flyteidl.core.Execution.TaskLog.MessageFormat getMessageFormat() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskLog.MessageFormat result = flyteidl.core.Execution.TaskLog.MessageFormat.valueOf(messageFormat_); - return result == null ? flyteidl.core.Execution.TaskLog.MessageFormat.UNRECOGNIZED : result; - } - - public static final int TTL_FIELD_NUMBER = 4; - private com.google.protobuf.Duration ttl_; - /** - * .google.protobuf.Duration ttl = 4; - */ - public boolean hasTtl() { - return ttl_ != null; - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public com.google.protobuf.Duration getTtl() { - return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_; - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() { - return getTtl(); - } - - 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 (!getUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - if (messageFormat_ != flyteidl.core.Execution.TaskLog.MessageFormat.UNKNOWN.getNumber()) { - output.writeEnum(3, messageFormat_); - } - if (ttl_ != null) { - output.writeMessage(4, getTtl()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - if (messageFormat_ != flyteidl.core.Execution.TaskLog.MessageFormat.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, messageFormat_); - } - if (ttl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTtl()); - } - 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.Execution.TaskLog)) { - return super.equals(obj); - } - flyteidl.core.Execution.TaskLog other = (flyteidl.core.Execution.TaskLog) obj; - - if (!getUri() - .equals(other.getUri())) return false; - if (!getName() - .equals(other.getName())) return false; - if (messageFormat_ != other.messageFormat_) return false; - if (hasTtl() != other.hasTtl()) return false; - if (hasTtl()) { - if (!getTtl() - .equals(other.getTtl())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + MESSAGE_FORMAT_FIELD_NUMBER; - hash = (53 * hash) + messageFormat_; - if (hasTtl()) { - hash = (37 * hash) + TTL_FIELD_NUMBER; - hash = (53 * hash) + getTtl().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Execution.TaskLog parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.TaskLog parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.TaskLog parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.TaskLog 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.Execution.TaskLog parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.TaskLog parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.TaskLog parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.TaskLog 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.Execution.TaskLog parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.TaskLog 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.Execution.TaskLog parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.TaskLog 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.Execution.TaskLog 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; - } - /** - *
-     * Log information for the task that is specific to a log sink
-     * When our log story is flushed out, we may have more metadata here like log link expiry
-     * 
- * - * Protobuf type {@code flyteidl.core.TaskLog} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TaskLog) - flyteidl.core.Execution.TaskLogOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskLog_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskLog_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.TaskLog.class, flyteidl.core.Execution.TaskLog.Builder.class); - } - - // Construct using flyteidl.core.Execution.TaskLog.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(); - uri_ = ""; - - name_ = ""; - - messageFormat_ = 0; - - if (ttlBuilder_ == null) { - ttl_ = null; - } else { - ttl_ = null; - ttlBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Execution.internal_static_flyteidl_core_TaskLog_descriptor; - } - - @java.lang.Override - public flyteidl.core.Execution.TaskLog getDefaultInstanceForType() { - return flyteidl.core.Execution.TaskLog.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Execution.TaskLog build() { - flyteidl.core.Execution.TaskLog result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Execution.TaskLog buildPartial() { - flyteidl.core.Execution.TaskLog result = new flyteidl.core.Execution.TaskLog(this); - result.uri_ = uri_; - result.name_ = name_; - result.messageFormat_ = messageFormat_; - if (ttlBuilder_ == null) { - result.ttl_ = ttl_; - } else { - result.ttl_ = ttlBuilder_.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.Execution.TaskLog) { - return mergeFrom((flyteidl.core.Execution.TaskLog)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Execution.TaskLog other) { - if (other == flyteidl.core.Execution.TaskLog.getDefaultInstance()) return this; - if (!other.getUri().isEmpty()) { - uri_ = other.uri_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.messageFormat_ != 0) { - setMessageFormatValue(other.getMessageFormatValue()); - } - if (other.hasTtl()) { - mergeTtl(other.getTtl()); - } - 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.Execution.TaskLog parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Execution.TaskLog) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object uri_ = ""; - /** - * string uri = 1; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string uri = 1; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string uri = 1; - */ - public Builder setUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uri_ = value; - onChanged(); - return this; - } - /** - * string uri = 1; - */ - public Builder clearUri() { - - uri_ = getDefaultInstance().getUri(); - onChanged(); - return this; - } - /** - * string uri = 1; - */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uri_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 2; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private int messageFormat_ = 0; - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - public int getMessageFormatValue() { - return messageFormat_; - } - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - public Builder setMessageFormatValue(int value) { - messageFormat_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - public flyteidl.core.Execution.TaskLog.MessageFormat getMessageFormat() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskLog.MessageFormat result = flyteidl.core.Execution.TaskLog.MessageFormat.valueOf(messageFormat_); - return result == null ? flyteidl.core.Execution.TaskLog.MessageFormat.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - public Builder setMessageFormat(flyteidl.core.Execution.TaskLog.MessageFormat value) { - if (value == null) { - throw new NullPointerException(); - } - - messageFormat_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.TaskLog.MessageFormat message_format = 3; - */ - public Builder clearMessageFormat() { - - messageFormat_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Duration ttl_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ttlBuilder_; - /** - * .google.protobuf.Duration ttl = 4; - */ - public boolean hasTtl() { - return ttlBuilder_ != null || ttl_ != null; - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public com.google.protobuf.Duration getTtl() { - if (ttlBuilder_ == null) { - return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_; - } else { - return ttlBuilder_.getMessage(); - } - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public Builder setTtl(com.google.protobuf.Duration value) { - if (ttlBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ttl_ = value; - onChanged(); - } else { - ttlBuilder_.setMessage(value); - } - - return this; - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public Builder setTtl( - com.google.protobuf.Duration.Builder builderForValue) { - if (ttlBuilder_ == null) { - ttl_ = builderForValue.build(); - onChanged(); - } else { - ttlBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public Builder mergeTtl(com.google.protobuf.Duration value) { - if (ttlBuilder_ == null) { - if (ttl_ != null) { - ttl_ = - com.google.protobuf.Duration.newBuilder(ttl_).mergeFrom(value).buildPartial(); - } else { - ttl_ = value; - } - onChanged(); - } else { - ttlBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public Builder clearTtl() { - if (ttlBuilder_ == null) { - ttl_ = null; - onChanged(); - } else { - ttl_ = null; - ttlBuilder_ = null; - } - - return this; - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public com.google.protobuf.Duration.Builder getTtlBuilder() { - - onChanged(); - return getTtlFieldBuilder().getBuilder(); - } - /** - * .google.protobuf.Duration ttl = 4; - */ - public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() { - if (ttlBuilder_ != null) { - return ttlBuilder_.getMessageOrBuilder(); - } else { - return ttl_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : ttl_; - } - } - /** - * .google.protobuf.Duration ttl = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getTtlFieldBuilder() { - if (ttlBuilder_ == null) { - ttlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTtl(), - getParentForChildren(), - isClean()); - ttl_ = null; - } - return ttlBuilder_; - } - @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.TaskLog) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskLog) - private static final flyteidl.core.Execution.TaskLog DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Execution.TaskLog(); - } - - public static flyteidl.core.Execution.TaskLog getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskLog parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskLog(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.Execution.TaskLog getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface QualityOfServiceSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.QualityOfServiceSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates how much queueing delay an execution can tolerate.
-     * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - boolean hasQueueingBudget(); - /** - *
-     * Indicates how much queueing delay an execution can tolerate.
-     * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - com.google.protobuf.Duration getQueueingBudget(); - /** - *
-     * Indicates how much queueing delay an execution can tolerate.
-     * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - com.google.protobuf.DurationOrBuilder getQueueingBudgetOrBuilder(); - } - /** - *
-   * Represents customized execution run-time attributes.
-   * 
- * - * Protobuf type {@code flyteidl.core.QualityOfServiceSpec} - */ - public static final class QualityOfServiceSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.QualityOfServiceSpec) - QualityOfServiceSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use QualityOfServiceSpec.newBuilder() to construct. - private QualityOfServiceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private QualityOfServiceSpec() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private QualityOfServiceSpec( - 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: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (queueingBudget_ != null) { - subBuilder = queueingBudget_.toBuilder(); - } - queueingBudget_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queueingBudget_); - queueingBudget_ = 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.core.Execution.internal_static_flyteidl_core_QualityOfServiceSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfServiceSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.QualityOfServiceSpec.class, flyteidl.core.Execution.QualityOfServiceSpec.Builder.class); - } - - public static final int QUEUEING_BUDGET_FIELD_NUMBER = 1; - private com.google.protobuf.Duration queueingBudget_; - /** - *
-     * Indicates how much queueing delay an execution can tolerate.
-     * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public boolean hasQueueingBudget() { - return queueingBudget_ != null; - } - /** - *
-     * Indicates how much queueing delay an execution can tolerate.
-     * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public com.google.protobuf.Duration getQueueingBudget() { - return queueingBudget_ == null ? com.google.protobuf.Duration.getDefaultInstance() : queueingBudget_; - } - /** - *
-     * Indicates how much queueing delay an execution can tolerate.
-     * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public com.google.protobuf.DurationOrBuilder getQueueingBudgetOrBuilder() { - return getQueueingBudget(); - } - - 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 (queueingBudget_ != null) { - output.writeMessage(1, getQueueingBudget()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (queueingBudget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getQueueingBudget()); - } - 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.Execution.QualityOfServiceSpec)) { - return super.equals(obj); - } - flyteidl.core.Execution.QualityOfServiceSpec other = (flyteidl.core.Execution.QualityOfServiceSpec) obj; - - if (hasQueueingBudget() != other.hasQueueingBudget()) return false; - if (hasQueueingBudget()) { - if (!getQueueingBudget() - .equals(other.getQueueingBudget())) 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 (hasQueueingBudget()) { - hash = (37 * hash) + QUEUEING_BUDGET_FIELD_NUMBER; - hash = (53 * hash) + getQueueingBudget().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Execution.QualityOfServiceSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.QualityOfServiceSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.QualityOfServiceSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.QualityOfServiceSpec 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.Execution.QualityOfServiceSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.QualityOfServiceSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.QualityOfServiceSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.QualityOfServiceSpec 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.Execution.QualityOfServiceSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.QualityOfServiceSpec 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.Execution.QualityOfServiceSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.QualityOfServiceSpec 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.Execution.QualityOfServiceSpec 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; - } - /** - *
-     * Represents customized execution run-time attributes.
-     * 
- * - * Protobuf type {@code flyteidl.core.QualityOfServiceSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.QualityOfServiceSpec) - flyteidl.core.Execution.QualityOfServiceSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfServiceSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfServiceSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.QualityOfServiceSpec.class, flyteidl.core.Execution.QualityOfServiceSpec.Builder.class); - } - - // Construct using flyteidl.core.Execution.QualityOfServiceSpec.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 (queueingBudgetBuilder_ == null) { - queueingBudget_ = null; - } else { - queueingBudget_ = null; - queueingBudgetBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfServiceSpec_descriptor; - } - - @java.lang.Override - public flyteidl.core.Execution.QualityOfServiceSpec getDefaultInstanceForType() { - return flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Execution.QualityOfServiceSpec build() { - flyteidl.core.Execution.QualityOfServiceSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Execution.QualityOfServiceSpec buildPartial() { - flyteidl.core.Execution.QualityOfServiceSpec result = new flyteidl.core.Execution.QualityOfServiceSpec(this); - if (queueingBudgetBuilder_ == null) { - result.queueingBudget_ = queueingBudget_; - } else { - result.queueingBudget_ = queueingBudgetBuilder_.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.Execution.QualityOfServiceSpec) { - return mergeFrom((flyteidl.core.Execution.QualityOfServiceSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Execution.QualityOfServiceSpec other) { - if (other == flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance()) return this; - if (other.hasQueueingBudget()) { - mergeQueueingBudget(other.getQueueingBudget()); - } - 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.Execution.QualityOfServiceSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Execution.QualityOfServiceSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.protobuf.Duration queueingBudget_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> queueingBudgetBuilder_; - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public boolean hasQueueingBudget() { - return queueingBudgetBuilder_ != null || queueingBudget_ != null; - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public com.google.protobuf.Duration getQueueingBudget() { - if (queueingBudgetBuilder_ == null) { - return queueingBudget_ == null ? com.google.protobuf.Duration.getDefaultInstance() : queueingBudget_; - } else { - return queueingBudgetBuilder_.getMessage(); - } - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public Builder setQueueingBudget(com.google.protobuf.Duration value) { - if (queueingBudgetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - queueingBudget_ = value; - onChanged(); - } else { - queueingBudgetBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public Builder setQueueingBudget( - com.google.protobuf.Duration.Builder builderForValue) { - if (queueingBudgetBuilder_ == null) { - queueingBudget_ = builderForValue.build(); - onChanged(); - } else { - queueingBudgetBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public Builder mergeQueueingBudget(com.google.protobuf.Duration value) { - if (queueingBudgetBuilder_ == null) { - if (queueingBudget_ != null) { - queueingBudget_ = - com.google.protobuf.Duration.newBuilder(queueingBudget_).mergeFrom(value).buildPartial(); - } else { - queueingBudget_ = value; - } - onChanged(); - } else { - queueingBudgetBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public Builder clearQueueingBudget() { - if (queueingBudgetBuilder_ == null) { - queueingBudget_ = null; - onChanged(); - } else { - queueingBudget_ = null; - queueingBudgetBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public com.google.protobuf.Duration.Builder getQueueingBudgetBuilder() { - - onChanged(); - return getQueueingBudgetFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - public com.google.protobuf.DurationOrBuilder getQueueingBudgetOrBuilder() { - if (queueingBudgetBuilder_ != null) { - return queueingBudgetBuilder_.getMessageOrBuilder(); - } else { - return queueingBudget_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : queueingBudget_; - } - } - /** - *
-       * Indicates how much queueing delay an execution can tolerate.
-       * 
- * - * .google.protobuf.Duration queueing_budget = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getQueueingBudgetFieldBuilder() { - if (queueingBudgetBuilder_ == null) { - queueingBudgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getQueueingBudget(), - getParentForChildren(), - isClean()); - queueingBudget_ = null; - } - return queueingBudgetBuilder_; - } - @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.QualityOfServiceSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.QualityOfServiceSpec) - private static final flyteidl.core.Execution.QualityOfServiceSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Execution.QualityOfServiceSpec(); - } - - public static flyteidl.core.Execution.QualityOfServiceSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QualityOfServiceSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QualityOfServiceSpec(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.Execution.QualityOfServiceSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface QualityOfServiceOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.QualityOfService) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - int getTierValue(); - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - flyteidl.core.Execution.QualityOfService.Tier getTier(); - - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - boolean hasSpec(); - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - flyteidl.core.Execution.QualityOfServiceSpec getSpec(); - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - flyteidl.core.Execution.QualityOfServiceSpecOrBuilder getSpecOrBuilder(); - - public flyteidl.core.Execution.QualityOfService.DesignationCase getDesignationCase(); - } - /** - *
-   * Indicates the priority of an execution.
-   * 
- * - * Protobuf type {@code flyteidl.core.QualityOfService} - */ - public static final class QualityOfService extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.QualityOfService) - QualityOfServiceOrBuilder { - private static final long serialVersionUID = 0L; - // Use QualityOfService.newBuilder() to construct. - private QualityOfService(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private QualityOfService() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private QualityOfService( - 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(); - designationCase_ = 1; - designation_ = rawValue; - break; - } - case 18: { - flyteidl.core.Execution.QualityOfServiceSpec.Builder subBuilder = null; - if (designationCase_ == 2) { - subBuilder = ((flyteidl.core.Execution.QualityOfServiceSpec) designation_).toBuilder(); - } - designation_ = - input.readMessage(flyteidl.core.Execution.QualityOfServiceSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.QualityOfServiceSpec) designation_); - designation_ = subBuilder.buildPartial(); - } - designationCase_ = 2; - 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.Execution.internal_static_flyteidl_core_QualityOfService_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfService_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.QualityOfService.class, flyteidl.core.Execution.QualityOfService.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.QualityOfService.Tier} - */ - public enum Tier - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * Default: no quality of service specified.
-       * 
- * - * UNDEFINED = 0; - */ - UNDEFINED(0), - /** - * HIGH = 1; - */ - HIGH(1), - /** - * MEDIUM = 2; - */ - MEDIUM(2), - /** - * LOW = 3; - */ - LOW(3), - UNRECOGNIZED(-1), - ; - - /** - *
-       * Default: no quality of service specified.
-       * 
- * - * UNDEFINED = 0; - */ - public static final int UNDEFINED_VALUE = 0; - /** - * HIGH = 1; - */ - public static final int HIGH_VALUE = 1; - /** - * MEDIUM = 2; - */ - public static final int MEDIUM_VALUE = 2; - /** - * LOW = 3; - */ - public static final int LOW_VALUE = 3; - - - 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 Tier valueOf(int value) { - return forNumber(value); - } - - public static Tier forNumber(int value) { - switch (value) { - case 0: return UNDEFINED; - case 1: return HIGH; - case 2: return MEDIUM; - case 3: return LOW; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Tier> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tier findValueByNumber(int number) { - return Tier.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.Execution.QualityOfService.getDescriptor().getEnumTypes().get(0); - } - - private static final Tier[] VALUES = values(); - - public static Tier 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 Tier(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.QualityOfService.Tier) - } - - private int designationCase_ = 0; - private java.lang.Object designation_; - public enum DesignationCase - implements com.google.protobuf.Internal.EnumLite { - TIER(1), - SPEC(2), - DESIGNATION_NOT_SET(0); - private final int value; - private DesignationCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static DesignationCase valueOf(int value) { - return forNumber(value); - } - - public static DesignationCase forNumber(int value) { - switch (value) { - case 1: return TIER; - case 2: return SPEC; - case 0: return DESIGNATION_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public DesignationCase - getDesignationCase() { - return DesignationCase.forNumber( - designationCase_); - } - - public static final int TIER_FIELD_NUMBER = 1; - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - public int getTierValue() { - if (designationCase_ == 1) { - return (java.lang.Integer) designation_; - } - return 0; - } - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - public flyteidl.core.Execution.QualityOfService.Tier getTier() { - if (designationCase_ == 1) { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.QualityOfService.Tier result = flyteidl.core.Execution.QualityOfService.Tier.valueOf( - (java.lang.Integer) designation_); - return result == null ? flyteidl.core.Execution.QualityOfService.Tier.UNRECOGNIZED : result; - } - return flyteidl.core.Execution.QualityOfService.Tier.UNDEFINED; - } - - public static final int SPEC_FIELD_NUMBER = 2; - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public boolean hasSpec() { - return designationCase_ == 2; - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public flyteidl.core.Execution.QualityOfServiceSpec getSpec() { - if (designationCase_ == 2) { - return (flyteidl.core.Execution.QualityOfServiceSpec) designation_; - } - return flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance(); - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public flyteidl.core.Execution.QualityOfServiceSpecOrBuilder getSpecOrBuilder() { - if (designationCase_ == 2) { - return (flyteidl.core.Execution.QualityOfServiceSpec) designation_; - } - return flyteidl.core.Execution.QualityOfServiceSpec.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 (designationCase_ == 1) { - output.writeEnum(1, ((java.lang.Integer) designation_)); - } - if (designationCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Execution.QualityOfServiceSpec) designation_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (designationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, ((java.lang.Integer) designation_)); - } - if (designationCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Execution.QualityOfServiceSpec) designation_); - } - 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.Execution.QualityOfService)) { - return super.equals(obj); - } - flyteidl.core.Execution.QualityOfService other = (flyteidl.core.Execution.QualityOfService) obj; - - if (!getDesignationCase().equals(other.getDesignationCase())) return false; - switch (designationCase_) { - case 1: - if (getTierValue() - != other.getTierValue()) return false; - break; - case 2: - if (!getSpec() - .equals(other.getSpec())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (designationCase_) { - case 1: - hash = (37 * hash) + TIER_FIELD_NUMBER; - hash = (53 * hash) + getTierValue(); - break; - case 2: - hash = (37 * hash) + SPEC_FIELD_NUMBER; - hash = (53 * hash) + getSpec().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Execution.QualityOfService parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.QualityOfService parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.QualityOfService parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.QualityOfService 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.Execution.QualityOfService parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Execution.QualityOfService parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Execution.QualityOfService parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.QualityOfService 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.Execution.QualityOfService parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.QualityOfService 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.Execution.QualityOfService parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Execution.QualityOfService 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.Execution.QualityOfService 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; - } - /** - *
-     * Indicates the priority of an execution.
-     * 
- * - * Protobuf type {@code flyteidl.core.QualityOfService} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.QualityOfService) - flyteidl.core.Execution.QualityOfServiceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfService_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfService_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Execution.QualityOfService.class, flyteidl.core.Execution.QualityOfService.Builder.class); - } - - // Construct using flyteidl.core.Execution.QualityOfService.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(); - designationCase_ = 0; - designation_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Execution.internal_static_flyteidl_core_QualityOfService_descriptor; - } - - @java.lang.Override - public flyteidl.core.Execution.QualityOfService getDefaultInstanceForType() { - return flyteidl.core.Execution.QualityOfService.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Execution.QualityOfService build() { - flyteidl.core.Execution.QualityOfService result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Execution.QualityOfService buildPartial() { - flyteidl.core.Execution.QualityOfService result = new flyteidl.core.Execution.QualityOfService(this); - if (designationCase_ == 1) { - result.designation_ = designation_; - } - if (designationCase_ == 2) { - if (specBuilder_ == null) { - result.designation_ = designation_; - } else { - result.designation_ = specBuilder_.build(); - } - } - result.designationCase_ = designationCase_; - 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.Execution.QualityOfService) { - return mergeFrom((flyteidl.core.Execution.QualityOfService)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Execution.QualityOfService other) { - if (other == flyteidl.core.Execution.QualityOfService.getDefaultInstance()) return this; - switch (other.getDesignationCase()) { - case TIER: { - setTierValue(other.getTierValue()); - break; - } - case SPEC: { - mergeSpec(other.getSpec()); - break; - } - case DESIGNATION_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.Execution.QualityOfService parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Execution.QualityOfService) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int designationCase_ = 0; - private java.lang.Object designation_; - public DesignationCase - getDesignationCase() { - return DesignationCase.forNumber( - designationCase_); - } - - public Builder clearDesignation() { - designationCase_ = 0; - designation_ = null; - onChanged(); - return this; - } - - - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - public int getTierValue() { - if (designationCase_ == 1) { - return ((java.lang.Integer) designation_).intValue(); - } - return 0; - } - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - public Builder setTierValue(int value) { - designationCase_ = 1; - designation_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - public flyteidl.core.Execution.QualityOfService.Tier getTier() { - if (designationCase_ == 1) { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.QualityOfService.Tier result = flyteidl.core.Execution.QualityOfService.Tier.valueOf( - (java.lang.Integer) designation_); - return result == null ? flyteidl.core.Execution.QualityOfService.Tier.UNRECOGNIZED : result; - } - return flyteidl.core.Execution.QualityOfService.Tier.UNDEFINED; - } - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - public Builder setTier(flyteidl.core.Execution.QualityOfService.Tier value) { - if (value == null) { - throw new NullPointerException(); - } - designationCase_ = 1; - designation_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.QualityOfService.Tier tier = 1; - */ - public Builder clearTier() { - if (designationCase_ == 1) { - designationCase_ = 0; - designation_ = null; - onChanged(); - } - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfServiceSpec, flyteidl.core.Execution.QualityOfServiceSpec.Builder, flyteidl.core.Execution.QualityOfServiceSpecOrBuilder> specBuilder_; - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public boolean hasSpec() { - return designationCase_ == 2; - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public flyteidl.core.Execution.QualityOfServiceSpec getSpec() { - if (specBuilder_ == null) { - if (designationCase_ == 2) { - return (flyteidl.core.Execution.QualityOfServiceSpec) designation_; - } - return flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance(); - } else { - if (designationCase_ == 2) { - return specBuilder_.getMessage(); - } - return flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance(); - } - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public Builder setSpec(flyteidl.core.Execution.QualityOfServiceSpec value) { - if (specBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - designation_ = value; - onChanged(); - } else { - specBuilder_.setMessage(value); - } - designationCase_ = 2; - return this; - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public Builder setSpec( - flyteidl.core.Execution.QualityOfServiceSpec.Builder builderForValue) { - if (specBuilder_ == null) { - designation_ = builderForValue.build(); - onChanged(); - } else { - specBuilder_.setMessage(builderForValue.build()); - } - designationCase_ = 2; - return this; - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public Builder mergeSpec(flyteidl.core.Execution.QualityOfServiceSpec value) { - if (specBuilder_ == null) { - if (designationCase_ == 2 && - designation_ != flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance()) { - designation_ = flyteidl.core.Execution.QualityOfServiceSpec.newBuilder((flyteidl.core.Execution.QualityOfServiceSpec) designation_) - .mergeFrom(value).buildPartial(); - } else { - designation_ = value; - } - onChanged(); - } else { - if (designationCase_ == 2) { - specBuilder_.mergeFrom(value); - } - specBuilder_.setMessage(value); - } - designationCase_ = 2; - return this; - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public Builder clearSpec() { - if (specBuilder_ == null) { - if (designationCase_ == 2) { - designationCase_ = 0; - designation_ = null; - onChanged(); - } - } else { - if (designationCase_ == 2) { - designationCase_ = 0; - designation_ = null; - } - specBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public flyteidl.core.Execution.QualityOfServiceSpec.Builder getSpecBuilder() { - return getSpecFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - public flyteidl.core.Execution.QualityOfServiceSpecOrBuilder getSpecOrBuilder() { - if ((designationCase_ == 2) && (specBuilder_ != null)) { - return specBuilder_.getMessageOrBuilder(); - } else { - if (designationCase_ == 2) { - return (flyteidl.core.Execution.QualityOfServiceSpec) designation_; - } - return flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance(); - } - } - /** - * .flyteidl.core.QualityOfServiceSpec spec = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfServiceSpec, flyteidl.core.Execution.QualityOfServiceSpec.Builder, flyteidl.core.Execution.QualityOfServiceSpecOrBuilder> - getSpecFieldBuilder() { - if (specBuilder_ == null) { - if (!(designationCase_ == 2)) { - designation_ = flyteidl.core.Execution.QualityOfServiceSpec.getDefaultInstance(); - } - specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfServiceSpec, flyteidl.core.Execution.QualityOfServiceSpec.Builder, flyteidl.core.Execution.QualityOfServiceSpecOrBuilder>( - (flyteidl.core.Execution.QualityOfServiceSpec) designation_, - getParentForChildren(), - isClean()); - designation_ = null; - } - designationCase_ = 2; - onChanged();; - return specBuilder_; - } - @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.QualityOfService) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.QualityOfService) - private static final flyteidl.core.Execution.QualityOfService DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Execution.QualityOfService(); - } - - public static flyteidl.core.Execution.QualityOfService getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QualityOfService parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QualityOfService(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.Execution.QualityOfService getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_NodeExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_NodeExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ExecutionError_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ExecutionError_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskLog_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskLog_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_QualityOfServiceSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_QualityOfServiceSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_QualityOfService_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_QualityOfService_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/core/execution.proto\022\rflyteid" + - "l.core\032\036google/protobuf/duration.proto\"\247" + - "\001\n\021WorkflowExecution\"\221\001\n\005Phase\022\r\n\tUNDEFI" + - "NED\020\000\022\n\n\006QUEUED\020\001\022\013\n\007RUNNING\020\002\022\016\n\nSUCCEE" + - "DING\020\003\022\r\n\tSUCCEEDED\020\004\022\013\n\007FAILING\020\005\022\n\n\006FA" + - "ILED\020\006\022\013\n\007ABORTED\020\007\022\r\n\tTIMED_OUT\020\010\022\014\n\010AB" + - "ORTING\020\t\"\266\001\n\rNodeExecution\"\244\001\n\005Phase\022\r\n\t" + - "UNDEFINED\020\000\022\n\n\006QUEUED\020\001\022\013\n\007RUNNING\020\002\022\r\n\t" + - "SUCCEEDED\020\003\022\013\n\007FAILING\020\004\022\n\n\006FAILED\020\005\022\013\n\007" + - "ABORTED\020\006\022\013\n\007SKIPPED\020\007\022\r\n\tTIMED_OUT\020\010\022\023\n" + - "\017DYNAMIC_RUNNING\020\t\022\r\n\tRECOVERED\020\n\"\226\001\n\rTa" + - "skExecution\"\204\001\n\005Phase\022\r\n\tUNDEFINED\020\000\022\n\n\006" + - "QUEUED\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\013\n\007" + - "ABORTED\020\004\022\n\n\006FAILED\020\005\022\020\n\014INITIALIZING\020\006\022" + - "\031\n\025WAITING_FOR_RESOURCES\020\007\"\251\001\n\016Execution" + - "Error\022\014\n\004code\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\022\021\n\t" + - "error_uri\030\003 \001(\t\0225\n\004kind\030\004 \001(\0162\'.flyteidl" + - ".core.ExecutionError.ErrorKind\".\n\tErrorK" + - "ind\022\013\n\007UNKNOWN\020\000\022\010\n\004USER\020\001\022\n\n\006SYSTEM\020\002\"\273" + - "\001\n\007TaskLog\022\013\n\003uri\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022<\n" + - "\016message_format\030\003 \001(\0162$.flyteidl.core.Ta" + - "skLog.MessageFormat\022&\n\003ttl\030\004 \001(\0132\031.googl" + - "e.protobuf.Duration\"/\n\rMessageFormat\022\013\n\007" + - "UNKNOWN\020\000\022\007\n\003CSV\020\001\022\010\n\004JSON\020\002\"J\n\024QualityO" + - "fServiceSpec\0222\n\017queueing_budget\030\001 \001(\0132\031." + - "google.protobuf.Duration\"\302\001\n\020QualityOfSe" + - "rvice\0224\n\004tier\030\001 \001(\0162$.flyteidl.core.Qual" + - "ityOfService.TierH\000\0223\n\004spec\030\002 \001(\0132#.flyt" + - "eidl.core.QualityOfServiceSpecH\000\"4\n\004Tier" + - "\022\r\n\tUNDEFINED\020\000\022\010\n\004HIGH\020\001\022\n\n\006MEDIUM\020\002\022\007\n" + - "\003LOW\020\003B\r\n\013designationB - * Indicates a resource type within Flyte. - * - * - * Protobuf enum {@code flyteidl.core.ResourceType} - */ - public enum ResourceType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNSPECIFIED = 0; - */ - UNSPECIFIED(0), - /** - * TASK = 1; - */ - TASK(1), - /** - * WORKFLOW = 2; - */ - WORKFLOW(2), - /** - * LAUNCH_PLAN = 3; - */ - LAUNCH_PLAN(3), - /** - *
-     * 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.
-     * Eventually 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 
-     * in a similar manner to other Flyte objects
-     * 
- * - * DATASET = 4; - */ - DATASET(4), - UNRECOGNIZED(-1), - ; - - /** - * UNSPECIFIED = 0; - */ - public static final int UNSPECIFIED_VALUE = 0; - /** - * TASK = 1; - */ - public static final int TASK_VALUE = 1; - /** - * WORKFLOW = 2; - */ - public static final int WORKFLOW_VALUE = 2; - /** - * LAUNCH_PLAN = 3; - */ - public static final int LAUNCH_PLAN_VALUE = 3; - /** - *
-     * 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.
-     * Eventually 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 
-     * in a similar manner to other Flyte objects
-     * 
- * - * DATASET = 4; - */ - public static final int DATASET_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 ResourceType valueOf(int value) { - return forNumber(value); - } - - public static ResourceType forNumber(int value) { - switch (value) { - case 0: return UNSPECIFIED; - case 1: return TASK; - case 2: return WORKFLOW; - case 3: return LAUNCH_PLAN; - case 4: return DATASET; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResourceType findValueByNumber(int number) { - return ResourceType.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.IdentifierOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final ResourceType[] VALUES = values(); - - public static ResourceType 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 ResourceType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.ResourceType) - } - - public interface IdentifierOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Identifier) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - int getResourceTypeValue(); - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - flyteidl.core.IdentifierOuterClass.ResourceType getResourceType(); - - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 2; - */ - java.lang.String getProject(); - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 2; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 3; - */ - java.lang.String getDomain(); - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 3; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * User provided value for the resource.
-     * 
- * - * string name = 4; - */ - java.lang.String getName(); - /** - *
-     * User provided value for the resource.
-     * 
- * - * string name = 4; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Specific version of the resource.
-     * 
- * - * string version = 5; - */ - java.lang.String getVersion(); - /** - *
-     * Specific version of the resource.
-     * 
- * - * string version = 5; - */ - com.google.protobuf.ByteString - getVersionBytes(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Encapsulation of fields that uniquely identifies a Flyte resource.
-   * 
- * - * Protobuf type {@code flyteidl.core.Identifier} - */ - public static final class Identifier extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Identifier) - IdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use Identifier.newBuilder() to construct. - private Identifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Identifier() { - resourceType_ = 0; - project_ = ""; - domain_ = ""; - name_ = ""; - version_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Identifier( - 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(); - - resourceType_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_Identifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_Identifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.Identifier.class, flyteidl.core.IdentifierOuterClass.Identifier.Builder.class); - } - - public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; - private int resourceType_; - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-     * Identifies the specific type of resource that this identifier corresponds to.
-     * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - - public static final int PROJECT_FIELD_NUMBER = 2; - private volatile java.lang.Object project_; - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 2; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 2; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 3; - private volatile java.lang.Object domain_; - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 4; - private volatile java.lang.Object name_; - /** - *
-     * User provided value for the resource.
-     * 
- * - * string name = 4; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * User provided value for the resource.
-     * 
- * - * string name = 4; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VERSION_FIELD_NUMBER = 5; - private volatile java.lang.Object version_; - /** - *
-     * Specific version of the resource.
-     * 
- * - * string version = 5; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - 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(); - version_ = s; - return s; - } - } - /** - *
-     * Specific version of the resource.
-     * 
- * - * string version = 5; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 6; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = 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 (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - output.writeEnum(1, resourceType_); - } - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domain_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_); - } - if (!getVersionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, version_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resourceType_ != flyteidl.core.IdentifierOuterClass.ResourceType.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); - } - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domain_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_); - } - if (!getVersionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, org_); - } - 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.IdentifierOuterClass.Identifier)) { - return super.equals(obj); - } - flyteidl.core.IdentifierOuterClass.Identifier other = (flyteidl.core.IdentifierOuterClass.Identifier) obj; - - if (resourceType_ != other.resourceType_) return false; - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + resourceType_; - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.IdentifierOuterClass.Identifier parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.Identifier parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.Identifier parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.Identifier 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.IdentifierOuterClass.Identifier parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.Identifier parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.Identifier parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.Identifier 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.IdentifierOuterClass.Identifier parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.Identifier 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.IdentifierOuterClass.Identifier parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.Identifier 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.IdentifierOuterClass.Identifier 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; - } - /** - *
-     * Encapsulation of fields that uniquely identifies a Flyte resource.
-     * 
- * - * Protobuf type {@code flyteidl.core.Identifier} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Identifier) - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_Identifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_Identifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.Identifier.class, flyteidl.core.IdentifierOuterClass.Identifier.Builder.class); - } - - // Construct using flyteidl.core.IdentifierOuterClass.Identifier.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(); - resourceType_ = 0; - - project_ = ""; - - domain_ = ""; - - name_ = ""; - - version_ = ""; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_Identifier_descriptor; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.Identifier getDefaultInstanceForType() { - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.Identifier build() { - flyteidl.core.IdentifierOuterClass.Identifier result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.Identifier buildPartial() { - flyteidl.core.IdentifierOuterClass.Identifier result = new flyteidl.core.IdentifierOuterClass.Identifier(this); - result.resourceType_ = resourceType_; - result.project_ = project_; - result.domain_ = domain_; - result.name_ = name_; - result.version_ = version_; - result.org_ = org_; - 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.IdentifierOuterClass.Identifier) { - return mergeFrom((flyteidl.core.IdentifierOuterClass.Identifier)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.IdentifierOuterClass.Identifier other) { - if (other == flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance()) return this; - if (other.resourceType_ != 0) { - setResourceTypeValue(other.getResourceTypeValue()); - } - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - onChanged(); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.IdentifierOuterClass.Identifier parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.IdentifierOuterClass.Identifier) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int resourceType_ = 0; - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public int getResourceTypeValue() { - return resourceType_; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceTypeValue(int value) { - resourceType_ = value; - onChanged(); - return this; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public flyteidl.core.IdentifierOuterClass.ResourceType getResourceType() { - @SuppressWarnings("deprecation") - flyteidl.core.IdentifierOuterClass.ResourceType result = flyteidl.core.IdentifierOuterClass.ResourceType.valueOf(resourceType_); - return result == null ? flyteidl.core.IdentifierOuterClass.ResourceType.UNRECOGNIZED : result; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder setResourceType(flyteidl.core.IdentifierOuterClass.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - resourceType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Identifies the specific type of resource that this identifier corresponds to.
-       * 
- * - * .flyteidl.core.ResourceType resource_type = 1; - */ - public Builder clearResourceType() { - - resourceType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 2; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 2; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 2; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 2; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 2; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 3; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 3; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 3; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 3; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 3; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * User provided value for the resource.
-       * 
- * - * string name = 4; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * User provided value for the resource.
-       * 
- * - * string name = 4; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * User provided value for the resource.
-       * 
- * - * string name = 4; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * User provided value for the resource.
-       * 
- * - * string name = 4; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * User provided value for the resource.
-       * 
- * - * string name = 4; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object version_ = ""; - /** - *
-       * Specific version of the resource.
-       * 
- * - * string version = 5; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Specific version of the resource.
-       * 
- * - * string version = 5; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Specific version of the resource.
-       * 
- * - * string version = 5; - */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - version_ = value; - onChanged(); - return this; - } - /** - *
-       * Specific version of the resource.
-       * 
- * - * string version = 5; - */ - public Builder clearVersion() { - - version_ = getDefaultInstance().getVersion(); - onChanged(); - return this; - } - /** - *
-       * Specific version of the resource.
-       * 
- * - * string version = 5; - */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - version_ = value; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 6; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Identifier) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Identifier) - private static final flyteidl.core.IdentifierOuterClass.Identifier DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.IdentifierOuterClass.Identifier(); - } - - public static flyteidl.core.IdentifierOuterClass.Identifier getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Identifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Identifier(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.IdentifierOuterClass.Identifier getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowExecutionIdentifierOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.WorkflowExecutionIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * User or system provided value for the resource.
-     * 
- * - * string name = 4; - */ - java.lang.String getName(); - /** - *
-     * User or system provided value for the resource.
-     * 
- * - * string name = 4; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 5; - */ - java.lang.String getOrg(); - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 5; - */ - com.google.protobuf.ByteString - getOrgBytes(); - } - /** - *
-   * Encapsulation of fields that uniquely identifies a Flyte workflow execution
-   * 
- * - * Protobuf type {@code flyteidl.core.WorkflowExecutionIdentifier} - */ - public static final class WorkflowExecutionIdentifier extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.WorkflowExecutionIdentifier) - WorkflowExecutionIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionIdentifier.newBuilder() to construct. - private WorkflowExecutionIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionIdentifier() { - project_ = ""; - domain_ = ""; - name_ = ""; - org_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionIdentifier( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - org_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_WorkflowExecutionIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_WorkflowExecutionIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.class, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Name of the project the resource belongs to.
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Name of the domain the resource belongs to.
-     * A domain can be considered as a subset within a specific project.
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 4; - private volatile java.lang.Object name_; - /** - *
-     * User or system provided value for the resource.
-     * 
- * - * string name = 4; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * User or system provided value for the resource.
-     * 
- * - * string name = 4; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ORG_FIELD_NUMBER = 5; - private volatile java.lang.Object org_; - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - 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(); - org_ = s; - return s; - } - } - /** - *
-     * Optional, org key applied to the resource.
-     * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_); - } - if (!getOrgBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, org_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_); - } - if (!getOrgBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, org_); - } - 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.IdentifierOuterClass.WorkflowExecutionIdentifier)) { - return super.equals(obj); - } - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier other = (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getOrg() - .equals(other.getOrg())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ORG_FIELD_NUMBER; - hash = (53 * hash) + getOrg().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier 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.IdentifierOuterClass.WorkflowExecutionIdentifier parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier 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.IdentifierOuterClass.WorkflowExecutionIdentifier parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier 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.IdentifierOuterClass.WorkflowExecutionIdentifier parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier 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.IdentifierOuterClass.WorkflowExecutionIdentifier 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; - } - /** - *
-     * Encapsulation of fields that uniquely identifies a Flyte workflow execution
-     * 
- * - * Protobuf type {@code flyteidl.core.WorkflowExecutionIdentifier} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.WorkflowExecutionIdentifier) - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_WorkflowExecutionIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_WorkflowExecutionIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.class, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder.class); - } - - // Construct using flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - name_ = ""; - - org_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_WorkflowExecutionIdentifier_descriptor; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getDefaultInstanceForType() { - return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier build() { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier buildPartial() { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier result = new flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier(this); - result.project_ = project_; - result.domain_ = domain_; - result.name_ = name_; - result.org_ = org_; - 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.IdentifierOuterClass.WorkflowExecutionIdentifier) { - return mergeFrom((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier other) { - if (other == flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getOrg().isEmpty()) { - org_ = other.org_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Name of the project the resource belongs to.
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Name of the domain the resource belongs to.
-       * A domain can be considered as a subset within a specific project.
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * User or system provided value for the resource.
-       * 
- * - * string name = 4; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * User or system provided value for the resource.
-       * 
- * - * string name = 4; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * User or system provided value for the resource.
-       * 
- * - * string name = 4; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * User or system provided value for the resource.
-       * 
- * - * string name = 4; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * User or system provided value for the resource.
-       * 
- * - * string name = 4; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object org_ = ""; - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 5; - */ - public java.lang.String getOrg() { - java.lang.Object ref = org_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - org_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 5; - */ - public com.google.protobuf.ByteString - getOrgBytes() { - java.lang.Object ref = org_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - org_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 5; - */ - public Builder setOrg( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - org_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 5; - */ - public Builder clearOrg() { - - org_ = getDefaultInstance().getOrg(); - onChanged(); - return this; - } - /** - *
-       * Optional, org key applied to the resource.
-       * 
- * - * string org = 5; - */ - public Builder setOrgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - org_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.WorkflowExecutionIdentifier) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowExecutionIdentifier) - private static final flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier(); - } - - public static flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionIdentifier(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.IdentifierOuterClass.WorkflowExecutionIdentifier getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionIdentifierOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.NodeExecutionIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - * string node_id = 1; - */ - java.lang.String getNodeId(); - /** - * string node_id = 1; - */ - com.google.protobuf.ByteString - getNodeIdBytes(); - - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - boolean hasExecutionId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder(); - } - /** - *
-   * Encapsulation of fields that identify a Flyte node execution entity.
-   * 
- * - * Protobuf type {@code flyteidl.core.NodeExecutionIdentifier} - */ - public static final class NodeExecutionIdentifier extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.NodeExecutionIdentifier) - NodeExecutionIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionIdentifier.newBuilder() to construct. - private NodeExecutionIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionIdentifier() { - nodeId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionIdentifier( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - nodeId_ = s; - break; - } - case 18: { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; - if (executionId_ != null) { - subBuilder = executionId_.toBuilder(); - } - executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionId_); - executionId_ = 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.core.IdentifierOuterClass.internal_static_flyteidl_core_NodeExecutionIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_NodeExecutionIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.class, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder.class); - } - - public static final int NODE_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object nodeId_; - /** - * string node_id = 1; - */ - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - 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(); - nodeId_ = s; - return s; - } - } - /** - * string node_id = 1; - */ - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXECUTION_ID_FIELD_NUMBER = 2; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public boolean hasExecutionId() { - return executionId_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - return getExecutionId(); - } - - 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 (!getNodeIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nodeId_); - } - if (executionId_ != null) { - output.writeMessage(2, getExecutionId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNodeIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nodeId_); - } - if (executionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExecutionId()); - } - 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.IdentifierOuterClass.NodeExecutionIdentifier)) { - return super.equals(obj); - } - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier other = (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) obj; - - if (!getNodeId() - .equals(other.getNodeId())) return false; - if (hasExecutionId() != other.hasExecutionId()) return false; - if (hasExecutionId()) { - if (!getExecutionId() - .equals(other.getExecutionId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeId().hashCode(); - if (hasExecutionId()) { - hash = (37 * hash) + EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getExecutionId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier 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.IdentifierOuterClass.NodeExecutionIdentifier parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier 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.IdentifierOuterClass.NodeExecutionIdentifier parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier 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.IdentifierOuterClass.NodeExecutionIdentifier parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier 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.IdentifierOuterClass.NodeExecutionIdentifier 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; - } - /** - *
-     * Encapsulation of fields that identify a Flyte node execution entity.
-     * 
- * - * Protobuf type {@code flyteidl.core.NodeExecutionIdentifier} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.NodeExecutionIdentifier) - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_NodeExecutionIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_NodeExecutionIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.class, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder.class); - } - - // Construct using flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.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(); - nodeId_ = ""; - - if (executionIdBuilder_ == null) { - executionId_ = null; - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_NodeExecutionIdentifier_descriptor; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getDefaultInstanceForType() { - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier build() { - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier buildPartial() { - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier result = new flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier(this); - result.nodeId_ = nodeId_; - if (executionIdBuilder_ == null) { - result.executionId_ = executionId_; - } else { - result.executionId_ = executionIdBuilder_.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.IdentifierOuterClass.NodeExecutionIdentifier) { - return mergeFrom((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier other) { - if (other == flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance()) return this; - if (!other.getNodeId().isEmpty()) { - nodeId_ = other.nodeId_; - onChanged(); - } - if (other.hasExecutionId()) { - mergeExecutionId(other.getExecutionId()); - } - 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.IdentifierOuterClass.NodeExecutionIdentifier parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object nodeId_ = ""; - /** - * string node_id = 1; - */ - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nodeId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string node_id = 1; - */ - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string node_id = 1; - */ - public Builder setNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nodeId_ = value; - onChanged(); - return this; - } - /** - * string node_id = 1; - */ - public Builder clearNodeId() { - - nodeId_ = getDefaultInstance().getNodeId(); - onChanged(); - return this; - } - /** - * string node_id = 1; - */ - public Builder setNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nodeId_ = value; - onChanged(); - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public boolean hasExecutionId() { - return executionIdBuilder_ != null || executionId_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - if (executionIdBuilder_ == null) { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } else { - return executionIdBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - executionId_ = value; - onChanged(); - } else { - executionIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder setExecutionId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (executionIdBuilder_ == null) { - executionId_ = builderForValue.build(); - onChanged(); - } else { - executionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (executionId_ != null) { - executionId_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial(); - } else { - executionId_ = value; - } - onChanged(); - } else { - executionIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder clearExecutionId() { - if (executionIdBuilder_ == null) { - executionId_ = null; - onChanged(); - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() { - - onChanged(); - return getExecutionIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - if (executionIdBuilder_ != null) { - return executionIdBuilder_.getMessageOrBuilder(); - } else { - return executionId_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getExecutionIdFieldBuilder() { - if (executionIdBuilder_ == null) { - executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getExecutionId(), - getParentForChildren(), - isClean()); - executionId_ = null; - } - return executionIdBuilder_; - } - @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.NodeExecutionIdentifier) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.NodeExecutionIdentifier) - private static final flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier(); - } - - public static flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionIdentifier(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.IdentifierOuterClass.NodeExecutionIdentifier getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionIdentifierOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TaskExecutionIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.Identifier task_id = 1; - */ - boolean hasTaskId(); - /** - * .flyteidl.core.Identifier task_id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getTaskId(); - /** - * .flyteidl.core.Identifier task_id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder(); - - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - boolean hasNodeExecutionId(); - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId(); - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder(); - - /** - * uint32 retry_attempt = 3; - */ - int getRetryAttempt(); - } - /** - *
-   * Encapsulation of fields that identify a Flyte task execution entity.
-   * 
- * - * Protobuf type {@code flyteidl.core.TaskExecutionIdentifier} - */ - public static final class TaskExecutionIdentifier extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TaskExecutionIdentifier) - TaskExecutionIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionIdentifier.newBuilder() to construct. - private TaskExecutionIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionIdentifier() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionIdentifier( - 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.Identifier.Builder subBuilder = null; - if (taskId_ != null) { - subBuilder = taskId_.toBuilder(); - } - taskId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(taskId_); - taskId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - 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 24: { - - retryAttempt_ = input.readUInt32(); - 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.IdentifierOuterClass.internal_static_flyteidl_core_TaskExecutionIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_TaskExecutionIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.class, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder.class); - } - - public static final int TASK_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier taskId_; - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public boolean hasTaskId() { - return taskId_ != null; - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getTaskId() { - return taskId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : taskId_; - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder() { - return getTaskId(); - } - - public static final int NODE_EXECUTION_ID_FIELD_NUMBER = 2; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier nodeExecutionId_; - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public boolean hasNodeExecutionId() { - return nodeExecutionId_ != null; - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { - return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { - return getNodeExecutionId(); - } - - public static final int RETRY_ATTEMPT_FIELD_NUMBER = 3; - private int retryAttempt_; - /** - * uint32 retry_attempt = 3; - */ - public int getRetryAttempt() { - return retryAttempt_; - } - - 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 (taskId_ != null) { - output.writeMessage(1, getTaskId()); - } - if (nodeExecutionId_ != null) { - output.writeMessage(2, getNodeExecutionId()); - } - if (retryAttempt_ != 0) { - output.writeUInt32(3, retryAttempt_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (taskId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTaskId()); - } - if (nodeExecutionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getNodeExecutionId()); - } - if (retryAttempt_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, retryAttempt_); - } - 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.IdentifierOuterClass.TaskExecutionIdentifier)) { - return super.equals(obj); - } - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier other = (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) obj; - - if (hasTaskId() != other.hasTaskId()) return false; - if (hasTaskId()) { - if (!getTaskId() - .equals(other.getTaskId())) return false; - } - if (hasNodeExecutionId() != other.hasNodeExecutionId()) return false; - if (hasNodeExecutionId()) { - if (!getNodeExecutionId() - .equals(other.getNodeExecutionId())) return false; - } - if (getRetryAttempt() - != other.getRetryAttempt()) 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 (hasTaskId()) { - hash = (37 * hash) + TASK_ID_FIELD_NUMBER; - hash = (53 * hash) + getTaskId().hashCode(); - } - if (hasNodeExecutionId()) { - hash = (37 * hash) + NODE_EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeExecutionId().hashCode(); - } - hash = (37 * hash) + RETRY_ATTEMPT_FIELD_NUMBER; - hash = (53 * hash) + getRetryAttempt(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier 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.IdentifierOuterClass.TaskExecutionIdentifier parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier 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.IdentifierOuterClass.TaskExecutionIdentifier parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier 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.IdentifierOuterClass.TaskExecutionIdentifier parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier 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.IdentifierOuterClass.TaskExecutionIdentifier 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; - } - /** - *
-     * Encapsulation of fields that identify a Flyte task execution entity.
-     * 
- * - * Protobuf type {@code flyteidl.core.TaskExecutionIdentifier} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TaskExecutionIdentifier) - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_TaskExecutionIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_TaskExecutionIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.class, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder.class); - } - - // Construct using flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.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 (taskIdBuilder_ == null) { - taskId_ = null; - } else { - taskId_ = null; - taskIdBuilder_ = null; - } - if (nodeExecutionIdBuilder_ == null) { - nodeExecutionId_ = null; - } else { - nodeExecutionId_ = null; - nodeExecutionIdBuilder_ = null; - } - retryAttempt_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_TaskExecutionIdentifier_descriptor; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getDefaultInstanceForType() { - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier build() { - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier buildPartial() { - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier result = new flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier(this); - if (taskIdBuilder_ == null) { - result.taskId_ = taskId_; - } else { - result.taskId_ = taskIdBuilder_.build(); - } - if (nodeExecutionIdBuilder_ == null) { - result.nodeExecutionId_ = nodeExecutionId_; - } else { - result.nodeExecutionId_ = nodeExecutionIdBuilder_.build(); - } - result.retryAttempt_ = retryAttempt_; - 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.IdentifierOuterClass.TaskExecutionIdentifier) { - return mergeFrom((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier other) { - if (other == flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance()) return this; - if (other.hasTaskId()) { - mergeTaskId(other.getTaskId()); - } - if (other.hasNodeExecutionId()) { - mergeNodeExecutionId(other.getNodeExecutionId()); - } - if (other.getRetryAttempt() != 0) { - setRetryAttempt(other.getRetryAttempt()); - } - 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.IdentifierOuterClass.TaskExecutionIdentifier parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier taskId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> taskIdBuilder_; - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public boolean hasTaskId() { - return taskIdBuilder_ != null || taskId_ != null; - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getTaskId() { - if (taskIdBuilder_ == null) { - return taskId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : taskId_; - } else { - return taskIdBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder setTaskId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (taskIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - taskId_ = value; - onChanged(); - } else { - taskIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder setTaskId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (taskIdBuilder_ == null) { - taskId_ = builderForValue.build(); - onChanged(); - } else { - taskIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder mergeTaskId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (taskIdBuilder_ == null) { - if (taskId_ != null) { - taskId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(taskId_).mergeFrom(value).buildPartial(); - } else { - taskId_ = value; - } - onChanged(); - } else { - taskIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder clearTaskId() { - if (taskIdBuilder_ == null) { - taskId_ = null; - onChanged(); - } else { - taskId_ = null; - taskIdBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getTaskIdBuilder() { - - onChanged(); - return getTaskIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder() { - if (taskIdBuilder_ != null) { - return taskIdBuilder_.getMessageOrBuilder(); - } else { - return taskId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : taskId_; - } - } - /** - * .flyteidl.core.Identifier task_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getTaskIdFieldBuilder() { - if (taskIdBuilder_ == null) { - taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getTaskId(), - getParentForChildren(), - isClean()); - taskId_ = null; - } - return taskIdBuilder_; - } - - 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_; - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public boolean hasNodeExecutionId() { - return nodeExecutionIdBuilder_ != null || nodeExecutionId_ != null; - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { - if (nodeExecutionIdBuilder_ == null) { - return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; - } else { - return nodeExecutionIdBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - 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; - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public Builder setNodeExecutionId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (nodeExecutionIdBuilder_ == null) { - nodeExecutionId_ = builderForValue.build(); - onChanged(); - } else { - nodeExecutionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - 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; - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public Builder clearNodeExecutionId() { - if (nodeExecutionIdBuilder_ == null) { - nodeExecutionId_ = null; - onChanged(); - } else { - nodeExecutionId_ = null; - nodeExecutionIdBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getNodeExecutionIdBuilder() { - - onChanged(); - return getNodeExecutionIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { - if (nodeExecutionIdBuilder_ != null) { - return nodeExecutionIdBuilder_.getMessageOrBuilder(); - } else { - return nodeExecutionId_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; - } - } - /** - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 2; - */ - 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 int retryAttempt_ ; - /** - * uint32 retry_attempt = 3; - */ - public int getRetryAttempt() { - return retryAttempt_; - } - /** - * uint32 retry_attempt = 3; - */ - public Builder setRetryAttempt(int value) { - - retryAttempt_ = value; - onChanged(); - return this; - } - /** - * uint32 retry_attempt = 3; - */ - public Builder clearRetryAttempt() { - - retryAttempt_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.TaskExecutionIdentifier) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskExecutionIdentifier) - private static final flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier(); - } - - public static flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionIdentifier(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.IdentifierOuterClass.TaskExecutionIdentifier getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignalIdentifierOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.SignalIdentifier) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique identifier for a signal.
-     * 
- * - * string signal_id = 1; - */ - java.lang.String getSignalId(); - /** - *
-     * Unique identifier for a signal.
-     * 
- * - * string signal_id = 1; - */ - com.google.protobuf.ByteString - getSignalIdBytes(); - - /** - *
-     * Identifies the Flyte workflow execution this signal belongs to.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - boolean hasExecutionId(); - /** - *
-     * Identifies the Flyte workflow execution this signal belongs to.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId(); - /** - *
-     * Identifies the Flyte workflow execution this signal belongs to.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder(); - } - /** - *
-   * Encapsulation of fields the uniquely identify a signal.
-   * 
- * - * Protobuf type {@code flyteidl.core.SignalIdentifier} - */ - public static final class SignalIdentifier extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.SignalIdentifier) - SignalIdentifierOrBuilder { - private static final long serialVersionUID = 0L; - // Use SignalIdentifier.newBuilder() to construct. - private SignalIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SignalIdentifier() { - signalId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignalIdentifier( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - signalId_ = s; - break; - } - case 18: { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; - if (executionId_ != null) { - subBuilder = executionId_.toBuilder(); - } - executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionId_); - executionId_ = 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.core.IdentifierOuterClass.internal_static_flyteidl_core_SignalIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_SignalIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.SignalIdentifier.class, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder.class); - } - - public static final int SIGNAL_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object signalId_; - /** - *
-     * Unique identifier for a signal.
-     * 
- * - * string signal_id = 1; - */ - public java.lang.String getSignalId() { - java.lang.Object ref = signalId_; - 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(); - signalId_ = s; - return s; - } - } - /** - *
-     * Unique identifier for a signal.
-     * 
- * - * string signal_id = 1; - */ - public com.google.protobuf.ByteString - getSignalIdBytes() { - java.lang.Object ref = signalId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signalId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXECUTION_ID_FIELD_NUMBER = 2; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - /** - *
-     * Identifies the Flyte workflow execution this signal belongs to.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public boolean hasExecutionId() { - return executionId_ != null; - } - /** - *
-     * Identifies the Flyte workflow execution this signal belongs to.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - /** - *
-     * Identifies the Flyte workflow execution this signal belongs to.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - return getExecutionId(); - } - - 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 (!getSignalIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signalId_); - } - if (executionId_ != null) { - output.writeMessage(2, getExecutionId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getSignalIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, signalId_); - } - if (executionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExecutionId()); - } - 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.IdentifierOuterClass.SignalIdentifier)) { - return super.equals(obj); - } - flyteidl.core.IdentifierOuterClass.SignalIdentifier other = (flyteidl.core.IdentifierOuterClass.SignalIdentifier) obj; - - if (!getSignalId() - .equals(other.getSignalId())) return false; - if (hasExecutionId() != other.hasExecutionId()) return false; - if (hasExecutionId()) { - if (!getExecutionId() - .equals(other.getExecutionId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SIGNAL_ID_FIELD_NUMBER; - hash = (53 * hash) + getSignalId().hashCode(); - if (hasExecutionId()) { - hash = (37 * hash) + EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getExecutionId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier 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.IdentifierOuterClass.SignalIdentifier parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier 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.IdentifierOuterClass.SignalIdentifier parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier 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.IdentifierOuterClass.SignalIdentifier parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier 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.IdentifierOuterClass.SignalIdentifier 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; - } - /** - *
-     * Encapsulation of fields the uniquely identify a signal.
-     * 
- * - * Protobuf type {@code flyteidl.core.SignalIdentifier} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.SignalIdentifier) - flyteidl.core.IdentifierOuterClass.SignalIdentifierOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_SignalIdentifier_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_SignalIdentifier_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.IdentifierOuterClass.SignalIdentifier.class, flyteidl.core.IdentifierOuterClass.SignalIdentifier.Builder.class); - } - - // Construct using flyteidl.core.IdentifierOuterClass.SignalIdentifier.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(); - signalId_ = ""; - - if (executionIdBuilder_ == null) { - executionId_ = null; - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.IdentifierOuterClass.internal_static_flyteidl_core_SignalIdentifier_descriptor; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.SignalIdentifier getDefaultInstanceForType() { - return flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.SignalIdentifier build() { - flyteidl.core.IdentifierOuterClass.SignalIdentifier result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.IdentifierOuterClass.SignalIdentifier buildPartial() { - flyteidl.core.IdentifierOuterClass.SignalIdentifier result = new flyteidl.core.IdentifierOuterClass.SignalIdentifier(this); - result.signalId_ = signalId_; - if (executionIdBuilder_ == null) { - result.executionId_ = executionId_; - } else { - result.executionId_ = executionIdBuilder_.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.IdentifierOuterClass.SignalIdentifier) { - return mergeFrom((flyteidl.core.IdentifierOuterClass.SignalIdentifier)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.IdentifierOuterClass.SignalIdentifier other) { - if (other == flyteidl.core.IdentifierOuterClass.SignalIdentifier.getDefaultInstance()) return this; - if (!other.getSignalId().isEmpty()) { - signalId_ = other.signalId_; - onChanged(); - } - if (other.hasExecutionId()) { - mergeExecutionId(other.getExecutionId()); - } - 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.IdentifierOuterClass.SignalIdentifier parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.IdentifierOuterClass.SignalIdentifier) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object signalId_ = ""; - /** - *
-       * Unique identifier for a signal.
-       * 
- * - * string signal_id = 1; - */ - public java.lang.String getSignalId() { - java.lang.Object ref = signalId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - signalId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique identifier for a signal.
-       * 
- * - * string signal_id = 1; - */ - public com.google.protobuf.ByteString - getSignalIdBytes() { - java.lang.Object ref = signalId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signalId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique identifier for a signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder setSignalId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - signalId_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique identifier for a signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder clearSignalId() { - - signalId_ = getDefaultInstance().getSignalId(); - onChanged(); - return this; - } - /** - *
-       * Unique identifier for a signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder setSignalIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - signalId_ = value; - onChanged(); - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_; - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public boolean hasExecutionId() { - return executionIdBuilder_ != null || executionId_ != null; - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - if (executionIdBuilder_ == null) { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } else { - return executionIdBuilder_.getMessage(); - } - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - executionId_ = value; - onChanged(); - } else { - executionIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder setExecutionId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (executionIdBuilder_ == null) { - executionId_ = builderForValue.build(); - onChanged(); - } else { - executionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (executionId_ != null) { - executionId_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial(); - } else { - executionId_ = value; - } - onChanged(); - } else { - executionIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public Builder clearExecutionId() { - if (executionIdBuilder_ == null) { - executionId_ = null; - onChanged(); - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() { - - onChanged(); - return getExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - if (executionIdBuilder_ != null) { - return executionIdBuilder_.getMessageOrBuilder(); - } else { - return executionId_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - } - /** - *
-       * Identifies the Flyte workflow execution this signal belongs to.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getExecutionIdFieldBuilder() { - if (executionIdBuilder_ == null) { - executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getExecutionId(), - getParentForChildren(), - isClean()); - executionId_ = null; - } - return executionIdBuilder_; - } - @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.SignalIdentifier) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.SignalIdentifier) - private static final flyteidl.core.IdentifierOuterClass.SignalIdentifier DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.IdentifierOuterClass.SignalIdentifier(); - } - - public static flyteidl.core.IdentifierOuterClass.SignalIdentifier getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SignalIdentifier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SignalIdentifier(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.IdentifierOuterClass.SignalIdentifier getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Identifier_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Identifier_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowExecutionIdentifier_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowExecutionIdentifier_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_NodeExecutionIdentifier_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_NodeExecutionIdentifier_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskExecutionIdentifier_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskExecutionIdentifier_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_SignalIdentifier_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_SignalIdentifier_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\036flyteidl/core/identifier.proto\022\rflytei" + - "dl.core\"\215\001\n\nIdentifier\0222\n\rresource_type\030" + - "\001 \001(\0162\033.flyteidl.core.ResourceType\022\017\n\007pr" + - "oject\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\014\n\004name\030\004 \001(" + - "\t\022\017\n\007version\030\005 \001(\t\022\013\n\003org\030\006 \001(\t\"Y\n\033Workf" + - "lowExecutionIdentifier\022\017\n\007project\030\001 \001(\t\022" + - "\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\004 \001(\t\022\013\n\003org\030\005 \001" + - "(\t\"l\n\027NodeExecutionIdentifier\022\017\n\007node_id" + - "\030\001 \001(\t\022@\n\014execution_id\030\002 \001(\0132*.flyteidl." + - "core.WorkflowExecutionIdentifier\"\237\001\n\027Tas" + - "kExecutionIdentifier\022*\n\007task_id\030\001 \001(\0132\031." + - "flyteidl.core.Identifier\022A\n\021node_executi" + - "on_id\030\002 \001(\0132&.flyteidl.core.NodeExecutio" + - "nIdentifier\022\025\n\rretry_attempt\030\003 \001(\r\"g\n\020Si" + - "gnalIdentifier\022\021\n\tsignal_id\030\001 \001(\t\022@\n\014exe" + - "cution_id\030\002 \001(\0132*.flyteidl.core.Workflow" + - "ExecutionIdentifier*U\n\014ResourceType\022\017\n\013U" + - "NSPECIFIED\020\000\022\010\n\004TASK\020\001\022\014\n\010WORKFLOW\020\002\022\017\n\013" + - "LAUNCH_PLAN\020\003\022\013\n\007DATASET\020\004B - * Variable literal type. - * - * - * .flyteidl.core.LiteralType type = 1; - */ - boolean hasType(); - /** - *
-     * Variable literal type.
-     * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - flyteidl.core.Types.LiteralType getType(); - /** - *
-     * Variable literal type.
-     * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); - - /** - *
-     *+optional string describing input variable
-     * 
- * - * string description = 2; - */ - java.lang.String getDescription(); - /** - *
-     *+optional string describing input variable
-     * 
- * - * string description = 2; - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - - /** - *
-     *+optional This object allows the user to specify how Artifacts are created.
-     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-     * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - boolean hasArtifactPartialId(); - /** - *
-     *+optional This object allows the user to specify how Artifacts are created.
-     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-     * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - flyteidl.core.ArtifactId.ArtifactID getArtifactPartialId(); - /** - *
-     *+optional This object allows the user to specify how Artifacts are created.
-     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-     * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactPartialIdOrBuilder(); - - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - boolean hasArtifactTag(); - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - flyteidl.core.ArtifactId.ArtifactTag getArtifactTag(); - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder(); - } - /** - *
-   * Defines a strongly typed variable.
-   * 
- * - * Protobuf type {@code flyteidl.core.Variable} - */ - public static final class Variable extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Variable) - VariableOrBuilder { - private static final long serialVersionUID = 0L; - // Use Variable.newBuilder() to construct. - private Variable(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Variable() { - description_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Variable( - 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.Types.LiteralType.Builder subBuilder = null; - if (type_ != null) { - subBuilder = type_.toBuilder(); - } - type_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(type_); - type_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 26: { - flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; - if (artifactPartialId_ != null) { - subBuilder = artifactPartialId_.toBuilder(); - } - artifactPartialId_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifactPartialId_); - artifactPartialId_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.core.ArtifactId.ArtifactTag.Builder subBuilder = null; - if (artifactTag_ != null) { - subBuilder = artifactTag_.toBuilder(); - } - artifactTag_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactTag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifactTag_); - artifactTag_ = 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.core.Interface.internal_static_flyteidl_core_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.Variable.class, flyteidl.core.Interface.Variable.Builder.class); - } - - public static final int TYPE_FIELD_NUMBER = 1; - private flyteidl.core.Types.LiteralType type_; - /** - *
-     * Variable literal type.
-     * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public boolean hasType() { - return type_ != null; - } - /** - *
-     * Variable literal type.
-     * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public flyteidl.core.Types.LiteralType getType() { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - /** - *
-     * Variable literal type.
-     * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - return getType(); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 2; - private volatile java.lang.Object description_; - /** - *
-     *+optional string describing input variable
-     * 
- * - * string description = 2; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - 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(); - description_ = s; - return s; - } - } - /** - *
-     *+optional string describing input variable
-     * 
- * - * string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ARTIFACT_PARTIAL_ID_FIELD_NUMBER = 3; - private flyteidl.core.ArtifactId.ArtifactID artifactPartialId_; - /** - *
-     *+optional This object allows the user to specify how Artifacts are created.
-     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-     * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public boolean hasArtifactPartialId() { - return artifactPartialId_ != null; - } - /** - *
-     *+optional This object allows the user to specify how Artifacts are created.
-     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-     * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactPartialId() { - return artifactPartialId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactPartialId_; - } - /** - *
-     *+optional This object allows the user to specify how Artifacts are created.
-     * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-     * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactPartialIdOrBuilder() { - return getArtifactPartialId(); - } - - public static final int ARTIFACT_TAG_FIELD_NUMBER = 4; - private flyteidl.core.ArtifactId.ArtifactTag artifactTag_; - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public boolean hasArtifactTag() { - return artifactTag_ != null; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { - return artifactTag_ == null ? flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance() : artifactTag_; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { - return getArtifactTag(); - } - - 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 (type_ != null) { - output.writeMessage(1, getType()); - } - if (!getDescriptionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); - } - if (artifactPartialId_ != null) { - output.writeMessage(3, getArtifactPartialId()); - } - if (artifactTag_ != null) { - output.writeMessage(4, getArtifactTag()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getType()); - } - if (!getDescriptionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); - } - if (artifactPartialId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getArtifactPartialId()); - } - if (artifactTag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getArtifactTag()); - } - 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.Interface.Variable)) { - return super.equals(obj); - } - flyteidl.core.Interface.Variable other = (flyteidl.core.Interface.Variable) obj; - - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (!getType() - .equals(other.getType())) return false; - } - if (!getDescription() - .equals(other.getDescription())) return false; - if (hasArtifactPartialId() != other.hasArtifactPartialId()) return false; - if (hasArtifactPartialId()) { - if (!getArtifactPartialId() - .equals(other.getArtifactPartialId())) return false; - } - if (hasArtifactTag() != other.hasArtifactTag()) return false; - if (hasArtifactTag()) { - if (!getArtifactTag() - .equals(other.getArtifactTag())) 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 (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - } - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - if (hasArtifactPartialId()) { - hash = (37 * hash) + ARTIFACT_PARTIAL_ID_FIELD_NUMBER; - hash = (53 * hash) + getArtifactPartialId().hashCode(); - } - if (hasArtifactTag()) { - hash = (37 * hash) + ARTIFACT_TAG_FIELD_NUMBER; - hash = (53 * hash) + getArtifactTag().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Interface.Variable parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.Variable parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.Variable parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.Variable 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.Interface.Variable parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.Variable parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.Variable parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.Variable 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.Interface.Variable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.Variable 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.Interface.Variable parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.Variable 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.Interface.Variable prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a strongly typed variable.
-     * 
- * - * Protobuf type {@code flyteidl.core.Variable} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Variable) - flyteidl.core.Interface.VariableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.Variable.class, flyteidl.core.Interface.Variable.Builder.class); - } - - // Construct using flyteidl.core.Interface.Variable.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 (typeBuilder_ == null) { - type_ = null; - } else { - type_ = null; - typeBuilder_ = null; - } - description_ = ""; - - if (artifactPartialIdBuilder_ == null) { - artifactPartialId_ = null; - } else { - artifactPartialId_ = null; - artifactPartialIdBuilder_ = null; - } - if (artifactTagBuilder_ == null) { - artifactTag_ = null; - } else { - artifactTag_ = null; - artifactTagBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Variable_descriptor; - } - - @java.lang.Override - public flyteidl.core.Interface.Variable getDefaultInstanceForType() { - return flyteidl.core.Interface.Variable.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Interface.Variable build() { - flyteidl.core.Interface.Variable result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Interface.Variable buildPartial() { - flyteidl.core.Interface.Variable result = new flyteidl.core.Interface.Variable(this); - if (typeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = typeBuilder_.build(); - } - result.description_ = description_; - if (artifactPartialIdBuilder_ == null) { - result.artifactPartialId_ = artifactPartialId_; - } else { - result.artifactPartialId_ = artifactPartialIdBuilder_.build(); - } - if (artifactTagBuilder_ == null) { - result.artifactTag_ = artifactTag_; - } else { - result.artifactTag_ = artifactTagBuilder_.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.Interface.Variable) { - return mergeFrom((flyteidl.core.Interface.Variable)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Interface.Variable other) { - if (other == flyteidl.core.Interface.Variable.getDefaultInstance()) return this; - if (other.hasType()) { - mergeType(other.getType()); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - if (other.hasArtifactPartialId()) { - mergeArtifactPartialId(other.getArtifactPartialId()); - } - if (other.hasArtifactTag()) { - mergeArtifactTag(other.getArtifactTag()); - } - 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.Interface.Variable parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Interface.Variable) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Types.LiteralType type_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> typeBuilder_; - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public boolean hasType() { - return typeBuilder_ != null || type_ != null; - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public flyteidl.core.Types.LiteralType getType() { - if (typeBuilder_ == null) { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } else { - return typeBuilder_.getMessage(); - } - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public Builder setType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - typeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public Builder setType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (typeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - typeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public Builder mergeType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (type_ != null) { - type_ = - flyteidl.core.Types.LiteralType.newBuilder(type_).mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - typeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public Builder clearType() { - if (typeBuilder_ == null) { - type_ = null; - onChanged(); - } else { - type_ = null; - typeBuilder_ = null; - } - - return this; - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { - - onChanged(); - return getTypeFieldBuilder().getBuilder(); - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - if (typeBuilder_ != null) { - return typeBuilder_.getMessageOrBuilder(); - } else { - return type_ == null ? - flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - } - /** - *
-       * Variable literal type.
-       * 
- * - * .flyteidl.core.LiteralType type = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getTypeFieldBuilder() { - if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); - type_ = null; - } - return typeBuilder_; - } - - private java.lang.Object description_ = ""; - /** - *
-       *+optional string describing input variable
-       * 
- * - * string description = 2; - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       *+optional string describing input variable
-       * 
- * - * string description = 2; - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       *+optional string describing input variable
-       * 
- * - * string description = 2; - */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - description_ = value; - onChanged(); - return this; - } - /** - *
-       *+optional string describing input variable
-       * 
- * - * string description = 2; - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - *
-       *+optional string describing input variable
-       * 
- * - * string description = 2; - */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - private flyteidl.core.ArtifactId.ArtifactID artifactPartialId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactPartialIdBuilder_; - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public boolean hasArtifactPartialId() { - return artifactPartialIdBuilder_ != null || artifactPartialId_ != null; - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactPartialId() { - if (artifactPartialIdBuilder_ == null) { - return artifactPartialId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactPartialId_; - } else { - return artifactPartialIdBuilder_.getMessage(); - } - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public Builder setArtifactPartialId(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactPartialIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - artifactPartialId_ = value; - onChanged(); - } else { - artifactPartialIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public Builder setArtifactPartialId( - flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactPartialIdBuilder_ == null) { - artifactPartialId_ = builderForValue.build(); - onChanged(); - } else { - artifactPartialIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public Builder mergeArtifactPartialId(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactPartialIdBuilder_ == null) { - if (artifactPartialId_ != null) { - artifactPartialId_ = - flyteidl.core.ArtifactId.ArtifactID.newBuilder(artifactPartialId_).mergeFrom(value).buildPartial(); - } else { - artifactPartialId_ = value; - } - onChanged(); - } else { - artifactPartialIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public Builder clearArtifactPartialId() { - if (artifactPartialIdBuilder_ == null) { - artifactPartialId_ = null; - onChanged(); - } else { - artifactPartialId_ = null; - artifactPartialIdBuilder_ = null; - } - - return this; - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactPartialIdBuilder() { - - onChanged(); - return getArtifactPartialIdFieldBuilder().getBuilder(); - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactPartialIdOrBuilder() { - if (artifactPartialIdBuilder_ != null) { - return artifactPartialIdBuilder_.getMessageOrBuilder(); - } else { - return artifactPartialId_ == null ? - flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactPartialId_; - } - } - /** - *
-       *+optional This object allows the user to specify how Artifacts are created.
-       * name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
-       * 
- * - * .flyteidl.core.ArtifactID artifact_partial_id = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> - getArtifactPartialIdFieldBuilder() { - if (artifactPartialIdBuilder_ == null) { - artifactPartialIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( - getArtifactPartialId(), - getParentForChildren(), - isClean()); - artifactPartialId_ = null; - } - return artifactPartialIdBuilder_; - } - - private flyteidl.core.ArtifactId.ArtifactTag artifactTag_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> artifactTagBuilder_; - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public boolean hasArtifactTag() { - return artifactTagBuilder_ != null || artifactTag_ != null; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public flyteidl.core.ArtifactId.ArtifactTag getArtifactTag() { - if (artifactTagBuilder_ == null) { - return artifactTag_ == null ? flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance() : artifactTag_; - } else { - return artifactTagBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public Builder setArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { - if (artifactTagBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - artifactTag_ = value; - onChanged(); - } else { - artifactTagBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public Builder setArtifactTag( - flyteidl.core.ArtifactId.ArtifactTag.Builder builderForValue) { - if (artifactTagBuilder_ == null) { - artifactTag_ = builderForValue.build(); - onChanged(); - } else { - artifactTagBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public Builder mergeArtifactTag(flyteidl.core.ArtifactId.ArtifactTag value) { - if (artifactTagBuilder_ == null) { - if (artifactTag_ != null) { - artifactTag_ = - flyteidl.core.ArtifactId.ArtifactTag.newBuilder(artifactTag_).mergeFrom(value).buildPartial(); - } else { - artifactTag_ = value; - } - onChanged(); - } else { - artifactTagBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public Builder clearArtifactTag() { - if (artifactTagBuilder_ == null) { - artifactTag_ = null; - onChanged(); - } else { - artifactTag_ = null; - artifactTagBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public flyteidl.core.ArtifactId.ArtifactTag.Builder getArtifactTagBuilder() { - - onChanged(); - return getArtifactTagFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - public flyteidl.core.ArtifactId.ArtifactTagOrBuilder getArtifactTagOrBuilder() { - if (artifactTagBuilder_ != null) { - return artifactTagBuilder_.getMessageOrBuilder(); - } else { - return artifactTag_ == null ? - flyteidl.core.ArtifactId.ArtifactTag.getDefaultInstance() : artifactTag_; - } - } - /** - * .flyteidl.core.ArtifactTag artifact_tag = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder> - getArtifactTagFieldBuilder() { - if (artifactTagBuilder_ == null) { - artifactTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactTag, flyteidl.core.ArtifactId.ArtifactTag.Builder, flyteidl.core.ArtifactId.ArtifactTagOrBuilder>( - getArtifactTag(), - getParentForChildren(), - isClean()); - artifactTag_ = null; - } - return artifactTagBuilder_; - } - @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.Variable) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Variable) - private static final flyteidl.core.Interface.Variable DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Interface.Variable(); - } - - public static flyteidl.core.Interface.Variable getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Variable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Variable(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.Interface.Variable getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VariableMapOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.VariableMap) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - int getVariablesCount(); - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - boolean containsVariables( - java.lang.String key); - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getVariables(); - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - java.util.Map - getVariablesMap(); - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - flyteidl.core.Interface.Variable getVariablesOrDefault( - java.lang.String key, - flyteidl.core.Interface.Variable defaultValue); - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - flyteidl.core.Interface.Variable getVariablesOrThrow( - java.lang.String key); - } - /** - *
-   * A map of Variables
-   * 
- * - * Protobuf type {@code flyteidl.core.VariableMap} - */ - public static final class VariableMap extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.VariableMap) - VariableMapOrBuilder { - private static final long serialVersionUID = 0L; - // Use VariableMap.newBuilder() to construct. - private VariableMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VariableMap() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VariableMap( - 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)) { - variables_ = com.google.protobuf.MapField.newMapField( - VariablesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - variables__ = input.readMessage( - VariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - variables_.getMutableMap().put( - variables__.getKey(), variables__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetVariables(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.VariableMap.class, flyteidl.core.Interface.VariableMap.Builder.class); - } - - public static final int VARIABLES_FIELD_NUMBER = 1; - private static final class VariablesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.Interface.Variable> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_VariablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.Interface.Variable.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Interface.Variable> variables_; - private com.google.protobuf.MapField - internalGetVariables() { - if (variables_ == null) { - return com.google.protobuf.MapField.emptyMapField( - VariablesDefaultEntryHolder.defaultEntry); - } - return variables_; - } - - public int getVariablesCount() { - return internalGetVariables().getMap().size(); - } - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public boolean containsVariables( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetVariables().getMap().containsKey(key); - } - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getVariables() { - return getVariablesMap(); - } - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public java.util.Map getVariablesMap() { - return internalGetVariables().getMap(); - } - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public flyteidl.core.Interface.Variable getVariablesOrDefault( - java.lang.String key, - flyteidl.core.Interface.Variable defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetVariables().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Defines a map of variable names to variables.
-     * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public flyteidl.core.Interface.Variable getVariablesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetVariables().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetVariables(), - VariablesDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetVariables().getMap().entrySet()) { - com.google.protobuf.MapEntry - variables__ = VariablesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, variables__); - } - 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.Interface.VariableMap)) { - return super.equals(obj); - } - flyteidl.core.Interface.VariableMap other = (flyteidl.core.Interface.VariableMap) obj; - - if (!internalGetVariables().equals( - other.internalGetVariables())) 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 (!internalGetVariables().getMap().isEmpty()) { - hash = (37 * hash) + VARIABLES_FIELD_NUMBER; - hash = (53 * hash) + internalGetVariables().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Interface.VariableMap parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.VariableMap parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.VariableMap parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.VariableMap 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.Interface.VariableMap parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.VariableMap parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.VariableMap parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.VariableMap 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.Interface.VariableMap parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.VariableMap 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.Interface.VariableMap parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.VariableMap 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.Interface.VariableMap 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 map of Variables
-     * 
- * - * Protobuf type {@code flyteidl.core.VariableMap} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.VariableMap) - flyteidl.core.Interface.VariableMapOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetVariables(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableVariables(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.VariableMap.class, flyteidl.core.Interface.VariableMap.Builder.class); - } - - // Construct using flyteidl.core.Interface.VariableMap.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(); - internalGetMutableVariables().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Interface.internal_static_flyteidl_core_VariableMap_descriptor; - } - - @java.lang.Override - public flyteidl.core.Interface.VariableMap getDefaultInstanceForType() { - return flyteidl.core.Interface.VariableMap.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Interface.VariableMap build() { - flyteidl.core.Interface.VariableMap result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Interface.VariableMap buildPartial() { - flyteidl.core.Interface.VariableMap result = new flyteidl.core.Interface.VariableMap(this); - int from_bitField0_ = bitField0_; - result.variables_ = internalGetVariables(); - result.variables_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Interface.VariableMap) { - return mergeFrom((flyteidl.core.Interface.VariableMap)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Interface.VariableMap other) { - if (other == flyteidl.core.Interface.VariableMap.getDefaultInstance()) return this; - internalGetMutableVariables().mergeFrom( - other.internalGetVariables()); - 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.Interface.VariableMap parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Interface.VariableMap) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Interface.Variable> variables_; - private com.google.protobuf.MapField - internalGetVariables() { - if (variables_ == null) { - return com.google.protobuf.MapField.emptyMapField( - VariablesDefaultEntryHolder.defaultEntry); - } - return variables_; - } - private com.google.protobuf.MapField - internalGetMutableVariables() { - onChanged();; - if (variables_ == null) { - variables_ = com.google.protobuf.MapField.newMapField( - VariablesDefaultEntryHolder.defaultEntry); - } - if (!variables_.isMutable()) { - variables_ = variables_.copy(); - } - return variables_; - } - - public int getVariablesCount() { - return internalGetVariables().getMap().size(); - } - /** - *
-       * Defines a map of variable names to variables.
-       * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public boolean containsVariables( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetVariables().getMap().containsKey(key); - } - /** - * Use {@link #getVariablesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getVariables() { - return getVariablesMap(); - } - /** - *
-       * Defines a map of variable names to variables.
-       * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public java.util.Map getVariablesMap() { - return internalGetVariables().getMap(); - } - /** - *
-       * Defines a map of variable names to variables.
-       * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public flyteidl.core.Interface.Variable getVariablesOrDefault( - java.lang.String key, - flyteidl.core.Interface.Variable defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetVariables().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Defines a map of variable names to variables.
-       * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public flyteidl.core.Interface.Variable getVariablesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetVariables().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearVariables() { - internalGetMutableVariables().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Defines a map of variable names to variables.
-       * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public Builder removeVariables( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableVariables().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableVariables() { - return internalGetMutableVariables().getMutableMap(); - } - /** - *
-       * Defines a map of variable names to variables.
-       * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - public Builder putVariables( - java.lang.String key, - flyteidl.core.Interface.Variable value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableVariables().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Defines a map of variable names to variables.
-       * 
- * - * map<string, .flyteidl.core.Variable> variables = 1; - */ - - public Builder putAllVariables( - java.util.Map values) { - internalGetMutableVariables().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.VariableMap) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.VariableMap) - private static final flyteidl.core.Interface.VariableMap DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Interface.VariableMap(); - } - - public static flyteidl.core.Interface.VariableMap getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VariableMap parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VariableMap(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.Interface.VariableMap getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TypedInterfaceOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TypedInterface) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - boolean hasInputs(); - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - flyteidl.core.Interface.VariableMap getInputs(); - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - flyteidl.core.Interface.VariableMapOrBuilder getInputsOrBuilder(); - - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - boolean hasOutputs(); - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - flyteidl.core.Interface.VariableMap getOutputs(); - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder(); - } - /** - *
-   * Defines strongly typed inputs and outputs.
-   * 
- * - * Protobuf type {@code flyteidl.core.TypedInterface} - */ - public static final class TypedInterface extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TypedInterface) - TypedInterfaceOrBuilder { - private static final long serialVersionUID = 0L; - // Use TypedInterface.newBuilder() to construct. - private TypedInterface(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TypedInterface() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TypedInterface( - 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.Interface.VariableMap.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.core.Interface.VariableMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Interface.VariableMap.Builder subBuilder = null; - if (outputs_ != null) { - subBuilder = outputs_.toBuilder(); - } - outputs_ = input.readMessage(flyteidl.core.Interface.VariableMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputs_); - outputs_ = 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.core.Interface.internal_static_flyteidl_core_TypedInterface_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.TypedInterface.class, flyteidl.core.Interface.TypedInterface.Builder.class); - } - - public static final int INPUTS_FIELD_NUMBER = 1; - private flyteidl.core.Interface.VariableMap inputs_; - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public boolean hasInputs() { - return inputs_ != null; - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public flyteidl.core.Interface.VariableMap getInputs() { - return inputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : inputs_; - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public flyteidl.core.Interface.VariableMapOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int OUTPUTS_FIELD_NUMBER = 2; - private flyteidl.core.Interface.VariableMap outputs_; - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public boolean hasOutputs() { - return outputs_ != null; - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public flyteidl.core.Interface.VariableMap getOutputs() { - return outputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder() { - return getOutputs(); - } - - 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 (inputs_ != null) { - output.writeMessage(1, getInputs()); - } - if (outputs_ != null) { - output.writeMessage(2, getOutputs()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInputs()); - } - if (outputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputs()); - } - 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.Interface.TypedInterface)) { - return super.equals(obj); - } - flyteidl.core.Interface.TypedInterface other = (flyteidl.core.Interface.TypedInterface) obj; - - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (hasOutputs() != other.hasOutputs()) return false; - if (hasOutputs()) { - if (!getOutputs() - .equals(other.getOutputs())) 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 (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - if (hasOutputs()) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Interface.TypedInterface parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.TypedInterface parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.TypedInterface parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.TypedInterface 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.Interface.TypedInterface parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.TypedInterface parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.TypedInterface parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.TypedInterface 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.Interface.TypedInterface parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.TypedInterface 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.Interface.TypedInterface parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.TypedInterface 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.Interface.TypedInterface prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines strongly typed inputs and outputs.
-     * 
- * - * Protobuf type {@code flyteidl.core.TypedInterface} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TypedInterface) - flyteidl.core.Interface.TypedInterfaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.TypedInterface.class, flyteidl.core.Interface.TypedInterface.Builder.class); - } - - // Construct using flyteidl.core.Interface.TypedInterface.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 (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - if (outputsBuilder_ == null) { - outputs_ = null; - } else { - outputs_ = null; - outputsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Interface.internal_static_flyteidl_core_TypedInterface_descriptor; - } - - @java.lang.Override - public flyteidl.core.Interface.TypedInterface getDefaultInstanceForType() { - return flyteidl.core.Interface.TypedInterface.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Interface.TypedInterface build() { - flyteidl.core.Interface.TypedInterface result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Interface.TypedInterface buildPartial() { - flyteidl.core.Interface.TypedInterface result = new flyteidl.core.Interface.TypedInterface(this); - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (outputsBuilder_ == null) { - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.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.Interface.TypedInterface) { - return mergeFrom((flyteidl.core.Interface.TypedInterface)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Interface.TypedInterface other) { - if (other == flyteidl.core.Interface.TypedInterface.getDefaultInstance()) return this; - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (other.hasOutputs()) { - mergeOutputs(other.getOutputs()); - } - 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.Interface.TypedInterface parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Interface.TypedInterface) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Interface.VariableMap inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> inputsBuilder_; - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public flyteidl.core.Interface.VariableMap getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public Builder setInputs(flyteidl.core.Interface.VariableMap value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public Builder setInputs( - flyteidl.core.Interface.VariableMap.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public Builder mergeInputs(flyteidl.core.Interface.VariableMap value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.core.Interface.VariableMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public flyteidl.core.Interface.VariableMap.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - public flyteidl.core.Interface.VariableMapOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.core.Interface.VariableMap.getDefaultInstance() : inputs_; - } - } - /** - * .flyteidl.core.VariableMap inputs = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private flyteidl.core.Interface.VariableMap outputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> outputsBuilder_; - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public boolean hasOutputs() { - return outputsBuilder_ != null || outputs_ != null; - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public flyteidl.core.Interface.VariableMap getOutputs() { - if (outputsBuilder_ == null) { - return outputs_ == null ? flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; - } else { - return outputsBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public Builder setOutputs(flyteidl.core.Interface.VariableMap value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputs_ = value; - onChanged(); - } else { - outputsBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public Builder setOutputs( - flyteidl.core.Interface.VariableMap.Builder builderForValue) { - if (outputsBuilder_ == null) { - outputs_ = builderForValue.build(); - onChanged(); - } else { - outputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public Builder mergeOutputs(flyteidl.core.Interface.VariableMap value) { - if (outputsBuilder_ == null) { - if (outputs_ != null) { - outputs_ = - flyteidl.core.Interface.VariableMap.newBuilder(outputs_).mergeFrom(value).buildPartial(); - } else { - outputs_ = value; - } - onChanged(); - } else { - outputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = null; - onChanged(); - } else { - outputs_ = null; - outputsBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public flyteidl.core.Interface.VariableMap.Builder getOutputsBuilder() { - - onChanged(); - return getOutputsFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - public flyteidl.core.Interface.VariableMapOrBuilder getOutputsOrBuilder() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilder(); - } else { - return outputs_ == null ? - flyteidl.core.Interface.VariableMap.getDefaultInstance() : outputs_; - } - } - /** - * .flyteidl.core.VariableMap outputs = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.VariableMap, flyteidl.core.Interface.VariableMap.Builder, flyteidl.core.Interface.VariableMapOrBuilder>( - getOutputs(), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - @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.TypedInterface) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TypedInterface) - private static final flyteidl.core.Interface.TypedInterface DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Interface.TypedInterface(); - } - - public static flyteidl.core.Interface.TypedInterface getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypedInterface parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedInterface(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.Interface.TypedInterface getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParameterOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Parameter) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     *+required Variable. Defines the type of the variable backing this parameter.
-     * 
- * - * .flyteidl.core.Variable var = 1; - */ - boolean hasVar(); - /** - *
-     *+required Variable. Defines the type of the variable backing this parameter.
-     * 
- * - * .flyteidl.core.Variable var = 1; - */ - flyteidl.core.Interface.Variable getVar(); - /** - *
-     *+required Variable. Defines the type of the variable backing this parameter.
-     * 
- * - * .flyteidl.core.Variable var = 1; - */ - flyteidl.core.Interface.VariableOrBuilder getVarOrBuilder(); - - /** - *
-     * Defines a default value that has to match the variable type defined.
-     * 
- * - * .flyteidl.core.Literal default = 2; - */ - boolean hasDefault(); - /** - *
-     * Defines a default value that has to match the variable type defined.
-     * 
- * - * .flyteidl.core.Literal default = 2; - */ - flyteidl.core.Literals.Literal getDefault(); - /** - *
-     * Defines a default value that has to match the variable type defined.
-     * 
- * - * .flyteidl.core.Literal default = 2; - */ - flyteidl.core.Literals.LiteralOrBuilder getDefaultOrBuilder(); - - /** - *
-     *+optional, is this value required to be filled.
-     * 
- * - * bool required = 3; - */ - boolean getRequired(); - - /** - *
-     * This is an execution time search basically that should result in exactly one Artifact with a Type that
-     * matches the type of the variable.
-     * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - boolean hasArtifactQuery(); - /** - *
-     * This is an execution time search basically that should result in exactly one Artifact with a Type that
-     * matches the type of the variable.
-     * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - flyteidl.core.ArtifactId.ArtifactQuery getArtifactQuery(); - /** - *
-     * This is an execution time search basically that should result in exactly one Artifact with a Type that
-     * matches the type of the variable.
-     * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getArtifactQueryOrBuilder(); - - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - boolean hasArtifactId(); - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - flyteidl.core.ArtifactId.ArtifactID getArtifactId(); - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder(); - - public flyteidl.core.Interface.Parameter.BehaviorCase getBehaviorCase(); - } - /** - *
-   * A parameter is used as input to a launch plan and has
-   * the special ability to have a default value or mark itself as required.
-   * 
- * - * Protobuf type {@code flyteidl.core.Parameter} - */ - public static final class Parameter extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Parameter) - ParameterOrBuilder { - private static final long serialVersionUID = 0L; - // Use Parameter.newBuilder() to construct. - private Parameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Parameter() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Parameter( - 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.Interface.Variable.Builder subBuilder = null; - if (var_ != null) { - subBuilder = var_.toBuilder(); - } - var_ = input.readMessage(flyteidl.core.Interface.Variable.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(var_); - var_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Literals.Literal.Builder subBuilder = null; - if (behaviorCase_ == 2) { - subBuilder = ((flyteidl.core.Literals.Literal) behavior_).toBuilder(); - } - behavior_ = - input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Literal) behavior_); - behavior_ = subBuilder.buildPartial(); - } - behaviorCase_ = 2; - break; - } - case 24: { - behaviorCase_ = 3; - behavior_ = input.readBool(); - break; - } - case 34: { - flyteidl.core.ArtifactId.ArtifactQuery.Builder subBuilder = null; - if (behaviorCase_ == 4) { - subBuilder = ((flyteidl.core.ArtifactId.ArtifactQuery) behavior_).toBuilder(); - } - behavior_ = - input.readMessage(flyteidl.core.ArtifactId.ArtifactQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactQuery) behavior_); - behavior_ = subBuilder.buildPartial(); - } - behaviorCase_ = 4; - break; - } - case 42: { - flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; - if (behaviorCase_ == 5) { - subBuilder = ((flyteidl.core.ArtifactId.ArtifactID) behavior_).toBuilder(); - } - behavior_ = - input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.ArtifactId.ArtifactID) behavior_); - behavior_ = subBuilder.buildPartial(); - } - behaviorCase_ = 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.Interface.internal_static_flyteidl_core_Parameter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.Parameter.class, flyteidl.core.Interface.Parameter.Builder.class); - } - - private int behaviorCase_ = 0; - private java.lang.Object behavior_; - public enum BehaviorCase - implements com.google.protobuf.Internal.EnumLite { - DEFAULT(2), - REQUIRED(3), - ARTIFACT_QUERY(4), - ARTIFACT_ID(5), - BEHAVIOR_NOT_SET(0); - private final int value; - private BehaviorCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static BehaviorCase valueOf(int value) { - return forNumber(value); - } - - public static BehaviorCase forNumber(int value) { - switch (value) { - case 2: return DEFAULT; - case 3: return REQUIRED; - case 4: return ARTIFACT_QUERY; - case 5: return ARTIFACT_ID; - case 0: return BEHAVIOR_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public BehaviorCase - getBehaviorCase() { - return BehaviorCase.forNumber( - behaviorCase_); - } - - public static final int VAR_FIELD_NUMBER = 1; - private flyteidl.core.Interface.Variable var_; - /** - *
-     *+required Variable. Defines the type of the variable backing this parameter.
-     * 
- * - * .flyteidl.core.Variable var = 1; - */ - public boolean hasVar() { - return var_ != null; - } - /** - *
-     *+required Variable. Defines the type of the variable backing this parameter.
-     * 
- * - * .flyteidl.core.Variable var = 1; - */ - public flyteidl.core.Interface.Variable getVar() { - return var_ == null ? flyteidl.core.Interface.Variable.getDefaultInstance() : var_; - } - /** - *
-     *+required Variable. Defines the type of the variable backing this parameter.
-     * 
- * - * .flyteidl.core.Variable var = 1; - */ - public flyteidl.core.Interface.VariableOrBuilder getVarOrBuilder() { - return getVar(); - } - - public static final int DEFAULT_FIELD_NUMBER = 2; - /** - *
-     * Defines a default value that has to match the variable type defined.
-     * 
- * - * .flyteidl.core.Literal default = 2; - */ - public boolean hasDefault() { - return behaviorCase_ == 2; - } - /** - *
-     * Defines a default value that has to match the variable type defined.
-     * 
- * - * .flyteidl.core.Literal default = 2; - */ - public flyteidl.core.Literals.Literal getDefault() { - if (behaviorCase_ == 2) { - return (flyteidl.core.Literals.Literal) behavior_; - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - /** - *
-     * Defines a default value that has to match the variable type defined.
-     * 
- * - * .flyteidl.core.Literal default = 2; - */ - public flyteidl.core.Literals.LiteralOrBuilder getDefaultOrBuilder() { - if (behaviorCase_ == 2) { - return (flyteidl.core.Literals.Literal) behavior_; - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - - public static final int REQUIRED_FIELD_NUMBER = 3; - /** - *
-     *+optional, is this value required to be filled.
-     * 
- * - * bool required = 3; - */ - public boolean getRequired() { - if (behaviorCase_ == 3) { - return (java.lang.Boolean) behavior_; - } - return false; - } - - public static final int ARTIFACT_QUERY_FIELD_NUMBER = 4; - /** - *
-     * This is an execution time search basically that should result in exactly one Artifact with a Type that
-     * matches the type of the variable.
-     * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public boolean hasArtifactQuery() { - return behaviorCase_ == 4; - } - /** - *
-     * This is an execution time search basically that should result in exactly one Artifact with a Type that
-     * matches the type of the variable.
-     * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public flyteidl.core.ArtifactId.ArtifactQuery getArtifactQuery() { - if (behaviorCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); - } - /** - *
-     * This is an execution time search basically that should result in exactly one Artifact with a Type that
-     * matches the type of the variable.
-     * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getArtifactQueryOrBuilder() { - if (behaviorCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); - } - - public static final int ARTIFACT_ID_FIELD_NUMBER = 5; - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public boolean hasArtifactId() { - return behaviorCase_ == 5; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { - if (behaviorCase_ == 5) { - return (flyteidl.core.ArtifactId.ArtifactID) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { - if (behaviorCase_ == 5) { - return (flyteidl.core.ArtifactId.ArtifactID) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactID.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 (var_ != null) { - output.writeMessage(1, getVar()); - } - if (behaviorCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Literals.Literal) behavior_); - } - if (behaviorCase_ == 3) { - output.writeBool( - 3, (boolean)((java.lang.Boolean) behavior_)); - } - if (behaviorCase_ == 4) { - output.writeMessage(4, (flyteidl.core.ArtifactId.ArtifactQuery) behavior_); - } - if (behaviorCase_ == 5) { - output.writeMessage(5, (flyteidl.core.ArtifactId.ArtifactID) behavior_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (var_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getVar()); - } - if (behaviorCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Literals.Literal) behavior_); - } - if (behaviorCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 3, (boolean)((java.lang.Boolean) behavior_)); - } - if (behaviorCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.ArtifactId.ArtifactQuery) behavior_); - } - if (behaviorCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (flyteidl.core.ArtifactId.ArtifactID) behavior_); - } - 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.Interface.Parameter)) { - return super.equals(obj); - } - flyteidl.core.Interface.Parameter other = (flyteidl.core.Interface.Parameter) obj; - - if (hasVar() != other.hasVar()) return false; - if (hasVar()) { - if (!getVar() - .equals(other.getVar())) return false; - } - if (!getBehaviorCase().equals(other.getBehaviorCase())) return false; - switch (behaviorCase_) { - case 2: - if (!getDefault() - .equals(other.getDefault())) return false; - break; - case 3: - if (getRequired() - != other.getRequired()) return false; - break; - case 4: - if (!getArtifactQuery() - .equals(other.getArtifactQuery())) return false; - break; - case 5: - if (!getArtifactId() - .equals(other.getArtifactId())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasVar()) { - hash = (37 * hash) + VAR_FIELD_NUMBER; - hash = (53 * hash) + getVar().hashCode(); - } - switch (behaviorCase_) { - case 2: - hash = (37 * hash) + DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + getDefault().hashCode(); - break; - case 3: - hash = (37 * hash) + REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequired()); - break; - case 4: - hash = (37 * hash) + ARTIFACT_QUERY_FIELD_NUMBER; - hash = (53 * hash) + getArtifactQuery().hashCode(); - break; - case 5: - hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; - hash = (53 * hash) + getArtifactId().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Interface.Parameter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.Parameter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.Parameter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.Parameter 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.Interface.Parameter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.Parameter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.Parameter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.Parameter 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.Interface.Parameter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.Parameter 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.Interface.Parameter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.Parameter 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.Interface.Parameter 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 parameter is used as input to a launch plan and has
-     * the special ability to have a default value or mark itself as required.
-     * 
- * - * Protobuf type {@code flyteidl.core.Parameter} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Parameter) - flyteidl.core.Interface.ParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.Parameter.class, flyteidl.core.Interface.Parameter.Builder.class); - } - - // Construct using flyteidl.core.Interface.Parameter.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 (varBuilder_ == null) { - var_ = null; - } else { - var_ = null; - varBuilder_ = null; - } - behaviorCase_ = 0; - behavior_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Interface.internal_static_flyteidl_core_Parameter_descriptor; - } - - @java.lang.Override - public flyteidl.core.Interface.Parameter getDefaultInstanceForType() { - return flyteidl.core.Interface.Parameter.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Interface.Parameter build() { - flyteidl.core.Interface.Parameter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Interface.Parameter buildPartial() { - flyteidl.core.Interface.Parameter result = new flyteidl.core.Interface.Parameter(this); - if (varBuilder_ == null) { - result.var_ = var_; - } else { - result.var_ = varBuilder_.build(); - } - if (behaviorCase_ == 2) { - if (defaultBuilder_ == null) { - result.behavior_ = behavior_; - } else { - result.behavior_ = defaultBuilder_.build(); - } - } - if (behaviorCase_ == 3) { - result.behavior_ = behavior_; - } - if (behaviorCase_ == 4) { - if (artifactQueryBuilder_ == null) { - result.behavior_ = behavior_; - } else { - result.behavior_ = artifactQueryBuilder_.build(); - } - } - if (behaviorCase_ == 5) { - if (artifactIdBuilder_ == null) { - result.behavior_ = behavior_; - } else { - result.behavior_ = artifactIdBuilder_.build(); - } - } - result.behaviorCase_ = behaviorCase_; - 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.Interface.Parameter) { - return mergeFrom((flyteidl.core.Interface.Parameter)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Interface.Parameter other) { - if (other == flyteidl.core.Interface.Parameter.getDefaultInstance()) return this; - if (other.hasVar()) { - mergeVar(other.getVar()); - } - switch (other.getBehaviorCase()) { - case DEFAULT: { - mergeDefault(other.getDefault()); - break; - } - case REQUIRED: { - setRequired(other.getRequired()); - break; - } - case ARTIFACT_QUERY: { - mergeArtifactQuery(other.getArtifactQuery()); - break; - } - case ARTIFACT_ID: { - mergeArtifactId(other.getArtifactId()); - break; - } - case BEHAVIOR_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.Interface.Parameter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Interface.Parameter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int behaviorCase_ = 0; - private java.lang.Object behavior_; - public BehaviorCase - getBehaviorCase() { - return BehaviorCase.forNumber( - behaviorCase_); - } - - public Builder clearBehavior() { - behaviorCase_ = 0; - behavior_ = null; - onChanged(); - return this; - } - - - private flyteidl.core.Interface.Variable var_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.Variable, flyteidl.core.Interface.Variable.Builder, flyteidl.core.Interface.VariableOrBuilder> varBuilder_; - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public boolean hasVar() { - return varBuilder_ != null || var_ != null; - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public flyteidl.core.Interface.Variable getVar() { - if (varBuilder_ == null) { - return var_ == null ? flyteidl.core.Interface.Variable.getDefaultInstance() : var_; - } else { - return varBuilder_.getMessage(); - } - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public Builder setVar(flyteidl.core.Interface.Variable value) { - if (varBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - var_ = value; - onChanged(); - } else { - varBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public Builder setVar( - flyteidl.core.Interface.Variable.Builder builderForValue) { - if (varBuilder_ == null) { - var_ = builderForValue.build(); - onChanged(); - } else { - varBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public Builder mergeVar(flyteidl.core.Interface.Variable value) { - if (varBuilder_ == null) { - if (var_ != null) { - var_ = - flyteidl.core.Interface.Variable.newBuilder(var_).mergeFrom(value).buildPartial(); - } else { - var_ = value; - } - onChanged(); - } else { - varBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public Builder clearVar() { - if (varBuilder_ == null) { - var_ = null; - onChanged(); - } else { - var_ = null; - varBuilder_ = null; - } - - return this; - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public flyteidl.core.Interface.Variable.Builder getVarBuilder() { - - onChanged(); - return getVarFieldBuilder().getBuilder(); - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - public flyteidl.core.Interface.VariableOrBuilder getVarOrBuilder() { - if (varBuilder_ != null) { - return varBuilder_.getMessageOrBuilder(); - } else { - return var_ == null ? - flyteidl.core.Interface.Variable.getDefaultInstance() : var_; - } - } - /** - *
-       *+required Variable. Defines the type of the variable backing this parameter.
-       * 
- * - * .flyteidl.core.Variable var = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.Variable, flyteidl.core.Interface.Variable.Builder, flyteidl.core.Interface.VariableOrBuilder> - getVarFieldBuilder() { - if (varBuilder_ == null) { - varBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.Variable, flyteidl.core.Interface.Variable.Builder, flyteidl.core.Interface.VariableOrBuilder>( - getVar(), - getParentForChildren(), - isClean()); - var_ = null; - } - return varBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> defaultBuilder_; - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public boolean hasDefault() { - return behaviorCase_ == 2; - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public flyteidl.core.Literals.Literal getDefault() { - if (defaultBuilder_ == null) { - if (behaviorCase_ == 2) { - return (flyteidl.core.Literals.Literal) behavior_; - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } else { - if (behaviorCase_ == 2) { - return defaultBuilder_.getMessage(); - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public Builder setDefault(flyteidl.core.Literals.Literal value) { - if (defaultBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - behavior_ = value; - onChanged(); - } else { - defaultBuilder_.setMessage(value); - } - behaviorCase_ = 2; - return this; - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public Builder setDefault( - flyteidl.core.Literals.Literal.Builder builderForValue) { - if (defaultBuilder_ == null) { - behavior_ = builderForValue.build(); - onChanged(); - } else { - defaultBuilder_.setMessage(builderForValue.build()); - } - behaviorCase_ = 2; - return this; - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public Builder mergeDefault(flyteidl.core.Literals.Literal value) { - if (defaultBuilder_ == null) { - if (behaviorCase_ == 2 && - behavior_ != flyteidl.core.Literals.Literal.getDefaultInstance()) { - behavior_ = flyteidl.core.Literals.Literal.newBuilder((flyteidl.core.Literals.Literal) behavior_) - .mergeFrom(value).buildPartial(); - } else { - behavior_ = value; - } - onChanged(); - } else { - if (behaviorCase_ == 2) { - defaultBuilder_.mergeFrom(value); - } - defaultBuilder_.setMessage(value); - } - behaviorCase_ = 2; - return this; - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public Builder clearDefault() { - if (defaultBuilder_ == null) { - if (behaviorCase_ == 2) { - behaviorCase_ = 0; - behavior_ = null; - onChanged(); - } - } else { - if (behaviorCase_ == 2) { - behaviorCase_ = 0; - behavior_ = null; - } - defaultBuilder_.clear(); - } - return this; - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public flyteidl.core.Literals.Literal.Builder getDefaultBuilder() { - return getDefaultFieldBuilder().getBuilder(); - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - public flyteidl.core.Literals.LiteralOrBuilder getDefaultOrBuilder() { - if ((behaviorCase_ == 2) && (defaultBuilder_ != null)) { - return defaultBuilder_.getMessageOrBuilder(); - } else { - if (behaviorCase_ == 2) { - return (flyteidl.core.Literals.Literal) behavior_; - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - } - /** - *
-       * Defines a default value that has to match the variable type defined.
-       * 
- * - * .flyteidl.core.Literal default = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> - getDefaultFieldBuilder() { - if (defaultBuilder_ == null) { - if (!(behaviorCase_ == 2)) { - behavior_ = flyteidl.core.Literals.Literal.getDefaultInstance(); - } - defaultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( - (flyteidl.core.Literals.Literal) behavior_, - getParentForChildren(), - isClean()); - behavior_ = null; - } - behaviorCase_ = 2; - onChanged();; - return defaultBuilder_; - } - - /** - *
-       *+optional, is this value required to be filled.
-       * 
- * - * bool required = 3; - */ - public boolean getRequired() { - if (behaviorCase_ == 3) { - return (java.lang.Boolean) behavior_; - } - return false; - } - /** - *
-       *+optional, is this value required to be filled.
-       * 
- * - * bool required = 3; - */ - public Builder setRequired(boolean value) { - behaviorCase_ = 3; - behavior_ = value; - onChanged(); - return this; - } - /** - *
-       *+optional, is this value required to be filled.
-       * 
- * - * bool required = 3; - */ - public Builder clearRequired() { - if (behaviorCase_ == 3) { - behaviorCase_ = 0; - behavior_ = null; - onChanged(); - } - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> artifactQueryBuilder_; - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public boolean hasArtifactQuery() { - return behaviorCase_ == 4; - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public flyteidl.core.ArtifactId.ArtifactQuery getArtifactQuery() { - if (artifactQueryBuilder_ == null) { - if (behaviorCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); - } else { - if (behaviorCase_ == 4) { - return artifactQueryBuilder_.getMessage(); - } - return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); - } - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public Builder setArtifactQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { - if (artifactQueryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - behavior_ = value; - onChanged(); - } else { - artifactQueryBuilder_.setMessage(value); - } - behaviorCase_ = 4; - return this; - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public Builder setArtifactQuery( - flyteidl.core.ArtifactId.ArtifactQuery.Builder builderForValue) { - if (artifactQueryBuilder_ == null) { - behavior_ = builderForValue.build(); - onChanged(); - } else { - artifactQueryBuilder_.setMessage(builderForValue.build()); - } - behaviorCase_ = 4; - return this; - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public Builder mergeArtifactQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { - if (artifactQueryBuilder_ == null) { - if (behaviorCase_ == 4 && - behavior_ != flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance()) { - behavior_ = flyteidl.core.ArtifactId.ArtifactQuery.newBuilder((flyteidl.core.ArtifactId.ArtifactQuery) behavior_) - .mergeFrom(value).buildPartial(); - } else { - behavior_ = value; - } - onChanged(); - } else { - if (behaviorCase_ == 4) { - artifactQueryBuilder_.mergeFrom(value); - } - artifactQueryBuilder_.setMessage(value); - } - behaviorCase_ = 4; - return this; - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public Builder clearArtifactQuery() { - if (artifactQueryBuilder_ == null) { - if (behaviorCase_ == 4) { - behaviorCase_ = 0; - behavior_ = null; - onChanged(); - } - } else { - if (behaviorCase_ == 4) { - behaviorCase_ = 0; - behavior_ = null; - } - artifactQueryBuilder_.clear(); - } - return this; - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public flyteidl.core.ArtifactId.ArtifactQuery.Builder getArtifactQueryBuilder() { - return getArtifactQueryFieldBuilder().getBuilder(); - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getArtifactQueryOrBuilder() { - if ((behaviorCase_ == 4) && (artifactQueryBuilder_ != null)) { - return artifactQueryBuilder_.getMessageOrBuilder(); - } else { - if (behaviorCase_ == 4) { - return (flyteidl.core.ArtifactId.ArtifactQuery) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); - } - } - /** - *
-       * This is an execution time search basically that should result in exactly one Artifact with a Type that
-       * matches the type of the variable.
-       * 
- * - * .flyteidl.core.ArtifactQuery artifact_query = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> - getArtifactQueryFieldBuilder() { - if (artifactQueryBuilder_ == null) { - if (!(behaviorCase_ == 4)) { - behavior_ = flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance(); - } - artifactQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder>( - (flyteidl.core.ArtifactId.ArtifactQuery) behavior_, - getParentForChildren(), - isClean()); - behavior_ = null; - } - behaviorCase_ = 4; - onChanged();; - return artifactQueryBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdBuilder_; - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public boolean hasArtifactId() { - return behaviorCase_ == 5; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { - if (artifactIdBuilder_ == null) { - if (behaviorCase_ == 5) { - return (flyteidl.core.ArtifactId.ArtifactID) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } else { - if (behaviorCase_ == 5) { - return artifactIdBuilder_.getMessage(); - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - behavior_ = value; - onChanged(); - } else { - artifactIdBuilder_.setMessage(value); - } - behaviorCase_ = 5; - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public Builder setArtifactId( - flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdBuilder_ == null) { - behavior_ = builderForValue.build(); - onChanged(); - } else { - artifactIdBuilder_.setMessage(builderForValue.build()); - } - behaviorCase_ = 5; - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdBuilder_ == null) { - if (behaviorCase_ == 5 && - behavior_ != flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()) { - behavior_ = flyteidl.core.ArtifactId.ArtifactID.newBuilder((flyteidl.core.ArtifactId.ArtifactID) behavior_) - .mergeFrom(value).buildPartial(); - } else { - behavior_ = value; - } - onChanged(); - } else { - if (behaviorCase_ == 5) { - artifactIdBuilder_.mergeFrom(value); - } - artifactIdBuilder_.setMessage(value); - } - behaviorCase_ = 5; - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public Builder clearArtifactId() { - if (artifactIdBuilder_ == null) { - if (behaviorCase_ == 5) { - behaviorCase_ = 0; - behavior_ = null; - onChanged(); - } - } else { - if (behaviorCase_ == 5) { - behaviorCase_ = 0; - behavior_ = null; - } - artifactIdBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { - return getArtifactIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { - if ((behaviorCase_ == 5) && (artifactIdBuilder_ != null)) { - return artifactIdBuilder_.getMessageOrBuilder(); - } else { - if (behaviorCase_ == 5) { - return (flyteidl.core.ArtifactId.ArtifactID) behavior_; - } - return flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - } - /** - * .flyteidl.core.ArtifactID artifact_id = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> - getArtifactIdFieldBuilder() { - if (artifactIdBuilder_ == null) { - if (!(behaviorCase_ == 5)) { - behavior_ = flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance(); - } - artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( - (flyteidl.core.ArtifactId.ArtifactID) behavior_, - getParentForChildren(), - isClean()); - behavior_ = null; - } - behaviorCase_ = 5; - onChanged();; - return artifactIdBuilder_; - } - @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.Parameter) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Parameter) - private static final flyteidl.core.Interface.Parameter DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Interface.Parameter(); - } - - public static flyteidl.core.Interface.Parameter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Parameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Parameter(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.Interface.Parameter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParameterMapOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ParameterMap) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - int getParametersCount(); - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - boolean containsParameters( - java.lang.String key); - /** - * Use {@link #getParametersMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getParameters(); - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - java.util.Map - getParametersMap(); - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - flyteidl.core.Interface.Parameter getParametersOrDefault( - java.lang.String key, - flyteidl.core.Interface.Parameter defaultValue); - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - flyteidl.core.Interface.Parameter getParametersOrThrow( - java.lang.String key); - } - /** - *
-   * A map of Parameters.
-   * 
- * - * Protobuf type {@code flyteidl.core.ParameterMap} - */ - public static final class ParameterMap extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ParameterMap) - ParameterMapOrBuilder { - private static final long serialVersionUID = 0L; - // Use ParameterMap.newBuilder() to construct. - private ParameterMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ParameterMap() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ParameterMap( - 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)) { - parameters_ = com.google.protobuf.MapField.newMapField( - ParametersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - parameters__ = input.readMessage( - ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - parameters_.getMutableMap().put( - parameters__.getKey(), parameters__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetParameters(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.ParameterMap.class, flyteidl.core.Interface.ParameterMap.Builder.class); - } - - public static final int PARAMETERS_FIELD_NUMBER = 1; - private static final class ParametersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.Interface.Parameter> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_ParametersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.Interface.Parameter.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Interface.Parameter> parameters_; - private com.google.protobuf.MapField - internalGetParameters() { - if (parameters_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ParametersDefaultEntryHolder.defaultEntry); - } - return parameters_; - } - - public int getParametersCount() { - return internalGetParameters().getMap().size(); - } - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public boolean containsParameters( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetParameters().getMap().containsKey(key); - } - /** - * Use {@link #getParametersMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getParameters() { - return getParametersMap(); - } - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public java.util.Map getParametersMap() { - return internalGetParameters().getMap(); - } - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public flyteidl.core.Interface.Parameter getParametersOrDefault( - java.lang.String key, - flyteidl.core.Interface.Parameter defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetParameters().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Defines a map of parameter names to parameters.
-     * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public flyteidl.core.Interface.Parameter getParametersOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetParameters().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetParameters(), - ParametersDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetParameters().getMap().entrySet()) { - com.google.protobuf.MapEntry - parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, parameters__); - } - 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.Interface.ParameterMap)) { - return super.equals(obj); - } - flyteidl.core.Interface.ParameterMap other = (flyteidl.core.Interface.ParameterMap) obj; - - if (!internalGetParameters().equals( - other.internalGetParameters())) 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 (!internalGetParameters().getMap().isEmpty()) { - hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; - hash = (53 * hash) + internalGetParameters().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Interface.ParameterMap parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.ParameterMap parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.ParameterMap parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.ParameterMap 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.Interface.ParameterMap parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Interface.ParameterMap parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Interface.ParameterMap parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.ParameterMap 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.Interface.ParameterMap parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.ParameterMap 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.Interface.ParameterMap parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Interface.ParameterMap 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.Interface.ParameterMap 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 map of Parameters.
-     * 
- * - * Protobuf type {@code flyteidl.core.ParameterMap} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ParameterMap) - flyteidl.core.Interface.ParameterMapOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetParameters(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableParameters(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Interface.ParameterMap.class, flyteidl.core.Interface.ParameterMap.Builder.class); - } - - // Construct using flyteidl.core.Interface.ParameterMap.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(); - internalGetMutableParameters().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Interface.internal_static_flyteidl_core_ParameterMap_descriptor; - } - - @java.lang.Override - public flyteidl.core.Interface.ParameterMap getDefaultInstanceForType() { - return flyteidl.core.Interface.ParameterMap.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Interface.ParameterMap build() { - flyteidl.core.Interface.ParameterMap result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Interface.ParameterMap buildPartial() { - flyteidl.core.Interface.ParameterMap result = new flyteidl.core.Interface.ParameterMap(this); - int from_bitField0_ = bitField0_; - result.parameters_ = internalGetParameters(); - result.parameters_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Interface.ParameterMap) { - return mergeFrom((flyteidl.core.Interface.ParameterMap)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Interface.ParameterMap other) { - if (other == flyteidl.core.Interface.ParameterMap.getDefaultInstance()) return this; - internalGetMutableParameters().mergeFrom( - other.internalGetParameters()); - 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.Interface.ParameterMap parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Interface.ParameterMap) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Interface.Parameter> parameters_; - private com.google.protobuf.MapField - internalGetParameters() { - if (parameters_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ParametersDefaultEntryHolder.defaultEntry); - } - return parameters_; - } - private com.google.protobuf.MapField - internalGetMutableParameters() { - onChanged();; - if (parameters_ == null) { - parameters_ = com.google.protobuf.MapField.newMapField( - ParametersDefaultEntryHolder.defaultEntry); - } - if (!parameters_.isMutable()) { - parameters_ = parameters_.copy(); - } - return parameters_; - } - - public int getParametersCount() { - return internalGetParameters().getMap().size(); - } - /** - *
-       * Defines a map of parameter names to parameters.
-       * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public boolean containsParameters( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetParameters().getMap().containsKey(key); - } - /** - * Use {@link #getParametersMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getParameters() { - return getParametersMap(); - } - /** - *
-       * Defines a map of parameter names to parameters.
-       * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public java.util.Map getParametersMap() { - return internalGetParameters().getMap(); - } - /** - *
-       * Defines a map of parameter names to parameters.
-       * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public flyteidl.core.Interface.Parameter getParametersOrDefault( - java.lang.String key, - flyteidl.core.Interface.Parameter defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetParameters().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Defines a map of parameter names to parameters.
-       * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public flyteidl.core.Interface.Parameter getParametersOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetParameters().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearParameters() { - internalGetMutableParameters().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Defines a map of parameter names to parameters.
-       * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public Builder removeParameters( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableParameters().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableParameters() { - return internalGetMutableParameters().getMutableMap(); - } - /** - *
-       * Defines a map of parameter names to parameters.
-       * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - public Builder putParameters( - java.lang.String key, - flyteidl.core.Interface.Parameter value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableParameters().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Defines a map of parameter names to parameters.
-       * 
- * - * map<string, .flyteidl.core.Parameter> parameters = 1; - */ - - public Builder putAllParameters( - java.util.Map values) { - internalGetMutableParameters().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ParameterMap) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ParameterMap) - private static final flyteidl.core.Interface.ParameterMap DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Interface.ParameterMap(); - } - - public static flyteidl.core.Interface.ParameterMap getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParameterMap parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ParameterMap(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.Interface.ParameterMap getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Variable_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Variable_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_VariableMap_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_VariableMap_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_VariableMap_VariablesEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_VariableMap_VariablesEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TypedInterface_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TypedInterface_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Parameter_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Parameter_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ParameterMap_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ParameterMap_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ParameterMap_ParametersEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ParameterMap_ParametersEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/core/interface.proto\022\rflyteid" + - "l.core\032\031flyteidl/core/types.proto\032\034flyte" + - "idl/core/literals.proto\032\037flyteidl/core/a" + - "rtifact_id.proto\"\263\001\n\010Variable\022(\n\004type\030\001 " + - "\001(\0132\032.flyteidl.core.LiteralType\022\023\n\013descr" + - "iption\030\002 \001(\t\0226\n\023artifact_partial_id\030\003 \001(" + - "\0132\031.flyteidl.core.ArtifactID\0220\n\014artifact" + - "_tag\030\004 \001(\0132\032.flyteidl.core.ArtifactTag\"\226" + - "\001\n\013VariableMap\022<\n\tvariables\030\001 \003(\0132).flyt" + - "eidl.core.VariableMap.VariablesEntry\032I\n\016" + - "VariablesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001" + - "(\0132\027.flyteidl.core.Variable:\0028\001\"i\n\016Typed" + - "Interface\022*\n\006inputs\030\001 \001(\0132\032.flyteidl.cor" + - "e.VariableMap\022+\n\007outputs\030\002 \001(\0132\032.flyteid" + - "l.core.VariableMap\"\346\001\n\tParameter\022$\n\003var\030" + - "\001 \001(\0132\027.flyteidl.core.Variable\022)\n\007defaul" + - "t\030\002 \001(\0132\026.flyteidl.core.LiteralH\000\022\022\n\010req" + - "uired\030\003 \001(\010H\000\0226\n\016artifact_query\030\004 \001(\0132\034." + - "flyteidl.core.ArtifactQueryH\000\0220\n\013artifac" + - "t_id\030\005 \001(\0132\031.flyteidl.core.ArtifactIDH\000B" + - "\n\n\010behavior\"\234\001\n\014ParameterMap\022?\n\nparamete" + - "rs\030\001 \003(\0132+.flyteidl.core.ParameterMap.Pa" + - "rametersEntry\032K\n\017ParametersEntry\022\013\n\003key\030" + - "\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.flyteidl.core.Par" + - "ameter:\0028\001Bint64 integer = 1; - */ - long getInteger(); - - /** - * double float_value = 2; - */ - double getFloatValue(); - - /** - * string string_value = 3; - */ - java.lang.String getStringValue(); - /** - * string string_value = 3; - */ - com.google.protobuf.ByteString - getStringValueBytes(); - - /** - * bool boolean = 4; - */ - boolean getBoolean(); - - /** - * .google.protobuf.Timestamp datetime = 5; - */ - boolean hasDatetime(); - /** - * .google.protobuf.Timestamp datetime = 5; - */ - com.google.protobuf.Timestamp getDatetime(); - /** - * .google.protobuf.Timestamp datetime = 5; - */ - com.google.protobuf.TimestampOrBuilder getDatetimeOrBuilder(); - - /** - * .google.protobuf.Duration duration = 6; - */ - boolean hasDuration(); - /** - * .google.protobuf.Duration duration = 6; - */ - com.google.protobuf.Duration getDuration(); - /** - * .google.protobuf.Duration duration = 6; - */ - com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); - - public flyteidl.core.Literals.Primitive.ValueCase getValueCase(); - } - /** - *
-   * Primitive Types
-   * 
- * - * Protobuf type {@code flyteidl.core.Primitive} - */ - public static final class Primitive extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Primitive) - PrimitiveOrBuilder { - private static final long serialVersionUID = 0L; - // Use Primitive.newBuilder() to construct. - private Primitive(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Primitive() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Primitive( - 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: { - valueCase_ = 1; - value_ = input.readInt64(); - break; - } - case 17: { - valueCase_ = 2; - value_ = input.readDouble(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 3; - value_ = s; - break; - } - case 32: { - valueCase_ = 4; - value_ = input.readBool(); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((com.google.protobuf.Timestamp) value_).toBuilder(); - } - value_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 5; - break; - } - case 50: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (valueCase_ == 6) { - subBuilder = ((com.google.protobuf.Duration) value_).toBuilder(); - } - value_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 6; - 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.Literals.internal_static_flyteidl_core_Primitive_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Primitive_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Primitive.class, flyteidl.core.Literals.Primitive.Builder.class); - } - - private int valueCase_ = 0; - private java.lang.Object value_; - public enum ValueCase - implements com.google.protobuf.Internal.EnumLite { - INTEGER(1), - FLOAT_VALUE(2), - STRING_VALUE(3), - BOOLEAN(4), - DATETIME(5), - DURATION(6), - VALUE_NOT_SET(0); - private final int value; - private ValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValueCase valueOf(int value) { - return forNumber(value); - } - - public static ValueCase forNumber(int value) { - switch (value) { - case 1: return INTEGER; - case 2: return FLOAT_VALUE; - case 3: return STRING_VALUE; - case 4: return BOOLEAN; - case 5: return DATETIME; - case 6: return DURATION; - case 0: return VALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public static final int INTEGER_FIELD_NUMBER = 1; - /** - * int64 integer = 1; - */ - public long getInteger() { - if (valueCase_ == 1) { - return (java.lang.Long) value_; - } - return 0L; - } - - public static final int FLOAT_VALUE_FIELD_NUMBER = 2; - /** - * double float_value = 2; - */ - public double getFloatValue() { - if (valueCase_ == 2) { - return (java.lang.Double) value_; - } - return 0D; - } - - public static final int STRING_VALUE_FIELD_NUMBER = 3; - /** - * string string_value = 3; - */ - public java.lang.String getStringValue() { - java.lang.Object ref = ""; - if (valueCase_ == 3) { - ref = value_; - } - 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 (valueCase_ == 3) { - value_ = s; - } - return s; - } - } - /** - * string string_value = 3; - */ - public com.google.protobuf.ByteString - getStringValueBytes() { - java.lang.Object ref = ""; - if (valueCase_ == 3) { - ref = value_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valueCase_ == 3) { - value_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BOOLEAN_FIELD_NUMBER = 4; - /** - * bool boolean = 4; - */ - public boolean getBoolean() { - if (valueCase_ == 4) { - return (java.lang.Boolean) value_; - } - return false; - } - - public static final int DATETIME_FIELD_NUMBER = 5; - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public boolean hasDatetime() { - return valueCase_ == 5; - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public com.google.protobuf.Timestamp getDatetime() { - if (valueCase_ == 5) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public com.google.protobuf.TimestampOrBuilder getDatetimeOrBuilder() { - if (valueCase_ == 5) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - - public static final int DURATION_FIELD_NUMBER = 6; - /** - * .google.protobuf.Duration duration = 6; - */ - public boolean hasDuration() { - return valueCase_ == 6; - } - /** - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration getDuration() { - if (valueCase_ == 6) { - return (com.google.protobuf.Duration) value_; - } - return com.google.protobuf.Duration.getDefaultInstance(); - } - /** - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - if (valueCase_ == 6) { - return (com.google.protobuf.Duration) value_; - } - return com.google.protobuf.Duration.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 (valueCase_ == 1) { - output.writeInt64( - 1, (long)((java.lang.Long) value_)); - } - if (valueCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) value_)); - } - if (valueCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_); - } - if (valueCase_ == 4) { - output.writeBool( - 4, (boolean)((java.lang.Boolean) value_)); - } - if (valueCase_ == 5) { - output.writeMessage(5, (com.google.protobuf.Timestamp) value_); - } - if (valueCase_ == 6) { - output.writeMessage(6, (com.google.protobuf.Duration) value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 1, (long)((java.lang.Long) value_)); - } - if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) value_)); - } - if (valueCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); - } - if (valueCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 4, (boolean)((java.lang.Boolean) value_)); - } - if (valueCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.protobuf.Timestamp) value_); - } - if (valueCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.protobuf.Duration) value_); - } - 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.Literals.Primitive)) { - return super.equals(obj); - } - flyteidl.core.Literals.Primitive other = (flyteidl.core.Literals.Primitive) obj; - - if (!getValueCase().equals(other.getValueCase())) return false; - switch (valueCase_) { - case 1: - if (getInteger() - != other.getInteger()) return false; - break; - case 2: - if (java.lang.Double.doubleToLongBits(getFloatValue()) - != java.lang.Double.doubleToLongBits( - other.getFloatValue())) return false; - break; - case 3: - if (!getStringValue() - .equals(other.getStringValue())) return false; - break; - case 4: - if (getBoolean() - != other.getBoolean()) return false; - break; - case 5: - if (!getDatetime() - .equals(other.getDatetime())) return false; - break; - case 6: - if (!getDuration() - .equals(other.getDuration())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (valueCase_) { - case 1: - hash = (37 * hash) + INTEGER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInteger()); - break; - case 2: - hash = (37 * hash) + FLOAT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFloatValue())); - break; - case 3: - hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getStringValue().hashCode(); - break; - case 4: - hash = (37 * hash) + BOOLEAN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolean()); - break; - case 5: - hash = (37 * hash) + DATETIME_FIELD_NUMBER; - hash = (53 * hash) + getDatetime().hashCode(); - break; - case 6: - hash = (37 * hash) + DURATION_FIELD_NUMBER; - hash = (53 * hash) + getDuration().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Primitive parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Primitive parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Primitive parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Primitive 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.Literals.Primitive parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Primitive parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Primitive parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Primitive 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.Literals.Primitive parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Primitive 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.Literals.Primitive parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Primitive 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.Literals.Primitive 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; - } - /** - *
-     * Primitive Types
-     * 
- * - * Protobuf type {@code flyteidl.core.Primitive} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Primitive) - flyteidl.core.Literals.PrimitiveOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Primitive_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Primitive_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Primitive.class, flyteidl.core.Literals.Primitive.Builder.class); - } - - // Construct using flyteidl.core.Literals.Primitive.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(); - valueCase_ = 0; - value_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Primitive_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Primitive getDefaultInstanceForType() { - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Primitive build() { - flyteidl.core.Literals.Primitive result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Primitive buildPartial() { - flyteidl.core.Literals.Primitive result = new flyteidl.core.Literals.Primitive(this); - if (valueCase_ == 1) { - result.value_ = value_; - } - if (valueCase_ == 2) { - result.value_ = value_; - } - if (valueCase_ == 3) { - result.value_ = value_; - } - if (valueCase_ == 4) { - result.value_ = value_; - } - if (valueCase_ == 5) { - if (datetimeBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = datetimeBuilder_.build(); - } - } - if (valueCase_ == 6) { - if (durationBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = durationBuilder_.build(); - } - } - result.valueCase_ = valueCase_; - 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.Literals.Primitive) { - return mergeFrom((flyteidl.core.Literals.Primitive)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Primitive other) { - if (other == flyteidl.core.Literals.Primitive.getDefaultInstance()) return this; - switch (other.getValueCase()) { - case INTEGER: { - setInteger(other.getInteger()); - break; - } - case FLOAT_VALUE: { - setFloatValue(other.getFloatValue()); - break; - } - case STRING_VALUE: { - valueCase_ = 3; - value_ = other.value_; - onChanged(); - break; - } - case BOOLEAN: { - setBoolean(other.getBoolean()); - break; - } - case DATETIME: { - mergeDatetime(other.getDatetime()); - break; - } - case DURATION: { - mergeDuration(other.getDuration()); - break; - } - case VALUE_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.Literals.Primitive parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Primitive) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int valueCase_ = 0; - private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public Builder clearValue() { - valueCase_ = 0; - value_ = null; - onChanged(); - return this; - } - - - /** - * int64 integer = 1; - */ - public long getInteger() { - if (valueCase_ == 1) { - return (java.lang.Long) value_; - } - return 0L; - } - /** - * int64 integer = 1; - */ - public Builder setInteger(long value) { - valueCase_ = 1; - value_ = value; - onChanged(); - return this; - } - /** - * int64 integer = 1; - */ - public Builder clearInteger() { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - return this; - } - - /** - * double float_value = 2; - */ - public double getFloatValue() { - if (valueCase_ == 2) { - return (java.lang.Double) value_; - } - return 0D; - } - /** - * double float_value = 2; - */ - public Builder setFloatValue(double value) { - valueCase_ = 2; - value_ = value; - onChanged(); - return this; - } - /** - * double float_value = 2; - */ - public Builder clearFloatValue() { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - return this; - } - - /** - * string string_value = 3; - */ - public java.lang.String getStringValue() { - java.lang.Object ref = ""; - if (valueCase_ == 3) { - ref = value_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (valueCase_ == 3) { - value_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string string_value = 3; - */ - public com.google.protobuf.ByteString - getStringValueBytes() { - java.lang.Object ref = ""; - if (valueCase_ == 3) { - ref = value_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valueCase_ == 3) { - value_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string string_value = 3; - */ - public Builder setStringValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 3; - value_ = value; - onChanged(); - return this; - } - /** - * string string_value = 3; - */ - public Builder clearStringValue() { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - return this; - } - /** - * string string_value = 3; - */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - valueCase_ = 3; - value_ = value; - onChanged(); - return this; - } - - /** - * bool boolean = 4; - */ - public boolean getBoolean() { - if (valueCase_ == 4) { - return (java.lang.Boolean) value_; - } - return false; - } - /** - * bool boolean = 4; - */ - public Builder setBoolean(boolean value) { - valueCase_ = 4; - value_ = value; - onChanged(); - return this; - } - /** - * bool boolean = 4; - */ - public Builder clearBoolean() { - if (valueCase_ == 4) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> datetimeBuilder_; - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public boolean hasDatetime() { - return valueCase_ == 5; - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public com.google.protobuf.Timestamp getDatetime() { - if (datetimeBuilder_ == null) { - if (valueCase_ == 5) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } else { - if (valueCase_ == 5) { - return datetimeBuilder_.getMessage(); - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public Builder setDatetime(com.google.protobuf.Timestamp value) { - if (datetimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - datetimeBuilder_.setMessage(value); - } - valueCase_ = 5; - return this; - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public Builder setDatetime( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (datetimeBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - datetimeBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 5; - return this; - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public Builder mergeDatetime(com.google.protobuf.Timestamp value) { - if (datetimeBuilder_ == null) { - if (valueCase_ == 5 && - value_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - value_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 5) { - datetimeBuilder_.mergeFrom(value); - } - datetimeBuilder_.setMessage(value); - } - valueCase_ = 5; - return this; - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public Builder clearDatetime() { - if (datetimeBuilder_ == null) { - if (valueCase_ == 5) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 5) { - valueCase_ = 0; - value_ = null; - } - datetimeBuilder_.clear(); - } - return this; - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public com.google.protobuf.Timestamp.Builder getDatetimeBuilder() { - return getDatetimeFieldBuilder().getBuilder(); - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - public com.google.protobuf.TimestampOrBuilder getDatetimeOrBuilder() { - if ((valueCase_ == 5) && (datetimeBuilder_ != null)) { - return datetimeBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 5) { - return (com.google.protobuf.Timestamp) value_; - } - return com.google.protobuf.Timestamp.getDefaultInstance(); - } - } - /** - * .google.protobuf.Timestamp datetime = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getDatetimeFieldBuilder() { - if (datetimeBuilder_ == null) { - if (!(valueCase_ == 5)) { - value_ = com.google.protobuf.Timestamp.getDefaultInstance(); - } - datetimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 5; - onChanged();; - return datetimeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; - /** - * .google.protobuf.Duration duration = 6; - */ - public boolean hasDuration() { - return valueCase_ == 6; - } - /** - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration getDuration() { - if (durationBuilder_ == null) { - if (valueCase_ == 6) { - return (com.google.protobuf.Duration) value_; - } - return com.google.protobuf.Duration.getDefaultInstance(); - } else { - if (valueCase_ == 6) { - return durationBuilder_.getMessage(); - } - return com.google.protobuf.Duration.getDefaultInstance(); - } - } - /** - * .google.protobuf.Duration duration = 6; - */ - public Builder setDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - durationBuilder_.setMessage(value); - } - valueCase_ = 6; - return this; - } - /** - * .google.protobuf.Duration duration = 6; - */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { - if (durationBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - durationBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 6; - return this; - } - /** - * .google.protobuf.Duration duration = 6; - */ - public Builder mergeDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (valueCase_ == 6 && - value_ != com.google.protobuf.Duration.getDefaultInstance()) { - value_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 6) { - durationBuilder_.mergeFrom(value); - } - durationBuilder_.setMessage(value); - } - valueCase_ = 6; - return this; - } - /** - * .google.protobuf.Duration duration = 6; - */ - public Builder clearDuration() { - if (durationBuilder_ == null) { - if (valueCase_ == 6) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 6) { - valueCase_ = 0; - value_ = null; - } - durationBuilder_.clear(); - } - return this; - } - /** - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.Duration.Builder getDurationBuilder() { - return getDurationFieldBuilder().getBuilder(); - } - /** - * .google.protobuf.Duration duration = 6; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - if ((valueCase_ == 6) && (durationBuilder_ != null)) { - return durationBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 6) { - return (com.google.protobuf.Duration) value_; - } - return com.google.protobuf.Duration.getDefaultInstance(); - } - } - /** - * .google.protobuf.Duration duration = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getDurationFieldBuilder() { - if (durationBuilder_ == null) { - if (!(valueCase_ == 6)) { - value_ = com.google.protobuf.Duration.getDefaultInstance(); - } - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - (com.google.protobuf.Duration) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 6; - onChanged();; - return durationBuilder_; - } - @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.Primitive) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Primitive) - private static final flyteidl.core.Literals.Primitive DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Primitive(); - } - - public static flyteidl.core.Literals.Primitive getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Primitive parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Primitive(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.Literals.Primitive getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VoidOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Void) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally
-   * undefined since it can be assigned to a scalar of any LiteralType.
-   * 
- * - * Protobuf type {@code flyteidl.core.Void} - */ - public static final class Void extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Void) - VoidOrBuilder { - private static final long serialVersionUID = 0L; - // Use Void.newBuilder() to construct. - private Void(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Void() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Void( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Void_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Void_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Void.class, flyteidl.core.Literals.Void.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Literals.Void)) { - return super.equals(obj); - } - flyteidl.core.Literals.Void other = (flyteidl.core.Literals.Void) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Void parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Void parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Void parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Void 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.Literals.Void parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Void parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Void parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Void 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.Literals.Void parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Void 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.Literals.Void parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Void 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.Literals.Void 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; - } - /** - *
-     * Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally
-     * undefined since it can be assigned to a scalar of any LiteralType.
-     * 
- * - * Protobuf type {@code flyteidl.core.Void} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Void) - flyteidl.core.Literals.VoidOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Void_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Void_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Void.class, flyteidl.core.Literals.Void.Builder.class); - } - - // Construct using flyteidl.core.Literals.Void.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Void_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Void getDefaultInstanceForType() { - return flyteidl.core.Literals.Void.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Void build() { - flyteidl.core.Literals.Void result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Void buildPartial() { - flyteidl.core.Literals.Void result = new flyteidl.core.Literals.Void(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Literals.Void) { - return mergeFrom((flyteidl.core.Literals.Void)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Void other) { - if (other == flyteidl.core.Literals.Void.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Literals.Void parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Void) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Void) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Void) - private static final flyteidl.core.Literals.Void DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Void(); - } - - public static flyteidl.core.Literals.Void getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Void parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Void(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.Literals.Void getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BlobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Blob) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - boolean hasMetadata(); - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - flyteidl.core.Literals.BlobMetadata getMetadata(); - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - flyteidl.core.Literals.BlobMetadataOrBuilder getMetadataOrBuilder(); - - /** - * string uri = 3; - */ - java.lang.String getUri(); - /** - * string uri = 3; - */ - com.google.protobuf.ByteString - getUriBytes(); - } - /** - *
-   * Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.
-   * There are no restrictions on how the uri is formatted since it will depend on how to interact with the store.
-   * 
- * - * Protobuf type {@code flyteidl.core.Blob} - */ - public static final class Blob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Blob) - BlobOrBuilder { - private static final long serialVersionUID = 0L; - // Use Blob.newBuilder() to construct. - private Blob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Blob() { - uri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Blob( - 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.Literals.BlobMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.core.Literals.BlobMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Blob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Blob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Blob.class, flyteidl.core.Literals.Blob.Builder.class); - } - - public static final int METADATA_FIELD_NUMBER = 1; - private flyteidl.core.Literals.BlobMetadata metadata_; - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public flyteidl.core.Literals.BlobMetadata getMetadata() { - return metadata_ == null ? flyteidl.core.Literals.BlobMetadata.getDefaultInstance() : metadata_; - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public flyteidl.core.Literals.BlobMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int URI_FIELD_NUMBER = 3; - private volatile java.lang.Object uri_; - /** - * string uri = 3; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - 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(); - uri_ = s; - return s; - } - } - /** - * string uri = 3; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = 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 (metadata_ != null) { - output.writeMessage(1, getMetadata()); - } - if (!getUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uri_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMetadata()); - } - if (!getUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uri_); - } - 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.Literals.Blob)) { - return super.equals(obj); - } - flyteidl.core.Literals.Blob other = (flyteidl.core.Literals.Blob) obj; - - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (!getUri() - .equals(other.getUri())) 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 (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Blob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Blob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Blob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Blob 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.Literals.Blob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Blob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Blob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Blob 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.Literals.Blob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Blob 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.Literals.Blob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Blob 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.Literals.Blob 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; - } - /** - *
-     * Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.
-     * There are no restrictions on how the uri is formatted since it will depend on how to interact with the store.
-     * 
- * - * Protobuf type {@code flyteidl.core.Blob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Blob) - flyteidl.core.Literals.BlobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Blob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Blob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Blob.class, flyteidl.core.Literals.Blob.Builder.class); - } - - // Construct using flyteidl.core.Literals.Blob.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 (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - uri_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Blob_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Blob getDefaultInstanceForType() { - return flyteidl.core.Literals.Blob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Blob build() { - flyteidl.core.Literals.Blob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Blob buildPartial() { - flyteidl.core.Literals.Blob result = new flyteidl.core.Literals.Blob(this); - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - result.uri_ = uri_; - 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.Literals.Blob) { - return mergeFrom((flyteidl.core.Literals.Blob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Blob other) { - if (other == flyteidl.core.Literals.Blob.getDefaultInstance()) return this; - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (!other.getUri().isEmpty()) { - uri_ = other.uri_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Literals.Blob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Blob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Literals.BlobMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BlobMetadata, flyteidl.core.Literals.BlobMetadata.Builder, flyteidl.core.Literals.BlobMetadataOrBuilder> metadataBuilder_; - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public flyteidl.core.Literals.BlobMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.core.Literals.BlobMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public Builder setMetadata(flyteidl.core.Literals.BlobMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public Builder setMetadata( - flyteidl.core.Literals.BlobMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public Builder mergeMetadata(flyteidl.core.Literals.BlobMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.core.Literals.BlobMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public flyteidl.core.Literals.BlobMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - public flyteidl.core.Literals.BlobMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.core.Literals.BlobMetadata.getDefaultInstance() : metadata_; - } - } - /** - * .flyteidl.core.BlobMetadata metadata = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BlobMetadata, flyteidl.core.Literals.BlobMetadata.Builder, flyteidl.core.Literals.BlobMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BlobMetadata, flyteidl.core.Literals.BlobMetadata.Builder, flyteidl.core.Literals.BlobMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private java.lang.Object uri_ = ""; - /** - * string uri = 3; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string uri = 3; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string uri = 3; - */ - public Builder setUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uri_ = value; - onChanged(); - return this; - } - /** - * string uri = 3; - */ - public Builder clearUri() { - - uri_ = getDefaultInstance().getUri(); - onChanged(); - return this; - } - /** - * string uri = 3; - */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uri_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Blob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Blob) - private static final flyteidl.core.Literals.Blob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Blob(); - } - - public static flyteidl.core.Literals.Blob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Blob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Blob(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.Literals.Blob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BlobMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.BlobMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.BlobType type = 1; - */ - boolean hasType(); - /** - * .flyteidl.core.BlobType type = 1; - */ - flyteidl.core.Types.BlobType getType(); - /** - * .flyteidl.core.BlobType type = 1; - */ - flyteidl.core.Types.BlobTypeOrBuilder getTypeOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.BlobMetadata} - */ - public static final class BlobMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.BlobMetadata) - BlobMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use BlobMetadata.newBuilder() to construct. - private BlobMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BlobMetadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BlobMetadata( - 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.Types.BlobType.Builder subBuilder = null; - if (type_ != null) { - subBuilder = type_.toBuilder(); - } - type_ = input.readMessage(flyteidl.core.Types.BlobType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(type_); - type_ = 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.core.Literals.internal_static_flyteidl_core_BlobMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BlobMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BlobMetadata.class, flyteidl.core.Literals.BlobMetadata.Builder.class); - } - - public static final int TYPE_FIELD_NUMBER = 1; - private flyteidl.core.Types.BlobType type_; - /** - * .flyteidl.core.BlobType type = 1; - */ - public boolean hasType() { - return type_ != null; - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public flyteidl.core.Types.BlobType getType() { - return type_ == null ? flyteidl.core.Types.BlobType.getDefaultInstance() : type_; - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public flyteidl.core.Types.BlobTypeOrBuilder getTypeOrBuilder() { - return getType(); - } - - 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 (type_ != null) { - output.writeMessage(1, getType()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getType()); - } - 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.Literals.BlobMetadata)) { - return super.equals(obj); - } - flyteidl.core.Literals.BlobMetadata other = (flyteidl.core.Literals.BlobMetadata) obj; - - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (!getType() - .equals(other.getType())) 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 (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.BlobMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BlobMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BlobMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BlobMetadata 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.Literals.BlobMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BlobMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BlobMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BlobMetadata 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.Literals.BlobMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BlobMetadata 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.Literals.BlobMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BlobMetadata 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.Literals.BlobMetadata 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.core.BlobMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.BlobMetadata) - flyteidl.core.Literals.BlobMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BlobMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BlobMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BlobMetadata.class, flyteidl.core.Literals.BlobMetadata.Builder.class); - } - - // Construct using flyteidl.core.Literals.BlobMetadata.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 (typeBuilder_ == null) { - type_ = null; - } else { - type_ = null; - typeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BlobMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.BlobMetadata getDefaultInstanceForType() { - return flyteidl.core.Literals.BlobMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.BlobMetadata build() { - flyteidl.core.Literals.BlobMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.BlobMetadata buildPartial() { - flyteidl.core.Literals.BlobMetadata result = new flyteidl.core.Literals.BlobMetadata(this); - if (typeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = typeBuilder_.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.Literals.BlobMetadata) { - return mergeFrom((flyteidl.core.Literals.BlobMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.BlobMetadata other) { - if (other == flyteidl.core.Literals.BlobMetadata.getDefaultInstance()) return this; - if (other.hasType()) { - mergeType(other.getType()); - } - 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.Literals.BlobMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.BlobMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Types.BlobType type_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.BlobType, flyteidl.core.Types.BlobType.Builder, flyteidl.core.Types.BlobTypeOrBuilder> typeBuilder_; - /** - * .flyteidl.core.BlobType type = 1; - */ - public boolean hasType() { - return typeBuilder_ != null || type_ != null; - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public flyteidl.core.Types.BlobType getType() { - if (typeBuilder_ == null) { - return type_ == null ? flyteidl.core.Types.BlobType.getDefaultInstance() : type_; - } else { - return typeBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public Builder setType(flyteidl.core.Types.BlobType value) { - if (typeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - typeBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public Builder setType( - flyteidl.core.Types.BlobType.Builder builderForValue) { - if (typeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - typeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public Builder mergeType(flyteidl.core.Types.BlobType value) { - if (typeBuilder_ == null) { - if (type_ != null) { - type_ = - flyteidl.core.Types.BlobType.newBuilder(type_).mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - typeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public Builder clearType() { - if (typeBuilder_ == null) { - type_ = null; - onChanged(); - } else { - type_ = null; - typeBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public flyteidl.core.Types.BlobType.Builder getTypeBuilder() { - - onChanged(); - return getTypeFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.BlobType type = 1; - */ - public flyteidl.core.Types.BlobTypeOrBuilder getTypeOrBuilder() { - if (typeBuilder_ != null) { - return typeBuilder_.getMessageOrBuilder(); - } else { - return type_ == null ? - flyteidl.core.Types.BlobType.getDefaultInstance() : type_; - } - } - /** - * .flyteidl.core.BlobType type = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.BlobType, flyteidl.core.Types.BlobType.Builder, flyteidl.core.Types.BlobTypeOrBuilder> - getTypeFieldBuilder() { - if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.BlobType, flyteidl.core.Types.BlobType.Builder, flyteidl.core.Types.BlobTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); - type_ = null; - } - return typeBuilder_; - } - @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.BlobMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.BlobMetadata) - private static final flyteidl.core.Literals.BlobMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.BlobMetadata(); - } - - public static flyteidl.core.Literals.BlobMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BlobMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BlobMetadata(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.Literals.BlobMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BinaryOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Binary) - com.google.protobuf.MessageOrBuilder { - - /** - * bytes value = 1; - */ - com.google.protobuf.ByteString getValue(); - - /** - * string tag = 2; - */ - java.lang.String getTag(); - /** - * string tag = 2; - */ - com.google.protobuf.ByteString - getTagBytes(); - } - /** - *
-   * A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.
-   * It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data.
-   * 
- * - * Protobuf type {@code flyteidl.core.Binary} - */ - public static final class Binary extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Binary) - BinaryOrBuilder { - private static final long serialVersionUID = 0L; - // Use Binary.newBuilder() to construct. - private Binary(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Binary() { - value_ = com.google.protobuf.ByteString.EMPTY; - tag_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Binary( - 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: { - - value_ = input.readBytes(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - tag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binary_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binary_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Binary.class, flyteidl.core.Literals.Binary.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString value_; - /** - * bytes value = 1; - */ - public com.google.protobuf.ByteString getValue() { - return value_; - } - - public static final int TAG_FIELD_NUMBER = 2; - private volatile java.lang.Object tag_; - /** - * string tag = 2; - */ - public java.lang.String getTag() { - java.lang.Object ref = tag_; - 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(); - tag_ = s; - return s; - } - } - /** - * string tag = 2; - */ - public com.google.protobuf.ByteString - getTagBytes() { - java.lang.Object ref = tag_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tag_ = 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 (!value_.isEmpty()) { - output.writeBytes(1, value_); - } - if (!getTagBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tag_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, value_); - } - if (!getTagBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); - } - 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.Literals.Binary)) { - return super.equals(obj); - } - flyteidl.core.Literals.Binary other = (flyteidl.core.Literals.Binary) obj; - - if (!getValue() - .equals(other.getValue())) return false; - if (!getTag() - .equals(other.getTag())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (37 * hash) + TAG_FIELD_NUMBER; - hash = (53 * hash) + getTag().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Binary parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Binary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Binary parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Binary 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.Literals.Binary parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Binary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Binary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Binary 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.Literals.Binary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Binary 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.Literals.Binary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Binary 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.Literals.Binary 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 simple byte array with a tag to help different parts of the system communicate about what is in the byte array.
-     * It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data.
-     * 
- * - * Protobuf type {@code flyteidl.core.Binary} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Binary) - flyteidl.core.Literals.BinaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binary_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binary_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Binary.class, flyteidl.core.Literals.Binary.Builder.class); - } - - // Construct using flyteidl.core.Literals.Binary.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(); - value_ = com.google.protobuf.ByteString.EMPTY; - - tag_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binary_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Binary getDefaultInstanceForType() { - return flyteidl.core.Literals.Binary.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Binary build() { - flyteidl.core.Literals.Binary result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Binary buildPartial() { - flyteidl.core.Literals.Binary result = new flyteidl.core.Literals.Binary(this); - result.value_ = value_; - result.tag_ = tag_; - 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.Literals.Binary) { - return mergeFrom((flyteidl.core.Literals.Binary)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Binary other) { - if (other == flyteidl.core.Literals.Binary.getDefaultInstance()) return this; - if (other.getValue() != com.google.protobuf.ByteString.EMPTY) { - setValue(other.getValue()); - } - if (!other.getTag().isEmpty()) { - tag_ = other.tag_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Literals.Binary parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Binary) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; - /** - * bytes value = 1; - */ - public com.google.protobuf.ByteString getValue() { - return value_; - } - /** - * bytes value = 1; - */ - public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - value_ = value; - onChanged(); - return this; - } - /** - * bytes value = 1; - */ - public Builder clearValue() { - - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - - private java.lang.Object tag_ = ""; - /** - * string tag = 2; - */ - public java.lang.String getTag() { - java.lang.Object ref = tag_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - tag_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string tag = 2; - */ - public com.google.protobuf.ByteString - getTagBytes() { - java.lang.Object ref = tag_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string tag = 2; - */ - public Builder setTag( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - tag_ = value; - onChanged(); - return this; - } - /** - * string tag = 2; - */ - public Builder clearTag() { - - tag_ = getDefaultInstance().getTag(); - onChanged(); - return this; - } - /** - * string tag = 2; - */ - public Builder setTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - tag_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Binary) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Binary) - private static final flyteidl.core.Literals.Binary DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Binary(); - } - - public static flyteidl.core.Literals.Binary getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Binary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Binary(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.Literals.Binary getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SchemaOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Schema) - com.google.protobuf.MessageOrBuilder { - - /** - * string uri = 1; - */ - java.lang.String getUri(); - /** - * string uri = 1; - */ - com.google.protobuf.ByteString - getUriBytes(); - - /** - * .flyteidl.core.SchemaType type = 3; - */ - boolean hasType(); - /** - * .flyteidl.core.SchemaType type = 3; - */ - flyteidl.core.Types.SchemaType getType(); - /** - * .flyteidl.core.SchemaType type = 3; - */ - flyteidl.core.Types.SchemaTypeOrBuilder getTypeOrBuilder(); - } - /** - *
-   * A strongly typed schema that defines the interface of data retrieved from the underlying storage medium.
-   * 
- * - * Protobuf type {@code flyteidl.core.Schema} - */ - public static final class Schema extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Schema) - SchemaOrBuilder { - private static final long serialVersionUID = 0L; - // Use Schema.newBuilder() to construct. - private Schema(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Schema() { - uri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Schema( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; - break; - } - case 26: { - flyteidl.core.Types.SchemaType.Builder subBuilder = null; - if (type_ != null) { - subBuilder = type_.toBuilder(); - } - type_ = input.readMessage(flyteidl.core.Types.SchemaType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(type_); - type_ = 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.core.Literals.internal_static_flyteidl_core_Schema_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Schema_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Schema.class, flyteidl.core.Literals.Schema.Builder.class); - } - - public static final int URI_FIELD_NUMBER = 1; - private volatile java.lang.Object uri_; - /** - * string uri = 1; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - 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(); - uri_ = s; - return s; - } - } - /** - * string uri = 1; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_FIELD_NUMBER = 3; - private flyteidl.core.Types.SchemaType type_; - /** - * .flyteidl.core.SchemaType type = 3; - */ - public boolean hasType() { - return type_ != null; - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public flyteidl.core.Types.SchemaType getType() { - return type_ == null ? flyteidl.core.Types.SchemaType.getDefaultInstance() : type_; - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public flyteidl.core.Types.SchemaTypeOrBuilder getTypeOrBuilder() { - return getType(); - } - - 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 (!getUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); - } - if (type_ != null) { - output.writeMessage(3, getType()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); - } - if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getType()); - } - 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.Literals.Schema)) { - return super.equals(obj); - } - flyteidl.core.Literals.Schema other = (flyteidl.core.Literals.Schema) obj; - - if (!getUri() - .equals(other.getUri())) return false; - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (!getType() - .equals(other.getType())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().hashCode(); - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Schema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Schema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Schema parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Schema 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.Literals.Schema parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Schema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Schema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Schema 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.Literals.Schema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Schema 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.Literals.Schema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Schema 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.Literals.Schema 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 strongly typed schema that defines the interface of data retrieved from the underlying storage medium.
-     * 
- * - * Protobuf type {@code flyteidl.core.Schema} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Schema) - flyteidl.core.Literals.SchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Schema_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Schema_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Schema.class, flyteidl.core.Literals.Schema.Builder.class); - } - - // Construct using flyteidl.core.Literals.Schema.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(); - uri_ = ""; - - if (typeBuilder_ == null) { - type_ = null; - } else { - type_ = null; - typeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Schema_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Schema getDefaultInstanceForType() { - return flyteidl.core.Literals.Schema.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Schema build() { - flyteidl.core.Literals.Schema result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Schema buildPartial() { - flyteidl.core.Literals.Schema result = new flyteidl.core.Literals.Schema(this); - result.uri_ = uri_; - if (typeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = typeBuilder_.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.Literals.Schema) { - return mergeFrom((flyteidl.core.Literals.Schema)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Schema other) { - if (other == flyteidl.core.Literals.Schema.getDefaultInstance()) return this; - if (!other.getUri().isEmpty()) { - uri_ = other.uri_; - onChanged(); - } - if (other.hasType()) { - mergeType(other.getType()); - } - 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.Literals.Schema parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Schema) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object uri_ = ""; - /** - * string uri = 1; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string uri = 1; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string uri = 1; - */ - public Builder setUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uri_ = value; - onChanged(); - return this; - } - /** - * string uri = 1; - */ - public Builder clearUri() { - - uri_ = getDefaultInstance().getUri(); - onChanged(); - return this; - } - /** - * string uri = 1; - */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uri_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Types.SchemaType type_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.SchemaType, flyteidl.core.Types.SchemaType.Builder, flyteidl.core.Types.SchemaTypeOrBuilder> typeBuilder_; - /** - * .flyteidl.core.SchemaType type = 3; - */ - public boolean hasType() { - return typeBuilder_ != null || type_ != null; - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public flyteidl.core.Types.SchemaType getType() { - if (typeBuilder_ == null) { - return type_ == null ? flyteidl.core.Types.SchemaType.getDefaultInstance() : type_; - } else { - return typeBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public Builder setType(flyteidl.core.Types.SchemaType value) { - if (typeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - typeBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public Builder setType( - flyteidl.core.Types.SchemaType.Builder builderForValue) { - if (typeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - typeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public Builder mergeType(flyteidl.core.Types.SchemaType value) { - if (typeBuilder_ == null) { - if (type_ != null) { - type_ = - flyteidl.core.Types.SchemaType.newBuilder(type_).mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - typeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public Builder clearType() { - if (typeBuilder_ == null) { - type_ = null; - onChanged(); - } else { - type_ = null; - typeBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public flyteidl.core.Types.SchemaType.Builder getTypeBuilder() { - - onChanged(); - return getTypeFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - public flyteidl.core.Types.SchemaTypeOrBuilder getTypeOrBuilder() { - if (typeBuilder_ != null) { - return typeBuilder_.getMessageOrBuilder(); - } else { - return type_ == null ? - flyteidl.core.Types.SchemaType.getDefaultInstance() : type_; - } - } - /** - * .flyteidl.core.SchemaType type = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.SchemaType, flyteidl.core.Types.SchemaType.Builder, flyteidl.core.Types.SchemaTypeOrBuilder> - getTypeFieldBuilder() { - if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.SchemaType, flyteidl.core.Types.SchemaType.Builder, flyteidl.core.Types.SchemaTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); - type_ = null; - } - return typeBuilder_; - } - @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.Schema) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Schema) - private static final flyteidl.core.Literals.Schema DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Schema(); - } - - public static flyteidl.core.Literals.Schema getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Schema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Schema(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.Literals.Schema getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UnionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Union) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.Literal value = 1; - */ - boolean hasValue(); - /** - * .flyteidl.core.Literal value = 1; - */ - flyteidl.core.Literals.Literal getValue(); - /** - * .flyteidl.core.Literal value = 1; - */ - flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder(); - - /** - * .flyteidl.core.LiteralType type = 2; - */ - boolean hasType(); - /** - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralType getType(); - /** - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); - } - /** - *
-   * The runtime representation of a tagged union value. See `UnionType` for more details.
-   * 
- * - * Protobuf type {@code flyteidl.core.Union} - */ - public static final class Union extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Union) - UnionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Union.newBuilder() to construct. - private Union(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Union() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Union( - 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.Literals.Literal.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Types.LiteralType.Builder subBuilder = null; - if (type_ != null) { - subBuilder = type_.toBuilder(); - } - type_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(type_); - type_ = 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.core.Literals.internal_static_flyteidl_core_Union_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Union_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Union.class, flyteidl.core.Literals.Union.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private flyteidl.core.Literals.Literal value_; - /** - * .flyteidl.core.Literal value = 1; - */ - public boolean hasValue() { - return value_ != null; - } - /** - * .flyteidl.core.Literal value = 1; - */ - public flyteidl.core.Literals.Literal getValue() { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - /** - * .flyteidl.core.Literal value = 1; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - return getValue(); - } - - public static final int TYPE_FIELD_NUMBER = 2; - private flyteidl.core.Types.LiteralType type_; - /** - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return type_ != null; - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - return getType(); - } - - 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 (value_ != null) { - output.writeMessage(1, getValue()); - } - if (type_ != null) { - output.writeMessage(2, getType()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getValue()); - } - if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getType()); - } - 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.Literals.Union)) { - return super.equals(obj); - } - flyteidl.core.Literals.Union other = (flyteidl.core.Literals.Union) obj; - - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; - } - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (!getType() - .equals(other.getType())) 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 (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Union parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Union parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Union parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Union 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.Literals.Union parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Union parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Union parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Union 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.Literals.Union parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Union 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.Literals.Union parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Union 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.Literals.Union 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; - } - /** - *
-     * The runtime representation of a tagged union value. See `UnionType` for more details.
-     * 
- * - * Protobuf type {@code flyteidl.core.Union} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Union) - flyteidl.core.Literals.UnionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Union_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Union_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Union.class, flyteidl.core.Literals.Union.Builder.class); - } - - // Construct using flyteidl.core.Literals.Union.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 (valueBuilder_ == null) { - value_ = null; - } else { - value_ = null; - valueBuilder_ = null; - } - if (typeBuilder_ == null) { - type_ = null; - } else { - type_ = null; - typeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Union_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Union getDefaultInstanceForType() { - return flyteidl.core.Literals.Union.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Union build() { - flyteidl.core.Literals.Union result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Union buildPartial() { - flyteidl.core.Literals.Union result = new flyteidl.core.Literals.Union(this); - if (valueBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = valueBuilder_.build(); - } - if (typeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = typeBuilder_.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.Literals.Union) { - return mergeFrom((flyteidl.core.Literals.Union)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Union other) { - if (other == flyteidl.core.Literals.Union.getDefaultInstance()) return this; - if (other.hasValue()) { - mergeValue(other.getValue()); - } - if (other.hasType()) { - mergeType(other.getType()); - } - 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.Literals.Union parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Union) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Literals.Literal value_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> valueBuilder_; - /** - * .flyteidl.core.Literal value = 1; - */ - public boolean hasValue() { - return valueBuilder_ != null || value_ != null; - } - /** - * .flyteidl.core.Literal value = 1; - */ - public flyteidl.core.Literals.Literal getValue() { - if (valueBuilder_ == null) { - return value_ == null ? flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } else { - return valueBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Literal value = 1; - */ - public Builder setValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - valueBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Literal value = 1; - */ - public Builder setValue( - flyteidl.core.Literals.Literal.Builder builderForValue) { - if (valueBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - valueBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Literal value = 1; - */ - public Builder mergeValue(flyteidl.core.Literals.Literal value) { - if (valueBuilder_ == null) { - if (value_ != null) { - value_ = - flyteidl.core.Literals.Literal.newBuilder(value_).mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - valueBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Literal value = 1; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = null; - onChanged(); - } else { - value_ = null; - valueBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Literal value = 1; - */ - public flyteidl.core.Literals.Literal.Builder getValueBuilder() { - - onChanged(); - return getValueFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Literal value = 1; - */ - public flyteidl.core.Literals.LiteralOrBuilder getValueOrBuilder() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilder(); - } else { - return value_ == null ? - flyteidl.core.Literals.Literal.getDefaultInstance() : value_; - } - } - /** - * .flyteidl.core.Literal value = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); - value_ = null; - } - return valueBuilder_; - } - - private flyteidl.core.Types.LiteralType type_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> typeBuilder_; - /** - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return typeBuilder_ != null || type_ != null; - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - if (typeBuilder_ == null) { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } else { - return typeBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - typeBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (typeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - typeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public Builder mergeType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (type_ != null) { - type_ = - flyteidl.core.Types.LiteralType.newBuilder(type_).mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - typeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public Builder clearType() { - if (typeBuilder_ == null) { - type_ = null; - onChanged(); - } else { - type_ = null; - typeBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { - - onChanged(); - return getTypeFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - if (typeBuilder_ != null) { - return typeBuilder_.getMessageOrBuilder(); - } else { - return type_ == null ? - flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - } - /** - * .flyteidl.core.LiteralType type = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getTypeFieldBuilder() { - if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); - type_ = null; - } - return typeBuilder_; - } - @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.Union) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Union) - private static final flyteidl.core.Literals.Union DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Union(); - } - - public static flyteidl.core.Literals.Union getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Union parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Union(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.Literals.Union getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface StructuredDatasetMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.StructuredDatasetMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Bundle the type information along with the literal.
-     * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-     * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-     * without any column information, but at run time, you might have that column information.
-     * flytekit python will copy this type information into the literal, from the type information, if not provided by
-     * the various plugins (encoders).
-     * Since this field is run time generated, it's not used for any type checking.
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - boolean hasStructuredDatasetType(); - /** - *
-     * Bundle the type information along with the literal.
-     * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-     * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-     * without any column information, but at run time, you might have that column information.
-     * flytekit python will copy this type information into the literal, from the type information, if not provided by
-     * the various plugins (encoders).
-     * Since this field is run time generated, it's not used for any type checking.
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - flyteidl.core.Types.StructuredDatasetType getStructuredDatasetType(); - /** - *
-     * Bundle the type information along with the literal.
-     * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-     * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-     * without any column information, but at run time, you might have that column information.
-     * flytekit python will copy this type information into the literal, from the type information, if not provided by
-     * the various plugins (encoders).
-     * Since this field is run time generated, it's not used for any type checking.
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - flyteidl.core.Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.StructuredDatasetMetadata} - */ - public static final class StructuredDatasetMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.StructuredDatasetMetadata) - StructuredDatasetMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use StructuredDatasetMetadata.newBuilder() to construct. - private StructuredDatasetMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private StructuredDatasetMetadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private StructuredDatasetMetadata( - 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.Types.StructuredDatasetType.Builder subBuilder = null; - if (structuredDatasetType_ != null) { - subBuilder = structuredDatasetType_.toBuilder(); - } - structuredDatasetType_ = input.readMessage(flyteidl.core.Types.StructuredDatasetType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(structuredDatasetType_); - structuredDatasetType_ = 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.core.Literals.internal_static_flyteidl_core_StructuredDatasetMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDatasetMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.StructuredDatasetMetadata.class, flyteidl.core.Literals.StructuredDatasetMetadata.Builder.class); - } - - public static final int STRUCTURED_DATASET_TYPE_FIELD_NUMBER = 1; - private flyteidl.core.Types.StructuredDatasetType structuredDatasetType_; - /** - *
-     * Bundle the type information along with the literal.
-     * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-     * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-     * without any column information, but at run time, you might have that column information.
-     * flytekit python will copy this type information into the literal, from the type information, if not provided by
-     * the various plugins (encoders).
-     * Since this field is run time generated, it's not used for any type checking.
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public boolean hasStructuredDatasetType() { - return structuredDatasetType_ != null; - } - /** - *
-     * Bundle the type information along with the literal.
-     * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-     * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-     * without any column information, but at run time, you might have that column information.
-     * flytekit python will copy this type information into the literal, from the type information, if not provided by
-     * the various plugins (encoders).
-     * Since this field is run time generated, it's not used for any type checking.
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public flyteidl.core.Types.StructuredDatasetType getStructuredDatasetType() { - return structuredDatasetType_ == null ? flyteidl.core.Types.StructuredDatasetType.getDefaultInstance() : structuredDatasetType_; - } - /** - *
-     * Bundle the type information along with the literal.
-     * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-     * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-     * without any column information, but at run time, you might have that column information.
-     * flytekit python will copy this type information into the literal, from the type information, if not provided by
-     * the various plugins (encoders).
-     * Since this field is run time generated, it's not used for any type checking.
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public flyteidl.core.Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder() { - return getStructuredDatasetType(); - } - - 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 (structuredDatasetType_ != null) { - output.writeMessage(1, getStructuredDatasetType()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (structuredDatasetType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStructuredDatasetType()); - } - 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.Literals.StructuredDatasetMetadata)) { - return super.equals(obj); - } - flyteidl.core.Literals.StructuredDatasetMetadata other = (flyteidl.core.Literals.StructuredDatasetMetadata) obj; - - if (hasStructuredDatasetType() != other.hasStructuredDatasetType()) return false; - if (hasStructuredDatasetType()) { - if (!getStructuredDatasetType() - .equals(other.getStructuredDatasetType())) 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 (hasStructuredDatasetType()) { - hash = (37 * hash) + STRUCTURED_DATASET_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getStructuredDatasetType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.StructuredDatasetMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata 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.Literals.StructuredDatasetMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata 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.Literals.StructuredDatasetMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata 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.Literals.StructuredDatasetMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.StructuredDatasetMetadata 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.Literals.StructuredDatasetMetadata 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.core.StructuredDatasetMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.StructuredDatasetMetadata) - flyteidl.core.Literals.StructuredDatasetMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDatasetMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDatasetMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.StructuredDatasetMetadata.class, flyteidl.core.Literals.StructuredDatasetMetadata.Builder.class); - } - - // Construct using flyteidl.core.Literals.StructuredDatasetMetadata.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 (structuredDatasetTypeBuilder_ == null) { - structuredDatasetType_ = null; - } else { - structuredDatasetType_ = null; - structuredDatasetTypeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDatasetMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.StructuredDatasetMetadata getDefaultInstanceForType() { - return flyteidl.core.Literals.StructuredDatasetMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.StructuredDatasetMetadata build() { - flyteidl.core.Literals.StructuredDatasetMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.StructuredDatasetMetadata buildPartial() { - flyteidl.core.Literals.StructuredDatasetMetadata result = new flyteidl.core.Literals.StructuredDatasetMetadata(this); - if (structuredDatasetTypeBuilder_ == null) { - result.structuredDatasetType_ = structuredDatasetType_; - } else { - result.structuredDatasetType_ = structuredDatasetTypeBuilder_.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.Literals.StructuredDatasetMetadata) { - return mergeFrom((flyteidl.core.Literals.StructuredDatasetMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.StructuredDatasetMetadata other) { - if (other == flyteidl.core.Literals.StructuredDatasetMetadata.getDefaultInstance()) return this; - if (other.hasStructuredDatasetType()) { - mergeStructuredDatasetType(other.getStructuredDatasetType()); - } - 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.Literals.StructuredDatasetMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.StructuredDatasetMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Types.StructuredDatasetType structuredDatasetType_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType, flyteidl.core.Types.StructuredDatasetType.Builder, flyteidl.core.Types.StructuredDatasetTypeOrBuilder> structuredDatasetTypeBuilder_; - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public boolean hasStructuredDatasetType() { - return structuredDatasetTypeBuilder_ != null || structuredDatasetType_ != null; - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public flyteidl.core.Types.StructuredDatasetType getStructuredDatasetType() { - if (structuredDatasetTypeBuilder_ == null) { - return structuredDatasetType_ == null ? flyteidl.core.Types.StructuredDatasetType.getDefaultInstance() : structuredDatasetType_; - } else { - return structuredDatasetTypeBuilder_.getMessage(); - } - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public Builder setStructuredDatasetType(flyteidl.core.Types.StructuredDatasetType value) { - if (structuredDatasetTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - structuredDatasetType_ = value; - onChanged(); - } else { - structuredDatasetTypeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public Builder setStructuredDatasetType( - flyteidl.core.Types.StructuredDatasetType.Builder builderForValue) { - if (structuredDatasetTypeBuilder_ == null) { - structuredDatasetType_ = builderForValue.build(); - onChanged(); - } else { - structuredDatasetTypeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public Builder mergeStructuredDatasetType(flyteidl.core.Types.StructuredDatasetType value) { - if (structuredDatasetTypeBuilder_ == null) { - if (structuredDatasetType_ != null) { - structuredDatasetType_ = - flyteidl.core.Types.StructuredDatasetType.newBuilder(structuredDatasetType_).mergeFrom(value).buildPartial(); - } else { - structuredDatasetType_ = value; - } - onChanged(); - } else { - structuredDatasetTypeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public Builder clearStructuredDatasetType() { - if (structuredDatasetTypeBuilder_ == null) { - structuredDatasetType_ = null; - onChanged(); - } else { - structuredDatasetType_ = null; - structuredDatasetTypeBuilder_ = null; - } - - return this; - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.Builder getStructuredDatasetTypeBuilder() { - - onChanged(); - return getStructuredDatasetTypeFieldBuilder().getBuilder(); - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - public flyteidl.core.Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder() { - if (structuredDatasetTypeBuilder_ != null) { - return structuredDatasetTypeBuilder_.getMessageOrBuilder(); - } else { - return structuredDatasetType_ == null ? - flyteidl.core.Types.StructuredDatasetType.getDefaultInstance() : structuredDatasetType_; - } - } - /** - *
-       * Bundle the type information along with the literal.
-       * This is here because StructuredDatasets can often be more defined at run time than at compile time.
-       * That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
-       * without any column information, but at run time, you might have that column information.
-       * flytekit python will copy this type information into the literal, from the type information, if not provided by
-       * the various plugins (encoders).
-       * Since this field is run time generated, it's not used for any type checking.
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType, flyteidl.core.Types.StructuredDatasetType.Builder, flyteidl.core.Types.StructuredDatasetTypeOrBuilder> - getStructuredDatasetTypeFieldBuilder() { - if (structuredDatasetTypeBuilder_ == null) { - structuredDatasetTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType, flyteidl.core.Types.StructuredDatasetType.Builder, flyteidl.core.Types.StructuredDatasetTypeOrBuilder>( - getStructuredDatasetType(), - getParentForChildren(), - isClean()); - structuredDatasetType_ = null; - } - return structuredDatasetTypeBuilder_; - } - @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.StructuredDatasetMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDatasetMetadata) - private static final flyteidl.core.Literals.StructuredDatasetMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.StructuredDatasetMetadata(); - } - - public static flyteidl.core.Literals.StructuredDatasetMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StructuredDatasetMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StructuredDatasetMetadata(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.Literals.StructuredDatasetMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface StructuredDatasetOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.StructuredDataset) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * String location uniquely identifying where the data is.
-     * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-     * 
- * - * string uri = 1; - */ - java.lang.String getUri(); - /** - *
-     * String location uniquely identifying where the data is.
-     * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-     * 
- * - * string uri = 1; - */ - com.google.protobuf.ByteString - getUriBytes(); - - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - boolean hasMetadata(); - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - flyteidl.core.Literals.StructuredDatasetMetadata getMetadata(); - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - flyteidl.core.Literals.StructuredDatasetMetadataOrBuilder getMetadataOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.StructuredDataset} - */ - public static final class StructuredDataset extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.StructuredDataset) - StructuredDatasetOrBuilder { - private static final long serialVersionUID = 0L; - // Use StructuredDataset.newBuilder() to construct. - private StructuredDataset(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private StructuredDataset() { - uri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private StructuredDataset( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; - break; - } - case 18: { - flyteidl.core.Literals.StructuredDatasetMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.core.Literals.StructuredDatasetMetadata.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 flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDataset_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDataset_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.StructuredDataset.class, flyteidl.core.Literals.StructuredDataset.Builder.class); - } - - public static final int URI_FIELD_NUMBER = 1; - private volatile java.lang.Object uri_; - /** - *
-     * String location uniquely identifying where the data is.
-     * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-     * 
- * - * string uri = 1; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - 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(); - uri_ = s; - return s; - } - } - /** - *
-     * String location uniquely identifying where the data is.
-     * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-     * 
- * - * string uri = 1; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int METADATA_FIELD_NUMBER = 2; - private flyteidl.core.Literals.StructuredDatasetMetadata metadata_; - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public flyteidl.core.Literals.StructuredDatasetMetadata getMetadata() { - return metadata_ == null ? flyteidl.core.Literals.StructuredDatasetMetadata.getDefaultInstance() : metadata_; - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public flyteidl.core.Literals.StructuredDatasetMetadataOrBuilder 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 (!getUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); - } - if (metadata_ != null) { - output.writeMessage(2, getMetadata()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, 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 flyteidl.core.Literals.StructuredDataset)) { - return super.equals(obj); - } - flyteidl.core.Literals.StructuredDataset other = (flyteidl.core.Literals.StructuredDataset) obj; - - if (!getUri() - .equals(other.getUri())) 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(); - hash = (37 * hash) + URI_FIELD_NUMBER; - hash = (53 * hash) + getUri().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 flyteidl.core.Literals.StructuredDataset parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.StructuredDataset parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.StructuredDataset parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.StructuredDataset 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.Literals.StructuredDataset parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.StructuredDataset parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.StructuredDataset parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.StructuredDataset 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.Literals.StructuredDataset parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.StructuredDataset 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.Literals.StructuredDataset parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.StructuredDataset 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.Literals.StructuredDataset 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.core.StructuredDataset} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.StructuredDataset) - flyteidl.core.Literals.StructuredDatasetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDataset_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDataset_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.StructuredDataset.class, flyteidl.core.Literals.StructuredDataset.Builder.class); - } - - // Construct using flyteidl.core.Literals.StructuredDataset.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(); - uri_ = ""; - - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_StructuredDataset_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.StructuredDataset getDefaultInstanceForType() { - return flyteidl.core.Literals.StructuredDataset.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.StructuredDataset build() { - flyteidl.core.Literals.StructuredDataset result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.StructuredDataset buildPartial() { - flyteidl.core.Literals.StructuredDataset result = new flyteidl.core.Literals.StructuredDataset(this); - result.uri_ = uri_; - 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 flyteidl.core.Literals.StructuredDataset) { - return mergeFrom((flyteidl.core.Literals.StructuredDataset)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.StructuredDataset other) { - if (other == flyteidl.core.Literals.StructuredDataset.getDefaultInstance()) return this; - if (!other.getUri().isEmpty()) { - uri_ = other.uri_; - onChanged(); - } - 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 { - flyteidl.core.Literals.StructuredDataset parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.StructuredDataset) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object uri_ = ""; - /** - *
-       * String location uniquely identifying where the data is.
-       * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-       * 
- * - * string uri = 1; - */ - public java.lang.String getUri() { - java.lang.Object ref = uri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * String location uniquely identifying where the data is.
-       * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-       * 
- * - * string uri = 1; - */ - public com.google.protobuf.ByteString - getUriBytes() { - java.lang.Object ref = uri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - uri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * String location uniquely identifying where the data is.
-       * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-       * 
- * - * string uri = 1; - */ - public Builder setUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uri_ = value; - onChanged(); - return this; - } - /** - *
-       * String location uniquely identifying where the data is.
-       * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-       * 
- * - * string uri = 1; - */ - public Builder clearUri() { - - uri_ = getDefaultInstance().getUri(); - onChanged(); - return this; - } - /** - *
-       * String location uniquely identifying where the data is.
-       * Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
-       * 
- * - * string uri = 1; - */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uri_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Literals.StructuredDatasetMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.StructuredDatasetMetadata, flyteidl.core.Literals.StructuredDatasetMetadata.Builder, flyteidl.core.Literals.StructuredDatasetMetadataOrBuilder> metadataBuilder_; - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public flyteidl.core.Literals.StructuredDatasetMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.core.Literals.StructuredDatasetMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public Builder setMetadata(flyteidl.core.Literals.StructuredDatasetMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public Builder setMetadata( - flyteidl.core.Literals.StructuredDatasetMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public Builder mergeMetadata(flyteidl.core.Literals.StructuredDatasetMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.core.Literals.StructuredDatasetMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public flyteidl.core.Literals.StructuredDatasetMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - public flyteidl.core.Literals.StructuredDatasetMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.core.Literals.StructuredDatasetMetadata.getDefaultInstance() : metadata_; - } - } - /** - * .flyteidl.core.StructuredDatasetMetadata metadata = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.StructuredDatasetMetadata, flyteidl.core.Literals.StructuredDatasetMetadata.Builder, flyteidl.core.Literals.StructuredDatasetMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.StructuredDatasetMetadata, flyteidl.core.Literals.StructuredDatasetMetadata.Builder, flyteidl.core.Literals.StructuredDatasetMetadataOrBuilder>( - 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:flyteidl.core.StructuredDataset) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDataset) - private static final flyteidl.core.Literals.StructuredDataset DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.StructuredDataset(); - } - - public static flyteidl.core.Literals.StructuredDataset getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StructuredDataset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StructuredDataset(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.Literals.StructuredDataset getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ScalarOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Scalar) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.Primitive primitive = 1; - */ - boolean hasPrimitive(); - /** - * .flyteidl.core.Primitive primitive = 1; - */ - flyteidl.core.Literals.Primitive getPrimitive(); - /** - * .flyteidl.core.Primitive primitive = 1; - */ - flyteidl.core.Literals.PrimitiveOrBuilder getPrimitiveOrBuilder(); - - /** - * .flyteidl.core.Blob blob = 2; - */ - boolean hasBlob(); - /** - * .flyteidl.core.Blob blob = 2; - */ - flyteidl.core.Literals.Blob getBlob(); - /** - * .flyteidl.core.Blob blob = 2; - */ - flyteidl.core.Literals.BlobOrBuilder getBlobOrBuilder(); - - /** - * .flyteidl.core.Binary binary = 3; - */ - boolean hasBinary(); - /** - * .flyteidl.core.Binary binary = 3; - */ - flyteidl.core.Literals.Binary getBinary(); - /** - * .flyteidl.core.Binary binary = 3; - */ - flyteidl.core.Literals.BinaryOrBuilder getBinaryOrBuilder(); - - /** - * .flyteidl.core.Schema schema = 4; - */ - boolean hasSchema(); - /** - * .flyteidl.core.Schema schema = 4; - */ - flyteidl.core.Literals.Schema getSchema(); - /** - * .flyteidl.core.Schema schema = 4; - */ - flyteidl.core.Literals.SchemaOrBuilder getSchemaOrBuilder(); - - /** - * .flyteidl.core.Void none_type = 5; - */ - boolean hasNoneType(); - /** - * .flyteidl.core.Void none_type = 5; - */ - flyteidl.core.Literals.Void getNoneType(); - /** - * .flyteidl.core.Void none_type = 5; - */ - flyteidl.core.Literals.VoidOrBuilder getNoneTypeOrBuilder(); - - /** - * .flyteidl.core.Error error = 6; - */ - boolean hasError(); - /** - * .flyteidl.core.Error error = 6; - */ - flyteidl.core.Types.Error getError(); - /** - * .flyteidl.core.Error error = 6; - */ - flyteidl.core.Types.ErrorOrBuilder getErrorOrBuilder(); - - /** - * .google.protobuf.Struct generic = 7; - */ - boolean hasGeneric(); - /** - * .google.protobuf.Struct generic = 7; - */ - com.google.protobuf.Struct getGeneric(); - /** - * .google.protobuf.Struct generic = 7; - */ - com.google.protobuf.StructOrBuilder getGenericOrBuilder(); - - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - boolean hasStructuredDataset(); - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - flyteidl.core.Literals.StructuredDataset getStructuredDataset(); - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - flyteidl.core.Literals.StructuredDatasetOrBuilder getStructuredDatasetOrBuilder(); - - /** - * .flyteidl.core.Union union = 9; - */ - boolean hasUnion(); - /** - * .flyteidl.core.Union union = 9; - */ - flyteidl.core.Literals.Union getUnion(); - /** - * .flyteidl.core.Union union = 9; - */ - flyteidl.core.Literals.UnionOrBuilder getUnionOrBuilder(); - - public flyteidl.core.Literals.Scalar.ValueCase getValueCase(); - } - /** - * Protobuf type {@code flyteidl.core.Scalar} - */ - public static final class Scalar extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Scalar) - ScalarOrBuilder { - private static final long serialVersionUID = 0L; - // Use Scalar.newBuilder() to construct. - private Scalar(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Scalar() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Scalar( - 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.Literals.Primitive.Builder subBuilder = null; - if (valueCase_ == 1) { - subBuilder = ((flyteidl.core.Literals.Primitive) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Primitive.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Primitive) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 1; - break; - } - case 18: { - flyteidl.core.Literals.Blob.Builder subBuilder = null; - if (valueCase_ == 2) { - subBuilder = ((flyteidl.core.Literals.Blob) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Blob.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Blob) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 2; - break; - } - case 26: { - flyteidl.core.Literals.Binary.Builder subBuilder = null; - if (valueCase_ == 3) { - subBuilder = ((flyteidl.core.Literals.Binary) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Binary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Binary) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 3; - break; - } - case 34: { - flyteidl.core.Literals.Schema.Builder subBuilder = null; - if (valueCase_ == 4) { - subBuilder = ((flyteidl.core.Literals.Schema) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Schema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Schema) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 4; - break; - } - case 42: { - flyteidl.core.Literals.Void.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((flyteidl.core.Literals.Void) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Void.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Void) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 5; - break; - } - case 50: { - flyteidl.core.Types.Error.Builder subBuilder = null; - if (valueCase_ == 6) { - subBuilder = ((flyteidl.core.Types.Error) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Types.Error.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.Error) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 6; - break; - } - case 58: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (valueCase_ == 7) { - subBuilder = ((com.google.protobuf.Struct) value_).toBuilder(); - } - value_ = - input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Struct) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 7; - break; - } - case 66: { - flyteidl.core.Literals.StructuredDataset.Builder subBuilder = null; - if (valueCase_ == 8) { - subBuilder = ((flyteidl.core.Literals.StructuredDataset) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.StructuredDataset.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.StructuredDataset) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 8; - break; - } - case 74: { - flyteidl.core.Literals.Union.Builder subBuilder = null; - if (valueCase_ == 9) { - subBuilder = ((flyteidl.core.Literals.Union) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Union.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Union) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 9; - 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.Literals.internal_static_flyteidl_core_Scalar_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Scalar_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Scalar.class, flyteidl.core.Literals.Scalar.Builder.class); - } - - private int valueCase_ = 0; - private java.lang.Object value_; - public enum ValueCase - implements com.google.protobuf.Internal.EnumLite { - PRIMITIVE(1), - BLOB(2), - BINARY(3), - SCHEMA(4), - NONE_TYPE(5), - ERROR(6), - GENERIC(7), - STRUCTURED_DATASET(8), - UNION(9), - VALUE_NOT_SET(0); - private final int value; - private ValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValueCase valueOf(int value) { - return forNumber(value); - } - - public static ValueCase forNumber(int value) { - switch (value) { - case 1: return PRIMITIVE; - case 2: return BLOB; - case 3: return BINARY; - case 4: return SCHEMA; - case 5: return NONE_TYPE; - case 6: return ERROR; - case 7: return GENERIC; - case 8: return STRUCTURED_DATASET; - case 9: return UNION; - case 0: return VALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public static final int PRIMITIVE_FIELD_NUMBER = 1; - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public boolean hasPrimitive() { - return valueCase_ == 1; - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public flyteidl.core.Literals.Primitive getPrimitive() { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Primitive) value_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public flyteidl.core.Literals.PrimitiveOrBuilder getPrimitiveOrBuilder() { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Primitive) value_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - - public static final int BLOB_FIELD_NUMBER = 2; - /** - * .flyteidl.core.Blob blob = 2; - */ - public boolean hasBlob() { - return valueCase_ == 2; - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public flyteidl.core.Literals.Blob getBlob() { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.Blob) value_; - } - return flyteidl.core.Literals.Blob.getDefaultInstance(); - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public flyteidl.core.Literals.BlobOrBuilder getBlobOrBuilder() { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.Blob) value_; - } - return flyteidl.core.Literals.Blob.getDefaultInstance(); - } - - public static final int BINARY_FIELD_NUMBER = 3; - /** - * .flyteidl.core.Binary binary = 3; - */ - public boolean hasBinary() { - return valueCase_ == 3; - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public flyteidl.core.Literals.Binary getBinary() { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.Binary) value_; - } - return flyteidl.core.Literals.Binary.getDefaultInstance(); - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public flyteidl.core.Literals.BinaryOrBuilder getBinaryOrBuilder() { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.Binary) value_; - } - return flyteidl.core.Literals.Binary.getDefaultInstance(); - } - - public static final int SCHEMA_FIELD_NUMBER = 4; - /** - * .flyteidl.core.Schema schema = 4; - */ - public boolean hasSchema() { - return valueCase_ == 4; - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public flyteidl.core.Literals.Schema getSchema() { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.Schema) value_; - } - return flyteidl.core.Literals.Schema.getDefaultInstance(); - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public flyteidl.core.Literals.SchemaOrBuilder getSchemaOrBuilder() { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.Schema) value_; - } - return flyteidl.core.Literals.Schema.getDefaultInstance(); - } - - public static final int NONE_TYPE_FIELD_NUMBER = 5; - /** - * .flyteidl.core.Void none_type = 5; - */ - public boolean hasNoneType() { - return valueCase_ == 5; - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public flyteidl.core.Literals.Void getNoneType() { - if (valueCase_ == 5) { - return (flyteidl.core.Literals.Void) value_; - } - return flyteidl.core.Literals.Void.getDefaultInstance(); - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public flyteidl.core.Literals.VoidOrBuilder getNoneTypeOrBuilder() { - if (valueCase_ == 5) { - return (flyteidl.core.Literals.Void) value_; - } - return flyteidl.core.Literals.Void.getDefaultInstance(); - } - - public static final int ERROR_FIELD_NUMBER = 6; - /** - * .flyteidl.core.Error error = 6; - */ - public boolean hasError() { - return valueCase_ == 6; - } - /** - * .flyteidl.core.Error error = 6; - */ - public flyteidl.core.Types.Error getError() { - if (valueCase_ == 6) { - return (flyteidl.core.Types.Error) value_; - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } - /** - * .flyteidl.core.Error error = 6; - */ - public flyteidl.core.Types.ErrorOrBuilder getErrorOrBuilder() { - if (valueCase_ == 6) { - return (flyteidl.core.Types.Error) value_; - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } - - public static final int GENERIC_FIELD_NUMBER = 7; - /** - * .google.protobuf.Struct generic = 7; - */ - public boolean hasGeneric() { - return valueCase_ == 7; - } - /** - * .google.protobuf.Struct generic = 7; - */ - public com.google.protobuf.Struct getGeneric() { - if (valueCase_ == 7) { - return (com.google.protobuf.Struct) value_; - } - return com.google.protobuf.Struct.getDefaultInstance(); - } - /** - * .google.protobuf.Struct generic = 7; - */ - public com.google.protobuf.StructOrBuilder getGenericOrBuilder() { - if (valueCase_ == 7) { - return (com.google.protobuf.Struct) value_; - } - return com.google.protobuf.Struct.getDefaultInstance(); - } - - public static final int STRUCTURED_DATASET_FIELD_NUMBER = 8; - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public boolean hasStructuredDataset() { - return valueCase_ == 8; - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public flyteidl.core.Literals.StructuredDataset getStructuredDataset() { - if (valueCase_ == 8) { - return (flyteidl.core.Literals.StructuredDataset) value_; - } - return flyteidl.core.Literals.StructuredDataset.getDefaultInstance(); - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public flyteidl.core.Literals.StructuredDatasetOrBuilder getStructuredDatasetOrBuilder() { - if (valueCase_ == 8) { - return (flyteidl.core.Literals.StructuredDataset) value_; - } - return flyteidl.core.Literals.StructuredDataset.getDefaultInstance(); - } - - public static final int UNION_FIELD_NUMBER = 9; - /** - * .flyteidl.core.Union union = 9; - */ - public boolean hasUnion() { - return valueCase_ == 9; - } - /** - * .flyteidl.core.Union union = 9; - */ - public flyteidl.core.Literals.Union getUnion() { - if (valueCase_ == 9) { - return (flyteidl.core.Literals.Union) value_; - } - return flyteidl.core.Literals.Union.getDefaultInstance(); - } - /** - * .flyteidl.core.Union union = 9; - */ - public flyteidl.core.Literals.UnionOrBuilder getUnionOrBuilder() { - if (valueCase_ == 9) { - return (flyteidl.core.Literals.Union) value_; - } - return flyteidl.core.Literals.Union.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 (valueCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Literals.Primitive) value_); - } - if (valueCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Literals.Blob) value_); - } - if (valueCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Literals.Binary) value_); - } - if (valueCase_ == 4) { - output.writeMessage(4, (flyteidl.core.Literals.Schema) value_); - } - if (valueCase_ == 5) { - output.writeMessage(5, (flyteidl.core.Literals.Void) value_); - } - if (valueCase_ == 6) { - output.writeMessage(6, (flyteidl.core.Types.Error) value_); - } - if (valueCase_ == 7) { - output.writeMessage(7, (com.google.protobuf.Struct) value_); - } - if (valueCase_ == 8) { - output.writeMessage(8, (flyteidl.core.Literals.StructuredDataset) value_); - } - if (valueCase_ == 9) { - output.writeMessage(9, (flyteidl.core.Literals.Union) value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Literals.Primitive) value_); - } - if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Literals.Blob) value_); - } - if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Literals.Binary) value_); - } - if (valueCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.Literals.Schema) value_); - } - if (valueCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (flyteidl.core.Literals.Void) value_); - } - if (valueCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (flyteidl.core.Types.Error) value_); - } - if (valueCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.protobuf.Struct) value_); - } - if (valueCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (flyteidl.core.Literals.StructuredDataset) value_); - } - if (valueCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (flyteidl.core.Literals.Union) value_); - } - 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.Literals.Scalar)) { - return super.equals(obj); - } - flyteidl.core.Literals.Scalar other = (flyteidl.core.Literals.Scalar) obj; - - if (!getValueCase().equals(other.getValueCase())) return false; - switch (valueCase_) { - case 1: - if (!getPrimitive() - .equals(other.getPrimitive())) return false; - break; - case 2: - if (!getBlob() - .equals(other.getBlob())) return false; - break; - case 3: - if (!getBinary() - .equals(other.getBinary())) return false; - break; - case 4: - if (!getSchema() - .equals(other.getSchema())) return false; - break; - case 5: - if (!getNoneType() - .equals(other.getNoneType())) return false; - break; - case 6: - if (!getError() - .equals(other.getError())) return false; - break; - case 7: - if (!getGeneric() - .equals(other.getGeneric())) return false; - break; - case 8: - if (!getStructuredDataset() - .equals(other.getStructuredDataset())) return false; - break; - case 9: - if (!getUnion() - .equals(other.getUnion())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (valueCase_) { - case 1: - hash = (37 * hash) + PRIMITIVE_FIELD_NUMBER; - hash = (53 * hash) + getPrimitive().hashCode(); - break; - case 2: - hash = (37 * hash) + BLOB_FIELD_NUMBER; - hash = (53 * hash) + getBlob().hashCode(); - break; - case 3: - hash = (37 * hash) + BINARY_FIELD_NUMBER; - hash = (53 * hash) + getBinary().hashCode(); - break; - case 4: - hash = (37 * hash) + SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getSchema().hashCode(); - break; - case 5: - hash = (37 * hash) + NONE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getNoneType().hashCode(); - break; - case 6: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 7: - hash = (37 * hash) + GENERIC_FIELD_NUMBER; - hash = (53 * hash) + getGeneric().hashCode(); - break; - case 8: - hash = (37 * hash) + STRUCTURED_DATASET_FIELD_NUMBER; - hash = (53 * hash) + getStructuredDataset().hashCode(); - break; - case 9: - hash = (37 * hash) + UNION_FIELD_NUMBER; - hash = (53 * hash) + getUnion().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Scalar parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Scalar parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Scalar parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Scalar 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.Literals.Scalar parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Scalar parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Scalar parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Scalar 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.Literals.Scalar parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Scalar 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.Literals.Scalar parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Scalar 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.Literals.Scalar 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.core.Scalar} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Scalar) - flyteidl.core.Literals.ScalarOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Scalar_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Scalar_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Scalar.class, flyteidl.core.Literals.Scalar.Builder.class); - } - - // Construct using flyteidl.core.Literals.Scalar.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(); - valueCase_ = 0; - value_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Scalar_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Scalar getDefaultInstanceForType() { - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Scalar build() { - flyteidl.core.Literals.Scalar result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Scalar buildPartial() { - flyteidl.core.Literals.Scalar result = new flyteidl.core.Literals.Scalar(this); - if (valueCase_ == 1) { - if (primitiveBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = primitiveBuilder_.build(); - } - } - if (valueCase_ == 2) { - if (blobBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = blobBuilder_.build(); - } - } - if (valueCase_ == 3) { - if (binaryBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = binaryBuilder_.build(); - } - } - if (valueCase_ == 4) { - if (schemaBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = schemaBuilder_.build(); - } - } - if (valueCase_ == 5) { - if (noneTypeBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = noneTypeBuilder_.build(); - } - } - if (valueCase_ == 6) { - if (errorBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = errorBuilder_.build(); - } - } - if (valueCase_ == 7) { - if (genericBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = genericBuilder_.build(); - } - } - if (valueCase_ == 8) { - if (structuredDatasetBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = structuredDatasetBuilder_.build(); - } - } - if (valueCase_ == 9) { - if (unionBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = unionBuilder_.build(); - } - } - result.valueCase_ = valueCase_; - 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.Literals.Scalar) { - return mergeFrom((flyteidl.core.Literals.Scalar)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Scalar other) { - if (other == flyteidl.core.Literals.Scalar.getDefaultInstance()) return this; - switch (other.getValueCase()) { - case PRIMITIVE: { - mergePrimitive(other.getPrimitive()); - break; - } - case BLOB: { - mergeBlob(other.getBlob()); - break; - } - case BINARY: { - mergeBinary(other.getBinary()); - break; - } - case SCHEMA: { - mergeSchema(other.getSchema()); - break; - } - case NONE_TYPE: { - mergeNoneType(other.getNoneType()); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case GENERIC: { - mergeGeneric(other.getGeneric()); - break; - } - case STRUCTURED_DATASET: { - mergeStructuredDataset(other.getStructuredDataset()); - break; - } - case UNION: { - mergeUnion(other.getUnion()); - break; - } - case VALUE_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.Literals.Scalar parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Scalar) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int valueCase_ = 0; - private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public Builder clearValue() { - valueCase_ = 0; - value_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Primitive, flyteidl.core.Literals.Primitive.Builder, flyteidl.core.Literals.PrimitiveOrBuilder> primitiveBuilder_; - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public boolean hasPrimitive() { - return valueCase_ == 1; - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public flyteidl.core.Literals.Primitive getPrimitive() { - if (primitiveBuilder_ == null) { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Primitive) value_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } else { - if (valueCase_ == 1) { - return primitiveBuilder_.getMessage(); - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public Builder setPrimitive(flyteidl.core.Literals.Primitive value) { - if (primitiveBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - primitiveBuilder_.setMessage(value); - } - valueCase_ = 1; - return this; - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public Builder setPrimitive( - flyteidl.core.Literals.Primitive.Builder builderForValue) { - if (primitiveBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - primitiveBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 1; - return this; - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public Builder mergePrimitive(flyteidl.core.Literals.Primitive value) { - if (primitiveBuilder_ == null) { - if (valueCase_ == 1 && - value_ != flyteidl.core.Literals.Primitive.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Primitive.newBuilder((flyteidl.core.Literals.Primitive) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 1) { - primitiveBuilder_.mergeFrom(value); - } - primitiveBuilder_.setMessage(value); - } - valueCase_ = 1; - return this; - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public Builder clearPrimitive() { - if (primitiveBuilder_ == null) { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - } - primitiveBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public flyteidl.core.Literals.Primitive.Builder getPrimitiveBuilder() { - return getPrimitiveFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - public flyteidl.core.Literals.PrimitiveOrBuilder getPrimitiveOrBuilder() { - if ((valueCase_ == 1) && (primitiveBuilder_ != null)) { - return primitiveBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Primitive) value_; - } - return flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Primitive primitive = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Primitive, flyteidl.core.Literals.Primitive.Builder, flyteidl.core.Literals.PrimitiveOrBuilder> - getPrimitiveFieldBuilder() { - if (primitiveBuilder_ == null) { - if (!(valueCase_ == 1)) { - value_ = flyteidl.core.Literals.Primitive.getDefaultInstance(); - } - primitiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Primitive, flyteidl.core.Literals.Primitive.Builder, flyteidl.core.Literals.PrimitiveOrBuilder>( - (flyteidl.core.Literals.Primitive) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 1; - onChanged();; - return primitiveBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Blob, flyteidl.core.Literals.Blob.Builder, flyteidl.core.Literals.BlobOrBuilder> blobBuilder_; - /** - * .flyteidl.core.Blob blob = 2; - */ - public boolean hasBlob() { - return valueCase_ == 2; - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public flyteidl.core.Literals.Blob getBlob() { - if (blobBuilder_ == null) { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.Blob) value_; - } - return flyteidl.core.Literals.Blob.getDefaultInstance(); - } else { - if (valueCase_ == 2) { - return blobBuilder_.getMessage(); - } - return flyteidl.core.Literals.Blob.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public Builder setBlob(flyteidl.core.Literals.Blob value) { - if (blobBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - blobBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public Builder setBlob( - flyteidl.core.Literals.Blob.Builder builderForValue) { - if (blobBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - blobBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 2; - return this; - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public Builder mergeBlob(flyteidl.core.Literals.Blob value) { - if (blobBuilder_ == null) { - if (valueCase_ == 2 && - value_ != flyteidl.core.Literals.Blob.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Blob.newBuilder((flyteidl.core.Literals.Blob) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 2) { - blobBuilder_.mergeFrom(value); - } - blobBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public Builder clearBlob() { - if (blobBuilder_ == null) { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - } - blobBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public flyteidl.core.Literals.Blob.Builder getBlobBuilder() { - return getBlobFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Blob blob = 2; - */ - public flyteidl.core.Literals.BlobOrBuilder getBlobOrBuilder() { - if ((valueCase_ == 2) && (blobBuilder_ != null)) { - return blobBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.Blob) value_; - } - return flyteidl.core.Literals.Blob.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Blob blob = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Blob, flyteidl.core.Literals.Blob.Builder, flyteidl.core.Literals.BlobOrBuilder> - getBlobFieldBuilder() { - if (blobBuilder_ == null) { - if (!(valueCase_ == 2)) { - value_ = flyteidl.core.Literals.Blob.getDefaultInstance(); - } - blobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Blob, flyteidl.core.Literals.Blob.Builder, flyteidl.core.Literals.BlobOrBuilder>( - (flyteidl.core.Literals.Blob) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 2; - onChanged();; - return blobBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Binary, flyteidl.core.Literals.Binary.Builder, flyteidl.core.Literals.BinaryOrBuilder> binaryBuilder_; - /** - * .flyteidl.core.Binary binary = 3; - */ - public boolean hasBinary() { - return valueCase_ == 3; - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public flyteidl.core.Literals.Binary getBinary() { - if (binaryBuilder_ == null) { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.Binary) value_; - } - return flyteidl.core.Literals.Binary.getDefaultInstance(); - } else { - if (valueCase_ == 3) { - return binaryBuilder_.getMessage(); - } - return flyteidl.core.Literals.Binary.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public Builder setBinary(flyteidl.core.Literals.Binary value) { - if (binaryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - binaryBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public Builder setBinary( - flyteidl.core.Literals.Binary.Builder builderForValue) { - if (binaryBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - binaryBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 3; - return this; - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public Builder mergeBinary(flyteidl.core.Literals.Binary value) { - if (binaryBuilder_ == null) { - if (valueCase_ == 3 && - value_ != flyteidl.core.Literals.Binary.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Binary.newBuilder((flyteidl.core.Literals.Binary) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 3) { - binaryBuilder_.mergeFrom(value); - } - binaryBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public Builder clearBinary() { - if (binaryBuilder_ == null) { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - } - binaryBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public flyteidl.core.Literals.Binary.Builder getBinaryBuilder() { - return getBinaryFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Binary binary = 3; - */ - public flyteidl.core.Literals.BinaryOrBuilder getBinaryOrBuilder() { - if ((valueCase_ == 3) && (binaryBuilder_ != null)) { - return binaryBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.Binary) value_; - } - return flyteidl.core.Literals.Binary.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Binary binary = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Binary, flyteidl.core.Literals.Binary.Builder, flyteidl.core.Literals.BinaryOrBuilder> - getBinaryFieldBuilder() { - if (binaryBuilder_ == null) { - if (!(valueCase_ == 3)) { - value_ = flyteidl.core.Literals.Binary.getDefaultInstance(); - } - binaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Binary, flyteidl.core.Literals.Binary.Builder, flyteidl.core.Literals.BinaryOrBuilder>( - (flyteidl.core.Literals.Binary) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 3; - onChanged();; - return binaryBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Schema, flyteidl.core.Literals.Schema.Builder, flyteidl.core.Literals.SchemaOrBuilder> schemaBuilder_; - /** - * .flyteidl.core.Schema schema = 4; - */ - public boolean hasSchema() { - return valueCase_ == 4; - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public flyteidl.core.Literals.Schema getSchema() { - if (schemaBuilder_ == null) { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.Schema) value_; - } - return flyteidl.core.Literals.Schema.getDefaultInstance(); - } else { - if (valueCase_ == 4) { - return schemaBuilder_.getMessage(); - } - return flyteidl.core.Literals.Schema.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public Builder setSchema(flyteidl.core.Literals.Schema value) { - if (schemaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - schemaBuilder_.setMessage(value); - } - valueCase_ = 4; - return this; - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public Builder setSchema( - flyteidl.core.Literals.Schema.Builder builderForValue) { - if (schemaBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - schemaBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 4; - return this; - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public Builder mergeSchema(flyteidl.core.Literals.Schema value) { - if (schemaBuilder_ == null) { - if (valueCase_ == 4 && - value_ != flyteidl.core.Literals.Schema.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Schema.newBuilder((flyteidl.core.Literals.Schema) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 4) { - schemaBuilder_.mergeFrom(value); - } - schemaBuilder_.setMessage(value); - } - valueCase_ = 4; - return this; - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public Builder clearSchema() { - if (schemaBuilder_ == null) { - if (valueCase_ == 4) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 4) { - valueCase_ = 0; - value_ = null; - } - schemaBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public flyteidl.core.Literals.Schema.Builder getSchemaBuilder() { - return getSchemaFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Schema schema = 4; - */ - public flyteidl.core.Literals.SchemaOrBuilder getSchemaOrBuilder() { - if ((valueCase_ == 4) && (schemaBuilder_ != null)) { - return schemaBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.Schema) value_; - } - return flyteidl.core.Literals.Schema.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Schema schema = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Schema, flyteidl.core.Literals.Schema.Builder, flyteidl.core.Literals.SchemaOrBuilder> - getSchemaFieldBuilder() { - if (schemaBuilder_ == null) { - if (!(valueCase_ == 4)) { - value_ = flyteidl.core.Literals.Schema.getDefaultInstance(); - } - schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Schema, flyteidl.core.Literals.Schema.Builder, flyteidl.core.Literals.SchemaOrBuilder>( - (flyteidl.core.Literals.Schema) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 4; - onChanged();; - return schemaBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Void, flyteidl.core.Literals.Void.Builder, flyteidl.core.Literals.VoidOrBuilder> noneTypeBuilder_; - /** - * .flyteidl.core.Void none_type = 5; - */ - public boolean hasNoneType() { - return valueCase_ == 5; - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public flyteidl.core.Literals.Void getNoneType() { - if (noneTypeBuilder_ == null) { - if (valueCase_ == 5) { - return (flyteidl.core.Literals.Void) value_; - } - return flyteidl.core.Literals.Void.getDefaultInstance(); - } else { - if (valueCase_ == 5) { - return noneTypeBuilder_.getMessage(); - } - return flyteidl.core.Literals.Void.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public Builder setNoneType(flyteidl.core.Literals.Void value) { - if (noneTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - noneTypeBuilder_.setMessage(value); - } - valueCase_ = 5; - return this; - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public Builder setNoneType( - flyteidl.core.Literals.Void.Builder builderForValue) { - if (noneTypeBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - noneTypeBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 5; - return this; - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public Builder mergeNoneType(flyteidl.core.Literals.Void value) { - if (noneTypeBuilder_ == null) { - if (valueCase_ == 5 && - value_ != flyteidl.core.Literals.Void.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Void.newBuilder((flyteidl.core.Literals.Void) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 5) { - noneTypeBuilder_.mergeFrom(value); - } - noneTypeBuilder_.setMessage(value); - } - valueCase_ = 5; - return this; - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public Builder clearNoneType() { - if (noneTypeBuilder_ == null) { - if (valueCase_ == 5) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 5) { - valueCase_ = 0; - value_ = null; - } - noneTypeBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public flyteidl.core.Literals.Void.Builder getNoneTypeBuilder() { - return getNoneTypeFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Void none_type = 5; - */ - public flyteidl.core.Literals.VoidOrBuilder getNoneTypeOrBuilder() { - if ((valueCase_ == 5) && (noneTypeBuilder_ != null)) { - return noneTypeBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 5) { - return (flyteidl.core.Literals.Void) value_; - } - return flyteidl.core.Literals.Void.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Void none_type = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Void, flyteidl.core.Literals.Void.Builder, flyteidl.core.Literals.VoidOrBuilder> - getNoneTypeFieldBuilder() { - if (noneTypeBuilder_ == null) { - if (!(valueCase_ == 5)) { - value_ = flyteidl.core.Literals.Void.getDefaultInstance(); - } - noneTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Void, flyteidl.core.Literals.Void.Builder, flyteidl.core.Literals.VoidOrBuilder>( - (flyteidl.core.Literals.Void) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 5; - onChanged();; - return noneTypeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.Error, flyteidl.core.Types.Error.Builder, flyteidl.core.Types.ErrorOrBuilder> errorBuilder_; - /** - * .flyteidl.core.Error error = 6; - */ - public boolean hasError() { - return valueCase_ == 6; - } - /** - * .flyteidl.core.Error error = 6; - */ - public flyteidl.core.Types.Error getError() { - if (errorBuilder_ == null) { - if (valueCase_ == 6) { - return (flyteidl.core.Types.Error) value_; - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } else { - if (valueCase_ == 6) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Error error = 6; - */ - public Builder setError(flyteidl.core.Types.Error value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - valueCase_ = 6; - return this; - } - /** - * .flyteidl.core.Error error = 6; - */ - public Builder setError( - flyteidl.core.Types.Error.Builder builderForValue) { - if (errorBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 6; - return this; - } - /** - * .flyteidl.core.Error error = 6; - */ - public Builder mergeError(flyteidl.core.Types.Error value) { - if (errorBuilder_ == null) { - if (valueCase_ == 6 && - value_ != flyteidl.core.Types.Error.getDefaultInstance()) { - value_ = flyteidl.core.Types.Error.newBuilder((flyteidl.core.Types.Error) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 6) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - valueCase_ = 6; - return this; - } - /** - * .flyteidl.core.Error error = 6; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (valueCase_ == 6) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 6) { - valueCase_ = 0; - value_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Error error = 6; - */ - public flyteidl.core.Types.Error.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Error error = 6; - */ - public flyteidl.core.Types.ErrorOrBuilder getErrorOrBuilder() { - if ((valueCase_ == 6) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 6) { - return (flyteidl.core.Types.Error) value_; - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Error error = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.Error, flyteidl.core.Types.Error.Builder, flyteidl.core.Types.ErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(valueCase_ == 6)) { - value_ = flyteidl.core.Types.Error.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.Error, flyteidl.core.Types.Error.Builder, flyteidl.core.Types.ErrorOrBuilder>( - (flyteidl.core.Types.Error) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 6; - onChanged();; - return errorBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> genericBuilder_; - /** - * .google.protobuf.Struct generic = 7; - */ - public boolean hasGeneric() { - return valueCase_ == 7; - } - /** - * .google.protobuf.Struct generic = 7; - */ - public com.google.protobuf.Struct getGeneric() { - if (genericBuilder_ == null) { - if (valueCase_ == 7) { - return (com.google.protobuf.Struct) value_; - } - return com.google.protobuf.Struct.getDefaultInstance(); - } else { - if (valueCase_ == 7) { - return genericBuilder_.getMessage(); - } - return com.google.protobuf.Struct.getDefaultInstance(); - } - } - /** - * .google.protobuf.Struct generic = 7; - */ - public Builder setGeneric(com.google.protobuf.Struct value) { - if (genericBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - genericBuilder_.setMessage(value); - } - valueCase_ = 7; - return this; - } - /** - * .google.protobuf.Struct generic = 7; - */ - public Builder setGeneric( - com.google.protobuf.Struct.Builder builderForValue) { - if (genericBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - genericBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 7; - return this; - } - /** - * .google.protobuf.Struct generic = 7; - */ - public Builder mergeGeneric(com.google.protobuf.Struct value) { - if (genericBuilder_ == null) { - if (valueCase_ == 7 && - value_ != com.google.protobuf.Struct.getDefaultInstance()) { - value_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 7) { - genericBuilder_.mergeFrom(value); - } - genericBuilder_.setMessage(value); - } - valueCase_ = 7; - return this; - } - /** - * .google.protobuf.Struct generic = 7; - */ - public Builder clearGeneric() { - if (genericBuilder_ == null) { - if (valueCase_ == 7) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 7) { - valueCase_ = 0; - value_ = null; - } - genericBuilder_.clear(); - } - return this; - } - /** - * .google.protobuf.Struct generic = 7; - */ - public com.google.protobuf.Struct.Builder getGenericBuilder() { - return getGenericFieldBuilder().getBuilder(); - } - /** - * .google.protobuf.Struct generic = 7; - */ - public com.google.protobuf.StructOrBuilder getGenericOrBuilder() { - if ((valueCase_ == 7) && (genericBuilder_ != null)) { - return genericBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 7) { - return (com.google.protobuf.Struct) value_; - } - return com.google.protobuf.Struct.getDefaultInstance(); - } - } - /** - * .google.protobuf.Struct generic = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getGenericFieldBuilder() { - if (genericBuilder_ == null) { - if (!(valueCase_ == 7)) { - value_ = com.google.protobuf.Struct.getDefaultInstance(); - } - genericBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - (com.google.protobuf.Struct) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 7; - onChanged();; - return genericBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.StructuredDataset, flyteidl.core.Literals.StructuredDataset.Builder, flyteidl.core.Literals.StructuredDatasetOrBuilder> structuredDatasetBuilder_; - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public boolean hasStructuredDataset() { - return valueCase_ == 8; - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public flyteidl.core.Literals.StructuredDataset getStructuredDataset() { - if (structuredDatasetBuilder_ == null) { - if (valueCase_ == 8) { - return (flyteidl.core.Literals.StructuredDataset) value_; - } - return flyteidl.core.Literals.StructuredDataset.getDefaultInstance(); - } else { - if (valueCase_ == 8) { - return structuredDatasetBuilder_.getMessage(); - } - return flyteidl.core.Literals.StructuredDataset.getDefaultInstance(); - } - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public Builder setStructuredDataset(flyteidl.core.Literals.StructuredDataset value) { - if (structuredDatasetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - structuredDatasetBuilder_.setMessage(value); - } - valueCase_ = 8; - return this; - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public Builder setStructuredDataset( - flyteidl.core.Literals.StructuredDataset.Builder builderForValue) { - if (structuredDatasetBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - structuredDatasetBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 8; - return this; - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public Builder mergeStructuredDataset(flyteidl.core.Literals.StructuredDataset value) { - if (structuredDatasetBuilder_ == null) { - if (valueCase_ == 8 && - value_ != flyteidl.core.Literals.StructuredDataset.getDefaultInstance()) { - value_ = flyteidl.core.Literals.StructuredDataset.newBuilder((flyteidl.core.Literals.StructuredDataset) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 8) { - structuredDatasetBuilder_.mergeFrom(value); - } - structuredDatasetBuilder_.setMessage(value); - } - valueCase_ = 8; - return this; - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public Builder clearStructuredDataset() { - if (structuredDatasetBuilder_ == null) { - if (valueCase_ == 8) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 8) { - valueCase_ = 0; - value_ = null; - } - structuredDatasetBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public flyteidl.core.Literals.StructuredDataset.Builder getStructuredDatasetBuilder() { - return getStructuredDatasetFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - public flyteidl.core.Literals.StructuredDatasetOrBuilder getStructuredDatasetOrBuilder() { - if ((valueCase_ == 8) && (structuredDatasetBuilder_ != null)) { - return structuredDatasetBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 8) { - return (flyteidl.core.Literals.StructuredDataset) value_; - } - return flyteidl.core.Literals.StructuredDataset.getDefaultInstance(); - } - } - /** - * .flyteidl.core.StructuredDataset structured_dataset = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.StructuredDataset, flyteidl.core.Literals.StructuredDataset.Builder, flyteidl.core.Literals.StructuredDatasetOrBuilder> - getStructuredDatasetFieldBuilder() { - if (structuredDatasetBuilder_ == null) { - if (!(valueCase_ == 8)) { - value_ = flyteidl.core.Literals.StructuredDataset.getDefaultInstance(); - } - structuredDatasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.StructuredDataset, flyteidl.core.Literals.StructuredDataset.Builder, flyteidl.core.Literals.StructuredDatasetOrBuilder>( - (flyteidl.core.Literals.StructuredDataset) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 8; - onChanged();; - return structuredDatasetBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Union, flyteidl.core.Literals.Union.Builder, flyteidl.core.Literals.UnionOrBuilder> unionBuilder_; - /** - * .flyteidl.core.Union union = 9; - */ - public boolean hasUnion() { - return valueCase_ == 9; - } - /** - * .flyteidl.core.Union union = 9; - */ - public flyteidl.core.Literals.Union getUnion() { - if (unionBuilder_ == null) { - if (valueCase_ == 9) { - return (flyteidl.core.Literals.Union) value_; - } - return flyteidl.core.Literals.Union.getDefaultInstance(); - } else { - if (valueCase_ == 9) { - return unionBuilder_.getMessage(); - } - return flyteidl.core.Literals.Union.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Union union = 9; - */ - public Builder setUnion(flyteidl.core.Literals.Union value) { - if (unionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - unionBuilder_.setMessage(value); - } - valueCase_ = 9; - return this; - } - /** - * .flyteidl.core.Union union = 9; - */ - public Builder setUnion( - flyteidl.core.Literals.Union.Builder builderForValue) { - if (unionBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - unionBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 9; - return this; - } - /** - * .flyteidl.core.Union union = 9; - */ - public Builder mergeUnion(flyteidl.core.Literals.Union value) { - if (unionBuilder_ == null) { - if (valueCase_ == 9 && - value_ != flyteidl.core.Literals.Union.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Union.newBuilder((flyteidl.core.Literals.Union) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 9) { - unionBuilder_.mergeFrom(value); - } - unionBuilder_.setMessage(value); - } - valueCase_ = 9; - return this; - } - /** - * .flyteidl.core.Union union = 9; - */ - public Builder clearUnion() { - if (unionBuilder_ == null) { - if (valueCase_ == 9) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 9) { - valueCase_ = 0; - value_ = null; - } - unionBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Union union = 9; - */ - public flyteidl.core.Literals.Union.Builder getUnionBuilder() { - return getUnionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Union union = 9; - */ - public flyteidl.core.Literals.UnionOrBuilder getUnionOrBuilder() { - if ((valueCase_ == 9) && (unionBuilder_ != null)) { - return unionBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 9) { - return (flyteidl.core.Literals.Union) value_; - } - return flyteidl.core.Literals.Union.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Union union = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Union, flyteidl.core.Literals.Union.Builder, flyteidl.core.Literals.UnionOrBuilder> - getUnionFieldBuilder() { - if (unionBuilder_ == null) { - if (!(valueCase_ == 9)) { - value_ = flyteidl.core.Literals.Union.getDefaultInstance(); - } - unionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Union, flyteidl.core.Literals.Union.Builder, flyteidl.core.Literals.UnionOrBuilder>( - (flyteidl.core.Literals.Union) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 9; - onChanged();; - return unionBuilder_; - } - @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.Scalar) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Scalar) - private static final flyteidl.core.Literals.Scalar DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Scalar(); - } - - public static flyteidl.core.Literals.Scalar getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Scalar parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Scalar(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.Literals.Scalar getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LiteralOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Literal) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A simple value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - boolean hasScalar(); - /** - *
-     * A simple value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - flyteidl.core.Literals.Scalar getScalar(); - /** - *
-     * A simple value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder(); - - /** - *
-     * A collection of literals to allow nesting.
-     * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - boolean hasCollection(); - /** - *
-     * A collection of literals to allow nesting.
-     * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - flyteidl.core.Literals.LiteralCollection getCollection(); - /** - *
-     * A collection of literals to allow nesting.
-     * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - flyteidl.core.Literals.LiteralCollectionOrBuilder getCollectionOrBuilder(); - - /** - *
-     * A map of strings to literals.
-     * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - boolean hasMap(); - /** - *
-     * A map of strings to literals.
-     * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - flyteidl.core.Literals.LiteralMap getMap(); - /** - *
-     * A map of strings to literals.
-     * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getMapOrBuilder(); - - /** - *
-     * A hash representing this literal.
-     * This is used for caching purposes. For more details refer to RFC 1893
-     * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-     * 
- * - * string hash = 4; - */ - java.lang.String getHash(); - /** - *
-     * A hash representing this literal.
-     * This is used for caching purposes. For more details refer to RFC 1893
-     * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-     * 
- * - * string hash = 4; - */ - com.google.protobuf.ByteString - getHashBytes(); - - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - int getMetadataCount(); - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - boolean containsMetadata( - java.lang.String key); - /** - * Use {@link #getMetadataMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getMetadata(); - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - java.util.Map - getMetadataMap(); - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - - java.lang.String getMetadataOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - - java.lang.String getMetadataOrThrow( - java.lang.String key); - - public flyteidl.core.Literals.Literal.ValueCase getValueCase(); - } - /** - *
-   * A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives.
-   * 
- * - * Protobuf type {@code flyteidl.core.Literal} - */ - public static final class Literal extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Literal) - LiteralOrBuilder { - private static final long serialVersionUID = 0L; - // Use Literal.newBuilder() to construct. - private Literal(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Literal() { - hash_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Literal( - 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.Literals.Scalar.Builder subBuilder = null; - if (valueCase_ == 1) { - subBuilder = ((flyteidl.core.Literals.Scalar) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Scalar.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Scalar) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 1; - break; - } - case 18: { - flyteidl.core.Literals.LiteralCollection.Builder subBuilder = null; - if (valueCase_ == 2) { - subBuilder = ((flyteidl.core.Literals.LiteralCollection) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.LiteralCollection.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralCollection) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 2; - break; - } - case 26: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (valueCase_ == 3) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 3; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - hash_ = s; - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; - } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Literal_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 5: - return internalGetMetadata(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Literal_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Literal.class, flyteidl.core.Literals.Literal.Builder.class); - } - - private int bitField0_; - private int valueCase_ = 0; - private java.lang.Object value_; - public enum ValueCase - implements com.google.protobuf.Internal.EnumLite { - SCALAR(1), - COLLECTION(2), - MAP(3), - VALUE_NOT_SET(0); - private final int value; - private ValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValueCase valueOf(int value) { - return forNumber(value); - } - - public static ValueCase forNumber(int value) { - switch (value) { - case 1: return SCALAR; - case 2: return COLLECTION; - case 3: return MAP; - case 0: return VALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public static final int SCALAR_FIELD_NUMBER = 1; - /** - *
-     * A simple value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public boolean hasScalar() { - return valueCase_ == 1; - } - /** - *
-     * A simple value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.Scalar getScalar() { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - /** - *
-     * A simple value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder() { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - - public static final int COLLECTION_FIELD_NUMBER = 2; - /** - *
-     * A collection of literals to allow nesting.
-     * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public boolean hasCollection() { - return valueCase_ == 2; - } - /** - *
-     * A collection of literals to allow nesting.
-     * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public flyteidl.core.Literals.LiteralCollection getCollection() { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.LiteralCollection) value_; - } - return flyteidl.core.Literals.LiteralCollection.getDefaultInstance(); - } - /** - *
-     * A collection of literals to allow nesting.
-     * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public flyteidl.core.Literals.LiteralCollectionOrBuilder getCollectionOrBuilder() { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.LiteralCollection) value_; - } - return flyteidl.core.Literals.LiteralCollection.getDefaultInstance(); - } - - public static final int MAP_FIELD_NUMBER = 3; - /** - *
-     * A map of strings to literals.
-     * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public boolean hasMap() { - return valueCase_ == 3; - } - /** - *
-     * A map of strings to literals.
-     * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public flyteidl.core.Literals.LiteralMap getMap() { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.LiteralMap) value_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * A map of strings to literals.
-     * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getMapOrBuilder() { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.LiteralMap) value_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int HASH_FIELD_NUMBER = 4; - private volatile java.lang.Object hash_; - /** - *
-     * A hash representing this literal.
-     * This is used for caching purposes. For more details refer to RFC 1893
-     * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-     * 
- * - * string hash = 4; - */ - public java.lang.String getHash() { - java.lang.Object ref = hash_; - 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(); - hash_ = s; - return s; - } - } - /** - *
-     * A hash representing this literal.
-     * This is used for caching purposes. For more details refer to RFC 1893
-     * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-     * 
- * - * string hash = 4; - */ - public com.google.protobuf.ByteString - getHashBytes() { - java.lang.Object ref = hash_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - hash_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int METADATA_FIELD_NUMBER = 5; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Literals.internal_static_flyteidl_core_Literal_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { - if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); - } - return metadata_; - } - - public int getMetadataCount() { - return internalGetMetadata().getMap().size(); - } - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - - public boolean containsMetadata( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetMetadata().getMap().containsKey(key); - } - /** - * Use {@link #getMetadataMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getMetadata() { - return getMetadataMap(); - } - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - - public java.util.Map getMetadataMap() { - return internalGetMetadata().getMap(); - } - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - - public java.lang.String getMetadataOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMetadata().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Additional metadata for literals.
-     * 
- * - * map<string, string> metadata = 5; - */ - - public java.lang.String getMetadataOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMetadata().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (valueCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Literals.Scalar) value_); - } - if (valueCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Literals.LiteralCollection) value_); - } - if (valueCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Literals.LiteralMap) value_); - } - if (!getHashBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hash_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 5); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Literals.Scalar) value_); - } - if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Literals.LiteralCollection) value_); - } - if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Literals.LiteralMap) value_); - } - if (!getHashBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hash_); - } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, metadata__); - } - 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.Literals.Literal)) { - return super.equals(obj); - } - flyteidl.core.Literals.Literal other = (flyteidl.core.Literals.Literal) obj; - - if (!getHash() - .equals(other.getHash())) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getValueCase().equals(other.getValueCase())) return false; - switch (valueCase_) { - case 1: - if (!getScalar() - .equals(other.getScalar())) return false; - break; - case 2: - if (!getCollection() - .equals(other.getCollection())) return false; - break; - case 3: - if (!getMap() - .equals(other.getMap())) 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) + HASH_FIELD_NUMBER; - hash = (53 * hash) + getHash().hashCode(); - if (!internalGetMetadata().getMap().isEmpty()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + internalGetMetadata().hashCode(); - } - switch (valueCase_) { - case 1: - hash = (37 * hash) + SCALAR_FIELD_NUMBER; - hash = (53 * hash) + getScalar().hashCode(); - break; - case 2: - hash = (37 * hash) + COLLECTION_FIELD_NUMBER; - hash = (53 * hash) + getCollection().hashCode(); - break; - case 3: - hash = (37 * hash) + MAP_FIELD_NUMBER; - hash = (53 * hash) + getMap().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Literal parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Literal parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Literal parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Literal 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.Literals.Literal parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Literal parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Literal parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Literal 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.Literals.Literal parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Literal 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.Literals.Literal parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Literal 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.Literals.Literal 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 simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives.
-     * 
- * - * Protobuf type {@code flyteidl.core.Literal} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Literal) - flyteidl.core.Literals.LiteralOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Literal_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 5: - return internalGetMetadata(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 5: - return internalGetMutableMetadata(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Literal_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Literal.class, flyteidl.core.Literals.Literal.Builder.class); - } - - // Construct using flyteidl.core.Literals.Literal.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(); - hash_ = ""; - - internalGetMutableMetadata().clear(); - valueCase_ = 0; - value_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Literal_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Literal getDefaultInstanceForType() { - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Literal build() { - flyteidl.core.Literals.Literal result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Literal buildPartial() { - flyteidl.core.Literals.Literal result = new flyteidl.core.Literals.Literal(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (valueCase_ == 1) { - if (scalarBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = scalarBuilder_.build(); - } - } - if (valueCase_ == 2) { - if (collectionBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = collectionBuilder_.build(); - } - } - if (valueCase_ == 3) { - if (mapBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = mapBuilder_.build(); - } - } - result.hash_ = hash_; - result.metadata_ = internalGetMetadata(); - result.metadata_.makeImmutable(); - result.bitField0_ = to_bitField0_; - result.valueCase_ = valueCase_; - 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.Literals.Literal) { - return mergeFrom((flyteidl.core.Literals.Literal)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Literal other) { - if (other == flyteidl.core.Literals.Literal.getDefaultInstance()) return this; - if (!other.getHash().isEmpty()) { - hash_ = other.hash_; - onChanged(); - } - internalGetMutableMetadata().mergeFrom( - other.internalGetMetadata()); - switch (other.getValueCase()) { - case SCALAR: { - mergeScalar(other.getScalar()); - break; - } - case COLLECTION: { - mergeCollection(other.getCollection()); - break; - } - case MAP: { - mergeMap(other.getMap()); - break; - } - case VALUE_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.Literals.Literal parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Literal) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int valueCase_ = 0; - private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public Builder clearValue() { - valueCase_ = 0; - value_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> scalarBuilder_; - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public boolean hasScalar() { - return valueCase_ == 1; - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.Scalar getScalar() { - if (scalarBuilder_ == null) { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } else { - if (valueCase_ == 1) { - return scalarBuilder_.getMessage(); - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder setScalar(flyteidl.core.Literals.Scalar value) { - if (scalarBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - scalarBuilder_.setMessage(value); - } - valueCase_ = 1; - return this; - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder setScalar( - flyteidl.core.Literals.Scalar.Builder builderForValue) { - if (scalarBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - scalarBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 1; - return this; - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder mergeScalar(flyteidl.core.Literals.Scalar value) { - if (scalarBuilder_ == null) { - if (valueCase_ == 1 && - value_ != flyteidl.core.Literals.Scalar.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Scalar.newBuilder((flyteidl.core.Literals.Scalar) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 1) { - scalarBuilder_.mergeFrom(value); - } - scalarBuilder_.setMessage(value); - } - valueCase_ = 1; - return this; - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder clearScalar() { - if (scalarBuilder_ == null) { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - } - scalarBuilder_.clear(); - } - return this; - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.Scalar.Builder getScalarBuilder() { - return getScalarFieldBuilder().getBuilder(); - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder() { - if ((valueCase_ == 1) && (scalarBuilder_ != null)) { - return scalarBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - } - /** - *
-       * A simple value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> - getScalarFieldBuilder() { - if (scalarBuilder_ == null) { - if (!(valueCase_ == 1)) { - value_ = flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - scalarBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder>( - (flyteidl.core.Literals.Scalar) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 1; - onChanged();; - return scalarBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralCollection, flyteidl.core.Literals.LiteralCollection.Builder, flyteidl.core.Literals.LiteralCollectionOrBuilder> collectionBuilder_; - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public boolean hasCollection() { - return valueCase_ == 2; - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public flyteidl.core.Literals.LiteralCollection getCollection() { - if (collectionBuilder_ == null) { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.LiteralCollection) value_; - } - return flyteidl.core.Literals.LiteralCollection.getDefaultInstance(); - } else { - if (valueCase_ == 2) { - return collectionBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralCollection.getDefaultInstance(); - } - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public Builder setCollection(flyteidl.core.Literals.LiteralCollection value) { - if (collectionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - collectionBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public Builder setCollection( - flyteidl.core.Literals.LiteralCollection.Builder builderForValue) { - if (collectionBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - collectionBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 2; - return this; - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public Builder mergeCollection(flyteidl.core.Literals.LiteralCollection value) { - if (collectionBuilder_ == null) { - if (valueCase_ == 2 && - value_ != flyteidl.core.Literals.LiteralCollection.getDefaultInstance()) { - value_ = flyteidl.core.Literals.LiteralCollection.newBuilder((flyteidl.core.Literals.LiteralCollection) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 2) { - collectionBuilder_.mergeFrom(value); - } - collectionBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public Builder clearCollection() { - if (collectionBuilder_ == null) { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - } - collectionBuilder_.clear(); - } - return this; - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public flyteidl.core.Literals.LiteralCollection.Builder getCollectionBuilder() { - return getCollectionFieldBuilder().getBuilder(); - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - public flyteidl.core.Literals.LiteralCollectionOrBuilder getCollectionOrBuilder() { - if ((valueCase_ == 2) && (collectionBuilder_ != null)) { - return collectionBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.LiteralCollection) value_; - } - return flyteidl.core.Literals.LiteralCollection.getDefaultInstance(); - } - } - /** - *
-       * A collection of literals to allow nesting.
-       * 
- * - * .flyteidl.core.LiteralCollection collection = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralCollection, flyteidl.core.Literals.LiteralCollection.Builder, flyteidl.core.Literals.LiteralCollectionOrBuilder> - getCollectionFieldBuilder() { - if (collectionBuilder_ == null) { - if (!(valueCase_ == 2)) { - value_ = flyteidl.core.Literals.LiteralCollection.getDefaultInstance(); - } - collectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralCollection, flyteidl.core.Literals.LiteralCollection.Builder, flyteidl.core.Literals.LiteralCollectionOrBuilder>( - (flyteidl.core.Literals.LiteralCollection) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 2; - onChanged();; - return collectionBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> mapBuilder_; - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public boolean hasMap() { - return valueCase_ == 3; - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public flyteidl.core.Literals.LiteralMap getMap() { - if (mapBuilder_ == null) { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.LiteralMap) value_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (valueCase_ == 3) { - return mapBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public Builder setMap(flyteidl.core.Literals.LiteralMap value) { - if (mapBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - mapBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public Builder setMap( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (mapBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - mapBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 3; - return this; - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public Builder mergeMap(flyteidl.core.Literals.LiteralMap value) { - if (mapBuilder_ == null) { - if (valueCase_ == 3 && - value_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - value_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 3) { - mapBuilder_.mergeFrom(value); - } - mapBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public Builder clearMap() { - if (mapBuilder_ == null) { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - } - mapBuilder_.clear(); - } - return this; - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public flyteidl.core.Literals.LiteralMap.Builder getMapBuilder() { - return getMapFieldBuilder().getBuilder(); - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getMapOrBuilder() { - if ((valueCase_ == 3) && (mapBuilder_ != null)) { - return mapBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 3) { - return (flyteidl.core.Literals.LiteralMap) value_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * A map of strings to literals.
-       * 
- * - * .flyteidl.core.LiteralMap map = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getMapFieldBuilder() { - if (mapBuilder_ == null) { - if (!(valueCase_ == 3)) { - value_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - mapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 3; - onChanged();; - return mapBuilder_; - } - - private java.lang.Object hash_ = ""; - /** - *
-       * A hash representing this literal.
-       * This is used for caching purposes. For more details refer to RFC 1893
-       * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-       * 
- * - * string hash = 4; - */ - public java.lang.String getHash() { - java.lang.Object ref = hash_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - hash_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A hash representing this literal.
-       * This is used for caching purposes. For more details refer to RFC 1893
-       * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-       * 
- * - * string hash = 4; - */ - public com.google.protobuf.ByteString - getHashBytes() { - java.lang.Object ref = hash_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - hash_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A hash representing this literal.
-       * This is used for caching purposes. For more details refer to RFC 1893
-       * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-       * 
- * - * string hash = 4; - */ - public Builder setHash( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - hash_ = value; - onChanged(); - return this; - } - /** - *
-       * A hash representing this literal.
-       * This is used for caching purposes. For more details refer to RFC 1893
-       * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-       * 
- * - * string hash = 4; - */ - public Builder clearHash() { - - hash_ = getDefaultInstance().getHash(); - onChanged(); - return this; - } - /** - *
-       * A hash representing this literal.
-       * This is used for caching purposes. For more details refer to RFC 1893
-       * (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
-       * 
- * - * string hash = 4; - */ - public Builder setHashBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - hash_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { - if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); - } - return metadata_; - } - private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged();; - if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - } - if (!metadata_.isMutable()) { - metadata_ = metadata_.copy(); - } - return metadata_; - } - - public int getMetadataCount() { - return internalGetMetadata().getMap().size(); - } - /** - *
-       * Additional metadata for literals.
-       * 
- * - * map<string, string> metadata = 5; - */ - - public boolean containsMetadata( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetMetadata().getMap().containsKey(key); - } - /** - * Use {@link #getMetadataMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getMetadata() { - return getMetadataMap(); - } - /** - *
-       * Additional metadata for literals.
-       * 
- * - * map<string, string> metadata = 5; - */ - - public java.util.Map getMetadataMap() { - return internalGetMetadata().getMap(); - } - /** - *
-       * Additional metadata for literals.
-       * 
- * - * map<string, string> metadata = 5; - */ - - public java.lang.String getMetadataOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMetadata().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Additional metadata for literals.
-       * 
- * - * map<string, string> metadata = 5; - */ - - public java.lang.String getMetadataOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMetadata().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearMetadata() { - internalGetMutableMetadata().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Additional metadata for literals.
-       * 
- * - * map<string, string> metadata = 5; - */ - - public Builder removeMetadata( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableMetadata().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableMetadata() { - return internalGetMutableMetadata().getMutableMap(); - } - /** - *
-       * Additional metadata for literals.
-       * 
- * - * map<string, string> metadata = 5; - */ - public Builder putMetadata( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableMetadata().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Additional metadata for literals.
-       * 
- * - * map<string, string> metadata = 5; - */ - - public Builder putAllMetadata( - java.util.Map values) { - internalGetMutableMetadata().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Literal) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Literal) - private static final flyteidl.core.Literals.Literal DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Literal(); - } - - public static flyteidl.core.Literals.Literal getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Literal parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Literal(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.Literals.Literal getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LiteralCollectionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.LiteralCollection) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - java.util.List - getLiteralsList(); - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - flyteidl.core.Literals.Literal getLiterals(int index); - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - int getLiteralsCount(); - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - java.util.List - getLiteralsOrBuilderList(); - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - flyteidl.core.Literals.LiteralOrBuilder getLiteralsOrBuilder( - int index); - } - /** - *
-   * A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
-   * 
- * - * Protobuf type {@code flyteidl.core.LiteralCollection} - */ - public static final class LiteralCollection extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.LiteralCollection) - LiteralCollectionOrBuilder { - private static final long serialVersionUID = 0L; - // Use LiteralCollection.newBuilder() to construct. - private LiteralCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LiteralCollection() { - literals_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LiteralCollection( - 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)) { - literals_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - literals_.add( - input.readMessage(flyteidl.core.Literals.Literal.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)) { - literals_ = java.util.Collections.unmodifiableList(literals_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralCollection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralCollection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.LiteralCollection.class, flyteidl.core.Literals.LiteralCollection.Builder.class); - } - - public static final int LITERALS_FIELD_NUMBER = 1; - private java.util.List literals_; - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public java.util.List getLiteralsList() { - return literals_; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public java.util.List - getLiteralsOrBuilderList() { - return literals_; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public int getLiteralsCount() { - return literals_.size(); - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public flyteidl.core.Literals.Literal getLiterals(int index) { - return literals_.get(index); - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public flyteidl.core.Literals.LiteralOrBuilder getLiteralsOrBuilder( - int index) { - return literals_.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 < literals_.size(); i++) { - output.writeMessage(1, literals_.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 < literals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, literals_.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.Literals.LiteralCollection)) { - return super.equals(obj); - } - flyteidl.core.Literals.LiteralCollection other = (flyteidl.core.Literals.LiteralCollection) obj; - - if (!getLiteralsList() - .equals(other.getLiteralsList())) 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 (getLiteralsCount() > 0) { - hash = (37 * hash) + LITERALS_FIELD_NUMBER; - hash = (53 * hash) + getLiteralsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.LiteralCollection parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.LiteralCollection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.LiteralCollection parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.LiteralCollection 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.Literals.LiteralCollection parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.LiteralCollection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.LiteralCollection parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.LiteralCollection 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.Literals.LiteralCollection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.LiteralCollection 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.Literals.LiteralCollection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.LiteralCollection 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.Literals.LiteralCollection 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 collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
-     * 
- * - * Protobuf type {@code flyteidl.core.LiteralCollection} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.LiteralCollection) - flyteidl.core.Literals.LiteralCollectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralCollection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralCollection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.LiteralCollection.class, flyteidl.core.Literals.LiteralCollection.Builder.class); - } - - // Construct using flyteidl.core.Literals.LiteralCollection.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getLiteralsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (literalsBuilder_ == null) { - literals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - literalsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralCollection_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.LiteralCollection getDefaultInstanceForType() { - return flyteidl.core.Literals.LiteralCollection.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.LiteralCollection build() { - flyteidl.core.Literals.LiteralCollection result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.LiteralCollection buildPartial() { - flyteidl.core.Literals.LiteralCollection result = new flyteidl.core.Literals.LiteralCollection(this); - int from_bitField0_ = bitField0_; - if (literalsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - literals_ = java.util.Collections.unmodifiableList(literals_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.literals_ = literals_; - } else { - result.literals_ = literalsBuilder_.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.Literals.LiteralCollection) { - return mergeFrom((flyteidl.core.Literals.LiteralCollection)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.LiteralCollection other) { - if (other == flyteidl.core.Literals.LiteralCollection.getDefaultInstance()) return this; - if (literalsBuilder_ == null) { - if (!other.literals_.isEmpty()) { - if (literals_.isEmpty()) { - literals_ = other.literals_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureLiteralsIsMutable(); - literals_.addAll(other.literals_); - } - onChanged(); - } - } else { - if (!other.literals_.isEmpty()) { - if (literalsBuilder_.isEmpty()) { - literalsBuilder_.dispose(); - literalsBuilder_ = null; - literals_ = other.literals_; - bitField0_ = (bitField0_ & ~0x00000001); - literalsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLiteralsFieldBuilder() : null; - } else { - literalsBuilder_.addAllMessages(other.literals_); - } - } - } - 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.Literals.LiteralCollection parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.LiteralCollection) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List literals_ = - java.util.Collections.emptyList(); - private void ensureLiteralsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - literals_ = new java.util.ArrayList(literals_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> literalsBuilder_; - - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public java.util.List getLiteralsList() { - if (literalsBuilder_ == null) { - return java.util.Collections.unmodifiableList(literals_); - } else { - return literalsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public int getLiteralsCount() { - if (literalsBuilder_ == null) { - return literals_.size(); - } else { - return literalsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public flyteidl.core.Literals.Literal getLiterals(int index) { - if (literalsBuilder_ == null) { - return literals_.get(index); - } else { - return literalsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder setLiterals( - int index, flyteidl.core.Literals.Literal value) { - if (literalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLiteralsIsMutable(); - literals_.set(index, value); - onChanged(); - } else { - literalsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder setLiterals( - int index, flyteidl.core.Literals.Literal.Builder builderForValue) { - if (literalsBuilder_ == null) { - ensureLiteralsIsMutable(); - literals_.set(index, builderForValue.build()); - onChanged(); - } else { - literalsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder addLiterals(flyteidl.core.Literals.Literal value) { - if (literalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLiteralsIsMutable(); - literals_.add(value); - onChanged(); - } else { - literalsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder addLiterals( - int index, flyteidl.core.Literals.Literal value) { - if (literalsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLiteralsIsMutable(); - literals_.add(index, value); - onChanged(); - } else { - literalsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder addLiterals( - flyteidl.core.Literals.Literal.Builder builderForValue) { - if (literalsBuilder_ == null) { - ensureLiteralsIsMutable(); - literals_.add(builderForValue.build()); - onChanged(); - } else { - literalsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder addLiterals( - int index, flyteidl.core.Literals.Literal.Builder builderForValue) { - if (literalsBuilder_ == null) { - ensureLiteralsIsMutable(); - literals_.add(index, builderForValue.build()); - onChanged(); - } else { - literalsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder addAllLiterals( - java.lang.Iterable values) { - if (literalsBuilder_ == null) { - ensureLiteralsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, literals_); - onChanged(); - } else { - literalsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder clearLiterals() { - if (literalsBuilder_ == null) { - literals_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - literalsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public Builder removeLiterals(int index) { - if (literalsBuilder_ == null) { - ensureLiteralsIsMutable(); - literals_.remove(index); - onChanged(); - } else { - literalsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public flyteidl.core.Literals.Literal.Builder getLiteralsBuilder( - int index) { - return getLiteralsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public flyteidl.core.Literals.LiteralOrBuilder getLiteralsOrBuilder( - int index) { - if (literalsBuilder_ == null) { - return literals_.get(index); } else { - return literalsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public java.util.List - getLiteralsOrBuilderList() { - if (literalsBuilder_ != null) { - return literalsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(literals_); - } - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public flyteidl.core.Literals.Literal.Builder addLiteralsBuilder() { - return getLiteralsFieldBuilder().addBuilder( - flyteidl.core.Literals.Literal.getDefaultInstance()); - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public flyteidl.core.Literals.Literal.Builder addLiteralsBuilder( - int index) { - return getLiteralsFieldBuilder().addBuilder( - index, flyteidl.core.Literals.Literal.getDefaultInstance()); - } - /** - * repeated .flyteidl.core.Literal literals = 1; - */ - public java.util.List - getLiteralsBuilderList() { - return getLiteralsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> - getLiteralsFieldBuilder() { - if (literalsBuilder_ == null) { - literalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( - literals_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - literals_ = null; - } - return literalsBuilder_; - } - @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.LiteralCollection) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.LiteralCollection) - private static final flyteidl.core.Literals.LiteralCollection DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.LiteralCollection(); - } - - public static flyteidl.core.Literals.LiteralCollection getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LiteralCollection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LiteralCollection(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.Literals.LiteralCollection getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LiteralMapOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.LiteralMap) - com.google.protobuf.MessageOrBuilder { - - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - int getLiteralsCount(); - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - boolean containsLiterals( - java.lang.String key); - /** - * Use {@link #getLiteralsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getLiterals(); - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - java.util.Map - getLiteralsMap(); - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - flyteidl.core.Literals.Literal getLiteralsOrDefault( - java.lang.String key, - flyteidl.core.Literals.Literal defaultValue); - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - flyteidl.core.Literals.Literal getLiteralsOrThrow( - java.lang.String key); - } - /** - *
-   * A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
-   * 
- * - * Protobuf type {@code flyteidl.core.LiteralMap} - */ - public static final class LiteralMap extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.LiteralMap) - LiteralMapOrBuilder { - private static final long serialVersionUID = 0L; - // Use LiteralMap.newBuilder() to construct. - private LiteralMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LiteralMap() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LiteralMap( - 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)) { - literals_ = com.google.protobuf.MapField.newMapField( - LiteralsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - literals__ = input.readMessage( - LiteralsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - literals_.getMutableMap().put( - literals__.getKey(), literals__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetLiterals(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.LiteralMap.class, flyteidl.core.Literals.LiteralMap.Builder.class); - } - - public static final int LITERALS_FIELD_NUMBER = 1; - private static final class LiteralsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.Literals.Literal> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Literals.internal_static_flyteidl_core_LiteralMap_LiteralsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.Literals.Literal.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Literals.Literal> literals_; - private com.google.protobuf.MapField - internalGetLiterals() { - if (literals_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LiteralsDefaultEntryHolder.defaultEntry); - } - return literals_; - } - - public int getLiteralsCount() { - return internalGetLiterals().getMap().size(); - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public boolean containsLiterals( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetLiterals().getMap().containsKey(key); - } - /** - * Use {@link #getLiteralsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getLiterals() { - return getLiteralsMap(); - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public java.util.Map getLiteralsMap() { - return internalGetLiterals().getMap(); - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public flyteidl.core.Literals.Literal getLiteralsOrDefault( - java.lang.String key, - flyteidl.core.Literals.Literal defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLiterals().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public flyteidl.core.Literals.Literal getLiteralsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLiterals().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLiterals(), - LiteralsDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetLiterals().getMap().entrySet()) { - com.google.protobuf.MapEntry - literals__ = LiteralsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, literals__); - } - 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.Literals.LiteralMap)) { - return super.equals(obj); - } - flyteidl.core.Literals.LiteralMap other = (flyteidl.core.Literals.LiteralMap) obj; - - if (!internalGetLiterals().equals( - other.internalGetLiterals())) 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 (!internalGetLiterals().getMap().isEmpty()) { - hash = (37 * hash) + LITERALS_FIELD_NUMBER; - hash = (53 * hash) + internalGetLiterals().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.LiteralMap parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.LiteralMap parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.LiteralMap parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.LiteralMap 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.Literals.LiteralMap parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.LiteralMap parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.LiteralMap parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.LiteralMap 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.Literals.LiteralMap parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.LiteralMap 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.Literals.LiteralMap parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.LiteralMap 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.Literals.LiteralMap 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 map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
-     * 
- * - * Protobuf type {@code flyteidl.core.LiteralMap} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.LiteralMap) - flyteidl.core.Literals.LiteralMapOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetLiterals(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableLiterals(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.LiteralMap.class, flyteidl.core.Literals.LiteralMap.Builder.class); - } - - // Construct using flyteidl.core.Literals.LiteralMap.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(); - internalGetMutableLiterals().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_LiteralMap_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.LiteralMap getDefaultInstanceForType() { - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.LiteralMap build() { - flyteidl.core.Literals.LiteralMap result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.LiteralMap buildPartial() { - flyteidl.core.Literals.LiteralMap result = new flyteidl.core.Literals.LiteralMap(this); - int from_bitField0_ = bitField0_; - result.literals_ = internalGetLiterals(); - result.literals_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Literals.LiteralMap) { - return mergeFrom((flyteidl.core.Literals.LiteralMap)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.LiteralMap other) { - if (other == flyteidl.core.Literals.LiteralMap.getDefaultInstance()) return this; - internalGetMutableLiterals().mergeFrom( - other.internalGetLiterals()); - 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.Literals.LiteralMap parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.LiteralMap) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Literals.Literal> literals_; - private com.google.protobuf.MapField - internalGetLiterals() { - if (literals_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LiteralsDefaultEntryHolder.defaultEntry); - } - return literals_; - } - private com.google.protobuf.MapField - internalGetMutableLiterals() { - onChanged();; - if (literals_ == null) { - literals_ = com.google.protobuf.MapField.newMapField( - LiteralsDefaultEntryHolder.defaultEntry); - } - if (!literals_.isMutable()) { - literals_ = literals_.copy(); - } - return literals_; - } - - public int getLiteralsCount() { - return internalGetLiterals().getMap().size(); - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public boolean containsLiterals( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetLiterals().getMap().containsKey(key); - } - /** - * Use {@link #getLiteralsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getLiterals() { - return getLiteralsMap(); - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public java.util.Map getLiteralsMap() { - return internalGetLiterals().getMap(); - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public flyteidl.core.Literals.Literal getLiteralsOrDefault( - java.lang.String key, - flyteidl.core.Literals.Literal defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLiterals().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public flyteidl.core.Literals.Literal getLiteralsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLiterals().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearLiterals() { - internalGetMutableLiterals().getMutableMap() - .clear(); - return this; - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public Builder removeLiterals( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLiterals().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableLiterals() { - return internalGetMutableLiterals().getMutableMap(); - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - public Builder putLiterals( - java.lang.String key, - flyteidl.core.Literals.Literal value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLiterals().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, .flyteidl.core.Literal> literals = 1; - */ - - public Builder putAllLiterals( - java.util.Map values) { - internalGetMutableLiterals().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.LiteralMap) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.LiteralMap) - private static final flyteidl.core.Literals.LiteralMap DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.LiteralMap(); - } - - public static flyteidl.core.Literals.LiteralMap getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LiteralMap parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LiteralMap(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.Literals.LiteralMap getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BindingDataCollectionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.BindingDataCollection) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - java.util.List - getBindingsList(); - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - flyteidl.core.Literals.BindingData getBindings(int index); - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - int getBindingsCount(); - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - java.util.List - getBindingsOrBuilderList(); - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - flyteidl.core.Literals.BindingDataOrBuilder getBindingsOrBuilder( - int index); - } - /** - *
-   * A collection of BindingData items.
-   * 
- * - * Protobuf type {@code flyteidl.core.BindingDataCollection} - */ - public static final class BindingDataCollection extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.BindingDataCollection) - BindingDataCollectionOrBuilder { - private static final long serialVersionUID = 0L; - // Use BindingDataCollection.newBuilder() to construct. - private BindingDataCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BindingDataCollection() { - bindings_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BindingDataCollection( - 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)) { - bindings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - bindings_.add( - input.readMessage(flyteidl.core.Literals.BindingData.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)) { - bindings_ = java.util.Collections.unmodifiableList(bindings_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataCollection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataCollection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BindingDataCollection.class, flyteidl.core.Literals.BindingDataCollection.Builder.class); - } - - public static final int BINDINGS_FIELD_NUMBER = 1; - private java.util.List bindings_; - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public java.util.List getBindingsList() { - return bindings_; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public java.util.List - getBindingsOrBuilderList() { - return bindings_; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public int getBindingsCount() { - return bindings_.size(); - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public flyteidl.core.Literals.BindingData getBindings(int index) { - return bindings_.get(index); - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public flyteidl.core.Literals.BindingDataOrBuilder getBindingsOrBuilder( - int index) { - return bindings_.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 < bindings_.size(); i++) { - output.writeMessage(1, bindings_.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 < bindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, bindings_.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.Literals.BindingDataCollection)) { - return super.equals(obj); - } - flyteidl.core.Literals.BindingDataCollection other = (flyteidl.core.Literals.BindingDataCollection) obj; - - if (!getBindingsList() - .equals(other.getBindingsList())) 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 (getBindingsCount() > 0) { - hash = (37 * hash) + BINDINGS_FIELD_NUMBER; - hash = (53 * hash) + getBindingsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.BindingDataCollection parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingDataCollection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BindingDataCollection parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingDataCollection 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.Literals.BindingDataCollection parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingDataCollection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BindingDataCollection parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingDataCollection 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.Literals.BindingDataCollection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingDataCollection 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.Literals.BindingDataCollection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingDataCollection 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.Literals.BindingDataCollection 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 collection of BindingData items.
-     * 
- * - * Protobuf type {@code flyteidl.core.BindingDataCollection} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.BindingDataCollection) - flyteidl.core.Literals.BindingDataCollectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataCollection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataCollection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BindingDataCollection.class, flyteidl.core.Literals.BindingDataCollection.Builder.class); - } - - // Construct using flyteidl.core.Literals.BindingDataCollection.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getBindingsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (bindingsBuilder_ == null) { - bindings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - bindingsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataCollection_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.BindingDataCollection getDefaultInstanceForType() { - return flyteidl.core.Literals.BindingDataCollection.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.BindingDataCollection build() { - flyteidl.core.Literals.BindingDataCollection result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.BindingDataCollection buildPartial() { - flyteidl.core.Literals.BindingDataCollection result = new flyteidl.core.Literals.BindingDataCollection(this); - int from_bitField0_ = bitField0_; - if (bindingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - bindings_ = java.util.Collections.unmodifiableList(bindings_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.bindings_ = bindings_; - } else { - result.bindings_ = bindingsBuilder_.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.Literals.BindingDataCollection) { - return mergeFrom((flyteidl.core.Literals.BindingDataCollection)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.BindingDataCollection other) { - if (other == flyteidl.core.Literals.BindingDataCollection.getDefaultInstance()) return this; - if (bindingsBuilder_ == null) { - if (!other.bindings_.isEmpty()) { - if (bindings_.isEmpty()) { - bindings_ = other.bindings_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureBindingsIsMutable(); - bindings_.addAll(other.bindings_); - } - onChanged(); - } - } else { - if (!other.bindings_.isEmpty()) { - if (bindingsBuilder_.isEmpty()) { - bindingsBuilder_.dispose(); - bindingsBuilder_ = null; - bindings_ = other.bindings_; - bitField0_ = (bitField0_ & ~0x00000001); - bindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBindingsFieldBuilder() : null; - } else { - bindingsBuilder_.addAllMessages(other.bindings_); - } - } - } - 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.Literals.BindingDataCollection parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.BindingDataCollection) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List bindings_ = - java.util.Collections.emptyList(); - private void ensureBindingsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - bindings_ = new java.util.ArrayList(bindings_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.BindingData, flyteidl.core.Literals.BindingData.Builder, flyteidl.core.Literals.BindingDataOrBuilder> bindingsBuilder_; - - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public java.util.List getBindingsList() { - if (bindingsBuilder_ == null) { - return java.util.Collections.unmodifiableList(bindings_); - } else { - return bindingsBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public int getBindingsCount() { - if (bindingsBuilder_ == null) { - return bindings_.size(); - } else { - return bindingsBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public flyteidl.core.Literals.BindingData getBindings(int index) { - if (bindingsBuilder_ == null) { - return bindings_.get(index); - } else { - return bindingsBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder setBindings( - int index, flyteidl.core.Literals.BindingData value) { - if (bindingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingsIsMutable(); - bindings_.set(index, value); - onChanged(); - } else { - bindingsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder setBindings( - int index, flyteidl.core.Literals.BindingData.Builder builderForValue) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.set(index, builderForValue.build()); - onChanged(); - } else { - bindingsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder addBindings(flyteidl.core.Literals.BindingData value) { - if (bindingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingsIsMutable(); - bindings_.add(value); - onChanged(); - } else { - bindingsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder addBindings( - int index, flyteidl.core.Literals.BindingData value) { - if (bindingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingsIsMutable(); - bindings_.add(index, value); - onChanged(); - } else { - bindingsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder addBindings( - flyteidl.core.Literals.BindingData.Builder builderForValue) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.add(builderForValue.build()); - onChanged(); - } else { - bindingsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder addBindings( - int index, flyteidl.core.Literals.BindingData.Builder builderForValue) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.add(index, builderForValue.build()); - onChanged(); - } else { - bindingsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder addAllBindings( - java.lang.Iterable values) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bindings_); - onChanged(); - } else { - bindingsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder clearBindings() { - if (bindingsBuilder_ == null) { - bindings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - bindingsBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public Builder removeBindings(int index) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.remove(index); - onChanged(); - } else { - bindingsBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public flyteidl.core.Literals.BindingData.Builder getBindingsBuilder( - int index) { - return getBindingsFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public flyteidl.core.Literals.BindingDataOrBuilder getBindingsOrBuilder( - int index) { - if (bindingsBuilder_ == null) { - return bindings_.get(index); } else { - return bindingsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public java.util.List - getBindingsOrBuilderList() { - if (bindingsBuilder_ != null) { - return bindingsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(bindings_); - } - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public flyteidl.core.Literals.BindingData.Builder addBindingsBuilder() { - return getBindingsFieldBuilder().addBuilder( - flyteidl.core.Literals.BindingData.getDefaultInstance()); - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public flyteidl.core.Literals.BindingData.Builder addBindingsBuilder( - int index) { - return getBindingsFieldBuilder().addBuilder( - index, flyteidl.core.Literals.BindingData.getDefaultInstance()); - } - /** - * repeated .flyteidl.core.BindingData bindings = 1; - */ - public java.util.List - getBindingsBuilderList() { - return getBindingsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.BindingData, flyteidl.core.Literals.BindingData.Builder, flyteidl.core.Literals.BindingDataOrBuilder> - getBindingsFieldBuilder() { - if (bindingsBuilder_ == null) { - bindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.BindingData, flyteidl.core.Literals.BindingData.Builder, flyteidl.core.Literals.BindingDataOrBuilder>( - bindings_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - bindings_ = null; - } - return bindingsBuilder_; - } - @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.BindingDataCollection) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.BindingDataCollection) - private static final flyteidl.core.Literals.BindingDataCollection DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.BindingDataCollection(); - } - - public static flyteidl.core.Literals.BindingDataCollection getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BindingDataCollection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BindingDataCollection(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.Literals.BindingDataCollection getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BindingDataMapOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.BindingDataMap) - com.google.protobuf.MessageOrBuilder { - - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - int getBindingsCount(); - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - boolean containsBindings( - java.lang.String key); - /** - * Use {@link #getBindingsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getBindings(); - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - java.util.Map - getBindingsMap(); - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - flyteidl.core.Literals.BindingData getBindingsOrDefault( - java.lang.String key, - flyteidl.core.Literals.BindingData defaultValue); - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - flyteidl.core.Literals.BindingData getBindingsOrThrow( - java.lang.String key); - } - /** - *
-   * A map of BindingData items.
-   * 
- * - * Protobuf type {@code flyteidl.core.BindingDataMap} - */ - public static final class BindingDataMap extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.BindingDataMap) - BindingDataMapOrBuilder { - private static final long serialVersionUID = 0L; - // Use BindingDataMap.newBuilder() to construct. - private BindingDataMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BindingDataMap() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BindingDataMap( - 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)) { - bindings_ = com.google.protobuf.MapField.newMapField( - BindingsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - bindings__ = input.readMessage( - BindingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - bindings_.getMutableMap().put( - bindings__.getKey(), bindings__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetBindings(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BindingDataMap.class, flyteidl.core.Literals.BindingDataMap.Builder.class); - } - - public static final int BINDINGS_FIELD_NUMBER = 1; - private static final class BindingsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.Literals.BindingData> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataMap_BindingsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.Literals.BindingData.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Literals.BindingData> bindings_; - private com.google.protobuf.MapField - internalGetBindings() { - if (bindings_ == null) { - return com.google.protobuf.MapField.emptyMapField( - BindingsDefaultEntryHolder.defaultEntry); - } - return bindings_; - } - - public int getBindingsCount() { - return internalGetBindings().getMap().size(); - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public boolean containsBindings( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetBindings().getMap().containsKey(key); - } - /** - * Use {@link #getBindingsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getBindings() { - return getBindingsMap(); - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public java.util.Map getBindingsMap() { - return internalGetBindings().getMap(); - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public flyteidl.core.Literals.BindingData getBindingsOrDefault( - java.lang.String key, - flyteidl.core.Literals.BindingData defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetBindings().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public flyteidl.core.Literals.BindingData getBindingsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetBindings().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetBindings(), - BindingsDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetBindings().getMap().entrySet()) { - com.google.protobuf.MapEntry - bindings__ = BindingsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, bindings__); - } - 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.Literals.BindingDataMap)) { - return super.equals(obj); - } - flyteidl.core.Literals.BindingDataMap other = (flyteidl.core.Literals.BindingDataMap) obj; - - if (!internalGetBindings().equals( - other.internalGetBindings())) 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 (!internalGetBindings().getMap().isEmpty()) { - hash = (37 * hash) + BINDINGS_FIELD_NUMBER; - hash = (53 * hash) + internalGetBindings().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.BindingDataMap parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingDataMap parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BindingDataMap parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingDataMap 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.Literals.BindingDataMap parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingDataMap parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BindingDataMap parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingDataMap 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.Literals.BindingDataMap parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingDataMap 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.Literals.BindingDataMap parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingDataMap 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.Literals.BindingDataMap 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 map of BindingData items.
-     * 
- * - * Protobuf type {@code flyteidl.core.BindingDataMap} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.BindingDataMap) - flyteidl.core.Literals.BindingDataMapOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataMap_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetBindings(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableBindings(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataMap_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BindingDataMap.class, flyteidl.core.Literals.BindingDataMap.Builder.class); - } - - // Construct using flyteidl.core.Literals.BindingDataMap.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(); - internalGetMutableBindings().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingDataMap_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.BindingDataMap getDefaultInstanceForType() { - return flyteidl.core.Literals.BindingDataMap.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.BindingDataMap build() { - flyteidl.core.Literals.BindingDataMap result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.BindingDataMap buildPartial() { - flyteidl.core.Literals.BindingDataMap result = new flyteidl.core.Literals.BindingDataMap(this); - int from_bitField0_ = bitField0_; - result.bindings_ = internalGetBindings(); - result.bindings_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Literals.BindingDataMap) { - return mergeFrom((flyteidl.core.Literals.BindingDataMap)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.BindingDataMap other) { - if (other == flyteidl.core.Literals.BindingDataMap.getDefaultInstance()) return this; - internalGetMutableBindings().mergeFrom( - other.internalGetBindings()); - 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.Literals.BindingDataMap parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.BindingDataMap) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Literals.BindingData> bindings_; - private com.google.protobuf.MapField - internalGetBindings() { - if (bindings_ == null) { - return com.google.protobuf.MapField.emptyMapField( - BindingsDefaultEntryHolder.defaultEntry); - } - return bindings_; - } - private com.google.protobuf.MapField - internalGetMutableBindings() { - onChanged();; - if (bindings_ == null) { - bindings_ = com.google.protobuf.MapField.newMapField( - BindingsDefaultEntryHolder.defaultEntry); - } - if (!bindings_.isMutable()) { - bindings_ = bindings_.copy(); - } - return bindings_; - } - - public int getBindingsCount() { - return internalGetBindings().getMap().size(); - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public boolean containsBindings( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetBindings().getMap().containsKey(key); - } - /** - * Use {@link #getBindingsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getBindings() { - return getBindingsMap(); - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public java.util.Map getBindingsMap() { - return internalGetBindings().getMap(); - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public flyteidl.core.Literals.BindingData getBindingsOrDefault( - java.lang.String key, - flyteidl.core.Literals.BindingData defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetBindings().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public flyteidl.core.Literals.BindingData getBindingsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetBindings().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearBindings() { - internalGetMutableBindings().getMutableMap() - .clear(); - return this; - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public Builder removeBindings( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableBindings().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableBindings() { - return internalGetMutableBindings().getMutableMap(); - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - public Builder putBindings( - java.lang.String key, - flyteidl.core.Literals.BindingData value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableBindings().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, .flyteidl.core.BindingData> bindings = 1; - */ - - public Builder putAllBindings( - java.util.Map values) { - internalGetMutableBindings().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.BindingDataMap) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.BindingDataMap) - private static final flyteidl.core.Literals.BindingDataMap DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.BindingDataMap(); - } - - public static flyteidl.core.Literals.BindingDataMap getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BindingDataMap parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BindingDataMap(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.Literals.BindingDataMap getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UnionInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.UnionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - boolean hasTargetType(); - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - flyteidl.core.Types.LiteralType getTargetType(); - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getTargetTypeOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.UnionInfo} - */ - public static final class UnionInfo extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.UnionInfo) - UnionInfoOrBuilder { - private static final long serialVersionUID = 0L; - // Use UnionInfo.newBuilder() to construct. - private UnionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UnionInfo() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UnionInfo( - 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.Types.LiteralType.Builder subBuilder = null; - if (targetType_ != null) { - subBuilder = targetType_.toBuilder(); - } - targetType_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(targetType_); - targetType_ = 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.core.Literals.internal_static_flyteidl_core_UnionInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_UnionInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.UnionInfo.class, flyteidl.core.Literals.UnionInfo.Builder.class); - } - - public static final int TARGETTYPE_FIELD_NUMBER = 1; - private flyteidl.core.Types.LiteralType targetType_; - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public boolean hasTargetType() { - return targetType_ != null; - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public flyteidl.core.Types.LiteralType getTargetType() { - return targetType_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : targetType_; - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTargetTypeOrBuilder() { - return getTargetType(); - } - - 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 (targetType_ != null) { - output.writeMessage(1, getTargetType()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (targetType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTargetType()); - } - 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.Literals.UnionInfo)) { - return super.equals(obj); - } - flyteidl.core.Literals.UnionInfo other = (flyteidl.core.Literals.UnionInfo) obj; - - if (hasTargetType() != other.hasTargetType()) return false; - if (hasTargetType()) { - if (!getTargetType() - .equals(other.getTargetType())) 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 (hasTargetType()) { - hash = (37 * hash) + TARGETTYPE_FIELD_NUMBER; - hash = (53 * hash) + getTargetType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.UnionInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.UnionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.UnionInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.UnionInfo 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.Literals.UnionInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.UnionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.UnionInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.UnionInfo 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.Literals.UnionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.UnionInfo 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.Literals.UnionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.UnionInfo 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.Literals.UnionInfo 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.core.UnionInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.UnionInfo) - flyteidl.core.Literals.UnionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_UnionInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_UnionInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.UnionInfo.class, flyteidl.core.Literals.UnionInfo.Builder.class); - } - - // Construct using flyteidl.core.Literals.UnionInfo.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 (targetTypeBuilder_ == null) { - targetType_ = null; - } else { - targetType_ = null; - targetTypeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_UnionInfo_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.UnionInfo getDefaultInstanceForType() { - return flyteidl.core.Literals.UnionInfo.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.UnionInfo build() { - flyteidl.core.Literals.UnionInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.UnionInfo buildPartial() { - flyteidl.core.Literals.UnionInfo result = new flyteidl.core.Literals.UnionInfo(this); - if (targetTypeBuilder_ == null) { - result.targetType_ = targetType_; - } else { - result.targetType_ = targetTypeBuilder_.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.Literals.UnionInfo) { - return mergeFrom((flyteidl.core.Literals.UnionInfo)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.UnionInfo other) { - if (other == flyteidl.core.Literals.UnionInfo.getDefaultInstance()) return this; - if (other.hasTargetType()) { - mergeTargetType(other.getTargetType()); - } - 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.Literals.UnionInfo parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.UnionInfo) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Types.LiteralType targetType_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> targetTypeBuilder_; - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public boolean hasTargetType() { - return targetTypeBuilder_ != null || targetType_ != null; - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public flyteidl.core.Types.LiteralType getTargetType() { - if (targetTypeBuilder_ == null) { - return targetType_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : targetType_; - } else { - return targetTypeBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public Builder setTargetType(flyteidl.core.Types.LiteralType value) { - if (targetTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - targetType_ = value; - onChanged(); - } else { - targetTypeBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public Builder setTargetType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (targetTypeBuilder_ == null) { - targetType_ = builderForValue.build(); - onChanged(); - } else { - targetTypeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public Builder mergeTargetType(flyteidl.core.Types.LiteralType value) { - if (targetTypeBuilder_ == null) { - if (targetType_ != null) { - targetType_ = - flyteidl.core.Types.LiteralType.newBuilder(targetType_).mergeFrom(value).buildPartial(); - } else { - targetType_ = value; - } - onChanged(); - } else { - targetTypeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public Builder clearTargetType() { - if (targetTypeBuilder_ == null) { - targetType_ = null; - onChanged(); - } else { - targetType_ = null; - targetTypeBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public flyteidl.core.Types.LiteralType.Builder getTargetTypeBuilder() { - - onChanged(); - return getTargetTypeFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTargetTypeOrBuilder() { - if (targetTypeBuilder_ != null) { - return targetTypeBuilder_.getMessageOrBuilder(); - } else { - return targetType_ == null ? - flyteidl.core.Types.LiteralType.getDefaultInstance() : targetType_; - } - } - /** - * .flyteidl.core.LiteralType targetType = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getTargetTypeFieldBuilder() { - if (targetTypeBuilder_ == null) { - targetTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - getTargetType(), - getParentForChildren(), - isClean()); - targetType_ = null; - } - return targetTypeBuilder_; - } - @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.UnionInfo) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.UnionInfo) - private static final flyteidl.core.Literals.UnionInfo DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.UnionInfo(); - } - - public static flyteidl.core.Literals.UnionInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UnionInfo(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.Literals.UnionInfo getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BindingDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.BindingData) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A simple scalar value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - boolean hasScalar(); - /** - *
-     * A simple scalar value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - flyteidl.core.Literals.Scalar getScalar(); - /** - *
-     * A simple scalar value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder(); - - /** - *
-     * A collection of binding data. This allows nesting of binding data to any number
-     * of levels.
-     * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - boolean hasCollection(); - /** - *
-     * A collection of binding data. This allows nesting of binding data to any number
-     * of levels.
-     * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - flyteidl.core.Literals.BindingDataCollection getCollection(); - /** - *
-     * A collection of binding data. This allows nesting of binding data to any number
-     * of levels.
-     * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - flyteidl.core.Literals.BindingDataCollectionOrBuilder getCollectionOrBuilder(); - - /** - *
-     * References an output promised by another node.
-     * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - boolean hasPromise(); - /** - *
-     * References an output promised by another node.
-     * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - flyteidl.core.Types.OutputReference getPromise(); - /** - *
-     * References an output promised by another node.
-     * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - flyteidl.core.Types.OutputReferenceOrBuilder getPromiseOrBuilder(); - - /** - *
-     * A map of bindings. The key is always a string.
-     * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - boolean hasMap(); - /** - *
-     * A map of bindings. The key is always a string.
-     * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - flyteidl.core.Literals.BindingDataMap getMap(); - /** - *
-     * A map of bindings. The key is always a string.
-     * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - flyteidl.core.Literals.BindingDataMapOrBuilder getMapOrBuilder(); - - /** - * .flyteidl.core.UnionInfo union = 5; - */ - boolean hasUnion(); - /** - * .flyteidl.core.UnionInfo union = 5; - */ - flyteidl.core.Literals.UnionInfo getUnion(); - /** - * .flyteidl.core.UnionInfo union = 5; - */ - flyteidl.core.Literals.UnionInfoOrBuilder getUnionOrBuilder(); - - public flyteidl.core.Literals.BindingData.ValueCase getValueCase(); - } - /** - *
-   * Specifies either a simple value or a reference to another output.
-   * 
- * - * Protobuf type {@code flyteidl.core.BindingData} - */ - public static final class BindingData extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.BindingData) - BindingDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use BindingData.newBuilder() to construct. - private BindingData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BindingData() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BindingData( - 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.Literals.Scalar.Builder subBuilder = null; - if (valueCase_ == 1) { - subBuilder = ((flyteidl.core.Literals.Scalar) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.Scalar.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Scalar) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 1; - break; - } - case 18: { - flyteidl.core.Literals.BindingDataCollection.Builder subBuilder = null; - if (valueCase_ == 2) { - subBuilder = ((flyteidl.core.Literals.BindingDataCollection) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.BindingDataCollection.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.BindingDataCollection) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 2; - break; - } - case 26: { - flyteidl.core.Types.OutputReference.Builder subBuilder = null; - if (valueCase_ == 3) { - subBuilder = ((flyteidl.core.Types.OutputReference) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Types.OutputReference.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.OutputReference) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 3; - break; - } - case 34: { - flyteidl.core.Literals.BindingDataMap.Builder subBuilder = null; - if (valueCase_ == 4) { - subBuilder = ((flyteidl.core.Literals.BindingDataMap) value_).toBuilder(); - } - value_ = - input.readMessage(flyteidl.core.Literals.BindingDataMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.BindingDataMap) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 4; - break; - } - case 42: { - flyteidl.core.Literals.UnionInfo.Builder subBuilder = null; - if (union_ != null) { - subBuilder = union_.toBuilder(); - } - union_ = input.readMessage(flyteidl.core.Literals.UnionInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(union_); - union_ = 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.core.Literals.internal_static_flyteidl_core_BindingData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BindingData.class, flyteidl.core.Literals.BindingData.Builder.class); - } - - private int valueCase_ = 0; - private java.lang.Object value_; - public enum ValueCase - implements com.google.protobuf.Internal.EnumLite { - SCALAR(1), - COLLECTION(2), - PROMISE(3), - MAP(4), - VALUE_NOT_SET(0); - private final int value; - private ValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValueCase valueOf(int value) { - return forNumber(value); - } - - public static ValueCase forNumber(int value) { - switch (value) { - case 1: return SCALAR; - case 2: return COLLECTION; - case 3: return PROMISE; - case 4: return MAP; - case 0: return VALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public static final int SCALAR_FIELD_NUMBER = 1; - /** - *
-     * A simple scalar value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public boolean hasScalar() { - return valueCase_ == 1; - } - /** - *
-     * A simple scalar value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.Scalar getScalar() { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - /** - *
-     * A simple scalar value.
-     * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder() { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - - public static final int COLLECTION_FIELD_NUMBER = 2; - /** - *
-     * A collection of binding data. This allows nesting of binding data to any number
-     * of levels.
-     * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public boolean hasCollection() { - return valueCase_ == 2; - } - /** - *
-     * A collection of binding data. This allows nesting of binding data to any number
-     * of levels.
-     * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public flyteidl.core.Literals.BindingDataCollection getCollection() { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.BindingDataCollection) value_; - } - return flyteidl.core.Literals.BindingDataCollection.getDefaultInstance(); - } - /** - *
-     * A collection of binding data. This allows nesting of binding data to any number
-     * of levels.
-     * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public flyteidl.core.Literals.BindingDataCollectionOrBuilder getCollectionOrBuilder() { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.BindingDataCollection) value_; - } - return flyteidl.core.Literals.BindingDataCollection.getDefaultInstance(); - } - - public static final int PROMISE_FIELD_NUMBER = 3; - /** - *
-     * References an output promised by another node.
-     * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public boolean hasPromise() { - return valueCase_ == 3; - } - /** - *
-     * References an output promised by another node.
-     * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public flyteidl.core.Types.OutputReference getPromise() { - if (valueCase_ == 3) { - return (flyteidl.core.Types.OutputReference) value_; - } - return flyteidl.core.Types.OutputReference.getDefaultInstance(); - } - /** - *
-     * References an output promised by another node.
-     * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public flyteidl.core.Types.OutputReferenceOrBuilder getPromiseOrBuilder() { - if (valueCase_ == 3) { - return (flyteidl.core.Types.OutputReference) value_; - } - return flyteidl.core.Types.OutputReference.getDefaultInstance(); - } - - public static final int MAP_FIELD_NUMBER = 4; - /** - *
-     * A map of bindings. The key is always a string.
-     * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public boolean hasMap() { - return valueCase_ == 4; - } - /** - *
-     * A map of bindings. The key is always a string.
-     * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public flyteidl.core.Literals.BindingDataMap getMap() { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.BindingDataMap) value_; - } - return flyteidl.core.Literals.BindingDataMap.getDefaultInstance(); - } - /** - *
-     * A map of bindings. The key is always a string.
-     * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public flyteidl.core.Literals.BindingDataMapOrBuilder getMapOrBuilder() { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.BindingDataMap) value_; - } - return flyteidl.core.Literals.BindingDataMap.getDefaultInstance(); - } - - public static final int UNION_FIELD_NUMBER = 5; - private flyteidl.core.Literals.UnionInfo union_; - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public boolean hasUnion() { - return union_ != null; - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public flyteidl.core.Literals.UnionInfo getUnion() { - return union_ == null ? flyteidl.core.Literals.UnionInfo.getDefaultInstance() : union_; - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public flyteidl.core.Literals.UnionInfoOrBuilder getUnionOrBuilder() { - return getUnion(); - } - - 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 (valueCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Literals.Scalar) value_); - } - if (valueCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Literals.BindingDataCollection) value_); - } - if (valueCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Types.OutputReference) value_); - } - if (valueCase_ == 4) { - output.writeMessage(4, (flyteidl.core.Literals.BindingDataMap) value_); - } - if (union_ != null) { - output.writeMessage(5, getUnion()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Literals.Scalar) value_); - } - if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Literals.BindingDataCollection) value_); - } - if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Types.OutputReference) value_); - } - if (valueCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.Literals.BindingDataMap) value_); - } - if (union_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUnion()); - } - 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.Literals.BindingData)) { - return super.equals(obj); - } - flyteidl.core.Literals.BindingData other = (flyteidl.core.Literals.BindingData) obj; - - if (hasUnion() != other.hasUnion()) return false; - if (hasUnion()) { - if (!getUnion() - .equals(other.getUnion())) return false; - } - if (!getValueCase().equals(other.getValueCase())) return false; - switch (valueCase_) { - case 1: - if (!getScalar() - .equals(other.getScalar())) return false; - break; - case 2: - if (!getCollection() - .equals(other.getCollection())) return false; - break; - case 3: - if (!getPromise() - .equals(other.getPromise())) return false; - break; - case 4: - if (!getMap() - .equals(other.getMap())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasUnion()) { - hash = (37 * hash) + UNION_FIELD_NUMBER; - hash = (53 * hash) + getUnion().hashCode(); - } - switch (valueCase_) { - case 1: - hash = (37 * hash) + SCALAR_FIELD_NUMBER; - hash = (53 * hash) + getScalar().hashCode(); - break; - case 2: - hash = (37 * hash) + COLLECTION_FIELD_NUMBER; - hash = (53 * hash) + getCollection().hashCode(); - break; - case 3: - hash = (37 * hash) + PROMISE_FIELD_NUMBER; - hash = (53 * hash) + getPromise().hashCode(); - break; - case 4: - hash = (37 * hash) + MAP_FIELD_NUMBER; - hash = (53 * hash) + getMap().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.BindingData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BindingData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingData 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.Literals.BindingData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.BindingData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.BindingData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingData 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.Literals.BindingData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingData 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.Literals.BindingData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.BindingData 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.Literals.BindingData 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; - } - /** - *
-     * Specifies either a simple value or a reference to another output.
-     * 
- * - * Protobuf type {@code flyteidl.core.BindingData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.BindingData) - flyteidl.core.Literals.BindingDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.BindingData.class, flyteidl.core.Literals.BindingData.Builder.class); - } - - // Construct using flyteidl.core.Literals.BindingData.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 (unionBuilder_ == null) { - union_ = null; - } else { - union_ = null; - unionBuilder_ = null; - } - valueCase_ = 0; - value_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_BindingData_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.BindingData getDefaultInstanceForType() { - return flyteidl.core.Literals.BindingData.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.BindingData build() { - flyteidl.core.Literals.BindingData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.BindingData buildPartial() { - flyteidl.core.Literals.BindingData result = new flyteidl.core.Literals.BindingData(this); - if (valueCase_ == 1) { - if (scalarBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = scalarBuilder_.build(); - } - } - if (valueCase_ == 2) { - if (collectionBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = collectionBuilder_.build(); - } - } - if (valueCase_ == 3) { - if (promiseBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = promiseBuilder_.build(); - } - } - if (valueCase_ == 4) { - if (mapBuilder_ == null) { - result.value_ = value_; - } else { - result.value_ = mapBuilder_.build(); - } - } - if (unionBuilder_ == null) { - result.union_ = union_; - } else { - result.union_ = unionBuilder_.build(); - } - result.valueCase_ = valueCase_; - 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.Literals.BindingData) { - return mergeFrom((flyteidl.core.Literals.BindingData)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.BindingData other) { - if (other == flyteidl.core.Literals.BindingData.getDefaultInstance()) return this; - if (other.hasUnion()) { - mergeUnion(other.getUnion()); - } - switch (other.getValueCase()) { - case SCALAR: { - mergeScalar(other.getScalar()); - break; - } - case COLLECTION: { - mergeCollection(other.getCollection()); - break; - } - case PROMISE: { - mergePromise(other.getPromise()); - break; - } - case MAP: { - mergeMap(other.getMap()); - break; - } - case VALUE_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.Literals.BindingData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.BindingData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int valueCase_ = 0; - private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public Builder clearValue() { - valueCase_ = 0; - value_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> scalarBuilder_; - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public boolean hasScalar() { - return valueCase_ == 1; - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.Scalar getScalar() { - if (scalarBuilder_ == null) { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } else { - if (valueCase_ == 1) { - return scalarBuilder_.getMessage(); - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder setScalar(flyteidl.core.Literals.Scalar value) { - if (scalarBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - scalarBuilder_.setMessage(value); - } - valueCase_ = 1; - return this; - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder setScalar( - flyteidl.core.Literals.Scalar.Builder builderForValue) { - if (scalarBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - scalarBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 1; - return this; - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder mergeScalar(flyteidl.core.Literals.Scalar value) { - if (scalarBuilder_ == null) { - if (valueCase_ == 1 && - value_ != flyteidl.core.Literals.Scalar.getDefaultInstance()) { - value_ = flyteidl.core.Literals.Scalar.newBuilder((flyteidl.core.Literals.Scalar) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 1) { - scalarBuilder_.mergeFrom(value); - } - scalarBuilder_.setMessage(value); - } - valueCase_ = 1; - return this; - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public Builder clearScalar() { - if (scalarBuilder_ == null) { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - } - scalarBuilder_.clear(); - } - return this; - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.Scalar.Builder getScalarBuilder() { - return getScalarFieldBuilder().getBuilder(); - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - public flyteidl.core.Literals.ScalarOrBuilder getScalarOrBuilder() { - if ((valueCase_ == 1) && (scalarBuilder_ != null)) { - return scalarBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 1) { - return (flyteidl.core.Literals.Scalar) value_; - } - return flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - } - /** - *
-       * A simple scalar value.
-       * 
- * - * .flyteidl.core.Scalar scalar = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> - getScalarFieldBuilder() { - if (scalarBuilder_ == null) { - if (!(valueCase_ == 1)) { - value_ = flyteidl.core.Literals.Scalar.getDefaultInstance(); - } - scalarBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder>( - (flyteidl.core.Literals.Scalar) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 1; - onChanged();; - return scalarBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingDataCollection, flyteidl.core.Literals.BindingDataCollection.Builder, flyteidl.core.Literals.BindingDataCollectionOrBuilder> collectionBuilder_; - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public boolean hasCollection() { - return valueCase_ == 2; - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public flyteidl.core.Literals.BindingDataCollection getCollection() { - if (collectionBuilder_ == null) { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.BindingDataCollection) value_; - } - return flyteidl.core.Literals.BindingDataCollection.getDefaultInstance(); - } else { - if (valueCase_ == 2) { - return collectionBuilder_.getMessage(); - } - return flyteidl.core.Literals.BindingDataCollection.getDefaultInstance(); - } - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public Builder setCollection(flyteidl.core.Literals.BindingDataCollection value) { - if (collectionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - collectionBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public Builder setCollection( - flyteidl.core.Literals.BindingDataCollection.Builder builderForValue) { - if (collectionBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - collectionBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 2; - return this; - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public Builder mergeCollection(flyteidl.core.Literals.BindingDataCollection value) { - if (collectionBuilder_ == null) { - if (valueCase_ == 2 && - value_ != flyteidl.core.Literals.BindingDataCollection.getDefaultInstance()) { - value_ = flyteidl.core.Literals.BindingDataCollection.newBuilder((flyteidl.core.Literals.BindingDataCollection) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 2) { - collectionBuilder_.mergeFrom(value); - } - collectionBuilder_.setMessage(value); - } - valueCase_ = 2; - return this; - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public Builder clearCollection() { - if (collectionBuilder_ == null) { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - } - collectionBuilder_.clear(); - } - return this; - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public flyteidl.core.Literals.BindingDataCollection.Builder getCollectionBuilder() { - return getCollectionFieldBuilder().getBuilder(); - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - public flyteidl.core.Literals.BindingDataCollectionOrBuilder getCollectionOrBuilder() { - if ((valueCase_ == 2) && (collectionBuilder_ != null)) { - return collectionBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 2) { - return (flyteidl.core.Literals.BindingDataCollection) value_; - } - return flyteidl.core.Literals.BindingDataCollection.getDefaultInstance(); - } - } - /** - *
-       * A collection of binding data. This allows nesting of binding data to any number
-       * of levels.
-       * 
- * - * .flyteidl.core.BindingDataCollection collection = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingDataCollection, flyteidl.core.Literals.BindingDataCollection.Builder, flyteidl.core.Literals.BindingDataCollectionOrBuilder> - getCollectionFieldBuilder() { - if (collectionBuilder_ == null) { - if (!(valueCase_ == 2)) { - value_ = flyteidl.core.Literals.BindingDataCollection.getDefaultInstance(); - } - collectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingDataCollection, flyteidl.core.Literals.BindingDataCollection.Builder, flyteidl.core.Literals.BindingDataCollectionOrBuilder>( - (flyteidl.core.Literals.BindingDataCollection) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 2; - onChanged();; - return collectionBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.OutputReference, flyteidl.core.Types.OutputReference.Builder, flyteidl.core.Types.OutputReferenceOrBuilder> promiseBuilder_; - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public boolean hasPromise() { - return valueCase_ == 3; - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public flyteidl.core.Types.OutputReference getPromise() { - if (promiseBuilder_ == null) { - if (valueCase_ == 3) { - return (flyteidl.core.Types.OutputReference) value_; - } - return flyteidl.core.Types.OutputReference.getDefaultInstance(); - } else { - if (valueCase_ == 3) { - return promiseBuilder_.getMessage(); - } - return flyteidl.core.Types.OutputReference.getDefaultInstance(); - } - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public Builder setPromise(flyteidl.core.Types.OutputReference value) { - if (promiseBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - promiseBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public Builder setPromise( - flyteidl.core.Types.OutputReference.Builder builderForValue) { - if (promiseBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - promiseBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 3; - return this; - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public Builder mergePromise(flyteidl.core.Types.OutputReference value) { - if (promiseBuilder_ == null) { - if (valueCase_ == 3 && - value_ != flyteidl.core.Types.OutputReference.getDefaultInstance()) { - value_ = flyteidl.core.Types.OutputReference.newBuilder((flyteidl.core.Types.OutputReference) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 3) { - promiseBuilder_.mergeFrom(value); - } - promiseBuilder_.setMessage(value); - } - valueCase_ = 3; - return this; - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public Builder clearPromise() { - if (promiseBuilder_ == null) { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 3) { - valueCase_ = 0; - value_ = null; - } - promiseBuilder_.clear(); - } - return this; - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public flyteidl.core.Types.OutputReference.Builder getPromiseBuilder() { - return getPromiseFieldBuilder().getBuilder(); - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - public flyteidl.core.Types.OutputReferenceOrBuilder getPromiseOrBuilder() { - if ((valueCase_ == 3) && (promiseBuilder_ != null)) { - return promiseBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 3) { - return (flyteidl.core.Types.OutputReference) value_; - } - return flyteidl.core.Types.OutputReference.getDefaultInstance(); - } - } - /** - *
-       * References an output promised by another node.
-       * 
- * - * .flyteidl.core.OutputReference promise = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.OutputReference, flyteidl.core.Types.OutputReference.Builder, flyteidl.core.Types.OutputReferenceOrBuilder> - getPromiseFieldBuilder() { - if (promiseBuilder_ == null) { - if (!(valueCase_ == 3)) { - value_ = flyteidl.core.Types.OutputReference.getDefaultInstance(); - } - promiseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.OutputReference, flyteidl.core.Types.OutputReference.Builder, flyteidl.core.Types.OutputReferenceOrBuilder>( - (flyteidl.core.Types.OutputReference) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 3; - onChanged();; - return promiseBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingDataMap, flyteidl.core.Literals.BindingDataMap.Builder, flyteidl.core.Literals.BindingDataMapOrBuilder> mapBuilder_; - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public boolean hasMap() { - return valueCase_ == 4; - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public flyteidl.core.Literals.BindingDataMap getMap() { - if (mapBuilder_ == null) { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.BindingDataMap) value_; - } - return flyteidl.core.Literals.BindingDataMap.getDefaultInstance(); - } else { - if (valueCase_ == 4) { - return mapBuilder_.getMessage(); - } - return flyteidl.core.Literals.BindingDataMap.getDefaultInstance(); - } - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public Builder setMap(flyteidl.core.Literals.BindingDataMap value) { - if (mapBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - value_ = value; - onChanged(); - } else { - mapBuilder_.setMessage(value); - } - valueCase_ = 4; - return this; - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public Builder setMap( - flyteidl.core.Literals.BindingDataMap.Builder builderForValue) { - if (mapBuilder_ == null) { - value_ = builderForValue.build(); - onChanged(); - } else { - mapBuilder_.setMessage(builderForValue.build()); - } - valueCase_ = 4; - return this; - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public Builder mergeMap(flyteidl.core.Literals.BindingDataMap value) { - if (mapBuilder_ == null) { - if (valueCase_ == 4 && - value_ != flyteidl.core.Literals.BindingDataMap.getDefaultInstance()) { - value_ = flyteidl.core.Literals.BindingDataMap.newBuilder((flyteidl.core.Literals.BindingDataMap) value_) - .mergeFrom(value).buildPartial(); - } else { - value_ = value; - } - onChanged(); - } else { - if (valueCase_ == 4) { - mapBuilder_.mergeFrom(value); - } - mapBuilder_.setMessage(value); - } - valueCase_ = 4; - return this; - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public Builder clearMap() { - if (mapBuilder_ == null) { - if (valueCase_ == 4) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - } else { - if (valueCase_ == 4) { - valueCase_ = 0; - value_ = null; - } - mapBuilder_.clear(); - } - return this; - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public flyteidl.core.Literals.BindingDataMap.Builder getMapBuilder() { - return getMapFieldBuilder().getBuilder(); - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - public flyteidl.core.Literals.BindingDataMapOrBuilder getMapOrBuilder() { - if ((valueCase_ == 4) && (mapBuilder_ != null)) { - return mapBuilder_.getMessageOrBuilder(); - } else { - if (valueCase_ == 4) { - return (flyteidl.core.Literals.BindingDataMap) value_; - } - return flyteidl.core.Literals.BindingDataMap.getDefaultInstance(); - } - } - /** - *
-       * A map of bindings. The key is always a string.
-       * 
- * - * .flyteidl.core.BindingDataMap map = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingDataMap, flyteidl.core.Literals.BindingDataMap.Builder, flyteidl.core.Literals.BindingDataMapOrBuilder> - getMapFieldBuilder() { - if (mapBuilder_ == null) { - if (!(valueCase_ == 4)) { - value_ = flyteidl.core.Literals.BindingDataMap.getDefaultInstance(); - } - mapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingDataMap, flyteidl.core.Literals.BindingDataMap.Builder, flyteidl.core.Literals.BindingDataMapOrBuilder>( - (flyteidl.core.Literals.BindingDataMap) value_, - getParentForChildren(), - isClean()); - value_ = null; - } - valueCase_ = 4; - onChanged();; - return mapBuilder_; - } - - private flyteidl.core.Literals.UnionInfo union_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.UnionInfo, flyteidl.core.Literals.UnionInfo.Builder, flyteidl.core.Literals.UnionInfoOrBuilder> unionBuilder_; - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public boolean hasUnion() { - return unionBuilder_ != null || union_ != null; - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public flyteidl.core.Literals.UnionInfo getUnion() { - if (unionBuilder_ == null) { - return union_ == null ? flyteidl.core.Literals.UnionInfo.getDefaultInstance() : union_; - } else { - return unionBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public Builder setUnion(flyteidl.core.Literals.UnionInfo value) { - if (unionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - union_ = value; - onChanged(); - } else { - unionBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public Builder setUnion( - flyteidl.core.Literals.UnionInfo.Builder builderForValue) { - if (unionBuilder_ == null) { - union_ = builderForValue.build(); - onChanged(); - } else { - unionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public Builder mergeUnion(flyteidl.core.Literals.UnionInfo value) { - if (unionBuilder_ == null) { - if (union_ != null) { - union_ = - flyteidl.core.Literals.UnionInfo.newBuilder(union_).mergeFrom(value).buildPartial(); - } else { - union_ = value; - } - onChanged(); - } else { - unionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public Builder clearUnion() { - if (unionBuilder_ == null) { - union_ = null; - onChanged(); - } else { - union_ = null; - unionBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public flyteidl.core.Literals.UnionInfo.Builder getUnionBuilder() { - - onChanged(); - return getUnionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - public flyteidl.core.Literals.UnionInfoOrBuilder getUnionOrBuilder() { - if (unionBuilder_ != null) { - return unionBuilder_.getMessageOrBuilder(); - } else { - return union_ == null ? - flyteidl.core.Literals.UnionInfo.getDefaultInstance() : union_; - } - } - /** - * .flyteidl.core.UnionInfo union = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.UnionInfo, flyteidl.core.Literals.UnionInfo.Builder, flyteidl.core.Literals.UnionInfoOrBuilder> - getUnionFieldBuilder() { - if (unionBuilder_ == null) { - unionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.UnionInfo, flyteidl.core.Literals.UnionInfo.Builder, flyteidl.core.Literals.UnionInfoOrBuilder>( - getUnion(), - getParentForChildren(), - isClean()); - union_ = null; - } - return unionBuilder_; - } - @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.BindingData) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.BindingData) - private static final flyteidl.core.Literals.BindingData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.BindingData(); - } - - public static flyteidl.core.Literals.BindingData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BindingData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BindingData(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.Literals.BindingData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BindingOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Binding) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Variable name must match an input/output variable of the node.
-     * 
- * - * string var = 1; - */ - java.lang.String getVar(); - /** - *
-     * Variable name must match an input/output variable of the node.
-     * 
- * - * string var = 1; - */ - com.google.protobuf.ByteString - getVarBytes(); - - /** - *
-     * Data to use to bind this variable.
-     * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - boolean hasBinding(); - /** - *
-     * Data to use to bind this variable.
-     * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - flyteidl.core.Literals.BindingData getBinding(); - /** - *
-     * Data to use to bind this variable.
-     * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - flyteidl.core.Literals.BindingDataOrBuilder getBindingOrBuilder(); - } - /** - *
-   * An input/output binding of a variable to either static value or a node output.
-   * 
- * - * Protobuf type {@code flyteidl.core.Binding} - */ - public static final class Binding extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Binding) - BindingOrBuilder { - private static final long serialVersionUID = 0L; - // Use Binding.newBuilder() to construct. - private Binding(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Binding() { - var_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Binding( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - var_ = s; - break; - } - case 18: { - flyteidl.core.Literals.BindingData.Builder subBuilder = null; - if (binding_ != null) { - subBuilder = binding_.toBuilder(); - } - binding_ = input.readMessage(flyteidl.core.Literals.BindingData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(binding_); - binding_ = 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.core.Literals.internal_static_flyteidl_core_Binding_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binding_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Binding.class, flyteidl.core.Literals.Binding.Builder.class); - } - - public static final int VAR_FIELD_NUMBER = 1; - private volatile java.lang.Object var_; - /** - *
-     * Variable name must match an input/output variable of the node.
-     * 
- * - * string var = 1; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - 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(); - var_ = s; - return s; - } - } - /** - *
-     * Variable name must match an input/output variable of the node.
-     * 
- * - * string var = 1; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BINDING_FIELD_NUMBER = 2; - private flyteidl.core.Literals.BindingData binding_; - /** - *
-     * Data to use to bind this variable.
-     * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public boolean hasBinding() { - return binding_ != null; - } - /** - *
-     * Data to use to bind this variable.
-     * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public flyteidl.core.Literals.BindingData getBinding() { - return binding_ == null ? flyteidl.core.Literals.BindingData.getDefaultInstance() : binding_; - } - /** - *
-     * Data to use to bind this variable.
-     * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public flyteidl.core.Literals.BindingDataOrBuilder getBindingOrBuilder() { - return getBinding(); - } - - 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 (!getVarBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, var_); - } - if (binding_ != null) { - output.writeMessage(2, getBinding()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getVarBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, var_); - } - if (binding_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getBinding()); - } - 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.Literals.Binding)) { - return super.equals(obj); - } - flyteidl.core.Literals.Binding other = (flyteidl.core.Literals.Binding) obj; - - if (!getVar() - .equals(other.getVar())) return false; - if (hasBinding() != other.hasBinding()) return false; - if (hasBinding()) { - if (!getBinding() - .equals(other.getBinding())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VAR_FIELD_NUMBER; - hash = (53 * hash) + getVar().hashCode(); - if (hasBinding()) { - hash = (37 * hash) + BINDING_FIELD_NUMBER; - hash = (53 * hash) + getBinding().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.Binding parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Binding parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Binding parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Binding 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.Literals.Binding parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.Binding parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.Binding parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Binding 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.Literals.Binding parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Binding 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.Literals.Binding parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.Binding 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.Literals.Binding 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; - } - /** - *
-     * An input/output binding of a variable to either static value or a node output.
-     * 
- * - * Protobuf type {@code flyteidl.core.Binding} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Binding) - flyteidl.core.Literals.BindingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binding_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binding_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.Binding.class, flyteidl.core.Literals.Binding.Builder.class); - } - - // Construct using flyteidl.core.Literals.Binding.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(); - var_ = ""; - - if (bindingBuilder_ == null) { - binding_ = null; - } else { - binding_ = null; - bindingBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_Binding_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.Binding getDefaultInstanceForType() { - return flyteidl.core.Literals.Binding.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.Binding build() { - flyteidl.core.Literals.Binding result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.Binding buildPartial() { - flyteidl.core.Literals.Binding result = new flyteidl.core.Literals.Binding(this); - result.var_ = var_; - if (bindingBuilder_ == null) { - result.binding_ = binding_; - } else { - result.binding_ = bindingBuilder_.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.Literals.Binding) { - return mergeFrom((flyteidl.core.Literals.Binding)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.Binding other) { - if (other == flyteidl.core.Literals.Binding.getDefaultInstance()) return this; - if (!other.getVar().isEmpty()) { - var_ = other.var_; - onChanged(); - } - if (other.hasBinding()) { - mergeBinding(other.getBinding()); - } - 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.Literals.Binding parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.Binding) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object var_ = ""; - /** - *
-       * Variable name must match an input/output variable of the node.
-       * 
- * - * string var = 1; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - var_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Variable name must match an input/output variable of the node.
-       * 
- * - * string var = 1; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Variable name must match an input/output variable of the node.
-       * 
- * - * string var = 1; - */ - public Builder setVar( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - var_ = value; - onChanged(); - return this; - } - /** - *
-       * Variable name must match an input/output variable of the node.
-       * 
- * - * string var = 1; - */ - public Builder clearVar() { - - var_ = getDefaultInstance().getVar(); - onChanged(); - return this; - } - /** - *
-       * Variable name must match an input/output variable of the node.
-       * 
- * - * string var = 1; - */ - public Builder setVarBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - var_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Literals.BindingData binding_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingData, flyteidl.core.Literals.BindingData.Builder, flyteidl.core.Literals.BindingDataOrBuilder> bindingBuilder_; - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public boolean hasBinding() { - return bindingBuilder_ != null || binding_ != null; - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public flyteidl.core.Literals.BindingData getBinding() { - if (bindingBuilder_ == null) { - return binding_ == null ? flyteidl.core.Literals.BindingData.getDefaultInstance() : binding_; - } else { - return bindingBuilder_.getMessage(); - } - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public Builder setBinding(flyteidl.core.Literals.BindingData value) { - if (bindingBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - binding_ = value; - onChanged(); - } else { - bindingBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public Builder setBinding( - flyteidl.core.Literals.BindingData.Builder builderForValue) { - if (bindingBuilder_ == null) { - binding_ = builderForValue.build(); - onChanged(); - } else { - bindingBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public Builder mergeBinding(flyteidl.core.Literals.BindingData value) { - if (bindingBuilder_ == null) { - if (binding_ != null) { - binding_ = - flyteidl.core.Literals.BindingData.newBuilder(binding_).mergeFrom(value).buildPartial(); - } else { - binding_ = value; - } - onChanged(); - } else { - bindingBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public Builder clearBinding() { - if (bindingBuilder_ == null) { - binding_ = null; - onChanged(); - } else { - binding_ = null; - bindingBuilder_ = null; - } - - return this; - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public flyteidl.core.Literals.BindingData.Builder getBindingBuilder() { - - onChanged(); - return getBindingFieldBuilder().getBuilder(); - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - public flyteidl.core.Literals.BindingDataOrBuilder getBindingOrBuilder() { - if (bindingBuilder_ != null) { - return bindingBuilder_.getMessageOrBuilder(); - } else { - return binding_ == null ? - flyteidl.core.Literals.BindingData.getDefaultInstance() : binding_; - } - } - /** - *
-       * Data to use to bind this variable.
-       * 
- * - * .flyteidl.core.BindingData binding = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingData, flyteidl.core.Literals.BindingData.Builder, flyteidl.core.Literals.BindingDataOrBuilder> - getBindingFieldBuilder() { - if (bindingBuilder_ == null) { - bindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.BindingData, flyteidl.core.Literals.BindingData.Builder, flyteidl.core.Literals.BindingDataOrBuilder>( - getBinding(), - getParentForChildren(), - isClean()); - binding_ = null; - } - return bindingBuilder_; - } - @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.Binding) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Binding) - private static final flyteidl.core.Literals.Binding DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.Binding(); - } - - public static flyteidl.core.Literals.Binding getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Binding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Binding(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.Literals.Binding getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface KeyValuePairOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.KeyValuePair) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     *required.
-     * 
- * - * string key = 1; - */ - java.lang.String getKey(); - /** - *
-     *required.
-     * 
- * - * string key = 1; - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - *
-     *+optional.
-     * 
- * - * string value = 2; - */ - java.lang.String getValue(); - /** - *
-     *+optional.
-     * 
- * - * string value = 2; - */ - com.google.protobuf.ByteString - getValueBytes(); - } - /** - *
-   * A generic key value pair.
-   * 
- * - * Protobuf type {@code flyteidl.core.KeyValuePair} - */ - public static final class KeyValuePair extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.KeyValuePair) - KeyValuePairOrBuilder { - private static final long serialVersionUID = 0L; - // Use KeyValuePair.newBuilder() to construct. - private KeyValuePair(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private KeyValuePair() { - key_ = ""; - value_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private KeyValuePair( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_KeyValuePair_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.KeyValuePair.class, flyteidl.core.Literals.KeyValuePair.Builder.class); - } - - public static final int KEY_FIELD_NUMBER = 1; - private volatile java.lang.Object key_; - /** - *
-     *required.
-     * 
- * - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - 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(); - key_ = s; - return s; - } - } - /** - *
-     *required.
-     * 
- * - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - /** - *
-     *+optional.
-     * 
- * - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - 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(); - value_ = s; - return s; - } - } - /** - *
-     *+optional.
-     * 
- * - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = 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 (!getKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); - } - if (!getValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); - } - if (!getValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - 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.Literals.KeyValuePair)) { - return super.equals(obj); - } - flyteidl.core.Literals.KeyValuePair other = (flyteidl.core.Literals.KeyValuePair) obj; - - if (!getKey() - .equals(other.getKey())) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.KeyValuePair parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.KeyValuePair parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.KeyValuePair parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.KeyValuePair 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.Literals.KeyValuePair parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.KeyValuePair parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.KeyValuePair parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.KeyValuePair 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.Literals.KeyValuePair parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.KeyValuePair 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.Literals.KeyValuePair parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.KeyValuePair 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.Literals.KeyValuePair 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 generic key value pair.
-     * 
- * - * Protobuf type {@code flyteidl.core.KeyValuePair} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.KeyValuePair) - flyteidl.core.Literals.KeyValuePairOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_KeyValuePair_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_KeyValuePair_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.KeyValuePair.class, flyteidl.core.Literals.KeyValuePair.Builder.class); - } - - // Construct using flyteidl.core.Literals.KeyValuePair.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(); - key_ = ""; - - value_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_KeyValuePair_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.KeyValuePair getDefaultInstanceForType() { - return flyteidl.core.Literals.KeyValuePair.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.KeyValuePair build() { - flyteidl.core.Literals.KeyValuePair result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.KeyValuePair buildPartial() { - flyteidl.core.Literals.KeyValuePair result = new flyteidl.core.Literals.KeyValuePair(this); - result.key_ = key_; - result.value_ = value_; - 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.Literals.KeyValuePair) { - return mergeFrom((flyteidl.core.Literals.KeyValuePair)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.KeyValuePair other) { - if (other == flyteidl.core.Literals.KeyValuePair.getDefaultInstance()) return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - onChanged(); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Literals.KeyValuePair parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.KeyValuePair) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object key_ = ""; - /** - *
-       *required.
-       * 
- * - * string key = 1; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       *required.
-       * 
- * - * string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       *required.
-       * 
- * - * string key = 1; - */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - key_ = value; - onChanged(); - return this; - } - /** - *
-       *required.
-       * 
- * - * string key = 1; - */ - public Builder clearKey() { - - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - *
-       *required.
-       * 
- * - * string key = 1; - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - key_ = value; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - /** - *
-       *+optional.
-       * 
- * - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       *+optional.
-       * 
- * - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       *+optional.
-       * 
- * - * string value = 2; - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - value_ = value; - onChanged(); - return this; - } - /** - *
-       *+optional.
-       * 
- * - * string value = 2; - */ - public Builder clearValue() { - - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - *
-       *+optional.
-       * 
- * - * string value = 2; - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - value_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.KeyValuePair) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.KeyValuePair) - private static final flyteidl.core.Literals.KeyValuePair DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.KeyValuePair(); - } - - public static flyteidl.core.Literals.KeyValuePair getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeyValuePair parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new KeyValuePair(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.Literals.KeyValuePair getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RetryStrategyOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.RetryStrategy) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Number of retries. Retries will be consumed when the job fails with a recoverable error.
-     * The number of retries must be less than or equals to 10.
-     * 
- * - * uint32 retries = 5; - */ - int getRetries(); - } - /** - *
-   * Retry strategy associated with an executable unit.
-   * 
- * - * Protobuf type {@code flyteidl.core.RetryStrategy} - */ - public static final class RetryStrategy extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.RetryStrategy) - RetryStrategyOrBuilder { - private static final long serialVersionUID = 0L; - // Use RetryStrategy.newBuilder() to construct. - private RetryStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RetryStrategy() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RetryStrategy( - 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 40: { - - retries_ = input.readUInt32(); - 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.Literals.internal_static_flyteidl_core_RetryStrategy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_RetryStrategy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.RetryStrategy.class, flyteidl.core.Literals.RetryStrategy.Builder.class); - } - - public static final int RETRIES_FIELD_NUMBER = 5; - private int retries_; - /** - *
-     * Number of retries. Retries will be consumed when the job fails with a recoverable error.
-     * The number of retries must be less than or equals to 10.
-     * 
- * - * uint32 retries = 5; - */ - public int getRetries() { - return retries_; - } - - 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 (retries_ != 0) { - output.writeUInt32(5, retries_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (retries_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, retries_); - } - 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.Literals.RetryStrategy)) { - return super.equals(obj); - } - flyteidl.core.Literals.RetryStrategy other = (flyteidl.core.Literals.RetryStrategy) obj; - - if (getRetries() - != other.getRetries()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RETRIES_FIELD_NUMBER; - hash = (53 * hash) + getRetries(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Literals.RetryStrategy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.RetryStrategy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.RetryStrategy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.RetryStrategy 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.Literals.RetryStrategy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Literals.RetryStrategy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Literals.RetryStrategy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.RetryStrategy 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.Literals.RetryStrategy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.RetryStrategy 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.Literals.RetryStrategy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Literals.RetryStrategy 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.Literals.RetryStrategy 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; - } - /** - *
-     * Retry strategy associated with an executable unit.
-     * 
- * - * Protobuf type {@code flyteidl.core.RetryStrategy} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.RetryStrategy) - flyteidl.core.Literals.RetryStrategyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Literals.internal_static_flyteidl_core_RetryStrategy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Literals.internal_static_flyteidl_core_RetryStrategy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Literals.RetryStrategy.class, flyteidl.core.Literals.RetryStrategy.Builder.class); - } - - // Construct using flyteidl.core.Literals.RetryStrategy.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(); - retries_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Literals.internal_static_flyteidl_core_RetryStrategy_descriptor; - } - - @java.lang.Override - public flyteidl.core.Literals.RetryStrategy getDefaultInstanceForType() { - return flyteidl.core.Literals.RetryStrategy.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Literals.RetryStrategy build() { - flyteidl.core.Literals.RetryStrategy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Literals.RetryStrategy buildPartial() { - flyteidl.core.Literals.RetryStrategy result = new flyteidl.core.Literals.RetryStrategy(this); - result.retries_ = retries_; - 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.Literals.RetryStrategy) { - return mergeFrom((flyteidl.core.Literals.RetryStrategy)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Literals.RetryStrategy other) { - if (other == flyteidl.core.Literals.RetryStrategy.getDefaultInstance()) return this; - if (other.getRetries() != 0) { - setRetries(other.getRetries()); - } - 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.Literals.RetryStrategy parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Literals.RetryStrategy) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int retries_ ; - /** - *
-       * Number of retries. Retries will be consumed when the job fails with a recoverable error.
-       * The number of retries must be less than or equals to 10.
-       * 
- * - * uint32 retries = 5; - */ - public int getRetries() { - return retries_; - } - /** - *
-       * Number of retries. Retries will be consumed when the job fails with a recoverable error.
-       * The number of retries must be less than or equals to 10.
-       * 
- * - * uint32 retries = 5; - */ - public Builder setRetries(int value) { - - retries_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of retries. Retries will be consumed when the job fails with a recoverable error.
-       * The number of retries must be less than or equals to 10.
-       * 
- * - * uint32 retries = 5; - */ - public Builder clearRetries() { - - retries_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.RetryStrategy) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.RetryStrategy) - private static final flyteidl.core.Literals.RetryStrategy DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Literals.RetryStrategy(); - } - - public static flyteidl.core.Literals.RetryStrategy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryStrategy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryStrategy(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.Literals.RetryStrategy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Primitive_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Primitive_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Void_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Void_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Blob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Blob_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BlobMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BlobMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Binary_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Binary_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Schema_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Schema_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Union_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Union_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_StructuredDatasetMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_StructuredDatasetMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_StructuredDataset_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_StructuredDataset_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Scalar_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Scalar_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Literal_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Literal_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Literal_MetadataEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Literal_MetadataEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_LiteralCollection_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_LiteralCollection_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_LiteralMap_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_LiteralMap_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_LiteralMap_LiteralsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_LiteralMap_LiteralsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BindingDataCollection_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BindingDataCollection_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BindingDataMap_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BindingDataMap_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BindingDataMap_BindingsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BindingDataMap_BindingsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_UnionInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_UnionInfo_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BindingData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BindingData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Binding_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Binding_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_KeyValuePair_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_KeyValuePair_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_RetryStrategy_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_RetryStrategy_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/core/literals.proto\022\rflyteidl" + - ".core\032\037google/protobuf/timestamp.proto\032\036" + - "google/protobuf/duration.proto\032\034google/p" + - "rotobuf/struct.proto\032\031flyteidl/core/type" + - "s.proto\"\310\001\n\tPrimitive\022\021\n\007integer\030\001 \001(\003H\000" + - "\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014string_value\030" + - "\003 \001(\tH\000\022\021\n\007boolean\030\004 \001(\010H\000\022.\n\010datetime\030\005" + - " \001(\0132\032.google.protobuf.TimestampH\000\022-\n\010du" + - "ration\030\006 \001(\0132\031.google.protobuf.DurationH" + - "\000B\007\n\005value\"\006\n\004Void\"B\n\004Blob\022-\n\010metadata\030\001" + - " \001(\0132\033.flyteidl.core.BlobMetadata\022\013\n\003uri" + - "\030\003 \001(\t\"5\n\014BlobMetadata\022%\n\004type\030\001 \001(\0132\027.f" + - "lyteidl.core.BlobType\"$\n\006Binary\022\r\n\005value" + - "\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\">\n\006Schema\022\013\n\003uri\030\001 \001" + - "(\t\022\'\n\004type\030\003 \001(\0132\031.flyteidl.core.SchemaT" + - "ype\"X\n\005Union\022%\n\005value\030\001 \001(\0132\026.flyteidl.c" + - "ore.Literal\022(\n\004type\030\002 \001(\0132\032.flyteidl.cor" + - "e.LiteralType\"b\n\031StructuredDatasetMetada" + - "ta\022E\n\027structured_dataset_type\030\001 \001(\0132$.fl" + - "yteidl.core.StructuredDatasetType\"\\\n\021Str" + - "ucturedDataset\022\013\n\003uri\030\001 \001(\t\022:\n\010metadata\030" + - "\002 \001(\0132(.flyteidl.core.StructuredDatasetM" + - "etadata\"\233\003\n\006Scalar\022-\n\tprimitive\030\001 \001(\0132\030." + - "flyteidl.core.PrimitiveH\000\022#\n\004blob\030\002 \001(\0132" + - "\023.flyteidl.core.BlobH\000\022\'\n\006binary\030\003 \001(\0132\025" + - ".flyteidl.core.BinaryH\000\022\'\n\006schema\030\004 \001(\0132" + - "\025.flyteidl.core.SchemaH\000\022(\n\tnone_type\030\005 " + - "\001(\0132\023.flyteidl.core.VoidH\000\022%\n\005error\030\006 \001(" + - "\0132\024.flyteidl.core.ErrorH\000\022*\n\007generic\030\007 \001" + - "(\0132\027.google.protobuf.StructH\000\022>\n\022structu" + - "red_dataset\030\010 \001(\0132 .flyteidl.core.Struct" + - "uredDatasetH\000\022%\n\005union\030\t \001(\0132\024.flyteidl." + - "core.UnionH\000B\007\n\005value\"\224\002\n\007Literal\022\'\n\006sca" + - "lar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\0226\n\nco" + - "llection\030\002 \001(\0132 .flyteidl.core.LiteralCo" + - "llectionH\000\022(\n\003map\030\003 \001(\0132\031.flyteidl.core." + - "LiteralMapH\000\022\014\n\004hash\030\004 \001(\t\0226\n\010metadata\030\005" + - " \003(\0132$.flyteidl.core.Literal.MetadataEnt" + - "ry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001B\007\n\005value\"=\n\021LiteralCollectio" + - "n\022(\n\010literals\030\001 \003(\0132\026.flyteidl.core.Lite" + - "ral\"\220\001\n\nLiteralMap\0229\n\010literals\030\001 \003(\0132\'.f" + - "lyteidl.core.LiteralMap.LiteralsEntry\032G\n" + - "\rLiteralsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001" + - "(\0132\026.flyteidl.core.Literal:\0028\001\"E\n\025Bindin" + - "gDataCollection\022,\n\010bindings\030\001 \003(\0132\032.flyt" + - "eidl.core.BindingData\"\234\001\n\016BindingDataMap" + - "\022=\n\010bindings\030\001 \003(\0132+.flyteidl.core.Bindi" + - "ngDataMap.BindingsEntry\032K\n\rBindingsEntry" + - "\022\013\n\003key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.flyteidl." + - "core.BindingData:\0028\001\";\n\tUnionInfo\022.\n\ntar" + - "getType\030\001 \001(\0132\032.flyteidl.core.LiteralTyp" + - "e\"\205\002\n\013BindingData\022\'\n\006scalar\030\001 \001(\0132\025.flyt" + - "eidl.core.ScalarH\000\022:\n\ncollection\030\002 \001(\0132$" + - ".flyteidl.core.BindingDataCollectionH\000\0221" + - "\n\007promise\030\003 \001(\0132\036.flyteidl.core.OutputRe" + - "ferenceH\000\022,\n\003map\030\004 \001(\0132\035.flyteidl.core.B" + - "indingDataMapH\000\022\'\n\005union\030\005 \001(\0132\030.flyteid" + - "l.core.UnionInfoB\007\n\005value\"C\n\007Binding\022\013\n\003" + - "var\030\001 \001(\t\022+\n\007binding\030\002 \001(\0132\032.flyteidl.co" + - "re.BindingData\"*\n\014KeyValuePair\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\t\" \n\rRetryStrategy\022\017\n\007r" + - "etries\030\005 \001(\rB - * start_time defines the instance this span began. - * - * - * .google.protobuf.Timestamp start_time = 1; - */ - boolean hasStartTime(); - /** - *
-     * start_time defines the instance this span began.
-     * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - com.google.protobuf.Timestamp getStartTime(); - /** - *
-     * start_time defines the instance this span began.
-     * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); - - /** - *
-     * end_time defines the instance this span completed.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - boolean hasEndTime(); - /** - *
-     * end_time defines the instance this span completed.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - com.google.protobuf.Timestamp getEndTime(); - /** - *
-     * end_time defines the instance this span completed.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); - - /** - *
-     * workflow_id is the id of the workflow execution this Span represents.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - boolean hasWorkflowId(); - /** - *
-     * workflow_id is the id of the workflow execution this Span represents.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowId(); - /** - *
-     * workflow_id is the id of the workflow execution this Span represents.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowIdOrBuilder(); - - /** - *
-     * node_id is the id of the node execution this Span represents.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - boolean hasNodeId(); - /** - *
-     * node_id is the id of the node execution this Span represents.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeId(); - /** - *
-     * node_id is the id of the node execution this Span represents.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeIdOrBuilder(); - - /** - *
-     * task_id is the id of the task execution this Span represents.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - boolean hasTaskId(); - /** - *
-     * task_id is the id of the task execution this Span represents.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskId(); - /** - *
-     * task_id is the id of the task execution this Span represents.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskIdOrBuilder(); - - /** - *
-     * operation_id is the id of a unique operation that this Span represents.
-     * 
- * - * string operation_id = 6; - */ - java.lang.String getOperationId(); - /** - *
-     * operation_id is the id of a unique operation that this Span represents.
-     * 
- * - * string operation_id = 6; - */ - com.google.protobuf.ByteString - getOperationIdBytes(); - - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - java.util.List - getSpansList(); - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - flyteidl.core.Metrics.Span getSpans(int index); - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - int getSpansCount(); - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - java.util.List - getSpansOrBuilderList(); - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - flyteidl.core.Metrics.SpanOrBuilder getSpansOrBuilder( - int index); - - public flyteidl.core.Metrics.Span.IdCase getIdCase(); - } - /** - *
-   * Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation
-   * which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more
-   * precise definitions.
-   * 
- * - * Protobuf type {@code flyteidl.core.Span} - */ - public static final class Span extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Span) - SpanOrBuilder { - private static final long serialVersionUID = 0L; - // Use Span.newBuilder() to construct. - private Span(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Span() { - spans_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Span( - 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: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; - if (idCase_ == 3) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_).toBuilder(); - } - id_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_); - id_ = subBuilder.buildPartial(); - } - idCase_ = 3; - break; - } - case 34: { - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; - if (idCase_ == 4) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_).toBuilder(); - } - id_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_); - id_ = subBuilder.buildPartial(); - } - idCase_ = 4; - break; - } - case 42: { - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; - if (idCase_ == 5) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_).toBuilder(); - } - id_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_); - id_ = subBuilder.buildPartial(); - } - idCase_ = 5; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - idCase_ = 6; - id_ = s; - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - spans_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; - } - spans_.add( - input.readMessage(flyteidl.core.Metrics.Span.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_ & 0x00000040) != 0)) { - spans_ = java.util.Collections.unmodifiableList(spans_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Metrics.Span.class, flyteidl.core.Metrics.Span.Builder.class); - } - - private int bitField0_; - private int idCase_ = 0; - private java.lang.Object id_; - public enum IdCase - implements com.google.protobuf.Internal.EnumLite { - WORKFLOW_ID(3), - NODE_ID(4), - TASK_ID(5), - OPERATION_ID(6), - ID_NOT_SET(0); - private final int value; - private IdCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static IdCase valueOf(int value) { - return forNumber(value); - } - - public static IdCase forNumber(int value) { - switch (value) { - case 3: return WORKFLOW_ID; - case 4: return NODE_ID; - case 5: return TASK_ID; - case 6: return OPERATION_ID; - case 0: return ID_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public IdCase - getIdCase() { - return IdCase.forNumber( - idCase_); - } - - public static final int START_TIME_FIELD_NUMBER = 1; - private com.google.protobuf.Timestamp startTime_; - /** - *
-     * start_time defines the instance this span began.
-     * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public boolean hasStartTime() { - return startTime_ != null; - } - /** - *
-     * start_time defines the instance this span began.
-     * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public com.google.protobuf.Timestamp getStartTime() { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } - /** - *
-     * start_time defines the instance this span began.
-     * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { - return getStartTime(); - } - - public static final int END_TIME_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp endTime_; - /** - *
-     * end_time defines the instance this span completed.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public boolean hasEndTime() { - return endTime_ != null; - } - /** - *
-     * end_time defines the instance this span completed.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public com.google.protobuf.Timestamp getEndTime() { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - /** - *
-     * end_time defines the instance this span completed.
-     * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - return getEndTime(); - } - - public static final int WORKFLOW_ID_FIELD_NUMBER = 3; - /** - *
-     * workflow_id is the id of the workflow execution this Span represents.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public boolean hasWorkflowId() { - return idCase_ == 3; - } - /** - *
-     * workflow_id is the id of the workflow execution this Span represents.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowId() { - if (idCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); - } - /** - *
-     * workflow_id is the id of the workflow execution this Span represents.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowIdOrBuilder() { - if (idCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); - } - - public static final int NODE_ID_FIELD_NUMBER = 4; - /** - *
-     * node_id is the id of the node execution this Span represents.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public boolean hasNodeId() { - return idCase_ == 4; - } - /** - *
-     * node_id is the id of the node execution this Span represents.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeId() { - if (idCase_ == 4) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - /** - *
-     * node_id is the id of the node execution this Span represents.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeIdOrBuilder() { - if (idCase_ == 4) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - - public static final int TASK_ID_FIELD_NUMBER = 5; - /** - *
-     * task_id is the id of the task execution this Span represents.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public boolean hasTaskId() { - return idCase_ == 5; - } - /** - *
-     * task_id is the id of the task execution this Span represents.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskId() { - if (idCase_ == 5) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - /** - *
-     * task_id is the id of the task execution this Span represents.
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskIdOrBuilder() { - if (idCase_ == 5) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - - public static final int OPERATION_ID_FIELD_NUMBER = 6; - /** - *
-     * operation_id is the id of a unique operation that this Span represents.
-     * 
- * - * string operation_id = 6; - */ - public java.lang.String getOperationId() { - java.lang.Object ref = ""; - if (idCase_ == 6) { - ref = id_; - } - 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 (idCase_ == 6) { - id_ = s; - } - return s; - } - } - /** - *
-     * operation_id is the id of a unique operation that this Span represents.
-     * 
- * - * string operation_id = 6; - */ - public com.google.protobuf.ByteString - getOperationIdBytes() { - java.lang.Object ref = ""; - if (idCase_ == 6) { - ref = id_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (idCase_ == 6) { - id_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SPANS_FIELD_NUMBER = 7; - private java.util.List spans_; - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public java.util.List getSpansList() { - return spans_; - } - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public java.util.List - getSpansOrBuilderList() { - return spans_; - } - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public int getSpansCount() { - return spans_.size(); - } - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public flyteidl.core.Metrics.Span getSpans(int index) { - return spans_.get(index); - } - /** - *
-     * spans defines a collection of Spans that breakdown this execution.
-     * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public flyteidl.core.Metrics.SpanOrBuilder getSpansOrBuilder( - int index) { - return spans_.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 { - if (startTime_ != null) { - output.writeMessage(1, getStartTime()); - } - if (endTime_ != null) { - output.writeMessage(2, getEndTime()); - } - if (idCase_ == 3) { - output.writeMessage(3, (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_); - } - if (idCase_ == 4) { - output.writeMessage(4, (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_); - } - if (idCase_ == 5) { - output.writeMessage(5, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_); - } - if (idCase_ == 6) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, id_); - } - for (int i = 0; i < spans_.size(); i++) { - output.writeMessage(7, spans_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); - } - if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); - } - if (idCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_); - } - if (idCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_); - } - if (idCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_); - } - if (idCase_ == 6) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, id_); - } - for (int i = 0; i < spans_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, spans_.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.Metrics.Span)) { - return super.equals(obj); - } - flyteidl.core.Metrics.Span other = (flyteidl.core.Metrics.Span) obj; - - if (hasStartTime() != other.hasStartTime()) return false; - if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; - } - if (hasEndTime() != other.hasEndTime()) return false; - if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getSpansList() - .equals(other.getSpansList())) return false; - if (!getIdCase().equals(other.getIdCase())) return false; - switch (idCase_) { - case 3: - if (!getWorkflowId() - .equals(other.getWorkflowId())) return false; - break; - case 4: - if (!getNodeId() - .equals(other.getNodeId())) return false; - break; - case 5: - if (!getTaskId() - .equals(other.getTaskId())) return false; - break; - case 6: - if (!getOperationId() - .equals(other.getOperationId())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasStartTime()) { - hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + getStartTime().hashCode(); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + getEndTime().hashCode(); - } - if (getSpansCount() > 0) { - hash = (37 * hash) + SPANS_FIELD_NUMBER; - hash = (53 * hash) + getSpansList().hashCode(); - } - switch (idCase_) { - case 3: - hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowId().hashCode(); - break; - case 4: - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeId().hashCode(); - break; - case 5: - hash = (37 * hash) + TASK_ID_FIELD_NUMBER; - hash = (53 * hash) + getTaskId().hashCode(); - break; - case 6: - hash = (37 * hash) + OPERATION_ID_FIELD_NUMBER; - hash = (53 * hash) + getOperationId().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Metrics.Span parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Metrics.Span parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Metrics.Span parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Metrics.Span 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.Metrics.Span parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Metrics.Span parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Metrics.Span parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Metrics.Span 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.Metrics.Span parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Metrics.Span 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.Metrics.Span parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Metrics.Span 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.Metrics.Span 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; - } - /** - *
-     * Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation
-     * which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more
-     * precise definitions.
-     * 
- * - * Protobuf type {@code flyteidl.core.Span} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Span) - flyteidl.core.Metrics.SpanOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Metrics.Span.class, flyteidl.core.Metrics.Span.Builder.class); - } - - // Construct using flyteidl.core.Metrics.Span.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSpansFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (startTimeBuilder_ == null) { - startTime_ = null; - } else { - startTime_ = null; - startTimeBuilder_ = null; - } - if (endTimeBuilder_ == null) { - endTime_ = null; - } else { - endTime_ = null; - endTimeBuilder_ = null; - } - if (spansBuilder_ == null) { - spans_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - } else { - spansBuilder_.clear(); - } - idCase_ = 0; - id_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_descriptor; - } - - @java.lang.Override - public flyteidl.core.Metrics.Span getDefaultInstanceForType() { - return flyteidl.core.Metrics.Span.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Metrics.Span build() { - flyteidl.core.Metrics.Span result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Metrics.Span buildPartial() { - flyteidl.core.Metrics.Span result = new flyteidl.core.Metrics.Span(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (startTimeBuilder_ == null) { - result.startTime_ = startTime_; - } else { - result.startTime_ = startTimeBuilder_.build(); - } - if (endTimeBuilder_ == null) { - result.endTime_ = endTime_; - } else { - result.endTime_ = endTimeBuilder_.build(); - } - if (idCase_ == 3) { - if (workflowIdBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = workflowIdBuilder_.build(); - } - } - if (idCase_ == 4) { - if (nodeIdBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = nodeIdBuilder_.build(); - } - } - if (idCase_ == 5) { - if (taskIdBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = taskIdBuilder_.build(); - } - } - if (idCase_ == 6) { - result.id_ = id_; - } - if (spansBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { - spans_ = java.util.Collections.unmodifiableList(spans_); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.spans_ = spans_; - } else { - result.spans_ = spansBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - result.idCase_ = idCase_; - 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.Metrics.Span) { - return mergeFrom((flyteidl.core.Metrics.Span)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Metrics.Span other) { - if (other == flyteidl.core.Metrics.Span.getDefaultInstance()) return this; - if (other.hasStartTime()) { - mergeStartTime(other.getStartTime()); - } - if (other.hasEndTime()) { - mergeEndTime(other.getEndTime()); - } - if (spansBuilder_ == null) { - if (!other.spans_.isEmpty()) { - if (spans_.isEmpty()) { - spans_ = other.spans_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureSpansIsMutable(); - spans_.addAll(other.spans_); - } - onChanged(); - } - } else { - if (!other.spans_.isEmpty()) { - if (spansBuilder_.isEmpty()) { - spansBuilder_.dispose(); - spansBuilder_ = null; - spans_ = other.spans_; - bitField0_ = (bitField0_ & ~0x00000040); - spansBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSpansFieldBuilder() : null; - } else { - spansBuilder_.addAllMessages(other.spans_); - } - } - } - switch (other.getIdCase()) { - case WORKFLOW_ID: { - mergeWorkflowId(other.getWorkflowId()); - break; - } - case NODE_ID: { - mergeNodeId(other.getNodeId()); - break; - } - case TASK_ID: { - mergeTaskId(other.getTaskId()); - break; - } - case OPERATION_ID: { - idCase_ = 6; - id_ = other.id_; - onChanged(); - break; - } - case ID_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.Metrics.Span parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Metrics.Span) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int idCase_ = 0; - private java.lang.Object id_; - public IdCase - getIdCase() { - return IdCase.forNumber( - idCase_); - } - - public Builder clearId() { - idCase_ = 0; - id_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public boolean hasStartTime() { - return startTimeBuilder_ != null || startTime_ != null; - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public com.google.protobuf.Timestamp getStartTime() { - if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } else { - return startTimeBuilder_.getMessage(); - } - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public Builder setStartTime(com.google.protobuf.Timestamp value) { - if (startTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - startTime_ = value; - onChanged(); - } else { - startTimeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (startTimeBuilder_ == null) { - startTime_ = builderForValue.build(); - onChanged(); - } else { - startTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public Builder mergeStartTime(com.google.protobuf.Timestamp value) { - if (startTimeBuilder_ == null) { - if (startTime_ != null) { - startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); - } else { - startTime_ = value; - } - onChanged(); - } else { - startTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public Builder clearStartTime() { - if (startTimeBuilder_ == null) { - startTime_ = null; - onChanged(); - } else { - startTime_ = null; - startTimeBuilder_ = null; - } - - return this; - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - - onChanged(); - return getStartTimeFieldBuilder().getBuilder(); - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { - if (startTimeBuilder_ != null) { - return startTimeBuilder_.getMessageOrBuilder(); - } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } - } - /** - *
-       * start_time defines the instance this span began.
-       * 
- * - * .google.protobuf.Timestamp start_time = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartTimeFieldBuilder() { - if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); - startTime_ = null; - } - return startTimeBuilder_; - } - - private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public boolean hasEndTime() { - return endTimeBuilder_ != null || endTime_ != null; - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public com.google.protobuf.Timestamp getEndTime() { - if (endTimeBuilder_ == null) { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } else { - return endTimeBuilder_.getMessage(); - } - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public Builder setEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - endTime_ = value; - onChanged(); - } else { - endTimeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (endTimeBuilder_ == null) { - endTime_ = builderForValue.build(); - onChanged(); - } else { - endTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public Builder mergeEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (endTime_ != null) { - endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); - } else { - endTime_ = value; - } - onChanged(); - } else { - endTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public Builder clearEndTime() { - if (endTimeBuilder_ == null) { - endTime_ = null; - onChanged(); - } else { - endTime_ = null; - endTimeBuilder_ = null; - } - - return this; - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - - onChanged(); - return getEndTimeFieldBuilder().getBuilder(); - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - if (endTimeBuilder_ != null) { - return endTimeBuilder_.getMessageOrBuilder(); - } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - } - /** - *
-       * end_time defines the instance this span completed.
-       * 
- * - * .google.protobuf.Timestamp end_time = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getEndTimeFieldBuilder() { - if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); - endTime_ = null; - } - return endTimeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> workflowIdBuilder_; - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public boolean hasWorkflowId() { - return idCase_ == 3; - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowId() { - if (workflowIdBuilder_ == null) { - if (idCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); - } else { - if (idCase_ == 3) { - return workflowIdBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public Builder setWorkflowId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (workflowIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - workflowIdBuilder_.setMessage(value); - } - idCase_ = 3; - return this; - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public Builder setWorkflowId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (workflowIdBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - workflowIdBuilder_.setMessage(builderForValue.build()); - } - idCase_ = 3; - return this; - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public Builder mergeWorkflowId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (workflowIdBuilder_ == null) { - if (idCase_ == 3 && - id_ != flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance()) { - id_ = flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_) - .mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - if (idCase_ == 3) { - workflowIdBuilder_.mergeFrom(value); - } - workflowIdBuilder_.setMessage(value); - } - idCase_ = 3; - return this; - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public Builder clearWorkflowId() { - if (workflowIdBuilder_ == null) { - if (idCase_ == 3) { - idCase_ = 0; - id_ = null; - onChanged(); - } - } else { - if (idCase_ == 3) { - idCase_ = 0; - id_ = null; - } - workflowIdBuilder_.clear(); - } - return this; - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowIdBuilder() { - return getWorkflowIdFieldBuilder().getBuilder(); - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowIdOrBuilder() { - if ((idCase_ == 3) && (workflowIdBuilder_ != null)) { - return workflowIdBuilder_.getMessageOrBuilder(); - } else { - if (idCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * workflow_id is the id of the workflow execution this Span represents.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getWorkflowIdFieldBuilder() { - if (workflowIdBuilder_ == null) { - if (!(idCase_ == 3)) { - id_ = flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); - } - workflowIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_, - getParentForChildren(), - isClean()); - id_ = null; - } - idCase_ = 3; - onChanged();; - return workflowIdBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> nodeIdBuilder_; - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public boolean hasNodeId() { - return idCase_ == 4; - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeId() { - if (nodeIdBuilder_ == null) { - if (idCase_ == 4) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } else { - if (idCase_ == 4) { - return nodeIdBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public Builder setNodeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (nodeIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - nodeIdBuilder_.setMessage(value); - } - idCase_ = 4; - return this; - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public Builder setNodeId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (nodeIdBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - nodeIdBuilder_.setMessage(builderForValue.build()); - } - idCase_ = 4; - return this; - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public Builder mergeNodeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (nodeIdBuilder_ == null) { - if (idCase_ == 4 && - id_ != flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance()) { - id_ = flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_) - .mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - if (idCase_ == 4) { - nodeIdBuilder_.mergeFrom(value); - } - nodeIdBuilder_.setMessage(value); - } - idCase_ = 4; - return this; - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public Builder clearNodeId() { - if (nodeIdBuilder_ == null) { - if (idCase_ == 4) { - idCase_ = 0; - id_ = null; - onChanged(); - } - } else { - if (idCase_ == 4) { - idCase_ = 0; - id_ = null; - } - nodeIdBuilder_.clear(); - } - return this; - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getNodeIdBuilder() { - return getNodeIdFieldBuilder().getBuilder(); - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeIdOrBuilder() { - if ((idCase_ == 4) && (nodeIdBuilder_ != null)) { - return nodeIdBuilder_.getMessageOrBuilder(); - } else { - if (idCase_ == 4) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * node_id is the id of the node execution this Span represents.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_id = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getNodeIdFieldBuilder() { - if (nodeIdBuilder_ == null) { - if (!(idCase_ == 4)) { - id_ = flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - nodeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_, - getParentForChildren(), - isClean()); - id_ = null; - } - idCase_ = 4; - onChanged();; - return nodeIdBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> taskIdBuilder_; - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public boolean hasTaskId() { - return idCase_ == 5; - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskId() { - if (taskIdBuilder_ == null) { - if (idCase_ == 5) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } else { - if (idCase_ == 5) { - return taskIdBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public Builder setTaskId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (taskIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - taskIdBuilder_.setMessage(value); - } - idCase_ = 5; - return this; - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public Builder setTaskId( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { - if (taskIdBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - taskIdBuilder_.setMessage(builderForValue.build()); - } - idCase_ = 5; - return this; - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public Builder mergeTaskId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (taskIdBuilder_ == null) { - if (idCase_ == 5 && - id_ != flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance()) { - id_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_) - .mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - if (idCase_ == 5) { - taskIdBuilder_.mergeFrom(value); - } - taskIdBuilder_.setMessage(value); - } - idCase_ = 5; - return this; - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public Builder clearTaskId() { - if (taskIdBuilder_ == null) { - if (idCase_ == 5) { - idCase_ = 0; - id_ = null; - onChanged(); - } - } else { - if (idCase_ == 5) { - idCase_ = 0; - id_ = null; - } - taskIdBuilder_.clear(); - } - return this; - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskIdBuilder() { - return getTaskIdFieldBuilder().getBuilder(); - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskIdOrBuilder() { - if ((idCase_ == 5) && (taskIdBuilder_ != null)) { - return taskIdBuilder_.getMessageOrBuilder(); - } else { - if (idCase_ == 5) { - return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; - } - return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * task_id is the id of the task execution this Span represents.
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_id = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> - getTaskIdFieldBuilder() { - if (taskIdBuilder_ == null) { - if (!(idCase_ == 5)) { - id_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); - } - taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_, - getParentForChildren(), - isClean()); - id_ = null; - } - idCase_ = 5; - onChanged();; - return taskIdBuilder_; - } - - /** - *
-       * operation_id is the id of a unique operation that this Span represents.
-       * 
- * - * string operation_id = 6; - */ - public java.lang.String getOperationId() { - java.lang.Object ref = ""; - if (idCase_ == 6) { - ref = id_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (idCase_ == 6) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * operation_id is the id of a unique operation that this Span represents.
-       * 
- * - * string operation_id = 6; - */ - public com.google.protobuf.ByteString - getOperationIdBytes() { - java.lang.Object ref = ""; - if (idCase_ == 6) { - ref = id_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (idCase_ == 6) { - id_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * operation_id is the id of a unique operation that this Span represents.
-       * 
- * - * string operation_id = 6; - */ - public Builder setOperationId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - idCase_ = 6; - id_ = value; - onChanged(); - return this; - } - /** - *
-       * operation_id is the id of a unique operation that this Span represents.
-       * 
- * - * string operation_id = 6; - */ - public Builder clearOperationId() { - if (idCase_ == 6) { - idCase_ = 0; - id_ = null; - onChanged(); - } - return this; - } - /** - *
-       * operation_id is the id of a unique operation that this Span represents.
-       * 
- * - * string operation_id = 6; - */ - public Builder setOperationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - idCase_ = 6; - id_ = value; - onChanged(); - return this; - } - - private java.util.List spans_ = - java.util.Collections.emptyList(); - private void ensureSpansIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - spans_ = new java.util.ArrayList(spans_); - bitField0_ |= 0x00000040; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> spansBuilder_; - - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public java.util.List getSpansList() { - if (spansBuilder_ == null) { - return java.util.Collections.unmodifiableList(spans_); - } else { - return spansBuilder_.getMessageList(); - } - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public int getSpansCount() { - if (spansBuilder_ == null) { - return spans_.size(); - } else { - return spansBuilder_.getCount(); - } - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public flyteidl.core.Metrics.Span getSpans(int index) { - if (spansBuilder_ == null) { - return spans_.get(index); - } else { - return spansBuilder_.getMessage(index); - } - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder setSpans( - int index, flyteidl.core.Metrics.Span value) { - if (spansBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpansIsMutable(); - spans_.set(index, value); - onChanged(); - } else { - spansBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder setSpans( - int index, flyteidl.core.Metrics.Span.Builder builderForValue) { - if (spansBuilder_ == null) { - ensureSpansIsMutable(); - spans_.set(index, builderForValue.build()); - onChanged(); - } else { - spansBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder addSpans(flyteidl.core.Metrics.Span value) { - if (spansBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpansIsMutable(); - spans_.add(value); - onChanged(); - } else { - spansBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder addSpans( - int index, flyteidl.core.Metrics.Span value) { - if (spansBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSpansIsMutable(); - spans_.add(index, value); - onChanged(); - } else { - spansBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder addSpans( - flyteidl.core.Metrics.Span.Builder builderForValue) { - if (spansBuilder_ == null) { - ensureSpansIsMutable(); - spans_.add(builderForValue.build()); - onChanged(); - } else { - spansBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder addSpans( - int index, flyteidl.core.Metrics.Span.Builder builderForValue) { - if (spansBuilder_ == null) { - ensureSpansIsMutable(); - spans_.add(index, builderForValue.build()); - onChanged(); - } else { - spansBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder addAllSpans( - java.lang.Iterable values) { - if (spansBuilder_ == null) { - ensureSpansIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, spans_); - onChanged(); - } else { - spansBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder clearSpans() { - if (spansBuilder_ == null) { - spans_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - } else { - spansBuilder_.clear(); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public Builder removeSpans(int index) { - if (spansBuilder_ == null) { - ensureSpansIsMutable(); - spans_.remove(index); - onChanged(); - } else { - spansBuilder_.remove(index); - } - return this; - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public flyteidl.core.Metrics.Span.Builder getSpansBuilder( - int index) { - return getSpansFieldBuilder().getBuilder(index); - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public flyteidl.core.Metrics.SpanOrBuilder getSpansOrBuilder( - int index) { - if (spansBuilder_ == null) { - return spans_.get(index); } else { - return spansBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public java.util.List - getSpansOrBuilderList() { - if (spansBuilder_ != null) { - return spansBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(spans_); - } - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public flyteidl.core.Metrics.Span.Builder addSpansBuilder() { - return getSpansFieldBuilder().addBuilder( - flyteidl.core.Metrics.Span.getDefaultInstance()); - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public flyteidl.core.Metrics.Span.Builder addSpansBuilder( - int index) { - return getSpansFieldBuilder().addBuilder( - index, flyteidl.core.Metrics.Span.getDefaultInstance()); - } - /** - *
-       * spans defines a collection of Spans that breakdown this execution.
-       * 
- * - * repeated .flyteidl.core.Span spans = 7; - */ - public java.util.List - getSpansBuilderList() { - return getSpansFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> - getSpansFieldBuilder() { - if (spansBuilder_ == null) { - spansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder>( - spans_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); - spans_ = null; - } - return spansBuilder_; - } - @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.Span) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Span) - private static final flyteidl.core.Metrics.Span DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Metrics.Span(); - } - - public static flyteidl.core.Metrics.Span getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Span parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Span(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.Metrics.Span getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExecutionMetricResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ExecutionMetricResult) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-     * 
- * - * string metric = 1; - */ - java.lang.String getMetric(); - /** - *
-     * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-     * 
- * - * string metric = 1; - */ - com.google.protobuf.ByteString - getMetricBytes(); - - /** - *
-     * The result data in prometheus range query result format
-     * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-     * This may include multiple time series, differentiated by their metric labels.
-     * Start time is greater of (execution attempt start, 48h ago)
-     * End time is lesser of (execution attempt end, now)
-     * 
- * - * .google.protobuf.Struct data = 2; - */ - boolean hasData(); - /** - *
-     * The result data in prometheus range query result format
-     * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-     * This may include multiple time series, differentiated by their metric labels.
-     * Start time is greater of (execution attempt start, 48h ago)
-     * End time is lesser of (execution attempt end, now)
-     * 
- * - * .google.protobuf.Struct data = 2; - */ - com.google.protobuf.Struct getData(); - /** - *
-     * The result data in prometheus range query result format
-     * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-     * This may include multiple time series, differentiated by their metric labels.
-     * Start time is greater of (execution attempt start, 48h ago)
-     * End time is lesser of (execution attempt end, now)
-     * 
- * - * .google.protobuf.Struct data = 2; - */ - com.google.protobuf.StructOrBuilder getDataOrBuilder(); - } - /** - *
-   * ExecutionMetrics is a collection of metrics that are collected during the execution of a Flyte task.
-   * 
- * - * Protobuf type {@code flyteidl.core.ExecutionMetricResult} - */ - public static final class ExecutionMetricResult extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ExecutionMetricResult) - ExecutionMetricResultOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExecutionMetricResult.newBuilder() to construct. - private ExecutionMetricResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExecutionMetricResult() { - metric_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExecutionMetricResult( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - metric_ = s; - break; - } - case 18: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); - } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = 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.core.Metrics.internal_static_flyteidl_core_ExecutionMetricResult_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_ExecutionMetricResult_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Metrics.ExecutionMetricResult.class, flyteidl.core.Metrics.ExecutionMetricResult.Builder.class); - } - - public static final int METRIC_FIELD_NUMBER = 1; - private volatile java.lang.Object metric_; - /** - *
-     * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-     * 
- * - * string metric = 1; - */ - public java.lang.String getMetric() { - java.lang.Object ref = metric_; - 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(); - metric_ = s; - return s; - } - } - /** - *
-     * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-     * 
- * - * string metric = 1; - */ - public com.google.protobuf.ByteString - getMetricBytes() { - java.lang.Object ref = metric_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - metric_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATA_FIELD_NUMBER = 2; - private com.google.protobuf.Struct data_; - /** - *
-     * The result data in prometheus range query result format
-     * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-     * This may include multiple time series, differentiated by their metric labels.
-     * Start time is greater of (execution attempt start, 48h ago)
-     * End time is lesser of (execution attempt end, now)
-     * 
- * - * .google.protobuf.Struct data = 2; - */ - public boolean hasData() { - return data_ != null; - } - /** - *
-     * The result data in prometheus range query result format
-     * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-     * This may include multiple time series, differentiated by their metric labels.
-     * Start time is greater of (execution attempt start, 48h ago)
-     * End time is lesser of (execution attempt end, now)
-     * 
- * - * .google.protobuf.Struct data = 2; - */ - public com.google.protobuf.Struct getData() { - return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; - } - /** - *
-     * The result data in prometheus range query result format
-     * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-     * This may include multiple time series, differentiated by their metric labels.
-     * Start time is greater of (execution attempt start, 48h ago)
-     * End time is lesser of (execution attempt end, now)
-     * 
- * - * .google.protobuf.Struct data = 2; - */ - public com.google.protobuf.StructOrBuilder getDataOrBuilder() { - return getData(); - } - - 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 (!getMetricBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metric_); - } - if (data_ != null) { - output.writeMessage(2, getData()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getMetricBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metric_); - } - if (data_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getData()); - } - 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.Metrics.ExecutionMetricResult)) { - return super.equals(obj); - } - flyteidl.core.Metrics.ExecutionMetricResult other = (flyteidl.core.Metrics.ExecutionMetricResult) obj; - - if (!getMetric() - .equals(other.getMetric())) return false; - if (hasData() != other.hasData()) return false; - if (hasData()) { - if (!getData() - .equals(other.getData())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + METRIC_FIELD_NUMBER; - hash = (53 * hash) + getMetric().hashCode(); - if (hasData()) { - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + getData().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Metrics.ExecutionMetricResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Metrics.ExecutionMetricResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Metrics.ExecutionMetricResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Metrics.ExecutionMetricResult 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.Metrics.ExecutionMetricResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Metrics.ExecutionMetricResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Metrics.ExecutionMetricResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Metrics.ExecutionMetricResult 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.Metrics.ExecutionMetricResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Metrics.ExecutionMetricResult 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.Metrics.ExecutionMetricResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Metrics.ExecutionMetricResult 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.Metrics.ExecutionMetricResult 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; - } - /** - *
-     * ExecutionMetrics is a collection of metrics that are collected during the execution of a Flyte task.
-     * 
- * - * Protobuf type {@code flyteidl.core.ExecutionMetricResult} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ExecutionMetricResult) - flyteidl.core.Metrics.ExecutionMetricResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_ExecutionMetricResult_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_ExecutionMetricResult_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Metrics.ExecutionMetricResult.class, flyteidl.core.Metrics.ExecutionMetricResult.Builder.class); - } - - // Construct using flyteidl.core.Metrics.ExecutionMetricResult.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(); - metric_ = ""; - - if (dataBuilder_ == null) { - data_ = null; - } else { - data_ = null; - dataBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Metrics.internal_static_flyteidl_core_ExecutionMetricResult_descriptor; - } - - @java.lang.Override - public flyteidl.core.Metrics.ExecutionMetricResult getDefaultInstanceForType() { - return flyteidl.core.Metrics.ExecutionMetricResult.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Metrics.ExecutionMetricResult build() { - flyteidl.core.Metrics.ExecutionMetricResult result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Metrics.ExecutionMetricResult buildPartial() { - flyteidl.core.Metrics.ExecutionMetricResult result = new flyteidl.core.Metrics.ExecutionMetricResult(this); - result.metric_ = metric_; - if (dataBuilder_ == null) { - result.data_ = data_; - } else { - result.data_ = dataBuilder_.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.Metrics.ExecutionMetricResult) { - return mergeFrom((flyteidl.core.Metrics.ExecutionMetricResult)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Metrics.ExecutionMetricResult other) { - if (other == flyteidl.core.Metrics.ExecutionMetricResult.getDefaultInstance()) return this; - if (!other.getMetric().isEmpty()) { - metric_ = other.metric_; - onChanged(); - } - if (other.hasData()) { - mergeData(other.getData()); - } - 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.Metrics.ExecutionMetricResult parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Metrics.ExecutionMetricResult) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object metric_ = ""; - /** - *
-       * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-       * 
- * - * string metric = 1; - */ - public java.lang.String getMetric() { - java.lang.Object ref = metric_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - metric_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-       * 
- * - * string metric = 1; - */ - public com.google.protobuf.ByteString - getMetricBytes() { - java.lang.Object ref = metric_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - metric_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-       * 
- * - * string metric = 1; - */ - public Builder setMetric( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - metric_ = value; - onChanged(); - return this; - } - /** - *
-       * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-       * 
- * - * string metric = 1; - */ - public Builder clearMetric() { - - metric_ = getDefaultInstance().getMetric(); - onChanged(); - return this; - } - /** - *
-       * The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
-       * 
- * - * string metric = 1; - */ - public Builder setMetricBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - metric_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Struct data_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public boolean hasData() { - return dataBuilder_ != null || data_ != null; - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public com.google.protobuf.Struct getData() { - if (dataBuilder_ == null) { - return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; - } else { - return dataBuilder_.getMessage(); - } - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public Builder setData(com.google.protobuf.Struct value) { - if (dataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - data_ = value; - onChanged(); - } else { - dataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public Builder setData( - com.google.protobuf.Struct.Builder builderForValue) { - if (dataBuilder_ == null) { - data_ = builderForValue.build(); - onChanged(); - } else { - dataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public Builder mergeData(com.google.protobuf.Struct value) { - if (dataBuilder_ == null) { - if (data_ != null) { - data_ = - com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial(); - } else { - data_ = value; - } - onChanged(); - } else { - dataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public Builder clearData() { - if (dataBuilder_ == null) { - data_ = null; - onChanged(); - } else { - data_ = null; - dataBuilder_ = null; - } - - return this; - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public com.google.protobuf.Struct.Builder getDataBuilder() { - - onChanged(); - return getDataFieldBuilder().getBuilder(); - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - public com.google.protobuf.StructOrBuilder getDataOrBuilder() { - if (dataBuilder_ != null) { - return dataBuilder_.getMessageOrBuilder(); - } else { - return data_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : data_; - } - } - /** - *
-       * The result data in prometheus range query result format
-       * https://prometheus.io/docs/prometheus/latest/querying/api/#expression-query-result-formats.
-       * This may include multiple time series, differentiated by their metric labels.
-       * Start time is greater of (execution attempt start, 48h ago)
-       * End time is lesser of (execution attempt end, now)
-       * 
- * - * .google.protobuf.Struct data = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getDataFieldBuilder() { - if (dataBuilder_ == null) { - dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getData(), - getParentForChildren(), - isClean()); - data_ = null; - } - return dataBuilder_; - } - @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.ExecutionMetricResult) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ExecutionMetricResult) - private static final flyteidl.core.Metrics.ExecutionMetricResult DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Metrics.ExecutionMetricResult(); - } - - public static flyteidl.core.Metrics.ExecutionMetricResult getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionMetricResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExecutionMetricResult(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.Metrics.ExecutionMetricResult getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Span_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Span_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ExecutionMetricResult_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ExecutionMetricResult_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\033flyteidl/core/metrics.proto\022\rflyteidl." + - "core\032\036flyteidl/core/identifier.proto\032\037go" + - "ogle/protobuf/timestamp.proto\032\034google/pr" + - "otobuf/struct.proto\"\337\002\n\004Span\022.\n\nstart_ti" + - "me\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" + - "end_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mp\022A\n\013workflow_id\030\003 \001(\0132*.flyteidl.core." + - "WorkflowExecutionIdentifierH\000\0229\n\007node_id" + - "\030\004 \001(\0132&.flyteidl.core.NodeExecutionIden" + - "tifierH\000\0229\n\007task_id\030\005 \001(\0132&.flyteidl.cor" + - "e.TaskExecutionIdentifierH\000\022\026\n\014operation" + - "_id\030\006 \001(\tH\000\022\"\n\005spans\030\007 \003(\0132\023.flyteidl.co" + - "re.SpanB\004\n\002id\"N\n\025ExecutionMetricResult\022\016" + - "\n\006metric\030\001 \001(\t\022%\n\004data\030\002 \001(\0132\027.google.pr" + - "otobuf.StructB - * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of - * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name. - * For AWS Secret Manager, this should be the name of the secret. - * +required - * - * - * string group = 1; - */ - java.lang.String getGroup(); - /** - *
-     * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-     * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-     * For AWS Secret Manager, this should be the name of the secret.
-     * +required
-     * 
- * - * string group = 1; - */ - com.google.protobuf.ByteString - getGroupBytes(); - - /** - *
-     * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-     * that do not support it.
-     * +optional
-     * 
- * - * string group_version = 2; - */ - java.lang.String getGroupVersion(); - /** - *
-     * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-     * that do not support it.
-     * +optional
-     * 
- * - * string group_version = 2; - */ - com.google.protobuf.ByteString - getGroupVersionBytes(); - - /** - *
-     * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-     * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-     * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-     * +optional
-     * 
- * - * string key = 3; - */ - java.lang.String getKey(); - /** - *
-     * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-     * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-     * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-     * +optional
-     * 
- * - * string key = 3; - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - *
-     * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-     * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-     * will depend on the key management system.
-     * +optional
-     * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - int getMountRequirementValue(); - /** - *
-     * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-     * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-     * will depend on the key management system.
-     * +optional
-     * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - flyteidl.core.Security.Secret.MountType getMountRequirement(); - } - /** - *
-   * Secret encapsulates information about the secret a task needs to proceed. An environment variable
-   * FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if
-   * secrets are passed through environment variables.
-   * FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets
-   * are passed through file mounts.
-   * 
- * - * Protobuf type {@code flyteidl.core.Secret} - */ - public static final class Secret extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Secret) - SecretOrBuilder { - private static final long serialVersionUID = 0L; - // Use Secret.newBuilder() to construct. - private Secret(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Secret() { - group_ = ""; - groupVersion_ = ""; - key_ = ""; - mountRequirement_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Secret( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - group_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - groupVersion_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); - - mountRequirement_ = rawValue; - 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.Security.internal_static_flyteidl_core_Secret_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_Secret_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.Secret.class, flyteidl.core.Security.Secret.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.Secret.MountType} - */ - public enum MountType - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * Default case, indicates the client can tolerate either mounting options.
-       * 
- * - * ANY = 0; - */ - ANY(0), - /** - *
-       * ENV_VAR indicates the secret needs to be mounted as an environment variable.
-       * 
- * - * ENV_VAR = 1; - */ - ENV_VAR(1), - /** - *
-       * FILE indicates the secret needs to be mounted as a file.
-       * 
- * - * FILE = 2; - */ - FILE(2), - UNRECOGNIZED(-1), - ; - - /** - *
-       * Default case, indicates the client can tolerate either mounting options.
-       * 
- * - * ANY = 0; - */ - public static final int ANY_VALUE = 0; - /** - *
-       * ENV_VAR indicates the secret needs to be mounted as an environment variable.
-       * 
- * - * ENV_VAR = 1; - */ - public static final int ENV_VAR_VALUE = 1; - /** - *
-       * FILE indicates the secret needs to be mounted as a file.
-       * 
- * - * FILE = 2; - */ - public static final int FILE_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static MountType valueOf(int value) { - return forNumber(value); - } - - public static MountType forNumber(int value) { - switch (value) { - case 0: return ANY; - case 1: return ENV_VAR; - case 2: return FILE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - MountType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MountType findValueByNumber(int number) { - return MountType.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.Security.Secret.getDescriptor().getEnumTypes().get(0); - } - - private static final MountType[] VALUES = values(); - - public static MountType 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 MountType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.Secret.MountType) - } - - public static final int GROUP_FIELD_NUMBER = 1; - private volatile java.lang.Object group_; - /** - *
-     * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-     * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-     * For AWS Secret Manager, this should be the name of the secret.
-     * +required
-     * 
- * - * string group = 1; - */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - 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(); - group_ = s; - return s; - } - } - /** - *
-     * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-     * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-     * For AWS Secret Manager, this should be the name of the secret.
-     * +required
-     * 
- * - * string group = 1; - */ - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int GROUP_VERSION_FIELD_NUMBER = 2; - private volatile java.lang.Object groupVersion_; - /** - *
-     * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-     * that do not support it.
-     * +optional
-     * 
- * - * string group_version = 2; - */ - public java.lang.String getGroupVersion() { - java.lang.Object ref = groupVersion_; - 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(); - groupVersion_ = s; - return s; - } - } - /** - *
-     * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-     * that do not support it.
-     * +optional
-     * 
- * - * string group_version = 2; - */ - public com.google.protobuf.ByteString - getGroupVersionBytes() { - java.lang.Object ref = groupVersion_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - groupVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int KEY_FIELD_NUMBER = 3; - private volatile java.lang.Object key_; - /** - *
-     * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-     * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-     * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-     * +optional
-     * 
- * - * string key = 3; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - 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(); - key_ = s; - return s; - } - } - /** - *
-     * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-     * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-     * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-     * +optional
-     * 
- * - * string key = 3; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MOUNT_REQUIREMENT_FIELD_NUMBER = 4; - private int mountRequirement_; - /** - *
-     * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-     * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-     * will depend on the key management system.
-     * +optional
-     * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - public int getMountRequirementValue() { - return mountRequirement_; - } - /** - *
-     * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-     * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-     * will depend on the key management system.
-     * +optional
-     * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - public flyteidl.core.Security.Secret.MountType getMountRequirement() { - @SuppressWarnings("deprecation") - flyteidl.core.Security.Secret.MountType result = flyteidl.core.Security.Secret.MountType.valueOf(mountRequirement_); - return result == null ? flyteidl.core.Security.Secret.MountType.UNRECOGNIZED : result; - } - - 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 (!getGroupBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); - } - if (!getGroupVersionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupVersion_); - } - if (!getKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, key_); - } - if (mountRequirement_ != flyteidl.core.Security.Secret.MountType.ANY.getNumber()) { - output.writeEnum(4, mountRequirement_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getGroupBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); - } - if (!getGroupVersionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, groupVersion_); - } - if (!getKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, key_); - } - if (mountRequirement_ != flyteidl.core.Security.Secret.MountType.ANY.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, mountRequirement_); - } - 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.Security.Secret)) { - return super.equals(obj); - } - flyteidl.core.Security.Secret other = (flyteidl.core.Security.Secret) obj; - - if (!getGroup() - .equals(other.getGroup())) return false; - if (!getGroupVersion() - .equals(other.getGroupVersion())) return false; - if (!getKey() - .equals(other.getKey())) return false; - if (mountRequirement_ != other.mountRequirement_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + GROUP_FIELD_NUMBER; - hash = (53 * hash) + getGroup().hashCode(); - hash = (37 * hash) + GROUP_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getGroupVersion().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + MOUNT_REQUIREMENT_FIELD_NUMBER; - hash = (53 * hash) + mountRequirement_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Security.Secret parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.Secret parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.Secret parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.Secret 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.Security.Secret parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.Secret parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.Secret parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.Secret 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.Security.Secret parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Security.Secret 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.Security.Secret parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.Secret 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.Security.Secret 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; - } - /** - *
-     * Secret encapsulates information about the secret a task needs to proceed. An environment variable
-     * FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if
-     * secrets are passed through environment variables.
-     * FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets
-     * are passed through file mounts.
-     * 
- * - * Protobuf type {@code flyteidl.core.Secret} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Secret) - flyteidl.core.Security.SecretOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_Secret_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_Secret_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.Secret.class, flyteidl.core.Security.Secret.Builder.class); - } - - // Construct using flyteidl.core.Security.Secret.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(); - group_ = ""; - - groupVersion_ = ""; - - key_ = ""; - - mountRequirement_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Security.internal_static_flyteidl_core_Secret_descriptor; - } - - @java.lang.Override - public flyteidl.core.Security.Secret getDefaultInstanceForType() { - return flyteidl.core.Security.Secret.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Security.Secret build() { - flyteidl.core.Security.Secret result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Security.Secret buildPartial() { - flyteidl.core.Security.Secret result = new flyteidl.core.Security.Secret(this); - result.group_ = group_; - result.groupVersion_ = groupVersion_; - result.key_ = key_; - result.mountRequirement_ = mountRequirement_; - 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.Security.Secret) { - return mergeFrom((flyteidl.core.Security.Secret)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Security.Secret other) { - if (other == flyteidl.core.Security.Secret.getDefaultInstance()) return this; - if (!other.getGroup().isEmpty()) { - group_ = other.group_; - onChanged(); - } - if (!other.getGroupVersion().isEmpty()) { - groupVersion_ = other.groupVersion_; - onChanged(); - } - if (!other.getKey().isEmpty()) { - key_ = other.key_; - onChanged(); - } - if (other.mountRequirement_ != 0) { - setMountRequirementValue(other.getMountRequirementValue()); - } - 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.Security.Secret parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Security.Secret) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object group_ = ""; - /** - *
-       * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-       * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-       * For AWS Secret Manager, this should be the name of the secret.
-       * +required
-       * 
- * - * string group = 1; - */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - group_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-       * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-       * For AWS Secret Manager, this should be the name of the secret.
-       * +required
-       * 
- * - * string group = 1; - */ - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-       * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-       * For AWS Secret Manager, this should be the name of the secret.
-       * +required
-       * 
- * - * string group = 1; - */ - public Builder setGroup( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - group_ = value; - onChanged(); - return this; - } - /** - *
-       * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-       * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-       * For AWS Secret Manager, this should be the name of the secret.
-       * +required
-       * 
- * - * string group = 1; - */ - public Builder clearGroup() { - - group_ = getDefaultInstance().getGroup(); - onChanged(); - return this; - } - /** - *
-       * The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
-       * the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
-       * For AWS Secret Manager, this should be the name of the secret.
-       * +required
-       * 
- * - * string group = 1; - */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - group_ = value; - onChanged(); - return this; - } - - private java.lang.Object groupVersion_ = ""; - /** - *
-       * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-       * that do not support it.
-       * +optional
-       * 
- * - * string group_version = 2; - */ - public java.lang.String getGroupVersion() { - java.lang.Object ref = groupVersion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - groupVersion_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-       * that do not support it.
-       * +optional
-       * 
- * - * string group_version = 2; - */ - public com.google.protobuf.ByteString - getGroupVersionBytes() { - java.lang.Object ref = groupVersion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - groupVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-       * that do not support it.
-       * +optional
-       * 
- * - * string group_version = 2; - */ - public Builder setGroupVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - groupVersion_ = value; - onChanged(); - return this; - } - /** - *
-       * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-       * that do not support it.
-       * +optional
-       * 
- * - * string group_version = 2; - */ - public Builder clearGroupVersion() { - - groupVersion_ = getDefaultInstance().getGroupVersion(); - onChanged(); - return this; - } - /** - *
-       * The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
-       * that do not support it.
-       * +optional
-       * 
- * - * string group_version = 2; - */ - public Builder setGroupVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - groupVersion_ = value; - onChanged(); - return this; - } - - private java.lang.Object key_ = ""; - /** - *
-       * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-       * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-       * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-       * +optional
-       * 
- * - * string key = 3; - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-       * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-       * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-       * +optional
-       * 
- * - * string key = 3; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-       * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-       * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-       * +optional
-       * 
- * - * string key = 3; - */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - key_ = value; - onChanged(); - return this; - } - /** - *
-       * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-       * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-       * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-       * +optional
-       * 
- * - * string key = 3; - */ - public Builder clearKey() { - - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - *
-       * The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
-       * of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
-       * match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
-       * +optional
-       * 
- * - * string key = 3; - */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - key_ = value; - onChanged(); - return this; - } - - private int mountRequirement_ = 0; - /** - *
-       * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-       * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-       * will depend on the key management system.
-       * +optional
-       * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - public int getMountRequirementValue() { - return mountRequirement_; - } - /** - *
-       * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-       * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-       * will depend on the key management system.
-       * +optional
-       * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - public Builder setMountRequirementValue(int value) { - mountRequirement_ = value; - onChanged(); - return this; - } - /** - *
-       * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-       * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-       * will depend on the key management system.
-       * +optional
-       * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - public flyteidl.core.Security.Secret.MountType getMountRequirement() { - @SuppressWarnings("deprecation") - flyteidl.core.Security.Secret.MountType result = flyteidl.core.Security.Secret.MountType.valueOf(mountRequirement_); - return result == null ? flyteidl.core.Security.Secret.MountType.UNRECOGNIZED : result; - } - /** - *
-       * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-       * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-       * will depend on the key management system.
-       * +optional
-       * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - public Builder setMountRequirement(flyteidl.core.Security.Secret.MountType value) { - if (value == null) { - throw new NullPointerException(); - } - - mountRequirement_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
-       * if the underlying key management system cannot satisfy that requirement. If not provided, the default location
-       * will depend on the key management system.
-       * +optional
-       * 
- * - * .flyteidl.core.Secret.MountType mount_requirement = 4; - */ - public Builder clearMountRequirement() { - - mountRequirement_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Secret) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Secret) - private static final flyteidl.core.Security.Secret DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Security.Secret(); - } - - public static flyteidl.core.Security.Secret getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Secret parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Secret(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.Security.Secret getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OAuth2ClientOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.OAuth2Client) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-     * secret requested matches the client_id indicated here.
-     * +required
-     * 
- * - * string client_id = 1; - */ - java.lang.String getClientId(); - /** - *
-     * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-     * secret requested matches the client_id indicated here.
-     * +required
-     * 
- * - * string client_id = 1; - */ - com.google.protobuf.ByteString - getClientIdBytes(); - - /** - *
-     * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-     * +required
-     * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - boolean hasClientSecret(); - /** - *
-     * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-     * +required
-     * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - flyteidl.core.Security.Secret getClientSecret(); - /** - *
-     * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-     * +required
-     * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - flyteidl.core.Security.SecretOrBuilder getClientSecretOrBuilder(); - } - /** - *
-   * OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task.
-   * 
- * - * Protobuf type {@code flyteidl.core.OAuth2Client} - */ - public static final class OAuth2Client extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.OAuth2Client) - OAuth2ClientOrBuilder { - private static final long serialVersionUID = 0L; - // Use OAuth2Client.newBuilder() to construct. - private OAuth2Client(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private OAuth2Client() { - clientId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private OAuth2Client( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - clientId_ = s; - break; - } - case 18: { - flyteidl.core.Security.Secret.Builder subBuilder = null; - if (clientSecret_ != null) { - subBuilder = clientSecret_.toBuilder(); - } - clientSecret_ = input.readMessage(flyteidl.core.Security.Secret.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(clientSecret_); - clientSecret_ = 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.core.Security.internal_static_flyteidl_core_OAuth2Client_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2Client_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.OAuth2Client.class, flyteidl.core.Security.OAuth2Client.Builder.class); - } - - public static final int CLIENT_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object clientId_; - /** - *
-     * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-     * secret requested matches the client_id indicated here.
-     * +required
-     * 
- * - * string client_id = 1; - */ - public java.lang.String getClientId() { - java.lang.Object ref = clientId_; - 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(); - clientId_ = s; - return s; - } - } - /** - *
-     * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-     * secret requested matches the client_id indicated here.
-     * +required
-     * 
- * - * string client_id = 1; - */ - public com.google.protobuf.ByteString - getClientIdBytes() { - java.lang.Object ref = clientId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clientId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CLIENT_SECRET_FIELD_NUMBER = 2; - private flyteidl.core.Security.Secret clientSecret_; - /** - *
-     * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-     * +required
-     * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public boolean hasClientSecret() { - return clientSecret_ != null; - } - /** - *
-     * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-     * +required
-     * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public flyteidl.core.Security.Secret getClientSecret() { - return clientSecret_ == null ? flyteidl.core.Security.Secret.getDefaultInstance() : clientSecret_; - } - /** - *
-     * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-     * +required
-     * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public flyteidl.core.Security.SecretOrBuilder getClientSecretOrBuilder() { - return getClientSecret(); - } - - 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 (!getClientIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientId_); - } - if (clientSecret_ != null) { - output.writeMessage(2, getClientSecret()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getClientIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientId_); - } - if (clientSecret_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getClientSecret()); - } - 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.Security.OAuth2Client)) { - return super.equals(obj); - } - flyteidl.core.Security.OAuth2Client other = (flyteidl.core.Security.OAuth2Client) obj; - - if (!getClientId() - .equals(other.getClientId())) return false; - if (hasClientSecret() != other.hasClientSecret()) return false; - if (hasClientSecret()) { - if (!getClientSecret() - .equals(other.getClientSecret())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER; - hash = (53 * hash) + getClientId().hashCode(); - if (hasClientSecret()) { - hash = (37 * hash) + CLIENT_SECRET_FIELD_NUMBER; - hash = (53 * hash) + getClientSecret().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Security.OAuth2Client parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.OAuth2Client parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.OAuth2Client parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.OAuth2Client 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.Security.OAuth2Client parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.OAuth2Client parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.OAuth2Client parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.OAuth2Client 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.Security.OAuth2Client parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Security.OAuth2Client 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.Security.OAuth2Client parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.OAuth2Client 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.Security.OAuth2Client 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; - } - /** - *
-     * OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task.
-     * 
- * - * Protobuf type {@code flyteidl.core.OAuth2Client} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.OAuth2Client) - flyteidl.core.Security.OAuth2ClientOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2Client_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2Client_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.OAuth2Client.class, flyteidl.core.Security.OAuth2Client.Builder.class); - } - - // Construct using flyteidl.core.Security.OAuth2Client.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(); - clientId_ = ""; - - if (clientSecretBuilder_ == null) { - clientSecret_ = null; - } else { - clientSecret_ = null; - clientSecretBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2Client_descriptor; - } - - @java.lang.Override - public flyteidl.core.Security.OAuth2Client getDefaultInstanceForType() { - return flyteidl.core.Security.OAuth2Client.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Security.OAuth2Client build() { - flyteidl.core.Security.OAuth2Client result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Security.OAuth2Client buildPartial() { - flyteidl.core.Security.OAuth2Client result = new flyteidl.core.Security.OAuth2Client(this); - result.clientId_ = clientId_; - if (clientSecretBuilder_ == null) { - result.clientSecret_ = clientSecret_; - } else { - result.clientSecret_ = clientSecretBuilder_.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.Security.OAuth2Client) { - return mergeFrom((flyteidl.core.Security.OAuth2Client)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Security.OAuth2Client other) { - if (other == flyteidl.core.Security.OAuth2Client.getDefaultInstance()) return this; - if (!other.getClientId().isEmpty()) { - clientId_ = other.clientId_; - onChanged(); - } - if (other.hasClientSecret()) { - mergeClientSecret(other.getClientSecret()); - } - 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.Security.OAuth2Client parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Security.OAuth2Client) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object clientId_ = ""; - /** - *
-       * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-       * secret requested matches the client_id indicated here.
-       * +required
-       * 
- * - * string client_id = 1; - */ - public java.lang.String getClientId() { - java.lang.Object ref = clientId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - clientId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-       * secret requested matches the client_id indicated here.
-       * +required
-       * 
- * - * string client_id = 1; - */ - public com.google.protobuf.ByteString - getClientIdBytes() { - java.lang.Object ref = clientId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clientId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-       * secret requested matches the client_id indicated here.
-       * +required
-       * 
- * - * string client_id = 1; - */ - public Builder setClientId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - clientId_ = value; - onChanged(); - return this; - } - /** - *
-       * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-       * secret requested matches the client_id indicated here.
-       * +required
-       * 
- * - * string client_id = 1; - */ - public Builder clearClientId() { - - clientId_ = getDefaultInstance().getClientId(); - onChanged(); - return this; - } - /** - *
-       * client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
-       * secret requested matches the client_id indicated here.
-       * +required
-       * 
- * - * string client_id = 1; - */ - public Builder setClientIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - clientId_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Security.Secret clientSecret_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.Secret, flyteidl.core.Security.Secret.Builder, flyteidl.core.Security.SecretOrBuilder> clientSecretBuilder_; - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public boolean hasClientSecret() { - return clientSecretBuilder_ != null || clientSecret_ != null; - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public flyteidl.core.Security.Secret getClientSecret() { - if (clientSecretBuilder_ == null) { - return clientSecret_ == null ? flyteidl.core.Security.Secret.getDefaultInstance() : clientSecret_; - } else { - return clientSecretBuilder_.getMessage(); - } - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public Builder setClientSecret(flyteidl.core.Security.Secret value) { - if (clientSecretBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - clientSecret_ = value; - onChanged(); - } else { - clientSecretBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public Builder setClientSecret( - flyteidl.core.Security.Secret.Builder builderForValue) { - if (clientSecretBuilder_ == null) { - clientSecret_ = builderForValue.build(); - onChanged(); - } else { - clientSecretBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public Builder mergeClientSecret(flyteidl.core.Security.Secret value) { - if (clientSecretBuilder_ == null) { - if (clientSecret_ != null) { - clientSecret_ = - flyteidl.core.Security.Secret.newBuilder(clientSecret_).mergeFrom(value).buildPartial(); - } else { - clientSecret_ = value; - } - onChanged(); - } else { - clientSecretBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public Builder clearClientSecret() { - if (clientSecretBuilder_ == null) { - clientSecret_ = null; - onChanged(); - } else { - clientSecret_ = null; - clientSecretBuilder_ = null; - } - - return this; - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public flyteidl.core.Security.Secret.Builder getClientSecretBuilder() { - - onChanged(); - return getClientSecretFieldBuilder().getBuilder(); - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - public flyteidl.core.Security.SecretOrBuilder getClientSecretOrBuilder() { - if (clientSecretBuilder_ != null) { - return clientSecretBuilder_.getMessageOrBuilder(); - } else { - return clientSecret_ == null ? - flyteidl.core.Security.Secret.getDefaultInstance() : clientSecret_; - } - } - /** - *
-       * client_secret is a reference to the secret used to authenticate the OAuth2 client.
-       * +required
-       * 
- * - * .flyteidl.core.Secret client_secret = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.Secret, flyteidl.core.Security.Secret.Builder, flyteidl.core.Security.SecretOrBuilder> - getClientSecretFieldBuilder() { - if (clientSecretBuilder_ == null) { - clientSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.Secret, flyteidl.core.Security.Secret.Builder, flyteidl.core.Security.SecretOrBuilder>( - getClientSecret(), - getParentForChildren(), - isClean()); - clientSecret_ = null; - } - return clientSecretBuilder_; - } - @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.OAuth2Client) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.OAuth2Client) - private static final flyteidl.core.Security.OAuth2Client DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Security.OAuth2Client(); - } - - public static flyteidl.core.Security.OAuth2Client getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuth2Client parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuth2Client(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.Security.OAuth2Client getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface IdentityOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Identity) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-     * 
- * - * string iam_role = 1; - */ - java.lang.String getIamRole(); - /** - *
-     * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-     * 
- * - * string iam_role = 1; - */ - com.google.protobuf.ByteString - getIamRoleBytes(); - - /** - *
-     * k8s_service_account references a kubernetes service account to impersonate.
-     * 
- * - * string k8s_service_account = 2; - */ - java.lang.String getK8SServiceAccount(); - /** - *
-     * k8s_service_account references a kubernetes service account to impersonate.
-     * 
- * - * string k8s_service_account = 2; - */ - com.google.protobuf.ByteString - getK8SServiceAccountBytes(); - - /** - *
-     * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-     * making external calls.
-     * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - boolean hasOauth2Client(); - /** - *
-     * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-     * making external calls.
-     * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - flyteidl.core.Security.OAuth2Client getOauth2Client(); - /** - *
-     * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-     * making external calls.
-     * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - flyteidl.core.Security.OAuth2ClientOrBuilder getOauth2ClientOrBuilder(); - - /** - *
-     * execution_identity references the subject who makes the execution
-     * 
- * - * string execution_identity = 4; - */ - java.lang.String getExecutionIdentity(); - /** - *
-     * execution_identity references the subject who makes the execution
-     * 
- * - * string execution_identity = 4; - */ - com.google.protobuf.ByteString - getExecutionIdentityBytes(); - } - /** - *
-   * Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the
-   * right identity for the execution environment.
-   * 
- * - * Protobuf type {@code flyteidl.core.Identity} - */ - public static final class Identity extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Identity) - IdentityOrBuilder { - private static final long serialVersionUID = 0L; - // Use Identity.newBuilder() to construct. - private Identity(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Identity() { - iamRole_ = ""; - k8SServiceAccount_ = ""; - executionIdentity_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Identity( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - iamRole_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - k8SServiceAccount_ = s; - break; - } - case 26: { - flyteidl.core.Security.OAuth2Client.Builder subBuilder = null; - if (oauth2Client_ != null) { - subBuilder = oauth2Client_.toBuilder(); - } - oauth2Client_ = input.readMessage(flyteidl.core.Security.OAuth2Client.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oauth2Client_); - oauth2Client_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - executionIdentity_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_Identity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_Identity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.Identity.class, flyteidl.core.Security.Identity.Builder.class); - } - - public static final int IAM_ROLE_FIELD_NUMBER = 1; - private volatile java.lang.Object iamRole_; - /** - *
-     * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-     * 
- * - * string iam_role = 1; - */ - public java.lang.String getIamRole() { - java.lang.Object ref = iamRole_; - 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(); - iamRole_ = s; - return s; - } - } - /** - *
-     * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-     * 
- * - * string iam_role = 1; - */ - public com.google.protobuf.ByteString - getIamRoleBytes() { - java.lang.Object ref = iamRole_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - iamRole_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int K8S_SERVICE_ACCOUNT_FIELD_NUMBER = 2; - private volatile java.lang.Object k8SServiceAccount_; - /** - *
-     * k8s_service_account references a kubernetes service account to impersonate.
-     * 
- * - * string k8s_service_account = 2; - */ - public java.lang.String getK8SServiceAccount() { - java.lang.Object ref = k8SServiceAccount_; - 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(); - k8SServiceAccount_ = s; - return s; - } - } - /** - *
-     * k8s_service_account references a kubernetes service account to impersonate.
-     * 
- * - * string k8s_service_account = 2; - */ - public com.google.protobuf.ByteString - getK8SServiceAccountBytes() { - java.lang.Object ref = k8SServiceAccount_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - k8SServiceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OAUTH2_CLIENT_FIELD_NUMBER = 3; - private flyteidl.core.Security.OAuth2Client oauth2Client_; - /** - *
-     * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-     * making external calls.
-     * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public boolean hasOauth2Client() { - return oauth2Client_ != null; - } - /** - *
-     * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-     * making external calls.
-     * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public flyteidl.core.Security.OAuth2Client getOauth2Client() { - return oauth2Client_ == null ? flyteidl.core.Security.OAuth2Client.getDefaultInstance() : oauth2Client_; - } - /** - *
-     * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-     * making external calls.
-     * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public flyteidl.core.Security.OAuth2ClientOrBuilder getOauth2ClientOrBuilder() { - return getOauth2Client(); - } - - public static final int EXECUTION_IDENTITY_FIELD_NUMBER = 4; - private volatile java.lang.Object executionIdentity_; - /** - *
-     * execution_identity references the subject who makes the execution
-     * 
- * - * string execution_identity = 4; - */ - public java.lang.String getExecutionIdentity() { - java.lang.Object ref = executionIdentity_; - 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(); - executionIdentity_ = s; - return s; - } - } - /** - *
-     * execution_identity references the subject who makes the execution
-     * 
- * - * string execution_identity = 4; - */ - public com.google.protobuf.ByteString - getExecutionIdentityBytes() { - java.lang.Object ref = executionIdentity_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - executionIdentity_ = 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 (!getIamRoleBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, iamRole_); - } - if (!getK8SServiceAccountBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, k8SServiceAccount_); - } - if (oauth2Client_ != null) { - output.writeMessage(3, getOauth2Client()); - } - if (!getExecutionIdentityBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, executionIdentity_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getIamRoleBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, iamRole_); - } - if (!getK8SServiceAccountBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, k8SServiceAccount_); - } - if (oauth2Client_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOauth2Client()); - } - if (!getExecutionIdentityBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, executionIdentity_); - } - 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.Security.Identity)) { - return super.equals(obj); - } - flyteidl.core.Security.Identity other = (flyteidl.core.Security.Identity) obj; - - if (!getIamRole() - .equals(other.getIamRole())) return false; - if (!getK8SServiceAccount() - .equals(other.getK8SServiceAccount())) return false; - if (hasOauth2Client() != other.hasOauth2Client()) return false; - if (hasOauth2Client()) { - if (!getOauth2Client() - .equals(other.getOauth2Client())) return false; - } - if (!getExecutionIdentity() - .equals(other.getExecutionIdentity())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + IAM_ROLE_FIELD_NUMBER; - hash = (53 * hash) + getIamRole().hashCode(); - hash = (37 * hash) + K8S_SERVICE_ACCOUNT_FIELD_NUMBER; - hash = (53 * hash) + getK8SServiceAccount().hashCode(); - if (hasOauth2Client()) { - hash = (37 * hash) + OAUTH2_CLIENT_FIELD_NUMBER; - hash = (53 * hash) + getOauth2Client().hashCode(); - } - hash = (37 * hash) + EXECUTION_IDENTITY_FIELD_NUMBER; - hash = (53 * hash) + getExecutionIdentity().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Security.Identity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.Identity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.Identity parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.Identity 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.Security.Identity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.Identity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.Identity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.Identity 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.Security.Identity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Security.Identity 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.Security.Identity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.Identity 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.Security.Identity 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; - } - /** - *
-     * Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the
-     * right identity for the execution environment.
-     * 
- * - * Protobuf type {@code flyteidl.core.Identity} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Identity) - flyteidl.core.Security.IdentityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_Identity_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_Identity_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.Identity.class, flyteidl.core.Security.Identity.Builder.class); - } - - // Construct using flyteidl.core.Security.Identity.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(); - iamRole_ = ""; - - k8SServiceAccount_ = ""; - - if (oauth2ClientBuilder_ == null) { - oauth2Client_ = null; - } else { - oauth2Client_ = null; - oauth2ClientBuilder_ = null; - } - executionIdentity_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Security.internal_static_flyteidl_core_Identity_descriptor; - } - - @java.lang.Override - public flyteidl.core.Security.Identity getDefaultInstanceForType() { - return flyteidl.core.Security.Identity.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Security.Identity build() { - flyteidl.core.Security.Identity result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Security.Identity buildPartial() { - flyteidl.core.Security.Identity result = new flyteidl.core.Security.Identity(this); - result.iamRole_ = iamRole_; - result.k8SServiceAccount_ = k8SServiceAccount_; - if (oauth2ClientBuilder_ == null) { - result.oauth2Client_ = oauth2Client_; - } else { - result.oauth2Client_ = oauth2ClientBuilder_.build(); - } - result.executionIdentity_ = executionIdentity_; - 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.Security.Identity) { - return mergeFrom((flyteidl.core.Security.Identity)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Security.Identity other) { - if (other == flyteidl.core.Security.Identity.getDefaultInstance()) return this; - if (!other.getIamRole().isEmpty()) { - iamRole_ = other.iamRole_; - onChanged(); - } - if (!other.getK8SServiceAccount().isEmpty()) { - k8SServiceAccount_ = other.k8SServiceAccount_; - onChanged(); - } - if (other.hasOauth2Client()) { - mergeOauth2Client(other.getOauth2Client()); - } - if (!other.getExecutionIdentity().isEmpty()) { - executionIdentity_ = other.executionIdentity_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Security.Identity parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Security.Identity) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object iamRole_ = ""; - /** - *
-       * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-       * 
- * - * string iam_role = 1; - */ - public java.lang.String getIamRole() { - java.lang.Object ref = iamRole_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - iamRole_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-       * 
- * - * string iam_role = 1; - */ - public com.google.protobuf.ByteString - getIamRoleBytes() { - java.lang.Object ref = iamRole_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - iamRole_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-       * 
- * - * string iam_role = 1; - */ - public Builder setIamRole( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - iamRole_ = value; - onChanged(); - return this; - } - /** - *
-       * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-       * 
- * - * string iam_role = 1; - */ - public Builder clearIamRole() { - - iamRole_ = getDefaultInstance().getIamRole(); - onChanged(); - return this; - } - /** - *
-       * iam_role references the fully qualified name of Identity & Access Management role to impersonate.
-       * 
- * - * string iam_role = 1; - */ - public Builder setIamRoleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - iamRole_ = value; - onChanged(); - return this; - } - - private java.lang.Object k8SServiceAccount_ = ""; - /** - *
-       * k8s_service_account references a kubernetes service account to impersonate.
-       * 
- * - * string k8s_service_account = 2; - */ - public java.lang.String getK8SServiceAccount() { - java.lang.Object ref = k8SServiceAccount_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - k8SServiceAccount_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * k8s_service_account references a kubernetes service account to impersonate.
-       * 
- * - * string k8s_service_account = 2; - */ - public com.google.protobuf.ByteString - getK8SServiceAccountBytes() { - java.lang.Object ref = k8SServiceAccount_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - k8SServiceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * k8s_service_account references a kubernetes service account to impersonate.
-       * 
- * - * string k8s_service_account = 2; - */ - public Builder setK8SServiceAccount( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - k8SServiceAccount_ = value; - onChanged(); - return this; - } - /** - *
-       * k8s_service_account references a kubernetes service account to impersonate.
-       * 
- * - * string k8s_service_account = 2; - */ - public Builder clearK8SServiceAccount() { - - k8SServiceAccount_ = getDefaultInstance().getK8SServiceAccount(); - onChanged(); - return this; - } - /** - *
-       * k8s_service_account references a kubernetes service account to impersonate.
-       * 
- * - * string k8s_service_account = 2; - */ - public Builder setK8SServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - k8SServiceAccount_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Security.OAuth2Client oauth2Client_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.OAuth2Client, flyteidl.core.Security.OAuth2Client.Builder, flyteidl.core.Security.OAuth2ClientOrBuilder> oauth2ClientBuilder_; - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public boolean hasOauth2Client() { - return oauth2ClientBuilder_ != null || oauth2Client_ != null; - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public flyteidl.core.Security.OAuth2Client getOauth2Client() { - if (oauth2ClientBuilder_ == null) { - return oauth2Client_ == null ? flyteidl.core.Security.OAuth2Client.getDefaultInstance() : oauth2Client_; - } else { - return oauth2ClientBuilder_.getMessage(); - } - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public Builder setOauth2Client(flyteidl.core.Security.OAuth2Client value) { - if (oauth2ClientBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - oauth2Client_ = value; - onChanged(); - } else { - oauth2ClientBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public Builder setOauth2Client( - flyteidl.core.Security.OAuth2Client.Builder builderForValue) { - if (oauth2ClientBuilder_ == null) { - oauth2Client_ = builderForValue.build(); - onChanged(); - } else { - oauth2ClientBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public Builder mergeOauth2Client(flyteidl.core.Security.OAuth2Client value) { - if (oauth2ClientBuilder_ == null) { - if (oauth2Client_ != null) { - oauth2Client_ = - flyteidl.core.Security.OAuth2Client.newBuilder(oauth2Client_).mergeFrom(value).buildPartial(); - } else { - oauth2Client_ = value; - } - onChanged(); - } else { - oauth2ClientBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public Builder clearOauth2Client() { - if (oauth2ClientBuilder_ == null) { - oauth2Client_ = null; - onChanged(); - } else { - oauth2Client_ = null; - oauth2ClientBuilder_ = null; - } - - return this; - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public flyteidl.core.Security.OAuth2Client.Builder getOauth2ClientBuilder() { - - onChanged(); - return getOauth2ClientFieldBuilder().getBuilder(); - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - public flyteidl.core.Security.OAuth2ClientOrBuilder getOauth2ClientOrBuilder() { - if (oauth2ClientBuilder_ != null) { - return oauth2ClientBuilder_.getMessageOrBuilder(); - } else { - return oauth2Client_ == null ? - flyteidl.core.Security.OAuth2Client.getDefaultInstance() : oauth2Client_; - } - } - /** - *
-       * oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
-       * making external calls.
-       * 
- * - * .flyteidl.core.OAuth2Client oauth2_client = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.OAuth2Client, flyteidl.core.Security.OAuth2Client.Builder, flyteidl.core.Security.OAuth2ClientOrBuilder> - getOauth2ClientFieldBuilder() { - if (oauth2ClientBuilder_ == null) { - oauth2ClientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.OAuth2Client, flyteidl.core.Security.OAuth2Client.Builder, flyteidl.core.Security.OAuth2ClientOrBuilder>( - getOauth2Client(), - getParentForChildren(), - isClean()); - oauth2Client_ = null; - } - return oauth2ClientBuilder_; - } - - private java.lang.Object executionIdentity_ = ""; - /** - *
-       * execution_identity references the subject who makes the execution
-       * 
- * - * string execution_identity = 4; - */ - public java.lang.String getExecutionIdentity() { - java.lang.Object ref = executionIdentity_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - executionIdentity_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * execution_identity references the subject who makes the execution
-       * 
- * - * string execution_identity = 4; - */ - public com.google.protobuf.ByteString - getExecutionIdentityBytes() { - java.lang.Object ref = executionIdentity_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - executionIdentity_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * execution_identity references the subject who makes the execution
-       * 
- * - * string execution_identity = 4; - */ - public Builder setExecutionIdentity( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - executionIdentity_ = value; - onChanged(); - return this; - } - /** - *
-       * execution_identity references the subject who makes the execution
-       * 
- * - * string execution_identity = 4; - */ - public Builder clearExecutionIdentity() { - - executionIdentity_ = getDefaultInstance().getExecutionIdentity(); - onChanged(); - return this; - } - /** - *
-       * execution_identity references the subject who makes the execution
-       * 
- * - * string execution_identity = 4; - */ - public Builder setExecutionIdentityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - executionIdentity_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Identity) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Identity) - private static final flyteidl.core.Security.Identity DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Security.Identity(); - } - - public static flyteidl.core.Security.Identity getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Identity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Identity(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.Security.Identity getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OAuth2TokenRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.OAuth2TokenRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-     * environment variables and as a filename for mounting tokens as files.
-     * +required
-     * 
- * - * string name = 1; - */ - java.lang.String getName(); - /** - *
-     * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-     * environment variables and as a filename for mounting tokens as files.
-     * +required
-     * 
- * - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - int getTypeValue(); - /** - *
-     * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - flyteidl.core.Security.OAuth2TokenRequest.Type getType(); - - /** - *
-     * client references the client_id/secret to use to request the OAuth2 token.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - boolean hasClient(); - /** - *
-     * client references the client_id/secret to use to request the OAuth2 token.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - flyteidl.core.Security.OAuth2Client getClient(); - /** - *
-     * client references the client_id/secret to use to request the OAuth2 token.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - flyteidl.core.Security.OAuth2ClientOrBuilder getClientOrBuilder(); - - /** - *
-     * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-     * information.
-     * +optional
-     * 
- * - * string idp_discovery_endpoint = 4; - */ - java.lang.String getIdpDiscoveryEndpoint(); - /** - *
-     * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-     * information.
-     * +optional
-     * 
- * - * string idp_discovery_endpoint = 4; - */ - com.google.protobuf.ByteString - getIdpDiscoveryEndpointBytes(); - - /** - *
-     * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-     * mandatory.
-     * +optional
-     * 
- * - * string token_endpoint = 5; - */ - java.lang.String getTokenEndpoint(); - /** - *
-     * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-     * mandatory.
-     * +optional
-     * 
- * - * string token_endpoint = 5; - */ - com.google.protobuf.ByteString - getTokenEndpointBytes(); - } - /** - *
-   * OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.
-   * FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if
-   * tokens are passed through environment variables.
-   * FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens
-   * are passed through file mounts.
-   * 
- * - * Protobuf type {@code flyteidl.core.OAuth2TokenRequest} - */ - public static final class OAuth2TokenRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.OAuth2TokenRequest) - OAuth2TokenRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use OAuth2TokenRequest.newBuilder() to construct. - private OAuth2TokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private OAuth2TokenRequest() { - name_ = ""; - type_ = 0; - idpDiscoveryEndpoint_ = ""; - tokenEndpoint_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private OAuth2TokenRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 26: { - flyteidl.core.Security.OAuth2Client.Builder subBuilder = null; - if (client_ != null) { - subBuilder = client_.toBuilder(); - } - client_ = input.readMessage(flyteidl.core.Security.OAuth2Client.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(client_); - client_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - idpDiscoveryEndpoint_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - tokenEndpoint_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2TokenRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2TokenRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.OAuth2TokenRequest.class, flyteidl.core.Security.OAuth2TokenRequest.Builder.class); - } - - /** - *
-     * Type of the token requested.
-     * 
- * - * Protobuf enum {@code flyteidl.core.OAuth2TokenRequest.Type} - */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials.
-       * 
- * - * CLIENT_CREDENTIALS = 0; - */ - CLIENT_CREDENTIALS(0), - UNRECOGNIZED(-1), - ; - - /** - *
-       * CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials.
-       * 
- * - * CLIENT_CREDENTIALS = 0; - */ - public static final int CLIENT_CREDENTIALS_VALUE = 0; - - - 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 Type valueOf(int value) { - return forNumber(value); - } - - public static Type forNumber(int value) { - switch (value) { - case 0: return CLIENT_CREDENTIALS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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.Security.OAuth2TokenRequest.getDescriptor().getEnumTypes().get(0); - } - - private static final Type[] VALUES = values(); - - public static Type 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 Type(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.OAuth2TokenRequest.Type) - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - *
-     * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-     * environment variables and as a filename for mounting tokens as files.
-     * +required
-     * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-     * environment variables and as a filename for mounting tokens as files.
-     * +required
-     * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_FIELD_NUMBER = 2; - private int type_; - /** - *
-     * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - public int getTypeValue() { - return type_; - } - /** - *
-     * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - public flyteidl.core.Security.OAuth2TokenRequest.Type getType() { - @SuppressWarnings("deprecation") - flyteidl.core.Security.OAuth2TokenRequest.Type result = flyteidl.core.Security.OAuth2TokenRequest.Type.valueOf(type_); - return result == null ? flyteidl.core.Security.OAuth2TokenRequest.Type.UNRECOGNIZED : result; - } - - public static final int CLIENT_FIELD_NUMBER = 3; - private flyteidl.core.Security.OAuth2Client client_; - /** - *
-     * client references the client_id/secret to use to request the OAuth2 token.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public boolean hasClient() { - return client_ != null; - } - /** - *
-     * client references the client_id/secret to use to request the OAuth2 token.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public flyteidl.core.Security.OAuth2Client getClient() { - return client_ == null ? flyteidl.core.Security.OAuth2Client.getDefaultInstance() : client_; - } - /** - *
-     * client references the client_id/secret to use to request the OAuth2 token.
-     * +required
-     * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public flyteidl.core.Security.OAuth2ClientOrBuilder getClientOrBuilder() { - return getClient(); - } - - public static final int IDP_DISCOVERY_ENDPOINT_FIELD_NUMBER = 4; - private volatile java.lang.Object idpDiscoveryEndpoint_; - /** - *
-     * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-     * information.
-     * +optional
-     * 
- * - * string idp_discovery_endpoint = 4; - */ - public java.lang.String getIdpDiscoveryEndpoint() { - java.lang.Object ref = idpDiscoveryEndpoint_; - 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(); - idpDiscoveryEndpoint_ = s; - return s; - } - } - /** - *
-     * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-     * information.
-     * +optional
-     * 
- * - * string idp_discovery_endpoint = 4; - */ - public com.google.protobuf.ByteString - getIdpDiscoveryEndpointBytes() { - java.lang.Object ref = idpDiscoveryEndpoint_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - idpDiscoveryEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 5; - private volatile java.lang.Object tokenEndpoint_; - /** - *
-     * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-     * mandatory.
-     * +optional
-     * 
- * - * string token_endpoint = 5; - */ - public java.lang.String getTokenEndpoint() { - java.lang.Object ref = tokenEndpoint_; - 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(); - tokenEndpoint_ = s; - return s; - } - } - /** - *
-     * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-     * mandatory.
-     * +optional
-     * 
- * - * string token_endpoint = 5; - */ - public com.google.protobuf.ByteString - getTokenEndpointBytes() { - java.lang.Object ref = tokenEndpoint_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tokenEndpoint_ = 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 (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (type_ != flyteidl.core.Security.OAuth2TokenRequest.Type.CLIENT_CREDENTIALS.getNumber()) { - output.writeEnum(2, type_); - } - if (client_ != null) { - output.writeMessage(3, getClient()); - } - if (!getIdpDiscoveryEndpointBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, idpDiscoveryEndpoint_); - } - if (!getTokenEndpointBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tokenEndpoint_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (type_ != flyteidl.core.Security.OAuth2TokenRequest.Type.CLIENT_CREDENTIALS.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); - } - if (client_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getClient()); - } - if (!getIdpDiscoveryEndpointBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, idpDiscoveryEndpoint_); - } - if (!getTokenEndpointBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, tokenEndpoint_); - } - 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.Security.OAuth2TokenRequest)) { - return super.equals(obj); - } - flyteidl.core.Security.OAuth2TokenRequest other = (flyteidl.core.Security.OAuth2TokenRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (type_ != other.type_) return false; - if (hasClient() != other.hasClient()) return false; - if (hasClient()) { - if (!getClient() - .equals(other.getClient())) return false; - } - if (!getIdpDiscoveryEndpoint() - .equals(other.getIdpDiscoveryEndpoint())) return false; - if (!getTokenEndpoint() - .equals(other.getTokenEndpoint())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - if (hasClient()) { - hash = (37 * hash) + CLIENT_FIELD_NUMBER; - hash = (53 * hash) + getClient().hashCode(); - } - hash = (37 * hash) + IDP_DISCOVERY_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + getIdpDiscoveryEndpoint().hashCode(); - hash = (37 * hash) + TOKEN_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + getTokenEndpoint().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Security.OAuth2TokenRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.OAuth2TokenRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.OAuth2TokenRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.OAuth2TokenRequest 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.Security.OAuth2TokenRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.OAuth2TokenRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.OAuth2TokenRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.OAuth2TokenRequest 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.Security.OAuth2TokenRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Security.OAuth2TokenRequest 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.Security.OAuth2TokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.OAuth2TokenRequest 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.Security.OAuth2TokenRequest 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; - } - /** - *
-     * OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.
-     * FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if
-     * tokens are passed through environment variables.
-     * FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens
-     * are passed through file mounts.
-     * 
- * - * Protobuf type {@code flyteidl.core.OAuth2TokenRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.OAuth2TokenRequest) - flyteidl.core.Security.OAuth2TokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2TokenRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2TokenRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.OAuth2TokenRequest.class, flyteidl.core.Security.OAuth2TokenRequest.Builder.class); - } - - // Construct using flyteidl.core.Security.OAuth2TokenRequest.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(); - name_ = ""; - - type_ = 0; - - if (clientBuilder_ == null) { - client_ = null; - } else { - client_ = null; - clientBuilder_ = null; - } - idpDiscoveryEndpoint_ = ""; - - tokenEndpoint_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Security.internal_static_flyteidl_core_OAuth2TokenRequest_descriptor; - } - - @java.lang.Override - public flyteidl.core.Security.OAuth2TokenRequest getDefaultInstanceForType() { - return flyteidl.core.Security.OAuth2TokenRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Security.OAuth2TokenRequest build() { - flyteidl.core.Security.OAuth2TokenRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Security.OAuth2TokenRequest buildPartial() { - flyteidl.core.Security.OAuth2TokenRequest result = new flyteidl.core.Security.OAuth2TokenRequest(this); - result.name_ = name_; - result.type_ = type_; - if (clientBuilder_ == null) { - result.client_ = client_; - } else { - result.client_ = clientBuilder_.build(); - } - result.idpDiscoveryEndpoint_ = idpDiscoveryEndpoint_; - result.tokenEndpoint_ = tokenEndpoint_; - 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.Security.OAuth2TokenRequest) { - return mergeFrom((flyteidl.core.Security.OAuth2TokenRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Security.OAuth2TokenRequest other) { - if (other == flyteidl.core.Security.OAuth2TokenRequest.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - if (other.hasClient()) { - mergeClient(other.getClient()); - } - if (!other.getIdpDiscoveryEndpoint().isEmpty()) { - idpDiscoveryEndpoint_ = other.idpDiscoveryEndpoint_; - onChanged(); - } - if (!other.getTokenEndpoint().isEmpty()) { - tokenEndpoint_ = other.tokenEndpoint_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Security.OAuth2TokenRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Security.OAuth2TokenRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-       * environment variables and as a filename for mounting tokens as files.
-       * +required
-       * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-       * environment variables and as a filename for mounting tokens as files.
-       * +required
-       * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-       * environment variables and as a filename for mounting tokens as files.
-       * +required
-       * 
- * - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-       * environment variables and as a filename for mounting tokens as files.
-       * +required
-       * 
- * - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
-       * environment variables and as a filename for mounting tokens as files.
-       * +required
-       * 
- * - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private int type_ = 0; - /** - *
-       * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - public int getTypeValue() { - return type_; - } - /** - *
-       * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - public Builder setTypeValue(int value) { - type_ = value; - onChanged(); - return this; - } - /** - *
-       * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - public flyteidl.core.Security.OAuth2TokenRequest.Type getType() { - @SuppressWarnings("deprecation") - flyteidl.core.Security.OAuth2TokenRequest.Type result = flyteidl.core.Security.OAuth2TokenRequest.Type.valueOf(type_); - return result == null ? flyteidl.core.Security.OAuth2TokenRequest.Type.UNRECOGNIZED : result; - } - /** - *
-       * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - public Builder setType(flyteidl.core.Security.OAuth2TokenRequest.Type value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2TokenRequest.Type type = 2; - */ - public Builder clearType() { - - type_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Security.OAuth2Client client_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.OAuth2Client, flyteidl.core.Security.OAuth2Client.Builder, flyteidl.core.Security.OAuth2ClientOrBuilder> clientBuilder_; - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public boolean hasClient() { - return clientBuilder_ != null || client_ != null; - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public flyteidl.core.Security.OAuth2Client getClient() { - if (clientBuilder_ == null) { - return client_ == null ? flyteidl.core.Security.OAuth2Client.getDefaultInstance() : client_; - } else { - return clientBuilder_.getMessage(); - } - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public Builder setClient(flyteidl.core.Security.OAuth2Client value) { - if (clientBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - client_ = value; - onChanged(); - } else { - clientBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public Builder setClient( - flyteidl.core.Security.OAuth2Client.Builder builderForValue) { - if (clientBuilder_ == null) { - client_ = builderForValue.build(); - onChanged(); - } else { - clientBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public Builder mergeClient(flyteidl.core.Security.OAuth2Client value) { - if (clientBuilder_ == null) { - if (client_ != null) { - client_ = - flyteidl.core.Security.OAuth2Client.newBuilder(client_).mergeFrom(value).buildPartial(); - } else { - client_ = value; - } - onChanged(); - } else { - clientBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public Builder clearClient() { - if (clientBuilder_ == null) { - client_ = null; - onChanged(); - } else { - client_ = null; - clientBuilder_ = null; - } - - return this; - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public flyteidl.core.Security.OAuth2Client.Builder getClientBuilder() { - - onChanged(); - return getClientFieldBuilder().getBuilder(); - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - public flyteidl.core.Security.OAuth2ClientOrBuilder getClientOrBuilder() { - if (clientBuilder_ != null) { - return clientBuilder_.getMessageOrBuilder(); - } else { - return client_ == null ? - flyteidl.core.Security.OAuth2Client.getDefaultInstance() : client_; - } - } - /** - *
-       * client references the client_id/secret to use to request the OAuth2 token.
-       * +required
-       * 
- * - * .flyteidl.core.OAuth2Client client = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.OAuth2Client, flyteidl.core.Security.OAuth2Client.Builder, flyteidl.core.Security.OAuth2ClientOrBuilder> - getClientFieldBuilder() { - if (clientBuilder_ == null) { - clientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.OAuth2Client, flyteidl.core.Security.OAuth2Client.Builder, flyteidl.core.Security.OAuth2ClientOrBuilder>( - getClient(), - getParentForChildren(), - isClean()); - client_ = null; - } - return clientBuilder_; - } - - private java.lang.Object idpDiscoveryEndpoint_ = ""; - /** - *
-       * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-       * information.
-       * +optional
-       * 
- * - * string idp_discovery_endpoint = 4; - */ - public java.lang.String getIdpDiscoveryEndpoint() { - java.lang.Object ref = idpDiscoveryEndpoint_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - idpDiscoveryEndpoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-       * information.
-       * +optional
-       * 
- * - * string idp_discovery_endpoint = 4; - */ - public com.google.protobuf.ByteString - getIdpDiscoveryEndpointBytes() { - java.lang.Object ref = idpDiscoveryEndpoint_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - idpDiscoveryEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-       * information.
-       * +optional
-       * 
- * - * string idp_discovery_endpoint = 4; - */ - public Builder setIdpDiscoveryEndpoint( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - idpDiscoveryEndpoint_ = value; - onChanged(); - return this; - } - /** - *
-       * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-       * information.
-       * +optional
-       * 
- * - * string idp_discovery_endpoint = 4; - */ - public Builder clearIdpDiscoveryEndpoint() { - - idpDiscoveryEndpoint_ = getDefaultInstance().getIdpDiscoveryEndpoint(); - onChanged(); - return this; - } - /** - *
-       * idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
-       * information.
-       * +optional
-       * 
- * - * string idp_discovery_endpoint = 4; - */ - public Builder setIdpDiscoveryEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - idpDiscoveryEndpoint_ = value; - onChanged(); - return this; - } - - private java.lang.Object tokenEndpoint_ = ""; - /** - *
-       * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-       * mandatory.
-       * +optional
-       * 
- * - * string token_endpoint = 5; - */ - public java.lang.String getTokenEndpoint() { - java.lang.Object ref = tokenEndpoint_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - tokenEndpoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-       * mandatory.
-       * +optional
-       * 
- * - * string token_endpoint = 5; - */ - public com.google.protobuf.ByteString - getTokenEndpointBytes() { - java.lang.Object ref = tokenEndpoint_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tokenEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-       * mandatory.
-       * +optional
-       * 
- * - * string token_endpoint = 5; - */ - public Builder setTokenEndpoint( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - tokenEndpoint_ = value; - onChanged(); - return this; - } - /** - *
-       * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-       * mandatory.
-       * +optional
-       * 
- * - * string token_endpoint = 5; - */ - public Builder clearTokenEndpoint() { - - tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); - onChanged(); - return this; - } - /** - *
-       * token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
-       * mandatory.
-       * +optional
-       * 
- * - * string token_endpoint = 5; - */ - public Builder setTokenEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - tokenEndpoint_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.OAuth2TokenRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.OAuth2TokenRequest) - private static final flyteidl.core.Security.OAuth2TokenRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Security.OAuth2TokenRequest(); - } - - public static flyteidl.core.Security.OAuth2TokenRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuth2TokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuth2TokenRequest(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.Security.OAuth2TokenRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SecurityContextOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.SecurityContext) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-     * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-     * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - boolean hasRunAs(); - /** - *
-     * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-     * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-     * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - flyteidl.core.Security.Identity getRunAs(); - /** - *
-     * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-     * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-     * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - flyteidl.core.Security.IdentityOrBuilder getRunAsOrBuilder(); - - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - java.util.List - getSecretsList(); - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - flyteidl.core.Security.Secret getSecrets(int index); - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - int getSecretsCount(); - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - java.util.List - getSecretsOrBuilderList(); - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - flyteidl.core.Security.SecretOrBuilder getSecretsOrBuilder( - int index); - - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - java.util.List - getTokensList(); - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - flyteidl.core.Security.OAuth2TokenRequest getTokens(int index); - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - int getTokensCount(); - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - java.util.List - getTokensOrBuilderList(); - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - flyteidl.core.Security.OAuth2TokenRequestOrBuilder getTokensOrBuilder( - int index); - } - /** - *
-   * SecurityContext holds security attributes that apply to tasks.
-   * 
- * - * Protobuf type {@code flyteidl.core.SecurityContext} - */ - public static final class SecurityContext extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.SecurityContext) - SecurityContextOrBuilder { - private static final long serialVersionUID = 0L; - // Use SecurityContext.newBuilder() to construct. - private SecurityContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SecurityContext() { - secrets_ = java.util.Collections.emptyList(); - tokens_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SecurityContext( - 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.Security.Identity.Builder subBuilder = null; - if (runAs_ != null) { - subBuilder = runAs_.toBuilder(); - } - runAs_ = input.readMessage(flyteidl.core.Security.Identity.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(runAs_); - runAs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - secrets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - secrets_.add( - input.readMessage(flyteidl.core.Security.Secret.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tokens_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - tokens_.add( - input.readMessage(flyteidl.core.Security.OAuth2TokenRequest.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_ & 0x00000002) != 0)) { - secrets_ = java.util.Collections.unmodifiableList(secrets_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - tokens_ = java.util.Collections.unmodifiableList(tokens_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_SecurityContext_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_SecurityContext_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.SecurityContext.class, flyteidl.core.Security.SecurityContext.Builder.class); - } - - private int bitField0_; - public static final int RUN_AS_FIELD_NUMBER = 1; - private flyteidl.core.Security.Identity runAs_; - /** - *
-     * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-     * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-     * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public boolean hasRunAs() { - return runAs_ != null; - } - /** - *
-     * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-     * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-     * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public flyteidl.core.Security.Identity getRunAs() { - return runAs_ == null ? flyteidl.core.Security.Identity.getDefaultInstance() : runAs_; - } - /** - *
-     * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-     * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-     * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public flyteidl.core.Security.IdentityOrBuilder getRunAsOrBuilder() { - return getRunAs(); - } - - public static final int SECRETS_FIELD_NUMBER = 2; - private java.util.List secrets_; - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public java.util.List getSecretsList() { - return secrets_; - } - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public java.util.List - getSecretsOrBuilderList() { - return secrets_; - } - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public int getSecretsCount() { - return secrets_.size(); - } - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public flyteidl.core.Security.Secret getSecrets(int index) { - return secrets_.get(index); - } - /** - *
-     * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public flyteidl.core.Security.SecretOrBuilder getSecretsOrBuilder( - int index) { - return secrets_.get(index); - } - - public static final int TOKENS_FIELD_NUMBER = 3; - private java.util.List tokens_; - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public java.util.List getTokensList() { - return tokens_; - } - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public java.util.List - getTokensOrBuilderList() { - return tokens_; - } - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public int getTokensCount() { - return tokens_.size(); - } - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public flyteidl.core.Security.OAuth2TokenRequest getTokens(int index) { - return tokens_.get(index); - } - /** - *
-     * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-     * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-     * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-     * to the secret) and to pass it to the remote execution engine.
-     * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public flyteidl.core.Security.OAuth2TokenRequestOrBuilder getTokensOrBuilder( - int index) { - return tokens_.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 { - if (runAs_ != null) { - output.writeMessage(1, getRunAs()); - } - for (int i = 0; i < secrets_.size(); i++) { - output.writeMessage(2, secrets_.get(i)); - } - for (int i = 0; i < tokens_.size(); i++) { - output.writeMessage(3, tokens_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (runAs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRunAs()); - } - for (int i = 0; i < secrets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, secrets_.get(i)); - } - for (int i = 0; i < tokens_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, tokens_.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.Security.SecurityContext)) { - return super.equals(obj); - } - flyteidl.core.Security.SecurityContext other = (flyteidl.core.Security.SecurityContext) obj; - - if (hasRunAs() != other.hasRunAs()) return false; - if (hasRunAs()) { - if (!getRunAs() - .equals(other.getRunAs())) return false; - } - if (!getSecretsList() - .equals(other.getSecretsList())) return false; - if (!getTokensList() - .equals(other.getTokensList())) 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 (hasRunAs()) { - hash = (37 * hash) + RUN_AS_FIELD_NUMBER; - hash = (53 * hash) + getRunAs().hashCode(); - } - if (getSecretsCount() > 0) { - hash = (37 * hash) + SECRETS_FIELD_NUMBER; - hash = (53 * hash) + getSecretsList().hashCode(); - } - if (getTokensCount() > 0) { - hash = (37 * hash) + TOKENS_FIELD_NUMBER; - hash = (53 * hash) + getTokensList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Security.SecurityContext parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.SecurityContext parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.SecurityContext parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.SecurityContext 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.Security.SecurityContext parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Security.SecurityContext parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Security.SecurityContext parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.SecurityContext 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.Security.SecurityContext parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Security.SecurityContext 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.Security.SecurityContext parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Security.SecurityContext 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.Security.SecurityContext 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; - } - /** - *
-     * SecurityContext holds security attributes that apply to tasks.
-     * 
- * - * Protobuf type {@code flyteidl.core.SecurityContext} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.SecurityContext) - flyteidl.core.Security.SecurityContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Security.internal_static_flyteidl_core_SecurityContext_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Security.internal_static_flyteidl_core_SecurityContext_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Security.SecurityContext.class, flyteidl.core.Security.SecurityContext.Builder.class); - } - - // Construct using flyteidl.core.Security.SecurityContext.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSecretsFieldBuilder(); - getTokensFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (runAsBuilder_ == null) { - runAs_ = null; - } else { - runAs_ = null; - runAsBuilder_ = null; - } - if (secretsBuilder_ == null) { - secrets_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - secretsBuilder_.clear(); - } - if (tokensBuilder_ == null) { - tokens_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - tokensBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Security.internal_static_flyteidl_core_SecurityContext_descriptor; - } - - @java.lang.Override - public flyteidl.core.Security.SecurityContext getDefaultInstanceForType() { - return flyteidl.core.Security.SecurityContext.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Security.SecurityContext build() { - flyteidl.core.Security.SecurityContext result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Security.SecurityContext buildPartial() { - flyteidl.core.Security.SecurityContext result = new flyteidl.core.Security.SecurityContext(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (runAsBuilder_ == null) { - result.runAs_ = runAs_; - } else { - result.runAs_ = runAsBuilder_.build(); - } - if (secretsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - secrets_ = java.util.Collections.unmodifiableList(secrets_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.secrets_ = secrets_; - } else { - result.secrets_ = secretsBuilder_.build(); - } - if (tokensBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - tokens_ = java.util.Collections.unmodifiableList(tokens_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.tokens_ = tokens_; - } else { - result.tokens_ = tokensBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Security.SecurityContext) { - return mergeFrom((flyteidl.core.Security.SecurityContext)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Security.SecurityContext other) { - if (other == flyteidl.core.Security.SecurityContext.getDefaultInstance()) return this; - if (other.hasRunAs()) { - mergeRunAs(other.getRunAs()); - } - if (secretsBuilder_ == null) { - if (!other.secrets_.isEmpty()) { - if (secrets_.isEmpty()) { - secrets_ = other.secrets_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureSecretsIsMutable(); - secrets_.addAll(other.secrets_); - } - onChanged(); - } - } else { - if (!other.secrets_.isEmpty()) { - if (secretsBuilder_.isEmpty()) { - secretsBuilder_.dispose(); - secretsBuilder_ = null; - secrets_ = other.secrets_; - bitField0_ = (bitField0_ & ~0x00000002); - secretsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSecretsFieldBuilder() : null; - } else { - secretsBuilder_.addAllMessages(other.secrets_); - } - } - } - if (tokensBuilder_ == null) { - if (!other.tokens_.isEmpty()) { - if (tokens_.isEmpty()) { - tokens_ = other.tokens_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureTokensIsMutable(); - tokens_.addAll(other.tokens_); - } - onChanged(); - } - } else { - if (!other.tokens_.isEmpty()) { - if (tokensBuilder_.isEmpty()) { - tokensBuilder_.dispose(); - tokensBuilder_ = null; - tokens_ = other.tokens_; - bitField0_ = (bitField0_ & ~0x00000004); - tokensBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTokensFieldBuilder() : null; - } else { - tokensBuilder_.addAllMessages(other.tokens_); - } - } - } - 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.Security.SecurityContext parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Security.SecurityContext) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.Security.Identity runAs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.Identity, flyteidl.core.Security.Identity.Builder, flyteidl.core.Security.IdentityOrBuilder> runAsBuilder_; - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public boolean hasRunAs() { - return runAsBuilder_ != null || runAs_ != null; - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public flyteidl.core.Security.Identity getRunAs() { - if (runAsBuilder_ == null) { - return runAs_ == null ? flyteidl.core.Security.Identity.getDefaultInstance() : runAs_; - } else { - return runAsBuilder_.getMessage(); - } - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public Builder setRunAs(flyteidl.core.Security.Identity value) { - if (runAsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - runAs_ = value; - onChanged(); - } else { - runAsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public Builder setRunAs( - flyteidl.core.Security.Identity.Builder builderForValue) { - if (runAsBuilder_ == null) { - runAs_ = builderForValue.build(); - onChanged(); - } else { - runAsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public Builder mergeRunAs(flyteidl.core.Security.Identity value) { - if (runAsBuilder_ == null) { - if (runAs_ != null) { - runAs_ = - flyteidl.core.Security.Identity.newBuilder(runAs_).mergeFrom(value).buildPartial(); - } else { - runAs_ = value; - } - onChanged(); - } else { - runAsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public Builder clearRunAs() { - if (runAsBuilder_ == null) { - runAs_ = null; - onChanged(); - } else { - runAs_ = null; - runAsBuilder_ = null; - } - - return this; - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public flyteidl.core.Security.Identity.Builder getRunAsBuilder() { - - onChanged(); - return getRunAsFieldBuilder().getBuilder(); - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - public flyteidl.core.Security.IdentityOrBuilder getRunAsOrBuilder() { - if (runAsBuilder_ != null) { - return runAsBuilder_.getMessageOrBuilder(); - } else { - return runAs_ == null ? - flyteidl.core.Security.Identity.getDefaultInstance() : runAs_; - } - } - /** - *
-       * run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
-       * backend plugin to choose the appropriate identity for the execution engine the task will run on.
-       * 
- * - * .flyteidl.core.Identity run_as = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.Identity, flyteidl.core.Security.Identity.Builder, flyteidl.core.Security.IdentityOrBuilder> - getRunAsFieldBuilder() { - if (runAsBuilder_ == null) { - runAsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.Identity, flyteidl.core.Security.Identity.Builder, flyteidl.core.Security.IdentityOrBuilder>( - getRunAs(), - getParentForChildren(), - isClean()); - runAs_ = null; - } - return runAsBuilder_; - } - - private java.util.List secrets_ = - java.util.Collections.emptyList(); - private void ensureSecretsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - secrets_ = new java.util.ArrayList(secrets_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Security.Secret, flyteidl.core.Security.Secret.Builder, flyteidl.core.Security.SecretOrBuilder> secretsBuilder_; - - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public java.util.List getSecretsList() { - if (secretsBuilder_ == null) { - return java.util.Collections.unmodifiableList(secrets_); - } else { - return secretsBuilder_.getMessageList(); - } - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public int getSecretsCount() { - if (secretsBuilder_ == null) { - return secrets_.size(); - } else { - return secretsBuilder_.getCount(); - } - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public flyteidl.core.Security.Secret getSecrets(int index) { - if (secretsBuilder_ == null) { - return secrets_.get(index); - } else { - return secretsBuilder_.getMessage(index); - } - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder setSecrets( - int index, flyteidl.core.Security.Secret value) { - if (secretsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSecretsIsMutable(); - secrets_.set(index, value); - onChanged(); - } else { - secretsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder setSecrets( - int index, flyteidl.core.Security.Secret.Builder builderForValue) { - if (secretsBuilder_ == null) { - ensureSecretsIsMutable(); - secrets_.set(index, builderForValue.build()); - onChanged(); - } else { - secretsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder addSecrets(flyteidl.core.Security.Secret value) { - if (secretsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSecretsIsMutable(); - secrets_.add(value); - onChanged(); - } else { - secretsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder addSecrets( - int index, flyteidl.core.Security.Secret value) { - if (secretsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSecretsIsMutable(); - secrets_.add(index, value); - onChanged(); - } else { - secretsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder addSecrets( - flyteidl.core.Security.Secret.Builder builderForValue) { - if (secretsBuilder_ == null) { - ensureSecretsIsMutable(); - secrets_.add(builderForValue.build()); - onChanged(); - } else { - secretsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder addSecrets( - int index, flyteidl.core.Security.Secret.Builder builderForValue) { - if (secretsBuilder_ == null) { - ensureSecretsIsMutable(); - secrets_.add(index, builderForValue.build()); - onChanged(); - } else { - secretsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder addAllSecrets( - java.lang.Iterable values) { - if (secretsBuilder_ == null) { - ensureSecretsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, secrets_); - onChanged(); - } else { - secretsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder clearSecrets() { - if (secretsBuilder_ == null) { - secrets_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - secretsBuilder_.clear(); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public Builder removeSecrets(int index) { - if (secretsBuilder_ == null) { - ensureSecretsIsMutable(); - secrets_.remove(index); - onChanged(); - } else { - secretsBuilder_.remove(index); - } - return this; - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public flyteidl.core.Security.Secret.Builder getSecretsBuilder( - int index) { - return getSecretsFieldBuilder().getBuilder(index); - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public flyteidl.core.Security.SecretOrBuilder getSecretsOrBuilder( - int index) { - if (secretsBuilder_ == null) { - return secrets_.get(index); } else { - return secretsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public java.util.List - getSecretsOrBuilderList() { - if (secretsBuilder_ != null) { - return secretsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(secrets_); - } - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public flyteidl.core.Security.Secret.Builder addSecretsBuilder() { - return getSecretsFieldBuilder().addBuilder( - flyteidl.core.Security.Secret.getDefaultInstance()); - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public flyteidl.core.Security.Secret.Builder addSecretsBuilder( - int index) { - return getSecretsFieldBuilder().addBuilder( - index, flyteidl.core.Security.Secret.getDefaultInstance()); - } - /** - *
-       * secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.Secret secrets = 2; - */ - public java.util.List - getSecretsBuilderList() { - return getSecretsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Security.Secret, flyteidl.core.Security.Secret.Builder, flyteidl.core.Security.SecretOrBuilder> - getSecretsFieldBuilder() { - if (secretsBuilder_ == null) { - secretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Security.Secret, flyteidl.core.Security.Secret.Builder, flyteidl.core.Security.SecretOrBuilder>( - secrets_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - secrets_ = null; - } - return secretsBuilder_; - } - - private java.util.List tokens_ = - java.util.Collections.emptyList(); - private void ensureTokensIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - tokens_ = new java.util.ArrayList(tokens_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Security.OAuth2TokenRequest, flyteidl.core.Security.OAuth2TokenRequest.Builder, flyteidl.core.Security.OAuth2TokenRequestOrBuilder> tokensBuilder_; - - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public java.util.List getTokensList() { - if (tokensBuilder_ == null) { - return java.util.Collections.unmodifiableList(tokens_); - } else { - return tokensBuilder_.getMessageList(); - } - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public int getTokensCount() { - if (tokensBuilder_ == null) { - return tokens_.size(); - } else { - return tokensBuilder_.getCount(); - } - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public flyteidl.core.Security.OAuth2TokenRequest getTokens(int index) { - if (tokensBuilder_ == null) { - return tokens_.get(index); - } else { - return tokensBuilder_.getMessage(index); - } - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder setTokens( - int index, flyteidl.core.Security.OAuth2TokenRequest value) { - if (tokensBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTokensIsMutable(); - tokens_.set(index, value); - onChanged(); - } else { - tokensBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder setTokens( - int index, flyteidl.core.Security.OAuth2TokenRequest.Builder builderForValue) { - if (tokensBuilder_ == null) { - ensureTokensIsMutable(); - tokens_.set(index, builderForValue.build()); - onChanged(); - } else { - tokensBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder addTokens(flyteidl.core.Security.OAuth2TokenRequest value) { - if (tokensBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTokensIsMutable(); - tokens_.add(value); - onChanged(); - } else { - tokensBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder addTokens( - int index, flyteidl.core.Security.OAuth2TokenRequest value) { - if (tokensBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTokensIsMutable(); - tokens_.add(index, value); - onChanged(); - } else { - tokensBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder addTokens( - flyteidl.core.Security.OAuth2TokenRequest.Builder builderForValue) { - if (tokensBuilder_ == null) { - ensureTokensIsMutable(); - tokens_.add(builderForValue.build()); - onChanged(); - } else { - tokensBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder addTokens( - int index, flyteidl.core.Security.OAuth2TokenRequest.Builder builderForValue) { - if (tokensBuilder_ == null) { - ensureTokensIsMutable(); - tokens_.add(index, builderForValue.build()); - onChanged(); - } else { - tokensBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder addAllTokens( - java.lang.Iterable values) { - if (tokensBuilder_ == null) { - ensureTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tokens_); - onChanged(); - } else { - tokensBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder clearTokens() { - if (tokensBuilder_ == null) { - tokens_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - tokensBuilder_.clear(); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public Builder removeTokens(int index) { - if (tokensBuilder_ == null) { - ensureTokensIsMutable(); - tokens_.remove(index); - onChanged(); - } else { - tokensBuilder_.remove(index); - } - return this; - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public flyteidl.core.Security.OAuth2TokenRequest.Builder getTokensBuilder( - int index) { - return getTokensFieldBuilder().getBuilder(index); - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public flyteidl.core.Security.OAuth2TokenRequestOrBuilder getTokensOrBuilder( - int index) { - if (tokensBuilder_ == null) { - return tokens_.get(index); } else { - return tokensBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public java.util.List - getTokensOrBuilderList() { - if (tokensBuilder_ != null) { - return tokensBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tokens_); - } - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public flyteidl.core.Security.OAuth2TokenRequest.Builder addTokensBuilder() { - return getTokensFieldBuilder().addBuilder( - flyteidl.core.Security.OAuth2TokenRequest.getDefaultInstance()); - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public flyteidl.core.Security.OAuth2TokenRequest.Builder addTokensBuilder( - int index) { - return getTokensFieldBuilder().addBuilder( - index, flyteidl.core.Security.OAuth2TokenRequest.getDefaultInstance()); - } - /** - *
-       * tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
-       * pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
-       * Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
-       * to the secret) and to pass it to the remote execution engine.
-       * 
- * - * repeated .flyteidl.core.OAuth2TokenRequest tokens = 3; - */ - public java.util.List - getTokensBuilderList() { - return getTokensFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Security.OAuth2TokenRequest, flyteidl.core.Security.OAuth2TokenRequest.Builder, flyteidl.core.Security.OAuth2TokenRequestOrBuilder> - getTokensFieldBuilder() { - if (tokensBuilder_ == null) { - tokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Security.OAuth2TokenRequest, flyteidl.core.Security.OAuth2TokenRequest.Builder, flyteidl.core.Security.OAuth2TokenRequestOrBuilder>( - tokens_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - tokens_ = null; - } - return tokensBuilder_; - } - @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.SecurityContext) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.SecurityContext) - private static final flyteidl.core.Security.SecurityContext DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Security.SecurityContext(); - } - - public static flyteidl.core.Security.SecurityContext getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SecurityContext(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.Security.SecurityContext getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Secret_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Secret_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_OAuth2Client_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_OAuth2Client_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Identity_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Identity_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_OAuth2TokenRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_OAuth2TokenRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_SecurityContext_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_SecurityContext_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/core/security.proto\022\rflyteidl" + - ".core\"\244\001\n\006Secret\022\r\n\005group\030\001 \001(\t\022\025\n\rgroup" + - "_version\030\002 \001(\t\022\013\n\003key\030\003 \001(\t\022:\n\021mount_req" + - "uirement\030\004 \001(\0162\037.flyteidl.core.Secret.Mo" + - "untType\"+\n\tMountType\022\007\n\003ANY\020\000\022\013\n\007ENV_VAR" + - "\020\001\022\010\n\004FILE\020\002\"O\n\014OAuth2Client\022\021\n\tclient_i" + - "d\030\001 \001(\t\022,\n\rclient_secret\030\002 \001(\0132\025.flyteid" + - "l.core.Secret\"\211\001\n\010Identity\022\020\n\010iam_role\030\001" + - " \001(\t\022\033\n\023k8s_service_account\030\002 \001(\t\0222\n\roau" + - "th2_client\030\003 \001(\0132\033.flyteidl.core.OAuth2C" + - "lient\022\032\n\022execution_identity\030\004 \001(\t\"\335\001\n\022OA" + - "uth2TokenRequest\022\014\n\004name\030\001 \001(\t\0224\n\004type\030\002" + - " \001(\0162&.flyteidl.core.OAuth2TokenRequest." + - "Type\022+\n\006client\030\003 \001(\0132\033.flyteidl.core.OAu" + - "th2Client\022\036\n\026idp_discovery_endpoint\030\004 \001(" + - "\t\022\026\n\016token_endpoint\030\005 \001(\t\"\036\n\004Type\022\026\n\022CLI" + - "ENT_CREDENTIALS\020\000\"\225\001\n\017SecurityContext\022\'\n" + - "\006run_as\030\001 \001(\0132\027.flyteidl.core.Identity\022&" + - "\n\007secrets\030\002 \003(\0132\025.flyteidl.core.Secret\0221" + - "\n\006tokens\030\003 \003(\0132!.flyteidl.core.OAuth2Tok" + - "enRequestB - * The desired set of resources requested. ResourceNames must be unique within the list. - * - * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - java.util.List - getRequestsList(); - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - flyteidl.core.Tasks.Resources.ResourceEntry getRequests(int index); - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - int getRequestsCount(); - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - java.util.List - getRequestsOrBuilderList(); - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder getRequestsOrBuilder( - int index); - - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - java.util.List - getLimitsList(); - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - flyteidl.core.Tasks.Resources.ResourceEntry getLimits(int index); - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - int getLimitsCount(); - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - java.util.List - getLimitsOrBuilderList(); - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder getLimitsOrBuilder( - int index); - } - /** - *
-   * A customizable interface to convey resources requested for a container. This can be interpreted differently for different
-   * container engines.
-   * 
- * - * Protobuf type {@code flyteidl.core.Resources} - */ - public static final class Resources extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Resources) - ResourcesOrBuilder { - private static final long serialVersionUID = 0L; - // Use Resources.newBuilder() to construct. - private Resources(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Resources() { - requests_ = java.util.Collections.emptyList(); - limits_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Resources( - 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)) { - requests_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - requests_.add( - input.readMessage(flyteidl.core.Tasks.Resources.ResourceEntry.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - limits_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - limits_.add( - input.readMessage(flyteidl.core.Tasks.Resources.ResourceEntry.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)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - limits_ = java.util.Collections.unmodifiableList(limits_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Resources.class, flyteidl.core.Tasks.Resources.Builder.class); - } - - /** - *
-     * Known resource names.
-     * 
- * - * Protobuf enum {@code flyteidl.core.Resources.ResourceName} - */ - public enum ResourceName - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNKNOWN = 0; - */ - UNKNOWN(0), - /** - * CPU = 1; - */ - CPU(1), - /** - * GPU = 2; - */ - GPU(2), - /** - * MEMORY = 3; - */ - MEMORY(3), - /** - * STORAGE = 4; - */ - STORAGE(4), - /** - *
-       * For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs.
-       * 
- * - * EPHEMERAL_STORAGE = 5; - */ - EPHEMERAL_STORAGE(5), - UNRECOGNIZED(-1), - ; - - /** - * UNKNOWN = 0; - */ - public static final int UNKNOWN_VALUE = 0; - /** - * CPU = 1; - */ - public static final int CPU_VALUE = 1; - /** - * GPU = 2; - */ - public static final int GPU_VALUE = 2; - /** - * MEMORY = 3; - */ - public static final int MEMORY_VALUE = 3; - /** - * STORAGE = 4; - */ - public static final int STORAGE_VALUE = 4; - /** - *
-       * For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs.
-       * 
- * - * EPHEMERAL_STORAGE = 5; - */ - public static final int EPHEMERAL_STORAGE_VALUE = 5; - - - 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 ResourceName valueOf(int value) { - return forNumber(value); - } - - public static ResourceName forNumber(int value) { - switch (value) { - case 0: return UNKNOWN; - case 1: return CPU; - case 2: return GPU; - case 3: return MEMORY; - case 4: return STORAGE; - case 5: return EPHEMERAL_STORAGE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ResourceName> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResourceName findValueByNumber(int number) { - return ResourceName.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.Tasks.Resources.getDescriptor().getEnumTypes().get(0); - } - - private static final ResourceName[] VALUES = values(); - - public static ResourceName 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 ResourceName(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.Resources.ResourceName) - } - - public interface ResourceEntryOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Resources.ResourceEntry) - com.google.protobuf.MessageOrBuilder { - - /** - *
-       * Resource name.
-       * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - int getNameValue(); - /** - *
-       * Resource name.
-       * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - flyteidl.core.Tasks.Resources.ResourceName getName(); - - /** - *
-       * Value must be a valid k8s quantity. See
-       * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-       * 
- * - * string value = 2; - */ - java.lang.String getValue(); - /** - *
-       * Value must be a valid k8s quantity. See
-       * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-       * 
- * - * string value = 2; - */ - com.google.protobuf.ByteString - getValueBytes(); - } - /** - *
-     * Encapsulates a resource name and value.
-     * 
- * - * Protobuf type {@code flyteidl.core.Resources.ResourceEntry} - */ - public static final class ResourceEntry extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Resources.ResourceEntry) - ResourceEntryOrBuilder { - private static final long serialVersionUID = 0L; - // Use ResourceEntry.newBuilder() to construct. - private ResourceEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ResourceEntry() { - name_ = 0; - value_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ResourceEntry( - 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(); - - name_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_ResourceEntry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_ResourceEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Resources.ResourceEntry.class, flyteidl.core.Tasks.Resources.ResourceEntry.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private int name_; - /** - *
-       * Resource name.
-       * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - public int getNameValue() { - return name_; - } - /** - *
-       * Resource name.
-       * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceName getName() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.Resources.ResourceName result = flyteidl.core.Tasks.Resources.ResourceName.valueOf(name_); - return result == null ? flyteidl.core.Tasks.Resources.ResourceName.UNRECOGNIZED : result; - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - /** - *
-       * Value must be a valid k8s quantity. See
-       * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-       * 
- * - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - 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(); - value_ = s; - return s; - } - } - /** - *
-       * Value must be a valid k8s quantity. See
-       * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-       * 
- * - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = 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 (name_ != flyteidl.core.Tasks.Resources.ResourceName.UNKNOWN.getNumber()) { - output.writeEnum(1, name_); - } - if (!getValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (name_ != flyteidl.core.Tasks.Resources.ResourceName.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, name_); - } - if (!getValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - 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.Tasks.Resources.ResourceEntry)) { - return super.equals(obj); - } - flyteidl.core.Tasks.Resources.ResourceEntry other = (flyteidl.core.Tasks.Resources.ResourceEntry) obj; - - if (name_ != other.name_) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + name_; - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.Resources.ResourceEntry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry 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.Tasks.Resources.ResourceEntry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry 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.Tasks.Resources.ResourceEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry 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.Tasks.Resources.ResourceEntry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Resources.ResourceEntry 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.Tasks.Resources.ResourceEntry 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; - } - /** - *
-       * Encapsulates a resource name and value.
-       * 
- * - * Protobuf type {@code flyteidl.core.Resources.ResourceEntry} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Resources.ResourceEntry) - flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_ResourceEntry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_ResourceEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Resources.ResourceEntry.class, flyteidl.core.Tasks.Resources.ResourceEntry.Builder.class); - } - - // Construct using flyteidl.core.Tasks.Resources.ResourceEntry.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(); - name_ = 0; - - value_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_ResourceEntry_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.Resources.ResourceEntry getDefaultInstanceForType() { - return flyteidl.core.Tasks.Resources.ResourceEntry.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.Resources.ResourceEntry build() { - flyteidl.core.Tasks.Resources.ResourceEntry result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.Resources.ResourceEntry buildPartial() { - flyteidl.core.Tasks.Resources.ResourceEntry result = new flyteidl.core.Tasks.Resources.ResourceEntry(this); - result.name_ = name_; - result.value_ = value_; - 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.Tasks.Resources.ResourceEntry) { - return mergeFrom((flyteidl.core.Tasks.Resources.ResourceEntry)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.Resources.ResourceEntry other) { - if (other == flyteidl.core.Tasks.Resources.ResourceEntry.getDefaultInstance()) return this; - if (other.name_ != 0) { - setNameValue(other.getNameValue()); - } - if (!other.getValue().isEmpty()) { - value_ = other.value_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Tasks.Resources.ResourceEntry parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.Resources.ResourceEntry) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int name_ = 0; - /** - *
-         * Resource name.
-         * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - public int getNameValue() { - return name_; - } - /** - *
-         * Resource name.
-         * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - public Builder setNameValue(int value) { - name_ = value; - onChanged(); - return this; - } - /** - *
-         * Resource name.
-         * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceName getName() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.Resources.ResourceName result = flyteidl.core.Tasks.Resources.ResourceName.valueOf(name_); - return result == null ? flyteidl.core.Tasks.Resources.ResourceName.UNRECOGNIZED : result; - } - /** - *
-         * Resource name.
-         * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - public Builder setName(flyteidl.core.Tasks.Resources.ResourceName value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-         * Resource name.
-         * 
- * - * .flyteidl.core.Resources.ResourceName name = 1; - */ - public Builder clearName() { - - name_ = 0; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - /** - *
-         * Value must be a valid k8s quantity. See
-         * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-         * 
- * - * string value = 2; - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - value_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-         * Value must be a valid k8s quantity. See
-         * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-         * 
- * - * string value = 2; - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-         * Value must be a valid k8s quantity. See
-         * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-         * 
- * - * string value = 2; - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - value_ = value; - onChanged(); - return this; - } - /** - *
-         * Value must be a valid k8s quantity. See
-         * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-         * 
- * - * string value = 2; - */ - public Builder clearValue() { - - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - *
-         * Value must be a valid k8s quantity. See
-         * https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
-         * 
- * - * string value = 2; - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - value_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Resources.ResourceEntry) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Resources.ResourceEntry) - private static final flyteidl.core.Tasks.Resources.ResourceEntry DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.Resources.ResourceEntry(); - } - - public static flyteidl.core.Tasks.Resources.ResourceEntry getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceEntry(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.Tasks.Resources.ResourceEntry getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public static final int REQUESTS_FIELD_NUMBER = 1; - private java.util.List requests_; - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public java.util.List getRequestsList() { - return requests_; - } - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public java.util.List - getRequestsOrBuilderList() { - return requests_; - } - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public int getRequestsCount() { - return requests_.size(); - } - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry getRequests(int index) { - return requests_.get(index); - } - /** - *
-     * The desired set of resources requested. ResourceNames must be unique within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder getRequestsOrBuilder( - int index) { - return requests_.get(index); - } - - public static final int LIMITS_FIELD_NUMBER = 2; - private java.util.List limits_; - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public java.util.List getLimitsList() { - return limits_; - } - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public java.util.List - getLimitsOrBuilderList() { - return limits_; - } - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public int getLimitsCount() { - return limits_.size(); - } - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry getLimits(int index) { - return limits_.get(index); - } - /** - *
-     * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-     * within the list.
-     * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder getLimitsOrBuilder( - int index) { - return limits_.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 < requests_.size(); i++) { - output.writeMessage(1, requests_.get(i)); - } - for (int i = 0; i < limits_.size(); i++) { - output.writeMessage(2, limits_.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 < requests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, requests_.get(i)); - } - for (int i = 0; i < limits_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, limits_.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.Tasks.Resources)) { - return super.equals(obj); - } - flyteidl.core.Tasks.Resources other = (flyteidl.core.Tasks.Resources) obj; - - if (!getRequestsList() - .equals(other.getRequestsList())) return false; - if (!getLimitsList() - .equals(other.getLimitsList())) 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 (getRequestsCount() > 0) { - hash = (37 * hash) + REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + getRequestsList().hashCode(); - } - if (getLimitsCount() > 0) { - hash = (37 * hash) + LIMITS_FIELD_NUMBER; - hash = (53 * hash) + getLimitsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.Resources parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Resources parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Resources parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Resources 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.Tasks.Resources parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Resources parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Resources parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Resources 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.Tasks.Resources parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Resources 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.Tasks.Resources parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Resources 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.Tasks.Resources 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 customizable interface to convey resources requested for a container. This can be interpreted differently for different
-     * container engines.
-     * 
- * - * Protobuf type {@code flyteidl.core.Resources} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Resources) - flyteidl.core.Tasks.ResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Resources.class, flyteidl.core.Tasks.Resources.Builder.class); - } - - // Construct using flyteidl.core.Tasks.Resources.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getRequestsFieldBuilder(); - getLimitsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - requestsBuilder_.clear(); - } - if (limitsBuilder_ == null) { - limits_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - limitsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Resources_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.Resources getDefaultInstanceForType() { - return flyteidl.core.Tasks.Resources.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.Resources build() { - flyteidl.core.Tasks.Resources result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.Resources buildPartial() { - flyteidl.core.Tasks.Resources result = new flyteidl.core.Tasks.Resources(this); - int from_bitField0_ = bitField0_; - if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - requests_ = java.util.Collections.unmodifiableList(requests_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.requests_ = requests_; - } else { - result.requests_ = requestsBuilder_.build(); - } - if (limitsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - limits_ = java.util.Collections.unmodifiableList(limits_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.limits_ = limits_; - } else { - result.limits_ = limitsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Tasks.Resources) { - return mergeFrom((flyteidl.core.Tasks.Resources)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.Resources other) { - if (other == flyteidl.core.Tasks.Resources.getDefaultInstance()) return this; - if (requestsBuilder_ == null) { - if (!other.requests_.isEmpty()) { - if (requests_.isEmpty()) { - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureRequestsIsMutable(); - requests_.addAll(other.requests_); - } - onChanged(); - } - } else { - if (!other.requests_.isEmpty()) { - if (requestsBuilder_.isEmpty()) { - requestsBuilder_.dispose(); - requestsBuilder_ = null; - requests_ = other.requests_; - bitField0_ = (bitField0_ & ~0x00000001); - requestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRequestsFieldBuilder() : null; - } else { - requestsBuilder_.addAllMessages(other.requests_); - } - } - } - if (limitsBuilder_ == null) { - if (!other.limits_.isEmpty()) { - if (limits_.isEmpty()) { - limits_ = other.limits_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureLimitsIsMutable(); - limits_.addAll(other.limits_); - } - onChanged(); - } - } else { - if (!other.limits_.isEmpty()) { - if (limitsBuilder_.isEmpty()) { - limitsBuilder_.dispose(); - limitsBuilder_ = null; - limits_ = other.limits_; - bitField0_ = (bitField0_ & ~0x00000002); - limitsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLimitsFieldBuilder() : null; - } else { - limitsBuilder_.addAllMessages(other.limits_); - } - } - } - 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.Tasks.Resources parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.Resources) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List requests_ = - java.util.Collections.emptyList(); - private void ensureRequestsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - requests_ = new java.util.ArrayList(requests_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.Resources.ResourceEntry, flyteidl.core.Tasks.Resources.ResourceEntry.Builder, flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder> requestsBuilder_; - - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public java.util.List getRequestsList() { - if (requestsBuilder_ == null) { - return java.util.Collections.unmodifiableList(requests_); - } else { - return requestsBuilder_.getMessageList(); - } - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public int getRequestsCount() { - if (requestsBuilder_ == null) { - return requests_.size(); - } else { - return requestsBuilder_.getCount(); - } - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry getRequests(int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); - } else { - return requestsBuilder_.getMessage(index); - } - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder setRequests( - int index, flyteidl.core.Tasks.Resources.ResourceEntry value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.set(index, value); - onChanged(); - } else { - requestsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder setRequests( - int index, flyteidl.core.Tasks.Resources.ResourceEntry.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.set(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder addRequests(flyteidl.core.Tasks.Resources.ResourceEntry value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(value); - onChanged(); - } else { - requestsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder addRequests( - int index, flyteidl.core.Tasks.Resources.ResourceEntry value) { - if (requestsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRequestsIsMutable(); - requests_.add(index, value); - onChanged(); - } else { - requestsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder addRequests( - flyteidl.core.Tasks.Resources.ResourceEntry.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder addRequests( - int index, flyteidl.core.Tasks.Resources.ResourceEntry.Builder builderForValue) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.add(index, builderForValue.build()); - onChanged(); - } else { - requestsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder addAllRequests( - java.lang.Iterable values) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requests_); - onChanged(); - } else { - requestsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder clearRequests() { - if (requestsBuilder_ == null) { - requests_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - requestsBuilder_.clear(); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public Builder removeRequests(int index) { - if (requestsBuilder_ == null) { - ensureRequestsIsMutable(); - requests_.remove(index); - onChanged(); - } else { - requestsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry.Builder getRequestsBuilder( - int index) { - return getRequestsFieldBuilder().getBuilder(index); - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder getRequestsOrBuilder( - int index) { - if (requestsBuilder_ == null) { - return requests_.get(index); } else { - return requestsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public java.util.List - getRequestsOrBuilderList() { - if (requestsBuilder_ != null) { - return requestsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(requests_); - } - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - flyteidl.core.Tasks.Resources.ResourceEntry.getDefaultInstance()); - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry.Builder addRequestsBuilder( - int index) { - return getRequestsFieldBuilder().addBuilder( - index, flyteidl.core.Tasks.Resources.ResourceEntry.getDefaultInstance()); - } - /** - *
-       * The desired set of resources requested. ResourceNames must be unique within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry requests = 1; - */ - public java.util.List - getRequestsBuilderList() { - return getRequestsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.Resources.ResourceEntry, flyteidl.core.Tasks.Resources.ResourceEntry.Builder, flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder> - getRequestsFieldBuilder() { - if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.Resources.ResourceEntry, flyteidl.core.Tasks.Resources.ResourceEntry.Builder, flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder>( - requests_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - requests_ = null; - } - return requestsBuilder_; - } - - private java.util.List limits_ = - java.util.Collections.emptyList(); - private void ensureLimitsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - limits_ = new java.util.ArrayList(limits_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.Resources.ResourceEntry, flyteidl.core.Tasks.Resources.ResourceEntry.Builder, flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder> limitsBuilder_; - - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public java.util.List getLimitsList() { - if (limitsBuilder_ == null) { - return java.util.Collections.unmodifiableList(limits_); - } else { - return limitsBuilder_.getMessageList(); - } - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public int getLimitsCount() { - if (limitsBuilder_ == null) { - return limits_.size(); - } else { - return limitsBuilder_.getCount(); - } - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry getLimits(int index) { - if (limitsBuilder_ == null) { - return limits_.get(index); - } else { - return limitsBuilder_.getMessage(index); - } - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder setLimits( - int index, flyteidl.core.Tasks.Resources.ResourceEntry value) { - if (limitsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLimitsIsMutable(); - limits_.set(index, value); - onChanged(); - } else { - limitsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder setLimits( - int index, flyteidl.core.Tasks.Resources.ResourceEntry.Builder builderForValue) { - if (limitsBuilder_ == null) { - ensureLimitsIsMutable(); - limits_.set(index, builderForValue.build()); - onChanged(); - } else { - limitsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder addLimits(flyteidl.core.Tasks.Resources.ResourceEntry value) { - if (limitsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLimitsIsMutable(); - limits_.add(value); - onChanged(); - } else { - limitsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder addLimits( - int index, flyteidl.core.Tasks.Resources.ResourceEntry value) { - if (limitsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLimitsIsMutable(); - limits_.add(index, value); - onChanged(); - } else { - limitsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder addLimits( - flyteidl.core.Tasks.Resources.ResourceEntry.Builder builderForValue) { - if (limitsBuilder_ == null) { - ensureLimitsIsMutable(); - limits_.add(builderForValue.build()); - onChanged(); - } else { - limitsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder addLimits( - int index, flyteidl.core.Tasks.Resources.ResourceEntry.Builder builderForValue) { - if (limitsBuilder_ == null) { - ensureLimitsIsMutable(); - limits_.add(index, builderForValue.build()); - onChanged(); - } else { - limitsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder addAllLimits( - java.lang.Iterable values) { - if (limitsBuilder_ == null) { - ensureLimitsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, limits_); - onChanged(); - } else { - limitsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder clearLimits() { - if (limitsBuilder_ == null) { - limits_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - limitsBuilder_.clear(); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public Builder removeLimits(int index) { - if (limitsBuilder_ == null) { - ensureLimitsIsMutable(); - limits_.remove(index); - onChanged(); - } else { - limitsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry.Builder getLimitsBuilder( - int index) { - return getLimitsFieldBuilder().getBuilder(index); - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder getLimitsOrBuilder( - int index) { - if (limitsBuilder_ == null) { - return limits_.get(index); } else { - return limitsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public java.util.List - getLimitsOrBuilderList() { - if (limitsBuilder_ != null) { - return limitsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(limits_); - } - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry.Builder addLimitsBuilder() { - return getLimitsFieldBuilder().addBuilder( - flyteidl.core.Tasks.Resources.ResourceEntry.getDefaultInstance()); - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public flyteidl.core.Tasks.Resources.ResourceEntry.Builder addLimitsBuilder( - int index) { - return getLimitsFieldBuilder().addBuilder( - index, flyteidl.core.Tasks.Resources.ResourceEntry.getDefaultInstance()); - } - /** - *
-       * Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
-       * within the list.
-       * 
- * - * repeated .flyteidl.core.Resources.ResourceEntry limits = 2; - */ - public java.util.List - getLimitsBuilderList() { - return getLimitsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.Resources.ResourceEntry, flyteidl.core.Tasks.Resources.ResourceEntry.Builder, flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder> - getLimitsFieldBuilder() { - if (limitsBuilder_ == null) { - limitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.Resources.ResourceEntry, flyteidl.core.Tasks.Resources.ResourceEntry.Builder, flyteidl.core.Tasks.Resources.ResourceEntryOrBuilder>( - limits_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - limits_ = null; - } - return limitsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Resources) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Resources) - private static final flyteidl.core.Tasks.Resources DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.Resources(); - } - - public static flyteidl.core.Tasks.Resources getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resources(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.Tasks.Resources getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GPUAcceleratorOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.GPUAccelerator) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * This can be any arbitrary string, and should be informed by the labels or taints
-     * associated with the nodes in question. Default cloud provider labels typically
-     * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-     * 
- * - * string device = 1; - */ - java.lang.String getDevice(); - /** - *
-     * This can be any arbitrary string, and should be informed by the labels or taints
-     * associated with the nodes in question. Default cloud provider labels typically
-     * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-     * 
- * - * string device = 1; - */ - com.google.protobuf.ByteString - getDeviceBytes(); - - /** - * bool unpartitioned = 2; - */ - boolean getUnpartitioned(); - - /** - *
-     * Like `device`, this can be any arbitrary string, and should be informed by
-     * the labels or taints associated with the nodes in question. Default cloud
-     * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-     * 
- * - * string partition_size = 3; - */ - java.lang.String getPartitionSize(); - /** - *
-     * Like `device`, this can be any arbitrary string, and should be informed by
-     * the labels or taints associated with the nodes in question. Default cloud
-     * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-     * 
- * - * string partition_size = 3; - */ - com.google.protobuf.ByteString - getPartitionSizeBytes(); - - public flyteidl.core.Tasks.GPUAccelerator.PartitionSizeValueCase getPartitionSizeValueCase(); - } - /** - *
-   * Metadata associated with the GPU accelerator to allocate to a task. Contains
-   * information about device type, and for multi-instance GPUs, the partition size to
-   * use.
-   * 
- * - * Protobuf type {@code flyteidl.core.GPUAccelerator} - */ - public static final class GPUAccelerator extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.GPUAccelerator) - GPUAcceleratorOrBuilder { - private static final long serialVersionUID = 0L; - // Use GPUAccelerator.newBuilder() to construct. - private GPUAccelerator(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GPUAccelerator() { - device_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GPUAccelerator( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - device_ = s; - break; - } - case 16: { - partitionSizeValueCase_ = 2; - partitionSizeValue_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - partitionSizeValueCase_ = 3; - partitionSizeValue_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_GPUAccelerator_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_GPUAccelerator_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.GPUAccelerator.class, flyteidl.core.Tasks.GPUAccelerator.Builder.class); - } - - private int partitionSizeValueCase_ = 0; - private java.lang.Object partitionSizeValue_; - public enum PartitionSizeValueCase - implements com.google.protobuf.Internal.EnumLite { - UNPARTITIONED(2), - PARTITION_SIZE(3), - PARTITIONSIZEVALUE_NOT_SET(0); - private final int value; - private PartitionSizeValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static PartitionSizeValueCase valueOf(int value) { - return forNumber(value); - } - - public static PartitionSizeValueCase forNumber(int value) { - switch (value) { - case 2: return UNPARTITIONED; - case 3: return PARTITION_SIZE; - case 0: return PARTITIONSIZEVALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public PartitionSizeValueCase - getPartitionSizeValueCase() { - return PartitionSizeValueCase.forNumber( - partitionSizeValueCase_); - } - - public static final int DEVICE_FIELD_NUMBER = 1; - private volatile java.lang.Object device_; - /** - *
-     * This can be any arbitrary string, and should be informed by the labels or taints
-     * associated with the nodes in question. Default cloud provider labels typically
-     * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-     * 
- * - * string device = 1; - */ - public java.lang.String getDevice() { - java.lang.Object ref = device_; - 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(); - device_ = s; - return s; - } - } - /** - *
-     * This can be any arbitrary string, and should be informed by the labels or taints
-     * associated with the nodes in question. Default cloud provider labels typically
-     * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-     * 
- * - * string device = 1; - */ - public com.google.protobuf.ByteString - getDeviceBytes() { - java.lang.Object ref = device_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - device_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int UNPARTITIONED_FIELD_NUMBER = 2; - /** - * bool unpartitioned = 2; - */ - public boolean getUnpartitioned() { - if (partitionSizeValueCase_ == 2) { - return (java.lang.Boolean) partitionSizeValue_; - } - return false; - } - - public static final int PARTITION_SIZE_FIELD_NUMBER = 3; - /** - *
-     * Like `device`, this can be any arbitrary string, and should be informed by
-     * the labels or taints associated with the nodes in question. Default cloud
-     * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-     * 
- * - * string partition_size = 3; - */ - public java.lang.String getPartitionSize() { - java.lang.Object ref = ""; - if (partitionSizeValueCase_ == 3) { - ref = partitionSizeValue_; - } - 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 (partitionSizeValueCase_ == 3) { - partitionSizeValue_ = s; - } - return s; - } - } - /** - *
-     * Like `device`, this can be any arbitrary string, and should be informed by
-     * the labels or taints associated with the nodes in question. Default cloud
-     * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-     * 
- * - * string partition_size = 3; - */ - public com.google.protobuf.ByteString - getPartitionSizeBytes() { - java.lang.Object ref = ""; - if (partitionSizeValueCase_ == 3) { - ref = partitionSizeValue_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (partitionSizeValueCase_ == 3) { - partitionSizeValue_ = 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 (!getDeviceBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, device_); - } - if (partitionSizeValueCase_ == 2) { - output.writeBool( - 2, (boolean)((java.lang.Boolean) partitionSizeValue_)); - } - if (partitionSizeValueCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, partitionSizeValue_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getDeviceBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, device_); - } - if (partitionSizeValueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 2, (boolean)((java.lang.Boolean) partitionSizeValue_)); - } - if (partitionSizeValueCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, partitionSizeValue_); - } - 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.Tasks.GPUAccelerator)) { - return super.equals(obj); - } - flyteidl.core.Tasks.GPUAccelerator other = (flyteidl.core.Tasks.GPUAccelerator) obj; - - if (!getDevice() - .equals(other.getDevice())) return false; - if (!getPartitionSizeValueCase().equals(other.getPartitionSizeValueCase())) return false; - switch (partitionSizeValueCase_) { - case 2: - if (getUnpartitioned() - != other.getUnpartitioned()) return false; - break; - case 3: - if (!getPartitionSize() - .equals(other.getPartitionSize())) 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) + DEVICE_FIELD_NUMBER; - hash = (53 * hash) + getDevice().hashCode(); - switch (partitionSizeValueCase_) { - case 2: - hash = (37 * hash) + UNPARTITIONED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUnpartitioned()); - break; - case 3: - hash = (37 * hash) + PARTITION_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPartitionSize().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.GPUAccelerator parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.GPUAccelerator parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.GPUAccelerator parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.GPUAccelerator 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.Tasks.GPUAccelerator parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.GPUAccelerator parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.GPUAccelerator parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.GPUAccelerator 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.Tasks.GPUAccelerator parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.GPUAccelerator 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.Tasks.GPUAccelerator parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.GPUAccelerator 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.Tasks.GPUAccelerator 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; - } - /** - *
-     * Metadata associated with the GPU accelerator to allocate to a task. Contains
-     * information about device type, and for multi-instance GPUs, the partition size to
-     * use.
-     * 
- * - * Protobuf type {@code flyteidl.core.GPUAccelerator} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.GPUAccelerator) - flyteidl.core.Tasks.GPUAcceleratorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_GPUAccelerator_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_GPUAccelerator_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.GPUAccelerator.class, flyteidl.core.Tasks.GPUAccelerator.Builder.class); - } - - // Construct using flyteidl.core.Tasks.GPUAccelerator.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(); - device_ = ""; - - partitionSizeValueCase_ = 0; - partitionSizeValue_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_GPUAccelerator_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.GPUAccelerator getDefaultInstanceForType() { - return flyteidl.core.Tasks.GPUAccelerator.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.GPUAccelerator build() { - flyteidl.core.Tasks.GPUAccelerator result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.GPUAccelerator buildPartial() { - flyteidl.core.Tasks.GPUAccelerator result = new flyteidl.core.Tasks.GPUAccelerator(this); - result.device_ = device_; - if (partitionSizeValueCase_ == 2) { - result.partitionSizeValue_ = partitionSizeValue_; - } - if (partitionSizeValueCase_ == 3) { - result.partitionSizeValue_ = partitionSizeValue_; - } - result.partitionSizeValueCase_ = partitionSizeValueCase_; - 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.Tasks.GPUAccelerator) { - return mergeFrom((flyteidl.core.Tasks.GPUAccelerator)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.GPUAccelerator other) { - if (other == flyteidl.core.Tasks.GPUAccelerator.getDefaultInstance()) return this; - if (!other.getDevice().isEmpty()) { - device_ = other.device_; - onChanged(); - } - switch (other.getPartitionSizeValueCase()) { - case UNPARTITIONED: { - setUnpartitioned(other.getUnpartitioned()); - break; - } - case PARTITION_SIZE: { - partitionSizeValueCase_ = 3; - partitionSizeValue_ = other.partitionSizeValue_; - onChanged(); - break; - } - case PARTITIONSIZEVALUE_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.Tasks.GPUAccelerator parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.GPUAccelerator) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int partitionSizeValueCase_ = 0; - private java.lang.Object partitionSizeValue_; - public PartitionSizeValueCase - getPartitionSizeValueCase() { - return PartitionSizeValueCase.forNumber( - partitionSizeValueCase_); - } - - public Builder clearPartitionSizeValue() { - partitionSizeValueCase_ = 0; - partitionSizeValue_ = null; - onChanged(); - return this; - } - - - private java.lang.Object device_ = ""; - /** - *
-       * This can be any arbitrary string, and should be informed by the labels or taints
-       * associated with the nodes in question. Default cloud provider labels typically
-       * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-       * 
- * - * string device = 1; - */ - public java.lang.String getDevice() { - java.lang.Object ref = device_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - device_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * This can be any arbitrary string, and should be informed by the labels or taints
-       * associated with the nodes in question. Default cloud provider labels typically
-       * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-       * 
- * - * string device = 1; - */ - public com.google.protobuf.ByteString - getDeviceBytes() { - java.lang.Object ref = device_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - device_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * This can be any arbitrary string, and should be informed by the labels or taints
-       * associated with the nodes in question. Default cloud provider labels typically
-       * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-       * 
- * - * string device = 1; - */ - public Builder setDevice( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - device_ = value; - onChanged(); - return this; - } - /** - *
-       * This can be any arbitrary string, and should be informed by the labels or taints
-       * associated with the nodes in question. Default cloud provider labels typically
-       * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-       * 
- * - * string device = 1; - */ - public Builder clearDevice() { - - device_ = getDefaultInstance().getDevice(); - onChanged(); - return this; - } - /** - *
-       * This can be any arbitrary string, and should be informed by the labels or taints
-       * associated with the nodes in question. Default cloud provider labels typically
-       * use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc.
-       * 
- * - * string device = 1; - */ - public Builder setDeviceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - device_ = value; - onChanged(); - return this; - } - - /** - * bool unpartitioned = 2; - */ - public boolean getUnpartitioned() { - if (partitionSizeValueCase_ == 2) { - return (java.lang.Boolean) partitionSizeValue_; - } - return false; - } - /** - * bool unpartitioned = 2; - */ - public Builder setUnpartitioned(boolean value) { - partitionSizeValueCase_ = 2; - partitionSizeValue_ = value; - onChanged(); - return this; - } - /** - * bool unpartitioned = 2; - */ - public Builder clearUnpartitioned() { - if (partitionSizeValueCase_ == 2) { - partitionSizeValueCase_ = 0; - partitionSizeValue_ = null; - onChanged(); - } - return this; - } - - /** - *
-       * Like `device`, this can be any arbitrary string, and should be informed by
-       * the labels or taints associated with the nodes in question. Default cloud
-       * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-       * 
- * - * string partition_size = 3; - */ - public java.lang.String getPartitionSize() { - java.lang.Object ref = ""; - if (partitionSizeValueCase_ == 3) { - ref = partitionSizeValue_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (partitionSizeValueCase_ == 3) { - partitionSizeValue_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Like `device`, this can be any arbitrary string, and should be informed by
-       * the labels or taints associated with the nodes in question. Default cloud
-       * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-       * 
- * - * string partition_size = 3; - */ - public com.google.protobuf.ByteString - getPartitionSizeBytes() { - java.lang.Object ref = ""; - if (partitionSizeValueCase_ == 3) { - ref = partitionSizeValue_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (partitionSizeValueCase_ == 3) { - partitionSizeValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Like `device`, this can be any arbitrary string, and should be informed by
-       * the labels or taints associated with the nodes in question. Default cloud
-       * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-       * 
- * - * string partition_size = 3; - */ - public Builder setPartitionSize( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - partitionSizeValueCase_ = 3; - partitionSizeValue_ = value; - onChanged(); - return this; - } - /** - *
-       * Like `device`, this can be any arbitrary string, and should be informed by
-       * the labels or taints associated with the nodes in question. Default cloud
-       * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-       * 
- * - * string partition_size = 3; - */ - public Builder clearPartitionSize() { - if (partitionSizeValueCase_ == 3) { - partitionSizeValueCase_ = 0; - partitionSizeValue_ = null; - onChanged(); - } - return this; - } - /** - *
-       * Like `device`, this can be any arbitrary string, and should be informed by
-       * the labels or taints associated with the nodes in question. Default cloud
-       * provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc.
-       * 
- * - * string partition_size = 3; - */ - public Builder setPartitionSizeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - partitionSizeValueCase_ = 3; - partitionSizeValue_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.GPUAccelerator) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.GPUAccelerator) - private static final flyteidl.core.Tasks.GPUAccelerator DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.GPUAccelerator(); - } - - public static flyteidl.core.Tasks.GPUAccelerator getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GPUAccelerator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GPUAccelerator(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.Tasks.GPUAccelerator getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExtendedResourcesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ExtendedResources) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * GPU accelerator to select for task. Contains information about device type, and
-     * for multi-instance GPUs, the partition size to use.
-     * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - boolean hasGpuAccelerator(); - /** - *
-     * GPU accelerator to select for task. Contains information about device type, and
-     * for multi-instance GPUs, the partition size to use.
-     * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - flyteidl.core.Tasks.GPUAccelerator getGpuAccelerator(); - /** - *
-     * GPU accelerator to select for task. Contains information about device type, and
-     * for multi-instance GPUs, the partition size to use.
-     * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - flyteidl.core.Tasks.GPUAcceleratorOrBuilder getGpuAcceleratorOrBuilder(); - } - /** - *
-   * Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to
-   * allocate to a task.
-   * 
- * - * Protobuf type {@code flyteidl.core.ExtendedResources} - */ - public static final class ExtendedResources extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ExtendedResources) - ExtendedResourcesOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExtendedResources.newBuilder() to construct. - private ExtendedResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExtendedResources() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExtendedResources( - 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.Tasks.GPUAccelerator.Builder subBuilder = null; - if (gpuAccelerator_ != null) { - subBuilder = gpuAccelerator_.toBuilder(); - } - gpuAccelerator_ = input.readMessage(flyteidl.core.Tasks.GPUAccelerator.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gpuAccelerator_); - gpuAccelerator_ = 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.core.Tasks.internal_static_flyteidl_core_ExtendedResources_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ExtendedResources_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.ExtendedResources.class, flyteidl.core.Tasks.ExtendedResources.Builder.class); - } - - public static final int GPU_ACCELERATOR_FIELD_NUMBER = 1; - private flyteidl.core.Tasks.GPUAccelerator gpuAccelerator_; - /** - *
-     * GPU accelerator to select for task. Contains information about device type, and
-     * for multi-instance GPUs, the partition size to use.
-     * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public boolean hasGpuAccelerator() { - return gpuAccelerator_ != null; - } - /** - *
-     * GPU accelerator to select for task. Contains information about device type, and
-     * for multi-instance GPUs, the partition size to use.
-     * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public flyteidl.core.Tasks.GPUAccelerator getGpuAccelerator() { - return gpuAccelerator_ == null ? flyteidl.core.Tasks.GPUAccelerator.getDefaultInstance() : gpuAccelerator_; - } - /** - *
-     * GPU accelerator to select for task. Contains information about device type, and
-     * for multi-instance GPUs, the partition size to use.
-     * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public flyteidl.core.Tasks.GPUAcceleratorOrBuilder getGpuAcceleratorOrBuilder() { - return getGpuAccelerator(); - } - - 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 (gpuAccelerator_ != null) { - output.writeMessage(1, getGpuAccelerator()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (gpuAccelerator_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getGpuAccelerator()); - } - 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.Tasks.ExtendedResources)) { - return super.equals(obj); - } - flyteidl.core.Tasks.ExtendedResources other = (flyteidl.core.Tasks.ExtendedResources) obj; - - if (hasGpuAccelerator() != other.hasGpuAccelerator()) return false; - if (hasGpuAccelerator()) { - if (!getGpuAccelerator() - .equals(other.getGpuAccelerator())) 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 (hasGpuAccelerator()) { - hash = (37 * hash) + GPU_ACCELERATOR_FIELD_NUMBER; - hash = (53 * hash) + getGpuAccelerator().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.ExtendedResources parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.ExtendedResources parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.ExtendedResources parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.ExtendedResources 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.Tasks.ExtendedResources parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.ExtendedResources parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.ExtendedResources parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.ExtendedResources 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.Tasks.ExtendedResources parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.ExtendedResources 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.Tasks.ExtendedResources parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.ExtendedResources 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.Tasks.ExtendedResources 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; - } - /** - *
-     * Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to
-     * allocate to a task.
-     * 
- * - * Protobuf type {@code flyteidl.core.ExtendedResources} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ExtendedResources) - flyteidl.core.Tasks.ExtendedResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ExtendedResources_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ExtendedResources_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.ExtendedResources.class, flyteidl.core.Tasks.ExtendedResources.Builder.class); - } - - // Construct using flyteidl.core.Tasks.ExtendedResources.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 (gpuAcceleratorBuilder_ == null) { - gpuAccelerator_ = null; - } else { - gpuAccelerator_ = null; - gpuAcceleratorBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ExtendedResources_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.ExtendedResources getDefaultInstanceForType() { - return flyteidl.core.Tasks.ExtendedResources.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.ExtendedResources build() { - flyteidl.core.Tasks.ExtendedResources result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.ExtendedResources buildPartial() { - flyteidl.core.Tasks.ExtendedResources result = new flyteidl.core.Tasks.ExtendedResources(this); - if (gpuAcceleratorBuilder_ == null) { - result.gpuAccelerator_ = gpuAccelerator_; - } else { - result.gpuAccelerator_ = gpuAcceleratorBuilder_.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.Tasks.ExtendedResources) { - return mergeFrom((flyteidl.core.Tasks.ExtendedResources)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.ExtendedResources other) { - if (other == flyteidl.core.Tasks.ExtendedResources.getDefaultInstance()) return this; - if (other.hasGpuAccelerator()) { - mergeGpuAccelerator(other.getGpuAccelerator()); - } - 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.Tasks.ExtendedResources parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.ExtendedResources) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Tasks.GPUAccelerator gpuAccelerator_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.GPUAccelerator, flyteidl.core.Tasks.GPUAccelerator.Builder, flyteidl.core.Tasks.GPUAcceleratorOrBuilder> gpuAcceleratorBuilder_; - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public boolean hasGpuAccelerator() { - return gpuAcceleratorBuilder_ != null || gpuAccelerator_ != null; - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public flyteidl.core.Tasks.GPUAccelerator getGpuAccelerator() { - if (gpuAcceleratorBuilder_ == null) { - return gpuAccelerator_ == null ? flyteidl.core.Tasks.GPUAccelerator.getDefaultInstance() : gpuAccelerator_; - } else { - return gpuAcceleratorBuilder_.getMessage(); - } - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public Builder setGpuAccelerator(flyteidl.core.Tasks.GPUAccelerator value) { - if (gpuAcceleratorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - gpuAccelerator_ = value; - onChanged(); - } else { - gpuAcceleratorBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public Builder setGpuAccelerator( - flyteidl.core.Tasks.GPUAccelerator.Builder builderForValue) { - if (gpuAcceleratorBuilder_ == null) { - gpuAccelerator_ = builderForValue.build(); - onChanged(); - } else { - gpuAcceleratorBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public Builder mergeGpuAccelerator(flyteidl.core.Tasks.GPUAccelerator value) { - if (gpuAcceleratorBuilder_ == null) { - if (gpuAccelerator_ != null) { - gpuAccelerator_ = - flyteidl.core.Tasks.GPUAccelerator.newBuilder(gpuAccelerator_).mergeFrom(value).buildPartial(); - } else { - gpuAccelerator_ = value; - } - onChanged(); - } else { - gpuAcceleratorBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public Builder clearGpuAccelerator() { - if (gpuAcceleratorBuilder_ == null) { - gpuAccelerator_ = null; - onChanged(); - } else { - gpuAccelerator_ = null; - gpuAcceleratorBuilder_ = null; - } - - return this; - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public flyteidl.core.Tasks.GPUAccelerator.Builder getGpuAcceleratorBuilder() { - - onChanged(); - return getGpuAcceleratorFieldBuilder().getBuilder(); - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - public flyteidl.core.Tasks.GPUAcceleratorOrBuilder getGpuAcceleratorOrBuilder() { - if (gpuAcceleratorBuilder_ != null) { - return gpuAcceleratorBuilder_.getMessageOrBuilder(); - } else { - return gpuAccelerator_ == null ? - flyteidl.core.Tasks.GPUAccelerator.getDefaultInstance() : gpuAccelerator_; - } - } - /** - *
-       * GPU accelerator to select for task. Contains information about device type, and
-       * for multi-instance GPUs, the partition size to use.
-       * 
- * - * .flyteidl.core.GPUAccelerator gpu_accelerator = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.GPUAccelerator, flyteidl.core.Tasks.GPUAccelerator.Builder, flyteidl.core.Tasks.GPUAcceleratorOrBuilder> - getGpuAcceleratorFieldBuilder() { - if (gpuAcceleratorBuilder_ == null) { - gpuAcceleratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.GPUAccelerator, flyteidl.core.Tasks.GPUAccelerator.Builder, flyteidl.core.Tasks.GPUAcceleratorOrBuilder>( - getGpuAccelerator(), - getParentForChildren(), - isClean()); - gpuAccelerator_ = null; - } - return gpuAcceleratorBuilder_; - } - @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.ExtendedResources) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ExtendedResources) - private static final flyteidl.core.Tasks.ExtendedResources DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.ExtendedResources(); - } - - public static flyteidl.core.Tasks.ExtendedResources getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExtendedResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExtendedResources(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.Tasks.ExtendedResources getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RuntimeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.RuntimeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Type of runtime.
-     * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - int getTypeValue(); - /** - *
-     * Type of runtime.
-     * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - flyteidl.core.Tasks.RuntimeMetadata.RuntimeType getType(); - - /** - *
-     * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-     * checks to ensure tighter validation or setting expectations.
-     * 
- * - * string version = 2; - */ - java.lang.String getVersion(); - /** - *
-     * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-     * checks to ensure tighter validation or setting expectations.
-     * 
- * - * string version = 2; - */ - com.google.protobuf.ByteString - getVersionBytes(); - - /** - *
-     *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-     * 
- * - * string flavor = 3; - */ - java.lang.String getFlavor(); - /** - *
-     *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-     * 
- * - * string flavor = 3; - */ - com.google.protobuf.ByteString - getFlavorBytes(); - } - /** - *
-   * Runtime information. This is loosely defined to allow for extensibility.
-   * 
- * - * Protobuf type {@code flyteidl.core.RuntimeMetadata} - */ - public static final class RuntimeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.RuntimeMetadata) - RuntimeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use RuntimeMetadata.newBuilder() to construct. - private RuntimeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RuntimeMetadata() { - type_ = 0; - version_ = ""; - flavor_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RuntimeMetadata( - 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(); - - type_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - flavor_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_RuntimeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_RuntimeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.RuntimeMetadata.class, flyteidl.core.Tasks.RuntimeMetadata.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.RuntimeMetadata.RuntimeType} - */ - public enum RuntimeType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * OTHER = 0; - */ - OTHER(0), - /** - * FLYTE_SDK = 1; - */ - FLYTE_SDK(1), - UNRECOGNIZED(-1), - ; - - /** - * OTHER = 0; - */ - public static final int OTHER_VALUE = 0; - /** - * FLYTE_SDK = 1; - */ - public static final int FLYTE_SDK_VALUE = 1; - - - 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 RuntimeType valueOf(int value) { - return forNumber(value); - } - - public static RuntimeType forNumber(int value) { - switch (value) { - case 0: return OTHER; - case 1: return FLYTE_SDK; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - RuntimeType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RuntimeType findValueByNumber(int number) { - return RuntimeType.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.Tasks.RuntimeMetadata.getDescriptor().getEnumTypes().get(0); - } - - private static final RuntimeType[] VALUES = values(); - - public static RuntimeType 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 RuntimeType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.RuntimeMetadata.RuntimeType) - } - - public static final int TYPE_FIELD_NUMBER = 1; - private int type_; - /** - *
-     * Type of runtime.
-     * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - public int getTypeValue() { - return type_; - } - /** - *
-     * Type of runtime.
-     * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - public flyteidl.core.Tasks.RuntimeMetadata.RuntimeType getType() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.RuntimeMetadata.RuntimeType result = flyteidl.core.Tasks.RuntimeMetadata.RuntimeType.valueOf(type_); - return result == null ? flyteidl.core.Tasks.RuntimeMetadata.RuntimeType.UNRECOGNIZED : result; - } - - public static final int VERSION_FIELD_NUMBER = 2; - private volatile java.lang.Object version_; - /** - *
-     * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-     * checks to ensure tighter validation or setting expectations.
-     * 
- * - * string version = 2; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - 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(); - version_ = s; - return s; - } - } - /** - *
-     * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-     * checks to ensure tighter validation or setting expectations.
-     * 
- * - * string version = 2; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FLAVOR_FIELD_NUMBER = 3; - private volatile java.lang.Object flavor_; - /** - *
-     *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-     * 
- * - * string flavor = 3; - */ - public java.lang.String getFlavor() { - java.lang.Object ref = flavor_; - 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(); - flavor_ = s; - return s; - } - } - /** - *
-     *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-     * 
- * - * string flavor = 3; - */ - public com.google.protobuf.ByteString - getFlavorBytes() { - java.lang.Object ref = flavor_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - flavor_ = 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 (type_ != flyteidl.core.Tasks.RuntimeMetadata.RuntimeType.OTHER.getNumber()) { - output.writeEnum(1, type_); - } - if (!getVersionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); - } - if (!getFlavorBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, flavor_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (type_ != flyteidl.core.Tasks.RuntimeMetadata.RuntimeType.OTHER.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); - } - if (!getVersionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); - } - if (!getFlavorBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, flavor_); - } - 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.Tasks.RuntimeMetadata)) { - return super.equals(obj); - } - flyteidl.core.Tasks.RuntimeMetadata other = (flyteidl.core.Tasks.RuntimeMetadata) obj; - - if (type_ != other.type_) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getFlavor() - .equals(other.getFlavor())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - hash = (37 * hash) + FLAVOR_FIELD_NUMBER; - hash = (53 * hash) + getFlavor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.RuntimeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.RuntimeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.RuntimeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.RuntimeMetadata 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.Tasks.RuntimeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.RuntimeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.RuntimeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.RuntimeMetadata 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.Tasks.RuntimeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.RuntimeMetadata 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.Tasks.RuntimeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.RuntimeMetadata 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.Tasks.RuntimeMetadata 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; - } - /** - *
-     * Runtime information. This is loosely defined to allow for extensibility.
-     * 
- * - * Protobuf type {@code flyteidl.core.RuntimeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.RuntimeMetadata) - flyteidl.core.Tasks.RuntimeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_RuntimeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_RuntimeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.RuntimeMetadata.class, flyteidl.core.Tasks.RuntimeMetadata.Builder.class); - } - - // Construct using flyteidl.core.Tasks.RuntimeMetadata.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(); - type_ = 0; - - version_ = ""; - - flavor_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_RuntimeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.RuntimeMetadata getDefaultInstanceForType() { - return flyteidl.core.Tasks.RuntimeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.RuntimeMetadata build() { - flyteidl.core.Tasks.RuntimeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.RuntimeMetadata buildPartial() { - flyteidl.core.Tasks.RuntimeMetadata result = new flyteidl.core.Tasks.RuntimeMetadata(this); - result.type_ = type_; - result.version_ = version_; - result.flavor_ = flavor_; - 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.Tasks.RuntimeMetadata) { - return mergeFrom((flyteidl.core.Tasks.RuntimeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.RuntimeMetadata other) { - if (other == flyteidl.core.Tasks.RuntimeMetadata.getDefaultInstance()) return this; - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - onChanged(); - } - if (!other.getFlavor().isEmpty()) { - flavor_ = other.flavor_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Tasks.RuntimeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.RuntimeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int type_ = 0; - /** - *
-       * Type of runtime.
-       * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - public int getTypeValue() { - return type_; - } - /** - *
-       * Type of runtime.
-       * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - public Builder setTypeValue(int value) { - type_ = value; - onChanged(); - return this; - } - /** - *
-       * Type of runtime.
-       * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - public flyteidl.core.Tasks.RuntimeMetadata.RuntimeType getType() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.RuntimeMetadata.RuntimeType result = flyteidl.core.Tasks.RuntimeMetadata.RuntimeType.valueOf(type_); - return result == null ? flyteidl.core.Tasks.RuntimeMetadata.RuntimeType.UNRECOGNIZED : result; - } - /** - *
-       * Type of runtime.
-       * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - public Builder setType(flyteidl.core.Tasks.RuntimeMetadata.RuntimeType value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Type of runtime.
-       * 
- * - * .flyteidl.core.RuntimeMetadata.RuntimeType type = 1; - */ - public Builder clearType() { - - type_ = 0; - onChanged(); - return this; - } - - private java.lang.Object version_ = ""; - /** - *
-       * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-       * checks to ensure tighter validation or setting expectations.
-       * 
- * - * string version = 2; - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-       * checks to ensure tighter validation or setting expectations.
-       * 
- * - * string version = 2; - */ - public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-       * checks to ensure tighter validation or setting expectations.
-       * 
- * - * string version = 2; - */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - version_ = value; - onChanged(); - return this; - } - /** - *
-       * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-       * checks to ensure tighter validation or setting expectations.
-       * 
- * - * string version = 2; - */ - public Builder clearVersion() { - - version_ = getDefaultInstance().getVersion(); - onChanged(); - return this; - } - /** - *
-       * Version of the runtime. All versions should be backward compatible. However, certain cases call for version
-       * checks to ensure tighter validation or setting expectations.
-       * 
- * - * string version = 2; - */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - version_ = value; - onChanged(); - return this; - } - - private java.lang.Object flavor_ = ""; - /** - *
-       *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-       * 
- * - * string flavor = 3; - */ - public java.lang.String getFlavor() { - java.lang.Object ref = flavor_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - flavor_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-       * 
- * - * string flavor = 3; - */ - public com.google.protobuf.ByteString - getFlavorBytes() { - java.lang.Object ref = flavor_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - flavor_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-       * 
- * - * string flavor = 3; - */ - public Builder setFlavor( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - flavor_ = value; - onChanged(); - return this; - } - /** - *
-       *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-       * 
- * - * string flavor = 3; - */ - public Builder clearFlavor() { - - flavor_ = getDefaultInstance().getFlavor(); - onChanged(); - return this; - } - /** - *
-       *+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
-       * 
- * - * string flavor = 3; - */ - public Builder setFlavorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - flavor_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.RuntimeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.RuntimeMetadata) - private static final flyteidl.core.Tasks.RuntimeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.RuntimeMetadata(); - } - - public static flyteidl.core.Tasks.RuntimeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RuntimeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RuntimeMetadata(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.Tasks.RuntimeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TaskMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
-     * 
- * - * bool discoverable = 1; - */ - boolean getDiscoverable(); - - /** - *
-     * Runtime information about the task.
-     * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - boolean hasRuntime(); - /** - *
-     * Runtime information about the task.
-     * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - flyteidl.core.Tasks.RuntimeMetadata getRuntime(); - /** - *
-     * Runtime information about the task.
-     * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - flyteidl.core.Tasks.RuntimeMetadataOrBuilder getRuntimeOrBuilder(); - - /** - *
-     * The overall timeout of a task including user-triggered retries.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - boolean hasTimeout(); - /** - *
-     * The overall timeout of a task including user-triggered retries.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - com.google.protobuf.Duration getTimeout(); - /** - *
-     * The overall timeout of a task including user-triggered retries.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder(); - - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - boolean hasRetries(); - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - flyteidl.core.Literals.RetryStrategy getRetries(); - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - flyteidl.core.Literals.RetryStrategyOrBuilder getRetriesOrBuilder(); - - /** - *
-     * Indicates a logical version to apply to this task for the purpose of discovery.
-     * 
- * - * string discovery_version = 6; - */ - java.lang.String getDiscoveryVersion(); - /** - *
-     * Indicates a logical version to apply to this task for the purpose of discovery.
-     * 
- * - * string discovery_version = 6; - */ - com.google.protobuf.ByteString - getDiscoveryVersionBytes(); - - /** - *
-     * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-     * of the ending of support for a given task.
-     * 
- * - * string deprecated_error_message = 7; - */ - java.lang.String getDeprecatedErrorMessage(); - /** - *
-     * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-     * of the ending of support for a given task.
-     * 
- * - * string deprecated_error_message = 7; - */ - com.google.protobuf.ByteString - getDeprecatedErrorMessageBytes(); - - /** - * bool interruptible = 8; - */ - boolean getInterruptible(); - - /** - *
-     * Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
-     * 
- * - * bool cache_serializable = 9; - */ - boolean getCacheSerializable(); - - /** - *
-     * Indicates whether the task will generate a Deck URI when it finishes executing.
-     * 
- * - * bool generates_deck = 10; - */ - boolean getGeneratesDeck(); - - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - int getTagsCount(); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - boolean containsTags( - java.lang.String key); - /** - * Use {@link #getTagsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getTags(); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - java.util.Map - getTagsMap(); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - - java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - - java.lang.String getTagsOrThrow( - java.lang.String key); - - /** - *
-     * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-     * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-     * identically as, the default PodTemplate configured in FlytePropeller.
-     * 
- * - * string pod_template_name = 12; - */ - java.lang.String getPodTemplateName(); - /** - *
-     * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-     * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-     * identically as, the default PodTemplate configured in FlytePropeller.
-     * 
- * - * string pod_template_name = 12; - */ - com.google.protobuf.ByteString - getPodTemplateNameBytes(); - - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - java.util.List - getCacheIgnoreInputVarsList(); - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - int getCacheIgnoreInputVarsCount(); - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - java.lang.String getCacheIgnoreInputVars(int index); - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - com.google.protobuf.ByteString - getCacheIgnoreInputVarsBytes(int index); - - public flyteidl.core.Tasks.TaskMetadata.InterruptibleValueCase getInterruptibleValueCase(); - } - /** - *
-   * Task Metadata
-   * 
- * - * Protobuf type {@code flyteidl.core.TaskMetadata} - */ - public static final class TaskMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TaskMetadata) - TaskMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskMetadata.newBuilder() to construct. - private TaskMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskMetadata() { - discoveryVersion_ = ""; - deprecatedErrorMessage_ = ""; - podTemplateName_ = ""; - cacheIgnoreInputVars_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskMetadata( - 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: { - - discoverable_ = input.readBool(); - break; - } - case 18: { - flyteidl.core.Tasks.RuntimeMetadata.Builder subBuilder = null; - if (runtime_ != null) { - subBuilder = runtime_.toBuilder(); - } - runtime_ = input.readMessage(flyteidl.core.Tasks.RuntimeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(runtime_); - runtime_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeout_ != null) { - subBuilder = timeout_.toBuilder(); - } - timeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeout_); - timeout_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.core.Literals.RetryStrategy.Builder subBuilder = null; - if (retries_ != null) { - subBuilder = retries_.toBuilder(); - } - retries_ = input.readMessage(flyteidl.core.Literals.RetryStrategy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(retries_); - retries_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - discoveryVersion_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - deprecatedErrorMessage_ = s; - break; - } - case 64: { - interruptibleValueCase_ = 8; - interruptibleValue_ = input.readBool(); - break; - } - case 72: { - - cacheSerializable_ = input.readBool(); - break; - } - case 80: { - - generatesDeck_ = input.readBool(); - break; - } - case 90: { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000200; - } - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put( - tags__.getKey(), tags__.getValue()); - break; - } - case 98: { - java.lang.String s = input.readStringRequireUtf8(); - - podTemplateName_ = s; - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000800) != 0)) { - cacheIgnoreInputVars_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000800; - } - cacheIgnoreInputVars_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000800) != 0)) { - cacheIgnoreInputVars_ = cacheIgnoreInputVars_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 11: - return internalGetTags(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.TaskMetadata.class, flyteidl.core.Tasks.TaskMetadata.Builder.class); - } - - private int bitField0_; - private int interruptibleValueCase_ = 0; - private java.lang.Object interruptibleValue_; - public enum InterruptibleValueCase - implements com.google.protobuf.Internal.EnumLite { - INTERRUPTIBLE(8), - INTERRUPTIBLEVALUE_NOT_SET(0); - private final int value; - private InterruptibleValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static InterruptibleValueCase valueOf(int value) { - return forNumber(value); - } - - public static InterruptibleValueCase forNumber(int value) { - switch (value) { - case 8: return INTERRUPTIBLE; - case 0: return INTERRUPTIBLEVALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public InterruptibleValueCase - getInterruptibleValueCase() { - return InterruptibleValueCase.forNumber( - interruptibleValueCase_); - } - - public static final int DISCOVERABLE_FIELD_NUMBER = 1; - private boolean discoverable_; - /** - *
-     * Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
-     * 
- * - * bool discoverable = 1; - */ - public boolean getDiscoverable() { - return discoverable_; - } - - public static final int RUNTIME_FIELD_NUMBER = 2; - private flyteidl.core.Tasks.RuntimeMetadata runtime_; - /** - *
-     * Runtime information about the task.
-     * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public boolean hasRuntime() { - return runtime_ != null; - } - /** - *
-     * Runtime information about the task.
-     * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public flyteidl.core.Tasks.RuntimeMetadata getRuntime() { - return runtime_ == null ? flyteidl.core.Tasks.RuntimeMetadata.getDefaultInstance() : runtime_; - } - /** - *
-     * Runtime information about the task.
-     * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public flyteidl.core.Tasks.RuntimeMetadataOrBuilder getRuntimeOrBuilder() { - return getRuntime(); - } - - public static final int TIMEOUT_FIELD_NUMBER = 4; - private com.google.protobuf.Duration timeout_; - /** - *
-     * The overall timeout of a task including user-triggered retries.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public boolean hasTimeout() { - return timeout_ != null; - } - /** - *
-     * The overall timeout of a task including user-triggered retries.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.Duration getTimeout() { - return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; - } - /** - *
-     * The overall timeout of a task including user-triggered retries.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { - return getTimeout(); - } - - public static final int RETRIES_FIELD_NUMBER = 5; - private flyteidl.core.Literals.RetryStrategy retries_; - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public boolean hasRetries() { - return retries_ != null; - } - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategy getRetries() { - return retries_ == null ? flyteidl.core.Literals.RetryStrategy.getDefaultInstance() : retries_; - } - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategyOrBuilder getRetriesOrBuilder() { - return getRetries(); - } - - public static final int DISCOVERY_VERSION_FIELD_NUMBER = 6; - private volatile java.lang.Object discoveryVersion_; - /** - *
-     * Indicates a logical version to apply to this task for the purpose of discovery.
-     * 
- * - * string discovery_version = 6; - */ - public java.lang.String getDiscoveryVersion() { - java.lang.Object ref = discoveryVersion_; - 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(); - discoveryVersion_ = s; - return s; - } - } - /** - *
-     * Indicates a logical version to apply to this task for the purpose of discovery.
-     * 
- * - * string discovery_version = 6; - */ - public com.google.protobuf.ByteString - getDiscoveryVersionBytes() { - java.lang.Object ref = discoveryVersion_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - discoveryVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DEPRECATED_ERROR_MESSAGE_FIELD_NUMBER = 7; - private volatile java.lang.Object deprecatedErrorMessage_; - /** - *
-     * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-     * of the ending of support for a given task.
-     * 
- * - * string deprecated_error_message = 7; - */ - public java.lang.String getDeprecatedErrorMessage() { - java.lang.Object ref = deprecatedErrorMessage_; - 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(); - deprecatedErrorMessage_ = s; - return s; - } - } - /** - *
-     * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-     * of the ending of support for a given task.
-     * 
- * - * string deprecated_error_message = 7; - */ - public com.google.protobuf.ByteString - getDeprecatedErrorMessageBytes() { - java.lang.Object ref = deprecatedErrorMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deprecatedErrorMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INTERRUPTIBLE_FIELD_NUMBER = 8; - /** - * bool interruptible = 8; - */ - public boolean getInterruptible() { - if (interruptibleValueCase_ == 8) { - return (java.lang.Boolean) interruptibleValue_; - } - return false; - } - - public static final int CACHE_SERIALIZABLE_FIELD_NUMBER = 9; - private boolean cacheSerializable_; - /** - *
-     * Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
-     * 
- * - * bool cache_serializable = 9; - */ - public boolean getCacheSerializable() { - return cacheSerializable_; - } - - public static final int GENERATES_DECK_FIELD_NUMBER = 10; - private boolean generatesDeck_; - /** - *
-     * Indicates whether the task will generate a Deck URI when it finishes executing.
-     * 
- * - * bool generates_deck = 10; - */ - public boolean getGeneratesDeck() { - return generatesDeck_; - } - - public static final int TAGS_FIELD_NUMBER = 11; - private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Tasks.internal_static_flyteidl_core_TaskMetadata_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { - if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); - } - return tags_; - } - - public int getTagsCount() { - return internalGetTags().getMap().size(); - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - - public boolean containsTags( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetTags().getMap().containsKey(key); - } - /** - * Use {@link #getTagsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getTags() { - return getTagsMap(); - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - - public java.util.Map getTagsMap() { - return internalGetTags().getMap(); - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - - public java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 11; - */ - - public java.lang.String getTagsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int POD_TEMPLATE_NAME_FIELD_NUMBER = 12; - private volatile java.lang.Object podTemplateName_; - /** - *
-     * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-     * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-     * identically as, the default PodTemplate configured in FlytePropeller.
-     * 
- * - * string pod_template_name = 12; - */ - public java.lang.String getPodTemplateName() { - java.lang.Object ref = podTemplateName_; - 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(); - podTemplateName_ = s; - return s; - } - } - /** - *
-     * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-     * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-     * identically as, the default PodTemplate configured in FlytePropeller.
-     * 
- * - * string pod_template_name = 12; - */ - public com.google.protobuf.ByteString - getPodTemplateNameBytes() { - java.lang.Object ref = podTemplateName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - podTemplateName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CACHE_IGNORE_INPUT_VARS_FIELD_NUMBER = 13; - private com.google.protobuf.LazyStringList cacheIgnoreInputVars_; - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public com.google.protobuf.ProtocolStringList - getCacheIgnoreInputVarsList() { - return cacheIgnoreInputVars_; - } - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public int getCacheIgnoreInputVarsCount() { - return cacheIgnoreInputVars_.size(); - } - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public java.lang.String getCacheIgnoreInputVars(int index) { - return cacheIgnoreInputVars_.get(index); - } - /** - *
-     * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-     * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public com.google.protobuf.ByteString - getCacheIgnoreInputVarsBytes(int index) { - return cacheIgnoreInputVars_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (discoverable_ != false) { - output.writeBool(1, discoverable_); - } - if (runtime_ != null) { - output.writeMessage(2, getRuntime()); - } - if (timeout_ != null) { - output.writeMessage(4, getTimeout()); - } - if (retries_ != null) { - output.writeMessage(5, getRetries()); - } - if (!getDiscoveryVersionBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, discoveryVersion_); - } - if (!getDeprecatedErrorMessageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, deprecatedErrorMessage_); - } - if (interruptibleValueCase_ == 8) { - output.writeBool( - 8, (boolean)((java.lang.Boolean) interruptibleValue_)); - } - if (cacheSerializable_ != false) { - output.writeBool(9, cacheSerializable_); - } - if (generatesDeck_ != false) { - output.writeBool(10, generatesDeck_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTags(), - TagsDefaultEntryHolder.defaultEntry, - 11); - if (!getPodTemplateNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, podTemplateName_); - } - for (int i = 0; i < cacheIgnoreInputVars_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, cacheIgnoreInputVars_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (discoverable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, discoverable_); - } - if (runtime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRuntime()); - } - if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTimeout()); - } - if (retries_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRetries()); - } - if (!getDiscoveryVersionBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, discoveryVersion_); - } - if (!getDeprecatedErrorMessageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, deprecatedErrorMessage_); - } - if (interruptibleValueCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 8, (boolean)((java.lang.Boolean) interruptibleValue_)); - } - if (cacheSerializable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, cacheSerializable_); - } - if (generatesDeck_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, generatesDeck_); - } - for (java.util.Map.Entry entry - : internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry - tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, tags__); - } - if (!getPodTemplateNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, podTemplateName_); - } - { - int dataSize = 0; - for (int i = 0; i < cacheIgnoreInputVars_.size(); i++) { - dataSize += computeStringSizeNoTag(cacheIgnoreInputVars_.getRaw(i)); - } - size += dataSize; - size += 1 * getCacheIgnoreInputVarsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Tasks.TaskMetadata)) { - return super.equals(obj); - } - flyteidl.core.Tasks.TaskMetadata other = (flyteidl.core.Tasks.TaskMetadata) obj; - - if (getDiscoverable() - != other.getDiscoverable()) return false; - if (hasRuntime() != other.hasRuntime()) return false; - if (hasRuntime()) { - if (!getRuntime() - .equals(other.getRuntime())) return false; - } - if (hasTimeout() != other.hasTimeout()) return false; - if (hasTimeout()) { - if (!getTimeout() - .equals(other.getTimeout())) return false; - } - if (hasRetries() != other.hasRetries()) return false; - if (hasRetries()) { - if (!getRetries() - .equals(other.getRetries())) return false; - } - if (!getDiscoveryVersion() - .equals(other.getDiscoveryVersion())) return false; - if (!getDeprecatedErrorMessage() - .equals(other.getDeprecatedErrorMessage())) return false; - if (getCacheSerializable() - != other.getCacheSerializable()) return false; - if (getGeneratesDeck() - != other.getGeneratesDeck()) return false; - if (!internalGetTags().equals( - other.internalGetTags())) return false; - if (!getPodTemplateName() - .equals(other.getPodTemplateName())) return false; - if (!getCacheIgnoreInputVarsList() - .equals(other.getCacheIgnoreInputVarsList())) return false; - if (!getInterruptibleValueCase().equals(other.getInterruptibleValueCase())) return false; - switch (interruptibleValueCase_) { - case 8: - if (getInterruptible() - != other.getInterruptible()) 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) + DISCOVERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDiscoverable()); - if (hasRuntime()) { - hash = (37 * hash) + RUNTIME_FIELD_NUMBER; - hash = (53 * hash) + getRuntime().hashCode(); - } - if (hasTimeout()) { - hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; - hash = (53 * hash) + getTimeout().hashCode(); - } - if (hasRetries()) { - hash = (37 * hash) + RETRIES_FIELD_NUMBER; - hash = (53 * hash) + getRetries().hashCode(); - } - hash = (37 * hash) + DISCOVERY_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getDiscoveryVersion().hashCode(); - hash = (37 * hash) + DEPRECATED_ERROR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getDeprecatedErrorMessage().hashCode(); - hash = (37 * hash) + CACHE_SERIALIZABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCacheSerializable()); - hash = (37 * hash) + GENERATES_DECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getGeneratesDeck()); - if (!internalGetTags().getMap().isEmpty()) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + internalGetTags().hashCode(); - } - hash = (37 * hash) + POD_TEMPLATE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getPodTemplateName().hashCode(); - if (getCacheIgnoreInputVarsCount() > 0) { - hash = (37 * hash) + CACHE_IGNORE_INPUT_VARS_FIELD_NUMBER; - hash = (53 * hash) + getCacheIgnoreInputVarsList().hashCode(); - } - switch (interruptibleValueCase_) { - case 8: - hash = (37 * hash) + INTERRUPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInterruptible()); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.TaskMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.TaskMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.TaskMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.TaskMetadata 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.Tasks.TaskMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.TaskMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.TaskMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.TaskMetadata 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.Tasks.TaskMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.TaskMetadata 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.Tasks.TaskMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.TaskMetadata 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.Tasks.TaskMetadata 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; - } - /** - *
-     * Task Metadata
-     * 
- * - * Protobuf type {@code flyteidl.core.TaskMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TaskMetadata) - flyteidl.core.Tasks.TaskMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 11: - return internalGetTags(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 11: - return internalGetMutableTags(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.TaskMetadata.class, flyteidl.core.Tasks.TaskMetadata.Builder.class); - } - - // Construct using flyteidl.core.Tasks.TaskMetadata.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(); - discoverable_ = false; - - if (runtimeBuilder_ == null) { - runtime_ = null; - } else { - runtime_ = null; - runtimeBuilder_ = null; - } - if (timeoutBuilder_ == null) { - timeout_ = null; - } else { - timeout_ = null; - timeoutBuilder_ = null; - } - if (retriesBuilder_ == null) { - retries_ = null; - } else { - retries_ = null; - retriesBuilder_ = null; - } - discoveryVersion_ = ""; - - deprecatedErrorMessage_ = ""; - - cacheSerializable_ = false; - - generatesDeck_ = false; - - internalGetMutableTags().clear(); - podTemplateName_ = ""; - - cacheIgnoreInputVars_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000800); - interruptibleValueCase_ = 0; - interruptibleValue_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.TaskMetadata getDefaultInstanceForType() { - return flyteidl.core.Tasks.TaskMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.TaskMetadata build() { - flyteidl.core.Tasks.TaskMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.TaskMetadata buildPartial() { - flyteidl.core.Tasks.TaskMetadata result = new flyteidl.core.Tasks.TaskMetadata(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.discoverable_ = discoverable_; - if (runtimeBuilder_ == null) { - result.runtime_ = runtime_; - } else { - result.runtime_ = runtimeBuilder_.build(); - } - if (timeoutBuilder_ == null) { - result.timeout_ = timeout_; - } else { - result.timeout_ = timeoutBuilder_.build(); - } - if (retriesBuilder_ == null) { - result.retries_ = retries_; - } else { - result.retries_ = retriesBuilder_.build(); - } - result.discoveryVersion_ = discoveryVersion_; - result.deprecatedErrorMessage_ = deprecatedErrorMessage_; - if (interruptibleValueCase_ == 8) { - result.interruptibleValue_ = interruptibleValue_; - } - result.cacheSerializable_ = cacheSerializable_; - result.generatesDeck_ = generatesDeck_; - result.tags_ = internalGetTags(); - result.tags_.makeImmutable(); - result.podTemplateName_ = podTemplateName_; - if (((bitField0_ & 0x00000800) != 0)) { - cacheIgnoreInputVars_ = cacheIgnoreInputVars_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000800); - } - result.cacheIgnoreInputVars_ = cacheIgnoreInputVars_; - result.bitField0_ = to_bitField0_; - result.interruptibleValueCase_ = interruptibleValueCase_; - 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.Tasks.TaskMetadata) { - return mergeFrom((flyteidl.core.Tasks.TaskMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.TaskMetadata other) { - if (other == flyteidl.core.Tasks.TaskMetadata.getDefaultInstance()) return this; - if (other.getDiscoverable() != false) { - setDiscoverable(other.getDiscoverable()); - } - if (other.hasRuntime()) { - mergeRuntime(other.getRuntime()); - } - if (other.hasTimeout()) { - mergeTimeout(other.getTimeout()); - } - if (other.hasRetries()) { - mergeRetries(other.getRetries()); - } - if (!other.getDiscoveryVersion().isEmpty()) { - discoveryVersion_ = other.discoveryVersion_; - onChanged(); - } - if (!other.getDeprecatedErrorMessage().isEmpty()) { - deprecatedErrorMessage_ = other.deprecatedErrorMessage_; - onChanged(); - } - if (other.getCacheSerializable() != false) { - setCacheSerializable(other.getCacheSerializable()); - } - if (other.getGeneratesDeck() != false) { - setGeneratesDeck(other.getGeneratesDeck()); - } - internalGetMutableTags().mergeFrom( - other.internalGetTags()); - if (!other.getPodTemplateName().isEmpty()) { - podTemplateName_ = other.podTemplateName_; - onChanged(); - } - if (!other.cacheIgnoreInputVars_.isEmpty()) { - if (cacheIgnoreInputVars_.isEmpty()) { - cacheIgnoreInputVars_ = other.cacheIgnoreInputVars_; - bitField0_ = (bitField0_ & ~0x00000800); - } else { - ensureCacheIgnoreInputVarsIsMutable(); - cacheIgnoreInputVars_.addAll(other.cacheIgnoreInputVars_); - } - onChanged(); - } - switch (other.getInterruptibleValueCase()) { - case INTERRUPTIBLE: { - setInterruptible(other.getInterruptible()); - break; - } - case INTERRUPTIBLEVALUE_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.Tasks.TaskMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.TaskMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int interruptibleValueCase_ = 0; - private java.lang.Object interruptibleValue_; - public InterruptibleValueCase - getInterruptibleValueCase() { - return InterruptibleValueCase.forNumber( - interruptibleValueCase_); - } - - public Builder clearInterruptibleValue() { - interruptibleValueCase_ = 0; - interruptibleValue_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private boolean discoverable_ ; - /** - *
-       * Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
-       * 
- * - * bool discoverable = 1; - */ - public boolean getDiscoverable() { - return discoverable_; - } - /** - *
-       * Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
-       * 
- * - * bool discoverable = 1; - */ - public Builder setDiscoverable(boolean value) { - - discoverable_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
-       * 
- * - * bool discoverable = 1; - */ - public Builder clearDiscoverable() { - - discoverable_ = false; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.RuntimeMetadata runtime_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.RuntimeMetadata, flyteidl.core.Tasks.RuntimeMetadata.Builder, flyteidl.core.Tasks.RuntimeMetadataOrBuilder> runtimeBuilder_; - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public boolean hasRuntime() { - return runtimeBuilder_ != null || runtime_ != null; - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public flyteidl.core.Tasks.RuntimeMetadata getRuntime() { - if (runtimeBuilder_ == null) { - return runtime_ == null ? flyteidl.core.Tasks.RuntimeMetadata.getDefaultInstance() : runtime_; - } else { - return runtimeBuilder_.getMessage(); - } - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public Builder setRuntime(flyteidl.core.Tasks.RuntimeMetadata value) { - if (runtimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - runtime_ = value; - onChanged(); - } else { - runtimeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public Builder setRuntime( - flyteidl.core.Tasks.RuntimeMetadata.Builder builderForValue) { - if (runtimeBuilder_ == null) { - runtime_ = builderForValue.build(); - onChanged(); - } else { - runtimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public Builder mergeRuntime(flyteidl.core.Tasks.RuntimeMetadata value) { - if (runtimeBuilder_ == null) { - if (runtime_ != null) { - runtime_ = - flyteidl.core.Tasks.RuntimeMetadata.newBuilder(runtime_).mergeFrom(value).buildPartial(); - } else { - runtime_ = value; - } - onChanged(); - } else { - runtimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public Builder clearRuntime() { - if (runtimeBuilder_ == null) { - runtime_ = null; - onChanged(); - } else { - runtime_ = null; - runtimeBuilder_ = null; - } - - return this; - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public flyteidl.core.Tasks.RuntimeMetadata.Builder getRuntimeBuilder() { - - onChanged(); - return getRuntimeFieldBuilder().getBuilder(); - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - public flyteidl.core.Tasks.RuntimeMetadataOrBuilder getRuntimeOrBuilder() { - if (runtimeBuilder_ != null) { - return runtimeBuilder_.getMessageOrBuilder(); - } else { - return runtime_ == null ? - flyteidl.core.Tasks.RuntimeMetadata.getDefaultInstance() : runtime_; - } - } - /** - *
-       * Runtime information about the task.
-       * 
- * - * .flyteidl.core.RuntimeMetadata runtime = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.RuntimeMetadata, flyteidl.core.Tasks.RuntimeMetadata.Builder, flyteidl.core.Tasks.RuntimeMetadataOrBuilder> - getRuntimeFieldBuilder() { - if (runtimeBuilder_ == null) { - runtimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.RuntimeMetadata, flyteidl.core.Tasks.RuntimeMetadata.Builder, flyteidl.core.Tasks.RuntimeMetadataOrBuilder>( - getRuntime(), - getParentForChildren(), - isClean()); - runtime_ = null; - } - return runtimeBuilder_; - } - - private com.google.protobuf.Duration timeout_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_; - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public boolean hasTimeout() { - return timeoutBuilder_ != null || timeout_ != null; - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.Duration getTimeout() { - if (timeoutBuilder_ == null) { - return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; - } else { - return timeoutBuilder_.getMessage(); - } - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder setTimeout(com.google.protobuf.Duration value) { - if (timeoutBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timeout_ = value; - onChanged(); - } else { - timeoutBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder setTimeout( - com.google.protobuf.Duration.Builder builderForValue) { - if (timeoutBuilder_ == null) { - timeout_ = builderForValue.build(); - onChanged(); - } else { - timeoutBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder mergeTimeout(com.google.protobuf.Duration value) { - if (timeoutBuilder_ == null) { - if (timeout_ != null) { - timeout_ = - com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial(); - } else { - timeout_ = value; - } - onChanged(); - } else { - timeoutBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder clearTimeout() { - if (timeoutBuilder_ == null) { - timeout_ = null; - onChanged(); - } else { - timeout_ = null; - timeoutBuilder_ = null; - } - - return this; - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.Duration.Builder getTimeoutBuilder() { - - onChanged(); - return getTimeoutFieldBuilder().getBuilder(); - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { - if (timeoutBuilder_ != null) { - return timeoutBuilder_.getMessageOrBuilder(); - } else { - return timeout_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeout_; - } - } - /** - *
-       * The overall timeout of a task including user-triggered retries.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getTimeoutFieldBuilder() { - if (timeoutBuilder_ == null) { - timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeout(), - getParentForChildren(), - isClean()); - timeout_ = null; - } - return timeoutBuilder_; - } - - private flyteidl.core.Literals.RetryStrategy retries_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.RetryStrategy, flyteidl.core.Literals.RetryStrategy.Builder, flyteidl.core.Literals.RetryStrategyOrBuilder> retriesBuilder_; - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public boolean hasRetries() { - return retriesBuilder_ != null || retries_ != null; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategy getRetries() { - if (retriesBuilder_ == null) { - return retries_ == null ? flyteidl.core.Literals.RetryStrategy.getDefaultInstance() : retries_; - } else { - return retriesBuilder_.getMessage(); - } - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder setRetries(flyteidl.core.Literals.RetryStrategy value) { - if (retriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - retries_ = value; - onChanged(); - } else { - retriesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder setRetries( - flyteidl.core.Literals.RetryStrategy.Builder builderForValue) { - if (retriesBuilder_ == null) { - retries_ = builderForValue.build(); - onChanged(); - } else { - retriesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder mergeRetries(flyteidl.core.Literals.RetryStrategy value) { - if (retriesBuilder_ == null) { - if (retries_ != null) { - retries_ = - flyteidl.core.Literals.RetryStrategy.newBuilder(retries_).mergeFrom(value).buildPartial(); - } else { - retries_ = value; - } - onChanged(); - } else { - retriesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder clearRetries() { - if (retriesBuilder_ == null) { - retries_ = null; - onChanged(); - } else { - retries_ = null; - retriesBuilder_ = null; - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategy.Builder getRetriesBuilder() { - - onChanged(); - return getRetriesFieldBuilder().getBuilder(); - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategyOrBuilder getRetriesOrBuilder() { - if (retriesBuilder_ != null) { - return retriesBuilder_.getMessageOrBuilder(); - } else { - return retries_ == null ? - flyteidl.core.Literals.RetryStrategy.getDefaultInstance() : retries_; - } - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.RetryStrategy, flyteidl.core.Literals.RetryStrategy.Builder, flyteidl.core.Literals.RetryStrategyOrBuilder> - getRetriesFieldBuilder() { - if (retriesBuilder_ == null) { - retriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.RetryStrategy, flyteidl.core.Literals.RetryStrategy.Builder, flyteidl.core.Literals.RetryStrategyOrBuilder>( - getRetries(), - getParentForChildren(), - isClean()); - retries_ = null; - } - return retriesBuilder_; - } - - private java.lang.Object discoveryVersion_ = ""; - /** - *
-       * Indicates a logical version to apply to this task for the purpose of discovery.
-       * 
- * - * string discovery_version = 6; - */ - public java.lang.String getDiscoveryVersion() { - java.lang.Object ref = discoveryVersion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - discoveryVersion_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Indicates a logical version to apply to this task for the purpose of discovery.
-       * 
- * - * string discovery_version = 6; - */ - public com.google.protobuf.ByteString - getDiscoveryVersionBytes() { - java.lang.Object ref = discoveryVersion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - discoveryVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Indicates a logical version to apply to this task for the purpose of discovery.
-       * 
- * - * string discovery_version = 6; - */ - public Builder setDiscoveryVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - discoveryVersion_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates a logical version to apply to this task for the purpose of discovery.
-       * 
- * - * string discovery_version = 6; - */ - public Builder clearDiscoveryVersion() { - - discoveryVersion_ = getDefaultInstance().getDiscoveryVersion(); - onChanged(); - return this; - } - /** - *
-       * Indicates a logical version to apply to this task for the purpose of discovery.
-       * 
- * - * string discovery_version = 6; - */ - public Builder setDiscoveryVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - discoveryVersion_ = value; - onChanged(); - return this; - } - - private java.lang.Object deprecatedErrorMessage_ = ""; - /** - *
-       * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-       * of the ending of support for a given task.
-       * 
- * - * string deprecated_error_message = 7; - */ - public java.lang.String getDeprecatedErrorMessage() { - java.lang.Object ref = deprecatedErrorMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - deprecatedErrorMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-       * of the ending of support for a given task.
-       * 
- * - * string deprecated_error_message = 7; - */ - public com.google.protobuf.ByteString - getDeprecatedErrorMessageBytes() { - java.lang.Object ref = deprecatedErrorMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deprecatedErrorMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-       * of the ending of support for a given task.
-       * 
- * - * string deprecated_error_message = 7; - */ - public Builder setDeprecatedErrorMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - deprecatedErrorMessage_ = value; - onChanged(); - return this; - } - /** - *
-       * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-       * of the ending of support for a given task.
-       * 
- * - * string deprecated_error_message = 7; - */ - public Builder clearDeprecatedErrorMessage() { - - deprecatedErrorMessage_ = getDefaultInstance().getDeprecatedErrorMessage(); - onChanged(); - return this; - } - /** - *
-       * If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
-       * of the ending of support for a given task.
-       * 
- * - * string deprecated_error_message = 7; - */ - public Builder setDeprecatedErrorMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - deprecatedErrorMessage_ = value; - onChanged(); - return this; - } - - /** - * bool interruptible = 8; - */ - public boolean getInterruptible() { - if (interruptibleValueCase_ == 8) { - return (java.lang.Boolean) interruptibleValue_; - } - return false; - } - /** - * bool interruptible = 8; - */ - public Builder setInterruptible(boolean value) { - interruptibleValueCase_ = 8; - interruptibleValue_ = value; - onChanged(); - return this; - } - /** - * bool interruptible = 8; - */ - public Builder clearInterruptible() { - if (interruptibleValueCase_ == 8) { - interruptibleValueCase_ = 0; - interruptibleValue_ = null; - onChanged(); - } - return this; - } - - private boolean cacheSerializable_ ; - /** - *
-       * Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
-       * 
- * - * bool cache_serializable = 9; - */ - public boolean getCacheSerializable() { - return cacheSerializable_; - } - /** - *
-       * Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
-       * 
- * - * bool cache_serializable = 9; - */ - public Builder setCacheSerializable(boolean value) { - - cacheSerializable_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
-       * 
- * - * bool cache_serializable = 9; - */ - public Builder clearCacheSerializable() { - - cacheSerializable_ = false; - onChanged(); - return this; - } - - private boolean generatesDeck_ ; - /** - *
-       * Indicates whether the task will generate a Deck URI when it finishes executing.
-       * 
- * - * bool generates_deck = 10; - */ - public boolean getGeneratesDeck() { - return generatesDeck_; - } - /** - *
-       * Indicates whether the task will generate a Deck URI when it finishes executing.
-       * 
- * - * bool generates_deck = 10; - */ - public Builder setGeneratesDeck(boolean value) { - - generatesDeck_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates whether the task will generate a Deck URI when it finishes executing.
-       * 
- * - * bool generates_deck = 10; - */ - public Builder clearGeneratesDeck() { - - generatesDeck_ = false; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { - if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); - } - return tags_; - } - private com.google.protobuf.MapField - internalGetMutableTags() { - onChanged();; - if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); - } - if (!tags_.isMutable()) { - tags_ = tags_.copy(); - } - return tags_; - } - - public int getTagsCount() { - return internalGetTags().getMap().size(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 11; - */ - - public boolean containsTags( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetTags().getMap().containsKey(key); - } - /** - * Use {@link #getTagsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getTags() { - return getTagsMap(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 11; - */ - - public java.util.Map getTagsMap() { - return internalGetTags().getMap(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 11; - */ - - public java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 11; - */ - - public java.lang.String getTagsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearTags() { - internalGetMutableTags().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 11; - */ - - public Builder removeTags( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableTags().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableTags() { - return internalGetMutableTags().getMutableMap(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 11; - */ - public Builder putTags( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableTags().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 11; - */ - - public Builder putAllTags( - java.util.Map values) { - internalGetMutableTags().getMutableMap() - .putAll(values); - return this; - } - - private java.lang.Object podTemplateName_ = ""; - /** - *
-       * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-       * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-       * identically as, the default PodTemplate configured in FlytePropeller.
-       * 
- * - * string pod_template_name = 12; - */ - public java.lang.String getPodTemplateName() { - java.lang.Object ref = podTemplateName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - podTemplateName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-       * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-       * identically as, the default PodTemplate configured in FlytePropeller.
-       * 
- * - * string pod_template_name = 12; - */ - public com.google.protobuf.ByteString - getPodTemplateNameBytes() { - java.lang.Object ref = podTemplateName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - podTemplateName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-       * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-       * identically as, the default PodTemplate configured in FlytePropeller.
-       * 
- * - * string pod_template_name = 12; - */ - public Builder setPodTemplateName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - podTemplateName_ = value; - onChanged(); - return this; - } - /** - *
-       * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-       * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-       * identically as, the default PodTemplate configured in FlytePropeller.
-       * 
- * - * string pod_template_name = 12; - */ - public Builder clearPodTemplateName() { - - podTemplateName_ = getDefaultInstance().getPodTemplateName(); - onChanged(); - return this; - } - /** - *
-       * pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this
-       * task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
-       * identically as, the default PodTemplate configured in FlytePropeller.
-       * 
- * - * string pod_template_name = 12; - */ - public Builder setPodTemplateNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - podTemplateName_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList cacheIgnoreInputVars_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureCacheIgnoreInputVarsIsMutable() { - if (!((bitField0_ & 0x00000800) != 0)) { - cacheIgnoreInputVars_ = new com.google.protobuf.LazyStringArrayList(cacheIgnoreInputVars_); - bitField0_ |= 0x00000800; - } - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public com.google.protobuf.ProtocolStringList - getCacheIgnoreInputVarsList() { - return cacheIgnoreInputVars_.getUnmodifiableView(); - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public int getCacheIgnoreInputVarsCount() { - return cacheIgnoreInputVars_.size(); - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public java.lang.String getCacheIgnoreInputVars(int index) { - return cacheIgnoreInputVars_.get(index); - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public com.google.protobuf.ByteString - getCacheIgnoreInputVarsBytes(int index) { - return cacheIgnoreInputVars_.getByteString(index); - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public Builder setCacheIgnoreInputVars( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCacheIgnoreInputVarsIsMutable(); - cacheIgnoreInputVars_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public Builder addCacheIgnoreInputVars( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCacheIgnoreInputVarsIsMutable(); - cacheIgnoreInputVars_.add(value); - onChanged(); - return this; - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public Builder addAllCacheIgnoreInputVars( - java.lang.Iterable values) { - ensureCacheIgnoreInputVarsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cacheIgnoreInputVars_); - onChanged(); - return this; - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public Builder clearCacheIgnoreInputVars() { - cacheIgnoreInputVars_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); - return this; - } - /** - *
-       * cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
-       * 
- * - * repeated string cache_ignore_input_vars = 13; - */ - public Builder addCacheIgnoreInputVarsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureCacheIgnoreInputVarsIsMutable(); - cacheIgnoreInputVars_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.TaskMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskMetadata) - private static final flyteidl.core.Tasks.TaskMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.TaskMetadata(); - } - - public static flyteidl.core.Tasks.TaskMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskMetadata(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.Tasks.TaskMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskTemplateOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TaskTemplate) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-     * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-     * implementation registered for the TaskCategory.
-     * 
- * - * string type = 2; - */ - java.lang.String getType(); - /** - *
-     * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-     * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-     * implementation registered for the TaskCategory.
-     * 
- * - * string type = 2; - */ - com.google.protobuf.ByteString - getTypeBytes(); - - /** - *
-     * Extra metadata about the task.
-     * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - boolean hasMetadata(); - /** - *
-     * Extra metadata about the task.
-     * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - flyteidl.core.Tasks.TaskMetadata getMetadata(); - /** - *
-     * Extra metadata about the task.
-     * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - flyteidl.core.Tasks.TaskMetadataOrBuilder getMetadataOrBuilder(); - - /** - *
-     * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-     * compile-time validation of the workflow to avoid costly runtime failures.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - boolean hasInterface(); - /** - *
-     * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-     * compile-time validation of the workflow to avoid costly runtime failures.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - flyteidl.core.Interface.TypedInterface getInterface(); - /** - *
-     * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-     * compile-time validation of the workflow to avoid costly runtime failures.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - flyteidl.core.Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder(); - - /** - *
-     * Custom data about the task. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom = 5; - */ - boolean hasCustom(); - /** - *
-     * Custom data about the task. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom = 5; - */ - com.google.protobuf.Struct getCustom(); - /** - *
-     * Custom data about the task. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom = 5; - */ - com.google.protobuf.StructOrBuilder getCustomOrBuilder(); - - /** - * .flyteidl.core.Container container = 6; - */ - boolean hasContainer(); - /** - * .flyteidl.core.Container container = 6; - */ - flyteidl.core.Tasks.Container getContainer(); - /** - * .flyteidl.core.Container container = 6; - */ - flyteidl.core.Tasks.ContainerOrBuilder getContainerOrBuilder(); - - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - boolean hasK8SPod(); - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - flyteidl.core.Tasks.K8sPod getK8SPod(); - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - flyteidl.core.Tasks.K8sPodOrBuilder getK8SPodOrBuilder(); - - /** - * .flyteidl.core.Sql sql = 18; - */ - boolean hasSql(); - /** - * .flyteidl.core.Sql sql = 18; - */ - flyteidl.core.Tasks.Sql getSql(); - /** - * .flyteidl.core.Sql sql = 18; - */ - flyteidl.core.Tasks.SqlOrBuilder getSqlOrBuilder(); - - /** - *
-     * This can be used to customize task handling at execution time for the same task type.
-     * 
- * - * int32 task_type_version = 7; - */ - int getTaskTypeVersion(); - - /** - *
-     * security_context encapsulates security attributes requested to run this task.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - boolean hasSecurityContext(); - /** - *
-     * security_context encapsulates security attributes requested to run this task.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - flyteidl.core.Security.SecurityContext getSecurityContext(); - /** - *
-     * security_context encapsulates security attributes requested to run this task.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder(); - - /** - *
-     * Encapsulates all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - boolean hasExtendedResources(); - /** - *
-     * Encapsulates all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - flyteidl.core.Tasks.ExtendedResources getExtendedResources(); - /** - *
-     * Encapsulates all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - flyteidl.core.Tasks.ExtendedResourcesOrBuilder getExtendedResourcesOrBuilder(); - - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - int getConfigCount(); - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - boolean containsConfig( - java.lang.String key); - /** - * Use {@link #getConfigMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getConfig(); - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - java.util.Map - getConfigMap(); - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - - java.lang.String getConfigOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - - java.lang.String getConfigOrThrow( - java.lang.String key); - - public flyteidl.core.Tasks.TaskTemplate.TargetCase getTargetCase(); - } - /** - *
-   * A Task structure that uniquely identifies a task in the system
-   * Tasks are registered as a first step in the system.
-   * 
- * - * Protobuf type {@code flyteidl.core.TaskTemplate} - */ - public static final class TaskTemplate extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TaskTemplate) - TaskTemplateOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskTemplate.newBuilder() to construct. - private TaskTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskTemplate() { - type_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskTemplate( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - type_ = s; - break; - } - case 26: { - flyteidl.core.Tasks.TaskMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.core.Tasks.TaskMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; - if (interface_ != null) { - subBuilder = interface_.toBuilder(); - } - interface_ = input.readMessage(flyteidl.core.Interface.TypedInterface.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interface_); - interface_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (custom_ != null) { - subBuilder = custom_.toBuilder(); - } - custom_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(custom_); - custom_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - flyteidl.core.Tasks.Container.Builder subBuilder = null; - if (targetCase_ == 6) { - subBuilder = ((flyteidl.core.Tasks.Container) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Tasks.Container.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Tasks.Container) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 6; - break; - } - case 56: { - - taskTypeVersion_ = input.readInt32(); - break; - } - case 66: { - flyteidl.core.Security.SecurityContext.Builder subBuilder = null; - if (securityContext_ != null) { - subBuilder = securityContext_.toBuilder(); - } - securityContext_ = input.readMessage(flyteidl.core.Security.SecurityContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(securityContext_); - securityContext_ = subBuilder.buildPartial(); - } - - break; - } - case 74: { - flyteidl.core.Tasks.ExtendedResources.Builder subBuilder = null; - if (extendedResources_ != null) { - subBuilder = extendedResources_.toBuilder(); - } - extendedResources_ = input.readMessage(flyteidl.core.Tasks.ExtendedResources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(extendedResources_); - extendedResources_ = subBuilder.buildPartial(); - } - - break; - } - case 130: { - if (!((mutable_bitField0_ & 0x00000800) != 0)) { - config_ = com.google.protobuf.MapField.newMapField( - ConfigDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000800; - } - com.google.protobuf.MapEntry - config__ = input.readMessage( - ConfigDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - config_.getMutableMap().put( - config__.getKey(), config__.getValue()); - break; - } - case 138: { - flyteidl.core.Tasks.K8sPod.Builder subBuilder = null; - if (targetCase_ == 17) { - subBuilder = ((flyteidl.core.Tasks.K8sPod) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Tasks.K8sPod.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Tasks.K8sPod) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 17; - break; - } - case 146: { - flyteidl.core.Tasks.Sql.Builder subBuilder = null; - if (targetCase_ == 18) { - subBuilder = ((flyteidl.core.Tasks.Sql) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Tasks.Sql.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Tasks.Sql) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 18; - 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.Tasks.internal_static_flyteidl_core_TaskTemplate_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 16: - return internalGetConfig(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskTemplate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.TaskTemplate.class, flyteidl.core.Tasks.TaskTemplate.Builder.class); - } - - private int bitField0_; - private int targetCase_ = 0; - private java.lang.Object target_; - public enum TargetCase - implements com.google.protobuf.Internal.EnumLite { - CONTAINER(6), - K8S_POD(17), - SQL(18), - TARGET_NOT_SET(0); - private final int value; - private TargetCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TargetCase valueOf(int value) { - return forNumber(value); - } - - public static TargetCase forNumber(int value) { - switch (value) { - case 6: return CONTAINER; - case 17: return K8S_POD; - case 18: return SQL; - case 0: return TARGET_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int TYPE_FIELD_NUMBER = 2; - private volatile java.lang.Object type_; - /** - *
-     * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-     * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-     * implementation registered for the TaskCategory.
-     * 
- * - * string type = 2; - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - 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(); - type_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-     * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-     * implementation registered for the TaskCategory.
-     * 
- * - * string type = 2; - */ - public com.google.protobuf.ByteString - getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int METADATA_FIELD_NUMBER = 3; - private flyteidl.core.Tasks.TaskMetadata metadata_; - /** - *
-     * Extra metadata about the task.
-     * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Extra metadata about the task.
-     * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public flyteidl.core.Tasks.TaskMetadata getMetadata() { - return metadata_ == null ? flyteidl.core.Tasks.TaskMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Extra metadata about the task.
-     * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public flyteidl.core.Tasks.TaskMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int INTERFACE_FIELD_NUMBER = 4; - private flyteidl.core.Interface.TypedInterface interface_; - /** - *
-     * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-     * compile-time validation of the workflow to avoid costly runtime failures.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public boolean hasInterface() { - return interface_ != null; - } - /** - *
-     * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-     * compile-time validation of the workflow to avoid costly runtime failures.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public flyteidl.core.Interface.TypedInterface getInterface() { - return interface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : interface_; - } - /** - *
-     * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-     * compile-time validation of the workflow to avoid costly runtime failures.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder() { - return getInterface(); - } - - public static final int CUSTOM_FIELD_NUMBER = 5; - private com.google.protobuf.Struct custom_; - /** - *
-     * Custom data about the task. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom = 5; - */ - public boolean hasCustom() { - return custom_ != null; - } - /** - *
-     * Custom data about the task. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom = 5; - */ - public com.google.protobuf.Struct getCustom() { - return custom_ == null ? com.google.protobuf.Struct.getDefaultInstance() : custom_; - } - /** - *
-     * Custom data about the task. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom = 5; - */ - public com.google.protobuf.StructOrBuilder getCustomOrBuilder() { - return getCustom(); - } - - public static final int CONTAINER_FIELD_NUMBER = 6; - /** - * .flyteidl.core.Container container = 6; - */ - public boolean hasContainer() { - return targetCase_ == 6; - } - /** - * .flyteidl.core.Container container = 6; - */ - public flyteidl.core.Tasks.Container getContainer() { - if (targetCase_ == 6) { - return (flyteidl.core.Tasks.Container) target_; - } - return flyteidl.core.Tasks.Container.getDefaultInstance(); - } - /** - * .flyteidl.core.Container container = 6; - */ - public flyteidl.core.Tasks.ContainerOrBuilder getContainerOrBuilder() { - if (targetCase_ == 6) { - return (flyteidl.core.Tasks.Container) target_; - } - return flyteidl.core.Tasks.Container.getDefaultInstance(); - } - - public static final int K8S_POD_FIELD_NUMBER = 17; - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public boolean hasK8SPod() { - return targetCase_ == 17; - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public flyteidl.core.Tasks.K8sPod getK8SPod() { - if (targetCase_ == 17) { - return (flyteidl.core.Tasks.K8sPod) target_; - } - return flyteidl.core.Tasks.K8sPod.getDefaultInstance(); - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public flyteidl.core.Tasks.K8sPodOrBuilder getK8SPodOrBuilder() { - if (targetCase_ == 17) { - return (flyteidl.core.Tasks.K8sPod) target_; - } - return flyteidl.core.Tasks.K8sPod.getDefaultInstance(); - } - - public static final int SQL_FIELD_NUMBER = 18; - /** - * .flyteidl.core.Sql sql = 18; - */ - public boolean hasSql() { - return targetCase_ == 18; - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public flyteidl.core.Tasks.Sql getSql() { - if (targetCase_ == 18) { - return (flyteidl.core.Tasks.Sql) target_; - } - return flyteidl.core.Tasks.Sql.getDefaultInstance(); - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public flyteidl.core.Tasks.SqlOrBuilder getSqlOrBuilder() { - if (targetCase_ == 18) { - return (flyteidl.core.Tasks.Sql) target_; - } - return flyteidl.core.Tasks.Sql.getDefaultInstance(); - } - - public static final int TASK_TYPE_VERSION_FIELD_NUMBER = 7; - private int taskTypeVersion_; - /** - *
-     * This can be used to customize task handling at execution time for the same task type.
-     * 
- * - * int32 task_type_version = 7; - */ - public int getTaskTypeVersion() { - return taskTypeVersion_; - } - - public static final int SECURITY_CONTEXT_FIELD_NUMBER = 8; - private flyteidl.core.Security.SecurityContext securityContext_; - /** - *
-     * security_context encapsulates security attributes requested to run this task.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public boolean hasSecurityContext() { - return securityContext_ != null; - } - /** - *
-     * security_context encapsulates security attributes requested to run this task.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - /** - *
-     * security_context encapsulates security attributes requested to run this task.
-     * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - return getSecurityContext(); - } - - public static final int EXTENDED_RESOURCES_FIELD_NUMBER = 9; - private flyteidl.core.Tasks.ExtendedResources extendedResources_; - /** - *
-     * Encapsulates all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public boolean hasExtendedResources() { - return extendedResources_ != null; - } - /** - *
-     * Encapsulates all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public flyteidl.core.Tasks.ExtendedResources getExtendedResources() { - return extendedResources_ == null ? flyteidl.core.Tasks.ExtendedResources.getDefaultInstance() : extendedResources_; - } - /** - *
-     * Encapsulates all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public flyteidl.core.Tasks.ExtendedResourcesOrBuilder getExtendedResourcesOrBuilder() { - return getExtendedResources(); - } - - public static final int CONFIG_FIELD_NUMBER = 16; - private static final class ConfigDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Tasks.internal_static_flyteidl_core_TaskTemplate_ConfigEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> config_; - private com.google.protobuf.MapField - internalGetConfig() { - if (config_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ConfigDefaultEntryHolder.defaultEntry); - } - return config_; - } - - public int getConfigCount() { - return internalGetConfig().getMap().size(); - } - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - - public boolean containsConfig( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetConfig().getMap().containsKey(key); - } - /** - * Use {@link #getConfigMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getConfig() { - return getConfigMap(); - } - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - - public java.util.Map getConfigMap() { - return internalGetConfig().getMap(); - } - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - - public java.lang.String getConfigOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetConfig().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-     * to use as required.
-     * reserve the field numbers 1 through 15 for very frequently occurring message elements
-     * 
- * - * map<string, string> config = 16; - */ - - public java.lang.String getConfigOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetConfig().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); - } - if (metadata_ != null) { - output.writeMessage(3, getMetadata()); - } - if (interface_ != null) { - output.writeMessage(4, getInterface()); - } - if (custom_ != null) { - output.writeMessage(5, getCustom()); - } - if (targetCase_ == 6) { - output.writeMessage(6, (flyteidl.core.Tasks.Container) target_); - } - if (taskTypeVersion_ != 0) { - output.writeInt32(7, taskTypeVersion_); - } - if (securityContext_ != null) { - output.writeMessage(8, getSecurityContext()); - } - if (extendedResources_ != null) { - output.writeMessage(9, getExtendedResources()); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetConfig(), - ConfigDefaultEntryHolder.defaultEntry, - 16); - if (targetCase_ == 17) { - output.writeMessage(17, (flyteidl.core.Tasks.K8sPod) target_); - } - if (targetCase_ == 18) { - output.writeMessage(18, (flyteidl.core.Tasks.Sql) target_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMetadata()); - } - if (interface_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInterface()); - } - if (custom_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCustom()); - } - if (targetCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (flyteidl.core.Tasks.Container) target_); - } - if (taskTypeVersion_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, taskTypeVersion_); - } - if (securityContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getSecurityContext()); - } - if (extendedResources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getExtendedResources()); - } - for (java.util.Map.Entry entry - : internalGetConfig().getMap().entrySet()) { - com.google.protobuf.MapEntry - config__ = ConfigDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, config__); - } - if (targetCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, (flyteidl.core.Tasks.K8sPod) target_); - } - if (targetCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, (flyteidl.core.Tasks.Sql) target_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Tasks.TaskTemplate)) { - return super.equals(obj); - } - flyteidl.core.Tasks.TaskTemplate other = (flyteidl.core.Tasks.TaskTemplate) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getType() - .equals(other.getType())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (hasInterface() != other.hasInterface()) return false; - if (hasInterface()) { - if (!getInterface() - .equals(other.getInterface())) return false; - } - if (hasCustom() != other.hasCustom()) return false; - if (hasCustom()) { - if (!getCustom() - .equals(other.getCustom())) return false; - } - if (getTaskTypeVersion() - != other.getTaskTypeVersion()) return false; - if (hasSecurityContext() != other.hasSecurityContext()) return false; - if (hasSecurityContext()) { - if (!getSecurityContext() - .equals(other.getSecurityContext())) return false; - } - if (hasExtendedResources() != other.hasExtendedResources()) return false; - if (hasExtendedResources()) { - if (!getExtendedResources() - .equals(other.getExtendedResources())) return false; - } - if (!internalGetConfig().equals( - other.internalGetConfig())) return false; - if (!getTargetCase().equals(other.getTargetCase())) return false; - switch (targetCase_) { - case 6: - if (!getContainer() - .equals(other.getContainer())) return false; - break; - case 17: - if (!getK8SPod() - .equals(other.getK8SPod())) return false; - break; - case 18: - if (!getSql() - .equals(other.getSql())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (hasInterface()) { - hash = (37 * hash) + INTERFACE_FIELD_NUMBER; - hash = (53 * hash) + getInterface().hashCode(); - } - if (hasCustom()) { - hash = (37 * hash) + CUSTOM_FIELD_NUMBER; - hash = (53 * hash) + getCustom().hashCode(); - } - hash = (37 * hash) + TASK_TYPE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getTaskTypeVersion(); - if (hasSecurityContext()) { - hash = (37 * hash) + SECURITY_CONTEXT_FIELD_NUMBER; - hash = (53 * hash) + getSecurityContext().hashCode(); - } - if (hasExtendedResources()) { - hash = (37 * hash) + EXTENDED_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getExtendedResources().hashCode(); - } - if (!internalGetConfig().getMap().isEmpty()) { - hash = (37 * hash) + CONFIG_FIELD_NUMBER; - hash = (53 * hash) + internalGetConfig().hashCode(); - } - switch (targetCase_) { - case 6: - hash = (37 * hash) + CONTAINER_FIELD_NUMBER; - hash = (53 * hash) + getContainer().hashCode(); - break; - case 17: - hash = (37 * hash) + K8S_POD_FIELD_NUMBER; - hash = (53 * hash) + getK8SPod().hashCode(); - break; - case 18: - hash = (37 * hash) + SQL_FIELD_NUMBER; - hash = (53 * hash) + getSql().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.TaskTemplate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.TaskTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.TaskTemplate parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.TaskTemplate 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.Tasks.TaskTemplate parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.TaskTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.TaskTemplate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.TaskTemplate 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.Tasks.TaskTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.TaskTemplate 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.Tasks.TaskTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.TaskTemplate 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.Tasks.TaskTemplate 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 Task structure that uniquely identifies a task in the system
-     * Tasks are registered as a first step in the system.
-     * 
- * - * Protobuf type {@code flyteidl.core.TaskTemplate} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TaskTemplate) - flyteidl.core.Tasks.TaskTemplateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskTemplate_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 16: - return internalGetConfig(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 16: - return internalGetMutableConfig(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskTemplate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.TaskTemplate.class, flyteidl.core.Tasks.TaskTemplate.Builder.class); - } - - // Construct using flyteidl.core.Tasks.TaskTemplate.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - type_ = ""; - - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (interfaceBuilder_ == null) { - interface_ = null; - } else { - interface_ = null; - interfaceBuilder_ = null; - } - if (customBuilder_ == null) { - custom_ = null; - } else { - custom_ = null; - customBuilder_ = null; - } - taskTypeVersion_ = 0; - - if (securityContextBuilder_ == null) { - securityContext_ = null; - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - if (extendedResourcesBuilder_ == null) { - extendedResources_ = null; - } else { - extendedResources_ = null; - extendedResourcesBuilder_ = null; - } - internalGetMutableConfig().clear(); - targetCase_ = 0; - target_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_TaskTemplate_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.TaskTemplate getDefaultInstanceForType() { - return flyteidl.core.Tasks.TaskTemplate.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.TaskTemplate build() { - flyteidl.core.Tasks.TaskTemplate result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.TaskTemplate buildPartial() { - flyteidl.core.Tasks.TaskTemplate result = new flyteidl.core.Tasks.TaskTemplate(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.type_ = type_; - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (interfaceBuilder_ == null) { - result.interface_ = interface_; - } else { - result.interface_ = interfaceBuilder_.build(); - } - if (customBuilder_ == null) { - result.custom_ = custom_; - } else { - result.custom_ = customBuilder_.build(); - } - if (targetCase_ == 6) { - if (containerBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = containerBuilder_.build(); - } - } - if (targetCase_ == 17) { - if (k8SPodBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = k8SPodBuilder_.build(); - } - } - if (targetCase_ == 18) { - if (sqlBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = sqlBuilder_.build(); - } - } - result.taskTypeVersion_ = taskTypeVersion_; - if (securityContextBuilder_ == null) { - result.securityContext_ = securityContext_; - } else { - result.securityContext_ = securityContextBuilder_.build(); - } - if (extendedResourcesBuilder_ == null) { - result.extendedResources_ = extendedResources_; - } else { - result.extendedResources_ = extendedResourcesBuilder_.build(); - } - result.config_ = internalGetConfig(); - result.config_.makeImmutable(); - result.bitField0_ = to_bitField0_; - result.targetCase_ = targetCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Tasks.TaskTemplate) { - return mergeFrom((flyteidl.core.Tasks.TaskTemplate)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.TaskTemplate other) { - if (other == flyteidl.core.Tasks.TaskTemplate.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getType().isEmpty()) { - type_ = other.type_; - onChanged(); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.hasInterface()) { - mergeInterface(other.getInterface()); - } - if (other.hasCustom()) { - mergeCustom(other.getCustom()); - } - if (other.getTaskTypeVersion() != 0) { - setTaskTypeVersion(other.getTaskTypeVersion()); - } - if (other.hasSecurityContext()) { - mergeSecurityContext(other.getSecurityContext()); - } - if (other.hasExtendedResources()) { - mergeExtendedResources(other.getExtendedResources()); - } - internalGetMutableConfig().mergeFrom( - other.internalGetConfig()); - switch (other.getTargetCase()) { - case CONTAINER: { - mergeContainer(other.getContainer()); - break; - } - case K8S_POD: { - mergeK8SPod(other.getK8SPod()); - break; - } - case SQL: { - mergeSql(other.getSql()); - break; - } - case TARGET_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Tasks.TaskTemplate parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.TaskTemplate) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int targetCase_ = 0; - private java.lang.Object target_; - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); - } - - public Builder clearTarget() { - targetCase_ = 0; - target_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Auto generated taskId by the system. Task Id uniquely identifies this task globally.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object type_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-       * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-       * implementation registered for the TaskCategory.
-       * 
- * - * string type = 2; - */ - public java.lang.String getType() { - java.lang.Object ref = type_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - type_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-       * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-       * implementation registered for the TaskCategory.
-       * 
- * - * string type = 2; - */ - public com.google.protobuf.ByteString - getTypeBytes() { - java.lang.Object ref = type_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - type_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-       * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-       * implementation registered for the TaskCategory.
-       * 
- * - * string type = 2; - */ - public Builder setType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-       * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-       * implementation registered for the TaskCategory.
-       * 
- * - * string type = 2; - */ - public Builder clearType() { - - type_ = getDefaultInstance().getType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
-       * extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
-       * implementation registered for the TaskCategory.
-       * 
- * - * string type = 2; - */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - type_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.TaskMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskMetadata, flyteidl.core.Tasks.TaskMetadata.Builder, flyteidl.core.Tasks.TaskMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public flyteidl.core.Tasks.TaskMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.core.Tasks.TaskMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public Builder setMetadata(flyteidl.core.Tasks.TaskMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public Builder setMetadata( - flyteidl.core.Tasks.TaskMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public Builder mergeMetadata(flyteidl.core.Tasks.TaskMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.core.Tasks.TaskMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public flyteidl.core.Tasks.TaskMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - public flyteidl.core.Tasks.TaskMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.core.Tasks.TaskMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Extra metadata about the task.
-       * 
- * - * .flyteidl.core.TaskMetadata metadata = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskMetadata, flyteidl.core.Tasks.TaskMetadata.Builder, flyteidl.core.Tasks.TaskMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskMetadata, flyteidl.core.Tasks.TaskMetadata.Builder, flyteidl.core.Tasks.TaskMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private flyteidl.core.Interface.TypedInterface interface_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> interfaceBuilder_; - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public boolean hasInterface() { - return interfaceBuilder_ != null || interface_ != null; - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public flyteidl.core.Interface.TypedInterface getInterface() { - if (interfaceBuilder_ == null) { - return interface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : interface_; - } else { - return interfaceBuilder_.getMessage(); - } - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public Builder setInterface(flyteidl.core.Interface.TypedInterface value) { - if (interfaceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - interface_ = value; - onChanged(); - } else { - interfaceBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public Builder setInterface( - flyteidl.core.Interface.TypedInterface.Builder builderForValue) { - if (interfaceBuilder_ == null) { - interface_ = builderForValue.build(); - onChanged(); - } else { - interfaceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public Builder mergeInterface(flyteidl.core.Interface.TypedInterface value) { - if (interfaceBuilder_ == null) { - if (interface_ != null) { - interface_ = - flyteidl.core.Interface.TypedInterface.newBuilder(interface_).mergeFrom(value).buildPartial(); - } else { - interface_ = value; - } - onChanged(); - } else { - interfaceBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public Builder clearInterface() { - if (interfaceBuilder_ == null) { - interface_ = null; - onChanged(); - } else { - interface_ = null; - interfaceBuilder_ = null; - } - - return this; - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public flyteidl.core.Interface.TypedInterface.Builder getInterfaceBuilder() { - - onChanged(); - return getInterfaceFieldBuilder().getBuilder(); - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder() { - if (interfaceBuilder_ != null) { - return interfaceBuilder_.getMessageOrBuilder(); - } else { - return interface_ == null ? - flyteidl.core.Interface.TypedInterface.getDefaultInstance() : interface_; - } - } - /** - *
-       * A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
-       * compile-time validation of the workflow to avoid costly runtime failures.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> - getInterfaceFieldBuilder() { - if (interfaceBuilder_ == null) { - interfaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder>( - getInterface(), - getParentForChildren(), - isClean()); - interface_ = null; - } - return interfaceBuilder_; - } - - private com.google.protobuf.Struct custom_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> customBuilder_; - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public boolean hasCustom() { - return customBuilder_ != null || custom_ != null; - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public com.google.protobuf.Struct getCustom() { - if (customBuilder_ == null) { - return custom_ == null ? com.google.protobuf.Struct.getDefaultInstance() : custom_; - } else { - return customBuilder_.getMessage(); - } - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public Builder setCustom(com.google.protobuf.Struct value) { - if (customBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - custom_ = value; - onChanged(); - } else { - customBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public Builder setCustom( - com.google.protobuf.Struct.Builder builderForValue) { - if (customBuilder_ == null) { - custom_ = builderForValue.build(); - onChanged(); - } else { - customBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public Builder mergeCustom(com.google.protobuf.Struct value) { - if (customBuilder_ == null) { - if (custom_ != null) { - custom_ = - com.google.protobuf.Struct.newBuilder(custom_).mergeFrom(value).buildPartial(); - } else { - custom_ = value; - } - onChanged(); - } else { - customBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public Builder clearCustom() { - if (customBuilder_ == null) { - custom_ = null; - onChanged(); - } else { - custom_ = null; - customBuilder_ = null; - } - - return this; - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public com.google.protobuf.Struct.Builder getCustomBuilder() { - - onChanged(); - return getCustomFieldBuilder().getBuilder(); - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - public com.google.protobuf.StructOrBuilder getCustomOrBuilder() { - if (customBuilder_ != null) { - return customBuilder_.getMessageOrBuilder(); - } else { - return custom_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : custom_; - } - } - /** - *
-       * Custom data about the task. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getCustomFieldBuilder() { - if (customBuilder_ == null) { - customBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getCustom(), - getParentForChildren(), - isClean()); - custom_ = null; - } - return customBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Container, flyteidl.core.Tasks.Container.Builder, flyteidl.core.Tasks.ContainerOrBuilder> containerBuilder_; - /** - * .flyteidl.core.Container container = 6; - */ - public boolean hasContainer() { - return targetCase_ == 6; - } - /** - * .flyteidl.core.Container container = 6; - */ - public flyteidl.core.Tasks.Container getContainer() { - if (containerBuilder_ == null) { - if (targetCase_ == 6) { - return (flyteidl.core.Tasks.Container) target_; - } - return flyteidl.core.Tasks.Container.getDefaultInstance(); - } else { - if (targetCase_ == 6) { - return containerBuilder_.getMessage(); - } - return flyteidl.core.Tasks.Container.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Container container = 6; - */ - public Builder setContainer(flyteidl.core.Tasks.Container value) { - if (containerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - containerBuilder_.setMessage(value); - } - targetCase_ = 6; - return this; - } - /** - * .flyteidl.core.Container container = 6; - */ - public Builder setContainer( - flyteidl.core.Tasks.Container.Builder builderForValue) { - if (containerBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - containerBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 6; - return this; - } - /** - * .flyteidl.core.Container container = 6; - */ - public Builder mergeContainer(flyteidl.core.Tasks.Container value) { - if (containerBuilder_ == null) { - if (targetCase_ == 6 && - target_ != flyteidl.core.Tasks.Container.getDefaultInstance()) { - target_ = flyteidl.core.Tasks.Container.newBuilder((flyteidl.core.Tasks.Container) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 6) { - containerBuilder_.mergeFrom(value); - } - containerBuilder_.setMessage(value); - } - targetCase_ = 6; - return this; - } - /** - * .flyteidl.core.Container container = 6; - */ - public Builder clearContainer() { - if (containerBuilder_ == null) { - if (targetCase_ == 6) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 6) { - targetCase_ = 0; - target_ = null; - } - containerBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Container container = 6; - */ - public flyteidl.core.Tasks.Container.Builder getContainerBuilder() { - return getContainerFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Container container = 6; - */ - public flyteidl.core.Tasks.ContainerOrBuilder getContainerOrBuilder() { - if ((targetCase_ == 6) && (containerBuilder_ != null)) { - return containerBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 6) { - return (flyteidl.core.Tasks.Container) target_; - } - return flyteidl.core.Tasks.Container.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Container container = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Container, flyteidl.core.Tasks.Container.Builder, flyteidl.core.Tasks.ContainerOrBuilder> - getContainerFieldBuilder() { - if (containerBuilder_ == null) { - if (!(targetCase_ == 6)) { - target_ = flyteidl.core.Tasks.Container.getDefaultInstance(); - } - containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Container, flyteidl.core.Tasks.Container.Builder, flyteidl.core.Tasks.ContainerOrBuilder>( - (flyteidl.core.Tasks.Container) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 6; - onChanged();; - return containerBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.K8sPod, flyteidl.core.Tasks.K8sPod.Builder, flyteidl.core.Tasks.K8sPodOrBuilder> k8SPodBuilder_; - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public boolean hasK8SPod() { - return targetCase_ == 17; - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public flyteidl.core.Tasks.K8sPod getK8SPod() { - if (k8SPodBuilder_ == null) { - if (targetCase_ == 17) { - return (flyteidl.core.Tasks.K8sPod) target_; - } - return flyteidl.core.Tasks.K8sPod.getDefaultInstance(); - } else { - if (targetCase_ == 17) { - return k8SPodBuilder_.getMessage(); - } - return flyteidl.core.Tasks.K8sPod.getDefaultInstance(); - } - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public Builder setK8SPod(flyteidl.core.Tasks.K8sPod value) { - if (k8SPodBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - k8SPodBuilder_.setMessage(value); - } - targetCase_ = 17; - return this; - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public Builder setK8SPod( - flyteidl.core.Tasks.K8sPod.Builder builderForValue) { - if (k8SPodBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - k8SPodBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 17; - return this; - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public Builder mergeK8SPod(flyteidl.core.Tasks.K8sPod value) { - if (k8SPodBuilder_ == null) { - if (targetCase_ == 17 && - target_ != flyteidl.core.Tasks.K8sPod.getDefaultInstance()) { - target_ = flyteidl.core.Tasks.K8sPod.newBuilder((flyteidl.core.Tasks.K8sPod) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 17) { - k8SPodBuilder_.mergeFrom(value); - } - k8SPodBuilder_.setMessage(value); - } - targetCase_ = 17; - return this; - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public Builder clearK8SPod() { - if (k8SPodBuilder_ == null) { - if (targetCase_ == 17) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 17) { - targetCase_ = 0; - target_ = null; - } - k8SPodBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public flyteidl.core.Tasks.K8sPod.Builder getK8SPodBuilder() { - return getK8SPodFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - public flyteidl.core.Tasks.K8sPodOrBuilder getK8SPodOrBuilder() { - if ((targetCase_ == 17) && (k8SPodBuilder_ != null)) { - return k8SPodBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 17) { - return (flyteidl.core.Tasks.K8sPod) target_; - } - return flyteidl.core.Tasks.K8sPod.getDefaultInstance(); - } - } - /** - * .flyteidl.core.K8sPod k8s_pod = 17; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.K8sPod, flyteidl.core.Tasks.K8sPod.Builder, flyteidl.core.Tasks.K8sPodOrBuilder> - getK8SPodFieldBuilder() { - if (k8SPodBuilder_ == null) { - if (!(targetCase_ == 17)) { - target_ = flyteidl.core.Tasks.K8sPod.getDefaultInstance(); - } - k8SPodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.K8sPod, flyteidl.core.Tasks.K8sPod.Builder, flyteidl.core.Tasks.K8sPodOrBuilder>( - (flyteidl.core.Tasks.K8sPod) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 17; - onChanged();; - return k8SPodBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Sql, flyteidl.core.Tasks.Sql.Builder, flyteidl.core.Tasks.SqlOrBuilder> sqlBuilder_; - /** - * .flyteidl.core.Sql sql = 18; - */ - public boolean hasSql() { - return targetCase_ == 18; - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public flyteidl.core.Tasks.Sql getSql() { - if (sqlBuilder_ == null) { - if (targetCase_ == 18) { - return (flyteidl.core.Tasks.Sql) target_; - } - return flyteidl.core.Tasks.Sql.getDefaultInstance(); - } else { - if (targetCase_ == 18) { - return sqlBuilder_.getMessage(); - } - return flyteidl.core.Tasks.Sql.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public Builder setSql(flyteidl.core.Tasks.Sql value) { - if (sqlBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - sqlBuilder_.setMessage(value); - } - targetCase_ = 18; - return this; - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public Builder setSql( - flyteidl.core.Tasks.Sql.Builder builderForValue) { - if (sqlBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - sqlBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 18; - return this; - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public Builder mergeSql(flyteidl.core.Tasks.Sql value) { - if (sqlBuilder_ == null) { - if (targetCase_ == 18 && - target_ != flyteidl.core.Tasks.Sql.getDefaultInstance()) { - target_ = flyteidl.core.Tasks.Sql.newBuilder((flyteidl.core.Tasks.Sql) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 18) { - sqlBuilder_.mergeFrom(value); - } - sqlBuilder_.setMessage(value); - } - targetCase_ = 18; - return this; - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public Builder clearSql() { - if (sqlBuilder_ == null) { - if (targetCase_ == 18) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 18) { - targetCase_ = 0; - target_ = null; - } - sqlBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public flyteidl.core.Tasks.Sql.Builder getSqlBuilder() { - return getSqlFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Sql sql = 18; - */ - public flyteidl.core.Tasks.SqlOrBuilder getSqlOrBuilder() { - if ((targetCase_ == 18) && (sqlBuilder_ != null)) { - return sqlBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 18) { - return (flyteidl.core.Tasks.Sql) target_; - } - return flyteidl.core.Tasks.Sql.getDefaultInstance(); - } - } - /** - * .flyteidl.core.Sql sql = 18; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Sql, flyteidl.core.Tasks.Sql.Builder, flyteidl.core.Tasks.SqlOrBuilder> - getSqlFieldBuilder() { - if (sqlBuilder_ == null) { - if (!(targetCase_ == 18)) { - target_ = flyteidl.core.Tasks.Sql.getDefaultInstance(); - } - sqlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Sql, flyteidl.core.Tasks.Sql.Builder, flyteidl.core.Tasks.SqlOrBuilder>( - (flyteidl.core.Tasks.Sql) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 18; - onChanged();; - return sqlBuilder_; - } - - private int taskTypeVersion_ ; - /** - *
-       * This can be used to customize task handling at execution time for the same task type.
-       * 
- * - * int32 task_type_version = 7; - */ - public int getTaskTypeVersion() { - return taskTypeVersion_; - } - /** - *
-       * This can be used to customize task handling at execution time for the same task type.
-       * 
- * - * int32 task_type_version = 7; - */ - public Builder setTaskTypeVersion(int value) { - - taskTypeVersion_ = value; - onChanged(); - return this; - } - /** - *
-       * This can be used to customize task handling at execution time for the same task type.
-       * 
- * - * int32 task_type_version = 7; - */ - public Builder clearTaskTypeVersion() { - - taskTypeVersion_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Security.SecurityContext securityContext_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> securityContextBuilder_; - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public boolean hasSecurityContext() { - return securityContextBuilder_ != null || securityContext_ != null; - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public flyteidl.core.Security.SecurityContext getSecurityContext() { - if (securityContextBuilder_ == null) { - return securityContext_ == null ? flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } else { - return securityContextBuilder_.getMessage(); - } - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public Builder setSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - securityContext_ = value; - onChanged(); - } else { - securityContextBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public Builder setSecurityContext( - flyteidl.core.Security.SecurityContext.Builder builderForValue) { - if (securityContextBuilder_ == null) { - securityContext_ = builderForValue.build(); - onChanged(); - } else { - securityContextBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public Builder mergeSecurityContext(flyteidl.core.Security.SecurityContext value) { - if (securityContextBuilder_ == null) { - if (securityContext_ != null) { - securityContext_ = - flyteidl.core.Security.SecurityContext.newBuilder(securityContext_).mergeFrom(value).buildPartial(); - } else { - securityContext_ = value; - } - onChanged(); - } else { - securityContextBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public Builder clearSecurityContext() { - if (securityContextBuilder_ == null) { - securityContext_ = null; - onChanged(); - } else { - securityContext_ = null; - securityContextBuilder_ = null; - } - - return this; - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public flyteidl.core.Security.SecurityContext.Builder getSecurityContextBuilder() { - - onChanged(); - return getSecurityContextFieldBuilder().getBuilder(); - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - public flyteidl.core.Security.SecurityContextOrBuilder getSecurityContextOrBuilder() { - if (securityContextBuilder_ != null) { - return securityContextBuilder_.getMessageOrBuilder(); - } else { - return securityContext_ == null ? - flyteidl.core.Security.SecurityContext.getDefaultInstance() : securityContext_; - } - } - /** - *
-       * security_context encapsulates security attributes requested to run this task.
-       * 
- * - * .flyteidl.core.SecurityContext security_context = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder> - getSecurityContextFieldBuilder() { - if (securityContextBuilder_ == null) { - securityContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Security.SecurityContext, flyteidl.core.Security.SecurityContext.Builder, flyteidl.core.Security.SecurityContextOrBuilder>( - getSecurityContext(), - getParentForChildren(), - isClean()); - securityContext_ = null; - } - return securityContextBuilder_; - } - - private flyteidl.core.Tasks.ExtendedResources extendedResources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.ExtendedResources, flyteidl.core.Tasks.ExtendedResources.Builder, flyteidl.core.Tasks.ExtendedResourcesOrBuilder> extendedResourcesBuilder_; - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public boolean hasExtendedResources() { - return extendedResourcesBuilder_ != null || extendedResources_ != null; - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public flyteidl.core.Tasks.ExtendedResources getExtendedResources() { - if (extendedResourcesBuilder_ == null) { - return extendedResources_ == null ? flyteidl.core.Tasks.ExtendedResources.getDefaultInstance() : extendedResources_; - } else { - return extendedResourcesBuilder_.getMessage(); - } - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public Builder setExtendedResources(flyteidl.core.Tasks.ExtendedResources value) { - if (extendedResourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - extendedResources_ = value; - onChanged(); - } else { - extendedResourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public Builder setExtendedResources( - flyteidl.core.Tasks.ExtendedResources.Builder builderForValue) { - if (extendedResourcesBuilder_ == null) { - extendedResources_ = builderForValue.build(); - onChanged(); - } else { - extendedResourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public Builder mergeExtendedResources(flyteidl.core.Tasks.ExtendedResources value) { - if (extendedResourcesBuilder_ == null) { - if (extendedResources_ != null) { - extendedResources_ = - flyteidl.core.Tasks.ExtendedResources.newBuilder(extendedResources_).mergeFrom(value).buildPartial(); - } else { - extendedResources_ = value; - } - onChanged(); - } else { - extendedResourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public Builder clearExtendedResources() { - if (extendedResourcesBuilder_ == null) { - extendedResources_ = null; - onChanged(); - } else { - extendedResources_ = null; - extendedResourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public flyteidl.core.Tasks.ExtendedResources.Builder getExtendedResourcesBuilder() { - - onChanged(); - return getExtendedResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - public flyteidl.core.Tasks.ExtendedResourcesOrBuilder getExtendedResourcesOrBuilder() { - if (extendedResourcesBuilder_ != null) { - return extendedResourcesBuilder_.getMessageOrBuilder(); - } else { - return extendedResources_ == null ? - flyteidl.core.Tasks.ExtendedResources.getDefaultInstance() : extendedResources_; - } - } - /** - *
-       * Encapsulates all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.ExtendedResources, flyteidl.core.Tasks.ExtendedResources.Builder, flyteidl.core.Tasks.ExtendedResourcesOrBuilder> - getExtendedResourcesFieldBuilder() { - if (extendedResourcesBuilder_ == null) { - extendedResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.ExtendedResources, flyteidl.core.Tasks.ExtendedResources.Builder, flyteidl.core.Tasks.ExtendedResourcesOrBuilder>( - getExtendedResources(), - getParentForChildren(), - isClean()); - extendedResources_ = null; - } - return extendedResourcesBuilder_; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> config_; - private com.google.protobuf.MapField - internalGetConfig() { - if (config_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ConfigDefaultEntryHolder.defaultEntry); - } - return config_; - } - private com.google.protobuf.MapField - internalGetMutableConfig() { - onChanged();; - if (config_ == null) { - config_ = com.google.protobuf.MapField.newMapField( - ConfigDefaultEntryHolder.defaultEntry); - } - if (!config_.isMutable()) { - config_ = config_.copy(); - } - return config_; - } - - public int getConfigCount() { - return internalGetConfig().getMap().size(); - } - /** - *
-       * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-       * to use as required.
-       * reserve the field numbers 1 through 15 for very frequently occurring message elements
-       * 
- * - * map<string, string> config = 16; - */ - - public boolean containsConfig( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetConfig().getMap().containsKey(key); - } - /** - * Use {@link #getConfigMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getConfig() { - return getConfigMap(); - } - /** - *
-       * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-       * to use as required.
-       * reserve the field numbers 1 through 15 for very frequently occurring message elements
-       * 
- * - * map<string, string> config = 16; - */ - - public java.util.Map getConfigMap() { - return internalGetConfig().getMap(); - } - /** - *
-       * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-       * to use as required.
-       * reserve the field numbers 1 through 15 for very frequently occurring message elements
-       * 
- * - * map<string, string> config = 16; - */ - - public java.lang.String getConfigOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetConfig().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-       * to use as required.
-       * reserve the field numbers 1 through 15 for very frequently occurring message elements
-       * 
- * - * map<string, string> config = 16; - */ - - public java.lang.String getConfigOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetConfig().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearConfig() { - internalGetMutableConfig().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-       * to use as required.
-       * reserve the field numbers 1 through 15 for very frequently occurring message elements
-       * 
- * - * map<string, string> config = 16; - */ - - public Builder removeConfig( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableConfig().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableConfig() { - return internalGetMutableConfig().getMutableMap(); - } - /** - *
-       * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-       * to use as required.
-       * reserve the field numbers 1 through 15 for very frequently occurring message elements
-       * 
- * - * map<string, string> config = 16; - */ - public Builder putConfig( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableConfig().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
-       * to use as required.
-       * reserve the field numbers 1 through 15 for very frequently occurring message elements
-       * 
- * - * map<string, string> config = 16; - */ - - public Builder putAllConfig( - java.util.Map values) { - internalGetMutableConfig().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.TaskTemplate) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskTemplate) - private static final flyteidl.core.Tasks.TaskTemplate DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.TaskTemplate(); - } - - public static flyteidl.core.Tasks.TaskTemplate getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskTemplate(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.Tasks.TaskTemplate getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ContainerPortOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ContainerPort) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Number of port to expose on the pod's IP address.
-     * This must be a valid port number, 0 < x < 65536.
-     * 
- * - * uint32 container_port = 1; - */ - int getContainerPort(); - } - /** - *
-   * Defines port properties for a container.
-   * 
- * - * Protobuf type {@code flyteidl.core.ContainerPort} - */ - public static final class ContainerPort extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ContainerPort) - ContainerPortOrBuilder { - private static final long serialVersionUID = 0L; - // Use ContainerPort.newBuilder() to construct. - private ContainerPort(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ContainerPort() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ContainerPort( - 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: { - - containerPort_ = input.readUInt32(); - 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.Tasks.internal_static_flyteidl_core_ContainerPort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ContainerPort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.ContainerPort.class, flyteidl.core.Tasks.ContainerPort.Builder.class); - } - - public static final int CONTAINER_PORT_FIELD_NUMBER = 1; - private int containerPort_; - /** - *
-     * Number of port to expose on the pod's IP address.
-     * This must be a valid port number, 0 < x < 65536.
-     * 
- * - * uint32 container_port = 1; - */ - public int getContainerPort() { - return containerPort_; - } - - 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 (containerPort_ != 0) { - output.writeUInt32(1, containerPort_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (containerPort_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, containerPort_); - } - 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.Tasks.ContainerPort)) { - return super.equals(obj); - } - flyteidl.core.Tasks.ContainerPort other = (flyteidl.core.Tasks.ContainerPort) obj; - - if (getContainerPort() - != other.getContainerPort()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CONTAINER_PORT_FIELD_NUMBER; - hash = (53 * hash) + getContainerPort(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.ContainerPort parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.ContainerPort parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.ContainerPort parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.ContainerPort 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.Tasks.ContainerPort parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.ContainerPort parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.ContainerPort parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.ContainerPort 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.Tasks.ContainerPort parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.ContainerPort 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.Tasks.ContainerPort parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.ContainerPort 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.Tasks.ContainerPort prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines port properties for a container.
-     * 
- * - * Protobuf type {@code flyteidl.core.ContainerPort} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ContainerPort) - flyteidl.core.Tasks.ContainerPortOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ContainerPort_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ContainerPort_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.ContainerPort.class, flyteidl.core.Tasks.ContainerPort.Builder.class); - } - - // Construct using flyteidl.core.Tasks.ContainerPort.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(); - containerPort_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_ContainerPort_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.ContainerPort getDefaultInstanceForType() { - return flyteidl.core.Tasks.ContainerPort.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.ContainerPort build() { - flyteidl.core.Tasks.ContainerPort result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.ContainerPort buildPartial() { - flyteidl.core.Tasks.ContainerPort result = new flyteidl.core.Tasks.ContainerPort(this); - result.containerPort_ = containerPort_; - 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.Tasks.ContainerPort) { - return mergeFrom((flyteidl.core.Tasks.ContainerPort)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.ContainerPort other) { - if (other == flyteidl.core.Tasks.ContainerPort.getDefaultInstance()) return this; - if (other.getContainerPort() != 0) { - setContainerPort(other.getContainerPort()); - } - 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.Tasks.ContainerPort parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.ContainerPort) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int containerPort_ ; - /** - *
-       * Number of port to expose on the pod's IP address.
-       * This must be a valid port number, 0 < x < 65536.
-       * 
- * - * uint32 container_port = 1; - */ - public int getContainerPort() { - return containerPort_; - } - /** - *
-       * Number of port to expose on the pod's IP address.
-       * This must be a valid port number, 0 < x < 65536.
-       * 
- * - * uint32 container_port = 1; - */ - public Builder setContainerPort(int value) { - - containerPort_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of port to expose on the pod's IP address.
-       * This must be a valid port number, 0 < x < 65536.
-       * 
- * - * uint32 container_port = 1; - */ - public Builder clearContainerPort() { - - containerPort_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ContainerPort) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ContainerPort) - private static final flyteidl.core.Tasks.ContainerPort DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.ContainerPort(); - } - - public static flyteidl.core.Tasks.ContainerPort getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContainerPort parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContainerPort(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.Tasks.ContainerPort getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ContainerOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Container) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Container image url. Eg: docker/redis:latest
-     * 
- * - * string image = 1; - */ - java.lang.String getImage(); - /** - *
-     * Container image url. Eg: docker/redis:latest
-     * 
- * - * string image = 1; - */ - com.google.protobuf.ByteString - getImageBytes(); - - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - java.util.List - getCommandList(); - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - int getCommandCount(); - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - java.lang.String getCommand(int index); - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - com.google.protobuf.ByteString - getCommandBytes(int index); - - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - java.util.List - getArgsList(); - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - int getArgsCount(); - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - java.lang.String getArgs(int index); - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - com.google.protobuf.ByteString - getArgsBytes(int index); - - /** - *
-     * Container resources requirement as specified by the container engine.
-     * 
- * - * .flyteidl.core.Resources resources = 4; - */ - boolean hasResources(); - /** - *
-     * Container resources requirement as specified by the container engine.
-     * 
- * - * .flyteidl.core.Resources resources = 4; - */ - flyteidl.core.Tasks.Resources getResources(); - /** - *
-     * Container resources requirement as specified by the container engine.
-     * 
- * - * .flyteidl.core.Resources resources = 4; - */ - flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); - - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - java.util.List - getEnvList(); - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - flyteidl.core.Literals.KeyValuePair getEnv(int index); - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - int getEnvCount(); - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - java.util.List - getEnvOrBuilderList(); - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - flyteidl.core.Literals.KeyValuePairOrBuilder getEnvOrBuilder( - int index); - - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getConfigList(); - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.KeyValuePair getConfig(int index); - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated int getConfigCount(); - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getConfigOrBuilderList(); - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.core.Literals.KeyValuePairOrBuilder getConfigOrBuilder( - int index); - - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - java.util.List - getPortsList(); - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - flyteidl.core.Tasks.ContainerPort getPorts(int index); - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - int getPortsCount(); - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - java.util.List - getPortsOrBuilderList(); - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - flyteidl.core.Tasks.ContainerPortOrBuilder getPortsOrBuilder( - int index); - - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - boolean hasDataConfig(); - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - flyteidl.core.Tasks.DataLoadingConfig getDataConfig(); - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder(); - - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - int getArchitectureValue(); - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - flyteidl.core.Tasks.Container.Architecture getArchitecture(); - } - /** - * Protobuf type {@code flyteidl.core.Container} - */ - public static final class Container extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Container) - ContainerOrBuilder { - private static final long serialVersionUID = 0L; - // Use Container.newBuilder() to construct. - private Container(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Container() { - image_ = ""; - command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - env_ = java.util.Collections.emptyList(); - config_ = java.util.Collections.emptyList(); - ports_ = java.util.Collections.emptyList(); - architecture_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Container( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - image_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - command_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - command_.add(s); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - args_.add(s); - break; - } - case 34: { - flyteidl.core.Tasks.Resources.Builder subBuilder = null; - if (resources_ != null) { - subBuilder = resources_.toBuilder(); - } - resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resources_); - resources_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - env_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - env_.add( - input.readMessage(flyteidl.core.Literals.KeyValuePair.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - config_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - config_.add( - input.readMessage(flyteidl.core.Literals.KeyValuePair.parser(), extensionRegistry)); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - ports_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000040; - } - ports_.add( - input.readMessage(flyteidl.core.Tasks.ContainerPort.parser(), extensionRegistry)); - break; - } - case 74: { - flyteidl.core.Tasks.DataLoadingConfig.Builder subBuilder = null; - if (dataConfig_ != null) { - subBuilder = dataConfig_.toBuilder(); - } - dataConfig_ = input.readMessage(flyteidl.core.Tasks.DataLoadingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataConfig_); - dataConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 80: { - int rawValue = input.readEnum(); - - architecture_ = rawValue; - 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_ & 0x00000002) != 0)) { - command_ = command_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - args_ = args_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - env_ = java.util.Collections.unmodifiableList(env_); - } - if (((mutable_bitField0_ & 0x00000020) != 0)) { - config_ = java.util.Collections.unmodifiableList(config_); - } - if (((mutable_bitField0_ & 0x00000040) != 0)) { - ports_ = java.util.Collections.unmodifiableList(ports_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Container_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Container_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Container.class, flyteidl.core.Tasks.Container.Builder.class); - } - - /** - *
-     * Architecture-type the container image supports.
-     * 
- * - * Protobuf enum {@code flyteidl.core.Container.Architecture} - */ - public enum Architecture - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNKNOWN = 0; - */ - UNKNOWN(0), - /** - * AMD64 = 1; - */ - AMD64(1), - /** - * ARM64 = 2; - */ - ARM64(2), - /** - * ARM_V6 = 3; - */ - ARM_V6(3), - /** - * ARM_V7 = 4; - */ - ARM_V7(4), - UNRECOGNIZED(-1), - ; - - /** - * UNKNOWN = 0; - */ - public static final int UNKNOWN_VALUE = 0; - /** - * AMD64 = 1; - */ - public static final int AMD64_VALUE = 1; - /** - * ARM64 = 2; - */ - public static final int ARM64_VALUE = 2; - /** - * ARM_V6 = 3; - */ - public static final int ARM_V6_VALUE = 3; - /** - * ARM_V7 = 4; - */ - public static final int ARM_V7_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 Architecture valueOf(int value) { - return forNumber(value); - } - - public static Architecture forNumber(int value) { - switch (value) { - case 0: return UNKNOWN; - case 1: return AMD64; - case 2: return ARM64; - case 3: return ARM_V6; - case 4: return ARM_V7; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Architecture> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Architecture findValueByNumber(int number) { - return Architecture.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.Tasks.Container.getDescriptor().getEnumTypes().get(0); - } - - private static final Architecture[] VALUES = values(); - - public static Architecture 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 Architecture(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.Container.Architecture) - } - - private int bitField0_; - public static final int IMAGE_FIELD_NUMBER = 1; - private volatile java.lang.Object image_; - /** - *
-     * Container image url. Eg: docker/redis:latest
-     * 
- * - * string image = 1; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - 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(); - image_ = s; - return s; - } - } - /** - *
-     * Container image url. Eg: docker/redis:latest
-     * 
- * - * string image = 1; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int COMMAND_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList command_; - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - public com.google.protobuf.ProtocolStringList - getCommandList() { - return command_; - } - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - public int getCommandCount() { - return command_.size(); - } - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - public java.lang.String getCommand(int index) { - return command_.get(index); - } - /** - *
-     * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-     * 
- * - * repeated string command = 2; - */ - public com.google.protobuf.ByteString - getCommandBytes(int index) { - return command_.getByteString(index); - } - - public static final int ARGS_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList args_; - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - public com.google.protobuf.ProtocolStringList - getArgsList() { - return args_; - } - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - public int getArgsCount() { - return args_.size(); - } - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - public java.lang.String getArgs(int index) { - return args_.get(index); - } - /** - *
-     * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-     * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-     * system will populate these before executing the container.
-     * 
- * - * repeated string args = 3; - */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { - return args_.getByteString(index); - } - - public static final int RESOURCES_FIELD_NUMBER = 4; - private flyteidl.core.Tasks.Resources resources_; - /** - *
-     * Container resources requirement as specified by the container engine.
-     * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public boolean hasResources() { - return resources_ != null; - } - /** - *
-     * Container resources requirement as specified by the container engine.
-     * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public flyteidl.core.Tasks.Resources getResources() { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - /** - *
-     * Container resources requirement as specified by the container engine.
-     * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - return getResources(); - } - - public static final int ENV_FIELD_NUMBER = 5; - private java.util.List env_; - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public java.util.List getEnvList() { - return env_; - } - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public java.util.List - getEnvOrBuilderList() { - return env_; - } - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public int getEnvCount() { - return env_.size(); - } - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public flyteidl.core.Literals.KeyValuePair getEnv(int index) { - return env_.get(index); - } - /** - *
-     * Environment variables will be set as the container is starting up.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public flyteidl.core.Literals.KeyValuePairOrBuilder getEnvOrBuilder( - int index) { - return env_.get(index); - } - - public static final int CONFIG_FIELD_NUMBER = 6; - private java.util.List config_; - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getConfigList() { - return config_; - } - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getConfigOrBuilderList() { - return config_; - } - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public int getConfigCount() { - return config_.size(); - } - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.KeyValuePair getConfig(int index) { - return config_.get(index); - } - /** - *
-     * Allows extra configs to be available for the container.
-     * TODO: elaborate on how configs will become available.
-     * Deprecated, please use TaskTemplate.config instead.
-     * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.KeyValuePairOrBuilder getConfigOrBuilder( - int index) { - return config_.get(index); - } - - public static final int PORTS_FIELD_NUMBER = 7; - private java.util.List ports_; - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public java.util.List getPortsList() { - return ports_; - } - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public java.util.List - getPortsOrBuilderList() { - return ports_; - } - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public int getPortsCount() { - return ports_.size(); - } - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public flyteidl.core.Tasks.ContainerPort getPorts(int index) { - return ports_.get(index); - } - /** - *
-     * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-     * not supported on AWS Batch)
-     * Only K8s
-     * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public flyteidl.core.Tasks.ContainerPortOrBuilder getPortsOrBuilder( - int index) { - return ports_.get(index); - } - - public static final int DATA_CONFIG_FIELD_NUMBER = 9; - private flyteidl.core.Tasks.DataLoadingConfig dataConfig_; - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public boolean hasDataConfig() { - return dataConfig_ != null; - } - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public flyteidl.core.Tasks.DataLoadingConfig getDataConfig() { - return dataConfig_ == null ? flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; - } - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder() { - return getDataConfig(); - } - - public static final int ARCHITECTURE_FIELD_NUMBER = 10; - private int architecture_; - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - public int getArchitectureValue() { - return architecture_; - } - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - public flyteidl.core.Tasks.Container.Architecture getArchitecture() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.Container.Architecture result = flyteidl.core.Tasks.Container.Architecture.valueOf(architecture_); - return result == null ? flyteidl.core.Tasks.Container.Architecture.UNRECOGNIZED : result; - } - - 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 (!getImageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_); - } - for (int i = 0; i < command_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, command_.getRaw(i)); - } - for (int i = 0; i < args_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, args_.getRaw(i)); - } - if (resources_ != null) { - output.writeMessage(4, getResources()); - } - for (int i = 0; i < env_.size(); i++) { - output.writeMessage(5, env_.get(i)); - } - for (int i = 0; i < config_.size(); i++) { - output.writeMessage(6, config_.get(i)); - } - for (int i = 0; i < ports_.size(); i++) { - output.writeMessage(7, ports_.get(i)); - } - if (dataConfig_ != null) { - output.writeMessage(9, getDataConfig()); - } - if (architecture_ != flyteidl.core.Tasks.Container.Architecture.UNKNOWN.getNumber()) { - output.writeEnum(10, architecture_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getImageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, image_); - } - { - int dataSize = 0; - for (int i = 0; i < command_.size(); i++) { - dataSize += computeStringSizeNoTag(command_.getRaw(i)); - } - size += dataSize; - size += 1 * getCommandList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < args_.size(); i++) { - dataSize += computeStringSizeNoTag(args_.getRaw(i)); - } - size += dataSize; - size += 1 * getArgsList().size(); - } - if (resources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getResources()); - } - for (int i = 0; i < env_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, env_.get(i)); - } - for (int i = 0; i < config_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, config_.get(i)); - } - for (int i = 0; i < ports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, ports_.get(i)); - } - if (dataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getDataConfig()); - } - if (architecture_ != flyteidl.core.Tasks.Container.Architecture.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, architecture_); - } - 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.Tasks.Container)) { - return super.equals(obj); - } - flyteidl.core.Tasks.Container other = (flyteidl.core.Tasks.Container) obj; - - if (!getImage() - .equals(other.getImage())) return false; - if (!getCommandList() - .equals(other.getCommandList())) return false; - if (!getArgsList() - .equals(other.getArgsList())) return false; - if (hasResources() != other.hasResources()) return false; - if (hasResources()) { - if (!getResources() - .equals(other.getResources())) return false; - } - if (!getEnvList() - .equals(other.getEnvList())) return false; - if (!getConfigList() - .equals(other.getConfigList())) return false; - if (!getPortsList() - .equals(other.getPortsList())) return false; - if (hasDataConfig() != other.hasDataConfig()) return false; - if (hasDataConfig()) { - if (!getDataConfig() - .equals(other.getDataConfig())) return false; - } - if (architecture_ != other.architecture_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + IMAGE_FIELD_NUMBER; - hash = (53 * hash) + getImage().hashCode(); - if (getCommandCount() > 0) { - hash = (37 * hash) + COMMAND_FIELD_NUMBER; - hash = (53 * hash) + getCommandList().hashCode(); - } - if (getArgsCount() > 0) { - hash = (37 * hash) + ARGS_FIELD_NUMBER; - hash = (53 * hash) + getArgsList().hashCode(); - } - if (hasResources()) { - hash = (37 * hash) + RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getResources().hashCode(); - } - if (getEnvCount() > 0) { - hash = (37 * hash) + ENV_FIELD_NUMBER; - hash = (53 * hash) + getEnvList().hashCode(); - } - if (getConfigCount() > 0) { - hash = (37 * hash) + CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getConfigList().hashCode(); - } - if (getPortsCount() > 0) { - hash = (37 * hash) + PORTS_FIELD_NUMBER; - hash = (53 * hash) + getPortsList().hashCode(); - } - if (hasDataConfig()) { - hash = (37 * hash) + DATA_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getDataConfig().hashCode(); - } - hash = (37 * hash) + ARCHITECTURE_FIELD_NUMBER; - hash = (53 * hash) + architecture_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.Container parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Container parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Container parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Container 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.Tasks.Container parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Container parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Container parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Container 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.Tasks.Container parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Container 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.Tasks.Container parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Container 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.Tasks.Container 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.core.Container} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Container) - flyteidl.core.Tasks.ContainerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Container_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Container_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Container.class, flyteidl.core.Tasks.Container.Builder.class); - } - - // Construct using flyteidl.core.Tasks.Container.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getEnvFieldBuilder(); - getConfigFieldBuilder(); - getPortsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - image_ = ""; - - command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - if (resourcesBuilder_ == null) { - resources_ = null; - } else { - resources_ = null; - resourcesBuilder_ = null; - } - if (envBuilder_ == null) { - env_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - envBuilder_.clear(); - } - if (configBuilder_ == null) { - config_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - } else { - configBuilder_.clear(); - } - if (portsBuilder_ == null) { - ports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - } else { - portsBuilder_.clear(); - } - if (dataConfigBuilder_ == null) { - dataConfig_ = null; - } else { - dataConfig_ = null; - dataConfigBuilder_ = null; - } - architecture_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Container_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.Container getDefaultInstanceForType() { - return flyteidl.core.Tasks.Container.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.Container build() { - flyteidl.core.Tasks.Container result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.Container buildPartial() { - flyteidl.core.Tasks.Container result = new flyteidl.core.Tasks.Container(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.image_ = image_; - if (((bitField0_ & 0x00000002) != 0)) { - command_ = command_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.command_ = command_; - if (((bitField0_ & 0x00000004) != 0)) { - args_ = args_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.args_ = args_; - if (resourcesBuilder_ == null) { - result.resources_ = resources_; - } else { - result.resources_ = resourcesBuilder_.build(); - } - if (envBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - env_ = java.util.Collections.unmodifiableList(env_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.env_ = env_; - } else { - result.env_ = envBuilder_.build(); - } - if (configBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - config_ = java.util.Collections.unmodifiableList(config_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.config_ = config_; - } else { - result.config_ = configBuilder_.build(); - } - if (portsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { - ports_ = java.util.Collections.unmodifiableList(ports_); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.ports_ = ports_; - } else { - result.ports_ = portsBuilder_.build(); - } - if (dataConfigBuilder_ == null) { - result.dataConfig_ = dataConfig_; - } else { - result.dataConfig_ = dataConfigBuilder_.build(); - } - result.architecture_ = architecture_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Tasks.Container) { - return mergeFrom((flyteidl.core.Tasks.Container)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.Container other) { - if (other == flyteidl.core.Tasks.Container.getDefaultInstance()) return this; - if (!other.getImage().isEmpty()) { - image_ = other.image_; - onChanged(); - } - if (!other.command_.isEmpty()) { - if (command_.isEmpty()) { - command_ = other.command_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureCommandIsMutable(); - command_.addAll(other.command_); - } - onChanged(); - } - if (!other.args_.isEmpty()) { - if (args_.isEmpty()) { - args_ = other.args_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureArgsIsMutable(); - args_.addAll(other.args_); - } - onChanged(); - } - if (other.hasResources()) { - mergeResources(other.getResources()); - } - if (envBuilder_ == null) { - if (!other.env_.isEmpty()) { - if (env_.isEmpty()) { - env_ = other.env_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureEnvIsMutable(); - env_.addAll(other.env_); - } - onChanged(); - } - } else { - if (!other.env_.isEmpty()) { - if (envBuilder_.isEmpty()) { - envBuilder_.dispose(); - envBuilder_ = null; - env_ = other.env_; - bitField0_ = (bitField0_ & ~0x00000010); - envBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEnvFieldBuilder() : null; - } else { - envBuilder_.addAllMessages(other.env_); - } - } - } - if (configBuilder_ == null) { - if (!other.config_.isEmpty()) { - if (config_.isEmpty()) { - config_ = other.config_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureConfigIsMutable(); - config_.addAll(other.config_); - } - onChanged(); - } - } else { - if (!other.config_.isEmpty()) { - if (configBuilder_.isEmpty()) { - configBuilder_.dispose(); - configBuilder_ = null; - config_ = other.config_; - bitField0_ = (bitField0_ & ~0x00000020); - configBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConfigFieldBuilder() : null; - } else { - configBuilder_.addAllMessages(other.config_); - } - } - } - if (portsBuilder_ == null) { - if (!other.ports_.isEmpty()) { - if (ports_.isEmpty()) { - ports_ = other.ports_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensurePortsIsMutable(); - ports_.addAll(other.ports_); - } - onChanged(); - } - } else { - if (!other.ports_.isEmpty()) { - if (portsBuilder_.isEmpty()) { - portsBuilder_.dispose(); - portsBuilder_ = null; - ports_ = other.ports_; - bitField0_ = (bitField0_ & ~0x00000040); - portsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPortsFieldBuilder() : null; - } else { - portsBuilder_.addAllMessages(other.ports_); - } - } - } - if (other.hasDataConfig()) { - mergeDataConfig(other.getDataConfig()); - } - if (other.architecture_ != 0) { - setArchitectureValue(other.getArchitectureValue()); - } - 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.Tasks.Container parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.Container) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object image_ = ""; - /** - *
-       * Container image url. Eg: docker/redis:latest
-       * 
- * - * string image = 1; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - image_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Container image url. Eg: docker/redis:latest
-       * 
- * - * string image = 1; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Container image url. Eg: docker/redis:latest
-       * 
- * - * string image = 1; - */ - public Builder setImage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - image_ = value; - onChanged(); - return this; - } - /** - *
-       * Container image url. Eg: docker/redis:latest
-       * 
- * - * string image = 1; - */ - public Builder clearImage() { - - image_ = getDefaultInstance().getImage(); - onChanged(); - return this; - } - /** - *
-       * Container image url. Eg: docker/redis:latest
-       * 
- * - * string image = 1; - */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - image_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureCommandIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - command_ = new com.google.protobuf.LazyStringArrayList(command_); - bitField0_ |= 0x00000002; - } - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public com.google.protobuf.ProtocolStringList - getCommandList() { - return command_.getUnmodifiableView(); - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public int getCommandCount() { - return command_.size(); - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public java.lang.String getCommand(int index) { - return command_.get(index); - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public com.google.protobuf.ByteString - getCommandBytes(int index) { - return command_.getByteString(index); - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public Builder setCommand( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCommandIsMutable(); - command_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public Builder addCommand( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCommandIsMutable(); - command_.add(value); - onChanged(); - return this; - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public Builder addAllCommand( - java.lang.Iterable values) { - ensureCommandIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, command_); - onChanged(); - return this; - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public Builder clearCommand() { - command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - *
-       * Command to be executed, if not provided, the default entrypoint in the container image will be used.
-       * 
- * - * repeated string command = 2; - */ - public Builder addCommandBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureCommandIsMutable(); - command_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureArgsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - args_ = new com.google.protobuf.LazyStringArrayList(args_); - bitField0_ |= 0x00000004; - } - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public com.google.protobuf.ProtocolStringList - getArgsList() { - return args_.getUnmodifiableView(); - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public int getArgsCount() { - return args_.size(); - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public java.lang.String getArgs(int index) { - return args_.get(index); - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public com.google.protobuf.ByteString - getArgsBytes(int index) { - return args_.getByteString(index); - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public Builder setArgs( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public Builder addArgs( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); - args_.add(value); - onChanged(); - return this; - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public Builder addAllArgs( - java.lang.Iterable values) { - ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, args_); - onChanged(); - return this; - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public Builder clearArgs() { - args_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - *
-       * These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
-       * needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
-       * system will populate these before executing the container.
-       * 
- * - * repeated string args = 3; - */ - public Builder addArgsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureArgsIsMutable(); - args_.add(value); - onChanged(); - return this; - } - - private flyteidl.core.Tasks.Resources resources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public boolean hasResources() { - return resourcesBuilder_ != null || resources_ != null; - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public flyteidl.core.Tasks.Resources getResources() { - if (resourcesBuilder_ == null) { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } else { - return resourcesBuilder_.getMessage(); - } - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public Builder setResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resources_ = value; - onChanged(); - } else { - resourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public Builder setResources( - flyteidl.core.Tasks.Resources.Builder builderForValue) { - if (resourcesBuilder_ == null) { - resources_ = builderForValue.build(); - onChanged(); - } else { - resourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public Builder mergeResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (resources_ != null) { - resources_ = - flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); - } else { - resources_ = value; - } - onChanged(); - } else { - resourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public Builder clearResources() { - if (resourcesBuilder_ == null) { - resources_ = null; - onChanged(); - } else { - resources_ = null; - resourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { - - onChanged(); - return getResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - if (resourcesBuilder_ != null) { - return resourcesBuilder_.getMessageOrBuilder(); - } else { - return resources_ == null ? - flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - } - /** - *
-       * Container resources requirement as specified by the container engine.
-       * 
- * - * .flyteidl.core.Resources resources = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> - getResourcesFieldBuilder() { - if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( - getResources(), - getParentForChildren(), - isClean()); - resources_ = null; - } - return resourcesBuilder_; - } - - private java.util.List env_ = - java.util.Collections.emptyList(); - private void ensureEnvIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - env_ = new java.util.ArrayList(env_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> envBuilder_; - - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public java.util.List getEnvList() { - if (envBuilder_ == null) { - return java.util.Collections.unmodifiableList(env_); - } else { - return envBuilder_.getMessageList(); - } - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public int getEnvCount() { - if (envBuilder_ == null) { - return env_.size(); - } else { - return envBuilder_.getCount(); - } - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public flyteidl.core.Literals.KeyValuePair getEnv(int index) { - if (envBuilder_ == null) { - return env_.get(index); - } else { - return envBuilder_.getMessage(index); - } - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder setEnv( - int index, flyteidl.core.Literals.KeyValuePair value) { - if (envBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEnvIsMutable(); - env_.set(index, value); - onChanged(); - } else { - envBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder setEnv( - int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (envBuilder_ == null) { - ensureEnvIsMutable(); - env_.set(index, builderForValue.build()); - onChanged(); - } else { - envBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder addEnv(flyteidl.core.Literals.KeyValuePair value) { - if (envBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEnvIsMutable(); - env_.add(value); - onChanged(); - } else { - envBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder addEnv( - int index, flyteidl.core.Literals.KeyValuePair value) { - if (envBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureEnvIsMutable(); - env_.add(index, value); - onChanged(); - } else { - envBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder addEnv( - flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (envBuilder_ == null) { - ensureEnvIsMutable(); - env_.add(builderForValue.build()); - onChanged(); - } else { - envBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder addEnv( - int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (envBuilder_ == null) { - ensureEnvIsMutable(); - env_.add(index, builderForValue.build()); - onChanged(); - } else { - envBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder addAllEnv( - java.lang.Iterable values) { - if (envBuilder_ == null) { - ensureEnvIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, env_); - onChanged(); - } else { - envBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder clearEnv() { - if (envBuilder_ == null) { - env_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - envBuilder_.clear(); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public Builder removeEnv(int index) { - if (envBuilder_ == null) { - ensureEnvIsMutable(); - env_.remove(index); - onChanged(); - } else { - envBuilder_.remove(index); - } - return this; - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public flyteidl.core.Literals.KeyValuePair.Builder getEnvBuilder( - int index) { - return getEnvFieldBuilder().getBuilder(index); - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public flyteidl.core.Literals.KeyValuePairOrBuilder getEnvOrBuilder( - int index) { - if (envBuilder_ == null) { - return env_.get(index); } else { - return envBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public java.util.List - getEnvOrBuilderList() { - if (envBuilder_ != null) { - return envBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(env_); - } - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public flyteidl.core.Literals.KeyValuePair.Builder addEnvBuilder() { - return getEnvFieldBuilder().addBuilder( - flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public flyteidl.core.Literals.KeyValuePair.Builder addEnvBuilder( - int index) { - return getEnvFieldBuilder().addBuilder( - index, flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); - } - /** - *
-       * Environment variables will be set as the container is starting up.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair env = 5; - */ - public java.util.List - getEnvBuilderList() { - return getEnvFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> - getEnvFieldBuilder() { - if (envBuilder_ == null) { - envBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder>( - env_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - env_ = null; - } - return envBuilder_; - } - - private java.util.List config_ = - java.util.Collections.emptyList(); - private void ensureConfigIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - config_ = new java.util.ArrayList(config_); - bitField0_ |= 0x00000020; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> configBuilder_; - - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List getConfigList() { - if (configBuilder_ == null) { - return java.util.Collections.unmodifiableList(config_); - } else { - return configBuilder_.getMessageList(); - } - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public int getConfigCount() { - if (configBuilder_ == null) { - return config_.size(); - } else { - return configBuilder_.getCount(); - } - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.KeyValuePair getConfig(int index) { - if (configBuilder_ == null) { - return config_.get(index); - } else { - return configBuilder_.getMessage(index); - } - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setConfig( - int index, flyteidl.core.Literals.KeyValuePair value) { - if (configBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureConfigIsMutable(); - config_.set(index, value); - onChanged(); - } else { - configBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setConfig( - int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (configBuilder_ == null) { - ensureConfigIsMutable(); - config_.set(index, builderForValue.build()); - onChanged(); - } else { - configBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addConfig(flyteidl.core.Literals.KeyValuePair value) { - if (configBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureConfigIsMutable(); - config_.add(value); - onChanged(); - } else { - configBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addConfig( - int index, flyteidl.core.Literals.KeyValuePair value) { - if (configBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureConfigIsMutable(); - config_.add(index, value); - onChanged(); - } else { - configBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addConfig( - flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (configBuilder_ == null) { - ensureConfigIsMutable(); - config_.add(builderForValue.build()); - onChanged(); - } else { - configBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addConfig( - int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { - if (configBuilder_ == null) { - ensureConfigIsMutable(); - config_.add(index, builderForValue.build()); - onChanged(); - } else { - configBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllConfig( - java.lang.Iterable values) { - if (configBuilder_ == null) { - ensureConfigIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, config_); - onChanged(); - } else { - configBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearConfig() { - if (configBuilder_ == null) { - config_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - configBuilder_.clear(); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public Builder removeConfig(int index) { - if (configBuilder_ == null) { - ensureConfigIsMutable(); - config_.remove(index); - onChanged(); - } else { - configBuilder_.remove(index); - } - return this; - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.KeyValuePair.Builder getConfigBuilder( - int index) { - return getConfigFieldBuilder().getBuilder(index); - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.KeyValuePairOrBuilder getConfigOrBuilder( - int index) { - if (configBuilder_ == null) { - return config_.get(index); } else { - return configBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getConfigOrBuilderList() { - if (configBuilder_ != null) { - return configBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(config_); - } - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.KeyValuePair.Builder addConfigBuilder() { - return getConfigFieldBuilder().addBuilder( - flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.core.Literals.KeyValuePair.Builder addConfigBuilder( - int index) { - return getConfigFieldBuilder().addBuilder( - index, flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); - } - /** - *
-       * Allows extra configs to be available for the container.
-       * TODO: elaborate on how configs will become available.
-       * Deprecated, please use TaskTemplate.config instead.
-       * 
- * - * repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true]; - */ - @java.lang.Deprecated public java.util.List - getConfigBuilderList() { - return getConfigFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> - getConfigFieldBuilder() { - if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder>( - config_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); - config_ = null; - } - return configBuilder_; - } - - private java.util.List ports_ = - java.util.Collections.emptyList(); - private void ensurePortsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - ports_ = new java.util.ArrayList(ports_); - bitField0_ |= 0x00000040; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.ContainerPort, flyteidl.core.Tasks.ContainerPort.Builder, flyteidl.core.Tasks.ContainerPortOrBuilder> portsBuilder_; - - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public java.util.List getPortsList() { - if (portsBuilder_ == null) { - return java.util.Collections.unmodifiableList(ports_); - } else { - return portsBuilder_.getMessageList(); - } - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public int getPortsCount() { - if (portsBuilder_ == null) { - return ports_.size(); - } else { - return portsBuilder_.getCount(); - } - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public flyteidl.core.Tasks.ContainerPort getPorts(int index) { - if (portsBuilder_ == null) { - return ports_.get(index); - } else { - return portsBuilder_.getMessage(index); - } - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder setPorts( - int index, flyteidl.core.Tasks.ContainerPort value) { - if (portsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePortsIsMutable(); - ports_.set(index, value); - onChanged(); - } else { - portsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder setPorts( - int index, flyteidl.core.Tasks.ContainerPort.Builder builderForValue) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.set(index, builderForValue.build()); - onChanged(); - } else { - portsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder addPorts(flyteidl.core.Tasks.ContainerPort value) { - if (portsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePortsIsMutable(); - ports_.add(value); - onChanged(); - } else { - portsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder addPorts( - int index, flyteidl.core.Tasks.ContainerPort value) { - if (portsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePortsIsMutable(); - ports_.add(index, value); - onChanged(); - } else { - portsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder addPorts( - flyteidl.core.Tasks.ContainerPort.Builder builderForValue) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.add(builderForValue.build()); - onChanged(); - } else { - portsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder addPorts( - int index, flyteidl.core.Tasks.ContainerPort.Builder builderForValue) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.add(index, builderForValue.build()); - onChanged(); - } else { - portsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder addAllPorts( - java.lang.Iterable values) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ports_); - onChanged(); - } else { - portsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder clearPorts() { - if (portsBuilder_ == null) { - ports_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - } else { - portsBuilder_.clear(); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public Builder removePorts(int index) { - if (portsBuilder_ == null) { - ensurePortsIsMutable(); - ports_.remove(index); - onChanged(); - } else { - portsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public flyteidl.core.Tasks.ContainerPort.Builder getPortsBuilder( - int index) { - return getPortsFieldBuilder().getBuilder(index); - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public flyteidl.core.Tasks.ContainerPortOrBuilder getPortsOrBuilder( - int index) { - if (portsBuilder_ == null) { - return ports_.get(index); } else { - return portsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public java.util.List - getPortsOrBuilderList() { - if (portsBuilder_ != null) { - return portsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(ports_); - } - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public flyteidl.core.Tasks.ContainerPort.Builder addPortsBuilder() { - return getPortsFieldBuilder().addBuilder( - flyteidl.core.Tasks.ContainerPort.getDefaultInstance()); - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public flyteidl.core.Tasks.ContainerPort.Builder addPortsBuilder( - int index) { - return getPortsFieldBuilder().addBuilder( - index, flyteidl.core.Tasks.ContainerPort.getDefaultInstance()); - } - /** - *
-       * Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
-       * not supported on AWS Batch)
-       * Only K8s
-       * 
- * - * repeated .flyteidl.core.ContainerPort ports = 7; - */ - public java.util.List - getPortsBuilderList() { - return getPortsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.ContainerPort, flyteidl.core.Tasks.ContainerPort.Builder, flyteidl.core.Tasks.ContainerPortOrBuilder> - getPortsFieldBuilder() { - if (portsBuilder_ == null) { - portsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.ContainerPort, flyteidl.core.Tasks.ContainerPort.Builder, flyteidl.core.Tasks.ContainerPortOrBuilder>( - ports_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); - ports_ = null; - } - return portsBuilder_; - } - - private flyteidl.core.Tasks.DataLoadingConfig dataConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder> dataConfigBuilder_; - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public boolean hasDataConfig() { - return dataConfigBuilder_ != null || dataConfig_ != null; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public flyteidl.core.Tasks.DataLoadingConfig getDataConfig() { - if (dataConfigBuilder_ == null) { - return dataConfig_ == null ? flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; - } else { - return dataConfigBuilder_.getMessage(); - } - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public Builder setDataConfig(flyteidl.core.Tasks.DataLoadingConfig value) { - if (dataConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataConfig_ = value; - onChanged(); - } else { - dataConfigBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public Builder setDataConfig( - flyteidl.core.Tasks.DataLoadingConfig.Builder builderForValue) { - if (dataConfigBuilder_ == null) { - dataConfig_ = builderForValue.build(); - onChanged(); - } else { - dataConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public Builder mergeDataConfig(flyteidl.core.Tasks.DataLoadingConfig value) { - if (dataConfigBuilder_ == null) { - if (dataConfig_ != null) { - dataConfig_ = - flyteidl.core.Tasks.DataLoadingConfig.newBuilder(dataConfig_).mergeFrom(value).buildPartial(); - } else { - dataConfig_ = value; - } - onChanged(); - } else { - dataConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public Builder clearDataConfig() { - if (dataConfigBuilder_ == null) { - dataConfig_ = null; - onChanged(); - } else { - dataConfig_ = null; - dataConfigBuilder_ = null; - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public flyteidl.core.Tasks.DataLoadingConfig.Builder getDataConfigBuilder() { - - onChanged(); - return getDataConfigFieldBuilder().getBuilder(); - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - public flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder() { - if (dataConfigBuilder_ != null) { - return dataConfigBuilder_.getMessageOrBuilder(); - } else { - return dataConfig_ == null ? - flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; - } - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder> - getDataConfigFieldBuilder() { - if (dataConfigBuilder_ == null) { - dataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder>( - getDataConfig(), - getParentForChildren(), - isClean()); - dataConfig_ = null; - } - return dataConfigBuilder_; - } - - private int architecture_ = 0; - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - public int getArchitectureValue() { - return architecture_; - } - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - public Builder setArchitectureValue(int value) { - architecture_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - public flyteidl.core.Tasks.Container.Architecture getArchitecture() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.Container.Architecture result = flyteidl.core.Tasks.Container.Architecture.valueOf(architecture_); - return result == null ? flyteidl.core.Tasks.Container.Architecture.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - public Builder setArchitecture(flyteidl.core.Tasks.Container.Architecture value) { - if (value == null) { - throw new NullPointerException(); - } - - architecture_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.Container.Architecture architecture = 10; - */ - public Builder clearArchitecture() { - - architecture_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Container) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Container) - private static final flyteidl.core.Tasks.Container DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.Container(); - } - - public static flyteidl.core.Tasks.Container getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Container parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Container(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.Tasks.Container getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface IOStrategyOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.IOStrategy) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Mode to use to manage downloads
-     * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - int getDownloadModeValue(); - /** - *
-     * Mode to use to manage downloads
-     * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - flyteidl.core.Tasks.IOStrategy.DownloadMode getDownloadMode(); - - /** - *
-     * Mode to use to manage uploads
-     * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - int getUploadModeValue(); - /** - *
-     * Mode to use to manage uploads
-     * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - flyteidl.core.Tasks.IOStrategy.UploadMode getUploadMode(); - } - /** - *
-   * Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)
-   * 
- * - * Protobuf type {@code flyteidl.core.IOStrategy} - */ - public static final class IOStrategy extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.IOStrategy) - IOStrategyOrBuilder { - private static final long serialVersionUID = 0L; - // Use IOStrategy.newBuilder() to construct. - private IOStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private IOStrategy() { - downloadMode_ = 0; - uploadMode_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private IOStrategy( - 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(); - - downloadMode_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); - - uploadMode_ = rawValue; - 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.Tasks.internal_static_flyteidl_core_IOStrategy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_IOStrategy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.IOStrategy.class, flyteidl.core.Tasks.IOStrategy.Builder.class); - } - - /** - *
-     * Mode to use for downloading
-     * 
- * - * Protobuf enum {@code flyteidl.core.IOStrategy.DownloadMode} - */ - public enum DownloadMode - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * All data will be downloaded before the main container is executed
-       * 
- * - * DOWNLOAD_EAGER = 0; - */ - DOWNLOAD_EAGER(0), - /** - *
-       * Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details
-       * 
- * - * DOWNLOAD_STREAM = 1; - */ - DOWNLOAD_STREAM(1), - /** - *
-       * Large objects (offloaded) will not be downloaded
-       * 
- * - * DO_NOT_DOWNLOAD = 2; - */ - DO_NOT_DOWNLOAD(2), - UNRECOGNIZED(-1), - ; - - /** - *
-       * All data will be downloaded before the main container is executed
-       * 
- * - * DOWNLOAD_EAGER = 0; - */ - public static final int DOWNLOAD_EAGER_VALUE = 0; - /** - *
-       * Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details
-       * 
- * - * DOWNLOAD_STREAM = 1; - */ - public static final int DOWNLOAD_STREAM_VALUE = 1; - /** - *
-       * Large objects (offloaded) will not be downloaded
-       * 
- * - * DO_NOT_DOWNLOAD = 2; - */ - public static final int DO_NOT_DOWNLOAD_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static DownloadMode valueOf(int value) { - return forNumber(value); - } - - public static DownloadMode forNumber(int value) { - switch (value) { - case 0: return DOWNLOAD_EAGER; - case 1: return DOWNLOAD_STREAM; - case 2: return DO_NOT_DOWNLOAD; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - DownloadMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DownloadMode findValueByNumber(int number) { - return DownloadMode.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.Tasks.IOStrategy.getDescriptor().getEnumTypes().get(0); - } - - private static final DownloadMode[] VALUES = values(); - - public static DownloadMode 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 DownloadMode(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.IOStrategy.DownloadMode) - } - - /** - *
-     * Mode to use for uploading
-     * 
- * - * Protobuf enum {@code flyteidl.core.IOStrategy.UploadMode} - */ - public enum UploadMode - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * All data will be uploaded after the main container exits
-       * 
- * - * UPLOAD_ON_EXIT = 0; - */ - UPLOAD_ON_EXIT(0), - /** - *
-       * Data will be uploaded as it appears. Refer to protocol specification for details
-       * 
- * - * UPLOAD_EAGER = 1; - */ - UPLOAD_EAGER(1), - /** - *
-       * Data will not be uploaded, only references will be written
-       * 
- * - * DO_NOT_UPLOAD = 2; - */ - DO_NOT_UPLOAD(2), - UNRECOGNIZED(-1), - ; - - /** - *
-       * All data will be uploaded after the main container exits
-       * 
- * - * UPLOAD_ON_EXIT = 0; - */ - public static final int UPLOAD_ON_EXIT_VALUE = 0; - /** - *
-       * Data will be uploaded as it appears. Refer to protocol specification for details
-       * 
- * - * UPLOAD_EAGER = 1; - */ - public static final int UPLOAD_EAGER_VALUE = 1; - /** - *
-       * Data will not be uploaded, only references will be written
-       * 
- * - * DO_NOT_UPLOAD = 2; - */ - public static final int DO_NOT_UPLOAD_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static UploadMode valueOf(int value) { - return forNumber(value); - } - - public static UploadMode forNumber(int value) { - switch (value) { - case 0: return UPLOAD_ON_EXIT; - case 1: return UPLOAD_EAGER; - case 2: return DO_NOT_UPLOAD; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - UploadMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UploadMode findValueByNumber(int number) { - return UploadMode.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.Tasks.IOStrategy.getDescriptor().getEnumTypes().get(1); - } - - private static final UploadMode[] VALUES = values(); - - public static UploadMode 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 UploadMode(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.IOStrategy.UploadMode) - } - - public static final int DOWNLOAD_MODE_FIELD_NUMBER = 1; - private int downloadMode_; - /** - *
-     * Mode to use to manage downloads
-     * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - public int getDownloadModeValue() { - return downloadMode_; - } - /** - *
-     * Mode to use to manage downloads
-     * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - public flyteidl.core.Tasks.IOStrategy.DownloadMode getDownloadMode() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.IOStrategy.DownloadMode result = flyteidl.core.Tasks.IOStrategy.DownloadMode.valueOf(downloadMode_); - return result == null ? flyteidl.core.Tasks.IOStrategy.DownloadMode.UNRECOGNIZED : result; - } - - public static final int UPLOAD_MODE_FIELD_NUMBER = 2; - private int uploadMode_; - /** - *
-     * Mode to use to manage uploads
-     * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - public int getUploadModeValue() { - return uploadMode_; - } - /** - *
-     * Mode to use to manage uploads
-     * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - public flyteidl.core.Tasks.IOStrategy.UploadMode getUploadMode() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.IOStrategy.UploadMode result = flyteidl.core.Tasks.IOStrategy.UploadMode.valueOf(uploadMode_); - return result == null ? flyteidl.core.Tasks.IOStrategy.UploadMode.UNRECOGNIZED : result; - } - - 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 (downloadMode_ != flyteidl.core.Tasks.IOStrategy.DownloadMode.DOWNLOAD_EAGER.getNumber()) { - output.writeEnum(1, downloadMode_); - } - if (uploadMode_ != flyteidl.core.Tasks.IOStrategy.UploadMode.UPLOAD_ON_EXIT.getNumber()) { - output.writeEnum(2, uploadMode_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (downloadMode_ != flyteidl.core.Tasks.IOStrategy.DownloadMode.DOWNLOAD_EAGER.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, downloadMode_); - } - if (uploadMode_ != flyteidl.core.Tasks.IOStrategy.UploadMode.UPLOAD_ON_EXIT.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, uploadMode_); - } - 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.Tasks.IOStrategy)) { - return super.equals(obj); - } - flyteidl.core.Tasks.IOStrategy other = (flyteidl.core.Tasks.IOStrategy) obj; - - if (downloadMode_ != other.downloadMode_) return false; - if (uploadMode_ != other.uploadMode_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DOWNLOAD_MODE_FIELD_NUMBER; - hash = (53 * hash) + downloadMode_; - hash = (37 * hash) + UPLOAD_MODE_FIELD_NUMBER; - hash = (53 * hash) + uploadMode_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.IOStrategy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.IOStrategy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.IOStrategy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.IOStrategy 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.Tasks.IOStrategy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.IOStrategy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.IOStrategy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.IOStrategy 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.Tasks.IOStrategy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.IOStrategy 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.Tasks.IOStrategy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.IOStrategy 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.Tasks.IOStrategy 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; - } - /** - *
-     * Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)
-     * 
- * - * Protobuf type {@code flyteidl.core.IOStrategy} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.IOStrategy) - flyteidl.core.Tasks.IOStrategyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_IOStrategy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_IOStrategy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.IOStrategy.class, flyteidl.core.Tasks.IOStrategy.Builder.class); - } - - // Construct using flyteidl.core.Tasks.IOStrategy.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(); - downloadMode_ = 0; - - uploadMode_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_IOStrategy_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.IOStrategy getDefaultInstanceForType() { - return flyteidl.core.Tasks.IOStrategy.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.IOStrategy build() { - flyteidl.core.Tasks.IOStrategy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.IOStrategy buildPartial() { - flyteidl.core.Tasks.IOStrategy result = new flyteidl.core.Tasks.IOStrategy(this); - result.downloadMode_ = downloadMode_; - result.uploadMode_ = uploadMode_; - 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.Tasks.IOStrategy) { - return mergeFrom((flyteidl.core.Tasks.IOStrategy)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.IOStrategy other) { - if (other == flyteidl.core.Tasks.IOStrategy.getDefaultInstance()) return this; - if (other.downloadMode_ != 0) { - setDownloadModeValue(other.getDownloadModeValue()); - } - if (other.uploadMode_ != 0) { - setUploadModeValue(other.getUploadModeValue()); - } - 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.Tasks.IOStrategy parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.IOStrategy) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int downloadMode_ = 0; - /** - *
-       * Mode to use to manage downloads
-       * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - public int getDownloadModeValue() { - return downloadMode_; - } - /** - *
-       * Mode to use to manage downloads
-       * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - public Builder setDownloadModeValue(int value) { - downloadMode_ = value; - onChanged(); - return this; - } - /** - *
-       * Mode to use to manage downloads
-       * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - public flyteidl.core.Tasks.IOStrategy.DownloadMode getDownloadMode() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.IOStrategy.DownloadMode result = flyteidl.core.Tasks.IOStrategy.DownloadMode.valueOf(downloadMode_); - return result == null ? flyteidl.core.Tasks.IOStrategy.DownloadMode.UNRECOGNIZED : result; - } - /** - *
-       * Mode to use to manage downloads
-       * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - public Builder setDownloadMode(flyteidl.core.Tasks.IOStrategy.DownloadMode value) { - if (value == null) { - throw new NullPointerException(); - } - - downloadMode_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Mode to use to manage downloads
-       * 
- * - * .flyteidl.core.IOStrategy.DownloadMode download_mode = 1; - */ - public Builder clearDownloadMode() { - - downloadMode_ = 0; - onChanged(); - return this; - } - - private int uploadMode_ = 0; - /** - *
-       * Mode to use to manage uploads
-       * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - public int getUploadModeValue() { - return uploadMode_; - } - /** - *
-       * Mode to use to manage uploads
-       * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - public Builder setUploadModeValue(int value) { - uploadMode_ = value; - onChanged(); - return this; - } - /** - *
-       * Mode to use to manage uploads
-       * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - public flyteidl.core.Tasks.IOStrategy.UploadMode getUploadMode() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.IOStrategy.UploadMode result = flyteidl.core.Tasks.IOStrategy.UploadMode.valueOf(uploadMode_); - return result == null ? flyteidl.core.Tasks.IOStrategy.UploadMode.UNRECOGNIZED : result; - } - /** - *
-       * Mode to use to manage uploads
-       * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - public Builder setUploadMode(flyteidl.core.Tasks.IOStrategy.UploadMode value) { - if (value == null) { - throw new NullPointerException(); - } - - uploadMode_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Mode to use to manage uploads
-       * 
- * - * .flyteidl.core.IOStrategy.UploadMode upload_mode = 2; - */ - public Builder clearUploadMode() { - - uploadMode_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.IOStrategy) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.IOStrategy) - private static final flyteidl.core.Tasks.IOStrategy DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.IOStrategy(); - } - - public static flyteidl.core.Tasks.IOStrategy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IOStrategy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IOStrategy(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.Tasks.IOStrategy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DataLoadingConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.DataLoadingConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Flag enables DataLoading Config. If this is not set, data loading will not be used!
-     * 
- * - * bool enabled = 1; - */ - boolean getEnabled(); - - /** - *
-     * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-     * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-     * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-     * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-     * /var/flyte/inputs/y -> Y is a file in Binary format
-     * /var/flyte/inputs/z/... -> Note Z itself is a directory
-     * More information about the protocol - refer to docs #TODO reference docs here
-     * 
- * - * string input_path = 2; - */ - java.lang.String getInputPath(); - /** - *
-     * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-     * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-     * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-     * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-     * /var/flyte/inputs/y -> Y is a file in Binary format
-     * /var/flyte/inputs/z/... -> Note Z itself is a directory
-     * More information about the protocol - refer to docs #TODO reference docs here
-     * 
- * - * string input_path = 2; - */ - com.google.protobuf.ByteString - getInputPathBytes(); - - /** - *
-     * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-     * 
- * - * string output_path = 3; - */ - java.lang.String getOutputPath(); - /** - *
-     * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-     * 
- * - * string output_path = 3; - */ - com.google.protobuf.ByteString - getOutputPathBytes(); - - /** - *
-     * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-     * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-     * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - int getFormatValue(); - /** - *
-     * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-     * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-     * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat getFormat(); - - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - boolean hasIoStrategy(); - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - flyteidl.core.Tasks.IOStrategy getIoStrategy(); - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - flyteidl.core.Tasks.IOStrategyOrBuilder getIoStrategyOrBuilder(); - } - /** - *
-   * This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.
-   * Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path
-   * Any outputs generated by the user container - within output_path are automatically uploaded.
-   * 
- * - * Protobuf type {@code flyteidl.core.DataLoadingConfig} - */ - public static final class DataLoadingConfig extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.DataLoadingConfig) - DataLoadingConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use DataLoadingConfig.newBuilder() to construct. - private DataLoadingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DataLoadingConfig() { - inputPath_ = ""; - outputPath_ = ""; - format_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DataLoadingConfig( - 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: { - - enabled_ = input.readBool(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - inputPath_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - outputPath_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); - - format_ = rawValue; - break; - } - case 42: { - flyteidl.core.Tasks.IOStrategy.Builder subBuilder = null; - if (ioStrategy_ != null) { - subBuilder = ioStrategy_.toBuilder(); - } - ioStrategy_ = input.readMessage(flyteidl.core.Tasks.IOStrategy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(ioStrategy_); - ioStrategy_ = 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.core.Tasks.internal_static_flyteidl_core_DataLoadingConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_DataLoadingConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.DataLoadingConfig.class, flyteidl.core.Tasks.DataLoadingConfig.Builder.class); - } - - /** - *
-     * LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers.
-     * If the user has access to the protocol buffer definitions, it is recommended to use the PROTO format.
-     * JSON and YAML do not need any protobuf definitions to read it
-     * All remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)
-     * 
- * - * Protobuf enum {@code flyteidl.core.DataLoadingConfig.LiteralMapFormat} - */ - public enum LiteralMapFormat - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html
-       * 
- * - * JSON = 0; - */ - JSON(0), - /** - * YAML = 1; - */ - YAML(1), - /** - *
-       * Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core
-       * 
- * - * PROTO = 2; - */ - PROTO(2), - UNRECOGNIZED(-1), - ; - - /** - *
-       * JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html
-       * 
- * - * JSON = 0; - */ - public static final int JSON_VALUE = 0; - /** - * YAML = 1; - */ - public static final int YAML_VALUE = 1; - /** - *
-       * Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core
-       * 
- * - * PROTO = 2; - */ - public static final int PROTO_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static LiteralMapFormat valueOf(int value) { - return forNumber(value); - } - - public static LiteralMapFormat forNumber(int value) { - switch (value) { - case 0: return JSON; - case 1: return YAML; - case 2: return PROTO; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - LiteralMapFormat> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LiteralMapFormat findValueByNumber(int number) { - return LiteralMapFormat.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.Tasks.DataLoadingConfig.getDescriptor().getEnumTypes().get(0); - } - - private static final LiteralMapFormat[] VALUES = values(); - - public static LiteralMapFormat 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 LiteralMapFormat(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.DataLoadingConfig.LiteralMapFormat) - } - - public static final int ENABLED_FIELD_NUMBER = 1; - private boolean enabled_; - /** - *
-     * Flag enables DataLoading Config. If this is not set, data loading will not be used!
-     * 
- * - * bool enabled = 1; - */ - public boolean getEnabled() { - return enabled_; - } - - public static final int INPUT_PATH_FIELD_NUMBER = 2; - private volatile java.lang.Object inputPath_; - /** - *
-     * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-     * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-     * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-     * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-     * /var/flyte/inputs/y -> Y is a file in Binary format
-     * /var/flyte/inputs/z/... -> Note Z itself is a directory
-     * More information about the protocol - refer to docs #TODO reference docs here
-     * 
- * - * string input_path = 2; - */ - public java.lang.String getInputPath() { - java.lang.Object ref = inputPath_; - 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(); - inputPath_ = s; - return s; - } - } - /** - *
-     * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-     * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-     * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-     * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-     * /var/flyte/inputs/y -> Y is a file in Binary format
-     * /var/flyte/inputs/z/... -> Note Z itself is a directory
-     * More information about the protocol - refer to docs #TODO reference docs here
-     * 
- * - * string input_path = 2; - */ - public com.google.protobuf.ByteString - getInputPathBytes() { - java.lang.Object ref = inputPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OUTPUT_PATH_FIELD_NUMBER = 3; - private volatile java.lang.Object outputPath_; - /** - *
-     * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-     * 
- * - * string output_path = 3; - */ - public java.lang.String getOutputPath() { - java.lang.Object ref = outputPath_; - 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(); - outputPath_ = s; - return s; - } - } - /** - *
-     * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-     * 
- * - * string output_path = 3; - */ - public com.google.protobuf.ByteString - getOutputPathBytes() { - java.lang.Object ref = outputPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FORMAT_FIELD_NUMBER = 4; - private int format_; - /** - *
-     * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-     * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-     * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - public int getFormatValue() { - return format_; - } - /** - *
-     * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-     * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-     * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - public flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat getFormat() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat result = flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat.valueOf(format_); - return result == null ? flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat.UNRECOGNIZED : result; - } - - public static final int IO_STRATEGY_FIELD_NUMBER = 5; - private flyteidl.core.Tasks.IOStrategy ioStrategy_; - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public boolean hasIoStrategy() { - return ioStrategy_ != null; - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public flyteidl.core.Tasks.IOStrategy getIoStrategy() { - return ioStrategy_ == null ? flyteidl.core.Tasks.IOStrategy.getDefaultInstance() : ioStrategy_; - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public flyteidl.core.Tasks.IOStrategyOrBuilder getIoStrategyOrBuilder() { - return getIoStrategy(); - } - - 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 (enabled_ != false) { - output.writeBool(1, enabled_); - } - if (!getInputPathBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputPath_); - } - if (!getOutputPathBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputPath_); - } - if (format_ != flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat.JSON.getNumber()) { - output.writeEnum(4, format_); - } - if (ioStrategy_ != null) { - output.writeMessage(5, getIoStrategy()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); - } - if (!getInputPathBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputPath_); - } - if (!getOutputPathBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputPath_); - } - if (format_ != flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat.JSON.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, format_); - } - if (ioStrategy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getIoStrategy()); - } - 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.Tasks.DataLoadingConfig)) { - return super.equals(obj); - } - flyteidl.core.Tasks.DataLoadingConfig other = (flyteidl.core.Tasks.DataLoadingConfig) obj; - - if (getEnabled() - != other.getEnabled()) return false; - if (!getInputPath() - .equals(other.getInputPath())) return false; - if (!getOutputPath() - .equals(other.getOutputPath())) return false; - if (format_ != other.format_) return false; - if (hasIoStrategy() != other.hasIoStrategy()) return false; - if (hasIoStrategy()) { - if (!getIoStrategy() - .equals(other.getIoStrategy())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); - hash = (37 * hash) + INPUT_PATH_FIELD_NUMBER; - hash = (53 * hash) + getInputPath().hashCode(); - hash = (37 * hash) + OUTPUT_PATH_FIELD_NUMBER; - hash = (53 * hash) + getOutputPath().hashCode(); - hash = (37 * hash) + FORMAT_FIELD_NUMBER; - hash = (53 * hash) + format_; - if (hasIoStrategy()) { - hash = (37 * hash) + IO_STRATEGY_FIELD_NUMBER; - hash = (53 * hash) + getIoStrategy().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.DataLoadingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.DataLoadingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.DataLoadingConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.DataLoadingConfig 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.Tasks.DataLoadingConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.DataLoadingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.DataLoadingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.DataLoadingConfig 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.Tasks.DataLoadingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.DataLoadingConfig 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.Tasks.DataLoadingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.DataLoadingConfig 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.Tasks.DataLoadingConfig 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; - } - /** - *
-     * This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.
-     * Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path
-     * Any outputs generated by the user container - within output_path are automatically uploaded.
-     * 
- * - * Protobuf type {@code flyteidl.core.DataLoadingConfig} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.DataLoadingConfig) - flyteidl.core.Tasks.DataLoadingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_DataLoadingConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_DataLoadingConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.DataLoadingConfig.class, flyteidl.core.Tasks.DataLoadingConfig.Builder.class); - } - - // Construct using flyteidl.core.Tasks.DataLoadingConfig.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(); - enabled_ = false; - - inputPath_ = ""; - - outputPath_ = ""; - - format_ = 0; - - if (ioStrategyBuilder_ == null) { - ioStrategy_ = null; - } else { - ioStrategy_ = null; - ioStrategyBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_DataLoadingConfig_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.DataLoadingConfig getDefaultInstanceForType() { - return flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.DataLoadingConfig build() { - flyteidl.core.Tasks.DataLoadingConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.DataLoadingConfig buildPartial() { - flyteidl.core.Tasks.DataLoadingConfig result = new flyteidl.core.Tasks.DataLoadingConfig(this); - result.enabled_ = enabled_; - result.inputPath_ = inputPath_; - result.outputPath_ = outputPath_; - result.format_ = format_; - if (ioStrategyBuilder_ == null) { - result.ioStrategy_ = ioStrategy_; - } else { - result.ioStrategy_ = ioStrategyBuilder_.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.Tasks.DataLoadingConfig) { - return mergeFrom((flyteidl.core.Tasks.DataLoadingConfig)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.DataLoadingConfig other) { - if (other == flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance()) return this; - if (other.getEnabled() != false) { - setEnabled(other.getEnabled()); - } - if (!other.getInputPath().isEmpty()) { - inputPath_ = other.inputPath_; - onChanged(); - } - if (!other.getOutputPath().isEmpty()) { - outputPath_ = other.outputPath_; - onChanged(); - } - if (other.format_ != 0) { - setFormatValue(other.getFormatValue()); - } - if (other.hasIoStrategy()) { - mergeIoStrategy(other.getIoStrategy()); - } - 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.Tasks.DataLoadingConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.DataLoadingConfig) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private boolean enabled_ ; - /** - *
-       * Flag enables DataLoading Config. If this is not set, data loading will not be used!
-       * 
- * - * bool enabled = 1; - */ - public boolean getEnabled() { - return enabled_; - } - /** - *
-       * Flag enables DataLoading Config. If this is not set, data loading will not be used!
-       * 
- * - * bool enabled = 1; - */ - public Builder setEnabled(boolean value) { - - enabled_ = value; - onChanged(); - return this; - } - /** - *
-       * Flag enables DataLoading Config. If this is not set, data loading will not be used!
-       * 
- * - * bool enabled = 1; - */ - public Builder clearEnabled() { - - enabled_ = false; - onChanged(); - return this; - } - - private java.lang.Object inputPath_ = ""; - /** - *
-       * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-       * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-       * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-       * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-       * /var/flyte/inputs/y -> Y is a file in Binary format
-       * /var/flyte/inputs/z/... -> Note Z itself is a directory
-       * More information about the protocol - refer to docs #TODO reference docs here
-       * 
- * - * string input_path = 2; - */ - public java.lang.String getInputPath() { - java.lang.Object ref = inputPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - inputPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-       * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-       * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-       * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-       * /var/flyte/inputs/y -> Y is a file in Binary format
-       * /var/flyte/inputs/z/... -> Note Z itself is a directory
-       * More information about the protocol - refer to docs #TODO reference docs here
-       * 
- * - * string input_path = 2; - */ - public com.google.protobuf.ByteString - getInputPathBytes() { - java.lang.Object ref = inputPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - inputPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-       * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-       * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-       * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-       * /var/flyte/inputs/y -> Y is a file in Binary format
-       * /var/flyte/inputs/z/... -> Note Z itself is a directory
-       * More information about the protocol - refer to docs #TODO reference docs here
-       * 
- * - * string input_path = 2; - */ - public Builder setInputPath( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - inputPath_ = value; - onChanged(); - return this; - } - /** - *
-       * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-       * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-       * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-       * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-       * /var/flyte/inputs/y -> Y is a file in Binary format
-       * /var/flyte/inputs/z/... -> Note Z itself is a directory
-       * More information about the protocol - refer to docs #TODO reference docs here
-       * 
- * - * string input_path = 2; - */ - public Builder clearInputPath() { - - inputPath_ = getDefaultInstance().getInputPath(); - onChanged(); - return this; - } - /** - *
-       * File system path (start at root). This folder will contain all the inputs exploded to a separate file.
-       * Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
-       * /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
-       * /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
-       * /var/flyte/inputs/y -> Y is a file in Binary format
-       * /var/flyte/inputs/z/... -> Note Z itself is a directory
-       * More information about the protocol - refer to docs #TODO reference docs here
-       * 
- * - * string input_path = 2; - */ - public Builder setInputPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - inputPath_ = value; - onChanged(); - return this; - } - - private java.lang.Object outputPath_ = ""; - /** - *
-       * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-       * 
- * - * string output_path = 3; - */ - public java.lang.String getOutputPath() { - java.lang.Object ref = outputPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - outputPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-       * 
- * - * string output_path = 3; - */ - public com.google.protobuf.ByteString - getOutputPathBytes() { - java.lang.Object ref = outputPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-       * 
- * - * string output_path = 3; - */ - public Builder setOutputPath( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - outputPath_ = value; - onChanged(); - return this; - } - /** - *
-       * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-       * 
- * - * string output_path = 3; - */ - public Builder clearOutputPath() { - - outputPath_ = getDefaultInstance().getOutputPath(); - onChanged(); - return this; - } - /** - *
-       * File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
-       * 
- * - * string output_path = 3; - */ - public Builder setOutputPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - outputPath_ = value; - onChanged(); - return this; - } - - private int format_ = 0; - /** - *
-       * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-       * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-       * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - public int getFormatValue() { - return format_; - } - /** - *
-       * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-       * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-       * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - public Builder setFormatValue(int value) { - format_ = value; - onChanged(); - return this; - } - /** - *
-       * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-       * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-       * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - public flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat getFormat() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat result = flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat.valueOf(format_); - return result == null ? flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat.UNRECOGNIZED : result; - } - /** - *
-       * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-       * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-       * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - public Builder setFormat(flyteidl.core.Tasks.DataLoadingConfig.LiteralMapFormat value) { - if (value == null) { - throw new NullPointerException(); - } - - format_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
-       * This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
-       * 
- * - * .flyteidl.core.DataLoadingConfig.LiteralMapFormat format = 4; - */ - public Builder clearFormat() { - - format_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.IOStrategy ioStrategy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.IOStrategy, flyteidl.core.Tasks.IOStrategy.Builder, flyteidl.core.Tasks.IOStrategyOrBuilder> ioStrategyBuilder_; - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public boolean hasIoStrategy() { - return ioStrategyBuilder_ != null || ioStrategy_ != null; - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public flyteidl.core.Tasks.IOStrategy getIoStrategy() { - if (ioStrategyBuilder_ == null) { - return ioStrategy_ == null ? flyteidl.core.Tasks.IOStrategy.getDefaultInstance() : ioStrategy_; - } else { - return ioStrategyBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public Builder setIoStrategy(flyteidl.core.Tasks.IOStrategy value) { - if (ioStrategyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ioStrategy_ = value; - onChanged(); - } else { - ioStrategyBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public Builder setIoStrategy( - flyteidl.core.Tasks.IOStrategy.Builder builderForValue) { - if (ioStrategyBuilder_ == null) { - ioStrategy_ = builderForValue.build(); - onChanged(); - } else { - ioStrategyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public Builder mergeIoStrategy(flyteidl.core.Tasks.IOStrategy value) { - if (ioStrategyBuilder_ == null) { - if (ioStrategy_ != null) { - ioStrategy_ = - flyteidl.core.Tasks.IOStrategy.newBuilder(ioStrategy_).mergeFrom(value).buildPartial(); - } else { - ioStrategy_ = value; - } - onChanged(); - } else { - ioStrategyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public Builder clearIoStrategy() { - if (ioStrategyBuilder_ == null) { - ioStrategy_ = null; - onChanged(); - } else { - ioStrategy_ = null; - ioStrategyBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public flyteidl.core.Tasks.IOStrategy.Builder getIoStrategyBuilder() { - - onChanged(); - return getIoStrategyFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - public flyteidl.core.Tasks.IOStrategyOrBuilder getIoStrategyOrBuilder() { - if (ioStrategyBuilder_ != null) { - return ioStrategyBuilder_.getMessageOrBuilder(); - } else { - return ioStrategy_ == null ? - flyteidl.core.Tasks.IOStrategy.getDefaultInstance() : ioStrategy_; - } - } - /** - * .flyteidl.core.IOStrategy io_strategy = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.IOStrategy, flyteidl.core.Tasks.IOStrategy.Builder, flyteidl.core.Tasks.IOStrategyOrBuilder> - getIoStrategyFieldBuilder() { - if (ioStrategyBuilder_ == null) { - ioStrategyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.IOStrategy, flyteidl.core.Tasks.IOStrategy.Builder, flyteidl.core.Tasks.IOStrategyOrBuilder>( - getIoStrategy(), - getParentForChildren(), - isClean()); - ioStrategy_ = null; - } - return ioStrategyBuilder_; - } - @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.DataLoadingConfig) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.DataLoadingConfig) - private static final flyteidl.core.Tasks.DataLoadingConfig DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.DataLoadingConfig(); - } - - public static flyteidl.core.Tasks.DataLoadingConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataLoadingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataLoadingConfig(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.Tasks.DataLoadingConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface K8sPodOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.K8sPod) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Contains additional metadata for building a kubernetes pod.
-     * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - boolean hasMetadata(); - /** - *
-     * Contains additional metadata for building a kubernetes pod.
-     * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - flyteidl.core.Tasks.K8sObjectMetadata getMetadata(); - /** - *
-     * Contains additional metadata for building a kubernetes pod.
-     * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - flyteidl.core.Tasks.K8sObjectMetadataOrBuilder getMetadataOrBuilder(); - - /** - *
-     * Defines the primary pod spec created when a task is executed.
-     * This should be a JSON-marshalled pod spec, which can be defined in
-     * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-     * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-     * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - boolean hasPodSpec(); - /** - *
-     * Defines the primary pod spec created when a task is executed.
-     * This should be a JSON-marshalled pod spec, which can be defined in
-     * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-     * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-     * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - com.google.protobuf.Struct getPodSpec(); - /** - *
-     * Defines the primary pod spec created when a task is executed.
-     * This should be a JSON-marshalled pod spec, which can be defined in
-     * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-     * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-     * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - com.google.protobuf.StructOrBuilder getPodSpecOrBuilder(); - - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - boolean hasDataConfig(); - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - flyteidl.core.Tasks.DataLoadingConfig getDataConfig(); - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder(); - } - /** - *
-   * Defines a pod spec and additional pod metadata that is created when a task is executed.
-   * 
- * - * Protobuf type {@code flyteidl.core.K8sPod} - */ - public static final class K8sPod extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.K8sPod) - K8sPodOrBuilder { - private static final long serialVersionUID = 0L; - // Use K8sPod.newBuilder() to construct. - private K8sPod(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private K8sPod() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private K8sPod( - 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.Tasks.K8sObjectMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.core.Tasks.K8sObjectMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (podSpec_ != null) { - subBuilder = podSpec_.toBuilder(); - } - podSpec_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(podSpec_); - podSpec_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Tasks.DataLoadingConfig.Builder subBuilder = null; - if (dataConfig_ != null) { - subBuilder = dataConfig_.toBuilder(); - } - dataConfig_ = input.readMessage(flyteidl.core.Tasks.DataLoadingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataConfig_); - dataConfig_ = 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.core.Tasks.internal_static_flyteidl_core_K8sPod_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sPod_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.K8sPod.class, flyteidl.core.Tasks.K8sPod.Builder.class); - } - - public static final int METADATA_FIELD_NUMBER = 1; - private flyteidl.core.Tasks.K8sObjectMetadata metadata_; - /** - *
-     * Contains additional metadata for building a kubernetes pod.
-     * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Contains additional metadata for building a kubernetes pod.
-     * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public flyteidl.core.Tasks.K8sObjectMetadata getMetadata() { - return metadata_ == null ? flyteidl.core.Tasks.K8sObjectMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Contains additional metadata for building a kubernetes pod.
-     * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public flyteidl.core.Tasks.K8sObjectMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int POD_SPEC_FIELD_NUMBER = 2; - private com.google.protobuf.Struct podSpec_; - /** - *
-     * Defines the primary pod spec created when a task is executed.
-     * This should be a JSON-marshalled pod spec, which can be defined in
-     * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-     * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-     * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public boolean hasPodSpec() { - return podSpec_ != null; - } - /** - *
-     * Defines the primary pod spec created when a task is executed.
-     * This should be a JSON-marshalled pod spec, which can be defined in
-     * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-     * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-     * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public com.google.protobuf.Struct getPodSpec() { - return podSpec_ == null ? com.google.protobuf.Struct.getDefaultInstance() : podSpec_; - } - /** - *
-     * Defines the primary pod spec created when a task is executed.
-     * This should be a JSON-marshalled pod spec, which can be defined in
-     * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-     * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-     * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public com.google.protobuf.StructOrBuilder getPodSpecOrBuilder() { - return getPodSpec(); - } - - public static final int DATA_CONFIG_FIELD_NUMBER = 3; - private flyteidl.core.Tasks.DataLoadingConfig dataConfig_; - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public boolean hasDataConfig() { - return dataConfig_ != null; - } - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public flyteidl.core.Tasks.DataLoadingConfig getDataConfig() { - return dataConfig_ == null ? flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; - } - /** - *
-     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-     * This makes it possible to to run a completely portable container, that uses inputs and outputs
-     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-     * to understand the default paths.
-     * Only K8s
-     * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder() { - return getDataConfig(); - } - - 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 (metadata_ != null) { - output.writeMessage(1, getMetadata()); - } - if (podSpec_ != null) { - output.writeMessage(2, getPodSpec()); - } - if (dataConfig_ != null) { - output.writeMessage(3, getDataConfig()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMetadata()); - } - if (podSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPodSpec()); - } - if (dataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDataConfig()); - } - 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.Tasks.K8sPod)) { - return super.equals(obj); - } - flyteidl.core.Tasks.K8sPod other = (flyteidl.core.Tasks.K8sPod) obj; - - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (hasPodSpec() != other.hasPodSpec()) return false; - if (hasPodSpec()) { - if (!getPodSpec() - .equals(other.getPodSpec())) return false; - } - if (hasDataConfig() != other.hasDataConfig()) return false; - if (hasDataConfig()) { - if (!getDataConfig() - .equals(other.getDataConfig())) 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 (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (hasPodSpec()) { - hash = (37 * hash) + POD_SPEC_FIELD_NUMBER; - hash = (53 * hash) + getPodSpec().hashCode(); - } - if (hasDataConfig()) { - hash = (37 * hash) + DATA_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getDataConfig().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.K8sPod parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.K8sPod parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.K8sPod parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.K8sPod 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.Tasks.K8sPod parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.K8sPod parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.K8sPod parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.K8sPod 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.Tasks.K8sPod parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.K8sPod 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.Tasks.K8sPod parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.K8sPod 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.Tasks.K8sPod prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a pod spec and additional pod metadata that is created when a task is executed.
-     * 
- * - * Protobuf type {@code flyteidl.core.K8sPod} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.K8sPod) - flyteidl.core.Tasks.K8sPodOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sPod_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sPod_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.K8sPod.class, flyteidl.core.Tasks.K8sPod.Builder.class); - } - - // Construct using flyteidl.core.Tasks.K8sPod.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 (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (podSpecBuilder_ == null) { - podSpec_ = null; - } else { - podSpec_ = null; - podSpecBuilder_ = null; - } - if (dataConfigBuilder_ == null) { - dataConfig_ = null; - } else { - dataConfig_ = null; - dataConfigBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sPod_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.K8sPod getDefaultInstanceForType() { - return flyteidl.core.Tasks.K8sPod.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.K8sPod build() { - flyteidl.core.Tasks.K8sPod result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.K8sPod buildPartial() { - flyteidl.core.Tasks.K8sPod result = new flyteidl.core.Tasks.K8sPod(this); - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (podSpecBuilder_ == null) { - result.podSpec_ = podSpec_; - } else { - result.podSpec_ = podSpecBuilder_.build(); - } - if (dataConfigBuilder_ == null) { - result.dataConfig_ = dataConfig_; - } else { - result.dataConfig_ = dataConfigBuilder_.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.Tasks.K8sPod) { - return mergeFrom((flyteidl.core.Tasks.K8sPod)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.K8sPod other) { - if (other == flyteidl.core.Tasks.K8sPod.getDefaultInstance()) return this; - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.hasPodSpec()) { - mergePodSpec(other.getPodSpec()); - } - if (other.hasDataConfig()) { - mergeDataConfig(other.getDataConfig()); - } - 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.Tasks.K8sPod parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.K8sPod) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Tasks.K8sObjectMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.K8sObjectMetadata, flyteidl.core.Tasks.K8sObjectMetadata.Builder, flyteidl.core.Tasks.K8sObjectMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public flyteidl.core.Tasks.K8sObjectMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.core.Tasks.K8sObjectMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public Builder setMetadata(flyteidl.core.Tasks.K8sObjectMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public Builder setMetadata( - flyteidl.core.Tasks.K8sObjectMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public Builder mergeMetadata(flyteidl.core.Tasks.K8sObjectMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.core.Tasks.K8sObjectMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public flyteidl.core.Tasks.K8sObjectMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - public flyteidl.core.Tasks.K8sObjectMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.core.Tasks.K8sObjectMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Contains additional metadata for building a kubernetes pod.
-       * 
- * - * .flyteidl.core.K8sObjectMetadata metadata = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.K8sObjectMetadata, flyteidl.core.Tasks.K8sObjectMetadata.Builder, flyteidl.core.Tasks.K8sObjectMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.K8sObjectMetadata, flyteidl.core.Tasks.K8sObjectMetadata.Builder, flyteidl.core.Tasks.K8sObjectMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private com.google.protobuf.Struct podSpec_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> podSpecBuilder_; - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public boolean hasPodSpec() { - return podSpecBuilder_ != null || podSpec_ != null; - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public com.google.protobuf.Struct getPodSpec() { - if (podSpecBuilder_ == null) { - return podSpec_ == null ? com.google.protobuf.Struct.getDefaultInstance() : podSpec_; - } else { - return podSpecBuilder_.getMessage(); - } - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public Builder setPodSpec(com.google.protobuf.Struct value) { - if (podSpecBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - podSpec_ = value; - onChanged(); - } else { - podSpecBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public Builder setPodSpec( - com.google.protobuf.Struct.Builder builderForValue) { - if (podSpecBuilder_ == null) { - podSpec_ = builderForValue.build(); - onChanged(); - } else { - podSpecBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public Builder mergePodSpec(com.google.protobuf.Struct value) { - if (podSpecBuilder_ == null) { - if (podSpec_ != null) { - podSpec_ = - com.google.protobuf.Struct.newBuilder(podSpec_).mergeFrom(value).buildPartial(); - } else { - podSpec_ = value; - } - onChanged(); - } else { - podSpecBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public Builder clearPodSpec() { - if (podSpecBuilder_ == null) { - podSpec_ = null; - onChanged(); - } else { - podSpec_ = null; - podSpecBuilder_ = null; - } - - return this; - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public com.google.protobuf.Struct.Builder getPodSpecBuilder() { - - onChanged(); - return getPodSpecFieldBuilder().getBuilder(); - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - public com.google.protobuf.StructOrBuilder getPodSpecOrBuilder() { - if (podSpecBuilder_ != null) { - return podSpecBuilder_.getMessageOrBuilder(); - } else { - return podSpec_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : podSpec_; - } - } - /** - *
-       * Defines the primary pod spec created when a task is executed.
-       * This should be a JSON-marshalled pod spec, which can be defined in
-       * - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
-       * - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
-       * 
- * - * .google.protobuf.Struct pod_spec = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getPodSpecFieldBuilder() { - if (podSpecBuilder_ == null) { - podSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getPodSpec(), - getParentForChildren(), - isClean()); - podSpec_ = null; - } - return podSpecBuilder_; - } - - private flyteidl.core.Tasks.DataLoadingConfig dataConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder> dataConfigBuilder_; - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public boolean hasDataConfig() { - return dataConfigBuilder_ != null || dataConfig_ != null; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public flyteidl.core.Tasks.DataLoadingConfig getDataConfig() { - if (dataConfigBuilder_ == null) { - return dataConfig_ == null ? flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; - } else { - return dataConfigBuilder_.getMessage(); - } - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public Builder setDataConfig(flyteidl.core.Tasks.DataLoadingConfig value) { - if (dataConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dataConfig_ = value; - onChanged(); - } else { - dataConfigBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public Builder setDataConfig( - flyteidl.core.Tasks.DataLoadingConfig.Builder builderForValue) { - if (dataConfigBuilder_ == null) { - dataConfig_ = builderForValue.build(); - onChanged(); - } else { - dataConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public Builder mergeDataConfig(flyteidl.core.Tasks.DataLoadingConfig value) { - if (dataConfigBuilder_ == null) { - if (dataConfig_ != null) { - dataConfig_ = - flyteidl.core.Tasks.DataLoadingConfig.newBuilder(dataConfig_).mergeFrom(value).buildPartial(); - } else { - dataConfig_ = value; - } - onChanged(); - } else { - dataConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public Builder clearDataConfig() { - if (dataConfigBuilder_ == null) { - dataConfig_ = null; - onChanged(); - } else { - dataConfig_ = null; - dataConfigBuilder_ = null; - } - - return this; - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public flyteidl.core.Tasks.DataLoadingConfig.Builder getDataConfigBuilder() { - - onChanged(); - return getDataConfigFieldBuilder().getBuilder(); - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - public flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder() { - if (dataConfigBuilder_ != null) { - return dataConfigBuilder_.getMessageOrBuilder(); - } else { - return dataConfig_ == null ? - flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; - } - } - /** - *
-       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
-       * This makes it possible to to run a completely portable container, that uses inputs and outputs
-       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
-       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
-       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
-       * to understand the default paths.
-       * Only K8s
-       * 
- * - * .flyteidl.core.DataLoadingConfig data_config = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder> - getDataConfigFieldBuilder() { - if (dataConfigBuilder_ == null) { - dataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder>( - getDataConfig(), - getParentForChildren(), - isClean()); - dataConfig_ = null; - } - return dataConfigBuilder_; - } - @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.K8sPod) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.K8sPod) - private static final flyteidl.core.Tasks.K8sPod DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.K8sPod(); - } - - public static flyteidl.core.Tasks.K8sPod getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public K8sPod parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new K8sPod(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.Tasks.K8sPod getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface K8sObjectMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.K8sObjectMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - int getLabelsCount(); - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getLabels(); - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - java.util.Map - getLabelsMap(); - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - - java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); - - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - int getAnnotationsCount(); - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getAnnotations(); - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - java.util.Map - getAnnotationsMap(); - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - - java.lang.String getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - - java.lang.String getAnnotationsOrThrow( - java.lang.String key); - } - /** - *
-   * Metadata for building a kubernetes object when a task is executed.
-   * 
- * - * Protobuf type {@code flyteidl.core.K8sObjectMetadata} - */ - public static final class K8sObjectMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.K8sObjectMetadata) - K8sObjectMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use K8sObjectMetadata.newBuilder() to construct. - private K8sObjectMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private K8sObjectMetadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private K8sObjectMetadata( - 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)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - annotations_.getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sObjectMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetLabels(); - case 2: - return internalGetAnnotations(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sObjectMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.K8sObjectMetadata.class, flyteidl.core.Tasks.K8sObjectMetadata.Builder.class); - } - - public static final int LABELS_FIELD_NUMBER = 1; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Tasks.internal_static_flyteidl_core_K8sObjectMetadata_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetLabels().getMap().containsKey(key); - } - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Optional labels to add to the pod definition.
-     * 
- * - * map<string, string> labels = 1; - */ - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 2; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Tasks.internal_static_flyteidl_core_K8sObjectMetadata_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAnnotations().getMap().containsKey(key); - } - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Optional annotations to add to the pod definition.
-     * 
- * - * map<string, string> annotations = 2; - */ - - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 1); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 2); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, labels__); - } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, annotations__); - } - 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.Tasks.K8sObjectMetadata)) { - return super.equals(obj); - } - flyteidl.core.Tasks.K8sObjectMetadata other = (flyteidl.core.Tasks.K8sObjectMetadata) obj; - - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) 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 (!internalGetLabels().getMap().isEmpty()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + internalGetLabels().hashCode(); - } - if (!internalGetAnnotations().getMap().isEmpty()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + internalGetAnnotations().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.K8sObjectMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.K8sObjectMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.K8sObjectMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.K8sObjectMetadata 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.Tasks.K8sObjectMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.K8sObjectMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.K8sObjectMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.K8sObjectMetadata 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.Tasks.K8sObjectMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.K8sObjectMetadata 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.Tasks.K8sObjectMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.K8sObjectMetadata 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.Tasks.K8sObjectMetadata 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; - } - /** - *
-     * Metadata for building a kubernetes object when a task is executed.
-     * 
- * - * Protobuf type {@code flyteidl.core.K8sObjectMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.K8sObjectMetadata) - flyteidl.core.Tasks.K8sObjectMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sObjectMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetLabels(); - case 2: - return internalGetAnnotations(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableLabels(); - case 2: - return internalGetMutableAnnotations(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sObjectMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.K8sObjectMetadata.class, flyteidl.core.Tasks.K8sObjectMetadata.Builder.class); - } - - // Construct using flyteidl.core.Tasks.K8sObjectMetadata.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(); - internalGetMutableLabels().clear(); - internalGetMutableAnnotations().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_K8sObjectMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.K8sObjectMetadata getDefaultInstanceForType() { - return flyteidl.core.Tasks.K8sObjectMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.K8sObjectMetadata build() { - flyteidl.core.Tasks.K8sObjectMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.K8sObjectMetadata buildPartial() { - flyteidl.core.Tasks.K8sObjectMetadata result = new flyteidl.core.Tasks.K8sObjectMetadata(this); - int from_bitField0_ = bitField0_; - result.labels_ = internalGetLabels(); - result.labels_.makeImmutable(); - result.annotations_ = internalGetAnnotations(); - result.annotations_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Tasks.K8sObjectMetadata) { - return mergeFrom((flyteidl.core.Tasks.K8sObjectMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.K8sObjectMetadata other) { - if (other == flyteidl.core.Tasks.K8sObjectMetadata.getDefaultInstance()) return this; - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); - 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.Tasks.K8sObjectMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.K8sObjectMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; - if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - } - if (!labels_.isMutable()) { - labels_ = labels_.copy(); - } - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - *
-       * Optional labels to add to the pod definition.
-       * 
- * - * map<string, string> labels = 1; - */ - - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetLabels().getMap().containsKey(key); - } - /** - * Use {@link #getLabelsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - *
-       * Optional labels to add to the pod definition.
-       * 
- * - * map<string, string> labels = 1; - */ - - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - *
-       * Optional labels to add to the pod definition.
-       * 
- * - * map<string, string> labels = 1; - */ - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Optional labels to add to the pod definition.
-       * 
- * - * map<string, string> labels = 1; - */ - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Optional labels to add to the pod definition.
-       * 
- * - * map<string, string> labels = 1; - */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableLabels() { - return internalGetMutableLabels().getMutableMap(); - } - /** - *
-       * Optional labels to add to the pod definition.
-       * 
- * - * map<string, string> labels = 1; - */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Optional labels to add to the pod definition.
-       * 
- * - * map<string, string> labels = 1; - */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged();; - if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - if (!annotations_.isMutable()) { - annotations_ = annotations_.copy(); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - *
-       * Optional annotations to add to the pod definition.
-       * 
- * - * map<string, string> annotations = 2; - */ - - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAnnotations().getMap().containsKey(key); - } - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - *
-       * Optional annotations to add to the pod definition.
-       * 
- * - * map<string, string> annotations = 2; - */ - - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - *
-       * Optional annotations to add to the pod definition.
-       * 
- * - * map<string, string> annotations = 2; - */ - - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Optional annotations to add to the pod definition.
-       * 
- * - * map<string, string> annotations = 2; - */ - - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Optional annotations to add to the pod definition.
-       * 
- * - * map<string, string> annotations = 2; - */ - - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { - return internalGetMutableAnnotations().getMutableMap(); - } - /** - *
-       * Optional annotations to add to the pod definition.
-       * 
- * - * map<string, string> annotations = 2; - */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Optional annotations to add to the pod definition.
-       * 
- * - * map<string, string> annotations = 2; - */ - - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.K8sObjectMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.K8sObjectMetadata) - private static final flyteidl.core.Tasks.K8sObjectMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.K8sObjectMetadata(); - } - - public static flyteidl.core.Tasks.K8sObjectMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public K8sObjectMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new K8sObjectMetadata(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.Tasks.K8sObjectMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SqlOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Sql) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The actual query to run, the query can have templated parameters.
-     * We use Flyte's Golang templating format for Query templating.
-     * Refer to the templating documentation.
-     * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-     * For example,
-     * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-     * select *
-     * from my_table
-     * where ds = '{{ .Inputs.ds }}'
-     * 
- * - * string statement = 1; - */ - java.lang.String getStatement(); - /** - *
-     * The actual query to run, the query can have templated parameters.
-     * We use Flyte's Golang templating format for Query templating.
-     * Refer to the templating documentation.
-     * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-     * For example,
-     * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-     * select *
-     * from my_table
-     * where ds = '{{ .Inputs.ds }}'
-     * 
- * - * string statement = 1; - */ - com.google.protobuf.ByteString - getStatementBytes(); - - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - int getDialectValue(); - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - flyteidl.core.Tasks.Sql.Dialect getDialect(); - } - /** - *
-   * Sql represents a generic sql workload with a statement and dialect.
-   * 
- * - * Protobuf type {@code flyteidl.core.Sql} - */ - public static final class Sql extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Sql) - SqlOrBuilder { - private static final long serialVersionUID = 0L; - // Use Sql.newBuilder() to construct. - private Sql(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Sql() { - statement_ = ""; - dialect_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Sql( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - statement_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - dialect_ = rawValue; - 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.Tasks.internal_static_flyteidl_core_Sql_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Sql_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Sql.class, flyteidl.core.Tasks.Sql.Builder.class); - } - - /** - *
-     * The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid
-     * expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement.
-     * We support the following dialect: ansi, hive.
-     * 
- * - * Protobuf enum {@code flyteidl.core.Sql.Dialect} - */ - public enum Dialect - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNDEFINED = 0; - */ - UNDEFINED(0), - /** - * ANSI = 1; - */ - ANSI(1), - /** - * HIVE = 2; - */ - HIVE(2), - /** - * OTHER = 3; - */ - OTHER(3), - UNRECOGNIZED(-1), - ; - - /** - * UNDEFINED = 0; - */ - public static final int UNDEFINED_VALUE = 0; - /** - * ANSI = 1; - */ - public static final int ANSI_VALUE = 1; - /** - * HIVE = 2; - */ - public static final int HIVE_VALUE = 2; - /** - * OTHER = 3; - */ - public static final int OTHER_VALUE = 3; - - - 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 Dialect valueOf(int value) { - return forNumber(value); - } - - public static Dialect forNumber(int value) { - switch (value) { - case 0: return UNDEFINED; - case 1: return ANSI; - case 2: return HIVE; - case 3: return OTHER; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Dialect> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Dialect findValueByNumber(int number) { - return Dialect.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.Tasks.Sql.getDescriptor().getEnumTypes().get(0); - } - - private static final Dialect[] VALUES = values(); - - public static Dialect 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 Dialect(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.Sql.Dialect) - } - - public static final int STATEMENT_FIELD_NUMBER = 1; - private volatile java.lang.Object statement_; - /** - *
-     * The actual query to run, the query can have templated parameters.
-     * We use Flyte's Golang templating format for Query templating.
-     * Refer to the templating documentation.
-     * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-     * For example,
-     * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-     * select *
-     * from my_table
-     * where ds = '{{ .Inputs.ds }}'
-     * 
- * - * string statement = 1; - */ - public java.lang.String getStatement() { - java.lang.Object ref = statement_; - 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(); - statement_ = s; - return s; - } - } - /** - *
-     * The actual query to run, the query can have templated parameters.
-     * We use Flyte's Golang templating format for Query templating.
-     * Refer to the templating documentation.
-     * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-     * For example,
-     * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-     * select *
-     * from my_table
-     * where ds = '{{ .Inputs.ds }}'
-     * 
- * - * string statement = 1; - */ - public com.google.protobuf.ByteString - getStatementBytes() { - java.lang.Object ref = statement_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - statement_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIALECT_FIELD_NUMBER = 2; - private int dialect_; - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - public int getDialectValue() { - return dialect_; - } - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - public flyteidl.core.Tasks.Sql.Dialect getDialect() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.Sql.Dialect result = flyteidl.core.Tasks.Sql.Dialect.valueOf(dialect_); - return result == null ? flyteidl.core.Tasks.Sql.Dialect.UNRECOGNIZED : result; - } - - 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 (!getStatementBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, statement_); - } - if (dialect_ != flyteidl.core.Tasks.Sql.Dialect.UNDEFINED.getNumber()) { - output.writeEnum(2, dialect_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getStatementBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, statement_); - } - if (dialect_ != flyteidl.core.Tasks.Sql.Dialect.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dialect_); - } - 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.Tasks.Sql)) { - return super.equals(obj); - } - flyteidl.core.Tasks.Sql other = (flyteidl.core.Tasks.Sql) obj; - - if (!getStatement() - .equals(other.getStatement())) return false; - if (dialect_ != other.dialect_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STATEMENT_FIELD_NUMBER; - hash = (53 * hash) + getStatement().hashCode(); - hash = (37 * hash) + DIALECT_FIELD_NUMBER; - hash = (53 * hash) + dialect_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Tasks.Sql parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Sql parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Sql parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Sql 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.Tasks.Sql parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Tasks.Sql parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Tasks.Sql parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Sql 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.Tasks.Sql parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Sql 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.Tasks.Sql parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Tasks.Sql 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.Tasks.Sql 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; - } - /** - *
-     * Sql represents a generic sql workload with a statement and dialect.
-     * 
- * - * Protobuf type {@code flyteidl.core.Sql} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Sql) - flyteidl.core.Tasks.SqlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Sql_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Sql_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Tasks.Sql.class, flyteidl.core.Tasks.Sql.Builder.class); - } - - // Construct using flyteidl.core.Tasks.Sql.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(); - statement_ = ""; - - dialect_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Tasks.internal_static_flyteidl_core_Sql_descriptor; - } - - @java.lang.Override - public flyteidl.core.Tasks.Sql getDefaultInstanceForType() { - return flyteidl.core.Tasks.Sql.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Tasks.Sql build() { - flyteidl.core.Tasks.Sql result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Tasks.Sql buildPartial() { - flyteidl.core.Tasks.Sql result = new flyteidl.core.Tasks.Sql(this); - result.statement_ = statement_; - result.dialect_ = dialect_; - 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.Tasks.Sql) { - return mergeFrom((flyteidl.core.Tasks.Sql)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Tasks.Sql other) { - if (other == flyteidl.core.Tasks.Sql.getDefaultInstance()) return this; - if (!other.getStatement().isEmpty()) { - statement_ = other.statement_; - onChanged(); - } - if (other.dialect_ != 0) { - setDialectValue(other.getDialectValue()); - } - 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.Tasks.Sql parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Tasks.Sql) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object statement_ = ""; - /** - *
-       * The actual query to run, the query can have templated parameters.
-       * We use Flyte's Golang templating format for Query templating.
-       * Refer to the templating documentation.
-       * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-       * For example,
-       * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-       * select *
-       * from my_table
-       * where ds = '{{ .Inputs.ds }}'
-       * 
- * - * string statement = 1; - */ - public java.lang.String getStatement() { - java.lang.Object ref = statement_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - statement_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The actual query to run, the query can have templated parameters.
-       * We use Flyte's Golang templating format for Query templating.
-       * Refer to the templating documentation.
-       * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-       * For example,
-       * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-       * select *
-       * from my_table
-       * where ds = '{{ .Inputs.ds }}'
-       * 
- * - * string statement = 1; - */ - public com.google.protobuf.ByteString - getStatementBytes() { - java.lang.Object ref = statement_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - statement_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The actual query to run, the query can have templated parameters.
-       * We use Flyte's Golang templating format for Query templating.
-       * Refer to the templating documentation.
-       * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-       * For example,
-       * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-       * select *
-       * from my_table
-       * where ds = '{{ .Inputs.ds }}'
-       * 
- * - * string statement = 1; - */ - public Builder setStatement( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - statement_ = value; - onChanged(); - return this; - } - /** - *
-       * The actual query to run, the query can have templated parameters.
-       * We use Flyte's Golang templating format for Query templating.
-       * Refer to the templating documentation.
-       * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-       * For example,
-       * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-       * select *
-       * from my_table
-       * where ds = '{{ .Inputs.ds }}'
-       * 
- * - * string statement = 1; - */ - public Builder clearStatement() { - - statement_ = getDefaultInstance().getStatement(); - onChanged(); - return this; - } - /** - *
-       * The actual query to run, the query can have templated parameters.
-       * We use Flyte's Golang templating format for Query templating.
-       * Refer to the templating documentation.
-       * https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
-       * For example,
-       * insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
-       * select *
-       * from my_table
-       * where ds = '{{ .Inputs.ds }}'
-       * 
- * - * string statement = 1; - */ - public Builder setStatementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - statement_ = value; - onChanged(); - return this; - } - - private int dialect_ = 0; - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - public int getDialectValue() { - return dialect_; - } - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - public Builder setDialectValue(int value) { - dialect_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - public flyteidl.core.Tasks.Sql.Dialect getDialect() { - @SuppressWarnings("deprecation") - flyteidl.core.Tasks.Sql.Dialect result = flyteidl.core.Tasks.Sql.Dialect.valueOf(dialect_); - return result == null ? flyteidl.core.Tasks.Sql.Dialect.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - public Builder setDialect(flyteidl.core.Tasks.Sql.Dialect value) { - if (value == null) { - throw new NullPointerException(); - } - - dialect_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.Sql.Dialect dialect = 2; - */ - public Builder clearDialect() { - - dialect_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Sql) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Sql) - private static final flyteidl.core.Tasks.Sql DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Tasks.Sql(); - } - - public static flyteidl.core.Tasks.Sql getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Sql parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Sql(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.Tasks.Sql getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Resources_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Resources_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Resources_ResourceEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Resources_ResourceEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_GPUAccelerator_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_GPUAccelerator_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ExtendedResources_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ExtendedResources_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_RuntimeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_RuntimeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskMetadata_TagsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskMetadata_TagsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskTemplate_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskTemplate_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskTemplate_ConfigEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskTemplate_ConfigEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ContainerPort_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ContainerPort_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Container_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Container_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_IOStrategy_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_IOStrategy_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_DataLoadingConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_DataLoadingConfig_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_K8sPod_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_K8sPod_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_K8sObjectMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_K8sObjectMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_K8sObjectMetadata_LabelsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_K8sObjectMetadata_LabelsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_K8sObjectMetadata_AnnotationsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_K8sObjectMetadata_AnnotationsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Sql_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Sql_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\031flyteidl/core/tasks.proto\022\rflyteidl.co" + - "re\032\036flyteidl/core/identifier.proto\032\035flyt" + - "eidl/core/interface.proto\032\034flyteidl/core" + - "/literals.proto\032\034flyteidl/core/security." + - "proto\032\036google/protobuf/duration.proto\032\034g" + - "oogle/protobuf/struct.proto\"\261\002\n\tResource" + - "s\0228\n\010requests\030\001 \003(\0132&.flyteidl.core.Reso" + - "urces.ResourceEntry\0226\n\006limits\030\002 \003(\0132&.fl" + - "yteidl.core.Resources.ResourceEntry\032S\n\rR" + - "esourceEntry\0223\n\004name\030\001 \001(\0162%.flyteidl.co" + - "re.Resources.ResourceName\022\r\n\005value\030\002 \001(\t" + - "\"]\n\014ResourceName\022\013\n\007UNKNOWN\020\000\022\007\n\003CPU\020\001\022\007" + - "\n\003GPU\020\002\022\n\n\006MEMORY\020\003\022\013\n\007STORAGE\020\004\022\025\n\021EPHE" + - "MERAL_STORAGE\020\005\"k\n\016GPUAccelerator\022\016\n\006dev" + - "ice\030\001 \001(\t\022\027\n\runpartitioned\030\002 \001(\010H\000\022\030\n\016pa" + - "rtition_size\030\003 \001(\tH\000B\026\n\024partition_size_v" + - "alue\"K\n\021ExtendedResources\0226\n\017gpu_acceler" + - "ator\030\001 \001(\0132\035.flyteidl.core.GPUAccelerato" + - "r\"\225\001\n\017RuntimeMetadata\0228\n\004type\030\001 \001(\0162*.fl" + - "yteidl.core.RuntimeMetadata.RuntimeType\022" + - "\017\n\007version\030\002 \001(\t\022\016\n\006flavor\030\003 \001(\t\"\'\n\013Runt" + - "imeType\022\t\n\005OTHER\020\000\022\r\n\tFLYTE_SDK\020\001\"\357\003\n\014Ta" + - "skMetadata\022\024\n\014discoverable\030\001 \001(\010\022/\n\007runt" + - "ime\030\002 \001(\0132\036.flyteidl.core.RuntimeMetadat" + - "a\022*\n\007timeout\030\004 \001(\0132\031.google.protobuf.Dur" + - "ation\022-\n\007retries\030\005 \001(\0132\034.flyteidl.core.R" + - "etryStrategy\022\031\n\021discovery_version\030\006 \001(\t\022" + - " \n\030deprecated_error_message\030\007 \001(\t\022\027\n\rint" + - "erruptible\030\010 \001(\010H\000\022\032\n\022cache_serializable" + - "\030\t \001(\010\022\026\n\016generates_deck\030\n \001(\010\0223\n\004tags\030\013" + - " \003(\0132%.flyteidl.core.TaskMetadata.TagsEn" + - "try\022\031\n\021pod_template_name\030\014 \001(\t\022\037\n\027cache_" + - "ignore_input_vars\030\r \003(\t\032+\n\tTagsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\025\n\023interrup" + - "tible_value\"\316\004\n\014TaskTemplate\022%\n\002id\030\001 \001(\013" + - "2\031.flyteidl.core.Identifier\022\014\n\004type\030\002 \001(" + - "\t\022-\n\010metadata\030\003 \001(\0132\033.flyteidl.core.Task" + - "Metadata\0220\n\tinterface\030\004 \001(\0132\035.flyteidl.c" + - "ore.TypedInterface\022\'\n\006custom\030\005 \001(\0132\027.goo" + - "gle.protobuf.Struct\022-\n\tcontainer\030\006 \001(\0132\030" + - ".flyteidl.core.ContainerH\000\022(\n\007k8s_pod\030\021 " + - "\001(\0132\025.flyteidl.core.K8sPodH\000\022!\n\003sql\030\022 \001(" + - "\0132\022.flyteidl.core.SqlH\000\022\031\n\021task_type_ver" + - "sion\030\007 \001(\005\0228\n\020security_context\030\010 \001(\0132\036.f" + - "lyteidl.core.SecurityContext\022<\n\022extended" + - "_resources\030\t \001(\0132 .flyteidl.core.Extende" + - "dResources\0227\n\006config\030\020 \003(\0132\'.flyteidl.co" + - "re.TaskTemplate.ConfigEntry\032-\n\013ConfigEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\010\n\006ta" + - "rget\"\'\n\rContainerPort\022\026\n\016container_port\030" + - "\001 \001(\r\"\255\003\n\tContainer\022\r\n\005image\030\001 \001(\t\022\017\n\007co" + - "mmand\030\002 \003(\t\022\014\n\004args\030\003 \003(\t\022+\n\tresources\030\004" + - " \001(\0132\030.flyteidl.core.Resources\022(\n\003env\030\005 " + - "\003(\0132\033.flyteidl.core.KeyValuePair\022/\n\006conf" + - "ig\030\006 \003(\0132\033.flyteidl.core.KeyValuePairB\002\030" + - "\001\022+\n\005ports\030\007 \003(\0132\034.flyteidl.core.Contain" + - "erPort\0225\n\013data_config\030\t \001(\0132 .flyteidl.c" + - "ore.DataLoadingConfig\022;\n\014architecture\030\n " + - "\001(\0162%.flyteidl.core.Container.Architectu" + - "re\"I\n\014Architecture\022\013\n\007UNKNOWN\020\000\022\t\n\005AMD64" + - "\020\001\022\t\n\005ARM64\020\002\022\n\n\006ARM_V6\020\003\022\n\n\006ARM_V7\020\004\"\233\002" + - "\n\nIOStrategy\022=\n\rdownload_mode\030\001 \001(\0162&.fl" + - "yteidl.core.IOStrategy.DownloadMode\0229\n\013u" + - "pload_mode\030\002 \001(\0162$.flyteidl.core.IOStrat" + - "egy.UploadMode\"L\n\014DownloadMode\022\022\n\016DOWNLO" + - "AD_EAGER\020\000\022\023\n\017DOWNLOAD_STREAM\020\001\022\023\n\017DO_NO" + - "T_DOWNLOAD\020\002\"E\n\nUploadMode\022\022\n\016UPLOAD_ON_" + - "EXIT\020\000\022\020\n\014UPLOAD_EAGER\020\001\022\021\n\rDO_NOT_UPLOA" + - "D\020\002\"\363\001\n\021DataLoadingConfig\022\017\n\007enabled\030\001 \001" + - "(\010\022\022\n\ninput_path\030\002 \001(\t\022\023\n\013output_path\030\003 " + - "\001(\t\022A\n\006format\030\004 \001(\01621.flyteidl.core.Data" + - "LoadingConfig.LiteralMapFormat\022.\n\013io_str" + - "ategy\030\005 \001(\0132\031.flyteidl.core.IOStrategy\"1" + - "\n\020LiteralMapFormat\022\010\n\004JSON\020\000\022\010\n\004YAML\020\001\022\t" + - "\n\005PROTO\020\002\"\236\001\n\006K8sPod\0222\n\010metadata\030\001 \001(\0132 " + - ".flyteidl.core.K8sObjectMetadata\022)\n\010pod_" + - "spec\030\002 \001(\0132\027.google.protobuf.Struct\0225\n\013d" + - "ata_config\030\003 \001(\0132 .flyteidl.core.DataLoa" + - "dingConfig\"\374\001\n\021K8sObjectMetadata\022<\n\006labe" + - "ls\030\001 \003(\0132,.flyteidl.core.K8sObjectMetada" + - "ta.LabelsEntry\022F\n\013annotations\030\002 \003(\01321.fl" + - "yteidl.core.K8sObjectMetadata.Annotation" + - "sEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"~\n\003Sql\022\021\n\tstat" + - "ement\030\001 \001(\t\022+\n\007dialect\030\002 \001(\0162\032.flyteidl." + - "core.Sql.Dialect\"7\n\007Dialect\022\r\n\tUNDEFINED" + - "\020\000\022\010\n\004ANSI\020\001\022\010\n\004HIVE\020\002\022\t\n\005OTHER\020\003B - * Define a set of simple types. - * - * - * Protobuf enum {@code flyteidl.core.SimpleType} - */ - public enum SimpleType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * NONE = 0; - */ - NONE(0), - /** - * INTEGER = 1; - */ - INTEGER(1), - /** - * FLOAT = 2; - */ - FLOAT(2), - /** - * STRING = 3; - */ - STRING(3), - /** - * BOOLEAN = 4; - */ - BOOLEAN(4), - /** - * DATETIME = 5; - */ - DATETIME(5), - /** - * DURATION = 6; - */ - DURATION(6), - /** - * BINARY = 7; - */ - BINARY(7), - /** - * ERROR = 8; - */ - ERROR(8), - /** - * STRUCT = 9; - */ - STRUCT(9), - UNRECOGNIZED(-1), - ; - - /** - * NONE = 0; - */ - public static final int NONE_VALUE = 0; - /** - * INTEGER = 1; - */ - public static final int INTEGER_VALUE = 1; - /** - * FLOAT = 2; - */ - public static final int FLOAT_VALUE = 2; - /** - * STRING = 3; - */ - public static final int STRING_VALUE = 3; - /** - * BOOLEAN = 4; - */ - public static final int BOOLEAN_VALUE = 4; - /** - * DATETIME = 5; - */ - public static final int DATETIME_VALUE = 5; - /** - * DURATION = 6; - */ - public static final int DURATION_VALUE = 6; - /** - * BINARY = 7; - */ - public static final int BINARY_VALUE = 7; - /** - * ERROR = 8; - */ - public static final int ERROR_VALUE = 8; - /** - * STRUCT = 9; - */ - public static final int STRUCT_VALUE = 9; - - - 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 SimpleType valueOf(int value) { - return forNumber(value); - } - - public static SimpleType forNumber(int value) { - switch (value) { - case 0: return NONE; - case 1: return INTEGER; - case 2: return FLOAT; - case 3: return STRING; - case 4: return BOOLEAN; - case 5: return DATETIME; - case 6: return DURATION; - case 7: return BINARY; - case 8: return ERROR; - case 9: return STRUCT; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - SimpleType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SimpleType findValueByNumber(int number) { - return SimpleType.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.Types.getDescriptor().getEnumTypes().get(0); - } - - private static final SimpleType[] VALUES = values(); - - public static SimpleType 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 SimpleType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.SimpleType) - } - - public interface SchemaTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.SchemaType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - java.util.List - getColumnsList(); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - flyteidl.core.Types.SchemaType.SchemaColumn getColumns(int index); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - int getColumnsCount(); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - java.util.List - getColumnsOrBuilderList(); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - flyteidl.core.Types.SchemaType.SchemaColumnOrBuilder getColumnsOrBuilder( - int index); - } - /** - *
-   * Defines schema columns and types to strongly type-validate schemas interoperability.
-   * 
- * - * Protobuf type {@code flyteidl.core.SchemaType} - */ - public static final class SchemaType extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.SchemaType) - SchemaTypeOrBuilder { - private static final long serialVersionUID = 0L; - // Use SchemaType.newBuilder() to construct. - private SchemaType(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SchemaType() { - columns_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SchemaType( - 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 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - columns_.add( - input.readMessage(flyteidl.core.Types.SchemaType.SchemaColumn.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)) { - columns_ = java.util.Collections.unmodifiableList(columns_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.SchemaType.class, flyteidl.core.Types.SchemaType.Builder.class); - } - - public interface SchemaColumnOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.SchemaType.SchemaColumn) - com.google.protobuf.MessageOrBuilder { - - /** - *
-       * A unique name -within the schema type- for the column
-       * 
- * - * string name = 1; - */ - java.lang.String getName(); - /** - *
-       * A unique name -within the schema type- for the column
-       * 
- * - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-       * The column type. This allows a limited set of types currently.
-       * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - int getTypeValue(); - /** - *
-       * The column type. This allows a limited set of types currently.
-       * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType getType(); - } - /** - * Protobuf type {@code flyteidl.core.SchemaType.SchemaColumn} - */ - public static final class SchemaColumn extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.SchemaType.SchemaColumn) - SchemaColumnOrBuilder { - private static final long serialVersionUID = 0L; - // Use SchemaColumn.newBuilder() to construct. - private SchemaColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SchemaColumn() { - name_ = ""; - type_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SchemaColumn( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - type_ = rawValue; - 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.Types.internal_static_flyteidl_core_SchemaType_SchemaColumn_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_SchemaColumn_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.SchemaType.SchemaColumn.class, flyteidl.core.Types.SchemaType.SchemaColumn.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType} - */ - public enum SchemaColumnType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * INTEGER = 0; - */ - INTEGER(0), - /** - * FLOAT = 1; - */ - FLOAT(1), - /** - * STRING = 2; - */ - STRING(2), - /** - * BOOLEAN = 3; - */ - BOOLEAN(3), - /** - * DATETIME = 4; - */ - DATETIME(4), - /** - * DURATION = 5; - */ - DURATION(5), - UNRECOGNIZED(-1), - ; - - /** - * INTEGER = 0; - */ - public static final int INTEGER_VALUE = 0; - /** - * FLOAT = 1; - */ - public static final int FLOAT_VALUE = 1; - /** - * STRING = 2; - */ - public static final int STRING_VALUE = 2; - /** - * BOOLEAN = 3; - */ - public static final int BOOLEAN_VALUE = 3; - /** - * DATETIME = 4; - */ - public static final int DATETIME_VALUE = 4; - /** - * DURATION = 5; - */ - public static final int DURATION_VALUE = 5; - - - 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 SchemaColumnType valueOf(int value) { - return forNumber(value); - } - - public static SchemaColumnType forNumber(int value) { - switch (value) { - case 0: return INTEGER; - case 1: return FLOAT; - case 2: return STRING; - case 3: return BOOLEAN; - case 4: return DATETIME; - case 5: return DURATION; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - SchemaColumnType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SchemaColumnType findValueByNumber(int number) { - return SchemaColumnType.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.Types.SchemaType.SchemaColumn.getDescriptor().getEnumTypes().get(0); - } - - private static final SchemaColumnType[] VALUES = values(); - - public static SchemaColumnType 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 SchemaColumnType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType) - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - *
-       * A unique name -within the schema type- for the column
-       * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-       * A unique name -within the schema type- for the column
-       * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_FIELD_NUMBER = 2; - private int type_; - /** - *
-       * The column type. This allows a limited set of types currently.
-       * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - public int getTypeValue() { - return type_; - } - /** - *
-       * The column type. This allows a limited set of types currently.
-       * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - public flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType getType() { - @SuppressWarnings("deprecation") - flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType result = flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType.valueOf(type_); - return result == null ? flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType.UNRECOGNIZED : result; - } - - 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 (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (type_ != flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType.INTEGER.getNumber()) { - output.writeEnum(2, type_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (type_ != flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType.INTEGER.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); - } - 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.Types.SchemaType.SchemaColumn)) { - return super.equals(obj); - } - flyteidl.core.Types.SchemaType.SchemaColumn other = (flyteidl.core.Types.SchemaType.SchemaColumn) obj; - - if (!getName() - .equals(other.getName())) return false; - if (type_ != other.type_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.SchemaType.SchemaColumn parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn 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.Types.SchemaType.SchemaColumn parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn 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.Types.SchemaType.SchemaColumn parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn 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.Types.SchemaType.SchemaColumn parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.SchemaType.SchemaColumn 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.Types.SchemaType.SchemaColumn 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.core.SchemaType.SchemaColumn} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.SchemaType.SchemaColumn) - flyteidl.core.Types.SchemaType.SchemaColumnOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_SchemaColumn_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_SchemaColumn_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.SchemaType.SchemaColumn.class, flyteidl.core.Types.SchemaType.SchemaColumn.Builder.class); - } - - // Construct using flyteidl.core.Types.SchemaType.SchemaColumn.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(); - name_ = ""; - - type_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_SchemaColumn_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.SchemaType.SchemaColumn getDefaultInstanceForType() { - return flyteidl.core.Types.SchemaType.SchemaColumn.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.SchemaType.SchemaColumn build() { - flyteidl.core.Types.SchemaType.SchemaColumn result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.SchemaType.SchemaColumn buildPartial() { - flyteidl.core.Types.SchemaType.SchemaColumn result = new flyteidl.core.Types.SchemaType.SchemaColumn(this); - result.name_ = name_; - result.type_ = type_; - 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.Types.SchemaType.SchemaColumn) { - return mergeFrom((flyteidl.core.Types.SchemaType.SchemaColumn)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.SchemaType.SchemaColumn other) { - if (other == flyteidl.core.Types.SchemaType.SchemaColumn.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - 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.Types.SchemaType.SchemaColumn parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.SchemaType.SchemaColumn) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-         * A unique name -within the schema type- for the column
-         * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-         * A unique name -within the schema type- for the column
-         * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-         * A unique name -within the schema type- for the column
-         * 
- * - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-         * A unique name -within the schema type- for the column
-         * 
- * - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-         * A unique name -within the schema type- for the column
-         * 
- * - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private int type_ = 0; - /** - *
-         * The column type. This allows a limited set of types currently.
-         * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - public int getTypeValue() { - return type_; - } - /** - *
-         * The column type. This allows a limited set of types currently.
-         * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - public Builder setTypeValue(int value) { - type_ = value; - onChanged(); - return this; - } - /** - *
-         * The column type. This allows a limited set of types currently.
-         * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - public flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType getType() { - @SuppressWarnings("deprecation") - flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType result = flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType.valueOf(type_); - return result == null ? flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType.UNRECOGNIZED : result; - } - /** - *
-         * The column type. This allows a limited set of types currently.
-         * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - public Builder setType(flyteidl.core.Types.SchemaType.SchemaColumn.SchemaColumnType value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-         * The column type. This allows a limited set of types currently.
-         * 
- * - * .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2; - */ - public Builder clearType() { - - type_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.SchemaType.SchemaColumn) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.SchemaType.SchemaColumn) - private static final flyteidl.core.Types.SchemaType.SchemaColumn DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.SchemaType.SchemaColumn(); - } - - public static flyteidl.core.Types.SchemaType.SchemaColumn getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchemaColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchemaColumn(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.Types.SchemaType.SchemaColumn getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public static final int COLUMNS_FIELD_NUMBER = 3; - private java.util.List columns_; - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public java.util.List getColumnsList() { - return columns_; - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public java.util.List - getColumnsOrBuilderList() { - return columns_; - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public int getColumnsCount() { - return columns_.size(); - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public flyteidl.core.Types.SchemaType.SchemaColumn getColumns(int index) { - return columns_.get(index); - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public flyteidl.core.Types.SchemaType.SchemaColumnOrBuilder getColumnsOrBuilder( - int index) { - return columns_.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 < columns_.size(); i++) { - output.writeMessage(3, columns_.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 < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, columns_.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.Types.SchemaType)) { - return super.equals(obj); - } - flyteidl.core.Types.SchemaType other = (flyteidl.core.Types.SchemaType) obj; - - if (!getColumnsList() - .equals(other.getColumnsList())) 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 (getColumnsCount() > 0) { - hash = (37 * hash) + COLUMNS_FIELD_NUMBER; - hash = (53 * hash) + getColumnsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.SchemaType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.SchemaType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.SchemaType parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.SchemaType 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.Types.SchemaType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.SchemaType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.SchemaType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.SchemaType 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.Types.SchemaType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.SchemaType 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.Types.SchemaType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.SchemaType 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.Types.SchemaType prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines schema columns and types to strongly type-validate schemas interoperability.
-     * 
- * - * Protobuf type {@code flyteidl.core.SchemaType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.SchemaType) - flyteidl.core.Types.SchemaTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.SchemaType.class, flyteidl.core.Types.SchemaType.Builder.class); - } - - // Construct using flyteidl.core.Types.SchemaType.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getColumnsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (columnsBuilder_ == null) { - columns_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - columnsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_SchemaType_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.SchemaType getDefaultInstanceForType() { - return flyteidl.core.Types.SchemaType.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.SchemaType build() { - flyteidl.core.Types.SchemaType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.SchemaType buildPartial() { - flyteidl.core.Types.SchemaType result = new flyteidl.core.Types.SchemaType(this); - int from_bitField0_ = bitField0_; - if (columnsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - columns_ = java.util.Collections.unmodifiableList(columns_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.columns_ = columns_; - } else { - result.columns_ = columnsBuilder_.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.Types.SchemaType) { - return mergeFrom((flyteidl.core.Types.SchemaType)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.SchemaType other) { - if (other == flyteidl.core.Types.SchemaType.getDefaultInstance()) return this; - if (columnsBuilder_ == null) { - if (!other.columns_.isEmpty()) { - if (columns_.isEmpty()) { - columns_ = other.columns_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureColumnsIsMutable(); - columns_.addAll(other.columns_); - } - onChanged(); - } - } else { - if (!other.columns_.isEmpty()) { - if (columnsBuilder_.isEmpty()) { - columnsBuilder_.dispose(); - columnsBuilder_ = null; - columns_ = other.columns_; - bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getColumnsFieldBuilder() : null; - } else { - columnsBuilder_.addAllMessages(other.columns_); - } - } - } - 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.Types.SchemaType parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.SchemaType) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List columns_ = - java.util.Collections.emptyList(); - private void ensureColumnsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(columns_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.SchemaType.SchemaColumn, flyteidl.core.Types.SchemaType.SchemaColumn.Builder, flyteidl.core.Types.SchemaType.SchemaColumnOrBuilder> columnsBuilder_; - - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public java.util.List getColumnsList() { - if (columnsBuilder_ == null) { - return java.util.Collections.unmodifiableList(columns_); - } else { - return columnsBuilder_.getMessageList(); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public int getColumnsCount() { - if (columnsBuilder_ == null) { - return columns_.size(); - } else { - return columnsBuilder_.getCount(); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public flyteidl.core.Types.SchemaType.SchemaColumn getColumns(int index) { - if (columnsBuilder_ == null) { - return columns_.get(index); - } else { - return columnsBuilder_.getMessage(index); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder setColumns( - int index, flyteidl.core.Types.SchemaType.SchemaColumn value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.set(index, value); - onChanged(); - } else { - columnsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder setColumns( - int index, flyteidl.core.Types.SchemaType.SchemaColumn.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.set(index, builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder addColumns(flyteidl.core.Types.SchemaType.SchemaColumn value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.add(value); - onChanged(); - } else { - columnsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder addColumns( - int index, flyteidl.core.Types.SchemaType.SchemaColumn value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.add(index, value); - onChanged(); - } else { - columnsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder addColumns( - flyteidl.core.Types.SchemaType.SchemaColumn.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder addColumns( - int index, flyteidl.core.Types.SchemaType.SchemaColumn.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(index, builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder addAllColumns( - java.lang.Iterable values) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); - onChanged(); - } else { - columnsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder clearColumns() { - if (columnsBuilder_ == null) { - columns_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - columnsBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public Builder removeColumns(int index) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.remove(index); - onChanged(); - } else { - columnsBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public flyteidl.core.Types.SchemaType.SchemaColumn.Builder getColumnsBuilder( - int index) { - return getColumnsFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public flyteidl.core.Types.SchemaType.SchemaColumnOrBuilder getColumnsOrBuilder( - int index) { - if (columnsBuilder_ == null) { - return columns_.get(index); } else { - return columnsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public java.util.List - getColumnsOrBuilderList() { - if (columnsBuilder_ != null) { - return columnsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(columns_); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public flyteidl.core.Types.SchemaType.SchemaColumn.Builder addColumnsBuilder() { - return getColumnsFieldBuilder().addBuilder( - flyteidl.core.Types.SchemaType.SchemaColumn.getDefaultInstance()); - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public flyteidl.core.Types.SchemaType.SchemaColumn.Builder addColumnsBuilder( - int index) { - return getColumnsFieldBuilder().addBuilder( - index, flyteidl.core.Types.SchemaType.SchemaColumn.getDefaultInstance()); - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.SchemaType.SchemaColumn columns = 3; - */ - public java.util.List - getColumnsBuilderList() { - return getColumnsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.SchemaType.SchemaColumn, flyteidl.core.Types.SchemaType.SchemaColumn.Builder, flyteidl.core.Types.SchemaType.SchemaColumnOrBuilder> - getColumnsFieldBuilder() { - if (columnsBuilder_ == null) { - columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.SchemaType.SchemaColumn, flyteidl.core.Types.SchemaType.SchemaColumn.Builder, flyteidl.core.Types.SchemaType.SchemaColumnOrBuilder>( - columns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - columns_ = null; - } - return columnsBuilder_; - } - @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.SchemaType) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.SchemaType) - private static final flyteidl.core.Types.SchemaType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.SchemaType(); - } - - public static flyteidl.core.Types.SchemaType getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SchemaType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SchemaType(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.Types.SchemaType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface StructuredDatasetTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.StructuredDatasetType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - java.util.List - getColumnsList(); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - flyteidl.core.Types.StructuredDatasetType.DatasetColumn getColumns(int index); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - int getColumnsCount(); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - java.util.List - getColumnsOrBuilderList(); - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - flyteidl.core.Types.StructuredDatasetType.DatasetColumnOrBuilder getColumnsOrBuilder( - int index); - - /** - *
-     * This is the storage format, the format of the bits at rest
-     * parquet, feather, csv, etc.
-     * For two types to be compatible, the format will need to be an exact match.
-     * 
- * - * string format = 2; - */ - java.lang.String getFormat(); - /** - *
-     * This is the storage format, the format of the bits at rest
-     * parquet, feather, csv, etc.
-     * For two types to be compatible, the format will need to be an exact match.
-     * 
- * - * string format = 2; - */ - com.google.protobuf.ByteString - getFormatBytes(); - - /** - *
-     * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-     * This is an optional field that will not be used for type checking.
-     * 
- * - * string external_schema_type = 3; - */ - java.lang.String getExternalSchemaType(); - /** - *
-     * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-     * This is an optional field that will not be used for type checking.
-     * 
- * - * string external_schema_type = 3; - */ - com.google.protobuf.ByteString - getExternalSchemaTypeBytes(); - - /** - *
-     * The serialized bytes of a third-party schema library like Arrow.
-     * This is an optional field that will not be used for type checking.
-     * 
- * - * bytes external_schema_bytes = 4; - */ - com.google.protobuf.ByteString getExternalSchemaBytes(); - } - /** - * Protobuf type {@code flyteidl.core.StructuredDatasetType} - */ - public static final class StructuredDatasetType extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.StructuredDatasetType) - StructuredDatasetTypeOrBuilder { - private static final long serialVersionUID = 0L; - // Use StructuredDatasetType.newBuilder() to construct. - private StructuredDatasetType(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private StructuredDatasetType() { - columns_ = java.util.Collections.emptyList(); - format_ = ""; - externalSchemaType_ = ""; - externalSchemaBytes_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private StructuredDatasetType( - 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)) { - columns_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - columns_.add( - input.readMessage(flyteidl.core.Types.StructuredDatasetType.DatasetColumn.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - format_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - externalSchemaType_ = s; - break; - } - case 34: { - - externalSchemaBytes_ = input.readBytes(); - 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)) { - columns_ = java.util.Collections.unmodifiableList(columns_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.StructuredDatasetType.class, flyteidl.core.Types.StructuredDatasetType.Builder.class); - } - - public interface DatasetColumnOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.StructuredDatasetType.DatasetColumn) - com.google.protobuf.MessageOrBuilder { - - /** - *
-       * A unique name within the schema type for the column.
-       * 
- * - * string name = 1; - */ - java.lang.String getName(); - /** - *
-       * A unique name within the schema type for the column.
-       * 
- * - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-       * The column type.
-       * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - boolean hasLiteralType(); - /** - *
-       * The column type.
-       * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - flyteidl.core.Types.LiteralType getLiteralType(); - /** - *
-       * The column type.
-       * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getLiteralTypeOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.core.StructuredDatasetType.DatasetColumn} - */ - public static final class DatasetColumn extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.StructuredDatasetType.DatasetColumn) - DatasetColumnOrBuilder { - private static final long serialVersionUID = 0L; - // Use DatasetColumn.newBuilder() to construct. - private DatasetColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DatasetColumn() { - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DatasetColumn( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - flyteidl.core.Types.LiteralType.Builder subBuilder = null; - if (literalType_ != null) { - subBuilder = literalType_.toBuilder(); - } - literalType_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(literalType_); - literalType_ = 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.core.Types.internal_static_flyteidl_core_StructuredDatasetType_DatasetColumn_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_DatasetColumn_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.StructuredDatasetType.DatasetColumn.class, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - *
-       * A unique name within the schema type for the column.
-       * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-       * A unique name within the schema type for the column.
-       * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LITERAL_TYPE_FIELD_NUMBER = 2; - private flyteidl.core.Types.LiteralType literalType_; - /** - *
-       * The column type.
-       * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public boolean hasLiteralType() { - return literalType_ != null; - } - /** - *
-       * The column type.
-       * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public flyteidl.core.Types.LiteralType getLiteralType() { - return literalType_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : literalType_; - } - /** - *
-       * The column type.
-       * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getLiteralTypeOrBuilder() { - return getLiteralType(); - } - - 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 (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (literalType_ != null) { - output.writeMessage(2, getLiteralType()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (literalType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLiteralType()); - } - 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.Types.StructuredDatasetType.DatasetColumn)) { - return super.equals(obj); - } - flyteidl.core.Types.StructuredDatasetType.DatasetColumn other = (flyteidl.core.Types.StructuredDatasetType.DatasetColumn) obj; - - if (!getName() - .equals(other.getName())) return false; - if (hasLiteralType() != other.hasLiteralType()) return false; - if (hasLiteralType()) { - if (!getLiteralType() - .equals(other.getLiteralType())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasLiteralType()) { - hash = (37 * hash) + LITERAL_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getLiteralType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn 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.Types.StructuredDatasetType.DatasetColumn parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn 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.Types.StructuredDatasetType.DatasetColumn parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn 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.Types.StructuredDatasetType.DatasetColumn parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn 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.Types.StructuredDatasetType.DatasetColumn 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.core.StructuredDatasetType.DatasetColumn} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.StructuredDatasetType.DatasetColumn) - flyteidl.core.Types.StructuredDatasetType.DatasetColumnOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_DatasetColumn_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_DatasetColumn_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.StructuredDatasetType.DatasetColumn.class, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder.class); - } - - // Construct using flyteidl.core.Types.StructuredDatasetType.DatasetColumn.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(); - name_ = ""; - - if (literalTypeBuilder_ == null) { - literalType_ = null; - } else { - literalType_ = null; - literalTypeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_DatasetColumn_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn getDefaultInstanceForType() { - return flyteidl.core.Types.StructuredDatasetType.DatasetColumn.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn build() { - flyteidl.core.Types.StructuredDatasetType.DatasetColumn result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn buildPartial() { - flyteidl.core.Types.StructuredDatasetType.DatasetColumn result = new flyteidl.core.Types.StructuredDatasetType.DatasetColumn(this); - result.name_ = name_; - if (literalTypeBuilder_ == null) { - result.literalType_ = literalType_; - } else { - result.literalType_ = literalTypeBuilder_.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.Types.StructuredDatasetType.DatasetColumn) { - return mergeFrom((flyteidl.core.Types.StructuredDatasetType.DatasetColumn)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.StructuredDatasetType.DatasetColumn other) { - if (other == flyteidl.core.Types.StructuredDatasetType.DatasetColumn.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.hasLiteralType()) { - mergeLiteralType(other.getLiteralType()); - } - 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.Types.StructuredDatasetType.DatasetColumn parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.StructuredDatasetType.DatasetColumn) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-         * A unique name within the schema type for the column.
-         * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-         * A unique name within the schema type for the column.
-         * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-         * A unique name within the schema type for the column.
-         * 
- * - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-         * A unique name within the schema type for the column.
-         * 
- * - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-         * A unique name within the schema type for the column.
-         * 
- * - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Types.LiteralType literalType_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> literalTypeBuilder_; - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public boolean hasLiteralType() { - return literalTypeBuilder_ != null || literalType_ != null; - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public flyteidl.core.Types.LiteralType getLiteralType() { - if (literalTypeBuilder_ == null) { - return literalType_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : literalType_; - } else { - return literalTypeBuilder_.getMessage(); - } - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public Builder setLiteralType(flyteidl.core.Types.LiteralType value) { - if (literalTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - literalType_ = value; - onChanged(); - } else { - literalTypeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public Builder setLiteralType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (literalTypeBuilder_ == null) { - literalType_ = builderForValue.build(); - onChanged(); - } else { - literalTypeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public Builder mergeLiteralType(flyteidl.core.Types.LiteralType value) { - if (literalTypeBuilder_ == null) { - if (literalType_ != null) { - literalType_ = - flyteidl.core.Types.LiteralType.newBuilder(literalType_).mergeFrom(value).buildPartial(); - } else { - literalType_ = value; - } - onChanged(); - } else { - literalTypeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public Builder clearLiteralType() { - if (literalTypeBuilder_ == null) { - literalType_ = null; - onChanged(); - } else { - literalType_ = null; - literalTypeBuilder_ = null; - } - - return this; - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public flyteidl.core.Types.LiteralType.Builder getLiteralTypeBuilder() { - - onChanged(); - return getLiteralTypeFieldBuilder().getBuilder(); - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getLiteralTypeOrBuilder() { - if (literalTypeBuilder_ != null) { - return literalTypeBuilder_.getMessageOrBuilder(); - } else { - return literalType_ == null ? - flyteidl.core.Types.LiteralType.getDefaultInstance() : literalType_; - } - } - /** - *
-         * The column type.
-         * 
- * - * .flyteidl.core.LiteralType literal_type = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getLiteralTypeFieldBuilder() { - if (literalTypeBuilder_ == null) { - literalTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - getLiteralType(), - getParentForChildren(), - isClean()); - literalType_ = null; - } - return literalTypeBuilder_; - } - @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.StructuredDatasetType.DatasetColumn) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDatasetType.DatasetColumn) - private static final flyteidl.core.Types.StructuredDatasetType.DatasetColumn DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.StructuredDatasetType.DatasetColumn(); - } - - public static flyteidl.core.Types.StructuredDatasetType.DatasetColumn getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatasetColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DatasetColumn(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.Types.StructuredDatasetType.DatasetColumn getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int COLUMNS_FIELD_NUMBER = 1; - private java.util.List columns_; - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public java.util.List getColumnsList() { - return columns_; - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public java.util.List - getColumnsOrBuilderList() { - return columns_; - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public int getColumnsCount() { - return columns_.size(); - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn getColumns(int index) { - return columns_.get(index); - } - /** - *
-     * A list of ordered columns this schema comprises of.
-     * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.DatasetColumnOrBuilder getColumnsOrBuilder( - int index) { - return columns_.get(index); - } - - public static final int FORMAT_FIELD_NUMBER = 2; - private volatile java.lang.Object format_; - /** - *
-     * This is the storage format, the format of the bits at rest
-     * parquet, feather, csv, etc.
-     * For two types to be compatible, the format will need to be an exact match.
-     * 
- * - * string format = 2; - */ - public java.lang.String getFormat() { - java.lang.Object ref = format_; - 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(); - format_ = s; - return s; - } - } - /** - *
-     * This is the storage format, the format of the bits at rest
-     * parquet, feather, csv, etc.
-     * For two types to be compatible, the format will need to be an exact match.
-     * 
- * - * string format = 2; - */ - public com.google.protobuf.ByteString - getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXTERNAL_SCHEMA_TYPE_FIELD_NUMBER = 3; - private volatile java.lang.Object externalSchemaType_; - /** - *
-     * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-     * This is an optional field that will not be used for type checking.
-     * 
- * - * string external_schema_type = 3; - */ - public java.lang.String getExternalSchemaType() { - java.lang.Object ref = externalSchemaType_; - 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(); - externalSchemaType_ = s; - return s; - } - } - /** - *
-     * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-     * This is an optional field that will not be used for type checking.
-     * 
- * - * string external_schema_type = 3; - */ - public com.google.protobuf.ByteString - getExternalSchemaTypeBytes() { - java.lang.Object ref = externalSchemaType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - externalSchemaType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXTERNAL_SCHEMA_BYTES_FIELD_NUMBER = 4; - private com.google.protobuf.ByteString externalSchemaBytes_; - /** - *
-     * The serialized bytes of a third-party schema library like Arrow.
-     * This is an optional field that will not be used for type checking.
-     * 
- * - * bytes external_schema_bytes = 4; - */ - public com.google.protobuf.ByteString getExternalSchemaBytes() { - return externalSchemaBytes_; - } - - 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 < columns_.size(); i++) { - output.writeMessage(1, columns_.get(i)); - } - if (!getFormatBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, format_); - } - if (!getExternalSchemaTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, externalSchemaType_); - } - if (!externalSchemaBytes_.isEmpty()) { - output.writeBytes(4, externalSchemaBytes_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, columns_.get(i)); - } - if (!getFormatBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, format_); - } - if (!getExternalSchemaTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalSchemaType_); - } - if (!externalSchemaBytes_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, externalSchemaBytes_); - } - 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.Types.StructuredDatasetType)) { - return super.equals(obj); - } - flyteidl.core.Types.StructuredDatasetType other = (flyteidl.core.Types.StructuredDatasetType) obj; - - if (!getColumnsList() - .equals(other.getColumnsList())) return false; - if (!getFormat() - .equals(other.getFormat())) return false; - if (!getExternalSchemaType() - .equals(other.getExternalSchemaType())) return false; - if (!getExternalSchemaBytes() - .equals(other.getExternalSchemaBytes())) 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 (getColumnsCount() > 0) { - hash = (37 * hash) + COLUMNS_FIELD_NUMBER; - hash = (53 * hash) + getColumnsList().hashCode(); - } - hash = (37 * hash) + FORMAT_FIELD_NUMBER; - hash = (53 * hash) + getFormat().hashCode(); - hash = (37 * hash) + EXTERNAL_SCHEMA_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getExternalSchemaType().hashCode(); - hash = (37 * hash) + EXTERNAL_SCHEMA_BYTES_FIELD_NUMBER; - hash = (53 * hash) + getExternalSchemaBytes().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.StructuredDatasetType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.StructuredDatasetType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.StructuredDatasetType parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.StructuredDatasetType 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.Types.StructuredDatasetType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.StructuredDatasetType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.StructuredDatasetType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.StructuredDatasetType 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.Types.StructuredDatasetType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.StructuredDatasetType 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.Types.StructuredDatasetType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.StructuredDatasetType 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.Types.StructuredDatasetType 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.core.StructuredDatasetType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.StructuredDatasetType) - flyteidl.core.Types.StructuredDatasetTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.StructuredDatasetType.class, flyteidl.core.Types.StructuredDatasetType.Builder.class); - } - - // Construct using flyteidl.core.Types.StructuredDatasetType.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getColumnsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (columnsBuilder_ == null) { - columns_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - columnsBuilder_.clear(); - } - format_ = ""; - - externalSchemaType_ = ""; - - externalSchemaBytes_ = com.google.protobuf.ByteString.EMPTY; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_StructuredDatasetType_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.StructuredDatasetType getDefaultInstanceForType() { - return flyteidl.core.Types.StructuredDatasetType.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.StructuredDatasetType build() { - flyteidl.core.Types.StructuredDatasetType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.StructuredDatasetType buildPartial() { - flyteidl.core.Types.StructuredDatasetType result = new flyteidl.core.Types.StructuredDatasetType(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (columnsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - columns_ = java.util.Collections.unmodifiableList(columns_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.columns_ = columns_; - } else { - result.columns_ = columnsBuilder_.build(); - } - result.format_ = format_; - result.externalSchemaType_ = externalSchemaType_; - result.externalSchemaBytes_ = externalSchemaBytes_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Types.StructuredDatasetType) { - return mergeFrom((flyteidl.core.Types.StructuredDatasetType)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.StructuredDatasetType other) { - if (other == flyteidl.core.Types.StructuredDatasetType.getDefaultInstance()) return this; - if (columnsBuilder_ == null) { - if (!other.columns_.isEmpty()) { - if (columns_.isEmpty()) { - columns_ = other.columns_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureColumnsIsMutable(); - columns_.addAll(other.columns_); - } - onChanged(); - } - } else { - if (!other.columns_.isEmpty()) { - if (columnsBuilder_.isEmpty()) { - columnsBuilder_.dispose(); - columnsBuilder_ = null; - columns_ = other.columns_; - bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getColumnsFieldBuilder() : null; - } else { - columnsBuilder_.addAllMessages(other.columns_); - } - } - } - if (!other.getFormat().isEmpty()) { - format_ = other.format_; - onChanged(); - } - if (!other.getExternalSchemaType().isEmpty()) { - externalSchemaType_ = other.externalSchemaType_; - onChanged(); - } - if (other.getExternalSchemaBytes() != com.google.protobuf.ByteString.EMPTY) { - setExternalSchemaBytes(other.getExternalSchemaBytes()); - } - 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.Types.StructuredDatasetType parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.StructuredDatasetType) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List columns_ = - java.util.Collections.emptyList(); - private void ensureColumnsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(columns_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType.DatasetColumn, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder, flyteidl.core.Types.StructuredDatasetType.DatasetColumnOrBuilder> columnsBuilder_; - - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public java.util.List getColumnsList() { - if (columnsBuilder_ == null) { - return java.util.Collections.unmodifiableList(columns_); - } else { - return columnsBuilder_.getMessageList(); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public int getColumnsCount() { - if (columnsBuilder_ == null) { - return columns_.size(); - } else { - return columnsBuilder_.getCount(); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn getColumns(int index) { - if (columnsBuilder_ == null) { - return columns_.get(index); - } else { - return columnsBuilder_.getMessage(index); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder setColumns( - int index, flyteidl.core.Types.StructuredDatasetType.DatasetColumn value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.set(index, value); - onChanged(); - } else { - columnsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder setColumns( - int index, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.set(index, builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder addColumns(flyteidl.core.Types.StructuredDatasetType.DatasetColumn value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.add(value); - onChanged(); - } else { - columnsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder addColumns( - int index, flyteidl.core.Types.StructuredDatasetType.DatasetColumn value) { - if (columnsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureColumnsIsMutable(); - columns_.add(index, value); - onChanged(); - } else { - columnsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder addColumns( - flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder addColumns( - int index, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder builderForValue) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.add(index, builderForValue.build()); - onChanged(); - } else { - columnsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder addAllColumns( - java.lang.Iterable values) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); - onChanged(); - } else { - columnsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder clearColumns() { - if (columnsBuilder_ == null) { - columns_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - columnsBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public Builder removeColumns(int index) { - if (columnsBuilder_ == null) { - ensureColumnsIsMutable(); - columns_.remove(index); - onChanged(); - } else { - columnsBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder getColumnsBuilder( - int index) { - return getColumnsFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.DatasetColumnOrBuilder getColumnsOrBuilder( - int index) { - if (columnsBuilder_ == null) { - return columns_.get(index); } else { - return columnsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public java.util.List - getColumnsOrBuilderList() { - if (columnsBuilder_ != null) { - return columnsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(columns_); - } - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder addColumnsBuilder() { - return getColumnsFieldBuilder().addBuilder( - flyteidl.core.Types.StructuredDatasetType.DatasetColumn.getDefaultInstance()); - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder addColumnsBuilder( - int index) { - return getColumnsFieldBuilder().addBuilder( - index, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.getDefaultInstance()); - } - /** - *
-       * A list of ordered columns this schema comprises of.
-       * 
- * - * repeated .flyteidl.core.StructuredDatasetType.DatasetColumn columns = 1; - */ - public java.util.List - getColumnsBuilderList() { - return getColumnsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType.DatasetColumn, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder, flyteidl.core.Types.StructuredDatasetType.DatasetColumnOrBuilder> - getColumnsFieldBuilder() { - if (columnsBuilder_ == null) { - columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType.DatasetColumn, flyteidl.core.Types.StructuredDatasetType.DatasetColumn.Builder, flyteidl.core.Types.StructuredDatasetType.DatasetColumnOrBuilder>( - columns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - columns_ = null; - } - return columnsBuilder_; - } - - private java.lang.Object format_ = ""; - /** - *
-       * This is the storage format, the format of the bits at rest
-       * parquet, feather, csv, etc.
-       * For two types to be compatible, the format will need to be an exact match.
-       * 
- * - * string format = 2; - */ - public java.lang.String getFormat() { - java.lang.Object ref = format_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - format_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * This is the storage format, the format of the bits at rest
-       * parquet, feather, csv, etc.
-       * For two types to be compatible, the format will need to be an exact match.
-       * 
- * - * string format = 2; - */ - public com.google.protobuf.ByteString - getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * This is the storage format, the format of the bits at rest
-       * parquet, feather, csv, etc.
-       * For two types to be compatible, the format will need to be an exact match.
-       * 
- * - * string format = 2; - */ - public Builder setFormat( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - format_ = value; - onChanged(); - return this; - } - /** - *
-       * This is the storage format, the format of the bits at rest
-       * parquet, feather, csv, etc.
-       * For two types to be compatible, the format will need to be an exact match.
-       * 
- * - * string format = 2; - */ - public Builder clearFormat() { - - format_ = getDefaultInstance().getFormat(); - onChanged(); - return this; - } - /** - *
-       * This is the storage format, the format of the bits at rest
-       * parquet, feather, csv, etc.
-       * For two types to be compatible, the format will need to be an exact match.
-       * 
- * - * string format = 2; - */ - public Builder setFormatBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - format_ = value; - onChanged(); - return this; - } - - private java.lang.Object externalSchemaType_ = ""; - /** - *
-       * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * string external_schema_type = 3; - */ - public java.lang.String getExternalSchemaType() { - java.lang.Object ref = externalSchemaType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - externalSchemaType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * string external_schema_type = 3; - */ - public com.google.protobuf.ByteString - getExternalSchemaTypeBytes() { - java.lang.Object ref = externalSchemaType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - externalSchemaType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * string external_schema_type = 3; - */ - public Builder setExternalSchemaType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - externalSchemaType_ = value; - onChanged(); - return this; - } - /** - *
-       * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * string external_schema_type = 3; - */ - public Builder clearExternalSchemaType() { - - externalSchemaType_ = getDefaultInstance().getExternalSchemaType(); - onChanged(); - return this; - } - /** - *
-       * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * string external_schema_type = 3; - */ - public Builder setExternalSchemaTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - externalSchemaType_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString externalSchemaBytes_ = com.google.protobuf.ByteString.EMPTY; - /** - *
-       * The serialized bytes of a third-party schema library like Arrow.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * bytes external_schema_bytes = 4; - */ - public com.google.protobuf.ByteString getExternalSchemaBytes() { - return externalSchemaBytes_; - } - /** - *
-       * The serialized bytes of a third-party schema library like Arrow.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * bytes external_schema_bytes = 4; - */ - public Builder setExternalSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - externalSchemaBytes_ = value; - onChanged(); - return this; - } - /** - *
-       * The serialized bytes of a third-party schema library like Arrow.
-       * This is an optional field that will not be used for type checking.
-       * 
- * - * bytes external_schema_bytes = 4; - */ - public Builder clearExternalSchemaBytes() { - - externalSchemaBytes_ = getDefaultInstance().getExternalSchemaBytes(); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.StructuredDatasetType) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.StructuredDatasetType) - private static final flyteidl.core.Types.StructuredDatasetType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.StructuredDatasetType(); - } - - public static flyteidl.core.Types.StructuredDatasetType getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StructuredDatasetType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StructuredDatasetType(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.Types.StructuredDatasetType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BlobTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.BlobType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Format can be a free form string understood by SDK/UI etc like
-     * csv, parquet etc
-     * 
- * - * string format = 1; - */ - java.lang.String getFormat(); - /** - *
-     * Format can be a free form string understood by SDK/UI etc like
-     * csv, parquet etc
-     * 
- * - * string format = 1; - */ - com.google.protobuf.ByteString - getFormatBytes(); - - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - int getDimensionalityValue(); - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - flyteidl.core.Types.BlobType.BlobDimensionality getDimensionality(); - } - /** - *
-   * Defines type behavior for blob objects
-   * 
- * - * Protobuf type {@code flyteidl.core.BlobType} - */ - public static final class BlobType extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.BlobType) - BlobTypeOrBuilder { - private static final long serialVersionUID = 0L; - // Use BlobType.newBuilder() to construct. - private BlobType(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BlobType() { - format_ = ""; - dimensionality_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BlobType( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - format_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - dimensionality_ = rawValue; - 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.Types.internal_static_flyteidl_core_BlobType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_BlobType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.BlobType.class, flyteidl.core.Types.BlobType.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.core.BlobType.BlobDimensionality} - */ - public enum BlobDimensionality - implements com.google.protobuf.ProtocolMessageEnum { - /** - * SINGLE = 0; - */ - SINGLE(0), - /** - * MULTIPART = 1; - */ - MULTIPART(1), - UNRECOGNIZED(-1), - ; - - /** - * SINGLE = 0; - */ - public static final int SINGLE_VALUE = 0; - /** - * MULTIPART = 1; - */ - public static final int MULTIPART_VALUE = 1; - - - 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 BlobDimensionality valueOf(int value) { - return forNumber(value); - } - - public static BlobDimensionality forNumber(int value) { - switch (value) { - case 0: return SINGLE; - case 1: return MULTIPART; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - BlobDimensionality> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public BlobDimensionality findValueByNumber(int number) { - return BlobDimensionality.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.Types.BlobType.getDescriptor().getEnumTypes().get(0); - } - - private static final BlobDimensionality[] VALUES = values(); - - public static BlobDimensionality 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 BlobDimensionality(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.BlobType.BlobDimensionality) - } - - public static final int FORMAT_FIELD_NUMBER = 1; - private volatile java.lang.Object format_; - /** - *
-     * Format can be a free form string understood by SDK/UI etc like
-     * csv, parquet etc
-     * 
- * - * string format = 1; - */ - public java.lang.String getFormat() { - java.lang.Object ref = format_; - 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(); - format_ = s; - return s; - } - } - /** - *
-     * Format can be a free form string understood by SDK/UI etc like
-     * csv, parquet etc
-     * 
- * - * string format = 1; - */ - public com.google.protobuf.ByteString - getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DIMENSIONALITY_FIELD_NUMBER = 2; - private int dimensionality_; - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - public int getDimensionalityValue() { - return dimensionality_; - } - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - public flyteidl.core.Types.BlobType.BlobDimensionality getDimensionality() { - @SuppressWarnings("deprecation") - flyteidl.core.Types.BlobType.BlobDimensionality result = flyteidl.core.Types.BlobType.BlobDimensionality.valueOf(dimensionality_); - return result == null ? flyteidl.core.Types.BlobType.BlobDimensionality.UNRECOGNIZED : result; - } - - 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 (!getFormatBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, format_); - } - if (dimensionality_ != flyteidl.core.Types.BlobType.BlobDimensionality.SINGLE.getNumber()) { - output.writeEnum(2, dimensionality_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getFormatBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, format_); - } - if (dimensionality_ != flyteidl.core.Types.BlobType.BlobDimensionality.SINGLE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, dimensionality_); - } - 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.Types.BlobType)) { - return super.equals(obj); - } - flyteidl.core.Types.BlobType other = (flyteidl.core.Types.BlobType) obj; - - if (!getFormat() - .equals(other.getFormat())) return false; - if (dimensionality_ != other.dimensionality_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FORMAT_FIELD_NUMBER; - hash = (53 * hash) + getFormat().hashCode(); - hash = (37 * hash) + DIMENSIONALITY_FIELD_NUMBER; - hash = (53 * hash) + dimensionality_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.BlobType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.BlobType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.BlobType parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.BlobType 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.Types.BlobType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.BlobType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.BlobType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.BlobType 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.Types.BlobType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.BlobType 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.Types.BlobType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.BlobType 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.Types.BlobType prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines type behavior for blob objects
-     * 
- * - * Protobuf type {@code flyteidl.core.BlobType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.BlobType) - flyteidl.core.Types.BlobTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_BlobType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_BlobType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.BlobType.class, flyteidl.core.Types.BlobType.Builder.class); - } - - // Construct using flyteidl.core.Types.BlobType.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(); - format_ = ""; - - dimensionality_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_BlobType_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.BlobType getDefaultInstanceForType() { - return flyteidl.core.Types.BlobType.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.BlobType build() { - flyteidl.core.Types.BlobType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.BlobType buildPartial() { - flyteidl.core.Types.BlobType result = new flyteidl.core.Types.BlobType(this); - result.format_ = format_; - result.dimensionality_ = dimensionality_; - 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.Types.BlobType) { - return mergeFrom((flyteidl.core.Types.BlobType)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.BlobType other) { - if (other == flyteidl.core.Types.BlobType.getDefaultInstance()) return this; - if (!other.getFormat().isEmpty()) { - format_ = other.format_; - onChanged(); - } - if (other.dimensionality_ != 0) { - setDimensionalityValue(other.getDimensionalityValue()); - } - 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.Types.BlobType parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.BlobType) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object format_ = ""; - /** - *
-       * Format can be a free form string understood by SDK/UI etc like
-       * csv, parquet etc
-       * 
- * - * string format = 1; - */ - public java.lang.String getFormat() { - java.lang.Object ref = format_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - format_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Format can be a free form string understood by SDK/UI etc like
-       * csv, parquet etc
-       * 
- * - * string format = 1; - */ - public com.google.protobuf.ByteString - getFormatBytes() { - java.lang.Object ref = format_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - format_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Format can be a free form string understood by SDK/UI etc like
-       * csv, parquet etc
-       * 
- * - * string format = 1; - */ - public Builder setFormat( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - format_ = value; - onChanged(); - return this; - } - /** - *
-       * Format can be a free form string understood by SDK/UI etc like
-       * csv, parquet etc
-       * 
- * - * string format = 1; - */ - public Builder clearFormat() { - - format_ = getDefaultInstance().getFormat(); - onChanged(); - return this; - } - /** - *
-       * Format can be a free form string understood by SDK/UI etc like
-       * csv, parquet etc
-       * 
- * - * string format = 1; - */ - public Builder setFormatBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - format_ = value; - onChanged(); - return this; - } - - private int dimensionality_ = 0; - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - public int getDimensionalityValue() { - return dimensionality_; - } - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - public Builder setDimensionalityValue(int value) { - dimensionality_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - public flyteidl.core.Types.BlobType.BlobDimensionality getDimensionality() { - @SuppressWarnings("deprecation") - flyteidl.core.Types.BlobType.BlobDimensionality result = flyteidl.core.Types.BlobType.BlobDimensionality.valueOf(dimensionality_); - return result == null ? flyteidl.core.Types.BlobType.BlobDimensionality.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - public Builder setDimensionality(flyteidl.core.Types.BlobType.BlobDimensionality value) { - if (value == null) { - throw new NullPointerException(); - } - - dimensionality_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.BlobType.BlobDimensionality dimensionality = 2; - */ - public Builder clearDimensionality() { - - dimensionality_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.BlobType) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.BlobType) - private static final flyteidl.core.Types.BlobType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.BlobType(); - } - - public static flyteidl.core.Types.BlobType getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BlobType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BlobType(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.Types.BlobType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface EnumTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.EnumType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - java.util.List - getValuesList(); - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - int getValuesCount(); - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - java.lang.String getValues(int index); - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - com.google.protobuf.ByteString - getValuesBytes(int index); - } - /** - *
-   * Enables declaring enum types, with predefined string values
-   * For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish
-   * To provide no defaults, make the first value as undefined.
-   * 
- * - * Protobuf type {@code flyteidl.core.EnumType} - */ - public static final class EnumType extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.EnumType) - EnumTypeOrBuilder { - private static final long serialVersionUID = 0L; - // Use EnumType.newBuilder() to construct. - private EnumType(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EnumType() { - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EnumType( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - values_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - values_ = values_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_EnumType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_EnumType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.EnumType.class, flyteidl.core.Types.EnumType.Builder.class); - } - - public static final int VALUES_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList values_; - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - public com.google.protobuf.ProtocolStringList - getValuesList() { - return values_; - } - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - public int getValuesCount() { - return values_.size(); - } - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - public java.lang.String getValues(int index) { - return values_.get(index); - } - /** - *
-     * Predefined set of enum values.
-     * 
- * - * repeated string values = 1; - */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { - return values_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < values_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < values_.size(); i++) { - dataSize += computeStringSizeNoTag(values_.getRaw(i)); - } - size += dataSize; - size += 1 * getValuesList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Types.EnumType)) { - return super.equals(obj); - } - flyteidl.core.Types.EnumType other = (flyteidl.core.Types.EnumType) obj; - - if (!getValuesList() - .equals(other.getValuesList())) 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 (getValuesCount() > 0) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + getValuesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.EnumType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.EnumType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.EnumType parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.EnumType 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.Types.EnumType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.EnumType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.EnumType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.EnumType 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.Types.EnumType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.EnumType 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.Types.EnumType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.EnumType 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.Types.EnumType 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; - } - /** - *
-     * Enables declaring enum types, with predefined string values
-     * For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish
-     * To provide no defaults, make the first value as undefined.
-     * 
- * - * Protobuf type {@code flyteidl.core.EnumType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.EnumType) - flyteidl.core.Types.EnumTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_EnumType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_EnumType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.EnumType.class, flyteidl.core.Types.EnumType.Builder.class); - } - - // Construct using flyteidl.core.Types.EnumType.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(); - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_EnumType_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.EnumType getDefaultInstanceForType() { - return flyteidl.core.Types.EnumType.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.EnumType build() { - flyteidl.core.Types.EnumType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.EnumType buildPartial() { - flyteidl.core.Types.EnumType result = new flyteidl.core.Types.EnumType(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - values_ = values_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.values_ = values_; - 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.Types.EnumType) { - return mergeFrom((flyteidl.core.Types.EnumType)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.EnumType other) { - if (other == flyteidl.core.Types.EnumType.getDefaultInstance()) return this; - if (!other.values_.isEmpty()) { - if (values_.isEmpty()) { - values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureValuesIsMutable(); - values_.addAll(other.values_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Types.EnumType parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.EnumType) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureValuesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - values_ = new com.google.protobuf.LazyStringArrayList(values_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public com.google.protobuf.ProtocolStringList - getValuesList() { - return values_.getUnmodifiableView(); - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public int getValuesCount() { - return values_.size(); - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public java.lang.String getValues(int index) { - return values_.get(index); - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { - return values_.getByteString(index); - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public Builder setValues( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public Builder addValues( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(value); - onChanged(); - return this; - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public Builder addAllValues( - java.lang.Iterable values) { - ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); - onChanged(); - return this; - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public Builder clearValues() { - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * Predefined set of enum values.
-       * 
- * - * repeated string values = 1; - */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureValuesIsMutable(); - values_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.EnumType) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.EnumType) - private static final flyteidl.core.Types.EnumType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.EnumType(); - } - - public static flyteidl.core.Types.EnumType getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnumType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EnumType(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.Types.EnumType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UnionTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.UnionType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - java.util.List - getVariantsList(); - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - flyteidl.core.Types.LiteralType getVariants(int index); - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - int getVariantsCount(); - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - java.util.List - getVariantsOrBuilderList(); - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getVariantsOrBuilder( - int index); - } - /** - *
-   * Defines a tagged union type, also known as a variant (and formally as the sum type).
-   * A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag
-   * A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by
-   * storing the varaint's tag with the literal value and can be examined in runtime.
-   * Type S is typically written as
-   * S := Apple A | Banana B | Cantaloupe C | ...
-   * Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:
-   * Optional X := X | Null
-   * See also: https://en.wikipedia.org/wiki/Tagged_union
-   * 
- * - * Protobuf type {@code flyteidl.core.UnionType} - */ - public static final class UnionType extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.UnionType) - UnionTypeOrBuilder { - private static final long serialVersionUID = 0L; - // Use UnionType.newBuilder() to construct. - private UnionType(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UnionType() { - variants_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UnionType( - 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)) { - variants_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - variants_.add( - input.readMessage(flyteidl.core.Types.LiteralType.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)) { - variants_ = java.util.Collections.unmodifiableList(variants_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_UnionType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_UnionType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.UnionType.class, flyteidl.core.Types.UnionType.Builder.class); - } - - public static final int VARIANTS_FIELD_NUMBER = 1; - private java.util.List variants_; - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public java.util.List getVariantsList() { - return variants_; - } - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public java.util.List - getVariantsOrBuilderList() { - return variants_; - } - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public int getVariantsCount() { - return variants_.size(); - } - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public flyteidl.core.Types.LiteralType getVariants(int index) { - return variants_.get(index); - } - /** - *
-     * Predefined set of variants in union.
-     * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getVariantsOrBuilder( - int index) { - return variants_.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 < variants_.size(); i++) { - output.writeMessage(1, variants_.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 < variants_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, variants_.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.Types.UnionType)) { - return super.equals(obj); - } - flyteidl.core.Types.UnionType other = (flyteidl.core.Types.UnionType) obj; - - if (!getVariantsList() - .equals(other.getVariantsList())) 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 (getVariantsCount() > 0) { - hash = (37 * hash) + VARIANTS_FIELD_NUMBER; - hash = (53 * hash) + getVariantsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.UnionType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.UnionType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.UnionType parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.UnionType 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.Types.UnionType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.UnionType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.UnionType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.UnionType 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.Types.UnionType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.UnionType 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.Types.UnionType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.UnionType 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.Types.UnionType prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a tagged union type, also known as a variant (and formally as the sum type).
-     * A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag
-     * A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by
-     * storing the varaint's tag with the literal value and can be examined in runtime.
-     * Type S is typically written as
-     * S := Apple A | Banana B | Cantaloupe C | ...
-     * Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:
-     * Optional X := X | Null
-     * See also: https://en.wikipedia.org/wiki/Tagged_union
-     * 
- * - * Protobuf type {@code flyteidl.core.UnionType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.UnionType) - flyteidl.core.Types.UnionTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_UnionType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_UnionType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.UnionType.class, flyteidl.core.Types.UnionType.Builder.class); - } - - // Construct using flyteidl.core.Types.UnionType.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getVariantsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (variantsBuilder_ == null) { - variants_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - variantsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_UnionType_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.UnionType getDefaultInstanceForType() { - return flyteidl.core.Types.UnionType.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.UnionType build() { - flyteidl.core.Types.UnionType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.UnionType buildPartial() { - flyteidl.core.Types.UnionType result = new flyteidl.core.Types.UnionType(this); - int from_bitField0_ = bitField0_; - if (variantsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - variants_ = java.util.Collections.unmodifiableList(variants_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.variants_ = variants_; - } else { - result.variants_ = variantsBuilder_.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.Types.UnionType) { - return mergeFrom((flyteidl.core.Types.UnionType)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.UnionType other) { - if (other == flyteidl.core.Types.UnionType.getDefaultInstance()) return this; - if (variantsBuilder_ == null) { - if (!other.variants_.isEmpty()) { - if (variants_.isEmpty()) { - variants_ = other.variants_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureVariantsIsMutable(); - variants_.addAll(other.variants_); - } - onChanged(); - } - } else { - if (!other.variants_.isEmpty()) { - if (variantsBuilder_.isEmpty()) { - variantsBuilder_.dispose(); - variantsBuilder_ = null; - variants_ = other.variants_; - bitField0_ = (bitField0_ & ~0x00000001); - variantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVariantsFieldBuilder() : null; - } else { - variantsBuilder_.addAllMessages(other.variants_); - } - } - } - 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.Types.UnionType parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.UnionType) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List variants_ = - java.util.Collections.emptyList(); - private void ensureVariantsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - variants_ = new java.util.ArrayList(variants_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> variantsBuilder_; - - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public java.util.List getVariantsList() { - if (variantsBuilder_ == null) { - return java.util.Collections.unmodifiableList(variants_); - } else { - return variantsBuilder_.getMessageList(); - } - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public int getVariantsCount() { - if (variantsBuilder_ == null) { - return variants_.size(); - } else { - return variantsBuilder_.getCount(); - } - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public flyteidl.core.Types.LiteralType getVariants(int index) { - if (variantsBuilder_ == null) { - return variants_.get(index); - } else { - return variantsBuilder_.getMessage(index); - } - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder setVariants( - int index, flyteidl.core.Types.LiteralType value) { - if (variantsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariantsIsMutable(); - variants_.set(index, value); - onChanged(); - } else { - variantsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder setVariants( - int index, flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (variantsBuilder_ == null) { - ensureVariantsIsMutable(); - variants_.set(index, builderForValue.build()); - onChanged(); - } else { - variantsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder addVariants(flyteidl.core.Types.LiteralType value) { - if (variantsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariantsIsMutable(); - variants_.add(value); - onChanged(); - } else { - variantsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder addVariants( - int index, flyteidl.core.Types.LiteralType value) { - if (variantsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariantsIsMutable(); - variants_.add(index, value); - onChanged(); - } else { - variantsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder addVariants( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (variantsBuilder_ == null) { - ensureVariantsIsMutable(); - variants_.add(builderForValue.build()); - onChanged(); - } else { - variantsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder addVariants( - int index, flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (variantsBuilder_ == null) { - ensureVariantsIsMutable(); - variants_.add(index, builderForValue.build()); - onChanged(); - } else { - variantsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder addAllVariants( - java.lang.Iterable values) { - if (variantsBuilder_ == null) { - ensureVariantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variants_); - onChanged(); - } else { - variantsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder clearVariants() { - if (variantsBuilder_ == null) { - variants_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - variantsBuilder_.clear(); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public Builder removeVariants(int index) { - if (variantsBuilder_ == null) { - ensureVariantsIsMutable(); - variants_.remove(index); - onChanged(); - } else { - variantsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public flyteidl.core.Types.LiteralType.Builder getVariantsBuilder( - int index) { - return getVariantsFieldBuilder().getBuilder(index); - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getVariantsOrBuilder( - int index) { - if (variantsBuilder_ == null) { - return variants_.get(index); } else { - return variantsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public java.util.List - getVariantsOrBuilderList() { - if (variantsBuilder_ != null) { - return variantsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variants_); - } - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public flyteidl.core.Types.LiteralType.Builder addVariantsBuilder() { - return getVariantsFieldBuilder().addBuilder( - flyteidl.core.Types.LiteralType.getDefaultInstance()); - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public flyteidl.core.Types.LiteralType.Builder addVariantsBuilder( - int index) { - return getVariantsFieldBuilder().addBuilder( - index, flyteidl.core.Types.LiteralType.getDefaultInstance()); - } - /** - *
-       * Predefined set of variants in union.
-       * 
- * - * repeated .flyteidl.core.LiteralType variants = 1; - */ - public java.util.List - getVariantsBuilderList() { - return getVariantsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getVariantsFieldBuilder() { - if (variantsBuilder_ == null) { - variantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - variants_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - variants_ = null; - } - return variantsBuilder_; - } - @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.UnionType) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.UnionType) - private static final flyteidl.core.Types.UnionType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.UnionType(); - } - - public static flyteidl.core.Types.UnionType getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnionType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UnionType(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.Types.UnionType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TypeStructureOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TypeStructure) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Must exactly match for types to be castable
-     * 
- * - * string tag = 1; - */ - java.lang.String getTag(); - /** - *
-     * Must exactly match for types to be castable
-     * 
- * - * string tag = 1; - */ - com.google.protobuf.ByteString - getTagBytes(); - - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - int getDataclassTypeCount(); - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - boolean containsDataclassType( - java.lang.String key); - /** - * Use {@link #getDataclassTypeMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getDataclassType(); - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - java.util.Map - getDataclassTypeMap(); - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - flyteidl.core.Types.LiteralType getDataclassTypeOrDefault( - java.lang.String key, - flyteidl.core.Types.LiteralType defaultValue); - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - flyteidl.core.Types.LiteralType getDataclassTypeOrThrow( - java.lang.String key); - } - /** - *
-   * Hints to improve type matching
-   * e.g. allows distinguishing output from custom type transformers
-   * even if the underlying IDL serialization matches.
-   * 
- * - * Protobuf type {@code flyteidl.core.TypeStructure} - */ - public static final class TypeStructure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TypeStructure) - TypeStructureOrBuilder { - private static final long serialVersionUID = 0L; - // Use TypeStructure.newBuilder() to construct. - private TypeStructure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TypeStructure() { - tag_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TypeStructure( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - tag_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - dataclassType_ = com.google.protobuf.MapField.newMapField( - DataclassTypeDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - dataclassType__ = input.readMessage( - DataclassTypeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - dataclassType_.getMutableMap().put( - dataclassType__.getKey(), dataclassType__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeStructure_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 2: - return internalGetDataclassType(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeStructure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.TypeStructure.class, flyteidl.core.Types.TypeStructure.Builder.class); - } - - private int bitField0_; - public static final int TAG_FIELD_NUMBER = 1; - private volatile java.lang.Object tag_; - /** - *
-     * Must exactly match for types to be castable
-     * 
- * - * string tag = 1; - */ - public java.lang.String getTag() { - java.lang.Object ref = tag_; - 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(); - tag_ = s; - return s; - } - } - /** - *
-     * Must exactly match for types to be castable
-     * 
- * - * string tag = 1; - */ - public com.google.protobuf.ByteString - getTagBytes() { - java.lang.Object ref = tag_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATACLASS_TYPE_FIELD_NUMBER = 2; - private static final class DataclassTypeDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, flyteidl.core.Types.LiteralType> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Types.internal_static_flyteidl_core_TypeStructure_DataclassTypeEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - flyteidl.core.Types.LiteralType.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Types.LiteralType> dataclassType_; - private com.google.protobuf.MapField - internalGetDataclassType() { - if (dataclassType_ == null) { - return com.google.protobuf.MapField.emptyMapField( - DataclassTypeDefaultEntryHolder.defaultEntry); - } - return dataclassType_; - } - - public int getDataclassTypeCount() { - return internalGetDataclassType().getMap().size(); - } - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public boolean containsDataclassType( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetDataclassType().getMap().containsKey(key); - } - /** - * Use {@link #getDataclassTypeMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getDataclassType() { - return getDataclassTypeMap(); - } - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public java.util.Map getDataclassTypeMap() { - return internalGetDataclassType().getMap(); - } - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public flyteidl.core.Types.LiteralType getDataclassTypeOrDefault( - java.lang.String key, - flyteidl.core.Types.LiteralType defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDataclassType().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * dataclass_type only exists for dataclasses.
-     * This is used to resolve the type of the fields of dataclass
-     * The key is the field name, and the value is the literal type of the field
-     * e.g. For dataclass Foo, with fields a, and a is a string
-     * Foo.a will be resolved as a literal type of string from dataclass_type
-     * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public flyteidl.core.Types.LiteralType getDataclassTypeOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDataclassType().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getTagBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tag_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetDataclassType(), - DataclassTypeDefaultEntryHolder.defaultEntry, - 2); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTagBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tag_); - } - for (java.util.Map.Entry entry - : internalGetDataclassType().getMap().entrySet()) { - com.google.protobuf.MapEntry - dataclassType__ = DataclassTypeDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, dataclassType__); - } - 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.Types.TypeStructure)) { - return super.equals(obj); - } - flyteidl.core.Types.TypeStructure other = (flyteidl.core.Types.TypeStructure) obj; - - if (!getTag() - .equals(other.getTag())) return false; - if (!internalGetDataclassType().equals( - other.internalGetDataclassType())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TAG_FIELD_NUMBER; - hash = (53 * hash) + getTag().hashCode(); - if (!internalGetDataclassType().getMap().isEmpty()) { - hash = (37 * hash) + DATACLASS_TYPE_FIELD_NUMBER; - hash = (53 * hash) + internalGetDataclassType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.TypeStructure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.TypeStructure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.TypeStructure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.TypeStructure 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.Types.TypeStructure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.TypeStructure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.TypeStructure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.TypeStructure 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.Types.TypeStructure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.TypeStructure 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.Types.TypeStructure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.TypeStructure 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.Types.TypeStructure 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; - } - /** - *
-     * Hints to improve type matching
-     * e.g. allows distinguishing output from custom type transformers
-     * even if the underlying IDL serialization matches.
-     * 
- * - * Protobuf type {@code flyteidl.core.TypeStructure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TypeStructure) - flyteidl.core.Types.TypeStructureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeStructure_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 2: - return internalGetDataclassType(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 2: - return internalGetMutableDataclassType(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeStructure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.TypeStructure.class, flyteidl.core.Types.TypeStructure.Builder.class); - } - - // Construct using flyteidl.core.Types.TypeStructure.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(); - tag_ = ""; - - internalGetMutableDataclassType().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeStructure_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.TypeStructure getDefaultInstanceForType() { - return flyteidl.core.Types.TypeStructure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.TypeStructure build() { - flyteidl.core.Types.TypeStructure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.TypeStructure buildPartial() { - flyteidl.core.Types.TypeStructure result = new flyteidl.core.Types.TypeStructure(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.tag_ = tag_; - result.dataclassType_ = internalGetDataclassType(); - result.dataclassType_.makeImmutable(); - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Types.TypeStructure) { - return mergeFrom((flyteidl.core.Types.TypeStructure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.TypeStructure other) { - if (other == flyteidl.core.Types.TypeStructure.getDefaultInstance()) return this; - if (!other.getTag().isEmpty()) { - tag_ = other.tag_; - onChanged(); - } - internalGetMutableDataclassType().mergeFrom( - other.internalGetDataclassType()); - 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.Types.TypeStructure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.TypeStructure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object tag_ = ""; - /** - *
-       * Must exactly match for types to be castable
-       * 
- * - * string tag = 1; - */ - public java.lang.String getTag() { - java.lang.Object ref = tag_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - tag_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Must exactly match for types to be castable
-       * 
- * - * string tag = 1; - */ - public com.google.protobuf.ByteString - getTagBytes() { - java.lang.Object ref = tag_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Must exactly match for types to be castable
-       * 
- * - * string tag = 1; - */ - public Builder setTag( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - tag_ = value; - onChanged(); - return this; - } - /** - *
-       * Must exactly match for types to be castable
-       * 
- * - * string tag = 1; - */ - public Builder clearTag() { - - tag_ = getDefaultInstance().getTag(); - onChanged(); - return this; - } - /** - *
-       * Must exactly match for types to be castable
-       * 
- * - * string tag = 1; - */ - public Builder setTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - tag_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, flyteidl.core.Types.LiteralType> dataclassType_; - private com.google.protobuf.MapField - internalGetDataclassType() { - if (dataclassType_ == null) { - return com.google.protobuf.MapField.emptyMapField( - DataclassTypeDefaultEntryHolder.defaultEntry); - } - return dataclassType_; - } - private com.google.protobuf.MapField - internalGetMutableDataclassType() { - onChanged();; - if (dataclassType_ == null) { - dataclassType_ = com.google.protobuf.MapField.newMapField( - DataclassTypeDefaultEntryHolder.defaultEntry); - } - if (!dataclassType_.isMutable()) { - dataclassType_ = dataclassType_.copy(); - } - return dataclassType_; - } - - public int getDataclassTypeCount() { - return internalGetDataclassType().getMap().size(); - } - /** - *
-       * dataclass_type only exists for dataclasses.
-       * This is used to resolve the type of the fields of dataclass
-       * The key is the field name, and the value is the literal type of the field
-       * e.g. For dataclass Foo, with fields a, and a is a string
-       * Foo.a will be resolved as a literal type of string from dataclass_type
-       * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public boolean containsDataclassType( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetDataclassType().getMap().containsKey(key); - } - /** - * Use {@link #getDataclassTypeMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getDataclassType() { - return getDataclassTypeMap(); - } - /** - *
-       * dataclass_type only exists for dataclasses.
-       * This is used to resolve the type of the fields of dataclass
-       * The key is the field name, and the value is the literal type of the field
-       * e.g. For dataclass Foo, with fields a, and a is a string
-       * Foo.a will be resolved as a literal type of string from dataclass_type
-       * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public java.util.Map getDataclassTypeMap() { - return internalGetDataclassType().getMap(); - } - /** - *
-       * dataclass_type only exists for dataclasses.
-       * This is used to resolve the type of the fields of dataclass
-       * The key is the field name, and the value is the literal type of the field
-       * e.g. For dataclass Foo, with fields a, and a is a string
-       * Foo.a will be resolved as a literal type of string from dataclass_type
-       * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public flyteidl.core.Types.LiteralType getDataclassTypeOrDefault( - java.lang.String key, - flyteidl.core.Types.LiteralType defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDataclassType().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * dataclass_type only exists for dataclasses.
-       * This is used to resolve the type of the fields of dataclass
-       * The key is the field name, and the value is the literal type of the field
-       * e.g. For dataclass Foo, with fields a, and a is a string
-       * Foo.a will be resolved as a literal type of string from dataclass_type
-       * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public flyteidl.core.Types.LiteralType getDataclassTypeOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetDataclassType().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearDataclassType() { - internalGetMutableDataclassType().getMutableMap() - .clear(); - return this; - } - /** - *
-       * dataclass_type only exists for dataclasses.
-       * This is used to resolve the type of the fields of dataclass
-       * The key is the field name, and the value is the literal type of the field
-       * e.g. For dataclass Foo, with fields a, and a is a string
-       * Foo.a will be resolved as a literal type of string from dataclass_type
-       * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public Builder removeDataclassType( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableDataclassType().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableDataclassType() { - return internalGetMutableDataclassType().getMutableMap(); - } - /** - *
-       * dataclass_type only exists for dataclasses.
-       * This is used to resolve the type of the fields of dataclass
-       * The key is the field name, and the value is the literal type of the field
-       * e.g. For dataclass Foo, with fields a, and a is a string
-       * Foo.a will be resolved as a literal type of string from dataclass_type
-       * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - public Builder putDataclassType( - java.lang.String key, - flyteidl.core.Types.LiteralType value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableDataclassType().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * dataclass_type only exists for dataclasses.
-       * This is used to resolve the type of the fields of dataclass
-       * The key is the field name, and the value is the literal type of the field
-       * e.g. For dataclass Foo, with fields a, and a is a string
-       * Foo.a will be resolved as a literal type of string from dataclass_type
-       * 
- * - * map<string, .flyteidl.core.LiteralType> dataclass_type = 2; - */ - - public Builder putAllDataclassType( - java.util.Map values) { - internalGetMutableDataclassType().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.TypeStructure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TypeStructure) - private static final flyteidl.core.Types.TypeStructure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.TypeStructure(); - } - - public static flyteidl.core.Types.TypeStructure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypeStructure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypeStructure(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.Types.TypeStructure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TypeAnnotationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TypeAnnotation) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A arbitrary JSON payload to describe a type.
-     * 
- * - * .google.protobuf.Struct annotations = 1; - */ - boolean hasAnnotations(); - /** - *
-     * A arbitrary JSON payload to describe a type.
-     * 
- * - * .google.protobuf.Struct annotations = 1; - */ - com.google.protobuf.Struct getAnnotations(); - /** - *
-     * A arbitrary JSON payload to describe a type.
-     * 
- * - * .google.protobuf.Struct annotations = 1; - */ - com.google.protobuf.StructOrBuilder getAnnotationsOrBuilder(); - } - /** - *
-   * TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs.
-   * 
- * - * Protobuf type {@code flyteidl.core.TypeAnnotation} - */ - public static final class TypeAnnotation extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TypeAnnotation) - TypeAnnotationOrBuilder { - private static final long serialVersionUID = 0L; - // Use TypeAnnotation.newBuilder() to construct. - private TypeAnnotation(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TypeAnnotation() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TypeAnnotation( - 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: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (annotations_ != null) { - subBuilder = annotations_.toBuilder(); - } - annotations_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotations_); - annotations_ = 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.core.Types.internal_static_flyteidl_core_TypeAnnotation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeAnnotation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.TypeAnnotation.class, flyteidl.core.Types.TypeAnnotation.Builder.class); - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 1; - private com.google.protobuf.Struct annotations_; - /** - *
-     * A arbitrary JSON payload to describe a type.
-     * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public boolean hasAnnotations() { - return annotations_ != null; - } - /** - *
-     * A arbitrary JSON payload to describe a type.
-     * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public com.google.protobuf.Struct getAnnotations() { - return annotations_ == null ? com.google.protobuf.Struct.getDefaultInstance() : annotations_; - } - /** - *
-     * A arbitrary JSON payload to describe a type.
-     * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public com.google.protobuf.StructOrBuilder getAnnotationsOrBuilder() { - return getAnnotations(); - } - - 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 (annotations_ != null) { - output.writeMessage(1, getAnnotations()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (annotations_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAnnotations()); - } - 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.Types.TypeAnnotation)) { - return super.equals(obj); - } - flyteidl.core.Types.TypeAnnotation other = (flyteidl.core.Types.TypeAnnotation) obj; - - if (hasAnnotations() != other.hasAnnotations()) return false; - if (hasAnnotations()) { - if (!getAnnotations() - .equals(other.getAnnotations())) 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 (hasAnnotations()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + getAnnotations().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.TypeAnnotation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.TypeAnnotation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.TypeAnnotation parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.TypeAnnotation 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.Types.TypeAnnotation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.TypeAnnotation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.TypeAnnotation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.TypeAnnotation 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.Types.TypeAnnotation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.TypeAnnotation 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.Types.TypeAnnotation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.TypeAnnotation 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.Types.TypeAnnotation 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; - } - /** - *
-     * TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs.
-     * 
- * - * Protobuf type {@code flyteidl.core.TypeAnnotation} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TypeAnnotation) - flyteidl.core.Types.TypeAnnotationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeAnnotation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeAnnotation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.TypeAnnotation.class, flyteidl.core.Types.TypeAnnotation.Builder.class); - } - - // Construct using flyteidl.core.Types.TypeAnnotation.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 (annotationsBuilder_ == null) { - annotations_ = null; - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_TypeAnnotation_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.TypeAnnotation getDefaultInstanceForType() { - return flyteidl.core.Types.TypeAnnotation.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.TypeAnnotation build() { - flyteidl.core.Types.TypeAnnotation result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.TypeAnnotation buildPartial() { - flyteidl.core.Types.TypeAnnotation result = new flyteidl.core.Types.TypeAnnotation(this); - if (annotationsBuilder_ == null) { - result.annotations_ = annotations_; - } else { - result.annotations_ = annotationsBuilder_.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.Types.TypeAnnotation) { - return mergeFrom((flyteidl.core.Types.TypeAnnotation)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.TypeAnnotation other) { - if (other == flyteidl.core.Types.TypeAnnotation.getDefaultInstance()) return this; - if (other.hasAnnotations()) { - mergeAnnotations(other.getAnnotations()); - } - 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.Types.TypeAnnotation parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.TypeAnnotation) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.protobuf.Struct annotations_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> annotationsBuilder_; - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public boolean hasAnnotations() { - return annotationsBuilder_ != null || annotations_ != null; - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public com.google.protobuf.Struct getAnnotations() { - if (annotationsBuilder_ == null) { - return annotations_ == null ? com.google.protobuf.Struct.getDefaultInstance() : annotations_; - } else { - return annotationsBuilder_.getMessage(); - } - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public Builder setAnnotations(com.google.protobuf.Struct value) { - if (annotationsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - annotations_ = value; - onChanged(); - } else { - annotationsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public Builder setAnnotations( - com.google.protobuf.Struct.Builder builderForValue) { - if (annotationsBuilder_ == null) { - annotations_ = builderForValue.build(); - onChanged(); - } else { - annotationsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public Builder mergeAnnotations(com.google.protobuf.Struct value) { - if (annotationsBuilder_ == null) { - if (annotations_ != null) { - annotations_ = - com.google.protobuf.Struct.newBuilder(annotations_).mergeFrom(value).buildPartial(); - } else { - annotations_ = value; - } - onChanged(); - } else { - annotationsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public Builder clearAnnotations() { - if (annotationsBuilder_ == null) { - annotations_ = null; - onChanged(); - } else { - annotations_ = null; - annotationsBuilder_ = null; - } - - return this; - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public com.google.protobuf.Struct.Builder getAnnotationsBuilder() { - - onChanged(); - return getAnnotationsFieldBuilder().getBuilder(); - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - public com.google.protobuf.StructOrBuilder getAnnotationsOrBuilder() { - if (annotationsBuilder_ != null) { - return annotationsBuilder_.getMessageOrBuilder(); - } else { - return annotations_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : annotations_; - } - } - /** - *
-       * A arbitrary JSON payload to describe a type.
-       * 
- * - * .google.protobuf.Struct annotations = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getAnnotationsFieldBuilder() { - if (annotationsBuilder_ == null) { - annotationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getAnnotations(), - getParentForChildren(), - isClean()); - annotations_ = null; - } - return annotationsBuilder_; - } - @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.TypeAnnotation) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TypeAnnotation) - private static final flyteidl.core.Types.TypeAnnotation DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.TypeAnnotation(); - } - - public static flyteidl.core.Types.TypeAnnotation getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypeAnnotation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypeAnnotation(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.Types.TypeAnnotation getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface LiteralTypeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.LiteralType) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A simple type that can be compared one-to-one with another.
-     * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - int getSimpleValue(); - /** - *
-     * A simple type that can be compared one-to-one with another.
-     * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - flyteidl.core.Types.SimpleType getSimple(); - - /** - *
-     * A complex type that requires matching of inner fields.
-     * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - boolean hasSchema(); - /** - *
-     * A complex type that requires matching of inner fields.
-     * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - flyteidl.core.Types.SchemaType getSchema(); - /** - *
-     * A complex type that requires matching of inner fields.
-     * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - flyteidl.core.Types.SchemaTypeOrBuilder getSchemaOrBuilder(); - - /** - *
-     * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-     * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - boolean hasCollectionType(); - /** - *
-     * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-     * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - flyteidl.core.Types.LiteralType getCollectionType(); - /** - *
-     * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-     * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getCollectionTypeOrBuilder(); - - /** - *
-     * Defines the type of the value of a map type. The type of the key is always a string.
-     * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - boolean hasMapValueType(); - /** - *
-     * Defines the type of the value of a map type. The type of the key is always a string.
-     * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - flyteidl.core.Types.LiteralType getMapValueType(); - /** - *
-     * Defines the type of the value of a map type. The type of the key is always a string.
-     * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getMapValueTypeOrBuilder(); - - /** - *
-     * A blob might have specialized implementation details depending on associated metadata.
-     * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - boolean hasBlob(); - /** - *
-     * A blob might have specialized implementation details depending on associated metadata.
-     * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - flyteidl.core.Types.BlobType getBlob(); - /** - *
-     * A blob might have specialized implementation details depending on associated metadata.
-     * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - flyteidl.core.Types.BlobTypeOrBuilder getBlobOrBuilder(); - - /** - *
-     * Defines an enum with pre-defined string values.
-     * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - boolean hasEnumType(); - /** - *
-     * Defines an enum with pre-defined string values.
-     * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - flyteidl.core.Types.EnumType getEnumType(); - /** - *
-     * Defines an enum with pre-defined string values.
-     * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - flyteidl.core.Types.EnumTypeOrBuilder getEnumTypeOrBuilder(); - - /** - *
-     * Generalized schema support
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - boolean hasStructuredDatasetType(); - /** - *
-     * Generalized schema support
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - flyteidl.core.Types.StructuredDatasetType getStructuredDatasetType(); - /** - *
-     * Generalized schema support
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - flyteidl.core.Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder(); - - /** - *
-     * Defines an union type with pre-defined LiteralTypes.
-     * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - boolean hasUnionType(); - /** - *
-     * Defines an union type with pre-defined LiteralTypes.
-     * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - flyteidl.core.Types.UnionType getUnionType(); - /** - *
-     * Defines an union type with pre-defined LiteralTypes.
-     * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - flyteidl.core.Types.UnionTypeOrBuilder getUnionTypeOrBuilder(); - - /** - *
-     * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-     * consumers to identify special behavior or display extended information for the type.
-     * 
- * - * .google.protobuf.Struct metadata = 6; - */ - boolean hasMetadata(); - /** - *
-     * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-     * consumers to identify special behavior or display extended information for the type.
-     * 
- * - * .google.protobuf.Struct metadata = 6; - */ - com.google.protobuf.Struct getMetadata(); - /** - *
-     * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-     * consumers to identify special behavior or display extended information for the type.
-     * 
- * - * .google.protobuf.Struct metadata = 6; - */ - com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); - - /** - *
-     * This field contains arbitrary data that might have special semantic
-     * meaning for the client but does not effect internal flyte behavior.
-     * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - boolean hasAnnotation(); - /** - *
-     * This field contains arbitrary data that might have special semantic
-     * meaning for the client but does not effect internal flyte behavior.
-     * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - flyteidl.core.Types.TypeAnnotation getAnnotation(); - /** - *
-     * This field contains arbitrary data that might have special semantic
-     * meaning for the client but does not effect internal flyte behavior.
-     * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - flyteidl.core.Types.TypeAnnotationOrBuilder getAnnotationOrBuilder(); - - /** - *
-     * Hints to improve type matching.
-     * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - boolean hasStructure(); - /** - *
-     * Hints to improve type matching.
-     * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - flyteidl.core.Types.TypeStructure getStructure(); - /** - *
-     * Hints to improve type matching.
-     * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - flyteidl.core.Types.TypeStructureOrBuilder getStructureOrBuilder(); - - public flyteidl.core.Types.LiteralType.TypeCase getTypeCase(); - } - /** - *
-   * Defines a strong type to allow type checking between interfaces.
-   * 
- * - * Protobuf type {@code flyteidl.core.LiteralType} - */ - public static final class LiteralType extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.LiteralType) - LiteralTypeOrBuilder { - private static final long serialVersionUID = 0L; - // Use LiteralType.newBuilder() to construct. - private LiteralType(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private LiteralType() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private LiteralType( - 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(); - typeCase_ = 1; - type_ = rawValue; - break; - } - case 18: { - flyteidl.core.Types.SchemaType.Builder subBuilder = null; - if (typeCase_ == 2) { - subBuilder = ((flyteidl.core.Types.SchemaType) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.core.Types.SchemaType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.SchemaType) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 2; - break; - } - case 26: { - flyteidl.core.Types.LiteralType.Builder subBuilder = null; - if (typeCase_ == 3) { - subBuilder = ((flyteidl.core.Types.LiteralType) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.LiteralType) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 3; - break; - } - case 34: { - flyteidl.core.Types.LiteralType.Builder subBuilder = null; - if (typeCase_ == 4) { - subBuilder = ((flyteidl.core.Types.LiteralType) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.LiteralType) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 4; - break; - } - case 42: { - flyteidl.core.Types.BlobType.Builder subBuilder = null; - if (typeCase_ == 5) { - subBuilder = ((flyteidl.core.Types.BlobType) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.core.Types.BlobType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.BlobType) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 5; - break; - } - case 50: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - flyteidl.core.Types.EnumType.Builder subBuilder = null; - if (typeCase_ == 7) { - subBuilder = ((flyteidl.core.Types.EnumType) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.core.Types.EnumType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.EnumType) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 7; - break; - } - case 66: { - flyteidl.core.Types.StructuredDatasetType.Builder subBuilder = null; - if (typeCase_ == 8) { - subBuilder = ((flyteidl.core.Types.StructuredDatasetType) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.core.Types.StructuredDatasetType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.StructuredDatasetType) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 8; - break; - } - case 74: { - flyteidl.core.Types.TypeAnnotation.Builder subBuilder = null; - if (annotation_ != null) { - subBuilder = annotation_.toBuilder(); - } - annotation_ = input.readMessage(flyteidl.core.Types.TypeAnnotation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotation_); - annotation_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - flyteidl.core.Types.UnionType.Builder subBuilder = null; - if (typeCase_ == 10) { - subBuilder = ((flyteidl.core.Types.UnionType) type_).toBuilder(); - } - type_ = - input.readMessage(flyteidl.core.Types.UnionType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.UnionType) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 10; - break; - } - case 90: { - flyteidl.core.Types.TypeStructure.Builder subBuilder = null; - if (structure_ != null) { - subBuilder = structure_.toBuilder(); - } - structure_ = input.readMessage(flyteidl.core.Types.TypeStructure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(structure_); - structure_ = 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.core.Types.internal_static_flyteidl_core_LiteralType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_LiteralType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.LiteralType.class, flyteidl.core.Types.LiteralType.Builder.class); - } - - private int typeCase_ = 0; - private java.lang.Object type_; - public enum TypeCase - implements com.google.protobuf.Internal.EnumLite { - SIMPLE(1), - SCHEMA(2), - COLLECTION_TYPE(3), - MAP_VALUE_TYPE(4), - BLOB(5), - ENUM_TYPE(7), - STRUCTURED_DATASET_TYPE(8), - UNION_TYPE(10), - TYPE_NOT_SET(0); - private final int value; - private TypeCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TypeCase valueOf(int value) { - return forNumber(value); - } - - public static TypeCase forNumber(int value) { - switch (value) { - case 1: return SIMPLE; - case 2: return SCHEMA; - case 3: return COLLECTION_TYPE; - case 4: return MAP_VALUE_TYPE; - case 5: return BLOB; - case 7: return ENUM_TYPE; - case 8: return STRUCTURED_DATASET_TYPE; - case 10: return UNION_TYPE; - case 0: return TYPE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); - } - - public static final int SIMPLE_FIELD_NUMBER = 1; - /** - *
-     * A simple type that can be compared one-to-one with another.
-     * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - public int getSimpleValue() { - if (typeCase_ == 1) { - return (java.lang.Integer) type_; - } - return 0; - } - /** - *
-     * A simple type that can be compared one-to-one with another.
-     * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - public flyteidl.core.Types.SimpleType getSimple() { - if (typeCase_ == 1) { - @SuppressWarnings("deprecation") - flyteidl.core.Types.SimpleType result = flyteidl.core.Types.SimpleType.valueOf( - (java.lang.Integer) type_); - return result == null ? flyteidl.core.Types.SimpleType.UNRECOGNIZED : result; - } - return flyteidl.core.Types.SimpleType.NONE; - } - - public static final int SCHEMA_FIELD_NUMBER = 2; - /** - *
-     * A complex type that requires matching of inner fields.
-     * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public boolean hasSchema() { - return typeCase_ == 2; - } - /** - *
-     * A complex type that requires matching of inner fields.
-     * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public flyteidl.core.Types.SchemaType getSchema() { - if (typeCase_ == 2) { - return (flyteidl.core.Types.SchemaType) type_; - } - return flyteidl.core.Types.SchemaType.getDefaultInstance(); - } - /** - *
-     * A complex type that requires matching of inner fields.
-     * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public flyteidl.core.Types.SchemaTypeOrBuilder getSchemaOrBuilder() { - if (typeCase_ == 2) { - return (flyteidl.core.Types.SchemaType) type_; - } - return flyteidl.core.Types.SchemaType.getDefaultInstance(); - } - - public static final int COLLECTION_TYPE_FIELD_NUMBER = 3; - /** - *
-     * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-     * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public boolean hasCollectionType() { - return typeCase_ == 3; - } - /** - *
-     * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-     * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public flyteidl.core.Types.LiteralType getCollectionType() { - if (typeCase_ == 3) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - /** - *
-     * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-     * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getCollectionTypeOrBuilder() { - if (typeCase_ == 3) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - - public static final int MAP_VALUE_TYPE_FIELD_NUMBER = 4; - /** - *
-     * Defines the type of the value of a map type. The type of the key is always a string.
-     * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public boolean hasMapValueType() { - return typeCase_ == 4; - } - /** - *
-     * Defines the type of the value of a map type. The type of the key is always a string.
-     * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public flyteidl.core.Types.LiteralType getMapValueType() { - if (typeCase_ == 4) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - /** - *
-     * Defines the type of the value of a map type. The type of the key is always a string.
-     * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getMapValueTypeOrBuilder() { - if (typeCase_ == 4) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - - public static final int BLOB_FIELD_NUMBER = 5; - /** - *
-     * A blob might have specialized implementation details depending on associated metadata.
-     * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public boolean hasBlob() { - return typeCase_ == 5; - } - /** - *
-     * A blob might have specialized implementation details depending on associated metadata.
-     * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public flyteidl.core.Types.BlobType getBlob() { - if (typeCase_ == 5) { - return (flyteidl.core.Types.BlobType) type_; - } - return flyteidl.core.Types.BlobType.getDefaultInstance(); - } - /** - *
-     * A blob might have specialized implementation details depending on associated metadata.
-     * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public flyteidl.core.Types.BlobTypeOrBuilder getBlobOrBuilder() { - if (typeCase_ == 5) { - return (flyteidl.core.Types.BlobType) type_; - } - return flyteidl.core.Types.BlobType.getDefaultInstance(); - } - - public static final int ENUM_TYPE_FIELD_NUMBER = 7; - /** - *
-     * Defines an enum with pre-defined string values.
-     * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public boolean hasEnumType() { - return typeCase_ == 7; - } - /** - *
-     * Defines an enum with pre-defined string values.
-     * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public flyteidl.core.Types.EnumType getEnumType() { - if (typeCase_ == 7) { - return (flyteidl.core.Types.EnumType) type_; - } - return flyteidl.core.Types.EnumType.getDefaultInstance(); - } - /** - *
-     * Defines an enum with pre-defined string values.
-     * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public flyteidl.core.Types.EnumTypeOrBuilder getEnumTypeOrBuilder() { - if (typeCase_ == 7) { - return (flyteidl.core.Types.EnumType) type_; - } - return flyteidl.core.Types.EnumType.getDefaultInstance(); - } - - public static final int STRUCTURED_DATASET_TYPE_FIELD_NUMBER = 8; - /** - *
-     * Generalized schema support
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public boolean hasStructuredDatasetType() { - return typeCase_ == 8; - } - /** - *
-     * Generalized schema support
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public flyteidl.core.Types.StructuredDatasetType getStructuredDatasetType() { - if (typeCase_ == 8) { - return (flyteidl.core.Types.StructuredDatasetType) type_; - } - return flyteidl.core.Types.StructuredDatasetType.getDefaultInstance(); - } - /** - *
-     * Generalized schema support
-     * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public flyteidl.core.Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder() { - if (typeCase_ == 8) { - return (flyteidl.core.Types.StructuredDatasetType) type_; - } - return flyteidl.core.Types.StructuredDatasetType.getDefaultInstance(); - } - - public static final int UNION_TYPE_FIELD_NUMBER = 10; - /** - *
-     * Defines an union type with pre-defined LiteralTypes.
-     * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public boolean hasUnionType() { - return typeCase_ == 10; - } - /** - *
-     * Defines an union type with pre-defined LiteralTypes.
-     * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public flyteidl.core.Types.UnionType getUnionType() { - if (typeCase_ == 10) { - return (flyteidl.core.Types.UnionType) type_; - } - return flyteidl.core.Types.UnionType.getDefaultInstance(); - } - /** - *
-     * Defines an union type with pre-defined LiteralTypes.
-     * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public flyteidl.core.Types.UnionTypeOrBuilder getUnionTypeOrBuilder() { - if (typeCase_ == 10) { - return (flyteidl.core.Types.UnionType) type_; - } - return flyteidl.core.Types.UnionType.getDefaultInstance(); - } - - public static final int METADATA_FIELD_NUMBER = 6; - private com.google.protobuf.Struct metadata_; - /** - *
-     * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-     * consumers to identify special behavior or display extended information for the type.
-     * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-     * consumers to identify special behavior or display extended information for the type.
-     * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public com.google.protobuf.Struct getMetadata() { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; - } - /** - *
-     * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-     * consumers to identify special behavior or display extended information for the type.
-     * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int ANNOTATION_FIELD_NUMBER = 9; - private flyteidl.core.Types.TypeAnnotation annotation_; - /** - *
-     * This field contains arbitrary data that might have special semantic
-     * meaning for the client but does not effect internal flyte behavior.
-     * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public boolean hasAnnotation() { - return annotation_ != null; - } - /** - *
-     * This field contains arbitrary data that might have special semantic
-     * meaning for the client but does not effect internal flyte behavior.
-     * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public flyteidl.core.Types.TypeAnnotation getAnnotation() { - return annotation_ == null ? flyteidl.core.Types.TypeAnnotation.getDefaultInstance() : annotation_; - } - /** - *
-     * This field contains arbitrary data that might have special semantic
-     * meaning for the client but does not effect internal flyte behavior.
-     * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public flyteidl.core.Types.TypeAnnotationOrBuilder getAnnotationOrBuilder() { - return getAnnotation(); - } - - public static final int STRUCTURE_FIELD_NUMBER = 11; - private flyteidl.core.Types.TypeStructure structure_; - /** - *
-     * Hints to improve type matching.
-     * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public boolean hasStructure() { - return structure_ != null; - } - /** - *
-     * Hints to improve type matching.
-     * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public flyteidl.core.Types.TypeStructure getStructure() { - return structure_ == null ? flyteidl.core.Types.TypeStructure.getDefaultInstance() : structure_; - } - /** - *
-     * Hints to improve type matching.
-     * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public flyteidl.core.Types.TypeStructureOrBuilder getStructureOrBuilder() { - return getStructure(); - } - - 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 (typeCase_ == 1) { - output.writeEnum(1, ((java.lang.Integer) type_)); - } - if (typeCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Types.SchemaType) type_); - } - if (typeCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Types.LiteralType) type_); - } - if (typeCase_ == 4) { - output.writeMessage(4, (flyteidl.core.Types.LiteralType) type_); - } - if (typeCase_ == 5) { - output.writeMessage(5, (flyteidl.core.Types.BlobType) type_); - } - if (metadata_ != null) { - output.writeMessage(6, getMetadata()); - } - if (typeCase_ == 7) { - output.writeMessage(7, (flyteidl.core.Types.EnumType) type_); - } - if (typeCase_ == 8) { - output.writeMessage(8, (flyteidl.core.Types.StructuredDatasetType) type_); - } - if (annotation_ != null) { - output.writeMessage(9, getAnnotation()); - } - if (typeCase_ == 10) { - output.writeMessage(10, (flyteidl.core.Types.UnionType) type_); - } - if (structure_ != null) { - output.writeMessage(11, getStructure()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, ((java.lang.Integer) type_)); - } - if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Types.SchemaType) type_); - } - if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Types.LiteralType) type_); - } - if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.Types.LiteralType) type_); - } - if (typeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (flyteidl.core.Types.BlobType) type_); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMetadata()); - } - if (typeCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (flyteidl.core.Types.EnumType) type_); - } - if (typeCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (flyteidl.core.Types.StructuredDatasetType) type_); - } - if (annotation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getAnnotation()); - } - if (typeCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (flyteidl.core.Types.UnionType) type_); - } - if (structure_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getStructure()); - } - 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.Types.LiteralType)) { - return super.equals(obj); - } - flyteidl.core.Types.LiteralType other = (flyteidl.core.Types.LiteralType) obj; - - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (hasAnnotation() != other.hasAnnotation()) return false; - if (hasAnnotation()) { - if (!getAnnotation() - .equals(other.getAnnotation())) return false; - } - if (hasStructure() != other.hasStructure()) return false; - if (hasStructure()) { - if (!getStructure() - .equals(other.getStructure())) return false; - } - if (!getTypeCase().equals(other.getTypeCase())) return false; - switch (typeCase_) { - case 1: - if (getSimpleValue() - != other.getSimpleValue()) return false; - break; - case 2: - if (!getSchema() - .equals(other.getSchema())) return false; - break; - case 3: - if (!getCollectionType() - .equals(other.getCollectionType())) return false; - break; - case 4: - if (!getMapValueType() - .equals(other.getMapValueType())) return false; - break; - case 5: - if (!getBlob() - .equals(other.getBlob())) return false; - break; - case 7: - if (!getEnumType() - .equals(other.getEnumType())) return false; - break; - case 8: - if (!getStructuredDatasetType() - .equals(other.getStructuredDatasetType())) return false; - break; - case 10: - if (!getUnionType() - .equals(other.getUnionType())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (hasAnnotation()) { - hash = (37 * hash) + ANNOTATION_FIELD_NUMBER; - hash = (53 * hash) + getAnnotation().hashCode(); - } - if (hasStructure()) { - hash = (37 * hash) + STRUCTURE_FIELD_NUMBER; - hash = (53 * hash) + getStructure().hashCode(); - } - switch (typeCase_) { - case 1: - hash = (37 * hash) + SIMPLE_FIELD_NUMBER; - hash = (53 * hash) + getSimpleValue(); - break; - case 2: - hash = (37 * hash) + SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getSchema().hashCode(); - break; - case 3: - hash = (37 * hash) + COLLECTION_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getCollectionType().hashCode(); - break; - case 4: - hash = (37 * hash) + MAP_VALUE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getMapValueType().hashCode(); - break; - case 5: - hash = (37 * hash) + BLOB_FIELD_NUMBER; - hash = (53 * hash) + getBlob().hashCode(); - break; - case 7: - hash = (37 * hash) + ENUM_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getEnumType().hashCode(); - break; - case 8: - hash = (37 * hash) + STRUCTURED_DATASET_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getStructuredDatasetType().hashCode(); - break; - case 10: - hash = (37 * hash) + UNION_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getUnionType().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.LiteralType parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.LiteralType parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.LiteralType parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.LiteralType 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.Types.LiteralType parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.LiteralType parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.LiteralType parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.LiteralType 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.Types.LiteralType parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.LiteralType 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.Types.LiteralType parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.LiteralType 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.Types.LiteralType prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a strong type to allow type checking between interfaces.
-     * 
- * - * Protobuf type {@code flyteidl.core.LiteralType} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.LiteralType) - flyteidl.core.Types.LiteralTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_LiteralType_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_LiteralType_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.LiteralType.class, flyteidl.core.Types.LiteralType.Builder.class); - } - - // Construct using flyteidl.core.Types.LiteralType.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 (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (annotationBuilder_ == null) { - annotation_ = null; - } else { - annotation_ = null; - annotationBuilder_ = null; - } - if (structureBuilder_ == null) { - structure_ = null; - } else { - structure_ = null; - structureBuilder_ = null; - } - typeCase_ = 0; - type_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_LiteralType_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.LiteralType getDefaultInstanceForType() { - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.LiteralType build() { - flyteidl.core.Types.LiteralType result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.LiteralType buildPartial() { - flyteidl.core.Types.LiteralType result = new flyteidl.core.Types.LiteralType(this); - if (typeCase_ == 1) { - result.type_ = type_; - } - if (typeCase_ == 2) { - if (schemaBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = schemaBuilder_.build(); - } - } - if (typeCase_ == 3) { - if (collectionTypeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = collectionTypeBuilder_.build(); - } - } - if (typeCase_ == 4) { - if (mapValueTypeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = mapValueTypeBuilder_.build(); - } - } - if (typeCase_ == 5) { - if (blobBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = blobBuilder_.build(); - } - } - if (typeCase_ == 7) { - if (enumTypeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = enumTypeBuilder_.build(); - } - } - if (typeCase_ == 8) { - if (structuredDatasetTypeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = structuredDatasetTypeBuilder_.build(); - } - } - if (typeCase_ == 10) { - if (unionTypeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = unionTypeBuilder_.build(); - } - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (annotationBuilder_ == null) { - result.annotation_ = annotation_; - } else { - result.annotation_ = annotationBuilder_.build(); - } - if (structureBuilder_ == null) { - result.structure_ = structure_; - } else { - result.structure_ = structureBuilder_.build(); - } - result.typeCase_ = typeCase_; - 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.Types.LiteralType) { - return mergeFrom((flyteidl.core.Types.LiteralType)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.LiteralType other) { - if (other == flyteidl.core.Types.LiteralType.getDefaultInstance()) return this; - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.hasAnnotation()) { - mergeAnnotation(other.getAnnotation()); - } - if (other.hasStructure()) { - mergeStructure(other.getStructure()); - } - switch (other.getTypeCase()) { - case SIMPLE: { - setSimpleValue(other.getSimpleValue()); - break; - } - case SCHEMA: { - mergeSchema(other.getSchema()); - break; - } - case COLLECTION_TYPE: { - mergeCollectionType(other.getCollectionType()); - break; - } - case MAP_VALUE_TYPE: { - mergeMapValueType(other.getMapValueType()); - break; - } - case BLOB: { - mergeBlob(other.getBlob()); - break; - } - case ENUM_TYPE: { - mergeEnumType(other.getEnumType()); - break; - } - case STRUCTURED_DATASET_TYPE: { - mergeStructuredDatasetType(other.getStructuredDatasetType()); - break; - } - case UNION_TYPE: { - mergeUnionType(other.getUnionType()); - break; - } - case TYPE_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.Types.LiteralType parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.LiteralType) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int typeCase_ = 0; - private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); - } - - public Builder clearType() { - typeCase_ = 0; - type_ = null; - onChanged(); - return this; - } - - - /** - *
-       * A simple type that can be compared one-to-one with another.
-       * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - public int getSimpleValue() { - if (typeCase_ == 1) { - return ((java.lang.Integer) type_).intValue(); - } - return 0; - } - /** - *
-       * A simple type that can be compared one-to-one with another.
-       * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - public Builder setSimpleValue(int value) { - typeCase_ = 1; - type_ = value; - onChanged(); - return this; - } - /** - *
-       * A simple type that can be compared one-to-one with another.
-       * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - public flyteidl.core.Types.SimpleType getSimple() { - if (typeCase_ == 1) { - @SuppressWarnings("deprecation") - flyteidl.core.Types.SimpleType result = flyteidl.core.Types.SimpleType.valueOf( - (java.lang.Integer) type_); - return result == null ? flyteidl.core.Types.SimpleType.UNRECOGNIZED : result; - } - return flyteidl.core.Types.SimpleType.NONE; - } - /** - *
-       * A simple type that can be compared one-to-one with another.
-       * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - public Builder setSimple(flyteidl.core.Types.SimpleType value) { - if (value == null) { - throw new NullPointerException(); - } - typeCase_ = 1; - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * A simple type that can be compared one-to-one with another.
-       * 
- * - * .flyteidl.core.SimpleType simple = 1; - */ - public Builder clearSimple() { - if (typeCase_ == 1) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.SchemaType, flyteidl.core.Types.SchemaType.Builder, flyteidl.core.Types.SchemaTypeOrBuilder> schemaBuilder_; - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public boolean hasSchema() { - return typeCase_ == 2; - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public flyteidl.core.Types.SchemaType getSchema() { - if (schemaBuilder_ == null) { - if (typeCase_ == 2) { - return (flyteidl.core.Types.SchemaType) type_; - } - return flyteidl.core.Types.SchemaType.getDefaultInstance(); - } else { - if (typeCase_ == 2) { - return schemaBuilder_.getMessage(); - } - return flyteidl.core.Types.SchemaType.getDefaultInstance(); - } - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public Builder setSchema(flyteidl.core.Types.SchemaType value) { - if (schemaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - schemaBuilder_.setMessage(value); - } - typeCase_ = 2; - return this; - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public Builder setSchema( - flyteidl.core.Types.SchemaType.Builder builderForValue) { - if (schemaBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - schemaBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 2; - return this; - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public Builder mergeSchema(flyteidl.core.Types.SchemaType value) { - if (schemaBuilder_ == null) { - if (typeCase_ == 2 && - type_ != flyteidl.core.Types.SchemaType.getDefaultInstance()) { - type_ = flyteidl.core.Types.SchemaType.newBuilder((flyteidl.core.Types.SchemaType) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 2) { - schemaBuilder_.mergeFrom(value); - } - schemaBuilder_.setMessage(value); - } - typeCase_ = 2; - return this; - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public Builder clearSchema() { - if (schemaBuilder_ == null) { - if (typeCase_ == 2) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 2) { - typeCase_ = 0; - type_ = null; - } - schemaBuilder_.clear(); - } - return this; - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public flyteidl.core.Types.SchemaType.Builder getSchemaBuilder() { - return getSchemaFieldBuilder().getBuilder(); - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - public flyteidl.core.Types.SchemaTypeOrBuilder getSchemaOrBuilder() { - if ((typeCase_ == 2) && (schemaBuilder_ != null)) { - return schemaBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 2) { - return (flyteidl.core.Types.SchemaType) type_; - } - return flyteidl.core.Types.SchemaType.getDefaultInstance(); - } - } - /** - *
-       * A complex type that requires matching of inner fields.
-       * 
- * - * .flyteidl.core.SchemaType schema = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.SchemaType, flyteidl.core.Types.SchemaType.Builder, flyteidl.core.Types.SchemaTypeOrBuilder> - getSchemaFieldBuilder() { - if (schemaBuilder_ == null) { - if (!(typeCase_ == 2)) { - type_ = flyteidl.core.Types.SchemaType.getDefaultInstance(); - } - schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.SchemaType, flyteidl.core.Types.SchemaType.Builder, flyteidl.core.Types.SchemaTypeOrBuilder>( - (flyteidl.core.Types.SchemaType) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 2; - onChanged();; - return schemaBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> collectionTypeBuilder_; - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public boolean hasCollectionType() { - return typeCase_ == 3; - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public flyteidl.core.Types.LiteralType getCollectionType() { - if (collectionTypeBuilder_ == null) { - if (typeCase_ == 3) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } else { - if (typeCase_ == 3) { - return collectionTypeBuilder_.getMessage(); - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public Builder setCollectionType(flyteidl.core.Types.LiteralType value) { - if (collectionTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - collectionTypeBuilder_.setMessage(value); - } - typeCase_ = 3; - return this; - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public Builder setCollectionType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (collectionTypeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - collectionTypeBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 3; - return this; - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public Builder mergeCollectionType(flyteidl.core.Types.LiteralType value) { - if (collectionTypeBuilder_ == null) { - if (typeCase_ == 3 && - type_ != flyteidl.core.Types.LiteralType.getDefaultInstance()) { - type_ = flyteidl.core.Types.LiteralType.newBuilder((flyteidl.core.Types.LiteralType) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 3) { - collectionTypeBuilder_.mergeFrom(value); - } - collectionTypeBuilder_.setMessage(value); - } - typeCase_ = 3; - return this; - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public Builder clearCollectionType() { - if (collectionTypeBuilder_ == null) { - if (typeCase_ == 3) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 3) { - typeCase_ = 0; - type_ = null; - } - collectionTypeBuilder_.clear(); - } - return this; - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public flyteidl.core.Types.LiteralType.Builder getCollectionTypeBuilder() { - return getCollectionTypeFieldBuilder().getBuilder(); - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getCollectionTypeOrBuilder() { - if ((typeCase_ == 3) && (collectionTypeBuilder_ != null)) { - return collectionTypeBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 3) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - } - /** - *
-       * Defines the type of the value of a collection. Only homogeneous collections are allowed.
-       * 
- * - * .flyteidl.core.LiteralType collection_type = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getCollectionTypeFieldBuilder() { - if (collectionTypeBuilder_ == null) { - if (!(typeCase_ == 3)) { - type_ = flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - collectionTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - (flyteidl.core.Types.LiteralType) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 3; - onChanged();; - return collectionTypeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> mapValueTypeBuilder_; - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public boolean hasMapValueType() { - return typeCase_ == 4; - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public flyteidl.core.Types.LiteralType getMapValueType() { - if (mapValueTypeBuilder_ == null) { - if (typeCase_ == 4) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } else { - if (typeCase_ == 4) { - return mapValueTypeBuilder_.getMessage(); - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public Builder setMapValueType(flyteidl.core.Types.LiteralType value) { - if (mapValueTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - mapValueTypeBuilder_.setMessage(value); - } - typeCase_ = 4; - return this; - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public Builder setMapValueType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (mapValueTypeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - mapValueTypeBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 4; - return this; - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public Builder mergeMapValueType(flyteidl.core.Types.LiteralType value) { - if (mapValueTypeBuilder_ == null) { - if (typeCase_ == 4 && - type_ != flyteidl.core.Types.LiteralType.getDefaultInstance()) { - type_ = flyteidl.core.Types.LiteralType.newBuilder((flyteidl.core.Types.LiteralType) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 4) { - mapValueTypeBuilder_.mergeFrom(value); - } - mapValueTypeBuilder_.setMessage(value); - } - typeCase_ = 4; - return this; - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public Builder clearMapValueType() { - if (mapValueTypeBuilder_ == null) { - if (typeCase_ == 4) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 4) { - typeCase_ = 0; - type_ = null; - } - mapValueTypeBuilder_.clear(); - } - return this; - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public flyteidl.core.Types.LiteralType.Builder getMapValueTypeBuilder() { - return getMapValueTypeFieldBuilder().getBuilder(); - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getMapValueTypeOrBuilder() { - if ((typeCase_ == 4) && (mapValueTypeBuilder_ != null)) { - return mapValueTypeBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 4) { - return (flyteidl.core.Types.LiteralType) type_; - } - return flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - } - /** - *
-       * Defines the type of the value of a map type. The type of the key is always a string.
-       * 
- * - * .flyteidl.core.LiteralType map_value_type = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getMapValueTypeFieldBuilder() { - if (mapValueTypeBuilder_ == null) { - if (!(typeCase_ == 4)) { - type_ = flyteidl.core.Types.LiteralType.getDefaultInstance(); - } - mapValueTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - (flyteidl.core.Types.LiteralType) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 4; - onChanged();; - return mapValueTypeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.BlobType, flyteidl.core.Types.BlobType.Builder, flyteidl.core.Types.BlobTypeOrBuilder> blobBuilder_; - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public boolean hasBlob() { - return typeCase_ == 5; - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public flyteidl.core.Types.BlobType getBlob() { - if (blobBuilder_ == null) { - if (typeCase_ == 5) { - return (flyteidl.core.Types.BlobType) type_; - } - return flyteidl.core.Types.BlobType.getDefaultInstance(); - } else { - if (typeCase_ == 5) { - return blobBuilder_.getMessage(); - } - return flyteidl.core.Types.BlobType.getDefaultInstance(); - } - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public Builder setBlob(flyteidl.core.Types.BlobType value) { - if (blobBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - blobBuilder_.setMessage(value); - } - typeCase_ = 5; - return this; - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public Builder setBlob( - flyteidl.core.Types.BlobType.Builder builderForValue) { - if (blobBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - blobBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 5; - return this; - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public Builder mergeBlob(flyteidl.core.Types.BlobType value) { - if (blobBuilder_ == null) { - if (typeCase_ == 5 && - type_ != flyteidl.core.Types.BlobType.getDefaultInstance()) { - type_ = flyteidl.core.Types.BlobType.newBuilder((flyteidl.core.Types.BlobType) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 5) { - blobBuilder_.mergeFrom(value); - } - blobBuilder_.setMessage(value); - } - typeCase_ = 5; - return this; - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public Builder clearBlob() { - if (blobBuilder_ == null) { - if (typeCase_ == 5) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 5) { - typeCase_ = 0; - type_ = null; - } - blobBuilder_.clear(); - } - return this; - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public flyteidl.core.Types.BlobType.Builder getBlobBuilder() { - return getBlobFieldBuilder().getBuilder(); - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - public flyteidl.core.Types.BlobTypeOrBuilder getBlobOrBuilder() { - if ((typeCase_ == 5) && (blobBuilder_ != null)) { - return blobBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 5) { - return (flyteidl.core.Types.BlobType) type_; - } - return flyteidl.core.Types.BlobType.getDefaultInstance(); - } - } - /** - *
-       * A blob might have specialized implementation details depending on associated metadata.
-       * 
- * - * .flyteidl.core.BlobType blob = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.BlobType, flyteidl.core.Types.BlobType.Builder, flyteidl.core.Types.BlobTypeOrBuilder> - getBlobFieldBuilder() { - if (blobBuilder_ == null) { - if (!(typeCase_ == 5)) { - type_ = flyteidl.core.Types.BlobType.getDefaultInstance(); - } - blobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.BlobType, flyteidl.core.Types.BlobType.Builder, flyteidl.core.Types.BlobTypeOrBuilder>( - (flyteidl.core.Types.BlobType) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 5; - onChanged();; - return blobBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.EnumType, flyteidl.core.Types.EnumType.Builder, flyteidl.core.Types.EnumTypeOrBuilder> enumTypeBuilder_; - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public boolean hasEnumType() { - return typeCase_ == 7; - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public flyteidl.core.Types.EnumType getEnumType() { - if (enumTypeBuilder_ == null) { - if (typeCase_ == 7) { - return (flyteidl.core.Types.EnumType) type_; - } - return flyteidl.core.Types.EnumType.getDefaultInstance(); - } else { - if (typeCase_ == 7) { - return enumTypeBuilder_.getMessage(); - } - return flyteidl.core.Types.EnumType.getDefaultInstance(); - } - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public Builder setEnumType(flyteidl.core.Types.EnumType value) { - if (enumTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - enumTypeBuilder_.setMessage(value); - } - typeCase_ = 7; - return this; - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public Builder setEnumType( - flyteidl.core.Types.EnumType.Builder builderForValue) { - if (enumTypeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - enumTypeBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 7; - return this; - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public Builder mergeEnumType(flyteidl.core.Types.EnumType value) { - if (enumTypeBuilder_ == null) { - if (typeCase_ == 7 && - type_ != flyteidl.core.Types.EnumType.getDefaultInstance()) { - type_ = flyteidl.core.Types.EnumType.newBuilder((flyteidl.core.Types.EnumType) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 7) { - enumTypeBuilder_.mergeFrom(value); - } - enumTypeBuilder_.setMessage(value); - } - typeCase_ = 7; - return this; - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public Builder clearEnumType() { - if (enumTypeBuilder_ == null) { - if (typeCase_ == 7) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 7) { - typeCase_ = 0; - type_ = null; - } - enumTypeBuilder_.clear(); - } - return this; - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public flyteidl.core.Types.EnumType.Builder getEnumTypeBuilder() { - return getEnumTypeFieldBuilder().getBuilder(); - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - public flyteidl.core.Types.EnumTypeOrBuilder getEnumTypeOrBuilder() { - if ((typeCase_ == 7) && (enumTypeBuilder_ != null)) { - return enumTypeBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 7) { - return (flyteidl.core.Types.EnumType) type_; - } - return flyteidl.core.Types.EnumType.getDefaultInstance(); - } - } - /** - *
-       * Defines an enum with pre-defined string values.
-       * 
- * - * .flyteidl.core.EnumType enum_type = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.EnumType, flyteidl.core.Types.EnumType.Builder, flyteidl.core.Types.EnumTypeOrBuilder> - getEnumTypeFieldBuilder() { - if (enumTypeBuilder_ == null) { - if (!(typeCase_ == 7)) { - type_ = flyteidl.core.Types.EnumType.getDefaultInstance(); - } - enumTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.EnumType, flyteidl.core.Types.EnumType.Builder, flyteidl.core.Types.EnumTypeOrBuilder>( - (flyteidl.core.Types.EnumType) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 7; - onChanged();; - return enumTypeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType, flyteidl.core.Types.StructuredDatasetType.Builder, flyteidl.core.Types.StructuredDatasetTypeOrBuilder> structuredDatasetTypeBuilder_; - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public boolean hasStructuredDatasetType() { - return typeCase_ == 8; - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public flyteidl.core.Types.StructuredDatasetType getStructuredDatasetType() { - if (structuredDatasetTypeBuilder_ == null) { - if (typeCase_ == 8) { - return (flyteidl.core.Types.StructuredDatasetType) type_; - } - return flyteidl.core.Types.StructuredDatasetType.getDefaultInstance(); - } else { - if (typeCase_ == 8) { - return structuredDatasetTypeBuilder_.getMessage(); - } - return flyteidl.core.Types.StructuredDatasetType.getDefaultInstance(); - } - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public Builder setStructuredDatasetType(flyteidl.core.Types.StructuredDatasetType value) { - if (structuredDatasetTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - structuredDatasetTypeBuilder_.setMessage(value); - } - typeCase_ = 8; - return this; - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public Builder setStructuredDatasetType( - flyteidl.core.Types.StructuredDatasetType.Builder builderForValue) { - if (structuredDatasetTypeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - structuredDatasetTypeBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 8; - return this; - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public Builder mergeStructuredDatasetType(flyteidl.core.Types.StructuredDatasetType value) { - if (structuredDatasetTypeBuilder_ == null) { - if (typeCase_ == 8 && - type_ != flyteidl.core.Types.StructuredDatasetType.getDefaultInstance()) { - type_ = flyteidl.core.Types.StructuredDatasetType.newBuilder((flyteidl.core.Types.StructuredDatasetType) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 8) { - structuredDatasetTypeBuilder_.mergeFrom(value); - } - structuredDatasetTypeBuilder_.setMessage(value); - } - typeCase_ = 8; - return this; - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public Builder clearStructuredDatasetType() { - if (structuredDatasetTypeBuilder_ == null) { - if (typeCase_ == 8) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 8) { - typeCase_ = 0; - type_ = null; - } - structuredDatasetTypeBuilder_.clear(); - } - return this; - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public flyteidl.core.Types.StructuredDatasetType.Builder getStructuredDatasetTypeBuilder() { - return getStructuredDatasetTypeFieldBuilder().getBuilder(); - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - public flyteidl.core.Types.StructuredDatasetTypeOrBuilder getStructuredDatasetTypeOrBuilder() { - if ((typeCase_ == 8) && (structuredDatasetTypeBuilder_ != null)) { - return structuredDatasetTypeBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 8) { - return (flyteidl.core.Types.StructuredDatasetType) type_; - } - return flyteidl.core.Types.StructuredDatasetType.getDefaultInstance(); - } - } - /** - *
-       * Generalized schema support
-       * 
- * - * .flyteidl.core.StructuredDatasetType structured_dataset_type = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType, flyteidl.core.Types.StructuredDatasetType.Builder, flyteidl.core.Types.StructuredDatasetTypeOrBuilder> - getStructuredDatasetTypeFieldBuilder() { - if (structuredDatasetTypeBuilder_ == null) { - if (!(typeCase_ == 8)) { - type_ = flyteidl.core.Types.StructuredDatasetType.getDefaultInstance(); - } - structuredDatasetTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.StructuredDatasetType, flyteidl.core.Types.StructuredDatasetType.Builder, flyteidl.core.Types.StructuredDatasetTypeOrBuilder>( - (flyteidl.core.Types.StructuredDatasetType) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 8; - onChanged();; - return structuredDatasetTypeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.UnionType, flyteidl.core.Types.UnionType.Builder, flyteidl.core.Types.UnionTypeOrBuilder> unionTypeBuilder_; - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public boolean hasUnionType() { - return typeCase_ == 10; - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public flyteidl.core.Types.UnionType getUnionType() { - if (unionTypeBuilder_ == null) { - if (typeCase_ == 10) { - return (flyteidl.core.Types.UnionType) type_; - } - return flyteidl.core.Types.UnionType.getDefaultInstance(); - } else { - if (typeCase_ == 10) { - return unionTypeBuilder_.getMessage(); - } - return flyteidl.core.Types.UnionType.getDefaultInstance(); - } - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public Builder setUnionType(flyteidl.core.Types.UnionType value) { - if (unionTypeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - unionTypeBuilder_.setMessage(value); - } - typeCase_ = 10; - return this; - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public Builder setUnionType( - flyteidl.core.Types.UnionType.Builder builderForValue) { - if (unionTypeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - unionTypeBuilder_.setMessage(builderForValue.build()); - } - typeCase_ = 10; - return this; - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public Builder mergeUnionType(flyteidl.core.Types.UnionType value) { - if (unionTypeBuilder_ == null) { - if (typeCase_ == 10 && - type_ != flyteidl.core.Types.UnionType.getDefaultInstance()) { - type_ = flyteidl.core.Types.UnionType.newBuilder((flyteidl.core.Types.UnionType) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - if (typeCase_ == 10) { - unionTypeBuilder_.mergeFrom(value); - } - unionTypeBuilder_.setMessage(value); - } - typeCase_ = 10; - return this; - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public Builder clearUnionType() { - if (unionTypeBuilder_ == null) { - if (typeCase_ == 10) { - typeCase_ = 0; - type_ = null; - onChanged(); - } - } else { - if (typeCase_ == 10) { - typeCase_ = 0; - type_ = null; - } - unionTypeBuilder_.clear(); - } - return this; - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public flyteidl.core.Types.UnionType.Builder getUnionTypeBuilder() { - return getUnionTypeFieldBuilder().getBuilder(); - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - public flyteidl.core.Types.UnionTypeOrBuilder getUnionTypeOrBuilder() { - if ((typeCase_ == 10) && (unionTypeBuilder_ != null)) { - return unionTypeBuilder_.getMessageOrBuilder(); - } else { - if (typeCase_ == 10) { - return (flyteidl.core.Types.UnionType) type_; - } - return flyteidl.core.Types.UnionType.getDefaultInstance(); - } - } - /** - *
-       * Defines an union type with pre-defined LiteralTypes.
-       * 
- * - * .flyteidl.core.UnionType union_type = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.UnionType, flyteidl.core.Types.UnionType.Builder, flyteidl.core.Types.UnionTypeOrBuilder> - getUnionTypeFieldBuilder() { - if (unionTypeBuilder_ == null) { - if (!(typeCase_ == 10)) { - type_ = flyteidl.core.Types.UnionType.getDefaultInstance(); - } - unionTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.UnionType, flyteidl.core.Types.UnionType.Builder, flyteidl.core.Types.UnionTypeOrBuilder>( - (flyteidl.core.Types.UnionType) type_, - getParentForChildren(), - isClean()); - type_ = null; - } - typeCase_ = 10; - onChanged();; - return unionTypeBuilder_; - } - - private com.google.protobuf.Struct metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public com.google.protobuf.Struct getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public Builder setMetadata(com.google.protobuf.Struct value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public Builder mergeMetadata(com.google.protobuf.Struct value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public com.google.protobuf.Struct.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; - } - } - /** - *
-       * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
-       * consumers to identify special behavior or display extended information for the type.
-       * 
- * - * .google.protobuf.Struct metadata = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private flyteidl.core.Types.TypeAnnotation annotation_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.TypeAnnotation, flyteidl.core.Types.TypeAnnotation.Builder, flyteidl.core.Types.TypeAnnotationOrBuilder> annotationBuilder_; - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public boolean hasAnnotation() { - return annotationBuilder_ != null || annotation_ != null; - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public flyteidl.core.Types.TypeAnnotation getAnnotation() { - if (annotationBuilder_ == null) { - return annotation_ == null ? flyteidl.core.Types.TypeAnnotation.getDefaultInstance() : annotation_; - } else { - return annotationBuilder_.getMessage(); - } - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public Builder setAnnotation(flyteidl.core.Types.TypeAnnotation value) { - if (annotationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - annotation_ = value; - onChanged(); - } else { - annotationBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public Builder setAnnotation( - flyteidl.core.Types.TypeAnnotation.Builder builderForValue) { - if (annotationBuilder_ == null) { - annotation_ = builderForValue.build(); - onChanged(); - } else { - annotationBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public Builder mergeAnnotation(flyteidl.core.Types.TypeAnnotation value) { - if (annotationBuilder_ == null) { - if (annotation_ != null) { - annotation_ = - flyteidl.core.Types.TypeAnnotation.newBuilder(annotation_).mergeFrom(value).buildPartial(); - } else { - annotation_ = value; - } - onChanged(); - } else { - annotationBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public Builder clearAnnotation() { - if (annotationBuilder_ == null) { - annotation_ = null; - onChanged(); - } else { - annotation_ = null; - annotationBuilder_ = null; - } - - return this; - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public flyteidl.core.Types.TypeAnnotation.Builder getAnnotationBuilder() { - - onChanged(); - return getAnnotationFieldBuilder().getBuilder(); - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - public flyteidl.core.Types.TypeAnnotationOrBuilder getAnnotationOrBuilder() { - if (annotationBuilder_ != null) { - return annotationBuilder_.getMessageOrBuilder(); - } else { - return annotation_ == null ? - flyteidl.core.Types.TypeAnnotation.getDefaultInstance() : annotation_; - } - } - /** - *
-       * This field contains arbitrary data that might have special semantic
-       * meaning for the client but does not effect internal flyte behavior.
-       * 
- * - * .flyteidl.core.TypeAnnotation annotation = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.TypeAnnotation, flyteidl.core.Types.TypeAnnotation.Builder, flyteidl.core.Types.TypeAnnotationOrBuilder> - getAnnotationFieldBuilder() { - if (annotationBuilder_ == null) { - annotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.TypeAnnotation, flyteidl.core.Types.TypeAnnotation.Builder, flyteidl.core.Types.TypeAnnotationOrBuilder>( - getAnnotation(), - getParentForChildren(), - isClean()); - annotation_ = null; - } - return annotationBuilder_; - } - - private flyteidl.core.Types.TypeStructure structure_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.TypeStructure, flyteidl.core.Types.TypeStructure.Builder, flyteidl.core.Types.TypeStructureOrBuilder> structureBuilder_; - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public boolean hasStructure() { - return structureBuilder_ != null || structure_ != null; - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public flyteidl.core.Types.TypeStructure getStructure() { - if (structureBuilder_ == null) { - return structure_ == null ? flyteidl.core.Types.TypeStructure.getDefaultInstance() : structure_; - } else { - return structureBuilder_.getMessage(); - } - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public Builder setStructure(flyteidl.core.Types.TypeStructure value) { - if (structureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - structure_ = value; - onChanged(); - } else { - structureBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public Builder setStructure( - flyteidl.core.Types.TypeStructure.Builder builderForValue) { - if (structureBuilder_ == null) { - structure_ = builderForValue.build(); - onChanged(); - } else { - structureBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public Builder mergeStructure(flyteidl.core.Types.TypeStructure value) { - if (structureBuilder_ == null) { - if (structure_ != null) { - structure_ = - flyteidl.core.Types.TypeStructure.newBuilder(structure_).mergeFrom(value).buildPartial(); - } else { - structure_ = value; - } - onChanged(); - } else { - structureBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public Builder clearStructure() { - if (structureBuilder_ == null) { - structure_ = null; - onChanged(); - } else { - structure_ = null; - structureBuilder_ = null; - } - - return this; - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public flyteidl.core.Types.TypeStructure.Builder getStructureBuilder() { - - onChanged(); - return getStructureFieldBuilder().getBuilder(); - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - public flyteidl.core.Types.TypeStructureOrBuilder getStructureOrBuilder() { - if (structureBuilder_ != null) { - return structureBuilder_.getMessageOrBuilder(); - } else { - return structure_ == null ? - flyteidl.core.Types.TypeStructure.getDefaultInstance() : structure_; - } - } - /** - *
-       * Hints to improve type matching.
-       * 
- * - * .flyteidl.core.TypeStructure structure = 11; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.TypeStructure, flyteidl.core.Types.TypeStructure.Builder, flyteidl.core.Types.TypeStructureOrBuilder> - getStructureFieldBuilder() { - if (structureBuilder_ == null) { - structureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.TypeStructure, flyteidl.core.Types.TypeStructure.Builder, flyteidl.core.Types.TypeStructureOrBuilder>( - getStructure(), - getParentForChildren(), - isClean()); - structure_ = null; - } - return structureBuilder_; - } - @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.LiteralType) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.LiteralType) - private static final flyteidl.core.Types.LiteralType DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.LiteralType(); - } - - public static flyteidl.core.Types.LiteralType getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LiteralType parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LiteralType(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.Types.LiteralType getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OutputReferenceOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.OutputReference) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Node id must exist at the graph layer.
-     * 
- * - * string node_id = 1; - */ - java.lang.String getNodeId(); - /** - *
-     * Node id must exist at the graph layer.
-     * 
- * - * string node_id = 1; - */ - com.google.protobuf.ByteString - getNodeIdBytes(); - - /** - *
-     * Variable name must refer to an output variable for the node.
-     * 
- * - * string var = 2; - */ - java.lang.String getVar(); - /** - *
-     * Variable name must refer to an output variable for the node.
-     * 
- * - * string var = 2; - */ - com.google.protobuf.ByteString - getVarBytes(); - - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - java.util.List - getAttrPathList(); - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - flyteidl.core.Types.PromiseAttribute getAttrPath(int index); - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - int getAttrPathCount(); - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - java.util.List - getAttrPathOrBuilderList(); - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - flyteidl.core.Types.PromiseAttributeOrBuilder getAttrPathOrBuilder( - int index); - } - /** - *
-   * A reference to an output produced by a node. The type can be retrieved -and validated- from
-   * the underlying interface of the node.
-   * 
- * - * Protobuf type {@code flyteidl.core.OutputReference} - */ - public static final class OutputReference extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.OutputReference) - OutputReferenceOrBuilder { - private static final long serialVersionUID = 0L; - // Use OutputReference.newBuilder() to construct. - private OutputReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private OutputReference() { - nodeId_ = ""; - var_ = ""; - attrPath_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private OutputReference( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - nodeId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - var_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - attrPath_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - attrPath_.add( - input.readMessage(flyteidl.core.Types.PromiseAttribute.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_ & 0x00000004) != 0)) { - attrPath_ = java.util.Collections.unmodifiableList(attrPath_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_OutputReference_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_OutputReference_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.OutputReference.class, flyteidl.core.Types.OutputReference.Builder.class); - } - - private int bitField0_; - public static final int NODE_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object nodeId_; - /** - *
-     * Node id must exist at the graph layer.
-     * 
- * - * string node_id = 1; - */ - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - 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(); - nodeId_ = s; - return s; - } - } - /** - *
-     * Node id must exist at the graph layer.
-     * 
- * - * string node_id = 1; - */ - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VAR_FIELD_NUMBER = 2; - private volatile java.lang.Object var_; - /** - *
-     * Variable name must refer to an output variable for the node.
-     * 
- * - * string var = 2; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - 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(); - var_ = s; - return s; - } - } - /** - *
-     * Variable name must refer to an output variable for the node.
-     * 
- * - * string var = 2; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ATTR_PATH_FIELD_NUMBER = 3; - private java.util.List attrPath_; - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public java.util.List getAttrPathList() { - return attrPath_; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public java.util.List - getAttrPathOrBuilderList() { - return attrPath_; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public int getAttrPathCount() { - return attrPath_.size(); - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public flyteidl.core.Types.PromiseAttribute getAttrPath(int index) { - return attrPath_.get(index); - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public flyteidl.core.Types.PromiseAttributeOrBuilder getAttrPathOrBuilder( - int index) { - return attrPath_.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 { - if (!getNodeIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nodeId_); - } - if (!getVarBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, var_); - } - for (int i = 0; i < attrPath_.size(); i++) { - output.writeMessage(3, attrPath_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNodeIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nodeId_); - } - if (!getVarBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, var_); - } - for (int i = 0; i < attrPath_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, attrPath_.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.Types.OutputReference)) { - return super.equals(obj); - } - flyteidl.core.Types.OutputReference other = (flyteidl.core.Types.OutputReference) obj; - - if (!getNodeId() - .equals(other.getNodeId())) return false; - if (!getVar() - .equals(other.getVar())) return false; - if (!getAttrPathList() - .equals(other.getAttrPathList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeId().hashCode(); - hash = (37 * hash) + VAR_FIELD_NUMBER; - hash = (53 * hash) + getVar().hashCode(); - if (getAttrPathCount() > 0) { - hash = (37 * hash) + ATTR_PATH_FIELD_NUMBER; - hash = (53 * hash) + getAttrPathList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.OutputReference parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.OutputReference parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.OutputReference parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.OutputReference 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.Types.OutputReference parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.OutputReference parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.OutputReference parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.OutputReference 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.Types.OutputReference parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.OutputReference 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.Types.OutputReference parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.OutputReference 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.Types.OutputReference 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 reference to an output produced by a node. The type can be retrieved -and validated- from
-     * the underlying interface of the node.
-     * 
- * - * Protobuf type {@code flyteidl.core.OutputReference} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.OutputReference) - flyteidl.core.Types.OutputReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_OutputReference_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_OutputReference_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.OutputReference.class, flyteidl.core.Types.OutputReference.Builder.class); - } - - // Construct using flyteidl.core.Types.OutputReference.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getAttrPathFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - nodeId_ = ""; - - var_ = ""; - - if (attrPathBuilder_ == null) { - attrPath_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - attrPathBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_OutputReference_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.OutputReference getDefaultInstanceForType() { - return flyteidl.core.Types.OutputReference.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.OutputReference build() { - flyteidl.core.Types.OutputReference result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.OutputReference buildPartial() { - flyteidl.core.Types.OutputReference result = new flyteidl.core.Types.OutputReference(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.nodeId_ = nodeId_; - result.var_ = var_; - if (attrPathBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - attrPath_ = java.util.Collections.unmodifiableList(attrPath_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.attrPath_ = attrPath_; - } else { - result.attrPath_ = attrPathBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Types.OutputReference) { - return mergeFrom((flyteidl.core.Types.OutputReference)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.OutputReference other) { - if (other == flyteidl.core.Types.OutputReference.getDefaultInstance()) return this; - if (!other.getNodeId().isEmpty()) { - nodeId_ = other.nodeId_; - onChanged(); - } - if (!other.getVar().isEmpty()) { - var_ = other.var_; - onChanged(); - } - if (attrPathBuilder_ == null) { - if (!other.attrPath_.isEmpty()) { - if (attrPath_.isEmpty()) { - attrPath_ = other.attrPath_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureAttrPathIsMutable(); - attrPath_.addAll(other.attrPath_); - } - onChanged(); - } - } else { - if (!other.attrPath_.isEmpty()) { - if (attrPathBuilder_.isEmpty()) { - attrPathBuilder_.dispose(); - attrPathBuilder_ = null; - attrPath_ = other.attrPath_; - bitField0_ = (bitField0_ & ~0x00000004); - attrPathBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAttrPathFieldBuilder() : null; - } else { - attrPathBuilder_.addAllMessages(other.attrPath_); - } - } - } - 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.Types.OutputReference parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.OutputReference) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object nodeId_ = ""; - /** - *
-       * Node id must exist at the graph layer.
-       * 
- * - * string node_id = 1; - */ - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nodeId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Node id must exist at the graph layer.
-       * 
- * - * string node_id = 1; - */ - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Node id must exist at the graph layer.
-       * 
- * - * string node_id = 1; - */ - public Builder setNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nodeId_ = value; - onChanged(); - return this; - } - /** - *
-       * Node id must exist at the graph layer.
-       * 
- * - * string node_id = 1; - */ - public Builder clearNodeId() { - - nodeId_ = getDefaultInstance().getNodeId(); - onChanged(); - return this; - } - /** - *
-       * Node id must exist at the graph layer.
-       * 
- * - * string node_id = 1; - */ - public Builder setNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nodeId_ = value; - onChanged(); - return this; - } - - private java.lang.Object var_ = ""; - /** - *
-       * Variable name must refer to an output variable for the node.
-       * 
- * - * string var = 2; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - var_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Variable name must refer to an output variable for the node.
-       * 
- * - * string var = 2; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Variable name must refer to an output variable for the node.
-       * 
- * - * string var = 2; - */ - public Builder setVar( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - var_ = value; - onChanged(); - return this; - } - /** - *
-       * Variable name must refer to an output variable for the node.
-       * 
- * - * string var = 2; - */ - public Builder clearVar() { - - var_ = getDefaultInstance().getVar(); - onChanged(); - return this; - } - /** - *
-       * Variable name must refer to an output variable for the node.
-       * 
- * - * string var = 2; - */ - public Builder setVarBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - var_ = value; - onChanged(); - return this; - } - - private java.util.List attrPath_ = - java.util.Collections.emptyList(); - private void ensureAttrPathIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - attrPath_ = new java.util.ArrayList(attrPath_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.PromiseAttribute, flyteidl.core.Types.PromiseAttribute.Builder, flyteidl.core.Types.PromiseAttributeOrBuilder> attrPathBuilder_; - - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public java.util.List getAttrPathList() { - if (attrPathBuilder_ == null) { - return java.util.Collections.unmodifiableList(attrPath_); - } else { - return attrPathBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public int getAttrPathCount() { - if (attrPathBuilder_ == null) { - return attrPath_.size(); - } else { - return attrPathBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public flyteidl.core.Types.PromiseAttribute getAttrPath(int index) { - if (attrPathBuilder_ == null) { - return attrPath_.get(index); - } else { - return attrPathBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder setAttrPath( - int index, flyteidl.core.Types.PromiseAttribute value) { - if (attrPathBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrPathIsMutable(); - attrPath_.set(index, value); - onChanged(); - } else { - attrPathBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder setAttrPath( - int index, flyteidl.core.Types.PromiseAttribute.Builder builderForValue) { - if (attrPathBuilder_ == null) { - ensureAttrPathIsMutable(); - attrPath_.set(index, builderForValue.build()); - onChanged(); - } else { - attrPathBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder addAttrPath(flyteidl.core.Types.PromiseAttribute value) { - if (attrPathBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrPathIsMutable(); - attrPath_.add(value); - onChanged(); - } else { - attrPathBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder addAttrPath( - int index, flyteidl.core.Types.PromiseAttribute value) { - if (attrPathBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAttrPathIsMutable(); - attrPath_.add(index, value); - onChanged(); - } else { - attrPathBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder addAttrPath( - flyteidl.core.Types.PromiseAttribute.Builder builderForValue) { - if (attrPathBuilder_ == null) { - ensureAttrPathIsMutable(); - attrPath_.add(builderForValue.build()); - onChanged(); - } else { - attrPathBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder addAttrPath( - int index, flyteidl.core.Types.PromiseAttribute.Builder builderForValue) { - if (attrPathBuilder_ == null) { - ensureAttrPathIsMutable(); - attrPath_.add(index, builderForValue.build()); - onChanged(); - } else { - attrPathBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder addAllAttrPath( - java.lang.Iterable values) { - if (attrPathBuilder_ == null) { - ensureAttrPathIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attrPath_); - onChanged(); - } else { - attrPathBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder clearAttrPath() { - if (attrPathBuilder_ == null) { - attrPath_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - attrPathBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public Builder removeAttrPath(int index) { - if (attrPathBuilder_ == null) { - ensureAttrPathIsMutable(); - attrPath_.remove(index); - onChanged(); - } else { - attrPathBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public flyteidl.core.Types.PromiseAttribute.Builder getAttrPathBuilder( - int index) { - return getAttrPathFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public flyteidl.core.Types.PromiseAttributeOrBuilder getAttrPathOrBuilder( - int index) { - if (attrPathBuilder_ == null) { - return attrPath_.get(index); } else { - return attrPathBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public java.util.List - getAttrPathOrBuilderList() { - if (attrPathBuilder_ != null) { - return attrPathBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(attrPath_); - } - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public flyteidl.core.Types.PromiseAttribute.Builder addAttrPathBuilder() { - return getAttrPathFieldBuilder().addBuilder( - flyteidl.core.Types.PromiseAttribute.getDefaultInstance()); - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public flyteidl.core.Types.PromiseAttribute.Builder addAttrPathBuilder( - int index) { - return getAttrPathFieldBuilder().addBuilder( - index, flyteidl.core.Types.PromiseAttribute.getDefaultInstance()); - } - /** - * repeated .flyteidl.core.PromiseAttribute attr_path = 3; - */ - public java.util.List - getAttrPathBuilderList() { - return getAttrPathFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.PromiseAttribute, flyteidl.core.Types.PromiseAttribute.Builder, flyteidl.core.Types.PromiseAttributeOrBuilder> - getAttrPathFieldBuilder() { - if (attrPathBuilder_ == null) { - attrPathBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Types.PromiseAttribute, flyteidl.core.Types.PromiseAttribute.Builder, flyteidl.core.Types.PromiseAttributeOrBuilder>( - attrPath_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - attrPath_ = null; - } - return attrPathBuilder_; - } - @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.OutputReference) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.OutputReference) - private static final flyteidl.core.Types.OutputReference DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.OutputReference(); - } - - public static flyteidl.core.Types.OutputReference getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputReference(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.Types.OutputReference getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PromiseAttributeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.PromiseAttribute) - com.google.protobuf.MessageOrBuilder { - - /** - * string string_value = 1; - */ - java.lang.String getStringValue(); - /** - * string string_value = 1; - */ - com.google.protobuf.ByteString - getStringValueBytes(); - - /** - * int32 int_value = 2; - */ - int getIntValue(); - - public flyteidl.core.Types.PromiseAttribute.ValueCase getValueCase(); - } - /** - * Protobuf type {@code flyteidl.core.PromiseAttribute} - */ - public static final class PromiseAttribute extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.PromiseAttribute) - PromiseAttributeOrBuilder { - private static final long serialVersionUID = 0L; - // Use PromiseAttribute.newBuilder() to construct. - private PromiseAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PromiseAttribute() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PromiseAttribute( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 1; - value_ = s; - break; - } - case 16: { - valueCase_ = 2; - value_ = input.readInt32(); - 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.Types.internal_static_flyteidl_core_PromiseAttribute_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_PromiseAttribute_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.PromiseAttribute.class, flyteidl.core.Types.PromiseAttribute.Builder.class); - } - - private int valueCase_ = 0; - private java.lang.Object value_; - public enum ValueCase - implements com.google.protobuf.Internal.EnumLite { - STRING_VALUE(1), - INT_VALUE(2), - VALUE_NOT_SET(0); - private final int value; - private ValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValueCase valueOf(int value) { - return forNumber(value); - } - - public static ValueCase forNumber(int value) { - switch (value) { - case 1: return STRING_VALUE; - case 2: return INT_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public static final int STRING_VALUE_FIELD_NUMBER = 1; - /** - * string string_value = 1; - */ - public java.lang.String getStringValue() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - 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 (valueCase_ == 1) { - value_ = s; - } - return s; - } - } - /** - * string string_value = 1; - */ - public com.google.protobuf.ByteString - getStringValueBytes() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valueCase_ == 1) { - value_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INT_VALUE_FIELD_NUMBER = 2; - /** - * int32 int_value = 2; - */ - public int getIntValue() { - if (valueCase_ == 2) { - return (java.lang.Integer) value_; - } - return 0; - } - - 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 (valueCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); - } - if (valueCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) value_)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (valueCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); - } - if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) value_)); - } - 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.Types.PromiseAttribute)) { - return super.equals(obj); - } - flyteidl.core.Types.PromiseAttribute other = (flyteidl.core.Types.PromiseAttribute) obj; - - if (!getValueCase().equals(other.getValueCase())) return false; - switch (valueCase_) { - case 1: - if (!getStringValue() - .equals(other.getStringValue())) return false; - break; - case 2: - if (getIntValue() - != other.getIntValue()) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (valueCase_) { - case 1: - hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getStringValue().hashCode(); - break; - case 2: - hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getIntValue(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.PromiseAttribute parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.PromiseAttribute parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.PromiseAttribute parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.PromiseAttribute 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.Types.PromiseAttribute parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.PromiseAttribute parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.PromiseAttribute parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.PromiseAttribute 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.Types.PromiseAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.PromiseAttribute 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.Types.PromiseAttribute parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.PromiseAttribute 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.Types.PromiseAttribute 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.core.PromiseAttribute} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.PromiseAttribute) - flyteidl.core.Types.PromiseAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_PromiseAttribute_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_PromiseAttribute_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.PromiseAttribute.class, flyteidl.core.Types.PromiseAttribute.Builder.class); - } - - // Construct using flyteidl.core.Types.PromiseAttribute.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(); - valueCase_ = 0; - value_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_PromiseAttribute_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.PromiseAttribute getDefaultInstanceForType() { - return flyteidl.core.Types.PromiseAttribute.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.PromiseAttribute build() { - flyteidl.core.Types.PromiseAttribute result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.PromiseAttribute buildPartial() { - flyteidl.core.Types.PromiseAttribute result = new flyteidl.core.Types.PromiseAttribute(this); - if (valueCase_ == 1) { - result.value_ = value_; - } - if (valueCase_ == 2) { - result.value_ = value_; - } - result.valueCase_ = valueCase_; - 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.Types.PromiseAttribute) { - return mergeFrom((flyteidl.core.Types.PromiseAttribute)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.PromiseAttribute other) { - if (other == flyteidl.core.Types.PromiseAttribute.getDefaultInstance()) return this; - switch (other.getValueCase()) { - case STRING_VALUE: { - valueCase_ = 1; - value_ = other.value_; - onChanged(); - break; - } - case INT_VALUE: { - setIntValue(other.getIntValue()); - break; - } - case VALUE_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.Types.PromiseAttribute parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.PromiseAttribute) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int valueCase_ = 0; - private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); - } - - public Builder clearValue() { - valueCase_ = 0; - value_ = null; - onChanged(); - return this; - } - - - /** - * string string_value = 1; - */ - public java.lang.String getStringValue() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (valueCase_ == 1) { - value_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string string_value = 1; - */ - public com.google.protobuf.ByteString - getStringValueBytes() { - java.lang.Object ref = ""; - if (valueCase_ == 1) { - ref = value_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (valueCase_ == 1) { - value_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string string_value = 1; - */ - public Builder setStringValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 1; - value_ = value; - onChanged(); - return this; - } - /** - * string string_value = 1; - */ - public Builder clearStringValue() { - if (valueCase_ == 1) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - return this; - } - /** - * string string_value = 1; - */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - valueCase_ = 1; - value_ = value; - onChanged(); - return this; - } - - /** - * int32 int_value = 2; - */ - public int getIntValue() { - if (valueCase_ == 2) { - return (java.lang.Integer) value_; - } - return 0; - } - /** - * int32 int_value = 2; - */ - public Builder setIntValue(int value) { - valueCase_ = 2; - value_ = value; - onChanged(); - return this; - } - /** - * int32 int_value = 2; - */ - public Builder clearIntValue() { - if (valueCase_ == 2) { - valueCase_ = 0; - value_ = null; - onChanged(); - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.PromiseAttribute) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.PromiseAttribute) - private static final flyteidl.core.Types.PromiseAttribute DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.PromiseAttribute(); - } - - public static flyteidl.core.Types.PromiseAttribute getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromiseAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PromiseAttribute(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.Types.PromiseAttribute getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Error) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The node id that threw the error.
-     * 
- * - * string failed_node_id = 1; - */ - java.lang.String getFailedNodeId(); - /** - *
-     * The node id that threw the error.
-     * 
- * - * string failed_node_id = 1; - */ - com.google.protobuf.ByteString - getFailedNodeIdBytes(); - - /** - *
-     * Error message thrown.
-     * 
- * - * string message = 2; - */ - java.lang.String getMessage(); - /** - *
-     * Error message thrown.
-     * 
- * - * string message = 2; - */ - com.google.protobuf.ByteString - getMessageBytes(); - } - /** - *
-   * Represents an error thrown from a node.
-   * 
- * - * Protobuf type {@code flyteidl.core.Error} - */ - public static final class Error extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Error) - ErrorOrBuilder { - private static final long serialVersionUID = 0L; - // Use Error.newBuilder() to construct. - private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Error() { - failedNodeId_ = ""; - message_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Error( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - failedNodeId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - message_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_Error_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.Error.class, flyteidl.core.Types.Error.Builder.class); - } - - public static final int FAILED_NODE_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object failedNodeId_; - /** - *
-     * The node id that threw the error.
-     * 
- * - * string failed_node_id = 1; - */ - public java.lang.String getFailedNodeId() { - java.lang.Object ref = failedNodeId_; - 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(); - failedNodeId_ = s; - return s; - } - } - /** - *
-     * The node id that threw the error.
-     * 
- * - * string failed_node_id = 1; - */ - public com.google.protobuf.ByteString - getFailedNodeIdBytes() { - java.lang.Object ref = failedNodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - failedNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MESSAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object message_; - /** - *
-     * Error message thrown.
-     * 
- * - * 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; - } - } - /** - *
-     * Error message thrown.
-     * 
- * - * 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; - } - } - - 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 (!getFailedNodeIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, failedNodeId_); - } - if (!getMessageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getFailedNodeIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, failedNodeId_); - } - if (!getMessageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); - } - 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.Types.Error)) { - return super.equals(obj); - } - flyteidl.core.Types.Error other = (flyteidl.core.Types.Error) obj; - - if (!getFailedNodeId() - .equals(other.getFailedNodeId())) return false; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FAILED_NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getFailedNodeId().hashCode(); - hash = (37 * hash) + MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getMessage().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Types.Error parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.Error parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.Error parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.Error 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.Types.Error parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Types.Error parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Types.Error parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.Error 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.Types.Error parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Types.Error 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.Types.Error parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Types.Error 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.Types.Error 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; - } - /** - *
-     * Represents an error thrown from a node.
-     * 
- * - * Protobuf type {@code flyteidl.core.Error} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Error) - flyteidl.core.Types.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Types.internal_static_flyteidl_core_Error_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Types.internal_static_flyteidl_core_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Types.Error.class, flyteidl.core.Types.Error.Builder.class); - } - - // Construct using flyteidl.core.Types.Error.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(); - failedNodeId_ = ""; - - message_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Types.internal_static_flyteidl_core_Error_descriptor; - } - - @java.lang.Override - public flyteidl.core.Types.Error getDefaultInstanceForType() { - return flyteidl.core.Types.Error.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Types.Error build() { - flyteidl.core.Types.Error result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Types.Error buildPartial() { - flyteidl.core.Types.Error result = new flyteidl.core.Types.Error(this); - result.failedNodeId_ = failedNodeId_; - result.message_ = message_; - 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.Types.Error) { - return mergeFrom((flyteidl.core.Types.Error)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Types.Error other) { - if (other == flyteidl.core.Types.Error.getDefaultInstance()) return this; - if (!other.getFailedNodeId().isEmpty()) { - failedNodeId_ = other.failedNodeId_; - onChanged(); - } - if (!other.getMessage().isEmpty()) { - message_ = other.message_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Types.Error parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Types.Error) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object failedNodeId_ = ""; - /** - *
-       * The node id that threw the error.
-       * 
- * - * string failed_node_id = 1; - */ - public java.lang.String getFailedNodeId() { - java.lang.Object ref = failedNodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - failedNodeId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The node id that threw the error.
-       * 
- * - * string failed_node_id = 1; - */ - public com.google.protobuf.ByteString - getFailedNodeIdBytes() { - java.lang.Object ref = failedNodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - failedNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The node id that threw the error.
-       * 
- * - * string failed_node_id = 1; - */ - public Builder setFailedNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - failedNodeId_ = value; - onChanged(); - return this; - } - /** - *
-       * The node id that threw the error.
-       * 
- * - * string failed_node_id = 1; - */ - public Builder clearFailedNodeId() { - - failedNodeId_ = getDefaultInstance().getFailedNodeId(); - onChanged(); - return this; - } - /** - *
-       * The node id that threw the error.
-       * 
- * - * string failed_node_id = 1; - */ - public Builder setFailedNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - failedNodeId_ = value; - onChanged(); - return this; - } - - private java.lang.Object message_ = ""; - /** - *
-       * Error message thrown.
-       * 
- * - * 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; - } - } - /** - *
-       * Error message thrown.
-       * 
- * - * 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; - } - } - /** - *
-       * Error message thrown.
-       * 
- * - * string message = 2; - */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - message_ = value; - onChanged(); - return this; - } - /** - *
-       * Error message thrown.
-       * 
- * - * string message = 2; - */ - public Builder clearMessage() { - - message_ = getDefaultInstance().getMessage(); - onChanged(); - return this; - } - /** - *
-       * Error message thrown.
-       * 
- * - * string message = 2; - */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - message_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Error) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Error) - private static final flyteidl.core.Types.Error DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Types.Error(); - } - - public static flyteidl.core.Types.Error getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(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.Types.Error getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_SchemaType_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_SchemaType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_SchemaType_SchemaColumn_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_SchemaType_SchemaColumn_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_StructuredDatasetType_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_StructuredDatasetType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_StructuredDatasetType_DatasetColumn_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_StructuredDatasetType_DatasetColumn_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BlobType_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BlobType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_EnumType_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_EnumType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_UnionType_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_UnionType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TypeStructure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TypeStructure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TypeStructure_DataclassTypeEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TypeStructure_DataclassTypeEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TypeAnnotation_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TypeAnnotation_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_LiteralType_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_LiteralType_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_OutputReference_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_OutputReference_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_PromiseAttribute_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_PromiseAttribute_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Error_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Error_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\031flyteidl/core/types.proto\022\rflyteidl.co" + - "re\032\034google/protobuf/struct.proto\"\214\002\n\nSch" + - "emaType\0227\n\007columns\030\003 \003(\0132&.flyteidl.core" + - ".SchemaType.SchemaColumn\032\304\001\n\014SchemaColum" + - "n\022\014\n\004name\030\001 \001(\t\022E\n\004type\030\002 \001(\01627.flyteidl" + - ".core.SchemaType.SchemaColumn.SchemaColu" + - "mnType\"_\n\020SchemaColumnType\022\013\n\007INTEGER\020\000\022" + - "\t\n\005FLOAT\020\001\022\n\n\006STRING\020\002\022\013\n\007BOOLEAN\020\003\022\014\n\010D" + - "ATETIME\020\004\022\014\n\010DURATION\020\005\"\372\001\n\025StructuredDa" + - "tasetType\022C\n\007columns\030\001 \003(\01322.flyteidl.co" + - "re.StructuredDatasetType.DatasetColumn\022\016" + - "\n\006format\030\002 \001(\t\022\034\n\024external_schema_type\030\003" + - " \001(\t\022\035\n\025external_schema_bytes\030\004 \001(\014\032O\n\rD" + - "atasetColumn\022\014\n\004name\030\001 \001(\t\0220\n\014literal_ty" + - "pe\030\002 \001(\0132\032.flyteidl.core.LiteralType\"\217\001\n" + - "\010BlobType\022\016\n\006format\030\001 \001(\t\022B\n\016dimensional" + - "ity\030\002 \001(\0162*.flyteidl.core.BlobType.BlobD" + - "imensionality\"/\n\022BlobDimensionality\022\n\n\006S" + - "INGLE\020\000\022\r\n\tMULTIPART\020\001\"\032\n\010EnumType\022\016\n\006va" + - "lues\030\001 \003(\t\"9\n\tUnionType\022,\n\010variants\030\001 \003(" + - "\0132\032.flyteidl.core.LiteralType\"\267\001\n\rTypeSt" + - "ructure\022\013\n\003tag\030\001 \001(\t\022G\n\016dataclass_type\030\002" + - " \003(\0132/.flyteidl.core.TypeStructure.Datac" + - "lassTypeEntry\032P\n\022DataclassTypeEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.flyteidl.core." + - "LiteralType:\0028\001\">\n\016TypeAnnotation\022,\n\013ann" + - "otations\030\001 \001(\0132\027.google.protobuf.Struct\"" + - "\273\004\n\013LiteralType\022+\n\006simple\030\001 \001(\0162\031.flytei" + - "dl.core.SimpleTypeH\000\022+\n\006schema\030\002 \001(\0132\031.f" + - "lyteidl.core.SchemaTypeH\000\0225\n\017collection_" + - "type\030\003 \001(\0132\032.flyteidl.core.LiteralTypeH\000" + - "\0224\n\016map_value_type\030\004 \001(\0132\032.flyteidl.core" + - ".LiteralTypeH\000\022\'\n\004blob\030\005 \001(\0132\027.flyteidl." + - "core.BlobTypeH\000\022,\n\tenum_type\030\007 \001(\0132\027.fly" + - "teidl.core.EnumTypeH\000\022G\n\027structured_data" + - "set_type\030\010 \001(\0132$.flyteidl.core.Structure" + - "dDatasetTypeH\000\022.\n\nunion_type\030\n \001(\0132\030.fly" + - "teidl.core.UnionTypeH\000\022)\n\010metadata\030\006 \001(\013" + - "2\027.google.protobuf.Struct\0221\n\nannotation\030" + - "\t \001(\0132\035.flyteidl.core.TypeAnnotation\022/\n\t" + - "structure\030\013 \001(\0132\034.flyteidl.core.TypeStru" + - "ctureB\006\n\004type\"c\n\017OutputReference\022\017\n\007node" + - "_id\030\001 \001(\t\022\013\n\003var\030\002 \001(\t\0222\n\tattr_path\030\003 \003(" + - "\0132\037.flyteidl.core.PromiseAttribute\"H\n\020Pr" + - "omiseAttribute\022\026\n\014string_value\030\001 \001(\tH\000\022\023" + - "\n\tint_value\030\002 \001(\005H\000B\007\n\005value\"0\n\005Error\022\026\n" + - "\016failed_node_id\030\001 \001(\t\022\017\n\007message\030\002 \001(\t*\206" + - "\001\n\nSimpleType\022\010\n\004NONE\020\000\022\013\n\007INTEGER\020\001\022\t\n\005" + - "FLOAT\020\002\022\n\n\006STRING\020\003\022\013\n\007BOOLEAN\020\004\022\014\n\010DATE" + - "TIME\020\005\022\014\n\010DURATION\020\006\022\n\n\006BINARY\020\007\022\t\n\005ERRO" + - "R\020\010\022\n\n\006STRUCT\020\tB.flyteidl.core.BooleanExpression condition = 1; - */ - boolean hasCondition(); - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - flyteidl.core.Condition.BooleanExpression getCondition(); - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - flyteidl.core.Condition.BooleanExpressionOrBuilder getConditionOrBuilder(); - - /** - * .flyteidl.core.Node then_node = 2; - */ - boolean hasThenNode(); - /** - * .flyteidl.core.Node then_node = 2; - */ - flyteidl.core.Workflow.Node getThenNode(); - /** - * .flyteidl.core.Node then_node = 2; - */ - flyteidl.core.Workflow.NodeOrBuilder getThenNodeOrBuilder(); - } - /** - *
-   * Defines a condition and the execution unit that should be executed if the condition is satisfied.
-   * 
- * - * Protobuf type {@code flyteidl.core.IfBlock} - */ - public static final class IfBlock extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.IfBlock) - IfBlockOrBuilder { - private static final long serialVersionUID = 0L; - // Use IfBlock.newBuilder() to construct. - private IfBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private IfBlock() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private IfBlock( - 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.Condition.BooleanExpression.Builder subBuilder = null; - if (condition_ != null) { - subBuilder = condition_.toBuilder(); - } - condition_ = input.readMessage(flyteidl.core.Condition.BooleanExpression.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(condition_); - condition_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Workflow.Node.Builder subBuilder = null; - if (thenNode_ != null) { - subBuilder = thenNode_.toBuilder(); - } - thenNode_ = input.readMessage(flyteidl.core.Workflow.Node.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(thenNode_); - thenNode_ = 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.core.Workflow.internal_static_flyteidl_core_IfBlock_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfBlock_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.IfBlock.class, flyteidl.core.Workflow.IfBlock.Builder.class); - } - - public static final int CONDITION_FIELD_NUMBER = 1; - private flyteidl.core.Condition.BooleanExpression condition_; - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public boolean hasCondition() { - return condition_ != null; - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public flyteidl.core.Condition.BooleanExpression getCondition() { - return condition_ == null ? flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : condition_; - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public flyteidl.core.Condition.BooleanExpressionOrBuilder getConditionOrBuilder() { - return getCondition(); - } - - public static final int THEN_NODE_FIELD_NUMBER = 2; - private flyteidl.core.Workflow.Node thenNode_; - /** - * .flyteidl.core.Node then_node = 2; - */ - public boolean hasThenNode() { - return thenNode_ != null; - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public flyteidl.core.Workflow.Node getThenNode() { - return thenNode_ == null ? flyteidl.core.Workflow.Node.getDefaultInstance() : thenNode_; - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public flyteidl.core.Workflow.NodeOrBuilder getThenNodeOrBuilder() { - return getThenNode(); - } - - 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 (condition_ != null) { - output.writeMessage(1, getCondition()); - } - if (thenNode_ != null) { - output.writeMessage(2, getThenNode()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCondition()); - } - if (thenNode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getThenNode()); - } - 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.Workflow.IfBlock)) { - return super.equals(obj); - } - flyteidl.core.Workflow.IfBlock other = (flyteidl.core.Workflow.IfBlock) obj; - - if (hasCondition() != other.hasCondition()) return false; - if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; - } - if (hasThenNode() != other.hasThenNode()) return false; - if (hasThenNode()) { - if (!getThenNode() - .equals(other.getThenNode())) 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 (hasCondition()) { - hash = (37 * hash) + CONDITION_FIELD_NUMBER; - hash = (53 * hash) + getCondition().hashCode(); - } - if (hasThenNode()) { - hash = (37 * hash) + THEN_NODE_FIELD_NUMBER; - hash = (53 * hash) + getThenNode().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.IfBlock parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.IfBlock parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.IfBlock parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.IfBlock 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.Workflow.IfBlock parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.IfBlock parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.IfBlock parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.IfBlock 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.Workflow.IfBlock parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.IfBlock 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.Workflow.IfBlock parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.IfBlock 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.Workflow.IfBlock prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a condition and the execution unit that should be executed if the condition is satisfied.
-     * 
- * - * Protobuf type {@code flyteidl.core.IfBlock} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.IfBlock) - flyteidl.core.Workflow.IfBlockOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfBlock_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfBlock_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.IfBlock.class, flyteidl.core.Workflow.IfBlock.Builder.class); - } - - // Construct using flyteidl.core.Workflow.IfBlock.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 (conditionBuilder_ == null) { - condition_ = null; - } else { - condition_ = null; - conditionBuilder_ = null; - } - if (thenNodeBuilder_ == null) { - thenNode_ = null; - } else { - thenNode_ = null; - thenNodeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfBlock_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.IfBlock getDefaultInstanceForType() { - return flyteidl.core.Workflow.IfBlock.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.IfBlock build() { - flyteidl.core.Workflow.IfBlock result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.IfBlock buildPartial() { - flyteidl.core.Workflow.IfBlock result = new flyteidl.core.Workflow.IfBlock(this); - if (conditionBuilder_ == null) { - result.condition_ = condition_; - } else { - result.condition_ = conditionBuilder_.build(); - } - if (thenNodeBuilder_ == null) { - result.thenNode_ = thenNode_; - } else { - result.thenNode_ = thenNodeBuilder_.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.Workflow.IfBlock) { - return mergeFrom((flyteidl.core.Workflow.IfBlock)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.IfBlock other) { - if (other == flyteidl.core.Workflow.IfBlock.getDefaultInstance()) return this; - if (other.hasCondition()) { - mergeCondition(other.getCondition()); - } - if (other.hasThenNode()) { - mergeThenNode(other.getThenNode()); - } - 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.Workflow.IfBlock parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.IfBlock) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Condition.BooleanExpression condition_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder> conditionBuilder_; - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public boolean hasCondition() { - return conditionBuilder_ != null || condition_ != null; - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public flyteidl.core.Condition.BooleanExpression getCondition() { - if (conditionBuilder_ == null) { - return condition_ == null ? flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : condition_; - } else { - return conditionBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public Builder setCondition(flyteidl.core.Condition.BooleanExpression value) { - if (conditionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - condition_ = value; - onChanged(); - } else { - conditionBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public Builder setCondition( - flyteidl.core.Condition.BooleanExpression.Builder builderForValue) { - if (conditionBuilder_ == null) { - condition_ = builderForValue.build(); - onChanged(); - } else { - conditionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public Builder mergeCondition(flyteidl.core.Condition.BooleanExpression value) { - if (conditionBuilder_ == null) { - if (condition_ != null) { - condition_ = - flyteidl.core.Condition.BooleanExpression.newBuilder(condition_).mergeFrom(value).buildPartial(); - } else { - condition_ = value; - } - onChanged(); - } else { - conditionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public Builder clearCondition() { - if (conditionBuilder_ == null) { - condition_ = null; - onChanged(); - } else { - condition_ = null; - conditionBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public flyteidl.core.Condition.BooleanExpression.Builder getConditionBuilder() { - - onChanged(); - return getConditionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - public flyteidl.core.Condition.BooleanExpressionOrBuilder getConditionOrBuilder() { - if (conditionBuilder_ != null) { - return conditionBuilder_.getMessageOrBuilder(); - } else { - return condition_ == null ? - flyteidl.core.Condition.BooleanExpression.getDefaultInstance() : condition_; - } - } - /** - * .flyteidl.core.BooleanExpression condition = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder> - getConditionFieldBuilder() { - if (conditionBuilder_ == null) { - conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Condition.BooleanExpression, flyteidl.core.Condition.BooleanExpression.Builder, flyteidl.core.Condition.BooleanExpressionOrBuilder>( - getCondition(), - getParentForChildren(), - isClean()); - condition_ = null; - } - return conditionBuilder_; - } - - private flyteidl.core.Workflow.Node thenNode_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> thenNodeBuilder_; - /** - * .flyteidl.core.Node then_node = 2; - */ - public boolean hasThenNode() { - return thenNodeBuilder_ != null || thenNode_ != null; - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public flyteidl.core.Workflow.Node getThenNode() { - if (thenNodeBuilder_ == null) { - return thenNode_ == null ? flyteidl.core.Workflow.Node.getDefaultInstance() : thenNode_; - } else { - return thenNodeBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public Builder setThenNode(flyteidl.core.Workflow.Node value) { - if (thenNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - thenNode_ = value; - onChanged(); - } else { - thenNodeBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public Builder setThenNode( - flyteidl.core.Workflow.Node.Builder builderForValue) { - if (thenNodeBuilder_ == null) { - thenNode_ = builderForValue.build(); - onChanged(); - } else { - thenNodeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public Builder mergeThenNode(flyteidl.core.Workflow.Node value) { - if (thenNodeBuilder_ == null) { - if (thenNode_ != null) { - thenNode_ = - flyteidl.core.Workflow.Node.newBuilder(thenNode_).mergeFrom(value).buildPartial(); - } else { - thenNode_ = value; - } - onChanged(); - } else { - thenNodeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public Builder clearThenNode() { - if (thenNodeBuilder_ == null) { - thenNode_ = null; - onChanged(); - } else { - thenNode_ = null; - thenNodeBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public flyteidl.core.Workflow.Node.Builder getThenNodeBuilder() { - - onChanged(); - return getThenNodeFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Node then_node = 2; - */ - public flyteidl.core.Workflow.NodeOrBuilder getThenNodeOrBuilder() { - if (thenNodeBuilder_ != null) { - return thenNodeBuilder_.getMessageOrBuilder(); - } else { - return thenNode_ == null ? - flyteidl.core.Workflow.Node.getDefaultInstance() : thenNode_; - } - } - /** - * .flyteidl.core.Node then_node = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> - getThenNodeFieldBuilder() { - if (thenNodeBuilder_ == null) { - thenNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>( - getThenNode(), - getParentForChildren(), - isClean()); - thenNode_ = null; - } - return thenNodeBuilder_; - } - @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.IfBlock) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.IfBlock) - private static final flyteidl.core.Workflow.IfBlock DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.IfBlock(); - } - - public static flyteidl.core.Workflow.IfBlock getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IfBlock parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IfBlock(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.Workflow.IfBlock getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface IfElseBlockOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.IfElseBlock) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     *+required. First condition to evaluate.
-     * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - boolean hasCase(); - /** - *
-     *+required. First condition to evaluate.
-     * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - flyteidl.core.Workflow.IfBlock getCase(); - /** - *
-     *+required. First condition to evaluate.
-     * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - flyteidl.core.Workflow.IfBlockOrBuilder getCaseOrBuilder(); - - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - java.util.List - getOtherList(); - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - flyteidl.core.Workflow.IfBlock getOther(int index); - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - int getOtherCount(); - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - java.util.List - getOtherOrBuilderList(); - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - flyteidl.core.Workflow.IfBlockOrBuilder getOtherOrBuilder( - int index); - - /** - *
-     * The node to execute in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Node else_node = 3; - */ - boolean hasElseNode(); - /** - *
-     * The node to execute in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Node else_node = 3; - */ - flyteidl.core.Workflow.Node getElseNode(); - /** - *
-     * The node to execute in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Node else_node = 3; - */ - flyteidl.core.Workflow.NodeOrBuilder getElseNodeOrBuilder(); - - /** - *
-     * An error to throw in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Error error = 4; - */ - boolean hasError(); - /** - *
-     * An error to throw in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Error error = 4; - */ - flyteidl.core.Types.Error getError(); - /** - *
-     * An error to throw in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Error error = 4; - */ - flyteidl.core.Types.ErrorOrBuilder getErrorOrBuilder(); - - public flyteidl.core.Workflow.IfElseBlock.DefaultCase getDefaultCase(); - } - /** - *
-   * Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute.
-   * If no conditions were satisfied, the else_node or the error will execute.
-   * 
- * - * Protobuf type {@code flyteidl.core.IfElseBlock} - */ - public static final class IfElseBlock extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.IfElseBlock) - IfElseBlockOrBuilder { - private static final long serialVersionUID = 0L; - // Use IfElseBlock.newBuilder() to construct. - private IfElseBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private IfElseBlock() { - other_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private IfElseBlock( - 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.Workflow.IfBlock.Builder subBuilder = null; - if (case_ != null) { - subBuilder = case_.toBuilder(); - } - case_ = input.readMessage(flyteidl.core.Workflow.IfBlock.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(case_); - case_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - other_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - other_.add( - input.readMessage(flyteidl.core.Workflow.IfBlock.parser(), extensionRegistry)); - break; - } - case 26: { - flyteidl.core.Workflow.Node.Builder subBuilder = null; - if (defaultCase_ == 3) { - subBuilder = ((flyteidl.core.Workflow.Node) default_).toBuilder(); - } - default_ = - input.readMessage(flyteidl.core.Workflow.Node.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.Node) default_); - default_ = subBuilder.buildPartial(); - } - defaultCase_ = 3; - break; - } - case 34: { - flyteidl.core.Types.Error.Builder subBuilder = null; - if (defaultCase_ == 4) { - subBuilder = ((flyteidl.core.Types.Error) default_).toBuilder(); - } - default_ = - input.readMessage(flyteidl.core.Types.Error.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Types.Error) default_); - default_ = subBuilder.buildPartial(); - } - defaultCase_ = 4; - 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_ & 0x00000002) != 0)) { - other_ = java.util.Collections.unmodifiableList(other_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfElseBlock_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfElseBlock_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.IfElseBlock.class, flyteidl.core.Workflow.IfElseBlock.Builder.class); - } - - private int bitField0_; - private int defaultCase_ = 0; - private java.lang.Object default_; - public enum DefaultCase - implements com.google.protobuf.Internal.EnumLite { - ELSE_NODE(3), - ERROR(4), - DEFAULT_NOT_SET(0); - private final int value; - private DefaultCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static DefaultCase valueOf(int value) { - return forNumber(value); - } - - public static DefaultCase forNumber(int value) { - switch (value) { - case 3: return ELSE_NODE; - case 4: return ERROR; - case 0: return DEFAULT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public DefaultCase - getDefaultCase() { - return DefaultCase.forNumber( - defaultCase_); - } - - public static final int CASE_FIELD_NUMBER = 1; - private flyteidl.core.Workflow.IfBlock case_; - /** - *
-     *+required. First condition to evaluate.
-     * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public boolean hasCase() { - return case_ != null; - } - /** - *
-     *+required. First condition to evaluate.
-     * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public flyteidl.core.Workflow.IfBlock getCase() { - return case_ == null ? flyteidl.core.Workflow.IfBlock.getDefaultInstance() : case_; - } - /** - *
-     *+required. First condition to evaluate.
-     * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public flyteidl.core.Workflow.IfBlockOrBuilder getCaseOrBuilder() { - return getCase(); - } - - public static final int OTHER_FIELD_NUMBER = 2; - private java.util.List other_; - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public java.util.List getOtherList() { - return other_; - } - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public java.util.List - getOtherOrBuilderList() { - return other_; - } - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public int getOtherCount() { - return other_.size(); - } - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public flyteidl.core.Workflow.IfBlock getOther(int index) { - return other_.get(index); - } - /** - *
-     *+optional. Additional branches to evaluate.
-     * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public flyteidl.core.Workflow.IfBlockOrBuilder getOtherOrBuilder( - int index) { - return other_.get(index); - } - - public static final int ELSE_NODE_FIELD_NUMBER = 3; - /** - *
-     * The node to execute in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public boolean hasElseNode() { - return defaultCase_ == 3; - } - /** - *
-     * The node to execute in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public flyteidl.core.Workflow.Node getElseNode() { - if (defaultCase_ == 3) { - return (flyteidl.core.Workflow.Node) default_; - } - return flyteidl.core.Workflow.Node.getDefaultInstance(); - } - /** - *
-     * The node to execute in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public flyteidl.core.Workflow.NodeOrBuilder getElseNodeOrBuilder() { - if (defaultCase_ == 3) { - return (flyteidl.core.Workflow.Node) default_; - } - return flyteidl.core.Workflow.Node.getDefaultInstance(); - } - - public static final int ERROR_FIELD_NUMBER = 4; - /** - *
-     * An error to throw in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Error error = 4; - */ - public boolean hasError() { - return defaultCase_ == 4; - } - /** - *
-     * An error to throw in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Error error = 4; - */ - public flyteidl.core.Types.Error getError() { - if (defaultCase_ == 4) { - return (flyteidl.core.Types.Error) default_; - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } - /** - *
-     * An error to throw in case none of the branches were taken.
-     * 
- * - * .flyteidl.core.Error error = 4; - */ - public flyteidl.core.Types.ErrorOrBuilder getErrorOrBuilder() { - if (defaultCase_ == 4) { - return (flyteidl.core.Types.Error) default_; - } - return flyteidl.core.Types.Error.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 (case_ != null) { - output.writeMessage(1, getCase()); - } - for (int i = 0; i < other_.size(); i++) { - output.writeMessage(2, other_.get(i)); - } - if (defaultCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Workflow.Node) default_); - } - if (defaultCase_ == 4) { - output.writeMessage(4, (flyteidl.core.Types.Error) default_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (case_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCase()); - } - for (int i = 0; i < other_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, other_.get(i)); - } - if (defaultCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Workflow.Node) default_); - } - if (defaultCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (flyteidl.core.Types.Error) default_); - } - 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.Workflow.IfElseBlock)) { - return super.equals(obj); - } - flyteidl.core.Workflow.IfElseBlock other = (flyteidl.core.Workflow.IfElseBlock) obj; - - if (hasCase() != other.hasCase()) return false; - if (hasCase()) { - if (!getCase() - .equals(other.getCase())) return false; - } - if (!getOtherList() - .equals(other.getOtherList())) return false; - if (!getDefaultCase().equals(other.getDefaultCase())) return false; - switch (defaultCase_) { - case 3: - if (!getElseNode() - .equals(other.getElseNode())) return false; - break; - case 4: - if (!getError() - .equals(other.getError())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasCase()) { - hash = (37 * hash) + CASE_FIELD_NUMBER; - hash = (53 * hash) + getCase().hashCode(); - } - if (getOtherCount() > 0) { - hash = (37 * hash) + OTHER_FIELD_NUMBER; - hash = (53 * hash) + getOtherList().hashCode(); - } - switch (defaultCase_) { - case 3: - hash = (37 * hash) + ELSE_NODE_FIELD_NUMBER; - hash = (53 * hash) + getElseNode().hashCode(); - break; - case 4: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.IfElseBlock parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.IfElseBlock parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.IfElseBlock parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.IfElseBlock 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.Workflow.IfElseBlock parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.IfElseBlock parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.IfElseBlock parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.IfElseBlock 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.Workflow.IfElseBlock parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.IfElseBlock 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.Workflow.IfElseBlock parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.IfElseBlock 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.Workflow.IfElseBlock prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute.
-     * If no conditions were satisfied, the else_node or the error will execute.
-     * 
- * - * Protobuf type {@code flyteidl.core.IfElseBlock} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.IfElseBlock) - flyteidl.core.Workflow.IfElseBlockOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfElseBlock_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfElseBlock_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.IfElseBlock.class, flyteidl.core.Workflow.IfElseBlock.Builder.class); - } - - // Construct using flyteidl.core.Workflow.IfElseBlock.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getOtherFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (caseBuilder_ == null) { - case_ = null; - } else { - case_ = null; - caseBuilder_ = null; - } - if (otherBuilder_ == null) { - other_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - otherBuilder_.clear(); - } - defaultCase_ = 0; - default_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_IfElseBlock_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.IfElseBlock getDefaultInstanceForType() { - return flyteidl.core.Workflow.IfElseBlock.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.IfElseBlock build() { - flyteidl.core.Workflow.IfElseBlock result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.IfElseBlock buildPartial() { - flyteidl.core.Workflow.IfElseBlock result = new flyteidl.core.Workflow.IfElseBlock(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (caseBuilder_ == null) { - result.case_ = case_; - } else { - result.case_ = caseBuilder_.build(); - } - if (otherBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - other_ = java.util.Collections.unmodifiableList(other_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.other_ = other_; - } else { - result.other_ = otherBuilder_.build(); - } - if (defaultCase_ == 3) { - if (elseNodeBuilder_ == null) { - result.default_ = default_; - } else { - result.default_ = elseNodeBuilder_.build(); - } - } - if (defaultCase_ == 4) { - if (errorBuilder_ == null) { - result.default_ = default_; - } else { - result.default_ = errorBuilder_.build(); - } - } - result.bitField0_ = to_bitField0_; - result.defaultCase_ = defaultCase_; - 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.Workflow.IfElseBlock) { - return mergeFrom((flyteidl.core.Workflow.IfElseBlock)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.IfElseBlock other) { - if (other == flyteidl.core.Workflow.IfElseBlock.getDefaultInstance()) return this; - if (other.hasCase()) { - mergeCase(other.getCase()); - } - if (otherBuilder_ == null) { - if (!other.other_.isEmpty()) { - if (other_.isEmpty()) { - other_ = other.other_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureOtherIsMutable(); - other_.addAll(other.other_); - } - onChanged(); - } - } else { - if (!other.other_.isEmpty()) { - if (otherBuilder_.isEmpty()) { - otherBuilder_.dispose(); - otherBuilder_ = null; - other_ = other.other_; - bitField0_ = (bitField0_ & ~0x00000002); - otherBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOtherFieldBuilder() : null; - } else { - otherBuilder_.addAllMessages(other.other_); - } - } - } - switch (other.getDefaultCase()) { - case ELSE_NODE: { - mergeElseNode(other.getElseNode()); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case DEFAULT_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.Workflow.IfElseBlock parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.IfElseBlock) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int defaultCase_ = 0; - private java.lang.Object default_; - public DefaultCase - getDefaultCase() { - return DefaultCase.forNumber( - defaultCase_); - } - - public Builder clearDefault() { - defaultCase_ = 0; - default_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private flyteidl.core.Workflow.IfBlock case_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.IfBlock, flyteidl.core.Workflow.IfBlock.Builder, flyteidl.core.Workflow.IfBlockOrBuilder> caseBuilder_; - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public boolean hasCase() { - return caseBuilder_ != null || case_ != null; - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public flyteidl.core.Workflow.IfBlock getCase() { - if (caseBuilder_ == null) { - return case_ == null ? flyteidl.core.Workflow.IfBlock.getDefaultInstance() : case_; - } else { - return caseBuilder_.getMessage(); - } - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public Builder setCase(flyteidl.core.Workflow.IfBlock value) { - if (caseBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - case_ = value; - onChanged(); - } else { - caseBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public Builder setCase( - flyteidl.core.Workflow.IfBlock.Builder builderForValue) { - if (caseBuilder_ == null) { - case_ = builderForValue.build(); - onChanged(); - } else { - caseBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public Builder mergeCase(flyteidl.core.Workflow.IfBlock value) { - if (caseBuilder_ == null) { - if (case_ != null) { - case_ = - flyteidl.core.Workflow.IfBlock.newBuilder(case_).mergeFrom(value).buildPartial(); - } else { - case_ = value; - } - onChanged(); - } else { - caseBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public Builder clearCase() { - if (caseBuilder_ == null) { - case_ = null; - onChanged(); - } else { - case_ = null; - caseBuilder_ = null; - } - - return this; - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public flyteidl.core.Workflow.IfBlock.Builder getCaseBuilder() { - - onChanged(); - return getCaseFieldBuilder().getBuilder(); - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - public flyteidl.core.Workflow.IfBlockOrBuilder getCaseOrBuilder() { - if (caseBuilder_ != null) { - return caseBuilder_.getMessageOrBuilder(); - } else { - return case_ == null ? - flyteidl.core.Workflow.IfBlock.getDefaultInstance() : case_; - } - } - /** - *
-       *+required. First condition to evaluate.
-       * 
- * - * .flyteidl.core.IfBlock case = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.IfBlock, flyteidl.core.Workflow.IfBlock.Builder, flyteidl.core.Workflow.IfBlockOrBuilder> - getCaseFieldBuilder() { - if (caseBuilder_ == null) { - caseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.IfBlock, flyteidl.core.Workflow.IfBlock.Builder, flyteidl.core.Workflow.IfBlockOrBuilder>( - getCase(), - getParentForChildren(), - isClean()); - case_ = null; - } - return caseBuilder_; - } - - private java.util.List other_ = - java.util.Collections.emptyList(); - private void ensureOtherIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - other_ = new java.util.ArrayList(other_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.IfBlock, flyteidl.core.Workflow.IfBlock.Builder, flyteidl.core.Workflow.IfBlockOrBuilder> otherBuilder_; - - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public java.util.List getOtherList() { - if (otherBuilder_ == null) { - return java.util.Collections.unmodifiableList(other_); - } else { - return otherBuilder_.getMessageList(); - } - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public int getOtherCount() { - if (otherBuilder_ == null) { - return other_.size(); - } else { - return otherBuilder_.getCount(); - } - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public flyteidl.core.Workflow.IfBlock getOther(int index) { - if (otherBuilder_ == null) { - return other_.get(index); - } else { - return otherBuilder_.getMessage(index); - } - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder setOther( - int index, flyteidl.core.Workflow.IfBlock value) { - if (otherBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOtherIsMutable(); - other_.set(index, value); - onChanged(); - } else { - otherBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder setOther( - int index, flyteidl.core.Workflow.IfBlock.Builder builderForValue) { - if (otherBuilder_ == null) { - ensureOtherIsMutable(); - other_.set(index, builderForValue.build()); - onChanged(); - } else { - otherBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder addOther(flyteidl.core.Workflow.IfBlock value) { - if (otherBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOtherIsMutable(); - other_.add(value); - onChanged(); - } else { - otherBuilder_.addMessage(value); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder addOther( - int index, flyteidl.core.Workflow.IfBlock value) { - if (otherBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOtherIsMutable(); - other_.add(index, value); - onChanged(); - } else { - otherBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder addOther( - flyteidl.core.Workflow.IfBlock.Builder builderForValue) { - if (otherBuilder_ == null) { - ensureOtherIsMutable(); - other_.add(builderForValue.build()); - onChanged(); - } else { - otherBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder addOther( - int index, flyteidl.core.Workflow.IfBlock.Builder builderForValue) { - if (otherBuilder_ == null) { - ensureOtherIsMutable(); - other_.add(index, builderForValue.build()); - onChanged(); - } else { - otherBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder addAllOther( - java.lang.Iterable values) { - if (otherBuilder_ == null) { - ensureOtherIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, other_); - onChanged(); - } else { - otherBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder clearOther() { - if (otherBuilder_ == null) { - other_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - otherBuilder_.clear(); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public Builder removeOther(int index) { - if (otherBuilder_ == null) { - ensureOtherIsMutable(); - other_.remove(index); - onChanged(); - } else { - otherBuilder_.remove(index); - } - return this; - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public flyteidl.core.Workflow.IfBlock.Builder getOtherBuilder( - int index) { - return getOtherFieldBuilder().getBuilder(index); - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public flyteidl.core.Workflow.IfBlockOrBuilder getOtherOrBuilder( - int index) { - if (otherBuilder_ == null) { - return other_.get(index); } else { - return otherBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public java.util.List - getOtherOrBuilderList() { - if (otherBuilder_ != null) { - return otherBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(other_); - } - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public flyteidl.core.Workflow.IfBlock.Builder addOtherBuilder() { - return getOtherFieldBuilder().addBuilder( - flyteidl.core.Workflow.IfBlock.getDefaultInstance()); - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public flyteidl.core.Workflow.IfBlock.Builder addOtherBuilder( - int index) { - return getOtherFieldBuilder().addBuilder( - index, flyteidl.core.Workflow.IfBlock.getDefaultInstance()); - } - /** - *
-       *+optional. Additional branches to evaluate.
-       * 
- * - * repeated .flyteidl.core.IfBlock other = 2; - */ - public java.util.List - getOtherBuilderList() { - return getOtherFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.IfBlock, flyteidl.core.Workflow.IfBlock.Builder, flyteidl.core.Workflow.IfBlockOrBuilder> - getOtherFieldBuilder() { - if (otherBuilder_ == null) { - otherBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.IfBlock, flyteidl.core.Workflow.IfBlock.Builder, flyteidl.core.Workflow.IfBlockOrBuilder>( - other_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - other_ = null; - } - return otherBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> elseNodeBuilder_; - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public boolean hasElseNode() { - return defaultCase_ == 3; - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public flyteidl.core.Workflow.Node getElseNode() { - if (elseNodeBuilder_ == null) { - if (defaultCase_ == 3) { - return (flyteidl.core.Workflow.Node) default_; - } - return flyteidl.core.Workflow.Node.getDefaultInstance(); - } else { - if (defaultCase_ == 3) { - return elseNodeBuilder_.getMessage(); - } - return flyteidl.core.Workflow.Node.getDefaultInstance(); - } - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public Builder setElseNode(flyteidl.core.Workflow.Node value) { - if (elseNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - default_ = value; - onChanged(); - } else { - elseNodeBuilder_.setMessage(value); - } - defaultCase_ = 3; - return this; - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public Builder setElseNode( - flyteidl.core.Workflow.Node.Builder builderForValue) { - if (elseNodeBuilder_ == null) { - default_ = builderForValue.build(); - onChanged(); - } else { - elseNodeBuilder_.setMessage(builderForValue.build()); - } - defaultCase_ = 3; - return this; - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public Builder mergeElseNode(flyteidl.core.Workflow.Node value) { - if (elseNodeBuilder_ == null) { - if (defaultCase_ == 3 && - default_ != flyteidl.core.Workflow.Node.getDefaultInstance()) { - default_ = flyteidl.core.Workflow.Node.newBuilder((flyteidl.core.Workflow.Node) default_) - .mergeFrom(value).buildPartial(); - } else { - default_ = value; - } - onChanged(); - } else { - if (defaultCase_ == 3) { - elseNodeBuilder_.mergeFrom(value); - } - elseNodeBuilder_.setMessage(value); - } - defaultCase_ = 3; - return this; - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public Builder clearElseNode() { - if (elseNodeBuilder_ == null) { - if (defaultCase_ == 3) { - defaultCase_ = 0; - default_ = null; - onChanged(); - } - } else { - if (defaultCase_ == 3) { - defaultCase_ = 0; - default_ = null; - } - elseNodeBuilder_.clear(); - } - return this; - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public flyteidl.core.Workflow.Node.Builder getElseNodeBuilder() { - return getElseNodeFieldBuilder().getBuilder(); - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - public flyteidl.core.Workflow.NodeOrBuilder getElseNodeOrBuilder() { - if ((defaultCase_ == 3) && (elseNodeBuilder_ != null)) { - return elseNodeBuilder_.getMessageOrBuilder(); - } else { - if (defaultCase_ == 3) { - return (flyteidl.core.Workflow.Node) default_; - } - return flyteidl.core.Workflow.Node.getDefaultInstance(); - } - } - /** - *
-       * The node to execute in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Node else_node = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> - getElseNodeFieldBuilder() { - if (elseNodeBuilder_ == null) { - if (!(defaultCase_ == 3)) { - default_ = flyteidl.core.Workflow.Node.getDefaultInstance(); - } - elseNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>( - (flyteidl.core.Workflow.Node) default_, - getParentForChildren(), - isClean()); - default_ = null; - } - defaultCase_ = 3; - onChanged();; - return elseNodeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.Error, flyteidl.core.Types.Error.Builder, flyteidl.core.Types.ErrorOrBuilder> errorBuilder_; - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public boolean hasError() { - return defaultCase_ == 4; - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public flyteidl.core.Types.Error getError() { - if (errorBuilder_ == null) { - if (defaultCase_ == 4) { - return (flyteidl.core.Types.Error) default_; - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } else { - if (defaultCase_ == 4) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public Builder setError(flyteidl.core.Types.Error value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - default_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - defaultCase_ = 4; - return this; - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public Builder setError( - flyteidl.core.Types.Error.Builder builderForValue) { - if (errorBuilder_ == null) { - default_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - defaultCase_ = 4; - return this; - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public Builder mergeError(flyteidl.core.Types.Error value) { - if (errorBuilder_ == null) { - if (defaultCase_ == 4 && - default_ != flyteidl.core.Types.Error.getDefaultInstance()) { - default_ = flyteidl.core.Types.Error.newBuilder((flyteidl.core.Types.Error) default_) - .mergeFrom(value).buildPartial(); - } else { - default_ = value; - } - onChanged(); - } else { - if (defaultCase_ == 4) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - defaultCase_ = 4; - return this; - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (defaultCase_ == 4) { - defaultCase_ = 0; - default_ = null; - onChanged(); - } - } else { - if (defaultCase_ == 4) { - defaultCase_ = 0; - default_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public flyteidl.core.Types.Error.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - public flyteidl.core.Types.ErrorOrBuilder getErrorOrBuilder() { - if ((defaultCase_ == 4) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (defaultCase_ == 4) { - return (flyteidl.core.Types.Error) default_; - } - return flyteidl.core.Types.Error.getDefaultInstance(); - } - } - /** - *
-       * An error to throw in case none of the branches were taken.
-       * 
- * - * .flyteidl.core.Error error = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.Error, flyteidl.core.Types.Error.Builder, flyteidl.core.Types.ErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(defaultCase_ == 4)) { - default_ = flyteidl.core.Types.Error.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.Error, flyteidl.core.Types.Error.Builder, flyteidl.core.Types.ErrorOrBuilder>( - (flyteidl.core.Types.Error) default_, - getParentForChildren(), - isClean()); - default_ = null; - } - defaultCase_ = 4; - onChanged();; - return errorBuilder_; - } - @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.IfElseBlock) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.IfElseBlock) - private static final flyteidl.core.Workflow.IfElseBlock DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.IfElseBlock(); - } - - public static flyteidl.core.Workflow.IfElseBlock getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IfElseBlock parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IfElseBlock(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.Workflow.IfElseBlock getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface BranchNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.BranchNode) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - boolean hasIfElse(); - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - flyteidl.core.Workflow.IfElseBlock getIfElse(); - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - flyteidl.core.Workflow.IfElseBlockOrBuilder getIfElseOrBuilder(); - } - /** - *
-   * BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at
-   * runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives).
-   * 
- * - * Protobuf type {@code flyteidl.core.BranchNode} - */ - public static final class BranchNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.BranchNode) - BranchNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use BranchNode.newBuilder() to construct. - private BranchNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private BranchNode() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BranchNode( - 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.Workflow.IfElseBlock.Builder subBuilder = null; - if (ifElse_ != null) { - subBuilder = ifElse_.toBuilder(); - } - ifElse_ = input.readMessage(flyteidl.core.Workflow.IfElseBlock.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(ifElse_); - ifElse_ = 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.core.Workflow.internal_static_flyteidl_core_BranchNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_BranchNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.BranchNode.class, flyteidl.core.Workflow.BranchNode.Builder.class); - } - - public static final int IF_ELSE_FIELD_NUMBER = 1; - private flyteidl.core.Workflow.IfElseBlock ifElse_; - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public boolean hasIfElse() { - return ifElse_ != null; - } - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public flyteidl.core.Workflow.IfElseBlock getIfElse() { - return ifElse_ == null ? flyteidl.core.Workflow.IfElseBlock.getDefaultInstance() : ifElse_; - } - /** - *
-     *+required
-     * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public flyteidl.core.Workflow.IfElseBlockOrBuilder getIfElseOrBuilder() { - return getIfElse(); - } - - 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 (ifElse_ != null) { - output.writeMessage(1, getIfElse()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (ifElse_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getIfElse()); - } - 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.Workflow.BranchNode)) { - return super.equals(obj); - } - flyteidl.core.Workflow.BranchNode other = (flyteidl.core.Workflow.BranchNode) obj; - - if (hasIfElse() != other.hasIfElse()) return false; - if (hasIfElse()) { - if (!getIfElse() - .equals(other.getIfElse())) 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 (hasIfElse()) { - hash = (37 * hash) + IF_ELSE_FIELD_NUMBER; - hash = (53 * hash) + getIfElse().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.BranchNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.BranchNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.BranchNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.BranchNode 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.Workflow.BranchNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.BranchNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.BranchNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.BranchNode 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.Workflow.BranchNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.BranchNode 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.Workflow.BranchNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.BranchNode 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.Workflow.BranchNode 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; - } - /** - *
-     * BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at
-     * runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives).
-     * 
- * - * Protobuf type {@code flyteidl.core.BranchNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.BranchNode) - flyteidl.core.Workflow.BranchNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_BranchNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_BranchNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.BranchNode.class, flyteidl.core.Workflow.BranchNode.Builder.class); - } - - // Construct using flyteidl.core.Workflow.BranchNode.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 (ifElseBuilder_ == null) { - ifElse_ = null; - } else { - ifElse_ = null; - ifElseBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_BranchNode_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.BranchNode getDefaultInstanceForType() { - return flyteidl.core.Workflow.BranchNode.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.BranchNode build() { - flyteidl.core.Workflow.BranchNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.BranchNode buildPartial() { - flyteidl.core.Workflow.BranchNode result = new flyteidl.core.Workflow.BranchNode(this); - if (ifElseBuilder_ == null) { - result.ifElse_ = ifElse_; - } else { - result.ifElse_ = ifElseBuilder_.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.Workflow.BranchNode) { - return mergeFrom((flyteidl.core.Workflow.BranchNode)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.BranchNode other) { - if (other == flyteidl.core.Workflow.BranchNode.getDefaultInstance()) return this; - if (other.hasIfElse()) { - mergeIfElse(other.getIfElse()); - } - 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.Workflow.BranchNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.BranchNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Workflow.IfElseBlock ifElse_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.IfElseBlock, flyteidl.core.Workflow.IfElseBlock.Builder, flyteidl.core.Workflow.IfElseBlockOrBuilder> ifElseBuilder_; - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public boolean hasIfElse() { - return ifElseBuilder_ != null || ifElse_ != null; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public flyteidl.core.Workflow.IfElseBlock getIfElse() { - if (ifElseBuilder_ == null) { - return ifElse_ == null ? flyteidl.core.Workflow.IfElseBlock.getDefaultInstance() : ifElse_; - } else { - return ifElseBuilder_.getMessage(); - } - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public Builder setIfElse(flyteidl.core.Workflow.IfElseBlock value) { - if (ifElseBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ifElse_ = value; - onChanged(); - } else { - ifElseBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public Builder setIfElse( - flyteidl.core.Workflow.IfElseBlock.Builder builderForValue) { - if (ifElseBuilder_ == null) { - ifElse_ = builderForValue.build(); - onChanged(); - } else { - ifElseBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public Builder mergeIfElse(flyteidl.core.Workflow.IfElseBlock value) { - if (ifElseBuilder_ == null) { - if (ifElse_ != null) { - ifElse_ = - flyteidl.core.Workflow.IfElseBlock.newBuilder(ifElse_).mergeFrom(value).buildPartial(); - } else { - ifElse_ = value; - } - onChanged(); - } else { - ifElseBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public Builder clearIfElse() { - if (ifElseBuilder_ == null) { - ifElse_ = null; - onChanged(); - } else { - ifElse_ = null; - ifElseBuilder_ = null; - } - - return this; - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public flyteidl.core.Workflow.IfElseBlock.Builder getIfElseBuilder() { - - onChanged(); - return getIfElseFieldBuilder().getBuilder(); - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - public flyteidl.core.Workflow.IfElseBlockOrBuilder getIfElseOrBuilder() { - if (ifElseBuilder_ != null) { - return ifElseBuilder_.getMessageOrBuilder(); - } else { - return ifElse_ == null ? - flyteidl.core.Workflow.IfElseBlock.getDefaultInstance() : ifElse_; - } - } - /** - *
-       *+required
-       * 
- * - * .flyteidl.core.IfElseBlock if_else = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.IfElseBlock, flyteidl.core.Workflow.IfElseBlock.Builder, flyteidl.core.Workflow.IfElseBlockOrBuilder> - getIfElseFieldBuilder() { - if (ifElseBuilder_ == null) { - ifElseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.IfElseBlock, flyteidl.core.Workflow.IfElseBlock.Builder, flyteidl.core.Workflow.IfElseBlockOrBuilder>( - getIfElse(), - getParentForChildren(), - isClean()); - ifElse_ = null; - } - return ifElseBuilder_; - } - @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.BranchNode) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.BranchNode) - private static final flyteidl.core.Workflow.BranchNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.BranchNode(); - } - - public static flyteidl.core.Workflow.BranchNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BranchNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BranchNode(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.Workflow.BranchNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TaskNode) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A globally unique identifier for the task.
-     * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - boolean hasReferenceId(); - /** - *
-     * A globally unique identifier for the task.
-     * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getReferenceId(); - /** - *
-     * A globally unique identifier for the task.
-     * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getReferenceIdOrBuilder(); - - /** - *
-     * Optional overrides applied at task execution time.
-     * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - boolean hasOverrides(); - /** - *
-     * Optional overrides applied at task execution time.
-     * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - flyteidl.core.Workflow.TaskNodeOverrides getOverrides(); - /** - *
-     * Optional overrides applied at task execution time.
-     * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - flyteidl.core.Workflow.TaskNodeOverridesOrBuilder getOverridesOrBuilder(); - - public flyteidl.core.Workflow.TaskNode.ReferenceCase getReferenceCase(); - } - /** - *
-   * Refers to the task that the Node is to execute.
-   * 
- * - * Protobuf type {@code flyteidl.core.TaskNode} - */ - public static final class TaskNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TaskNode) - TaskNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskNode.newBuilder() to construct. - private TaskNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskNode() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskNode( - 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.Identifier.Builder subBuilder = null; - if (referenceCase_ == 1) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.Identifier) reference_).toBuilder(); - } - reference_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.Identifier) reference_); - reference_ = subBuilder.buildPartial(); - } - referenceCase_ = 1; - break; - } - case 18: { - flyteidl.core.Workflow.TaskNodeOverrides.Builder subBuilder = null; - if (overrides_ != null) { - subBuilder = overrides_.toBuilder(); - } - overrides_ = input.readMessage(flyteidl.core.Workflow.TaskNodeOverrides.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(overrides_); - overrides_ = 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.core.Workflow.internal_static_flyteidl_core_TaskNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.TaskNode.class, flyteidl.core.Workflow.TaskNode.Builder.class); - } - - private int referenceCase_ = 0; - private java.lang.Object reference_; - public enum ReferenceCase - implements com.google.protobuf.Internal.EnumLite { - REFERENCE_ID(1), - REFERENCE_NOT_SET(0); - private final int value; - private ReferenceCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ReferenceCase valueOf(int value) { - return forNumber(value); - } - - public static ReferenceCase forNumber(int value) { - switch (value) { - case 1: return REFERENCE_ID; - case 0: return REFERENCE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ReferenceCase - getReferenceCase() { - return ReferenceCase.forNumber( - referenceCase_); - } - - public static final int REFERENCE_ID_FIELD_NUMBER = 1; - /** - *
-     * A globally unique identifier for the task.
-     * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public boolean hasReferenceId() { - return referenceCase_ == 1; - } - /** - *
-     * A globally unique identifier for the task.
-     * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getReferenceId() { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - /** - *
-     * A globally unique identifier for the task.
-     * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getReferenceIdOrBuilder() { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - - public static final int OVERRIDES_FIELD_NUMBER = 2; - private flyteidl.core.Workflow.TaskNodeOverrides overrides_; - /** - *
-     * Optional overrides applied at task execution time.
-     * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public boolean hasOverrides() { - return overrides_ != null; - } - /** - *
-     * Optional overrides applied at task execution time.
-     * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public flyteidl.core.Workflow.TaskNodeOverrides getOverrides() { - return overrides_ == null ? flyteidl.core.Workflow.TaskNodeOverrides.getDefaultInstance() : overrides_; - } - /** - *
-     * Optional overrides applied at task execution time.
-     * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public flyteidl.core.Workflow.TaskNodeOverridesOrBuilder getOverridesOrBuilder() { - return getOverrides(); - } - - 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 (referenceCase_ == 1) { - output.writeMessage(1, (flyteidl.core.IdentifierOuterClass.Identifier) reference_); - } - if (overrides_ != null) { - output.writeMessage(2, getOverrides()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (referenceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.IdentifierOuterClass.Identifier) reference_); - } - if (overrides_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOverrides()); - } - 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.Workflow.TaskNode)) { - return super.equals(obj); - } - flyteidl.core.Workflow.TaskNode other = (flyteidl.core.Workflow.TaskNode) obj; - - if (hasOverrides() != other.hasOverrides()) return false; - if (hasOverrides()) { - if (!getOverrides() - .equals(other.getOverrides())) return false; - } - if (!getReferenceCase().equals(other.getReferenceCase())) return false; - switch (referenceCase_) { - case 1: - if (!getReferenceId() - .equals(other.getReferenceId())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasOverrides()) { - hash = (37 * hash) + OVERRIDES_FIELD_NUMBER; - hash = (53 * hash) + getOverrides().hashCode(); - } - switch (referenceCase_) { - case 1: - hash = (37 * hash) + REFERENCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getReferenceId().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.TaskNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.TaskNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.TaskNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.TaskNode 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.Workflow.TaskNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.TaskNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.TaskNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.TaskNode 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.Workflow.TaskNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.TaskNode 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.Workflow.TaskNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.TaskNode 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.Workflow.TaskNode 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; - } - /** - *
-     * Refers to the task that the Node is to execute.
-     * 
- * - * Protobuf type {@code flyteidl.core.TaskNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TaskNode) - flyteidl.core.Workflow.TaskNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.TaskNode.class, flyteidl.core.Workflow.TaskNode.Builder.class); - } - - // Construct using flyteidl.core.Workflow.TaskNode.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 (overridesBuilder_ == null) { - overrides_ = null; - } else { - overrides_ = null; - overridesBuilder_ = null; - } - referenceCase_ = 0; - reference_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNode_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.TaskNode getDefaultInstanceForType() { - return flyteidl.core.Workflow.TaskNode.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.TaskNode build() { - flyteidl.core.Workflow.TaskNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.TaskNode buildPartial() { - flyteidl.core.Workflow.TaskNode result = new flyteidl.core.Workflow.TaskNode(this); - if (referenceCase_ == 1) { - if (referenceIdBuilder_ == null) { - result.reference_ = reference_; - } else { - result.reference_ = referenceIdBuilder_.build(); - } - } - if (overridesBuilder_ == null) { - result.overrides_ = overrides_; - } else { - result.overrides_ = overridesBuilder_.build(); - } - result.referenceCase_ = referenceCase_; - 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.Workflow.TaskNode) { - return mergeFrom((flyteidl.core.Workflow.TaskNode)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.TaskNode other) { - if (other == flyteidl.core.Workflow.TaskNode.getDefaultInstance()) return this; - if (other.hasOverrides()) { - mergeOverrides(other.getOverrides()); - } - switch (other.getReferenceCase()) { - case REFERENCE_ID: { - mergeReferenceId(other.getReferenceId()); - break; - } - case REFERENCE_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.Workflow.TaskNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.TaskNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int referenceCase_ = 0; - private java.lang.Object reference_; - public ReferenceCase - getReferenceCase() { - return ReferenceCase.forNumber( - referenceCase_); - } - - public Builder clearReference() { - referenceCase_ = 0; - reference_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> referenceIdBuilder_; - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public boolean hasReferenceId() { - return referenceCase_ == 1; - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getReferenceId() { - if (referenceIdBuilder_ == null) { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } else { - if (referenceCase_ == 1) { - return referenceIdBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public Builder setReferenceId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (referenceIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reference_ = value; - onChanged(); - } else { - referenceIdBuilder_.setMessage(value); - } - referenceCase_ = 1; - return this; - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public Builder setReferenceId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (referenceIdBuilder_ == null) { - reference_ = builderForValue.build(); - onChanged(); - } else { - referenceIdBuilder_.setMessage(builderForValue.build()); - } - referenceCase_ = 1; - return this; - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public Builder mergeReferenceId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (referenceIdBuilder_ == null) { - if (referenceCase_ == 1 && - reference_ != flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance()) { - reference_ = flyteidl.core.IdentifierOuterClass.Identifier.newBuilder((flyteidl.core.IdentifierOuterClass.Identifier) reference_) - .mergeFrom(value).buildPartial(); - } else { - reference_ = value; - } - onChanged(); - } else { - if (referenceCase_ == 1) { - referenceIdBuilder_.mergeFrom(value); - } - referenceIdBuilder_.setMessage(value); - } - referenceCase_ = 1; - return this; - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public Builder clearReferenceId() { - if (referenceIdBuilder_ == null) { - if (referenceCase_ == 1) { - referenceCase_ = 0; - reference_ = null; - onChanged(); - } - } else { - if (referenceCase_ == 1) { - referenceCase_ = 0; - reference_ = null; - } - referenceIdBuilder_.clear(); - } - return this; - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getReferenceIdBuilder() { - return getReferenceIdFieldBuilder().getBuilder(); - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getReferenceIdOrBuilder() { - if ((referenceCase_ == 1) && (referenceIdBuilder_ != null)) { - return referenceIdBuilder_.getMessageOrBuilder(); - } else { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - } - /** - *
-       * A globally unique identifier for the task.
-       * 
- * - * .flyteidl.core.Identifier reference_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getReferenceIdFieldBuilder() { - if (referenceIdBuilder_ == null) { - if (!(referenceCase_ == 1)) { - reference_ = flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - referenceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.Identifier) reference_, - getParentForChildren(), - isClean()); - reference_ = null; - } - referenceCase_ = 1; - onChanged();; - return referenceIdBuilder_; - } - - private flyteidl.core.Workflow.TaskNodeOverrides overrides_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.TaskNodeOverrides, flyteidl.core.Workflow.TaskNodeOverrides.Builder, flyteidl.core.Workflow.TaskNodeOverridesOrBuilder> overridesBuilder_; - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public boolean hasOverrides() { - return overridesBuilder_ != null || overrides_ != null; - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public flyteidl.core.Workflow.TaskNodeOverrides getOverrides() { - if (overridesBuilder_ == null) { - return overrides_ == null ? flyteidl.core.Workflow.TaskNodeOverrides.getDefaultInstance() : overrides_; - } else { - return overridesBuilder_.getMessage(); - } - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public Builder setOverrides(flyteidl.core.Workflow.TaskNodeOverrides value) { - if (overridesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - overrides_ = value; - onChanged(); - } else { - overridesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public Builder setOverrides( - flyteidl.core.Workflow.TaskNodeOverrides.Builder builderForValue) { - if (overridesBuilder_ == null) { - overrides_ = builderForValue.build(); - onChanged(); - } else { - overridesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public Builder mergeOverrides(flyteidl.core.Workflow.TaskNodeOverrides value) { - if (overridesBuilder_ == null) { - if (overrides_ != null) { - overrides_ = - flyteidl.core.Workflow.TaskNodeOverrides.newBuilder(overrides_).mergeFrom(value).buildPartial(); - } else { - overrides_ = value; - } - onChanged(); - } else { - overridesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public Builder clearOverrides() { - if (overridesBuilder_ == null) { - overrides_ = null; - onChanged(); - } else { - overrides_ = null; - overridesBuilder_ = null; - } - - return this; - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public flyteidl.core.Workflow.TaskNodeOverrides.Builder getOverridesBuilder() { - - onChanged(); - return getOverridesFieldBuilder().getBuilder(); - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - public flyteidl.core.Workflow.TaskNodeOverridesOrBuilder getOverridesOrBuilder() { - if (overridesBuilder_ != null) { - return overridesBuilder_.getMessageOrBuilder(); - } else { - return overrides_ == null ? - flyteidl.core.Workflow.TaskNodeOverrides.getDefaultInstance() : overrides_; - } - } - /** - *
-       * Optional overrides applied at task execution time.
-       * 
- * - * .flyteidl.core.TaskNodeOverrides overrides = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.TaskNodeOverrides, flyteidl.core.Workflow.TaskNodeOverrides.Builder, flyteidl.core.Workflow.TaskNodeOverridesOrBuilder> - getOverridesFieldBuilder() { - if (overridesBuilder_ == null) { - overridesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.TaskNodeOverrides, flyteidl.core.Workflow.TaskNodeOverrides.Builder, flyteidl.core.Workflow.TaskNodeOverridesOrBuilder>( - getOverrides(), - getParentForChildren(), - isClean()); - overrides_ = null; - } - return overridesBuilder_; - } - @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.TaskNode) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskNode) - private static final flyteidl.core.Workflow.TaskNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.TaskNode(); - } - - public static flyteidl.core.Workflow.TaskNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskNode(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.Workflow.TaskNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.WorkflowNode) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A globally unique identifier for the launch plan.
-     * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - boolean hasLaunchplanRef(); - /** - *
-     * A globally unique identifier for the launch plan.
-     * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getLaunchplanRef(); - /** - *
-     * A globally unique identifier for the launch plan.
-     * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchplanRefOrBuilder(); - - /** - *
-     * Reference to a subworkflow, that should be defined with the compiler context
-     * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - boolean hasSubWorkflowRef(); - /** - *
-     * Reference to a subworkflow, that should be defined with the compiler context
-     * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - flyteidl.core.IdentifierOuterClass.Identifier getSubWorkflowRef(); - /** - *
-     * Reference to a subworkflow, that should be defined with the compiler context
-     * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getSubWorkflowRefOrBuilder(); - - public flyteidl.core.Workflow.WorkflowNode.ReferenceCase getReferenceCase(); - } - /** - *
-   * Refers to a the workflow the node is to execute.
-   * 
- * - * Protobuf type {@code flyteidl.core.WorkflowNode} - */ - public static final class WorkflowNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.WorkflowNode) - WorkflowNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowNode.newBuilder() to construct. - private WorkflowNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowNode() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowNode( - 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.Identifier.Builder subBuilder = null; - if (referenceCase_ == 1) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.Identifier) reference_).toBuilder(); - } - reference_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.Identifier) reference_); - reference_ = subBuilder.buildPartial(); - } - referenceCase_ = 1; - break; - } - case 18: { - flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; - if (referenceCase_ == 2) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.Identifier) reference_).toBuilder(); - } - reference_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.Identifier) reference_); - reference_ = subBuilder.buildPartial(); - } - referenceCase_ = 2; - 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.Workflow.internal_static_flyteidl_core_WorkflowNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowNode.class, flyteidl.core.Workflow.WorkflowNode.Builder.class); - } - - private int referenceCase_ = 0; - private java.lang.Object reference_; - public enum ReferenceCase - implements com.google.protobuf.Internal.EnumLite { - LAUNCHPLAN_REF(1), - SUB_WORKFLOW_REF(2), - REFERENCE_NOT_SET(0); - private final int value; - private ReferenceCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ReferenceCase valueOf(int value) { - return forNumber(value); - } - - public static ReferenceCase forNumber(int value) { - switch (value) { - case 1: return LAUNCHPLAN_REF; - case 2: return SUB_WORKFLOW_REF; - case 0: return REFERENCE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ReferenceCase - getReferenceCase() { - return ReferenceCase.forNumber( - referenceCase_); - } - - public static final int LAUNCHPLAN_REF_FIELD_NUMBER = 1; - /** - *
-     * A globally unique identifier for the launch plan.
-     * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public boolean hasLaunchplanRef() { - return referenceCase_ == 1; - } - /** - *
-     * A globally unique identifier for the launch plan.
-     * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchplanRef() { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - /** - *
-     * A globally unique identifier for the launch plan.
-     * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchplanRefOrBuilder() { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - - public static final int SUB_WORKFLOW_REF_FIELD_NUMBER = 2; - /** - *
-     * Reference to a subworkflow, that should be defined with the compiler context
-     * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public boolean hasSubWorkflowRef() { - return referenceCase_ == 2; - } - /** - *
-     * Reference to a subworkflow, that should be defined with the compiler context
-     * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getSubWorkflowRef() { - if (referenceCase_ == 2) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - /** - *
-     * Reference to a subworkflow, that should be defined with the compiler context
-     * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getSubWorkflowRefOrBuilder() { - if (referenceCase_ == 2) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.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 (referenceCase_ == 1) { - output.writeMessage(1, (flyteidl.core.IdentifierOuterClass.Identifier) reference_); - } - if (referenceCase_ == 2) { - output.writeMessage(2, (flyteidl.core.IdentifierOuterClass.Identifier) reference_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (referenceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.IdentifierOuterClass.Identifier) reference_); - } - if (referenceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.IdentifierOuterClass.Identifier) reference_); - } - 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.Workflow.WorkflowNode)) { - return super.equals(obj); - } - flyteidl.core.Workflow.WorkflowNode other = (flyteidl.core.Workflow.WorkflowNode) obj; - - if (!getReferenceCase().equals(other.getReferenceCase())) return false; - switch (referenceCase_) { - case 1: - if (!getLaunchplanRef() - .equals(other.getLaunchplanRef())) return false; - break; - case 2: - if (!getSubWorkflowRef() - .equals(other.getSubWorkflowRef())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (referenceCase_) { - case 1: - hash = (37 * hash) + LAUNCHPLAN_REF_FIELD_NUMBER; - hash = (53 * hash) + getLaunchplanRef().hashCode(); - break; - case 2: - hash = (37 * hash) + SUB_WORKFLOW_REF_FIELD_NUMBER; - hash = (53 * hash) + getSubWorkflowRef().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.WorkflowNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowNode 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.Workflow.WorkflowNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowNode 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.Workflow.WorkflowNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowNode 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.Workflow.WorkflowNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowNode 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.Workflow.WorkflowNode 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; - } - /** - *
-     * Refers to a the workflow the node is to execute.
-     * 
- * - * Protobuf type {@code flyteidl.core.WorkflowNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.WorkflowNode) - flyteidl.core.Workflow.WorkflowNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowNode.class, flyteidl.core.Workflow.WorkflowNode.Builder.class); - } - - // Construct using flyteidl.core.Workflow.WorkflowNode.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(); - referenceCase_ = 0; - reference_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowNode_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowNode getDefaultInstanceForType() { - return flyteidl.core.Workflow.WorkflowNode.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowNode build() { - flyteidl.core.Workflow.WorkflowNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowNode buildPartial() { - flyteidl.core.Workflow.WorkflowNode result = new flyteidl.core.Workflow.WorkflowNode(this); - if (referenceCase_ == 1) { - if (launchplanRefBuilder_ == null) { - result.reference_ = reference_; - } else { - result.reference_ = launchplanRefBuilder_.build(); - } - } - if (referenceCase_ == 2) { - if (subWorkflowRefBuilder_ == null) { - result.reference_ = reference_; - } else { - result.reference_ = subWorkflowRefBuilder_.build(); - } - } - result.referenceCase_ = referenceCase_; - 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.Workflow.WorkflowNode) { - return mergeFrom((flyteidl.core.Workflow.WorkflowNode)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.WorkflowNode other) { - if (other == flyteidl.core.Workflow.WorkflowNode.getDefaultInstance()) return this; - switch (other.getReferenceCase()) { - case LAUNCHPLAN_REF: { - mergeLaunchplanRef(other.getLaunchplanRef()); - break; - } - case SUB_WORKFLOW_REF: { - mergeSubWorkflowRef(other.getSubWorkflowRef()); - break; - } - case REFERENCE_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.Workflow.WorkflowNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.WorkflowNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int referenceCase_ = 0; - private java.lang.Object reference_; - public ReferenceCase - getReferenceCase() { - return ReferenceCase.forNumber( - referenceCase_); - } - - public Builder clearReference() { - referenceCase_ = 0; - reference_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> launchplanRefBuilder_; - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public boolean hasLaunchplanRef() { - return referenceCase_ == 1; - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchplanRef() { - if (launchplanRefBuilder_ == null) { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } else { - if (referenceCase_ == 1) { - return launchplanRefBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public Builder setLaunchplanRef(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchplanRefBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reference_ = value; - onChanged(); - } else { - launchplanRefBuilder_.setMessage(value); - } - referenceCase_ = 1; - return this; - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public Builder setLaunchplanRef( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (launchplanRefBuilder_ == null) { - reference_ = builderForValue.build(); - onChanged(); - } else { - launchplanRefBuilder_.setMessage(builderForValue.build()); - } - referenceCase_ = 1; - return this; - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public Builder mergeLaunchplanRef(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchplanRefBuilder_ == null) { - if (referenceCase_ == 1 && - reference_ != flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance()) { - reference_ = flyteidl.core.IdentifierOuterClass.Identifier.newBuilder((flyteidl.core.IdentifierOuterClass.Identifier) reference_) - .mergeFrom(value).buildPartial(); - } else { - reference_ = value; - } - onChanged(); - } else { - if (referenceCase_ == 1) { - launchplanRefBuilder_.mergeFrom(value); - } - launchplanRefBuilder_.setMessage(value); - } - referenceCase_ = 1; - return this; - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public Builder clearLaunchplanRef() { - if (launchplanRefBuilder_ == null) { - if (referenceCase_ == 1) { - referenceCase_ = 0; - reference_ = null; - onChanged(); - } - } else { - if (referenceCase_ == 1) { - referenceCase_ = 0; - reference_ = null; - } - launchplanRefBuilder_.clear(); - } - return this; - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchplanRefBuilder() { - return getLaunchplanRefFieldBuilder().getBuilder(); - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchplanRefOrBuilder() { - if ((referenceCase_ == 1) && (launchplanRefBuilder_ != null)) { - return launchplanRefBuilder_.getMessageOrBuilder(); - } else { - if (referenceCase_ == 1) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - } - /** - *
-       * A globally unique identifier for the launch plan.
-       * 
- * - * .flyteidl.core.Identifier launchplan_ref = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getLaunchplanRefFieldBuilder() { - if (launchplanRefBuilder_ == null) { - if (!(referenceCase_ == 1)) { - reference_ = flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - launchplanRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.Identifier) reference_, - getParentForChildren(), - isClean()); - reference_ = null; - } - referenceCase_ = 1; - onChanged();; - return launchplanRefBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> subWorkflowRefBuilder_; - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public boolean hasSubWorkflowRef() { - return referenceCase_ == 2; - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getSubWorkflowRef() { - if (subWorkflowRefBuilder_ == null) { - if (referenceCase_ == 2) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } else { - if (referenceCase_ == 2) { - return subWorkflowRefBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public Builder setSubWorkflowRef(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (subWorkflowRefBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reference_ = value; - onChanged(); - } else { - subWorkflowRefBuilder_.setMessage(value); - } - referenceCase_ = 2; - return this; - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public Builder setSubWorkflowRef( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (subWorkflowRefBuilder_ == null) { - reference_ = builderForValue.build(); - onChanged(); - } else { - subWorkflowRefBuilder_.setMessage(builderForValue.build()); - } - referenceCase_ = 2; - return this; - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public Builder mergeSubWorkflowRef(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (subWorkflowRefBuilder_ == null) { - if (referenceCase_ == 2 && - reference_ != flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance()) { - reference_ = flyteidl.core.IdentifierOuterClass.Identifier.newBuilder((flyteidl.core.IdentifierOuterClass.Identifier) reference_) - .mergeFrom(value).buildPartial(); - } else { - reference_ = value; - } - onChanged(); - } else { - if (referenceCase_ == 2) { - subWorkflowRefBuilder_.mergeFrom(value); - } - subWorkflowRefBuilder_.setMessage(value); - } - referenceCase_ = 2; - return this; - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public Builder clearSubWorkflowRef() { - if (subWorkflowRefBuilder_ == null) { - if (referenceCase_ == 2) { - referenceCase_ = 0; - reference_ = null; - onChanged(); - } - } else { - if (referenceCase_ == 2) { - referenceCase_ = 0; - reference_ = null; - } - subWorkflowRefBuilder_.clear(); - } - return this; - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getSubWorkflowRefBuilder() { - return getSubWorkflowRefFieldBuilder().getBuilder(); - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getSubWorkflowRefOrBuilder() { - if ((referenceCase_ == 2) && (subWorkflowRefBuilder_ != null)) { - return subWorkflowRefBuilder_.getMessageOrBuilder(); - } else { - if (referenceCase_ == 2) { - return (flyteidl.core.IdentifierOuterClass.Identifier) reference_; - } - return flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - } - /** - *
-       * Reference to a subworkflow, that should be defined with the compiler context
-       * 
- * - * .flyteidl.core.Identifier sub_workflow_ref = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getSubWorkflowRefFieldBuilder() { - if (subWorkflowRefBuilder_ == null) { - if (!(referenceCase_ == 2)) { - reference_ = flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance(); - } - subWorkflowRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.Identifier) reference_, - getParentForChildren(), - isClean()); - reference_ = null; - } - referenceCase_ = 2; - onChanged();; - return subWorkflowRefBuilder_; - } - @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.WorkflowNode) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowNode) - private static final flyteidl.core.Workflow.WorkflowNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.WorkflowNode(); - } - - public static flyteidl.core.Workflow.WorkflowNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowNode(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.Workflow.WorkflowNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ApproveConditionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ApproveCondition) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A unique identifier for the requested boolean signal.
-     * 
- * - * string signal_id = 1; - */ - java.lang.String getSignalId(); - /** - *
-     * A unique identifier for the requested boolean signal.
-     * 
- * - * string signal_id = 1; - */ - com.google.protobuf.ByteString - getSignalIdBytes(); - } - /** - *
-   * ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean
-   * signal with the provided signal_id.
-   * 
- * - * Protobuf type {@code flyteidl.core.ApproveCondition} - */ - public static final class ApproveCondition extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ApproveCondition) - ApproveConditionOrBuilder { - private static final long serialVersionUID = 0L; - // Use ApproveCondition.newBuilder() to construct. - private ApproveCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ApproveCondition() { - signalId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ApproveCondition( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - signalId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ApproveCondition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ApproveCondition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.ApproveCondition.class, flyteidl.core.Workflow.ApproveCondition.Builder.class); - } - - public static final int SIGNAL_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object signalId_; - /** - *
-     * A unique identifier for the requested boolean signal.
-     * 
- * - * string signal_id = 1; - */ - public java.lang.String getSignalId() { - java.lang.Object ref = signalId_; - 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(); - signalId_ = s; - return s; - } - } - /** - *
-     * A unique identifier for the requested boolean signal.
-     * 
- * - * string signal_id = 1; - */ - public com.google.protobuf.ByteString - getSignalIdBytes() { - java.lang.Object ref = signalId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signalId_ = 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 (!getSignalIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signalId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getSignalIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, signalId_); - } - 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.Workflow.ApproveCondition)) { - return super.equals(obj); - } - flyteidl.core.Workflow.ApproveCondition other = (flyteidl.core.Workflow.ApproveCondition) obj; - - if (!getSignalId() - .equals(other.getSignalId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SIGNAL_ID_FIELD_NUMBER; - hash = (53 * hash) + getSignalId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.ApproveCondition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.ApproveCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.ApproveCondition parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.ApproveCondition 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.Workflow.ApproveCondition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.ApproveCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.ApproveCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.ApproveCondition 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.Workflow.ApproveCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.ApproveCondition 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.Workflow.ApproveCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.ApproveCondition 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.Workflow.ApproveCondition 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; - } - /** - *
-     * ApproveCondition represents a dependency on an external approval. During execution, this will manifest as a boolean
-     * signal with the provided signal_id.
-     * 
- * - * Protobuf type {@code flyteidl.core.ApproveCondition} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ApproveCondition) - flyteidl.core.Workflow.ApproveConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ApproveCondition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ApproveCondition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.ApproveCondition.class, flyteidl.core.Workflow.ApproveCondition.Builder.class); - } - - // Construct using flyteidl.core.Workflow.ApproveCondition.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(); - signalId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ApproveCondition_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.ApproveCondition getDefaultInstanceForType() { - return flyteidl.core.Workflow.ApproveCondition.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.ApproveCondition build() { - flyteidl.core.Workflow.ApproveCondition result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.ApproveCondition buildPartial() { - flyteidl.core.Workflow.ApproveCondition result = new flyteidl.core.Workflow.ApproveCondition(this); - result.signalId_ = signalId_; - 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.Workflow.ApproveCondition) { - return mergeFrom((flyteidl.core.Workflow.ApproveCondition)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.ApproveCondition other) { - if (other == flyteidl.core.Workflow.ApproveCondition.getDefaultInstance()) return this; - if (!other.getSignalId().isEmpty()) { - signalId_ = other.signalId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Workflow.ApproveCondition parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.ApproveCondition) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object signalId_ = ""; - /** - *
-       * A unique identifier for the requested boolean signal.
-       * 
- * - * string signal_id = 1; - */ - public java.lang.String getSignalId() { - java.lang.Object ref = signalId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - signalId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A unique identifier for the requested boolean signal.
-       * 
- * - * string signal_id = 1; - */ - public com.google.protobuf.ByteString - getSignalIdBytes() { - java.lang.Object ref = signalId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signalId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A unique identifier for the requested boolean signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder setSignalId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - signalId_ = value; - onChanged(); - return this; - } - /** - *
-       * A unique identifier for the requested boolean signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder clearSignalId() { - - signalId_ = getDefaultInstance().getSignalId(); - onChanged(); - return this; - } - /** - *
-       * A unique identifier for the requested boolean signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder setSignalIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - signalId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ApproveCondition) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ApproveCondition) - private static final flyteidl.core.Workflow.ApproveCondition DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.ApproveCondition(); - } - - public static flyteidl.core.Workflow.ApproveCondition getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApproveCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ApproveCondition(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.Workflow.ApproveCondition getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignalConditionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.SignalCondition) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * string signal_id = 1; - */ - java.lang.String getSignalId(); - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * string signal_id = 1; - */ - com.google.protobuf.ByteString - getSignalIdBytes(); - - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - boolean hasType(); - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralType getType(); - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); - - /** - *
-     * The variable name for the signal value in this nodes outputs.
-     * 
- * - * string output_variable_name = 3; - */ - java.lang.String getOutputVariableName(); - /** - *
-     * The variable name for the signal value in this nodes outputs.
-     * 
- * - * string output_variable_name = 3; - */ - com.google.protobuf.ByteString - getOutputVariableNameBytes(); - } - /** - *
-   * SignalCondition represents a dependency on an signal.
-   * 
- * - * Protobuf type {@code flyteidl.core.SignalCondition} - */ - public static final class SignalCondition extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.SignalCondition) - SignalConditionOrBuilder { - private static final long serialVersionUID = 0L; - // Use SignalCondition.newBuilder() to construct. - private SignalCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SignalCondition() { - signalId_ = ""; - outputVariableName_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignalCondition( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - signalId_ = s; - break; - } - case 18: { - flyteidl.core.Types.LiteralType.Builder subBuilder = null; - if (type_ != null) { - subBuilder = type_.toBuilder(); - } - type_ = input.readMessage(flyteidl.core.Types.LiteralType.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(type_); - type_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - outputVariableName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SignalCondition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SignalCondition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.SignalCondition.class, flyteidl.core.Workflow.SignalCondition.Builder.class); - } - - public static final int SIGNAL_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object signalId_; - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * string signal_id = 1; - */ - public java.lang.String getSignalId() { - java.lang.Object ref = signalId_; - 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(); - signalId_ = s; - return s; - } - } - /** - *
-     * A unique identifier for the requested signal.
-     * 
- * - * string signal_id = 1; - */ - public com.google.protobuf.ByteString - getSignalIdBytes() { - java.lang.Object ref = signalId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signalId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TYPE_FIELD_NUMBER = 2; - private flyteidl.core.Types.LiteralType type_; - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return type_ != null; - } - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - /** - *
-     * A type denoting the required value type for this signal.
-     * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - return getType(); - } - - public static final int OUTPUT_VARIABLE_NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object outputVariableName_; - /** - *
-     * The variable name for the signal value in this nodes outputs.
-     * 
- * - * string output_variable_name = 3; - */ - public java.lang.String getOutputVariableName() { - java.lang.Object ref = outputVariableName_; - 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(); - outputVariableName_ = s; - return s; - } - } - /** - *
-     * The variable name for the signal value in this nodes outputs.
-     * 
- * - * string output_variable_name = 3; - */ - public com.google.protobuf.ByteString - getOutputVariableNameBytes() { - java.lang.Object ref = outputVariableName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputVariableName_ = 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 (!getSignalIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signalId_); - } - if (type_ != null) { - output.writeMessage(2, getType()); - } - if (!getOutputVariableNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputVariableName_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getSignalIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, signalId_); - } - if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getType()); - } - if (!getOutputVariableNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputVariableName_); - } - 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.Workflow.SignalCondition)) { - return super.equals(obj); - } - flyteidl.core.Workflow.SignalCondition other = (flyteidl.core.Workflow.SignalCondition) obj; - - if (!getSignalId() - .equals(other.getSignalId())) return false; - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (!getType() - .equals(other.getType())) return false; - } - if (!getOutputVariableName() - .equals(other.getOutputVariableName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SIGNAL_ID_FIELD_NUMBER; - hash = (53 * hash) + getSignalId().hashCode(); - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + getType().hashCode(); - } - hash = (37 * hash) + OUTPUT_VARIABLE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getOutputVariableName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.SignalCondition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.SignalCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.SignalCondition parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.SignalCondition 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.Workflow.SignalCondition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.SignalCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.SignalCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.SignalCondition 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.Workflow.SignalCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.SignalCondition 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.Workflow.SignalCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.SignalCondition 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.Workflow.SignalCondition 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; - } - /** - *
-     * SignalCondition represents a dependency on an signal.
-     * 
- * - * Protobuf type {@code flyteidl.core.SignalCondition} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.SignalCondition) - flyteidl.core.Workflow.SignalConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SignalCondition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SignalCondition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.SignalCondition.class, flyteidl.core.Workflow.SignalCondition.Builder.class); - } - - // Construct using flyteidl.core.Workflow.SignalCondition.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(); - signalId_ = ""; - - if (typeBuilder_ == null) { - type_ = null; - } else { - type_ = null; - typeBuilder_ = null; - } - outputVariableName_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SignalCondition_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.SignalCondition getDefaultInstanceForType() { - return flyteidl.core.Workflow.SignalCondition.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.SignalCondition build() { - flyteidl.core.Workflow.SignalCondition result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.SignalCondition buildPartial() { - flyteidl.core.Workflow.SignalCondition result = new flyteidl.core.Workflow.SignalCondition(this); - result.signalId_ = signalId_; - if (typeBuilder_ == null) { - result.type_ = type_; - } else { - result.type_ = typeBuilder_.build(); - } - result.outputVariableName_ = outputVariableName_; - 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.Workflow.SignalCondition) { - return mergeFrom((flyteidl.core.Workflow.SignalCondition)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.SignalCondition other) { - if (other == flyteidl.core.Workflow.SignalCondition.getDefaultInstance()) return this; - if (!other.getSignalId().isEmpty()) { - signalId_ = other.signalId_; - onChanged(); - } - if (other.hasType()) { - mergeType(other.getType()); - } - if (!other.getOutputVariableName().isEmpty()) { - outputVariableName_ = other.outputVariableName_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Workflow.SignalCondition parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.SignalCondition) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object signalId_ = ""; - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * string signal_id = 1; - */ - public java.lang.String getSignalId() { - java.lang.Object ref = signalId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - signalId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * string signal_id = 1; - */ - public com.google.protobuf.ByteString - getSignalIdBytes() { - java.lang.Object ref = signalId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signalId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder setSignalId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - signalId_ = value; - onChanged(); - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder clearSignalId() { - - signalId_ = getDefaultInstance().getSignalId(); - onChanged(); - return this; - } - /** - *
-       * A unique identifier for the requested signal.
-       * 
- * - * string signal_id = 1; - */ - public Builder setSignalIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - signalId_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Types.LiteralType type_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> typeBuilder_; - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public boolean hasType() { - return typeBuilder_ != null || type_ != null; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType getType() { - if (typeBuilder_ == null) { - return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } else { - return typeBuilder_.getMessage(); - } - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - type_ = value; - onChanged(); - } else { - typeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder setType( - flyteidl.core.Types.LiteralType.Builder builderForValue) { - if (typeBuilder_ == null) { - type_ = builderForValue.build(); - onChanged(); - } else { - typeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder mergeType(flyteidl.core.Types.LiteralType value) { - if (typeBuilder_ == null) { - if (type_ != null) { - type_ = - flyteidl.core.Types.LiteralType.newBuilder(type_).mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - onChanged(); - } else { - typeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public Builder clearType() { - if (typeBuilder_ == null) { - type_ = null; - onChanged(); - } else { - type_ = null; - typeBuilder_ = null; - } - - return this; - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { - - onChanged(); - return getTypeFieldBuilder().getBuilder(); - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { - if (typeBuilder_ != null) { - return typeBuilder_.getMessageOrBuilder(); - } else { - return type_ == null ? - flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; - } - } - /** - *
-       * A type denoting the required value type for this signal.
-       * 
- * - * .flyteidl.core.LiteralType type = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder> - getTypeFieldBuilder() { - if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Types.LiteralType, flyteidl.core.Types.LiteralType.Builder, flyteidl.core.Types.LiteralTypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); - type_ = null; - } - return typeBuilder_; - } - - private java.lang.Object outputVariableName_ = ""; - /** - *
-       * The variable name for the signal value in this nodes outputs.
-       * 
- * - * string output_variable_name = 3; - */ - public java.lang.String getOutputVariableName() { - java.lang.Object ref = outputVariableName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - outputVariableName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The variable name for the signal value in this nodes outputs.
-       * 
- * - * string output_variable_name = 3; - */ - public com.google.protobuf.ByteString - getOutputVariableNameBytes() { - java.lang.Object ref = outputVariableName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputVariableName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The variable name for the signal value in this nodes outputs.
-       * 
- * - * string output_variable_name = 3; - */ - public Builder setOutputVariableName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - outputVariableName_ = value; - onChanged(); - return this; - } - /** - *
-       * The variable name for the signal value in this nodes outputs.
-       * 
- * - * string output_variable_name = 3; - */ - public Builder clearOutputVariableName() { - - outputVariableName_ = getDefaultInstance().getOutputVariableName(); - onChanged(); - return this; - } - /** - *
-       * The variable name for the signal value in this nodes outputs.
-       * 
- * - * string output_variable_name = 3; - */ - public Builder setOutputVariableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - outputVariableName_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.SignalCondition) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.SignalCondition) - private static final flyteidl.core.Workflow.SignalCondition DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.SignalCondition(); - } - - public static flyteidl.core.Workflow.SignalCondition getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SignalCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SignalCondition(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.Workflow.SignalCondition getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SleepConditionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.SleepCondition) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The overall duration for this sleep.
-     * 
- * - * .google.protobuf.Duration duration = 1; - */ - boolean hasDuration(); - /** - *
-     * The overall duration for this sleep.
-     * 
- * - * .google.protobuf.Duration duration = 1; - */ - com.google.protobuf.Duration getDuration(); - /** - *
-     * The overall duration for this sleep.
-     * 
- * - * .google.protobuf.Duration duration = 1; - */ - com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); - } - /** - *
-   * SleepCondition represents a dependency on waiting for the specified duration.
-   * 
- * - * Protobuf type {@code flyteidl.core.SleepCondition} - */ - public static final class SleepCondition extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.SleepCondition) - SleepConditionOrBuilder { - private static final long serialVersionUID = 0L; - // Use SleepCondition.newBuilder() to construct. - private SleepCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SleepCondition() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SleepCondition( - 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: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = 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.core.Workflow.internal_static_flyteidl_core_SleepCondition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SleepCondition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.SleepCondition.class, flyteidl.core.Workflow.SleepCondition.Builder.class); - } - - public static final int DURATION_FIELD_NUMBER = 1; - private com.google.protobuf.Duration duration_; - /** - *
-     * The overall duration for this sleep.
-     * 
- * - * .google.protobuf.Duration duration = 1; - */ - public boolean hasDuration() { - return duration_ != null; - } - /** - *
-     * The overall duration for this sleep.
-     * 
- * - * .google.protobuf.Duration duration = 1; - */ - public com.google.protobuf.Duration getDuration() { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - /** - *
-     * The overall duration for this sleep.
-     * 
- * - * .google.protobuf.Duration duration = 1; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - return getDuration(); - } - - 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 (duration_ != null) { - output.writeMessage(1, getDuration()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDuration()); - } - 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.Workflow.SleepCondition)) { - return super.equals(obj); - } - flyteidl.core.Workflow.SleepCondition other = (flyteidl.core.Workflow.SleepCondition) obj; - - if (hasDuration() != other.hasDuration()) return false; - if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) 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 (hasDuration()) { - hash = (37 * hash) + DURATION_FIELD_NUMBER; - hash = (53 * hash) + getDuration().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.SleepCondition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.SleepCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.SleepCondition parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.SleepCondition 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.Workflow.SleepCondition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.SleepCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.SleepCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.SleepCondition 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.Workflow.SleepCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.SleepCondition 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.Workflow.SleepCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.SleepCondition 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.Workflow.SleepCondition 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; - } - /** - *
-     * SleepCondition represents a dependency on waiting for the specified duration.
-     * 
- * - * Protobuf type {@code flyteidl.core.SleepCondition} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.SleepCondition) - flyteidl.core.Workflow.SleepConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SleepCondition_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SleepCondition_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.SleepCondition.class, flyteidl.core.Workflow.SleepCondition.Builder.class); - } - - // Construct using flyteidl.core.Workflow.SleepCondition.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 (durationBuilder_ == null) { - duration_ = null; - } else { - duration_ = null; - durationBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_SleepCondition_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.SleepCondition getDefaultInstanceForType() { - return flyteidl.core.Workflow.SleepCondition.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.SleepCondition build() { - flyteidl.core.Workflow.SleepCondition result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.SleepCondition buildPartial() { - flyteidl.core.Workflow.SleepCondition result = new flyteidl.core.Workflow.SleepCondition(this); - if (durationBuilder_ == null) { - result.duration_ = duration_; - } else { - result.duration_ = durationBuilder_.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.Workflow.SleepCondition) { - return mergeFrom((flyteidl.core.Workflow.SleepCondition)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.SleepCondition other) { - if (other == flyteidl.core.Workflow.SleepCondition.getDefaultInstance()) return this; - if (other.hasDuration()) { - mergeDuration(other.getDuration()); - } - 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.Workflow.SleepCondition parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.SleepCondition) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.protobuf.Duration duration_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public boolean hasDuration() { - return durationBuilder_ != null || duration_ != null; - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public com.google.protobuf.Duration getDuration() { - if (durationBuilder_ == null) { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } else { - return durationBuilder_.getMessage(); - } - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public Builder setDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - duration_ = value; - onChanged(); - } else { - durationBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { - if (durationBuilder_ == null) { - duration_ = builderForValue.build(); - onChanged(); - } else { - durationBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public Builder mergeDuration(com.google.protobuf.Duration value) { - if (durationBuilder_ == null) { - if (duration_ != null) { - duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); - } else { - duration_ = value; - } - onChanged(); - } else { - durationBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public Builder clearDuration() { - if (durationBuilder_ == null) { - duration_ = null; - onChanged(); - } else { - duration_ = null; - durationBuilder_ = null; - } - - return this; - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public com.google.protobuf.Duration.Builder getDurationBuilder() { - - onChanged(); - return getDurationFieldBuilder().getBuilder(); - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { - if (durationBuilder_ != null) { - return durationBuilder_.getMessageOrBuilder(); - } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - } - /** - *
-       * The overall duration for this sleep.
-       * 
- * - * .google.protobuf.Duration duration = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getDurationFieldBuilder() { - if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); - duration_ = null; - } - return durationBuilder_; - } - @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.SleepCondition) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.SleepCondition) - private static final flyteidl.core.Workflow.SleepCondition DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.SleepCondition(); - } - - public static flyteidl.core.Workflow.SleepCondition getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SleepCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SleepCondition(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.Workflow.SleepCondition getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GateNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.GateNode) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-     * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - boolean hasApprove(); - /** - *
-     * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-     * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - flyteidl.core.Workflow.ApproveCondition getApprove(); - /** - *
-     * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-     * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - flyteidl.core.Workflow.ApproveConditionOrBuilder getApproveOrBuilder(); - - /** - *
-     * SignalCondition represents a dependency on an signal.
-     * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - boolean hasSignal(); - /** - *
-     * SignalCondition represents a dependency on an signal.
-     * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - flyteidl.core.Workflow.SignalCondition getSignal(); - /** - *
-     * SignalCondition represents a dependency on an signal.
-     * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - flyteidl.core.Workflow.SignalConditionOrBuilder getSignalOrBuilder(); - - /** - *
-     * SleepCondition represents a dependency on waiting for the specified duration.
-     * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - boolean hasSleep(); - /** - *
-     * SleepCondition represents a dependency on waiting for the specified duration.
-     * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - flyteidl.core.Workflow.SleepCondition getSleep(); - /** - *
-     * SleepCondition represents a dependency on waiting for the specified duration.
-     * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - flyteidl.core.Workflow.SleepConditionOrBuilder getSleepOrBuilder(); - - public flyteidl.core.Workflow.GateNode.ConditionCase getConditionCase(); - } - /** - *
-   * GateNode refers to the condition that is required for the gate to successfully complete.
-   * 
- * - * Protobuf type {@code flyteidl.core.GateNode} - */ - public static final class GateNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.GateNode) - GateNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use GateNode.newBuilder() to construct. - private GateNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GateNode() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GateNode( - 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.Workflow.ApproveCondition.Builder subBuilder = null; - if (conditionCase_ == 1) { - subBuilder = ((flyteidl.core.Workflow.ApproveCondition) condition_).toBuilder(); - } - condition_ = - input.readMessage(flyteidl.core.Workflow.ApproveCondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.ApproveCondition) condition_); - condition_ = subBuilder.buildPartial(); - } - conditionCase_ = 1; - break; - } - case 18: { - flyteidl.core.Workflow.SignalCondition.Builder subBuilder = null; - if (conditionCase_ == 2) { - subBuilder = ((flyteidl.core.Workflow.SignalCondition) condition_).toBuilder(); - } - condition_ = - input.readMessage(flyteidl.core.Workflow.SignalCondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.SignalCondition) condition_); - condition_ = subBuilder.buildPartial(); - } - conditionCase_ = 2; - break; - } - case 26: { - flyteidl.core.Workflow.SleepCondition.Builder subBuilder = null; - if (conditionCase_ == 3) { - subBuilder = ((flyteidl.core.Workflow.SleepCondition) condition_).toBuilder(); - } - condition_ = - input.readMessage(flyteidl.core.Workflow.SleepCondition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.SleepCondition) condition_); - condition_ = subBuilder.buildPartial(); - } - conditionCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_GateNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_GateNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.GateNode.class, flyteidl.core.Workflow.GateNode.Builder.class); - } - - private int conditionCase_ = 0; - private java.lang.Object condition_; - public enum ConditionCase - implements com.google.protobuf.Internal.EnumLite { - APPROVE(1), - SIGNAL(2), - SLEEP(3), - CONDITION_NOT_SET(0); - private final int value; - private ConditionCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ConditionCase valueOf(int value) { - return forNumber(value); - } - - public static ConditionCase forNumber(int value) { - switch (value) { - case 1: return APPROVE; - case 2: return SIGNAL; - case 3: return SLEEP; - case 0: return CONDITION_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public ConditionCase - getConditionCase() { - return ConditionCase.forNumber( - conditionCase_); - } - - public static final int APPROVE_FIELD_NUMBER = 1; - /** - *
-     * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-     * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public boolean hasApprove() { - return conditionCase_ == 1; - } - /** - *
-     * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-     * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public flyteidl.core.Workflow.ApproveCondition getApprove() { - if (conditionCase_ == 1) { - return (flyteidl.core.Workflow.ApproveCondition) condition_; - } - return flyteidl.core.Workflow.ApproveCondition.getDefaultInstance(); - } - /** - *
-     * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-     * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public flyteidl.core.Workflow.ApproveConditionOrBuilder getApproveOrBuilder() { - if (conditionCase_ == 1) { - return (flyteidl.core.Workflow.ApproveCondition) condition_; - } - return flyteidl.core.Workflow.ApproveCondition.getDefaultInstance(); - } - - public static final int SIGNAL_FIELD_NUMBER = 2; - /** - *
-     * SignalCondition represents a dependency on an signal.
-     * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public boolean hasSignal() { - return conditionCase_ == 2; - } - /** - *
-     * SignalCondition represents a dependency on an signal.
-     * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public flyteidl.core.Workflow.SignalCondition getSignal() { - if (conditionCase_ == 2) { - return (flyteidl.core.Workflow.SignalCondition) condition_; - } - return flyteidl.core.Workflow.SignalCondition.getDefaultInstance(); - } - /** - *
-     * SignalCondition represents a dependency on an signal.
-     * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public flyteidl.core.Workflow.SignalConditionOrBuilder getSignalOrBuilder() { - if (conditionCase_ == 2) { - return (flyteidl.core.Workflow.SignalCondition) condition_; - } - return flyteidl.core.Workflow.SignalCondition.getDefaultInstance(); - } - - public static final int SLEEP_FIELD_NUMBER = 3; - /** - *
-     * SleepCondition represents a dependency on waiting for the specified duration.
-     * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public boolean hasSleep() { - return conditionCase_ == 3; - } - /** - *
-     * SleepCondition represents a dependency on waiting for the specified duration.
-     * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public flyteidl.core.Workflow.SleepCondition getSleep() { - if (conditionCase_ == 3) { - return (flyteidl.core.Workflow.SleepCondition) condition_; - } - return flyteidl.core.Workflow.SleepCondition.getDefaultInstance(); - } - /** - *
-     * SleepCondition represents a dependency on waiting for the specified duration.
-     * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public flyteidl.core.Workflow.SleepConditionOrBuilder getSleepOrBuilder() { - if (conditionCase_ == 3) { - return (flyteidl.core.Workflow.SleepCondition) condition_; - } - return flyteidl.core.Workflow.SleepCondition.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 (conditionCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Workflow.ApproveCondition) condition_); - } - if (conditionCase_ == 2) { - output.writeMessage(2, (flyteidl.core.Workflow.SignalCondition) condition_); - } - if (conditionCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Workflow.SleepCondition) condition_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (conditionCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Workflow.ApproveCondition) condition_); - } - if (conditionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.core.Workflow.SignalCondition) condition_); - } - if (conditionCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Workflow.SleepCondition) condition_); - } - 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.Workflow.GateNode)) { - return super.equals(obj); - } - flyteidl.core.Workflow.GateNode other = (flyteidl.core.Workflow.GateNode) obj; - - if (!getConditionCase().equals(other.getConditionCase())) return false; - switch (conditionCase_) { - case 1: - if (!getApprove() - .equals(other.getApprove())) return false; - break; - case 2: - if (!getSignal() - .equals(other.getSignal())) return false; - break; - case 3: - if (!getSleep() - .equals(other.getSleep())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (conditionCase_) { - case 1: - hash = (37 * hash) + APPROVE_FIELD_NUMBER; - hash = (53 * hash) + getApprove().hashCode(); - break; - case 2: - hash = (37 * hash) + SIGNAL_FIELD_NUMBER; - hash = (53 * hash) + getSignal().hashCode(); - break; - case 3: - hash = (37 * hash) + SLEEP_FIELD_NUMBER; - hash = (53 * hash) + getSleep().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.GateNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.GateNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.GateNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.GateNode 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.Workflow.GateNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.GateNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.GateNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.GateNode 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.Workflow.GateNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.GateNode 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.Workflow.GateNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.GateNode 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.Workflow.GateNode 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; - } - /** - *
-     * GateNode refers to the condition that is required for the gate to successfully complete.
-     * 
- * - * Protobuf type {@code flyteidl.core.GateNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.GateNode) - flyteidl.core.Workflow.GateNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_GateNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_GateNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.GateNode.class, flyteidl.core.Workflow.GateNode.Builder.class); - } - - // Construct using flyteidl.core.Workflow.GateNode.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(); - conditionCase_ = 0; - condition_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_GateNode_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.GateNode getDefaultInstanceForType() { - return flyteidl.core.Workflow.GateNode.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.GateNode build() { - flyteidl.core.Workflow.GateNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.GateNode buildPartial() { - flyteidl.core.Workflow.GateNode result = new flyteidl.core.Workflow.GateNode(this); - if (conditionCase_ == 1) { - if (approveBuilder_ == null) { - result.condition_ = condition_; - } else { - result.condition_ = approveBuilder_.build(); - } - } - if (conditionCase_ == 2) { - if (signalBuilder_ == null) { - result.condition_ = condition_; - } else { - result.condition_ = signalBuilder_.build(); - } - } - if (conditionCase_ == 3) { - if (sleepBuilder_ == null) { - result.condition_ = condition_; - } else { - result.condition_ = sleepBuilder_.build(); - } - } - result.conditionCase_ = conditionCase_; - 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.Workflow.GateNode) { - return mergeFrom((flyteidl.core.Workflow.GateNode)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.GateNode other) { - if (other == flyteidl.core.Workflow.GateNode.getDefaultInstance()) return this; - switch (other.getConditionCase()) { - case APPROVE: { - mergeApprove(other.getApprove()); - break; - } - case SIGNAL: { - mergeSignal(other.getSignal()); - break; - } - case SLEEP: { - mergeSleep(other.getSleep()); - break; - } - case CONDITION_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.Workflow.GateNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.GateNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int conditionCase_ = 0; - private java.lang.Object condition_; - public ConditionCase - getConditionCase() { - return ConditionCase.forNumber( - conditionCase_); - } - - public Builder clearCondition() { - conditionCase_ = 0; - condition_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.ApproveCondition, flyteidl.core.Workflow.ApproveCondition.Builder, flyteidl.core.Workflow.ApproveConditionOrBuilder> approveBuilder_; - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public boolean hasApprove() { - return conditionCase_ == 1; - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public flyteidl.core.Workflow.ApproveCondition getApprove() { - if (approveBuilder_ == null) { - if (conditionCase_ == 1) { - return (flyteidl.core.Workflow.ApproveCondition) condition_; - } - return flyteidl.core.Workflow.ApproveCondition.getDefaultInstance(); - } else { - if (conditionCase_ == 1) { - return approveBuilder_.getMessage(); - } - return flyteidl.core.Workflow.ApproveCondition.getDefaultInstance(); - } - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public Builder setApprove(flyteidl.core.Workflow.ApproveCondition value) { - if (approveBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - condition_ = value; - onChanged(); - } else { - approveBuilder_.setMessage(value); - } - conditionCase_ = 1; - return this; - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public Builder setApprove( - flyteidl.core.Workflow.ApproveCondition.Builder builderForValue) { - if (approveBuilder_ == null) { - condition_ = builderForValue.build(); - onChanged(); - } else { - approveBuilder_.setMessage(builderForValue.build()); - } - conditionCase_ = 1; - return this; - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public Builder mergeApprove(flyteidl.core.Workflow.ApproveCondition value) { - if (approveBuilder_ == null) { - if (conditionCase_ == 1 && - condition_ != flyteidl.core.Workflow.ApproveCondition.getDefaultInstance()) { - condition_ = flyteidl.core.Workflow.ApproveCondition.newBuilder((flyteidl.core.Workflow.ApproveCondition) condition_) - .mergeFrom(value).buildPartial(); - } else { - condition_ = value; - } - onChanged(); - } else { - if (conditionCase_ == 1) { - approveBuilder_.mergeFrom(value); - } - approveBuilder_.setMessage(value); - } - conditionCase_ = 1; - return this; - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public Builder clearApprove() { - if (approveBuilder_ == null) { - if (conditionCase_ == 1) { - conditionCase_ = 0; - condition_ = null; - onChanged(); - } - } else { - if (conditionCase_ == 1) { - conditionCase_ = 0; - condition_ = null; - } - approveBuilder_.clear(); - } - return this; - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public flyteidl.core.Workflow.ApproveCondition.Builder getApproveBuilder() { - return getApproveFieldBuilder().getBuilder(); - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - public flyteidl.core.Workflow.ApproveConditionOrBuilder getApproveOrBuilder() { - if ((conditionCase_ == 1) && (approveBuilder_ != null)) { - return approveBuilder_.getMessageOrBuilder(); - } else { - if (conditionCase_ == 1) { - return (flyteidl.core.Workflow.ApproveCondition) condition_; - } - return flyteidl.core.Workflow.ApproveCondition.getDefaultInstance(); - } - } - /** - *
-       * ApproveCondition represents a dependency on an external approval provided by a boolean signal.
-       * 
- * - * .flyteidl.core.ApproveCondition approve = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.ApproveCondition, flyteidl.core.Workflow.ApproveCondition.Builder, flyteidl.core.Workflow.ApproveConditionOrBuilder> - getApproveFieldBuilder() { - if (approveBuilder_ == null) { - if (!(conditionCase_ == 1)) { - condition_ = flyteidl.core.Workflow.ApproveCondition.getDefaultInstance(); - } - approveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.ApproveCondition, flyteidl.core.Workflow.ApproveCondition.Builder, flyteidl.core.Workflow.ApproveConditionOrBuilder>( - (flyteidl.core.Workflow.ApproveCondition) condition_, - getParentForChildren(), - isClean()); - condition_ = null; - } - conditionCase_ = 1; - onChanged();; - return approveBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.SignalCondition, flyteidl.core.Workflow.SignalCondition.Builder, flyteidl.core.Workflow.SignalConditionOrBuilder> signalBuilder_; - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public boolean hasSignal() { - return conditionCase_ == 2; - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public flyteidl.core.Workflow.SignalCondition getSignal() { - if (signalBuilder_ == null) { - if (conditionCase_ == 2) { - return (flyteidl.core.Workflow.SignalCondition) condition_; - } - return flyteidl.core.Workflow.SignalCondition.getDefaultInstance(); - } else { - if (conditionCase_ == 2) { - return signalBuilder_.getMessage(); - } - return flyteidl.core.Workflow.SignalCondition.getDefaultInstance(); - } - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public Builder setSignal(flyteidl.core.Workflow.SignalCondition value) { - if (signalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - condition_ = value; - onChanged(); - } else { - signalBuilder_.setMessage(value); - } - conditionCase_ = 2; - return this; - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public Builder setSignal( - flyteidl.core.Workflow.SignalCondition.Builder builderForValue) { - if (signalBuilder_ == null) { - condition_ = builderForValue.build(); - onChanged(); - } else { - signalBuilder_.setMessage(builderForValue.build()); - } - conditionCase_ = 2; - return this; - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public Builder mergeSignal(flyteidl.core.Workflow.SignalCondition value) { - if (signalBuilder_ == null) { - if (conditionCase_ == 2 && - condition_ != flyteidl.core.Workflow.SignalCondition.getDefaultInstance()) { - condition_ = flyteidl.core.Workflow.SignalCondition.newBuilder((flyteidl.core.Workflow.SignalCondition) condition_) - .mergeFrom(value).buildPartial(); - } else { - condition_ = value; - } - onChanged(); - } else { - if (conditionCase_ == 2) { - signalBuilder_.mergeFrom(value); - } - signalBuilder_.setMessage(value); - } - conditionCase_ = 2; - return this; - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public Builder clearSignal() { - if (signalBuilder_ == null) { - if (conditionCase_ == 2) { - conditionCase_ = 0; - condition_ = null; - onChanged(); - } - } else { - if (conditionCase_ == 2) { - conditionCase_ = 0; - condition_ = null; - } - signalBuilder_.clear(); - } - return this; - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public flyteidl.core.Workflow.SignalCondition.Builder getSignalBuilder() { - return getSignalFieldBuilder().getBuilder(); - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - public flyteidl.core.Workflow.SignalConditionOrBuilder getSignalOrBuilder() { - if ((conditionCase_ == 2) && (signalBuilder_ != null)) { - return signalBuilder_.getMessageOrBuilder(); - } else { - if (conditionCase_ == 2) { - return (flyteidl.core.Workflow.SignalCondition) condition_; - } - return flyteidl.core.Workflow.SignalCondition.getDefaultInstance(); - } - } - /** - *
-       * SignalCondition represents a dependency on an signal.
-       * 
- * - * .flyteidl.core.SignalCondition signal = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.SignalCondition, flyteidl.core.Workflow.SignalCondition.Builder, flyteidl.core.Workflow.SignalConditionOrBuilder> - getSignalFieldBuilder() { - if (signalBuilder_ == null) { - if (!(conditionCase_ == 2)) { - condition_ = flyteidl.core.Workflow.SignalCondition.getDefaultInstance(); - } - signalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.SignalCondition, flyteidl.core.Workflow.SignalCondition.Builder, flyteidl.core.Workflow.SignalConditionOrBuilder>( - (flyteidl.core.Workflow.SignalCondition) condition_, - getParentForChildren(), - isClean()); - condition_ = null; - } - conditionCase_ = 2; - onChanged();; - return signalBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.SleepCondition, flyteidl.core.Workflow.SleepCondition.Builder, flyteidl.core.Workflow.SleepConditionOrBuilder> sleepBuilder_; - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public boolean hasSleep() { - return conditionCase_ == 3; - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public flyteidl.core.Workflow.SleepCondition getSleep() { - if (sleepBuilder_ == null) { - if (conditionCase_ == 3) { - return (flyteidl.core.Workflow.SleepCondition) condition_; - } - return flyteidl.core.Workflow.SleepCondition.getDefaultInstance(); - } else { - if (conditionCase_ == 3) { - return sleepBuilder_.getMessage(); - } - return flyteidl.core.Workflow.SleepCondition.getDefaultInstance(); - } - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public Builder setSleep(flyteidl.core.Workflow.SleepCondition value) { - if (sleepBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - condition_ = value; - onChanged(); - } else { - sleepBuilder_.setMessage(value); - } - conditionCase_ = 3; - return this; - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public Builder setSleep( - flyteidl.core.Workflow.SleepCondition.Builder builderForValue) { - if (sleepBuilder_ == null) { - condition_ = builderForValue.build(); - onChanged(); - } else { - sleepBuilder_.setMessage(builderForValue.build()); - } - conditionCase_ = 3; - return this; - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public Builder mergeSleep(flyteidl.core.Workflow.SleepCondition value) { - if (sleepBuilder_ == null) { - if (conditionCase_ == 3 && - condition_ != flyteidl.core.Workflow.SleepCondition.getDefaultInstance()) { - condition_ = flyteidl.core.Workflow.SleepCondition.newBuilder((flyteidl.core.Workflow.SleepCondition) condition_) - .mergeFrom(value).buildPartial(); - } else { - condition_ = value; - } - onChanged(); - } else { - if (conditionCase_ == 3) { - sleepBuilder_.mergeFrom(value); - } - sleepBuilder_.setMessage(value); - } - conditionCase_ = 3; - return this; - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public Builder clearSleep() { - if (sleepBuilder_ == null) { - if (conditionCase_ == 3) { - conditionCase_ = 0; - condition_ = null; - onChanged(); - } - } else { - if (conditionCase_ == 3) { - conditionCase_ = 0; - condition_ = null; - } - sleepBuilder_.clear(); - } - return this; - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public flyteidl.core.Workflow.SleepCondition.Builder getSleepBuilder() { - return getSleepFieldBuilder().getBuilder(); - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - public flyteidl.core.Workflow.SleepConditionOrBuilder getSleepOrBuilder() { - if ((conditionCase_ == 3) && (sleepBuilder_ != null)) { - return sleepBuilder_.getMessageOrBuilder(); - } else { - if (conditionCase_ == 3) { - return (flyteidl.core.Workflow.SleepCondition) condition_; - } - return flyteidl.core.Workflow.SleepCondition.getDefaultInstance(); - } - } - /** - *
-       * SleepCondition represents a dependency on waiting for the specified duration.
-       * 
- * - * .flyteidl.core.SleepCondition sleep = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.SleepCondition, flyteidl.core.Workflow.SleepCondition.Builder, flyteidl.core.Workflow.SleepConditionOrBuilder> - getSleepFieldBuilder() { - if (sleepBuilder_ == null) { - if (!(conditionCase_ == 3)) { - condition_ = flyteidl.core.Workflow.SleepCondition.getDefaultInstance(); - } - sleepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.SleepCondition, flyteidl.core.Workflow.SleepCondition.Builder, flyteidl.core.Workflow.SleepConditionOrBuilder>( - (flyteidl.core.Workflow.SleepCondition) condition_, - getParentForChildren(), - isClean()); - condition_ = null; - } - conditionCase_ = 3; - onChanged();; - return sleepBuilder_; - } - @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.GateNode) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.GateNode) - private static final flyteidl.core.Workflow.GateNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.GateNode(); - } - - public static flyteidl.core.Workflow.GateNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GateNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GateNode(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.Workflow.GateNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ArrayNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.ArrayNode) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * node is the sub-node that will be executed for each element in the array.
-     * 
- * - * .flyteidl.core.Node node = 1; - */ - boolean hasNode(); - /** - *
-     * node is the sub-node that will be executed for each element in the array.
-     * 
- * - * .flyteidl.core.Node node = 1; - */ - flyteidl.core.Workflow.Node getNode(); - /** - *
-     * node is the sub-node that will be executed for each element in the array.
-     * 
- * - * .flyteidl.core.Node node = 1; - */ - flyteidl.core.Workflow.NodeOrBuilder getNodeOrBuilder(); - - /** - *
-     * parallelism defines the minimum number of instances to bring up concurrently at any given
-     * point. Note that this is an optimistic restriction and that, due to network partitioning or
-     * other failures, the actual number of currently running instances might be more. This has to
-     * be a positive number if assigned. Default value is size.
-     * 
- * - * uint32 parallelism = 2; - */ - int getParallelism(); - - /** - *
-     * min_successes is an absolute number of the minimum number of successful completions of
-     * sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful
-     * and outputs will be computed. This has to be a non-negative number if assigned. Default
-     * value is size (if specified).
-     * 
- * - * uint32 min_successes = 3; - */ - int getMinSuccesses(); - - /** - *
-     * If the array job size is not known beforehand, the min_success_ratio can instead be used
-     * to determine when an ArrayNode can be marked successful.
-     * 
- * - * float min_success_ratio = 4; - */ - float getMinSuccessRatio(); - - public flyteidl.core.Workflow.ArrayNode.SuccessCriteriaCase getSuccessCriteriaCase(); - } - /** - *
-   * ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input
-   * values. An ArrayNode can be executed with configurable parallelism (separate from the parent
-   * workflow) and can be configured to succeed when a certain number of sub-nodes succeed.
-   * 
- * - * Protobuf type {@code flyteidl.core.ArrayNode} - */ - public static final class ArrayNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.ArrayNode) - ArrayNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArrayNode.newBuilder() to construct. - private ArrayNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArrayNode() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArrayNode( - 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.Workflow.Node.Builder subBuilder = null; - if (node_ != null) { - subBuilder = node_.toBuilder(); - } - node_ = input.readMessage(flyteidl.core.Workflow.Node.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(node_); - node_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - - parallelism_ = input.readUInt32(); - break; - } - case 24: { - successCriteriaCase_ = 3; - successCriteria_ = input.readUInt32(); - break; - } - case 37: { - successCriteriaCase_ = 4; - successCriteria_ = input.readFloat(); - 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.Workflow.internal_static_flyteidl_core_ArrayNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ArrayNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.ArrayNode.class, flyteidl.core.Workflow.ArrayNode.Builder.class); - } - - private int successCriteriaCase_ = 0; - private java.lang.Object successCriteria_; - public enum SuccessCriteriaCase - implements com.google.protobuf.Internal.EnumLite { - MIN_SUCCESSES(3), - MIN_SUCCESS_RATIO(4), - SUCCESSCRITERIA_NOT_SET(0); - private final int value; - private SuccessCriteriaCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static SuccessCriteriaCase valueOf(int value) { - return forNumber(value); - } - - public static SuccessCriteriaCase forNumber(int value) { - switch (value) { - case 3: return MIN_SUCCESSES; - case 4: return MIN_SUCCESS_RATIO; - case 0: return SUCCESSCRITERIA_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public SuccessCriteriaCase - getSuccessCriteriaCase() { - return SuccessCriteriaCase.forNumber( - successCriteriaCase_); - } - - public static final int NODE_FIELD_NUMBER = 1; - private flyteidl.core.Workflow.Node node_; - /** - *
-     * node is the sub-node that will be executed for each element in the array.
-     * 
- * - * .flyteidl.core.Node node = 1; - */ - public boolean hasNode() { - return node_ != null; - } - /** - *
-     * node is the sub-node that will be executed for each element in the array.
-     * 
- * - * .flyteidl.core.Node node = 1; - */ - public flyteidl.core.Workflow.Node getNode() { - return node_ == null ? flyteidl.core.Workflow.Node.getDefaultInstance() : node_; - } - /** - *
-     * node is the sub-node that will be executed for each element in the array.
-     * 
- * - * .flyteidl.core.Node node = 1; - */ - public flyteidl.core.Workflow.NodeOrBuilder getNodeOrBuilder() { - return getNode(); - } - - public static final int PARALLELISM_FIELD_NUMBER = 2; - private int parallelism_; - /** - *
-     * parallelism defines the minimum number of instances to bring up concurrently at any given
-     * point. Note that this is an optimistic restriction and that, due to network partitioning or
-     * other failures, the actual number of currently running instances might be more. This has to
-     * be a positive number if assigned. Default value is size.
-     * 
- * - * uint32 parallelism = 2; - */ - public int getParallelism() { - return parallelism_; - } - - public static final int MIN_SUCCESSES_FIELD_NUMBER = 3; - /** - *
-     * min_successes is an absolute number of the minimum number of successful completions of
-     * sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful
-     * and outputs will be computed. This has to be a non-negative number if assigned. Default
-     * value is size (if specified).
-     * 
- * - * uint32 min_successes = 3; - */ - public int getMinSuccesses() { - if (successCriteriaCase_ == 3) { - return (java.lang.Integer) successCriteria_; - } - return 0; - } - - public static final int MIN_SUCCESS_RATIO_FIELD_NUMBER = 4; - /** - *
-     * If the array job size is not known beforehand, the min_success_ratio can instead be used
-     * to determine when an ArrayNode can be marked successful.
-     * 
- * - * float min_success_ratio = 4; - */ - public float getMinSuccessRatio() { - if (successCriteriaCase_ == 4) { - return (java.lang.Float) successCriteria_; - } - return 0F; - } - - 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 (node_ != null) { - output.writeMessage(1, getNode()); - } - if (parallelism_ != 0) { - output.writeUInt32(2, parallelism_); - } - if (successCriteriaCase_ == 3) { - output.writeUInt32( - 3, (int)((java.lang.Integer) successCriteria_)); - } - if (successCriteriaCase_ == 4) { - output.writeFloat( - 4, (float)((java.lang.Float) successCriteria_)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (node_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNode()); - } - if (parallelism_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, parallelism_); - } - if (successCriteriaCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size( - 3, (int)((java.lang.Integer) successCriteria_)); - } - if (successCriteriaCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize( - 4, (float)((java.lang.Float) successCriteria_)); - } - 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.Workflow.ArrayNode)) { - return super.equals(obj); - } - flyteidl.core.Workflow.ArrayNode other = (flyteidl.core.Workflow.ArrayNode) obj; - - if (hasNode() != other.hasNode()) return false; - if (hasNode()) { - if (!getNode() - .equals(other.getNode())) return false; - } - if (getParallelism() - != other.getParallelism()) return false; - if (!getSuccessCriteriaCase().equals(other.getSuccessCriteriaCase())) return false; - switch (successCriteriaCase_) { - case 3: - if (getMinSuccesses() - != other.getMinSuccesses()) return false; - break; - case 4: - if (java.lang.Float.floatToIntBits(getMinSuccessRatio()) - != java.lang.Float.floatToIntBits( - other.getMinSuccessRatio())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasNode()) { - hash = (37 * hash) + NODE_FIELD_NUMBER; - hash = (53 * hash) + getNode().hashCode(); - } - hash = (37 * hash) + PARALLELISM_FIELD_NUMBER; - hash = (53 * hash) + getParallelism(); - switch (successCriteriaCase_) { - case 3: - hash = (37 * hash) + MIN_SUCCESSES_FIELD_NUMBER; - hash = (53 * hash) + getMinSuccesses(); - break; - case 4: - hash = (37 * hash) + MIN_SUCCESS_RATIO_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getMinSuccessRatio()); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.ArrayNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.ArrayNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.ArrayNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.ArrayNode 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.Workflow.ArrayNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.ArrayNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.ArrayNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.ArrayNode 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.Workflow.ArrayNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.ArrayNode 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.Workflow.ArrayNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.ArrayNode 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.Workflow.ArrayNode 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; - } - /** - *
-     * ArrayNode is a Flyte node type that simplifies the execution of a sub-node over a list of input
-     * values. An ArrayNode can be executed with configurable parallelism (separate from the parent
-     * workflow) and can be configured to succeed when a certain number of sub-nodes succeed.
-     * 
- * - * Protobuf type {@code flyteidl.core.ArrayNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.ArrayNode) - flyteidl.core.Workflow.ArrayNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ArrayNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ArrayNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.ArrayNode.class, flyteidl.core.Workflow.ArrayNode.Builder.class); - } - - // Construct using flyteidl.core.Workflow.ArrayNode.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 (nodeBuilder_ == null) { - node_ = null; - } else { - node_ = null; - nodeBuilder_ = null; - } - parallelism_ = 0; - - successCriteriaCase_ = 0; - successCriteria_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_ArrayNode_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.ArrayNode getDefaultInstanceForType() { - return flyteidl.core.Workflow.ArrayNode.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.ArrayNode build() { - flyteidl.core.Workflow.ArrayNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.ArrayNode buildPartial() { - flyteidl.core.Workflow.ArrayNode result = new flyteidl.core.Workflow.ArrayNode(this); - if (nodeBuilder_ == null) { - result.node_ = node_; - } else { - result.node_ = nodeBuilder_.build(); - } - result.parallelism_ = parallelism_; - if (successCriteriaCase_ == 3) { - result.successCriteria_ = successCriteria_; - } - if (successCriteriaCase_ == 4) { - result.successCriteria_ = successCriteria_; - } - result.successCriteriaCase_ = successCriteriaCase_; - 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.Workflow.ArrayNode) { - return mergeFrom((flyteidl.core.Workflow.ArrayNode)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.ArrayNode other) { - if (other == flyteidl.core.Workflow.ArrayNode.getDefaultInstance()) return this; - if (other.hasNode()) { - mergeNode(other.getNode()); - } - if (other.getParallelism() != 0) { - setParallelism(other.getParallelism()); - } - switch (other.getSuccessCriteriaCase()) { - case MIN_SUCCESSES: { - setMinSuccesses(other.getMinSuccesses()); - break; - } - case MIN_SUCCESS_RATIO: { - setMinSuccessRatio(other.getMinSuccessRatio()); - break; - } - case SUCCESSCRITERIA_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.Workflow.ArrayNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.ArrayNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int successCriteriaCase_ = 0; - private java.lang.Object successCriteria_; - public SuccessCriteriaCase - getSuccessCriteriaCase() { - return SuccessCriteriaCase.forNumber( - successCriteriaCase_); - } - - public Builder clearSuccessCriteria() { - successCriteriaCase_ = 0; - successCriteria_ = null; - onChanged(); - return this; - } - - - private flyteidl.core.Workflow.Node node_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> nodeBuilder_; - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public boolean hasNode() { - return nodeBuilder_ != null || node_ != null; - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public flyteidl.core.Workflow.Node getNode() { - if (nodeBuilder_ == null) { - return node_ == null ? flyteidl.core.Workflow.Node.getDefaultInstance() : node_; - } else { - return nodeBuilder_.getMessage(); - } - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public Builder setNode(flyteidl.core.Workflow.Node value) { - if (nodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - node_ = value; - onChanged(); - } else { - nodeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public Builder setNode( - flyteidl.core.Workflow.Node.Builder builderForValue) { - if (nodeBuilder_ == null) { - node_ = builderForValue.build(); - onChanged(); - } else { - nodeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public Builder mergeNode(flyteidl.core.Workflow.Node value) { - if (nodeBuilder_ == null) { - if (node_ != null) { - node_ = - flyteidl.core.Workflow.Node.newBuilder(node_).mergeFrom(value).buildPartial(); - } else { - node_ = value; - } - onChanged(); - } else { - nodeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public Builder clearNode() { - if (nodeBuilder_ == null) { - node_ = null; - onChanged(); - } else { - node_ = null; - nodeBuilder_ = null; - } - - return this; - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public flyteidl.core.Workflow.Node.Builder getNodeBuilder() { - - onChanged(); - return getNodeFieldBuilder().getBuilder(); - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - public flyteidl.core.Workflow.NodeOrBuilder getNodeOrBuilder() { - if (nodeBuilder_ != null) { - return nodeBuilder_.getMessageOrBuilder(); - } else { - return node_ == null ? - flyteidl.core.Workflow.Node.getDefaultInstance() : node_; - } - } - /** - *
-       * node is the sub-node that will be executed for each element in the array.
-       * 
- * - * .flyteidl.core.Node node = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> - getNodeFieldBuilder() { - if (nodeBuilder_ == null) { - nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>( - getNode(), - getParentForChildren(), - isClean()); - node_ = null; - } - return nodeBuilder_; - } - - private int parallelism_ ; - /** - *
-       * parallelism defines the minimum number of instances to bring up concurrently at any given
-       * point. Note that this is an optimistic restriction and that, due to network partitioning or
-       * other failures, the actual number of currently running instances might be more. This has to
-       * be a positive number if assigned. Default value is size.
-       * 
- * - * uint32 parallelism = 2; - */ - public int getParallelism() { - return parallelism_; - } - /** - *
-       * parallelism defines the minimum number of instances to bring up concurrently at any given
-       * point. Note that this is an optimistic restriction and that, due to network partitioning or
-       * other failures, the actual number of currently running instances might be more. This has to
-       * be a positive number if assigned. Default value is size.
-       * 
- * - * uint32 parallelism = 2; - */ - public Builder setParallelism(int value) { - - parallelism_ = value; - onChanged(); - return this; - } - /** - *
-       * parallelism defines the minimum number of instances to bring up concurrently at any given
-       * point. Note that this is an optimistic restriction and that, due to network partitioning or
-       * other failures, the actual number of currently running instances might be more. This has to
-       * be a positive number if assigned. Default value is size.
-       * 
- * - * uint32 parallelism = 2; - */ - public Builder clearParallelism() { - - parallelism_ = 0; - onChanged(); - return this; - } - - /** - *
-       * min_successes is an absolute number of the minimum number of successful completions of
-       * sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful
-       * and outputs will be computed. This has to be a non-negative number if assigned. Default
-       * value is size (if specified).
-       * 
- * - * uint32 min_successes = 3; - */ - public int getMinSuccesses() { - if (successCriteriaCase_ == 3) { - return (java.lang.Integer) successCriteria_; - } - return 0; - } - /** - *
-       * min_successes is an absolute number of the minimum number of successful completions of
-       * sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful
-       * and outputs will be computed. This has to be a non-negative number if assigned. Default
-       * value is size (if specified).
-       * 
- * - * uint32 min_successes = 3; - */ - public Builder setMinSuccesses(int value) { - successCriteriaCase_ = 3; - successCriteria_ = value; - onChanged(); - return this; - } - /** - *
-       * min_successes is an absolute number of the minimum number of successful completions of
-       * sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful
-       * and outputs will be computed. This has to be a non-negative number if assigned. Default
-       * value is size (if specified).
-       * 
- * - * uint32 min_successes = 3; - */ - public Builder clearMinSuccesses() { - if (successCriteriaCase_ == 3) { - successCriteriaCase_ = 0; - successCriteria_ = null; - onChanged(); - } - return this; - } - - /** - *
-       * If the array job size is not known beforehand, the min_success_ratio can instead be used
-       * to determine when an ArrayNode can be marked successful.
-       * 
- * - * float min_success_ratio = 4; - */ - public float getMinSuccessRatio() { - if (successCriteriaCase_ == 4) { - return (java.lang.Float) successCriteria_; - } - return 0F; - } - /** - *
-       * If the array job size is not known beforehand, the min_success_ratio can instead be used
-       * to determine when an ArrayNode can be marked successful.
-       * 
- * - * float min_success_ratio = 4; - */ - public Builder setMinSuccessRatio(float value) { - successCriteriaCase_ = 4; - successCriteria_ = value; - onChanged(); - return this; - } - /** - *
-       * If the array job size is not known beforehand, the min_success_ratio can instead be used
-       * to determine when an ArrayNode can be marked successful.
-       * 
- * - * float min_success_ratio = 4; - */ - public Builder clearMinSuccessRatio() { - if (successCriteriaCase_ == 4) { - successCriteriaCase_ = 0; - successCriteria_ = null; - onChanged(); - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.ArrayNode) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.ArrayNode) - private static final flyteidl.core.Workflow.ArrayNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.ArrayNode(); - } - - public static flyteidl.core.Workflow.ArrayNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrayNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArrayNode(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.Workflow.ArrayNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.NodeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A friendly name for the Node
-     * 
- * - * string name = 1; - */ - java.lang.String getName(); - /** - *
-     * A friendly name for the Node
-     * 
- * - * string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * The overall timeout of a task.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - boolean hasTimeout(); - /** - *
-     * The overall timeout of a task.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - com.google.protobuf.Duration getTimeout(); - /** - *
-     * The overall timeout of a task.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder(); - - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - boolean hasRetries(); - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - flyteidl.core.Literals.RetryStrategy getRetries(); - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - flyteidl.core.Literals.RetryStrategyOrBuilder getRetriesOrBuilder(); - - /** - * bool interruptible = 6; - */ - boolean getInterruptible(); - - public flyteidl.core.Workflow.NodeMetadata.InterruptibleValueCase getInterruptibleValueCase(); - } - /** - *
-   * Defines extra information about the Node.
-   * 
- * - * Protobuf type {@code flyteidl.core.NodeMetadata} - */ - public static final class NodeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.NodeMetadata) - NodeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeMetadata.newBuilder() to construct. - private NodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeMetadata() { - name_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 34: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (timeout_ != null) { - subBuilder = timeout_.toBuilder(); - } - timeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeout_); - timeout_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.core.Literals.RetryStrategy.Builder subBuilder = null; - if (retries_ != null) { - subBuilder = retries_.toBuilder(); - } - retries_ = input.readMessage(flyteidl.core.Literals.RetryStrategy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(retries_); - retries_ = subBuilder.buildPartial(); - } - - break; - } - case 48: { - interruptibleValueCase_ = 6; - interruptibleValue_ = input.readBool(); - 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.Workflow.internal_static_flyteidl_core_NodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_NodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.NodeMetadata.class, flyteidl.core.Workflow.NodeMetadata.Builder.class); - } - - private int interruptibleValueCase_ = 0; - private java.lang.Object interruptibleValue_; - public enum InterruptibleValueCase - implements com.google.protobuf.Internal.EnumLite { - INTERRUPTIBLE(6), - INTERRUPTIBLEVALUE_NOT_SET(0); - private final int value; - private InterruptibleValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static InterruptibleValueCase valueOf(int value) { - return forNumber(value); - } - - public static InterruptibleValueCase forNumber(int value) { - switch (value) { - case 6: return INTERRUPTIBLE; - case 0: return INTERRUPTIBLEVALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public InterruptibleValueCase - getInterruptibleValueCase() { - return InterruptibleValueCase.forNumber( - interruptibleValueCase_); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - *
-     * A friendly name for the Node
-     * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * A friendly name for the Node
-     * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIMEOUT_FIELD_NUMBER = 4; - private com.google.protobuf.Duration timeout_; - /** - *
-     * The overall timeout of a task.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public boolean hasTimeout() { - return timeout_ != null; - } - /** - *
-     * The overall timeout of a task.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.Duration getTimeout() { - return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; - } - /** - *
-     * The overall timeout of a task.
-     * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { - return getTimeout(); - } - - public static final int RETRIES_FIELD_NUMBER = 5; - private flyteidl.core.Literals.RetryStrategy retries_; - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public boolean hasRetries() { - return retries_ != null; - } - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategy getRetries() { - return retries_ == null ? flyteidl.core.Literals.RetryStrategy.getDefaultInstance() : retries_; - } - /** - *
-     * Number of retries per task.
-     * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategyOrBuilder getRetriesOrBuilder() { - return getRetries(); - } - - public static final int INTERRUPTIBLE_FIELD_NUMBER = 6; - /** - * bool interruptible = 6; - */ - public boolean getInterruptible() { - if (interruptibleValueCase_ == 6) { - return (java.lang.Boolean) interruptibleValue_; - } - return false; - } - - 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 (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (timeout_ != null) { - output.writeMessage(4, getTimeout()); - } - if (retries_ != null) { - output.writeMessage(5, getRetries()); - } - if (interruptibleValueCase_ == 6) { - output.writeBool( - 6, (boolean)((java.lang.Boolean) interruptibleValue_)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTimeout()); - } - if (retries_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRetries()); - } - if (interruptibleValueCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 6, (boolean)((java.lang.Boolean) interruptibleValue_)); - } - 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.Workflow.NodeMetadata)) { - return super.equals(obj); - } - flyteidl.core.Workflow.NodeMetadata other = (flyteidl.core.Workflow.NodeMetadata) obj; - - if (!getName() - .equals(other.getName())) return false; - if (hasTimeout() != other.hasTimeout()) return false; - if (hasTimeout()) { - if (!getTimeout() - .equals(other.getTimeout())) return false; - } - if (hasRetries() != other.hasRetries()) return false; - if (hasRetries()) { - if (!getRetries() - .equals(other.getRetries())) return false; - } - if (!getInterruptibleValueCase().equals(other.getInterruptibleValueCase())) return false; - switch (interruptibleValueCase_) { - case 6: - if (getInterruptible() - != other.getInterruptible()) 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) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasTimeout()) { - hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; - hash = (53 * hash) + getTimeout().hashCode(); - } - if (hasRetries()) { - hash = (37 * hash) + RETRIES_FIELD_NUMBER; - hash = (53 * hash) + getRetries().hashCode(); - } - switch (interruptibleValueCase_) { - case 6: - hash = (37 * hash) + INTERRUPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInterruptible()); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.NodeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.NodeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.NodeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.NodeMetadata 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.Workflow.NodeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.NodeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.NodeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.NodeMetadata 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.Workflow.NodeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.NodeMetadata 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.Workflow.NodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.NodeMetadata 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.Workflow.NodeMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines extra information about the Node.
-     * 
- * - * Protobuf type {@code flyteidl.core.NodeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.NodeMetadata) - flyteidl.core.Workflow.NodeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_NodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_NodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.NodeMetadata.class, flyteidl.core.Workflow.NodeMetadata.Builder.class); - } - - // Construct using flyteidl.core.Workflow.NodeMetadata.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(); - name_ = ""; - - if (timeoutBuilder_ == null) { - timeout_ = null; - } else { - timeout_ = null; - timeoutBuilder_ = null; - } - if (retriesBuilder_ == null) { - retries_ = null; - } else { - retries_ = null; - retriesBuilder_ = null; - } - interruptibleValueCase_ = 0; - interruptibleValue_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_NodeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.NodeMetadata getDefaultInstanceForType() { - return flyteidl.core.Workflow.NodeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.NodeMetadata build() { - flyteidl.core.Workflow.NodeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.NodeMetadata buildPartial() { - flyteidl.core.Workflow.NodeMetadata result = new flyteidl.core.Workflow.NodeMetadata(this); - result.name_ = name_; - if (timeoutBuilder_ == null) { - result.timeout_ = timeout_; - } else { - result.timeout_ = timeoutBuilder_.build(); - } - if (retriesBuilder_ == null) { - result.retries_ = retries_; - } else { - result.retries_ = retriesBuilder_.build(); - } - if (interruptibleValueCase_ == 6) { - result.interruptibleValue_ = interruptibleValue_; - } - result.interruptibleValueCase_ = interruptibleValueCase_; - 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.Workflow.NodeMetadata) { - return mergeFrom((flyteidl.core.Workflow.NodeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.NodeMetadata other) { - if (other == flyteidl.core.Workflow.NodeMetadata.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.hasTimeout()) { - mergeTimeout(other.getTimeout()); - } - if (other.hasRetries()) { - mergeRetries(other.getRetries()); - } - switch (other.getInterruptibleValueCase()) { - case INTERRUPTIBLE: { - setInterruptible(other.getInterruptible()); - break; - } - case INTERRUPTIBLEVALUE_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.Workflow.NodeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.NodeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int interruptibleValueCase_ = 0; - private java.lang.Object interruptibleValue_; - public InterruptibleValueCase - getInterruptibleValueCase() { - return InterruptibleValueCase.forNumber( - interruptibleValueCase_); - } - - public Builder clearInterruptibleValue() { - interruptibleValueCase_ = 0; - interruptibleValue_ = null; - onChanged(); - return this; - } - - - private java.lang.Object name_ = ""; - /** - *
-       * A friendly name for the Node
-       * 
- * - * string name = 1; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A friendly name for the Node
-       * 
- * - * string name = 1; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A friendly name for the Node
-       * 
- * - * string name = 1; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * A friendly name for the Node
-       * 
- * - * string name = 1; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * A friendly name for the Node
-       * 
- * - * string name = 1; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Duration timeout_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_; - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public boolean hasTimeout() { - return timeoutBuilder_ != null || timeout_ != null; - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.Duration getTimeout() { - if (timeoutBuilder_ == null) { - return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; - } else { - return timeoutBuilder_.getMessage(); - } - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder setTimeout(com.google.protobuf.Duration value) { - if (timeoutBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timeout_ = value; - onChanged(); - } else { - timeoutBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder setTimeout( - com.google.protobuf.Duration.Builder builderForValue) { - if (timeoutBuilder_ == null) { - timeout_ = builderForValue.build(); - onChanged(); - } else { - timeoutBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder mergeTimeout(com.google.protobuf.Duration value) { - if (timeoutBuilder_ == null) { - if (timeout_ != null) { - timeout_ = - com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial(); - } else { - timeout_ = value; - } - onChanged(); - } else { - timeoutBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public Builder clearTimeout() { - if (timeoutBuilder_ == null) { - timeout_ = null; - onChanged(); - } else { - timeout_ = null; - timeoutBuilder_ = null; - } - - return this; - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.Duration.Builder getTimeoutBuilder() { - - onChanged(); - return getTimeoutFieldBuilder().getBuilder(); - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { - if (timeoutBuilder_ != null) { - return timeoutBuilder_.getMessageOrBuilder(); - } else { - return timeout_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : timeout_; - } - } - /** - *
-       * The overall timeout of a task.
-       * 
- * - * .google.protobuf.Duration timeout = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getTimeoutFieldBuilder() { - if (timeoutBuilder_ == null) { - timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTimeout(), - getParentForChildren(), - isClean()); - timeout_ = null; - } - return timeoutBuilder_; - } - - private flyteidl.core.Literals.RetryStrategy retries_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.RetryStrategy, flyteidl.core.Literals.RetryStrategy.Builder, flyteidl.core.Literals.RetryStrategyOrBuilder> retriesBuilder_; - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public boolean hasRetries() { - return retriesBuilder_ != null || retries_ != null; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategy getRetries() { - if (retriesBuilder_ == null) { - return retries_ == null ? flyteidl.core.Literals.RetryStrategy.getDefaultInstance() : retries_; - } else { - return retriesBuilder_.getMessage(); - } - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder setRetries(flyteidl.core.Literals.RetryStrategy value) { - if (retriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - retries_ = value; - onChanged(); - } else { - retriesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder setRetries( - flyteidl.core.Literals.RetryStrategy.Builder builderForValue) { - if (retriesBuilder_ == null) { - retries_ = builderForValue.build(); - onChanged(); - } else { - retriesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder mergeRetries(flyteidl.core.Literals.RetryStrategy value) { - if (retriesBuilder_ == null) { - if (retries_ != null) { - retries_ = - flyteidl.core.Literals.RetryStrategy.newBuilder(retries_).mergeFrom(value).buildPartial(); - } else { - retries_ = value; - } - onChanged(); - } else { - retriesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public Builder clearRetries() { - if (retriesBuilder_ == null) { - retries_ = null; - onChanged(); - } else { - retries_ = null; - retriesBuilder_ = null; - } - - return this; - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategy.Builder getRetriesBuilder() { - - onChanged(); - return getRetriesFieldBuilder().getBuilder(); - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - public flyteidl.core.Literals.RetryStrategyOrBuilder getRetriesOrBuilder() { - if (retriesBuilder_ != null) { - return retriesBuilder_.getMessageOrBuilder(); - } else { - return retries_ == null ? - flyteidl.core.Literals.RetryStrategy.getDefaultInstance() : retries_; - } - } - /** - *
-       * Number of retries per task.
-       * 
- * - * .flyteidl.core.RetryStrategy retries = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.RetryStrategy, flyteidl.core.Literals.RetryStrategy.Builder, flyteidl.core.Literals.RetryStrategyOrBuilder> - getRetriesFieldBuilder() { - if (retriesBuilder_ == null) { - retriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.RetryStrategy, flyteidl.core.Literals.RetryStrategy.Builder, flyteidl.core.Literals.RetryStrategyOrBuilder>( - getRetries(), - getParentForChildren(), - isClean()); - retries_ = null; - } - return retriesBuilder_; - } - - /** - * bool interruptible = 6; - */ - public boolean getInterruptible() { - if (interruptibleValueCase_ == 6) { - return (java.lang.Boolean) interruptibleValue_; - } - return false; - } - /** - * bool interruptible = 6; - */ - public Builder setInterruptible(boolean value) { - interruptibleValueCase_ = 6; - interruptibleValue_ = value; - onChanged(); - return this; - } - /** - * bool interruptible = 6; - */ - public Builder clearInterruptible() { - if (interruptibleValueCase_ == 6) { - interruptibleValueCase_ = 0; - interruptibleValue_ = null; - onChanged(); - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.NodeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.NodeMetadata) - private static final flyteidl.core.Workflow.NodeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.NodeMetadata(); - } - - public static flyteidl.core.Workflow.NodeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeMetadata(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.Workflow.NodeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AliasOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Alias) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Must match one of the output variable names on a node.
-     * 
- * - * string var = 1; - */ - java.lang.String getVar(); - /** - *
-     * Must match one of the output variable names on a node.
-     * 
- * - * string var = 1; - */ - com.google.protobuf.ByteString - getVarBytes(); - - /** - *
-     * A workflow-level unique alias that downstream nodes can refer to in their input.
-     * 
- * - * string alias = 2; - */ - java.lang.String getAlias(); - /** - *
-     * A workflow-level unique alias that downstream nodes can refer to in their input.
-     * 
- * - * string alias = 2; - */ - com.google.protobuf.ByteString - getAliasBytes(); - } - /** - *
-   * Links a variable to an alias.
-   * 
- * - * Protobuf type {@code flyteidl.core.Alias} - */ - public static final class Alias extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Alias) - AliasOrBuilder { - private static final long serialVersionUID = 0L; - // Use Alias.newBuilder() to construct. - private Alias(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Alias() { - var_ = ""; - alias_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Alias( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - var_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - alias_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Alias_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Alias_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.Alias.class, flyteidl.core.Workflow.Alias.Builder.class); - } - - public static final int VAR_FIELD_NUMBER = 1; - private volatile java.lang.Object var_; - /** - *
-     * Must match one of the output variable names on a node.
-     * 
- * - * string var = 1; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - 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(); - var_ = s; - return s; - } - } - /** - *
-     * Must match one of the output variable names on a node.
-     * 
- * - * string var = 1; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ALIAS_FIELD_NUMBER = 2; - private volatile java.lang.Object alias_; - /** - *
-     * A workflow-level unique alias that downstream nodes can refer to in their input.
-     * 
- * - * string alias = 2; - */ - public java.lang.String getAlias() { - java.lang.Object ref = alias_; - 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(); - alias_ = s; - return s; - } - } - /** - *
-     * A workflow-level unique alias that downstream nodes can refer to in their input.
-     * 
- * - * string alias = 2; - */ - public com.google.protobuf.ByteString - getAliasBytes() { - java.lang.Object ref = alias_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - alias_ = 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 (!getVarBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, var_); - } - if (!getAliasBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, alias_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getVarBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, var_); - } - if (!getAliasBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, alias_); - } - 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.Workflow.Alias)) { - return super.equals(obj); - } - flyteidl.core.Workflow.Alias other = (flyteidl.core.Workflow.Alias) obj; - - if (!getVar() - .equals(other.getVar())) return false; - if (!getAlias() - .equals(other.getAlias())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VAR_FIELD_NUMBER; - hash = (53 * hash) + getVar().hashCode(); - hash = (37 * hash) + ALIAS_FIELD_NUMBER; - hash = (53 * hash) + getAlias().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.Alias parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.Alias parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.Alias parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.Alias 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.Workflow.Alias parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.Alias parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.Alias parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.Alias 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.Workflow.Alias parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.Alias 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.Workflow.Alias parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.Alias 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.Workflow.Alias 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; - } - /** - *
-     * Links a variable to an alias.
-     * 
- * - * Protobuf type {@code flyteidl.core.Alias} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Alias) - flyteidl.core.Workflow.AliasOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Alias_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Alias_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.Alias.class, flyteidl.core.Workflow.Alias.Builder.class); - } - - // Construct using flyteidl.core.Workflow.Alias.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(); - var_ = ""; - - alias_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Alias_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.Alias getDefaultInstanceForType() { - return flyteidl.core.Workflow.Alias.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.Alias build() { - flyteidl.core.Workflow.Alias result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.Alias buildPartial() { - flyteidl.core.Workflow.Alias result = new flyteidl.core.Workflow.Alias(this); - result.var_ = var_; - result.alias_ = alias_; - 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.Workflow.Alias) { - return mergeFrom((flyteidl.core.Workflow.Alias)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.Alias other) { - if (other == flyteidl.core.Workflow.Alias.getDefaultInstance()) return this; - if (!other.getVar().isEmpty()) { - var_ = other.var_; - onChanged(); - } - if (!other.getAlias().isEmpty()) { - alias_ = other.alias_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Workflow.Alias parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.Alias) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object var_ = ""; - /** - *
-       * Must match one of the output variable names on a node.
-       * 
- * - * string var = 1; - */ - public java.lang.String getVar() { - java.lang.Object ref = var_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - var_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Must match one of the output variable names on a node.
-       * 
- * - * string var = 1; - */ - public com.google.protobuf.ByteString - getVarBytes() { - java.lang.Object ref = var_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - var_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Must match one of the output variable names on a node.
-       * 
- * - * string var = 1; - */ - public Builder setVar( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - var_ = value; - onChanged(); - return this; - } - /** - *
-       * Must match one of the output variable names on a node.
-       * 
- * - * string var = 1; - */ - public Builder clearVar() { - - var_ = getDefaultInstance().getVar(); - onChanged(); - return this; - } - /** - *
-       * Must match one of the output variable names on a node.
-       * 
- * - * string var = 1; - */ - public Builder setVarBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - var_ = value; - onChanged(); - return this; - } - - private java.lang.Object alias_ = ""; - /** - *
-       * A workflow-level unique alias that downstream nodes can refer to in their input.
-       * 
- * - * string alias = 2; - */ - public java.lang.String getAlias() { - java.lang.Object ref = alias_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - alias_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A workflow-level unique alias that downstream nodes can refer to in their input.
-       * 
- * - * string alias = 2; - */ - public com.google.protobuf.ByteString - getAliasBytes() { - java.lang.Object ref = alias_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - alias_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A workflow-level unique alias that downstream nodes can refer to in their input.
-       * 
- * - * string alias = 2; - */ - public Builder setAlias( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - alias_ = value; - onChanged(); - return this; - } - /** - *
-       * A workflow-level unique alias that downstream nodes can refer to in their input.
-       * 
- * - * string alias = 2; - */ - public Builder clearAlias() { - - alias_ = getDefaultInstance().getAlias(); - onChanged(); - return this; - } - /** - *
-       * A workflow-level unique alias that downstream nodes can refer to in their input.
-       * 
- * - * string alias = 2; - */ - public Builder setAliasBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - alias_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.Alias) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Alias) - private static final flyteidl.core.Workflow.Alias DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.Alias(); - } - - public static flyteidl.core.Workflow.Alias getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Alias parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Alias(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.Workflow.Alias getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.Node) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-     * node ids that cannot be used by other nodes.
-     * 
- * - * string id = 1; - */ - java.lang.String getId(); - /** - *
-     * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-     * node ids that cannot be used by other nodes.
-     * 
- * - * string id = 1; - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - *
-     * Extra metadata about the node.
-     * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - boolean hasMetadata(); - /** - *
-     * Extra metadata about the node.
-     * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - flyteidl.core.Workflow.NodeMetadata getMetadata(); - /** - *
-     * Extra metadata about the node.
-     * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - flyteidl.core.Workflow.NodeMetadataOrBuilder getMetadataOrBuilder(); - - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - java.util.List - getInputsList(); - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - flyteidl.core.Literals.Binding getInputs(int index); - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - int getInputsCount(); - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - java.util.List - getInputsOrBuilderList(); - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - flyteidl.core.Literals.BindingOrBuilder getInputsOrBuilder( - int index); - - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - java.util.List - getUpstreamNodeIdsList(); - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - int getUpstreamNodeIdsCount(); - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - java.lang.String getUpstreamNodeIds(int index); - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - com.google.protobuf.ByteString - getUpstreamNodeIdsBytes(int index); - - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - java.util.List - getOutputAliasesList(); - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - flyteidl.core.Workflow.Alias getOutputAliases(int index); - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - int getOutputAliasesCount(); - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - java.util.List - getOutputAliasesOrBuilderList(); - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - flyteidl.core.Workflow.AliasOrBuilder getOutputAliasesOrBuilder( - int index); - - /** - *
-     * Information about the Task to execute in this node.
-     * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - boolean hasTaskNode(); - /** - *
-     * Information about the Task to execute in this node.
-     * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - flyteidl.core.Workflow.TaskNode getTaskNode(); - /** - *
-     * Information about the Task to execute in this node.
-     * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - flyteidl.core.Workflow.TaskNodeOrBuilder getTaskNodeOrBuilder(); - - /** - *
-     * Information about the Workflow to execute in this mode.
-     * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - boolean hasWorkflowNode(); - /** - *
-     * Information about the Workflow to execute in this mode.
-     * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - flyteidl.core.Workflow.WorkflowNode getWorkflowNode(); - /** - *
-     * Information about the Workflow to execute in this mode.
-     * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - flyteidl.core.Workflow.WorkflowNodeOrBuilder getWorkflowNodeOrBuilder(); - - /** - *
-     * Information about the branch node to evaluate in this node.
-     * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - boolean hasBranchNode(); - /** - *
-     * Information about the branch node to evaluate in this node.
-     * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - flyteidl.core.Workflow.BranchNode getBranchNode(); - /** - *
-     * Information about the branch node to evaluate in this node.
-     * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - flyteidl.core.Workflow.BranchNodeOrBuilder getBranchNodeOrBuilder(); - - /** - *
-     * Information about the condition to evaluate in this node.
-     * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - boolean hasGateNode(); - /** - *
-     * Information about the condition to evaluate in this node.
-     * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - flyteidl.core.Workflow.GateNode getGateNode(); - /** - *
-     * Information about the condition to evaluate in this node.
-     * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - flyteidl.core.Workflow.GateNodeOrBuilder getGateNodeOrBuilder(); - - /** - *
-     * Information about the sub-node executions for each value in the list of this nodes
-     * inputs values.
-     * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - boolean hasArrayNode(); - /** - *
-     * Information about the sub-node executions for each value in the list of this nodes
-     * inputs values.
-     * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - flyteidl.core.Workflow.ArrayNode getArrayNode(); - /** - *
-     * Information about the sub-node executions for each value in the list of this nodes
-     * inputs values.
-     * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - flyteidl.core.Workflow.ArrayNodeOrBuilder getArrayNodeOrBuilder(); - - public flyteidl.core.Workflow.Node.TargetCase getTargetCase(); - } - /** - *
-   * A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch
-   * node.
-   * 
- * - * Protobuf type {@code flyteidl.core.Node} - */ - public static final class Node extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.Node) - NodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use Node.newBuilder() to construct. - private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Node() { - id_ = ""; - inputs_ = java.util.Collections.emptyList(); - upstreamNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - outputAliases_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Node( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - id_ = s; - break; - } - case 18: { - flyteidl.core.Workflow.NodeMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.core.Workflow.NodeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - inputs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - inputs_.add( - input.readMessage(flyteidl.core.Literals.Binding.parser(), extensionRegistry)); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - upstreamNodeIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - upstreamNodeIds_.add(s); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - outputAliases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - outputAliases_.add( - input.readMessage(flyteidl.core.Workflow.Alias.parser(), extensionRegistry)); - break; - } - case 50: { - flyteidl.core.Workflow.TaskNode.Builder subBuilder = null; - if (targetCase_ == 6) { - subBuilder = ((flyteidl.core.Workflow.TaskNode) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Workflow.TaskNode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.TaskNode) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 6; - break; - } - case 58: { - flyteidl.core.Workflow.WorkflowNode.Builder subBuilder = null; - if (targetCase_ == 7) { - subBuilder = ((flyteidl.core.Workflow.WorkflowNode) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Workflow.WorkflowNode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.WorkflowNode) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 7; - break; - } - case 66: { - flyteidl.core.Workflow.BranchNode.Builder subBuilder = null; - if (targetCase_ == 8) { - subBuilder = ((flyteidl.core.Workflow.BranchNode) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Workflow.BranchNode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.BranchNode) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 8; - break; - } - case 74: { - flyteidl.core.Workflow.GateNode.Builder subBuilder = null; - if (targetCase_ == 9) { - subBuilder = ((flyteidl.core.Workflow.GateNode) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Workflow.GateNode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.GateNode) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 9; - break; - } - case 82: { - flyteidl.core.Workflow.ArrayNode.Builder subBuilder = null; - if (targetCase_ == 10) { - subBuilder = ((flyteidl.core.Workflow.ArrayNode) target_).toBuilder(); - } - target_ = - input.readMessage(flyteidl.core.Workflow.ArrayNode.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Workflow.ArrayNode) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 10; - 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_ & 0x00000004) != 0)) { - inputs_ = java.util.Collections.unmodifiableList(inputs_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - upstreamNodeIds_ = upstreamNodeIds_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - outputAliases_ = java.util.Collections.unmodifiableList(outputAliases_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Node_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Node_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.Node.class, flyteidl.core.Workflow.Node.Builder.class); - } - - private int bitField0_; - private int targetCase_ = 0; - private java.lang.Object target_; - public enum TargetCase - implements com.google.protobuf.Internal.EnumLite { - TASK_NODE(6), - WORKFLOW_NODE(7), - BRANCH_NODE(8), - GATE_NODE(9), - ARRAY_NODE(10), - TARGET_NOT_SET(0); - private final int value; - private TargetCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TargetCase valueOf(int value) { - return forNumber(value); - } - - public static TargetCase forNumber(int value) { - switch (value) { - case 6: return TASK_NODE; - case 7: return WORKFLOW_NODE; - case 8: return BRANCH_NODE; - case 9: return GATE_NODE; - case 10: return ARRAY_NODE; - case 0: return TARGET_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); - } - - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - *
-     * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-     * node ids that cannot be used by other nodes.
-     * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - 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(); - id_ = s; - return s; - } - } - /** - *
-     * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-     * node ids that cannot be used by other nodes.
-     * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int METADATA_FIELD_NUMBER = 2; - private flyteidl.core.Workflow.NodeMetadata metadata_; - /** - *
-     * Extra metadata about the node.
-     * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Extra metadata about the node.
-     * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public flyteidl.core.Workflow.NodeMetadata getMetadata() { - return metadata_ == null ? flyteidl.core.Workflow.NodeMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Extra metadata about the node.
-     * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public flyteidl.core.Workflow.NodeMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int INPUTS_FIELD_NUMBER = 3; - private java.util.List inputs_; - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public java.util.List getInputsList() { - return inputs_; - } - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public java.util.List - getInputsOrBuilderList() { - return inputs_; - } - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public int getInputsCount() { - return inputs_.size(); - } - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public flyteidl.core.Literals.Binding getInputs(int index) { - return inputs_.get(index); - } - /** - *
-     * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-     * must be fulfilled.
-     * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public flyteidl.core.Literals.BindingOrBuilder getInputsOrBuilder( - int index) { - return inputs_.get(index); - } - - public static final int UPSTREAM_NODE_IDS_FIELD_NUMBER = 4; - private com.google.protobuf.LazyStringList upstreamNodeIds_; - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - public com.google.protobuf.ProtocolStringList - getUpstreamNodeIdsList() { - return upstreamNodeIds_; - } - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - public int getUpstreamNodeIdsCount() { - return upstreamNodeIds_.size(); - } - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - public java.lang.String getUpstreamNodeIds(int index) { - return upstreamNodeIds_.get(index); - } - /** - *
-     *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-     * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-     * field.
-     * 
- * - * repeated string upstream_node_ids = 4; - */ - public com.google.protobuf.ByteString - getUpstreamNodeIdsBytes(int index) { - return upstreamNodeIds_.getByteString(index); - } - - public static final int OUTPUT_ALIASES_FIELD_NUMBER = 5; - private java.util.List outputAliases_; - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public java.util.List getOutputAliasesList() { - return outputAliases_; - } - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public java.util.List - getOutputAliasesOrBuilderList() { - return outputAliases_; - } - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public int getOutputAliasesCount() { - return outputAliases_.size(); - } - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public flyteidl.core.Workflow.Alias getOutputAliases(int index) { - return outputAliases_.get(index); - } - /** - *
-     *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-     * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-     * nodes outputs using the alias if one's specified.
-     * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public flyteidl.core.Workflow.AliasOrBuilder getOutputAliasesOrBuilder( - int index) { - return outputAliases_.get(index); - } - - public static final int TASK_NODE_FIELD_NUMBER = 6; - /** - *
-     * Information about the Task to execute in this node.
-     * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public boolean hasTaskNode() { - return targetCase_ == 6; - } - /** - *
-     * Information about the Task to execute in this node.
-     * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public flyteidl.core.Workflow.TaskNode getTaskNode() { - if (targetCase_ == 6) { - return (flyteidl.core.Workflow.TaskNode) target_; - } - return flyteidl.core.Workflow.TaskNode.getDefaultInstance(); - } - /** - *
-     * Information about the Task to execute in this node.
-     * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public flyteidl.core.Workflow.TaskNodeOrBuilder getTaskNodeOrBuilder() { - if (targetCase_ == 6) { - return (flyteidl.core.Workflow.TaskNode) target_; - } - return flyteidl.core.Workflow.TaskNode.getDefaultInstance(); - } - - public static final int WORKFLOW_NODE_FIELD_NUMBER = 7; - /** - *
-     * Information about the Workflow to execute in this mode.
-     * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public boolean hasWorkflowNode() { - return targetCase_ == 7; - } - /** - *
-     * Information about the Workflow to execute in this mode.
-     * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public flyteidl.core.Workflow.WorkflowNode getWorkflowNode() { - if (targetCase_ == 7) { - return (flyteidl.core.Workflow.WorkflowNode) target_; - } - return flyteidl.core.Workflow.WorkflowNode.getDefaultInstance(); - } - /** - *
-     * Information about the Workflow to execute in this mode.
-     * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public flyteidl.core.Workflow.WorkflowNodeOrBuilder getWorkflowNodeOrBuilder() { - if (targetCase_ == 7) { - return (flyteidl.core.Workflow.WorkflowNode) target_; - } - return flyteidl.core.Workflow.WorkflowNode.getDefaultInstance(); - } - - public static final int BRANCH_NODE_FIELD_NUMBER = 8; - /** - *
-     * Information about the branch node to evaluate in this node.
-     * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public boolean hasBranchNode() { - return targetCase_ == 8; - } - /** - *
-     * Information about the branch node to evaluate in this node.
-     * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public flyteidl.core.Workflow.BranchNode getBranchNode() { - if (targetCase_ == 8) { - return (flyteidl.core.Workflow.BranchNode) target_; - } - return flyteidl.core.Workflow.BranchNode.getDefaultInstance(); - } - /** - *
-     * Information about the branch node to evaluate in this node.
-     * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public flyteidl.core.Workflow.BranchNodeOrBuilder getBranchNodeOrBuilder() { - if (targetCase_ == 8) { - return (flyteidl.core.Workflow.BranchNode) target_; - } - return flyteidl.core.Workflow.BranchNode.getDefaultInstance(); - } - - public static final int GATE_NODE_FIELD_NUMBER = 9; - /** - *
-     * Information about the condition to evaluate in this node.
-     * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public boolean hasGateNode() { - return targetCase_ == 9; - } - /** - *
-     * Information about the condition to evaluate in this node.
-     * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public flyteidl.core.Workflow.GateNode getGateNode() { - if (targetCase_ == 9) { - return (flyteidl.core.Workflow.GateNode) target_; - } - return flyteidl.core.Workflow.GateNode.getDefaultInstance(); - } - /** - *
-     * Information about the condition to evaluate in this node.
-     * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public flyteidl.core.Workflow.GateNodeOrBuilder getGateNodeOrBuilder() { - if (targetCase_ == 9) { - return (flyteidl.core.Workflow.GateNode) target_; - } - return flyteidl.core.Workflow.GateNode.getDefaultInstance(); - } - - public static final int ARRAY_NODE_FIELD_NUMBER = 10; - /** - *
-     * Information about the sub-node executions for each value in the list of this nodes
-     * inputs values.
-     * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public boolean hasArrayNode() { - return targetCase_ == 10; - } - /** - *
-     * Information about the sub-node executions for each value in the list of this nodes
-     * inputs values.
-     * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public flyteidl.core.Workflow.ArrayNode getArrayNode() { - if (targetCase_ == 10) { - return (flyteidl.core.Workflow.ArrayNode) target_; - } - return flyteidl.core.Workflow.ArrayNode.getDefaultInstance(); - } - /** - *
-     * Information about the sub-node executions for each value in the list of this nodes
-     * inputs values.
-     * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public flyteidl.core.Workflow.ArrayNodeOrBuilder getArrayNodeOrBuilder() { - if (targetCase_ == 10) { - return (flyteidl.core.Workflow.ArrayNode) target_; - } - return flyteidl.core.Workflow.ArrayNode.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 (!getIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (metadata_ != null) { - output.writeMessage(2, getMetadata()); - } - for (int i = 0; i < inputs_.size(); i++) { - output.writeMessage(3, inputs_.get(i)); - } - for (int i = 0; i < upstreamNodeIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, upstreamNodeIds_.getRaw(i)); - } - for (int i = 0; i < outputAliases_.size(); i++) { - output.writeMessage(5, outputAliases_.get(i)); - } - if (targetCase_ == 6) { - output.writeMessage(6, (flyteidl.core.Workflow.TaskNode) target_); - } - if (targetCase_ == 7) { - output.writeMessage(7, (flyteidl.core.Workflow.WorkflowNode) target_); - } - if (targetCase_ == 8) { - output.writeMessage(8, (flyteidl.core.Workflow.BranchNode) target_); - } - if (targetCase_ == 9) { - output.writeMessage(9, (flyteidl.core.Workflow.GateNode) target_); - } - if (targetCase_ == 10) { - output.writeMessage(10, (flyteidl.core.Workflow.ArrayNode) target_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMetadata()); - } - for (int i = 0; i < inputs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, inputs_.get(i)); - } - { - int dataSize = 0; - for (int i = 0; i < upstreamNodeIds_.size(); i++) { - dataSize += computeStringSizeNoTag(upstreamNodeIds_.getRaw(i)); - } - size += dataSize; - size += 1 * getUpstreamNodeIdsList().size(); - } - for (int i = 0; i < outputAliases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, outputAliases_.get(i)); - } - if (targetCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (flyteidl.core.Workflow.TaskNode) target_); - } - if (targetCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (flyteidl.core.Workflow.WorkflowNode) target_); - } - if (targetCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (flyteidl.core.Workflow.BranchNode) target_); - } - if (targetCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (flyteidl.core.Workflow.GateNode) target_); - } - if (targetCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (flyteidl.core.Workflow.ArrayNode) target_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.core.Workflow.Node)) { - return super.equals(obj); - } - flyteidl.core.Workflow.Node other = (flyteidl.core.Workflow.Node) obj; - - if (!getId() - .equals(other.getId())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (!getInputsList() - .equals(other.getInputsList())) return false; - if (!getUpstreamNodeIdsList() - .equals(other.getUpstreamNodeIdsList())) return false; - if (!getOutputAliasesList() - .equals(other.getOutputAliasesList())) return false; - if (!getTargetCase().equals(other.getTargetCase())) return false; - switch (targetCase_) { - case 6: - if (!getTaskNode() - .equals(other.getTaskNode())) return false; - break; - case 7: - if (!getWorkflowNode() - .equals(other.getWorkflowNode())) return false; - break; - case 8: - if (!getBranchNode() - .equals(other.getBranchNode())) return false; - break; - case 9: - if (!getGateNode() - .equals(other.getGateNode())) return false; - break; - case 10: - if (!getArrayNode() - .equals(other.getArrayNode())) 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) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (getInputsCount() > 0) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputsList().hashCode(); - } - if (getUpstreamNodeIdsCount() > 0) { - hash = (37 * hash) + UPSTREAM_NODE_IDS_FIELD_NUMBER; - hash = (53 * hash) + getUpstreamNodeIdsList().hashCode(); - } - if (getOutputAliasesCount() > 0) { - hash = (37 * hash) + OUTPUT_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + getOutputAliasesList().hashCode(); - } - switch (targetCase_) { - case 6: - hash = (37 * hash) + TASK_NODE_FIELD_NUMBER; - hash = (53 * hash) + getTaskNode().hashCode(); - break; - case 7: - hash = (37 * hash) + WORKFLOW_NODE_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowNode().hashCode(); - break; - case 8: - hash = (37 * hash) + BRANCH_NODE_FIELD_NUMBER; - hash = (53 * hash) + getBranchNode().hashCode(); - break; - case 9: - hash = (37 * hash) + GATE_NODE_FIELD_NUMBER; - hash = (53 * hash) + getGateNode().hashCode(); - break; - case 10: - hash = (37 * hash) + ARRAY_NODE_FIELD_NUMBER; - hash = (53 * hash) + getArrayNode().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.Node parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.Node parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.Node parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.Node 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.Workflow.Node parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.Node parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.Node parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.Node 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.Workflow.Node parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.Node 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.Workflow.Node parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.Node 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.Workflow.Node 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 Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch
-     * node.
-     * 
- * - * Protobuf type {@code flyteidl.core.Node} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.Node) - flyteidl.core.Workflow.NodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Node_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Node_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.Node.class, flyteidl.core.Workflow.Node.Builder.class); - } - - // Construct using flyteidl.core.Workflow.Node.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getInputsFieldBuilder(); - getOutputAliasesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (inputsBuilder_ == null) { - inputs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - inputsBuilder_.clear(); - } - upstreamNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - if (outputAliasesBuilder_ == null) { - outputAliases_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - outputAliasesBuilder_.clear(); - } - targetCase_ = 0; - target_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_Node_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.Node getDefaultInstanceForType() { - return flyteidl.core.Workflow.Node.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.Node build() { - flyteidl.core.Workflow.Node result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.Node buildPartial() { - flyteidl.core.Workflow.Node result = new flyteidl.core.Workflow.Node(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.id_ = id_; - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (inputsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - inputs_ = java.util.Collections.unmodifiableList(inputs_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (((bitField0_ & 0x00000008) != 0)) { - upstreamNodeIds_ = upstreamNodeIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.upstreamNodeIds_ = upstreamNodeIds_; - if (outputAliasesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - outputAliases_ = java.util.Collections.unmodifiableList(outputAliases_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.outputAliases_ = outputAliases_; - } else { - result.outputAliases_ = outputAliasesBuilder_.build(); - } - if (targetCase_ == 6) { - if (taskNodeBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = taskNodeBuilder_.build(); - } - } - if (targetCase_ == 7) { - if (workflowNodeBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = workflowNodeBuilder_.build(); - } - } - if (targetCase_ == 8) { - if (branchNodeBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = branchNodeBuilder_.build(); - } - } - if (targetCase_ == 9) { - if (gateNodeBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = gateNodeBuilder_.build(); - } - } - if (targetCase_ == 10) { - if (arrayNodeBuilder_ == null) { - result.target_ = target_; - } else { - result.target_ = arrayNodeBuilder_.build(); - } - } - result.bitField0_ = to_bitField0_; - result.targetCase_ = targetCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Workflow.Node) { - return mergeFrom((flyteidl.core.Workflow.Node)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.Node other) { - if (other == flyteidl.core.Workflow.Node.getDefaultInstance()) return this; - if (!other.getId().isEmpty()) { - id_ = other.id_; - onChanged(); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (inputsBuilder_ == null) { - if (!other.inputs_.isEmpty()) { - if (inputs_.isEmpty()) { - inputs_ = other.inputs_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureInputsIsMutable(); - inputs_.addAll(other.inputs_); - } - onChanged(); - } - } else { - if (!other.inputs_.isEmpty()) { - if (inputsBuilder_.isEmpty()) { - inputsBuilder_.dispose(); - inputsBuilder_ = null; - inputs_ = other.inputs_; - bitField0_ = (bitField0_ & ~0x00000004); - inputsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInputsFieldBuilder() : null; - } else { - inputsBuilder_.addAllMessages(other.inputs_); - } - } - } - if (!other.upstreamNodeIds_.isEmpty()) { - if (upstreamNodeIds_.isEmpty()) { - upstreamNodeIds_ = other.upstreamNodeIds_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureUpstreamNodeIdsIsMutable(); - upstreamNodeIds_.addAll(other.upstreamNodeIds_); - } - onChanged(); - } - if (outputAliasesBuilder_ == null) { - if (!other.outputAliases_.isEmpty()) { - if (outputAliases_.isEmpty()) { - outputAliases_ = other.outputAliases_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureOutputAliasesIsMutable(); - outputAliases_.addAll(other.outputAliases_); - } - onChanged(); - } - } else { - if (!other.outputAliases_.isEmpty()) { - if (outputAliasesBuilder_.isEmpty()) { - outputAliasesBuilder_.dispose(); - outputAliasesBuilder_ = null; - outputAliases_ = other.outputAliases_; - bitField0_ = (bitField0_ & ~0x00000010); - outputAliasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOutputAliasesFieldBuilder() : null; - } else { - outputAliasesBuilder_.addAllMessages(other.outputAliases_); - } - } - } - switch (other.getTargetCase()) { - case TASK_NODE: { - mergeTaskNode(other.getTaskNode()); - break; - } - case WORKFLOW_NODE: { - mergeWorkflowNode(other.getWorkflowNode()); - break; - } - case BRANCH_NODE: { - mergeBranchNode(other.getBranchNode()); - break; - } - case GATE_NODE: { - mergeGateNode(other.getGateNode()); - break; - } - case ARRAY_NODE: { - mergeArrayNode(other.getArrayNode()); - break; - } - case TARGET_NOT_SET: { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.core.Workflow.Node parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.Node) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int targetCase_ = 0; - private java.lang.Object target_; - public TargetCase - getTargetCase() { - return TargetCase.forNumber( - targetCase_); - } - - public Builder clearTarget() { - targetCase_ = 0; - target_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private java.lang.Object id_ = ""; - /** - *
-       * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-       * node ids that cannot be used by other nodes.
-       * 
- * - * string id = 1; - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-       * node ids that cannot be used by other nodes.
-       * 
- * - * string id = 1; - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-       * node ids that cannot be used by other nodes.
-       * 
- * - * string id = 1; - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - id_ = value; - onChanged(); - return this; - } - /** - *
-       * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-       * node ids that cannot be used by other nodes.
-       * 
- * - * string id = 1; - */ - public Builder clearId() { - - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - *
-       * A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
-       * node ids that cannot be used by other nodes.
-       * 
- * - * string id = 1; - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - id_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Workflow.NodeMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.NodeMetadata, flyteidl.core.Workflow.NodeMetadata.Builder, flyteidl.core.Workflow.NodeMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public flyteidl.core.Workflow.NodeMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.core.Workflow.NodeMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public Builder setMetadata(flyteidl.core.Workflow.NodeMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public Builder setMetadata( - flyteidl.core.Workflow.NodeMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public Builder mergeMetadata(flyteidl.core.Workflow.NodeMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.core.Workflow.NodeMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public flyteidl.core.Workflow.NodeMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - public flyteidl.core.Workflow.NodeMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.core.Workflow.NodeMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Extra metadata about the node.
-       * 
- * - * .flyteidl.core.NodeMetadata metadata = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.NodeMetadata, flyteidl.core.Workflow.NodeMetadata.Builder, flyteidl.core.Workflow.NodeMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.NodeMetadata, flyteidl.core.Workflow.NodeMetadata.Builder, flyteidl.core.Workflow.NodeMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private java.util.List inputs_ = - java.util.Collections.emptyList(); - private void ensureInputsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - inputs_ = new java.util.ArrayList(inputs_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder> inputsBuilder_; - - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public java.util.List getInputsList() { - if (inputsBuilder_ == null) { - return java.util.Collections.unmodifiableList(inputs_); - } else { - return inputsBuilder_.getMessageList(); - } - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public int getInputsCount() { - if (inputsBuilder_ == null) { - return inputs_.size(); - } else { - return inputsBuilder_.getCount(); - } - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public flyteidl.core.Literals.Binding getInputs(int index) { - if (inputsBuilder_ == null) { - return inputs_.get(index); - } else { - return inputsBuilder_.getMessage(index); - } - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder setInputs( - int index, flyteidl.core.Literals.Binding value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInputsIsMutable(); - inputs_.set(index, value); - onChanged(); - } else { - inputsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder setInputs( - int index, flyteidl.core.Literals.Binding.Builder builderForValue) { - if (inputsBuilder_ == null) { - ensureInputsIsMutable(); - inputs_.set(index, builderForValue.build()); - onChanged(); - } else { - inputsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder addInputs(flyteidl.core.Literals.Binding value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInputsIsMutable(); - inputs_.add(value); - onChanged(); - } else { - inputsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder addInputs( - int index, flyteidl.core.Literals.Binding value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInputsIsMutable(); - inputs_.add(index, value); - onChanged(); - } else { - inputsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder addInputs( - flyteidl.core.Literals.Binding.Builder builderForValue) { - if (inputsBuilder_ == null) { - ensureInputsIsMutable(); - inputs_.add(builderForValue.build()); - onChanged(); - } else { - inputsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder addInputs( - int index, flyteidl.core.Literals.Binding.Builder builderForValue) { - if (inputsBuilder_ == null) { - ensureInputsIsMutable(); - inputs_.add(index, builderForValue.build()); - onChanged(); - } else { - inputsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder addAllInputs( - java.lang.Iterable values) { - if (inputsBuilder_ == null) { - ensureInputsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inputs_); - onChanged(); - } else { - inputsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - inputsBuilder_.clear(); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public Builder removeInputs(int index) { - if (inputsBuilder_ == null) { - ensureInputsIsMutable(); - inputs_.remove(index); - onChanged(); - } else { - inputsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public flyteidl.core.Literals.Binding.Builder getInputsBuilder( - int index) { - return getInputsFieldBuilder().getBuilder(index); - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public flyteidl.core.Literals.BindingOrBuilder getInputsOrBuilder( - int index) { - if (inputsBuilder_ == null) { - return inputs_.get(index); } else { - return inputsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public java.util.List - getInputsOrBuilderList() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(inputs_); - } - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public flyteidl.core.Literals.Binding.Builder addInputsBuilder() { - return getInputsFieldBuilder().addBuilder( - flyteidl.core.Literals.Binding.getDefaultInstance()); - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public flyteidl.core.Literals.Binding.Builder addInputsBuilder( - int index) { - return getInputsFieldBuilder().addBuilder( - index, flyteidl.core.Literals.Binding.getDefaultInstance()); - } - /** - *
-       * Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
-       * must be fulfilled.
-       * 
- * - * repeated .flyteidl.core.Binding inputs = 3; - */ - public java.util.List - getInputsBuilderList() { - return getInputsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder>( - inputs_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private com.google.protobuf.LazyStringList upstreamNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureUpstreamNodeIdsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - upstreamNodeIds_ = new com.google.protobuf.LazyStringArrayList(upstreamNodeIds_); - bitField0_ |= 0x00000008; - } - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public com.google.protobuf.ProtocolStringList - getUpstreamNodeIdsList() { - return upstreamNodeIds_.getUnmodifiableView(); - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public int getUpstreamNodeIdsCount() { - return upstreamNodeIds_.size(); - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public java.lang.String getUpstreamNodeIds(int index) { - return upstreamNodeIds_.get(index); - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public com.google.protobuf.ByteString - getUpstreamNodeIdsBytes(int index) { - return upstreamNodeIds_.getByteString(index); - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public Builder setUpstreamNodeIds( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureUpstreamNodeIdsIsMutable(); - upstreamNodeIds_.set(index, value); - onChanged(); - return this; - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public Builder addUpstreamNodeIds( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureUpstreamNodeIdsIsMutable(); - upstreamNodeIds_.add(value); - onChanged(); - return this; - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public Builder addAllUpstreamNodeIds( - java.lang.Iterable values) { - ensureUpstreamNodeIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, upstreamNodeIds_); - onChanged(); - return this; - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public Builder clearUpstreamNodeIds() { - upstreamNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - *
-       *+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
-       * upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
-       * field.
-       * 
- * - * repeated string upstream_node_ids = 4; - */ - public Builder addUpstreamNodeIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureUpstreamNodeIdsIsMutable(); - upstreamNodeIds_.add(value); - onChanged(); - return this; - } - - private java.util.List outputAliases_ = - java.util.Collections.emptyList(); - private void ensureOutputAliasesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - outputAliases_ = new java.util.ArrayList(outputAliases_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Alias, flyteidl.core.Workflow.Alias.Builder, flyteidl.core.Workflow.AliasOrBuilder> outputAliasesBuilder_; - - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public java.util.List getOutputAliasesList() { - if (outputAliasesBuilder_ == null) { - return java.util.Collections.unmodifiableList(outputAliases_); - } else { - return outputAliasesBuilder_.getMessageList(); - } - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public int getOutputAliasesCount() { - if (outputAliasesBuilder_ == null) { - return outputAliases_.size(); - } else { - return outputAliasesBuilder_.getCount(); - } - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public flyteidl.core.Workflow.Alias getOutputAliases(int index) { - if (outputAliasesBuilder_ == null) { - return outputAliases_.get(index); - } else { - return outputAliasesBuilder_.getMessage(index); - } - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder setOutputAliases( - int index, flyteidl.core.Workflow.Alias value) { - if (outputAliasesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputAliasesIsMutable(); - outputAliases_.set(index, value); - onChanged(); - } else { - outputAliasesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder setOutputAliases( - int index, flyteidl.core.Workflow.Alias.Builder builderForValue) { - if (outputAliasesBuilder_ == null) { - ensureOutputAliasesIsMutable(); - outputAliases_.set(index, builderForValue.build()); - onChanged(); - } else { - outputAliasesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder addOutputAliases(flyteidl.core.Workflow.Alias value) { - if (outputAliasesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputAliasesIsMutable(); - outputAliases_.add(value); - onChanged(); - } else { - outputAliasesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder addOutputAliases( - int index, flyteidl.core.Workflow.Alias value) { - if (outputAliasesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputAliasesIsMutable(); - outputAliases_.add(index, value); - onChanged(); - } else { - outputAliasesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder addOutputAliases( - flyteidl.core.Workflow.Alias.Builder builderForValue) { - if (outputAliasesBuilder_ == null) { - ensureOutputAliasesIsMutable(); - outputAliases_.add(builderForValue.build()); - onChanged(); - } else { - outputAliasesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder addOutputAliases( - int index, flyteidl.core.Workflow.Alias.Builder builderForValue) { - if (outputAliasesBuilder_ == null) { - ensureOutputAliasesIsMutable(); - outputAliases_.add(index, builderForValue.build()); - onChanged(); - } else { - outputAliasesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder addAllOutputAliases( - java.lang.Iterable values) { - if (outputAliasesBuilder_ == null) { - ensureOutputAliasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, outputAliases_); - onChanged(); - } else { - outputAliasesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder clearOutputAliases() { - if (outputAliasesBuilder_ == null) { - outputAliases_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - outputAliasesBuilder_.clear(); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public Builder removeOutputAliases(int index) { - if (outputAliasesBuilder_ == null) { - ensureOutputAliasesIsMutable(); - outputAliases_.remove(index); - onChanged(); - } else { - outputAliasesBuilder_.remove(index); - } - return this; - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public flyteidl.core.Workflow.Alias.Builder getOutputAliasesBuilder( - int index) { - return getOutputAliasesFieldBuilder().getBuilder(index); - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public flyteidl.core.Workflow.AliasOrBuilder getOutputAliasesOrBuilder( - int index) { - if (outputAliasesBuilder_ == null) { - return outputAliases_.get(index); } else { - return outputAliasesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public java.util.List - getOutputAliasesOrBuilderList() { - if (outputAliasesBuilder_ != null) { - return outputAliasesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(outputAliases_); - } - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public flyteidl.core.Workflow.Alias.Builder addOutputAliasesBuilder() { - return getOutputAliasesFieldBuilder().addBuilder( - flyteidl.core.Workflow.Alias.getDefaultInstance()); - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public flyteidl.core.Workflow.Alias.Builder addOutputAliasesBuilder( - int index) { - return getOutputAliasesFieldBuilder().addBuilder( - index, flyteidl.core.Workflow.Alias.getDefaultInstance()); - } - /** - *
-       *+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
-       * need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
-       * nodes outputs using the alias if one's specified.
-       * 
- * - * repeated .flyteidl.core.Alias output_aliases = 5; - */ - public java.util.List - getOutputAliasesBuilderList() { - return getOutputAliasesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Alias, flyteidl.core.Workflow.Alias.Builder, flyteidl.core.Workflow.AliasOrBuilder> - getOutputAliasesFieldBuilder() { - if (outputAliasesBuilder_ == null) { - outputAliasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Alias, flyteidl.core.Workflow.Alias.Builder, flyteidl.core.Workflow.AliasOrBuilder>( - outputAliases_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - outputAliases_ = null; - } - return outputAliasesBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.TaskNode, flyteidl.core.Workflow.TaskNode.Builder, flyteidl.core.Workflow.TaskNodeOrBuilder> taskNodeBuilder_; - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public boolean hasTaskNode() { - return targetCase_ == 6; - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public flyteidl.core.Workflow.TaskNode getTaskNode() { - if (taskNodeBuilder_ == null) { - if (targetCase_ == 6) { - return (flyteidl.core.Workflow.TaskNode) target_; - } - return flyteidl.core.Workflow.TaskNode.getDefaultInstance(); - } else { - if (targetCase_ == 6) { - return taskNodeBuilder_.getMessage(); - } - return flyteidl.core.Workflow.TaskNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public Builder setTaskNode(flyteidl.core.Workflow.TaskNode value) { - if (taskNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - taskNodeBuilder_.setMessage(value); - } - targetCase_ = 6; - return this; - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public Builder setTaskNode( - flyteidl.core.Workflow.TaskNode.Builder builderForValue) { - if (taskNodeBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - taskNodeBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 6; - return this; - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public Builder mergeTaskNode(flyteidl.core.Workflow.TaskNode value) { - if (taskNodeBuilder_ == null) { - if (targetCase_ == 6 && - target_ != flyteidl.core.Workflow.TaskNode.getDefaultInstance()) { - target_ = flyteidl.core.Workflow.TaskNode.newBuilder((flyteidl.core.Workflow.TaskNode) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 6) { - taskNodeBuilder_.mergeFrom(value); - } - taskNodeBuilder_.setMessage(value); - } - targetCase_ = 6; - return this; - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public Builder clearTaskNode() { - if (taskNodeBuilder_ == null) { - if (targetCase_ == 6) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 6) { - targetCase_ = 0; - target_ = null; - } - taskNodeBuilder_.clear(); - } - return this; - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public flyteidl.core.Workflow.TaskNode.Builder getTaskNodeBuilder() { - return getTaskNodeFieldBuilder().getBuilder(); - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - public flyteidl.core.Workflow.TaskNodeOrBuilder getTaskNodeOrBuilder() { - if ((targetCase_ == 6) && (taskNodeBuilder_ != null)) { - return taskNodeBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 6) { - return (flyteidl.core.Workflow.TaskNode) target_; - } - return flyteidl.core.Workflow.TaskNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the Task to execute in this node.
-       * 
- * - * .flyteidl.core.TaskNode task_node = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.TaskNode, flyteidl.core.Workflow.TaskNode.Builder, flyteidl.core.Workflow.TaskNodeOrBuilder> - getTaskNodeFieldBuilder() { - if (taskNodeBuilder_ == null) { - if (!(targetCase_ == 6)) { - target_ = flyteidl.core.Workflow.TaskNode.getDefaultInstance(); - } - taskNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.TaskNode, flyteidl.core.Workflow.TaskNode.Builder, flyteidl.core.Workflow.TaskNodeOrBuilder>( - (flyteidl.core.Workflow.TaskNode) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 6; - onChanged();; - return taskNodeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowNode, flyteidl.core.Workflow.WorkflowNode.Builder, flyteidl.core.Workflow.WorkflowNodeOrBuilder> workflowNodeBuilder_; - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public boolean hasWorkflowNode() { - return targetCase_ == 7; - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public flyteidl.core.Workflow.WorkflowNode getWorkflowNode() { - if (workflowNodeBuilder_ == null) { - if (targetCase_ == 7) { - return (flyteidl.core.Workflow.WorkflowNode) target_; - } - return flyteidl.core.Workflow.WorkflowNode.getDefaultInstance(); - } else { - if (targetCase_ == 7) { - return workflowNodeBuilder_.getMessage(); - } - return flyteidl.core.Workflow.WorkflowNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public Builder setWorkflowNode(flyteidl.core.Workflow.WorkflowNode value) { - if (workflowNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - workflowNodeBuilder_.setMessage(value); - } - targetCase_ = 7; - return this; - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public Builder setWorkflowNode( - flyteidl.core.Workflow.WorkflowNode.Builder builderForValue) { - if (workflowNodeBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - workflowNodeBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 7; - return this; - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public Builder mergeWorkflowNode(flyteidl.core.Workflow.WorkflowNode value) { - if (workflowNodeBuilder_ == null) { - if (targetCase_ == 7 && - target_ != flyteidl.core.Workflow.WorkflowNode.getDefaultInstance()) { - target_ = flyteidl.core.Workflow.WorkflowNode.newBuilder((flyteidl.core.Workflow.WorkflowNode) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 7) { - workflowNodeBuilder_.mergeFrom(value); - } - workflowNodeBuilder_.setMessage(value); - } - targetCase_ = 7; - return this; - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public Builder clearWorkflowNode() { - if (workflowNodeBuilder_ == null) { - if (targetCase_ == 7) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 7) { - targetCase_ = 0; - target_ = null; - } - workflowNodeBuilder_.clear(); - } - return this; - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public flyteidl.core.Workflow.WorkflowNode.Builder getWorkflowNodeBuilder() { - return getWorkflowNodeFieldBuilder().getBuilder(); - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - public flyteidl.core.Workflow.WorkflowNodeOrBuilder getWorkflowNodeOrBuilder() { - if ((targetCase_ == 7) && (workflowNodeBuilder_ != null)) { - return workflowNodeBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 7) { - return (flyteidl.core.Workflow.WorkflowNode) target_; - } - return flyteidl.core.Workflow.WorkflowNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the Workflow to execute in this mode.
-       * 
- * - * .flyteidl.core.WorkflowNode workflow_node = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowNode, flyteidl.core.Workflow.WorkflowNode.Builder, flyteidl.core.Workflow.WorkflowNodeOrBuilder> - getWorkflowNodeFieldBuilder() { - if (workflowNodeBuilder_ == null) { - if (!(targetCase_ == 7)) { - target_ = flyteidl.core.Workflow.WorkflowNode.getDefaultInstance(); - } - workflowNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowNode, flyteidl.core.Workflow.WorkflowNode.Builder, flyteidl.core.Workflow.WorkflowNodeOrBuilder>( - (flyteidl.core.Workflow.WorkflowNode) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 7; - onChanged();; - return workflowNodeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.BranchNode, flyteidl.core.Workflow.BranchNode.Builder, flyteidl.core.Workflow.BranchNodeOrBuilder> branchNodeBuilder_; - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public boolean hasBranchNode() { - return targetCase_ == 8; - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public flyteidl.core.Workflow.BranchNode getBranchNode() { - if (branchNodeBuilder_ == null) { - if (targetCase_ == 8) { - return (flyteidl.core.Workflow.BranchNode) target_; - } - return flyteidl.core.Workflow.BranchNode.getDefaultInstance(); - } else { - if (targetCase_ == 8) { - return branchNodeBuilder_.getMessage(); - } - return flyteidl.core.Workflow.BranchNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public Builder setBranchNode(flyteidl.core.Workflow.BranchNode value) { - if (branchNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - branchNodeBuilder_.setMessage(value); - } - targetCase_ = 8; - return this; - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public Builder setBranchNode( - flyteidl.core.Workflow.BranchNode.Builder builderForValue) { - if (branchNodeBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - branchNodeBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 8; - return this; - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public Builder mergeBranchNode(flyteidl.core.Workflow.BranchNode value) { - if (branchNodeBuilder_ == null) { - if (targetCase_ == 8 && - target_ != flyteidl.core.Workflow.BranchNode.getDefaultInstance()) { - target_ = flyteidl.core.Workflow.BranchNode.newBuilder((flyteidl.core.Workflow.BranchNode) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 8) { - branchNodeBuilder_.mergeFrom(value); - } - branchNodeBuilder_.setMessage(value); - } - targetCase_ = 8; - return this; - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public Builder clearBranchNode() { - if (branchNodeBuilder_ == null) { - if (targetCase_ == 8) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 8) { - targetCase_ = 0; - target_ = null; - } - branchNodeBuilder_.clear(); - } - return this; - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public flyteidl.core.Workflow.BranchNode.Builder getBranchNodeBuilder() { - return getBranchNodeFieldBuilder().getBuilder(); - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - public flyteidl.core.Workflow.BranchNodeOrBuilder getBranchNodeOrBuilder() { - if ((targetCase_ == 8) && (branchNodeBuilder_ != null)) { - return branchNodeBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 8) { - return (flyteidl.core.Workflow.BranchNode) target_; - } - return flyteidl.core.Workflow.BranchNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the branch node to evaluate in this node.
-       * 
- * - * .flyteidl.core.BranchNode branch_node = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.BranchNode, flyteidl.core.Workflow.BranchNode.Builder, flyteidl.core.Workflow.BranchNodeOrBuilder> - getBranchNodeFieldBuilder() { - if (branchNodeBuilder_ == null) { - if (!(targetCase_ == 8)) { - target_ = flyteidl.core.Workflow.BranchNode.getDefaultInstance(); - } - branchNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.BranchNode, flyteidl.core.Workflow.BranchNode.Builder, flyteidl.core.Workflow.BranchNodeOrBuilder>( - (flyteidl.core.Workflow.BranchNode) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 8; - onChanged();; - return branchNodeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.GateNode, flyteidl.core.Workflow.GateNode.Builder, flyteidl.core.Workflow.GateNodeOrBuilder> gateNodeBuilder_; - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public boolean hasGateNode() { - return targetCase_ == 9; - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public flyteidl.core.Workflow.GateNode getGateNode() { - if (gateNodeBuilder_ == null) { - if (targetCase_ == 9) { - return (flyteidl.core.Workflow.GateNode) target_; - } - return flyteidl.core.Workflow.GateNode.getDefaultInstance(); - } else { - if (targetCase_ == 9) { - return gateNodeBuilder_.getMessage(); - } - return flyteidl.core.Workflow.GateNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public Builder setGateNode(flyteidl.core.Workflow.GateNode value) { - if (gateNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - gateNodeBuilder_.setMessage(value); - } - targetCase_ = 9; - return this; - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public Builder setGateNode( - flyteidl.core.Workflow.GateNode.Builder builderForValue) { - if (gateNodeBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - gateNodeBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 9; - return this; - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public Builder mergeGateNode(flyteidl.core.Workflow.GateNode value) { - if (gateNodeBuilder_ == null) { - if (targetCase_ == 9 && - target_ != flyteidl.core.Workflow.GateNode.getDefaultInstance()) { - target_ = flyteidl.core.Workflow.GateNode.newBuilder((flyteidl.core.Workflow.GateNode) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 9) { - gateNodeBuilder_.mergeFrom(value); - } - gateNodeBuilder_.setMessage(value); - } - targetCase_ = 9; - return this; - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public Builder clearGateNode() { - if (gateNodeBuilder_ == null) { - if (targetCase_ == 9) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 9) { - targetCase_ = 0; - target_ = null; - } - gateNodeBuilder_.clear(); - } - return this; - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public flyteidl.core.Workflow.GateNode.Builder getGateNodeBuilder() { - return getGateNodeFieldBuilder().getBuilder(); - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - public flyteidl.core.Workflow.GateNodeOrBuilder getGateNodeOrBuilder() { - if ((targetCase_ == 9) && (gateNodeBuilder_ != null)) { - return gateNodeBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 9) { - return (flyteidl.core.Workflow.GateNode) target_; - } - return flyteidl.core.Workflow.GateNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the condition to evaluate in this node.
-       * 
- * - * .flyteidl.core.GateNode gate_node = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.GateNode, flyteidl.core.Workflow.GateNode.Builder, flyteidl.core.Workflow.GateNodeOrBuilder> - getGateNodeFieldBuilder() { - if (gateNodeBuilder_ == null) { - if (!(targetCase_ == 9)) { - target_ = flyteidl.core.Workflow.GateNode.getDefaultInstance(); - } - gateNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.GateNode, flyteidl.core.Workflow.GateNode.Builder, flyteidl.core.Workflow.GateNodeOrBuilder>( - (flyteidl.core.Workflow.GateNode) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 9; - onChanged();; - return gateNodeBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.ArrayNode, flyteidl.core.Workflow.ArrayNode.Builder, flyteidl.core.Workflow.ArrayNodeOrBuilder> arrayNodeBuilder_; - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public boolean hasArrayNode() { - return targetCase_ == 10; - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public flyteidl.core.Workflow.ArrayNode getArrayNode() { - if (arrayNodeBuilder_ == null) { - if (targetCase_ == 10) { - return (flyteidl.core.Workflow.ArrayNode) target_; - } - return flyteidl.core.Workflow.ArrayNode.getDefaultInstance(); - } else { - if (targetCase_ == 10) { - return arrayNodeBuilder_.getMessage(); - } - return flyteidl.core.Workflow.ArrayNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public Builder setArrayNode(flyteidl.core.Workflow.ArrayNode value) { - if (arrayNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - arrayNodeBuilder_.setMessage(value); - } - targetCase_ = 10; - return this; - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public Builder setArrayNode( - flyteidl.core.Workflow.ArrayNode.Builder builderForValue) { - if (arrayNodeBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - arrayNodeBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 10; - return this; - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public Builder mergeArrayNode(flyteidl.core.Workflow.ArrayNode value) { - if (arrayNodeBuilder_ == null) { - if (targetCase_ == 10 && - target_ != flyteidl.core.Workflow.ArrayNode.getDefaultInstance()) { - target_ = flyteidl.core.Workflow.ArrayNode.newBuilder((flyteidl.core.Workflow.ArrayNode) target_) - .mergeFrom(value).buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 10) { - arrayNodeBuilder_.mergeFrom(value); - } - arrayNodeBuilder_.setMessage(value); - } - targetCase_ = 10; - return this; - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public Builder clearArrayNode() { - if (arrayNodeBuilder_ == null) { - if (targetCase_ == 10) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 10) { - targetCase_ = 0; - target_ = null; - } - arrayNodeBuilder_.clear(); - } - return this; - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public flyteidl.core.Workflow.ArrayNode.Builder getArrayNodeBuilder() { - return getArrayNodeFieldBuilder().getBuilder(); - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - public flyteidl.core.Workflow.ArrayNodeOrBuilder getArrayNodeOrBuilder() { - if ((targetCase_ == 10) && (arrayNodeBuilder_ != null)) { - return arrayNodeBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 10) { - return (flyteidl.core.Workflow.ArrayNode) target_; - } - return flyteidl.core.Workflow.ArrayNode.getDefaultInstance(); - } - } - /** - *
-       * Information about the sub-node executions for each value in the list of this nodes
-       * inputs values.
-       * 
- * - * .flyteidl.core.ArrayNode array_node = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.ArrayNode, flyteidl.core.Workflow.ArrayNode.Builder, flyteidl.core.Workflow.ArrayNodeOrBuilder> - getArrayNodeFieldBuilder() { - if (arrayNodeBuilder_ == null) { - if (!(targetCase_ == 10)) { - target_ = flyteidl.core.Workflow.ArrayNode.getDefaultInstance(); - } - arrayNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.ArrayNode, flyteidl.core.Workflow.ArrayNode.Builder, flyteidl.core.Workflow.ArrayNodeOrBuilder>( - (flyteidl.core.Workflow.ArrayNode) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 10; - onChanged();; - return arrayNodeBuilder_; - } - @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.Node) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.Node) - private static final flyteidl.core.Workflow.Node DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.Node(); - } - - public static flyteidl.core.Workflow.Node getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Node(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.Workflow.Node getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.WorkflowMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Indicates the runtime priority of workflow executions. 
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - boolean hasQualityOfService(); - /** - *
-     * Indicates the runtime priority of workflow executions. 
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - flyteidl.core.Execution.QualityOfService getQualityOfService(); - /** - *
-     * Indicates the runtime priority of workflow executions. 
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder(); - - /** - *
-     * Defines how the system should behave when a failure is detected in the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - int getOnFailureValue(); - /** - *
-     * Defines how the system should behave when a failure is detected in the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy getOnFailure(); - - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - int getTagsCount(); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - boolean containsTags( - java.lang.String key); - /** - * Use {@link #getTagsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getTags(); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - java.util.Map - getTagsMap(); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - - java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - - java.lang.String getTagsOrThrow( - java.lang.String key); - } - /** - *
-   * This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not
-   * percolate down to child entities (like tasks) launched by the workflow.
-   * 
- * - * Protobuf type {@code flyteidl.core.WorkflowMetadata} - */ - public static final class WorkflowMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.WorkflowMetadata) - WorkflowMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowMetadata.newBuilder() to construct. - private WorkflowMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowMetadata() { - onFailure_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowMetadata( - 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.Execution.QualityOfService.Builder subBuilder = null; - if (qualityOfService_ != null) { - subBuilder = qualityOfService_.toBuilder(); - } - qualityOfService_ = input.readMessage(flyteidl.core.Execution.QualityOfService.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(qualityOfService_); - qualityOfService_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); - - onFailure_ = rawValue; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put( - tags__.getKey(), tags__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetTags(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowMetadata.class, flyteidl.core.Workflow.WorkflowMetadata.Builder.class); - } - - /** - *
-     * Failure Handling Strategy
-     * 
- * - * Protobuf enum {@code flyteidl.core.WorkflowMetadata.OnFailurePolicy} - */ - public enum OnFailurePolicy - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically
-       * abort all currently running nodes and clean up resources before finally marking the workflow executions as
-       * failed.
-       * 
- * - * FAIL_IMMEDIATELY = 0; - */ - FAIL_IMMEDIATELY(0), - /** - *
-       * FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will
-       * not alter the dependencies of the execution graph so any node that depend on the failed node will not be run.
-       * Other nodes that will be executed to completion before cleaning up resources and marking the workflow
-       * execution as failed.
-       * 
- * - * FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1; - */ - FAIL_AFTER_EXECUTABLE_NODES_COMPLETE(1), - UNRECOGNIZED(-1), - ; - - /** - *
-       * FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically
-       * abort all currently running nodes and clean up resources before finally marking the workflow executions as
-       * failed.
-       * 
- * - * FAIL_IMMEDIATELY = 0; - */ - public static final int FAIL_IMMEDIATELY_VALUE = 0; - /** - *
-       * FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will
-       * not alter the dependencies of the execution graph so any node that depend on the failed node will not be run.
-       * Other nodes that will be executed to completion before cleaning up resources and marking the workflow
-       * execution as failed.
-       * 
- * - * FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1; - */ - public static final int FAIL_AFTER_EXECUTABLE_NODES_COMPLETE_VALUE = 1; - - - 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 OnFailurePolicy valueOf(int value) { - return forNumber(value); - } - - public static OnFailurePolicy forNumber(int value) { - switch (value) { - case 0: return FAIL_IMMEDIATELY; - case 1: return FAIL_AFTER_EXECUTABLE_NODES_COMPLETE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - OnFailurePolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OnFailurePolicy findValueByNumber(int number) { - return OnFailurePolicy.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.Workflow.WorkflowMetadata.getDescriptor().getEnumTypes().get(0); - } - - private static final OnFailurePolicy[] VALUES = values(); - - public static OnFailurePolicy 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 OnFailurePolicy(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.core.WorkflowMetadata.OnFailurePolicy) - } - - private int bitField0_; - public static final int QUALITY_OF_SERVICE_FIELD_NUMBER = 1; - private flyteidl.core.Execution.QualityOfService qualityOfService_; - /** - *
-     * Indicates the runtime priority of workflow executions. 
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public boolean hasQualityOfService() { - return qualityOfService_ != null; - } - /** - *
-     * Indicates the runtime priority of workflow executions. 
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - return qualityOfService_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } - /** - *
-     * Indicates the runtime priority of workflow executions. 
-     * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - return getQualityOfService(); - } - - public static final int ON_FAILURE_FIELD_NUMBER = 2; - private int onFailure_; - /** - *
-     * Defines how the system should behave when a failure is detected in the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - public int getOnFailureValue() { - return onFailure_; - } - /** - *
-     * Defines how the system should behave when a failure is detected in the workflow execution.
-     * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - public flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy getOnFailure() { - @SuppressWarnings("deprecation") - flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy result = flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy.valueOf(onFailure_); - return result == null ? flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy.UNRECOGNIZED : result; - } - - public static final int TAGS_FIELD_NUMBER = 3; - private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadata_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { - if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); - } - return tags_; - } - - public int getTagsCount() { - return internalGetTags().getMap().size(); - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - - public boolean containsTags( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetTags().getMap().containsKey(key); - } - /** - * Use {@link #getTagsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getTags() { - return getTagsMap(); - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - - public java.util.Map getTagsMap() { - return internalGetTags().getMap(); - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - - public java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-     * 
- * - * map<string, string> tags = 3; - */ - - public java.lang.String getTagsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (qualityOfService_ != null) { - output.writeMessage(1, getQualityOfService()); - } - if (onFailure_ != flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy.FAIL_IMMEDIATELY.getNumber()) { - output.writeEnum(2, onFailure_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTags(), - TagsDefaultEntryHolder.defaultEntry, - 3); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (qualityOfService_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getQualityOfService()); - } - if (onFailure_ != flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy.FAIL_IMMEDIATELY.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, onFailure_); - } - for (java.util.Map.Entry entry - : internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry - tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, tags__); - } - 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.Workflow.WorkflowMetadata)) { - return super.equals(obj); - } - flyteidl.core.Workflow.WorkflowMetadata other = (flyteidl.core.Workflow.WorkflowMetadata) obj; - - if (hasQualityOfService() != other.hasQualityOfService()) return false; - if (hasQualityOfService()) { - if (!getQualityOfService() - .equals(other.getQualityOfService())) return false; - } - if (onFailure_ != other.onFailure_) return false; - if (!internalGetTags().equals( - other.internalGetTags())) 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 (hasQualityOfService()) { - hash = (37 * hash) + QUALITY_OF_SERVICE_FIELD_NUMBER; - hash = (53 * hash) + getQualityOfService().hashCode(); - } - hash = (37 * hash) + ON_FAILURE_FIELD_NUMBER; - hash = (53 * hash) + onFailure_; - if (!internalGetTags().getMap().isEmpty()) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + internalGetTags().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.WorkflowMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowMetadata 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.Workflow.WorkflowMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowMetadata 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.Workflow.WorkflowMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowMetadata 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.Workflow.WorkflowMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowMetadata 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.Workflow.WorkflowMetadata 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; - } - /** - *
-     * This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not
-     * percolate down to child entities (like tasks) launched by the workflow.
-     * 
- * - * Protobuf type {@code flyteidl.core.WorkflowMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.WorkflowMetadata) - flyteidl.core.Workflow.WorkflowMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadata_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetTags(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 3: - return internalGetMutableTags(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowMetadata.class, flyteidl.core.Workflow.WorkflowMetadata.Builder.class); - } - - // Construct using flyteidl.core.Workflow.WorkflowMetadata.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 (qualityOfServiceBuilder_ == null) { - qualityOfService_ = null; - } else { - qualityOfService_ = null; - qualityOfServiceBuilder_ = null; - } - onFailure_ = 0; - - internalGetMutableTags().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowMetadata getDefaultInstanceForType() { - return flyteidl.core.Workflow.WorkflowMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowMetadata build() { - flyteidl.core.Workflow.WorkflowMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowMetadata buildPartial() { - flyteidl.core.Workflow.WorkflowMetadata result = new flyteidl.core.Workflow.WorkflowMetadata(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (qualityOfServiceBuilder_ == null) { - result.qualityOfService_ = qualityOfService_; - } else { - result.qualityOfService_ = qualityOfServiceBuilder_.build(); - } - result.onFailure_ = onFailure_; - result.tags_ = internalGetTags(); - result.tags_.makeImmutable(); - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Workflow.WorkflowMetadata) { - return mergeFrom((flyteidl.core.Workflow.WorkflowMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.WorkflowMetadata other) { - if (other == flyteidl.core.Workflow.WorkflowMetadata.getDefaultInstance()) return this; - if (other.hasQualityOfService()) { - mergeQualityOfService(other.getQualityOfService()); - } - if (other.onFailure_ != 0) { - setOnFailureValue(other.getOnFailureValue()); - } - internalGetMutableTags().mergeFrom( - other.internalGetTags()); - 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.Workflow.WorkflowMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.WorkflowMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.Execution.QualityOfService qualityOfService_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> qualityOfServiceBuilder_; - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public boolean hasQualityOfService() { - return qualityOfServiceBuilder_ != null || qualityOfService_ != null; - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public flyteidl.core.Execution.QualityOfService getQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - return qualityOfService_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } else { - return qualityOfServiceBuilder_.getMessage(); - } - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public Builder setQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - qualityOfService_ = value; - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public Builder setQualityOfService( - flyteidl.core.Execution.QualityOfService.Builder builderForValue) { - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = builderForValue.build(); - onChanged(); - } else { - qualityOfServiceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public Builder mergeQualityOfService(flyteidl.core.Execution.QualityOfService value) { - if (qualityOfServiceBuilder_ == null) { - if (qualityOfService_ != null) { - qualityOfService_ = - flyteidl.core.Execution.QualityOfService.newBuilder(qualityOfService_).mergeFrom(value).buildPartial(); - } else { - qualityOfService_ = value; - } - onChanged(); - } else { - qualityOfServiceBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public Builder clearQualityOfService() { - if (qualityOfServiceBuilder_ == null) { - qualityOfService_ = null; - onChanged(); - } else { - qualityOfService_ = null; - qualityOfServiceBuilder_ = null; - } - - return this; - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public flyteidl.core.Execution.QualityOfService.Builder getQualityOfServiceBuilder() { - - onChanged(); - return getQualityOfServiceFieldBuilder().getBuilder(); - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder() { - if (qualityOfServiceBuilder_ != null) { - return qualityOfServiceBuilder_.getMessageOrBuilder(); - } else { - return qualityOfService_ == null ? - flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfService_; - } - } - /** - *
-       * Indicates the runtime priority of workflow executions. 
-       * 
- * - * .flyteidl.core.QualityOfService quality_of_service = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> - getQualityOfServiceFieldBuilder() { - if (qualityOfServiceBuilder_ == null) { - qualityOfServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder>( - getQualityOfService(), - getParentForChildren(), - isClean()); - qualityOfService_ = null; - } - return qualityOfServiceBuilder_; - } - - private int onFailure_ = 0; - /** - *
-       * Defines how the system should behave when a failure is detected in the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - public int getOnFailureValue() { - return onFailure_; - } - /** - *
-       * Defines how the system should behave when a failure is detected in the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - public Builder setOnFailureValue(int value) { - onFailure_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines how the system should behave when a failure is detected in the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - public flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy getOnFailure() { - @SuppressWarnings("deprecation") - flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy result = flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy.valueOf(onFailure_); - return result == null ? flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy.UNRECOGNIZED : result; - } - /** - *
-       * Defines how the system should behave when a failure is detected in the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - public Builder setOnFailure(flyteidl.core.Workflow.WorkflowMetadata.OnFailurePolicy value) { - if (value == null) { - throw new NullPointerException(); - } - - onFailure_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Defines how the system should behave when a failure is detected in the workflow execution.
-       * 
- * - * .flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2; - */ - public Builder clearOnFailure() { - - onFailure_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { - if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); - } - return tags_; - } - private com.google.protobuf.MapField - internalGetMutableTags() { - onChanged();; - if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); - } - if (!tags_.isMutable()) { - tags_ = tags_.copy(); - } - return tags_; - } - - public int getTagsCount() { - return internalGetTags().getMap().size(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 3; - */ - - public boolean containsTags( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetTags().getMap().containsKey(key); - } - /** - * Use {@link #getTagsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getTags() { - return getTagsMap(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 3; - */ - - public java.util.Map getTagsMap() { - return internalGetTags().getMap(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 3; - */ - - public java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 3; - */ - - public java.lang.String getTagsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetTags().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearTags() { - internalGetMutableTags().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 3; - */ - - public Builder removeTags( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableTags().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableTags() { - return internalGetMutableTags().getMutableMap(); - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 3; - */ - public Builder putTags( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableTags().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Arbitrary tags that allow users and the platform to store small but arbitrary labels
-       * 
- * - * map<string, string> tags = 3; - */ - - public Builder putAllTags( - java.util.Map values) { - internalGetMutableTags().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.WorkflowMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowMetadata) - private static final flyteidl.core.Workflow.WorkflowMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.WorkflowMetadata(); - } - - public static flyteidl.core.Workflow.WorkflowMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowMetadata(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.Workflow.WorkflowMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowMetadataDefaultsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.WorkflowMetadataDefaults) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Whether child nodes of the workflow are interruptible.
-     * 
- * - * bool interruptible = 1; - */ - boolean getInterruptible(); - } - /** - *
-   * The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to
-   * a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it
-   * is only relevant when a task executes. The settings here are the defaults that are passed to all nodes
-   * unless explicitly overridden at the node layer.
-   * If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be
-   * added to both this object and the WorkflowMetadata object above.
-   * 
- * - * Protobuf type {@code flyteidl.core.WorkflowMetadataDefaults} - */ - public static final class WorkflowMetadataDefaults extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.WorkflowMetadataDefaults) - WorkflowMetadataDefaultsOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowMetadataDefaults.newBuilder() to construct. - private WorkflowMetadataDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowMetadataDefaults() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowMetadataDefaults( - 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: { - - interruptible_ = input.readBool(); - 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.Workflow.internal_static_flyteidl_core_WorkflowMetadataDefaults_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadataDefaults_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowMetadataDefaults.class, flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder.class); - } - - public static final int INTERRUPTIBLE_FIELD_NUMBER = 1; - private boolean interruptible_; - /** - *
-     * Whether child nodes of the workflow are interruptible.
-     * 
- * - * bool interruptible = 1; - */ - public boolean getInterruptible() { - return interruptible_; - } - - 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 (interruptible_ != false) { - output.writeBool(1, interruptible_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (interruptible_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, interruptible_); - } - 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.Workflow.WorkflowMetadataDefaults)) { - return super.equals(obj); - } - flyteidl.core.Workflow.WorkflowMetadataDefaults other = (flyteidl.core.Workflow.WorkflowMetadataDefaults) obj; - - if (getInterruptible() - != other.getInterruptible()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + INTERRUPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getInterruptible()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.WorkflowMetadataDefaults parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults 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.Workflow.WorkflowMetadataDefaults parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults 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.Workflow.WorkflowMetadataDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults 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.Workflow.WorkflowMetadataDefaults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowMetadataDefaults 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.Workflow.WorkflowMetadataDefaults 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; - } - /** - *
-     * The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to
-     * a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it
-     * is only relevant when a task executes. The settings here are the defaults that are passed to all nodes
-     * unless explicitly overridden at the node layer.
-     * If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be
-     * added to both this object and the WorkflowMetadata object above.
-     * 
- * - * Protobuf type {@code flyteidl.core.WorkflowMetadataDefaults} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.WorkflowMetadataDefaults) - flyteidl.core.Workflow.WorkflowMetadataDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadataDefaults_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadataDefaults_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowMetadataDefaults.class, flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder.class); - } - - // Construct using flyteidl.core.Workflow.WorkflowMetadataDefaults.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(); - interruptible_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowMetadataDefaults_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowMetadataDefaults getDefaultInstanceForType() { - return flyteidl.core.Workflow.WorkflowMetadataDefaults.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowMetadataDefaults build() { - flyteidl.core.Workflow.WorkflowMetadataDefaults result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowMetadataDefaults buildPartial() { - flyteidl.core.Workflow.WorkflowMetadataDefaults result = new flyteidl.core.Workflow.WorkflowMetadataDefaults(this); - result.interruptible_ = interruptible_; - 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.Workflow.WorkflowMetadataDefaults) { - return mergeFrom((flyteidl.core.Workflow.WorkflowMetadataDefaults)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.WorkflowMetadataDefaults other) { - if (other == flyteidl.core.Workflow.WorkflowMetadataDefaults.getDefaultInstance()) return this; - if (other.getInterruptible() != false) { - setInterruptible(other.getInterruptible()); - } - 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.Workflow.WorkflowMetadataDefaults parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.WorkflowMetadataDefaults) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private boolean interruptible_ ; - /** - *
-       * Whether child nodes of the workflow are interruptible.
-       * 
- * - * bool interruptible = 1; - */ - public boolean getInterruptible() { - return interruptible_; - } - /** - *
-       * Whether child nodes of the workflow are interruptible.
-       * 
- * - * bool interruptible = 1; - */ - public Builder setInterruptible(boolean value) { - - interruptible_ = value; - onChanged(); - return this; - } - /** - *
-       * Whether child nodes of the workflow are interruptible.
-       * 
- * - * bool interruptible = 1; - */ - public Builder clearInterruptible() { - - interruptible_ = false; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.core.WorkflowMetadataDefaults) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowMetadataDefaults) - private static final flyteidl.core.Workflow.WorkflowMetadataDefaults DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.WorkflowMetadataDefaults(); - } - - public static flyteidl.core.Workflow.WorkflowMetadataDefaults getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowMetadataDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowMetadataDefaults(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.Workflow.WorkflowMetadataDefaults getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowTemplateOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.WorkflowTemplate) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A globally unique identifier for the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * A globally unique identifier for the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * A globally unique identifier for the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Extra metadata about the workflow.
-     * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - boolean hasMetadata(); - /** - *
-     * Extra metadata about the workflow.
-     * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - flyteidl.core.Workflow.WorkflowMetadata getMetadata(); - /** - *
-     * Extra metadata about the workflow.
-     * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - flyteidl.core.Workflow.WorkflowMetadataOrBuilder getMetadataOrBuilder(); - - /** - *
-     * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - boolean hasInterface(); - /** - *
-     * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - flyteidl.core.Interface.TypedInterface getInterface(); - /** - *
-     * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - flyteidl.core.Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder(); - - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - java.util.List - getNodesList(); - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - flyteidl.core.Workflow.Node getNodes(int index); - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - int getNodesCount(); - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - java.util.List - getNodesOrBuilderList(); - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder( - int index); - - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - java.util.List - getOutputsList(); - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - flyteidl.core.Literals.Binding getOutputs(int index); - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - int getOutputsCount(); - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - java.util.List - getOutputsOrBuilderList(); - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder( - int index); - - /** - *
-     *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-     * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-     * pb.lyft.flyte.core.Error.
-     * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - boolean hasFailureNode(); - /** - *
-     *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-     * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-     * pb.lyft.flyte.core.Error.
-     * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - flyteidl.core.Workflow.Node getFailureNode(); - /** - *
-     *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-     * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-     * pb.lyft.flyte.core.Error.
-     * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - flyteidl.core.Workflow.NodeOrBuilder getFailureNodeOrBuilder(); - - /** - *
-     * workflow defaults
-     * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - boolean hasMetadataDefaults(); - /** - *
-     * workflow defaults
-     * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - flyteidl.core.Workflow.WorkflowMetadataDefaults getMetadataDefaults(); - /** - *
-     * workflow defaults
-     * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - flyteidl.core.Workflow.WorkflowMetadataDefaultsOrBuilder getMetadataDefaultsOrBuilder(); - } - /** - *
-   * Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable,
-   * directed acyclic graph.
-   * 
- * - * Protobuf type {@code flyteidl.core.WorkflowTemplate} - */ - public static final class WorkflowTemplate extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.WorkflowTemplate) - WorkflowTemplateOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowTemplate.newBuilder() to construct. - private WorkflowTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowTemplate() { - nodes_ = java.util.Collections.emptyList(); - outputs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowTemplate( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Workflow.WorkflowMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.core.Workflow.WorkflowMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; - if (interface_ != null) { - subBuilder = interface_.toBuilder(); - } - interface_ = input.readMessage(flyteidl.core.Interface.TypedInterface.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interface_); - interface_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - nodes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - nodes_.add( - input.readMessage(flyteidl.core.Workflow.Node.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - outputs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - outputs_.add( - input.readMessage(flyteidl.core.Literals.Binding.parser(), extensionRegistry)); - break; - } - case 50: { - flyteidl.core.Workflow.Node.Builder subBuilder = null; - if (failureNode_ != null) { - subBuilder = failureNode_.toBuilder(); - } - failureNode_ = input.readMessage(flyteidl.core.Workflow.Node.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(failureNode_); - failureNode_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder subBuilder = null; - if (metadataDefaults_ != null) { - subBuilder = metadataDefaults_.toBuilder(); - } - metadataDefaults_ = input.readMessage(flyteidl.core.Workflow.WorkflowMetadataDefaults.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadataDefaults_); - metadataDefaults_ = 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 { - if (((mutable_bitField0_ & 0x00000008) != 0)) { - nodes_ = java.util.Collections.unmodifiableList(nodes_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - outputs_ = java.util.Collections.unmodifiableList(outputs_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowTemplate_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowTemplate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowTemplate.class, flyteidl.core.Workflow.WorkflowTemplate.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * A globally unique identifier for the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * A globally unique identifier for the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * A globally unique identifier for the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int METADATA_FIELD_NUMBER = 2; - private flyteidl.core.Workflow.WorkflowMetadata metadata_; - /** - *
-     * Extra metadata about the workflow.
-     * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Extra metadata about the workflow.
-     * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public flyteidl.core.Workflow.WorkflowMetadata getMetadata() { - return metadata_ == null ? flyteidl.core.Workflow.WorkflowMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Extra metadata about the workflow.
-     * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public flyteidl.core.Workflow.WorkflowMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int INTERFACE_FIELD_NUMBER = 3; - private flyteidl.core.Interface.TypedInterface interface_; - /** - *
-     * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public boolean hasInterface() { - return interface_ != null; - } - /** - *
-     * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public flyteidl.core.Interface.TypedInterface getInterface() { - return interface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : interface_; - } - /** - *
-     * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-     * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder() { - return getInterface(); - } - - public static final int NODES_FIELD_NUMBER = 4; - private java.util.List nodes_; - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public java.util.List getNodesList() { - return nodes_; - } - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public java.util.List - getNodesOrBuilderList() { - return nodes_; - } - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public int getNodesCount() { - return nodes_.size(); - } - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public flyteidl.core.Workflow.Node getNodes(int index) { - return nodes_.get(index); - } - /** - *
-     * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-     * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder( - int index) { - return nodes_.get(index); - } - - public static final int OUTPUTS_FIELD_NUMBER = 5; - private java.util.List outputs_; - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public java.util.List getOutputsList() { - return outputs_; - } - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public java.util.List - getOutputsOrBuilderList() { - return outputs_; - } - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public int getOutputsCount() { - return outputs_.size(); - } - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public flyteidl.core.Literals.Binding getOutputs(int index) { - return outputs_.get(index); - } - /** - *
-     * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-     * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-     * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-     * bind final outputs.
-     * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-     * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-     * outputs from the output of a task.
-     * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder( - int index) { - return outputs_.get(index); - } - - public static final int FAILURE_NODE_FIELD_NUMBER = 6; - private flyteidl.core.Workflow.Node failureNode_; - /** - *
-     *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-     * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-     * pb.lyft.flyte.core.Error.
-     * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public boolean hasFailureNode() { - return failureNode_ != null; - } - /** - *
-     *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-     * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-     * pb.lyft.flyte.core.Error.
-     * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public flyteidl.core.Workflow.Node getFailureNode() { - return failureNode_ == null ? flyteidl.core.Workflow.Node.getDefaultInstance() : failureNode_; - } - /** - *
-     *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-     * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-     * pb.lyft.flyte.core.Error.
-     * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public flyteidl.core.Workflow.NodeOrBuilder getFailureNodeOrBuilder() { - return getFailureNode(); - } - - public static final int METADATA_DEFAULTS_FIELD_NUMBER = 7; - private flyteidl.core.Workflow.WorkflowMetadataDefaults metadataDefaults_; - /** - *
-     * workflow defaults
-     * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public boolean hasMetadataDefaults() { - return metadataDefaults_ != null; - } - /** - *
-     * workflow defaults
-     * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public flyteidl.core.Workflow.WorkflowMetadataDefaults getMetadataDefaults() { - return metadataDefaults_ == null ? flyteidl.core.Workflow.WorkflowMetadataDefaults.getDefaultInstance() : metadataDefaults_; - } - /** - *
-     * workflow defaults
-     * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public flyteidl.core.Workflow.WorkflowMetadataDefaultsOrBuilder getMetadataDefaultsOrBuilder() { - return getMetadataDefaults(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (metadata_ != null) { - output.writeMessage(2, getMetadata()); - } - if (interface_ != null) { - output.writeMessage(3, getInterface()); - } - for (int i = 0; i < nodes_.size(); i++) { - output.writeMessage(4, nodes_.get(i)); - } - for (int i = 0; i < outputs_.size(); i++) { - output.writeMessage(5, outputs_.get(i)); - } - if (failureNode_ != null) { - output.writeMessage(6, getFailureNode()); - } - if (metadataDefaults_ != null) { - output.writeMessage(7, getMetadataDefaults()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMetadata()); - } - if (interface_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInterface()); - } - for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, nodes_.get(i)); - } - for (int i = 0; i < outputs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, outputs_.get(i)); - } - if (failureNode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getFailureNode()); - } - if (metadataDefaults_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMetadataDefaults()); - } - 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.Workflow.WorkflowTemplate)) { - return super.equals(obj); - } - flyteidl.core.Workflow.WorkflowTemplate other = (flyteidl.core.Workflow.WorkflowTemplate) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (hasInterface() != other.hasInterface()) return false; - if (hasInterface()) { - if (!getInterface() - .equals(other.getInterface())) return false; - } - if (!getNodesList() - .equals(other.getNodesList())) return false; - if (!getOutputsList() - .equals(other.getOutputsList())) return false; - if (hasFailureNode() != other.hasFailureNode()) return false; - if (hasFailureNode()) { - if (!getFailureNode() - .equals(other.getFailureNode())) return false; - } - if (hasMetadataDefaults() != other.hasMetadataDefaults()) return false; - if (hasMetadataDefaults()) { - if (!getMetadataDefaults() - .equals(other.getMetadataDefaults())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - if (hasInterface()) { - hash = (37 * hash) + INTERFACE_FIELD_NUMBER; - hash = (53 * hash) + getInterface().hashCode(); - } - if (getNodesCount() > 0) { - hash = (37 * hash) + NODES_FIELD_NUMBER; - hash = (53 * hash) + getNodesList().hashCode(); - } - if (getOutputsCount() > 0) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputsList().hashCode(); - } - if (hasFailureNode()) { - hash = (37 * hash) + FAILURE_NODE_FIELD_NUMBER; - hash = (53 * hash) + getFailureNode().hashCode(); - } - if (hasMetadataDefaults()) { - hash = (37 * hash) + METADATA_DEFAULTS_FIELD_NUMBER; - hash = (53 * hash) + getMetadataDefaults().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.WorkflowTemplate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowTemplate parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowTemplate 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.Workflow.WorkflowTemplate parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.WorkflowTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.WorkflowTemplate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowTemplate 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.Workflow.WorkflowTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowTemplate 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.Workflow.WorkflowTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.WorkflowTemplate 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.Workflow.WorkflowTemplate 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; - } - /** - *
-     * Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable,
-     * directed acyclic graph.
-     * 
- * - * Protobuf type {@code flyteidl.core.WorkflowTemplate} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.WorkflowTemplate) - flyteidl.core.Workflow.WorkflowTemplateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowTemplate_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowTemplate_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.WorkflowTemplate.class, flyteidl.core.Workflow.WorkflowTemplate.Builder.class); - } - - // Construct using flyteidl.core.Workflow.WorkflowTemplate.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNodesFieldBuilder(); - getOutputsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - if (interfaceBuilder_ == null) { - interface_ = null; - } else { - interface_ = null; - interfaceBuilder_ = null; - } - if (nodesBuilder_ == null) { - nodes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - nodesBuilder_.clear(); - } - if (outputsBuilder_ == null) { - outputs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - outputsBuilder_.clear(); - } - if (failureNodeBuilder_ == null) { - failureNode_ = null; - } else { - failureNode_ = null; - failureNodeBuilder_ = null; - } - if (metadataDefaultsBuilder_ == null) { - metadataDefaults_ = null; - } else { - metadataDefaults_ = null; - metadataDefaultsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_WorkflowTemplate_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowTemplate getDefaultInstanceForType() { - return flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowTemplate build() { - flyteidl.core.Workflow.WorkflowTemplate result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.WorkflowTemplate buildPartial() { - flyteidl.core.Workflow.WorkflowTemplate result = new flyteidl.core.Workflow.WorkflowTemplate(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - if (interfaceBuilder_ == null) { - result.interface_ = interface_; - } else { - result.interface_ = interfaceBuilder_.build(); - } - if (nodesBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - nodes_ = java.util.Collections.unmodifiableList(nodes_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.nodes_ = nodes_; - } else { - result.nodes_ = nodesBuilder_.build(); - } - if (outputsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - outputs_ = java.util.Collections.unmodifiableList(outputs_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.build(); - } - if (failureNodeBuilder_ == null) { - result.failureNode_ = failureNode_; - } else { - result.failureNode_ = failureNodeBuilder_.build(); - } - if (metadataDefaultsBuilder_ == null) { - result.metadataDefaults_ = metadataDefaults_; - } else { - result.metadataDefaults_ = metadataDefaultsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.Workflow.WorkflowTemplate) { - return mergeFrom((flyteidl.core.Workflow.WorkflowTemplate)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.WorkflowTemplate other) { - if (other == flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.hasInterface()) { - mergeInterface(other.getInterface()); - } - if (nodesBuilder_ == null) { - if (!other.nodes_.isEmpty()) { - if (nodes_.isEmpty()) { - nodes_ = other.nodes_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureNodesIsMutable(); - nodes_.addAll(other.nodes_); - } - onChanged(); - } - } else { - if (!other.nodes_.isEmpty()) { - if (nodesBuilder_.isEmpty()) { - nodesBuilder_.dispose(); - nodesBuilder_ = null; - nodes_ = other.nodes_; - bitField0_ = (bitField0_ & ~0x00000008); - nodesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodesFieldBuilder() : null; - } else { - nodesBuilder_.addAllMessages(other.nodes_); - } - } - } - if (outputsBuilder_ == null) { - if (!other.outputs_.isEmpty()) { - if (outputs_.isEmpty()) { - outputs_ = other.outputs_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureOutputsIsMutable(); - outputs_.addAll(other.outputs_); - } - onChanged(); - } - } else { - if (!other.outputs_.isEmpty()) { - if (outputsBuilder_.isEmpty()) { - outputsBuilder_.dispose(); - outputsBuilder_ = null; - outputs_ = other.outputs_; - bitField0_ = (bitField0_ & ~0x00000010); - outputsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOutputsFieldBuilder() : null; - } else { - outputsBuilder_.addAllMessages(other.outputs_); - } - } - } - if (other.hasFailureNode()) { - mergeFailureNode(other.getFailureNode()); - } - if (other.hasMetadataDefaults()) { - mergeMetadataDefaults(other.getMetadataDefaults()); - } - 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.Workflow.WorkflowTemplate parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.WorkflowTemplate) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * A globally unique identifier for the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.core.Workflow.WorkflowMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowMetadata, flyteidl.core.Workflow.WorkflowMetadata.Builder, flyteidl.core.Workflow.WorkflowMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public flyteidl.core.Workflow.WorkflowMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.core.Workflow.WorkflowMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public Builder setMetadata(flyteidl.core.Workflow.WorkflowMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public Builder setMetadata( - flyteidl.core.Workflow.WorkflowMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public Builder mergeMetadata(flyteidl.core.Workflow.WorkflowMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.core.Workflow.WorkflowMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public flyteidl.core.Workflow.WorkflowMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - public flyteidl.core.Workflow.WorkflowMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.core.Workflow.WorkflowMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Extra metadata about the workflow.
-       * 
- * - * .flyteidl.core.WorkflowMetadata metadata = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowMetadata, flyteidl.core.Workflow.WorkflowMetadata.Builder, flyteidl.core.Workflow.WorkflowMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowMetadata, flyteidl.core.Workflow.WorkflowMetadata.Builder, flyteidl.core.Workflow.WorkflowMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private flyteidl.core.Interface.TypedInterface interface_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> interfaceBuilder_; - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public boolean hasInterface() { - return interfaceBuilder_ != null || interface_ != null; - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public flyteidl.core.Interface.TypedInterface getInterface() { - if (interfaceBuilder_ == null) { - return interface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : interface_; - } else { - return interfaceBuilder_.getMessage(); - } - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public Builder setInterface(flyteidl.core.Interface.TypedInterface value) { - if (interfaceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - interface_ = value; - onChanged(); - } else { - interfaceBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public Builder setInterface( - flyteidl.core.Interface.TypedInterface.Builder builderForValue) { - if (interfaceBuilder_ == null) { - interface_ = builderForValue.build(); - onChanged(); - } else { - interfaceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public Builder mergeInterface(flyteidl.core.Interface.TypedInterface value) { - if (interfaceBuilder_ == null) { - if (interface_ != null) { - interface_ = - flyteidl.core.Interface.TypedInterface.newBuilder(interface_).mergeFrom(value).buildPartial(); - } else { - interface_ = value; - } - onChanged(); - } else { - interfaceBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public Builder clearInterface() { - if (interfaceBuilder_ == null) { - interface_ = null; - onChanged(); - } else { - interface_ = null; - interfaceBuilder_ = null; - } - - return this; - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public flyteidl.core.Interface.TypedInterface.Builder getInterfaceBuilder() { - - onChanged(); - return getInterfaceFieldBuilder().getBuilder(); - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder() { - if (interfaceBuilder_ != null) { - return interfaceBuilder_.getMessageOrBuilder(); - } else { - return interface_ == null ? - flyteidl.core.Interface.TypedInterface.getDefaultInstance() : interface_; - } - } - /** - *
-       * Defines a strongly typed interface for the Workflow. This can include some optional parameters.
-       * 
- * - * .flyteidl.core.TypedInterface interface = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> - getInterfaceFieldBuilder() { - if (interfaceBuilder_ == null) { - interfaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder>( - getInterface(), - getParentForChildren(), - isClean()); - interface_ = null; - } - return interfaceBuilder_; - } - - private java.util.List nodes_ = - java.util.Collections.emptyList(); - private void ensureNodesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - nodes_ = new java.util.ArrayList(nodes_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> nodesBuilder_; - - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public java.util.List getNodesList() { - if (nodesBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodes_); - } else { - return nodesBuilder_.getMessageList(); - } - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public int getNodesCount() { - if (nodesBuilder_ == null) { - return nodes_.size(); - } else { - return nodesBuilder_.getCount(); - } - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public flyteidl.core.Workflow.Node getNodes(int index) { - if (nodesBuilder_ == null) { - return nodes_.get(index); - } else { - return nodesBuilder_.getMessage(index); - } - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder setNodes( - int index, flyteidl.core.Workflow.Node value) { - if (nodesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodesIsMutable(); - nodes_.set(index, value); - onChanged(); - } else { - nodesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder setNodes( - int index, flyteidl.core.Workflow.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.set(index, builderForValue.build()); - onChanged(); - } else { - nodesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder addNodes(flyteidl.core.Workflow.Node value) { - if (nodesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodesIsMutable(); - nodes_.add(value); - onChanged(); - } else { - nodesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder addNodes( - int index, flyteidl.core.Workflow.Node value) { - if (nodesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodesIsMutable(); - nodes_.add(index, value); - onChanged(); - } else { - nodesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder addNodes( - flyteidl.core.Workflow.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(builderForValue.build()); - onChanged(); - } else { - nodesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder addNodes( - int index, flyteidl.core.Workflow.Node.Builder builderForValue) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.add(index, builderForValue.build()); - onChanged(); - } else { - nodesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder addAllNodes( - java.lang.Iterable values) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodes_); - onChanged(); - } else { - nodesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder clearNodes() { - if (nodesBuilder_ == null) { - nodes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - nodesBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public Builder removeNodes(int index) { - if (nodesBuilder_ == null) { - ensureNodesIsMutable(); - nodes_.remove(index); - onChanged(); - } else { - nodesBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public flyteidl.core.Workflow.Node.Builder getNodesBuilder( - int index) { - return getNodesFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder( - int index) { - if (nodesBuilder_ == null) { - return nodes_.get(index); } else { - return nodesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public java.util.List - getNodesOrBuilderList() { - if (nodesBuilder_ != null) { - return nodesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodes_); - } - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public flyteidl.core.Workflow.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder().addBuilder( - flyteidl.core.Workflow.Node.getDefaultInstance()); - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public flyteidl.core.Workflow.Node.Builder addNodesBuilder( - int index) { - return getNodesFieldBuilder().addBuilder( - index, flyteidl.core.Workflow.Node.getDefaultInstance()); - } - /** - *
-       * A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
-       * 
- * - * repeated .flyteidl.core.Node nodes = 4; - */ - public java.util.List - getNodesBuilderList() { - return getNodesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> - getNodesFieldBuilder() { - if (nodesBuilder_ == null) { - nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>( - nodes_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - nodes_ = null; - } - return nodesBuilder_; - } - - private java.util.List outputs_ = - java.util.Collections.emptyList(); - private void ensureOutputsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - outputs_ = new java.util.ArrayList(outputs_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder> outputsBuilder_; - - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public java.util.List getOutputsList() { - if (outputsBuilder_ == null) { - return java.util.Collections.unmodifiableList(outputs_); - } else { - return outputsBuilder_.getMessageList(); - } - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public int getOutputsCount() { - if (outputsBuilder_ == null) { - return outputs_.size(); - } else { - return outputsBuilder_.getCount(); - } - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public flyteidl.core.Literals.Binding getOutputs(int index) { - if (outputsBuilder_ == null) { - return outputs_.get(index); - } else { - return outputsBuilder_.getMessage(index); - } - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder setOutputs( - int index, flyteidl.core.Literals.Binding value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputsIsMutable(); - outputs_.set(index, value); - onChanged(); - } else { - outputsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder setOutputs( - int index, flyteidl.core.Literals.Binding.Builder builderForValue) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.set(index, builderForValue.build()); - onChanged(); - } else { - outputsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder addOutputs(flyteidl.core.Literals.Binding value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputsIsMutable(); - outputs_.add(value); - onChanged(); - } else { - outputsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder addOutputs( - int index, flyteidl.core.Literals.Binding value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureOutputsIsMutable(); - outputs_.add(index, value); - onChanged(); - } else { - outputsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder addOutputs( - flyteidl.core.Literals.Binding.Builder builderForValue) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.add(builderForValue.build()); - onChanged(); - } else { - outputsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder addOutputs( - int index, flyteidl.core.Literals.Binding.Builder builderForValue) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.add(index, builderForValue.build()); - onChanged(); - } else { - outputsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder addAllOutputs( - java.lang.Iterable values) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, outputs_); - onChanged(); - } else { - outputsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - outputsBuilder_.clear(); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public Builder removeOutputs(int index) { - if (outputsBuilder_ == null) { - ensureOutputsIsMutable(); - outputs_.remove(index); - onChanged(); - } else { - outputsBuilder_.remove(index); - } - return this; - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public flyteidl.core.Literals.Binding.Builder getOutputsBuilder( - int index) { - return getOutputsFieldBuilder().getBuilder(index); - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder( - int index) { - if (outputsBuilder_ == null) { - return outputs_.get(index); } else { - return outputsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public java.util.List - getOutputsOrBuilderList() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(outputs_); - } - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public flyteidl.core.Literals.Binding.Builder addOutputsBuilder() { - return getOutputsFieldBuilder().addBuilder( - flyteidl.core.Literals.Binding.getDefaultInstance()); - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public flyteidl.core.Literals.Binding.Builder addOutputsBuilder( - int index) { - return getOutputsFieldBuilder().addBuilder( - index, flyteidl.core.Literals.Binding.getDefaultInstance()); - } - /** - *
-       * A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
-       * specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
-       * to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
-       * bind final outputs.
-       * Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
-       * just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
-       * outputs from the output of a task.
-       * 
- * - * repeated .flyteidl.core.Binding outputs = 5; - */ - public java.util.List - getOutputsBuilderList() { - return getOutputsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder>( - outputs_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - - private flyteidl.core.Workflow.Node failureNode_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> failureNodeBuilder_; - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public boolean hasFailureNode() { - return failureNodeBuilder_ != null || failureNode_ != null; - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public flyteidl.core.Workflow.Node getFailureNode() { - if (failureNodeBuilder_ == null) { - return failureNode_ == null ? flyteidl.core.Workflow.Node.getDefaultInstance() : failureNode_; - } else { - return failureNodeBuilder_.getMessage(); - } - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public Builder setFailureNode(flyteidl.core.Workflow.Node value) { - if (failureNodeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - failureNode_ = value; - onChanged(); - } else { - failureNodeBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public Builder setFailureNode( - flyteidl.core.Workflow.Node.Builder builderForValue) { - if (failureNodeBuilder_ == null) { - failureNode_ = builderForValue.build(); - onChanged(); - } else { - failureNodeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public Builder mergeFailureNode(flyteidl.core.Workflow.Node value) { - if (failureNodeBuilder_ == null) { - if (failureNode_ != null) { - failureNode_ = - flyteidl.core.Workflow.Node.newBuilder(failureNode_).mergeFrom(value).buildPartial(); - } else { - failureNode_ = value; - } - onChanged(); - } else { - failureNodeBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public Builder clearFailureNode() { - if (failureNodeBuilder_ == null) { - failureNode_ = null; - onChanged(); - } else { - failureNode_ = null; - failureNodeBuilder_ = null; - } - - return this; - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public flyteidl.core.Workflow.Node.Builder getFailureNodeBuilder() { - - onChanged(); - return getFailureNodeFieldBuilder().getBuilder(); - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - public flyteidl.core.Workflow.NodeOrBuilder getFailureNodeOrBuilder() { - if (failureNodeBuilder_ != null) { - return failureNodeBuilder_.getMessageOrBuilder(); - } else { - return failureNode_ == null ? - flyteidl.core.Workflow.Node.getDefaultInstance() : failureNode_; - } - } - /** - *
-       *+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
-       * The interface of this node must match the Workflow interface with an additional input named 'error' of type
-       * pb.lyft.flyte.core.Error.
-       * 
- * - * .flyteidl.core.Node failure_node = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> - getFailureNodeFieldBuilder() { - if (failureNodeBuilder_ == null) { - failureNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>( - getFailureNode(), - getParentForChildren(), - isClean()); - failureNode_ = null; - } - return failureNodeBuilder_; - } - - private flyteidl.core.Workflow.WorkflowMetadataDefaults metadataDefaults_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowMetadataDefaults, flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder, flyteidl.core.Workflow.WorkflowMetadataDefaultsOrBuilder> metadataDefaultsBuilder_; - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public boolean hasMetadataDefaults() { - return metadataDefaultsBuilder_ != null || metadataDefaults_ != null; - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public flyteidl.core.Workflow.WorkflowMetadataDefaults getMetadataDefaults() { - if (metadataDefaultsBuilder_ == null) { - return metadataDefaults_ == null ? flyteidl.core.Workflow.WorkflowMetadataDefaults.getDefaultInstance() : metadataDefaults_; - } else { - return metadataDefaultsBuilder_.getMessage(); - } - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public Builder setMetadataDefaults(flyteidl.core.Workflow.WorkflowMetadataDefaults value) { - if (metadataDefaultsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadataDefaults_ = value; - onChanged(); - } else { - metadataDefaultsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public Builder setMetadataDefaults( - flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder builderForValue) { - if (metadataDefaultsBuilder_ == null) { - metadataDefaults_ = builderForValue.build(); - onChanged(); - } else { - metadataDefaultsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public Builder mergeMetadataDefaults(flyteidl.core.Workflow.WorkflowMetadataDefaults value) { - if (metadataDefaultsBuilder_ == null) { - if (metadataDefaults_ != null) { - metadataDefaults_ = - flyteidl.core.Workflow.WorkflowMetadataDefaults.newBuilder(metadataDefaults_).mergeFrom(value).buildPartial(); - } else { - metadataDefaults_ = value; - } - onChanged(); - } else { - metadataDefaultsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public Builder clearMetadataDefaults() { - if (metadataDefaultsBuilder_ == null) { - metadataDefaults_ = null; - onChanged(); - } else { - metadataDefaults_ = null; - metadataDefaultsBuilder_ = null; - } - - return this; - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder getMetadataDefaultsBuilder() { - - onChanged(); - return getMetadataDefaultsFieldBuilder().getBuilder(); - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - public flyteidl.core.Workflow.WorkflowMetadataDefaultsOrBuilder getMetadataDefaultsOrBuilder() { - if (metadataDefaultsBuilder_ != null) { - return metadataDefaultsBuilder_.getMessageOrBuilder(); - } else { - return metadataDefaults_ == null ? - flyteidl.core.Workflow.WorkflowMetadataDefaults.getDefaultInstance() : metadataDefaults_; - } - } - /** - *
-       * workflow defaults
-       * 
- * - * .flyteidl.core.WorkflowMetadataDefaults metadata_defaults = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowMetadataDefaults, flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder, flyteidl.core.Workflow.WorkflowMetadataDefaultsOrBuilder> - getMetadataDefaultsFieldBuilder() { - if (metadataDefaultsBuilder_ == null) { - metadataDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowMetadataDefaults, flyteidl.core.Workflow.WorkflowMetadataDefaults.Builder, flyteidl.core.Workflow.WorkflowMetadataDefaultsOrBuilder>( - getMetadataDefaults(), - getParentForChildren(), - isClean()); - metadataDefaults_ = null; - } - return metadataDefaultsBuilder_; - } - @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.WorkflowTemplate) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowTemplate) - private static final flyteidl.core.Workflow.WorkflowTemplate DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.WorkflowTemplate(); - } - - public static flyteidl.core.Workflow.WorkflowTemplate getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowTemplate(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.Workflow.WorkflowTemplate getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskNodeOverridesOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.core.TaskNodeOverrides) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A customizable interface to convey resources requested for a task container. 
-     * 
- * - * .flyteidl.core.Resources resources = 1; - */ - boolean hasResources(); - /** - *
-     * A customizable interface to convey resources requested for a task container. 
-     * 
- * - * .flyteidl.core.Resources resources = 1; - */ - flyteidl.core.Tasks.Resources getResources(); - /** - *
-     * A customizable interface to convey resources requested for a task container. 
-     * 
- * - * .flyteidl.core.Resources resources = 1; - */ - flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); - - /** - *
-     * Overrides for all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - boolean hasExtendedResources(); - /** - *
-     * Overrides for all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - flyteidl.core.Tasks.ExtendedResources getExtendedResources(); - /** - *
-     * Overrides for all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - flyteidl.core.Tasks.ExtendedResourcesOrBuilder getExtendedResourcesOrBuilder(); - } - /** - *
-   * Optional task node overrides that will be applied at task execution time.
-   * 
- * - * Protobuf type {@code flyteidl.core.TaskNodeOverrides} - */ - public static final class TaskNodeOverrides extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.TaskNodeOverrides) - TaskNodeOverridesOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskNodeOverrides.newBuilder() to construct. - private TaskNodeOverrides(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskNodeOverrides() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskNodeOverrides( - 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.Tasks.Resources.Builder subBuilder = null; - if (resources_ != null) { - subBuilder = resources_.toBuilder(); - } - resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resources_); - resources_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Tasks.ExtendedResources.Builder subBuilder = null; - if (extendedResources_ != null) { - subBuilder = extendedResources_.toBuilder(); - } - extendedResources_ = input.readMessage(flyteidl.core.Tasks.ExtendedResources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(extendedResources_); - extendedResources_ = 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.core.Workflow.internal_static_flyteidl_core_TaskNodeOverrides_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNodeOverrides_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.TaskNodeOverrides.class, flyteidl.core.Workflow.TaskNodeOverrides.Builder.class); - } - - public static final int RESOURCES_FIELD_NUMBER = 1; - private flyteidl.core.Tasks.Resources resources_; - /** - *
-     * A customizable interface to convey resources requested for a task container. 
-     * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public boolean hasResources() { - return resources_ != null; - } - /** - *
-     * A customizable interface to convey resources requested for a task container. 
-     * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public flyteidl.core.Tasks.Resources getResources() { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - /** - *
-     * A customizable interface to convey resources requested for a task container. 
-     * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - return getResources(); - } - - public static final int EXTENDED_RESOURCES_FIELD_NUMBER = 2; - private flyteidl.core.Tasks.ExtendedResources extendedResources_; - /** - *
-     * Overrides for all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public boolean hasExtendedResources() { - return extendedResources_ != null; - } - /** - *
-     * Overrides for all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public flyteidl.core.Tasks.ExtendedResources getExtendedResources() { - return extendedResources_ == null ? flyteidl.core.Tasks.ExtendedResources.getDefaultInstance() : extendedResources_; - } - /** - *
-     * Overrides for all non-standard resources, not captured by
-     * v1.ResourceRequirements, to allocate to a task.
-     * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public flyteidl.core.Tasks.ExtendedResourcesOrBuilder getExtendedResourcesOrBuilder() { - return getExtendedResources(); - } - - 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 (resources_ != null) { - output.writeMessage(1, getResources()); - } - if (extendedResources_ != null) { - output.writeMessage(2, getExtendedResources()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getResources()); - } - if (extendedResources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExtendedResources()); - } - 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.Workflow.TaskNodeOverrides)) { - return super.equals(obj); - } - flyteidl.core.Workflow.TaskNodeOverrides other = (flyteidl.core.Workflow.TaskNodeOverrides) obj; - - if (hasResources() != other.hasResources()) return false; - if (hasResources()) { - if (!getResources() - .equals(other.getResources())) return false; - } - if (hasExtendedResources() != other.hasExtendedResources()) return false; - if (hasExtendedResources()) { - if (!getExtendedResources() - .equals(other.getExtendedResources())) 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 (hasResources()) { - hash = (37 * hash) + RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getResources().hashCode(); - } - if (hasExtendedResources()) { - hash = (37 * hash) + EXTENDED_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getExtendedResources().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.Workflow.TaskNodeOverrides parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.TaskNodeOverrides parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.TaskNodeOverrides parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.TaskNodeOverrides 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.Workflow.TaskNodeOverrides parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.Workflow.TaskNodeOverrides parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.Workflow.TaskNodeOverrides parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.TaskNodeOverrides 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.Workflow.TaskNodeOverrides parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.TaskNodeOverrides 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.Workflow.TaskNodeOverrides parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.Workflow.TaskNodeOverrides 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.Workflow.TaskNodeOverrides 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; - } - /** - *
-     * Optional task node overrides that will be applied at task execution time.
-     * 
- * - * Protobuf type {@code flyteidl.core.TaskNodeOverrides} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.TaskNodeOverrides) - flyteidl.core.Workflow.TaskNodeOverridesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNodeOverrides_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNodeOverrides_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.Workflow.TaskNodeOverrides.class, flyteidl.core.Workflow.TaskNodeOverrides.Builder.class); - } - - // Construct using flyteidl.core.Workflow.TaskNodeOverrides.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 (resourcesBuilder_ == null) { - resources_ = null; - } else { - resources_ = null; - resourcesBuilder_ = null; - } - if (extendedResourcesBuilder_ == null) { - extendedResources_ = null; - } else { - extendedResources_ = null; - extendedResourcesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.Workflow.internal_static_flyteidl_core_TaskNodeOverrides_descriptor; - } - - @java.lang.Override - public flyteidl.core.Workflow.TaskNodeOverrides getDefaultInstanceForType() { - return flyteidl.core.Workflow.TaskNodeOverrides.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.Workflow.TaskNodeOverrides build() { - flyteidl.core.Workflow.TaskNodeOverrides result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.Workflow.TaskNodeOverrides buildPartial() { - flyteidl.core.Workflow.TaskNodeOverrides result = new flyteidl.core.Workflow.TaskNodeOverrides(this); - if (resourcesBuilder_ == null) { - result.resources_ = resources_; - } else { - result.resources_ = resourcesBuilder_.build(); - } - if (extendedResourcesBuilder_ == null) { - result.extendedResources_ = extendedResources_; - } else { - result.extendedResources_ = extendedResourcesBuilder_.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.Workflow.TaskNodeOverrides) { - return mergeFrom((flyteidl.core.Workflow.TaskNodeOverrides)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.Workflow.TaskNodeOverrides other) { - if (other == flyteidl.core.Workflow.TaskNodeOverrides.getDefaultInstance()) return this; - if (other.hasResources()) { - mergeResources(other.getResources()); - } - if (other.hasExtendedResources()) { - mergeExtendedResources(other.getExtendedResources()); - } - 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.Workflow.TaskNodeOverrides parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.Workflow.TaskNodeOverrides) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Tasks.Resources resources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public boolean hasResources() { - return resourcesBuilder_ != null || resources_ != null; - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public flyteidl.core.Tasks.Resources getResources() { - if (resourcesBuilder_ == null) { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } else { - return resourcesBuilder_.getMessage(); - } - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public Builder setResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resources_ = value; - onChanged(); - } else { - resourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public Builder setResources( - flyteidl.core.Tasks.Resources.Builder builderForValue) { - if (resourcesBuilder_ == null) { - resources_ = builderForValue.build(); - onChanged(); - } else { - resourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public Builder mergeResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (resources_ != null) { - resources_ = - flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); - } else { - resources_ = value; - } - onChanged(); - } else { - resourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public Builder clearResources() { - if (resourcesBuilder_ == null) { - resources_ = null; - onChanged(); - } else { - resources_ = null; - resourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { - - onChanged(); - return getResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - if (resourcesBuilder_ != null) { - return resourcesBuilder_.getMessageOrBuilder(); - } else { - return resources_ == null ? - flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - } - /** - *
-       * A customizable interface to convey resources requested for a task container. 
-       * 
- * - * .flyteidl.core.Resources resources = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> - getResourcesFieldBuilder() { - if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( - getResources(), - getParentForChildren(), - isClean()); - resources_ = null; - } - return resourcesBuilder_; - } - - private flyteidl.core.Tasks.ExtendedResources extendedResources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.ExtendedResources, flyteidl.core.Tasks.ExtendedResources.Builder, flyteidl.core.Tasks.ExtendedResourcesOrBuilder> extendedResourcesBuilder_; - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public boolean hasExtendedResources() { - return extendedResourcesBuilder_ != null || extendedResources_ != null; - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public flyteidl.core.Tasks.ExtendedResources getExtendedResources() { - if (extendedResourcesBuilder_ == null) { - return extendedResources_ == null ? flyteidl.core.Tasks.ExtendedResources.getDefaultInstance() : extendedResources_; - } else { - return extendedResourcesBuilder_.getMessage(); - } - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public Builder setExtendedResources(flyteidl.core.Tasks.ExtendedResources value) { - if (extendedResourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - extendedResources_ = value; - onChanged(); - } else { - extendedResourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public Builder setExtendedResources( - flyteidl.core.Tasks.ExtendedResources.Builder builderForValue) { - if (extendedResourcesBuilder_ == null) { - extendedResources_ = builderForValue.build(); - onChanged(); - } else { - extendedResourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public Builder mergeExtendedResources(flyteidl.core.Tasks.ExtendedResources value) { - if (extendedResourcesBuilder_ == null) { - if (extendedResources_ != null) { - extendedResources_ = - flyteidl.core.Tasks.ExtendedResources.newBuilder(extendedResources_).mergeFrom(value).buildPartial(); - } else { - extendedResources_ = value; - } - onChanged(); - } else { - extendedResourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public Builder clearExtendedResources() { - if (extendedResourcesBuilder_ == null) { - extendedResources_ = null; - onChanged(); - } else { - extendedResources_ = null; - extendedResourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public flyteidl.core.Tasks.ExtendedResources.Builder getExtendedResourcesBuilder() { - - onChanged(); - return getExtendedResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - public flyteidl.core.Tasks.ExtendedResourcesOrBuilder getExtendedResourcesOrBuilder() { - if (extendedResourcesBuilder_ != null) { - return extendedResourcesBuilder_.getMessageOrBuilder(); - } else { - return extendedResources_ == null ? - flyteidl.core.Tasks.ExtendedResources.getDefaultInstance() : extendedResources_; - } - } - /** - *
-       * Overrides for all non-standard resources, not captured by
-       * v1.ResourceRequirements, to allocate to a task.
-       * 
- * - * .flyteidl.core.ExtendedResources extended_resources = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.ExtendedResources, flyteidl.core.Tasks.ExtendedResources.Builder, flyteidl.core.Tasks.ExtendedResourcesOrBuilder> - getExtendedResourcesFieldBuilder() { - if (extendedResourcesBuilder_ == null) { - extendedResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.ExtendedResources, flyteidl.core.Tasks.ExtendedResources.Builder, flyteidl.core.Tasks.ExtendedResourcesOrBuilder>( - getExtendedResources(), - getParentForChildren(), - isClean()); - extendedResources_ = null; - } - return extendedResourcesBuilder_; - } - @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.TaskNodeOverrides) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.TaskNodeOverrides) - private static final flyteidl.core.Workflow.TaskNodeOverrides DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.Workflow.TaskNodeOverrides(); - } - - public static flyteidl.core.Workflow.TaskNodeOverrides getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskNodeOverrides parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskNodeOverrides(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.Workflow.TaskNodeOverrides getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_IfBlock_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_IfBlock_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_IfElseBlock_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_IfElseBlock_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_BranchNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_BranchNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ApproveCondition_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ApproveCondition_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_SignalCondition_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_SignalCondition_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_SleepCondition_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_SleepCondition_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_GateNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_GateNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_ArrayNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_ArrayNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_NodeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_NodeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Alias_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Alias_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_Node_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_Node_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowMetadata_TagsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowMetadata_TagsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowMetadataDefaults_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowMetadataDefaults_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowTemplate_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowTemplate_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_TaskNodeOverrides_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_TaskNodeOverrides_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/core/workflow.proto\022\rflyteidl" + - ".core\032\035flyteidl/core/condition.proto\032\035fl" + - "yteidl/core/execution.proto\032\036flyteidl/co" + - "re/identifier.proto\032\035flyteidl/core/inter" + - "face.proto\032\034flyteidl/core/literals.proto" + - "\032\031flyteidl/core/tasks.proto\032\031flyteidl/co" + - "re/types.proto\032\034flyteidl/core/security.p" + - "roto\032\036google/protobuf/duration.proto\"f\n\007" + - "IfBlock\0223\n\tcondition\030\001 \001(\0132 .flyteidl.co" + - "re.BooleanExpression\022&\n\tthen_node\030\002 \001(\0132" + - "\023.flyteidl.core.Node\"\266\001\n\013IfElseBlock\022$\n\004" + - "case\030\001 \001(\0132\026.flyteidl.core.IfBlock\022%\n\005ot" + - "her\030\002 \003(\0132\026.flyteidl.core.IfBlock\022(\n\tels" + - "e_node\030\003 \001(\0132\023.flyteidl.core.NodeH\000\022%\n\005e" + - "rror\030\004 \001(\0132\024.flyteidl.core.ErrorH\000B\t\n\007de" + - "fault\"9\n\nBranchNode\022+\n\007if_else\030\001 \001(\0132\032.f" + - "lyteidl.core.IfElseBlock\"\177\n\010TaskNode\0221\n\014" + - "reference_id\030\001 \001(\0132\031.flyteidl.core.Ident" + - "ifierH\000\0223\n\toverrides\030\002 \001(\0132 .flyteidl.co" + - "re.TaskNodeOverridesB\013\n\treference\"\207\001\n\014Wo" + - "rkflowNode\0223\n\016launchplan_ref\030\001 \001(\0132\031.fly" + - "teidl.core.IdentifierH\000\0225\n\020sub_workflow_" + - "ref\030\002 \001(\0132\031.flyteidl.core.IdentifierH\000B\013" + - "\n\treference\"%\n\020ApproveCondition\022\021\n\tsigna" + - "l_id\030\001 \001(\t\"l\n\017SignalCondition\022\021\n\tsignal_" + - "id\030\001 \001(\t\022(\n\004type\030\002 \001(\0132\032.flyteidl.core.L" + - "iteralType\022\034\n\024output_variable_name\030\003 \001(\t" + - "\"=\n\016SleepCondition\022+\n\010duration\030\001 \001(\0132\031.g" + - "oogle.protobuf.Duration\"\255\001\n\010GateNode\0222\n\007" + - "approve\030\001 \001(\0132\037.flyteidl.core.ApproveCon" + - "ditionH\000\0220\n\006signal\030\002 \001(\0132\036.flyteidl.core" + - ".SignalConditionH\000\022.\n\005sleep\030\003 \001(\0132\035.flyt" + - "eidl.core.SleepConditionH\000B\013\n\tcondition\"" + - "\215\001\n\tArrayNode\022!\n\004node\030\001 \001(\0132\023.flyteidl.c" + - "ore.Node\022\023\n\013parallelism\030\002 \001(\r\022\027\n\rmin_suc" + - "cesses\030\003 \001(\rH\000\022\033\n\021min_success_ratio\030\004 \001(" + - "\002H\000B\022\n\020success_criteria\"\247\001\n\014NodeMetadata" + - "\022\014\n\004name\030\001 \001(\t\022*\n\007timeout\030\004 \001(\0132\031.google" + - ".protobuf.Duration\022-\n\007retries\030\005 \001(\0132\034.fl" + - "yteidl.core.RetryStrategy\022\027\n\rinterruptib" + - "le\030\006 \001(\010H\000B\025\n\023interruptible_value\"#\n\005Ali" + - "as\022\013\n\003var\030\001 \001(\t\022\r\n\005alias\030\002 \001(\t\"\260\003\n\004Node\022" + - "\n\n\002id\030\001 \001(\t\022-\n\010metadata\030\002 \001(\0132\033.flyteidl" + - ".core.NodeMetadata\022&\n\006inputs\030\003 \003(\0132\026.fly" + - "teidl.core.Binding\022\031\n\021upstream_node_ids\030" + - "\004 \003(\t\022,\n\016output_aliases\030\005 \003(\0132\024.flyteidl" + - ".core.Alias\022,\n\ttask_node\030\006 \001(\0132\027.flyteid" + - "l.core.TaskNodeH\000\0224\n\rworkflow_node\030\007 \001(\013" + - "2\033.flyteidl.core.WorkflowNodeH\000\0220\n\013branc" + - "h_node\030\010 \001(\0132\031.flyteidl.core.BranchNodeH" + - "\000\022,\n\tgate_node\030\t \001(\0132\027.flyteidl.core.Gat" + - "eNodeH\000\022.\n\narray_node\030\n \001(\0132\030.flyteidl.c" + - "ore.ArrayNodeH\000B\010\n\006target\"\315\002\n\020WorkflowMe" + - "tadata\022;\n\022quality_of_service\030\001 \001(\0132\037.fly" + - "teidl.core.QualityOfService\022C\n\non_failur" + - "e\030\002 \001(\0162/.flyteidl.core.WorkflowMetadata" + - ".OnFailurePolicy\0227\n\004tags\030\003 \003(\0132).flyteid" + - "l.core.WorkflowMetadata.TagsEntry\032+\n\tTag" + - "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Q" + - "\n\017OnFailurePolicy\022\024\n\020FAIL_IMMEDIATELY\020\000\022" + - "(\n$FAIL_AFTER_EXECUTABLE_NODES_COMPLETE\020" + - "\001\"1\n\030WorkflowMetadataDefaults\022\025\n\rinterru" + - "ptible\030\001 \001(\010\"\332\002\n\020WorkflowTemplate\022%\n\002id\030" + - "\001 \001(\0132\031.flyteidl.core.Identifier\0221\n\010meta" + - "data\030\002 \001(\0132\037.flyteidl.core.WorkflowMetad" + - "ata\0220\n\tinterface\030\003 \001(\0132\035.flyteidl.core.T" + - "ypedInterface\022\"\n\005nodes\030\004 \003(\0132\023.flyteidl." + - "core.Node\022\'\n\007outputs\030\005 \003(\0132\026.flyteidl.co" + - "re.Binding\022)\n\014failure_node\030\006 \001(\0132\023.flyte" + - "idl.core.Node\022B\n\021metadata_defaults\030\007 \001(\013" + - "2\'.flyteidl.core.WorkflowMetadataDefault" + - "s\"~\n\021TaskNodeOverrides\022+\n\tresources\030\001 \001(" + - "\0132\030.flyteidl.core.Resources\022<\n\022extended_" + - "resources\030\002 \001(\0132 .flyteidl.core.Extended" + - "ResourcesB - *required. Workflow template. - * - * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - boolean hasWorkflow(); - /** - *
-     *required. Workflow template.
-     * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - flyteidl.core.Workflow.WorkflowTemplate getWorkflow(); - /** - *
-     *required. Workflow template.
-     * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - flyteidl.core.Workflow.WorkflowTemplateOrBuilder getWorkflowOrBuilder(); - - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - java.util.List - getTasksList(); - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - flyteidl.core.Tasks.TaskTemplate getTasks(int index); - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - int getTasksCount(); - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - java.util.List - getTasksOrBuilderList(); - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder( - int index); - } - /** - *
-   * Defines an enclosed package of workflow and tasks it references.
-   * 
- * - * Protobuf type {@code flyteidl.core.WorkflowClosure} - */ - public static final class WorkflowClosure extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.core.WorkflowClosure) - WorkflowClosureOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowClosure.newBuilder() to construct. - private WorkflowClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowClosure() { - tasks_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowClosure( - 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.Workflow.WorkflowTemplate.Builder subBuilder = null; - if (workflow_ != null) { - subBuilder = workflow_.toBuilder(); - } - workflow_ = input.readMessage(flyteidl.core.Workflow.WorkflowTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workflow_); - workflow_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - tasks_.add( - input.readMessage(flyteidl.core.Tasks.TaskTemplate.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_ & 0x00000002) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.WorkflowClosureOuterClass.internal_static_flyteidl_core_WorkflowClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.WorkflowClosureOuterClass.internal_static_flyteidl_core_WorkflowClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure.class, flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure.Builder.class); - } - - private int bitField0_; - public static final int WORKFLOW_FIELD_NUMBER = 1; - private flyteidl.core.Workflow.WorkflowTemplate workflow_; - /** - *
-     *required. Workflow template.
-     * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public boolean hasWorkflow() { - return workflow_ != null; - } - /** - *
-     *required. Workflow template.
-     * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate getWorkflow() { - return workflow_ == null ? flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : workflow_; - } - /** - *
-     *required. Workflow template.
-     * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getWorkflowOrBuilder() { - return getWorkflow(); - } - - public static final int TASKS_FIELD_NUMBER = 2; - private java.util.List tasks_; - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public java.util.List getTasksList() { - return tasks_; - } - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public java.util.List - getTasksOrBuilderList() { - return tasks_; - } - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public int getTasksCount() { - return tasks_.size(); - } - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public flyteidl.core.Tasks.TaskTemplate getTasks(int index) { - return tasks_.get(index); - } - /** - *
-     *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-     * references tasks.
-     * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder( - int index) { - return tasks_.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 { - if (workflow_ != null) { - output.writeMessage(1, getWorkflow()); - } - for (int i = 0; i < tasks_.size(); i++) { - output.writeMessage(2, tasks_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (workflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWorkflow()); - } - for (int i = 0; i < tasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, tasks_.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.WorkflowClosureOuterClass.WorkflowClosure)) { - return super.equals(obj); - } - flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure other = (flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure) obj; - - if (hasWorkflow() != other.hasWorkflow()) return false; - if (hasWorkflow()) { - if (!getWorkflow() - .equals(other.getWorkflow())) return false; - } - if (!getTasksList() - .equals(other.getTasksList())) 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 (hasWorkflow()) { - hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getWorkflow().hashCode(); - } - if (getTasksCount() > 0) { - hash = (37 * hash) + TASKS_FIELD_NUMBER; - hash = (53 * hash) + getTasksList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure 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.WorkflowClosureOuterClass.WorkflowClosure parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure 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.WorkflowClosureOuterClass.WorkflowClosure parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure 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.WorkflowClosureOuterClass.WorkflowClosure parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure 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.WorkflowClosureOuterClass.WorkflowClosure prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines an enclosed package of workflow and tasks it references.
-     * 
- * - * Protobuf type {@code flyteidl.core.WorkflowClosure} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.core.WorkflowClosure) - flyteidl.core.WorkflowClosureOuterClass.WorkflowClosureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.core.WorkflowClosureOuterClass.internal_static_flyteidl_core_WorkflowClosure_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.core.WorkflowClosureOuterClass.internal_static_flyteidl_core_WorkflowClosure_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure.class, flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure.Builder.class); - } - - // Construct using flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getTasksFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (workflowBuilder_ == null) { - workflow_ = null; - } else { - workflow_ = null; - workflowBuilder_ = null; - } - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - tasksBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.core.WorkflowClosureOuterClass.internal_static_flyteidl_core_WorkflowClosure_descriptor; - } - - @java.lang.Override - public flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure getDefaultInstanceForType() { - return flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure build() { - flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure buildPartial() { - flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure result = new flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (workflowBuilder_ == null) { - result.workflow_ = workflow_; - } else { - result.workflow_ = workflowBuilder_.build(); - } - if (tasksBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - tasks_ = java.util.Collections.unmodifiableList(tasks_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.tasks_ = tasks_; - } else { - result.tasks_ = tasksBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure) { - return mergeFrom((flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure other) { - if (other == flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure.getDefaultInstance()) return this; - if (other.hasWorkflow()) { - mergeWorkflow(other.getWorkflow()); - } - if (tasksBuilder_ == null) { - if (!other.tasks_.isEmpty()) { - if (tasks_.isEmpty()) { - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureTasksIsMutable(); - tasks_.addAll(other.tasks_); - } - onChanged(); - } - } else { - if (!other.tasks_.isEmpty()) { - if (tasksBuilder_.isEmpty()) { - tasksBuilder_.dispose(); - tasksBuilder_ = null; - tasks_ = other.tasks_; - bitField0_ = (bitField0_ & ~0x00000002); - tasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTasksFieldBuilder() : null; - } else { - tasksBuilder_.addAllMessages(other.tasks_); - } - } - } - 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.WorkflowClosureOuterClass.WorkflowClosure parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.Workflow.WorkflowTemplate workflow_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> workflowBuilder_; - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public boolean hasWorkflow() { - return workflowBuilder_ != null || workflow_ != null; - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate getWorkflow() { - if (workflowBuilder_ == null) { - return workflow_ == null ? flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : workflow_; - } else { - return workflowBuilder_.getMessage(); - } - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public Builder setWorkflow(flyteidl.core.Workflow.WorkflowTemplate value) { - if (workflowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workflow_ = value; - onChanged(); - } else { - workflowBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public Builder setWorkflow( - flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) { - if (workflowBuilder_ == null) { - workflow_ = builderForValue.build(); - onChanged(); - } else { - workflowBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public Builder mergeWorkflow(flyteidl.core.Workflow.WorkflowTemplate value) { - if (workflowBuilder_ == null) { - if (workflow_ != null) { - workflow_ = - flyteidl.core.Workflow.WorkflowTemplate.newBuilder(workflow_).mergeFrom(value).buildPartial(); - } else { - workflow_ = value; - } - onChanged(); - } else { - workflowBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public Builder clearWorkflow() { - if (workflowBuilder_ == null) { - workflow_ = null; - onChanged(); - } else { - workflow_ = null; - workflowBuilder_ = null; - } - - return this; - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplate.Builder getWorkflowBuilder() { - - onChanged(); - return getWorkflowFieldBuilder().getBuilder(); - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getWorkflowOrBuilder() { - if (workflowBuilder_ != null) { - return workflowBuilder_.getMessageOrBuilder(); - } else { - return workflow_ == null ? - flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance() : workflow_; - } - } - /** - *
-       *required. Workflow template.
-       * 
- * - * .flyteidl.core.WorkflowTemplate workflow = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> - getWorkflowFieldBuilder() { - if (workflowBuilder_ == null) { - workflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder>( - getWorkflow(), - getParentForChildren(), - isClean()); - workflow_ = null; - } - return workflowBuilder_; - } - - private java.util.List tasks_ = - java.util.Collections.emptyList(); - private void ensureTasksIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - tasks_ = new java.util.ArrayList(tasks_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> tasksBuilder_; - - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public java.util.List getTasksList() { - if (tasksBuilder_ == null) { - return java.util.Collections.unmodifiableList(tasks_); - } else { - return tasksBuilder_.getMessageList(); - } - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public int getTasksCount() { - if (tasksBuilder_ == null) { - return tasks_.size(); - } else { - return tasksBuilder_.getCount(); - } - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public flyteidl.core.Tasks.TaskTemplate getTasks(int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { - return tasksBuilder_.getMessage(index); - } - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder setTasks( - int index, flyteidl.core.Tasks.TaskTemplate value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.set(index, value); - onChanged(); - } else { - tasksBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder setTasks( - int index, flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.set(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder addTasks(flyteidl.core.Tasks.TaskTemplate value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(value); - onChanged(); - } else { - tasksBuilder_.addMessage(value); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder addTasks( - int index, flyteidl.core.Tasks.TaskTemplate value) { - if (tasksBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTasksIsMutable(); - tasks_.add(index, value); - onChanged(); - } else { - tasksBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder addTasks( - flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder addTasks( - int index, flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(index, builderForValue.build()); - onChanged(); - } else { - tasksBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder addAllTasks( - java.lang.Iterable values) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tasks_); - onChanged(); - } else { - tasksBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder clearTasks() { - if (tasksBuilder_ == null) { - tasks_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - tasksBuilder_.clear(); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public Builder removeTasks(int index) { - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.remove(index); - onChanged(); - } else { - tasksBuilder_.remove(index); - } - return this; - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder getTasksBuilder( - int index) { - return getTasksFieldBuilder().getBuilder(index); - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder( - int index) { - if (tasksBuilder_ == null) { - return tasks_.get(index); } else { - return tasksBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public java.util.List - getTasksOrBuilderList() { - if (tasksBuilder_ != null) { - return tasksBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tasks_); - } - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - flyteidl.core.Tasks.TaskTemplate.getDefaultInstance()); - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, flyteidl.core.Tasks.TaskTemplate.getDefaultInstance()); - } - /** - *
-       *optional. A collection of tasks referenced by the workflow. Only needed if the workflow
-       * references tasks.
-       * 
- * - * repeated .flyteidl.core.TaskTemplate tasks = 2; - */ - public java.util.List - getTasksBuilderList() { - return getTasksFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> - getTasksFieldBuilder() { - if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>( - tasks_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - tasks_ = null; - } - return tasksBuilder_; - } - @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.WorkflowClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.core.WorkflowClosure) - private static final flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure(); - } - - public static flyteidl.core.WorkflowClosureOuterClass.WorkflowClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowClosure(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.WorkflowClosureOuterClass.WorkflowClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_core_WorkflowClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_core_WorkflowClosure_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n$flyteidl/core/workflow_closure.proto\022\r" + - "flyteidl.core\032\034flyteidl/core/workflow.pr" + - "oto\032\031flyteidl/core/tasks.proto\"p\n\017Workfl" + - "owClosure\0221\n\010workflow\030\001 \001(\0132\037.flyteidl.c" + - "ore.WorkflowTemplate\022*\n\005tasks\030\002 \003(\0132\033.fl" + - "yteidl.core.TaskTemplateB.flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - boolean hasRawEvent(); - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - flyteidl.event.Event.WorkflowExecutionEvent getRawEvent(); - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder(); - - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - boolean hasOutputInterface(); - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - flyteidl.core.Interface.TypedInterface getOutputInterface(); - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); - - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - java.util.List - getArtifactIdsList(); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - int getArtifactIdsCount(); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - java.util.List - getArtifactIdsOrBuilderList(); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index); - - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - boolean hasReferenceExecution(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder(); - - /** - * string principal = 5; - */ - java.lang.String getPrincipal(); - /** - * string principal = 5; - */ - com.google.protobuf.ByteString - getPrincipalBytes(); - - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - boolean hasLaunchPlanId(); - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); - } - /** - *
-   * This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional
-   * information that downstream consumers may find useful.
-   * 
- * - * Protobuf type {@code flyteidl.event.CloudEventWorkflowExecution} - */ - public static final class CloudEventWorkflowExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventWorkflowExecution) - CloudEventWorkflowExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use CloudEventWorkflowExecution.newBuilder() to construct. - private CloudEventWorkflowExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CloudEventWorkflowExecution() { - artifactIds_ = java.util.Collections.emptyList(); - principal_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CloudEventWorkflowExecution( - 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.event.Event.WorkflowExecutionEvent.Builder subBuilder = null; - if (rawEvent_ != null) { - subBuilder = rawEvent_.toBuilder(); - } - rawEvent_ = input.readMessage(flyteidl.event.Event.WorkflowExecutionEvent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rawEvent_); - rawEvent_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; - if (outputInterface_ != null) { - subBuilder = outputInterface_.toBuilder(); - } - outputInterface_ = input.readMessage(flyteidl.core.Interface.TypedInterface.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputInterface_); - outputInterface_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - artifactIds_.add( - input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); - break; - } - case 34: { - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; - if (referenceExecution_ != null) { - subBuilder = referenceExecution_.toBuilder(); - } - referenceExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(referenceExecution_); - referenceExecution_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - principal_ = s; - break; - } - case 50: { - flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; - if (launchPlanId_ != null) { - subBuilder = launchPlanId_.toBuilder(); - } - launchPlanId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(launchPlanId_); - launchPlanId_ = 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 { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventWorkflowExecution.class, flyteidl.event.Cloudevents.CloudEventWorkflowExecution.Builder.class); - } - - private int bitField0_; - public static final int RAW_EVENT_FIELD_NUMBER = 1; - private flyteidl.event.Event.WorkflowExecutionEvent rawEvent_; - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public boolean hasRawEvent() { - return rawEvent_ != null; - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.WorkflowExecutionEvent getRawEvent() { - return rawEvent_ == null ? flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : rawEvent_; - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder() { - return getRawEvent(); - } - - public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 2; - private flyteidl.core.Interface.TypedInterface outputInterface_; - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public boolean hasOutputInterface() { - return outputInterface_ != null; - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public flyteidl.core.Interface.TypedInterface getOutputInterface() { - return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { - return getOutputInterface(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 3; - private java.util.List artifactIds_; - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public java.util.List getArtifactIdsList() { - return artifactIds_; - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - return artifactIds_; - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public int getArtifactIdsCount() { - return artifactIds_.size(); - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - return artifactIds_.get(index); - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - return artifactIds_.get(index); - } - - public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 4; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public boolean hasReferenceExecution() { - return referenceExecution_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { - return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { - return getReferenceExecution(); - } - - public static final int PRINCIPAL_FIELD_NUMBER = 5; - private volatile java.lang.Object principal_; - /** - * string principal = 5; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - 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(); - principal_ = s; - return s; - } - } - /** - * string principal = 5; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 6; - private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public boolean hasLaunchPlanId() { - return launchPlanId_ != null; - } - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { - return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { - return getLaunchPlanId(); - } - - 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 (rawEvent_ != null) { - output.writeMessage(1, getRawEvent()); - } - if (outputInterface_ != null) { - output.writeMessage(2, getOutputInterface()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(3, artifactIds_.get(i)); - } - if (referenceExecution_ != null) { - output.writeMessage(4, getReferenceExecution()); - } - if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, principal_); - } - if (launchPlanId_ != null) { - output.writeMessage(6, getLaunchPlanId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (rawEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRawEvent()); - } - if (outputInterface_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputInterface()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, artifactIds_.get(i)); - } - if (referenceExecution_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getReferenceExecution()); - } - if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, principal_); - } - if (launchPlanId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getLaunchPlanId()); - } - 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.event.Cloudevents.CloudEventWorkflowExecution)) { - return super.equals(obj); - } - flyteidl.event.Cloudevents.CloudEventWorkflowExecution other = (flyteidl.event.Cloudevents.CloudEventWorkflowExecution) obj; - - if (hasRawEvent() != other.hasRawEvent()) return false; - if (hasRawEvent()) { - if (!getRawEvent() - .equals(other.getRawEvent())) return false; - } - if (hasOutputInterface() != other.hasOutputInterface()) return false; - if (hasOutputInterface()) { - if (!getOutputInterface() - .equals(other.getOutputInterface())) return false; - } - if (!getArtifactIdsList() - .equals(other.getArtifactIdsList())) return false; - if (hasReferenceExecution() != other.hasReferenceExecution()) return false; - if (hasReferenceExecution()) { - if (!getReferenceExecution() - .equals(other.getReferenceExecution())) return false; - } - if (!getPrincipal() - .equals(other.getPrincipal())) return false; - if (hasLaunchPlanId() != other.hasLaunchPlanId()) return false; - if (hasLaunchPlanId()) { - if (!getLaunchPlanId() - .equals(other.getLaunchPlanId())) 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 (hasRawEvent()) { - hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; - hash = (53 * hash) + getRawEvent().hashCode(); - } - if (hasOutputInterface()) { - hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; - hash = (53 * hash) + getOutputInterface().hashCode(); - } - if (getArtifactIdsCount() > 0) { - hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactIdsList().hashCode(); - } - if (hasReferenceExecution()) { - hash = (37 * hash) + REFERENCE_EXECUTION_FIELD_NUMBER; - hash = (53 * hash) + getReferenceExecution().hashCode(); - } - hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; - hash = (53 * hash) + getPrincipal().hashCode(); - if (hasLaunchPlanId()) { - hash = (37 * hash) + LAUNCH_PLAN_ID_FIELD_NUMBER; - hash = (53 * hash) + getLaunchPlanId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution 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.event.Cloudevents.CloudEventWorkflowExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution 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.event.Cloudevents.CloudEventWorkflowExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution 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.event.Cloudevents.CloudEventWorkflowExecution 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; - } - /** - *
-     * This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional
-     * information that downstream consumers may find useful.
-     * 
- * - * Protobuf type {@code flyteidl.event.CloudEventWorkflowExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventWorkflowExecution) - flyteidl.event.Cloudevents.CloudEventWorkflowExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventWorkflowExecution.class, flyteidl.event.Cloudevents.CloudEventWorkflowExecution.Builder.class); - } - - // Construct using flyteidl.event.Cloudevents.CloudEventWorkflowExecution.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getArtifactIdsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (rawEventBuilder_ == null) { - rawEvent_ = null; - } else { - rawEvent_ = null; - rawEventBuilder_ = null; - } - if (outputInterfaceBuilder_ == null) { - outputInterface_ = null; - } else { - outputInterface_ = null; - outputInterfaceBuilder_ = null; - } - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - artifactIdsBuilder_.clear(); - } - if (referenceExecutionBuilder_ == null) { - referenceExecution_ = null; - } else { - referenceExecution_ = null; - referenceExecutionBuilder_ = null; - } - principal_ = ""; - - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = null; - } else { - launchPlanId_ = null; - launchPlanIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventWorkflowExecution getDefaultInstanceForType() { - return flyteidl.event.Cloudevents.CloudEventWorkflowExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventWorkflowExecution build() { - flyteidl.event.Cloudevents.CloudEventWorkflowExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventWorkflowExecution buildPartial() { - flyteidl.event.Cloudevents.CloudEventWorkflowExecution result = new flyteidl.event.Cloudevents.CloudEventWorkflowExecution(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (rawEventBuilder_ == null) { - result.rawEvent_ = rawEvent_; - } else { - result.rawEvent_ = rawEventBuilder_.build(); - } - if (outputInterfaceBuilder_ == null) { - result.outputInterface_ = outputInterface_; - } else { - result.outputInterface_ = outputInterfaceBuilder_.build(); - } - if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.artifactIds_ = artifactIds_; - } else { - result.artifactIds_ = artifactIdsBuilder_.build(); - } - if (referenceExecutionBuilder_ == null) { - result.referenceExecution_ = referenceExecution_; - } else { - result.referenceExecution_ = referenceExecutionBuilder_.build(); - } - result.principal_ = principal_; - if (launchPlanIdBuilder_ == null) { - result.launchPlanId_ = launchPlanId_; - } else { - result.launchPlanId_ = launchPlanIdBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.event.Cloudevents.CloudEventWorkflowExecution) { - return mergeFrom((flyteidl.event.Cloudevents.CloudEventWorkflowExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventWorkflowExecution other) { - if (other == flyteidl.event.Cloudevents.CloudEventWorkflowExecution.getDefaultInstance()) return this; - if (other.hasRawEvent()) { - mergeRawEvent(other.getRawEvent()); - } - if (other.hasOutputInterface()) { - mergeOutputInterface(other.getOutputInterface()); - } - if (artifactIdsBuilder_ == null) { - if (!other.artifactIds_.isEmpty()) { - if (artifactIds_.isEmpty()) { - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureArtifactIdsIsMutable(); - artifactIds_.addAll(other.artifactIds_); - } - onChanged(); - } - } else { - if (!other.artifactIds_.isEmpty()) { - if (artifactIdsBuilder_.isEmpty()) { - artifactIdsBuilder_.dispose(); - artifactIdsBuilder_ = null; - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000004); - artifactIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getArtifactIdsFieldBuilder() : null; - } else { - artifactIdsBuilder_.addAllMessages(other.artifactIds_); - } - } - } - if (other.hasReferenceExecution()) { - mergeReferenceExecution(other.getReferenceExecution()); - } - if (!other.getPrincipal().isEmpty()) { - principal_ = other.principal_; - onChanged(); - } - if (other.hasLaunchPlanId()) { - mergeLaunchPlanId(other.getLaunchPlanId()); - } - 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.event.Cloudevents.CloudEventWorkflowExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Cloudevents.CloudEventWorkflowExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.event.Event.WorkflowExecutionEvent rawEvent_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder> rawEventBuilder_; - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public boolean hasRawEvent() { - return rawEventBuilder_ != null || rawEvent_ != null; - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.WorkflowExecutionEvent getRawEvent() { - if (rawEventBuilder_ == null) { - return rawEvent_ == null ? flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : rawEvent_; - } else { - return rawEventBuilder_.getMessage(); - } - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public Builder setRawEvent(flyteidl.event.Event.WorkflowExecutionEvent value) { - if (rawEventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rawEvent_ = value; - onChanged(); - } else { - rawEventBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public Builder setRawEvent( - flyteidl.event.Event.WorkflowExecutionEvent.Builder builderForValue) { - if (rawEventBuilder_ == null) { - rawEvent_ = builderForValue.build(); - onChanged(); - } else { - rawEventBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public Builder mergeRawEvent(flyteidl.event.Event.WorkflowExecutionEvent value) { - if (rawEventBuilder_ == null) { - if (rawEvent_ != null) { - rawEvent_ = - flyteidl.event.Event.WorkflowExecutionEvent.newBuilder(rawEvent_).mergeFrom(value).buildPartial(); - } else { - rawEvent_ = value; - } - onChanged(); - } else { - rawEventBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public Builder clearRawEvent() { - if (rawEventBuilder_ == null) { - rawEvent_ = null; - onChanged(); - } else { - rawEvent_ = null; - rawEventBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.WorkflowExecutionEvent.Builder getRawEventBuilder() { - - onChanged(); - return getRawEventFieldBuilder().getBuilder(); - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder() { - if (rawEventBuilder_ != null) { - return rawEventBuilder_.getMessageOrBuilder(); - } else { - return rawEvent_ == null ? - flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance() : rawEvent_; - } - } - /** - * .flyteidl.event.WorkflowExecutionEvent raw_event = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder> - getRawEventFieldBuilder() { - if (rawEventBuilder_ == null) { - rawEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowExecutionEvent, flyteidl.event.Event.WorkflowExecutionEvent.Builder, flyteidl.event.Event.WorkflowExecutionEventOrBuilder>( - getRawEvent(), - getParentForChildren(), - isClean()); - rawEvent_ = null; - } - return rawEventBuilder_; - } - - private flyteidl.core.Interface.TypedInterface outputInterface_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> outputInterfaceBuilder_; - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public boolean hasOutputInterface() { - return outputInterfaceBuilder_ != null || outputInterface_ != null; - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public flyteidl.core.Interface.TypedInterface getOutputInterface() { - if (outputInterfaceBuilder_ == null) { - return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; - } else { - return outputInterfaceBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { - if (outputInterfaceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputInterface_ = value; - onChanged(); - } else { - outputInterfaceBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public Builder setOutputInterface( - flyteidl.core.Interface.TypedInterface.Builder builderForValue) { - if (outputInterfaceBuilder_ == null) { - outputInterface_ = builderForValue.build(); - onChanged(); - } else { - outputInterfaceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { - if (outputInterfaceBuilder_ == null) { - if (outputInterface_ != null) { - outputInterface_ = - flyteidl.core.Interface.TypedInterface.newBuilder(outputInterface_).mergeFrom(value).buildPartial(); - } else { - outputInterface_ = value; - } - onChanged(); - } else { - outputInterfaceBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public Builder clearOutputInterface() { - if (outputInterfaceBuilder_ == null) { - outputInterface_ = null; - onChanged(); - } else { - outputInterface_ = null; - outputInterfaceBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { - - onChanged(); - return getOutputInterfaceFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { - if (outputInterfaceBuilder_ != null) { - return outputInterfaceBuilder_.getMessageOrBuilder(); - } else { - return outputInterface_ == null ? - flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; - } - } - /** - * .flyteidl.core.TypedInterface output_interface = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> - getOutputInterfaceFieldBuilder() { - if (outputInterfaceBuilder_ == null) { - outputInterfaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder>( - getOutputInterface(), - getParentForChildren(), - isClean()); - outputInterface_ = null; - } - return outputInterfaceBuilder_; - } - - private java.util.List artifactIds_ = - java.util.Collections.emptyList(); - private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; - - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public java.util.List getArtifactIdsList() { - if (artifactIdsBuilder_ == null) { - return java.util.Collections.unmodifiableList(artifactIds_); - } else { - return artifactIdsBuilder_.getMessageList(); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public int getArtifactIdsCount() { - if (artifactIdsBuilder_ == null) { - return artifactIds_.size(); - } else { - return artifactIdsBuilder_.getCount(); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); - } else { - return artifactIdsBuilder_.getMessage(index); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, value); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder addArtifactIds( - flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder addAllArtifactIds( - java.lang.Iterable values) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifactIds_); - onChanged(); - } else { - artifactIdsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder clearArtifactIds() { - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - artifactIdsBuilder_.clear(); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public Builder removeArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.remove(index); - onChanged(); - } else { - artifactIdsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().getBuilder(index); - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); } else { - return artifactIdsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - if (artifactIdsBuilder_ != null) { - return artifactIdsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(artifactIds_); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { - return getArtifactIdsFieldBuilder().addBuilder( - flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().addBuilder( - index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 3; - */ - public java.util.List - getArtifactIdsBuilderList() { - return getArtifactIdsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> - getArtifactIdsFieldBuilder() { - if (artifactIdsBuilder_ == null) { - artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( - artifactIds_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - artifactIds_ = null; - } - return artifactIdsBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> referenceExecutionBuilder_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public boolean hasReferenceExecution() { - return referenceExecutionBuilder_ != null || referenceExecution_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { - if (referenceExecutionBuilder_ == null) { - return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; - } else { - return referenceExecutionBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (referenceExecutionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - referenceExecution_ = value; - onChanged(); - } else { - referenceExecutionBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public Builder setReferenceExecution( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (referenceExecutionBuilder_ == null) { - referenceExecution_ = builderForValue.build(); - onChanged(); - } else { - referenceExecutionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (referenceExecutionBuilder_ == null) { - if (referenceExecution_ != null) { - referenceExecution_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(referenceExecution_).mergeFrom(value).buildPartial(); - } else { - referenceExecution_ = value; - } - onChanged(); - } else { - referenceExecutionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public Builder clearReferenceExecution() { - if (referenceExecutionBuilder_ == null) { - referenceExecution_ = null; - onChanged(); - } else { - referenceExecution_ = null; - referenceExecutionBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getReferenceExecutionBuilder() { - - onChanged(); - return getReferenceExecutionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { - if (referenceExecutionBuilder_ != null) { - return referenceExecutionBuilder_.getMessageOrBuilder(); - } else { - return referenceExecution_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getReferenceExecutionFieldBuilder() { - if (referenceExecutionBuilder_ == null) { - referenceExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getReferenceExecution(), - getParentForChildren(), - isClean()); - referenceExecution_ = null; - } - return referenceExecutionBuilder_; - } - - private java.lang.Object principal_ = ""; - /** - * string principal = 5; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - principal_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string principal = 5; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string principal = 5; - */ - public Builder setPrincipal( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - principal_ = value; - onChanged(); - return this; - } - /** - * string principal = 5; - */ - public Builder clearPrincipal() { - - principal_ = getDefaultInstance().getPrincipal(); - onChanged(); - return this; - } - /** - * string principal = 5; - */ - public Builder setPrincipalBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - principal_ = value; - onChanged(); - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> launchPlanIdBuilder_; - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public boolean hasLaunchPlanId() { - return launchPlanIdBuilder_ != null || launchPlanId_ != null; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { - if (launchPlanIdBuilder_ == null) { - return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } else { - return launchPlanIdBuilder_.getMessage(); - } - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - launchPlanId_ = value; - onChanged(); - } else { - launchPlanIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder setLaunchPlanId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = builderForValue.build(); - onChanged(); - } else { - launchPlanIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanIdBuilder_ == null) { - if (launchPlanId_ != null) { - launchPlanId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(launchPlanId_).mergeFrom(value).buildPartial(); - } else { - launchPlanId_ = value; - } - onChanged(); - } else { - launchPlanIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder clearLaunchPlanId() { - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = null; - onChanged(); - } else { - launchPlanId_ = null; - launchPlanIdBuilder_ = null; - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { - - onChanged(); - return getLaunchPlanIdFieldBuilder().getBuilder(); - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { - if (launchPlanIdBuilder_ != null) { - return launchPlanIdBuilder_.getMessageOrBuilder(); - } else { - return launchPlanId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getLaunchPlanIdFieldBuilder() { - if (launchPlanIdBuilder_ == null) { - launchPlanIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getLaunchPlanId(), - getParentForChildren(), - isClean()); - launchPlanId_ = null; - } - return launchPlanIdBuilder_; - } - @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.event.CloudEventWorkflowExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventWorkflowExecution) - private static final flyteidl.event.Cloudevents.CloudEventWorkflowExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventWorkflowExecution(); - } - - public static flyteidl.event.Cloudevents.CloudEventWorkflowExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudEventWorkflowExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudEventWorkflowExecution(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.event.Cloudevents.CloudEventWorkflowExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CloudEventNodeExecutionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.CloudEventNodeExecution) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - boolean hasRawEvent(); - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - flyteidl.event.Event.NodeExecutionEvent getRawEvent(); - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - flyteidl.event.Event.NodeExecutionEventOrBuilder getRawEventOrBuilder(); - - /** - *
-     * The relevant task execution if applicable
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - boolean hasTaskExecId(); - /** - *
-     * The relevant task execution if applicable
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecId(); - /** - *
-     * The relevant task execution if applicable
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecIdOrBuilder(); - - /** - *
-     * The typed interface for the task that produced the event.
-     * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - boolean hasOutputInterface(); - /** - *
-     * The typed interface for the task that produced the event.
-     * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - flyteidl.core.Interface.TypedInterface getOutputInterface(); - /** - *
-     * The typed interface for the task that produced the event.
-     * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); - - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - java.util.List - getArtifactIdsList(); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - int getArtifactIdsCount(); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - java.util.List - getArtifactIdsOrBuilderList(); - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index); - - /** - * string principal = 5; - */ - java.lang.String getPrincipal(); - /** - * string principal = 5; - */ - com.google.protobuf.ByteString - getPrincipalBytes(); - - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - boolean hasLaunchPlanId(); - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.event.CloudEventNodeExecution} - */ - public static final class CloudEventNodeExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventNodeExecution) - CloudEventNodeExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use CloudEventNodeExecution.newBuilder() to construct. - private CloudEventNodeExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CloudEventNodeExecution() { - artifactIds_ = java.util.Collections.emptyList(); - principal_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CloudEventNodeExecution( - 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.event.Event.NodeExecutionEvent.Builder subBuilder = null; - if (rawEvent_ != null) { - subBuilder = rawEvent_.toBuilder(); - } - rawEvent_ = input.readMessage(flyteidl.event.Event.NodeExecutionEvent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rawEvent_); - rawEvent_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; - if (taskExecId_ != null) { - subBuilder = taskExecId_.toBuilder(); - } - taskExecId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(taskExecId_); - taskExecId_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; - if (outputInterface_ != null) { - subBuilder = outputInterface_.toBuilder(); - } - outputInterface_ = input.readMessage(flyteidl.core.Interface.TypedInterface.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputInterface_); - outputInterface_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - artifactIds_.add( - input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - principal_ = s; - break; - } - case 50: { - flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; - if (launchPlanId_ != null) { - subBuilder = launchPlanId_.toBuilder(); - } - launchPlanId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(launchPlanId_); - launchPlanId_ = 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 { - if (((mutable_bitField0_ & 0x00000008) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventNodeExecution.class, flyteidl.event.Cloudevents.CloudEventNodeExecution.Builder.class); - } - - private int bitField0_; - public static final int RAW_EVENT_FIELD_NUMBER = 1; - private flyteidl.event.Event.NodeExecutionEvent rawEvent_; - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public boolean hasRawEvent() { - return rawEvent_ != null; - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.NodeExecutionEvent getRawEvent() { - return rawEvent_ == null ? flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : rawEvent_; - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.NodeExecutionEventOrBuilder getRawEventOrBuilder() { - return getRawEvent(); - } - - public static final int TASK_EXEC_ID_FIELD_NUMBER = 2; - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecId_; - /** - *
-     * The relevant task execution if applicable
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public boolean hasTaskExecId() { - return taskExecId_ != null; - } - /** - *
-     * The relevant task execution if applicable
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecId() { - return taskExecId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecId_; - } - /** - *
-     * The relevant task execution if applicable
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecIdOrBuilder() { - return getTaskExecId(); - } - - public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 3; - private flyteidl.core.Interface.TypedInterface outputInterface_; - /** - *
-     * The typed interface for the task that produced the event.
-     * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public boolean hasOutputInterface() { - return outputInterface_ != null; - } - /** - *
-     * The typed interface for the task that produced the event.
-     * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public flyteidl.core.Interface.TypedInterface getOutputInterface() { - return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; - } - /** - *
-     * The typed interface for the task that produced the event.
-     * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { - return getOutputInterface(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 4; - private java.util.List artifactIds_; - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List getArtifactIdsList() { - return artifactIds_; - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - return artifactIds_; - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public int getArtifactIdsCount() { - return artifactIds_.size(); - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - return artifactIds_.get(index); - } - /** - *
-     * The following are ExecutionMetadata fields
-     * We can't have the ExecutionMetadata object directly because of import cycle
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - return artifactIds_.get(index); - } - - public static final int PRINCIPAL_FIELD_NUMBER = 5; - private volatile java.lang.Object principal_; - /** - * string principal = 5; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - 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(); - principal_ = s; - return s; - } - } - /** - * string principal = 5; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 6; - private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public boolean hasLaunchPlanId() { - return launchPlanId_ != null; - } - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { - return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } - /** - *
-     * The ID of the LP that generated the execution that generated the Artifact.
-     * Here for provenance information.
-     * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { - return getLaunchPlanId(); - } - - 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 (rawEvent_ != null) { - output.writeMessage(1, getRawEvent()); - } - if (taskExecId_ != null) { - output.writeMessage(2, getTaskExecId()); - } - if (outputInterface_ != null) { - output.writeMessage(3, getOutputInterface()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(4, artifactIds_.get(i)); - } - if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, principal_); - } - if (launchPlanId_ != null) { - output.writeMessage(6, getLaunchPlanId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (rawEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRawEvent()); - } - if (taskExecId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTaskExecId()); - } - if (outputInterface_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOutputInterface()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, artifactIds_.get(i)); - } - if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, principal_); - } - if (launchPlanId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getLaunchPlanId()); - } - 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.event.Cloudevents.CloudEventNodeExecution)) { - return super.equals(obj); - } - flyteidl.event.Cloudevents.CloudEventNodeExecution other = (flyteidl.event.Cloudevents.CloudEventNodeExecution) obj; - - if (hasRawEvent() != other.hasRawEvent()) return false; - if (hasRawEvent()) { - if (!getRawEvent() - .equals(other.getRawEvent())) return false; - } - if (hasTaskExecId() != other.hasTaskExecId()) return false; - if (hasTaskExecId()) { - if (!getTaskExecId() - .equals(other.getTaskExecId())) return false; - } - if (hasOutputInterface() != other.hasOutputInterface()) return false; - if (hasOutputInterface()) { - if (!getOutputInterface() - .equals(other.getOutputInterface())) return false; - } - if (!getArtifactIdsList() - .equals(other.getArtifactIdsList())) return false; - if (!getPrincipal() - .equals(other.getPrincipal())) return false; - if (hasLaunchPlanId() != other.hasLaunchPlanId()) return false; - if (hasLaunchPlanId()) { - if (!getLaunchPlanId() - .equals(other.getLaunchPlanId())) 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 (hasRawEvent()) { - hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; - hash = (53 * hash) + getRawEvent().hashCode(); - } - if (hasTaskExecId()) { - hash = (37 * hash) + TASK_EXEC_ID_FIELD_NUMBER; - hash = (53 * hash) + getTaskExecId().hashCode(); - } - if (hasOutputInterface()) { - hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; - hash = (53 * hash) + getOutputInterface().hashCode(); - } - if (getArtifactIdsCount() > 0) { - hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactIdsList().hashCode(); - } - hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; - hash = (53 * hash) + getPrincipal().hashCode(); - if (hasLaunchPlanId()) { - hash = (37 * hash) + LAUNCH_PLAN_ID_FIELD_NUMBER; - hash = (53 * hash) + getLaunchPlanId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution 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.event.Cloudevents.CloudEventNodeExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution 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.event.Cloudevents.CloudEventNodeExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventNodeExecution 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.event.Cloudevents.CloudEventNodeExecution 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.event.CloudEventNodeExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventNodeExecution) - flyteidl.event.Cloudevents.CloudEventNodeExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventNodeExecution.class, flyteidl.event.Cloudevents.CloudEventNodeExecution.Builder.class); - } - - // Construct using flyteidl.event.Cloudevents.CloudEventNodeExecution.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getArtifactIdsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (rawEventBuilder_ == null) { - rawEvent_ = null; - } else { - rawEvent_ = null; - rawEventBuilder_ = null; - } - if (taskExecIdBuilder_ == null) { - taskExecId_ = null; - } else { - taskExecId_ = null; - taskExecIdBuilder_ = null; - } - if (outputInterfaceBuilder_ == null) { - outputInterface_ = null; - } else { - outputInterface_ = null; - outputInterfaceBuilder_ = null; - } - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - artifactIdsBuilder_.clear(); - } - principal_ = ""; - - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = null; - } else { - launchPlanId_ = null; - launchPlanIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventNodeExecution getDefaultInstanceForType() { - return flyteidl.event.Cloudevents.CloudEventNodeExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventNodeExecution build() { - flyteidl.event.Cloudevents.CloudEventNodeExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventNodeExecution buildPartial() { - flyteidl.event.Cloudevents.CloudEventNodeExecution result = new flyteidl.event.Cloudevents.CloudEventNodeExecution(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (rawEventBuilder_ == null) { - result.rawEvent_ = rawEvent_; - } else { - result.rawEvent_ = rawEventBuilder_.build(); - } - if (taskExecIdBuilder_ == null) { - result.taskExecId_ = taskExecId_; - } else { - result.taskExecId_ = taskExecIdBuilder_.build(); - } - if (outputInterfaceBuilder_ == null) { - result.outputInterface_ = outputInterface_; - } else { - result.outputInterface_ = outputInterfaceBuilder_.build(); - } - if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.artifactIds_ = artifactIds_; - } else { - result.artifactIds_ = artifactIdsBuilder_.build(); - } - result.principal_ = principal_; - if (launchPlanIdBuilder_ == null) { - result.launchPlanId_ = launchPlanId_; - } else { - result.launchPlanId_ = launchPlanIdBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.event.Cloudevents.CloudEventNodeExecution) { - return mergeFrom((flyteidl.event.Cloudevents.CloudEventNodeExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventNodeExecution other) { - if (other == flyteidl.event.Cloudevents.CloudEventNodeExecution.getDefaultInstance()) return this; - if (other.hasRawEvent()) { - mergeRawEvent(other.getRawEvent()); - } - if (other.hasTaskExecId()) { - mergeTaskExecId(other.getTaskExecId()); - } - if (other.hasOutputInterface()) { - mergeOutputInterface(other.getOutputInterface()); - } - if (artifactIdsBuilder_ == null) { - if (!other.artifactIds_.isEmpty()) { - if (artifactIds_.isEmpty()) { - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureArtifactIdsIsMutable(); - artifactIds_.addAll(other.artifactIds_); - } - onChanged(); - } - } else { - if (!other.artifactIds_.isEmpty()) { - if (artifactIdsBuilder_.isEmpty()) { - artifactIdsBuilder_.dispose(); - artifactIdsBuilder_ = null; - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000008); - artifactIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getArtifactIdsFieldBuilder() : null; - } else { - artifactIdsBuilder_.addAllMessages(other.artifactIds_); - } - } - } - if (!other.getPrincipal().isEmpty()) { - principal_ = other.principal_; - onChanged(); - } - if (other.hasLaunchPlanId()) { - mergeLaunchPlanId(other.getLaunchPlanId()); - } - 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.event.Cloudevents.CloudEventNodeExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Cloudevents.CloudEventNodeExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.event.Event.NodeExecutionEvent rawEvent_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder> rawEventBuilder_; - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public boolean hasRawEvent() { - return rawEventBuilder_ != null || rawEvent_ != null; - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.NodeExecutionEvent getRawEvent() { - if (rawEventBuilder_ == null) { - return rawEvent_ == null ? flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : rawEvent_; - } else { - return rawEventBuilder_.getMessage(); - } - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public Builder setRawEvent(flyteidl.event.Event.NodeExecutionEvent value) { - if (rawEventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rawEvent_ = value; - onChanged(); - } else { - rawEventBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public Builder setRawEvent( - flyteidl.event.Event.NodeExecutionEvent.Builder builderForValue) { - if (rawEventBuilder_ == null) { - rawEvent_ = builderForValue.build(); - onChanged(); - } else { - rawEventBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public Builder mergeRawEvent(flyteidl.event.Event.NodeExecutionEvent value) { - if (rawEventBuilder_ == null) { - if (rawEvent_ != null) { - rawEvent_ = - flyteidl.event.Event.NodeExecutionEvent.newBuilder(rawEvent_).mergeFrom(value).buildPartial(); - } else { - rawEvent_ = value; - } - onChanged(); - } else { - rawEventBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public Builder clearRawEvent() { - if (rawEventBuilder_ == null) { - rawEvent_ = null; - onChanged(); - } else { - rawEvent_ = null; - rawEventBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.NodeExecutionEvent.Builder getRawEventBuilder() { - - onChanged(); - return getRawEventFieldBuilder().getBuilder(); - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.NodeExecutionEventOrBuilder getRawEventOrBuilder() { - if (rawEventBuilder_ != null) { - return rawEventBuilder_.getMessageOrBuilder(); - } else { - return rawEvent_ == null ? - flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance() : rawEvent_; - } - } - /** - * .flyteidl.event.NodeExecutionEvent raw_event = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder> - getRawEventFieldBuilder() { - if (rawEventBuilder_ == null) { - rawEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.NodeExecutionEvent, flyteidl.event.Event.NodeExecutionEvent.Builder, flyteidl.event.Event.NodeExecutionEventOrBuilder>( - getRawEvent(), - getParentForChildren(), - isClean()); - rawEvent_ = null; - } - return rawEventBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> taskExecIdBuilder_; - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public boolean hasTaskExecId() { - return taskExecIdBuilder_ != null || taskExecId_ != null; - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecId() { - if (taskExecIdBuilder_ == null) { - return taskExecId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecId_; - } else { - return taskExecIdBuilder_.getMessage(); - } - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public Builder setTaskExecId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (taskExecIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - taskExecId_ = value; - onChanged(); - } else { - taskExecIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public Builder setTaskExecId( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { - if (taskExecIdBuilder_ == null) { - taskExecId_ = builderForValue.build(); - onChanged(); - } else { - taskExecIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public Builder mergeTaskExecId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (taskExecIdBuilder_ == null) { - if (taskExecId_ != null) { - taskExecId_ = - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(taskExecId_).mergeFrom(value).buildPartial(); - } else { - taskExecId_ = value; - } - onChanged(); - } else { - taskExecIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public Builder clearTaskExecId() { - if (taskExecIdBuilder_ == null) { - taskExecId_ = null; - onChanged(); - } else { - taskExecId_ = null; - taskExecIdBuilder_ = null; - } - - return this; - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskExecIdBuilder() { - - onChanged(); - return getTaskExecIdFieldBuilder().getBuilder(); - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecIdOrBuilder() { - if (taskExecIdBuilder_ != null) { - return taskExecIdBuilder_.getMessageOrBuilder(); - } else { - return taskExecId_ == null ? - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecId_; - } - } - /** - *
-       * The relevant task execution if applicable
-       * 
- * - * .flyteidl.core.TaskExecutionIdentifier task_exec_id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> - getTaskExecIdFieldBuilder() { - if (taskExecIdBuilder_ == null) { - taskExecIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( - getTaskExecId(), - getParentForChildren(), - isClean()); - taskExecId_ = null; - } - return taskExecIdBuilder_; - } - - private flyteidl.core.Interface.TypedInterface outputInterface_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> outputInterfaceBuilder_; - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public boolean hasOutputInterface() { - return outputInterfaceBuilder_ != null || outputInterface_ != null; - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public flyteidl.core.Interface.TypedInterface getOutputInterface() { - if (outputInterfaceBuilder_ == null) { - return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; - } else { - return outputInterfaceBuilder_.getMessage(); - } - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { - if (outputInterfaceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputInterface_ = value; - onChanged(); - } else { - outputInterfaceBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public Builder setOutputInterface( - flyteidl.core.Interface.TypedInterface.Builder builderForValue) { - if (outputInterfaceBuilder_ == null) { - outputInterface_ = builderForValue.build(); - onChanged(); - } else { - outputInterfaceBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { - if (outputInterfaceBuilder_ == null) { - if (outputInterface_ != null) { - outputInterface_ = - flyteidl.core.Interface.TypedInterface.newBuilder(outputInterface_).mergeFrom(value).buildPartial(); - } else { - outputInterface_ = value; - } - onChanged(); - } else { - outputInterfaceBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public Builder clearOutputInterface() { - if (outputInterfaceBuilder_ == null) { - outputInterface_ = null; - onChanged(); - } else { - outputInterface_ = null; - outputInterfaceBuilder_ = null; - } - - return this; - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { - - onChanged(); - return getOutputInterfaceFieldBuilder().getBuilder(); - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { - if (outputInterfaceBuilder_ != null) { - return outputInterfaceBuilder_.getMessageOrBuilder(); - } else { - return outputInterface_ == null ? - flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; - } - } - /** - *
-       * The typed interface for the task that produced the event.
-       * 
- * - * .flyteidl.core.TypedInterface output_interface = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> - getOutputInterfaceFieldBuilder() { - if (outputInterfaceBuilder_ == null) { - outputInterfaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder>( - getOutputInterface(), - getParentForChildren(), - isClean()); - outputInterface_ = null; - } - return outputInterfaceBuilder_; - } - - private java.util.List artifactIds_ = - java.util.Collections.emptyList(); - private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; - - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List getArtifactIdsList() { - if (artifactIdsBuilder_ == null) { - return java.util.Collections.unmodifiableList(artifactIds_); - } else { - return artifactIdsBuilder_.getMessageList(); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public int getArtifactIdsCount() { - if (artifactIdsBuilder_ == null) { - return artifactIds_.size(); - } else { - return artifactIdsBuilder_.getCount(); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); - } else { - return artifactIdsBuilder_.getMessage(index); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, value); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds( - flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addAllArtifactIds( - java.lang.Iterable values) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifactIds_); - onChanged(); - } else { - artifactIdsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder clearArtifactIds() { - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - artifactIdsBuilder_.clear(); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder removeArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.remove(index); - onChanged(); - } else { - artifactIdsBuilder_.remove(index); - } - return this; - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().getBuilder(index); - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); } else { - return artifactIdsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - if (artifactIdsBuilder_ != null) { - return artifactIdsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(artifactIds_); - } - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { - return getArtifactIdsFieldBuilder().addBuilder( - flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().addBuilder( - index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * The following are ExecutionMetadata fields
-       * We can't have the ExecutionMetadata object directly because of import cycle
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List - getArtifactIdsBuilderList() { - return getArtifactIdsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> - getArtifactIdsFieldBuilder() { - if (artifactIdsBuilder_ == null) { - artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( - artifactIds_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - artifactIds_ = null; - } - return artifactIdsBuilder_; - } - - private java.lang.Object principal_ = ""; - /** - * string principal = 5; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - principal_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string principal = 5; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string principal = 5; - */ - public Builder setPrincipal( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - principal_ = value; - onChanged(); - return this; - } - /** - * string principal = 5; - */ - public Builder clearPrincipal() { - - principal_ = getDefaultInstance().getPrincipal(); - onChanged(); - return this; - } - /** - * string principal = 5; - */ - public Builder setPrincipalBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - principal_ = value; - onChanged(); - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> launchPlanIdBuilder_; - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public boolean hasLaunchPlanId() { - return launchPlanIdBuilder_ != null || launchPlanId_ != null; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { - if (launchPlanIdBuilder_ == null) { - return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } else { - return launchPlanIdBuilder_.getMessage(); - } - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - launchPlanId_ = value; - onChanged(); - } else { - launchPlanIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder setLaunchPlanId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = builderForValue.build(); - onChanged(); - } else { - launchPlanIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanIdBuilder_ == null) { - if (launchPlanId_ != null) { - launchPlanId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(launchPlanId_).mergeFrom(value).buildPartial(); - } else { - launchPlanId_ = value; - } - onChanged(); - } else { - launchPlanIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public Builder clearLaunchPlanId() { - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = null; - onChanged(); - } else { - launchPlanId_ = null; - launchPlanIdBuilder_ = null; - } - - return this; - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { - - onChanged(); - return getLaunchPlanIdFieldBuilder().getBuilder(); - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { - if (launchPlanIdBuilder_ != null) { - return launchPlanIdBuilder_.getMessageOrBuilder(); - } else { - return launchPlanId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } - } - /** - *
-       * The ID of the LP that generated the execution that generated the Artifact.
-       * Here for provenance information.
-       * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getLaunchPlanIdFieldBuilder() { - if (launchPlanIdBuilder_ == null) { - launchPlanIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getLaunchPlanId(), - getParentForChildren(), - isClean()); - launchPlanId_ = null; - } - return launchPlanIdBuilder_; - } - @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.event.CloudEventNodeExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventNodeExecution) - private static final flyteidl.event.Cloudevents.CloudEventNodeExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventNodeExecution(); - } - - public static flyteidl.event.Cloudevents.CloudEventNodeExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudEventNodeExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudEventNodeExecution(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.event.Cloudevents.CloudEventNodeExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CloudEventTaskExecutionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.CloudEventTaskExecution) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - boolean hasRawEvent(); - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - flyteidl.event.Event.TaskExecutionEvent getRawEvent(); - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - flyteidl.event.Event.TaskExecutionEventOrBuilder getRawEventOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.event.CloudEventTaskExecution} - */ - public static final class CloudEventTaskExecution extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventTaskExecution) - CloudEventTaskExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use CloudEventTaskExecution.newBuilder() to construct. - private CloudEventTaskExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CloudEventTaskExecution() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CloudEventTaskExecution( - 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.event.Event.TaskExecutionEvent.Builder subBuilder = null; - if (rawEvent_ != null) { - subBuilder = rawEvent_.toBuilder(); - } - rawEvent_ = input.readMessage(flyteidl.event.Event.TaskExecutionEvent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rawEvent_); - rawEvent_ = 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.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventTaskExecution.class, flyteidl.event.Cloudevents.CloudEventTaskExecution.Builder.class); - } - - public static final int RAW_EVENT_FIELD_NUMBER = 1; - private flyteidl.event.Event.TaskExecutionEvent rawEvent_; - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public boolean hasRawEvent() { - return rawEvent_ != null; - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.TaskExecutionEvent getRawEvent() { - return rawEvent_ == null ? flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : rawEvent_; - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.TaskExecutionEventOrBuilder getRawEventOrBuilder() { - return getRawEvent(); - } - - 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 (rawEvent_ != null) { - output.writeMessage(1, getRawEvent()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (rawEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRawEvent()); - } - 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.event.Cloudevents.CloudEventTaskExecution)) { - return super.equals(obj); - } - flyteidl.event.Cloudevents.CloudEventTaskExecution other = (flyteidl.event.Cloudevents.CloudEventTaskExecution) obj; - - if (hasRawEvent() != other.hasRawEvent()) return false; - if (hasRawEvent()) { - if (!getRawEvent() - .equals(other.getRawEvent())) 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 (hasRawEvent()) { - hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; - hash = (53 * hash) + getRawEvent().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution 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.event.Cloudevents.CloudEventTaskExecution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution 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.event.Cloudevents.CloudEventTaskExecution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventTaskExecution 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.event.Cloudevents.CloudEventTaskExecution 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.event.CloudEventTaskExecution} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventTaskExecution) - flyteidl.event.Cloudevents.CloudEventTaskExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventTaskExecution.class, flyteidl.event.Cloudevents.CloudEventTaskExecution.Builder.class); - } - - // Construct using flyteidl.event.Cloudevents.CloudEventTaskExecution.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 (rawEventBuilder_ == null) { - rawEvent_ = null; - } else { - rawEvent_ = null; - rawEventBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventTaskExecution getDefaultInstanceForType() { - return flyteidl.event.Cloudevents.CloudEventTaskExecution.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventTaskExecution build() { - flyteidl.event.Cloudevents.CloudEventTaskExecution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventTaskExecution buildPartial() { - flyteidl.event.Cloudevents.CloudEventTaskExecution result = new flyteidl.event.Cloudevents.CloudEventTaskExecution(this); - if (rawEventBuilder_ == null) { - result.rawEvent_ = rawEvent_; - } else { - result.rawEvent_ = rawEventBuilder_.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.event.Cloudevents.CloudEventTaskExecution) { - return mergeFrom((flyteidl.event.Cloudevents.CloudEventTaskExecution)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventTaskExecution other) { - if (other == flyteidl.event.Cloudevents.CloudEventTaskExecution.getDefaultInstance()) return this; - if (other.hasRawEvent()) { - mergeRawEvent(other.getRawEvent()); - } - 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.event.Cloudevents.CloudEventTaskExecution parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Cloudevents.CloudEventTaskExecution) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.event.Event.TaskExecutionEvent rawEvent_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder> rawEventBuilder_; - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public boolean hasRawEvent() { - return rawEventBuilder_ != null || rawEvent_ != null; - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.TaskExecutionEvent getRawEvent() { - if (rawEventBuilder_ == null) { - return rawEvent_ == null ? flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : rawEvent_; - } else { - return rawEventBuilder_.getMessage(); - } - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public Builder setRawEvent(flyteidl.event.Event.TaskExecutionEvent value) { - if (rawEventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rawEvent_ = value; - onChanged(); - } else { - rawEventBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public Builder setRawEvent( - flyteidl.event.Event.TaskExecutionEvent.Builder builderForValue) { - if (rawEventBuilder_ == null) { - rawEvent_ = builderForValue.build(); - onChanged(); - } else { - rawEventBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public Builder mergeRawEvent(flyteidl.event.Event.TaskExecutionEvent value) { - if (rawEventBuilder_ == null) { - if (rawEvent_ != null) { - rawEvent_ = - flyteidl.event.Event.TaskExecutionEvent.newBuilder(rawEvent_).mergeFrom(value).buildPartial(); - } else { - rawEvent_ = value; - } - onChanged(); - } else { - rawEventBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public Builder clearRawEvent() { - if (rawEventBuilder_ == null) { - rawEvent_ = null; - onChanged(); - } else { - rawEvent_ = null; - rawEventBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.TaskExecutionEvent.Builder getRawEventBuilder() { - - onChanged(); - return getRawEventFieldBuilder().getBuilder(); - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - public flyteidl.event.Event.TaskExecutionEventOrBuilder getRawEventOrBuilder() { - if (rawEventBuilder_ != null) { - return rawEventBuilder_.getMessageOrBuilder(); - } else { - return rawEvent_ == null ? - flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance() : rawEvent_; - } - } - /** - * .flyteidl.event.TaskExecutionEvent raw_event = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder> - getRawEventFieldBuilder() { - if (rawEventBuilder_ == null) { - rawEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionEvent, flyteidl.event.Event.TaskExecutionEvent.Builder, flyteidl.event.Event.TaskExecutionEventOrBuilder>( - getRawEvent(), - getParentForChildren(), - isClean()); - rawEvent_ = null; - } - return rawEventBuilder_; - } - @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.event.CloudEventTaskExecution) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventTaskExecution) - private static final flyteidl.event.Cloudevents.CloudEventTaskExecution DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventTaskExecution(); - } - - public static flyteidl.event.Cloudevents.CloudEventTaskExecution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudEventTaskExecution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudEventTaskExecution(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.event.Cloudevents.CloudEventTaskExecution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CloudEventExecutionStartOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.CloudEventExecutionStart) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The execution created.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - boolean hasExecutionId(); - /** - *
-     * The execution created.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId(); - /** - *
-     * The execution created.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder(); - - /** - *
-     * The launch plan used.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - boolean hasLaunchPlanId(); - /** - *
-     * The launch plan used.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); - /** - *
-     * The launch plan used.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); - - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - boolean hasWorkflowId(); - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId(); - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder(); - - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - java.util.List - getArtifactIdsList(); - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - int getArtifactIdsCount(); - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - java.util.List - getArtifactIdsOrBuilderList(); - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index); - - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - java.util.List - getArtifactTrackersList(); - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - int getArtifactTrackersCount(); - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - java.lang.String getArtifactTrackers(int index); - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - com.google.protobuf.ByteString - getArtifactTrackersBytes(int index); - - /** - * string principal = 6; - */ - java.lang.String getPrincipal(); - /** - * string principal = 6; - */ - com.google.protobuf.ByteString - getPrincipalBytes(); - } - /** - *
-   * This event is to be sent by Admin after it creates an execution.
-   * 
- * - * Protobuf type {@code flyteidl.event.CloudEventExecutionStart} - */ - public static final class CloudEventExecutionStart extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.CloudEventExecutionStart) - CloudEventExecutionStartOrBuilder { - private static final long serialVersionUID = 0L; - // Use CloudEventExecutionStart.newBuilder() to construct. - private CloudEventExecutionStart(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CloudEventExecutionStart() { - artifactIds_ = java.util.Collections.emptyList(); - artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - principal_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CloudEventExecutionStart( - 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 (executionId_ != null) { - subBuilder = executionId_.toBuilder(); - } - executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionId_); - executionId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; - if (launchPlanId_ != null) { - subBuilder = launchPlanId_.toBuilder(); - } - launchPlanId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(launchPlanId_); - launchPlanId_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; - if (workflowId_ != null) { - subBuilder = workflowId_.toBuilder(); - } - workflowId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workflowId_); - workflowId_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - artifactIds_.add( - input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - artifactTrackers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - artifactTrackers_.add(s); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - principal_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - artifactTrackers_ = artifactTrackers_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventExecutionStart.class, flyteidl.event.Cloudevents.CloudEventExecutionStart.Builder.class); - } - - private int bitField0_; - public static final int EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - /** - *
-     * The execution created.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public boolean hasExecutionId() { - return executionId_ != null; - } - /** - *
-     * The execution created.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - /** - *
-     * The execution created.
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - return getExecutionId(); - } - - public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 2; - private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; - /** - *
-     * The launch plan used.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public boolean hasLaunchPlanId() { - return launchPlanId_ != null; - } - /** - *
-     * The launch plan used.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { - return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } - /** - *
-     * The launch plan used.
-     * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { - return getLaunchPlanId(); - } - - public static final int WORKFLOW_ID_FIELD_NUMBER = 3; - private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public boolean hasWorkflowId() { - return workflowId_ != null; - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { - return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { - return getWorkflowId(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 4; - private java.util.List artifactIds_; - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List getArtifactIdsList() { - return artifactIds_; - } - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - return artifactIds_; - } - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public int getArtifactIdsCount() { - return artifactIds_.size(); - } - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - return artifactIds_.get(index); - } - /** - *
-     * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-     * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - return artifactIds_.get(index); - } - - public static final int ARTIFACT_TRACKERS_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList artifactTrackers_; - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - public com.google.protobuf.ProtocolStringList - getArtifactTrackersList() { - return artifactTrackers_; - } - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - public int getArtifactTrackersCount() { - return artifactTrackers_.size(); - } - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - public java.lang.String getArtifactTrackers(int index) { - return artifactTrackers_.get(index); - } - /** - *
-     * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-     * 
- * - * repeated string artifact_trackers = 5; - */ - public com.google.protobuf.ByteString - getArtifactTrackersBytes(int index) { - return artifactTrackers_.getByteString(index); - } - - public static final int PRINCIPAL_FIELD_NUMBER = 6; - private volatile java.lang.Object principal_; - /** - * string principal = 6; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - 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(); - principal_ = s; - return s; - } - } - /** - * string principal = 6; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = 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 (executionId_ != null) { - output.writeMessage(1, getExecutionId()); - } - if (launchPlanId_ != null) { - output.writeMessage(2, getLaunchPlanId()); - } - if (workflowId_ != null) { - output.writeMessage(3, getWorkflowId()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(4, artifactIds_.get(i)); - } - for (int i = 0; i < artifactTrackers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, artifactTrackers_.getRaw(i)); - } - if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, principal_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (executionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExecutionId()); - } - if (launchPlanId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLaunchPlanId()); - } - if (workflowId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getWorkflowId()); - } - for (int i = 0; i < artifactIds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, artifactIds_.get(i)); - } - { - int dataSize = 0; - for (int i = 0; i < artifactTrackers_.size(); i++) { - dataSize += computeStringSizeNoTag(artifactTrackers_.getRaw(i)); - } - size += dataSize; - size += 1 * getArtifactTrackersList().size(); - } - if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, principal_); - } - 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.event.Cloudevents.CloudEventExecutionStart)) { - return super.equals(obj); - } - flyteidl.event.Cloudevents.CloudEventExecutionStart other = (flyteidl.event.Cloudevents.CloudEventExecutionStart) obj; - - if (hasExecutionId() != other.hasExecutionId()) return false; - if (hasExecutionId()) { - if (!getExecutionId() - .equals(other.getExecutionId())) return false; - } - if (hasLaunchPlanId() != other.hasLaunchPlanId()) return false; - if (hasLaunchPlanId()) { - if (!getLaunchPlanId() - .equals(other.getLaunchPlanId())) return false; - } - if (hasWorkflowId() != other.hasWorkflowId()) return false; - if (hasWorkflowId()) { - if (!getWorkflowId() - .equals(other.getWorkflowId())) return false; - } - if (!getArtifactIdsList() - .equals(other.getArtifactIdsList())) return false; - if (!getArtifactTrackersList() - .equals(other.getArtifactTrackersList())) return false; - if (!getPrincipal() - .equals(other.getPrincipal())) 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 (hasExecutionId()) { - hash = (37 * hash) + EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getExecutionId().hashCode(); - } - if (hasLaunchPlanId()) { - hash = (37 * hash) + LAUNCH_PLAN_ID_FIELD_NUMBER; - hash = (53 * hash) + getLaunchPlanId().hashCode(); - } - if (hasWorkflowId()) { - hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowId().hashCode(); - } - if (getArtifactIdsCount() > 0) { - hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactIdsList().hashCode(); - } - if (getArtifactTrackersCount() > 0) { - hash = (37 * hash) + ARTIFACT_TRACKERS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactTrackersList().hashCode(); - } - hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; - hash = (53 * hash) + getPrincipal().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart 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.event.Cloudevents.CloudEventExecutionStart parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart 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.event.Cloudevents.CloudEventExecutionStart parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Cloudevents.CloudEventExecutionStart 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.event.Cloudevents.CloudEventExecutionStart 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; - } - /** - *
-     * This event is to be sent by Admin after it creates an execution.
-     * 
- * - * Protobuf type {@code flyteidl.event.CloudEventExecutionStart} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.CloudEventExecutionStart) - flyteidl.event.Cloudevents.CloudEventExecutionStartOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Cloudevents.CloudEventExecutionStart.class, flyteidl.event.Cloudevents.CloudEventExecutionStart.Builder.class); - } - - // Construct using flyteidl.event.Cloudevents.CloudEventExecutionStart.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getArtifactIdsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (executionIdBuilder_ == null) { - executionId_ = null; - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = null; - } else { - launchPlanId_ = null; - launchPlanIdBuilder_ = null; - } - if (workflowIdBuilder_ == null) { - workflowId_ = null; - } else { - workflowId_ = null; - workflowIdBuilder_ = null; - } - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - artifactIdsBuilder_.clear(); - } - artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - principal_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Cloudevents.internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventExecutionStart getDefaultInstanceForType() { - return flyteidl.event.Cloudevents.CloudEventExecutionStart.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventExecutionStart build() { - flyteidl.event.Cloudevents.CloudEventExecutionStart result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Cloudevents.CloudEventExecutionStart buildPartial() { - flyteidl.event.Cloudevents.CloudEventExecutionStart result = new flyteidl.event.Cloudevents.CloudEventExecutionStart(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (executionIdBuilder_ == null) { - result.executionId_ = executionId_; - } else { - result.executionId_ = executionIdBuilder_.build(); - } - if (launchPlanIdBuilder_ == null) { - result.launchPlanId_ = launchPlanId_; - } else { - result.launchPlanId_ = launchPlanIdBuilder_.build(); - } - if (workflowIdBuilder_ == null) { - result.workflowId_ = workflowId_; - } else { - result.workflowId_ = workflowIdBuilder_.build(); - } - if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.artifactIds_ = artifactIds_; - } else { - result.artifactIds_ = artifactIdsBuilder_.build(); - } - if (((bitField0_ & 0x00000010) != 0)) { - artifactTrackers_ = artifactTrackers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.artifactTrackers_ = artifactTrackers_; - result.principal_ = principal_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.event.Cloudevents.CloudEventExecutionStart) { - return mergeFrom((flyteidl.event.Cloudevents.CloudEventExecutionStart)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventExecutionStart other) { - if (other == flyteidl.event.Cloudevents.CloudEventExecutionStart.getDefaultInstance()) return this; - if (other.hasExecutionId()) { - mergeExecutionId(other.getExecutionId()); - } - if (other.hasLaunchPlanId()) { - mergeLaunchPlanId(other.getLaunchPlanId()); - } - if (other.hasWorkflowId()) { - mergeWorkflowId(other.getWorkflowId()); - } - if (artifactIdsBuilder_ == null) { - if (!other.artifactIds_.isEmpty()) { - if (artifactIds_.isEmpty()) { - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureArtifactIdsIsMutable(); - artifactIds_.addAll(other.artifactIds_); - } - onChanged(); - } - } else { - if (!other.artifactIds_.isEmpty()) { - if (artifactIdsBuilder_.isEmpty()) { - artifactIdsBuilder_.dispose(); - artifactIdsBuilder_ = null; - artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000008); - artifactIdsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getArtifactIdsFieldBuilder() : null; - } else { - artifactIdsBuilder_.addAllMessages(other.artifactIds_); - } - } - } - if (!other.artifactTrackers_.isEmpty()) { - if (artifactTrackers_.isEmpty()) { - artifactTrackers_ = other.artifactTrackers_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureArtifactTrackersIsMutable(); - artifactTrackers_.addAll(other.artifactTrackers_); - } - onChanged(); - } - if (!other.getPrincipal().isEmpty()) { - principal_ = other.principal_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.event.Cloudevents.CloudEventExecutionStart parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Cloudevents.CloudEventExecutionStart) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_; - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public boolean hasExecutionId() { - return executionIdBuilder_ != null || executionId_ != null; - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - if (executionIdBuilder_ == null) { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } else { - return executionIdBuilder_.getMessage(); - } - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - executionId_ = value; - onChanged(); - } else { - executionIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder setExecutionId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (executionIdBuilder_ == null) { - executionId_ = builderForValue.build(); - onChanged(); - } else { - executionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (executionId_ != null) { - executionId_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial(); - } else { - executionId_ = value; - } - onChanged(); - } else { - executionIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder clearExecutionId() { - if (executionIdBuilder_ == null) { - executionId_ = null; - onChanged(); - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() { - - onChanged(); - return getExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - if (executionIdBuilder_ != null) { - return executionIdBuilder_.getMessageOrBuilder(); - } else { - return executionId_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - } - /** - *
-       * The execution created.
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getExecutionIdFieldBuilder() { - if (executionIdBuilder_ == null) { - executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getExecutionId(), - getParentForChildren(), - isClean()); - executionId_ = null; - } - return executionIdBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> launchPlanIdBuilder_; - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public boolean hasLaunchPlanId() { - return launchPlanIdBuilder_ != null || launchPlanId_ != null; - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { - if (launchPlanIdBuilder_ == null) { - return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } else { - return launchPlanIdBuilder_.getMessage(); - } - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - launchPlanId_ = value; - onChanged(); - } else { - launchPlanIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public Builder setLaunchPlanId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = builderForValue.build(); - onChanged(); - } else { - launchPlanIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (launchPlanIdBuilder_ == null) { - if (launchPlanId_ != null) { - launchPlanId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(launchPlanId_).mergeFrom(value).buildPartial(); - } else { - launchPlanId_ = value; - } - onChanged(); - } else { - launchPlanIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public Builder clearLaunchPlanId() { - if (launchPlanIdBuilder_ == null) { - launchPlanId_ = null; - onChanged(); - } else { - launchPlanId_ = null; - launchPlanIdBuilder_ = null; - } - - return this; - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { - - onChanged(); - return getLaunchPlanIdFieldBuilder().getBuilder(); - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { - if (launchPlanIdBuilder_ != null) { - return launchPlanIdBuilder_.getMessageOrBuilder(); - } else { - return launchPlanId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; - } - } - /** - *
-       * The launch plan used.
-       * 
- * - * .flyteidl.core.Identifier launch_plan_id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getLaunchPlanIdFieldBuilder() { - if (launchPlanIdBuilder_ == null) { - launchPlanIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getLaunchPlanId(), - getParentForChildren(), - isClean()); - launchPlanId_ = null; - } - return launchPlanIdBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.Identifier workflowId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> workflowIdBuilder_; - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public boolean hasWorkflowId() { - return workflowIdBuilder_ != null || workflowId_ != null; - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getWorkflowId() { - if (workflowIdBuilder_ == null) { - return workflowId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } else { - return workflowIdBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public Builder setWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (workflowIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workflowId_ = value; - onChanged(); - } else { - workflowIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public Builder setWorkflowId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (workflowIdBuilder_ == null) { - workflowId_ = builderForValue.build(); - onChanged(); - } else { - workflowIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public Builder mergeWorkflowId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (workflowIdBuilder_ == null) { - if (workflowId_ != null) { - workflowId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(workflowId_).mergeFrom(value).buildPartial(); - } else { - workflowId_ = value; - } - onChanged(); - } else { - workflowIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public Builder clearWorkflowId() { - if (workflowIdBuilder_ == null) { - workflowId_ = null; - onChanged(); - } else { - workflowId_ = null; - workflowIdBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getWorkflowIdBuilder() { - - onChanged(); - return getWorkflowIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBuilder() { - if (workflowIdBuilder_ != null) { - return workflowIdBuilder_.getMessageOrBuilder(); - } else { - return workflowId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : workflowId_; - } - } - /** - * .flyteidl.core.Identifier workflow_id = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getWorkflowIdFieldBuilder() { - if (workflowIdBuilder_ == null) { - workflowIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getWorkflowId(), - getParentForChildren(), - isClean()); - workflowId_ = null; - } - return workflowIdBuilder_; - } - - private java.util.List artifactIds_ = - java.util.Collections.emptyList(); - private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> artifactIdsBuilder_; - - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List getArtifactIdsList() { - if (artifactIdsBuilder_ == null) { - return java.util.Collections.unmodifiableList(artifactIds_); - } else { - return artifactIdsBuilder_.getMessageList(); - } - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public int getArtifactIdsCount() { - if (artifactIdsBuilder_ == null) { - return artifactIds_.size(); - } else { - return artifactIdsBuilder_.getCount(); - } - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); - } else { - return artifactIdsBuilder_.getMessage(index); - } - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, value); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder setArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.set(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID value) { - if (artifactIdsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, value); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds( - flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addArtifactIds( - int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.add(index, builderForValue.build()); - onChanged(); - } else { - artifactIdsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder addAllArtifactIds( - java.lang.Iterable values) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifactIds_); - onChanged(); - } else { - artifactIdsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder clearArtifactIds() { - if (artifactIdsBuilder_ == null) { - artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - artifactIdsBuilder_.clear(); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public Builder removeArtifactIds(int index) { - if (artifactIdsBuilder_ == null) { - ensureArtifactIdsIsMutable(); - artifactIds_.remove(index); - onChanged(); - } else { - artifactIdsBuilder_.remove(index); - } - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().getBuilder(index); - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( - int index) { - if (artifactIdsBuilder_ == null) { - return artifactIds_.get(index); } else { - return artifactIdsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List - getArtifactIdsOrBuilderList() { - if (artifactIdsBuilder_ != null) { - return artifactIdsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(artifactIds_); - } - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { - return getArtifactIdsFieldBuilder().addBuilder( - flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( - int index) { - return getArtifactIdsFieldBuilder().addBuilder( - index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); - } - /** - *
-       * Artifact inputs to the workflow execution for which we have the full Artifact ID. These are likely the result of artifact queries that are run.
-       * 
- * - * repeated .flyteidl.core.ArtifactID artifact_ids = 4; - */ - public java.util.List - getArtifactIdsBuilderList() { - return getArtifactIdsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> - getArtifactIdsFieldBuilder() { - if (artifactIdsBuilder_ == null) { - artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( - artifactIds_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - artifactIds_ = null; - } - return artifactIdsBuilder_; - } - - private com.google.protobuf.LazyStringList artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureArtifactTrackersIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - artifactTrackers_ = new com.google.protobuf.LazyStringArrayList(artifactTrackers_); - bitField0_ |= 0x00000010; - } - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public com.google.protobuf.ProtocolStringList - getArtifactTrackersList() { - return artifactTrackers_.getUnmodifiableView(); - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public int getArtifactTrackersCount() { - return artifactTrackers_.size(); - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public java.lang.String getArtifactTrackers(int index) { - return artifactTrackers_.get(index); - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public com.google.protobuf.ByteString - getArtifactTrackersBytes(int index) { - return artifactTrackers_.getByteString(index); - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public Builder setArtifactTrackers( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactTrackersIsMutable(); - artifactTrackers_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public Builder addArtifactTrackers( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArtifactTrackersIsMutable(); - artifactTrackers_.add(value); - onChanged(); - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public Builder addAllArtifactTrackers( - java.lang.Iterable values) { - ensureArtifactTrackersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifactTrackers_); - onChanged(); - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public Builder clearArtifactTrackers() { - artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - /** - *
-       * Artifact inputs to the workflow execution for which we only have the tracking bit that's installed into the Literal's metadata by the Artifact service.
-       * 
- * - * repeated string artifact_trackers = 5; - */ - public Builder addArtifactTrackersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureArtifactTrackersIsMutable(); - artifactTrackers_.add(value); - onChanged(); - return this; - } - - private java.lang.Object principal_ = ""; - /** - * string principal = 6; - */ - public java.lang.String getPrincipal() { - java.lang.Object ref = principal_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - principal_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string principal = 6; - */ - public com.google.protobuf.ByteString - getPrincipalBytes() { - java.lang.Object ref = principal_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - principal_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string principal = 6; - */ - public Builder setPrincipal( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - principal_ = value; - onChanged(); - return this; - } - /** - * string principal = 6; - */ - public Builder clearPrincipal() { - - principal_ = getDefaultInstance().getPrincipal(); - onChanged(); - return this; - } - /** - * string principal = 6; - */ - public Builder setPrincipalBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - principal_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.event.CloudEventExecutionStart) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.CloudEventExecutionStart) - private static final flyteidl.event.Cloudevents.CloudEventExecutionStart DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Cloudevents.CloudEventExecutionStart(); - } - - public static flyteidl.event.Cloudevents.CloudEventExecutionStart getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudEventExecutionStart parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudEventExecutionStart(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.event.Cloudevents.CloudEventExecutionStart getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_CloudEventNodeExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_CloudEventTaskExecution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_CloudEventExecutionStart_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n flyteidl/event/cloudevents.proto\022\016flyt" + - "eidl.event\032\032flyteidl/event/event.proto\032\034" + - "flyteidl/core/literals.proto\032\035flyteidl/c" + - "ore/interface.proto\032\037flyteidl/core/artif" + - "act_id.proto\032\036flyteidl/core/identifier.p" + - "roto\032\037google/protobuf/timestamp.proto\"\321\002" + - "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" + - "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" + - "ionEvent\0227\n\020output_interface\030\002 \001(\0132\035.fly" + - "teidl.core.TypedInterface\022/\n\014artifact_id" + - "s\030\003 \003(\0132\031.flyteidl.core.ArtifactID\022G\n\023re" + - "ference_execution\030\004 \001(\0132*.flyteidl.core." + - "WorkflowExecutionIdentifier\022\021\n\tprincipal" + - "\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flyteid" + - "l.core.Identifier\"\276\002\n\027CloudEventNodeExec" + - "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" + - "t.NodeExecutionEvent\022<\n\014task_exec_id\030\002 \001" + - "(\0132&.flyteidl.core.TaskExecutionIdentifi" + - "er\0227\n\020output_interface\030\003 \001(\0132\035.flyteidl." + - "core.TypedInterface\022/\n\014artifact_ids\030\004 \003(" + - "\0132\031.flyteidl.core.ArtifactID\022\021\n\tprincipa" + - "l\030\005 \001(\t\0221\n\016launch_plan_id\030\006 \001(\0132\031.flytei" + - "dl.core.Identifier\"P\n\027CloudEventTaskExec" + - "ution\0225\n\traw_event\030\001 \001(\0132\".flyteidl.even" + - "t.TaskExecutionEvent\"\236\002\n\030CloudEventExecu" + - "tionStart\022@\n\014execution_id\030\001 \001(\0132*.flytei" + - "dl.core.WorkflowExecutionIdentifier\0221\n\016l" + - "aunch_plan_id\030\002 \001(\0132\031.flyteidl.core.Iden" + - "tifier\022.\n\013workflow_id\030\003 \001(\0132\031.flyteidl.c" + - "ore.Identifier\022/\n\014artifact_ids\030\004 \003(\0132\031.f" + - "lyteidl.core.ArtifactID\022\031\n\021artifact_trac" + - "kers\030\005 \003(\t\022\021\n\tprincipal\030\006 \001(\tB=Z;github." + - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + - "yteidl/eventb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.event.Event.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - flyteidl.core.Interface.getDescriptor(), - flyteidl.core.ArtifactId.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor, - new java.lang.String[] { "RawEvent", "OutputInterface", "ArtifactIds", "ReferenceExecution", "Principal", "LaunchPlanId", }); - internal_static_flyteidl_event_CloudEventNodeExecution_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_event_CloudEventNodeExecution_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_CloudEventNodeExecution_descriptor, - new java.lang.String[] { "RawEvent", "TaskExecId", "OutputInterface", "ArtifactIds", "Principal", "LaunchPlanId", }); - internal_static_flyteidl_event_CloudEventTaskExecution_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_event_CloudEventTaskExecution_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_CloudEventTaskExecution_descriptor, - new java.lang.String[] { "RawEvent", }); - internal_static_flyteidl_event_CloudEventExecutionStart_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_event_CloudEventExecutionStart_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_CloudEventExecutionStart_descriptor, - new java.lang.String[] { "ExecutionId", "LaunchPlanId", "WorkflowId", "ArtifactIds", "ArtifactTrackers", "Principal", }); - flyteidl.event.Event.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - flyteidl.core.Interface.getDescriptor(); - flyteidl.core.ArtifactId.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/event/Event.java b/flyteidl/gen/pb-java/flyteidl/event/Event.java deleted file mode 100644 index 142dd8bc93..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/event/Event.java +++ /dev/null @@ -1,21888 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/event/event.proto - -package flyteidl.event; - -public final class Event { - private Event() {} - 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 WorkflowExecutionEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.WorkflowExecutionEvent) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Workflow execution id
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - boolean hasExecutionId(); - /** - *
-     * Workflow execution id
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId(); - /** - *
-     * Workflow execution id
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder(); - - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - java.lang.String getProducerId(); - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - com.google.protobuf.ByteString - getProducerIdBytes(); - - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - int getPhaseValue(); - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - flyteidl.core.Execution.WorkflowExecution.Phase getPhase(); - - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the workflow.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - boolean hasOccurredAt(); - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the workflow.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - com.google.protobuf.Timestamp getOccurredAt(); - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the workflow.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder(); - - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 5; - */ - java.lang.String getOutputUri(); - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 5; - */ - com.google.protobuf.ByteString - getOutputUriBytes(); - - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - boolean hasError(); - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - flyteidl.core.Execution.ExecutionError getError(); - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder(); - - /** - *
-     * Raw output data produced by this workflow execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - boolean hasOutputData(); - /** - *
-     * Raw output data produced by this workflow execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Raw output data produced by this workflow execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - public flyteidl.event.Event.WorkflowExecutionEvent.OutputResultCase getOutputResultCase(); - } - /** - * Protobuf type {@code flyteidl.event.WorkflowExecutionEvent} - */ - public static final class WorkflowExecutionEvent extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.WorkflowExecutionEvent) - WorkflowExecutionEventOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowExecutionEvent.newBuilder() to construct. - private WorkflowExecutionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowExecutionEvent() { - producerId_ = ""; - phase_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowExecutionEvent( - 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 (executionId_ != null) { - subBuilder = executionId_.toBuilder(); - } - executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionId_); - executionId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - producerId_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (occurredAt_ != null) { - subBuilder = occurredAt_.toBuilder(); - } - occurredAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(occurredAt_); - occurredAt_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - outputResultCase_ = 5; - outputResult_ = s; - break; - } - case 50: { - flyteidl.core.Execution.ExecutionError.Builder subBuilder = null; - if (outputResultCase_ == 6) { - subBuilder = ((flyteidl.core.Execution.ExecutionError) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Execution.ExecutionError.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.ExecutionError) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 6; - break; - } - case 58: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputResultCase_ == 7) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 7; - 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.event.Event.internal_static_flyteidl_event_WorkflowExecutionEvent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowExecutionEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.WorkflowExecutionEvent.class, flyteidl.event.Event.WorkflowExecutionEvent.Builder.class); - } - - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public enum OutputResultCase - implements com.google.protobuf.Internal.EnumLite { - OUTPUT_URI(5), - ERROR(6), - OUTPUT_DATA(7), - OUTPUTRESULT_NOT_SET(0); - private final int value; - private OutputResultCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OutputResultCase valueOf(int value) { - return forNumber(value); - } - - public static OutputResultCase forNumber(int value) { - switch (value) { - case 5: return OUTPUT_URI; - case 6: return ERROR; - case 7: return OUTPUT_DATA; - case 0: return OUTPUTRESULT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public static final int EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - /** - *
-     * Workflow execution id
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public boolean hasExecutionId() { - return executionId_ != null; - } - /** - *
-     * Workflow execution id
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - /** - *
-     * Workflow execution id
-     * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - return getExecutionId(); - } - - public static final int PRODUCER_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object producerId_; - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - public java.lang.String getProducerId() { - java.lang.Object ref = producerId_; - 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(); - producerId_ = s; - return s; - } - } - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - public com.google.protobuf.ByteString - getProducerIdBytes() { - java.lang.Object ref = producerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - producerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PHASE_FIELD_NUMBER = 3; - private int phase_; - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.WorkflowExecution.Phase result = flyteidl.core.Execution.WorkflowExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.WorkflowExecution.Phase.UNRECOGNIZED : result; - } - - public static final int OCCURRED_AT_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp occurredAt_; - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the workflow.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public boolean hasOccurredAt() { - return occurredAt_ != null; - } - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the workflow.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the workflow.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - return getOccurredAt(); - } - - public static final int OUTPUT_URI_FIELD_NUMBER = 5; - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 5; - */ - public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 5) { - ref = outputResult_; - } - 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 (outputResultCase_ == 5) { - outputResult_ = s; - } - return s; - } - } - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 5; - */ - public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 5) { - ref = outputResult_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 5) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_FIELD_NUMBER = 6; - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public boolean hasError() { - return outputResultCase_ == 6; - } - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (outputResultCase_ == 6) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if (outputResultCase_ == 6) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - - public static final int OUTPUT_DATA_FIELD_NUMBER = 7; - /** - *
-     * Raw output data produced by this workflow execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public boolean hasOutputData() { - return outputResultCase_ == 7; - } - /** - *
-     * Raw output data produced by this workflow execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputResultCase_ == 7) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw output data produced by this workflow execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputResultCase_ == 7) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.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 (executionId_ != null) { - output.writeMessage(1, getExecutionId()); - } - if (!getProducerIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, producerId_); - } - if (phase_ != flyteidl.core.Execution.WorkflowExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(3, phase_); - } - if (occurredAt_ != null) { - output.writeMessage(4, getOccurredAt()); - } - if (outputResultCase_ == 5) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, outputResult_); - } - if (outputResultCase_ == 6) { - output.writeMessage(6, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (outputResultCase_ == 7) { - output.writeMessage(7, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (executionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExecutionId()); - } - if (!getProducerIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, producerId_); - } - if (phase_ != flyteidl.core.Execution.WorkflowExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, phase_); - } - if (occurredAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getOccurredAt()); - } - if (outputResultCase_ == 5) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputResult_); - } - if (outputResultCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (outputResultCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - 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.event.Event.WorkflowExecutionEvent)) { - return super.equals(obj); - } - flyteidl.event.Event.WorkflowExecutionEvent other = (flyteidl.event.Event.WorkflowExecutionEvent) obj; - - if (hasExecutionId() != other.hasExecutionId()) return false; - if (hasExecutionId()) { - if (!getExecutionId() - .equals(other.getExecutionId())) return false; - } - if (!getProducerId() - .equals(other.getProducerId())) return false; - if (phase_ != other.phase_) return false; - if (hasOccurredAt() != other.hasOccurredAt()) return false; - if (hasOccurredAt()) { - if (!getOccurredAt() - .equals(other.getOccurredAt())) return false; - } - if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; - switch (outputResultCase_) { - case 5: - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - break; - case 6: - if (!getError() - .equals(other.getError())) return false; - break; - case 7: - if (!getOutputData() - .equals(other.getOutputData())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExecutionId()) { - hash = (37 * hash) + EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getExecutionId().hashCode(); - } - hash = (37 * hash) + PRODUCER_ID_FIELD_NUMBER; - hash = (53 * hash) + getProducerId().hashCode(); - hash = (37 * hash) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - if (hasOccurredAt()) { - hash = (37 * hash) + OCCURRED_AT_FIELD_NUMBER; - hash = (53 * hash) + getOccurredAt().hashCode(); - } - switch (outputResultCase_) { - case 5: - hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getOutputUri().hashCode(); - break; - case 6: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 7: - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.WorkflowExecutionEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.WorkflowExecutionEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.WorkflowExecutionEvent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.WorkflowExecutionEvent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.WorkflowExecutionEvent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.WorkflowExecutionEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.WorkflowExecutionEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.WorkflowExecutionEvent 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.event.Event.WorkflowExecutionEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.WorkflowExecutionEvent 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.event.Event.WorkflowExecutionEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.WorkflowExecutionEvent 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.event.Event.WorkflowExecutionEvent 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.event.WorkflowExecutionEvent} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.WorkflowExecutionEvent) - flyteidl.event.Event.WorkflowExecutionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowExecutionEvent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowExecutionEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.WorkflowExecutionEvent.class, flyteidl.event.Event.WorkflowExecutionEvent.Builder.class); - } - - // Construct using flyteidl.event.Event.WorkflowExecutionEvent.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 (executionIdBuilder_ == null) { - executionId_ = null; - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - producerId_ = ""; - - phase_ = 0; - - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - outputResultCase_ = 0; - outputResult_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowExecutionEvent_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.WorkflowExecutionEvent getDefaultInstanceForType() { - return flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.WorkflowExecutionEvent build() { - flyteidl.event.Event.WorkflowExecutionEvent result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.WorkflowExecutionEvent buildPartial() { - flyteidl.event.Event.WorkflowExecutionEvent result = new flyteidl.event.Event.WorkflowExecutionEvent(this); - if (executionIdBuilder_ == null) { - result.executionId_ = executionId_; - } else { - result.executionId_ = executionIdBuilder_.build(); - } - result.producerId_ = producerId_; - result.phase_ = phase_; - if (occurredAtBuilder_ == null) { - result.occurredAt_ = occurredAt_; - } else { - result.occurredAt_ = occurredAtBuilder_.build(); - } - if (outputResultCase_ == 5) { - result.outputResult_ = outputResult_; - } - if (outputResultCase_ == 6) { - if (errorBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = errorBuilder_.build(); - } - } - if (outputResultCase_ == 7) { - if (outputDataBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = outputDataBuilder_.build(); - } - } - result.outputResultCase_ = outputResultCase_; - 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.event.Event.WorkflowExecutionEvent) { - return mergeFrom((flyteidl.event.Event.WorkflowExecutionEvent)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.WorkflowExecutionEvent other) { - if (other == flyteidl.event.Event.WorkflowExecutionEvent.getDefaultInstance()) return this; - if (other.hasExecutionId()) { - mergeExecutionId(other.getExecutionId()); - } - if (!other.getProducerId().isEmpty()) { - producerId_ = other.producerId_; - onChanged(); - } - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (other.hasOccurredAt()) { - mergeOccurredAt(other.getOccurredAt()); - } - switch (other.getOutputResultCase()) { - case OUTPUT_URI: { - outputResultCase_ = 5; - outputResult_ = other.outputResult_; - onChanged(); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case OUTPUT_DATA: { - mergeOutputData(other.getOutputData()); - break; - } - case OUTPUTRESULT_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.event.Event.WorkflowExecutionEvent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.WorkflowExecutionEvent) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public Builder clearOutputResult() { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - return this; - } - - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_; - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public boolean hasExecutionId() { - return executionIdBuilder_ != null || executionId_ != null; - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - if (executionIdBuilder_ == null) { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } else { - return executionIdBuilder_.getMessage(); - } - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - executionId_ = value; - onChanged(); - } else { - executionIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder setExecutionId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (executionIdBuilder_ == null) { - executionId_ = builderForValue.build(); - onChanged(); - } else { - executionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (executionId_ != null) { - executionId_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial(); - } else { - executionId_ = value; - } - onChanged(); - } else { - executionIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder clearExecutionId() { - if (executionIdBuilder_ == null) { - executionId_ = null; - onChanged(); - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() { - - onChanged(); - return getExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - if (executionIdBuilder_ != null) { - return executionIdBuilder_.getMessageOrBuilder(); - } else { - return executionId_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - } - /** - *
-       * Workflow execution id
-       * 
- * - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getExecutionIdFieldBuilder() { - if (executionIdBuilder_ == null) { - executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getExecutionId(), - getParentForChildren(), - isClean()); - executionId_ = null; - } - return executionIdBuilder_; - } - - private java.lang.Object producerId_ = ""; - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public java.lang.String getProducerId() { - java.lang.Object ref = producerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - producerId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public com.google.protobuf.ByteString - getProducerIdBytes() { - java.lang.Object ref = producerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - producerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public Builder setProducerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - producerId_ = value; - onChanged(); - return this; - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public Builder clearProducerId() { - - producerId_ = getDefaultInstance().getProducerId(); - onChanged(); - return this; - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public Builder setProducerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - producerId_ = value; - onChanged(); - return this; - } - - private int phase_ = 0; - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.WorkflowExecution.Phase result = flyteidl.core.Execution.WorkflowExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.WorkflowExecution.Phase.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - public Builder setPhase(flyteidl.core.Execution.WorkflowExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 3; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp occurredAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_; - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public boolean hasOccurredAt() { - return occurredAtBuilder_ != null || occurredAt_ != null; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - if (occurredAtBuilder_ == null) { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } else { - return occurredAtBuilder_.getMessage(); - } - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder setOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - occurredAt_ = value; - onChanged(); - } else { - occurredAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder setOccurredAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (occurredAtBuilder_ == null) { - occurredAt_ = builderForValue.build(); - onChanged(); - } else { - occurredAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder mergeOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (occurredAt_ != null) { - occurredAt_ = - com.google.protobuf.Timestamp.newBuilder(occurredAt_).mergeFrom(value).buildPartial(); - } else { - occurredAt_ = value; - } - onChanged(); - } else { - occurredAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder clearOccurredAt() { - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - onChanged(); - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder() { - - onChanged(); - return getOccurredAtFieldBuilder().getBuilder(); - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - if (occurredAtBuilder_ != null) { - return occurredAtBuilder_.getMessageOrBuilder(); - } else { - return occurredAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the workflow.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getOccurredAtFieldBuilder() { - if (occurredAtBuilder_ == null) { - occurredAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOccurredAt(), - getParentForChildren(), - isClean()); - occurredAt_ = null; - } - return occurredAtBuilder_; - } - - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 5; - */ - public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 5) { - ref = outputResult_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (outputResultCase_ == 5) { - outputResult_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 5; - */ - public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 5) { - ref = outputResult_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 5) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 5; - */ - public Builder setOutputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - outputResultCase_ = 5; - outputResult_ = value; - onChanged(); - return this; - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 5; - */ - public Builder clearOutputUri() { - if (outputResultCase_ == 5) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - return this; - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 5; - */ - public Builder setOutputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - outputResultCase_ = 5; - outputResult_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> errorBuilder_; - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public boolean hasError() { - return outputResultCase_ == 6; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 6) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } else { - if (outputResultCase_ == 6) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public Builder setError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - outputResultCase_ = 6; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public Builder setError( - flyteidl.core.Execution.ExecutionError.Builder builderForValue) { - if (errorBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 6; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public Builder mergeError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (outputResultCase_ == 6 && - outputResult_ != flyteidl.core.Execution.ExecutionError.getDefaultInstance()) { - outputResult_ = flyteidl.core.Execution.ExecutionError.newBuilder((flyteidl.core.Execution.ExecutionError) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 6) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - outputResultCase_ = 6; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 6) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 6) { - outputResultCase_ = 0; - outputResult_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if ((outputResultCase_ == 6) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 6) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(outputResultCase_ == 6)) { - outputResult_ = flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder>( - (flyteidl.core.Execution.ExecutionError) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 6; - onChanged();; - return errorBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public boolean hasOutputData() { - return outputResultCase_ == 7; - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 7) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (outputResultCase_ == 7) { - return outputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 7; - return this; - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 7; - return this; - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 7 && - outputResult_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - outputResult_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 7) { - outputDataBuilder_.mergeFrom(value); - } - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 7; - return this; - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 7) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 7) { - outputResultCase_ = 0; - outputResult_ = null; - } - outputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if ((outputResultCase_ == 7) && (outputDataBuilder_ != null)) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 7) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this workflow execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - if (!(outputResultCase_ == 7)) { - outputResult_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 7; - onChanged();; - return outputDataBuilder_; - } - @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.event.WorkflowExecutionEvent) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.WorkflowExecutionEvent) - private static final flyteidl.event.Event.WorkflowExecutionEvent DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.WorkflowExecutionEvent(); - } - - public static flyteidl.event.Event.WorkflowExecutionEvent getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowExecutionEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowExecutionEvent(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.event.Event.WorkflowExecutionEvent getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeExecutionEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.NodeExecutionEvent) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique identifier for this node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * Unique identifier for this node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId(); - /** - *
-     * Unique identifier for this node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - java.lang.String getProducerId(); - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - com.google.protobuf.ByteString - getProducerIdBytes(); - - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - int getPhaseValue(); - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - flyteidl.core.Execution.NodeExecution.Phase getPhase(); - - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the node.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - boolean hasOccurredAt(); - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the node.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - com.google.protobuf.Timestamp getOccurredAt(); - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the node.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder(); - - /** - * string input_uri = 5; - */ - java.lang.String getInputUri(); - /** - * string input_uri = 5; - */ - com.google.protobuf.ByteString - getInputUriBytes(); - - /** - *
-     * Raw input data consumed by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - boolean hasInputData(); - /** - *
-     * Raw input data consumed by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - flyteidl.core.Literals.LiteralMap getInputData(); - /** - *
-     * Raw input data consumed by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); - - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 6; - */ - java.lang.String getOutputUri(); - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 6; - */ - com.google.protobuf.ByteString - getOutputUriBytes(); - - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - boolean hasError(); - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - flyteidl.core.Execution.ExecutionError getError(); - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder(); - - /** - *
-     * Raw output data produced by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - boolean hasOutputData(); - /** - *
-     * Raw output data produced by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Raw output data produced by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - boolean hasWorkflowNodeMetadata(); - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - flyteidl.event.Event.WorkflowNodeMetadata getWorkflowNodeMetadata(); - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - flyteidl.event.Event.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder(); - - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - boolean hasTaskNodeMetadata(); - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - flyteidl.event.Event.TaskNodeMetadata getTaskNodeMetadata(); - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - flyteidl.event.Event.TaskNodeMetadataOrBuilder getTaskNodeMetadataOrBuilder(); - - /** - *
-     * [To be deprecated] Specifies which task (if any) launched this node.
-     * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - boolean hasParentTaskMetadata(); - /** - *
-     * [To be deprecated] Specifies which task (if any) launched this node.
-     * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - flyteidl.event.Event.ParentTaskExecutionMetadata getParentTaskMetadata(); - /** - *
-     * [To be deprecated] Specifies which task (if any) launched this node.
-     * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - flyteidl.event.Event.ParentTaskExecutionMetadataOrBuilder getParentTaskMetadataOrBuilder(); - - /** - *
-     * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-     * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - boolean hasParentNodeMetadata(); - /** - *
-     * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-     * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - flyteidl.event.Event.ParentNodeExecutionMetadata getParentNodeMetadata(); - /** - *
-     * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-     * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - flyteidl.event.Event.ParentNodeExecutionMetadataOrBuilder getParentNodeMetadataOrBuilder(); - - /** - *
-     * Retry group to indicate grouping of nodes by retries
-     * 
- * - * string retry_group = 11; - */ - java.lang.String getRetryGroup(); - /** - *
-     * Retry group to indicate grouping of nodes by retries
-     * 
- * - * string retry_group = 11; - */ - com.google.protobuf.ByteString - getRetryGroupBytes(); - - /** - *
-     * Identifier of the node in the original workflow/graph
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 12; - */ - java.lang.String getSpecNodeId(); - /** - *
-     * Identifier of the node in the original workflow/graph
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 12; - */ - com.google.protobuf.ByteString - getSpecNodeIdBytes(); - - /** - *
-     * Friendly readable name for the node
-     * 
- * - * string node_name = 13; - */ - java.lang.String getNodeName(); - /** - *
-     * Friendly readable name for the node
-     * 
- * - * string node_name = 13; - */ - com.google.protobuf.ByteString - getNodeNameBytes(); - - /** - * int32 event_version = 16; - */ - int getEventVersion(); - - /** - *
-     * Whether this node launched a subworkflow.
-     * 
- * - * bool is_parent = 17; - */ - boolean getIsParent(); - - /** - *
-     * Whether this node yielded a dynamic workflow.
-     * 
- * - * bool is_dynamic = 18; - */ - boolean getIsDynamic(); - - /** - *
-     * String location uniquely identifying where the deck HTML file is
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 19; - */ - java.lang.String getDeckUri(); - /** - *
-     * String location uniquely identifying where the deck HTML file is
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 19; - */ - com.google.protobuf.ByteString - getDeckUriBytes(); - - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example,
-     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-     * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - boolean hasReportedAt(); - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example,
-     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-     * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - com.google.protobuf.Timestamp getReportedAt(); - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example,
-     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-     * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder(); - - /** - *
-     * Indicates if this node is an ArrayNode.
-     * 
- * - * bool is_array = 22; - */ - boolean getIsArray(); - - public flyteidl.event.Event.NodeExecutionEvent.InputValueCase getInputValueCase(); - - public flyteidl.event.Event.NodeExecutionEvent.OutputResultCase getOutputResultCase(); - - public flyteidl.event.Event.NodeExecutionEvent.TargetMetadataCase getTargetMetadataCase(); - } - /** - * Protobuf type {@code flyteidl.event.NodeExecutionEvent} - */ - public static final class NodeExecutionEvent extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.NodeExecutionEvent) - NodeExecutionEventOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeExecutionEvent.newBuilder() to construct. - private NodeExecutionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeExecutionEvent() { - producerId_ = ""; - phase_ = 0; - retryGroup_ = ""; - specNodeId_ = ""; - nodeName_ = ""; - deckUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeExecutionEvent( - 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.NodeExecutionIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - producerId_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (occurredAt_ != null) { - subBuilder = occurredAt_.toBuilder(); - } - occurredAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(occurredAt_); - occurredAt_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - inputValueCase_ = 5; - inputValue_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - outputResultCase_ = 6; - outputResult_ = s; - break; - } - case 58: { - flyteidl.core.Execution.ExecutionError.Builder subBuilder = null; - if (outputResultCase_ == 7) { - subBuilder = ((flyteidl.core.Execution.ExecutionError) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Execution.ExecutionError.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.ExecutionError) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 7; - break; - } - case 66: { - flyteidl.event.Event.WorkflowNodeMetadata.Builder subBuilder = null; - if (targetMetadataCase_ == 8) { - subBuilder = ((flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_).toBuilder(); - } - targetMetadata_ = - input.readMessage(flyteidl.event.Event.WorkflowNodeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_); - targetMetadata_ = subBuilder.buildPartial(); - } - targetMetadataCase_ = 8; - break; - } - case 74: { - flyteidl.event.Event.ParentTaskExecutionMetadata.Builder subBuilder = null; - if (parentTaskMetadata_ != null) { - subBuilder = parentTaskMetadata_.toBuilder(); - } - parentTaskMetadata_ = input.readMessage(flyteidl.event.Event.ParentTaskExecutionMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(parentTaskMetadata_); - parentTaskMetadata_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - flyteidl.event.Event.ParentNodeExecutionMetadata.Builder subBuilder = null; - if (parentNodeMetadata_ != null) { - subBuilder = parentNodeMetadata_.toBuilder(); - } - parentNodeMetadata_ = input.readMessage(flyteidl.event.Event.ParentNodeExecutionMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(parentNodeMetadata_); - parentNodeMetadata_ = subBuilder.buildPartial(); - } - - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - - retryGroup_ = s; - break; - } - case 98: { - java.lang.String s = input.readStringRequireUtf8(); - - specNodeId_ = s; - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - - nodeName_ = s; - break; - } - case 114: { - flyteidl.event.Event.TaskNodeMetadata.Builder subBuilder = null; - if (targetMetadataCase_ == 14) { - subBuilder = ((flyteidl.event.Event.TaskNodeMetadata) targetMetadata_).toBuilder(); - } - targetMetadata_ = - input.readMessage(flyteidl.event.Event.TaskNodeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.event.Event.TaskNodeMetadata) targetMetadata_); - targetMetadata_ = subBuilder.buildPartial(); - } - targetMetadataCase_ = 14; - break; - } - case 122: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputResultCase_ == 15) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 15; - break; - } - case 128: { - - eventVersion_ = input.readInt32(); - break; - } - case 136: { - - isParent_ = input.readBool(); - break; - } - case 144: { - - isDynamic_ = input.readBool(); - break; - } - case 154: { - java.lang.String s = input.readStringRequireUtf8(); - - deckUri_ = s; - break; - } - case 162: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputValueCase_ == 20) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) inputValue_).toBuilder(); - } - inputValue_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) inputValue_); - inputValue_ = subBuilder.buildPartial(); - } - inputValueCase_ = 20; - break; - } - case 170: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (reportedAt_ != null) { - subBuilder = reportedAt_.toBuilder(); - } - reportedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reportedAt_); - reportedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 176: { - - isArray_ = input.readBool(); - 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.event.Event.internal_static_flyteidl_event_NodeExecutionEvent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_NodeExecutionEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.NodeExecutionEvent.class, flyteidl.event.Event.NodeExecutionEvent.Builder.class); - } - - private int inputValueCase_ = 0; - private java.lang.Object inputValue_; - public enum InputValueCase - implements com.google.protobuf.Internal.EnumLite { - INPUT_URI(5), - INPUT_DATA(20), - INPUTVALUE_NOT_SET(0); - private final int value; - private InputValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static InputValueCase valueOf(int value) { - return forNumber(value); - } - - public static InputValueCase forNumber(int value) { - switch (value) { - case 5: return INPUT_URI; - case 20: return INPUT_DATA; - case 0: return INPUTVALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public InputValueCase - getInputValueCase() { - return InputValueCase.forNumber( - inputValueCase_); - } - - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public enum OutputResultCase - implements com.google.protobuf.Internal.EnumLite { - OUTPUT_URI(6), - ERROR(7), - OUTPUT_DATA(15), - OUTPUTRESULT_NOT_SET(0); - private final int value; - private OutputResultCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OutputResultCase valueOf(int value) { - return forNumber(value); - } - - public static OutputResultCase forNumber(int value) { - switch (value) { - case 6: return OUTPUT_URI; - case 7: return ERROR; - case 15: return OUTPUT_DATA; - case 0: return OUTPUTRESULT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - private int targetMetadataCase_ = 0; - private java.lang.Object targetMetadata_; - public enum TargetMetadataCase - implements com.google.protobuf.Internal.EnumLite { - WORKFLOW_NODE_METADATA(8), - TASK_NODE_METADATA(14), - TARGETMETADATA_NOT_SET(0); - private final int value; - private TargetMetadataCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TargetMetadataCase valueOf(int value) { - return forNumber(value); - } - - public static TargetMetadataCase forNumber(int value) { - switch (value) { - case 8: return WORKFLOW_NODE_METADATA; - case 14: return TASK_NODE_METADATA; - case 0: return TARGETMETADATA_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public TargetMetadataCase - getTargetMetadataCase() { - return TargetMetadataCase.forNumber( - targetMetadataCase_); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - /** - *
-     * Unique identifier for this node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * Unique identifier for this node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - /** - *
-     * Unique identifier for this node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int PRODUCER_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object producerId_; - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - public java.lang.String getProducerId() { - java.lang.Object ref = producerId_; - 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(); - producerId_ = s; - return s; - } - } - /** - *
-     * the id of the originator (Propeller) of the event
-     * 
- * - * string producer_id = 2; - */ - public com.google.protobuf.ByteString - getProducerIdBytes() { - java.lang.Object ref = producerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - producerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PHASE_FIELD_NUMBER = 3; - private int phase_; - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.NodeExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.NodeExecution.Phase result = flyteidl.core.Execution.NodeExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.NodeExecution.Phase.UNRECOGNIZED : result; - } - - public static final int OCCURRED_AT_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp occurredAt_; - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the node.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public boolean hasOccurredAt() { - return occurredAt_ != null; - } - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the node.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the node.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - return getOccurredAt(); - } - - public static final int INPUT_URI_FIELD_NUMBER = 5; - /** - * string input_uri = 5; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = ""; - if (inputValueCase_ == 5) { - ref = inputValue_; - } - 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 (inputValueCase_ == 5) { - inputValue_ = s; - } - return s; - } - } - /** - * string input_uri = 5; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = ""; - if (inputValueCase_ == 5) { - ref = inputValue_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (inputValueCase_ == 5) { - inputValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INPUT_DATA_FIELD_NUMBER = 20; - /** - *
-     * Raw input data consumed by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public boolean hasInputData() { - return inputValueCase_ == 20; - } - /** - *
-     * Raw input data consumed by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputValueCase_ == 20) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw input data consumed by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if (inputValueCase_ == 20) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int OUTPUT_URI_FIELD_NUMBER = 6; - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 6; - */ - public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 6) { - ref = outputResult_; - } - 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 (outputResultCase_ == 6) { - outputResult_ = s; - } - return s; - } - } - /** - *
-     * URL to the output of the execution, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 6; - */ - public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 6) { - ref = outputResult_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 6) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_FIELD_NUMBER = 7; - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public boolean hasError() { - return outputResultCase_ == 7; - } - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (outputResultCase_ == 7) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if (outputResultCase_ == 7) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - - public static final int OUTPUT_DATA_FIELD_NUMBER = 15; - /** - *
-     * Raw output data produced by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public boolean hasOutputData() { - return outputResultCase_ == 15; - } - /** - *
-     * Raw output data produced by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputResultCase_ == 15) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw output data produced by this node execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputResultCase_ == 15) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int WORKFLOW_NODE_METADATA_FIELD_NUMBER = 8; - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public boolean hasWorkflowNodeMetadata() { - return targetMetadataCase_ == 8; - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.event.Event.WorkflowNodeMetadata getWorkflowNodeMetadata() { - if (targetMetadataCase_ == 8) { - return (flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance(); - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.event.Event.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder() { - if (targetMetadataCase_ == 8) { - return (flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance(); - } - - public static final int TASK_NODE_METADATA_FIELD_NUMBER = 14; - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public boolean hasTaskNodeMetadata() { - return targetMetadataCase_ == 14; - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public flyteidl.event.Event.TaskNodeMetadata getTaskNodeMetadata() { - if (targetMetadataCase_ == 14) { - return (flyteidl.event.Event.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance(); - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public flyteidl.event.Event.TaskNodeMetadataOrBuilder getTaskNodeMetadataOrBuilder() { - if (targetMetadataCase_ == 14) { - return (flyteidl.event.Event.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance(); - } - - public static final int PARENT_TASK_METADATA_FIELD_NUMBER = 9; - private flyteidl.event.Event.ParentTaskExecutionMetadata parentTaskMetadata_; - /** - *
-     * [To be deprecated] Specifies which task (if any) launched this node.
-     * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public boolean hasParentTaskMetadata() { - return parentTaskMetadata_ != null; - } - /** - *
-     * [To be deprecated] Specifies which task (if any) launched this node.
-     * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public flyteidl.event.Event.ParentTaskExecutionMetadata getParentTaskMetadata() { - return parentTaskMetadata_ == null ? flyteidl.event.Event.ParentTaskExecutionMetadata.getDefaultInstance() : parentTaskMetadata_; - } - /** - *
-     * [To be deprecated] Specifies which task (if any) launched this node.
-     * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public flyteidl.event.Event.ParentTaskExecutionMetadataOrBuilder getParentTaskMetadataOrBuilder() { - return getParentTaskMetadata(); - } - - public static final int PARENT_NODE_METADATA_FIELD_NUMBER = 10; - private flyteidl.event.Event.ParentNodeExecutionMetadata parentNodeMetadata_; - /** - *
-     * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-     * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public boolean hasParentNodeMetadata() { - return parentNodeMetadata_ != null; - } - /** - *
-     * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-     * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public flyteidl.event.Event.ParentNodeExecutionMetadata getParentNodeMetadata() { - return parentNodeMetadata_ == null ? flyteidl.event.Event.ParentNodeExecutionMetadata.getDefaultInstance() : parentNodeMetadata_; - } - /** - *
-     * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-     * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public flyteidl.event.Event.ParentNodeExecutionMetadataOrBuilder getParentNodeMetadataOrBuilder() { - return getParentNodeMetadata(); - } - - public static final int RETRY_GROUP_FIELD_NUMBER = 11; - private volatile java.lang.Object retryGroup_; - /** - *
-     * Retry group to indicate grouping of nodes by retries
-     * 
- * - * string retry_group = 11; - */ - public java.lang.String getRetryGroup() { - java.lang.Object ref = retryGroup_; - 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(); - retryGroup_ = s; - return s; - } - } - /** - *
-     * Retry group to indicate grouping of nodes by retries
-     * 
- * - * string retry_group = 11; - */ - public com.google.protobuf.ByteString - getRetryGroupBytes() { - java.lang.Object ref = retryGroup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - retryGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SPEC_NODE_ID_FIELD_NUMBER = 12; - private volatile java.lang.Object specNodeId_; - /** - *
-     * Identifier of the node in the original workflow/graph
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 12; - */ - public java.lang.String getSpecNodeId() { - java.lang.Object ref = specNodeId_; - 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(); - specNodeId_ = s; - return s; - } - } - /** - *
-     * Identifier of the node in the original workflow/graph
-     * This maps to value of WorkflowTemplate.nodes[X].id
-     * 
- * - * string spec_node_id = 12; - */ - public com.google.protobuf.ByteString - getSpecNodeIdBytes() { - java.lang.Object ref = specNodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - specNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_NAME_FIELD_NUMBER = 13; - private volatile java.lang.Object nodeName_; - /** - *
-     * Friendly readable name for the node
-     * 
- * - * string node_name = 13; - */ - public java.lang.String getNodeName() { - java.lang.Object ref = nodeName_; - 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(); - nodeName_ = s; - return s; - } - } - /** - *
-     * Friendly readable name for the node
-     * 
- * - * string node_name = 13; - */ - public com.google.protobuf.ByteString - getNodeNameBytes() { - java.lang.Object ref = nodeName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EVENT_VERSION_FIELD_NUMBER = 16; - private int eventVersion_; - /** - * int32 event_version = 16; - */ - public int getEventVersion() { - return eventVersion_; - } - - public static final int IS_PARENT_FIELD_NUMBER = 17; - private boolean isParent_; - /** - *
-     * Whether this node launched a subworkflow.
-     * 
- * - * bool is_parent = 17; - */ - public boolean getIsParent() { - return isParent_; - } - - public static final int IS_DYNAMIC_FIELD_NUMBER = 18; - private boolean isDynamic_; - /** - *
-     * Whether this node yielded a dynamic workflow.
-     * 
- * - * bool is_dynamic = 18; - */ - public boolean getIsDynamic() { - return isDynamic_; - } - - public static final int DECK_URI_FIELD_NUMBER = 19; - private volatile java.lang.Object deckUri_; - /** - *
-     * String location uniquely identifying where the deck HTML file is
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 19; - */ - public java.lang.String getDeckUri() { - java.lang.Object ref = deckUri_; - 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(); - deckUri_ = s; - return s; - } - } - /** - *
-     * String location uniquely identifying where the deck HTML file is
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string deck_uri = 19; - */ - public com.google.protobuf.ByteString - getDeckUriBytes() { - java.lang.Object ref = deckUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deckUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REPORTED_AT_FIELD_NUMBER = 21; - private com.google.protobuf.Timestamp reportedAt_; - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example,
-     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-     * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public boolean hasReportedAt() { - return reportedAt_ != null; - } - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example,
-     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-     * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public com.google.protobuf.Timestamp getReportedAt() { - return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; - } - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example,
-     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-     * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { - return getReportedAt(); - } - - public static final int IS_ARRAY_FIELD_NUMBER = 22; - private boolean isArray_; - /** - *
-     * Indicates if this node is an ArrayNode.
-     * 
- * - * bool is_array = 22; - */ - public boolean getIsArray() { - return isArray_; - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (!getProducerIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, producerId_); - } - if (phase_ != flyteidl.core.Execution.NodeExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(3, phase_); - } - if (occurredAt_ != null) { - output.writeMessage(4, getOccurredAt()); - } - if (inputValueCase_ == 5) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, inputValue_); - } - if (outputResultCase_ == 6) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, outputResult_); - } - if (outputResultCase_ == 7) { - output.writeMessage(7, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (targetMetadataCase_ == 8) { - output.writeMessage(8, (flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_); - } - if (parentTaskMetadata_ != null) { - output.writeMessage(9, getParentTaskMetadata()); - } - if (parentNodeMetadata_ != null) { - output.writeMessage(10, getParentNodeMetadata()); - } - if (!getRetryGroupBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, retryGroup_); - } - if (!getSpecNodeIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, specNodeId_); - } - if (!getNodeNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, nodeName_); - } - if (targetMetadataCase_ == 14) { - output.writeMessage(14, (flyteidl.event.Event.TaskNodeMetadata) targetMetadata_); - } - if (outputResultCase_ == 15) { - output.writeMessage(15, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (eventVersion_ != 0) { - output.writeInt32(16, eventVersion_); - } - if (isParent_ != false) { - output.writeBool(17, isParent_); - } - if (isDynamic_ != false) { - output.writeBool(18, isDynamic_); - } - if (!getDeckUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 19, deckUri_); - } - if (inputValueCase_ == 20) { - output.writeMessage(20, (flyteidl.core.Literals.LiteralMap) inputValue_); - } - if (reportedAt_ != null) { - output.writeMessage(21, getReportedAt()); - } - if (isArray_ != false) { - output.writeBool(22, isArray_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (!getProducerIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, producerId_); - } - if (phase_ != flyteidl.core.Execution.NodeExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, phase_); - } - if (occurredAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getOccurredAt()); - } - if (inputValueCase_ == 5) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, inputValue_); - } - if (outputResultCase_ == 6) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, outputResult_); - } - if (outputResultCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (targetMetadataCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_); - } - if (parentTaskMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getParentTaskMetadata()); - } - if (parentNodeMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getParentNodeMetadata()); - } - if (!getRetryGroupBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, retryGroup_); - } - if (!getSpecNodeIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, specNodeId_); - } - if (!getNodeNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, nodeName_); - } - if (targetMetadataCase_ == 14) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, (flyteidl.event.Event.TaskNodeMetadata) targetMetadata_); - } - if (outputResultCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (eventVersion_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(16, eventVersion_); - } - if (isParent_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(17, isParent_); - } - if (isDynamic_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(18, isDynamic_); - } - if (!getDeckUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, deckUri_); - } - if (inputValueCase_ == 20) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, (flyteidl.core.Literals.LiteralMap) inputValue_); - } - if (reportedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getReportedAt()); - } - if (isArray_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(22, isArray_); - } - 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.event.Event.NodeExecutionEvent)) { - return super.equals(obj); - } - flyteidl.event.Event.NodeExecutionEvent other = (flyteidl.event.Event.NodeExecutionEvent) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (!getProducerId() - .equals(other.getProducerId())) return false; - if (phase_ != other.phase_) return false; - if (hasOccurredAt() != other.hasOccurredAt()) return false; - if (hasOccurredAt()) { - if (!getOccurredAt() - .equals(other.getOccurredAt())) return false; - } - if (hasParentTaskMetadata() != other.hasParentTaskMetadata()) return false; - if (hasParentTaskMetadata()) { - if (!getParentTaskMetadata() - .equals(other.getParentTaskMetadata())) return false; - } - if (hasParentNodeMetadata() != other.hasParentNodeMetadata()) return false; - if (hasParentNodeMetadata()) { - if (!getParentNodeMetadata() - .equals(other.getParentNodeMetadata())) return false; - } - if (!getRetryGroup() - .equals(other.getRetryGroup())) return false; - if (!getSpecNodeId() - .equals(other.getSpecNodeId())) return false; - if (!getNodeName() - .equals(other.getNodeName())) return false; - if (getEventVersion() - != other.getEventVersion()) return false; - if (getIsParent() - != other.getIsParent()) return false; - if (getIsDynamic() - != other.getIsDynamic()) return false; - if (!getDeckUri() - .equals(other.getDeckUri())) return false; - if (hasReportedAt() != other.hasReportedAt()) return false; - if (hasReportedAt()) { - if (!getReportedAt() - .equals(other.getReportedAt())) return false; - } - if (getIsArray() - != other.getIsArray()) return false; - if (!getInputValueCase().equals(other.getInputValueCase())) return false; - switch (inputValueCase_) { - case 5: - if (!getInputUri() - .equals(other.getInputUri())) return false; - break; - case 20: - if (!getInputData() - .equals(other.getInputData())) return false; - break; - case 0: - default: - } - if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; - switch (outputResultCase_) { - case 6: - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - break; - case 7: - if (!getError() - .equals(other.getError())) return false; - break; - case 15: - if (!getOutputData() - .equals(other.getOutputData())) return false; - break; - case 0: - default: - } - if (!getTargetMetadataCase().equals(other.getTargetMetadataCase())) return false; - switch (targetMetadataCase_) { - case 8: - if (!getWorkflowNodeMetadata() - .equals(other.getWorkflowNodeMetadata())) return false; - break; - case 14: - if (!getTaskNodeMetadata() - .equals(other.getTaskNodeMetadata())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (37 * hash) + PRODUCER_ID_FIELD_NUMBER; - hash = (53 * hash) + getProducerId().hashCode(); - hash = (37 * hash) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - if (hasOccurredAt()) { - hash = (37 * hash) + OCCURRED_AT_FIELD_NUMBER; - hash = (53 * hash) + getOccurredAt().hashCode(); - } - if (hasParentTaskMetadata()) { - hash = (37 * hash) + PARENT_TASK_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getParentTaskMetadata().hashCode(); - } - if (hasParentNodeMetadata()) { - hash = (37 * hash) + PARENT_NODE_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getParentNodeMetadata().hashCode(); - } - hash = (37 * hash) + RETRY_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getRetryGroup().hashCode(); - hash = (37 * hash) + SPEC_NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getSpecNodeId().hashCode(); - hash = (37 * hash) + NODE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getNodeName().hashCode(); - hash = (37 * hash) + EVENT_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getEventVersion(); - hash = (37 * hash) + IS_PARENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsParent()); - hash = (37 * hash) + IS_DYNAMIC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsDynamic()); - hash = (37 * hash) + DECK_URI_FIELD_NUMBER; - hash = (53 * hash) + getDeckUri().hashCode(); - if (hasReportedAt()) { - hash = (37 * hash) + REPORTED_AT_FIELD_NUMBER; - hash = (53 * hash) + getReportedAt().hashCode(); - } - hash = (37 * hash) + IS_ARRAY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsArray()); - switch (inputValueCase_) { - case 5: - hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getInputUri().hashCode(); - break; - case 20: - hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getInputData().hashCode(); - break; - case 0: - default: - } - switch (outputResultCase_) { - case 6: - hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getOutputUri().hashCode(); - break; - case 7: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 15: - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - break; - case 0: - default: - } - switch (targetMetadataCase_) { - case 8: - hash = (37 * hash) + WORKFLOW_NODE_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowNodeMetadata().hashCode(); - break; - case 14: - hash = (37 * hash) + TASK_NODE_METADATA_FIELD_NUMBER; - hash = (53 * hash) + getTaskNodeMetadata().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.NodeExecutionEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.NodeExecutionEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.NodeExecutionEvent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.NodeExecutionEvent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.NodeExecutionEvent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.NodeExecutionEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.NodeExecutionEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.NodeExecutionEvent 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.event.Event.NodeExecutionEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.NodeExecutionEvent 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.event.Event.NodeExecutionEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.NodeExecutionEvent 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.event.Event.NodeExecutionEvent 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.event.NodeExecutionEvent} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.NodeExecutionEvent) - flyteidl.event.Event.NodeExecutionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_NodeExecutionEvent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_NodeExecutionEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.NodeExecutionEvent.class, flyteidl.event.Event.NodeExecutionEvent.Builder.class); - } - - // Construct using flyteidl.event.Event.NodeExecutionEvent.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - producerId_ = ""; - - phase_ = 0; - - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - if (parentTaskMetadataBuilder_ == null) { - parentTaskMetadata_ = null; - } else { - parentTaskMetadata_ = null; - parentTaskMetadataBuilder_ = null; - } - if (parentNodeMetadataBuilder_ == null) { - parentNodeMetadata_ = null; - } else { - parentNodeMetadata_ = null; - parentNodeMetadataBuilder_ = null; - } - retryGroup_ = ""; - - specNodeId_ = ""; - - nodeName_ = ""; - - eventVersion_ = 0; - - isParent_ = false; - - isDynamic_ = false; - - deckUri_ = ""; - - if (reportedAtBuilder_ == null) { - reportedAt_ = null; - } else { - reportedAt_ = null; - reportedAtBuilder_ = null; - } - isArray_ = false; - - inputValueCase_ = 0; - inputValue_ = null; - outputResultCase_ = 0; - outputResult_ = null; - targetMetadataCase_ = 0; - targetMetadata_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_NodeExecutionEvent_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.NodeExecutionEvent getDefaultInstanceForType() { - return flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.NodeExecutionEvent build() { - flyteidl.event.Event.NodeExecutionEvent result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.NodeExecutionEvent buildPartial() { - flyteidl.event.Event.NodeExecutionEvent result = new flyteidl.event.Event.NodeExecutionEvent(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - result.producerId_ = producerId_; - result.phase_ = phase_; - if (occurredAtBuilder_ == null) { - result.occurredAt_ = occurredAt_; - } else { - result.occurredAt_ = occurredAtBuilder_.build(); - } - if (inputValueCase_ == 5) { - result.inputValue_ = inputValue_; - } - if (inputValueCase_ == 20) { - if (inputDataBuilder_ == null) { - result.inputValue_ = inputValue_; - } else { - result.inputValue_ = inputDataBuilder_.build(); - } - } - if (outputResultCase_ == 6) { - result.outputResult_ = outputResult_; - } - if (outputResultCase_ == 7) { - if (errorBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = errorBuilder_.build(); - } - } - if (outputResultCase_ == 15) { - if (outputDataBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = outputDataBuilder_.build(); - } - } - if (targetMetadataCase_ == 8) { - if (workflowNodeMetadataBuilder_ == null) { - result.targetMetadata_ = targetMetadata_; - } else { - result.targetMetadata_ = workflowNodeMetadataBuilder_.build(); - } - } - if (targetMetadataCase_ == 14) { - if (taskNodeMetadataBuilder_ == null) { - result.targetMetadata_ = targetMetadata_; - } else { - result.targetMetadata_ = taskNodeMetadataBuilder_.build(); - } - } - if (parentTaskMetadataBuilder_ == null) { - result.parentTaskMetadata_ = parentTaskMetadata_; - } else { - result.parentTaskMetadata_ = parentTaskMetadataBuilder_.build(); - } - if (parentNodeMetadataBuilder_ == null) { - result.parentNodeMetadata_ = parentNodeMetadata_; - } else { - result.parentNodeMetadata_ = parentNodeMetadataBuilder_.build(); - } - result.retryGroup_ = retryGroup_; - result.specNodeId_ = specNodeId_; - result.nodeName_ = nodeName_; - result.eventVersion_ = eventVersion_; - result.isParent_ = isParent_; - result.isDynamic_ = isDynamic_; - result.deckUri_ = deckUri_; - if (reportedAtBuilder_ == null) { - result.reportedAt_ = reportedAt_; - } else { - result.reportedAt_ = reportedAtBuilder_.build(); - } - result.isArray_ = isArray_; - result.inputValueCase_ = inputValueCase_; - result.outputResultCase_ = outputResultCase_; - result.targetMetadataCase_ = targetMetadataCase_; - 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.event.Event.NodeExecutionEvent) { - return mergeFrom((flyteidl.event.Event.NodeExecutionEvent)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.NodeExecutionEvent other) { - if (other == flyteidl.event.Event.NodeExecutionEvent.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (!other.getProducerId().isEmpty()) { - producerId_ = other.producerId_; - onChanged(); - } - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (other.hasOccurredAt()) { - mergeOccurredAt(other.getOccurredAt()); - } - if (other.hasParentTaskMetadata()) { - mergeParentTaskMetadata(other.getParentTaskMetadata()); - } - if (other.hasParentNodeMetadata()) { - mergeParentNodeMetadata(other.getParentNodeMetadata()); - } - if (!other.getRetryGroup().isEmpty()) { - retryGroup_ = other.retryGroup_; - onChanged(); - } - if (!other.getSpecNodeId().isEmpty()) { - specNodeId_ = other.specNodeId_; - onChanged(); - } - if (!other.getNodeName().isEmpty()) { - nodeName_ = other.nodeName_; - onChanged(); - } - if (other.getEventVersion() != 0) { - setEventVersion(other.getEventVersion()); - } - if (other.getIsParent() != false) { - setIsParent(other.getIsParent()); - } - if (other.getIsDynamic() != false) { - setIsDynamic(other.getIsDynamic()); - } - if (!other.getDeckUri().isEmpty()) { - deckUri_ = other.deckUri_; - onChanged(); - } - if (other.hasReportedAt()) { - mergeReportedAt(other.getReportedAt()); - } - if (other.getIsArray() != false) { - setIsArray(other.getIsArray()); - } - switch (other.getInputValueCase()) { - case INPUT_URI: { - inputValueCase_ = 5; - inputValue_ = other.inputValue_; - onChanged(); - break; - } - case INPUT_DATA: { - mergeInputData(other.getInputData()); - break; - } - case INPUTVALUE_NOT_SET: { - break; - } - } - switch (other.getOutputResultCase()) { - case OUTPUT_URI: { - outputResultCase_ = 6; - outputResult_ = other.outputResult_; - onChanged(); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case OUTPUT_DATA: { - mergeOutputData(other.getOutputData()); - break; - } - case OUTPUTRESULT_NOT_SET: { - break; - } - } - switch (other.getTargetMetadataCase()) { - case WORKFLOW_NODE_METADATA: { - mergeWorkflowNodeMetadata(other.getWorkflowNodeMetadata()); - break; - } - case TASK_NODE_METADATA: { - mergeTaskNodeMetadata(other.getTaskNodeMetadata()); - break; - } - case TARGETMETADATA_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.event.Event.NodeExecutionEvent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.NodeExecutionEvent) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int inputValueCase_ = 0; - private java.lang.Object inputValue_; - public InputValueCase - getInputValueCase() { - return InputValueCase.forNumber( - inputValueCase_); - } - - public Builder clearInputValue() { - inputValueCase_ = 0; - inputValue_ = null; - onChanged(); - return this; - } - - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public Builder clearOutputResult() { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - return this; - } - - private int targetMetadataCase_ = 0; - private java.lang.Object targetMetadata_; - public TargetMetadataCase - getTargetMetadataCase() { - return TargetMetadataCase.forNumber( - targetMetadataCase_); - } - - public Builder clearTargetMetadata() { - targetMetadataCase_ = 0; - targetMetadata_ = null; - onChanged(); - return this; - } - - - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_; - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - *
-       * Unique identifier for this node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private java.lang.Object producerId_ = ""; - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public java.lang.String getProducerId() { - java.lang.Object ref = producerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - producerId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public com.google.protobuf.ByteString - getProducerIdBytes() { - java.lang.Object ref = producerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - producerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public Builder setProducerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - producerId_ = value; - onChanged(); - return this; - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public Builder clearProducerId() { - - producerId_ = getDefaultInstance().getProducerId(); - onChanged(); - return this; - } - /** - *
-       * the id of the originator (Propeller) of the event
-       * 
- * - * string producer_id = 2; - */ - public Builder setProducerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - producerId_ = value; - onChanged(); - return this; - } - - private int phase_ = 0; - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public int getPhaseValue() { - return phase_; - } - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public flyteidl.core.Execution.NodeExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.NodeExecution.Phase result = flyteidl.core.Execution.NodeExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.NodeExecution.Phase.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public Builder setPhase(flyteidl.core.Execution.NodeExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.NodeExecution.Phase phase = 3; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp occurredAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_; - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public boolean hasOccurredAt() { - return occurredAtBuilder_ != null || occurredAt_ != null; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - if (occurredAtBuilder_ == null) { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } else { - return occurredAtBuilder_.getMessage(); - } - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder setOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - occurredAt_ = value; - onChanged(); - } else { - occurredAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder setOccurredAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (occurredAtBuilder_ == null) { - occurredAt_ = builderForValue.build(); - onChanged(); - } else { - occurredAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder mergeOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (occurredAt_ != null) { - occurredAt_ = - com.google.protobuf.Timestamp.newBuilder(occurredAt_).mergeFrom(value).buildPartial(); - } else { - occurredAt_ = value; - } - onChanged(); - } else { - occurredAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public Builder clearOccurredAt() { - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - onChanged(); - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder() { - - onChanged(); - return getOccurredAtFieldBuilder().getBuilder(); - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - if (occurredAtBuilder_ != null) { - return occurredAtBuilder_.getMessageOrBuilder(); - } else { - return occurredAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the node.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getOccurredAtFieldBuilder() { - if (occurredAtBuilder_ == null) { - occurredAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOccurredAt(), - getParentForChildren(), - isClean()); - occurredAt_ = null; - } - return occurredAtBuilder_; - } - - /** - * string input_uri = 5; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = ""; - if (inputValueCase_ == 5) { - ref = inputValue_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (inputValueCase_ == 5) { - inputValue_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string input_uri = 5; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = ""; - if (inputValueCase_ == 5) { - ref = inputValue_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (inputValueCase_ == 5) { - inputValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string input_uri = 5; - */ - public Builder setInputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - inputValueCase_ = 5; - inputValue_ = value; - onChanged(); - return this; - } - /** - * string input_uri = 5; - */ - public Builder clearInputUri() { - if (inputValueCase_ == 5) { - inputValueCase_ = 0; - inputValue_ = null; - onChanged(); - } - return this; - } - /** - * string input_uri = 5; - */ - public Builder setInputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - inputValueCase_ = 5; - inputValue_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public boolean hasInputData() { - return inputValueCase_ == 20; - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputDataBuilder_ == null) { - if (inputValueCase_ == 20) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (inputValueCase_ == 20) { - return inputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputValue_ = value; - onChanged(); - } else { - inputDataBuilder_.setMessage(value); - } - inputValueCase_ = 20; - return this; - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public Builder setInputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputDataBuilder_ == null) { - inputValue_ = builderForValue.build(); - onChanged(); - } else { - inputDataBuilder_.setMessage(builderForValue.build()); - } - inputValueCase_ = 20; - return this; - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (inputValueCase_ == 20 && - inputValue_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - inputValue_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) inputValue_) - .mergeFrom(value).buildPartial(); - } else { - inputValue_ = value; - } - onChanged(); - } else { - if (inputValueCase_ == 20) { - inputDataBuilder_.mergeFrom(value); - } - inputDataBuilder_.setMessage(value); - } - inputValueCase_ = 20; - return this; - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public Builder clearInputData() { - if (inputDataBuilder_ == null) { - if (inputValueCase_ == 20) { - inputValueCase_ = 0; - inputValue_ = null; - onChanged(); - } - } else { - if (inputValueCase_ == 20) { - inputValueCase_ = 0; - inputValue_ = null; - } - inputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { - return getInputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if ((inputValueCase_ == 20) && (inputDataBuilder_ != null)) { - return inputDataBuilder_.getMessageOrBuilder(); - } else { - if (inputValueCase_ == 20) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw input data consumed by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 20; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputDataFieldBuilder() { - if (inputDataBuilder_ == null) { - if (!(inputValueCase_ == 20)) { - inputValue_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) inputValue_, - getParentForChildren(), - isClean()); - inputValue_ = null; - } - inputValueCase_ = 20; - onChanged();; - return inputDataBuilder_; - } - - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 6; - */ - public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 6) { - ref = outputResult_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (outputResultCase_ == 6) { - outputResult_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 6; - */ - public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 6) { - ref = outputResult_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 6) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 6; - */ - public Builder setOutputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - outputResultCase_ = 6; - outputResult_ = value; - onChanged(); - return this; - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 6; - */ - public Builder clearOutputUri() { - if (outputResultCase_ == 6) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - return this; - } - /** - *
-       * URL to the output of the execution, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 6; - */ - public Builder setOutputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - outputResultCase_ = 6; - outputResult_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> errorBuilder_; - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public boolean hasError() { - return outputResultCase_ == 7; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 7) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } else { - if (outputResultCase_ == 7) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public Builder setError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - outputResultCase_ = 7; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public Builder setError( - flyteidl.core.Execution.ExecutionError.Builder builderForValue) { - if (errorBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 7; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public Builder mergeError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (outputResultCase_ == 7 && - outputResult_ != flyteidl.core.Execution.ExecutionError.getDefaultInstance()) { - outputResult_ = flyteidl.core.Execution.ExecutionError.newBuilder((flyteidl.core.Execution.ExecutionError) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 7) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - outputResultCase_ = 7; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 7) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 7) { - outputResultCase_ = 0; - outputResult_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if ((outputResultCase_ == 7) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 7) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(outputResultCase_ == 7)) { - outputResult_ = flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder>( - (flyteidl.core.Execution.ExecutionError) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 7; - onChanged();; - return errorBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public boolean hasOutputData() { - return outputResultCase_ == 15; - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 15) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (outputResultCase_ == 15) { - return outputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 15; - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 15; - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 15 && - outputResult_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - outputResult_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 15) { - outputDataBuilder_.mergeFrom(value); - } - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 15; - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 15) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 15) { - outputResultCase_ = 0; - outputResult_ = null; - } - outputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if ((outputResultCase_ == 15) && (outputDataBuilder_ != null)) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 15) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this node execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 15; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - if (!(outputResultCase_ == 15)) { - outputResult_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 15; - onChanged();; - return outputDataBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowNodeMetadata, flyteidl.event.Event.WorkflowNodeMetadata.Builder, flyteidl.event.Event.WorkflowNodeMetadataOrBuilder> workflowNodeMetadataBuilder_; - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public boolean hasWorkflowNodeMetadata() { - return targetMetadataCase_ == 8; - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.event.Event.WorkflowNodeMetadata getWorkflowNodeMetadata() { - if (workflowNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 8) { - return (flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance(); - } else { - if (targetMetadataCase_ == 8) { - return workflowNodeMetadataBuilder_.getMessage(); - } - return flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder setWorkflowNodeMetadata(flyteidl.event.Event.WorkflowNodeMetadata value) { - if (workflowNodeMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - targetMetadata_ = value; - onChanged(); - } else { - workflowNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 8; - return this; - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder setWorkflowNodeMetadata( - flyteidl.event.Event.WorkflowNodeMetadata.Builder builderForValue) { - if (workflowNodeMetadataBuilder_ == null) { - targetMetadata_ = builderForValue.build(); - onChanged(); - } else { - workflowNodeMetadataBuilder_.setMessage(builderForValue.build()); - } - targetMetadataCase_ = 8; - return this; - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder mergeWorkflowNodeMetadata(flyteidl.event.Event.WorkflowNodeMetadata value) { - if (workflowNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 8 && - targetMetadata_ != flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance()) { - targetMetadata_ = flyteidl.event.Event.WorkflowNodeMetadata.newBuilder((flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_) - .mergeFrom(value).buildPartial(); - } else { - targetMetadata_ = value; - } - onChanged(); - } else { - if (targetMetadataCase_ == 8) { - workflowNodeMetadataBuilder_.mergeFrom(value); - } - workflowNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 8; - return this; - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public Builder clearWorkflowNodeMetadata() { - if (workflowNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 8) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - onChanged(); - } - } else { - if (targetMetadataCase_ == 8) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - } - workflowNodeMetadataBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.event.Event.WorkflowNodeMetadata.Builder getWorkflowNodeMetadataBuilder() { - return getWorkflowNodeMetadataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - public flyteidl.event.Event.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder() { - if ((targetMetadataCase_ == 8) && (workflowNodeMetadataBuilder_ != null)) { - return workflowNodeMetadataBuilder_.getMessageOrBuilder(); - } else { - if (targetMetadataCase_ == 8) { - return (flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.event.WorkflowNodeMetadata workflow_node_metadata = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowNodeMetadata, flyteidl.event.Event.WorkflowNodeMetadata.Builder, flyteidl.event.Event.WorkflowNodeMetadataOrBuilder> - getWorkflowNodeMetadataFieldBuilder() { - if (workflowNodeMetadataBuilder_ == null) { - if (!(targetMetadataCase_ == 8)) { - targetMetadata_ = flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance(); - } - workflowNodeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.WorkflowNodeMetadata, flyteidl.event.Event.WorkflowNodeMetadata.Builder, flyteidl.event.Event.WorkflowNodeMetadataOrBuilder>( - (flyteidl.event.Event.WorkflowNodeMetadata) targetMetadata_, - getParentForChildren(), - isClean()); - targetMetadata_ = null; - } - targetMetadataCase_ = 8; - onChanged();; - return workflowNodeMetadataBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskNodeMetadata, flyteidl.event.Event.TaskNodeMetadata.Builder, flyteidl.event.Event.TaskNodeMetadataOrBuilder> taskNodeMetadataBuilder_; - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public boolean hasTaskNodeMetadata() { - return targetMetadataCase_ == 14; - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public flyteidl.event.Event.TaskNodeMetadata getTaskNodeMetadata() { - if (taskNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 14) { - return (flyteidl.event.Event.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance(); - } else { - if (targetMetadataCase_ == 14) { - return taskNodeMetadataBuilder_.getMessage(); - } - return flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public Builder setTaskNodeMetadata(flyteidl.event.Event.TaskNodeMetadata value) { - if (taskNodeMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - targetMetadata_ = value; - onChanged(); - } else { - taskNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 14; - return this; - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public Builder setTaskNodeMetadata( - flyteidl.event.Event.TaskNodeMetadata.Builder builderForValue) { - if (taskNodeMetadataBuilder_ == null) { - targetMetadata_ = builderForValue.build(); - onChanged(); - } else { - taskNodeMetadataBuilder_.setMessage(builderForValue.build()); - } - targetMetadataCase_ = 14; - return this; - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public Builder mergeTaskNodeMetadata(flyteidl.event.Event.TaskNodeMetadata value) { - if (taskNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 14 && - targetMetadata_ != flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance()) { - targetMetadata_ = flyteidl.event.Event.TaskNodeMetadata.newBuilder((flyteidl.event.Event.TaskNodeMetadata) targetMetadata_) - .mergeFrom(value).buildPartial(); - } else { - targetMetadata_ = value; - } - onChanged(); - } else { - if (targetMetadataCase_ == 14) { - taskNodeMetadataBuilder_.mergeFrom(value); - } - taskNodeMetadataBuilder_.setMessage(value); - } - targetMetadataCase_ = 14; - return this; - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public Builder clearTaskNodeMetadata() { - if (taskNodeMetadataBuilder_ == null) { - if (targetMetadataCase_ == 14) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - onChanged(); - } - } else { - if (targetMetadataCase_ == 14) { - targetMetadataCase_ = 0; - targetMetadata_ = null; - } - taskNodeMetadataBuilder_.clear(); - } - return this; - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public flyteidl.event.Event.TaskNodeMetadata.Builder getTaskNodeMetadataBuilder() { - return getTaskNodeMetadataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - public flyteidl.event.Event.TaskNodeMetadataOrBuilder getTaskNodeMetadataOrBuilder() { - if ((targetMetadataCase_ == 14) && (taskNodeMetadataBuilder_ != null)) { - return taskNodeMetadataBuilder_.getMessageOrBuilder(); - } else { - if (targetMetadataCase_ == 14) { - return (flyteidl.event.Event.TaskNodeMetadata) targetMetadata_; - } - return flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance(); - } - } - /** - * .flyteidl.event.TaskNodeMetadata task_node_metadata = 14; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskNodeMetadata, flyteidl.event.Event.TaskNodeMetadata.Builder, flyteidl.event.Event.TaskNodeMetadataOrBuilder> - getTaskNodeMetadataFieldBuilder() { - if (taskNodeMetadataBuilder_ == null) { - if (!(targetMetadataCase_ == 14)) { - targetMetadata_ = flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance(); - } - taskNodeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskNodeMetadata, flyteidl.event.Event.TaskNodeMetadata.Builder, flyteidl.event.Event.TaskNodeMetadataOrBuilder>( - (flyteidl.event.Event.TaskNodeMetadata) targetMetadata_, - getParentForChildren(), - isClean()); - targetMetadata_ = null; - } - targetMetadataCase_ = 14; - onChanged();; - return taskNodeMetadataBuilder_; - } - - private flyteidl.event.Event.ParentTaskExecutionMetadata parentTaskMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.ParentTaskExecutionMetadata, flyteidl.event.Event.ParentTaskExecutionMetadata.Builder, flyteidl.event.Event.ParentTaskExecutionMetadataOrBuilder> parentTaskMetadataBuilder_; - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public boolean hasParentTaskMetadata() { - return parentTaskMetadataBuilder_ != null || parentTaskMetadata_ != null; - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public flyteidl.event.Event.ParentTaskExecutionMetadata getParentTaskMetadata() { - if (parentTaskMetadataBuilder_ == null) { - return parentTaskMetadata_ == null ? flyteidl.event.Event.ParentTaskExecutionMetadata.getDefaultInstance() : parentTaskMetadata_; - } else { - return parentTaskMetadataBuilder_.getMessage(); - } - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public Builder setParentTaskMetadata(flyteidl.event.Event.ParentTaskExecutionMetadata value) { - if (parentTaskMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parentTaskMetadata_ = value; - onChanged(); - } else { - parentTaskMetadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public Builder setParentTaskMetadata( - flyteidl.event.Event.ParentTaskExecutionMetadata.Builder builderForValue) { - if (parentTaskMetadataBuilder_ == null) { - parentTaskMetadata_ = builderForValue.build(); - onChanged(); - } else { - parentTaskMetadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public Builder mergeParentTaskMetadata(flyteidl.event.Event.ParentTaskExecutionMetadata value) { - if (parentTaskMetadataBuilder_ == null) { - if (parentTaskMetadata_ != null) { - parentTaskMetadata_ = - flyteidl.event.Event.ParentTaskExecutionMetadata.newBuilder(parentTaskMetadata_).mergeFrom(value).buildPartial(); - } else { - parentTaskMetadata_ = value; - } - onChanged(); - } else { - parentTaskMetadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public Builder clearParentTaskMetadata() { - if (parentTaskMetadataBuilder_ == null) { - parentTaskMetadata_ = null; - onChanged(); - } else { - parentTaskMetadata_ = null; - parentTaskMetadataBuilder_ = null; - } - - return this; - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public flyteidl.event.Event.ParentTaskExecutionMetadata.Builder getParentTaskMetadataBuilder() { - - onChanged(); - return getParentTaskMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - public flyteidl.event.Event.ParentTaskExecutionMetadataOrBuilder getParentTaskMetadataOrBuilder() { - if (parentTaskMetadataBuilder_ != null) { - return parentTaskMetadataBuilder_.getMessageOrBuilder(); - } else { - return parentTaskMetadata_ == null ? - flyteidl.event.Event.ParentTaskExecutionMetadata.getDefaultInstance() : parentTaskMetadata_; - } - } - /** - *
-       * [To be deprecated] Specifies which task (if any) launched this node.
-       * 
- * - * .flyteidl.event.ParentTaskExecutionMetadata parent_task_metadata = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.ParentTaskExecutionMetadata, flyteidl.event.Event.ParentTaskExecutionMetadata.Builder, flyteidl.event.Event.ParentTaskExecutionMetadataOrBuilder> - getParentTaskMetadataFieldBuilder() { - if (parentTaskMetadataBuilder_ == null) { - parentTaskMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.ParentTaskExecutionMetadata, flyteidl.event.Event.ParentTaskExecutionMetadata.Builder, flyteidl.event.Event.ParentTaskExecutionMetadataOrBuilder>( - getParentTaskMetadata(), - getParentForChildren(), - isClean()); - parentTaskMetadata_ = null; - } - return parentTaskMetadataBuilder_; - } - - private flyteidl.event.Event.ParentNodeExecutionMetadata parentNodeMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.ParentNodeExecutionMetadata, flyteidl.event.Event.ParentNodeExecutionMetadata.Builder, flyteidl.event.Event.ParentNodeExecutionMetadataOrBuilder> parentNodeMetadataBuilder_; - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public boolean hasParentNodeMetadata() { - return parentNodeMetadataBuilder_ != null || parentNodeMetadata_ != null; - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public flyteidl.event.Event.ParentNodeExecutionMetadata getParentNodeMetadata() { - if (parentNodeMetadataBuilder_ == null) { - return parentNodeMetadata_ == null ? flyteidl.event.Event.ParentNodeExecutionMetadata.getDefaultInstance() : parentNodeMetadata_; - } else { - return parentNodeMetadataBuilder_.getMessage(); - } - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public Builder setParentNodeMetadata(flyteidl.event.Event.ParentNodeExecutionMetadata value) { - if (parentNodeMetadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parentNodeMetadata_ = value; - onChanged(); - } else { - parentNodeMetadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public Builder setParentNodeMetadata( - flyteidl.event.Event.ParentNodeExecutionMetadata.Builder builderForValue) { - if (parentNodeMetadataBuilder_ == null) { - parentNodeMetadata_ = builderForValue.build(); - onChanged(); - } else { - parentNodeMetadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public Builder mergeParentNodeMetadata(flyteidl.event.Event.ParentNodeExecutionMetadata value) { - if (parentNodeMetadataBuilder_ == null) { - if (parentNodeMetadata_ != null) { - parentNodeMetadata_ = - flyteidl.event.Event.ParentNodeExecutionMetadata.newBuilder(parentNodeMetadata_).mergeFrom(value).buildPartial(); - } else { - parentNodeMetadata_ = value; - } - onChanged(); - } else { - parentNodeMetadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public Builder clearParentNodeMetadata() { - if (parentNodeMetadataBuilder_ == null) { - parentNodeMetadata_ = null; - onChanged(); - } else { - parentNodeMetadata_ = null; - parentNodeMetadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public flyteidl.event.Event.ParentNodeExecutionMetadata.Builder getParentNodeMetadataBuilder() { - - onChanged(); - return getParentNodeMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - public flyteidl.event.Event.ParentNodeExecutionMetadataOrBuilder getParentNodeMetadataOrBuilder() { - if (parentNodeMetadataBuilder_ != null) { - return parentNodeMetadataBuilder_.getMessageOrBuilder(); - } else { - return parentNodeMetadata_ == null ? - flyteidl.event.Event.ParentNodeExecutionMetadata.getDefaultInstance() : parentNodeMetadata_; - } - } - /** - *
-       * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
-       * 
- * - * .flyteidl.event.ParentNodeExecutionMetadata parent_node_metadata = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.ParentNodeExecutionMetadata, flyteidl.event.Event.ParentNodeExecutionMetadata.Builder, flyteidl.event.Event.ParentNodeExecutionMetadataOrBuilder> - getParentNodeMetadataFieldBuilder() { - if (parentNodeMetadataBuilder_ == null) { - parentNodeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.ParentNodeExecutionMetadata, flyteidl.event.Event.ParentNodeExecutionMetadata.Builder, flyteidl.event.Event.ParentNodeExecutionMetadataOrBuilder>( - getParentNodeMetadata(), - getParentForChildren(), - isClean()); - parentNodeMetadata_ = null; - } - return parentNodeMetadataBuilder_; - } - - private java.lang.Object retryGroup_ = ""; - /** - *
-       * Retry group to indicate grouping of nodes by retries
-       * 
- * - * string retry_group = 11; - */ - public java.lang.String getRetryGroup() { - java.lang.Object ref = retryGroup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - retryGroup_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Retry group to indicate grouping of nodes by retries
-       * 
- * - * string retry_group = 11; - */ - public com.google.protobuf.ByteString - getRetryGroupBytes() { - java.lang.Object ref = retryGroup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - retryGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Retry group to indicate grouping of nodes by retries
-       * 
- * - * string retry_group = 11; - */ - public Builder setRetryGroup( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - retryGroup_ = value; - onChanged(); - return this; - } - /** - *
-       * Retry group to indicate grouping of nodes by retries
-       * 
- * - * string retry_group = 11; - */ - public Builder clearRetryGroup() { - - retryGroup_ = getDefaultInstance().getRetryGroup(); - onChanged(); - return this; - } - /** - *
-       * Retry group to indicate grouping of nodes by retries
-       * 
- * - * string retry_group = 11; - */ - public Builder setRetryGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - retryGroup_ = value; - onChanged(); - return this; - } - - private java.lang.Object specNodeId_ = ""; - /** - *
-       * Identifier of the node in the original workflow/graph
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 12; - */ - public java.lang.String getSpecNodeId() { - java.lang.Object ref = specNodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - specNodeId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Identifier of the node in the original workflow/graph
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 12; - */ - public com.google.protobuf.ByteString - getSpecNodeIdBytes() { - java.lang.Object ref = specNodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - specNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Identifier of the node in the original workflow/graph
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 12; - */ - public Builder setSpecNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - specNodeId_ = value; - onChanged(); - return this; - } - /** - *
-       * Identifier of the node in the original workflow/graph
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 12; - */ - public Builder clearSpecNodeId() { - - specNodeId_ = getDefaultInstance().getSpecNodeId(); - onChanged(); - return this; - } - /** - *
-       * Identifier of the node in the original workflow/graph
-       * This maps to value of WorkflowTemplate.nodes[X].id
-       * 
- * - * string spec_node_id = 12; - */ - public Builder setSpecNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - specNodeId_ = value; - onChanged(); - return this; - } - - private java.lang.Object nodeName_ = ""; - /** - *
-       * Friendly readable name for the node
-       * 
- * - * string node_name = 13; - */ - public java.lang.String getNodeName() { - java.lang.Object ref = nodeName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nodeName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Friendly readable name for the node
-       * 
- * - * string node_name = 13; - */ - public com.google.protobuf.ByteString - getNodeNameBytes() { - java.lang.Object ref = nodeName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Friendly readable name for the node
-       * 
- * - * string node_name = 13; - */ - public Builder setNodeName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nodeName_ = value; - onChanged(); - return this; - } - /** - *
-       * Friendly readable name for the node
-       * 
- * - * string node_name = 13; - */ - public Builder clearNodeName() { - - nodeName_ = getDefaultInstance().getNodeName(); - onChanged(); - return this; - } - /** - *
-       * Friendly readable name for the node
-       * 
- * - * string node_name = 13; - */ - public Builder setNodeNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nodeName_ = value; - onChanged(); - return this; - } - - private int eventVersion_ ; - /** - * int32 event_version = 16; - */ - public int getEventVersion() { - return eventVersion_; - } - /** - * int32 event_version = 16; - */ - public Builder setEventVersion(int value) { - - eventVersion_ = value; - onChanged(); - return this; - } - /** - * int32 event_version = 16; - */ - public Builder clearEventVersion() { - - eventVersion_ = 0; - onChanged(); - return this; - } - - private boolean isParent_ ; - /** - *
-       * Whether this node launched a subworkflow.
-       * 
- * - * bool is_parent = 17; - */ - public boolean getIsParent() { - return isParent_; - } - /** - *
-       * Whether this node launched a subworkflow.
-       * 
- * - * bool is_parent = 17; - */ - public Builder setIsParent(boolean value) { - - isParent_ = value; - onChanged(); - return this; - } - /** - *
-       * Whether this node launched a subworkflow.
-       * 
- * - * bool is_parent = 17; - */ - public Builder clearIsParent() { - - isParent_ = false; - onChanged(); - return this; - } - - private boolean isDynamic_ ; - /** - *
-       * Whether this node yielded a dynamic workflow.
-       * 
- * - * bool is_dynamic = 18; - */ - public boolean getIsDynamic() { - return isDynamic_; - } - /** - *
-       * Whether this node yielded a dynamic workflow.
-       * 
- * - * bool is_dynamic = 18; - */ - public Builder setIsDynamic(boolean value) { - - isDynamic_ = value; - onChanged(); - return this; - } - /** - *
-       * Whether this node yielded a dynamic workflow.
-       * 
- * - * bool is_dynamic = 18; - */ - public Builder clearIsDynamic() { - - isDynamic_ = false; - onChanged(); - return this; - } - - private java.lang.Object deckUri_ = ""; - /** - *
-       * String location uniquely identifying where the deck HTML file is
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 19; - */ - public java.lang.String getDeckUri() { - java.lang.Object ref = deckUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - deckUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * String location uniquely identifying where the deck HTML file is
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 19; - */ - public com.google.protobuf.ByteString - getDeckUriBytes() { - java.lang.Object ref = deckUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deckUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * String location uniquely identifying where the deck HTML file is
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 19; - */ - public Builder setDeckUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - deckUri_ = value; - onChanged(); - return this; - } - /** - *
-       * String location uniquely identifying where the deck HTML file is
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 19; - */ - public Builder clearDeckUri() { - - deckUri_ = getDefaultInstance().getDeckUri(); - onChanged(); - return this; - } - /** - *
-       * String location uniquely identifying where the deck HTML file is
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string deck_uri = 19; - */ - public Builder setDeckUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - deckUri_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp reportedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> reportedAtBuilder_; - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public boolean hasReportedAt() { - return reportedAtBuilder_ != null || reportedAt_ != null; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public com.google.protobuf.Timestamp getReportedAt() { - if (reportedAtBuilder_ == null) { - return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; - } else { - return reportedAtBuilder_.getMessage(); - } - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public Builder setReportedAt(com.google.protobuf.Timestamp value) { - if (reportedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reportedAt_ = value; - onChanged(); - } else { - reportedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public Builder setReportedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (reportedAtBuilder_ == null) { - reportedAt_ = builderForValue.build(); - onChanged(); - } else { - reportedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public Builder mergeReportedAt(com.google.protobuf.Timestamp value) { - if (reportedAtBuilder_ == null) { - if (reportedAt_ != null) { - reportedAt_ = - com.google.protobuf.Timestamp.newBuilder(reportedAt_).mergeFrom(value).buildPartial(); - } else { - reportedAt_ = value; - } - onChanged(); - } else { - reportedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public Builder clearReportedAt() { - if (reportedAtBuilder_ == null) { - reportedAt_ = null; - onChanged(); - } else { - reportedAt_ = null; - reportedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public com.google.protobuf.Timestamp.Builder getReportedAtBuilder() { - - onChanged(); - return getReportedAtFieldBuilder().getBuilder(); - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { - if (reportedAtBuilder_ != null) { - return reportedAtBuilder_.getMessageOrBuilder(); - } else { - return reportedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; - } - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example,
-       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
-       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
-       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
-       * 
- * - * .google.protobuf.Timestamp reported_at = 21; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getReportedAtFieldBuilder() { - if (reportedAtBuilder_ == null) { - reportedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getReportedAt(), - getParentForChildren(), - isClean()); - reportedAt_ = null; - } - return reportedAtBuilder_; - } - - private boolean isArray_ ; - /** - *
-       * Indicates if this node is an ArrayNode.
-       * 
- * - * bool is_array = 22; - */ - public boolean getIsArray() { - return isArray_; - } - /** - *
-       * Indicates if this node is an ArrayNode.
-       * 
- * - * bool is_array = 22; - */ - public Builder setIsArray(boolean value) { - - isArray_ = value; - onChanged(); - return this; - } - /** - *
-       * Indicates if this node is an ArrayNode.
-       * 
- * - * bool is_array = 22; - */ - public Builder clearIsArray() { - - isArray_ = false; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.event.NodeExecutionEvent) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.NodeExecutionEvent) - private static final flyteidl.event.Event.NodeExecutionEvent DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.NodeExecutionEvent(); - } - - public static flyteidl.event.Event.NodeExecutionEvent getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeExecutionEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeExecutionEvent(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.event.Event.NodeExecutionEvent getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkflowNodeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.WorkflowNodeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - boolean hasExecutionId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder(); - } - /** - *
-   * For Workflow Nodes we need to send information about the workflow that's launched
-   * 
- * - * Protobuf type {@code flyteidl.event.WorkflowNodeMetadata} - */ - public static final class WorkflowNodeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.WorkflowNodeMetadata) - WorkflowNodeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkflowNodeMetadata.newBuilder() to construct. - private WorkflowNodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkflowNodeMetadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkflowNodeMetadata( - 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 (executionId_ != null) { - subBuilder = executionId_.toBuilder(); - } - executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionId_); - executionId_ = 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.event.Event.internal_static_flyteidl_event_WorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.WorkflowNodeMetadata.class, flyteidl.event.Event.WorkflowNodeMetadata.Builder.class); - } - - public static final int EXECUTION_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public boolean hasExecutionId() { - return executionId_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - return getExecutionId(); - } - - 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 (executionId_ != null) { - output.writeMessage(1, getExecutionId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (executionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExecutionId()); - } - 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.event.Event.WorkflowNodeMetadata)) { - return super.equals(obj); - } - flyteidl.event.Event.WorkflowNodeMetadata other = (flyteidl.event.Event.WorkflowNodeMetadata) obj; - - if (hasExecutionId() != other.hasExecutionId()) return false; - if (hasExecutionId()) { - if (!getExecutionId() - .equals(other.getExecutionId())) 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 (hasExecutionId()) { - hash = (37 * hash) + EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getExecutionId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.WorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.WorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.WorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.WorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.WorkflowNodeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.WorkflowNodeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.WorkflowNodeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.WorkflowNodeMetadata 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.event.Event.WorkflowNodeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.WorkflowNodeMetadata 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.event.Event.WorkflowNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.WorkflowNodeMetadata 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.event.Event.WorkflowNodeMetadata 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; - } - /** - *
-     * For Workflow Nodes we need to send information about the workflow that's launched
-     * 
- * - * Protobuf type {@code flyteidl.event.WorkflowNodeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.WorkflowNodeMetadata) - flyteidl.event.Event.WorkflowNodeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.WorkflowNodeMetadata.class, flyteidl.event.Event.WorkflowNodeMetadata.Builder.class); - } - - // Construct using flyteidl.event.Event.WorkflowNodeMetadata.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 (executionIdBuilder_ == null) { - executionId_ = null; - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_WorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.WorkflowNodeMetadata getDefaultInstanceForType() { - return flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.WorkflowNodeMetadata build() { - flyteidl.event.Event.WorkflowNodeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.WorkflowNodeMetadata buildPartial() { - flyteidl.event.Event.WorkflowNodeMetadata result = new flyteidl.event.Event.WorkflowNodeMetadata(this); - if (executionIdBuilder_ == null) { - result.executionId_ = executionId_; - } else { - result.executionId_ = executionIdBuilder_.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.event.Event.WorkflowNodeMetadata) { - return mergeFrom((flyteidl.event.Event.WorkflowNodeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.WorkflowNodeMetadata other) { - if (other == flyteidl.event.Event.WorkflowNodeMetadata.getDefaultInstance()) return this; - if (other.hasExecutionId()) { - mergeExecutionId(other.getExecutionId()); - } - 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.event.Event.WorkflowNodeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.WorkflowNodeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public boolean hasExecutionId() { - return executionIdBuilder_ != null || executionId_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() { - if (executionIdBuilder_ == null) { - return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } else { - return executionIdBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - executionId_ = value; - onChanged(); - } else { - executionIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder setExecutionId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (executionIdBuilder_ == null) { - executionId_ = builderForValue.build(); - onChanged(); - } else { - executionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (executionIdBuilder_ == null) { - if (executionId_ != null) { - executionId_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial(); - } else { - executionId_ = value; - } - onChanged(); - } else { - executionIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public Builder clearExecutionId() { - if (executionIdBuilder_ == null) { - executionId_ = null; - onChanged(); - } else { - executionId_ = null; - executionIdBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() { - - onChanged(); - return getExecutionIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() { - if (executionIdBuilder_ != null) { - return executionIdBuilder_.getMessageOrBuilder(); - } else { - return executionId_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_; - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getExecutionIdFieldBuilder() { - if (executionIdBuilder_ == null) { - executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getExecutionId(), - getParentForChildren(), - isClean()); - executionId_ = null; - } - return executionIdBuilder_; - } - @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.event.WorkflowNodeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.WorkflowNodeMetadata) - private static final flyteidl.event.Event.WorkflowNodeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.WorkflowNodeMetadata(); - } - - public static flyteidl.event.Event.WorkflowNodeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowNodeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowNodeMetadata(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.event.Event.WorkflowNodeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskNodeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.TaskNodeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - int getCacheStatusValue(); - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus(); - - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - boolean hasCatalogKey(); - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - flyteidl.core.Catalog.CatalogMetadata getCatalogKey(); - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - flyteidl.core.Catalog.CatalogMetadataOrBuilder getCatalogKeyOrBuilder(); - - /** - *
-     * Captures the status of cache reservations for this execution.
-     * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - int getReservationStatusValue(); - /** - *
-     * Captures the status of cache reservations for this execution.
-     * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - flyteidl.core.Catalog.CatalogReservation.Status getReservationStatus(); - - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - java.lang.String getCheckpointUri(); - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - com.google.protobuf.ByteString - getCheckpointUriBytes(); - - /** - *
-     * In the case this task launched a dynamic workflow we capture its structure here.
-     * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - boolean hasDynamicWorkflow(); - /** - *
-     * In the case this task launched a dynamic workflow we capture its structure here.
-     * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - flyteidl.event.Event.DynamicWorkflowNodeMetadata getDynamicWorkflow(); - /** - *
-     * In the case this task launched a dynamic workflow we capture its structure here.
-     * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - flyteidl.event.Event.DynamicWorkflowNodeMetadataOrBuilder getDynamicWorkflowOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.event.TaskNodeMetadata} - */ - public static final class TaskNodeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.TaskNodeMetadata) - TaskNodeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskNodeMetadata.newBuilder() to construct. - private TaskNodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskNodeMetadata() { - cacheStatus_ = 0; - reservationStatus_ = 0; - checkpointUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskNodeMetadata( - 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(); - - cacheStatus_ = rawValue; - break; - } - case 18: { - flyteidl.core.Catalog.CatalogMetadata.Builder subBuilder = null; - if (catalogKey_ != null) { - subBuilder = catalogKey_.toBuilder(); - } - catalogKey_ = input.readMessage(flyteidl.core.Catalog.CatalogMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(catalogKey_); - catalogKey_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { - int rawValue = input.readEnum(); - - reservationStatus_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - checkpointUri_ = s; - break; - } - case 130: { - flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder subBuilder = null; - if (dynamicWorkflow_ != null) { - subBuilder = dynamicWorkflow_.toBuilder(); - } - dynamicWorkflow_ = input.readMessage(flyteidl.event.Event.DynamicWorkflowNodeMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dynamicWorkflow_); - dynamicWorkflow_ = 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.event.Event.internal_static_flyteidl_event_TaskNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.TaskNodeMetadata.class, flyteidl.event.Event.TaskNodeMetadata.Builder.class); - } - - public static final int CACHE_STATUS_FIELD_NUMBER = 1; - private int cacheStatus_; - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public int getCacheStatusValue() { - return cacheStatus_; - } - /** - *
-     * Captures the status of caching for this execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogCacheStatus result = flyteidl.core.Catalog.CatalogCacheStatus.valueOf(cacheStatus_); - return result == null ? flyteidl.core.Catalog.CatalogCacheStatus.UNRECOGNIZED : result; - } - - public static final int CATALOG_KEY_FIELD_NUMBER = 2; - private flyteidl.core.Catalog.CatalogMetadata catalogKey_; - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public boolean hasCatalogKey() { - return catalogKey_ != null; - } - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadata getCatalogKey() { - return catalogKey_ == null ? flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance() : catalogKey_; - } - /** - *
-     * This structure carries the catalog artifact information
-     * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadataOrBuilder getCatalogKeyOrBuilder() { - return getCatalogKey(); - } - - public static final int RESERVATION_STATUS_FIELD_NUMBER = 3; - private int reservationStatus_; - /** - *
-     * Captures the status of cache reservations for this execution.
-     * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - public int getReservationStatusValue() { - return reservationStatus_; - } - /** - *
-     * Captures the status of cache reservations for this execution.
-     * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - public flyteidl.core.Catalog.CatalogReservation.Status getReservationStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogReservation.Status result = flyteidl.core.Catalog.CatalogReservation.Status.valueOf(reservationStatus_); - return result == null ? flyteidl.core.Catalog.CatalogReservation.Status.UNRECOGNIZED : result; - } - - public static final int CHECKPOINT_URI_FIELD_NUMBER = 4; - private volatile java.lang.Object checkpointUri_; - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - public java.lang.String getCheckpointUri() { - java.lang.Object ref = checkpointUri_; - 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(); - checkpointUri_ = s; - return s; - } - } - /** - *
-     * The latest checkpoint location
-     * 
- * - * string checkpoint_uri = 4; - */ - public com.google.protobuf.ByteString - getCheckpointUriBytes() { - java.lang.Object ref = checkpointUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - checkpointUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DYNAMIC_WORKFLOW_FIELD_NUMBER = 16; - private flyteidl.event.Event.DynamicWorkflowNodeMetadata dynamicWorkflow_; - /** - *
-     * In the case this task launched a dynamic workflow we capture its structure here.
-     * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public boolean hasDynamicWorkflow() { - return dynamicWorkflow_ != null; - } - /** - *
-     * In the case this task launched a dynamic workflow we capture its structure here.
-     * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.event.Event.DynamicWorkflowNodeMetadata getDynamicWorkflow() { - return dynamicWorkflow_ == null ? flyteidl.event.Event.DynamicWorkflowNodeMetadata.getDefaultInstance() : dynamicWorkflow_; - } - /** - *
-     * In the case this task launched a dynamic workflow we capture its structure here.
-     * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.event.Event.DynamicWorkflowNodeMetadataOrBuilder getDynamicWorkflowOrBuilder() { - return getDynamicWorkflow(); - } - - 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 (cacheStatus_ != flyteidl.core.Catalog.CatalogCacheStatus.CACHE_DISABLED.getNumber()) { - output.writeEnum(1, cacheStatus_); - } - if (catalogKey_ != null) { - output.writeMessage(2, getCatalogKey()); - } - if (reservationStatus_ != flyteidl.core.Catalog.CatalogReservation.Status.RESERVATION_DISABLED.getNumber()) { - output.writeEnum(3, reservationStatus_); - } - if (!getCheckpointUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, checkpointUri_); - } - if (dynamicWorkflow_ != null) { - output.writeMessage(16, getDynamicWorkflow()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (cacheStatus_ != flyteidl.core.Catalog.CatalogCacheStatus.CACHE_DISABLED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, cacheStatus_); - } - if (catalogKey_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCatalogKey()); - } - if (reservationStatus_ != flyteidl.core.Catalog.CatalogReservation.Status.RESERVATION_DISABLED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, reservationStatus_); - } - if (!getCheckpointUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, checkpointUri_); - } - if (dynamicWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getDynamicWorkflow()); - } - 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.event.Event.TaskNodeMetadata)) { - return super.equals(obj); - } - flyteidl.event.Event.TaskNodeMetadata other = (flyteidl.event.Event.TaskNodeMetadata) obj; - - if (cacheStatus_ != other.cacheStatus_) return false; - if (hasCatalogKey() != other.hasCatalogKey()) return false; - if (hasCatalogKey()) { - if (!getCatalogKey() - .equals(other.getCatalogKey())) return false; - } - if (reservationStatus_ != other.reservationStatus_) return false; - if (!getCheckpointUri() - .equals(other.getCheckpointUri())) return false; - if (hasDynamicWorkflow() != other.hasDynamicWorkflow()) return false; - if (hasDynamicWorkflow()) { - if (!getDynamicWorkflow() - .equals(other.getDynamicWorkflow())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CACHE_STATUS_FIELD_NUMBER; - hash = (53 * hash) + cacheStatus_; - if (hasCatalogKey()) { - hash = (37 * hash) + CATALOG_KEY_FIELD_NUMBER; - hash = (53 * hash) + getCatalogKey().hashCode(); - } - hash = (37 * hash) + RESERVATION_STATUS_FIELD_NUMBER; - hash = (53 * hash) + reservationStatus_; - hash = (37 * hash) + CHECKPOINT_URI_FIELD_NUMBER; - hash = (53 * hash) + getCheckpointUri().hashCode(); - if (hasDynamicWorkflow()) { - hash = (37 * hash) + DYNAMIC_WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getDynamicWorkflow().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.TaskNodeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskNodeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskNodeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskNodeMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskNodeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskNodeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskNodeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskNodeMetadata 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.event.Event.TaskNodeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskNodeMetadata 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.event.Event.TaskNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskNodeMetadata 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.event.Event.TaskNodeMetadata 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.event.TaskNodeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.TaskNodeMetadata) - flyteidl.event.Event.TaskNodeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.TaskNodeMetadata.class, flyteidl.event.Event.TaskNodeMetadata.Builder.class); - } - - // Construct using flyteidl.event.Event.TaskNodeMetadata.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(); - cacheStatus_ = 0; - - if (catalogKeyBuilder_ == null) { - catalogKey_ = null; - } else { - catalogKey_ = null; - catalogKeyBuilder_ = null; - } - reservationStatus_ = 0; - - checkpointUri_ = ""; - - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflow_ = null; - } else { - dynamicWorkflow_ = null; - dynamicWorkflowBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskNodeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.TaskNodeMetadata getDefaultInstanceForType() { - return flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.TaskNodeMetadata build() { - flyteidl.event.Event.TaskNodeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.TaskNodeMetadata buildPartial() { - flyteidl.event.Event.TaskNodeMetadata result = new flyteidl.event.Event.TaskNodeMetadata(this); - result.cacheStatus_ = cacheStatus_; - if (catalogKeyBuilder_ == null) { - result.catalogKey_ = catalogKey_; - } else { - result.catalogKey_ = catalogKeyBuilder_.build(); - } - result.reservationStatus_ = reservationStatus_; - result.checkpointUri_ = checkpointUri_; - if (dynamicWorkflowBuilder_ == null) { - result.dynamicWorkflow_ = dynamicWorkflow_; - } else { - result.dynamicWorkflow_ = dynamicWorkflowBuilder_.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.event.Event.TaskNodeMetadata) { - return mergeFrom((flyteidl.event.Event.TaskNodeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.TaskNodeMetadata other) { - if (other == flyteidl.event.Event.TaskNodeMetadata.getDefaultInstance()) return this; - if (other.cacheStatus_ != 0) { - setCacheStatusValue(other.getCacheStatusValue()); - } - if (other.hasCatalogKey()) { - mergeCatalogKey(other.getCatalogKey()); - } - if (other.reservationStatus_ != 0) { - setReservationStatusValue(other.getReservationStatusValue()); - } - if (!other.getCheckpointUri().isEmpty()) { - checkpointUri_ = other.checkpointUri_; - onChanged(); - } - if (other.hasDynamicWorkflow()) { - mergeDynamicWorkflow(other.getDynamicWorkflow()); - } - 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.event.Event.TaskNodeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.TaskNodeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int cacheStatus_ = 0; - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public int getCacheStatusValue() { - return cacheStatus_; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public Builder setCacheStatusValue(int value) { - cacheStatus_ = value; - onChanged(); - return this; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogCacheStatus result = flyteidl.core.Catalog.CatalogCacheStatus.valueOf(cacheStatus_); - return result == null ? flyteidl.core.Catalog.CatalogCacheStatus.UNRECOGNIZED : result; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public Builder setCacheStatus(flyteidl.core.Catalog.CatalogCacheStatus value) { - if (value == null) { - throw new NullPointerException(); - } - - cacheStatus_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Captures the status of caching for this execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 1; - */ - public Builder clearCacheStatus() { - - cacheStatus_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Catalog.CatalogMetadata catalogKey_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogMetadata, flyteidl.core.Catalog.CatalogMetadata.Builder, flyteidl.core.Catalog.CatalogMetadataOrBuilder> catalogKeyBuilder_; - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public boolean hasCatalogKey() { - return catalogKeyBuilder_ != null || catalogKey_ != null; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadata getCatalogKey() { - if (catalogKeyBuilder_ == null) { - return catalogKey_ == null ? flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance() : catalogKey_; - } else { - return catalogKeyBuilder_.getMessage(); - } - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder setCatalogKey(flyteidl.core.Catalog.CatalogMetadata value) { - if (catalogKeyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - catalogKey_ = value; - onChanged(); - } else { - catalogKeyBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder setCatalogKey( - flyteidl.core.Catalog.CatalogMetadata.Builder builderForValue) { - if (catalogKeyBuilder_ == null) { - catalogKey_ = builderForValue.build(); - onChanged(); - } else { - catalogKeyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder mergeCatalogKey(flyteidl.core.Catalog.CatalogMetadata value) { - if (catalogKeyBuilder_ == null) { - if (catalogKey_ != null) { - catalogKey_ = - flyteidl.core.Catalog.CatalogMetadata.newBuilder(catalogKey_).mergeFrom(value).buildPartial(); - } else { - catalogKey_ = value; - } - onChanged(); - } else { - catalogKeyBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public Builder clearCatalogKey() { - if (catalogKeyBuilder_ == null) { - catalogKey_ = null; - onChanged(); - } else { - catalogKey_ = null; - catalogKeyBuilder_ = null; - } - - return this; - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadata.Builder getCatalogKeyBuilder() { - - onChanged(); - return getCatalogKeyFieldBuilder().getBuilder(); - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - public flyteidl.core.Catalog.CatalogMetadataOrBuilder getCatalogKeyOrBuilder() { - if (catalogKeyBuilder_ != null) { - return catalogKeyBuilder_.getMessageOrBuilder(); - } else { - return catalogKey_ == null ? - flyteidl.core.Catalog.CatalogMetadata.getDefaultInstance() : catalogKey_; - } - } - /** - *
-       * This structure carries the catalog artifact information
-       * 
- * - * .flyteidl.core.CatalogMetadata catalog_key = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogMetadata, flyteidl.core.Catalog.CatalogMetadata.Builder, flyteidl.core.Catalog.CatalogMetadataOrBuilder> - getCatalogKeyFieldBuilder() { - if (catalogKeyBuilder_ == null) { - catalogKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Catalog.CatalogMetadata, flyteidl.core.Catalog.CatalogMetadata.Builder, flyteidl.core.Catalog.CatalogMetadataOrBuilder>( - getCatalogKey(), - getParentForChildren(), - isClean()); - catalogKey_ = null; - } - return catalogKeyBuilder_; - } - - private int reservationStatus_ = 0; - /** - *
-       * Captures the status of cache reservations for this execution.
-       * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - public int getReservationStatusValue() { - return reservationStatus_; - } - /** - *
-       * Captures the status of cache reservations for this execution.
-       * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - public Builder setReservationStatusValue(int value) { - reservationStatus_ = value; - onChanged(); - return this; - } - /** - *
-       * Captures the status of cache reservations for this execution.
-       * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - public flyteidl.core.Catalog.CatalogReservation.Status getReservationStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogReservation.Status result = flyteidl.core.Catalog.CatalogReservation.Status.valueOf(reservationStatus_); - return result == null ? flyteidl.core.Catalog.CatalogReservation.Status.UNRECOGNIZED : result; - } - /** - *
-       * Captures the status of cache reservations for this execution.
-       * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - public Builder setReservationStatus(flyteidl.core.Catalog.CatalogReservation.Status value) { - if (value == null) { - throw new NullPointerException(); - } - - reservationStatus_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Captures the status of cache reservations for this execution.
-       * 
- * - * .flyteidl.core.CatalogReservation.Status reservation_status = 3; - */ - public Builder clearReservationStatus() { - - reservationStatus_ = 0; - onChanged(); - return this; - } - - private java.lang.Object checkpointUri_ = ""; - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public java.lang.String getCheckpointUri() { - java.lang.Object ref = checkpointUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - checkpointUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public com.google.protobuf.ByteString - getCheckpointUriBytes() { - java.lang.Object ref = checkpointUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - checkpointUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public Builder setCheckpointUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - checkpointUri_ = value; - onChanged(); - return this; - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public Builder clearCheckpointUri() { - - checkpointUri_ = getDefaultInstance().getCheckpointUri(); - onChanged(); - return this; - } - /** - *
-       * The latest checkpoint location
-       * 
- * - * string checkpoint_uri = 4; - */ - public Builder setCheckpointUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - checkpointUri_ = value; - onChanged(); - return this; - } - - private flyteidl.event.Event.DynamicWorkflowNodeMetadata dynamicWorkflow_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.DynamicWorkflowNodeMetadata, flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder, flyteidl.event.Event.DynamicWorkflowNodeMetadataOrBuilder> dynamicWorkflowBuilder_; - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public boolean hasDynamicWorkflow() { - return dynamicWorkflowBuilder_ != null || dynamicWorkflow_ != null; - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.event.Event.DynamicWorkflowNodeMetadata getDynamicWorkflow() { - if (dynamicWorkflowBuilder_ == null) { - return dynamicWorkflow_ == null ? flyteidl.event.Event.DynamicWorkflowNodeMetadata.getDefaultInstance() : dynamicWorkflow_; - } else { - return dynamicWorkflowBuilder_.getMessage(); - } - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder setDynamicWorkflow(flyteidl.event.Event.DynamicWorkflowNodeMetadata value) { - if (dynamicWorkflowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - dynamicWorkflow_ = value; - onChanged(); - } else { - dynamicWorkflowBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder setDynamicWorkflow( - flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder builderForValue) { - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflow_ = builderForValue.build(); - onChanged(); - } else { - dynamicWorkflowBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder mergeDynamicWorkflow(flyteidl.event.Event.DynamicWorkflowNodeMetadata value) { - if (dynamicWorkflowBuilder_ == null) { - if (dynamicWorkflow_ != null) { - dynamicWorkflow_ = - flyteidl.event.Event.DynamicWorkflowNodeMetadata.newBuilder(dynamicWorkflow_).mergeFrom(value).buildPartial(); - } else { - dynamicWorkflow_ = value; - } - onChanged(); - } else { - dynamicWorkflowBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public Builder clearDynamicWorkflow() { - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflow_ = null; - onChanged(); - } else { - dynamicWorkflow_ = null; - dynamicWorkflowBuilder_ = null; - } - - return this; - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder getDynamicWorkflowBuilder() { - - onChanged(); - return getDynamicWorkflowFieldBuilder().getBuilder(); - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - public flyteidl.event.Event.DynamicWorkflowNodeMetadataOrBuilder getDynamicWorkflowOrBuilder() { - if (dynamicWorkflowBuilder_ != null) { - return dynamicWorkflowBuilder_.getMessageOrBuilder(); - } else { - return dynamicWorkflow_ == null ? - flyteidl.event.Event.DynamicWorkflowNodeMetadata.getDefaultInstance() : dynamicWorkflow_; - } - } - /** - *
-       * In the case this task launched a dynamic workflow we capture its structure here.
-       * 
- * - * .flyteidl.event.DynamicWorkflowNodeMetadata dynamic_workflow = 16; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.DynamicWorkflowNodeMetadata, flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder, flyteidl.event.Event.DynamicWorkflowNodeMetadataOrBuilder> - getDynamicWorkflowFieldBuilder() { - if (dynamicWorkflowBuilder_ == null) { - dynamicWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.DynamicWorkflowNodeMetadata, flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder, flyteidl.event.Event.DynamicWorkflowNodeMetadataOrBuilder>( - getDynamicWorkflow(), - getParentForChildren(), - isClean()); - dynamicWorkflow_ = null; - } - return dynamicWorkflowBuilder_; - } - @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.event.TaskNodeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.TaskNodeMetadata) - private static final flyteidl.event.Event.TaskNodeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.TaskNodeMetadata(); - } - - public static flyteidl.event.Event.TaskNodeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskNodeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskNodeMetadata(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.event.Event.TaskNodeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DynamicWorkflowNodeMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.DynamicWorkflowNodeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - boolean hasId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getId(); - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder(); - - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - boolean hasCompiledWorkflow(); - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow(); - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder(); - - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the workflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - java.lang.String getDynamicJobSpecUri(); - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the workflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - com.google.protobuf.ByteString - getDynamicJobSpecUriBytes(); - } - /** - *
-   * For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated.
-   * 
- * - * Protobuf type {@code flyteidl.event.DynamicWorkflowNodeMetadata} - */ - public static final class DynamicWorkflowNodeMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.DynamicWorkflowNodeMetadata) - DynamicWorkflowNodeMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use DynamicWorkflowNodeMetadata.newBuilder() to construct. - private DynamicWorkflowNodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DynamicWorkflowNodeMetadata() { - dynamicJobSpecUri_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DynamicWorkflowNodeMetadata( - 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.Identifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Compiler.CompiledWorkflowClosure.Builder subBuilder = null; - if (compiledWorkflow_ != null) { - subBuilder = compiledWorkflow_.toBuilder(); - } - compiledWorkflow_ = input.readMessage(flyteidl.core.Compiler.CompiledWorkflowClosure.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compiledWorkflow_); - compiledWorkflow_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - dynamicJobSpecUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.DynamicWorkflowNodeMetadata.class, flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier id_; - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - /** - *
-     * id represents the unique identifier of the workflow.
-     * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - public static final int COMPILED_WORKFLOW_FIELD_NUMBER = 2; - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflow_ != null; - } - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - /** - *
-     * Represents the compiled representation of the embedded dynamic workflow.
-     * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - return getCompiledWorkflow(); - } - - public static final int DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER = 3; - private volatile java.lang.Object dynamicJobSpecUri_; - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the workflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - public java.lang.String getDynamicJobSpecUri() { - java.lang.Object ref = dynamicJobSpecUri_; - 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(); - dynamicJobSpecUri_ = s; - return s; - } - } - /** - *
-     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-     * required to correctly recover partially completed executions where the workflow has already been compiled.
-     * 
- * - * string dynamic_job_spec_uri = 3; - */ - public com.google.protobuf.ByteString - getDynamicJobSpecUriBytes() { - java.lang.Object ref = dynamicJobSpecUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dynamicJobSpecUri_ = 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 (id_ != null) { - output.writeMessage(1, getId()); - } - if (compiledWorkflow_ != null) { - output.writeMessage(2, getCompiledWorkflow()); - } - if (!getDynamicJobSpecUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dynamicJobSpecUri_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - if (compiledWorkflow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompiledWorkflow()); - } - if (!getDynamicJobSpecUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dynamicJobSpecUri_); - } - 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.event.Event.DynamicWorkflowNodeMetadata)) { - return super.equals(obj); - } - flyteidl.event.Event.DynamicWorkflowNodeMetadata other = (flyteidl.event.Event.DynamicWorkflowNodeMetadata) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasCompiledWorkflow() != other.hasCompiledWorkflow()) return false; - if (hasCompiledWorkflow()) { - if (!getCompiledWorkflow() - .equals(other.getCompiledWorkflow())) return false; - } - if (!getDynamicJobSpecUri() - .equals(other.getDynamicJobSpecUri())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasCompiledWorkflow()) { - hash = (37 * hash) + COMPILED_WORKFLOW_FIELD_NUMBER; - hash = (53 * hash) + getCompiledWorkflow().hashCode(); - } - hash = (37 * hash) + DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER; - hash = (53 * hash) + getDynamicJobSpecUri().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata 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.event.Event.DynamicWorkflowNodeMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata 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.event.Event.DynamicWorkflowNodeMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata 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.event.Event.DynamicWorkflowNodeMetadata 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; - } - /** - *
-     * For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated.
-     * 
- * - * Protobuf type {@code flyteidl.event.DynamicWorkflowNodeMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.DynamicWorkflowNodeMetadata) - flyteidl.event.Event.DynamicWorkflowNodeMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.DynamicWorkflowNodeMetadata.class, flyteidl.event.Event.DynamicWorkflowNodeMetadata.Builder.class); - } - - // Construct using flyteidl.event.Event.DynamicWorkflowNodeMetadata.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - dynamicJobSpecUri_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.DynamicWorkflowNodeMetadata getDefaultInstanceForType() { - return flyteidl.event.Event.DynamicWorkflowNodeMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.DynamicWorkflowNodeMetadata build() { - flyteidl.event.Event.DynamicWorkflowNodeMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.DynamicWorkflowNodeMetadata buildPartial() { - flyteidl.event.Event.DynamicWorkflowNodeMetadata result = new flyteidl.event.Event.DynamicWorkflowNodeMetadata(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.build(); - } - if (compiledWorkflowBuilder_ == null) { - result.compiledWorkflow_ = compiledWorkflow_; - } else { - result.compiledWorkflow_ = compiledWorkflowBuilder_.build(); - } - result.dynamicJobSpecUri_ = dynamicJobSpecUri_; - 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.event.Event.DynamicWorkflowNodeMetadata) { - return mergeFrom((flyteidl.event.Event.DynamicWorkflowNodeMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.DynamicWorkflowNodeMetadata other) { - if (other == flyteidl.event.Event.DynamicWorkflowNodeMetadata.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - if (other.hasCompiledWorkflow()) { - mergeCompiledWorkflow(other.getCompiledWorkflow()); - } - if (!other.getDynamicJobSpecUri().isEmpty()) { - dynamicJobSpecUri_ = other.dynamicJobSpecUri_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.event.Event.DynamicWorkflowNodeMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.DynamicWorkflowNodeMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.Identifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> idBuilder_; - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : id_; - } - } - /** - *
-       * id represents the unique identifier of the workflow.
-       * 
- * - * .flyteidl.core.Identifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - - private flyteidl.core.Compiler.CompiledWorkflowClosure compiledWorkflow_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> compiledWorkflowBuilder_; - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public boolean hasCompiledWorkflow() { - return compiledWorkflowBuilder_ != null || compiledWorkflow_ != null; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure getCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - return compiledWorkflow_ == null ? flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } else { - return compiledWorkflowBuilder_.getMessage(); - } - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder setCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - compiledWorkflow_ = value; - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder setCompiledWorkflow( - flyteidl.core.Compiler.CompiledWorkflowClosure.Builder builderForValue) { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = builderForValue.build(); - onChanged(); - } else { - compiledWorkflowBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder mergeCompiledWorkflow(flyteidl.core.Compiler.CompiledWorkflowClosure value) { - if (compiledWorkflowBuilder_ == null) { - if (compiledWorkflow_ != null) { - compiledWorkflow_ = - flyteidl.core.Compiler.CompiledWorkflowClosure.newBuilder(compiledWorkflow_).mergeFrom(value).buildPartial(); - } else { - compiledWorkflow_ = value; - } - onChanged(); - } else { - compiledWorkflowBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public Builder clearCompiledWorkflow() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflow_ = null; - onChanged(); - } else { - compiledWorkflow_ = null; - compiledWorkflowBuilder_ = null; - } - - return this; - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosure.Builder getCompiledWorkflowBuilder() { - - onChanged(); - return getCompiledWorkflowFieldBuilder().getBuilder(); - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder() { - if (compiledWorkflowBuilder_ != null) { - return compiledWorkflowBuilder_.getMessageOrBuilder(); - } else { - return compiledWorkflow_ == null ? - flyteidl.core.Compiler.CompiledWorkflowClosure.getDefaultInstance() : compiledWorkflow_; - } - } - /** - *
-       * Represents the compiled representation of the embedded dynamic workflow.
-       * 
- * - * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder> - getCompiledWorkflowFieldBuilder() { - if (compiledWorkflowBuilder_ == null) { - compiledWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Compiler.CompiledWorkflowClosure, flyteidl.core.Compiler.CompiledWorkflowClosure.Builder, flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder>( - getCompiledWorkflow(), - getParentForChildren(), - isClean()); - compiledWorkflow_ = null; - } - return compiledWorkflowBuilder_; - } - - private java.lang.Object dynamicJobSpecUri_ = ""; - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the workflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public java.lang.String getDynamicJobSpecUri() { - java.lang.Object ref = dynamicJobSpecUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - dynamicJobSpecUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the workflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public com.google.protobuf.ByteString - getDynamicJobSpecUriBytes() { - java.lang.Object ref = dynamicJobSpecUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dynamicJobSpecUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the workflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public Builder setDynamicJobSpecUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - dynamicJobSpecUri_ = value; - onChanged(); - return this; - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the workflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public Builder clearDynamicJobSpecUri() { - - dynamicJobSpecUri_ = getDefaultInstance().getDynamicJobSpecUri(); - onChanged(); - return this; - } - /** - *
-       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
-       * required to correctly recover partially completed executions where the workflow has already been compiled.
-       * 
- * - * string dynamic_job_spec_uri = 3; - */ - public Builder setDynamicJobSpecUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - dynamicJobSpecUri_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.event.DynamicWorkflowNodeMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.DynamicWorkflowNodeMetadata) - private static final flyteidl.event.Event.DynamicWorkflowNodeMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.DynamicWorkflowNodeMetadata(); - } - - public static flyteidl.event.Event.DynamicWorkflowNodeMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DynamicWorkflowNodeMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DynamicWorkflowNodeMetadata(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.event.Event.DynamicWorkflowNodeMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParentTaskExecutionMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.ParentTaskExecutionMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.event.ParentTaskExecutionMetadata} - */ - public static final class ParentTaskExecutionMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.ParentTaskExecutionMetadata) - ParentTaskExecutionMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use ParentTaskExecutionMetadata.newBuilder() to construct. - private ParentTaskExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ParentTaskExecutionMetadata() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ParentTaskExecutionMetadata( - 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 (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = 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.event.Event.internal_static_flyteidl_event_ParentTaskExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentTaskExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ParentTaskExecutionMetadata.class, flyteidl.event.Event.ParentTaskExecutionMetadata.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return id_ != null; - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - return getId(); - } - - 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 (id_ != null) { - output.writeMessage(1, getId()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getId()); - } - 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.event.Event.ParentTaskExecutionMetadata)) { - return super.equals(obj); - } - flyteidl.event.Event.ParentTaskExecutionMetadata other = (flyteidl.event.Event.ParentTaskExecutionMetadata) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) 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 (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.ParentTaskExecutionMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata 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.event.Event.ParentTaskExecutionMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata 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.event.Event.ParentTaskExecutionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ParentTaskExecutionMetadata 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.event.Event.ParentTaskExecutionMetadata 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.event.ParentTaskExecutionMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.ParentTaskExecutionMetadata) - flyteidl.event.Event.ParentTaskExecutionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentTaskExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentTaskExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ParentTaskExecutionMetadata.class, flyteidl.event.Event.ParentTaskExecutionMetadata.Builder.class); - } - - // Construct using flyteidl.event.Event.ParentTaskExecutionMetadata.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 (idBuilder_ == null) { - id_ = null; - } else { - id_ = null; - idBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentTaskExecutionMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.ParentTaskExecutionMetadata getDefaultInstanceForType() { - return flyteidl.event.Event.ParentTaskExecutionMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.ParentTaskExecutionMetadata build() { - flyteidl.event.Event.ParentTaskExecutionMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.ParentTaskExecutionMetadata buildPartial() { - flyteidl.event.Event.ParentTaskExecutionMetadata result = new flyteidl.event.Event.ParentTaskExecutionMetadata(this); - if (idBuilder_ == null) { - result.id_ = id_; - } else { - result.id_ = idBuilder_.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.event.Event.ParentTaskExecutionMetadata) { - return mergeFrom((flyteidl.event.Event.ParentTaskExecutionMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.ParentTaskExecutionMetadata other) { - if (other == flyteidl.event.Event.ParentTaskExecutionMetadata.getDefaultInstance()) return this; - if (other.hasId()) { - mergeId(other.getId()); - } - 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.event.Event.ParentTaskExecutionMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.ParentTaskExecutionMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> idBuilder_; - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public boolean hasId() { - return idBuilder_ != null || id_ != null; - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { - if (idBuilder_ == null) { - return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } else { - return idBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - id_ = value; - onChanged(); - } else { - idBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder setId( - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { - if (idBuilder_ == null) { - id_ = builderForValue.build(); - onChanged(); - } else { - idBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder mergeId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { - if (idBuilder_ == null) { - if (id_ != null) { - id_ = - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); - } else { - id_ = value; - } - onChanged(); - } else { - idBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public Builder clearId() { - if (idBuilder_ == null) { - id_ = null; - onChanged(); - } else { - id_ = null; - idBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getIdBuilder() { - - onChanged(); - return getIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { - if (idBuilder_ != null) { - return idBuilder_.getMessageOrBuilder(); - } else { - return id_ == null ? - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; - } - } - /** - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> - getIdFieldBuilder() { - if (idBuilder_ == null) { - idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( - getId(), - getParentForChildren(), - isClean()); - id_ = null; - } - return idBuilder_; - } - @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.event.ParentTaskExecutionMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.ParentTaskExecutionMetadata) - private static final flyteidl.event.Event.ParentTaskExecutionMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.ParentTaskExecutionMetadata(); - } - - public static flyteidl.event.Event.ParentTaskExecutionMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParentTaskExecutionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ParentTaskExecutionMetadata(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.event.Event.ParentTaskExecutionMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ParentNodeExecutionMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.ParentNodeExecutionMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique identifier of the parent node id within the execution
-     * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-     * 
- * - * string node_id = 1; - */ - java.lang.String getNodeId(); - /** - *
-     * Unique identifier of the parent node id within the execution
-     * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-     * 
- * - * string node_id = 1; - */ - com.google.protobuf.ByteString - getNodeIdBytes(); - } - /** - * Protobuf type {@code flyteidl.event.ParentNodeExecutionMetadata} - */ - public static final class ParentNodeExecutionMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.ParentNodeExecutionMetadata) - ParentNodeExecutionMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use ParentNodeExecutionMetadata.newBuilder() to construct. - private ParentNodeExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ParentNodeExecutionMetadata() { - nodeId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ParentNodeExecutionMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - nodeId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentNodeExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentNodeExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ParentNodeExecutionMetadata.class, flyteidl.event.Event.ParentNodeExecutionMetadata.Builder.class); - } - - public static final int NODE_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object nodeId_; - /** - *
-     * Unique identifier of the parent node id within the execution
-     * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-     * 
- * - * string node_id = 1; - */ - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - 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(); - nodeId_ = s; - return s; - } - } - /** - *
-     * Unique identifier of the parent node id within the execution
-     * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-     * 
- * - * string node_id = 1; - */ - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = 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 (!getNodeIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nodeId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNodeIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nodeId_); - } - 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.event.Event.ParentNodeExecutionMetadata)) { - return super.equals(obj); - } - flyteidl.event.Event.ParentNodeExecutionMetadata other = (flyteidl.event.Event.ParentNodeExecutionMetadata) obj; - - if (!getNodeId() - .equals(other.getNodeId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.ParentNodeExecutionMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata 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.event.Event.ParentNodeExecutionMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata 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.event.Event.ParentNodeExecutionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ParentNodeExecutionMetadata 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.event.Event.ParentNodeExecutionMetadata 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.event.ParentNodeExecutionMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.ParentNodeExecutionMetadata) - flyteidl.event.Event.ParentNodeExecutionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentNodeExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentNodeExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ParentNodeExecutionMetadata.class, flyteidl.event.Event.ParentNodeExecutionMetadata.Builder.class); - } - - // Construct using flyteidl.event.Event.ParentNodeExecutionMetadata.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(); - nodeId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_ParentNodeExecutionMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.ParentNodeExecutionMetadata getDefaultInstanceForType() { - return flyteidl.event.Event.ParentNodeExecutionMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.ParentNodeExecutionMetadata build() { - flyteidl.event.Event.ParentNodeExecutionMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.ParentNodeExecutionMetadata buildPartial() { - flyteidl.event.Event.ParentNodeExecutionMetadata result = new flyteidl.event.Event.ParentNodeExecutionMetadata(this); - result.nodeId_ = nodeId_; - 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.event.Event.ParentNodeExecutionMetadata) { - return mergeFrom((flyteidl.event.Event.ParentNodeExecutionMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.ParentNodeExecutionMetadata other) { - if (other == flyteidl.event.Event.ParentNodeExecutionMetadata.getDefaultInstance()) return this; - if (!other.getNodeId().isEmpty()) { - nodeId_ = other.nodeId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.event.Event.ParentNodeExecutionMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.ParentNodeExecutionMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object nodeId_ = ""; - /** - *
-       * Unique identifier of the parent node id within the execution
-       * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-       * 
- * - * string node_id = 1; - */ - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nodeId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique identifier of the parent node id within the execution
-       * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-       * 
- * - * string node_id = 1; - */ - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique identifier of the parent node id within the execution
-       * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-       * 
- * - * string node_id = 1; - */ - public Builder setNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nodeId_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique identifier of the parent node id within the execution
-       * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-       * 
- * - * string node_id = 1; - */ - public Builder clearNodeId() { - - nodeId_ = getDefaultInstance().getNodeId(); - onChanged(); - return this; - } - /** - *
-       * Unique identifier of the parent node id within the execution
-       * This is value of core.NodeExecutionIdentifier.node_id of the parent node 
-       * 
- * - * string node_id = 1; - */ - public Builder setNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nodeId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.event.ParentNodeExecutionMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.ParentNodeExecutionMetadata) - private static final flyteidl.event.Event.ParentNodeExecutionMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.ParentNodeExecutionMetadata(); - } - - public static flyteidl.event.Event.ParentNodeExecutionMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParentNodeExecutionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ParentNodeExecutionMetadata(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.event.Event.ParentNodeExecutionMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface EventReasonOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.EventReason) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * An explanation for this event
-     * 
- * - * string reason = 1; - */ - java.lang.String getReason(); - /** - *
-     * An explanation for this event
-     * 
- * - * string reason = 1; - */ - com.google.protobuf.ByteString - getReasonBytes(); - - /** - *
-     * The time this reason occurred
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - boolean hasOccurredAt(); - /** - *
-     * The time this reason occurred
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - com.google.protobuf.Timestamp getOccurredAt(); - /** - *
-     * The time this reason occurred
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.event.EventReason} - */ - public static final class EventReason extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.EventReason) - EventReasonOrBuilder { - private static final long serialVersionUID = 0L; - // Use EventReason.newBuilder() to construct. - private EventReason(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EventReason() { - reason_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EventReason( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - reason_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (occurredAt_ != null) { - subBuilder = occurredAt_.toBuilder(); - } - occurredAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(occurredAt_); - occurredAt_ = 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.event.Event.internal_static_flyteidl_event_EventReason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_EventReason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.EventReason.class, flyteidl.event.Event.EventReason.Builder.class); - } - - public static final int REASON_FIELD_NUMBER = 1; - private volatile java.lang.Object reason_; - /** - *
-     * An explanation for this event
-     * 
- * - * string reason = 1; - */ - public java.lang.String getReason() { - java.lang.Object ref = reason_; - 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(); - reason_ = s; - return s; - } - } - /** - *
-     * An explanation for this event
-     * 
- * - * string reason = 1; - */ - public com.google.protobuf.ByteString - getReasonBytes() { - java.lang.Object ref = reason_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - reason_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OCCURRED_AT_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp occurredAt_; - /** - *
-     * The time this reason occurred
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public boolean hasOccurredAt() { - return occurredAt_ != null; - } - /** - *
-     * The time this reason occurred
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - /** - *
-     * The time this reason occurred
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - return getOccurredAt(); - } - - 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 (!getReasonBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_); - } - if (occurredAt_ != null) { - output.writeMessage(2, getOccurredAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getReasonBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reason_); - } - if (occurredAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOccurredAt()); - } - 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.event.Event.EventReason)) { - return super.equals(obj); - } - flyteidl.event.Event.EventReason other = (flyteidl.event.Event.EventReason) obj; - - if (!getReason() - .equals(other.getReason())) return false; - if (hasOccurredAt() != other.hasOccurredAt()) return false; - if (hasOccurredAt()) { - if (!getOccurredAt() - .equals(other.getOccurredAt())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REASON_FIELD_NUMBER; - hash = (53 * hash) + getReason().hashCode(); - if (hasOccurredAt()) { - hash = (37 * hash) + OCCURRED_AT_FIELD_NUMBER; - hash = (53 * hash) + getOccurredAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.EventReason parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.EventReason parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.EventReason parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.EventReason parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.EventReason parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.EventReason parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.EventReason parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.EventReason 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.event.Event.EventReason parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.EventReason 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.event.Event.EventReason parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.EventReason 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.event.Event.EventReason 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.event.EventReason} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.EventReason) - flyteidl.event.Event.EventReasonOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_EventReason_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_EventReason_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.EventReason.class, flyteidl.event.Event.EventReason.Builder.class); - } - - // Construct using flyteidl.event.Event.EventReason.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(); - reason_ = ""; - - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_EventReason_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.EventReason getDefaultInstanceForType() { - return flyteidl.event.Event.EventReason.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.EventReason build() { - flyteidl.event.Event.EventReason result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.EventReason buildPartial() { - flyteidl.event.Event.EventReason result = new flyteidl.event.Event.EventReason(this); - result.reason_ = reason_; - if (occurredAtBuilder_ == null) { - result.occurredAt_ = occurredAt_; - } else { - result.occurredAt_ = occurredAtBuilder_.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.event.Event.EventReason) { - return mergeFrom((flyteidl.event.Event.EventReason)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.EventReason other) { - if (other == flyteidl.event.Event.EventReason.getDefaultInstance()) return this; - if (!other.getReason().isEmpty()) { - reason_ = other.reason_; - onChanged(); - } - if (other.hasOccurredAt()) { - mergeOccurredAt(other.getOccurredAt()); - } - 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.event.Event.EventReason parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.EventReason) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object reason_ = ""; - /** - *
-       * An explanation for this event
-       * 
- * - * string reason = 1; - */ - public java.lang.String getReason() { - java.lang.Object ref = reason_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - reason_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * An explanation for this event
-       * 
- * - * string reason = 1; - */ - public com.google.protobuf.ByteString - getReasonBytes() { - java.lang.Object ref = reason_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - reason_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * An explanation for this event
-       * 
- * - * string reason = 1; - */ - public Builder setReason( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - reason_ = value; - onChanged(); - return this; - } - /** - *
-       * An explanation for this event
-       * 
- * - * string reason = 1; - */ - public Builder clearReason() { - - reason_ = getDefaultInstance().getReason(); - onChanged(); - return this; - } - /** - *
-       * An explanation for this event
-       * 
- * - * string reason = 1; - */ - public Builder setReasonBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - reason_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp occurredAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_; - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public boolean hasOccurredAt() { - return occurredAtBuilder_ != null || occurredAt_ != null; - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - if (occurredAtBuilder_ == null) { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } else { - return occurredAtBuilder_.getMessage(); - } - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder setOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - occurredAt_ = value; - onChanged(); - } else { - occurredAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder setOccurredAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (occurredAtBuilder_ == null) { - occurredAt_ = builderForValue.build(); - onChanged(); - } else { - occurredAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder mergeOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (occurredAt_ != null) { - occurredAt_ = - com.google.protobuf.Timestamp.newBuilder(occurredAt_).mergeFrom(value).buildPartial(); - } else { - occurredAt_ = value; - } - onChanged(); - } else { - occurredAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public Builder clearOccurredAt() { - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - onChanged(); - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - - return this; - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder() { - - onChanged(); - return getOccurredAtFieldBuilder().getBuilder(); - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - if (occurredAtBuilder_ != null) { - return occurredAtBuilder_.getMessageOrBuilder(); - } else { - return occurredAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - } - /** - *
-       * The time this reason occurred
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getOccurredAtFieldBuilder() { - if (occurredAtBuilder_ == null) { - occurredAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOccurredAt(), - getParentForChildren(), - isClean()); - occurredAt_ = null; - } - return occurredAtBuilder_; - } - @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.event.EventReason) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.EventReason) - private static final flyteidl.event.Event.EventReason DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.EventReason(); - } - - public static flyteidl.event.Event.EventReason getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventReason parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EventReason(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.event.Event.EventReason getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.TaskExecutionEvent) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * ID of the task. In combination with the retryAttempt this will indicate
-     * the task execution uniquely for a given parent node execution.
-     * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - boolean hasTaskId(); - /** - *
-     * ID of the task. In combination with the retryAttempt this will indicate
-     * the task execution uniquely for a given parent node execution.
-     * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - flyteidl.core.IdentifierOuterClass.Identifier getTaskId(); - /** - *
-     * ID of the task. In combination with the retryAttempt this will indicate
-     * the task execution uniquely for a given parent node execution.
-     * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder(); - - /** - *
-     * A task execution is always kicked off by a node execution, the event consumer
-     * will use the parent_id to relate the task to it's parent node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - boolean hasParentNodeExecutionId(); - /** - *
-     * A task execution is always kicked off by a node execution, the event consumer
-     * will use the parent_id to relate the task to it's parent node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecutionId(); - /** - *
-     * A task execution is always kicked off by a node execution, the event consumer
-     * will use the parent_id to relate the task to it's parent node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionIdOrBuilder(); - - /** - *
-     * retry attempt number for this task, ie., 2 for the second attempt
-     * 
- * - * uint32 retry_attempt = 3; - */ - int getRetryAttempt(); - - /** - *
-     * Phase associated with the event
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - int getPhaseValue(); - /** - *
-     * Phase associated with the event
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - flyteidl.core.Execution.TaskExecution.Phase getPhase(); - - /** - *
-     * id of the process that sent this event, mainly for trace debugging
-     * 
- * - * string producer_id = 5; - */ - java.lang.String getProducerId(); - /** - *
-     * id of the process that sent this event, mainly for trace debugging
-     * 
- * - * string producer_id = 5; - */ - com.google.protobuf.ByteString - getProducerIdBytes(); - - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - java.util.List - getLogsList(); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - flyteidl.core.Execution.TaskLog getLogs(int index); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - int getLogsCount(); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - java.util.List - getLogsOrBuilderList(); - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index); - - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the task.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - boolean hasOccurredAt(); - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the task.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - com.google.protobuf.Timestamp getOccurredAt(); - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the task.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder(); - - /** - *
-     * URI of the input file, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string input_uri = 8; - */ - java.lang.String getInputUri(); - /** - *
-     * URI of the input file, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string input_uri = 8; - */ - com.google.protobuf.ByteString - getInputUriBytes(); - - /** - *
-     * Raw input data consumed by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - boolean hasInputData(); - /** - *
-     * Raw input data consumed by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - flyteidl.core.Literals.LiteralMap getInputData(); - /** - *
-     * Raw input data consumed by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); - - /** - *
-     * URI to the output of the execution, it will be in a format that encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 9; - */ - java.lang.String getOutputUri(); - /** - *
-     * URI to the output of the execution, it will be in a format that encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 9; - */ - com.google.protobuf.ByteString - getOutputUriBytes(); - - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - boolean hasError(); - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - flyteidl.core.Execution.ExecutionError getError(); - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder(); - - /** - *
-     * Raw output data produced by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - boolean hasOutputData(); - /** - *
-     * Raw output data produced by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Raw output data produced by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - /** - *
-     * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - boolean hasCustomInfo(); - /** - *
-     * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - com.google.protobuf.Struct getCustomInfo(); - /** - *
-     * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder(); - - /** - *
-     * Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)
-     * that should be recorded regardless of the lack of phase change.
-     * The version field should be incremented when metadata changes across the duration of an individual phase.
-     * 
- * - * uint32 phase_version = 12; - */ - int getPhaseVersion(); - - /** - *
-     * An optional explanation for the phase transition.
-     * Deprecated: Use reasons instead.
-     * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated java.lang.String getReason(); - /** - *
-     * An optional explanation for the phase transition.
-     * Deprecated: Use reasons instead.
-     * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getReasonBytes(); - - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - java.util.List - getReasonsList(); - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - flyteidl.event.Event.EventReason getReasons(int index); - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - int getReasonsCount(); - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - java.util.List - getReasonsOrBuilderList(); - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - flyteidl.event.Event.EventReasonOrBuilder getReasonsOrBuilder( - int index); - - /** - *
-     * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-     * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-     * type is useful to render the task in the UI, filter task executions, etc.
-     * 
- * - * string task_type = 14; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-     * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-     * type is useful to render the task in the UI, filter task executions, etc.
-     * 
- * - * string task_type = 14; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - boolean hasMetadata(); - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - flyteidl.event.Event.TaskExecutionMetadata getMetadata(); - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - flyteidl.event.Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder(); - - /** - *
-     * The event version is used to indicate versioned changes in how data is reported using this
-     * proto message. For example, event_verison > 0 means that maps tasks report logs using the
-     * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-     * in this message.
-     * 
- * - * int32 event_version = 18; - */ - int getEventVersion(); - - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-     * facilitates a more accurate portrayal of the evaluation time-series. 
-     * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - boolean hasReportedAt(); - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-     * facilitates a more accurate portrayal of the evaluation time-series. 
-     * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - com.google.protobuf.Timestamp getReportedAt(); - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-     * facilitates a more accurate portrayal of the evaluation time-series. 
-     * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder(); - - public flyteidl.event.Event.TaskExecutionEvent.InputValueCase getInputValueCase(); - - public flyteidl.event.Event.TaskExecutionEvent.OutputResultCase getOutputResultCase(); - } - /** - *
-   * Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob.
-   * 
- * - * Protobuf type {@code flyteidl.event.TaskExecutionEvent} - */ - public static final class TaskExecutionEvent extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.TaskExecutionEvent) - TaskExecutionEventOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionEvent.newBuilder() to construct. - private TaskExecutionEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionEvent() { - phase_ = 0; - producerId_ = ""; - logs_ = java.util.Collections.emptyList(); - reason_ = ""; - reasons_ = java.util.Collections.emptyList(); - taskType_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionEvent( - 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.Identifier.Builder subBuilder = null; - if (taskId_ != null) { - subBuilder = taskId_.toBuilder(); - } - taskId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(taskId_); - taskId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; - if (parentNodeExecutionId_ != null) { - subBuilder = parentNodeExecutionId_.toBuilder(); - } - parentNodeExecutionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(parentNodeExecutionId_); - parentNodeExecutionId_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { - - retryAttempt_ = input.readUInt32(); - break; - } - case 32: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - producerId_ = s; - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - logs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - logs_.add( - input.readMessage(flyteidl.core.Execution.TaskLog.parser(), extensionRegistry)); - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (occurredAt_ != null) { - subBuilder = occurredAt_.toBuilder(); - } - occurredAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(occurredAt_); - occurredAt_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - inputValueCase_ = 8; - inputValue_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - outputResultCase_ = 9; - outputResult_ = s; - break; - } - case 82: { - flyteidl.core.Execution.ExecutionError.Builder subBuilder = null; - if (outputResultCase_ == 10) { - subBuilder = ((flyteidl.core.Execution.ExecutionError) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Execution.ExecutionError.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Execution.ExecutionError) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 10; - break; - } - case 90: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (customInfo_ != null) { - subBuilder = customInfo_.toBuilder(); - } - customInfo_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(customInfo_); - customInfo_ = subBuilder.buildPartial(); - } - - break; - } - case 96: { - - phaseVersion_ = input.readUInt32(); - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - - reason_ = s; - break; - } - case 114: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 130: { - flyteidl.event.Event.TaskExecutionMetadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(flyteidl.event.Event.TaskExecutionMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - case 138: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputResultCase_ == 17) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) outputResult_).toBuilder(); - } - outputResult_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) outputResult_); - outputResult_ = subBuilder.buildPartial(); - } - outputResultCase_ = 17; - break; - } - case 144: { - - eventVersion_ = input.readInt32(); - break; - } - case 154: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputValueCase_ == 19) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) inputValue_).toBuilder(); - } - inputValue_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) inputValue_); - inputValue_ = subBuilder.buildPartial(); - } - inputValueCase_ = 19; - break; - } - case 162: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (reportedAt_ != null) { - subBuilder = reportedAt_.toBuilder(); - } - reportedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reportedAt_); - reportedAt_ = subBuilder.buildPartial(); - } - - break; - } - case 170: { - if (!((mutable_bitField0_ & 0x00008000) != 0)) { - reasons_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00008000; - } - reasons_.add( - input.readMessage(flyteidl.event.Event.EventReason.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_ & 0x00000020) != 0)) { - logs_ = java.util.Collections.unmodifiableList(logs_); - } - if (((mutable_bitField0_ & 0x00008000) != 0)) { - reasons_ = java.util.Collections.unmodifiableList(reasons_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionEvent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.TaskExecutionEvent.class, flyteidl.event.Event.TaskExecutionEvent.Builder.class); - } - - private int bitField0_; - private int inputValueCase_ = 0; - private java.lang.Object inputValue_; - public enum InputValueCase - implements com.google.protobuf.Internal.EnumLite { - INPUT_URI(8), - INPUT_DATA(19), - INPUTVALUE_NOT_SET(0); - private final int value; - private InputValueCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static InputValueCase valueOf(int value) { - return forNumber(value); - } - - public static InputValueCase forNumber(int value) { - switch (value) { - case 8: return INPUT_URI; - case 19: return INPUT_DATA; - case 0: return INPUTVALUE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public InputValueCase - getInputValueCase() { - return InputValueCase.forNumber( - inputValueCase_); - } - - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public enum OutputResultCase - implements com.google.protobuf.Internal.EnumLite { - OUTPUT_URI(9), - ERROR(10), - OUTPUT_DATA(17), - OUTPUTRESULT_NOT_SET(0); - private final int value; - private OutputResultCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static OutputResultCase valueOf(int value) { - return forNumber(value); - } - - public static OutputResultCase forNumber(int value) { - switch (value) { - case 9: return OUTPUT_URI; - case 10: return ERROR; - case 17: return OUTPUT_DATA; - case 0: return OUTPUTRESULT_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public static final int TASK_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.Identifier taskId_; - /** - *
-     * ID of the task. In combination with the retryAttempt this will indicate
-     * the task execution uniquely for a given parent node execution.
-     * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public boolean hasTaskId() { - return taskId_ != null; - } - /** - *
-     * ID of the task. In combination with the retryAttempt this will indicate
-     * the task execution uniquely for a given parent node execution.
-     * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getTaskId() { - return taskId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : taskId_; - } - /** - *
-     * ID of the task. In combination with the retryAttempt this will indicate
-     * the task execution uniquely for a given parent node execution.
-     * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder() { - return getTaskId(); - } - - public static final int PARENT_NODE_EXECUTION_ID_FIELD_NUMBER = 2; - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecutionId_; - /** - *
-     * A task execution is always kicked off by a node execution, the event consumer
-     * will use the parent_id to relate the task to it's parent node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public boolean hasParentNodeExecutionId() { - return parentNodeExecutionId_ != null; - } - /** - *
-     * A task execution is always kicked off by a node execution, the event consumer
-     * will use the parent_id to relate the task to it's parent node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecutionId() { - return parentNodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecutionId_; - } - /** - *
-     * A task execution is always kicked off by a node execution, the event consumer
-     * will use the parent_id to relate the task to it's parent node execution
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionIdOrBuilder() { - return getParentNodeExecutionId(); - } - - public static final int RETRY_ATTEMPT_FIELD_NUMBER = 3; - private int retryAttempt_; - /** - *
-     * retry attempt number for this task, ie., 2 for the second attempt
-     * 
- * - * uint32 retry_attempt = 3; - */ - public int getRetryAttempt() { - return retryAttempt_; - } - - public static final int PHASE_FIELD_NUMBER = 4; - private int phase_; - /** - *
-     * Phase associated with the event
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-     * Phase associated with the event
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - - public static final int PRODUCER_ID_FIELD_NUMBER = 5; - private volatile java.lang.Object producerId_; - /** - *
-     * id of the process that sent this event, mainly for trace debugging
-     * 
- * - * string producer_id = 5; - */ - public java.lang.String getProducerId() { - java.lang.Object ref = producerId_; - 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(); - producerId_ = s; - return s; - } - } - /** - *
-     * id of the process that sent this event, mainly for trace debugging
-     * 
- * - * string producer_id = 5; - */ - public com.google.protobuf.ByteString - getProducerIdBytes() { - java.lang.Object ref = producerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - producerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LOGS_FIELD_NUMBER = 6; - private java.util.List logs_; - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List getLogsList() { - return logs_; - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List - getLogsOrBuilderList() { - return logs_; - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public int getLogsCount() { - return logs_.size(); - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog getLogs(int index) { - return logs_.get(index); - } - /** - *
-     * log information for the task execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index) { - return logs_.get(index); - } - - public static final int OCCURRED_AT_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp occurredAt_; - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the task.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public boolean hasOccurredAt() { - return occurredAt_ != null; - } - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the task.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - /** - *
-     * This timestamp represents when the original event occurred, it is generated
-     * by the executor of the task.
-     * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - return getOccurredAt(); - } - - public static final int INPUT_URI_FIELD_NUMBER = 8; - /** - *
-     * URI of the input file, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string input_uri = 8; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = ""; - if (inputValueCase_ == 8) { - ref = inputValue_; - } - 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 (inputValueCase_ == 8) { - inputValue_ = s; - } - return s; - } - } - /** - *
-     * URI of the input file, it encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string input_uri = 8; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = ""; - if (inputValueCase_ == 8) { - ref = inputValue_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (inputValueCase_ == 8) { - inputValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INPUT_DATA_FIELD_NUMBER = 19; - /** - *
-     * Raw input data consumed by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public boolean hasInputData() { - return inputValueCase_ == 19; - } - /** - *
-     * Raw input data consumed by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputValueCase_ == 19) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw input data consumed by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if (inputValueCase_ == 19) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int OUTPUT_URI_FIELD_NUMBER = 9; - /** - *
-     * URI to the output of the execution, it will be in a format that encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 9; - */ - public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 9) { - ref = outputResult_; - } - 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 (outputResultCase_ == 9) { - outputResult_ = s; - } - return s; - } - } - /** - *
-     * URI to the output of the execution, it will be in a format that encodes all the information
-     * including Cloud source provider. ie., s3://...
-     * 
- * - * string output_uri = 9; - */ - public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 9) { - ref = outputResult_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 9) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_FIELD_NUMBER = 10; - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public boolean hasError() { - return outputResultCase_ == 10; - } - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (outputResultCase_ == 10) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - /** - *
-     * Error information for the execution
-     * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if (outputResultCase_ == 10) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - - public static final int OUTPUT_DATA_FIELD_NUMBER = 17; - /** - *
-     * Raw output data produced by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public boolean hasOutputData() { - return outputResultCase_ == 17; - } - /** - *
-     * Raw output data produced by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputResultCase_ == 17) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * Raw output data produced by this task execution.
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputResultCase_ == 17) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int CUSTOM_INFO_FIELD_NUMBER = 11; - private com.google.protobuf.Struct customInfo_; - /** - *
-     * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public boolean hasCustomInfo() { - return customInfo_ != null; - } - /** - *
-     * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public com.google.protobuf.Struct getCustomInfo() { - return customInfo_ == null ? com.google.protobuf.Struct.getDefaultInstance() : customInfo_; - } - /** - *
-     * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-     * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder() { - return getCustomInfo(); - } - - public static final int PHASE_VERSION_FIELD_NUMBER = 12; - private int phaseVersion_; - /** - *
-     * Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)
-     * that should be recorded regardless of the lack of phase change.
-     * The version field should be incremented when metadata changes across the duration of an individual phase.
-     * 
- * - * uint32 phase_version = 12; - */ - public int getPhaseVersion() { - return phaseVersion_; - } - - public static final int REASON_FIELD_NUMBER = 13; - private volatile java.lang.Object reason_; - /** - *
-     * An optional explanation for the phase transition.
-     * Deprecated: Use reasons instead.
-     * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getReason() { - java.lang.Object ref = reason_; - 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(); - reason_ = s; - return s; - } - } - /** - *
-     * An optional explanation for the phase transition.
-     * Deprecated: Use reasons instead.
-     * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getReasonBytes() { - java.lang.Object ref = reason_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - reason_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REASONS_FIELD_NUMBER = 21; - private java.util.List reasons_; - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public java.util.List getReasonsList() { - return reasons_; - } - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public java.util.List - getReasonsOrBuilderList() { - return reasons_; - } - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public int getReasonsCount() { - return reasons_.size(); - } - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public flyteidl.event.Event.EventReason getReasons(int index) { - return reasons_.get(index); - } - /** - *
-     * An optional list of explanations for the phase transition.
-     * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public flyteidl.event.Event.EventReasonOrBuilder getReasonsOrBuilder( - int index) { - return reasons_.get(index); - } - - public static final int TASK_TYPE_FIELD_NUMBER = 14; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-     * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-     * type is useful to render the task in the UI, filter task executions, etc.
-     * 
- * - * string task_type = 14; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-     * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-     * type is useful to render the task in the UI, filter task executions, etc.
-     * 
- * - * string task_type = 14; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int METADATA_FIELD_NUMBER = 16; - private flyteidl.event.Event.TaskExecutionMetadata metadata_; - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata getMetadata() { - return metadata_ == null ? flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Metadata around how a task was executed.
-     * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); - } - - public static final int EVENT_VERSION_FIELD_NUMBER = 18; - private int eventVersion_; - /** - *
-     * The event version is used to indicate versioned changes in how data is reported using this
-     * proto message. For example, event_verison > 0 means that maps tasks report logs using the
-     * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-     * in this message.
-     * 
- * - * int32 event_version = 18; - */ - public int getEventVersion() { - return eventVersion_; - } - - public static final int REPORTED_AT_FIELD_NUMBER = 20; - private com.google.protobuf.Timestamp reportedAt_; - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-     * facilitates a more accurate portrayal of the evaluation time-series. 
-     * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public boolean hasReportedAt() { - return reportedAt_ != null; - } - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-     * facilitates a more accurate portrayal of the evaluation time-series. 
-     * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public com.google.protobuf.Timestamp getReportedAt() { - return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; - } - /** - *
-     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-     * facilitates a more accurate portrayal of the evaluation time-series. 
-     * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { - return getReportedAt(); - } - - 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 (taskId_ != null) { - output.writeMessage(1, getTaskId()); - } - if (parentNodeExecutionId_ != null) { - output.writeMessage(2, getParentNodeExecutionId()); - } - if (retryAttempt_ != 0) { - output.writeUInt32(3, retryAttempt_); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(4, phase_); - } - if (!getProducerIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, producerId_); - } - for (int i = 0; i < logs_.size(); i++) { - output.writeMessage(6, logs_.get(i)); - } - if (occurredAt_ != null) { - output.writeMessage(7, getOccurredAt()); - } - if (inputValueCase_ == 8) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, inputValue_); - } - if (outputResultCase_ == 9) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, outputResult_); - } - if (outputResultCase_ == 10) { - output.writeMessage(10, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (customInfo_ != null) { - output.writeMessage(11, getCustomInfo()); - } - if (phaseVersion_ != 0) { - output.writeUInt32(12, phaseVersion_); - } - if (!getReasonBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, reason_); - } - if (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 14, taskType_); - } - if (metadata_ != null) { - output.writeMessage(16, getMetadata()); - } - if (outputResultCase_ == 17) { - output.writeMessage(17, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (eventVersion_ != 0) { - output.writeInt32(18, eventVersion_); - } - if (inputValueCase_ == 19) { - output.writeMessage(19, (flyteidl.core.Literals.LiteralMap) inputValue_); - } - if (reportedAt_ != null) { - output.writeMessage(20, getReportedAt()); - } - for (int i = 0; i < reasons_.size(); i++) { - output.writeMessage(21, reasons_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (taskId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTaskId()); - } - if (parentNodeExecutionId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getParentNodeExecutionId()); - } - if (retryAttempt_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, retryAttempt_); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, phase_); - } - if (!getProducerIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, producerId_); - } - for (int i = 0; i < logs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, logs_.get(i)); - } - if (occurredAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getOccurredAt()); - } - if (inputValueCase_ == 8) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, inputValue_); - } - if (outputResultCase_ == 9) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, outputResult_); - } - if (outputResultCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (flyteidl.core.Execution.ExecutionError) outputResult_); - } - if (customInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getCustomInfo()); - } - if (phaseVersion_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(12, phaseVersion_); - } - if (!getReasonBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, reason_); - } - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, taskType_); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getMetadata()); - } - if (outputResultCase_ == 17) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, (flyteidl.core.Literals.LiteralMap) outputResult_); - } - if (eventVersion_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(18, eventVersion_); - } - if (inputValueCase_ == 19) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, (flyteidl.core.Literals.LiteralMap) inputValue_); - } - if (reportedAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getReportedAt()); - } - for (int i = 0; i < reasons_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, reasons_.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.event.Event.TaskExecutionEvent)) { - return super.equals(obj); - } - flyteidl.event.Event.TaskExecutionEvent other = (flyteidl.event.Event.TaskExecutionEvent) obj; - - if (hasTaskId() != other.hasTaskId()) return false; - if (hasTaskId()) { - if (!getTaskId() - .equals(other.getTaskId())) return false; - } - if (hasParentNodeExecutionId() != other.hasParentNodeExecutionId()) return false; - if (hasParentNodeExecutionId()) { - if (!getParentNodeExecutionId() - .equals(other.getParentNodeExecutionId())) return false; - } - if (getRetryAttempt() - != other.getRetryAttempt()) return false; - if (phase_ != other.phase_) return false; - if (!getProducerId() - .equals(other.getProducerId())) return false; - if (!getLogsList() - .equals(other.getLogsList())) return false; - if (hasOccurredAt() != other.hasOccurredAt()) return false; - if (hasOccurredAt()) { - if (!getOccurredAt() - .equals(other.getOccurredAt())) return false; - } - if (hasCustomInfo() != other.hasCustomInfo()) return false; - if (hasCustomInfo()) { - if (!getCustomInfo() - .equals(other.getCustomInfo())) return false; - } - if (getPhaseVersion() - != other.getPhaseVersion()) return false; - if (!getReason() - .equals(other.getReason())) return false; - if (!getReasonsList() - .equals(other.getReasonsList())) return false; - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } - if (getEventVersion() - != other.getEventVersion()) return false; - if (hasReportedAt() != other.hasReportedAt()) return false; - if (hasReportedAt()) { - if (!getReportedAt() - .equals(other.getReportedAt())) return false; - } - if (!getInputValueCase().equals(other.getInputValueCase())) return false; - switch (inputValueCase_) { - case 8: - if (!getInputUri() - .equals(other.getInputUri())) return false; - break; - case 19: - if (!getInputData() - .equals(other.getInputData())) return false; - break; - case 0: - default: - } - if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; - switch (outputResultCase_) { - case 9: - if (!getOutputUri() - .equals(other.getOutputUri())) return false; - break; - case 10: - if (!getError() - .equals(other.getError())) return false; - break; - case 17: - if (!getOutputData() - .equals(other.getOutputData())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTaskId()) { - hash = (37 * hash) + TASK_ID_FIELD_NUMBER; - hash = (53 * hash) + getTaskId().hashCode(); - } - if (hasParentNodeExecutionId()) { - hash = (37 * hash) + PARENT_NODE_EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getParentNodeExecutionId().hashCode(); - } - hash = (37 * hash) + RETRY_ATTEMPT_FIELD_NUMBER; - hash = (53 * hash) + getRetryAttempt(); - hash = (37 * hash) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - hash = (37 * hash) + PRODUCER_ID_FIELD_NUMBER; - hash = (53 * hash) + getProducerId().hashCode(); - if (getLogsCount() > 0) { - hash = (37 * hash) + LOGS_FIELD_NUMBER; - hash = (53 * hash) + getLogsList().hashCode(); - } - if (hasOccurredAt()) { - hash = (37 * hash) + OCCURRED_AT_FIELD_NUMBER; - hash = (53 * hash) + getOccurredAt().hashCode(); - } - if (hasCustomInfo()) { - hash = (37 * hash) + CUSTOM_INFO_FIELD_NUMBER; - hash = (53 * hash) + getCustomInfo().hashCode(); - } - hash = (37 * hash) + PHASE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getPhaseVersion(); - hash = (37 * hash) + REASON_FIELD_NUMBER; - hash = (53 * hash) + getReason().hashCode(); - if (getReasonsCount() > 0) { - hash = (37 * hash) + REASONS_FIELD_NUMBER; - hash = (53 * hash) + getReasonsList().hashCode(); - } - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } - hash = (37 * hash) + EVENT_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getEventVersion(); - if (hasReportedAt()) { - hash = (37 * hash) + REPORTED_AT_FIELD_NUMBER; - hash = (53 * hash) + getReportedAt().hashCode(); - } - switch (inputValueCase_) { - case 8: - hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getInputUri().hashCode(); - break; - case 19: - hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getInputData().hashCode(); - break; - case 0: - default: - } - switch (outputResultCase_) { - case 9: - hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; - hash = (53 * hash) + getOutputUri().hashCode(); - break; - case 10: - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - break; - case 17: - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.TaskExecutionEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskExecutionEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskExecutionEvent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskExecutionEvent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskExecutionEvent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskExecutionEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskExecutionEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskExecutionEvent 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.event.Event.TaskExecutionEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskExecutionEvent 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.event.Event.TaskExecutionEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskExecutionEvent 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.event.Event.TaskExecutionEvent 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; - } - /** - *
-     * Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob.
-     * 
- * - * Protobuf type {@code flyteidl.event.TaskExecutionEvent} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.TaskExecutionEvent) - flyteidl.event.Event.TaskExecutionEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionEvent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionEvent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.TaskExecutionEvent.class, flyteidl.event.Event.TaskExecutionEvent.Builder.class); - } - - // Construct using flyteidl.event.Event.TaskExecutionEvent.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getLogsFieldBuilder(); - getReasonsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (taskIdBuilder_ == null) { - taskId_ = null; - } else { - taskId_ = null; - taskIdBuilder_ = null; - } - if (parentNodeExecutionIdBuilder_ == null) { - parentNodeExecutionId_ = null; - } else { - parentNodeExecutionId_ = null; - parentNodeExecutionIdBuilder_ = null; - } - retryAttempt_ = 0; - - phase_ = 0; - - producerId_ = ""; - - if (logsBuilder_ == null) { - logs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - } else { - logsBuilder_.clear(); - } - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - if (customInfoBuilder_ == null) { - customInfo_ = null; - } else { - customInfo_ = null; - customInfoBuilder_ = null; - } - phaseVersion_ = 0; - - reason_ = ""; - - if (reasonsBuilder_ == null) { - reasons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00008000); - } else { - reasonsBuilder_.clear(); - } - taskType_ = ""; - - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } - eventVersion_ = 0; - - if (reportedAtBuilder_ == null) { - reportedAt_ = null; - } else { - reportedAt_ = null; - reportedAtBuilder_ = null; - } - inputValueCase_ = 0; - inputValue_ = null; - outputResultCase_ = 0; - outputResult_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionEvent_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.TaskExecutionEvent getDefaultInstanceForType() { - return flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.TaskExecutionEvent build() { - flyteidl.event.Event.TaskExecutionEvent result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.TaskExecutionEvent buildPartial() { - flyteidl.event.Event.TaskExecutionEvent result = new flyteidl.event.Event.TaskExecutionEvent(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (taskIdBuilder_ == null) { - result.taskId_ = taskId_; - } else { - result.taskId_ = taskIdBuilder_.build(); - } - if (parentNodeExecutionIdBuilder_ == null) { - result.parentNodeExecutionId_ = parentNodeExecutionId_; - } else { - result.parentNodeExecutionId_ = parentNodeExecutionIdBuilder_.build(); - } - result.retryAttempt_ = retryAttempt_; - result.phase_ = phase_; - result.producerId_ = producerId_; - if (logsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - logs_ = java.util.Collections.unmodifiableList(logs_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.logs_ = logs_; - } else { - result.logs_ = logsBuilder_.build(); - } - if (occurredAtBuilder_ == null) { - result.occurredAt_ = occurredAt_; - } else { - result.occurredAt_ = occurredAtBuilder_.build(); - } - if (inputValueCase_ == 8) { - result.inputValue_ = inputValue_; - } - if (inputValueCase_ == 19) { - if (inputDataBuilder_ == null) { - result.inputValue_ = inputValue_; - } else { - result.inputValue_ = inputDataBuilder_.build(); - } - } - if (outputResultCase_ == 9) { - result.outputResult_ = outputResult_; - } - if (outputResultCase_ == 10) { - if (errorBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = errorBuilder_.build(); - } - } - if (outputResultCase_ == 17) { - if (outputDataBuilder_ == null) { - result.outputResult_ = outputResult_; - } else { - result.outputResult_ = outputDataBuilder_.build(); - } - } - if (customInfoBuilder_ == null) { - result.customInfo_ = customInfo_; - } else { - result.customInfo_ = customInfoBuilder_.build(); - } - result.phaseVersion_ = phaseVersion_; - result.reason_ = reason_; - if (reasonsBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0)) { - reasons_ = java.util.Collections.unmodifiableList(reasons_); - bitField0_ = (bitField0_ & ~0x00008000); - } - result.reasons_ = reasons_; - } else { - result.reasons_ = reasonsBuilder_.build(); - } - result.taskType_ = taskType_; - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } - result.eventVersion_ = eventVersion_; - if (reportedAtBuilder_ == null) { - result.reportedAt_ = reportedAt_; - } else { - result.reportedAt_ = reportedAtBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - result.inputValueCase_ = inputValueCase_; - result.outputResultCase_ = outputResultCase_; - 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.event.Event.TaskExecutionEvent) { - return mergeFrom((flyteidl.event.Event.TaskExecutionEvent)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.TaskExecutionEvent other) { - if (other == flyteidl.event.Event.TaskExecutionEvent.getDefaultInstance()) return this; - if (other.hasTaskId()) { - mergeTaskId(other.getTaskId()); - } - if (other.hasParentNodeExecutionId()) { - mergeParentNodeExecutionId(other.getParentNodeExecutionId()); - } - if (other.getRetryAttempt() != 0) { - setRetryAttempt(other.getRetryAttempt()); - } - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (!other.getProducerId().isEmpty()) { - producerId_ = other.producerId_; - onChanged(); - } - if (logsBuilder_ == null) { - if (!other.logs_.isEmpty()) { - if (logs_.isEmpty()) { - logs_ = other.logs_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureLogsIsMutable(); - logs_.addAll(other.logs_); - } - onChanged(); - } - } else { - if (!other.logs_.isEmpty()) { - if (logsBuilder_.isEmpty()) { - logsBuilder_.dispose(); - logsBuilder_ = null; - logs_ = other.logs_; - bitField0_ = (bitField0_ & ~0x00000020); - logsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLogsFieldBuilder() : null; - } else { - logsBuilder_.addAllMessages(other.logs_); - } - } - } - if (other.hasOccurredAt()) { - mergeOccurredAt(other.getOccurredAt()); - } - if (other.hasCustomInfo()) { - mergeCustomInfo(other.getCustomInfo()); - } - if (other.getPhaseVersion() != 0) { - setPhaseVersion(other.getPhaseVersion()); - } - if (!other.getReason().isEmpty()) { - reason_ = other.reason_; - onChanged(); - } - if (reasonsBuilder_ == null) { - if (!other.reasons_.isEmpty()) { - if (reasons_.isEmpty()) { - reasons_ = other.reasons_; - bitField0_ = (bitField0_ & ~0x00008000); - } else { - ensureReasonsIsMutable(); - reasons_.addAll(other.reasons_); - } - onChanged(); - } - } else { - if (!other.reasons_.isEmpty()) { - if (reasonsBuilder_.isEmpty()) { - reasonsBuilder_.dispose(); - reasonsBuilder_ = null; - reasons_ = other.reasons_; - bitField0_ = (bitField0_ & ~0x00008000); - reasonsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReasonsFieldBuilder() : null; - } else { - reasonsBuilder_.addAllMessages(other.reasons_); - } - } - } - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } - if (other.getEventVersion() != 0) { - setEventVersion(other.getEventVersion()); - } - if (other.hasReportedAt()) { - mergeReportedAt(other.getReportedAt()); - } - switch (other.getInputValueCase()) { - case INPUT_URI: { - inputValueCase_ = 8; - inputValue_ = other.inputValue_; - onChanged(); - break; - } - case INPUT_DATA: { - mergeInputData(other.getInputData()); - break; - } - case INPUTVALUE_NOT_SET: { - break; - } - } - switch (other.getOutputResultCase()) { - case OUTPUT_URI: { - outputResultCase_ = 9; - outputResult_ = other.outputResult_; - onChanged(); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case OUTPUT_DATA: { - mergeOutputData(other.getOutputData()); - break; - } - case OUTPUTRESULT_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.event.Event.TaskExecutionEvent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.TaskExecutionEvent) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int inputValueCase_ = 0; - private java.lang.Object inputValue_; - public InputValueCase - getInputValueCase() { - return InputValueCase.forNumber( - inputValueCase_); - } - - public Builder clearInputValue() { - inputValueCase_ = 0; - inputValue_ = null; - onChanged(); - return this; - } - - private int outputResultCase_ = 0; - private java.lang.Object outputResult_; - public OutputResultCase - getOutputResultCase() { - return OutputResultCase.forNumber( - outputResultCase_); - } - - public Builder clearOutputResult() { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private flyteidl.core.IdentifierOuterClass.Identifier taskId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> taskIdBuilder_; - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public boolean hasTaskId() { - return taskIdBuilder_ != null || taskId_ != null; - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier getTaskId() { - if (taskIdBuilder_ == null) { - return taskId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : taskId_; - } else { - return taskIdBuilder_.getMessage(); - } - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder setTaskId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (taskIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - taskId_ = value; - onChanged(); - } else { - taskIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder setTaskId( - flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { - if (taskIdBuilder_ == null) { - taskId_ = builderForValue.build(); - onChanged(); - } else { - taskIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder mergeTaskId(flyteidl.core.IdentifierOuterClass.Identifier value) { - if (taskIdBuilder_ == null) { - if (taskId_ != null) { - taskId_ = - flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(taskId_).mergeFrom(value).buildPartial(); - } else { - taskId_ = value; - } - onChanged(); - } else { - taskIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public Builder clearTaskId() { - if (taskIdBuilder_ == null) { - taskId_ = null; - onChanged(); - } else { - taskId_ = null; - taskIdBuilder_ = null; - } - - return this; - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.Identifier.Builder getTaskIdBuilder() { - - onChanged(); - return getTaskIdFieldBuilder().getBuilder(); - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder() { - if (taskIdBuilder_ != null) { - return taskIdBuilder_.getMessageOrBuilder(); - } else { - return taskId_ == null ? - flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : taskId_; - } - } - /** - *
-       * ID of the task. In combination with the retryAttempt this will indicate
-       * the task execution uniquely for a given parent node execution.
-       * 
- * - * .flyteidl.core.Identifier task_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> - getTaskIdFieldBuilder() { - if (taskIdBuilder_ == null) { - taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( - getTaskId(), - getParentForChildren(), - isClean()); - taskId_ = null; - } - return taskIdBuilder_; - } - - private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecutionId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> parentNodeExecutionIdBuilder_; - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public boolean hasParentNodeExecutionId() { - return parentNodeExecutionIdBuilder_ != null || parentNodeExecutionId_ != null; - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecutionId() { - if (parentNodeExecutionIdBuilder_ == null) { - return parentNodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecutionId_; - } else { - return parentNodeExecutionIdBuilder_.getMessage(); - } - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public Builder setParentNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (parentNodeExecutionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - parentNodeExecutionId_ = value; - onChanged(); - } else { - parentNodeExecutionIdBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public Builder setParentNodeExecutionId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (parentNodeExecutionIdBuilder_ == null) { - parentNodeExecutionId_ = builderForValue.build(); - onChanged(); - } else { - parentNodeExecutionIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public Builder mergeParentNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (parentNodeExecutionIdBuilder_ == null) { - if (parentNodeExecutionId_ != null) { - parentNodeExecutionId_ = - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(parentNodeExecutionId_).mergeFrom(value).buildPartial(); - } else { - parentNodeExecutionId_ = value; - } - onChanged(); - } else { - parentNodeExecutionIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public Builder clearParentNodeExecutionId() { - if (parentNodeExecutionIdBuilder_ == null) { - parentNodeExecutionId_ = null; - onChanged(); - } else { - parentNodeExecutionId_ = null; - parentNodeExecutionIdBuilder_ = null; - } - - return this; - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getParentNodeExecutionIdBuilder() { - - onChanged(); - return getParentNodeExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionIdOrBuilder() { - if (parentNodeExecutionIdBuilder_ != null) { - return parentNodeExecutionIdBuilder_.getMessageOrBuilder(); - } else { - return parentNodeExecutionId_ == null ? - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : parentNodeExecutionId_; - } - } - /** - *
-       * A task execution is always kicked off by a node execution, the event consumer
-       * will use the parent_id to relate the task to it's parent node execution
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> - getParentNodeExecutionIdFieldBuilder() { - if (parentNodeExecutionIdBuilder_ == null) { - parentNodeExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - getParentNodeExecutionId(), - getParentForChildren(), - isClean()); - parentNodeExecutionId_ = null; - } - return parentNodeExecutionIdBuilder_; - } - - private int retryAttempt_ ; - /** - *
-       * retry attempt number for this task, ie., 2 for the second attempt
-       * 
- * - * uint32 retry_attempt = 3; - */ - public int getRetryAttempt() { - return retryAttempt_; - } - /** - *
-       * retry attempt number for this task, ie., 2 for the second attempt
-       * 
- * - * uint32 retry_attempt = 3; - */ - public Builder setRetryAttempt(int value) { - - retryAttempt_ = value; - onChanged(); - return this; - } - /** - *
-       * retry attempt number for this task, ie., 2 for the second attempt
-       * 
- * - * uint32 retry_attempt = 3; - */ - public Builder clearRetryAttempt() { - - retryAttempt_ = 0; - onChanged(); - return this; - } - - private int phase_ = 0; - /** - *
-       * Phase associated with the event
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-       * Phase associated with the event
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - *
-       * Phase associated with the event
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - /** - *
-       * Phase associated with the event
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public Builder setPhase(flyteidl.core.Execution.TaskExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Phase associated with the event
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private java.lang.Object producerId_ = ""; - /** - *
-       * id of the process that sent this event, mainly for trace debugging
-       * 
- * - * string producer_id = 5; - */ - public java.lang.String getProducerId() { - java.lang.Object ref = producerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - producerId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * id of the process that sent this event, mainly for trace debugging
-       * 
- * - * string producer_id = 5; - */ - public com.google.protobuf.ByteString - getProducerIdBytes() { - java.lang.Object ref = producerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - producerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * id of the process that sent this event, mainly for trace debugging
-       * 
- * - * string producer_id = 5; - */ - public Builder setProducerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - producerId_ = value; - onChanged(); - return this; - } - /** - *
-       * id of the process that sent this event, mainly for trace debugging
-       * 
- * - * string producer_id = 5; - */ - public Builder clearProducerId() { - - producerId_ = getDefaultInstance().getProducerId(); - onChanged(); - return this; - } - /** - *
-       * id of the process that sent this event, mainly for trace debugging
-       * 
- * - * string producer_id = 5; - */ - public Builder setProducerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - producerId_ = value; - onChanged(); - return this; - } - - private java.util.List logs_ = - java.util.Collections.emptyList(); - private void ensureLogsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - logs_ = new java.util.ArrayList(logs_); - bitField0_ |= 0x00000020; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> logsBuilder_; - - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List getLogsList() { - if (logsBuilder_ == null) { - return java.util.Collections.unmodifiableList(logs_); - } else { - return logsBuilder_.getMessageList(); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public int getLogsCount() { - if (logsBuilder_ == null) { - return logs_.size(); - } else { - return logsBuilder_.getCount(); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog getLogs(int index) { - if (logsBuilder_ == null) { - return logs_.get(index); - } else { - return logsBuilder_.getMessage(index); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder setLogs( - int index, flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.set(index, value); - onChanged(); - } else { - logsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder setLogs( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.set(index, builderForValue.build()); - onChanged(); - } else { - logsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs(flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.add(value); - onChanged(); - } else { - logsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs( - int index, flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.add(index, value); - onChanged(); - } else { - logsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs( - flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.add(builderForValue.build()); - onChanged(); - } else { - logsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.add(index, builderForValue.build()); - onChanged(); - } else { - logsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addAllLogs( - java.lang.Iterable values) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logs_); - onChanged(); - } else { - logsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder clearLogs() { - if (logsBuilder_ == null) { - logs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - logsBuilder_.clear(); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder removeLogs(int index) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.remove(index); - onChanged(); - } else { - logsBuilder_.remove(index); - } - return this; - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog.Builder getLogsBuilder( - int index) { - return getLogsFieldBuilder().getBuilder(index); - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index) { - if (logsBuilder_ == null) { - return logs_.get(index); } else { - return logsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List - getLogsOrBuilderList() { - if (logsBuilder_ != null) { - return logsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(logs_); - } - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder() { - return getLogsFieldBuilder().addBuilder( - flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder( - int index) { - return getLogsFieldBuilder().addBuilder( - index, flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the task execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List - getLogsBuilderList() { - return getLogsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> - getLogsFieldBuilder() { - if (logsBuilder_ == null) { - logsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder>( - logs_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); - logs_ = null; - } - return logsBuilder_; - } - - private com.google.protobuf.Timestamp occurredAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_; - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public boolean hasOccurredAt() { - return occurredAtBuilder_ != null || occurredAt_ != null; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public com.google.protobuf.Timestamp getOccurredAt() { - if (occurredAtBuilder_ == null) { - return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } else { - return occurredAtBuilder_.getMessage(); - } - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public Builder setOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - occurredAt_ = value; - onChanged(); - } else { - occurredAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public Builder setOccurredAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (occurredAtBuilder_ == null) { - occurredAt_ = builderForValue.build(); - onChanged(); - } else { - occurredAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public Builder mergeOccurredAt(com.google.protobuf.Timestamp value) { - if (occurredAtBuilder_ == null) { - if (occurredAt_ != null) { - occurredAt_ = - com.google.protobuf.Timestamp.newBuilder(occurredAt_).mergeFrom(value).buildPartial(); - } else { - occurredAt_ = value; - } - onChanged(); - } else { - occurredAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public Builder clearOccurredAt() { - if (occurredAtBuilder_ == null) { - occurredAt_ = null; - onChanged(); - } else { - occurredAt_ = null; - occurredAtBuilder_ = null; - } - - return this; - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder() { - - onChanged(); - return getOccurredAtFieldBuilder().getBuilder(); - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { - if (occurredAtBuilder_ != null) { - return occurredAtBuilder_.getMessageOrBuilder(); - } else { - return occurredAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; - } - } - /** - *
-       * This timestamp represents when the original event occurred, it is generated
-       * by the executor of the task.
-       * 
- * - * .google.protobuf.Timestamp occurred_at = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getOccurredAtFieldBuilder() { - if (occurredAtBuilder_ == null) { - occurredAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOccurredAt(), - getParentForChildren(), - isClean()); - occurredAt_ = null; - } - return occurredAtBuilder_; - } - - /** - *
-       * URI of the input file, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string input_uri = 8; - */ - public java.lang.String getInputUri() { - java.lang.Object ref = ""; - if (inputValueCase_ == 8) { - ref = inputValue_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (inputValueCase_ == 8) { - inputValue_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URI of the input file, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string input_uri = 8; - */ - public com.google.protobuf.ByteString - getInputUriBytes() { - java.lang.Object ref = ""; - if (inputValueCase_ == 8) { - ref = inputValue_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (inputValueCase_ == 8) { - inputValue_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URI of the input file, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string input_uri = 8; - */ - public Builder setInputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - inputValueCase_ = 8; - inputValue_ = value; - onChanged(); - return this; - } - /** - *
-       * URI of the input file, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string input_uri = 8; - */ - public Builder clearInputUri() { - if (inputValueCase_ == 8) { - inputValueCase_ = 0; - inputValue_ = null; - onChanged(); - } - return this; - } - /** - *
-       * URI of the input file, it encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string input_uri = 8; - */ - public Builder setInputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - inputValueCase_ = 8; - inputValue_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public boolean hasInputData() { - return inputValueCase_ == 19; - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputDataBuilder_ == null) { - if (inputValueCase_ == 19) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (inputValueCase_ == 19) { - return inputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputValue_ = value; - onChanged(); - } else { - inputDataBuilder_.setMessage(value); - } - inputValueCase_ = 19; - return this; - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public Builder setInputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputDataBuilder_ == null) { - inputValue_ = builderForValue.build(); - onChanged(); - } else { - inputDataBuilder_.setMessage(builderForValue.build()); - } - inputValueCase_ = 19; - return this; - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (inputValueCase_ == 19 && - inputValue_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - inputValue_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) inputValue_) - .mergeFrom(value).buildPartial(); - } else { - inputValue_ = value; - } - onChanged(); - } else { - if (inputValueCase_ == 19) { - inputDataBuilder_.mergeFrom(value); - } - inputDataBuilder_.setMessage(value); - } - inputValueCase_ = 19; - return this; - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public Builder clearInputData() { - if (inputDataBuilder_ == null) { - if (inputValueCase_ == 19) { - inputValueCase_ = 0; - inputValue_ = null; - onChanged(); - } - } else { - if (inputValueCase_ == 19) { - inputValueCase_ = 0; - inputValue_ = null; - } - inputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { - return getInputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if ((inputValueCase_ == 19) && (inputDataBuilder_ != null)) { - return inputDataBuilder_.getMessageOrBuilder(); - } else { - if (inputValueCase_ == 19) { - return (flyteidl.core.Literals.LiteralMap) inputValue_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw input data consumed by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap input_data = 19; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputDataFieldBuilder() { - if (inputDataBuilder_ == null) { - if (!(inputValueCase_ == 19)) { - inputValue_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) inputValue_, - getParentForChildren(), - isClean()); - inputValue_ = null; - } - inputValueCase_ = 19; - onChanged();; - return inputDataBuilder_; - } - - /** - *
-       * URI to the output of the execution, it will be in a format that encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 9; - */ - public java.lang.String getOutputUri() { - java.lang.Object ref = ""; - if (outputResultCase_ == 9) { - ref = outputResult_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (outputResultCase_ == 9) { - outputResult_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URI to the output of the execution, it will be in a format that encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 9; - */ - public com.google.protobuf.ByteString - getOutputUriBytes() { - java.lang.Object ref = ""; - if (outputResultCase_ == 9) { - ref = outputResult_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - if (outputResultCase_ == 9) { - outputResult_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URI to the output of the execution, it will be in a format that encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 9; - */ - public Builder setOutputUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - outputResultCase_ = 9; - outputResult_ = value; - onChanged(); - return this; - } - /** - *
-       * URI to the output of the execution, it will be in a format that encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 9; - */ - public Builder clearOutputUri() { - if (outputResultCase_ == 9) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - return this; - } - /** - *
-       * URI to the output of the execution, it will be in a format that encodes all the information
-       * including Cloud source provider. ie., s3://...
-       * 
- * - * string output_uri = 9; - */ - public Builder setOutputUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - outputResultCase_ = 9; - outputResult_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> errorBuilder_; - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public boolean hasError() { - return outputResultCase_ == 10; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public flyteidl.core.Execution.ExecutionError getError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 10) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } else { - if (outputResultCase_ == 10) { - return errorBuilder_.getMessage(); - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public Builder setError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - errorBuilder_.setMessage(value); - } - outputResultCase_ = 10; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public Builder setError( - flyteidl.core.Execution.ExecutionError.Builder builderForValue) { - if (errorBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 10; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public Builder mergeError(flyteidl.core.Execution.ExecutionError value) { - if (errorBuilder_ == null) { - if (outputResultCase_ == 10 && - outputResult_ != flyteidl.core.Execution.ExecutionError.getDefaultInstance()) { - outputResult_ = flyteidl.core.Execution.ExecutionError.newBuilder((flyteidl.core.Execution.ExecutionError) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 10) { - errorBuilder_.mergeFrom(value); - } - errorBuilder_.setMessage(value); - } - outputResultCase_ = 10; - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public Builder clearError() { - if (errorBuilder_ == null) { - if (outputResultCase_ == 10) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 10) { - outputResultCase_ = 0; - outputResult_ = null; - } - errorBuilder_.clear(); - } - return this; - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() { - return getErrorFieldBuilder().getBuilder(); - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { - if ((outputResultCase_ == 10) && (errorBuilder_ != null)) { - return errorBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 10) { - return (flyteidl.core.Execution.ExecutionError) outputResult_; - } - return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - } - /** - *
-       * Error information for the execution
-       * 
- * - * .flyteidl.core.ExecutionError error = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - if (!(outputResultCase_ == 10)) { - outputResult_ = flyteidl.core.Execution.ExecutionError.getDefaultInstance(); - } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder>( - (flyteidl.core.Execution.ExecutionError) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 10; - onChanged();; - return errorBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public boolean hasOutputData() { - return outputResultCase_ == 17; - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 17) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (outputResultCase_ == 17) { - return outputDataBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputResult_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 17; - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputResult_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - outputResultCase_ = 17; - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 17 && - outputResult_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - outputResult_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) outputResult_) - .mergeFrom(value).buildPartial(); - } else { - outputResult_ = value; - } - onChanged(); - } else { - if (outputResultCase_ == 17) { - outputDataBuilder_.mergeFrom(value); - } - outputDataBuilder_.setMessage(value); - } - outputResultCase_ = 17; - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - if (outputResultCase_ == 17) { - outputResultCase_ = 0; - outputResult_ = null; - onChanged(); - } - } else { - if (outputResultCase_ == 17) { - outputResultCase_ = 0; - outputResult_ = null; - } - outputDataBuilder_.clear(); - } - return this; - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if ((outputResultCase_ == 17) && (outputDataBuilder_ != null)) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - if (outputResultCase_ == 17) { - return (flyteidl.core.Literals.LiteralMap) outputResult_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * Raw output data produced by this task execution.
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 17; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - if (!(outputResultCase_ == 17)) { - outputResult_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) outputResult_, - getParentForChildren(), - isClean()); - outputResult_ = null; - } - outputResultCase_ = 17; - onChanged();; - return outputDataBuilder_; - } - - private com.google.protobuf.Struct customInfo_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> customInfoBuilder_; - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public boolean hasCustomInfo() { - return customInfoBuilder_ != null || customInfo_ != null; - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public com.google.protobuf.Struct getCustomInfo() { - if (customInfoBuilder_ == null) { - return customInfo_ == null ? com.google.protobuf.Struct.getDefaultInstance() : customInfo_; - } else { - return customInfoBuilder_.getMessage(); - } - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public Builder setCustomInfo(com.google.protobuf.Struct value) { - if (customInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - customInfo_ = value; - onChanged(); - } else { - customInfoBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public Builder setCustomInfo( - com.google.protobuf.Struct.Builder builderForValue) { - if (customInfoBuilder_ == null) { - customInfo_ = builderForValue.build(); - onChanged(); - } else { - customInfoBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public Builder mergeCustomInfo(com.google.protobuf.Struct value) { - if (customInfoBuilder_ == null) { - if (customInfo_ != null) { - customInfo_ = - com.google.protobuf.Struct.newBuilder(customInfo_).mergeFrom(value).buildPartial(); - } else { - customInfo_ = value; - } - onChanged(); - } else { - customInfoBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public Builder clearCustomInfo() { - if (customInfoBuilder_ == null) { - customInfo_ = null; - onChanged(); - } else { - customInfo_ = null; - customInfoBuilder_ = null; - } - - return this; - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public com.google.protobuf.Struct.Builder getCustomInfoBuilder() { - - onChanged(); - return getCustomInfoFieldBuilder().getBuilder(); - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - public com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder() { - if (customInfoBuilder_ != null) { - return customInfoBuilder_.getMessageOrBuilder(); - } else { - return customInfo_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : customInfo_; - } - } - /** - *
-       * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
-       * 
- * - * .google.protobuf.Struct custom_info = 11; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getCustomInfoFieldBuilder() { - if (customInfoBuilder_ == null) { - customInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getCustomInfo(), - getParentForChildren(), - isClean()); - customInfo_ = null; - } - return customInfoBuilder_; - } - - private int phaseVersion_ ; - /** - *
-       * Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)
-       * that should be recorded regardless of the lack of phase change.
-       * The version field should be incremented when metadata changes across the duration of an individual phase.
-       * 
- * - * uint32 phase_version = 12; - */ - public int getPhaseVersion() { - return phaseVersion_; - } - /** - *
-       * Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)
-       * that should be recorded regardless of the lack of phase change.
-       * The version field should be incremented when metadata changes across the duration of an individual phase.
-       * 
- * - * uint32 phase_version = 12; - */ - public Builder setPhaseVersion(int value) { - - phaseVersion_ = value; - onChanged(); - return this; - } - /** - *
-       * Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)
-       * that should be recorded regardless of the lack of phase change.
-       * The version field should be incremented when metadata changes across the duration of an individual phase.
-       * 
- * - * uint32 phase_version = 12; - */ - public Builder clearPhaseVersion() { - - phaseVersion_ = 0; - onChanged(); - return this; - } - - private java.lang.Object reason_ = ""; - /** - *
-       * An optional explanation for the phase transition.
-       * Deprecated: Use reasons instead.
-       * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getReason() { - java.lang.Object ref = reason_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - reason_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * An optional explanation for the phase transition.
-       * Deprecated: Use reasons instead.
-       * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getReasonBytes() { - java.lang.Object ref = reason_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - reason_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * An optional explanation for the phase transition.
-       * Deprecated: Use reasons instead.
-       * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setReason( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - reason_ = value; - onChanged(); - return this; - } - /** - *
-       * An optional explanation for the phase transition.
-       * Deprecated: Use reasons instead.
-       * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearReason() { - - reason_ = getDefaultInstance().getReason(); - onChanged(); - return this; - } - /** - *
-       * An optional explanation for the phase transition.
-       * Deprecated: Use reasons instead.
-       * 
- * - * string reason = 13 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setReasonBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - reason_ = value; - onChanged(); - return this; - } - - private java.util.List reasons_ = - java.util.Collections.emptyList(); - private void ensureReasonsIsMutable() { - if (!((bitField0_ & 0x00008000) != 0)) { - reasons_ = new java.util.ArrayList(reasons_); - bitField0_ |= 0x00008000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.EventReason, flyteidl.event.Event.EventReason.Builder, flyteidl.event.Event.EventReasonOrBuilder> reasonsBuilder_; - - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public java.util.List getReasonsList() { - if (reasonsBuilder_ == null) { - return java.util.Collections.unmodifiableList(reasons_); - } else { - return reasonsBuilder_.getMessageList(); - } - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public int getReasonsCount() { - if (reasonsBuilder_ == null) { - return reasons_.size(); - } else { - return reasonsBuilder_.getCount(); - } - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public flyteidl.event.Event.EventReason getReasons(int index) { - if (reasonsBuilder_ == null) { - return reasons_.get(index); - } else { - return reasonsBuilder_.getMessage(index); - } - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder setReasons( - int index, flyteidl.event.Event.EventReason value) { - if (reasonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReasonsIsMutable(); - reasons_.set(index, value); - onChanged(); - } else { - reasonsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder setReasons( - int index, flyteidl.event.Event.EventReason.Builder builderForValue) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.set(index, builderForValue.build()); - onChanged(); - } else { - reasonsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder addReasons(flyteidl.event.Event.EventReason value) { - if (reasonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReasonsIsMutable(); - reasons_.add(value); - onChanged(); - } else { - reasonsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder addReasons( - int index, flyteidl.event.Event.EventReason value) { - if (reasonsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReasonsIsMutable(); - reasons_.add(index, value); - onChanged(); - } else { - reasonsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder addReasons( - flyteidl.event.Event.EventReason.Builder builderForValue) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.add(builderForValue.build()); - onChanged(); - } else { - reasonsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder addReasons( - int index, flyteidl.event.Event.EventReason.Builder builderForValue) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.add(index, builderForValue.build()); - onChanged(); - } else { - reasonsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder addAllReasons( - java.lang.Iterable values) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reasons_); - onChanged(); - } else { - reasonsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder clearReasons() { - if (reasonsBuilder_ == null) { - reasons_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00008000); - onChanged(); - } else { - reasonsBuilder_.clear(); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public Builder removeReasons(int index) { - if (reasonsBuilder_ == null) { - ensureReasonsIsMutable(); - reasons_.remove(index); - onChanged(); - } else { - reasonsBuilder_.remove(index); - } - return this; - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public flyteidl.event.Event.EventReason.Builder getReasonsBuilder( - int index) { - return getReasonsFieldBuilder().getBuilder(index); - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public flyteidl.event.Event.EventReasonOrBuilder getReasonsOrBuilder( - int index) { - if (reasonsBuilder_ == null) { - return reasons_.get(index); } else { - return reasonsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public java.util.List - getReasonsOrBuilderList() { - if (reasonsBuilder_ != null) { - return reasonsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(reasons_); - } - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public flyteidl.event.Event.EventReason.Builder addReasonsBuilder() { - return getReasonsFieldBuilder().addBuilder( - flyteidl.event.Event.EventReason.getDefaultInstance()); - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public flyteidl.event.Event.EventReason.Builder addReasonsBuilder( - int index) { - return getReasonsFieldBuilder().addBuilder( - index, flyteidl.event.Event.EventReason.getDefaultInstance()); - } - /** - *
-       * An optional list of explanations for the phase transition.
-       * 
- * - * repeated .flyteidl.event.EventReason reasons = 21; - */ - public java.util.List - getReasonsBuilderList() { - return getReasonsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.EventReason, flyteidl.event.Event.EventReason.Builder, flyteidl.event.Event.EventReasonOrBuilder> - getReasonsFieldBuilder() { - if (reasonsBuilder_ == null) { - reasonsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.EventReason, flyteidl.event.Event.EventReason.Builder, flyteidl.event.Event.EventReasonOrBuilder>( - reasons_, - ((bitField0_ & 0x00008000) != 0), - getParentForChildren(), - isClean()); - reasons_ = null; - } - return reasonsBuilder_; - } - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-       * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-       * type is useful to render the task in the UI, filter task executions, etc.
-       * 
- * - * string task_type = 14; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-       * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-       * type is useful to render the task in the UI, filter task executions, etc.
-       * 
- * - * string task_type = 14; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-       * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-       * type is useful to render the task in the UI, filter task executions, etc.
-       * 
- * - * string task_type = 14; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-       * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-       * type is useful to render the task in the UI, filter task executions, etc.
-       * 
- * - * string task_type = 14; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
-       * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
-       * type is useful to render the task in the UI, filter task executions, etc.
-       * 
- * - * string task_type = 14; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private flyteidl.event.Event.TaskExecutionMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionMetadata, flyteidl.event.Event.TaskExecutionMetadata.Builder, flyteidl.event.Event.TaskExecutionMetadataOrBuilder> metadataBuilder_; - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance() : metadata_; - } else { - return metadataBuilder_.getMessage(); - } - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder setMetadata(flyteidl.event.Event.TaskExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; - onChanged(); - } else { - metadataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder setMetadata( - flyteidl.event.Event.TaskExecutionMetadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); - onChanged(); - } else { - metadataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder mergeMetadata(flyteidl.event.Event.TaskExecutionMetadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - flyteidl.event.Event.TaskExecutionMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; - } - - return this; - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance() : metadata_; - } - } - /** - *
-       * Metadata around how a task was executed.
-       * 
- * - * .flyteidl.event.TaskExecutionMetadata metadata = 16; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionMetadata, flyteidl.event.Event.TaskExecutionMetadata.Builder, flyteidl.event.Event.TaskExecutionMetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.event.Event.TaskExecutionMetadata, flyteidl.event.Event.TaskExecutionMetadata.Builder, flyteidl.event.Event.TaskExecutionMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); - metadata_ = null; - } - return metadataBuilder_; - } - - private int eventVersion_ ; - /** - *
-       * The event version is used to indicate versioned changes in how data is reported using this
-       * proto message. For example, event_verison > 0 means that maps tasks report logs using the
-       * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-       * in this message.
-       * 
- * - * int32 event_version = 18; - */ - public int getEventVersion() { - return eventVersion_; - } - /** - *
-       * The event version is used to indicate versioned changes in how data is reported using this
-       * proto message. For example, event_verison > 0 means that maps tasks report logs using the
-       * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-       * in this message.
-       * 
- * - * int32 event_version = 18; - */ - public Builder setEventVersion(int value) { - - eventVersion_ = value; - onChanged(); - return this; - } - /** - *
-       * The event version is used to indicate versioned changes in how data is reported using this
-       * proto message. For example, event_verison > 0 means that maps tasks report logs using the
-       * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
-       * in this message.
-       * 
- * - * int32 event_version = 18; - */ - public Builder clearEventVersion() { - - eventVersion_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp reportedAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> reportedAtBuilder_; - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public boolean hasReportedAt() { - return reportedAtBuilder_ != null || reportedAt_ != null; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public com.google.protobuf.Timestamp getReportedAt() { - if (reportedAtBuilder_ == null) { - return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; - } else { - return reportedAtBuilder_.getMessage(); - } - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public Builder setReportedAt(com.google.protobuf.Timestamp value) { - if (reportedAtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reportedAt_ = value; - onChanged(); - } else { - reportedAtBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public Builder setReportedAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (reportedAtBuilder_ == null) { - reportedAt_ = builderForValue.build(); - onChanged(); - } else { - reportedAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public Builder mergeReportedAt(com.google.protobuf.Timestamp value) { - if (reportedAtBuilder_ == null) { - if (reportedAt_ != null) { - reportedAt_ = - com.google.protobuf.Timestamp.newBuilder(reportedAt_).mergeFrom(value).buildPartial(); - } else { - reportedAt_ = value; - } - onChanged(); - } else { - reportedAtBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public Builder clearReportedAt() { - if (reportedAtBuilder_ == null) { - reportedAt_ = null; - onChanged(); - } else { - reportedAt_ = null; - reportedAtBuilder_ = null; - } - - return this; - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public com.google.protobuf.Timestamp.Builder getReportedAtBuilder() { - - onChanged(); - return getReportedAtFieldBuilder().getBuilder(); - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { - if (reportedAtBuilder_ != null) { - return reportedAtBuilder_.getMessageOrBuilder(); - } else { - return reportedAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; - } - } - /** - *
-       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
-       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
-       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
-       * facilitates a more accurate portrayal of the evaluation time-series. 
-       * 
- * - * .google.protobuf.Timestamp reported_at = 20; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getReportedAtFieldBuilder() { - if (reportedAtBuilder_ == null) { - reportedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getReportedAt(), - getParentForChildren(), - isClean()); - reportedAt_ = null; - } - return reportedAtBuilder_; - } - @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.event.TaskExecutionEvent) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.TaskExecutionEvent) - private static final flyteidl.event.Event.TaskExecutionEvent DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.TaskExecutionEvent(); - } - - public static flyteidl.event.Event.TaskExecutionEvent getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionEvent(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.event.Event.TaskExecutionEvent getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExternalResourceInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.ExternalResourceInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-     * 
- * - * string external_id = 1; - */ - java.lang.String getExternalId(); - /** - *
-     * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-     * 
- * - * string external_id = 1; - */ - com.google.protobuf.ByteString - getExternalIdBytes(); - - /** - *
-     * A unique index for the external resource with respect to all external resources for this task. Although the
-     * identifier may change between task reporting events or retries, this will remain the same to enable aggregating
-     * information from multiple reports.
-     * 
- * - * uint32 index = 2; - */ - int getIndex(); - - /** - *
-     * Retry attempt number for this external resource, ie., 2 for the second attempt
-     * 
- * - * uint32 retry_attempt = 3; - */ - int getRetryAttempt(); - - /** - *
-     * Phase associated with the external resource
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - int getPhaseValue(); - /** - *
-     * Phase associated with the external resource
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - flyteidl.core.Execution.TaskExecution.Phase getPhase(); - - /** - *
-     * Captures the status of caching for this external resource execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - int getCacheStatusValue(); - /** - *
-     * Captures the status of caching for this external resource execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus(); - - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - java.util.List - getLogsList(); - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - flyteidl.core.Execution.TaskLog getLogs(int index); - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - int getLogsCount(); - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - java.util.List - getLogsOrBuilderList(); - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index); - } - /** - *
-   * This message contains metadata about external resources produced or used by a specific task execution.
-   * 
- * - * Protobuf type {@code flyteidl.event.ExternalResourceInfo} - */ - public static final class ExternalResourceInfo extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.ExternalResourceInfo) - ExternalResourceInfoOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExternalResourceInfo.newBuilder() to construct. - private ExternalResourceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExternalResourceInfo() { - externalId_ = ""; - phase_ = 0; - cacheStatus_ = 0; - logs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExternalResourceInfo( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - externalId_ = s; - break; - } - case 16: { - - index_ = input.readUInt32(); - break; - } - case 24: { - - retryAttempt_ = input.readUInt32(); - break; - } - case 32: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); - - cacheStatus_ = rawValue; - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - logs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; - } - logs_.add( - input.readMessage(flyteidl.core.Execution.TaskLog.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_ & 0x00000020) != 0)) { - logs_ = java.util.Collections.unmodifiableList(logs_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_ExternalResourceInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ExternalResourceInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ExternalResourceInfo.class, flyteidl.event.Event.ExternalResourceInfo.Builder.class); - } - - private int bitField0_; - public static final int EXTERNAL_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object externalId_; - /** - *
-     * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-     * 
- * - * string external_id = 1; - */ - public java.lang.String getExternalId() { - java.lang.Object ref = externalId_; - 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(); - externalId_ = s; - return s; - } - } - /** - *
-     * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-     * 
- * - * string external_id = 1; - */ - public com.google.protobuf.ByteString - getExternalIdBytes() { - java.lang.Object ref = externalId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - externalId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INDEX_FIELD_NUMBER = 2; - private int index_; - /** - *
-     * A unique index for the external resource with respect to all external resources for this task. Although the
-     * identifier may change between task reporting events or retries, this will remain the same to enable aggregating
-     * information from multiple reports.
-     * 
- * - * uint32 index = 2; - */ - public int getIndex() { - return index_; - } - - public static final int RETRY_ATTEMPT_FIELD_NUMBER = 3; - private int retryAttempt_; - /** - *
-     * Retry attempt number for this external resource, ie., 2 for the second attempt
-     * 
- * - * uint32 retry_attempt = 3; - */ - public int getRetryAttempt() { - return retryAttempt_; - } - - public static final int PHASE_FIELD_NUMBER = 4; - private int phase_; - /** - *
-     * Phase associated with the external resource
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-     * Phase associated with the external resource
-     * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - - public static final int CACHE_STATUS_FIELD_NUMBER = 5; - private int cacheStatus_; - /** - *
-     * Captures the status of caching for this external resource execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - public int getCacheStatusValue() { - return cacheStatus_; - } - /** - *
-     * Captures the status of caching for this external resource execution.
-     * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - public flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogCacheStatus result = flyteidl.core.Catalog.CatalogCacheStatus.valueOf(cacheStatus_); - return result == null ? flyteidl.core.Catalog.CatalogCacheStatus.UNRECOGNIZED : result; - } - - public static final int LOGS_FIELD_NUMBER = 6; - private java.util.List logs_; - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List getLogsList() { - return logs_; - } - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List - getLogsOrBuilderList() { - return logs_; - } - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public int getLogsCount() { - return logs_.size(); - } - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog getLogs(int index) { - return logs_.get(index); - } - /** - *
-     * log information for the external resource execution
-     * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index) { - return logs_.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 { - if (!getExternalIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, externalId_); - } - if (index_ != 0) { - output.writeUInt32(2, index_); - } - if (retryAttempt_ != 0) { - output.writeUInt32(3, retryAttempt_); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(4, phase_); - } - if (cacheStatus_ != flyteidl.core.Catalog.CatalogCacheStatus.CACHE_DISABLED.getNumber()) { - output.writeEnum(5, cacheStatus_); - } - for (int i = 0; i < logs_.size(); i++) { - output.writeMessage(6, logs_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getExternalIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, externalId_); - } - if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, index_); - } - if (retryAttempt_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, retryAttempt_); - } - if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, phase_); - } - if (cacheStatus_ != flyteidl.core.Catalog.CatalogCacheStatus.CACHE_DISABLED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, cacheStatus_); - } - for (int i = 0; i < logs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, logs_.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.event.Event.ExternalResourceInfo)) { - return super.equals(obj); - } - flyteidl.event.Event.ExternalResourceInfo other = (flyteidl.event.Event.ExternalResourceInfo) obj; - - if (!getExternalId() - .equals(other.getExternalId())) return false; - if (getIndex() - != other.getIndex()) return false; - if (getRetryAttempt() - != other.getRetryAttempt()) return false; - if (phase_ != other.phase_) return false; - if (cacheStatus_ != other.cacheStatus_) return false; - if (!getLogsList() - .equals(other.getLogsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + EXTERNAL_ID_FIELD_NUMBER; - hash = (53 * hash) + getExternalId().hashCode(); - hash = (37 * hash) + INDEX_FIELD_NUMBER; - hash = (53 * hash) + getIndex(); - hash = (37 * hash) + RETRY_ATTEMPT_FIELD_NUMBER; - hash = (53 * hash) + getRetryAttempt(); - hash = (37 * hash) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - hash = (37 * hash) + CACHE_STATUS_FIELD_NUMBER; - hash = (53 * hash) + cacheStatus_; - if (getLogsCount() > 0) { - hash = (37 * hash) + LOGS_FIELD_NUMBER; - hash = (53 * hash) + getLogsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.ExternalResourceInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ExternalResourceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ExternalResourceInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ExternalResourceInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ExternalResourceInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ExternalResourceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ExternalResourceInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ExternalResourceInfo 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.event.Event.ExternalResourceInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ExternalResourceInfo 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.event.Event.ExternalResourceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ExternalResourceInfo 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.event.Event.ExternalResourceInfo 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; - } - /** - *
-     * This message contains metadata about external resources produced or used by a specific task execution.
-     * 
- * - * Protobuf type {@code flyteidl.event.ExternalResourceInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.ExternalResourceInfo) - flyteidl.event.Event.ExternalResourceInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_ExternalResourceInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ExternalResourceInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ExternalResourceInfo.class, flyteidl.event.Event.ExternalResourceInfo.Builder.class); - } - - // Construct using flyteidl.event.Event.ExternalResourceInfo.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getLogsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - externalId_ = ""; - - index_ = 0; - - retryAttempt_ = 0; - - phase_ = 0; - - cacheStatus_ = 0; - - if (logsBuilder_ == null) { - logs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - } else { - logsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_ExternalResourceInfo_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.ExternalResourceInfo getDefaultInstanceForType() { - return flyteidl.event.Event.ExternalResourceInfo.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.ExternalResourceInfo build() { - flyteidl.event.Event.ExternalResourceInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.ExternalResourceInfo buildPartial() { - flyteidl.event.Event.ExternalResourceInfo result = new flyteidl.event.Event.ExternalResourceInfo(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.externalId_ = externalId_; - result.index_ = index_; - result.retryAttempt_ = retryAttempt_; - result.phase_ = phase_; - result.cacheStatus_ = cacheStatus_; - if (logsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - logs_ = java.util.Collections.unmodifiableList(logs_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.logs_ = logs_; - } else { - result.logs_ = logsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.event.Event.ExternalResourceInfo) { - return mergeFrom((flyteidl.event.Event.ExternalResourceInfo)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.ExternalResourceInfo other) { - if (other == flyteidl.event.Event.ExternalResourceInfo.getDefaultInstance()) return this; - if (!other.getExternalId().isEmpty()) { - externalId_ = other.externalId_; - onChanged(); - } - if (other.getIndex() != 0) { - setIndex(other.getIndex()); - } - if (other.getRetryAttempt() != 0) { - setRetryAttempt(other.getRetryAttempt()); - } - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (other.cacheStatus_ != 0) { - setCacheStatusValue(other.getCacheStatusValue()); - } - if (logsBuilder_ == null) { - if (!other.logs_.isEmpty()) { - if (logs_.isEmpty()) { - logs_ = other.logs_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureLogsIsMutable(); - logs_.addAll(other.logs_); - } - onChanged(); - } - } else { - if (!other.logs_.isEmpty()) { - if (logsBuilder_.isEmpty()) { - logsBuilder_.dispose(); - logsBuilder_ = null; - logs_ = other.logs_; - bitField0_ = (bitField0_ & ~0x00000020); - logsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLogsFieldBuilder() : null; - } else { - logsBuilder_.addAllMessages(other.logs_); - } - } - } - 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.event.Event.ExternalResourceInfo parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.ExternalResourceInfo) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object externalId_ = ""; - /** - *
-       * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-       * 
- * - * string external_id = 1; - */ - public java.lang.String getExternalId() { - java.lang.Object ref = externalId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - externalId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-       * 
- * - * string external_id = 1; - */ - public com.google.protobuf.ByteString - getExternalIdBytes() { - java.lang.Object ref = externalId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - externalId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-       * 
- * - * string external_id = 1; - */ - public Builder setExternalId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - externalId_ = value; - onChanged(); - return this; - } - /** - *
-       * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-       * 
- * - * string external_id = 1; - */ - public Builder clearExternalId() { - - externalId_ = getDefaultInstance().getExternalId(); - onChanged(); - return this; - } - /** - *
-       * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
-       * 
- * - * string external_id = 1; - */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - externalId_ = value; - onChanged(); - return this; - } - - private int index_ ; - /** - *
-       * A unique index for the external resource with respect to all external resources for this task. Although the
-       * identifier may change between task reporting events or retries, this will remain the same to enable aggregating
-       * information from multiple reports.
-       * 
- * - * uint32 index = 2; - */ - public int getIndex() { - return index_; - } - /** - *
-       * A unique index for the external resource with respect to all external resources for this task. Although the
-       * identifier may change between task reporting events or retries, this will remain the same to enable aggregating
-       * information from multiple reports.
-       * 
- * - * uint32 index = 2; - */ - public Builder setIndex(int value) { - - index_ = value; - onChanged(); - return this; - } - /** - *
-       * A unique index for the external resource with respect to all external resources for this task. Although the
-       * identifier may change between task reporting events or retries, this will remain the same to enable aggregating
-       * information from multiple reports.
-       * 
- * - * uint32 index = 2; - */ - public Builder clearIndex() { - - index_ = 0; - onChanged(); - return this; - } - - private int retryAttempt_ ; - /** - *
-       * Retry attempt number for this external resource, ie., 2 for the second attempt
-       * 
- * - * uint32 retry_attempt = 3; - */ - public int getRetryAttempt() { - return retryAttempt_; - } - /** - *
-       * Retry attempt number for this external resource, ie., 2 for the second attempt
-       * 
- * - * uint32 retry_attempt = 3; - */ - public Builder setRetryAttempt(int value) { - - retryAttempt_ = value; - onChanged(); - return this; - } - /** - *
-       * Retry attempt number for this external resource, ie., 2 for the second attempt
-       * 
- * - * uint32 retry_attempt = 3; - */ - public Builder clearRetryAttempt() { - - retryAttempt_ = 0; - onChanged(); - return this; - } - - private int phase_ = 0; - /** - *
-       * Phase associated with the external resource
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public int getPhaseValue() { - return phase_; - } - /** - *
-       * Phase associated with the external resource
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - *
-       * Phase associated with the external resource
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public flyteidl.core.Execution.TaskExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; - } - /** - *
-       * Phase associated with the external resource
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public Builder setPhase(flyteidl.core.Execution.TaskExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Phase associated with the external resource
-       * 
- * - * .flyteidl.core.TaskExecution.Phase phase = 4; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private int cacheStatus_ = 0; - /** - *
-       * Captures the status of caching for this external resource execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - public int getCacheStatusValue() { - return cacheStatus_; - } - /** - *
-       * Captures the status of caching for this external resource execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - public Builder setCacheStatusValue(int value) { - cacheStatus_ = value; - onChanged(); - return this; - } - /** - *
-       * Captures the status of caching for this external resource execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - public flyteidl.core.Catalog.CatalogCacheStatus getCacheStatus() { - @SuppressWarnings("deprecation") - flyteidl.core.Catalog.CatalogCacheStatus result = flyteidl.core.Catalog.CatalogCacheStatus.valueOf(cacheStatus_); - return result == null ? flyteidl.core.Catalog.CatalogCacheStatus.UNRECOGNIZED : result; - } - /** - *
-       * Captures the status of caching for this external resource execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - public Builder setCacheStatus(flyteidl.core.Catalog.CatalogCacheStatus value) { - if (value == null) { - throw new NullPointerException(); - } - - cacheStatus_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Captures the status of caching for this external resource execution.
-       * 
- * - * .flyteidl.core.CatalogCacheStatus cache_status = 5; - */ - public Builder clearCacheStatus() { - - cacheStatus_ = 0; - onChanged(); - return this; - } - - private java.util.List logs_ = - java.util.Collections.emptyList(); - private void ensureLogsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - logs_ = new java.util.ArrayList(logs_); - bitField0_ |= 0x00000020; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> logsBuilder_; - - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List getLogsList() { - if (logsBuilder_ == null) { - return java.util.Collections.unmodifiableList(logs_); - } else { - return logsBuilder_.getMessageList(); - } - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public int getLogsCount() { - if (logsBuilder_ == null) { - return logs_.size(); - } else { - return logsBuilder_.getCount(); - } - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog getLogs(int index) { - if (logsBuilder_ == null) { - return logs_.get(index); - } else { - return logsBuilder_.getMessage(index); - } - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder setLogs( - int index, flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.set(index, value); - onChanged(); - } else { - logsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder setLogs( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.set(index, builderForValue.build()); - onChanged(); - } else { - logsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs(flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.add(value); - onChanged(); - } else { - logsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs( - int index, flyteidl.core.Execution.TaskLog value) { - if (logsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureLogsIsMutable(); - logs_.add(index, value); - onChanged(); - } else { - logsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs( - flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.add(builderForValue.build()); - onChanged(); - } else { - logsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addLogs( - int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.add(index, builderForValue.build()); - onChanged(); - } else { - logsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder addAllLogs( - java.lang.Iterable values) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, logs_); - onChanged(); - } else { - logsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder clearLogs() { - if (logsBuilder_ == null) { - logs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - } else { - logsBuilder_.clear(); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public Builder removeLogs(int index) { - if (logsBuilder_ == null) { - ensureLogsIsMutable(); - logs_.remove(index); - onChanged(); - } else { - logsBuilder_.remove(index); - } - return this; - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog.Builder getLogsBuilder( - int index) { - return getLogsFieldBuilder().getBuilder(index); - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( - int index) { - if (logsBuilder_ == null) { - return logs_.get(index); } else { - return logsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List - getLogsOrBuilderList() { - if (logsBuilder_ != null) { - return logsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(logs_); - } - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder() { - return getLogsFieldBuilder().addBuilder( - flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder( - int index) { - return getLogsFieldBuilder().addBuilder( - index, flyteidl.core.Execution.TaskLog.getDefaultInstance()); - } - /** - *
-       * log information for the external resource execution
-       * 
- * - * repeated .flyteidl.core.TaskLog logs = 6; - */ - public java.util.List - getLogsBuilderList() { - return getLogsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> - getLogsFieldBuilder() { - if (logsBuilder_ == null) { - logsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder>( - logs_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); - logs_ = null; - } - return logsBuilder_; - } - @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.event.ExternalResourceInfo) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.ExternalResourceInfo) - private static final flyteidl.event.Event.ExternalResourceInfo DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.ExternalResourceInfo(); - } - - public static flyteidl.event.Event.ExternalResourceInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExternalResourceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExternalResourceInfo(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.event.Event.ExternalResourceInfo getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ResourcePoolInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.ResourcePoolInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique resource ID used to identify this execution when allocating a token.
-     * 
- * - * string allocation_token = 1; - */ - java.lang.String getAllocationToken(); - /** - *
-     * Unique resource ID used to identify this execution when allocating a token.
-     * 
- * - * string allocation_token = 1; - */ - com.google.protobuf.ByteString - getAllocationTokenBytes(); - - /** - *
-     * Namespace under which this task execution requested an allocation token.
-     * 
- * - * string namespace = 2; - */ - java.lang.String getNamespace(); - /** - *
-     * Namespace under which this task execution requested an allocation token.
-     * 
- * - * string namespace = 2; - */ - com.google.protobuf.ByteString - getNamespaceBytes(); - } - /** - *
-   * This message holds task execution metadata specific to resource allocation used to manage concurrent
-   * executions for a project namespace.
-   * 
- * - * Protobuf type {@code flyteidl.event.ResourcePoolInfo} - */ - public static final class ResourcePoolInfo extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.ResourcePoolInfo) - ResourcePoolInfoOrBuilder { - private static final long serialVersionUID = 0L; - // Use ResourcePoolInfo.newBuilder() to construct. - private ResourcePoolInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ResourcePoolInfo() { - allocationToken_ = ""; - namespace_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ResourcePoolInfo( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - allocationToken_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - namespace_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_ResourcePoolInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ResourcePoolInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ResourcePoolInfo.class, flyteidl.event.Event.ResourcePoolInfo.Builder.class); - } - - public static final int ALLOCATION_TOKEN_FIELD_NUMBER = 1; - private volatile java.lang.Object allocationToken_; - /** - *
-     * Unique resource ID used to identify this execution when allocating a token.
-     * 
- * - * string allocation_token = 1; - */ - public java.lang.String getAllocationToken() { - java.lang.Object ref = allocationToken_; - 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(); - allocationToken_ = s; - return s; - } - } - /** - *
-     * Unique resource ID used to identify this execution when allocating a token.
-     * 
- * - * string allocation_token = 1; - */ - public com.google.protobuf.ByteString - getAllocationTokenBytes() { - java.lang.Object ref = allocationToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - allocationToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAMESPACE_FIELD_NUMBER = 2; - private volatile java.lang.Object namespace_; - /** - *
-     * Namespace under which this task execution requested an allocation token.
-     * 
- * - * string namespace = 2; - */ - public java.lang.String getNamespace() { - java.lang.Object ref = namespace_; - 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(); - namespace_ = s; - return s; - } - } - /** - *
-     * Namespace under which this task execution requested an allocation token.
-     * 
- * - * string namespace = 2; - */ - public com.google.protobuf.ByteString - getNamespaceBytes() { - java.lang.Object ref = namespace_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - namespace_ = 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 (!getAllocationTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allocationToken_); - } - if (!getNamespaceBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getAllocationTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, allocationToken_); - } - if (!getNamespaceBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_); - } - 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.event.Event.ResourcePoolInfo)) { - return super.equals(obj); - } - flyteidl.event.Event.ResourcePoolInfo other = (flyteidl.event.Event.ResourcePoolInfo) obj; - - if (!getAllocationToken() - .equals(other.getAllocationToken())) return false; - if (!getNamespace() - .equals(other.getNamespace())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ALLOCATION_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getAllocationToken().hashCode(); - hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; - hash = (53 * hash) + getNamespace().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.ResourcePoolInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ResourcePoolInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ResourcePoolInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ResourcePoolInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ResourcePoolInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.ResourcePoolInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.ResourcePoolInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ResourcePoolInfo 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.event.Event.ResourcePoolInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ResourcePoolInfo 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.event.Event.ResourcePoolInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.ResourcePoolInfo 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.event.Event.ResourcePoolInfo 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; - } - /** - *
-     * This message holds task execution metadata specific to resource allocation used to manage concurrent
-     * executions for a project namespace.
-     * 
- * - * Protobuf type {@code flyteidl.event.ResourcePoolInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.ResourcePoolInfo) - flyteidl.event.Event.ResourcePoolInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_ResourcePoolInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_ResourcePoolInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.ResourcePoolInfo.class, flyteidl.event.Event.ResourcePoolInfo.Builder.class); - } - - // Construct using flyteidl.event.Event.ResourcePoolInfo.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(); - allocationToken_ = ""; - - namespace_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_ResourcePoolInfo_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.ResourcePoolInfo getDefaultInstanceForType() { - return flyteidl.event.Event.ResourcePoolInfo.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.ResourcePoolInfo build() { - flyteidl.event.Event.ResourcePoolInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.ResourcePoolInfo buildPartial() { - flyteidl.event.Event.ResourcePoolInfo result = new flyteidl.event.Event.ResourcePoolInfo(this); - result.allocationToken_ = allocationToken_; - result.namespace_ = namespace_; - 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.event.Event.ResourcePoolInfo) { - return mergeFrom((flyteidl.event.Event.ResourcePoolInfo)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.ResourcePoolInfo other) { - if (other == flyteidl.event.Event.ResourcePoolInfo.getDefaultInstance()) return this; - if (!other.getAllocationToken().isEmpty()) { - allocationToken_ = other.allocationToken_; - onChanged(); - } - if (!other.getNamespace().isEmpty()) { - namespace_ = other.namespace_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.event.Event.ResourcePoolInfo parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.ResourcePoolInfo) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object allocationToken_ = ""; - /** - *
-       * Unique resource ID used to identify this execution when allocating a token.
-       * 
- * - * string allocation_token = 1; - */ - public java.lang.String getAllocationToken() { - java.lang.Object ref = allocationToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - allocationToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique resource ID used to identify this execution when allocating a token.
-       * 
- * - * string allocation_token = 1; - */ - public com.google.protobuf.ByteString - getAllocationTokenBytes() { - java.lang.Object ref = allocationToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - allocationToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique resource ID used to identify this execution when allocating a token.
-       * 
- * - * string allocation_token = 1; - */ - public Builder setAllocationToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - allocationToken_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique resource ID used to identify this execution when allocating a token.
-       * 
- * - * string allocation_token = 1; - */ - public Builder clearAllocationToken() { - - allocationToken_ = getDefaultInstance().getAllocationToken(); - onChanged(); - return this; - } - /** - *
-       * Unique resource ID used to identify this execution when allocating a token.
-       * 
- * - * string allocation_token = 1; - */ - public Builder setAllocationTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - allocationToken_ = value; - onChanged(); - return this; - } - - private java.lang.Object namespace_ = ""; - /** - *
-       * Namespace under which this task execution requested an allocation token.
-       * 
- * - * string namespace = 2; - */ - public java.lang.String getNamespace() { - java.lang.Object ref = namespace_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - namespace_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Namespace under which this task execution requested an allocation token.
-       * 
- * - * string namespace = 2; - */ - public com.google.protobuf.ByteString - getNamespaceBytes() { - java.lang.Object ref = namespace_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - namespace_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Namespace under which this task execution requested an allocation token.
-       * 
- * - * string namespace = 2; - */ - public Builder setNamespace( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - namespace_ = value; - onChanged(); - return this; - } - /** - *
-       * Namespace under which this task execution requested an allocation token.
-       * 
- * - * string namespace = 2; - */ - public Builder clearNamespace() { - - namespace_ = getDefaultInstance().getNamespace(); - onChanged(); - return this; - } - /** - *
-       * Namespace under which this task execution requested an allocation token.
-       * 
- * - * string namespace = 2; - */ - public Builder setNamespaceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - namespace_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.event.ResourcePoolInfo) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.ResourcePoolInfo) - private static final flyteidl.event.Event.ResourcePoolInfo DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.ResourcePoolInfo(); - } - - public static flyteidl.event.Event.ResourcePoolInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourcePoolInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourcePoolInfo(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.event.Event.ResourcePoolInfo getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.event.TaskExecutionMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Unique, generated name for this task execution used by the backend.
-     * 
- * - * string generated_name = 1; - */ - java.lang.String getGeneratedName(); - /** - *
-     * Unique, generated name for this task execution used by the backend.
-     * 
- * - * string generated_name = 1; - */ - com.google.protobuf.ByteString - getGeneratedNameBytes(); - - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - java.util.List - getExternalResourcesList(); - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - flyteidl.event.Event.ExternalResourceInfo getExternalResources(int index); - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - int getExternalResourcesCount(); - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - java.util.List - getExternalResourcesOrBuilderList(); - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - flyteidl.event.Event.ExternalResourceInfoOrBuilder getExternalResourcesOrBuilder( - int index); - - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - java.util.List - getResourcePoolInfoList(); - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - flyteidl.event.Event.ResourcePoolInfo getResourcePoolInfo(int index); - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - int getResourcePoolInfoCount(); - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - java.util.List - getResourcePoolInfoOrBuilderList(); - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - flyteidl.event.Event.ResourcePoolInfoOrBuilder getResourcePoolInfoOrBuilder( - int index); - - /** - *
-     * The identifier of the plugin used to execute this task.
-     * 
- * - * string plugin_identifier = 4; - */ - java.lang.String getPluginIdentifier(); - /** - *
-     * The identifier of the plugin used to execute this task.
-     * 
- * - * string plugin_identifier = 4; - */ - com.google.protobuf.ByteString - getPluginIdentifierBytes(); - - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - int getInstanceClassValue(); - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - flyteidl.event.Event.TaskExecutionMetadata.InstanceClass getInstanceClass(); - } - /** - *
-   * Holds metadata around how a task was executed.
-   * As a task transitions across event phases during execution some attributes, such its generated name, generated external resources,
-   * and more may grow in size but not change necessarily based on the phase transition that sparked the event update.
-   * Metadata is a container for these attributes across the task execution lifecycle.
-   * 
- * - * Protobuf type {@code flyteidl.event.TaskExecutionMetadata} - */ - public static final class TaskExecutionMetadata extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.event.TaskExecutionMetadata) - TaskExecutionMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionMetadata.newBuilder() to construct. - private TaskExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionMetadata() { - generatedName_ = ""; - externalResources_ = java.util.Collections.emptyList(); - resourcePoolInfo_ = java.util.Collections.emptyList(); - pluginIdentifier_ = ""; - instanceClass_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - generatedName_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - externalResources_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - externalResources_.add( - input.readMessage(flyteidl.event.Event.ExternalResourceInfo.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - resourcePoolInfo_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - resourcePoolInfo_.add( - input.readMessage(flyteidl.event.Event.ResourcePoolInfo.parser(), extensionRegistry)); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - pluginIdentifier_ = s; - break; - } - case 128: { - int rawValue = input.readEnum(); - - instanceClass_ = rawValue; - 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_ & 0x00000002) != 0)) { - externalResources_ = java.util.Collections.unmodifiableList(externalResources_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - resourcePoolInfo_ = java.util.Collections.unmodifiableList(resourcePoolInfo_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.TaskExecutionMetadata.class, flyteidl.event.Event.TaskExecutionMetadata.Builder.class); - } - - /** - *
-     * Includes the broad category of machine used for this specific task execution.
-     * 
- * - * Protobuf enum {@code flyteidl.event.TaskExecutionMetadata.InstanceClass} - */ - public enum InstanceClass - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-       * The default instance class configured for the flyte application platform.
-       * 
- * - * DEFAULT = 0; - */ - DEFAULT(0), - /** - *
-       * The instance class configured for interruptible tasks.
-       * 
- * - * INTERRUPTIBLE = 1; - */ - INTERRUPTIBLE(1), - UNRECOGNIZED(-1), - ; - - /** - *
-       * The default instance class configured for the flyte application platform.
-       * 
- * - * DEFAULT = 0; - */ - public static final int DEFAULT_VALUE = 0; - /** - *
-       * The instance class configured for interruptible tasks.
-       * 
- * - * INTERRUPTIBLE = 1; - */ - public static final int INTERRUPTIBLE_VALUE = 1; - - - 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 InstanceClass valueOf(int value) { - return forNumber(value); - } - - public static InstanceClass forNumber(int value) { - switch (value) { - case 0: return DEFAULT; - case 1: return INTERRUPTIBLE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - InstanceClass> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InstanceClass findValueByNumber(int number) { - return InstanceClass.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.event.Event.TaskExecutionMetadata.getDescriptor().getEnumTypes().get(0); - } - - private static final InstanceClass[] VALUES = values(); - - public static InstanceClass 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 InstanceClass(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.event.TaskExecutionMetadata.InstanceClass) - } - - private int bitField0_; - public static final int GENERATED_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object generatedName_; - /** - *
-     * Unique, generated name for this task execution used by the backend.
-     * 
- * - * string generated_name = 1; - */ - public java.lang.String getGeneratedName() { - java.lang.Object ref = generatedName_; - 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(); - generatedName_ = s; - return s; - } - } - /** - *
-     * Unique, generated name for this task execution used by the backend.
-     * 
- * - * string generated_name = 1; - */ - public com.google.protobuf.ByteString - getGeneratedNameBytes() { - java.lang.Object ref = generatedName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - generatedName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXTERNAL_RESOURCES_FIELD_NUMBER = 2; - private java.util.List externalResources_; - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public java.util.List getExternalResourcesList() { - return externalResources_; - } - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public java.util.List - getExternalResourcesOrBuilderList() { - return externalResources_; - } - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public int getExternalResourcesCount() { - return externalResources_.size(); - } - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public flyteidl.event.Event.ExternalResourceInfo getExternalResources(int index) { - return externalResources_.get(index); - } - /** - *
-     * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-     * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public flyteidl.event.Event.ExternalResourceInfoOrBuilder getExternalResourcesOrBuilder( - int index) { - return externalResources_.get(index); - } - - public static final int RESOURCE_POOL_INFO_FIELD_NUMBER = 3; - private java.util.List resourcePoolInfo_; - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public java.util.List getResourcePoolInfoList() { - return resourcePoolInfo_; - } - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public java.util.List - getResourcePoolInfoOrBuilderList() { - return resourcePoolInfo_; - } - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public int getResourcePoolInfoCount() { - return resourcePoolInfo_.size(); - } - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public flyteidl.event.Event.ResourcePoolInfo getResourcePoolInfo(int index) { - return resourcePoolInfo_.get(index); - } - /** - *
-     * Includes additional data on concurrent resource management used during execution..
-     * This is a repeated field because a plugin can request multiple resource allocations during execution.
-     * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public flyteidl.event.Event.ResourcePoolInfoOrBuilder getResourcePoolInfoOrBuilder( - int index) { - return resourcePoolInfo_.get(index); - } - - public static final int PLUGIN_IDENTIFIER_FIELD_NUMBER = 4; - private volatile java.lang.Object pluginIdentifier_; - /** - *
-     * The identifier of the plugin used to execute this task.
-     * 
- * - * string plugin_identifier = 4; - */ - public java.lang.String getPluginIdentifier() { - java.lang.Object ref = pluginIdentifier_; - 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(); - pluginIdentifier_ = s; - return s; - } - } - /** - *
-     * The identifier of the plugin used to execute this task.
-     * 
- * - * string plugin_identifier = 4; - */ - public com.google.protobuf.ByteString - getPluginIdentifierBytes() { - java.lang.Object ref = pluginIdentifier_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pluginIdentifier_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INSTANCE_CLASS_FIELD_NUMBER = 16; - private int instanceClass_; - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - public int getInstanceClassValue() { - return instanceClass_; - } - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata.InstanceClass getInstanceClass() { - @SuppressWarnings("deprecation") - flyteidl.event.Event.TaskExecutionMetadata.InstanceClass result = flyteidl.event.Event.TaskExecutionMetadata.InstanceClass.valueOf(instanceClass_); - return result == null ? flyteidl.event.Event.TaskExecutionMetadata.InstanceClass.UNRECOGNIZED : result; - } - - 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 (!getGeneratedNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, generatedName_); - } - for (int i = 0; i < externalResources_.size(); i++) { - output.writeMessage(2, externalResources_.get(i)); - } - for (int i = 0; i < resourcePoolInfo_.size(); i++) { - output.writeMessage(3, resourcePoolInfo_.get(i)); - } - if (!getPluginIdentifierBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pluginIdentifier_); - } - if (instanceClass_ != flyteidl.event.Event.TaskExecutionMetadata.InstanceClass.DEFAULT.getNumber()) { - output.writeEnum(16, instanceClass_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getGeneratedNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, generatedName_); - } - for (int i = 0; i < externalResources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, externalResources_.get(i)); - } - for (int i = 0; i < resourcePoolInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, resourcePoolInfo_.get(i)); - } - if (!getPluginIdentifierBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pluginIdentifier_); - } - if (instanceClass_ != flyteidl.event.Event.TaskExecutionMetadata.InstanceClass.DEFAULT.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, instanceClass_); - } - 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.event.Event.TaskExecutionMetadata)) { - return super.equals(obj); - } - flyteidl.event.Event.TaskExecutionMetadata other = (flyteidl.event.Event.TaskExecutionMetadata) obj; - - if (!getGeneratedName() - .equals(other.getGeneratedName())) return false; - if (!getExternalResourcesList() - .equals(other.getExternalResourcesList())) return false; - if (!getResourcePoolInfoList() - .equals(other.getResourcePoolInfoList())) return false; - if (!getPluginIdentifier() - .equals(other.getPluginIdentifier())) return false; - if (instanceClass_ != other.instanceClass_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + GENERATED_NAME_FIELD_NUMBER; - hash = (53 * hash) + getGeneratedName().hashCode(); - if (getExternalResourcesCount() > 0) { - hash = (37 * hash) + EXTERNAL_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getExternalResourcesList().hashCode(); - } - if (getResourcePoolInfoCount() > 0) { - hash = (37 * hash) + RESOURCE_POOL_INFO_FIELD_NUMBER; - hash = (53 * hash) + getResourcePoolInfoList().hashCode(); - } - hash = (37 * hash) + PLUGIN_IDENTIFIER_FIELD_NUMBER; - hash = (53 * hash) + getPluginIdentifier().hashCode(); - hash = (37 * hash) + INSTANCE_CLASS_FIELD_NUMBER; - hash = (53 * hash) + instanceClass_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.event.Event.TaskExecutionMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskExecutionMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskExecutionMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskExecutionMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskExecutionMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.event.Event.TaskExecutionMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.event.Event.TaskExecutionMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskExecutionMetadata 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.event.Event.TaskExecutionMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskExecutionMetadata 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.event.Event.TaskExecutionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.event.Event.TaskExecutionMetadata 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.event.Event.TaskExecutionMetadata 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; - } - /** - *
-     * Holds metadata around how a task was executed.
-     * As a task transitions across event phases during execution some attributes, such its generated name, generated external resources,
-     * and more may grow in size but not change necessarily based on the phase transition that sparked the event update.
-     * Metadata is a container for these attributes across the task execution lifecycle.
-     * 
- * - * Protobuf type {@code flyteidl.event.TaskExecutionMetadata} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.event.TaskExecutionMetadata) - flyteidl.event.Event.TaskExecutionMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.event.Event.TaskExecutionMetadata.class, flyteidl.event.Event.TaskExecutionMetadata.Builder.class); - } - - // Construct using flyteidl.event.Event.TaskExecutionMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getExternalResourcesFieldBuilder(); - getResourcePoolInfoFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - generatedName_ = ""; - - if (externalResourcesBuilder_ == null) { - externalResources_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - externalResourcesBuilder_.clear(); - } - if (resourcePoolInfoBuilder_ == null) { - resourcePoolInfo_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - resourcePoolInfoBuilder_.clear(); - } - pluginIdentifier_ = ""; - - instanceClass_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.event.Event.internal_static_flyteidl_event_TaskExecutionMetadata_descriptor; - } - - @java.lang.Override - public flyteidl.event.Event.TaskExecutionMetadata getDefaultInstanceForType() { - return flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.event.Event.TaskExecutionMetadata build() { - flyteidl.event.Event.TaskExecutionMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.event.Event.TaskExecutionMetadata buildPartial() { - flyteidl.event.Event.TaskExecutionMetadata result = new flyteidl.event.Event.TaskExecutionMetadata(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.generatedName_ = generatedName_; - if (externalResourcesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - externalResources_ = java.util.Collections.unmodifiableList(externalResources_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.externalResources_ = externalResources_; - } else { - result.externalResources_ = externalResourcesBuilder_.build(); - } - if (resourcePoolInfoBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - resourcePoolInfo_ = java.util.Collections.unmodifiableList(resourcePoolInfo_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.resourcePoolInfo_ = resourcePoolInfo_; - } else { - result.resourcePoolInfo_ = resourcePoolInfoBuilder_.build(); - } - result.pluginIdentifier_ = pluginIdentifier_; - result.instanceClass_ = instanceClass_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.event.Event.TaskExecutionMetadata) { - return mergeFrom((flyteidl.event.Event.TaskExecutionMetadata)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.event.Event.TaskExecutionMetadata other) { - if (other == flyteidl.event.Event.TaskExecutionMetadata.getDefaultInstance()) return this; - if (!other.getGeneratedName().isEmpty()) { - generatedName_ = other.generatedName_; - onChanged(); - } - if (externalResourcesBuilder_ == null) { - if (!other.externalResources_.isEmpty()) { - if (externalResources_.isEmpty()) { - externalResources_ = other.externalResources_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureExternalResourcesIsMutable(); - externalResources_.addAll(other.externalResources_); - } - onChanged(); - } - } else { - if (!other.externalResources_.isEmpty()) { - if (externalResourcesBuilder_.isEmpty()) { - externalResourcesBuilder_.dispose(); - externalResourcesBuilder_ = null; - externalResources_ = other.externalResources_; - bitField0_ = (bitField0_ & ~0x00000002); - externalResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExternalResourcesFieldBuilder() : null; - } else { - externalResourcesBuilder_.addAllMessages(other.externalResources_); - } - } - } - if (resourcePoolInfoBuilder_ == null) { - if (!other.resourcePoolInfo_.isEmpty()) { - if (resourcePoolInfo_.isEmpty()) { - resourcePoolInfo_ = other.resourcePoolInfo_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.addAll(other.resourcePoolInfo_); - } - onChanged(); - } - } else { - if (!other.resourcePoolInfo_.isEmpty()) { - if (resourcePoolInfoBuilder_.isEmpty()) { - resourcePoolInfoBuilder_.dispose(); - resourcePoolInfoBuilder_ = null; - resourcePoolInfo_ = other.resourcePoolInfo_; - bitField0_ = (bitField0_ & ~0x00000004); - resourcePoolInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResourcePoolInfoFieldBuilder() : null; - } else { - resourcePoolInfoBuilder_.addAllMessages(other.resourcePoolInfo_); - } - } - } - if (!other.getPluginIdentifier().isEmpty()) { - pluginIdentifier_ = other.pluginIdentifier_; - onChanged(); - } - if (other.instanceClass_ != 0) { - setInstanceClassValue(other.getInstanceClassValue()); - } - 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.event.Event.TaskExecutionMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.event.Event.TaskExecutionMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object generatedName_ = ""; - /** - *
-       * Unique, generated name for this task execution used by the backend.
-       * 
- * - * string generated_name = 1; - */ - public java.lang.String getGeneratedName() { - java.lang.Object ref = generatedName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - generatedName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Unique, generated name for this task execution used by the backend.
-       * 
- * - * string generated_name = 1; - */ - public com.google.protobuf.ByteString - getGeneratedNameBytes() { - java.lang.Object ref = generatedName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - generatedName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Unique, generated name for this task execution used by the backend.
-       * 
- * - * string generated_name = 1; - */ - public Builder setGeneratedName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - generatedName_ = value; - onChanged(); - return this; - } - /** - *
-       * Unique, generated name for this task execution used by the backend.
-       * 
- * - * string generated_name = 1; - */ - public Builder clearGeneratedName() { - - generatedName_ = getDefaultInstance().getGeneratedName(); - onChanged(); - return this; - } - /** - *
-       * Unique, generated name for this task execution used by the backend.
-       * 
- * - * string generated_name = 1; - */ - public Builder setGeneratedNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - generatedName_ = value; - onChanged(); - return this; - } - - private java.util.List externalResources_ = - java.util.Collections.emptyList(); - private void ensureExternalResourcesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - externalResources_ = new java.util.ArrayList(externalResources_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.ExternalResourceInfo, flyteidl.event.Event.ExternalResourceInfo.Builder, flyteidl.event.Event.ExternalResourceInfoOrBuilder> externalResourcesBuilder_; - - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public java.util.List getExternalResourcesList() { - if (externalResourcesBuilder_ == null) { - return java.util.Collections.unmodifiableList(externalResources_); - } else { - return externalResourcesBuilder_.getMessageList(); - } - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public int getExternalResourcesCount() { - if (externalResourcesBuilder_ == null) { - return externalResources_.size(); - } else { - return externalResourcesBuilder_.getCount(); - } - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public flyteidl.event.Event.ExternalResourceInfo getExternalResources(int index) { - if (externalResourcesBuilder_ == null) { - return externalResources_.get(index); - } else { - return externalResourcesBuilder_.getMessage(index); - } - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder setExternalResources( - int index, flyteidl.event.Event.ExternalResourceInfo value) { - if (externalResourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalResourcesIsMutable(); - externalResources_.set(index, value); - onChanged(); - } else { - externalResourcesBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder setExternalResources( - int index, flyteidl.event.Event.ExternalResourceInfo.Builder builderForValue) { - if (externalResourcesBuilder_ == null) { - ensureExternalResourcesIsMutable(); - externalResources_.set(index, builderForValue.build()); - onChanged(); - } else { - externalResourcesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder addExternalResources(flyteidl.event.Event.ExternalResourceInfo value) { - if (externalResourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalResourcesIsMutable(); - externalResources_.add(value); - onChanged(); - } else { - externalResourcesBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder addExternalResources( - int index, flyteidl.event.Event.ExternalResourceInfo value) { - if (externalResourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExternalResourcesIsMutable(); - externalResources_.add(index, value); - onChanged(); - } else { - externalResourcesBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder addExternalResources( - flyteidl.event.Event.ExternalResourceInfo.Builder builderForValue) { - if (externalResourcesBuilder_ == null) { - ensureExternalResourcesIsMutable(); - externalResources_.add(builderForValue.build()); - onChanged(); - } else { - externalResourcesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder addExternalResources( - int index, flyteidl.event.Event.ExternalResourceInfo.Builder builderForValue) { - if (externalResourcesBuilder_ == null) { - ensureExternalResourcesIsMutable(); - externalResources_.add(index, builderForValue.build()); - onChanged(); - } else { - externalResourcesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder addAllExternalResources( - java.lang.Iterable values) { - if (externalResourcesBuilder_ == null) { - ensureExternalResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, externalResources_); - onChanged(); - } else { - externalResourcesBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder clearExternalResources() { - if (externalResourcesBuilder_ == null) { - externalResources_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - externalResourcesBuilder_.clear(); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public Builder removeExternalResources(int index) { - if (externalResourcesBuilder_ == null) { - ensureExternalResourcesIsMutable(); - externalResources_.remove(index); - onChanged(); - } else { - externalResourcesBuilder_.remove(index); - } - return this; - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public flyteidl.event.Event.ExternalResourceInfo.Builder getExternalResourcesBuilder( - int index) { - return getExternalResourcesFieldBuilder().getBuilder(index); - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public flyteidl.event.Event.ExternalResourceInfoOrBuilder getExternalResourcesOrBuilder( - int index) { - if (externalResourcesBuilder_ == null) { - return externalResources_.get(index); } else { - return externalResourcesBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public java.util.List - getExternalResourcesOrBuilderList() { - if (externalResourcesBuilder_ != null) { - return externalResourcesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(externalResources_); - } - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public flyteidl.event.Event.ExternalResourceInfo.Builder addExternalResourcesBuilder() { - return getExternalResourcesFieldBuilder().addBuilder( - flyteidl.event.Event.ExternalResourceInfo.getDefaultInstance()); - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public flyteidl.event.Event.ExternalResourceInfo.Builder addExternalResourcesBuilder( - int index) { - return getExternalResourcesFieldBuilder().addBuilder( - index, flyteidl.event.Event.ExternalResourceInfo.getDefaultInstance()); - } - /** - *
-       * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
-       * 
- * - * repeated .flyteidl.event.ExternalResourceInfo external_resources = 2; - */ - public java.util.List - getExternalResourcesBuilderList() { - return getExternalResourcesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.ExternalResourceInfo, flyteidl.event.Event.ExternalResourceInfo.Builder, flyteidl.event.Event.ExternalResourceInfoOrBuilder> - getExternalResourcesFieldBuilder() { - if (externalResourcesBuilder_ == null) { - externalResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.ExternalResourceInfo, flyteidl.event.Event.ExternalResourceInfo.Builder, flyteidl.event.Event.ExternalResourceInfoOrBuilder>( - externalResources_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - externalResources_ = null; - } - return externalResourcesBuilder_; - } - - private java.util.List resourcePoolInfo_ = - java.util.Collections.emptyList(); - private void ensureResourcePoolInfoIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - resourcePoolInfo_ = new java.util.ArrayList(resourcePoolInfo_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.ResourcePoolInfo, flyteidl.event.Event.ResourcePoolInfo.Builder, flyteidl.event.Event.ResourcePoolInfoOrBuilder> resourcePoolInfoBuilder_; - - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public java.util.List getResourcePoolInfoList() { - if (resourcePoolInfoBuilder_ == null) { - return java.util.Collections.unmodifiableList(resourcePoolInfo_); - } else { - return resourcePoolInfoBuilder_.getMessageList(); - } - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public int getResourcePoolInfoCount() { - if (resourcePoolInfoBuilder_ == null) { - return resourcePoolInfo_.size(); - } else { - return resourcePoolInfoBuilder_.getCount(); - } - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public flyteidl.event.Event.ResourcePoolInfo getResourcePoolInfo(int index) { - if (resourcePoolInfoBuilder_ == null) { - return resourcePoolInfo_.get(index); - } else { - return resourcePoolInfoBuilder_.getMessage(index); - } - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder setResourcePoolInfo( - int index, flyteidl.event.Event.ResourcePoolInfo value) { - if (resourcePoolInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.set(index, value); - onChanged(); - } else { - resourcePoolInfoBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder setResourcePoolInfo( - int index, flyteidl.event.Event.ResourcePoolInfo.Builder builderForValue) { - if (resourcePoolInfoBuilder_ == null) { - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.set(index, builderForValue.build()); - onChanged(); - } else { - resourcePoolInfoBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder addResourcePoolInfo(flyteidl.event.Event.ResourcePoolInfo value) { - if (resourcePoolInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.add(value); - onChanged(); - } else { - resourcePoolInfoBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder addResourcePoolInfo( - int index, flyteidl.event.Event.ResourcePoolInfo value) { - if (resourcePoolInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.add(index, value); - onChanged(); - } else { - resourcePoolInfoBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder addResourcePoolInfo( - flyteidl.event.Event.ResourcePoolInfo.Builder builderForValue) { - if (resourcePoolInfoBuilder_ == null) { - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.add(builderForValue.build()); - onChanged(); - } else { - resourcePoolInfoBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder addResourcePoolInfo( - int index, flyteidl.event.Event.ResourcePoolInfo.Builder builderForValue) { - if (resourcePoolInfoBuilder_ == null) { - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.add(index, builderForValue.build()); - onChanged(); - } else { - resourcePoolInfoBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder addAllResourcePoolInfo( - java.lang.Iterable values) { - if (resourcePoolInfoBuilder_ == null) { - ensureResourcePoolInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourcePoolInfo_); - onChanged(); - } else { - resourcePoolInfoBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder clearResourcePoolInfo() { - if (resourcePoolInfoBuilder_ == null) { - resourcePoolInfo_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - resourcePoolInfoBuilder_.clear(); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public Builder removeResourcePoolInfo(int index) { - if (resourcePoolInfoBuilder_ == null) { - ensureResourcePoolInfoIsMutable(); - resourcePoolInfo_.remove(index); - onChanged(); - } else { - resourcePoolInfoBuilder_.remove(index); - } - return this; - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public flyteidl.event.Event.ResourcePoolInfo.Builder getResourcePoolInfoBuilder( - int index) { - return getResourcePoolInfoFieldBuilder().getBuilder(index); - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public flyteidl.event.Event.ResourcePoolInfoOrBuilder getResourcePoolInfoOrBuilder( - int index) { - if (resourcePoolInfoBuilder_ == null) { - return resourcePoolInfo_.get(index); } else { - return resourcePoolInfoBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public java.util.List - getResourcePoolInfoOrBuilderList() { - if (resourcePoolInfoBuilder_ != null) { - return resourcePoolInfoBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(resourcePoolInfo_); - } - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public flyteidl.event.Event.ResourcePoolInfo.Builder addResourcePoolInfoBuilder() { - return getResourcePoolInfoFieldBuilder().addBuilder( - flyteidl.event.Event.ResourcePoolInfo.getDefaultInstance()); - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public flyteidl.event.Event.ResourcePoolInfo.Builder addResourcePoolInfoBuilder( - int index) { - return getResourcePoolInfoFieldBuilder().addBuilder( - index, flyteidl.event.Event.ResourcePoolInfo.getDefaultInstance()); - } - /** - *
-       * Includes additional data on concurrent resource management used during execution..
-       * This is a repeated field because a plugin can request multiple resource allocations during execution.
-       * 
- * - * repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3; - */ - public java.util.List - getResourcePoolInfoBuilderList() { - return getResourcePoolInfoFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.ResourcePoolInfo, flyteidl.event.Event.ResourcePoolInfo.Builder, flyteidl.event.Event.ResourcePoolInfoOrBuilder> - getResourcePoolInfoFieldBuilder() { - if (resourcePoolInfoBuilder_ == null) { - resourcePoolInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.event.Event.ResourcePoolInfo, flyteidl.event.Event.ResourcePoolInfo.Builder, flyteidl.event.Event.ResourcePoolInfoOrBuilder>( - resourcePoolInfo_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - resourcePoolInfo_ = null; - } - return resourcePoolInfoBuilder_; - } - - private java.lang.Object pluginIdentifier_ = ""; - /** - *
-       * The identifier of the plugin used to execute this task.
-       * 
- * - * string plugin_identifier = 4; - */ - public java.lang.String getPluginIdentifier() { - java.lang.Object ref = pluginIdentifier_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pluginIdentifier_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The identifier of the plugin used to execute this task.
-       * 
- * - * string plugin_identifier = 4; - */ - public com.google.protobuf.ByteString - getPluginIdentifierBytes() { - java.lang.Object ref = pluginIdentifier_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pluginIdentifier_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The identifier of the plugin used to execute this task.
-       * 
- * - * string plugin_identifier = 4; - */ - public Builder setPluginIdentifier( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - pluginIdentifier_ = value; - onChanged(); - return this; - } - /** - *
-       * The identifier of the plugin used to execute this task.
-       * 
- * - * string plugin_identifier = 4; - */ - public Builder clearPluginIdentifier() { - - pluginIdentifier_ = getDefaultInstance().getPluginIdentifier(); - onChanged(); - return this; - } - /** - *
-       * The identifier of the plugin used to execute this task.
-       * 
- * - * string plugin_identifier = 4; - */ - public Builder setPluginIdentifierBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - pluginIdentifier_ = value; - onChanged(); - return this; - } - - private int instanceClass_ = 0; - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - public int getInstanceClassValue() { - return instanceClass_; - } - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - public Builder setInstanceClassValue(int value) { - instanceClass_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - public flyteidl.event.Event.TaskExecutionMetadata.InstanceClass getInstanceClass() { - @SuppressWarnings("deprecation") - flyteidl.event.Event.TaskExecutionMetadata.InstanceClass result = flyteidl.event.Event.TaskExecutionMetadata.InstanceClass.valueOf(instanceClass_); - return result == null ? flyteidl.event.Event.TaskExecutionMetadata.InstanceClass.UNRECOGNIZED : result; - } - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - public Builder setInstanceClass(flyteidl.event.Event.TaskExecutionMetadata.InstanceClass value) { - if (value == null) { - throw new NullPointerException(); - } - - instanceClass_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16; - */ - public Builder clearInstanceClass() { - - instanceClass_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.event.TaskExecutionMetadata) - } - - // @@protoc_insertion_point(class_scope:flyteidl.event.TaskExecutionMetadata) - private static final flyteidl.event.Event.TaskExecutionMetadata DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.event.Event.TaskExecutionMetadata(); - } - - public static flyteidl.event.Event.TaskExecutionMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionMetadata(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.event.Event.TaskExecutionMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_WorkflowExecutionEvent_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_WorkflowExecutionEvent_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_NodeExecutionEvent_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_NodeExecutionEvent_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_WorkflowNodeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_WorkflowNodeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_TaskNodeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_TaskNodeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_ParentTaskExecutionMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_ParentTaskExecutionMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_ParentNodeExecutionMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_ParentNodeExecutionMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_EventReason_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_EventReason_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_TaskExecutionEvent_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_TaskExecutionEvent_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_ExternalResourceInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_ExternalResourceInfo_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_ResourcePoolInfo_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_ResourcePoolInfo_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_event_TaskExecutionMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_event_TaskExecutionMetadata_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\032flyteidl/event/event.proto\022\016flyteidl.e" + - "vent\032\034flyteidl/core/literals.proto\032\034flyt" + - "eidl/core/compiler.proto\032\035flyteidl/core/" + - "execution.proto\032\036flyteidl/core/identifie" + - "r.proto\032\033flyteidl/core/catalog.proto\032\037go" + - "ogle/protobuf/timestamp.proto\032\034google/pr" + - "otobuf/struct.proto\"\340\002\n\026WorkflowExecutio" + - "nEvent\022@\n\014execution_id\030\001 \001(\0132*.flyteidl." + - "core.WorkflowExecutionIdentifier\022\023\n\013prod" + - "ucer_id\030\002 \001(\t\0225\n\005phase\030\003 \001(\0162&.flyteidl." + - "core.WorkflowExecution.Phase\022/\n\013occurred" + - "_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022\024\n" + - "\noutput_uri\030\005 \001(\tH\000\022.\n\005error\030\006 \001(\0132\035.fly" + - "teidl.core.ExecutionErrorH\000\0220\n\013output_da" + - "ta\030\007 \001(\0132\031.flyteidl.core.LiteralMapH\000B\017\n" + - "\routput_result\"\241\007\n\022NodeExecutionEvent\0222\n" + - "\002id\030\001 \001(\0132&.flyteidl.core.NodeExecutionI" + - "dentifier\022\023\n\013producer_id\030\002 \001(\t\0221\n\005phase\030" + - "\003 \001(\0162\".flyteidl.core.NodeExecution.Phas" + - "e\022/\n\013occurred_at\030\004 \001(\0132\032.google.protobuf" + - ".Timestamp\022\023\n\tinput_uri\030\005 \001(\tH\000\022/\n\ninput" + - "_data\030\024 \001(\0132\031.flyteidl.core.LiteralMapH\000" + - "\022\024\n\noutput_uri\030\006 \001(\tH\001\022.\n\005error\030\007 \001(\0132\035." + - "flyteidl.core.ExecutionErrorH\001\0220\n\013output" + - "_data\030\017 \001(\0132\031.flyteidl.core.LiteralMapH\001" + - "\022F\n\026workflow_node_metadata\030\010 \001(\0132$.flyte" + - "idl.event.WorkflowNodeMetadataH\002\022>\n\022task" + - "_node_metadata\030\016 \001(\0132 .flyteidl.event.Ta" + - "skNodeMetadataH\002\022I\n\024parent_task_metadata" + - "\030\t \001(\0132+.flyteidl.event.ParentTaskExecut" + - "ionMetadata\022I\n\024parent_node_metadata\030\n \001(" + - "\0132+.flyteidl.event.ParentNodeExecutionMe" + - "tadata\022\023\n\013retry_group\030\013 \001(\t\022\024\n\014spec_node" + - "_id\030\014 \001(\t\022\021\n\tnode_name\030\r \001(\t\022\025\n\revent_ve" + - "rsion\030\020 \001(\005\022\021\n\tis_parent\030\021 \001(\010\022\022\n\nis_dyn" + - "amic\030\022 \001(\010\022\020\n\010deck_uri\030\023 \001(\t\022/\n\013reported" + - "_at\030\025 \001(\0132\032.google.protobuf.Timestamp\022\020\n" + - "\010is_array\030\026 \001(\010B\r\n\013input_valueB\017\n\routput" + - "_resultB\021\n\017target_metadata\"X\n\024WorkflowNo" + - "deMetadata\022@\n\014execution_id\030\001 \001(\0132*.flyte" + - "idl.core.WorkflowExecutionIdentifier\"\245\002\n" + - "\020TaskNodeMetadata\0227\n\014cache_status\030\001 \001(\0162" + - "!.flyteidl.core.CatalogCacheStatus\0223\n\013ca" + - "talog_key\030\002 \001(\0132\036.flyteidl.core.CatalogM" + - "etadata\022D\n\022reservation_status\030\003 \001(\0162(.fl" + - "yteidl.core.CatalogReservation.Status\022\026\n" + - "\016checkpoint_uri\030\004 \001(\t\022E\n\020dynamic_workflo" + - "w\030\020 \001(\0132+.flyteidl.event.DynamicWorkflow" + - "NodeMetadata\"\245\001\n\033DynamicWorkflowNodeMeta" + - "data\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identif" + - "ier\022A\n\021compiled_workflow\030\002 \001(\0132&.flyteid" + - "l.core.CompiledWorkflowClosure\022\034\n\024dynami" + - "c_job_spec_uri\030\003 \001(\t\"Q\n\033ParentTaskExecut" + - "ionMetadata\0222\n\002id\030\001 \001(\0132&.flyteidl.core." + - "TaskExecutionIdentifier\".\n\033ParentNodeExe" + - "cutionMetadata\022\017\n\007node_id\030\001 \001(\t\"N\n\013Event" + - "Reason\022\016\n\006reason\030\001 \001(\t\022/\n\013occurred_at\030\002 " + - "\001(\0132\032.google.protobuf.Timestamp\"\271\006\n\022Task" + - "ExecutionEvent\022*\n\007task_id\030\001 \001(\0132\031.flytei" + - "dl.core.Identifier\022H\n\030parent_node_execut" + - "ion_id\030\002 \001(\0132&.flyteidl.core.NodeExecuti" + - "onIdentifier\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005p" + - "hase\030\004 \001(\0162\".flyteidl.core.TaskExecution" + - ".Phase\022\023\n\013producer_id\030\005 \001(\t\022$\n\004logs\030\006 \003(" + - "\0132\026.flyteidl.core.TaskLog\022/\n\013occurred_at" + - "\030\007 \001(\0132\032.google.protobuf.Timestamp\022\023\n\tin" + - "put_uri\030\010 \001(\tH\000\022/\n\ninput_data\030\023 \001(\0132\031.fl" + - "yteidl.core.LiteralMapH\000\022\024\n\noutput_uri\030\t" + - " \001(\tH\001\022.\n\005error\030\n \001(\0132\035.flyteidl.core.Ex" + - "ecutionErrorH\001\0220\n\013output_data\030\021 \001(\0132\031.fl" + - "yteidl.core.LiteralMapH\001\022,\n\013custom_info\030" + - "\013 \001(\0132\027.google.protobuf.Struct\022\025\n\rphase_" + - "version\030\014 \001(\r\022\022\n\006reason\030\r \001(\tB\002\030\001\022,\n\007rea" + - "sons\030\025 \003(\0132\033.flyteidl.event.EventReason\022" + - "\021\n\ttask_type\030\016 \001(\t\0227\n\010metadata\030\020 \001(\0132%.f" + - "lyteidl.event.TaskExecutionMetadata\022\025\n\re" + - "vent_version\030\022 \001(\005\022/\n\013reported_at\030\024 \001(\0132" + - "\032.google.protobuf.TimestampB\r\n\013input_val" + - "ueB\017\n\routput_result\"\343\001\n\024ExternalResource" + - "Info\022\023\n\013external_id\030\001 \001(\t\022\r\n\005index\030\002 \001(\r" + - "\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001(\0162\"" + - ".flyteidl.core.TaskExecution.Phase\0227\n\014ca" + - "che_status\030\005 \001(\0162!.flyteidl.core.Catalog" + - "CacheStatus\022$\n\004logs\030\006 \003(\0132\026.flyteidl.cor" + - "e.TaskLog\"?\n\020ResourcePoolInfo\022\030\n\020allocat" + - "ion_token\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\310\002\n\025T" + - "askExecutionMetadata\022\026\n\016generated_name\030\001" + - " \001(\t\022@\n\022external_resources\030\002 \003(\0132$.flyte" + - "idl.event.ExternalResourceInfo\022<\n\022resour" + - "ce_pool_info\030\003 \003(\0132 .flyteidl.event.Reso" + - "urcePoolInfo\022\031\n\021plugin_identifier\030\004 \001(\t\022" + - "K\n\016instance_class\030\020 \001(\01623.flyteidl.event" + - ".TaskExecutionMetadata.InstanceClass\"/\n\r" + - "InstanceClass\022\013\n\007DEFAULT\020\000\022\021\n\rINTERRUPTI" + - "BLE\020\001B=Z;github.com/flyteorg/flyte/flyte" + - "idl/gen/pb-go/flyteidl/eventb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Literals.getDescriptor(), - flyteidl.core.Compiler.getDescriptor(), - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Catalog.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_event_WorkflowExecutionEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_event_WorkflowExecutionEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_WorkflowExecutionEvent_descriptor, - new java.lang.String[] { "ExecutionId", "ProducerId", "Phase", "OccurredAt", "OutputUri", "Error", "OutputData", "OutputResult", }); - internal_static_flyteidl_event_NodeExecutionEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_event_NodeExecutionEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_NodeExecutionEvent_descriptor, - new java.lang.String[] { "Id", "ProducerId", "Phase", "OccurredAt", "InputUri", "InputData", "OutputUri", "Error", "OutputData", "WorkflowNodeMetadata", "TaskNodeMetadata", "ParentTaskMetadata", "ParentNodeMetadata", "RetryGroup", "SpecNodeId", "NodeName", "EventVersion", "IsParent", "IsDynamic", "DeckUri", "ReportedAt", "IsArray", "InputValue", "OutputResult", "TargetMetadata", }); - internal_static_flyteidl_event_WorkflowNodeMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_event_WorkflowNodeMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_WorkflowNodeMetadata_descriptor, - new java.lang.String[] { "ExecutionId", }); - internal_static_flyteidl_event_TaskNodeMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_event_TaskNodeMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_TaskNodeMetadata_descriptor, - new java.lang.String[] { "CacheStatus", "CatalogKey", "ReservationStatus", "CheckpointUri", "DynamicWorkflow", }); - internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_descriptor, - new java.lang.String[] { "Id", "CompiledWorkflow", "DynamicJobSpecUri", }); - internal_static_flyteidl_event_ParentTaskExecutionMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_event_ParentTaskExecutionMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_ParentTaskExecutionMetadata_descriptor, - new java.lang.String[] { "Id", }); - internal_static_flyteidl_event_ParentNodeExecutionMetadata_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_event_ParentNodeExecutionMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_ParentNodeExecutionMetadata_descriptor, - new java.lang.String[] { "NodeId", }); - internal_static_flyteidl_event_EventReason_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_event_EventReason_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_EventReason_descriptor, - new java.lang.String[] { "Reason", "OccurredAt", }); - internal_static_flyteidl_event_TaskExecutionEvent_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_event_TaskExecutionEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_TaskExecutionEvent_descriptor, - new java.lang.String[] { "TaskId", "ParentNodeExecutionId", "RetryAttempt", "Phase", "ProducerId", "Logs", "OccurredAt", "InputUri", "InputData", "OutputUri", "Error", "OutputData", "CustomInfo", "PhaseVersion", "Reason", "Reasons", "TaskType", "Metadata", "EventVersion", "ReportedAt", "InputValue", "OutputResult", }); - internal_static_flyteidl_event_ExternalResourceInfo_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_flyteidl_event_ExternalResourceInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_ExternalResourceInfo_descriptor, - new java.lang.String[] { "ExternalId", "Index", "RetryAttempt", "Phase", "CacheStatus", "Logs", }); - internal_static_flyteidl_event_ResourcePoolInfo_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_flyteidl_event_ResourcePoolInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_ResourcePoolInfo_descriptor, - new java.lang.String[] { "AllocationToken", "Namespace", }); - internal_static_flyteidl_event_TaskExecutionMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_flyteidl_event_TaskExecutionMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_event_TaskExecutionMetadata_descriptor, - new java.lang.String[] { "GeneratedName", "ExternalResources", "ResourcePoolInfo", "PluginIdentifier", "InstanceClass", }); - flyteidl.core.Literals.getDescriptor(); - flyteidl.core.Compiler.getDescriptor(); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Catalog.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/ArrayJobOuterClass.java b/flyteidl/gen/pb-java/flyteidl/plugins/ArrayJobOuterClass.java deleted file mode 100644 index 32e611ea9d..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/ArrayJobOuterClass.java +++ /dev/null @@ -1,948 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/array_job.proto - -package flyteidl.plugins; - -public final class ArrayJobOuterClass { - private ArrayJobOuterClass() {} - 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 ArrayJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.ArrayJob) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Defines the maximum number of instances to bring up concurrently at any given point. Note that this is an
-     * optimistic restriction and that, due to network partitioning or other failures, the actual number of currently
-     * running instances might be more. This has to be a positive number if assigned. Default value is size.
-     * 
- * - * int64 parallelism = 1; - */ - long getParallelism(); - - /** - *
-     * Defines the number of instances to launch at most. This number should match the size of the input if the job
-     * requires processing of all input data. This has to be a positive number.
-     * In the case this is not defined, the back-end will determine the size at run-time by reading the inputs.
-     * 
- * - * int64 size = 2; - */ - long getSize(); - - /** - *
-     * An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met,
-     * the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if
-     * assigned. Default value is size (if specified).
-     * 
- * - * int64 min_successes = 3; - */ - long getMinSuccesses(); - - /** - *
-     * If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array
-     * job can be marked successful.
-     * 
- * - * float min_success_ratio = 4; - */ - float getMinSuccessRatio(); - - public flyteidl.plugins.ArrayJobOuterClass.ArrayJob.SuccessCriteriaCase getSuccessCriteriaCase(); - } - /** - *
-   * Describes a job that can process independent pieces of data concurrently. Multiple copies of the runnable component
-   * will be executed concurrently.
-   * 
- * - * Protobuf type {@code flyteidl.plugins.ArrayJob} - */ - public static final class ArrayJob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.ArrayJob) - ArrayJobOrBuilder { - private static final long serialVersionUID = 0L; - // Use ArrayJob.newBuilder() to construct. - private ArrayJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ArrayJob() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ArrayJob( - 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: { - - parallelism_ = input.readInt64(); - break; - } - case 16: { - - size_ = input.readInt64(); - break; - } - case 24: { - successCriteriaCase_ = 3; - successCriteria_ = input.readInt64(); - break; - } - case 37: { - successCriteriaCase_ = 4; - successCriteria_ = input.readFloat(); - 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.plugins.ArrayJobOuterClass.internal_static_flyteidl_plugins_ArrayJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.ArrayJobOuterClass.internal_static_flyteidl_plugins_ArrayJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.ArrayJobOuterClass.ArrayJob.class, flyteidl.plugins.ArrayJobOuterClass.ArrayJob.Builder.class); - } - - private int successCriteriaCase_ = 0; - private java.lang.Object successCriteria_; - public enum SuccessCriteriaCase - implements com.google.protobuf.Internal.EnumLite { - MIN_SUCCESSES(3), - MIN_SUCCESS_RATIO(4), - SUCCESSCRITERIA_NOT_SET(0); - private final int value; - private SuccessCriteriaCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static SuccessCriteriaCase valueOf(int value) { - return forNumber(value); - } - - public static SuccessCriteriaCase forNumber(int value) { - switch (value) { - case 3: return MIN_SUCCESSES; - case 4: return MIN_SUCCESS_RATIO; - case 0: return SUCCESSCRITERIA_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public SuccessCriteriaCase - getSuccessCriteriaCase() { - return SuccessCriteriaCase.forNumber( - successCriteriaCase_); - } - - public static final int PARALLELISM_FIELD_NUMBER = 1; - private long parallelism_; - /** - *
-     * Defines the maximum number of instances to bring up concurrently at any given point. Note that this is an
-     * optimistic restriction and that, due to network partitioning or other failures, the actual number of currently
-     * running instances might be more. This has to be a positive number if assigned. Default value is size.
-     * 
- * - * int64 parallelism = 1; - */ - public long getParallelism() { - return parallelism_; - } - - public static final int SIZE_FIELD_NUMBER = 2; - private long size_; - /** - *
-     * Defines the number of instances to launch at most. This number should match the size of the input if the job
-     * requires processing of all input data. This has to be a positive number.
-     * In the case this is not defined, the back-end will determine the size at run-time by reading the inputs.
-     * 
- * - * int64 size = 2; - */ - public long getSize() { - return size_; - } - - public static final int MIN_SUCCESSES_FIELD_NUMBER = 3; - /** - *
-     * An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met,
-     * the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if
-     * assigned. Default value is size (if specified).
-     * 
- * - * int64 min_successes = 3; - */ - public long getMinSuccesses() { - if (successCriteriaCase_ == 3) { - return (java.lang.Long) successCriteria_; - } - return 0L; - } - - public static final int MIN_SUCCESS_RATIO_FIELD_NUMBER = 4; - /** - *
-     * If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array
-     * job can be marked successful.
-     * 
- * - * float min_success_ratio = 4; - */ - public float getMinSuccessRatio() { - if (successCriteriaCase_ == 4) { - return (java.lang.Float) successCriteria_; - } - return 0F; - } - - 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 (parallelism_ != 0L) { - output.writeInt64(1, parallelism_); - } - if (size_ != 0L) { - output.writeInt64(2, size_); - } - if (successCriteriaCase_ == 3) { - output.writeInt64( - 3, (long)((java.lang.Long) successCriteria_)); - } - if (successCriteriaCase_ == 4) { - output.writeFloat( - 4, (float)((java.lang.Float) successCriteria_)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (parallelism_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, parallelism_); - } - if (size_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, size_); - } - if (successCriteriaCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 3, (long)((java.lang.Long) successCriteria_)); - } - if (successCriteriaCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize( - 4, (float)((java.lang.Float) successCriteria_)); - } - 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.plugins.ArrayJobOuterClass.ArrayJob)) { - return super.equals(obj); - } - flyteidl.plugins.ArrayJobOuterClass.ArrayJob other = (flyteidl.plugins.ArrayJobOuterClass.ArrayJob) obj; - - if (getParallelism() - != other.getParallelism()) return false; - if (getSize() - != other.getSize()) return false; - if (!getSuccessCriteriaCase().equals(other.getSuccessCriteriaCase())) return false; - switch (successCriteriaCase_) { - case 3: - if (getMinSuccesses() - != other.getMinSuccesses()) return false; - break; - case 4: - if (java.lang.Float.floatToIntBits(getMinSuccessRatio()) - != java.lang.Float.floatToIntBits( - other.getMinSuccessRatio())) 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) + PARALLELISM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getParallelism()); - hash = (37 * hash) + SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSize()); - switch (successCriteriaCase_) { - case 3: - hash = (37 * hash) + MIN_SUCCESSES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMinSuccesses()); - break; - case 4: - hash = (37 * hash) + MIN_SUCCESS_RATIO_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getMinSuccessRatio()); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob 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.plugins.ArrayJobOuterClass.ArrayJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob 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.plugins.ArrayJobOuterClass.ArrayJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob 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.plugins.ArrayJobOuterClass.ArrayJob 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; - } - /** - *
-     * Describes a job that can process independent pieces of data concurrently. Multiple copies of the runnable component
-     * will be executed concurrently.
-     * 
- * - * Protobuf type {@code flyteidl.plugins.ArrayJob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.ArrayJob) - flyteidl.plugins.ArrayJobOuterClass.ArrayJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.ArrayJobOuterClass.internal_static_flyteidl_plugins_ArrayJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.ArrayJobOuterClass.internal_static_flyteidl_plugins_ArrayJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.ArrayJobOuterClass.ArrayJob.class, flyteidl.plugins.ArrayJobOuterClass.ArrayJob.Builder.class); - } - - // Construct using flyteidl.plugins.ArrayJobOuterClass.ArrayJob.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(); - parallelism_ = 0L; - - size_ = 0L; - - successCriteriaCase_ = 0; - successCriteria_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.ArrayJobOuterClass.internal_static_flyteidl_plugins_ArrayJob_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.ArrayJobOuterClass.ArrayJob getDefaultInstanceForType() { - return flyteidl.plugins.ArrayJobOuterClass.ArrayJob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.ArrayJobOuterClass.ArrayJob build() { - flyteidl.plugins.ArrayJobOuterClass.ArrayJob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.ArrayJobOuterClass.ArrayJob buildPartial() { - flyteidl.plugins.ArrayJobOuterClass.ArrayJob result = new flyteidl.plugins.ArrayJobOuterClass.ArrayJob(this); - result.parallelism_ = parallelism_; - result.size_ = size_; - if (successCriteriaCase_ == 3) { - result.successCriteria_ = successCriteria_; - } - if (successCriteriaCase_ == 4) { - result.successCriteria_ = successCriteria_; - } - result.successCriteriaCase_ = successCriteriaCase_; - 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.plugins.ArrayJobOuterClass.ArrayJob) { - return mergeFrom((flyteidl.plugins.ArrayJobOuterClass.ArrayJob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.ArrayJobOuterClass.ArrayJob other) { - if (other == flyteidl.plugins.ArrayJobOuterClass.ArrayJob.getDefaultInstance()) return this; - if (other.getParallelism() != 0L) { - setParallelism(other.getParallelism()); - } - if (other.getSize() != 0L) { - setSize(other.getSize()); - } - switch (other.getSuccessCriteriaCase()) { - case MIN_SUCCESSES: { - setMinSuccesses(other.getMinSuccesses()); - break; - } - case MIN_SUCCESS_RATIO: { - setMinSuccessRatio(other.getMinSuccessRatio()); - break; - } - case SUCCESSCRITERIA_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.plugins.ArrayJobOuterClass.ArrayJob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.ArrayJobOuterClass.ArrayJob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int successCriteriaCase_ = 0; - private java.lang.Object successCriteria_; - public SuccessCriteriaCase - getSuccessCriteriaCase() { - return SuccessCriteriaCase.forNumber( - successCriteriaCase_); - } - - public Builder clearSuccessCriteria() { - successCriteriaCase_ = 0; - successCriteria_ = null; - onChanged(); - return this; - } - - - private long parallelism_ ; - /** - *
-       * Defines the maximum number of instances to bring up concurrently at any given point. Note that this is an
-       * optimistic restriction and that, due to network partitioning or other failures, the actual number of currently
-       * running instances might be more. This has to be a positive number if assigned. Default value is size.
-       * 
- * - * int64 parallelism = 1; - */ - public long getParallelism() { - return parallelism_; - } - /** - *
-       * Defines the maximum number of instances to bring up concurrently at any given point. Note that this is an
-       * optimistic restriction and that, due to network partitioning or other failures, the actual number of currently
-       * running instances might be more. This has to be a positive number if assigned. Default value is size.
-       * 
- * - * int64 parallelism = 1; - */ - public Builder setParallelism(long value) { - - parallelism_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines the maximum number of instances to bring up concurrently at any given point. Note that this is an
-       * optimistic restriction and that, due to network partitioning or other failures, the actual number of currently
-       * running instances might be more. This has to be a positive number if assigned. Default value is size.
-       * 
- * - * int64 parallelism = 1; - */ - public Builder clearParallelism() { - - parallelism_ = 0L; - onChanged(); - return this; - } - - private long size_ ; - /** - *
-       * Defines the number of instances to launch at most. This number should match the size of the input if the job
-       * requires processing of all input data. This has to be a positive number.
-       * In the case this is not defined, the back-end will determine the size at run-time by reading the inputs.
-       * 
- * - * int64 size = 2; - */ - public long getSize() { - return size_; - } - /** - *
-       * Defines the number of instances to launch at most. This number should match the size of the input if the job
-       * requires processing of all input data. This has to be a positive number.
-       * In the case this is not defined, the back-end will determine the size at run-time by reading the inputs.
-       * 
- * - * int64 size = 2; - */ - public Builder setSize(long value) { - - size_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines the number of instances to launch at most. This number should match the size of the input if the job
-       * requires processing of all input data. This has to be a positive number.
-       * In the case this is not defined, the back-end will determine the size at run-time by reading the inputs.
-       * 
- * - * int64 size = 2; - */ - public Builder clearSize() { - - size_ = 0L; - onChanged(); - return this; - } - - /** - *
-       * An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met,
-       * the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if
-       * assigned. Default value is size (if specified).
-       * 
- * - * int64 min_successes = 3; - */ - public long getMinSuccesses() { - if (successCriteriaCase_ == 3) { - return (java.lang.Long) successCriteria_; - } - return 0L; - } - /** - *
-       * An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met,
-       * the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if
-       * assigned. Default value is size (if specified).
-       * 
- * - * int64 min_successes = 3; - */ - public Builder setMinSuccesses(long value) { - successCriteriaCase_ = 3; - successCriteria_ = value; - onChanged(); - return this; - } - /** - *
-       * An absolute number of the minimum number of successful completions of subtasks. As soon as this criteria is met,
-       * the array job will be marked as successful and outputs will be computed. This has to be a non-negative number if
-       * assigned. Default value is size (if specified).
-       * 
- * - * int64 min_successes = 3; - */ - public Builder clearMinSuccesses() { - if (successCriteriaCase_ == 3) { - successCriteriaCase_ = 0; - successCriteria_ = null; - onChanged(); - } - return this; - } - - /** - *
-       * If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array
-       * job can be marked successful.
-       * 
- * - * float min_success_ratio = 4; - */ - public float getMinSuccessRatio() { - if (successCriteriaCase_ == 4) { - return (java.lang.Float) successCriteria_; - } - return 0F; - } - /** - *
-       * If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array
-       * job can be marked successful.
-       * 
- * - * float min_success_ratio = 4; - */ - public Builder setMinSuccessRatio(float value) { - successCriteriaCase_ = 4; - successCriteria_ = value; - onChanged(); - return this; - } - /** - *
-       * If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an array
-       * job can be marked successful.
-       * 
- * - * float min_success_ratio = 4; - */ - public Builder clearMinSuccessRatio() { - if (successCriteriaCase_ == 4) { - successCriteriaCase_ = 0; - successCriteria_ = null; - onChanged(); - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.ArrayJob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.ArrayJob) - private static final flyteidl.plugins.ArrayJobOuterClass.ArrayJob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.ArrayJobOuterClass.ArrayJob(); - } - - public static flyteidl.plugins.ArrayJobOuterClass.ArrayJob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrayJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ArrayJob(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.plugins.ArrayJobOuterClass.ArrayJob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_ArrayJob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_ArrayJob_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n flyteidl/plugins/array_job.proto\022\020flyt" + - "eidl.plugins\"w\n\010ArrayJob\022\023\n\013parallelism\030" + - "\001 \001(\003\022\014\n\004size\030\002 \001(\003\022\027\n\rmin_successes\030\003 \001" + - "(\003H\000\022\033\n\021min_success_ratio\030\004 \001(\002H\000B\022\n\020suc" + - "cess_criteriaB?Z=github.com/flyteorg/fly" + - "te/flyteidl/gen/pb-go/flyteidl/pluginsb\006" + - "proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }, assigner); - internal_static_flyteidl_plugins_ArrayJob_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_ArrayJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_ArrayJob_descriptor, - new java.lang.String[] { "Parallelism", "Size", "MinSuccesses", "MinSuccessRatio", "SuccessCriteria", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Dask.java b/flyteidl/gen/pb-java/flyteidl/plugins/Dask.java deleted file mode 100644 index 5e8f63a65e..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Dask.java +++ /dev/null @@ -1,2845 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/dask.proto - -package flyteidl.plugins; - -public final class Dask { - private Dask() {} - 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 DaskJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.DaskJob) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Spec for the scheduler pod.
-     * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - boolean hasScheduler(); - /** - *
-     * Spec for the scheduler pod.
-     * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - flyteidl.plugins.Dask.DaskScheduler getScheduler(); - /** - *
-     * Spec for the scheduler pod.
-     * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - flyteidl.plugins.Dask.DaskSchedulerOrBuilder getSchedulerOrBuilder(); - - /** - *
-     * Spec of the default worker group.
-     * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - boolean hasWorkers(); - /** - *
-     * Spec of the default worker group.
-     * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - flyteidl.plugins.Dask.DaskWorkerGroup getWorkers(); - /** - *
-     * Spec of the default worker group.
-     * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - flyteidl.plugins.Dask.DaskWorkerGroupOrBuilder getWorkersOrBuilder(); - } - /** - *
-   * Custom Proto for Dask Plugin.
-   * 
- * - * Protobuf type {@code flyteidl.plugins.DaskJob} - */ - public static final class DaskJob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.DaskJob) - DaskJobOrBuilder { - private static final long serialVersionUID = 0L; - // Use DaskJob.newBuilder() to construct. - private DaskJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DaskJob() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DaskJob( - 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.plugins.Dask.DaskScheduler.Builder subBuilder = null; - if (scheduler_ != null) { - subBuilder = scheduler_.toBuilder(); - } - scheduler_ = input.readMessage(flyteidl.plugins.Dask.DaskScheduler.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduler_); - scheduler_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.plugins.Dask.DaskWorkerGroup.Builder subBuilder = null; - if (workers_ != null) { - subBuilder = workers_.toBuilder(); - } - workers_ = input.readMessage(flyteidl.plugins.Dask.DaskWorkerGroup.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workers_); - workers_ = 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.plugins.Dask.internal_static_flyteidl_plugins_DaskJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Dask.DaskJob.class, flyteidl.plugins.Dask.DaskJob.Builder.class); - } - - public static final int SCHEDULER_FIELD_NUMBER = 1; - private flyteidl.plugins.Dask.DaskScheduler scheduler_; - /** - *
-     * Spec for the scheduler pod.
-     * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public boolean hasScheduler() { - return scheduler_ != null; - } - /** - *
-     * Spec for the scheduler pod.
-     * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public flyteidl.plugins.Dask.DaskScheduler getScheduler() { - return scheduler_ == null ? flyteidl.plugins.Dask.DaskScheduler.getDefaultInstance() : scheduler_; - } - /** - *
-     * Spec for the scheduler pod.
-     * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public flyteidl.plugins.Dask.DaskSchedulerOrBuilder getSchedulerOrBuilder() { - return getScheduler(); - } - - public static final int WORKERS_FIELD_NUMBER = 2; - private flyteidl.plugins.Dask.DaskWorkerGroup workers_; - /** - *
-     * Spec of the default worker group.
-     * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public boolean hasWorkers() { - return workers_ != null; - } - /** - *
-     * Spec of the default worker group.
-     * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public flyteidl.plugins.Dask.DaskWorkerGroup getWorkers() { - return workers_ == null ? flyteidl.plugins.Dask.DaskWorkerGroup.getDefaultInstance() : workers_; - } - /** - *
-     * Spec of the default worker group.
-     * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public flyteidl.plugins.Dask.DaskWorkerGroupOrBuilder getWorkersOrBuilder() { - return getWorkers(); - } - - 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 (scheduler_ != null) { - output.writeMessage(1, getScheduler()); - } - if (workers_ != null) { - output.writeMessage(2, getWorkers()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (scheduler_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getScheduler()); - } - if (workers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWorkers()); - } - 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.plugins.Dask.DaskJob)) { - return super.equals(obj); - } - flyteidl.plugins.Dask.DaskJob other = (flyteidl.plugins.Dask.DaskJob) obj; - - if (hasScheduler() != other.hasScheduler()) return false; - if (hasScheduler()) { - if (!getScheduler() - .equals(other.getScheduler())) return false; - } - if (hasWorkers() != other.hasWorkers()) return false; - if (hasWorkers()) { - if (!getWorkers() - .equals(other.getWorkers())) 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 (hasScheduler()) { - hash = (37 * hash) + SCHEDULER_FIELD_NUMBER; - hash = (53 * hash) + getScheduler().hashCode(); - } - if (hasWorkers()) { - hash = (37 * hash) + WORKERS_FIELD_NUMBER; - hash = (53 * hash) + getWorkers().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Dask.DaskJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskJob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskJob parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskJob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskJob 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.plugins.Dask.DaskJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskJob 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.plugins.Dask.DaskJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskJob 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.plugins.Dask.DaskJob 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; - } - /** - *
-     * Custom Proto for Dask Plugin.
-     * 
- * - * Protobuf type {@code flyteidl.plugins.DaskJob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.DaskJob) - flyteidl.plugins.Dask.DaskJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Dask.DaskJob.class, flyteidl.plugins.Dask.DaskJob.Builder.class); - } - - // Construct using flyteidl.plugins.Dask.DaskJob.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 (schedulerBuilder_ == null) { - scheduler_ = null; - } else { - scheduler_ = null; - schedulerBuilder_ = null; - } - if (workersBuilder_ == null) { - workers_ = null; - } else { - workers_ = null; - workersBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskJob_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskJob getDefaultInstanceForType() { - return flyteidl.plugins.Dask.DaskJob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskJob build() { - flyteidl.plugins.Dask.DaskJob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskJob buildPartial() { - flyteidl.plugins.Dask.DaskJob result = new flyteidl.plugins.Dask.DaskJob(this); - if (schedulerBuilder_ == null) { - result.scheduler_ = scheduler_; - } else { - result.scheduler_ = schedulerBuilder_.build(); - } - if (workersBuilder_ == null) { - result.workers_ = workers_; - } else { - result.workers_ = workersBuilder_.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.plugins.Dask.DaskJob) { - return mergeFrom((flyteidl.plugins.Dask.DaskJob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Dask.DaskJob other) { - if (other == flyteidl.plugins.Dask.DaskJob.getDefaultInstance()) return this; - if (other.hasScheduler()) { - mergeScheduler(other.getScheduler()); - } - if (other.hasWorkers()) { - mergeWorkers(other.getWorkers()); - } - 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.plugins.Dask.DaskJob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Dask.DaskJob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.plugins.Dask.DaskScheduler scheduler_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Dask.DaskScheduler, flyteidl.plugins.Dask.DaskScheduler.Builder, flyteidl.plugins.Dask.DaskSchedulerOrBuilder> schedulerBuilder_; - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public boolean hasScheduler() { - return schedulerBuilder_ != null || scheduler_ != null; - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public flyteidl.plugins.Dask.DaskScheduler getScheduler() { - if (schedulerBuilder_ == null) { - return scheduler_ == null ? flyteidl.plugins.Dask.DaskScheduler.getDefaultInstance() : scheduler_; - } else { - return schedulerBuilder_.getMessage(); - } - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public Builder setScheduler(flyteidl.plugins.Dask.DaskScheduler value) { - if (schedulerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - scheduler_ = value; - onChanged(); - } else { - schedulerBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public Builder setScheduler( - flyteidl.plugins.Dask.DaskScheduler.Builder builderForValue) { - if (schedulerBuilder_ == null) { - scheduler_ = builderForValue.build(); - onChanged(); - } else { - schedulerBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public Builder mergeScheduler(flyteidl.plugins.Dask.DaskScheduler value) { - if (schedulerBuilder_ == null) { - if (scheduler_ != null) { - scheduler_ = - flyteidl.plugins.Dask.DaskScheduler.newBuilder(scheduler_).mergeFrom(value).buildPartial(); - } else { - scheduler_ = value; - } - onChanged(); - } else { - schedulerBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public Builder clearScheduler() { - if (schedulerBuilder_ == null) { - scheduler_ = null; - onChanged(); - } else { - scheduler_ = null; - schedulerBuilder_ = null; - } - - return this; - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public flyteidl.plugins.Dask.DaskScheduler.Builder getSchedulerBuilder() { - - onChanged(); - return getSchedulerFieldBuilder().getBuilder(); - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - public flyteidl.plugins.Dask.DaskSchedulerOrBuilder getSchedulerOrBuilder() { - if (schedulerBuilder_ != null) { - return schedulerBuilder_.getMessageOrBuilder(); - } else { - return scheduler_ == null ? - flyteidl.plugins.Dask.DaskScheduler.getDefaultInstance() : scheduler_; - } - } - /** - *
-       * Spec for the scheduler pod.
-       * 
- * - * .flyteidl.plugins.DaskScheduler scheduler = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Dask.DaskScheduler, flyteidl.plugins.Dask.DaskScheduler.Builder, flyteidl.plugins.Dask.DaskSchedulerOrBuilder> - getSchedulerFieldBuilder() { - if (schedulerBuilder_ == null) { - schedulerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Dask.DaskScheduler, flyteidl.plugins.Dask.DaskScheduler.Builder, flyteidl.plugins.Dask.DaskSchedulerOrBuilder>( - getScheduler(), - getParentForChildren(), - isClean()); - scheduler_ = null; - } - return schedulerBuilder_; - } - - private flyteidl.plugins.Dask.DaskWorkerGroup workers_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Dask.DaskWorkerGroup, flyteidl.plugins.Dask.DaskWorkerGroup.Builder, flyteidl.plugins.Dask.DaskWorkerGroupOrBuilder> workersBuilder_; - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public boolean hasWorkers() { - return workersBuilder_ != null || workers_ != null; - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public flyteidl.plugins.Dask.DaskWorkerGroup getWorkers() { - if (workersBuilder_ == null) { - return workers_ == null ? flyteidl.plugins.Dask.DaskWorkerGroup.getDefaultInstance() : workers_; - } else { - return workersBuilder_.getMessage(); - } - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public Builder setWorkers(flyteidl.plugins.Dask.DaskWorkerGroup value) { - if (workersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workers_ = value; - onChanged(); - } else { - workersBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public Builder setWorkers( - flyteidl.plugins.Dask.DaskWorkerGroup.Builder builderForValue) { - if (workersBuilder_ == null) { - workers_ = builderForValue.build(); - onChanged(); - } else { - workersBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public Builder mergeWorkers(flyteidl.plugins.Dask.DaskWorkerGroup value) { - if (workersBuilder_ == null) { - if (workers_ != null) { - workers_ = - flyteidl.plugins.Dask.DaskWorkerGroup.newBuilder(workers_).mergeFrom(value).buildPartial(); - } else { - workers_ = value; - } - onChanged(); - } else { - workersBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public Builder clearWorkers() { - if (workersBuilder_ == null) { - workers_ = null; - onChanged(); - } else { - workers_ = null; - workersBuilder_ = null; - } - - return this; - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public flyteidl.plugins.Dask.DaskWorkerGroup.Builder getWorkersBuilder() { - - onChanged(); - return getWorkersFieldBuilder().getBuilder(); - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - public flyteidl.plugins.Dask.DaskWorkerGroupOrBuilder getWorkersOrBuilder() { - if (workersBuilder_ != null) { - return workersBuilder_.getMessageOrBuilder(); - } else { - return workers_ == null ? - flyteidl.plugins.Dask.DaskWorkerGroup.getDefaultInstance() : workers_; - } - } - /** - *
-       * Spec of the default worker group.
-       * 
- * - * .flyteidl.plugins.DaskWorkerGroup workers = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Dask.DaskWorkerGroup, flyteidl.plugins.Dask.DaskWorkerGroup.Builder, flyteidl.plugins.Dask.DaskWorkerGroupOrBuilder> - getWorkersFieldBuilder() { - if (workersBuilder_ == null) { - workersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Dask.DaskWorkerGroup, flyteidl.plugins.Dask.DaskWorkerGroup.Builder, flyteidl.plugins.Dask.DaskWorkerGroupOrBuilder>( - getWorkers(), - getParentForChildren(), - isClean()); - workers_ = null; - } - return workersBuilder_; - } - @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.plugins.DaskJob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DaskJob) - private static final flyteidl.plugins.Dask.DaskJob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Dask.DaskJob(); - } - - public static flyteidl.plugins.Dask.DaskJob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DaskJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DaskJob(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.plugins.Dask.DaskJob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DaskSchedulerOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.DaskScheduler) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Optional image to use. If unset, will use the default image.
-     * 
- * - * string image = 1; - */ - java.lang.String getImage(); - /** - *
-     * Optional image to use. If unset, will use the default image.
-     * 
- * - * string image = 1; - */ - com.google.protobuf.ByteString - getImageBytes(); - - /** - *
-     * Resources assigned to the scheduler pod.
-     * 
- * - * .flyteidl.core.Resources resources = 2; - */ - boolean hasResources(); - /** - *
-     * Resources assigned to the scheduler pod.
-     * 
- * - * .flyteidl.core.Resources resources = 2; - */ - flyteidl.core.Tasks.Resources getResources(); - /** - *
-     * Resources assigned to the scheduler pod.
-     * 
- * - * .flyteidl.core.Resources resources = 2; - */ - flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); - } - /** - *
-   * Specification for the scheduler pod.
-   * 
- * - * Protobuf type {@code flyteidl.plugins.DaskScheduler} - */ - public static final class DaskScheduler extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.DaskScheduler) - DaskSchedulerOrBuilder { - private static final long serialVersionUID = 0L; - // Use DaskScheduler.newBuilder() to construct. - private DaskScheduler(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DaskScheduler() { - image_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DaskScheduler( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - image_ = s; - break; - } - case 18: { - flyteidl.core.Tasks.Resources.Builder subBuilder = null; - if (resources_ != null) { - subBuilder = resources_.toBuilder(); - } - resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resources_); - resources_ = 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.plugins.Dask.internal_static_flyteidl_plugins_DaskScheduler_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskScheduler_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Dask.DaskScheduler.class, flyteidl.plugins.Dask.DaskScheduler.Builder.class); - } - - public static final int IMAGE_FIELD_NUMBER = 1; - private volatile java.lang.Object image_; - /** - *
-     * Optional image to use. If unset, will use the default image.
-     * 
- * - * string image = 1; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - 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(); - image_ = s; - return s; - } - } - /** - *
-     * Optional image to use. If unset, will use the default image.
-     * 
- * - * string image = 1; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCES_FIELD_NUMBER = 2; - private flyteidl.core.Tasks.Resources resources_; - /** - *
-     * Resources assigned to the scheduler pod.
-     * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public boolean hasResources() { - return resources_ != null; - } - /** - *
-     * Resources assigned to the scheduler pod.
-     * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public flyteidl.core.Tasks.Resources getResources() { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - /** - *
-     * Resources assigned to the scheduler pod.
-     * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - return getResources(); - } - - 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 (!getImageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_); - } - if (resources_ != null) { - output.writeMessage(2, getResources()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getImageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, image_); - } - if (resources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResources()); - } - 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.plugins.Dask.DaskScheduler)) { - return super.equals(obj); - } - flyteidl.plugins.Dask.DaskScheduler other = (flyteidl.plugins.Dask.DaskScheduler) obj; - - if (!getImage() - .equals(other.getImage())) return false; - if (hasResources() != other.hasResources()) return false; - if (hasResources()) { - if (!getResources() - .equals(other.getResources())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + IMAGE_FIELD_NUMBER; - hash = (53 * hash) + getImage().hashCode(); - if (hasResources()) { - hash = (37 * hash) + RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getResources().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Dask.DaskScheduler parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskScheduler parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskScheduler parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskScheduler parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskScheduler parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskScheduler parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskScheduler parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskScheduler 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.plugins.Dask.DaskScheduler parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskScheduler 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.plugins.Dask.DaskScheduler parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskScheduler 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.plugins.Dask.DaskScheduler 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; - } - /** - *
-     * Specification for the scheduler pod.
-     * 
- * - * Protobuf type {@code flyteidl.plugins.DaskScheduler} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.DaskScheduler) - flyteidl.plugins.Dask.DaskSchedulerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskScheduler_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskScheduler_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Dask.DaskScheduler.class, flyteidl.plugins.Dask.DaskScheduler.Builder.class); - } - - // Construct using flyteidl.plugins.Dask.DaskScheduler.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(); - image_ = ""; - - if (resourcesBuilder_ == null) { - resources_ = null; - } else { - resources_ = null; - resourcesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskScheduler_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskScheduler getDefaultInstanceForType() { - return flyteidl.plugins.Dask.DaskScheduler.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskScheduler build() { - flyteidl.plugins.Dask.DaskScheduler result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskScheduler buildPartial() { - flyteidl.plugins.Dask.DaskScheduler result = new flyteidl.plugins.Dask.DaskScheduler(this); - result.image_ = image_; - if (resourcesBuilder_ == null) { - result.resources_ = resources_; - } else { - result.resources_ = resourcesBuilder_.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.plugins.Dask.DaskScheduler) { - return mergeFrom((flyteidl.plugins.Dask.DaskScheduler)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Dask.DaskScheduler other) { - if (other == flyteidl.plugins.Dask.DaskScheduler.getDefaultInstance()) return this; - if (!other.getImage().isEmpty()) { - image_ = other.image_; - onChanged(); - } - if (other.hasResources()) { - mergeResources(other.getResources()); - } - 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.plugins.Dask.DaskScheduler parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Dask.DaskScheduler) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object image_ = ""; - /** - *
-       * Optional image to use. If unset, will use the default image.
-       * 
- * - * string image = 1; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - image_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional image to use. If unset, will use the default image.
-       * 
- * - * string image = 1; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional image to use. If unset, will use the default image.
-       * 
- * - * string image = 1; - */ - public Builder setImage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - image_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional image to use. If unset, will use the default image.
-       * 
- * - * string image = 1; - */ - public Builder clearImage() { - - image_ = getDefaultInstance().getImage(); - onChanged(); - return this; - } - /** - *
-       * Optional image to use. If unset, will use the default image.
-       * 
- * - * string image = 1; - */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - image_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.Resources resources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public boolean hasResources() { - return resourcesBuilder_ != null || resources_ != null; - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public flyteidl.core.Tasks.Resources getResources() { - if (resourcesBuilder_ == null) { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } else { - return resourcesBuilder_.getMessage(); - } - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public Builder setResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resources_ = value; - onChanged(); - } else { - resourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public Builder setResources( - flyteidl.core.Tasks.Resources.Builder builderForValue) { - if (resourcesBuilder_ == null) { - resources_ = builderForValue.build(); - onChanged(); - } else { - resourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public Builder mergeResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (resources_ != null) { - resources_ = - flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); - } else { - resources_ = value; - } - onChanged(); - } else { - resourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public Builder clearResources() { - if (resourcesBuilder_ == null) { - resources_ = null; - onChanged(); - } else { - resources_ = null; - resourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { - - onChanged(); - return getResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - if (resourcesBuilder_ != null) { - return resourcesBuilder_.getMessageOrBuilder(); - } else { - return resources_ == null ? - flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - } - /** - *
-       * Resources assigned to the scheduler pod.
-       * 
- * - * .flyteidl.core.Resources resources = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> - getResourcesFieldBuilder() { - if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( - getResources(), - getParentForChildren(), - isClean()); - resources_ = null; - } - return resourcesBuilder_; - } - @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.plugins.DaskScheduler) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DaskScheduler) - private static final flyteidl.plugins.Dask.DaskScheduler DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Dask.DaskScheduler(); - } - - public static flyteidl.plugins.Dask.DaskScheduler getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DaskScheduler parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DaskScheduler(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.plugins.Dask.DaskScheduler getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DaskWorkerGroupOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.DaskWorkerGroup) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Number of workers in the group.
-     * 
- * - * uint32 number_of_workers = 1; - */ - int getNumberOfWorkers(); - - /** - *
-     * Optional image to use for the pods of the worker group. If unset, will use the default image.
-     * 
- * - * string image = 2; - */ - java.lang.String getImage(); - /** - *
-     * Optional image to use for the pods of the worker group. If unset, will use the default image.
-     * 
- * - * string image = 2; - */ - com.google.protobuf.ByteString - getImageBytes(); - - /** - *
-     * Resources assigned to the all pods of the worker group.
-     * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-     * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-     * sure to set requests==limits.
-     * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - boolean hasResources(); - /** - *
-     * Resources assigned to the all pods of the worker group.
-     * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-     * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-     * sure to set requests==limits.
-     * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.Resources getResources(); - /** - *
-     * Resources assigned to the all pods of the worker group.
-     * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-     * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-     * sure to set requests==limits.
-     * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.plugins.DaskWorkerGroup} - */ - public static final class DaskWorkerGroup extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.DaskWorkerGroup) - DaskWorkerGroupOrBuilder { - private static final long serialVersionUID = 0L; - // Use DaskWorkerGroup.newBuilder() to construct. - private DaskWorkerGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DaskWorkerGroup() { - image_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DaskWorkerGroup( - 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: { - - numberOfWorkers_ = input.readUInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - image_ = s; - break; - } - case 26: { - flyteidl.core.Tasks.Resources.Builder subBuilder = null; - if (resources_ != null) { - subBuilder = resources_.toBuilder(); - } - resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resources_); - resources_ = 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.plugins.Dask.internal_static_flyteidl_plugins_DaskWorkerGroup_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskWorkerGroup_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Dask.DaskWorkerGroup.class, flyteidl.plugins.Dask.DaskWorkerGroup.Builder.class); - } - - public static final int NUMBER_OF_WORKERS_FIELD_NUMBER = 1; - private int numberOfWorkers_; - /** - *
-     * Number of workers in the group.
-     * 
- * - * uint32 number_of_workers = 1; - */ - public int getNumberOfWorkers() { - return numberOfWorkers_; - } - - public static final int IMAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object image_; - /** - *
-     * Optional image to use for the pods of the worker group. If unset, will use the default image.
-     * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - 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(); - image_ = s; - return s; - } - } - /** - *
-     * Optional image to use for the pods of the worker group. If unset, will use the default image.
-     * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCES_FIELD_NUMBER = 3; - private flyteidl.core.Tasks.Resources resources_; - /** - *
-     * Resources assigned to the all pods of the worker group.
-     * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-     * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-     * sure to set requests==limits.
-     * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resources_ != null; - } - /** - *
-     * Resources assigned to the all pods of the worker group.
-     * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-     * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-     * sure to set requests==limits.
-     * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - /** - *
-     * Resources assigned to the all pods of the worker group.
-     * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-     * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-     * sure to set requests==limits.
-     * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - return getResources(); - } - - 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 (numberOfWorkers_ != 0) { - output.writeUInt32(1, numberOfWorkers_); - } - if (!getImageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, image_); - } - if (resources_ != null) { - output.writeMessage(3, getResources()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (numberOfWorkers_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, numberOfWorkers_); - } - if (!getImageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, image_); - } - if (resources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResources()); - } - 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.plugins.Dask.DaskWorkerGroup)) { - return super.equals(obj); - } - flyteidl.plugins.Dask.DaskWorkerGroup other = (flyteidl.plugins.Dask.DaskWorkerGroup) obj; - - if (getNumberOfWorkers() - != other.getNumberOfWorkers()) return false; - if (!getImage() - .equals(other.getImage())) return false; - if (hasResources() != other.hasResources()) return false; - if (hasResources()) { - if (!getResources() - .equals(other.getResources())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NUMBER_OF_WORKERS_FIELD_NUMBER; - hash = (53 * hash) + getNumberOfWorkers(); - hash = (37 * hash) + IMAGE_FIELD_NUMBER; - hash = (53 * hash) + getImage().hashCode(); - if (hasResources()) { - hash = (37 * hash) + RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getResources().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Dask.DaskWorkerGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup 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.plugins.Dask.DaskWorkerGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup 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.plugins.Dask.DaskWorkerGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Dask.DaskWorkerGroup 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.plugins.Dask.DaskWorkerGroup 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.plugins.DaskWorkerGroup} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.DaskWorkerGroup) - flyteidl.plugins.Dask.DaskWorkerGroupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskWorkerGroup_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskWorkerGroup_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Dask.DaskWorkerGroup.class, flyteidl.plugins.Dask.DaskWorkerGroup.Builder.class); - } - - // Construct using flyteidl.plugins.Dask.DaskWorkerGroup.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(); - numberOfWorkers_ = 0; - - image_ = ""; - - if (resourcesBuilder_ == null) { - resources_ = null; - } else { - resources_ = null; - resourcesBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Dask.internal_static_flyteidl_plugins_DaskWorkerGroup_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskWorkerGroup getDefaultInstanceForType() { - return flyteidl.plugins.Dask.DaskWorkerGroup.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskWorkerGroup build() { - flyteidl.plugins.Dask.DaskWorkerGroup result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Dask.DaskWorkerGroup buildPartial() { - flyteidl.plugins.Dask.DaskWorkerGroup result = new flyteidl.plugins.Dask.DaskWorkerGroup(this); - result.numberOfWorkers_ = numberOfWorkers_; - result.image_ = image_; - if (resourcesBuilder_ == null) { - result.resources_ = resources_; - } else { - result.resources_ = resourcesBuilder_.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.plugins.Dask.DaskWorkerGroup) { - return mergeFrom((flyteidl.plugins.Dask.DaskWorkerGroup)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Dask.DaskWorkerGroup other) { - if (other == flyteidl.plugins.Dask.DaskWorkerGroup.getDefaultInstance()) return this; - if (other.getNumberOfWorkers() != 0) { - setNumberOfWorkers(other.getNumberOfWorkers()); - } - if (!other.getImage().isEmpty()) { - image_ = other.image_; - onChanged(); - } - if (other.hasResources()) { - mergeResources(other.getResources()); - } - 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.plugins.Dask.DaskWorkerGroup parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Dask.DaskWorkerGroup) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int numberOfWorkers_ ; - /** - *
-       * Number of workers in the group.
-       * 
- * - * uint32 number_of_workers = 1; - */ - public int getNumberOfWorkers() { - return numberOfWorkers_; - } - /** - *
-       * Number of workers in the group.
-       * 
- * - * uint32 number_of_workers = 1; - */ - public Builder setNumberOfWorkers(int value) { - - numberOfWorkers_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of workers in the group.
-       * 
- * - * uint32 number_of_workers = 1; - */ - public Builder clearNumberOfWorkers() { - - numberOfWorkers_ = 0; - onChanged(); - return this; - } - - private java.lang.Object image_ = ""; - /** - *
-       * Optional image to use for the pods of the worker group. If unset, will use the default image.
-       * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - image_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Optional image to use for the pods of the worker group. If unset, will use the default image.
-       * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Optional image to use for the pods of the worker group. If unset, will use the default image.
-       * 
- * - * string image = 2; - */ - public Builder setImage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - image_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional image to use for the pods of the worker group. If unset, will use the default image.
-       * 
- * - * string image = 2; - */ - public Builder clearImage() { - - image_ = getDefaultInstance().getImage(); - onChanged(); - return this; - } - /** - *
-       * Optional image to use for the pods of the worker group. If unset, will use the default image.
-       * 
- * - * string image = 2; - */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - image_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.Resources resources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resourcesBuilder_ != null || resources_ != null; - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - if (resourcesBuilder_ == null) { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } else { - return resourcesBuilder_.getMessage(); - } - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resources_ = value; - onChanged(); - } else { - resourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources( - flyteidl.core.Tasks.Resources.Builder builderForValue) { - if (resourcesBuilder_ == null) { - resources_ = builderForValue.build(); - onChanged(); - } else { - resourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder mergeResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (resources_ != null) { - resources_ = - flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); - } else { - resources_ = value; - } - onChanged(); - } else { - resourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder clearResources() { - if (resourcesBuilder_ == null) { - resources_ = null; - onChanged(); - } else { - resources_ = null; - resourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { - - onChanged(); - return getResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - if (resourcesBuilder_ != null) { - return resourcesBuilder_.getMessageOrBuilder(); - } else { - return resources_ == null ? - flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - } - /** - *
-       * Resources assigned to the all pods of the worker group.
-       * As per https://kubernetes.dask.org/en/latest/kubecluster.html?highlight=limit#best-practices 
-       * it is advised to only set limits. If requests are not explicitly set, the plugin will make
-       * sure to set requests==limits.
-       * The plugin sets ` --memory-limit` as well as `--nthreads` for the workers according to the limit.
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> - getResourcesFieldBuilder() { - if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( - getResources(), - getParentForChildren(), - isClean()); - resources_ = null; - } - return resourcesBuilder_; - } - @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.plugins.DaskWorkerGroup) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DaskWorkerGroup) - private static final flyteidl.plugins.Dask.DaskWorkerGroup DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Dask.DaskWorkerGroup(); - } - - public static flyteidl.plugins.Dask.DaskWorkerGroup getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DaskWorkerGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DaskWorkerGroup(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.plugins.Dask.DaskWorkerGroup getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_DaskJob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_DaskJob_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_DaskScheduler_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_DaskScheduler_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_DaskWorkerGroup_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_DaskWorkerGroup_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\033flyteidl/plugins/dask.proto\022\020flyteidl." + - "plugins\032\031flyteidl/core/tasks.proto\"q\n\007Da" + - "skJob\0222\n\tscheduler\030\001 \001(\0132\037.flyteidl.plug" + - "ins.DaskScheduler\0222\n\007workers\030\002 \001(\0132!.fly" + - "teidl.plugins.DaskWorkerGroup\"K\n\rDaskSch" + - "eduler\022\r\n\005image\030\001 \001(\t\022+\n\tresources\030\002 \001(\013" + - "2\030.flyteidl.core.Resources\"h\n\017DaskWorker" + - "Group\022\031\n\021number_of_workers\030\001 \001(\r\022\r\n\005imag" + - "e\030\002 \001(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.co" + - "re.ResourcesB?Z=github.com/flyteorg/flyt" + - "e/flyteidl/gen/pb-go/flyteidl/pluginsb\006p" + - "roto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Tasks.getDescriptor(), - }, assigner); - internal_static_flyteidl_plugins_DaskJob_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_DaskJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_DaskJob_descriptor, - new java.lang.String[] { "Scheduler", "Workers", }); - internal_static_flyteidl_plugins_DaskScheduler_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_DaskScheduler_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_DaskScheduler_descriptor, - new java.lang.String[] { "Image", "Resources", }); - internal_static_flyteidl_plugins_DaskWorkerGroup_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_plugins_DaskWorkerGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_DaskWorkerGroup_descriptor, - new java.lang.String[] { "NumberOfWorkers", "Image", "Resources", }); - flyteidl.core.Tasks.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Mpi.java b/flyteidl/gen/pb-java/flyteidl/plugins/Mpi.java deleted file mode 100644 index f4affa68b0..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Mpi.java +++ /dev/null @@ -1,737 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/mpi.proto - -package flyteidl.plugins; - -public final class Mpi { - private Mpi() {} - 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 DistributedMPITrainingTaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.DistributedMPITrainingTask) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * number of worker spawned in the cluster for this job
-     * 
- * - * int32 num_workers = 1; - */ - int getNumWorkers(); - - /** - *
-     * number of launcher replicas spawned in the cluster for this job
-     * The launcher pod invokes mpirun and communicates with worker pods through MPI.
-     * 
- * - * int32 num_launcher_replicas = 2; - */ - int getNumLauncherReplicas(); - - /** - *
-     * number of slots per worker used in hostfile.
-     * The available slots (GPUs) in each pod.
-     * 
- * - * int32 slots = 3; - */ - int getSlots(); - } - /** - *
-   * MPI operator proposal https://github.com/kubeflow/community/blob/master/proposals/mpi-operator-proposal.md
-   * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator
-   * 
- * - * Protobuf type {@code flyteidl.plugins.DistributedMPITrainingTask} - */ - public static final class DistributedMPITrainingTask extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.DistributedMPITrainingTask) - DistributedMPITrainingTaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedMPITrainingTask.newBuilder() to construct. - private DistributedMPITrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedMPITrainingTask() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedMPITrainingTask( - 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: { - - numWorkers_ = input.readInt32(); - break; - } - case 16: { - - numLauncherReplicas_ = input.readInt32(); - break; - } - case 24: { - - slots_ = input.readInt32(); - 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.plugins.Mpi.internal_static_flyteidl_plugins_DistributedMPITrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Mpi.internal_static_flyteidl_plugins_DistributedMPITrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Mpi.DistributedMPITrainingTask.class, flyteidl.plugins.Mpi.DistributedMPITrainingTask.Builder.class); - } - - public static final int NUM_WORKERS_FIELD_NUMBER = 1; - private int numWorkers_; - /** - *
-     * number of worker spawned in the cluster for this job
-     * 
- * - * int32 num_workers = 1; - */ - public int getNumWorkers() { - return numWorkers_; - } - - public static final int NUM_LAUNCHER_REPLICAS_FIELD_NUMBER = 2; - private int numLauncherReplicas_; - /** - *
-     * number of launcher replicas spawned in the cluster for this job
-     * The launcher pod invokes mpirun and communicates with worker pods through MPI.
-     * 
- * - * int32 num_launcher_replicas = 2; - */ - public int getNumLauncherReplicas() { - return numLauncherReplicas_; - } - - public static final int SLOTS_FIELD_NUMBER = 3; - private int slots_; - /** - *
-     * number of slots per worker used in hostfile.
-     * The available slots (GPUs) in each pod.
-     * 
- * - * int32 slots = 3; - */ - public int getSlots() { - return slots_; - } - - 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 (numWorkers_ != 0) { - output.writeInt32(1, numWorkers_); - } - if (numLauncherReplicas_ != 0) { - output.writeInt32(2, numLauncherReplicas_); - } - if (slots_ != 0) { - output.writeInt32(3, slots_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (numWorkers_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, numWorkers_); - } - if (numLauncherReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, numLauncherReplicas_); - } - if (slots_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, slots_); - } - 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.plugins.Mpi.DistributedMPITrainingTask)) { - return super.equals(obj); - } - flyteidl.plugins.Mpi.DistributedMPITrainingTask other = (flyteidl.plugins.Mpi.DistributedMPITrainingTask) obj; - - if (getNumWorkers() - != other.getNumWorkers()) return false; - if (getNumLauncherReplicas() - != other.getNumLauncherReplicas()) return false; - if (getSlots() - != other.getSlots()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NUM_WORKERS_FIELD_NUMBER; - hash = (53 * hash) + getNumWorkers(); - hash = (37 * hash) + NUM_LAUNCHER_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getNumLauncherReplicas(); - hash = (37 * hash) + SLOTS_FIELD_NUMBER; - hash = (53 * hash) + getSlots(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask 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.plugins.Mpi.DistributedMPITrainingTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask 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.plugins.Mpi.DistributedMPITrainingTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask 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.plugins.Mpi.DistributedMPITrainingTask 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; - } - /** - *
-     * MPI operator proposal https://github.com/kubeflow/community/blob/master/proposals/mpi-operator-proposal.md
-     * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator
-     * 
- * - * Protobuf type {@code flyteidl.plugins.DistributedMPITrainingTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.DistributedMPITrainingTask) - flyteidl.plugins.Mpi.DistributedMPITrainingTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Mpi.internal_static_flyteidl_plugins_DistributedMPITrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Mpi.internal_static_flyteidl_plugins_DistributedMPITrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Mpi.DistributedMPITrainingTask.class, flyteidl.plugins.Mpi.DistributedMPITrainingTask.Builder.class); - } - - // Construct using flyteidl.plugins.Mpi.DistributedMPITrainingTask.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(); - numWorkers_ = 0; - - numLauncherReplicas_ = 0; - - slots_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Mpi.internal_static_flyteidl_plugins_DistributedMPITrainingTask_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Mpi.DistributedMPITrainingTask getDefaultInstanceForType() { - return flyteidl.plugins.Mpi.DistributedMPITrainingTask.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Mpi.DistributedMPITrainingTask build() { - flyteidl.plugins.Mpi.DistributedMPITrainingTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Mpi.DistributedMPITrainingTask buildPartial() { - flyteidl.plugins.Mpi.DistributedMPITrainingTask result = new flyteidl.plugins.Mpi.DistributedMPITrainingTask(this); - result.numWorkers_ = numWorkers_; - result.numLauncherReplicas_ = numLauncherReplicas_; - result.slots_ = slots_; - 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.plugins.Mpi.DistributedMPITrainingTask) { - return mergeFrom((flyteidl.plugins.Mpi.DistributedMPITrainingTask)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Mpi.DistributedMPITrainingTask other) { - if (other == flyteidl.plugins.Mpi.DistributedMPITrainingTask.getDefaultInstance()) return this; - if (other.getNumWorkers() != 0) { - setNumWorkers(other.getNumWorkers()); - } - if (other.getNumLauncherReplicas() != 0) { - setNumLauncherReplicas(other.getNumLauncherReplicas()); - } - if (other.getSlots() != 0) { - setSlots(other.getSlots()); - } - 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.plugins.Mpi.DistributedMPITrainingTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Mpi.DistributedMPITrainingTask) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int numWorkers_ ; - /** - *
-       * number of worker spawned in the cluster for this job
-       * 
- * - * int32 num_workers = 1; - */ - public int getNumWorkers() { - return numWorkers_; - } - /** - *
-       * number of worker spawned in the cluster for this job
-       * 
- * - * int32 num_workers = 1; - */ - public Builder setNumWorkers(int value) { - - numWorkers_ = value; - onChanged(); - return this; - } - /** - *
-       * number of worker spawned in the cluster for this job
-       * 
- * - * int32 num_workers = 1; - */ - public Builder clearNumWorkers() { - - numWorkers_ = 0; - onChanged(); - return this; - } - - private int numLauncherReplicas_ ; - /** - *
-       * number of launcher replicas spawned in the cluster for this job
-       * The launcher pod invokes mpirun and communicates with worker pods through MPI.
-       * 
- * - * int32 num_launcher_replicas = 2; - */ - public int getNumLauncherReplicas() { - return numLauncherReplicas_; - } - /** - *
-       * number of launcher replicas spawned in the cluster for this job
-       * The launcher pod invokes mpirun and communicates with worker pods through MPI.
-       * 
- * - * int32 num_launcher_replicas = 2; - */ - public Builder setNumLauncherReplicas(int value) { - - numLauncherReplicas_ = value; - onChanged(); - return this; - } - /** - *
-       * number of launcher replicas spawned in the cluster for this job
-       * The launcher pod invokes mpirun and communicates with worker pods through MPI.
-       * 
- * - * int32 num_launcher_replicas = 2; - */ - public Builder clearNumLauncherReplicas() { - - numLauncherReplicas_ = 0; - onChanged(); - return this; - } - - private int slots_ ; - /** - *
-       * number of slots per worker used in hostfile.
-       * The available slots (GPUs) in each pod.
-       * 
- * - * int32 slots = 3; - */ - public int getSlots() { - return slots_; - } - /** - *
-       * number of slots per worker used in hostfile.
-       * The available slots (GPUs) in each pod.
-       * 
- * - * int32 slots = 3; - */ - public Builder setSlots(int value) { - - slots_ = value; - onChanged(); - return this; - } - /** - *
-       * number of slots per worker used in hostfile.
-       * The available slots (GPUs) in each pod.
-       * 
- * - * int32 slots = 3; - */ - public Builder clearSlots() { - - slots_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.DistributedMPITrainingTask) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DistributedMPITrainingTask) - private static final flyteidl.plugins.Mpi.DistributedMPITrainingTask DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Mpi.DistributedMPITrainingTask(); - } - - public static flyteidl.plugins.Mpi.DistributedMPITrainingTask getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedMPITrainingTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedMPITrainingTask(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.plugins.Mpi.DistributedMPITrainingTask getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_DistributedMPITrainingTask_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_DistributedMPITrainingTask_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\032flyteidl/plugins/mpi.proto\022\020flyteidl.p" + - "lugins\"_\n\032DistributedMPITrainingTask\022\023\n\013" + - "num_workers\030\001 \001(\005\022\035\n\025num_launcher_replic" + - "as\030\002 \001(\005\022\r\n\005slots\030\003 \001(\005B?Z=github.com/fl" + - "yteorg/flyte/flyteidl/gen/pb-go/flyteidl" + - "/pluginsb\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[] { - }, assigner); - internal_static_flyteidl_plugins_DistributedMPITrainingTask_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_DistributedMPITrainingTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_DistributedMPITrainingTask_descriptor, - new java.lang.String[] { "NumWorkers", "NumLauncherReplicas", "Slots", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Presto.java b/flyteidl/gen/pb-java/flyteidl/plugins/Presto.java deleted file mode 100644 index 1cd97b08eb..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Presto.java +++ /dev/null @@ -1,1029 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/presto.proto - -package flyteidl.plugins; - -public final class Presto { - private Presto() {} - 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 PrestoQueryOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.PrestoQuery) - com.google.protobuf.MessageOrBuilder { - - /** - * string routing_group = 1; - */ - java.lang.String getRoutingGroup(); - /** - * string routing_group = 1; - */ - com.google.protobuf.ByteString - getRoutingGroupBytes(); - - /** - * string catalog = 2; - */ - java.lang.String getCatalog(); - /** - * string catalog = 2; - */ - com.google.protobuf.ByteString - getCatalogBytes(); - - /** - * string schema = 3; - */ - java.lang.String getSchema(); - /** - * string schema = 3; - */ - com.google.protobuf.ByteString - getSchemaBytes(); - - /** - * string statement = 4; - */ - java.lang.String getStatement(); - /** - * string statement = 4; - */ - com.google.protobuf.ByteString - getStatementBytes(); - } - /** - *
-   * This message works with the 'presto' task type in the SDK and is the object that will be in the 'custom' field
-   * of a Presto task's TaskTemplate
-   * 
- * - * Protobuf type {@code flyteidl.plugins.PrestoQuery} - */ - public static final class PrestoQuery extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.PrestoQuery) - PrestoQueryOrBuilder { - private static final long serialVersionUID = 0L; - // Use PrestoQuery.newBuilder() to construct. - private PrestoQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PrestoQuery() { - routingGroup_ = ""; - catalog_ = ""; - schema_ = ""; - statement_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PrestoQuery( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - routingGroup_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - catalog_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - schema_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - statement_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Presto.internal_static_flyteidl_plugins_PrestoQuery_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Presto.internal_static_flyteidl_plugins_PrestoQuery_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Presto.PrestoQuery.class, flyteidl.plugins.Presto.PrestoQuery.Builder.class); - } - - public static final int ROUTING_GROUP_FIELD_NUMBER = 1; - private volatile java.lang.Object routingGroup_; - /** - * string routing_group = 1; - */ - public java.lang.String getRoutingGroup() { - java.lang.Object ref = routingGroup_; - 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(); - routingGroup_ = s; - return s; - } - } - /** - * string routing_group = 1; - */ - public com.google.protobuf.ByteString - getRoutingGroupBytes() { - java.lang.Object ref = routingGroup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - routingGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CATALOG_FIELD_NUMBER = 2; - private volatile java.lang.Object catalog_; - /** - * string catalog = 2; - */ - public java.lang.String getCatalog() { - java.lang.Object ref = catalog_; - 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(); - catalog_ = s; - return s; - } - } - /** - * string catalog = 2; - */ - public com.google.protobuf.ByteString - getCatalogBytes() { - java.lang.Object ref = catalog_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - catalog_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCHEMA_FIELD_NUMBER = 3; - private volatile java.lang.Object schema_; - /** - * string schema = 3; - */ - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - 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(); - schema_ = s; - return s; - } - } - /** - * string schema = 3; - */ - public com.google.protobuf.ByteString - getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATEMENT_FIELD_NUMBER = 4; - private volatile java.lang.Object statement_; - /** - * string statement = 4; - */ - public java.lang.String getStatement() { - java.lang.Object ref = statement_; - 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(); - statement_ = s; - return s; - } - } - /** - * string statement = 4; - */ - public com.google.protobuf.ByteString - getStatementBytes() { - java.lang.Object ref = statement_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - statement_ = 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 (!getRoutingGroupBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, routingGroup_); - } - if (!getCatalogBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, catalog_); - } - if (!getSchemaBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schema_); - } - if (!getStatementBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, statement_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getRoutingGroupBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, routingGroup_); - } - if (!getCatalogBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, catalog_); - } - if (!getSchemaBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schema_); - } - if (!getStatementBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, statement_); - } - 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.plugins.Presto.PrestoQuery)) { - return super.equals(obj); - } - flyteidl.plugins.Presto.PrestoQuery other = (flyteidl.plugins.Presto.PrestoQuery) obj; - - if (!getRoutingGroup() - .equals(other.getRoutingGroup())) return false; - if (!getCatalog() - .equals(other.getCatalog())) return false; - if (!getSchema() - .equals(other.getSchema())) return false; - if (!getStatement() - .equals(other.getStatement())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ROUTING_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getRoutingGroup().hashCode(); - hash = (37 * hash) + CATALOG_FIELD_NUMBER; - hash = (53 * hash) + getCatalog().hashCode(); - hash = (37 * hash) + SCHEMA_FIELD_NUMBER; - hash = (53 * hash) + getSchema().hashCode(); - hash = (37 * hash) + STATEMENT_FIELD_NUMBER; - hash = (53 * hash) + getStatement().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Presto.PrestoQuery parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Presto.PrestoQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Presto.PrestoQuery parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Presto.PrestoQuery parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Presto.PrestoQuery parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Presto.PrestoQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Presto.PrestoQuery parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Presto.PrestoQuery 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.plugins.Presto.PrestoQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Presto.PrestoQuery 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.plugins.Presto.PrestoQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Presto.PrestoQuery 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.plugins.Presto.PrestoQuery 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; - } - /** - *
-     * This message works with the 'presto' task type in the SDK and is the object that will be in the 'custom' field
-     * of a Presto task's TaskTemplate
-     * 
- * - * Protobuf type {@code flyteidl.plugins.PrestoQuery} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.PrestoQuery) - flyteidl.plugins.Presto.PrestoQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Presto.internal_static_flyteidl_plugins_PrestoQuery_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Presto.internal_static_flyteidl_plugins_PrestoQuery_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Presto.PrestoQuery.class, flyteidl.plugins.Presto.PrestoQuery.Builder.class); - } - - // Construct using flyteidl.plugins.Presto.PrestoQuery.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(); - routingGroup_ = ""; - - catalog_ = ""; - - schema_ = ""; - - statement_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Presto.internal_static_flyteidl_plugins_PrestoQuery_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Presto.PrestoQuery getDefaultInstanceForType() { - return flyteidl.plugins.Presto.PrestoQuery.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Presto.PrestoQuery build() { - flyteidl.plugins.Presto.PrestoQuery result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Presto.PrestoQuery buildPartial() { - flyteidl.plugins.Presto.PrestoQuery result = new flyteidl.plugins.Presto.PrestoQuery(this); - result.routingGroup_ = routingGroup_; - result.catalog_ = catalog_; - result.schema_ = schema_; - result.statement_ = statement_; - 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.plugins.Presto.PrestoQuery) { - return mergeFrom((flyteidl.plugins.Presto.PrestoQuery)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Presto.PrestoQuery other) { - if (other == flyteidl.plugins.Presto.PrestoQuery.getDefaultInstance()) return this; - if (!other.getRoutingGroup().isEmpty()) { - routingGroup_ = other.routingGroup_; - onChanged(); - } - if (!other.getCatalog().isEmpty()) { - catalog_ = other.catalog_; - onChanged(); - } - if (!other.getSchema().isEmpty()) { - schema_ = other.schema_; - onChanged(); - } - if (!other.getStatement().isEmpty()) { - statement_ = other.statement_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.plugins.Presto.PrestoQuery parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Presto.PrestoQuery) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object routingGroup_ = ""; - /** - * string routing_group = 1; - */ - public java.lang.String getRoutingGroup() { - java.lang.Object ref = routingGroup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - routingGroup_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string routing_group = 1; - */ - public com.google.protobuf.ByteString - getRoutingGroupBytes() { - java.lang.Object ref = routingGroup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - routingGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string routing_group = 1; - */ - public Builder setRoutingGroup( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - routingGroup_ = value; - onChanged(); - return this; - } - /** - * string routing_group = 1; - */ - public Builder clearRoutingGroup() { - - routingGroup_ = getDefaultInstance().getRoutingGroup(); - onChanged(); - return this; - } - /** - * string routing_group = 1; - */ - public Builder setRoutingGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - routingGroup_ = value; - onChanged(); - return this; - } - - private java.lang.Object catalog_ = ""; - /** - * string catalog = 2; - */ - public java.lang.String getCatalog() { - java.lang.Object ref = catalog_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - catalog_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string catalog = 2; - */ - public com.google.protobuf.ByteString - getCatalogBytes() { - java.lang.Object ref = catalog_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - catalog_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string catalog = 2; - */ - public Builder setCatalog( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - catalog_ = value; - onChanged(); - return this; - } - /** - * string catalog = 2; - */ - public Builder clearCatalog() { - - catalog_ = getDefaultInstance().getCatalog(); - onChanged(); - return this; - } - /** - * string catalog = 2; - */ - public Builder setCatalogBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - catalog_ = value; - onChanged(); - return this; - } - - private java.lang.Object schema_ = ""; - /** - * string schema = 3; - */ - public java.lang.String getSchema() { - java.lang.Object ref = schema_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - schema_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string schema = 3; - */ - public com.google.protobuf.ByteString - getSchemaBytes() { - java.lang.Object ref = schema_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - schema_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string schema = 3; - */ - public Builder setSchema( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - schema_ = value; - onChanged(); - return this; - } - /** - * string schema = 3; - */ - public Builder clearSchema() { - - schema_ = getDefaultInstance().getSchema(); - onChanged(); - return this; - } - /** - * string schema = 3; - */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - schema_ = value; - onChanged(); - return this; - } - - private java.lang.Object statement_ = ""; - /** - * string statement = 4; - */ - public java.lang.String getStatement() { - java.lang.Object ref = statement_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - statement_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string statement = 4; - */ - public com.google.protobuf.ByteString - getStatementBytes() { - java.lang.Object ref = statement_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - statement_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string statement = 4; - */ - public Builder setStatement( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - statement_ = value; - onChanged(); - return this; - } - /** - * string statement = 4; - */ - public Builder clearStatement() { - - statement_ = getDefaultInstance().getStatement(); - onChanged(); - return this; - } - /** - * string statement = 4; - */ - public Builder setStatementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - statement_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.PrestoQuery) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.PrestoQuery) - private static final flyteidl.plugins.Presto.PrestoQuery DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Presto.PrestoQuery(); - } - - public static flyteidl.plugins.Presto.PrestoQuery getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrestoQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PrestoQuery(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.plugins.Presto.PrestoQuery getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_PrestoQuery_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_PrestoQuery_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/plugins/presto.proto\022\020flyteid" + - "l.plugins\"X\n\013PrestoQuery\022\025\n\rrouting_grou" + - "p\030\001 \001(\t\022\017\n\007catalog\030\002 \001(\t\022\016\n\006schema\030\003 \001(\t" + - "\022\021\n\tstatement\030\004 \001(\tB?Z=github.com/flyteo" + - "rg/flyte/flyteidl/gen/pb-go/flyteidl/plu" + - "ginsb\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[] { - }, assigner); - internal_static_flyteidl_plugins_PrestoQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_PrestoQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_PrestoQuery_descriptor, - new java.lang.String[] { "RoutingGroup", "Catalog", "Schema", "Statement", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Pytorch.java b/flyteidl/gen/pb-java/flyteidl/plugins/Pytorch.java deleted file mode 100644 index 2fa2344de7..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Pytorch.java +++ /dev/null @@ -1,1651 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/pytorch.proto - -package flyteidl.plugins; - -public final class Pytorch { - private Pytorch() {} - 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 ElasticConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.ElasticConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * string rdzv_backend = 1; - */ - java.lang.String getRdzvBackend(); - /** - * string rdzv_backend = 1; - */ - com.google.protobuf.ByteString - getRdzvBackendBytes(); - - /** - * int32 min_replicas = 2; - */ - int getMinReplicas(); - - /** - * int32 max_replicas = 3; - */ - int getMaxReplicas(); - - /** - * int32 nproc_per_node = 4; - */ - int getNprocPerNode(); - - /** - * int32 max_restarts = 5; - */ - int getMaxRestarts(); - } - /** - *
-   * Custom proto for torch elastic config for distributed training using 
-   * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
-   * 
- * - * Protobuf type {@code flyteidl.plugins.ElasticConfig} - */ - public static final class ElasticConfig extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.ElasticConfig) - ElasticConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use ElasticConfig.newBuilder() to construct. - private ElasticConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ElasticConfig() { - rdzvBackend_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ElasticConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - rdzvBackend_ = s; - break; - } - case 16: { - - minReplicas_ = input.readInt32(); - break; - } - case 24: { - - maxReplicas_ = input.readInt32(); - break; - } - case 32: { - - nprocPerNode_ = input.readInt32(); - break; - } - case 40: { - - maxRestarts_ = input.readInt32(); - 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.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Pytorch.ElasticConfig.class, flyteidl.plugins.Pytorch.ElasticConfig.Builder.class); - } - - public static final int RDZV_BACKEND_FIELD_NUMBER = 1; - private volatile java.lang.Object rdzvBackend_; - /** - * string rdzv_backend = 1; - */ - public java.lang.String getRdzvBackend() { - java.lang.Object ref = rdzvBackend_; - 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(); - rdzvBackend_ = s; - return s; - } - } - /** - * string rdzv_backend = 1; - */ - public com.google.protobuf.ByteString - getRdzvBackendBytes() { - java.lang.Object ref = rdzvBackend_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rdzvBackend_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MIN_REPLICAS_FIELD_NUMBER = 2; - private int minReplicas_; - /** - * int32 min_replicas = 2; - */ - public int getMinReplicas() { - return minReplicas_; - } - - public static final int MAX_REPLICAS_FIELD_NUMBER = 3; - private int maxReplicas_; - /** - * int32 max_replicas = 3; - */ - public int getMaxReplicas() { - return maxReplicas_; - } - - public static final int NPROC_PER_NODE_FIELD_NUMBER = 4; - private int nprocPerNode_; - /** - * int32 nproc_per_node = 4; - */ - public int getNprocPerNode() { - return nprocPerNode_; - } - - public static final int MAX_RESTARTS_FIELD_NUMBER = 5; - private int maxRestarts_; - /** - * int32 max_restarts = 5; - */ - public int getMaxRestarts() { - return maxRestarts_; - } - - 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 (!getRdzvBackendBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rdzvBackend_); - } - if (minReplicas_ != 0) { - output.writeInt32(2, minReplicas_); - } - if (maxReplicas_ != 0) { - output.writeInt32(3, maxReplicas_); - } - if (nprocPerNode_ != 0) { - output.writeInt32(4, nprocPerNode_); - } - if (maxRestarts_ != 0) { - output.writeInt32(5, maxRestarts_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getRdzvBackendBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rdzvBackend_); - } - if (minReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, minReplicas_); - } - if (maxReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxReplicas_); - } - if (nprocPerNode_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, nprocPerNode_); - } - if (maxRestarts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxRestarts_); - } - 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.plugins.Pytorch.ElasticConfig)) { - return super.equals(obj); - } - flyteidl.plugins.Pytorch.ElasticConfig other = (flyteidl.plugins.Pytorch.ElasticConfig) obj; - - if (!getRdzvBackend() - .equals(other.getRdzvBackend())) return false; - if (getMinReplicas() - != other.getMinReplicas()) return false; - if (getMaxReplicas() - != other.getMaxReplicas()) return false; - if (getNprocPerNode() - != other.getNprocPerNode()) return false; - if (getMaxRestarts() - != other.getMaxRestarts()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RDZV_BACKEND_FIELD_NUMBER; - hash = (53 * hash) + getRdzvBackend().hashCode(); - hash = (37 * hash) + MIN_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getMinReplicas(); - hash = (37 * hash) + MAX_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getMaxReplicas(); - hash = (37 * hash) + NPROC_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + getNprocPerNode(); - hash = (37 * hash) + MAX_RESTARTS_FIELD_NUMBER; - hash = (53 * hash) + getMaxRestarts(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Pytorch.ElasticConfig 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.plugins.Pytorch.ElasticConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Pytorch.ElasticConfig 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.plugins.Pytorch.ElasticConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Pytorch.ElasticConfig 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.plugins.Pytorch.ElasticConfig 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; - } - /** - *
-     * Custom proto for torch elastic config for distributed training using 
-     * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
-     * 
- * - * Protobuf type {@code flyteidl.plugins.ElasticConfig} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.ElasticConfig) - flyteidl.plugins.Pytorch.ElasticConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Pytorch.ElasticConfig.class, flyteidl.plugins.Pytorch.ElasticConfig.Builder.class); - } - - // Construct using flyteidl.plugins.Pytorch.ElasticConfig.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(); - rdzvBackend_ = ""; - - minReplicas_ = 0; - - maxReplicas_ = 0; - - nprocPerNode_ = 0; - - maxRestarts_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Pytorch.ElasticConfig getDefaultInstanceForType() { - return flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Pytorch.ElasticConfig build() { - flyteidl.plugins.Pytorch.ElasticConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Pytorch.ElasticConfig buildPartial() { - flyteidl.plugins.Pytorch.ElasticConfig result = new flyteidl.plugins.Pytorch.ElasticConfig(this); - result.rdzvBackend_ = rdzvBackend_; - result.minReplicas_ = minReplicas_; - result.maxReplicas_ = maxReplicas_; - result.nprocPerNode_ = nprocPerNode_; - result.maxRestarts_ = maxRestarts_; - 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.plugins.Pytorch.ElasticConfig) { - return mergeFrom((flyteidl.plugins.Pytorch.ElasticConfig)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Pytorch.ElasticConfig other) { - if (other == flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance()) return this; - if (!other.getRdzvBackend().isEmpty()) { - rdzvBackend_ = other.rdzvBackend_; - onChanged(); - } - if (other.getMinReplicas() != 0) { - setMinReplicas(other.getMinReplicas()); - } - if (other.getMaxReplicas() != 0) { - setMaxReplicas(other.getMaxReplicas()); - } - if (other.getNprocPerNode() != 0) { - setNprocPerNode(other.getNprocPerNode()); - } - if (other.getMaxRestarts() != 0) { - setMaxRestarts(other.getMaxRestarts()); - } - 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.plugins.Pytorch.ElasticConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Pytorch.ElasticConfig) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object rdzvBackend_ = ""; - /** - * string rdzv_backend = 1; - */ - public java.lang.String getRdzvBackend() { - java.lang.Object ref = rdzvBackend_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - rdzvBackend_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string rdzv_backend = 1; - */ - public com.google.protobuf.ByteString - getRdzvBackendBytes() { - java.lang.Object ref = rdzvBackend_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rdzvBackend_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string rdzv_backend = 1; - */ - public Builder setRdzvBackend( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - rdzvBackend_ = value; - onChanged(); - return this; - } - /** - * string rdzv_backend = 1; - */ - public Builder clearRdzvBackend() { - - rdzvBackend_ = getDefaultInstance().getRdzvBackend(); - onChanged(); - return this; - } - /** - * string rdzv_backend = 1; - */ - public Builder setRdzvBackendBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - rdzvBackend_ = value; - onChanged(); - return this; - } - - private int minReplicas_ ; - /** - * int32 min_replicas = 2; - */ - public int getMinReplicas() { - return minReplicas_; - } - /** - * int32 min_replicas = 2; - */ - public Builder setMinReplicas(int value) { - - minReplicas_ = value; - onChanged(); - return this; - } - /** - * int32 min_replicas = 2; - */ - public Builder clearMinReplicas() { - - minReplicas_ = 0; - onChanged(); - return this; - } - - private int maxReplicas_ ; - /** - * int32 max_replicas = 3; - */ - public int getMaxReplicas() { - return maxReplicas_; - } - /** - * int32 max_replicas = 3; - */ - public Builder setMaxReplicas(int value) { - - maxReplicas_ = value; - onChanged(); - return this; - } - /** - * int32 max_replicas = 3; - */ - public Builder clearMaxReplicas() { - - maxReplicas_ = 0; - onChanged(); - return this; - } - - private int nprocPerNode_ ; - /** - * int32 nproc_per_node = 4; - */ - public int getNprocPerNode() { - return nprocPerNode_; - } - /** - * int32 nproc_per_node = 4; - */ - public Builder setNprocPerNode(int value) { - - nprocPerNode_ = value; - onChanged(); - return this; - } - /** - * int32 nproc_per_node = 4; - */ - public Builder clearNprocPerNode() { - - nprocPerNode_ = 0; - onChanged(); - return this; - } - - private int maxRestarts_ ; - /** - * int32 max_restarts = 5; - */ - public int getMaxRestarts() { - return maxRestarts_; - } - /** - * int32 max_restarts = 5; - */ - public Builder setMaxRestarts(int value) { - - maxRestarts_ = value; - onChanged(); - return this; - } - /** - * int32 max_restarts = 5; - */ - public Builder clearMaxRestarts() { - - maxRestarts_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.ElasticConfig) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.ElasticConfig) - private static final flyteidl.plugins.Pytorch.ElasticConfig DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Pytorch.ElasticConfig(); - } - - public static flyteidl.plugins.Pytorch.ElasticConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ElasticConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ElasticConfig(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.plugins.Pytorch.ElasticConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DistributedPyTorchTrainingTaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.DistributedPyTorchTrainingTask) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * number of worker replicas spawned in the cluster for this job
-     * 
- * - * int32 workers = 1; - */ - int getWorkers(); - - /** - *
-     * config for an elastic pytorch job
-     * 
-     * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - boolean hasElasticConfig(); - /** - *
-     * config for an elastic pytorch job
-     * 
-     * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - flyteidl.plugins.Pytorch.ElasticConfig getElasticConfig(); - /** - *
-     * config for an elastic pytorch job
-     * 
-     * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - flyteidl.plugins.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder(); - } - /** - *
-   * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
-   * 
- * - * Protobuf type {@code flyteidl.plugins.DistributedPyTorchTrainingTask} - */ - public static final class DistributedPyTorchTrainingTask extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.DistributedPyTorchTrainingTask) - DistributedPyTorchTrainingTaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedPyTorchTrainingTask.newBuilder() to construct. - private DistributedPyTorchTrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedPyTorchTrainingTask() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedPyTorchTrainingTask( - 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: { - - workers_ = input.readInt32(); - break; - } - case 18: { - flyteidl.plugins.Pytorch.ElasticConfig.Builder subBuilder = null; - if (elasticConfig_ != null) { - subBuilder = elasticConfig_.toBuilder(); - } - elasticConfig_ = input.readMessage(flyteidl.plugins.Pytorch.ElasticConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(elasticConfig_); - elasticConfig_ = 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.plugins.Pytorch.internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask.class, flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask.Builder.class); - } - - public static final int WORKERS_FIELD_NUMBER = 1; - private int workers_; - /** - *
-     * number of worker replicas spawned in the cluster for this job
-     * 
- * - * int32 workers = 1; - */ - public int getWorkers() { - return workers_; - } - - public static final int ELASTIC_CONFIG_FIELD_NUMBER = 2; - private flyteidl.plugins.Pytorch.ElasticConfig elasticConfig_; - /** - *
-     * config for an elastic pytorch job
-     * 
-     * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public boolean hasElasticConfig() { - return elasticConfig_ != null; - } - /** - *
-     * config for an elastic pytorch job
-     * 
-     * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public flyteidl.plugins.Pytorch.ElasticConfig getElasticConfig() { - return elasticConfig_ == null ? flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; - } - /** - *
-     * config for an elastic pytorch job
-     * 
-     * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public flyteidl.plugins.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { - return getElasticConfig(); - } - - 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 (workers_ != 0) { - output.writeInt32(1, workers_); - } - if (elasticConfig_ != null) { - output.writeMessage(2, getElasticConfig()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (workers_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, workers_); - } - if (elasticConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getElasticConfig()); - } - 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.plugins.Pytorch.DistributedPyTorchTrainingTask)) { - return super.equals(obj); - } - flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask other = (flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask) obj; - - if (getWorkers() - != other.getWorkers()) return false; - if (hasElasticConfig() != other.hasElasticConfig()) return false; - if (hasElasticConfig()) { - if (!getElasticConfig() - .equals(other.getElasticConfig())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORKERS_FIELD_NUMBER; - hash = (53 * hash) + getWorkers(); - if (hasElasticConfig()) { - hash = (37 * hash) + ELASTIC_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getElasticConfig().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask 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.plugins.Pytorch.DistributedPyTorchTrainingTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask 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.plugins.Pytorch.DistributedPyTorchTrainingTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask 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.plugins.Pytorch.DistributedPyTorchTrainingTask 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; - } - /** - *
-     * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
-     * 
- * - * Protobuf type {@code flyteidl.plugins.DistributedPyTorchTrainingTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.DistributedPyTorchTrainingTask) - flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask.class, flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask.Builder.class); - } - - // Construct using flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask.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(); - workers_ = 0; - - if (elasticConfigBuilder_ == null) { - elasticConfig_ = null; - } else { - elasticConfig_ = null; - elasticConfigBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanceForType() { - return flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask build() { - flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask buildPartial() { - flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask result = new flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask(this); - result.workers_ = workers_; - if (elasticConfigBuilder_ == null) { - result.elasticConfig_ = elasticConfig_; - } else { - result.elasticConfig_ = elasticConfigBuilder_.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.plugins.Pytorch.DistributedPyTorchTrainingTask) { - return mergeFrom((flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask other) { - if (other == flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask.getDefaultInstance()) return this; - if (other.getWorkers() != 0) { - setWorkers(other.getWorkers()); - } - if (other.hasElasticConfig()) { - mergeElasticConfig(other.getElasticConfig()); - } - 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.plugins.Pytorch.DistributedPyTorchTrainingTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int workers_ ; - /** - *
-       * number of worker replicas spawned in the cluster for this job
-       * 
- * - * int32 workers = 1; - */ - public int getWorkers() { - return workers_; - } - /** - *
-       * number of worker replicas spawned in the cluster for this job
-       * 
- * - * int32 workers = 1; - */ - public Builder setWorkers(int value) { - - workers_ = value; - onChanged(); - return this; - } - /** - *
-       * number of worker replicas spawned in the cluster for this job
-       * 
- * - * int32 workers = 1; - */ - public Builder clearWorkers() { - - workers_ = 0; - onChanged(); - return this; - } - - private flyteidl.plugins.Pytorch.ElasticConfig elasticConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Pytorch.ElasticConfig, flyteidl.plugins.Pytorch.ElasticConfig.Builder, flyteidl.plugins.Pytorch.ElasticConfigOrBuilder> elasticConfigBuilder_; - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public boolean hasElasticConfig() { - return elasticConfigBuilder_ != null || elasticConfig_ != null; - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public flyteidl.plugins.Pytorch.ElasticConfig getElasticConfig() { - if (elasticConfigBuilder_ == null) { - return elasticConfig_ == null ? flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; - } else { - return elasticConfigBuilder_.getMessage(); - } - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public Builder setElasticConfig(flyteidl.plugins.Pytorch.ElasticConfig value) { - if (elasticConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - elasticConfig_ = value; - onChanged(); - } else { - elasticConfigBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public Builder setElasticConfig( - flyteidl.plugins.Pytorch.ElasticConfig.Builder builderForValue) { - if (elasticConfigBuilder_ == null) { - elasticConfig_ = builderForValue.build(); - onChanged(); - } else { - elasticConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public Builder mergeElasticConfig(flyteidl.plugins.Pytorch.ElasticConfig value) { - if (elasticConfigBuilder_ == null) { - if (elasticConfig_ != null) { - elasticConfig_ = - flyteidl.plugins.Pytorch.ElasticConfig.newBuilder(elasticConfig_).mergeFrom(value).buildPartial(); - } else { - elasticConfig_ = value; - } - onChanged(); - } else { - elasticConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public Builder clearElasticConfig() { - if (elasticConfigBuilder_ == null) { - elasticConfig_ = null; - onChanged(); - } else { - elasticConfig_ = null; - elasticConfigBuilder_ = null; - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public flyteidl.plugins.Pytorch.ElasticConfig.Builder getElasticConfigBuilder() { - - onChanged(); - return getElasticConfigFieldBuilder().getBuilder(); - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - public flyteidl.plugins.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { - if (elasticConfigBuilder_ != null) { - return elasticConfigBuilder_.getMessageOrBuilder(); - } else { - return elasticConfig_ == null ? - flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; - } - } - /** - *
-       * config for an elastic pytorch job
-       * 
-       * 
- * - * .flyteidl.plugins.ElasticConfig elastic_config = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Pytorch.ElasticConfig, flyteidl.plugins.Pytorch.ElasticConfig.Builder, flyteidl.plugins.Pytorch.ElasticConfigOrBuilder> - getElasticConfigFieldBuilder() { - if (elasticConfigBuilder_ == null) { - elasticConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Pytorch.ElasticConfig, flyteidl.plugins.Pytorch.ElasticConfig.Builder, flyteidl.plugins.Pytorch.ElasticConfigOrBuilder>( - getElasticConfig(), - getParentForChildren(), - isClean()); - elasticConfig_ = null; - } - return elasticConfigBuilder_; - } - @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.plugins.DistributedPyTorchTrainingTask) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DistributedPyTorchTrainingTask) - private static final flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask(); - } - - public static flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedPyTorchTrainingTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedPyTorchTrainingTask(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.plugins.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_ElasticConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_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\036flyteidl/plugins/pytorch.proto\022\020flytei" + - "dl.plugins\"\177\n\rElasticConfig\022\024\n\014rdzv_back" + - "end\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014max_r" + - "eplicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001(\005\022\024\n" + - "\014max_restarts\030\005 \001(\005\"j\n\036DistributedPyTorc" + - "hTrainingTask\022\017\n\007workers\030\001 \001(\005\0227\n\016elasti" + - "c_config\030\002 \001(\0132\037.flyteidl.plugins.Elasti" + - "cConfigB?Z=github.com/flyteorg/flyte/fly" + - "teidl/gen/pb-go/flyteidl/pluginsb\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[] { - }, assigner); - internal_static_flyteidl_plugins_ElasticConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_ElasticConfig_descriptor, - new java.lang.String[] { "RdzvBackend", "MinReplicas", "MaxReplicas", "NprocPerNode", "MaxRestarts", }); - internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor, - new java.lang.String[] { "Workers", "ElasticConfig", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Qubole.java b/flyteidl/gen/pb-java/flyteidl/plugins/Qubole.java deleted file mode 100644 index 4e44eb45f3..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Qubole.java +++ /dev/null @@ -1,2697 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/qubole.proto - -package flyteidl.plugins; - -public final class Qubole { - private Qubole() {} - 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 HiveQueryOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.HiveQuery) - com.google.protobuf.MessageOrBuilder { - - /** - * string query = 1; - */ - java.lang.String getQuery(); - /** - * string query = 1; - */ - com.google.protobuf.ByteString - getQueryBytes(); - - /** - * uint32 timeout_sec = 2; - */ - int getTimeoutSec(); - - /** - * uint32 retryCount = 3; - */ - int getRetryCount(); - } - /** - *
-   * Defines a query to execute on a hive cluster.
-   * 
- * - * Protobuf type {@code flyteidl.plugins.HiveQuery} - */ - public static final class HiveQuery extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.HiveQuery) - HiveQueryOrBuilder { - private static final long serialVersionUID = 0L; - // Use HiveQuery.newBuilder() to construct. - private HiveQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private HiveQuery() { - query_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private HiveQuery( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - query_ = s; - break; - } - case 16: { - - timeoutSec_ = input.readUInt32(); - break; - } - case 24: { - - retryCount_ = input.readUInt32(); - 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.plugins.Qubole.internal_static_flyteidl_plugins_HiveQuery_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQuery_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Qubole.HiveQuery.class, flyteidl.plugins.Qubole.HiveQuery.Builder.class); - } - - public static final int QUERY_FIELD_NUMBER = 1; - private volatile java.lang.Object query_; - /** - * string query = 1; - */ - public java.lang.String getQuery() { - java.lang.Object ref = query_; - 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(); - query_ = s; - return s; - } - } - /** - * string query = 1; - */ - public com.google.protobuf.ByteString - getQueryBytes() { - java.lang.Object ref = query_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - query_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIMEOUT_SEC_FIELD_NUMBER = 2; - private int timeoutSec_; - /** - * uint32 timeout_sec = 2; - */ - public int getTimeoutSec() { - return timeoutSec_; - } - - public static final int RETRYCOUNT_FIELD_NUMBER = 3; - private int retryCount_; - /** - * uint32 retryCount = 3; - */ - public int getRetryCount() { - return retryCount_; - } - - 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 (!getQueryBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); - } - if (timeoutSec_ != 0) { - output.writeUInt32(2, timeoutSec_); - } - if (retryCount_ != 0) { - output.writeUInt32(3, retryCount_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getQueryBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_); - } - if (timeoutSec_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, timeoutSec_); - } - if (retryCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, retryCount_); - } - 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.plugins.Qubole.HiveQuery)) { - return super.equals(obj); - } - flyteidl.plugins.Qubole.HiveQuery other = (flyteidl.plugins.Qubole.HiveQuery) obj; - - if (!getQuery() - .equals(other.getQuery())) return false; - if (getTimeoutSec() - != other.getTimeoutSec()) return false; - if (getRetryCount() - != other.getRetryCount()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + QUERY_FIELD_NUMBER; - hash = (53 * hash) + getQuery().hashCode(); - hash = (37 * hash) + TIMEOUT_SEC_FIELD_NUMBER; - hash = (53 * hash) + getTimeoutSec(); - hash = (37 * hash) + RETRYCOUNT_FIELD_NUMBER; - hash = (53 * hash) + getRetryCount(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Qubole.HiveQuery parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.HiveQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.HiveQuery parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.HiveQuery parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.HiveQuery parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.HiveQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.HiveQuery parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.HiveQuery 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.plugins.Qubole.HiveQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.HiveQuery 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.plugins.Qubole.HiveQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.HiveQuery 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.plugins.Qubole.HiveQuery prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a query to execute on a hive cluster.
-     * 
- * - * Protobuf type {@code flyteidl.plugins.HiveQuery} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.HiveQuery) - flyteidl.plugins.Qubole.HiveQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQuery_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQuery_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Qubole.HiveQuery.class, flyteidl.plugins.Qubole.HiveQuery.Builder.class); - } - - // Construct using flyteidl.plugins.Qubole.HiveQuery.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(); - query_ = ""; - - timeoutSec_ = 0; - - retryCount_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQuery_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Qubole.HiveQuery getDefaultInstanceForType() { - return flyteidl.plugins.Qubole.HiveQuery.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Qubole.HiveQuery build() { - flyteidl.plugins.Qubole.HiveQuery result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Qubole.HiveQuery buildPartial() { - flyteidl.plugins.Qubole.HiveQuery result = new flyteidl.plugins.Qubole.HiveQuery(this); - result.query_ = query_; - result.timeoutSec_ = timeoutSec_; - result.retryCount_ = retryCount_; - 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.plugins.Qubole.HiveQuery) { - return mergeFrom((flyteidl.plugins.Qubole.HiveQuery)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Qubole.HiveQuery other) { - if (other == flyteidl.plugins.Qubole.HiveQuery.getDefaultInstance()) return this; - if (!other.getQuery().isEmpty()) { - query_ = other.query_; - onChanged(); - } - if (other.getTimeoutSec() != 0) { - setTimeoutSec(other.getTimeoutSec()); - } - if (other.getRetryCount() != 0) { - setRetryCount(other.getRetryCount()); - } - 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.plugins.Qubole.HiveQuery parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Qubole.HiveQuery) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object query_ = ""; - /** - * string query = 1; - */ - public java.lang.String getQuery() { - java.lang.Object ref = query_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - query_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string query = 1; - */ - public com.google.protobuf.ByteString - getQueryBytes() { - java.lang.Object ref = query_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - query_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string query = 1; - */ - public Builder setQuery( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - query_ = value; - onChanged(); - return this; - } - /** - * string query = 1; - */ - public Builder clearQuery() { - - query_ = getDefaultInstance().getQuery(); - onChanged(); - return this; - } - /** - * string query = 1; - */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - query_ = value; - onChanged(); - return this; - } - - private int timeoutSec_ ; - /** - * uint32 timeout_sec = 2; - */ - public int getTimeoutSec() { - return timeoutSec_; - } - /** - * uint32 timeout_sec = 2; - */ - public Builder setTimeoutSec(int value) { - - timeoutSec_ = value; - onChanged(); - return this; - } - /** - * uint32 timeout_sec = 2; - */ - public Builder clearTimeoutSec() { - - timeoutSec_ = 0; - onChanged(); - return this; - } - - private int retryCount_ ; - /** - * uint32 retryCount = 3; - */ - public int getRetryCount() { - return retryCount_; - } - /** - * uint32 retryCount = 3; - */ - public Builder setRetryCount(int value) { - - retryCount_ = value; - onChanged(); - return this; - } - /** - * uint32 retryCount = 3; - */ - public Builder clearRetryCount() { - - retryCount_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.HiveQuery) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.HiveQuery) - private static final flyteidl.plugins.Qubole.HiveQuery DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Qubole.HiveQuery(); - } - - public static flyteidl.plugins.Qubole.HiveQuery getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HiveQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HiveQuery(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.plugins.Qubole.HiveQuery getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface HiveQueryCollectionOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.HiveQueryCollection) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - java.util.List - getQueriesList(); - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - flyteidl.plugins.Qubole.HiveQuery getQueries(int index); - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - int getQueriesCount(); - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - java.util.List - getQueriesOrBuilderList(); - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - flyteidl.plugins.Qubole.HiveQueryOrBuilder getQueriesOrBuilder( - int index); - } - /** - *
-   * Defines a collection of hive queries.
-   * 
- * - * Protobuf type {@code flyteidl.plugins.HiveQueryCollection} - */ - public static final class HiveQueryCollection extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.HiveQueryCollection) - HiveQueryCollectionOrBuilder { - private static final long serialVersionUID = 0L; - // Use HiveQueryCollection.newBuilder() to construct. - private HiveQueryCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private HiveQueryCollection() { - queries_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private HiveQueryCollection( - 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 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queries_.add( - input.readMessage(flyteidl.plugins.Qubole.HiveQuery.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)) { - queries_ = java.util.Collections.unmodifiableList(queries_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQueryCollection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQueryCollection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Qubole.HiveQueryCollection.class, flyteidl.plugins.Qubole.HiveQueryCollection.Builder.class); - } - - public static final int QUERIES_FIELD_NUMBER = 2; - private java.util.List queries_; - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public java.util.List getQueriesList() { - return queries_; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public java.util.List - getQueriesOrBuilderList() { - return queries_; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public int getQueriesCount() { - return queries_.size(); - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public flyteidl.plugins.Qubole.HiveQuery getQueries(int index) { - return queries_.get(index); - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public flyteidl.plugins.Qubole.HiveQueryOrBuilder getQueriesOrBuilder( - int index) { - return queries_.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 < queries_.size(); i++) { - output.writeMessage(2, queries_.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 < queries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, queries_.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.plugins.Qubole.HiveQueryCollection)) { - return super.equals(obj); - } - flyteidl.plugins.Qubole.HiveQueryCollection other = (flyteidl.plugins.Qubole.HiveQueryCollection) obj; - - if (!getQueriesList() - .equals(other.getQueriesList())) 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 (getQueriesCount() > 0) { - hash = (37 * hash) + QUERIES_FIELD_NUMBER; - hash = (53 * hash) + getQueriesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Qubole.HiveQueryCollection parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection 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.plugins.Qubole.HiveQueryCollection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection 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.plugins.Qubole.HiveQueryCollection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.HiveQueryCollection 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.plugins.Qubole.HiveQueryCollection prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * Defines a collection of hive queries.
-     * 
- * - * Protobuf type {@code flyteidl.plugins.HiveQueryCollection} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.HiveQueryCollection) - flyteidl.plugins.Qubole.HiveQueryCollectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQueryCollection_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQueryCollection_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Qubole.HiveQueryCollection.class, flyteidl.plugins.Qubole.HiveQueryCollection.Builder.class); - } - - // Construct using flyteidl.plugins.Qubole.HiveQueryCollection.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getQueriesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (queriesBuilder_ == null) { - queries_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - queriesBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_HiveQueryCollection_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Qubole.HiveQueryCollection getDefaultInstanceForType() { - return flyteidl.plugins.Qubole.HiveQueryCollection.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Qubole.HiveQueryCollection build() { - flyteidl.plugins.Qubole.HiveQueryCollection result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Qubole.HiveQueryCollection buildPartial() { - flyteidl.plugins.Qubole.HiveQueryCollection result = new flyteidl.plugins.Qubole.HiveQueryCollection(this); - int from_bitField0_ = bitField0_; - if (queriesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - queries_ = java.util.Collections.unmodifiableList(queries_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.queries_ = queries_; - } else { - result.queries_ = queriesBuilder_.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.plugins.Qubole.HiveQueryCollection) { - return mergeFrom((flyteidl.plugins.Qubole.HiveQueryCollection)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Qubole.HiveQueryCollection other) { - if (other == flyteidl.plugins.Qubole.HiveQueryCollection.getDefaultInstance()) return this; - if (queriesBuilder_ == null) { - if (!other.queries_.isEmpty()) { - if (queries_.isEmpty()) { - queries_ = other.queries_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureQueriesIsMutable(); - queries_.addAll(other.queries_); - } - onChanged(); - } - } else { - if (!other.queries_.isEmpty()) { - if (queriesBuilder_.isEmpty()) { - queriesBuilder_.dispose(); - queriesBuilder_ = null; - queries_ = other.queries_; - bitField0_ = (bitField0_ & ~0x00000001); - queriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueriesFieldBuilder() : null; - } else { - queriesBuilder_.addAllMessages(other.queries_); - } - } - } - 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.plugins.Qubole.HiveQueryCollection parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Qubole.HiveQueryCollection) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List queries_ = - java.util.Collections.emptyList(); - private void ensureQueriesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - queries_ = new java.util.ArrayList(queries_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQuery, flyteidl.plugins.Qubole.HiveQuery.Builder, flyteidl.plugins.Qubole.HiveQueryOrBuilder> queriesBuilder_; - - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public java.util.List getQueriesList() { - if (queriesBuilder_ == null) { - return java.util.Collections.unmodifiableList(queries_); - } else { - return queriesBuilder_.getMessageList(); - } - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public int getQueriesCount() { - if (queriesBuilder_ == null) { - return queries_.size(); - } else { - return queriesBuilder_.getCount(); - } - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public flyteidl.plugins.Qubole.HiveQuery getQueries(int index) { - if (queriesBuilder_ == null) { - return queries_.get(index); - } else { - return queriesBuilder_.getMessage(index); - } - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder setQueries( - int index, flyteidl.plugins.Qubole.HiveQuery value) { - if (queriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); - queries_.set(index, value); - onChanged(); - } else { - queriesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder setQueries( - int index, flyteidl.plugins.Qubole.HiveQuery.Builder builderForValue) { - if (queriesBuilder_ == null) { - ensureQueriesIsMutable(); - queries_.set(index, builderForValue.build()); - onChanged(); - } else { - queriesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder addQueries(flyteidl.plugins.Qubole.HiveQuery value) { - if (queriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); - queries_.add(value); - onChanged(); - } else { - queriesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder addQueries( - int index, flyteidl.plugins.Qubole.HiveQuery value) { - if (queriesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); - queries_.add(index, value); - onChanged(); - } else { - queriesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder addQueries( - flyteidl.plugins.Qubole.HiveQuery.Builder builderForValue) { - if (queriesBuilder_ == null) { - ensureQueriesIsMutable(); - queries_.add(builderForValue.build()); - onChanged(); - } else { - queriesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder addQueries( - int index, flyteidl.plugins.Qubole.HiveQuery.Builder builderForValue) { - if (queriesBuilder_ == null) { - ensureQueriesIsMutable(); - queries_.add(index, builderForValue.build()); - onChanged(); - } else { - queriesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder addAllQueries( - java.lang.Iterable values) { - if (queriesBuilder_ == null) { - ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queries_); - onChanged(); - } else { - queriesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder clearQueries() { - if (queriesBuilder_ == null) { - queries_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - queriesBuilder_.clear(); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public Builder removeQueries(int index) { - if (queriesBuilder_ == null) { - ensureQueriesIsMutable(); - queries_.remove(index); - onChanged(); - } else { - queriesBuilder_.remove(index); - } - return this; - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public flyteidl.plugins.Qubole.HiveQuery.Builder getQueriesBuilder( - int index) { - return getQueriesFieldBuilder().getBuilder(index); - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public flyteidl.plugins.Qubole.HiveQueryOrBuilder getQueriesOrBuilder( - int index) { - if (queriesBuilder_ == null) { - return queries_.get(index); } else { - return queriesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public java.util.List - getQueriesOrBuilderList() { - if (queriesBuilder_ != null) { - return queriesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(queries_); - } - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public flyteidl.plugins.Qubole.HiveQuery.Builder addQueriesBuilder() { - return getQueriesFieldBuilder().addBuilder( - flyteidl.plugins.Qubole.HiveQuery.getDefaultInstance()); - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public flyteidl.plugins.Qubole.HiveQuery.Builder addQueriesBuilder( - int index) { - return getQueriesFieldBuilder().addBuilder( - index, flyteidl.plugins.Qubole.HiveQuery.getDefaultInstance()); - } - /** - * repeated .flyteidl.plugins.HiveQuery queries = 2; - */ - public java.util.List - getQueriesBuilderList() { - return getQueriesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQuery, flyteidl.plugins.Qubole.HiveQuery.Builder, flyteidl.plugins.Qubole.HiveQueryOrBuilder> - getQueriesFieldBuilder() { - if (queriesBuilder_ == null) { - queriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQuery, flyteidl.plugins.Qubole.HiveQuery.Builder, flyteidl.plugins.Qubole.HiveQueryOrBuilder>( - queries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - queries_ = null; - } - return queriesBuilder_; - } - @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.plugins.HiveQueryCollection) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.HiveQueryCollection) - private static final flyteidl.plugins.Qubole.HiveQueryCollection DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Qubole.HiveQueryCollection(); - } - - public static flyteidl.plugins.Qubole.HiveQueryCollection getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HiveQueryCollection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HiveQueryCollection(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.plugins.Qubole.HiveQueryCollection getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface QuboleHiveJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.QuboleHiveJob) - com.google.protobuf.MessageOrBuilder { - - /** - * string cluster_label = 1; - */ - java.lang.String getClusterLabel(); - /** - * string cluster_label = 1; - */ - com.google.protobuf.ByteString - getClusterLabelBytes(); - - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasQueryCollection(); - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.plugins.Qubole.HiveQueryCollection getQueryCollection(); - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated flyteidl.plugins.Qubole.HiveQueryCollectionOrBuilder getQueryCollectionOrBuilder(); - - /** - * repeated string tags = 3; - */ - java.util.List - getTagsList(); - /** - * repeated string tags = 3; - */ - int getTagsCount(); - /** - * repeated string tags = 3; - */ - java.lang.String getTags(int index); - /** - * repeated string tags = 3; - */ - com.google.protobuf.ByteString - getTagsBytes(int index); - - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - boolean hasQuery(); - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - flyteidl.plugins.Qubole.HiveQuery getQuery(); - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - flyteidl.plugins.Qubole.HiveQueryOrBuilder getQueryOrBuilder(); - } - /** - *
-   * This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field
-   * of a hive task's TaskTemplate
-   * 
- * - * Protobuf type {@code flyteidl.plugins.QuboleHiveJob} - */ - public static final class QuboleHiveJob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.QuboleHiveJob) - QuboleHiveJobOrBuilder { - private static final long serialVersionUID = 0L; - // Use QuboleHiveJob.newBuilder() to construct. - private QuboleHiveJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private QuboleHiveJob() { - clusterLabel_ = ""; - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private QuboleHiveJob( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - clusterLabel_ = s; - break; - } - case 18: { - flyteidl.plugins.Qubole.HiveQueryCollection.Builder subBuilder = null; - if (queryCollection_ != null) { - subBuilder = queryCollection_.toBuilder(); - } - queryCollection_ = input.readMessage(flyteidl.plugins.Qubole.HiveQueryCollection.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queryCollection_); - queryCollection_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - tags_.add(s); - break; - } - case 34: { - flyteidl.plugins.Qubole.HiveQuery.Builder subBuilder = null; - if (query_ != null) { - subBuilder = query_.toBuilder(); - } - query_ = input.readMessage(flyteidl.plugins.Qubole.HiveQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(query_); - query_ = 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 { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - tags_ = tags_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_QuboleHiveJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_QuboleHiveJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Qubole.QuboleHiveJob.class, flyteidl.plugins.Qubole.QuboleHiveJob.Builder.class); - } - - private int bitField0_; - public static final int CLUSTER_LABEL_FIELD_NUMBER = 1; - private volatile java.lang.Object clusterLabel_; - /** - * string cluster_label = 1; - */ - public java.lang.String getClusterLabel() { - java.lang.Object ref = clusterLabel_; - 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(); - clusterLabel_ = s; - return s; - } - } - /** - * string cluster_label = 1; - */ - public com.google.protobuf.ByteString - getClusterLabelBytes() { - java.lang.Object ref = clusterLabel_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clusterLabel_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int QUERY_COLLECTION_FIELD_NUMBER = 2; - private flyteidl.plugins.Qubole.HiveQueryCollection queryCollection_; - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasQueryCollection() { - return queryCollection_ != null; - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.plugins.Qubole.HiveQueryCollection getQueryCollection() { - return queryCollection_ == null ? flyteidl.plugins.Qubole.HiveQueryCollection.getDefaultInstance() : queryCollection_; - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.plugins.Qubole.HiveQueryCollectionOrBuilder getQueryCollectionOrBuilder() { - return getQueryCollection(); - } - - public static final int TAGS_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList tags_; - /** - * repeated string tags = 3; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_; - } - /** - * repeated string tags = 3; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - * repeated string tags = 3; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - * repeated string tags = 3; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - - public static final int QUERY_FIELD_NUMBER = 4; - private flyteidl.plugins.Qubole.HiveQuery query_; - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public boolean hasQuery() { - return query_ != null; - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public flyteidl.plugins.Qubole.HiveQuery getQuery() { - return query_ == null ? flyteidl.plugins.Qubole.HiveQuery.getDefaultInstance() : query_; - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public flyteidl.plugins.Qubole.HiveQueryOrBuilder getQueryOrBuilder() { - return getQuery(); - } - - 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 (!getClusterLabelBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterLabel_); - } - if (queryCollection_ != null) { - output.writeMessage(2, getQueryCollection()); - } - for (int i = 0; i < tags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i)); - } - if (query_ != null) { - output.writeMessage(4, getQuery()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getClusterLabelBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterLabel_); - } - if (queryCollection_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueryCollection()); - } - { - int dataSize = 0; - for (int i = 0; i < tags_.size(); i++) { - dataSize += computeStringSizeNoTag(tags_.getRaw(i)); - } - size += dataSize; - size += 1 * getTagsList().size(); - } - if (query_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getQuery()); - } - 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.plugins.Qubole.QuboleHiveJob)) { - return super.equals(obj); - } - flyteidl.plugins.Qubole.QuboleHiveJob other = (flyteidl.plugins.Qubole.QuboleHiveJob) obj; - - if (!getClusterLabel() - .equals(other.getClusterLabel())) return false; - if (hasQueryCollection() != other.hasQueryCollection()) return false; - if (hasQueryCollection()) { - if (!getQueryCollection() - .equals(other.getQueryCollection())) return false; - } - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (hasQuery() != other.hasQuery()) return false; - if (hasQuery()) { - if (!getQuery() - .equals(other.getQuery())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CLUSTER_LABEL_FIELD_NUMBER; - hash = (53 * hash) + getClusterLabel().hashCode(); - if (hasQueryCollection()) { - hash = (37 * hash) + QUERY_COLLECTION_FIELD_NUMBER; - hash = (53 * hash) + getQueryCollection().hashCode(); - } - if (getTagsCount() > 0) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + getTagsList().hashCode(); - } - if (hasQuery()) { - hash = (37 * hash) + QUERY_FIELD_NUMBER; - hash = (53 * hash) + getQuery().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Qubole.QuboleHiveJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob 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.plugins.Qubole.QuboleHiveJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob 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.plugins.Qubole.QuboleHiveJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Qubole.QuboleHiveJob 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.plugins.Qubole.QuboleHiveJob 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; - } - /** - *
-     * This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field
-     * of a hive task's TaskTemplate
-     * 
- * - * Protobuf type {@code flyteidl.plugins.QuboleHiveJob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.QuboleHiveJob) - flyteidl.plugins.Qubole.QuboleHiveJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_QuboleHiveJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_QuboleHiveJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Qubole.QuboleHiveJob.class, flyteidl.plugins.Qubole.QuboleHiveJob.Builder.class); - } - - // Construct using flyteidl.plugins.Qubole.QuboleHiveJob.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(); - clusterLabel_ = ""; - - if (queryCollectionBuilder_ == null) { - queryCollection_ = null; - } else { - queryCollection_ = null; - queryCollectionBuilder_ = null; - } - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - if (queryBuilder_ == null) { - query_ = null; - } else { - query_ = null; - queryBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Qubole.internal_static_flyteidl_plugins_QuboleHiveJob_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Qubole.QuboleHiveJob getDefaultInstanceForType() { - return flyteidl.plugins.Qubole.QuboleHiveJob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Qubole.QuboleHiveJob build() { - flyteidl.plugins.Qubole.QuboleHiveJob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Qubole.QuboleHiveJob buildPartial() { - flyteidl.plugins.Qubole.QuboleHiveJob result = new flyteidl.plugins.Qubole.QuboleHiveJob(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.clusterLabel_ = clusterLabel_; - if (queryCollectionBuilder_ == null) { - result.queryCollection_ = queryCollection_; - } else { - result.queryCollection_ = queryCollectionBuilder_.build(); - } - if (((bitField0_ & 0x00000004) != 0)) { - tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.tags_ = tags_; - if (queryBuilder_ == null) { - result.query_ = query_; - } else { - result.query_ = queryBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.plugins.Qubole.QuboleHiveJob) { - return mergeFrom((flyteidl.plugins.Qubole.QuboleHiveJob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Qubole.QuboleHiveJob other) { - if (other == flyteidl.plugins.Qubole.QuboleHiveJob.getDefaultInstance()) return this; - if (!other.getClusterLabel().isEmpty()) { - clusterLabel_ = other.clusterLabel_; - onChanged(); - } - if (other.hasQueryCollection()) { - mergeQueryCollection(other.getQueryCollection()); - } - if (!other.tags_.isEmpty()) { - if (tags_.isEmpty()) { - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureTagsIsMutable(); - tags_.addAll(other.tags_); - } - onChanged(); - } - if (other.hasQuery()) { - mergeQuery(other.getQuery()); - } - 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.plugins.Qubole.QuboleHiveJob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Qubole.QuboleHiveJob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object clusterLabel_ = ""; - /** - * string cluster_label = 1; - */ - public java.lang.String getClusterLabel() { - java.lang.Object ref = clusterLabel_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - clusterLabel_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string cluster_label = 1; - */ - public com.google.protobuf.ByteString - getClusterLabelBytes() { - java.lang.Object ref = clusterLabel_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clusterLabel_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string cluster_label = 1; - */ - public Builder setClusterLabel( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - clusterLabel_ = value; - onChanged(); - return this; - } - /** - * string cluster_label = 1; - */ - public Builder clearClusterLabel() { - - clusterLabel_ = getDefaultInstance().getClusterLabel(); - onChanged(); - return this; - } - /** - * string cluster_label = 1; - */ - public Builder setClusterLabelBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - clusterLabel_ = value; - onChanged(); - return this; - } - - private flyteidl.plugins.Qubole.HiveQueryCollection queryCollection_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQueryCollection, flyteidl.plugins.Qubole.HiveQueryCollection.Builder, flyteidl.plugins.Qubole.HiveQueryCollectionOrBuilder> queryCollectionBuilder_; - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasQueryCollection() { - return queryCollectionBuilder_ != null || queryCollection_ != null; - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.plugins.Qubole.HiveQueryCollection getQueryCollection() { - if (queryCollectionBuilder_ == null) { - return queryCollection_ == null ? flyteidl.plugins.Qubole.HiveQueryCollection.getDefaultInstance() : queryCollection_; - } else { - return queryCollectionBuilder_.getMessage(); - } - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setQueryCollection(flyteidl.plugins.Qubole.HiveQueryCollection value) { - if (queryCollectionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - queryCollection_ = value; - onChanged(); - } else { - queryCollectionBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setQueryCollection( - flyteidl.plugins.Qubole.HiveQueryCollection.Builder builderForValue) { - if (queryCollectionBuilder_ == null) { - queryCollection_ = builderForValue.build(); - onChanged(); - } else { - queryCollectionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder mergeQueryCollection(flyteidl.plugins.Qubole.HiveQueryCollection value) { - if (queryCollectionBuilder_ == null) { - if (queryCollection_ != null) { - queryCollection_ = - flyteidl.plugins.Qubole.HiveQueryCollection.newBuilder(queryCollection_).mergeFrom(value).buildPartial(); - } else { - queryCollection_ = value; - } - onChanged(); - } else { - queryCollectionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearQueryCollection() { - if (queryCollectionBuilder_ == null) { - queryCollection_ = null; - onChanged(); - } else { - queryCollection_ = null; - queryCollectionBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.plugins.Qubole.HiveQueryCollection.Builder getQueryCollectionBuilder() { - - onChanged(); - return getQueryCollectionFieldBuilder().getBuilder(); - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - @java.lang.Deprecated public flyteidl.plugins.Qubole.HiveQueryCollectionOrBuilder getQueryCollectionOrBuilder() { - if (queryCollectionBuilder_ != null) { - return queryCollectionBuilder_.getMessageOrBuilder(); - } else { - return queryCollection_ == null ? - flyteidl.plugins.Qubole.HiveQueryCollection.getDefaultInstance() : queryCollection_; - } - } - /** - * .flyteidl.plugins.HiveQueryCollection query_collection = 2 [deprecated = true]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQueryCollection, flyteidl.plugins.Qubole.HiveQueryCollection.Builder, flyteidl.plugins.Qubole.HiveQueryCollectionOrBuilder> - getQueryCollectionFieldBuilder() { - if (queryCollectionBuilder_ == null) { - queryCollectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQueryCollection, flyteidl.plugins.Qubole.HiveQueryCollection.Builder, flyteidl.plugins.Qubole.HiveQueryCollectionOrBuilder>( - getQueryCollection(), - getParentForChildren(), - isClean()); - queryCollection_ = null; - } - return queryCollectionBuilder_; - } - - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00000004; - } - } - /** - * repeated string tags = 3; - */ - public com.google.protobuf.ProtocolStringList - getTagsList() { - return tags_.getUnmodifiableView(); - } - /** - * repeated string tags = 3; - */ - public int getTagsCount() { - return tags_.size(); - } - /** - * repeated string tags = 3; - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - * repeated string tags = 3; - */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { - return tags_.getByteString(index); - } - /** - * repeated string tags = 3; - */ - public Builder setTags( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string tags = 3; - */ - public Builder addTags( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - /** - * repeated string tags = 3; - */ - public Builder addAllTags( - java.lang.Iterable values) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); - onChanged(); - return this; - } - /** - * repeated string tags = 3; - */ - public Builder clearTags() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * repeated string tags = 3; - */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - - private flyteidl.plugins.Qubole.HiveQuery query_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQuery, flyteidl.plugins.Qubole.HiveQuery.Builder, flyteidl.plugins.Qubole.HiveQueryOrBuilder> queryBuilder_; - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public boolean hasQuery() { - return queryBuilder_ != null || query_ != null; - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public flyteidl.plugins.Qubole.HiveQuery getQuery() { - if (queryBuilder_ == null) { - return query_ == null ? flyteidl.plugins.Qubole.HiveQuery.getDefaultInstance() : query_; - } else { - return queryBuilder_.getMessage(); - } - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public Builder setQuery(flyteidl.plugins.Qubole.HiveQuery value) { - if (queryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - query_ = value; - onChanged(); - } else { - queryBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public Builder setQuery( - flyteidl.plugins.Qubole.HiveQuery.Builder builderForValue) { - if (queryBuilder_ == null) { - query_ = builderForValue.build(); - onChanged(); - } else { - queryBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public Builder mergeQuery(flyteidl.plugins.Qubole.HiveQuery value) { - if (queryBuilder_ == null) { - if (query_ != null) { - query_ = - flyteidl.plugins.Qubole.HiveQuery.newBuilder(query_).mergeFrom(value).buildPartial(); - } else { - query_ = value; - } - onChanged(); - } else { - queryBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public Builder clearQuery() { - if (queryBuilder_ == null) { - query_ = null; - onChanged(); - } else { - query_ = null; - queryBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public flyteidl.plugins.Qubole.HiveQuery.Builder getQueryBuilder() { - - onChanged(); - return getQueryFieldBuilder().getBuilder(); - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - public flyteidl.plugins.Qubole.HiveQueryOrBuilder getQueryOrBuilder() { - if (queryBuilder_ != null) { - return queryBuilder_.getMessageOrBuilder(); - } else { - return query_ == null ? - flyteidl.plugins.Qubole.HiveQuery.getDefaultInstance() : query_; - } - } - /** - * .flyteidl.plugins.HiveQuery query = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQuery, flyteidl.plugins.Qubole.HiveQuery.Builder, flyteidl.plugins.Qubole.HiveQueryOrBuilder> - getQueryFieldBuilder() { - if (queryBuilder_ == null) { - queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Qubole.HiveQuery, flyteidl.plugins.Qubole.HiveQuery.Builder, flyteidl.plugins.Qubole.HiveQueryOrBuilder>( - getQuery(), - getParentForChildren(), - isClean()); - query_ = null; - } - return queryBuilder_; - } - @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.plugins.QuboleHiveJob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.QuboleHiveJob) - private static final flyteidl.plugins.Qubole.QuboleHiveJob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Qubole.QuboleHiveJob(); - } - - public static flyteidl.plugins.Qubole.QuboleHiveJob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuboleHiveJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QuboleHiveJob(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.plugins.Qubole.QuboleHiveJob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_HiveQuery_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_HiveQuery_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_HiveQueryCollection_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_HiveQueryCollection_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_QuboleHiveJob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_QuboleHiveJob_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/plugins/qubole.proto\022\020flyteid" + - "l.plugins\"C\n\tHiveQuery\022\r\n\005query\030\001 \001(\t\022\023\n" + - "\013timeout_sec\030\002 \001(\r\022\022\n\nretryCount\030\003 \001(\r\"C" + - "\n\023HiveQueryCollection\022,\n\007queries\030\002 \003(\0132\033" + - ".flyteidl.plugins.HiveQuery\"\245\001\n\rQuboleHi" + - "veJob\022\025\n\rcluster_label\030\001 \001(\t\022C\n\020query_co" + - "llection\030\002 \001(\0132%.flyteidl.plugins.HiveQu" + - "eryCollectionB\002\030\001\022\014\n\004tags\030\003 \003(\t\022*\n\005query" + - "\030\004 \001(\0132\033.flyteidl.plugins.HiveQueryB?Z=g" + - "ithub.com/flyteorg/flyte/flyteidl/gen/pb" + - "-go/flyteidl/pluginsb\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[] { - }, assigner); - internal_static_flyteidl_plugins_HiveQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_HiveQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_HiveQuery_descriptor, - new java.lang.String[] { "Query", "TimeoutSec", "RetryCount", }); - internal_static_flyteidl_plugins_HiveQueryCollection_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_HiveQueryCollection_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_HiveQueryCollection_descriptor, - new java.lang.String[] { "Queries", }); - internal_static_flyteidl_plugins_QuboleHiveJob_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_plugins_QuboleHiveJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_QuboleHiveJob_descriptor, - new java.lang.String[] { "ClusterLabel", "QueryCollection", "Tags", "Query", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Ray.java b/flyteidl/gen/pb-java/flyteidl/plugins/Ray.java deleted file mode 100644 index 5dd419f827..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Ray.java +++ /dev/null @@ -1,4431 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/ray.proto - -package flyteidl.plugins; - -public final class Ray { - private Ray() {} - 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 RayJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.RayJob) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * RayClusterSpec is the cluster template to run the job
-     * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - boolean hasRayCluster(); - /** - *
-     * RayClusterSpec is the cluster template to run the job
-     * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - flyteidl.plugins.Ray.RayCluster getRayCluster(); - /** - *
-     * RayClusterSpec is the cluster template to run the job
-     * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - flyteidl.plugins.Ray.RayClusterOrBuilder getRayClusterOrBuilder(); - - /** - *
-     * runtime_env is base64 encoded.
-     * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-     * 
- * - * string runtime_env = 2; - */ - java.lang.String getRuntimeEnv(); - /** - *
-     * runtime_env is base64 encoded.
-     * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-     * 
- * - * string runtime_env = 2; - */ - com.google.protobuf.ByteString - getRuntimeEnvBytes(); - - /** - *
-     * shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes.
-     * 
- * - * bool shutdown_after_job_finishes = 3; - */ - boolean getShutdownAfterJobFinishes(); - - /** - *
-     * ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes.
-     * 
- * - * int32 ttl_seconds_after_finished = 4; - */ - int getTtlSecondsAfterFinished(); - } - /** - *
-   * RayJobSpec defines the desired state of RayJob
-   * 
- * - * Protobuf type {@code flyteidl.plugins.RayJob} - */ - public static final class RayJob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.RayJob) - RayJobOrBuilder { - private static final long serialVersionUID = 0L; - // Use RayJob.newBuilder() to construct. - private RayJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RayJob() { - runtimeEnv_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RayJob( - 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.plugins.Ray.RayCluster.Builder subBuilder = null; - if (rayCluster_ != null) { - subBuilder = rayCluster_.toBuilder(); - } - rayCluster_ = input.readMessage(flyteidl.plugins.Ray.RayCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rayCluster_); - rayCluster_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - runtimeEnv_ = s; - break; - } - case 24: { - - shutdownAfterJobFinishes_ = input.readBool(); - break; - } - case 32: { - - ttlSecondsAfterFinished_ = input.readInt32(); - 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.plugins.Ray.internal_static_flyteidl_plugins_RayJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.RayJob.class, flyteidl.plugins.Ray.RayJob.Builder.class); - } - - public static final int RAY_CLUSTER_FIELD_NUMBER = 1; - private flyteidl.plugins.Ray.RayCluster rayCluster_; - /** - *
-     * RayClusterSpec is the cluster template to run the job
-     * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public boolean hasRayCluster() { - return rayCluster_ != null; - } - /** - *
-     * RayClusterSpec is the cluster template to run the job
-     * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public flyteidl.plugins.Ray.RayCluster getRayCluster() { - return rayCluster_ == null ? flyteidl.plugins.Ray.RayCluster.getDefaultInstance() : rayCluster_; - } - /** - *
-     * RayClusterSpec is the cluster template to run the job
-     * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public flyteidl.plugins.Ray.RayClusterOrBuilder getRayClusterOrBuilder() { - return getRayCluster(); - } - - public static final int RUNTIME_ENV_FIELD_NUMBER = 2; - private volatile java.lang.Object runtimeEnv_; - /** - *
-     * runtime_env is base64 encoded.
-     * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-     * 
- * - * string runtime_env = 2; - */ - public java.lang.String getRuntimeEnv() { - java.lang.Object ref = runtimeEnv_; - 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(); - runtimeEnv_ = s; - return s; - } - } - /** - *
-     * runtime_env is base64 encoded.
-     * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-     * 
- * - * string runtime_env = 2; - */ - public com.google.protobuf.ByteString - getRuntimeEnvBytes() { - java.lang.Object ref = runtimeEnv_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - runtimeEnv_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SHUTDOWN_AFTER_JOB_FINISHES_FIELD_NUMBER = 3; - private boolean shutdownAfterJobFinishes_; - /** - *
-     * shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes.
-     * 
- * - * bool shutdown_after_job_finishes = 3; - */ - public boolean getShutdownAfterJobFinishes() { - return shutdownAfterJobFinishes_; - } - - public static final int TTL_SECONDS_AFTER_FINISHED_FIELD_NUMBER = 4; - private int ttlSecondsAfterFinished_; - /** - *
-     * ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes.
-     * 
- * - * int32 ttl_seconds_after_finished = 4; - */ - public int getTtlSecondsAfterFinished() { - return ttlSecondsAfterFinished_; - } - - 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 (rayCluster_ != null) { - output.writeMessage(1, getRayCluster()); - } - if (!getRuntimeEnvBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, runtimeEnv_); - } - if (shutdownAfterJobFinishes_ != false) { - output.writeBool(3, shutdownAfterJobFinishes_); - } - if (ttlSecondsAfterFinished_ != 0) { - output.writeInt32(4, ttlSecondsAfterFinished_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (rayCluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRayCluster()); - } - if (!getRuntimeEnvBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, runtimeEnv_); - } - if (shutdownAfterJobFinishes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, shutdownAfterJobFinishes_); - } - if (ttlSecondsAfterFinished_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, ttlSecondsAfterFinished_); - } - 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.plugins.Ray.RayJob)) { - return super.equals(obj); - } - flyteidl.plugins.Ray.RayJob other = (flyteidl.plugins.Ray.RayJob) obj; - - if (hasRayCluster() != other.hasRayCluster()) return false; - if (hasRayCluster()) { - if (!getRayCluster() - .equals(other.getRayCluster())) return false; - } - if (!getRuntimeEnv() - .equals(other.getRuntimeEnv())) return false; - if (getShutdownAfterJobFinishes() - != other.getShutdownAfterJobFinishes()) return false; - if (getTtlSecondsAfterFinished() - != other.getTtlSecondsAfterFinished()) 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 (hasRayCluster()) { - hash = (37 * hash) + RAY_CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + getRayCluster().hashCode(); - } - hash = (37 * hash) + RUNTIME_ENV_FIELD_NUMBER; - hash = (53 * hash) + getRuntimeEnv().hashCode(); - hash = (37 * hash) + SHUTDOWN_AFTER_JOB_FINISHES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getShutdownAfterJobFinishes()); - hash = (37 * hash) + TTL_SECONDS_AFTER_FINISHED_FIELD_NUMBER; - hash = (53 * hash) + getTtlSecondsAfterFinished(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Ray.RayJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.RayJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.RayJob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.RayJob parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.RayJob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.RayJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.RayJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.RayJob 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.plugins.Ray.RayJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.RayJob 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.plugins.Ray.RayJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.RayJob 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.plugins.Ray.RayJob 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; - } - /** - *
-     * RayJobSpec defines the desired state of RayJob
-     * 
- * - * Protobuf type {@code flyteidl.plugins.RayJob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.RayJob) - flyteidl.plugins.Ray.RayJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayJob_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.RayJob.class, flyteidl.plugins.Ray.RayJob.Builder.class); - } - - // Construct using flyteidl.plugins.Ray.RayJob.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 (rayClusterBuilder_ == null) { - rayCluster_ = null; - } else { - rayCluster_ = null; - rayClusterBuilder_ = null; - } - runtimeEnv_ = ""; - - shutdownAfterJobFinishes_ = false; - - ttlSecondsAfterFinished_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayJob_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Ray.RayJob getDefaultInstanceForType() { - return flyteidl.plugins.Ray.RayJob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Ray.RayJob build() { - flyteidl.plugins.Ray.RayJob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Ray.RayJob buildPartial() { - flyteidl.plugins.Ray.RayJob result = new flyteidl.plugins.Ray.RayJob(this); - if (rayClusterBuilder_ == null) { - result.rayCluster_ = rayCluster_; - } else { - result.rayCluster_ = rayClusterBuilder_.build(); - } - result.runtimeEnv_ = runtimeEnv_; - result.shutdownAfterJobFinishes_ = shutdownAfterJobFinishes_; - result.ttlSecondsAfterFinished_ = ttlSecondsAfterFinished_; - 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.plugins.Ray.RayJob) { - return mergeFrom((flyteidl.plugins.Ray.RayJob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Ray.RayJob other) { - if (other == flyteidl.plugins.Ray.RayJob.getDefaultInstance()) return this; - if (other.hasRayCluster()) { - mergeRayCluster(other.getRayCluster()); - } - if (!other.getRuntimeEnv().isEmpty()) { - runtimeEnv_ = other.runtimeEnv_; - onChanged(); - } - if (other.getShutdownAfterJobFinishes() != false) { - setShutdownAfterJobFinishes(other.getShutdownAfterJobFinishes()); - } - if (other.getTtlSecondsAfterFinished() != 0) { - setTtlSecondsAfterFinished(other.getTtlSecondsAfterFinished()); - } - 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.plugins.Ray.RayJob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Ray.RayJob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.plugins.Ray.RayCluster rayCluster_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Ray.RayCluster, flyteidl.plugins.Ray.RayCluster.Builder, flyteidl.plugins.Ray.RayClusterOrBuilder> rayClusterBuilder_; - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public boolean hasRayCluster() { - return rayClusterBuilder_ != null || rayCluster_ != null; - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public flyteidl.plugins.Ray.RayCluster getRayCluster() { - if (rayClusterBuilder_ == null) { - return rayCluster_ == null ? flyteidl.plugins.Ray.RayCluster.getDefaultInstance() : rayCluster_; - } else { - return rayClusterBuilder_.getMessage(); - } - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public Builder setRayCluster(flyteidl.plugins.Ray.RayCluster value) { - if (rayClusterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - rayCluster_ = value; - onChanged(); - } else { - rayClusterBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public Builder setRayCluster( - flyteidl.plugins.Ray.RayCluster.Builder builderForValue) { - if (rayClusterBuilder_ == null) { - rayCluster_ = builderForValue.build(); - onChanged(); - } else { - rayClusterBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public Builder mergeRayCluster(flyteidl.plugins.Ray.RayCluster value) { - if (rayClusterBuilder_ == null) { - if (rayCluster_ != null) { - rayCluster_ = - flyteidl.plugins.Ray.RayCluster.newBuilder(rayCluster_).mergeFrom(value).buildPartial(); - } else { - rayCluster_ = value; - } - onChanged(); - } else { - rayClusterBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public Builder clearRayCluster() { - if (rayClusterBuilder_ == null) { - rayCluster_ = null; - onChanged(); - } else { - rayCluster_ = null; - rayClusterBuilder_ = null; - } - - return this; - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public flyteidl.plugins.Ray.RayCluster.Builder getRayClusterBuilder() { - - onChanged(); - return getRayClusterFieldBuilder().getBuilder(); - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - public flyteidl.plugins.Ray.RayClusterOrBuilder getRayClusterOrBuilder() { - if (rayClusterBuilder_ != null) { - return rayClusterBuilder_.getMessageOrBuilder(); - } else { - return rayCluster_ == null ? - flyteidl.plugins.Ray.RayCluster.getDefaultInstance() : rayCluster_; - } - } - /** - *
-       * RayClusterSpec is the cluster template to run the job
-       * 
- * - * .flyteidl.plugins.RayCluster ray_cluster = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Ray.RayCluster, flyteidl.plugins.Ray.RayCluster.Builder, flyteidl.plugins.Ray.RayClusterOrBuilder> - getRayClusterFieldBuilder() { - if (rayClusterBuilder_ == null) { - rayClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Ray.RayCluster, flyteidl.plugins.Ray.RayCluster.Builder, flyteidl.plugins.Ray.RayClusterOrBuilder>( - getRayCluster(), - getParentForChildren(), - isClean()); - rayCluster_ = null; - } - return rayClusterBuilder_; - } - - private java.lang.Object runtimeEnv_ = ""; - /** - *
-       * runtime_env is base64 encoded.
-       * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-       * 
- * - * string runtime_env = 2; - */ - public java.lang.String getRuntimeEnv() { - java.lang.Object ref = runtimeEnv_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - runtimeEnv_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * runtime_env is base64 encoded.
-       * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-       * 
- * - * string runtime_env = 2; - */ - public com.google.protobuf.ByteString - getRuntimeEnvBytes() { - java.lang.Object ref = runtimeEnv_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - runtimeEnv_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * runtime_env is base64 encoded.
-       * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-       * 
- * - * string runtime_env = 2; - */ - public Builder setRuntimeEnv( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - runtimeEnv_ = value; - onChanged(); - return this; - } - /** - *
-       * runtime_env is base64 encoded.
-       * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-       * 
- * - * string runtime_env = 2; - */ - public Builder clearRuntimeEnv() { - - runtimeEnv_ = getDefaultInstance().getRuntimeEnv(); - onChanged(); - return this; - } - /** - *
-       * runtime_env is base64 encoded.
-       * Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
-       * 
- * - * string runtime_env = 2; - */ - public Builder setRuntimeEnvBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - runtimeEnv_ = value; - onChanged(); - return this; - } - - private boolean shutdownAfterJobFinishes_ ; - /** - *
-       * shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes.
-       * 
- * - * bool shutdown_after_job_finishes = 3; - */ - public boolean getShutdownAfterJobFinishes() { - return shutdownAfterJobFinishes_; - } - /** - *
-       * shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes.
-       * 
- * - * bool shutdown_after_job_finishes = 3; - */ - public Builder setShutdownAfterJobFinishes(boolean value) { - - shutdownAfterJobFinishes_ = value; - onChanged(); - return this; - } - /** - *
-       * shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes.
-       * 
- * - * bool shutdown_after_job_finishes = 3; - */ - public Builder clearShutdownAfterJobFinishes() { - - shutdownAfterJobFinishes_ = false; - onChanged(); - return this; - } - - private int ttlSecondsAfterFinished_ ; - /** - *
-       * ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes.
-       * 
- * - * int32 ttl_seconds_after_finished = 4; - */ - public int getTtlSecondsAfterFinished() { - return ttlSecondsAfterFinished_; - } - /** - *
-       * ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes.
-       * 
- * - * int32 ttl_seconds_after_finished = 4; - */ - public Builder setTtlSecondsAfterFinished(int value) { - - ttlSecondsAfterFinished_ = value; - onChanged(); - return this; - } - /** - *
-       * ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes.
-       * 
- * - * int32 ttl_seconds_after_finished = 4; - */ - public Builder clearTtlSecondsAfterFinished() { - - ttlSecondsAfterFinished_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.RayJob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.RayJob) - private static final flyteidl.plugins.Ray.RayJob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Ray.RayJob(); - } - - public static flyteidl.plugins.Ray.RayJob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RayJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RayJob(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.plugins.Ray.RayJob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface RayClusterOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.RayCluster) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * HeadGroupSpecs are the spec for the head pod
-     * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - boolean hasHeadGroupSpec(); - /** - *
-     * HeadGroupSpecs are the spec for the head pod
-     * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - flyteidl.plugins.Ray.HeadGroupSpec getHeadGroupSpec(); - /** - *
-     * HeadGroupSpecs are the spec for the head pod
-     * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - flyteidl.plugins.Ray.HeadGroupSpecOrBuilder getHeadGroupSpecOrBuilder(); - - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - java.util.List - getWorkerGroupSpecList(); - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - flyteidl.plugins.Ray.WorkerGroupSpec getWorkerGroupSpec(int index); - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - int getWorkerGroupSpecCount(); - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - java.util.List - getWorkerGroupSpecOrBuilderList(); - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder getWorkerGroupSpecOrBuilder( - int index); - - /** - *
-     * Whether to enable autoscaling.
-     * 
- * - * bool enable_autoscaling = 3; - */ - boolean getEnableAutoscaling(); - } - /** - *
-   * Define Ray cluster defines the desired state of RayCluster
-   * 
- * - * Protobuf type {@code flyteidl.plugins.RayCluster} - */ - public static final class RayCluster extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.RayCluster) - RayClusterOrBuilder { - private static final long serialVersionUID = 0L; - // Use RayCluster.newBuilder() to construct. - private RayCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RayCluster() { - workerGroupSpec_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RayCluster( - 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.plugins.Ray.HeadGroupSpec.Builder subBuilder = null; - if (headGroupSpec_ != null) { - subBuilder = headGroupSpec_.toBuilder(); - } - headGroupSpec_ = input.readMessage(flyteidl.plugins.Ray.HeadGroupSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(headGroupSpec_); - headGroupSpec_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - workerGroupSpec_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - workerGroupSpec_.add( - input.readMessage(flyteidl.plugins.Ray.WorkerGroupSpec.parser(), extensionRegistry)); - break; - } - case 24: { - - enableAutoscaling_ = input.readBool(); - 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_ & 0x00000002) != 0)) { - workerGroupSpec_ = java.util.Collections.unmodifiableList(workerGroupSpec_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayCluster_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayCluster_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.RayCluster.class, flyteidl.plugins.Ray.RayCluster.Builder.class); - } - - private int bitField0_; - public static final int HEAD_GROUP_SPEC_FIELD_NUMBER = 1; - private flyteidl.plugins.Ray.HeadGroupSpec headGroupSpec_; - /** - *
-     * HeadGroupSpecs are the spec for the head pod
-     * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public boolean hasHeadGroupSpec() { - return headGroupSpec_ != null; - } - /** - *
-     * HeadGroupSpecs are the spec for the head pod
-     * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public flyteidl.plugins.Ray.HeadGroupSpec getHeadGroupSpec() { - return headGroupSpec_ == null ? flyteidl.plugins.Ray.HeadGroupSpec.getDefaultInstance() : headGroupSpec_; - } - /** - *
-     * HeadGroupSpecs are the spec for the head pod
-     * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public flyteidl.plugins.Ray.HeadGroupSpecOrBuilder getHeadGroupSpecOrBuilder() { - return getHeadGroupSpec(); - } - - public static final int WORKER_GROUP_SPEC_FIELD_NUMBER = 2; - private java.util.List workerGroupSpec_; - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public java.util.List getWorkerGroupSpecList() { - return workerGroupSpec_; - } - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public java.util.List - getWorkerGroupSpecOrBuilderList() { - return workerGroupSpec_; - } - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public int getWorkerGroupSpecCount() { - return workerGroupSpec_.size(); - } - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public flyteidl.plugins.Ray.WorkerGroupSpec getWorkerGroupSpec(int index) { - return workerGroupSpec_.get(index); - } - /** - *
-     * WorkerGroupSpecs are the specs for the worker pods
-     * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder getWorkerGroupSpecOrBuilder( - int index) { - return workerGroupSpec_.get(index); - } - - public static final int ENABLE_AUTOSCALING_FIELD_NUMBER = 3; - private boolean enableAutoscaling_; - /** - *
-     * Whether to enable autoscaling.
-     * 
- * - * bool enable_autoscaling = 3; - */ - public boolean getEnableAutoscaling() { - return enableAutoscaling_; - } - - 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 (headGroupSpec_ != null) { - output.writeMessage(1, getHeadGroupSpec()); - } - for (int i = 0; i < workerGroupSpec_.size(); i++) { - output.writeMessage(2, workerGroupSpec_.get(i)); - } - if (enableAutoscaling_ != false) { - output.writeBool(3, enableAutoscaling_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (headGroupSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHeadGroupSpec()); - } - for (int i = 0; i < workerGroupSpec_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, workerGroupSpec_.get(i)); - } - if (enableAutoscaling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, enableAutoscaling_); - } - 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.plugins.Ray.RayCluster)) { - return super.equals(obj); - } - flyteidl.plugins.Ray.RayCluster other = (flyteidl.plugins.Ray.RayCluster) obj; - - if (hasHeadGroupSpec() != other.hasHeadGroupSpec()) return false; - if (hasHeadGroupSpec()) { - if (!getHeadGroupSpec() - .equals(other.getHeadGroupSpec())) return false; - } - if (!getWorkerGroupSpecList() - .equals(other.getWorkerGroupSpecList())) return false; - if (getEnableAutoscaling() - != other.getEnableAutoscaling()) 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 (hasHeadGroupSpec()) { - hash = (37 * hash) + HEAD_GROUP_SPEC_FIELD_NUMBER; - hash = (53 * hash) + getHeadGroupSpec().hashCode(); - } - if (getWorkerGroupSpecCount() > 0) { - hash = (37 * hash) + WORKER_GROUP_SPEC_FIELD_NUMBER; - hash = (53 * hash) + getWorkerGroupSpecList().hashCode(); - } - hash = (37 * hash) + ENABLE_AUTOSCALING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableAutoscaling()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Ray.RayCluster parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.RayCluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.RayCluster parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.RayCluster parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.RayCluster parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.RayCluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.RayCluster parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.RayCluster 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.plugins.Ray.RayCluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.RayCluster 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.plugins.Ray.RayCluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.RayCluster 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.plugins.Ray.RayCluster 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; - } - /** - *
-     * Define Ray cluster defines the desired state of RayCluster
-     * 
- * - * Protobuf type {@code flyteidl.plugins.RayCluster} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.RayCluster) - flyteidl.plugins.Ray.RayClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayCluster_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayCluster_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.RayCluster.class, flyteidl.plugins.Ray.RayCluster.Builder.class); - } - - // Construct using flyteidl.plugins.Ray.RayCluster.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getWorkerGroupSpecFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (headGroupSpecBuilder_ == null) { - headGroupSpec_ = null; - } else { - headGroupSpec_ = null; - headGroupSpecBuilder_ = null; - } - if (workerGroupSpecBuilder_ == null) { - workerGroupSpec_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - workerGroupSpecBuilder_.clear(); - } - enableAutoscaling_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_RayCluster_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Ray.RayCluster getDefaultInstanceForType() { - return flyteidl.plugins.Ray.RayCluster.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Ray.RayCluster build() { - flyteidl.plugins.Ray.RayCluster result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Ray.RayCluster buildPartial() { - flyteidl.plugins.Ray.RayCluster result = new flyteidl.plugins.Ray.RayCluster(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (headGroupSpecBuilder_ == null) { - result.headGroupSpec_ = headGroupSpec_; - } else { - result.headGroupSpec_ = headGroupSpecBuilder_.build(); - } - if (workerGroupSpecBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - workerGroupSpec_ = java.util.Collections.unmodifiableList(workerGroupSpec_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.workerGroupSpec_ = workerGroupSpec_; - } else { - result.workerGroupSpec_ = workerGroupSpecBuilder_.build(); - } - result.enableAutoscaling_ = enableAutoscaling_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.plugins.Ray.RayCluster) { - return mergeFrom((flyteidl.plugins.Ray.RayCluster)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Ray.RayCluster other) { - if (other == flyteidl.plugins.Ray.RayCluster.getDefaultInstance()) return this; - if (other.hasHeadGroupSpec()) { - mergeHeadGroupSpec(other.getHeadGroupSpec()); - } - if (workerGroupSpecBuilder_ == null) { - if (!other.workerGroupSpec_.isEmpty()) { - if (workerGroupSpec_.isEmpty()) { - workerGroupSpec_ = other.workerGroupSpec_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.addAll(other.workerGroupSpec_); - } - onChanged(); - } - } else { - if (!other.workerGroupSpec_.isEmpty()) { - if (workerGroupSpecBuilder_.isEmpty()) { - workerGroupSpecBuilder_.dispose(); - workerGroupSpecBuilder_ = null; - workerGroupSpec_ = other.workerGroupSpec_; - bitField0_ = (bitField0_ & ~0x00000002); - workerGroupSpecBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkerGroupSpecFieldBuilder() : null; - } else { - workerGroupSpecBuilder_.addAllMessages(other.workerGroupSpec_); - } - } - } - if (other.getEnableAutoscaling() != false) { - setEnableAutoscaling(other.getEnableAutoscaling()); - } - 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.plugins.Ray.RayCluster parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Ray.RayCluster) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private flyteidl.plugins.Ray.HeadGroupSpec headGroupSpec_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Ray.HeadGroupSpec, flyteidl.plugins.Ray.HeadGroupSpec.Builder, flyteidl.plugins.Ray.HeadGroupSpecOrBuilder> headGroupSpecBuilder_; - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public boolean hasHeadGroupSpec() { - return headGroupSpecBuilder_ != null || headGroupSpec_ != null; - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public flyteidl.plugins.Ray.HeadGroupSpec getHeadGroupSpec() { - if (headGroupSpecBuilder_ == null) { - return headGroupSpec_ == null ? flyteidl.plugins.Ray.HeadGroupSpec.getDefaultInstance() : headGroupSpec_; - } else { - return headGroupSpecBuilder_.getMessage(); - } - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public Builder setHeadGroupSpec(flyteidl.plugins.Ray.HeadGroupSpec value) { - if (headGroupSpecBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - headGroupSpec_ = value; - onChanged(); - } else { - headGroupSpecBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public Builder setHeadGroupSpec( - flyteidl.plugins.Ray.HeadGroupSpec.Builder builderForValue) { - if (headGroupSpecBuilder_ == null) { - headGroupSpec_ = builderForValue.build(); - onChanged(); - } else { - headGroupSpecBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public Builder mergeHeadGroupSpec(flyteidl.plugins.Ray.HeadGroupSpec value) { - if (headGroupSpecBuilder_ == null) { - if (headGroupSpec_ != null) { - headGroupSpec_ = - flyteidl.plugins.Ray.HeadGroupSpec.newBuilder(headGroupSpec_).mergeFrom(value).buildPartial(); - } else { - headGroupSpec_ = value; - } - onChanged(); - } else { - headGroupSpecBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public Builder clearHeadGroupSpec() { - if (headGroupSpecBuilder_ == null) { - headGroupSpec_ = null; - onChanged(); - } else { - headGroupSpec_ = null; - headGroupSpecBuilder_ = null; - } - - return this; - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public flyteidl.plugins.Ray.HeadGroupSpec.Builder getHeadGroupSpecBuilder() { - - onChanged(); - return getHeadGroupSpecFieldBuilder().getBuilder(); - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - public flyteidl.plugins.Ray.HeadGroupSpecOrBuilder getHeadGroupSpecOrBuilder() { - if (headGroupSpecBuilder_ != null) { - return headGroupSpecBuilder_.getMessageOrBuilder(); - } else { - return headGroupSpec_ == null ? - flyteidl.plugins.Ray.HeadGroupSpec.getDefaultInstance() : headGroupSpec_; - } - } - /** - *
-       * HeadGroupSpecs are the spec for the head pod
-       * 
- * - * .flyteidl.plugins.HeadGroupSpec head_group_spec = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Ray.HeadGroupSpec, flyteidl.plugins.Ray.HeadGroupSpec.Builder, flyteidl.plugins.Ray.HeadGroupSpecOrBuilder> - getHeadGroupSpecFieldBuilder() { - if (headGroupSpecBuilder_ == null) { - headGroupSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.Ray.HeadGroupSpec, flyteidl.plugins.Ray.HeadGroupSpec.Builder, flyteidl.plugins.Ray.HeadGroupSpecOrBuilder>( - getHeadGroupSpec(), - getParentForChildren(), - isClean()); - headGroupSpec_ = null; - } - return headGroupSpecBuilder_; - } - - private java.util.List workerGroupSpec_ = - java.util.Collections.emptyList(); - private void ensureWorkerGroupSpecIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - workerGroupSpec_ = new java.util.ArrayList(workerGroupSpec_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.plugins.Ray.WorkerGroupSpec, flyteidl.plugins.Ray.WorkerGroupSpec.Builder, flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder> workerGroupSpecBuilder_; - - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public java.util.List getWorkerGroupSpecList() { - if (workerGroupSpecBuilder_ == null) { - return java.util.Collections.unmodifiableList(workerGroupSpec_); - } else { - return workerGroupSpecBuilder_.getMessageList(); - } - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public int getWorkerGroupSpecCount() { - if (workerGroupSpecBuilder_ == null) { - return workerGroupSpec_.size(); - } else { - return workerGroupSpecBuilder_.getCount(); - } - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public flyteidl.plugins.Ray.WorkerGroupSpec getWorkerGroupSpec(int index) { - if (workerGroupSpecBuilder_ == null) { - return workerGroupSpec_.get(index); - } else { - return workerGroupSpecBuilder_.getMessage(index); - } - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder setWorkerGroupSpec( - int index, flyteidl.plugins.Ray.WorkerGroupSpec value) { - if (workerGroupSpecBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.set(index, value); - onChanged(); - } else { - workerGroupSpecBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder setWorkerGroupSpec( - int index, flyteidl.plugins.Ray.WorkerGroupSpec.Builder builderForValue) { - if (workerGroupSpecBuilder_ == null) { - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.set(index, builderForValue.build()); - onChanged(); - } else { - workerGroupSpecBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder addWorkerGroupSpec(flyteidl.plugins.Ray.WorkerGroupSpec value) { - if (workerGroupSpecBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.add(value); - onChanged(); - } else { - workerGroupSpecBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder addWorkerGroupSpec( - int index, flyteidl.plugins.Ray.WorkerGroupSpec value) { - if (workerGroupSpecBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.add(index, value); - onChanged(); - } else { - workerGroupSpecBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder addWorkerGroupSpec( - flyteidl.plugins.Ray.WorkerGroupSpec.Builder builderForValue) { - if (workerGroupSpecBuilder_ == null) { - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.add(builderForValue.build()); - onChanged(); - } else { - workerGroupSpecBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder addWorkerGroupSpec( - int index, flyteidl.plugins.Ray.WorkerGroupSpec.Builder builderForValue) { - if (workerGroupSpecBuilder_ == null) { - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.add(index, builderForValue.build()); - onChanged(); - } else { - workerGroupSpecBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder addAllWorkerGroupSpec( - java.lang.Iterable values) { - if (workerGroupSpecBuilder_ == null) { - ensureWorkerGroupSpecIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workerGroupSpec_); - onChanged(); - } else { - workerGroupSpecBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder clearWorkerGroupSpec() { - if (workerGroupSpecBuilder_ == null) { - workerGroupSpec_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - workerGroupSpecBuilder_.clear(); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public Builder removeWorkerGroupSpec(int index) { - if (workerGroupSpecBuilder_ == null) { - ensureWorkerGroupSpecIsMutable(); - workerGroupSpec_.remove(index); - onChanged(); - } else { - workerGroupSpecBuilder_.remove(index); - } - return this; - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public flyteidl.plugins.Ray.WorkerGroupSpec.Builder getWorkerGroupSpecBuilder( - int index) { - return getWorkerGroupSpecFieldBuilder().getBuilder(index); - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder getWorkerGroupSpecOrBuilder( - int index) { - if (workerGroupSpecBuilder_ == null) { - return workerGroupSpec_.get(index); } else { - return workerGroupSpecBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public java.util.List - getWorkerGroupSpecOrBuilderList() { - if (workerGroupSpecBuilder_ != null) { - return workerGroupSpecBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(workerGroupSpec_); - } - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public flyteidl.plugins.Ray.WorkerGroupSpec.Builder addWorkerGroupSpecBuilder() { - return getWorkerGroupSpecFieldBuilder().addBuilder( - flyteidl.plugins.Ray.WorkerGroupSpec.getDefaultInstance()); - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public flyteidl.plugins.Ray.WorkerGroupSpec.Builder addWorkerGroupSpecBuilder( - int index) { - return getWorkerGroupSpecFieldBuilder().addBuilder( - index, flyteidl.plugins.Ray.WorkerGroupSpec.getDefaultInstance()); - } - /** - *
-       * WorkerGroupSpecs are the specs for the worker pods
-       * 
- * - * repeated .flyteidl.plugins.WorkerGroupSpec worker_group_spec = 2; - */ - public java.util.List - getWorkerGroupSpecBuilderList() { - return getWorkerGroupSpecFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.plugins.Ray.WorkerGroupSpec, flyteidl.plugins.Ray.WorkerGroupSpec.Builder, flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder> - getWorkerGroupSpecFieldBuilder() { - if (workerGroupSpecBuilder_ == null) { - workerGroupSpecBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - flyteidl.plugins.Ray.WorkerGroupSpec, flyteidl.plugins.Ray.WorkerGroupSpec.Builder, flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder>( - workerGroupSpec_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - workerGroupSpec_ = null; - } - return workerGroupSpecBuilder_; - } - - private boolean enableAutoscaling_ ; - /** - *
-       * Whether to enable autoscaling.
-       * 
- * - * bool enable_autoscaling = 3; - */ - public boolean getEnableAutoscaling() { - return enableAutoscaling_; - } - /** - *
-       * Whether to enable autoscaling.
-       * 
- * - * bool enable_autoscaling = 3; - */ - public Builder setEnableAutoscaling(boolean value) { - - enableAutoscaling_ = value; - onChanged(); - return this; - } - /** - *
-       * Whether to enable autoscaling.
-       * 
- * - * bool enable_autoscaling = 3; - */ - public Builder clearEnableAutoscaling() { - - enableAutoscaling_ = false; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.RayCluster) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.RayCluster) - private static final flyteidl.plugins.Ray.RayCluster DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Ray.RayCluster(); - } - - public static flyteidl.plugins.Ray.RayCluster getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RayCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RayCluster(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.plugins.Ray.RayCluster getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface HeadGroupSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.HeadGroupSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - int getRayStartParamsCount(); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - boolean containsRayStartParams( - java.lang.String key); - /** - * Use {@link #getRayStartParamsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getRayStartParams(); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - java.util.Map - getRayStartParamsMap(); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - - java.lang.String getRayStartParamsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - - java.lang.String getRayStartParamsOrThrow( - java.lang.String key); - } - /** - *
-   * HeadGroupSpec are the spec for the head pod
-   * 
- * - * Protobuf type {@code flyteidl.plugins.HeadGroupSpec} - */ - public static final class HeadGroupSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.HeadGroupSpec) - HeadGroupSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use HeadGroupSpec.newBuilder() to construct. - private HeadGroupSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private HeadGroupSpec() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private HeadGroupSpec( - 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)) { - rayStartParams_ = com.google.protobuf.MapField.newMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - rayStartParams__ = input.readMessage( - RayStartParamsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - rayStartParams_.getMutableMap().put( - rayStartParams__.getKey(), rayStartParams__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_HeadGroupSpec_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetRayStartParams(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_HeadGroupSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.HeadGroupSpec.class, flyteidl.plugins.Ray.HeadGroupSpec.Builder.class); - } - - public static final int RAY_START_PARAMS_FIELD_NUMBER = 1; - private static final class RayStartParamsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.plugins.Ray.internal_static_flyteidl_plugins_HeadGroupSpec_RayStartParamsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> rayStartParams_; - private com.google.protobuf.MapField - internalGetRayStartParams() { - if (rayStartParams_ == null) { - return com.google.protobuf.MapField.emptyMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - } - return rayStartParams_; - } - - public int getRayStartParamsCount() { - return internalGetRayStartParams().getMap().size(); - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - - public boolean containsRayStartParams( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetRayStartParams().getMap().containsKey(key); - } - /** - * Use {@link #getRayStartParamsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getRayStartParams() { - return getRayStartParamsMap(); - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - - public java.util.Map getRayStartParamsMap() { - return internalGetRayStartParams().getMap(); - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - - public java.lang.String getRayStartParamsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 1; - */ - - public java.lang.String getRayStartParamsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetRayStartParams(), - RayStartParamsDefaultEntryHolder.defaultEntry, - 1); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetRayStartParams().getMap().entrySet()) { - com.google.protobuf.MapEntry - rayStartParams__ = RayStartParamsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, rayStartParams__); - } - 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.plugins.Ray.HeadGroupSpec)) { - return super.equals(obj); - } - flyteidl.plugins.Ray.HeadGroupSpec other = (flyteidl.plugins.Ray.HeadGroupSpec) obj; - - if (!internalGetRayStartParams().equals( - other.internalGetRayStartParams())) 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 (!internalGetRayStartParams().getMap().isEmpty()) { - hash = (37 * hash) + RAY_START_PARAMS_FIELD_NUMBER; - hash = (53 * hash) + internalGetRayStartParams().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Ray.HeadGroupSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.HeadGroupSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.HeadGroupSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.HeadGroupSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.HeadGroupSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.HeadGroupSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.HeadGroupSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.HeadGroupSpec 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.plugins.Ray.HeadGroupSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.HeadGroupSpec 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.plugins.Ray.HeadGroupSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.HeadGroupSpec 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.plugins.Ray.HeadGroupSpec 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; - } - /** - *
-     * HeadGroupSpec are the spec for the head pod
-     * 
- * - * Protobuf type {@code flyteidl.plugins.HeadGroupSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.HeadGroupSpec) - flyteidl.plugins.Ray.HeadGroupSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_HeadGroupSpec_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetRayStartParams(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableRayStartParams(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_HeadGroupSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.HeadGroupSpec.class, flyteidl.plugins.Ray.HeadGroupSpec.Builder.class); - } - - // Construct using flyteidl.plugins.Ray.HeadGroupSpec.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(); - internalGetMutableRayStartParams().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_HeadGroupSpec_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Ray.HeadGroupSpec getDefaultInstanceForType() { - return flyteidl.plugins.Ray.HeadGroupSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Ray.HeadGroupSpec build() { - flyteidl.plugins.Ray.HeadGroupSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Ray.HeadGroupSpec buildPartial() { - flyteidl.plugins.Ray.HeadGroupSpec result = new flyteidl.plugins.Ray.HeadGroupSpec(this); - int from_bitField0_ = bitField0_; - result.rayStartParams_ = internalGetRayStartParams(); - result.rayStartParams_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.plugins.Ray.HeadGroupSpec) { - return mergeFrom((flyteidl.plugins.Ray.HeadGroupSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Ray.HeadGroupSpec other) { - if (other == flyteidl.plugins.Ray.HeadGroupSpec.getDefaultInstance()) return this; - internalGetMutableRayStartParams().mergeFrom( - other.internalGetRayStartParams()); - 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.plugins.Ray.HeadGroupSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Ray.HeadGroupSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> rayStartParams_; - private com.google.protobuf.MapField - internalGetRayStartParams() { - if (rayStartParams_ == null) { - return com.google.protobuf.MapField.emptyMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - } - return rayStartParams_; - } - private com.google.protobuf.MapField - internalGetMutableRayStartParams() { - onChanged();; - if (rayStartParams_ == null) { - rayStartParams_ = com.google.protobuf.MapField.newMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - } - if (!rayStartParams_.isMutable()) { - rayStartParams_ = rayStartParams_.copy(); - } - return rayStartParams_; - } - - public int getRayStartParamsCount() { - return internalGetRayStartParams().getMap().size(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 1; - */ - - public boolean containsRayStartParams( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetRayStartParams().getMap().containsKey(key); - } - /** - * Use {@link #getRayStartParamsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getRayStartParams() { - return getRayStartParamsMap(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 1; - */ - - public java.util.Map getRayStartParamsMap() { - return internalGetRayStartParams().getMap(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 1; - */ - - public java.lang.String getRayStartParamsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 1; - */ - - public java.lang.String getRayStartParamsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearRayStartParams() { - internalGetMutableRayStartParams().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 1; - */ - - public Builder removeRayStartParams( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableRayStartParams().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableRayStartParams() { - return internalGetMutableRayStartParams().getMutableMap(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 1; - */ - public Builder putRayStartParams( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableRayStartParams().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 1; - */ - - public Builder putAllRayStartParams( - java.util.Map values) { - internalGetMutableRayStartParams().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.HeadGroupSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.HeadGroupSpec) - private static final flyteidl.plugins.Ray.HeadGroupSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Ray.HeadGroupSpec(); - } - - public static flyteidl.plugins.Ray.HeadGroupSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HeadGroupSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HeadGroupSpec(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.plugins.Ray.HeadGroupSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkerGroupSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.WorkerGroupSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-     * 
- * - * string group_name = 1; - */ - java.lang.String getGroupName(); - /** - *
-     * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-     * 
- * - * string group_name = 1; - */ - com.google.protobuf.ByteString - getGroupNameBytes(); - - /** - *
-     * Required. Desired replicas of the worker group. Defaults to 1.
-     * 
- * - * int32 replicas = 2; - */ - int getReplicas(); - - /** - *
-     * Optional. Min replicas of the worker group. MinReplicas defaults to 1.
-     * 
- * - * int32 min_replicas = 3; - */ - int getMinReplicas(); - - /** - *
-     * Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32
-     * 
- * - * int32 max_replicas = 4; - */ - int getMaxReplicas(); - - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - int getRayStartParamsCount(); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - boolean containsRayStartParams( - java.lang.String key); - /** - * Use {@link #getRayStartParamsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getRayStartParams(); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - java.util.Map - getRayStartParamsMap(); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - - java.lang.String getRayStartParamsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - - java.lang.String getRayStartParamsOrThrow( - java.lang.String key); - } - /** - *
-   * WorkerGroupSpec are the specs for the worker pods
-   * 
- * - * Protobuf type {@code flyteidl.plugins.WorkerGroupSpec} - */ - public static final class WorkerGroupSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.WorkerGroupSpec) - WorkerGroupSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkerGroupSpec.newBuilder() to construct. - private WorkerGroupSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkerGroupSpec() { - groupName_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkerGroupSpec( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - groupName_ = s; - break; - } - case 16: { - - replicas_ = input.readInt32(); - break; - } - case 24: { - - minReplicas_ = input.readInt32(); - break; - } - case 32: { - - maxReplicas_ = input.readInt32(); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - rayStartParams_ = com.google.protobuf.MapField.newMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; - } - com.google.protobuf.MapEntry - rayStartParams__ = input.readMessage( - RayStartParamsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - rayStartParams_.getMutableMap().put( - rayStartParams__.getKey(), rayStartParams__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_WorkerGroupSpec_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 5: - return internalGetRayStartParams(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_WorkerGroupSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.WorkerGroupSpec.class, flyteidl.plugins.Ray.WorkerGroupSpec.Builder.class); - } - - private int bitField0_; - public static final int GROUP_NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object groupName_; - /** - *
-     * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-     * 
- * - * string group_name = 1; - */ - public java.lang.String getGroupName() { - java.lang.Object ref = groupName_; - 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(); - groupName_ = s; - return s; - } - } - /** - *
-     * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-     * 
- * - * string group_name = 1; - */ - public com.google.protobuf.ByteString - getGroupNameBytes() { - java.lang.Object ref = groupName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - groupName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REPLICAS_FIELD_NUMBER = 2; - private int replicas_; - /** - *
-     * Required. Desired replicas of the worker group. Defaults to 1.
-     * 
- * - * int32 replicas = 2; - */ - public int getReplicas() { - return replicas_; - } - - public static final int MIN_REPLICAS_FIELD_NUMBER = 3; - private int minReplicas_; - /** - *
-     * Optional. Min replicas of the worker group. MinReplicas defaults to 1.
-     * 
- * - * int32 min_replicas = 3; - */ - public int getMinReplicas() { - return minReplicas_; - } - - public static final int MAX_REPLICAS_FIELD_NUMBER = 4; - private int maxReplicas_; - /** - *
-     * Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32
-     * 
- * - * int32 max_replicas = 4; - */ - public int getMaxReplicas() { - return maxReplicas_; - } - - public static final int RAY_START_PARAMS_FIELD_NUMBER = 5; - private static final class RayStartParamsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.plugins.Ray.internal_static_flyteidl_plugins_WorkerGroupSpec_RayStartParamsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> rayStartParams_; - private com.google.protobuf.MapField - internalGetRayStartParams() { - if (rayStartParams_ == null) { - return com.google.protobuf.MapField.emptyMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - } - return rayStartParams_; - } - - public int getRayStartParamsCount() { - return internalGetRayStartParams().getMap().size(); - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - - public boolean containsRayStartParams( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetRayStartParams().getMap().containsKey(key); - } - /** - * Use {@link #getRayStartParamsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getRayStartParams() { - return getRayStartParamsMap(); - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - - public java.util.Map getRayStartParamsMap() { - return internalGetRayStartParams().getMap(); - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - - public java.lang.String getRayStartParamsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-     * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-     * 
- * - * map<string, string> ray_start_params = 5; - */ - - public java.lang.String getRayStartParamsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getGroupNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupName_); - } - if (replicas_ != 0) { - output.writeInt32(2, replicas_); - } - if (minReplicas_ != 0) { - output.writeInt32(3, minReplicas_); - } - if (maxReplicas_ != 0) { - output.writeInt32(4, maxReplicas_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetRayStartParams(), - RayStartParamsDefaultEntryHolder.defaultEntry, - 5); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getGroupNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupName_); - } - if (replicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, replicas_); - } - if (minReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, minReplicas_); - } - if (maxReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, maxReplicas_); - } - for (java.util.Map.Entry entry - : internalGetRayStartParams().getMap().entrySet()) { - com.google.protobuf.MapEntry - rayStartParams__ = RayStartParamsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, rayStartParams__); - } - 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.plugins.Ray.WorkerGroupSpec)) { - return super.equals(obj); - } - flyteidl.plugins.Ray.WorkerGroupSpec other = (flyteidl.plugins.Ray.WorkerGroupSpec) obj; - - if (!getGroupName() - .equals(other.getGroupName())) return false; - if (getReplicas() - != other.getReplicas()) return false; - if (getMinReplicas() - != other.getMinReplicas()) return false; - if (getMaxReplicas() - != other.getMaxReplicas()) return false; - if (!internalGetRayStartParams().equals( - other.internalGetRayStartParams())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + GROUP_NAME_FIELD_NUMBER; - hash = (53 * hash) + getGroupName().hashCode(); - hash = (37 * hash) + REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getReplicas(); - hash = (37 * hash) + MIN_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getMinReplicas(); - hash = (37 * hash) + MAX_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getMaxReplicas(); - if (!internalGetRayStartParams().getMap().isEmpty()) { - hash = (37 * hash) + RAY_START_PARAMS_FIELD_NUMBER; - hash = (53 * hash) + internalGetRayStartParams().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Ray.WorkerGroupSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec 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.plugins.Ray.WorkerGroupSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec 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.plugins.Ray.WorkerGroupSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Ray.WorkerGroupSpec 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.plugins.Ray.WorkerGroupSpec 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; - } - /** - *
-     * WorkerGroupSpec are the specs for the worker pods
-     * 
- * - * Protobuf type {@code flyteidl.plugins.WorkerGroupSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.WorkerGroupSpec) - flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_WorkerGroupSpec_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 5: - return internalGetRayStartParams(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 5: - return internalGetMutableRayStartParams(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_WorkerGroupSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Ray.WorkerGroupSpec.class, flyteidl.plugins.Ray.WorkerGroupSpec.Builder.class); - } - - // Construct using flyteidl.plugins.Ray.WorkerGroupSpec.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(); - groupName_ = ""; - - replicas_ = 0; - - minReplicas_ = 0; - - maxReplicas_ = 0; - - internalGetMutableRayStartParams().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Ray.internal_static_flyteidl_plugins_WorkerGroupSpec_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Ray.WorkerGroupSpec getDefaultInstanceForType() { - return flyteidl.plugins.Ray.WorkerGroupSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Ray.WorkerGroupSpec build() { - flyteidl.plugins.Ray.WorkerGroupSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Ray.WorkerGroupSpec buildPartial() { - flyteidl.plugins.Ray.WorkerGroupSpec result = new flyteidl.plugins.Ray.WorkerGroupSpec(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.groupName_ = groupName_; - result.replicas_ = replicas_; - result.minReplicas_ = minReplicas_; - result.maxReplicas_ = maxReplicas_; - result.rayStartParams_ = internalGetRayStartParams(); - result.rayStartParams_.makeImmutable(); - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.plugins.Ray.WorkerGroupSpec) { - return mergeFrom((flyteidl.plugins.Ray.WorkerGroupSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Ray.WorkerGroupSpec other) { - if (other == flyteidl.plugins.Ray.WorkerGroupSpec.getDefaultInstance()) return this; - if (!other.getGroupName().isEmpty()) { - groupName_ = other.groupName_; - onChanged(); - } - if (other.getReplicas() != 0) { - setReplicas(other.getReplicas()); - } - if (other.getMinReplicas() != 0) { - setMinReplicas(other.getMinReplicas()); - } - if (other.getMaxReplicas() != 0) { - setMaxReplicas(other.getMaxReplicas()); - } - internalGetMutableRayStartParams().mergeFrom( - other.internalGetRayStartParams()); - 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.plugins.Ray.WorkerGroupSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Ray.WorkerGroupSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object groupName_ = ""; - /** - *
-       * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-       * 
- * - * string group_name = 1; - */ - public java.lang.String getGroupName() { - java.lang.Object ref = groupName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - groupName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-       * 
- * - * string group_name = 1; - */ - public com.google.protobuf.ByteString - getGroupNameBytes() { - java.lang.Object ref = groupName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - groupName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-       * 
- * - * string group_name = 1; - */ - public Builder setGroupName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - groupName_ = value; - onChanged(); - return this; - } - /** - *
-       * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-       * 
- * - * string group_name = 1; - */ - public Builder clearGroupName() { - - groupName_ = getDefaultInstance().getGroupName(); - onChanged(); - return this; - } - /** - *
-       * Required. RayCluster can have multiple worker groups, and it distinguishes them by name
-       * 
- * - * string group_name = 1; - */ - public Builder setGroupNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - groupName_ = value; - onChanged(); - return this; - } - - private int replicas_ ; - /** - *
-       * Required. Desired replicas of the worker group. Defaults to 1.
-       * 
- * - * int32 replicas = 2; - */ - public int getReplicas() { - return replicas_; - } - /** - *
-       * Required. Desired replicas of the worker group. Defaults to 1.
-       * 
- * - * int32 replicas = 2; - */ - public Builder setReplicas(int value) { - - replicas_ = value; - onChanged(); - return this; - } - /** - *
-       * Required. Desired replicas of the worker group. Defaults to 1.
-       * 
- * - * int32 replicas = 2; - */ - public Builder clearReplicas() { - - replicas_ = 0; - onChanged(); - return this; - } - - private int minReplicas_ ; - /** - *
-       * Optional. Min replicas of the worker group. MinReplicas defaults to 1.
-       * 
- * - * int32 min_replicas = 3; - */ - public int getMinReplicas() { - return minReplicas_; - } - /** - *
-       * Optional. Min replicas of the worker group. MinReplicas defaults to 1.
-       * 
- * - * int32 min_replicas = 3; - */ - public Builder setMinReplicas(int value) { - - minReplicas_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional. Min replicas of the worker group. MinReplicas defaults to 1.
-       * 
- * - * int32 min_replicas = 3; - */ - public Builder clearMinReplicas() { - - minReplicas_ = 0; - onChanged(); - return this; - } - - private int maxReplicas_ ; - /** - *
-       * Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32
-       * 
- * - * int32 max_replicas = 4; - */ - public int getMaxReplicas() { - return maxReplicas_; - } - /** - *
-       * Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32
-       * 
- * - * int32 max_replicas = 4; - */ - public Builder setMaxReplicas(int value) { - - maxReplicas_ = value; - onChanged(); - return this; - } - /** - *
-       * Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32
-       * 
- * - * int32 max_replicas = 4; - */ - public Builder clearMaxReplicas() { - - maxReplicas_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> rayStartParams_; - private com.google.protobuf.MapField - internalGetRayStartParams() { - if (rayStartParams_ == null) { - return com.google.protobuf.MapField.emptyMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - } - return rayStartParams_; - } - private com.google.protobuf.MapField - internalGetMutableRayStartParams() { - onChanged();; - if (rayStartParams_ == null) { - rayStartParams_ = com.google.protobuf.MapField.newMapField( - RayStartParamsDefaultEntryHolder.defaultEntry); - } - if (!rayStartParams_.isMutable()) { - rayStartParams_ = rayStartParams_.copy(); - } - return rayStartParams_; - } - - public int getRayStartParamsCount() { - return internalGetRayStartParams().getMap().size(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 5; - */ - - public boolean containsRayStartParams( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetRayStartParams().getMap().containsKey(key); - } - /** - * Use {@link #getRayStartParamsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getRayStartParams() { - return getRayStartParamsMap(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 5; - */ - - public java.util.Map getRayStartParamsMap() { - return internalGetRayStartParams().getMap(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 5; - */ - - public java.lang.String getRayStartParamsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 5; - */ - - public java.lang.String getRayStartParamsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetRayStartParams().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearRayStartParams() { - internalGetMutableRayStartParams().getMutableMap() - .clear(); - return this; - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 5; - */ - - public Builder removeRayStartParams( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableRayStartParams().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableRayStartParams() { - return internalGetMutableRayStartParams().getMutableMap(); - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 5; - */ - public Builder putRayStartParams( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableRayStartParams().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * Optional. RayStartParams are the params of the start command: address, object-store-memory.
-       * Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
-       * 
- * - * map<string, string> ray_start_params = 5; - */ - - public Builder putAllRayStartParams( - java.util.Map values) { - internalGetMutableRayStartParams().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.WorkerGroupSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.WorkerGroupSpec) - private static final flyteidl.plugins.Ray.WorkerGroupSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Ray.WorkerGroupSpec(); - } - - public static flyteidl.plugins.Ray.WorkerGroupSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkerGroupSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkerGroupSpec(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.plugins.Ray.WorkerGroupSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_RayJob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_RayJob_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_RayCluster_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_RayCluster_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_HeadGroupSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_HeadGroupSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_HeadGroupSpec_RayStartParamsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_HeadGroupSpec_RayStartParamsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_WorkerGroupSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_WorkerGroupSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_WorkerGroupSpec_RayStartParamsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_WorkerGroupSpec_RayStartParamsEntry_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\032flyteidl/plugins/ray.proto\022\020flyteidl.p" + - "lugins\"\231\001\n\006RayJob\0221\n\013ray_cluster\030\001 \001(\0132\034" + - ".flyteidl.plugins.RayCluster\022\023\n\013runtime_" + - "env\030\002 \001(\t\022#\n\033shutdown_after_job_finishes" + - "\030\003 \001(\010\022\"\n\032ttl_seconds_after_finished\030\004 \001" + - "(\005\"\240\001\n\nRayCluster\0228\n\017head_group_spec\030\001 \001" + - "(\0132\037.flyteidl.plugins.HeadGroupSpec\022<\n\021w" + - "orker_group_spec\030\002 \003(\0132!.flyteidl.plugin" + - "s.WorkerGroupSpec\022\032\n\022enable_autoscaling\030" + - "\003 \001(\010\"\225\001\n\rHeadGroupSpec\022M\n\020ray_start_par" + - "ams\030\001 \003(\01323.flyteidl.plugins.HeadGroupSp" + - "ec.RayStartParamsEntry\0325\n\023RayStartParams" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\353\001" + - "\n\017WorkerGroupSpec\022\022\n\ngroup_name\030\001 \001(\t\022\020\n" + - "\010replicas\030\002 \001(\005\022\024\n\014min_replicas\030\003 \001(\005\022\024\n" + - "\014max_replicas\030\004 \001(\005\022O\n\020ray_start_params\030" + - "\005 \003(\01325.flyteidl.plugins.WorkerGroupSpec" + - ".RayStartParamsEntry\0325\n\023RayStartParamsEn" + - "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B?Z=g" + - "ithub.com/flyteorg/flyte/flyteidl/gen/pb" + - "-go/flyteidl/pluginsb\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[] { - }, assigner); - internal_static_flyteidl_plugins_RayJob_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_RayJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_RayJob_descriptor, - new java.lang.String[] { "RayCluster", "RuntimeEnv", "ShutdownAfterJobFinishes", "TtlSecondsAfterFinished", }); - internal_static_flyteidl_plugins_RayCluster_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_RayCluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_RayCluster_descriptor, - new java.lang.String[] { "HeadGroupSpec", "WorkerGroupSpec", "EnableAutoscaling", }); - internal_static_flyteidl_plugins_HeadGroupSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_plugins_HeadGroupSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_HeadGroupSpec_descriptor, - new java.lang.String[] { "RayStartParams", }); - internal_static_flyteidl_plugins_HeadGroupSpec_RayStartParamsEntry_descriptor = - internal_static_flyteidl_plugins_HeadGroupSpec_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_plugins_HeadGroupSpec_RayStartParamsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_HeadGroupSpec_RayStartParamsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_plugins_WorkerGroupSpec_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_plugins_WorkerGroupSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_WorkerGroupSpec_descriptor, - new java.lang.String[] { "GroupName", "Replicas", "MinReplicas", "MaxReplicas", "RayStartParams", }); - internal_static_flyteidl_plugins_WorkerGroupSpec_RayStartParamsEntry_descriptor = - internal_static_flyteidl_plugins_WorkerGroupSpec_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_plugins_WorkerGroupSpec_RayStartParamsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_WorkerGroupSpec_RayStartParamsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Spark.java b/flyteidl/gen/pb-java/flyteidl/plugins/Spark.java deleted file mode 100644 index bd236e10eb..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Spark.java +++ /dev/null @@ -1,2818 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/spark.proto - -package flyteidl.plugins; - -public final class Spark { - private Spark() {} - 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 SparkApplicationOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.SparkApplication) - com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code flyteidl.plugins.SparkApplication} - */ - public static final class SparkApplication extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.SparkApplication) - SparkApplicationOrBuilder { - private static final long serialVersionUID = 0L; - // Use SparkApplication.newBuilder() to construct. - private SparkApplication(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SparkApplication() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SparkApplication( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkApplication_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkApplication_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Spark.SparkApplication.class, flyteidl.plugins.Spark.SparkApplication.Builder.class); - } - - /** - * Protobuf enum {@code flyteidl.plugins.SparkApplication.Type} - */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { - /** - * PYTHON = 0; - */ - PYTHON(0), - /** - * JAVA = 1; - */ - JAVA(1), - /** - * SCALA = 2; - */ - SCALA(2), - /** - * R = 3; - */ - R(3), - UNRECOGNIZED(-1), - ; - - /** - * PYTHON = 0; - */ - public static final int PYTHON_VALUE = 0; - /** - * JAVA = 1; - */ - public static final int JAVA_VALUE = 1; - /** - * SCALA = 2; - */ - public static final int SCALA_VALUE = 2; - /** - * R = 3; - */ - public static final int R_VALUE = 3; - - - 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 Type valueOf(int value) { - return forNumber(value); - } - - public static Type forNumber(int value) { - switch (value) { - case 0: return PYTHON; - case 1: return JAVA; - case 2: return SCALA; - case 3: return R; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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.plugins.Spark.SparkApplication.getDescriptor().getEnumTypes().get(0); - } - - private static final Type[] VALUES = values(); - - public static Type 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 Type(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.plugins.SparkApplication.Type) - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.plugins.Spark.SparkApplication)) { - return super.equals(obj); - } - flyteidl.plugins.Spark.SparkApplication other = (flyteidl.plugins.Spark.SparkApplication) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Spark.SparkApplication parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Spark.SparkApplication parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Spark.SparkApplication parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Spark.SparkApplication parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Spark.SparkApplication parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Spark.SparkApplication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Spark.SparkApplication parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Spark.SparkApplication 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.plugins.Spark.SparkApplication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Spark.SparkApplication 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.plugins.Spark.SparkApplication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Spark.SparkApplication 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.plugins.Spark.SparkApplication 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.plugins.SparkApplication} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.SparkApplication) - flyteidl.plugins.Spark.SparkApplicationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkApplication_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkApplication_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Spark.SparkApplication.class, flyteidl.plugins.Spark.SparkApplication.Builder.class); - } - - // Construct using flyteidl.plugins.Spark.SparkApplication.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkApplication_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Spark.SparkApplication getDefaultInstanceForType() { - return flyteidl.plugins.Spark.SparkApplication.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Spark.SparkApplication build() { - flyteidl.plugins.Spark.SparkApplication result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Spark.SparkApplication buildPartial() { - flyteidl.plugins.Spark.SparkApplication result = new flyteidl.plugins.Spark.SparkApplication(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.plugins.Spark.SparkApplication) { - return mergeFrom((flyteidl.plugins.Spark.SparkApplication)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Spark.SparkApplication other) { - if (other == flyteidl.plugins.Spark.SparkApplication.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.plugins.Spark.SparkApplication parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Spark.SparkApplication) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.SparkApplication) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.SparkApplication) - private static final flyteidl.plugins.Spark.SparkApplication DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Spark.SparkApplication(); - } - - public static flyteidl.plugins.Spark.SparkApplication getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SparkApplication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SparkApplication(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.plugins.Spark.SparkApplication getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SparkJobOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.SparkJob) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - int getApplicationTypeValue(); - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - flyteidl.plugins.Spark.SparkApplication.Type getApplicationType(); - - /** - * string mainApplicationFile = 2; - */ - java.lang.String getMainApplicationFile(); - /** - * string mainApplicationFile = 2; - */ - com.google.protobuf.ByteString - getMainApplicationFileBytes(); - - /** - * string mainClass = 3; - */ - java.lang.String getMainClass(); - /** - * string mainClass = 3; - */ - com.google.protobuf.ByteString - getMainClassBytes(); - - /** - * map<string, string> sparkConf = 4; - */ - int getSparkConfCount(); - /** - * map<string, string> sparkConf = 4; - */ - boolean containsSparkConf( - java.lang.String key); - /** - * Use {@link #getSparkConfMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getSparkConf(); - /** - * map<string, string> sparkConf = 4; - */ - java.util.Map - getSparkConfMap(); - /** - * map<string, string> sparkConf = 4; - */ - - java.lang.String getSparkConfOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - * map<string, string> sparkConf = 4; - */ - - java.lang.String getSparkConfOrThrow( - java.lang.String key); - - /** - * map<string, string> hadoopConf = 5; - */ - int getHadoopConfCount(); - /** - * map<string, string> hadoopConf = 5; - */ - boolean containsHadoopConf( - java.lang.String key); - /** - * Use {@link #getHadoopConfMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getHadoopConf(); - /** - * map<string, string> hadoopConf = 5; - */ - java.util.Map - getHadoopConfMap(); - /** - * map<string, string> hadoopConf = 5; - */ - - java.lang.String getHadoopConfOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - * map<string, string> hadoopConf = 5; - */ - - java.lang.String getHadoopConfOrThrow( - java.lang.String key); - - /** - *
-     * Executor path for Python jobs.
-     * 
- * - * string executorPath = 6; - */ - java.lang.String getExecutorPath(); - /** - *
-     * Executor path for Python jobs.
-     * 
- * - * string executorPath = 6; - */ - com.google.protobuf.ByteString - getExecutorPathBytes(); - - /** - *
-     * Databricks job configuration.
-     * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-     * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - boolean hasDatabricksConf(); - /** - *
-     * Databricks job configuration.
-     * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-     * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - com.google.protobuf.Struct getDatabricksConf(); - /** - *
-     * Databricks job configuration.
-     * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-     * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - com.google.protobuf.StructOrBuilder getDatabricksConfOrBuilder(); - - /** - *
-     * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-     * This token can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksToken = 8; - */ - java.lang.String getDatabricksToken(); - /** - *
-     * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-     * This token can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksToken = 8; - */ - com.google.protobuf.ByteString - getDatabricksTokenBytes(); - - /** - *
-     * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-     * This instance name can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksInstance = 9; - */ - java.lang.String getDatabricksInstance(); - /** - *
-     * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-     * This instance name can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksInstance = 9; - */ - com.google.protobuf.ByteString - getDatabricksInstanceBytes(); - } - /** - *
-   * Custom Proto for Spark Plugin.
-   * 
- * - * Protobuf type {@code flyteidl.plugins.SparkJob} - */ - public static final class SparkJob extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.SparkJob) - SparkJobOrBuilder { - private static final long serialVersionUID = 0L; - // Use SparkJob.newBuilder() to construct. - private SparkJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SparkJob() { - applicationType_ = 0; - mainApplicationFile_ = ""; - mainClass_ = ""; - executorPath_ = ""; - databricksToken_ = ""; - databricksInstance_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SparkJob( - 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(); - - applicationType_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - mainApplicationFile_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - mainClass_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - sparkConf_ = com.google.protobuf.MapField.newMapField( - SparkConfDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; - } - com.google.protobuf.MapEntry - sparkConf__ = input.readMessage( - SparkConfDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - sparkConf_.getMutableMap().put( - sparkConf__.getKey(), sparkConf__.getValue()); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - hadoopConf_ = com.google.protobuf.MapField.newMapField( - HadoopConfDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; - } - com.google.protobuf.MapEntry - hadoopConf__ = input.readMessage( - HadoopConfDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - hadoopConf_.getMutableMap().put( - hadoopConf__.getKey(), hadoopConf__.getValue()); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - executorPath_ = s; - break; - } - case 58: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (databricksConf_ != null) { - subBuilder = databricksConf_.toBuilder(); - } - databricksConf_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databricksConf_); - databricksConf_ = subBuilder.buildPartial(); - } - - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - databricksToken_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - databricksInstance_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkJob_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 4: - return internalGetSparkConf(); - case 5: - return internalGetHadoopConf(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Spark.SparkJob.class, flyteidl.plugins.Spark.SparkJob.Builder.class); - } - - private int bitField0_; - public static final int APPLICATIONTYPE_FIELD_NUMBER = 1; - private int applicationType_; - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - public int getApplicationTypeValue() { - return applicationType_; - } - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - public flyteidl.plugins.Spark.SparkApplication.Type getApplicationType() { - @SuppressWarnings("deprecation") - flyteidl.plugins.Spark.SparkApplication.Type result = flyteidl.plugins.Spark.SparkApplication.Type.valueOf(applicationType_); - return result == null ? flyteidl.plugins.Spark.SparkApplication.Type.UNRECOGNIZED : result; - } - - public static final int MAINAPPLICATIONFILE_FIELD_NUMBER = 2; - private volatile java.lang.Object mainApplicationFile_; - /** - * string mainApplicationFile = 2; - */ - public java.lang.String getMainApplicationFile() { - java.lang.Object ref = mainApplicationFile_; - 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(); - mainApplicationFile_ = s; - return s; - } - } - /** - * string mainApplicationFile = 2; - */ - public com.google.protobuf.ByteString - getMainApplicationFileBytes() { - java.lang.Object ref = mainApplicationFile_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - mainApplicationFile_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MAINCLASS_FIELD_NUMBER = 3; - private volatile java.lang.Object mainClass_; - /** - * string mainClass = 3; - */ - public java.lang.String getMainClass() { - java.lang.Object ref = mainClass_; - 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(); - mainClass_ = s; - return s; - } - } - /** - * string mainClass = 3; - */ - public com.google.protobuf.ByteString - getMainClassBytes() { - java.lang.Object ref = mainClass_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - mainClass_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SPARKCONF_FIELD_NUMBER = 4; - private static final class SparkConfDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkJob_SparkConfEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> sparkConf_; - private com.google.protobuf.MapField - internalGetSparkConf() { - if (sparkConf_ == null) { - return com.google.protobuf.MapField.emptyMapField( - SparkConfDefaultEntryHolder.defaultEntry); - } - return sparkConf_; - } - - public int getSparkConfCount() { - return internalGetSparkConf().getMap().size(); - } - /** - * map<string, string> sparkConf = 4; - */ - - public boolean containsSparkConf( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetSparkConf().getMap().containsKey(key); - } - /** - * Use {@link #getSparkConfMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getSparkConf() { - return getSparkConfMap(); - } - /** - * map<string, string> sparkConf = 4; - */ - - public java.util.Map getSparkConfMap() { - return internalGetSparkConf().getMap(); - } - /** - * map<string, string> sparkConf = 4; - */ - - public java.lang.String getSparkConfOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSparkConf().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> sparkConf = 4; - */ - - public java.lang.String getSparkConfOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSparkConf().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int HADOOPCONF_FIELD_NUMBER = 5; - private static final class HadoopConfDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkJob_HadoopConfEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> hadoopConf_; - private com.google.protobuf.MapField - internalGetHadoopConf() { - if (hadoopConf_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HadoopConfDefaultEntryHolder.defaultEntry); - } - return hadoopConf_; - } - - public int getHadoopConfCount() { - return internalGetHadoopConf().getMap().size(); - } - /** - * map<string, string> hadoopConf = 5; - */ - - public boolean containsHadoopConf( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetHadoopConf().getMap().containsKey(key); - } - /** - * Use {@link #getHadoopConfMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getHadoopConf() { - return getHadoopConfMap(); - } - /** - * map<string, string> hadoopConf = 5; - */ - - public java.util.Map getHadoopConfMap() { - return internalGetHadoopConf().getMap(); - } - /** - * map<string, string> hadoopConf = 5; - */ - - public java.lang.String getHadoopConfOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetHadoopConf().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> hadoopConf = 5; - */ - - public java.lang.String getHadoopConfOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetHadoopConf().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int EXECUTORPATH_FIELD_NUMBER = 6; - private volatile java.lang.Object executorPath_; - /** - *
-     * Executor path for Python jobs.
-     * 
- * - * string executorPath = 6; - */ - public java.lang.String getExecutorPath() { - java.lang.Object ref = executorPath_; - 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(); - executorPath_ = s; - return s; - } - } - /** - *
-     * Executor path for Python jobs.
-     * 
- * - * string executorPath = 6; - */ - public com.google.protobuf.ByteString - getExecutorPathBytes() { - java.lang.Object ref = executorPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - executorPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATABRICKSCONF_FIELD_NUMBER = 7; - private com.google.protobuf.Struct databricksConf_; - /** - *
-     * Databricks job configuration.
-     * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-     * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public boolean hasDatabricksConf() { - return databricksConf_ != null; - } - /** - *
-     * Databricks job configuration.
-     * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-     * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public com.google.protobuf.Struct getDatabricksConf() { - return databricksConf_ == null ? com.google.protobuf.Struct.getDefaultInstance() : databricksConf_; - } - /** - *
-     * Databricks job configuration.
-     * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-     * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public com.google.protobuf.StructOrBuilder getDatabricksConfOrBuilder() { - return getDatabricksConf(); - } - - public static final int DATABRICKSTOKEN_FIELD_NUMBER = 8; - private volatile java.lang.Object databricksToken_; - /** - *
-     * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-     * This token can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksToken = 8; - */ - public java.lang.String getDatabricksToken() { - java.lang.Object ref = databricksToken_; - 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(); - databricksToken_ = s; - return s; - } - } - /** - *
-     * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-     * This token can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksToken = 8; - */ - public com.google.protobuf.ByteString - getDatabricksTokenBytes() { - java.lang.Object ref = databricksToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - databricksToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATABRICKSINSTANCE_FIELD_NUMBER = 9; - private volatile java.lang.Object databricksInstance_; - /** - *
-     * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-     * This instance name can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksInstance = 9; - */ - public java.lang.String getDatabricksInstance() { - java.lang.Object ref = databricksInstance_; - 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(); - databricksInstance_ = s; - return s; - } - } - /** - *
-     * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-     * This instance name can be set in either flytepropeller or flytekit.
-     * 
- * - * string databricksInstance = 9; - */ - public com.google.protobuf.ByteString - getDatabricksInstanceBytes() { - java.lang.Object ref = databricksInstance_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - databricksInstance_ = 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 (applicationType_ != flyteidl.plugins.Spark.SparkApplication.Type.PYTHON.getNumber()) { - output.writeEnum(1, applicationType_); - } - if (!getMainApplicationFileBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mainApplicationFile_); - } - if (!getMainClassBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, mainClass_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetSparkConf(), - SparkConfDefaultEntryHolder.defaultEntry, - 4); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHadoopConf(), - HadoopConfDefaultEntryHolder.defaultEntry, - 5); - if (!getExecutorPathBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, executorPath_); - } - if (databricksConf_ != null) { - output.writeMessage(7, getDatabricksConf()); - } - if (!getDatabricksTokenBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, databricksToken_); - } - if (!getDatabricksInstanceBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, databricksInstance_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (applicationType_ != flyteidl.plugins.Spark.SparkApplication.Type.PYTHON.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, applicationType_); - } - if (!getMainApplicationFileBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mainApplicationFile_); - } - if (!getMainClassBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mainClass_); - } - for (java.util.Map.Entry entry - : internalGetSparkConf().getMap().entrySet()) { - com.google.protobuf.MapEntry - sparkConf__ = SparkConfDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, sparkConf__); - } - for (java.util.Map.Entry entry - : internalGetHadoopConf().getMap().entrySet()) { - com.google.protobuf.MapEntry - hadoopConf__ = HadoopConfDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, hadoopConf__); - } - if (!getExecutorPathBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, executorPath_); - } - if (databricksConf_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getDatabricksConf()); - } - if (!getDatabricksTokenBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, databricksToken_); - } - if (!getDatabricksInstanceBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databricksInstance_); - } - 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.plugins.Spark.SparkJob)) { - return super.equals(obj); - } - flyteidl.plugins.Spark.SparkJob other = (flyteidl.plugins.Spark.SparkJob) obj; - - if (applicationType_ != other.applicationType_) return false; - if (!getMainApplicationFile() - .equals(other.getMainApplicationFile())) return false; - if (!getMainClass() - .equals(other.getMainClass())) return false; - if (!internalGetSparkConf().equals( - other.internalGetSparkConf())) return false; - if (!internalGetHadoopConf().equals( - other.internalGetHadoopConf())) return false; - if (!getExecutorPath() - .equals(other.getExecutorPath())) return false; - if (hasDatabricksConf() != other.hasDatabricksConf()) return false; - if (hasDatabricksConf()) { - if (!getDatabricksConf() - .equals(other.getDatabricksConf())) return false; - } - if (!getDatabricksToken() - .equals(other.getDatabricksToken())) return false; - if (!getDatabricksInstance() - .equals(other.getDatabricksInstance())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + APPLICATIONTYPE_FIELD_NUMBER; - hash = (53 * hash) + applicationType_; - hash = (37 * hash) + MAINAPPLICATIONFILE_FIELD_NUMBER; - hash = (53 * hash) + getMainApplicationFile().hashCode(); - hash = (37 * hash) + MAINCLASS_FIELD_NUMBER; - hash = (53 * hash) + getMainClass().hashCode(); - if (!internalGetSparkConf().getMap().isEmpty()) { - hash = (37 * hash) + SPARKCONF_FIELD_NUMBER; - hash = (53 * hash) + internalGetSparkConf().hashCode(); - } - if (!internalGetHadoopConf().getMap().isEmpty()) { - hash = (37 * hash) + HADOOPCONF_FIELD_NUMBER; - hash = (53 * hash) + internalGetHadoopConf().hashCode(); - } - hash = (37 * hash) + EXECUTORPATH_FIELD_NUMBER; - hash = (53 * hash) + getExecutorPath().hashCode(); - if (hasDatabricksConf()) { - hash = (37 * hash) + DATABRICKSCONF_FIELD_NUMBER; - hash = (53 * hash) + getDatabricksConf().hashCode(); - } - hash = (37 * hash) + DATABRICKSTOKEN_FIELD_NUMBER; - hash = (53 * hash) + getDatabricksToken().hashCode(); - hash = (37 * hash) + DATABRICKSINSTANCE_FIELD_NUMBER; - hash = (53 * hash) + getDatabricksInstance().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Spark.SparkJob parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Spark.SparkJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Spark.SparkJob parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Spark.SparkJob parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Spark.SparkJob parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Spark.SparkJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Spark.SparkJob parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Spark.SparkJob 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.plugins.Spark.SparkJob parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Spark.SparkJob 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.plugins.Spark.SparkJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Spark.SparkJob 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.plugins.Spark.SparkJob 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; - } - /** - *
-     * Custom Proto for Spark Plugin.
-     * 
- * - * Protobuf type {@code flyteidl.plugins.SparkJob} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.SparkJob) - flyteidl.plugins.Spark.SparkJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkJob_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 4: - return internalGetSparkConf(); - case 5: - return internalGetHadoopConf(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 4: - return internalGetMutableSparkConf(); - case 5: - return internalGetMutableHadoopConf(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkJob_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Spark.SparkJob.class, flyteidl.plugins.Spark.SparkJob.Builder.class); - } - - // Construct using flyteidl.plugins.Spark.SparkJob.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(); - applicationType_ = 0; - - mainApplicationFile_ = ""; - - mainClass_ = ""; - - internalGetMutableSparkConf().clear(); - internalGetMutableHadoopConf().clear(); - executorPath_ = ""; - - if (databricksConfBuilder_ == null) { - databricksConf_ = null; - } else { - databricksConf_ = null; - databricksConfBuilder_ = null; - } - databricksToken_ = ""; - - databricksInstance_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Spark.internal_static_flyteidl_plugins_SparkJob_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Spark.SparkJob getDefaultInstanceForType() { - return flyteidl.plugins.Spark.SparkJob.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Spark.SparkJob build() { - flyteidl.plugins.Spark.SparkJob result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Spark.SparkJob buildPartial() { - flyteidl.plugins.Spark.SparkJob result = new flyteidl.plugins.Spark.SparkJob(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.applicationType_ = applicationType_; - result.mainApplicationFile_ = mainApplicationFile_; - result.mainClass_ = mainClass_; - result.sparkConf_ = internalGetSparkConf(); - result.sparkConf_.makeImmutable(); - result.hadoopConf_ = internalGetHadoopConf(); - result.hadoopConf_.makeImmutable(); - result.executorPath_ = executorPath_; - if (databricksConfBuilder_ == null) { - result.databricksConf_ = databricksConf_; - } else { - result.databricksConf_ = databricksConfBuilder_.build(); - } - result.databricksToken_ = databricksToken_; - result.databricksInstance_ = databricksInstance_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.plugins.Spark.SparkJob) { - return mergeFrom((flyteidl.plugins.Spark.SparkJob)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Spark.SparkJob other) { - if (other == flyteidl.plugins.Spark.SparkJob.getDefaultInstance()) return this; - if (other.applicationType_ != 0) { - setApplicationTypeValue(other.getApplicationTypeValue()); - } - if (!other.getMainApplicationFile().isEmpty()) { - mainApplicationFile_ = other.mainApplicationFile_; - onChanged(); - } - if (!other.getMainClass().isEmpty()) { - mainClass_ = other.mainClass_; - onChanged(); - } - internalGetMutableSparkConf().mergeFrom( - other.internalGetSparkConf()); - internalGetMutableHadoopConf().mergeFrom( - other.internalGetHadoopConf()); - if (!other.getExecutorPath().isEmpty()) { - executorPath_ = other.executorPath_; - onChanged(); - } - if (other.hasDatabricksConf()) { - mergeDatabricksConf(other.getDatabricksConf()); - } - if (!other.getDatabricksToken().isEmpty()) { - databricksToken_ = other.databricksToken_; - onChanged(); - } - if (!other.getDatabricksInstance().isEmpty()) { - databricksInstance_ = other.databricksInstance_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.plugins.Spark.SparkJob parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Spark.SparkJob) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private int applicationType_ = 0; - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - public int getApplicationTypeValue() { - return applicationType_; - } - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - public Builder setApplicationTypeValue(int value) { - applicationType_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - public flyteidl.plugins.Spark.SparkApplication.Type getApplicationType() { - @SuppressWarnings("deprecation") - flyteidl.plugins.Spark.SparkApplication.Type result = flyteidl.plugins.Spark.SparkApplication.Type.valueOf(applicationType_); - return result == null ? flyteidl.plugins.Spark.SparkApplication.Type.UNRECOGNIZED : result; - } - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - public Builder setApplicationType(flyteidl.plugins.Spark.SparkApplication.Type value) { - if (value == null) { - throw new NullPointerException(); - } - - applicationType_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.plugins.SparkApplication.Type applicationType = 1; - */ - public Builder clearApplicationType() { - - applicationType_ = 0; - onChanged(); - return this; - } - - private java.lang.Object mainApplicationFile_ = ""; - /** - * string mainApplicationFile = 2; - */ - public java.lang.String getMainApplicationFile() { - java.lang.Object ref = mainApplicationFile_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - mainApplicationFile_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string mainApplicationFile = 2; - */ - public com.google.protobuf.ByteString - getMainApplicationFileBytes() { - java.lang.Object ref = mainApplicationFile_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - mainApplicationFile_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string mainApplicationFile = 2; - */ - public Builder setMainApplicationFile( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - mainApplicationFile_ = value; - onChanged(); - return this; - } - /** - * string mainApplicationFile = 2; - */ - public Builder clearMainApplicationFile() { - - mainApplicationFile_ = getDefaultInstance().getMainApplicationFile(); - onChanged(); - return this; - } - /** - * string mainApplicationFile = 2; - */ - public Builder setMainApplicationFileBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - mainApplicationFile_ = value; - onChanged(); - return this; - } - - private java.lang.Object mainClass_ = ""; - /** - * string mainClass = 3; - */ - public java.lang.String getMainClass() { - java.lang.Object ref = mainClass_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - mainClass_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string mainClass = 3; - */ - public com.google.protobuf.ByteString - getMainClassBytes() { - java.lang.Object ref = mainClass_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - mainClass_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string mainClass = 3; - */ - public Builder setMainClass( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - mainClass_ = value; - onChanged(); - return this; - } - /** - * string mainClass = 3; - */ - public Builder clearMainClass() { - - mainClass_ = getDefaultInstance().getMainClass(); - onChanged(); - return this; - } - /** - * string mainClass = 3; - */ - public Builder setMainClassBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - mainClass_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> sparkConf_; - private com.google.protobuf.MapField - internalGetSparkConf() { - if (sparkConf_ == null) { - return com.google.protobuf.MapField.emptyMapField( - SparkConfDefaultEntryHolder.defaultEntry); - } - return sparkConf_; - } - private com.google.protobuf.MapField - internalGetMutableSparkConf() { - onChanged();; - if (sparkConf_ == null) { - sparkConf_ = com.google.protobuf.MapField.newMapField( - SparkConfDefaultEntryHolder.defaultEntry); - } - if (!sparkConf_.isMutable()) { - sparkConf_ = sparkConf_.copy(); - } - return sparkConf_; - } - - public int getSparkConfCount() { - return internalGetSparkConf().getMap().size(); - } - /** - * map<string, string> sparkConf = 4; - */ - - public boolean containsSparkConf( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetSparkConf().getMap().containsKey(key); - } - /** - * Use {@link #getSparkConfMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getSparkConf() { - return getSparkConfMap(); - } - /** - * map<string, string> sparkConf = 4; - */ - - public java.util.Map getSparkConfMap() { - return internalGetSparkConf().getMap(); - } - /** - * map<string, string> sparkConf = 4; - */ - - public java.lang.String getSparkConfOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSparkConf().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> sparkConf = 4; - */ - - public java.lang.String getSparkConfOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSparkConf().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearSparkConf() { - internalGetMutableSparkConf().getMutableMap() - .clear(); - return this; - } - /** - * map<string, string> sparkConf = 4; - */ - - public Builder removeSparkConf( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableSparkConf().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableSparkConf() { - return internalGetMutableSparkConf().getMutableMap(); - } - /** - * map<string, string> sparkConf = 4; - */ - public Builder putSparkConf( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableSparkConf().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, string> sparkConf = 4; - */ - - public Builder putAllSparkConf( - java.util.Map values) { - internalGetMutableSparkConf().getMutableMap() - .putAll(values); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> hadoopConf_; - private com.google.protobuf.MapField - internalGetHadoopConf() { - if (hadoopConf_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HadoopConfDefaultEntryHolder.defaultEntry); - } - return hadoopConf_; - } - private com.google.protobuf.MapField - internalGetMutableHadoopConf() { - onChanged();; - if (hadoopConf_ == null) { - hadoopConf_ = com.google.protobuf.MapField.newMapField( - HadoopConfDefaultEntryHolder.defaultEntry); - } - if (!hadoopConf_.isMutable()) { - hadoopConf_ = hadoopConf_.copy(); - } - return hadoopConf_; - } - - public int getHadoopConfCount() { - return internalGetHadoopConf().getMap().size(); - } - /** - * map<string, string> hadoopConf = 5; - */ - - public boolean containsHadoopConf( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetHadoopConf().getMap().containsKey(key); - } - /** - * Use {@link #getHadoopConfMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getHadoopConf() { - return getHadoopConfMap(); - } - /** - * map<string, string> hadoopConf = 5; - */ - - public java.util.Map getHadoopConfMap() { - return internalGetHadoopConf().getMap(); - } - /** - * map<string, string> hadoopConf = 5; - */ - - public java.lang.String getHadoopConfOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetHadoopConf().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> hadoopConf = 5; - */ - - public java.lang.String getHadoopConfOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetHadoopConf().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearHadoopConf() { - internalGetMutableHadoopConf().getMutableMap() - .clear(); - return this; - } - /** - * map<string, string> hadoopConf = 5; - */ - - public Builder removeHadoopConf( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableHadoopConf().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableHadoopConf() { - return internalGetMutableHadoopConf().getMutableMap(); - } - /** - * map<string, string> hadoopConf = 5; - */ - public Builder putHadoopConf( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableHadoopConf().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, string> hadoopConf = 5; - */ - - public Builder putAllHadoopConf( - java.util.Map values) { - internalGetMutableHadoopConf().getMutableMap() - .putAll(values); - return this; - } - - private java.lang.Object executorPath_ = ""; - /** - *
-       * Executor path for Python jobs.
-       * 
- * - * string executorPath = 6; - */ - public java.lang.String getExecutorPath() { - java.lang.Object ref = executorPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - executorPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Executor path for Python jobs.
-       * 
- * - * string executorPath = 6; - */ - public com.google.protobuf.ByteString - getExecutorPathBytes() { - java.lang.Object ref = executorPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - executorPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Executor path for Python jobs.
-       * 
- * - * string executorPath = 6; - */ - public Builder setExecutorPath( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - executorPath_ = value; - onChanged(); - return this; - } - /** - *
-       * Executor path for Python jobs.
-       * 
- * - * string executorPath = 6; - */ - public Builder clearExecutorPath() { - - executorPath_ = getDefaultInstance().getExecutorPath(); - onChanged(); - return this; - } - /** - *
-       * Executor path for Python jobs.
-       * 
- * - * string executorPath = 6; - */ - public Builder setExecutorPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - executorPath_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Struct databricksConf_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> databricksConfBuilder_; - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public boolean hasDatabricksConf() { - return databricksConfBuilder_ != null || databricksConf_ != null; - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public com.google.protobuf.Struct getDatabricksConf() { - if (databricksConfBuilder_ == null) { - return databricksConf_ == null ? com.google.protobuf.Struct.getDefaultInstance() : databricksConf_; - } else { - return databricksConfBuilder_.getMessage(); - } - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public Builder setDatabricksConf(com.google.protobuf.Struct value) { - if (databricksConfBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - databricksConf_ = value; - onChanged(); - } else { - databricksConfBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public Builder setDatabricksConf( - com.google.protobuf.Struct.Builder builderForValue) { - if (databricksConfBuilder_ == null) { - databricksConf_ = builderForValue.build(); - onChanged(); - } else { - databricksConfBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public Builder mergeDatabricksConf(com.google.protobuf.Struct value) { - if (databricksConfBuilder_ == null) { - if (databricksConf_ != null) { - databricksConf_ = - com.google.protobuf.Struct.newBuilder(databricksConf_).mergeFrom(value).buildPartial(); - } else { - databricksConf_ = value; - } - onChanged(); - } else { - databricksConfBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public Builder clearDatabricksConf() { - if (databricksConfBuilder_ == null) { - databricksConf_ = null; - onChanged(); - } else { - databricksConf_ = null; - databricksConfBuilder_ = null; - } - - return this; - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public com.google.protobuf.Struct.Builder getDatabricksConfBuilder() { - - onChanged(); - return getDatabricksConfFieldBuilder().getBuilder(); - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - public com.google.protobuf.StructOrBuilder getDatabricksConfOrBuilder() { - if (databricksConfBuilder_ != null) { - return databricksConfBuilder_.getMessageOrBuilder(); - } else { - return databricksConf_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : databricksConf_; - } - } - /** - *
-       * Databricks job configuration.
-       * Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
-       * 
- * - * .google.protobuf.Struct databricksConf = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getDatabricksConfFieldBuilder() { - if (databricksConfBuilder_ == null) { - databricksConfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getDatabricksConf(), - getParentForChildren(), - isClean()); - databricksConf_ = null; - } - return databricksConfBuilder_; - } - - private java.lang.Object databricksToken_ = ""; - /** - *
-       * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-       * This token can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksToken = 8; - */ - public java.lang.String getDatabricksToken() { - java.lang.Object ref = databricksToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - databricksToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-       * This token can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksToken = 8; - */ - public com.google.protobuf.ByteString - getDatabricksTokenBytes() { - java.lang.Object ref = databricksToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - databricksToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-       * This token can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksToken = 8; - */ - public Builder setDatabricksToken( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - databricksToken_ = value; - onChanged(); - return this; - } - /** - *
-       * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-       * This token can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksToken = 8; - */ - public Builder clearDatabricksToken() { - - databricksToken_ = getDefaultInstance().getDatabricksToken(); - onChanged(); - return this; - } - /** - *
-       * Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
-       * This token can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksToken = 8; - */ - public Builder setDatabricksTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - databricksToken_ = value; - onChanged(); - return this; - } - - private java.lang.Object databricksInstance_ = ""; - /** - *
-       * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-       * This instance name can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksInstance = 9; - */ - public java.lang.String getDatabricksInstance() { - java.lang.Object ref = databricksInstance_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - databricksInstance_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-       * This instance name can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksInstance = 9; - */ - public com.google.protobuf.ByteString - getDatabricksInstanceBytes() { - java.lang.Object ref = databricksInstance_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - databricksInstance_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-       * This instance name can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksInstance = 9; - */ - public Builder setDatabricksInstance( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - databricksInstance_ = value; - onChanged(); - return this; - } - /** - *
-       * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-       * This instance name can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksInstance = 9; - */ - public Builder clearDatabricksInstance() { - - databricksInstance_ = getDefaultInstance().getDatabricksInstance(); - onChanged(); - return this; - } - /** - *
-       * Domain name of your deployment. Use the form <account>.cloud.databricks.com.
-       * This instance name can be set in either flytepropeller or flytekit.
-       * 
- * - * string databricksInstance = 9; - */ - public Builder setDatabricksInstanceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - databricksInstance_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.SparkJob) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.SparkJob) - private static final flyteidl.plugins.Spark.SparkJob DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Spark.SparkJob(); - } - - public static flyteidl.plugins.Spark.SparkJob getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SparkJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SparkJob(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.plugins.Spark.SparkJob getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_SparkApplication_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_SparkApplication_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_SparkJob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_SparkJob_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_SparkJob_SparkConfEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_SparkJob_SparkConfEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_SparkJob_HadoopConfEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_SparkJob_HadoopConfEntry_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/plugins/spark.proto\022\020flyteidl" + - ".plugins\032\034google/protobuf/struct.proto\"B" + - "\n\020SparkApplication\".\n\004Type\022\n\n\006PYTHON\020\000\022\010" + - "\n\004JAVA\020\001\022\t\n\005SCALA\020\002\022\005\n\001R\020\003\"\333\003\n\010SparkJob\022" + - "@\n\017applicationType\030\001 \001(\0162\'.flyteidl.plug" + - "ins.SparkApplication.Type\022\033\n\023mainApplica" + - "tionFile\030\002 \001(\t\022\021\n\tmainClass\030\003 \001(\t\022<\n\tspa" + - "rkConf\030\004 \003(\0132).flyteidl.plugins.SparkJob" + - ".SparkConfEntry\022>\n\nhadoopConf\030\005 \003(\0132*.fl" + - "yteidl.plugins.SparkJob.HadoopConfEntry\022" + - "\024\n\014executorPath\030\006 \001(\t\022/\n\016databricksConf\030" + - "\007 \001(\0132\027.google.protobuf.Struct\022\027\n\017databr" + - "icksToken\030\010 \001(\t\022\032\n\022databricksInstance\030\t " + - "\001(\t\0320\n\016SparkConfEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001\0321\n\017HadoopConfEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B?Z=github.com/f" + - "lyteorg/flyte/flyteidl/gen/pb-go/flyteid" + - "l/pluginsb\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.protobuf.StructProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_plugins_SparkApplication_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_SparkApplication_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_SparkApplication_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_plugins_SparkJob_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_SparkJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_SparkJob_descriptor, - new java.lang.String[] { "ApplicationType", "MainApplicationFile", "MainClass", "SparkConf", "HadoopConf", "ExecutorPath", "DatabricksConf", "DatabricksToken", "DatabricksInstance", }); - internal_static_flyteidl_plugins_SparkJob_SparkConfEntry_descriptor = - internal_static_flyteidl_plugins_SparkJob_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_plugins_SparkJob_SparkConfEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_SparkJob_SparkConfEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_plugins_SparkJob_HadoopConfEntry_descriptor = - internal_static_flyteidl_plugins_SparkJob_descriptor.getNestedTypes().get(1); - internal_static_flyteidl_plugins_SparkJob_HadoopConfEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_SparkJob_HadoopConfEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Tensorflow.java b/flyteidl/gen/pb-java/flyteidl/plugins/Tensorflow.java deleted file mode 100644 index 2353f8b78b..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Tensorflow.java +++ /dev/null @@ -1,813 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/tensorflow.proto - -package flyteidl.plugins; - -public final class Tensorflow { - private Tensorflow() {} - 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 DistributedTensorflowTrainingTaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.DistributedTensorflowTrainingTask) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * number of worker replicas spawned in the cluster for this job
-     * 
- * - * int32 workers = 1; - */ - int getWorkers(); - - /** - *
-     * PS -> Parameter server
-     * number of ps replicas spawned in the cluster for this job
-     * 
- * - * int32 ps_replicas = 2; - */ - int getPsReplicas(); - - /** - *
-     * number of chief replicas spawned in the cluster for this job
-     * 
- * - * int32 chief_replicas = 3; - */ - int getChiefReplicas(); - - /** - *
-     * number of evaluator replicas spawned in the cluster for this job
-     * 
- * - * int32 evaluator_replicas = 4; - */ - int getEvaluatorReplicas(); - } - /** - *
-   * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
-   * 
- * - * Protobuf type {@code flyteidl.plugins.DistributedTensorflowTrainingTask} - */ - public static final class DistributedTensorflowTrainingTask extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.DistributedTensorflowTrainingTask) - DistributedTensorflowTrainingTaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedTensorflowTrainingTask.newBuilder() to construct. - private DistributedTensorflowTrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedTensorflowTrainingTask() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedTensorflowTrainingTask( - 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: { - - workers_ = input.readInt32(); - break; - } - case 16: { - - psReplicas_ = input.readInt32(); - break; - } - case 24: { - - chiefReplicas_ = input.readInt32(); - break; - } - case 32: { - - evaluatorReplicas_ = input.readInt32(); - 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.plugins.Tensorflow.internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Tensorflow.internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask.class, flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask.Builder.class); - } - - public static final int WORKERS_FIELD_NUMBER = 1; - private int workers_; - /** - *
-     * number of worker replicas spawned in the cluster for this job
-     * 
- * - * int32 workers = 1; - */ - public int getWorkers() { - return workers_; - } - - public static final int PS_REPLICAS_FIELD_NUMBER = 2; - private int psReplicas_; - /** - *
-     * PS -> Parameter server
-     * number of ps replicas spawned in the cluster for this job
-     * 
- * - * int32 ps_replicas = 2; - */ - public int getPsReplicas() { - return psReplicas_; - } - - public static final int CHIEF_REPLICAS_FIELD_NUMBER = 3; - private int chiefReplicas_; - /** - *
-     * number of chief replicas spawned in the cluster for this job
-     * 
- * - * int32 chief_replicas = 3; - */ - public int getChiefReplicas() { - return chiefReplicas_; - } - - public static final int EVALUATOR_REPLICAS_FIELD_NUMBER = 4; - private int evaluatorReplicas_; - /** - *
-     * number of evaluator replicas spawned in the cluster for this job
-     * 
- * - * int32 evaluator_replicas = 4; - */ - public int getEvaluatorReplicas() { - return evaluatorReplicas_; - } - - 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 (workers_ != 0) { - output.writeInt32(1, workers_); - } - if (psReplicas_ != 0) { - output.writeInt32(2, psReplicas_); - } - if (chiefReplicas_ != 0) { - output.writeInt32(3, chiefReplicas_); - } - if (evaluatorReplicas_ != 0) { - output.writeInt32(4, evaluatorReplicas_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (workers_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, workers_); - } - if (psReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, psReplicas_); - } - if (chiefReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, chiefReplicas_); - } - if (evaluatorReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, evaluatorReplicas_); - } - 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.plugins.Tensorflow.DistributedTensorflowTrainingTask)) { - return super.equals(obj); - } - flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask other = (flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask) obj; - - if (getWorkers() - != other.getWorkers()) return false; - if (getPsReplicas() - != other.getPsReplicas()) return false; - if (getChiefReplicas() - != other.getChiefReplicas()) return false; - if (getEvaluatorReplicas() - != other.getEvaluatorReplicas()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + WORKERS_FIELD_NUMBER; - hash = (53 * hash) + getWorkers(); - hash = (37 * hash) + PS_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getPsReplicas(); - hash = (37 * hash) + CHIEF_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getChiefReplicas(); - hash = (37 * hash) + EVALUATOR_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getEvaluatorReplicas(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask 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.plugins.Tensorflow.DistributedTensorflowTrainingTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask 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.plugins.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask 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.plugins.Tensorflow.DistributedTensorflowTrainingTask 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; - } - /** - *
-     * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
-     * 
- * - * Protobuf type {@code flyteidl.plugins.DistributedTensorflowTrainingTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.DistributedTensorflowTrainingTask) - flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.Tensorflow.internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.Tensorflow.internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask.class, flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask.Builder.class); - } - - // Construct using flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask.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(); - workers_ = 0; - - psReplicas_ = 0; - - chiefReplicas_ = 0; - - evaluatorReplicas_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.Tensorflow.internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstanceForType() { - return flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask build() { - flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask buildPartial() { - flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask result = new flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask(this); - result.workers_ = workers_; - result.psReplicas_ = psReplicas_; - result.chiefReplicas_ = chiefReplicas_; - result.evaluatorReplicas_ = evaluatorReplicas_; - 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.plugins.Tensorflow.DistributedTensorflowTrainingTask) { - return mergeFrom((flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask other) { - if (other == flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask.getDefaultInstance()) return this; - if (other.getWorkers() != 0) { - setWorkers(other.getWorkers()); - } - if (other.getPsReplicas() != 0) { - setPsReplicas(other.getPsReplicas()); - } - if (other.getChiefReplicas() != 0) { - setChiefReplicas(other.getChiefReplicas()); - } - if (other.getEvaluatorReplicas() != 0) { - setEvaluatorReplicas(other.getEvaluatorReplicas()); - } - 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.plugins.Tensorflow.DistributedTensorflowTrainingTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int workers_ ; - /** - *
-       * number of worker replicas spawned in the cluster for this job
-       * 
- * - * int32 workers = 1; - */ - public int getWorkers() { - return workers_; - } - /** - *
-       * number of worker replicas spawned in the cluster for this job
-       * 
- * - * int32 workers = 1; - */ - public Builder setWorkers(int value) { - - workers_ = value; - onChanged(); - return this; - } - /** - *
-       * number of worker replicas spawned in the cluster for this job
-       * 
- * - * int32 workers = 1; - */ - public Builder clearWorkers() { - - workers_ = 0; - onChanged(); - return this; - } - - private int psReplicas_ ; - /** - *
-       * PS -> Parameter server
-       * number of ps replicas spawned in the cluster for this job
-       * 
- * - * int32 ps_replicas = 2; - */ - public int getPsReplicas() { - return psReplicas_; - } - /** - *
-       * PS -> Parameter server
-       * number of ps replicas spawned in the cluster for this job
-       * 
- * - * int32 ps_replicas = 2; - */ - public Builder setPsReplicas(int value) { - - psReplicas_ = value; - onChanged(); - return this; - } - /** - *
-       * PS -> Parameter server
-       * number of ps replicas spawned in the cluster for this job
-       * 
- * - * int32 ps_replicas = 2; - */ - public Builder clearPsReplicas() { - - psReplicas_ = 0; - onChanged(); - return this; - } - - private int chiefReplicas_ ; - /** - *
-       * number of chief replicas spawned in the cluster for this job
-       * 
- * - * int32 chief_replicas = 3; - */ - public int getChiefReplicas() { - return chiefReplicas_; - } - /** - *
-       * number of chief replicas spawned in the cluster for this job
-       * 
- * - * int32 chief_replicas = 3; - */ - public Builder setChiefReplicas(int value) { - - chiefReplicas_ = value; - onChanged(); - return this; - } - /** - *
-       * number of chief replicas spawned in the cluster for this job
-       * 
- * - * int32 chief_replicas = 3; - */ - public Builder clearChiefReplicas() { - - chiefReplicas_ = 0; - onChanged(); - return this; - } - - private int evaluatorReplicas_ ; - /** - *
-       * number of evaluator replicas spawned in the cluster for this job
-       * 
- * - * int32 evaluator_replicas = 4; - */ - public int getEvaluatorReplicas() { - return evaluatorReplicas_; - } - /** - *
-       * number of evaluator replicas spawned in the cluster for this job
-       * 
- * - * int32 evaluator_replicas = 4; - */ - public Builder setEvaluatorReplicas(int value) { - - evaluatorReplicas_ = value; - onChanged(); - return this; - } - /** - *
-       * number of evaluator replicas spawned in the cluster for this job
-       * 
- * - * int32 evaluator_replicas = 4; - */ - public Builder clearEvaluatorReplicas() { - - evaluatorReplicas_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.DistributedTensorflowTrainingTask) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.DistributedTensorflowTrainingTask) - private static final flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask(); - } - - public static flyteidl.plugins.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedTensorflowTrainingTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedTensorflowTrainingTask(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.plugins.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n!flyteidl/plugins/tensorflow.proto\022\020fly" + - "teidl.plugins\"}\n!DistributedTensorflowTr" + - "ainingTask\022\017\n\007workers\030\001 \001(\005\022\023\n\013ps_replic" + - "as\030\002 \001(\005\022\026\n\016chief_replicas\030\003 \001(\005\022\032\n\022eval" + - "uator_replicas\030\004 \001(\005B?Z=github.com/flyte" + - "org/flyte/flyteidl/gen/pb-go/flyteidl/pl" + - "uginsb\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[] { - }, assigner); - internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_DistributedTensorflowTrainingTask_descriptor, - new java.lang.String[] { "Workers", "PsReplicas", "ChiefReplicas", "EvaluatorReplicas", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/WaitableOuterClass.java b/flyteidl/gen/pb-java/flyteidl/plugins/WaitableOuterClass.java deleted file mode 100644 index 4b04db857d..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/WaitableOuterClass.java +++ /dev/null @@ -1,911 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/waitable.proto - -package flyteidl.plugins; - -public final class WaitableOuterClass { - private WaitableOuterClass() {} - 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 WaitableOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.Waitable) - com.google.protobuf.MessageOrBuilder { - - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - boolean hasWfExecId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWfExecId(); - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWfExecIdOrBuilder(); - - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - int getPhaseValue(); - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - flyteidl.core.Execution.WorkflowExecution.Phase getPhase(); - - /** - * string workflow_id = 3; - */ - java.lang.String getWorkflowId(); - /** - * string workflow_id = 3; - */ - com.google.protobuf.ByteString - getWorkflowIdBytes(); - } - /** - *
-   * Represents an Execution that was launched and could be waited on.
-   * 
- * - * Protobuf type {@code flyteidl.plugins.Waitable} - */ - public static final class Waitable extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.Waitable) - WaitableOrBuilder { - private static final long serialVersionUID = 0L; - // Use Waitable.newBuilder() to construct. - private Waitable(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Waitable() { - phase_ = 0; - workflowId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Waitable( - 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 (wfExecId_ != null) { - subBuilder = wfExecId_.toBuilder(); - } - wfExecId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(wfExecId_); - wfExecId_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); - - phase_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - workflowId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.WaitableOuterClass.internal_static_flyteidl_plugins_Waitable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.WaitableOuterClass.internal_static_flyteidl_plugins_Waitable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.WaitableOuterClass.Waitable.class, flyteidl.plugins.WaitableOuterClass.Waitable.Builder.class); - } - - public static final int WF_EXEC_ID_FIELD_NUMBER = 1; - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier wfExecId_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public boolean hasWfExecId() { - return wfExecId_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWfExecId() { - return wfExecId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : wfExecId_; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWfExecIdOrBuilder() { - return getWfExecId(); - } - - public static final int PHASE_FIELD_NUMBER = 2; - private int phase_; - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - public int getPhaseValue() { - return phase_; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.WorkflowExecution.Phase result = flyteidl.core.Execution.WorkflowExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.WorkflowExecution.Phase.UNRECOGNIZED : result; - } - - public static final int WORKFLOW_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object workflowId_; - /** - * string workflow_id = 3; - */ - public java.lang.String getWorkflowId() { - java.lang.Object ref = workflowId_; - 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(); - workflowId_ = s; - return s; - } - } - /** - * string workflow_id = 3; - */ - public com.google.protobuf.ByteString - getWorkflowIdBytes() { - java.lang.Object ref = workflowId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflowId_ = 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 (wfExecId_ != null) { - output.writeMessage(1, getWfExecId()); - } - if (phase_ != flyteidl.core.Execution.WorkflowExecution.Phase.UNDEFINED.getNumber()) { - output.writeEnum(2, phase_); - } - if (!getWorkflowIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflowId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (wfExecId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWfExecId()); - } - if (phase_ != flyteidl.core.Execution.WorkflowExecution.Phase.UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, phase_); - } - if (!getWorkflowIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflowId_); - } - 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.plugins.WaitableOuterClass.Waitable)) { - return super.equals(obj); - } - flyteidl.plugins.WaitableOuterClass.Waitable other = (flyteidl.plugins.WaitableOuterClass.Waitable) obj; - - if (hasWfExecId() != other.hasWfExecId()) return false; - if (hasWfExecId()) { - if (!getWfExecId() - .equals(other.getWfExecId())) return false; - } - if (phase_ != other.phase_) return false; - if (!getWorkflowId() - .equals(other.getWorkflowId())) 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 (hasWfExecId()) { - hash = (37 * hash) + WF_EXEC_ID_FIELD_NUMBER; - hash = (53 * hash) + getWfExecId().hashCode(); - } - hash = (37 * hash) + PHASE_FIELD_NUMBER; - hash = (53 * hash) + phase_; - hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.WaitableOuterClass.Waitable parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable 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.plugins.WaitableOuterClass.Waitable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable 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.plugins.WaitableOuterClass.Waitable parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.WaitableOuterClass.Waitable 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.plugins.WaitableOuterClass.Waitable 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; - } - /** - *
-     * Represents an Execution that was launched and could be waited on.
-     * 
- * - * Protobuf type {@code flyteidl.plugins.Waitable} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.Waitable) - flyteidl.plugins.WaitableOuterClass.WaitableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.WaitableOuterClass.internal_static_flyteidl_plugins_Waitable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.WaitableOuterClass.internal_static_flyteidl_plugins_Waitable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.WaitableOuterClass.Waitable.class, flyteidl.plugins.WaitableOuterClass.Waitable.Builder.class); - } - - // Construct using flyteidl.plugins.WaitableOuterClass.Waitable.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 (wfExecIdBuilder_ == null) { - wfExecId_ = null; - } else { - wfExecId_ = null; - wfExecIdBuilder_ = null; - } - phase_ = 0; - - workflowId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.WaitableOuterClass.internal_static_flyteidl_plugins_Waitable_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.WaitableOuterClass.Waitable getDefaultInstanceForType() { - return flyteidl.plugins.WaitableOuterClass.Waitable.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.WaitableOuterClass.Waitable build() { - flyteidl.plugins.WaitableOuterClass.Waitable result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.WaitableOuterClass.Waitable buildPartial() { - flyteidl.plugins.WaitableOuterClass.Waitable result = new flyteidl.plugins.WaitableOuterClass.Waitable(this); - if (wfExecIdBuilder_ == null) { - result.wfExecId_ = wfExecId_; - } else { - result.wfExecId_ = wfExecIdBuilder_.build(); - } - result.phase_ = phase_; - result.workflowId_ = workflowId_; - 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.plugins.WaitableOuterClass.Waitable) { - return mergeFrom((flyteidl.plugins.WaitableOuterClass.Waitable)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.WaitableOuterClass.Waitable other) { - if (other == flyteidl.plugins.WaitableOuterClass.Waitable.getDefaultInstance()) return this; - if (other.hasWfExecId()) { - mergeWfExecId(other.getWfExecId()); - } - if (other.phase_ != 0) { - setPhaseValue(other.getPhaseValue()); - } - if (!other.getWorkflowId().isEmpty()) { - workflowId_ = other.workflowId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.plugins.WaitableOuterClass.Waitable parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.WaitableOuterClass.Waitable) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier wfExecId_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> wfExecIdBuilder_; - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public boolean hasWfExecId() { - return wfExecIdBuilder_ != null || wfExecId_ != null; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWfExecId() { - if (wfExecIdBuilder_ == null) { - return wfExecId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : wfExecId_; - } else { - return wfExecIdBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public Builder setWfExecId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (wfExecIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - wfExecId_ = value; - onChanged(); - } else { - wfExecIdBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public Builder setWfExecId( - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { - if (wfExecIdBuilder_ == null) { - wfExecId_ = builderForValue.build(); - onChanged(); - } else { - wfExecIdBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public Builder mergeWfExecId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { - if (wfExecIdBuilder_ == null) { - if (wfExecId_ != null) { - wfExecId_ = - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(wfExecId_).mergeFrom(value).buildPartial(); - } else { - wfExecId_ = value; - } - onChanged(); - } else { - wfExecIdBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public Builder clearWfExecId() { - if (wfExecIdBuilder_ == null) { - wfExecId_ = null; - onChanged(); - } else { - wfExecId_ = null; - wfExecIdBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWfExecIdBuilder() { - - onChanged(); - return getWfExecIdFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWfExecIdOrBuilder() { - if (wfExecIdBuilder_ != null) { - return wfExecIdBuilder_.getMessageOrBuilder(); - } else { - return wfExecId_ == null ? - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : wfExecId_; - } - } - /** - * .flyteidl.core.WorkflowExecutionIdentifier wf_exec_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> - getWfExecIdFieldBuilder() { - if (wfExecIdBuilder_ == null) { - wfExecIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( - getWfExecId(), - getParentForChildren(), - isClean()); - wfExecId_ = null; - } - return wfExecIdBuilder_; - } - - private int phase_ = 0; - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - public int getPhaseValue() { - return phase_; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - public Builder setPhaseValue(int value) { - phase_ = value; - onChanged(); - return this; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - public flyteidl.core.Execution.WorkflowExecution.Phase getPhase() { - @SuppressWarnings("deprecation") - flyteidl.core.Execution.WorkflowExecution.Phase result = flyteidl.core.Execution.WorkflowExecution.Phase.valueOf(phase_); - return result == null ? flyteidl.core.Execution.WorkflowExecution.Phase.UNRECOGNIZED : result; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - public Builder setPhase(flyteidl.core.Execution.WorkflowExecution.Phase value) { - if (value == null) { - throw new NullPointerException(); - } - - phase_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .flyteidl.core.WorkflowExecution.Phase phase = 2; - */ - public Builder clearPhase() { - - phase_ = 0; - onChanged(); - return this; - } - - private java.lang.Object workflowId_ = ""; - /** - * string workflow_id = 3; - */ - public java.lang.String getWorkflowId() { - java.lang.Object ref = workflowId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflowId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string workflow_id = 3; - */ - public com.google.protobuf.ByteString - getWorkflowIdBytes() { - java.lang.Object ref = workflowId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workflowId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string workflow_id = 3; - */ - public Builder setWorkflowId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - workflowId_ = value; - onChanged(); - return this; - } - /** - * string workflow_id = 3; - */ - public Builder clearWorkflowId() { - - workflowId_ = getDefaultInstance().getWorkflowId(); - onChanged(); - return this; - } - /** - * string workflow_id = 3; - */ - public Builder setWorkflowIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - workflowId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.Waitable) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.Waitable) - private static final flyteidl.plugins.WaitableOuterClass.Waitable DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.WaitableOuterClass.Waitable(); - } - - public static flyteidl.plugins.WaitableOuterClass.Waitable getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Waitable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Waitable(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.plugins.WaitableOuterClass.Waitable getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_Waitable_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_Waitable_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\037flyteidl/plugins/waitable.proto\022\020flyte" + - "idl.plugins\032\035flyteidl/core/execution.pro" + - "to\032\036flyteidl/core/identifier.proto\"\226\001\n\010W" + - "aitable\022>\n\nwf_exec_id\030\001 \001(\0132*.flyteidl.c" + - "ore.WorkflowExecutionIdentifier\0225\n\005phase" + - "\030\002 \001(\0162&.flyteidl.core.WorkflowExecution" + - ".Phase\022\023\n\013workflow_id\030\003 \001(\tB?Z=github.co" + - "m/flyteorg/flyte/flyteidl/gen/pb-go/flyt" + - "eidl/pluginsb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Execution.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - }, assigner); - internal_static_flyteidl_plugins_Waitable_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_Waitable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_Waitable_descriptor, - new java.lang.String[] { "WfExecId", "Phase", "WorkflowId", }); - flyteidl.core.Execution.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Common.java b/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Common.java deleted file mode 100644 index bcd37c0837..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Common.java +++ /dev/null @@ -1,1073 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/common.proto - -package flyteidl.plugins.kubeflow; - -public final class Common { - private Common() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - * Protobuf enum {@code flyteidl.plugins.kubeflow.RestartPolicy} - */ - public enum RestartPolicy - implements com.google.protobuf.ProtocolMessageEnum { - /** - * RESTART_POLICY_NEVER = 0; - */ - RESTART_POLICY_NEVER(0), - /** - * RESTART_POLICY_ON_FAILURE = 1; - */ - RESTART_POLICY_ON_FAILURE(1), - /** - * RESTART_POLICY_ALWAYS = 2; - */ - RESTART_POLICY_ALWAYS(2), - UNRECOGNIZED(-1), - ; - - /** - * RESTART_POLICY_NEVER = 0; - */ - public static final int RESTART_POLICY_NEVER_VALUE = 0; - /** - * RESTART_POLICY_ON_FAILURE = 1; - */ - public static final int RESTART_POLICY_ON_FAILURE_VALUE = 1; - /** - * RESTART_POLICY_ALWAYS = 2; - */ - public static final int RESTART_POLICY_ALWAYS_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static RestartPolicy valueOf(int value) { - return forNumber(value); - } - - public static RestartPolicy forNumber(int value) { - switch (value) { - case 0: return RESTART_POLICY_NEVER; - case 1: return RESTART_POLICY_ON_FAILURE; - case 2: return RESTART_POLICY_ALWAYS; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - RestartPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestartPolicy findValueByNumber(int number) { - return RestartPolicy.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.plugins.kubeflow.Common.getDescriptor().getEnumTypes().get(0); - } - - private static final RestartPolicy[] VALUES = values(); - - public static RestartPolicy 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 RestartPolicy(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.plugins.kubeflow.RestartPolicy) - } - - /** - * Protobuf enum {@code flyteidl.plugins.kubeflow.CleanPodPolicy} - */ - public enum CleanPodPolicy - implements com.google.protobuf.ProtocolMessageEnum { - /** - * CLEANPOD_POLICY_NONE = 0; - */ - CLEANPOD_POLICY_NONE(0), - /** - * CLEANPOD_POLICY_RUNNING = 1; - */ - CLEANPOD_POLICY_RUNNING(1), - /** - * CLEANPOD_POLICY_ALL = 2; - */ - CLEANPOD_POLICY_ALL(2), - UNRECOGNIZED(-1), - ; - - /** - * CLEANPOD_POLICY_NONE = 0; - */ - public static final int CLEANPOD_POLICY_NONE_VALUE = 0; - /** - * CLEANPOD_POLICY_RUNNING = 1; - */ - public static final int CLEANPOD_POLICY_RUNNING_VALUE = 1; - /** - * CLEANPOD_POLICY_ALL = 2; - */ - public static final int CLEANPOD_POLICY_ALL_VALUE = 2; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static CleanPodPolicy valueOf(int value) { - return forNumber(value); - } - - public static CleanPodPolicy forNumber(int value) { - switch (value) { - case 0: return CLEANPOD_POLICY_NONE; - case 1: return CLEANPOD_POLICY_RUNNING; - case 2: return CLEANPOD_POLICY_ALL; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - CleanPodPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CleanPodPolicy findValueByNumber(int number) { - return CleanPodPolicy.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.plugins.kubeflow.Common.getDescriptor().getEnumTypes().get(1); - } - - private static final CleanPodPolicy[] VALUES = values(); - - public static CleanPodPolicy 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 CleanPodPolicy(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.plugins.kubeflow.CleanPodPolicy) - } - - public interface RunPolicyOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.RunPolicy) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Defines the policy to kill pods after the job completes. Default to None.
-     * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - int getCleanPodPolicyValue(); - /** - *
-     * Defines the policy to kill pods after the job completes. Default to None.
-     * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - flyteidl.plugins.kubeflow.Common.CleanPodPolicy getCleanPodPolicy(); - - /** - *
-     * TTL to clean up jobs. Default to infinite.
-     * 
- * - * int32 ttl_seconds_after_finished = 2; - */ - int getTtlSecondsAfterFinished(); - - /** - *
-     * Specifies the duration in seconds relative to the startTime that the job may be active
-     * before the system tries to terminate it; value must be positive integer.
-     * 
- * - * int32 active_deadline_seconds = 3; - */ - int getActiveDeadlineSeconds(); - - /** - *
-     * Number of retries before marking this job failed.
-     * 
- * - * int32 backoff_limit = 4; - */ - int getBackoffLimit(); - } - /** - * Protobuf type {@code flyteidl.plugins.kubeflow.RunPolicy} - */ - public static final class RunPolicy extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.RunPolicy) - RunPolicyOrBuilder { - private static final long serialVersionUID = 0L; - // Use RunPolicy.newBuilder() to construct. - private RunPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RunPolicy() { - cleanPodPolicy_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RunPolicy( - 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(); - - cleanPodPolicy_ = rawValue; - break; - } - case 16: { - - ttlSecondsAfterFinished_ = input.readInt32(); - break; - } - case 24: { - - activeDeadlineSeconds_ = input.readInt32(); - break; - } - case 32: { - - backoffLimit_ = input.readInt32(); - 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.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Common.RunPolicy.class, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder.class); - } - - public static final int CLEAN_POD_POLICY_FIELD_NUMBER = 1; - private int cleanPodPolicy_; - /** - *
-     * Defines the policy to kill pods after the job completes. Default to None.
-     * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - public int getCleanPodPolicyValue() { - return cleanPodPolicy_; - } - /** - *
-     * Defines the policy to kill pods after the job completes. Default to None.
-     * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - public flyteidl.plugins.kubeflow.Common.CleanPodPolicy getCleanPodPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.CleanPodPolicy result = flyteidl.plugins.kubeflow.Common.CleanPodPolicy.valueOf(cleanPodPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.CleanPodPolicy.UNRECOGNIZED : result; - } - - public static final int TTL_SECONDS_AFTER_FINISHED_FIELD_NUMBER = 2; - private int ttlSecondsAfterFinished_; - /** - *
-     * TTL to clean up jobs. Default to infinite.
-     * 
- * - * int32 ttl_seconds_after_finished = 2; - */ - public int getTtlSecondsAfterFinished() { - return ttlSecondsAfterFinished_; - } - - public static final int ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER = 3; - private int activeDeadlineSeconds_; - /** - *
-     * Specifies the duration in seconds relative to the startTime that the job may be active
-     * before the system tries to terminate it; value must be positive integer.
-     * 
- * - * int32 active_deadline_seconds = 3; - */ - public int getActiveDeadlineSeconds() { - return activeDeadlineSeconds_; - } - - public static final int BACKOFF_LIMIT_FIELD_NUMBER = 4; - private int backoffLimit_; - /** - *
-     * Number of retries before marking this job failed.
-     * 
- * - * int32 backoff_limit = 4; - */ - public int getBackoffLimit() { - return backoffLimit_; - } - - 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 (cleanPodPolicy_ != flyteidl.plugins.kubeflow.Common.CleanPodPolicy.CLEANPOD_POLICY_NONE.getNumber()) { - output.writeEnum(1, cleanPodPolicy_); - } - if (ttlSecondsAfterFinished_ != 0) { - output.writeInt32(2, ttlSecondsAfterFinished_); - } - if (activeDeadlineSeconds_ != 0) { - output.writeInt32(3, activeDeadlineSeconds_); - } - if (backoffLimit_ != 0) { - output.writeInt32(4, backoffLimit_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (cleanPodPolicy_ != flyteidl.plugins.kubeflow.Common.CleanPodPolicy.CLEANPOD_POLICY_NONE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, cleanPodPolicy_); - } - if (ttlSecondsAfterFinished_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, ttlSecondsAfterFinished_); - } - if (activeDeadlineSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, activeDeadlineSeconds_); - } - if (backoffLimit_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, backoffLimit_); - } - 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.plugins.kubeflow.Common.RunPolicy)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Common.RunPolicy other = (flyteidl.plugins.kubeflow.Common.RunPolicy) obj; - - if (cleanPodPolicy_ != other.cleanPodPolicy_) return false; - if (getTtlSecondsAfterFinished() - != other.getTtlSecondsAfterFinished()) return false; - if (getActiveDeadlineSeconds() - != other.getActiveDeadlineSeconds()) return false; - if (getBackoffLimit() - != other.getBackoffLimit()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CLEAN_POD_POLICY_FIELD_NUMBER; - hash = (53 * hash) + cleanPodPolicy_; - hash = (37 * hash) + TTL_SECONDS_AFTER_FINISHED_FIELD_NUMBER; - hash = (53 * hash) + getTtlSecondsAfterFinished(); - hash = (37 * hash) + ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER; - hash = (53 * hash) + getActiveDeadlineSeconds(); - hash = (37 * hash) + BACKOFF_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getBackoffLimit(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy 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.plugins.kubeflow.Common.RunPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy 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.plugins.kubeflow.Common.RunPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Common.RunPolicy 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.plugins.kubeflow.Common.RunPolicy 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.plugins.kubeflow.RunPolicy} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.RunPolicy) - flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Common.RunPolicy.class, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Common.RunPolicy.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(); - cleanPodPolicy_ = 0; - - ttlSecondsAfterFinished_ = 0; - - activeDeadlineSeconds_ = 0; - - backoffLimit_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Common.RunPolicy getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Common.RunPolicy build() { - flyteidl.plugins.kubeflow.Common.RunPolicy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Common.RunPolicy buildPartial() { - flyteidl.plugins.kubeflow.Common.RunPolicy result = new flyteidl.plugins.kubeflow.Common.RunPolicy(this); - result.cleanPodPolicy_ = cleanPodPolicy_; - result.ttlSecondsAfterFinished_ = ttlSecondsAfterFinished_; - result.activeDeadlineSeconds_ = activeDeadlineSeconds_; - result.backoffLimit_ = backoffLimit_; - 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.plugins.kubeflow.Common.RunPolicy) { - return mergeFrom((flyteidl.plugins.kubeflow.Common.RunPolicy)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Common.RunPolicy other) { - if (other == flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance()) return this; - if (other.cleanPodPolicy_ != 0) { - setCleanPodPolicyValue(other.getCleanPodPolicyValue()); - } - if (other.getTtlSecondsAfterFinished() != 0) { - setTtlSecondsAfterFinished(other.getTtlSecondsAfterFinished()); - } - if (other.getActiveDeadlineSeconds() != 0) { - setActiveDeadlineSeconds(other.getActiveDeadlineSeconds()); - } - if (other.getBackoffLimit() != 0) { - setBackoffLimit(other.getBackoffLimit()); - } - 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.plugins.kubeflow.Common.RunPolicy parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Common.RunPolicy) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int cleanPodPolicy_ = 0; - /** - *
-       * Defines the policy to kill pods after the job completes. Default to None.
-       * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - public int getCleanPodPolicyValue() { - return cleanPodPolicy_; - } - /** - *
-       * Defines the policy to kill pods after the job completes. Default to None.
-       * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - public Builder setCleanPodPolicyValue(int value) { - cleanPodPolicy_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines the policy to kill pods after the job completes. Default to None.
-       * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - public flyteidl.plugins.kubeflow.Common.CleanPodPolicy getCleanPodPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.CleanPodPolicy result = flyteidl.plugins.kubeflow.Common.CleanPodPolicy.valueOf(cleanPodPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.CleanPodPolicy.UNRECOGNIZED : result; - } - /** - *
-       * Defines the policy to kill pods after the job completes. Default to None.
-       * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - public Builder setCleanPodPolicy(flyteidl.plugins.kubeflow.Common.CleanPodPolicy value) { - if (value == null) { - throw new NullPointerException(); - } - - cleanPodPolicy_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Defines the policy to kill pods after the job completes. Default to None.
-       * 
- * - * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; - */ - public Builder clearCleanPodPolicy() { - - cleanPodPolicy_ = 0; - onChanged(); - return this; - } - - private int ttlSecondsAfterFinished_ ; - /** - *
-       * TTL to clean up jobs. Default to infinite.
-       * 
- * - * int32 ttl_seconds_after_finished = 2; - */ - public int getTtlSecondsAfterFinished() { - return ttlSecondsAfterFinished_; - } - /** - *
-       * TTL to clean up jobs. Default to infinite.
-       * 
- * - * int32 ttl_seconds_after_finished = 2; - */ - public Builder setTtlSecondsAfterFinished(int value) { - - ttlSecondsAfterFinished_ = value; - onChanged(); - return this; - } - /** - *
-       * TTL to clean up jobs. Default to infinite.
-       * 
- * - * int32 ttl_seconds_after_finished = 2; - */ - public Builder clearTtlSecondsAfterFinished() { - - ttlSecondsAfterFinished_ = 0; - onChanged(); - return this; - } - - private int activeDeadlineSeconds_ ; - /** - *
-       * Specifies the duration in seconds relative to the startTime that the job may be active
-       * before the system tries to terminate it; value must be positive integer.
-       * 
- * - * int32 active_deadline_seconds = 3; - */ - public int getActiveDeadlineSeconds() { - return activeDeadlineSeconds_; - } - /** - *
-       * Specifies the duration in seconds relative to the startTime that the job may be active
-       * before the system tries to terminate it; value must be positive integer.
-       * 
- * - * int32 active_deadline_seconds = 3; - */ - public Builder setActiveDeadlineSeconds(int value) { - - activeDeadlineSeconds_ = value; - onChanged(); - return this; - } - /** - *
-       * Specifies the duration in seconds relative to the startTime that the job may be active
-       * before the system tries to terminate it; value must be positive integer.
-       * 
- * - * int32 active_deadline_seconds = 3; - */ - public Builder clearActiveDeadlineSeconds() { - - activeDeadlineSeconds_ = 0; - onChanged(); - return this; - } - - private int backoffLimit_ ; - /** - *
-       * Number of retries before marking this job failed.
-       * 
- * - * int32 backoff_limit = 4; - */ - public int getBackoffLimit() { - return backoffLimit_; - } - /** - *
-       * Number of retries before marking this job failed.
-       * 
- * - * int32 backoff_limit = 4; - */ - public Builder setBackoffLimit(int value) { - - backoffLimit_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of retries before marking this job failed.
-       * 
- * - * int32 backoff_limit = 4; - */ - public Builder clearBackoffLimit() { - - backoffLimit_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.RunPolicy) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.RunPolicy) - private static final flyteidl.plugins.kubeflow.Common.RunPolicy DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Common.RunPolicy(); - } - - public static flyteidl.plugins.kubeflow.Common.RunPolicy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunPolicy(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.plugins.kubeflow.Common.RunPolicy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&flyteidl/plugins/kubeflow/common.proto" + - "\022\031flyteidl.plugins.kubeflow\"\254\001\n\tRunPolic" + - "y\022C\n\020clean_pod_policy\030\001 \001(\0162).flyteidl.p" + - "lugins.kubeflow.CleanPodPolicy\022\"\n\032ttl_se" + - "conds_after_finished\030\002 \001(\005\022\037\n\027active_dea" + - "dline_seconds\030\003 \001(\005\022\025\n\rbackoff_limit\030\004 \001" + - "(\005*c\n\rRestartPolicy\022\030\n\024RESTART_POLICY_NE" + - "VER\020\000\022\035\n\031RESTART_POLICY_ON_FAILURE\020\001\022\031\n\025" + - "RESTART_POLICY_ALWAYS\020\002*`\n\016CleanPodPolic" + - "y\022\030\n\024CLEANPOD_POLICY_NONE\020\000\022\033\n\027CLEANPOD_" + - "POLICY_RUNNING\020\001\022\027\n\023CLEANPOD_POLICY_ALL\020" + - "\002B?Z=github.com/flyteorg/flyte/flyteidl/" + - "gen/pb-go/flyteidl/pluginsb\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[] { - }, assigner); - internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor, - new java.lang.String[] { "CleanPodPolicy", "TtlSecondsAfterFinished", "ActiveDeadlineSeconds", "BackoffLimit", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Mpi.java b/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Mpi.java deleted file mode 100644 index bb57a2e620..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Mpi.java +++ /dev/null @@ -1,2701 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/mpi.proto - -package flyteidl.plugins.kubeflow; - -public final class Mpi { - private Mpi() {} - 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 DistributedMPITrainingTaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - boolean hasWorkerReplicas(); - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getWorkerReplicas(); - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder(); - - /** - *
-     * Master replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - boolean hasLauncherReplicas(); - /** - *
-     * Master replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getLauncherReplicas(); - /** - *
-     * Master replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getLauncherReplicasOrBuilder(); - - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - boolean hasRunPolicy(); - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy(); - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder(); - - /** - *
-     * Number of slots per worker
-     * 
- * - * int32 slots = 4; - */ - int getSlots(); - } - /** - *
-   * Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator
-   * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingTask} - */ - public static final class DistributedMPITrainingTask extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - DistributedMPITrainingTaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedMPITrainingTask.newBuilder() to construct. - private DistributedMPITrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedMPITrainingTask() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedMPITrainingTask( - 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.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder subBuilder = null; - if (workerReplicas_ != null) { - subBuilder = workerReplicas_.toBuilder(); - } - workerReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workerReplicas_); - workerReplicas_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder subBuilder = null; - if (launcherReplicas_ != null) { - subBuilder = launcherReplicas_.toBuilder(); - } - launcherReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(launcherReplicas_); - launcherReplicas_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.plugins.kubeflow.Common.RunPolicy.Builder subBuilder = null; - if (runPolicy_ != null) { - subBuilder = runPolicy_.toBuilder(); - } - runPolicy_ = input.readMessage(flyteidl.plugins.kubeflow.Common.RunPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(runPolicy_); - runPolicy_ = subBuilder.buildPartial(); - } - - break; - } - case 32: { - - slots_ = input.readInt32(); - 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.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.Builder.class); - } - - public static final int WORKER_REPLICAS_FIELD_NUMBER = 1; - private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec workerReplicas_; - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public boolean hasWorkerReplicas() { - return workerReplicas_ != null; - } - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getWorkerReplicas() { - return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { - return getWorkerReplicas(); - } - - public static final int LAUNCHER_REPLICAS_FIELD_NUMBER = 2; - private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec launcherReplicas_; - /** - *
-     * Master replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public boolean hasLauncherReplicas() { - return launcherReplicas_ != null; - } - /** - *
-     * Master replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getLauncherReplicas() { - return launcherReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : launcherReplicas_; - } - /** - *
-     * Master replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getLauncherReplicasOrBuilder() { - return getLauncherReplicas(); - } - - public static final int RUN_POLICY_FIELD_NUMBER = 3; - private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public boolean hasRunPolicy() { - return runPolicy_ != null; - } - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { - return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { - return getRunPolicy(); - } - - public static final int SLOTS_FIELD_NUMBER = 4; - private int slots_; - /** - *
-     * Number of slots per worker
-     * 
- * - * int32 slots = 4; - */ - public int getSlots() { - return slots_; - } - - 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 (workerReplicas_ != null) { - output.writeMessage(1, getWorkerReplicas()); - } - if (launcherReplicas_ != null) { - output.writeMessage(2, getLauncherReplicas()); - } - if (runPolicy_ != null) { - output.writeMessage(3, getRunPolicy()); - } - if (slots_ != 0) { - output.writeInt32(4, slots_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (workerReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWorkerReplicas()); - } - if (launcherReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getLauncherReplicas()); - } - if (runPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRunPolicy()); - } - if (slots_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, slots_); - } - 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.plugins.kubeflow.Mpi.DistributedMPITrainingTask)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask other = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask) obj; - - if (hasWorkerReplicas() != other.hasWorkerReplicas()) return false; - if (hasWorkerReplicas()) { - if (!getWorkerReplicas() - .equals(other.getWorkerReplicas())) return false; - } - if (hasLauncherReplicas() != other.hasLauncherReplicas()) return false; - if (hasLauncherReplicas()) { - if (!getLauncherReplicas() - .equals(other.getLauncherReplicas())) return false; - } - if (hasRunPolicy() != other.hasRunPolicy()) return false; - if (hasRunPolicy()) { - if (!getRunPolicy() - .equals(other.getRunPolicy())) return false; - } - if (getSlots() - != other.getSlots()) 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 (hasWorkerReplicas()) { - hash = (37 * hash) + WORKER_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getWorkerReplicas().hashCode(); - } - if (hasLauncherReplicas()) { - hash = (37 * hash) + LAUNCHER_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getLauncherReplicas().hashCode(); - } - if (hasRunPolicy()) { - hash = (37 * hash) + RUN_POLICY_FIELD_NUMBER; - hash = (53 * hash) + getRunPolicy().hashCode(); - } - hash = (37 * hash) + SLOTS_FIELD_NUMBER; - hash = (53 * hash) + getSlots(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask 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.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask 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.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask 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.plugins.kubeflow.Mpi.DistributedMPITrainingTask 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; - } - /** - *
-     * Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator
-     * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.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 (workerReplicasBuilder_ == null) { - workerReplicas_ = null; - } else { - workerReplicas_ = null; - workerReplicasBuilder_ = null; - } - if (launcherReplicasBuilder_ == null) { - launcherReplicas_ = null; - } else { - launcherReplicas_ = null; - launcherReplicasBuilder_ = null; - } - if (runPolicyBuilder_ == null) { - runPolicy_ = null; - } else { - runPolicy_ = null; - runPolicyBuilder_ = null; - } - slots_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask build() { - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask buildPartial() { - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask result = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask(this); - if (workerReplicasBuilder_ == null) { - result.workerReplicas_ = workerReplicas_; - } else { - result.workerReplicas_ = workerReplicasBuilder_.build(); - } - if (launcherReplicasBuilder_ == null) { - result.launcherReplicas_ = launcherReplicas_; - } else { - result.launcherReplicas_ = launcherReplicasBuilder_.build(); - } - if (runPolicyBuilder_ == null) { - result.runPolicy_ = runPolicy_; - } else { - result.runPolicy_ = runPolicyBuilder_.build(); - } - result.slots_ = slots_; - 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.plugins.kubeflow.Mpi.DistributedMPITrainingTask) { - return mergeFrom((flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask other) { - if (other == flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.getDefaultInstance()) return this; - if (other.hasWorkerReplicas()) { - mergeWorkerReplicas(other.getWorkerReplicas()); - } - if (other.hasLauncherReplicas()) { - mergeLauncherReplicas(other.getLauncherReplicas()); - } - if (other.hasRunPolicy()) { - mergeRunPolicy(other.getRunPolicy()); - } - if (other.getSlots() != 0) { - setSlots(other.getSlots()); - } - 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.plugins.kubeflow.Mpi.DistributedMPITrainingTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec workerReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> workerReplicasBuilder_; - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public boolean hasWorkerReplicas() { - return workerReplicasBuilder_ != null || workerReplicas_ != null; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getWorkerReplicas() { - if (workerReplicasBuilder_ == null) { - return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } else { - return workerReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public Builder setWorkerReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { - if (workerReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workerReplicas_ = value; - onChanged(); - } else { - workerReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public Builder setWorkerReplicas( - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder builderForValue) { - if (workerReplicasBuilder_ == null) { - workerReplicas_ = builderForValue.build(); - onChanged(); - } else { - workerReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public Builder mergeWorkerReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { - if (workerReplicasBuilder_ == null) { - if (workerReplicas_ != null) { - workerReplicas_ = - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.newBuilder(workerReplicas_).mergeFrom(value).buildPartial(); - } else { - workerReplicas_ = value; - } - onChanged(); - } else { - workerReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public Builder clearWorkerReplicas() { - if (workerReplicasBuilder_ == null) { - workerReplicas_ = null; - onChanged(); - } else { - workerReplicas_ = null; - workerReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder getWorkerReplicasBuilder() { - - onChanged(); - return getWorkerReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { - if (workerReplicasBuilder_ != null) { - return workerReplicasBuilder_.getMessageOrBuilder(); - } else { - return workerReplicas_ == null ? - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> - getWorkerReplicasFieldBuilder() { - if (workerReplicasBuilder_ == null) { - workerReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder>( - getWorkerReplicas(), - getParentForChildren(), - isClean()); - workerReplicas_ = null; - } - return workerReplicasBuilder_; - } - - private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec launcherReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> launcherReplicasBuilder_; - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public boolean hasLauncherReplicas() { - return launcherReplicasBuilder_ != null || launcherReplicas_ != null; - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getLauncherReplicas() { - if (launcherReplicasBuilder_ == null) { - return launcherReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : launcherReplicas_; - } else { - return launcherReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public Builder setLauncherReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { - if (launcherReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - launcherReplicas_ = value; - onChanged(); - } else { - launcherReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public Builder setLauncherReplicas( - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder builderForValue) { - if (launcherReplicasBuilder_ == null) { - launcherReplicas_ = builderForValue.build(); - onChanged(); - } else { - launcherReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public Builder mergeLauncherReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { - if (launcherReplicasBuilder_ == null) { - if (launcherReplicas_ != null) { - launcherReplicas_ = - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.newBuilder(launcherReplicas_).mergeFrom(value).buildPartial(); - } else { - launcherReplicas_ = value; - } - onChanged(); - } else { - launcherReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public Builder clearLauncherReplicas() { - if (launcherReplicasBuilder_ == null) { - launcherReplicas_ = null; - onChanged(); - } else { - launcherReplicas_ = null; - launcherReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder getLauncherReplicasBuilder() { - - onChanged(); - return getLauncherReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getLauncherReplicasOrBuilder() { - if (launcherReplicasBuilder_ != null) { - return launcherReplicasBuilder_.getMessageOrBuilder(); - } else { - return launcherReplicas_ == null ? - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : launcherReplicas_; - } - } - /** - *
-       * Master replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> - getLauncherReplicasFieldBuilder() { - if (launcherReplicasBuilder_ == null) { - launcherReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder>( - getLauncherReplicas(), - getParentForChildren(), - isClean()); - launcherReplicas_ = null; - } - return launcherReplicasBuilder_; - } - - private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> runPolicyBuilder_; - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public boolean hasRunPolicy() { - return runPolicyBuilder_ != null || runPolicy_ != null; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { - if (runPolicyBuilder_ == null) { - return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } else { - return runPolicyBuilder_.getMessage(); - } - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder setRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { - if (runPolicyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - runPolicy_ = value; - onChanged(); - } else { - runPolicyBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder setRunPolicy( - flyteidl.plugins.kubeflow.Common.RunPolicy.Builder builderForValue) { - if (runPolicyBuilder_ == null) { - runPolicy_ = builderForValue.build(); - onChanged(); - } else { - runPolicyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder mergeRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { - if (runPolicyBuilder_ == null) { - if (runPolicy_ != null) { - runPolicy_ = - flyteidl.plugins.kubeflow.Common.RunPolicy.newBuilder(runPolicy_).mergeFrom(value).buildPartial(); - } else { - runPolicy_ = value; - } - onChanged(); - } else { - runPolicyBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder clearRunPolicy() { - if (runPolicyBuilder_ == null) { - runPolicy_ = null; - onChanged(); - } else { - runPolicy_ = null; - runPolicyBuilder_ = null; - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy.Builder getRunPolicyBuilder() { - - onChanged(); - return getRunPolicyFieldBuilder().getBuilder(); - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { - if (runPolicyBuilder_ != null) { - return runPolicyBuilder_.getMessageOrBuilder(); - } else { - return runPolicy_ == null ? - flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> - getRunPolicyFieldBuilder() { - if (runPolicyBuilder_ == null) { - runPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder>( - getRunPolicy(), - getParentForChildren(), - isClean()); - runPolicy_ = null; - } - return runPolicyBuilder_; - } - - private int slots_ ; - /** - *
-       * Number of slots per worker
-       * 
- * - * int32 slots = 4; - */ - public int getSlots() { - return slots_; - } - /** - *
-       * Number of slots per worker
-       * 
- * - * int32 slots = 4; - */ - public Builder setSlots(int value) { - - slots_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of slots per worker
-       * 
- * - * int32 slots = 4; - */ - public Builder clearSlots() { - - slots_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) - private static final flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask(); - } - - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedMPITrainingTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedMPITrainingTask(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.plugins.kubeflow.Mpi.DistributedMPITrainingTask getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DistributedMPITrainingReplicaSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Number of replicas
-     * 
- * - * int32 replicas = 1; - */ - int getReplicas(); - - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - java.lang.String getImage(); - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - com.google.protobuf.ByteString - getImageBytes(); - - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - boolean hasResources(); - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.Resources getResources(); - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); - - /** - *
-     * Restart policy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - int getRestartPolicyValue(); - /** - *
-     * Restart policy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy(); - - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - java.util.List - getCommandList(); - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - int getCommandCount(); - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - java.lang.String getCommand(int index); - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - com.google.protobuf.ByteString - getCommandBytes(int index); - } - /** - *
-   * Replica specification for distributed MPI training
-   * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec} - */ - public static final class DistributedMPITrainingReplicaSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - DistributedMPITrainingReplicaSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedMPITrainingReplicaSpec.newBuilder() to construct. - private DistributedMPITrainingReplicaSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedMPITrainingReplicaSpec() { - image_ = ""; - restartPolicy_ = 0; - command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedMPITrainingReplicaSpec( - 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: { - - replicas_ = input.readInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - image_ = s; - break; - } - case 26: { - flyteidl.core.Tasks.Resources.Builder subBuilder = null; - if (resources_ != null) { - subBuilder = resources_.toBuilder(); - } - resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resources_); - resources_ = subBuilder.buildPartial(); - } - - break; - } - case 32: { - int rawValue = input.readEnum(); - - restartPolicy_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - command_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - command_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { - command_ = command_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder.class); - } - - private int bitField0_; - public static final int REPLICAS_FIELD_NUMBER = 1; - private int replicas_; - /** - *
-     * Number of replicas
-     * 
- * - * int32 replicas = 1; - */ - public int getReplicas() { - return replicas_; - } - - public static final int IMAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object image_; - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - 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(); - image_ = s; - return s; - } - } - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCES_FIELD_NUMBER = 3; - private flyteidl.core.Tasks.Resources resources_; - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resources_ != null; - } - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - return getResources(); - } - - public static final int RESTART_POLICY_FIELD_NUMBER = 4; - private int restartPolicy_; - /** - *
-     * Restart policy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public int getRestartPolicyValue() { - return restartPolicy_; - } - /** - *
-     * Restart policy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; - } - - public static final int COMMAND_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList command_; - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - public com.google.protobuf.ProtocolStringList - getCommandList() { - return command_; - } - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - public int getCommandCount() { - return command_.size(); - } - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - public java.lang.String getCommand(int index) { - return command_.get(index); - } - /** - *
-     * MPI sometimes requires different command set for different replica groups
-     * 
- * - * repeated string command = 5; - */ - public com.google.protobuf.ByteString - getCommandBytes(int index) { - return command_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (replicas_ != 0) { - output.writeInt32(1, replicas_); - } - if (!getImageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, image_); - } - if (resources_ != null) { - output.writeMessage(3, getResources()); - } - if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { - output.writeEnum(4, restartPolicy_); - } - for (int i = 0; i < command_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, command_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (replicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, replicas_); - } - if (!getImageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, image_); - } - if (resources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResources()); - } - if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, restartPolicy_); - } - { - int dataSize = 0; - for (int i = 0; i < command_.size(); i++) { - dataSize += computeStringSizeNoTag(command_.getRaw(i)); - } - size += dataSize; - size += 1 * getCommandList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec other = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec) obj; - - if (getReplicas() - != other.getReplicas()) return false; - if (!getImage() - .equals(other.getImage())) return false; - if (hasResources() != other.hasResources()) return false; - if (hasResources()) { - if (!getResources() - .equals(other.getResources())) return false; - } - if (restartPolicy_ != other.restartPolicy_) return false; - if (!getCommandList() - .equals(other.getCommandList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getReplicas(); - hash = (37 * hash) + IMAGE_FIELD_NUMBER; - hash = (53 * hash) + getImage().hashCode(); - if (hasResources()) { - hash = (37 * hash) + RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getResources().hashCode(); - } - hash = (37 * hash) + RESTART_POLICY_FIELD_NUMBER; - hash = (53 * hash) + restartPolicy_; - if (getCommandCount() > 0) { - hash = (37 * hash) + COMMAND_FIELD_NUMBER; - hash = (53 * hash) + getCommandList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec 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.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec 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.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec 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.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec 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; - } - /** - *
-     * Replica specification for distributed MPI training
-     * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.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(); - replicas_ = 0; - - image_ = ""; - - if (resourcesBuilder_ == null) { - resources_ = null; - } else { - resources_ = null; - resourcesBuilder_ = null; - } - restartPolicy_ = 0; - - command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec build() { - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec buildPartial() { - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec result = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.replicas_ = replicas_; - result.image_ = image_; - if (resourcesBuilder_ == null) { - result.resources_ = resources_; - } else { - result.resources_ = resourcesBuilder_.build(); - } - result.restartPolicy_ = restartPolicy_; - if (((bitField0_ & 0x00000010) != 0)) { - command_ = command_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.command_ = command_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec) { - return mergeFrom((flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec other) { - if (other == flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance()) return this; - if (other.getReplicas() != 0) { - setReplicas(other.getReplicas()); - } - if (!other.getImage().isEmpty()) { - image_ = other.image_; - onChanged(); - } - if (other.hasResources()) { - mergeResources(other.getResources()); - } - if (other.restartPolicy_ != 0) { - setRestartPolicyValue(other.getRestartPolicyValue()); - } - if (!other.command_.isEmpty()) { - if (command_.isEmpty()) { - command_ = other.command_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureCommandIsMutable(); - command_.addAll(other.command_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private int replicas_ ; - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public int getReplicas() { - return replicas_; - } - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public Builder setReplicas(int value) { - - replicas_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public Builder clearReplicas() { - - replicas_ = 0; - onChanged(); - return this; - } - - private java.lang.Object image_ = ""; - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - image_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder setImage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - image_ = value; - onChanged(); - return this; - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder clearImage() { - - image_ = getDefaultInstance().getImage(); - onChanged(); - return this; - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - image_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.Resources resources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resourcesBuilder_ != null || resources_ != null; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - if (resourcesBuilder_ == null) { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } else { - return resourcesBuilder_.getMessage(); - } - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resources_ = value; - onChanged(); - } else { - resourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources( - flyteidl.core.Tasks.Resources.Builder builderForValue) { - if (resourcesBuilder_ == null) { - resources_ = builderForValue.build(); - onChanged(); - } else { - resourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder mergeResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (resources_ != null) { - resources_ = - flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); - } else { - resources_ = value; - } - onChanged(); - } else { - resourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder clearResources() { - if (resourcesBuilder_ == null) { - resources_ = null; - onChanged(); - } else { - resources_ = null; - resourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { - - onChanged(); - return getResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - if (resourcesBuilder_ != null) { - return resourcesBuilder_.getMessageOrBuilder(); - } else { - return resources_ == null ? - flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> - getResourcesFieldBuilder() { - if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( - getResources(), - getParentForChildren(), - isClean()); - resources_ = null; - } - return resourcesBuilder_; - } - - private int restartPolicy_ = 0; - /** - *
-       * Restart policy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public int getRestartPolicyValue() { - return restartPolicy_; - } - /** - *
-       * Restart policy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder setRestartPolicyValue(int value) { - restartPolicy_ = value; - onChanged(); - return this; - } - /** - *
-       * Restart policy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; - } - /** - *
-       * Restart policy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder setRestartPolicy(flyteidl.plugins.kubeflow.Common.RestartPolicy value) { - if (value == null) { - throw new NullPointerException(); - } - - restartPolicy_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * Restart policy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder clearRestartPolicy() { - - restartPolicy_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureCommandIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - command_ = new com.google.protobuf.LazyStringArrayList(command_); - bitField0_ |= 0x00000010; - } - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public com.google.protobuf.ProtocolStringList - getCommandList() { - return command_.getUnmodifiableView(); - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public int getCommandCount() { - return command_.size(); - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public java.lang.String getCommand(int index) { - return command_.get(index); - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public com.google.protobuf.ByteString - getCommandBytes(int index) { - return command_.getByteString(index); - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public Builder setCommand( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCommandIsMutable(); - command_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public Builder addCommand( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCommandIsMutable(); - command_.add(value); - onChanged(); - return this; - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public Builder addAllCommand( - java.lang.Iterable values) { - ensureCommandIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, command_); - onChanged(); - return this; - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public Builder clearCommand() { - command_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - /** - *
-       * MPI sometimes requires different command set for different replica groups
-       * 
- * - * repeated string command = 5; - */ - public Builder addCommandBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureCommandIsMutable(); - command_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) - private static final flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec(); - } - - public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedMPITrainingReplicaSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedMPITrainingReplicaSpec(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.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#flyteidl/plugins/kubeflow/mpi.proto\022\031f" + - "lyteidl.plugins.kubeflow\032\031flyteidl/core/" + - "tasks.proto\032&flyteidl/plugins/kubeflow/c" + - "ommon.proto\"\225\002\n\032DistributedMPITrainingTa" + - "sk\022U\n\017worker_replicas\030\001 \001(\0132<.flyteidl.p" + - "lugins.kubeflow.DistributedMPITrainingRe" + - "plicaSpec\022W\n\021launcher_replicas\030\002 \001(\0132<.f" + - "lyteidl.plugins.kubeflow.DistributedMPIT" + - "rainingReplicaSpec\0228\n\nrun_policy\030\003 \001(\0132$" + - ".flyteidl.plugins.kubeflow.RunPolicy\022\r\n\005" + - "slots\030\004 \001(\005\"\304\001\n!DistributedMPITrainingRe" + - "plicaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001" + - "(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Re" + - "sources\022@\n\016restart_policy\030\004 \001(\0162(.flytei" + - "dl.plugins.kubeflow.RestartPolicy\022\017\n\007com" + - "mand\030\005 \003(\tB?Z=github.com/flyteorg/flyte/" + - "flyteidl/gen/pb-go/flyteidl/pluginsb\006pro" + - "to3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Tasks.getDescriptor(), - flyteidl.plugins.kubeflow.Common.getDescriptor(), - }, assigner); - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor, - new java.lang.String[] { "WorkerReplicas", "LauncherReplicas", "RunPolicy", "Slots", }); - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor, - new java.lang.String[] { "Replicas", "Image", "Resources", "RestartPolicy", "Command", }); - flyteidl.core.Tasks.getDescriptor(); - flyteidl.plugins.kubeflow.Common.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Pytorch.java b/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Pytorch.java deleted file mode 100644 index dfb6c5769f..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Pytorch.java +++ /dev/null @@ -1,3425 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/pytorch.proto - -package flyteidl.plugins.kubeflow; - -public final class Pytorch { - private Pytorch() {} - 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 ElasticConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.ElasticConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * string rdzv_backend = 1; - */ - java.lang.String getRdzvBackend(); - /** - * string rdzv_backend = 1; - */ - com.google.protobuf.ByteString - getRdzvBackendBytes(); - - /** - * int32 min_replicas = 2; - */ - int getMinReplicas(); - - /** - * int32 max_replicas = 3; - */ - int getMaxReplicas(); - - /** - * int32 nproc_per_node = 4; - */ - int getNprocPerNode(); - - /** - * int32 max_restarts = 5; - */ - int getMaxRestarts(); - } - /** - *
-   * Custom proto for torch elastic config for distributed training using 
-   * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
-   * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.ElasticConfig} - */ - public static final class ElasticConfig extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.ElasticConfig) - ElasticConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use ElasticConfig.newBuilder() to construct. - private ElasticConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ElasticConfig() { - rdzvBackend_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ElasticConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - rdzvBackend_ = s; - break; - } - case 16: { - - minReplicas_ = input.readInt32(); - break; - } - case 24: { - - maxReplicas_ = input.readInt32(); - break; - } - case 32: { - - nprocPerNode_ = input.readInt32(); - break; - } - case 40: { - - maxRestarts_ = input.readInt32(); - 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.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.class, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder.class); - } - - public static final int RDZV_BACKEND_FIELD_NUMBER = 1; - private volatile java.lang.Object rdzvBackend_; - /** - * string rdzv_backend = 1; - */ - public java.lang.String getRdzvBackend() { - java.lang.Object ref = rdzvBackend_; - 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(); - rdzvBackend_ = s; - return s; - } - } - /** - * string rdzv_backend = 1; - */ - public com.google.protobuf.ByteString - getRdzvBackendBytes() { - java.lang.Object ref = rdzvBackend_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rdzvBackend_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MIN_REPLICAS_FIELD_NUMBER = 2; - private int minReplicas_; - /** - * int32 min_replicas = 2; - */ - public int getMinReplicas() { - return minReplicas_; - } - - public static final int MAX_REPLICAS_FIELD_NUMBER = 3; - private int maxReplicas_; - /** - * int32 max_replicas = 3; - */ - public int getMaxReplicas() { - return maxReplicas_; - } - - public static final int NPROC_PER_NODE_FIELD_NUMBER = 4; - private int nprocPerNode_; - /** - * int32 nproc_per_node = 4; - */ - public int getNprocPerNode() { - return nprocPerNode_; - } - - public static final int MAX_RESTARTS_FIELD_NUMBER = 5; - private int maxRestarts_; - /** - * int32 max_restarts = 5; - */ - public int getMaxRestarts() { - return maxRestarts_; - } - - 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 (!getRdzvBackendBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rdzvBackend_); - } - if (minReplicas_ != 0) { - output.writeInt32(2, minReplicas_); - } - if (maxReplicas_ != 0) { - output.writeInt32(3, maxReplicas_); - } - if (nprocPerNode_ != 0) { - output.writeInt32(4, nprocPerNode_); - } - if (maxRestarts_ != 0) { - output.writeInt32(5, maxRestarts_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getRdzvBackendBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rdzvBackend_); - } - if (minReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, minReplicas_); - } - if (maxReplicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxReplicas_); - } - if (nprocPerNode_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, nprocPerNode_); - } - if (maxRestarts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxRestarts_); - } - 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.plugins.kubeflow.Pytorch.ElasticConfig)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig other = (flyteidl.plugins.kubeflow.Pytorch.ElasticConfig) obj; - - if (!getRdzvBackend() - .equals(other.getRdzvBackend())) return false; - if (getMinReplicas() - != other.getMinReplicas()) return false; - if (getMaxReplicas() - != other.getMaxReplicas()) return false; - if (getNprocPerNode() - != other.getNprocPerNode()) return false; - if (getMaxRestarts() - != other.getMaxRestarts()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RDZV_BACKEND_FIELD_NUMBER; - hash = (53 * hash) + getRdzvBackend().hashCode(); - hash = (37 * hash) + MIN_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getMinReplicas(); - hash = (37 * hash) + MAX_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getMaxReplicas(); - hash = (37 * hash) + NPROC_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + getNprocPerNode(); - hash = (37 * hash) + MAX_RESTARTS_FIELD_NUMBER; - hash = (53 * hash) + getMaxRestarts(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig 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.plugins.kubeflow.Pytorch.ElasticConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig 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.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig 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.plugins.kubeflow.Pytorch.ElasticConfig 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; - } - /** - *
-     * Custom proto for torch elastic config for distributed training using 
-     * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
-     * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.ElasticConfig} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.ElasticConfig) - flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.class, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.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(); - rdzvBackend_ = ""; - - minReplicas_ = 0; - - maxReplicas_ = 0; - - nprocPerNode_ = 0; - - maxRestarts_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig build() { - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig buildPartial() { - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig result = new flyteidl.plugins.kubeflow.Pytorch.ElasticConfig(this); - result.rdzvBackend_ = rdzvBackend_; - result.minReplicas_ = minReplicas_; - result.maxReplicas_ = maxReplicas_; - result.nprocPerNode_ = nprocPerNode_; - result.maxRestarts_ = maxRestarts_; - 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.plugins.kubeflow.Pytorch.ElasticConfig) { - return mergeFrom((flyteidl.plugins.kubeflow.Pytorch.ElasticConfig)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig other) { - if (other == flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance()) return this; - if (!other.getRdzvBackend().isEmpty()) { - rdzvBackend_ = other.rdzvBackend_; - onChanged(); - } - if (other.getMinReplicas() != 0) { - setMinReplicas(other.getMinReplicas()); - } - if (other.getMaxReplicas() != 0) { - setMaxReplicas(other.getMaxReplicas()); - } - if (other.getNprocPerNode() != 0) { - setNprocPerNode(other.getNprocPerNode()); - } - if (other.getMaxRestarts() != 0) { - setMaxRestarts(other.getMaxRestarts()); - } - 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.plugins.kubeflow.Pytorch.ElasticConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Pytorch.ElasticConfig) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object rdzvBackend_ = ""; - /** - * string rdzv_backend = 1; - */ - public java.lang.String getRdzvBackend() { - java.lang.Object ref = rdzvBackend_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - rdzvBackend_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string rdzv_backend = 1; - */ - public com.google.protobuf.ByteString - getRdzvBackendBytes() { - java.lang.Object ref = rdzvBackend_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rdzvBackend_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string rdzv_backend = 1; - */ - public Builder setRdzvBackend( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - rdzvBackend_ = value; - onChanged(); - return this; - } - /** - * string rdzv_backend = 1; - */ - public Builder clearRdzvBackend() { - - rdzvBackend_ = getDefaultInstance().getRdzvBackend(); - onChanged(); - return this; - } - /** - * string rdzv_backend = 1; - */ - public Builder setRdzvBackendBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - rdzvBackend_ = value; - onChanged(); - return this; - } - - private int minReplicas_ ; - /** - * int32 min_replicas = 2; - */ - public int getMinReplicas() { - return minReplicas_; - } - /** - * int32 min_replicas = 2; - */ - public Builder setMinReplicas(int value) { - - minReplicas_ = value; - onChanged(); - return this; - } - /** - * int32 min_replicas = 2; - */ - public Builder clearMinReplicas() { - - minReplicas_ = 0; - onChanged(); - return this; - } - - private int maxReplicas_ ; - /** - * int32 max_replicas = 3; - */ - public int getMaxReplicas() { - return maxReplicas_; - } - /** - * int32 max_replicas = 3; - */ - public Builder setMaxReplicas(int value) { - - maxReplicas_ = value; - onChanged(); - return this; - } - /** - * int32 max_replicas = 3; - */ - public Builder clearMaxReplicas() { - - maxReplicas_ = 0; - onChanged(); - return this; - } - - private int nprocPerNode_ ; - /** - * int32 nproc_per_node = 4; - */ - public int getNprocPerNode() { - return nprocPerNode_; - } - /** - * int32 nproc_per_node = 4; - */ - public Builder setNprocPerNode(int value) { - - nprocPerNode_ = value; - onChanged(); - return this; - } - /** - * int32 nproc_per_node = 4; - */ - public Builder clearNprocPerNode() { - - nprocPerNode_ = 0; - onChanged(); - return this; - } - - private int maxRestarts_ ; - /** - * int32 max_restarts = 5; - */ - public int getMaxRestarts() { - return maxRestarts_; - } - /** - * int32 max_restarts = 5; - */ - public Builder setMaxRestarts(int value) { - - maxRestarts_ = value; - onChanged(); - return this; - } - /** - * int32 max_restarts = 5; - */ - public Builder clearMaxRestarts() { - - maxRestarts_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.ElasticConfig) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.ElasticConfig) - private static final flyteidl.plugins.kubeflow.Pytorch.ElasticConfig DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Pytorch.ElasticConfig(); - } - - public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ElasticConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ElasticConfig(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.plugins.kubeflow.Pytorch.ElasticConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DistributedPyTorchTrainingTaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - boolean hasWorkerReplicas(); - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getWorkerReplicas(); - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder(); - - /** - *
-     * Master replicas spec, master replicas can only have 1 replica
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - boolean hasMasterReplicas(); - /** - *
-     * Master replicas spec, master replicas can only have 1 replica
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getMasterReplicas(); - /** - *
-     * Master replicas spec, master replicas can only have 1 replica
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getMasterReplicasOrBuilder(); - - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - boolean hasRunPolicy(); - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy(); - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder(); - - /** - *
-     * config for an elastic pytorch job
-     * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - boolean hasElasticConfig(); - /** - *
-     * config for an elastic pytorch job
-     * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getElasticConfig(); - /** - *
-     * config for an elastic pytorch job
-     * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder(); - } - /** - *
-   * Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
-   * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask} - */ - public static final class DistributedPyTorchTrainingTask extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - DistributedPyTorchTrainingTaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedPyTorchTrainingTask.newBuilder() to construct. - private DistributedPyTorchTrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedPyTorchTrainingTask() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedPyTorchTrainingTask( - 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder subBuilder = null; - if (workerReplicas_ != null) { - subBuilder = workerReplicas_.toBuilder(); - } - workerReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workerReplicas_); - workerReplicas_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder subBuilder = null; - if (masterReplicas_ != null) { - subBuilder = masterReplicas_.toBuilder(); - } - masterReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(masterReplicas_); - masterReplicas_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.plugins.kubeflow.Common.RunPolicy.Builder subBuilder = null; - if (runPolicy_ != null) { - subBuilder = runPolicy_.toBuilder(); - } - runPolicy_ = input.readMessage(flyteidl.plugins.kubeflow.Common.RunPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(runPolicy_); - runPolicy_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder subBuilder = null; - if (elasticConfig_ != null) { - subBuilder = elasticConfig_.toBuilder(); - } - elasticConfig_ = input.readMessage(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(elasticConfig_); - elasticConfig_ = 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.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.Builder.class); - } - - public static final int WORKER_REPLICAS_FIELD_NUMBER = 1; - private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec workerReplicas_; - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public boolean hasWorkerReplicas() { - return workerReplicas_ != null; - } - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getWorkerReplicas() { - return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { - return getWorkerReplicas(); - } - - public static final int MASTER_REPLICAS_FIELD_NUMBER = 2; - private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec masterReplicas_; - /** - *
-     * Master replicas spec, master replicas can only have 1 replica
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public boolean hasMasterReplicas() { - return masterReplicas_ != null; - } - /** - *
-     * Master replicas spec, master replicas can only have 1 replica
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getMasterReplicas() { - return masterReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : masterReplicas_; - } - /** - *
-     * Master replicas spec, master replicas can only have 1 replica
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getMasterReplicasOrBuilder() { - return getMasterReplicas(); - } - - public static final int RUN_POLICY_FIELD_NUMBER = 3; - private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public boolean hasRunPolicy() { - return runPolicy_ != null; - } - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { - return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { - return getRunPolicy(); - } - - public static final int ELASTIC_CONFIG_FIELD_NUMBER = 4; - private flyteidl.plugins.kubeflow.Pytorch.ElasticConfig elasticConfig_; - /** - *
-     * config for an elastic pytorch job
-     * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public boolean hasElasticConfig() { - return elasticConfig_ != null; - } - /** - *
-     * config for an elastic pytorch job
-     * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getElasticConfig() { - return elasticConfig_ == null ? flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; - } - /** - *
-     * config for an elastic pytorch job
-     * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { - return getElasticConfig(); - } - - 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 (workerReplicas_ != null) { - output.writeMessage(1, getWorkerReplicas()); - } - if (masterReplicas_ != null) { - output.writeMessage(2, getMasterReplicas()); - } - if (runPolicy_ != null) { - output.writeMessage(3, getRunPolicy()); - } - if (elasticConfig_ != null) { - output.writeMessage(4, getElasticConfig()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (workerReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWorkerReplicas()); - } - if (masterReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMasterReplicas()); - } - if (runPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRunPolicy()); - } - if (elasticConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getElasticConfig()); - } - 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask other = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask) obj; - - if (hasWorkerReplicas() != other.hasWorkerReplicas()) return false; - if (hasWorkerReplicas()) { - if (!getWorkerReplicas() - .equals(other.getWorkerReplicas())) return false; - } - if (hasMasterReplicas() != other.hasMasterReplicas()) return false; - if (hasMasterReplicas()) { - if (!getMasterReplicas() - .equals(other.getMasterReplicas())) return false; - } - if (hasRunPolicy() != other.hasRunPolicy()) return false; - if (hasRunPolicy()) { - if (!getRunPolicy() - .equals(other.getRunPolicy())) return false; - } - if (hasElasticConfig() != other.hasElasticConfig()) return false; - if (hasElasticConfig()) { - if (!getElasticConfig() - .equals(other.getElasticConfig())) 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 (hasWorkerReplicas()) { - hash = (37 * hash) + WORKER_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getWorkerReplicas().hashCode(); - } - if (hasMasterReplicas()) { - hash = (37 * hash) + MASTER_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getMasterReplicas().hashCode(); - } - if (hasRunPolicy()) { - hash = (37 * hash) + RUN_POLICY_FIELD_NUMBER; - hash = (53 * hash) + getRunPolicy().hashCode(); - } - if (hasElasticConfig()) { - hash = (37 * hash) + ELASTIC_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getElasticConfig().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask 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; - } - /** - *
-     * Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
-     * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.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 (workerReplicasBuilder_ == null) { - workerReplicas_ = null; - } else { - workerReplicas_ = null; - workerReplicasBuilder_ = null; - } - if (masterReplicasBuilder_ == null) { - masterReplicas_ = null; - } else { - masterReplicas_ = null; - masterReplicasBuilder_ = null; - } - if (runPolicyBuilder_ == null) { - runPolicy_ = null; - } else { - runPolicy_ = null; - runPolicyBuilder_ = null; - } - if (elasticConfigBuilder_ == null) { - elasticConfig_ = null; - } else { - elasticConfig_ = null; - elasticConfigBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask build() { - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask buildPartial() { - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask result = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask(this); - if (workerReplicasBuilder_ == null) { - result.workerReplicas_ = workerReplicas_; - } else { - result.workerReplicas_ = workerReplicasBuilder_.build(); - } - if (masterReplicasBuilder_ == null) { - result.masterReplicas_ = masterReplicas_; - } else { - result.masterReplicas_ = masterReplicasBuilder_.build(); - } - if (runPolicyBuilder_ == null) { - result.runPolicy_ = runPolicy_; - } else { - result.runPolicy_ = runPolicyBuilder_.build(); - } - if (elasticConfigBuilder_ == null) { - result.elasticConfig_ = elasticConfig_; - } else { - result.elasticConfig_ = elasticConfigBuilder_.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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask) { - return mergeFrom((flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask other) { - if (other == flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.getDefaultInstance()) return this; - if (other.hasWorkerReplicas()) { - mergeWorkerReplicas(other.getWorkerReplicas()); - } - if (other.hasMasterReplicas()) { - mergeMasterReplicas(other.getMasterReplicas()); - } - if (other.hasRunPolicy()) { - mergeRunPolicy(other.getRunPolicy()); - } - if (other.hasElasticConfig()) { - mergeElasticConfig(other.getElasticConfig()); - } - 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec workerReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> workerReplicasBuilder_; - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public boolean hasWorkerReplicas() { - return workerReplicasBuilder_ != null || workerReplicas_ != null; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getWorkerReplicas() { - if (workerReplicasBuilder_ == null) { - return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } else { - return workerReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public Builder setWorkerReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { - if (workerReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workerReplicas_ = value; - onChanged(); - } else { - workerReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public Builder setWorkerReplicas( - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder builderForValue) { - if (workerReplicasBuilder_ == null) { - workerReplicas_ = builderForValue.build(); - onChanged(); - } else { - workerReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public Builder mergeWorkerReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { - if (workerReplicasBuilder_ == null) { - if (workerReplicas_ != null) { - workerReplicas_ = - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.newBuilder(workerReplicas_).mergeFrom(value).buildPartial(); - } else { - workerReplicas_ = value; - } - onChanged(); - } else { - workerReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public Builder clearWorkerReplicas() { - if (workerReplicasBuilder_ == null) { - workerReplicas_ = null; - onChanged(); - } else { - workerReplicas_ = null; - workerReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder getWorkerReplicasBuilder() { - - onChanged(); - return getWorkerReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { - if (workerReplicasBuilder_ != null) { - return workerReplicasBuilder_.getMessageOrBuilder(); - } else { - return workerReplicas_ == null ? - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> - getWorkerReplicasFieldBuilder() { - if (workerReplicasBuilder_ == null) { - workerReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder>( - getWorkerReplicas(), - getParentForChildren(), - isClean()); - workerReplicas_ = null; - } - return workerReplicasBuilder_; - } - - private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec masterReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> masterReplicasBuilder_; - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public boolean hasMasterReplicas() { - return masterReplicasBuilder_ != null || masterReplicas_ != null; - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getMasterReplicas() { - if (masterReplicasBuilder_ == null) { - return masterReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : masterReplicas_; - } else { - return masterReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public Builder setMasterReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { - if (masterReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - masterReplicas_ = value; - onChanged(); - } else { - masterReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public Builder setMasterReplicas( - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder builderForValue) { - if (masterReplicasBuilder_ == null) { - masterReplicas_ = builderForValue.build(); - onChanged(); - } else { - masterReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public Builder mergeMasterReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { - if (masterReplicasBuilder_ == null) { - if (masterReplicas_ != null) { - masterReplicas_ = - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.newBuilder(masterReplicas_).mergeFrom(value).buildPartial(); - } else { - masterReplicas_ = value; - } - onChanged(); - } else { - masterReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public Builder clearMasterReplicas() { - if (masterReplicasBuilder_ == null) { - masterReplicas_ = null; - onChanged(); - } else { - masterReplicas_ = null; - masterReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder getMasterReplicasBuilder() { - - onChanged(); - return getMasterReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getMasterReplicasOrBuilder() { - if (masterReplicasBuilder_ != null) { - return masterReplicasBuilder_.getMessageOrBuilder(); - } else { - return masterReplicas_ == null ? - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : masterReplicas_; - } - } - /** - *
-       * Master replicas spec, master replicas can only have 1 replica
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> - getMasterReplicasFieldBuilder() { - if (masterReplicasBuilder_ == null) { - masterReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder>( - getMasterReplicas(), - getParentForChildren(), - isClean()); - masterReplicas_ = null; - } - return masterReplicasBuilder_; - } - - private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> runPolicyBuilder_; - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public boolean hasRunPolicy() { - return runPolicyBuilder_ != null || runPolicy_ != null; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { - if (runPolicyBuilder_ == null) { - return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } else { - return runPolicyBuilder_.getMessage(); - } - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder setRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { - if (runPolicyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - runPolicy_ = value; - onChanged(); - } else { - runPolicyBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder setRunPolicy( - flyteidl.plugins.kubeflow.Common.RunPolicy.Builder builderForValue) { - if (runPolicyBuilder_ == null) { - runPolicy_ = builderForValue.build(); - onChanged(); - } else { - runPolicyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder mergeRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { - if (runPolicyBuilder_ == null) { - if (runPolicy_ != null) { - runPolicy_ = - flyteidl.plugins.kubeflow.Common.RunPolicy.newBuilder(runPolicy_).mergeFrom(value).buildPartial(); - } else { - runPolicy_ = value; - } - onChanged(); - } else { - runPolicyBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public Builder clearRunPolicy() { - if (runPolicyBuilder_ == null) { - runPolicy_ = null; - onChanged(); - } else { - runPolicy_ = null; - runPolicyBuilder_ = null; - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy.Builder getRunPolicyBuilder() { - - onChanged(); - return getRunPolicyFieldBuilder().getBuilder(); - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { - if (runPolicyBuilder_ != null) { - return runPolicyBuilder_.getMessageOrBuilder(); - } else { - return runPolicy_ == null ? - flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> - getRunPolicyFieldBuilder() { - if (runPolicyBuilder_ == null) { - runPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder>( - getRunPolicy(), - getParentForChildren(), - isClean()); - runPolicy_ = null; - } - return runPolicyBuilder_; - } - - private flyteidl.plugins.kubeflow.Pytorch.ElasticConfig elasticConfig_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder, flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder> elasticConfigBuilder_; - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public boolean hasElasticConfig() { - return elasticConfigBuilder_ != null || elasticConfig_ != null; - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getElasticConfig() { - if (elasticConfigBuilder_ == null) { - return elasticConfig_ == null ? flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; - } else { - return elasticConfigBuilder_.getMessage(); - } - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public Builder setElasticConfig(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig value) { - if (elasticConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - elasticConfig_ = value; - onChanged(); - } else { - elasticConfigBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public Builder setElasticConfig( - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder builderForValue) { - if (elasticConfigBuilder_ == null) { - elasticConfig_ = builderForValue.build(); - onChanged(); - } else { - elasticConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public Builder mergeElasticConfig(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig value) { - if (elasticConfigBuilder_ == null) { - if (elasticConfig_ != null) { - elasticConfig_ = - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.newBuilder(elasticConfig_).mergeFrom(value).buildPartial(); - } else { - elasticConfig_ = value; - } - onChanged(); - } else { - elasticConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public Builder clearElasticConfig() { - if (elasticConfigBuilder_ == null) { - elasticConfig_ = null; - onChanged(); - } else { - elasticConfig_ = null; - elasticConfigBuilder_ = null; - } - - return this; - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder getElasticConfigBuilder() { - - onChanged(); - return getElasticConfigFieldBuilder().getBuilder(); - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - public flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { - if (elasticConfigBuilder_ != null) { - return elasticConfigBuilder_.getMessageOrBuilder(); - } else { - return elasticConfig_ == null ? - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; - } - } - /** - *
-       * config for an elastic pytorch job
-       * 
- * - * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder, flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder> - getElasticConfigFieldBuilder() { - if (elasticConfigBuilder_ == null) { - elasticConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Pytorch.ElasticConfig, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder, flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder>( - getElasticConfig(), - getParentForChildren(), - isClean()); - elasticConfig_ = null; - } - return elasticConfigBuilder_; - } - @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.plugins.kubeflow.DistributedPyTorchTrainingTask) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) - private static final flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask(); - } - - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedPyTorchTrainingTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedPyTorchTrainingTask(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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DistributedPyTorchTrainingReplicaSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Number of replicas
-     * 
- * - * int32 replicas = 1; - */ - int getReplicas(); - - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - java.lang.String getImage(); - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - com.google.protobuf.ByteString - getImageBytes(); - - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - boolean hasResources(); - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.Resources getResources(); - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); - - /** - *
-     * RestartPolicy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - int getRestartPolicyValue(); - /** - *
-     * RestartPolicy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy(); - } - /** - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec} - */ - public static final class DistributedPyTorchTrainingReplicaSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - DistributedPyTorchTrainingReplicaSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedPyTorchTrainingReplicaSpec.newBuilder() to construct. - private DistributedPyTorchTrainingReplicaSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedPyTorchTrainingReplicaSpec() { - image_ = ""; - restartPolicy_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedPyTorchTrainingReplicaSpec( - 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: { - - replicas_ = input.readInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - image_ = s; - break; - } - case 26: { - flyteidl.core.Tasks.Resources.Builder subBuilder = null; - if (resources_ != null) { - subBuilder = resources_.toBuilder(); - } - resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resources_); - resources_ = subBuilder.buildPartial(); - } - - break; - } - case 32: { - int rawValue = input.readEnum(); - - restartPolicy_ = rawValue; - 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.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder.class); - } - - public static final int REPLICAS_FIELD_NUMBER = 1; - private int replicas_; - /** - *
-     * Number of replicas
-     * 
- * - * int32 replicas = 1; - */ - public int getReplicas() { - return replicas_; - } - - public static final int IMAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object image_; - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - 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(); - image_ = s; - return s; - } - } - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCES_FIELD_NUMBER = 3; - private flyteidl.core.Tasks.Resources resources_; - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resources_ != null; - } - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - return getResources(); - } - - public static final int RESTART_POLICY_FIELD_NUMBER = 4; - private int restartPolicy_; - /** - *
-     * RestartPolicy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public int getRestartPolicyValue() { - return restartPolicy_; - } - /** - *
-     * RestartPolicy determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; - } - - 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 (replicas_ != 0) { - output.writeInt32(1, replicas_); - } - if (!getImageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, image_); - } - if (resources_ != null) { - output.writeMessage(3, getResources()); - } - if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { - output.writeEnum(4, restartPolicy_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (replicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, replicas_); - } - if (!getImageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, image_); - } - if (resources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResources()); - } - if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, restartPolicy_); - } - 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec other = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec) obj; - - if (getReplicas() - != other.getReplicas()) return false; - if (!getImage() - .equals(other.getImage())) return false; - if (hasResources() != other.hasResources()) return false; - if (hasResources()) { - if (!getResources() - .equals(other.getResources())) return false; - } - if (restartPolicy_ != other.restartPolicy_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getReplicas(); - hash = (37 * hash) + IMAGE_FIELD_NUMBER; - hash = (53 * hash) + getImage().hashCode(); - if (hasResources()) { - hash = (37 * hash) + RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getResources().hashCode(); - } - hash = (37 * hash) + RESTART_POLICY_FIELD_NUMBER; - hash = (53 * hash) + restartPolicy_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec 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.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.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(); - replicas_ = 0; - - image_ = ""; - - if (resourcesBuilder_ == null) { - resources_ = null; - } else { - resources_ = null; - resourcesBuilder_ = null; - } - restartPolicy_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec build() { - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec buildPartial() { - flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec result = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec(this); - result.replicas_ = replicas_; - result.image_ = image_; - if (resourcesBuilder_ == null) { - result.resources_ = resources_; - } else { - result.resources_ = resourcesBuilder_.build(); - } - result.restartPolicy_ = restartPolicy_; - 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec) { - return mergeFrom((flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec other) { - if (other == flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance()) return this; - if (other.getReplicas() != 0) { - setReplicas(other.getReplicas()); - } - if (!other.getImage().isEmpty()) { - image_ = other.image_; - onChanged(); - } - if (other.hasResources()) { - mergeResources(other.getResources()); - } - if (other.restartPolicy_ != 0) { - setRestartPolicyValue(other.getRestartPolicyValue()); - } - 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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int replicas_ ; - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public int getReplicas() { - return replicas_; - } - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public Builder setReplicas(int value) { - - replicas_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public Builder clearReplicas() { - - replicas_ = 0; - onChanged(); - return this; - } - - private java.lang.Object image_ = ""; - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - image_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder setImage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - image_ = value; - onChanged(); - return this; - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder clearImage() { - - image_ = getDefaultInstance().getImage(); - onChanged(); - return this; - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - image_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.Resources resources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resourcesBuilder_ != null || resources_ != null; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - if (resourcesBuilder_ == null) { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } else { - return resourcesBuilder_.getMessage(); - } - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resources_ = value; - onChanged(); - } else { - resourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources( - flyteidl.core.Tasks.Resources.Builder builderForValue) { - if (resourcesBuilder_ == null) { - resources_ = builderForValue.build(); - onChanged(); - } else { - resourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder mergeResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (resources_ != null) { - resources_ = - flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); - } else { - resources_ = value; - } - onChanged(); - } else { - resourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder clearResources() { - if (resourcesBuilder_ == null) { - resources_ = null; - onChanged(); - } else { - resources_ = null; - resourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { - - onChanged(); - return getResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - if (resourcesBuilder_ != null) { - return resourcesBuilder_.getMessageOrBuilder(); - } else { - return resources_ == null ? - flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> - getResourcesFieldBuilder() { - if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( - getResources(), - getParentForChildren(), - isClean()); - resources_ = null; - } - return resourcesBuilder_; - } - - private int restartPolicy_ = 0; - /** - *
-       * RestartPolicy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public int getRestartPolicyValue() { - return restartPolicy_; - } - /** - *
-       * RestartPolicy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder setRestartPolicyValue(int value) { - restartPolicy_ = value; - onChanged(); - return this; - } - /** - *
-       * RestartPolicy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; - } - /** - *
-       * RestartPolicy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder setRestartPolicy(flyteidl.plugins.kubeflow.Common.RestartPolicy value) { - if (value == null) { - throw new NullPointerException(); - } - - restartPolicy_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * RestartPolicy determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder clearRestartPolicy() { - - restartPolicy_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) - private static final flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec(); - } - - public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedPyTorchTrainingReplicaSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedPyTorchTrainingReplicaSpec(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.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'flyteidl/plugins/kubeflow/pytorch.prot" + - "o\022\031flyteidl.plugins.kubeflow\032\031flyteidl/c" + - "ore/tasks.proto\032&flyteidl/plugins/kubefl" + - "ow/common.proto\"\177\n\rElasticConfig\022\024\n\014rdzv" + - "_backend\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014" + - "max_replicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001" + - "(\005\022\024\n\014max_restarts\030\005 \001(\005\"\322\002\n\036Distributed" + - "PyTorchTrainingTask\022Y\n\017worker_replicas\030\001" + - " \001(\0132@.flyteidl.plugins.kubeflow.Distrib" + - "utedPyTorchTrainingReplicaSpec\022Y\n\017master" + - "_replicas\030\002 \001(\0132@.flyteidl.plugins.kubef" + - "low.DistributedPyTorchTrainingReplicaSpe" + - "c\0228\n\nrun_policy\030\003 \001(\0132$.flyteidl.plugins" + - ".kubeflow.RunPolicy\022@\n\016elastic_config\030\004 " + - "\001(\0132(.flyteidl.plugins.kubeflow.ElasticC" + - "onfig\"\267\001\n%DistributedPyTorchTrainingRepl" + - "icaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001(\t" + - "\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Reso" + - "urces\022@\n\016restart_policy\030\004 \001(\0162(.flyteidl" + - ".plugins.kubeflow.RestartPolicyB?Z=githu" + - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" + - "flyteidl/pluginsb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Tasks.getDescriptor(), - flyteidl.plugins.kubeflow.Common.getDescriptor(), - }, assigner); - internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor, - new java.lang.String[] { "RdzvBackend", "MinReplicas", "MaxReplicas", "NprocPerNode", "MaxRestarts", }); - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor, - new java.lang.String[] { "WorkerReplicas", "MasterReplicas", "RunPolicy", "ElasticConfig", }); - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor, - new java.lang.String[] { "Replicas", "Image", "Resources", "RestartPolicy", }); - flyteidl.core.Tasks.getDescriptor(); - flyteidl.plugins.kubeflow.Common.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Tensorflow.java b/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Tensorflow.java deleted file mode 100644 index 324f3e5d01..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/plugins/kubeflow/Tensorflow.java +++ /dev/null @@ -1,2861 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/plugins/kubeflow/tensorflow.proto - -package flyteidl.plugins.kubeflow; - -public final class Tensorflow { - private Tensorflow() {} - 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 DistributedTensorflowTrainingTaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - boolean hasWorkerReplicas(); - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getWorkerReplicas(); - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder(); - - /** - *
-     * Parameter server replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - boolean hasPsReplicas(); - /** - *
-     * Parameter server replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getPsReplicas(); - /** - *
-     * Parameter server replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getPsReplicasOrBuilder(); - - /** - *
-     * Chief replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - boolean hasChiefReplicas(); - /** - *
-     * Chief replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getChiefReplicas(); - /** - *
-     * Chief replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getChiefReplicasOrBuilder(); - - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - boolean hasRunPolicy(); - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy(); - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder(); - - /** - *
-     * Evaluator replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - boolean hasEvaluatorReplicas(); - /** - *
-     * Evaluator replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getEvaluatorReplicas(); - /** - *
-     * Evaluator replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getEvaluatorReplicasOrBuilder(); - } - /** - *
-   * Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
-   * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask} - */ - public static final class DistributedTensorflowTrainingTask extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - DistributedTensorflowTrainingTaskOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedTensorflowTrainingTask.newBuilder() to construct. - private DistributedTensorflowTrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedTensorflowTrainingTask() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedTensorflowTrainingTask( - 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder subBuilder = null; - if (workerReplicas_ != null) { - subBuilder = workerReplicas_.toBuilder(); - } - workerReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workerReplicas_); - workerReplicas_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder subBuilder = null; - if (psReplicas_ != null) { - subBuilder = psReplicas_.toBuilder(); - } - psReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(psReplicas_); - psReplicas_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder subBuilder = null; - if (chiefReplicas_ != null) { - subBuilder = chiefReplicas_.toBuilder(); - } - chiefReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(chiefReplicas_); - chiefReplicas_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - flyteidl.plugins.kubeflow.Common.RunPolicy.Builder subBuilder = null; - if (runPolicy_ != null) { - subBuilder = runPolicy_.toBuilder(); - } - runPolicy_ = input.readMessage(flyteidl.plugins.kubeflow.Common.RunPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(runPolicy_); - runPolicy_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder subBuilder = null; - if (evaluatorReplicas_ != null) { - subBuilder = evaluatorReplicas_.toBuilder(); - } - evaluatorReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(evaluatorReplicas_); - evaluatorReplicas_ = 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.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.Builder.class); - } - - public static final int WORKER_REPLICAS_FIELD_NUMBER = 1; - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec workerReplicas_; - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public boolean hasWorkerReplicas() { - return workerReplicas_ != null; - } - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getWorkerReplicas() { - return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } - /** - *
-     * Worker replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { - return getWorkerReplicas(); - } - - public static final int PS_REPLICAS_FIELD_NUMBER = 2; - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec psReplicas_; - /** - *
-     * Parameter server replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public boolean hasPsReplicas() { - return psReplicas_ != null; - } - /** - *
-     * Parameter server replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getPsReplicas() { - return psReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : psReplicas_; - } - /** - *
-     * Parameter server replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getPsReplicasOrBuilder() { - return getPsReplicas(); - } - - public static final int CHIEF_REPLICAS_FIELD_NUMBER = 3; - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec chiefReplicas_; - /** - *
-     * Chief replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public boolean hasChiefReplicas() { - return chiefReplicas_ != null; - } - /** - *
-     * Chief replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getChiefReplicas() { - return chiefReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : chiefReplicas_; - } - /** - *
-     * Chief replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getChiefReplicasOrBuilder() { - return getChiefReplicas(); - } - - public static final int RUN_POLICY_FIELD_NUMBER = 4; - private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public boolean hasRunPolicy() { - return runPolicy_ != null; - } - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { - return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } - /** - *
-     * RunPolicy encapsulates various runtime policies of the distributed training
-     * job, for example how to clean up resources and how long the job can stay
-     * active.
-     * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { - return getRunPolicy(); - } - - public static final int EVALUATOR_REPLICAS_FIELD_NUMBER = 5; - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec evaluatorReplicas_; - /** - *
-     * Evaluator replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public boolean hasEvaluatorReplicas() { - return evaluatorReplicas_ != null; - } - /** - *
-     * Evaluator replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getEvaluatorReplicas() { - return evaluatorReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : evaluatorReplicas_; - } - /** - *
-     * Evaluator replicas spec
-     * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getEvaluatorReplicasOrBuilder() { - return getEvaluatorReplicas(); - } - - 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 (workerReplicas_ != null) { - output.writeMessage(1, getWorkerReplicas()); - } - if (psReplicas_ != null) { - output.writeMessage(2, getPsReplicas()); - } - if (chiefReplicas_ != null) { - output.writeMessage(3, getChiefReplicas()); - } - if (runPolicy_ != null) { - output.writeMessage(4, getRunPolicy()); - } - if (evaluatorReplicas_ != null) { - output.writeMessage(5, getEvaluatorReplicas()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (workerReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWorkerReplicas()); - } - if (psReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPsReplicas()); - } - if (chiefReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getChiefReplicas()); - } - if (runPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRunPolicy()); - } - if (evaluatorReplicas_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEvaluatorReplicas()); - } - 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask other = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask) obj; - - if (hasWorkerReplicas() != other.hasWorkerReplicas()) return false; - if (hasWorkerReplicas()) { - if (!getWorkerReplicas() - .equals(other.getWorkerReplicas())) return false; - } - if (hasPsReplicas() != other.hasPsReplicas()) return false; - if (hasPsReplicas()) { - if (!getPsReplicas() - .equals(other.getPsReplicas())) return false; - } - if (hasChiefReplicas() != other.hasChiefReplicas()) return false; - if (hasChiefReplicas()) { - if (!getChiefReplicas() - .equals(other.getChiefReplicas())) return false; - } - if (hasRunPolicy() != other.hasRunPolicy()) return false; - if (hasRunPolicy()) { - if (!getRunPolicy() - .equals(other.getRunPolicy())) return false; - } - if (hasEvaluatorReplicas() != other.hasEvaluatorReplicas()) return false; - if (hasEvaluatorReplicas()) { - if (!getEvaluatorReplicas() - .equals(other.getEvaluatorReplicas())) 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 (hasWorkerReplicas()) { - hash = (37 * hash) + WORKER_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getWorkerReplicas().hashCode(); - } - if (hasPsReplicas()) { - hash = (37 * hash) + PS_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getPsReplicas().hashCode(); - } - if (hasChiefReplicas()) { - hash = (37 * hash) + CHIEF_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getChiefReplicas().hashCode(); - } - if (hasRunPolicy()) { - hash = (37 * hash) + RUN_POLICY_FIELD_NUMBER; - hash = (53 * hash) + getRunPolicy().hashCode(); - } - if (hasEvaluatorReplicas()) { - hash = (37 * hash) + EVALUATOR_REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getEvaluatorReplicas().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask 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; - } - /** - *
-     * Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
-     * 
- * - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.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 (workerReplicasBuilder_ == null) { - workerReplicas_ = null; - } else { - workerReplicas_ = null; - workerReplicasBuilder_ = null; - } - if (psReplicasBuilder_ == null) { - psReplicas_ = null; - } else { - psReplicas_ = null; - psReplicasBuilder_ = null; - } - if (chiefReplicasBuilder_ == null) { - chiefReplicas_ = null; - } else { - chiefReplicas_ = null; - chiefReplicasBuilder_ = null; - } - if (runPolicyBuilder_ == null) { - runPolicy_ = null; - } else { - runPolicy_ = null; - runPolicyBuilder_ = null; - } - if (evaluatorReplicasBuilder_ == null) { - evaluatorReplicas_ = null; - } else { - evaluatorReplicas_ = null; - evaluatorReplicasBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask build() { - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask buildPartial() { - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask result = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask(this); - if (workerReplicasBuilder_ == null) { - result.workerReplicas_ = workerReplicas_; - } else { - result.workerReplicas_ = workerReplicasBuilder_.build(); - } - if (psReplicasBuilder_ == null) { - result.psReplicas_ = psReplicas_; - } else { - result.psReplicas_ = psReplicasBuilder_.build(); - } - if (chiefReplicasBuilder_ == null) { - result.chiefReplicas_ = chiefReplicas_; - } else { - result.chiefReplicas_ = chiefReplicasBuilder_.build(); - } - if (runPolicyBuilder_ == null) { - result.runPolicy_ = runPolicy_; - } else { - result.runPolicy_ = runPolicyBuilder_.build(); - } - if (evaluatorReplicasBuilder_ == null) { - result.evaluatorReplicas_ = evaluatorReplicas_; - } else { - result.evaluatorReplicas_ = evaluatorReplicasBuilder_.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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask) { - return mergeFrom((flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask other) { - if (other == flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.getDefaultInstance()) return this; - if (other.hasWorkerReplicas()) { - mergeWorkerReplicas(other.getWorkerReplicas()); - } - if (other.hasPsReplicas()) { - mergePsReplicas(other.getPsReplicas()); - } - if (other.hasChiefReplicas()) { - mergeChiefReplicas(other.getChiefReplicas()); - } - if (other.hasRunPolicy()) { - mergeRunPolicy(other.getRunPolicy()); - } - if (other.hasEvaluatorReplicas()) { - mergeEvaluatorReplicas(other.getEvaluatorReplicas()); - } - 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec workerReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> workerReplicasBuilder_; - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public boolean hasWorkerReplicas() { - return workerReplicasBuilder_ != null || workerReplicas_ != null; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getWorkerReplicas() { - if (workerReplicasBuilder_ == null) { - return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } else { - return workerReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public Builder setWorkerReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (workerReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workerReplicas_ = value; - onChanged(); - } else { - workerReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public Builder setWorkerReplicas( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder builderForValue) { - if (workerReplicasBuilder_ == null) { - workerReplicas_ = builderForValue.build(); - onChanged(); - } else { - workerReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public Builder mergeWorkerReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (workerReplicasBuilder_ == null) { - if (workerReplicas_ != null) { - workerReplicas_ = - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder(workerReplicas_).mergeFrom(value).buildPartial(); - } else { - workerReplicas_ = value; - } - onChanged(); - } else { - workerReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public Builder clearWorkerReplicas() { - if (workerReplicasBuilder_ == null) { - workerReplicas_ = null; - onChanged(); - } else { - workerReplicas_ = null; - workerReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder getWorkerReplicasBuilder() { - - onChanged(); - return getWorkerReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { - if (workerReplicasBuilder_ != null) { - return workerReplicasBuilder_.getMessageOrBuilder(); - } else { - return workerReplicas_ == null ? - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; - } - } - /** - *
-       * Worker replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> - getWorkerReplicasFieldBuilder() { - if (workerReplicasBuilder_ == null) { - workerReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder>( - getWorkerReplicas(), - getParentForChildren(), - isClean()); - workerReplicas_ = null; - } - return workerReplicasBuilder_; - } - - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec psReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> psReplicasBuilder_; - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public boolean hasPsReplicas() { - return psReplicasBuilder_ != null || psReplicas_ != null; - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getPsReplicas() { - if (psReplicasBuilder_ == null) { - return psReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : psReplicas_; - } else { - return psReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public Builder setPsReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (psReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - psReplicas_ = value; - onChanged(); - } else { - psReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public Builder setPsReplicas( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder builderForValue) { - if (psReplicasBuilder_ == null) { - psReplicas_ = builderForValue.build(); - onChanged(); - } else { - psReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public Builder mergePsReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (psReplicasBuilder_ == null) { - if (psReplicas_ != null) { - psReplicas_ = - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder(psReplicas_).mergeFrom(value).buildPartial(); - } else { - psReplicas_ = value; - } - onChanged(); - } else { - psReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public Builder clearPsReplicas() { - if (psReplicasBuilder_ == null) { - psReplicas_ = null; - onChanged(); - } else { - psReplicas_ = null; - psReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder getPsReplicasBuilder() { - - onChanged(); - return getPsReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getPsReplicasOrBuilder() { - if (psReplicasBuilder_ != null) { - return psReplicasBuilder_.getMessageOrBuilder(); - } else { - return psReplicas_ == null ? - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : psReplicas_; - } - } - /** - *
-       * Parameter server replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> - getPsReplicasFieldBuilder() { - if (psReplicasBuilder_ == null) { - psReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder>( - getPsReplicas(), - getParentForChildren(), - isClean()); - psReplicas_ = null; - } - return psReplicasBuilder_; - } - - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec chiefReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> chiefReplicasBuilder_; - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public boolean hasChiefReplicas() { - return chiefReplicasBuilder_ != null || chiefReplicas_ != null; - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getChiefReplicas() { - if (chiefReplicasBuilder_ == null) { - return chiefReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : chiefReplicas_; - } else { - return chiefReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public Builder setChiefReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (chiefReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - chiefReplicas_ = value; - onChanged(); - } else { - chiefReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public Builder setChiefReplicas( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder builderForValue) { - if (chiefReplicasBuilder_ == null) { - chiefReplicas_ = builderForValue.build(); - onChanged(); - } else { - chiefReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public Builder mergeChiefReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (chiefReplicasBuilder_ == null) { - if (chiefReplicas_ != null) { - chiefReplicas_ = - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder(chiefReplicas_).mergeFrom(value).buildPartial(); - } else { - chiefReplicas_ = value; - } - onChanged(); - } else { - chiefReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public Builder clearChiefReplicas() { - if (chiefReplicasBuilder_ == null) { - chiefReplicas_ = null; - onChanged(); - } else { - chiefReplicas_ = null; - chiefReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder getChiefReplicasBuilder() { - - onChanged(); - return getChiefReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getChiefReplicasOrBuilder() { - if (chiefReplicasBuilder_ != null) { - return chiefReplicasBuilder_.getMessageOrBuilder(); - } else { - return chiefReplicas_ == null ? - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : chiefReplicas_; - } - } - /** - *
-       * Chief replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> - getChiefReplicasFieldBuilder() { - if (chiefReplicasBuilder_ == null) { - chiefReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder>( - getChiefReplicas(), - getParentForChildren(), - isClean()); - chiefReplicas_ = null; - } - return chiefReplicasBuilder_; - } - - private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> runPolicyBuilder_; - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public boolean hasRunPolicy() { - return runPolicyBuilder_ != null || runPolicy_ != null; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { - if (runPolicyBuilder_ == null) { - return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } else { - return runPolicyBuilder_.getMessage(); - } - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public Builder setRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { - if (runPolicyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - runPolicy_ = value; - onChanged(); - } else { - runPolicyBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public Builder setRunPolicy( - flyteidl.plugins.kubeflow.Common.RunPolicy.Builder builderForValue) { - if (runPolicyBuilder_ == null) { - runPolicy_ = builderForValue.build(); - onChanged(); - } else { - runPolicyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public Builder mergeRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { - if (runPolicyBuilder_ == null) { - if (runPolicy_ != null) { - runPolicy_ = - flyteidl.plugins.kubeflow.Common.RunPolicy.newBuilder(runPolicy_).mergeFrom(value).buildPartial(); - } else { - runPolicy_ = value; - } - onChanged(); - } else { - runPolicyBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public Builder clearRunPolicy() { - if (runPolicyBuilder_ == null) { - runPolicy_ = null; - onChanged(); - } else { - runPolicy_ = null; - runPolicyBuilder_ = null; - } - - return this; - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicy.Builder getRunPolicyBuilder() { - - onChanged(); - return getRunPolicyFieldBuilder().getBuilder(); - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { - if (runPolicyBuilder_ != null) { - return runPolicyBuilder_.getMessageOrBuilder(); - } else { - return runPolicy_ == null ? - flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; - } - } - /** - *
-       * RunPolicy encapsulates various runtime policies of the distributed training
-       * job, for example how to clean up resources and how long the job can stay
-       * active.
-       * 
- * - * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> - getRunPolicyFieldBuilder() { - if (runPolicyBuilder_ == null) { - runPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder>( - getRunPolicy(), - getParentForChildren(), - isClean()); - runPolicy_ = null; - } - return runPolicyBuilder_; - } - - private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec evaluatorReplicas_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> evaluatorReplicasBuilder_; - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public boolean hasEvaluatorReplicas() { - return evaluatorReplicasBuilder_ != null || evaluatorReplicas_ != null; - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getEvaluatorReplicas() { - if (evaluatorReplicasBuilder_ == null) { - return evaluatorReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : evaluatorReplicas_; - } else { - return evaluatorReplicasBuilder_.getMessage(); - } - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public Builder setEvaluatorReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (evaluatorReplicasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - evaluatorReplicas_ = value; - onChanged(); - } else { - evaluatorReplicasBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public Builder setEvaluatorReplicas( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder builderForValue) { - if (evaluatorReplicasBuilder_ == null) { - evaluatorReplicas_ = builderForValue.build(); - onChanged(); - } else { - evaluatorReplicasBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public Builder mergeEvaluatorReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { - if (evaluatorReplicasBuilder_ == null) { - if (evaluatorReplicas_ != null) { - evaluatorReplicas_ = - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder(evaluatorReplicas_).mergeFrom(value).buildPartial(); - } else { - evaluatorReplicas_ = value; - } - onChanged(); - } else { - evaluatorReplicasBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public Builder clearEvaluatorReplicas() { - if (evaluatorReplicasBuilder_ == null) { - evaluatorReplicas_ = null; - onChanged(); - } else { - evaluatorReplicas_ = null; - evaluatorReplicasBuilder_ = null; - } - - return this; - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder getEvaluatorReplicasBuilder() { - - onChanged(); - return getEvaluatorReplicasFieldBuilder().getBuilder(); - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getEvaluatorReplicasOrBuilder() { - if (evaluatorReplicasBuilder_ != null) { - return evaluatorReplicasBuilder_.getMessageOrBuilder(); - } else { - return evaluatorReplicas_ == null ? - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : evaluatorReplicas_; - } - } - /** - *
-       * Evaluator replicas spec
-       * 
- * - * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> - getEvaluatorReplicasFieldBuilder() { - if (evaluatorReplicasBuilder_ == null) { - evaluatorReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder>( - getEvaluatorReplicas(), - getParentForChildren(), - isClean()); - evaluatorReplicas_ = null; - } - return evaluatorReplicasBuilder_; - } - @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.plugins.kubeflow.DistributedTensorflowTrainingTask) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) - private static final flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask(); - } - - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedTensorflowTrainingTask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedTensorflowTrainingTask(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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface DistributedTensorflowTrainingReplicaSpecOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Number of replicas
-     * 
- * - * int32 replicas = 1; - */ - int getReplicas(); - - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - java.lang.String getImage(); - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - com.google.protobuf.ByteString - getImageBytes(); - - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - boolean hasResources(); - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.Resources getResources(); - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); - - /** - *
-     * RestartPolicy Determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - int getRestartPolicyValue(); - /** - *
-     * RestartPolicy Determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy(); - } - /** - * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec} - */ - public static final class DistributedTensorflowTrainingReplicaSpec extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - DistributedTensorflowTrainingReplicaSpecOrBuilder { - private static final long serialVersionUID = 0L; - // Use DistributedTensorflowTrainingReplicaSpec.newBuilder() to construct. - private DistributedTensorflowTrainingReplicaSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DistributedTensorflowTrainingReplicaSpec() { - image_ = ""; - restartPolicy_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DistributedTensorflowTrainingReplicaSpec( - 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: { - - replicas_ = input.readInt32(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - image_ = s; - break; - } - case 26: { - flyteidl.core.Tasks.Resources.Builder subBuilder = null; - if (resources_ != null) { - subBuilder = resources_.toBuilder(); - } - resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resources_); - resources_ = subBuilder.buildPartial(); - } - - break; - } - case 32: { - int rawValue = input.readEnum(); - - restartPolicy_ = rawValue; - 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.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder.class); - } - - public static final int REPLICAS_FIELD_NUMBER = 1; - private int replicas_; - /** - *
-     * Number of replicas
-     * 
- * - * int32 replicas = 1; - */ - public int getReplicas() { - return replicas_; - } - - public static final int IMAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object image_; - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - 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(); - image_ = s; - return s; - } - } - /** - *
-     * Image used for the replica group
-     * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCES_FIELD_NUMBER = 3; - private flyteidl.core.Tasks.Resources resources_; - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resources_ != null; - } - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - /** - *
-     * Resources required for the replica group
-     * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - return getResources(); - } - - public static final int RESTART_POLICY_FIELD_NUMBER = 4; - private int restartPolicy_; - /** - *
-     * RestartPolicy Determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public int getRestartPolicyValue() { - return restartPolicy_; - } - /** - *
-     * RestartPolicy Determines whether pods will be restarted when they exit
-     * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; - } - - 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 (replicas_ != 0) { - output.writeInt32(1, replicas_); - } - if (!getImageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, image_); - } - if (resources_ != null) { - output.writeMessage(3, getResources()); - } - if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { - output.writeEnum(4, restartPolicy_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (replicas_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, replicas_); - } - if (!getImageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, image_); - } - if (resources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResources()); - } - if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, restartPolicy_); - } - 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec)) { - return super.equals(obj); - } - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec other = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec) obj; - - if (getReplicas() - != other.getReplicas()) return false; - if (!getImage() - .equals(other.getImage())) return false; - if (hasResources() != other.hasResources()) return false; - if (hasResources()) { - if (!getResources() - .equals(other.getResources())) return false; - } - if (restartPolicy_ != other.restartPolicy_) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REPLICAS_FIELD_NUMBER; - hash = (53 * hash) + getReplicas(); - hash = (37 * hash) + IMAGE_FIELD_NUMBER; - hash = (53 * hash) + getImage().hashCode(); - if (hasResources()) { - hash = (37 * hash) + RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + getResources().hashCode(); - } - hash = (37 * hash) + RESTART_POLICY_FIELD_NUMBER; - hash = (53 * hash) + restartPolicy_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec 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.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder.class); - } - - // Construct using flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.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(); - replicas_ = 0; - - image_ = ""; - - if (resourcesBuilder_ == null) { - resources_ = null; - } else { - resources_ = null; - resourcesBuilder_ = null; - } - restartPolicy_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getDefaultInstanceForType() { - return flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec build() { - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec buildPartial() { - flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec result = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec(this); - result.replicas_ = replicas_; - result.image_ = image_; - if (resourcesBuilder_ == null) { - result.resources_ = resources_; - } else { - result.resources_ = resourcesBuilder_.build(); - } - result.restartPolicy_ = restartPolicy_; - 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec) { - return mergeFrom((flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec other) { - if (other == flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance()) return this; - if (other.getReplicas() != 0) { - setReplicas(other.getReplicas()); - } - if (!other.getImage().isEmpty()) { - image_ = other.image_; - onChanged(); - } - if (other.hasResources()) { - mergeResources(other.getResources()); - } - if (other.restartPolicy_ != 0) { - setRestartPolicyValue(other.getRestartPolicyValue()); - } - 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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int replicas_ ; - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public int getReplicas() { - return replicas_; - } - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public Builder setReplicas(int value) { - - replicas_ = value; - onChanged(); - return this; - } - /** - *
-       * Number of replicas
-       * 
- * - * int32 replicas = 1; - */ - public Builder clearReplicas() { - - replicas_ = 0; - onChanged(); - return this; - } - - private java.lang.Object image_ = ""; - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public java.lang.String getImage() { - java.lang.Object ref = image_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - image_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public com.google.protobuf.ByteString - getImageBytes() { - java.lang.Object ref = image_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - image_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder setImage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - image_ = value; - onChanged(); - return this; - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder clearImage() { - - image_ = getDefaultInstance().getImage(); - onChanged(); - return this; - } - /** - *
-       * Image used for the replica group
-       * 
- * - * string image = 2; - */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - image_ = value; - onChanged(); - return this; - } - - private flyteidl.core.Tasks.Resources resources_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public boolean hasResources() { - return resourcesBuilder_ != null || resources_ != null; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources getResources() { - if (resourcesBuilder_ == null) { - return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } else { - return resourcesBuilder_.getMessage(); - } - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - resources_ = value; - onChanged(); - } else { - resourcesBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder setResources( - flyteidl.core.Tasks.Resources.Builder builderForValue) { - if (resourcesBuilder_ == null) { - resources_ = builderForValue.build(); - onChanged(); - } else { - resourcesBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder mergeResources(flyteidl.core.Tasks.Resources value) { - if (resourcesBuilder_ == null) { - if (resources_ != null) { - resources_ = - flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); - } else { - resources_ = value; - } - onChanged(); - } else { - resourcesBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public Builder clearResources() { - if (resourcesBuilder_ == null) { - resources_ = null; - onChanged(); - } else { - resources_ = null; - resourcesBuilder_ = null; - } - - return this; - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { - - onChanged(); - return getResourcesFieldBuilder().getBuilder(); - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { - if (resourcesBuilder_ != null) { - return resourcesBuilder_.getMessageOrBuilder(); - } else { - return resources_ == null ? - flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; - } - } - /** - *
-       * Resources required for the replica group
-       * 
- * - * .flyteidl.core.Resources resources = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> - getResourcesFieldBuilder() { - if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( - getResources(), - getParentForChildren(), - isClean()); - resources_ = null; - } - return resourcesBuilder_; - } - - private int restartPolicy_ = 0; - /** - *
-       * RestartPolicy Determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public int getRestartPolicyValue() { - return restartPolicy_; - } - /** - *
-       * RestartPolicy Determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder setRestartPolicyValue(int value) { - restartPolicy_ = value; - onChanged(); - return this; - } - /** - *
-       * RestartPolicy Determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { - @SuppressWarnings("deprecation") - flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); - return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; - } - /** - *
-       * RestartPolicy Determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder setRestartPolicy(flyteidl.plugins.kubeflow.Common.RestartPolicy value) { - if (value == null) { - throw new NullPointerException(); - } - - restartPolicy_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * RestartPolicy Determines whether pods will be restarted when they exit
-       * 
- * - * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; - */ - public Builder clearRestartPolicy() { - - restartPolicy_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - } - - // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) - private static final flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec(); - } - - public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DistributedTensorflowTrainingReplicaSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DistributedTensorflowTrainingReplicaSpec(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.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n*flyteidl/plugins/kubeflow/tensorflow.p" + - "roto\022\031flyteidl.plugins.kubeflow\032\031flyteid" + - "l/core/tasks.proto\032&flyteidl/plugins/kub" + - "eflow/common.proto\"\323\003\n!DistributedTensor" + - "flowTrainingTask\022\\\n\017worker_replicas\030\001 \001(" + - "\0132C.flyteidl.plugins.kubeflow.Distribute" + - "dTensorflowTrainingReplicaSpec\022X\n\013ps_rep" + - "licas\030\002 \001(\0132C.flyteidl.plugins.kubeflow." + - "DistributedTensorflowTrainingReplicaSpec" + - "\022[\n\016chief_replicas\030\003 \001(\0132C.flyteidl.plug" + - "ins.kubeflow.DistributedTensorflowTraini" + - "ngReplicaSpec\0228\n\nrun_policy\030\004 \001(\0132$.flyt" + - "eidl.plugins.kubeflow.RunPolicy\022_\n\022evalu" + - "ator_replicas\030\005 \001(\0132C.flyteidl.plugins.k" + - "ubeflow.DistributedTensorflowTrainingRep" + - "licaSpec\"\272\001\n(DistributedTensorflowTraini" + - "ngReplicaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image" + - "\030\002 \001(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.cor" + - "e.Resources\022@\n\016restart_policy\030\004 \001(\0162(.fl" + - "yteidl.plugins.kubeflow.RestartPolicyB?Z" + - "=github.com/flyteorg/flyte/flyteidl/gen/" + - "pb-go/flyteidl/pluginsb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Tasks.getDescriptor(), - flyteidl.plugins.kubeflow.Common.getDescriptor(), - }, assigner); - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor, - new java.lang.String[] { "WorkerReplicas", "PsReplicas", "ChiefReplicas", "RunPolicy", "EvaluatorReplicas", }); - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor, - new java.lang.String[] { "Replicas", "Image", "Resources", "RestartPolicy", }); - flyteidl.core.Tasks.getDescriptor(); - flyteidl.plugins.kubeflow.Common.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Admin.java b/flyteidl/gen/pb-java/flyteidl/service/Admin.java deleted file mode 100644 index 71f585035f..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/service/Admin.java +++ /dev/null @@ -1,485 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/admin.proto - -package flyteidl.service; - -public final class Admin { - private Admin() {} - 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 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/admin.proto\022\020flyteidl" + - ".service\032\034google/api/annotations.proto\032\034" + - "flyteidl/admin/project.proto\032.flyteidl/a" + - "dmin/project_domain_attributes.proto\032\'fl" + - "yteidl/admin/project_attributes.proto\032\031f" + - "lyteidl/admin/task.proto\032\035flyteidl/admin" + - "/workflow.proto\032(flyteidl/admin/workflow" + - "_attributes.proto\032 flyteidl/admin/launch" + - "_plan.proto\032\032flyteidl/admin/event.proto\032" + - "\036flyteidl/admin/execution.proto\032\'flyteid" + - "l/admin/matchable_resource.proto\032#flytei" + - "dl/admin/node_execution.proto\032#flyteidl/" + - "admin/task_execution.proto\032\034flyteidl/adm" + - "in/version.proto\032\033flyteidl/admin/common." + - "proto\032\'flyteidl/admin/description_entity" + - ".proto2\270y\n\014AdminService\022\216\001\n\nCreateTask\022!" + - ".flyteidl.admin.TaskCreateRequest\032\".flyt" + - "eidl.admin.TaskCreateResponse\"9\202\323\344\223\0023\"\r/" + - "api/v1/tasks:\001*Z\037\"\032/api/v1/tasks/org/{id" + - ".org}:\001*\022\330\001\n\007GetTask\022 .flyteidl.admin.Ob" + - "jectGetRequest\032\024.flyteidl.admin.Task\"\224\001\202" + - "\323\344\223\002\215\001\022=/api/v1/tasks/{id.project}/{id.d" + - "omain}/{id.name}/{id.version}ZL\022J/api/v1" + - "/tasks/org/{id.org}/{id.project}/{id.dom" + - "ain}/{id.name}/{id.version}\022\305\001\n\013ListTask" + - "Ids\0220.flyteidl.admin.NamedEntityIdentifi" + - "erListRequest\032).flyteidl.admin.NamedEnti" + - "tyIdentifierList\"Y\202\323\344\223\002S\022#/api/v1/task_i" + - "ds/{project}/{domain}Z,\022*/api/v1/tasks/o" + - "rg/{org}/{project}/{domain}\022\250\002\n\tListTask" + - "s\022#.flyteidl.admin.ResourceListRequest\032\030" + - ".flyteidl.admin.TaskList\"\333\001\202\323\344\223\002\324\001\0220/api" + - "/v1/tasks/{id.project}/{id.domain}/{id.n" + - "ame}Z?\022=/api/v1/tasks/org/{id.org}/{id.p" + - "roject}/{id.domain}/{id.name}Z(\022&/api/v1" + - "/tasks/{id.project}/{id.domain}Z5\0223/api/" + - "v1/tasks/org/{id.org}/{id.project}/{id.d" + - "omain}\022\242\001\n\016CreateWorkflow\022%.flyteidl.adm" + - "in.WorkflowCreateRequest\032&.flyteidl.admi" + - "n.WorkflowCreateResponse\"A\202\323\344\223\002;\"\021/api/v" + - "1/workflows:\001*Z#\"\036/api/v1/workflows/org/" + - "{id.org}:\001*\022\350\001\n\013GetWorkflow\022 .flyteidl.a" + - "dmin.ObjectGetRequest\032\030.flyteidl.admin.W" + - "orkflow\"\234\001\202\323\344\223\002\225\001\022A/api/v1/workflows/{id" + - ".project}/{id.domain}/{id.name}/{id.vers" + - "ion}ZP\022N/api/v1/workflows/org/{id.org}/{" + - "id.project}/{id.domain}/{id.name}/{id.ve" + - "rsion}\022\321\001\n\017ListWorkflowIds\0220.flyteidl.ad" + - "min.NamedEntityIdentifierListRequest\032).f" + - "lyteidl.admin.NamedEntityIdentifierList\"" + - "a\202\323\344\223\002[\022\'/api/v1/workflow_ids/{project}/" + - "{domain}Z0\022./api/v1/workflows/org/{org}/" + - "{project}/{domain}\022\300\002\n\rListWorkflows\022#.f" + - "lyteidl.admin.ResourceListRequest\032\034.flyt" + - "eidl.admin.WorkflowList\"\353\001\202\323\344\223\002\344\001\0224/api/" + - "v1/workflows/{id.project}/{id.domain}/{i" + - "d.name}ZC\022A/api/v1/workflows/org/{id.org" + - "}/{id.project}/{id.domain}/{id.name}Z,\022*" + - "/api/v1/workflows/{id.project}/{id.domai" + - "n}Z9\0227/api/v1/workflows/org/{id.org}/{id" + - ".project}/{id.domain}\022\256\001\n\020CreateLaunchPl" + - "an\022\'.flyteidl.admin.LaunchPlanCreateRequ" + - "est\032(.flyteidl.admin.LaunchPlanCreateRes" + - "ponse\"G\202\323\344\223\002A\"\024/api/v1/launch_plans:\001*Z&" + - "\"!/api/v1/launch_plans/org/{id.org}:\001*\022\362" + - "\001\n\rGetLaunchPlan\022 .flyteidl.admin.Object" + - "GetRequest\032\032.flyteidl.admin.LaunchPlan\"\242" + - "\001\202\323\344\223\002\233\001\022D/api/v1/launch_plans/{id.proje" + - "ct}/{id.domain}/{id.name}/{id.version}ZS" + - "\022Q/api/v1/launch_plans/org/{id.org}/{id." + - "project}/{id.domain}/{id.name}/{id.versi" + - "on}\022\363\001\n\023GetActiveLaunchPlan\022\'.flyteidl.a" + - "dmin.ActiveLaunchPlanRequest\032\032.flyteidl." + - "admin.LaunchPlan\"\226\001\202\323\344\223\002\217\001\022>/api/v1/acti" + - "ve_launch_plans/{id.project}/{id.domain}" + - "/{id.name}ZM\022K/api/v1/active_launch_plan" + - "s/org/{id.org}/{id.project}/{id.domain}/" + - "{id.name}\022\330\001\n\025ListActiveLaunchPlans\022+.fl" + - "yteidl.admin.ActiveLaunchPlanListRequest" + - "\032\036.flyteidl.admin.LaunchPlanList\"r\202\323\344\223\002l" + - "\022./api/v1/active_launch_plans/{project}/" + - "{domain}Z:\0228/api/v1/active_launch_plans/" + - "org/{org}/{project}/{domain}\022\334\001\n\021ListLau" + - "nchPlanIds\0220.flyteidl.admin.NamedEntityI" + - "dentifierListRequest\032).flyteidl.admin.Na" + - "medEntityIdentifierList\"j\202\323\344\223\002d\022*/api/v1" + - "/launch_plan_ids/{project}/{domain}Z6\0224/" + - "api/v1/launch_plan_ids/org/{org}/{projec" + - "t}/{domain}\022\320\002\n\017ListLaunchPlans\022#.flytei" + - "dl.admin.ResourceListRequest\032\036.flyteidl." + - "admin.LaunchPlanList\"\367\001\202\323\344\223\002\360\001\0227/api/v1/" + - "launch_plans/{id.project}/{id.domain}/{i" + - "d.name}ZF\022D/api/v1/launch_plans/org/{id." + - "org}/{id.project}/{id.domain}/{id.name}Z" + - "/\022-/api/v1/launch_plans/{id.project}/{id" + - ".domain}Z<\022:/api/v1/launch_plans/org/{id" + - ".org}/{id.project}/{id.domain}\022\215\002\n\020Updat" + - "eLaunchPlan\022\'.flyteidl.admin.LaunchPlanU" + - "pdateRequest\032(.flyteidl.admin.LaunchPlan" + - "UpdateResponse\"\245\001\202\323\344\223\002\236\001\032D/api/v1/launch" + - "_plans/{id.project}/{id.domain}/{id.name" + - "}/{id.version}:\001*ZS\032Q/api/v1/launch_plan" + - "s/org/{id.org}/{id.project}/{id.domain}/" + - "{id.name}/{id.version}\022\244\001\n\017CreateExecuti" + - "on\022&.flyteidl.admin.ExecutionCreateReque" + - "st\032\'.flyteidl.admin.ExecutionCreateRespo" + - "nse\"@\202\323\344\223\002:\"\022/api/v1/executions:\001*Z!\032\034/a" + - "pi/v1/executions/org/{org}:\001*\022\275\001\n\021Relaun" + - "chExecution\022(.flyteidl.admin.ExecutionRe" + - "launchRequest\032\'.flyteidl.admin.Execution" + - "CreateResponse\"U\202\323\344\223\002O\"\033/api/v1/executio" + - "ns/relaunch:\001*Z-\"(/api/v1/executions/org" + - "/{id.org}/relaunch:\001*\022\271\001\n\020RecoverExecuti" + - "on\022\'.flyteidl.admin.ExecutionRecoverRequ" + - "est\032\'.flyteidl.admin.ExecutionCreateResp" + - "onse\"S\202\323\344\223\002M\"\032/api/v1/executions/recover" + - ":\001*Z,\"\'/api/v1/executions/org/{id.org}/r" + - "ecover:\001*\022\334\001\n\014GetExecution\022+.flyteidl.ad" + - "min.WorkflowExecutionGetRequest\032\031.flytei" + - "dl.admin.Execution\"\203\001\202\323\344\223\002}\0225/api/v1/exe" + - "cutions/{id.project}/{id.domain}/{id.nam" + - "e}ZD\022B/api/v1/executions/org/{id.org}/{i" + - "d.project}/{id.domain}/{id.name}\022\357\001\n\017Upd" + - "ateExecution\022&.flyteidl.admin.ExecutionU" + - "pdateRequest\032\'.flyteidl.admin.ExecutionU" + - "pdateResponse\"\212\001\202\323\344\223\002\203\001\0325/api/v1/executi" + - "ons/{id.project}/{id.domain}/{id.name}:\001" + - "*ZG\032B/api/v1/executions/org/{id.org}/{id" + - ".project}/{id.domain}/{id.name}:\001*\022\206\002\n\020G" + - "etExecutionData\022/.flyteidl.admin.Workflo" + - "wExecutionGetDataRequest\0320.flyteidl.admi" + - "n.WorkflowExecutionGetDataResponse\"\216\001\202\323\344" + - "\223\002\207\001\022:/api/v1/data/executions/{id.projec" + - "t}/{id.domain}/{id.name}ZI\022G/api/v1/data" + - "/org/{id.org}/executions/{id.project}/{i" + - "d.domain}/{id.name}\022\305\001\n\016ListExecutions\022#" + - ".flyteidl.admin.ResourceListRequest\032\035.fl" + - "yteidl.admin.ExecutionList\"o\202\323\344\223\002i\022+/api" + - "/v1/executions/{id.project}/{id.domain}Z" + - ":\0228/api/v1/executions/org/{id.org}/{id.p" + - "roject}/{id.domain}\022\370\001\n\022TerminateExecuti" + - "on\022).flyteidl.admin.ExecutionTerminateRe" + - "quest\032*.flyteidl.admin.ExecutionTerminat" + - "eResponse\"\212\001\202\323\344\223\002\203\001*5/api/v1/executions/" + - "{id.project}/{id.domain}/{id.name}:\001*ZG*" + - "B/api/v1/executions/org/{id.org}/{id.pro" + - "ject}/{id.domain}/{id.name}:\001*\022\342\002\n\020GetNo" + - "deExecution\022\'.flyteidl.admin.NodeExecuti" + - "onGetRequest\032\035.flyteidl.admin.NodeExecut" + - "ion\"\205\002\202\323\344\223\002\376\001\022n/api/v1/node_executions/{" + - "id.execution_id.project}/{id.execution_i" + - "d.domain}/{id.execution_id.name}/{id.nod" + - "e_id}Z\213\001\022\210\001/api/v1/node_executions/org/{" + - "id.execution_id.org}/{id.execution_id.pr" + - "oject}/{id.execution_id.domain}/{id.exec" + - "ution_id.name}/{id.node_id}\022\236\003\n\026GetDynam" + - "icNodeWorkflow\022-.flyteidl.admin.GetDynam" + - "icNodeWorkflowRequest\032+.flyteidl.admin.D" + - "ynamicNodeWorkflowResponse\"\247\002\202\323\344\223\002\240\002\022\177/a" + - "pi/v1/node_executions/{id.execution_id.p" + - "roject}/{id.execution_id.domain}/{id.exe" + - "cution_id.name}/{id.node_id}/dynamic_wor" + - "kflowZ\234\001\022\231\001/api/v1/node_executions/org/{" + - "id.execution_id.org}/{id.execution_id.pr" + - "oject}/{id.execution_id.domain}/{id.exec" + - "ution_id.name}/{id.node_id}/dynamic_work" + - "flow\022\371\002\n\022ListNodeExecutions\022(.flyteidl.a" + - "dmin.NodeExecutionListRequest\032!.flyteidl" + - ".admin.NodeExecutionList\"\225\002\202\323\344\223\002\216\002\022s/api" + - "/v1/node_executions/{workflow_execution_" + - "id.project}/{workflow_execution_id.domai" + - "n}/{workflow_execution_id.name}Z\226\001\022\223\001/ap" + - "i/v1/node_executions/org/{workflow_execu" + - "tion_id.org}/{workflow_execution_id.proj" + - "ect}/{workflow_execution_id.domain}/{wor" + - "kflow_execution_id.name}\022\217\010\n\031ListNodeExe" + - "cutionsForTask\022/.flyteidl.admin.NodeExec" + - "utionForTaskListRequest\032!.flyteidl.admin" + - ".NodeExecutionList\"\235\007\202\323\344\223\002\226\007\022\251\003/api/v1/c" + - "hildren/task_executions/{task_execution_" + - "id.node_execution_id.execution_id.projec" + - "t}/{task_execution_id.node_execution_id." + - "execution_id.domain}/{task_execution_id." + - "node_execution_id.execution_id.name}/{ta" + - "sk_execution_id.node_execution_id.node_i" + - "d}/{task_execution_id.task_id.project}/{" + - "task_execution_id.task_id.domain}/{task_" + - "execution_id.task_id.name}/{task_executi" + - "on_id.task_id.version}/{task_execution_i" + - "d.retry_attempt}Z\347\003\022\344\003/api/v1/children/o" + - "rg/{task_execution_id.node_execution_id." + - "execution_id.org}/task_executions/{task_" + - "execution_id.node_execution_id.execution" + - "_id.project}/{task_execution_id.node_exe" + - "cution_id.execution_id.domain}/{task_exe" + - "cution_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.doma" + - "in}/{task_execution_id.task_id.name}/{ta" + - "sk_execution_id.task_id.version}/{task_e" + - "xecution_id.retry_attempt}\022\203\003\n\024GetNodeEx" + - "ecutionData\022+.flyteidl.admin.NodeExecuti" + - "onGetDataRequest\032,.flyteidl.admin.NodeEx" + - "ecutionGetDataResponse\"\217\002\202\323\344\223\002\210\002\022s/api/v" + - "1/data/node_executions/{id.execution_id." + - "project}/{id.execution_id.domain}/{id.ex" + - "ecution_id.name}/{id.node_id}Z\220\001\022\215\001/api/" + - "v1/data/org/{id.execution_id.org}/node_e" + - "xecutions/{id.execution_id.project}/{id." + - "execution_id.domain}/{id.execution_id.na" + - "me}/{id.node_id}\022\250\001\n\017RegisterProject\022&.f" + - "lyteidl.admin.ProjectRegisterRequest\032\'.f" + - "lyteidl.admin.ProjectRegisterResponse\"D\202" + - "\323\344\223\002>\"\020/api/v1/projects:\001*Z\'\"\"/api/v1/pr" + - "ojects/org/{project.org}:\001*\022\227\001\n\rUpdatePr" + - "oject\022\027.flyteidl.admin.Project\032%.flyteid" + - "l.admin.ProjectUpdateResponse\"F\202\323\344\223\002@\032\025/" + - "api/v1/projects/{id}:\001*Z$\032\037/api/v1/proje" + - "cts/org/{org}/{id}:\001*\022\204\001\n\014ListProjects\022\"" + - ".flyteidl.admin.ProjectListRequest\032\030.fly" + - "teidl.admin.Projects\"6\202\323\344\223\0020\022\020/api/v1/pr" + - "ojectsZ\034\022\032/api/v1/projects/org/{org}\022\325\001\n" + - "\023CreateWorkflowEvent\022-.flyteidl.admin.Wo" + - "rkflowExecutionEventRequest\032..flyteidl.a" + - "dmin.WorkflowExecutionEventResponse\"_\202\323\344" + - "\223\002Y\"\030/api/v1/events/workflows:\001*Z:\"5/api" + - "/v1/events/org/{event.execution_id.org}/" + - "workflows:\001*\022\304\001\n\017CreateNodeEvent\022).flyte" + - "idl.admin.NodeExecutionEventRequest\032*.fl" + - "yteidl.admin.NodeExecutionEventResponse\"" + - "Z\202\323\344\223\002T\"\024/api/v1/events/nodes:\001*Z9\"4/api" + - "/v1/events/org/{event.id.execution_id.or" + - "g}/nodes:\001*\022\332\001\n\017CreateTaskEvent\022).flytei" + - "dl.admin.TaskExecutionEventRequest\032*.fly" + - "teidl.admin.TaskExecutionEventResponse\"p" + - "\202\323\344\223\002j\"\024/api/v1/events/tasks:\001*ZO\"J/api/" + - "v1/events/org/{event.parent_node_executi" + - "on_id.execution_id.org}/tasks:\001*\022\313\005\n\020Get" + - "TaskExecution\022\'.flyteidl.admin.TaskExecu" + - "tionGetRequest\032\035.flyteidl.admin.TaskExec" + - "ution\"\356\004\202\323\344\223\002\347\004\022\231\002/api/v1/task_execution" + - "s/{id.node_execution_id.execution_id.pro" + - "ject}/{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}Z\310\002\022\305\002/api/v1/task_ex" + - "ecutions/org/{id.node_execution_id.execu" + - "tion_id.org}/{id.node_execution_id.execu" + - "tion_id.project}/{id.node_execution_id.e" + - "xecution_id.domain}/{id.node_execution_i" + - "d.execution_id.name}/{id.node_execution_" + - "id.node_id}/{id.task_id.project}/{id.tas" + - "k_id.domain}/{id.task_id.name}/{id.task_" + - "id.version}/{id.retry_attempt}\022\361\003\n\022ListT" + - "askExecutions\022(.flyteidl.admin.TaskExecu" + - "tionListRequest\032!.flyteidl.admin.TaskExe" + - "cutionList\"\215\003\202\323\344\223\002\206\003\022\252\001/api/v1/task_exec" + - "utions/{node_execution_id.execution_id.p" + - "roject}/{node_execution_id.execution_id." + - "domain}/{node_execution_id.execution_id." + - "name}/{node_execution_id.node_id}Z\326\001\022\323\001/" + - "api/v1/task_executions/org/{node_executi" + - "on_id.execution_id.org}/{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\354\005\n\024GetTaskExecutionData\022+.fl" + - "yteidl.admin.TaskExecutionGetDataRequest" + - "\032,.flyteidl.admin.TaskExecutionGetDataRe" + - "sponse\"\370\004\202\323\344\223\002\361\004\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}Z\315\002\022\312\002/api/v1/d" + - "ata/org/{id.node_execution_id.execution_" + - "id.org}/task_executions/{id.node_executi" + - "on_id.execution_id.project}/{id.node_exe" + - "cution_id.execution_id.domain}/{id.node_" + - "execution_id.execution_id.name}/{id.node" + - "_execution_id.node_id}/{id.task_id.proje" + - "ct}/{id.task_id.domain}/{id.task_id.name" + - "}/{id.task_id.version}/{id.retry_attempt" + - "}\022\313\002\n\035UpdateProjectDomainAttributes\0224.fl" + - "yteidl.admin.ProjectDomainAttributesUpda" + - "teRequest\0325.flyteidl.admin.ProjectDomain" + - "AttributesUpdateResponse\"\274\001\202\323\344\223\002\265\001\032J/api" + - "/v1/project_domain_attributes/{attribute" + - "s.project}/{attributes.domain}:\001*Zd\032_/ap" + - "i/v1/project_domain_attributes/org/{attr" + - "ibutes.org}/{attributes.project}/{attrib" + - "utes.domain}:\001*\022\203\002\n\032GetProjectDomainAttr" + - "ibutes\0221.flyteidl.admin.ProjectDomainAtt" + - "ributesGetRequest\0322.flyteidl.admin.Proje" + - "ctDomainAttributesGetResponse\"~\202\323\344\223\002x\0224/" + - "api/v1/project_domain_attributes/{projec" + - "t}/{domain}Z@\022>/api/v1/project_domain_at" + - "tributes/org/{org}/{project}/{domain}\022\223\002" + - "\n\035DeleteProjectDomainAttributes\0224.flytei" + - "dl.admin.ProjectDomainAttributesDeleteRe" + - "quest\0325.flyteidl.admin.ProjectDomainAttr" + - "ibutesDeleteResponse\"\204\001\202\323\344\223\002~*4/api/v1/p" + - "roject_domain_attributes/{project}/{doma" + - "in}:\001*ZC*>/api/v1/project_domain_attribu" + - "tes/org/{org}/{project}/{domain}:\001*\022\212\002\n\027" + - "UpdateProjectAttributes\022..flyteidl.admin" + - ".ProjectAttributesUpdateRequest\032/.flytei" + - "dl.admin.ProjectAttributesUpdateResponse" + - "\"\215\001\202\323\344\223\002\206\001\032//api/v1/project_attributes/{" + - "attributes.project}:\001*ZP\032K/api/v1/projec" + - "t_domain_attributes/org/{attributes.org}" + - "/{attributes.project}:\001*\022\330\001\n\024GetProjectA" + - "ttributes\022+.flyteidl.admin.ProjectAttrib" + - "utesGetRequest\032,.flyteidl.admin.ProjectA" + - "ttributesGetResponse\"e\202\323\344\223\002_\022$/api/v1/pr" + - "oject_attributes/{project}Z7\0225/api/v1/pr" + - "oject_domain_attributes/org/{org}/{proje" + - "ct}\022\347\001\n\027DeleteProjectAttributes\022..flytei" + - "dl.admin.ProjectAttributesDeleteRequest\032" + - "/.flyteidl.admin.ProjectAttributesDelete" + - "Response\"k\202\323\344\223\002e*$/api/v1/project_attrib" + - "utes/{project}:\001*Z:*5/api/v1/project_dom" + - "ain_attributes/org/{org}/{project}:\001*\022\334\002" + - "\n\030UpdateWorkflowAttributes\022/.flyteidl.ad" + - "min.WorkflowAttributesUpdateRequest\0320.fl" + - "yteidl.admin.WorkflowAttributesUpdateRes" + - "ponse\"\334\001\202\323\344\223\002\325\001\032Z/api/v1/workflow_attrib" + - "utes/{attributes.project}/{attributes.do" + - "main}/{attributes.workflow}:\001*Zt\032o/api/v" + - "1/workflow_attributes/org/{attributes.or" + - "g}/{attributes.project}/{attributes.doma" + - "in}/{attributes.workflow}:\001*\022\200\002\n\025GetWork" + - "flowAttributes\022,.flyteidl.admin.Workflow" + - "AttributesGetRequest\032-.flyteidl.admin.Wo" + - "rkflowAttributesGetResponse\"\211\001\202\323\344\223\002\202\001\0229/" + - "api/v1/workflow_attributes/{project}/{do" + - "main}/{workflow}ZE\022C/api/v1/workflow_att" + - "ributes/org/{org}/{project}/{domain}/{wo" + - "rkflow}\022\217\002\n\030DeleteWorkflowAttributes\022/.f" + - "lyteidl.admin.WorkflowAttributesDeleteRe" + - "quest\0320.flyteidl.admin.WorkflowAttribute" + - "sDeleteResponse\"\217\001\202\323\344\223\002\210\001*9/api/v1/workf" + - "low_attributes/{project}/{domain}/{workf" + - "low}:\001*ZH*C/api/v1/workflow_attributes/o" + - "rg/{org}/{project}/{domain}/{workflow}:\001" + - "*\022\312\001\n\027ListMatchableAttributes\022..flyteidl" + - ".admin.ListMatchableAttributesRequest\032/." + - "flyteidl.admin.ListMatchableAttributesRe" + - "sponse\"N\202\323\344\223\002H\022\034/api/v1/matchable_attrib" + - "utesZ(\022&/api/v1/matchable_attributes/org" + - "/{org}\022\350\001\n\021ListNamedEntities\022&.flyteidl." + - "admin.NamedEntityListRequest\032\037.flyteidl." + - "admin.NamedEntityList\"\211\001\202\323\344\223\002\202\001\0229/api/v1" + - "/named_entities/{resource_type}/{project" + - "}/{domain}ZE\022C/api/v1/named_entities/org" + - "/{org}/{resource_type}/{project}/{domain" + - "}\022\203\002\n\016GetNamedEntity\022%.flyteidl.admin.Na" + - "medEntityGetRequest\032\033.flyteidl.admin.Nam" + - "edEntity\"\254\001\202\323\344\223\002\245\001\022I/api/v1/named_entiti" + - "es/{resource_type}/{id.project}/{id.doma" + - "in}/{id.name}ZX\022V/api/v1/named_entities/" + - "org/{id.org}/{resource_type}/{id.project" + - "}/{id.domain}/{id.name}\022\235\002\n\021UpdateNamedE" + - "ntity\022(.flyteidl.admin.NamedEntityUpdate" + - "Request\032).flyteidl.admin.NamedEntityUpda" + - "teResponse\"\262\001\202\323\344\223\002\253\001\032I/api/v1/named_enti" + - "ties/{resource_type}/{id.project}/{id.do" + - "main}/{id.name}:\001*Z[\032V/api/v1/named_enti" + - "ties/org/{id.org}/{resource_type}/{id.pr" + - "oject}/{id.domain}/{id.name}:\001*\022l\n\nGetVe" + - "rsion\022!.flyteidl.admin.GetVersionRequest" + - "\032\".flyteidl.admin.GetVersionResponse\"\027\202\323" + - "\344\223\002\021\022\017/api/v1/version\022\266\002\n\024GetDescription" + - "Entity\022 .flyteidl.admin.ObjectGetRequest" + - "\032!.flyteidl.admin.DescriptionEntity\"\330\001\202\323" + - "\344\223\002\321\001\022_/api/v1/description_entities/{id." + - "resource_type}/{id.project}/{id.domain}/" + - "{id.name}/{id.version}Zn\022l/api/v1/descri" + - "ption_entities/org/{id.org}/{id.resource" + - "_type}/{id.project}/{id.domain}/{id.name" + - "}/{id.version}\022\310\003\n\027ListDescriptionEntiti" + - "es\022,.flyteidl.admin.DescriptionEntityLis" + - "tRequest\032%.flyteidl.admin.DescriptionEnt" + - "ityList\"\327\002\202\323\344\223\002\320\002\022O/api/v1/description_e" + - "ntities/{resource_type}/{id.project}/{id" + - ".domain}/{id.name}Z^\022\\/api/v1/descriptio" + - "n_entities/org/{id.org}/{resource_type}/" + - "{id.project}/{id.domain}/{id.name}ZG\022E/a" + - "pi/v1/description_entities/{resource_typ" + - "e}/{id.project}/{id.domain}ZT\022R/api/v1/d" + - "escription_entities/org/{id.org}/{resour" + - "ce_type}/{id.project}/{id.domain}\022\225\002\n\023Ge" + - "tExecutionMetrics\0222.flyteidl.admin.Workf" + - "lowExecutionGetMetricsRequest\0323.flyteidl" + - ".admin.WorkflowExecutionGetMetricsRespon", - "se\"\224\001\202\323\344\223\002\215\001\022=/api/v1/metrics/executions" + - "/{id.project}/{id.domain}/{id.name}ZL\022J/" + - "api/v1/metrics/executions/org/{id.org}/{" + - "id.project}/{id.domain}/{id.name}B?Z=git" + - "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" + - "o/flyteidl/serviceb\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.admin.ProjectOuterClass.getDescriptor(), - flyteidl.admin.ProjectDomainAttributesOuterClass.getDescriptor(), - flyteidl.admin.ProjectAttributesOuterClass.getDescriptor(), - flyteidl.admin.TaskOuterClass.getDescriptor(), - flyteidl.admin.WorkflowOuterClass.getDescriptor(), - flyteidl.admin.WorkflowAttributesOuterClass.getDescriptor(), - flyteidl.admin.LaunchPlanOuterClass.getDescriptor(), - flyteidl.admin.Event.getDescriptor(), - flyteidl.admin.ExecutionOuterClass.getDescriptor(), - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(), - flyteidl.admin.NodeExecutionOuterClass.getDescriptor(), - flyteidl.admin.TaskExecutionOuterClass.getDescriptor(), - flyteidl.admin.VersionOuterClass.getDescriptor(), - flyteidl.admin.Common.getDescriptor(), - flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(), - }, assigner); - 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.admin.ProjectOuterClass.getDescriptor(); - flyteidl.admin.ProjectDomainAttributesOuterClass.getDescriptor(); - flyteidl.admin.ProjectAttributesOuterClass.getDescriptor(); - flyteidl.admin.TaskOuterClass.getDescriptor(); - flyteidl.admin.WorkflowOuterClass.getDescriptor(); - flyteidl.admin.WorkflowAttributesOuterClass.getDescriptor(); - flyteidl.admin.LaunchPlanOuterClass.getDescriptor(); - flyteidl.admin.Event.getDescriptor(); - flyteidl.admin.ExecutionOuterClass.getDescriptor(); - flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); - flyteidl.admin.NodeExecutionOuterClass.getDescriptor(); - flyteidl.admin.TaskExecutionOuterClass.getDescriptor(); - flyteidl.admin.VersionOuterClass.getDescriptor(); - flyteidl.admin.Common.getDescriptor(); - flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Agent.java b/flyteidl/gen/pb-java/flyteidl/service/Agent.java deleted file mode 100644 index 7242f5ba36..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/service/Agent.java +++ /dev/null @@ -1,74 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/agent.proto - -package flyteidl.service; - -public final class Agent { - private Agent() {} - 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 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/agent.proto\022\020flyteidl" + - ".service\032\034google/api/annotations.proto\032\032" + - "flyteidl/admin/agent.proto2\314\003\n\021AsyncAgen" + - "tService\022U\n\nCreateTask\022!.flyteidl.admin." + - "CreateTaskRequest\032\".flyteidl.admin.Creat" + - "eTaskResponse\"\000\022L\n\007GetTask\022\036.flyteidl.ad" + - "min.GetTaskRequest\032\037.flyteidl.admin.GetT" + - "askResponse\"\000\022U\n\nDeleteTask\022!.flyteidl.a" + - "dmin.DeleteTaskRequest\032\".flyteidl.admin." + - "DeleteTaskResponse\"\000\022a\n\016GetTaskMetrics\022%" + - ".flyteidl.admin.GetTaskMetricsRequest\032&." + - "flyteidl.admin.GetTaskMetricsResponse\"\000\022" + - "X\n\013GetTaskLogs\022\".flyteidl.admin.GetTaskL" + - "ogsRequest\032#.flyteidl.admin.GetTaskLogsR" + - "esponse\"\0002\360\001\n\024AgentMetadataService\022k\n\010Ge" + - "tAgent\022\037.flyteidl.admin.GetAgentRequest\032" + - " .flyteidl.admin.GetAgentResponse\"\034\202\323\344\223\002" + - "\026\022\024/api/v1/agent/{name}\022k\n\nListAgents\022!." + - "flyteidl.admin.ListAgentsRequest\032\".flyte" + - "idl.admin.ListAgentsResponse\"\026\202\323\344\223\002\020\022\016/a" + - "pi/v1/agentsB?Z=github.com/flyteorg/flyt" + - "e/flyteidl/gen/pb-go/flyteidl/serviceb\006p" + - "roto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - flyteidl.admin.AgentOuterClass.getDescriptor(), - }, assigner); - 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.admin.AgentOuterClass.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Auth.java b/flyteidl/gen/pb-java/flyteidl/service/Auth.java deleted file mode 100644 index a748cdffae..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/service/Auth.java +++ /dev/null @@ -1,5137 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/auth.proto - -package flyteidl.service; - -public final class Auth { - private Auth() {} - 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 OAuth2MetadataRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.OAuth2MetadataRequest) - com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code flyteidl.service.OAuth2MetadataRequest} - */ - public static final class OAuth2MetadataRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.OAuth2MetadataRequest) - OAuth2MetadataRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use OAuth2MetadataRequest.newBuilder() to construct. - private OAuth2MetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private OAuth2MetadataRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private OAuth2MetadataRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.OAuth2MetadataRequest.class, flyteidl.service.Auth.OAuth2MetadataRequest.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.service.Auth.OAuth2MetadataRequest)) { - return super.equals(obj); - } - flyteidl.service.Auth.OAuth2MetadataRequest other = (flyteidl.service.Auth.OAuth2MetadataRequest) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Auth.OAuth2MetadataRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest 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.Auth.OAuth2MetadataRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest 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.Auth.OAuth2MetadataRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest 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.Auth.OAuth2MetadataRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.OAuth2MetadataRequest 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.Auth.OAuth2MetadataRequest 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.OAuth2MetadataRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.OAuth2MetadataRequest) - flyteidl.service.Auth.OAuth2MetadataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.OAuth2MetadataRequest.class, flyteidl.service.Auth.OAuth2MetadataRequest.Builder.class); - } - - // Construct using flyteidl.service.Auth.OAuth2MetadataRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.Auth.OAuth2MetadataRequest getDefaultInstanceForType() { - return flyteidl.service.Auth.OAuth2MetadataRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Auth.OAuth2MetadataRequest build() { - flyteidl.service.Auth.OAuth2MetadataRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Auth.OAuth2MetadataRequest buildPartial() { - flyteidl.service.Auth.OAuth2MetadataRequest result = new flyteidl.service.Auth.OAuth2MetadataRequest(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.Auth.OAuth2MetadataRequest) { - return mergeFrom((flyteidl.service.Auth.OAuth2MetadataRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Auth.OAuth2MetadataRequest other) { - if (other == flyteidl.service.Auth.OAuth2MetadataRequest.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.Auth.OAuth2MetadataRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Auth.OAuth2MetadataRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.OAuth2MetadataRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.OAuth2MetadataRequest) - private static final flyteidl.service.Auth.OAuth2MetadataRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Auth.OAuth2MetadataRequest(); - } - - public static flyteidl.service.Auth.OAuth2MetadataRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuth2MetadataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuth2MetadataRequest(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.Auth.OAuth2MetadataRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface OAuth2MetadataResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.OAuth2MetadataResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-     * issuer.
-     * 
- * - * string issuer = 1; - */ - java.lang.String getIssuer(); - /** - *
-     * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-     * issuer.
-     * 
- * - * string issuer = 1; - */ - com.google.protobuf.ByteString - getIssuerBytes(); - - /** - *
-     * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-     * supported that use the authorization endpoint.
-     * 
- * - * string authorization_endpoint = 2; - */ - java.lang.String getAuthorizationEndpoint(); - /** - *
-     * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-     * supported that use the authorization endpoint.
-     * 
- * - * string authorization_endpoint = 2; - */ - com.google.protobuf.ByteString - getAuthorizationEndpointBytes(); - - /** - *
-     * URL of the authorization server's token endpoint [RFC6749].
-     * 
- * - * string token_endpoint = 3; - */ - java.lang.String getTokenEndpoint(); - /** - *
-     * URL of the authorization server's token endpoint [RFC6749].
-     * 
- * - * string token_endpoint = 3; - */ - com.google.protobuf.ByteString - getTokenEndpointBytes(); - - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - java.util.List - getResponseTypesSupportedList(); - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - int getResponseTypesSupportedCount(); - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - java.lang.String getResponseTypesSupported(int index); - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index); - - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - java.util.List - getScopesSupportedList(); - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - int getScopesSupportedCount(); - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - java.lang.String getScopesSupported(int index); - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - com.google.protobuf.ByteString - getScopesSupportedBytes(int index); - - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - java.util.List - getTokenEndpointAuthMethodsSupportedList(); - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - int getTokenEndpointAuthMethodsSupportedCount(); - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - java.lang.String getTokenEndpointAuthMethodsSupported(int index); - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - com.google.protobuf.ByteString - getTokenEndpointAuthMethodsSupportedBytes(int index); - - /** - *
-     * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-     * client uses to validate signatures from the authorization server.
-     * 
- * - * string jwks_uri = 7; - */ - java.lang.String getJwksUri(); - /** - *
-     * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-     * client uses to validate signatures from the authorization server.
-     * 
- * - * string jwks_uri = 7; - */ - com.google.protobuf.ByteString - getJwksUriBytes(); - - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - java.util.List - getCodeChallengeMethodsSupportedList(); - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - int getCodeChallengeMethodsSupportedCount(); - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - java.lang.String getCodeChallengeMethodsSupported(int index); - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - com.google.protobuf.ByteString - getCodeChallengeMethodsSupportedBytes(int index); - - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - java.util.List - getGrantTypesSupportedList(); - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - int getGrantTypesSupportedCount(); - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - java.lang.String getGrantTypesSupported(int index); - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - com.google.protobuf.ByteString - getGrantTypesSupportedBytes(int index); - - /** - *
-     * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-     * 
- * - * string device_authorization_endpoint = 10; - */ - java.lang.String getDeviceAuthorizationEndpoint(); - /** - *
-     * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-     * 
- * - * string device_authorization_endpoint = 10; - */ - com.google.protobuf.ByteString - getDeviceAuthorizationEndpointBytes(); - } - /** - *
-   * OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata
-   * as defined in https://tools.ietf.org/html/rfc8414
-   * 
- * - * Protobuf type {@code flyteidl.service.OAuth2MetadataResponse} - */ - public static final class OAuth2MetadataResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.OAuth2MetadataResponse) - OAuth2MetadataResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use OAuth2MetadataResponse.newBuilder() to construct. - private OAuth2MetadataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private OAuth2MetadataResponse() { - issuer_ = ""; - authorizationEndpoint_ = ""; - tokenEndpoint_ = ""; - responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - scopesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - tokenEndpointAuthMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - jwksUri_ = ""; - codeChallengeMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - grantTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - deviceAuthorizationEndpoint_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private OAuth2MetadataResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - issuer_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - authorizationEndpoint_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - tokenEndpoint_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - responseTypesSupported_.add(s); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - scopesSupported_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - scopesSupported_.add(s); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - tokenEndpointAuthMethodsSupported_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000020; - } - tokenEndpointAuthMethodsSupported_.add(s); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - jwksUri_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - codeChallengeMethodsSupported_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000080; - } - codeChallengeMethodsSupported_.add(s); - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000100) != 0)) { - grantTypesSupported_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000100; - } - grantTypesSupported_.add(s); - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - - deviceAuthorizationEndpoint_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { - responseTypesSupported_ = responseTypesSupported_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - scopesSupported_ = scopesSupported_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000020) != 0)) { - tokenEndpointAuthMethodsSupported_ = tokenEndpointAuthMethodsSupported_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000080) != 0)) { - codeChallengeMethodsSupported_ = codeChallengeMethodsSupported_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000100) != 0)) { - grantTypesSupported_ = grantTypesSupported_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.OAuth2MetadataResponse.class, flyteidl.service.Auth.OAuth2MetadataResponse.Builder.class); - } - - private int bitField0_; - public static final int ISSUER_FIELD_NUMBER = 1; - private volatile java.lang.Object issuer_; - /** - *
-     * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-     * issuer.
-     * 
- * - * string issuer = 1; - */ - public java.lang.String getIssuer() { - java.lang.Object ref = issuer_; - 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(); - issuer_ = s; - return s; - } - } - /** - *
-     * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-     * issuer.
-     * 
- * - * string issuer = 1; - */ - public com.google.protobuf.ByteString - getIssuerBytes() { - java.lang.Object ref = issuer_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - issuer_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int AUTHORIZATION_ENDPOINT_FIELD_NUMBER = 2; - private volatile java.lang.Object authorizationEndpoint_; - /** - *
-     * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-     * supported that use the authorization endpoint.
-     * 
- * - * string authorization_endpoint = 2; - */ - public java.lang.String getAuthorizationEndpoint() { - java.lang.Object ref = authorizationEndpoint_; - 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(); - authorizationEndpoint_ = s; - return s; - } - } - /** - *
-     * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-     * supported that use the authorization endpoint.
-     * 
- * - * string authorization_endpoint = 2; - */ - public com.google.protobuf.ByteString - getAuthorizationEndpointBytes() { - java.lang.Object ref = authorizationEndpoint_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - authorizationEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TOKEN_ENDPOINT_FIELD_NUMBER = 3; - private volatile java.lang.Object tokenEndpoint_; - /** - *
-     * URL of the authorization server's token endpoint [RFC6749].
-     * 
- * - * string token_endpoint = 3; - */ - public java.lang.String getTokenEndpoint() { - java.lang.Object ref = tokenEndpoint_; - 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(); - tokenEndpoint_ = s; - return s; - } - } - /** - *
-     * URL of the authorization server's token endpoint [RFC6749].
-     * 
- * - * string token_endpoint = 3; - */ - public com.google.protobuf.ByteString - getTokenEndpointBytes() { - java.lang.Object ref = tokenEndpoint_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tokenEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 4; - private com.google.protobuf.LazyStringList responseTypesSupported_; - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { - return responseTypesSupported_; - } - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - public int getResponseTypesSupportedCount() { - return responseTypesSupported_.size(); - } - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - public java.lang.String getResponseTypesSupported(int index) { - return responseTypesSupported_.get(index); - } - /** - *
-     * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-     * 
- * - * repeated string response_types_supported = 4; - */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { - return responseTypesSupported_.getByteString(index); - } - - public static final int SCOPES_SUPPORTED_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList scopesSupported_; - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - public com.google.protobuf.ProtocolStringList - getScopesSupportedList() { - return scopesSupported_; - } - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - public int getScopesSupportedCount() { - return scopesSupported_.size(); - } - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - public java.lang.String getScopesSupported(int index) { - return scopesSupported_.get(index); - } - /** - *
-     * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-     * 
- * - * repeated string scopes_supported = 5; - */ - public com.google.protobuf.ByteString - getScopesSupportedBytes(int index) { - return scopesSupported_.getByteString(index); - } - - public static final int TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED_FIELD_NUMBER = 6; - private com.google.protobuf.LazyStringList tokenEndpointAuthMethodsSupported_; - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public com.google.protobuf.ProtocolStringList - getTokenEndpointAuthMethodsSupportedList() { - return tokenEndpointAuthMethodsSupported_; - } - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public int getTokenEndpointAuthMethodsSupportedCount() { - return tokenEndpointAuthMethodsSupported_.size(); - } - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public java.lang.String getTokenEndpointAuthMethodsSupported(int index) { - return tokenEndpointAuthMethodsSupported_.get(index); - } - /** - *
-     * JSON array containing a list of client authentication methods supported by this token endpoint.
-     * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public com.google.protobuf.ByteString - getTokenEndpointAuthMethodsSupportedBytes(int index) { - return tokenEndpointAuthMethodsSupported_.getByteString(index); - } - - public static final int JWKS_URI_FIELD_NUMBER = 7; - private volatile java.lang.Object jwksUri_; - /** - *
-     * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-     * client uses to validate signatures from the authorization server.
-     * 
- * - * string jwks_uri = 7; - */ - public java.lang.String getJwksUri() { - java.lang.Object ref = jwksUri_; - 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(); - jwksUri_ = s; - return s; - } - } - /** - *
-     * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-     * client uses to validate signatures from the authorization server.
-     * 
- * - * string jwks_uri = 7; - */ - public com.google.protobuf.ByteString - getJwksUriBytes() { - java.lang.Object ref = jwksUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jwksUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CODE_CHALLENGE_METHODS_SUPPORTED_FIELD_NUMBER = 8; - private com.google.protobuf.LazyStringList codeChallengeMethodsSupported_; - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public com.google.protobuf.ProtocolStringList - getCodeChallengeMethodsSupportedList() { - return codeChallengeMethodsSupported_; - } - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public int getCodeChallengeMethodsSupportedCount() { - return codeChallengeMethodsSupported_.size(); - } - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public java.lang.String getCodeChallengeMethodsSupported(int index) { - return codeChallengeMethodsSupported_.get(index); - } - /** - *
-     * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-     * this authorization server.
-     * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public com.google.protobuf.ByteString - getCodeChallengeMethodsSupportedBytes(int index) { - return codeChallengeMethodsSupported_.getByteString(index); - } - - public static final int GRANT_TYPES_SUPPORTED_FIELD_NUMBER = 9; - private com.google.protobuf.LazyStringList grantTypesSupported_; - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - public com.google.protobuf.ProtocolStringList - getGrantTypesSupportedList() { - return grantTypesSupported_; - } - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - public int getGrantTypesSupportedCount() { - return grantTypesSupported_.size(); - } - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - public java.lang.String getGrantTypesSupported(int index) { - return grantTypesSupported_.get(index); - } - /** - *
-     * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-     * 
- * - * repeated string grant_types_supported = 9; - */ - public com.google.protobuf.ByteString - getGrantTypesSupportedBytes(int index) { - return grantTypesSupported_.getByteString(index); - } - - public static final int DEVICE_AUTHORIZATION_ENDPOINT_FIELD_NUMBER = 10; - private volatile java.lang.Object deviceAuthorizationEndpoint_; - /** - *
-     * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-     * 
- * - * string device_authorization_endpoint = 10; - */ - public java.lang.String getDeviceAuthorizationEndpoint() { - java.lang.Object ref = deviceAuthorizationEndpoint_; - 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(); - deviceAuthorizationEndpoint_ = s; - return s; - } - } - /** - *
-     * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-     * 
- * - * string device_authorization_endpoint = 10; - */ - public com.google.protobuf.ByteString - getDeviceAuthorizationEndpointBytes() { - java.lang.Object ref = deviceAuthorizationEndpoint_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deviceAuthorizationEndpoint_ = 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 (!getIssuerBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); - } - if (!getAuthorizationEndpointBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, authorizationEndpoint_); - } - if (!getTokenEndpointBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tokenEndpoint_); - } - for (int i = 0; i < responseTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, responseTypesSupported_.getRaw(i)); - } - for (int i = 0; i < scopesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, scopesSupported_.getRaw(i)); - } - for (int i = 0; i < tokenEndpointAuthMethodsSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, tokenEndpointAuthMethodsSupported_.getRaw(i)); - } - if (!getJwksUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, jwksUri_); - } - for (int i = 0; i < codeChallengeMethodsSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, codeChallengeMethodsSupported_.getRaw(i)); - } - for (int i = 0; i < grantTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, grantTypesSupported_.getRaw(i)); - } - if (!getDeviceAuthorizationEndpointBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, deviceAuthorizationEndpoint_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getIssuerBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issuer_); - } - if (!getAuthorizationEndpointBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, authorizationEndpoint_); - } - if (!getTokenEndpointBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tokenEndpoint_); - } - { - int dataSize = 0; - for (int i = 0; i < responseTypesSupported_.size(); i++) { - dataSize += computeStringSizeNoTag(responseTypesSupported_.getRaw(i)); - } - size += dataSize; - size += 1 * getResponseTypesSupportedList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < scopesSupported_.size(); i++) { - dataSize += computeStringSizeNoTag(scopesSupported_.getRaw(i)); - } - size += dataSize; - size += 1 * getScopesSupportedList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < tokenEndpointAuthMethodsSupported_.size(); i++) { - dataSize += computeStringSizeNoTag(tokenEndpointAuthMethodsSupported_.getRaw(i)); - } - size += dataSize; - size += 1 * getTokenEndpointAuthMethodsSupportedList().size(); - } - if (!getJwksUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, jwksUri_); - } - { - int dataSize = 0; - for (int i = 0; i < codeChallengeMethodsSupported_.size(); i++) { - dataSize += computeStringSizeNoTag(codeChallengeMethodsSupported_.getRaw(i)); - } - size += dataSize; - size += 1 * getCodeChallengeMethodsSupportedList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < grantTypesSupported_.size(); i++) { - dataSize += computeStringSizeNoTag(grantTypesSupported_.getRaw(i)); - } - size += dataSize; - size += 1 * getGrantTypesSupportedList().size(); - } - if (!getDeviceAuthorizationEndpointBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, deviceAuthorizationEndpoint_); - } - 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.Auth.OAuth2MetadataResponse)) { - return super.equals(obj); - } - flyteidl.service.Auth.OAuth2MetadataResponse other = (flyteidl.service.Auth.OAuth2MetadataResponse) obj; - - if (!getIssuer() - .equals(other.getIssuer())) return false; - if (!getAuthorizationEndpoint() - .equals(other.getAuthorizationEndpoint())) return false; - if (!getTokenEndpoint() - .equals(other.getTokenEndpoint())) return false; - if (!getResponseTypesSupportedList() - .equals(other.getResponseTypesSupportedList())) return false; - if (!getScopesSupportedList() - .equals(other.getScopesSupportedList())) return false; - if (!getTokenEndpointAuthMethodsSupportedList() - .equals(other.getTokenEndpointAuthMethodsSupportedList())) return false; - if (!getJwksUri() - .equals(other.getJwksUri())) return false; - if (!getCodeChallengeMethodsSupportedList() - .equals(other.getCodeChallengeMethodsSupportedList())) return false; - if (!getGrantTypesSupportedList() - .equals(other.getGrantTypesSupportedList())) return false; - if (!getDeviceAuthorizationEndpoint() - .equals(other.getDeviceAuthorizationEndpoint())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ISSUER_FIELD_NUMBER; - hash = (53 * hash) + getIssuer().hashCode(); - hash = (37 * hash) + AUTHORIZATION_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + getAuthorizationEndpoint().hashCode(); - hash = (37 * hash) + TOKEN_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + getTokenEndpoint().hashCode(); - if (getResponseTypesSupportedCount() > 0) { - hash = (37 * hash) + RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER; - hash = (53 * hash) + getResponseTypesSupportedList().hashCode(); - } - if (getScopesSupportedCount() > 0) { - hash = (37 * hash) + SCOPES_SUPPORTED_FIELD_NUMBER; - hash = (53 * hash) + getScopesSupportedList().hashCode(); - } - if (getTokenEndpointAuthMethodsSupportedCount() > 0) { - hash = (37 * hash) + TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED_FIELD_NUMBER; - hash = (53 * hash) + getTokenEndpointAuthMethodsSupportedList().hashCode(); - } - hash = (37 * hash) + JWKS_URI_FIELD_NUMBER; - hash = (53 * hash) + getJwksUri().hashCode(); - if (getCodeChallengeMethodsSupportedCount() > 0) { - hash = (37 * hash) + CODE_CHALLENGE_METHODS_SUPPORTED_FIELD_NUMBER; - hash = (53 * hash) + getCodeChallengeMethodsSupportedList().hashCode(); - } - if (getGrantTypesSupportedCount() > 0) { - hash = (37 * hash) + GRANT_TYPES_SUPPORTED_FIELD_NUMBER; - hash = (53 * hash) + getGrantTypesSupportedList().hashCode(); - } - hash = (37 * hash) + DEVICE_AUTHORIZATION_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + getDeviceAuthorizationEndpoint().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Auth.OAuth2MetadataResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse 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.Auth.OAuth2MetadataResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse 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.Auth.OAuth2MetadataResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse 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.Auth.OAuth2MetadataResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.OAuth2MetadataResponse 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.Auth.OAuth2MetadataResponse 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; - } - /** - *
-     * OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata
-     * as defined in https://tools.ietf.org/html/rfc8414
-     * 
- * - * Protobuf type {@code flyteidl.service.OAuth2MetadataResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.OAuth2MetadataResponse) - flyteidl.service.Auth.OAuth2MetadataResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.OAuth2MetadataResponse.class, flyteidl.service.Auth.OAuth2MetadataResponse.Builder.class); - } - - // Construct using flyteidl.service.Auth.OAuth2MetadataResponse.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(); - issuer_ = ""; - - authorizationEndpoint_ = ""; - - tokenEndpoint_ = ""; - - responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - scopesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - tokenEndpointAuthMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); - jwksUri_ = ""; - - codeChallengeMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); - grantTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000100); - deviceAuthorizationEndpoint_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Auth.internal_static_flyteidl_service_OAuth2MetadataResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.Auth.OAuth2MetadataResponse getDefaultInstanceForType() { - return flyteidl.service.Auth.OAuth2MetadataResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Auth.OAuth2MetadataResponse build() { - flyteidl.service.Auth.OAuth2MetadataResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Auth.OAuth2MetadataResponse buildPartial() { - flyteidl.service.Auth.OAuth2MetadataResponse result = new flyteidl.service.Auth.OAuth2MetadataResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.issuer_ = issuer_; - result.authorizationEndpoint_ = authorizationEndpoint_; - result.tokenEndpoint_ = tokenEndpoint_; - if (((bitField0_ & 0x00000008) != 0)) { - responseTypesSupported_ = responseTypesSupported_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.responseTypesSupported_ = responseTypesSupported_; - if (((bitField0_ & 0x00000010) != 0)) { - scopesSupported_ = scopesSupported_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.scopesSupported_ = scopesSupported_; - if (((bitField0_ & 0x00000020) != 0)) { - tokenEndpointAuthMethodsSupported_ = tokenEndpointAuthMethodsSupported_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.tokenEndpointAuthMethodsSupported_ = tokenEndpointAuthMethodsSupported_; - result.jwksUri_ = jwksUri_; - if (((bitField0_ & 0x00000080) != 0)) { - codeChallengeMethodsSupported_ = codeChallengeMethodsSupported_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000080); - } - result.codeChallengeMethodsSupported_ = codeChallengeMethodsSupported_; - if (((bitField0_ & 0x00000100) != 0)) { - grantTypesSupported_ = grantTypesSupported_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000100); - } - result.grantTypesSupported_ = grantTypesSupported_; - result.deviceAuthorizationEndpoint_ = deviceAuthorizationEndpoint_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.Auth.OAuth2MetadataResponse) { - return mergeFrom((flyteidl.service.Auth.OAuth2MetadataResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Auth.OAuth2MetadataResponse other) { - if (other == flyteidl.service.Auth.OAuth2MetadataResponse.getDefaultInstance()) return this; - if (!other.getIssuer().isEmpty()) { - issuer_ = other.issuer_; - onChanged(); - } - if (!other.getAuthorizationEndpoint().isEmpty()) { - authorizationEndpoint_ = other.authorizationEndpoint_; - onChanged(); - } - if (!other.getTokenEndpoint().isEmpty()) { - tokenEndpoint_ = other.tokenEndpoint_; - onChanged(); - } - if (!other.responseTypesSupported_.isEmpty()) { - if (responseTypesSupported_.isEmpty()) { - responseTypesSupported_ = other.responseTypesSupported_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureResponseTypesSupportedIsMutable(); - responseTypesSupported_.addAll(other.responseTypesSupported_); - } - onChanged(); - } - if (!other.scopesSupported_.isEmpty()) { - if (scopesSupported_.isEmpty()) { - scopesSupported_ = other.scopesSupported_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureScopesSupportedIsMutable(); - scopesSupported_.addAll(other.scopesSupported_); - } - onChanged(); - } - if (!other.tokenEndpointAuthMethodsSupported_.isEmpty()) { - if (tokenEndpointAuthMethodsSupported_.isEmpty()) { - tokenEndpointAuthMethodsSupported_ = other.tokenEndpointAuthMethodsSupported_; - bitField0_ = (bitField0_ & ~0x00000020); - } else { - ensureTokenEndpointAuthMethodsSupportedIsMutable(); - tokenEndpointAuthMethodsSupported_.addAll(other.tokenEndpointAuthMethodsSupported_); - } - onChanged(); - } - if (!other.getJwksUri().isEmpty()) { - jwksUri_ = other.jwksUri_; - onChanged(); - } - if (!other.codeChallengeMethodsSupported_.isEmpty()) { - if (codeChallengeMethodsSupported_.isEmpty()) { - codeChallengeMethodsSupported_ = other.codeChallengeMethodsSupported_; - bitField0_ = (bitField0_ & ~0x00000080); - } else { - ensureCodeChallengeMethodsSupportedIsMutable(); - codeChallengeMethodsSupported_.addAll(other.codeChallengeMethodsSupported_); - } - onChanged(); - } - if (!other.grantTypesSupported_.isEmpty()) { - if (grantTypesSupported_.isEmpty()) { - grantTypesSupported_ = other.grantTypesSupported_; - bitField0_ = (bitField0_ & ~0x00000100); - } else { - ensureGrantTypesSupportedIsMutable(); - grantTypesSupported_.addAll(other.grantTypesSupported_); - } - onChanged(); - } - if (!other.getDeviceAuthorizationEndpoint().isEmpty()) { - deviceAuthorizationEndpoint_ = other.deviceAuthorizationEndpoint_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.Auth.OAuth2MetadataResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Auth.OAuth2MetadataResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object issuer_ = ""; - /** - *
-       * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-       * issuer.
-       * 
- * - * string issuer = 1; - */ - public java.lang.String getIssuer() { - java.lang.Object ref = issuer_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - issuer_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-       * issuer.
-       * 
- * - * string issuer = 1; - */ - public com.google.protobuf.ByteString - getIssuerBytes() { - java.lang.Object ref = issuer_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - issuer_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-       * issuer.
-       * 
- * - * string issuer = 1; - */ - public Builder setIssuer( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - issuer_ = value; - onChanged(); - return this; - } - /** - *
-       * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-       * issuer.
-       * 
- * - * string issuer = 1; - */ - public Builder clearIssuer() { - - issuer_ = getDefaultInstance().getIssuer(); - onChanged(); - return this; - } - /** - *
-       * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
-       * issuer.
-       * 
- * - * string issuer = 1; - */ - public Builder setIssuerBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - issuer_ = value; - onChanged(); - return this; - } - - private java.lang.Object authorizationEndpoint_ = ""; - /** - *
-       * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-       * supported that use the authorization endpoint.
-       * 
- * - * string authorization_endpoint = 2; - */ - public java.lang.String getAuthorizationEndpoint() { - java.lang.Object ref = authorizationEndpoint_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - authorizationEndpoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-       * supported that use the authorization endpoint.
-       * 
- * - * string authorization_endpoint = 2; - */ - public com.google.protobuf.ByteString - getAuthorizationEndpointBytes() { - java.lang.Object ref = authorizationEndpoint_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - authorizationEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-       * supported that use the authorization endpoint.
-       * 
- * - * string authorization_endpoint = 2; - */ - public Builder setAuthorizationEndpoint( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - authorizationEndpoint_ = value; - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-       * supported that use the authorization endpoint.
-       * 
- * - * string authorization_endpoint = 2; - */ - public Builder clearAuthorizationEndpoint() { - - authorizationEndpoint_ = getDefaultInstance().getAuthorizationEndpoint(); - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
-       * supported that use the authorization endpoint.
-       * 
- * - * string authorization_endpoint = 2; - */ - public Builder setAuthorizationEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - authorizationEndpoint_ = value; - onChanged(); - return this; - } - - private java.lang.Object tokenEndpoint_ = ""; - /** - *
-       * URL of the authorization server's token endpoint [RFC6749].
-       * 
- * - * string token_endpoint = 3; - */ - public java.lang.String getTokenEndpoint() { - java.lang.Object ref = tokenEndpoint_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - tokenEndpoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URL of the authorization server's token endpoint [RFC6749].
-       * 
- * - * string token_endpoint = 3; - */ - public com.google.protobuf.ByteString - getTokenEndpointBytes() { - java.lang.Object ref = tokenEndpoint_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - tokenEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URL of the authorization server's token endpoint [RFC6749].
-       * 
- * - * string token_endpoint = 3; - */ - public Builder setTokenEndpoint( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - tokenEndpoint_ = value; - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's token endpoint [RFC6749].
-       * 
- * - * string token_endpoint = 3; - */ - public Builder clearTokenEndpoint() { - - tokenEndpoint_ = getDefaultInstance().getTokenEndpoint(); - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's token endpoint [RFC6749].
-       * 
- * - * string token_endpoint = 3; - */ - public Builder setTokenEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - tokenEndpoint_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureResponseTypesSupportedIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); - bitField0_ |= 0x00000008; - } - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { - return responseTypesSupported_.getUnmodifiableView(); - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public int getResponseTypesSupportedCount() { - return responseTypesSupported_.size(); - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public java.lang.String getResponseTypesSupported(int index) { - return responseTypesSupported_.get(index); - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { - return responseTypesSupported_.getByteString(index); - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public Builder setResponseTypesSupported( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); - responseTypesSupported_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public Builder addResponseTypesSupported( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); - responseTypesSupported_.add(value); - onChanged(); - return this; - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public Builder addAllResponseTypesSupported( - java.lang.Iterable values) { - ensureResponseTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, responseTypesSupported_); - onChanged(); - return this; - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public Builder clearResponseTypesSupported() { - responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - *
-       * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
-       * 
- * - * repeated string response_types_supported = 4; - */ - public Builder addResponseTypesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureResponseTypesSupportedIsMutable(); - responseTypesSupported_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList scopesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureScopesSupportedIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - scopesSupported_ = new com.google.protobuf.LazyStringArrayList(scopesSupported_); - bitField0_ |= 0x00000010; - } - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public com.google.protobuf.ProtocolStringList - getScopesSupportedList() { - return scopesSupported_.getUnmodifiableView(); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public int getScopesSupportedCount() { - return scopesSupported_.size(); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public java.lang.String getScopesSupported(int index) { - return scopesSupported_.get(index); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public com.google.protobuf.ByteString - getScopesSupportedBytes(int index) { - return scopesSupported_.getByteString(index); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public Builder setScopesSupported( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureScopesSupportedIsMutable(); - scopesSupported_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public Builder addScopesSupported( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureScopesSupportedIsMutable(); - scopesSupported_.add(value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public Builder addAllScopesSupported( - java.lang.Iterable values) { - ensureScopesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, scopesSupported_); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public Builder clearScopesSupported() { - scopesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
-       * 
- * - * repeated string scopes_supported = 5; - */ - public Builder addScopesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureScopesSupportedIsMutable(); - scopesSupported_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList tokenEndpointAuthMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTokenEndpointAuthMethodsSupportedIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { - tokenEndpointAuthMethodsSupported_ = new com.google.protobuf.LazyStringArrayList(tokenEndpointAuthMethodsSupported_); - bitField0_ |= 0x00000020; - } - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public com.google.protobuf.ProtocolStringList - getTokenEndpointAuthMethodsSupportedList() { - return tokenEndpointAuthMethodsSupported_.getUnmodifiableView(); - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public int getTokenEndpointAuthMethodsSupportedCount() { - return tokenEndpointAuthMethodsSupported_.size(); - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public java.lang.String getTokenEndpointAuthMethodsSupported(int index) { - return tokenEndpointAuthMethodsSupported_.get(index); - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public com.google.protobuf.ByteString - getTokenEndpointAuthMethodsSupportedBytes(int index) { - return tokenEndpointAuthMethodsSupported_.getByteString(index); - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public Builder setTokenEndpointAuthMethodsSupported( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTokenEndpointAuthMethodsSupportedIsMutable(); - tokenEndpointAuthMethodsSupported_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public Builder addTokenEndpointAuthMethodsSupported( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTokenEndpointAuthMethodsSupportedIsMutable(); - tokenEndpointAuthMethodsSupported_.add(value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public Builder addAllTokenEndpointAuthMethodsSupported( - java.lang.Iterable values) { - ensureTokenEndpointAuthMethodsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tokenEndpointAuthMethodsSupported_); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public Builder clearTokenEndpointAuthMethodsSupported() { - tokenEndpointAuthMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of client authentication methods supported by this token endpoint.
-       * 
- * - * repeated string token_endpoint_auth_methods_supported = 6; - */ - public Builder addTokenEndpointAuthMethodsSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureTokenEndpointAuthMethodsSupportedIsMutable(); - tokenEndpointAuthMethodsSupported_.add(value); - onChanged(); - return this; - } - - private java.lang.Object jwksUri_ = ""; - /** - *
-       * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-       * client uses to validate signatures from the authorization server.
-       * 
- * - * string jwks_uri = 7; - */ - public java.lang.String getJwksUri() { - java.lang.Object ref = jwksUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jwksUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-       * client uses to validate signatures from the authorization server.
-       * 
- * - * string jwks_uri = 7; - */ - public com.google.protobuf.ByteString - getJwksUriBytes() { - java.lang.Object ref = jwksUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jwksUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-       * client uses to validate signatures from the authorization server.
-       * 
- * - * string jwks_uri = 7; - */ - public Builder setJwksUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - jwksUri_ = value; - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-       * client uses to validate signatures from the authorization server.
-       * 
- * - * string jwks_uri = 7; - */ - public Builder clearJwksUri() { - - jwksUri_ = getDefaultInstance().getJwksUri(); - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
-       * client uses to validate signatures from the authorization server.
-       * 
- * - * string jwks_uri = 7; - */ - public Builder setJwksUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - jwksUri_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList codeChallengeMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureCodeChallengeMethodsSupportedIsMutable() { - if (!((bitField0_ & 0x00000080) != 0)) { - codeChallengeMethodsSupported_ = new com.google.protobuf.LazyStringArrayList(codeChallengeMethodsSupported_); - bitField0_ |= 0x00000080; - } - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public com.google.protobuf.ProtocolStringList - getCodeChallengeMethodsSupportedList() { - return codeChallengeMethodsSupported_.getUnmodifiableView(); - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public int getCodeChallengeMethodsSupportedCount() { - return codeChallengeMethodsSupported_.size(); - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public java.lang.String getCodeChallengeMethodsSupported(int index) { - return codeChallengeMethodsSupported_.get(index); - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public com.google.protobuf.ByteString - getCodeChallengeMethodsSupportedBytes(int index) { - return codeChallengeMethodsSupported_.getByteString(index); - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public Builder setCodeChallengeMethodsSupported( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCodeChallengeMethodsSupportedIsMutable(); - codeChallengeMethodsSupported_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public Builder addCodeChallengeMethodsSupported( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCodeChallengeMethodsSupportedIsMutable(); - codeChallengeMethodsSupported_.add(value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public Builder addAllCodeChallengeMethodsSupported( - java.lang.Iterable values) { - ensureCodeChallengeMethodsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, codeChallengeMethodsSupported_); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public Builder clearCodeChallengeMethodsSupported() { - codeChallengeMethodsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
-       * this authorization server.
-       * 
- * - * repeated string code_challenge_methods_supported = 8; - */ - public Builder addCodeChallengeMethodsSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureCodeChallengeMethodsSupportedIsMutable(); - codeChallengeMethodsSupported_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList grantTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureGrantTypesSupportedIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { - grantTypesSupported_ = new com.google.protobuf.LazyStringArrayList(grantTypesSupported_); - bitField0_ |= 0x00000100; - } - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public com.google.protobuf.ProtocolStringList - getGrantTypesSupportedList() { - return grantTypesSupported_.getUnmodifiableView(); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public int getGrantTypesSupportedCount() { - return grantTypesSupported_.size(); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public java.lang.String getGrantTypesSupported(int index) { - return grantTypesSupported_.get(index); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public com.google.protobuf.ByteString - getGrantTypesSupportedBytes(int index) { - return grantTypesSupported_.getByteString(index); - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public Builder setGrantTypesSupported( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesSupportedIsMutable(); - grantTypesSupported_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public Builder addGrantTypesSupported( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesSupportedIsMutable(); - grantTypesSupported_.add(value); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public Builder addAllGrantTypesSupported( - java.lang.Iterable values) { - ensureGrantTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, grantTypesSupported_); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public Builder clearGrantTypesSupported() { - grantTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000100); - onChanged(); - return this; - } - /** - *
-       * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
-       * 
- * - * repeated string grant_types_supported = 9; - */ - public Builder addGrantTypesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureGrantTypesSupportedIsMutable(); - grantTypesSupported_.add(value); - onChanged(); - return this; - } - - private java.lang.Object deviceAuthorizationEndpoint_ = ""; - /** - *
-       * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-       * 
- * - * string device_authorization_endpoint = 10; - */ - public java.lang.String getDeviceAuthorizationEndpoint() { - java.lang.Object ref = deviceAuthorizationEndpoint_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - deviceAuthorizationEndpoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-       * 
- * - * string device_authorization_endpoint = 10; - */ - public com.google.protobuf.ByteString - getDeviceAuthorizationEndpointBytes() { - java.lang.Object ref = deviceAuthorizationEndpoint_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deviceAuthorizationEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-       * 
- * - * string device_authorization_endpoint = 10; - */ - public Builder setDeviceAuthorizationEndpoint( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - deviceAuthorizationEndpoint_ = value; - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-       * 
- * - * string device_authorization_endpoint = 10; - */ - public Builder clearDeviceAuthorizationEndpoint() { - - deviceAuthorizationEndpoint_ = getDefaultInstance().getDeviceAuthorizationEndpoint(); - onChanged(); - return this; - } - /** - *
-       * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
-       * 
- * - * string device_authorization_endpoint = 10; - */ - public Builder setDeviceAuthorizationEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - deviceAuthorizationEndpoint_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.OAuth2MetadataResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.OAuth2MetadataResponse) - private static final flyteidl.service.Auth.OAuth2MetadataResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Auth.OAuth2MetadataResponse(); - } - - public static flyteidl.service.Auth.OAuth2MetadataResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuth2MetadataResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuth2MetadataResponse(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.Auth.OAuth2MetadataResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PublicClientAuthConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.PublicClientAuthConfigRequest) - com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code flyteidl.service.PublicClientAuthConfigRequest} - */ - public static final class PublicClientAuthConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.PublicClientAuthConfigRequest) - PublicClientAuthConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use PublicClientAuthConfigRequest.newBuilder() to construct. - private PublicClientAuthConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PublicClientAuthConfigRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PublicClientAuthConfigRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.PublicClientAuthConfigRequest.class, flyteidl.service.Auth.PublicClientAuthConfigRequest.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.service.Auth.PublicClientAuthConfigRequest)) { - return super.equals(obj); - } - flyteidl.service.Auth.PublicClientAuthConfigRequest other = (flyteidl.service.Auth.PublicClientAuthConfigRequest) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Auth.PublicClientAuthConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest 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.Auth.PublicClientAuthConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest 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.Auth.PublicClientAuthConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest 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.Auth.PublicClientAuthConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.PublicClientAuthConfigRequest 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.Auth.PublicClientAuthConfigRequest 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.PublicClientAuthConfigRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.PublicClientAuthConfigRequest) - flyteidl.service.Auth.PublicClientAuthConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.PublicClientAuthConfigRequest.class, flyteidl.service.Auth.PublicClientAuthConfigRequest.Builder.class); - } - - // Construct using flyteidl.service.Auth.PublicClientAuthConfigRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.Auth.PublicClientAuthConfigRequest getDefaultInstanceForType() { - return flyteidl.service.Auth.PublicClientAuthConfigRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Auth.PublicClientAuthConfigRequest build() { - flyteidl.service.Auth.PublicClientAuthConfigRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Auth.PublicClientAuthConfigRequest buildPartial() { - flyteidl.service.Auth.PublicClientAuthConfigRequest result = new flyteidl.service.Auth.PublicClientAuthConfigRequest(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.Auth.PublicClientAuthConfigRequest) { - return mergeFrom((flyteidl.service.Auth.PublicClientAuthConfigRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Auth.PublicClientAuthConfigRequest other) { - if (other == flyteidl.service.Auth.PublicClientAuthConfigRequest.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.Auth.PublicClientAuthConfigRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Auth.PublicClientAuthConfigRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.PublicClientAuthConfigRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.PublicClientAuthConfigRequest) - private static final flyteidl.service.Auth.PublicClientAuthConfigRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Auth.PublicClientAuthConfigRequest(); - } - - public static flyteidl.service.Auth.PublicClientAuthConfigRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PublicClientAuthConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PublicClientAuthConfigRequest(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.Auth.PublicClientAuthConfigRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PublicClientAuthConfigResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.PublicClientAuthConfigResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * client_id to use when initiating OAuth2 authorization requests.
-     * 
- * - * string client_id = 1; - */ - java.lang.String getClientId(); - /** - *
-     * client_id to use when initiating OAuth2 authorization requests.
-     * 
- * - * string client_id = 1; - */ - com.google.protobuf.ByteString - getClientIdBytes(); - - /** - *
-     * redirect uri to use when initiating OAuth2 authorization requests.
-     * 
- * - * string redirect_uri = 2; - */ - java.lang.String getRedirectUri(); - /** - *
-     * redirect uri to use when initiating OAuth2 authorization requests.
-     * 
- * - * string redirect_uri = 2; - */ - com.google.protobuf.ByteString - getRedirectUriBytes(); - - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - java.util.List - getScopesList(); - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - int getScopesCount(); - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - java.lang.String getScopes(int index); - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - com.google.protobuf.ByteString - getScopesBytes(int index); - - /** - *
-     * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-     * default http `Authorization` header.
-     * 
- * - * string authorization_metadata_key = 4; - */ - java.lang.String getAuthorizationMetadataKey(); - /** - *
-     * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-     * default http `Authorization` header.
-     * 
- * - * string authorization_metadata_key = 4; - */ - com.google.protobuf.ByteString - getAuthorizationMetadataKeyBytes(); - - /** - *
-     * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-     * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-     * SSL or no SSL connections.
-     * 
- * - * string service_http_endpoint = 5; - */ - java.lang.String getServiceHttpEndpoint(); - /** - *
-     * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-     * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-     * SSL or no SSL connections.
-     * 
- * - * string service_http_endpoint = 5; - */ - com.google.protobuf.ByteString - getServiceHttpEndpointBytes(); - - /** - *
-     * audience to use when initiating OAuth2 authorization requests.
-     * 
- * - * string audience = 6; - */ - java.lang.String getAudience(); - /** - *
-     * audience to use when initiating OAuth2 authorization requests.
-     * 
- * - * string audience = 6; - */ - com.google.protobuf.ByteString - getAudienceBytes(); - } - /** - *
-   * FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users.
-   * 
- * - * Protobuf type {@code flyteidl.service.PublicClientAuthConfigResponse} - */ - public static final class PublicClientAuthConfigResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.PublicClientAuthConfigResponse) - PublicClientAuthConfigResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use PublicClientAuthConfigResponse.newBuilder() to construct. - private PublicClientAuthConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PublicClientAuthConfigResponse() { - clientId_ = ""; - redirectUri_ = ""; - scopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - authorizationMetadataKey_ = ""; - serviceHttpEndpoint_ = ""; - audience_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PublicClientAuthConfigResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - clientId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - redirectUri_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - scopes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - scopes_.add(s); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - authorizationMetadataKey_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - serviceHttpEndpoint_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - audience_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - scopes_ = scopes_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.PublicClientAuthConfigResponse.class, flyteidl.service.Auth.PublicClientAuthConfigResponse.Builder.class); - } - - private int bitField0_; - public static final int CLIENT_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object clientId_; - /** - *
-     * client_id to use when initiating OAuth2 authorization requests.
-     * 
- * - * string client_id = 1; - */ - public java.lang.String getClientId() { - java.lang.Object ref = clientId_; - 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(); - clientId_ = s; - return s; - } - } - /** - *
-     * client_id to use when initiating OAuth2 authorization requests.
-     * 
- * - * string client_id = 1; - */ - public com.google.protobuf.ByteString - getClientIdBytes() { - java.lang.Object ref = clientId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clientId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REDIRECT_URI_FIELD_NUMBER = 2; - private volatile java.lang.Object redirectUri_; - /** - *
-     * redirect uri to use when initiating OAuth2 authorization requests.
-     * 
- * - * string redirect_uri = 2; - */ - public java.lang.String getRedirectUri() { - java.lang.Object ref = redirectUri_; - 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(); - redirectUri_ = s; - return s; - } - } - /** - *
-     * redirect uri to use when initiating OAuth2 authorization requests.
-     * 
- * - * string redirect_uri = 2; - */ - public com.google.protobuf.ByteString - getRedirectUriBytes() { - java.lang.Object ref = redirectUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - redirectUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCOPES_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList scopes_; - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - public com.google.protobuf.ProtocolStringList - getScopesList() { - return scopes_; - } - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - public int getScopesCount() { - return scopes_.size(); - } - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - public java.lang.String getScopes(int index) { - return scopes_.get(index); - } - /** - *
-     * scopes to request when initiating OAuth2 authorization requests.
-     * 
- * - * repeated string scopes = 3; - */ - public com.google.protobuf.ByteString - getScopesBytes(int index) { - return scopes_.getByteString(index); - } - - public static final int AUTHORIZATION_METADATA_KEY_FIELD_NUMBER = 4; - private volatile java.lang.Object authorizationMetadataKey_; - /** - *
-     * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-     * default http `Authorization` header.
-     * 
- * - * string authorization_metadata_key = 4; - */ - public java.lang.String getAuthorizationMetadataKey() { - java.lang.Object ref = authorizationMetadataKey_; - 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(); - authorizationMetadataKey_ = s; - return s; - } - } - /** - *
-     * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-     * default http `Authorization` header.
-     * 
- * - * string authorization_metadata_key = 4; - */ - public com.google.protobuf.ByteString - getAuthorizationMetadataKeyBytes() { - java.lang.Object ref = authorizationMetadataKey_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - authorizationMetadataKey_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SERVICE_HTTP_ENDPOINT_FIELD_NUMBER = 5; - private volatile java.lang.Object serviceHttpEndpoint_; - /** - *
-     * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-     * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-     * SSL or no SSL connections.
-     * 
- * - * string service_http_endpoint = 5; - */ - public java.lang.String getServiceHttpEndpoint() { - java.lang.Object ref = serviceHttpEndpoint_; - 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(); - serviceHttpEndpoint_ = s; - return s; - } - } - /** - *
-     * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-     * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-     * SSL or no SSL connections.
-     * 
- * - * string service_http_endpoint = 5; - */ - public com.google.protobuf.ByteString - getServiceHttpEndpointBytes() { - java.lang.Object ref = serviceHttpEndpoint_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - serviceHttpEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int AUDIENCE_FIELD_NUMBER = 6; - private volatile java.lang.Object audience_; - /** - *
-     * audience to use when initiating OAuth2 authorization requests.
-     * 
- * - * string audience = 6; - */ - public java.lang.String getAudience() { - java.lang.Object ref = audience_; - 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(); - audience_ = s; - return s; - } - } - /** - *
-     * audience to use when initiating OAuth2 authorization requests.
-     * 
- * - * string audience = 6; - */ - public com.google.protobuf.ByteString - getAudienceBytes() { - java.lang.Object ref = audience_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - audience_ = 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 (!getClientIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientId_); - } - if (!getRedirectUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, redirectUri_); - } - for (int i = 0; i < scopes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, scopes_.getRaw(i)); - } - if (!getAuthorizationMetadataKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, authorizationMetadataKey_); - } - if (!getServiceHttpEndpointBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceHttpEndpoint_); - } - if (!getAudienceBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, audience_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getClientIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientId_); - } - if (!getRedirectUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, redirectUri_); - } - { - int dataSize = 0; - for (int i = 0; i < scopes_.size(); i++) { - dataSize += computeStringSizeNoTag(scopes_.getRaw(i)); - } - size += dataSize; - size += 1 * getScopesList().size(); - } - if (!getAuthorizationMetadataKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authorizationMetadataKey_); - } - if (!getServiceHttpEndpointBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceHttpEndpoint_); - } - if (!getAudienceBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, audience_); - } - 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.Auth.PublicClientAuthConfigResponse)) { - return super.equals(obj); - } - flyteidl.service.Auth.PublicClientAuthConfigResponse other = (flyteidl.service.Auth.PublicClientAuthConfigResponse) obj; - - if (!getClientId() - .equals(other.getClientId())) return false; - if (!getRedirectUri() - .equals(other.getRedirectUri())) return false; - if (!getScopesList() - .equals(other.getScopesList())) return false; - if (!getAuthorizationMetadataKey() - .equals(other.getAuthorizationMetadataKey())) return false; - if (!getServiceHttpEndpoint() - .equals(other.getServiceHttpEndpoint())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER; - hash = (53 * hash) + getClientId().hashCode(); - hash = (37 * hash) + REDIRECT_URI_FIELD_NUMBER; - hash = (53 * hash) + getRedirectUri().hashCode(); - if (getScopesCount() > 0) { - hash = (37 * hash) + SCOPES_FIELD_NUMBER; - hash = (53 * hash) + getScopesList().hashCode(); - } - hash = (37 * hash) + AUTHORIZATION_METADATA_KEY_FIELD_NUMBER; - hash = (53 * hash) + getAuthorizationMetadataKey().hashCode(); - hash = (37 * hash) + SERVICE_HTTP_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + getServiceHttpEndpoint().hashCode(); - hash = (37 * hash) + AUDIENCE_FIELD_NUMBER; - hash = (53 * hash) + getAudience().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Auth.PublicClientAuthConfigResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse 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.Auth.PublicClientAuthConfigResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse 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.Auth.PublicClientAuthConfigResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse 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.Auth.PublicClientAuthConfigResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Auth.PublicClientAuthConfigResponse 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.Auth.PublicClientAuthConfigResponse 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; - } - /** - *
-     * FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users.
-     * 
- * - * Protobuf type {@code flyteidl.service.PublicClientAuthConfigResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.PublicClientAuthConfigResponse) - flyteidl.service.Auth.PublicClientAuthConfigResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Auth.PublicClientAuthConfigResponse.class, flyteidl.service.Auth.PublicClientAuthConfigResponse.Builder.class); - } - - // Construct using flyteidl.service.Auth.PublicClientAuthConfigResponse.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(); - clientId_ = ""; - - redirectUri_ = ""; - - scopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - authorizationMetadataKey_ = ""; - - serviceHttpEndpoint_ = ""; - - audience_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Auth.internal_static_flyteidl_service_PublicClientAuthConfigResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.Auth.PublicClientAuthConfigResponse getDefaultInstanceForType() { - return flyteidl.service.Auth.PublicClientAuthConfigResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Auth.PublicClientAuthConfigResponse build() { - flyteidl.service.Auth.PublicClientAuthConfigResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Auth.PublicClientAuthConfigResponse buildPartial() { - flyteidl.service.Auth.PublicClientAuthConfigResponse result = new flyteidl.service.Auth.PublicClientAuthConfigResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - result.clientId_ = clientId_; - result.redirectUri_ = redirectUri_; - if (((bitField0_ & 0x00000004) != 0)) { - scopes_ = scopes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.scopes_ = scopes_; - result.authorizationMetadataKey_ = authorizationMetadataKey_; - result.serviceHttpEndpoint_ = serviceHttpEndpoint_; - result.audience_ = audience_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.Auth.PublicClientAuthConfigResponse) { - return mergeFrom((flyteidl.service.Auth.PublicClientAuthConfigResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Auth.PublicClientAuthConfigResponse other) { - if (other == flyteidl.service.Auth.PublicClientAuthConfigResponse.getDefaultInstance()) return this; - if (!other.getClientId().isEmpty()) { - clientId_ = other.clientId_; - onChanged(); - } - if (!other.getRedirectUri().isEmpty()) { - redirectUri_ = other.redirectUri_; - onChanged(); - } - if (!other.scopes_.isEmpty()) { - if (scopes_.isEmpty()) { - scopes_ = other.scopes_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureScopesIsMutable(); - scopes_.addAll(other.scopes_); - } - onChanged(); - } - if (!other.getAuthorizationMetadataKey().isEmpty()) { - authorizationMetadataKey_ = other.authorizationMetadataKey_; - onChanged(); - } - if (!other.getServiceHttpEndpoint().isEmpty()) { - serviceHttpEndpoint_ = other.serviceHttpEndpoint_; - onChanged(); - } - if (!other.getAudience().isEmpty()) { - audience_ = other.audience_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.Auth.PublicClientAuthConfigResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Auth.PublicClientAuthConfigResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object clientId_ = ""; - /** - *
-       * client_id to use when initiating OAuth2 authorization requests.
-       * 
- * - * string client_id = 1; - */ - public java.lang.String getClientId() { - java.lang.Object ref = clientId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - clientId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * client_id to use when initiating OAuth2 authorization requests.
-       * 
- * - * string client_id = 1; - */ - public com.google.protobuf.ByteString - getClientIdBytes() { - java.lang.Object ref = clientId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - clientId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * client_id to use when initiating OAuth2 authorization requests.
-       * 
- * - * string client_id = 1; - */ - public Builder setClientId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - clientId_ = value; - onChanged(); - return this; - } - /** - *
-       * client_id to use when initiating OAuth2 authorization requests.
-       * 
- * - * string client_id = 1; - */ - public Builder clearClientId() { - - clientId_ = getDefaultInstance().getClientId(); - onChanged(); - return this; - } - /** - *
-       * client_id to use when initiating OAuth2 authorization requests.
-       * 
- * - * string client_id = 1; - */ - public Builder setClientIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - clientId_ = value; - onChanged(); - return this; - } - - private java.lang.Object redirectUri_ = ""; - /** - *
-       * redirect uri to use when initiating OAuth2 authorization requests.
-       * 
- * - * string redirect_uri = 2; - */ - public java.lang.String getRedirectUri() { - java.lang.Object ref = redirectUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - redirectUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * redirect uri to use when initiating OAuth2 authorization requests.
-       * 
- * - * string redirect_uri = 2; - */ - public com.google.protobuf.ByteString - getRedirectUriBytes() { - java.lang.Object ref = redirectUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - redirectUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * redirect uri to use when initiating OAuth2 authorization requests.
-       * 
- * - * string redirect_uri = 2; - */ - public Builder setRedirectUri( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - redirectUri_ = value; - onChanged(); - return this; - } - /** - *
-       * redirect uri to use when initiating OAuth2 authorization requests.
-       * 
- * - * string redirect_uri = 2; - */ - public Builder clearRedirectUri() { - - redirectUri_ = getDefaultInstance().getRedirectUri(); - onChanged(); - return this; - } - /** - *
-       * redirect uri to use when initiating OAuth2 authorization requests.
-       * 
- * - * string redirect_uri = 2; - */ - public Builder setRedirectUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - redirectUri_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList scopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureScopesIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - scopes_ = new com.google.protobuf.LazyStringArrayList(scopes_); - bitField0_ |= 0x00000004; - } - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public com.google.protobuf.ProtocolStringList - getScopesList() { - return scopes_.getUnmodifiableView(); - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public int getScopesCount() { - return scopes_.size(); - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public java.lang.String getScopes(int index) { - return scopes_.get(index); - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public com.google.protobuf.ByteString - getScopesBytes(int index) { - return scopes_.getByteString(index); - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public Builder setScopes( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureScopesIsMutable(); - scopes_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public Builder addScopes( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureScopesIsMutable(); - scopes_.add(value); - onChanged(); - return this; - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public Builder addAllScopes( - java.lang.Iterable values) { - ensureScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, scopes_); - onChanged(); - return this; - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public Builder clearScopes() { - scopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - *
-       * scopes to request when initiating OAuth2 authorization requests.
-       * 
- * - * repeated string scopes = 3; - */ - public Builder addScopesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureScopesIsMutable(); - scopes_.add(value); - onChanged(); - return this; - } - - private java.lang.Object authorizationMetadataKey_ = ""; - /** - *
-       * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-       * default http `Authorization` header.
-       * 
- * - * string authorization_metadata_key = 4; - */ - public java.lang.String getAuthorizationMetadataKey() { - java.lang.Object ref = authorizationMetadataKey_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - authorizationMetadataKey_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-       * default http `Authorization` header.
-       * 
- * - * string authorization_metadata_key = 4; - */ - public com.google.protobuf.ByteString - getAuthorizationMetadataKeyBytes() { - java.lang.Object ref = authorizationMetadataKey_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - authorizationMetadataKey_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-       * default http `Authorization` header.
-       * 
- * - * string authorization_metadata_key = 4; - */ - public Builder setAuthorizationMetadataKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - authorizationMetadataKey_ = value; - onChanged(); - return this; - } - /** - *
-       * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-       * default http `Authorization` header.
-       * 
- * - * string authorization_metadata_key = 4; - */ - public Builder clearAuthorizationMetadataKey() { - - authorizationMetadataKey_ = getDefaultInstance().getAuthorizationMetadataKey(); - onChanged(); - return this; - } - /** - *
-       * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
-       * default http `Authorization` header.
-       * 
- * - * string authorization_metadata_key = 4; - */ - public Builder setAuthorizationMetadataKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - authorizationMetadataKey_ = value; - onChanged(); - return this; - } - - private java.lang.Object serviceHttpEndpoint_ = ""; - /** - *
-       * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-       * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-       * SSL or no SSL connections.
-       * 
- * - * string service_http_endpoint = 5; - */ - public java.lang.String getServiceHttpEndpoint() { - java.lang.Object ref = serviceHttpEndpoint_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - serviceHttpEndpoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-       * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-       * SSL or no SSL connections.
-       * 
- * - * string service_http_endpoint = 5; - */ - public com.google.protobuf.ByteString - getServiceHttpEndpointBytes() { - java.lang.Object ref = serviceHttpEndpoint_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - serviceHttpEndpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-       * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-       * SSL or no SSL connections.
-       * 
- * - * string service_http_endpoint = 5; - */ - public Builder setServiceHttpEndpoint( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - serviceHttpEndpoint_ = value; - onChanged(); - return this; - } - /** - *
-       * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-       * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-       * SSL or no SSL connections.
-       * 
- * - * string service_http_endpoint = 5; - */ - public Builder clearServiceHttpEndpoint() { - - serviceHttpEndpoint_ = getDefaultInstance().getServiceHttpEndpoint(); - onChanged(); - return this; - } - /** - *
-       * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
-       * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
-       * SSL or no SSL connections.
-       * 
- * - * string service_http_endpoint = 5; - */ - public Builder setServiceHttpEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - serviceHttpEndpoint_ = value; - onChanged(); - return this; - } - - private java.lang.Object audience_ = ""; - /** - *
-       * audience to use when initiating OAuth2 authorization requests.
-       * 
- * - * string audience = 6; - */ - public java.lang.String getAudience() { - java.lang.Object ref = audience_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - audience_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * audience to use when initiating OAuth2 authorization requests.
-       * 
- * - * string audience = 6; - */ - public com.google.protobuf.ByteString - getAudienceBytes() { - java.lang.Object ref = audience_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - audience_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * audience to use when initiating OAuth2 authorization requests.
-       * 
- * - * string audience = 6; - */ - public Builder setAudience( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - audience_ = value; - onChanged(); - return this; - } - /** - *
-       * audience to use when initiating OAuth2 authorization requests.
-       * 
- * - * string audience = 6; - */ - public Builder clearAudience() { - - audience_ = getDefaultInstance().getAudience(); - onChanged(); - return this; - } - /** - *
-       * audience to use when initiating OAuth2 authorization requests.
-       * 
- * - * string audience = 6; - */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - audience_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.PublicClientAuthConfigResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.PublicClientAuthConfigResponse) - private static final flyteidl.service.Auth.PublicClientAuthConfigResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Auth.PublicClientAuthConfigResponse(); - } - - public static flyteidl.service.Auth.PublicClientAuthConfigResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PublicClientAuthConfigResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PublicClientAuthConfigResponse(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.Auth.PublicClientAuthConfigResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_OAuth2MetadataRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_OAuth2MetadataRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_OAuth2MetadataResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_OAuth2MetadataResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_PublicClientAuthConfigRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_PublicClientAuthConfigRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_PublicClientAuthConfigResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_PublicClientAuthConfigResponse_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\033flyteidl/service/auth.proto\022\020flyteidl." + - "service\032\034google/api/annotations.proto\"\027\n" + - "\025OAuth2MetadataRequest\"\315\002\n\026OAuth2Metadat" + - "aResponse\022\016\n\006issuer\030\001 \001(\t\022\036\n\026authorizati" + - "on_endpoint\030\002 \001(\t\022\026\n\016token_endpoint\030\003 \001(" + - "\t\022 \n\030response_types_supported\030\004 \003(\t\022\030\n\020s" + - "copes_supported\030\005 \003(\t\022-\n%token_endpoint_" + - "auth_methods_supported\030\006 \003(\t\022\020\n\010jwks_uri" + - "\030\007 \001(\t\022(\n code_challenge_methods_support" + - "ed\030\010 \003(\t\022\035\n\025grant_types_supported\030\t \003(\t\022" + - "%\n\035device_authorization_endpoint\030\n \001(\t\"\037" + - "\n\035PublicClientAuthConfigRequest\"\256\001\n\036Publ" + - "icClientAuthConfigResponse\022\021\n\tclient_id\030" + - "\001 \001(\t\022\024\n\014redirect_uri\030\002 \001(\t\022\016\n\006scopes\030\003 " + - "\003(\t\022\"\n\032authorization_metadata_key\030\004 \001(\t\022" + - "\035\n\025service_http_endpoint\030\005 \001(\t\022\020\n\010audien" + - "ce\030\006 \001(\t2\315\002\n\023AuthMetadataService\022\227\001\n\021Get" + - "OAuth2Metadata\022\'.flyteidl.service.OAuth2" + - "MetadataRequest\032(.flyteidl.service.OAuth" + - "2MetadataResponse\"/\202\323\344\223\002)\022\'/.well-known/" + - "oauth-authorization-server\022\233\001\n\025GetPublic" + - "ClientConfig\022/.flyteidl.service.PublicCl" + - "ientAuthConfigRequest\0320.flyteidl.service" + - ".PublicClientAuthConfigResponse\"\037\202\323\344\223\002\031\022" + - "\027/config/v1/flyte_clientB?Z=github.com/f" + - "lyteorg/flyte/flyteidl/gen/pb-go/flyteid" + - "l/serviceb\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(), - }, assigner); - internal_static_flyteidl_service_OAuth2MetadataRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_service_OAuth2MetadataRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_OAuth2MetadataRequest_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_service_OAuth2MetadataResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_service_OAuth2MetadataResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_OAuth2MetadataResponse_descriptor, - new java.lang.String[] { "Issuer", "AuthorizationEndpoint", "TokenEndpoint", "ResponseTypesSupported", "ScopesSupported", "TokenEndpointAuthMethodsSupported", "JwksUri", "CodeChallengeMethodsSupported", "GrantTypesSupported", "DeviceAuthorizationEndpoint", }); - internal_static_flyteidl_service_PublicClientAuthConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_service_PublicClientAuthConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_PublicClientAuthConfigRequest_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_service_PublicClientAuthConfigResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_service_PublicClientAuthConfigResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_PublicClientAuthConfigResponse_descriptor, - new java.lang.String[] { "ClientId", "RedirectUri", "Scopes", "AuthorizationMetadataKey", "ServiceHttpEndpoint", "Audience", }); - 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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Dataproxy.java b/flyteidl/gen/pb-java/flyteidl/service/Dataproxy.java deleted file mode 100644 index df75c41816..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/service/Dataproxy.java +++ /dev/null @@ -1,9887 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/dataproxy.proto - -package flyteidl.service; - -public final class Dataproxy { - private Dataproxy() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * ArtifactType
-   * 
- * - * Protobuf enum {@code flyteidl.service.ArtifactType} - */ - public enum ArtifactType - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
-     * ARTIFACT_TYPE_UNDEFINED is the default, often invalid, value for the enum.
-     * 
- * - * ARTIFACT_TYPE_UNDEFINED = 0; - */ - ARTIFACT_TYPE_UNDEFINED(0), - /** - *
-     * ARTIFACT_TYPE_DECK refers to the deck html file optionally generated after a task, a workflow or a launch plan
-     * finishes executing.
-     * 
- * - * ARTIFACT_TYPE_DECK = 1; - */ - ARTIFACT_TYPE_DECK(1), - UNRECOGNIZED(-1), - ; - - /** - *
-     * ARTIFACT_TYPE_UNDEFINED is the default, often invalid, value for the enum.
-     * 
- * - * ARTIFACT_TYPE_UNDEFINED = 0; - */ - public static final int ARTIFACT_TYPE_UNDEFINED_VALUE = 0; - /** - *
-     * ARTIFACT_TYPE_DECK refers to the deck html file optionally generated after a task, a workflow or a launch plan
-     * finishes executing.
-     * 
- * - * ARTIFACT_TYPE_DECK = 1; - */ - public static final int ARTIFACT_TYPE_DECK_VALUE = 1; - - - 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 ArtifactType valueOf(int value) { - return forNumber(value); - } - - public static ArtifactType forNumber(int value) { - switch (value) { - case 0: return ARTIFACT_TYPE_UNDEFINED; - case 1: return ARTIFACT_TYPE_DECK; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ArtifactType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArtifactType findValueByNumber(int number) { - return ArtifactType.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.service.Dataproxy.getDescriptor().getEnumTypes().get(0); - } - - private static final ArtifactType[] VALUES = values(); - - public static ArtifactType 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 ArtifactType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.service.ArtifactType) - } - - public interface CreateUploadLocationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.CreateUploadLocationResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - java.lang.String getSignedUrl(); - /** - *
-     * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - com.google.protobuf.ByteString - getSignedUrlBytes(); - - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 2; - */ - java.lang.String getNativeUrl(); - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 2; - */ - com.google.protobuf.ByteString - getNativeUrlBytes(); - - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - boolean hasExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - com.google.protobuf.Timestamp getExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.service.CreateUploadLocationResponse} - */ - public static final class CreateUploadLocationResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.CreateUploadLocationResponse) - CreateUploadLocationResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateUploadLocationResponse.newBuilder() to construct. - private CreateUploadLocationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateUploadLocationResponse() { - signedUrl_ = ""; - nativeUrl_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateUploadLocationResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - signedUrl_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - nativeUrl_ = s; - break; - } - case 26: { - 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; - } - 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.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateUploadLocationResponse.class, flyteidl.service.Dataproxy.CreateUploadLocationResponse.Builder.class); - } - - public static final int SIGNED_URL_FIELD_NUMBER = 1; - private volatile java.lang.Object signedUrl_; - /** - *
-     * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - public java.lang.String getSignedUrl() { - java.lang.Object ref = signedUrl_; - 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(); - signedUrl_ = s; - return s; - } - } - /** - *
-     * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - public com.google.protobuf.ByteString - getSignedUrlBytes() { - java.lang.Object ref = signedUrl_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signedUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NATIVE_URL_FIELD_NUMBER = 2; - private volatile java.lang.Object nativeUrl_; - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 2; - */ - public java.lang.String getNativeUrl() { - java.lang.Object ref = nativeUrl_; - 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(); - nativeUrl_ = s; - return s; - } - } - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 2; - */ - public com.google.protobuf.ByteString - getNativeUrlBytes() { - java.lang.Object ref = nativeUrl_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nativeUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXPIRES_AT_FIELD_NUMBER = 3; - private com.google.protobuf.Timestamp expiresAt_; - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public boolean hasExpiresAt() { - return expiresAt_ != null; - } - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public com.google.protobuf.Timestamp getExpiresAt() { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - return getExpiresAt(); - } - - 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 (!getSignedUrlBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signedUrl_); - } - if (!getNativeUrlBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nativeUrl_); - } - if (expiresAt_ != null) { - output.writeMessage(3, getExpiresAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getSignedUrlBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, signedUrl_); - } - if (!getNativeUrlBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nativeUrl_); - } - if (expiresAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getExpiresAt()); - } - 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.Dataproxy.CreateUploadLocationResponse)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.CreateUploadLocationResponse other = (flyteidl.service.Dataproxy.CreateUploadLocationResponse) obj; - - if (!getSignedUrl() - .equals(other.getSignedUrl())) return false; - if (!getNativeUrl() - .equals(other.getNativeUrl())) return false; - if (hasExpiresAt() != other.hasExpiresAt()) return false; - if (hasExpiresAt()) { - if (!getExpiresAt() - .equals(other.getExpiresAt())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SIGNED_URL_FIELD_NUMBER; - hash = (53 * hash) + getSignedUrl().hashCode(); - hash = (37 * hash) + NATIVE_URL_FIELD_NUMBER; - hash = (53 * hash) + getNativeUrl().hashCode(); - if (hasExpiresAt()) { - hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; - hash = (53 * hash) + getExpiresAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse 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.Dataproxy.CreateUploadLocationResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse 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.Dataproxy.CreateUploadLocationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse 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.Dataproxy.CreateUploadLocationResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse 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.Dataproxy.CreateUploadLocationResponse 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.CreateUploadLocationResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.CreateUploadLocationResponse) - flyteidl.service.Dataproxy.CreateUploadLocationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateUploadLocationResponse.class, flyteidl.service.Dataproxy.CreateUploadLocationResponse.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.CreateUploadLocationResponse.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(); - signedUrl_ = ""; - - nativeUrl_ = ""; - - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateUploadLocationResponse getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.CreateUploadLocationResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateUploadLocationResponse build() { - flyteidl.service.Dataproxy.CreateUploadLocationResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateUploadLocationResponse buildPartial() { - flyteidl.service.Dataproxy.CreateUploadLocationResponse result = new flyteidl.service.Dataproxy.CreateUploadLocationResponse(this); - result.signedUrl_ = signedUrl_; - result.nativeUrl_ = nativeUrl_; - if (expiresAtBuilder_ == null) { - result.expiresAt_ = expiresAt_; - } else { - result.expiresAt_ = expiresAtBuilder_.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.Dataproxy.CreateUploadLocationResponse) { - return mergeFrom((flyteidl.service.Dataproxy.CreateUploadLocationResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.CreateUploadLocationResponse other) { - if (other == flyteidl.service.Dataproxy.CreateUploadLocationResponse.getDefaultInstance()) return this; - if (!other.getSignedUrl().isEmpty()) { - signedUrl_ = other.signedUrl_; - onChanged(); - } - if (!other.getNativeUrl().isEmpty()) { - nativeUrl_ = other.nativeUrl_; - onChanged(); - } - if (other.hasExpiresAt()) { - mergeExpiresAt(other.getExpiresAt()); - } - 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.Dataproxy.CreateUploadLocationResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.CreateUploadLocationResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object signedUrl_ = ""; - /** - *
-       * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public java.lang.String getSignedUrl() { - java.lang.Object ref = signedUrl_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - signedUrl_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public com.google.protobuf.ByteString - getSignedUrlBytes() { - java.lang.Object ref = signedUrl_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signedUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public Builder setSignedUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - signedUrl_ = value; - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public Builder clearSignedUrl() { - - signedUrl_ = getDefaultInstance().getSignedUrl(); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public Builder setSignedUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - signedUrl_ = value; - onChanged(); - return this; - } - - private java.lang.Object nativeUrl_ = ""; - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 2; - */ - public java.lang.String getNativeUrl() { - java.lang.Object ref = nativeUrl_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nativeUrl_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 2; - */ - public com.google.protobuf.ByteString - getNativeUrlBytes() { - java.lang.Object ref = nativeUrl_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nativeUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 2; - */ - public Builder setNativeUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nativeUrl_ = value; - onChanged(); - return this; - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 2; - */ - public Builder clearNativeUrl() { - - nativeUrl_ = getDefaultInstance().getNativeUrl(); - onChanged(); - return this; - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 2; - */ - public Builder setNativeUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nativeUrl_ = value; - onChanged(); - return this; - } - - 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_; - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public boolean hasExpiresAt() { - return expiresAtBuilder_ != null || expiresAt_ != null; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public com.google.protobuf.Timestamp getExpiresAt() { - if (expiresAtBuilder_ == null) { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } else { - return expiresAtBuilder_.getMessage(); - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public Builder setExpiresAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (expiresAtBuilder_ == null) { - expiresAt_ = builderForValue.build(); - onChanged(); - } else { - expiresAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public Builder clearExpiresAt() { - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - onChanged(); - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { - - onChanged(); - return getExpiresAtFieldBuilder().getBuilder(); - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - if (expiresAtBuilder_ != null) { - return expiresAtBuilder_.getMessageOrBuilder(); - } else { - return expiresAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 3; - */ - 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_; - } - @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.CreateUploadLocationResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateUploadLocationResponse) - private static final flyteidl.service.Dataproxy.CreateUploadLocationResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.CreateUploadLocationResponse(); - } - - public static flyteidl.service.Dataproxy.CreateUploadLocationResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUploadLocationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUploadLocationResponse(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.Dataproxy.CreateUploadLocationResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateUploadLocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.CreateUploadLocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Project to create the upload location for
-     * +required
-     * 
- * - * string project = 1; - */ - java.lang.String getProject(); - /** - *
-     * Project to create the upload location for
-     * +required
-     * 
- * - * string project = 1; - */ - com.google.protobuf.ByteString - getProjectBytes(); - - /** - *
-     * Domain to create the upload location for.
-     * +required
-     * 
- * - * string domain = 2; - */ - java.lang.String getDomain(); - /** - *
-     * Domain to create the upload location for.
-     * +required
-     * 
- * - * string domain = 2; - */ - com.google.protobuf.ByteString - getDomainBytes(); - - /** - *
-     * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-     * +optional. By default, the service will generate a consistent name based on the provided parameters.
-     * 
- * - * string filename = 3; - */ - java.lang.String getFilename(); - /** - *
-     * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-     * +optional. By default, the service will generate a consistent name based on the provided parameters.
-     * 
- * - * string filename = 3; - */ - com.google.protobuf.ByteString - getFilenameBytes(); - - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - boolean hasExpiresIn(); - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - com.google.protobuf.Duration getExpiresIn(); - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder(); - - /** - *
-     * ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
-     * generated path.
-     * +required
-     * 
- * - * bytes content_md5 = 5; - */ - com.google.protobuf.ByteString getContentMd5(); - - /** - *
-     * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-     * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-     * in data proxy config. This option is useful when uploading multiple files.
-     * +optional
-     * 
- * - * string filename_root = 6; - */ - java.lang.String getFilenameRoot(); - /** - *
-     * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-     * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-     * in data proxy config. This option is useful when uploading multiple files.
-     * +optional
-     * 
- * - * string filename_root = 6; - */ - com.google.protobuf.ByteString - getFilenameRootBytes(); - } - /** - *
-   * CreateUploadLocationRequest specified request for the CreateUploadLocation API.
-   * The implementation in data proxy service will create the s3 location with some server side configured prefixes,
-   * and then:
-   *   - project/domain/(a deterministic str representation of the content_md5)/filename (if present); OR
-   *   - project/domain/filename_root (if present)/filename (if present).
-   * 
- * - * Protobuf type {@code flyteidl.service.CreateUploadLocationRequest} - */ - public static final class CreateUploadLocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.CreateUploadLocationRequest) - CreateUploadLocationRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateUploadLocationRequest.newBuilder() to construct. - private CreateUploadLocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateUploadLocationRequest() { - project_ = ""; - domain_ = ""; - filename_ = ""; - contentMd5_ = com.google.protobuf.ByteString.EMPTY; - filenameRoot_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateUploadLocationRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - project_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - domain_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - filename_ = s; - break; - } - case 34: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (expiresIn_ != null) { - subBuilder = expiresIn_.toBuilder(); - } - expiresIn_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expiresIn_); - expiresIn_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - - contentMd5_ = input.readBytes(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - filenameRoot_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateUploadLocationRequest.class, flyteidl.service.Dataproxy.CreateUploadLocationRequest.Builder.class); - } - - public static final int PROJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object project_; - /** - *
-     * Project to create the upload location for
-     * +required
-     * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } - } - /** - *
-     * Project to create the upload location for
-     * +required
-     * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DOMAIN_FIELD_NUMBER = 2; - private volatile java.lang.Object domain_; - /** - *
-     * Domain to create the upload location for.
-     * +required
-     * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } - } - /** - *
-     * Domain to create the upload location for.
-     * +required
-     * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILENAME_FIELD_NUMBER = 3; - private volatile java.lang.Object filename_; - /** - *
-     * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-     * +optional. By default, the service will generate a consistent name based on the provided parameters.
-     * 
- * - * string filename = 3; - */ - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - 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(); - filename_ = s; - return s; - } - } - /** - *
-     * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-     * +optional. By default, the service will generate a consistent name based on the provided parameters.
-     * 
- * - * string filename = 3; - */ - public com.google.protobuf.ByteString - getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXPIRES_IN_FIELD_NUMBER = 4; - private com.google.protobuf.Duration expiresIn_; - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public boolean hasExpiresIn() { - return expiresIn_ != null; - } - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public com.google.protobuf.Duration getExpiresIn() { - return expiresIn_ == null ? com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder() { - return getExpiresIn(); - } - - public static final int CONTENT_MD5_FIELD_NUMBER = 5; - private com.google.protobuf.ByteString contentMd5_; - /** - *
-     * ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
-     * generated path.
-     * +required
-     * 
- * - * bytes content_md5 = 5; - */ - public com.google.protobuf.ByteString getContentMd5() { - return contentMd5_; - } - - public static final int FILENAME_ROOT_FIELD_NUMBER = 6; - private volatile java.lang.Object filenameRoot_; - /** - *
-     * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-     * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-     * in data proxy config. This option is useful when uploading multiple files.
-     * +optional
-     * 
- * - * string filename_root = 6; - */ - public java.lang.String getFilenameRoot() { - java.lang.Object ref = filenameRoot_; - 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(); - filenameRoot_ = s; - return s; - } - } - /** - *
-     * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-     * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-     * in data proxy config. This option is useful when uploading multiple files.
-     * +optional
-     * 
- * - * string filename_root = 6; - */ - public com.google.protobuf.ByteString - getFilenameRootBytes() { - java.lang.Object ref = filenameRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filenameRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!getProjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); - } - if (!getDomainBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); - } - if (!getFilenameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filename_); - } - if (expiresIn_ != null) { - output.writeMessage(4, getExpiresIn()); - } - if (!contentMd5_.isEmpty()) { - output.writeBytes(5, contentMd5_); - } - if (!getFilenameRootBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, filenameRoot_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getProjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); - } - if (!getDomainBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); - } - if (!getFilenameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filename_); - } - if (expiresIn_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExpiresIn()); - } - if (!contentMd5_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, contentMd5_); - } - if (!getFilenameRootBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, filenameRoot_); - } - 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.Dataproxy.CreateUploadLocationRequest)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.CreateUploadLocationRequest other = (flyteidl.service.Dataproxy.CreateUploadLocationRequest) obj; - - if (!getProject() - .equals(other.getProject())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; - if (!getFilename() - .equals(other.getFilename())) return false; - if (hasExpiresIn() != other.hasExpiresIn()) return false; - if (hasExpiresIn()) { - if (!getExpiresIn() - .equals(other.getExpiresIn())) return false; - } - if (!getContentMd5() - .equals(other.getContentMd5())) return false; - if (!getFilenameRoot() - .equals(other.getFilenameRoot())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PROJECT_FIELD_NUMBER; - hash = (53 * hash) + getProject().hashCode(); - hash = (37 * hash) + DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + getDomain().hashCode(); - hash = (37 * hash) + FILENAME_FIELD_NUMBER; - hash = (53 * hash) + getFilename().hashCode(); - if (hasExpiresIn()) { - hash = (37 * hash) + EXPIRES_IN_FIELD_NUMBER; - hash = (53 * hash) + getExpiresIn().hashCode(); - } - hash = (37 * hash) + CONTENT_MD5_FIELD_NUMBER; - hash = (53 * hash) + getContentMd5().hashCode(); - hash = (37 * hash) + FILENAME_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getFilenameRoot().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest 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.Dataproxy.CreateUploadLocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest 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.Dataproxy.CreateUploadLocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest 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.Dataproxy.CreateUploadLocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest 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.Dataproxy.CreateUploadLocationRequest 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; - } - /** - *
-     * CreateUploadLocationRequest specified request for the CreateUploadLocation API.
-     * The implementation in data proxy service will create the s3 location with some server side configured prefixes,
-     * and then:
-     *   - project/domain/(a deterministic str representation of the content_md5)/filename (if present); OR
-     *   - project/domain/filename_root (if present)/filename (if present).
-     * 
- * - * Protobuf type {@code flyteidl.service.CreateUploadLocationRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.CreateUploadLocationRequest) - flyteidl.service.Dataproxy.CreateUploadLocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateUploadLocationRequest.class, flyteidl.service.Dataproxy.CreateUploadLocationRequest.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.CreateUploadLocationRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - project_ = ""; - - domain_ = ""; - - filename_ = ""; - - if (expiresInBuilder_ == null) { - expiresIn_ = null; - } else { - expiresIn_ = null; - expiresInBuilder_ = null; - } - contentMd5_ = com.google.protobuf.ByteString.EMPTY; - - filenameRoot_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateUploadLocationRequest getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.CreateUploadLocationRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateUploadLocationRequest build() { - flyteidl.service.Dataproxy.CreateUploadLocationRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateUploadLocationRequest buildPartial() { - flyteidl.service.Dataproxy.CreateUploadLocationRequest result = new flyteidl.service.Dataproxy.CreateUploadLocationRequest(this); - result.project_ = project_; - result.domain_ = domain_; - result.filename_ = filename_; - if (expiresInBuilder_ == null) { - result.expiresIn_ = expiresIn_; - } else { - result.expiresIn_ = expiresInBuilder_.build(); - } - result.contentMd5_ = contentMd5_; - result.filenameRoot_ = filenameRoot_; - 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.Dataproxy.CreateUploadLocationRequest) { - return mergeFrom((flyteidl.service.Dataproxy.CreateUploadLocationRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.CreateUploadLocationRequest other) { - if (other == flyteidl.service.Dataproxy.CreateUploadLocationRequest.getDefaultInstance()) return this; - if (!other.getProject().isEmpty()) { - project_ = other.project_; - onChanged(); - } - if (!other.getDomain().isEmpty()) { - domain_ = other.domain_; - onChanged(); - } - if (!other.getFilename().isEmpty()) { - filename_ = other.filename_; - onChanged(); - } - if (other.hasExpiresIn()) { - mergeExpiresIn(other.getExpiresIn()); - } - if (other.getContentMd5() != com.google.protobuf.ByteString.EMPTY) { - setContentMd5(other.getContentMd5()); - } - if (!other.getFilenameRoot().isEmpty()) { - filenameRoot_ = other.filenameRoot_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.Dataproxy.CreateUploadLocationRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.CreateUploadLocationRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object project_ = ""; - /** - *
-       * Project to create the upload location for
-       * +required
-       * 
- * - * string project = 1; - */ - public java.lang.String getProject() { - java.lang.Object ref = project_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - project_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Project to create the upload location for
-       * +required
-       * 
- * - * string project = 1; - */ - public com.google.protobuf.ByteString - getProjectBytes() { - java.lang.Object ref = project_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - project_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Project to create the upload location for
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - project_ = value; - onChanged(); - return this; - } - /** - *
-       * Project to create the upload location for
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder clearProject() { - - project_ = getDefaultInstance().getProject(); - onChanged(); - return this; - } - /** - *
-       * Project to create the upload location for
-       * +required
-       * 
- * - * string project = 1; - */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - project_ = value; - onChanged(); - return this; - } - - private java.lang.Object domain_ = ""; - /** - *
-       * Domain to create the upload location for.
-       * +required
-       * 
- * - * string domain = 2; - */ - public java.lang.String getDomain() { - java.lang.Object ref = domain_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - domain_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Domain to create the upload location for.
-       * +required
-       * 
- * - * string domain = 2; - */ - public com.google.protobuf.ByteString - getDomainBytes() { - java.lang.Object ref = domain_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - domain_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Domain to create the upload location for.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - domain_ = value; - onChanged(); - return this; - } - /** - *
-       * Domain to create the upload location for.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder clearDomain() { - - domain_ = getDefaultInstance().getDomain(); - onChanged(); - return this; - } - /** - *
-       * Domain to create the upload location for.
-       * +required
-       * 
- * - * string domain = 2; - */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - domain_ = value; - onChanged(); - return this; - } - - private java.lang.Object filename_ = ""; - /** - *
-       * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-       * +optional. By default, the service will generate a consistent name based on the provided parameters.
-       * 
- * - * string filename = 3; - */ - public java.lang.String getFilename() { - java.lang.Object ref = filename_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filename_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-       * +optional. By default, the service will generate a consistent name based on the provided parameters.
-       * 
- * - * string filename = 3; - */ - public com.google.protobuf.ByteString - getFilenameBytes() { - java.lang.Object ref = filename_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filename_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-       * +optional. By default, the service will generate a consistent name based on the provided parameters.
-       * 
- * - * string filename = 3; - */ - public Builder setFilename( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filename_ = value; - onChanged(); - return this; - } - /** - *
-       * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-       * +optional. By default, the service will generate a consistent name based on the provided parameters.
-       * 
- * - * string filename = 3; - */ - public Builder clearFilename() { - - filename_ = getDefaultInstance().getFilename(); - onChanged(); - return this; - } - /** - *
-       * Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
-       * +optional. By default, the service will generate a consistent name based on the provided parameters.
-       * 
- * - * string filename = 3; - */ - public Builder setFilenameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filename_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Duration expiresIn_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> expiresInBuilder_; - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public boolean hasExpiresIn() { - return expiresInBuilder_ != null || expiresIn_ != null; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public com.google.protobuf.Duration getExpiresIn() { - if (expiresInBuilder_ == null) { - return expiresIn_ == null ? com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } else { - return expiresInBuilder_.getMessage(); - } - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public Builder setExpiresIn(com.google.protobuf.Duration value) { - if (expiresInBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expiresIn_ = value; - onChanged(); - } else { - expiresInBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public Builder setExpiresIn( - com.google.protobuf.Duration.Builder builderForValue) { - if (expiresInBuilder_ == null) { - expiresIn_ = builderForValue.build(); - onChanged(); - } else { - expiresInBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public Builder mergeExpiresIn(com.google.protobuf.Duration value) { - if (expiresInBuilder_ == null) { - if (expiresIn_ != null) { - expiresIn_ = - com.google.protobuf.Duration.newBuilder(expiresIn_).mergeFrom(value).buildPartial(); - } else { - expiresIn_ = value; - } - onChanged(); - } else { - expiresInBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public Builder clearExpiresIn() { - if (expiresInBuilder_ == null) { - expiresIn_ = null; - onChanged(); - } else { - expiresIn_ = null; - expiresInBuilder_ = null; - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public com.google.protobuf.Duration.Builder getExpiresInBuilder() { - - onChanged(); - return getExpiresInFieldBuilder().getBuilder(); - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - public com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder() { - if (expiresInBuilder_ != null) { - return expiresInBuilder_.getMessageOrBuilder(); - } else { - return expiresIn_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getExpiresInFieldBuilder() { - if (expiresInBuilder_ == null) { - expiresInBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getExpiresIn(), - getParentForChildren(), - isClean()); - expiresIn_ = null; - } - return expiresInBuilder_; - } - - private com.google.protobuf.ByteString contentMd5_ = com.google.protobuf.ByteString.EMPTY; - /** - *
-       * ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
-       * generated path.
-       * +required
-       * 
- * - * bytes content_md5 = 5; - */ - public com.google.protobuf.ByteString getContentMd5() { - return contentMd5_; - } - /** - *
-       * ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
-       * generated path.
-       * +required
-       * 
- * - * bytes content_md5 = 5; - */ - public Builder setContentMd5(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - contentMd5_ = value; - onChanged(); - return this; - } - /** - *
-       * ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
-       * generated path.
-       * +required
-       * 
- * - * bytes content_md5 = 5; - */ - public Builder clearContentMd5() { - - contentMd5_ = getDefaultInstance().getContentMd5(); - onChanged(); - return this; - } - - private java.lang.Object filenameRoot_ = ""; - /** - *
-       * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-       * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-       * in data proxy config. This option is useful when uploading multiple files.
-       * +optional
-       * 
- * - * string filename_root = 6; - */ - public java.lang.String getFilenameRoot() { - java.lang.Object ref = filenameRoot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filenameRoot_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-       * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-       * in data proxy config. This option is useful when uploading multiple files.
-       * +optional
-       * 
- * - * string filename_root = 6; - */ - public com.google.protobuf.ByteString - getFilenameRootBytes() { - java.lang.Object ref = filenameRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - filenameRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-       * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-       * in data proxy config. This option is useful when uploading multiple files.
-       * +optional
-       * 
- * - * string filename_root = 6; - */ - public Builder setFilenameRoot( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filenameRoot_ = value; - onChanged(); - return this; - } - /** - *
-       * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-       * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-       * in data proxy config. This option is useful when uploading multiple files.
-       * +optional
-       * 
- * - * string filename_root = 6; - */ - public Builder clearFilenameRoot() { - - filenameRoot_ = getDefaultInstance().getFilenameRoot(); - onChanged(); - return this; - } - /** - *
-       * If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
-       * this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
-       * in data proxy config. This option is useful when uploading multiple files.
-       * +optional
-       * 
- * - * string filename_root = 6; - */ - public Builder setFilenameRootBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filenameRoot_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.CreateUploadLocationRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateUploadLocationRequest) - private static final flyteidl.service.Dataproxy.CreateUploadLocationRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.CreateUploadLocationRequest(); - } - - public static flyteidl.service.Dataproxy.CreateUploadLocationRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUploadLocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUploadLocationRequest(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.Dataproxy.CreateUploadLocationRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface CreateDownloadLocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.CreateDownloadLocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 1; - */ - java.lang.String getNativeUrl(); - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 1; - */ - com.google.protobuf.ByteString - getNativeUrlBytes(); - - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - boolean hasExpiresIn(); - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - com.google.protobuf.Duration getExpiresIn(); - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder(); - } - /** - *
-   * CreateDownloadLocationRequest specified request for the CreateDownloadLocation API.
-   * 
- * - * Protobuf type {@code flyteidl.service.CreateDownloadLocationRequest} - */ - @java.lang.Deprecated public static final class CreateDownloadLocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.CreateDownloadLocationRequest) - CreateDownloadLocationRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDownloadLocationRequest.newBuilder() to construct. - private CreateDownloadLocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDownloadLocationRequest() { - nativeUrl_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateDownloadLocationRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - nativeUrl_ = s; - break; - } - case 18: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (expiresIn_ != null) { - subBuilder = expiresIn_.toBuilder(); - } - expiresIn_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expiresIn_); - expiresIn_ = 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.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLocationRequest.class, flyteidl.service.Dataproxy.CreateDownloadLocationRequest.Builder.class); - } - - public static final int NATIVE_URL_FIELD_NUMBER = 1; - private volatile java.lang.Object nativeUrl_; - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 1; - */ - public java.lang.String getNativeUrl() { - java.lang.Object ref = nativeUrl_; - 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(); - nativeUrl_ = s; - return s; - } - } - /** - *
-     * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-     * 
- * - * string native_url = 1; - */ - public com.google.protobuf.ByteString - getNativeUrlBytes() { - java.lang.Object ref = nativeUrl_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nativeUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXPIRES_IN_FIELD_NUMBER = 2; - private com.google.protobuf.Duration expiresIn_; - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public boolean hasExpiresIn() { - return expiresIn_ != null; - } - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.Duration getExpiresIn() { - return expiresIn_ == null ? com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder() { - return getExpiresIn(); - } - - 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 (!getNativeUrlBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nativeUrl_); - } - if (expiresIn_ != null) { - output.writeMessage(2, getExpiresIn()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getNativeUrlBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nativeUrl_); - } - if (expiresIn_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpiresIn()); - } - 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.Dataproxy.CreateDownloadLocationRequest)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.CreateDownloadLocationRequest other = (flyteidl.service.Dataproxy.CreateDownloadLocationRequest) obj; - - if (!getNativeUrl() - .equals(other.getNativeUrl())) return false; - if (hasExpiresIn() != other.hasExpiresIn()) return false; - if (hasExpiresIn()) { - if (!getExpiresIn() - .equals(other.getExpiresIn())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NATIVE_URL_FIELD_NUMBER; - hash = (53 * hash) + getNativeUrl().hashCode(); - if (hasExpiresIn()) { - hash = (37 * hash) + EXPIRES_IN_FIELD_NUMBER; - hash = (53 * hash) + getExpiresIn().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest 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.Dataproxy.CreateDownloadLocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest 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.Dataproxy.CreateDownloadLocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest 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.Dataproxy.CreateDownloadLocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest 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.Dataproxy.CreateDownloadLocationRequest 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; - } - /** - *
-     * CreateDownloadLocationRequest specified request for the CreateDownloadLocation API.
-     * 
- * - * Protobuf type {@code flyteidl.service.CreateDownloadLocationRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.CreateDownloadLocationRequest) - flyteidl.service.Dataproxy.CreateDownloadLocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLocationRequest.class, flyteidl.service.Dataproxy.CreateDownloadLocationRequest.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.CreateDownloadLocationRequest.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(); - nativeUrl_ = ""; - - if (expiresInBuilder_ == null) { - expiresIn_ = null; - } else { - expiresIn_ = null; - expiresInBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLocationRequest getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.CreateDownloadLocationRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLocationRequest build() { - flyteidl.service.Dataproxy.CreateDownloadLocationRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLocationRequest buildPartial() { - flyteidl.service.Dataproxy.CreateDownloadLocationRequest result = new flyteidl.service.Dataproxy.CreateDownloadLocationRequest(this); - result.nativeUrl_ = nativeUrl_; - if (expiresInBuilder_ == null) { - result.expiresIn_ = expiresIn_; - } else { - result.expiresIn_ = expiresInBuilder_.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.Dataproxy.CreateDownloadLocationRequest) { - return mergeFrom((flyteidl.service.Dataproxy.CreateDownloadLocationRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.CreateDownloadLocationRequest other) { - if (other == flyteidl.service.Dataproxy.CreateDownloadLocationRequest.getDefaultInstance()) return this; - if (!other.getNativeUrl().isEmpty()) { - nativeUrl_ = other.nativeUrl_; - onChanged(); - } - if (other.hasExpiresIn()) { - mergeExpiresIn(other.getExpiresIn()); - } - 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.Dataproxy.CreateDownloadLocationRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.CreateDownloadLocationRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object nativeUrl_ = ""; - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 1; - */ - public java.lang.String getNativeUrl() { - java.lang.Object ref = nativeUrl_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nativeUrl_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 1; - */ - public com.google.protobuf.ByteString - getNativeUrlBytes() { - java.lang.Object ref = nativeUrl_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nativeUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 1; - */ - public Builder setNativeUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nativeUrl_ = value; - onChanged(); - return this; - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 1; - */ - public Builder clearNativeUrl() { - - nativeUrl_ = getDefaultInstance().getNativeUrl(); - onChanged(); - return this; - } - /** - *
-       * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
-       * 
- * - * string native_url = 1; - */ - public Builder setNativeUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nativeUrl_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Duration expiresIn_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> expiresInBuilder_; - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public boolean hasExpiresIn() { - return expiresInBuilder_ != null || expiresIn_ != null; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.Duration getExpiresIn() { - if (expiresInBuilder_ == null) { - return expiresIn_ == null ? com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } else { - return expiresInBuilder_.getMessage(); - } - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder setExpiresIn(com.google.protobuf.Duration value) { - if (expiresInBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expiresIn_ = value; - onChanged(); - } else { - expiresInBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder setExpiresIn( - com.google.protobuf.Duration.Builder builderForValue) { - if (expiresInBuilder_ == null) { - expiresIn_ = builderForValue.build(); - onChanged(); - } else { - expiresInBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder mergeExpiresIn(com.google.protobuf.Duration value) { - if (expiresInBuilder_ == null) { - if (expiresIn_ != null) { - expiresIn_ = - com.google.protobuf.Duration.newBuilder(expiresIn_).mergeFrom(value).buildPartial(); - } else { - expiresIn_ = value; - } - onChanged(); - } else { - expiresInBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder clearExpiresIn() { - if (expiresInBuilder_ == null) { - expiresIn_ = null; - onChanged(); - } else { - expiresIn_ = null; - expiresInBuilder_ = null; - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.Duration.Builder getExpiresInBuilder() { - - onChanged(); - return getExpiresInFieldBuilder().getBuilder(); - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder() { - if (expiresInBuilder_ != null) { - return expiresInBuilder_.getMessageOrBuilder(); - } else { - return expiresIn_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getExpiresInFieldBuilder() { - if (expiresInBuilder_ == null) { - expiresInBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getExpiresIn(), - getParentForChildren(), - isClean()); - expiresIn_ = null; - } - return expiresInBuilder_; - } - @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.CreateDownloadLocationRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLocationRequest) - private static final flyteidl.service.Dataproxy.CreateDownloadLocationRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.CreateDownloadLocationRequest(); - } - - public static flyteidl.service.Dataproxy.CreateDownloadLocationRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDownloadLocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDownloadLocationRequest(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.Dataproxy.CreateDownloadLocationRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface CreateDownloadLocationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.CreateDownloadLocationResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - java.lang.String getSignedUrl(); - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - com.google.protobuf.ByteString - getSignedUrlBytes(); - - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - boolean hasExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - com.google.protobuf.Timestamp getExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); - } - /** - * Protobuf type {@code flyteidl.service.CreateDownloadLocationResponse} - */ - @java.lang.Deprecated public static final class CreateDownloadLocationResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.CreateDownloadLocationResponse) - CreateDownloadLocationResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDownloadLocationResponse.newBuilder() to construct. - private CreateDownloadLocationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDownloadLocationResponse() { - signedUrl_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateDownloadLocationResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - signedUrl_ = s; - break; - } - case 18: { - 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; - } - 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.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLocationResponse.class, flyteidl.service.Dataproxy.CreateDownloadLocationResponse.Builder.class); - } - - public static final int SIGNED_URL_FIELD_NUMBER = 1; - private volatile java.lang.Object signedUrl_; - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - public java.lang.String getSignedUrl() { - java.lang.Object ref = signedUrl_; - 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(); - signedUrl_ = s; - return s; - } - } - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * string signed_url = 1; - */ - public com.google.protobuf.ByteString - getSignedUrlBytes() { - java.lang.Object ref = signedUrl_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signedUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXPIRES_AT_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp expiresAt_; - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public boolean hasExpiresAt() { - return expiresAt_ != null; - } - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.Timestamp getExpiresAt() { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - /** - *
-     * ExpiresAt defines when will the signed URL expires.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - return getExpiresAt(); - } - - 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 (!getSignedUrlBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signedUrl_); - } - if (expiresAt_ != null) { - output.writeMessage(2, getExpiresAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getSignedUrlBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, signedUrl_); - } - if (expiresAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpiresAt()); - } - 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.Dataproxy.CreateDownloadLocationResponse)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.CreateDownloadLocationResponse other = (flyteidl.service.Dataproxy.CreateDownloadLocationResponse) obj; - - if (!getSignedUrl() - .equals(other.getSignedUrl())) return false; - if (hasExpiresAt() != other.hasExpiresAt()) return false; - if (hasExpiresAt()) { - if (!getExpiresAt() - .equals(other.getExpiresAt())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SIGNED_URL_FIELD_NUMBER; - hash = (53 * hash) + getSignedUrl().hashCode(); - if (hasExpiresAt()) { - hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; - hash = (53 * hash) + getExpiresAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse 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.Dataproxy.CreateDownloadLocationResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse 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.Dataproxy.CreateDownloadLocationResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse 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.Dataproxy.CreateDownloadLocationResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse 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.Dataproxy.CreateDownloadLocationResponse 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.CreateDownloadLocationResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.CreateDownloadLocationResponse) - flyteidl.service.Dataproxy.CreateDownloadLocationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLocationResponse.class, flyteidl.service.Dataproxy.CreateDownloadLocationResponse.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.CreateDownloadLocationResponse.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(); - signedUrl_ = ""; - - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLocationResponse getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.CreateDownloadLocationResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLocationResponse build() { - flyteidl.service.Dataproxy.CreateDownloadLocationResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLocationResponse buildPartial() { - flyteidl.service.Dataproxy.CreateDownloadLocationResponse result = new flyteidl.service.Dataproxy.CreateDownloadLocationResponse(this); - result.signedUrl_ = signedUrl_; - if (expiresAtBuilder_ == null) { - result.expiresAt_ = expiresAt_; - } else { - result.expiresAt_ = expiresAtBuilder_.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.Dataproxy.CreateDownloadLocationResponse) { - return mergeFrom((flyteidl.service.Dataproxy.CreateDownloadLocationResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.CreateDownloadLocationResponse other) { - if (other == flyteidl.service.Dataproxy.CreateDownloadLocationResponse.getDefaultInstance()) return this; - if (!other.getSignedUrl().isEmpty()) { - signedUrl_ = other.signedUrl_; - onChanged(); - } - if (other.hasExpiresAt()) { - mergeExpiresAt(other.getExpiresAt()); - } - 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.Dataproxy.CreateDownloadLocationResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.CreateDownloadLocationResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object signedUrl_ = ""; - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public java.lang.String getSignedUrl() { - java.lang.Object ref = signedUrl_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - signedUrl_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public com.google.protobuf.ByteString - getSignedUrlBytes() { - java.lang.Object ref = signedUrl_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - signedUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public Builder setSignedUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - signedUrl_ = value; - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public Builder clearSignedUrl() { - - signedUrl_ = getDefaultInstance().getSignedUrl(); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * string signed_url = 1; - */ - public Builder setSignedUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - signedUrl_ = value; - onChanged(); - return this; - } - - 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_; - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public boolean hasExpiresAt() { - return expiresAtBuilder_ != null || expiresAt_ != null; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.Timestamp getExpiresAt() { - if (expiresAtBuilder_ == null) { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } else { - return expiresAtBuilder_.getMessage(); - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public Builder setExpiresAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (expiresAtBuilder_ == null) { - expiresAt_ = builderForValue.build(); - onChanged(); - } else { - expiresAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public Builder clearExpiresAt() { - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - onChanged(); - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { - - onChanged(); - return getExpiresAtFieldBuilder().getBuilder(); - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - if (expiresAtBuilder_ != null) { - return expiresAtBuilder_.getMessageOrBuilder(); - } else { - return expiresAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expires.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - 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_; - } - @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.CreateDownloadLocationResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLocationResponse) - private static final flyteidl.service.Dataproxy.CreateDownloadLocationResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.CreateDownloadLocationResponse(); - } - - public static flyteidl.service.Dataproxy.CreateDownloadLocationResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDownloadLocationResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDownloadLocationResponse(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.Dataproxy.CreateDownloadLocationResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateDownloadLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.CreateDownloadLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * ArtifactType of the artifact requested.
-     * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - int getArtifactTypeValue(); - /** - *
-     * ArtifactType of the artifact requested.
-     * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - flyteidl.service.Dataproxy.ArtifactType getArtifactType(); - - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - boolean hasExpiresIn(); - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - com.google.protobuf.Duration getExpiresIn(); - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder(); - - /** - *
-     * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-     * most recent attempt of the task.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - boolean hasNodeExecutionId(); - /** - *
-     * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-     * most recent attempt of the task.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId(); - /** - *
-     * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-     * most recent attempt of the task.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder(); - - public flyteidl.service.Dataproxy.CreateDownloadLinkRequest.SourceCase getSourceCase(); - } - /** - *
-   * CreateDownloadLinkRequest defines the request parameters to create a download link (signed url)
-   * 
- * - * Protobuf type {@code flyteidl.service.CreateDownloadLinkRequest} - */ - public static final class CreateDownloadLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.CreateDownloadLinkRequest) - CreateDownloadLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDownloadLinkRequest.newBuilder() to construct. - private CreateDownloadLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDownloadLinkRequest() { - artifactType_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateDownloadLinkRequest( - 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(); - - artifactType_ = rawValue; - break; - } - case 18: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (expiresIn_ != null) { - subBuilder = expiresIn_.toBuilder(); - } - expiresIn_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expiresIn_); - expiresIn_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; - if (sourceCase_ == 3) { - subBuilder = ((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_).toBuilder(); - } - source_ = - input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLinkRequest.class, flyteidl.service.Dataproxy.CreateDownloadLinkRequest.Builder.class); - } - - private int sourceCase_ = 0; - private java.lang.Object source_; - public enum SourceCase - implements com.google.protobuf.Internal.EnumLite { - NODE_EXECUTION_ID(3), - 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 3: return NODE_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 ARTIFACT_TYPE_FIELD_NUMBER = 1; - private int artifactType_; - /** - *
-     * ArtifactType of the artifact requested.
-     * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - public int getArtifactTypeValue() { - return artifactType_; - } - /** - *
-     * ArtifactType of the artifact requested.
-     * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - public flyteidl.service.Dataproxy.ArtifactType getArtifactType() { - @SuppressWarnings("deprecation") - flyteidl.service.Dataproxy.ArtifactType result = flyteidl.service.Dataproxy.ArtifactType.valueOf(artifactType_); - return result == null ? flyteidl.service.Dataproxy.ArtifactType.UNRECOGNIZED : result; - } - - public static final int EXPIRES_IN_FIELD_NUMBER = 2; - private com.google.protobuf.Duration expiresIn_; - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public boolean hasExpiresIn() { - return expiresIn_ != null; - } - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.Duration getExpiresIn() { - return expiresIn_ == null ? com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } - /** - *
-     * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-     * exceeds the platform allowed max.
-     * +optional. The default value comes from a global config.
-     * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder() { - return getExpiresIn(); - } - - public static final int NODE_EXECUTION_ID_FIELD_NUMBER = 3; - /** - *
-     * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-     * most recent attempt of the task.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public boolean hasNodeExecutionId() { - return sourceCase_ == 3; - } - /** - *
-     * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-     * most recent attempt of the task.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { - if (sourceCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - /** - *
-     * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-     * most recent attempt of the task.
-     * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { - if (sourceCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.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 (artifactType_ != flyteidl.service.Dataproxy.ArtifactType.ARTIFACT_TYPE_UNDEFINED.getNumber()) { - output.writeEnum(1, artifactType_); - } - if (expiresIn_ != null) { - output.writeMessage(2, getExpiresIn()); - } - if (sourceCase_ == 3) { - output.writeMessage(3, (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (artifactType_ != flyteidl.service.Dataproxy.ArtifactType.ARTIFACT_TYPE_UNDEFINED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, artifactType_); - } - if (expiresIn_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpiresIn()); - } - if (sourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) 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.service.Dataproxy.CreateDownloadLinkRequest)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.CreateDownloadLinkRequest other = (flyteidl.service.Dataproxy.CreateDownloadLinkRequest) obj; - - if (artifactType_ != other.artifactType_) return false; - if (hasExpiresIn() != other.hasExpiresIn()) return false; - if (hasExpiresIn()) { - if (!getExpiresIn() - .equals(other.getExpiresIn())) return false; - } - if (!getSourceCase().equals(other.getSourceCase())) return false; - switch (sourceCase_) { - case 3: - if (!getNodeExecutionId() - .equals(other.getNodeExecutionId())) 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) + ARTIFACT_TYPE_FIELD_NUMBER; - hash = (53 * hash) + artifactType_; - if (hasExpiresIn()) { - hash = (37 * hash) + EXPIRES_IN_FIELD_NUMBER; - hash = (53 * hash) + getExpiresIn().hashCode(); - } - switch (sourceCase_) { - case 3: - hash = (37 * hash) + NODE_EXECUTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeExecutionId().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest 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.Dataproxy.CreateDownloadLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest 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.Dataproxy.CreateDownloadLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest 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.Dataproxy.CreateDownloadLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest 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.Dataproxy.CreateDownloadLinkRequest 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; - } - /** - *
-     * CreateDownloadLinkRequest defines the request parameters to create a download link (signed url)
-     * 
- * - * Protobuf type {@code flyteidl.service.CreateDownloadLinkRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.CreateDownloadLinkRequest) - flyteidl.service.Dataproxy.CreateDownloadLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLinkRequest.class, flyteidl.service.Dataproxy.CreateDownloadLinkRequest.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.CreateDownloadLinkRequest.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(); - artifactType_ = 0; - - if (expiresInBuilder_ == null) { - expiresIn_ = null; - } else { - expiresIn_ = null; - expiresInBuilder_ = null; - } - sourceCase_ = 0; - source_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLinkRequest getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.CreateDownloadLinkRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLinkRequest build() { - flyteidl.service.Dataproxy.CreateDownloadLinkRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLinkRequest buildPartial() { - flyteidl.service.Dataproxy.CreateDownloadLinkRequest result = new flyteidl.service.Dataproxy.CreateDownloadLinkRequest(this); - result.artifactType_ = artifactType_; - if (expiresInBuilder_ == null) { - result.expiresIn_ = expiresIn_; - } else { - result.expiresIn_ = expiresInBuilder_.build(); - } - if (sourceCase_ == 3) { - if (nodeExecutionIdBuilder_ == null) { - result.source_ = source_; - } else { - result.source_ = nodeExecutionIdBuilder_.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.service.Dataproxy.CreateDownloadLinkRequest) { - return mergeFrom((flyteidl.service.Dataproxy.CreateDownloadLinkRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.CreateDownloadLinkRequest other) { - if (other == flyteidl.service.Dataproxy.CreateDownloadLinkRequest.getDefaultInstance()) return this; - if (other.artifactType_ != 0) { - setArtifactTypeValue(other.getArtifactTypeValue()); - } - if (other.hasExpiresIn()) { - mergeExpiresIn(other.getExpiresIn()); - } - switch (other.getSourceCase()) { - case NODE_EXECUTION_ID: { - mergeNodeExecutionId(other.getNodeExecutionId()); - 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.service.Dataproxy.CreateDownloadLinkRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.CreateDownloadLinkRequest) 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 artifactType_ = 0; - /** - *
-       * ArtifactType of the artifact requested.
-       * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - public int getArtifactTypeValue() { - return artifactType_; - } - /** - *
-       * ArtifactType of the artifact requested.
-       * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - public Builder setArtifactTypeValue(int value) { - artifactType_ = value; - onChanged(); - return this; - } - /** - *
-       * ArtifactType of the artifact requested.
-       * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - public flyteidl.service.Dataproxy.ArtifactType getArtifactType() { - @SuppressWarnings("deprecation") - flyteidl.service.Dataproxy.ArtifactType result = flyteidl.service.Dataproxy.ArtifactType.valueOf(artifactType_); - return result == null ? flyteidl.service.Dataproxy.ArtifactType.UNRECOGNIZED : result; - } - /** - *
-       * ArtifactType of the artifact requested.
-       * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - public Builder setArtifactType(flyteidl.service.Dataproxy.ArtifactType value) { - if (value == null) { - throw new NullPointerException(); - } - - artifactType_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * ArtifactType of the artifact requested.
-       * 
- * - * .flyteidl.service.ArtifactType artifact_type = 1; - */ - public Builder clearArtifactType() { - - artifactType_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.Duration expiresIn_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> expiresInBuilder_; - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public boolean hasExpiresIn() { - return expiresInBuilder_ != null || expiresIn_ != null; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.Duration getExpiresIn() { - if (expiresInBuilder_ == null) { - return expiresIn_ == null ? com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } else { - return expiresInBuilder_.getMessage(); - } - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder setExpiresIn(com.google.protobuf.Duration value) { - if (expiresInBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expiresIn_ = value; - onChanged(); - } else { - expiresInBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder setExpiresIn( - com.google.protobuf.Duration.Builder builderForValue) { - if (expiresInBuilder_ == null) { - expiresIn_ = builderForValue.build(); - onChanged(); - } else { - expiresInBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder mergeExpiresIn(com.google.protobuf.Duration value) { - if (expiresInBuilder_ == null) { - if (expiresIn_ != null) { - expiresIn_ = - com.google.protobuf.Duration.newBuilder(expiresIn_).mergeFrom(value).buildPartial(); - } else { - expiresIn_ = value; - } - onChanged(); - } else { - expiresInBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public Builder clearExpiresIn() { - if (expiresInBuilder_ == null) { - expiresIn_ = null; - onChanged(); - } else { - expiresIn_ = null; - expiresInBuilder_ = null; - } - - return this; - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.Duration.Builder getExpiresInBuilder() { - - onChanged(); - return getExpiresInFieldBuilder().getBuilder(); - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - public com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder() { - if (expiresInBuilder_ != null) { - return expiresInBuilder_.getMessageOrBuilder(); - } else { - return expiresIn_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : expiresIn_; - } - } - /** - *
-       * ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
-       * exceeds the platform allowed max.
-       * +optional. The default value comes from a global config.
-       * 
- * - * .google.protobuf.Duration expires_in = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getExpiresInFieldBuilder() { - if (expiresInBuilder_ == null) { - expiresInBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getExpiresIn(), - getParentForChildren(), - isClean()); - expiresIn_ = null; - } - return expiresInBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> nodeExecutionIdBuilder_; - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public boolean hasNodeExecutionId() { - return sourceCase_ == 3; - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { - if (nodeExecutionIdBuilder_ == null) { - if (sourceCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } else { - if (sourceCase_ == 3) { - return nodeExecutionIdBuilder_.getMessage(); - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public Builder setNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (nodeExecutionIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - source_ = value; - onChanged(); - } else { - nodeExecutionIdBuilder_.setMessage(value); - } - sourceCase_ = 3; - return this; - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public Builder setNodeExecutionId( - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { - if (nodeExecutionIdBuilder_ == null) { - source_ = builderForValue.build(); - onChanged(); - } else { - nodeExecutionIdBuilder_.setMessage(builderForValue.build()); - } - sourceCase_ = 3; - return this; - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public Builder mergeNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { - if (nodeExecutionIdBuilder_ == null) { - if (sourceCase_ == 3 && - source_ != flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance()) { - source_ = flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_) - .mergeFrom(value).buildPartial(); - } else { - source_ = value; - } - onChanged(); - } else { - if (sourceCase_ == 3) { - nodeExecutionIdBuilder_.mergeFrom(value); - } - nodeExecutionIdBuilder_.setMessage(value); - } - sourceCase_ = 3; - return this; - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public Builder clearNodeExecutionId() { - if (nodeExecutionIdBuilder_ == null) { - if (sourceCase_ == 3) { - sourceCase_ = 0; - source_ = null; - onChanged(); - } - } else { - if (sourceCase_ == 3) { - sourceCase_ = 0; - source_ = null; - } - nodeExecutionIdBuilder_.clear(); - } - return this; - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getNodeExecutionIdBuilder() { - return getNodeExecutionIdFieldBuilder().getBuilder(); - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; - */ - public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { - if ((sourceCase_ == 3) && (nodeExecutionIdBuilder_ != null)) { - return nodeExecutionIdBuilder_.getMessageOrBuilder(); - } else { - if (sourceCase_ == 3) { - return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_; - } - return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - } - /** - *
-       * NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the
-       * most recent attempt of the task.
-       * 
- * - * .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) { - if (!(sourceCase_ == 3)) { - source_ = flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); - } - nodeExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( - (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) source_, - getParentForChildren(), - isClean()); - source_ = null; - } - sourceCase_ = 3; - onChanged();; - return nodeExecutionIdBuilder_; - } - @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.CreateDownloadLinkRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLinkRequest) - private static final flyteidl.service.Dataproxy.CreateDownloadLinkRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.CreateDownloadLinkRequest(); - } - - public static flyteidl.service.Dataproxy.CreateDownloadLinkRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDownloadLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDownloadLinkRequest(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.Dataproxy.CreateDownloadLinkRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CreateDownloadLinkResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.CreateDownloadLinkResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated java.util.List - getSignedUrlList(); - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated int getSignedUrlCount(); - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated java.lang.String getSignedUrl(int index); - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.ByteString - getSignedUrlBytes(int index); - - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated boolean hasExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.Timestamp getExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); - - /** - *
-     * New wrapper object containing the signed urls and expiration time
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - boolean hasPreSignedUrls(); - /** - *
-     * New wrapper object containing the signed urls and expiration time
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls(); - /** - *
-     * New wrapper object containing the signed urls and expiration time
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder(); - } - /** - *
-   * CreateDownloadLinkResponse defines the response for the generated links
-   * 
- * - * Protobuf type {@code flyteidl.service.CreateDownloadLinkResponse} - */ - public static final class CreateDownloadLinkResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.CreateDownloadLinkResponse) - CreateDownloadLinkResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreateDownloadLinkResponse.newBuilder() to construct. - private CreateDownloadLinkResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateDownloadLinkResponse() { - signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateDownloadLinkResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - signedUrl_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - signedUrl_.add(s); - break; - } - case 18: { - 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 26: { - flyteidl.service.Dataproxy.PreSignedURLs.Builder subBuilder = null; - if (preSignedUrls_ != null) { - subBuilder = preSignedUrls_.toBuilder(); - } - preSignedUrls_ = input.readMessage(flyteidl.service.Dataproxy.PreSignedURLs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(preSignedUrls_); - preSignedUrls_ = 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 { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - signedUrl_ = signedUrl_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLinkResponse.class, flyteidl.service.Dataproxy.CreateDownloadLinkResponse.Builder.class); - } - - private int bitField0_; - public static final int SIGNED_URL_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList signedUrl_; - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getSignedUrlList() { - return signedUrl_; - } - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public int getSignedUrlCount() { - return signedUrl_.size(); - } - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getSignedUrl(int index) { - return signedUrl_.get(index); - } - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getSignedUrlBytes(int index) { - return signedUrl_.getByteString(index); - } - - public static final int EXPIRES_AT_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp expiresAt_; - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasExpiresAt() { - return expiresAt_ != null; - } - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.Timestamp getExpiresAt() { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - return getExpiresAt(); - } - - public static final int PRE_SIGNED_URLS_FIELD_NUMBER = 3; - private flyteidl.service.Dataproxy.PreSignedURLs preSignedUrls_; - /** - *
-     * New wrapper object containing the signed urls and expiration time
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public boolean hasPreSignedUrls() { - return preSignedUrls_ != null; - } - /** - *
-     * New wrapper object containing the signed urls and expiration time
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { - return preSignedUrls_ == null ? flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance() : preSignedUrls_; - } - /** - *
-     * New wrapper object containing the signed urls and expiration time
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { - return getPreSignedUrls(); - } - - 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 < signedUrl_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signedUrl_.getRaw(i)); - } - if (expiresAt_ != null) { - output.writeMessage(2, getExpiresAt()); - } - if (preSignedUrls_ != null) { - output.writeMessage(3, getPreSignedUrls()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < signedUrl_.size(); i++) { - dataSize += computeStringSizeNoTag(signedUrl_.getRaw(i)); - } - size += dataSize; - size += 1 * getSignedUrlList().size(); - } - if (expiresAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpiresAt()); - } - if (preSignedUrls_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPreSignedUrls()); - } - 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.Dataproxy.CreateDownloadLinkResponse)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.CreateDownloadLinkResponse other = (flyteidl.service.Dataproxy.CreateDownloadLinkResponse) obj; - - if (!getSignedUrlList() - .equals(other.getSignedUrlList())) return false; - if (hasExpiresAt() != other.hasExpiresAt()) return false; - if (hasExpiresAt()) { - if (!getExpiresAt() - .equals(other.getExpiresAt())) return false; - } - if (hasPreSignedUrls() != other.hasPreSignedUrls()) return false; - if (hasPreSignedUrls()) { - if (!getPreSignedUrls() - .equals(other.getPreSignedUrls())) 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 (getSignedUrlCount() > 0) { - hash = (37 * hash) + SIGNED_URL_FIELD_NUMBER; - hash = (53 * hash) + getSignedUrlList().hashCode(); - } - if (hasExpiresAt()) { - hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; - hash = (53 * hash) + getExpiresAt().hashCode(); - } - if (hasPreSignedUrls()) { - hash = (37 * hash) + PRE_SIGNED_URLS_FIELD_NUMBER; - hash = (53 * hash) + getPreSignedUrls().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse 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.Dataproxy.CreateDownloadLinkResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse 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.Dataproxy.CreateDownloadLinkResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse 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.Dataproxy.CreateDownloadLinkResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse 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.Dataproxy.CreateDownloadLinkResponse 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; - } - /** - *
-     * CreateDownloadLinkResponse defines the response for the generated links
-     * 
- * - * Protobuf type {@code flyteidl.service.CreateDownloadLinkResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.CreateDownloadLinkResponse) - flyteidl.service.Dataproxy.CreateDownloadLinkResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.CreateDownloadLinkResponse.class, flyteidl.service.Dataproxy.CreateDownloadLinkResponse.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.CreateDownloadLinkResponse.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(); - signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - if (preSignedUrlsBuilder_ == null) { - preSignedUrls_ = null; - } else { - preSignedUrls_ = null; - preSignedUrlsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLinkResponse getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.CreateDownloadLinkResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLinkResponse build() { - flyteidl.service.Dataproxy.CreateDownloadLinkResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.CreateDownloadLinkResponse buildPartial() { - flyteidl.service.Dataproxy.CreateDownloadLinkResponse result = new flyteidl.service.Dataproxy.CreateDownloadLinkResponse(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - signedUrl_ = signedUrl_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.signedUrl_ = signedUrl_; - if (expiresAtBuilder_ == null) { - result.expiresAt_ = expiresAt_; - } else { - result.expiresAt_ = expiresAtBuilder_.build(); - } - if (preSignedUrlsBuilder_ == null) { - result.preSignedUrls_ = preSignedUrls_; - } else { - result.preSignedUrls_ = preSignedUrlsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.Dataproxy.CreateDownloadLinkResponse) { - return mergeFrom((flyteidl.service.Dataproxy.CreateDownloadLinkResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.CreateDownloadLinkResponse other) { - if (other == flyteidl.service.Dataproxy.CreateDownloadLinkResponse.getDefaultInstance()) return this; - if (!other.signedUrl_.isEmpty()) { - if (signedUrl_.isEmpty()) { - signedUrl_ = other.signedUrl_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSignedUrlIsMutable(); - signedUrl_.addAll(other.signedUrl_); - } - onChanged(); - } - if (other.hasExpiresAt()) { - mergeExpiresAt(other.getExpiresAt()); - } - if (other.hasPreSignedUrls()) { - mergePreSignedUrls(other.getPreSignedUrls()); - } - 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.Dataproxy.CreateDownloadLinkResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.CreateDownloadLinkResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureSignedUrlIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - signedUrl_ = new com.google.protobuf.LazyStringArrayList(signedUrl_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getSignedUrlList() { - return signedUrl_.getUnmodifiableView(); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public int getSignedUrlCount() { - return signedUrl_.size(); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public java.lang.String getSignedUrl(int index) { - return signedUrl_.get(index); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getSignedUrlBytes(int index) { - return signedUrl_.getByteString(index); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setSignedUrl( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSignedUrlIsMutable(); - signedUrl_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addSignedUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSignedUrlIsMutable(); - signedUrl_.add(value); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addAllSignedUrl( - java.lang.Iterable values) { - ensureSignedUrlIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, signedUrl_); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearSignedUrl() { - signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1 [deprecated = true]; - */ - @java.lang.Deprecated public Builder addSignedUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSignedUrlIsMutable(); - signedUrl_.add(value); - onChanged(); - return this; - } - - 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_; - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public boolean hasExpiresAt() { - return expiresAtBuilder_ != null || expiresAt_ != null; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.Timestamp getExpiresAt() { - if (expiresAtBuilder_ == null) { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } else { - return expiresAtBuilder_.getMessage(); - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder setExpiresAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (expiresAtBuilder_ == null) { - expiresAt_ = builderForValue.build(); - onChanged(); - } else { - expiresAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public Builder clearExpiresAt() { - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - onChanged(); - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { - - onChanged(); - return getExpiresAtFieldBuilder().getBuilder(); - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - @java.lang.Deprecated public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - if (expiresAtBuilder_ != null) { - return expiresAtBuilder_.getMessageOrBuilder(); - } else { - return expiresAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; - */ - 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 flyteidl.service.Dataproxy.PreSignedURLs preSignedUrls_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> preSignedUrlsBuilder_; - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public boolean hasPreSignedUrls() { - return preSignedUrlsBuilder_ != null || preSignedUrls_ != null; - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { - if (preSignedUrlsBuilder_ == null) { - return preSignedUrls_ == null ? flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance() : preSignedUrls_; - } else { - return preSignedUrlsBuilder_.getMessage(); - } - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public Builder setPreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { - if (preSignedUrlsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - preSignedUrls_ = value; - onChanged(); - } else { - preSignedUrlsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public Builder setPreSignedUrls( - flyteidl.service.Dataproxy.PreSignedURLs.Builder builderForValue) { - if (preSignedUrlsBuilder_ == null) { - preSignedUrls_ = builderForValue.build(); - onChanged(); - } else { - preSignedUrlsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public Builder mergePreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { - if (preSignedUrlsBuilder_ == null) { - if (preSignedUrls_ != null) { - preSignedUrls_ = - flyteidl.service.Dataproxy.PreSignedURLs.newBuilder(preSignedUrls_).mergeFrom(value).buildPartial(); - } else { - preSignedUrls_ = value; - } - onChanged(); - } else { - preSignedUrlsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public Builder clearPreSignedUrls() { - if (preSignedUrlsBuilder_ == null) { - preSignedUrls_ = null; - onChanged(); - } else { - preSignedUrls_ = null; - preSignedUrlsBuilder_ = null; - } - - return this; - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public flyteidl.service.Dataproxy.PreSignedURLs.Builder getPreSignedUrlsBuilder() { - - onChanged(); - return getPreSignedUrlsFieldBuilder().getBuilder(); - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { - if (preSignedUrlsBuilder_ != null) { - return preSignedUrlsBuilder_.getMessageOrBuilder(); - } else { - return preSignedUrls_ == null ? - flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance() : preSignedUrls_; - } - } - /** - *
-       * New wrapper object containing the signed urls and expiration time
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> - getPreSignedUrlsFieldBuilder() { - if (preSignedUrlsBuilder_ == null) { - preSignedUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder>( - getPreSignedUrls(), - getParentForChildren(), - isClean()); - preSignedUrls_ = null; - } - return preSignedUrlsBuilder_; - } - @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.CreateDownloadLinkResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLinkResponse) - private static final flyteidl.service.Dataproxy.CreateDownloadLinkResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.CreateDownloadLinkResponse(); - } - - public static flyteidl.service.Dataproxy.CreateDownloadLinkResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDownloadLinkResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDownloadLinkResponse(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.Dataproxy.CreateDownloadLinkResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PreSignedURLsOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.PreSignedURLs) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - java.util.List - getSignedUrlList(); - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - int getSignedUrlCount(); - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - java.lang.String getSignedUrl(int index); - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - com.google.protobuf.ByteString - getSignedUrlBytes(int index); - - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - boolean hasExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - com.google.protobuf.Timestamp getExpiresAt(); - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); - } - /** - *
-   * Wrapper object since the message is shared across this and the GetDataResponse
-   * 
- * - * Protobuf type {@code flyteidl.service.PreSignedURLs} - */ - public static final class PreSignedURLs extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.PreSignedURLs) - PreSignedURLsOrBuilder { - private static final long serialVersionUID = 0L; - // Use PreSignedURLs.newBuilder() to construct. - private PreSignedURLs(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PreSignedURLs() { - signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PreSignedURLs( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - signedUrl_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - signedUrl_.add(s); - break; - } - case 18: { - 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; - } - 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)) { - signedUrl_ = signedUrl_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.PreSignedURLs.class, flyteidl.service.Dataproxy.PreSignedURLs.Builder.class); - } - - private int bitField0_; - public static final int SIGNED_URL_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList signedUrl_; - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - public com.google.protobuf.ProtocolStringList - getSignedUrlList() { - return signedUrl_; - } - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - public int getSignedUrlCount() { - return signedUrl_.size(); - } - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - public java.lang.String getSignedUrl(int index) { - return signedUrl_.get(index); - } - /** - *
-     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-     * 
- * - * repeated string signed_url = 1; - */ - public com.google.protobuf.ByteString - getSignedUrlBytes(int index) { - return signedUrl_.getByteString(index); - } - - public static final int EXPIRES_AT_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp expiresAt_; - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public boolean hasExpiresAt() { - return expiresAt_ != null; - } - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.Timestamp getExpiresAt() { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - /** - *
-     * ExpiresAt defines when will the signed URL expire.
-     * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - return getExpiresAt(); - } - - 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 < signedUrl_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signedUrl_.getRaw(i)); - } - if (expiresAt_ != null) { - output.writeMessage(2, getExpiresAt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < signedUrl_.size(); i++) { - dataSize += computeStringSizeNoTag(signedUrl_.getRaw(i)); - } - size += dataSize; - size += 1 * getSignedUrlList().size(); - } - if (expiresAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpiresAt()); - } - 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.Dataproxy.PreSignedURLs)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.PreSignedURLs other = (flyteidl.service.Dataproxy.PreSignedURLs) obj; - - if (!getSignedUrlList() - .equals(other.getSignedUrlList())) return false; - if (hasExpiresAt() != other.hasExpiresAt()) return false; - if (hasExpiresAt()) { - if (!getExpiresAt() - .equals(other.getExpiresAt())) 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 (getSignedUrlCount() > 0) { - hash = (37 * hash) + SIGNED_URL_FIELD_NUMBER; - hash = (53 * hash) + getSignedUrlList().hashCode(); - } - if (hasExpiresAt()) { - hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; - hash = (53 * hash) + getExpiresAt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.PreSignedURLs 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.Dataproxy.PreSignedURLs parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.PreSignedURLs 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.Dataproxy.PreSignedURLs parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.PreSignedURLs 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.Dataproxy.PreSignedURLs parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.PreSignedURLs 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.Dataproxy.PreSignedURLs 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; - } - /** - *
-     * Wrapper object since the message is shared across this and the GetDataResponse
-     * 
- * - * Protobuf type {@code flyteidl.service.PreSignedURLs} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.PreSignedURLs) - flyteidl.service.Dataproxy.PreSignedURLsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.PreSignedURLs.class, flyteidl.service.Dataproxy.PreSignedURLs.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.PreSignedURLs.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(); - signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.PreSignedURLs getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.PreSignedURLs build() { - flyteidl.service.Dataproxy.PreSignedURLs result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.PreSignedURLs buildPartial() { - flyteidl.service.Dataproxy.PreSignedURLs result = new flyteidl.service.Dataproxy.PreSignedURLs(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - signedUrl_ = signedUrl_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.signedUrl_ = signedUrl_; - if (expiresAtBuilder_ == null) { - result.expiresAt_ = expiresAt_; - } else { - result.expiresAt_ = expiresAtBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.Dataproxy.PreSignedURLs) { - return mergeFrom((flyteidl.service.Dataproxy.PreSignedURLs)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.PreSignedURLs other) { - if (other == flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance()) return this; - if (!other.signedUrl_.isEmpty()) { - if (signedUrl_.isEmpty()) { - signedUrl_ = other.signedUrl_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSignedUrlIsMutable(); - signedUrl_.addAll(other.signedUrl_); - } - onChanged(); - } - if (other.hasExpiresAt()) { - mergeExpiresAt(other.getExpiresAt()); - } - 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.Dataproxy.PreSignedURLs parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.PreSignedURLs) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureSignedUrlIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - signedUrl_ = new com.google.protobuf.LazyStringArrayList(signedUrl_); - bitField0_ |= 0x00000001; - } - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public com.google.protobuf.ProtocolStringList - getSignedUrlList() { - return signedUrl_.getUnmodifiableView(); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public int getSignedUrlCount() { - return signedUrl_.size(); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public java.lang.String getSignedUrl(int index) { - return signedUrl_.get(index); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public com.google.protobuf.ByteString - getSignedUrlBytes(int index) { - return signedUrl_.getByteString(index); - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public Builder setSignedUrl( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSignedUrlIsMutable(); - signedUrl_.set(index, value); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public Builder addSignedUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSignedUrlIsMutable(); - signedUrl_.add(value); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public Builder addAllSignedUrl( - java.lang.Iterable values) { - ensureSignedUrlIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, signedUrl_); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public Builder clearSignedUrl() { - signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - *
-       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
-       * 
- * - * repeated string signed_url = 1; - */ - public Builder addSignedUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureSignedUrlIsMutable(); - signedUrl_.add(value); - onChanged(); - return this; - } - - 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_; - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public boolean hasExpiresAt() { - return expiresAtBuilder_ != null || expiresAt_ != null; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.Timestamp getExpiresAt() { - if (expiresAtBuilder_ == null) { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } else { - return expiresAtBuilder_.getMessage(); - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public Builder setExpiresAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (expiresAtBuilder_ == null) { - expiresAt_ = builderForValue.build(); - onChanged(); - } else { - expiresAtBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - 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; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public Builder clearExpiresAt() { - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - onChanged(); - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - - return this; - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { - - onChanged(); - return getExpiresAtFieldBuilder().getBuilder(); - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - if (expiresAtBuilder_ != null) { - return expiresAtBuilder_.getMessageOrBuilder(); - } else { - return expiresAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - } - /** - *
-       * ExpiresAt defines when will the signed URL expire.
-       * 
- * - * .google.protobuf.Timestamp expires_at = 2; - */ - 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_; - } - @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.PreSignedURLs) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.PreSignedURLs) - private static final flyteidl.service.Dataproxy.PreSignedURLs DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.PreSignedURLs(); - } - - public static flyteidl.service.Dataproxy.PreSignedURLs getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PreSignedURLs parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PreSignedURLs(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.Dataproxy.PreSignedURLs getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetDataRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.GetDataRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * - * string flyte_url = 1; - */ - java.lang.String getFlyteUrl(); - /** - *
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * - * string flyte_url = 1; - */ - com.google.protobuf.ByteString - getFlyteUrlBytes(); - } - /** - *
-   * General request artifact to retrieve data from a Flyte artifact url.
-   * 
- * - * Protobuf type {@code flyteidl.service.GetDataRequest} - */ - public static final class GetDataRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.GetDataRequest) - GetDataRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetDataRequest.newBuilder() to construct. - private GetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetDataRequest() { - flyteUrl_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetDataRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - flyteUrl_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.GetDataRequest.class, flyteidl.service.Dataproxy.GetDataRequest.Builder.class); - } - - public static final int FLYTE_URL_FIELD_NUMBER = 1; - private volatile java.lang.Object flyteUrl_; - /** - *
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * - * string flyte_url = 1; - */ - public java.lang.String getFlyteUrl() { - java.lang.Object ref = flyteUrl_; - 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(); - flyteUrl_ = s; - return s; - } - } - /** - *
-     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-     * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-     *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-     * 
- * - * string flyte_url = 1; - */ - public com.google.protobuf.ByteString - getFlyteUrlBytes() { - java.lang.Object ref = flyteUrl_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - flyteUrl_ = 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 (!getFlyteUrlBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flyteUrl_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getFlyteUrlBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flyteUrl_); - } - 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.Dataproxy.GetDataRequest)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.GetDataRequest other = (flyteidl.service.Dataproxy.GetDataRequest) obj; - - if (!getFlyteUrl() - .equals(other.getFlyteUrl())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FLYTE_URL_FIELD_NUMBER; - hash = (53 * hash) + getFlyteUrl().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.GetDataRequest 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.Dataproxy.GetDataRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.GetDataRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.GetDataRequest 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.Dataproxy.GetDataRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.GetDataRequest 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.Dataproxy.GetDataRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.GetDataRequest 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.Dataproxy.GetDataRequest 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; - } - /** - *
-     * General request artifact to retrieve data from a Flyte artifact url.
-     * 
- * - * Protobuf type {@code flyteidl.service.GetDataRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.GetDataRequest) - flyteidl.service.Dataproxy.GetDataRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.GetDataRequest.class, flyteidl.service.Dataproxy.GetDataRequest.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.GetDataRequest.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(); - flyteUrl_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.GetDataRequest getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.GetDataRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.GetDataRequest build() { - flyteidl.service.Dataproxy.GetDataRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.GetDataRequest buildPartial() { - flyteidl.service.Dataproxy.GetDataRequest result = new flyteidl.service.Dataproxy.GetDataRequest(this); - result.flyteUrl_ = flyteUrl_; - 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.Dataproxy.GetDataRequest) { - return mergeFrom((flyteidl.service.Dataproxy.GetDataRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.GetDataRequest other) { - if (other == flyteidl.service.Dataproxy.GetDataRequest.getDefaultInstance()) return this; - if (!other.getFlyteUrl().isEmpty()) { - flyteUrl_ = other.flyteUrl_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.Dataproxy.GetDataRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.GetDataRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object flyteUrl_ = ""; - /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * - * string flyte_url = 1; - */ - public java.lang.String getFlyteUrl() { - java.lang.Object ref = flyteUrl_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - flyteUrl_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * - * string flyte_url = 1; - */ - public com.google.protobuf.ByteString - getFlyteUrlBytes() { - java.lang.Object ref = flyteUrl_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - flyteUrl_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * - * string flyte_url = 1; - */ - public Builder setFlyteUrl( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - flyteUrl_ = value; - onChanged(); - return this; - } - /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * - * string flyte_url = 1; - */ - public Builder clearFlyteUrl() { - - flyteUrl_ = getDefaultInstance().getFlyteUrl(); - onChanged(); - return this; - } - /** - *
-       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
-       * backend, identifies a Flyte artifact ([i]nput, [o]output, flyte [d]eck, etc.).
-       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
-       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
-       *      flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
-       * 
- * - * string flyte_url = 1; - */ - public Builder setFlyteUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - flyteUrl_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.GetDataRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataRequest) - private static final flyteidl.service.Dataproxy.GetDataRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.GetDataRequest(); - } - - public static flyteidl.service.Dataproxy.GetDataRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDataRequest(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.Dataproxy.GetDataRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface GetDataResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.GetDataResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * literal map data will be returned
-     * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - boolean hasLiteralMap(); - /** - *
-     * literal map data will be returned
-     * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - flyteidl.core.Literals.LiteralMap getLiteralMap(); - /** - *
-     * literal map data will be returned
-     * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getLiteralMapOrBuilder(); - - /** - *
-     * Flyte deck html will be returned as a signed url users can download
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - boolean hasPreSignedUrls(); - /** - *
-     * Flyte deck html will be returned as a signed url users can download
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls(); - /** - *
-     * Flyte deck html will be returned as a signed url users can download
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder(); - - /** - *
-     * Single literal will be returned. This is returned when the user/url requests a specific output or input
-     * by name. See the o3 example above.
-     * 
- * - * .flyteidl.core.Literal literal = 3; - */ - boolean hasLiteral(); - /** - *
-     * Single literal will be returned. This is returned when the user/url requests a specific output or input
-     * by name. See the o3 example above.
-     * 
- * - * .flyteidl.core.Literal literal = 3; - */ - flyteidl.core.Literals.Literal getLiteral(); - /** - *
-     * Single literal will be returned. This is returned when the user/url requests a specific output or input
-     * by name. See the o3 example above.
-     * 
- * - * .flyteidl.core.Literal literal = 3; - */ - flyteidl.core.Literals.LiteralOrBuilder getLiteralOrBuilder(); - - public flyteidl.service.Dataproxy.GetDataResponse.DataCase getDataCase(); - } - /** - * Protobuf type {@code flyteidl.service.GetDataResponse} - */ - public static final class GetDataResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.GetDataResponse) - GetDataResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetDataResponse.newBuilder() to construct. - private GetDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private GetDataResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private GetDataResponse( - 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.Literals.LiteralMap.Builder subBuilder = null; - if (dataCase_ == 1) { - subBuilder = ((flyteidl.core.Literals.LiteralMap) data_).toBuilder(); - } - data_ = - input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 1; - break; - } - case 18: { - flyteidl.service.Dataproxy.PreSignedURLs.Builder subBuilder = null; - if (dataCase_ == 2) { - subBuilder = ((flyteidl.service.Dataproxy.PreSignedURLs) data_).toBuilder(); - } - data_ = - input.readMessage(flyteidl.service.Dataproxy.PreSignedURLs.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.service.Dataproxy.PreSignedURLs) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 2; - break; - } - case 26: { - flyteidl.core.Literals.Literal.Builder subBuilder = null; - if (dataCase_ == 3) { - subBuilder = ((flyteidl.core.Literals.Literal) data_).toBuilder(); - } - data_ = - input.readMessage(flyteidl.core.Literals.Literal.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((flyteidl.core.Literals.Literal) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.GetDataResponse.class, flyteidl.service.Dataproxy.GetDataResponse.Builder.class); - } - - private int dataCase_ = 0; - private java.lang.Object data_; - public enum DataCase - implements com.google.protobuf.Internal.EnumLite { - LITERAL_MAP(1), - PRE_SIGNED_URLS(2), - LITERAL(3), - DATA_NOT_SET(0); - private final int value; - private DataCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static DataCase valueOf(int value) { - return forNumber(value); - } - - public static DataCase forNumber(int value) { - switch (value) { - case 1: return LITERAL_MAP; - case 2: return PRE_SIGNED_URLS; - case 3: return LITERAL; - case 0: return DATA_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); - } - - public static final int LITERAL_MAP_FIELD_NUMBER = 1; - /** - *
-     * literal map data will be returned
-     * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public boolean hasLiteralMap() { - return dataCase_ == 1; - } - /** - *
-     * literal map data will be returned
-     * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public flyteidl.core.Literals.LiteralMap getLiteralMap() { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - /** - *
-     * literal map data will be returned
-     * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getLiteralMapOrBuilder() { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - - public static final int PRE_SIGNED_URLS_FIELD_NUMBER = 2; - /** - *
-     * Flyte deck html will be returned as a signed url users can download
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public boolean hasPreSignedUrls() { - return dataCase_ == 2; - } - /** - *
-     * Flyte deck html will be returned as a signed url users can download
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { - if (dataCase_ == 2) { - return (flyteidl.service.Dataproxy.PreSignedURLs) data_; - } - return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); - } - /** - *
-     * Flyte deck html will be returned as a signed url users can download
-     * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { - if (dataCase_ == 2) { - return (flyteidl.service.Dataproxy.PreSignedURLs) data_; - } - return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); - } - - public static final int LITERAL_FIELD_NUMBER = 3; - /** - *
-     * Single literal will be returned. This is returned when the user/url requests a specific output or input
-     * by name. See the o3 example above.
-     * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public boolean hasLiteral() { - return dataCase_ == 3; - } - /** - *
-     * Single literal will be returned. This is returned when the user/url requests a specific output or input
-     * by name. See the o3 example above.
-     * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public flyteidl.core.Literals.Literal getLiteral() { - if (dataCase_ == 3) { - return (flyteidl.core.Literals.Literal) data_; - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - /** - *
-     * Single literal will be returned. This is returned when the user/url requests a specific output or input
-     * by name. See the o3 example above.
-     * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public flyteidl.core.Literals.LiteralOrBuilder getLiteralOrBuilder() { - if (dataCase_ == 3) { - return (flyteidl.core.Literals.Literal) data_; - } - return flyteidl.core.Literals.Literal.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 (dataCase_ == 1) { - output.writeMessage(1, (flyteidl.core.Literals.LiteralMap) data_); - } - if (dataCase_ == 2) { - output.writeMessage(2, (flyteidl.service.Dataproxy.PreSignedURLs) data_); - } - if (dataCase_ == 3) { - output.writeMessage(3, (flyteidl.core.Literals.Literal) data_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (dataCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (flyteidl.core.Literals.LiteralMap) data_); - } - if (dataCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (flyteidl.service.Dataproxy.PreSignedURLs) data_); - } - if (dataCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (flyteidl.core.Literals.Literal) data_); - } - 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.Dataproxy.GetDataResponse)) { - return super.equals(obj); - } - flyteidl.service.Dataproxy.GetDataResponse other = (flyteidl.service.Dataproxy.GetDataResponse) obj; - - if (!getDataCase().equals(other.getDataCase())) return false; - switch (dataCase_) { - case 1: - if (!getLiteralMap() - .equals(other.getLiteralMap())) return false; - break; - case 2: - if (!getPreSignedUrls() - .equals(other.getPreSignedUrls())) return false; - break; - case 3: - if (!getLiteral() - .equals(other.getLiteral())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (dataCase_) { - case 1: - hash = (37 * hash) + LITERAL_MAP_FIELD_NUMBER; - hash = (53 * hash) + getLiteralMap().hashCode(); - break; - case 2: - hash = (37 * hash) + PRE_SIGNED_URLS_FIELD_NUMBER; - hash = (53 * hash) + getPreSignedUrls().hashCode(); - break; - case 3: - hash = (37 * hash) + LITERAL_FIELD_NUMBER; - hash = (53 * hash) + getLiteral().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.GetDataResponse 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.Dataproxy.GetDataResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Dataproxy.GetDataResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.GetDataResponse 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.Dataproxy.GetDataResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.GetDataResponse 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.Dataproxy.GetDataResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Dataproxy.GetDataResponse 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.Dataproxy.GetDataResponse 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.GetDataResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.GetDataResponse) - flyteidl.service.Dataproxy.GetDataResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Dataproxy.GetDataResponse.class, flyteidl.service.Dataproxy.GetDataResponse.Builder.class); - } - - // Construct using flyteidl.service.Dataproxy.GetDataResponse.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(); - dataCase_ = 0; - data_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.GetDataResponse getDefaultInstanceForType() { - return flyteidl.service.Dataproxy.GetDataResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Dataproxy.GetDataResponse build() { - flyteidl.service.Dataproxy.GetDataResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Dataproxy.GetDataResponse buildPartial() { - flyteidl.service.Dataproxy.GetDataResponse result = new flyteidl.service.Dataproxy.GetDataResponse(this); - if (dataCase_ == 1) { - if (literalMapBuilder_ == null) { - result.data_ = data_; - } else { - result.data_ = literalMapBuilder_.build(); - } - } - if (dataCase_ == 2) { - if (preSignedUrlsBuilder_ == null) { - result.data_ = data_; - } else { - result.data_ = preSignedUrlsBuilder_.build(); - } - } - if (dataCase_ == 3) { - if (literalBuilder_ == null) { - result.data_ = data_; - } else { - result.data_ = literalBuilder_.build(); - } - } - result.dataCase_ = dataCase_; - 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.Dataproxy.GetDataResponse) { - return mergeFrom((flyteidl.service.Dataproxy.GetDataResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Dataproxy.GetDataResponse other) { - if (other == flyteidl.service.Dataproxy.GetDataResponse.getDefaultInstance()) return this; - switch (other.getDataCase()) { - case LITERAL_MAP: { - mergeLiteralMap(other.getLiteralMap()); - break; - } - case PRE_SIGNED_URLS: { - mergePreSignedUrls(other.getPreSignedUrls()); - break; - } - case LITERAL: { - mergeLiteral(other.getLiteral()); - break; - } - case DATA_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.service.Dataproxy.GetDataResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Dataproxy.GetDataResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int dataCase_ = 0; - private java.lang.Object data_; - public DataCase - getDataCase() { - return DataCase.forNumber( - dataCase_); - } - - public Builder clearData() { - dataCase_ = 0; - data_ = null; - onChanged(); - return this; - } - - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> literalMapBuilder_; - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public boolean hasLiteralMap() { - return dataCase_ == 1; - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public flyteidl.core.Literals.LiteralMap getLiteralMap() { - if (literalMapBuilder_ == null) { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } else { - if (dataCase_ == 1) { - return literalMapBuilder_.getMessage(); - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public Builder setLiteralMap(flyteidl.core.Literals.LiteralMap value) { - if (literalMapBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - data_ = value; - onChanged(); - } else { - literalMapBuilder_.setMessage(value); - } - dataCase_ = 1; - return this; - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public Builder setLiteralMap( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (literalMapBuilder_ == null) { - data_ = builderForValue.build(); - onChanged(); - } else { - literalMapBuilder_.setMessage(builderForValue.build()); - } - dataCase_ = 1; - return this; - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public Builder mergeLiteralMap(flyteidl.core.Literals.LiteralMap value) { - if (literalMapBuilder_ == null) { - if (dataCase_ == 1 && - data_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { - data_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) data_) - .mergeFrom(value).buildPartial(); - } else { - data_ = value; - } - onChanged(); - } else { - if (dataCase_ == 1) { - literalMapBuilder_.mergeFrom(value); - } - literalMapBuilder_.setMessage(value); - } - dataCase_ = 1; - return this; - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public Builder clearLiteralMap() { - if (literalMapBuilder_ == null) { - if (dataCase_ == 1) { - dataCase_ = 0; - data_ = null; - onChanged(); - } - } else { - if (dataCase_ == 1) { - dataCase_ = 0; - data_ = null; - } - literalMapBuilder_.clear(); - } - return this; - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public flyteidl.core.Literals.LiteralMap.Builder getLiteralMapBuilder() { - return getLiteralMapFieldBuilder().getBuilder(); - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getLiteralMapOrBuilder() { - if ((dataCase_ == 1) && (literalMapBuilder_ != null)) { - return literalMapBuilder_.getMessageOrBuilder(); - } else { - if (dataCase_ == 1) { - return (flyteidl.core.Literals.LiteralMap) data_; - } - return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - } - /** - *
-       * literal map data will be returned
-       * 
- * - * .flyteidl.core.LiteralMap literal_map = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getLiteralMapFieldBuilder() { - if (literalMapBuilder_ == null) { - if (!(dataCase_ == 1)) { - data_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); - } - literalMapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - (flyteidl.core.Literals.LiteralMap) data_, - getParentForChildren(), - isClean()); - data_ = null; - } - dataCase_ = 1; - onChanged();; - return literalMapBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> preSignedUrlsBuilder_; - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public boolean hasPreSignedUrls() { - return dataCase_ == 2; - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { - if (preSignedUrlsBuilder_ == null) { - if (dataCase_ == 2) { - return (flyteidl.service.Dataproxy.PreSignedURLs) data_; - } - return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); - } else { - if (dataCase_ == 2) { - return preSignedUrlsBuilder_.getMessage(); - } - return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); - } - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public Builder setPreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { - if (preSignedUrlsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - data_ = value; - onChanged(); - } else { - preSignedUrlsBuilder_.setMessage(value); - } - dataCase_ = 2; - return this; - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public Builder setPreSignedUrls( - flyteidl.service.Dataproxy.PreSignedURLs.Builder builderForValue) { - if (preSignedUrlsBuilder_ == null) { - data_ = builderForValue.build(); - onChanged(); - } else { - preSignedUrlsBuilder_.setMessage(builderForValue.build()); - } - dataCase_ = 2; - return this; - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public Builder mergePreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { - if (preSignedUrlsBuilder_ == null) { - if (dataCase_ == 2 && - data_ != flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance()) { - data_ = flyteidl.service.Dataproxy.PreSignedURLs.newBuilder((flyteidl.service.Dataproxy.PreSignedURLs) data_) - .mergeFrom(value).buildPartial(); - } else { - data_ = value; - } - onChanged(); - } else { - if (dataCase_ == 2) { - preSignedUrlsBuilder_.mergeFrom(value); - } - preSignedUrlsBuilder_.setMessage(value); - } - dataCase_ = 2; - return this; - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public Builder clearPreSignedUrls() { - if (preSignedUrlsBuilder_ == null) { - if (dataCase_ == 2) { - dataCase_ = 0; - data_ = null; - onChanged(); - } - } else { - if (dataCase_ == 2) { - dataCase_ = 0; - data_ = null; - } - preSignedUrlsBuilder_.clear(); - } - return this; - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public flyteidl.service.Dataproxy.PreSignedURLs.Builder getPreSignedUrlsBuilder() { - return getPreSignedUrlsFieldBuilder().getBuilder(); - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { - if ((dataCase_ == 2) && (preSignedUrlsBuilder_ != null)) { - return preSignedUrlsBuilder_.getMessageOrBuilder(); - } else { - if (dataCase_ == 2) { - return (flyteidl.service.Dataproxy.PreSignedURLs) data_; - } - return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); - } - } - /** - *
-       * Flyte deck html will be returned as a signed url users can download
-       * 
- * - * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> - getPreSignedUrlsFieldBuilder() { - if (preSignedUrlsBuilder_ == null) { - if (!(dataCase_ == 2)) { - data_ = flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); - } - preSignedUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder>( - (flyteidl.service.Dataproxy.PreSignedURLs) data_, - getParentForChildren(), - isClean()); - data_ = null; - } - dataCase_ = 2; - onChanged();; - return preSignedUrlsBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> literalBuilder_; - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public boolean hasLiteral() { - return dataCase_ == 3; - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public flyteidl.core.Literals.Literal getLiteral() { - if (literalBuilder_ == null) { - if (dataCase_ == 3) { - return (flyteidl.core.Literals.Literal) data_; - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } else { - if (dataCase_ == 3) { - return literalBuilder_.getMessage(); - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public Builder setLiteral(flyteidl.core.Literals.Literal value) { - if (literalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - data_ = value; - onChanged(); - } else { - literalBuilder_.setMessage(value); - } - dataCase_ = 3; - return this; - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public Builder setLiteral( - flyteidl.core.Literals.Literal.Builder builderForValue) { - if (literalBuilder_ == null) { - data_ = builderForValue.build(); - onChanged(); - } else { - literalBuilder_.setMessage(builderForValue.build()); - } - dataCase_ = 3; - return this; - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public Builder mergeLiteral(flyteidl.core.Literals.Literal value) { - if (literalBuilder_ == null) { - if (dataCase_ == 3 && - data_ != flyteidl.core.Literals.Literal.getDefaultInstance()) { - data_ = flyteidl.core.Literals.Literal.newBuilder((flyteidl.core.Literals.Literal) data_) - .mergeFrom(value).buildPartial(); - } else { - data_ = value; - } - onChanged(); - } else { - if (dataCase_ == 3) { - literalBuilder_.mergeFrom(value); - } - literalBuilder_.setMessage(value); - } - dataCase_ = 3; - return this; - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public Builder clearLiteral() { - if (literalBuilder_ == null) { - if (dataCase_ == 3) { - dataCase_ = 0; - data_ = null; - onChanged(); - } - } else { - if (dataCase_ == 3) { - dataCase_ = 0; - data_ = null; - } - literalBuilder_.clear(); - } - return this; - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public flyteidl.core.Literals.Literal.Builder getLiteralBuilder() { - return getLiteralFieldBuilder().getBuilder(); - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - public flyteidl.core.Literals.LiteralOrBuilder getLiteralOrBuilder() { - if ((dataCase_ == 3) && (literalBuilder_ != null)) { - return literalBuilder_.getMessageOrBuilder(); - } else { - if (dataCase_ == 3) { - return (flyteidl.core.Literals.Literal) data_; - } - return flyteidl.core.Literals.Literal.getDefaultInstance(); - } - } - /** - *
-       * Single literal will be returned. This is returned when the user/url requests a specific output or input
-       * by name. See the o3 example above.
-       * 
- * - * .flyteidl.core.Literal literal = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder> - getLiteralFieldBuilder() { - if (literalBuilder_ == null) { - if (!(dataCase_ == 3)) { - data_ = flyteidl.core.Literals.Literal.getDefaultInstance(); - } - literalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.Literal, flyteidl.core.Literals.Literal.Builder, flyteidl.core.Literals.LiteralOrBuilder>( - (flyteidl.core.Literals.Literal) data_, - getParentForChildren(), - isClean()); - data_ = null; - } - dataCase_ = 3; - onChanged();; - return literalBuilder_; - } - @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.GetDataResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataResponse) - private static final flyteidl.service.Dataproxy.GetDataResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.GetDataResponse(); - } - - public static flyteidl.service.Dataproxy.GetDataResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDataResponse(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.Dataproxy.GetDataResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateUploadLocationResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateUploadLocationRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLocationRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLocationResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLinkRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLinkResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_PreSignedURLs_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_GetDataRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_GetDataResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n flyteidl/service/dataproxy.proto\022\020flyt" + - "eidl.service\032\034google/api/annotations.pro" + - "to\032\036google/protobuf/duration.proto\032\037goog" + - "le/protobuf/timestamp.proto\032\036flyteidl/co" + - "re/identifier.proto\032\034flyteidl/core/liter" + - "als.proto\"v\n\034CreateUploadLocationRespons" + - "e\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(" + - "\t\022.\n\nexpires_at\030\003 \001(\0132\032.google.protobuf." + - "Timestamp\"\253\001\n\033CreateUploadLocationReques" + - "t\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010fi" + - "lename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.googl" + - "e.protobuf.Duration\022\023\n\013content_md5\030\005 \001(\014" + - "\022\025\n\rfilename_root\030\006 \001(\t\"f\n\035CreateDownloa" + - "dLocationRequest\022\022\n\nnative_url\030\001 \001(\t\022-\n\n" + - "expires_in\030\002 \001(\0132\031.google.protobuf.Durat" + - "ion:\002\030\001\"h\n\036CreateDownloadLocationRespons" + - "e\022\022\n\nsigned_url\030\001 \001(\t\022.\n\nexpires_at\030\002 \001(" + - "\0132\032.google.protobuf.Timestamp:\002\030\001\"\320\001\n\031Cr" + - "eateDownloadLinkRequest\0225\n\rartifact_type" + - "\030\001 \001(\0162\036.flyteidl.service.ArtifactType\022-" + - "\n\nexpires_in\030\002 \001(\0132\031.google.protobuf.Dur" + - "ation\022C\n\021node_execution_id\030\003 \001(\0132&.flyte" + - "idl.core.NodeExecutionIdentifierH\000B\010\n\006so" + - "urce\"\242\001\n\032CreateDownloadLinkResponse\022\026\n\ns" + - "igned_url\030\001 \003(\tB\002\030\001\0222\n\nexpires_at\030\002 \001(\0132" + - "\032.google.protobuf.TimestampB\002\030\001\0228\n\017pre_s" + - "igned_urls\030\003 \001(\0132\037.flyteidl.service.PreS" + - "ignedURLs\"S\n\rPreSignedURLs\022\022\n\nsigned_url" + - "\030\001 \003(\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.prot" + - "obuf.Timestamp\"#\n\016GetDataRequest\022\021\n\tflyt" + - "e_url\030\001 \001(\t\"\262\001\n\017GetDataResponse\0220\n\013liter" + - "al_map\030\001 \001(\0132\031.flyteidl.core.LiteralMapH" + - "\000\022:\n\017pre_signed_urls\030\002 \001(\0132\037.flyteidl.se" + - "rvice.PreSignedURLsH\000\022)\n\007literal\030\003 \001(\0132\026" + - ".flyteidl.core.LiteralH\000B\006\n\004data*C\n\014Arti" + - "factType\022\033\n\027ARTIFACT_TYPE_UNDEFINED\020\000\022\026\n" + - "\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020DataProxyServi" + - "ce\022\240\001\n\024CreateUploadLocation\022-.flyteidl.s" + - "ervice.CreateUploadLocationRequest\032..fly" + - "teidl.service.CreateUploadLocationRespon" + - "se\")\202\323\344\223\002#\"\036/api/v1/dataproxy/artifact_u" + - "rn:\001*\022\246\001\n\026CreateDownloadLocation\022/.flyte" + - "idl.service.CreateDownloadLocationReques" + - "t\0320.flyteidl.service.CreateDownloadLocat" + - "ionResponse\")\210\002\001\202\323\344\223\002 \022\036/api/v1/dataprox" + - "y/artifact_urn\022\233\001\n\022CreateDownloadLink\022+." + - "flyteidl.service.CreateDownloadLinkReque" + - "st\032,.flyteidl.service.CreateDownloadLink" + - "Response\"*\202\323\344\223\002$\"\037/api/v1/dataproxy/arti" + - "fact_link:\001*\022d\n\007GetData\022 .flyteidl.servi" + - "ce.GetDataRequest\032!.flyteidl.service.Get" + - "DataResponse\"\024\202\323\344\223\002\016\022\014/api/v1/dataB?Z=gi" + - "thub.com/flyteorg/flyte/flyteidl/gen/pb-" + - "go/flyteidl/serviceb\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(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), - flyteidl.core.Literals.getDescriptor(), - }, assigner); - internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_service_CreateUploadLocationResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor, - new java.lang.String[] { "SignedUrl", "NativeUrl", "ExpiresAt", }); - internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_service_CreateUploadLocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor, - new java.lang.String[] { "Project", "Domain", "Filename", "ExpiresIn", "ContentMd5", "FilenameRoot", }); - internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_service_CreateDownloadLocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor, - new java.lang.String[] { "NativeUrl", "ExpiresIn", }); - internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_service_CreateDownloadLocationResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor, - new java.lang.String[] { "SignedUrl", "ExpiresAt", }); - internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_service_CreateDownloadLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor, - new java.lang.String[] { "ArtifactType", "ExpiresIn", "NodeExecutionId", "Source", }); - internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_service_CreateDownloadLinkResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor, - new java.lang.String[] { "SignedUrl", "ExpiresAt", "PreSignedUrls", }); - internal_static_flyteidl_service_PreSignedURLs_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_PreSignedURLs_descriptor, - new java.lang.String[] { "SignedUrl", "ExpiresAt", }); - internal_static_flyteidl_service_GetDataRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_GetDataRequest_descriptor, - new java.lang.String[] { "FlyteUrl", }); - internal_static_flyteidl_service_GetDataResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_GetDataResponse_descriptor, - new java.lang.String[] { "LiteralMap", "PreSignedUrls", "Literal", "Data", }); - 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(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); - flyteidl.core.Literals.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/service/ExternalPluginServiceOuterClass.java b/flyteidl/gen/pb-java/flyteidl/service/ExternalPluginServiceOuterClass.java deleted file mode 100644 index 7fe6508f1a..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/service/ExternalPluginServiceOuterClass.java +++ /dev/null @@ -1,4740 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/external_plugin_service.proto - -package flyteidl.service; - -public final class ExternalPluginServiceOuterClass { - private ExternalPluginServiceOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - *
-   * The state of the execution is used to control its visibility in the UI/CLI.
-   * 
- * - * Protobuf enum {@code flyteidl.service.State} - */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { - /** - * RETRYABLE_FAILURE = 0; - */ - RETRYABLE_FAILURE(0), - /** - * PERMANENT_FAILURE = 1; - */ - PERMANENT_FAILURE(1), - /** - * PENDING = 2; - */ - PENDING(2), - /** - * RUNNING = 3; - */ - RUNNING(3), - /** - * SUCCEEDED = 4; - */ - SUCCEEDED(4), - UNRECOGNIZED(-1), - ; - - /** - * RETRYABLE_FAILURE = 0; - */ - public static final int RETRYABLE_FAILURE_VALUE = 0; - /** - * PERMANENT_FAILURE = 1; - */ - public static final int PERMANENT_FAILURE_VALUE = 1; - /** - * PENDING = 2; - */ - public static final int PENDING_VALUE = 2; - /** - * RUNNING = 3; - */ - public static final int RUNNING_VALUE = 3; - /** - * SUCCEEDED = 4; - */ - public static final int SUCCEEDED_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 State valueOf(int value) { - return forNumber(value); - } - - public static State forNumber(int value) { - switch (value) { - case 0: return RETRYABLE_FAILURE; - case 1: return PERMANENT_FAILURE; - case 2: return PENDING; - case 3: return RUNNING; - case 4: return SUCCEEDED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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.service.ExternalPluginServiceOuterClass.getDescriptor().getEnumTypes().get(0); - } - - private static final State[] VALUES = values(); - - public static State 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 State(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:flyteidl.service.State) - } - - @java.lang.Deprecated public interface TaskCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskCreateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - boolean hasInputs(); - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - flyteidl.core.Literals.LiteralMap getInputs(); - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder(); - - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - boolean hasTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - flyteidl.core.Tasks.TaskTemplate getTemplate(); - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder(); - - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - java.lang.String getOutputPrefix(); - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - com.google.protobuf.ByteString - getOutputPrefixBytes(); - } - /** - *
-   * Represents a request structure to create task.
-   * 
- * - * Protobuf type {@code flyteidl.service.TaskCreateRequest} - */ - @java.lang.Deprecated public static final class TaskCreateRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.TaskCreateRequest) - TaskCreateRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskCreateRequest.newBuilder() to construct. - private TaskCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskCreateRequest() { - outputPrefix_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskCreateRequest( - 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.Literals.LiteralMap.Builder subBuilder = null; - if (inputs_ != null) { - subBuilder = inputs_.toBuilder(); - } - inputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputs_); - inputs_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - flyteidl.core.Tasks.TaskTemplate.Builder subBuilder = null; - if (template_ != null) { - subBuilder = template_.toBuilder(); - } - template_ = input.readMessage(flyteidl.core.Tasks.TaskTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(template_); - template_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - outputPrefix_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.Builder.class); - } - - public static final int INPUTS_FIELD_NUMBER = 1; - private flyteidl.core.Literals.LiteralMap inputs_; - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public boolean hasInputs() { - return inputs_ != null; - } - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMap getInputs() { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - /** - *
-     * The inputs required to start the execution. All required inputs must be
-     * included in this map. If not required and not provided, defaults apply.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - return getInputs(); - } - - public static final int TEMPLATE_FIELD_NUMBER = 2; - private flyteidl.core.Tasks.TaskTemplate template_; - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public boolean hasTemplate() { - return template_ != null; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - /** - *
-     * Template of the task that encapsulates all the metadata of the task.
-     * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - return getTemplate(); - } - - public static final int OUTPUT_PREFIX_FIELD_NUMBER = 3; - private volatile java.lang.Object outputPrefix_; - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - public java.lang.String getOutputPrefix() { - java.lang.Object ref = outputPrefix_; - 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(); - outputPrefix_ = s; - return s; - } - } - /** - *
-     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-     * 
- * - * string output_prefix = 3; - */ - public com.google.protobuf.ByteString - getOutputPrefixBytes() { - java.lang.Object ref = outputPrefix_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputPrefix_ = 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 (inputs_ != null) { - output.writeMessage(1, getInputs()); - } - if (template_ != null) { - output.writeMessage(2, getTemplate()); - } - if (!getOutputPrefixBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputPrefix_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (inputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInputs()); - } - if (template_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTemplate()); - } - if (!getOutputPrefixBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputPrefix_); - } - 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.ExternalPluginServiceOuterClass.TaskCreateRequest)) { - return super.equals(obj); - } - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest) obj; - - if (hasInputs() != other.hasInputs()) return false; - if (hasInputs()) { - if (!getInputs() - .equals(other.getInputs())) return false; - } - if (hasTemplate() != other.hasTemplate()) return false; - if (hasTemplate()) { - if (!getTemplate() - .equals(other.getTemplate())) return false; - } - if (!getOutputPrefix() - .equals(other.getOutputPrefix())) 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 (hasInputs()) { - hash = (37 * hash) + INPUTS_FIELD_NUMBER; - hash = (53 * hash) + getInputs().hashCode(); - } - if (hasTemplate()) { - hash = (37 * hash) + TEMPLATE_FIELD_NUMBER; - hash = (53 * hash) + getTemplate().hashCode(); - } - hash = (37 * hash) + OUTPUT_PREFIX_FIELD_NUMBER; - hash = (53 * hash) + getOutputPrefix().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest 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.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest 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.ExternalPluginServiceOuterClass.TaskCreateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest 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.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest 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.ExternalPluginServiceOuterClass.TaskCreateRequest 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; - } - /** - *
-     * Represents a request structure to create task.
-     * 
- * - * Protobuf type {@code flyteidl.service.TaskCreateRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskCreateRequest) - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.Builder.class); - } - - // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.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 (inputsBuilder_ == null) { - inputs_ = null; - } else { - inputs_ = null; - inputsBuilder_ = null; - } - if (templateBuilder_ == null) { - template_ = null; - } else { - template_ = null; - templateBuilder_ = null; - } - outputPrefix_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest getDefaultInstanceForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest build() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest buildPartial() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest(this); - if (inputsBuilder_ == null) { - result.inputs_ = inputs_; - } else { - result.inputs_ = inputsBuilder_.build(); - } - if (templateBuilder_ == null) { - result.template_ = template_; - } else { - result.template_ = templateBuilder_.build(); - } - result.outputPrefix_ = outputPrefix_; - 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.ExternalPluginServiceOuterClass.TaskCreateRequest) { - return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest other) { - if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.getDefaultInstance()) return this; - if (other.hasInputs()) { - mergeInputs(other.getInputs()); - } - if (other.hasTemplate()) { - mergeTemplate(other.getTemplate()); - } - if (!other.getOutputPrefix().isEmpty()) { - outputPrefix_ = other.outputPrefix_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private flyteidl.core.Literals.LiteralMap inputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputsBuilder_; - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public boolean hasInputs() { - return inputsBuilder_ != null || inputs_ != null; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMap getInputs() { - if (inputsBuilder_ == null) { - return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } else { - return inputsBuilder_.getMessage(); - } - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder setInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputs_ = value; - onChanged(); - } else { - inputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder setInputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputsBuilder_ == null) { - inputs_ = builderForValue.build(); - onChanged(); - } else { - inputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder mergeInputs(flyteidl.core.Literals.LiteralMap value) { - if (inputsBuilder_ == null) { - if (inputs_ != null) { - inputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); - } else { - inputs_ = value; - } - onChanged(); - } else { - inputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public Builder clearInputs() { - if (inputsBuilder_ == null) { - inputs_ = null; - onChanged(); - } else { - inputs_ = null; - inputsBuilder_ = null; - } - - return this; - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputsBuilder() { - - onChanged(); - return getInputsFieldBuilder().getBuilder(); - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { - if (inputsBuilder_ != null) { - return inputsBuilder_.getMessageOrBuilder(); - } else { - return inputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; - } - } - /** - *
-       * The inputs required to start the execution. All required inputs must be
-       * included in this map. If not required and not provided, defaults apply.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap inputs = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputsFieldBuilder() { - if (inputsBuilder_ == null) { - inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputs(), - getParentForChildren(), - isClean()); - inputs_ = null; - } - return inputsBuilder_; - } - - private flyteidl.core.Tasks.TaskTemplate template_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> templateBuilder_; - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public boolean hasTemplate() { - return templateBuilder_ != null || template_ != null; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplate getTemplate() { - if (templateBuilder_ == null) { - return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } else { - return templateBuilder_.getMessage(); - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder setTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - template_ = value; - onChanged(); - } else { - templateBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder setTemplate( - flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { - if (templateBuilder_ == null) { - template_ = builderForValue.build(); - onChanged(); - } else { - templateBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder mergeTemplate(flyteidl.core.Tasks.TaskTemplate value) { - if (templateBuilder_ == null) { - if (template_ != null) { - template_ = - flyteidl.core.Tasks.TaskTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); - } else { - template_ = value; - } - onChanged(); - } else { - templateBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public Builder clearTemplate() { - if (templateBuilder_ == null) { - template_ = null; - onChanged(); - } else { - template_ = null; - templateBuilder_ = null; - } - - return this; - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplate.Builder getTemplateBuilder() { - - onChanged(); - return getTemplateFieldBuilder().getBuilder(); - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { - if (templateBuilder_ != null) { - return templateBuilder_.getMessageOrBuilder(); - } else { - return template_ == null ? - flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; - } - } - /** - *
-       * Template of the task that encapsulates all the metadata of the task.
-       * 
- * - * .flyteidl.core.TaskTemplate template = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> - getTemplateFieldBuilder() { - if (templateBuilder_ == null) { - templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>( - getTemplate(), - getParentForChildren(), - isClean()); - template_ = null; - } - return templateBuilder_; - } - - private java.lang.Object outputPrefix_ = ""; - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public java.lang.String getOutputPrefix() { - java.lang.Object ref = outputPrefix_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - outputPrefix_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public com.google.protobuf.ByteString - getOutputPrefixBytes() { - java.lang.Object ref = outputPrefix_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - outputPrefix_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public Builder setOutputPrefix( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - outputPrefix_ = value; - onChanged(); - return this; - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public Builder clearOutputPrefix() { - - outputPrefix_ = getDefaultInstance().getOutputPrefix(); - onChanged(); - return this; - } - /** - *
-       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
-       * 
- * - * string output_prefix = 3; - */ - public Builder setOutputPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - outputPrefix_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskCreateRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateRequest) - private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest(); - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskCreateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskCreateRequest(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.ExternalPluginServiceOuterClass.TaskCreateRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface TaskCreateResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskCreateResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * string job_id = 1; - */ - java.lang.String getJobId(); - /** - * string job_id = 1; - */ - com.google.protobuf.ByteString - getJobIdBytes(); - } - /** - *
-   * Represents a create response structure.
-   * 
- * - * Protobuf type {@code flyteidl.service.TaskCreateResponse} - */ - @java.lang.Deprecated public static final class TaskCreateResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.TaskCreateResponse) - TaskCreateResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskCreateResponse.newBuilder() to construct. - private TaskCreateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskCreateResponse() { - jobId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskCreateResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - jobId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.Builder.class); - } - - public static final int JOB_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object jobId_; - /** - * string job_id = 1; - */ - public java.lang.String getJobId() { - java.lang.Object ref = jobId_; - 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(); - jobId_ = s; - return s; - } - } - /** - * string job_id = 1; - */ - public com.google.protobuf.ByteString - getJobIdBytes() { - java.lang.Object ref = jobId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jobId_ = 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 (!getJobIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getJobIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobId_); - } - 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.ExternalPluginServiceOuterClass.TaskCreateResponse)) { - return super.equals(obj); - } - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse) obj; - - if (!getJobId() - .equals(other.getJobId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + JOB_ID_FIELD_NUMBER; - hash = (53 * hash) + getJobId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse 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.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse 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.ExternalPluginServiceOuterClass.TaskCreateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse 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.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse 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.ExternalPluginServiceOuterClass.TaskCreateResponse 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; - } - /** - *
-     * Represents a create response structure.
-     * 
- * - * Protobuf type {@code flyteidl.service.TaskCreateResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskCreateResponse) - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.Builder.class); - } - - // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.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(); - jobId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse getDefaultInstanceForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse build() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse buildPartial() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse(this); - result.jobId_ = jobId_; - 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.ExternalPluginServiceOuterClass.TaskCreateResponse) { - return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse other) { - if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.getDefaultInstance()) return this; - if (!other.getJobId().isEmpty()) { - jobId_ = other.jobId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object jobId_ = ""; - /** - * string job_id = 1; - */ - public java.lang.String getJobId() { - java.lang.Object ref = jobId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jobId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string job_id = 1; - */ - public com.google.protobuf.ByteString - getJobIdBytes() { - java.lang.Object ref = jobId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jobId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string job_id = 1; - */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - jobId_ = value; - onChanged(); - return this; - } - /** - * string job_id = 1; - */ - public Builder clearJobId() { - - jobId_ = getDefaultInstance().getJobId(); - onChanged(); - return this; - } - /** - * string job_id = 1; - */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - jobId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskCreateResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateResponse) - private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse(); - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskCreateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskCreateResponse(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.ExternalPluginServiceOuterClass.TaskCreateResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface TaskGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - java.lang.String getJobId(); - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - com.google.protobuf.ByteString - getJobIdBytes(); - } - /** - *
-   * A message used to fetch a job state from backend plugin server.
-   * 
- * - * Protobuf type {@code flyteidl.service.TaskGetRequest} - */ - @java.lang.Deprecated public static final class TaskGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.TaskGetRequest) - TaskGetRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskGetRequest.newBuilder() to construct. - private TaskGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskGetRequest() { - taskType_ = ""; - jobId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskGetRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - jobId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.Builder.class); - } - - public static final int TASK_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int JOB_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object jobId_; - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - public java.lang.String getJobId() { - java.lang.Object ref = jobId_; - 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(); - jobId_ = s; - return s; - } - } - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - public com.google.protobuf.ByteString - getJobIdBytes() { - java.lang.Object ref = jobId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jobId_ = 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 (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); - } - if (!getJobIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); - } - if (!getJobIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); - } - 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.ExternalPluginServiceOuterClass.TaskGetRequest)) { - return super.equals(obj); - } - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest) obj; - - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - hash = (37 * hash) + JOB_ID_FIELD_NUMBER; - hash = (53 * hash) + getJobId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest 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.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest 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.ExternalPluginServiceOuterClass.TaskGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest 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.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest 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.ExternalPluginServiceOuterClass.TaskGetRequest 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 message used to fetch a job state from backend plugin server.
-     * 
- * - * Protobuf type {@code flyteidl.service.TaskGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskGetRequest) - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.Builder.class); - } - - // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.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(); - taskType_ = ""; - - jobId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest getDefaultInstanceForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest build() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest buildPartial() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest(this); - result.taskType_ = taskType_; - result.jobId_ = jobId_; - 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.ExternalPluginServiceOuterClass.TaskGetRequest) { - return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest other) { - if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.getDefaultInstance()) return this; - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (!other.getJobId().isEmpty()) { - jobId_ = other.jobId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private java.lang.Object jobId_ = ""; - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public java.lang.String getJobId() { - java.lang.Object ref = jobId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jobId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public com.google.protobuf.ByteString - getJobIdBytes() { - java.lang.Object ref = jobId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jobId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - jobId_ = value; - onChanged(); - return this; - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public Builder clearJobId() { - - jobId_ = getDefaultInstance().getJobId(); - onChanged(); - return this; - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - jobId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskGetRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetRequest) - private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest(); - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskGetRequest(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.ExternalPluginServiceOuterClass.TaskGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface TaskGetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskGetResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.service.State state = 1; - */ - int getStateValue(); - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.service.State state = 1; - */ - flyteidl.service.ExternalPluginServiceOuterClass.State getState(); - - /** - *
-     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - boolean hasOutputs(); - /** - *
-     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - flyteidl.core.Literals.LiteralMap getOutputs(); - /** - *
-     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder(); - } - /** - *
-   * Response to get an individual task state.
-   * 
- * - * Protobuf type {@code flyteidl.service.TaskGetResponse} - */ - @java.lang.Deprecated public static final class TaskGetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.TaskGetResponse) - TaskGetResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskGetResponse.newBuilder() to construct. - private TaskGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskGetResponse() { - state_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskGetResponse( - 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(); - - state_ = rawValue; - break; - } - case 18: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputs_ != null) { - subBuilder = outputs_.toBuilder(); - } - outputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputs_); - outputs_ = 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.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.Builder.class); - } - - public static final int STATE_FIELD_NUMBER = 1; - private int state_; - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.service.State state = 1; - */ - public int getStateValue() { - return state_; - } - /** - *
-     * The state of the execution is used to control its visibility in the UI/CLI.
-     * 
- * - * .flyteidl.service.State state = 1; - */ - public flyteidl.service.ExternalPluginServiceOuterClass.State getState() { - @SuppressWarnings("deprecation") - flyteidl.service.ExternalPluginServiceOuterClass.State result = flyteidl.service.ExternalPluginServiceOuterClass.State.valueOf(state_); - return result == null ? flyteidl.service.ExternalPluginServiceOuterClass.State.UNRECOGNIZED : result; - } - - public static final int OUTPUTS_FIELD_NUMBER = 2; - private flyteidl.core.Literals.LiteralMap outputs_; - /** - *
-     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public boolean hasOutputs() { - return outputs_ != null; - } - /** - *
-     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputs() { - return outputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; - } - /** - *
-     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-     * Structured dataset pointing to the query result table.
-     * +optional
-     * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder() { - return getOutputs(); - } - - 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 (state_ != flyteidl.service.ExternalPluginServiceOuterClass.State.RETRYABLE_FAILURE.getNumber()) { - output.writeEnum(1, state_); - } - if (outputs_ != null) { - output.writeMessage(2, getOutputs()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (state_ != flyteidl.service.ExternalPluginServiceOuterClass.State.RETRYABLE_FAILURE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); - } - if (outputs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputs()); - } - 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.ExternalPluginServiceOuterClass.TaskGetResponse)) { - return super.equals(obj); - } - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse) obj; - - if (state_ != other.state_) return false; - if (hasOutputs() != other.hasOutputs()) return false; - if (hasOutputs()) { - if (!getOutputs() - .equals(other.getOutputs())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - if (hasOutputs()) { - hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; - hash = (53 * hash) + getOutputs().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse 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.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse 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.ExternalPluginServiceOuterClass.TaskGetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse 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.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse 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.ExternalPluginServiceOuterClass.TaskGetResponse 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 to get an individual task state.
-     * 
- * - * Protobuf type {@code flyteidl.service.TaskGetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskGetResponse) - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.Builder.class); - } - - // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.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(); - state_ = 0; - - if (outputsBuilder_ == null) { - outputs_ = null; - } else { - outputs_ = null; - outputsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse getDefaultInstanceForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse build() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse buildPartial() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse(this); - result.state_ = state_; - if (outputsBuilder_ == null) { - result.outputs_ = outputs_; - } else { - result.outputs_ = outputsBuilder_.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.ExternalPluginServiceOuterClass.TaskGetResponse) { - return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse other) { - if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.getDefaultInstance()) return this; - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - if (other.hasOutputs()) { - mergeOutputs(other.getOutputs()); - } - 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.ExternalPluginServiceOuterClass.TaskGetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int state_ = 0; - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.service.State state = 1; - */ - public int getStateValue() { - return state_; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.service.State state = 1; - */ - public Builder setStateValue(int value) { - state_ = value; - onChanged(); - return this; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.service.State state = 1; - */ - public flyteidl.service.ExternalPluginServiceOuterClass.State getState() { - @SuppressWarnings("deprecation") - flyteidl.service.ExternalPluginServiceOuterClass.State result = flyteidl.service.ExternalPluginServiceOuterClass.State.valueOf(state_); - return result == null ? flyteidl.service.ExternalPluginServiceOuterClass.State.UNRECOGNIZED : result; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.service.State state = 1; - */ - public Builder setState(flyteidl.service.ExternalPluginServiceOuterClass.State value) { - if (value == null) { - throw new NullPointerException(); - } - - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - *
-       * The state of the execution is used to control its visibility in the UI/CLI.
-       * 
- * - * .flyteidl.service.State state = 1; - */ - public Builder clearState() { - - state_ = 0; - onChanged(); - return this; - } - - private flyteidl.core.Literals.LiteralMap outputs_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputsBuilder_; - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public boolean hasOutputs() { - return outputsBuilder_ != null || outputs_ != null; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputs() { - if (outputsBuilder_ == null) { - return outputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; - } else { - return outputsBuilder_.getMessage(); - } - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder setOutputs(flyteidl.core.Literals.LiteralMap value) { - if (outputsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputs_ = value; - onChanged(); - } else { - outputsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder setOutputs( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputsBuilder_ == null) { - outputs_ = builderForValue.build(); - onChanged(); - } else { - outputsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder mergeOutputs(flyteidl.core.Literals.LiteralMap value) { - if (outputsBuilder_ == null) { - if (outputs_ != null) { - outputs_ = - flyteidl.core.Literals.LiteralMap.newBuilder(outputs_).mergeFrom(value).buildPartial(); - } else { - outputs_ = value; - } - onChanged(); - } else { - outputsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public Builder clearOutputs() { - if (outputsBuilder_ == null) { - outputs_ = null; - onChanged(); - } else { - outputs_ = null; - outputsBuilder_ = null; - } - - return this; - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputsBuilder() { - - onChanged(); - return getOutputsFieldBuilder().getBuilder(); - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder() { - if (outputsBuilder_ != null) { - return outputsBuilder_.getMessageOrBuilder(); - } else { - return outputs_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; - } - } - /** - *
-       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
-       * Structured dataset pointing to the query result table.
-       * +optional
-       * 
- * - * .flyteidl.core.LiteralMap outputs = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputsFieldBuilder() { - if (outputsBuilder_ == null) { - outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getOutputs(), - getParentForChildren(), - isClean()); - outputs_ = null; - } - return outputsBuilder_; - } - @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.TaskGetResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetResponse) - private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse(); - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskGetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskGetResponse(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.ExternalPluginServiceOuterClass.TaskGetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface TaskDeleteRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskDeleteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - java.lang.String getTaskType(); - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - com.google.protobuf.ByteString - getTaskTypeBytes(); - - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - java.lang.String getJobId(); - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - com.google.protobuf.ByteString - getJobIdBytes(); - } - /** - *
-   * A message used to delete a task.
-   * 
- * - * Protobuf type {@code flyteidl.service.TaskDeleteRequest} - */ - @java.lang.Deprecated public static final class TaskDeleteRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.TaskDeleteRequest) - TaskDeleteRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskDeleteRequest.newBuilder() to construct. - private TaskDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskDeleteRequest() { - taskType_ = ""; - jobId_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskDeleteRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - taskType_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - jobId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.Builder.class); - } - - public static final int TASK_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object taskType_; - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - 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(); - taskType_ = s; - return s; - } - } - /** - *
-     * A predefined yet extensible Task type identifier.
-     * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int JOB_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object jobId_; - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - public java.lang.String getJobId() { - java.lang.Object ref = jobId_; - 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(); - jobId_ = s; - return s; - } - } - /** - *
-     * The unique id identifying the job.
-     * 
- * - * string job_id = 2; - */ - public com.google.protobuf.ByteString - getJobIdBytes() { - java.lang.Object ref = jobId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jobId_ = 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 (!getTaskTypeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); - } - if (!getJobIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getTaskTypeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); - } - if (!getJobIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); - } - 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.ExternalPluginServiceOuterClass.TaskDeleteRequest)) { - return super.equals(obj); - } - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest) obj; - - if (!getTaskType() - .equals(other.getTaskType())) return false; - if (!getJobId() - .equals(other.getJobId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getTaskType().hashCode(); - hash = (37 * hash) + JOB_ID_FIELD_NUMBER; - hash = (53 * hash) + getJobId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest 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.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest 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.ExternalPluginServiceOuterClass.TaskDeleteRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest 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.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest 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.ExternalPluginServiceOuterClass.TaskDeleteRequest 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 message used to delete a task.
-     * 
- * - * Protobuf type {@code flyteidl.service.TaskDeleteRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskDeleteRequest) - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.Builder.class); - } - - // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.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(); - taskType_ = ""; - - jobId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest getDefaultInstanceForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest build() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest buildPartial() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest(this); - result.taskType_ = taskType_; - result.jobId_ = jobId_; - 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.ExternalPluginServiceOuterClass.TaskDeleteRequest) { - return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest other) { - if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.getDefaultInstance()) return this; - if (!other.getTaskType().isEmpty()) { - taskType_ = other.taskType_; - onChanged(); - } - if (!other.getJobId().isEmpty()) { - jobId_ = other.jobId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object taskType_ = ""; - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public java.lang.String getTaskType() { - java.lang.Object ref = taskType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - taskType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public com.google.protobuf.ByteString - getTaskTypeBytes() { - java.lang.Object ref = taskType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - taskType_ = value; - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder clearTaskType() { - - taskType_ = getDefaultInstance().getTaskType(); - onChanged(); - return this; - } - /** - *
-       * A predefined yet extensible Task type identifier.
-       * 
- * - * string task_type = 1; - */ - public Builder setTaskTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - taskType_ = value; - onChanged(); - return this; - } - - private java.lang.Object jobId_ = ""; - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public java.lang.String getJobId() { - java.lang.Object ref = jobId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - jobId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public com.google.protobuf.ByteString - getJobIdBytes() { - java.lang.Object ref = jobId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - jobId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public Builder setJobId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - jobId_ = value; - onChanged(); - return this; - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public Builder clearJobId() { - - jobId_ = getDefaultInstance().getJobId(); - onChanged(); - return this; - } - /** - *
-       * The unique id identifying the job.
-       * 
- * - * string job_id = 2; - */ - public Builder setJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - jobId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskDeleteRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteRequest) - private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest(); - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskDeleteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskDeleteRequest(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.ExternalPluginServiceOuterClass.TaskDeleteRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - @java.lang.Deprecated public interface TaskDeleteResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskDeleteResponse) - com.google.protobuf.MessageOrBuilder { - } - /** - *
-   * Response to delete a task.
-   * 
- * - * Protobuf type {@code flyteidl.service.TaskDeleteResponse} - */ - @java.lang.Deprecated public static final class TaskDeleteResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.TaskDeleteResponse) - TaskDeleteResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskDeleteResponse.newBuilder() to construct. - private TaskDeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskDeleteResponse() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskDeleteResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse)) { - return super.equals(obj); - } - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse 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.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse 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.ExternalPluginServiceOuterClass.TaskDeleteResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse 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.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse 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.ExternalPluginServiceOuterClass.TaskDeleteResponse 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 to delete a task.
-     * 
- * - * Protobuf type {@code flyteidl.service.TaskDeleteResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskDeleteResponse) - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.Builder.class); - } - - // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse getDefaultInstanceForType() { - return flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse build() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse buildPartial() { - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse) { - return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse other) { - if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskDeleteResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteResponse) - private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse(); - } - - public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskDeleteResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskDeleteResponse(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.ExternalPluginServiceOuterClass.TaskDeleteResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_TaskCreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_TaskCreateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_TaskGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_TaskGetResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_TaskDeleteRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_TaskDeleteResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.flyteidl/service/external_plugin_servi" + - "ce.proto\022\020flyteidl.service\032\034flyteidl/cor" + - "e/literals.proto\032\031flyteidl/core/tasks.pr" + - "oto\"\210\001\n\021TaskCreateRequest\022)\n\006inputs\030\001 \001(" + - "\0132\031.flyteidl.core.LiteralMap\022-\n\010template" + - "\030\002 \001(\0132\033.flyteidl.core.TaskTemplate\022\025\n\ro" + - "utput_prefix\030\003 \001(\t:\002\030\001\"(\n\022TaskCreateResp" + - "onse\022\016\n\006job_id\030\001 \001(\t:\002\030\001\"7\n\016TaskGetReque" + - "st\022\021\n\ttask_type\030\001 \001(\t\022\016\n\006job_id\030\002 \001(\t:\002\030" + - "\001\"i\n\017TaskGetResponse\022&\n\005state\030\001 \001(\0162\027.fl" + - "yteidl.service.State\022*\n\007outputs\030\002 \001(\0132\031." + - "flyteidl.core.LiteralMap:\002\030\001\":\n\021TaskDele" + - "teRequest\022\021\n\ttask_type\030\001 \001(\t\022\016\n\006job_id\030\002" + - " \001(\t:\002\030\001\"\030\n\022TaskDeleteResponse:\002\030\001*b\n\005St" + - "ate\022\025\n\021RETRYABLE_FAILURE\020\000\022\025\n\021PERMANENT_" + - "FAILURE\020\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tS" + - "UCCEEDED\020\004\032\002\030\0012\250\002\n\025ExternalPluginService" + - "\022\\\n\nCreateTask\022#.flyteidl.service.TaskCr" + - "eateRequest\032$.flyteidl.service.TaskCreat" + - "eResponse\"\003\210\002\001\022S\n\007GetTask\022 .flyteidl.ser" + - "vice.TaskGetRequest\032!.flyteidl.service.T" + - "askGetResponse\"\003\210\002\001\022\\\n\nDeleteTask\022#.flyt" + - "eidl.service.TaskDeleteRequest\032$.flyteid" + - "l.service.TaskDeleteResponse\"\003\210\002\001B?Z=git" + - "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" + - "o/flyteidl/serviceb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - flyteidl.core.Literals.getDescriptor(), - flyteidl.core.Tasks.getDescriptor(), - }, assigner); - internal_static_flyteidl_service_TaskCreateRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_TaskCreateRequest_descriptor, - new java.lang.String[] { "Inputs", "Template", "OutputPrefix", }); - internal_static_flyteidl_service_TaskCreateResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_TaskCreateResponse_descriptor, - new java.lang.String[] { "JobId", }); - internal_static_flyteidl_service_TaskGetRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_TaskGetRequest_descriptor, - new java.lang.String[] { "TaskType", "JobId", }); - internal_static_flyteidl_service_TaskGetResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_TaskGetResponse_descriptor, - new java.lang.String[] { "State", "Outputs", }); - internal_static_flyteidl_service_TaskDeleteRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_TaskDeleteRequest_descriptor, - new java.lang.String[] { "TaskType", "JobId", }); - internal_static_flyteidl_service_TaskDeleteResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_TaskDeleteResponse_descriptor, - new java.lang.String[] { }); - flyteidl.core.Literals.getDescriptor(); - flyteidl.core.Tasks.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Identity.java b/flyteidl/gen/pb-java/flyteidl/service/Identity.java deleted file mode 100644 index 742a6b05df..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/service/Identity.java +++ /dev/null @@ -1,2392 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/identity.proto - -package flyteidl.service; - -public final class Identity { - private Identity() {} - 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 UserInfoRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.UserInfoRequest) - com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code flyteidl.service.UserInfoRequest} - */ - public static final class UserInfoRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.UserInfoRequest) - UserInfoRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use UserInfoRequest.newBuilder() to construct. - private UserInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UserInfoRequest() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UserInfoRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Identity.UserInfoRequest.class, flyteidl.service.Identity.UserInfoRequest.Builder.class); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof flyteidl.service.Identity.UserInfoRequest)) { - return super.equals(obj); - } - flyteidl.service.Identity.UserInfoRequest other = (flyteidl.service.Identity.UserInfoRequest) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Identity.UserInfoRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Identity.UserInfoRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Identity.UserInfoRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Identity.UserInfoRequest 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.Identity.UserInfoRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Identity.UserInfoRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Identity.UserInfoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Identity.UserInfoRequest 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.Identity.UserInfoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Identity.UserInfoRequest 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.Identity.UserInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Identity.UserInfoRequest 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.Identity.UserInfoRequest 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.UserInfoRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.UserInfoRequest) - flyteidl.service.Identity.UserInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Identity.UserInfoRequest.class, flyteidl.service.Identity.UserInfoRequest.Builder.class); - } - - // Construct using flyteidl.service.Identity.UserInfoRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoRequest_descriptor; - } - - @java.lang.Override - public flyteidl.service.Identity.UserInfoRequest getDefaultInstanceForType() { - return flyteidl.service.Identity.UserInfoRequest.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Identity.UserInfoRequest build() { - flyteidl.service.Identity.UserInfoRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Identity.UserInfoRequest buildPartial() { - flyteidl.service.Identity.UserInfoRequest result = new flyteidl.service.Identity.UserInfoRequest(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.service.Identity.UserInfoRequest) { - return mergeFrom((flyteidl.service.Identity.UserInfoRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Identity.UserInfoRequest other) { - if (other == flyteidl.service.Identity.UserInfoRequest.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - flyteidl.service.Identity.UserInfoRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Identity.UserInfoRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.service.UserInfoRequest) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.UserInfoRequest) - private static final flyteidl.service.Identity.UserInfoRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Identity.UserInfoRequest(); - } - - public static flyteidl.service.Identity.UserInfoRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserInfoRequest(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.Identity.UserInfoRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UserInfoResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.service.UserInfoResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-     * by the Client.
-     * 
- * - * string subject = 1; - */ - java.lang.String getSubject(); - /** - *
-     * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-     * by the Client.
-     * 
- * - * string subject = 1; - */ - com.google.protobuf.ByteString - getSubjectBytes(); - - /** - *
-     * Full name
-     * 
- * - * string name = 2; - */ - java.lang.String getName(); - /** - *
-     * Full name
-     * 
- * - * string name = 2; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Shorthand name by which the End-User wishes to be referred to
-     * 
- * - * string preferred_username = 3; - */ - java.lang.String getPreferredUsername(); - /** - *
-     * Shorthand name by which the End-User wishes to be referred to
-     * 
- * - * string preferred_username = 3; - */ - com.google.protobuf.ByteString - getPreferredUsernameBytes(); - - /** - *
-     * Given name(s) or first name(s)
-     * 
- * - * string given_name = 4; - */ - java.lang.String getGivenName(); - /** - *
-     * Given name(s) or first name(s)
-     * 
- * - * string given_name = 4; - */ - com.google.protobuf.ByteString - getGivenNameBytes(); - - /** - *
-     * Surname(s) or last name(s)
-     * 
- * - * string family_name = 5; - */ - java.lang.String getFamilyName(); - /** - *
-     * Surname(s) or last name(s)
-     * 
- * - * string family_name = 5; - */ - com.google.protobuf.ByteString - getFamilyNameBytes(); - - /** - *
-     * Preferred e-mail address
-     * 
- * - * string email = 6; - */ - java.lang.String getEmail(); - /** - *
-     * Preferred e-mail address
-     * 
- * - * string email = 6; - */ - com.google.protobuf.ByteString - getEmailBytes(); - - /** - *
-     * Profile picture URL
-     * 
- * - * string picture = 7; - */ - java.lang.String getPicture(); - /** - *
-     * Profile picture URL
-     * 
- * - * string picture = 7; - */ - com.google.protobuf.ByteString - getPictureBytes(); - - /** - *
-     * Additional claims
-     * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - boolean hasAdditionalClaims(); - /** - *
-     * Additional claims
-     * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - com.google.protobuf.Struct getAdditionalClaims(); - /** - *
-     * Additional claims
-     * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - com.google.protobuf.StructOrBuilder getAdditionalClaimsOrBuilder(); - } - /** - *
-   * See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information.
-   * 
- * - * Protobuf type {@code flyteidl.service.UserInfoResponse} - */ - public static final class UserInfoResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.service.UserInfoResponse) - UserInfoResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use UserInfoResponse.newBuilder() to construct. - private UserInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UserInfoResponse() { - subject_ = ""; - name_ = ""; - preferredUsername_ = ""; - givenName_ = ""; - familyName_ = ""; - email_ = ""; - picture_ = ""; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UserInfoResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - subject_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - preferredUsername_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - givenName_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - familyName_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - email_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - picture_ = s; - break; - } - case 66: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (additionalClaims_ != null) { - subBuilder = additionalClaims_.toBuilder(); - } - additionalClaims_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(additionalClaims_); - additionalClaims_ = 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.Identity.internal_static_flyteidl_service_UserInfoResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Identity.UserInfoResponse.class, flyteidl.service.Identity.UserInfoResponse.Builder.class); - } - - public static final int SUBJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object subject_; - /** - *
-     * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-     * by the Client.
-     * 
- * - * string subject = 1; - */ - public java.lang.String getSubject() { - java.lang.Object ref = subject_; - 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(); - subject_ = s; - return s; - } - } - /** - *
-     * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-     * by the Client.
-     * 
- * - * string subject = 1; - */ - public com.google.protobuf.ByteString - getSubjectBytes() { - java.lang.Object ref = subject_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subject_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - *
-     * Full name
-     * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } - } - /** - *
-     * Full name
-     * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PREFERRED_USERNAME_FIELD_NUMBER = 3; - private volatile java.lang.Object preferredUsername_; - /** - *
-     * Shorthand name by which the End-User wishes to be referred to
-     * 
- * - * string preferred_username = 3; - */ - public java.lang.String getPreferredUsername() { - java.lang.Object ref = preferredUsername_; - 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(); - preferredUsername_ = s; - return s; - } - } - /** - *
-     * Shorthand name by which the End-User wishes to be referred to
-     * 
- * - * string preferred_username = 3; - */ - public com.google.protobuf.ByteString - getPreferredUsernameBytes() { - java.lang.Object ref = preferredUsername_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - preferredUsername_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int GIVEN_NAME_FIELD_NUMBER = 4; - private volatile java.lang.Object givenName_; - /** - *
-     * Given name(s) or first name(s)
-     * 
- * - * string given_name = 4; - */ - public java.lang.String getGivenName() { - java.lang.Object ref = givenName_; - 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(); - givenName_ = s; - return s; - } - } - /** - *
-     * Given name(s) or first name(s)
-     * 
- * - * string given_name = 4; - */ - public com.google.protobuf.ByteString - getGivenNameBytes() { - java.lang.Object ref = givenName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - givenName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FAMILY_NAME_FIELD_NUMBER = 5; - private volatile java.lang.Object familyName_; - /** - *
-     * Surname(s) or last name(s)
-     * 
- * - * string family_name = 5; - */ - public java.lang.String getFamilyName() { - java.lang.Object ref = familyName_; - 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(); - familyName_ = s; - return s; - } - } - /** - *
-     * Surname(s) or last name(s)
-     * 
- * - * string family_name = 5; - */ - public com.google.protobuf.ByteString - getFamilyNameBytes() { - java.lang.Object ref = familyName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - familyName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EMAIL_FIELD_NUMBER = 6; - private volatile java.lang.Object email_; - /** - *
-     * Preferred e-mail address
-     * 
- * - * string email = 6; - */ - public java.lang.String getEmail() { - java.lang.Object ref = email_; - 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(); - email_ = s; - return s; - } - } - /** - *
-     * Preferred e-mail address
-     * 
- * - * string email = 6; - */ - public com.google.protobuf.ByteString - getEmailBytes() { - java.lang.Object ref = email_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - email_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PICTURE_FIELD_NUMBER = 7; - private volatile java.lang.Object picture_; - /** - *
-     * Profile picture URL
-     * 
- * - * string picture = 7; - */ - public java.lang.String getPicture() { - java.lang.Object ref = picture_; - 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(); - picture_ = s; - return s; - } - } - /** - *
-     * Profile picture URL
-     * 
- * - * string picture = 7; - */ - public com.google.protobuf.ByteString - getPictureBytes() { - java.lang.Object ref = picture_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - picture_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ADDITIONAL_CLAIMS_FIELD_NUMBER = 8; - private com.google.protobuf.Struct additionalClaims_; - /** - *
-     * Additional claims
-     * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public boolean hasAdditionalClaims() { - return additionalClaims_ != null; - } - /** - *
-     * Additional claims
-     * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public com.google.protobuf.Struct getAdditionalClaims() { - return additionalClaims_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalClaims_; - } - /** - *
-     * Additional claims
-     * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public com.google.protobuf.StructOrBuilder getAdditionalClaimsOrBuilder() { - return getAdditionalClaims(); - } - - 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 (!getSubjectBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subject_); - } - if (!getNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - if (!getPreferredUsernameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, preferredUsername_); - } - if (!getGivenNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, givenName_); - } - if (!getFamilyNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, familyName_); - } - if (!getEmailBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, email_); - } - if (!getPictureBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, picture_); - } - if (additionalClaims_ != null) { - output.writeMessage(8, getAdditionalClaims()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getSubjectBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subject_); - } - if (!getNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - if (!getPreferredUsernameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, preferredUsername_); - } - if (!getGivenNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, givenName_); - } - if (!getFamilyNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, familyName_); - } - if (!getEmailBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, email_); - } - if (!getPictureBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, picture_); - } - if (additionalClaims_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getAdditionalClaims()); - } - 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.Identity.UserInfoResponse)) { - return super.equals(obj); - } - flyteidl.service.Identity.UserInfoResponse other = (flyteidl.service.Identity.UserInfoResponse) obj; - - if (!getSubject() - .equals(other.getSubject())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getPreferredUsername() - .equals(other.getPreferredUsername())) return false; - if (!getGivenName() - .equals(other.getGivenName())) return false; - if (!getFamilyName() - .equals(other.getFamilyName())) return false; - if (!getEmail() - .equals(other.getEmail())) return false; - if (!getPicture() - .equals(other.getPicture())) return false; - if (hasAdditionalClaims() != other.hasAdditionalClaims()) return false; - if (hasAdditionalClaims()) { - if (!getAdditionalClaims() - .equals(other.getAdditionalClaims())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SUBJECT_FIELD_NUMBER; - hash = (53 * hash) + getSubject().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + PREFERRED_USERNAME_FIELD_NUMBER; - hash = (53 * hash) + getPreferredUsername().hashCode(); - hash = (37 * hash) + GIVEN_NAME_FIELD_NUMBER; - hash = (53 * hash) + getGivenName().hashCode(); - hash = (37 * hash) + FAMILY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getFamilyName().hashCode(); - hash = (37 * hash) + EMAIL_FIELD_NUMBER; - hash = (53 * hash) + getEmail().hashCode(); - hash = (37 * hash) + PICTURE_FIELD_NUMBER; - hash = (53 * hash) + getPicture().hashCode(); - if (hasAdditionalClaims()) { - hash = (37 * hash) + ADDITIONAL_CLAIMS_FIELD_NUMBER; - hash = (53 * hash) + getAdditionalClaims().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static flyteidl.service.Identity.UserInfoResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Identity.UserInfoResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Identity.UserInfoResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Identity.UserInfoResponse 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.Identity.UserInfoResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static flyteidl.service.Identity.UserInfoResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static flyteidl.service.Identity.UserInfoResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Identity.UserInfoResponse 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.Identity.UserInfoResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static flyteidl.service.Identity.UserInfoResponse 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.Identity.UserInfoResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static flyteidl.service.Identity.UserInfoResponse 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.Identity.UserInfoResponse 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; - } - /** - *
-     * See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information.
-     * 
- * - * Protobuf type {@code flyteidl.service.UserInfoResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.service.UserInfoResponse) - flyteidl.service.Identity.UserInfoResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - flyteidl.service.Identity.UserInfoResponse.class, flyteidl.service.Identity.UserInfoResponse.Builder.class); - } - - // Construct using flyteidl.service.Identity.UserInfoResponse.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(); - subject_ = ""; - - name_ = ""; - - preferredUsername_ = ""; - - givenName_ = ""; - - familyName_ = ""; - - email_ = ""; - - picture_ = ""; - - if (additionalClaimsBuilder_ == null) { - additionalClaims_ = null; - } else { - additionalClaims_ = null; - additionalClaimsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return flyteidl.service.Identity.internal_static_flyteidl_service_UserInfoResponse_descriptor; - } - - @java.lang.Override - public flyteidl.service.Identity.UserInfoResponse getDefaultInstanceForType() { - return flyteidl.service.Identity.UserInfoResponse.getDefaultInstance(); - } - - @java.lang.Override - public flyteidl.service.Identity.UserInfoResponse build() { - flyteidl.service.Identity.UserInfoResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public flyteidl.service.Identity.UserInfoResponse buildPartial() { - flyteidl.service.Identity.UserInfoResponse result = new flyteidl.service.Identity.UserInfoResponse(this); - result.subject_ = subject_; - result.name_ = name_; - result.preferredUsername_ = preferredUsername_; - result.givenName_ = givenName_; - result.familyName_ = familyName_; - result.email_ = email_; - result.picture_ = picture_; - if (additionalClaimsBuilder_ == null) { - result.additionalClaims_ = additionalClaims_; - } else { - result.additionalClaims_ = additionalClaimsBuilder_.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.Identity.UserInfoResponse) { - return mergeFrom((flyteidl.service.Identity.UserInfoResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(flyteidl.service.Identity.UserInfoResponse other) { - if (other == flyteidl.service.Identity.UserInfoResponse.getDefaultInstance()) return this; - if (!other.getSubject().isEmpty()) { - subject_ = other.subject_; - onChanged(); - } - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getPreferredUsername().isEmpty()) { - preferredUsername_ = other.preferredUsername_; - onChanged(); - } - if (!other.getGivenName().isEmpty()) { - givenName_ = other.givenName_; - onChanged(); - } - if (!other.getFamilyName().isEmpty()) { - familyName_ = other.familyName_; - onChanged(); - } - if (!other.getEmail().isEmpty()) { - email_ = other.email_; - onChanged(); - } - if (!other.getPicture().isEmpty()) { - picture_ = other.picture_; - onChanged(); - } - if (other.hasAdditionalClaims()) { - mergeAdditionalClaims(other.getAdditionalClaims()); - } - 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.Identity.UserInfoResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.service.Identity.UserInfoResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object subject_ = ""; - /** - *
-       * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-       * by the Client.
-       * 
- * - * string subject = 1; - */ - public java.lang.String getSubject() { - java.lang.Object ref = subject_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subject_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-       * by the Client.
-       * 
- * - * string subject = 1; - */ - public com.google.protobuf.ByteString - getSubjectBytes() { - java.lang.Object ref = subject_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subject_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-       * by the Client.
-       * 
- * - * string subject = 1; - */ - public Builder setSubject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - subject_ = value; - onChanged(); - return this; - } - /** - *
-       * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-       * by the Client.
-       * 
- * - * string subject = 1; - */ - public Builder clearSubject() { - - subject_ = getDefaultInstance().getSubject(); - onChanged(); - return this; - } - /** - *
-       * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
-       * by the Client.
-       * 
- * - * string subject = 1; - */ - public Builder setSubjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - subject_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - *
-       * Full name
-       * 
- * - * string name = 2; - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Full name
-       * 
- * - * string name = 2; - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Full name
-       * 
- * - * string name = 2; - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - *
-       * Full name
-       * 
- * - * string name = 2; - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - *
-       * Full name
-       * 
- * - * string name = 2; - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object preferredUsername_ = ""; - /** - *
-       * Shorthand name by which the End-User wishes to be referred to
-       * 
- * - * string preferred_username = 3; - */ - public java.lang.String getPreferredUsername() { - java.lang.Object ref = preferredUsername_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - preferredUsername_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Shorthand name by which the End-User wishes to be referred to
-       * 
- * - * string preferred_username = 3; - */ - public com.google.protobuf.ByteString - getPreferredUsernameBytes() { - java.lang.Object ref = preferredUsername_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - preferredUsername_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Shorthand name by which the End-User wishes to be referred to
-       * 
- * - * string preferred_username = 3; - */ - public Builder setPreferredUsername( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - preferredUsername_ = value; - onChanged(); - return this; - } - /** - *
-       * Shorthand name by which the End-User wishes to be referred to
-       * 
- * - * string preferred_username = 3; - */ - public Builder clearPreferredUsername() { - - preferredUsername_ = getDefaultInstance().getPreferredUsername(); - onChanged(); - return this; - } - /** - *
-       * Shorthand name by which the End-User wishes to be referred to
-       * 
- * - * string preferred_username = 3; - */ - public Builder setPreferredUsernameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - preferredUsername_ = value; - onChanged(); - return this; - } - - private java.lang.Object givenName_ = ""; - /** - *
-       * Given name(s) or first name(s)
-       * 
- * - * string given_name = 4; - */ - public java.lang.String getGivenName() { - java.lang.Object ref = givenName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - givenName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Given name(s) or first name(s)
-       * 
- * - * string given_name = 4; - */ - public com.google.protobuf.ByteString - getGivenNameBytes() { - java.lang.Object ref = givenName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - givenName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Given name(s) or first name(s)
-       * 
- * - * string given_name = 4; - */ - public Builder setGivenName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - givenName_ = value; - onChanged(); - return this; - } - /** - *
-       * Given name(s) or first name(s)
-       * 
- * - * string given_name = 4; - */ - public Builder clearGivenName() { - - givenName_ = getDefaultInstance().getGivenName(); - onChanged(); - return this; - } - /** - *
-       * Given name(s) or first name(s)
-       * 
- * - * string given_name = 4; - */ - public Builder setGivenNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - givenName_ = value; - onChanged(); - return this; - } - - private java.lang.Object familyName_ = ""; - /** - *
-       * Surname(s) or last name(s)
-       * 
- * - * string family_name = 5; - */ - public java.lang.String getFamilyName() { - java.lang.Object ref = familyName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - familyName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Surname(s) or last name(s)
-       * 
- * - * string family_name = 5; - */ - public com.google.protobuf.ByteString - getFamilyNameBytes() { - java.lang.Object ref = familyName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - familyName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Surname(s) or last name(s)
-       * 
- * - * string family_name = 5; - */ - public Builder setFamilyName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - familyName_ = value; - onChanged(); - return this; - } - /** - *
-       * Surname(s) or last name(s)
-       * 
- * - * string family_name = 5; - */ - public Builder clearFamilyName() { - - familyName_ = getDefaultInstance().getFamilyName(); - onChanged(); - return this; - } - /** - *
-       * Surname(s) or last name(s)
-       * 
- * - * string family_name = 5; - */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - familyName_ = value; - onChanged(); - return this; - } - - private java.lang.Object email_ = ""; - /** - *
-       * Preferred e-mail address
-       * 
- * - * string email = 6; - */ - public java.lang.String getEmail() { - java.lang.Object ref = email_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - email_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Preferred e-mail address
-       * 
- * - * string email = 6; - */ - public com.google.protobuf.ByteString - getEmailBytes() { - java.lang.Object ref = email_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - email_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Preferred e-mail address
-       * 
- * - * string email = 6; - */ - public Builder setEmail( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - email_ = value; - onChanged(); - return this; - } - /** - *
-       * Preferred e-mail address
-       * 
- * - * string email = 6; - */ - public Builder clearEmail() { - - email_ = getDefaultInstance().getEmail(); - onChanged(); - return this; - } - /** - *
-       * Preferred e-mail address
-       * 
- * - * string email = 6; - */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - email_ = value; - onChanged(); - return this; - } - - private java.lang.Object picture_ = ""; - /** - *
-       * Profile picture URL
-       * 
- * - * string picture = 7; - */ - public java.lang.String getPicture() { - java.lang.Object ref = picture_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - picture_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Profile picture URL
-       * 
- * - * string picture = 7; - */ - public com.google.protobuf.ByteString - getPictureBytes() { - java.lang.Object ref = picture_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - picture_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Profile picture URL
-       * 
- * - * string picture = 7; - */ - public Builder setPicture( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - picture_ = value; - onChanged(); - return this; - } - /** - *
-       * Profile picture URL
-       * 
- * - * string picture = 7; - */ - public Builder clearPicture() { - - picture_ = getDefaultInstance().getPicture(); - onChanged(); - return this; - } - /** - *
-       * Profile picture URL
-       * 
- * - * string picture = 7; - */ - public Builder setPictureBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - picture_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Struct additionalClaims_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> additionalClaimsBuilder_; - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public boolean hasAdditionalClaims() { - return additionalClaimsBuilder_ != null || additionalClaims_ != null; - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public com.google.protobuf.Struct getAdditionalClaims() { - if (additionalClaimsBuilder_ == null) { - return additionalClaims_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalClaims_; - } else { - return additionalClaimsBuilder_.getMessage(); - } - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public Builder setAdditionalClaims(com.google.protobuf.Struct value) { - if (additionalClaimsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - additionalClaims_ = value; - onChanged(); - } else { - additionalClaimsBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public Builder setAdditionalClaims( - com.google.protobuf.Struct.Builder builderForValue) { - if (additionalClaimsBuilder_ == null) { - additionalClaims_ = builderForValue.build(); - onChanged(); - } else { - additionalClaimsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public Builder mergeAdditionalClaims(com.google.protobuf.Struct value) { - if (additionalClaimsBuilder_ == null) { - if (additionalClaims_ != null) { - additionalClaims_ = - com.google.protobuf.Struct.newBuilder(additionalClaims_).mergeFrom(value).buildPartial(); - } else { - additionalClaims_ = value; - } - onChanged(); - } else { - additionalClaimsBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public Builder clearAdditionalClaims() { - if (additionalClaimsBuilder_ == null) { - additionalClaims_ = null; - onChanged(); - } else { - additionalClaims_ = null; - additionalClaimsBuilder_ = null; - } - - return this; - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public com.google.protobuf.Struct.Builder getAdditionalClaimsBuilder() { - - onChanged(); - return getAdditionalClaimsFieldBuilder().getBuilder(); - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - public com.google.protobuf.StructOrBuilder getAdditionalClaimsOrBuilder() { - if (additionalClaimsBuilder_ != null) { - return additionalClaimsBuilder_.getMessageOrBuilder(); - } else { - return additionalClaims_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : additionalClaims_; - } - } - /** - *
-       * Additional claims
-       * 
- * - * .google.protobuf.Struct additional_claims = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getAdditionalClaimsFieldBuilder() { - if (additionalClaimsBuilder_ == null) { - additionalClaimsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getAdditionalClaims(), - getParentForChildren(), - isClean()); - additionalClaims_ = null; - } - return additionalClaimsBuilder_; - } - @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.UserInfoResponse) - } - - // @@protoc_insertion_point(class_scope:flyteidl.service.UserInfoResponse) - private static final flyteidl.service.Identity.UserInfoResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.service.Identity.UserInfoResponse(); - } - - public static flyteidl.service.Identity.UserInfoResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserInfoResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserInfoResponse(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.Identity.UserInfoResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_UserInfoRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_UserInfoRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_UserInfoResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_UserInfoResponse_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\037flyteidl/service/identity.proto\022\020flyte" + - "idl.service\032\034google/api/annotations.prot" + - "o\032\034google/protobuf/struct.proto\"\021\n\017UserI" + - "nfoRequest\"\312\001\n\020UserInfoResponse\022\017\n\007subje" + - "ct\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\032\n\022preferred_user" + - "name\030\003 \001(\t\022\022\n\ngiven_name\030\004 \001(\t\022\023\n\013family" + - "_name\030\005 \001(\t\022\r\n\005email\030\006 \001(\t\022\017\n\007picture\030\007 " + - "\001(\t\0222\n\021additional_claims\030\010 \001(\0132\027.google." + - "protobuf.Struct2q\n\017IdentityService\022^\n\010Us" + - "erInfo\022!.flyteidl.service.UserInfoReques" + - "t\032\".flyteidl.service.UserInfoResponse\"\013\202" + - "\323\344\223\002\005\022\003/meB?Z=github.com/flyteorg/flyte/" + - "flyteidl/gen/pb-go/flyteidl/serviceb\006pro" + - "to3" - }; - 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(), - com.google.protobuf.StructProto.getDescriptor(), - }, assigner); - internal_static_flyteidl_service_UserInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_flyteidl_service_UserInfoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_UserInfoRequest_descriptor, - new java.lang.String[] { }); - internal_static_flyteidl_service_UserInfoResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_flyteidl_service_UserInfoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_service_UserInfoResponse_descriptor, - new java.lang.String[] { "Subject", "Name", "PreferredUsername", "GivenName", "FamilyName", "Email", "Picture", "AdditionalClaims", }); - 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(); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Signal.java b/flyteidl/gen/pb-java/flyteidl/service/Signal.java deleted file mode 100644 index 46fcf38caa..0000000000 --- a/flyteidl/gen/pb-java/flyteidl/service/Signal.java +++ /dev/null @@ -1,71 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: flyteidl/service/signal.proto - -package flyteidl.service; - -public final class Signal { - private Signal() {} - 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 static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035flyteidl/service/signal.proto\022\020flyteid" + - "l.service\032\034google/api/annotations.proto\032" + - "\033flyteidl/admin/signal.proto2\336\004\n\rSignalS" + - "ervice\022W\n\021GetOrCreateSignal\022(.flyteidl.a" + - "dmin.SignalGetOrCreateRequest\032\026.flyteidl" + - ".admin.Signal\"\000\022\324\002\n\013ListSignals\022!.flytei" + - "dl.admin.SignalListRequest\032\032.flyteidl.ad" + - "min.SignalList\"\205\002\202\323\344\223\002\376\001\022k/api/v1/signal" + - "s/{workflow_execution_id.project}/{workf" + - "low_execution_id.domain}/{workflow_execu" + - "tion_id.name}Z\216\001\022\213\001/api/v1/signals/org/{" + - "workflow_execution_id.org}/{workflow_exe" + - "cution_id.project}/{workflow_execution_i" + - "d.domain}/{workflow_execution_id.name}\022\234" + - "\001\n\tSetSignal\022 .flyteidl.admin.SignalSetR" + - "equest\032!.flyteidl.admin.SignalSetRespons" + - "e\"J\202\323\344\223\002D\"\017/api/v1/signals:\001*Z.\")/api/v1" + - "/signals/org/{id.execution_id.org}:\001*B?Z" + - "=github.com/flyteorg/flyte/flyteidl/gen/" + - "pb-go/flyteidl/serviceb\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.admin.SignalOuterClass.getDescriptor(), - }, assigner); - 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.admin.SignalOuterClass.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py b/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py index 2b332ef6e6..bc05666fcd 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py @@ -27,9 +27,10 @@ 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 protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__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.proto2\xb8y\n\x0c\x41\x64minService\x12\x8e\x01\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"9\x82\xd3\xe4\x93\x02\x33:\x01*Z\x1f:\x01*\"\x1a/api/v1/tasks/org/{id.org}\"\r/api/v1/tasks\x12\xd8\x01\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"\x94\x01\x82\xd3\xe4\x93\x02\x8d\x01ZL\x12J/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xc5\x01\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"Y\x82\xd3\xe4\x93\x02SZ,\x12*/api/v1/tasks/org/{org}/{project}/{domain}\x12#/api/v1/task_ids/{project}/{domain}\x12\xa8\x02\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"\xdb\x01\x82\xd3\xe4\x93\x02\xd4\x01Z?\x12=/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}Z(\x12&/api/v1/tasks/{id.project}/{id.domain}Z5\x12\x33/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}\x12\xa2\x01\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"A\x82\xd3\xe4\x93\x02;:\x01*Z#:\x01*\"\x1e/api/v1/workflows/org/{id.org}\"\x11/api/v1/workflows\x12\xe8\x01\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01ZP\x12N/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xd1\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"a\x82\xd3\xe4\x93\x02[Z0\x12./api/v1/workflows/org/{org}/{project}/{domain}\x12\'/api/v1/workflow_ids/{project}/{domain}\x12\xc0\x02\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"\xeb\x01\x82\xd3\xe4\x93\x02\xe4\x01ZC\x12\x41/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}Z,\x12*/api/v1/workflows/{id.project}/{id.domain}Z9\x12\x37/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}\x12\xae\x01\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"G\x82\xd3\xe4\x93\x02\x41:\x01*Z&:\x01*\"!/api/v1/launch_plans/org/{id.org}\"\x14/api/v1/launch_plans\x12\xf2\x01\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"\xa2\x01\x82\xd3\xe4\x93\x02\x9b\x01ZS\x12Q/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xf3\x01\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"\x96\x01\x82\xd3\xe4\x93\x02\x8f\x01ZM\x12K/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x12\xd8\x01\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"r\x82\xd3\xe4\x93\x02lZ:\x12\x38/api/v1/active_launch_plans/org/{org}/{project}/{domain}\x12./api/v1/active_launch_plans/{project}/{domain}\x12\xdc\x01\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"j\x82\xd3\xe4\x93\x02\x64Z6\x12\x34/api/v1/launch_plan_ids/org/{org}/{project}/{domain}\x12*/api/v1/launch_plan_ids/{project}/{domain}\x12\xd0\x02\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"\xf7\x01\x82\xd3\xe4\x93\x02\xf0\x01ZF\x12\x44/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}Z/\x12-/api/v1/launch_plans/{id.project}/{id.domain}Z<\x12:/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}\x12\x8d\x02\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"\xa5\x01\x82\xd3\xe4\x93\x02\x9e\x01:\x01*ZS\x1aQ/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xa4\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"@\x82\xd3\xe4\x93\x02::\x01*Z!:\x01*\x1a\x1c/api/v1/executions/org/{org}\"\x12/api/v1/executions\x12\xbd\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"U\x82\xd3\xe4\x93\x02O:\x01*Z-:\x01*\"(/api/v1/executions/org/{id.org}/relaunch\"\x1b/api/v1/executions/relaunch\x12\xb9\x01\n\x10RecoverExecution\x12\'.flyteidl.admin.ExecutionRecoverRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"S\x82\xd3\xe4\x93\x02M:\x01*Z,:\x01*\"\'/api/v1/executions/org/{id.org}/recover\"\x1a/api/v1/executions/recover\x12\xdc\x01\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"\x83\x01\x82\xd3\xe4\x93\x02}ZD\x12\x42/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xef\x01\n\x0fUpdateExecution\x12&.flyteidl.admin.ExecutionUpdateRequest\x1a\'.flyteidl.admin.ExecutionUpdateResponse\"\x8a\x01\x82\xd3\xe4\x93\x02\x83\x01:\x01*ZG:\x01*\x1a\x42/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\x1a\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\x86\x02\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"\x8e\x01\x82\xd3\xe4\x93\x02\x87\x01ZI\x12G/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x12\xc5\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"o\x82\xd3\xe4\x93\x02iZ:\x12\x38/api/v1/executions/org/{id.org}/{id.project}/{id.domain}\x12+/api/v1/executions/{id.project}/{id.domain}\x12\xf8\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"\x8a\x01\x82\xd3\xe4\x93\x02\x83\x01:\x01*ZG:\x01**B/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}*5/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xe2\x02\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"\x85\x02\x82\xd3\xe4\x93\x02\xfe\x01Z\x8b\x01\x12\x88\x01/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12n/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\x9e\x03\n\x16GetDynamicNodeWorkflow\x12-.flyteidl.admin.GetDynamicNodeWorkflowRequest\x1a+.flyteidl.admin.DynamicNodeWorkflowResponse\"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02Z\x9c\x01\x12\x99\x01/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow\x12\x7f/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow\x12\xf9\x02\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\x95\x02\x82\xd3\xe4\x93\x02\x8e\x02Z\x96\x01\x12\x93\x01/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\x8f\x08\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\x9d\x07\x82\xd3\xe4\x93\x02\x96\x07Z\xe7\x03\x12\xe4\x03/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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\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\x83\x03\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"\x8f\x02\x82\xd3\xe4\x93\x02\x88\x02Z\x90\x01\x12\x8d\x01/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12s/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\xa8\x01\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"D\x82\xd3\xe4\x93\x02>:\x01*Z\':\x01*\"\"/api/v1/projects/org/{project.org}\"\x10/api/v1/projects\x12\x97\x01\n\rUpdateProject\x12\x17.flyteidl.admin.Project\x1a%.flyteidl.admin.ProjectUpdateResponse\"F\x82\xd3\xe4\x93\x02@:\x01*Z$:\x01*\x1a\x1f/api/v1/projects/org/{org}/{id}\x1a\x15/api/v1/projects/{id}\x12\x84\x01\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"6\x82\xd3\xe4\x93\x02\x30Z\x1c\x12\x1a/api/v1/projects/org/{org}\x12\x10/api/v1/projects\x12\xd5\x01\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"_\x82\xd3\xe4\x93\x02Y:\x01*Z::\x01*\"5/api/v1/events/org/{event.execution_id.org}/workflows\"\x18/api/v1/events/workflows\x12\xc4\x01\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"Z\x82\xd3\xe4\x93\x02T:\x01*Z9:\x01*\"4/api/v1/events/org/{event.id.execution_id.org}/nodes\"\x14/api/v1/events/nodes\x12\xda\x01\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"p\x82\xd3\xe4\x93\x02j:\x01*ZO:\x01*\"J/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks\"\x14/api/v1/events/tasks\x12\xcb\x05\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\xee\x04\x82\xd3\xe4\x93\x02\xe7\x04Z\xc8\x02\x12\xc5\x02/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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\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\xf1\x03\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\x8d\x03\x82\xd3\xe4\x93\x02\x86\x03Z\xd6\x01\x12\xd3\x01/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\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\xec\x05\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xf8\x04\x82\xd3\xe4\x93\x02\xf1\x04Z\xcd\x02\x12\xca\x02/api/v1/data/org/{id.node_execution_id.execution_id.org}/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\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\xcb\x02\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01:\x01*Zd:\x01*\x1a_/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}\x12\x83\x02\n\x1aGetProjectDomainAttributes\x12\x31.flyteidl.admin.ProjectDomainAttributesGetRequest\x1a\x32.flyteidl.admin.ProjectDomainAttributesGetResponse\"~\x82\xd3\xe4\x93\x02xZ@\x12>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}\x12\x34/api/v1/project_domain_attributes/{project}/{domain}\x12\x93\x02\n\x1d\x44\x65leteProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesDeleteRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesDeleteResponse\"\x84\x01\x82\xd3\xe4\x93\x02~:\x01*ZC:\x01**>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}*4/api/v1/project_domain_attributes/{project}/{domain}\x12\x8a\x02\n\x17UpdateProjectAttributes\x12..flyteidl.admin.ProjectAttributesUpdateRequest\x1a/.flyteidl.admin.ProjectAttributesUpdateResponse\"\x8d\x01\x82\xd3\xe4\x93\x02\x86\x01:\x01*ZP:\x01*\x1aK/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}\x1a//api/v1/project_attributes/{attributes.project}\x12\xd8\x01\n\x14GetProjectAttributes\x12+.flyteidl.admin.ProjectAttributesGetRequest\x1a,.flyteidl.admin.ProjectAttributesGetResponse\"e\x82\xd3\xe4\x93\x02_Z7\x12\x35/api/v1/project_domain_attributes/org/{org}/{project}\x12$/api/v1/project_attributes/{project}\x12\xe7\x01\n\x17\x44\x65leteProjectAttributes\x12..flyteidl.admin.ProjectAttributesDeleteRequest\x1a/.flyteidl.admin.ProjectAttributesDeleteResponse\"k\x82\xd3\xe4\x93\x02\x65:\x01*Z::\x01**5/api/v1/project_domain_attributes/org/{org}/{project}*$/api/v1/project_attributes/{project}\x12\xdc\x02\n\x18UpdateWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesUpdateRequest\x1a\x30.flyteidl.admin.WorkflowAttributesUpdateResponse\"\xdc\x01\x82\xd3\xe4\x93\x02\xd5\x01:\x01*Zt:\x01*\x1ao/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}\x1aZ/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}\x12\x80\x02\n\x15GetWorkflowAttributes\x12,.flyteidl.admin.WorkflowAttributesGetRequest\x1a-.flyteidl.admin.WorkflowAttributesGetResponse\"\x89\x01\x82\xd3\xe4\x93\x02\x82\x01ZE\x12\x43/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}\x12\x39/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\x8f\x02\n\x18\x44\x65leteWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesDeleteRequest\x1a\x30.flyteidl.admin.WorkflowAttributesDeleteResponse\"\x8f\x01\x82\xd3\xe4\x93\x02\x88\x01:\x01*ZH:\x01**C/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}*9/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xca\x01\n\x17ListMatchableAttributes\x12..flyteidl.admin.ListMatchableAttributesRequest\x1a/.flyteidl.admin.ListMatchableAttributesResponse\"N\x82\xd3\xe4\x93\x02HZ(\x12&/api/v1/matchable_attributes/org/{org}\x12\x1c/api/v1/matchable_attributes\x12\xe8\x01\n\x11ListNamedEntities\x12&.flyteidl.admin.NamedEntityListRequest\x1a\x1f.flyteidl.admin.NamedEntityList\"\x89\x01\x82\xd3\xe4\x93\x02\x82\x01ZE\x12\x43/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}\x12\x39/api/v1/named_entities/{resource_type}/{project}/{domain}\x12\x83\x02\n\x0eGetNamedEntity\x12%.flyteidl.admin.NamedEntityGetRequest\x1a\x1b.flyteidl.admin.NamedEntity\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01ZX\x12V/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}\x12I/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12\x9d\x02\n\x11UpdateNamedEntity\x12(.flyteidl.admin.NamedEntityUpdateRequest\x1a).flyteidl.admin.NamedEntityUpdateResponse\"\xb2\x01\x82\xd3\xe4\x93\x02\xab\x01:\x01*Z[:\x01*\x1aV/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}\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\xb6\x02\n\x14GetDescriptionEntity\x12 .flyteidl.admin.ObjectGetRequest\x1a!.flyteidl.admin.DescriptionEntity\"\xd8\x01\x82\xd3\xe4\x93\x02\xd1\x01Zn\x12l/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}\x12_/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xc8\x03\n\x17ListDescriptionEntities\x12,.flyteidl.admin.DescriptionEntityListRequest\x1a%.flyteidl.admin.DescriptionEntityList\"\xd7\x02\x82\xd3\xe4\x93\x02\xd0\x02Z^\x12\\/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}ZG\x12\x45/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}ZT\x12R/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}\x12O/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12\x95\x02\n\x13GetExecutionMetrics\x12\x32.flyteidl.admin.WorkflowExecutionGetMetricsRequest\x1a\x33.flyteidl.admin.WorkflowExecutionGetMetricsResponse\"\x94\x01\x82\xd3\xe4\x93\x02\x8d\x01ZL\x12J/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\x12=/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}B\xc2\x01\n\x14\x63om.flyteidl.serviceB\nAdminProtoP\x01Z=github.com/flyteorg/flyte/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.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xb0\x9b\x01\n\x0c\x41\x64minService\x12\xe6\x02\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"\x90\x02\x92\x41\xd3\x01\x1a&Create and register a task definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x82\xd3\xe4\x93\x02\x33:\x01*Z\x1f:\x01*\"\x1a/api/v1/tasks/org/{id.org}\"\r/api/v1/tasks\x12\x82\x02\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"\xbe\x01\x92\x41\'\x1a%Retrieve an existing task definition.\x82\xd3\xe4\x93\x02\x8d\x01ZL\x12J/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x8d\x02\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"\xa0\x01\x92\x41\x44\x1a\x42\x46\x65tch existing task definition identifiers matching input filters.\x82\xd3\xe4\x93\x02SZ,\x12*/api/v1/tasks/org/{org}/{project}/{domain}\x12#/api/v1/task_ids/{project}/{domain}\x12\xe4\x02\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"\x97\x02\x92\x41\x39\x1a\x37\x46\x65tch existing task definitions matching input filters.\x82\xd3\xe4\x93\x02\xd4\x01Z?\x12=/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}Z(\x12&/api/v1/tasks/{id.project}/{id.domain}Z5\x12\x33/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}\x12\xfe\x02\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"\x9c\x02\x92\x41\xd7\x01\x1a*Create and register a workflow definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x82\xd3\xe4\x93\x02;:\x01*Z#:\x01*\"\x1e/api/v1/workflows/org/{id.org}\"\x11/api/v1/workflows\x12\x96\x02\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"\xca\x01\x92\x41+\x1a)Retrieve an existing workflow definition.\x82\xd3\xe4\x93\x02\x95\x01ZP\x12N/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xd1\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"a\x82\xd3\xe4\x93\x02[Z0\x12./api/v1/workflows/org/{org}/{project}/{domain}\x12\'/api/v1/workflow_ids/{project}/{domain}\x12\x80\x03\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"\xab\x02\x92\x41=\x1a;Fetch existing workflow definitions matching input filters.\x82\xd3\xe4\x93\x02\xe4\x01ZC\x12\x41/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}Z,\x12*/api/v1/workflows/{id.project}/{id.domain}Z9\x12\x37/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}\x12\x8d\x03\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"\xa5\x02\x92\x41\xda\x01\x1a-Create and register a launch plan definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x82\xd3\xe4\x93\x02\x41:\x01*Z&:\x01*\"!/api/v1/launch_plans/org/{id.org}\"\x14/api/v1/launch_plans\x12\xa3\x02\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"\xd3\x01\x92\x41.\x1a,Retrieve an existing launch plan definition.\x82\xd3\xe4\x93\x02\x9b\x01ZS\x12Q/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xc3\x02\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"\xe6\x01\x92\x41M\x1aKRetrieve the active launch plan version specified by input request filters.\x82\xd3\xe4\x93\x02\x8f\x01ZM\x12K/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x12\xa7\x02\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"\xc0\x01\x92\x41K\x1aIFetch the active launch plan versions specified by input request filters.\x82\xd3\xe4\x93\x02lZ:\x12\x38/api/v1/active_launch_plans/org/{org}/{project}/{domain}\x12./api/v1/active_launch_plans/{project}/{domain}\x12\xab\x02\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"\xb8\x01\x92\x41K\x1aIFetch existing launch plan definition identifiers matching input filters.\x82\xd3\xe4\x93\x02\x64Z6\x12\x34/api/v1/launch_plan_ids/org/{org}/{project}/{domain}\x12*/api/v1/launch_plan_ids/{project}/{domain}\x12\x93\x03\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"\xba\x02\x92\x41@\x1a>Fetch existing launch plan definitions matching input filters.\x82\xd3\xe4\x93\x02\xf0\x01ZF\x12\x44/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}Z/\x12-/api/v1/launch_plans/{id.project}/{id.domain}Z<\x12:/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}\x12\x96\x07\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"\xae\x06\x92\x41\x85\x05\x1a\x82\x05Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.\x82\xd3\xe4\x93\x02\x9e\x01:\x01*ZS\x1aQ/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xc5\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"a\x92\x41\x1e\x1a\x1c\x43reate a workflow execution.\x82\xd3\xe4\x93\x02::\x01*Z!:\x01*\x1a\x1c/api/v1/executions/org/{org}\"\x12/api/v1/executions\x12\xe0\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"x\x92\x41 \x1a\x1eRelaunch a workflow execution.\x82\xd3\xe4\x93\x02O:\x01*Z-:\x01*\"(/api/v1/executions/org/{id.org}/relaunch\"\x1b/api/v1/executions/relaunch\x12\xcb\x05\n\x10RecoverExecution\x12\'.flyteidl.admin.ExecutionRecoverRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"\xe4\x04\x92\x41\x8d\x04\x1a\x8a\x04Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\x82\xd3\xe4\x93\x02M:\x01*Z,:\x01*\"\'/api/v1/executions/org/{id.org}/recover\"\x1a/api/v1/executions/recover\x12\x89\x02\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"\xb0\x01\x92\x41*\x1a(Retrieve an existing workflow execution.\x82\xd3\xe4\x93\x02}ZD\x12\x42/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xef\x01\n\x0fUpdateExecution\x12&.flyteidl.admin.ExecutionUpdateRequest\x1a\'.flyteidl.admin.ExecutionUpdateResponse\"\x8a\x01\x82\xd3\xe4\x93\x02\x83\x01:\x01*ZG:\x01*\x1a\x42/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\x1a\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\x86\x02\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"\x8e\x01\x82\xd3\xe4\x93\x02\x87\x01ZI\x12G/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x12\xc5\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"o\x82\xd3\xe4\x93\x02iZ:\x12\x38/api/v1/executions/org/{id.org}/{id.project}/{id.domain}\x12+/api/v1/executions/{id.project}/{id.domain}\x12\xf8\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"\x8a\x01\x82\xd3\xe4\x93\x02\x83\x01:\x01*ZG:\x01**B/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}*5/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xe2\x02\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"\x85\x02\x82\xd3\xe4\x93\x02\xfe\x01Z\x8b\x01\x12\x88\x01/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12n/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\x9e\x03\n\x16GetDynamicNodeWorkflow\x12-.flyteidl.admin.GetDynamicNodeWorkflowRequest\x1a+.flyteidl.admin.DynamicNodeWorkflowResponse\"\xa7\x02\x82\xd3\xe4\x93\x02\xa0\x02Z\x9c\x01\x12\x99\x01/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow\x12\x7f/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow\x12\xf9\x02\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\x95\x02\x82\xd3\xe4\x93\x02\x8e\x02Z\x96\x01\x12\x93\x01/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\x8f\x08\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\x9d\x07\x82\xd3\xe4\x93\x02\x96\x07Z\xe7\x03\x12\xe4\x03/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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\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\x83\x03\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"\x8f\x02\x82\xd3\xe4\x93\x02\x88\x02Z\x90\x01\x12\x8d\x01/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12s/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\xa8\x01\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"D\x82\xd3\xe4\x93\x02>:\x01*Z\':\x01*\"\"/api/v1/projects/org/{project.org}\"\x10/api/v1/projects\x12\xad\x01\n\rUpdateProject\x12\x17.flyteidl.admin.Project\x1a%.flyteidl.admin.ProjectUpdateResponse\"\\\x92\x41\x13\x1a\x11Update a project.\x82\xd3\xe4\x93\x02@:\x01*Z$:\x01*\x1a\x1f/api/v1/projects/org/{org}/{id}\x1a\x15/api/v1/projects/{id}\x12\xa3\x01\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"U\x92\x41\x1c\x1a\x1a\x46\x65tch registered projects.\x82\xd3\xe4\x93\x02\x30Z\x1c\x12\x1a/api/v1/projects/org/{org}\x12\x10/api/v1/projects\x12\x9a\x02\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"\xa3\x01\x92\x41\x41\x1a?Create a workflow execution event recording a phase transition.\x82\xd3\xe4\x93\x02Y:\x01*Z::\x01*\"5/api/v1/events/org/{event.execution_id.org}/workflows\"\x18/api/v1/events/workflows\x12\x85\x02\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"\x9a\x01\x92\x41=\x1a;Create a node execution event recording a phase transition.\x82\xd3\xe4\x93\x02T:\x01*Z9:\x01*\"4/api/v1/events/org/{event.id.execution_id.org}/nodes\"\x14/api/v1/events/nodes\x12\x9b\x02\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"\xb0\x01\x92\x41=\x1a;Create a task execution event recording a phase transition.\x82\xd3\xe4\x93\x02j:\x01*ZO:\x01*\"J/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks\"\x14/api/v1/events/tasks\x12\xf4\x05\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\x97\x05\x92\x41&\x1a$Retrieve an existing task execution.\x82\xd3\xe4\x93\x02\xe7\x04Z\xc8\x02\x12\xc5\x02/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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\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\xac\x04\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\xc8\x03\x92\x41\x38\x1a\x36\x46\x65tch existing task executions matching input filters.\x82\xd3\xe4\x93\x02\x86\x03Z\xd6\x01\x12\xd3\x01/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\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\xb0\x06\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xbc\x05\x92\x41\x41\x1a?Retrieve input and output data from an existing task execution.\x82\xd3\xe4\x93\x02\xf1\x04Z\xcd\x02\x12\xca\x02/api/v1/data/org/{id.node_execution_id.execution_id.org}/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\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\xa6\x03\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"\x97\x02\x92\x41X\x1aVUpdate the customized resource attributes associated with a project-domain combination\x82\xd3\xe4\x93\x02\xb5\x01:\x01*Zd:\x01*\x1a_/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}\x12\xe1\x02\n\x1aGetProjectDomainAttributes\x12\x31.flyteidl.admin.ProjectDomainAttributesGetRequest\x1a\x32.flyteidl.admin.ProjectDomainAttributesGetResponse\"\xdb\x01\x92\x41Z\x1aXRetrieve the customized resource attributes associated with a project-domain combination\x82\xd3\xe4\x93\x02xZ@\x12>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}\x12\x34/api/v1/project_domain_attributes/{project}/{domain}\x12\xee\x02\n\x1d\x44\x65leteProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesDeleteRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesDeleteResponse\"\xdf\x01\x92\x41X\x1aVDelete the customized resource attributes associated with a project-domain combination\x82\xd3\xe4\x93\x02~:\x01*ZC:\x01**>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}*4/api/v1/project_domain_attributes/{project}/{domain}\x12\xd2\x02\n\x17UpdateProjectAttributes\x12..flyteidl.admin.ProjectAttributesUpdateRequest\x1a/.flyteidl.admin.ProjectAttributesUpdateResponse\"\xd5\x01\x92\x41\x45\x1a\x43Update the customized resource attributes associated with a project\x82\xd3\xe4\x93\x02\x86\x01:\x01*ZP:\x01*\x1aK/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}\x1a//api/v1/project_attributes/{attributes.project}\x12\xa3\x02\n\x14GetProjectAttributes\x12+.flyteidl.admin.ProjectAttributesGetRequest\x1a,.flyteidl.admin.ProjectAttributesGetResponse\"\xaf\x01\x92\x41G\x1a\x45Retrieve the customized resource attributes associated with a project\x82\xd3\xe4\x93\x02_Z7\x12\x35/api/v1/project_domain_attributes/org/{org}/{project}\x12$/api/v1/project_attributes/{project}\x12\xb0\x02\n\x17\x44\x65leteProjectAttributes\x12..flyteidl.admin.ProjectAttributesDeleteRequest\x1a/.flyteidl.admin.ProjectAttributesDeleteResponse\"\xb3\x01\x92\x41\x45\x1a\x43\x44\x65lete the customized resource attributes associated with a project\x82\xd3\xe4\x93\x02\x65:\x01*Z::\x01**5/api/v1/project_domain_attributes/org/{org}/{project}*$/api/v1/project_attributes/{project}\x12\xc5\x03\n\x18UpdateWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesUpdateRequest\x1a\x30.flyteidl.admin.WorkflowAttributesUpdateResponse\"\xc5\x02\x92\x41\x66\x1a\x64Update the customized resource attributes associated with a project, domain and workflow combination\x82\xd3\xe4\x93\x02\xd5\x01:\x01*Zt:\x01*\x1ao/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}\x1aZ/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}\x12\xeb\x02\n\x15GetWorkflowAttributes\x12,.flyteidl.admin.WorkflowAttributesGetRequest\x1a-.flyteidl.admin.WorkflowAttributesGetResponse\"\xf4\x01\x92\x41h\x1a\x66Retrieve the customized resource attributes associated with a project, domain and workflow combination\x82\xd3\xe4\x93\x02\x82\x01ZE\x12\x43/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}\x12\x39/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xf8\x02\n\x18\x44\x65leteWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesDeleteRequest\x1a\x30.flyteidl.admin.WorkflowAttributesDeleteResponse\"\xf8\x01\x92\x41\x66\x1a\x64\x44\x65lete the customized resource attributes associated with a project, domain and workflow combination\x82\xd3\xe4\x93\x02\x88\x01:\x01*ZH:\x01**C/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}*9/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\x8c\x02\n\x17ListMatchableAttributes\x12..flyteidl.admin.ListMatchableAttributesRequest\x1a/.flyteidl.admin.ListMatchableAttributesResponse\"\x8f\x01\x92\x41>\x1a/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}' + _ADMINSERVICE.methods_by_name['GetActiveLaunchPlan']._serialized_options = b'\222AM\032KRetrieve the active launch plan version specified by input request filters.\202\323\344\223\002\217\001ZM\022K/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}\022>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}' _ADMINSERVICE.methods_by_name['ListActiveLaunchPlans']._options = None - _ADMINSERVICE.methods_by_name['ListActiveLaunchPlans']._serialized_options = b'\202\323\344\223\002lZ:\0228/api/v1/active_launch_plans/org/{org}/{project}/{domain}\022./api/v1/active_launch_plans/{project}/{domain}' + _ADMINSERVICE.methods_by_name['ListActiveLaunchPlans']._serialized_options = b'\222AK\032IFetch the active launch plan versions specified by input request filters.\202\323\344\223\002lZ:\0228/api/v1/active_launch_plans/org/{org}/{project}/{domain}\022./api/v1/active_launch_plans/{project}/{domain}' _ADMINSERVICE.methods_by_name['ListLaunchPlanIds']._options = None - _ADMINSERVICE.methods_by_name['ListLaunchPlanIds']._serialized_options = b'\202\323\344\223\002dZ6\0224/api/v1/launch_plan_ids/org/{org}/{project}/{domain}\022*/api/v1/launch_plan_ids/{project}/{domain}' + _ADMINSERVICE.methods_by_name['ListLaunchPlanIds']._serialized_options = b'\222AK\032IFetch existing launch plan definition identifiers matching input filters.\202\323\344\223\002dZ6\0224/api/v1/launch_plan_ids/org/{org}/{project}/{domain}\022*/api/v1/launch_plan_ids/{project}/{domain}' _ADMINSERVICE.methods_by_name['ListLaunchPlans']._options = None - _ADMINSERVICE.methods_by_name['ListLaunchPlans']._serialized_options = b'\202\323\344\223\002\360\001ZF\022D/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}Z/\022-/api/v1/launch_plans/{id.project}/{id.domain}Z<\022:/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}\0227/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}' + _ADMINSERVICE.methods_by_name['ListLaunchPlans']._serialized_options = b'\222A@\032>Fetch existing launch plan definitions matching input filters.\202\323\344\223\002\360\001ZF\022D/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}Z/\022-/api/v1/launch_plans/{id.project}/{id.domain}Z<\022:/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}\0227/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}' _ADMINSERVICE.methods_by_name['UpdateLaunchPlan']._options = None - _ADMINSERVICE.methods_by_name['UpdateLaunchPlan']._serialized_options = b'\202\323\344\223\002\236\001:\001*ZS\032Q/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\032D/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}' + _ADMINSERVICE.methods_by_name['UpdateLaunchPlan']._serialized_options = b'\222A\205\005\032\202\005Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.\202\323\344\223\002\236\001:\001*ZS\032Q/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}\032D/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}' _ADMINSERVICE.methods_by_name['CreateExecution']._options = None - _ADMINSERVICE.methods_by_name['CreateExecution']._serialized_options = b'\202\323\344\223\002::\001*Z!:\001*\032\034/api/v1/executions/org/{org}\"\022/api/v1/executions' + _ADMINSERVICE.methods_by_name['CreateExecution']._serialized_options = b'\222A\036\032\034Create a workflow execution.\202\323\344\223\002::\001*Z!:\001*\032\034/api/v1/executions/org/{org}\"\022/api/v1/executions' _ADMINSERVICE.methods_by_name['RelaunchExecution']._options = None - _ADMINSERVICE.methods_by_name['RelaunchExecution']._serialized_options = b'\202\323\344\223\002O:\001*Z-:\001*\"(/api/v1/executions/org/{id.org}/relaunch\"\033/api/v1/executions/relaunch' + _ADMINSERVICE.methods_by_name['RelaunchExecution']._serialized_options = b'\222A \032\036Relaunch a workflow execution.\202\323\344\223\002O:\001*Z-:\001*\"(/api/v1/executions/org/{id.org}/relaunch\"\033/api/v1/executions/relaunch' _ADMINSERVICE.methods_by_name['RecoverExecution']._options = None - _ADMINSERVICE.methods_by_name['RecoverExecution']._serialized_options = b'\202\323\344\223\002M:\001*Z,:\001*\"\'/api/v1/executions/org/{id.org}/recover\"\032/api/v1/executions/recover' + _ADMINSERVICE.methods_by_name['RecoverExecution']._serialized_options = b'\222A\215\004\032\212\004Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again.\202\323\344\223\002M:\001*Z,:\001*\"\'/api/v1/executions/org/{id.org}/recover\"\032/api/v1/executions/recover' _ADMINSERVICE.methods_by_name['GetExecution']._options = None - _ADMINSERVICE.methods_by_name['GetExecution']._serialized_options = b'\202\323\344\223\002}ZD\022B/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\0225/api/v1/executions/{id.project}/{id.domain}/{id.name}' + _ADMINSERVICE.methods_by_name['GetExecution']._serialized_options = b'\222A*\032(Retrieve an existing workflow execution.\202\323\344\223\002}ZD\022B/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\0225/api/v1/executions/{id.project}/{id.domain}/{id.name}' _ADMINSERVICE.methods_by_name['UpdateExecution']._options = None _ADMINSERVICE.methods_by_name['UpdateExecution']._serialized_options = b'\202\323\344\223\002\203\001:\001*ZG:\001*\032B/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}\0325/api/v1/executions/{id.project}/{id.domain}/{id.name}' _ADMINSERVICE.methods_by_name['GetExecutionData']._options = None @@ -97,55 +98,55 @@ _ADMINSERVICE.methods_by_name['RegisterProject']._options = None _ADMINSERVICE.methods_by_name['RegisterProject']._serialized_options = b'\202\323\344\223\002>:\001*Z\':\001*\"\"/api/v1/projects/org/{project.org}\"\020/api/v1/projects' _ADMINSERVICE.methods_by_name['UpdateProject']._options = None - _ADMINSERVICE.methods_by_name['UpdateProject']._serialized_options = b'\202\323\344\223\002@:\001*Z$:\001*\032\037/api/v1/projects/org/{org}/{id}\032\025/api/v1/projects/{id}' + _ADMINSERVICE.methods_by_name['UpdateProject']._serialized_options = b'\222A\023\032\021Update a project.\202\323\344\223\002@:\001*Z$:\001*\032\037/api/v1/projects/org/{org}/{id}\032\025/api/v1/projects/{id}' _ADMINSERVICE.methods_by_name['ListProjects']._options = None - _ADMINSERVICE.methods_by_name['ListProjects']._serialized_options = b'\202\323\344\223\0020Z\034\022\032/api/v1/projects/org/{org}\022\020/api/v1/projects' + _ADMINSERVICE.methods_by_name['ListProjects']._serialized_options = b'\222A\034\032\032Fetch registered projects.\202\323\344\223\0020Z\034\022\032/api/v1/projects/org/{org}\022\020/api/v1/projects' _ADMINSERVICE.methods_by_name['CreateWorkflowEvent']._options = None - _ADMINSERVICE.methods_by_name['CreateWorkflowEvent']._serialized_options = b'\202\323\344\223\002Y:\001*Z::\001*\"5/api/v1/events/org/{event.execution_id.org}/workflows\"\030/api/v1/events/workflows' + _ADMINSERVICE.methods_by_name['CreateWorkflowEvent']._serialized_options = b'\222AA\032?Create a workflow execution event recording a phase transition.\202\323\344\223\002Y:\001*Z::\001*\"5/api/v1/events/org/{event.execution_id.org}/workflows\"\030/api/v1/events/workflows' _ADMINSERVICE.methods_by_name['CreateNodeEvent']._options = None - _ADMINSERVICE.methods_by_name['CreateNodeEvent']._serialized_options = b'\202\323\344\223\002T:\001*Z9:\001*\"4/api/v1/events/org/{event.id.execution_id.org}/nodes\"\024/api/v1/events/nodes' + _ADMINSERVICE.methods_by_name['CreateNodeEvent']._serialized_options = b'\222A=\032;Create a node execution event recording a phase transition.\202\323\344\223\002T:\001*Z9:\001*\"4/api/v1/events/org/{event.id.execution_id.org}/nodes\"\024/api/v1/events/nodes' _ADMINSERVICE.methods_by_name['CreateTaskEvent']._options = None - _ADMINSERVICE.methods_by_name['CreateTaskEvent']._serialized_options = b'\202\323\344\223\002j:\001*ZO:\001*\"J/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks\"\024/api/v1/events/tasks' + _ADMINSERVICE.methods_by_name['CreateTaskEvent']._serialized_options = b'\222A=\032;Create a task execution event recording a phase transition.\202\323\344\223\002j:\001*ZO:\001*\"J/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks\"\024/api/v1/events/tasks' _ADMINSERVICE.methods_by_name['GetTaskExecution']._options = None - _ADMINSERVICE.methods_by_name['GetTaskExecution']._serialized_options = b'\202\323\344\223\002\347\004Z\310\002\022\305\002/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}\022\231\002/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}' + _ADMINSERVICE.methods_by_name['GetTaskExecution']._serialized_options = b'\222A&\032$Retrieve an existing task execution.\202\323\344\223\002\347\004Z\310\002\022\305\002/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}\022\231\002/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}' _ADMINSERVICE.methods_by_name['ListTaskExecutions']._options = None - _ADMINSERVICE.methods_by_name['ListTaskExecutions']._serialized_options = b'\202\323\344\223\002\206\003Z\326\001\022\323\001/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\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_id.node_id}' + _ADMINSERVICE.methods_by_name['ListTaskExecutions']._serialized_options = b'\222A8\0326Fetch existing task executions matching input filters.\202\323\344\223\002\206\003Z\326\001\022\323\001/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\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_id.node_id}' _ADMINSERVICE.methods_by_name['GetTaskExecutionData']._options = None - _ADMINSERVICE.methods_by_name['GetTaskExecutionData']._serialized_options = b'\202\323\344\223\002\361\004Z\315\002\022\312\002/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}\022\236\002/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}' + _ADMINSERVICE.methods_by_name['GetTaskExecutionData']._serialized_options = b'\222AA\032?Retrieve input and output data from an existing task execution.\202\323\344\223\002\361\004Z\315\002\022\312\002/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}\022\236\002/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}' _ADMINSERVICE.methods_by_name['UpdateProjectDomainAttributes']._options = None - _ADMINSERVICE.methods_by_name['UpdateProjectDomainAttributes']._serialized_options = b'\202\323\344\223\002\265\001:\001*Zd:\001*\032_/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}\032J/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}' + _ADMINSERVICE.methods_by_name['UpdateProjectDomainAttributes']._serialized_options = b'\222AX\032VUpdate the customized resource attributes associated with a project-domain combination\202\323\344\223\002\265\001:\001*Zd:\001*\032_/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}\032J/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}' _ADMINSERVICE.methods_by_name['GetProjectDomainAttributes']._options = None - _ADMINSERVICE.methods_by_name['GetProjectDomainAttributes']._serialized_options = b'\202\323\344\223\002xZ@\022>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}\0224/api/v1/project_domain_attributes/{project}/{domain}' + _ADMINSERVICE.methods_by_name['GetProjectDomainAttributes']._serialized_options = b'\222AZ\032XRetrieve the customized resource attributes associated with a project-domain combination\202\323\344\223\002xZ@\022>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}\0224/api/v1/project_domain_attributes/{project}/{domain}' _ADMINSERVICE.methods_by_name['DeleteProjectDomainAttributes']._options = None - _ADMINSERVICE.methods_by_name['DeleteProjectDomainAttributes']._serialized_options = b'\202\323\344\223\002~:\001*ZC:\001**>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}*4/api/v1/project_domain_attributes/{project}/{domain}' + _ADMINSERVICE.methods_by_name['DeleteProjectDomainAttributes']._serialized_options = b'\222AX\032VDelete the customized resource attributes associated with a project-domain combination\202\323\344\223\002~:\001*ZC:\001**>/api/v1/project_domain_attributes/org/{org}/{project}/{domain}*4/api/v1/project_domain_attributes/{project}/{domain}' _ADMINSERVICE.methods_by_name['UpdateProjectAttributes']._options = None - _ADMINSERVICE.methods_by_name['UpdateProjectAttributes']._serialized_options = b'\202\323\344\223\002\206\001:\001*ZP:\001*\032K/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}\032//api/v1/project_attributes/{attributes.project}' + _ADMINSERVICE.methods_by_name['UpdateProjectAttributes']._serialized_options = b'\222AE\032CUpdate the customized resource attributes associated with a project\202\323\344\223\002\206\001:\001*ZP:\001*\032K/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}\032//api/v1/project_attributes/{attributes.project}' _ADMINSERVICE.methods_by_name['GetProjectAttributes']._options = None - _ADMINSERVICE.methods_by_name['GetProjectAttributes']._serialized_options = b'\202\323\344\223\002_Z7\0225/api/v1/project_domain_attributes/org/{org}/{project}\022$/api/v1/project_attributes/{project}' + _ADMINSERVICE.methods_by_name['GetProjectAttributes']._serialized_options = b'\222AG\032ERetrieve the customized resource attributes associated with a project\202\323\344\223\002_Z7\0225/api/v1/project_domain_attributes/org/{org}/{project}\022$/api/v1/project_attributes/{project}' _ADMINSERVICE.methods_by_name['DeleteProjectAttributes']._options = None - _ADMINSERVICE.methods_by_name['DeleteProjectAttributes']._serialized_options = b'\202\323\344\223\002e:\001*Z::\001**5/api/v1/project_domain_attributes/org/{org}/{project}*$/api/v1/project_attributes/{project}' + _ADMINSERVICE.methods_by_name['DeleteProjectAttributes']._serialized_options = b'\222AE\032CDelete the customized resource attributes associated with a project\202\323\344\223\002e:\001*Z::\001**5/api/v1/project_domain_attributes/org/{org}/{project}*$/api/v1/project_attributes/{project}' _ADMINSERVICE.methods_by_name['UpdateWorkflowAttributes']._options = None - _ADMINSERVICE.methods_by_name['UpdateWorkflowAttributes']._serialized_options = b'\202\323\344\223\002\325\001:\001*Zt:\001*\032o/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}\032Z/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}' + _ADMINSERVICE.methods_by_name['UpdateWorkflowAttributes']._serialized_options = b'\222Af\032dUpdate the customized resource attributes associated with a project, domain and workflow combination\202\323\344\223\002\325\001:\001*Zt:\001*\032o/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}\032Z/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}' _ADMINSERVICE.methods_by_name['GetWorkflowAttributes']._options = None - _ADMINSERVICE.methods_by_name['GetWorkflowAttributes']._serialized_options = b'\202\323\344\223\002\202\001ZE\022C/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}\0229/api/v1/workflow_attributes/{project}/{domain}/{workflow}' + _ADMINSERVICE.methods_by_name['GetWorkflowAttributes']._serialized_options = b'\222Ah\032fRetrieve the customized resource attributes associated with a project, domain and workflow combination\202\323\344\223\002\202\001ZE\022C/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}\0229/api/v1/workflow_attributes/{project}/{domain}/{workflow}' _ADMINSERVICE.methods_by_name['DeleteWorkflowAttributes']._options = None - _ADMINSERVICE.methods_by_name['DeleteWorkflowAttributes']._serialized_options = b'\202\323\344\223\002\210\001:\001*ZH:\001**C/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}*9/api/v1/workflow_attributes/{project}/{domain}/{workflow}' + _ADMINSERVICE.methods_by_name['DeleteWorkflowAttributes']._serialized_options = b'\222Af\032dDelete the customized resource attributes associated with a project, domain and workflow combination\202\323\344\223\002\210\001:\001*ZH:\001**C/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}*9/api/v1/workflow_attributes/{project}/{domain}/{workflow}' _ADMINSERVICE.methods_by_name['ListMatchableAttributes']._options = None - _ADMINSERVICE.methods_by_name['ListMatchableAttributes']._serialized_options = b'\202\323\344\223\002HZ(\022&/api/v1/matchable_attributes/org/{org}\022\034/api/v1/matchable_attributes' + _ADMINSERVICE.methods_by_name['ListMatchableAttributes']._serialized_options = b'\222A>\032create_execution: %s\n" % e) - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AdminServiceApi* | [**create_execution**](docs/AdminServiceApi.md#create_execution) | **POST** /api/v1/executions | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**create_execution2**](docs/AdminServiceApi.md#create_execution2) | **PUT** /api/v1/executions/org/{org} | Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**create_launch_plan**](docs/AdminServiceApi.md#create_launch_plan) | **POST** /api/v1/launch_plans | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition -*AdminServiceApi* | [**create_launch_plan2**](docs/AdminServiceApi.md#create_launch_plan2) | **POST** /api/v1/launch_plans/org/{id.org} | Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition -*AdminServiceApi* | [**create_node_event**](docs/AdminServiceApi.md#create_node_event) | **POST** /api/v1/events/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. -*AdminServiceApi* | [**create_node_event2**](docs/AdminServiceApi.md#create_node_event2) | **POST** /api/v1/events/org/{event.id.execution_id.org}/nodes | Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. -*AdminServiceApi* | [**create_task**](docs/AdminServiceApi.md#create_task) | **POST** /api/v1/tasks | Create and upload a :ref:`ref_flyteidl.admin.Task` definition -*AdminServiceApi* | [**create_task2**](docs/AdminServiceApi.md#create_task2) | **POST** /api/v1/tasks/org/{id.org} | Create and upload a :ref:`ref_flyteidl.admin.Task` definition -*AdminServiceApi* | [**create_task_event**](docs/AdminServiceApi.md#create_task_event) | **POST** /api/v1/events/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. -*AdminServiceApi* | [**create_task_event2**](docs/AdminServiceApi.md#create_task_event2) | **POST** /api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks | Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. -*AdminServiceApi* | [**create_workflow**](docs/AdminServiceApi.md#create_workflow) | **POST** /api/v1/workflows | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition -*AdminServiceApi* | [**create_workflow2**](docs/AdminServiceApi.md#create_workflow2) | **POST** /api/v1/workflows/org/{id.org} | Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition -*AdminServiceApi* | [**create_workflow_event**](docs/AdminServiceApi.md#create_workflow_event) | **POST** /api/v1/events/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. -*AdminServiceApi* | [**create_workflow_event2**](docs/AdminServiceApi.md#create_workflow_event2) | **POST** /api/v1/events/org/{event.execution_id.org}/workflows | Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. -*AdminServiceApi* | [**delete_project_attributes**](docs/AdminServiceApi.md#delete_project_attributes) | **DELETE** /api/v1/project_attributes/{project} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**delete_project_attributes2**](docs/AdminServiceApi.md#delete_project_attributes2) | **DELETE** /api/v1/project_domain_attributes/org/{org}/{project} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**delete_project_domain_attributes**](docs/AdminServiceApi.md#delete_project_domain_attributes) | **DELETE** /api/v1/project_domain_attributes/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**delete_project_domain_attributes2**](docs/AdminServiceApi.md#delete_project_domain_attributes2) | **DELETE** /api/v1/project_domain_attributes/org/{org}/{project}/{domain} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**delete_workflow_attributes**](docs/AdminServiceApi.md#delete_workflow_attributes) | **DELETE** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**delete_workflow_attributes2**](docs/AdminServiceApi.md#delete_workflow_attributes2) | **DELETE** /api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow} | Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**get_active_launch_plan**](docs/AdminServiceApi.md#get_active_launch_plan) | **GET** /api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**get_active_launch_plan2**](docs/AdminServiceApi.md#get_active_launch_plan2) | **GET** /api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**get_description_entity**](docs/AdminServiceApi.md#get_description_entity) | **GET** /api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. -*AdminServiceApi* | [**get_description_entity2**](docs/AdminServiceApi.md#get_description_entity2) | **GET** /api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. -*AdminServiceApi* | [**get_dynamic_node_workflow**](docs/AdminServiceApi.md#get_dynamic_node_workflow) | **GET** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow | Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. -*AdminServiceApi* | [**get_dynamic_node_workflow2**](docs/AdminServiceApi.md#get_dynamic_node_workflow2) | **GET** /api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow | Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. -*AdminServiceApi* | [**get_execution**](docs/AdminServiceApi.md#get_execution) | **GET** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_execution2**](docs/AdminServiceApi.md#get_execution2) | **GET** /api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_execution_data**](docs/AdminServiceApi.md#get_execution_data) | **GET** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_execution_data2**](docs/AdminServiceApi.md#get_execution_data2) | **GET** /api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_execution_metrics**](docs/AdminServiceApi.md#get_execution_metrics) | **GET** /api/v1/metrics/executions/{id.project}/{id.domain}/{id.name} | Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_execution_metrics2**](docs/AdminServiceApi.md#get_execution_metrics2) | **GET** /api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**get_launch_plan**](docs/AdminServiceApi.md#get_launch_plan) | **GET** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. -*AdminServiceApi* | [**get_launch_plan2**](docs/AdminServiceApi.md#get_launch_plan2) | **GET** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. -*AdminServiceApi* | [**get_named_entity**](docs/AdminServiceApi.md#get_named_entity) | **GET** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**get_named_entity2**](docs/AdminServiceApi.md#get_named_entity2) | **GET** /api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**get_node_execution**](docs/AdminServiceApi.md#get_node_execution) | **GET** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**get_node_execution2**](docs/AdminServiceApi.md#get_node_execution2) | **GET** /api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**get_node_execution_data**](docs/AdminServiceApi.md#get_node_execution_data) | **GET** /api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**get_node_execution_data2**](docs/AdminServiceApi.md#get_node_execution_data2) | **GET** /api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**get_project_attributes**](docs/AdminServiceApi.md#get_project_attributes) | **GET** /api/v1/project_attributes/{project} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**get_project_attributes2**](docs/AdminServiceApi.md#get_project_attributes2) | **GET** /api/v1/project_domain_attributes/org/{org}/{project} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**get_project_domain_attributes**](docs/AdminServiceApi.md#get_project_domain_attributes) | **GET** /api/v1/project_domain_attributes/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**get_project_domain_attributes2**](docs/AdminServiceApi.md#get_project_domain_attributes2) | **GET** /api/v1/project_domain_attributes/org/{org}/{project}/{domain} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**get_task**](docs/AdminServiceApi.md#get_task) | **GET** /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. -*AdminServiceApi* | [**get_task2**](docs/AdminServiceApi.md#get_task2) | **GET** /api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Task` definition. -*AdminServiceApi* | [**get_task_execution**](docs/AdminServiceApi.md#get_task_execution) | **GET** /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} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**get_task_execution2**](docs/AdminServiceApi.md#get_task_execution2) | **GET** /api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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} | Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**get_task_execution_data**](docs/AdminServiceApi.md#get_task_execution_data) | **GET** /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} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**get_task_execution_data2**](docs/AdminServiceApi.md#get_task_execution_data2) | **GET** /api/v1/data/org/{id.node_execution_id.execution_id.org}/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} | Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**get_version**](docs/AdminServiceApi.md#get_version) | **GET** /api/v1/version | -*AdminServiceApi* | [**get_workflow**](docs/AdminServiceApi.md#get_workflow) | **GET** /api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. -*AdminServiceApi* | [**get_workflow2**](docs/AdminServiceApi.md#get_workflow2) | **GET** /api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. -*AdminServiceApi* | [**get_workflow_attributes**](docs/AdminServiceApi.md#get_workflow_attributes) | **GET** /api/v1/workflow_attributes/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**get_workflow_attributes2**](docs/AdminServiceApi.md#get_workflow_attributes2) | **GET** /api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow} | Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**list_active_launch_plans**](docs/AdminServiceApi.md#list_active_launch_plans) | **GET** /api/v1/active_launch_plans/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**list_active_launch_plans2**](docs/AdminServiceApi.md#list_active_launch_plans2) | **GET** /api/v1/active_launch_plans/org/{org}/{project}/{domain} | List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**list_description_entities**](docs/AdminServiceApi.md#list_description_entities) | **GET** /api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**list_description_entities2**](docs/AdminServiceApi.md#list_description_entities2) | **GET** /api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**list_description_entities3**](docs/AdminServiceApi.md#list_description_entities3) | **GET** /api/v1/description_entities/{resource_type}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**list_description_entities4**](docs/AdminServiceApi.md#list_description_entities4) | **GET** /api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. -*AdminServiceApi* | [**list_executions**](docs/AdminServiceApi.md#list_executions) | **GET** /api/v1/executions/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**list_executions2**](docs/AdminServiceApi.md#list_executions2) | **GET** /api/v1/executions/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**list_launch_plan_ids**](docs/AdminServiceApi.md#list_launch_plan_ids) | **GET** /api/v1/launch_plan_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. -*AdminServiceApi* | [**list_launch_plan_ids2**](docs/AdminServiceApi.md#list_launch_plan_ids2) | **GET** /api/v1/launch_plan_ids/org/{org}/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. -*AdminServiceApi* | [**list_launch_plans**](docs/AdminServiceApi.md#list_launch_plans) | **GET** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**list_launch_plans2**](docs/AdminServiceApi.md#list_launch_plans2) | **GET** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**list_launch_plans3**](docs/AdminServiceApi.md#list_launch_plans3) | **GET** /api/v1/launch_plans/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**list_launch_plans4**](docs/AdminServiceApi.md#list_launch_plans4) | **GET** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. -*AdminServiceApi* | [**list_matchable_attributes**](docs/AdminServiceApi.md#list_matchable_attributes) | **GET** /api/v1/matchable_attributes | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. -*AdminServiceApi* | [**list_matchable_attributes2**](docs/AdminServiceApi.md#list_matchable_attributes2) | **GET** /api/v1/matchable_attributes/org/{org} | Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. -*AdminServiceApi* | [**list_named_entities**](docs/AdminServiceApi.md#list_named_entities) | **GET** /api/v1/named_entities/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. -*AdminServiceApi* | [**list_named_entities2**](docs/AdminServiceApi.md#list_named_entities2) | **GET** /api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain} | Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. -*AdminServiceApi* | [**list_node_executions**](docs/AdminServiceApi.md#list_node_executions) | **GET** /api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**list_node_executions2**](docs/AdminServiceApi.md#list_node_executions2) | **GET** /api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. -*AdminServiceApi* | [**list_node_executions_for_task**](docs/AdminServiceApi.md#list_node_executions_for_task) | **GET** /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} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**list_node_executions_for_task2**](docs/AdminServiceApi.md#list_node_executions_for_task2) | **GET** /api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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} | Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**list_projects**](docs/AdminServiceApi.md#list_projects) | **GET** /api/v1/projects | Fetches a list of :ref:`ref_flyteidl.admin.Project` -*AdminServiceApi* | [**list_projects2**](docs/AdminServiceApi.md#list_projects2) | **GET** /api/v1/projects/org/{org} | Fetches a list of :ref:`ref_flyteidl.admin.Project` -*AdminServiceApi* | [**list_task_executions**](docs/AdminServiceApi.md#list_task_executions) | **GET** /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} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**list_task_executions2**](docs/AdminServiceApi.md#list_task_executions2) | **GET** /api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id} | Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. -*AdminServiceApi* | [**list_task_ids**](docs/AdminServiceApi.md#list_task_ids) | **GET** /api/v1/task_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. -*AdminServiceApi* | [**list_task_ids2**](docs/AdminServiceApi.md#list_task_ids2) | **GET** /api/v1/tasks/org/{org}/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. -*AdminServiceApi* | [**list_tasks**](docs/AdminServiceApi.md#list_tasks) | **GET** /api/v1/tasks/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**list_tasks2**](docs/AdminServiceApi.md#list_tasks2) | **GET** /api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**list_tasks3**](docs/AdminServiceApi.md#list_tasks3) | **GET** /api/v1/tasks/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**list_tasks4**](docs/AdminServiceApi.md#list_tasks4) | **GET** /api/v1/tasks/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. -*AdminServiceApi* | [**list_workflow_ids**](docs/AdminServiceApi.md#list_workflow_ids) | **GET** /api/v1/workflow_ids/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. -*AdminServiceApi* | [**list_workflow_ids2**](docs/AdminServiceApi.md#list_workflow_ids2) | **GET** /api/v1/workflows/org/{org}/{project}/{domain} | Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. -*AdminServiceApi* | [**list_workflows**](docs/AdminServiceApi.md#list_workflows) | **GET** /api/v1/workflows/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**list_workflows2**](docs/AdminServiceApi.md#list_workflows2) | **GET** /api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**list_workflows3**](docs/AdminServiceApi.md#list_workflows3) | **GET** /api/v1/workflows/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**list_workflows4**](docs/AdminServiceApi.md#list_workflows4) | **GET** /api/v1/workflows/org/{id.org}/{id.project}/{id.domain} | Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. -*AdminServiceApi* | [**recover_execution**](docs/AdminServiceApi.md#recover_execution) | **POST** /api/v1/executions/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. -*AdminServiceApi* | [**recover_execution2**](docs/AdminServiceApi.md#recover_execution2) | **POST** /api/v1/executions/org/{id.org}/recover | Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. -*AdminServiceApi* | [**register_project**](docs/AdminServiceApi.md#register_project) | **POST** /api/v1/projects | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. -*AdminServiceApi* | [**register_project2**](docs/AdminServiceApi.md#register_project2) | **POST** /api/v1/projects/org/{project.org} | Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. -*AdminServiceApi* | [**relaunch_execution**](docs/AdminServiceApi.md#relaunch_execution) | **POST** /api/v1/executions/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**relaunch_execution2**](docs/AdminServiceApi.md#relaunch_execution2) | **POST** /api/v1/executions/org/{id.org}/relaunch | Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` -*AdminServiceApi* | [**terminate_execution**](docs/AdminServiceApi.md#terminate_execution) | **DELETE** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**terminate_execution2**](docs/AdminServiceApi.md#terminate_execution2) | **DELETE** /api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**update_execution**](docs/AdminServiceApi.md#update_execution) | **PUT** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**update_execution2**](docs/AdminServiceApi.md#update_execution2) | **PUT** /api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name} | Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. -*AdminServiceApi* | [**update_launch_plan**](docs/AdminServiceApi.md#update_launch_plan) | **PUT** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**update_launch_plan2**](docs/AdminServiceApi.md#update_launch_plan2) | **PUT** /api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version} | Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. -*AdminServiceApi* | [**update_named_entity**](docs/AdminServiceApi.md#update_named_entity) | **PUT** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**update_named_entity2**](docs/AdminServiceApi.md#update_named_entity2) | **PUT** /api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name} | Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. -*AdminServiceApi* | [**update_project**](docs/AdminServiceApi.md#update_project) | **PUT** /api/v1/projects/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. -*AdminServiceApi* | [**update_project2**](docs/AdminServiceApi.md#update_project2) | **PUT** /api/v1/projects/org/{org}/{id} | Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. -*AdminServiceApi* | [**update_project_attributes**](docs/AdminServiceApi.md#update_project_attributes) | **PUT** /api/v1/project_attributes/{attributes.project} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level -*AdminServiceApi* | [**update_project_attributes2**](docs/AdminServiceApi.md#update_project_attributes2) | **PUT** /api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level -*AdminServiceApi* | [**update_project_domain_attributes**](docs/AdminServiceApi.md#update_project_domain_attributes) | **PUT** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**update_project_domain_attributes2**](docs/AdminServiceApi.md#update_project_domain_attributes2) | **PUT** /api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. -*AdminServiceApi* | [**update_workflow_attributes**](docs/AdminServiceApi.md#update_workflow_attributes) | **PUT** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. -*AdminServiceApi* | [**update_workflow_attributes2**](docs/AdminServiceApi.md#update_workflow_attributes2) | **PUT** /api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow} | Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. - - -## Documentation For Models - - - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - - [AdminAnnotations](docs/AdminAnnotations.md) - - [AdminAuth](docs/AdminAuth.md) - - [AdminAuthRole](docs/AdminAuthRole.md) - - [AdminClusterAssignment](docs/AdminClusterAssignment.md) - - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) - - [AdminCronSchedule](docs/AdminCronSchedule.md) - - [AdminDescription](docs/AdminDescription.md) - - [AdminDescriptionEntity](docs/AdminDescriptionEntity.md) - - [AdminDescriptionEntityList](docs/AdminDescriptionEntityList.md) - - [AdminDescriptionFormat](docs/AdminDescriptionFormat.md) - - [AdminDomain](docs/AdminDomain.md) - - [AdminDynamicNodeWorkflowResponse](docs/AdminDynamicNodeWorkflowResponse.md) - - [AdminEmailNotification](docs/AdminEmailNotification.md) - - [AdminEnvs](docs/AdminEnvs.md) - - [AdminExecution](docs/AdminExecution.md) - - [AdminExecutionClosure](docs/AdminExecutionClosure.md) - - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) - - [AdminExecutionCreateRequest](docs/AdminExecutionCreateRequest.md) - - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) - - [AdminExecutionList](docs/AdminExecutionList.md) - - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) - - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) - - [AdminExecutionRecoverRequest](docs/AdminExecutionRecoverRequest.md) - - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) - - [AdminExecutionSpec](docs/AdminExecutionSpec.md) - - [AdminExecutionState](docs/AdminExecutionState.md) - - [AdminExecutionStateChangeDetails](docs/AdminExecutionStateChangeDetails.md) - - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) - - [AdminExecutionTerminateResponse](docs/AdminExecutionTerminateResponse.md) - - [AdminExecutionUpdateRequest](docs/AdminExecutionUpdateRequest.md) - - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) - - [AdminFixedRate](docs/AdminFixedRate.md) - - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) - - [AdminFlyteURLs](docs/AdminFlyteURLs.md) - - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) - - [AdminLabels](docs/AdminLabels.md) - - [AdminLaunchPlan](docs/AdminLaunchPlan.md) - - [AdminLaunchPlanClosure](docs/AdminLaunchPlanClosure.md) - - [AdminLaunchPlanCreateRequest](docs/AdminLaunchPlanCreateRequest.md) - - [AdminLaunchPlanCreateResponse](docs/AdminLaunchPlanCreateResponse.md) - - [AdminLaunchPlanList](docs/AdminLaunchPlanList.md) - - [AdminLaunchPlanMetadata](docs/AdminLaunchPlanMetadata.md) - - [AdminLaunchPlanSpec](docs/AdminLaunchPlanSpec.md) - - [AdminLaunchPlanState](docs/AdminLaunchPlanState.md) - - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) - - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) - - [AdminListMatchableAttributesResponse](docs/AdminListMatchableAttributesResponse.md) - - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) - - [AdminMatchableAttributesConfiguration](docs/AdminMatchableAttributesConfiguration.md) - - [AdminMatchableResource](docs/AdminMatchableResource.md) - - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) - - [AdminNamedEntity](docs/AdminNamedEntity.md) - - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) - - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) - - [AdminNamedEntityList](docs/AdminNamedEntityList.md) - - [AdminNamedEntityMetadata](docs/AdminNamedEntityMetadata.md) - - [AdminNamedEntityState](docs/AdminNamedEntityState.md) - - [AdminNamedEntityUpdateRequest](docs/AdminNamedEntityUpdateRequest.md) - - [AdminNamedEntityUpdateResponse](docs/AdminNamedEntityUpdateResponse.md) - - [AdminNodeExecutionClosure](docs/AdminNodeExecutionClosure.md) - - [AdminNodeExecutionEventRequest](docs/AdminNodeExecutionEventRequest.md) - - [AdminNodeExecutionEventResponse](docs/AdminNodeExecutionEventResponse.md) - - [AdminNodeExecutionGetDataResponse](docs/AdminNodeExecutionGetDataResponse.md) - - [AdminNodeExecutionList](docs/AdminNodeExecutionList.md) - - [AdminNodeExecutionMetaData](docs/AdminNodeExecutionMetaData.md) - - [AdminNotification](docs/AdminNotification.md) - - [AdminNotificationList](docs/AdminNotificationList.md) - - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) - - [AdminPluginOverride](docs/AdminPluginOverride.md) - - [AdminPluginOverrides](docs/AdminPluginOverrides.md) - - [AdminProject](docs/AdminProject.md) - - [AdminProjectAttributes](docs/AdminProjectAttributes.md) - - [AdminProjectAttributesDeleteRequest](docs/AdminProjectAttributesDeleteRequest.md) - - [AdminProjectAttributesDeleteResponse](docs/AdminProjectAttributesDeleteResponse.md) - - [AdminProjectAttributesGetResponse](docs/AdminProjectAttributesGetResponse.md) - - [AdminProjectAttributesUpdateRequest](docs/AdminProjectAttributesUpdateRequest.md) - - [AdminProjectAttributesUpdateResponse](docs/AdminProjectAttributesUpdateResponse.md) - - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) - - [AdminProjectDomainAttributesDeleteRequest](docs/AdminProjectDomainAttributesDeleteRequest.md) - - [AdminProjectDomainAttributesDeleteResponse](docs/AdminProjectDomainAttributesDeleteResponse.md) - - [AdminProjectDomainAttributesGetResponse](docs/AdminProjectDomainAttributesGetResponse.md) - - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) - - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) - - [AdminProjectRegisterRequest](docs/AdminProjectRegisterRequest.md) - - [AdminProjectRegisterResponse](docs/AdminProjectRegisterResponse.md) - - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) - - [AdminProjects](docs/AdminProjects.md) - - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) - - [AdminReason](docs/AdminReason.md) - - [AdminSchedule](docs/AdminSchedule.md) - - [AdminSlackNotification](docs/AdminSlackNotification.md) - - [AdminSort](docs/AdminSort.md) - - [AdminSourceCode](docs/AdminSourceCode.md) - - [AdminSystemMetadata](docs/AdminSystemMetadata.md) - - [AdminTask](docs/AdminTask.md) - - [AdminTaskClosure](docs/AdminTaskClosure.md) - - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) - - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) - - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) - - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) - - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) - - [AdminTaskList](docs/AdminTaskList.md) - - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) - - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - - [AdminTaskSpec](docs/AdminTaskSpec.md) - - [AdminUrlBlob](docs/AdminUrlBlob.md) - - [AdminVersion](docs/AdminVersion.md) - - [AdminWorkflow](docs/AdminWorkflow.md) - - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) - - [AdminWorkflowAttributesDeleteRequest](docs/AdminWorkflowAttributesDeleteRequest.md) - - [AdminWorkflowAttributesDeleteResponse](docs/AdminWorkflowAttributesDeleteResponse.md) - - [AdminWorkflowAttributesGetResponse](docs/AdminWorkflowAttributesGetResponse.md) - - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) - - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) - - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) - - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) - - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) - - [AdminWorkflowExecutionConfig](docs/AdminWorkflowExecutionConfig.md) - - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) - - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) - - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) - - [AdminWorkflowExecutionGetMetricsResponse](docs/AdminWorkflowExecutionGetMetricsResponse.md) - - [AdminWorkflowList](docs/AdminWorkflowList.md) - - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) - - [CatalogReservationStatus](docs/CatalogReservationStatus.md) - - [ComparisonExpressionOperator](docs/ComparisonExpressionOperator.md) - - [ConjunctionExpressionLogicalOperator](docs/ConjunctionExpressionLogicalOperator.md) - - [ConnectionSetIdList](docs/ConnectionSetIdList.md) - - [ContainerArchitecture](docs/ContainerArchitecture.md) - - [CoreAlias](docs/CoreAlias.md) - - [CoreApproveCondition](docs/CoreApproveCondition.md) - - [CoreArrayNode](docs/CoreArrayNode.md) - - [CoreArtifactBindingData](docs/CoreArtifactBindingData.md) - - [CoreArtifactID](docs/CoreArtifactID.md) - - [CoreArtifactKey](docs/CoreArtifactKey.md) - - [CoreArtifactQuery](docs/CoreArtifactQuery.md) - - [CoreArtifactTag](docs/CoreArtifactTag.md) - - [CoreBinary](docs/CoreBinary.md) - - [CoreBinding](docs/CoreBinding.md) - - [CoreBindingData](docs/CoreBindingData.md) - - [CoreBindingDataCollection](docs/CoreBindingDataCollection.md) - - [CoreBindingDataMap](docs/CoreBindingDataMap.md) - - [CoreBlob](docs/CoreBlob.md) - - [CoreBlobMetadata](docs/CoreBlobMetadata.md) - - [CoreBlobType](docs/CoreBlobType.md) - - [CoreBooleanExpression](docs/CoreBooleanExpression.md) - - [CoreBranchNode](docs/CoreBranchNode.md) - - [CoreCatalogArtifactTag](docs/CoreCatalogArtifactTag.md) - - [CoreCatalogCacheStatus](docs/CoreCatalogCacheStatus.md) - - [CoreCatalogMetadata](docs/CoreCatalogMetadata.md) - - [CoreComparisonExpression](docs/CoreComparisonExpression.md) - - [CoreCompiledTask](docs/CoreCompiledTask.md) - - [CoreCompiledWorkflow](docs/CoreCompiledWorkflow.md) - - [CoreCompiledWorkflowClosure](docs/CoreCompiledWorkflowClosure.md) - - [CoreConjunctionExpression](docs/CoreConjunctionExpression.md) - - [CoreConnectionSet](docs/CoreConnectionSet.md) - - [CoreContainer](docs/CoreContainer.md) - - [CoreContainerPort](docs/CoreContainerPort.md) - - [CoreDataLoadingConfig](docs/CoreDataLoadingConfig.md) - - [CoreEnumType](docs/CoreEnumType.md) - - [CoreError](docs/CoreError.md) - - [CoreExecutionError](docs/CoreExecutionError.md) - - [CoreExtendedResources](docs/CoreExtendedResources.md) - - [CoreGPUAccelerator](docs/CoreGPUAccelerator.md) - - [CoreGateNode](docs/CoreGateNode.md) - - [CoreIOStrategy](docs/CoreIOStrategy.md) - - [CoreIdentifier](docs/CoreIdentifier.md) - - [CoreIdentity](docs/CoreIdentity.md) - - [CoreIfBlock](docs/CoreIfBlock.md) - - [CoreIfElseBlock](docs/CoreIfElseBlock.md) - - [CoreInputBindingData](docs/CoreInputBindingData.md) - - [CoreK8sObjectMetadata](docs/CoreK8sObjectMetadata.md) - - [CoreK8sPod](docs/CoreK8sPod.md) - - [CoreKeyValuePair](docs/CoreKeyValuePair.md) - - [CoreLabelValue](docs/CoreLabelValue.md) - - [CoreLiteral](docs/CoreLiteral.md) - - [CoreLiteralCollection](docs/CoreLiteralCollection.md) - - [CoreLiteralMap](docs/CoreLiteralMap.md) - - [CoreLiteralType](docs/CoreLiteralType.md) - - [CoreNode](docs/CoreNode.md) - - [CoreNodeExecutionIdentifier](docs/CoreNodeExecutionIdentifier.md) - - [CoreNodeExecutionPhase](docs/CoreNodeExecutionPhase.md) - - [CoreNodeMetadata](docs/CoreNodeMetadata.md) - - [CoreOAuth2Client](docs/CoreOAuth2Client.md) - - [CoreOAuth2TokenRequest](docs/CoreOAuth2TokenRequest.md) - - [CoreOAuth2TokenRequestType](docs/CoreOAuth2TokenRequestType.md) - - [CoreOperand](docs/CoreOperand.md) - - [CoreOutputReference](docs/CoreOutputReference.md) - - [CoreParameter](docs/CoreParameter.md) - - [CoreParameterMap](docs/CoreParameterMap.md) - - [CorePartitions](docs/CorePartitions.md) - - [CorePrimitive](docs/CorePrimitive.md) - - [CorePromiseAttribute](docs/CorePromiseAttribute.md) - - [CoreQualityOfService](docs/CoreQualityOfService.md) - - [CoreQualityOfServiceSpec](docs/CoreQualityOfServiceSpec.md) - - [CoreResourceType](docs/CoreResourceType.md) - - [CoreResources](docs/CoreResources.md) - - [CoreRetryStrategy](docs/CoreRetryStrategy.md) - - [CoreRuntimeMetadata](docs/CoreRuntimeMetadata.md) - - [CoreScalar](docs/CoreScalar.md) - - [CoreSchema](docs/CoreSchema.md) - - [CoreSchemaType](docs/CoreSchemaType.md) - - [CoreSecret](docs/CoreSecret.md) - - [CoreSecurityContext](docs/CoreSecurityContext.md) - - [CoreSignalCondition](docs/CoreSignalCondition.md) - - [CoreSimpleType](docs/CoreSimpleType.md) - - [CoreSleepCondition](docs/CoreSleepCondition.md) - - [CoreSpan](docs/CoreSpan.md) - - [CoreSql](docs/CoreSql.md) - - [CoreStructuredDataset](docs/CoreStructuredDataset.md) - - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) - - [CoreStructuredDatasetType](docs/CoreStructuredDatasetType.md) - - [CoreTaskExecutionIdentifier](docs/CoreTaskExecutionIdentifier.md) - - [CoreTaskExecutionPhase](docs/CoreTaskExecutionPhase.md) - - [CoreTaskLog](docs/CoreTaskLog.md) - - [CoreTaskMetadata](docs/CoreTaskMetadata.md) - - [CoreTaskNode](docs/CoreTaskNode.md) - - [CoreTaskNodeOverrides](docs/CoreTaskNodeOverrides.md) - - [CoreTaskTemplate](docs/CoreTaskTemplate.md) - - [CoreTimePartition](docs/CoreTimePartition.md) - - [CoreTypeAnnotation](docs/CoreTypeAnnotation.md) - - [CoreTypeStructure](docs/CoreTypeStructure.md) - - [CoreTypedInterface](docs/CoreTypedInterface.md) - - [CoreUnion](docs/CoreUnion.md) - - [CoreUnionInfo](docs/CoreUnionInfo.md) - - [CoreUnionType](docs/CoreUnionType.md) - - [CoreVariable](docs/CoreVariable.md) - - [CoreVariableMap](docs/CoreVariableMap.md) - - [CoreVoid](docs/CoreVoid.md) - - [CoreWorkflowExecutionIdentifier](docs/CoreWorkflowExecutionIdentifier.md) - - [CoreWorkflowExecutionPhase](docs/CoreWorkflowExecutionPhase.md) - - [CoreWorkflowMetadata](docs/CoreWorkflowMetadata.md) - - [CoreWorkflowMetadataDefaults](docs/CoreWorkflowMetadataDefaults.md) - - [CoreWorkflowNode](docs/CoreWorkflowNode.md) - - [CoreWorkflowTemplate](docs/CoreWorkflowTemplate.md) - - [DataLoadingConfigLiteralMapFormat](docs/DataLoadingConfigLiteralMapFormat.md) - - [EventEventReason](docs/EventEventReason.md) - - [EventExternalResourceInfo](docs/EventExternalResourceInfo.md) - - [EventNodeExecutionEvent](docs/EventNodeExecutionEvent.md) - - [EventParentNodeExecutionMetadata](docs/EventParentNodeExecutionMetadata.md) - - [EventParentTaskExecutionMetadata](docs/EventParentTaskExecutionMetadata.md) - - [EventResourcePoolInfo](docs/EventResourcePoolInfo.md) - - [EventTaskExecutionEvent](docs/EventTaskExecutionEvent.md) - - [EventWorkflowExecutionEvent](docs/EventWorkflowExecutionEvent.md) - - [ExecutionErrorErrorKind](docs/ExecutionErrorErrorKind.md) - - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) - - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) - - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) - - [FlyteidladminTaskCreateRequest](docs/FlyteidladminTaskCreateRequest.md) - - [FlyteidladminTaskCreateResponse](docs/FlyteidladminTaskCreateResponse.md) - - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) - - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) - - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) - - [FlyteidleventDynamicWorkflowNodeMetadata](docs/FlyteidleventDynamicWorkflowNodeMetadata.md) - - [FlyteidleventTaskExecutionMetadata](docs/FlyteidleventTaskExecutionMetadata.md) - - [FlyteidleventTaskNodeMetadata](docs/FlyteidleventTaskNodeMetadata.md) - - [FlyteidleventWorkflowNodeMetadata](docs/FlyteidleventWorkflowNodeMetadata.md) - - [IOStrategyDownloadMode](docs/IOStrategyDownloadMode.md) - - [IOStrategyUploadMode](docs/IOStrategyUploadMode.md) - - [PluginOverrideMissingPluginBehavior](docs/PluginOverrideMissingPluginBehavior.md) - - [ProjectProjectState](docs/ProjectProjectState.md) - - [ProtobufAny](docs/ProtobufAny.md) - - [ProtobufListValue](docs/ProtobufListValue.md) - - [ProtobufNullValue](docs/ProtobufNullValue.md) - - [ProtobufStruct](docs/ProtobufStruct.md) - - [ProtobufValue](docs/ProtobufValue.md) - - [QualityOfServiceTier](docs/QualityOfServiceTier.md) - - [ResourcesResourceEntry](docs/ResourcesResourceEntry.md) - - [ResourcesResourceName](docs/ResourcesResourceName.md) - - [RuntimeMetadataRuntimeType](docs/RuntimeMetadataRuntimeType.md) - - [SchemaColumnSchemaColumnType](docs/SchemaColumnSchemaColumnType.md) - - [SchemaTypeSchemaColumn](docs/SchemaTypeSchemaColumn.md) - - [SecretMountType](docs/SecretMountType.md) - - [SortDirection](docs/SortDirection.md) - - [SqlDialect](docs/SqlDialect.md) - - [StructuredDatasetTypeDatasetColumn](docs/StructuredDatasetTypeDatasetColumn.md) - - [TaskExecutionMetadataInstanceClass](docs/TaskExecutionMetadataInstanceClass.md) - - [TaskLogMessageFormat](docs/TaskLogMessageFormat.md) - - [WorkflowMetadataOnFailurePolicy](docs/WorkflowMetadataOnFailurePolicy.md) - - -## Documentation For Authorization - - All endpoints do not require authorization. - - -## Author - - - diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py deleted file mode 100644 index f57c6ff9a0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py +++ /dev/null @@ -1,305 +0,0 @@ -# coding: utf-8 - -# flake8: noqa - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -# import apis into sdk package -from flyteadmin.api.admin_service_api import AdminServiceApi - -# import ApiClient -from flyteadmin.api_client import ApiClient -from flyteadmin.configuration import Configuration -# import models into sdk package -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata -from flyteadmin.models.admin_annotations import AdminAnnotations -from flyteadmin.models.admin_auth import AdminAuth -from flyteadmin.models.admin_auth_role import AdminAuthRole -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule -from flyteadmin.models.admin_description import AdminDescription -from flyteadmin.models.admin_description_entity import AdminDescriptionEntity -from flyteadmin.models.admin_description_entity_list import AdminDescriptionEntityList -from flyteadmin.models.admin_description_format import AdminDescriptionFormat -from flyteadmin.models.admin_domain import AdminDomain -from flyteadmin.models.admin_dynamic_node_workflow_response import AdminDynamicNodeWorkflowResponse -from flyteadmin.models.admin_email_notification import AdminEmailNotification -from flyteadmin.models.admin_envs import AdminEnvs -from flyteadmin.models.admin_execution import AdminExecution -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel -from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest -from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse -from flyteadmin.models.admin_execution_list import AdminExecutionList -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes -from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest -from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec -from flyteadmin.models.admin_execution_state import AdminExecutionState -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails -from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest -from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse -from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest -from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse -from flyteadmin.models.admin_fixed_rate import AdminFixedRate -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit -from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs -from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse -from flyteadmin.models.admin_labels import AdminLabels -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure -from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest -from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse -from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState -from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest -from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse -from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes -from flyteadmin.models.admin_named_entity import AdminNamedEntity -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier -from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList -from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState -from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest -from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure -from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest -from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse -from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse -from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData -from flyteadmin.models.admin_notification import AdminNotification -from flyteadmin.models.admin_notification_list import AdminNotificationList -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification -from flyteadmin.models.admin_plugin_override import AdminPluginOverride -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides -from flyteadmin.models.admin_project import AdminProject -from flyteadmin.models.admin_project_attributes import AdminProjectAttributes -from flyteadmin.models.admin_project_attributes_delete_request import AdminProjectAttributesDeleteRequest -from flyteadmin.models.admin_project_attributes_delete_response import AdminProjectAttributesDeleteResponse -from flyteadmin.models.admin_project_attributes_get_response import AdminProjectAttributesGetResponse -from flyteadmin.models.admin_project_attributes_update_request import AdminProjectAttributesUpdateRequest -from flyteadmin.models.admin_project_attributes_update_response import AdminProjectAttributesUpdateResponse -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes -from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest -from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse -from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse -from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest -from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse -from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest -from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse -from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse -from flyteadmin.models.admin_projects import AdminProjects -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig -from flyteadmin.models.admin_reason import AdminReason -from flyteadmin.models.admin_schedule import AdminSchedule -from flyteadmin.models.admin_slack_notification import AdminSlackNotification -from flyteadmin.models.admin_sort import AdminSort -from flyteadmin.models.admin_source_code import AdminSourceCode -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata -from flyteadmin.models.admin_task import AdminTask -from flyteadmin.models.admin_task_closure import AdminTaskClosure -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure -from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest -from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse -from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse -from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList -from flyteadmin.models.admin_task_list import AdminTaskList -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec -from flyteadmin.models.admin_task_spec import AdminTaskSpec -from flyteadmin.models.admin_url_blob import AdminUrlBlob -from flyteadmin.models.admin_version import AdminVersion -from flyteadmin.models.admin_workflow import AdminWorkflow -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes -from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest -from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse -from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse -from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest -from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure -from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest -from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig -from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest -from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse -from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse -from flyteadmin.models.admin_workflow_execution_get_metrics_response import AdminWorkflowExecutionGetMetricsResponse -from flyteadmin.models.admin_workflow_list import AdminWorkflowList -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList -from flyteadmin.models.container_architecture import ContainerArchitecture -from flyteadmin.models.core_alias import CoreAlias -from flyteadmin.models.core_approve_condition import CoreApproveCondition -from flyteadmin.models.core_array_node import CoreArrayNode -from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData -from flyteadmin.models.core_artifact_id import CoreArtifactID -from flyteadmin.models.core_artifact_key import CoreArtifactKey -from flyteadmin.models.core_artifact_query import CoreArtifactQuery -from flyteadmin.models.core_artifact_tag import CoreArtifactTag -from flyteadmin.models.core_binary import CoreBinary -from flyteadmin.models.core_binding import CoreBinding -from flyteadmin.models.core_binding_data import CoreBindingData -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap -from flyteadmin.models.core_blob import CoreBlob -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata -from flyteadmin.models.core_blob_type import CoreBlobType -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression -from flyteadmin.models.core_branch_node import CoreBranchNode -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression -from flyteadmin.models.core_compiled_task import CoreCompiledTask -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression -from flyteadmin.models.core_connection_set import CoreConnectionSet -from flyteadmin.models.core_container import CoreContainer -from flyteadmin.models.core_container_port import CoreContainerPort -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig -from flyteadmin.models.core_enum_type import CoreEnumType -from flyteadmin.models.core_error import CoreError -from flyteadmin.models.core_execution_error import CoreExecutionError -from flyteadmin.models.core_extended_resources import CoreExtendedResources -from flyteadmin.models.core_gpu_accelerator import CoreGPUAccelerator -from flyteadmin.models.core_gate_node import CoreGateNode -from flyteadmin.models.core_io_strategy import CoreIOStrategy -from flyteadmin.models.core_identifier import CoreIdentifier -from flyteadmin.models.core_identity import CoreIdentity -from flyteadmin.models.core_if_block import CoreIfBlock -from flyteadmin.models.core_if_else_block import CoreIfElseBlock -from flyteadmin.models.core_input_binding_data import CoreInputBindingData -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata -from flyteadmin.models.core_k8s_pod import CoreK8sPod -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair -from flyteadmin.models.core_label_value import CoreLabelValue -from flyteadmin.models.core_literal import CoreLiteral -from flyteadmin.models.core_literal_collection import CoreLiteralCollection -from flyteadmin.models.core_literal_map import CoreLiteralMap -from flyteadmin.models.core_literal_type import CoreLiteralType -from flyteadmin.models.core_node import CoreNode -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase -from flyteadmin.models.core_node_metadata import CoreNodeMetadata -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType -from flyteadmin.models.core_operand import CoreOperand -from flyteadmin.models.core_output_reference import CoreOutputReference -from flyteadmin.models.core_parameter import CoreParameter -from flyteadmin.models.core_parameter_map import CoreParameterMap -from flyteadmin.models.core_partitions import CorePartitions -from flyteadmin.models.core_primitive import CorePrimitive -from flyteadmin.models.core_promise_attribute import CorePromiseAttribute -from flyteadmin.models.core_quality_of_service import CoreQualityOfService -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec -from flyteadmin.models.core_resource_type import CoreResourceType -from flyteadmin.models.core_resources import CoreResources -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata -from flyteadmin.models.core_scalar import CoreScalar -from flyteadmin.models.core_schema import CoreSchema -from flyteadmin.models.core_schema_type import CoreSchemaType -from flyteadmin.models.core_secret import CoreSecret -from flyteadmin.models.core_security_context import CoreSecurityContext -from flyteadmin.models.core_signal_condition import CoreSignalCondition -from flyteadmin.models.core_simple_type import CoreSimpleType -from flyteadmin.models.core_sleep_condition import CoreSleepCondition -from flyteadmin.models.core_span import CoreSpan -from flyteadmin.models.core_sql import CoreSql -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase -from flyteadmin.models.core_task_log import CoreTaskLog -from flyteadmin.models.core_task_metadata import CoreTaskMetadata -from flyteadmin.models.core_task_node import CoreTaskNode -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides -from flyteadmin.models.core_task_template import CoreTaskTemplate -from flyteadmin.models.core_time_partition import CoreTimePartition -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation -from flyteadmin.models.core_type_structure import CoreTypeStructure -from flyteadmin.models.core_typed_interface import CoreTypedInterface -from flyteadmin.models.core_union import CoreUnion -from flyteadmin.models.core_union_info import CoreUnionInfo -from flyteadmin.models.core_union_type import CoreUnionType -from flyteadmin.models.core_variable import CoreVariable -from flyteadmin.models.core_variable_map import CoreVariableMap -from flyteadmin.models.core_void import CoreVoid -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults -from flyteadmin.models.core_workflow_node import CoreWorkflowNode -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat -from flyteadmin.models.event_event_reason import EventEventReason -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution -from flyteadmin.models.flyteidladmin_task_create_request import FlyteidladminTaskCreateRequest -from flyteadmin.models.flyteidladmin_task_create_response import FlyteidladminTaskCreateResponse -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidlevent_task_execution_metadata import FlyteidleventTaskExecutionMetadata -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior -from flyteadmin.models.project_project_state import ProjectProjectState -from flyteadmin.models.protobuf_any import ProtobufAny -from flyteadmin.models.protobuf_list_value import ProtobufListValue -from flyteadmin.models.protobuf_null_value import ProtobufNullValue -from flyteadmin.models.protobuf_struct import ProtobufStruct -from flyteadmin.models.protobuf_value import ProtobufValue -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry -from flyteadmin.models.resources_resource_name import ResourcesResourceName -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn -from flyteadmin.models.secret_mount_type import SecretMountType -from flyteadmin.models.sort_direction import SortDirection -from flyteadmin.models.sql_dialect import SqlDialect -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py deleted file mode 100644 index 3da695695e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -from __future__ import absolute_import - -# flake8: noqa - -# import apis into api package -from flyteadmin.api.admin_service_api import AdminServiceApi diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py deleted file mode 100644 index ae5b86baaf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py +++ /dev/null @@ -1,14421 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import re # noqa: F401 - -# python 2 and python 3 compatibility library -import six - -from flyteadmin.api_client import ApiClient - - -class AdminServiceApi(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - - def create_execution(self, body, **kwargs): # noqa: E501 - """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_execution(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionCreateRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_execution_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_execution_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_execution_with_http_info(self, body, **kwargs): # noqa: E501 - """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_execution_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionCreateRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_execution2(self, org, body, **kwargs): # noqa: E501 - """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_execution2(org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param AdminExecutionCreateRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_execution2_with_http_info(org, body, **kwargs) # noqa: E501 - else: - (data) = self.create_execution2_with_http_info(org, body, **kwargs) # noqa: E501 - return data - - def create_execution2_with_http_info(self, org, body, **kwargs): # noqa: E501 - """Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_execution2_with_http_info(org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param AdminExecutionCreateRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `create_execution2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/org/{org}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_launch_plan(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_launch_plan(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminLaunchPlanCreateRequest body: (required) - :return: AdminLaunchPlanCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_launch_plan_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_launch_plan_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_launch_plan_with_http_info(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_launch_plan_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminLaunchPlanCreateRequest body: (required) - :return: AdminLaunchPlanCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_launch_plan2(self, id_org, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_launch_plan2(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminLaunchPlanCreateRequest body: (required) - :return: AdminLaunchPlanCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_launch_plan2_with_http_info(id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.create_launch_plan2_with_http_info(id_org, body, **kwargs) # noqa: E501 - return data - - def create_launch_plan2_with_http_info(self, id_org, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_launch_plan2_with_http_info(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminLaunchPlanCreateRequest body: (required) - :return: AdminLaunchPlanCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_launch_plan2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `create_launch_plan2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_launch_plan2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/org/{id.org}', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_node_event(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_node_event(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminNodeExecutionEventRequest body: (required) - :return: AdminNodeExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_node_event_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_node_event_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_node_event_with_http_info(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_node_event_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminNodeExecutionEventRequest body: (required) - :return: AdminNodeExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_node_event" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_node_event`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/nodes', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_node_event2(self, event_id_execution_id_org, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_node_event2(event_id_execution_id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str event_id_execution_id_org: Optional, org key applied to the resource. (required) - :param AdminNodeExecutionEventRequest body: (required) - :return: AdminNodeExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_node_event2_with_http_info(event_id_execution_id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.create_node_event2_with_http_info(event_id_execution_id_org, body, **kwargs) # noqa: E501 - return data - - def create_node_event2_with_http_info(self, event_id_execution_id_org, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_node_event2_with_http_info(event_id_execution_id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str event_id_execution_id_org: Optional, org key applied to the resource. (required) - :param AdminNodeExecutionEventRequest body: (required) - :return: AdminNodeExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['event_id_execution_id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_node_event2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'event_id_execution_id_org' is set - if ('event_id_execution_id_org' not in params or - params['event_id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `event_id_execution_id_org` when calling `create_node_event2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_node_event2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'event_id_execution_id_org' in params: - path_params['event.id.execution_id.org'] = params['event_id_execution_id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/org/{event.id.execution_id.org}/nodes', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_task(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FlyteidladminTaskCreateRequest body: (required) - :return: FlyteidladminTaskCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_task_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_task_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_task_with_http_info(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param FlyteidladminTaskCreateRequest body: (required) - :return: FlyteidladminTaskCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_task" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_task`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminTaskCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_task2(self, id_org, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task2(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param FlyteidladminTaskCreateRequest body: (required) - :return: FlyteidladminTaskCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_task2_with_http_info(id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.create_task2_with_http_info(id_org, body, **kwargs) # noqa: E501 - return data - - def create_task2_with_http_info(self, id_org, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task2_with_http_info(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param FlyteidladminTaskCreateRequest body: (required) - :return: FlyteidladminTaskCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_task2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `create_task2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_task2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/org/{id.org}', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminTaskCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_task_event(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_event(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminTaskExecutionEventRequest body: (required) - :return: AdminTaskExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_task_event_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_task_event_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_task_event_with_http_info(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_event_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminTaskExecutionEventRequest body: (required) - :return: AdminTaskExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_task_event" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_task_event`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/tasks', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_task_event2(self, event_parent_node_execution_id_execution_id_org, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_event2(event_parent_node_execution_id_execution_id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str event_parent_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param AdminTaskExecutionEventRequest body: (required) - :return: AdminTaskExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_task_event2_with_http_info(event_parent_node_execution_id_execution_id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.create_task_event2_with_http_info(event_parent_node_execution_id_execution_id_org, body, **kwargs) # noqa: E501 - return data - - def create_task_event2_with_http_info(self, event_parent_node_execution_id_execution_id_org, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_task_event2_with_http_info(event_parent_node_execution_id_execution_id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str event_parent_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param AdminTaskExecutionEventRequest body: (required) - :return: AdminTaskExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['event_parent_node_execution_id_execution_id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_task_event2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'event_parent_node_execution_id_execution_id_org' is set - if ('event_parent_node_execution_id_execution_id_org' not in params or - params['event_parent_node_execution_id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `event_parent_node_execution_id_execution_id_org` when calling `create_task_event2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_task_event2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'event_parent_node_execution_id_execution_id_org' in params: - path_params['event.parent_node_execution_id.execution_id.org'] = params['event_parent_node_execution_id_execution_id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/org/{event.parent_node_execution_id.execution_id.org}/tasks', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_workflow(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowCreateRequest body: (required) - :return: AdminWorkflowCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_workflow_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_workflow_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_workflow_with_http_info(self, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowCreateRequest body: (required) - :return: AdminWorkflowCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_workflow" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_workflow`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_workflow2(self, id_org, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow2(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminWorkflowCreateRequest body: (required) - :return: AdminWorkflowCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_workflow2_with_http_info(id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.create_workflow2_with_http_info(id_org, body, **kwargs) # noqa: E501 - return data - - def create_workflow2_with_http_info(self, id_org, body, **kwargs): # noqa: E501 - """Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow2_with_http_info(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminWorkflowCreateRequest body: (required) - :return: AdminWorkflowCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_workflow2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `create_workflow2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_workflow2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/org/{id.org}', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_workflow_event(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_event(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowExecutionEventRequest body: (required) - :return: AdminWorkflowExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_workflow_event_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.create_workflow_event_with_http_info(body, **kwargs) # noqa: E501 - return data - - def create_workflow_event_with_http_info(self, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_event_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminWorkflowExecutionEventRequest body: (required) - :return: AdminWorkflowExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_workflow_event" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_workflow_event`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/workflows', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_workflow_event2(self, event_execution_id_org, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_event2(event_execution_id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str event_execution_id_org: Optional, org key applied to the resource. (required) - :param AdminWorkflowExecutionEventRequest body: (required) - :return: AdminWorkflowExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_workflow_event2_with_http_info(event_execution_id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.create_workflow_event2_with_http_info(event_execution_id_org, body, **kwargs) # noqa: E501 - return data - - def create_workflow_event2_with_http_info(self, event_execution_id_org, body, **kwargs): # noqa: E501 - """Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_workflow_event2_with_http_info(event_execution_id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str event_execution_id_org: Optional, org key applied to the resource. (required) - :param AdminWorkflowExecutionEventRequest body: (required) - :return: AdminWorkflowExecutionEventResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['event_execution_id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_workflow_event2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'event_execution_id_org' is set - if ('event_execution_id_org' not in params or - params['event_execution_id_org'] is None): - raise ValueError("Missing the required parameter `event_execution_id_org` when calling `create_workflow_event2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_workflow_event2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'event_execution_id_org' in params: - path_params['event.execution_id.org'] = params['event_execution_id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/events/org/{event.execution_id.org}/workflows', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionEventResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_project_attributes(self, project, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_attributes(project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param AdminProjectAttributesDeleteRequest body: (required) - :return: AdminProjectAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_project_attributes_with_http_info(project, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_project_attributes_with_http_info(project, body, **kwargs) # noqa: E501 - return data - - def delete_project_attributes_with_http_info(self, project, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_attributes_with_http_info(project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param AdminProjectAttributesDeleteRequest body: (required) - :return: AdminProjectAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_project_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_project_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_project_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_attributes/{project}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_project_attributes2(self, org, project, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_attributes2(org, project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the project. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param AdminProjectAttributesDeleteRequest body: (required) - :return: AdminProjectAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_project_attributes2_with_http_info(org, project, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_project_attributes2_with_http_info(org, project, body, **kwargs) # noqa: E501 - return data - - def delete_project_attributes2_with_http_info(self, org, project, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_attributes2_with_http_info(org, project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the project. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param AdminProjectAttributesDeleteRequest body: (required) - :return: AdminProjectAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_project_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `delete_project_attributes2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_project_attributes2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_project_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/org/{org}/{project}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_project_domain_attributes(self, project, domain, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_domain_attributes(project, domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param AdminProjectDomainAttributesDeleteRequest body: (required) - :return: AdminProjectDomainAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_project_domain_attributes_with_http_info(project, domain, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_project_domain_attributes_with_http_info(project, domain, body, **kwargs) # noqa: E501 - return data - - def delete_project_domain_attributes_with_http_info(self, project, domain, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_domain_attributes_with_http_info(project, domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param AdminProjectDomainAttributesDeleteRequest body: (required) - :return: AdminProjectDomainAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_project_domain_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `delete_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_project_domain_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/{project}/{domain}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_project_domain_attributes2(self, org, project, domain, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_domain_attributes2(org, project, domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param AdminProjectDomainAttributesDeleteRequest body: (required) - :return: AdminProjectDomainAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_project_domain_attributes2_with_http_info(org, project, domain, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_project_domain_attributes2_with_http_info(org, project, domain, body, **kwargs) # noqa: E501 - return data - - def delete_project_domain_attributes2_with_http_info(self, org, project, domain, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_project_domain_attributes2_with_http_info(org, project, domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param AdminProjectDomainAttributesDeleteRequest body: (required) - :return: AdminProjectDomainAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_project_domain_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `delete_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `delete_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_project_domain_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/org/{org}/{project}/{domain}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_workflow_attributes(self, project, domain, workflow, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_workflow_attributes(project, domain, workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param AdminWorkflowAttributesDeleteRequest body: (required) - :return: AdminWorkflowAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_workflow_attributes_with_http_info(project, domain, workflow, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_workflow_attributes_with_http_info(project, domain, workflow, body, **kwargs) # noqa: E501 - return data - - def delete_workflow_attributes_with_http_info(self, project, domain, workflow, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_workflow_attributes_with_http_info(project, domain, workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param AdminWorkflowAttributesDeleteRequest body: (required) - :return: AdminWorkflowAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'workflow', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_workflow_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_workflow_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `delete_workflow_attributes`") # noqa: E501 - # verify the required parameter 'workflow' is set - if ('workflow' not in params or - params['workflow'] is None): - raise ValueError("Missing the required parameter `workflow` when calling `delete_workflow_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_workflow_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - if 'workflow' in params: - path_params['workflow'] = params['workflow'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/{project}/{domain}/{workflow}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_workflow_attributes2(self, org, project, domain, workflow, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_workflow_attributes2(org, project, domain, workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param AdminWorkflowAttributesDeleteRequest body: (required) - :return: AdminWorkflowAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_workflow_attributes2_with_http_info(org, project, domain, workflow, body, **kwargs) # noqa: E501 - else: - (data) = self.delete_workflow_attributes2_with_http_info(org, project, domain, workflow, body, **kwargs) # noqa: E501 - return data - - def delete_workflow_attributes2_with_http_info(self, org, project, domain, workflow, body, **kwargs): # noqa: E501 - """Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_workflow_attributes2_with_http_info(org, project, domain, workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param AdminWorkflowAttributesDeleteRequest body: (required) - :return: AdminWorkflowAttributesDeleteResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'workflow', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_workflow_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `delete_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `delete_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `delete_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'workflow' is set - if ('workflow' not in params or - params['workflow'] is None): - raise ValueError("Missing the required parameter `workflow` when calling `delete_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_workflow_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - if 'workflow' in params: - path_params['workflow'] = params['workflow'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesDeleteResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_active_launch_plan(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_launch_plan(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_active_launch_plan_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_launch_plan_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_active_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_active_launch_plan`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_active_launch_plan`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_active_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_active_launch_plan2(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_launch_plan2(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_active_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_active_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_active_launch_plan2_with_http_info(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_active_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_active_launch_plan2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_active_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_active_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_active_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_active_launch_plan2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_description_entity(self, id_resource_type, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_description_entity(id_resource_type, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminDescriptionEntity - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_description_entity_with_http_info(id_resource_type, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_description_entity_with_http_info(id_resource_type, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_description_entity_with_http_info(self, id_resource_type, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_description_entity_with_http_info(id_resource_type, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminDescriptionEntity - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_resource_type', 'id_project', 'id_domain', 'id_name', 'id_version', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_description_entity" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_resource_type' is set - if ('id_resource_type' not in params or - params['id_resource_type'] is None): - raise ValueError("Missing the required parameter `id_resource_type` when calling `get_description_entity`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_description_entity`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_description_entity`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_description_entity`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_description_entity`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_resource_type' in params: - path_params['id.resource_type'] = params['id_resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDescriptionEntity', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_description_entity2(self, id_org, id_resource_type, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_description_entity2(id_org, id_resource_type, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :return: AdminDescriptionEntity - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_description_entity2_with_http_info(id_org, id_resource_type, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_description_entity2_with_http_info(id_org, id_resource_type, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_description_entity2_with_http_info(self, id_org, id_resource_type, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_description_entity2_with_http_info(id_org, id_resource_type, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :return: AdminDescriptionEntity - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_resource_type', 'id_project', 'id_domain', 'id_name', 'id_version'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_description_entity2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_description_entity2`") # noqa: E501 - # verify the required parameter 'id_resource_type' is set - if ('id_resource_type' not in params or - params['id_resource_type'] is None): - raise ValueError("Missing the required parameter `id_resource_type` when calling `get_description_entity2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_description_entity2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_description_entity2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_description_entity2`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_description_entity2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_resource_type' in params: - path_params['id.resource_type'] = params['id_resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDescriptionEntity', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_dynamic_node_workflow(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dynamic_node_workflow(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :param str id_execution_id_org: Optional, org key applied to the resource. - :return: AdminDynamicNodeWorkflowResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_dynamic_node_workflow_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_dynamic_node_workflow_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_dynamic_node_workflow_with_http_info(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dynamic_node_workflow_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :param str id_execution_id_org: Optional, org key applied to the resource. - :return: AdminDynamicNodeWorkflowResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id', 'id_execution_id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_dynamic_node_workflow" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_dynamic_node_workflow`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_dynamic_node_workflow`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_dynamic_node_workflow`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_dynamic_node_workflow`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - if 'id_execution_id_org' in params: - query_params.append(('id.execution_id.org', params['id_execution_id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDynamicNodeWorkflowResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_dynamic_node_workflow2(self, id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dynamic_node_workflow2(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: AdminDynamicNodeWorkflowResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_dynamic_node_workflow2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_dynamic_node_workflow2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_dynamic_node_workflow2_with_http_info(self, id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_dynamic_node_workflow2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: AdminDynamicNodeWorkflowResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_org', 'id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_dynamic_node_workflow2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_org' is set - if ('id_execution_id_org' not in params or - params['id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `id_execution_id_org` when calling `get_dynamic_node_workflow2`") # noqa: E501 - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_dynamic_node_workflow2`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_dynamic_node_workflow2`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_dynamic_node_workflow2`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_dynamic_node_workflow2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_org' in params: - path_params['id.execution_id.org'] = params['id_execution_id_org'] # noqa: E501 - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDynamicNodeWorkflowResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution2(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution2(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution2_with_http_info(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution2_with_http_info(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_execution2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution_data(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_data(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminWorkflowExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution_data_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution_data_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution_data_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_data_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminWorkflowExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution_data" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution_data`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution_data`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution_data`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/executions/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution_data2(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_data2(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminWorkflowExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution_data2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution_data2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution_data2_with_http_info(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_data2_with_http_info(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :return: AdminWorkflowExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution_data2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_execution_data2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution_data2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution_data2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution_data2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution_metrics(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_metrics(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :param int depth: depth defines the number of Flyte entity levels to traverse when breaking down execution details. - :return: AdminWorkflowExecutionGetMetricsResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution_metrics_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution_metrics_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution_metrics_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_metrics_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param str id_org: Optional, org key applied to the resource. - :param int depth: depth defines the number of Flyte entity levels to traverse when breaking down execution details. - :return: AdminWorkflowExecutionGetMetricsResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'depth'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution_metrics" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution_metrics`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution_metrics`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution_metrics`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'depth' in params: - query_params.append(('depth', params['depth'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionGetMetricsResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_execution_metrics2(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_metrics2(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param int depth: depth defines the number of Flyte entity levels to traverse when breaking down execution details. - :return: AdminWorkflowExecutionGetMetricsResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_execution_metrics2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_execution_metrics2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_execution_metrics2_with_http_info(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_execution_metrics2_with_http_info(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param int depth: depth defines the number of Flyte entity levels to traverse when breaking down execution details. - :return: AdminWorkflowExecutionGetMetricsResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'depth'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_execution_metrics2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_execution_metrics2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_execution_metrics2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_execution_metrics2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_execution_metrics2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'depth' in params: - query_params.append(('depth', params['depth'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowExecutionGetMetricsResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_launch_plan(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_launch_plan(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_org: Optional, org key applied to the resource. - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_launch_plan_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_org: Optional, org key applied to the resource. - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_launch_plan`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_launch_plan`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_launch_plan`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_launch_plan2(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_launch_plan2(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_launch_plan2_with_http_info(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :return: AdminLaunchPlan - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_launch_plan2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_launch_plan2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlan', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_named_entity(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_named_entity(resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminNamedEntity - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_named_entity_with_http_info(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :return: AdminNamedEntity - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'id_project', 'id_domain', 'id_name', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_named_entity" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `get_named_entity`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_named_entity`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_named_entity`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_named_entity`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntity', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_named_entity2(self, id_org, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_named_entity2(id_org, resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminNamedEntity - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_named_entity2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.get_named_entity2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def get_named_entity2_with_http_info(self, id_org, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_named_entity2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :return: AdminNamedEntity - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'resource_type', 'id_project', 'id_domain', 'id_name'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_named_entity2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_named_entity2`") # noqa: E501 - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `get_named_entity2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_named_entity2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_named_entity2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_named_entity2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntity', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_node_execution(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :param str id_execution_id_org: Optional, org key applied to the resource. - :return: FlyteidladminNodeExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_node_execution_with_http_info(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :param str id_execution_id_org: Optional, org key applied to the resource. - :return: FlyteidladminNodeExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id', 'id_execution_id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_node_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - if 'id_execution_id_org' in params: - query_params.append(('id.execution_id.org', params['id_execution_id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminNodeExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_node_execution2(self, id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution2(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: FlyteidladminNodeExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_node_execution2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_node_execution2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_node_execution2_with_http_info(self, id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: FlyteidladminNodeExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_org', 'id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_node_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_org' is set - if ('id_execution_id_org' not in params or - params['id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `id_execution_id_org` when calling `get_node_execution2`") # noqa: E501 - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution2`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution2`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution2`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_org' in params: - path_params['id.execution_id.org'] = params['id_execution_id_org'] # noqa: E501 - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminNodeExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_node_execution_data(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_data(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :param str id_execution_id_org: Optional, org key applied to the resource. - :return: AdminNodeExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_node_execution_data_with_http_info(self, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_data_with_http_info(id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :param str id_execution_id_org: Optional, org key applied to the resource. - :return: AdminNodeExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id', 'id_execution_id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_node_execution_data" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution_data`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution_data`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution_data`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - if 'id_execution_id_org' in params: - query_params.append(('id.execution_id.org', params['id_execution_id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_node_execution_data2(self, id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_data2(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: AdminNodeExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_node_execution_data2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.get_node_execution_data2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs) # noqa: E501 - return data - - def get_node_execution_data2_with_http_info(self, id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_node_execution_data2_with_http_info(id_execution_id_org, id_execution_id_project, id_execution_id_domain, id_execution_id_name, id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_id: (required) - :return: AdminNodeExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_execution_id_org', 'id_execution_id_project', 'id_execution_id_domain', 'id_execution_id_name', 'id_node_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_node_execution_data2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_execution_id_org' is set - if ('id_execution_id_org' not in params or - params['id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `id_execution_id_org` when calling `get_node_execution_data2`") # noqa: E501 - # verify the required parameter 'id_execution_id_project' is set - if ('id_execution_id_project' not in params or - params['id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_execution_id_project` when calling `get_node_execution_data2`") # noqa: E501 - # verify the required parameter 'id_execution_id_domain' is set - if ('id_execution_id_domain' not in params or - params['id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_execution_id_domain` when calling `get_node_execution_data2`") # noqa: E501 - # verify the required parameter 'id_execution_id_name' is set - if ('id_execution_id_name' not in params or - params['id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_execution_id_name` when calling `get_node_execution_data2`") # noqa: E501 - # verify the required parameter 'id_node_id' is set - if ('id_node_id' not in params or - params['id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_id` when calling `get_node_execution_data2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_execution_id_org' in params: - path_params['id.execution_id.org'] = params['id_execution_id_org'] # noqa: E501 - if 'id_execution_id_project' in params: - path_params['id.execution_id.project'] = params['id_execution_id_project'] # noqa: E501 - if 'id_execution_id_domain' in params: - path_params['id.execution_id.domain'] = params['id_execution_id_domain'] # noqa: E501 - if 'id_execution_id_name' in params: - path_params['id.execution_id.name'] = params['id_execution_id_name'] # noqa: E501 - if 'id_node_id' in params: - path_params['id.node_id'] = params['id_node_id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_project_attributes(self, project, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_attributes(project, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org key applied to the project. - :return: AdminProjectAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_project_attributes_with_http_info(project, **kwargs) # noqa: E501 - else: - (data) = self.get_project_attributes_with_http_info(project, **kwargs) # noqa: E501 - return data - - def get_project_attributes_with_http_info(self, project, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_attributes_with_http_info(project, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org key applied to the project. - :return: AdminProjectAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'resource_type', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_project_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_project_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_attributes/{project}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_project_attributes2(self, org, project, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_attributes2(org, project, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the project. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminProjectAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_project_attributes2_with_http_info(org, project, **kwargs) # noqa: E501 - else: - (data) = self.get_project_attributes2_with_http_info(org, project, **kwargs) # noqa: E501 - return data - - def get_project_attributes2_with_http_info(self, org, project, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_attributes2_with_http_info(org, project, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the project. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminProjectAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_project_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `get_project_attributes2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_project_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/org/{org}/{project}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_project_domain_attributes(self, project, domain, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_domain_attributes(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org key applied to the attributes. - :return: AdminProjectDomainAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_project_domain_attributes_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.get_project_domain_attributes_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def get_project_domain_attributes_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_domain_attributes_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org key applied to the attributes. - :return: AdminProjectDomainAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'resource_type', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_project_domain_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `get_project_domain_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_project_domain_attributes2(self, org, project, domain, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_domain_attributes2(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminProjectDomainAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_project_domain_attributes2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.get_project_domain_attributes2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - return data - - def get_project_domain_attributes2_with_http_info(self, org, project, domain, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_project_domain_attributes2_with_http_info(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminProjectDomainAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_project_domain_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `get_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `get_project_domain_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/org/{org}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_org: Optional, org key applied to the resource. - :return: AdminTask - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_task_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_task_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_org: Optional, org key applied to the resource. - :return: AdminTask - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_task`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_task`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_task`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_task`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTask', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task2(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task2(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :return: AdminTask - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_task2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_task2_with_http_info(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task2_with_http_info(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :return: AdminTask - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_task2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_task2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_task2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_task2`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_task2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTask', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task_execution(self, 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, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution(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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. - :return: FlyteidladminTaskExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_execution_with_http_info(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, **kwargs) # noqa: E501 - else: - (data) = self.get_task_execution_with_http_info(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, **kwargs) # noqa: E501 - return data - - def get_task_execution_with_http_info(self, 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, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_with_http_info(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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. - :return: FlyteidladminTaskExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['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', 'id_task_id_resource_type', 'id_task_id_org', 'id_node_execution_id_execution_id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_node_execution_id_execution_id_project' is set - if ('id_node_execution_id_execution_id_project' not in params or - params['id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_domain' is set - if ('id_node_execution_id_execution_id_domain' not in params or - params['id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_name' is set - if ('id_node_execution_id_execution_id_name' not in params or - params['id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_node_id' is set - if ('id_node_execution_id_node_id' not in params or - params['id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_project' is set - if ('id_task_id_project' not in params or - params['id_task_id_project'] is None): - raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_domain' is set - if ('id_task_id_domain' not in params or - params['id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_name' is set - if ('id_task_id_name' not in params or - params['id_task_id_name'] is None): - raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_task_id_version' is set - if ('id_task_id_version' not in params or - params['id_task_id_version'] is None): - raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution`") # noqa: E501 - # verify the required parameter 'id_retry_attempt' is set - if ('id_retry_attempt' not in params or - params['id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_node_execution_id_execution_id_project' in params: - path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 - if 'id_node_execution_id_execution_id_domain' in params: - path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'id_node_execution_id_execution_id_name' in params: - path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 - if 'id_node_execution_id_node_id' in params: - path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 - if 'id_task_id_project' in params: - path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 - if 'id_task_id_domain' in params: - path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 - if 'id_task_id_name' in params: - path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 - if 'id_task_id_version' in params: - path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 - if 'id_retry_attempt' in params: - path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'id_task_id_resource_type' in params: - query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 - if 'id_task_id_org' in params: - query_params.append(('id.task_id.org', params['id_task_id_org'])) # noqa: E501 - if 'id_node_execution_id_execution_id_org' in params: - query_params.append(('id.node_execution_id.execution_id.org', params['id_node_execution_id_execution_id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/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}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminTaskExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task_execution2(self, id_node_execution_id_execution_id_org, 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, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution2(id_node_execution_id_execution_id_org, 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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :return: FlyteidladminTaskExecution - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_execution2_with_http_info(id_node_execution_id_execution_id_org, 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, **kwargs) # noqa: E501 - else: - (data) = self.get_task_execution2_with_http_info(id_node_execution_id_execution_id_org, 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, **kwargs) # noqa: E501 - return data - - def get_task_execution2_with_http_info(self, id_node_execution_id_execution_id_org, 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, **kwargs): # noqa: E501 - """Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution2_with_http_info(id_node_execution_id_execution_id_org, 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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :return: FlyteidladminTaskExecution - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_node_execution_id_execution_id_org', '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', 'id_task_id_resource_type', 'id_task_id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_node_execution_id_execution_id_org' is set - if ('id_node_execution_id_execution_id_org' not in params or - params['id_node_execution_id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_org` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_project' is set - if ('id_node_execution_id_execution_id_project' not in params or - params['id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_domain' is set - if ('id_node_execution_id_execution_id_domain' not in params or - params['id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_name' is set - if ('id_node_execution_id_execution_id_name' not in params or - params['id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_node_id' is set - if ('id_node_execution_id_node_id' not in params or - params['id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_task_id_project' is set - if ('id_task_id_project' not in params or - params['id_task_id_project'] is None): - raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_task_id_domain' is set - if ('id_task_id_domain' not in params or - params['id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_task_id_name' is set - if ('id_task_id_name' not in params or - params['id_task_id_name'] is None): - raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_task_id_version' is set - if ('id_task_id_version' not in params or - params['id_task_id_version'] is None): - raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution2`") # noqa: E501 - # verify the required parameter 'id_retry_attempt' is set - if ('id_retry_attempt' not in params or - params['id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_node_execution_id_execution_id_org' in params: - path_params['id.node_execution_id.execution_id.org'] = params['id_node_execution_id_execution_id_org'] # noqa: E501 - if 'id_node_execution_id_execution_id_project' in params: - path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 - if 'id_node_execution_id_execution_id_domain' in params: - path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'id_node_execution_id_execution_id_name' in params: - path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 - if 'id_node_execution_id_node_id' in params: - path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 - if 'id_task_id_project' in params: - path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 - if 'id_task_id_domain' in params: - path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 - if 'id_task_id_name' in params: - path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 - if 'id_task_id_version' in params: - path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 - if 'id_retry_attempt' in params: - path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'id_task_id_resource_type' in params: - query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 - if 'id_task_id_org' in params: - query_params.append(('id.task_id.org', params['id_task_id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='FlyteidladminTaskExecution', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task_execution_data(self, 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, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_data(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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. - :return: AdminTaskExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_execution_data_with_http_info(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, **kwargs) # noqa: E501 - else: - (data) = self.get_task_execution_data_with_http_info(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, **kwargs) # noqa: E501 - return data - - def get_task_execution_data_with_http_info(self, 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, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_data_with_http_info(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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. - :return: AdminTaskExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['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', 'id_task_id_resource_type', 'id_task_id_org', 'id_node_execution_id_execution_id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task_execution_data" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_node_execution_id_execution_id_project' is set - if ('id_node_execution_id_execution_id_project' not in params or - params['id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_domain' is set - if ('id_node_execution_id_execution_id_domain' not in params or - params['id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_name' is set - if ('id_node_execution_id_execution_id_name' not in params or - params['id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_node_id' is set - if ('id_node_execution_id_node_id' not in params or - params['id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_project' is set - if ('id_task_id_project' not in params or - params['id_task_id_project'] is None): - raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_domain' is set - if ('id_task_id_domain' not in params or - params['id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_name' is set - if ('id_task_id_name' not in params or - params['id_task_id_name'] is None): - raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_task_id_version' is set - if ('id_task_id_version' not in params or - params['id_task_id_version'] is None): - raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution_data`") # noqa: E501 - # verify the required parameter 'id_retry_attempt' is set - if ('id_retry_attempt' not in params or - params['id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution_data`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_node_execution_id_execution_id_project' in params: - path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 - if 'id_node_execution_id_execution_id_domain' in params: - path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'id_node_execution_id_execution_id_name' in params: - path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 - if 'id_node_execution_id_node_id' in params: - path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 - if 'id_task_id_project' in params: - path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 - if 'id_task_id_domain' in params: - path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 - if 'id_task_id_name' in params: - path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 - if 'id_task_id_version' in params: - path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 - if 'id_retry_attempt' in params: - path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'id_task_id_resource_type' in params: - query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 - if 'id_task_id_org' in params: - query_params.append(('id.task_id.org', params['id_task_id_org'])) # noqa: E501 - if 'id_node_execution_id_execution_id_org' in params: - query_params.append(('id.node_execution_id.execution_id.org', params['id_node_execution_id_execution_id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/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}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_task_execution_data2(self, id_node_execution_id_execution_id_org, 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, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_data2(id_node_execution_id_execution_id_org, 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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :return: AdminTaskExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_task_execution_data2_with_http_info(id_node_execution_id_execution_id_org, 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, **kwargs) # noqa: E501 - else: - (data) = self.get_task_execution_data2_with_http_info(id_node_execution_id_execution_id_org, 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, **kwargs) # noqa: E501 - return data - - def get_task_execution_data2_with_http_info(self, id_node_execution_id_execution_id_org, 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, **kwargs): # noqa: E501 - """Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_task_execution_data2_with_http_info(id_node_execution_id_execution_id_org, 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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str id_node_execution_id_node_id: (required) - :param str id_task_id_project: Name of the project the resource belongs to. (required) - :param str id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_task_id_name: User provided value for the resource. (required) - :param str id_task_id_version: Specific version of the resource. (required) - :param int id_retry_attempt: (required) - :param str id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_task_id_org: Optional, org key applied to the resource. - :return: AdminTaskExecutionGetDataResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_node_execution_id_execution_id_org', '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', 'id_task_id_resource_type', 'id_task_id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_task_execution_data2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_node_execution_id_execution_id_org' is set - if ('id_node_execution_id_execution_id_org' not in params or - params['id_node_execution_id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_org` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_project' is set - if ('id_node_execution_id_execution_id_project' not in params or - params['id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_project` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_domain' is set - if ('id_node_execution_id_execution_id_domain' not in params or - params['id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_domain` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_execution_id_name' is set - if ('id_node_execution_id_execution_id_name' not in params or - params['id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_execution_id_name` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_node_execution_id_node_id' is set - if ('id_node_execution_id_node_id' not in params or - params['id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `id_node_execution_id_node_id` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_task_id_project' is set - if ('id_task_id_project' not in params or - params['id_task_id_project'] is None): - raise ValueError("Missing the required parameter `id_task_id_project` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_task_id_domain' is set - if ('id_task_id_domain' not in params or - params['id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `id_task_id_domain` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_task_id_name' is set - if ('id_task_id_name' not in params or - params['id_task_id_name'] is None): - raise ValueError("Missing the required parameter `id_task_id_name` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_task_id_version' is set - if ('id_task_id_version' not in params or - params['id_task_id_version'] is None): - raise ValueError("Missing the required parameter `id_task_id_version` when calling `get_task_execution_data2`") # noqa: E501 - # verify the required parameter 'id_retry_attempt' is set - if ('id_retry_attempt' not in params or - params['id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `id_retry_attempt` when calling `get_task_execution_data2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_node_execution_id_execution_id_org' in params: - path_params['id.node_execution_id.execution_id.org'] = params['id_node_execution_id_execution_id_org'] # noqa: E501 - if 'id_node_execution_id_execution_id_project' in params: - path_params['id.node_execution_id.execution_id.project'] = params['id_node_execution_id_execution_id_project'] # noqa: E501 - if 'id_node_execution_id_execution_id_domain' in params: - path_params['id.node_execution_id.execution_id.domain'] = params['id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'id_node_execution_id_execution_id_name' in params: - path_params['id.node_execution_id.execution_id.name'] = params['id_node_execution_id_execution_id_name'] # noqa: E501 - if 'id_node_execution_id_node_id' in params: - path_params['id.node_execution_id.node_id'] = params['id_node_execution_id_node_id'] # noqa: E501 - if 'id_task_id_project' in params: - path_params['id.task_id.project'] = params['id_task_id_project'] # noqa: E501 - if 'id_task_id_domain' in params: - path_params['id.task_id.domain'] = params['id_task_id_domain'] # noqa: E501 - if 'id_task_id_name' in params: - path_params['id.task_id.name'] = params['id_task_id_name'] # noqa: E501 - if 'id_task_id_version' in params: - path_params['id.task_id.version'] = params['id_task_id_version'] # noqa: E501 - if 'id_retry_attempt' in params: - path_params['id.retry_attempt'] = params['id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'id_task_id_resource_type' in params: - query_params.append(('id.task_id.resource_type', params['id_task_id_resource_type'])) # noqa: E501 - if 'id_task_id_org' in params: - query_params.append(('id.task_id.org', params['id_task_id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionGetDataResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_version(self, **kwargs): # noqa: E501 - """get_version # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_version(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: AdminGetVersionResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_version_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.get_version_with_http_info(**kwargs) # noqa: E501 - return data - - def get_version_with_http_info(self, **kwargs): # noqa: E501 - """get_version # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_version_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: AdminGetVersionResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_version" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/version', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminGetVersionResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_workflow(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_org: Optional, org key applied to the resource. - :return: AdminWorkflow - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_workflow_with_http_info(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_with_http_info(id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str id_org: Optional, org key applied to the resource. - :return: AdminWorkflow - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type', 'id_org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_workflow" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_workflow`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_workflow`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_workflow`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_workflow`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflow', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_workflow2(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow2(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :return: AdminWorkflow - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_workflow2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.get_workflow2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def get_workflow2_with_http_info(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow2_with_http_info(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param str id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :return: AdminWorkflow - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'id_version', 'id_resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_workflow2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `get_workflow2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `get_workflow2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `get_workflow2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `get_workflow2`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `get_workflow2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - if 'id_resource_type' in params: - query_params.append(('id.resource_type', params['id_resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflow', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_workflow_attributes(self, project, domain, workflow, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_attributes(project, domain, workflow, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org key applied to the attributes. - :return: AdminWorkflowAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_workflow_attributes_with_http_info(project, domain, workflow, **kwargs) # noqa: E501 - else: - (data) = self.get_workflow_attributes_with_http_info(project, domain, workflow, **kwargs) # noqa: E501 - return data - - def get_workflow_attributes_with_http_info(self, project, domain, workflow, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_attributes_with_http_info(project, domain, workflow, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org key applied to the attributes. - :return: AdminWorkflowAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'workflow', 'resource_type', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_workflow_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_workflow_attributes`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `get_workflow_attributes`") # noqa: E501 - # verify the required parameter 'workflow' is set - if ('workflow' not in params or - params['workflow'] is None): - raise ValueError("Missing the required parameter `workflow` when calling `get_workflow_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - if 'workflow' in params: - path_params['workflow'] = params['workflow'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/{project}/{domain}/{workflow}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_workflow_attributes2(self, org, project, domain, workflow, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_attributes2(org, project, domain, workflow, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminWorkflowAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.get_workflow_attributes2_with_http_info(org, project, domain, workflow, **kwargs) # noqa: E501 - else: - (data) = self.get_workflow_attributes2_with_http_info(org, project, domain, workflow, **kwargs) # noqa: E501 - return data - - def get_workflow_attributes2_with_http_info(self, org, project, domain, workflow, **kwargs): # noqa: E501 - """Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_workflow_attributes2_with_http_info(org, project, domain, workflow, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the attributes. (required) - :param str project: Unique project id which this set of attributes references. +required (required) - :param str domain: Unique domain id which this set of attributes references. +required (required) - :param str workflow: Workflow name which this set of attributes references. +required (required) - :param str resource_type: Which type of matchable attributes to return. +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminWorkflowAttributesGetResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'workflow', 'resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_workflow_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `get_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `get_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `get_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'workflow' is set - if ('workflow' not in params or - params['workflow'] is None): - raise ValueError("Missing the required parameter `workflow` when calling `get_workflow_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - if 'workflow' in params: - path_params['workflow'] = params['workflow'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesGetResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_active_launch_plans(self, project, domain, **kwargs): # noqa: E501 - """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_active_launch_plans(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required. (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str org: Optional, org key applied to the resource. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_active_launch_plans_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_active_launch_plans_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_active_launch_plans_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_active_launch_plans_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required. (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str org: Optional, org key applied to the resource. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_active_launch_plans" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_active_launch_plans`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_active_launch_plans`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/active_launch_plans/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_active_launch_plans2(self, org, project, domain, **kwargs): # noqa: E501 - """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_active_launch_plans2(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required. (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_active_launch_plans2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_active_launch_plans2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - return data - - def list_active_launch_plans2_with_http_info(self, org, project, domain, **kwargs): # noqa: E501 - """List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_active_launch_plans2_with_http_info(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required. (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_active_launch_plans2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `list_active_launch_plans2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_active_launch_plans2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_active_launch_plans2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/active_launch_plans/org/{org}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_description_entities(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities(resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_description_entities_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_description_entities_with_http_info(resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_description_entities_with_http_info(self, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities_with_http_info(resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_description_entities" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `list_description_entities`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_description_entities`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_description_entities`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_description_entities`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDescriptionEntityList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_description_entities2(self, id_org, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities2(id_org, resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_description_entities2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_description_entities2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_description_entities2_with_http_info(self, id_org, resource_type, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'resource_type', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_description_entities2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_description_entities2`") # noqa: E501 - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `list_description_entities2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_description_entities2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_description_entities2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_description_entities2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDescriptionEntityList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_description_entities3(self, resource_type, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities3(resource_type, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_description_entities3_with_http_info(resource_type, id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_description_entities3_with_http_info(resource_type, id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_description_entities3_with_http_info(self, resource_type, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities3_with_http_info(resource_type, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_description_entities3" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `list_description_entities3`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_description_entities3`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_description_entities3`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDescriptionEntityList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_description_entities4(self, id_org, resource_type, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities4(id_org, resource_type, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_description_entities4_with_http_info(id_org, resource_type, id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_description_entities4_with_http_info(id_org, resource_type, id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_description_entities4_with_http_info(self, id_org, resource_type, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_description_entities4_with_http_info(id_org, resource_type, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Identifies the specific type of resource that this identifier corresponds to. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminDescriptionEntityList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'resource_type', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_description_entities4" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_description_entities4`") # noqa: E501 - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `list_description_entities4`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_description_entities4`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_description_entities4`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminDescriptionEntityList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_executions(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_executions(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_executions_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_executions_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_executions_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_executions_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_executions" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_executions`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_executions`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_executions2(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_executions2(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_executions2_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_executions2_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_executions2_with_http_info(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_executions2_with_http_info(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_executions2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_executions2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_executions2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_executions2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/org/{id.org}/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plan_ids(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plan_ids(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plan_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plan_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_launch_plan_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plan_ids_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plan_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_launch_plan_ids`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_launch_plan_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plan_ids/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plan_ids2(self, org, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plan_ids2(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plan_ids2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plan_ids2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - return data - - def list_launch_plan_ids2_with_http_info(self, org, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plan_ids2_with_http_info(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plan_ids2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `list_launch_plan_ids2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_launch_plan_ids2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_launch_plan_ids2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plan_ids/org/{org}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plans(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plans_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plans_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_launch_plans_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plans" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_launch_plans`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plans2(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans2(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plans2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plans2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_launch_plans2_with_http_info(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans2_with_http_info(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plans2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_launch_plans2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_launch_plans2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plans3(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans3(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plans3_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plans3_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_launch_plans3_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans3_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plans3" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans3`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans3`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_launch_plans4(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans4(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_launch_plans4_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_launch_plans4_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_launch_plans4_with_http_info(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_launch_plans4_with_http_info(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminLaunchPlanList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_launch_plans4" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_launch_plans4`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_launch_plans4`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_launch_plans4`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_matchable_attributes(self, **kwargs): # noqa: E501 - """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_matchable_attributes(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org filter applied to list project requests. - :return: AdminListMatchableAttributesResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_matchable_attributes_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.list_matchable_attributes_with_http_info(**kwargs) # noqa: E501 - return data - - def list_matchable_attributes_with_http_info(self, **kwargs): # noqa: E501 - """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_matchable_attributes_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :param str org: Optional, org filter applied to list project requests. - :return: AdminListMatchableAttributesResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_matchable_attributes" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/matchable_attributes', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminListMatchableAttributesResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_matchable_attributes2(self, org, **kwargs): # noqa: E501 - """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_matchable_attributes2(org, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org filter applied to list project requests. (required) - :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminListMatchableAttributesResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_matchable_attributes2_with_http_info(org, **kwargs) # noqa: E501 - else: - (data) = self.list_matchable_attributes2_with_http_info(org, **kwargs) # noqa: E501 - return data - - def list_matchable_attributes2_with_http_info(self, org, **kwargs): # noqa: E501 - """Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_matchable_attributes2_with_http_info(org, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org filter applied to list project requests. (required) - :param str resource_type: +required. - TASK_RESOURCE: Applies to customizable task resource requests and limits. - CLUSTER_RESOURCE: Applies to configuring templated kubernetes cluster resources. - EXECUTION_QUEUE: Configures task and dynamic task execution queue assignment. - EXECUTION_CLUSTER_LABEL: Configures the K8s cluster label to be used for execution to be run - QUALITY_OF_SERVICE_SPECIFICATION: Configures default quality of service when undefined in an execution spec. - PLUGIN_OVERRIDE: Selects configurable plugin implementation behavior for a given task type. - WORKFLOW_EXECUTION_CONFIG: Adds defaults for customizable workflow-execution specifications and overrides. - CLUSTER_ASSIGNMENT: Controls how to select an available cluster on which this execution should run. - :return: AdminListMatchableAttributesResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'resource_type'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_matchable_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `list_matchable_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - - query_params = [] - if 'resource_type' in params: - query_params.append(('resource_type', params['resource_type'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/matchable_attributes/org/{org}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminListMatchableAttributesResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_named_entities(self, resource_type, project, domain, **kwargs): # noqa: E501 - """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_named_entities(resource_type, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. (required) - :param int limit: Indicates the number of resources to be returned. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_named_entities_with_http_info(resource_type, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_named_entities_with_http_info(resource_type, project, domain, **kwargs) # noqa: E501 - return data - - def list_named_entities_with_http_info(self, resource_type, project, domain, **kwargs): # noqa: E501 - """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_named_entities_with_http_info(resource_type, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. (required) - :param int limit: Indicates the number of resources to be returned. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_named_entities" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `list_named_entities`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_named_entities`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_named_entities`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/{resource_type}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_named_entities2(self, org, resource_type, project, domain, **kwargs): # noqa: E501 - """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_named_entities2(org, resource_type, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. (required) - :param int limit: Indicates the number of resources to be returned. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_named_entities2_with_http_info(org, resource_type, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_named_entities2_with_http_info(org, resource_type, project, domain, **kwargs) # noqa: E501 - return data - - def list_named_entities2_with_http_info(self, org, resource_type, project, domain, **kwargs): # noqa: E501 - """Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_named_entities2_with_http_info(org, resource_type, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str resource_type: Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. +required (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. (required) - :param int limit: Indicates the number of resources to be returned. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'resource_type', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_named_entities2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `list_named_entities2`") # noqa: E501 - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `list_named_entities2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_named_entities2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_named_entities2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_node_executions(self, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) - :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str workflow_execution_id_name: User or system provided value for the resource. (required) - :param str workflow_execution_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 - return data - - def list_node_executions_with_http_info(self, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_with_http_info(workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) - :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str workflow_execution_id_name: User or system provided value for the resource. (required) - :param str workflow_execution_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['workflow_execution_id_project', 'workflow_execution_id_domain', 'workflow_execution_id_name', 'workflow_execution_id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction', 'unique_parent_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_node_executions" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'workflow_execution_id_project' is set - if ('workflow_execution_id_project' not in params or - params['workflow_execution_id_project'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_project` when calling `list_node_executions`") # noqa: E501 - # verify the required parameter 'workflow_execution_id_domain' is set - if ('workflow_execution_id_domain' not in params or - params['workflow_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_domain` when calling `list_node_executions`") # noqa: E501 - # verify the required parameter 'workflow_execution_id_name' is set - if ('workflow_execution_id_name' not in params or - params['workflow_execution_id_name'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_name` when calling `list_node_executions`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'workflow_execution_id_project' in params: - path_params['workflow_execution_id.project'] = params['workflow_execution_id_project'] # noqa: E501 - if 'workflow_execution_id_domain' in params: - path_params['workflow_execution_id.domain'] = params['workflow_execution_id_domain'] # noqa: E501 - if 'workflow_execution_id_name' in params: - path_params['workflow_execution_id.name'] = params['workflow_execution_id_name'] # noqa: E501 - - query_params = [] - if 'workflow_execution_id_org' in params: - query_params.append(('workflow_execution_id.org', params['workflow_execution_id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'unique_parent_id' in params: - query_params.append(('unique_parent_id', params['unique_parent_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_node_executions2(self, workflow_execution_id_org, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions2(workflow_execution_id_org, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str workflow_execution_id_org: Optional, org key applied to the resource. (required) - :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) - :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str workflow_execution_id_name: User or system provided value for the resource. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_node_executions2_with_http_info(workflow_execution_id_org, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_node_executions2_with_http_info(workflow_execution_id_org, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs) # noqa: E501 - return data - - def list_node_executions2_with_http_info(self, workflow_execution_id_org, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions2_with_http_info(workflow_execution_id_org, workflow_execution_id_project, workflow_execution_id_domain, workflow_execution_id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str workflow_execution_id_org: Optional, org key applied to the resource. (required) - :param str workflow_execution_id_project: Name of the project the resource belongs to. (required) - :param str workflow_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str workflow_execution_id_name: User or system provided value for the resource. (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str unique_parent_id: Unique identifier of the parent node in the execution +optional. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['workflow_execution_id_org', 'workflow_execution_id_project', 'workflow_execution_id_domain', 'workflow_execution_id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction', 'unique_parent_id'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_node_executions2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'workflow_execution_id_org' is set - if ('workflow_execution_id_org' not in params or - params['workflow_execution_id_org'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_org` when calling `list_node_executions2`") # noqa: E501 - # verify the required parameter 'workflow_execution_id_project' is set - if ('workflow_execution_id_project' not in params or - params['workflow_execution_id_project'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_project` when calling `list_node_executions2`") # noqa: E501 - # verify the required parameter 'workflow_execution_id_domain' is set - if ('workflow_execution_id_domain' not in params or - params['workflow_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_domain` when calling `list_node_executions2`") # noqa: E501 - # verify the required parameter 'workflow_execution_id_name' is set - if ('workflow_execution_id_name' not in params or - params['workflow_execution_id_name'] is None): - raise ValueError("Missing the required parameter `workflow_execution_id_name` when calling `list_node_executions2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'workflow_execution_id_org' in params: - path_params['workflow_execution_id.org'] = params['workflow_execution_id_org'] # noqa: E501 - if 'workflow_execution_id_project' in params: - path_params['workflow_execution_id.project'] = params['workflow_execution_id_project'] # noqa: E501 - if 'workflow_execution_id_domain' in params: - path_params['workflow_execution_id.domain'] = params['workflow_execution_id_domain'] # noqa: E501 - if 'workflow_execution_id_name' in params: - path_params['workflow_execution_id.name'] = params['workflow_execution_id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'unique_parent_id' in params: - query_params.append(('unique_parent_id', params['unique_parent_id'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_node_executions_for_task(self, 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, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_for_task(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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str task_execution_id_node_execution_id_node_id: (required) - :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_task_id_name: User provided value for the resource. (required) - :param str task_execution_id_task_id_version: Specific version of the resource. (required) - :param int task_execution_id_retry_attempt: (required) - :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str task_execution_id_task_id_org: Optional, org key applied to the resource. - :param str task_execution_id_node_execution_id_execution_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_node_executions_for_task_with_http_info(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, **kwargs) # noqa: E501 - else: - (data) = self.list_node_executions_for_task_with_http_info(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, **kwargs) # noqa: E501 - return data - - def list_node_executions_for_task_with_http_info(self, 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, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_for_task_with_http_info(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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str task_execution_id_node_execution_id_node_id: (required) - :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_task_id_name: User provided value for the resource. (required) - :param str task_execution_id_task_id_version: Specific version of the resource. (required) - :param int task_execution_id_retry_attempt: (required) - :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str task_execution_id_task_id_org: Optional, org key applied to the resource. - :param str task_execution_id_node_execution_id_execution_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['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', 'task_execution_id_task_id_resource_type', 'task_execution_id_task_id_org', 'task_execution_id_node_execution_id_execution_id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_node_executions_for_task" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_project' is set - if ('task_execution_id_node_execution_id_execution_id_project' not in params or - params['task_execution_id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_project` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_domain' is set - if ('task_execution_id_node_execution_id_execution_id_domain' not in params or - params['task_execution_id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_domain` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_name' is set - if ('task_execution_id_node_execution_id_execution_id_name' not in params or - params['task_execution_id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_name` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_node_id' is set - if ('task_execution_id_node_execution_id_node_id' not in params or - params['task_execution_id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_node_id` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_project' is set - if ('task_execution_id_task_id_project' not in params or - params['task_execution_id_task_id_project'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_project` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_domain' is set - if ('task_execution_id_task_id_domain' not in params or - params['task_execution_id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_domain` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_name' is set - if ('task_execution_id_task_id_name' not in params or - params['task_execution_id_task_id_name'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_name` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_version' is set - if ('task_execution_id_task_id_version' not in params or - params['task_execution_id_task_id_version'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_version` when calling `list_node_executions_for_task`") # noqa: E501 - # verify the required parameter 'task_execution_id_retry_attempt' is set - if ('task_execution_id_retry_attempt' not in params or - params['task_execution_id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `task_execution_id_retry_attempt` when calling `list_node_executions_for_task`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'task_execution_id_node_execution_id_execution_id_project' in params: - path_params['task_execution_id.node_execution_id.execution_id.project'] = params['task_execution_id_node_execution_id_execution_id_project'] # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_domain' in params: - path_params['task_execution_id.node_execution_id.execution_id.domain'] = params['task_execution_id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_name' in params: - path_params['task_execution_id.node_execution_id.execution_id.name'] = params['task_execution_id_node_execution_id_execution_id_name'] # noqa: E501 - if 'task_execution_id_node_execution_id_node_id' in params: - path_params['task_execution_id.node_execution_id.node_id'] = params['task_execution_id_node_execution_id_node_id'] # noqa: E501 - if 'task_execution_id_task_id_project' in params: - path_params['task_execution_id.task_id.project'] = params['task_execution_id_task_id_project'] # noqa: E501 - if 'task_execution_id_task_id_domain' in params: - path_params['task_execution_id.task_id.domain'] = params['task_execution_id_task_id_domain'] # noqa: E501 - if 'task_execution_id_task_id_name' in params: - path_params['task_execution_id.task_id.name'] = params['task_execution_id_task_id_name'] # noqa: E501 - if 'task_execution_id_task_id_version' in params: - path_params['task_execution_id.task_id.version'] = params['task_execution_id_task_id_version'] # noqa: E501 - if 'task_execution_id_retry_attempt' in params: - path_params['task_execution_id.retry_attempt'] = params['task_execution_id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'task_execution_id_task_id_resource_type' in params: - query_params.append(('task_execution_id.task_id.resource_type', params['task_execution_id_task_id_resource_type'])) # noqa: E501 - if 'task_execution_id_task_id_org' in params: - query_params.append(('task_execution_id.task_id.org', params['task_execution_id_task_id_org'])) # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_org' in params: - query_params.append(('task_execution_id.node_execution_id.execution_id.org', params['task_execution_id_node_execution_id_execution_id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/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}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_node_executions_for_task2(self, task_execution_id_node_execution_id_execution_id_org, 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, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_for_task2(task_execution_id_node_execution_id_execution_id_org, 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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str task_execution_id_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str task_execution_id_node_execution_id_node_id: (required) - :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_task_id_name: User provided value for the resource. (required) - :param str task_execution_id_task_id_version: Specific version of the resource. (required) - :param int task_execution_id_retry_attempt: (required) - :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str task_execution_id_task_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_node_executions_for_task2_with_http_info(task_execution_id_node_execution_id_execution_id_org, 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, **kwargs) # noqa: E501 - else: - (data) = self.list_node_executions_for_task2_with_http_info(task_execution_id_node_execution_id_execution_id_org, 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, **kwargs) # noqa: E501 - return data - - def list_node_executions_for_task2_with_http_info(self, task_execution_id_node_execution_id_execution_id_org, 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, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_node_executions_for_task2_with_http_info(task_execution_id_node_execution_id_execution_id_org, 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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str task_execution_id_node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str task_execution_id_node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str task_execution_id_node_execution_id_node_id: (required) - :param str task_execution_id_task_id_project: Name of the project the resource belongs to. (required) - :param str task_execution_id_task_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str task_execution_id_task_id_name: User provided value for the resource. (required) - :param str task_execution_id_task_id_version: Specific version of the resource. (required) - :param int task_execution_id_retry_attempt: (required) - :param str task_execution_id_task_id_resource_type: Identifies the specific type of resource that this identifier corresponds to. - 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. Eventually 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 in a similar manner to other Flyte objects - :param str task_execution_id_task_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the, server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminNodeExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['task_execution_id_node_execution_id_execution_id_org', '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', 'task_execution_id_task_id_resource_type', 'task_execution_id_task_id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_node_executions_for_task2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_org' is set - if ('task_execution_id_node_execution_id_execution_id_org' not in params or - params['task_execution_id_node_execution_id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_org` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_project' is set - if ('task_execution_id_node_execution_id_execution_id_project' not in params or - params['task_execution_id_node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_project` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_domain' is set - if ('task_execution_id_node_execution_id_execution_id_domain' not in params or - params['task_execution_id_node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_domain` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_execution_id_name' is set - if ('task_execution_id_node_execution_id_execution_id_name' not in params or - params['task_execution_id_node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_execution_id_name` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_node_execution_id_node_id' is set - if ('task_execution_id_node_execution_id_node_id' not in params or - params['task_execution_id_node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `task_execution_id_node_execution_id_node_id` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_project' is set - if ('task_execution_id_task_id_project' not in params or - params['task_execution_id_task_id_project'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_project` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_domain' is set - if ('task_execution_id_task_id_domain' not in params or - params['task_execution_id_task_id_domain'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_domain` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_name' is set - if ('task_execution_id_task_id_name' not in params or - params['task_execution_id_task_id_name'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_name` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_task_id_version' is set - if ('task_execution_id_task_id_version' not in params or - params['task_execution_id_task_id_version'] is None): - raise ValueError("Missing the required parameter `task_execution_id_task_id_version` when calling `list_node_executions_for_task2`") # noqa: E501 - # verify the required parameter 'task_execution_id_retry_attempt' is set - if ('task_execution_id_retry_attempt' not in params or - params['task_execution_id_retry_attempt'] is None): - raise ValueError("Missing the required parameter `task_execution_id_retry_attempt` when calling `list_node_executions_for_task2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'task_execution_id_node_execution_id_execution_id_org' in params: - path_params['task_execution_id.node_execution_id.execution_id.org'] = params['task_execution_id_node_execution_id_execution_id_org'] # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_project' in params: - path_params['task_execution_id.node_execution_id.execution_id.project'] = params['task_execution_id_node_execution_id_execution_id_project'] # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_domain' in params: - path_params['task_execution_id.node_execution_id.execution_id.domain'] = params['task_execution_id_node_execution_id_execution_id_domain'] # noqa: E501 - if 'task_execution_id_node_execution_id_execution_id_name' in params: - path_params['task_execution_id.node_execution_id.execution_id.name'] = params['task_execution_id_node_execution_id_execution_id_name'] # noqa: E501 - if 'task_execution_id_node_execution_id_node_id' in params: - path_params['task_execution_id.node_execution_id.node_id'] = params['task_execution_id_node_execution_id_node_id'] # noqa: E501 - if 'task_execution_id_task_id_project' in params: - path_params['task_execution_id.task_id.project'] = params['task_execution_id_task_id_project'] # noqa: E501 - if 'task_execution_id_task_id_domain' in params: - path_params['task_execution_id.task_id.domain'] = params['task_execution_id_task_id_domain'] # noqa: E501 - if 'task_execution_id_task_id_name' in params: - path_params['task_execution_id.task_id.name'] = params['task_execution_id_task_id_name'] # noqa: E501 - if 'task_execution_id_task_id_version' in params: - path_params['task_execution_id.task_id.version'] = params['task_execution_id_task_id_version'] # noqa: E501 - if 'task_execution_id_retry_attempt' in params: - path_params['task_execution_id.retry_attempt'] = params['task_execution_id_retry_attempt'] # noqa: E501 - - query_params = [] - if 'task_execution_id_task_id_resource_type' in params: - query_params.append(('task_execution_id.task_id.resource_type', params['task_execution_id_task_id_resource_type'])) # noqa: E501 - if 'task_execution_id_task_id_org' in params: - query_params.append(('task_execution_id.task_id.org', params['task_execution_id_task_id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNodeExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_projects(self, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_projects(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int limit: Indicates the number of projects to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str org: Optional, org filter applied to list project requests. - :return: AdminProjects - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_projects_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.list_projects_with_http_info(**kwargs) # noqa: E501 - return data - - def list_projects_with_http_info(self, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_projects_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param int limit: Indicates the number of projects to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str org: Optional, org filter applied to list project requests. - :return: AdminProjects - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_projects" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjects', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_projects2(self, org, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_projects2(org, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org filter applied to list project requests. (required) - :param int limit: Indicates the number of projects to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminProjects - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_projects2_with_http_info(org, **kwargs) # noqa: E501 - else: - (data) = self.list_projects2_with_http_info(org, **kwargs) # noqa: E501 - return data - - def list_projects2_with_http_info(self, org, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_projects2_with_http_info(org, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org filter applied to list project requests. (required) - :param int limit: Indicates the number of projects to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminProjects - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_projects2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `list_projects2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects/org/{org}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjects', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_task_executions(self, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_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, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str node_execution_id_node_id: (required) - :param str node_execution_id_execution_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 - return data - - def list_task_executions_with_http_info(self, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_executions_with_http_info(node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str node_execution_id_node_id: (required) - :param str node_execution_id_execution_id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['node_execution_id_execution_id_project', 'node_execution_id_execution_id_domain', 'node_execution_id_execution_id_name', 'node_execution_id_node_id', 'node_execution_id_execution_id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_task_executions" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'node_execution_id_execution_id_project' is set - if ('node_execution_id_execution_id_project' not in params or - params['node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_project` when calling `list_task_executions`") # noqa: E501 - # verify the required parameter 'node_execution_id_execution_id_domain' is set - if ('node_execution_id_execution_id_domain' not in params or - params['node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_domain` when calling `list_task_executions`") # noqa: E501 - # verify the required parameter 'node_execution_id_execution_id_name' is set - if ('node_execution_id_execution_id_name' not in params or - params['node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_name` when calling `list_task_executions`") # noqa: E501 - # verify the required parameter 'node_execution_id_node_id' is set - if ('node_execution_id_node_id' not in params or - params['node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `node_execution_id_node_id` when calling `list_task_executions`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'node_execution_id_execution_id_project' in params: - path_params['node_execution_id.execution_id.project'] = params['node_execution_id_execution_id_project'] # noqa: E501 - if 'node_execution_id_execution_id_domain' in params: - path_params['node_execution_id.execution_id.domain'] = params['node_execution_id_execution_id_domain'] # noqa: E501 - if 'node_execution_id_execution_id_name' in params: - path_params['node_execution_id.execution_id.name'] = params['node_execution_id_execution_id_name'] # noqa: E501 - if 'node_execution_id_node_id' in params: - path_params['node_execution_id.node_id'] = params['node_execution_id_node_id'] # noqa: E501 - - query_params = [] - if 'node_execution_id_execution_id_org' in params: - query_params.append(('node_execution_id.execution_id.org', params['node_execution_id_execution_id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/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}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_task_executions2(self, node_execution_id_execution_id_org, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_executions2(node_execution_id_execution_id_org, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str node_execution_id_node_id: (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskExecutionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_task_executions2_with_http_info(node_execution_id_execution_id_org, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 - else: - (data) = self.list_task_executions2_with_http_info(node_execution_id_execution_id_org, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs) # noqa: E501 - return data - - def list_task_executions2_with_http_info(self, node_execution_id_execution_id_org, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, **kwargs): # noqa: E501 - """Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_executions2_with_http_info(node_execution_id_execution_id_org, node_execution_id_execution_id_project, node_execution_id_execution_id_domain, node_execution_id_execution_id_name, node_execution_id_node_id, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str node_execution_id_execution_id_org: Optional, org key applied to the resource. (required) - :param str node_execution_id_execution_id_project: Name of the project the resource belongs to. (required) - :param str node_execution_id_execution_id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str node_execution_id_execution_id_name: User or system provided value for the resource. (required) - :param str node_execution_id_node_id: (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskExecutionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['node_execution_id_execution_id_org', 'node_execution_id_execution_id_project', 'node_execution_id_execution_id_domain', 'node_execution_id_execution_id_name', 'node_execution_id_node_id', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_task_executions2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'node_execution_id_execution_id_org' is set - if ('node_execution_id_execution_id_org' not in params or - params['node_execution_id_execution_id_org'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_org` when calling `list_task_executions2`") # noqa: E501 - # verify the required parameter 'node_execution_id_execution_id_project' is set - if ('node_execution_id_execution_id_project' not in params or - params['node_execution_id_execution_id_project'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_project` when calling `list_task_executions2`") # noqa: E501 - # verify the required parameter 'node_execution_id_execution_id_domain' is set - if ('node_execution_id_execution_id_domain' not in params or - params['node_execution_id_execution_id_domain'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_domain` when calling `list_task_executions2`") # noqa: E501 - # verify the required parameter 'node_execution_id_execution_id_name' is set - if ('node_execution_id_execution_id_name' not in params or - params['node_execution_id_execution_id_name'] is None): - raise ValueError("Missing the required parameter `node_execution_id_execution_id_name` when calling `list_task_executions2`") # noqa: E501 - # verify the required parameter 'node_execution_id_node_id' is set - if ('node_execution_id_node_id' not in params or - params['node_execution_id_node_id'] is None): - raise ValueError("Missing the required parameter `node_execution_id_node_id` when calling `list_task_executions2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'node_execution_id_execution_id_org' in params: - path_params['node_execution_id.execution_id.org'] = params['node_execution_id_execution_id_org'] # noqa: E501 - if 'node_execution_id_execution_id_project' in params: - path_params['node_execution_id.execution_id.project'] = params['node_execution_id_execution_id_project'] # noqa: E501 - if 'node_execution_id_execution_id_domain' in params: - path_params['node_execution_id.execution_id.domain'] = params['node_execution_id_execution_id_domain'] # noqa: E501 - if 'node_execution_id_execution_id_name' in params: - path_params['node_execution_id.execution_id.name'] = params['node_execution_id_execution_id_name'] # noqa: E501 - if 'node_execution_id_node_id' in params: - path_params['node_execution_id.node_id'] = params['node_execution_id_node_id'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskExecutionList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_task_ids(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_ids(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_task_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_task_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_task_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_ids_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_task_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_task_ids`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_task_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/task_ids/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_task_ids2(self, org, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_ids2(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_task_ids2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_task_ids2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - return data - - def list_task_ids2_with_http_info(self, org, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_task_ids2_with_http_info(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_task_ids2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `list_task_ids2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_task_ids2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_task_ids2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/org/{org}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_tasks(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_tasks_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_tasks_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_tasks_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_tasks" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_tasks`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_tasks`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_tasks2(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks2(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_tasks2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_tasks2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_tasks2_with_http_info(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks2_with_http_info(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_tasks2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_tasks2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_tasks2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_tasks2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_tasks3(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks3(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_tasks3_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_tasks3_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_tasks3_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks3_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_tasks3" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_tasks3`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks3`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_tasks4(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks4(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_tasks4_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_tasks4_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_tasks4_with_http_info(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_tasks4_with_http_info(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminTaskList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_tasks4" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_tasks4`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_tasks4`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_tasks4`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminTaskList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflow_ids(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflow_ids(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflow_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_workflow_ids_with_http_info(project, domain, **kwargs) # noqa: E501 - return data - - def list_workflow_ids_with_http_info(self, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflow_ids_with_http_info(project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :param str org: Optional, org key applied to the resource. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters', 'org'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflow_ids" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_workflow_ids`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_workflow_ids`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'org' in params: - query_params.append(('org', params['org'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_ids/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflow_ids2(self, org, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflow_ids2(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflow_ids2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - else: - (data) = self.list_workflow_ids2_with_http_info(org, project, domain, **kwargs) # noqa: E501 - return data - - def list_workflow_ids2_with_http_info(self, org, project, domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflow_ids2_with_http_info(org, project, domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str project: Name of the project that contains the identifiers. +required (required) - :param str domain: Name of the domain the identifiers belongs to within the project. +required (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :param str filters: Indicates a list of filters passed as string. +optional. - :return: AdminNamedEntityIdentifierList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'project', 'domain', 'limit', 'token', 'sort_by_key', 'sort_by_direction', 'filters'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflow_ids2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `list_workflow_ids2`") # noqa: E501 - # verify the required parameter 'project' is set - if ('project' not in params or - params['project'] is None): - raise ValueError("Missing the required parameter `project` when calling `list_workflow_ids2`") # noqa: E501 - # verify the required parameter 'domain' is set - if ('domain' not in params or - params['domain'] is None): - raise ValueError("Missing the required parameter `domain` when calling `list_workflow_ids2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'project' in params: - path_params['project'] = params['project'] # noqa: E501 - if 'domain' in params: - path_params['domain'] = params['domain'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/org/{org}/{project}/{domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityIdentifierList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflows(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflows_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_workflows_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_workflows_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows_with_http_info(id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflows" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_workflows`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_workflows`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflows2(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows2(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflows2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - else: - (data) = self.list_workflows2_with_http_info(id_org, id_project, id_domain, id_name, **kwargs) # noqa: E501 - return data - - def list_workflows2_with_http_info(self, id_org, id_project, id_domain, id_name, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows2_with_http_info(id_org, id_project, id_domain, id_name, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflows2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_workflows2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_workflows2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `list_workflows2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflows3(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows3(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflows3_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_workflows3_with_http_info(id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_workflows3_with_http_info(self, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows3_with_http_info(id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param str id_org: Optional, org key applied to the resource. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_org', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflows3" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_workflows3`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows3`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'id_org' in params: - query_params.append(('id.org', params['id_org'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_workflows4(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows4(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.list_workflows4_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - else: - (data) = self.list_workflows4_with_http_info(id_org, id_project, id_domain, **kwargs) # noqa: E501 - return data - - def list_workflows4_with_http_info(self, id_org, id_project, id_domain, **kwargs): # noqa: E501 - """Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_workflows4_with_http_info(id_org, id_project, id_domain, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans'. - :param int limit: Indicates the number of resources to be returned. +required. - :param str token: In the case of multiple pages of results, this server-provided token can be used to fetch the next page in a query. +optional. - :param str filters: Indicates a list of filters passed as string. More info on constructing filters : +optional. - :param str sort_by_key: Indicates an attribute to sort the response values. +required. - :param str sort_by_direction: Indicates the direction to apply sort key for response values. +optional. - DESCENDING: By default, fields are sorted in descending order. - :return: AdminWorkflowList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'limit', 'token', 'filters', 'sort_by_key', 'sort_by_direction'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_workflows4" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `list_workflows4`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `list_workflows4`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `list_workflows4`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - - query_params = [] - if 'id_name' in params: - query_params.append(('id.name', params['id_name'])) # noqa: E501 - if 'limit' in params: - query_params.append(('limit', params['limit'])) # noqa: E501 - if 'token' in params: - query_params.append(('token', params['token'])) # noqa: E501 - if 'filters' in params: - query_params.append(('filters', params['filters'])) # noqa: E501 - if 'sort_by_key' in params: - query_params.append(('sort_by.key', params['sort_by_key'])) # noqa: E501 - if 'sort_by_direction' in params: - query_params.append(('sort_by.direction', params['sort_by_direction'])) # noqa: E501 - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowList', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def recover_execution(self, body, **kwargs): # noqa: E501 - """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.recover_execution(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRecoverRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.recover_execution_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.recover_execution_with_http_info(body, **kwargs) # noqa: E501 - return data - - def recover_execution_with_http_info(self, body, **kwargs): # noqa: E501 - """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.recover_execution_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRecoverRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method recover_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `recover_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/recover', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def recover_execution2(self, id_org, body, **kwargs): # noqa: E501 - """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.recover_execution2(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminExecutionRecoverRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.recover_execution2_with_http_info(id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.recover_execution2_with_http_info(id_org, body, **kwargs) # noqa: E501 - return data - - def recover_execution2_with_http_info(self, id_org, body, **kwargs): # noqa: E501 - """Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.recover_execution2_with_http_info(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminExecutionRecoverRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method recover_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `recover_execution2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `recover_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/org/{id.org}/recover', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def register_project(self, body, **kwargs): # noqa: E501 - """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.register_project(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminProjectRegisterRequest body: (required) - :return: AdminProjectRegisterResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.register_project_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.register_project_with_http_info(body, **kwargs) # noqa: E501 - return data - - def register_project_with_http_info(self, body, **kwargs): # noqa: E501 - """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.register_project_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminProjectRegisterRequest body: (required) - :return: AdminProjectRegisterResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method register_project" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `register_project`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectRegisterResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def register_project2(self, project_org, body, **kwargs): # noqa: E501 - """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.register_project2(project_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_org: Optional, org key applied to the resource. (required) - :param AdminProjectRegisterRequest body: (required) - :return: AdminProjectRegisterResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.register_project2_with_http_info(project_org, body, **kwargs) # noqa: E501 - else: - (data) = self.register_project2_with_http_info(project_org, body, **kwargs) # noqa: E501 - return data - - def register_project2_with_http_info(self, project_org, body, **kwargs): # noqa: E501 - """Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.register_project2_with_http_info(project_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str project_org: Optional, org key applied to the resource. (required) - :param AdminProjectRegisterRequest body: (required) - :return: AdminProjectRegisterResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['project_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method register_project2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'project_org' is set - if ('project_org' not in params or - params['project_org'] is None): - raise ValueError("Missing the required parameter `project_org` when calling `register_project2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `register_project2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'project_org' in params: - path_params['project.org'] = params['project_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects/org/{project.org}', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectRegisterResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def relaunch_execution(self, body, **kwargs): # noqa: E501 - """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.relaunch_execution(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRelaunchRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.relaunch_execution_with_http_info(body, **kwargs) # noqa: E501 - else: - (data) = self.relaunch_execution_with_http_info(body, **kwargs) # noqa: E501 - return data - - def relaunch_execution_with_http_info(self, body, **kwargs): # noqa: E501 - """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.relaunch_execution_with_http_info(body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param AdminExecutionRelaunchRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method relaunch_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `relaunch_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/relaunch', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def relaunch_execution2(self, id_org, body, **kwargs): # noqa: E501 - """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.relaunch_execution2(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminExecutionRelaunchRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.relaunch_execution2_with_http_info(id_org, body, **kwargs) # noqa: E501 - else: - (data) = self.relaunch_execution2_with_http_info(id_org, body, **kwargs) # noqa: E501 - return data - - def relaunch_execution2_with_http_info(self, id_org, body, **kwargs): # noqa: E501 - """Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.relaunch_execution2_with_http_info(id_org, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param AdminExecutionRelaunchRequest body: (required) - :return: AdminExecutionCreateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method relaunch_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `relaunch_execution2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `relaunch_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/org/{id.org}/relaunch', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionCreateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def terminate_execution(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.terminate_execution(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionTerminateRequest body: (required) - :return: AdminExecutionTerminateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.terminate_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.terminate_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def terminate_execution_with_http_info(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.terminate_execution_with_http_info(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionTerminateRequest body: (required) - :return: AdminExecutionTerminateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method terminate_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `terminate_execution`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `terminate_execution`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `terminate_execution`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `terminate_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionTerminateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def terminate_execution2(self, id_org, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.terminate_execution2(id_org, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionTerminateRequest body: (required) - :return: AdminExecutionTerminateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.terminate_execution2_with_http_info(id_org, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.terminate_execution2_with_http_info(id_org, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def terminate_execution2_with_http_info(self, id_org, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.terminate_execution2_with_http_info(id_org, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionTerminateRequest body: (required) - :return: AdminExecutionTerminateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method terminate_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `terminate_execution2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `terminate_execution2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `terminate_execution2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `terminate_execution2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `terminate_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionTerminateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_execution(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_execution(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionUpdateRequest body: (required) - :return: AdminExecutionUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.update_execution_with_http_info(id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def update_execution_with_http_info(self, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_execution_with_http_info(id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionUpdateRequest body: (required) - :return: AdminExecutionUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_execution" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_execution`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_execution`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_execution`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_execution`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/{id.project}/{id.domain}/{id.name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_execution2(self, id_org, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_execution2(id_org, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionUpdateRequest body: (required) - :return: AdminExecutionUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_execution2_with_http_info(id_org, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.update_execution2_with_http_info(id_org, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def update_execution2_with_http_info(self, id_org, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_execution2_with_http_info(id_org, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User or system provided value for the resource. (required) - :param AdminExecutionUpdateRequest body: (required) - :return: AdminExecutionUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_execution2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `update_execution2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_execution2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_execution2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_execution2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_execution2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminExecutionUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_launch_plan(self, id_project, id_domain, id_name, id_version, body, **kwargs): # noqa: E501 - """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_launch_plan(id_project, id_domain, id_name, id_version, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param AdminLaunchPlanUpdateRequest body: (required) - :return: AdminLaunchPlanUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, **kwargs) # noqa: E501 - else: - (data) = self.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, **kwargs) # noqa: E501 - return data - - def update_launch_plan_with_http_info(self, id_project, id_domain, id_name, id_version, body, **kwargs): # noqa: E501 - """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_launch_plan_with_http_info(id_project, id_domain, id_name, id_version, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :param AdminLaunchPlanUpdateRequest body: (required) - :return: AdminLaunchPlanUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_project', 'id_domain', 'id_name', 'id_version', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_launch_plan" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `update_launch_plan`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_launch_plan`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_launch_plan2(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_launch_plan2(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :return: AdminLaunchPlanUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - else: - (data) = self.update_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, id_version, **kwargs) # noqa: E501 - return data - - def update_launch_plan2_with_http_info(self, id_org, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 - """Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_launch_plan2_with_http_info(id_org, id_project, id_domain, id_name, id_version, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. (required) - :param str id_version: Specific version of the resource. (required) - :return: AdminLaunchPlanUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'id_project', 'id_domain', 'id_name', 'id_version'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_launch_plan2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `update_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_launch_plan2`") # noqa: E501 - # verify the required parameter 'id_version' is set - if ('id_version' not in params or - params['id_version'] is None): - raise ValueError("Missing the required parameter `id_version` when calling `update_launch_plan2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - if 'id_version' in params: - path_params['id.version'] = params['id_version'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminLaunchPlanUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_named_entity(self, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_named_entity(resource_type, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to update +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param AdminNamedEntityUpdateRequest body: (required) - :return: AdminNamedEntityUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def update_named_entity_with_http_info(self, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_named_entity_with_http_info(resource_type, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str resource_type: Resource type of the metadata to update +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param AdminNamedEntityUpdateRequest body: (required) - :return: AdminNamedEntityUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['resource_type', 'id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_named_entity" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_named_entity`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_named_entity`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_named_entity2(self, id_org, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_named_entity2(id_org, resource_type, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Resource type of the metadata to update +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param AdminNamedEntityUpdateRequest body: (required) - :return: AdminNamedEntityUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_named_entity2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - else: - (data) = self.update_named_entity2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, body, **kwargs) # noqa: E501 - return data - - def update_named_entity2_with_http_info(self, id_org, resource_type, id_project, id_domain, id_name, body, **kwargs): # noqa: E501 - """Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_named_entity2_with_http_info(id_org, resource_type, id_project, id_domain, id_name, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id_org: Optional, org key applied to the resource. (required) - :param str resource_type: Resource type of the metadata to update +required (required) - :param str id_project: Name of the project the resource belongs to. (required) - :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) - :param str id_name: User provided value for the resource. The combination of project + domain + name uniquely identifies the resource. +optional - in certain contexts - like 'List API', 'Launch plans' (required) - :param AdminNamedEntityUpdateRequest body: (required) - :return: AdminNamedEntityUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id_org', 'resource_type', 'id_project', 'id_domain', 'id_name', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_named_entity2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id_org' is set - if ('id_org' not in params or - params['id_org'] is None): - raise ValueError("Missing the required parameter `id_org` when calling `update_named_entity2`") # noqa: E501 - # verify the required parameter 'resource_type' is set - if ('resource_type' not in params or - params['resource_type'] is None): - raise ValueError("Missing the required parameter `resource_type` when calling `update_named_entity2`") # noqa: E501 - # verify the required parameter 'id_project' is set - if ('id_project' not in params or - params['id_project'] is None): - raise ValueError("Missing the required parameter `id_project` when calling `update_named_entity2`") # noqa: E501 - # verify the required parameter 'id_domain' is set - if ('id_domain' not in params or - params['id_domain'] is None): - raise ValueError("Missing the required parameter `id_domain` when calling `update_named_entity2`") # noqa: E501 - # verify the required parameter 'id_name' is set - if ('id_name' not in params or - params['id_name'] is None): - raise ValueError("Missing the required parameter `id_name` when calling `update_named_entity2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_named_entity2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id_org' in params: - path_params['id.org'] = params['id_org'] # noqa: E501 - if 'resource_type' in params: - path_params['resource_type'] = params['resource_type'] # noqa: E501 - if 'id_project' in params: - path_params['id.project'] = params['id_project'] # noqa: E501 - if 'id_domain' in params: - path_params['id.domain'] = params['id_domain'] # noqa: E501 - if 'id_name' in params: - path_params['id.name'] = params['id_name'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminNamedEntityUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project(self, id, body, **kwargs): # noqa: E501 - """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project(id, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id: Globally unique project name. (required) - :param AdminProject body: (required) - :return: AdminProjectUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project_with_http_info(id, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project_with_http_info(id, body, **kwargs) # noqa: E501 - return data - - def update_project_with_http_info(self, id, body, **kwargs): # noqa: E501 - """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_with_http_info(id, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str id: Globally unique project name. (required) - :param AdminProject body: (required) - :return: AdminProjectUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['id', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'id' is set - if ('id' not in params or - params['id'] is None): - raise ValueError("Missing the required parameter `id` when calling `update_project`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'id' in params: - path_params['id'] = params['id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects/{id}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project2(self, org, id, body, **kwargs): # noqa: E501 - """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project2(org, id, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str id: Globally unique project name. (required) - :param AdminProject body: (required) - :return: AdminProjectUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project2_with_http_info(org, id, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project2_with_http_info(org, id, body, **kwargs) # noqa: E501 - return data - - def update_project2_with_http_info(self, org, id, body, **kwargs): # noqa: E501 - """Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project2_with_http_info(org, id, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str org: Optional, org key applied to the resource. (required) - :param str id: Globally unique project name. (required) - :param AdminProject body: (required) - :return: AdminProjectUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['org', 'id', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'org' is set - if ('org' not in params or - params['org'] is None): - raise ValueError("Missing the required parameter `org` when calling `update_project2`") # noqa: E501 - # verify the required parameter 'id' is set - if ('id' not in params or - params['id'] is None): - raise ValueError("Missing the required parameter `id` when calling `update_project2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'org' in params: - path_params['org'] = params['org'] # noqa: E501 - if 'id' in params: - path_params['id'] = params['id'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/projects/org/{org}/{id}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project_attributes(self, attributes_project, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_attributes(attributes_project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param AdminProjectAttributesUpdateRequest body: (required) - :return: AdminProjectAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project_attributes_with_http_info(attributes_project, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project_attributes_with_http_info(attributes_project, body, **kwargs) # noqa: E501 - return data - - def update_project_attributes_with_http_info(self, attributes_project, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_attributes_with_http_info(attributes_project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param AdminProjectAttributesUpdateRequest body: (required) - :return: AdminProjectAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_project', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_project_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_attributes/{attributes.project}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project_attributes2(self, attributes_org, attributes_project, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_attributes2(attributes_org, attributes_project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_org: Optional, org key applied to the project. (required) - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param AdminProjectAttributesUpdateRequest body: (required) - :return: AdminProjectAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project_attributes2_with_http_info(attributes_org, attributes_project, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project_attributes2_with_http_info(attributes_org, attributes_project, body, **kwargs) # noqa: E501 - return data - - def update_project_attributes2_with_http_info(self, attributes_org, attributes_project, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_attributes2_with_http_info(attributes_org, attributes_project, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_org: Optional, org key applied to the project. (required) - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param AdminProjectAttributesUpdateRequest body: (required) - :return: AdminProjectAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_org', 'attributes_project', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_org' is set - if ('attributes_org' not in params or - params['attributes_org'] is None): - raise ValueError("Missing the required parameter `attributes_org` when calling `update_project_attributes2`") # noqa: E501 - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_project_attributes2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_org' in params: - path_params['attributes.org'] = params['attributes_org'] # noqa: E501 - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project_domain_attributes(self, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_domain_attributes(attributes_project, attributes_domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param AdminProjectDomainAttributesUpdateRequest body: (required) - :return: AdminProjectDomainAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, **kwargs) # noqa: E501 - return data - - def update_project_domain_attributes_with_http_info(self, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_domain_attributes_with_http_info(attributes_project, attributes_domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param AdminProjectDomainAttributesUpdateRequest body: (required) - :return: AdminProjectDomainAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_project', 'attributes_domain', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project_domain_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'attributes_domain' is set - if ('attributes_domain' not in params or - params['attributes_domain'] is None): - raise ValueError("Missing the required parameter `attributes_domain` when calling `update_project_domain_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project_domain_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - if 'attributes_domain' in params: - path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_project_domain_attributes2(self, attributes_org, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_domain_attributes2(attributes_org, attributes_project, attributes_domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_org: Optional, org key applied to the attributes. (required) - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param AdminProjectDomainAttributesUpdateRequest body: (required) - :return: AdminProjectDomainAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_project_domain_attributes2_with_http_info(attributes_org, attributes_project, attributes_domain, body, **kwargs) # noqa: E501 - else: - (data) = self.update_project_domain_attributes2_with_http_info(attributes_org, attributes_project, attributes_domain, body, **kwargs) # noqa: E501 - return data - - def update_project_domain_attributes2_with_http_info(self, attributes_org, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_project_domain_attributes2_with_http_info(attributes_org, attributes_project, attributes_domain, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_org: Optional, org key applied to the attributes. (required) - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param AdminProjectDomainAttributesUpdateRequest body: (required) - :return: AdminProjectDomainAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_org', 'attributes_project', 'attributes_domain', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_project_domain_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_org' is set - if ('attributes_org' not in params or - params['attributes_org'] is None): - raise ValueError("Missing the required parameter `attributes_org` when calling `update_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'attributes_domain' is set - if ('attributes_domain' not in params or - params['attributes_domain'] is None): - raise ValueError("Missing the required parameter `attributes_domain` when calling `update_project_domain_attributes2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_project_domain_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_org' in params: - path_params['attributes.org'] = params['attributes_org'] # noqa: E501 - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - if 'attributes_domain' in params: - path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/project_domain_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminProjectDomainAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_workflow_attributes(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_workflow_attributes(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) - :param AdminWorkflowAttributesUpdateRequest body: (required) - :return: AdminWorkflowAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 - else: - (data) = self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 - return data - - def update_workflow_attributes_with_http_info(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) - :param AdminWorkflowAttributesUpdateRequest body: (required) - :return: AdminWorkflowAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_project', 'attributes_domain', 'attributes_workflow', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_workflow_attributes" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_workflow_attributes`") # noqa: E501 - # verify the required parameter 'attributes_domain' is set - if ('attributes_domain' not in params or - params['attributes_domain'] is None): - raise ValueError("Missing the required parameter `attributes_domain` when calling `update_workflow_attributes`") # noqa: E501 - # verify the required parameter 'attributes_workflow' is set - if ('attributes_workflow' not in params or - params['attributes_workflow'] is None): - raise ValueError("Missing the required parameter `attributes_workflow` when calling `update_workflow_attributes`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_workflow_attributes`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - if 'attributes_domain' in params: - path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 - if 'attributes_workflow' in params: - path_params['attributes.workflow'] = params['attributes_workflow'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def update_workflow_attributes2(self, attributes_org, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_workflow_attributes2(attributes_org, attributes_project, attributes_domain, attributes_workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_org: Optional, org key applied to the attributes. (required) - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) - :param AdminWorkflowAttributesUpdateRequest body: (required) - :return: AdminWorkflowAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_workflow_attributes2_with_http_info(attributes_org, attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 - else: - (data) = self.update_workflow_attributes2_with_http_info(attributes_org, attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 - return data - - def update_workflow_attributes2_with_http_info(self, attributes_org, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 - """Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_workflow_attributes2_with_http_info(attributes_org, attributes_project, attributes_domain, attributes_workflow, body, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param str attributes_org: Optional, org key applied to the attributes. (required) - :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) - :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) - :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) - :param AdminWorkflowAttributesUpdateRequest body: (required) - :return: AdminWorkflowAttributesUpdateResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['attributes_org', 'attributes_project', 'attributes_domain', 'attributes_workflow', 'body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method update_workflow_attributes2" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'attributes_org' is set - if ('attributes_org' not in params or - params['attributes_org'] is None): - raise ValueError("Missing the required parameter `attributes_org` when calling `update_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'attributes_project' is set - if ('attributes_project' not in params or - params['attributes_project'] is None): - raise ValueError("Missing the required parameter `attributes_project` when calling `update_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'attributes_domain' is set - if ('attributes_domain' not in params or - params['attributes_domain'] is None): - raise ValueError("Missing the required parameter `attributes_domain` when calling `update_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'attributes_workflow' is set - if ('attributes_workflow' not in params or - params['attributes_workflow'] is None): - raise ValueError("Missing the required parameter `attributes_workflow` when calling `update_workflow_attributes2`") # noqa: E501 - # verify the required parameter 'body' is set - if ('body' not in params or - params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `update_workflow_attributes2`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'attributes_org' in params: - path_params['attributes.org'] = params['attributes_org'] # noqa: E501 - if 'attributes_project' in params: - path_params['attributes.project'] = params['attributes_project'] # noqa: E501 - if 'attributes_domain' in params: - path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 - if 'attributes_workflow' in params: - path_params['attributes.workflow'] = params['attributes_workflow'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = [] # noqa: E501 - - return self.api_client.call_api( - '/api/v1/workflow_attributes/org/{attributes.org}/{attributes.project}/{attributes.domain}/{attributes.workflow}', 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='AdminWorkflowAttributesUpdateResponse', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py deleted file mode 100644 index 9a7091b08f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api_client.py +++ /dev/null @@ -1,638 +0,0 @@ -# coding: utf-8 -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import datetime -import json -import mimetypes -from multiprocessing.pool import ThreadPool -import os -import re -import tempfile - -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import quote - -from flyteadmin.configuration import Configuration -import flyteadmin.models -from flyteadmin import rest - - -class ApiClient(object): - """Generic API client for Swagger client library builds. - - Swagger generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the Swagger - templates. - - NOTE: This class is auto generated by the swagger code generator program. - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - """ - - PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types - NATIVE_TYPES_MAPPING = { - 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 - 'float': float, - 'str': str, - 'bool': bool, - 'date': datetime.date, - 'datetime': datetime.datetime, - 'object': object, - } - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None): - if configuration is None: - configuration = Configuration() - self.configuration = configuration - - # Use the pool property to lazily initialize the ThreadPool. - self._pool = None - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/1.0.0/python' - - def __del__(self): - if self._pool is not None: - self._pool.close() - self._pool.join() - - @property - def pool(self): - if self._pool is None: - self._pool = ThreadPool() - return self._pool - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - def __call_api( - self, resource_path, method, path_params=None, - query_params=None, header_params=None, body=None, post_params=None, - files=None, response_type=None, auth_settings=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - - # post parameters - if post_params or files: - post_params = self.prepare_post_parameters(post_params, files) - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - - # auth setting - self.update_params_for_auth(header_params, query_params, auth_settings) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # request url - url = self.configuration.host + resource_path - - # perform request and return response - response_data = self.request( - method, url, query_params=query_params, headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - - self.last_response = response_data - - return_data = response_data - if _preload_content: - # deserialize response data - if response_type: - return_data = self.deserialize(response_data, response_type) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, - response_data.getheaders()) - - def sanitize_for_serialization(self, obj): - """Builds a JSON POST object. - - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is swagger model, return the properties dict. - - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if obj is None: - return None - elif isinstance(obj, self.PRIMITIVE_TYPES): - return obj - elif isinstance(obj, list): - return [self.sanitize_for_serialization(sub_obj) - for sub_obj in obj] - elif isinstance(obj, tuple): - return tuple(self.sanitize_for_serialization(sub_obj) - for sub_obj in obj) - elif isinstance(obj, (datetime.datetime, datetime.date)): - return obj.isoformat() - - if isinstance(obj, dict): - obj_dict = obj - else: - # Convert model obj to dict except - # attributes `swagger_types`, `attribute_map` - # and attributes which value is not None. - # Convert attribute name to json key in - # model definition for request. - obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.swagger_types) - if getattr(obj, attr) is not None} - - return {key: self.sanitize_for_serialization(val) - for key, val in six.iteritems(obj_dict)} - - def deserialize(self, response, response_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: class literal for - deserialized object, or string of class name. - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == "file": - return self.__deserialize_file(response) - - # fetch data from response object - try: - data = json.loads(response.data) - except ValueError: - data = response.data - - return self.__deserialize(data, response_type) - - def __deserialize(self, data, klass): - """Deserializes dict, list, str into an object. - - :param data: dict, list or str. - :param klass: class literal, or string of class name. - - :return: object. - """ - if data is None: - return None - - if type(klass) == str: - if klass.startswith('list['): - sub_kls = re.match(r'list\[(.*)\]', klass).group(1) - return [self.__deserialize(sub_data, sub_kls) - for sub_data in data] - - if klass.startswith('dict('): - sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) - return {k: self.__deserialize(v, sub_kls) - for k, v in six.iteritems(data)} - - # convert str to class - if klass in self.NATIVE_TYPES_MAPPING: - klass = self.NATIVE_TYPES_MAPPING[klass] - else: - klass = getattr(flyteadmin.models, klass) - - if klass in self.PRIMITIVE_TYPES: - return self.__deserialize_primitive(data, klass) - elif klass == object: - return self.__deserialize_object(data) - elif klass == datetime.date: - return self.__deserialize_date(data) - elif klass == datetime.datetime: - return self.__deserialize_datatime(data) - else: - return self.__deserialize_model(data, klass) - - def call_api(self, resource_path, method, - path_params=None, query_params=None, header_params=None, - body=None, post_params=None, files=None, - response_type=None, auth_settings=None, async_req=None, - _return_http_data_only=None, collection_formats=None, - _preload_content=True, _request_timeout=None): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response: Response data type. - :param files dict: key -> filename, value -> filepath, - for `multipart/form-data`. - :param async_req bool: execute request asynchronously - :param _return_http_data_only: response data without head status code - and headers - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - if not async_req: - return self.__call_api(resource_path, method, - path_params, query_params, header_params, - body, post_params, files, - response_type, auth_settings, - _return_http_data_only, collection_formats, - _preload_content, _request_timeout) - else: - thread = self.pool.apply_async(self.__call_api, (resource_path, - method, path_params, query_params, - header_params, body, - post_params, files, - response_type, auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, _request_timeout)) - return thread - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.HEAD(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.OPTIONS(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "POST": - return self.rest_client.POST(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.PUT(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.PATCH(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.DELETE(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - def prepare_post_parameters(self, post_params=None, files=None): - """Builds form parameters. - - :param post_params: Normal form parameters. - :param files: File parameters. - :return: Form parameters with files. - """ - params = [] - - if post_params: - params = post_params - - if files: - for k, v in six.iteritems(files): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([k, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return 'application/json' - - content_types = [x.lower() for x in content_types] - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - else: - return content_types[0] - - def update_params_for_auth(self, headers, querys, auth_settings): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param querys: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - """ - if not auth_settings: - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - if not auth_setting['value']: - continue - elif auth_setting['in'] == 'header': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - querys.append((auth_setting['key'], auth_setting['value'])) - else: - raise ValueError( - 'Authentication token must be in `query` or `header`' - ) - - def __deserialize_file(self, response): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - :param response: RESTResponse. - :return: file path. - """ - fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - content_disposition = response.getheader("Content-Disposition") - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - f.write(response.data) - - return path - - def __deserialize_primitive(self, data, klass): - """Deserializes string to primitive type. - - :param data: str. - :param klass: class literal. - - :return: int, long, float, str, bool. - """ - try: - return klass(data) - except UnicodeEncodeError: - return six.text_type(data) - except TypeError: - return data - - def __deserialize_object(self, value): - """Return a original value. - - :return: object. - """ - return value - - def __deserialize_date(self, string): - """Deserializes string to date. - - :param string: str. - :return: date. - """ - try: - from dateutil.parser import parse - return parse(string).date() - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason="Failed to parse `{0}` as date object".format(string) - ) - - def __deserialize_datatime(self, string): - """Deserializes string to datetime. - - The string should be in iso8601 datetime format. - - :param string: str. - :return: datetime. - """ - try: - from dateutil.parser import parse - return parse(string) - except ImportError: - return string - except ValueError: - raise rest.ApiException( - status=0, - reason=( - "Failed to parse `{0}` as datetime object" - .format(string) - ) - ) - - def __hasattr(self, object, name): - return name in object.__class__.__dict__ - - def __deserialize_model(self, data, klass): - """Deserializes list or dict to model. - - :param data: dict, list. - :param klass: class literal. - :return: model object. - """ - - if (not klass.swagger_types and - not self.__hasattr(klass, 'get_real_child_model')): - return data - - kwargs = {} - if klass.swagger_types is not None: - for attr, attr_type in six.iteritems(klass.swagger_types): - if (data is not None and - klass.attribute_map[attr] in data and - isinstance(data, (list, dict))): - value = data[klass.attribute_map[attr]] - kwargs[attr] = self.__deserialize(value, attr_type) - - instance = klass(**kwargs) - - if (isinstance(instance, dict) and - klass.swagger_types is not None and - isinstance(data, dict)): - for key, value in data.items(): - if key not in klass.swagger_types: - instance[key] = value - if self.__hasattr(instance, 'get_real_child_model'): - klass_name = instance.get_real_child_model(data) - if klass_name: - instance = self.__deserialize(data, klass_name) - return instance diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py deleted file mode 100644 index e6773bd5f1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/configuration.py +++ /dev/null @@ -1,237 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import copy -import logging -import multiprocessing -import sys -import urllib3 - -import six -from six.moves import http_client as httplib - - -class Configuration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Ref: https://github.com/swagger-api/swagger-codegen - Do not edit the class manually. - """ - - _default = None - - def __init__(self): - """Constructor""" - if self._default: - for key in self._default.__dict__.keys(): - self.__dict__[key] = copy.copy(self._default.__dict__[key]) - return - - # Default Base url - self.host = "http://localhost" - # Temp file folder for downloading files - self.temp_folder_path = None - - # Authentication Settings - # dict to store API key(s) - self.api_key = {} - # dict to store API prefix (e.g. Bearer) - self.api_key_prefix = {} - # Username for HTTP basic authentication - self.username = "" - # Password for HTTP basic authentication - self.password = "" - - # Logging Settings - self.logger = {} - self.logger["package_logger"] = logging.getLogger("flyteadmin") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - # Log format - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - # Log stream handler - self.logger_stream_handler = None - # Log file handler - self.logger_file_handler = None - # Debug file location - self.logger_file = None - # Debug switch - self.debug = False - - # SSL/TLS verification - # Set this to false to skip verifying SSL certificate when calling API - # from https server. - self.verify_ssl = True - # Set this to customize the certificate file to verify the peer. - self.ssl_ca_cert = None - # client certificate file - self.cert_file = None - # client key file - self.key_file = None - # Set this to True/False to enable/disable SSL hostname verification. - self.assert_hostname = None - - # urllib3 connection pool's maximum number of connections saved - # per pool. urllib3 uses 1 connection as default value, but this is - # not the best value when you are making a lot of possibly parallel - # requests to the same host, which is often the case here. - # cpu_count * 5 is used as default value to increase performance. - self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 - - # Proxy URL - self.proxy = None - # Safe chars for path_param - self.safe_chars_for_path_param = '' - - @classmethod - def set_default(cls, default): - cls._default = default - - @property - def logger_file(self): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_file_handler) - if self.logger_stream_handler: - logger.removeHandler(self.logger_stream_handler) - else: - # If not set logging file, - # then add stream handler and remove file handler. - self.logger_stream_handler = logging.StreamHandler() - self.logger_stream_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): - logger.addHandler(self.logger_stream_handler) - if self.logger_file_handler: - logger.removeHandler(self.logger_file_handler) - - @property - def debug(self): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.DEBUG) - # turn on httplib debug - httplib.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in six.iteritems(self.logger): - logger.setLevel(logging.WARNING) - # turn off httplib debug - httplib.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier): - """Gets API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :return: The token for api key authentication. - """ - if (self.api_key.get(identifier) and - self.api_key_prefix.get(identifier)): - return self.api_key_prefix[identifier] + ' ' + self.api_key[identifier] # noqa: E501 - elif self.api_key.get(identifier): - return self.api_key[identifier] - - def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - """ - return urllib3.util.make_headers( - basic_auth=self.username + ':' + self.password - ).get('authorization') - - def auth_settings(self): - """Gets Auth Settings dict for api client. - - :return: The Auth Settings information dict. - """ - return { - - } - - def to_debug_report(self): - """Gets the essential information for debugging. - - :return: The report for debugging. - """ - return "Python SDK Debug Report:\n"\ - "OS: {env}\n"\ - "Python Version: {pyversion}\n"\ - "Version of the API: version not set\n"\ - "SDK Package Version: 1.0.0".\ - format(env=sys.platform, pyversion=sys.version) diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py deleted file mode 100644 index 3089fff468..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py +++ /dev/null @@ -1,298 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -# import models into model package -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata -from flyteadmin.models.admin_annotations import AdminAnnotations -from flyteadmin.models.admin_auth import AdminAuth -from flyteadmin.models.admin_auth_role import AdminAuthRole -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule -from flyteadmin.models.admin_description import AdminDescription -from flyteadmin.models.admin_description_entity import AdminDescriptionEntity -from flyteadmin.models.admin_description_entity_list import AdminDescriptionEntityList -from flyteadmin.models.admin_description_format import AdminDescriptionFormat -from flyteadmin.models.admin_domain import AdminDomain -from flyteadmin.models.admin_dynamic_node_workflow_response import AdminDynamicNodeWorkflowResponse -from flyteadmin.models.admin_email_notification import AdminEmailNotification -from flyteadmin.models.admin_envs import AdminEnvs -from flyteadmin.models.admin_execution import AdminExecution -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel -from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest -from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse -from flyteadmin.models.admin_execution_list import AdminExecutionList -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes -from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest -from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec -from flyteadmin.models.admin_execution_state import AdminExecutionState -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails -from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest -from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse -from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest -from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse -from flyteadmin.models.admin_fixed_rate import AdminFixedRate -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit -from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs -from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse -from flyteadmin.models.admin_labels import AdminLabels -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure -from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest -from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse -from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState -from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest -from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse -from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes -from flyteadmin.models.admin_named_entity import AdminNamedEntity -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier -from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList -from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState -from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest -from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure -from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest -from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse -from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse -from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData -from flyteadmin.models.admin_notification import AdminNotification -from flyteadmin.models.admin_notification_list import AdminNotificationList -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification -from flyteadmin.models.admin_plugin_override import AdminPluginOverride -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides -from flyteadmin.models.admin_project import AdminProject -from flyteadmin.models.admin_project_attributes import AdminProjectAttributes -from flyteadmin.models.admin_project_attributes_delete_request import AdminProjectAttributesDeleteRequest -from flyteadmin.models.admin_project_attributes_delete_response import AdminProjectAttributesDeleteResponse -from flyteadmin.models.admin_project_attributes_get_response import AdminProjectAttributesGetResponse -from flyteadmin.models.admin_project_attributes_update_request import AdminProjectAttributesUpdateRequest -from flyteadmin.models.admin_project_attributes_update_response import AdminProjectAttributesUpdateResponse -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes -from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest -from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse -from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse -from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest -from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse -from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest -from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse -from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse -from flyteadmin.models.admin_projects import AdminProjects -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig -from flyteadmin.models.admin_reason import AdminReason -from flyteadmin.models.admin_schedule import AdminSchedule -from flyteadmin.models.admin_slack_notification import AdminSlackNotification -from flyteadmin.models.admin_sort import AdminSort -from flyteadmin.models.admin_source_code import AdminSourceCode -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata -from flyteadmin.models.admin_task import AdminTask -from flyteadmin.models.admin_task_closure import AdminTaskClosure -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure -from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest -from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse -from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse -from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList -from flyteadmin.models.admin_task_list import AdminTaskList -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec -from flyteadmin.models.admin_task_spec import AdminTaskSpec -from flyteadmin.models.admin_url_blob import AdminUrlBlob -from flyteadmin.models.admin_version import AdminVersion -from flyteadmin.models.admin_workflow import AdminWorkflow -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes -from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest -from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse -from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse -from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest -from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure -from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest -from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig -from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest -from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse -from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse -from flyteadmin.models.admin_workflow_execution_get_metrics_response import AdminWorkflowExecutionGetMetricsResponse -from flyteadmin.models.admin_workflow_list import AdminWorkflowList -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList -from flyteadmin.models.container_architecture import ContainerArchitecture -from flyteadmin.models.core_alias import CoreAlias -from flyteadmin.models.core_approve_condition import CoreApproveCondition -from flyteadmin.models.core_array_node import CoreArrayNode -from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData -from flyteadmin.models.core_artifact_id import CoreArtifactID -from flyteadmin.models.core_artifact_key import CoreArtifactKey -from flyteadmin.models.core_artifact_query import CoreArtifactQuery -from flyteadmin.models.core_artifact_tag import CoreArtifactTag -from flyteadmin.models.core_binary import CoreBinary -from flyteadmin.models.core_binding import CoreBinding -from flyteadmin.models.core_binding_data import CoreBindingData -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap -from flyteadmin.models.core_blob import CoreBlob -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata -from flyteadmin.models.core_blob_type import CoreBlobType -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression -from flyteadmin.models.core_branch_node import CoreBranchNode -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression -from flyteadmin.models.core_compiled_task import CoreCompiledTask -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression -from flyteadmin.models.core_connection_set import CoreConnectionSet -from flyteadmin.models.core_container import CoreContainer -from flyteadmin.models.core_container_port import CoreContainerPort -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig -from flyteadmin.models.core_enum_type import CoreEnumType -from flyteadmin.models.core_error import CoreError -from flyteadmin.models.core_execution_error import CoreExecutionError -from flyteadmin.models.core_extended_resources import CoreExtendedResources -from flyteadmin.models.core_gpu_accelerator import CoreGPUAccelerator -from flyteadmin.models.core_gate_node import CoreGateNode -from flyteadmin.models.core_io_strategy import CoreIOStrategy -from flyteadmin.models.core_identifier import CoreIdentifier -from flyteadmin.models.core_identity import CoreIdentity -from flyteadmin.models.core_if_block import CoreIfBlock -from flyteadmin.models.core_if_else_block import CoreIfElseBlock -from flyteadmin.models.core_input_binding_data import CoreInputBindingData -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata -from flyteadmin.models.core_k8s_pod import CoreK8sPod -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair -from flyteadmin.models.core_label_value import CoreLabelValue -from flyteadmin.models.core_literal import CoreLiteral -from flyteadmin.models.core_literal_collection import CoreLiteralCollection -from flyteadmin.models.core_literal_map import CoreLiteralMap -from flyteadmin.models.core_literal_type import CoreLiteralType -from flyteadmin.models.core_node import CoreNode -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase -from flyteadmin.models.core_node_metadata import CoreNodeMetadata -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType -from flyteadmin.models.core_operand import CoreOperand -from flyteadmin.models.core_output_reference import CoreOutputReference -from flyteadmin.models.core_parameter import CoreParameter -from flyteadmin.models.core_parameter_map import CoreParameterMap -from flyteadmin.models.core_partitions import CorePartitions -from flyteadmin.models.core_primitive import CorePrimitive -from flyteadmin.models.core_promise_attribute import CorePromiseAttribute -from flyteadmin.models.core_quality_of_service import CoreQualityOfService -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec -from flyteadmin.models.core_resource_type import CoreResourceType -from flyteadmin.models.core_resources import CoreResources -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata -from flyteadmin.models.core_scalar import CoreScalar -from flyteadmin.models.core_schema import CoreSchema -from flyteadmin.models.core_schema_type import CoreSchemaType -from flyteadmin.models.core_secret import CoreSecret -from flyteadmin.models.core_security_context import CoreSecurityContext -from flyteadmin.models.core_signal_condition import CoreSignalCondition -from flyteadmin.models.core_simple_type import CoreSimpleType -from flyteadmin.models.core_sleep_condition import CoreSleepCondition -from flyteadmin.models.core_span import CoreSpan -from flyteadmin.models.core_sql import CoreSql -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase -from flyteadmin.models.core_task_log import CoreTaskLog -from flyteadmin.models.core_task_metadata import CoreTaskMetadata -from flyteadmin.models.core_task_node import CoreTaskNode -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides -from flyteadmin.models.core_task_template import CoreTaskTemplate -from flyteadmin.models.core_time_partition import CoreTimePartition -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation -from flyteadmin.models.core_type_structure import CoreTypeStructure -from flyteadmin.models.core_typed_interface import CoreTypedInterface -from flyteadmin.models.core_union import CoreUnion -from flyteadmin.models.core_union_info import CoreUnionInfo -from flyteadmin.models.core_union_type import CoreUnionType -from flyteadmin.models.core_variable import CoreVariable -from flyteadmin.models.core_variable_map import CoreVariableMap -from flyteadmin.models.core_void import CoreVoid -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults -from flyteadmin.models.core_workflow_node import CoreWorkflowNode -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat -from flyteadmin.models.event_event_reason import EventEventReason -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution -from flyteadmin.models.flyteidladmin_task_create_request import FlyteidladminTaskCreateRequest -from flyteadmin.models.flyteidladmin_task_create_response import FlyteidladminTaskCreateResponse -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata -from flyteadmin.models.flyteidlevent_task_execution_metadata import FlyteidleventTaskExecutionMetadata -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior -from flyteadmin.models.project_project_state import ProjectProjectState -from flyteadmin.models.protobuf_any import ProtobufAny -from flyteadmin.models.protobuf_list_value import ProtobufListValue -from flyteadmin.models.protobuf_null_value import ProtobufNullValue -from flyteadmin.models.protobuf_struct import ProtobufStruct -from flyteadmin.models.protobuf_value import ProtobufValue -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry -from flyteadmin.models.resources_resource_name import ResourcesResourceName -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn -from flyteadmin.models.secret_mount_type import SecretMountType -from flyteadmin.models.sort_direction import SortDirection -from flyteadmin.models.sql_dialect import SqlDialect -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py deleted file mode 100644 index 406ea90476..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_abort_metadata.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAbortMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cause': 'str', - 'principal': 'str' - } - - attribute_map = { - 'cause': 'cause', - 'principal': 'principal' - } - - def __init__(self, cause=None, principal=None): # noqa: E501 - """AdminAbortMetadata - a model defined in Swagger""" # noqa: E501 - - self._cause = None - self._principal = None - self.discriminator = None - - if cause is not None: - self.cause = cause - if principal is not None: - self.principal = principal - - @property - def cause(self): - """Gets the cause of this AdminAbortMetadata. # noqa: E501 - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :return: The cause of this AdminAbortMetadata. # noqa: E501 - :rtype: str - """ - return self._cause - - @cause.setter - def cause(self, cause): - """Sets the cause of this AdminAbortMetadata. - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :param cause: The cause of this AdminAbortMetadata. # noqa: E501 - :type: str - """ - - self._cause = cause - - @property - def principal(self): - """Gets the principal of this AdminAbortMetadata. # noqa: E501 - - - :return: The principal of this AdminAbortMetadata. # noqa: E501 - :rtype: str - """ - return self._principal - - @principal.setter - def principal(self, principal): - """Sets the principal of this AdminAbortMetadata. - - - :param principal: The principal of this AdminAbortMetadata. # noqa: E501 - :type: str - """ - - self._principal = principal - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAbortMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAbortMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py deleted file mode 100644 index c0aeceade3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_annotations.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAnnotations(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'dict(str, str)' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """AdminAnnotations - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this AdminAnnotations. # noqa: E501 - - Map of custom annotations to be applied to the execution resource. # noqa: E501 - - :return: The values of this AdminAnnotations. # noqa: E501 - :rtype: dict(str, str) - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this AdminAnnotations. - - Map of custom annotations to be applied to the execution resource. # noqa: E501 - - :param values: The values of this AdminAnnotations. # noqa: E501 - :type: dict(str, str) - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAnnotations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAnnotations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py deleted file mode 100644 index a994ca210e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAuth(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'assumable_iam_role': 'str', - 'kubernetes_service_account': 'str' - } - - attribute_map = { - 'assumable_iam_role': 'assumable_iam_role', - 'kubernetes_service_account': 'kubernetes_service_account' - } - - def __init__(self, assumable_iam_role=None, kubernetes_service_account=None): # noqa: E501 - """AdminAuth - a model defined in Swagger""" # noqa: E501 - - self._assumable_iam_role = None - self._kubernetes_service_account = None - self.discriminator = None - - if assumable_iam_role is not None: - self.assumable_iam_role = assumable_iam_role - if kubernetes_service_account is not None: - self.kubernetes_service_account = kubernetes_service_account - - @property - def assumable_iam_role(self): - """Gets the assumable_iam_role of this AdminAuth. # noqa: E501 - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The assumable_iam_role of this AdminAuth. # noqa: E501 - :rtype: str - """ - return self._assumable_iam_role - - @assumable_iam_role.setter - def assumable_iam_role(self, assumable_iam_role): - """Sets the assumable_iam_role of this AdminAuth. - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param assumable_iam_role: The assumable_iam_role of this AdminAuth. # noqa: E501 - :type: str - """ - - self._assumable_iam_role = assumable_iam_role - - @property - def kubernetes_service_account(self): - """Gets the kubernetes_service_account of this AdminAuth. # noqa: E501 - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The kubernetes_service_account of this AdminAuth. # noqa: E501 - :rtype: str - """ - return self._kubernetes_service_account - - @kubernetes_service_account.setter - def kubernetes_service_account(self, kubernetes_service_account): - """Sets the kubernetes_service_account of this AdminAuth. - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param kubernetes_service_account: The kubernetes_service_account of this AdminAuth. # noqa: E501 - :type: str - """ - - self._kubernetes_service_account = kubernetes_service_account - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAuth, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAuth): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py deleted file mode 100644 index 2cfde51be6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_auth_role.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminAuthRole(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'assumable_iam_role': 'str', - 'kubernetes_service_account': 'str' - } - - attribute_map = { - 'assumable_iam_role': 'assumable_iam_role', - 'kubernetes_service_account': 'kubernetes_service_account' - } - - def __init__(self, assumable_iam_role=None, kubernetes_service_account=None): # noqa: E501 - """AdminAuthRole - a model defined in Swagger""" # noqa: E501 - - self._assumable_iam_role = None - self._kubernetes_service_account = None - self.discriminator = None - - if assumable_iam_role is not None: - self.assumable_iam_role = assumable_iam_role - if kubernetes_service_account is not None: - self.kubernetes_service_account = kubernetes_service_account - - @property - def assumable_iam_role(self): - """Gets the assumable_iam_role of this AdminAuthRole. # noqa: E501 - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The assumable_iam_role of this AdminAuthRole. # noqa: E501 - :rtype: str - """ - return self._assumable_iam_role - - @assumable_iam_role.setter - def assumable_iam_role(self, assumable_iam_role): - """Sets the assumable_iam_role of this AdminAuthRole. - - Defines an optional iam role which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param assumable_iam_role: The assumable_iam_role of this AdminAuthRole. # noqa: E501 - :type: str - """ - - self._assumable_iam_role = assumable_iam_role - - @property - def kubernetes_service_account(self): - """Gets the kubernetes_service_account of this AdminAuthRole. # noqa: E501 - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :return: The kubernetes_service_account of this AdminAuthRole. # noqa: E501 - :rtype: str - """ - return self._kubernetes_service_account - - @kubernetes_service_account.setter - def kubernetes_service_account(self, kubernetes_service_account): - """Sets the kubernetes_service_account of this AdminAuthRole. - - Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. # noqa: E501 - - :param kubernetes_service_account: The kubernetes_service_account of this AdminAuthRole. # noqa: E501 - :type: str - """ - - self._kubernetes_service_account = kubernetes_service_account - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminAuthRole, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminAuthRole): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py deleted file mode 100644 index 15f5fd96f0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_assignment.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminClusterAssignment(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cluster_pool_name': 'str' - } - - attribute_map = { - 'cluster_pool_name': 'cluster_pool_name' - } - - def __init__(self, cluster_pool_name=None): # noqa: E501 - """AdminClusterAssignment - a model defined in Swagger""" # noqa: E501 - - self._cluster_pool_name = None - self.discriminator = None - - if cluster_pool_name is not None: - self.cluster_pool_name = cluster_pool_name - - @property - def cluster_pool_name(self): - """Gets the cluster_pool_name of this AdminClusterAssignment. # noqa: E501 - - - :return: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 - :rtype: str - """ - return self._cluster_pool_name - - @cluster_pool_name.setter - def cluster_pool_name(self, cluster_pool_name): - """Sets the cluster_pool_name of this AdminClusterAssignment. - - - :param cluster_pool_name: The cluster_pool_name of this AdminClusterAssignment. # noqa: E501 - :type: str - """ - - self._cluster_pool_name = cluster_pool_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminClusterAssignment, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminClusterAssignment): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py deleted file mode 100644 index 8b9627b37a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminClusterResourceAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'dict(str, str)' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminClusterResourceAttributes - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminClusterResourceAttributes. # noqa: E501 - - Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 - - :return: The attributes of this AdminClusterResourceAttributes. # noqa: E501 - :rtype: dict(str, str) - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminClusterResourceAttributes. - - Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 - - :param attributes: The attributes of this AdminClusterResourceAttributes. # noqa: E501 - :type: dict(str, str) - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminClusterResourceAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminClusterResourceAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py deleted file mode 100644 index 7f86dcaafb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cron_schedule.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminCronSchedule(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'schedule': 'str', - 'offset': 'str' - } - - attribute_map = { - 'schedule': 'schedule', - 'offset': 'offset' - } - - def __init__(self, schedule=None, offset=None): # noqa: E501 - """AdminCronSchedule - a model defined in Swagger""" # noqa: E501 - - self._schedule = None - self._offset = None - self.discriminator = None - - if schedule is not None: - self.schedule = schedule - if offset is not None: - self.offset = offset - - @property - def schedule(self): - """Gets the schedule of this AdminCronSchedule. # noqa: E501 - - - :return: The schedule of this AdminCronSchedule. # noqa: E501 - :rtype: str - """ - return self._schedule - - @schedule.setter - def schedule(self, schedule): - """Sets the schedule of this AdminCronSchedule. - - - :param schedule: The schedule of this AdminCronSchedule. # noqa: E501 - :type: str - """ - - self._schedule = schedule - - @property - def offset(self): - """Gets the offset of this AdminCronSchedule. # noqa: E501 - - - :return: The offset of this AdminCronSchedule. # noqa: E501 - :rtype: str - """ - return self._offset - - @offset.setter - def offset(self, offset): - """Sets the offset of this AdminCronSchedule. - - - :param offset: The offset of this AdminCronSchedule. # noqa: E501 - :type: str - """ - - self._offset = offset - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminCronSchedule, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminCronSchedule): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description.py deleted file mode 100644 index d6188543b7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description.py +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_description_format import AdminDescriptionFormat # noqa: F401,E501 - - -class AdminDescription(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'str', - 'uri': 'str', - 'format': 'AdminDescriptionFormat', - 'icon_link': 'str' - } - - attribute_map = { - 'value': 'value', - 'uri': 'uri', - 'format': 'format', - 'icon_link': 'icon_link' - } - - def __init__(self, value=None, uri=None, format=None, icon_link=None): # noqa: E501 - """AdminDescription - a model defined in Swagger""" # noqa: E501 - - self._value = None - self._uri = None - self._format = None - self._icon_link = None - self.discriminator = None - - if value is not None: - self.value = value - if uri is not None: - self.uri = uri - if format is not None: - self.format = format - if icon_link is not None: - self.icon_link = icon_link - - @property - def value(self): - """Gets the value of this AdminDescription. # noqa: E501 - - - :return: The value of this AdminDescription. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AdminDescription. - - - :param value: The value of this AdminDescription. # noqa: E501 - :type: str - """ - - self._value = value - - @property - def uri(self): - """Gets the uri of this AdminDescription. # noqa: E501 - - - :return: The uri of this AdminDescription. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this AdminDescription. - - - :param uri: The uri of this AdminDescription. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def format(self): - """Gets the format of this AdminDescription. # noqa: E501 - - - :return: The format of this AdminDescription. # noqa: E501 - :rtype: AdminDescriptionFormat - """ - return self._format - - @format.setter - def format(self, format): - """Sets the format of this AdminDescription. - - - :param format: The format of this AdminDescription. # noqa: E501 - :type: AdminDescriptionFormat - """ - - self._format = format - - @property - def icon_link(self): - """Gets the icon_link of this AdminDescription. # noqa: E501 - - - :return: The icon_link of this AdminDescription. # noqa: E501 - :rtype: str - """ - return self._icon_link - - @icon_link.setter - def icon_link(self, icon_link): - """Sets the icon_link of this AdminDescription. - - - :param icon_link: The icon_link of this AdminDescription. # noqa: E501 - :type: str - """ - - self._icon_link = icon_link - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminDescription, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminDescription): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_entity.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_entity.py deleted file mode 100644 index 87438a1a93..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_entity.py +++ /dev/null @@ -1,233 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_description import AdminDescription # noqa: F401,E501 -from flyteadmin.models.admin_source_code import AdminSourceCode # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminDescriptionEntity(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'short_description': 'str', - 'long_description': 'AdminDescription', - 'source_code': 'AdminSourceCode', - 'tags': 'list[str]' - } - - attribute_map = { - 'id': 'id', - 'short_description': 'short_description', - 'long_description': 'long_description', - 'source_code': 'source_code', - 'tags': 'tags' - } - - def __init__(self, id=None, short_description=None, long_description=None, source_code=None, tags=None): # noqa: E501 - """AdminDescriptionEntity - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._short_description = None - self._long_description = None - self._source_code = None - self._tags = None - self.discriminator = None - - if id is not None: - self.id = id - if short_description is not None: - self.short_description = short_description - if long_description is not None: - self.long_description = long_description - if source_code is not None: - self.source_code = source_code - if tags is not None: - self.tags = tags - - @property - def id(self): - """Gets the id of this AdminDescriptionEntity. # noqa: E501 - - id represents the unique identifier of the description entity. # noqa: E501 - - :return: The id of this AdminDescriptionEntity. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminDescriptionEntity. - - id represents the unique identifier of the description entity. # noqa: E501 - - :param id: The id of this AdminDescriptionEntity. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def short_description(self): - """Gets the short_description of this AdminDescriptionEntity. # noqa: E501 - - One-liner overview of the entity. # noqa: E501 - - :return: The short_description of this AdminDescriptionEntity. # noqa: E501 - :rtype: str - """ - return self._short_description - - @short_description.setter - def short_description(self, short_description): - """Sets the short_description of this AdminDescriptionEntity. - - One-liner overview of the entity. # noqa: E501 - - :param short_description: The short_description of this AdminDescriptionEntity. # noqa: E501 - :type: str - """ - - self._short_description = short_description - - @property - def long_description(self): - """Gets the long_description of this AdminDescriptionEntity. # noqa: E501 - - Full user description with formatting preserved. # noqa: E501 - - :return: The long_description of this AdminDescriptionEntity. # noqa: E501 - :rtype: AdminDescription - """ - return self._long_description - - @long_description.setter - def long_description(self, long_description): - """Sets the long_description of this AdminDescriptionEntity. - - Full user description with formatting preserved. # noqa: E501 - - :param long_description: The long_description of this AdminDescriptionEntity. # noqa: E501 - :type: AdminDescription - """ - - self._long_description = long_description - - @property - def source_code(self): - """Gets the source_code of this AdminDescriptionEntity. # noqa: E501 - - Optional link to source code used to define this entity. # noqa: E501 - - :return: The source_code of this AdminDescriptionEntity. # noqa: E501 - :rtype: AdminSourceCode - """ - return self._source_code - - @source_code.setter - def source_code(self, source_code): - """Sets the source_code of this AdminDescriptionEntity. - - Optional link to source code used to define this entity. # noqa: E501 - - :param source_code: The source_code of this AdminDescriptionEntity. # noqa: E501 - :type: AdminSourceCode - """ - - self._source_code = source_code - - @property - def tags(self): - """Gets the tags of this AdminDescriptionEntity. # noqa: E501 - - User-specified tags. These are arbitrary and can be used for searching filtering and discovering tasks. # noqa: E501 - - :return: The tags of this AdminDescriptionEntity. # noqa: E501 - :rtype: list[str] - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this AdminDescriptionEntity. - - User-specified tags. These are arbitrary and can be used for searching filtering and discovering tasks. # noqa: E501 - - :param tags: The tags of this AdminDescriptionEntity. # noqa: E501 - :type: list[str] - """ - - self._tags = tags - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminDescriptionEntity, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminDescriptionEntity): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_entity_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_entity_list.py deleted file mode 100644 index 60ba9535e4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_entity_list.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_description_entity import AdminDescriptionEntity # noqa: F401,E501 - - -class AdminDescriptionEntityList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'description_entities': 'list[AdminDescriptionEntity]', - 'token': 'str' - } - - attribute_map = { - 'description_entities': 'descriptionEntities', - 'token': 'token' - } - - def __init__(self, description_entities=None, token=None): # noqa: E501 - """AdminDescriptionEntityList - a model defined in Swagger""" # noqa: E501 - - self._description_entities = None - self._token = None - self.discriminator = None - - if description_entities is not None: - self.description_entities = description_entities - if token is not None: - self.token = token - - @property - def description_entities(self): - """Gets the description_entities of this AdminDescriptionEntityList. # noqa: E501 - - A list of DescriptionEntities returned based on the request. # noqa: E501 - - :return: The description_entities of this AdminDescriptionEntityList. # noqa: E501 - :rtype: list[AdminDescriptionEntity] - """ - return self._description_entities - - @description_entities.setter - def description_entities(self, description_entities): - """Sets the description_entities of this AdminDescriptionEntityList. - - A list of DescriptionEntities returned based on the request. # noqa: E501 - - :param description_entities: The description_entities of this AdminDescriptionEntityList. # noqa: E501 - :type: list[AdminDescriptionEntity] - """ - - self._description_entities = description_entities - - @property - def token(self): - """Gets the token of this AdminDescriptionEntityList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminDescriptionEntityList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminDescriptionEntityList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminDescriptionEntityList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminDescriptionEntityList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminDescriptionEntityList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_format.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_format.py deleted file mode 100644 index 882ff02fe7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_description_format.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminDescriptionFormat(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "DESCRIPTION_FORMAT_UNKNOWN" - MARKDOWN = "DESCRIPTION_FORMAT_MARKDOWN" - HTML = "DESCRIPTION_FORMAT_HTML" - RST = "DESCRIPTION_FORMAT_RST" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminDescriptionFormat - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminDescriptionFormat, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminDescriptionFormat): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py deleted file mode 100644 index 9c500ee740..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_domain.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminDomain(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'name': 'str' - } - - attribute_map = { - 'id': 'id', - 'name': 'name' - } - - def __init__(self, id=None, name=None): # noqa: E501 - """AdminDomain - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - - @property - def id(self): - """Gets the id of this AdminDomain. # noqa: E501 - - Globally unique domain name. # noqa: E501 - - :return: The id of this AdminDomain. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminDomain. - - Globally unique domain name. # noqa: E501 - - :param id: The id of this AdminDomain. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminDomain. # noqa: E501 - - Display name. # noqa: E501 - - :return: The name of this AdminDomain. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminDomain. - - Display name. # noqa: E501 - - :param name: The name of this AdminDomain. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminDomain, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminDomain): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_dynamic_node_workflow_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_dynamic_node_workflow_response.py deleted file mode 100644 index e721c762bc..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_dynamic_node_workflow_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 - - -class AdminDynamicNodeWorkflowResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'compiled_workflow': 'CoreCompiledWorkflowClosure' - } - - attribute_map = { - 'compiled_workflow': 'compiled_workflow' - } - - def __init__(self, compiled_workflow=None): # noqa: E501 - """AdminDynamicNodeWorkflowResponse - a model defined in Swagger""" # noqa: E501 - - self._compiled_workflow = None - self.discriminator = None - - if compiled_workflow is not None: - self.compiled_workflow = compiled_workflow - - @property - def compiled_workflow(self): - """Gets the compiled_workflow of this AdminDynamicNodeWorkflowResponse. # noqa: E501 - - - :return: The compiled_workflow of this AdminDynamicNodeWorkflowResponse. # noqa: E501 - :rtype: CoreCompiledWorkflowClosure - """ - return self._compiled_workflow - - @compiled_workflow.setter - def compiled_workflow(self, compiled_workflow): - """Sets the compiled_workflow of this AdminDynamicNodeWorkflowResponse. - - - :param compiled_workflow: The compiled_workflow of this AdminDynamicNodeWorkflowResponse. # noqa: E501 - :type: CoreCompiledWorkflowClosure - """ - - self._compiled_workflow = compiled_workflow - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminDynamicNodeWorkflowResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminDynamicNodeWorkflowResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py deleted file mode 100644 index f97f626653..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_email_notification.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminEmailNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'recipients_email': 'list[str]' - } - - attribute_map = { - 'recipients_email': 'recipients_email' - } - - def __init__(self, recipients_email=None): # noqa: E501 - """AdminEmailNotification - a model defined in Swagger""" # noqa: E501 - - self._recipients_email = None - self.discriminator = None - - if recipients_email is not None: - self.recipients_email = recipients_email - - @property - def recipients_email(self): - """Gets the recipients_email of this AdminEmailNotification. # noqa: E501 - - - :return: The recipients_email of this AdminEmailNotification. # noqa: E501 - :rtype: list[str] - """ - return self._recipients_email - - @recipients_email.setter - def recipients_email(self, recipients_email): - """Sets the recipients_email of this AdminEmailNotification. - - - :param recipients_email: The recipients_email of this AdminEmailNotification. # noqa: E501 - :type: list[str] - """ - - self._recipients_email = recipients_email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminEmailNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminEmailNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_envs.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_envs.py deleted file mode 100644 index c4531a9b68..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_envs.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: F401,E501 - - -class AdminEnvs(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'list[CoreKeyValuePair]' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """AdminEnvs - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this AdminEnvs. # noqa: E501 - - Map of custom environment variables to be applied to the execution resource. # noqa: E501 - - :return: The values of this AdminEnvs. # noqa: E501 - :rtype: list[CoreKeyValuePair] - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this AdminEnvs. - - Map of custom environment variables to be applied to the execution resource. # noqa: E501 - - :param values: The values of this AdminEnvs. # noqa: E501 - :type: list[CoreKeyValuePair] - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminEnvs, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminEnvs): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py deleted file mode 100644 index 1de4f19d97..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure # noqa: F401,E501 -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecution(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'spec': 'AdminExecutionSpec', - 'closure': 'AdminExecutionClosure' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec', - 'closure': 'closure' - } - - def __init__(self, id=None, spec=None, closure=None): # noqa: E501 - """AdminExecution - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self._closure = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - if closure is not None: - self.closure = closure - - @property - def id(self): - """Gets the id of this AdminExecution. # noqa: E501 - - Unique identifier of the workflow execution. # noqa: E501 - - :return: The id of this AdminExecution. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecution. - - Unique identifier of the workflow execution. # noqa: E501 - - :param id: The id of this AdminExecution. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminExecution. # noqa: E501 - - User-provided configuration and inputs for launching the execution. # noqa: E501 - - :return: The spec of this AdminExecution. # noqa: E501 - :rtype: AdminExecutionSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminExecution. - - User-provided configuration and inputs for launching the execution. # noqa: E501 - - :param spec: The spec of this AdminExecution. # noqa: E501 - :type: AdminExecutionSpec - """ - - self._spec = spec - - @property - def closure(self): - """Gets the closure of this AdminExecution. # noqa: E501 - - Execution results. # noqa: E501 - - :return: The closure of this AdminExecution. # noqa: E501 - :rtype: AdminExecutionClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminExecution. - - Execution results. # noqa: E501 - - :param closure: The closure of this AdminExecution. # noqa: E501 - :type: AdminExecutionClosure - """ - - self._closure = closure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecution, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecution): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py deleted file mode 100644 index a08f3ca1d8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_closure.py +++ /dev/null @@ -1,486 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata # noqa: F401,E501 -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails # noqa: F401,E501 -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob # noqa: F401,E501 -from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 - - -class AdminExecutionClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'outputs': 'AdminLiteralMapBlob', - 'error': 'CoreExecutionError', - 'abort_cause': 'str', - 'abort_metadata': 'AdminAbortMetadata', - 'output_data': 'CoreLiteralMap', - 'computed_inputs': 'CoreLiteralMap', - 'phase': 'CoreWorkflowExecutionPhase', - 'started_at': 'datetime', - 'duration': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime', - 'notifications': 'list[AdminNotification]', - 'workflow_id': 'CoreIdentifier', - 'state_change_details': 'AdminExecutionStateChangeDetails' - } - - attribute_map = { - 'outputs': 'outputs', - 'error': 'error', - 'abort_cause': 'abort_cause', - 'abort_metadata': 'abort_metadata', - 'output_data': 'output_data', - 'computed_inputs': 'computed_inputs', - 'phase': 'phase', - 'started_at': 'started_at', - 'duration': 'duration', - 'created_at': 'created_at', - 'updated_at': 'updated_at', - 'notifications': 'notifications', - 'workflow_id': 'workflow_id', - 'state_change_details': 'state_change_details' - } - - def __init__(self, outputs=None, error=None, abort_cause=None, abort_metadata=None, output_data=None, computed_inputs=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, notifications=None, workflow_id=None, state_change_details=None): # noqa: E501 - """AdminExecutionClosure - a model defined in Swagger""" # noqa: E501 - - self._outputs = None - self._error = None - self._abort_cause = None - self._abort_metadata = None - self._output_data = None - self._computed_inputs = None - self._phase = None - self._started_at = None - self._duration = None - self._created_at = None - self._updated_at = None - self._notifications = None - self._workflow_id = None - self._state_change_details = None - self.discriminator = None - - if outputs is not None: - self.outputs = outputs - if error is not None: - self.error = error - if abort_cause is not None: - self.abort_cause = abort_cause - if abort_metadata is not None: - self.abort_metadata = abort_metadata - if output_data is not None: - self.output_data = output_data - if computed_inputs is not None: - self.computed_inputs = computed_inputs - if phase is not None: - self.phase = phase - if started_at is not None: - self.started_at = started_at - if duration is not None: - self.duration = duration - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - if notifications is not None: - self.notifications = notifications - if workflow_id is not None: - self.workflow_id = workflow_id - if state_change_details is not None: - self.state_change_details = state_change_details - - @property - def outputs(self): - """Gets the outputs of this AdminExecutionClosure. # noqa: E501 - - Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :return: The outputs of this AdminExecutionClosure. # noqa: E501 - :rtype: AdminLiteralMapBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminExecutionClosure. - - Output URI in the case of a successful execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :param outputs: The outputs of this AdminExecutionClosure. # noqa: E501 - :type: AdminLiteralMapBlob - """ - - self._outputs = outputs - - @property - def error(self): - """Gets the error of this AdminExecutionClosure. # noqa: E501 - - Error information in the case of a failed execution. # noqa: E501 - - :return: The error of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this AdminExecutionClosure. - - Error information in the case of a failed execution. # noqa: E501 - - :param error: The error of this AdminExecutionClosure. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def abort_cause(self): - """Gets the abort_cause of this AdminExecutionClosure. # noqa: E501 - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :return: The abort_cause of this AdminExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._abort_cause - - @abort_cause.setter - def abort_cause(self, abort_cause): - """Sets the abort_cause of this AdminExecutionClosure. - - In the case of a user-specified abort, this will pass along the user-supplied cause. # noqa: E501 - - :param abort_cause: The abort_cause of this AdminExecutionClosure. # noqa: E501 - :type: str - """ - - self._abort_cause = abort_cause - - @property - def abort_metadata(self): - """Gets the abort_metadata of this AdminExecutionClosure. # noqa: E501 - - In the case of a user-specified abort, this will pass along the user and their supplied cause. # noqa: E501 - - :return: The abort_metadata of this AdminExecutionClosure. # noqa: E501 - :rtype: AdminAbortMetadata - """ - return self._abort_metadata - - @abort_metadata.setter - def abort_metadata(self, abort_metadata): - """Sets the abort_metadata of this AdminExecutionClosure. - - In the case of a user-specified abort, this will pass along the user and their supplied cause. # noqa: E501 - - :param abort_metadata: The abort_metadata of this AdminExecutionClosure. # noqa: E501 - :type: AdminAbortMetadata - """ - - self._abort_metadata = abort_metadata - - @property - def output_data(self): - """Gets the output_data of this AdminExecutionClosure. # noqa: E501 - - Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_data of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this AdminExecutionClosure. - - Raw output data produced by this execution. DEPRECATED. Use GetExecutionData to fetch output data instead. # noqa: E501 - - :param output_data: The output_data of this AdminExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def computed_inputs(self): - """Gets the computed_inputs of this AdminExecutionClosure. # noqa: E501 - - - :return: The computed_inputs of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._computed_inputs - - @computed_inputs.setter - def computed_inputs(self, computed_inputs): - """Sets the computed_inputs of this AdminExecutionClosure. - - - :param computed_inputs: The computed_inputs of this AdminExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._computed_inputs = computed_inputs - - @property - def phase(self): - """Gets the phase of this AdminExecutionClosure. # noqa: E501 - - Most recent recorded phase for the execution. # noqa: E501 - - :return: The phase of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreWorkflowExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this AdminExecutionClosure. - - Most recent recorded phase for the execution. # noqa: E501 - - :param phase: The phase of this AdminExecutionClosure. # noqa: E501 - :type: CoreWorkflowExecutionPhase - """ - - self._phase = phase - - @property - def started_at(self): - """Gets the started_at of this AdminExecutionClosure. # noqa: E501 - - Reported time at which the execution began running. # noqa: E501 - - :return: The started_at of this AdminExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._started_at - - @started_at.setter - def started_at(self, started_at): - """Sets the started_at of this AdminExecutionClosure. - - Reported time at which the execution began running. # noqa: E501 - - :param started_at: The started_at of this AdminExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._started_at = started_at - - @property - def duration(self): - """Gets the duration of this AdminExecutionClosure. # noqa: E501 - - The amount of time the execution spent running. # noqa: E501 - - :return: The duration of this AdminExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this AdminExecutionClosure. - - The amount of time the execution spent running. # noqa: E501 - - :param duration: The duration of this AdminExecutionClosure. # noqa: E501 - :type: str - """ - - self._duration = duration - - @property - def created_at(self): - """Gets the created_at of this AdminExecutionClosure. # noqa: E501 - - Reported time at which the execution was created. # noqa: E501 - - :return: The created_at of this AdminExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminExecutionClosure. - - Reported time at which the execution was created. # noqa: E501 - - :param created_at: The created_at of this AdminExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminExecutionClosure. # noqa: E501 - - Reported time at which the execution was last updated. # noqa: E501 - - :return: The updated_at of this AdminExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminExecutionClosure. - - Reported time at which the execution was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - @property - def notifications(self): - """Gets the notifications of this AdminExecutionClosure. # noqa: E501 - - The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. # noqa: E501 - - :return: The notifications of this AdminExecutionClosure. # noqa: E501 - :rtype: list[AdminNotification] - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminExecutionClosure. - - The notification settings to use after merging the CreateExecutionRequest and the launch plan notification settings. An execution launched with notifications will always prefer that definition to notifications defined statically in a launch plan. # noqa: E501 - - :param notifications: The notifications of this AdminExecutionClosure. # noqa: E501 - :type: list[AdminNotification] - """ - - self._notifications = notifications - - @property - def workflow_id(self): - """Gets the workflow_id of this AdminExecutionClosure. # noqa: E501 - - Identifies the workflow definition for this execution. # noqa: E501 - - :return: The workflow_id of this AdminExecutionClosure. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._workflow_id - - @workflow_id.setter - def workflow_id(self, workflow_id): - """Sets the workflow_id of this AdminExecutionClosure. - - Identifies the workflow definition for this execution. # noqa: E501 - - :param workflow_id: The workflow_id of this AdminExecutionClosure. # noqa: E501 - :type: CoreIdentifier - """ - - self._workflow_id = workflow_id - - @property - def state_change_details(self): - """Gets the state_change_details of this AdminExecutionClosure. # noqa: E501 - - - :return: The state_change_details of this AdminExecutionClosure. # noqa: E501 - :rtype: AdminExecutionStateChangeDetails - """ - return self._state_change_details - - @state_change_details.setter - def state_change_details(self, state_change_details): - """Sets the state_change_details of this AdminExecutionClosure. - - - :param state_change_details: The state_change_details of this AdminExecutionClosure. # noqa: E501 - :type: AdminExecutionStateChangeDetails - """ - - self._state_change_details = state_change_details - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py deleted file mode 100644 index 974d71ed67..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_cluster_label.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionClusterLabel(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'str' - } - - attribute_map = { - 'value': 'value' - } - - def __init__(self, value=None): # noqa: E501 - """AdminExecutionClusterLabel - a model defined in Swagger""" # noqa: E501 - - self._value = None - self.discriminator = None - - if value is not None: - self.value = value - - @property - def value(self): - """Gets the value of this AdminExecutionClusterLabel. # noqa: E501 - - - :return: The value of this AdminExecutionClusterLabel. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AdminExecutionClusterLabel. - - - :param value: The value of this AdminExecutionClusterLabel. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionClusterLabel, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionClusterLabel): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py deleted file mode 100644 index 228a1c5847..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_request.py +++ /dev/null @@ -1,250 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminExecutionCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'name': 'str', - 'spec': 'AdminExecutionSpec', - 'inputs': 'CoreLiteralMap', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'name': 'name', - 'spec': 'spec', - 'inputs': 'inputs', - 'org': 'org' - } - - def __init__(self, project=None, domain=None, name=None, spec=None, inputs=None, org=None): # noqa: E501 - """AdminExecutionCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._name = None - self._spec = None - self._inputs = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - if spec is not None: - self.spec = spec - if inputs is not None: - self.inputs = inputs - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The project of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminExecutionCreateRequest. - - - :param project: The project of this AdminExecutionCreateRequest. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The domain of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminExecutionCreateRequest. - - - :param domain: The domain of this AdminExecutionCreateRequest. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The name of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminExecutionCreateRequest. - - - :param name: The name of this AdminExecutionCreateRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def spec(self): - """Gets the spec of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The spec of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: AdminExecutionSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminExecutionCreateRequest. - - - :param spec: The spec of this AdminExecutionCreateRequest. # noqa: E501 - :type: AdminExecutionSpec - """ - - self._spec = spec - - @property - def inputs(self): - """Gets the inputs of this AdminExecutionCreateRequest. # noqa: E501 - - - :return: The inputs of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminExecutionCreateRequest. - - - :param inputs: The inputs of this AdminExecutionCreateRequest. # noqa: E501 - :type: CoreLiteralMap - """ - - self._inputs = inputs - - @property - def org(self): - """Gets the org of this AdminExecutionCreateRequest. # noqa: E501 - - Optional, org key applied to the resource. # noqa: E501 - - :return: The org of this AdminExecutionCreateRequest. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminExecutionCreateRequest. - - Optional, org key applied to the resource. # noqa: E501 - - :param org: The org of this AdminExecutionCreateRequest. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py deleted file mode 100644 index 664459cde6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_create_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'id': 'id' - } - - def __init__(self, id=None): # noqa: E501 - """AdminExecutionCreateResponse - a model defined in Swagger""" # noqa: E501 - - self._id = None - self.discriminator = None - - if id is not None: - self.id = id - - @property - def id(self): - """Gets the id of this AdminExecutionCreateResponse. # noqa: E501 - - - :return: The id of this AdminExecutionCreateResponse. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionCreateResponse. - - - :param id: The id of this AdminExecutionCreateResponse. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py deleted file mode 100644 index 3821efb2f6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution import AdminExecution # noqa: F401,E501 - - -class AdminExecutionList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'executions': 'list[AdminExecution]', - 'token': 'str' - } - - attribute_map = { - 'executions': 'executions', - 'token': 'token' - } - - def __init__(self, executions=None, token=None): # noqa: E501 - """AdminExecutionList - a model defined in Swagger""" # noqa: E501 - - self._executions = None - self._token = None - self.discriminator = None - - if executions is not None: - self.executions = executions - if token is not None: - self.token = token - - @property - def executions(self): - """Gets the executions of this AdminExecutionList. # noqa: E501 - - - :return: The executions of this AdminExecutionList. # noqa: E501 - :rtype: list[AdminExecution] - """ - return self._executions - - @executions.setter - def executions(self, executions): - """Sets the executions of this AdminExecutionList. - - - :param executions: The executions of this AdminExecutionList. # noqa: E501 - :type: list[AdminExecution] - """ - - self._executions = executions - - @property - def token(self): - """Gets the token of this AdminExecutionList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminExecutionList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminExecutionList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminExecutionList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py deleted file mode 100644 index f5a297c487..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_metadata.py +++ /dev/null @@ -1,315 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata # noqa: F401,E501 -from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode # noqa: F401,E501 - - -class AdminExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'mode': 'ExecutionMetadataExecutionMode', - 'principal': 'str', - 'nesting': 'int', - 'scheduled_at': 'datetime', - 'parent_node_execution': 'CoreNodeExecutionIdentifier', - 'reference_execution': 'CoreWorkflowExecutionIdentifier', - 'system_metadata': 'AdminSystemMetadata', - 'artifact_ids': 'list[CoreArtifactID]' - } - - attribute_map = { - 'mode': 'mode', - 'principal': 'principal', - 'nesting': 'nesting', - 'scheduled_at': 'scheduled_at', - 'parent_node_execution': 'parent_node_execution', - 'reference_execution': 'reference_execution', - 'system_metadata': 'system_metadata', - 'artifact_ids': 'artifact_ids' - } - - def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, parent_node_execution=None, reference_execution=None, system_metadata=None, artifact_ids=None): # noqa: E501 - """AdminExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._mode = None - self._principal = None - self._nesting = None - self._scheduled_at = None - self._parent_node_execution = None - self._reference_execution = None - self._system_metadata = None - self._artifact_ids = None - self.discriminator = None - - if mode is not None: - self.mode = mode - if principal is not None: - self.principal = principal - if nesting is not None: - self.nesting = nesting - if scheduled_at is not None: - self.scheduled_at = scheduled_at - if parent_node_execution is not None: - self.parent_node_execution = parent_node_execution - if reference_execution is not None: - self.reference_execution = reference_execution - if system_metadata is not None: - self.system_metadata = system_metadata - if artifact_ids is not None: - self.artifact_ids = artifact_ids - - @property - def mode(self): - """Gets the mode of this AdminExecutionMetadata. # noqa: E501 - - - :return: The mode of this AdminExecutionMetadata. # noqa: E501 - :rtype: ExecutionMetadataExecutionMode - """ - return self._mode - - @mode.setter - def mode(self, mode): - """Sets the mode of this AdminExecutionMetadata. - - - :param mode: The mode of this AdminExecutionMetadata. # noqa: E501 - :type: ExecutionMetadataExecutionMode - """ - - self._mode = mode - - @property - def principal(self): - """Gets the principal of this AdminExecutionMetadata. # noqa: E501 - - Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. # noqa: E501 - - :return: The principal of this AdminExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._principal - - @principal.setter - def principal(self, principal): - """Sets the principal of this AdminExecutionMetadata. - - Identifier of the entity that triggered this execution. For systems using back-end authentication any value set here will be discarded in favor of the authenticated user context. # noqa: E501 - - :param principal: The principal of this AdminExecutionMetadata. # noqa: E501 - :type: str - """ - - self._principal = principal - - @property - def nesting(self): - """Gets the nesting of this AdminExecutionMetadata. # noqa: E501 - - Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. # noqa: E501 - - :return: The nesting of this AdminExecutionMetadata. # noqa: E501 - :rtype: int - """ - return self._nesting - - @nesting.setter - def nesting(self, nesting): - """Sets the nesting of this AdminExecutionMetadata. - - Indicates the nestedness of this execution. If a user launches a workflow execution, the default nesting is 0. If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1 Generally, if workflow at nesting level k launches a workflow then the child workflow will have nesting = k + 1. # noqa: E501 - - :param nesting: The nesting of this AdminExecutionMetadata. # noqa: E501 - :type: int - """ - - self._nesting = nesting - - @property - def scheduled_at(self): - """Gets the scheduled_at of this AdminExecutionMetadata. # noqa: E501 - - For scheduled executions, the requested time for execution for this specific schedule invocation. # noqa: E501 - - :return: The scheduled_at of this AdminExecutionMetadata. # noqa: E501 - :rtype: datetime - """ - return self._scheduled_at - - @scheduled_at.setter - def scheduled_at(self, scheduled_at): - """Sets the scheduled_at of this AdminExecutionMetadata. - - For scheduled executions, the requested time for execution for this specific schedule invocation. # noqa: E501 - - :param scheduled_at: The scheduled_at of this AdminExecutionMetadata. # noqa: E501 - :type: datetime - """ - - self._scheduled_at = scheduled_at - - @property - def parent_node_execution(self): - """Gets the parent_node_execution of this AdminExecutionMetadata. # noqa: E501 - - - :return: The parent_node_execution of this AdminExecutionMetadata. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._parent_node_execution - - @parent_node_execution.setter - def parent_node_execution(self, parent_node_execution): - """Sets the parent_node_execution of this AdminExecutionMetadata. - - - :param parent_node_execution: The parent_node_execution of this AdminExecutionMetadata. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._parent_node_execution = parent_node_execution - - @property - def reference_execution(self): - """Gets the reference_execution of this AdminExecutionMetadata. # noqa: E501 - - Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. # noqa: E501 - - :return: The reference_execution of this AdminExecutionMetadata. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._reference_execution - - @reference_execution.setter - def reference_execution(self, reference_execution): - """Sets the reference_execution of this AdminExecutionMetadata. - - Optional, a reference workflow execution related to this execution. In the case of a relaunch, this references the original workflow execution. # noqa: E501 - - :param reference_execution: The reference_execution of this AdminExecutionMetadata. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._reference_execution = reference_execution - - @property - def system_metadata(self): - """Gets the system_metadata of this AdminExecutionMetadata. # noqa: E501 - - Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. # noqa: E501 - - :return: The system_metadata of this AdminExecutionMetadata. # noqa: E501 - :rtype: AdminSystemMetadata - """ - return self._system_metadata - - @system_metadata.setter - def system_metadata(self, system_metadata): - """Sets the system_metadata of this AdminExecutionMetadata. - - Optional, platform-specific metadata about the execution. In this the future this may be gated behind an ACL or some sort of authorization. # noqa: E501 - - :param system_metadata: The system_metadata of this AdminExecutionMetadata. # noqa: E501 - :type: AdminSystemMetadata - """ - - self._system_metadata = system_metadata - - @property - def artifact_ids(self): - """Gets the artifact_ids of this AdminExecutionMetadata. # noqa: E501 - - Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping since we don't have a structure to handle nested ones anyways. # noqa: E501 - - :return: The artifact_ids of this AdminExecutionMetadata. # noqa: E501 - :rtype: list[CoreArtifactID] - """ - return self._artifact_ids - - @artifact_ids.setter - def artifact_ids(self, artifact_ids): - """Sets the artifact_ids of this AdminExecutionMetadata. - - Save a list of the artifacts used in this execution for now. This is a list only rather than a mapping since we don't have a structure to handle nested ones anyways. # noqa: E501 - - :param artifact_ids: The artifact_ids of this AdminExecutionMetadata. # noqa: E501 - :type: list[CoreArtifactID] - """ - - self._artifact_ids = artifact_ids - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py deleted file mode 100644 index c8ac3d9d23..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionQueueAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tags': 'list[str]' - } - - attribute_map = { - 'tags': 'tags' - } - - def __init__(self, tags=None): # noqa: E501 - """AdminExecutionQueueAttributes - a model defined in Swagger""" # noqa: E501 - - self._tags = None - self.discriminator = None - - if tags is not None: - self.tags = tags - - @property - def tags(self): - """Gets the tags of this AdminExecutionQueueAttributes. # noqa: E501 - - Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 - - :return: The tags of this AdminExecutionQueueAttributes. # noqa: E501 - :rtype: list[str] - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this AdminExecutionQueueAttributes. - - Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 - - :param tags: The tags of this AdminExecutionQueueAttributes. # noqa: E501 - :type: list[str] - """ - - self._tags = tags - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionQueueAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionQueueAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py deleted file mode 100644 index acd856ada5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_recover_request.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionRecoverRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'name': 'str', - 'metadata': 'AdminExecutionMetadata' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'metadata': 'metadata' - } - - def __init__(self, id=None, name=None, metadata=None): # noqa: E501 - """AdminExecutionRecoverRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self._metadata = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if metadata is not None: - self.metadata = metadata - - @property - def id(self): - """Gets the id of this AdminExecutionRecoverRequest. # noqa: E501 - - Identifier of the workflow execution to recover. # noqa: E501 - - :return: The id of this AdminExecutionRecoverRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionRecoverRequest. - - Identifier of the workflow execution to recover. # noqa: E501 - - :param id: The id of this AdminExecutionRecoverRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminExecutionRecoverRequest. # noqa: E501 - - - :return: The name of this AdminExecutionRecoverRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminExecutionRecoverRequest. - - - :param name: The name of this AdminExecutionRecoverRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def metadata(self): - """Gets the metadata of this AdminExecutionRecoverRequest. # noqa: E501 - - Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. # noqa: E501 - - :return: The metadata of this AdminExecutionRecoverRequest. # noqa: E501 - :rtype: AdminExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminExecutionRecoverRequest. - - Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution. # noqa: E501 - - :param metadata: The metadata of this AdminExecutionRecoverRequest. # noqa: E501 - :type: AdminExecutionMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionRecoverRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionRecoverRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py deleted file mode 100644 index 699c21288b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_relaunch_request.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionRelaunchRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'name': 'str', - 'overwrite_cache': 'bool' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'overwrite_cache': 'overwrite_cache' - } - - def __init__(self, id=None, name=None, overwrite_cache=None): # noqa: E501 - """AdminExecutionRelaunchRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self._overwrite_cache = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if overwrite_cache is not None: - self.overwrite_cache = overwrite_cache - - @property - def id(self): - """Gets the id of this AdminExecutionRelaunchRequest. # noqa: E501 - - - :return: The id of this AdminExecutionRelaunchRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionRelaunchRequest. - - - :param id: The id of this AdminExecutionRelaunchRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminExecutionRelaunchRequest. # noqa: E501 - - - :return: The name of this AdminExecutionRelaunchRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminExecutionRelaunchRequest. - - - :param name: The name of this AdminExecutionRelaunchRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def overwrite_cache(self): - """Gets the overwrite_cache of this AdminExecutionRelaunchRequest. # noqa: E501 - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :return: The overwrite_cache of this AdminExecutionRelaunchRequest. # noqa: E501 - :rtype: bool - """ - return self._overwrite_cache - - @overwrite_cache.setter - def overwrite_cache(self, overwrite_cache): - """Sets the overwrite_cache of this AdminExecutionRelaunchRequest. - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :param overwrite_cache: The overwrite_cache of this AdminExecutionRelaunchRequest. # noqa: E501 - :type: bool - """ - - self._overwrite_cache = overwrite_cache - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionRelaunchRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionRelaunchRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py deleted file mode 100644 index 5f1e5407a5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py +++ /dev/null @@ -1,570 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 -from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: F401,E501 -from flyteadmin.models.admin_envs import AdminEnvs # noqa: F401,E501 -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.admin_notification_list import AdminNotificationList # noqa: F401,E501 -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 - - -class AdminExecutionSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'launch_plan': 'CoreIdentifier', - 'inputs': 'CoreLiteralMap', - 'metadata': 'AdminExecutionMetadata', - 'notifications': 'AdminNotificationList', - 'disable_all': 'bool', - 'labels': 'AdminLabels', - 'annotations': 'AdminAnnotations', - 'security_context': 'CoreSecurityContext', - 'auth_role': 'AdminAuthRole', - 'quality_of_service': 'CoreQualityOfService', - 'max_parallelism': 'int', - 'raw_output_data_config': 'AdminRawOutputDataConfig', - 'cluster_assignment': 'AdminClusterAssignment', - 'interruptible': 'bool', - 'overwrite_cache': 'bool', - 'envs': 'AdminEnvs', - 'tags': 'list[str]' - } - - attribute_map = { - 'launch_plan': 'launch_plan', - 'inputs': 'inputs', - 'metadata': 'metadata', - 'notifications': 'notifications', - 'disable_all': 'disable_all', - 'labels': 'labels', - 'annotations': 'annotations', - 'security_context': 'security_context', - 'auth_role': 'auth_role', - 'quality_of_service': 'quality_of_service', - 'max_parallelism': 'max_parallelism', - 'raw_output_data_config': 'raw_output_data_config', - 'cluster_assignment': 'cluster_assignment', - 'interruptible': 'interruptible', - 'overwrite_cache': 'overwrite_cache', - 'envs': 'envs', - 'tags': 'tags' - } - - def __init__(self, launch_plan=None, inputs=None, metadata=None, notifications=None, disable_all=None, labels=None, annotations=None, security_context=None, auth_role=None, quality_of_service=None, max_parallelism=None, raw_output_data_config=None, cluster_assignment=None, interruptible=None, overwrite_cache=None, envs=None, tags=None): # noqa: E501 - """AdminExecutionSpec - a model defined in Swagger""" # noqa: E501 - - self._launch_plan = None - self._inputs = None - self._metadata = None - self._notifications = None - self._disable_all = None - self._labels = None - self._annotations = None - self._security_context = None - self._auth_role = None - self._quality_of_service = None - self._max_parallelism = None - self._raw_output_data_config = None - self._cluster_assignment = None - self._interruptible = None - self._overwrite_cache = None - self._envs = None - self._tags = None - self.discriminator = None - - if launch_plan is not None: - self.launch_plan = launch_plan - if inputs is not None: - self.inputs = inputs - if metadata is not None: - self.metadata = metadata - if notifications is not None: - self.notifications = notifications - if disable_all is not None: - self.disable_all = disable_all - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - if security_context is not None: - self.security_context = security_context - if auth_role is not None: - self.auth_role = auth_role - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if max_parallelism is not None: - self.max_parallelism = max_parallelism - if raw_output_data_config is not None: - self.raw_output_data_config = raw_output_data_config - if cluster_assignment is not None: - self.cluster_assignment = cluster_assignment - if interruptible is not None: - self.interruptible = interruptible - if overwrite_cache is not None: - self.overwrite_cache = overwrite_cache - if envs is not None: - self.envs = envs - if tags is not None: - self.tags = tags - - @property - def launch_plan(self): - """Gets the launch_plan of this AdminExecutionSpec. # noqa: E501 - - - :return: The launch_plan of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._launch_plan - - @launch_plan.setter - def launch_plan(self, launch_plan): - """Sets the launch_plan of this AdminExecutionSpec. - - - :param launch_plan: The launch_plan of this AdminExecutionSpec. # noqa: E501 - :type: CoreIdentifier - """ - - self._launch_plan = launch_plan - - @property - def inputs(self): - """Gets the inputs of this AdminExecutionSpec. # noqa: E501 - - - :return: The inputs of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminExecutionSpec. - - - :param inputs: The inputs of this AdminExecutionSpec. # noqa: E501 - :type: CoreLiteralMap - """ - - self._inputs = inputs - - @property - def metadata(self): - """Gets the metadata of this AdminExecutionSpec. # noqa: E501 - - - :return: The metadata of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminExecutionSpec. - - - :param metadata: The metadata of this AdminExecutionSpec. # noqa: E501 - :type: AdminExecutionMetadata - """ - - self._metadata = metadata - - @property - def notifications(self): - """Gets the notifications of this AdminExecutionSpec. # noqa: E501 - - List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. # noqa: E501 - - :return: The notifications of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminNotificationList - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminExecutionSpec. - - List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied. # noqa: E501 - - :param notifications: The notifications of this AdminExecutionSpec. # noqa: E501 - :type: AdminNotificationList - """ - - self._notifications = notifications - - @property - def disable_all(self): - """Gets the disable_all of this AdminExecutionSpec. # noqa: E501 - - This should be set to true if all notifications are intended to be disabled for this execution. # noqa: E501 - - :return: The disable_all of this AdminExecutionSpec. # noqa: E501 - :rtype: bool - """ - return self._disable_all - - @disable_all.setter - def disable_all(self, disable_all): - """Sets the disable_all of this AdminExecutionSpec. - - This should be set to true if all notifications are intended to be disabled for this execution. # noqa: E501 - - :param disable_all: The disable_all of this AdminExecutionSpec. # noqa: E501 - :type: bool - """ - - self._disable_all = disable_all - - @property - def labels(self): - """Gets the labels of this AdminExecutionSpec. # noqa: E501 - - Labels to apply to the execution resource. # noqa: E501 - - :return: The labels of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminExecutionSpec. - - Labels to apply to the execution resource. # noqa: E501 - - :param labels: The labels of this AdminExecutionSpec. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this AdminExecutionSpec. # noqa: E501 - - Annotations to apply to the execution resource. # noqa: E501 - - :return: The annotations of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminAnnotations - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this AdminExecutionSpec. - - Annotations to apply to the execution resource. # noqa: E501 - - :param annotations: The annotations of this AdminExecutionSpec. # noqa: E501 - :type: AdminAnnotations - """ - - self._annotations = annotations - - @property - def security_context(self): - """Gets the security_context of this AdminExecutionSpec. # noqa: E501 - - Optional: security context override to apply this execution. # noqa: E501 - - :return: The security_context of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this AdminExecutionSpec. - - Optional: security context override to apply this execution. # noqa: E501 - - :param security_context: The security_context of this AdminExecutionSpec. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def auth_role(self): - """Gets the auth_role of this AdminExecutionSpec. # noqa: E501 - - Optional: auth override to apply this execution. # noqa: E501 - - :return: The auth_role of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminAuthRole - """ - return self._auth_role - - @auth_role.setter - def auth_role(self, auth_role): - """Sets the auth_role of this AdminExecutionSpec. - - Optional: auth override to apply this execution. # noqa: E501 - - :param auth_role: The auth_role of this AdminExecutionSpec. # noqa: E501 - :type: AdminAuthRole - """ - - self._auth_role = auth_role - - @property - def quality_of_service(self): - """Gets the quality_of_service of this AdminExecutionSpec. # noqa: E501 - - Indicates the runtime priority of the execution. # noqa: E501 - - :return: The quality_of_service of this AdminExecutionSpec. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this AdminExecutionSpec. - - Indicates the runtime priority of the execution. # noqa: E501 - - :param quality_of_service: The quality_of_service of this AdminExecutionSpec. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def max_parallelism(self): - """Gets the max_parallelism of this AdminExecutionSpec. # noqa: E501 - - Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :return: The max_parallelism of this AdminExecutionSpec. # noqa: E501 - :rtype: int - """ - return self._max_parallelism - - @max_parallelism.setter - def max_parallelism(self, max_parallelism): - """Sets the max_parallelism of this AdminExecutionSpec. - - Controls the maximum number of task nodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :param max_parallelism: The max_parallelism of this AdminExecutionSpec. # noqa: E501 - :type: int - """ - - self._max_parallelism = max_parallelism - - @property - def raw_output_data_config(self): - """Gets the raw_output_data_config of this AdminExecutionSpec. # noqa: E501 - - - :return: The raw_output_data_config of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminRawOutputDataConfig - """ - return self._raw_output_data_config - - @raw_output_data_config.setter - def raw_output_data_config(self, raw_output_data_config): - """Sets the raw_output_data_config of this AdminExecutionSpec. - - - :param raw_output_data_config: The raw_output_data_config of this AdminExecutionSpec. # noqa: E501 - :type: AdminRawOutputDataConfig - """ - - self._raw_output_data_config = raw_output_data_config - - @property - def cluster_assignment(self): - """Gets the cluster_assignment of this AdminExecutionSpec. # noqa: E501 - - Controls how to select an available cluster on which this execution should run. # noqa: E501 - - :return: The cluster_assignment of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminClusterAssignment - """ - return self._cluster_assignment - - @cluster_assignment.setter - def cluster_assignment(self, cluster_assignment): - """Sets the cluster_assignment of this AdminExecutionSpec. - - Controls how to select an available cluster on which this execution should run. # noqa: E501 - - :param cluster_assignment: The cluster_assignment of this AdminExecutionSpec. # noqa: E501 - :type: AdminClusterAssignment - """ - - self._cluster_assignment = cluster_assignment - - @property - def interruptible(self): - """Gets the interruptible of this AdminExecutionSpec. # noqa: E501 - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :return: The interruptible of this AdminExecutionSpec. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this AdminExecutionSpec. - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :param interruptible: The interruptible of this AdminExecutionSpec. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - @property - def overwrite_cache(self): - """Gets the overwrite_cache of this AdminExecutionSpec. # noqa: E501 - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :return: The overwrite_cache of this AdminExecutionSpec. # noqa: E501 - :rtype: bool - """ - return self._overwrite_cache - - @overwrite_cache.setter - def overwrite_cache(self, overwrite_cache): - """Sets the overwrite_cache of this AdminExecutionSpec. - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :param overwrite_cache: The overwrite_cache of this AdminExecutionSpec. # noqa: E501 - :type: bool - """ - - self._overwrite_cache = overwrite_cache - - @property - def envs(self): - """Gets the envs of this AdminExecutionSpec. # noqa: E501 - - Environment variables to be set for the execution. # noqa: E501 - - :return: The envs of this AdminExecutionSpec. # noqa: E501 - :rtype: AdminEnvs - """ - return self._envs - - @envs.setter - def envs(self, envs): - """Sets the envs of this AdminExecutionSpec. - - Environment variables to be set for the execution. # noqa: E501 - - :param envs: The envs of this AdminExecutionSpec. # noqa: E501 - :type: AdminEnvs - """ - - self._envs = envs - - @property - def tags(self): - """Gets the tags of this AdminExecutionSpec. # noqa: E501 - - Tags to be set for the execution. # noqa: E501 - - :return: The tags of this AdminExecutionSpec. # noqa: E501 - :rtype: list[str] - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this AdminExecutionSpec. - - Tags to be set for the execution. # noqa: E501 - - :param tags: The tags of this AdminExecutionSpec. # noqa: E501 - :type: list[str] - """ - - self._tags = tags - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py deleted file mode 100644 index 7f3d281b86..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ACTIVE = "EXECUTION_ACTIVE" - ARCHIVED = "EXECUTION_ARCHIVED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminExecutionState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py deleted file mode 100644 index a82156027e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_state_change_details.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: F401,E501 - - -class AdminExecutionStateChangeDetails(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'state': 'AdminExecutionState', - 'occurred_at': 'datetime', - 'principal': 'str' - } - - attribute_map = { - 'state': 'state', - 'occurred_at': 'occurred_at', - 'principal': 'principal' - } - - def __init__(self, state=None, occurred_at=None, principal=None): # noqa: E501 - """AdminExecutionStateChangeDetails - a model defined in Swagger""" # noqa: E501 - - self._state = None - self._occurred_at = None - self._principal = None - self.discriminator = None - - if state is not None: - self.state = state - if occurred_at is not None: - self.occurred_at = occurred_at - if principal is not None: - self.principal = principal - - @property - def state(self): - """Gets the state of this AdminExecutionStateChangeDetails. # noqa: E501 - - The state of the execution is used to control its visibility in the UI/CLI. # noqa: E501 - - :return: The state of this AdminExecutionStateChangeDetails. # noqa: E501 - :rtype: AdminExecutionState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminExecutionStateChangeDetails. - - The state of the execution is used to control its visibility in the UI/CLI. # noqa: E501 - - :param state: The state of this AdminExecutionStateChangeDetails. # noqa: E501 - :type: AdminExecutionState - """ - - self._state = state - - @property - def occurred_at(self): - """Gets the occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 - - This timestamp represents when the state changed. # noqa: E501 - - :return: The occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this AdminExecutionStateChangeDetails. - - This timestamp represents when the state changed. # noqa: E501 - - :param occurred_at: The occurred_at of this AdminExecutionStateChangeDetails. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def principal(self): - """Gets the principal of this AdminExecutionStateChangeDetails. # noqa: E501 - - - :return: The principal of this AdminExecutionStateChangeDetails. # noqa: E501 - :rtype: str - """ - return self._principal - - @principal.setter - def principal(self, principal): - """Sets the principal of this AdminExecutionStateChangeDetails. - - - :param principal: The principal of this AdminExecutionStateChangeDetails. # noqa: E501 - :type: str - """ - - self._principal = principal - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionStateChangeDetails, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionStateChangeDetails): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py deleted file mode 100644 index a2fb097d43..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_request.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionTerminateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'cause': 'str' - } - - attribute_map = { - 'id': 'id', - 'cause': 'cause' - } - - def __init__(self, id=None, cause=None): # noqa: E501 - """AdminExecutionTerminateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._cause = None - self.discriminator = None - - if id is not None: - self.id = id - if cause is not None: - self.cause = cause - - @property - def id(self): - """Gets the id of this AdminExecutionTerminateRequest. # noqa: E501 - - Uniquely identifies the individual workflow execution to be terminated. # noqa: E501 - - :return: The id of this AdminExecutionTerminateRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionTerminateRequest. - - Uniquely identifies the individual workflow execution to be terminated. # noqa: E501 - - :param id: The id of this AdminExecutionTerminateRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def cause(self): - """Gets the cause of this AdminExecutionTerminateRequest. # noqa: E501 - - Optional reason for aborting. # noqa: E501 - - :return: The cause of this AdminExecutionTerminateRequest. # noqa: E501 - :rtype: str - """ - return self._cause - - @cause.setter - def cause(self, cause): - """Sets the cause of this AdminExecutionTerminateRequest. - - Optional reason for aborting. # noqa: E501 - - :param cause: The cause of this AdminExecutionTerminateRequest. # noqa: E501 - :type: str - """ - - self._cause = cause - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionTerminateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionTerminateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py deleted file mode 100644 index b7e68c83d4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_terminate_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionTerminateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminExecutionTerminateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionTerminateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionTerminateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py deleted file mode 100644 index 5bbddc57b0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class AdminExecutionUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreWorkflowExecutionIdentifier', - 'state': 'AdminExecutionState' - } - - attribute_map = { - 'id': 'id', - 'state': 'state' - } - - def __init__(self, id=None, state=None): # noqa: E501 - """AdminExecutionUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._state = None - self.discriminator = None - - if id is not None: - self.id = id - if state is not None: - self.state = state - - @property - def id(self): - """Gets the id of this AdminExecutionUpdateRequest. # noqa: E501 - - - :return: The id of this AdminExecutionUpdateRequest. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminExecutionUpdateRequest. - - - :param id: The id of this AdminExecutionUpdateRequest. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._id = id - - @property - def state(self): - """Gets the state of this AdminExecutionUpdateRequest. # noqa: E501 - - - :return: The state of this AdminExecutionUpdateRequest. # noqa: E501 - :rtype: AdminExecutionState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminExecutionUpdateRequest. - - - :param state: The state of this AdminExecutionUpdateRequest. # noqa: E501 - :type: AdminExecutionState - """ - - self._state = state - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py deleted file mode 100644 index 9e9f90ee7e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminExecutionUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminExecutionUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminExecutionUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminExecutionUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py deleted file mode 100644 index 5eacbeebca..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit # noqa: F401,E501 - - -class AdminFixedRate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'int', - 'unit': 'AdminFixedRateUnit' - } - - attribute_map = { - 'value': 'value', - 'unit': 'unit' - } - - def __init__(self, value=None, unit=None): # noqa: E501 - """AdminFixedRate - a model defined in Swagger""" # noqa: E501 - - self._value = None - self._unit = None - self.discriminator = None - - if value is not None: - self.value = value - if unit is not None: - self.unit = unit - - @property - def value(self): - """Gets the value of this AdminFixedRate. # noqa: E501 - - - :return: The value of this AdminFixedRate. # noqa: E501 - :rtype: int - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this AdminFixedRate. - - - :param value: The value of this AdminFixedRate. # noqa: E501 - :type: int - """ - - self._value = value - - @property - def unit(self): - """Gets the unit of this AdminFixedRate. # noqa: E501 - - - :return: The unit of this AdminFixedRate. # noqa: E501 - :rtype: AdminFixedRateUnit - """ - return self._unit - - @unit.setter - def unit(self, unit): - """Sets the unit of this AdminFixedRate. - - - :param unit: The unit of this AdminFixedRate. # noqa: E501 - :type: AdminFixedRateUnit - """ - - self._unit = unit - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminFixedRate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminFixedRate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py deleted file mode 100644 index 2c65b556bf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_fixed_rate_unit.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminFixedRateUnit(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - MINUTE = "MINUTE" - HOUR = "HOUR" - DAY = "DAY" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminFixedRateUnit - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminFixedRateUnit, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminFixedRateUnit): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_flyte_ur_ls.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_flyte_ur_ls.py deleted file mode 100644 index f99e18dc4c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_flyte_ur_ls.py +++ /dev/null @@ -1,167 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminFlyteURLs(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'inputs': 'str', - 'outputs': 'str', - 'deck': 'str' - } - - attribute_map = { - 'inputs': 'inputs', - 'outputs': 'outputs', - 'deck': 'deck' - } - - def __init__(self, inputs=None, outputs=None, deck=None): # noqa: E501 - """AdminFlyteURLs - a model defined in Swagger""" # noqa: E501 - - self._inputs = None - self._outputs = None - self._deck = None - self.discriminator = None - - if inputs is not None: - self.inputs = inputs - if outputs is not None: - self.outputs = outputs - if deck is not None: - self.deck = deck - - @property - def inputs(self): - """Gets the inputs of this AdminFlyteURLs. # noqa: E501 - - - :return: The inputs of this AdminFlyteURLs. # noqa: E501 - :rtype: str - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminFlyteURLs. - - - :param inputs: The inputs of this AdminFlyteURLs. # noqa: E501 - :type: str - """ - - self._inputs = inputs - - @property - def outputs(self): - """Gets the outputs of this AdminFlyteURLs. # noqa: E501 - - - :return: The outputs of this AdminFlyteURLs. # noqa: E501 - :rtype: str - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminFlyteURLs. - - - :param outputs: The outputs of this AdminFlyteURLs. # noqa: E501 - :type: str - """ - - self._outputs = outputs - - @property - def deck(self): - """Gets the deck of this AdminFlyteURLs. # noqa: E501 - - - :return: The deck of this AdminFlyteURLs. # noqa: E501 - :rtype: str - """ - return self._deck - - @deck.setter - def deck(self, deck): - """Sets the deck of this AdminFlyteURLs. - - - :param deck: The deck of this AdminFlyteURLs. # noqa: E501 - :type: str - """ - - self._deck = deck - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminFlyteURLs, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminFlyteURLs): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py deleted file mode 100644 index 622a522562..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_get_version_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_version import AdminVersion # noqa: F401,E501 - - -class AdminGetVersionResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'control_plane_version': 'AdminVersion' - } - - attribute_map = { - 'control_plane_version': 'control_plane_version' - } - - def __init__(self, control_plane_version=None): # noqa: E501 - """AdminGetVersionResponse - a model defined in Swagger""" # noqa: E501 - - self._control_plane_version = None - self.discriminator = None - - if control_plane_version is not None: - self.control_plane_version = control_plane_version - - @property - def control_plane_version(self): - """Gets the control_plane_version of this AdminGetVersionResponse. # noqa: E501 - - - :return: The control_plane_version of this AdminGetVersionResponse. # noqa: E501 - :rtype: AdminVersion - """ - return self._control_plane_version - - @control_plane_version.setter - def control_plane_version(self, control_plane_version): - """Sets the control_plane_version of this AdminGetVersionResponse. - - - :param control_plane_version: The control_plane_version of this AdminGetVersionResponse. # noqa: E501 - :type: AdminVersion - """ - - self._control_plane_version = control_plane_version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminGetVersionResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminGetVersionResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py deleted file mode 100644 index 1391051e4b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_labels.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLabels(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'dict(str, str)' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """AdminLabels - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this AdminLabels. # noqa: E501 - - Map of custom labels to be applied to the execution resource. # noqa: E501 - - :return: The values of this AdminLabels. # noqa: E501 - :rtype: dict(str, str) - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this AdminLabels. - - Map of custom labels to be applied to the execution resource. # noqa: E501 - - :param values: The values of this AdminLabels. # noqa: E501 - :type: dict(str, str) - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLabels, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLabels): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py deleted file mode 100644 index 84a6eef482..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure # noqa: F401,E501 -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminLaunchPlan(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminLaunchPlanSpec', - 'closure': 'AdminLaunchPlanClosure' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec', - 'closure': 'closure' - } - - def __init__(self, id=None, spec=None, closure=None): # noqa: E501 - """AdminLaunchPlan - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self._closure = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - if closure is not None: - self.closure = closure - - @property - def id(self): - """Gets the id of this AdminLaunchPlan. # noqa: E501 - - Uniquely identifies a launch plan entity. # noqa: E501 - - :return: The id of this AdminLaunchPlan. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminLaunchPlan. - - Uniquely identifies a launch plan entity. # noqa: E501 - - :param id: The id of this AdminLaunchPlan. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminLaunchPlan. # noqa: E501 - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :return: The spec of this AdminLaunchPlan. # noqa: E501 - :rtype: AdminLaunchPlanSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminLaunchPlan. - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :param spec: The spec of this AdminLaunchPlan. # noqa: E501 - :type: AdminLaunchPlanSpec - """ - - self._spec = spec - - @property - def closure(self): - """Gets the closure of this AdminLaunchPlan. # noqa: E501 - - Values computed by the flyte platform after launch plan registration. # noqa: E501 - - :return: The closure of this AdminLaunchPlan. # noqa: E501 - :rtype: AdminLaunchPlanClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminLaunchPlan. - - Values computed by the flyte platform after launch plan registration. # noqa: E501 - - :param closure: The closure of this AdminLaunchPlan. # noqa: E501 - :type: AdminLaunchPlanClosure - """ - - self._closure = closure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlan, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlan): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py deleted file mode 100644 index 2464c1fa42..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_closure.py +++ /dev/null @@ -1,229 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: F401,E501 -from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: F401,E501 -from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: F401,E501 - - -class AdminLaunchPlanClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'state': 'AdminLaunchPlanState', - 'expected_inputs': 'CoreParameterMap', - 'expected_outputs': 'CoreVariableMap', - 'created_at': 'datetime', - 'updated_at': 'datetime' - } - - attribute_map = { - 'state': 'state', - 'expected_inputs': 'expected_inputs', - 'expected_outputs': 'expected_outputs', - 'created_at': 'created_at', - 'updated_at': 'updated_at' - } - - def __init__(self, state=None, expected_inputs=None, expected_outputs=None, created_at=None, updated_at=None): # noqa: E501 - """AdminLaunchPlanClosure - a model defined in Swagger""" # noqa: E501 - - self._state = None - self._expected_inputs = None - self._expected_outputs = None - self._created_at = None - self._updated_at = None - self.discriminator = None - - if state is not None: - self.state = state - if expected_inputs is not None: - self.expected_inputs = expected_inputs - if expected_outputs is not None: - self.expected_outputs = expected_outputs - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - - @property - def state(self): - """Gets the state of this AdminLaunchPlanClosure. # noqa: E501 - - Indicate the Launch plan state. # noqa: E501 - - :return: The state of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: AdminLaunchPlanState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminLaunchPlanClosure. - - Indicate the Launch plan state. # noqa: E501 - - :param state: The state of this AdminLaunchPlanClosure. # noqa: E501 - :type: AdminLaunchPlanState - """ - - self._state = state - - @property - def expected_inputs(self): - """Gets the expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 - - - :return: The expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: CoreParameterMap - """ - return self._expected_inputs - - @expected_inputs.setter - def expected_inputs(self, expected_inputs): - """Sets the expected_inputs of this AdminLaunchPlanClosure. - - - :param expected_inputs: The expected_inputs of this AdminLaunchPlanClosure. # noqa: E501 - :type: CoreParameterMap - """ - - self._expected_inputs = expected_inputs - - @property - def expected_outputs(self): - """Gets the expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 - - - :return: The expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: CoreVariableMap - """ - return self._expected_outputs - - @expected_outputs.setter - def expected_outputs(self, expected_outputs): - """Sets the expected_outputs of this AdminLaunchPlanClosure. - - - :param expected_outputs: The expected_outputs of this AdminLaunchPlanClosure. # noqa: E501 - :type: CoreVariableMap - """ - - self._expected_outputs = expected_outputs - - @property - def created_at(self): - """Gets the created_at of this AdminLaunchPlanClosure. # noqa: E501 - - Time at which the launch plan was created. # noqa: E501 - - :return: The created_at of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminLaunchPlanClosure. - - Time at which the launch plan was created. # noqa: E501 - - :param created_at: The created_at of this AdminLaunchPlanClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminLaunchPlanClosure. # noqa: E501 - - Time at which the launch plan was last updated. # noqa: E501 - - :return: The updated_at of this AdminLaunchPlanClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminLaunchPlanClosure. - - Time at which the launch plan was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminLaunchPlanClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py deleted file mode 100644 index 888fa5b2fd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_request.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminLaunchPlanCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminLaunchPlanSpec' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec' - } - - def __init__(self, id=None, spec=None): # noqa: E501 - """AdminLaunchPlanCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - - @property - def id(self): - """Gets the id of this AdminLaunchPlanCreateRequest. # noqa: E501 - - Uniquely identifies a launch plan entity. # noqa: E501 - - :return: The id of this AdminLaunchPlanCreateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminLaunchPlanCreateRequest. - - Uniquely identifies a launch plan entity. # noqa: E501 - - :param id: The id of this AdminLaunchPlanCreateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminLaunchPlanCreateRequest. # noqa: E501 - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :return: The spec of this AdminLaunchPlanCreateRequest. # noqa: E501 - :rtype: AdminLaunchPlanSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminLaunchPlanCreateRequest. - - User-provided launch plan details, including reference workflow, inputs and other metadata. # noqa: E501 - - :param spec: The spec of this AdminLaunchPlanCreateRequest. # noqa: E501 - :type: AdminLaunchPlanSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py deleted file mode 100644 index 8bc8d4a761..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_create_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLaunchPlanCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminLaunchPlanCreateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py deleted file mode 100644 index 9c337f347e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan # noqa: F401,E501 - - -class AdminLaunchPlanList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'launch_plans': 'list[AdminLaunchPlan]', - 'token': 'str' - } - - attribute_map = { - 'launch_plans': 'launch_plans', - 'token': 'token' - } - - def __init__(self, launch_plans=None, token=None): # noqa: E501 - """AdminLaunchPlanList - a model defined in Swagger""" # noqa: E501 - - self._launch_plans = None - self._token = None - self.discriminator = None - - if launch_plans is not None: - self.launch_plans = launch_plans - if token is not None: - self.token = token - - @property - def launch_plans(self): - """Gets the launch_plans of this AdminLaunchPlanList. # noqa: E501 - - - :return: The launch_plans of this AdminLaunchPlanList. # noqa: E501 - :rtype: list[AdminLaunchPlan] - """ - return self._launch_plans - - @launch_plans.setter - def launch_plans(self, launch_plans): - """Sets the launch_plans of this AdminLaunchPlanList. - - - :param launch_plans: The launch_plans of this AdminLaunchPlanList. # noqa: E501 - :type: list[AdminLaunchPlan] - """ - - self._launch_plans = launch_plans - - @property - def token(self): - """Gets the token of this AdminLaunchPlanList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminLaunchPlanList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminLaunchPlanList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminLaunchPlanList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py deleted file mode 100644 index 462a758704..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_metadata.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 -from flyteadmin.models.admin_schedule import AdminSchedule # noqa: F401,E501 -from flyteadmin.models.protobuf_any import ProtobufAny # noqa: F401,E501 - - -class AdminLaunchPlanMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'schedule': 'AdminSchedule', - 'notifications': 'list[AdminNotification]', - 'launch_conditions': 'ProtobufAny' - } - - attribute_map = { - 'schedule': 'schedule', - 'notifications': 'notifications', - 'launch_conditions': 'launch_conditions' - } - - def __init__(self, schedule=None, notifications=None, launch_conditions=None): # noqa: E501 - """AdminLaunchPlanMetadata - a model defined in Swagger""" # noqa: E501 - - self._schedule = None - self._notifications = None - self._launch_conditions = None - self.discriminator = None - - if schedule is not None: - self.schedule = schedule - if notifications is not None: - self.notifications = notifications - if launch_conditions is not None: - self.launch_conditions = launch_conditions - - @property - def schedule(self): - """Gets the schedule of this AdminLaunchPlanMetadata. # noqa: E501 - - - :return: The schedule of this AdminLaunchPlanMetadata. # noqa: E501 - :rtype: AdminSchedule - """ - return self._schedule - - @schedule.setter - def schedule(self, schedule): - """Sets the schedule of this AdminLaunchPlanMetadata. - - - :param schedule: The schedule of this AdminLaunchPlanMetadata. # noqa: E501 - :type: AdminSchedule - """ - - self._schedule = schedule - - @property - def notifications(self): - """Gets the notifications of this AdminLaunchPlanMetadata. # noqa: E501 - - - :return: The notifications of this AdminLaunchPlanMetadata. # noqa: E501 - :rtype: list[AdminNotification] - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminLaunchPlanMetadata. - - - :param notifications: The notifications of this AdminLaunchPlanMetadata. # noqa: E501 - :type: list[AdminNotification] - """ - - self._notifications = notifications - - @property - def launch_conditions(self): - """Gets the launch_conditions of this AdminLaunchPlanMetadata. # noqa: E501 - - - :return: The launch_conditions of this AdminLaunchPlanMetadata. # noqa: E501 - :rtype: ProtobufAny - """ - return self._launch_conditions - - @launch_conditions.setter - def launch_conditions(self, launch_conditions): - """Sets the launch_conditions of this AdminLaunchPlanMetadata. - - - :param launch_conditions: The launch_conditions of this AdminLaunchPlanMetadata. # noqa: E501 - :type: ProtobufAny - """ - - self._launch_conditions = launch_conditions - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py deleted file mode 100644 index 5fea5a8e2b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py +++ /dev/null @@ -1,540 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 -from flyteadmin.models.admin_auth import AdminAuth # noqa: F401,E501 -from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 -from flyteadmin.models.admin_envs import AdminEnvs # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata # noqa: F401,E501 -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: F401,E501 -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 - - -class AdminLaunchPlanSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'workflow_id': 'CoreIdentifier', - 'entity_metadata': 'AdminLaunchPlanMetadata', - 'default_inputs': 'CoreParameterMap', - 'fixed_inputs': 'CoreLiteralMap', - 'role': 'str', - 'labels': 'AdminLabels', - 'annotations': 'AdminAnnotations', - 'auth': 'AdminAuth', - 'auth_role': 'AdminAuthRole', - 'security_context': 'CoreSecurityContext', - 'quality_of_service': 'CoreQualityOfService', - 'raw_output_data_config': 'AdminRawOutputDataConfig', - 'max_parallelism': 'int', - 'interruptible': 'bool', - 'overwrite_cache': 'bool', - 'envs': 'AdminEnvs' - } - - attribute_map = { - 'workflow_id': 'workflow_id', - 'entity_metadata': 'entity_metadata', - 'default_inputs': 'default_inputs', - 'fixed_inputs': 'fixed_inputs', - 'role': 'role', - 'labels': 'labels', - 'annotations': 'annotations', - 'auth': 'auth', - 'auth_role': 'auth_role', - 'security_context': 'security_context', - 'quality_of_service': 'quality_of_service', - 'raw_output_data_config': 'raw_output_data_config', - 'max_parallelism': 'max_parallelism', - 'interruptible': 'interruptible', - 'overwrite_cache': 'overwrite_cache', - 'envs': 'envs' - } - - def __init__(self, workflow_id=None, entity_metadata=None, default_inputs=None, fixed_inputs=None, role=None, labels=None, annotations=None, auth=None, auth_role=None, security_context=None, quality_of_service=None, raw_output_data_config=None, max_parallelism=None, interruptible=None, overwrite_cache=None, envs=None): # noqa: E501 - """AdminLaunchPlanSpec - a model defined in Swagger""" # noqa: E501 - - self._workflow_id = None - self._entity_metadata = None - self._default_inputs = None - self._fixed_inputs = None - self._role = None - self._labels = None - self._annotations = None - self._auth = None - self._auth_role = None - self._security_context = None - self._quality_of_service = None - self._raw_output_data_config = None - self._max_parallelism = None - self._interruptible = None - self._overwrite_cache = None - self._envs = None - self.discriminator = None - - if workflow_id is not None: - self.workflow_id = workflow_id - if entity_metadata is not None: - self.entity_metadata = entity_metadata - if default_inputs is not None: - self.default_inputs = default_inputs - if fixed_inputs is not None: - self.fixed_inputs = fixed_inputs - if role is not None: - self.role = role - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - if auth is not None: - self.auth = auth - if auth_role is not None: - self.auth_role = auth_role - if security_context is not None: - self.security_context = security_context - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if raw_output_data_config is not None: - self.raw_output_data_config = raw_output_data_config - if max_parallelism is not None: - self.max_parallelism = max_parallelism - if interruptible is not None: - self.interruptible = interruptible - if overwrite_cache is not None: - self.overwrite_cache = overwrite_cache - if envs is not None: - self.envs = envs - - @property - def workflow_id(self): - """Gets the workflow_id of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The workflow_id of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._workflow_id - - @workflow_id.setter - def workflow_id(self, workflow_id): - """Sets the workflow_id of this AdminLaunchPlanSpec. - - - :param workflow_id: The workflow_id of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreIdentifier - """ - - self._workflow_id = workflow_id - - @property - def entity_metadata(self): - """Gets the entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminLaunchPlanMetadata - """ - return self._entity_metadata - - @entity_metadata.setter - def entity_metadata(self, entity_metadata): - """Sets the entity_metadata of this AdminLaunchPlanSpec. - - - :param entity_metadata: The entity_metadata of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminLaunchPlanMetadata - """ - - self._entity_metadata = entity_metadata - - @property - def default_inputs(self): - """Gets the default_inputs of this AdminLaunchPlanSpec. # noqa: E501 - - Input values to be passed for the execution. These can be overridden when an execution is created with this launch plan. # noqa: E501 - - :return: The default_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreParameterMap - """ - return self._default_inputs - - @default_inputs.setter - def default_inputs(self, default_inputs): - """Sets the default_inputs of this AdminLaunchPlanSpec. - - Input values to be passed for the execution. These can be overridden when an execution is created with this launch plan. # noqa: E501 - - :param default_inputs: The default_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreParameterMap - """ - - self._default_inputs = default_inputs - - @property - def fixed_inputs(self): - """Gets the fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 - - Fixed, non-overridable inputs for the Launch Plan. These can not be overridden when an execution is created with this launch plan. # noqa: E501 - - :return: The fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._fixed_inputs - - @fixed_inputs.setter - def fixed_inputs(self, fixed_inputs): - """Sets the fixed_inputs of this AdminLaunchPlanSpec. - - Fixed, non-overridable inputs for the Launch Plan. These can not be overridden when an execution is created with this launch plan. # noqa: E501 - - :param fixed_inputs: The fixed_inputs of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreLiteralMap - """ - - self._fixed_inputs = fixed_inputs - - @property - def role(self): - """Gets the role of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The role of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: str - """ - return self._role - - @role.setter - def role(self, role): - """Sets the role of this AdminLaunchPlanSpec. - - - :param role: The role of this AdminLaunchPlanSpec. # noqa: E501 - :type: str - """ - - self._role = role - - @property - def labels(self): - """Gets the labels of this AdminLaunchPlanSpec. # noqa: E501 - - Custom labels to be applied to the execution resource. # noqa: E501 - - :return: The labels of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminLaunchPlanSpec. - - Custom labels to be applied to the execution resource. # noqa: E501 - - :param labels: The labels of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this AdminLaunchPlanSpec. # noqa: E501 - - Custom annotations to be applied to the execution resource. # noqa: E501 - - :return: The annotations of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminAnnotations - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this AdminLaunchPlanSpec. - - Custom annotations to be applied to the execution resource. # noqa: E501 - - :param annotations: The annotations of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminAnnotations - """ - - self._annotations = annotations - - @property - def auth(self): - """Gets the auth of this AdminLaunchPlanSpec. # noqa: E501 - - Indicates the permission associated with workflow executions triggered with this launch plan. # noqa: E501 - - :return: The auth of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminAuth - """ - return self._auth - - @auth.setter - def auth(self, auth): - """Sets the auth of this AdminLaunchPlanSpec. - - Indicates the permission associated with workflow executions triggered with this launch plan. # noqa: E501 - - :param auth: The auth of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminAuth - """ - - self._auth = auth - - @property - def auth_role(self): - """Gets the auth_role of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The auth_role of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminAuthRole - """ - return self._auth_role - - @auth_role.setter - def auth_role(self, auth_role): - """Sets the auth_role of this AdminLaunchPlanSpec. - - - :param auth_role: The auth_role of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminAuthRole - """ - - self._auth_role = auth_role - - @property - def security_context(self): - """Gets the security_context of this AdminLaunchPlanSpec. # noqa: E501 - - - :return: The security_context of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this AdminLaunchPlanSpec. - - - :param security_context: The security_context of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def quality_of_service(self): - """Gets the quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 - - Indicates the runtime priority of the execution. # noqa: E501 - - :return: The quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this AdminLaunchPlanSpec. - - Indicates the runtime priority of the execution. # noqa: E501 - - :param quality_of_service: The quality_of_service of this AdminLaunchPlanSpec. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def raw_output_data_config(self): - """Gets the raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :return: The raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminRawOutputDataConfig - """ - return self._raw_output_data_config - - @raw_output_data_config.setter - def raw_output_data_config(self, raw_output_data_config): - """Sets the raw_output_data_config of this AdminLaunchPlanSpec. - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :param raw_output_data_config: The raw_output_data_config of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminRawOutputDataConfig - """ - - self._raw_output_data_config = raw_output_data_config - - @property - def max_parallelism(self): - """Gets the max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 - - Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :return: The max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: int - """ - return self._max_parallelism - - @max_parallelism.setter - def max_parallelism(self, max_parallelism): - """Sets the max_parallelism of this AdminLaunchPlanSpec. - - Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this. # noqa: E501 - - :param max_parallelism: The max_parallelism of this AdminLaunchPlanSpec. # noqa: E501 - :type: int - """ - - self._max_parallelism = max_parallelism - - @property - def interruptible(self): - """Gets the interruptible of this AdminLaunchPlanSpec. # noqa: E501 - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :return: The interruptible of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this AdminLaunchPlanSpec. - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :param interruptible: The interruptible of this AdminLaunchPlanSpec. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - @property - def overwrite_cache(self): - """Gets the overwrite_cache of this AdminLaunchPlanSpec. # noqa: E501 - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :return: The overwrite_cache of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: bool - """ - return self._overwrite_cache - - @overwrite_cache.setter - def overwrite_cache(self, overwrite_cache): - """Sets the overwrite_cache of this AdminLaunchPlanSpec. - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :param overwrite_cache: The overwrite_cache of this AdminLaunchPlanSpec. # noqa: E501 - :type: bool - """ - - self._overwrite_cache = overwrite_cache - - @property - def envs(self): - """Gets the envs of this AdminLaunchPlanSpec. # noqa: E501 - - Environment variables to be set for the execution. # noqa: E501 - - :return: The envs of this AdminLaunchPlanSpec. # noqa: E501 - :rtype: AdminEnvs - """ - return self._envs - - @envs.setter - def envs(self, envs): - """Sets the envs of this AdminLaunchPlanSpec. - - Environment variables to be set for the execution. # noqa: E501 - - :param envs: The envs of this AdminLaunchPlanSpec. # noqa: E501 - :type: AdminEnvs - """ - - self._envs = envs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py deleted file mode 100644 index 49b1828a80..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_state.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLaunchPlanState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - INACTIVE = "INACTIVE" - ACTIVE = "ACTIVE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminLaunchPlanState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py deleted file mode 100644 index bfd79c3a1d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_request.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminLaunchPlanUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'state': 'AdminLaunchPlanState' - } - - attribute_map = { - 'id': 'id', - 'state': 'state' - } - - def __init__(self, id=None, state=None): # noqa: E501 - """AdminLaunchPlanUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._state = None - self.discriminator = None - - if id is not None: - self.id = id - if state is not None: - self.state = state - - @property - def id(self): - """Gets the id of this AdminLaunchPlanUpdateRequest. # noqa: E501 - - Identifier of launch plan for which to change state. +required. # noqa: E501 - - :return: The id of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminLaunchPlanUpdateRequest. - - Identifier of launch plan for which to change state. +required. # noqa: E501 - - :param id: The id of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def state(self): - """Gets the state of this AdminLaunchPlanUpdateRequest. # noqa: E501 - - Desired state to apply to the launch plan. +required. # noqa: E501 - - :return: The state of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :rtype: AdminLaunchPlanState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminLaunchPlanUpdateRequest. - - Desired state to apply to the launch plan. +required. # noqa: E501 - - :param state: The state of this AdminLaunchPlanUpdateRequest. # noqa: E501 - :type: AdminLaunchPlanState - """ - - self._state = state - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py deleted file mode 100644 index 03932d5cd2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminLaunchPlanUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminLaunchPlanUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLaunchPlanUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLaunchPlanUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py deleted file mode 100644 index c1efcb34b6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_list_matchable_attributes_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration # noqa: F401,E501 - - -class AdminListMatchableAttributesResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'configurations': 'list[AdminMatchableAttributesConfiguration]' - } - - attribute_map = { - 'configurations': 'configurations' - } - - def __init__(self, configurations=None): # noqa: E501 - """AdminListMatchableAttributesResponse - a model defined in Swagger""" # noqa: E501 - - self._configurations = None - self.discriminator = None - - if configurations is not None: - self.configurations = configurations - - @property - def configurations(self): - """Gets the configurations of this AdminListMatchableAttributesResponse. # noqa: E501 - - - :return: The configurations of this AdminListMatchableAttributesResponse. # noqa: E501 - :rtype: list[AdminMatchableAttributesConfiguration] - """ - return self._configurations - - @configurations.setter - def configurations(self, configurations): - """Sets the configurations of this AdminListMatchableAttributesResponse. - - - :param configurations: The configurations of this AdminListMatchableAttributesResponse. # noqa: E501 - :type: list[AdminMatchableAttributesConfiguration] - """ - - self._configurations = configurations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminListMatchableAttributesResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminListMatchableAttributesResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py deleted file mode 100644 index 6d7c78b497..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_literal_map_blob.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminLiteralMapBlob(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'CoreLiteralMap', - 'uri': 'str' - } - - attribute_map = { - 'values': 'values', - 'uri': 'uri' - } - - def __init__(self, values=None, uri=None): # noqa: E501 - """AdminLiteralMapBlob - a model defined in Swagger""" # noqa: E501 - - self._values = None - self._uri = None - self.discriminator = None - - if values is not None: - self.values = values - if uri is not None: - self.uri = uri - - @property - def values(self): - """Gets the values of this AdminLiteralMapBlob. # noqa: E501 - - - :return: The values of this AdminLiteralMapBlob. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this AdminLiteralMapBlob. - - - :param values: The values of this AdminLiteralMapBlob. # noqa: E501 - :type: CoreLiteralMap - """ - - self._values = values - - @property - def uri(self): - """Gets the uri of this AdminLiteralMapBlob. # noqa: E501 - - - :return: The uri of this AdminLiteralMapBlob. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this AdminLiteralMapBlob. - - - :param uri: The uri of this AdminLiteralMapBlob. # noqa: E501 - :type: str - """ - - self._uri = uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminLiteralMapBlob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminLiteralMapBlob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py deleted file mode 100644 index 58e05cbdb4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_attributes_configuration.py +++ /dev/null @@ -1,249 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 - - -class AdminMatchableAttributesConfiguration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminMatchingAttributes', - 'domain': 'str', - 'project': 'str', - 'workflow': 'str', - 'launch_plan': 'str', - 'org': 'str' - } - - attribute_map = { - 'attributes': 'attributes', - 'domain': 'domain', - 'project': 'project', - 'workflow': 'workflow', - 'launch_plan': 'launch_plan', - 'org': 'org' - } - - def __init__(self, attributes=None, domain=None, project=None, workflow=None, launch_plan=None, org=None): # noqa: E501 - """AdminMatchableAttributesConfiguration - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self._domain = None - self._project = None - self._workflow = None - self._launch_plan = None - self._org = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - if domain is not None: - self.domain = domain - if project is not None: - self.project = project - if workflow is not None: - self.workflow = workflow - if launch_plan is not None: - self.launch_plan = launch_plan - if org is not None: - self.org = org - - @property - def attributes(self): - """Gets the attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: AdminMatchingAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminMatchableAttributesConfiguration. - - - :param attributes: The attributes of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: AdminMatchingAttributes - """ - - self._attributes = attributes - - @property - def domain(self): - """Gets the domain of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The domain of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminMatchableAttributesConfiguration. - - - :param domain: The domain of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def project(self): - """Gets the project of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The project of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminMatchableAttributesConfiguration. - - - :param project: The project of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def workflow(self): - """Gets the workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._workflow - - @workflow.setter - def workflow(self, workflow): - """Sets the workflow of this AdminMatchableAttributesConfiguration. - - - :param workflow: The workflow of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._workflow = workflow - - @property - def launch_plan(self): - """Gets the launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 - - - :return: The launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._launch_plan - - @launch_plan.setter - def launch_plan(self, launch_plan): - """Sets the launch_plan of this AdminMatchableAttributesConfiguration. - - - :param launch_plan: The launch_plan of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._launch_plan = launch_plan - - @property - def org(self): - """Gets the org of this AdminMatchableAttributesConfiguration. # noqa: E501 - - Optional, org key applied to the resource. # noqa: E501 - - :return: The org of this AdminMatchableAttributesConfiguration. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminMatchableAttributesConfiguration. - - Optional, org key applied to the resource. # noqa: E501 - - :param org: The org of this AdminMatchableAttributesConfiguration. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminMatchableAttributesConfiguration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminMatchableAttributesConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py deleted file mode 100644 index 2c234614f3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matchable_resource.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminMatchableResource(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - TASK_RESOURCE = "TASK_RESOURCE" - CLUSTER_RESOURCE = "CLUSTER_RESOURCE" - EXECUTION_QUEUE = "EXECUTION_QUEUE" - EXECUTION_CLUSTER_LABEL = "EXECUTION_CLUSTER_LABEL" - QUALITY_OF_SERVICE_SPECIFICATION = "QUALITY_OF_SERVICE_SPECIFICATION" - PLUGIN_OVERRIDE = "PLUGIN_OVERRIDE" - WORKFLOW_EXECUTION_CONFIG = "WORKFLOW_EXECUTION_CONFIG" - CLUSTER_ASSIGNMENT = "CLUSTER_ASSIGNMENT" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminMatchableResource - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminMatchableResource, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminMatchableResource): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py deleted file mode 100644 index aadcc1d21c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py +++ /dev/null @@ -1,306 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: F401,E501 -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: F401,E501 -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel # noqa: F401,E501 -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: F401,E501 -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides # noqa: F401,E501 -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: F401,E501 -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig # noqa: F401,E501 -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 - - -class AdminMatchingAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_resource_attributes': 'AdminTaskResourceAttributes', - 'cluster_resource_attributes': 'AdminClusterResourceAttributes', - 'execution_queue_attributes': 'AdminExecutionQueueAttributes', - 'execution_cluster_label': 'AdminExecutionClusterLabel', - 'quality_of_service': 'CoreQualityOfService', - 'plugin_overrides': 'AdminPluginOverrides', - 'workflow_execution_config': 'AdminWorkflowExecutionConfig', - 'cluster_assignment': 'AdminClusterAssignment' - } - - attribute_map = { - 'task_resource_attributes': 'task_resource_attributes', - 'cluster_resource_attributes': 'cluster_resource_attributes', - 'execution_queue_attributes': 'execution_queue_attributes', - 'execution_cluster_label': 'execution_cluster_label', - 'quality_of_service': 'quality_of_service', - 'plugin_overrides': 'plugin_overrides', - 'workflow_execution_config': 'workflow_execution_config', - 'cluster_assignment': 'cluster_assignment' - } - - def __init__(self, task_resource_attributes=None, cluster_resource_attributes=None, execution_queue_attributes=None, execution_cluster_label=None, quality_of_service=None, plugin_overrides=None, workflow_execution_config=None, cluster_assignment=None): # noqa: E501 - """AdminMatchingAttributes - a model defined in Swagger""" # noqa: E501 - - self._task_resource_attributes = None - self._cluster_resource_attributes = None - self._execution_queue_attributes = None - self._execution_cluster_label = None - self._quality_of_service = None - self._plugin_overrides = None - self._workflow_execution_config = None - self._cluster_assignment = None - self.discriminator = None - - if task_resource_attributes is not None: - self.task_resource_attributes = task_resource_attributes - if cluster_resource_attributes is not None: - self.cluster_resource_attributes = cluster_resource_attributes - if execution_queue_attributes is not None: - self.execution_queue_attributes = execution_queue_attributes - if execution_cluster_label is not None: - self.execution_cluster_label = execution_cluster_label - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if plugin_overrides is not None: - self.plugin_overrides = plugin_overrides - if workflow_execution_config is not None: - self.workflow_execution_config = workflow_execution_config - if cluster_assignment is not None: - self.cluster_assignment = cluster_assignment - - @property - def task_resource_attributes(self): - """Gets the task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - - - :return: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminTaskResourceAttributes - """ - return self._task_resource_attributes - - @task_resource_attributes.setter - def task_resource_attributes(self, task_resource_attributes): - """Sets the task_resource_attributes of this AdminMatchingAttributes. - - - :param task_resource_attributes: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :type: AdminTaskResourceAttributes - """ - - self._task_resource_attributes = task_resource_attributes - - @property - def cluster_resource_attributes(self): - """Gets the cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - - - :return: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminClusterResourceAttributes - """ - return self._cluster_resource_attributes - - @cluster_resource_attributes.setter - def cluster_resource_attributes(self, cluster_resource_attributes): - """Sets the cluster_resource_attributes of this AdminMatchingAttributes. - - - :param cluster_resource_attributes: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 - :type: AdminClusterResourceAttributes - """ - - self._cluster_resource_attributes = cluster_resource_attributes - - @property - def execution_queue_attributes(self): - """Gets the execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 - - - :return: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminExecutionQueueAttributes - """ - return self._execution_queue_attributes - - @execution_queue_attributes.setter - def execution_queue_attributes(self, execution_queue_attributes): - """Sets the execution_queue_attributes of this AdminMatchingAttributes. - - - :param execution_queue_attributes: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 - :type: AdminExecutionQueueAttributes - """ - - self._execution_queue_attributes = execution_queue_attributes - - @property - def execution_cluster_label(self): - """Gets the execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 - - - :return: The execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminExecutionClusterLabel - """ - return self._execution_cluster_label - - @execution_cluster_label.setter - def execution_cluster_label(self, execution_cluster_label): - """Sets the execution_cluster_label of this AdminMatchingAttributes. - - - :param execution_cluster_label: The execution_cluster_label of this AdminMatchingAttributes. # noqa: E501 - :type: AdminExecutionClusterLabel - """ - - self._execution_cluster_label = execution_cluster_label - - @property - def quality_of_service(self): - """Gets the quality_of_service of this AdminMatchingAttributes. # noqa: E501 - - - :return: The quality_of_service of this AdminMatchingAttributes. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this AdminMatchingAttributes. - - - :param quality_of_service: The quality_of_service of this AdminMatchingAttributes. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def plugin_overrides(self): - """Gets the plugin_overrides of this AdminMatchingAttributes. # noqa: E501 - - - :return: The plugin_overrides of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminPluginOverrides - """ - return self._plugin_overrides - - @plugin_overrides.setter - def plugin_overrides(self, plugin_overrides): - """Sets the plugin_overrides of this AdminMatchingAttributes. - - - :param plugin_overrides: The plugin_overrides of this AdminMatchingAttributes. # noqa: E501 - :type: AdminPluginOverrides - """ - - self._plugin_overrides = plugin_overrides - - @property - def workflow_execution_config(self): - """Gets the workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 - - - :return: The workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminWorkflowExecutionConfig - """ - return self._workflow_execution_config - - @workflow_execution_config.setter - def workflow_execution_config(self, workflow_execution_config): - """Sets the workflow_execution_config of this AdminMatchingAttributes. - - - :param workflow_execution_config: The workflow_execution_config of this AdminMatchingAttributes. # noqa: E501 - :type: AdminWorkflowExecutionConfig - """ - - self._workflow_execution_config = workflow_execution_config - - @property - def cluster_assignment(self): - """Gets the cluster_assignment of this AdminMatchingAttributes. # noqa: E501 - - - :return: The cluster_assignment of this AdminMatchingAttributes. # noqa: E501 - :rtype: AdminClusterAssignment - """ - return self._cluster_assignment - - @cluster_assignment.setter - def cluster_assignment(self, cluster_assignment): - """Sets the cluster_assignment of this AdminMatchingAttributes. - - - :param cluster_assignment: The cluster_assignment of this AdminMatchingAttributes. # noqa: E501 - :type: AdminClusterAssignment - """ - - self._cluster_assignment = cluster_assignment - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminMatchingAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminMatchingAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py deleted file mode 100644 index 9a8600de92..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: F401,E501 -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 - - -class AdminNamedEntity(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resource_type': 'CoreResourceType', - 'id': 'AdminNamedEntityIdentifier', - 'metadata': 'AdminNamedEntityMetadata' - } - - attribute_map = { - 'resource_type': 'resource_type', - 'id': 'id', - 'metadata': 'metadata' - } - - def __init__(self, resource_type=None, id=None, metadata=None): # noqa: E501 - """AdminNamedEntity - a model defined in Swagger""" # noqa: E501 - - self._resource_type = None - self._id = None - self._metadata = None - self.discriminator = None - - if resource_type is not None: - self.resource_type = resource_type - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - - @property - def resource_type(self): - """Gets the resource_type of this AdminNamedEntity. # noqa: E501 - - Resource type of the named entity. One of Task, Workflow or LaunchPlan. # noqa: E501 - - :return: The resource_type of this AdminNamedEntity. # noqa: E501 - :rtype: CoreResourceType - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminNamedEntity. - - Resource type of the named entity. One of Task, Workflow or LaunchPlan. # noqa: E501 - - :param resource_type: The resource_type of this AdminNamedEntity. # noqa: E501 - :type: CoreResourceType - """ - - self._resource_type = resource_type - - @property - def id(self): - """Gets the id of this AdminNamedEntity. # noqa: E501 - - - :return: The id of this AdminNamedEntity. # noqa: E501 - :rtype: AdminNamedEntityIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminNamedEntity. - - - :param id: The id of this AdminNamedEntity. # noqa: E501 - :type: AdminNamedEntityIdentifier - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this AdminNamedEntity. # noqa: E501 - - Additional metadata around a named entity. # noqa: E501 - - :return: The metadata of this AdminNamedEntity. # noqa: E501 - :rtype: AdminNamedEntityMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminNamedEntity. - - Additional metadata around a named entity. # noqa: E501 - - :param metadata: The metadata of this AdminNamedEntity. # noqa: E501 - :type: AdminNamedEntityMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntity, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntity): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py deleted file mode 100644 index a38944ceec..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNamedEntityIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'name': 'str', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'name': 'name', - 'org': 'org' - } - - def __init__(self, project=None, domain=None, name=None, org=None): # noqa: E501 - """AdminNamedEntityIdentifier - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._name = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminNamedEntityIdentifier. # noqa: E501 - - Name of the project the resource belongs to. # noqa: E501 - - :return: The project of this AdminNamedEntityIdentifier. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminNamedEntityIdentifier. - - Name of the project the resource belongs to. # noqa: E501 - - :param project: The project of this AdminNamedEntityIdentifier. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminNamedEntityIdentifier. # noqa: E501 - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :return: The domain of this AdminNamedEntityIdentifier. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminNamedEntityIdentifier. - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :param domain: The domain of this AdminNamedEntityIdentifier. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this AdminNamedEntityIdentifier. # noqa: E501 - - - :return: The name of this AdminNamedEntityIdentifier. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminNamedEntityIdentifier. - - - :param name: The name of this AdminNamedEntityIdentifier. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def org(self): - """Gets the org of this AdminNamedEntityIdentifier. # noqa: E501 - - Optional, org key applied to the resource. # noqa: E501 - - :return: The org of this AdminNamedEntityIdentifier. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminNamedEntityIdentifier. - - Optional, org key applied to the resource. # noqa: E501 - - :param org: The org of this AdminNamedEntityIdentifier. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py deleted file mode 100644 index 04a4ad0284..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_identifier_list.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 - - -class AdminNamedEntityIdentifierList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'entities': 'list[AdminNamedEntityIdentifier]', - 'token': 'str' - } - - attribute_map = { - 'entities': 'entities', - 'token': 'token' - } - - def __init__(self, entities=None, token=None): # noqa: E501 - """AdminNamedEntityIdentifierList - a model defined in Swagger""" # noqa: E501 - - self._entities = None - self._token = None - self.discriminator = None - - if entities is not None: - self.entities = entities - if token is not None: - self.token = token - - @property - def entities(self): - """Gets the entities of this AdminNamedEntityIdentifierList. # noqa: E501 - - A list of identifiers. # noqa: E501 - - :return: The entities of this AdminNamedEntityIdentifierList. # noqa: E501 - :rtype: list[AdminNamedEntityIdentifier] - """ - return self._entities - - @entities.setter - def entities(self, entities): - """Sets the entities of this AdminNamedEntityIdentifierList. - - A list of identifiers. # noqa: E501 - - :param entities: The entities of this AdminNamedEntityIdentifierList. # noqa: E501 - :type: list[AdminNamedEntityIdentifier] - """ - - self._entities = entities - - @property - def token(self): - """Gets the token of this AdminNamedEntityIdentifierList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminNamedEntityIdentifierList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminNamedEntityIdentifierList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminNamedEntityIdentifierList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityIdentifierList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityIdentifierList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py deleted file mode 100644 index 6a97699882..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity import AdminNamedEntity # noqa: F401,E501 - - -class AdminNamedEntityList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'entities': 'list[AdminNamedEntity]', - 'token': 'str' - } - - attribute_map = { - 'entities': 'entities', - 'token': 'token' - } - - def __init__(self, entities=None, token=None): # noqa: E501 - """AdminNamedEntityList - a model defined in Swagger""" # noqa: E501 - - self._entities = None - self._token = None - self.discriminator = None - - if entities is not None: - self.entities = entities - if token is not None: - self.token = token - - @property - def entities(self): - """Gets the entities of this AdminNamedEntityList. # noqa: E501 - - - :return: The entities of this AdminNamedEntityList. # noqa: E501 - :rtype: list[AdminNamedEntity] - """ - return self._entities - - @entities.setter - def entities(self, entities): - """Sets the entities of this AdminNamedEntityList. - - - :param entities: The entities of this AdminNamedEntityList. # noqa: E501 - :type: list[AdminNamedEntity] - """ - - self._entities = entities - - @property - def token(self): - """Gets the token of this AdminNamedEntityList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminNamedEntityList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminNamedEntityList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminNamedEntityList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py deleted file mode 100644 index e7e538e04c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_metadata.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState # noqa: F401,E501 - - -class AdminNamedEntityMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'description': 'str', - 'state': 'AdminNamedEntityState' - } - - attribute_map = { - 'description': 'description', - 'state': 'state' - } - - def __init__(self, description=None, state=None): # noqa: E501 - """AdminNamedEntityMetadata - a model defined in Swagger""" # noqa: E501 - - self._description = None - self._state = None - self.discriminator = None - - if description is not None: - self.description = description - if state is not None: - self.state = state - - @property - def description(self): - """Gets the description of this AdminNamedEntityMetadata. # noqa: E501 - - - :return: The description of this AdminNamedEntityMetadata. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this AdminNamedEntityMetadata. - - - :param description: The description of this AdminNamedEntityMetadata. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def state(self): - """Gets the state of this AdminNamedEntityMetadata. # noqa: E501 - - Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. # noqa: E501 - - :return: The state of this AdminNamedEntityMetadata. # noqa: E501 - :rtype: AdminNamedEntityState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminNamedEntityMetadata. - - Shared state across all version of the entity At this point in time, only workflow entities can have their state archived. # noqa: E501 - - :param state: The state of this AdminNamedEntityMetadata. # noqa: E501 - :type: AdminNamedEntityState - """ - - self._state = state - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py deleted file mode 100644 index c2739d2331..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_state.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNamedEntityState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NAMED_ENTITY_ACTIVE = "NAMED_ENTITY_ACTIVE" - NAMED_ENTITY_ARCHIVED = "NAMED_ENTITY_ARCHIVED" - SYSTEM_GENERATED = "SYSTEM_GENERATED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminNamedEntityState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py deleted file mode 100644 index 92b851213d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_request.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: F401,E501 -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: F401,E501 -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 - - -class AdminNamedEntityUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resource_type': 'CoreResourceType', - 'id': 'AdminNamedEntityIdentifier', - 'metadata': 'AdminNamedEntityMetadata' - } - - attribute_map = { - 'resource_type': 'resource_type', - 'id': 'id', - 'metadata': 'metadata' - } - - def __init__(self, resource_type=None, id=None, metadata=None): # noqa: E501 - """AdminNamedEntityUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._resource_type = None - self._id = None - self._metadata = None - self.discriminator = None - - if resource_type is not None: - self.resource_type = resource_type - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - - @property - def resource_type(self): - """Gets the resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 - - - :return: The resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 - :rtype: CoreResourceType - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminNamedEntityUpdateRequest. - - - :param resource_type: The resource_type of this AdminNamedEntityUpdateRequest. # noqa: E501 - :type: CoreResourceType - """ - - self._resource_type = resource_type - - @property - def id(self): - """Gets the id of this AdminNamedEntityUpdateRequest. # noqa: E501 - - - :return: The id of this AdminNamedEntityUpdateRequest. # noqa: E501 - :rtype: AdminNamedEntityIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminNamedEntityUpdateRequest. - - - :param id: The id of this AdminNamedEntityUpdateRequest. # noqa: E501 - :type: AdminNamedEntityIdentifier - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 - - - :return: The metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 - :rtype: AdminNamedEntityMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminNamedEntityUpdateRequest. - - - :param metadata: The metadata of this AdminNamedEntityUpdateRequest. # noqa: E501 - :type: AdminNamedEntityMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py deleted file mode 100644 index fc86d9ea88..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_named_entity_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNamedEntityUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminNamedEntityUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNamedEntityUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNamedEntityUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py deleted file mode 100644 index 67eb4c68b8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py +++ /dev/null @@ -1,423 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: F401,E501 -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata # noqa: F401,E501 - - -class AdminNodeExecutionClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'phase': 'CoreNodeExecutionPhase', - 'started_at': 'datetime', - 'duration': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime', - 'workflow_node_metadata': 'FlyteidladminWorkflowNodeMetadata', - 'task_node_metadata': 'FlyteidladminTaskNodeMetadata', - 'deck_uri': 'str', - 'dynamic_job_spec_uri': 'str' - } - - attribute_map = { - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'phase': 'phase', - 'started_at': 'started_at', - 'duration': 'duration', - 'created_at': 'created_at', - 'updated_at': 'updated_at', - 'workflow_node_metadata': 'workflow_node_metadata', - 'task_node_metadata': 'task_node_metadata', - 'deck_uri': 'deck_uri', - 'dynamic_job_spec_uri': 'dynamic_job_spec_uri' - } - - def __init__(self, output_uri=None, error=None, output_data=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, workflow_node_metadata=None, task_node_metadata=None, deck_uri=None, dynamic_job_spec_uri=None): # noqa: E501 - """AdminNodeExecutionClosure - a model defined in Swagger""" # noqa: E501 - - self._output_uri = None - self._error = None - self._output_data = None - self._phase = None - self._started_at = None - self._duration = None - self._created_at = None - self._updated_at = None - self._workflow_node_metadata = None - self._task_node_metadata = None - self._deck_uri = None - self._dynamic_job_spec_uri = None - self.discriminator = None - - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if phase is not None: - self.phase = phase - if started_at is not None: - self.started_at = started_at - if duration is not None: - self.duration = duration - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - if workflow_node_metadata is not None: - self.workflow_node_metadata = workflow_node_metadata - if task_node_metadata is not None: - self.task_node_metadata = task_node_metadata - if deck_uri is not None: - self.deck_uri = deck_uri - if dynamic_job_spec_uri is not None: - self.dynamic_job_spec_uri = dynamic_job_spec_uri - - @property - def output_uri(self): - """Gets the output_uri of this AdminNodeExecutionClosure. # noqa: E501 - - Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_uri of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this AdminNodeExecutionClosure. - - Links to a remotely stored, serialized core.LiteralMap of node execution outputs. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :param output_uri: The output_uri of this AdminNodeExecutionClosure. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The error of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this AdminNodeExecutionClosure. - - - :param error: The error of this AdminNodeExecutionClosure. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this AdminNodeExecutionClosure. # noqa: E501 - - Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_data of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this AdminNodeExecutionClosure. - - Raw output data produced by this node execution. DEPRECATED. Use GetNodeExecutionData to fetch output data instead. # noqa: E501 - - :param output_data: The output_data of this AdminNodeExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def phase(self): - """Gets the phase of this AdminNodeExecutionClosure. # noqa: E501 - - The last recorded phase for this node execution. # noqa: E501 - - :return: The phase of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: CoreNodeExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this AdminNodeExecutionClosure. - - The last recorded phase for this node execution. # noqa: E501 - - :param phase: The phase of this AdminNodeExecutionClosure. # noqa: E501 - :type: CoreNodeExecutionPhase - """ - - self._phase = phase - - @property - def started_at(self): - """Gets the started_at of this AdminNodeExecutionClosure. # noqa: E501 - - Time at which the node execution began running. # noqa: E501 - - :return: The started_at of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._started_at - - @started_at.setter - def started_at(self, started_at): - """Sets the started_at of this AdminNodeExecutionClosure. - - Time at which the node execution began running. # noqa: E501 - - :param started_at: The started_at of this AdminNodeExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._started_at = started_at - - @property - def duration(self): - """Gets the duration of this AdminNodeExecutionClosure. # noqa: E501 - - The amount of time the node execution spent running. # noqa: E501 - - :return: The duration of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this AdminNodeExecutionClosure. - - The amount of time the node execution spent running. # noqa: E501 - - :param duration: The duration of this AdminNodeExecutionClosure. # noqa: E501 - :type: str - """ - - self._duration = duration - - @property - def created_at(self): - """Gets the created_at of this AdminNodeExecutionClosure. # noqa: E501 - - Time at which the node execution was created. # noqa: E501 - - :return: The created_at of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminNodeExecutionClosure. - - Time at which the node execution was created. # noqa: E501 - - :param created_at: The created_at of this AdminNodeExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminNodeExecutionClosure. # noqa: E501 - - Time at which the node execution was last updated. # noqa: E501 - - :return: The updated_at of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminNodeExecutionClosure. - - Time at which the node execution was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminNodeExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - @property - def workflow_node_metadata(self): - """Gets the workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: FlyteidladminWorkflowNodeMetadata - """ - return self._workflow_node_metadata - - @workflow_node_metadata.setter - def workflow_node_metadata(self, workflow_node_metadata): - """Sets the workflow_node_metadata of this AdminNodeExecutionClosure. - - - :param workflow_node_metadata: The workflow_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :type: FlyteidladminWorkflowNodeMetadata - """ - - self._workflow_node_metadata = workflow_node_metadata - - @property - def task_node_metadata(self): - """Gets the task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: FlyteidladminTaskNodeMetadata - """ - return self._task_node_metadata - - @task_node_metadata.setter - def task_node_metadata(self, task_node_metadata): - """Sets the task_node_metadata of this AdminNodeExecutionClosure. - - - :param task_node_metadata: The task_node_metadata of this AdminNodeExecutionClosure. # noqa: E501 - :type: FlyteidladminTaskNodeMetadata - """ - - self._task_node_metadata = task_node_metadata - - @property - def deck_uri(self): - """Gets the deck_uri of this AdminNodeExecutionClosure. # noqa: E501 - - - :return: The deck_uri of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._deck_uri - - @deck_uri.setter - def deck_uri(self, deck_uri): - """Sets the deck_uri of this AdminNodeExecutionClosure. - - - :param deck_uri: The deck_uri of this AdminNodeExecutionClosure. # noqa: E501 - :type: str - """ - - self._deck_uri = deck_uri - - @property - def dynamic_job_spec_uri(self): - """Gets the dynamic_job_spec_uri of this AdminNodeExecutionClosure. # noqa: E501 - - dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 - - :return: The dynamic_job_spec_uri of this AdminNodeExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._dynamic_job_spec_uri - - @dynamic_job_spec_uri.setter - def dynamic_job_spec_uri(self, dynamic_job_spec_uri): - """Sets the dynamic_job_spec_uri of this AdminNodeExecutionClosure. - - dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 - - :param dynamic_job_spec_uri: The dynamic_job_spec_uri of this AdminNodeExecutionClosure. # noqa: E501 - :type: str - """ - - self._dynamic_job_spec_uri = dynamic_job_spec_uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py deleted file mode 100644 index 1b0555a030..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent # noqa: F401,E501 - - -class AdminNodeExecutionEventRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'request_id': 'str', - 'event': 'EventNodeExecutionEvent' - } - - attribute_map = { - 'request_id': 'request_id', - 'event': 'event' - } - - def __init__(self, request_id=None, event=None): # noqa: E501 - """AdminNodeExecutionEventRequest - a model defined in Swagger""" # noqa: E501 - - self._request_id = None - self._event = None - self.discriminator = None - - if request_id is not None: - self.request_id = request_id - if event is not None: - self.event = event - - @property - def request_id(self): - """Gets the request_id of this AdminNodeExecutionEventRequest. # noqa: E501 - - - :return: The request_id of this AdminNodeExecutionEventRequest. # noqa: E501 - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AdminNodeExecutionEventRequest. - - - :param request_id: The request_id of this AdminNodeExecutionEventRequest. # noqa: E501 - :type: str - """ - - self._request_id = request_id - - @property - def event(self): - """Gets the event of this AdminNodeExecutionEventRequest. # noqa: E501 - - Details about the event that occurred. # noqa: E501 - - :return: The event of this AdminNodeExecutionEventRequest. # noqa: E501 - :rtype: EventNodeExecutionEvent - """ - return self._event - - @event.setter - def event(self, event): - """Sets the event of this AdminNodeExecutionEventRequest. - - Details about the event that occurred. # noqa: E501 - - :param event: The event of this AdminNodeExecutionEventRequest. # noqa: E501 - :type: EventNodeExecutionEvent - """ - - self._event = event - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionEventRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionEventRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py deleted file mode 100644 index bc409dd130..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_event_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNodeExecutionEventResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminNodeExecutionEventResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionEventResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionEventResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py deleted file mode 100644 index 8460332961..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py +++ /dev/null @@ -1,260 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs # noqa: F401,E501 -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata # noqa: F401,E501 - - -class AdminNodeExecutionGetDataResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'inputs': 'AdminUrlBlob', - 'outputs': 'AdminUrlBlob', - 'full_inputs': 'CoreLiteralMap', - 'full_outputs': 'CoreLiteralMap', - 'dynamic_workflow': 'FlyteidladminDynamicWorkflowNodeMetadata', - 'flyte_urls': 'AdminFlyteURLs' - } - - attribute_map = { - 'inputs': 'inputs', - 'outputs': 'outputs', - 'full_inputs': 'full_inputs', - 'full_outputs': 'full_outputs', - 'dynamic_workflow': 'dynamic_workflow', - 'flyte_urls': 'flyte_urls' - } - - def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None, dynamic_workflow=None, flyte_urls=None): # noqa: E501 - """AdminNodeExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 - - self._inputs = None - self._outputs = None - self._full_inputs = None - self._full_outputs = None - self._dynamic_workflow = None - self._flyte_urls = None - self.discriminator = None - - if inputs is not None: - self.inputs = inputs - if outputs is not None: - self.outputs = outputs - if full_inputs is not None: - self.full_inputs = full_inputs - if full_outputs is not None: - self.full_outputs = full_outputs - if dynamic_workflow is not None: - self.dynamic_workflow = dynamic_workflow - if flyte_urls is not None: - self.flyte_urls = flyte_urls - - @property - def inputs(self): - """Gets the inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :return: The inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminNodeExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of node execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :param inputs: The inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._inputs = inputs - - @property - def outputs(self): - """Gets the outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :return: The outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminNodeExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of node execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :param outputs: The outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._outputs = outputs - - @property - def full_inputs(self): - """Gets the full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_inputs - - @full_inputs.setter - def full_inputs(self, full_inputs): - """Sets the full_inputs of this AdminNodeExecutionGetDataResponse. - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_inputs: The full_inputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_inputs = full_inputs - - @property - def full_outputs(self): - """Gets the full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_outputs - - @full_outputs.setter - def full_outputs(self, full_outputs): - """Sets the full_outputs of this AdminNodeExecutionGetDataResponse. - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_outputs: The full_outputs of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_outputs = full_outputs - - @property - def dynamic_workflow(self): - """Gets the dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. # noqa: E501 - - :return: The dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: FlyteidladminDynamicWorkflowNodeMetadata - """ - return self._dynamic_workflow - - @dynamic_workflow.setter - def dynamic_workflow(self, dynamic_workflow): - """Sets the dynamic_workflow of this AdminNodeExecutionGetDataResponse. - - Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. # noqa: E501 - - :param dynamic_workflow: The dynamic_workflow of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: FlyteidladminDynamicWorkflowNodeMetadata - """ - - self._dynamic_workflow = dynamic_workflow - - @property - def flyte_urls(self): - """Gets the flyte_urls of this AdminNodeExecutionGetDataResponse. # noqa: E501 - - - :return: The flyte_urls of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :rtype: AdminFlyteURLs - """ - return self._flyte_urls - - @flyte_urls.setter - def flyte_urls(self, flyte_urls): - """Sets the flyte_urls of this AdminNodeExecutionGetDataResponse. - - - :param flyte_urls: The flyte_urls of this AdminNodeExecutionGetDataResponse. # noqa: E501 - :type: AdminFlyteURLs - """ - - self._flyte_urls = flyte_urls - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionGetDataResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionGetDataResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py deleted file mode 100644 index 8f23e8cd48..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution # noqa: F401,E501 - - -class AdminNodeExecutionList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_executions': 'list[FlyteidladminNodeExecution]', - 'token': 'str' - } - - attribute_map = { - 'node_executions': 'node_executions', - 'token': 'token' - } - - def __init__(self, node_executions=None, token=None): # noqa: E501 - """AdminNodeExecutionList - a model defined in Swagger""" # noqa: E501 - - self._node_executions = None - self._token = None - self.discriminator = None - - if node_executions is not None: - self.node_executions = node_executions - if token is not None: - self.token = token - - @property - def node_executions(self): - """Gets the node_executions of this AdminNodeExecutionList. # noqa: E501 - - - :return: The node_executions of this AdminNodeExecutionList. # noqa: E501 - :rtype: list[FlyteidladminNodeExecution] - """ - return self._node_executions - - @node_executions.setter - def node_executions(self, node_executions): - """Sets the node_executions of this AdminNodeExecutionList. - - - :param node_executions: The node_executions of this AdminNodeExecutionList. # noqa: E501 - :type: list[FlyteidladminNodeExecution] - """ - - self._node_executions = node_executions - - @property - def token(self): - """Gets the token of this AdminNodeExecutionList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminNodeExecutionList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminNodeExecutionList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminNodeExecutionList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py deleted file mode 100644 index 130cb4d706..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_meta_data.py +++ /dev/null @@ -1,227 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminNodeExecutionMetaData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'retry_group': 'str', - 'is_parent_node': 'bool', - 'spec_node_id': 'str', - 'is_dynamic': 'bool', - 'is_array': 'bool' - } - - attribute_map = { - 'retry_group': 'retry_group', - 'is_parent_node': 'is_parent_node', - 'spec_node_id': 'spec_node_id', - 'is_dynamic': 'is_dynamic', - 'is_array': 'is_array' - } - - def __init__(self, retry_group=None, is_parent_node=None, spec_node_id=None, is_dynamic=None, is_array=None): # noqa: E501 - """AdminNodeExecutionMetaData - a model defined in Swagger""" # noqa: E501 - - self._retry_group = None - self._is_parent_node = None - self._spec_node_id = None - self._is_dynamic = None - self._is_array = None - self.discriminator = None - - if retry_group is not None: - self.retry_group = retry_group - if is_parent_node is not None: - self.is_parent_node = is_parent_node - if spec_node_id is not None: - self.spec_node_id = spec_node_id - if is_dynamic is not None: - self.is_dynamic = is_dynamic - if is_array is not None: - self.is_array = is_array - - @property - def retry_group(self): - """Gets the retry_group of this AdminNodeExecutionMetaData. # noqa: E501 - - Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. # noqa: E501 - - :return: The retry_group of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: str - """ - return self._retry_group - - @retry_group.setter - def retry_group(self, retry_group): - """Sets the retry_group of this AdminNodeExecutionMetaData. - - Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node. # noqa: E501 - - :param retry_group: The retry_group of this AdminNodeExecutionMetaData. # noqa: E501 - :type: str - """ - - self._retry_group = retry_group - - @property - def is_parent_node(self): - """Gets the is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 - - Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. # noqa: E501 - - :return: The is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: bool - """ - return self._is_parent_node - - @is_parent_node.setter - def is_parent_node(self, is_parent_node): - """Sets the is_parent_node of this AdminNodeExecutionMetaData. - - Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes. # noqa: E501 - - :param is_parent_node: The is_parent_node of this AdminNodeExecutionMetaData. # noqa: E501 - :type: bool - """ - - self._is_parent_node = is_parent_node - - @property - def spec_node_id(self): - """Gets the spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 - - - :return: The spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: str - """ - return self._spec_node_id - - @spec_node_id.setter - def spec_node_id(self, spec_node_id): - """Sets the spec_node_id of this AdminNodeExecutionMetaData. - - - :param spec_node_id: The spec_node_id of this AdminNodeExecutionMetaData. # noqa: E501 - :type: str - """ - - self._spec_node_id = spec_node_id - - @property - def is_dynamic(self): - """Gets the is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 - - Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. # noqa: E501 - - :return: The is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: bool - """ - return self._is_dynamic - - @is_dynamic.setter - def is_dynamic(self, is_dynamic): - """Sets the is_dynamic of this AdminNodeExecutionMetaData. - - Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true. # noqa: E501 - - :param is_dynamic: The is_dynamic of this AdminNodeExecutionMetaData. # noqa: E501 - :type: bool - """ - - self._is_dynamic = is_dynamic - - @property - def is_array(self): - """Gets the is_array of this AdminNodeExecutionMetaData. # noqa: E501 - - Boolean flag indicating if the node is an array node. This is intended to uniquely identify array nodes from other nodes which can have is_parent_node as true. # noqa: E501 - - :return: The is_array of this AdminNodeExecutionMetaData. # noqa: E501 - :rtype: bool - """ - return self._is_array - - @is_array.setter - def is_array(self, is_array): - """Sets the is_array of this AdminNodeExecutionMetaData. - - Boolean flag indicating if the node is an array node. This is intended to uniquely identify array nodes from other nodes which can have is_parent_node as true. # noqa: E501 - - :param is_array: The is_array of this AdminNodeExecutionMetaData. # noqa: E501 - :type: bool - """ - - self._is_array = is_array - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNodeExecutionMetaData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNodeExecutionMetaData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py deleted file mode 100644 index 8232eed6bb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification.py +++ /dev/null @@ -1,198 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_email_notification import AdminEmailNotification # noqa: F401,E501 -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification # noqa: F401,E501 -from flyteadmin.models.admin_slack_notification import AdminSlackNotification # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 - - -class AdminNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'phases': 'list[CoreWorkflowExecutionPhase]', - 'email': 'AdminEmailNotification', - 'pager_duty': 'AdminPagerDutyNotification', - 'slack': 'AdminSlackNotification' - } - - attribute_map = { - 'phases': 'phases', - 'email': 'email', - 'pager_duty': 'pager_duty', - 'slack': 'slack' - } - - def __init__(self, phases=None, email=None, pager_duty=None, slack=None): # noqa: E501 - """AdminNotification - a model defined in Swagger""" # noqa: E501 - - self._phases = None - self._email = None - self._pager_duty = None - self._slack = None - self.discriminator = None - - if phases is not None: - self.phases = phases - if email is not None: - self.email = email - if pager_duty is not None: - self.pager_duty = pager_duty - if slack is not None: - self.slack = slack - - @property - def phases(self): - """Gets the phases of this AdminNotification. # noqa: E501 - - - :return: The phases of this AdminNotification. # noqa: E501 - :rtype: list[CoreWorkflowExecutionPhase] - """ - return self._phases - - @phases.setter - def phases(self, phases): - """Sets the phases of this AdminNotification. - - - :param phases: The phases of this AdminNotification. # noqa: E501 - :type: list[CoreWorkflowExecutionPhase] - """ - - self._phases = phases - - @property - def email(self): - """Gets the email of this AdminNotification. # noqa: E501 - - - :return: The email of this AdminNotification. # noqa: E501 - :rtype: AdminEmailNotification - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this AdminNotification. - - - :param email: The email of this AdminNotification. # noqa: E501 - :type: AdminEmailNotification - """ - - self._email = email - - @property - def pager_duty(self): - """Gets the pager_duty of this AdminNotification. # noqa: E501 - - - :return: The pager_duty of this AdminNotification. # noqa: E501 - :rtype: AdminPagerDutyNotification - """ - return self._pager_duty - - @pager_duty.setter - def pager_duty(self, pager_duty): - """Sets the pager_duty of this AdminNotification. - - - :param pager_duty: The pager_duty of this AdminNotification. # noqa: E501 - :type: AdminPagerDutyNotification - """ - - self._pager_duty = pager_duty - - @property - def slack(self): - """Gets the slack of this AdminNotification. # noqa: E501 - - - :return: The slack of this AdminNotification. # noqa: E501 - :rtype: AdminSlackNotification - """ - return self._slack - - @slack.setter - def slack(self, slack): - """Sets the slack of this AdminNotification. - - - :param slack: The slack of this AdminNotification. # noqa: E501 - :type: AdminSlackNotification - """ - - self._slack = slack - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py deleted file mode 100644 index 200a0b1fee..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_notification_list.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_notification import AdminNotification # noqa: F401,E501 - - -class AdminNotificationList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'notifications': 'list[AdminNotification]' - } - - attribute_map = { - 'notifications': 'notifications' - } - - def __init__(self, notifications=None): # noqa: E501 - """AdminNotificationList - a model defined in Swagger""" # noqa: E501 - - self._notifications = None - self.discriminator = None - - if notifications is not None: - self.notifications = notifications - - @property - def notifications(self): - """Gets the notifications of this AdminNotificationList. # noqa: E501 - - - :return: The notifications of this AdminNotificationList. # noqa: E501 - :rtype: list[AdminNotification] - """ - return self._notifications - - @notifications.setter - def notifications(self, notifications): - """Sets the notifications of this AdminNotificationList. - - - :param notifications: The notifications of this AdminNotificationList. # noqa: E501 - :type: list[AdminNotification] - """ - - self._notifications = notifications - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminNotificationList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminNotificationList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py deleted file mode 100644 index 4dccfa645d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_pager_duty_notification.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminPagerDutyNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'recipients_email': 'list[str]' - } - - attribute_map = { - 'recipients_email': 'recipients_email' - } - - def __init__(self, recipients_email=None): # noqa: E501 - """AdminPagerDutyNotification - a model defined in Swagger""" # noqa: E501 - - self._recipients_email = None - self.discriminator = None - - if recipients_email is not None: - self.recipients_email = recipients_email - - @property - def recipients_email(self): - """Gets the recipients_email of this AdminPagerDutyNotification. # noqa: E501 - - - :return: The recipients_email of this AdminPagerDutyNotification. # noqa: E501 - :rtype: list[str] - """ - return self._recipients_email - - @recipients_email.setter - def recipients_email(self, recipients_email): - """Sets the recipients_email of this AdminPagerDutyNotification. - - - :param recipients_email: The recipients_email of this AdminPagerDutyNotification. # noqa: E501 - :type: list[str] - """ - - self._recipients_email = recipients_email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminPagerDutyNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminPagerDutyNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py deleted file mode 100644 index b339f7c515..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_override.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior # noqa: F401,E501 - - -class AdminPluginOverride(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_type': 'str', - 'plugin_id': 'list[str]', - 'missing_plugin_behavior': 'PluginOverrideMissingPluginBehavior' - } - - attribute_map = { - 'task_type': 'task_type', - 'plugin_id': 'plugin_id', - 'missing_plugin_behavior': 'missing_plugin_behavior' - } - - def __init__(self, task_type=None, plugin_id=None, missing_plugin_behavior=None): # noqa: E501 - """AdminPluginOverride - a model defined in Swagger""" # noqa: E501 - - self._task_type = None - self._plugin_id = None - self._missing_plugin_behavior = None - self.discriminator = None - - if task_type is not None: - self.task_type = task_type - if plugin_id is not None: - self.plugin_id = plugin_id - if missing_plugin_behavior is not None: - self.missing_plugin_behavior = missing_plugin_behavior - - @property - def task_type(self): - """Gets the task_type of this AdminPluginOverride. # noqa: E501 - - A predefined yet extensible Task type identifier. # noqa: E501 - - :return: The task_type of this AdminPluginOverride. # noqa: E501 - :rtype: str - """ - return self._task_type - - @task_type.setter - def task_type(self, task_type): - """Sets the task_type of this AdminPluginOverride. - - A predefined yet extensible Task type identifier. # noqa: E501 - - :param task_type: The task_type of this AdminPluginOverride. # noqa: E501 - :type: str - """ - - self._task_type = task_type - - @property - def plugin_id(self): - """Gets the plugin_id of this AdminPluginOverride. # noqa: E501 - - A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. # noqa: E501 - - :return: The plugin_id of this AdminPluginOverride. # noqa: E501 - :rtype: list[str] - """ - return self._plugin_id - - @plugin_id.setter - def plugin_id(self, plugin_id): - """Sets the plugin_id of this AdminPluginOverride. - - A set of plugin ids which should handle tasks of this type instead of the default registered plugin. The list will be tried in order until a plugin is found with that id. # noqa: E501 - - :param plugin_id: The plugin_id of this AdminPluginOverride. # noqa: E501 - :type: list[str] - """ - - self._plugin_id = plugin_id - - @property - def missing_plugin_behavior(self): - """Gets the missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 - - Defines the behavior when no plugin from the plugin_id list is not found. # noqa: E501 - - :return: The missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 - :rtype: PluginOverrideMissingPluginBehavior - """ - return self._missing_plugin_behavior - - @missing_plugin_behavior.setter - def missing_plugin_behavior(self, missing_plugin_behavior): - """Sets the missing_plugin_behavior of this AdminPluginOverride. - - Defines the behavior when no plugin from the plugin_id list is not found. # noqa: E501 - - :param missing_plugin_behavior: The missing_plugin_behavior of this AdminPluginOverride. # noqa: E501 - :type: PluginOverrideMissingPluginBehavior - """ - - self._missing_plugin_behavior = missing_plugin_behavior - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminPluginOverride, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminPluginOverride): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py deleted file mode 100644 index 3831ab8d71..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_plugin_overrides.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_plugin_override import AdminPluginOverride # noqa: F401,E501 - - -class AdminPluginOverrides(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'overrides': 'list[AdminPluginOverride]' - } - - attribute_map = { - 'overrides': 'overrides' - } - - def __init__(self, overrides=None): # noqa: E501 - """AdminPluginOverrides - a model defined in Swagger""" # noqa: E501 - - self._overrides = None - self.discriminator = None - - if overrides is not None: - self.overrides = overrides - - @property - def overrides(self): - """Gets the overrides of this AdminPluginOverrides. # noqa: E501 - - - :return: The overrides of this AdminPluginOverrides. # noqa: E501 - :rtype: list[AdminPluginOverride] - """ - return self._overrides - - @overrides.setter - def overrides(self, overrides): - """Sets the overrides of this AdminPluginOverrides. - - - :param overrides: The overrides of this AdminPluginOverrides. # noqa: E501 - :type: list[AdminPluginOverride] - """ - - self._overrides = overrides - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminPluginOverrides, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminPluginOverrides): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py deleted file mode 100644 index 7e62124a77..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project.py +++ /dev/null @@ -1,283 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_domain import AdminDomain # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.project_project_state import ProjectProjectState # noqa: F401,E501 - - -class AdminProject(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'name': 'str', - 'domains': 'list[AdminDomain]', - 'description': 'str', - 'labels': 'AdminLabels', - 'state': 'ProjectProjectState', - 'org': 'str' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'domains': 'domains', - 'description': 'description', - 'labels': 'labels', - 'state': 'state', - 'org': 'org' - } - - def __init__(self, id=None, name=None, domains=None, description=None, labels=None, state=None, org=None): # noqa: E501 - """AdminProject - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._name = None - self._domains = None - self._description = None - self._labels = None - self._state = None - self._org = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if domains is not None: - self.domains = domains - if description is not None: - self.description = description - if labels is not None: - self.labels = labels - if state is not None: - self.state = state - if org is not None: - self.org = org - - @property - def id(self): - """Gets the id of this AdminProject. # noqa: E501 - - Globally unique project name. # noqa: E501 - - :return: The id of this AdminProject. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminProject. - - Globally unique project name. # noqa: E501 - - :param id: The id of this AdminProject. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def name(self): - """Gets the name of this AdminProject. # noqa: E501 - - Display name. # noqa: E501 - - :return: The name of this AdminProject. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AdminProject. - - Display name. # noqa: E501 - - :param name: The name of this AdminProject. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def domains(self): - """Gets the domains of this AdminProject. # noqa: E501 - - - :return: The domains of this AdminProject. # noqa: E501 - :rtype: list[AdminDomain] - """ - return self._domains - - @domains.setter - def domains(self, domains): - """Sets the domains of this AdminProject. - - - :param domains: The domains of this AdminProject. # noqa: E501 - :type: list[AdminDomain] - """ - - self._domains = domains - - @property - def description(self): - """Gets the description of this AdminProject. # noqa: E501 - - - :return: The description of this AdminProject. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this AdminProject. - - - :param description: The description of this AdminProject. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def labels(self): - """Gets the labels of this AdminProject. # noqa: E501 - - Leverage Labels from flyteidl.admin.common.proto to tag projects with ownership information. # noqa: E501 - - :return: The labels of this AdminProject. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminProject. - - Leverage Labels from flyteidl.admin.common.proto to tag projects with ownership information. # noqa: E501 - - :param labels: The labels of this AdminProject. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def state(self): - """Gets the state of this AdminProject. # noqa: E501 - - - :return: The state of this AdminProject. # noqa: E501 - :rtype: ProjectProjectState - """ - return self._state - - @state.setter - def state(self, state): - """Sets the state of this AdminProject. - - - :param state: The state of this AdminProject. # noqa: E501 - :type: ProjectProjectState - """ - - self._state = state - - @property - def org(self): - """Gets the org of this AdminProject. # noqa: E501 - - Optional, org key applied to the resource. # noqa: E501 - - :return: The org of this AdminProject. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminProject. - - Optional, org key applied to the resource. # noqa: E501 - - :param org: The org of this AdminProject. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProject, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes.py deleted file mode 100644 index c0c913f4fd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 - - -class AdminProjectAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'matching_attributes': 'AdminMatchingAttributes', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'matching_attributes': 'matching_attributes', - 'org': 'org' - } - - def __init__(self, project=None, matching_attributes=None, org=None): # noqa: E501 - """AdminProjectAttributes - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._matching_attributes = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if matching_attributes is not None: - self.matching_attributes = matching_attributes - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminProjectAttributes. # noqa: E501 - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :return: The project of this AdminProjectAttributes. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectAttributes. - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :param project: The project of this AdminProjectAttributes. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def matching_attributes(self): - """Gets the matching_attributes of this AdminProjectAttributes. # noqa: E501 - - - :return: The matching_attributes of this AdminProjectAttributes. # noqa: E501 - :rtype: AdminMatchingAttributes - """ - return self._matching_attributes - - @matching_attributes.setter - def matching_attributes(self, matching_attributes): - """Sets the matching_attributes of this AdminProjectAttributes. - - - :param matching_attributes: The matching_attributes of this AdminProjectAttributes. # noqa: E501 - :type: AdminMatchingAttributes - """ - - self._matching_attributes = matching_attributes - - @property - def org(self): - """Gets the org of this AdminProjectAttributes. # noqa: E501 - - Optional, org key applied to the project. # noqa: E501 - - :return: The org of this AdminProjectAttributes. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminProjectAttributes. - - Optional, org key applied to the project. # noqa: E501 - - :param org: The org of this AdminProjectAttributes. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_delete_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_delete_request.py deleted file mode 100644 index 439707074f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_delete_request.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: F401,E501 - - -class AdminProjectAttributesDeleteRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'resource_type': 'AdminMatchableResource', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'resource_type': 'resource_type', - 'org': 'org' - } - - def __init__(self, project=None, resource_type=None, org=None): # noqa: E501 - """AdminProjectAttributesDeleteRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._resource_type = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if resource_type is not None: - self.resource_type = resource_type - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminProjectAttributesDeleteRequest. # noqa: E501 - - - :return: The project of this AdminProjectAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectAttributesDeleteRequest. - - - :param project: The project of this AdminProjectAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def resource_type(self): - """Gets the resource_type of this AdminProjectAttributesDeleteRequest. # noqa: E501 - - - :return: The resource_type of this AdminProjectAttributesDeleteRequest. # noqa: E501 - :rtype: AdminMatchableResource - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminProjectAttributesDeleteRequest. - - - :param resource_type: The resource_type of this AdminProjectAttributesDeleteRequest. # noqa: E501 - :type: AdminMatchableResource - """ - - self._resource_type = resource_type - - @property - def org(self): - """Gets the org of this AdminProjectAttributesDeleteRequest. # noqa: E501 - - Optional, org key applied to the project. # noqa: E501 - - :return: The org of this AdminProjectAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminProjectAttributesDeleteRequest. - - Optional, org key applied to the project. # noqa: E501 - - :param org: The org of this AdminProjectAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectAttributesDeleteRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectAttributesDeleteRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_delete_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_delete_response.py deleted file mode 100644 index 209a2a9e77..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_delete_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectAttributesDeleteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectAttributesDeleteResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectAttributesDeleteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectAttributesDeleteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_get_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_get_response.py deleted file mode 100644 index 4f9491dc32..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_get_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project_attributes import AdminProjectAttributes # noqa: F401,E501 - - -class AdminProjectAttributesGetResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminProjectAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminProjectAttributesGetResponse - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminProjectAttributesGetResponse. # noqa: E501 - - - :return: The attributes of this AdminProjectAttributesGetResponse. # noqa: E501 - :rtype: AdminProjectAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminProjectAttributesGetResponse. - - - :param attributes: The attributes of this AdminProjectAttributesGetResponse. # noqa: E501 - :type: AdminProjectAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectAttributesGetResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectAttributesGetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_request.py deleted file mode 100644 index 2f177136d8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project_attributes import AdminProjectAttributes # noqa: F401,E501 - - -class AdminProjectAttributesUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminProjectAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminProjectAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminProjectAttributesUpdateRequest. # noqa: E501 - - - :return: The attributes of this AdminProjectAttributesUpdateRequest. # noqa: E501 - :rtype: AdminProjectAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminProjectAttributesUpdateRequest. - - - :param attributes: The attributes of this AdminProjectAttributesUpdateRequest. # noqa: E501 - :type: AdminProjectAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectAttributesUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectAttributesUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_response.py deleted file mode 100644 index dcaa484fbb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectAttributesUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectAttributesUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectAttributesUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py deleted file mode 100644 index 2a8abfe98e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 - - -class AdminProjectDomainAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'matching_attributes': 'AdminMatchingAttributes', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'matching_attributes': 'matching_attributes', - 'org': 'org' - } - - def __init__(self, project=None, domain=None, matching_attributes=None, org=None): # noqa: E501 - """AdminProjectDomainAttributes - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._matching_attributes = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if matching_attributes is not None: - self.matching_attributes = matching_attributes - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminProjectDomainAttributes. # noqa: E501 - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :return: The project of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectDomainAttributes. - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :param project: The project of this AdminProjectDomainAttributes. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminProjectDomainAttributes. # noqa: E501 - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :return: The domain of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminProjectDomainAttributes. - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :param domain: The domain of this AdminProjectDomainAttributes. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def matching_attributes(self): - """Gets the matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 - - - :return: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: AdminMatchingAttributes - """ - return self._matching_attributes - - @matching_attributes.setter - def matching_attributes(self, matching_attributes): - """Sets the matching_attributes of this AdminProjectDomainAttributes. - - - :param matching_attributes: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 - :type: AdminMatchingAttributes - """ - - self._matching_attributes = matching_attributes - - @property - def org(self): - """Gets the org of this AdminProjectDomainAttributes. # noqa: E501 - - Optional, org key applied to the attributes. # noqa: E501 - - :return: The org of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminProjectDomainAttributes. - - Optional, org key applied to the attributes. # noqa: E501 - - :param org: The org of this AdminProjectDomainAttributes. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py deleted file mode 100644 index bafad3aa40..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_request.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: F401,E501 - - -class AdminProjectDomainAttributesDeleteRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'resource_type': 'AdminMatchableResource', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'resource_type': 'resource_type', - 'org': 'org' - } - - def __init__(self, project=None, domain=None, resource_type=None, org=None): # noqa: E501 - """AdminProjectDomainAttributesDeleteRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._resource_type = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if resource_type is not None: - self.resource_type = resource_type - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - - - :return: The project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectDomainAttributesDeleteRequest. - - - :param project: The project of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - - - :return: The domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminProjectDomainAttributesDeleteRequest. - - - :param domain: The domain of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def resource_type(self): - """Gets the resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - - - :return: The resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :rtype: AdminMatchableResource - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminProjectDomainAttributesDeleteRequest. - - - :param resource_type: The resource_type of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :type: AdminMatchableResource - """ - - self._resource_type = resource_type - - @property - def org(self): - """Gets the org of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - - Optional, org key applied to the attributes. # noqa: E501 - - :return: The org of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminProjectDomainAttributesDeleteRequest. - - Optional, org key applied to the attributes. # noqa: E501 - - :param org: The org of this AdminProjectDomainAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesDeleteRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesDeleteRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py deleted file mode 100644 index 7226075a04..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_delete_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectDomainAttributesDeleteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectDomainAttributesDeleteResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesDeleteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesDeleteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py deleted file mode 100644 index e73d95a829..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_get_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: F401,E501 - - -class AdminProjectDomainAttributesGetResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminProjectDomainAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminProjectDomainAttributesGetResponse - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 - - - :return: The attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 - :rtype: AdminProjectDomainAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminProjectDomainAttributesGetResponse. - - - :param attributes: The attributes of this AdminProjectDomainAttributesGetResponse. # noqa: E501 - :type: AdminProjectDomainAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesGetResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesGetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py deleted file mode 100644 index 983e8d3ae4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: F401,E501 - - -class AdminProjectDomainAttributesUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminProjectDomainAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminProjectDomainAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 - - - :return: The attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 - :rtype: AdminProjectDomainAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminProjectDomainAttributesUpdateRequest. - - - :param attributes: The attributes of this AdminProjectDomainAttributesUpdateRequest. # noqa: E501 - :type: AdminProjectDomainAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py deleted file mode 100644 index aa2ed8327f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectDomainAttributesUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectDomainAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectDomainAttributesUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectDomainAttributesUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py deleted file mode 100644 index bbc2a0d94c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project import AdminProject # noqa: F401,E501 - - -class AdminProjectRegisterRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'AdminProject' - } - - attribute_map = { - 'project': 'project' - } - - def __init__(self, project=None): # noqa: E501 - """AdminProjectRegisterRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self.discriminator = None - - if project is not None: - self.project = project - - @property - def project(self): - """Gets the project of this AdminProjectRegisterRequest. # noqa: E501 - - - :return: The project of this AdminProjectRegisterRequest. # noqa: E501 - :rtype: AdminProject - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminProjectRegisterRequest. - - - :param project: The project of this AdminProjectRegisterRequest. # noqa: E501 - :type: AdminProject - """ - - self._project = project - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectRegisterRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectRegisterRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py deleted file mode 100644 index e6868b0516..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_register_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectRegisterResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectRegisterResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectRegisterResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectRegisterResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py deleted file mode 100644 index 4b48a4ac22..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminProjectUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminProjectUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjectUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjectUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py deleted file mode 100644 index cff2ec4084..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_projects.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_project import AdminProject # noqa: F401,E501 - - -class AdminProjects(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'projects': 'list[AdminProject]', - 'token': 'str' - } - - attribute_map = { - 'projects': 'projects', - 'token': 'token' - } - - def __init__(self, projects=None, token=None): # noqa: E501 - """AdminProjects - a model defined in Swagger""" # noqa: E501 - - self._projects = None - self._token = None - self.discriminator = None - - if projects is not None: - self.projects = projects - if token is not None: - self.token = token - - @property - def projects(self): - """Gets the projects of this AdminProjects. # noqa: E501 - - - :return: The projects of this AdminProjects. # noqa: E501 - :rtype: list[AdminProject] - """ - return self._projects - - @projects.setter - def projects(self, projects): - """Sets the projects of this AdminProjects. - - - :param projects: The projects of this AdminProjects. # noqa: E501 - :type: list[AdminProject] - """ - - self._projects = projects - - @property - def token(self): - """Gets the token of this AdminProjects. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminProjects. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminProjects. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminProjects. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminProjects, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminProjects): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py deleted file mode 100644 index 4d7e209660..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_raw_output_data_config.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminRawOutputDataConfig(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'output_location_prefix': 'str' - } - - attribute_map = { - 'output_location_prefix': 'output_location_prefix' - } - - def __init__(self, output_location_prefix=None): # noqa: E501 - """AdminRawOutputDataConfig - a model defined in Swagger""" # noqa: E501 - - self._output_location_prefix = None - self.discriminator = None - - if output_location_prefix is not None: - self.output_location_prefix = output_location_prefix - - @property - def output_location_prefix(self): - """Gets the output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 - - - :return: The output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 - :rtype: str - """ - return self._output_location_prefix - - @output_location_prefix.setter - def output_location_prefix(self, output_location_prefix): - """Sets the output_location_prefix of this AdminRawOutputDataConfig. - - - :param output_location_prefix: The output_location_prefix of this AdminRawOutputDataConfig. # noqa: E501 - :type: str - """ - - self._output_location_prefix = output_location_prefix - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminRawOutputDataConfig, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminRawOutputDataConfig): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_reason.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_reason.py deleted file mode 100644 index bf839c6b14..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_reason.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminReason(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'occurred_at': 'datetime', - 'message': 'str' - } - - attribute_map = { - 'occurred_at': 'occurred_at', - 'message': 'message' - } - - def __init__(self, occurred_at=None, message=None): # noqa: E501 - """AdminReason - a model defined in Swagger""" # noqa: E501 - - self._occurred_at = None - self._message = None - self.discriminator = None - - if occurred_at is not None: - self.occurred_at = occurred_at - if message is not None: - self.message = message - - @property - def occurred_at(self): - """Gets the occurred_at of this AdminReason. # noqa: E501 - - occurred_at is the timestamp indicating the instant that this reason happened. # noqa: E501 - - :return: The occurred_at of this AdminReason. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this AdminReason. - - occurred_at is the timestamp indicating the instant that this reason happened. # noqa: E501 - - :param occurred_at: The occurred_at of this AdminReason. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def message(self): - """Gets the message of this AdminReason. # noqa: E501 - - message is the explanation for the most recent phase transition or status update. # noqa: E501 - - :return: The message of this AdminReason. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this AdminReason. - - message is the explanation for the most recent phase transition or status update. # noqa: E501 - - :param message: The message of this AdminReason. # noqa: E501 - :type: str - """ - - self._message = message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminReason, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminReason): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py deleted file mode 100644 index 835766fa8b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_schedule.py +++ /dev/null @@ -1,198 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule # noqa: F401,E501 -from flyteadmin.models.admin_fixed_rate import AdminFixedRate # noqa: F401,E501 - - -class AdminSchedule(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cron_expression': 'str', - 'rate': 'AdminFixedRate', - 'cron_schedule': 'AdminCronSchedule', - 'kickoff_time_input_arg': 'str' - } - - attribute_map = { - 'cron_expression': 'cron_expression', - 'rate': 'rate', - 'cron_schedule': 'cron_schedule', - 'kickoff_time_input_arg': 'kickoff_time_input_arg' - } - - def __init__(self, cron_expression=None, rate=None, cron_schedule=None, kickoff_time_input_arg=None): # noqa: E501 - """AdminSchedule - a model defined in Swagger""" # noqa: E501 - - self._cron_expression = None - self._rate = None - self._cron_schedule = None - self._kickoff_time_input_arg = None - self.discriminator = None - - if cron_expression is not None: - self.cron_expression = cron_expression - if rate is not None: - self.rate = rate - if cron_schedule is not None: - self.cron_schedule = cron_schedule - if kickoff_time_input_arg is not None: - self.kickoff_time_input_arg = kickoff_time_input_arg - - @property - def cron_expression(self): - """Gets the cron_expression of this AdminSchedule. # noqa: E501 - - - :return: The cron_expression of this AdminSchedule. # noqa: E501 - :rtype: str - """ - return self._cron_expression - - @cron_expression.setter - def cron_expression(self, cron_expression): - """Sets the cron_expression of this AdminSchedule. - - - :param cron_expression: The cron_expression of this AdminSchedule. # noqa: E501 - :type: str - """ - - self._cron_expression = cron_expression - - @property - def rate(self): - """Gets the rate of this AdminSchedule. # noqa: E501 - - - :return: The rate of this AdminSchedule. # noqa: E501 - :rtype: AdminFixedRate - """ - return self._rate - - @rate.setter - def rate(self, rate): - """Sets the rate of this AdminSchedule. - - - :param rate: The rate of this AdminSchedule. # noqa: E501 - :type: AdminFixedRate - """ - - self._rate = rate - - @property - def cron_schedule(self): - """Gets the cron_schedule of this AdminSchedule. # noqa: E501 - - - :return: The cron_schedule of this AdminSchedule. # noqa: E501 - :rtype: AdminCronSchedule - """ - return self._cron_schedule - - @cron_schedule.setter - def cron_schedule(self, cron_schedule): - """Sets the cron_schedule of this AdminSchedule. - - - :param cron_schedule: The cron_schedule of this AdminSchedule. # noqa: E501 - :type: AdminCronSchedule - """ - - self._cron_schedule = cron_schedule - - @property - def kickoff_time_input_arg(self): - """Gets the kickoff_time_input_arg of this AdminSchedule. # noqa: E501 - - Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. # noqa: E501 - - :return: The kickoff_time_input_arg of this AdminSchedule. # noqa: E501 - :rtype: str - """ - return self._kickoff_time_input_arg - - @kickoff_time_input_arg.setter - def kickoff_time_input_arg(self, kickoff_time_input_arg): - """Sets the kickoff_time_input_arg of this AdminSchedule. - - Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off. # noqa: E501 - - :param kickoff_time_input_arg: The kickoff_time_input_arg of this AdminSchedule. # noqa: E501 - :type: str - """ - - self._kickoff_time_input_arg = kickoff_time_input_arg - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSchedule, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSchedule): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py deleted file mode 100644 index d282c7f687..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_slack_notification.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminSlackNotification(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'recipients_email': 'list[str]' - } - - attribute_map = { - 'recipients_email': 'recipients_email' - } - - def __init__(self, recipients_email=None): # noqa: E501 - """AdminSlackNotification - a model defined in Swagger""" # noqa: E501 - - self._recipients_email = None - self.discriminator = None - - if recipients_email is not None: - self.recipients_email = recipients_email - - @property - def recipients_email(self): - """Gets the recipients_email of this AdminSlackNotification. # noqa: E501 - - - :return: The recipients_email of this AdminSlackNotification. # noqa: E501 - :rtype: list[str] - """ - return self._recipients_email - - @recipients_email.setter - def recipients_email(self, recipients_email): - """Sets the recipients_email of this AdminSlackNotification. - - - :param recipients_email: The recipients_email of this AdminSlackNotification. # noqa: E501 - :type: list[str] - """ - - self._recipients_email = recipients_email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSlackNotification, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSlackNotification): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py deleted file mode 100644 index 98d6a62bc7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_sort.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.sort_direction import SortDirection # noqa: F401,E501 - - -class AdminSort(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'key': 'str', - 'direction': 'SortDirection' - } - - attribute_map = { - 'key': 'key', - 'direction': 'direction' - } - - def __init__(self, key=None, direction=None): # noqa: E501 - """AdminSort - a model defined in Swagger""" # noqa: E501 - - self._key = None - self._direction = None - self.discriminator = None - - if key is not None: - self.key = key - if direction is not None: - self.direction = direction - - @property - def key(self): - """Gets the key of this AdminSort. # noqa: E501 - - - :return: The key of this AdminSort. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this AdminSort. - - - :param key: The key of this AdminSort. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def direction(self): - """Gets the direction of this AdminSort. # noqa: E501 - - - :return: The direction of this AdminSort. # noqa: E501 - :rtype: SortDirection - """ - return self._direction - - @direction.setter - def direction(self, direction): - """Sets the direction of this AdminSort. - - - :param direction: The direction of this AdminSort. # noqa: E501 - :type: SortDirection - """ - - self._direction = direction - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSort, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSort): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_source_code.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_source_code.py deleted file mode 100644 index 4f96d6165f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_source_code.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminSourceCode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'link': 'str' - } - - attribute_map = { - 'link': 'link' - } - - def __init__(self, link=None): # noqa: E501 - """AdminSourceCode - a model defined in Swagger""" # noqa: E501 - - self._link = None - self.discriminator = None - - if link is not None: - self.link = link - - @property - def link(self): - """Gets the link of this AdminSourceCode. # noqa: E501 - - - :return: The link of this AdminSourceCode. # noqa: E501 - :rtype: str - """ - return self._link - - @link.setter - def link(self, link): - """Sets the link of this AdminSourceCode. - - - :param link: The link of this AdminSourceCode. # noqa: E501 - :type: str - """ - - self._link = link - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSourceCode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSourceCode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py deleted file mode 100644 index b5f2200a2f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_system_metadata.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminSystemMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_cluster': 'str', - 'namespace': 'str' - } - - attribute_map = { - 'execution_cluster': 'execution_cluster', - 'namespace': 'namespace' - } - - def __init__(self, execution_cluster=None, namespace=None): # noqa: E501 - """AdminSystemMetadata - a model defined in Swagger""" # noqa: E501 - - self._execution_cluster = None - self._namespace = None - self.discriminator = None - - if execution_cluster is not None: - self.execution_cluster = execution_cluster - if namespace is not None: - self.namespace = namespace - - @property - def execution_cluster(self): - """Gets the execution_cluster of this AdminSystemMetadata. # noqa: E501 - - Which execution cluster this execution ran on. # noqa: E501 - - :return: The execution_cluster of this AdminSystemMetadata. # noqa: E501 - :rtype: str - """ - return self._execution_cluster - - @execution_cluster.setter - def execution_cluster(self, execution_cluster): - """Sets the execution_cluster of this AdminSystemMetadata. - - Which execution cluster this execution ran on. # noqa: E501 - - :param execution_cluster: The execution_cluster of this AdminSystemMetadata. # noqa: E501 - :type: str - """ - - self._execution_cluster = execution_cluster - - @property - def namespace(self): - """Gets the namespace of this AdminSystemMetadata. # noqa: E501 - - Which kubernetes namespace the execution ran under. # noqa: E501 - - :return: The namespace of this AdminSystemMetadata. # noqa: E501 - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """Sets the namespace of this AdminSystemMetadata. - - Which kubernetes namespace the execution ran under. # noqa: E501 - - :param namespace: The namespace of this AdminSystemMetadata. # noqa: E501 - :type: str - """ - - self._namespace = namespace - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminSystemMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminSystemMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py deleted file mode 100644 index 11bc5e1cae..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_closure import AdminTaskClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminTask(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'closure': 'AdminTaskClosure', - 'short_description': 'str' - } - - attribute_map = { - 'id': 'id', - 'closure': 'closure', - 'short_description': 'short_description' - } - - def __init__(self, id=None, closure=None, short_description=None): # noqa: E501 - """AdminTask - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._closure = None - self._short_description = None - self.discriminator = None - - if id is not None: - self.id = id - if closure is not None: - self.closure = closure - if short_description is not None: - self.short_description = short_description - - @property - def id(self): - """Gets the id of this AdminTask. # noqa: E501 - - id represents the unique identifier of the task. # noqa: E501 - - :return: The id of this AdminTask. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminTask. - - id represents the unique identifier of the task. # noqa: E501 - - :param id: The id of this AdminTask. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def closure(self): - """Gets the closure of this AdminTask. # noqa: E501 - - closure encapsulates all the fields that maps to a compiled version of the task. # noqa: E501 - - :return: The closure of this AdminTask. # noqa: E501 - :rtype: AdminTaskClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminTask. - - closure encapsulates all the fields that maps to a compiled version of the task. # noqa: E501 - - :param closure: The closure of this AdminTask. # noqa: E501 - :type: AdminTaskClosure - """ - - self._closure = closure - - @property - def short_description(self): - """Gets the short_description of this AdminTask. # noqa: E501 - - One-liner overview of the entity. # noqa: E501 - - :return: The short_description of this AdminTask. # noqa: E501 - :rtype: str - """ - return self._short_description - - @short_description.setter - def short_description(self, short_description): - """Sets the short_description of this AdminTask. - - One-liner overview of the entity. # noqa: E501 - - :param short_description: The short_description of this AdminTask. # noqa: E501 - :type: str - """ - - self._short_description = short_description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTask, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTask): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py deleted file mode 100644 index d43a096309..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_closure.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: F401,E501 - - -class AdminTaskClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'compiled_task': 'CoreCompiledTask', - 'created_at': 'datetime' - } - - attribute_map = { - 'compiled_task': 'compiled_task', - 'created_at': 'created_at' - } - - def __init__(self, compiled_task=None, created_at=None): # noqa: E501 - """AdminTaskClosure - a model defined in Swagger""" # noqa: E501 - - self._compiled_task = None - self._created_at = None - self.discriminator = None - - if compiled_task is not None: - self.compiled_task = compiled_task - if created_at is not None: - self.created_at = created_at - - @property - def compiled_task(self): - """Gets the compiled_task of this AdminTaskClosure. # noqa: E501 - - Represents the compiled representation of the task from the specification provided. # noqa: E501 - - :return: The compiled_task of this AdminTaskClosure. # noqa: E501 - :rtype: CoreCompiledTask - """ - return self._compiled_task - - @compiled_task.setter - def compiled_task(self, compiled_task): - """Sets the compiled_task of this AdminTaskClosure. - - Represents the compiled representation of the task from the specification provided. # noqa: E501 - - :param compiled_task: The compiled_task of this AdminTaskClosure. # noqa: E501 - :type: CoreCompiledTask - """ - - self._compiled_task = compiled_task - - @property - def created_at(self): - """Gets the created_at of this AdminTaskClosure. # noqa: E501 - - Time at which the task was created. # noqa: E501 - - :return: The created_at of this AdminTaskClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminTaskClosure. - - Time at which the task was created. # noqa: E501 - - :param created_at: The created_at of this AdminTaskClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py deleted file mode 100644 index f008dc64b4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py +++ /dev/null @@ -1,517 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_reason import AdminReason # noqa: F401,E501 -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_task_execution_metadata import FlyteidleventTaskExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class AdminTaskExecutionClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'phase': 'CoreTaskExecutionPhase', - 'logs': 'list[CoreTaskLog]', - 'started_at': 'datetime', - 'duration': 'str', - 'created_at': 'datetime', - 'updated_at': 'datetime', - 'custom_info': 'ProtobufStruct', - 'reason': 'str', - 'task_type': 'str', - 'metadata': 'FlyteidleventTaskExecutionMetadata', - 'event_version': 'int', - 'reasons': 'list[AdminReason]' - } - - attribute_map = { - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'phase': 'phase', - 'logs': 'logs', - 'started_at': 'started_at', - 'duration': 'duration', - 'created_at': 'created_at', - 'updated_at': 'updated_at', - 'custom_info': 'custom_info', - 'reason': 'reason', - 'task_type': 'task_type', - 'metadata': 'metadata', - 'event_version': 'event_version', - 'reasons': 'reasons' - } - - def __init__(self, output_uri=None, error=None, output_data=None, phase=None, logs=None, started_at=None, duration=None, created_at=None, updated_at=None, custom_info=None, reason=None, task_type=None, metadata=None, event_version=None, reasons=None): # noqa: E501 - """AdminTaskExecutionClosure - a model defined in Swagger""" # noqa: E501 - - self._output_uri = None - self._error = None - self._output_data = None - self._phase = None - self._logs = None - self._started_at = None - self._duration = None - self._created_at = None - self._updated_at = None - self._custom_info = None - self._reason = None - self._task_type = None - self._metadata = None - self._event_version = None - self._reasons = None - self.discriminator = None - - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if phase is not None: - self.phase = phase - if logs is not None: - self.logs = logs - if started_at is not None: - self.started_at = started_at - if duration is not None: - self.duration = duration - if created_at is not None: - self.created_at = created_at - if updated_at is not None: - self.updated_at = updated_at - if custom_info is not None: - self.custom_info = custom_info - if reason is not None: - self.reason = reason - if task_type is not None: - self.task_type = task_type - if metadata is not None: - self.metadata = metadata - if event_version is not None: - self.event_version = event_version - if reasons is not None: - self.reasons = reasons - - @property - def output_uri(self): - """Gets the output_uri of this AdminTaskExecutionClosure. # noqa: E501 - - Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_uri of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this AdminTaskExecutionClosure. - - Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :param output_uri: The output_uri of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this AdminTaskExecutionClosure. # noqa: E501 - - Error information for the task execution. Populated if the execution failed. # noqa: E501 - - :return: The error of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this AdminTaskExecutionClosure. - - Error information for the task execution. Populated if the execution failed. # noqa: E501 - - :param error: The error of this AdminTaskExecutionClosure. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this AdminTaskExecutionClosure. # noqa: E501 - - Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :return: The output_data of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this AdminTaskExecutionClosure. - - Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead. # noqa: E501 - - :param output_data: The output_data of this AdminTaskExecutionClosure. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def phase(self): - """Gets the phase of this AdminTaskExecutionClosure. # noqa: E501 - - The last recorded phase for this task execution. # noqa: E501 - - :return: The phase of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: CoreTaskExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this AdminTaskExecutionClosure. - - The last recorded phase for this task execution. # noqa: E501 - - :param phase: The phase of this AdminTaskExecutionClosure. # noqa: E501 - :type: CoreTaskExecutionPhase - """ - - self._phase = phase - - @property - def logs(self): - """Gets the logs of this AdminTaskExecutionClosure. # noqa: E501 - - Detailed log information output by the task execution. # noqa: E501 - - :return: The logs of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: list[CoreTaskLog] - """ - return self._logs - - @logs.setter - def logs(self, logs): - """Sets the logs of this AdminTaskExecutionClosure. - - Detailed log information output by the task execution. # noqa: E501 - - :param logs: The logs of this AdminTaskExecutionClosure. # noqa: E501 - :type: list[CoreTaskLog] - """ - - self._logs = logs - - @property - def started_at(self): - """Gets the started_at of this AdminTaskExecutionClosure. # noqa: E501 - - Time at which the task execution began running. # noqa: E501 - - :return: The started_at of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._started_at - - @started_at.setter - def started_at(self, started_at): - """Sets the started_at of this AdminTaskExecutionClosure. - - Time at which the task execution began running. # noqa: E501 - - :param started_at: The started_at of this AdminTaskExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._started_at = started_at - - @property - def duration(self): - """Gets the duration of this AdminTaskExecutionClosure. # noqa: E501 - - The amount of time the task execution spent running. # noqa: E501 - - :return: The duration of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this AdminTaskExecutionClosure. - - The amount of time the task execution spent running. # noqa: E501 - - :param duration: The duration of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._duration = duration - - @property - def created_at(self): - """Gets the created_at of this AdminTaskExecutionClosure. # noqa: E501 - - Time at which the task execution was created. # noqa: E501 - - :return: The created_at of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminTaskExecutionClosure. - - Time at which the task execution was created. # noqa: E501 - - :param created_at: The created_at of this AdminTaskExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this AdminTaskExecutionClosure. # noqa: E501 - - Time at which the task execution was last updated. # noqa: E501 - - :return: The updated_at of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this AdminTaskExecutionClosure. - - Time at which the task execution was last updated. # noqa: E501 - - :param updated_at: The updated_at of this AdminTaskExecutionClosure. # noqa: E501 - :type: datetime - """ - - self._updated_at = updated_at - - @property - def custom_info(self): - """Gets the custom_info of this AdminTaskExecutionClosure. # noqa: E501 - - Custom data specific to the task plugin. # noqa: E501 - - :return: The custom_info of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._custom_info - - @custom_info.setter - def custom_info(self, custom_info): - """Sets the custom_info of this AdminTaskExecutionClosure. - - Custom data specific to the task plugin. # noqa: E501 - - :param custom_info: The custom_info of this AdminTaskExecutionClosure. # noqa: E501 - :type: ProtobufStruct - """ - - self._custom_info = custom_info - - @property - def reason(self): - """Gets the reason of this AdminTaskExecutionClosure. # noqa: E501 - - If there is an explanation for the most recent phase transition, the reason will capture it. # noqa: E501 - - :return: The reason of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this AdminTaskExecutionClosure. - - If there is an explanation for the most recent phase transition, the reason will capture it. # noqa: E501 - - :param reason: The reason of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._reason = reason - - @property - def task_type(self): - """Gets the task_type of this AdminTaskExecutionClosure. # noqa: E501 - - A predefined yet extensible Task type identifier. # noqa: E501 - - :return: The task_type of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: str - """ - return self._task_type - - @task_type.setter - def task_type(self, task_type): - """Sets the task_type of this AdminTaskExecutionClosure. - - A predefined yet extensible Task type identifier. # noqa: E501 - - :param task_type: The task_type of this AdminTaskExecutionClosure. # noqa: E501 - :type: str - """ - - self._task_type = task_type - - @property - def metadata(self): - """Gets the metadata of this AdminTaskExecutionClosure. # noqa: E501 - - Metadata around how a task was executed. # noqa: E501 - - :return: The metadata of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: FlyteidleventTaskExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this AdminTaskExecutionClosure. - - Metadata around how a task was executed. # noqa: E501 - - :param metadata: The metadata of this AdminTaskExecutionClosure. # noqa: E501 - :type: FlyteidleventTaskExecutionMetadata - """ - - self._metadata = metadata - - @property - def event_version(self): - """Gets the event_version of this AdminTaskExecutionClosure. # noqa: E501 - - The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :return: The event_version of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: int - """ - return self._event_version - - @event_version.setter - def event_version(self, event_version): - """Sets the event_version of this AdminTaskExecutionClosure. - - The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :param event_version: The event_version of this AdminTaskExecutionClosure. # noqa: E501 - :type: int - """ - - self._event_version = event_version - - @property - def reasons(self): - """Gets the reasons of this AdminTaskExecutionClosure. # noqa: E501 - - A time-series of the phase transition or update explanations. This, when compared to storing a singular reason as previously done, is much more valuable in visualizing and understanding historical evaluations. # noqa: E501 - - :return: The reasons of this AdminTaskExecutionClosure. # noqa: E501 - :rtype: list[AdminReason] - """ - return self._reasons - - @reasons.setter - def reasons(self, reasons): - """Sets the reasons of this AdminTaskExecutionClosure. - - A time-series of the phase transition or update explanations. This, when compared to storing a singular reason as previously done, is much more valuable in visualizing and understanding historical evaluations. # noqa: E501 - - :param reasons: The reasons of this AdminTaskExecutionClosure. # noqa: E501 - :type: list[AdminReason] - """ - - self._reasons = reasons - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py deleted file mode 100644 index d8d650d41d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent # noqa: F401,E501 - - -class AdminTaskExecutionEventRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'request_id': 'str', - 'event': 'EventTaskExecutionEvent' - } - - attribute_map = { - 'request_id': 'request_id', - 'event': 'event' - } - - def __init__(self, request_id=None, event=None): # noqa: E501 - """AdminTaskExecutionEventRequest - a model defined in Swagger""" # noqa: E501 - - self._request_id = None - self._event = None - self.discriminator = None - - if request_id is not None: - self.request_id = request_id - if event is not None: - self.event = event - - @property - def request_id(self): - """Gets the request_id of this AdminTaskExecutionEventRequest. # noqa: E501 - - - :return: The request_id of this AdminTaskExecutionEventRequest. # noqa: E501 - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AdminTaskExecutionEventRequest. - - - :param request_id: The request_id of this AdminTaskExecutionEventRequest. # noqa: E501 - :type: str - """ - - self._request_id = request_id - - @property - def event(self): - """Gets the event of this AdminTaskExecutionEventRequest. # noqa: E501 - - Details about the event that occurred. # noqa: E501 - - :return: The event of this AdminTaskExecutionEventRequest. # noqa: E501 - :rtype: EventTaskExecutionEvent - """ - return self._event - - @event.setter - def event(self, event): - """Sets the event of this AdminTaskExecutionEventRequest. - - Details about the event that occurred. # noqa: E501 - - :param event: The event of this AdminTaskExecutionEventRequest. # noqa: E501 - :type: EventTaskExecutionEvent - """ - - self._event = event - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionEventRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionEventRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py deleted file mode 100644 index 9e8bd3882a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_event_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminTaskExecutionEventResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminTaskExecutionEventResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionEventResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionEventResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py deleted file mode 100644 index fb095426c9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs # noqa: F401,E501 -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminTaskExecutionGetDataResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'inputs': 'AdminUrlBlob', - 'outputs': 'AdminUrlBlob', - 'full_inputs': 'CoreLiteralMap', - 'full_outputs': 'CoreLiteralMap', - 'flyte_urls': 'AdminFlyteURLs' - } - - attribute_map = { - 'inputs': 'inputs', - 'outputs': 'outputs', - 'full_inputs': 'full_inputs', - 'full_outputs': 'full_outputs', - 'flyte_urls': 'flyte_urls' - } - - def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None, flyte_urls=None): # noqa: E501 - """AdminTaskExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 - - self._inputs = None - self._outputs = None - self._full_inputs = None - self._full_outputs = None - self._flyte_urls = None - self.discriminator = None - - if inputs is not None: - self.inputs = inputs - if outputs is not None: - self.outputs = outputs - if full_inputs is not None: - self.full_inputs = full_inputs - if full_outputs is not None: - self.full_outputs = full_outputs - if flyte_urls is not None: - self.flyte_urls = flyte_urls - - @property - def inputs(self): - """Gets the inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :return: The inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminTaskExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of task execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :param inputs: The inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._inputs = inputs - - @property - def outputs(self): - """Gets the outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :return: The outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminTaskExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of task execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :param outputs: The outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._outputs = outputs - - @property - def full_inputs(self): - """Gets the full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_inputs - - @full_inputs.setter - def full_inputs(self, full_inputs): - """Sets the full_inputs of this AdminTaskExecutionGetDataResponse. - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_inputs: The full_inputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_inputs = full_inputs - - @property - def full_outputs(self): - """Gets the full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_outputs - - @full_outputs.setter - def full_outputs(self, full_outputs): - """Sets the full_outputs of this AdminTaskExecutionGetDataResponse. - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_outputs: The full_outputs of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_outputs = full_outputs - - @property - def flyte_urls(self): - """Gets the flyte_urls of this AdminTaskExecutionGetDataResponse. # noqa: E501 - - - :return: The flyte_urls of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :rtype: AdminFlyteURLs - """ - return self._flyte_urls - - @flyte_urls.setter - def flyte_urls(self, flyte_urls): - """Sets the flyte_urls of this AdminTaskExecutionGetDataResponse. - - - :param flyte_urls: The flyte_urls of this AdminTaskExecutionGetDataResponse. # noqa: E501 - :type: AdminFlyteURLs - """ - - self._flyte_urls = flyte_urls - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionGetDataResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionGetDataResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py deleted file mode 100644 index 4c3a8e7c1d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_list.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution # noqa: F401,E501 - - -class AdminTaskExecutionList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_executions': 'list[FlyteidladminTaskExecution]', - 'token': 'str' - } - - attribute_map = { - 'task_executions': 'task_executions', - 'token': 'token' - } - - def __init__(self, task_executions=None, token=None): # noqa: E501 - """AdminTaskExecutionList - a model defined in Swagger""" # noqa: E501 - - self._task_executions = None - self._token = None - self.discriminator = None - - if task_executions is not None: - self.task_executions = task_executions - if token is not None: - self.token = token - - @property - def task_executions(self): - """Gets the task_executions of this AdminTaskExecutionList. # noqa: E501 - - - :return: The task_executions of this AdminTaskExecutionList. # noqa: E501 - :rtype: list[FlyteidladminTaskExecution] - """ - return self._task_executions - - @task_executions.setter - def task_executions(self, task_executions): - """Sets the task_executions of this AdminTaskExecutionList. - - - :param task_executions: The task_executions of this AdminTaskExecutionList. # noqa: E501 - :type: list[FlyteidladminTaskExecution] - """ - - self._task_executions = task_executions - - @property - def token(self): - """Gets the token of this AdminTaskExecutionList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminTaskExecutionList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminTaskExecutionList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminTaskExecutionList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskExecutionList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskExecutionList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py deleted file mode 100644 index ea9212b92b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_list.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task import AdminTask # noqa: F401,E501 - - -class AdminTaskList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tasks': 'list[AdminTask]', - 'token': 'str' - } - - attribute_map = { - 'tasks': 'tasks', - 'token': 'token' - } - - def __init__(self, tasks=None, token=None): # noqa: E501 - """AdminTaskList - a model defined in Swagger""" # noqa: E501 - - self._tasks = None - self._token = None - self.discriminator = None - - if tasks is not None: - self.tasks = tasks - if token is not None: - self.token = token - - @property - def tasks(self): - """Gets the tasks of this AdminTaskList. # noqa: E501 - - A list of tasks returned based on the request. # noqa: E501 - - :return: The tasks of this AdminTaskList. # noqa: E501 - :rtype: list[AdminTask] - """ - return self._tasks - - @tasks.setter - def tasks(self, tasks): - """Sets the tasks of this AdminTaskList. - - A list of tasks returned based on the request. # noqa: E501 - - :param tasks: The tasks of this AdminTaskList. # noqa: E501 - :type: list[AdminTask] - """ - - self._tasks = tasks - - @property - def token(self): - """Gets the token of this AdminTaskList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminTaskList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminTaskList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminTaskList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py deleted file mode 100644 index 664761775f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: F401,E501 - - -class AdminTaskResourceAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'defaults': 'AdminTaskResourceSpec', - 'limits': 'AdminTaskResourceSpec' - } - - attribute_map = { - 'defaults': 'defaults', - 'limits': 'limits' - } - - def __init__(self, defaults=None, limits=None): # noqa: E501 - """AdminTaskResourceAttributes - a model defined in Swagger""" # noqa: E501 - - self._defaults = None - self._limits = None - self.discriminator = None - - if defaults is not None: - self.defaults = defaults - if limits is not None: - self.limits = limits - - @property - def defaults(self): - """Gets the defaults of this AdminTaskResourceAttributes. # noqa: E501 - - - :return: The defaults of this AdminTaskResourceAttributes. # noqa: E501 - :rtype: AdminTaskResourceSpec - """ - return self._defaults - - @defaults.setter - def defaults(self, defaults): - """Sets the defaults of this AdminTaskResourceAttributes. - - - :param defaults: The defaults of this AdminTaskResourceAttributes. # noqa: E501 - :type: AdminTaskResourceSpec - """ - - self._defaults = defaults - - @property - def limits(self): - """Gets the limits of this AdminTaskResourceAttributes. # noqa: E501 - - - :return: The limits of this AdminTaskResourceAttributes. # noqa: E501 - :rtype: AdminTaskResourceSpec - """ - return self._limits - - @limits.setter - def limits(self, limits): - """Sets the limits of this AdminTaskResourceAttributes. - - - :param limits: The limits of this AdminTaskResourceAttributes. # noqa: E501 - :type: AdminTaskResourceSpec - """ - - self._limits = limits - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskResourceAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskResourceAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py deleted file mode 100644 index 1b13a28ec2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminTaskResourceSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cpu': 'str', - 'gpu': 'str', - 'memory': 'str', - 'storage': 'str', - 'ephemeral_storage': 'str' - } - - attribute_map = { - 'cpu': 'cpu', - 'gpu': 'gpu', - 'memory': 'memory', - 'storage': 'storage', - 'ephemeral_storage': 'ephemeral_storage' - } - - def __init__(self, cpu=None, gpu=None, memory=None, storage=None, ephemeral_storage=None): # noqa: E501 - """AdminTaskResourceSpec - a model defined in Swagger""" # noqa: E501 - - self._cpu = None - self._gpu = None - self._memory = None - self._storage = None - self._ephemeral_storage = None - self.discriminator = None - - if cpu is not None: - self.cpu = cpu - if gpu is not None: - self.gpu = gpu - if memory is not None: - self.memory = memory - if storage is not None: - self.storage = storage - if ephemeral_storage is not None: - self.ephemeral_storage = ephemeral_storage - - @property - def cpu(self): - """Gets the cpu of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The cpu of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._cpu - - @cpu.setter - def cpu(self, cpu): - """Sets the cpu of this AdminTaskResourceSpec. - - - :param cpu: The cpu of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._cpu = cpu - - @property - def gpu(self): - """Gets the gpu of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The gpu of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._gpu - - @gpu.setter - def gpu(self, gpu): - """Sets the gpu of this AdminTaskResourceSpec. - - - :param gpu: The gpu of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._gpu = gpu - - @property - def memory(self): - """Gets the memory of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The memory of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._memory - - @memory.setter - def memory(self, memory): - """Sets the memory of this AdminTaskResourceSpec. - - - :param memory: The memory of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._memory = memory - - @property - def storage(self): - """Gets the storage of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The storage of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._storage - - @storage.setter - def storage(self, storage): - """Sets the storage of this AdminTaskResourceSpec. - - - :param storage: The storage of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._storage = storage - - @property - def ephemeral_storage(self): - """Gets the ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 - - - :return: The ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 - :rtype: str - """ - return self._ephemeral_storage - - @ephemeral_storage.setter - def ephemeral_storage(self, ephemeral_storage): - """Sets the ephemeral_storage of this AdminTaskResourceSpec. - - - :param ephemeral_storage: The ephemeral_storage of this AdminTaskResourceSpec. # noqa: E501 - :type: str - """ - - self._ephemeral_storage = ephemeral_storage - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskResourceSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskResourceSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py deleted file mode 100644 index 36beba2ffe..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_spec.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_description_entity import AdminDescriptionEntity # noqa: F401,E501 -from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: F401,E501 - - -class AdminTaskSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreTaskTemplate', - 'description': 'AdminDescriptionEntity' - } - - attribute_map = { - 'template': 'template', - 'description': 'description' - } - - def __init__(self, template=None, description=None): # noqa: E501 - """AdminTaskSpec - a model defined in Swagger""" # noqa: E501 - - self._template = None - self._description = None - self.discriminator = None - - if template is not None: - self.template = template - if description is not None: - self.description = description - - @property - def template(self): - """Gets the template of this AdminTaskSpec. # noqa: E501 - - Template of the task that encapsulates all the metadata of the task. # noqa: E501 - - :return: The template of this AdminTaskSpec. # noqa: E501 - :rtype: CoreTaskTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this AdminTaskSpec. - - Template of the task that encapsulates all the metadata of the task. # noqa: E501 - - :param template: The template of this AdminTaskSpec. # noqa: E501 - :type: CoreTaskTemplate - """ - - self._template = template - - @property - def description(self): - """Gets the description of this AdminTaskSpec. # noqa: E501 - - Represents the specification for description entity. # noqa: E501 - - :return: The description of this AdminTaskSpec. # noqa: E501 - :rtype: AdminDescriptionEntity - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this AdminTaskSpec. - - Represents the specification for description entity. # noqa: E501 - - :param description: The description of this AdminTaskSpec. # noqa: E501 - :type: AdminDescriptionEntity - """ - - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminTaskSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py deleted file mode 100644 index 7d0bb6ef92..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_url_blob.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminUrlBlob(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'url': 'str', - 'bytes': 'str' - } - - attribute_map = { - 'url': 'url', - 'bytes': 'bytes' - } - - def __init__(self, url=None, bytes=None): # noqa: E501 - """AdminUrlBlob - a model defined in Swagger""" # noqa: E501 - - self._url = None - self._bytes = None - self.discriminator = None - - if url is not None: - self.url = url - if bytes is not None: - self.bytes = bytes - - @property - def url(self): - """Gets the url of this AdminUrlBlob. # noqa: E501 - - Actual url value. # noqa: E501 - - :return: The url of this AdminUrlBlob. # noqa: E501 - :rtype: str - """ - return self._url - - @url.setter - def url(self, url): - """Sets the url of this AdminUrlBlob. - - Actual url value. # noqa: E501 - - :param url: The url of this AdminUrlBlob. # noqa: E501 - :type: str - """ - - self._url = url - - @property - def bytes(self): - """Gets the bytes of this AdminUrlBlob. # noqa: E501 - - Represents the size of the file accessible at the above url. # noqa: E501 - - :return: The bytes of this AdminUrlBlob. # noqa: E501 - :rtype: str - """ - return self._bytes - - @bytes.setter - def bytes(self, bytes): - """Sets the bytes of this AdminUrlBlob. - - Represents the size of the file accessible at the above url. # noqa: E501 - - :param bytes: The bytes of this AdminUrlBlob. # noqa: E501 - :type: str - """ - - self._bytes = bytes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminUrlBlob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminUrlBlob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py deleted file mode 100644 index bdbad41bb1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_version.py +++ /dev/null @@ -1,167 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminVersion(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'build': 'str', - 'version': 'str', - 'build_time': 'str' - } - - attribute_map = { - 'build': 'Build', - 'version': 'Version', - 'build_time': 'BuildTime' - } - - def __init__(self, build=None, version=None, build_time=None): # noqa: E501 - """AdminVersion - a model defined in Swagger""" # noqa: E501 - - self._build = None - self._version = None - self._build_time = None - self.discriminator = None - - if build is not None: - self.build = build - if version is not None: - self.version = version - if build_time is not None: - self.build_time = build_time - - @property - def build(self): - """Gets the build of this AdminVersion. # noqa: E501 - - - :return: The build of this AdminVersion. # noqa: E501 - :rtype: str - """ - return self._build - - @build.setter - def build(self, build): - """Sets the build of this AdminVersion. - - - :param build: The build of this AdminVersion. # noqa: E501 - :type: str - """ - - self._build = build - - @property - def version(self): - """Gets the version of this AdminVersion. # noqa: E501 - - - :return: The version of this AdminVersion. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this AdminVersion. - - - :param version: The version of this AdminVersion. # noqa: E501 - :type: str - """ - - self._version = version - - @property - def build_time(self): - """Gets the build_time of this AdminVersion. # noqa: E501 - - - :return: The build_time of this AdminVersion. # noqa: E501 - :rtype: str - """ - return self._build_time - - @build_time.setter - def build_time(self, build_time): - """Sets the build_time of this AdminVersion. - - - :param build_time: The build_time of this AdminVersion. # noqa: E501 - :type: str - """ - - self._build_time = build_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminVersion, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminVersion): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py deleted file mode 100644 index 3b744bb0f7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminWorkflow(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'closure': 'AdminWorkflowClosure', - 'short_description': 'str' - } - - attribute_map = { - 'id': 'id', - 'closure': 'closure', - 'short_description': 'short_description' - } - - def __init__(self, id=None, closure=None, short_description=None): # noqa: E501 - """AdminWorkflow - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._closure = None - self._short_description = None - self.discriminator = None - - if id is not None: - self.id = id - if closure is not None: - self.closure = closure - if short_description is not None: - self.short_description = short_description - - @property - def id(self): - """Gets the id of this AdminWorkflow. # noqa: E501 - - id represents the unique identifier of the workflow. # noqa: E501 - - :return: The id of this AdminWorkflow. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminWorkflow. - - id represents the unique identifier of the workflow. # noqa: E501 - - :param id: The id of this AdminWorkflow. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def closure(self): - """Gets the closure of this AdminWorkflow. # noqa: E501 - - closure encapsulates all the fields that maps to a compiled version of the workflow. # noqa: E501 - - :return: The closure of this AdminWorkflow. # noqa: E501 - :rtype: AdminWorkflowClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this AdminWorkflow. - - closure encapsulates all the fields that maps to a compiled version of the workflow. # noqa: E501 - - :param closure: The closure of this AdminWorkflow. # noqa: E501 - :type: AdminWorkflowClosure - """ - - self._closure = closure - - @property - def short_description(self): - """Gets the short_description of this AdminWorkflow. # noqa: E501 - - One-liner overview of the entity. # noqa: E501 - - :return: The short_description of this AdminWorkflow. # noqa: E501 - :rtype: str - """ - return self._short_description - - @short_description.setter - def short_description(self, short_description): - """Sets the short_description of this AdminWorkflow. - - One-liner overview of the entity. # noqa: E501 - - :param short_description: The short_description of this AdminWorkflow. # noqa: E501 - :type: str - """ - - self._short_description = short_description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflow, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflow): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py deleted file mode 100644 index 4add43a463..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py +++ /dev/null @@ -1,229 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 - - -class AdminWorkflowAttributes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'workflow': 'str', - 'matching_attributes': 'AdminMatchingAttributes', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'workflow': 'workflow', - 'matching_attributes': 'matching_attributes', - 'org': 'org' - } - - def __init__(self, project=None, domain=None, workflow=None, matching_attributes=None, org=None): # noqa: E501 - """AdminWorkflowAttributes - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._workflow = None - self._matching_attributes = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if workflow is not None: - self.workflow = workflow - if matching_attributes is not None: - self.matching_attributes = matching_attributes - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminWorkflowAttributes. # noqa: E501 - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :return: The project of this AdminWorkflowAttributes. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminWorkflowAttributes. - - Unique project id for which this set of attributes will be applied. # noqa: E501 - - :param project: The project of this AdminWorkflowAttributes. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminWorkflowAttributes. # noqa: E501 - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :return: The domain of this AdminWorkflowAttributes. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminWorkflowAttributes. - - Unique domain id for which this set of attributes will be applied. # noqa: E501 - - :param domain: The domain of this AdminWorkflowAttributes. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def workflow(self): - """Gets the workflow of this AdminWorkflowAttributes. # noqa: E501 - - Workflow name for which this set of attributes will be applied. # noqa: E501 - - :return: The workflow of this AdminWorkflowAttributes. # noqa: E501 - :rtype: str - """ - return self._workflow - - @workflow.setter - def workflow(self, workflow): - """Sets the workflow of this AdminWorkflowAttributes. - - Workflow name for which this set of attributes will be applied. # noqa: E501 - - :param workflow: The workflow of this AdminWorkflowAttributes. # noqa: E501 - :type: str - """ - - self._workflow = workflow - - @property - def matching_attributes(self): - """Gets the matching_attributes of this AdminWorkflowAttributes. # noqa: E501 - - - :return: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 - :rtype: AdminMatchingAttributes - """ - return self._matching_attributes - - @matching_attributes.setter - def matching_attributes(self, matching_attributes): - """Sets the matching_attributes of this AdminWorkflowAttributes. - - - :param matching_attributes: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 - :type: AdminMatchingAttributes - """ - - self._matching_attributes = matching_attributes - - @property - def org(self): - """Gets the org of this AdminWorkflowAttributes. # noqa: E501 - - Optional, org key applied to the attributes. # noqa: E501 - - :return: The org of this AdminWorkflowAttributes. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminWorkflowAttributes. - - Optional, org key applied to the attributes. # noqa: E501 - - :param org: The org of this AdminWorkflowAttributes. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py deleted file mode 100644 index 445583cf96..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_request.py +++ /dev/null @@ -1,223 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: F401,E501 - - -class AdminWorkflowAttributesDeleteRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'workflow': 'str', - 'resource_type': 'AdminMatchableResource', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'workflow': 'workflow', - 'resource_type': 'resource_type', - 'org': 'org' - } - - def __init__(self, project=None, domain=None, workflow=None, resource_type=None, org=None): # noqa: E501 - """AdminWorkflowAttributesDeleteRequest - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._workflow = None - self._resource_type = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if workflow is not None: - self.workflow = workflow - if resource_type is not None: - self.resource_type = resource_type - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this AdminWorkflowAttributesDeleteRequest. - - - :param project: The project of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this AdminWorkflowAttributesDeleteRequest. - - - :param domain: The domain of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def workflow(self): - """Gets the workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._workflow - - @workflow.setter - def workflow(self, workflow): - """Sets the workflow of this AdminWorkflowAttributesDeleteRequest. - - - :param workflow: The workflow of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._workflow = workflow - - @property - def resource_type(self): - """Gets the resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - - :return: The resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: AdminMatchableResource - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this AdminWorkflowAttributesDeleteRequest. - - - :param resource_type: The resource_type of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: AdminMatchableResource - """ - - self._resource_type = resource_type - - @property - def org(self): - """Gets the org of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - - Optional, org key applied to the attributes. # noqa: E501 - - :return: The org of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this AdminWorkflowAttributesDeleteRequest. - - Optional, org key applied to the attributes. # noqa: E501 - - :param org: The org of this AdminWorkflowAttributesDeleteRequest. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesDeleteRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesDeleteRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py deleted file mode 100644 index 7d2f277cbf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_delete_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowAttributesDeleteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowAttributesDeleteResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesDeleteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesDeleteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py deleted file mode 100644 index 6d0b4971d4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_get_response.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: F401,E501 - - -class AdminWorkflowAttributesGetResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminWorkflowAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminWorkflowAttributesGetResponse - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 - - - :return: The attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 - :rtype: AdminWorkflowAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminWorkflowAttributesGetResponse. - - - :param attributes: The attributes of this AdminWorkflowAttributesGetResponse. # noqa: E501 - :type: AdminWorkflowAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesGetResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesGetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py deleted file mode 100644 index 2f5ae0956b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: F401,E501 - - -class AdminWorkflowAttributesUpdateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attributes': 'AdminWorkflowAttributes' - } - - attribute_map = { - 'attributes': 'attributes' - } - - def __init__(self, attributes=None): # noqa: E501 - """AdminWorkflowAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 - - self._attributes = None - self.discriminator = None - - if attributes is not None: - self.attributes = attributes - - @property - def attributes(self): - """Gets the attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 - - - :return: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 - :rtype: AdminWorkflowAttributes - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminWorkflowAttributesUpdateRequest. - - - :param attributes: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 - :type: AdminWorkflowAttributes - """ - - self._attributes = attributes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesUpdateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesUpdateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py deleted file mode 100644 index 871461df54..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowAttributesUpdateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowAttributesUpdateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowAttributesUpdateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py deleted file mode 100644 index 41b674b65e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_closure.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 - - -class AdminWorkflowClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'compiled_workflow': 'CoreCompiledWorkflowClosure', - 'created_at': 'datetime' - } - - attribute_map = { - 'compiled_workflow': 'compiled_workflow', - 'created_at': 'created_at' - } - - def __init__(self, compiled_workflow=None, created_at=None): # noqa: E501 - """AdminWorkflowClosure - a model defined in Swagger""" # noqa: E501 - - self._compiled_workflow = None - self._created_at = None - self.discriminator = None - - if compiled_workflow is not None: - self.compiled_workflow = compiled_workflow - if created_at is not None: - self.created_at = created_at - - @property - def compiled_workflow(self): - """Gets the compiled_workflow of this AdminWorkflowClosure. # noqa: E501 - - Represents the compiled representation of the workflow from the specification provided. # noqa: E501 - - :return: The compiled_workflow of this AdminWorkflowClosure. # noqa: E501 - :rtype: CoreCompiledWorkflowClosure - """ - return self._compiled_workflow - - @compiled_workflow.setter - def compiled_workflow(self, compiled_workflow): - """Sets the compiled_workflow of this AdminWorkflowClosure. - - Represents the compiled representation of the workflow from the specification provided. # noqa: E501 - - :param compiled_workflow: The compiled_workflow of this AdminWorkflowClosure. # noqa: E501 - :type: CoreCompiledWorkflowClosure - """ - - self._compiled_workflow = compiled_workflow - - @property - def created_at(self): - """Gets the created_at of this AdminWorkflowClosure. # noqa: E501 - - Time at which the workflow was created. # noqa: E501 - - :return: The created_at of this AdminWorkflowClosure. # noqa: E501 - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this AdminWorkflowClosure. - - Time at which the workflow was created. # noqa: E501 - - :param created_at: The created_at of this AdminWorkflowClosure. # noqa: E501 - :type: datetime - """ - - self._created_at = created_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py deleted file mode 100644 index d806cd1b69..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class AdminWorkflowCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminWorkflowSpec' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec' - } - - def __init__(self, id=None, spec=None): # noqa: E501 - """AdminWorkflowCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - - @property - def id(self): - """Gets the id of this AdminWorkflowCreateRequest. # noqa: E501 - - - :return: The id of this AdminWorkflowCreateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this AdminWorkflowCreateRequest. - - - :param id: The id of this AdminWorkflowCreateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this AdminWorkflowCreateRequest. # noqa: E501 - - - :return: The spec of this AdminWorkflowCreateRequest. # noqa: E501 - :rtype: AdminWorkflowSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this AdminWorkflowCreateRequest. - - - :param spec: The spec of this AdminWorkflowCreateRequest. # noqa: E501 - :type: AdminWorkflowSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py deleted file mode 100644 index 63dfaa0329..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_create_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowCreateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py deleted file mode 100644 index b8b89d4266..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py +++ /dev/null @@ -1,319 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 -from flyteadmin.models.admin_envs import AdminEnvs # noqa: F401,E501 -from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 - - -class AdminWorkflowExecutionConfig(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'max_parallelism': 'int', - 'security_context': 'CoreSecurityContext', - 'raw_output_data_config': 'AdminRawOutputDataConfig', - 'labels': 'AdminLabels', - 'annotations': 'AdminAnnotations', - 'interruptible': 'bool', - 'overwrite_cache': 'bool', - 'envs': 'AdminEnvs' - } - - attribute_map = { - 'max_parallelism': 'max_parallelism', - 'security_context': 'security_context', - 'raw_output_data_config': 'raw_output_data_config', - 'labels': 'labels', - 'annotations': 'annotations', - 'interruptible': 'interruptible', - 'overwrite_cache': 'overwrite_cache', - 'envs': 'envs' - } - - def __init__(self, max_parallelism=None, security_context=None, raw_output_data_config=None, labels=None, annotations=None, interruptible=None, overwrite_cache=None, envs=None): # noqa: E501 - """AdminWorkflowExecutionConfig - a model defined in Swagger""" # noqa: E501 - - self._max_parallelism = None - self._security_context = None - self._raw_output_data_config = None - self._labels = None - self._annotations = None - self._interruptible = None - self._overwrite_cache = None - self._envs = None - self.discriminator = None - - if max_parallelism is not None: - self.max_parallelism = max_parallelism - if security_context is not None: - self.security_context = security_context - if raw_output_data_config is not None: - self.raw_output_data_config = raw_output_data_config - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - if interruptible is not None: - self.interruptible = interruptible - if overwrite_cache is not None: - self.overwrite_cache = overwrite_cache - if envs is not None: - self.envs = envs - - @property - def max_parallelism(self): - """Gets the max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 - - Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. # noqa: E501 - - :return: The max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: int - """ - return self._max_parallelism - - @max_parallelism.setter - def max_parallelism(self, max_parallelism): - """Sets the max_parallelism of this AdminWorkflowExecutionConfig. - - Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness. # noqa: E501 - - :param max_parallelism: The max_parallelism of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: int - """ - - self._max_parallelism = max_parallelism - - @property - def security_context(self): - """Gets the security_context of this AdminWorkflowExecutionConfig. # noqa: E501 - - Indicates security context permissions for executions triggered with this matchable attribute. # noqa: E501 - - :return: The security_context of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this AdminWorkflowExecutionConfig. - - Indicates security context permissions for executions triggered with this matchable attribute. # noqa: E501 - - :param security_context: The security_context of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def raw_output_data_config(self): - """Gets the raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :return: The raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: AdminRawOutputDataConfig - """ - return self._raw_output_data_config - - @raw_output_data_config.setter - def raw_output_data_config(self, raw_output_data_config): - """Sets the raw_output_data_config of this AdminWorkflowExecutionConfig. - - Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). # noqa: E501 - - :param raw_output_data_config: The raw_output_data_config of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: AdminRawOutputDataConfig - """ - - self._raw_output_data_config = raw_output_data_config - - @property - def labels(self): - """Gets the labels of this AdminWorkflowExecutionConfig. # noqa: E501 - - Custom labels to be applied to a triggered execution resource. # noqa: E501 - - :return: The labels of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: AdminLabels - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this AdminWorkflowExecutionConfig. - - Custom labels to be applied to a triggered execution resource. # noqa: E501 - - :param labels: The labels of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: AdminLabels - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this AdminWorkflowExecutionConfig. # noqa: E501 - - Custom annotations to be applied to a triggered execution resource. # noqa: E501 - - :return: The annotations of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: AdminAnnotations - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this AdminWorkflowExecutionConfig. - - Custom annotations to be applied to a triggered execution resource. # noqa: E501 - - :param annotations: The annotations of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: AdminAnnotations - """ - - self._annotations = annotations - - @property - def interruptible(self): - """Gets the interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :return: The interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this AdminWorkflowExecutionConfig. - - Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field. # noqa: E501 - - :param interruptible: The interruptible of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - @property - def overwrite_cache(self): - """Gets the overwrite_cache of this AdminWorkflowExecutionConfig. # noqa: E501 - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :return: The overwrite_cache of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: bool - """ - return self._overwrite_cache - - @overwrite_cache.setter - def overwrite_cache(self, overwrite_cache): - """Sets the overwrite_cache of this AdminWorkflowExecutionConfig. - - Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. # noqa: E501 - - :param overwrite_cache: The overwrite_cache of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: bool - """ - - self._overwrite_cache = overwrite_cache - - @property - def envs(self): - """Gets the envs of this AdminWorkflowExecutionConfig. # noqa: E501 - - Environment variables to be set for the execution. # noqa: E501 - - :return: The envs of this AdminWorkflowExecutionConfig. # noqa: E501 - :rtype: AdminEnvs - """ - return self._envs - - @envs.setter - def envs(self, envs): - """Sets the envs of this AdminWorkflowExecutionConfig. - - Environment variables to be set for the execution. # noqa: E501 - - :param envs: The envs of this AdminWorkflowExecutionConfig. # noqa: E501 - :type: AdminEnvs - """ - - self._envs = envs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionConfig, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionConfig): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py deleted file mode 100644 index 5b49fb3631..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_request.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent # noqa: F401,E501 - - -class AdminWorkflowExecutionEventRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'request_id': 'str', - 'event': 'EventWorkflowExecutionEvent' - } - - attribute_map = { - 'request_id': 'request_id', - 'event': 'event' - } - - def __init__(self, request_id=None, event=None): # noqa: E501 - """AdminWorkflowExecutionEventRequest - a model defined in Swagger""" # noqa: E501 - - self._request_id = None - self._event = None - self.discriminator = None - - if request_id is not None: - self.request_id = request_id - if event is not None: - self.event = event - - @property - def request_id(self): - """Gets the request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 - - - :return: The request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AdminWorkflowExecutionEventRequest. - - - :param request_id: The request_id of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :type: str - """ - - self._request_id = request_id - - @property - def event(self): - """Gets the event of this AdminWorkflowExecutionEventRequest. # noqa: E501 - - Details about the event that occurred. # noqa: E501 - - :return: The event of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :rtype: EventWorkflowExecutionEvent - """ - return self._event - - @event.setter - def event(self, event): - """Sets the event of this AdminWorkflowExecutionEventRequest. - - Details about the event that occurred. # noqa: E501 - - :param event: The event of this AdminWorkflowExecutionEventRequest. # noqa: E501 - :type: EventWorkflowExecutionEvent - """ - - self._event = event - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionEventRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionEventRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py deleted file mode 100644 index e4ddc78b69..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_event_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class AdminWorkflowExecutionEventResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """AdminWorkflowExecutionEventResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionEventResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionEventResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py deleted file mode 100644 index 7b08ce32c7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_data_response.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 - - -class AdminWorkflowExecutionGetDataResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'outputs': 'AdminUrlBlob', - 'inputs': 'AdminUrlBlob', - 'full_inputs': 'CoreLiteralMap', - 'full_outputs': 'CoreLiteralMap' - } - - attribute_map = { - 'outputs': 'outputs', - 'inputs': 'inputs', - 'full_inputs': 'full_inputs', - 'full_outputs': 'full_outputs' - } - - def __init__(self, outputs=None, inputs=None, full_inputs=None, full_outputs=None): # noqa: E501 - """AdminWorkflowExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 - - self._outputs = None - self._inputs = None - self._full_inputs = None - self._full_outputs = None - self.discriminator = None - - if outputs is not None: - self.outputs = outputs - if inputs is not None: - self.inputs = inputs - if full_inputs is not None: - self.full_inputs = full_inputs - if full_outputs is not None: - self.full_outputs = full_outputs - - @property - def outputs(self): - """Gets the outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :return: The outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this AdminWorkflowExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of execution outputs. Deprecated: Please use full_outputs instead. # noqa: E501 - - :param outputs: The outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._outputs = outputs - - @property - def inputs(self): - """Gets the inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :return: The inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: AdminUrlBlob - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this AdminWorkflowExecutionGetDataResponse. - - Signed url to fetch a core.LiteralMap of execution inputs. Deprecated: Please use full_inputs instead. # noqa: E501 - - :param inputs: The inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: AdminUrlBlob - """ - - self._inputs = inputs - - @property - def full_inputs(self): - """Gets the full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_inputs - - @full_inputs.setter - def full_inputs(self, full_inputs): - """Sets the full_inputs of this AdminWorkflowExecutionGetDataResponse. - - Full_inputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_inputs: The full_inputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_inputs = full_inputs - - @property - def full_outputs(self): - """Gets the full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :return: The full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._full_outputs - - @full_outputs.setter - def full_outputs(self, full_outputs): - """Sets the full_outputs of this AdminWorkflowExecutionGetDataResponse. - - Full_outputs will only be populated if they are under a configured size threshold. # noqa: E501 - - :param full_outputs: The full_outputs of this AdminWorkflowExecutionGetDataResponse. # noqa: E501 - :type: CoreLiteralMap - """ - - self._full_outputs = full_outputs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionGetDataResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionGetDataResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_metrics_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_metrics_response.py deleted file mode 100644 index 64d71f5cdb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_metrics_response.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_span import CoreSpan # noqa: F401,E501 - - -class AdminWorkflowExecutionGetMetricsResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'span': 'CoreSpan' - } - - attribute_map = { - 'span': 'span' - } - - def __init__(self, span=None): # noqa: E501 - """AdminWorkflowExecutionGetMetricsResponse - a model defined in Swagger""" # noqa: E501 - - self._span = None - self.discriminator = None - - if span is not None: - self.span = span - - @property - def span(self): - """Gets the span of this AdminWorkflowExecutionGetMetricsResponse. # noqa: E501 - - Span defines the top-level breakdown of the workflows execution. More precise information is nested in a hierarchical structure using Flyte entity references. # noqa: E501 - - :return: The span of this AdminWorkflowExecutionGetMetricsResponse. # noqa: E501 - :rtype: CoreSpan - """ - return self._span - - @span.setter - def span(self, span): - """Sets the span of this AdminWorkflowExecutionGetMetricsResponse. - - Span defines the top-level breakdown of the workflows execution. More precise information is nested in a hierarchical structure using Flyte entity references. # noqa: E501 - - :param span: The span of this AdminWorkflowExecutionGetMetricsResponse. # noqa: E501 - :type: CoreSpan - """ - - self._span = span - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowExecutionGetMetricsResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowExecutionGetMetricsResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py deleted file mode 100644 index 65fe9fb331..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_list.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_workflow import AdminWorkflow # noqa: F401,E501 - - -class AdminWorkflowList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'workflows': 'list[AdminWorkflow]', - 'token': 'str' - } - - attribute_map = { - 'workflows': 'workflows', - 'token': 'token' - } - - def __init__(self, workflows=None, token=None): # noqa: E501 - """AdminWorkflowList - a model defined in Swagger""" # noqa: E501 - - self._workflows = None - self._token = None - self.discriminator = None - - if workflows is not None: - self.workflows = workflows - if token is not None: - self.token = token - - @property - def workflows(self): - """Gets the workflows of this AdminWorkflowList. # noqa: E501 - - A list of workflows returned based on the request. # noqa: E501 - - :return: The workflows of this AdminWorkflowList. # noqa: E501 - :rtype: list[AdminWorkflow] - """ - return self._workflows - - @workflows.setter - def workflows(self, workflows): - """Sets the workflows of this AdminWorkflowList. - - A list of workflows returned based on the request. # noqa: E501 - - :param workflows: The workflows of this AdminWorkflowList. # noqa: E501 - :type: list[AdminWorkflow] - """ - - self._workflows = workflows - - @property - def token(self): - """Gets the token of this AdminWorkflowList. # noqa: E501 - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :return: The token of this AdminWorkflowList. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this AdminWorkflowList. - - In the case of multiple pages of results, the server-provided token can be used to fetch the next page in a query. If there are no more results, this value will be empty. # noqa: E501 - - :param token: The token of this AdminWorkflowList. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py deleted file mode 100644 index 42b990d1c0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_spec.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_description_entity import AdminDescriptionEntity # noqa: F401,E501 -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: F401,E501 - - -class AdminWorkflowSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreWorkflowTemplate', - 'sub_workflows': 'list[CoreWorkflowTemplate]', - 'description': 'AdminDescriptionEntity' - } - - attribute_map = { - 'template': 'template', - 'sub_workflows': 'sub_workflows', - 'description': 'description' - } - - def __init__(self, template=None, sub_workflows=None, description=None): # noqa: E501 - """AdminWorkflowSpec - a model defined in Swagger""" # noqa: E501 - - self._template = None - self._sub_workflows = None - self._description = None - self.discriminator = None - - if template is not None: - self.template = template - if sub_workflows is not None: - self.sub_workflows = sub_workflows - if description is not None: - self.description = description - - @property - def template(self): - """Gets the template of this AdminWorkflowSpec. # noqa: E501 - - Template of the task that encapsulates all the metadata of the workflow. # noqa: E501 - - :return: The template of this AdminWorkflowSpec. # noqa: E501 - :rtype: CoreWorkflowTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this AdminWorkflowSpec. - - Template of the task that encapsulates all the metadata of the workflow. # noqa: E501 - - :param template: The template of this AdminWorkflowSpec. # noqa: E501 - :type: CoreWorkflowTemplate - """ - - self._template = template - - @property - def sub_workflows(self): - """Gets the sub_workflows of this AdminWorkflowSpec. # noqa: E501 - - Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. # noqa: E501 - - :return: The sub_workflows of this AdminWorkflowSpec. # noqa: E501 - :rtype: list[CoreWorkflowTemplate] - """ - return self._sub_workflows - - @sub_workflows.setter - def sub_workflows(self, sub_workflows): - """Sets the sub_workflows of this AdminWorkflowSpec. - - Workflows that are embedded into other workflows need to be passed alongside the parent workflow to the propeller compiler (since the compiler doesn't have any knowledge of other workflows - ie, it doesn't reach out to Admin to see other registered workflows). In fact, subworkflows do not even need to be registered. # noqa: E501 - - :param sub_workflows: The sub_workflows of this AdminWorkflowSpec. # noqa: E501 - :type: list[CoreWorkflowTemplate] - """ - - self._sub_workflows = sub_workflows - - @property - def description(self): - """Gets the description of this AdminWorkflowSpec. # noqa: E501 - - Represents the specification for description entity. # noqa: E501 - - :return: The description of this AdminWorkflowSpec. # noqa: E501 - :rtype: AdminDescriptionEntity - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this AdminWorkflowSpec. - - Represents the specification for description entity. # noqa: E501 - - :param description: The description of this AdminWorkflowSpec. # noqa: E501 - :type: AdminDescriptionEntity - """ - - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AdminWorkflowSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AdminWorkflowSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py deleted file mode 100644 index 94a5d768f7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/blob_type_blob_dimensionality.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class BlobTypeBlobDimensionality(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - SINGLE = "SINGLE" - MULTIPART = "MULTIPART" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """BlobTypeBlobDimensionality - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(BlobTypeBlobDimensionality, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, BlobTypeBlobDimensionality): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py deleted file mode 100644 index f518595426..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/catalog_reservation_status.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CatalogReservationStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DISABLED = "RESERVATION_DISABLED" - ACQUIRED = "RESERVATION_ACQUIRED" - EXISTS = "RESERVATION_EXISTS" - RELEASED = "RESERVATION_RELEASED" - FAILURE = "RESERVATION_FAILURE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CatalogReservationStatus - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CatalogReservationStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CatalogReservationStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py deleted file mode 100644 index b141515185..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/comparison_expression_operator.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ComparisonExpressionOperator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - EQ = "EQ" - NEQ = "NEQ" - GT = "GT" - GTE = "GTE" - LT = "LT" - LTE = "LTE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ComparisonExpressionOperator - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ComparisonExpressionOperator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ComparisonExpressionOperator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py deleted file mode 100644 index 95bbfe7148..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/conjunction_expression_logical_operator.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ConjunctionExpressionLogicalOperator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - AND = "AND" - OR = "OR" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ConjunctionExpressionLogicalOperator - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ConjunctionExpressionLogicalOperator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ConjunctionExpressionLogicalOperator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py deleted file mode 100644 index 75c0232481..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/connection_set_id_list.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ConnectionSetIdList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ids': 'list[str]' - } - - attribute_map = { - 'ids': 'ids' - } - - def __init__(self, ids=None): # noqa: E501 - """ConnectionSetIdList - a model defined in Swagger""" # noqa: E501 - - self._ids = None - self.discriminator = None - - if ids is not None: - self.ids = ids - - @property - def ids(self): - """Gets the ids of this ConnectionSetIdList. # noqa: E501 - - - :return: The ids of this ConnectionSetIdList. # noqa: E501 - :rtype: list[str] - """ - return self._ids - - @ids.setter - def ids(self, ids): - """Sets the ids of this ConnectionSetIdList. - - - :param ids: The ids of this ConnectionSetIdList. # noqa: E501 - :type: list[str] - """ - - self._ids = ids - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ConnectionSetIdList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ConnectionSetIdList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py deleted file mode 100644 index eb0f6d3987..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/container_architecture.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ContainerArchitecture(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - AMD64 = "AMD64" - ARM64 = "ARM64" - ARM_V6 = "ARM_V6" - ARM_V7 = "ARM_V7" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ContainerArchitecture - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ContainerArchitecture, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ContainerArchitecture): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py deleted file mode 100644 index e838fed4ee..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_alias.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreAlias(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'var': 'str', - 'alias': 'str' - } - - attribute_map = { - 'var': 'var', - 'alias': 'alias' - } - - def __init__(self, var=None, alias=None): # noqa: E501 - """CoreAlias - a model defined in Swagger""" # noqa: E501 - - self._var = None - self._alias = None - self.discriminator = None - - if var is not None: - self.var = var - if alias is not None: - self.alias = alias - - @property - def var(self): - """Gets the var of this CoreAlias. # noqa: E501 - - Must match one of the output variable names on a node. # noqa: E501 - - :return: The var of this CoreAlias. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreAlias. - - Must match one of the output variable names on a node. # noqa: E501 - - :param var: The var of this CoreAlias. # noqa: E501 - :type: str - """ - - self._var = var - - @property - def alias(self): - """Gets the alias of this CoreAlias. # noqa: E501 - - A workflow-level unique alias that downstream nodes can refer to in their input. # noqa: E501 - - :return: The alias of this CoreAlias. # noqa: E501 - :rtype: str - """ - return self._alias - - @alias.setter - def alias(self, alias): - """Sets the alias of this CoreAlias. - - A workflow-level unique alias that downstream nodes can refer to in their input. # noqa: E501 - - :param alias: The alias of this CoreAlias. # noqa: E501 - :type: str - """ - - self._alias = alias - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreAlias, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreAlias): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_approve_condition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_approve_condition.py deleted file mode 100644 index 56146e7219..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_approve_condition.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreApproveCondition(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'signal_id': 'str' - } - - attribute_map = { - 'signal_id': 'signal_id' - } - - def __init__(self, signal_id=None): # noqa: E501 - """CoreApproveCondition - a model defined in Swagger""" # noqa: E501 - - self._signal_id = None - self.discriminator = None - - if signal_id is not None: - self.signal_id = signal_id - - @property - def signal_id(self): - """Gets the signal_id of this CoreApproveCondition. # noqa: E501 - - A unique identifier for the requested boolean signal. # noqa: E501 - - :return: The signal_id of this CoreApproveCondition. # noqa: E501 - :rtype: str - """ - return self._signal_id - - @signal_id.setter - def signal_id(self, signal_id): - """Sets the signal_id of this CoreApproveCondition. - - A unique identifier for the requested boolean signal. # noqa: E501 - - :param signal_id: The signal_id of this CoreApproveCondition. # noqa: E501 - :type: str - """ - - self._signal_id = signal_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreApproveCondition, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreApproveCondition): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_array_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_array_node.py deleted file mode 100644 index 7922966896..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_array_node.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 - - -class CoreArrayNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node': 'CoreNode', - 'parallelism': 'int', - 'min_successes': 'int', - 'min_success_ratio': 'float' - } - - attribute_map = { - 'node': 'node', - 'parallelism': 'parallelism', - 'min_successes': 'min_successes', - 'min_success_ratio': 'min_success_ratio' - } - - def __init__(self, node=None, parallelism=None, min_successes=None, min_success_ratio=None): # noqa: E501 - """CoreArrayNode - a model defined in Swagger""" # noqa: E501 - - self._node = None - self._parallelism = None - self._min_successes = None - self._min_success_ratio = None - self.discriminator = None - - if node is not None: - self.node = node - if parallelism is not None: - self.parallelism = parallelism - if min_successes is not None: - self.min_successes = min_successes - if min_success_ratio is not None: - self.min_success_ratio = min_success_ratio - - @property - def node(self): - """Gets the node of this CoreArrayNode. # noqa: E501 - - node is the sub-node that will be executed for each element in the array. # noqa: E501 - - :return: The node of this CoreArrayNode. # noqa: E501 - :rtype: CoreNode - """ - return self._node - - @node.setter - def node(self, node): - """Sets the node of this CoreArrayNode. - - node is the sub-node that will be executed for each element in the array. # noqa: E501 - - :param node: The node of this CoreArrayNode. # noqa: E501 - :type: CoreNode - """ - - self._node = node - - @property - def parallelism(self): - """Gets the parallelism of this CoreArrayNode. # noqa: E501 - - parallelism defines the minimum number of instances to bring up concurrently at any given point. Note that this is an optimistic restriction and that, due to network partitioning or other failures, the actual number of currently running instances might be more. This has to be a positive number if assigned. Default value is size. # noqa: E501 - - :return: The parallelism of this CoreArrayNode. # noqa: E501 - :rtype: int - """ - return self._parallelism - - @parallelism.setter - def parallelism(self, parallelism): - """Sets the parallelism of this CoreArrayNode. - - parallelism defines the minimum number of instances to bring up concurrently at any given point. Note that this is an optimistic restriction and that, due to network partitioning or other failures, the actual number of currently running instances might be more. This has to be a positive number if assigned. Default value is size. # noqa: E501 - - :param parallelism: The parallelism of this CoreArrayNode. # noqa: E501 - :type: int - """ - - self._parallelism = parallelism - - @property - def min_successes(self): - """Gets the min_successes of this CoreArrayNode. # noqa: E501 - - min_successes is an absolute number of the minimum number of successful completions of sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful and outputs will be computed. This has to be a non-negative number if assigned. Default value is size (if specified). # noqa: E501 - - :return: The min_successes of this CoreArrayNode. # noqa: E501 - :rtype: int - """ - return self._min_successes - - @min_successes.setter - def min_successes(self, min_successes): - """Sets the min_successes of this CoreArrayNode. - - min_successes is an absolute number of the minimum number of successful completions of sub-nodes. As soon as this criteria is met, the ArrayNode will be marked as successful and outputs will be computed. This has to be a non-negative number if assigned. Default value is size (if specified). # noqa: E501 - - :param min_successes: The min_successes of this CoreArrayNode. # noqa: E501 - :type: int - """ - - self._min_successes = min_successes - - @property - def min_success_ratio(self): - """Gets the min_success_ratio of this CoreArrayNode. # noqa: E501 - - If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an ArrayNode can be marked successful. # noqa: E501 - - :return: The min_success_ratio of this CoreArrayNode. # noqa: E501 - :rtype: float - """ - return self._min_success_ratio - - @min_success_ratio.setter - def min_success_ratio(self, min_success_ratio): - """Sets the min_success_ratio of this CoreArrayNode. - - If the array job size is not known beforehand, the min_success_ratio can instead be used to determine when an ArrayNode can be marked successful. # noqa: E501 - - :param min_success_ratio: The min_success_ratio of this CoreArrayNode. # noqa: E501 - :type: float - """ - - self._min_success_ratio = min_success_ratio - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreArrayNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreArrayNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py deleted file mode 100644 index 0375fc40bb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py +++ /dev/null @@ -1,193 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreArtifactBindingData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'index': 'int', - 'partition_key': 'str', - 'bind_to_time_partition': 'bool', - 'transform': 'str' - } - - attribute_map = { - 'index': 'index', - 'partition_key': 'partition_key', - 'bind_to_time_partition': 'bind_to_time_partition', - 'transform': 'transform' - } - - def __init__(self, index=None, partition_key=None, bind_to_time_partition=None, transform=None): # noqa: E501 - """CoreArtifactBindingData - a model defined in Swagger""" # noqa: E501 - - self._index = None - self._partition_key = None - self._bind_to_time_partition = None - self._transform = None - self.discriminator = None - - if index is not None: - self.index = index - if partition_key is not None: - self.partition_key = partition_key - if bind_to_time_partition is not None: - self.bind_to_time_partition = bind_to_time_partition - if transform is not None: - self.transform = transform - - @property - def index(self): - """Gets the index of this CoreArtifactBindingData. # noqa: E501 - - - :return: The index of this CoreArtifactBindingData. # noqa: E501 - :rtype: int - """ - return self._index - - @index.setter - def index(self, index): - """Sets the index of this CoreArtifactBindingData. - - - :param index: The index of this CoreArtifactBindingData. # noqa: E501 - :type: int - """ - - self._index = index - - @property - def partition_key(self): - """Gets the partition_key of this CoreArtifactBindingData. # noqa: E501 - - - :return: The partition_key of this CoreArtifactBindingData. # noqa: E501 - :rtype: str - """ - return self._partition_key - - @partition_key.setter - def partition_key(self, partition_key): - """Sets the partition_key of this CoreArtifactBindingData. - - - :param partition_key: The partition_key of this CoreArtifactBindingData. # noqa: E501 - :type: str - """ - - self._partition_key = partition_key - - @property - def bind_to_time_partition(self): - """Gets the bind_to_time_partition of this CoreArtifactBindingData. # noqa: E501 - - - :return: The bind_to_time_partition of this CoreArtifactBindingData. # noqa: E501 - :rtype: bool - """ - return self._bind_to_time_partition - - @bind_to_time_partition.setter - def bind_to_time_partition(self, bind_to_time_partition): - """Sets the bind_to_time_partition of this CoreArtifactBindingData. - - - :param bind_to_time_partition: The bind_to_time_partition of this CoreArtifactBindingData. # noqa: E501 - :type: bool - """ - - self._bind_to_time_partition = bind_to_time_partition - - @property - def transform(self): - """Gets the transform of this CoreArtifactBindingData. # noqa: E501 - - - :return: The transform of this CoreArtifactBindingData. # noqa: E501 - :rtype: str - """ - return self._transform - - @transform.setter - def transform(self, transform): - """Sets the transform of this CoreArtifactBindingData. - - - :param transform: The transform of this CoreArtifactBindingData. # noqa: E501 - :type: str - """ - - self._transform = transform - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreArtifactBindingData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreArtifactBindingData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py deleted file mode 100644 index 26a7a4f3fb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_artifact_key import CoreArtifactKey # noqa: F401,E501 -from flyteadmin.models.core_partitions import CorePartitions # noqa: F401,E501 -from flyteadmin.models.core_time_partition import CoreTimePartition # noqa: F401,E501 - - -class CoreArtifactID(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'artifact_key': 'CoreArtifactKey', - 'version': 'str', - 'partitions': 'CorePartitions', - 'time_partition': 'CoreTimePartition' - } - - attribute_map = { - 'artifact_key': 'artifact_key', - 'version': 'version', - 'partitions': 'partitions', - 'time_partition': 'time_partition' - } - - def __init__(self, artifact_key=None, version=None, partitions=None, time_partition=None): # noqa: E501 - """CoreArtifactID - a model defined in Swagger""" # noqa: E501 - - self._artifact_key = None - self._version = None - self._partitions = None - self._time_partition = None - self.discriminator = None - - if artifact_key is not None: - self.artifact_key = artifact_key - if version is not None: - self.version = version - if partitions is not None: - self.partitions = partitions - if time_partition is not None: - self.time_partition = time_partition - - @property - def artifact_key(self): - """Gets the artifact_key of this CoreArtifactID. # noqa: E501 - - - :return: The artifact_key of this CoreArtifactID. # noqa: E501 - :rtype: CoreArtifactKey - """ - return self._artifact_key - - @artifact_key.setter - def artifact_key(self, artifact_key): - """Sets the artifact_key of this CoreArtifactID. - - - :param artifact_key: The artifact_key of this CoreArtifactID. # noqa: E501 - :type: CoreArtifactKey - """ - - self._artifact_key = artifact_key - - @property - def version(self): - """Gets the version of this CoreArtifactID. # noqa: E501 - - - :return: The version of this CoreArtifactID. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this CoreArtifactID. - - - :param version: The version of this CoreArtifactID. # noqa: E501 - :type: str - """ - - self._version = version - - @property - def partitions(self): - """Gets the partitions of this CoreArtifactID. # noqa: E501 - - Think of a partition as a tag on an Artifact, except it's a key-value pair. Different partitions naturally have different versions (execution ids). # noqa: E501 - - :return: The partitions of this CoreArtifactID. # noqa: E501 - :rtype: CorePartitions - """ - return self._partitions - - @partitions.setter - def partitions(self, partitions): - """Sets the partitions of this CoreArtifactID. - - Think of a partition as a tag on an Artifact, except it's a key-value pair. Different partitions naturally have different versions (execution ids). # noqa: E501 - - :param partitions: The partitions of this CoreArtifactID. # noqa: E501 - :type: CorePartitions - """ - - self._partitions = partitions - - @property - def time_partition(self): - """Gets the time_partition of this CoreArtifactID. # noqa: E501 - - There is no such thing as an empty time partition - if it's not set, then there is no time partition. # noqa: E501 - - :return: The time_partition of this CoreArtifactID. # noqa: E501 - :rtype: CoreTimePartition - """ - return self._time_partition - - @time_partition.setter - def time_partition(self, time_partition): - """Sets the time_partition of this CoreArtifactID. - - There is no such thing as an empty time partition - if it's not set, then there is no time partition. # noqa: E501 - - :param time_partition: The time_partition of this CoreArtifactID. # noqa: E501 - :type: CoreTimePartition - """ - - self._time_partition = time_partition - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreArtifactID, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreArtifactID): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py deleted file mode 100644 index a0612fcf2d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py +++ /dev/null @@ -1,169 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreArtifactKey(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'name': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'name': 'name' - } - - def __init__(self, project=None, domain=None, name=None): # noqa: E501 - """CoreArtifactKey - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._name = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - - @property - def project(self): - """Gets the project of this CoreArtifactKey. # noqa: E501 - - Project and domain and suffix needs to be unique across a given artifact store. # noqa: E501 - - :return: The project of this CoreArtifactKey. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this CoreArtifactKey. - - Project and domain and suffix needs to be unique across a given artifact store. # noqa: E501 - - :param project: The project of this CoreArtifactKey. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this CoreArtifactKey. # noqa: E501 - - - :return: The domain of this CoreArtifactKey. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this CoreArtifactKey. - - - :param domain: The domain of this CoreArtifactKey. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this CoreArtifactKey. # noqa: E501 - - - :return: The name of this CoreArtifactKey. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreArtifactKey. - - - :param name: The name of this CoreArtifactKey. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreArtifactKey, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreArtifactKey): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py deleted file mode 100644 index b87007f5b4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData # noqa: F401,E501 -from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 -from flyteadmin.models.core_artifact_tag import CoreArtifactTag # noqa: F401,E501 - - -class CoreArtifactQuery(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'artifact_id': 'CoreArtifactID', - 'artifact_tag': 'CoreArtifactTag', - 'uri': 'str', - 'binding': 'CoreArtifactBindingData' - } - - attribute_map = { - 'artifact_id': 'artifact_id', - 'artifact_tag': 'artifact_tag', - 'uri': 'uri', - 'binding': 'binding' - } - - def __init__(self, artifact_id=None, artifact_tag=None, uri=None, binding=None): # noqa: E501 - """CoreArtifactQuery - a model defined in Swagger""" # noqa: E501 - - self._artifact_id = None - self._artifact_tag = None - self._uri = None - self._binding = None - self.discriminator = None - - if artifact_id is not None: - self.artifact_id = artifact_id - if artifact_tag is not None: - self.artifact_tag = artifact_tag - if uri is not None: - self.uri = uri - if binding is not None: - self.binding = binding - - @property - def artifact_id(self): - """Gets the artifact_id of this CoreArtifactQuery. # noqa: E501 - - - :return: The artifact_id of this CoreArtifactQuery. # noqa: E501 - :rtype: CoreArtifactID - """ - return self._artifact_id - - @artifact_id.setter - def artifact_id(self, artifact_id): - """Sets the artifact_id of this CoreArtifactQuery. - - - :param artifact_id: The artifact_id of this CoreArtifactQuery. # noqa: E501 - :type: CoreArtifactID - """ - - self._artifact_id = artifact_id - - @property - def artifact_tag(self): - """Gets the artifact_tag of this CoreArtifactQuery. # noqa: E501 - - - :return: The artifact_tag of this CoreArtifactQuery. # noqa: E501 - :rtype: CoreArtifactTag - """ - return self._artifact_tag - - @artifact_tag.setter - def artifact_tag(self, artifact_tag): - """Sets the artifact_tag of this CoreArtifactQuery. - - - :param artifact_tag: The artifact_tag of this CoreArtifactQuery. # noqa: E501 - :type: CoreArtifactTag - """ - - self._artifact_tag = artifact_tag - - @property - def uri(self): - """Gets the uri of this CoreArtifactQuery. # noqa: E501 - - - :return: The uri of this CoreArtifactQuery. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreArtifactQuery. - - - :param uri: The uri of this CoreArtifactQuery. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def binding(self): - """Gets the binding of this CoreArtifactQuery. # noqa: E501 - - This is used in the trigger case, where a user specifies a value for an input that is one of the triggering artifacts, or a partition value derived from a triggering artifact. # noqa: E501 - - :return: The binding of this CoreArtifactQuery. # noqa: E501 - :rtype: CoreArtifactBindingData - """ - return self._binding - - @binding.setter - def binding(self, binding): - """Sets the binding of this CoreArtifactQuery. - - This is used in the trigger case, where a user specifies a value for an input that is one of the triggering artifacts, or a partition value derived from a triggering artifact. # noqa: E501 - - :param binding: The binding of this CoreArtifactQuery. # noqa: E501 - :type: CoreArtifactBindingData - """ - - self._binding = binding - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreArtifactQuery, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreArtifactQuery): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py deleted file mode 100644 index 9277c6698c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_artifact_key import CoreArtifactKey # noqa: F401,E501 -from flyteadmin.models.core_label_value import CoreLabelValue # noqa: F401,E501 - - -class CoreArtifactTag(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'artifact_key': 'CoreArtifactKey', - 'value': 'CoreLabelValue' - } - - attribute_map = { - 'artifact_key': 'artifact_key', - 'value': 'value' - } - - def __init__(self, artifact_key=None, value=None): # noqa: E501 - """CoreArtifactTag - a model defined in Swagger""" # noqa: E501 - - self._artifact_key = None - self._value = None - self.discriminator = None - - if artifact_key is not None: - self.artifact_key = artifact_key - if value is not None: - self.value = value - - @property - def artifact_key(self): - """Gets the artifact_key of this CoreArtifactTag. # noqa: E501 - - - :return: The artifact_key of this CoreArtifactTag. # noqa: E501 - :rtype: CoreArtifactKey - """ - return self._artifact_key - - @artifact_key.setter - def artifact_key(self, artifact_key): - """Sets the artifact_key of this CoreArtifactTag. - - - :param artifact_key: The artifact_key of this CoreArtifactTag. # noqa: E501 - :type: CoreArtifactKey - """ - - self._artifact_key = artifact_key - - @property - def value(self): - """Gets the value of this CoreArtifactTag. # noqa: E501 - - - :return: The value of this CoreArtifactTag. # noqa: E501 - :rtype: CoreLabelValue - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreArtifactTag. - - - :param value: The value of this CoreArtifactTag. # noqa: E501 - :type: CoreLabelValue - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreArtifactTag, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreArtifactTag): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py deleted file mode 100644 index 3712928191..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binary.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreBinary(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'str', - 'tag': 'str' - } - - attribute_map = { - 'value': 'value', - 'tag': 'tag' - } - - def __init__(self, value=None, tag=None): # noqa: E501 - """CoreBinary - a model defined in Swagger""" # noqa: E501 - - self._value = None - self._tag = None - self.discriminator = None - - if value is not None: - self.value = value - if tag is not None: - self.tag = tag - - @property - def value(self): - """Gets the value of this CoreBinary. # noqa: E501 - - - :return: The value of this CoreBinary. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreBinary. - - - :param value: The value of this CoreBinary. # noqa: E501 - :type: str - """ - if value is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', value): # noqa: E501 - raise ValueError(r"Invalid value for `value`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 - - self._value = value - - @property - def tag(self): - """Gets the tag of this CoreBinary. # noqa: E501 - - - :return: The tag of this CoreBinary. # noqa: E501 - :rtype: str - """ - return self._tag - - @tag.setter - def tag(self, tag): - """Sets the tag of this CoreBinary. - - - :param tag: The tag of this CoreBinary. # noqa: E501 - :type: str - """ - - self._tag = tag - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBinary, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBinary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py deleted file mode 100644 index e865a23dc7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 - - -class CoreBinding(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'var': 'str', - 'binding': 'CoreBindingData' - } - - attribute_map = { - 'var': 'var', - 'binding': 'binding' - } - - def __init__(self, var=None, binding=None): # noqa: E501 - """CoreBinding - a model defined in Swagger""" # noqa: E501 - - self._var = None - self._binding = None - self.discriminator = None - - if var is not None: - self.var = var - if binding is not None: - self.binding = binding - - @property - def var(self): - """Gets the var of this CoreBinding. # noqa: E501 - - Variable name must match an input/output variable of the node. # noqa: E501 - - :return: The var of this CoreBinding. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreBinding. - - Variable name must match an input/output variable of the node. # noqa: E501 - - :param var: The var of this CoreBinding. # noqa: E501 - :type: str - """ - - self._var = var - - @property - def binding(self): - """Gets the binding of this CoreBinding. # noqa: E501 - - Data to use to bind this variable. # noqa: E501 - - :return: The binding of this CoreBinding. # noqa: E501 - :rtype: CoreBindingData - """ - return self._binding - - @binding.setter - def binding(self, binding): - """Sets the binding of this CoreBinding. - - Data to use to bind this variable. # noqa: E501 - - :param binding: The binding of this CoreBinding. # noqa: E501 - :type: CoreBindingData - """ - - self._binding = binding - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBinding, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBinding): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py deleted file mode 100644 index 611a1aca53..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data.py +++ /dev/null @@ -1,233 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection # noqa: F401,E501 -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap # noqa: F401,E501 -from flyteadmin.models.core_output_reference import CoreOutputReference # noqa: F401,E501 -from flyteadmin.models.core_scalar import CoreScalar # noqa: F401,E501 -from flyteadmin.models.core_union_info import CoreUnionInfo # noqa: F401,E501 - - -class CoreBindingData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'scalar': 'CoreScalar', - 'collection': 'CoreBindingDataCollection', - 'promise': 'CoreOutputReference', - 'map': 'CoreBindingDataMap', - 'union': 'CoreUnionInfo' - } - - attribute_map = { - 'scalar': 'scalar', - 'collection': 'collection', - 'promise': 'promise', - 'map': 'map', - 'union': 'union' - } - - def __init__(self, scalar=None, collection=None, promise=None, map=None, union=None): # noqa: E501 - """CoreBindingData - a model defined in Swagger""" # noqa: E501 - - self._scalar = None - self._collection = None - self._promise = None - self._map = None - self._union = None - self.discriminator = None - - if scalar is not None: - self.scalar = scalar - if collection is not None: - self.collection = collection - if promise is not None: - self.promise = promise - if map is not None: - self.map = map - if union is not None: - self.union = union - - @property - def scalar(self): - """Gets the scalar of this CoreBindingData. # noqa: E501 - - A simple scalar value. # noqa: E501 - - :return: The scalar of this CoreBindingData. # noqa: E501 - :rtype: CoreScalar - """ - return self._scalar - - @scalar.setter - def scalar(self, scalar): - """Sets the scalar of this CoreBindingData. - - A simple scalar value. # noqa: E501 - - :param scalar: The scalar of this CoreBindingData. # noqa: E501 - :type: CoreScalar - """ - - self._scalar = scalar - - @property - def collection(self): - """Gets the collection of this CoreBindingData. # noqa: E501 - - A collection of binding data. This allows nesting of binding data to any number of levels. # noqa: E501 - - :return: The collection of this CoreBindingData. # noqa: E501 - :rtype: CoreBindingDataCollection - """ - return self._collection - - @collection.setter - def collection(self, collection): - """Sets the collection of this CoreBindingData. - - A collection of binding data. This allows nesting of binding data to any number of levels. # noqa: E501 - - :param collection: The collection of this CoreBindingData. # noqa: E501 - :type: CoreBindingDataCollection - """ - - self._collection = collection - - @property - def promise(self): - """Gets the promise of this CoreBindingData. # noqa: E501 - - References an output promised by another node. # noqa: E501 - - :return: The promise of this CoreBindingData. # noqa: E501 - :rtype: CoreOutputReference - """ - return self._promise - - @promise.setter - def promise(self, promise): - """Sets the promise of this CoreBindingData. - - References an output promised by another node. # noqa: E501 - - :param promise: The promise of this CoreBindingData. # noqa: E501 - :type: CoreOutputReference - """ - - self._promise = promise - - @property - def map(self): - """Gets the map of this CoreBindingData. # noqa: E501 - - A map of bindings. The key is always a string. # noqa: E501 - - :return: The map of this CoreBindingData. # noqa: E501 - :rtype: CoreBindingDataMap - """ - return self._map - - @map.setter - def map(self, map): - """Sets the map of this CoreBindingData. - - A map of bindings. The key is always a string. # noqa: E501 - - :param map: The map of this CoreBindingData. # noqa: E501 - :type: CoreBindingDataMap - """ - - self._map = map - - @property - def union(self): - """Gets the union of this CoreBindingData. # noqa: E501 - - - :return: The union of this CoreBindingData. # noqa: E501 - :rtype: CoreUnionInfo - """ - return self._union - - @union.setter - def union(self, union): - """Sets the union of this CoreBindingData. - - - :param union: The union of this CoreBindingData. # noqa: E501 - :type: CoreUnionInfo - """ - - self._union = union - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBindingData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBindingData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py deleted file mode 100644 index a2e765d7fa..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_collection.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 - - -class CoreBindingDataCollection(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bindings': 'list[CoreBindingData]' - } - - attribute_map = { - 'bindings': 'bindings' - } - - def __init__(self, bindings=None): # noqa: E501 - """CoreBindingDataCollection - a model defined in Swagger""" # noqa: E501 - - self._bindings = None - self.discriminator = None - - if bindings is not None: - self.bindings = bindings - - @property - def bindings(self): - """Gets the bindings of this CoreBindingDataCollection. # noqa: E501 - - - :return: The bindings of this CoreBindingDataCollection. # noqa: E501 - :rtype: list[CoreBindingData] - """ - return self._bindings - - @bindings.setter - def bindings(self, bindings): - """Sets the bindings of this CoreBindingDataCollection. - - - :param bindings: The bindings of this CoreBindingDataCollection. # noqa: E501 - :type: list[CoreBindingData] - """ - - self._bindings = bindings - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBindingDataCollection, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBindingDataCollection): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py deleted file mode 100644 index d3d00d4044..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_binding_data_map.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: F401,E501 - - -class CoreBindingDataMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bindings': 'dict(str, CoreBindingData)' - } - - attribute_map = { - 'bindings': 'bindings' - } - - def __init__(self, bindings=None): # noqa: E501 - """CoreBindingDataMap - a model defined in Swagger""" # noqa: E501 - - self._bindings = None - self.discriminator = None - - if bindings is not None: - self.bindings = bindings - - @property - def bindings(self): - """Gets the bindings of this CoreBindingDataMap. # noqa: E501 - - - :return: The bindings of this CoreBindingDataMap. # noqa: E501 - :rtype: dict(str, CoreBindingData) - """ - return self._bindings - - @bindings.setter - def bindings(self, bindings): - """Sets the bindings of this CoreBindingDataMap. - - - :param bindings: The bindings of this CoreBindingDataMap. # noqa: E501 - :type: dict(str, CoreBindingData) - """ - - self._bindings = bindings - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBindingDataMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBindingDataMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py deleted file mode 100644 index 270ae7060e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata # noqa: F401,E501 - - -class CoreBlob(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'metadata': 'CoreBlobMetadata', - 'uri': 'str' - } - - attribute_map = { - 'metadata': 'metadata', - 'uri': 'uri' - } - - def __init__(self, metadata=None, uri=None): # noqa: E501 - """CoreBlob - a model defined in Swagger""" # noqa: E501 - - self._metadata = None - self._uri = None - self.discriminator = None - - if metadata is not None: - self.metadata = metadata - if uri is not None: - self.uri = uri - - @property - def metadata(self): - """Gets the metadata of this CoreBlob. # noqa: E501 - - - :return: The metadata of this CoreBlob. # noqa: E501 - :rtype: CoreBlobMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreBlob. - - - :param metadata: The metadata of this CoreBlob. # noqa: E501 - :type: CoreBlobMetadata - """ - - self._metadata = metadata - - @property - def uri(self): - """Gets the uri of this CoreBlob. # noqa: E501 - - - :return: The uri of this CoreBlob. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreBlob. - - - :param uri: The uri of this CoreBlob. # noqa: E501 - :type: str - """ - - self._uri = uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBlob, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBlob): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py deleted file mode 100644 index 3a12b7f987..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_metadata.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_blob_type import CoreBlobType # noqa: F401,E501 - - -class CoreBlobMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'type': 'CoreBlobType' - } - - attribute_map = { - 'type': 'type' - } - - def __init__(self, type=None): # noqa: E501 - """CoreBlobMetadata - a model defined in Swagger""" # noqa: E501 - - self._type = None - self.discriminator = None - - if type is not None: - self.type = type - - @property - def type(self): - """Gets the type of this CoreBlobMetadata. # noqa: E501 - - - :return: The type of this CoreBlobMetadata. # noqa: E501 - :rtype: CoreBlobType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreBlobMetadata. - - - :param type: The type of this CoreBlobMetadata. # noqa: E501 - :type: CoreBlobType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBlobMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBlobMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py deleted file mode 100644 index a81b58c44f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_blob_type.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality # noqa: F401,E501 - - -class CoreBlobType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'format': 'str', - 'dimensionality': 'BlobTypeBlobDimensionality' - } - - attribute_map = { - 'format': 'format', - 'dimensionality': 'dimensionality' - } - - def __init__(self, format=None, dimensionality=None): # noqa: E501 - """CoreBlobType - a model defined in Swagger""" # noqa: E501 - - self._format = None - self._dimensionality = None - self.discriminator = None - - if format is not None: - self.format = format - if dimensionality is not None: - self.dimensionality = dimensionality - - @property - def format(self): - """Gets the format of this CoreBlobType. # noqa: E501 - - - :return: The format of this CoreBlobType. # noqa: E501 - :rtype: str - """ - return self._format - - @format.setter - def format(self, format): - """Sets the format of this CoreBlobType. - - - :param format: The format of this CoreBlobType. # noqa: E501 - :type: str - """ - - self._format = format - - @property - def dimensionality(self): - """Gets the dimensionality of this CoreBlobType. # noqa: E501 - - - :return: The dimensionality of this CoreBlobType. # noqa: E501 - :rtype: BlobTypeBlobDimensionality - """ - return self._dimensionality - - @dimensionality.setter - def dimensionality(self, dimensionality): - """Sets the dimensionality of this CoreBlobType. - - - :param dimensionality: The dimensionality of this CoreBlobType. # noqa: E501 - :type: BlobTypeBlobDimensionality - """ - - self._dimensionality = dimensionality - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBlobType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBlobType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py deleted file mode 100644 index f7eaff6130..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_boolean_expression.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression # noqa: F401,E501 -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression # noqa: F401,E501 - - -class CoreBooleanExpression(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'conjunction': 'CoreConjunctionExpression', - 'comparison': 'CoreComparisonExpression' - } - - attribute_map = { - 'conjunction': 'conjunction', - 'comparison': 'comparison' - } - - def __init__(self, conjunction=None, comparison=None): # noqa: E501 - """CoreBooleanExpression - a model defined in Swagger""" # noqa: E501 - - self._conjunction = None - self._comparison = None - self.discriminator = None - - if conjunction is not None: - self.conjunction = conjunction - if comparison is not None: - self.comparison = comparison - - @property - def conjunction(self): - """Gets the conjunction of this CoreBooleanExpression. # noqa: E501 - - - :return: The conjunction of this CoreBooleanExpression. # noqa: E501 - :rtype: CoreConjunctionExpression - """ - return self._conjunction - - @conjunction.setter - def conjunction(self, conjunction): - """Sets the conjunction of this CoreBooleanExpression. - - - :param conjunction: The conjunction of this CoreBooleanExpression. # noqa: E501 - :type: CoreConjunctionExpression - """ - - self._conjunction = conjunction - - @property - def comparison(self): - """Gets the comparison of this CoreBooleanExpression. # noqa: E501 - - - :return: The comparison of this CoreBooleanExpression. # noqa: E501 - :rtype: CoreComparisonExpression - """ - return self._comparison - - @comparison.setter - def comparison(self, comparison): - """Sets the comparison of this CoreBooleanExpression. - - - :param comparison: The comparison of this CoreBooleanExpression. # noqa: E501 - :type: CoreComparisonExpression - """ - - self._comparison = comparison - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBooleanExpression, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBooleanExpression): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py deleted file mode 100644 index db7cc3c71d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_branch_node.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_if_else_block import CoreIfElseBlock # noqa: F401,E501 - - -class CoreBranchNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'if_else': 'CoreIfElseBlock' - } - - attribute_map = { - 'if_else': 'if_else' - } - - def __init__(self, if_else=None): # noqa: E501 - """CoreBranchNode - a model defined in Swagger""" # noqa: E501 - - self._if_else = None - self.discriminator = None - - if if_else is not None: - self.if_else = if_else - - @property - def if_else(self): - """Gets the if_else of this CoreBranchNode. # noqa: E501 - - - :return: The if_else of this CoreBranchNode. # noqa: E501 - :rtype: CoreIfElseBlock - """ - return self._if_else - - @if_else.setter - def if_else(self, if_else): - """Sets the if_else of this CoreBranchNode. - - - :param if_else: The if_else of this CoreBranchNode. # noqa: E501 - :type: CoreIfElseBlock - """ - - self._if_else = if_else - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreBranchNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreBranchNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py deleted file mode 100644 index 77fb0a950a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_artifact_tag.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreCatalogArtifactTag(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'artifact_id': 'str', - 'name': 'str' - } - - attribute_map = { - 'artifact_id': 'artifact_id', - 'name': 'name' - } - - def __init__(self, artifact_id=None, name=None): # noqa: E501 - """CoreCatalogArtifactTag - a model defined in Swagger""" # noqa: E501 - - self._artifact_id = None - self._name = None - self.discriminator = None - - if artifact_id is not None: - self.artifact_id = artifact_id - if name is not None: - self.name = name - - @property - def artifact_id(self): - """Gets the artifact_id of this CoreCatalogArtifactTag. # noqa: E501 - - - :return: The artifact_id of this CoreCatalogArtifactTag. # noqa: E501 - :rtype: str - """ - return self._artifact_id - - @artifact_id.setter - def artifact_id(self, artifact_id): - """Sets the artifact_id of this CoreCatalogArtifactTag. - - - :param artifact_id: The artifact_id of this CoreCatalogArtifactTag. # noqa: E501 - :type: str - """ - - self._artifact_id = artifact_id - - @property - def name(self): - """Gets the name of this CoreCatalogArtifactTag. # noqa: E501 - - - :return: The name of this CoreCatalogArtifactTag. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreCatalogArtifactTag. - - - :param name: The name of this CoreCatalogArtifactTag. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCatalogArtifactTag, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCatalogArtifactTag): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py deleted file mode 100644 index 34da1d78af..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_cache_status.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreCatalogCacheStatus(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DISABLED = "CACHE_DISABLED" - MISS = "CACHE_MISS" - HIT = "CACHE_HIT" - POPULATED = "CACHE_POPULATED" - LOOKUP_FAILURE = "CACHE_LOOKUP_FAILURE" - PUT_FAILURE = "CACHE_PUT_FAILURE" - SKIPPED = "CACHE_SKIPPED" - EVICTED = "CACHE_EVICTED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreCatalogCacheStatus - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCatalogCacheStatus, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCatalogCacheStatus): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py deleted file mode 100644 index ae3d5f81f5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_catalog_metadata.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 - - -class CoreCatalogMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'dataset_id': 'CoreIdentifier', - 'artifact_tag': 'CoreCatalogArtifactTag', - 'source_task_execution': 'CoreTaskExecutionIdentifier' - } - - attribute_map = { - 'dataset_id': 'dataset_id', - 'artifact_tag': 'artifact_tag', - 'source_task_execution': 'source_task_execution' - } - - def __init__(self, dataset_id=None, artifact_tag=None, source_task_execution=None): # noqa: E501 - """CoreCatalogMetadata - a model defined in Swagger""" # noqa: E501 - - self._dataset_id = None - self._artifact_tag = None - self._source_task_execution = None - self.discriminator = None - - if dataset_id is not None: - self.dataset_id = dataset_id - if artifact_tag is not None: - self.artifact_tag = artifact_tag - if source_task_execution is not None: - self.source_task_execution = source_task_execution - - @property - def dataset_id(self): - """Gets the dataset_id of this CoreCatalogMetadata. # noqa: E501 - - - :return: The dataset_id of this CoreCatalogMetadata. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._dataset_id - - @dataset_id.setter - def dataset_id(self, dataset_id): - """Sets the dataset_id of this CoreCatalogMetadata. - - - :param dataset_id: The dataset_id of this CoreCatalogMetadata. # noqa: E501 - :type: CoreIdentifier - """ - - self._dataset_id = dataset_id - - @property - def artifact_tag(self): - """Gets the artifact_tag of this CoreCatalogMetadata. # noqa: E501 - - - :return: The artifact_tag of this CoreCatalogMetadata. # noqa: E501 - :rtype: CoreCatalogArtifactTag - """ - return self._artifact_tag - - @artifact_tag.setter - def artifact_tag(self, artifact_tag): - """Sets the artifact_tag of this CoreCatalogMetadata. - - - :param artifact_tag: The artifact_tag of this CoreCatalogMetadata. # noqa: E501 - :type: CoreCatalogArtifactTag - """ - - self._artifact_tag = artifact_tag - - @property - def source_task_execution(self): - """Gets the source_task_execution of this CoreCatalogMetadata. # noqa: E501 - - - :return: The source_task_execution of this CoreCatalogMetadata. # noqa: E501 - :rtype: CoreTaskExecutionIdentifier - """ - return self._source_task_execution - - @source_task_execution.setter - def source_task_execution(self, source_task_execution): - """Sets the source_task_execution of this CoreCatalogMetadata. - - - :param source_task_execution: The source_task_execution of this CoreCatalogMetadata. # noqa: E501 - :type: CoreTaskExecutionIdentifier - """ - - self._source_task_execution = source_task_execution - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCatalogMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCatalogMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py deleted file mode 100644 index 76e06e75c9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_comparison_expression.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: F401,E501 -from flyteadmin.models.core_operand import CoreOperand # noqa: F401,E501 - - -class CoreComparisonExpression(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'operator': 'ComparisonExpressionOperator', - 'left_value': 'CoreOperand', - 'right_value': 'CoreOperand' - } - - attribute_map = { - 'operator': 'operator', - 'left_value': 'left_value', - 'right_value': 'right_value' - } - - def __init__(self, operator=None, left_value=None, right_value=None): # noqa: E501 - """CoreComparisonExpression - a model defined in Swagger""" # noqa: E501 - - self._operator = None - self._left_value = None - self._right_value = None - self.discriminator = None - - if operator is not None: - self.operator = operator - if left_value is not None: - self.left_value = left_value - if right_value is not None: - self.right_value = right_value - - @property - def operator(self): - """Gets the operator of this CoreComparisonExpression. # noqa: E501 - - - :return: The operator of this CoreComparisonExpression. # noqa: E501 - :rtype: ComparisonExpressionOperator - """ - return self._operator - - @operator.setter - def operator(self, operator): - """Sets the operator of this CoreComparisonExpression. - - - :param operator: The operator of this CoreComparisonExpression. # noqa: E501 - :type: ComparisonExpressionOperator - """ - - self._operator = operator - - @property - def left_value(self): - """Gets the left_value of this CoreComparisonExpression. # noqa: E501 - - - :return: The left_value of this CoreComparisonExpression. # noqa: E501 - :rtype: CoreOperand - """ - return self._left_value - - @left_value.setter - def left_value(self, left_value): - """Sets the left_value of this CoreComparisonExpression. - - - :param left_value: The left_value of this CoreComparisonExpression. # noqa: E501 - :type: CoreOperand - """ - - self._left_value = left_value - - @property - def right_value(self): - """Gets the right_value of this CoreComparisonExpression. # noqa: E501 - - - :return: The right_value of this CoreComparisonExpression. # noqa: E501 - :rtype: CoreOperand - """ - return self._right_value - - @right_value.setter - def right_value(self, right_value): - """Sets the right_value of this CoreComparisonExpression. - - - :param right_value: The right_value of this CoreComparisonExpression. # noqa: E501 - :type: CoreOperand - """ - - self._right_value = right_value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreComparisonExpression, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreComparisonExpression): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py deleted file mode 100644 index e7bb749c0f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_task.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: F401,E501 - - -class CoreCompiledTask(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreTaskTemplate' - } - - attribute_map = { - 'template': 'template' - } - - def __init__(self, template=None): # noqa: E501 - """CoreCompiledTask - a model defined in Swagger""" # noqa: E501 - - self._template = None - self.discriminator = None - - if template is not None: - self.template = template - - @property - def template(self): - """Gets the template of this CoreCompiledTask. # noqa: E501 - - - :return: The template of this CoreCompiledTask. # noqa: E501 - :rtype: CoreTaskTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this CoreCompiledTask. - - - :param template: The template of this CoreCompiledTask. # noqa: E501 - :type: CoreTaskTemplate - """ - - self._template = template - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCompiledTask, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCompiledTask): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py deleted file mode 100644 index 2b7de1f256..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow.py +++ /dev/null @@ -1,146 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_connection_set import CoreConnectionSet # noqa: F401,E501 -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: F401,E501 - - -class CoreCompiledWorkflow(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'template': 'CoreWorkflowTemplate', - 'connections': 'CoreConnectionSet' - } - - attribute_map = { - 'template': 'template', - 'connections': 'connections' - } - - def __init__(self, template=None, connections=None): # noqa: E501 - """CoreCompiledWorkflow - a model defined in Swagger""" # noqa: E501 - - self._template = None - self._connections = None - self.discriminator = None - - if template is not None: - self.template = template - if connections is not None: - self.connections = connections - - @property - def template(self): - """Gets the template of this CoreCompiledWorkflow. # noqa: E501 - - - :return: The template of this CoreCompiledWorkflow. # noqa: E501 - :rtype: CoreWorkflowTemplate - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this CoreCompiledWorkflow. - - - :param template: The template of this CoreCompiledWorkflow. # noqa: E501 - :type: CoreWorkflowTemplate - """ - - self._template = template - - @property - def connections(self): - """Gets the connections of this CoreCompiledWorkflow. # noqa: E501 - - For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. # noqa: E501 - - :return: The connections of this CoreCompiledWorkflow. # noqa: E501 - :rtype: CoreConnectionSet - """ - return self._connections - - @connections.setter - def connections(self, connections): - """Sets the connections of this CoreCompiledWorkflow. - - For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored. # noqa: E501 - - :param connections: The connections of this CoreCompiledWorkflow. # noqa: E501 - :type: CoreConnectionSet - """ - - self._connections = connections - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCompiledWorkflow, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCompiledWorkflow): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py deleted file mode 100644 index 48afd2e2cc..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_compiled_workflow_closure.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: F401,E501 -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow # noqa: F401,E501 - - -class CoreCompiledWorkflowClosure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primary': 'CoreCompiledWorkflow', - 'sub_workflows': 'list[CoreCompiledWorkflow]', - 'tasks': 'list[CoreCompiledTask]' - } - - attribute_map = { - 'primary': 'primary', - 'sub_workflows': 'sub_workflows', - 'tasks': 'tasks' - } - - def __init__(self, primary=None, sub_workflows=None, tasks=None): # noqa: E501 - """CoreCompiledWorkflowClosure - a model defined in Swagger""" # noqa: E501 - - self._primary = None - self._sub_workflows = None - self._tasks = None - self.discriminator = None - - if primary is not None: - self.primary = primary - if sub_workflows is not None: - self.sub_workflows = sub_workflows - if tasks is not None: - self.tasks = tasks - - @property - def primary(self): - """Gets the primary of this CoreCompiledWorkflowClosure. # noqa: E501 - - - :return: The primary of this CoreCompiledWorkflowClosure. # noqa: E501 - :rtype: CoreCompiledWorkflow - """ - return self._primary - - @primary.setter - def primary(self, primary): - """Sets the primary of this CoreCompiledWorkflowClosure. - - - :param primary: The primary of this CoreCompiledWorkflowClosure. # noqa: E501 - :type: CoreCompiledWorkflow - """ - - self._primary = primary - - @property - def sub_workflows(self): - """Gets the sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 - - - :return: The sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 - :rtype: list[CoreCompiledWorkflow] - """ - return self._sub_workflows - - @sub_workflows.setter - def sub_workflows(self, sub_workflows): - """Sets the sub_workflows of this CoreCompiledWorkflowClosure. - - - :param sub_workflows: The sub_workflows of this CoreCompiledWorkflowClosure. # noqa: E501 - :type: list[CoreCompiledWorkflow] - """ - - self._sub_workflows = sub_workflows - - @property - def tasks(self): - """Gets the tasks of this CoreCompiledWorkflowClosure. # noqa: E501 - - - :return: The tasks of this CoreCompiledWorkflowClosure. # noqa: E501 - :rtype: list[CoreCompiledTask] - """ - return self._tasks - - @tasks.setter - def tasks(self, tasks): - """Sets the tasks of this CoreCompiledWorkflowClosure. - - - :param tasks: The tasks of this CoreCompiledWorkflowClosure. # noqa: E501 - :type: list[CoreCompiledTask] - """ - - self._tasks = tasks - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreCompiledWorkflowClosure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreCompiledWorkflowClosure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py deleted file mode 100644 index d28a2ac830..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_conjunction_expression.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator # noqa: F401,E501 -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: F401,E501 - - -class CoreConjunctionExpression(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'operator': 'ConjunctionExpressionLogicalOperator', - 'left_expression': 'CoreBooleanExpression', - 'right_expression': 'CoreBooleanExpression' - } - - attribute_map = { - 'operator': 'operator', - 'left_expression': 'left_expression', - 'right_expression': 'right_expression' - } - - def __init__(self, operator=None, left_expression=None, right_expression=None): # noqa: E501 - """CoreConjunctionExpression - a model defined in Swagger""" # noqa: E501 - - self._operator = None - self._left_expression = None - self._right_expression = None - self.discriminator = None - - if operator is not None: - self.operator = operator - if left_expression is not None: - self.left_expression = left_expression - if right_expression is not None: - self.right_expression = right_expression - - @property - def operator(self): - """Gets the operator of this CoreConjunctionExpression. # noqa: E501 - - - :return: The operator of this CoreConjunctionExpression. # noqa: E501 - :rtype: ConjunctionExpressionLogicalOperator - """ - return self._operator - - @operator.setter - def operator(self, operator): - """Sets the operator of this CoreConjunctionExpression. - - - :param operator: The operator of this CoreConjunctionExpression. # noqa: E501 - :type: ConjunctionExpressionLogicalOperator - """ - - self._operator = operator - - @property - def left_expression(self): - """Gets the left_expression of this CoreConjunctionExpression. # noqa: E501 - - - :return: The left_expression of this CoreConjunctionExpression. # noqa: E501 - :rtype: CoreBooleanExpression - """ - return self._left_expression - - @left_expression.setter - def left_expression(self, left_expression): - """Sets the left_expression of this CoreConjunctionExpression. - - - :param left_expression: The left_expression of this CoreConjunctionExpression. # noqa: E501 - :type: CoreBooleanExpression - """ - - self._left_expression = left_expression - - @property - def right_expression(self): - """Gets the right_expression of this CoreConjunctionExpression. # noqa: E501 - - - :return: The right_expression of this CoreConjunctionExpression. # noqa: E501 - :rtype: CoreBooleanExpression - """ - return self._right_expression - - @right_expression.setter - def right_expression(self, right_expression): - """Sets the right_expression of this CoreConjunctionExpression. - - - :param right_expression: The right_expression of this CoreConjunctionExpression. # noqa: E501 - :type: CoreBooleanExpression - """ - - self._right_expression = right_expression - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreConjunctionExpression, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreConjunctionExpression): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py deleted file mode 100644 index 05361c4a1e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_connection_set.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList # noqa: F401,E501 - - -class CoreConnectionSet(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'downstream': 'dict(str, ConnectionSetIdList)', - 'upstream': 'dict(str, ConnectionSetIdList)' - } - - attribute_map = { - 'downstream': 'downstream', - 'upstream': 'upstream' - } - - def __init__(self, downstream=None, upstream=None): # noqa: E501 - """CoreConnectionSet - a model defined in Swagger""" # noqa: E501 - - self._downstream = None - self._upstream = None - self.discriminator = None - - if downstream is not None: - self.downstream = downstream - if upstream is not None: - self.upstream = upstream - - @property - def downstream(self): - """Gets the downstream of this CoreConnectionSet. # noqa: E501 - - - :return: The downstream of this CoreConnectionSet. # noqa: E501 - :rtype: dict(str, ConnectionSetIdList) - """ - return self._downstream - - @downstream.setter - def downstream(self, downstream): - """Sets the downstream of this CoreConnectionSet. - - - :param downstream: The downstream of this CoreConnectionSet. # noqa: E501 - :type: dict(str, ConnectionSetIdList) - """ - - self._downstream = downstream - - @property - def upstream(self): - """Gets the upstream of this CoreConnectionSet. # noqa: E501 - - - :return: The upstream of this CoreConnectionSet. # noqa: E501 - :rtype: dict(str, ConnectionSetIdList) - """ - return self._upstream - - @upstream.setter - def upstream(self, upstream): - """Sets the upstream of this CoreConnectionSet. - - - :param upstream: The upstream of this CoreConnectionSet. # noqa: E501 - :type: dict(str, ConnectionSetIdList) - """ - - self._upstream = upstream - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreConnectionSet, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreConnectionSet): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py deleted file mode 100644 index d62eb07977..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container.py +++ /dev/null @@ -1,339 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.container_architecture import ContainerArchitecture # noqa: F401,E501 -from flyteadmin.models.core_container_port import CoreContainerPort # noqa: F401,E501 -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: F401,E501 -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: F401,E501 -from flyteadmin.models.core_resources import CoreResources # noqa: F401,E501 - - -class CoreContainer(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'image': 'str', - 'command': 'list[str]', - 'args': 'list[str]', - 'resources': 'CoreResources', - 'env': 'list[CoreKeyValuePair]', - 'config': 'list[CoreKeyValuePair]', - 'ports': 'list[CoreContainerPort]', - 'data_config': 'CoreDataLoadingConfig', - 'architecture': 'ContainerArchitecture' - } - - attribute_map = { - 'image': 'image', - 'command': 'command', - 'args': 'args', - 'resources': 'resources', - 'env': 'env', - 'config': 'config', - 'ports': 'ports', - 'data_config': 'data_config', - 'architecture': 'architecture' - } - - def __init__(self, image=None, command=None, args=None, resources=None, env=None, config=None, ports=None, data_config=None, architecture=None): # noqa: E501 - """CoreContainer - a model defined in Swagger""" # noqa: E501 - - self._image = None - self._command = None - self._args = None - self._resources = None - self._env = None - self._config = None - self._ports = None - self._data_config = None - self._architecture = None - self.discriminator = None - - if image is not None: - self.image = image - if command is not None: - self.command = command - if args is not None: - self.args = args - if resources is not None: - self.resources = resources - if env is not None: - self.env = env - if config is not None: - self.config = config - if ports is not None: - self.ports = ports - if data_config is not None: - self.data_config = data_config - if architecture is not None: - self.architecture = architecture - - @property - def image(self): - """Gets the image of this CoreContainer. # noqa: E501 - - - :return: The image of this CoreContainer. # noqa: E501 - :rtype: str - """ - return self._image - - @image.setter - def image(self, image): - """Sets the image of this CoreContainer. - - - :param image: The image of this CoreContainer. # noqa: E501 - :type: str - """ - - self._image = image - - @property - def command(self): - """Gets the command of this CoreContainer. # noqa: E501 - - Command to be executed, if not provided, the default entrypoint in the container image will be used. # noqa: E501 - - :return: The command of this CoreContainer. # noqa: E501 - :rtype: list[str] - """ - return self._command - - @command.setter - def command(self, command): - """Sets the command of this CoreContainer. - - Command to be executed, if not provided, the default entrypoint in the container image will be used. # noqa: E501 - - :param command: The command of this CoreContainer. # noqa: E501 - :type: list[str] - """ - - self._command = command - - @property - def args(self): - """Gets the args of this CoreContainer. # noqa: E501 - - These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. # noqa: E501 - - :return: The args of this CoreContainer. # noqa: E501 - :rtype: list[str] - """ - return self._args - - @args.setter - def args(self, args): - """Sets the args of this CoreContainer. - - These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container. # noqa: E501 - - :param args: The args of this CoreContainer. # noqa: E501 - :type: list[str] - """ - - self._args = args - - @property - def resources(self): - """Gets the resources of this CoreContainer. # noqa: E501 - - Container resources requirement as specified by the container engine. # noqa: E501 - - :return: The resources of this CoreContainer. # noqa: E501 - :rtype: CoreResources - """ - return self._resources - - @resources.setter - def resources(self, resources): - """Sets the resources of this CoreContainer. - - Container resources requirement as specified by the container engine. # noqa: E501 - - :param resources: The resources of this CoreContainer. # noqa: E501 - :type: CoreResources - """ - - self._resources = resources - - @property - def env(self): - """Gets the env of this CoreContainer. # noqa: E501 - - Environment variables will be set as the container is starting up. # noqa: E501 - - :return: The env of this CoreContainer. # noqa: E501 - :rtype: list[CoreKeyValuePair] - """ - return self._env - - @env.setter - def env(self, env): - """Sets the env of this CoreContainer. - - Environment variables will be set as the container is starting up. # noqa: E501 - - :param env: The env of this CoreContainer. # noqa: E501 - :type: list[CoreKeyValuePair] - """ - - self._env = env - - @property - def config(self): - """Gets the config of this CoreContainer. # noqa: E501 - - Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. # noqa: E501 - - :return: The config of this CoreContainer. # noqa: E501 - :rtype: list[CoreKeyValuePair] - """ - return self._config - - @config.setter - def config(self, config): - """Sets the config of this CoreContainer. - - Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead. # noqa: E501 - - :param config: The config of this CoreContainer. # noqa: E501 - :type: list[CoreKeyValuePair] - """ - - self._config = config - - @property - def ports(self): - """Gets the ports of this CoreContainer. # noqa: E501 - - - :return: The ports of this CoreContainer. # noqa: E501 - :rtype: list[CoreContainerPort] - """ - return self._ports - - @ports.setter - def ports(self, ports): - """Sets the ports of this CoreContainer. - - - :param ports: The ports of this CoreContainer. # noqa: E501 - :type: list[CoreContainerPort] - """ - - self._ports = ports - - @property - def data_config(self): - """Gets the data_config of this CoreContainer. # noqa: E501 - - - :return: The data_config of this CoreContainer. # noqa: E501 - :rtype: CoreDataLoadingConfig - """ - return self._data_config - - @data_config.setter - def data_config(self, data_config): - """Sets the data_config of this CoreContainer. - - - :param data_config: The data_config of this CoreContainer. # noqa: E501 - :type: CoreDataLoadingConfig - """ - - self._data_config = data_config - - @property - def architecture(self): - """Gets the architecture of this CoreContainer. # noqa: E501 - - - :return: The architecture of this CoreContainer. # noqa: E501 - :rtype: ContainerArchitecture - """ - return self._architecture - - @architecture.setter - def architecture(self, architecture): - """Sets the architecture of this CoreContainer. - - - :param architecture: The architecture of this CoreContainer. # noqa: E501 - :type: ContainerArchitecture - """ - - self._architecture = architecture - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreContainer, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreContainer): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py deleted file mode 100644 index 812da5c31e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_container_port.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreContainerPort(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'container_port': 'int' - } - - attribute_map = { - 'container_port': 'container_port' - } - - def __init__(self, container_port=None): # noqa: E501 - """CoreContainerPort - a model defined in Swagger""" # noqa: E501 - - self._container_port = None - self.discriminator = None - - if container_port is not None: - self.container_port = container_port - - @property - def container_port(self): - """Gets the container_port of this CoreContainerPort. # noqa: E501 - - Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 - - :return: The container_port of this CoreContainerPort. # noqa: E501 - :rtype: int - """ - return self._container_port - - @container_port.setter - def container_port(self, container_port): - """Sets the container_port of this CoreContainerPort. - - Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 - - :param container_port: The container_port of this CoreContainerPort. # noqa: E501 - :type: int - """ - - self._container_port = container_port - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreContainerPort, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreContainerPort): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py deleted file mode 100644 index 83e4629d4a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_data_loading_config.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_io_strategy import CoreIOStrategy # noqa: F401,E501 -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat # noqa: F401,E501 - - -class CoreDataLoadingConfig(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'enabled': 'bool', - 'input_path': 'str', - 'output_path': 'str', - 'format': 'DataLoadingConfigLiteralMapFormat', - 'io_strategy': 'CoreIOStrategy' - } - - attribute_map = { - 'enabled': 'enabled', - 'input_path': 'input_path', - 'output_path': 'output_path', - 'format': 'format', - 'io_strategy': 'io_strategy' - } - - def __init__(self, enabled=None, input_path=None, output_path=None, format=None, io_strategy=None): # noqa: E501 - """CoreDataLoadingConfig - a model defined in Swagger""" # noqa: E501 - - self._enabled = None - self._input_path = None - self._output_path = None - self._format = None - self._io_strategy = None - self.discriminator = None - - if enabled is not None: - self.enabled = enabled - if input_path is not None: - self.input_path = input_path - if output_path is not None: - self.output_path = output_path - if format is not None: - self.format = format - if io_strategy is not None: - self.io_strategy = io_strategy - - @property - def enabled(self): - """Gets the enabled of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The enabled of this CoreDataLoadingConfig. # noqa: E501 - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this CoreDataLoadingConfig. - - - :param enabled: The enabled of this CoreDataLoadingConfig. # noqa: E501 - :type: bool - """ - - self._enabled = enabled - - @property - def input_path(self): - """Gets the input_path of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The input_path of this CoreDataLoadingConfig. # noqa: E501 - :rtype: str - """ - return self._input_path - - @input_path.setter - def input_path(self, input_path): - """Sets the input_path of this CoreDataLoadingConfig. - - - :param input_path: The input_path of this CoreDataLoadingConfig. # noqa: E501 - :type: str - """ - - self._input_path = input_path - - @property - def output_path(self): - """Gets the output_path of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The output_path of this CoreDataLoadingConfig. # noqa: E501 - :rtype: str - """ - return self._output_path - - @output_path.setter - def output_path(self, output_path): - """Sets the output_path of this CoreDataLoadingConfig. - - - :param output_path: The output_path of this CoreDataLoadingConfig. # noqa: E501 - :type: str - """ - - self._output_path = output_path - - @property - def format(self): - """Gets the format of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The format of this CoreDataLoadingConfig. # noqa: E501 - :rtype: DataLoadingConfigLiteralMapFormat - """ - return self._format - - @format.setter - def format(self, format): - """Sets the format of this CoreDataLoadingConfig. - - - :param format: The format of this CoreDataLoadingConfig. # noqa: E501 - :type: DataLoadingConfigLiteralMapFormat - """ - - self._format = format - - @property - def io_strategy(self): - """Gets the io_strategy of this CoreDataLoadingConfig. # noqa: E501 - - - :return: The io_strategy of this CoreDataLoadingConfig. # noqa: E501 - :rtype: CoreIOStrategy - """ - return self._io_strategy - - @io_strategy.setter - def io_strategy(self, io_strategy): - """Sets the io_strategy of this CoreDataLoadingConfig. - - - :param io_strategy: The io_strategy of this CoreDataLoadingConfig. # noqa: E501 - :type: CoreIOStrategy - """ - - self._io_strategy = io_strategy - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreDataLoadingConfig, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreDataLoadingConfig): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py deleted file mode 100644 index bf9e6f85c6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_enum_type.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreEnumType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'list[str]' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """CoreEnumType - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this CoreEnumType. # noqa: E501 - - Predefined set of enum values. # noqa: E501 - - :return: The values of this CoreEnumType. # noqa: E501 - :rtype: list[str] - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this CoreEnumType. - - Predefined set of enum values. # noqa: E501 - - :param values: The values of this CoreEnumType. # noqa: E501 - :type: list[str] - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreEnumType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreEnumType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py deleted file mode 100644 index 50537e11db..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_error.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreError(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'failed_node_id': 'str', - 'message': 'str' - } - - attribute_map = { - 'failed_node_id': 'failed_node_id', - 'message': 'message' - } - - def __init__(self, failed_node_id=None, message=None): # noqa: E501 - """CoreError - a model defined in Swagger""" # noqa: E501 - - self._failed_node_id = None - self._message = None - self.discriminator = None - - if failed_node_id is not None: - self.failed_node_id = failed_node_id - if message is not None: - self.message = message - - @property - def failed_node_id(self): - """Gets the failed_node_id of this CoreError. # noqa: E501 - - The node id that threw the error. # noqa: E501 - - :return: The failed_node_id of this CoreError. # noqa: E501 - :rtype: str - """ - return self._failed_node_id - - @failed_node_id.setter - def failed_node_id(self, failed_node_id): - """Sets the failed_node_id of this CoreError. - - The node id that threw the error. # noqa: E501 - - :param failed_node_id: The failed_node_id of this CoreError. # noqa: E501 - :type: str - """ - - self._failed_node_id = failed_node_id - - @property - def message(self): - """Gets the message of this CoreError. # noqa: E501 - - Error message thrown. # noqa: E501 - - :return: The message of this CoreError. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this CoreError. - - Error message thrown. # noqa: E501 - - :param message: The message of this CoreError. # noqa: E501 - :type: str - """ - - self._message = message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreError, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreError): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py deleted file mode 100644 index b71cd287df..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_execution_error.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind # noqa: F401,E501 - - -class CoreExecutionError(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'str', - 'message': 'str', - 'error_uri': 'str', - 'kind': 'ExecutionErrorErrorKind' - } - - attribute_map = { - 'code': 'code', - 'message': 'message', - 'error_uri': 'error_uri', - 'kind': 'kind' - } - - def __init__(self, code=None, message=None, error_uri=None, kind=None): # noqa: E501 - """CoreExecutionError - a model defined in Swagger""" # noqa: E501 - - self._code = None - self._message = None - self._error_uri = None - self._kind = None - self.discriminator = None - - if code is not None: - self.code = code - if message is not None: - self.message = message - if error_uri is not None: - self.error_uri = error_uri - if kind is not None: - self.kind = kind - - @property - def code(self): - """Gets the code of this CoreExecutionError. # noqa: E501 - - - :return: The code of this CoreExecutionError. # noqa: E501 - :rtype: str - """ - return self._code - - @code.setter - def code(self, code): - """Sets the code of this CoreExecutionError. - - - :param code: The code of this CoreExecutionError. # noqa: E501 - :type: str - """ - - self._code = code - - @property - def message(self): - """Gets the message of this CoreExecutionError. # noqa: E501 - - Detailed description of the error - including stack trace. # noqa: E501 - - :return: The message of this CoreExecutionError. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this CoreExecutionError. - - Detailed description of the error - including stack trace. # noqa: E501 - - :param message: The message of this CoreExecutionError. # noqa: E501 - :type: str - """ - - self._message = message - - @property - def error_uri(self): - """Gets the error_uri of this CoreExecutionError. # noqa: E501 - - - :return: The error_uri of this CoreExecutionError. # noqa: E501 - :rtype: str - """ - return self._error_uri - - @error_uri.setter - def error_uri(self, error_uri): - """Sets the error_uri of this CoreExecutionError. - - - :param error_uri: The error_uri of this CoreExecutionError. # noqa: E501 - :type: str - """ - - self._error_uri = error_uri - - @property - def kind(self): - """Gets the kind of this CoreExecutionError. # noqa: E501 - - - :return: The kind of this CoreExecutionError. # noqa: E501 - :rtype: ExecutionErrorErrorKind - """ - return self._kind - - @kind.setter - def kind(self, kind): - """Sets the kind of this CoreExecutionError. - - - :param kind: The kind of this CoreExecutionError. # noqa: E501 - :type: ExecutionErrorErrorKind - """ - - self._kind = kind - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreExecutionError, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreExecutionError): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_extended_resources.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_extended_resources.py deleted file mode 100644 index 94a58bcd4f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_extended_resources.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_gpu_accelerator import CoreGPUAccelerator # noqa: F401,E501 - - -class CoreExtendedResources(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'gpu_accelerator': 'CoreGPUAccelerator' - } - - attribute_map = { - 'gpu_accelerator': 'gpu_accelerator' - } - - def __init__(self, gpu_accelerator=None): # noqa: E501 - """CoreExtendedResources - a model defined in Swagger""" # noqa: E501 - - self._gpu_accelerator = None - self.discriminator = None - - if gpu_accelerator is not None: - self.gpu_accelerator = gpu_accelerator - - @property - def gpu_accelerator(self): - """Gets the gpu_accelerator of this CoreExtendedResources. # noqa: E501 - - GPU accelerator to select for task. Contains information about device type, and for multi-instance GPUs, the partition size to use. # noqa: E501 - - :return: The gpu_accelerator of this CoreExtendedResources. # noqa: E501 - :rtype: CoreGPUAccelerator - """ - return self._gpu_accelerator - - @gpu_accelerator.setter - def gpu_accelerator(self, gpu_accelerator): - """Sets the gpu_accelerator of this CoreExtendedResources. - - GPU accelerator to select for task. Contains information about device type, and for multi-instance GPUs, the partition size to use. # noqa: E501 - - :param gpu_accelerator: The gpu_accelerator of this CoreExtendedResources. # noqa: E501 - :type: CoreGPUAccelerator - """ - - self._gpu_accelerator = gpu_accelerator - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreExtendedResources, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreExtendedResources): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_gate_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_gate_node.py deleted file mode 100644 index 87d54a2580..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_gate_node.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_approve_condition import CoreApproveCondition # noqa: F401,E501 -from flyteadmin.models.core_signal_condition import CoreSignalCondition # noqa: F401,E501 -from flyteadmin.models.core_sleep_condition import CoreSleepCondition # noqa: F401,E501 - - -class CoreGateNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'approve': 'CoreApproveCondition', - 'signal': 'CoreSignalCondition', - 'sleep': 'CoreSleepCondition' - } - - attribute_map = { - 'approve': 'approve', - 'signal': 'signal', - 'sleep': 'sleep' - } - - def __init__(self, approve=None, signal=None, sleep=None): # noqa: E501 - """CoreGateNode - a model defined in Swagger""" # noqa: E501 - - self._approve = None - self._signal = None - self._sleep = None - self.discriminator = None - - if approve is not None: - self.approve = approve - if signal is not None: - self.signal = signal - if sleep is not None: - self.sleep = sleep - - @property - def approve(self): - """Gets the approve of this CoreGateNode. # noqa: E501 - - ApproveCondition represents a dependency on an external approval provided by a boolean signal. # noqa: E501 - - :return: The approve of this CoreGateNode. # noqa: E501 - :rtype: CoreApproveCondition - """ - return self._approve - - @approve.setter - def approve(self, approve): - """Sets the approve of this CoreGateNode. - - ApproveCondition represents a dependency on an external approval provided by a boolean signal. # noqa: E501 - - :param approve: The approve of this CoreGateNode. # noqa: E501 - :type: CoreApproveCondition - """ - - self._approve = approve - - @property - def signal(self): - """Gets the signal of this CoreGateNode. # noqa: E501 - - SignalCondition represents a dependency on an signal. # noqa: E501 - - :return: The signal of this CoreGateNode. # noqa: E501 - :rtype: CoreSignalCondition - """ - return self._signal - - @signal.setter - def signal(self, signal): - """Sets the signal of this CoreGateNode. - - SignalCondition represents a dependency on an signal. # noqa: E501 - - :param signal: The signal of this CoreGateNode. # noqa: E501 - :type: CoreSignalCondition - """ - - self._signal = signal - - @property - def sleep(self): - """Gets the sleep of this CoreGateNode. # noqa: E501 - - SleepCondition represents a dependency on waiting for the specified duration. # noqa: E501 - - :return: The sleep of this CoreGateNode. # noqa: E501 - :rtype: CoreSleepCondition - """ - return self._sleep - - @sleep.setter - def sleep(self, sleep): - """Sets the sleep of this CoreGateNode. - - SleepCondition represents a dependency on waiting for the specified duration. # noqa: E501 - - :param sleep: The sleep of this CoreGateNode. # noqa: E501 - :type: CoreSleepCondition - """ - - self._sleep = sleep - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreGateNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreGateNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_gpu_accelerator.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_gpu_accelerator.py deleted file mode 100644 index 760ff43267..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_gpu_accelerator.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreGPUAccelerator(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'device': 'str', - 'unpartitioned': 'bool', - 'partition_size': 'str' - } - - attribute_map = { - 'device': 'device', - 'unpartitioned': 'unpartitioned', - 'partition_size': 'partition_size' - } - - def __init__(self, device=None, unpartitioned=None, partition_size=None): # noqa: E501 - """CoreGPUAccelerator - a model defined in Swagger""" # noqa: E501 - - self._device = None - self._unpartitioned = None - self._partition_size = None - self.discriminator = None - - if device is not None: - self.device = device - if unpartitioned is not None: - self.unpartitioned = unpartitioned - if partition_size is not None: - self.partition_size = partition_size - - @property - def device(self): - """Gets the device of this CoreGPUAccelerator. # noqa: E501 - - This can be any arbitrary string, and should be informed by the labels or taints associated with the nodes in question. Default cloud provider labels typically use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc. # noqa: E501 - - :return: The device of this CoreGPUAccelerator. # noqa: E501 - :rtype: str - """ - return self._device - - @device.setter - def device(self, device): - """Sets the device of this CoreGPUAccelerator. - - This can be any arbitrary string, and should be informed by the labels or taints associated with the nodes in question. Default cloud provider labels typically use the following values: `nvidia-tesla-t4`, `nvidia-tesla-a100`, etc. # noqa: E501 - - :param device: The device of this CoreGPUAccelerator. # noqa: E501 - :type: str - """ - - self._device = device - - @property - def unpartitioned(self): - """Gets the unpartitioned of this CoreGPUAccelerator. # noqa: E501 - - - :return: The unpartitioned of this CoreGPUAccelerator. # noqa: E501 - :rtype: bool - """ - return self._unpartitioned - - @unpartitioned.setter - def unpartitioned(self, unpartitioned): - """Sets the unpartitioned of this CoreGPUAccelerator. - - - :param unpartitioned: The unpartitioned of this CoreGPUAccelerator. # noqa: E501 - :type: bool - """ - - self._unpartitioned = unpartitioned - - @property - def partition_size(self): - """Gets the partition_size of this CoreGPUAccelerator. # noqa: E501 - - Like `device`, this can be any arbitrary string, and should be informed by the labels or taints associated with the nodes in question. Default cloud provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc. # noqa: E501 - - :return: The partition_size of this CoreGPUAccelerator. # noqa: E501 - :rtype: str - """ - return self._partition_size - - @partition_size.setter - def partition_size(self, partition_size): - """Sets the partition_size of this CoreGPUAccelerator. - - Like `device`, this can be any arbitrary string, and should be informed by the labels or taints associated with the nodes in question. Default cloud provider labels typically use the following values: `1g.5gb`, `2g.10gb`, etc. # noqa: E501 - - :param partition_size: The partition_size of this CoreGPUAccelerator. # noqa: E501 - :type: str - """ - - self._partition_size = partition_size - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreGPUAccelerator, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreGPUAccelerator): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py deleted file mode 100644 index 1770753b3e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identifier.py +++ /dev/null @@ -1,259 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: F401,E501 - - -class CoreIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resource_type': 'CoreResourceType', - 'project': 'str', - 'domain': 'str', - 'name': 'str', - 'version': 'str', - 'org': 'str' - } - - attribute_map = { - 'resource_type': 'resource_type', - 'project': 'project', - 'domain': 'domain', - 'name': 'name', - 'version': 'version', - 'org': 'org' - } - - def __init__(self, resource_type=None, project=None, domain=None, name=None, version=None, org=None): # noqa: E501 - """CoreIdentifier - a model defined in Swagger""" # noqa: E501 - - self._resource_type = None - self._project = None - self._domain = None - self._name = None - self._version = None - self._org = None - self.discriminator = None - - if resource_type is not None: - self.resource_type = resource_type - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - if version is not None: - self.version = version - if org is not None: - self.org = org - - @property - def resource_type(self): - """Gets the resource_type of this CoreIdentifier. # noqa: E501 - - Identifies the specific type of resource that this identifier corresponds to. # noqa: E501 - - :return: The resource_type of this CoreIdentifier. # noqa: E501 - :rtype: CoreResourceType - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this CoreIdentifier. - - Identifies the specific type of resource that this identifier corresponds to. # noqa: E501 - - :param resource_type: The resource_type of this CoreIdentifier. # noqa: E501 - :type: CoreResourceType - """ - - self._resource_type = resource_type - - @property - def project(self): - """Gets the project of this CoreIdentifier. # noqa: E501 - - Name of the project the resource belongs to. # noqa: E501 - - :return: The project of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this CoreIdentifier. - - Name of the project the resource belongs to. # noqa: E501 - - :param project: The project of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this CoreIdentifier. # noqa: E501 - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :return: The domain of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this CoreIdentifier. - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :param domain: The domain of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this CoreIdentifier. # noqa: E501 - - User provided value for the resource. # noqa: E501 - - :return: The name of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreIdentifier. - - User provided value for the resource. # noqa: E501 - - :param name: The name of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def version(self): - """Gets the version of this CoreIdentifier. # noqa: E501 - - Specific version of the resource. # noqa: E501 - - :return: The version of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this CoreIdentifier. - - Specific version of the resource. # noqa: E501 - - :param version: The version of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._version = version - - @property - def org(self): - """Gets the org of this CoreIdentifier. # noqa: E501 - - Optional, org key applied to the resource. # noqa: E501 - - :return: The org of this CoreIdentifier. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this CoreIdentifier. - - Optional, org key applied to the resource. # noqa: E501 - - :param org: The org of this CoreIdentifier. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py deleted file mode 100644 index 8ca7ce92b7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: F401,E501 - - -class CoreIdentity(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'iam_role': 'str', - 'k8s_service_account': 'str', - 'oauth2_client': 'CoreOAuth2Client', - 'execution_identity': 'str' - } - - attribute_map = { - 'iam_role': 'iam_role', - 'k8s_service_account': 'k8s_service_account', - 'oauth2_client': 'oauth2_client', - 'execution_identity': 'execution_identity' - } - - def __init__(self, iam_role=None, k8s_service_account=None, oauth2_client=None, execution_identity=None): # noqa: E501 - """CoreIdentity - a model defined in Swagger""" # noqa: E501 - - self._iam_role = None - self._k8s_service_account = None - self._oauth2_client = None - self._execution_identity = None - self.discriminator = None - - if iam_role is not None: - self.iam_role = iam_role - if k8s_service_account is not None: - self.k8s_service_account = k8s_service_account - if oauth2_client is not None: - self.oauth2_client = oauth2_client - if execution_identity is not None: - self.execution_identity = execution_identity - - @property - def iam_role(self): - """Gets the iam_role of this CoreIdentity. # noqa: E501 - - iam_role references the fully qualified name of Identity & Access Management role to impersonate. # noqa: E501 - - :return: The iam_role of this CoreIdentity. # noqa: E501 - :rtype: str - """ - return self._iam_role - - @iam_role.setter - def iam_role(self, iam_role): - """Sets the iam_role of this CoreIdentity. - - iam_role references the fully qualified name of Identity & Access Management role to impersonate. # noqa: E501 - - :param iam_role: The iam_role of this CoreIdentity. # noqa: E501 - :type: str - """ - - self._iam_role = iam_role - - @property - def k8s_service_account(self): - """Gets the k8s_service_account of this CoreIdentity. # noqa: E501 - - k8s_service_account references a kubernetes service account to impersonate. # noqa: E501 - - :return: The k8s_service_account of this CoreIdentity. # noqa: E501 - :rtype: str - """ - return self._k8s_service_account - - @k8s_service_account.setter - def k8s_service_account(self, k8s_service_account): - """Sets the k8s_service_account of this CoreIdentity. - - k8s_service_account references a kubernetes service account to impersonate. # noqa: E501 - - :param k8s_service_account: The k8s_service_account of this CoreIdentity. # noqa: E501 - :type: str - """ - - self._k8s_service_account = k8s_service_account - - @property - def oauth2_client(self): - """Gets the oauth2_client of this CoreIdentity. # noqa: E501 - - oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. # noqa: E501 - - :return: The oauth2_client of this CoreIdentity. # noqa: E501 - :rtype: CoreOAuth2Client - """ - return self._oauth2_client - - @oauth2_client.setter - def oauth2_client(self, oauth2_client): - """Sets the oauth2_client of this CoreIdentity. - - oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. # noqa: E501 - - :param oauth2_client: The oauth2_client of this CoreIdentity. # noqa: E501 - :type: CoreOAuth2Client - """ - - self._oauth2_client = oauth2_client - - @property - def execution_identity(self): - """Gets the execution_identity of this CoreIdentity. # noqa: E501 - - - :return: The execution_identity of this CoreIdentity. # noqa: E501 - :rtype: str - """ - return self._execution_identity - - @execution_identity.setter - def execution_identity(self, execution_identity): - """Sets the execution_identity of this CoreIdentity. - - - :param execution_identity: The execution_identity of this CoreIdentity. # noqa: E501 - :type: str - """ - - self._execution_identity = execution_identity - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIdentity, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIdentity): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py deleted file mode 100644 index 5368a70365..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_block.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: F401,E501 -from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 - - -class CoreIfBlock(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'condition': 'CoreBooleanExpression', - 'then_node': 'CoreNode' - } - - attribute_map = { - 'condition': 'condition', - 'then_node': 'then_node' - } - - def __init__(self, condition=None, then_node=None): # noqa: E501 - """CoreIfBlock - a model defined in Swagger""" # noqa: E501 - - self._condition = None - self._then_node = None - self.discriminator = None - - if condition is not None: - self.condition = condition - if then_node is not None: - self.then_node = then_node - - @property - def condition(self): - """Gets the condition of this CoreIfBlock. # noqa: E501 - - - :return: The condition of this CoreIfBlock. # noqa: E501 - :rtype: CoreBooleanExpression - """ - return self._condition - - @condition.setter - def condition(self, condition): - """Sets the condition of this CoreIfBlock. - - - :param condition: The condition of this CoreIfBlock. # noqa: E501 - :type: CoreBooleanExpression - """ - - self._condition = condition - - @property - def then_node(self): - """Gets the then_node of this CoreIfBlock. # noqa: E501 - - - :return: The then_node of this CoreIfBlock. # noqa: E501 - :rtype: CoreNode - """ - return self._then_node - - @then_node.setter - def then_node(self, then_node): - """Sets the then_node of this CoreIfBlock. - - - :param then_node: The then_node of this CoreIfBlock. # noqa: E501 - :type: CoreNode - """ - - self._then_node = then_node - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIfBlock, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIfBlock): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py deleted file mode 100644 index bff092a8a8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_if_else_block.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_error import CoreError # noqa: F401,E501 -from flyteadmin.models.core_if_block import CoreIfBlock # noqa: F401,E501 -from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 - - -class CoreIfElseBlock(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'case': 'CoreIfBlock', - 'other': 'list[CoreIfBlock]', - 'else_node': 'CoreNode', - 'error': 'CoreError' - } - - attribute_map = { - 'case': 'case', - 'other': 'other', - 'else_node': 'else_node', - 'error': 'error' - } - - def __init__(self, case=None, other=None, else_node=None, error=None): # noqa: E501 - """CoreIfElseBlock - a model defined in Swagger""" # noqa: E501 - - self._case = None - self._other = None - self._else_node = None - self._error = None - self.discriminator = None - - if case is not None: - self.case = case - if other is not None: - self.other = other - if else_node is not None: - self.else_node = else_node - if error is not None: - self.error = error - - @property - def case(self): - """Gets the case of this CoreIfElseBlock. # noqa: E501 - - +required. First condition to evaluate. # noqa: E501 - - :return: The case of this CoreIfElseBlock. # noqa: E501 - :rtype: CoreIfBlock - """ - return self._case - - @case.setter - def case(self, case): - """Sets the case of this CoreIfElseBlock. - - +required. First condition to evaluate. # noqa: E501 - - :param case: The case of this CoreIfElseBlock. # noqa: E501 - :type: CoreIfBlock - """ - - self._case = case - - @property - def other(self): - """Gets the other of this CoreIfElseBlock. # noqa: E501 - - +optional. Additional branches to evaluate. # noqa: E501 - - :return: The other of this CoreIfElseBlock. # noqa: E501 - :rtype: list[CoreIfBlock] - """ - return self._other - - @other.setter - def other(self, other): - """Sets the other of this CoreIfElseBlock. - - +optional. Additional branches to evaluate. # noqa: E501 - - :param other: The other of this CoreIfElseBlock. # noqa: E501 - :type: list[CoreIfBlock] - """ - - self._other = other - - @property - def else_node(self): - """Gets the else_node of this CoreIfElseBlock. # noqa: E501 - - The node to execute in case none of the branches were taken. # noqa: E501 - - :return: The else_node of this CoreIfElseBlock. # noqa: E501 - :rtype: CoreNode - """ - return self._else_node - - @else_node.setter - def else_node(self, else_node): - """Sets the else_node of this CoreIfElseBlock. - - The node to execute in case none of the branches were taken. # noqa: E501 - - :param else_node: The else_node of this CoreIfElseBlock. # noqa: E501 - :type: CoreNode - """ - - self._else_node = else_node - - @property - def error(self): - """Gets the error of this CoreIfElseBlock. # noqa: E501 - - An error to throw in case none of the branches were taken. # noqa: E501 - - :return: The error of this CoreIfElseBlock. # noqa: E501 - :rtype: CoreError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this CoreIfElseBlock. - - An error to throw in case none of the branches were taken. # noqa: E501 - - :param error: The error of this CoreIfElseBlock. # noqa: E501 - :type: CoreError - """ - - self._error = error - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIfElseBlock, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIfElseBlock): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py deleted file mode 100644 index 88a1c11a3b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreInputBindingData(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'var': 'str' - } - - attribute_map = { - 'var': 'var' - } - - def __init__(self, var=None): # noqa: E501 - """CoreInputBindingData - a model defined in Swagger""" # noqa: E501 - - self._var = None - self.discriminator = None - - if var is not None: - self.var = var - - @property - def var(self): - """Gets the var of this CoreInputBindingData. # noqa: E501 - - - :return: The var of this CoreInputBindingData. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreInputBindingData. - - - :param var: The var of this CoreInputBindingData. # noqa: E501 - :type: str - """ - - self._var = var - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreInputBindingData, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreInputBindingData): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py deleted file mode 100644 index 8260e8eb17..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_io_strategy.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode # noqa: F401,E501 -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode # noqa: F401,E501 - - -class CoreIOStrategy(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'download_mode': 'IOStrategyDownloadMode', - 'upload_mode': 'IOStrategyUploadMode' - } - - attribute_map = { - 'download_mode': 'download_mode', - 'upload_mode': 'upload_mode' - } - - def __init__(self, download_mode=None, upload_mode=None): # noqa: E501 - """CoreIOStrategy - a model defined in Swagger""" # noqa: E501 - - self._download_mode = None - self._upload_mode = None - self.discriminator = None - - if download_mode is not None: - self.download_mode = download_mode - if upload_mode is not None: - self.upload_mode = upload_mode - - @property - def download_mode(self): - """Gets the download_mode of this CoreIOStrategy. # noqa: E501 - - - :return: The download_mode of this CoreIOStrategy. # noqa: E501 - :rtype: IOStrategyDownloadMode - """ - return self._download_mode - - @download_mode.setter - def download_mode(self, download_mode): - """Sets the download_mode of this CoreIOStrategy. - - - :param download_mode: The download_mode of this CoreIOStrategy. # noqa: E501 - :type: IOStrategyDownloadMode - """ - - self._download_mode = download_mode - - @property - def upload_mode(self): - """Gets the upload_mode of this CoreIOStrategy. # noqa: E501 - - - :return: The upload_mode of this CoreIOStrategy. # noqa: E501 - :rtype: IOStrategyUploadMode - """ - return self._upload_mode - - @upload_mode.setter - def upload_mode(self, upload_mode): - """Sets the upload_mode of this CoreIOStrategy. - - - :param upload_mode: The upload_mode of this CoreIOStrategy. # noqa: E501 - :type: IOStrategyUploadMode - """ - - self._upload_mode = upload_mode - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreIOStrategy, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreIOStrategy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py deleted file mode 100644 index 439e7a5db1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_object_metadata.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreK8sObjectMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'labels': 'dict(str, str)', - 'annotations': 'dict(str, str)' - } - - attribute_map = { - 'labels': 'labels', - 'annotations': 'annotations' - } - - def __init__(self, labels=None, annotations=None): # noqa: E501 - """CoreK8sObjectMetadata - a model defined in Swagger""" # noqa: E501 - - self._labels = None - self._annotations = None - self.discriminator = None - - if labels is not None: - self.labels = labels - if annotations is not None: - self.annotations = annotations - - @property - def labels(self): - """Gets the labels of this CoreK8sObjectMetadata. # noqa: E501 - - Optional labels to add to the pod definition. # noqa: E501 - - :return: The labels of this CoreK8sObjectMetadata. # noqa: E501 - :rtype: dict(str, str) - """ - return self._labels - - @labels.setter - def labels(self, labels): - """Sets the labels of this CoreK8sObjectMetadata. - - Optional labels to add to the pod definition. # noqa: E501 - - :param labels: The labels of this CoreK8sObjectMetadata. # noqa: E501 - :type: dict(str, str) - """ - - self._labels = labels - - @property - def annotations(self): - """Gets the annotations of this CoreK8sObjectMetadata. # noqa: E501 - - Optional annotations to add to the pod definition. # noqa: E501 - - :return: The annotations of this CoreK8sObjectMetadata. # noqa: E501 - :rtype: dict(str, str) - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this CoreK8sObjectMetadata. - - Optional annotations to add to the pod definition. # noqa: E501 - - :param annotations: The annotations of this CoreK8sObjectMetadata. # noqa: E501 - :type: dict(str, str) - """ - - self._annotations = annotations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreK8sObjectMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreK8sObjectMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py deleted file mode 100644 index 5333af8df0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: F401,E501 -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreK8sPod(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'metadata': 'CoreK8sObjectMetadata', - 'pod_spec': 'ProtobufStruct', - 'data_config': 'CoreDataLoadingConfig' - } - - attribute_map = { - 'metadata': 'metadata', - 'pod_spec': 'pod_spec', - 'data_config': 'data_config' - } - - def __init__(self, metadata=None, pod_spec=None, data_config=None): # noqa: E501 - """CoreK8sPod - a model defined in Swagger""" # noqa: E501 - - self._metadata = None - self._pod_spec = None - self._data_config = None - self.discriminator = None - - if metadata is not None: - self.metadata = metadata - if pod_spec is not None: - self.pod_spec = pod_spec - if data_config is not None: - self.data_config = data_config - - @property - def metadata(self): - """Gets the metadata of this CoreK8sPod. # noqa: E501 - - Contains additional metadata for building a kubernetes pod. # noqa: E501 - - :return: The metadata of this CoreK8sPod. # noqa: E501 - :rtype: CoreK8sObjectMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreK8sPod. - - Contains additional metadata for building a kubernetes pod. # noqa: E501 - - :param metadata: The metadata of this CoreK8sPod. # noqa: E501 - :type: CoreK8sObjectMetadata - """ - - self._metadata = metadata - - @property - def pod_spec(self): - """Gets the pod_spec of this CoreK8sPod. # noqa: E501 - - - :return: The pod_spec of this CoreK8sPod. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._pod_spec - - @pod_spec.setter - def pod_spec(self, pod_spec): - """Sets the pod_spec of this CoreK8sPod. - - - :param pod_spec: The pod_spec of this CoreK8sPod. # noqa: E501 - :type: ProtobufStruct - """ - - self._pod_spec = pod_spec - - @property - def data_config(self): - """Gets the data_config of this CoreK8sPod. # noqa: E501 - - - :return: The data_config of this CoreK8sPod. # noqa: E501 - :rtype: CoreDataLoadingConfig - """ - return self._data_config - - @data_config.setter - def data_config(self, data_config): - """Sets the data_config of this CoreK8sPod. - - - :param data_config: The data_config of this CoreK8sPod. # noqa: E501 - :type: CoreDataLoadingConfig - """ - - self._data_config = data_config - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreK8sPod, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreK8sPod): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py deleted file mode 100644 index cd985c0fec..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_key_value_pair.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreKeyValuePair(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'key': 'str', - 'value': 'str' - } - - attribute_map = { - 'key': 'key', - 'value': 'value' - } - - def __init__(self, key=None, value=None): # noqa: E501 - """CoreKeyValuePair - a model defined in Swagger""" # noqa: E501 - - self._key = None - self._value = None - self.discriminator = None - - if key is not None: - self.key = key - if value is not None: - self.value = value - - @property - def key(self): - """Gets the key of this CoreKeyValuePair. # noqa: E501 - - required. # noqa: E501 - - :return: The key of this CoreKeyValuePair. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this CoreKeyValuePair. - - required. # noqa: E501 - - :param key: The key of this CoreKeyValuePair. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def value(self): - """Gets the value of this CoreKeyValuePair. # noqa: E501 - - +optional. # noqa: E501 - - :return: The value of this CoreKeyValuePair. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreKeyValuePair. - - +optional. # noqa: E501 - - :param value: The value of this CoreKeyValuePair. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreKeyValuePair, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreKeyValuePair): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py deleted file mode 100644 index 915c128b6e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py +++ /dev/null @@ -1,196 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData # noqa: F401,E501 -from flyteadmin.models.core_input_binding_data import CoreInputBindingData # noqa: F401,E501 - - -class CoreLabelValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'static_value': 'str', - 'time_value': 'datetime', - 'triggered_binding': 'CoreArtifactBindingData', - 'input_binding': 'CoreInputBindingData' - } - - attribute_map = { - 'static_value': 'static_value', - 'time_value': 'time_value', - 'triggered_binding': 'triggered_binding', - 'input_binding': 'input_binding' - } - - def __init__(self, static_value=None, time_value=None, triggered_binding=None, input_binding=None): # noqa: E501 - """CoreLabelValue - a model defined in Swagger""" # noqa: E501 - - self._static_value = None - self._time_value = None - self._triggered_binding = None - self._input_binding = None - self.discriminator = None - - if static_value is not None: - self.static_value = static_value - if time_value is not None: - self.time_value = time_value - if triggered_binding is not None: - self.triggered_binding = triggered_binding - if input_binding is not None: - self.input_binding = input_binding - - @property - def static_value(self): - """Gets the static_value of this CoreLabelValue. # noqa: E501 - - - :return: The static_value of this CoreLabelValue. # noqa: E501 - :rtype: str - """ - return self._static_value - - @static_value.setter - def static_value(self, static_value): - """Sets the static_value of this CoreLabelValue. - - - :param static_value: The static_value of this CoreLabelValue. # noqa: E501 - :type: str - """ - - self._static_value = static_value - - @property - def time_value(self): - """Gets the time_value of this CoreLabelValue. # noqa: E501 - - - :return: The time_value of this CoreLabelValue. # noqa: E501 - :rtype: datetime - """ - return self._time_value - - @time_value.setter - def time_value(self, time_value): - """Sets the time_value of this CoreLabelValue. - - - :param time_value: The time_value of this CoreLabelValue. # noqa: E501 - :type: datetime - """ - - self._time_value = time_value - - @property - def triggered_binding(self): - """Gets the triggered_binding of this CoreLabelValue. # noqa: E501 - - - :return: The triggered_binding of this CoreLabelValue. # noqa: E501 - :rtype: CoreArtifactBindingData - """ - return self._triggered_binding - - @triggered_binding.setter - def triggered_binding(self, triggered_binding): - """Sets the triggered_binding of this CoreLabelValue. - - - :param triggered_binding: The triggered_binding of this CoreLabelValue. # noqa: E501 - :type: CoreArtifactBindingData - """ - - self._triggered_binding = triggered_binding - - @property - def input_binding(self): - """Gets the input_binding of this CoreLabelValue. # noqa: E501 - - - :return: The input_binding of this CoreLabelValue. # noqa: E501 - :rtype: CoreInputBindingData - """ - return self._input_binding - - @input_binding.setter - def input_binding(self, input_binding): - """Sets the input_binding of this CoreLabelValue. - - - :param input_binding: The input_binding of this CoreLabelValue. # noqa: E501 - :type: CoreInputBindingData - """ - - self._input_binding = input_binding - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLabelValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLabelValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py deleted file mode 100644 index da80711e0c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_collection import CoreLiteralCollection # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_scalar import CoreScalar # noqa: F401,E501 - - -class CoreLiteral(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'scalar': 'CoreScalar', - 'collection': 'CoreLiteralCollection', - 'map': 'CoreLiteralMap', - 'hash': 'str', - 'metadata': 'dict(str, str)' - } - - attribute_map = { - 'scalar': 'scalar', - 'collection': 'collection', - 'map': 'map', - 'hash': 'hash', - 'metadata': 'metadata' - } - - def __init__(self, scalar=None, collection=None, map=None, hash=None, metadata=None): # noqa: E501 - """CoreLiteral - a model defined in Swagger""" # noqa: E501 - - self._scalar = None - self._collection = None - self._map = None - self._hash = None - self._metadata = None - self.discriminator = None - - if scalar is not None: - self.scalar = scalar - if collection is not None: - self.collection = collection - if map is not None: - self.map = map - if hash is not None: - self.hash = hash - if metadata is not None: - self.metadata = metadata - - @property - def scalar(self): - """Gets the scalar of this CoreLiteral. # noqa: E501 - - A simple value. # noqa: E501 - - :return: The scalar of this CoreLiteral. # noqa: E501 - :rtype: CoreScalar - """ - return self._scalar - - @scalar.setter - def scalar(self, scalar): - """Sets the scalar of this CoreLiteral. - - A simple value. # noqa: E501 - - :param scalar: The scalar of this CoreLiteral. # noqa: E501 - :type: CoreScalar - """ - - self._scalar = scalar - - @property - def collection(self): - """Gets the collection of this CoreLiteral. # noqa: E501 - - A collection of literals to allow nesting. # noqa: E501 - - :return: The collection of this CoreLiteral. # noqa: E501 - :rtype: CoreLiteralCollection - """ - return self._collection - - @collection.setter - def collection(self, collection): - """Sets the collection of this CoreLiteral. - - A collection of literals to allow nesting. # noqa: E501 - - :param collection: The collection of this CoreLiteral. # noqa: E501 - :type: CoreLiteralCollection - """ - - self._collection = collection - - @property - def map(self): - """Gets the map of this CoreLiteral. # noqa: E501 - - A map of strings to literals. # noqa: E501 - - :return: The map of this CoreLiteral. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._map - - @map.setter - def map(self, map): - """Sets the map of this CoreLiteral. - - A map of strings to literals. # noqa: E501 - - :param map: The map of this CoreLiteral. # noqa: E501 - :type: CoreLiteralMap - """ - - self._map = map - - @property - def hash(self): - """Gets the hash of this CoreLiteral. # noqa: E501 - - - :return: The hash of this CoreLiteral. # noqa: E501 - :rtype: str - """ - return self._hash - - @hash.setter - def hash(self, hash): - """Sets the hash of this CoreLiteral. - - - :param hash: The hash of this CoreLiteral. # noqa: E501 - :type: str - """ - - self._hash = hash - - @property - def metadata(self): - """Gets the metadata of this CoreLiteral. # noqa: E501 - - Additional metadata for literals. # noqa: E501 - - :return: The metadata of this CoreLiteral. # noqa: E501 - :rtype: dict(str, str) - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreLiteral. - - Additional metadata for literals. # noqa: E501 - - :param metadata: The metadata of this CoreLiteral. # noqa: E501 - :type: dict(str, str) - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteral, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteral): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py deleted file mode 100644 index 325550f749..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_collection.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 - - -class CoreLiteralCollection(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'literals': 'list[CoreLiteral]' - } - - attribute_map = { - 'literals': 'literals' - } - - def __init__(self, literals=None): # noqa: E501 - """CoreLiteralCollection - a model defined in Swagger""" # noqa: E501 - - self._literals = None - self.discriminator = None - - if literals is not None: - self.literals = literals - - @property - def literals(self): - """Gets the literals of this CoreLiteralCollection. # noqa: E501 - - - :return: The literals of this CoreLiteralCollection. # noqa: E501 - :rtype: list[CoreLiteral] - """ - return self._literals - - @literals.setter - def literals(self, literals): - """Sets the literals of this CoreLiteralCollection. - - - :param literals: The literals of this CoreLiteralCollection. # noqa: E501 - :type: list[CoreLiteral] - """ - - self._literals = literals - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteralCollection, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteralCollection): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py deleted file mode 100644 index bdcf7cc370..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_map.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 - - -class CoreLiteralMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'literals': 'dict(str, CoreLiteral)' - } - - attribute_map = { - 'literals': 'literals' - } - - def __init__(self, literals=None): # noqa: E501 - """CoreLiteralMap - a model defined in Swagger""" # noqa: E501 - - self._literals = None - self.discriminator = None - - if literals is not None: - self.literals = literals - - @property - def literals(self): - """Gets the literals of this CoreLiteralMap. # noqa: E501 - - - :return: The literals of this CoreLiteralMap. # noqa: E501 - :rtype: dict(str, CoreLiteral) - """ - return self._literals - - @literals.setter - def literals(self, literals): - """Sets the literals of this CoreLiteralMap. - - - :param literals: The literals of this CoreLiteralMap. # noqa: E501 - :type: dict(str, CoreLiteral) - """ - - self._literals = literals - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteralMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteralMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py deleted file mode 100644 index efa49c9ce1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_literal_type.py +++ /dev/null @@ -1,406 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_blob_type import CoreBlobType # noqa: F401,E501 -from flyteadmin.models.core_enum_type import CoreEnumType # noqa: F401,E501 -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 -from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: F401,E501 -from flyteadmin.models.core_simple_type import CoreSimpleType # noqa: F401,E501 -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: F401,E501 -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation # noqa: F401,E501 -from flyteadmin.models.core_type_structure import CoreTypeStructure # noqa: F401,E501 -from flyteadmin.models.core_union_type import CoreUnionType # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreLiteralType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'simple': 'CoreSimpleType', - 'schema': 'CoreSchemaType', - 'collection_type': 'CoreLiteralType', - 'map_value_type': 'CoreLiteralType', - 'blob': 'CoreBlobType', - 'enum_type': 'CoreEnumType', - 'structured_dataset_type': 'CoreStructuredDatasetType', - 'union_type': 'CoreUnionType', - 'metadata': 'ProtobufStruct', - 'annotation': 'CoreTypeAnnotation', - 'structure': 'CoreTypeStructure' - } - - attribute_map = { - 'simple': 'simple', - 'schema': 'schema', - 'collection_type': 'collection_type', - 'map_value_type': 'map_value_type', - 'blob': 'blob', - 'enum_type': 'enum_type', - 'structured_dataset_type': 'structured_dataset_type', - 'union_type': 'union_type', - 'metadata': 'metadata', - 'annotation': 'annotation', - 'structure': 'structure' - } - - def __init__(self, simple=None, schema=None, collection_type=None, map_value_type=None, blob=None, enum_type=None, structured_dataset_type=None, union_type=None, metadata=None, annotation=None, structure=None): # noqa: E501 - """CoreLiteralType - a model defined in Swagger""" # noqa: E501 - - self._simple = None - self._schema = None - self._collection_type = None - self._map_value_type = None - self._blob = None - self._enum_type = None - self._structured_dataset_type = None - self._union_type = None - self._metadata = None - self._annotation = None - self._structure = None - self.discriminator = None - - if simple is not None: - self.simple = simple - if schema is not None: - self.schema = schema - if collection_type is not None: - self.collection_type = collection_type - if map_value_type is not None: - self.map_value_type = map_value_type - if blob is not None: - self.blob = blob - if enum_type is not None: - self.enum_type = enum_type - if structured_dataset_type is not None: - self.structured_dataset_type = structured_dataset_type - if union_type is not None: - self.union_type = union_type - if metadata is not None: - self.metadata = metadata - if annotation is not None: - self.annotation = annotation - if structure is not None: - self.structure = structure - - @property - def simple(self): - """Gets the simple of this CoreLiteralType. # noqa: E501 - - A simple type that can be compared one-to-one with another. # noqa: E501 - - :return: The simple of this CoreLiteralType. # noqa: E501 - :rtype: CoreSimpleType - """ - return self._simple - - @simple.setter - def simple(self, simple): - """Sets the simple of this CoreLiteralType. - - A simple type that can be compared one-to-one with another. # noqa: E501 - - :param simple: The simple of this CoreLiteralType. # noqa: E501 - :type: CoreSimpleType - """ - - self._simple = simple - - @property - def schema(self): - """Gets the schema of this CoreLiteralType. # noqa: E501 - - A complex type that requires matching of inner fields. # noqa: E501 - - :return: The schema of this CoreLiteralType. # noqa: E501 - :rtype: CoreSchemaType - """ - return self._schema - - @schema.setter - def schema(self, schema): - """Sets the schema of this CoreLiteralType. - - A complex type that requires matching of inner fields. # noqa: E501 - - :param schema: The schema of this CoreLiteralType. # noqa: E501 - :type: CoreSchemaType - """ - - self._schema = schema - - @property - def collection_type(self): - """Gets the collection_type of this CoreLiteralType. # noqa: E501 - - Defines the type of the value of a collection. Only homogeneous collections are allowed. # noqa: E501 - - :return: The collection_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._collection_type - - @collection_type.setter - def collection_type(self, collection_type): - """Sets the collection_type of this CoreLiteralType. - - Defines the type of the value of a collection. Only homogeneous collections are allowed. # noqa: E501 - - :param collection_type: The collection_type of this CoreLiteralType. # noqa: E501 - :type: CoreLiteralType - """ - - self._collection_type = collection_type - - @property - def map_value_type(self): - """Gets the map_value_type of this CoreLiteralType. # noqa: E501 - - Defines the type of the value of a map type. The type of the key is always a string. # noqa: E501 - - :return: The map_value_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._map_value_type - - @map_value_type.setter - def map_value_type(self, map_value_type): - """Sets the map_value_type of this CoreLiteralType. - - Defines the type of the value of a map type. The type of the key is always a string. # noqa: E501 - - :param map_value_type: The map_value_type of this CoreLiteralType. # noqa: E501 - :type: CoreLiteralType - """ - - self._map_value_type = map_value_type - - @property - def blob(self): - """Gets the blob of this CoreLiteralType. # noqa: E501 - - A blob might have specialized implementation details depending on associated metadata. # noqa: E501 - - :return: The blob of this CoreLiteralType. # noqa: E501 - :rtype: CoreBlobType - """ - return self._blob - - @blob.setter - def blob(self, blob): - """Sets the blob of this CoreLiteralType. - - A blob might have specialized implementation details depending on associated metadata. # noqa: E501 - - :param blob: The blob of this CoreLiteralType. # noqa: E501 - :type: CoreBlobType - """ - - self._blob = blob - - @property - def enum_type(self): - """Gets the enum_type of this CoreLiteralType. # noqa: E501 - - Defines an enum with pre-defined string values. # noqa: E501 - - :return: The enum_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreEnumType - """ - return self._enum_type - - @enum_type.setter - def enum_type(self, enum_type): - """Sets the enum_type of this CoreLiteralType. - - Defines an enum with pre-defined string values. # noqa: E501 - - :param enum_type: The enum_type of this CoreLiteralType. # noqa: E501 - :type: CoreEnumType - """ - - self._enum_type = enum_type - - @property - def structured_dataset_type(self): - """Gets the structured_dataset_type of this CoreLiteralType. # noqa: E501 - - - :return: The structured_dataset_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreStructuredDatasetType - """ - return self._structured_dataset_type - - @structured_dataset_type.setter - def structured_dataset_type(self, structured_dataset_type): - """Sets the structured_dataset_type of this CoreLiteralType. - - - :param structured_dataset_type: The structured_dataset_type of this CoreLiteralType. # noqa: E501 - :type: CoreStructuredDatasetType - """ - - self._structured_dataset_type = structured_dataset_type - - @property - def union_type(self): - """Gets the union_type of this CoreLiteralType. # noqa: E501 - - Defines an union type with pre-defined LiteralTypes. # noqa: E501 - - :return: The union_type of this CoreLiteralType. # noqa: E501 - :rtype: CoreUnionType - """ - return self._union_type - - @union_type.setter - def union_type(self, union_type): - """Sets the union_type of this CoreLiteralType. - - Defines an union type with pre-defined LiteralTypes. # noqa: E501 - - :param union_type: The union_type of this CoreLiteralType. # noqa: E501 - :type: CoreUnionType - """ - - self._union_type = union_type - - @property - def metadata(self): - """Gets the metadata of this CoreLiteralType. # noqa: E501 - - This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. # noqa: E501 - - :return: The metadata of this CoreLiteralType. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreLiteralType. - - This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type. # noqa: E501 - - :param metadata: The metadata of this CoreLiteralType. # noqa: E501 - :type: ProtobufStruct - """ - - self._metadata = metadata - - @property - def annotation(self): - """Gets the annotation of this CoreLiteralType. # noqa: E501 - - This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. # noqa: E501 - - :return: The annotation of this CoreLiteralType. # noqa: E501 - :rtype: CoreTypeAnnotation - """ - return self._annotation - - @annotation.setter - def annotation(self, annotation): - """Sets the annotation of this CoreLiteralType. - - This field contains arbitrary data that might have special semantic meaning for the client but does not effect internal flyte behavior. # noqa: E501 - - :param annotation: The annotation of this CoreLiteralType. # noqa: E501 - :type: CoreTypeAnnotation - """ - - self._annotation = annotation - - @property - def structure(self): - """Gets the structure of this CoreLiteralType. # noqa: E501 - - Hints to improve type matching. # noqa: E501 - - :return: The structure of this CoreLiteralType. # noqa: E501 - :rtype: CoreTypeStructure - """ - return self._structure - - @structure.setter - def structure(self, structure): - """Sets the structure of this CoreLiteralType. - - Hints to improve type matching. # noqa: E501 - - :param structure: The structure of this CoreLiteralType. # noqa: E501 - :type: CoreTypeStructure - """ - - self._structure = structure - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreLiteralType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreLiteralType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py deleted file mode 100644 index c3b7c06deb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node.py +++ /dev/null @@ -1,378 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_alias import CoreAlias # noqa: F401,E501 -from flyteadmin.models.core_array_node import CoreArrayNode # noqa: F401,E501 -from flyteadmin.models.core_binding import CoreBinding # noqa: F401,E501 -from flyteadmin.models.core_branch_node import CoreBranchNode # noqa: F401,E501 -from flyteadmin.models.core_gate_node import CoreGateNode # noqa: F401,E501 -from flyteadmin.models.core_node_metadata import CoreNodeMetadata # noqa: F401,E501 -from flyteadmin.models.core_task_node import CoreTaskNode # noqa: F401,E501 -from flyteadmin.models.core_workflow_node import CoreWorkflowNode # noqa: F401,E501 - - -class CoreNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'metadata': 'CoreNodeMetadata', - 'inputs': 'list[CoreBinding]', - 'upstream_node_ids': 'list[str]', - 'output_aliases': 'list[CoreAlias]', - 'task_node': 'CoreTaskNode', - 'workflow_node': 'CoreWorkflowNode', - 'branch_node': 'CoreBranchNode', - 'gate_node': 'CoreGateNode', - 'array_node': 'CoreArrayNode' - } - - attribute_map = { - 'id': 'id', - 'metadata': 'metadata', - 'inputs': 'inputs', - 'upstream_node_ids': 'upstream_node_ids', - 'output_aliases': 'output_aliases', - 'task_node': 'task_node', - 'workflow_node': 'workflow_node', - 'branch_node': 'branch_node', - 'gate_node': 'gate_node', - 'array_node': 'array_node' - } - - def __init__(self, id=None, metadata=None, inputs=None, upstream_node_ids=None, output_aliases=None, task_node=None, workflow_node=None, branch_node=None, gate_node=None, array_node=None): # noqa: E501 - """CoreNode - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._metadata = None - self._inputs = None - self._upstream_node_ids = None - self._output_aliases = None - self._task_node = None - self._workflow_node = None - self._branch_node = None - self._gate_node = None - self._array_node = None - self.discriminator = None - - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - if inputs is not None: - self.inputs = inputs - if upstream_node_ids is not None: - self.upstream_node_ids = upstream_node_ids - if output_aliases is not None: - self.output_aliases = output_aliases - if task_node is not None: - self.task_node = task_node - if workflow_node is not None: - self.workflow_node = workflow_node - if branch_node is not None: - self.branch_node = branch_node - if gate_node is not None: - self.gate_node = gate_node - if array_node is not None: - self.array_node = array_node - - @property - def id(self): - """Gets the id of this CoreNode. # noqa: E501 - - A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. # noqa: E501 - - :return: The id of this CoreNode. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CoreNode. - - A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved node ids that cannot be used by other nodes. # noqa: E501 - - :param id: The id of this CoreNode. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this CoreNode. # noqa: E501 - - Extra metadata about the node. # noqa: E501 - - :return: The metadata of this CoreNode. # noqa: E501 - :rtype: CoreNodeMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreNode. - - Extra metadata about the node. # noqa: E501 - - :param metadata: The metadata of this CoreNode. # noqa: E501 - :type: CoreNodeMetadata - """ - - self._metadata = metadata - - @property - def inputs(self): - """Gets the inputs of this CoreNode. # noqa: E501 - - Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. # noqa: E501 - - :return: The inputs of this CoreNode. # noqa: E501 - :rtype: list[CoreBinding] - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this CoreNode. - - Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface must be fulfilled. # noqa: E501 - - :param inputs: The inputs of this CoreNode. # noqa: E501 - :type: list[CoreBinding] - """ - - self._inputs = inputs - - @property - def upstream_node_ids(self): - """Gets the upstream_node_ids of this CoreNode. # noqa: E501 - - +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. # noqa: E501 - - :return: The upstream_node_ids of this CoreNode. # noqa: E501 - :rtype: list[str] - """ - return self._upstream_node_ids - - @upstream_node_ids.setter - def upstream_node_ids(self, upstream_node_ids): - """Sets the upstream_node_ids of this CoreNode. - - +optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs field. # noqa: E501 - - :param upstream_node_ids: The upstream_node_ids of this CoreNode. # noqa: E501 - :type: list[str] - """ - - self._upstream_node_ids = upstream_node_ids - - @property - def output_aliases(self): - """Gets the output_aliases of this CoreNode. # noqa: E501 - - +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. # noqa: E501 - - :return: The output_aliases of this CoreNode. # noqa: E501 - :rtype: list[CoreAlias] - """ - return self._output_aliases - - @output_aliases.setter - def output_aliases(self, output_aliases): - """Sets the output_aliases of this CoreNode. - - +optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this nodes outputs using the alias if one's specified. # noqa: E501 - - :param output_aliases: The output_aliases of this CoreNode. # noqa: E501 - :type: list[CoreAlias] - """ - - self._output_aliases = output_aliases - - @property - def task_node(self): - """Gets the task_node of this CoreNode. # noqa: E501 - - Information about the Task to execute in this node. # noqa: E501 - - :return: The task_node of this CoreNode. # noqa: E501 - :rtype: CoreTaskNode - """ - return self._task_node - - @task_node.setter - def task_node(self, task_node): - """Sets the task_node of this CoreNode. - - Information about the Task to execute in this node. # noqa: E501 - - :param task_node: The task_node of this CoreNode. # noqa: E501 - :type: CoreTaskNode - """ - - self._task_node = task_node - - @property - def workflow_node(self): - """Gets the workflow_node of this CoreNode. # noqa: E501 - - Information about the Workflow to execute in this mode. # noqa: E501 - - :return: The workflow_node of this CoreNode. # noqa: E501 - :rtype: CoreWorkflowNode - """ - return self._workflow_node - - @workflow_node.setter - def workflow_node(self, workflow_node): - """Sets the workflow_node of this CoreNode. - - Information about the Workflow to execute in this mode. # noqa: E501 - - :param workflow_node: The workflow_node of this CoreNode. # noqa: E501 - :type: CoreWorkflowNode - """ - - self._workflow_node = workflow_node - - @property - def branch_node(self): - """Gets the branch_node of this CoreNode. # noqa: E501 - - Information about the branch node to evaluate in this node. # noqa: E501 - - :return: The branch_node of this CoreNode. # noqa: E501 - :rtype: CoreBranchNode - """ - return self._branch_node - - @branch_node.setter - def branch_node(self, branch_node): - """Sets the branch_node of this CoreNode. - - Information about the branch node to evaluate in this node. # noqa: E501 - - :param branch_node: The branch_node of this CoreNode. # noqa: E501 - :type: CoreBranchNode - """ - - self._branch_node = branch_node - - @property - def gate_node(self): - """Gets the gate_node of this CoreNode. # noqa: E501 - - Information about the condition to evaluate in this node. # noqa: E501 - - :return: The gate_node of this CoreNode. # noqa: E501 - :rtype: CoreGateNode - """ - return self._gate_node - - @gate_node.setter - def gate_node(self, gate_node): - """Sets the gate_node of this CoreNode. - - Information about the condition to evaluate in this node. # noqa: E501 - - :param gate_node: The gate_node of this CoreNode. # noqa: E501 - :type: CoreGateNode - """ - - self._gate_node = gate_node - - @property - def array_node(self): - """Gets the array_node of this CoreNode. # noqa: E501 - - Information about the sub-node executions for each value in the list of this nodes inputs values. # noqa: E501 - - :return: The array_node of this CoreNode. # noqa: E501 - :rtype: CoreArrayNode - """ - return self._array_node - - @array_node.setter - def array_node(self, array_node): - """Sets the array_node of this CoreNode. - - Information about the sub-node executions for each value in the list of this nodes inputs values. # noqa: E501 - - :param array_node: The array_node of this CoreNode. # noqa: E501 - :type: CoreArrayNode - """ - - self._array_node = array_node - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py deleted file mode 100644 index 0c3ea4e60f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_identifier.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class CoreNodeExecutionIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_id': 'str', - 'execution_id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'node_id': 'node_id', - 'execution_id': 'execution_id' - } - - def __init__(self, node_id=None, execution_id=None): # noqa: E501 - """CoreNodeExecutionIdentifier - a model defined in Swagger""" # noqa: E501 - - self._node_id = None - self._execution_id = None - self.discriminator = None - - if node_id is not None: - self.node_id = node_id - if execution_id is not None: - self.execution_id = execution_id - - @property - def node_id(self): - """Gets the node_id of this CoreNodeExecutionIdentifier. # noqa: E501 - - - :return: The node_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this CoreNodeExecutionIdentifier. - - - :param node_id: The node_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._node_id = node_id - - @property - def execution_id(self): - """Gets the execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 - - - :return: The execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this CoreNodeExecutionIdentifier. - - - :param execution_id: The execution_id of this CoreNodeExecutionIdentifier. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNodeExecutionIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNodeExecutionIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py deleted file mode 100644 index 5b03e7e486..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_execution_phase.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreNodeExecutionPhase(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - QUEUED = "QUEUED" - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - FAILING = "FAILING" - FAILED = "FAILED" - ABORTED = "ABORTED" - SKIPPED = "SKIPPED" - TIMED_OUT = "TIMED_OUT" - DYNAMIC_RUNNING = "DYNAMIC_RUNNING" - RECOVERED = "RECOVERED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreNodeExecutionPhase - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNodeExecutionPhase, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNodeExecutionPhase): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py deleted file mode 100644 index d23c04290d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_node_metadata.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: F401,E501 - - -class CoreNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'timeout': 'str', - 'retries': 'CoreRetryStrategy', - 'interruptible': 'bool' - } - - attribute_map = { - 'name': 'name', - 'timeout': 'timeout', - 'retries': 'retries', - 'interruptible': 'interruptible' - } - - def __init__(self, name=None, timeout=None, retries=None, interruptible=None): # noqa: E501 - """CoreNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._timeout = None - self._retries = None - self._interruptible = None - self.discriminator = None - - if name is not None: - self.name = name - if timeout is not None: - self.timeout = timeout - if retries is not None: - self.retries = retries - if interruptible is not None: - self.interruptible = interruptible - - @property - def name(self): - """Gets the name of this CoreNodeMetadata. # noqa: E501 - - - :return: The name of this CoreNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreNodeMetadata. - - - :param name: The name of this CoreNodeMetadata. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def timeout(self): - """Gets the timeout of this CoreNodeMetadata. # noqa: E501 - - The overall timeout of a task. # noqa: E501 - - :return: The timeout of this CoreNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._timeout - - @timeout.setter - def timeout(self, timeout): - """Sets the timeout of this CoreNodeMetadata. - - The overall timeout of a task. # noqa: E501 - - :param timeout: The timeout of this CoreNodeMetadata. # noqa: E501 - :type: str - """ - - self._timeout = timeout - - @property - def retries(self): - """Gets the retries of this CoreNodeMetadata. # noqa: E501 - - Number of retries per task. # noqa: E501 - - :return: The retries of this CoreNodeMetadata. # noqa: E501 - :rtype: CoreRetryStrategy - """ - return self._retries - - @retries.setter - def retries(self, retries): - """Sets the retries of this CoreNodeMetadata. - - Number of retries per task. # noqa: E501 - - :param retries: The retries of this CoreNodeMetadata. # noqa: E501 - :type: CoreRetryStrategy - """ - - self._retries = retries - - @property - def interruptible(self): - """Gets the interruptible of this CoreNodeMetadata. # noqa: E501 - - - :return: The interruptible of this CoreNodeMetadata. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this CoreNodeMetadata. - - - :param interruptible: The interruptible of this CoreNodeMetadata. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py deleted file mode 100644 index 520dfdee32..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_client.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_secret import CoreSecret # noqa: F401,E501 - - -class CoreOAuth2Client(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'client_id': 'str', - 'client_secret': 'CoreSecret' - } - - attribute_map = { - 'client_id': 'client_id', - 'client_secret': 'client_secret' - } - - def __init__(self, client_id=None, client_secret=None): # noqa: E501 - """CoreOAuth2Client - a model defined in Swagger""" # noqa: E501 - - self._client_id = None - self._client_secret = None - self.discriminator = None - - if client_id is not None: - self.client_id = client_id - if client_secret is not None: - self.client_secret = client_secret - - @property - def client_id(self): - """Gets the client_id of this CoreOAuth2Client. # noqa: E501 - - - :return: The client_id of this CoreOAuth2Client. # noqa: E501 - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - """Sets the client_id of this CoreOAuth2Client. - - - :param client_id: The client_id of this CoreOAuth2Client. # noqa: E501 - :type: str - """ - - self._client_id = client_id - - @property - def client_secret(self): - """Gets the client_secret of this CoreOAuth2Client. # noqa: E501 - - - :return: The client_secret of this CoreOAuth2Client. # noqa: E501 - :rtype: CoreSecret - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret): - """Sets the client_secret of this CoreOAuth2Client. - - - :param client_secret: The client_secret of this CoreOAuth2Client. # noqa: E501 - :type: CoreSecret - """ - - self._client_secret = client_secret - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOAuth2Client, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOAuth2Client): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py deleted file mode 100644 index 22ea5676cf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: F401,E501 -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType # noqa: F401,E501 - - -class CoreOAuth2TokenRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'type': 'CoreOAuth2TokenRequestType', - 'client': 'CoreOAuth2Client', - 'idp_discovery_endpoint': 'str', - 'token_endpoint': 'str' - } - - attribute_map = { - 'name': 'name', - 'type': 'type', - 'client': 'client', - 'idp_discovery_endpoint': 'idp_discovery_endpoint', - 'token_endpoint': 'token_endpoint' - } - - def __init__(self, name=None, type=None, client=None, idp_discovery_endpoint=None, token_endpoint=None): # noqa: E501 - """CoreOAuth2TokenRequest - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._type = None - self._client = None - self._idp_discovery_endpoint = None - self._token_endpoint = None - self.discriminator = None - - if name is not None: - self.name = name - if type is not None: - self.type = type - if client is not None: - self.client = client - if idp_discovery_endpoint is not None: - self.idp_discovery_endpoint = idp_discovery_endpoint - if token_endpoint is not None: - self.token_endpoint = token_endpoint - - @property - def name(self): - """Gets the name of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The name of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreOAuth2TokenRequest. - - - :param name: The name of this CoreOAuth2TokenRequest. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def type(self): - """Gets the type of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The type of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: CoreOAuth2TokenRequestType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreOAuth2TokenRequest. - - - :param type: The type of this CoreOAuth2TokenRequest. # noqa: E501 - :type: CoreOAuth2TokenRequestType - """ - - self._type = type - - @property - def client(self): - """Gets the client of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The client of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: CoreOAuth2Client - """ - return self._client - - @client.setter - def client(self, client): - """Sets the client of this CoreOAuth2TokenRequest. - - - :param client: The client of this CoreOAuth2TokenRequest. # noqa: E501 - :type: CoreOAuth2Client - """ - - self._client = client - - @property - def idp_discovery_endpoint(self): - """Gets the idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: str - """ - return self._idp_discovery_endpoint - - @idp_discovery_endpoint.setter - def idp_discovery_endpoint(self, idp_discovery_endpoint): - """Sets the idp_discovery_endpoint of this CoreOAuth2TokenRequest. - - - :param idp_discovery_endpoint: The idp_discovery_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :type: str - """ - - self._idp_discovery_endpoint = idp_discovery_endpoint - - @property - def token_endpoint(self): - """Gets the token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - - - :return: The token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :rtype: str - """ - return self._token_endpoint - - @token_endpoint.setter - def token_endpoint(self, token_endpoint): - """Sets the token_endpoint of this CoreOAuth2TokenRequest. - - - :param token_endpoint: The token_endpoint of this CoreOAuth2TokenRequest. # noqa: E501 - :type: str - """ - - self._token_endpoint = token_endpoint - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOAuth2TokenRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOAuth2TokenRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py deleted file mode 100644 index 39f87fb6f7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_o_auth2_token_request_type.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreOAuth2TokenRequestType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreOAuth2TokenRequestType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOAuth2TokenRequestType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOAuth2TokenRequestType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py deleted file mode 100644 index cf2e4a2464..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_operand.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_primitive import CorePrimitive # noqa: F401,E501 -from flyteadmin.models.core_scalar import CoreScalar # noqa: F401,E501 - - -class CoreOperand(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primitive': 'CorePrimitive', - 'var': 'str', - 'scalar': 'CoreScalar' - } - - attribute_map = { - 'primitive': 'primitive', - 'var': 'var', - 'scalar': 'scalar' - } - - def __init__(self, primitive=None, var=None, scalar=None): # noqa: E501 - """CoreOperand - a model defined in Swagger""" # noqa: E501 - - self._primitive = None - self._var = None - self._scalar = None - self.discriminator = None - - if primitive is not None: - self.primitive = primitive - if var is not None: - self.var = var - if scalar is not None: - self.scalar = scalar - - @property - def primitive(self): - """Gets the primitive of this CoreOperand. # noqa: E501 - - - :return: The primitive of this CoreOperand. # noqa: E501 - :rtype: CorePrimitive - """ - return self._primitive - - @primitive.setter - def primitive(self, primitive): - """Sets the primitive of this CoreOperand. - - - :param primitive: The primitive of this CoreOperand. # noqa: E501 - :type: CorePrimitive - """ - - self._primitive = primitive - - @property - def var(self): - """Gets the var of this CoreOperand. # noqa: E501 - - - :return: The var of this CoreOperand. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreOperand. - - - :param var: The var of this CoreOperand. # noqa: E501 - :type: str - """ - - self._var = var - - @property - def scalar(self): - """Gets the scalar of this CoreOperand. # noqa: E501 - - - :return: The scalar of this CoreOperand. # noqa: E501 - :rtype: CoreScalar - """ - return self._scalar - - @scalar.setter - def scalar(self, scalar): - """Sets the scalar of this CoreOperand. - - - :param scalar: The scalar of this CoreOperand. # noqa: E501 - :type: CoreScalar - """ - - self._scalar = scalar - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOperand, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOperand): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py deleted file mode 100644 index d4094541e8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_output_reference.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_promise_attribute import CorePromiseAttribute # noqa: F401,E501 - - -class CoreOutputReference(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_id': 'str', - 'var': 'str', - 'attr_path': 'list[CorePromiseAttribute]' - } - - attribute_map = { - 'node_id': 'node_id', - 'var': 'var', - 'attr_path': 'attr_path' - } - - def __init__(self, node_id=None, var=None, attr_path=None): # noqa: E501 - """CoreOutputReference - a model defined in Swagger""" # noqa: E501 - - self._node_id = None - self._var = None - self._attr_path = None - self.discriminator = None - - if node_id is not None: - self.node_id = node_id - if var is not None: - self.var = var - if attr_path is not None: - self.attr_path = attr_path - - @property - def node_id(self): - """Gets the node_id of this CoreOutputReference. # noqa: E501 - - Node id must exist at the graph layer. # noqa: E501 - - :return: The node_id of this CoreOutputReference. # noqa: E501 - :rtype: str - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this CoreOutputReference. - - Node id must exist at the graph layer. # noqa: E501 - - :param node_id: The node_id of this CoreOutputReference. # noqa: E501 - :type: str - """ - - self._node_id = node_id - - @property - def var(self): - """Gets the var of this CoreOutputReference. # noqa: E501 - - Variable name must refer to an output variable for the node. # noqa: E501 - - :return: The var of this CoreOutputReference. # noqa: E501 - :rtype: str - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreOutputReference. - - Variable name must refer to an output variable for the node. # noqa: E501 - - :param var: The var of this CoreOutputReference. # noqa: E501 - :type: str - """ - - self._var = var - - @property - def attr_path(self): - """Gets the attr_path of this CoreOutputReference. # noqa: E501 - - - :return: The attr_path of this CoreOutputReference. # noqa: E501 - :rtype: list[CorePromiseAttribute] - """ - return self._attr_path - - @attr_path.setter - def attr_path(self, attr_path): - """Sets the attr_path of this CoreOutputReference. - - - :param attr_path: The attr_path of this CoreOutputReference. # noqa: E501 - :type: list[CorePromiseAttribute] - """ - - self._attr_path = attr_path - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreOutputReference, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreOutputReference): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py deleted file mode 100644 index c8426a5833..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter.py +++ /dev/null @@ -1,232 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 -from flyteadmin.models.core_artifact_query import CoreArtifactQuery # noqa: F401,E501 -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 -from flyteadmin.models.core_variable import CoreVariable # noqa: F401,E501 - - -class CoreParameter(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'var': 'CoreVariable', - 'default': 'CoreLiteral', - 'required': 'bool', - 'artifact_query': 'CoreArtifactQuery', - 'artifact_id': 'CoreArtifactID' - } - - attribute_map = { - 'var': 'var', - 'default': 'default', - 'required': 'required', - 'artifact_query': 'artifact_query', - 'artifact_id': 'artifact_id' - } - - def __init__(self, var=None, default=None, required=None, artifact_query=None, artifact_id=None): # noqa: E501 - """CoreParameter - a model defined in Swagger""" # noqa: E501 - - self._var = None - self._default = None - self._required = None - self._artifact_query = None - self._artifact_id = None - self.discriminator = None - - if var is not None: - self.var = var - if default is not None: - self.default = default - if required is not None: - self.required = required - if artifact_query is not None: - self.artifact_query = artifact_query - if artifact_id is not None: - self.artifact_id = artifact_id - - @property - def var(self): - """Gets the var of this CoreParameter. # noqa: E501 - - +required Variable. Defines the type of the variable backing this parameter. # noqa: E501 - - :return: The var of this CoreParameter. # noqa: E501 - :rtype: CoreVariable - """ - return self._var - - @var.setter - def var(self, var): - """Sets the var of this CoreParameter. - - +required Variable. Defines the type of the variable backing this parameter. # noqa: E501 - - :param var: The var of this CoreParameter. # noqa: E501 - :type: CoreVariable - """ - - self._var = var - - @property - def default(self): - """Gets the default of this CoreParameter. # noqa: E501 - - Defines a default value that has to match the variable type defined. # noqa: E501 - - :return: The default of this CoreParameter. # noqa: E501 - :rtype: CoreLiteral - """ - return self._default - - @default.setter - def default(self, default): - """Sets the default of this CoreParameter. - - Defines a default value that has to match the variable type defined. # noqa: E501 - - :param default: The default of this CoreParameter. # noqa: E501 - :type: CoreLiteral - """ - - self._default = default - - @property - def required(self): - """Gets the required of this CoreParameter. # noqa: E501 - - +optional, is this value required to be filled. # noqa: E501 - - :return: The required of this CoreParameter. # noqa: E501 - :rtype: bool - """ - return self._required - - @required.setter - def required(self, required): - """Sets the required of this CoreParameter. - - +optional, is this value required to be filled. # noqa: E501 - - :param required: The required of this CoreParameter. # noqa: E501 - :type: bool - """ - - self._required = required - - @property - def artifact_query(self): - """Gets the artifact_query of this CoreParameter. # noqa: E501 - - This is an execution time search basically that should result in exactly one Artifact with a Type that matches the type of the variable. # noqa: E501 - - :return: The artifact_query of this CoreParameter. # noqa: E501 - :rtype: CoreArtifactQuery - """ - return self._artifact_query - - @artifact_query.setter - def artifact_query(self, artifact_query): - """Sets the artifact_query of this CoreParameter. - - This is an execution time search basically that should result in exactly one Artifact with a Type that matches the type of the variable. # noqa: E501 - - :param artifact_query: The artifact_query of this CoreParameter. # noqa: E501 - :type: CoreArtifactQuery - """ - - self._artifact_query = artifact_query - - @property - def artifact_id(self): - """Gets the artifact_id of this CoreParameter. # noqa: E501 - - - :return: The artifact_id of this CoreParameter. # noqa: E501 - :rtype: CoreArtifactID - """ - return self._artifact_id - - @artifact_id.setter - def artifact_id(self, artifact_id): - """Sets the artifact_id of this CoreParameter. - - - :param artifact_id: The artifact_id of this CoreParameter. # noqa: E501 - :type: CoreArtifactID - """ - - self._artifact_id = artifact_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreParameter, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreParameter): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py deleted file mode 100644 index f2ca84c2e1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_parameter_map.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_parameter import CoreParameter # noqa: F401,E501 - - -class CoreParameterMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'parameters': 'dict(str, CoreParameter)' - } - - attribute_map = { - 'parameters': 'parameters' - } - - def __init__(self, parameters=None): # noqa: E501 - """CoreParameterMap - a model defined in Swagger""" # noqa: E501 - - self._parameters = None - self.discriminator = None - - if parameters is not None: - self.parameters = parameters - - @property - def parameters(self): - """Gets the parameters of this CoreParameterMap. # noqa: E501 - - Defines a map of parameter names to parameters. # noqa: E501 - - :return: The parameters of this CoreParameterMap. # noqa: E501 - :rtype: dict(str, CoreParameter) - """ - return self._parameters - - @parameters.setter - def parameters(self, parameters): - """Sets the parameters of this CoreParameterMap. - - Defines a map of parameter names to parameters. # noqa: E501 - - :param parameters: The parameters of this CoreParameterMap. # noqa: E501 - :type: dict(str, CoreParameter) - """ - - self._parameters = parameters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreParameterMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreParameterMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py deleted file mode 100644 index cfd6d29cbf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_label_value import CoreLabelValue # noqa: F401,E501 - - -class CorePartitions(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'dict(str, CoreLabelValue)' - } - - attribute_map = { - 'value': 'value' - } - - def __init__(self, value=None): # noqa: E501 - """CorePartitions - a model defined in Swagger""" # noqa: E501 - - self._value = None - self.discriminator = None - - if value is not None: - self.value = value - - @property - def value(self): - """Gets the value of this CorePartitions. # noqa: E501 - - - :return: The value of this CorePartitions. # noqa: E501 - :rtype: dict(str, CoreLabelValue) - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CorePartitions. - - - :param value: The value of this CorePartitions. # noqa: E501 - :type: dict(str, CoreLabelValue) - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CorePartitions, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CorePartitions): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py deleted file mode 100644 index 8a834e28d7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_primitive.py +++ /dev/null @@ -1,245 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CorePrimitive(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'integer': 'str', - 'float_value': 'float', - 'string_value': 'str', - 'boolean': 'bool', - '_datetime': 'datetime', - 'duration': 'str' - } - - attribute_map = { - 'integer': 'integer', - 'float_value': 'float_value', - 'string_value': 'string_value', - 'boolean': 'boolean', - '_datetime': 'datetime', - 'duration': 'duration' - } - - def __init__(self, integer=None, float_value=None, string_value=None, boolean=None, _datetime=None, duration=None): # noqa: E501 - """CorePrimitive - a model defined in Swagger""" # noqa: E501 - - self._integer = None - self._float_value = None - self._string_value = None - self._boolean = None - self.__datetime = None - self._duration = None - self.discriminator = None - - if integer is not None: - self.integer = integer - if float_value is not None: - self.float_value = float_value - if string_value is not None: - self.string_value = string_value - if boolean is not None: - self.boolean = boolean - if _datetime is not None: - self._datetime = _datetime - if duration is not None: - self.duration = duration - - @property - def integer(self): - """Gets the integer of this CorePrimitive. # noqa: E501 - - - :return: The integer of this CorePrimitive. # noqa: E501 - :rtype: str - """ - return self._integer - - @integer.setter - def integer(self, integer): - """Sets the integer of this CorePrimitive. - - - :param integer: The integer of this CorePrimitive. # noqa: E501 - :type: str - """ - - self._integer = integer - - @property - def float_value(self): - """Gets the float_value of this CorePrimitive. # noqa: E501 - - - :return: The float_value of this CorePrimitive. # noqa: E501 - :rtype: float - """ - return self._float_value - - @float_value.setter - def float_value(self, float_value): - """Sets the float_value of this CorePrimitive. - - - :param float_value: The float_value of this CorePrimitive. # noqa: E501 - :type: float - """ - - self._float_value = float_value - - @property - def string_value(self): - """Gets the string_value of this CorePrimitive. # noqa: E501 - - - :return: The string_value of this CorePrimitive. # noqa: E501 - :rtype: str - """ - return self._string_value - - @string_value.setter - def string_value(self, string_value): - """Sets the string_value of this CorePrimitive. - - - :param string_value: The string_value of this CorePrimitive. # noqa: E501 - :type: str - """ - - self._string_value = string_value - - @property - def boolean(self): - """Gets the boolean of this CorePrimitive. # noqa: E501 - - - :return: The boolean of this CorePrimitive. # noqa: E501 - :rtype: bool - """ - return self._boolean - - @boolean.setter - def boolean(self, boolean): - """Sets the boolean of this CorePrimitive. - - - :param boolean: The boolean of this CorePrimitive. # noqa: E501 - :type: bool - """ - - self._boolean = boolean - - @property - def _datetime(self): - """Gets the _datetime of this CorePrimitive. # noqa: E501 - - - :return: The _datetime of this CorePrimitive. # noqa: E501 - :rtype: datetime - """ - return self.__datetime - - @_datetime.setter - def _datetime(self, _datetime): - """Sets the _datetime of this CorePrimitive. - - - :param _datetime: The _datetime of this CorePrimitive. # noqa: E501 - :type: datetime - """ - - self.__datetime = _datetime - - @property - def duration(self): - """Gets the duration of this CorePrimitive. # noqa: E501 - - - :return: The duration of this CorePrimitive. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this CorePrimitive. - - - :param duration: The duration of this CorePrimitive. # noqa: E501 - :type: str - """ - - self._duration = duration - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CorePrimitive, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CorePrimitive): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_promise_attribute.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_promise_attribute.py deleted file mode 100644 index 60c8aa3fba..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_promise_attribute.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CorePromiseAttribute(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'string_value': 'str', - 'int_value': 'int' - } - - attribute_map = { - 'string_value': 'string_value', - 'int_value': 'int_value' - } - - def __init__(self, string_value=None, int_value=None): # noqa: E501 - """CorePromiseAttribute - a model defined in Swagger""" # noqa: E501 - - self._string_value = None - self._int_value = None - self.discriminator = None - - if string_value is not None: - self.string_value = string_value - if int_value is not None: - self.int_value = int_value - - @property - def string_value(self): - """Gets the string_value of this CorePromiseAttribute. # noqa: E501 - - - :return: The string_value of this CorePromiseAttribute. # noqa: E501 - :rtype: str - """ - return self._string_value - - @string_value.setter - def string_value(self, string_value): - """Sets the string_value of this CorePromiseAttribute. - - - :param string_value: The string_value of this CorePromiseAttribute. # noqa: E501 - :type: str - """ - - self._string_value = string_value - - @property - def int_value(self): - """Gets the int_value of this CorePromiseAttribute. # noqa: E501 - - - :return: The int_value of this CorePromiseAttribute. # noqa: E501 - :rtype: int - """ - return self._int_value - - @int_value.setter - def int_value(self, int_value): - """Sets the int_value of this CorePromiseAttribute. - - - :param int_value: The int_value of this CorePromiseAttribute. # noqa: E501 - :type: int - """ - - self._int_value = int_value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CorePromiseAttribute, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CorePromiseAttribute): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py deleted file mode 100644 index b9bb2aadb9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec # noqa: F401,E501 -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier # noqa: F401,E501 - - -class CoreQualityOfService(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tier': 'QualityOfServiceTier', - 'spec': 'CoreQualityOfServiceSpec' - } - - attribute_map = { - 'tier': 'tier', - 'spec': 'spec' - } - - def __init__(self, tier=None, spec=None): # noqa: E501 - """CoreQualityOfService - a model defined in Swagger""" # noqa: E501 - - self._tier = None - self._spec = None - self.discriminator = None - - if tier is not None: - self.tier = tier - if spec is not None: - self.spec = spec - - @property - def tier(self): - """Gets the tier of this CoreQualityOfService. # noqa: E501 - - - :return: The tier of this CoreQualityOfService. # noqa: E501 - :rtype: QualityOfServiceTier - """ - return self._tier - - @tier.setter - def tier(self, tier): - """Sets the tier of this CoreQualityOfService. - - - :param tier: The tier of this CoreQualityOfService. # noqa: E501 - :type: QualityOfServiceTier - """ - - self._tier = tier - - @property - def spec(self): - """Gets the spec of this CoreQualityOfService. # noqa: E501 - - - :return: The spec of this CoreQualityOfService. # noqa: E501 - :rtype: CoreQualityOfServiceSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this CoreQualityOfService. - - - :param spec: The spec of this CoreQualityOfService. # noqa: E501 - :type: CoreQualityOfServiceSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreQualityOfService, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreQualityOfService): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py deleted file mode 100644 index 070989b167..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_quality_of_service_spec.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreQualityOfServiceSpec(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'queueing_budget': 'str' - } - - attribute_map = { - 'queueing_budget': 'queueing_budget' - } - - def __init__(self, queueing_budget=None): # noqa: E501 - """CoreQualityOfServiceSpec - a model defined in Swagger""" # noqa: E501 - - self._queueing_budget = None - self.discriminator = None - - if queueing_budget is not None: - self.queueing_budget = queueing_budget - - @property - def queueing_budget(self): - """Gets the queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 - - Indicates how much queueing delay an execution can tolerate. # noqa: E501 - - :return: The queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 - :rtype: str - """ - return self._queueing_budget - - @queueing_budget.setter - def queueing_budget(self, queueing_budget): - """Sets the queueing_budget of this CoreQualityOfServiceSpec. - - Indicates how much queueing delay an execution can tolerate. # noqa: E501 - - :param queueing_budget: The queueing_budget of this CoreQualityOfServiceSpec. # noqa: E501 - :type: str - """ - - self._queueing_budget = queueing_budget - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreQualityOfServiceSpec, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreQualityOfServiceSpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py deleted file mode 100644 index 4a748c1064..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resource_type.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreResourceType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNSPECIFIED = "UNSPECIFIED" - TASK = "TASK" - WORKFLOW = "WORKFLOW" - LAUNCH_PLAN = "LAUNCH_PLAN" - DATASET = "DATASET" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreResourceType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreResourceType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreResourceType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py deleted file mode 100644 index 0e14879b03..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_resources.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry # noqa: F401,E501 - - -class CoreResources(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'requests': 'list[ResourcesResourceEntry]', - 'limits': 'list[ResourcesResourceEntry]' - } - - attribute_map = { - 'requests': 'requests', - 'limits': 'limits' - } - - def __init__(self, requests=None, limits=None): # noqa: E501 - """CoreResources - a model defined in Swagger""" # noqa: E501 - - self._requests = None - self._limits = None - self.discriminator = None - - if requests is not None: - self.requests = requests - if limits is not None: - self.limits = limits - - @property - def requests(self): - """Gets the requests of this CoreResources. # noqa: E501 - - The desired set of resources requested. ResourceNames must be unique within the list. # noqa: E501 - - :return: The requests of this CoreResources. # noqa: E501 - :rtype: list[ResourcesResourceEntry] - """ - return self._requests - - @requests.setter - def requests(self, requests): - """Sets the requests of this CoreResources. - - The desired set of resources requested. ResourceNames must be unique within the list. # noqa: E501 - - :param requests: The requests of this CoreResources. # noqa: E501 - :type: list[ResourcesResourceEntry] - """ - - self._requests = requests - - @property - def limits(self): - """Gets the limits of this CoreResources. # noqa: E501 - - Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. # noqa: E501 - - :return: The limits of this CoreResources. # noqa: E501 - :rtype: list[ResourcesResourceEntry] - """ - return self._limits - - @limits.setter - def limits(self, limits): - """Sets the limits of this CoreResources. - - Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique within the list. # noqa: E501 - - :param limits: The limits of this CoreResources. # noqa: E501 - :type: list[ResourcesResourceEntry] - """ - - self._limits = limits - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreResources, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreResources): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py deleted file mode 100644 index 45ba6d22f4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_retry_strategy.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreRetryStrategy(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'retries': 'int' - } - - attribute_map = { - 'retries': 'retries' - } - - def __init__(self, retries=None): # noqa: E501 - """CoreRetryStrategy - a model defined in Swagger""" # noqa: E501 - - self._retries = None - self.discriminator = None - - if retries is not None: - self.retries = retries - - @property - def retries(self): - """Gets the retries of this CoreRetryStrategy. # noqa: E501 - - Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. # noqa: E501 - - :return: The retries of this CoreRetryStrategy. # noqa: E501 - :rtype: int - """ - return self._retries - - @retries.setter - def retries(self, retries): - """Sets the retries of this CoreRetryStrategy. - - Number of retries. Retries will be consumed when the job fails with a recoverable error. The number of retries must be less than or equals to 10. # noqa: E501 - - :param retries: The retries of this CoreRetryStrategy. # noqa: E501 - :type: int - """ - - self._retries = retries - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreRetryStrategy, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreRetryStrategy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py deleted file mode 100644 index b14a330293..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_runtime_metadata.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType # noqa: F401,E501 - - -class CoreRuntimeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'type': 'RuntimeMetadataRuntimeType', - 'version': 'str', - 'flavor': 'str' - } - - attribute_map = { - 'type': 'type', - 'version': 'version', - 'flavor': 'flavor' - } - - def __init__(self, type=None, version=None, flavor=None): # noqa: E501 - """CoreRuntimeMetadata - a model defined in Swagger""" # noqa: E501 - - self._type = None - self._version = None - self._flavor = None - self.discriminator = None - - if type is not None: - self.type = type - if version is not None: - self.version = version - if flavor is not None: - self.flavor = flavor - - @property - def type(self): - """Gets the type of this CoreRuntimeMetadata. # noqa: E501 - - Type of runtime. # noqa: E501 - - :return: The type of this CoreRuntimeMetadata. # noqa: E501 - :rtype: RuntimeMetadataRuntimeType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreRuntimeMetadata. - - Type of runtime. # noqa: E501 - - :param type: The type of this CoreRuntimeMetadata. # noqa: E501 - :type: RuntimeMetadataRuntimeType - """ - - self._type = type - - @property - def version(self): - """Gets the version of this CoreRuntimeMetadata. # noqa: E501 - - Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. # noqa: E501 - - :return: The version of this CoreRuntimeMetadata. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this CoreRuntimeMetadata. - - Version of the runtime. All versions should be backward compatible. However, certain cases call for version checks to ensure tighter validation or setting expectations. # noqa: E501 - - :param version: The version of this CoreRuntimeMetadata. # noqa: E501 - :type: str - """ - - self._version = version - - @property - def flavor(self): - """Gets the flavor of this CoreRuntimeMetadata. # noqa: E501 - - +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). # noqa: E501 - - :return: The flavor of this CoreRuntimeMetadata. # noqa: E501 - :rtype: str - """ - return self._flavor - - @flavor.setter - def flavor(self, flavor): - """Sets the flavor of this CoreRuntimeMetadata. - - +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.). # noqa: E501 - - :param flavor: The flavor of this CoreRuntimeMetadata. # noqa: E501 - :type: str - """ - - self._flavor = flavor - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreRuntimeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreRuntimeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py deleted file mode 100644 index ad4d291290..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_scalar.py +++ /dev/null @@ -1,333 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binary import CoreBinary # noqa: F401,E501 -from flyteadmin.models.core_blob import CoreBlob # noqa: F401,E501 -from flyteadmin.models.core_error import CoreError # noqa: F401,E501 -from flyteadmin.models.core_primitive import CorePrimitive # noqa: F401,E501 -from flyteadmin.models.core_schema import CoreSchema # noqa: F401,E501 -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset # noqa: F401,E501 -from flyteadmin.models.core_union import CoreUnion # noqa: F401,E501 -from flyteadmin.models.core_void import CoreVoid # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreScalar(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'primitive': 'CorePrimitive', - 'blob': 'CoreBlob', - 'binary': 'CoreBinary', - 'schema': 'CoreSchema', - 'none_type': 'CoreVoid', - 'error': 'CoreError', - 'generic': 'ProtobufStruct', - 'structured_dataset': 'CoreStructuredDataset', - 'union': 'CoreUnion' - } - - attribute_map = { - 'primitive': 'primitive', - 'blob': 'blob', - 'binary': 'binary', - 'schema': 'schema', - 'none_type': 'none_type', - 'error': 'error', - 'generic': 'generic', - 'structured_dataset': 'structured_dataset', - 'union': 'union' - } - - def __init__(self, primitive=None, blob=None, binary=None, schema=None, none_type=None, error=None, generic=None, structured_dataset=None, union=None): # noqa: E501 - """CoreScalar - a model defined in Swagger""" # noqa: E501 - - self._primitive = None - self._blob = None - self._binary = None - self._schema = None - self._none_type = None - self._error = None - self._generic = None - self._structured_dataset = None - self._union = None - self.discriminator = None - - if primitive is not None: - self.primitive = primitive - if blob is not None: - self.blob = blob - if binary is not None: - self.binary = binary - if schema is not None: - self.schema = schema - if none_type is not None: - self.none_type = none_type - if error is not None: - self.error = error - if generic is not None: - self.generic = generic - if structured_dataset is not None: - self.structured_dataset = structured_dataset - if union is not None: - self.union = union - - @property - def primitive(self): - """Gets the primitive of this CoreScalar. # noqa: E501 - - - :return: The primitive of this CoreScalar. # noqa: E501 - :rtype: CorePrimitive - """ - return self._primitive - - @primitive.setter - def primitive(self, primitive): - """Sets the primitive of this CoreScalar. - - - :param primitive: The primitive of this CoreScalar. # noqa: E501 - :type: CorePrimitive - """ - - self._primitive = primitive - - @property - def blob(self): - """Gets the blob of this CoreScalar. # noqa: E501 - - - :return: The blob of this CoreScalar. # noqa: E501 - :rtype: CoreBlob - """ - return self._blob - - @blob.setter - def blob(self, blob): - """Sets the blob of this CoreScalar. - - - :param blob: The blob of this CoreScalar. # noqa: E501 - :type: CoreBlob - """ - - self._blob = blob - - @property - def binary(self): - """Gets the binary of this CoreScalar. # noqa: E501 - - - :return: The binary of this CoreScalar. # noqa: E501 - :rtype: CoreBinary - """ - return self._binary - - @binary.setter - def binary(self, binary): - """Sets the binary of this CoreScalar. - - - :param binary: The binary of this CoreScalar. # noqa: E501 - :type: CoreBinary - """ - - self._binary = binary - - @property - def schema(self): - """Gets the schema of this CoreScalar. # noqa: E501 - - - :return: The schema of this CoreScalar. # noqa: E501 - :rtype: CoreSchema - """ - return self._schema - - @schema.setter - def schema(self, schema): - """Sets the schema of this CoreScalar. - - - :param schema: The schema of this CoreScalar. # noqa: E501 - :type: CoreSchema - """ - - self._schema = schema - - @property - def none_type(self): - """Gets the none_type of this CoreScalar. # noqa: E501 - - - :return: The none_type of this CoreScalar. # noqa: E501 - :rtype: CoreVoid - """ - return self._none_type - - @none_type.setter - def none_type(self, none_type): - """Sets the none_type of this CoreScalar. - - - :param none_type: The none_type of this CoreScalar. # noqa: E501 - :type: CoreVoid - """ - - self._none_type = none_type - - @property - def error(self): - """Gets the error of this CoreScalar. # noqa: E501 - - - :return: The error of this CoreScalar. # noqa: E501 - :rtype: CoreError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this CoreScalar. - - - :param error: The error of this CoreScalar. # noqa: E501 - :type: CoreError - """ - - self._error = error - - @property - def generic(self): - """Gets the generic of this CoreScalar. # noqa: E501 - - - :return: The generic of this CoreScalar. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._generic - - @generic.setter - def generic(self, generic): - """Sets the generic of this CoreScalar. - - - :param generic: The generic of this CoreScalar. # noqa: E501 - :type: ProtobufStruct - """ - - self._generic = generic - - @property - def structured_dataset(self): - """Gets the structured_dataset of this CoreScalar. # noqa: E501 - - - :return: The structured_dataset of this CoreScalar. # noqa: E501 - :rtype: CoreStructuredDataset - """ - return self._structured_dataset - - @structured_dataset.setter - def structured_dataset(self, structured_dataset): - """Sets the structured_dataset of this CoreScalar. - - - :param structured_dataset: The structured_dataset of this CoreScalar. # noqa: E501 - :type: CoreStructuredDataset - """ - - self._structured_dataset = structured_dataset - - @property - def union(self): - """Gets the union of this CoreScalar. # noqa: E501 - - - :return: The union of this CoreScalar. # noqa: E501 - :rtype: CoreUnion - """ - return self._union - - @union.setter - def union(self, union): - """Sets the union of this CoreScalar. - - - :param union: The union of this CoreScalar. # noqa: E501 - :type: CoreUnion - """ - - self._union = union - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreScalar, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreScalar): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema.py deleted file mode 100644 index 4ede8e6c52..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: F401,E501 - - -class CoreSchema(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'uri': 'str', - 'type': 'CoreSchemaType' - } - - attribute_map = { - 'uri': 'uri', - 'type': 'type' - } - - def __init__(self, uri=None, type=None): # noqa: E501 - """CoreSchema - a model defined in Swagger""" # noqa: E501 - - self._uri = None - self._type = None - self.discriminator = None - - if uri is not None: - self.uri = uri - if type is not None: - self.type = type - - @property - def uri(self): - """Gets the uri of this CoreSchema. # noqa: E501 - - - :return: The uri of this CoreSchema. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreSchema. - - - :param uri: The uri of this CoreSchema. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def type(self): - """Gets the type of this CoreSchema. # noqa: E501 - - - :return: The type of this CoreSchema. # noqa: E501 - :rtype: CoreSchemaType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreSchema. - - - :param type: The type of this CoreSchema. # noqa: E501 - :type: CoreSchemaType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSchema, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSchema): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py deleted file mode 100644 index 679e617a9e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_schema_type.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn # noqa: F401,E501 - - -class CoreSchemaType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'columns': 'list[SchemaTypeSchemaColumn]' - } - - attribute_map = { - 'columns': 'columns' - } - - def __init__(self, columns=None): # noqa: E501 - """CoreSchemaType - a model defined in Swagger""" # noqa: E501 - - self._columns = None - self.discriminator = None - - if columns is not None: - self.columns = columns - - @property - def columns(self): - """Gets the columns of this CoreSchemaType. # noqa: E501 - - A list of ordered columns this schema comprises of. # noqa: E501 - - :return: The columns of this CoreSchemaType. # noqa: E501 - :rtype: list[SchemaTypeSchemaColumn] - """ - return self._columns - - @columns.setter - def columns(self, columns): - """Sets the columns of this CoreSchemaType. - - A list of ordered columns this schema comprises of. # noqa: E501 - - :param columns: The columns of this CoreSchemaType. # noqa: E501 - :type: list[SchemaTypeSchemaColumn] - """ - - self._columns = columns - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSchemaType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSchemaType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py deleted file mode 100644 index 378c51c4b2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_secret.py +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.secret_mount_type import SecretMountType # noqa: F401,E501 - - -class CoreSecret(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'group': 'str', - 'group_version': 'str', - 'key': 'str', - 'mount_requirement': 'SecretMountType' - } - - attribute_map = { - 'group': 'group', - 'group_version': 'group_version', - 'key': 'key', - 'mount_requirement': 'mount_requirement' - } - - def __init__(self, group=None, group_version=None, key=None, mount_requirement=None): # noqa: E501 - """CoreSecret - a model defined in Swagger""" # noqa: E501 - - self._group = None - self._group_version = None - self._key = None - self._mount_requirement = None - self.discriminator = None - - if group is not None: - self.group = group - if group_version is not None: - self.group_version = group_version - if key is not None: - self.key = key - if mount_requirement is not None: - self.mount_requirement = mount_requirement - - @property - def group(self): - """Gets the group of this CoreSecret. # noqa: E501 - - - :return: The group of this CoreSecret. # noqa: E501 - :rtype: str - """ - return self._group - - @group.setter - def group(self, group): - """Sets the group of this CoreSecret. - - - :param group: The group of this CoreSecret. # noqa: E501 - :type: str - """ - - self._group = group - - @property - def group_version(self): - """Gets the group_version of this CoreSecret. # noqa: E501 - - - :return: The group_version of this CoreSecret. # noqa: E501 - :rtype: str - """ - return self._group_version - - @group_version.setter - def group_version(self, group_version): - """Sets the group_version of this CoreSecret. - - - :param group_version: The group_version of this CoreSecret. # noqa: E501 - :type: str - """ - - self._group_version = group_version - - @property - def key(self): - """Gets the key of this CoreSecret. # noqa: E501 - - - :return: The key of this CoreSecret. # noqa: E501 - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this CoreSecret. - - - :param key: The key of this CoreSecret. # noqa: E501 - :type: str - """ - - self._key = key - - @property - def mount_requirement(self): - """Gets the mount_requirement of this CoreSecret. # noqa: E501 - - - :return: The mount_requirement of this CoreSecret. # noqa: E501 - :rtype: SecretMountType - """ - return self._mount_requirement - - @mount_requirement.setter - def mount_requirement(self, mount_requirement): - """Sets the mount_requirement of this CoreSecret. - - - :param mount_requirement: The mount_requirement of this CoreSecret. # noqa: E501 - :type: SecretMountType - """ - - self._mount_requirement = mount_requirement - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSecret, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSecret): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py deleted file mode 100644 index c6df3b44f7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_security_context.py +++ /dev/null @@ -1,177 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identity import CoreIdentity # noqa: F401,E501 -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest # noqa: F401,E501 -from flyteadmin.models.core_secret import CoreSecret # noqa: F401,E501 - - -class CoreSecurityContext(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'run_as': 'CoreIdentity', - 'secrets': 'list[CoreSecret]', - 'tokens': 'list[CoreOAuth2TokenRequest]' - } - - attribute_map = { - 'run_as': 'run_as', - 'secrets': 'secrets', - 'tokens': 'tokens' - } - - def __init__(self, run_as=None, secrets=None, tokens=None): # noqa: E501 - """CoreSecurityContext - a model defined in Swagger""" # noqa: E501 - - self._run_as = None - self._secrets = None - self._tokens = None - self.discriminator = None - - if run_as is not None: - self.run_as = run_as - if secrets is not None: - self.secrets = secrets - if tokens is not None: - self.tokens = tokens - - @property - def run_as(self): - """Gets the run_as of this CoreSecurityContext. # noqa: E501 - - run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. # noqa: E501 - - :return: The run_as of this CoreSecurityContext. # noqa: E501 - :rtype: CoreIdentity - """ - return self._run_as - - @run_as.setter - def run_as(self, run_as): - """Sets the run_as of this CoreSecurityContext. - - run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on. # noqa: E501 - - :param run_as: The run_as of this CoreSecurityContext. # noqa: E501 - :type: CoreIdentity - """ - - self._run_as = run_as - - @property - def secrets(self): - """Gets the secrets of this CoreSecurityContext. # noqa: E501 - - secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :return: The secrets of this CoreSecurityContext. # noqa: E501 - :rtype: list[CoreSecret] - """ - return self._secrets - - @secrets.setter - def secrets(self, secrets): - """Sets the secrets of this CoreSecurityContext. - - secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :param secrets: The secrets of this CoreSecurityContext. # noqa: E501 - :type: list[CoreSecret] - """ - - self._secrets = secrets - - @property - def tokens(self): - """Gets the tokens of this CoreSecurityContext. # noqa: E501 - - tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :return: The tokens of this CoreSecurityContext. # noqa: E501 - :rtype: list[CoreOAuth2TokenRequest] - """ - return self._tokens - - @tokens.setter - def tokens(self, tokens): - """Sets the tokens of this CoreSecurityContext. - - tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine. # noqa: E501 - - :param tokens: The tokens of this CoreSecurityContext. # noqa: E501 - :type: list[CoreOAuth2TokenRequest] - """ - - self._tokens = tokens - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSecurityContext, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSecurityContext): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_signal_condition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_signal_condition.py deleted file mode 100644 index 1ccd927b9d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_signal_condition.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreSignalCondition(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'signal_id': 'str', - 'type': 'CoreLiteralType', - 'output_variable_name': 'str' - } - - attribute_map = { - 'signal_id': 'signal_id', - 'type': 'type', - 'output_variable_name': 'output_variable_name' - } - - def __init__(self, signal_id=None, type=None, output_variable_name=None): # noqa: E501 - """CoreSignalCondition - a model defined in Swagger""" # noqa: E501 - - self._signal_id = None - self._type = None - self._output_variable_name = None - self.discriminator = None - - if signal_id is not None: - self.signal_id = signal_id - if type is not None: - self.type = type - if output_variable_name is not None: - self.output_variable_name = output_variable_name - - @property - def signal_id(self): - """Gets the signal_id of this CoreSignalCondition. # noqa: E501 - - A unique identifier for the requested signal. # noqa: E501 - - :return: The signal_id of this CoreSignalCondition. # noqa: E501 - :rtype: str - """ - return self._signal_id - - @signal_id.setter - def signal_id(self, signal_id): - """Sets the signal_id of this CoreSignalCondition. - - A unique identifier for the requested signal. # noqa: E501 - - :param signal_id: The signal_id of this CoreSignalCondition. # noqa: E501 - :type: str - """ - - self._signal_id = signal_id - - @property - def type(self): - """Gets the type of this CoreSignalCondition. # noqa: E501 - - A type denoting the required value type for this signal. # noqa: E501 - - :return: The type of this CoreSignalCondition. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreSignalCondition. - - A type denoting the required value type for this signal. # noqa: E501 - - :param type: The type of this CoreSignalCondition. # noqa: E501 - :type: CoreLiteralType - """ - - self._type = type - - @property - def output_variable_name(self): - """Gets the output_variable_name of this CoreSignalCondition. # noqa: E501 - - The variable name for the signal value in this nodes outputs. # noqa: E501 - - :return: The output_variable_name of this CoreSignalCondition. # noqa: E501 - :rtype: str - """ - return self._output_variable_name - - @output_variable_name.setter - def output_variable_name(self, output_variable_name): - """Sets the output_variable_name of this CoreSignalCondition. - - The variable name for the signal value in this nodes outputs. # noqa: E501 - - :param output_variable_name: The output_variable_name of this CoreSignalCondition. # noqa: E501 - :type: str - """ - - self._output_variable_name = output_variable_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSignalCondition, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSignalCondition): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py deleted file mode 100644 index 1a98e893f3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_simple_type.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreSimpleType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NONE = "NONE" - INTEGER = "INTEGER" - FLOAT = "FLOAT" - STRING = "STRING" - BOOLEAN = "BOOLEAN" - DATETIME = "DATETIME" - DURATION = "DURATION" - BINARY = "BINARY" - ERROR = "ERROR" - STRUCT = "STRUCT" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreSimpleType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSimpleType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSimpleType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sleep_condition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sleep_condition.py deleted file mode 100644 index aa3a244b8f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sleep_condition.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreSleepCondition(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'duration': 'str' - } - - attribute_map = { - 'duration': 'duration' - } - - def __init__(self, duration=None): # noqa: E501 - """CoreSleepCondition - a model defined in Swagger""" # noqa: E501 - - self._duration = None - self.discriminator = None - - if duration is not None: - self.duration = duration - - @property - def duration(self): - """Gets the duration of this CoreSleepCondition. # noqa: E501 - - The overall duration for this sleep. # noqa: E501 - - :return: The duration of this CoreSleepCondition. # noqa: E501 - :rtype: str - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this CoreSleepCondition. - - The overall duration for this sleep. # noqa: E501 - - :param duration: The duration of this CoreSleepCondition. # noqa: E501 - :type: str - """ - - self._duration = duration - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSleepCondition, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSleepCondition): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_span.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_span.py deleted file mode 100644 index c9d36d9bbd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_span.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_span import CoreSpan # noqa: F401,E501 -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class CoreSpan(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'start_time': 'datetime', - 'end_time': 'datetime', - 'workflow_id': 'CoreWorkflowExecutionIdentifier', - 'node_id': 'CoreNodeExecutionIdentifier', - 'task_id': 'CoreTaskExecutionIdentifier', - 'operation_id': 'str', - 'spans': 'list[CoreSpan]' - } - - attribute_map = { - 'start_time': 'start_time', - 'end_time': 'end_time', - 'workflow_id': 'workflow_id', - 'node_id': 'node_id', - 'task_id': 'task_id', - 'operation_id': 'operation_id', - 'spans': 'spans' - } - - def __init__(self, start_time=None, end_time=None, workflow_id=None, node_id=None, task_id=None, operation_id=None, spans=None): # noqa: E501 - """CoreSpan - a model defined in Swagger""" # noqa: E501 - - self._start_time = None - self._end_time = None - self._workflow_id = None - self._node_id = None - self._task_id = None - self._operation_id = None - self._spans = None - self.discriminator = None - - if start_time is not None: - self.start_time = start_time - if end_time is not None: - self.end_time = end_time - if workflow_id is not None: - self.workflow_id = workflow_id - if node_id is not None: - self.node_id = node_id - if task_id is not None: - self.task_id = task_id - if operation_id is not None: - self.operation_id = operation_id - if spans is not None: - self.spans = spans - - @property - def start_time(self): - """Gets the start_time of this CoreSpan. # noqa: E501 - - start_time defines the instance this span began. # noqa: E501 - - :return: The start_time of this CoreSpan. # noqa: E501 - :rtype: datetime - """ - return self._start_time - - @start_time.setter - def start_time(self, start_time): - """Sets the start_time of this CoreSpan. - - start_time defines the instance this span began. # noqa: E501 - - :param start_time: The start_time of this CoreSpan. # noqa: E501 - :type: datetime - """ - - self._start_time = start_time - - @property - def end_time(self): - """Gets the end_time of this CoreSpan. # noqa: E501 - - end_time defines the instance this span completed. # noqa: E501 - - :return: The end_time of this CoreSpan. # noqa: E501 - :rtype: datetime - """ - return self._end_time - - @end_time.setter - def end_time(self, end_time): - """Sets the end_time of this CoreSpan. - - end_time defines the instance this span completed. # noqa: E501 - - :param end_time: The end_time of this CoreSpan. # noqa: E501 - :type: datetime - """ - - self._end_time = end_time - - @property - def workflow_id(self): - """Gets the workflow_id of this CoreSpan. # noqa: E501 - - workflow_id is the id of the workflow execution this Span represents. # noqa: E501 - - :return: The workflow_id of this CoreSpan. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._workflow_id - - @workflow_id.setter - def workflow_id(self, workflow_id): - """Sets the workflow_id of this CoreSpan. - - workflow_id is the id of the workflow execution this Span represents. # noqa: E501 - - :param workflow_id: The workflow_id of this CoreSpan. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._workflow_id = workflow_id - - @property - def node_id(self): - """Gets the node_id of this CoreSpan. # noqa: E501 - - node_id is the id of the node execution this Span represents. # noqa: E501 - - :return: The node_id of this CoreSpan. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this CoreSpan. - - node_id is the id of the node execution this Span represents. # noqa: E501 - - :param node_id: The node_id of this CoreSpan. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._node_id = node_id - - @property - def task_id(self): - """Gets the task_id of this CoreSpan. # noqa: E501 - - task_id is the id of the task execution this Span represents. # noqa: E501 - - :return: The task_id of this CoreSpan. # noqa: E501 - :rtype: CoreTaskExecutionIdentifier - """ - return self._task_id - - @task_id.setter - def task_id(self, task_id): - """Sets the task_id of this CoreSpan. - - task_id is the id of the task execution this Span represents. # noqa: E501 - - :param task_id: The task_id of this CoreSpan. # noqa: E501 - :type: CoreTaskExecutionIdentifier - """ - - self._task_id = task_id - - @property - def operation_id(self): - """Gets the operation_id of this CoreSpan. # noqa: E501 - - operation_id is the id of a unique operation that this Span represents. # noqa: E501 - - :return: The operation_id of this CoreSpan. # noqa: E501 - :rtype: str - """ - return self._operation_id - - @operation_id.setter - def operation_id(self, operation_id): - """Sets the operation_id of this CoreSpan. - - operation_id is the id of a unique operation that this Span represents. # noqa: E501 - - :param operation_id: The operation_id of this CoreSpan. # noqa: E501 - :type: str - """ - - self._operation_id = operation_id - - @property - def spans(self): - """Gets the spans of this CoreSpan. # noqa: E501 - - spans defines a collection of Spans that breakdown this execution. # noqa: E501 - - :return: The spans of this CoreSpan. # noqa: E501 - :rtype: list[CoreSpan] - """ - return self._spans - - @spans.setter - def spans(self, spans): - """Sets the spans of this CoreSpan. - - spans defines a collection of Spans that breakdown this execution. # noqa: E501 - - :param spans: The spans of this CoreSpan. # noqa: E501 - :type: list[CoreSpan] - """ - - self._spans = spans - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSpan, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSpan): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py deleted file mode 100644 index e688a08362..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_sql.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.sql_dialect import SqlDialect # noqa: F401,E501 - - -class CoreSql(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'statement': 'str', - 'dialect': 'SqlDialect' - } - - attribute_map = { - 'statement': 'statement', - 'dialect': 'dialect' - } - - def __init__(self, statement=None, dialect=None): # noqa: E501 - """CoreSql - a model defined in Swagger""" # noqa: E501 - - self._statement = None - self._dialect = None - self.discriminator = None - - if statement is not None: - self.statement = statement - if dialect is not None: - self.dialect = dialect - - @property - def statement(self): - """Gets the statement of this CoreSql. # noqa: E501 - - - :return: The statement of this CoreSql. # noqa: E501 - :rtype: str - """ - return self._statement - - @statement.setter - def statement(self, statement): - """Sets the statement of this CoreSql. - - - :param statement: The statement of this CoreSql. # noqa: E501 - :type: str - """ - - self._statement = statement - - @property - def dialect(self): - """Gets the dialect of this CoreSql. # noqa: E501 - - - :return: The dialect of this CoreSql. # noqa: E501 - :rtype: SqlDialect - """ - return self._dialect - - @dialect.setter - def dialect(self, dialect): - """Sets the dialect of this CoreSql. - - - :param dialect: The dialect of this CoreSql. # noqa: E501 - :type: SqlDialect - """ - - self._dialect = dialect - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreSql, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreSql): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py deleted file mode 100644 index af3e3c7a03..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata # noqa: F401,E501 - - -class CoreStructuredDataset(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'uri': 'str', - 'metadata': 'CoreStructuredDatasetMetadata' - } - - attribute_map = { - 'uri': 'uri', - 'metadata': 'metadata' - } - - def __init__(self, uri=None, metadata=None): # noqa: E501 - """CoreStructuredDataset - a model defined in Swagger""" # noqa: E501 - - self._uri = None - self._metadata = None - self.discriminator = None - - if uri is not None: - self.uri = uri - if metadata is not None: - self.metadata = metadata - - @property - def uri(self): - """Gets the uri of this CoreStructuredDataset. # noqa: E501 - - - :return: The uri of this CoreStructuredDataset. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreStructuredDataset. - - - :param uri: The uri of this CoreStructuredDataset. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def metadata(self): - """Gets the metadata of this CoreStructuredDataset. # noqa: E501 - - - :return: The metadata of this CoreStructuredDataset. # noqa: E501 - :rtype: CoreStructuredDatasetMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreStructuredDataset. - - - :param metadata: The metadata of this CoreStructuredDataset. # noqa: E501 - :type: CoreStructuredDatasetMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreStructuredDataset, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreStructuredDataset): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py deleted file mode 100644 index 100da8fd51..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_metadata.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: F401,E501 - - -class CoreStructuredDatasetMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'structured_dataset_type': 'CoreStructuredDatasetType' - } - - attribute_map = { - 'structured_dataset_type': 'structured_dataset_type' - } - - def __init__(self, structured_dataset_type=None): # noqa: E501 - """CoreStructuredDatasetMetadata - a model defined in Swagger""" # noqa: E501 - - self._structured_dataset_type = None - self.discriminator = None - - if structured_dataset_type is not None: - self.structured_dataset_type = structured_dataset_type - - @property - def structured_dataset_type(self): - """Gets the structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 - - Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. # noqa: E501 - - :return: The structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 - :rtype: CoreStructuredDatasetType - """ - return self._structured_dataset_type - - @structured_dataset_type.setter - def structured_dataset_type(self, structured_dataset_type): - """Sets the structured_dataset_type of this CoreStructuredDatasetMetadata. - - Bundle the type information along with the literal. This is here because StructuredDatasets can often be more defined at run time than at compile time. That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset, without any column information, but at run time, you might have that column information. flytekit python will copy this type information into the literal, from the type information, if not provided by the various plugins (encoders). Since this field is run time generated, it's not used for any type checking. # noqa: E501 - - :param structured_dataset_type: The structured_dataset_type of this CoreStructuredDatasetMetadata. # noqa: E501 - :type: CoreStructuredDatasetType - """ - - self._structured_dataset_type = structured_dataset_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreStructuredDatasetMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreStructuredDatasetMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py deleted file mode 100644 index 86e7427947..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_structured_dataset_type.py +++ /dev/null @@ -1,205 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn # noqa: F401,E501 - - -class CoreStructuredDatasetType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'columns': 'list[StructuredDatasetTypeDatasetColumn]', - 'format': 'str', - 'external_schema_type': 'str', - 'external_schema_bytes': 'str' - } - - attribute_map = { - 'columns': 'columns', - 'format': 'format', - 'external_schema_type': 'external_schema_type', - 'external_schema_bytes': 'external_schema_bytes' - } - - def __init__(self, columns=None, format=None, external_schema_type=None, external_schema_bytes=None): # noqa: E501 - """CoreStructuredDatasetType - a model defined in Swagger""" # noqa: E501 - - self._columns = None - self._format = None - self._external_schema_type = None - self._external_schema_bytes = None - self.discriminator = None - - if columns is not None: - self.columns = columns - if format is not None: - self.format = format - if external_schema_type is not None: - self.external_schema_type = external_schema_type - if external_schema_bytes is not None: - self.external_schema_bytes = external_schema_bytes - - @property - def columns(self): - """Gets the columns of this CoreStructuredDatasetType. # noqa: E501 - - A list of ordered columns this schema comprises of. # noqa: E501 - - :return: The columns of this CoreStructuredDatasetType. # noqa: E501 - :rtype: list[StructuredDatasetTypeDatasetColumn] - """ - return self._columns - - @columns.setter - def columns(self, columns): - """Sets the columns of this CoreStructuredDatasetType. - - A list of ordered columns this schema comprises of. # noqa: E501 - - :param columns: The columns of this CoreStructuredDatasetType. # noqa: E501 - :type: list[StructuredDatasetTypeDatasetColumn] - """ - - self._columns = columns - - @property - def format(self): - """Gets the format of this CoreStructuredDatasetType. # noqa: E501 - - This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. # noqa: E501 - - :return: The format of this CoreStructuredDatasetType. # noqa: E501 - :rtype: str - """ - return self._format - - @format.setter - def format(self, format): - """Sets the format of this CoreStructuredDatasetType. - - This is the storage format, the format of the bits at rest parquet, feather, csv, etc. For two types to be compatible, the format will need to be an exact match. # noqa: E501 - - :param format: The format of this CoreStructuredDatasetType. # noqa: E501 - :type: str - """ - - self._format = format - - @property - def external_schema_type(self): - """Gets the external_schema_type of this CoreStructuredDatasetType. # noqa: E501 - - This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. # noqa: E501 - - :return: The external_schema_type of this CoreStructuredDatasetType. # noqa: E501 - :rtype: str - """ - return self._external_schema_type - - @external_schema_type.setter - def external_schema_type(self, external_schema_type): - """Sets the external_schema_type of this CoreStructuredDatasetType. - - This is a string representing the type that the bytes in external_schema_bytes are formatted in. This is an optional field that will not be used for type checking. # noqa: E501 - - :param external_schema_type: The external_schema_type of this CoreStructuredDatasetType. # noqa: E501 - :type: str - """ - - self._external_schema_type = external_schema_type - - @property - def external_schema_bytes(self): - """Gets the external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 - - The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. # noqa: E501 - - :return: The external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 - :rtype: str - """ - return self._external_schema_bytes - - @external_schema_bytes.setter - def external_schema_bytes(self, external_schema_bytes): - """Sets the external_schema_bytes of this CoreStructuredDatasetType. - - The serialized bytes of a third-party schema library like Arrow. This is an optional field that will not be used for type checking. # noqa: E501 - - :param external_schema_bytes: The external_schema_bytes of this CoreStructuredDatasetType. # noqa: E501 - :type: str - """ - if external_schema_bytes is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', external_schema_bytes): # noqa: E501 - raise ValueError(r"Invalid value for `external_schema_bytes`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 - - self._external_schema_bytes = external_schema_bytes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreStructuredDatasetType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreStructuredDatasetType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py deleted file mode 100644 index 766ccccee7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_identifier.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 - - -class CoreTaskExecutionIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_id': 'CoreIdentifier', - 'node_execution_id': 'CoreNodeExecutionIdentifier', - 'retry_attempt': 'int' - } - - attribute_map = { - 'task_id': 'task_id', - 'node_execution_id': 'node_execution_id', - 'retry_attempt': 'retry_attempt' - } - - def __init__(self, task_id=None, node_execution_id=None, retry_attempt=None): # noqa: E501 - """CoreTaskExecutionIdentifier - a model defined in Swagger""" # noqa: E501 - - self._task_id = None - self._node_execution_id = None - self._retry_attempt = None - self.discriminator = None - - if task_id is not None: - self.task_id = task_id - if node_execution_id is not None: - self.node_execution_id = node_execution_id - if retry_attempt is not None: - self.retry_attempt = retry_attempt - - @property - def task_id(self): - """Gets the task_id of this CoreTaskExecutionIdentifier. # noqa: E501 - - - :return: The task_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._task_id - - @task_id.setter - def task_id(self, task_id): - """Sets the task_id of this CoreTaskExecutionIdentifier. - - - :param task_id: The task_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :type: CoreIdentifier - """ - - self._task_id = task_id - - @property - def node_execution_id(self): - """Gets the node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 - - - :return: The node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._node_execution_id - - @node_execution_id.setter - def node_execution_id(self, node_execution_id): - """Sets the node_execution_id of this CoreTaskExecutionIdentifier. - - - :param node_execution_id: The node_execution_id of this CoreTaskExecutionIdentifier. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._node_execution_id = node_execution_id - - @property - def retry_attempt(self): - """Gets the retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 - - - :return: The retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 - :rtype: int - """ - return self._retry_attempt - - @retry_attempt.setter - def retry_attempt(self, retry_attempt): - """Sets the retry_attempt of this CoreTaskExecutionIdentifier. - - - :param retry_attempt: The retry_attempt of this CoreTaskExecutionIdentifier. # noqa: E501 - :type: int - """ - - self._retry_attempt = retry_attempt - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskExecutionIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskExecutionIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py deleted file mode 100644 index 5a8dbce0d5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_execution_phase.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreTaskExecutionPhase(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - QUEUED = "QUEUED" - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - ABORTED = "ABORTED" - FAILED = "FAILED" - INITIALIZING = "INITIALIZING" - WAITING_FOR_RESOURCES = "WAITING_FOR_RESOURCES" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreTaskExecutionPhase - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskExecutionPhase, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskExecutionPhase): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py deleted file mode 100644 index a219028ae2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_log.py +++ /dev/null @@ -1,195 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat # noqa: F401,E501 - - -class CoreTaskLog(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'uri': 'str', - 'name': 'str', - 'message_format': 'TaskLogMessageFormat', - 'ttl': 'str' - } - - attribute_map = { - 'uri': 'uri', - 'name': 'name', - 'message_format': 'message_format', - 'ttl': 'ttl' - } - - def __init__(self, uri=None, name=None, message_format=None, ttl=None): # noqa: E501 - """CoreTaskLog - a model defined in Swagger""" # noqa: E501 - - self._uri = None - self._name = None - self._message_format = None - self._ttl = None - self.discriminator = None - - if uri is not None: - self.uri = uri - if name is not None: - self.name = name - if message_format is not None: - self.message_format = message_format - if ttl is not None: - self.ttl = ttl - - @property - def uri(self): - """Gets the uri of this CoreTaskLog. # noqa: E501 - - - :return: The uri of this CoreTaskLog. # noqa: E501 - :rtype: str - """ - return self._uri - - @uri.setter - def uri(self, uri): - """Sets the uri of this CoreTaskLog. - - - :param uri: The uri of this CoreTaskLog. # noqa: E501 - :type: str - """ - - self._uri = uri - - @property - def name(self): - """Gets the name of this CoreTaskLog. # noqa: E501 - - - :return: The name of this CoreTaskLog. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreTaskLog. - - - :param name: The name of this CoreTaskLog. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def message_format(self): - """Gets the message_format of this CoreTaskLog. # noqa: E501 - - - :return: The message_format of this CoreTaskLog. # noqa: E501 - :rtype: TaskLogMessageFormat - """ - return self._message_format - - @message_format.setter - def message_format(self, message_format): - """Sets the message_format of this CoreTaskLog. - - - :param message_format: The message_format of this CoreTaskLog. # noqa: E501 - :type: TaskLogMessageFormat - """ - - self._message_format = message_format - - @property - def ttl(self): - """Gets the ttl of this CoreTaskLog. # noqa: E501 - - - :return: The ttl of this CoreTaskLog. # noqa: E501 - :rtype: str - """ - return self._ttl - - @ttl.setter - def ttl(self, ttl): - """Sets the ttl of this CoreTaskLog. - - - :param ttl: The ttl of this CoreTaskLog. # noqa: E501 - :type: str - """ - - self._ttl = ttl - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskLog, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskLog): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py deleted file mode 100644 index 8223273a83..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_metadata.py +++ /dev/null @@ -1,422 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: F401,E501 -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata # noqa: F401,E501 - - -class CoreTaskMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'discoverable': 'bool', - 'runtime': 'CoreRuntimeMetadata', - 'timeout': 'str', - 'retries': 'CoreRetryStrategy', - 'discovery_version': 'str', - 'deprecated_error_message': 'str', - 'interruptible': 'bool', - 'cache_serializable': 'bool', - 'generates_deck': 'bool', - 'tags': 'dict(str, str)', - 'pod_template_name': 'str', - 'cache_ignore_input_vars': 'list[str]' - } - - attribute_map = { - 'discoverable': 'discoverable', - 'runtime': 'runtime', - 'timeout': 'timeout', - 'retries': 'retries', - 'discovery_version': 'discovery_version', - 'deprecated_error_message': 'deprecated_error_message', - 'interruptible': 'interruptible', - 'cache_serializable': 'cache_serializable', - 'generates_deck': 'generates_deck', - 'tags': 'tags', - 'pod_template_name': 'pod_template_name', - 'cache_ignore_input_vars': 'cache_ignore_input_vars' - } - - def __init__(self, discoverable=None, runtime=None, timeout=None, retries=None, discovery_version=None, deprecated_error_message=None, interruptible=None, cache_serializable=None, generates_deck=None, tags=None, pod_template_name=None, cache_ignore_input_vars=None): # noqa: E501 - """CoreTaskMetadata - a model defined in Swagger""" # noqa: E501 - - self._discoverable = None - self._runtime = None - self._timeout = None - self._retries = None - self._discovery_version = None - self._deprecated_error_message = None - self._interruptible = None - self._cache_serializable = None - self._generates_deck = None - self._tags = None - self._pod_template_name = None - self._cache_ignore_input_vars = None - self.discriminator = None - - if discoverable is not None: - self.discoverable = discoverable - if runtime is not None: - self.runtime = runtime - if timeout is not None: - self.timeout = timeout - if retries is not None: - self.retries = retries - if discovery_version is not None: - self.discovery_version = discovery_version - if deprecated_error_message is not None: - self.deprecated_error_message = deprecated_error_message - if interruptible is not None: - self.interruptible = interruptible - if cache_serializable is not None: - self.cache_serializable = cache_serializable - if generates_deck is not None: - self.generates_deck = generates_deck - if tags is not None: - self.tags = tags - if pod_template_name is not None: - self.pod_template_name = pod_template_name - if cache_ignore_input_vars is not None: - self.cache_ignore_input_vars = cache_ignore_input_vars - - @property - def discoverable(self): - """Gets the discoverable of this CoreTaskMetadata. # noqa: E501 - - Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. # noqa: E501 - - :return: The discoverable of this CoreTaskMetadata. # noqa: E501 - :rtype: bool - """ - return self._discoverable - - @discoverable.setter - def discoverable(self, discoverable): - """Sets the discoverable of this CoreTaskMetadata. - - Indicates whether the system should attempt to lookup this task's output to avoid duplication of work. # noqa: E501 - - :param discoverable: The discoverable of this CoreTaskMetadata. # noqa: E501 - :type: bool - """ - - self._discoverable = discoverable - - @property - def runtime(self): - """Gets the runtime of this CoreTaskMetadata. # noqa: E501 - - Runtime information about the task. # noqa: E501 - - :return: The runtime of this CoreTaskMetadata. # noqa: E501 - :rtype: CoreRuntimeMetadata - """ - return self._runtime - - @runtime.setter - def runtime(self, runtime): - """Sets the runtime of this CoreTaskMetadata. - - Runtime information about the task. # noqa: E501 - - :param runtime: The runtime of this CoreTaskMetadata. # noqa: E501 - :type: CoreRuntimeMetadata - """ - - self._runtime = runtime - - @property - def timeout(self): - """Gets the timeout of this CoreTaskMetadata. # noqa: E501 - - The overall timeout of a task including user-triggered retries. # noqa: E501 - - :return: The timeout of this CoreTaskMetadata. # noqa: E501 - :rtype: str - """ - return self._timeout - - @timeout.setter - def timeout(self, timeout): - """Sets the timeout of this CoreTaskMetadata. - - The overall timeout of a task including user-triggered retries. # noqa: E501 - - :param timeout: The timeout of this CoreTaskMetadata. # noqa: E501 - :type: str - """ - - self._timeout = timeout - - @property - def retries(self): - """Gets the retries of this CoreTaskMetadata. # noqa: E501 - - Number of retries per task. # noqa: E501 - - :return: The retries of this CoreTaskMetadata. # noqa: E501 - :rtype: CoreRetryStrategy - """ - return self._retries - - @retries.setter - def retries(self, retries): - """Sets the retries of this CoreTaskMetadata. - - Number of retries per task. # noqa: E501 - - :param retries: The retries of this CoreTaskMetadata. # noqa: E501 - :type: CoreRetryStrategy - """ - - self._retries = retries - - @property - def discovery_version(self): - """Gets the discovery_version of this CoreTaskMetadata. # noqa: E501 - - Indicates a logical version to apply to this task for the purpose of discovery. # noqa: E501 - - :return: The discovery_version of this CoreTaskMetadata. # noqa: E501 - :rtype: str - """ - return self._discovery_version - - @discovery_version.setter - def discovery_version(self, discovery_version): - """Sets the discovery_version of this CoreTaskMetadata. - - Indicates a logical version to apply to this task for the purpose of discovery. # noqa: E501 - - :param discovery_version: The discovery_version of this CoreTaskMetadata. # noqa: E501 - :type: str - """ - - self._discovery_version = discovery_version - - @property - def deprecated_error_message(self): - """Gets the deprecated_error_message of this CoreTaskMetadata. # noqa: E501 - - If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. # noqa: E501 - - :return: The deprecated_error_message of this CoreTaskMetadata. # noqa: E501 - :rtype: str - """ - return self._deprecated_error_message - - @deprecated_error_message.setter - def deprecated_error_message(self, deprecated_error_message): - """Sets the deprecated_error_message of this CoreTaskMetadata. - - If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task. # noqa: E501 - - :param deprecated_error_message: The deprecated_error_message of this CoreTaskMetadata. # noqa: E501 - :type: str - """ - - self._deprecated_error_message = deprecated_error_message - - @property - def interruptible(self): - """Gets the interruptible of this CoreTaskMetadata. # noqa: E501 - - - :return: The interruptible of this CoreTaskMetadata. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this CoreTaskMetadata. - - - :param interruptible: The interruptible of this CoreTaskMetadata. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - @property - def cache_serializable(self): - """Gets the cache_serializable of this CoreTaskMetadata. # noqa: E501 - - - :return: The cache_serializable of this CoreTaskMetadata. # noqa: E501 - :rtype: bool - """ - return self._cache_serializable - - @cache_serializable.setter - def cache_serializable(self, cache_serializable): - """Sets the cache_serializable of this CoreTaskMetadata. - - - :param cache_serializable: The cache_serializable of this CoreTaskMetadata. # noqa: E501 - :type: bool - """ - - self._cache_serializable = cache_serializable - - @property - def generates_deck(self): - """Gets the generates_deck of this CoreTaskMetadata. # noqa: E501 - - Indicates whether the task will generate a Deck URI when it finishes executing. # noqa: E501 - - :return: The generates_deck of this CoreTaskMetadata. # noqa: E501 - :rtype: bool - """ - return self._generates_deck - - @generates_deck.setter - def generates_deck(self, generates_deck): - """Sets the generates_deck of this CoreTaskMetadata. - - Indicates whether the task will generate a Deck URI when it finishes executing. # noqa: E501 - - :param generates_deck: The generates_deck of this CoreTaskMetadata. # noqa: E501 - :type: bool - """ - - self._generates_deck = generates_deck - - @property - def tags(self): - """Gets the tags of this CoreTaskMetadata. # noqa: E501 - - - :return: The tags of this CoreTaskMetadata. # noqa: E501 - :rtype: dict(str, str) - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this CoreTaskMetadata. - - - :param tags: The tags of this CoreTaskMetadata. # noqa: E501 - :type: dict(str, str) - """ - - self._tags = tags - - @property - def pod_template_name(self): - """Gets the pod_template_name of this CoreTaskMetadata. # noqa: E501 - - pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied identically as, the default PodTemplate configured in FlytePropeller. # noqa: E501 - - :return: The pod_template_name of this CoreTaskMetadata. # noqa: E501 - :rtype: str - """ - return self._pod_template_name - - @pod_template_name.setter - def pod_template_name(self, pod_template_name): - """Sets the pod_template_name of this CoreTaskMetadata. - - pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied identically as, the default PodTemplate configured in FlytePropeller. # noqa: E501 - - :param pod_template_name: The pod_template_name of this CoreTaskMetadata. # noqa: E501 - :type: str - """ - - self._pod_template_name = pod_template_name - - @property - def cache_ignore_input_vars(self): - """Gets the cache_ignore_input_vars of this CoreTaskMetadata. # noqa: E501 - - cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache. # noqa: E501 - - :return: The cache_ignore_input_vars of this CoreTaskMetadata. # noqa: E501 - :rtype: list[str] - """ - return self._cache_ignore_input_vars - - @cache_ignore_input_vars.setter - def cache_ignore_input_vars(self, cache_ignore_input_vars): - """Sets the cache_ignore_input_vars of this CoreTaskMetadata. - - cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache. # noqa: E501 - - :param cache_ignore_input_vars: The cache_ignore_input_vars of this CoreTaskMetadata. # noqa: E501 - :type: list[str] - """ - - self._cache_ignore_input_vars = cache_ignore_input_vars - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py deleted file mode 100644 index db307f7405..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides # noqa: F401,E501 - - -class CoreTaskNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'reference_id': 'CoreIdentifier', - 'overrides': 'CoreTaskNodeOverrides' - } - - attribute_map = { - 'reference_id': 'reference_id', - 'overrides': 'overrides' - } - - def __init__(self, reference_id=None, overrides=None): # noqa: E501 - """CoreTaskNode - a model defined in Swagger""" # noqa: E501 - - self._reference_id = None - self._overrides = None - self.discriminator = None - - if reference_id is not None: - self.reference_id = reference_id - if overrides is not None: - self.overrides = overrides - - @property - def reference_id(self): - """Gets the reference_id of this CoreTaskNode. # noqa: E501 - - A globally unique identifier for the task. # noqa: E501 - - :return: The reference_id of this CoreTaskNode. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._reference_id - - @reference_id.setter - def reference_id(self, reference_id): - """Sets the reference_id of this CoreTaskNode. - - A globally unique identifier for the task. # noqa: E501 - - :param reference_id: The reference_id of this CoreTaskNode. # noqa: E501 - :type: CoreIdentifier - """ - - self._reference_id = reference_id - - @property - def overrides(self): - """Gets the overrides of this CoreTaskNode. # noqa: E501 - - Optional overrides applied at task execution time. # noqa: E501 - - :return: The overrides of this CoreTaskNode. # noqa: E501 - :rtype: CoreTaskNodeOverrides - """ - return self._overrides - - @overrides.setter - def overrides(self, overrides): - """Sets the overrides of this CoreTaskNode. - - Optional overrides applied at task execution time. # noqa: E501 - - :param overrides: The overrides of this CoreTaskNode. # noqa: E501 - :type: CoreTaskNodeOverrides - """ - - self._overrides = overrides - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py deleted file mode 100644 index 54617984db..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_node_overrides.py +++ /dev/null @@ -1,148 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_extended_resources import CoreExtendedResources # noqa: F401,E501 -from flyteadmin.models.core_resources import CoreResources # noqa: F401,E501 - - -class CoreTaskNodeOverrides(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'resources': 'CoreResources', - 'extended_resources': 'CoreExtendedResources' - } - - attribute_map = { - 'resources': 'resources', - 'extended_resources': 'extended_resources' - } - - def __init__(self, resources=None, extended_resources=None): # noqa: E501 - """CoreTaskNodeOverrides - a model defined in Swagger""" # noqa: E501 - - self._resources = None - self._extended_resources = None - self.discriminator = None - - if resources is not None: - self.resources = resources - if extended_resources is not None: - self.extended_resources = extended_resources - - @property - def resources(self): - """Gets the resources of this CoreTaskNodeOverrides. # noqa: E501 - - A customizable interface to convey resources requested for a task container. # noqa: E501 - - :return: The resources of this CoreTaskNodeOverrides. # noqa: E501 - :rtype: CoreResources - """ - return self._resources - - @resources.setter - def resources(self, resources): - """Sets the resources of this CoreTaskNodeOverrides. - - A customizable interface to convey resources requested for a task container. # noqa: E501 - - :param resources: The resources of this CoreTaskNodeOverrides. # noqa: E501 - :type: CoreResources - """ - - self._resources = resources - - @property - def extended_resources(self): - """Gets the extended_resources of this CoreTaskNodeOverrides. # noqa: E501 - - Overrides for all non-standard resources, not captured by v1.ResourceRequirements, to allocate to a task. # noqa: E501 - - :return: The extended_resources of this CoreTaskNodeOverrides. # noqa: E501 - :rtype: CoreExtendedResources - """ - return self._extended_resources - - @extended_resources.setter - def extended_resources(self, extended_resources): - """Sets the extended_resources of this CoreTaskNodeOverrides. - - Overrides for all non-standard resources, not captured by v1.ResourceRequirements, to allocate to a task. # noqa: E501 - - :param extended_resources: The extended_resources of this CoreTaskNodeOverrides. # noqa: E501 - :type: CoreExtendedResources - """ - - self._extended_resources = extended_resources - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskNodeOverrides, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskNodeOverrides): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py deleted file mode 100644 index df06a8db04..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_task_template.py +++ /dev/null @@ -1,427 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_container import CoreContainer # noqa: F401,E501 -from flyteadmin.models.core_extended_resources import CoreExtendedResources # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_k8s_pod import CoreK8sPod # noqa: F401,E501 -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 -from flyteadmin.models.core_sql import CoreSql # noqa: F401,E501 -from flyteadmin.models.core_task_metadata import CoreTaskMetadata # noqa: F401,E501 -from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreTaskTemplate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'type': 'str', - 'metadata': 'CoreTaskMetadata', - 'interface': 'CoreTypedInterface', - 'custom': 'ProtobufStruct', - 'container': 'CoreContainer', - 'k8s_pod': 'CoreK8sPod', - 'sql': 'CoreSql', - 'task_type_version': 'int', - 'security_context': 'CoreSecurityContext', - 'extended_resources': 'CoreExtendedResources', - 'config': 'dict(str, str)' - } - - attribute_map = { - 'id': 'id', - 'type': 'type', - 'metadata': 'metadata', - 'interface': 'interface', - 'custom': 'custom', - 'container': 'container', - 'k8s_pod': 'k8s_pod', - 'sql': 'sql', - 'task_type_version': 'task_type_version', - 'security_context': 'security_context', - 'extended_resources': 'extended_resources', - 'config': 'config' - } - - def __init__(self, id=None, type=None, metadata=None, interface=None, custom=None, container=None, k8s_pod=None, sql=None, task_type_version=None, security_context=None, extended_resources=None, config=None): # noqa: E501 - """CoreTaskTemplate - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._type = None - self._metadata = None - self._interface = None - self._custom = None - self._container = None - self._k8s_pod = None - self._sql = None - self._task_type_version = None - self._security_context = None - self._extended_resources = None - self._config = None - self.discriminator = None - - if id is not None: - self.id = id - if type is not None: - self.type = type - if metadata is not None: - self.metadata = metadata - if interface is not None: - self.interface = interface - if custom is not None: - self.custom = custom - if container is not None: - self.container = container - if k8s_pod is not None: - self.k8s_pod = k8s_pod - if sql is not None: - self.sql = sql - if task_type_version is not None: - self.task_type_version = task_type_version - if security_context is not None: - self.security_context = security_context - if extended_resources is not None: - self.extended_resources = extended_resources - if config is not None: - self.config = config - - @property - def id(self): - """Gets the id of this CoreTaskTemplate. # noqa: E501 - - Auto generated taskId by the system. Task Id uniquely identifies this task globally. # noqa: E501 - - :return: The id of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CoreTaskTemplate. - - Auto generated taskId by the system. Task Id uniquely identifies this task globally. # noqa: E501 - - :param id: The id of this CoreTaskTemplate. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def type(self): - """Gets the type of this CoreTaskTemplate. # noqa: E501 - - A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. # noqa: E501 - - :return: The type of this CoreTaskTemplate. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreTaskTemplate. - - A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory. # noqa: E501 - - :param type: The type of this CoreTaskTemplate. # noqa: E501 - :type: str - """ - - self._type = type - - @property - def metadata(self): - """Gets the metadata of this CoreTaskTemplate. # noqa: E501 - - Extra metadata about the task. # noqa: E501 - - :return: The metadata of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreTaskMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreTaskTemplate. - - Extra metadata about the task. # noqa: E501 - - :param metadata: The metadata of this CoreTaskTemplate. # noqa: E501 - :type: CoreTaskMetadata - """ - - self._metadata = metadata - - @property - def interface(self): - """Gets the interface of this CoreTaskTemplate. # noqa: E501 - - A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. # noqa: E501 - - :return: The interface of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreTypedInterface - """ - return self._interface - - @interface.setter - def interface(self, interface): - """Sets the interface of this CoreTaskTemplate. - - A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures. # noqa: E501 - - :param interface: The interface of this CoreTaskTemplate. # noqa: E501 - :type: CoreTypedInterface - """ - - self._interface = interface - - @property - def custom(self): - """Gets the custom of this CoreTaskTemplate. # noqa: E501 - - Custom data about the task. This is extensible to allow various plugins in the system. # noqa: E501 - - :return: The custom of this CoreTaskTemplate. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._custom - - @custom.setter - def custom(self, custom): - """Sets the custom of this CoreTaskTemplate. - - Custom data about the task. This is extensible to allow various plugins in the system. # noqa: E501 - - :param custom: The custom of this CoreTaskTemplate. # noqa: E501 - :type: ProtobufStruct - """ - - self._custom = custom - - @property - def container(self): - """Gets the container of this CoreTaskTemplate. # noqa: E501 - - - :return: The container of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreContainer - """ - return self._container - - @container.setter - def container(self, container): - """Sets the container of this CoreTaskTemplate. - - - :param container: The container of this CoreTaskTemplate. # noqa: E501 - :type: CoreContainer - """ - - self._container = container - - @property - def k8s_pod(self): - """Gets the k8s_pod of this CoreTaskTemplate. # noqa: E501 - - - :return: The k8s_pod of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreK8sPod - """ - return self._k8s_pod - - @k8s_pod.setter - def k8s_pod(self, k8s_pod): - """Sets the k8s_pod of this CoreTaskTemplate. - - - :param k8s_pod: The k8s_pod of this CoreTaskTemplate. # noqa: E501 - :type: CoreK8sPod - """ - - self._k8s_pod = k8s_pod - - @property - def sql(self): - """Gets the sql of this CoreTaskTemplate. # noqa: E501 - - - :return: The sql of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreSql - """ - return self._sql - - @sql.setter - def sql(self, sql): - """Sets the sql of this CoreTaskTemplate. - - - :param sql: The sql of this CoreTaskTemplate. # noqa: E501 - :type: CoreSql - """ - - self._sql = sql - - @property - def task_type_version(self): - """Gets the task_type_version of this CoreTaskTemplate. # noqa: E501 - - This can be used to customize task handling at execution time for the same task type. # noqa: E501 - - :return: The task_type_version of this CoreTaskTemplate. # noqa: E501 - :rtype: int - """ - return self._task_type_version - - @task_type_version.setter - def task_type_version(self, task_type_version): - """Sets the task_type_version of this CoreTaskTemplate. - - This can be used to customize task handling at execution time for the same task type. # noqa: E501 - - :param task_type_version: The task_type_version of this CoreTaskTemplate. # noqa: E501 - :type: int - """ - - self._task_type_version = task_type_version - - @property - def security_context(self): - """Gets the security_context of this CoreTaskTemplate. # noqa: E501 - - security_context encapsulates security attributes requested to run this task. # noqa: E501 - - :return: The security_context of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreSecurityContext - """ - return self._security_context - - @security_context.setter - def security_context(self, security_context): - """Sets the security_context of this CoreTaskTemplate. - - security_context encapsulates security attributes requested to run this task. # noqa: E501 - - :param security_context: The security_context of this CoreTaskTemplate. # noqa: E501 - :type: CoreSecurityContext - """ - - self._security_context = security_context - - @property - def extended_resources(self): - """Gets the extended_resources of this CoreTaskTemplate. # noqa: E501 - - Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to allocate to a task. # noqa: E501 - - :return: The extended_resources of this CoreTaskTemplate. # noqa: E501 - :rtype: CoreExtendedResources - """ - return self._extended_resources - - @extended_resources.setter - def extended_resources(self, extended_resources): - """Sets the extended_resources of this CoreTaskTemplate. - - Encapsulates all non-standard resources, not captured by v1.ResourceRequirements, to allocate to a task. # noqa: E501 - - :param extended_resources: The extended_resources of this CoreTaskTemplate. # noqa: E501 - :type: CoreExtendedResources - """ - - self._extended_resources = extended_resources - - @property - def config(self): - """Gets the config of this CoreTaskTemplate. # noqa: E501 - - - :return: The config of this CoreTaskTemplate. # noqa: E501 - :rtype: dict(str, str) - """ - return self._config - - @config.setter - def config(self, config): - """Sets the config of this CoreTaskTemplate. - - - :param config: The config of this CoreTaskTemplate. # noqa: E501 - :type: dict(str, str) - """ - - self._config = config - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTaskTemplate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTaskTemplate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_time_partition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_time_partition.py deleted file mode 100644 index 5f8dfa515f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_time_partition.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_label_value import CoreLabelValue # noqa: F401,E501 - - -class CoreTimePartition(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'CoreLabelValue' - } - - attribute_map = { - 'value': 'value' - } - - def __init__(self, value=None): # noqa: E501 - """CoreTimePartition - a model defined in Swagger""" # noqa: E501 - - self._value = None - self.discriminator = None - - if value is not None: - self.value = value - - @property - def value(self): - """Gets the value of this CoreTimePartition. # noqa: E501 - - - :return: The value of this CoreTimePartition. # noqa: E501 - :rtype: CoreLabelValue - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreTimePartition. - - - :param value: The value of this CoreTimePartition. # noqa: E501 - :type: CoreLabelValue - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTimePartition, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTimePartition): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py deleted file mode 100644 index 3289feeabb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_annotation.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class CoreTypeAnnotation(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'annotations': 'ProtobufStruct' - } - - attribute_map = { - 'annotations': 'annotations' - } - - def __init__(self, annotations=None): # noqa: E501 - """CoreTypeAnnotation - a model defined in Swagger""" # noqa: E501 - - self._annotations = None - self.discriminator = None - - if annotations is not None: - self.annotations = annotations - - @property - def annotations(self): - """Gets the annotations of this CoreTypeAnnotation. # noqa: E501 - - A arbitrary JSON payload to describe a type. # noqa: E501 - - :return: The annotations of this CoreTypeAnnotation. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._annotations - - @annotations.setter - def annotations(self, annotations): - """Sets the annotations of this CoreTypeAnnotation. - - A arbitrary JSON payload to describe a type. # noqa: E501 - - :param annotations: The annotations of this CoreTypeAnnotation. # noqa: E501 - :type: ProtobufStruct - """ - - self._annotations = annotations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTypeAnnotation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTypeAnnotation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py deleted file mode 100644 index 9a63072865..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_type_structure.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreTypeStructure(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tag': 'str', - 'dataclass_type': 'dict(str, CoreLiteralType)' - } - - attribute_map = { - 'tag': 'tag', - 'dataclass_type': 'dataclass_type' - } - - def __init__(self, tag=None, dataclass_type=None): # noqa: E501 - """CoreTypeStructure - a model defined in Swagger""" # noqa: E501 - - self._tag = None - self._dataclass_type = None - self.discriminator = None - - if tag is not None: - self.tag = tag - if dataclass_type is not None: - self.dataclass_type = dataclass_type - - @property - def tag(self): - """Gets the tag of this CoreTypeStructure. # noqa: E501 - - - :return: The tag of this CoreTypeStructure. # noqa: E501 - :rtype: str - """ - return self._tag - - @tag.setter - def tag(self, tag): - """Sets the tag of this CoreTypeStructure. - - - :param tag: The tag of this CoreTypeStructure. # noqa: E501 - :type: str - """ - - self._tag = tag - - @property - def dataclass_type(self): - """Gets the dataclass_type of this CoreTypeStructure. # noqa: E501 - - - :return: The dataclass_type of this CoreTypeStructure. # noqa: E501 - :rtype: dict(str, CoreLiteralType) - """ - return self._dataclass_type - - @dataclass_type.setter - def dataclass_type(self, dataclass_type): - """Sets the dataclass_type of this CoreTypeStructure. - - - :param dataclass_type: The dataclass_type of this CoreTypeStructure. # noqa: E501 - :type: dict(str, CoreLiteralType) - """ - - self._dataclass_type = dataclass_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTypeStructure, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTypeStructure): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py deleted file mode 100644 index 8864814f4b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_typed_interface.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: F401,E501 - - -class CoreTypedInterface(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'inputs': 'CoreVariableMap', - 'outputs': 'CoreVariableMap' - } - - attribute_map = { - 'inputs': 'inputs', - 'outputs': 'outputs' - } - - def __init__(self, inputs=None, outputs=None): # noqa: E501 - """CoreTypedInterface - a model defined in Swagger""" # noqa: E501 - - self._inputs = None - self._outputs = None - self.discriminator = None - - if inputs is not None: - self.inputs = inputs - if outputs is not None: - self.outputs = outputs - - @property - def inputs(self): - """Gets the inputs of this CoreTypedInterface. # noqa: E501 - - - :return: The inputs of this CoreTypedInterface. # noqa: E501 - :rtype: CoreVariableMap - """ - return self._inputs - - @inputs.setter - def inputs(self, inputs): - """Sets the inputs of this CoreTypedInterface. - - - :param inputs: The inputs of this CoreTypedInterface. # noqa: E501 - :type: CoreVariableMap - """ - - self._inputs = inputs - - @property - def outputs(self): - """Gets the outputs of this CoreTypedInterface. # noqa: E501 - - - :return: The outputs of this CoreTypedInterface. # noqa: E501 - :rtype: CoreVariableMap - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this CoreTypedInterface. - - - :param outputs: The outputs of this CoreTypedInterface. # noqa: E501 - :type: CoreVariableMap - """ - - self._outputs = outputs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreTypedInterface, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreTypedInterface): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py deleted file mode 100644 index 9b96a71d06..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal import CoreLiteral # noqa: F401,E501 -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreUnion(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'value': 'CoreLiteral', - 'type': 'CoreLiteralType' - } - - attribute_map = { - 'value': 'value', - 'type': 'type' - } - - def __init__(self, value=None, type=None): # noqa: E501 - """CoreUnion - a model defined in Swagger""" # noqa: E501 - - self._value = None - self._type = None - self.discriminator = None - - if value is not None: - self.value = value - if type is not None: - self.type = type - - @property - def value(self): - """Gets the value of this CoreUnion. # noqa: E501 - - - :return: The value of this CoreUnion. # noqa: E501 - :rtype: CoreLiteral - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this CoreUnion. - - - :param value: The value of this CoreUnion. # noqa: E501 - :type: CoreLiteral - """ - - self._value = value - - @property - def type(self): - """Gets the type of this CoreUnion. # noqa: E501 - - - :return: The type of this CoreUnion. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreUnion. - - - :param type: The type of this CoreUnion. # noqa: E501 - :type: CoreLiteralType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreUnion, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreUnion): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py deleted file mode 100644 index 361c967c3c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_info.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreUnionInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'target_type': 'CoreLiteralType' - } - - attribute_map = { - 'target_type': 'targetType' - } - - def __init__(self, target_type=None): # noqa: E501 - """CoreUnionInfo - a model defined in Swagger""" # noqa: E501 - - self._target_type = None - self.discriminator = None - - if target_type is not None: - self.target_type = target_type - - @property - def target_type(self): - """Gets the target_type of this CoreUnionInfo. # noqa: E501 - - - :return: The target_type of this CoreUnionInfo. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._target_type - - @target_type.setter - def target_type(self, target_type): - """Sets the target_type of this CoreUnionInfo. - - - :param target_type: The target_type of this CoreUnionInfo. # noqa: E501 - :type: CoreLiteralType - """ - - self._target_type = target_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreUnionInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreUnionInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py deleted file mode 100644 index 3fb360d055..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_union_type.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreUnionType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'variants': 'list[CoreLiteralType]' - } - - attribute_map = { - 'variants': 'variants' - } - - def __init__(self, variants=None): # noqa: E501 - """CoreUnionType - a model defined in Swagger""" # noqa: E501 - - self._variants = None - self.discriminator = None - - if variants is not None: - self.variants = variants - - @property - def variants(self): - """Gets the variants of this CoreUnionType. # noqa: E501 - - Predefined set of variants in union. # noqa: E501 - - :return: The variants of this CoreUnionType. # noqa: E501 - :rtype: list[CoreLiteralType] - """ - return self._variants - - @variants.setter - def variants(self, variants): - """Sets the variants of this CoreUnionType. - - Predefined set of variants in union. # noqa: E501 - - :param variants: The variants of this CoreUnionType. # noqa: E501 - :type: list[CoreLiteralType] - """ - - self._variants = variants - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreUnionType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreUnionType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py deleted file mode 100644 index 5a57bd3aa0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: F401,E501 -from flyteadmin.models.core_artifact_tag import CoreArtifactTag # noqa: F401,E501 -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class CoreVariable(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'type': 'CoreLiteralType', - 'description': 'str', - 'artifact_partial_id': 'CoreArtifactID', - 'artifact_tag': 'CoreArtifactTag' - } - - attribute_map = { - 'type': 'type', - 'description': 'description', - 'artifact_partial_id': 'artifact_partial_id', - 'artifact_tag': 'artifact_tag' - } - - def __init__(self, type=None, description=None, artifact_partial_id=None, artifact_tag=None): # noqa: E501 - """CoreVariable - a model defined in Swagger""" # noqa: E501 - - self._type = None - self._description = None - self._artifact_partial_id = None - self._artifact_tag = None - self.discriminator = None - - if type is not None: - self.type = type - if description is not None: - self.description = description - if artifact_partial_id is not None: - self.artifact_partial_id = artifact_partial_id - if artifact_tag is not None: - self.artifact_tag = artifact_tag - - @property - def type(self): - """Gets the type of this CoreVariable. # noqa: E501 - - Variable literal type. # noqa: E501 - - :return: The type of this CoreVariable. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this CoreVariable. - - Variable literal type. # noqa: E501 - - :param type: The type of this CoreVariable. # noqa: E501 - :type: CoreLiteralType - """ - - self._type = type - - @property - def description(self): - """Gets the description of this CoreVariable. # noqa: E501 - - - :return: The description of this CoreVariable. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this CoreVariable. - - - :param description: The description of this CoreVariable. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def artifact_partial_id(self): - """Gets the artifact_partial_id of this CoreVariable. # noqa: E501 - - +optional This object allows the user to specify how Artifacts are created. name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. # noqa: E501 - - :return: The artifact_partial_id of this CoreVariable. # noqa: E501 - :rtype: CoreArtifactID - """ - return self._artifact_partial_id - - @artifact_partial_id.setter - def artifact_partial_id(self, artifact_partial_id): - """Sets the artifact_partial_id of this CoreVariable. - - +optional This object allows the user to specify how Artifacts are created. name, tag, partitions can be specified. The other fields (version and project/domain) are ignored. # noqa: E501 - - :param artifact_partial_id: The artifact_partial_id of this CoreVariable. # noqa: E501 - :type: CoreArtifactID - """ - - self._artifact_partial_id = artifact_partial_id - - @property - def artifact_tag(self): - """Gets the artifact_tag of this CoreVariable. # noqa: E501 - - - :return: The artifact_tag of this CoreVariable. # noqa: E501 - :rtype: CoreArtifactTag - """ - return self._artifact_tag - - @artifact_tag.setter - def artifact_tag(self, artifact_tag): - """Sets the artifact_tag of this CoreVariable. - - - :param artifact_tag: The artifact_tag of this CoreVariable. # noqa: E501 - :type: CoreArtifactTag - """ - - self._artifact_tag = artifact_tag - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreVariable, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreVariable): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py deleted file mode 100644 index a2a15f83f6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable_map.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_variable import CoreVariable # noqa: F401,E501 - - -class CoreVariableMap(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'variables': 'dict(str, CoreVariable)' - } - - attribute_map = { - 'variables': 'variables' - } - - def __init__(self, variables=None): # noqa: E501 - """CoreVariableMap - a model defined in Swagger""" # noqa: E501 - - self._variables = None - self.discriminator = None - - if variables is not None: - self.variables = variables - - @property - def variables(self): - """Gets the variables of this CoreVariableMap. # noqa: E501 - - Defines a map of variable names to variables. # noqa: E501 - - :return: The variables of this CoreVariableMap. # noqa: E501 - :rtype: dict(str, CoreVariable) - """ - return self._variables - - @variables.setter - def variables(self, variables): - """Sets the variables of this CoreVariableMap. - - Defines a map of variable names to variables. # noqa: E501 - - :param variables: The variables of this CoreVariableMap. # noqa: E501 - :type: dict(str, CoreVariable) - """ - - self._variables = variables - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreVariableMap, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreVariableMap): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py deleted file mode 100644 index 709f5a55e3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_void.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreVoid(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreVoid - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreVoid, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreVoid): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py deleted file mode 100644 index aad31c1687..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_identifier.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreWorkflowExecutionIdentifier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'project': 'str', - 'domain': 'str', - 'name': 'str', - 'org': 'str' - } - - attribute_map = { - 'project': 'project', - 'domain': 'domain', - 'name': 'name', - 'org': 'org' - } - - def __init__(self, project=None, domain=None, name=None, org=None): # noqa: E501 - """CoreWorkflowExecutionIdentifier - a model defined in Swagger""" # noqa: E501 - - self._project = None - self._domain = None - self._name = None - self._org = None - self.discriminator = None - - if project is not None: - self.project = project - if domain is not None: - self.domain = domain - if name is not None: - self.name = name - if org is not None: - self.org = org - - @property - def project(self): - """Gets the project of this CoreWorkflowExecutionIdentifier. # noqa: E501 - - Name of the project the resource belongs to. # noqa: E501 - - :return: The project of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._project - - @project.setter - def project(self, project): - """Sets the project of this CoreWorkflowExecutionIdentifier. - - Name of the project the resource belongs to. # noqa: E501 - - :param project: The project of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._project = project - - @property - def domain(self): - """Gets the domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :return: The domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._domain - - @domain.setter - def domain(self, domain): - """Sets the domain of this CoreWorkflowExecutionIdentifier. - - Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. # noqa: E501 - - :param domain: The domain of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._domain = domain - - @property - def name(self): - """Gets the name of this CoreWorkflowExecutionIdentifier. # noqa: E501 - - User or system provided value for the resource. # noqa: E501 - - :return: The name of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CoreWorkflowExecutionIdentifier. - - User or system provided value for the resource. # noqa: E501 - - :param name: The name of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def org(self): - """Gets the org of this CoreWorkflowExecutionIdentifier. # noqa: E501 - - Optional, org key applied to the resource. # noqa: E501 - - :return: The org of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :rtype: str - """ - return self._org - - @org.setter - def org(self, org): - """Sets the org of this CoreWorkflowExecutionIdentifier. - - Optional, org key applied to the resource. # noqa: E501 - - :param org: The org of this CoreWorkflowExecutionIdentifier. # noqa: E501 - :type: str - """ - - self._org = org - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowExecutionIdentifier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowExecutionIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py deleted file mode 100644 index d2cdbd69dd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_execution_phase.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreWorkflowExecutionPhase(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - QUEUED = "QUEUED" - RUNNING = "RUNNING" - SUCCEEDING = "SUCCEEDING" - SUCCEEDED = "SUCCEEDED" - FAILING = "FAILING" - FAILED = "FAILED" - ABORTED = "ABORTED" - TIMED_OUT = "TIMED_OUT" - ABORTING = "ABORTING" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """CoreWorkflowExecutionPhase - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowExecutionPhase, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowExecutionPhase): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py deleted file mode 100644 index 9c6b873be9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: F401,E501 -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy # noqa: F401,E501 - - -class CoreWorkflowMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'quality_of_service': 'CoreQualityOfService', - 'on_failure': 'WorkflowMetadataOnFailurePolicy', - 'tags': 'dict(str, str)' - } - - attribute_map = { - 'quality_of_service': 'quality_of_service', - 'on_failure': 'on_failure', - 'tags': 'tags' - } - - def __init__(self, quality_of_service=None, on_failure=None, tags=None): # noqa: E501 - """CoreWorkflowMetadata - a model defined in Swagger""" # noqa: E501 - - self._quality_of_service = None - self._on_failure = None - self._tags = None - self.discriminator = None - - if quality_of_service is not None: - self.quality_of_service = quality_of_service - if on_failure is not None: - self.on_failure = on_failure - if tags is not None: - self.tags = tags - - @property - def quality_of_service(self): - """Gets the quality_of_service of this CoreWorkflowMetadata. # noqa: E501 - - Indicates the runtime priority of workflow executions. # noqa: E501 - - :return: The quality_of_service of this CoreWorkflowMetadata. # noqa: E501 - :rtype: CoreQualityOfService - """ - return self._quality_of_service - - @quality_of_service.setter - def quality_of_service(self, quality_of_service): - """Sets the quality_of_service of this CoreWorkflowMetadata. - - Indicates the runtime priority of workflow executions. # noqa: E501 - - :param quality_of_service: The quality_of_service of this CoreWorkflowMetadata. # noqa: E501 - :type: CoreQualityOfService - """ - - self._quality_of_service = quality_of_service - - @property - def on_failure(self): - """Gets the on_failure of this CoreWorkflowMetadata. # noqa: E501 - - Defines how the system should behave when a failure is detected in the workflow execution. # noqa: E501 - - :return: The on_failure of this CoreWorkflowMetadata. # noqa: E501 - :rtype: WorkflowMetadataOnFailurePolicy - """ - return self._on_failure - - @on_failure.setter - def on_failure(self, on_failure): - """Sets the on_failure of this CoreWorkflowMetadata. - - Defines how the system should behave when a failure is detected in the workflow execution. # noqa: E501 - - :param on_failure: The on_failure of this CoreWorkflowMetadata. # noqa: E501 - :type: WorkflowMetadataOnFailurePolicy - """ - - self._on_failure = on_failure - - @property - def tags(self): - """Gets the tags of this CoreWorkflowMetadata. # noqa: E501 - - - :return: The tags of this CoreWorkflowMetadata. # noqa: E501 - :rtype: dict(str, str) - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this CoreWorkflowMetadata. - - - :param tags: The tags of this CoreWorkflowMetadata. # noqa: E501 - :type: dict(str, str) - """ - - self._tags = tags - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py deleted file mode 100644 index 6f9762be88..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_metadata_defaults.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class CoreWorkflowMetadataDefaults(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'interruptible': 'bool' - } - - attribute_map = { - 'interruptible': 'interruptible' - } - - def __init__(self, interruptible=None): # noqa: E501 - """CoreWorkflowMetadataDefaults - a model defined in Swagger""" # noqa: E501 - - self._interruptible = None - self.discriminator = None - - if interruptible is not None: - self.interruptible = interruptible - - @property - def interruptible(self): - """Gets the interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 - - Whether child nodes of the workflow are interruptible. # noqa: E501 - - :return: The interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 - :rtype: bool - """ - return self._interruptible - - @interruptible.setter - def interruptible(self, interruptible): - """Sets the interruptible of this CoreWorkflowMetadataDefaults. - - Whether child nodes of the workflow are interruptible. # noqa: E501 - - :param interruptible: The interruptible of this CoreWorkflowMetadataDefaults. # noqa: E501 - :type: bool - """ - - self._interruptible = interruptible - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowMetadataDefaults, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowMetadataDefaults): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py deleted file mode 100644 index 9d35249385..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_node.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class CoreWorkflowNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'launchplan_ref': 'CoreIdentifier', - 'sub_workflow_ref': 'CoreIdentifier' - } - - attribute_map = { - 'launchplan_ref': 'launchplan_ref', - 'sub_workflow_ref': 'sub_workflow_ref' - } - - def __init__(self, launchplan_ref=None, sub_workflow_ref=None): # noqa: E501 - """CoreWorkflowNode - a model defined in Swagger""" # noqa: E501 - - self._launchplan_ref = None - self._sub_workflow_ref = None - self.discriminator = None - - if launchplan_ref is not None: - self.launchplan_ref = launchplan_ref - if sub_workflow_ref is not None: - self.sub_workflow_ref = sub_workflow_ref - - @property - def launchplan_ref(self): - """Gets the launchplan_ref of this CoreWorkflowNode. # noqa: E501 - - A globally unique identifier for the launch plan. # noqa: E501 - - :return: The launchplan_ref of this CoreWorkflowNode. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._launchplan_ref - - @launchplan_ref.setter - def launchplan_ref(self, launchplan_ref): - """Sets the launchplan_ref of this CoreWorkflowNode. - - A globally unique identifier for the launch plan. # noqa: E501 - - :param launchplan_ref: The launchplan_ref of this CoreWorkflowNode. # noqa: E501 - :type: CoreIdentifier - """ - - self._launchplan_ref = launchplan_ref - - @property - def sub_workflow_ref(self): - """Gets the sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 - - - :return: The sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._sub_workflow_ref - - @sub_workflow_ref.setter - def sub_workflow_ref(self, sub_workflow_ref): - """Sets the sub_workflow_ref of this CoreWorkflowNode. - - - :param sub_workflow_ref: The sub_workflow_ref of this CoreWorkflowNode. # noqa: E501 - :type: CoreIdentifier - """ - - self._sub_workflow_ref = sub_workflow_ref - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py deleted file mode 100644 index ead72237b9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_workflow_template.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_binding import CoreBinding # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_node import CoreNode # noqa: F401,E501 -from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: F401,E501 -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata # noqa: F401,E501 -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults # noqa: F401,E501 - - -class CoreWorkflowTemplate(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'metadata': 'CoreWorkflowMetadata', - 'interface': 'CoreTypedInterface', - 'nodes': 'list[CoreNode]', - 'outputs': 'list[CoreBinding]', - 'failure_node': 'CoreNode', - 'metadata_defaults': 'CoreWorkflowMetadataDefaults' - } - - attribute_map = { - 'id': 'id', - 'metadata': 'metadata', - 'interface': 'interface', - 'nodes': 'nodes', - 'outputs': 'outputs', - 'failure_node': 'failure_node', - 'metadata_defaults': 'metadata_defaults' - } - - def __init__(self, id=None, metadata=None, interface=None, nodes=None, outputs=None, failure_node=None, metadata_defaults=None): # noqa: E501 - """CoreWorkflowTemplate - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._metadata = None - self._interface = None - self._nodes = None - self._outputs = None - self._failure_node = None - self._metadata_defaults = None - self.discriminator = None - - if id is not None: - self.id = id - if metadata is not None: - self.metadata = metadata - if interface is not None: - self.interface = interface - if nodes is not None: - self.nodes = nodes - if outputs is not None: - self.outputs = outputs - if failure_node is not None: - self.failure_node = failure_node - if metadata_defaults is not None: - self.metadata_defaults = metadata_defaults - - @property - def id(self): - """Gets the id of this CoreWorkflowTemplate. # noqa: E501 - - A globally unique identifier for the workflow. # noqa: E501 - - :return: The id of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CoreWorkflowTemplate. - - A globally unique identifier for the workflow. # noqa: E501 - - :param id: The id of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def metadata(self): - """Gets the metadata of this CoreWorkflowTemplate. # noqa: E501 - - Extra metadata about the workflow. # noqa: E501 - - :return: The metadata of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreWorkflowMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this CoreWorkflowTemplate. - - Extra metadata about the workflow. # noqa: E501 - - :param metadata: The metadata of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreWorkflowMetadata - """ - - self._metadata = metadata - - @property - def interface(self): - """Gets the interface of this CoreWorkflowTemplate. # noqa: E501 - - Defines a strongly typed interface for the Workflow. This can include some optional parameters. # noqa: E501 - - :return: The interface of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreTypedInterface - """ - return self._interface - - @interface.setter - def interface(self, interface): - """Sets the interface of this CoreWorkflowTemplate. - - Defines a strongly typed interface for the Workflow. This can include some optional parameters. # noqa: E501 - - :param interface: The interface of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreTypedInterface - """ - - self._interface = interface - - @property - def nodes(self): - """Gets the nodes of this CoreWorkflowTemplate. # noqa: E501 - - A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. # noqa: E501 - - :return: The nodes of this CoreWorkflowTemplate. # noqa: E501 - :rtype: list[CoreNode] - """ - return self._nodes - - @nodes.setter - def nodes(self, nodes): - """Sets the nodes of this CoreWorkflowTemplate. - - A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs. # noqa: E501 - - :param nodes: The nodes of this CoreWorkflowTemplate. # noqa: E501 - :type: list[CoreNode] - """ - - self._nodes = nodes - - @property - def outputs(self): - """Gets the outputs of this CoreWorkflowTemplate. # noqa: E501 - - A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. # noqa: E501 - - :return: The outputs of this CoreWorkflowTemplate. # noqa: E501 - :rtype: list[CoreBinding] - """ - return self._outputs - - @outputs.setter - def outputs(self, outputs): - """Sets the outputs of this CoreWorkflowTemplate. - - A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to bind final outputs. Most of these outputs will be Binding's with a BindingData of type OutputReference. That is, your workflow can just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling outputs from the output of a task. # noqa: E501 - - :param outputs: The outputs of this CoreWorkflowTemplate. # noqa: E501 - :type: list[CoreBinding] - """ - - self._outputs = outputs - - @property - def failure_node(self): - """Gets the failure_node of this CoreWorkflowTemplate. # noqa: E501 - - +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. # noqa: E501 - - :return: The failure_node of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreNode - """ - return self._failure_node - - @failure_node.setter - def failure_node(self, failure_node): - """Sets the failure_node of this CoreWorkflowTemplate. - - +optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed. The interface of this node must match the Workflow interface with an additional input named 'error' of type pb.lyft.flyte.core.Error. # noqa: E501 - - :param failure_node: The failure_node of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreNode - """ - - self._failure_node = failure_node - - @property - def metadata_defaults(self): - """Gets the metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 - - - :return: The metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 - :rtype: CoreWorkflowMetadataDefaults - """ - return self._metadata_defaults - - @metadata_defaults.setter - def metadata_defaults(self, metadata_defaults): - """Sets the metadata_defaults of this CoreWorkflowTemplate. - - - :param metadata_defaults: The metadata_defaults of this CoreWorkflowTemplate. # noqa: E501 - :type: CoreWorkflowMetadataDefaults - """ - - self._metadata_defaults = metadata_defaults - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CoreWorkflowTemplate, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CoreWorkflowTemplate): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py deleted file mode 100644 index 1606391004..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/data_loading_config_literal_map_format.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class DataLoadingConfigLiteralMapFormat(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - JSON = "JSON" - YAML = "YAML" - PROTO = "PROTO" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """DataLoadingConfigLiteralMapFormat - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(DataLoadingConfigLiteralMapFormat, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DataLoadingConfigLiteralMapFormat): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_event_reason.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_event_reason.py deleted file mode 100644 index 783e0f171c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_event_reason.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class EventEventReason(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'reason': 'str', - 'occurred_at': 'datetime' - } - - attribute_map = { - 'reason': 'reason', - 'occurred_at': 'occurred_at' - } - - def __init__(self, reason=None, occurred_at=None): # noqa: E501 - """EventEventReason - a model defined in Swagger""" # noqa: E501 - - self._reason = None - self._occurred_at = None - self.discriminator = None - - if reason is not None: - self.reason = reason - if occurred_at is not None: - self.occurred_at = occurred_at - - @property - def reason(self): - """Gets the reason of this EventEventReason. # noqa: E501 - - - :return: The reason of this EventEventReason. # noqa: E501 - :rtype: str - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this EventEventReason. - - - :param reason: The reason of this EventEventReason. # noqa: E501 - :type: str - """ - - self._reason = reason - - @property - def occurred_at(self): - """Gets the occurred_at of this EventEventReason. # noqa: E501 - - - :return: The occurred_at of this EventEventReason. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this EventEventReason. - - - :param occurred_at: The occurred_at of this EventEventReason. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventEventReason, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventEventReason): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py deleted file mode 100644 index e170aa4c0a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_external_resource_info.py +++ /dev/null @@ -1,255 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 - - -class EventExternalResourceInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'external_id': 'str', - 'index': 'int', - 'retry_attempt': 'int', - 'phase': 'CoreTaskExecutionPhase', - 'cache_status': 'CoreCatalogCacheStatus', - 'logs': 'list[CoreTaskLog]' - } - - attribute_map = { - 'external_id': 'external_id', - 'index': 'index', - 'retry_attempt': 'retry_attempt', - 'phase': 'phase', - 'cache_status': 'cache_status', - 'logs': 'logs' - } - - def __init__(self, external_id=None, index=None, retry_attempt=None, phase=None, cache_status=None, logs=None): # noqa: E501 - """EventExternalResourceInfo - a model defined in Swagger""" # noqa: E501 - - self._external_id = None - self._index = None - self._retry_attempt = None - self._phase = None - self._cache_status = None - self._logs = None - self.discriminator = None - - if external_id is not None: - self.external_id = external_id - if index is not None: - self.index = index - if retry_attempt is not None: - self.retry_attempt = retry_attempt - if phase is not None: - self.phase = phase - if cache_status is not None: - self.cache_status = cache_status - if logs is not None: - self.logs = logs - - @property - def external_id(self): - """Gets the external_id of this EventExternalResourceInfo. # noqa: E501 - - Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. # noqa: E501 - - :return: The external_id of this EventExternalResourceInfo. # noqa: E501 - :rtype: str - """ - return self._external_id - - @external_id.setter - def external_id(self, external_id): - """Sets the external_id of this EventExternalResourceInfo. - - Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids. # noqa: E501 - - :param external_id: The external_id of this EventExternalResourceInfo. # noqa: E501 - :type: str - """ - - self._external_id = external_id - - @property - def index(self): - """Gets the index of this EventExternalResourceInfo. # noqa: E501 - - A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. # noqa: E501 - - :return: The index of this EventExternalResourceInfo. # noqa: E501 - :rtype: int - """ - return self._index - - @index.setter - def index(self, index): - """Sets the index of this EventExternalResourceInfo. - - A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports. # noqa: E501 - - :param index: The index of this EventExternalResourceInfo. # noqa: E501 - :type: int - """ - - self._index = index - - @property - def retry_attempt(self): - """Gets the retry_attempt of this EventExternalResourceInfo. # noqa: E501 - - - :return: The retry_attempt of this EventExternalResourceInfo. # noqa: E501 - :rtype: int - """ - return self._retry_attempt - - @retry_attempt.setter - def retry_attempt(self, retry_attempt): - """Sets the retry_attempt of this EventExternalResourceInfo. - - - :param retry_attempt: The retry_attempt of this EventExternalResourceInfo. # noqa: E501 - :type: int - """ - - self._retry_attempt = retry_attempt - - @property - def phase(self): - """Gets the phase of this EventExternalResourceInfo. # noqa: E501 - - - :return: The phase of this EventExternalResourceInfo. # noqa: E501 - :rtype: CoreTaskExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventExternalResourceInfo. - - - :param phase: The phase of this EventExternalResourceInfo. # noqa: E501 - :type: CoreTaskExecutionPhase - """ - - self._phase = phase - - @property - def cache_status(self): - """Gets the cache_status of this EventExternalResourceInfo. # noqa: E501 - - Captures the status of caching for this external resource execution. # noqa: E501 - - :return: The cache_status of this EventExternalResourceInfo. # noqa: E501 - :rtype: CoreCatalogCacheStatus - """ - return self._cache_status - - @cache_status.setter - def cache_status(self, cache_status): - """Sets the cache_status of this EventExternalResourceInfo. - - Captures the status of caching for this external resource execution. # noqa: E501 - - :param cache_status: The cache_status of this EventExternalResourceInfo. # noqa: E501 - :type: CoreCatalogCacheStatus - """ - - self._cache_status = cache_status - - @property - def logs(self): - """Gets the logs of this EventExternalResourceInfo. # noqa: E501 - - - :return: The logs of this EventExternalResourceInfo. # noqa: E501 - :rtype: list[CoreTaskLog] - """ - return self._logs - - @logs.setter - def logs(self, logs): - """Sets the logs of this EventExternalResourceInfo. - - - :param logs: The logs of this EventExternalResourceInfo. # noqa: E501 - :type: list[CoreTaskLog] - """ - - self._logs = logs - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventExternalResourceInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventExternalResourceInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py deleted file mode 100644 index f87d0f78be..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py +++ /dev/null @@ -1,690 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: F401,E501 -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata # noqa: F401,E501 - - -class EventNodeExecutionEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreNodeExecutionIdentifier', - 'producer_id': 'str', - 'phase': 'CoreNodeExecutionPhase', - 'occurred_at': 'datetime', - 'input_uri': 'str', - 'input_data': 'CoreLiteralMap', - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'workflow_node_metadata': 'FlyteidleventWorkflowNodeMetadata', - 'task_node_metadata': 'FlyteidleventTaskNodeMetadata', - 'parent_task_metadata': 'EventParentTaskExecutionMetadata', - 'parent_node_metadata': 'EventParentNodeExecutionMetadata', - 'retry_group': 'str', - 'spec_node_id': 'str', - 'node_name': 'str', - 'event_version': 'int', - 'is_parent': 'bool', - 'is_dynamic': 'bool', - 'deck_uri': 'str', - 'reported_at': 'datetime', - 'is_array': 'bool' - } - - attribute_map = { - 'id': 'id', - 'producer_id': 'producer_id', - 'phase': 'phase', - 'occurred_at': 'occurred_at', - 'input_uri': 'input_uri', - 'input_data': 'input_data', - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'workflow_node_metadata': 'workflow_node_metadata', - 'task_node_metadata': 'task_node_metadata', - 'parent_task_metadata': 'parent_task_metadata', - 'parent_node_metadata': 'parent_node_metadata', - 'retry_group': 'retry_group', - 'spec_node_id': 'spec_node_id', - 'node_name': 'node_name', - 'event_version': 'event_version', - 'is_parent': 'is_parent', - 'is_dynamic': 'is_dynamic', - 'deck_uri': 'deck_uri', - 'reported_at': 'reported_at', - 'is_array': 'is_array' - } - - def __init__(self, id=None, producer_id=None, phase=None, occurred_at=None, input_uri=None, input_data=None, output_uri=None, error=None, output_data=None, workflow_node_metadata=None, task_node_metadata=None, parent_task_metadata=None, parent_node_metadata=None, retry_group=None, spec_node_id=None, node_name=None, event_version=None, is_parent=None, is_dynamic=None, deck_uri=None, reported_at=None, is_array=None): # noqa: E501 - """EventNodeExecutionEvent - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._producer_id = None - self._phase = None - self._occurred_at = None - self._input_uri = None - self._input_data = None - self._output_uri = None - self._error = None - self._output_data = None - self._workflow_node_metadata = None - self._task_node_metadata = None - self._parent_task_metadata = None - self._parent_node_metadata = None - self._retry_group = None - self._spec_node_id = None - self._node_name = None - self._event_version = None - self._is_parent = None - self._is_dynamic = None - self._deck_uri = None - self._reported_at = None - self._is_array = None - self.discriminator = None - - if id is not None: - self.id = id - if producer_id is not None: - self.producer_id = producer_id - if phase is not None: - self.phase = phase - if occurred_at is not None: - self.occurred_at = occurred_at - if input_uri is not None: - self.input_uri = input_uri - if input_data is not None: - self.input_data = input_data - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if workflow_node_metadata is not None: - self.workflow_node_metadata = workflow_node_metadata - if task_node_metadata is not None: - self.task_node_metadata = task_node_metadata - if parent_task_metadata is not None: - self.parent_task_metadata = parent_task_metadata - if parent_node_metadata is not None: - self.parent_node_metadata = parent_node_metadata - if retry_group is not None: - self.retry_group = retry_group - if spec_node_id is not None: - self.spec_node_id = spec_node_id - if node_name is not None: - self.node_name = node_name - if event_version is not None: - self.event_version = event_version - if is_parent is not None: - self.is_parent = is_parent - if is_dynamic is not None: - self.is_dynamic = is_dynamic - if deck_uri is not None: - self.deck_uri = deck_uri - if reported_at is not None: - self.reported_at = reported_at - if is_array is not None: - self.is_array = is_array - - @property - def id(self): - """Gets the id of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The id of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this EventNodeExecutionEvent. - - - :param id: The id of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._id = id - - @property - def producer_id(self): - """Gets the producer_id of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The producer_id of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._producer_id - - @producer_id.setter - def producer_id(self, producer_id): - """Sets the producer_id of this EventNodeExecutionEvent. - - - :param producer_id: The producer_id of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._producer_id = producer_id - - @property - def phase(self): - """Gets the phase of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The phase of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreNodeExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventNodeExecutionEvent. - - - :param phase: The phase of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreNodeExecutionPhase - """ - - self._phase = phase - - @property - def occurred_at(self): - """Gets the occurred_at of this EventNodeExecutionEvent. # noqa: E501 - - This timestamp represents when the original event occurred, it is generated by the executor of the node. # noqa: E501 - - :return: The occurred_at of this EventNodeExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this EventNodeExecutionEvent. - - This timestamp represents when the original event occurred, it is generated by the executor of the node. # noqa: E501 - - :param occurred_at: The occurred_at of this EventNodeExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def input_uri(self): - """Gets the input_uri of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The input_uri of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this EventNodeExecutionEvent. - - - :param input_uri: The input_uri of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def input_data(self): - """Gets the input_data of this EventNodeExecutionEvent. # noqa: E501 - - Raw input data consumed by this node execution. # noqa: E501 - - :return: The input_data of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._input_data - - @input_data.setter - def input_data(self, input_data): - """Sets the input_data of this EventNodeExecutionEvent. - - Raw input data consumed by this node execution. # noqa: E501 - - :param input_data: The input_data of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._input_data = input_data - - @property - def output_uri(self): - """Gets the output_uri of this EventNodeExecutionEvent. # noqa: E501 - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The output_uri of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this EventNodeExecutionEvent. - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param output_uri: The output_uri of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The error of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this EventNodeExecutionEvent. - - - :param error: The error of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this EventNodeExecutionEvent. # noqa: E501 - - Raw output data produced by this node execution. # noqa: E501 - - :return: The output_data of this EventNodeExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this EventNodeExecutionEvent. - - Raw output data produced by this node execution. # noqa: E501 - - :param output_data: The output_data of this EventNodeExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def workflow_node_metadata(self): - """Gets the workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: FlyteidleventWorkflowNodeMetadata - """ - return self._workflow_node_metadata - - @workflow_node_metadata.setter - def workflow_node_metadata(self, workflow_node_metadata): - """Sets the workflow_node_metadata of this EventNodeExecutionEvent. - - - :param workflow_node_metadata: The workflow_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: FlyteidleventWorkflowNodeMetadata - """ - - self._workflow_node_metadata = workflow_node_metadata - - @property - def task_node_metadata(self): - """Gets the task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: FlyteidleventTaskNodeMetadata - """ - return self._task_node_metadata - - @task_node_metadata.setter - def task_node_metadata(self, task_node_metadata): - """Sets the task_node_metadata of this EventNodeExecutionEvent. - - - :param task_node_metadata: The task_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: FlyteidleventTaskNodeMetadata - """ - - self._task_node_metadata = task_node_metadata - - @property - def parent_task_metadata(self): - """Gets the parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 - - [To be deprecated] Specifies which task (if any) launched this node. # noqa: E501 - - :return: The parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: EventParentTaskExecutionMetadata - """ - return self._parent_task_metadata - - @parent_task_metadata.setter - def parent_task_metadata(self, parent_task_metadata): - """Sets the parent_task_metadata of this EventNodeExecutionEvent. - - [To be deprecated] Specifies which task (if any) launched this node. # noqa: E501 - - :param parent_task_metadata: The parent_task_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: EventParentTaskExecutionMetadata - """ - - self._parent_task_metadata = parent_task_metadata - - @property - def parent_node_metadata(self): - """Gets the parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - - Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. # noqa: E501 - - :return: The parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :rtype: EventParentNodeExecutionMetadata - """ - return self._parent_node_metadata - - @parent_node_metadata.setter - def parent_node_metadata(self, parent_node_metadata): - """Sets the parent_node_metadata of this EventNodeExecutionEvent. - - Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node. # noqa: E501 - - :param parent_node_metadata: The parent_node_metadata of this EventNodeExecutionEvent. # noqa: E501 - :type: EventParentNodeExecutionMetadata - """ - - self._parent_node_metadata = parent_node_metadata - - @property - def retry_group(self): - """Gets the retry_group of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The retry_group of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._retry_group - - @retry_group.setter - def retry_group(self, retry_group): - """Sets the retry_group of this EventNodeExecutionEvent. - - - :param retry_group: The retry_group of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._retry_group = retry_group - - @property - def spec_node_id(self): - """Gets the spec_node_id of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The spec_node_id of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._spec_node_id - - @spec_node_id.setter - def spec_node_id(self, spec_node_id): - """Sets the spec_node_id of this EventNodeExecutionEvent. - - - :param spec_node_id: The spec_node_id of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._spec_node_id = spec_node_id - - @property - def node_name(self): - """Gets the node_name of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The node_name of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._node_name - - @node_name.setter - def node_name(self, node_name): - """Sets the node_name of this EventNodeExecutionEvent. - - - :param node_name: The node_name of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._node_name = node_name - - @property - def event_version(self): - """Gets the event_version of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The event_version of this EventNodeExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._event_version - - @event_version.setter - def event_version(self, event_version): - """Sets the event_version of this EventNodeExecutionEvent. - - - :param event_version: The event_version of this EventNodeExecutionEvent. # noqa: E501 - :type: int - """ - - self._event_version = event_version - - @property - def is_parent(self): - """Gets the is_parent of this EventNodeExecutionEvent. # noqa: E501 - - Whether this node launched a subworkflow. # noqa: E501 - - :return: The is_parent of this EventNodeExecutionEvent. # noqa: E501 - :rtype: bool - """ - return self._is_parent - - @is_parent.setter - def is_parent(self, is_parent): - """Sets the is_parent of this EventNodeExecutionEvent. - - Whether this node launched a subworkflow. # noqa: E501 - - :param is_parent: The is_parent of this EventNodeExecutionEvent. # noqa: E501 - :type: bool - """ - - self._is_parent = is_parent - - @property - def is_dynamic(self): - """Gets the is_dynamic of this EventNodeExecutionEvent. # noqa: E501 - - Whether this node yielded a dynamic workflow. # noqa: E501 - - :return: The is_dynamic of this EventNodeExecutionEvent. # noqa: E501 - :rtype: bool - """ - return self._is_dynamic - - @is_dynamic.setter - def is_dynamic(self, is_dynamic): - """Sets the is_dynamic of this EventNodeExecutionEvent. - - Whether this node yielded a dynamic workflow. # noqa: E501 - - :param is_dynamic: The is_dynamic of this EventNodeExecutionEvent. # noqa: E501 - :type: bool - """ - - self._is_dynamic = is_dynamic - - @property - def deck_uri(self): - """Gets the deck_uri of this EventNodeExecutionEvent. # noqa: E501 - - - :return: The deck_uri of this EventNodeExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._deck_uri - - @deck_uri.setter - def deck_uri(self, deck_uri): - """Sets the deck_uri of this EventNodeExecutionEvent. - - - :param deck_uri: The deck_uri of this EventNodeExecutionEvent. # noqa: E501 - :type: str - """ - - self._deck_uri = deck_uri - - @property - def reported_at(self): - """Gets the reported_at of this EventNodeExecutionEvent. # noqa: E501 - - This timestamp represents the instant when the event was reported by the executing framework. For example, when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when literal inputs are initially copied. The event however will not be sent until after the copy completes. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 - - :return: The reported_at of this EventNodeExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._reported_at - - @reported_at.setter - def reported_at(self, reported_at): - """Sets the reported_at of this EventNodeExecutionEvent. - - This timestamp represents the instant when the event was reported by the executing framework. For example, when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when literal inputs are initially copied. The event however will not be sent until after the copy completes. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 - - :param reported_at: The reported_at of this EventNodeExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._reported_at = reported_at - - @property - def is_array(self): - """Gets the is_array of this EventNodeExecutionEvent. # noqa: E501 - - Indicates if this node is an ArrayNode. # noqa: E501 - - :return: The is_array of this EventNodeExecutionEvent. # noqa: E501 - :rtype: bool - """ - return self._is_array - - @is_array.setter - def is_array(self, is_array): - """Sets the is_array of this EventNodeExecutionEvent. - - Indicates if this node is an ArrayNode. # noqa: E501 - - :param is_array: The is_array of this EventNodeExecutionEvent. # noqa: E501 - :type: bool - """ - - self._is_array = is_array - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventNodeExecutionEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventNodeExecutionEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py deleted file mode 100644 index 8ca2ec7492..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_node_execution_metadata.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class EventParentNodeExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'node_id': 'str' - } - - attribute_map = { - 'node_id': 'node_id' - } - - def __init__(self, node_id=None): # noqa: E501 - """EventParentNodeExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._node_id = None - self.discriminator = None - - if node_id is not None: - self.node_id = node_id - - @property - def node_id(self): - """Gets the node_id of this EventParentNodeExecutionMetadata. # noqa: E501 - - - :return: The node_id of this EventParentNodeExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this EventParentNodeExecutionMetadata. - - - :param node_id: The node_id of this EventParentNodeExecutionMetadata. # noqa: E501 - :type: str - """ - - self._node_id = node_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventParentNodeExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventParentNodeExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py deleted file mode 100644 index 9d640fcd1f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_parent_task_execution_metadata.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 - - -class EventParentTaskExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreTaskExecutionIdentifier' - } - - attribute_map = { - 'id': 'id' - } - - def __init__(self, id=None): # noqa: E501 - """EventParentTaskExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._id = None - self.discriminator = None - - if id is not None: - self.id = id - - @property - def id(self): - """Gets the id of this EventParentTaskExecutionMetadata. # noqa: E501 - - - :return: The id of this EventParentTaskExecutionMetadata. # noqa: E501 - :rtype: CoreTaskExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this EventParentTaskExecutionMetadata. - - - :param id: The id of this EventParentTaskExecutionMetadata. # noqa: E501 - :type: CoreTaskExecutionIdentifier - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventParentTaskExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventParentTaskExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py deleted file mode 100644 index f15bb90a1a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_resource_pool_info.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class EventResourcePoolInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'allocation_token': 'str', - 'namespace': 'str' - } - - attribute_map = { - 'allocation_token': 'allocation_token', - 'namespace': 'namespace' - } - - def __init__(self, allocation_token=None, namespace=None): # noqa: E501 - """EventResourcePoolInfo - a model defined in Swagger""" # noqa: E501 - - self._allocation_token = None - self._namespace = None - self.discriminator = None - - if allocation_token is not None: - self.allocation_token = allocation_token - if namespace is not None: - self.namespace = namespace - - @property - def allocation_token(self): - """Gets the allocation_token of this EventResourcePoolInfo. # noqa: E501 - - Unique resource ID used to identify this execution when allocating a token. # noqa: E501 - - :return: The allocation_token of this EventResourcePoolInfo. # noqa: E501 - :rtype: str - """ - return self._allocation_token - - @allocation_token.setter - def allocation_token(self, allocation_token): - """Sets the allocation_token of this EventResourcePoolInfo. - - Unique resource ID used to identify this execution when allocating a token. # noqa: E501 - - :param allocation_token: The allocation_token of this EventResourcePoolInfo. # noqa: E501 - :type: str - """ - - self._allocation_token = allocation_token - - @property - def namespace(self): - """Gets the namespace of this EventResourcePoolInfo. # noqa: E501 - - Namespace under which this task execution requested an allocation token. # noqa: E501 - - :return: The namespace of this EventResourcePoolInfo. # noqa: E501 - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """Sets the namespace of this EventResourcePoolInfo. - - Namespace under which this task execution requested an allocation token. # noqa: E501 - - :param namespace: The namespace of this EventResourcePoolInfo. # noqa: E501 - :type: str - """ - - self._namespace = namespace - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventResourcePoolInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventResourcePoolInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py deleted file mode 100644 index b3ba4e284e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py +++ /dev/null @@ -1,647 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: F401,E501 -from flyteadmin.models.event_event_reason import EventEventReason # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_task_execution_metadata import FlyteidleventTaskExecutionMetadata # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class EventTaskExecutionEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'task_id': 'CoreIdentifier', - 'parent_node_execution_id': 'CoreNodeExecutionIdentifier', - 'retry_attempt': 'int', - 'phase': 'CoreTaskExecutionPhase', - 'producer_id': 'str', - 'logs': 'list[CoreTaskLog]', - 'occurred_at': 'datetime', - 'input_uri': 'str', - 'input_data': 'CoreLiteralMap', - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap', - 'custom_info': 'ProtobufStruct', - 'phase_version': 'int', - 'reason': 'str', - 'reasons': 'list[EventEventReason]', - 'task_type': 'str', - 'metadata': 'FlyteidleventTaskExecutionMetadata', - 'event_version': 'int', - 'reported_at': 'datetime' - } - - attribute_map = { - 'task_id': 'task_id', - 'parent_node_execution_id': 'parent_node_execution_id', - 'retry_attempt': 'retry_attempt', - 'phase': 'phase', - 'producer_id': 'producer_id', - 'logs': 'logs', - 'occurred_at': 'occurred_at', - 'input_uri': 'input_uri', - 'input_data': 'input_data', - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data', - 'custom_info': 'custom_info', - 'phase_version': 'phase_version', - 'reason': 'reason', - 'reasons': 'reasons', - 'task_type': 'task_type', - 'metadata': 'metadata', - 'event_version': 'event_version', - 'reported_at': 'reported_at' - } - - def __init__(self, task_id=None, parent_node_execution_id=None, retry_attempt=None, phase=None, producer_id=None, logs=None, occurred_at=None, input_uri=None, input_data=None, output_uri=None, error=None, output_data=None, custom_info=None, phase_version=None, reason=None, reasons=None, task_type=None, metadata=None, event_version=None, reported_at=None): # noqa: E501 - """EventTaskExecutionEvent - a model defined in Swagger""" # noqa: E501 - - self._task_id = None - self._parent_node_execution_id = None - self._retry_attempt = None - self._phase = None - self._producer_id = None - self._logs = None - self._occurred_at = None - self._input_uri = None - self._input_data = None - self._output_uri = None - self._error = None - self._output_data = None - self._custom_info = None - self._phase_version = None - self._reason = None - self._reasons = None - self._task_type = None - self._metadata = None - self._event_version = None - self._reported_at = None - self.discriminator = None - - if task_id is not None: - self.task_id = task_id - if parent_node_execution_id is not None: - self.parent_node_execution_id = parent_node_execution_id - if retry_attempt is not None: - self.retry_attempt = retry_attempt - if phase is not None: - self.phase = phase - if producer_id is not None: - self.producer_id = producer_id - if logs is not None: - self.logs = logs - if occurred_at is not None: - self.occurred_at = occurred_at - if input_uri is not None: - self.input_uri = input_uri - if input_data is not None: - self.input_data = input_data - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - if custom_info is not None: - self.custom_info = custom_info - if phase_version is not None: - self.phase_version = phase_version - if reason is not None: - self.reason = reason - if reasons is not None: - self.reasons = reasons - if task_type is not None: - self.task_type = task_type - if metadata is not None: - self.metadata = metadata - if event_version is not None: - self.event_version = event_version - if reported_at is not None: - self.reported_at = reported_at - - @property - def task_id(self): - """Gets the task_id of this EventTaskExecutionEvent. # noqa: E501 - - ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. # noqa: E501 - - :return: The task_id of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._task_id - - @task_id.setter - def task_id(self, task_id): - """Sets the task_id of this EventTaskExecutionEvent. - - ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution. # noqa: E501 - - :param task_id: The task_id of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreIdentifier - """ - - self._task_id = task_id - - @property - def parent_node_execution_id(self): - """Gets the parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._parent_node_execution_id - - @parent_node_execution_id.setter - def parent_node_execution_id(self, parent_node_execution_id): - """Sets the parent_node_execution_id of this EventTaskExecutionEvent. - - - :param parent_node_execution_id: The parent_node_execution_id of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._parent_node_execution_id = parent_node_execution_id - - @property - def retry_attempt(self): - """Gets the retry_attempt of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The retry_attempt of this EventTaskExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._retry_attempt - - @retry_attempt.setter - def retry_attempt(self, retry_attempt): - """Sets the retry_attempt of this EventTaskExecutionEvent. - - - :param retry_attempt: The retry_attempt of this EventTaskExecutionEvent. # noqa: E501 - :type: int - """ - - self._retry_attempt = retry_attempt - - @property - def phase(self): - """Gets the phase of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The phase of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreTaskExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventTaskExecutionEvent. - - - :param phase: The phase of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreTaskExecutionPhase - """ - - self._phase = phase - - @property - def producer_id(self): - """Gets the producer_id of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The producer_id of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._producer_id - - @producer_id.setter - def producer_id(self, producer_id): - """Sets the producer_id of this EventTaskExecutionEvent. - - - :param producer_id: The producer_id of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._producer_id = producer_id - - @property - def logs(self): - """Gets the logs of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The logs of this EventTaskExecutionEvent. # noqa: E501 - :rtype: list[CoreTaskLog] - """ - return self._logs - - @logs.setter - def logs(self, logs): - """Sets the logs of this EventTaskExecutionEvent. - - - :param logs: The logs of this EventTaskExecutionEvent. # noqa: E501 - :type: list[CoreTaskLog] - """ - - self._logs = logs - - @property - def occurred_at(self): - """Gets the occurred_at of this EventTaskExecutionEvent. # noqa: E501 - - This timestamp represents when the original event occurred, it is generated by the executor of the task. # noqa: E501 - - :return: The occurred_at of this EventTaskExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this EventTaskExecutionEvent. - - This timestamp represents when the original event occurred, it is generated by the executor of the task. # noqa: E501 - - :param occurred_at: The occurred_at of this EventTaskExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def input_uri(self): - """Gets the input_uri of this EventTaskExecutionEvent. # noqa: E501 - - URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The input_uri of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this EventTaskExecutionEvent. - - URI of the input file, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param input_uri: The input_uri of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def input_data(self): - """Gets the input_data of this EventTaskExecutionEvent. # noqa: E501 - - Raw input data consumed by this task execution. # noqa: E501 - - :return: The input_data of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._input_data - - @input_data.setter - def input_data(self, input_data): - """Sets the input_data of this EventTaskExecutionEvent. - - Raw input data consumed by this task execution. # noqa: E501 - - :param input_data: The input_data of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._input_data = input_data - - @property - def output_uri(self): - """Gets the output_uri of this EventTaskExecutionEvent. # noqa: E501 - - URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The output_uri of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this EventTaskExecutionEvent. - - URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param output_uri: The output_uri of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this EventTaskExecutionEvent. # noqa: E501 - - - :return: The error of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this EventTaskExecutionEvent. - - - :param error: The error of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this EventTaskExecutionEvent. # noqa: E501 - - Raw output data produced by this task execution. # noqa: E501 - - :return: The output_data of this EventTaskExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this EventTaskExecutionEvent. - - Raw output data produced by this task execution. # noqa: E501 - - :param output_data: The output_data of this EventTaskExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - @property - def custom_info(self): - """Gets the custom_info of this EventTaskExecutionEvent. # noqa: E501 - - Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. # noqa: E501 - - :return: The custom_info of this EventTaskExecutionEvent. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._custom_info - - @custom_info.setter - def custom_info(self, custom_info): - """Sets the custom_info of this EventTaskExecutionEvent. - - Custom data that the task plugin sends back. This is extensible to allow various plugins in the system. # noqa: E501 - - :param custom_info: The custom_info of this EventTaskExecutionEvent. # noqa: E501 - :type: ProtobufStruct - """ - - self._custom_info = custom_info - - @property - def phase_version(self): - """Gets the phase_version of this EventTaskExecutionEvent. # noqa: E501 - - Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. # noqa: E501 - - :return: The phase_version of this EventTaskExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._phase_version - - @phase_version.setter - def phase_version(self, phase_version): - """Sets the phase_version of this EventTaskExecutionEvent. - - Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase. # noqa: E501 - - :param phase_version: The phase_version of this EventTaskExecutionEvent. # noqa: E501 - :type: int - """ - - self._phase_version = phase_version - - @property - def reason(self): - """Gets the reason of this EventTaskExecutionEvent. # noqa: E501 - - An optional explanation for the phase transition. Deprecated: Use reasons instead. # noqa: E501 - - :return: The reason of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._reason - - @reason.setter - def reason(self, reason): - """Sets the reason of this EventTaskExecutionEvent. - - An optional explanation for the phase transition. Deprecated: Use reasons instead. # noqa: E501 - - :param reason: The reason of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._reason = reason - - @property - def reasons(self): - """Gets the reasons of this EventTaskExecutionEvent. # noqa: E501 - - An optional list of explanations for the phase transition. # noqa: E501 - - :return: The reasons of this EventTaskExecutionEvent. # noqa: E501 - :rtype: list[EventEventReason] - """ - return self._reasons - - @reasons.setter - def reasons(self, reasons): - """Sets the reasons of this EventTaskExecutionEvent. - - An optional list of explanations for the phase transition. # noqa: E501 - - :param reasons: The reasons of this EventTaskExecutionEvent. # noqa: E501 - :type: list[EventEventReason] - """ - - self._reasons = reasons - - @property - def task_type(self): - """Gets the task_type of this EventTaskExecutionEvent. # noqa: E501 - - A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. # noqa: E501 - - :return: The task_type of this EventTaskExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._task_type - - @task_type.setter - def task_type(self, task_type): - """Sets the task_type of this EventTaskExecutionEvent. - - A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc. # noqa: E501 - - :param task_type: The task_type of this EventTaskExecutionEvent. # noqa: E501 - :type: str - """ - - self._task_type = task_type - - @property - def metadata(self): - """Gets the metadata of this EventTaskExecutionEvent. # noqa: E501 - - Metadata around how a task was executed. # noqa: E501 - - :return: The metadata of this EventTaskExecutionEvent. # noqa: E501 - :rtype: FlyteidleventTaskExecutionMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this EventTaskExecutionEvent. - - Metadata around how a task was executed. # noqa: E501 - - :param metadata: The metadata of this EventTaskExecutionEvent. # noqa: E501 - :type: FlyteidleventTaskExecutionMetadata - """ - - self._metadata = metadata - - @property - def event_version(self): - """Gets the event_version of this EventTaskExecutionEvent. # noqa: E501 - - The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :return: The event_version of this EventTaskExecutionEvent. # noqa: E501 - :rtype: int - """ - return self._event_version - - @event_version.setter - def event_version(self, event_version): - """Sets the event_version of this EventTaskExecutionEvent. - - The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. # noqa: E501 - - :param event_version: The event_version of this EventTaskExecutionEvent. # noqa: E501 - :type: int - """ - - self._event_version = event_version - - @property - def reported_at(self): - """Gets the reported_at of this EventTaskExecutionEvent. # noqa: E501 - - This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 - - :return: The reported_at of this EventTaskExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._reported_at - - @reported_at.setter - def reported_at(self, reported_at): - """Sets the reported_at of this EventTaskExecutionEvent. - - This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 - - :param reported_at: The reported_at of this EventTaskExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._reported_at = reported_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventTaskExecutionEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventTaskExecutionEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py deleted file mode 100644 index 97331dfbbb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_workflow_execution_event.py +++ /dev/null @@ -1,282 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: F401,E501 - - -class EventWorkflowExecutionEvent(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_id': 'CoreWorkflowExecutionIdentifier', - 'producer_id': 'str', - 'phase': 'CoreWorkflowExecutionPhase', - 'occurred_at': 'datetime', - 'output_uri': 'str', - 'error': 'CoreExecutionError', - 'output_data': 'CoreLiteralMap' - } - - attribute_map = { - 'execution_id': 'execution_id', - 'producer_id': 'producer_id', - 'phase': 'phase', - 'occurred_at': 'occurred_at', - 'output_uri': 'output_uri', - 'error': 'error', - 'output_data': 'output_data' - } - - def __init__(self, execution_id=None, producer_id=None, phase=None, occurred_at=None, output_uri=None, error=None, output_data=None): # noqa: E501 - """EventWorkflowExecutionEvent - a model defined in Swagger""" # noqa: E501 - - self._execution_id = None - self._producer_id = None - self._phase = None - self._occurred_at = None - self._output_uri = None - self._error = None - self._output_data = None - self.discriminator = None - - if execution_id is not None: - self.execution_id = execution_id - if producer_id is not None: - self.producer_id = producer_id - if phase is not None: - self.phase = phase - if occurred_at is not None: - self.occurred_at = occurred_at - if output_uri is not None: - self.output_uri = output_uri - if error is not None: - self.error = error - if output_data is not None: - self.output_data = output_data - - @property - def execution_id(self): - """Gets the execution_id of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The execution_id of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this EventWorkflowExecutionEvent. - - - :param execution_id: The execution_id of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - @property - def producer_id(self): - """Gets the producer_id of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The producer_id of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._producer_id - - @producer_id.setter - def producer_id(self, producer_id): - """Sets the producer_id of this EventWorkflowExecutionEvent. - - - :param producer_id: The producer_id of this EventWorkflowExecutionEvent. # noqa: E501 - :type: str - """ - - self._producer_id = producer_id - - @property - def phase(self): - """Gets the phase of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The phase of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreWorkflowExecutionPhase - """ - return self._phase - - @phase.setter - def phase(self, phase): - """Sets the phase of this EventWorkflowExecutionEvent. - - - :param phase: The phase of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreWorkflowExecutionPhase - """ - - self._phase = phase - - @property - def occurred_at(self): - """Gets the occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 - - This timestamp represents when the original event occurred, it is generated by the executor of the workflow. # noqa: E501 - - :return: The occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: datetime - """ - return self._occurred_at - - @occurred_at.setter - def occurred_at(self, occurred_at): - """Sets the occurred_at of this EventWorkflowExecutionEvent. - - This timestamp represents when the original event occurred, it is generated by the executor of the workflow. # noqa: E501 - - :param occurred_at: The occurred_at of this EventWorkflowExecutionEvent. # noqa: E501 - :type: datetime - """ - - self._occurred_at = occurred_at - - @property - def output_uri(self): - """Gets the output_uri of this EventWorkflowExecutionEvent. # noqa: E501 - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :return: The output_uri of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: str - """ - return self._output_uri - - @output_uri.setter - def output_uri(self, output_uri): - """Sets the output_uri of this EventWorkflowExecutionEvent. - - URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://... # noqa: E501 - - :param output_uri: The output_uri of this EventWorkflowExecutionEvent. # noqa: E501 - :type: str - """ - - self._output_uri = output_uri - - @property - def error(self): - """Gets the error of this EventWorkflowExecutionEvent. # noqa: E501 - - - :return: The error of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreExecutionError - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this EventWorkflowExecutionEvent. - - - :param error: The error of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreExecutionError - """ - - self._error = error - - @property - def output_data(self): - """Gets the output_data of this EventWorkflowExecutionEvent. # noqa: E501 - - Raw output data produced by this workflow execution. # noqa: E501 - - :return: The output_data of this EventWorkflowExecutionEvent. # noqa: E501 - :rtype: CoreLiteralMap - """ - return self._output_data - - @output_data.setter - def output_data(self, output_data): - """Sets the output_data of this EventWorkflowExecutionEvent. - - Raw output data produced by this workflow execution. # noqa: E501 - - :param output_data: The output_data of this EventWorkflowExecutionEvent. # noqa: E501 - :type: CoreLiteralMap - """ - - self._output_data = output_data - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EventWorkflowExecutionEvent, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EventWorkflowExecutionEvent): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py deleted file mode 100644 index 91504474a9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_error_error_kind.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ExecutionErrorErrorKind(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - USER = "USER" - SYSTEM = "SYSTEM" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ExecutionErrorErrorKind - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ExecutionErrorErrorKind, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ExecutionErrorErrorKind): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py deleted file mode 100644 index cca95359f2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/execution_metadata_execution_mode.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ExecutionMetadataExecutionMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - MANUAL = "MANUAL" - SCHEDULED = "SCHEDULED" - SYSTEM = "SYSTEM" - RELAUNCH = "RELAUNCH" - CHILD_WORKFLOW = "CHILD_WORKFLOW" - RECOVERED = "RECOVERED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ExecutionMetadataExecutionMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ExecutionMetadataExecutionMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ExecutionMetadataExecutionMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py deleted file mode 100644 index 44dfceb5fc..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class FlyteidladminDynamicWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'compiled_workflow': 'CoreCompiledWorkflowClosure', - 'dynamic_job_spec_uri': 'str' - } - - attribute_map = { - 'id': 'id', - 'compiled_workflow': 'compiled_workflow', - 'dynamic_job_spec_uri': 'dynamic_job_spec_uri' - } - - def __init__(self, id=None, compiled_workflow=None, dynamic_job_spec_uri=None): # noqa: E501 - """FlyteidladminDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._compiled_workflow = None - self._dynamic_job_spec_uri = None - self.discriminator = None - - if id is not None: - self.id = id - if compiled_workflow is not None: - self.compiled_workflow = compiled_workflow - if dynamic_job_spec_uri is not None: - self.dynamic_job_spec_uri = dynamic_job_spec_uri - - @property - def id(self): - """Gets the id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - - id represents the unique identifier of the workflow. # noqa: E501 - - :return: The id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidladminDynamicWorkflowNodeMetadata. - - id represents the unique identifier of the workflow. # noqa: E501 - - :param id: The id of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def compiled_workflow(self): - """Gets the compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :return: The compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreCompiledWorkflowClosure - """ - return self._compiled_workflow - - @compiled_workflow.setter - def compiled_workflow(self, compiled_workflow): - """Sets the compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :param compiled_workflow: The compiled_workflow of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreCompiledWorkflowClosure - """ - - self._compiled_workflow = compiled_workflow - - @property - def dynamic_job_spec_uri(self): - """Gets the dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - - dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 - - :return: The dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._dynamic_job_spec_uri - - @dynamic_job_spec_uri.setter - def dynamic_job_spec_uri(self, dynamic_job_spec_uri): - """Sets the dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. - - dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 - - :param dynamic_job_spec_uri: The dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 - :type: str - """ - - self._dynamic_job_spec_uri = dynamic_job_spec_uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminDynamicWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminDynamicWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py deleted file mode 100644 index f1c1d0cb72..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_node_execution.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure # noqa: F401,E501 -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData # noqa: F401,E501 -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 - - -class FlyteidladminNodeExecution(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreNodeExecutionIdentifier', - 'input_uri': 'str', - 'closure': 'AdminNodeExecutionClosure', - 'metadata': 'AdminNodeExecutionMetaData' - } - - attribute_map = { - 'id': 'id', - 'input_uri': 'input_uri', - 'closure': 'closure', - 'metadata': 'metadata' - } - - def __init__(self, id=None, input_uri=None, closure=None, metadata=None): # noqa: E501 - """FlyteidladminNodeExecution - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._input_uri = None - self._closure = None - self._metadata = None - self.discriminator = None - - if id is not None: - self.id = id - if input_uri is not None: - self.input_uri = input_uri - if closure is not None: - self.closure = closure - if metadata is not None: - self.metadata = metadata - - @property - def id(self): - """Gets the id of this FlyteidladminNodeExecution. # noqa: E501 - - Uniquely identifies an individual node execution. # noqa: E501 - - :return: The id of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: CoreNodeExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidladminNodeExecution. - - Uniquely identifies an individual node execution. # noqa: E501 - - :param id: The id of this FlyteidladminNodeExecution. # noqa: E501 - :type: CoreNodeExecutionIdentifier - """ - - self._id = id - - @property - def input_uri(self): - """Gets the input_uri of this FlyteidladminNodeExecution. # noqa: E501 - - Path to remote data store where input blob is stored. # noqa: E501 - - :return: The input_uri of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this FlyteidladminNodeExecution. - - Path to remote data store where input blob is stored. # noqa: E501 - - :param input_uri: The input_uri of this FlyteidladminNodeExecution. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def closure(self): - """Gets the closure of this FlyteidladminNodeExecution. # noqa: E501 - - Computed results associated with this node execution. # noqa: E501 - - :return: The closure of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: AdminNodeExecutionClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this FlyteidladminNodeExecution. - - Computed results associated with this node execution. # noqa: E501 - - :param closure: The closure of this FlyteidladminNodeExecution. # noqa: E501 - :type: AdminNodeExecutionClosure - """ - - self._closure = closure - - @property - def metadata(self): - """Gets the metadata of this FlyteidladminNodeExecution. # noqa: E501 - - - :return: The metadata of this FlyteidladminNodeExecution. # noqa: E501 - :rtype: AdminNodeExecutionMetaData - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this FlyteidladminNodeExecution. - - - :param metadata: The metadata of this FlyteidladminNodeExecution. # noqa: E501 - :type: AdminNodeExecutionMetaData - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminNodeExecution, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminNodeExecution): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_request.py deleted file mode 100644 index 4fa700a481..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_request.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_spec import AdminTaskSpec # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class FlyteidladminTaskCreateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'spec': 'AdminTaskSpec' - } - - attribute_map = { - 'id': 'id', - 'spec': 'spec' - } - - def __init__(self, id=None, spec=None): # noqa: E501 - """FlyteidladminTaskCreateRequest - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._spec = None - self.discriminator = None - - if id is not None: - self.id = id - if spec is not None: - self.spec = spec - - @property - def id(self): - """Gets the id of this FlyteidladminTaskCreateRequest. # noqa: E501 - - - :return: The id of this FlyteidladminTaskCreateRequest. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidladminTaskCreateRequest. - - - :param id: The id of this FlyteidladminTaskCreateRequest. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def spec(self): - """Gets the spec of this FlyteidladminTaskCreateRequest. # noqa: E501 - - - :return: The spec of this FlyteidladminTaskCreateRequest. # noqa: E501 - :rtype: AdminTaskSpec - """ - return self._spec - - @spec.setter - def spec(self, spec): - """Sets the spec of this FlyteidladminTaskCreateRequest. - - - :param spec: The spec of this FlyteidladminTaskCreateRequest. # noqa: E501 - :type: AdminTaskSpec - """ - - self._spec = spec - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminTaskCreateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminTaskCreateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_response.py deleted file mode 100644 index 00389aca08..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class FlyteidladminTaskCreateResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """FlyteidladminTaskCreateResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminTaskCreateResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminTaskCreateResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py deleted file mode 100644 index bbb30485c7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_execution.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure # noqa: F401,E501 -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 - - -class FlyteidladminTaskExecution(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreTaskExecutionIdentifier', - 'input_uri': 'str', - 'closure': 'AdminTaskExecutionClosure', - 'is_parent': 'bool' - } - - attribute_map = { - 'id': 'id', - 'input_uri': 'input_uri', - 'closure': 'closure', - 'is_parent': 'is_parent' - } - - def __init__(self, id=None, input_uri=None, closure=None, is_parent=None): # noqa: E501 - """FlyteidladminTaskExecution - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._input_uri = None - self._closure = None - self._is_parent = None - self.discriminator = None - - if id is not None: - self.id = id - if input_uri is not None: - self.input_uri = input_uri - if closure is not None: - self.closure = closure - if is_parent is not None: - self.is_parent = is_parent - - @property - def id(self): - """Gets the id of this FlyteidladminTaskExecution. # noqa: E501 - - Unique identifier for the task execution. # noqa: E501 - - :return: The id of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: CoreTaskExecutionIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidladminTaskExecution. - - Unique identifier for the task execution. # noqa: E501 - - :param id: The id of this FlyteidladminTaskExecution. # noqa: E501 - :type: CoreTaskExecutionIdentifier - """ - - self._id = id - - @property - def input_uri(self): - """Gets the input_uri of this FlyteidladminTaskExecution. # noqa: E501 - - Path to remote data store where input blob is stored. # noqa: E501 - - :return: The input_uri of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: str - """ - return self._input_uri - - @input_uri.setter - def input_uri(self, input_uri): - """Sets the input_uri of this FlyteidladminTaskExecution. - - Path to remote data store where input blob is stored. # noqa: E501 - - :param input_uri: The input_uri of this FlyteidladminTaskExecution. # noqa: E501 - :type: str - """ - - self._input_uri = input_uri - - @property - def closure(self): - """Gets the closure of this FlyteidladminTaskExecution. # noqa: E501 - - Task execution details and results. # noqa: E501 - - :return: The closure of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: AdminTaskExecutionClosure - """ - return self._closure - - @closure.setter - def closure(self, closure): - """Sets the closure of this FlyteidladminTaskExecution. - - Task execution details and results. # noqa: E501 - - :param closure: The closure of this FlyteidladminTaskExecution. # noqa: E501 - :type: AdminTaskExecutionClosure - """ - - self._closure = closure - - @property - def is_parent(self): - """Gets the is_parent of this FlyteidladminTaskExecution. # noqa: E501 - - Whether this task spawned nodes. # noqa: E501 - - :return: The is_parent of this FlyteidladminTaskExecution. # noqa: E501 - :rtype: bool - """ - return self._is_parent - - @is_parent.setter - def is_parent(self, is_parent): - """Sets the is_parent of this FlyteidladminTaskExecution. - - Whether this task spawned nodes. # noqa: E501 - - :param is_parent: The is_parent of this FlyteidladminTaskExecution. # noqa: E501 - :type: bool - """ - - self._is_parent = is_parent - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminTaskExecution, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminTaskExecution): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py deleted file mode 100644 index aa6a447467..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_node_metadata.py +++ /dev/null @@ -1,172 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: F401,E501 - - -class FlyteidladminTaskNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cache_status': 'CoreCatalogCacheStatus', - 'catalog_key': 'CoreCatalogMetadata', - 'checkpoint_uri': 'str' - } - - attribute_map = { - 'cache_status': 'cache_status', - 'catalog_key': 'catalog_key', - 'checkpoint_uri': 'checkpoint_uri' - } - - def __init__(self, cache_status=None, catalog_key=None, checkpoint_uri=None): # noqa: E501 - """FlyteidladminTaskNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._cache_status = None - self._catalog_key = None - self._checkpoint_uri = None - self.discriminator = None - - if cache_status is not None: - self.cache_status = cache_status - if catalog_key is not None: - self.catalog_key = catalog_key - if checkpoint_uri is not None: - self.checkpoint_uri = checkpoint_uri - - @property - def cache_status(self): - """Gets the cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 - - Captures the status of caching for this execution. # noqa: E501 - - :return: The cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogCacheStatus - """ - return self._cache_status - - @cache_status.setter - def cache_status(self, cache_status): - """Sets the cache_status of this FlyteidladminTaskNodeMetadata. - - Captures the status of caching for this execution. # noqa: E501 - - :param cache_status: The cache_status of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogCacheStatus - """ - - self._cache_status = cache_status - - @property - def catalog_key(self): - """Gets the catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 - - - :return: The catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogMetadata - """ - return self._catalog_key - - @catalog_key.setter - def catalog_key(self, catalog_key): - """Sets the catalog_key of this FlyteidladminTaskNodeMetadata. - - - :param catalog_key: The catalog_key of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogMetadata - """ - - self._catalog_key = catalog_key - - @property - def checkpoint_uri(self): - """Gets the checkpoint_uri of this FlyteidladminTaskNodeMetadata. # noqa: E501 - - - :return: The checkpoint_uri of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._checkpoint_uri - - @checkpoint_uri.setter - def checkpoint_uri(self, checkpoint_uri): - """Sets the checkpoint_uri of this FlyteidladminTaskNodeMetadata. - - - :param checkpoint_uri: The checkpoint_uri of this FlyteidladminTaskNodeMetadata. # noqa: E501 - :type: str - """ - - self._checkpoint_uri = checkpoint_uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminTaskNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminTaskNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py deleted file mode 100644 index fccdeee5b8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_workflow_node_metadata.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class FlyteidladminWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'execution_id': 'executionId' - } - - def __init__(self, execution_id=None): # noqa: E501 - """FlyteidladminWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._execution_id = None - self.discriminator = None - - if execution_id is not None: - self.execution_id = execution_id - - @property - def execution_id(self): - """Gets the execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 - - The identifier for a workflow execution launched by a node. # noqa: E501 - - :return: The execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this FlyteidladminWorkflowNodeMetadata. - - The identifier for a workflow execution launched by a node. # noqa: E501 - - :param execution_id: The execution_id of this FlyteidladminWorkflowNodeMetadata. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidladminWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidladminWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py deleted file mode 100644 index fbba35e3fe..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: F401,E501 -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 - - -class FlyteidleventDynamicWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'CoreIdentifier', - 'compiled_workflow': 'CoreCompiledWorkflowClosure', - 'dynamic_job_spec_uri': 'str' - } - - attribute_map = { - 'id': 'id', - 'compiled_workflow': 'compiled_workflow', - 'dynamic_job_spec_uri': 'dynamic_job_spec_uri' - } - - def __init__(self, id=None, compiled_workflow=None, dynamic_job_spec_uri=None): # noqa: E501 - """FlyteidleventDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._id = None - self._compiled_workflow = None - self._dynamic_job_spec_uri = None - self.discriminator = None - - if id is not None: - self.id = id - if compiled_workflow is not None: - self.compiled_workflow = compiled_workflow - if dynamic_job_spec_uri is not None: - self.dynamic_job_spec_uri = dynamic_job_spec_uri - - @property - def id(self): - """Gets the id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - - id represents the unique identifier of the workflow. # noqa: E501 - - :return: The id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreIdentifier - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this FlyteidleventDynamicWorkflowNodeMetadata. - - id represents the unique identifier of the workflow. # noqa: E501 - - :param id: The id of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreIdentifier - """ - - self._id = id - - @property - def compiled_workflow(self): - """Gets the compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :return: The compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreCompiledWorkflowClosure - """ - return self._compiled_workflow - - @compiled_workflow.setter - def compiled_workflow(self, compiled_workflow): - """Sets the compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. - - Represents the compiled representation of the embedded dynamic workflow. # noqa: E501 - - :param compiled_workflow: The compiled_workflow of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :type: CoreCompiledWorkflowClosure - """ - - self._compiled_workflow = compiled_workflow - - @property - def dynamic_job_spec_uri(self): - """Gets the dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - - dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the workflow has already been compiled. # noqa: E501 - - :return: The dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._dynamic_job_spec_uri - - @dynamic_job_spec_uri.setter - def dynamic_job_spec_uri(self, dynamic_job_spec_uri): - """Sets the dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. - - dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the workflow has already been compiled. # noqa: E501 - - :param dynamic_job_spec_uri: The dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 - :type: str - """ - - self._dynamic_job_spec_uri = dynamic_job_spec_uri - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidleventDynamicWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidleventDynamicWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_execution_metadata.py deleted file mode 100644 index 302bc9cfcc..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_execution_metadata.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo # noqa: F401,E501 -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo # noqa: F401,E501 -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass # noqa: F401,E501 - - -class FlyteidleventTaskExecutionMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'generated_name': 'str', - 'external_resources': 'list[EventExternalResourceInfo]', - 'resource_pool_info': 'list[EventResourcePoolInfo]', - 'plugin_identifier': 'str', - 'instance_class': 'TaskExecutionMetadataInstanceClass' - } - - attribute_map = { - 'generated_name': 'generated_name', - 'external_resources': 'external_resources', - 'resource_pool_info': 'resource_pool_info', - 'plugin_identifier': 'plugin_identifier', - 'instance_class': 'instance_class' - } - - def __init__(self, generated_name=None, external_resources=None, resource_pool_info=None, plugin_identifier=None, instance_class=None): # noqa: E501 - """FlyteidleventTaskExecutionMetadata - a model defined in Swagger""" # noqa: E501 - - self._generated_name = None - self._external_resources = None - self._resource_pool_info = None - self._plugin_identifier = None - self._instance_class = None - self.discriminator = None - - if generated_name is not None: - self.generated_name = generated_name - if external_resources is not None: - self.external_resources = external_resources - if resource_pool_info is not None: - self.resource_pool_info = resource_pool_info - if plugin_identifier is not None: - self.plugin_identifier = plugin_identifier - if instance_class is not None: - self.instance_class = instance_class - - @property - def generated_name(self): - """Gets the generated_name of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - - Unique, generated name for this task execution used by the backend. # noqa: E501 - - :return: The generated_name of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._generated_name - - @generated_name.setter - def generated_name(self, generated_name): - """Sets the generated_name of this FlyteidleventTaskExecutionMetadata. - - Unique, generated name for this task execution used by the backend. # noqa: E501 - - :param generated_name: The generated_name of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :type: str - """ - - self._generated_name = generated_name - - @property - def external_resources(self): - """Gets the external_resources of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - - Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. # noqa: E501 - - :return: The external_resources of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :rtype: list[EventExternalResourceInfo] - """ - return self._external_resources - - @external_resources.setter - def external_resources(self, external_resources): - """Sets the external_resources of this FlyteidleventTaskExecutionMetadata. - - Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution. # noqa: E501 - - :param external_resources: The external_resources of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :type: list[EventExternalResourceInfo] - """ - - self._external_resources = external_resources - - @property - def resource_pool_info(self): - """Gets the resource_pool_info of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - - Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. # noqa: E501 - - :return: The resource_pool_info of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :rtype: list[EventResourcePoolInfo] - """ - return self._resource_pool_info - - @resource_pool_info.setter - def resource_pool_info(self, resource_pool_info): - """Sets the resource_pool_info of this FlyteidleventTaskExecutionMetadata. - - Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution. # noqa: E501 - - :param resource_pool_info: The resource_pool_info of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :type: list[EventResourcePoolInfo] - """ - - self._resource_pool_info = resource_pool_info - - @property - def plugin_identifier(self): - """Gets the plugin_identifier of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - - The identifier of the plugin used to execute this task. # noqa: E501 - - :return: The plugin_identifier of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :rtype: str - """ - return self._plugin_identifier - - @plugin_identifier.setter - def plugin_identifier(self, plugin_identifier): - """Sets the plugin_identifier of this FlyteidleventTaskExecutionMetadata. - - The identifier of the plugin used to execute this task. # noqa: E501 - - :param plugin_identifier: The plugin_identifier of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :type: str - """ - - self._plugin_identifier = plugin_identifier - - @property - def instance_class(self): - """Gets the instance_class of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - - - :return: The instance_class of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :rtype: TaskExecutionMetadataInstanceClass - """ - return self._instance_class - - @instance_class.setter - def instance_class(self, instance_class): - """Sets the instance_class of this FlyteidleventTaskExecutionMetadata. - - - :param instance_class: The instance_class of this FlyteidleventTaskExecutionMetadata. # noqa: E501 - :type: TaskExecutionMetadataInstanceClass - """ - - self._instance_class = instance_class - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidleventTaskExecutionMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidleventTaskExecutionMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py deleted file mode 100644 index 2f5787964f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_task_node_metadata.py +++ /dev/null @@ -1,230 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus # noqa: F401,E501 -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: F401,E501 -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: F401,E501 -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata # noqa: F401,E501 - - -class FlyteidleventTaskNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cache_status': 'CoreCatalogCacheStatus', - 'catalog_key': 'CoreCatalogMetadata', - 'reservation_status': 'CatalogReservationStatus', - 'checkpoint_uri': 'str', - 'dynamic_workflow': 'FlyteidleventDynamicWorkflowNodeMetadata' - } - - attribute_map = { - 'cache_status': 'cache_status', - 'catalog_key': 'catalog_key', - 'reservation_status': 'reservation_status', - 'checkpoint_uri': 'checkpoint_uri', - 'dynamic_workflow': 'dynamic_workflow' - } - - def __init__(self, cache_status=None, catalog_key=None, reservation_status=None, checkpoint_uri=None, dynamic_workflow=None): # noqa: E501 - """FlyteidleventTaskNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._cache_status = None - self._catalog_key = None - self._reservation_status = None - self._checkpoint_uri = None - self._dynamic_workflow = None - self.discriminator = None - - if cache_status is not None: - self.cache_status = cache_status - if catalog_key is not None: - self.catalog_key = catalog_key - if reservation_status is not None: - self.reservation_status = reservation_status - if checkpoint_uri is not None: - self.checkpoint_uri = checkpoint_uri - if dynamic_workflow is not None: - self.dynamic_workflow = dynamic_workflow - - @property - def cache_status(self): - """Gets the cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - Captures the status of caching for this execution. # noqa: E501 - - :return: The cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogCacheStatus - """ - return self._cache_status - - @cache_status.setter - def cache_status(self, cache_status): - """Sets the cache_status of this FlyteidleventTaskNodeMetadata. - - Captures the status of caching for this execution. # noqa: E501 - - :param cache_status: The cache_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogCacheStatus - """ - - self._cache_status = cache_status - - @property - def catalog_key(self): - """Gets the catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - - :return: The catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: CoreCatalogMetadata - """ - return self._catalog_key - - @catalog_key.setter - def catalog_key(self, catalog_key): - """Sets the catalog_key of this FlyteidleventTaskNodeMetadata. - - - :param catalog_key: The catalog_key of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: CoreCatalogMetadata - """ - - self._catalog_key = catalog_key - - @property - def reservation_status(self): - """Gets the reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - Captures the status of cache reservations for this execution. # noqa: E501 - - :return: The reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: CatalogReservationStatus - """ - return self._reservation_status - - @reservation_status.setter - def reservation_status(self, reservation_status): - """Sets the reservation_status of this FlyteidleventTaskNodeMetadata. - - Captures the status of cache reservations for this execution. # noqa: E501 - - :param reservation_status: The reservation_status of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: CatalogReservationStatus - """ - - self._reservation_status = reservation_status - - @property - def checkpoint_uri(self): - """Gets the checkpoint_uri of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - - :return: The checkpoint_uri of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: str - """ - return self._checkpoint_uri - - @checkpoint_uri.setter - def checkpoint_uri(self, checkpoint_uri): - """Sets the checkpoint_uri of this FlyteidleventTaskNodeMetadata. - - - :param checkpoint_uri: The checkpoint_uri of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: str - """ - - self._checkpoint_uri = checkpoint_uri - - @property - def dynamic_workflow(self): - """Gets the dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 - - In the case this task launched a dynamic workflow we capture its structure here. # noqa: E501 - - :return: The dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :rtype: FlyteidleventDynamicWorkflowNodeMetadata - """ - return self._dynamic_workflow - - @dynamic_workflow.setter - def dynamic_workflow(self, dynamic_workflow): - """Sets the dynamic_workflow of this FlyteidleventTaskNodeMetadata. - - In the case this task launched a dynamic workflow we capture its structure here. # noqa: E501 - - :param dynamic_workflow: The dynamic_workflow of this FlyteidleventTaskNodeMetadata. # noqa: E501 - :type: FlyteidleventDynamicWorkflowNodeMetadata - """ - - self._dynamic_workflow = dynamic_workflow - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidleventTaskNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidleventTaskNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py deleted file mode 100644 index 0492d7c68c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_workflow_node_metadata.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 - - -class FlyteidleventWorkflowNodeMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'execution_id': 'CoreWorkflowExecutionIdentifier' - } - - attribute_map = { - 'execution_id': 'execution_id' - } - - def __init__(self, execution_id=None): # noqa: E501 - """FlyteidleventWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 - - self._execution_id = None - self.discriminator = None - - if execution_id is not None: - self.execution_id = execution_id - - @property - def execution_id(self): - """Gets the execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 - - - :return: The execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 - :rtype: CoreWorkflowExecutionIdentifier - """ - return self._execution_id - - @execution_id.setter - def execution_id(self, execution_id): - """Sets the execution_id of this FlyteidleventWorkflowNodeMetadata. - - - :param execution_id: The execution_id of this FlyteidleventWorkflowNodeMetadata. # noqa: E501 - :type: CoreWorkflowExecutionIdentifier - """ - - self._execution_id = execution_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(FlyteidleventWorkflowNodeMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, FlyteidleventWorkflowNodeMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py deleted file mode 100644 index 6210f026ef..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_download_mode.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class IOStrategyDownloadMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DOWNLOAD_EAGER = "DOWNLOAD_EAGER" - DOWNLOAD_STREAM = "DOWNLOAD_STREAM" - DO_NOT_DOWNLOAD = "DO_NOT_DOWNLOAD" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """IOStrategyDownloadMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(IOStrategyDownloadMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, IOStrategyDownloadMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py deleted file mode 100644 index 95cfe6e357..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/io_strategy_upload_mode.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class IOStrategyUploadMode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UPLOAD_ON_EXIT = "UPLOAD_ON_EXIT" - UPLOAD_EAGER = "UPLOAD_EAGER" - DO_NOT_UPLOAD = "DO_NOT_UPLOAD" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """IOStrategyUploadMode - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(IOStrategyUploadMode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, IOStrategyUploadMode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py deleted file mode 100644 index cccdae26bf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/plugin_override_missing_plugin_behavior.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class PluginOverrideMissingPluginBehavior(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - FAIL = "FAIL" - USE_DEFAULT = "USE_DEFAULT" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PluginOverrideMissingPluginBehavior - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(PluginOverrideMissingPluginBehavior, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PluginOverrideMissingPluginBehavior): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py deleted file mode 100644 index e134025986..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/project_project_state.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ProjectProjectState(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ACTIVE = "ACTIVE" - ARCHIVED = "ARCHIVED" - SYSTEM_GENERATED = "SYSTEM_GENERATED" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ProjectProjectState - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProjectProjectState, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProjectProjectState): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py deleted file mode 100644 index ef1317d099..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ProtobufAny(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'type_url': 'str', - 'value': 'str' - } - - attribute_map = { - 'type_url': 'type_url', - 'value': 'value' - } - - def __init__(self, type_url=None, value=None): # noqa: E501 - """ProtobufAny - a model defined in Swagger""" # noqa: E501 - - self._type_url = None - self._value = None - self.discriminator = None - - if type_url is not None: - self.type_url = type_url - if value is not None: - self.value = value - - @property - def type_url(self): - """Gets the type_url of this ProtobufAny. # noqa: E501 - - A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. # noqa: E501 - - :return: The type_url of this ProtobufAny. # noqa: E501 - :rtype: str - """ - return self._type_url - - @type_url.setter - def type_url(self, type_url): - """Sets the type_url of this ProtobufAny. - - A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. # noqa: E501 - - :param type_url: The type_url of this ProtobufAny. # noqa: E501 - :type: str - """ - - self._type_url = type_url - - @property - def value(self): - """Gets the value of this ProtobufAny. # noqa: E501 - - Must be a valid serialized protocol buffer of the above specified type. # noqa: E501 - - :return: The value of this ProtobufAny. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this ProtobufAny. - - Must be a valid serialized protocol buffer of the above specified type. # noqa: E501 - - :param value: The value of this ProtobufAny. # noqa: E501 - :type: str - """ - if value is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', value): # noqa: E501 - raise ValueError(r"Invalid value for `value`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufAny, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufAny): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py deleted file mode 100644 index 2d75531ff7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_list_value.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_value import ProtobufValue # noqa: F401,E501 - - -class ProtobufListValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'values': 'list[ProtobufValue]' - } - - attribute_map = { - 'values': 'values' - } - - def __init__(self, values=None): # noqa: E501 - """ProtobufListValue - a model defined in Swagger""" # noqa: E501 - - self._values = None - self.discriminator = None - - if values is not None: - self.values = values - - @property - def values(self): - """Gets the values of this ProtobufListValue. # noqa: E501 - - Repeated field of dynamically typed values. # noqa: E501 - - :return: The values of this ProtobufListValue. # noqa: E501 - :rtype: list[ProtobufValue] - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this ProtobufListValue. - - Repeated field of dynamically typed values. # noqa: E501 - - :param values: The values of this ProtobufListValue. # noqa: E501 - :type: list[ProtobufValue] - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufListValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufListValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py deleted file mode 100644 index 87d63153de..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_null_value.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ProtobufNullValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - NULL_VALUE = "NULL_VALUE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ProtobufNullValue - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufNullValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufNullValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py deleted file mode 100644 index ff81a5b69d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_struct.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_value import ProtobufValue # noqa: F401,E501 - - -class ProtobufStruct(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'fields': 'dict(str, ProtobufValue)' - } - - attribute_map = { - 'fields': 'fields' - } - - def __init__(self, fields=None): # noqa: E501 - """ProtobufStruct - a model defined in Swagger""" # noqa: E501 - - self._fields = None - self.discriminator = None - - if fields is not None: - self.fields = fields - - @property - def fields(self): - """Gets the fields of this ProtobufStruct. # noqa: E501 - - Unordered map of dynamically typed values. # noqa: E501 - - :return: The fields of this ProtobufStruct. # noqa: E501 - :rtype: dict(str, ProtobufValue) - """ - return self._fields - - @fields.setter - def fields(self, fields): - """Sets the fields of this ProtobufStruct. - - Unordered map of dynamically typed values. # noqa: E501 - - :param fields: The fields of this ProtobufStruct. # noqa: E501 - :type: dict(str, ProtobufValue) - """ - - self._fields = fields - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufStruct, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufStruct): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py deleted file mode 100644 index 8e2dc6fdac..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_value.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.protobuf_list_value import ProtobufListValue # noqa: F401,E501 -from flyteadmin.models.protobuf_null_value import ProtobufNullValue # noqa: F401,E501 -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 - - -class ProtobufValue(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'null_value': 'ProtobufNullValue', - 'number_value': 'float', - 'string_value': 'str', - 'bool_value': 'bool', - 'struct_value': 'ProtobufStruct', - 'list_value': 'ProtobufListValue' - } - - attribute_map = { - 'null_value': 'null_value', - 'number_value': 'number_value', - 'string_value': 'string_value', - 'bool_value': 'bool_value', - 'struct_value': 'struct_value', - 'list_value': 'list_value' - } - - def __init__(self, null_value=None, number_value=None, string_value=None, bool_value=None, struct_value=None, list_value=None): # noqa: E501 - """ProtobufValue - a model defined in Swagger""" # noqa: E501 - - self._null_value = None - self._number_value = None - self._string_value = None - self._bool_value = None - self._struct_value = None - self._list_value = None - self.discriminator = None - - if null_value is not None: - self.null_value = null_value - if number_value is not None: - self.number_value = number_value - if string_value is not None: - self.string_value = string_value - if bool_value is not None: - self.bool_value = bool_value - if struct_value is not None: - self.struct_value = struct_value - if list_value is not None: - self.list_value = list_value - - @property - def null_value(self): - """Gets the null_value of this ProtobufValue. # noqa: E501 - - Represents a null value. # noqa: E501 - - :return: The null_value of this ProtobufValue. # noqa: E501 - :rtype: ProtobufNullValue - """ - return self._null_value - - @null_value.setter - def null_value(self, null_value): - """Sets the null_value of this ProtobufValue. - - Represents a null value. # noqa: E501 - - :param null_value: The null_value of this ProtobufValue. # noqa: E501 - :type: ProtobufNullValue - """ - - self._null_value = null_value - - @property - def number_value(self): - """Gets the number_value of this ProtobufValue. # noqa: E501 - - Represents a double value. # noqa: E501 - - :return: The number_value of this ProtobufValue. # noqa: E501 - :rtype: float - """ - return self._number_value - - @number_value.setter - def number_value(self, number_value): - """Sets the number_value of this ProtobufValue. - - Represents a double value. # noqa: E501 - - :param number_value: The number_value of this ProtobufValue. # noqa: E501 - :type: float - """ - - self._number_value = number_value - - @property - def string_value(self): - """Gets the string_value of this ProtobufValue. # noqa: E501 - - Represents a string value. # noqa: E501 - - :return: The string_value of this ProtobufValue. # noqa: E501 - :rtype: str - """ - return self._string_value - - @string_value.setter - def string_value(self, string_value): - """Sets the string_value of this ProtobufValue. - - Represents a string value. # noqa: E501 - - :param string_value: The string_value of this ProtobufValue. # noqa: E501 - :type: str - """ - - self._string_value = string_value - - @property - def bool_value(self): - """Gets the bool_value of this ProtobufValue. # noqa: E501 - - Represents a boolean value. # noqa: E501 - - :return: The bool_value of this ProtobufValue. # noqa: E501 - :rtype: bool - """ - return self._bool_value - - @bool_value.setter - def bool_value(self, bool_value): - """Sets the bool_value of this ProtobufValue. - - Represents a boolean value. # noqa: E501 - - :param bool_value: The bool_value of this ProtobufValue. # noqa: E501 - :type: bool - """ - - self._bool_value = bool_value - - @property - def struct_value(self): - """Gets the struct_value of this ProtobufValue. # noqa: E501 - - Represents a structured value. # noqa: E501 - - :return: The struct_value of this ProtobufValue. # noqa: E501 - :rtype: ProtobufStruct - """ - return self._struct_value - - @struct_value.setter - def struct_value(self, struct_value): - """Sets the struct_value of this ProtobufValue. - - Represents a structured value. # noqa: E501 - - :param struct_value: The struct_value of this ProtobufValue. # noqa: E501 - :type: ProtobufStruct - """ - - self._struct_value = struct_value - - @property - def list_value(self): - """Gets the list_value of this ProtobufValue. # noqa: E501 - - Represents a repeated `Value`. # noqa: E501 - - :return: The list_value of this ProtobufValue. # noqa: E501 - :rtype: ProtobufListValue - """ - return self._list_value - - @list_value.setter - def list_value(self, list_value): - """Sets the list_value of this ProtobufValue. - - Represents a repeated `Value`. # noqa: E501 - - :param list_value: The list_value of this ProtobufValue. # noqa: E501 - :type: ProtobufListValue - """ - - self._list_value = list_value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ProtobufValue, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ProtobufValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py deleted file mode 100644 index 9b8a45f842..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/quality_of_service_tier.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class QualityOfServiceTier(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - HIGH = "HIGH" - MEDIUM = "MEDIUM" - LOW = "LOW" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """QualityOfServiceTier - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(QualityOfServiceTier, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, QualityOfServiceTier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py deleted file mode 100644 index 481c772cad..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_entry.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.resources_resource_name import ResourcesResourceName # noqa: F401,E501 - - -class ResourcesResourceEntry(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'ResourcesResourceName', - 'value': 'str' - } - - attribute_map = { - 'name': 'name', - 'value': 'value' - } - - def __init__(self, name=None, value=None): # noqa: E501 - """ResourcesResourceEntry - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._value = None - self.discriminator = None - - if name is not None: - self.name = name - if value is not None: - self.value = value - - @property - def name(self): - """Gets the name of this ResourcesResourceEntry. # noqa: E501 - - Resource name. # noqa: E501 - - :return: The name of this ResourcesResourceEntry. # noqa: E501 - :rtype: ResourcesResourceName - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ResourcesResourceEntry. - - Resource name. # noqa: E501 - - :param name: The name of this ResourcesResourceEntry. # noqa: E501 - :type: ResourcesResourceName - """ - - self._name = name - - @property - def value(self): - """Gets the value of this ResourcesResourceEntry. # noqa: E501 - - - :return: The value of this ResourcesResourceEntry. # noqa: E501 - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this ResourcesResourceEntry. - - - :param value: The value of this ResourcesResourceEntry. # noqa: E501 - :type: str - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ResourcesResourceEntry, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ResourcesResourceEntry): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py deleted file mode 100644 index eea896d3d6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/resources_resource_name.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class ResourcesResourceName(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - CPU = "CPU" - GPU = "GPU" - MEMORY = "MEMORY" - STORAGE = "STORAGE" - EPHEMERAL_STORAGE = "EPHEMERAL_STORAGE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """ResourcesResourceName - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ResourcesResourceName, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ResourcesResourceName): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py deleted file mode 100644 index f49edcf0e0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/runtime_metadata_runtime_type.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class RuntimeMetadataRuntimeType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - OTHER = "OTHER" - FLYTE_SDK = "FLYTE_SDK" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """RuntimeMetadataRuntimeType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(RuntimeMetadataRuntimeType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, RuntimeMetadataRuntimeType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py deleted file mode 100644 index 895d2439b4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_column_schema_column_type.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SchemaColumnSchemaColumnType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - INTEGER = "INTEGER" - FLOAT = "FLOAT" - STRING = "STRING" - BOOLEAN = "BOOLEAN" - DATETIME = "DATETIME" - DURATION = "DURATION" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SchemaColumnSchemaColumnType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SchemaColumnSchemaColumnType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SchemaColumnSchemaColumnType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py deleted file mode 100644 index b200eef8fa..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/schema_type_schema_column.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType # noqa: F401,E501 - - -class SchemaTypeSchemaColumn(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'type': 'SchemaColumnSchemaColumnType' - } - - attribute_map = { - 'name': 'name', - 'type': 'type' - } - - def __init__(self, name=None, type=None): # noqa: E501 - """SchemaTypeSchemaColumn - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._type = None - self.discriminator = None - - if name is not None: - self.name = name - if type is not None: - self.type = type - - @property - def name(self): - """Gets the name of this SchemaTypeSchemaColumn. # noqa: E501 - - - :return: The name of this SchemaTypeSchemaColumn. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this SchemaTypeSchemaColumn. - - - :param name: The name of this SchemaTypeSchemaColumn. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def type(self): - """Gets the type of this SchemaTypeSchemaColumn. # noqa: E501 - - The column type. This allows a limited set of types currently. # noqa: E501 - - :return: The type of this SchemaTypeSchemaColumn. # noqa: E501 - :rtype: SchemaColumnSchemaColumnType - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this SchemaTypeSchemaColumn. - - The column type. This allows a limited set of types currently. # noqa: E501 - - :param type: The type of this SchemaTypeSchemaColumn. # noqa: E501 - :type: SchemaColumnSchemaColumnType - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SchemaTypeSchemaColumn, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SchemaTypeSchemaColumn): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py deleted file mode 100644 index 2331d3ba26..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/secret_mount_type.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SecretMountType(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - ANY = "ANY" - ENV_VAR = "ENV_VAR" - FILE = "FILE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SecretMountType - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SecretMountType, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SecretMountType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py deleted file mode 100644 index f9e955e818..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sort_direction.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SortDirection(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DESCENDING = "DESCENDING" - ASCENDING = "ASCENDING" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SortDirection - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SortDirection, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SortDirection): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py deleted file mode 100644 index 00a361f1ba..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/sql_dialect.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class SqlDialect(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNDEFINED = "UNDEFINED" - ANSI = "ANSI" - HIVE = "HIVE" - OTHER = "OTHER" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """SqlDialect - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SqlDialect, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SqlDialect): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py deleted file mode 100644 index 0092cebcba..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/structured_dataset_type_dataset_column.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: F401,E501 - - -class StructuredDatasetTypeDatasetColumn(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'literal_type': 'CoreLiteralType' - } - - attribute_map = { - 'name': 'name', - 'literal_type': 'literal_type' - } - - def __init__(self, name=None, literal_type=None): # noqa: E501 - """StructuredDatasetTypeDatasetColumn - a model defined in Swagger""" # noqa: E501 - - self._name = None - self._literal_type = None - self.discriminator = None - - if name is not None: - self.name = name - if literal_type is not None: - self.literal_type = literal_type - - @property - def name(self): - """Gets the name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - - A unique name within the schema type for the column. # noqa: E501 - - :return: The name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this StructuredDatasetTypeDatasetColumn. - - A unique name within the schema type for the column. # noqa: E501 - - :param name: The name of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def literal_type(self): - """Gets the literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - - The column type. # noqa: E501 - - :return: The literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :rtype: CoreLiteralType - """ - return self._literal_type - - @literal_type.setter - def literal_type(self, literal_type): - """Sets the literal_type of this StructuredDatasetTypeDatasetColumn. - - The column type. # noqa: E501 - - :param literal_type: The literal_type of this StructuredDatasetTypeDatasetColumn. # noqa: E501 - :type: CoreLiteralType - """ - - self._literal_type = literal_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(StructuredDatasetTypeDatasetColumn, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, StructuredDatasetTypeDatasetColumn): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py deleted file mode 100644 index c0bd3b3366..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_execution_metadata_instance_class.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class TaskExecutionMetadataInstanceClass(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - DEFAULT = "DEFAULT" - INTERRUPTIBLE = "INTERRUPTIBLE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """TaskExecutionMetadataInstanceClass - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(TaskExecutionMetadataInstanceClass, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, TaskExecutionMetadataInstanceClass): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py deleted file mode 100644 index 258d227425..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/task_log_message_format.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class TaskLogMessageFormat(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - UNKNOWN = "UNKNOWN" - CSV = "CSV" - JSON = "JSON" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """TaskLogMessageFormat - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(TaskLogMessageFormat, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, TaskLogMessageFormat): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py deleted file mode 100644 index e0cffe7a99..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/workflow_metadata_on_failure_policy.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class WorkflowMetadataOnFailurePolicy(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - allowed enum values - """ - IMMEDIATELY = "FAIL_IMMEDIATELY" - AFTER_EXECUTABLE_NODES_COMPLETE = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE" - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """WorkflowMetadataOnFailurePolicy - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(WorkflowMetadataOnFailurePolicy, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkflowMetadataOnFailurePolicy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py deleted file mode 100644 index 885a2be8a0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/rest.py +++ /dev/null @@ -1,323 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import io -import json -import logging -import re -import ssl - -import certifi -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import urlencode - -try: - import urllib3 -except ImportError: - raise ImportError('Swagger python client requires urllib3.') - - -logger = logging.getLogger(__name__) - - -class RESTResponse(io.IOBase): - - def __init__(self, resp): - self.urllib3_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = resp.data - - def getheaders(self): - """Returns a dictionary of the response headers.""" - return self.urllib3_response.getheaders() - - def getheader(self, name, default=None): - """Returns a given response header.""" - return self.urllib3_response.getheader(name, default) - - -class RESTClientObject(object): - - def __init__(self, configuration, pools_size=4, maxsize=None): - # urllib3.PoolManager will pass all kw parameters to connectionpool - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 - # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 - # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 - - # cert_reqs - if configuration.verify_ssl: - cert_reqs = ssl.CERT_REQUIRED - else: - cert_reqs = ssl.CERT_NONE - - # ca_certs - if configuration.ssl_ca_cert: - ca_certs = configuration.ssl_ca_cert - else: - # if not set certificate file, use Mozilla's root certificates. - ca_certs = certifi.where() - - addition_pool_args = {} - if configuration.assert_hostname is not None: - addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 - - if maxsize is None: - if configuration.connection_pool_maxsize is not None: - maxsize = configuration.connection_pool_maxsize - else: - maxsize = 4 - - # https pool manager - if configuration.proxy: - self.pool_manager = urllib3.ProxyManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.PoolManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=ca_certs, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - **addition_pool_args - ) - - def request(self, method, url, query_params=None, headers=None, - body=None, post_params=None, _preload_content=True, - _request_timeout=None): - """Perform requests. - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - """ - method = method.upper() - assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', - 'PATCH', 'OPTIONS'] - - if post_params and body: - raise ValueError( - "body parameter cannot be used with post_params parameter." - ) - - post_params = post_params or {} - headers = headers or {} - - timeout = None - if _request_timeout: - if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821 - timeout = urllib3.Timeout(total=_request_timeout) - elif (isinstance(_request_timeout, tuple) and - len(_request_timeout) == 2): - timeout = urllib3.Timeout( - connect=_request_timeout[0], read=_request_timeout[1]) - - if 'Content-Type' not in headers: - headers['Content-Type'] = 'application/json' - - try: - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - if query_params: - url += '?' + urlencode(query_params) - if re.search('json', headers['Content-Type'], re.IGNORECASE): - request_body = None - if body is not None: - request_body = json.dumps(body) - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=False, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by urllib3 will be - # overwritten. - del headers['Content-Type'] - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=True, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - # Pass a `string` parameter directly in the body to support - # other content types than Json when `body` argument is - # provided in serialized form - elif isinstance(body, str): - request_body = body - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - # For `GET`, `HEAD` - else: - r = self.pool_manager.request(method, url, - fields=query_params, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - except urllib3.exceptions.SSLError as e: - msg = "{0}\n{1}".format(type(e).__name__, str(e)) - raise ApiException(status=0, reason=msg) - - if _preload_content: - r = RESTResponse(r) - - # In the python 3, the response.data is bytes. - # we need to decode it to string. - if six.PY3: - r.data = r.data.decode('utf8') - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - raise ApiException(http_resp=r) - - return r - - def GET(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("GET", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def HEAD(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("HEAD", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def OPTIONS(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("OPTIONS", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def DELETE(self, url, headers=None, query_params=None, body=None, - _preload_content=True, _request_timeout=None): - return self.request("DELETE", url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def POST(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("POST", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PUT(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PUT", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PATCH(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PATCH", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - -class ApiException(Exception): - - def __init__(self, status=None, reason=None, http_resp=None): - if http_resp: - self.status = http_resp.status - self.reason = http_resp.reason - self.body = http_resp.data - self.headers = http_resp.getheaders() - else: - self.status = status - self.reason = reason - self.body = None - self.headers = None - - def __str__(self): - """Custom error messages for exception""" - error_message = "({0})\n"\ - "Reason: {1}\n".format(self.status, self.reason) - if self.headers: - error_message += "HTTP response headers: {0}\n".format( - self.headers) - - if self.body: - error_message += "HTTP response body: {0}\n".format(self.body) - - return error_message diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh deleted file mode 100644 index ae01b182ae..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/git_push.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=`git remote` -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' - diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt deleted file mode 100644 index bafdc07532..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -certifi >= 14.05.14 -six >= 1.10 -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.15.1 diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/setup.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/setup.py deleted file mode 100644 index ba03cf5291..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/setup.py +++ /dev/null @@ -1,46 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from setuptools import setup, find_packages # noqa: H301 - -NAME = "flyteadmin" -VERSION = "1.0.0" -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = [ - "certifi>=2017.4.17", - "python-dateutil>=2.1", - "six>=1.10", - "urllib3>=1.23" -] - - -setup( - name=NAME, - version=VERSION, - description="flyteidl/service/admin.proto", - author_email="", - url="", - keywords=["Swagger", "flyteidl/service/admin.proto"], - install_requires=REQUIRES, - packages=find_packages(), - include_package_data=True, - long_description="""\ - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - """ -) diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt deleted file mode 100644 index 2702246c0e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test-requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -coverage>=4.0.3 -nose>=1.3.7 -pluggy>=0.3.1 -py>=1.4.31 -randomize>=0.13 diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py deleted file mode 100644 index b617a7b7d1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_abort_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAbortMetadata(unittest.TestCase): - """AdminAbortMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAbortMetadata(self): - """Test AdminAbortMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_abort_metadata.AdminAbortMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py deleted file mode 100644 index 53f87816b6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_annotations.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAnnotations(unittest.TestCase): - """AdminAnnotations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAnnotations(self): - """Test AdminAnnotations""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_annotations.AdminAnnotations() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py deleted file mode 100644 index 1425547087..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_auth import AdminAuth # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAuth(unittest.TestCase): - """AdminAuth unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAuth(self): - """Test AdminAuth""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_auth.AdminAuth() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py deleted file mode 100644 index 3b91984c12..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_auth_role.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminAuthRole(unittest.TestCase): - """AdminAuthRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminAuthRole(self): - """Test AdminAuthRole""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_auth_role.AdminAuthRole() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py deleted file mode 100644 index 1762f31b70..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_assignment.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminClusterAssignment(unittest.TestCase): - """AdminClusterAssignment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminClusterAssignment(self): - """Test AdminClusterAssignment""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_cluster_assignment.AdminClusterAssignment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py deleted file mode 100644 index ab1e51e9c9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminClusterResourceAttributes(unittest.TestCase): - """AdminClusterResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminClusterResourceAttributes(self): - """Test AdminClusterResourceAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_cluster_resource_attributes.AdminClusterResourceAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py deleted file mode 100644 index f423f248dc..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cron_schedule.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_cron_schedule import AdminCronSchedule # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminCronSchedule(unittest.TestCase): - """AdminCronSchedule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminCronSchedule(self): - """Test AdminCronSchedule""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_cron_schedule.AdminCronSchedule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description.py deleted file mode 100644 index 28488b15bd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_description import AdminDescription # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminDescription(unittest.TestCase): - """AdminDescription unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminDescription(self): - """Test AdminDescription""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_description.AdminDescription() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_entity.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_entity.py deleted file mode 100644 index 7e8d926bad..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_description_entity import AdminDescriptionEntity # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminDescriptionEntity(unittest.TestCase): - """AdminDescriptionEntity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminDescriptionEntity(self): - """Test AdminDescriptionEntity""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_description_entity.AdminDescriptionEntity() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_entity_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_entity_list.py deleted file mode 100644 index 2592aec393..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_entity_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_description_entity_list import AdminDescriptionEntityList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminDescriptionEntityList(unittest.TestCase): - """AdminDescriptionEntityList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminDescriptionEntityList(self): - """Test AdminDescriptionEntityList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_description_entity_list.AdminDescriptionEntityList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_format.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_format.py deleted file mode 100644 index 79efa9a405..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_description_format.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_description_format import AdminDescriptionFormat # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminDescriptionFormat(unittest.TestCase): - """AdminDescriptionFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminDescriptionFormat(self): - """Test AdminDescriptionFormat""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_description_format.AdminDescriptionFormat() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py deleted file mode 100644 index 8c53f01712..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_domain.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_domain import AdminDomain # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminDomain(unittest.TestCase): - """AdminDomain unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminDomain(self): - """Test AdminDomain""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_domain.AdminDomain() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_dynamic_node_workflow_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_dynamic_node_workflow_response.py deleted file mode 100644 index c6b3cb0860..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_dynamic_node_workflow_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_dynamic_node_workflow_response import AdminDynamicNodeWorkflowResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminDynamicNodeWorkflowResponse(unittest.TestCase): - """AdminDynamicNodeWorkflowResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminDynamicNodeWorkflowResponse(self): - """Test AdminDynamicNodeWorkflowResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_dynamic_node_workflow_response.AdminDynamicNodeWorkflowResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py deleted file mode 100644 index f39df1233e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_email_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_email_notification import AdminEmailNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminEmailNotification(unittest.TestCase): - """AdminEmailNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminEmailNotification(self): - """Test AdminEmailNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_email_notification.AdminEmailNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_envs.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_envs.py deleted file mode 100644 index b3d472b8bf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_envs.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_envs import AdminEnvs # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminEnvs(unittest.TestCase): - """AdminEnvs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminEnvs(self): - """Test AdminEnvs""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_envs.AdminEnvs() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py deleted file mode 100644 index 8da444e5ec..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution import AdminExecution # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecution(unittest.TestCase): - """AdminExecution unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecution(self): - """Test AdminExecution""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution.AdminExecution() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py deleted file mode 100644 index af1d7119ca..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_closure import AdminExecutionClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionClosure(unittest.TestCase): - """AdminExecutionClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionClosure(self): - """Test AdminExecutionClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_closure.AdminExecutionClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py deleted file mode 100644 index 325f951e12..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_cluster_label.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionClusterLabel(unittest.TestCase): - """AdminExecutionClusterLabel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionClusterLabel(self): - """Test AdminExecutionClusterLabel""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_cluster_label.AdminExecutionClusterLabel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py deleted file mode 100644 index 45a0026e37..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_create_request import AdminExecutionCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionCreateRequest(unittest.TestCase): - """AdminExecutionCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionCreateRequest(self): - """Test AdminExecutionCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_create_request.AdminExecutionCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py deleted file mode 100644 index d3f0537048..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionCreateResponse(unittest.TestCase): - """AdminExecutionCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionCreateResponse(self): - """Test AdminExecutionCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_create_response.AdminExecutionCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py deleted file mode 100644 index 7387280caa..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_list import AdminExecutionList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionList(unittest.TestCase): - """AdminExecutionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionList(self): - """Test AdminExecutionList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_list.AdminExecutionList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py deleted file mode 100644 index c4f9c66562..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionMetadata(unittest.TestCase): - """AdminExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionMetadata(self): - """Test AdminExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_metadata.AdminExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py deleted file mode 100644 index f84572c389..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionQueueAttributes(unittest.TestCase): - """AdminExecutionQueueAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionQueueAttributes(self): - """Test AdminExecutionQueueAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_queue_attributes.AdminExecutionQueueAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py deleted file mode 100644 index 8bdff0915f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_recover_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_recover_request import AdminExecutionRecoverRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionRecoverRequest(unittest.TestCase): - """AdminExecutionRecoverRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionRecoverRequest(self): - """Test AdminExecutionRecoverRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_recover_request.AdminExecutionRecoverRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py deleted file mode 100644 index 170c8149c9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_relaunch_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionRelaunchRequest(unittest.TestCase): - """AdminExecutionRelaunchRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionRelaunchRequest(self): - """Test AdminExecutionRelaunchRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_relaunch_request.AdminExecutionRelaunchRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py deleted file mode 100644 index 1a0d62cfec..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_spec import AdminExecutionSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionSpec(unittest.TestCase): - """AdminExecutionSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionSpec(self): - """Test AdminExecutionSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_spec.AdminExecutionSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py deleted file mode 100644 index 6df975e3c2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_state import AdminExecutionState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionState(unittest.TestCase): - """AdminExecutionState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionState(self): - """Test AdminExecutionState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_state.AdminExecutionState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py deleted file mode 100644 index 1a116ff73b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_state_change_details.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_state_change_details import AdminExecutionStateChangeDetails # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionStateChangeDetails(unittest.TestCase): - """AdminExecutionStateChangeDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionStateChangeDetails(self): - """Test AdminExecutionStateChangeDetails""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_state_change_details.AdminExecutionStateChangeDetails() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py deleted file mode 100644 index 5233d9f6d5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionTerminateRequest(unittest.TestCase): - """AdminExecutionTerminateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionTerminateRequest(self): - """Test AdminExecutionTerminateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_terminate_request.AdminExecutionTerminateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py deleted file mode 100644 index 939b551e66..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_terminate_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_terminate_response import AdminExecutionTerminateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionTerminateResponse(unittest.TestCase): - """AdminExecutionTerminateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionTerminateResponse(self): - """Test AdminExecutionTerminateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_terminate_response.AdminExecutionTerminateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py deleted file mode 100644 index 320cba4fe6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_update_request import AdminExecutionUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionUpdateRequest(unittest.TestCase): - """AdminExecutionUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionUpdateRequest(self): - """Test AdminExecutionUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_update_request.AdminExecutionUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py deleted file mode 100644 index 955420f043..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminExecutionUpdateResponse(unittest.TestCase): - """AdminExecutionUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminExecutionUpdateResponse(self): - """Test AdminExecutionUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_execution_update_response.AdminExecutionUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py deleted file mode 100644 index 5558212367..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_fixed_rate import AdminFixedRate # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminFixedRate(unittest.TestCase): - """AdminFixedRate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminFixedRate(self): - """Test AdminFixedRate""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_fixed_rate.AdminFixedRate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py deleted file mode 100644 index a30eec5452..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_fixed_rate_unit.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminFixedRateUnit(unittest.TestCase): - """AdminFixedRateUnit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminFixedRateUnit(self): - """Test AdminFixedRateUnit""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_fixed_rate_unit.AdminFixedRateUnit() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_flyte_ur_ls.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_flyte_ur_ls.py deleted file mode 100644 index 581bc38333..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_flyte_ur_ls.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminFlyteURLs(unittest.TestCase): - """AdminFlyteURLs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminFlyteURLs(self): - """Test AdminFlyteURLs""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_flyte_ur_ls.AdminFlyteURLs() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py deleted file mode 100644 index 930d65711e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_get_version_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminGetVersionResponse(unittest.TestCase): - """AdminGetVersionResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminGetVersionResponse(self): - """Test AdminGetVersionResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_get_version_response.AdminGetVersionResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py deleted file mode 100644 index 32733ca584..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_labels.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_labels import AdminLabels # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLabels(unittest.TestCase): - """AdminLabels unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLabels(self): - """Test AdminLabels""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_labels.AdminLabels() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py deleted file mode 100644 index ef28673e27..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan import AdminLaunchPlan # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlan(unittest.TestCase): - """AdminLaunchPlan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlan(self): - """Test AdminLaunchPlan""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan.AdminLaunchPlan() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py deleted file mode 100644 index e23aadda1d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_closure import AdminLaunchPlanClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanClosure(unittest.TestCase): - """AdminLaunchPlanClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanClosure(self): - """Test AdminLaunchPlanClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_closure.AdminLaunchPlanClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py deleted file mode 100644 index 95aa42532c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_create_request import AdminLaunchPlanCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanCreateRequest(unittest.TestCase): - """AdminLaunchPlanCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanCreateRequest(self): - """Test AdminLaunchPlanCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_create_request.AdminLaunchPlanCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py deleted file mode 100644 index 2c855a1d6f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_create_response import AdminLaunchPlanCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanCreateResponse(unittest.TestCase): - """AdminLaunchPlanCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanCreateResponse(self): - """Test AdminLaunchPlanCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_create_response.AdminLaunchPlanCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py deleted file mode 100644 index 61a9d149fd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_list import AdminLaunchPlanList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanList(unittest.TestCase): - """AdminLaunchPlanList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanList(self): - """Test AdminLaunchPlanList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_list.AdminLaunchPlanList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py deleted file mode 100644 index 2fa217de17..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanMetadata(unittest.TestCase): - """AdminLaunchPlanMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanMetadata(self): - """Test AdminLaunchPlanMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_metadata.AdminLaunchPlanMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py deleted file mode 100644 index 9c18b3d2fa..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_spec import AdminLaunchPlanSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanSpec(unittest.TestCase): - """AdminLaunchPlanSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanSpec(self): - """Test AdminLaunchPlanSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_spec.AdminLaunchPlanSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py deleted file mode 100644 index 565c353308..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_state import AdminLaunchPlanState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanState(unittest.TestCase): - """AdminLaunchPlanState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanState(self): - """Test AdminLaunchPlanState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_state.AdminLaunchPlanState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py deleted file mode 100644 index 4423d250d8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanUpdateRequest(unittest.TestCase): - """AdminLaunchPlanUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanUpdateRequest(self): - """Test AdminLaunchPlanUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_update_request.AdminLaunchPlanUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py deleted file mode 100644 index 16f59ce1d5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_launch_plan_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLaunchPlanUpdateResponse(unittest.TestCase): - """AdminLaunchPlanUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLaunchPlanUpdateResponse(self): - """Test AdminLaunchPlanUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_launch_plan_update_response.AdminLaunchPlanUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py deleted file mode 100644 index a7f0ded960..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_list_matchable_attributes_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_list_matchable_attributes_response import AdminListMatchableAttributesResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminListMatchableAttributesResponse(unittest.TestCase): - """AdminListMatchableAttributesResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminListMatchableAttributesResponse(self): - """Test AdminListMatchableAttributesResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_list_matchable_attributes_response.AdminListMatchableAttributesResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py deleted file mode 100644 index e0cb1dd8ab..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_literal_map_blob.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminLiteralMapBlob(unittest.TestCase): - """AdminLiteralMapBlob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminLiteralMapBlob(self): - """Test AdminLiteralMapBlob""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_literal_map_blob.AdminLiteralMapBlob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py deleted file mode 100644 index 4c26d21035..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_attributes_configuration.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_matchable_attributes_configuration import AdminMatchableAttributesConfiguration # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminMatchableAttributesConfiguration(unittest.TestCase): - """AdminMatchableAttributesConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminMatchableAttributesConfiguration(self): - """Test AdminMatchableAttributesConfiguration""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_matchable_attributes_configuration.AdminMatchableAttributesConfiguration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py deleted file mode 100644 index c20e671fcf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matchable_resource.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_matchable_resource import AdminMatchableResource # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminMatchableResource(unittest.TestCase): - """AdminMatchableResource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminMatchableResource(self): - """Test AdminMatchableResource""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_matchable_resource.AdminMatchableResource() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py deleted file mode 100644 index 1614512f80..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminMatchingAttributes(unittest.TestCase): - """AdminMatchingAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminMatchingAttributes(self): - """Test AdminMatchingAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_matching_attributes.AdminMatchingAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py deleted file mode 100644 index 06702eed0a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity import AdminNamedEntity # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntity(unittest.TestCase): - """AdminNamedEntity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntity(self): - """Test AdminNamedEntity""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity.AdminNamedEntity() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py deleted file mode 100644 index 6d376e75ea..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityIdentifier(unittest.TestCase): - """AdminNamedEntityIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityIdentifier(self): - """Test AdminNamedEntityIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_identifier.AdminNamedEntityIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py deleted file mode 100644 index b93b1d4328..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_identifier_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityIdentifierList(unittest.TestCase): - """AdminNamedEntityIdentifierList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityIdentifierList(self): - """Test AdminNamedEntityIdentifierList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_identifier_list.AdminNamedEntityIdentifierList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py deleted file mode 100644 index 977750e8bc..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_list import AdminNamedEntityList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityList(unittest.TestCase): - """AdminNamedEntityList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityList(self): - """Test AdminNamedEntityList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_list.AdminNamedEntityList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py deleted file mode 100644 index 07d29106a3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_metadata import AdminNamedEntityMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityMetadata(unittest.TestCase): - """AdminNamedEntityMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityMetadata(self): - """Test AdminNamedEntityMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_metadata.AdminNamedEntityMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py deleted file mode 100644 index 1bdc21796a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_state import AdminNamedEntityState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityState(unittest.TestCase): - """AdminNamedEntityState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityState(self): - """Test AdminNamedEntityState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_state.AdminNamedEntityState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py deleted file mode 100644 index 140bea29e0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_update_request import AdminNamedEntityUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityUpdateRequest(unittest.TestCase): - """AdminNamedEntityUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityUpdateRequest(self): - """Test AdminNamedEntityUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_update_request.AdminNamedEntityUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py deleted file mode 100644 index 48fec8e195..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_named_entity_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_named_entity_update_response import AdminNamedEntityUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNamedEntityUpdateResponse(unittest.TestCase): - """AdminNamedEntityUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNamedEntityUpdateResponse(self): - """Test AdminNamedEntityUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_named_entity_update_response.AdminNamedEntityUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py deleted file mode 100644 index 1cb387243e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_closure import AdminNodeExecutionClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionClosure(unittest.TestCase): - """AdminNodeExecutionClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionClosure(self): - """Test AdminNodeExecutionClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_closure.AdminNodeExecutionClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py deleted file mode 100644 index f9932fede3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_event_request import AdminNodeExecutionEventRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionEventRequest(unittest.TestCase): - """AdminNodeExecutionEventRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionEventRequest(self): - """Test AdminNodeExecutionEventRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_event_request.AdminNodeExecutionEventRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py deleted file mode 100644 index 09e9f94608..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_event_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_event_response import AdminNodeExecutionEventResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionEventResponse(unittest.TestCase): - """AdminNodeExecutionEventResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionEventResponse(self): - """Test AdminNodeExecutionEventResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_event_response.AdminNodeExecutionEventResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py deleted file mode 100644 index d84069a2c9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_get_data_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_get_data_response import AdminNodeExecutionGetDataResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionGetDataResponse(unittest.TestCase): - """AdminNodeExecutionGetDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionGetDataResponse(self): - """Test AdminNodeExecutionGetDataResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_get_data_response.AdminNodeExecutionGetDataResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py deleted file mode 100644 index ce996eb9a5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_list import AdminNodeExecutionList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionList(unittest.TestCase): - """AdminNodeExecutionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionList(self): - """Test AdminNodeExecutionList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_list.AdminNodeExecutionList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py deleted file mode 100644 index 94e08096e2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_node_execution_meta_data.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_node_execution_meta_data import AdminNodeExecutionMetaData # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNodeExecutionMetaData(unittest.TestCase): - """AdminNodeExecutionMetaData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNodeExecutionMetaData(self): - """Test AdminNodeExecutionMetaData""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_node_execution_meta_data.AdminNodeExecutionMetaData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py deleted file mode 100644 index 50123dee60..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_notification import AdminNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNotification(unittest.TestCase): - """AdminNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNotification(self): - """Test AdminNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_notification.AdminNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py deleted file mode 100644 index b80edebf43..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_notification_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_notification_list import AdminNotificationList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminNotificationList(unittest.TestCase): - """AdminNotificationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminNotificationList(self): - """Test AdminNotificationList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_notification_list.AdminNotificationList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py deleted file mode 100644 index 79062cc22e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_pager_duty_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminPagerDutyNotification(unittest.TestCase): - """AdminPagerDutyNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminPagerDutyNotification(self): - """Test AdminPagerDutyNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_pager_duty_notification.AdminPagerDutyNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py deleted file mode 100644 index 8e0232a5e5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_override.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_plugin_override import AdminPluginOverride # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminPluginOverride(unittest.TestCase): - """AdminPluginOverride unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminPluginOverride(self): - """Test AdminPluginOverride""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_plugin_override.AdminPluginOverride() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py deleted file mode 100644 index f6b33d0d00..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_plugin_overrides.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_plugin_overrides import AdminPluginOverrides # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminPluginOverrides(unittest.TestCase): - """AdminPluginOverrides unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminPluginOverrides(self): - """Test AdminPluginOverrides""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_plugin_overrides.AdminPluginOverrides() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py deleted file mode 100644 index 94ec8dbda8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project import AdminProject # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProject(unittest.TestCase): - """AdminProject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProject(self): - """Test AdminProject""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project.AdminProject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes.py deleted file mode 100644 index dcd720970e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_attributes import AdminProjectAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectAttributes(unittest.TestCase): - """AdminProjectAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectAttributes(self): - """Test AdminProjectAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_attributes.AdminProjectAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_delete_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_delete_request.py deleted file mode 100644 index 2e57eebdc5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_delete_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_attributes_delete_request import AdminProjectAttributesDeleteRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectAttributesDeleteRequest(unittest.TestCase): - """AdminProjectAttributesDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectAttributesDeleteRequest(self): - """Test AdminProjectAttributesDeleteRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_attributes_delete_request.AdminProjectAttributesDeleteRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_delete_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_delete_response.py deleted file mode 100644 index 18289b5029..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_delete_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_attributes_delete_response import AdminProjectAttributesDeleteResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectAttributesDeleteResponse(unittest.TestCase): - """AdminProjectAttributesDeleteResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectAttributesDeleteResponse(self): - """Test AdminProjectAttributesDeleteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_attributes_delete_response.AdminProjectAttributesDeleteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_get_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_get_response.py deleted file mode 100644 index 228892f109..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_get_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_attributes_get_response import AdminProjectAttributesGetResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectAttributesGetResponse(unittest.TestCase): - """AdminProjectAttributesGetResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectAttributesGetResponse(self): - """Test AdminProjectAttributesGetResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_attributes_get_response.AdminProjectAttributesGetResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_request.py deleted file mode 100644 index f7a5a3b047..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_attributes_update_request import AdminProjectAttributesUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectAttributesUpdateRequest(unittest.TestCase): - """AdminProjectAttributesUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectAttributesUpdateRequest(self): - """Test AdminProjectAttributesUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_attributes_update_request.AdminProjectAttributesUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_response.py deleted file mode 100644 index 8a1ce67357..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_attributes_update_response import AdminProjectAttributesUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectAttributesUpdateResponse(unittest.TestCase): - """AdminProjectAttributesUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectAttributesUpdateResponse(self): - """Test AdminProjectAttributesUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_attributes_update_response.AdminProjectAttributesUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py deleted file mode 100644 index fe261ca67a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributes(unittest.TestCase): - """AdminProjectDomainAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributes(self): - """Test AdminProjectDomainAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes.AdminProjectDomainAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py deleted file mode 100644 index 2e87c3220b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_delete_request import AdminProjectDomainAttributesDeleteRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesDeleteRequest(unittest.TestCase): - """AdminProjectDomainAttributesDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesDeleteRequest(self): - """Test AdminProjectDomainAttributesDeleteRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_delete_request.AdminProjectDomainAttributesDeleteRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py deleted file mode 100644 index dceb0a4106..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_delete_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_delete_response import AdminProjectDomainAttributesDeleteResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesDeleteResponse(unittest.TestCase): - """AdminProjectDomainAttributesDeleteResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesDeleteResponse(self): - """Test AdminProjectDomainAttributesDeleteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_delete_response.AdminProjectDomainAttributesDeleteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py deleted file mode 100644 index c17b959a76..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_get_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_get_response import AdminProjectDomainAttributesGetResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesGetResponse(unittest.TestCase): - """AdminProjectDomainAttributesGetResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesGetResponse(self): - """Test AdminProjectDomainAttributesGetResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_get_response.AdminProjectDomainAttributesGetResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py deleted file mode 100644 index 1d13f4505e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesUpdateRequest(unittest.TestCase): - """AdminProjectDomainAttributesUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesUpdateRequest(self): - """Test AdminProjectDomainAttributesUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_update_request.AdminProjectDomainAttributesUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py deleted file mode 100644 index 1381af95a9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_domain_attributes_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectDomainAttributesUpdateResponse(unittest.TestCase): - """AdminProjectDomainAttributesUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectDomainAttributesUpdateResponse(self): - """Test AdminProjectDomainAttributesUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_domain_attributes_update_response.AdminProjectDomainAttributesUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py deleted file mode 100644 index 21a49c3f35..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_register_request import AdminProjectRegisterRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectRegisterRequest(unittest.TestCase): - """AdminProjectRegisterRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectRegisterRequest(self): - """Test AdminProjectRegisterRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_register_request.AdminProjectRegisterRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py deleted file mode 100644 index 773ec50efd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_register_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_register_response import AdminProjectRegisterResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectRegisterResponse(unittest.TestCase): - """AdminProjectRegisterResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectRegisterResponse(self): - """Test AdminProjectRegisterResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_register_response.AdminProjectRegisterResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py deleted file mode 100644 index d3d3a31dc0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjectUpdateResponse(unittest.TestCase): - """AdminProjectUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjectUpdateResponse(self): - """Test AdminProjectUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_project_update_response.AdminProjectUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py deleted file mode 100644 index 195a493cbb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_projects.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_projects import AdminProjects # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminProjects(unittest.TestCase): - """AdminProjects unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminProjects(self): - """Test AdminProjects""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_projects.AdminProjects() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py deleted file mode 100644 index 1fc1b9a3b2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_raw_output_data_config.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminRawOutputDataConfig(unittest.TestCase): - """AdminRawOutputDataConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminRawOutputDataConfig(self): - """Test AdminRawOutputDataConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_raw_output_data_config.AdminRawOutputDataConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_reason.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_reason.py deleted file mode 100644 index 9c8dff4220..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_reason.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_reason import AdminReason # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminReason(unittest.TestCase): - """AdminReason unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminReason(self): - """Test AdminReason""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_reason.AdminReason() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py deleted file mode 100644 index 78bd6c3fb1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_schedule.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_schedule import AdminSchedule # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSchedule(unittest.TestCase): - """AdminSchedule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSchedule(self): - """Test AdminSchedule""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_schedule.AdminSchedule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py deleted file mode 100644 index 03e412d036..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py +++ /dev/null @@ -1,838 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.api.admin_service_api import AdminServiceApi # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminServiceApi(unittest.TestCase): - """AdminServiceApi unit test stubs""" - - def setUp(self): - self.api = flyteadmin.api.admin_service_api.AdminServiceApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_execution(self): - """Test case for create_execution - - Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - """ - pass - - def test_create_execution2(self): - """Test case for create_execution2 - - Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - """ - pass - - def test_create_launch_plan(self): - """Test case for create_launch_plan - - Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - """ - pass - - def test_create_launch_plan2(self): - """Test case for create_launch_plan2 - - Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition # noqa: E501 - """ - pass - - def test_create_node_event(self): - """Test case for create_node_event - - Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_create_node_event2(self): - """Test case for create_node_event2 - - Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_create_task(self): - """Test case for create_task - - Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - """ - pass - - def test_create_task2(self): - """Test case for create_task2 - - Create and upload a :ref:`ref_flyteidl.admin.Task` definition # noqa: E501 - """ - pass - - def test_create_task_event(self): - """Test case for create_task_event - - Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_create_task_event2(self): - """Test case for create_task_event2 - - Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_create_workflow(self): - """Test case for create_workflow - - Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - """ - pass - - def test_create_workflow2(self): - """Test case for create_workflow2 - - Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition # noqa: E501 - """ - pass - - def test_create_workflow_event(self): - """Test case for create_workflow_event - - Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_create_workflow_event2(self): - """Test case for create_workflow_event2 - - Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. # noqa: E501 - """ - pass - - def test_delete_project_attributes(self): - """Test case for delete_project_attributes - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_delete_project_attributes2(self): - """Test case for delete_project_attributes2 - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_delete_project_domain_attributes(self): - """Test case for delete_project_domain_attributes - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_delete_project_domain_attributes2(self): - """Test case for delete_project_domain_attributes2 - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_delete_workflow_attributes(self): - """Test case for delete_workflow_attributes - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - def test_delete_workflow_attributes2(self): - """Test case for delete_workflow_attributes2 - - Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - def test_get_active_launch_plan(self): - """Test case for get_active_launch_plan - - Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_get_active_launch_plan2(self): - """Test case for get_active_launch_plan2 - - Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_get_description_entity(self): - """Test case for get_description_entity - - Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. # noqa: E501 - """ - pass - - def test_get_description_entity2(self): - """Test case for get_description_entity2 - - Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. # noqa: E501 - """ - pass - - def test_get_dynamic_node_workflow(self): - """Test case for get_dynamic_node_workflow - - Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. # noqa: E501 - """ - pass - - def test_get_dynamic_node_workflow2(self): - """Test case for get_dynamic_node_workflow2 - - Fetches a :ref:`ref_flyteidl.admin.DynamicNodeWorkflowResponse`. # noqa: E501 - """ - pass - - def test_get_execution(self): - """Test case for get_execution - - Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_execution2(self): - """Test case for get_execution2 - - Fetches a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_execution_data(self): - """Test case for get_execution_data - - Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_execution_data2(self): - """Test case for get_execution_data2 - - Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_execution_metrics(self): - """Test case for get_execution_metrics - - Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_execution_metrics2(self): - """Test case for get_execution_metrics2 - - Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_get_launch_plan(self): - """Test case for get_launch_plan - - Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - """ - pass - - def test_get_launch_plan2(self): - """Test case for get_launch_plan2 - - Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 - """ - pass - - def test_get_named_entity(self): - """Test case for get_named_entity - - Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - """ - pass - - def test_get_named_entity2(self): - """Test case for get_named_entity2 - - Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - """ - pass - - def test_get_node_execution(self): - """Test case for get_node_execution - - Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_get_node_execution2(self): - """Test case for get_node_execution2 - - Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_get_node_execution_data(self): - """Test case for get_node_execution_data - - Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_get_node_execution_data2(self): - """Test case for get_node_execution_data2 - - Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_get_project_attributes(self): - """Test case for get_project_attributes - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_get_project_attributes2(self): - """Test case for get_project_attributes2 - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_get_project_domain_attributes(self): - """Test case for get_project_domain_attributes - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_get_project_domain_attributes2(self): - """Test case for get_project_domain_attributes2 - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_get_task(self): - """Test case for get_task - - Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - """ - pass - - def test_get_task2(self): - """Test case for get_task2 - - Fetch a :ref:`ref_flyteidl.admin.Task` definition. # noqa: E501 - """ - pass - - def test_get_task_execution(self): - """Test case for get_task_execution - - Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_get_task_execution2(self): - """Test case for get_task_execution2 - - Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_get_task_execution_data(self): - """Test case for get_task_execution_data - - Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_get_task_execution_data2(self): - """Test case for get_task_execution_data2 - - Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_get_version(self): - """Test case for get_version - - """ - pass - - def test_get_workflow(self): - """Test case for get_workflow - - Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - """ - pass - - def test_get_workflow2(self): - """Test case for get_workflow2 - - Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. # noqa: E501 - """ - pass - - def test_get_workflow_attributes(self): - """Test case for get_workflow_attributes - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - def test_get_workflow_attributes2(self): - """Test case for get_workflow_attributes2 - - Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - def test_list_active_launch_plans(self): - """Test case for list_active_launch_plans - - List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_list_active_launch_plans2(self): - """Test case for list_active_launch_plans2 - - List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_list_description_entities(self): - """Test case for list_description_entities - - Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - """ - pass - - def test_list_description_entities2(self): - """Test case for list_description_entities2 - - Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - """ - pass - - def test_list_description_entities3(self): - """Test case for list_description_entities3 - - Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - """ - pass - - def test_list_description_entities4(self): - """Test case for list_description_entities4 - - Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. # noqa: E501 - """ - pass - - def test_list_executions(self): - """Test case for list_executions - - Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_list_executions2(self): - """Test case for list_executions2 - - Fetch a list of :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_list_launch_plan_ids(self): - """Test case for list_launch_plan_ids - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - """ - pass - - def test_list_launch_plan_ids2(self): - """Test case for list_launch_plan_ids2 - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. # noqa: E501 - """ - pass - - def test_list_launch_plans(self): - """Test case for list_launch_plans - - Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - """ - pass - - def test_list_launch_plans2(self): - """Test case for list_launch_plans2 - - Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - """ - pass - - def test_list_launch_plans3(self): - """Test case for list_launch_plans3 - - Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - """ - pass - - def test_list_launch_plans4(self): - """Test case for list_launch_plans4 - - Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. # noqa: E501 - """ - pass - - def test_list_matchable_attributes(self): - """Test case for list_matchable_attributes - - Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - """ - pass - - def test_list_matchable_attributes2(self): - """Test case for list_matchable_attributes2 - - Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. # noqa: E501 - """ - pass - - def test_list_named_entities(self): - """Test case for list_named_entities - - Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - """ - pass - - def test_list_named_entities2(self): - """Test case for list_named_entities2 - - Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. # noqa: E501 - """ - pass - - def test_list_node_executions(self): - """Test case for list_node_executions - - Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_list_node_executions2(self): - """Test case for list_node_executions2 - - Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`. # noqa: E501 - """ - pass - - def test_list_node_executions_for_task(self): - """Test case for list_node_executions_for_task - - Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_list_node_executions_for_task2(self): - """Test case for list_node_executions_for_task2 - - Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_list_projects(self): - """Test case for list_projects - - Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - """ - pass - - def test_list_projects2(self): - """Test case for list_projects2 - - Fetches a list of :ref:`ref_flyteidl.admin.Project` # noqa: E501 - """ - pass - - def test_list_task_executions(self): - """Test case for list_task_executions - - Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_list_task_executions2(self): - """Test case for list_task_executions2 - - Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. # noqa: E501 - """ - pass - - def test_list_task_ids(self): - """Test case for list_task_ids - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - """ - pass - - def test_list_task_ids2(self): - """Test case for list_task_ids2 - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. # noqa: E501 - """ - pass - - def test_list_tasks(self): - """Test case for list_tasks - - Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - """ - pass - - def test_list_tasks2(self): - """Test case for list_tasks2 - - Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - """ - pass - - def test_list_tasks3(self): - """Test case for list_tasks3 - - Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - """ - pass - - def test_list_tasks4(self): - """Test case for list_tasks4 - - Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. # noqa: E501 - """ - pass - - def test_list_workflow_ids(self): - """Test case for list_workflow_ids - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - """ - pass - - def test_list_workflow_ids2(self): - """Test case for list_workflow_ids2 - - Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. # noqa: E501 - """ - pass - - def test_list_workflows(self): - """Test case for list_workflows - - Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - """ - pass - - def test_list_workflows2(self): - """Test case for list_workflows2 - - Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - """ - pass - - def test_list_workflows3(self): - """Test case for list_workflows3 - - Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - """ - pass - - def test_list_workflows4(self): - """Test case for list_workflows4 - - Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions. # noqa: E501 - """ - pass - - def test_recover_execution(self): - """Test case for recover_execution - - Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - """ - pass - - def test_recover_execution2(self): - """Test case for recover_execution2 - - Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details. # noqa: E501 - """ - pass - - def test_register_project(self): - """Test case for register_project - - Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - """ - pass - - def test_register_project2(self): - """Test case for register_project2 - - Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment. # noqa: E501 - """ - pass - - def test_relaunch_execution(self): - """Test case for relaunch_execution - - Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - """ - pass - - def test_relaunch_execution2(self): - """Test case for relaunch_execution2 - - Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` # noqa: E501 - """ - pass - - def test_terminate_execution(self): - """Test case for terminate_execution - - Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_terminate_execution2(self): - """Test case for terminate_execution2 - - Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_update_execution(self): - """Test case for update_execution - - Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_update_execution2(self): - """Test case for update_execution2 - - Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 - """ - pass - - def test_update_launch_plan(self): - """Test case for update_launch_plan - - Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_update_launch_plan2(self): - """Test case for update_launch_plan2 - - Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. # noqa: E501 - """ - pass - - def test_update_named_entity(self): - """Test case for update_named_entity - - Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - """ - pass - - def test_update_named_entity2(self): - """Test case for update_named_entity2 - - Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. # noqa: E501 - """ - pass - - def test_update_project(self): - """Test case for update_project - - Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - """ - pass - - def test_update_project2(self): - """Test case for update_project2 - - Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API. # noqa: E501 - """ - pass - - def test_update_project_attributes(self): - """Test case for update_project_attributes - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level # noqa: E501 - """ - pass - - def test_update_project_attributes2(self): - """Test case for update_project_attributes2 - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level # noqa: E501 - """ - pass - - def test_update_project_domain_attributes(self): - """Test case for update_project_domain_attributes - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_update_project_domain_attributes2(self): - """Test case for update_project_domain_attributes2 - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. # noqa: E501 - """ - pass - - def test_update_workflow_attributes(self): - """Test case for update_workflow_attributes - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - def test_update_workflow_attributes2(self): - """Test case for update_workflow_attributes2 - - Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py deleted file mode 100644 index 606a207587..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_slack_notification.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_slack_notification import AdminSlackNotification # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSlackNotification(unittest.TestCase): - """AdminSlackNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSlackNotification(self): - """Test AdminSlackNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_slack_notification.AdminSlackNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py deleted file mode 100644 index e92f5cf94e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_sort.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_sort import AdminSort # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSort(unittest.TestCase): - """AdminSort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSort(self): - """Test AdminSort""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_sort.AdminSort() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_source_code.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_source_code.py deleted file mode 100644 index 9c9a649de7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_source_code.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_source_code import AdminSourceCode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSourceCode(unittest.TestCase): - """AdminSourceCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSourceCode(self): - """Test AdminSourceCode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_source_code.AdminSourceCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py deleted file mode 100644 index 0f81cd491b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_system_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_system_metadata import AdminSystemMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminSystemMetadata(unittest.TestCase): - """AdminSystemMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminSystemMetadata(self): - """Test AdminSystemMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_system_metadata.AdminSystemMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py deleted file mode 100644 index 6d7db76462..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task import AdminTask # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTask(unittest.TestCase): - """AdminTask unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTask(self): - """Test AdminTask""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task.AdminTask() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py deleted file mode 100644 index f9ea4c263e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_closure import AdminTaskClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskClosure(unittest.TestCase): - """AdminTaskClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskClosure(self): - """Test AdminTaskClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_closure.AdminTaskClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py deleted file mode 100644 index 182a6e9c39..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionClosure(unittest.TestCase): - """AdminTaskExecutionClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionClosure(self): - """Test AdminTaskExecutionClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_closure.AdminTaskExecutionClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py deleted file mode 100644 index 0c4208e35b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionEventRequest(unittest.TestCase): - """AdminTaskExecutionEventRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionEventRequest(self): - """Test AdminTaskExecutionEventRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_event_request.AdminTaskExecutionEventRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py deleted file mode 100644 index 8d0ed7621f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_event_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionEventResponse(unittest.TestCase): - """AdminTaskExecutionEventResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionEventResponse(self): - """Test AdminTaskExecutionEventResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_event_response.AdminTaskExecutionEventResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py deleted file mode 100644 index d8f7588c71..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_get_data_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionGetDataResponse(unittest.TestCase): - """AdminTaskExecutionGetDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionGetDataResponse(self): - """Test AdminTaskExecutionGetDataResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_get_data_response.AdminTaskExecutionGetDataResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py deleted file mode 100644 index d331a05ee8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_execution_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskExecutionList(unittest.TestCase): - """AdminTaskExecutionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskExecutionList(self): - """Test AdminTaskExecutionList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_execution_list.AdminTaskExecutionList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py deleted file mode 100644 index 8cc379d203..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_list import AdminTaskList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskList(unittest.TestCase): - """AdminTaskList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskList(self): - """Test AdminTaskList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_list.AdminTaskList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py deleted file mode 100644 index 718c67e3f8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskResourceAttributes(unittest.TestCase): - """AdminTaskResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskResourceAttributes(self): - """Test AdminTaskResourceAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_resource_attributes.AdminTaskResourceAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py deleted file mode 100644 index 3f02df671e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskResourceSpec(unittest.TestCase): - """AdminTaskResourceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskResourceSpec(self): - """Test AdminTaskResourceSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_resource_spec.AdminTaskResourceSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py deleted file mode 100644 index 1103ee9280..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_task_spec import AdminTaskSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminTaskSpec(unittest.TestCase): - """AdminTaskSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminTaskSpec(self): - """Test AdminTaskSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_spec.AdminTaskSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py deleted file mode 100644 index a990bf14dd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_url_blob.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminUrlBlob(unittest.TestCase): - """AdminUrlBlob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminUrlBlob(self): - """Test AdminUrlBlob""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_url_blob.AdminUrlBlob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py deleted file mode 100644 index d89f6acf1f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_version.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_version import AdminVersion # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminVersion(unittest.TestCase): - """AdminVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminVersion(self): - """Test AdminVersion""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_version.AdminVersion() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py deleted file mode 100644 index c6f05d6f69..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow import AdminWorkflow # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflow(unittest.TestCase): - """AdminWorkflow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflow(self): - """Test AdminWorkflow""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow.AdminWorkflow() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py deleted file mode 100644 index 14d1a17087..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributes(unittest.TestCase): - """AdminWorkflowAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributes(self): - """Test AdminWorkflowAttributes""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes.AdminWorkflowAttributes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py deleted file mode 100644 index 1371760db0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_delete_request import AdminWorkflowAttributesDeleteRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesDeleteRequest(unittest.TestCase): - """AdminWorkflowAttributesDeleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesDeleteRequest(self): - """Test AdminWorkflowAttributesDeleteRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_delete_request.AdminWorkflowAttributesDeleteRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py deleted file mode 100644 index 2fd4861012..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_delete_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_delete_response import AdminWorkflowAttributesDeleteResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesDeleteResponse(unittest.TestCase): - """AdminWorkflowAttributesDeleteResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesDeleteResponse(self): - """Test AdminWorkflowAttributesDeleteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_delete_response.AdminWorkflowAttributesDeleteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py deleted file mode 100644 index 14eb77de4b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_get_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_get_response import AdminWorkflowAttributesGetResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesGetResponse(unittest.TestCase): - """AdminWorkflowAttributesGetResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesGetResponse(self): - """Test AdminWorkflowAttributesGetResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_get_response.AdminWorkflowAttributesGetResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py deleted file mode 100644 index ce0e546c20..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesUpdateRequest(unittest.TestCase): - """AdminWorkflowAttributesUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesUpdateRequest(self): - """Test AdminWorkflowAttributesUpdateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_update_request.AdminWorkflowAttributesUpdateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py deleted file mode 100644 index 6e299cfeb7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowAttributesUpdateResponse(unittest.TestCase): - """AdminWorkflowAttributesUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowAttributesUpdateResponse(self): - """Test AdminWorkflowAttributesUpdateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_attributes_update_response.AdminWorkflowAttributesUpdateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py deleted file mode 100644 index 21e36219f9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowClosure(unittest.TestCase): - """AdminWorkflowClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowClosure(self): - """Test AdminWorkflowClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_closure.AdminWorkflowClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py deleted file mode 100644 index 891580dcb5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowCreateRequest(unittest.TestCase): - """AdminWorkflowCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowCreateRequest(self): - """Test AdminWorkflowCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_create_request.AdminWorkflowCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py deleted file mode 100644 index 0c0225f054..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowCreateResponse(unittest.TestCase): - """AdminWorkflowCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowCreateResponse(self): - """Test AdminWorkflowCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_create_response.AdminWorkflowCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py deleted file mode 100644 index 02ebdcb454..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_config.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_config import AdminWorkflowExecutionConfig # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionConfig(unittest.TestCase): - """AdminWorkflowExecutionConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionConfig(self): - """Test AdminWorkflowExecutionConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_config.AdminWorkflowExecutionConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py deleted file mode 100644 index c7d3b3833c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionEventRequest(unittest.TestCase): - """AdminWorkflowExecutionEventRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionEventRequest(self): - """Test AdminWorkflowExecutionEventRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_event_request.AdminWorkflowExecutionEventRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py deleted file mode 100644 index 7341cc1a6d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_event_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionEventResponse(unittest.TestCase): - """AdminWorkflowExecutionEventResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionEventResponse(self): - """Test AdminWorkflowExecutionEventResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_event_response.AdminWorkflowExecutionEventResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py deleted file mode 100644 index 8223916f6f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_data_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionGetDataResponse(unittest.TestCase): - """AdminWorkflowExecutionGetDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionGetDataResponse(self): - """Test AdminWorkflowExecutionGetDataResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_get_data_response.AdminWorkflowExecutionGetDataResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_metrics_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_metrics_response.py deleted file mode 100644 index 58eeaa0baf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_metrics_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_execution_get_metrics_response import AdminWorkflowExecutionGetMetricsResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowExecutionGetMetricsResponse(unittest.TestCase): - """AdminWorkflowExecutionGetMetricsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowExecutionGetMetricsResponse(self): - """Test AdminWorkflowExecutionGetMetricsResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_execution_get_metrics_response.AdminWorkflowExecutionGetMetricsResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py deleted file mode 100644 index 83162478f2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_list import AdminWorkflowList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowList(unittest.TestCase): - """AdminWorkflowList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowList(self): - """Test AdminWorkflowList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_list.AdminWorkflowList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py deleted file mode 100644 index 1734a4f999..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestAdminWorkflowSpec(unittest.TestCase): - """AdminWorkflowSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAdminWorkflowSpec(self): - """Test AdminWorkflowSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_workflow_spec.AdminWorkflowSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py deleted file mode 100644 index d20ddcca9e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_blob_type_blob_dimensionality.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestBlobTypeBlobDimensionality(unittest.TestCase): - """BlobTypeBlobDimensionality unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBlobTypeBlobDimensionality(self): - """Test BlobTypeBlobDimensionality""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.blob_type_blob_dimensionality.BlobTypeBlobDimensionality() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py deleted file mode 100644 index 1e797b8aaf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_catalog_reservation_status.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.catalog_reservation_status import CatalogReservationStatus # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCatalogReservationStatus(unittest.TestCase): - """CatalogReservationStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCatalogReservationStatus(self): - """Test CatalogReservationStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.catalog_reservation_status.CatalogReservationStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py deleted file mode 100644 index 577750bcb9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_comparison_expression_operator.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.comparison_expression_operator import ComparisonExpressionOperator # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestComparisonExpressionOperator(unittest.TestCase): - """ComparisonExpressionOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testComparisonExpressionOperator(self): - """Test ComparisonExpressionOperator""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.comparison_expression_operator.ComparisonExpressionOperator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py deleted file mode 100644 index cb10dbf8af..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_conjunction_expression_logical_operator.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.conjunction_expression_logical_operator import ConjunctionExpressionLogicalOperator # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestConjunctionExpressionLogicalOperator(unittest.TestCase): - """ConjunctionExpressionLogicalOperator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConjunctionExpressionLogicalOperator(self): - """Test ConjunctionExpressionLogicalOperator""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.conjunction_expression_logical_operator.ConjunctionExpressionLogicalOperator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py deleted file mode 100644 index 8b32f6860c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_connection_set_id_list.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.connection_set_id_list import ConnectionSetIdList # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestConnectionSetIdList(unittest.TestCase): - """ConnectionSetIdList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConnectionSetIdList(self): - """Test ConnectionSetIdList""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.connection_set_id_list.ConnectionSetIdList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py deleted file mode 100644 index ab878f4053..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_container_architecture.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.container_architecture import ContainerArchitecture # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestContainerArchitecture(unittest.TestCase): - """ContainerArchitecture unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testContainerArchitecture(self): - """Test ContainerArchitecture""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.container_architecture.ContainerArchitecture() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py deleted file mode 100644 index e08d977e7f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_alias.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_alias import CoreAlias # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreAlias(unittest.TestCase): - """CoreAlias unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreAlias(self): - """Test CoreAlias""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_alias.CoreAlias() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_approve_condition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_approve_condition.py deleted file mode 100644 index 5ae11c3eb9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_approve_condition.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_approve_condition import CoreApproveCondition # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreApproveCondition(unittest.TestCase): - """CoreApproveCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreApproveCondition(self): - """Test CoreApproveCondition""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_approve_condition.CoreApproveCondition() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_array_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_array_node.py deleted file mode 100644 index 5b3cb828c8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_array_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_array_node import CoreArrayNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreArrayNode(unittest.TestCase): - """CoreArrayNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreArrayNode(self): - """Test CoreArrayNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_array_node.CoreArrayNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py deleted file mode 100644 index b8bddd5f31..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_artifact_binding_data import CoreArtifactBindingData # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreArtifactBindingData(unittest.TestCase): - """CoreArtifactBindingData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreArtifactBindingData(self): - """Test CoreArtifactBindingData""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_artifact_binding_data.CoreArtifactBindingData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py deleted file mode 100644 index a53c965fb0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_artifact_id import CoreArtifactID # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreArtifactID(unittest.TestCase): - """CoreArtifactID unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreArtifactID(self): - """Test CoreArtifactID""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_artifact_id.CoreArtifactID() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py deleted file mode 100644 index 72ed469119..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_artifact_key import CoreArtifactKey # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreArtifactKey(unittest.TestCase): - """CoreArtifactKey unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreArtifactKey(self): - """Test CoreArtifactKey""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_artifact_key.CoreArtifactKey() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py deleted file mode 100644 index 9edf91e3ba..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_artifact_query import CoreArtifactQuery # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreArtifactQuery(unittest.TestCase): - """CoreArtifactQuery unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreArtifactQuery(self): - """Test CoreArtifactQuery""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_artifact_query.CoreArtifactQuery() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py deleted file mode 100644 index fbc9f058d2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_artifact_tag import CoreArtifactTag # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreArtifactTag(unittest.TestCase): - """CoreArtifactTag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreArtifactTag(self): - """Test CoreArtifactTag""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_artifact_tag.CoreArtifactTag() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py deleted file mode 100644 index 939b79064b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binary.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binary import CoreBinary # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBinary(unittest.TestCase): - """CoreBinary unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBinary(self): - """Test CoreBinary""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binary.CoreBinary() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py deleted file mode 100644 index 3219ef5387..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding import CoreBinding # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBinding(unittest.TestCase): - """CoreBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBinding(self): - """Test CoreBinding""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding.CoreBinding() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py deleted file mode 100644 index 77b747420f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding_data import CoreBindingData # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBindingData(unittest.TestCase): - """CoreBindingData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBindingData(self): - """Test CoreBindingData""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding_data.CoreBindingData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py deleted file mode 100644 index 70d9c49bff..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_collection.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding_data_collection import CoreBindingDataCollection # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBindingDataCollection(unittest.TestCase): - """CoreBindingDataCollection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBindingDataCollection(self): - """Test CoreBindingDataCollection""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding_data_collection.CoreBindingDataCollection() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py deleted file mode 100644 index 51ce1d0f1e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_binding_data_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_binding_data_map import CoreBindingDataMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBindingDataMap(unittest.TestCase): - """CoreBindingDataMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBindingDataMap(self): - """Test CoreBindingDataMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_binding_data_map.CoreBindingDataMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py deleted file mode 100644 index eccd729f96..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_blob import CoreBlob # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBlob(unittest.TestCase): - """CoreBlob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBlob(self): - """Test CoreBlob""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_blob.CoreBlob() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py deleted file mode 100644 index c71578301a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_blob_metadata import CoreBlobMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBlobMetadata(unittest.TestCase): - """CoreBlobMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBlobMetadata(self): - """Test CoreBlobMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_blob_metadata.CoreBlobMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py deleted file mode 100644 index fbfd0e531e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_blob_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_blob_type import CoreBlobType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBlobType(unittest.TestCase): - """CoreBlobType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBlobType(self): - """Test CoreBlobType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_blob_type.CoreBlobType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py deleted file mode 100644 index 8cc7da37bf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_boolean_expression.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_boolean_expression import CoreBooleanExpression # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBooleanExpression(unittest.TestCase): - """CoreBooleanExpression unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBooleanExpression(self): - """Test CoreBooleanExpression""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_boolean_expression.CoreBooleanExpression() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py deleted file mode 100644 index 229ef6e41a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_branch_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_branch_node import CoreBranchNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreBranchNode(unittest.TestCase): - """CoreBranchNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreBranchNode(self): - """Test CoreBranchNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_branch_node.CoreBranchNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py deleted file mode 100644 index c97c55bbf2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_artifact_tag.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_catalog_artifact_tag import CoreCatalogArtifactTag # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCatalogArtifactTag(unittest.TestCase): - """CoreCatalogArtifactTag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCatalogArtifactTag(self): - """Test CoreCatalogArtifactTag""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_catalog_artifact_tag.CoreCatalogArtifactTag() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py deleted file mode 100644 index e478da8890..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_cache_status.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_catalog_cache_status import CoreCatalogCacheStatus # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCatalogCacheStatus(unittest.TestCase): - """CoreCatalogCacheStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCatalogCacheStatus(self): - """Test CoreCatalogCacheStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_catalog_cache_status.CoreCatalogCacheStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py deleted file mode 100644 index 9bc47d8d6e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_catalog_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_catalog_metadata import CoreCatalogMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCatalogMetadata(unittest.TestCase): - """CoreCatalogMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCatalogMetadata(self): - """Test CoreCatalogMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_catalog_metadata.CoreCatalogMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py deleted file mode 100644 index 15bdc2da37..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_comparison_expression.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_comparison_expression import CoreComparisonExpression # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreComparisonExpression(unittest.TestCase): - """CoreComparisonExpression unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreComparisonExpression(self): - """Test CoreComparisonExpression""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_comparison_expression.CoreComparisonExpression() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py deleted file mode 100644 index 8823c3e148..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_task.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_compiled_task import CoreCompiledTask # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCompiledTask(unittest.TestCase): - """CoreCompiledTask unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCompiledTask(self): - """Test CoreCompiledTask""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_compiled_task.CoreCompiledTask() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py deleted file mode 100644 index f19d9cdab8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_compiled_workflow import CoreCompiledWorkflow # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCompiledWorkflow(unittest.TestCase): - """CoreCompiledWorkflow unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCompiledWorkflow(self): - """Test CoreCompiledWorkflow""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_compiled_workflow.CoreCompiledWorkflow() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py deleted file mode 100644 index 86de9922b6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_compiled_workflow_closure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_compiled_workflow_closure import CoreCompiledWorkflowClosure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreCompiledWorkflowClosure(unittest.TestCase): - """CoreCompiledWorkflowClosure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreCompiledWorkflowClosure(self): - """Test CoreCompiledWorkflowClosure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_compiled_workflow_closure.CoreCompiledWorkflowClosure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py deleted file mode 100644 index 1aa1a0d3bf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_conjunction_expression.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_conjunction_expression import CoreConjunctionExpression # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreConjunctionExpression(unittest.TestCase): - """CoreConjunctionExpression unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreConjunctionExpression(self): - """Test CoreConjunctionExpression""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_conjunction_expression.CoreConjunctionExpression() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py deleted file mode 100644 index 55039a322b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_connection_set.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_connection_set import CoreConnectionSet # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreConnectionSet(unittest.TestCase): - """CoreConnectionSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreConnectionSet(self): - """Test CoreConnectionSet""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_connection_set.CoreConnectionSet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py deleted file mode 100644 index 0d067c6c4d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_container import CoreContainer # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreContainer(unittest.TestCase): - """CoreContainer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreContainer(self): - """Test CoreContainer""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_container.CoreContainer() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py deleted file mode 100644 index df6d682e2d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_container_port.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_container_port import CoreContainerPort # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreContainerPort(unittest.TestCase): - """CoreContainerPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreContainerPort(self): - """Test CoreContainerPort""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_container_port.CoreContainerPort() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py deleted file mode 100644 index 3e66fb838a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_data_loading_config.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreDataLoadingConfig(unittest.TestCase): - """CoreDataLoadingConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreDataLoadingConfig(self): - """Test CoreDataLoadingConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_data_loading_config.CoreDataLoadingConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py deleted file mode 100644 index f13f76b41e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_enum_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_enum_type import CoreEnumType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreEnumType(unittest.TestCase): - """CoreEnumType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreEnumType(self): - """Test CoreEnumType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_enum_type.CoreEnumType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py deleted file mode 100644 index bf094e6568..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_error.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_error import CoreError # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreError(unittest.TestCase): - """CoreError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreError(self): - """Test CoreError""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_error.CoreError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py deleted file mode 100644 index b802fdfc5b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_execution_error.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreExecutionError(unittest.TestCase): - """CoreExecutionError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreExecutionError(self): - """Test CoreExecutionError""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_execution_error.CoreExecutionError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_extended_resources.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_extended_resources.py deleted file mode 100644 index ec6edecb75..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_extended_resources.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_extended_resources import CoreExtendedResources # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreExtendedResources(unittest.TestCase): - """CoreExtendedResources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreExtendedResources(self): - """Test CoreExtendedResources""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_extended_resources.CoreExtendedResources() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_gate_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_gate_node.py deleted file mode 100644 index bc6a966ffe..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_gate_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_gate_node import CoreGateNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreGateNode(unittest.TestCase): - """CoreGateNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreGateNode(self): - """Test CoreGateNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_gate_node.CoreGateNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_gpu_accelerator.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_gpu_accelerator.py deleted file mode 100644 index aa99885e5f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_gpu_accelerator.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_gpu_accelerator import CoreGPUAccelerator # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreGPUAccelerator(unittest.TestCase): - """CoreGPUAccelerator unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreGPUAccelerator(self): - """Test CoreGPUAccelerator""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_gpu_accelerator.CoreGPUAccelerator() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py deleted file mode 100644 index 67d59d762f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_identifier import CoreIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIdentifier(unittest.TestCase): - """CoreIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIdentifier(self): - """Test CoreIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_identifier.CoreIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py deleted file mode 100644 index cfcfa86b90..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_identity.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_identity import CoreIdentity # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIdentity(unittest.TestCase): - """CoreIdentity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIdentity(self): - """Test CoreIdentity""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_identity.CoreIdentity() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py deleted file mode 100644 index de10f6131b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_block.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_if_block import CoreIfBlock # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIfBlock(unittest.TestCase): - """CoreIfBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIfBlock(self): - """Test CoreIfBlock""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_if_block.CoreIfBlock() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py deleted file mode 100644 index c0807d2e55..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_if_else_block.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_if_else_block import CoreIfElseBlock # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIfElseBlock(unittest.TestCase): - """CoreIfElseBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIfElseBlock(self): - """Test CoreIfElseBlock""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_if_else_block.CoreIfElseBlock() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py deleted file mode 100644 index 2afb623d9a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_input_binding_data import CoreInputBindingData # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreInputBindingData(unittest.TestCase): - """CoreInputBindingData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreInputBindingData(self): - """Test CoreInputBindingData""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_input_binding_data.CoreInputBindingData() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py deleted file mode 100644 index ce24dadfd2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_io_strategy.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_io_strategy import CoreIOStrategy # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreIOStrategy(unittest.TestCase): - """CoreIOStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreIOStrategy(self): - """Test CoreIOStrategy""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_io_strategy.CoreIOStrategy() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py deleted file mode 100644 index 8659bc5603..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_object_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreK8sObjectMetadata(unittest.TestCase): - """CoreK8sObjectMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreK8sObjectMetadata(self): - """Test CoreK8sObjectMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_k8s_object_metadata.CoreK8sObjectMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py deleted file mode 100644 index d462530260..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_k8s_pod.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_k8s_pod import CoreK8sPod # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreK8sPod(unittest.TestCase): - """CoreK8sPod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreK8sPod(self): - """Test CoreK8sPod""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_k8s_pod.CoreK8sPod() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py deleted file mode 100644 index 9d8101b241..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_key_value_pair.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreKeyValuePair(unittest.TestCase): - """CoreKeyValuePair unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreKeyValuePair(self): - """Test CoreKeyValuePair""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_key_value_pair.CoreKeyValuePair() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py deleted file mode 100644 index 505dba75e2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_label_value import CoreLabelValue # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLabelValue(unittest.TestCase): - """CoreLabelValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLabelValue(self): - """Test CoreLabelValue""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_label_value.CoreLabelValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py deleted file mode 100644 index 4340c97ec9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal import CoreLiteral # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteral(unittest.TestCase): - """CoreLiteral unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteral(self): - """Test CoreLiteral""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal.CoreLiteral() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py deleted file mode 100644 index d365b0ae7d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_collection.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal_collection import CoreLiteralCollection # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteralCollection(unittest.TestCase): - """CoreLiteralCollection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteralCollection(self): - """Test CoreLiteralCollection""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal_collection.CoreLiteralCollection() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py deleted file mode 100644 index d9e8d764e8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteralMap(unittest.TestCase): - """CoreLiteralMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteralMap(self): - """Test CoreLiteralMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal_map.CoreLiteralMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py deleted file mode 100644 index 82c222dfa4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_literal_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_literal_type import CoreLiteralType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreLiteralType(unittest.TestCase): - """CoreLiteralType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreLiteralType(self): - """Test CoreLiteralType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_literal_type.CoreLiteralType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py deleted file mode 100644 index 735b1e75e7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node import CoreNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNode(unittest.TestCase): - """CoreNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNode(self): - """Test CoreNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node.CoreNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py deleted file mode 100644 index 995b4a879f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNodeExecutionIdentifier(unittest.TestCase): - """CoreNodeExecutionIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNodeExecutionIdentifier(self): - """Test CoreNodeExecutionIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node_execution_identifier.CoreNodeExecutionIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py deleted file mode 100644 index b07efd43c3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_execution_phase.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node_execution_phase import CoreNodeExecutionPhase # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNodeExecutionPhase(unittest.TestCase): - """CoreNodeExecutionPhase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNodeExecutionPhase(self): - """Test CoreNodeExecutionPhase""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node_execution_phase.CoreNodeExecutionPhase() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py deleted file mode 100644 index 21511eeb13..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_node_metadata import CoreNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreNodeMetadata(unittest.TestCase): - """CoreNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreNodeMetadata(self): - """Test CoreNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_node_metadata.CoreNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py deleted file mode 100644 index dc0001bbd4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_client.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_o_auth2_client import CoreOAuth2Client # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOAuth2Client(unittest.TestCase): - """CoreOAuth2Client unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOAuth2Client(self): - """Test CoreOAuth2Client""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_o_auth2_client.CoreOAuth2Client() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py deleted file mode 100644 index 492200f7f8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_o_auth2_token_request import CoreOAuth2TokenRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOAuth2TokenRequest(unittest.TestCase): - """CoreOAuth2TokenRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOAuth2TokenRequest(self): - """Test CoreOAuth2TokenRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_o_auth2_token_request.CoreOAuth2TokenRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py deleted file mode 100644 index 87c81de602..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_o_auth2_token_request_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_o_auth2_token_request_type import CoreOAuth2TokenRequestType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOAuth2TokenRequestType(unittest.TestCase): - """CoreOAuth2TokenRequestType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOAuth2TokenRequestType(self): - """Test CoreOAuth2TokenRequestType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_o_auth2_token_request_type.CoreOAuth2TokenRequestType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py deleted file mode 100644 index f160e48f3e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_operand.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_operand import CoreOperand # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOperand(unittest.TestCase): - """CoreOperand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOperand(self): - """Test CoreOperand""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_operand.CoreOperand() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py deleted file mode 100644 index 8860a35b25..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_output_reference.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_output_reference import CoreOutputReference # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreOutputReference(unittest.TestCase): - """CoreOutputReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreOutputReference(self): - """Test CoreOutputReference""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_output_reference.CoreOutputReference() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py deleted file mode 100644 index 6821a39782..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_parameter import CoreParameter # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreParameter(unittest.TestCase): - """CoreParameter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreParameter(self): - """Test CoreParameter""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_parameter.CoreParameter() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py deleted file mode 100644 index 901cadf694..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_parameter_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_parameter_map import CoreParameterMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreParameterMap(unittest.TestCase): - """CoreParameterMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreParameterMap(self): - """Test CoreParameterMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_parameter_map.CoreParameterMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py deleted file mode 100644 index b79cf8551e..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_partitions import CorePartitions # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCorePartitions(unittest.TestCase): - """CorePartitions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCorePartitions(self): - """Test CorePartitions""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_partitions.CorePartitions() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py deleted file mode 100644 index 3162d68971..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_primitive.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_primitive import CorePrimitive # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCorePrimitive(unittest.TestCase): - """CorePrimitive unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCorePrimitive(self): - """Test CorePrimitive""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_primitive.CorePrimitive() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_promise_attribute.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_promise_attribute.py deleted file mode 100644 index 801fb7a522..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_promise_attribute.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_promise_attribute import CorePromiseAttribute # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCorePromiseAttribute(unittest.TestCase): - """CorePromiseAttribute unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCorePromiseAttribute(self): - """Test CorePromiseAttribute""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_promise_attribute.CorePromiseAttribute() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py deleted file mode 100644 index 127aa3f11d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_quality_of_service import CoreQualityOfService # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreQualityOfService(unittest.TestCase): - """CoreQualityOfService unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreQualityOfService(self): - """Test CoreQualityOfService""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_quality_of_service.CoreQualityOfService() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py deleted file mode 100644 index 0a4234ebd6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_quality_of_service_spec.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_quality_of_service_spec import CoreQualityOfServiceSpec # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreQualityOfServiceSpec(unittest.TestCase): - """CoreQualityOfServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreQualityOfServiceSpec(self): - """Test CoreQualityOfServiceSpec""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_quality_of_service_spec.CoreQualityOfServiceSpec() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py deleted file mode 100644 index f69fbff104..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resource_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_resource_type import CoreResourceType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreResourceType(unittest.TestCase): - """CoreResourceType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreResourceType(self): - """Test CoreResourceType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_resource_type.CoreResourceType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py deleted file mode 100644 index 144c2a03f9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_resources.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_resources import CoreResources # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreResources(unittest.TestCase): - """CoreResources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreResources(self): - """Test CoreResources""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_resources.CoreResources() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py deleted file mode 100644 index c64f4b370d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_retry_strategy.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_retry_strategy import CoreRetryStrategy # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreRetryStrategy(unittest.TestCase): - """CoreRetryStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreRetryStrategy(self): - """Test CoreRetryStrategy""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_retry_strategy.CoreRetryStrategy() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py deleted file mode 100644 index 1db01a110a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_runtime_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_runtime_metadata import CoreRuntimeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreRuntimeMetadata(unittest.TestCase): - """CoreRuntimeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreRuntimeMetadata(self): - """Test CoreRuntimeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_runtime_metadata.CoreRuntimeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py deleted file mode 100644 index 3eda847bc9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_scalar.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_scalar import CoreScalar # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreScalar(unittest.TestCase): - """CoreScalar unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreScalar(self): - """Test CoreScalar""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_scalar.CoreScalar() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema.py deleted file mode 100644 index fa3d7ce39b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_schema import CoreSchema # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSchema(unittest.TestCase): - """CoreSchema unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSchema(self): - """Test CoreSchema""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_schema.CoreSchema() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py deleted file mode 100644 index b74b186689..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_schema_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_schema_type import CoreSchemaType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSchemaType(unittest.TestCase): - """CoreSchemaType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSchemaType(self): - """Test CoreSchemaType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_schema_type.CoreSchemaType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py deleted file mode 100644 index 891702bef7..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_secret.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_secret import CoreSecret # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSecret(unittest.TestCase): - """CoreSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSecret(self): - """Test CoreSecret""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_secret.CoreSecret() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py deleted file mode 100644 index 1ee669ba52..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_security_context.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSecurityContext(unittest.TestCase): - """CoreSecurityContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSecurityContext(self): - """Test CoreSecurityContext""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_security_context.CoreSecurityContext() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_signal_condition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_signal_condition.py deleted file mode 100644 index 4d05f4a9dd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_signal_condition.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_signal_condition import CoreSignalCondition # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSignalCondition(unittest.TestCase): - """CoreSignalCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSignalCondition(self): - """Test CoreSignalCondition""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_signal_condition.CoreSignalCondition() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py deleted file mode 100644 index 49c7d3229b..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_simple_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_simple_type import CoreSimpleType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSimpleType(unittest.TestCase): - """CoreSimpleType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSimpleType(self): - """Test CoreSimpleType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_simple_type.CoreSimpleType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sleep_condition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sleep_condition.py deleted file mode 100644 index 703fb1c9c1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sleep_condition.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_sleep_condition import CoreSleepCondition # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSleepCondition(unittest.TestCase): - """CoreSleepCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSleepCondition(self): - """Test CoreSleepCondition""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_sleep_condition.CoreSleepCondition() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_span.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_span.py deleted file mode 100644 index 0e445a9696..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_span.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_span import CoreSpan # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSpan(unittest.TestCase): - """CoreSpan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSpan(self): - """Test CoreSpan""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_span.CoreSpan() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py deleted file mode 100644 index 458b1172ca..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_sql.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_sql import CoreSql # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreSql(unittest.TestCase): - """CoreSql unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreSql(self): - """Test CoreSql""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_sql.CoreSql() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py deleted file mode 100644 index c9de25a4d8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_structured_dataset import CoreStructuredDataset # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreStructuredDataset(unittest.TestCase): - """CoreStructuredDataset unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreStructuredDataset(self): - """Test CoreStructuredDataset""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_structured_dataset.CoreStructuredDataset() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py deleted file mode 100644 index 49fc7f96ac..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreStructuredDatasetMetadata(unittest.TestCase): - """CoreStructuredDatasetMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreStructuredDatasetMetadata(self): - """Test CoreStructuredDatasetMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_structured_dataset_metadata.CoreStructuredDatasetMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py deleted file mode 100644 index 98b5cd71c9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_structured_dataset_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_structured_dataset_type import CoreStructuredDatasetType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreStructuredDatasetType(unittest.TestCase): - """CoreStructuredDatasetType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreStructuredDatasetType(self): - """Test CoreStructuredDatasetType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_structured_dataset_type.CoreStructuredDatasetType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py deleted file mode 100644 index f1054997e3..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskExecutionIdentifier(unittest.TestCase): - """CoreTaskExecutionIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskExecutionIdentifier(self): - """Test CoreTaskExecutionIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_execution_identifier.CoreTaskExecutionIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py deleted file mode 100644 index 72103d0d28..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_execution_phase.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskExecutionPhase(unittest.TestCase): - """CoreTaskExecutionPhase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskExecutionPhase(self): - """Test CoreTaskExecutionPhase""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_execution_phase.CoreTaskExecutionPhase() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py deleted file mode 100644 index 16af90f74c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_log.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_log import CoreTaskLog # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskLog(unittest.TestCase): - """CoreTaskLog unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskLog(self): - """Test CoreTaskLog""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_log.CoreTaskLog() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py deleted file mode 100644 index 0c837f31fd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_metadata import CoreTaskMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskMetadata(unittest.TestCase): - """CoreTaskMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskMetadata(self): - """Test CoreTaskMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_metadata.CoreTaskMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py deleted file mode 100644 index c333213d22..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_node import CoreTaskNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskNode(unittest.TestCase): - """CoreTaskNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskNode(self): - """Test CoreTaskNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_node.CoreTaskNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py deleted file mode 100644 index 0124d5fe38..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_node_overrides.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_node_overrides import CoreTaskNodeOverrides # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskNodeOverrides(unittest.TestCase): - """CoreTaskNodeOverrides unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskNodeOverrides(self): - """Test CoreTaskNodeOverrides""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_node_overrides.CoreTaskNodeOverrides() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py deleted file mode 100644 index 0d91a59cde..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_task_template.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_task_template import CoreTaskTemplate # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTaskTemplate(unittest.TestCase): - """CoreTaskTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTaskTemplate(self): - """Test CoreTaskTemplate""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_task_template.CoreTaskTemplate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_time_partition.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_time_partition.py deleted file mode 100644 index 11a3aba894..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_time_partition.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_time_partition import CoreTimePartition # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTimePartition(unittest.TestCase): - """CoreTimePartition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTimePartition(self): - """Test CoreTimePartition""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_time_partition.CoreTimePartition() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py deleted file mode 100644 index 91b76ec7a6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_annotation.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_type_annotation import CoreTypeAnnotation # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTypeAnnotation(unittest.TestCase): - """CoreTypeAnnotation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTypeAnnotation(self): - """Test CoreTypeAnnotation""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_type_annotation.CoreTypeAnnotation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py deleted file mode 100644 index 853bc08363..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_type_structure.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_type_structure import CoreTypeStructure # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTypeStructure(unittest.TestCase): - """CoreTypeStructure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTypeStructure(self): - """Test CoreTypeStructure""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_type_structure.CoreTypeStructure() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py deleted file mode 100644 index 62d303ae96..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_typed_interface.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_typed_interface import CoreTypedInterface # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreTypedInterface(unittest.TestCase): - """CoreTypedInterface unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreTypedInterface(self): - """Test CoreTypedInterface""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_typed_interface.CoreTypedInterface() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py deleted file mode 100644 index c36c63b00d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_union import CoreUnion # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreUnion(unittest.TestCase): - """CoreUnion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreUnion(self): - """Test CoreUnion""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_union.CoreUnion() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py deleted file mode 100644 index 8cf030acc6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_info.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_union_info import CoreUnionInfo # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreUnionInfo(unittest.TestCase): - """CoreUnionInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreUnionInfo(self): - """Test CoreUnionInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_union_info.CoreUnionInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py deleted file mode 100644 index 4de1e428ec..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_union_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_union_type import CoreUnionType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreUnionType(unittest.TestCase): - """CoreUnionType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreUnionType(self): - """Test CoreUnionType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_union_type.CoreUnionType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py deleted file mode 100644 index 38a04b0084..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_variable import CoreVariable # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreVariable(unittest.TestCase): - """CoreVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreVariable(self): - """Test CoreVariable""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_variable.CoreVariable() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py deleted file mode 100644 index 0d190536e2..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_variable_map.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_variable_map import CoreVariableMap # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreVariableMap(unittest.TestCase): - """CoreVariableMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreVariableMap(self): - """Test CoreVariableMap""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_variable_map.CoreVariableMap() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py deleted file mode 100644 index ff951ae6e6..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_void.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_void import CoreVoid # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreVoid(unittest.TestCase): - """CoreVoid unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreVoid(self): - """Test CoreVoid""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_void.CoreVoid() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py deleted file mode 100644 index 16e58b654d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_identifier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowExecutionIdentifier(unittest.TestCase): - """CoreWorkflowExecutionIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowExecutionIdentifier(self): - """Test CoreWorkflowExecutionIdentifier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_execution_identifier.CoreWorkflowExecutionIdentifier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py deleted file mode 100644 index 7926ebcded..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_execution_phase.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_execution_phase import CoreWorkflowExecutionPhase # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowExecutionPhase(unittest.TestCase): - """CoreWorkflowExecutionPhase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowExecutionPhase(self): - """Test CoreWorkflowExecutionPhase""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_execution_phase.CoreWorkflowExecutionPhase() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py deleted file mode 100644 index 8c3c210d80..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_metadata import CoreWorkflowMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowMetadata(unittest.TestCase): - """CoreWorkflowMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowMetadata(self): - """Test CoreWorkflowMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_metadata.CoreWorkflowMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py deleted file mode 100644 index d738a2ca53..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_metadata_defaults.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_metadata_defaults import CoreWorkflowMetadataDefaults # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowMetadataDefaults(unittest.TestCase): - """CoreWorkflowMetadataDefaults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowMetadataDefaults(self): - """Test CoreWorkflowMetadataDefaults""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_metadata_defaults.CoreWorkflowMetadataDefaults() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py deleted file mode 100644 index 4500cf70cf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_node.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_node import CoreWorkflowNode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowNode(unittest.TestCase): - """CoreWorkflowNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowNode(self): - """Test CoreWorkflowNode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_node.CoreWorkflowNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py deleted file mode 100644 index 847fd2ae70..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_workflow_template.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.core_workflow_template import CoreWorkflowTemplate # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestCoreWorkflowTemplate(unittest.TestCase): - """CoreWorkflowTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCoreWorkflowTemplate(self): - """Test CoreWorkflowTemplate""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.core_workflow_template.CoreWorkflowTemplate() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py deleted file mode 100644 index 1f96ce5d92..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_data_loading_config_literal_map_format.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.data_loading_config_literal_map_format import DataLoadingConfigLiteralMapFormat # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestDataLoadingConfigLiteralMapFormat(unittest.TestCase): - """DataLoadingConfigLiteralMapFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDataLoadingConfigLiteralMapFormat(self): - """Test DataLoadingConfigLiteralMapFormat""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.data_loading_config_literal_map_format.DataLoadingConfigLiteralMapFormat() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_event_reason.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_event_reason.py deleted file mode 100644 index 074be99c2d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_event_reason.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_event_reason import EventEventReason # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventEventReason(unittest.TestCase): - """EventEventReason unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventEventReason(self): - """Test EventEventReason""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_event_reason.EventEventReason() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py deleted file mode 100644 index bcfedce651..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_external_resource_info.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_external_resource_info import EventExternalResourceInfo # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventExternalResourceInfo(unittest.TestCase): - """EventExternalResourceInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventExternalResourceInfo(self): - """Test EventExternalResourceInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_external_resource_info.EventExternalResourceInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py deleted file mode 100644 index 2eebbd100d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_node_execution_event.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_node_execution_event import EventNodeExecutionEvent # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventNodeExecutionEvent(unittest.TestCase): - """EventNodeExecutionEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventNodeExecutionEvent(self): - """Test EventNodeExecutionEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_node_execution_event.EventNodeExecutionEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py deleted file mode 100644 index 3e91fb9a11..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_node_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_parent_node_execution_metadata import EventParentNodeExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventParentNodeExecutionMetadata(unittest.TestCase): - """EventParentNodeExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventParentNodeExecutionMetadata(self): - """Test EventParentNodeExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_parent_node_execution_metadata.EventParentNodeExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py deleted file mode 100644 index bbeae47143..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_parent_task_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_parent_task_execution_metadata import EventParentTaskExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventParentTaskExecutionMetadata(unittest.TestCase): - """EventParentTaskExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventParentTaskExecutionMetadata(self): - """Test EventParentTaskExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_parent_task_execution_metadata.EventParentTaskExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py deleted file mode 100644 index 78d2169435..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_resource_pool_info.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_resource_pool_info import EventResourcePoolInfo # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventResourcePoolInfo(unittest.TestCase): - """EventResourcePoolInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventResourcePoolInfo(self): - """Test EventResourcePoolInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_resource_pool_info.EventResourcePoolInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py deleted file mode 100644 index ba834223be..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_task_execution_event.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_task_execution_event import EventTaskExecutionEvent # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventTaskExecutionEvent(unittest.TestCase): - """EventTaskExecutionEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventTaskExecutionEvent(self): - """Test EventTaskExecutionEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_task_execution_event.EventTaskExecutionEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py deleted file mode 100644 index e2a33aa7b1..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_event_workflow_execution_event.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.event_workflow_execution_event import EventWorkflowExecutionEvent # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestEventWorkflowExecutionEvent(unittest.TestCase): - """EventWorkflowExecutionEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEventWorkflowExecutionEvent(self): - """Test EventWorkflowExecutionEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.event_workflow_execution_event.EventWorkflowExecutionEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py deleted file mode 100644 index b3f036bed5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_error_error_kind.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.execution_error_error_kind import ExecutionErrorErrorKind # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestExecutionErrorErrorKind(unittest.TestCase): - """ExecutionErrorErrorKind unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExecutionErrorErrorKind(self): - """Test ExecutionErrorErrorKind""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.execution_error_error_kind.ExecutionErrorErrorKind() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py deleted file mode 100644 index 02ebaea8e9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_execution_metadata_execution_mode.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestExecutionMetadataExecutionMode(unittest.TestCase): - """ExecutionMetadataExecutionMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExecutionMetadataExecutionMode(self): - """Test ExecutionMetadataExecutionMode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.execution_metadata_execution_mode.ExecutionMetadataExecutionMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py deleted file mode 100644 index e423e0c99f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminDynamicWorkflowNodeMetadata(unittest.TestCase): - """FlyteidladminDynamicWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminDynamicWorkflowNodeMetadata(self): - """Test FlyteidladminDynamicWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata.FlyteidladminDynamicWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py deleted file mode 100644 index f841bad233..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_node_execution.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminNodeExecution(unittest.TestCase): - """FlyteidladminNodeExecution unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminNodeExecution(self): - """Test FlyteidladminNodeExecution""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_node_execution.FlyteidladminNodeExecution() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_request.py deleted file mode 100644 index f48dc0d868..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_request.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_task_create_request import FlyteidladminTaskCreateRequest # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminTaskCreateRequest(unittest.TestCase): - """FlyteidladminTaskCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminTaskCreateRequest(self): - """Test FlyteidladminTaskCreateRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_task_create_request.FlyteidladminTaskCreateRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_response.py deleted file mode 100644 index 3dbeb80b81..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_task_create_response import FlyteidladminTaskCreateResponse # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminTaskCreateResponse(unittest.TestCase): - """FlyteidladminTaskCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminTaskCreateResponse(self): - """Test FlyteidladminTaskCreateResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_task_create_response.FlyteidladminTaskCreateResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py deleted file mode 100644 index a354b9fa0a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_execution.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminTaskExecution(unittest.TestCase): - """FlyteidladminTaskExecution unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminTaskExecution(self): - """Test FlyteidladminTaskExecution""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_task_execution.FlyteidladminTaskExecution() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py deleted file mode 100644 index fc2d570e28..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminTaskNodeMetadata(unittest.TestCase): - """FlyteidladminTaskNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminTaskNodeMetadata(self): - """Test FlyteidladminTaskNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_task_node_metadata.FlyteidladminTaskNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py deleted file mode 100644 index 7bea00e6e4..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidladminWorkflowNodeMetadata(unittest.TestCase): - """FlyteidladminWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidladminWorkflowNodeMetadata(self): - """Test FlyteidladminWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidladmin_workflow_node_metadata.FlyteidladminWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py deleted file mode 100644 index 6ed67696e8..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_dynamic_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata import FlyteidleventDynamicWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidleventDynamicWorkflowNodeMetadata(unittest.TestCase): - """FlyteidleventDynamicWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidleventDynamicWorkflowNodeMetadata(self): - """Test FlyteidleventDynamicWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlevent_dynamic_workflow_node_metadata.FlyteidleventDynamicWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_execution_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_execution_metadata.py deleted file mode 100644 index d72265cec5..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_execution_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlevent_task_execution_metadata import FlyteidleventTaskExecutionMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidleventTaskExecutionMetadata(unittest.TestCase): - """FlyteidleventTaskExecutionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidleventTaskExecutionMetadata(self): - """Test FlyteidleventTaskExecutionMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlevent_task_execution_metadata.FlyteidleventTaskExecutionMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py deleted file mode 100644 index 53d81ca99c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_task_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlevent_task_node_metadata import FlyteidleventTaskNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidleventTaskNodeMetadata(unittest.TestCase): - """FlyteidleventTaskNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidleventTaskNodeMetadata(self): - """Test FlyteidleventTaskNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlevent_task_node_metadata.FlyteidleventTaskNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py deleted file mode 100644 index b61456adee..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidlevent_workflow_node_metadata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.flyteidlevent_workflow_node_metadata import FlyteidleventWorkflowNodeMetadata # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestFlyteidleventWorkflowNodeMetadata(unittest.TestCase): - """FlyteidleventWorkflowNodeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFlyteidleventWorkflowNodeMetadata(self): - """Test FlyteidleventWorkflowNodeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.flyteidlevent_workflow_node_metadata.FlyteidleventWorkflowNodeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py deleted file mode 100644 index 12192e4964..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_download_mode.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.io_strategy_download_mode import IOStrategyDownloadMode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestIOStrategyDownloadMode(unittest.TestCase): - """IOStrategyDownloadMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIOStrategyDownloadMode(self): - """Test IOStrategyDownloadMode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.io_strategy_download_mode.IOStrategyDownloadMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py deleted file mode 100644 index 25e3179cdb..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_io_strategy_upload_mode.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.io_strategy_upload_mode import IOStrategyUploadMode # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestIOStrategyUploadMode(unittest.TestCase): - """IOStrategyUploadMode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIOStrategyUploadMode(self): - """Test IOStrategyUploadMode""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.io_strategy_upload_mode.IOStrategyUploadMode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py deleted file mode 100644 index 664029dc9a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_plugin_override_missing_plugin_behavior.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.plugin_override_missing_plugin_behavior import PluginOverrideMissingPluginBehavior # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestPluginOverrideMissingPluginBehavior(unittest.TestCase): - """PluginOverrideMissingPluginBehavior unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPluginOverrideMissingPluginBehavior(self): - """Test PluginOverrideMissingPluginBehavior""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.plugin_override_missing_plugin_behavior.PluginOverrideMissingPluginBehavior() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py deleted file mode 100644 index fa711af55f..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_project_project_state.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.project_project_state import ProjectProjectState # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProjectProjectState(unittest.TestCase): - """ProjectProjectState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProjectProjectState(self): - """Test ProjectProjectState""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.project_project_state.ProjectProjectState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py deleted file mode 100644 index 8e201fcf46..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_any import ProtobufAny # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufAny(unittest.TestCase): - """ProtobufAny unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufAny(self): - """Test ProtobufAny""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_any.ProtobufAny() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py deleted file mode 100644 index 0f37fce300..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_list_value.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_list_value import ProtobufListValue # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufListValue(unittest.TestCase): - """ProtobufListValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufListValue(self): - """Test ProtobufListValue""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_list_value.ProtobufListValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py deleted file mode 100644 index 876b115cc0..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_null_value.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_null_value import ProtobufNullValue # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufNullValue(unittest.TestCase): - """ProtobufNullValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufNullValue(self): - """Test ProtobufNullValue""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_null_value.ProtobufNullValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py deleted file mode 100644 index 8edcc32145..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_struct.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufStruct(unittest.TestCase): - """ProtobufStruct unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufStruct(self): - """Test ProtobufStruct""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_struct.ProtobufStruct() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py deleted file mode 100644 index 6cbae9d155..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_value.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.protobuf_value import ProtobufValue # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestProtobufValue(unittest.TestCase): - """ProtobufValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtobufValue(self): - """Test ProtobufValue""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.protobuf_value.ProtobufValue() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py deleted file mode 100644 index d655c725ab..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_quality_of_service_tier.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.quality_of_service_tier import QualityOfServiceTier # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestQualityOfServiceTier(unittest.TestCase): - """QualityOfServiceTier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testQualityOfServiceTier(self): - """Test QualityOfServiceTier""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.quality_of_service_tier.QualityOfServiceTier() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py deleted file mode 100644 index 8b141bd69a..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_entry.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.resources_resource_entry import ResourcesResourceEntry # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestResourcesResourceEntry(unittest.TestCase): - """ResourcesResourceEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResourcesResourceEntry(self): - """Test ResourcesResourceEntry""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.resources_resource_entry.ResourcesResourceEntry() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py deleted file mode 100644 index 0ce5f04e55..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_resources_resource_name.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.resources_resource_name import ResourcesResourceName # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestResourcesResourceName(unittest.TestCase): - """ResourcesResourceName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResourcesResourceName(self): - """Test ResourcesResourceName""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.resources_resource_name.ResourcesResourceName() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py deleted file mode 100644 index 695ff97ea9..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_runtime_metadata_runtime_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.runtime_metadata_runtime_type import RuntimeMetadataRuntimeType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestRuntimeMetadataRuntimeType(unittest.TestCase): - """RuntimeMetadataRuntimeType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRuntimeMetadataRuntimeType(self): - """Test RuntimeMetadataRuntimeType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.runtime_metadata_runtime_type.RuntimeMetadataRuntimeType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py deleted file mode 100644 index 9faafc840c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_column_schema_column_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.schema_column_schema_column_type import SchemaColumnSchemaColumnType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSchemaColumnSchemaColumnType(unittest.TestCase): - """SchemaColumnSchemaColumnType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSchemaColumnSchemaColumnType(self): - """Test SchemaColumnSchemaColumnType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.schema_column_schema_column_type.SchemaColumnSchemaColumnType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py deleted file mode 100644 index e503ceb525..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_schema_type_schema_column.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.schema_type_schema_column import SchemaTypeSchemaColumn # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSchemaTypeSchemaColumn(unittest.TestCase): - """SchemaTypeSchemaColumn unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSchemaTypeSchemaColumn(self): - """Test SchemaTypeSchemaColumn""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.schema_type_schema_column.SchemaTypeSchemaColumn() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py deleted file mode 100644 index 8e0b686f6d..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_secret_mount_type.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.secret_mount_type import SecretMountType # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSecretMountType(unittest.TestCase): - """SecretMountType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSecretMountType(self): - """Test SecretMountType""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.secret_mount_type.SecretMountType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py deleted file mode 100644 index 74b27825dd..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_sort_direction.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.sort_direction import SortDirection # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSortDirection(unittest.TestCase): - """SortDirection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSortDirection(self): - """Test SortDirection""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.sort_direction.SortDirection() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py deleted file mode 100644 index 943c2b8c99..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_sql_dialect.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.sql_dialect import SqlDialect # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestSqlDialect(unittest.TestCase): - """SqlDialect unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSqlDialect(self): - """Test SqlDialect""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.sql_dialect.SqlDialect() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py deleted file mode 100644 index d801f1fd88..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_structured_dataset_type_dataset_column.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.structured_dataset_type_dataset_column import StructuredDatasetTypeDatasetColumn # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestStructuredDatasetTypeDatasetColumn(unittest.TestCase): - """StructuredDatasetTypeDatasetColumn unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStructuredDatasetTypeDatasetColumn(self): - """Test StructuredDatasetTypeDatasetColumn""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.structured_dataset_type_dataset_column.StructuredDatasetTypeDatasetColumn() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py deleted file mode 100644 index 9129b45d97..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_execution_metadata_instance_class.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.task_execution_metadata_instance_class import TaskExecutionMetadataInstanceClass # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestTaskExecutionMetadataInstanceClass(unittest.TestCase): - """TaskExecutionMetadataInstanceClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTaskExecutionMetadataInstanceClass(self): - """Test TaskExecutionMetadataInstanceClass""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.task_execution_metadata_instance_class.TaskExecutionMetadataInstanceClass() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py deleted file mode 100644 index 4adfba3c53..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_task_log_message_format.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.task_log_message_format import TaskLogMessageFormat # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestTaskLogMessageFormat(unittest.TestCase): - """TaskLogMessageFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTaskLogMessageFormat(self): - """Test TaskLogMessageFormat""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.task_log_message_format.TaskLogMessageFormat() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py deleted file mode 100644 index e0e403763c..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_workflow_metadata_on_failure_policy.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - flyteidl/service/admin.proto - - No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 - - OpenAPI spec version: version not set - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import flyteadmin -from flyteadmin.models.workflow_metadata_on_failure_policy import WorkflowMetadataOnFailurePolicy # noqa: E501 -from flyteadmin.rest import ApiException - - -class TestWorkflowMetadataOnFailurePolicy(unittest.TestCase): - """WorkflowMetadataOnFailurePolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWorkflowMetadataOnFailurePolicy(self): - """Test WorkflowMetadataOnFailurePolicy""" - # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.workflow_metadata_on_failure_policy.WorkflowMetadataOnFailurePolicy() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/tox.ini b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/tox.ini deleted file mode 100644 index 3d0be613cf..0000000000 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/tox.ini +++ /dev/null @@ -1,10 +0,0 @@ -[tox] -envlist = py27, py3 - -[testenv] -deps=-r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt - -commands= - nosetests \ - [] diff --git a/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.py b/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.py index 238fd03d4d..c4406115bb 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.py @@ -13,9 +13,10 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 +from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x66lyteidl/service/identity.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x11\n\x0fUserInfoRequest\"\xa5\x02\n\x10UserInfoResponse\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12-\n\x12preferred_username\x18\x03 \x01(\tR\x11preferredUsername\x12\x1d\n\ngiven_name\x18\x04 \x01(\tR\tgivenName\x12\x1f\n\x0b\x66\x61mily_name\x18\x05 \x01(\tR\nfamilyName\x12\x14\n\x05\x65mail\x18\x06 \x01(\tR\x05\x65mail\x12\x18\n\x07picture\x18\x07 \x01(\tR\x07picture\x12\x44\n\x11\x61\x64\x64itional_claims\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructR\x10\x61\x64\x64itionalClaims2q\n\x0fIdentityService\x12^\n\x08UserInfo\x12!.flyteidl.service.UserInfoRequest\x1a\".flyteidl.service.UserInfoResponse\"\x0b\x82\xd3\xe4\x93\x02\x05\x12\x03/meB\xc5\x01\n\x14\x63om.flyteidl.serviceB\rIdentityProtoP\x01Z=github.com/flyteorg/flyte/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\x1f\x66lyteidl/service/identity.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\x11\n\x0fUserInfoRequest\"\xa5\x02\n\x10UserInfoResponse\x12\x18\n\x07subject\x18\x01 \x01(\tR\x07subject\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12-\n\x12preferred_username\x18\x03 \x01(\tR\x11preferredUsername\x12\x1d\n\ngiven_name\x18\x04 \x01(\tR\tgivenName\x12\x1f\n\x0b\x66\x61mily_name\x18\x05 \x01(\tR\nfamilyName\x12\x14\n\x05\x65mail\x18\x06 \x01(\tR\x05\x65mail\x12\x18\n\x07picture\x18\x07 \x01(\tR\x07picture\x12\x44\n\x11\x61\x64\x64itional_claims\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructR\x10\x61\x64\x64itionalClaims2\x9d\x01\n\x0fIdentityService\x12\x89\x01\n\x08UserInfo\x12!.flyteidl.service.UserInfoRequest\x1a\".flyteidl.service.UserInfoResponse\"6\x92\x41(\x1a&Retrieves authenticated identity info.\x82\xd3\xe4\x93\x02\x05\x12\x03/meB\xc5\x01\n\x14\x63om.flyteidl.serviceB\rIdentityProtoP\x01Z=github.com/flyteorg/flyte/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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -25,11 +26,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\024com.flyteidl.serviceB\rIdentityProtoP\001Z=github.com/flyteorg/flyte/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' _IDENTITYSERVICE.methods_by_name['UserInfo']._options = None - _IDENTITYSERVICE.methods_by_name['UserInfo']._serialized_options = b'\202\323\344\223\002\005\022\003/me' - _globals['_USERINFOREQUEST']._serialized_start=113 - _globals['_USERINFOREQUEST']._serialized_end=130 - _globals['_USERINFORESPONSE']._serialized_start=133 - _globals['_USERINFORESPONSE']._serialized_end=426 - _globals['_IDENTITYSERVICE']._serialized_start=428 - _globals['_IDENTITYSERVICE']._serialized_end=541 + _IDENTITYSERVICE.methods_by_name['UserInfo']._serialized_options = b'\222A(\032&Retrieves authenticated identity info.\202\323\344\223\002\005\022\003/me' + _globals['_USERINFOREQUEST']._serialized_start=161 + _globals['_USERINFOREQUEST']._serialized_end=178 + _globals['_USERINFORESPONSE']._serialized_start=181 + _globals['_USERINFORESPONSE']._serialized_end=474 + _globals['_IDENTITYSERVICE']._serialized_start=477 + _globals['_IDENTITYSERVICE']._serialized_end=634 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.pyi index 34b64ae3a1..ea342b8c60 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/service/identity_pb2.pyi @@ -1,5 +1,6 @@ from google.api import annotations_pb2 as _annotations_pb2 from google.protobuf import struct_pb2 as _struct_pb2 +from protoc_gen_openapiv2.options import annotations_pb2 as _annotations_pb2_1 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 diff --git a/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.py b/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.py index de5abc2b16..4c8d0c7a68 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.py @@ -13,9 +13,10 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from flyteidl.admin import signal_pb2 as flyteidl_dot_admin_dot_signal__pb2 +from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x66lyteidl/service/signal.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x66lyteidl/admin/signal.proto2\xde\x04\n\rSignalService\x12W\n\x11GetOrCreateSignal\x12(.flyteidl.admin.SignalGetOrCreateRequest\x1a\x16.flyteidl.admin.Signal\"\x00\x12\xd4\x02\n\x0bListSignals\x12!.flyteidl.admin.SignalListRequest\x1a\x1a.flyteidl.admin.SignalList\"\x85\x02\x82\xd3\xe4\x93\x02\xfe\x01Z\x8e\x01\x12\x8b\x01/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12k/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\x9c\x01\n\tSetSignal\x12 .flyteidl.admin.SignalSetRequest\x1a!.flyteidl.admin.SignalSetResponse\"J\x82\xd3\xe4\x93\x02\x44:\x01*Z.:\x01*\")/api/v1/signals/org/{id.execution_id.org}\"\x0f/api/v1/signalsB\xc3\x01\n\x14\x63om.flyteidl.serviceB\x0bSignalProtoP\x01Z=github.com/flyteorg/flyte/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\x1d\x66lyteidl/service/signal.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1b\x66lyteidl/admin/signal.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xa9\x07\n\rSignalService\x12\x90\x01\n\x11GetOrCreateSignal\x12(.flyteidl.admin.SignalGetOrCreateRequest\x1a\x16.flyteidl.admin.Signal\"9\x92\x41\x36\x1a\x34Retrieve a signal, creating it if it does not exist.\x12\xa0\x03\n\x0bListSignals\x12!.flyteidl.admin.SignalListRequest\x1a\x1a.flyteidl.admin.SignalList\"\xd1\x02\x92\x41I\x1aGFetch existing signal definitions matching the input signal id filters.\x82\xd3\xe4\x93\x02\xfe\x01Z\x8e\x01\x12\x8b\x01/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12k/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\xe1\x02\n\tSetSignal\x12 .flyteidl.admin.SignalSetRequest\x1a!.flyteidl.admin.SignalSetResponse\"\x8e\x02\x92\x41\xc0\x01\x1a\x13Set a signal value.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x82\xd3\xe4\x93\x02\x44:\x01*Z.:\x01*\")/api/v1/signals/org/{id.execution_id.org}\"\x0f/api/v1/signalsB\xc3\x01\n\x14\x63om.flyteidl.serviceB\x0bSignalProtoP\x01Z=github.com/flyteorg/flyte/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') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -24,10 +25,12 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\024com.flyteidl.serviceB\013SignalProtoP\001Z=github.com/flyteorg/flyte/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' + _SIGNALSERVICE.methods_by_name['GetOrCreateSignal']._options = None + _SIGNALSERVICE.methods_by_name['GetOrCreateSignal']._serialized_options = b'\222A6\0324Retrieve a signal, creating it if it does not exist.' _SIGNALSERVICE.methods_by_name['ListSignals']._options = None - _SIGNALSERVICE.methods_by_name['ListSignals']._serialized_options = b'\202\323\344\223\002\376\001Z\216\001\022\213\001/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\022k/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}' + _SIGNALSERVICE.methods_by_name['ListSignals']._serialized_options = b'\222AI\032GFetch existing signal definitions matching the input signal id filters.\202\323\344\223\002\376\001Z\216\001\022\213\001/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\022k/api/v1/signals/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}' _SIGNALSERVICE.methods_by_name['SetSignal']._options = None - _SIGNALSERVICE.methods_by_name['SetSignal']._serialized_options = b'\202\323\344\223\002D:\001*Z.:\001*\")/api/v1/signals/org/{id.execution_id.org}\"\017/api/v1/signals' - _globals['_SIGNALSERVICE']._serialized_start=111 - _globals['_SIGNALSERVICE']._serialized_end=717 + _SIGNALSERVICE.methods_by_name['SetSignal']._serialized_options = b'\222A\300\001\032\023Set a signal value.JB\n\003400\022;\n9Returned for bad request that may have failed validation.Je\n\003409\022^\n\\Returned for a request that references an identical entity that has already been registered.\202\323\344\223\002D:\001*Z.:\001*\")/api/v1/signals/org/{id.execution_id.org}\"\017/api/v1/signals' + _globals['_SIGNALSERVICE']._serialized_start=159 + _globals['_SIGNALSERVICE']._serialized_end=1096 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.pyi index 794a8d4d3f..30389f9908 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/service/signal_pb2.pyi @@ -1,5 +1,6 @@ from google.api import annotations_pb2 as _annotations_pb2 from flyteidl.admin import signal_pb2 as _signal_pb2 +from protoc_gen_openapiv2.options import annotations_pb2 as _annotations_pb2_1 from google.protobuf import descriptor as _descriptor from typing import ClassVar as _ClassVar diff --git a/flyteidl/gen/pb_python/flyteidl/service/signal_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/service/signal_pb2_grpc.py index 05c27fb001..78a8e4cb99 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/signal_pb2_grpc.py +++ b/flyteidl/gen/pb_python/flyteidl/service/signal_pb2_grpc.py @@ -38,13 +38,6 @@ class SignalServiceServicer(object): def GetOrCreateSignal(self, request, context): """Fetches or creates a :ref:`ref_flyteidl.admin.Signal`. - Purposefully left out an HTTP API for this RPC call. This is meant to idempotently retrieve - a signal, meaning the first call will create the signal and all subsequent calls will - fetch the existing signal. This is only useful during Flyte Workflow execution and therefore - is not exposed to mitigate unintended behavior. - option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - description: "Retrieve a signal, creating it if it does not exist." - }; """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') diff --git a/flyteidl/generate_protos.sh b/flyteidl/generate_protos.sh index 38d663e276..8e792e23f8 100755 --- a/flyteidl/generate_protos.sh +++ b/flyteidl/generate_protos.sh @@ -1,33 +1,12 @@ #!/bin/bash set -e -DIR=`pwd` +DIR=$(pwd) rm -rf $DIR/gen -LYFT_IMAGE="lyft/protocgenerator:8167e11d3b3439373c2f033080a4b550078884a2" -SWAGGER_CLI_IMAGE="ghcr.io/flyteorg/swagger-codegen-cli:latest" -PROTOC_GEN_DOC_IMAGE="pseudomuto/protoc-gen-doc:1.4.1" # Override system locale during protos/docs generation to ensure consistent sorting (differences in system locale could e.g. lead to differently ordered docs) export LC_ALL=C.UTF-8 -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/service --with_gateway -l go --go_source_relative -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/admin --with_gateway -l go --go_source_relative -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/core --with_gateway -l go --go_source_relative -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/event --with_gateway -l go --go_source_relative -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/plugins -l go --go_source_relative -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/datacatalog -l go --go_source_relative - -languages=("cpp" "java") -idlfolders=("service" "admin" "core" "event" "plugins" "datacatalog") - -for lang in "${languages[@]}" -do - for folder in "${idlfolders[@]}" - do - docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/$folder -l $lang - done -done - # Buf migration docker run -u $(id -u):$(id -g) -e "BUF_CACHE_DIR=/tmp/cache" --volume "$(pwd):/workspace" --workdir /workspace bufbuild/buf generate @@ -36,76 +15,21 @@ docker run -u $(id -u):$(id -g) -e "BUF_CACHE_DIR=/tmp/cache" --volume "$(pwd):/ # suggestions is to manually create such files, which is what we do here: find gen/pb_python -type d -exec touch {}/__init__.py \; -# Docs generated - -# # Remove any currently generated core docs file -# ls -d protos/docs/core/* | grep -v index.rst | xargs rm -# # Use list of proto files in core directory to generate the RST files required for sphinx conversion. Additionally generate for google.protobuf.[timestamp | struct | duration]. -# docker run --rm -u $(id -u):$(id -g) -v $DIR/protos:/protos:ro -v $DIR/protos/docs/core:/out:rw -v $DIR/tmp/doc_gen_deps:/tmp/doc_gen_deps:ro $PROTOC_GEN_DOC_IMAGE --doc_opt=protos/docs/restructuredtext.tmpl,core.rst -I=tmp/doc_gen_deps -I=protos `ls protos/flyteidl/core/*.proto | xargs` tmp/doc_gen_deps/google/protobuf/timestamp.proto tmp/doc_gen_deps/google/protobuf/duration.proto tmp/doc_gen_deps/google/protobuf/struct.proto - -# # Remove any currently generated admin docs file -# ls -d protos/docs/admin/* | grep -v index.rst | xargs rm -# # Use list of proto files in admin directory to generate the RST files required for sphinx conversion. Additionally generate for google.protobuf.[duration | wrappers]. -# docker run --rm -u $(id -u):$(id -g) -v $DIR/protos:/protos:ro -v $DIR/protos/docs/admin:/out:rw -v $DIR/tmp/doc_gen_deps:/tmp/doc_gen_deps:ro $PROTOC_GEN_DOC_IMAGE --doc_opt=protos/docs/withoutscalar_restructuredtext.tmpl,admin.rst -I=tmp/doc_gen_deps -I=protos `ls protos/flyteidl/admin/*.proto | xargs` tmp/doc_gen_deps/google/protobuf/duration.proto tmp/doc_gen_deps/google/protobuf/wrappers.proto - -# # Remove any currently generated datacatalog docs file -# ls -d protos/docs/datacatalog/* | grep -v index.rst | xargs rm -# # Use list of proto files in datacatalog directory to generate the RST files required for sphinx conversion. Additionally generate for google.protobuf.[timestamp | struct | duration]. -# docker run --rm -u $(id -u):$(id -g) -v $DIR/protos:/protos:ro -v $DIR/protos/docs/datacatalog:/out:rw -v $DIR/tmp/doc_gen_deps:/tmp/doc_gen_deps:ro $PROTOC_GEN_DOC_IMAGE --doc_opt=protos/docs/withoutscalar_restructuredtext.tmpl,datacatalog.rst -I=tmp/doc_gen_deps -I=protos `ls protos/flyteidl/datacatalog/*.proto | xargs` tmp/doc_gen_deps/google/protobuf/timestamp.proto tmp/doc_gen_deps/google/protobuf/duration.proto tmp/doc_gen_deps/google/protobuf/struct.proto - -# # Remove any currently generated event docs file -# ls -d protos/docs/event/* | grep -v index.rst | xargs rm -# # Use list of proto files in event directory to generate the RST files required for sphinx conversion. Additionally generate for google.protobuf.[timestamp | struct | duration]. -# docker run --rm -u $(id -u):$(id -g) -v $DIR/protos:/protos:ro -v $DIR/protos/docs/event:/out:rw -v $DIR/tmp/doc_gen_deps:/tmp/doc_gen_deps:ro $PROTOC_GEN_DOC_IMAGE --doc_opt=protos/docs/withoutscalar_restructuredtext.tmpl,event.rst -I=tmp/doc_gen_deps -I=protos `ls protos/flyteidl/event/*.proto | xargs` tmp/doc_gen_deps/google/protobuf/timestamp.proto tmp/doc_gen_deps/google/protobuf/duration.proto tmp/doc_gen_deps/google/protobuf/struct.proto - -# # Remove any currently generated plugins docs file -# ls -d protos/docs/plugins/* | grep -v index.rst | xargs rm -# # Use list of proto files in plugins directory to generate the RST files required for sphinx conversion -# docker run --rm -u $(id -u):$(id -g) -v $DIR/protos:/protos:ro -v $DIR/protos/docs/plugins:/out:rw -v $DIR/tmp/doc_gen_deps:/tmp/doc_gen_deps:ro $PROTOC_GEN_DOC_IMAGE --doc_opt=protos/docs/withoutscalar_restructuredtext.tmpl,plugins.rst -I=protos -I=tmp/doc_gen_deps `ls protos/flyteidl/plugins/*.proto | xargs` - -# # Remove any currently generated service docs file -# ls -d protos/docs/service/* | grep -v index.rst | xargs rm -# # Use list of proto files in service directory to generate the RST files required for sphinx conversion -# docker run --rm -u $(id -u):$(id -g) -v $DIR/protos:/protos:ro -v $DIR/protos/docs/service:/out:rw -v $DIR/tmp/doc_gen_deps:/tmp/doc_gen_deps:ro $PROTOC_GEN_DOC_IMAGE --doc_opt=protos/docs/withoutscalar_restructuredtext.tmpl,service.rst -I=protos -I=tmp/doc_gen_deps `ls protos/flyteidl/service/*.proto | xargs` - -# Generate binary data from OpenAPI 2 file -docker run --rm -u $(id -u):$(id -g) -v $DIR/gen/pb-go/flyteidl/service:/service --entrypoint go-bindata $LYFT_IMAGE -pkg service -o /service/openapi.go -prefix /service/ -modtime 1562572800 /service/admin.swagger.json - # Generate JS code -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs schottra/docker-protobufjs:v0.0.2 --module-name flyteidl -d protos/flyteidl/core -d protos/flyteidl/event -d protos/flyteidl/admin -d protos/flyteidl/service -- --root flyteidl -t static-module -w default --no-delimited --force-long --no-convert -p /defs/protos - -# Generate GO API client code -docker run --rm -u $(id -u):$(id -g) --rm -v $DIR:/defs $SWAGGER_CLI_IMAGE generate -i /defs/gen/pb-go/flyteidl/service/admin.swagger.json -l go -o /defs/gen/pb-go/flyteidl/service/flyteadmin --additional-properties=packageName=flyteadmin - -# # Generate Python API client code -docker run --rm -u $(id -u):$(id -g) --rm -v $DIR:/defs $SWAGGER_CLI_IMAGE generate -i /defs/gen/pb-go/flyteidl/service/admin.swagger.json -l python -o /defs/gen/pb_python/flyteidl/service/flyteadmin --additional-properties=packageName=flyteadmin - -# Remove documentation generated from the swagger-codegen-cli -rm -rf gen/pb-go/flyteidl/service/flyteadmin/docs -rm -rf gen/pb_python/flyteidl/service/flyteadmin/docs - - -# Unfortunately, the `--grpc-gateway-out` plugin doesn’t yet support the `source_relative` option. Until it does, we need to move the files from the autogenerated location to the source_relative location. -cp -r gen/pb-go/github.com/flyteorg/flyte/flyteidl/gen/* gen/ -rm -rf gen/pb-go/github.com - -# Update the service code manually because the code generated by protoc is incorrect -# More detail, check https://github.com/flyteorg/flyteidl/pull/303#discussion_r1002151053 -sed -i -e 's/protoReq.Id.ResourceType = ResourceType(e)/protoReq.Id.ResourceType = core.ResourceType(e)/g' gen/pb-go/flyteidl/service/admin.pb.gw.go -rm -f gen/pb-go/flyteidl/service/admin.pb.gw.go-e +docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs schottra/docker-protobufjs:v0.0.2 --module-name flyteidl -d protos/flyteidl/core -d protos/flyteidl/event -d protos/flyteidl/admin -d protos/flyteidl/service -- --root flyteidl -t static-module -w default --no-delimited --force-long --no-convert -p /defs/protos # This section is used by Travis CI to ensure that the generation step was run if [ -n "$DELTA_CHECK" ]; then - DIRTY=$(git status --porcelain) - if [ -n "$DIRTY" ]; then - echo "FAILED: Protos updated without committing generated code." - echo "Ensure make generate has run and all changes are committed." - DIFF=$(git diff) - echo "diff detected: $DIFF" - DIFF=$(git diff --name-only) - echo "files different: $DIFF" - exit 1 - else - echo "SUCCESS: Generated code is up to date." - fi + DIRTY=$(git status --porcelain) + if [ -n "$DIRTY" ]; then + echo "FAILED: Protos updated without committing generated code." + echo "Ensure make generate has run and all changes are committed." + DIFF=$(git diff) + echo "diff detected: $DIFF" + DIFF=$(git diff --name-only) + echo "files different: $DIFF" + exit 1 + else + echo "SUCCESS: Generated code is up to date." + fi fi diff --git a/flyteidl/go.mod b/flyteidl/go.mod index 34466ad69e..e1e2e49313 100644 --- a/flyteidl/go.mod +++ b/flyteidl/go.mod @@ -5,7 +5,6 @@ go 1.21 toolchain go1.21.3 require ( - github.com/antihax/optional v1.0.0 github.com/flyteorg/flyte/flytestdlib v0.0.0-00010101000000-000000000000 github.com/go-test/deep v1.0.7 github.com/golang/glog v1.1.0 @@ -13,6 +12,7 @@ require ( 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/grpc-ecosystem/grpc-gateway/v2 v2.7.0 github.com/jinzhu/copier v0.3.5 github.com/mitchellh/mapstructure v1.5.0 github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 @@ -24,6 +24,7 @@ require ( google.golang.org/api v0.114.0 google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 google.golang.org/grpc v1.56.1 + google.golang.org/protobuf v1.30.0 k8s.io/apimachinery v0.28.2 ) @@ -101,7 +102,6 @@ require ( google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect - google.golang.org/protobuf v1.30.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/flyteidl/go.sum b/flyteidl/go.sum index 3da11782cf..d84685da59 100644 --- a/flyteidl/go.sum +++ b/flyteidl/go.sum @@ -1,17 +1,48 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +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.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= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +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.110.0 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= +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 v1.19.1 h1:am86mquDUgjGNWxiGn+5PGLbmgiWXlE/yNWpIpNvuXY= cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +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/iam v0.13.0 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= cloud.google.com/go/longrunning v0.4.1 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM= cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= +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= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +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.28.1 h1:F5QDG5ChchaAVQhINh24U99OWHURqrW8OmQcGKXcbgI= cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.2 h1:t5+QXLCK9SVi0PPdaY0PrFvYUo24KwA0QwxnaHRSVd4= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.2/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.1 h1:LNHhpdK7hzUcx/k1LIcuh5k7k1LGIWLQfCjaneSj7Fc= @@ -25,9 +56,9 @@ github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.1.0/go.mod h1:7QJP7dr2wz github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 h1:hVeq+yCyUi+MsoO/CU95yqCIcdzra5ovzk8Q2BBpV2M= github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= 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/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -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/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= @@ -36,12 +67,22 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r 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/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/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/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-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +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-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/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -56,6 +97,9 @@ github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry 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.9-0.20201210154907-fd9021fe5dad/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/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= @@ -67,6 +111,9 @@ github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4 github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= @@ -91,49 +138,80 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69 github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +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/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= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +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/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= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= 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/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +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/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1/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.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.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.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.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= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +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-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.7.1 h1:gF4c0zjUP2H/s/hEGyLA3I0fA2ZWjzYiONAD6cvPr8A= github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 h1:THDBEeQ9xZ8JEaCLyLQqXMMdRqNr0QAUJTIkQAUtFjg= @@ -142,6 +220,11 @@ github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92Bcuy github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= 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/grpc-ecosystem/grpc-gateway/v2 v2.7.0 h1:BZHcxBETFHIdVyhyEfOvn/RdU/QGdLI4y34qQGjGWO0= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= +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/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28= github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= @@ -157,10 +240,13 @@ github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8Hm github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= 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/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= @@ -215,6 +301,7 @@ github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= 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/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -235,13 +322,22 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 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.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +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= +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.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= @@ -256,6 +352,7 @@ go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJ go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= +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/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= @@ -264,16 +361,42 @@ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c= go.uber.org/zap v1.25.0/go.mod h1:JIAUzQIH94IC4fOJQm7gMmBJP5k7wQfdcnYdPoEXJYk= 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-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= 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= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA= golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +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/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= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 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/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -282,34 +405,81 @@ golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73r 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= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= 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-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= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +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-20201021035429-f5854403a974/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-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= 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= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= 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= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/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-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= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/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-20191001151750-bb3f8db39f24/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-20191228213918-04cbcbbfeed8/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-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= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/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-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -317,15 +487,22 @@ golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/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/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= +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.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +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= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -333,9 +510,43 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= 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-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= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +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-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-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= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +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-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= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +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-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= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +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-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= @@ -347,16 +558,63 @@ golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3j golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw= gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= +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= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +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.114.0 h1:1xQPji6cO2E2vLiI+C/XiFAnsn1WV3mjaEwGLhi3grE= google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= 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= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +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-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= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +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-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 h1:9NWlQfY2ePejTmfwUH1OWwmznFa+0kKcHGPDvcPza9M= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 h1:m8v1xLLLzMe1m5P+gCTF8nJB9epwZQUBERm20Oy1poQ= @@ -364,11 +622,22 @@ google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go. google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 h1:0nDDozoAU19Qb2HwhXadU8OcsiO/09cnTqhUtq2MEOM= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/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= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +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.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -379,14 +648,18 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 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/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.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= 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-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -398,7 +671,12 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 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= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= k8s.io/api v0.28.2 h1:9mpl5mOb6vXZvqbQmankOfPIGiudghwCoLl1EYfUZbw= k8s.io/api v0.28.2/go.mod h1:RVnJBsjU8tcMq7C3iaRSGMeaKt2TWEUXcpIt/90fjEg= k8s.io/apiextensions-apiserver v0.28.0 h1:CszgmBL8CizEnj4sj7/PtLGey6Na3YgWyGCPONv7E9E= @@ -415,6 +693,9 @@ k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5Ohx k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk= k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/controller-runtime v0.16.2 h1:mwXAVuEk3EQf478PQwQ48zGOXvW27UJc8NHktQVuIPU= sigs.k8s.io/controller-runtime v0.16.2/go.mod h1:vpMu3LpI5sYWtujJOa2uPK61nB5rbwlN7BAB8aSLvGU= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= diff --git a/flyteidl/protos/buf.lock b/flyteidl/protos/buf.lock index 783187c995..0e0addc9f2 100644 --- a/flyteidl/protos/buf.lock +++ b/flyteidl/protos/buf.lock @@ -5,7 +5,14 @@ deps: owner: googleapis repository: googleapis commit: 62f35d8aed1149c291d606d958a7ce32 + digest: shake256:c5f5c2401cf70b7c9719834954f31000a978397fdfebda861419bb4ab90fa8efae92710fddab0820533908a1e25ed692a8e119432b7b260c895087a4975b32f3 + - remote: buf.build + owner: grpc-ecosystem + repository: grpc-gateway + commit: 3f42134f4c564983838425bc43c7a65f + digest: shake256:3d11d4c0fe5e05fda0131afefbce233940e27f0c31c5d4e385686aea58ccd30f72053f61af432fa83f1fc11cda57f5f18ca3da26a29064f73c5a0d076bba8d92 - remote: buf.build owner: unionai repository: protoc-gen-swagger commit: fd9d94dc48154d5c94ccc43695df150f + digest: shake256:57743c99f8173b432f0750eac13671fe7721a824cbf5d4fbd85ffdd0d7b45ded507f7b0a49020f9a5eb2a434e9009ad9480140b4c9173ff58bd85c4685197d5b diff --git a/flyteidl/protos/buf.yaml b/flyteidl/protos/buf.yaml index adc1f7a898..420796f854 100644 --- a/flyteidl/protos/buf.yaml +++ b/flyteidl/protos/buf.yaml @@ -9,3 +9,4 @@ breaking: deps: - buf.build/googleapis/googleapis:62f35d8aed1149c291d606d958a7ce32 - buf.build/unionai/protoc-gen-swagger + - buf.build/grpc-ecosystem/grpc-gateway diff --git a/flyteidl/protos/flyteidl/service/admin.proto b/flyteidl/protos/flyteidl/service/admin.proto index 4752bbd848..113299de5c 100644 --- a/flyteidl/protos/flyteidl/service/admin.proto +++ b/flyteidl/protos/flyteidl/service/admin.proto @@ -19,7 +19,8 @@ import "flyteidl/admin/task_execution.proto"; import "flyteidl/admin/version.proto"; import "flyteidl/admin/common.proto"; import "flyteidl/admin/description_entity.proto"; -// import "protoc-gen-swagger/options/annotations.proto"; +import "protoc-gen-openapiv2/options/annotations.proto"; + // The following defines an RPC service that is also served over HTTP via grpc-gateway. // Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go @@ -34,21 +35,21 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Create and register a task definition." - // responses: { - // key: "400" - // value: { - // description: "Returned for bad request that may have failed validation." - // } - // } - // responses: { - // key: "409" - // value: { - // description: "Returned for a request that references an identical entity that has already been registered." - // } - // } - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Create and register a task definition." + responses: { + key: "400" + value: { + description: "Returned for bad request that may have failed validation." + } + } + responses: { + key: "409" + value: { + description: "Returned for a request that references an identical entity that has already been registered." + } + } + }; } // Fetch a :ref:`ref_flyteidl.admin.Task` definition. @@ -59,9 +60,9 @@ service AdminService { get: "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve an existing task definition." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve an existing task definition." + }; } // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects. @@ -72,9 +73,9 @@ service AdminService { get: "/api/v1/tasks/org/{org}/{project}/{domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing task definition identifiers matching input filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing task definition identifiers matching input filters." + }; } // Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions. @@ -91,9 +92,9 @@ service AdminService { get: "/api/v1/tasks/org/{id.org}/{id.project}/{id.domain}", } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing task definitions matching input filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing task definitions matching input filters." + }; } // Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition @@ -106,21 +107,21 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Create and register a workflow definition." - // responses: { - // key: "400" - // value: { - // description: "Returned for bad request that may have failed validation." - // } - // } - // responses: { - // key: "409" - // value: { - // description: "Returned for a request that references an identical entity that has already been registered." - // } - // } - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Create and register a workflow definition." + responses: { + key: "400" + value: { + description: "Returned for bad request that may have failed validation." + } + } + responses: { + key: "409" + value: { + description: "Returned for a request that references an identical entity that has already been registered." + } + } + }; } // Fetch a :ref:`ref_flyteidl.admin.Workflow` definition. @@ -131,9 +132,9 @@ service AdminService { get: "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve an existing workflow definition." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve an existing workflow definition." + }; } // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects. @@ -144,7 +145,7 @@ service AdminService { get: "/api/v1/workflows/org/{org}/{project}/{domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Fetch an existing workflow definition identifiers matching input filters." // }; } @@ -163,9 +164,9 @@ service AdminService { get: "/api/v1/workflows/org/{id.org}/{id.project}/{id.domain}", } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing workflow definitions matching input filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing workflow definitions matching input filters." + }; } // Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition @@ -178,21 +179,21 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Create and register a launch plan definition." - // responses: { - // key: "400" - // value: { - // description: "Returned for bad request that may have failed validation." - // } - // } - // responses: { - // key: "409" - // value: { - // description: "Returned for a request that references an identical entity that has already been registered." - // } - // } - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Create and register a launch plan definition." + responses: { + key: "400" + value: { + description: "Returned for bad request that may have failed validation." + } + } + responses: { + key: "409" + value: { + description: "Returned for a request that references an identical entity that has already been registered." + } + } + }; } // Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. @@ -203,9 +204,9 @@ service AdminService { get: "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}/{id.version}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve an existing launch plan definition." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve an existing launch plan definition." + }; } // Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`. @@ -216,9 +217,9 @@ service AdminService { get: "/api/v1/active_launch_plans/org/{id.org}/{id.project}/{id.domain}/{id.name}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve the active launch plan version specified by input request filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve the active launch plan version specified by input request filters." + }; } // List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`. @@ -229,9 +230,9 @@ service AdminService { get: "/api/v1/active_launch_plans/org/{org}/{project}/{domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch the active launch plan versions specified by input request filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch the active launch plan versions specified by input request filters." + }; } // Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects. @@ -242,9 +243,9 @@ service AdminService { get: "/api/v1/launch_plan_ids/org/{org}/{project}/{domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing launch plan definition identifiers matching input filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing launch plan definition identifiers matching input filters." + }; } // Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions. @@ -261,9 +262,9 @@ service AdminService { get: "/api/v1/launch_plans/org/{id.org}/{id.project}/{id.domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing launch plan definitions matching input filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing launch plan definitions matching input filters." + }; } // Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`. @@ -275,14 +276,14 @@ service AdminService { } body: "*" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Update the status of an existing launch plan definition. " - // "At most one launch plan version for a given {project, domain, name} can be active at a time. " - // "If this call sets a launch plan to active and existing version is already active, the result of this call will be that the " - // "formerly active launch plan will be made inactive and specified launch plan in this request will be made active. " - // "In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. " - // "If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Update the status of an existing launch plan definition. " + "At most one launch plan version for a given {project, domain, name} can be active at a time. " + "If this call sets a launch plan to active and existing version is already active, the result of this call will be that the " + "formerly active launch plan will be made inactive and specified launch plan in this request will be made active. " + "In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. " + "If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled." + }; } // Triggers the creation of a :ref:`ref_flyteidl.admin.Execution` @@ -295,9 +296,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Create a workflow execution." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Create a workflow execution." + }; } // Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution` @@ -310,9 +311,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Relaunch a workflow execution." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Relaunch a workflow execution." + }; } // Recreates a previously-run workflow execution that will only start executing from the last known failure point. @@ -329,13 +330,12 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Recreates a previously-run workflow execution that will only start executing from the last known failure point. " - // "In Recover mode, users cannot change any input parameters or update the version of the execution. " - // "This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, " - // "downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again." - - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Recreates a previously-run workflow execution that will only start executing from the last known failure point. " + "In Recover mode, users cannot change any input parameters or update the version of the execution. " + "This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, " + "downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again." + }; } // Fetches a :ref:`ref_flyteidl.admin.Execution`. @@ -346,9 +346,9 @@ service AdminService { get: "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve an existing workflow execution." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve an existing workflow execution." + }; } // Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`. @@ -361,7 +361,7 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Update execution belonging to project domain." // }; } @@ -374,7 +374,7 @@ service AdminService { get: "/api/v1/data/org/{id.org}/executions/{id.project}/{id.domain}/{id.name}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Retrieve input and output data from an existing workflow execution." // }; }; @@ -387,7 +387,7 @@ service AdminService { get: "/api/v1/executions/org/{id.org}/{id.project}/{id.domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Fetch existing workflow executions matching input filters." // }; } @@ -402,7 +402,7 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Terminate the active workflow execution specified in the request." // }; } @@ -415,7 +415,7 @@ service AdminService { get: "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Retrieve an existing node execution." // }; } @@ -428,7 +428,7 @@ service AdminService { get: "/api/v1/node_executions/org/{id.execution_id.org}/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}/dynamic_workflow" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Retrieve a workflow closure from a dynamic node execution." // }; } @@ -441,7 +441,7 @@ service AdminService { get: "/api/v1/node_executions/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Fetch existing node executions matching input filters." // }; } @@ -454,7 +454,7 @@ service AdminService { get: "/api/v1/children/org/{task_execution_id.node_execution_id.execution_id.org}/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) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Fetch child node executions launched by the specified task execution." // }; } @@ -467,7 +467,7 @@ service AdminService { get: "/api/v1/data/org/{id.execution_id.org}/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Retrieve input and output data from an existing node execution." // }; }; @@ -482,7 +482,7 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Register a project." // }; } @@ -499,9 +499,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Update a project." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Update a project." + }; } // Fetches a list of :ref:`ref_flyteidl.admin.Project` @@ -512,9 +512,9 @@ service AdminService { get: "/api/v1/projects/org/{org}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch registered projects." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch registered projects." + }; } // Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred. @@ -527,9 +527,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Create a workflow execution event recording a phase transition." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Create a workflow execution event recording a phase transition." + }; } // Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred. @@ -542,9 +542,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Create a node execution event recording a phase transition." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Create a node execution event recording a phase transition." + }; } // Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred. @@ -557,9 +557,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Create a task execution event recording a phase transition." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Create a task execution event recording a phase transition." + }; } // Fetches a :ref:`ref_flyteidl.admin.TaskExecution`. @@ -570,9 +570,9 @@ service AdminService { get: "/api/v1/task_executions/org/{id.node_execution_id.execution_id.org}/{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}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve an existing task execution." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve an existing task execution." + }; } // Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`. @@ -583,9 +583,9 @@ service AdminService { get: "/api/v1/task_executions/org/{node_execution_id.execution_id.org}/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing task executions matching input filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing task executions matching input filters." + }; } @@ -597,9 +597,9 @@ service AdminService { get: "/api/v1/data/org/{id.node_execution_id.execution_id.org}/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}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve input and output data from an existing task execution." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve input and output data from an existing task execution." + }; } // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. @@ -612,9 +612,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Update the customized resource attributes associated with a project-domain combination" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Update the customized resource attributes associated with a project-domain combination" + }; } // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. @@ -625,9 +625,9 @@ service AdminService { get: "/api/v1/project_domain_attributes/org/{org}/{project}/{domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve the customized resource attributes associated with a project-domain combination" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve the customized resource attributes associated with a project-domain combination" + }; } // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. @@ -640,9 +640,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Delete the customized resource attributes associated with a project-domain combination" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Delete the customized resource attributes associated with a project-domain combination" + }; } // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level @@ -655,9 +655,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Update the customized resource attributes associated with a project" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Update the customized resource attributes associated with a project" + }; } // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. @@ -668,9 +668,9 @@ service AdminService { get: "/api/v1/project_domain_attributes/org/{org}/{project}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve the customized resource attributes associated with a project" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve the customized resource attributes associated with a project" + }; } // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain. @@ -683,9 +683,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Delete the customized resource attributes associated with a project" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Delete the customized resource attributes associated with a project" + }; } // Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. rpc UpdateWorkflowAttributes (flyteidl.admin.WorkflowAttributesUpdateRequest) returns (flyteidl.admin.WorkflowAttributesUpdateResponse) { @@ -697,9 +697,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Update the customized resource attributes associated with a project, domain and workflow combination" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Update the customized resource attributes associated with a project, domain and workflow combination" + }; } // Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. @@ -710,9 +710,9 @@ service AdminService { get: "/api/v1/workflow_attributes/org/{org}/{project}/{domain}/{workflow}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve the customized resource attributes associated with a project, domain and workflow combination" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve the customized resource attributes associated with a project, domain and workflow combination" + }; } // Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow. @@ -725,9 +725,9 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Delete the customized resource attributes associated with a project, domain and workflow combination" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Delete the customized resource attributes associated with a project, domain and workflow combination" + }; } // Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type. @@ -738,9 +738,9 @@ service AdminService { get: "/api/v1/matchable_attributes/org/{org}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve a list of MatchableAttributesConfiguration objects." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve a list of MatchableAttributesConfiguration objects." + }; } // Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects. @@ -751,9 +751,9 @@ service AdminService { get: "/api/v1/named_entities/org/{org}/{resource_type}/{project}/{domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain." + }; } // Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. @@ -764,9 +764,9 @@ service AdminService { get: "/api/v1/named_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}/{id.name}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve a NamedEntity object." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve a NamedEntity object." + }; } // Updates a :ref:`ref_flyteidl.admin.NamedEntity` object. @@ -779,18 +779,18 @@ service AdminService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Update the fields associated with a NamedEntity" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Update the fields associated with a NamedEntity" + }; } rpc GetVersion (flyteidl.admin.GetVersionRequest) returns (flyteidl.admin.GetVersionResponse) { option (google.api.http) = { get: "/api/v1/version" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve the Version (including the Build information) for FlyteAdmin service" - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve the Version (including the Build information) for FlyteAdmin service" + }; } // Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. @@ -801,9 +801,9 @@ service AdminService { get: "/api/v1/description_entities/org/{id.org}/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve an existing description entity description." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve an existing description entity description." + }; } // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. @@ -820,9 +820,9 @@ service AdminService { get: "/api/v1/description_entities/org/{id.org}/{resource_type}/{id.project}/{id.domain}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing description entity definitions matching input filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing description entity definitions matching input filters." + }; } // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. @@ -833,8 +833,8 @@ service AdminService { get: "/api/v1/metrics/executions/org/{id.org}/{id.project}/{id.domain}/{id.name}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve metrics from an existing workflow execution." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve metrics from an existing workflow execution." + }; }; } diff --git a/flyteidl/protos/flyteidl/service/auth.proto b/flyteidl/protos/flyteidl/service/auth.proto index 9acf95c570..a340f05add 100644 --- a/flyteidl/protos/flyteidl/service/auth.proto +++ b/flyteidl/protos/flyteidl/service/auth.proto @@ -4,7 +4,7 @@ package flyteidl.service; option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service"; import "google/api/annotations.proto"; -// import "protoc-gen-swagger/options/annotations.proto"; +import "protoc-gen-openapiv2/options/annotations.proto"; message OAuth2MetadataRequest {} @@ -76,9 +76,9 @@ service AuthMetadataService { option (google.api.http) = { get: "/.well-known/oauth-authorization-server" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieves OAuth2 authorization server metadata. This endpoint is anonymously accessible." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieves OAuth2 authorization server metadata. This endpoint is anonymously accessible." + }; } // Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization @@ -87,8 +87,8 @@ service AuthMetadataService { option (google.api.http) = { get: "/config/v1/flyte_client" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieves public flyte client info. This endpoint is anonymously accessible." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieves public flyte client info. This endpoint is anonymously accessible." + }; } } diff --git a/flyteidl/protos/flyteidl/service/dataproxy.proto b/flyteidl/protos/flyteidl/service/dataproxy.proto index 8858e92db0..622910f645 100644 --- a/flyteidl/protos/flyteidl/service/dataproxy.proto +++ b/flyteidl/protos/flyteidl/service/dataproxy.proto @@ -4,7 +4,7 @@ package flyteidl.service; option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service"; import "google/api/annotations.proto"; -// import "protoc-gen-swagger/options/annotations.proto"; +import "protoc-gen-openapiv2/options/annotations.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "flyteidl/core/identifier.proto"; @@ -158,9 +158,9 @@ service DataProxyService { post: "/api/v1/dataproxy/artifact_urn" body: "*" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Creates a write-only http location that is accessible for tasks at runtime." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Creates a write-only http location that is accessible for tasks at runtime." + }; } // CreateDownloadLocation creates a signed url to download artifacts. @@ -169,9 +169,9 @@ service DataProxyService { option (google.api.http) = { get: "/api/v1/dataproxy/artifact_urn" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Deprecated: Please use CreateDownloadLink instead. Creates a read-only http location that is accessible for tasks at runtime." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Deprecated: Please use CreateDownloadLink instead. Creates a read-only http location that is accessible for tasks at runtime." + }; } // CreateDownloadLocation creates a signed url to download artifacts. @@ -180,9 +180,9 @@ service DataProxyService { post: "/api/v1/dataproxy/artifact_link" body: "*" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Creates a read-only http location that is accessible for tasks at runtime." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Creates a read-only http location that is accessible for tasks at runtime." + }; } rpc GetData (GetDataRequest) returns (GetDataResponse) { diff --git a/flyteidl/protos/flyteidl/service/identity.proto b/flyteidl/protos/flyteidl/service/identity.proto index c03616542e..244bb9aaeb 100644 --- a/flyteidl/protos/flyteidl/service/identity.proto +++ b/flyteidl/protos/flyteidl/service/identity.proto @@ -5,7 +5,7 @@ option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/servi import "google/api/annotations.proto"; import "google/protobuf/struct.proto"; -// import "protoc-gen-swagger/options/annotations.proto"; +import "protoc-gen-openapiv2/options/annotations.proto"; message UserInfoRequest {} @@ -44,8 +44,8 @@ service IdentityService { option (google.api.http) = { get: "/me" }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieves authenticated identity info." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieves authenticated identity info." + }; } } diff --git a/flyteidl/protos/flyteidl/service/signal.proto b/flyteidl/protos/flyteidl/service/signal.proto index 07389774d0..53e9a02af4 100644 --- a/flyteidl/protos/flyteidl/service/signal.proto +++ b/flyteidl/protos/flyteidl/service/signal.proto @@ -5,7 +5,7 @@ option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/servi import "google/api/annotations.proto"; import "flyteidl/admin/signal.proto"; -// import "protoc-gen-swagger/options/annotations.proto"; +import "protoc-gen-openapiv2/options/annotations.proto"; // SignalService defines an RPC Service that may create, update, and retrieve signal(s). service SignalService { @@ -15,9 +15,9 @@ service SignalService { // a signal, meaning the first call will create the signal and all subsequent calls will // fetch the existing signal. This is only useful during Flyte Workflow execution and therefore // is not exposed to mitigate unintended behavior. - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Retrieve a signal, creating it if it does not exist." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Retrieve a signal, creating it if it does not exist." + }; } // Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions. @@ -28,9 +28,9 @@ service SignalService { get: "/api/v1/signals/org/{workflow_execution_id.org}/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Fetch existing signal definitions matching the input signal id filters." - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Fetch existing signal definitions matching the input signal id filters." + }; } // Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition @@ -43,20 +43,20 @@ service SignalService { body: "*" } }; - // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { - // description: "Set a signal value." - // responses: { - // key: "400" - // value: { - // description: "Returned for bad request that may have failed validation." - // } - // } - // responses: { - // key: "409" - // value: { - // description: "Returned for a request that references an identical entity that has already been registered." - // } - // } - // }; + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + description: "Set a signal value." + responses: { + key: "400" + value: { + description: "Returned for bad request that may have failed validation." + } + } + responses: { + key: "409" + value: { + description: "Returned for a request that references an identical entity that has already been registered." + } + } + }; } } diff --git a/flyteidl/pyproject.toml b/flyteidl/pyproject.toml index da3a0929bb..1a449b4901 100644 --- a/flyteidl/pyproject.toml +++ b/flyteidl/pyproject.toml @@ -13,6 +13,7 @@ requires-python = ">=3.8,<3.13" dependencies = [ 'googleapis-common-protos', 'protoc_gen_swagger', + 'protoc-gen-openapiv2', 'protobuf>=4.21.1,<5.0.0', # Packages in here should rarely be pinned. This is because these # packages (at the specified version) are required for project diff --git a/flyteidl/scripts/doc_gen_deps.sh b/flyteidl/scripts/doc_gen_deps.sh deleted file mode 100755 index 4832706009..0000000000 --- a/flyteidl/scripts/doc_gen_deps.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -set -x - -TMP_DEPS_FOLDER=tmp/doc_gen_deps -TMP_DEPS_PROTOBUF_FOLDER=tmp/protocolbuffers -TMP_DEPS_GRPC_GATEWAY_FOLDER=tmp/grpc-gateway -TMP_DEPS_K8S_IO=tmp/k8s.io - -# clear all the tmp deps folder -rm -rf $TMP_DEPS_FOLDER $TMP_DEPS_PROTOBUF_FOLDER $TMP_DEPS_GRPC_GATEWAY_FOLDER $TMP_DEPS_K8S_IO - -# clone deps and move them to TMP_DEPS_FOLDER -# googleapi deps -git clone --depth 1 https://github.com/googleapis/googleapis $TMP_DEPS_FOLDER -rm -rf $TMP_DEPS_FOLDER/.git - -# protobuf deps -git clone --depth 1 https://github.com/protocolbuffers/protobuf $TMP_DEPS_PROTOBUF_FOLDER -cp -r $TMP_DEPS_PROTOBUF_FOLDER/src/* $TMP_DEPS_FOLDER -rm -rf $TMP_DEPS_PROTOBUF_FOLDER - -# grpc-gateway deps -git -c advice.detachedHead=false clone --depth 1 --branch v1.15.2 https://github.com/grpc-ecosystem/grpc-gateway $TMP_DEPS_GRPC_GATEWAY_FOLDER #v1.15.2 is used to keep the grpc-gateway version in sync with generated protos which is using the LYFT image -cp -r $TMP_DEPS_GRPC_GATEWAY_FOLDER/protoc-gen-swagger $TMP_DEPS_FOLDER -rm -rf $TMP_DEPS_GRPC_GATEWAY_FOLDER - -# k8 dependencies -git clone --depth 1 https://github.com/kubernetes/api $TMP_DEPS_K8S_IO/api -git clone --depth 1 https://github.com/kubernetes/apimachinery $TMP_DEPS_K8S_IO/apimachinery -cp -r $TMP_DEPS_K8S_IO $TMP_DEPS_FOLDER -rm -rf $TMP_DEPS_K8S_IO diff --git a/flyteplugins/.golangci.yml b/flyteplugins/.golangci.yml index 7f4dbc80e8..6d13f4a3b6 100644 --- a/flyteplugins/.golangci.yml +++ b/flyteplugins/.golangci.yml @@ -38,3 +38,6 @@ linters-settings: - default - prefix(github.com/flyteorg) skip-generated: true +issues: + exclude: + - copylocks diff --git a/flyteplugins/go.mod b/flyteplugins/go.mod index f05f87e219..4b9e7d5f47 100644 --- a/flyteplugins/go.mod +++ b/flyteplugins/go.mod @@ -81,7 +81,7 @@ require ( github.com/google/uuid v1.3.1 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect github.com/googleapis/gax-go/v2 v2.7.1 // indirect - github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect diff --git a/flyteplugins/go.sum b/flyteplugins/go.sum index 7b6b73bd79..89e2a0ee49 100644 --- a/flyteplugins/go.sum +++ b/flyteplugins/go.sum @@ -94,6 +94,7 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r 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/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= @@ -105,6 +106,11 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk 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/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-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/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -123,6 +129,8 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m 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.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/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= @@ -162,6 +170,7 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69 github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +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/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -189,6 +198,7 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -206,6 +216,7 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 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.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -240,8 +251,9 @@ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5m github.com/googleapis/gax-go/v2 v2.7.1 h1:gF4c0zjUP2H/s/hEGyLA3I0fA2ZWjzYiONAD6cvPr8A= github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -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/grpc-ecosystem/grpc-gateway/v2 v2.7.0 h1:BZHcxBETFHIdVyhyEfOvn/RdU/QGdLI4y34qQGjGWO0= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= 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 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= @@ -394,6 +406,7 @@ go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJ go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c= @@ -476,6 +489,7 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY 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-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= @@ -488,6 +502,7 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ 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-20210218202405-ba52d332ba99/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.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -533,7 +548,9 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w 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-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/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-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -553,6 +570,7 @@ golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3 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.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= @@ -686,6 +704,7 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D 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-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 h1:9NWlQfY2ePejTmfwUH1OWwmznFa+0kKcHGPDvcPza9M= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 h1:m8v1xLLLzMe1m5P+gCTF8nJB9epwZQUBERm20Oy1poQ= @@ -709,6 +728,9 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp 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/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -723,6 +745,7 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj 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.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/flyteplugins/go/tasks/pluginmachinery/catalog/async_client_impl_test.go b/flyteplugins/go/tasks/pluginmachinery/catalog/async_client_impl_test.go index 03d2d99d73..db32841ee7 100644 --- a/flyteplugins/go/tasks/pluginmachinery/catalog/async_client_impl_test.go +++ b/flyteplugins/go/tasks/pluginmachinery/catalog/async_client_impl_test.go @@ -110,15 +110,15 @@ func TestAsyncClientImpl_Download(t *testing.T) { func TestAsyncClientImpl_Upload(t *testing.T) { ctx := context.Background() - inputHash1 := "{UNSPECIFIED {} [] 0}:-0-DNhkpTTPC5YDtRGb4yT-PFxgMSgHzHrKAQKgQGEfGRY" - inputHash2 := "{UNSPECIFIED {} [] 0}:-1-26M4dwarvBVJqJSUC4JC1GtRYgVBIAmQfsFSdLVMlAc" + inputHash1 := "{{{} [] [] } 0 [] UNSPECIFIED }:-0-DNhkpTTPC5YDtRGb4yT-PFxgMSgHzHrKAQKgQGEfGRY" + inputHash2 := "{{{} [] [] } 0 [] UNSPECIFIED }:-1-26M4dwarvBVJqJSUC4JC1GtRYgVBIAmQfsFSdLVMlAc" q := &mocks.IndexedWorkQueue{} info := &mocks.WorkItemInfo{} info.OnItem().Return(NewReaderWorkItem(Key{}, &mocks2.OutputWriter{})) info.OnStatus().Return(workqueue.WorkStatusSucceeded) - q.OnGet(inputHash1).Return(info, true, nil) - q.OnGet(inputHash2).Return(info, true, nil) + q.OnGetMatch(mock.Anything).Return(info, true, nil) + q.OnGetMatch(mock.Anything).Return(info, true, nil) q.OnQueueMatch(mock.Anything, mock.Anything, mock.Anything).Return(nil) inputReader1 := &mocks2.InputReader{} @@ -176,7 +176,7 @@ func TestAsyncClientImpl_Upload(t *testing.T) { } } if !reflect.DeepEqual(gottenWorkItemIDs, expectedWorkItemIDs) { - t.Errorf("Retrieved workitem IDs = %v, want %v", gottenWorkItemIDs, expectedWorkItemIDs) + t.Errorf("Retrieved workitem IDs = \n|%v|, want \n|%v|", gottenWorkItemIDs, expectedWorkItemIDs) } }) } diff --git a/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go b/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go index e66f46f1bc..bddea6869e 100644 --- a/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go +++ b/flyteplugins/go/tasks/plugins/webapi/agent/plugin_test.go @@ -6,6 +6,10 @@ import ( "testing" "time" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "golang.org/x/exp/maps" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" flyteIdl "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" flyteIdlCore "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" @@ -16,9 +20,6 @@ import ( agentMocks "github.com/flyteorg/flyte/flyteplugins/go/tasks/plugins/webapi/agent/mocks" "github.com/flyteorg/flyte/flytestdlib/config" "github.com/flyteorg/flyte/flytestdlib/promutils" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/mock" - "golang.org/x/exp/maps" ) const defaultAgentEndpoint = "localhost:8000" diff --git a/flytepropeller/.golangci.yml b/flytepropeller/.golangci.yml index 7f4dbc80e8..6d13f4a3b6 100644 --- a/flytepropeller/.golangci.yml +++ b/flytepropeller/.golangci.yml @@ -38,3 +38,6 @@ linters-settings: - default - prefix(github.com/flyteorg) skip-generated: true +issues: + exclude: + - copylocks diff --git a/flytepropeller/events/eventsink_test.go b/flytepropeller/events/eventsink_test.go index 63732d9831..46aa5e46db 100644 --- a/flytepropeller/events/eventsink_test.go +++ b/flytepropeller/events/eventsink_test.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "os" "path" - "reflect" + "regexp" "strings" "testing" @@ -75,13 +75,13 @@ func TestFileEvent(t *testing.T) { assert.NoError(t, err) expected := []string{ - "[--WF EVENT--] project:\"FlyteTest\" domain:\"FlyteStaging\" name:\"Name\" , " + - "Phase: SUCCEEDED, OccuredAt: " + ptypes.TimestampString(now), - "[--NODE EVENT--] node_id:\"node1\" execution_id: , Phase: RUNNING, OccuredAt: " + ptypes.TimestampString(now), - "[--TASK EVENT--] resource_type:TASK project:\"FlyteTest\" domain:\"FlyteStaging\" " + - "name:\"Name\" ,node_id:\"node1\" execution_id: , Phase: FAILED, OccuredAt: " + ptypes.TimestampString(now), + "[--WF EVENT--] project:\"FlyteTest\" domain:\"FlyteStaging\" name:\"Name\", " + + "Phase: SUCCEEDED, OccuredAt: " + now.AsTime().String(), + "[--NODE EVENT--] node_id:\"node1\" execution_id:{project:\"FlyteTest\" " + + " domain:\"FlyteStaging\" name:\"Name\"}, Phase: RUNNING, OccuredAt: " + now.AsTime().String(), + "[--TASK EVENT--] resource_type:TASK project:\"FlyteTest\" domain:\"FlyteStaging\" " + + " name:\"Name\",node_id:\"node1\" execution_id:{project:\"FlyteTest\" domain:\"FlyteStaging\" " + + " name:\"Name\"}, Phase: FAILED, OccuredAt: " + now.AsTime().String(), } actual, err := readLinesFromFile(file) @@ -89,7 +89,13 @@ func TestFileEvent(t *testing.T) { assert.FailNow(t, "failed to read file "+err.Error()) } - assert.True(t, reflect.DeepEqual(expected, actual), "Expected %v\nActual %v", expected, actual) + re := regexp.MustCompile(`\s+`) + for i, line := range actual { + // Replace consecutive spaces with a single space + actualLine := re.ReplaceAllString(line, " ") + expectedLine := re.ReplaceAllString(expected[i], " ") + assert.True(t, expectedLine == actualLine, "Expected\n%s\nvs Actual\n%s", expectedLine, actualLine) + } } func readLinesFromFile(name string) ([]string, error) { diff --git a/flytepropeller/events/local_eventsink.go b/flytepropeller/events/local_eventsink.go index 40a505d62b..39e3ff5cac 100644 --- a/flytepropeller/events/local_eventsink.go +++ b/flytepropeller/events/local_eventsink.go @@ -7,10 +7,8 @@ import ( "os" "sync" - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + "github.com/golang/protobuf/proto" ) type localSink struct { @@ -27,13 +25,13 @@ func (s *localSink) Sink(ctx context.Context, message proto.Message) error { switch e := message.(type) { case *event.WorkflowExecutionEvent: eventOutput = fmt.Sprintf("[--WF EVENT--] %s, Phase: %s, OccuredAt: %s\n", - e.ExecutionId, e.Phase, ptypes.TimestampString(e.OccurredAt)) + e.ExecutionId, e.Phase, e.OccurredAt.AsTime().String()) case *event.NodeExecutionEvent: eventOutput = fmt.Sprintf("[--NODE EVENT--] %s, Phase: %s, OccuredAt: %s\n", - e.Id, e.Phase, ptypes.TimestampString(e.OccurredAt)) + e.Id, e.Phase, e.OccurredAt.AsTime().String()) case *event.TaskExecutionEvent: eventOutput = fmt.Sprintf("[--TASK EVENT--] %s,%s, Phase: %s, OccuredAt: %s\n", - e.TaskId, e.ParentNodeExecutionId, e.Phase, ptypes.TimestampString(e.OccurredAt)) + e.TaskId, e.ParentNodeExecutionId, e.Phase, e.OccurredAt.AsTime().String()) } return s.writer.Write(ctx, eventOutput) diff --git a/flytepropeller/go.mod b/flytepropeller/go.mod index 66ef27dc5d..a3be11827c 100644 --- a/flytepropeller/go.mod +++ b/flytepropeller/go.mod @@ -87,7 +87,7 @@ require ( github.com/google/gofuzz v1.2.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect github.com/googleapis/gax-go/v2 v2.7.1 // indirect - github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect diff --git a/flytepropeller/go.sum b/flytepropeller/go.sum index 2e91bbfcb7..04f1dc08f3 100644 --- a/flytepropeller/go.sum +++ b/flytepropeller/go.sum @@ -96,6 +96,7 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r 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/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= @@ -107,6 +108,11 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk 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/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-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 h1:/inchEIKaYC1Akx+H+gqO04wryn5h75LSazbRlnya1k= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/coocood/freecache v1.1.1 h1:uukNF7QKCZEdZ9gAV7WQzvh0SbjwdMF6m3x3rxEkaPc= @@ -127,6 +133,8 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m 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.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/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.10.1 h1:c0g45+xCJhdgFGw7a5QAfdS4byAbud7miNWJ1WwEVf8= github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= @@ -174,6 +182,7 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69 github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +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/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -201,6 +210,7 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -218,6 +228,7 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 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.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -256,8 +267,9 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaW github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= 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.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 h1:BZHcxBETFHIdVyhyEfOvn/RdU/QGdLI4y34qQGjGWO0= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= 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 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= @@ -423,6 +435,7 @@ go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJ go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= +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/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= @@ -508,6 +521,7 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY 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-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= @@ -520,6 +534,7 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ 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-20210218202405-ba52d332ba99/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.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -568,7 +583,9 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w 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-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/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-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -589,6 +606,7 @@ golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3 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.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= @@ -723,6 +741,7 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D 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-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 h1:9NWlQfY2ePejTmfwUH1OWwmznFa+0kKcHGPDvcPza9M= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 h1:m8v1xLLLzMe1m5P+gCTF8nJB9epwZQUBERm20Oy1poQ= @@ -746,6 +765,9 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp 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/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -760,6 +782,7 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj 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.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/flytepropeller/pkg/compiler/test/compiler_test.go b/flytepropeller/pkg/compiler/test/compiler_test.go index e2dd63431e..115d4bbf3e 100644 --- a/flytepropeller/pkg/compiler/test/compiler_test.go +++ b/flytepropeller/pkg/compiler/test/compiler_test.go @@ -1,17 +1,19 @@ package test import ( + "bytes" "encoding/json" "flag" + "github.com/flyteorg/flyte/flytepropeller/pkg/visualize" "io/ioutil" "os" "path/filepath" "reflect" + "regexp" "strings" "testing" "time" - "github.com/ghodss/yaml" "github.com/go-test/deep" "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" @@ -25,7 +27,6 @@ import ( "github.com/flyteorg/flyte/flytepropeller/pkg/compiler/common" "github.com/flyteorg/flyte/flytepropeller/pkg/compiler/errors" "github.com/flyteorg/flyte/flytepropeller/pkg/compiler/transformers/k8s" - "github.com/flyteorg/flyte/flytepropeller/pkg/visualize" ) var update = flag.Bool("update", false, "Update .golden files") @@ -284,7 +285,8 @@ func assertNodeIDsInConnections(t testing.TB, nodeIDsWithDeps, allNodeIDs sets.S } func TestUseCases(t *testing.T) { - runCompileTest(t, "branch") + // This first test doesn't seem to do anything, all the paths are nil + //runCompileTest(t, "branch") runCompileTest(t, "snacks-core") } @@ -294,6 +296,8 @@ func protoMarshal(v any) ([]byte, error) { return []byte(str), err } +var multiSpaces = regexp.MustCompile(`\s+`) + func storeOrDiff(t testing.TB, f func(obj any) ([]byte, error), obj any, path string) bool { raw, err := f(obj) if !assert.NoError(t, err) { @@ -312,8 +316,11 @@ func storeOrDiff(t testing.TB, f func(obj any) ([]byte, error), obj any, path st return false } - if diff := deep.Equal(string(raw), string(goldenRaw)); diff != nil { - t.Errorf("Compiled() Diff = %v\r\n got = %v\r\n want = %v", diff, string(raw), string(goldenRaw)) + trimmedRaw := multiSpaces.ReplaceAllString(string(raw), " ") + trimmedGolden := multiSpaces.ReplaceAllString(string(goldenRaw), " ") + + if diff := deep.Equal(trimmedRaw, trimmedGolden); diff != nil { + t.Errorf("Compiled() Diff = %v\r\n got = %v\r\n want = %v", diff, trimmedRaw, trimmedGolden) } } @@ -323,9 +330,9 @@ func storeOrDiff(t testing.TB, f func(obj any) ([]byte, error), obj any, path st func runCompileTest(t *testing.T, dirName string) { errors.SetConfig(errors.Config{IncludeSource: true}) // Compile Tasks - t.Run("tasks-"+dirName, func(t *testing.T) { - //t.Parallel() + compiledTasks := make(map[string]*core.CompiledTask) + t.Run("tasks-"+dirName, func(t *testing.T) { paths, err := filepath.Glob("testdata/" + dirName + "/*.pb") if !assert.NoError(t, err) { t.FailNow() @@ -342,62 +349,36 @@ func runCompileTest(t *testing.T, dirName string) { } t.Run(p, func(t *testing.T) { - //t.Parallel() - if !storeOrDiff(t, yaml.Marshal, tsk, strings.TrimSuffix(p, filepath.Ext(p))+"_task.yaml") { - t.FailNow() - } - inputTask := tsk.Template setDefaultFields(inputTask) task, err := compiler.CompileTask(inputTask) if !assert.NoError(t, err) { t.FailNow() } - - if !storeOrDiff(t, yaml.Marshal, task, filepath.Join(filepath.Dir(p), "compiled", strings.TrimRight(filepath.Base(p), filepath.Ext(p))+"_task.yaml")) { - t.FailNow() - } - - if !storeOrDiff(t, protoMarshal, tsk, filepath.Join(filepath.Dir(p), "compiled", strings.TrimRight(filepath.Base(p), filepath.Ext(p))+"_task.json")) { - t.FailNow() - } + compiledTasks[tsk.Template.Id.String()] = task + + // unmarshal from json file to compare rather than yaml + taskFile := filepath.Join(filepath.Dir(p), "compiled", strings.TrimRight(filepath.Base(p), filepath.Ext(p))+"_task.json") + taskBytes, err := os.ReadFile(taskFile) + assert.NoError(t, err) + compiledTaskFromFile := &core.CompiledTask{} + reader := bytes.NewReader(taskBytes) + err = jsonpb.Unmarshal(reader, compiledTaskFromFile) + assert.NoError(t, err) + assert.True(t, proto.Equal(task, compiledTaskFromFile)) }) } }) - // Load Compiled Tasks - paths, err := filepath.Glob(filepath.Join("testdata", dirName, "compiled", "*_task.json")) - if !assert.NoError(t, err) { - t.FailNow() - } - - compiledTasks := make(map[string]*core.CompiledTask, len(paths)) - for _, f := range paths { - raw, err := ioutil.ReadFile(f) - if !assert.NoError(t, err) { - t.FailNow() - } - - tsk := &core.CompiledTask{} - err = jsonpb.UnmarshalString(string(raw), tsk) - if !assert.NoError(t, err) { - t.FailNow() - } - - compiledTasks[tsk.Template.Id.String()] = tsk - } - // Compile Workflows t.Run("workflows-"+dirName, func(t *testing.T) { - //t.Parallel() - - paths, err = filepath.Glob(filepath.Join("testdata", dirName, "*.pb")) + paths, err := filepath.Glob(filepath.Join("testdata", dirName, "*.pb")) if !assert.NoError(t, err) { t.FailNow() } for _, p := range paths { - raw, err := ioutil.ReadFile(p) + raw, err := os.ReadFile(p) assert.NoError(t, err) wf := &core.WorkflowClosure{} err = proto.Unmarshal(raw, wf) @@ -407,11 +388,6 @@ func runCompileTest(t *testing.T, dirName string) { } t.Run(p, func(t *testing.T) { - //t.Parallel() - if !storeOrDiff(t, yaml.Marshal, wf, strings.TrimSuffix(p, filepath.Ext(p))+"_wf.yaml") { - t.FailNow() - } - inputWf := wf.Workflow reqs, err := compiler.GetRequirements(inputWf, nil) @@ -436,35 +412,28 @@ func runCompileTest(t *testing.T, dirName string) { t.FailNow() } - if !storeOrDiff(t, yaml.Marshal, compiledWfc, filepath.Join(filepath.Dir(p), "compiled", strings.TrimRight(filepath.Base(p), filepath.Ext(p))+"_wf.yaml")) { + allNodeIDs := getAllMatchingNodes(compiledWfc.Primary, allNodesPredicate) + nodeIDsWithDeps := getAllMatchingNodes(compiledWfc.Primary, hasPromiseNodePredicate) + if !assertNodeIDsInConnections(t, nodeIDsWithDeps, allNodeIDs, compiledWfc.Primary.Connections) { t.FailNow() } if !storeOrDiff(t, protoMarshal, compiledWfc, filepath.Join(filepath.Dir(p), "compiled", strings.TrimRight(filepath.Base(p), filepath.Ext(p))+"_wf.json")) { t.FailNow() } - - allNodeIDs := getAllMatchingNodes(compiledWfc.Primary, allNodesPredicate) - nodeIDsWithDeps := getAllMatchingNodes(compiledWfc.Primary, hasPromiseNodePredicate) - if !assertNodeIDsInConnections(t, nodeIDsWithDeps, allNodeIDs, compiledWfc.Primary.Connections) { - t.FailNow() - } }) } }) // Build K8s Workflows t.Run("k8s-"+dirName, func(t *testing.T) { - //t.Parallel() - - paths, err = filepath.Glob(filepath.Join("testdata", dirName, "compiled", "*_wf.json")) + paths, err := filepath.Glob(filepath.Join("testdata", dirName, "compiled", "*_wf.json")) if !assert.NoError(t, err) { t.FailNow() } for _, p := range paths { t.Run(p, func(t *testing.T) { - //t.Parallel() raw, err := ioutil.ReadFile(p) if !assert.NoError(t, err) { t.FailNow() @@ -492,7 +461,8 @@ func runCompileTest(t *testing.T, dirName string) { t.FailNow() } - if !storeOrDiff(t, yaml.Marshal, flyteWf, filepath.Join(filepath.Dir(filepath.Dir(p)), "k8s", strings.TrimRight(filepath.Base(p), filepath.Ext(p))+".yaml")) { + file := filepath.Join(filepath.Dir(filepath.Dir(p)), "k8s", strings.TrimRight(filepath.Base(p), filepath.Ext(p))+"_crd.json") + if !storeOrDiff(t, json.Marshal, flyteWf, file) { t.FailNow() } }) diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/000_core.containerization.multi_images.svm_trainer_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/000_core.containerization.multi_images.svm_trainer_1_task.yaml deleted file mode 100755 index b199a06874..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/000_core.containerization.multi_images.svm_trainer_1_task.yaml +++ /dev/null @@ -1,63 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_trainer - image: ghcr.io/flyteorg/flytecookbook:core-with-sklearn-baa17ccf39aa667c5950bd713a4366ce7d5fccaf7f85e6be8c07fe4b522f92c3 - resources: {} - id: - name: core.containerization.multi_images.svm_trainer - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - test_features: - description: test_features - type: - Type: - StructuredDatasetType: - format: parquet - test_labels: - description: test_labels - type: - Type: - StructuredDatasetType: - format: parquet - train_features: - description: train_features - type: - Type: - StructuredDatasetType: - format: parquet - train_labels: - description: train_labels - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/001_core.containerization.multi_images.svm_predictor_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/001_core.containerization.multi_images.svm_predictor_1_task.yaml deleted file mode 100755 index 70b3faff85..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/001_core.containerization.multi_images.svm_predictor_1_task.yaml +++ /dev/null @@ -1,69 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_predictor - image: ghcr.io/flyteorg/flytecookbook:multi-image-predict-98b125fd57d20594026941c2ebe7ef662e5acb7d6423660a65f493ca2d9aa267 - resources: {} - id: - name: core.containerization.multi_images.svm_predictor - resource_type: 1 - interface: - inputs: - variables: - X_test: - description: X_test - type: - Type: - StructuredDatasetType: - format: parquet - X_train: - description: X_train - type: - Type: - StructuredDatasetType: - format: parquet - y_test: - description: y_test - type: - Type: - StructuredDatasetType: - format: parquet - y_train: - description: y_train - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/002_core.containerization.multi_images.my_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/002_core.containerization.multi_images.my_workflow_2_wf.yaml deleted file mode 100755 index 0f3d4e5199..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/002_core.containerization.multi_images.my_workflow_2_wf.yaml +++ /dev/null @@ -1,74 +0,0 @@ -workflow: - id: - name: core.containerization.multi_images.my_workflow - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.multi_images.svm_trainer - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: svm_trainer - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.multi_images.svm_predictor - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: test_features - var: X_test - - binding: - Value: - Promise: - node_id: n0 - var: train_features - var: X_train - - binding: - Value: - Promise: - node_id: n0 - var: test_labels - var: y_test - - binding: - Value: - Promise: - node_id: n0 - var: train_labels - var: y_train - metadata: - InterruptibleValue: null - name: svm_predictor - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/004_ellipse-area-metadata-shell_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/004_ellipse-area-metadata-shell_1_task.yaml deleted file mode 100755 index 3d6250a030..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/004_ellipse-area-metadata-shell_1_task.yaml +++ /dev/null @@ -1,49 +0,0 @@ -template: - Target: - Container: - command: - - ./calculate-ellipse-area.sh - - /var/inputs - - /var/outputs - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-shell:v1 - resources: {} - id: - name: ellipse-area-metadata-shell - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/005_ellipse-area-metadata-python_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/005_ellipse-area-metadata-python_1_task.yaml deleted file mode 100755 index f395e1f6d7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/005_ellipse-area-metadata-python_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - command: - - python - - calculate-ellipse-area.py - - /var/inputs - - /var/outputs - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-python:v1 - resources: {} - id: - name: ellipse-area-metadata-python - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/006_ellipse-area-metadata-r_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/006_ellipse-area-metadata-r_1_task.yaml deleted file mode 100755 index b491ef15e3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/006_ellipse-area-metadata-r_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - command: - - Rscript - - --vanilla - - calculate-ellipse-area.R - - /var/inputs - - /var/outputs - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-r:v1 - resources: {} - id: - name: ellipse-area-metadata-r - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/007_ellipse-area-metadata-haskell_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/007_ellipse-area-metadata-haskell_1_task.yaml deleted file mode 100755 index cf515ee089..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/007_ellipse-area-metadata-haskell_1_task.yaml +++ /dev/null @@ -1,49 +0,0 @@ -template: - Target: - Container: - command: - - ./calculate-ellipse-area - - /var/inputs - - /var/outputs - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-haskell:v1 - resources: {} - id: - name: ellipse-area-metadata-haskell - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/008_ellipse-area-metadata-julia_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/008_ellipse-area-metadata-julia_1_task.yaml deleted file mode 100755 index 32c5b68826..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/008_ellipse-area-metadata-julia_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - command: - - julia - - calculate-ellipse-area.jl - - /var/inputs - - /var/outputs - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-julia:v1 - resources: {} - id: - name: ellipse-area-metadata-julia - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/009_core.containerization.raw_container.report_all_calculated_areas_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/009_core.containerization.raw_container.report_all_calculated_areas_1_task.yaml deleted file mode 100755 index 6fa4a9f509..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/009_core.containerization.raw_container.report_all_calculated_areas_1_task.yaml +++ /dev/null @@ -1,89 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.raw_container - - task-name - - report_all_calculated_areas - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.raw_container.report_all_calculated_areas - resource_type: 1 - interface: - inputs: - variables: - area_haskell: - description: area_haskell - type: - Type: - Simple: 2 - area_julia: - description: area_julia - type: - Type: - Simple: 2 - area_python: - description: area_python - type: - Type: - Simple: 2 - area_r: - description: area_r - type: - Type: - Simple: 2 - area_shell: - description: area_shell - type: - Type: - Simple: 2 - metadata_haskell: - description: metadata_haskell - type: - Type: - Simple: 3 - metadata_julia: - description: metadata_julia - type: - Type: - Simple: 3 - metadata_python: - description: metadata_python - type: - Type: - Simple: 3 - metadata_r: - description: metadata_r - type: - Type: - Simple: 3 - metadata_shell: - description: metadata_shell - type: - Type: - Simple: 3 - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/010_core.containerization.raw_container.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/010_core.containerization.raw_container.wf_2_wf.yaml deleted file mode 100755 index 1afa966d41..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/010_core.containerization.raw_container.wf_2_wf.yaml +++ /dev/null @@ -1,215 +0,0 @@ -workflow: - id: - name: core.containerization.raw_container.wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-shell - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: a - var: a - - binding: - Value: - Promise: - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-shell - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-python - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: a - var: a - - binding: - Value: - Promise: - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-python - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-r - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - var: a - var: a - - binding: - Value: - Promise: - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-r - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-haskell - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - var: a - var: a - - binding: - Value: - Promise: - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-haskell - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-julia - resource_type: 1 - overrides: {} - id: n4 - inputs: - - binding: - Value: - Promise: - var: a - var: a - - binding: - Value: - Promise: - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-julia - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.raw_container.report_all_calculated_areas - resource_type: 1 - overrides: {} - id: n5 - inputs: - - binding: - Value: - Promise: - node_id: n3 - var: area - var: area_haskell - - binding: - Value: - Promise: - node_id: n4 - var: area - var: area_julia - - binding: - Value: - Promise: - node_id: n1 - var: area - var: area_python - - binding: - Value: - Promise: - node_id: n2 - var: area - var: area_r - - binding: - Value: - Promise: - node_id: n0 - var: area - var: area_shell - - binding: - Value: - Promise: - node_id: n3 - var: metadata - var: metadata_haskell - - binding: - Value: - Promise: - node_id: n4 - var: metadata - var: metadata_julia - - binding: - Value: - Promise: - node_id: n1 - var: metadata - var: metadata_python - - binding: - Value: - Promise: - node_id: n2 - var: metadata - var: metadata_r - - binding: - Value: - Promise: - node_id: n0 - var: metadata - var: metadata_shell - metadata: - InterruptibleValue: null - name: report_all_calculated_areas - retries: {} - upstream_node_ids: - - n0 - - n1 - - n2 - - n4 - - n3 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/012_core.containerization.use_secrets.secret_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/012_core.containerization.use_secrets.secret_task_1_task.yaml deleted file mode 100755 index 370bebdc1c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/012_core.containerization.use_secrets.secret_task_1_task.yaml +++ /dev/null @@ -1,48 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_task - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: user_secret - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/013_core.containerization.use_secrets.user_info_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/013_core.containerization.use_secrets.user_info_task_1_task.yaml deleted file mode 100755 index eb509172f6..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/013_core.containerization.use_secrets.user_info_task_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - user_info_task - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.user_info_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: username - - group: user-info - key: password - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/014_core.containerization.use_secrets.secret_file_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/014_core.containerization.use_secrets.secret_file_task_1_task.yaml deleted file mode 100755 index 417db47255..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/014_core.containerization.use_secrets.secret_file_task_1_task.yaml +++ /dev/null @@ -1,54 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_file_task - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_file_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: user_secret - mount_requirement: 1 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml deleted file mode 100755 index 4054a0494d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml +++ /dev/null @@ -1,103 +0,0 @@ -workflow: - id: - name: core.containerization.use_secrets.my_secret_workflow - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - o2: - description: o2 - type: - Type: - Simple: 3 - o3: - description: o3 - type: - Type: - Simple: 3 - o4: - description: o4 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.use_secrets.secret_task - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: secret_task - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.use_secrets.user_info_task - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: user_info_task - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.use_secrets.secret_file_task - resource_type: 1 - overrides: {} - id: n2 - metadata: - InterruptibleValue: null - name: secret_file_task - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o1 - - binding: - Value: - Promise: - node_id: n1 - var: o1 - var: o2 - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o3 - - binding: - Value: - Promise: - node_id: n2 - var: o1 - var: o4 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/017_core.control_flow.chain_tasks.read_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/017_core.control_flow.chain_tasks.read_1_task.yaml deleted file mode 100755 index 2923c59e00..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/017_core.control_flow.chain_tasks.read_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - read - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.read - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/018_core.control_flow.chain_tasks.write_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/018_core.control_flow.chain_tasks.write_1_task.yaml deleted file mode 100755 index fa6dc89687..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/018_core.control_flow.chain_tasks.write_1_task.yaml +++ /dev/null @@ -1,38 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - write - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.write - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml deleted file mode 100755 index 29e803bed3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml +++ /dev/null @@ -1,50 +0,0 @@ -workflow: - id: - name: core.control_flow.chain_tasks.chain_tasks_wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.chain_tasks.write - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: write - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.chain_tasks.read - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: read - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/021_core.control_flow.checkpoint.use_checkpoint_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/021_core.control_flow.checkpoint.use_checkpoint_1_task.yaml deleted file mode 100755 index 97d873f7d3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/021_core.control_flow.checkpoint.use_checkpoint_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.checkpoint - - task-name - - use_checkpoint - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.checkpoint.use_checkpoint - resource_type: 1 - interface: - inputs: - variables: - n_iterations: - description: n_iterations - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: - retries: 3 - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/022_core.control_flow.checkpoint.example_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/022_core.control_flow.checkpoint.example_2_wf.yaml deleted file mode 100755 index 22173f71c6..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/022_core.control_flow.checkpoint.example_2_wf.yaml +++ /dev/null @@ -1,48 +0,0 @@ -workflow: - id: - name: core.control_flow.checkpoint.example - resource_type: 2 - interface: - inputs: - variables: - n_iterations: - description: n_iterations - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.checkpoint.use_checkpoint - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: n_iterations - var: n_iterations - metadata: - InterruptibleValue: null - name: use_checkpoint - retries: - retries: 3 - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/024_core.control_flow.conditions.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/024_core.control_flow.conditions.square_1_task.yaml deleted file mode 100755 index 740868a86a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/024_core.control_flow.conditions.square_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable, and - the type is automatically mapped to Types.Integer - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/025_core.control_flow.conditions.double_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/025_core.control_flow.conditions.double_1_task.yaml deleted file mode 100755 index 6fe4ef85ba..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/025_core.control_flow.conditions.double_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable - and the type is mapped to ``Types.Integer`` - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/026_core.control_flow.conditions.multiplier_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/026_core.control_flow.conditions.multiplier_2_wf.yaml deleted file mode 100755 index 5f1aeaa2f7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/026_core.control_flow.conditions.multiplier_2_wf.yaml +++ /dev/null @@ -1,110 +0,0 @@ -workflow: - id: - name: core.control_flow.conditions.multiplier - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 3 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 5 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/028_core.control_flow.conditions.multiplier_2_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/028_core.control_flow.conditions.multiplier_2_2_wf.yaml deleted file mode 100755 index 05af837afb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/028_core.control_flow.conditions.multiplier_2_2_wf.yaml +++ /dev/null @@ -1,141 +0,0 @@ -workflow: - id: - name: core.control_flow.conditions.multiplier_2 - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - BranchNode: - if_else: - Default: - Error: - failed_node_id: fractions - message: The input must be between 0 and 10 - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 5 - right_value: - Val: - Primitive: - Value: - FloatValue: 10 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/030_core.control_flow.conditions.multiplier_3_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/030_core.control_flow.conditions.multiplier_3_2_wf.yaml deleted file mode 100755 index 37e1e41eea..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/030_core.control_flow.conditions.multiplier_3_2_wf.yaml +++ /dev/null @@ -1,162 +0,0 @@ -workflow: - id: - name: core.control_flow.conditions.multiplier_3 - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - BranchNode: - if_else: - Default: - Error: - failed_node_id: fractions - message: The input must be between 0 and 10 - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 10 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/032_core.control_flow.conditions.coin_toss_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/032_core.control_flow.conditions.coin_toss_1_task.yaml deleted file mode 100755 index c3702e11ee..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/032_core.control_flow.conditions.coin_toss_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - coin_toss - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - interface: - inputs: - variables: - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 4 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/033_core.control_flow.conditions.failed_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/033_core.control_flow.conditions.failed_1_task.yaml deleted file mode 100755 index d0d38e1a5b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/033_core.control_flow.conditions.failed_1_task.yaml +++ /dev/null @@ -1,44 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - failed - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.failed - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/034_core.control_flow.conditions.success_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/034_core.control_flow.conditions.success_1_task.yaml deleted file mode 100755 index 6ca896e2dc..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/034_core.control_flow.conditions.success_1_task.yaml +++ /dev/null @@ -1,44 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - success - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.success - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml deleted file mode 100755 index e9274df154..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml +++ /dev/null @@ -1,103 +0,0 @@ -workflow: - id: - name: core.control_flow.conditions.basic_boolean_wf - resource_type: 2 - interface: - inputs: - variables: - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: seed - var: seed - metadata: - InterruptibleValue: null - name: coin_toss - retries: {} - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.failed - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: failed - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: n0.o0 - right_value: - Val: - Primitive: - Value: - Boolean: true - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.success - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: success - retries: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: n0.o0 - metadata: - InterruptibleValue: null - name: test - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml deleted file mode 100755 index 9afb0ad756..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml +++ /dev/null @@ -1,82 +0,0 @@ -workflow: - id: - name: core.control_flow.conditions.bool_input_wf - resource_type: 2 - interface: - inputs: - variables: - b: - description: b - type: - Type: - Simple: 4 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.failed - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: failed - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: .b - right_value: - Val: - Primitive: - Value: - Boolean: true - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.success - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: success - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: b - var: .b - metadata: - InterruptibleValue: null - name: test - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/039_core.control_flow.conditions.nested_conditions_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/039_core.control_flow.conditions.nested_conditions_2_wf.yaml deleted file mode 100755 index 5d7d6761b1..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/039_core.control_flow.conditions.nested_conditions_2_wf.yaml +++ /dev/null @@ -1,236 +0,0 @@ -workflow: - id: - name: core.control_flow.conditions.nested_conditions - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - BranchNode: - if_else: - Default: - Error: - failed_node_id: inner_fractions - message: Only <0.7 allowed - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.5 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.5 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.7 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: inner_fractions - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 10 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/041_core.control_flow.conditions.calc_sum_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/041_core.control_flow.conditions.calc_sum_1_task.yaml deleted file mode 100755 index 222033d87f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/041_core.control_flow.conditions.calc_sum_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - calc_sum - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.calc_sum - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/042_core.control_flow.conditions.consume_outputs_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/042_core.control_flow.conditions.consume_outputs_2_wf.yaml deleted file mode 100755 index ae0b320bf9..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/042_core.control_flow.conditions.consume_outputs_2_wf.yaml +++ /dev/null @@ -1,146 +0,0 @@ -workflow: - id: - name: core.control_flow.conditions.consume_outputs - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: seed - var: seed - metadata: - InterruptibleValue: null - name: coin_toss - retries: {} - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.calc_sum - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: my_input - var: a - - binding: - Value: - Promise: - var: my_input - var: b - metadata: - InterruptibleValue: null - name: calc_sum - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: n0.o0 - right_value: - Val: - Primitive: - Value: - Boolean: true - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: n0.o0 - metadata: - InterruptibleValue: null - name: double_or_square - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - upstream_node_ids: - - n1 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/044_core.control_flow.dynamics.return_index_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/044_core.control_flow.dynamics.return_index_1_task.yaml deleted file mode 100755 index 5d777782fa..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/044_core.control_flow.dynamics.return_index_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - return_index - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.return_index - resource_type: 1 - interface: - inputs: - variables: - character: - description: character - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/045_core.control_flow.dynamics.update_list_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/045_core.control_flow.dynamics.update_list_1_task.yaml deleted file mode 100755 index b9e7fb77b4..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/045_core.control_flow.dynamics.update_list_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - update_list - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.update_list - resource_type: 1 - interface: - inputs: - variables: - freq_list: - description: freq_list - type: - Type: - CollectionType: - Type: - Simple: 1 - list_index: - description: list_index - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/046_core.control_flow.dynamics.derive_count_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/046_core.control_flow.dynamics.derive_count_1_task.yaml deleted file mode 100755 index 4e62f3ed8a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/046_core.control_flow.dynamics.derive_count_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - derive_count - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.derive_count - resource_type: 1 - interface: - inputs: - variables: - freq1: - description: freq1 - type: - Type: - CollectionType: - Type: - Simple: 1 - freq2: - description: freq2 - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/047_core.control_flow.dynamics.count_characters_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/047_core.control_flow.dynamics.count_characters_1_task.yaml deleted file mode 100755 index 1d7655190a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/047_core.control_flow.dynamics.count_characters_1_task.yaml +++ /dev/null @@ -1,58 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - count_characters - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.count_characters - resource_type: 1 - interface: - inputs: - variables: - s1: - description: s1 - type: - Type: - Simple: 3 - s2: - description: s2 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/048_core.control_flow.dynamics.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/048_core.control_flow.dynamics.wf_2_wf.yaml deleted file mode 100755 index f551fd150d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/048_core.control_flow.dynamics.wf_2_wf.yaml +++ /dev/null @@ -1,57 +0,0 @@ -workflow: - id: - name: core.control_flow.dynamics.wf - resource_type: 2 - interface: - inputs: - variables: - s1: - description: s1 - type: - Type: - Simple: 3 - s2: - description: s2 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.dynamics.count_characters - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: s1 - var: s1 - - binding: - Value: - Promise: - var: s2 - var: s2 - metadata: - InterruptibleValue: null - name: count_characters - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/050_core.control_flow.map_task.a_mappable_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/050_core.control_flow.map_task.a_mappable_task_1_task.yaml deleted file mode 100755 index a56819bc5f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/050_core.control_flow.map_task.a_mappable_task_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - a_mappable_task - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.map_task.a_mappable_task - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/051_core.control_flow.map_task.coalesce_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/051_core.control_flow.map_task.coalesce_1_task.yaml deleted file mode 100755 index eceff4ce1a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/051_core.control_flow.map_task.coalesce_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - coalesce - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.map_task.coalesce - resource_type: 1 - interface: - inputs: - variables: - b: - description: b - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/052_core.control_flow.map_task.mapper_a_mappable_task_0_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/052_core.control_flow.map_task.mapper_a_mappable_task_0_1_task.yaml deleted file mode 100755 index 559f46b5c5..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/052_core.control_flow.map_task.mapper_a_mappable_task_0_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-map-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - a_mappable_task - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - custom: - minSuccessRatio: 1 - id: - name: core.control_flow.map_task.mapper_a_mappable_task_0 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - task_type_version: 1 - type: container_array diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml deleted file mode 100755 index 91a7a3dec2..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml +++ /dev/null @@ -1,78 +0,0 @@ -workflow: - id: - name: core.control_flow.map_task.my_map_workflow - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.map_task.mapper_a_mappable_task_0 - resource_type: 1 - overrides: - resources: - limits: - - name: 3 - value: 500Mi - requests: - - name: 3 - value: 300Mi - id: n0 - inputs: - - binding: - Value: - Promise: - var: a - var: a - metadata: - InterruptibleValue: null - name: mapper_a_mappable_task_0 - retries: - retries: 1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.map_task.coalesce - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: b - metadata: - InterruptibleValue: null - name: coalesce - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/055_core.control_flow.merge_sort.split_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/055_core.control_flow.merge_sort.split_1_task.yaml deleted file mode 100755 index a2297e3685..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/055_core.control_flow.merge_sort.split_1_task.yaml +++ /dev/null @@ -1,66 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - split - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.split - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - o1: - description: o1 - type: - Type: - CollectionType: - Type: - Simple: 1 - o2: - description: o2 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/056_core.control_flow.merge_sort.merge_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/056_core.control_flow.merge_sort.merge_1_task.yaml deleted file mode 100755 index 194f004bd4..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/056_core.control_flow.merge_sort.merge_1_task.yaml +++ /dev/null @@ -1,61 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - merge - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.merge - resource_type: 1 - interface: - inputs: - variables: - sorted_list1: - description: sorted_list1 - type: - Type: - CollectionType: - Type: - Simple: 1 - sorted_list2: - description: sorted_list2 - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/057_core.control_flow.merge_sort.sort_locally_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/057_core.control_flow.merge_sort.sort_locally_1_task.yaml deleted file mode 100755 index d93f896f95..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/057_core.control_flow.merge_sort.sort_locally_1_task.yaml +++ /dev/null @@ -1,54 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - sort_locally - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.sort_locally - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/058_core.control_flow.merge_sort.merge_sort_remotely_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/058_core.control_flow.merge_sort.merge_sort_remotely_1_task.yaml deleted file mode 100755 index 60acfeb941..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/058_core.control_flow.merge_sort.merge_sort_remotely_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - merge_sort_remotely - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.merge_sort_remotely - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - run_local_at_count: - description: run_local_at_count - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml deleted file mode 100755 index f97e6aae47..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml +++ /dev/null @@ -1,117 +0,0 @@ -workflow: - id: - name: core.control_flow.merge_sort.merge_sort - resource_type: 2 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - numbers_count: - description: numbers_count - type: - Type: - Simple: 1 - run_local_at_count: - description: run_local_at_count - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.merge_sort.merge_sort_remotely - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: numbers - var: numbers - - binding: - Value: - Promise: - var: run_local_at_count - var: run_local_at_count - metadata: - InterruptibleValue: null - name: merge_sort_remotely - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: .numbers_count - operator: 5 - right_value: - Val: - Var: .run_local_at_count - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.merge_sort.sort_locally - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: numbers - var: numbers - metadata: - InterruptibleValue: null - name: sort_locally - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: numbers_count - var: .numbers_count - - binding: - Value: - Promise: - var: run_local_at_count - var: .run_local_at_count - metadata: - InterruptibleValue: null - name: terminal_case - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/061_core.control_flow.subworkflows.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/061_core.control_flow.subworkflows.t1_1_task.yaml deleted file mode 100755 index 668bd3b506..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/061_core.control_flow.subworkflows.t1_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - t1 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - t1_int_output: - description: t1_int_output - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml deleted file mode 100755 index 3d30e1ed40..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml +++ /dev/null @@ -1,79 +0,0 @@ -workflow: - id: - name: core.control_flow.subworkflows.my_subwf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.subworkflows.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: a - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.subworkflows.t1 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: t1_int_output - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: c - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: c - var: o1 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/068_core.control_flow.subworkflows.count_freq_words_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/068_core.control_flow.subworkflows.count_freq_words_1_task.yaml deleted file mode 100755 index ccd68f4c08..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/068_core.control_flow.subworkflows.count_freq_words_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - count_freq_words - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.count_freq_words - resource_type: 1 - interface: - inputs: - variables: - input_string1: - description: input_string1 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml deleted file mode 100755 index 770e0e51ee..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml +++ /dev/null @@ -1,47 +0,0 @@ -workflow: - id: - name: core.control_flow.subworkflows.ext_workflow - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.subworkflows.count_freq_words - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: my_input - var: input_string1 - metadata: - InterruptibleValue: null - name: count_freq_words - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/072_core.control_flow.subworkflows.count_repetitive_words_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/072_core.control_flow.subworkflows.count_repetitive_words_1_task.yaml deleted file mode 100755 index 007824cbce..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/072_core.control_flow.subworkflows.count_repetitive_words_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - count_repetitive_words - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.count_repetitive_words - resource_type: 1 - interface: - inputs: - variables: - word_counter: - description: word_counter - type: - Type: - Simple: 9 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/075_my-objectstore-sensor_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/075_my-objectstore-sensor_1_task.yaml deleted file mode 100755 index 02c6d654ba..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/075_my-objectstore-sensor_1_task.yaml +++ /dev/null @@ -1,31 +0,0 @@ -template: - Target: null - id: - name: my-objectstore-sensor - resource_type: 1 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: - retries: 10 - runtime: - flavor: python - type: 1 - version: 0.32.6 - timeout: - seconds: 1200 - type: object-store-sensor diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/076_core.extend_flyte.custom_task_plugin.print_file_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/076_core.extend_flyte.custom_task_plugin.print_file_1_task.yaml deleted file mode 100755 index c0da8ea5ba..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/076_core.extend_flyte.custom_task_plugin.print_file_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_task_plugin - - task-name - - print_file - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_task_plugin.print_file - resource_type: 1 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml deleted file mode 100755 index 4081c79f35..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml +++ /dev/null @@ -1,71 +0,0 @@ -workflow: - id: - name: core.extend_flyte.custom_task_plugin.my_workflow - resource_type: 2 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: my-objectstore-sensor - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: path - var: path - metadata: - InterruptibleValue: null - name: my-objectstore-sensor - retries: - retries: 10 - timeout: - seconds: 1200 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.extend_flyte.custom_task_plugin.print_file - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: path - var: path - metadata: - InterruptibleValue: null - name: print_file - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/079_core.extend_flyte.custom_types.generate_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/079_core.extend_flyte.custom_types.generate_1_task.yaml deleted file mode 100755 index b181c9e6a3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/079_core.extend_flyte.custom_types.generate_1_task.yaml +++ /dev/null @@ -1,46 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - generate - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.generate - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - format: binary - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/080_core.extend_flyte.custom_types.consume_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/080_core.extend_flyte.custom_types.consume_1_task.yaml deleted file mode 100755 index aab1c9158f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/080_core.extend_flyte.custom_types.consume_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - consume - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.consume - resource_type: 1 - interface: - inputs: - variables: - d: - description: d - type: - Type: - Blob: - dimensionality: 1 - format: binary - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/081_core.extend_flyte.custom_types.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/081_core.extend_flyte.custom_types.wf_2_wf.yaml deleted file mode 100755 index 49ccbf1138..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/081_core.extend_flyte.custom_types.wf_2_wf.yaml +++ /dev/null @@ -1,56 +0,0 @@ -workflow: - id: - name: core.extend_flyte.custom_types.wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.extend_flyte.custom_types.generate - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: generate - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.extend_flyte.custom_types.consume - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: d - metadata: - InterruptibleValue: null - name: consume - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/083_core.flyte_basics.basic_workflow.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/083_core.flyte_basics.basic_workflow.t1_1_task.yaml deleted file mode 100755 index 019c428445..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/083_core.flyte_basics.basic_workflow.t1_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t1 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - t1_int_output: - description: t1_int_output - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/084_core.flyte_basics.basic_workflow.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/084_core.flyte_basics.basic_workflow.t2_1_task.yaml deleted file mode 100755 index 90c33f2dfb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/084_core.flyte_basics.basic_workflow.t2_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t2 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t2 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 3 - b: - description: b - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml deleted file mode 100755 index 2099dc484b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml +++ /dev/null @@ -1,89 +0,0 @@ -workflow: - id: - name: core.flyte_basics.basic_workflow.my_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - b: - description: b - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.basic_workflow.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: a - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.basic_workflow.t2 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: c - var: a - - binding: - Value: - Promise: - var: b - var: b - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: t1_int_output - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o1 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/087_core.flyte_basics.decorating_tasks.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/087_core.flyte_basics.decorating_tasks.t1_1_task.yaml deleted file mode 100755 index ecaffc4539..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/087_core.flyte_basics.decorating_tasks.t1_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t1 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/088_core.flyte_basics.decorating_tasks.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/088_core.flyte_basics.decorating_tasks.t2_1_task.yaml deleted file mode 100755 index 90279ea568..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/088_core.flyte_basics.decorating_tasks.t2_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t2 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml deleted file mode 100755 index 8180079fc3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml +++ /dev/null @@ -1,68 +0,0 @@ -workflow: - id: - name: core.flyte_basics.decorating_tasks.wf - resource_type: 2 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_tasks.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: x - var: x - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_tasks.t2 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: x - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/091_core.flyte_basics.decorating_workflows.setup_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/091_core.flyte_basics.decorating_workflows.setup_1_task.yaml deleted file mode 100755 index d6993f7125..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/091_core.flyte_basics.decorating_workflows.setup_1_task.yaml +++ /dev/null @@ -1,38 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - setup - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.setup - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/092_core.flyte_basics.decorating_workflows.teardown_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/092_core.flyte_basics.decorating_workflows.teardown_1_task.yaml deleted file mode 100755 index 52043f2f6f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/092_core.flyte_basics.decorating_workflows.teardown_1_task.yaml +++ /dev/null @@ -1,38 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - teardown - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.teardown - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/093_core.flyte_basics.decorating_workflows.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/093_core.flyte_basics.decorating_workflows.t1_1_task.yaml deleted file mode 100755 index 6445ac6546..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/093_core.flyte_basics.decorating_workflows.t1_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t1 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/094_core.flyte_basics.decorating_workflows.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/094_core.flyte_basics.decorating_workflows.t2_1_task.yaml deleted file mode 100755 index d114ac57bf..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/094_core.flyte_basics.decorating_workflows.t2_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t2 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml deleted file mode 100755 index c9ee70a4d9..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml +++ /dev/null @@ -1,96 +0,0 @@ -workflow: - id: - name: core.flyte_basics.decorating_workflows.wf - resource_type: 2 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.setup - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: setup - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.t1 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: x - var: x - metadata: - InterruptibleValue: null - name: t1 - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.t2 - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: x - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.teardown - resource_type: 1 - overrides: {} - id: n3 - metadata: - InterruptibleValue: null - name: teardown - retries: {} - upstream_node_ids: - - n2 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/097_core.flyte_basics.documented_workflow.add_data_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/097_core.flyte_basics.documented_workflow.add_data_1_task.yaml deleted file mode 100755 index d21207c4fa..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/097_core.flyte_basics.documented_workflow.add_data_1_task.yaml +++ /dev/null @@ -1,73 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - interface: - inputs: - variables: - data: - description: data - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml deleted file mode 100755 index d55a5f2d8a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml +++ /dev/null @@ -1,76 +0,0 @@ -workflow: - id: - name: core.flyte_basics.documented_workflow.sphinx_docstring - resource_type: 2 - interface: - inputs: - variables: - data: - description: A data class pertaining to the new record to be stored in the - DataFrame - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: data - var: data - - binding: - Value: - Promise: - var: df - var: df - metadata: - InterruptibleValue: null - name: add_data - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml deleted file mode 100755 index f631a303cb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml +++ /dev/null @@ -1,76 +0,0 @@ -workflow: - id: - name: core.flyte_basics.documented_workflow.numpy_docstring - resource_type: 2 - interface: - inputs: - variables: - data: - description: A data class pertaining to the new record to be stored in the - DataFrame - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: data - var: data - - binding: - Value: - Promise: - var: df - var: df - metadata: - InterruptibleValue: null - name: add_data - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml deleted file mode 100755 index dd60d2fce1..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml +++ /dev/null @@ -1,76 +0,0 @@ -workflow: - id: - name: core.flyte_basics.documented_workflow.google_docstring - resource_type: 2 - interface: - inputs: - variables: - data: - description: A data class pertaining to the new record to be stored in the - DataFrame - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: data - var: data - - binding: - Value: - Promise: - var: df - var: df - metadata: - InterruptibleValue: null - name: add_data - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/104_core.flyte_basics.files.normalize_columns_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/104_core.flyte_basics.files.normalize_columns_1_task.yaml deleted file mode 100755 index 87f25cb951..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/104_core.flyte_basics.files.normalize_columns_1_task.yaml +++ /dev/null @@ -1,69 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.files - - task-name - - normalize_columns - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.files.normalize_columns - resource_type: 1 - interface: - inputs: - variables: - column_names: - description: column_names - type: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize: - description: columns_to_normalize - type: - Type: - CollectionType: - Type: - Simple: 3 - csv_url: - description: csv_url - type: - Type: - Blob: {} - output_location: - description: output_location - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml deleted file mode 100755 index 73152948fa..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml +++ /dev/null @@ -1,81 +0,0 @@ -workflow: - id: - name: core.flyte_basics.files.normalize_csv_file - resource_type: 2 - interface: - inputs: - variables: - column_names: - description: column_names - type: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize: - description: columns_to_normalize - type: - Type: - CollectionType: - Type: - Simple: 3 - csv_url: - description: csv_url - type: - Type: - Blob: {} - output_location: - description: output_location - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.files.normalize_columns - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: column_names - var: column_names - - binding: - Value: - Promise: - var: columns_to_normalize - var: columns_to_normalize - - binding: - Value: - Promise: - var: csv_url - var: csv_url - - binding: - Value: - Promise: - var: output_location - var: output_location - metadata: - InterruptibleValue: null - name: normalize_columns - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/107_core.flyte_basics.folders.download_files_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/107_core.flyte_basics.folders.download_files_1_task.yaml deleted file mode 100755 index 3ead97304e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/107_core.flyte_basics.folders.download_files_1_task.yaml +++ /dev/null @@ -1,53 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - download_files - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.download_files - resource_type: 1 - interface: - inputs: - variables: - csv_urls: - description: csv_urls - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/108_core.flyte_basics.folders.normalize_all_files_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/108_core.flyte_basics.folders.normalize_all_files_1_task.yaml deleted file mode 100755 index c39b43cbfe..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/108_core.flyte_basics.folders.normalize_all_files_1_task.yaml +++ /dev/null @@ -1,70 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - normalize_all_files - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.normalize_all_files - resource_type: 1 - interface: - inputs: - variables: - columns_metadata: - description: columns_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize_metadata: - description: columns_to_normalize_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - csv_files_dir: - description: csv_files_dir - type: - Type: - Blob: - dimensionality: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml deleted file mode 100755 index d9d9f6a8a7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml +++ /dev/null @@ -1,99 +0,0 @@ -workflow: - id: - name: core.flyte_basics.folders.download_and_normalize_csv_files - resource_type: 2 - interface: - inputs: - variables: - columns_metadata: - description: columns_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize_metadata: - description: columns_to_normalize_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - csv_urls: - description: csv_urls - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.folders.download_files - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: csv_urls - var: csv_urls - metadata: - InterruptibleValue: null - name: download_files - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.folders.normalize_all_files - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - var: columns_metadata - var: columns_metadata - - binding: - Value: - Promise: - var: columns_to_normalize_metadata - var: columns_to_normalize_metadata - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: csv_files_dir - metadata: - InterruptibleValue: null - name: normalize_all_files - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/111_core.flyte_basics.hello_world.say_hello_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/111_core.flyte_basics.hello_world.say_hello_1_task.yaml deleted file mode 100755 index deaaaca069..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/111_core.flyte_basics.hello_world.say_hello_1_task.yaml +++ /dev/null @@ -1,44 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.hello_world - - task-name - - say_hello - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.hello_world.say_hello - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml deleted file mode 100755 index 1e21071068..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml +++ /dev/null @@ -1,35 +0,0 @@ -workflow: - id: - name: core.flyte_basics.hello_world.my_wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.hello_world.say_hello - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: say_hello - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/114_core.flyte_basics.imperative_wf_style.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/114_core.flyte_basics.imperative_wf_style.t1_1_task.yaml deleted file mode 100755 index 39fec84612..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/114_core.flyte_basics.imperative_wf_style.t1_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t1 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/115_core.flyte_basics.imperative_wf_style.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/115_core.flyte_basics.imperative_wf_style.t2_1_task.yaml deleted file mode 100755 index 59968930ec..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/115_core.flyte_basics.imperative_wf_style.t2_1_task.yaml +++ /dev/null @@ -1,38 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t2 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t2 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/116_core.flyte_basics.imperative_wf_style.t3_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/116_core.flyte_basics.imperative_wf_style.t3_1_task.yaml deleted file mode 100755 index e66300258c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/116_core.flyte_basics.imperative_wf_style.t3_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t3 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/117_my.imperative.workflow.example_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/117_my.imperative.workflow.example_2_wf.yaml deleted file mode 100755 index ccfef725f2..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/117_my.imperative.workflow.example_2_wf.yaml +++ /dev/null @@ -1,108 +0,0 @@ -workflow: - id: - name: my.imperative.workflow.example - resource_type: 2 - interface: - inputs: - variables: - in1: - description: in1 - type: - Type: - Simple: 3 - in2: - description: in2 - type: - Type: - Simple: 3 - outputs: - variables: - output_from_t1: - description: output_from_t1 - type: - Type: - Simple: 3 - output_list: - description: output_list - type: - Type: - CollectionType: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.imperative_wf_style.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: in1 - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.imperative_wf_style.t2 - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: t2 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.imperative_wf_style.t3 - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Collection: - bindings: - - Value: - Promise: - var: in1 - - Value: - Promise: - var: in2 - var: a - metadata: - InterruptibleValue: null - name: t3 - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: output_from_t1 - - binding: - Value: - Collection: - bindings: - - Value: - Promise: - node_id: n0 - var: o0 - - Value: - Promise: - node_id: n2 - var: o0 - var: output_list diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/119_core.flyte_basics.lp.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/119_core.flyte_basics.lp.square_1_task.yaml deleted file mode 100755 index 1123312891..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/119_core.flyte_basics.lp.square_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - square - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.square - resource_type: 1 - interface: - inputs: - variables: - val: - description: val - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/120_core.flyte_basics.lp.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/120_core.flyte_basics.lp.my_wf_2_wf.yaml deleted file mode 100755 index 2cdb50c526..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/120_core.flyte_basics.lp.my_wf_2_wf.yaml +++ /dev/null @@ -1,47 +0,0 @@ -workflow: - id: - name: core.flyte_basics.lp.my_wf - resource_type: 2 - interface: - inputs: - variables: - val: - description: val - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.lp.square - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: val - var: val - metadata: - InterruptibleValue: null - name: square - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/124_core.flyte_basics.lp.greet_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/124_core.flyte_basics.lp.greet_1_task.yaml deleted file mode 100755 index d7cee10b4e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/124_core.flyte_basics.lp.greet_1_task.yaml +++ /dev/null @@ -1,60 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - greet - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.greet - resource_type: 1 - interface: - inputs: - variables: - am: - description: am - type: - Type: - Simple: 4 - day_of_week: - description: day_of_week - type: - Type: - Simple: 3 - number: - description: number - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/125_core.flyte_basics.lp.go_greet_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/125_core.flyte_basics.lp.go_greet_2_wf.yaml deleted file mode 100755 index 39d18be425..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/125_core.flyte_basics.lp.go_greet_2_wf.yaml +++ /dev/null @@ -1,67 +0,0 @@ -workflow: - id: - name: core.flyte_basics.lp.go_greet - resource_type: 2 - interface: - inputs: - variables: - am: - description: am - type: - Type: - Simple: 4 - day_of_week: - description: day_of_week - type: - Type: - Simple: 3 - number: - description: number - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.lp.greet - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: am - var: am - - binding: - Value: - Promise: - var: day_of_week - var: day_of_week - - binding: - Value: - Promise: - var: number - var: number - metadata: - InterruptibleValue: null - name: greet - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/128_core.flyte_basics.named_outputs.say_hello_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/128_core.flyte_basics.named_outputs.say_hello_1_task.yaml deleted file mode 100755 index c7c4dffa65..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/128_core.flyte_basics.named_outputs.say_hello_1_task.yaml +++ /dev/null @@ -1,44 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.named_outputs - - task-name - - say_hello - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.named_outputs.say_hello - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - greet: - description: greet - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml deleted file mode 100755 index 1aead9b02f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml +++ /dev/null @@ -1,58 +0,0 @@ -workflow: - id: - name: core.flyte_basics.named_outputs.my_wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - greet1: - description: greet1 - type: - Type: - Simple: 3 - greet2: - description: greet2 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.named_outputs.say_hello - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: say_hello - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.named_outputs.say_hello - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: say_hello - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: greet - var: greet1 - - binding: - Value: - Promise: - node_id: n1 - var: greet - var: greet2 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/133__bash.task_1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/133__bash.task_1_1_task.yaml deleted file mode 100755 index 95b1fc07fd..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/133__bash.task_1_1_task.yaml +++ /dev/null @@ -1,38 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - flytekit.extras.tasks.shell - - task-name - - _dummy_task_func - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: _bash.task_1 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/134_task_1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/134_task_1_1_task.yaml deleted file mode 100755 index d069629a1e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/134_task_1_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t1 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - outputs: - variables: - i: - description: i - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/135__bash.task_2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/135__bash.task_2_1_task.yaml deleted file mode 100755 index 2cf32a6742..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/135__bash.task_2_1_task.yaml +++ /dev/null @@ -1,38 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - flytekit.extras.tasks.shell - - task-name - - _dummy_task_func - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: _bash.task_2 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/136_task_2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/136_task_2_1_task.yaml deleted file mode 100755 index 056cbbd355..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/136_task_2_1_task.yaml +++ /dev/null @@ -1,56 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t2 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - "y": - description: "y" - type: - Type: - Blob: - dimensionality: 1 - outputs: - variables: - j: - description: j - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/137__bash.task_3_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/137__bash.task_3_1_task.yaml deleted file mode 100755 index 15e529af4c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/137__bash.task_3_1_task.yaml +++ /dev/null @@ -1,38 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - flytekit.extras.tasks.shell - - task-name - - _dummy_task_func - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: _bash.task_3 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/138_task_3_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/138_task_3_1_task.yaml deleted file mode 100755 index 5172896164..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/138_task_3_1_task.yaml +++ /dev/null @@ -1,61 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_3 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - "y": - description: "y" - type: - Type: - Blob: - dimensionality: 1 - z: - description: z - type: - Type: - Blob: {} - outputs: - variables: - k: - description: k - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/139_core.flyte_basics.shell_task.create_entities_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/139_core.flyte_basics.shell_task.create_entities_1_task.yaml deleted file mode 100755 index eac9137e24..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/139_core.flyte_basics.shell_task.create_entities_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - create_entities - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.shell_task.create_entities - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - o1: - description: o1 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/140_core.flyte_basics.shell_task.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/140_core.flyte_basics.shell_task.wf_2_wf.yaml deleted file mode 100755 index 877de0530b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/140_core.flyte_basics.shell_task.wf_2_wf.yaml +++ /dev/null @@ -1,118 +0,0 @@ -workflow: - id: - name: core.flyte_basics.shell_task.wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.shell_task.create_entities - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: create_entities - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: task_1 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: x - metadata: - InterruptibleValue: null - name: task_1 - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: task_2 - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: i - var: x - - binding: - Value: - Promise: - node_id: n0 - var: o1 - var: "y" - metadata: - InterruptibleValue: null - name: task_2 - retries: {} - upstream_node_ids: - - n1 - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: task_3 - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: x - - binding: - Value: - Promise: - node_id: n0 - var: o1 - var: "y" - - binding: - Value: - Promise: - node_id: n2 - var: j - var: z - metadata: - InterruptibleValue: null - name: task_3 - retries: {} - upstream_node_ids: - - n2 - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n3 - var: k - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/142_core.flyte_basics.task.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/142_core.flyte_basics.task.square_1_task.yaml deleted file mode 100755 index 19184615f6..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/142_core.flyte_basics.task.square_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task - - task-name - - square - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: "n" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/143_core.flyte_basics.task_cache.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/143_core.flyte_basics.task_cache.square_1_task.yaml deleted file mode 100755 index 898414991a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/143_core.flyte_basics.task_cache.square_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - square - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: "n" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - discoverable: true - discovery_version: "1.0" - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/144_core.flyte_basics.task_cache.uncached_data_reading_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/144_core.flyte_basics.task_cache.uncached_data_reading_task_1_task.yaml deleted file mode 100755 index f4ba5b67fc..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/144_core.flyte_basics.task_cache.uncached_data_reading_task_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - uncached_data_reading_task - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.uncached_data_reading_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/145_core.flyte_basics.task_cache.cached_data_processing_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/145_core.flyte_basics.task_cache.cached_data_processing_task_1_task.yaml deleted file mode 100755 index 7c110a1322..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/145_core.flyte_basics.task_cache.cached_data_processing_task_1_task.yaml +++ /dev/null @@ -1,54 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - cached_data_processing_task - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.cached_data_processing_task - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - discoverable: true - discovery_version: "1.0" - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/146_core.flyte_basics.task_cache.compare_dataframes_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/146_core.flyte_basics.task_cache.compare_dataframes_1_task.yaml deleted file mode 100755 index eb9378d853..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/146_core.flyte_basics.task_cache.compare_dataframes_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - compare_dataframes - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.compare_dataframes - resource_type: 1 - interface: - inputs: - variables: - df1: - description: df1 - type: - Type: - StructuredDatasetType: - format: parquet - df2: - description: df2 - type: - Type: - StructuredDatasetType: - format: parquet - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml deleted file mode 100755 index a4a0937202..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml +++ /dev/null @@ -1,93 +0,0 @@ -workflow: - id: - name: core.flyte_basics.task_cache.cached_dataframe_wf - resource_type: 2 - interface: - inputs: {} - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.uncached_data_reading_task - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: uncached_data_reading_task - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.cached_data_processing_task - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: cached_data_processing_task - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.cached_data_processing_task - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: cached_data_processing_task - retries: {} - upstream_node_ids: - - n0 - - n1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.compare_dataframes - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: df1 - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: df2 - metadata: - InterruptibleValue: null - name: compare_dataframes - retries: {} - upstream_node_ids: - - n2 - - n1 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/149_core.flyte_basics.task_cache_serialize.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/149_core.flyte_basics.task_cache_serialize.square_1_task.yaml deleted file mode 100755 index 247184cc1e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/149_core.flyte_basics.task_cache_serialize.square_1_task.yaml +++ /dev/null @@ -1,53 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache_serialize - - task-name - - square - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache_serialize.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: "n" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - cache_serializable: true - discoverable: true - discovery_version: "1.0" - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/150_core.scheduled_workflows.lp_schedules.format_date_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/150_core.scheduled_workflows.lp_schedules.format_date_1_task.yaml deleted file mode 100755 index b381aae673..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/150_core.scheduled_workflows.lp_schedules.format_date_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - format_date - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.format_date - resource_type: 1 - interface: - inputs: - variables: - run_date: - description: run_date - type: - Type: - Simple: 5 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml deleted file mode 100755 index 0077991ced..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml +++ /dev/null @@ -1,34 +0,0 @@ -workflow: - id: - name: core.scheduled_workflows.lp_schedules.date_formatter_wf - resource_type: 2 - interface: - inputs: - variables: - kickoff_time: - description: kickoff_time - type: - Type: - Simple: 5 - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.scheduled_workflows.lp_schedules.format_date - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: kickoff_time - var: run_date - metadata: - InterruptibleValue: null - name: format_date - retries: {} diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/154_core.scheduled_workflows.lp_schedules.be_positive_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/154_core.scheduled_workflows.lp_schedules.be_positive_1_task.yaml deleted file mode 100755 index d7ca0c8950..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/154_core.scheduled_workflows.lp_schedules.be_positive_1_task.yaml +++ /dev/null @@ -1,50 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - be_positive - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.be_positive - resource_type: 1 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml deleted file mode 100755 index a21c9e7e96..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml +++ /dev/null @@ -1,34 +0,0 @@ -workflow: - id: - name: core.scheduled_workflows.lp_schedules.positive_wf - resource_type: 2 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.scheduled_workflows.lp_schedules.be_positive - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: name - var: name - metadata: - InterruptibleValue: null - name: be_positive - retries: {} diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/158_core.type_system.custom_objects.stringify_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/158_core.type_system.custom_objects.stringify_1_task.yaml deleted file mode 100755 index cd0a6af180..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/158_core.type_system.custom_objects.stringify_1_task.yaml +++ /dev/null @@ -1,70 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - stringify - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.stringify - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/159_core.type_system.custom_objects.add_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/159_core.type_system.custom_objects.add_1_task.yaml deleted file mode 100755 index 56614c1955..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/159_core.type_system.custom_objects.add_1_task.yaml +++ /dev/null @@ -1,115 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - add - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.add - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - "y": - description: "y" - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/160_core.type_system.custom_objects.upload_result_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/160_core.type_system.custom_objects.upload_result_1_task.yaml deleted file mode 100755 index 85f50ef26b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/160_core.type_system.custom_objects.upload_result_1_task.yaml +++ /dev/null @@ -1,85 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - upload_result - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.upload_result - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/161_core.type_system.custom_objects.download_result_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/161_core.type_system.custom_objects.download_result_1_task.yaml deleted file mode 100755 index a5bc7415f3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/161_core.type_system.custom_objects.download_result_1_task.yaml +++ /dev/null @@ -1,85 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - download_result - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.download_result - resource_type: 1 - interface: - inputs: - variables: - res: - description: res - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/162_core.type_system.custom_objects.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/162_core.type_system.custom_objects.wf_2_wf.yaml deleted file mode 100755 index 7df4424f27..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/162_core.type_system.custom_objects.wf_2_wf.yaml +++ /dev/null @@ -1,203 +0,0 @@ -workflow: - id: - name: core.type_system.custom_objects.wf - resource_type: 2 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - "y": - description: "y" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - o1: - description: o1 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.upload_result - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: upload_result - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.download_result - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: res - metadata: - InterruptibleValue: null - name: download_result - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.stringify - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - var: x - var: x - metadata: - InterruptibleValue: null - name: stringify - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.stringify - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - var: "y" - var: x - metadata: - InterruptibleValue: null - name: stringify - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.add - resource_type: 1 - overrides: {} - id: n4 - inputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: x - - binding: - Value: - Promise: - node_id: n3 - var: o0 - var: "y" - metadata: - InterruptibleValue: null - name: add - retries: {} - upstream_node_ids: - - n2 - - n3 - outputs: - - binding: - Value: - Promise: - node_id: n4 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o1 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/164_core.type_system.enums.enum_stringify_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/164_core.type_system.enums.enum_stringify_1_task.yaml deleted file mode 100755 index fb59b6a035..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/164_core.type_system.enums.enum_stringify_1_task.yaml +++ /dev/null @@ -1,54 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - enum_stringify - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.enum_stringify - resource_type: 1 - interface: - inputs: - variables: - c: - description: c - type: - Type: - EnumType: - values: - - red - - green - - blue - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/165_core.type_system.enums.string_to_enum_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/165_core.type_system.enums.string_to_enum_1_task.yaml deleted file mode 100755 index b3c3a41c62..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/165_core.type_system.enums.string_to_enum_1_task.yaml +++ /dev/null @@ -1,54 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - string_to_enum - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.string_to_enum - resource_type: 1 - interface: - inputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - EnumType: - values: - - red - - green - - blue - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/166_core.type_system.enums.enum_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/166_core.type_system.enums.enum_wf_2_wf.yaml deleted file mode 100755 index df1745603c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/166_core.type_system.enums.enum_wf_2_wf.yaml +++ /dev/null @@ -1,87 +0,0 @@ -workflow: - id: - name: core.type_system.enums.enum_wf - resource_type: 2 - interface: - inputs: - variables: - c: - description: c - type: - Type: - EnumType: - values: - - red - - green - - blue - outputs: - variables: - o0: - description: o0 - type: - Type: - EnumType: - values: - - red - - green - - blue - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.enums.enum_stringify - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: c - var: c - metadata: - InterruptibleValue: null - name: enum_stringify - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.enums.string_to_enum - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: c - metadata: - InterruptibleValue: null - name: string_to_enum - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o1 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/168_core.type_system.flyte_pickle.greet_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/168_core.type_system.flyte_pickle.greet_1_task.yaml deleted file mode 100755 index 716ad92010..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/168_core.type_system.flyte_pickle.greet_1_task.yaml +++ /dev/null @@ -1,53 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.flyte_pickle - - task-name - - greet - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.flyte_pickle.greet - resource_type: 1 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - format: PythonPickle - metadata: - python_class_name: People - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/169_core.type_system.flyte_pickle.welcome_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/169_core.type_system.flyte_pickle.welcome_2_wf.yaml deleted file mode 100755 index a08c6a8c46..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/169_core.type_system.flyte_pickle.welcome_2_wf.yaml +++ /dev/null @@ -1,50 +0,0 @@ -workflow: - id: - name: core.type_system.flyte_pickle.welcome - resource_type: 2 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - format: PythonPickle - metadata: - python_class_name: People - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.flyte_pickle.greet - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: name - var: name - metadata: - InterruptibleValue: null - name: greet - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/171_core.type_system.schema.get_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/171_core.type_system.schema.get_df_1_task.yaml deleted file mode 100755 index 141241395e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/171_core.type_system.schema.get_df_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - get_df - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.get_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/172_core.type_system.schema.add_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/172_core.type_system.schema.add_df_1_task.yaml deleted file mode 100755 index 7d1938b4ad..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/172_core.type_system.schema.add_df_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - add_df - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.add_df - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/173_core.type_system.schema.df_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/173_core.type_system.schema.df_wf_2_wf.yaml deleted file mode 100755 index 95fa8cfc23..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/173_core.type_system.schema.df_wf_2_wf.yaml +++ /dev/null @@ -1,69 +0,0 @@ -workflow: - id: - name: core.type_system.schema.df_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.schema.get_df - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: a - var: a - metadata: - InterruptibleValue: null - name: get_df - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.schema.add_df - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: add_df - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/175_core.type_system.structured_dataset.get_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/175_core.type_system.structured_dataset.get_df_1_task.yaml deleted file mode 100755 index f4187772be..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/175_core.type_system.structured_dataset.get_df_1_task.yaml +++ /dev/null @@ -1,64 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_df - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 3 - name: Name - - literal_type: - Type: - Simple: 1 - name: Age - - literal_type: - Type: - Simple: 1 - name: Height - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/176_core.type_system.structured_dataset.get_schema_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/176_core.type_system.structured_dataset.get_schema_df_1_task.yaml deleted file mode 100755 index 8e52f683f9..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/176_core.type_system.structured_dataset.get_schema_df_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_schema_df - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_schema_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: Name - type: 2 - - name: Age - - name: Height - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/177_core.type_system.structured_dataset.get_subset_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/177_core.type_system.structured_dataset.get_subset_df_1_task.yaml deleted file mode 100755 index 6888780842..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/177_core.type_system.structured_dataset.get_subset_df_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_subset_df - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/178_core.type_system.structured_dataset.to_numpy_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/178_core.type_system.structured_dataset.to_numpy_1_task.yaml deleted file mode 100755 index 137da95164..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/178_core.type_system.structured_dataset.to_numpy_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - to_numpy - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - interface: - inputs: - variables: - ds: - description: ds - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml deleted file mode 100755 index 5006091f3b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml +++ /dev/null @@ -1,95 +0,0 @@ -workflow: - id: - name: core.type_system.structured_dataset.pandas_compatibility_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_df - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: a - var: a - metadata: - InterruptibleValue: null - name: get_df - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: get_subset_df - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: ds - metadata: - InterruptibleValue: null - name: to_numpy - retries: {} - upstream_node_ids: - - n1 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml deleted file mode 100755 index 102fa2b16d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml +++ /dev/null @@ -1,95 +0,0 @@ -workflow: - id: - name: core.type_system.structured_dataset.schema_compatibility_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_schema_df - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - var: a - var: a - metadata: - InterruptibleValue: null - name: get_schema_df - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: get_subset_df - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: ds - metadata: - InterruptibleValue: null - name: to_numpy - retries: {} - upstream_node_ids: - - n1 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/183_core.type_system.typed_schema.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/183_core.type_system.typed_schema.t1_1_task.yaml deleted file mode 100755 index 268b43a319..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/183_core.type_system.typed_schema.t1_1_task.yaml +++ /dev/null @@ -1,48 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t1 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t1 - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - - name: "y" - type: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/184_core.type_system.typed_schema.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/184_core.type_system.typed_schema.t2_1_task.yaml deleted file mode 100755 index 7d0c955a2b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/184_core.type_system.typed_schema.t2_1_task.yaml +++ /dev/null @@ -1,56 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t2 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t2 - resource_type: 1 - interface: - inputs: - variables: - schema: - description: schema - type: - Type: - Schema: - columns: - - name: x - - name: "y" - type: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/185_core.type_system.typed_schema.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/185_core.type_system.typed_schema.wf_2_wf.yaml deleted file mode 100755 index e1c92bd2fe..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/185_core.type_system.typed_schema.wf_2_wf.yaml +++ /dev/null @@ -1,58 +0,0 @@ -workflow: - id: - name: core.type_system.typed_schema.wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - metadata: {} - metadata_defaults: {} - nodes: - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.typed_schema.t1 - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.typed_schema.t2 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: schema - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/000_core.containerization.multi_images.svm_trainer_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/000_core.containerization.multi_images.svm_trainer_1_task.yaml deleted file mode 100755 index 95be6ba9cf..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/000_core.containerization.multi_images.svm_trainer_1_task.yaml +++ /dev/null @@ -1,70 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_trainer - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-with-sklearn-baa17ccf39aa667c5950bd713a4366ce7d5fccaf7f85e6be8c07fe4b522f92c3 - resources: {} - id: - name: core.containerization.multi_images.svm_trainer - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - test_features: - description: test_features - type: - Type: - StructuredDatasetType: - format: parquet - test_labels: - description: test_labels - type: - Type: - StructuredDatasetType: - format: parquet - train_features: - description: train_features - type: - Type: - StructuredDatasetType: - format: parquet - train_labels: - description: train_labels - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/001_core.containerization.multi_images.svm_predictor_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/001_core.containerization.multi_images.svm_predictor_1_task.yaml deleted file mode 100755 index 18a6297ddb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/001_core.containerization.multi_images.svm_predictor_1_task.yaml +++ /dev/null @@ -1,76 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_predictor - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:multi-image-predict-98b125fd57d20594026941c2ebe7ef662e5acb7d6423660a65f493ca2d9aa267 - resources: {} - id: - name: core.containerization.multi_images.svm_predictor - resource_type: 1 - interface: - inputs: - variables: - X_test: - description: X_test - type: - Type: - StructuredDatasetType: - format: parquet - X_train: - description: X_train - type: - Type: - StructuredDatasetType: - format: parquet - y_test: - description: y_test - type: - Type: - StructuredDatasetType: - format: parquet - y_train: - description: y_train - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/002_core.containerization.multi_images.my_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/002_core.containerization.multi_images.my_workflow_2_wf.yaml deleted file mode 100755 index fffe031b06..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/002_core.containerization.multi_images.my_workflow_2_wf.yaml +++ /dev/null @@ -1,254 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.containerization.multi_images.my_workflow - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.multi_images.svm_trainer - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: svm_trainer - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.multi_images.svm_predictor - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: test_features - var: X_test - - binding: - Value: - Promise: - node_id: n0 - var: train_features - var: X_train - - binding: - Value: - Promise: - node_id: n0 - var: test_labels - var: y_test - - binding: - Value: - Promise: - node_id: n0 - var: train_labels - var: y_train - metadata: - InterruptibleValue: null - name: svm_predictor - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_predictor - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:multi-image-predict-98b125fd57d20594026941c2ebe7ef662e5acb7d6423660a65f493ca2d9aa267 - resources: {} - id: - name: core.containerization.multi_images.svm_predictor - resource_type: 1 - interface: - inputs: - variables: - X_test: - description: X_test - type: - Type: - StructuredDatasetType: - format: parquet - X_train: - description: X_train - type: - Type: - StructuredDatasetType: - format: parquet - y_test: - description: y_test - type: - Type: - StructuredDatasetType: - format: parquet - y_train: - description: y_train - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_trainer - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-with-sklearn-baa17ccf39aa667c5950bd713a4366ce7d5fccaf7f85e6be8c07fe4b522f92c3 - resources: {} - id: - name: core.containerization.multi_images.svm_trainer - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - test_features: - description: test_features - type: - Type: - StructuredDatasetType: - format: parquet - test_labels: - description: test_labels - type: - Type: - StructuredDatasetType: - format: parquet - train_features: - description: train_features - type: - Type: - StructuredDatasetType: - format: parquet - train_labels: - description: train_labels - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/004_ellipse-area-metadata-shell_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/004_ellipse-area-metadata-shell_1_task.yaml deleted file mode 100755 index 50241dad8a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/004_ellipse-area-metadata-shell_1_task.yaml +++ /dev/null @@ -1,56 +0,0 @@ -template: - Target: - Container: - command: - - ./calculate-ellipse-area.sh - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-shell:v1 - resources: {} - id: - name: ellipse-area-metadata-shell - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/005_ellipse-area-metadata-python_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/005_ellipse-area-metadata-python_1_task.yaml deleted file mode 100755 index 0f66634a95..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/005_ellipse-area-metadata-python_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - command: - - python - - calculate-ellipse-area.py - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-python:v1 - resources: {} - id: - name: ellipse-area-metadata-python - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/006_ellipse-area-metadata-r_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/006_ellipse-area-metadata-r_1_task.yaml deleted file mode 100755 index 033b2e4714..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/006_ellipse-area-metadata-r_1_task.yaml +++ /dev/null @@ -1,58 +0,0 @@ -template: - Target: - Container: - command: - - Rscript - - --vanilla - - calculate-ellipse-area.R - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-r:v1 - resources: {} - id: - name: ellipse-area-metadata-r - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/007_ellipse-area-metadata-haskell_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/007_ellipse-area-metadata-haskell_1_task.yaml deleted file mode 100755 index 642f9c108b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/007_ellipse-area-metadata-haskell_1_task.yaml +++ /dev/null @@ -1,56 +0,0 @@ -template: - Target: - Container: - command: - - ./calculate-ellipse-area - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-haskell:v1 - resources: {} - id: - name: ellipse-area-metadata-haskell - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/008_ellipse-area-metadata-julia_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/008_ellipse-area-metadata-julia_1_task.yaml deleted file mode 100755 index 0a85c274cf..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/008_ellipse-area-metadata-julia_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - command: - - julia - - calculate-ellipse-area.jl - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-julia:v1 - resources: {} - id: - name: ellipse-area-metadata-julia - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/009_core.containerization.raw_container.report_all_calculated_areas_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/009_core.containerization.raw_container.report_all_calculated_areas_1_task.yaml deleted file mode 100755 index a909e7c1af..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/009_core.containerization.raw_container.report_all_calculated_areas_1_task.yaml +++ /dev/null @@ -1,96 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.raw_container - - task-name - - report_all_calculated_areas - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.raw_container.report_all_calculated_areas - resource_type: 1 - interface: - inputs: - variables: - area_haskell: - description: area_haskell - type: - Type: - Simple: 2 - area_julia: - description: area_julia - type: - Type: - Simple: 2 - area_python: - description: area_python - type: - Type: - Simple: 2 - area_r: - description: area_r - type: - Type: - Simple: 2 - area_shell: - description: area_shell - type: - Type: - Simple: 2 - metadata_haskell: - description: metadata_haskell - type: - Type: - Simple: 3 - metadata_julia: - description: metadata_julia - type: - Type: - Simple: 3 - metadata_python: - description: metadata_python - type: - Type: - Simple: 3 - metadata_r: - description: metadata_r - type: - Type: - Simple: 3 - metadata_shell: - description: metadata_shell - type: - Type: - Simple: 3 - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/010_core.containerization.raw_container.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/010_core.containerization.raw_container.wf_2_wf.yaml deleted file mode 100755 index 534f0b9374..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/010_core.containerization.raw_container.wf_2_wf.yaml +++ /dev/null @@ -1,664 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n5 - n1: - ids: - - n5 - n2: - ids: - - n5 - n3: - ids: - - n5 - n4: - ids: - - n5 - n5: - ids: - - end-node - start-node: - ids: - - n0 - - n1 - - n2 - - n3 - - n4 - upstream: - end-node: - ids: - - n5 - n0: - ids: - - start-node - n1: - ids: - - start-node - n2: - ids: - - start-node - n3: - ids: - - start-node - n4: - ids: - - start-node - n5: - ids: - - n0 - - n1 - - n2 - - n3 - - n4 - template: - id: - name: core.containerization.raw_container.wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-shell - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - - binding: - Value: - Promise: - node_id: start-node - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-shell - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-python - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - - binding: - Value: - Promise: - node_id: start-node - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-python - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-r - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - - binding: - Value: - Promise: - node_id: start-node - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-r - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-haskell - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - - binding: - Value: - Promise: - node_id: start-node - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-haskell - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: ellipse-area-metadata-julia - resource_type: 1 - overrides: {} - id: n4 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - - binding: - Value: - Promise: - node_id: start-node - var: b - var: b - metadata: - InterruptibleValue: null - name: ellipse-area-metadata-julia - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.raw_container.report_all_calculated_areas - resource_type: 1 - overrides: {} - id: n5 - inputs: - - binding: - Value: - Promise: - node_id: n3 - var: area - var: area_haskell - - binding: - Value: - Promise: - node_id: n4 - var: area - var: area_julia - - binding: - Value: - Promise: - node_id: n1 - var: area - var: area_python - - binding: - Value: - Promise: - node_id: n2 - var: area - var: area_r - - binding: - Value: - Promise: - node_id: n0 - var: area - var: area_shell - - binding: - Value: - Promise: - node_id: n3 - var: metadata - var: metadata_haskell - - binding: - Value: - Promise: - node_id: n4 - var: metadata - var: metadata_julia - - binding: - Value: - Promise: - node_id: n1 - var: metadata - var: metadata_python - - binding: - Value: - Promise: - node_id: n2 - var: metadata - var: metadata_r - - binding: - Value: - Promise: - node_id: n0 - var: metadata - var: metadata_shell - metadata: - InterruptibleValue: null - name: report_all_calculated_areas - retries: {} - upstream_node_ids: - - n0 - - n1 - - n2 - - n3 - - n4 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.raw_container - - task-name - - report_all_calculated_areas - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.raw_container.report_all_calculated_areas - resource_type: 1 - interface: - inputs: - variables: - area_haskell: - description: area_haskell - type: - Type: - Simple: 2 - area_julia: - description: area_julia - type: - Type: - Simple: 2 - area_python: - description: area_python - type: - Type: - Simple: 2 - area_r: - description: area_r - type: - Type: - Simple: 2 - area_shell: - description: area_shell - type: - Type: - Simple: 2 - metadata_haskell: - description: metadata_haskell - type: - Type: - Simple: 3 - metadata_julia: - description: metadata_julia - type: - Type: - Simple: 3 - metadata_python: - description: metadata_python - type: - Type: - Simple: 3 - metadata_r: - description: metadata_r - type: - Type: - Simple: 3 - metadata_shell: - description: metadata_shell - type: - Type: - Simple: 3 - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - command: - - ./calculate-ellipse-area - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-haskell:v1 - resources: {} - id: - name: ellipse-area-metadata-haskell - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container -- template: - Target: - Container: - command: - - julia - - calculate-ellipse-area.jl - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-julia:v1 - resources: {} - id: - name: ellipse-area-metadata-julia - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container -- template: - Target: - Container: - command: - - python - - calculate-ellipse-area.py - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-python:v1 - resources: {} - id: - name: ellipse-area-metadata-python - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container -- template: - Target: - Container: - command: - - Rscript - - --vanilla - - calculate-ellipse-area.R - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-r:v1 - resources: {} - id: - name: ellipse-area-metadata-r - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container -- template: - Target: - Container: - command: - - ./calculate-ellipse-area.sh - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - data_config: - enabled: true - input_path: /var/inputs - output_path: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-shell:v1 - resources: {} - id: - name: ellipse-area-metadata-shell - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - area: - description: area - type: - Type: - Simple: 2 - metadata: - description: metadata - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/012_core.containerization.use_secrets.secret_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/012_core.containerization.use_secrets.secret_task_1_task.yaml deleted file mode 100755 index 8ffeba7168..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/012_core.containerization.use_secrets.secret_task_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: user_secret - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/013_core.containerization.use_secrets.user_info_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/013_core.containerization.use_secrets.user_info_task_1_task.yaml deleted file mode 100755 index b341ea9aac..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/013_core.containerization.use_secrets.user_info_task_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - user_info_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.user_info_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: username - - group: user-info - key: password - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/014_core.containerization.use_secrets.secret_file_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/014_core.containerization.use_secrets.secret_file_task_1_task.yaml deleted file mode 100755 index 4a0fb267a3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/014_core.containerization.use_secrets.secret_file_task_1_task.yaml +++ /dev/null @@ -1,61 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_file_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_file_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: user_secret - mount_requirement: 1 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml deleted file mode 100755 index 65ecd563a2..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml +++ /dev/null @@ -1,349 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - n1: - ids: - - end-node - n2: - ids: - - end-node - start-node: - ids: - - n0 - - n1 - - n2 - upstream: - end-node: - ids: - - n0 - - n1 - - n2 - n0: - ids: - - start-node - n1: - ids: - - start-node - n2: - ids: - - start-node - template: - id: - name: core.containerization.use_secrets.my_secret_workflow - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - o2: - description: o2 - type: - Type: - Simple: 3 - o3: - description: o3 - type: - Type: - Simple: 3 - o4: - description: o4 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o1 - - binding: - Value: - Promise: - node_id: n1 - var: o1 - var: o2 - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o3 - - binding: - Value: - Promise: - node_id: n2 - var: o1 - var: o4 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.use_secrets.secret_task - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: secret_task - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.use_secrets.user_info_task - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: user_info_task - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.containerization.use_secrets.secret_file_task - resource_type: 1 - overrides: {} - id: n2 - metadata: - InterruptibleValue: null - name: secret_file_task - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o1 - - binding: - Value: - Promise: - node_id: n1 - var: o1 - var: o2 - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o3 - - binding: - Value: - Promise: - node_id: n2 - var: o1 - var: o4 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_file_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_file_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: user_secret - mount_requirement: 1 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: user_secret - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - user_info_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.user_info_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - security_context: - secrets: - - group: user-info - key: username - - group: user-info - key: password - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/017_core.control_flow.chain_tasks.read_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/017_core.control_flow.chain_tasks.read_1_task.yaml deleted file mode 100755 index 06da97bcd4..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/017_core.control_flow.chain_tasks.read_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - read - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.read - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/018_core.control_flow.chain_tasks.write_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/018_core.control_flow.chain_tasks.write_1_task.yaml deleted file mode 100755 index db095c5303..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/018_core.control_flow.chain_tasks.write_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - write - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.write - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml deleted file mode 100755 index 58205b8d6c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml +++ /dev/null @@ -1,181 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.control_flow.chain_tasks.chain_tasks_wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.chain_tasks.write - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: write - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.chain_tasks.read - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: read - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - read - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.read - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - write - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.write - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/021_core.control_flow.checkpoint.use_checkpoint_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/021_core.control_flow.checkpoint.use_checkpoint_1_task.yaml deleted file mode 100755 index f08dc2d352..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/021_core.control_flow.checkpoint.use_checkpoint_1_task.yaml +++ /dev/null @@ -1,58 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.checkpoint - - task-name - - use_checkpoint - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.checkpoint.use_checkpoint - resource_type: 1 - interface: - inputs: - variables: - n_iterations: - description: n_iterations - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: - retries: 3 - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/022_core.control_flow.checkpoint.example_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/022_core.control_flow.checkpoint.example_2_wf.yaml deleted file mode 100755 index c5499fa617..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/022_core.control_flow.checkpoint.example_2_wf.yaml +++ /dev/null @@ -1,135 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.control_flow.checkpoint.example - resource_type: 2 - interface: - inputs: - variables: - n_iterations: - description: n_iterations - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.checkpoint.use_checkpoint - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: n_iterations - var: n_iterations - metadata: - InterruptibleValue: null - name: use_checkpoint - retries: - retries: 3 - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.checkpoint - - task-name - - use_checkpoint - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.checkpoint.use_checkpoint - resource_type: 1 - interface: - inputs: - variables: - n_iterations: - description: n_iterations - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: - retries: 3 - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/024_core.control_flow.conditions.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/024_core.control_flow.conditions.square_1_task.yaml deleted file mode 100755 index d53228e9f2..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/024_core.control_flow.conditions.square_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable, and - the type is automatically mapped to Types.Integer - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/025_core.control_flow.conditions.double_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/025_core.control_flow.conditions.double_1_task.yaml deleted file mode 100755 index c9567909a6..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/025_core.control_flow.conditions.double_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable - and the type is mapped to ``Types.Integer`` - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/026_core.control_flow.conditions.multiplier_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/026_core.control_flow.conditions.multiplier_2_wf.yaml deleted file mode 100755 index 035ad43712..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/026_core.control_flow.conditions.multiplier_2_wf.yaml +++ /dev/null @@ -1,265 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - n0-n0: - ids: - - start-node - n0-n1: - ids: - - start-node - template: - id: - name: core.control_flow.conditions.multiplier - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n0-n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 3 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 5 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0-n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable - and the type is mapped to ``Types.Integer`` - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable, and - the type is automatically mapped to Types.Integer - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/028_core.control_flow.conditions.multiplier_2_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/028_core.control_flow.conditions.multiplier_2_2_wf.yaml deleted file mode 100755 index 95759eaa41..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/028_core.control_flow.conditions.multiplier_2_2_wf.yaml +++ /dev/null @@ -1,296 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - n0-n0: - ids: - - start-node - n0-n1: - ids: - - start-node - template: - id: - name: core.control_flow.conditions.multiplier_2 - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - BranchNode: - if_else: - Default: - Error: - failed_node_id: fractions - message: The input must be between 0 and 10 - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0-n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 5 - right_value: - Val: - Primitive: - Value: - FloatValue: 10 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n0-n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable - and the type is mapped to ``Types.Integer`` - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable, and - the type is automatically mapped to Types.Integer - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/030_core.control_flow.conditions.multiplier_3_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/030_core.control_flow.conditions.multiplier_3_2_wf.yaml deleted file mode 100755 index fbe3fe679a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/030_core.control_flow.conditions.multiplier_3_2_wf.yaml +++ /dev/null @@ -1,323 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n0-n0: - ids: - - start-node - n0-n1: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.control_flow.conditions.multiplier_3 - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - BranchNode: - if_else: - Default: - Error: - failed_node_id: fractions - message: The input must be between 0 and 10 - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0-n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 10 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n0-n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable - and the type is mapped to ``Types.Integer`` - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable, and - the type is automatically mapped to Types.Integer - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/032_core.control_flow.conditions.coin_toss_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/032_core.control_flow.conditions.coin_toss_1_task.yaml deleted file mode 100755 index 8870ff8d73..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/032_core.control_flow.conditions.coin_toss_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - coin_toss - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - interface: - inputs: - variables: - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 4 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/033_core.control_flow.conditions.failed_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/033_core.control_flow.conditions.failed_1_task.yaml deleted file mode 100755 index 5e0aa7d5d7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/033_core.control_flow.conditions.failed_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - failed - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.failed - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/034_core.control_flow.conditions.success_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/034_core.control_flow.conditions.success_1_task.yaml deleted file mode 100755 index bc6b50e4fc..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/034_core.control_flow.conditions.success_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - success - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.success - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml deleted file mode 100755 index e1774834c9..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml +++ /dev/null @@ -1,297 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.control_flow.conditions.basic_boolean_wf - resource_type: 2 - interface: - inputs: - variables: - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: seed - var: seed - metadata: - InterruptibleValue: null - name: coin_toss - retries: {} - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.failed - resource_type: 1 - overrides: {} - id: n1-n1 - metadata: - InterruptibleValue: null - name: failed - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: n0.o0 - right_value: - Val: - Primitive: - Value: - Boolean: true - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.success - resource_type: 1 - overrides: {} - id: n1-n0 - metadata: - InterruptibleValue: null - name: success - retries: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: n0.o0 - metadata: - InterruptibleValue: null - name: test - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - coin_toss - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - interface: - inputs: - variables: - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 4 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - failed - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.failed - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - success - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.success - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml deleted file mode 100755 index 949321dda2..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml +++ /dev/null @@ -1,213 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.control_flow.conditions.bool_input_wf - resource_type: 2 - interface: - inputs: - variables: - b: - description: b - type: - Type: - Simple: 4 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.failed - resource_type: 1 - overrides: {} - id: n0-n1 - metadata: - InterruptibleValue: null - name: failed - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: .b - right_value: - Val: - Primitive: - Value: - Boolean: true - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.success - resource_type: 1 - overrides: {} - id: n0-n0 - metadata: - InterruptibleValue: null - name: success - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: b - var: .b - metadata: - InterruptibleValue: null - name: test - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - failed - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.failed - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - success - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.success - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/039_core.control_flow.conditions.nested_conditions_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/039_core.control_flow.conditions.nested_conditions_2_wf.yaml deleted file mode 100755 index a61d08e8c5..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/039_core.control_flow.conditions.nested_conditions_2_wf.yaml +++ /dev/null @@ -1,403 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - n0-n0: - ids: - - start-node - n0-n0-n0: - ids: - - start-node - n0-n0-n1: - ids: - - start-node - n0-n1: - ids: - - start-node - n0-n2: - ids: - - start-node - template: - id: - name: core.control_flow.conditions.nested_conditions - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0-n2 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - case: - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - then_node: - Target: - BranchNode: - if_else: - Default: - Error: - failed_node_id: inner_fractions - message: Only <0.7 allowed - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.5 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n0-n0-n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.5 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 0.7 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n0-n0-n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0-n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: inner_fractions - retries: {} - other: - - condition: - Expr: - Conjunction: - left_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 2 - right_value: - Val: - Primitive: - Value: - FloatValue: 1 - right_expression: - Expr: - Comparison: - left_value: - Val: - Var: .my_input - operator: 4 - right_value: - Val: - Primitive: - Value: - FloatValue: 10 - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n0-n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: .my_input - metadata: - InterruptibleValue: null - name: fractions - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable - and the type is mapped to ``Types.Integer`` - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable, and - the type is automatically mapped to Types.Integer - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/041_core.control_flow.conditions.calc_sum_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/041_core.control_flow.conditions.calc_sum_1_task.yaml deleted file mode 100755 index 87bdc4a87f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/041_core.control_flow.conditions.calc_sum_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - calc_sum - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.calc_sum - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/042_core.control_flow.conditions.consume_outputs_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/042_core.control_flow.conditions.consume_outputs_2_wf.yaml deleted file mode 100755 index 20926d2160..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/042_core.control_flow.conditions.consume_outputs_2_wf.yaml +++ /dev/null @@ -1,433 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - n2 - n2: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n2 - n0: - ids: - - start-node - n1: - ids: - - n0 - n1-n0: - ids: - - start-node - n1-n1: - ids: - - start-node - n2: - ids: - - n1 - template: - id: - name: core.control_flow.conditions.consume_outputs - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 2 - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: seed - var: seed - metadata: - InterruptibleValue: null - name: coin_toss - retries: {} - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.calc_sum - resource_type: 1 - overrides: {} - id: n1-n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: a - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: b - metadata: - InterruptibleValue: null - name: calc_sum - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: n0.o0 - right_value: - Val: - Primitive: - Value: - Boolean: true - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.square - resource_type: 1 - overrides: {} - id: n1-n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: "n" - metadata: - InterruptibleValue: null - name: square - retries: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: n0.o0 - metadata: - InterruptibleValue: null - name: double_or_square - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.conditions.double - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: "n" - metadata: - InterruptibleValue: null - name: double - retries: {} - upstream_node_ids: - - n1 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - calc_sum - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.calc_sum - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 2 - b: - description: b - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - coin_toss - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.coin_toss - resource_type: 1 - interface: - inputs: - variables: - seed: - description: seed - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 4 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable - and the type is mapped to ``Types.Integer`` - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: |- - name of the parameter for the task is derived from the name of the input variable, and - the type is automatically mapped to Types.Integer - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/044_core.control_flow.dynamics.return_index_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/044_core.control_flow.dynamics.return_index_1_task.yaml deleted file mode 100755 index 0a35877307..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/044_core.control_flow.dynamics.return_index_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - return_index - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.return_index - resource_type: 1 - interface: - inputs: - variables: - character: - description: character - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/045_core.control_flow.dynamics.update_list_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/045_core.control_flow.dynamics.update_list_1_task.yaml deleted file mode 100755 index 555f8dddba..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/045_core.control_flow.dynamics.update_list_1_task.yaml +++ /dev/null @@ -1,66 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - update_list - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.update_list - resource_type: 1 - interface: - inputs: - variables: - freq_list: - description: freq_list - type: - Type: - CollectionType: - Type: - Simple: 1 - list_index: - description: list_index - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/046_core.control_flow.dynamics.derive_count_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/046_core.control_flow.dynamics.derive_count_1_task.yaml deleted file mode 100755 index 9e924e6004..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/046_core.control_flow.dynamics.derive_count_1_task.yaml +++ /dev/null @@ -1,66 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - derive_count - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.derive_count - resource_type: 1 - interface: - inputs: - variables: - freq1: - description: freq1 - type: - Type: - CollectionType: - Type: - Simple: 1 - freq2: - description: freq2 - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/047_core.control_flow.dynamics.count_characters_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/047_core.control_flow.dynamics.count_characters_1_task.yaml deleted file mode 100755 index 0605db6c29..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/047_core.control_flow.dynamics.count_characters_1_task.yaml +++ /dev/null @@ -1,65 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - count_characters - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.count_characters - resource_type: 1 - interface: - inputs: - variables: - s1: - description: s1 - type: - Type: - Simple: 3 - s2: - description: s2 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/048_core.control_flow.dynamics.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/048_core.control_flow.dynamics.wf_2_wf.yaml deleted file mode 100755 index cc80b0308d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/048_core.control_flow.dynamics.wf_2_wf.yaml +++ /dev/null @@ -1,152 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.control_flow.dynamics.wf - resource_type: 2 - interface: - inputs: - variables: - s1: - description: s1 - type: - Type: - Simple: 3 - s2: - description: s2 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.dynamics.count_characters - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: s1 - var: s1 - - binding: - Value: - Promise: - node_id: start-node - var: s2 - var: s2 - metadata: - InterruptibleValue: null - name: count_characters - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - count_characters - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.count_characters - resource_type: 1 - interface: - inputs: - variables: - s1: - description: s1 - type: - Type: - Simple: 3 - s2: - description: s2 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/050_core.control_flow.map_task.a_mappable_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/050_core.control_flow.map_task.a_mappable_task_1_task.yaml deleted file mode 100755 index 2cc969bce7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/050_core.control_flow.map_task.a_mappable_task_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - a_mappable_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.map_task.a_mappable_task - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/051_core.control_flow.map_task.coalesce_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/051_core.control_flow.map_task.coalesce_1_task.yaml deleted file mode 100755 index c1add64c9d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/051_core.control_flow.map_task.coalesce_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - coalesce - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.map_task.coalesce - resource_type: 1 - interface: - inputs: - variables: - b: - description: b - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/052_core.control_flow.map_task.mapper_a_mappable_task_0_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/052_core.control_flow.map_task.mapper_a_mappable_task_0_1_task.yaml deleted file mode 100755 index 955ac744ce..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/052_core.control_flow.map_task.mapper_a_mappable_task_0_1_task.yaml +++ /dev/null @@ -1,64 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-map-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - a_mappable_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - custom: - minSuccessRatio: 1 - id: - name: core.control_flow.map_task.mapper_a_mappable_task_0 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - task_type_version: 1 - type: container_array diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml deleted file mode 100755 index 42c7da57a4..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml +++ /dev/null @@ -1,236 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.control_flow.map_task.my_map_workflow - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.map_task.mapper_a_mappable_task_0 - resource_type: 1 - overrides: - resources: - limits: - - name: 3 - value: 500Mi - requests: - - name: 3 - value: 300Mi - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - metadata: - InterruptibleValue: null - name: mapper_a_mappable_task_0 - retries: - retries: 1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.map_task.coalesce - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: b - metadata: - InterruptibleValue: null - name: coalesce - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - coalesce - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.map_task.coalesce - resource_type: 1 - interface: - inputs: - variables: - b: - description: b - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-map-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - a_mappable_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - custom: - minSuccessRatio: 1 - id: - name: core.control_flow.map_task.mapper_a_mappable_task_0 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - task_type_version: 1 - type: container_array diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/055_core.control_flow.merge_sort.split_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/055_core.control_flow.merge_sort.split_1_task.yaml deleted file mode 100755 index 46815cb6ef..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/055_core.control_flow.merge_sort.split_1_task.yaml +++ /dev/null @@ -1,73 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - split - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.split - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - o1: - description: o1 - type: - Type: - CollectionType: - Type: - Simple: 1 - o2: - description: o2 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/056_core.control_flow.merge_sort.merge_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/056_core.control_flow.merge_sort.merge_1_task.yaml deleted file mode 100755 index bb3a3dbbcc..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/056_core.control_flow.merge_sort.merge_1_task.yaml +++ /dev/null @@ -1,68 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - merge - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.merge - resource_type: 1 - interface: - inputs: - variables: - sorted_list1: - description: sorted_list1 - type: - Type: - CollectionType: - Type: - Simple: 1 - sorted_list2: - description: sorted_list2 - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/057_core.control_flow.merge_sort.sort_locally_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/057_core.control_flow.merge_sort.sort_locally_1_task.yaml deleted file mode 100755 index 3741ee770b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/057_core.control_flow.merge_sort.sort_locally_1_task.yaml +++ /dev/null @@ -1,61 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - sort_locally - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.sort_locally - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/058_core.control_flow.merge_sort.merge_sort_remotely_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/058_core.control_flow.merge_sort.merge_sort_remotely_1_task.yaml deleted file mode 100755 index f61183d9c1..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/058_core.control_flow.merge_sort.merge_sort_remotely_1_task.yaml +++ /dev/null @@ -1,69 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - merge_sort_remotely - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.merge_sort_remotely - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - run_local_at_count: - description: run_local_at_count - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml deleted file mode 100755 index 217bfa1a0b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml +++ /dev/null @@ -1,286 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - n0-n0: - ids: - - start-node - n0-n1: - ids: - - start-node - template: - id: - name: core.control_flow.merge_sort.merge_sort - resource_type: 2 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - numbers_count: - description: numbers_count - type: - Type: - Simple: 1 - run_local_at_count: - description: run_local_at_count - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - BranchNode: - if_else: - Default: - ElseNode: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.merge_sort.merge_sort_remotely - resource_type: 1 - overrides: {} - id: n0-n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: numbers - var: numbers - - binding: - Value: - Promise: - node_id: start-node - var: run_local_at_count - var: run_local_at_count - metadata: - InterruptibleValue: null - name: merge_sort_remotely - retries: {} - case: - condition: - Expr: - Comparison: - left_value: - Val: - Var: .numbers_count - operator: 5 - right_value: - Val: - Var: .run_local_at_count - then_node: - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.merge_sort.sort_locally - resource_type: 1 - overrides: {} - id: n0-n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: numbers - var: numbers - metadata: - InterruptibleValue: null - name: sort_locally - retries: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: numbers_count - var: .numbers_count - - binding: - Value: - Promise: - node_id: start-node - var: run_local_at_count - var: .run_local_at_count - metadata: - InterruptibleValue: null - name: terminal_case - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - merge_sort_remotely - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.merge_sort_remotely - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - run_local_at_count: - description: run_local_at_count - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - sort_locally - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.sort_locally - resource_type: 1 - interface: - inputs: - variables: - numbers: - description: numbers - type: - Type: - CollectionType: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/061_core.control_flow.subworkflows.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/061_core.control_flow.subworkflows.t1_1_task.yaml deleted file mode 100755 index c6d2005f44..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/061_core.control_flow.subworkflows.t1_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - t1_int_output: - description: t1_int_output - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml deleted file mode 100755 index 1cefa24edc..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml +++ /dev/null @@ -1,184 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.control_flow.subworkflows.my_subwf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: c - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: c - var: o1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.subworkflows.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.subworkflows.t1 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: t1_int_output - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: c - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: c - var: o1 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - t1_int_output: - description: t1_int_output - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/068_core.control_flow.subworkflows.count_freq_words_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/068_core.control_flow.subworkflows.count_freq_words_1_task.yaml deleted file mode 100755 index a57956cc71..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/068_core.control_flow.subworkflows.count_freq_words_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - count_freq_words - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.count_freq_words - resource_type: 1 - interface: - inputs: - variables: - input_string1: - description: input_string1 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml deleted file mode 100755 index a76deaaece..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml +++ /dev/null @@ -1,133 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.control_flow.subworkflows.ext_workflow - resource_type: 2 - interface: - inputs: - variables: - my_input: - description: my_input - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.control_flow.subworkflows.count_freq_words - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: my_input - var: input_string1 - metadata: - InterruptibleValue: null - name: count_freq_words - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - count_freq_words - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.count_freq_words - resource_type: 1 - interface: - inputs: - variables: - input_string1: - description: input_string1 - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/072_core.control_flow.subworkflows.count_repetitive_words_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/072_core.control_flow.subworkflows.count_repetitive_words_1_task.yaml deleted file mode 100755 index c960ed3fdb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/072_core.control_flow.subworkflows.count_repetitive_words_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - count_repetitive_words - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.count_repetitive_words - resource_type: 1 - interface: - inputs: - variables: - word_counter: - description: word_counter - type: - Type: - Simple: 9 - outputs: - variables: - o0: - description: o0 - type: - Type: - CollectionType: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/075_my-objectstore-sensor_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/075_my-objectstore-sensor_1_task.yaml deleted file mode 100755 index 02c6d654ba..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/075_my-objectstore-sensor_1_task.yaml +++ /dev/null @@ -1,31 +0,0 @@ -template: - Target: null - id: - name: my-objectstore-sensor - resource_type: 1 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: - retries: 10 - runtime: - flavor: python - type: 1 - version: 0.32.6 - timeout: - seconds: 1200 - type: object-store-sensor diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/076_core.extend_flyte.custom_task_plugin.print_file_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/076_core.extend_flyte.custom_task_plugin.print_file_1_task.yaml deleted file mode 100755 index 22abe612cf..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/076_core.extend_flyte.custom_task_plugin.print_file_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_task_plugin - - task-name - - print_file - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_task_plugin.print_file - resource_type: 1 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml deleted file mode 100755 index 402fd6cf3a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml +++ /dev/null @@ -1,194 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.extend_flyte.custom_task_plugin.my_workflow - resource_type: 2 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: my-objectstore-sensor - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: path - var: path - metadata: - InterruptibleValue: null - name: my-objectstore-sensor - retries: - retries: 10 - timeout: - seconds: 1200 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.extend_flyte.custom_task_plugin.print_file - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: path - var: path - metadata: - InterruptibleValue: null - name: print_file - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_task_plugin - - task-name - - print_file - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_task_plugin.print_file - resource_type: 1 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: null - id: - name: my-objectstore-sensor - resource_type: 1 - interface: - inputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - outputs: - variables: - path: - description: path - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: - retries: 10 - runtime: - flavor: python - type: 1 - version: 0.32.6 - timeout: - seconds: 1200 - type: object-store-sensor diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/079_core.extend_flyte.custom_types.generate_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/079_core.extend_flyte.custom_types.generate_1_task.yaml deleted file mode 100755 index 09de82f8df..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/079_core.extend_flyte.custom_types.generate_1_task.yaml +++ /dev/null @@ -1,53 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - generate - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.generate - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - format: binary - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/080_core.extend_flyte.custom_types.consume_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/080_core.extend_flyte.custom_types.consume_1_task.yaml deleted file mode 100755 index 534a613c23..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/080_core.extend_flyte.custom_types.consume_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - consume - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.consume - resource_type: 1 - interface: - inputs: - variables: - d: - description: d - type: - Type: - Blob: - dimensionality: 1 - format: binary - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/081_core.extend_flyte.custom_types.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/081_core.extend_flyte.custom_types.wf_2_wf.yaml deleted file mode 100755 index a787de1df1..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/081_core.extend_flyte.custom_types.wf_2_wf.yaml +++ /dev/null @@ -1,202 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.extend_flyte.custom_types.wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.extend_flyte.custom_types.generate - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: generate - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.extend_flyte.custom_types.consume - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: d - metadata: - InterruptibleValue: null - name: consume - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - consume - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.consume - resource_type: 1 - interface: - inputs: - variables: - d: - description: d - type: - Type: - Blob: - dimensionality: 1 - format: binary - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - generate - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.generate - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - format: binary - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/083_core.flyte_basics.basic_workflow.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/083_core.flyte_basics.basic_workflow.t1_1_task.yaml deleted file mode 100755 index a51c5f9305..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/083_core.flyte_basics.basic_workflow.t1_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - t1_int_output: - description: t1_int_output - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/084_core.flyte_basics.basic_workflow.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/084_core.flyte_basics.basic_workflow.t2_1_task.yaml deleted file mode 100755 index cbafc25090..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/084_core.flyte_basics.basic_workflow.t2_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t2 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 3 - b: - description: b - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml deleted file mode 100755 index 411de9a45b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml +++ /dev/null @@ -1,259 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - - n1 - upstream: - end-node: - ids: - - n0 - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - - start-node - template: - id: - name: core.flyte_basics.basic_workflow.my_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - b: - description: b - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: t1_int_output - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.basic_workflow.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.basic_workflow.t2 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: c - var: a - - binding: - Value: - Promise: - node_id: start-node - var: b - var: b - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: t1_int_output - var: o0 - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o1 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - t1_int_output: - description: t1_int_output - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t2 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 3 - b: - description: b - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/087_core.flyte_basics.decorating_tasks.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/087_core.flyte_basics.decorating_tasks.t1_1_task.yaml deleted file mode 100755 index aeb251f66a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/087_core.flyte_basics.decorating_tasks.t1_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/088_core.flyte_basics.decorating_tasks.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/088_core.flyte_basics.decorating_tasks.t2_1_task.yaml deleted file mode 100755 index 44a9b9db2d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/088_core.flyte_basics.decorating_tasks.t2_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml deleted file mode 100755 index 299e8cbe8e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml +++ /dev/null @@ -1,217 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.flyte_basics.decorating_tasks.wf - resource_type: 2 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_tasks.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: x - var: x - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_tasks.t2 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: x - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/091_core.flyte_basics.decorating_workflows.setup_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/091_core.flyte_basics.decorating_workflows.setup_1_task.yaml deleted file mode 100755 index ad1ed53be6..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/091_core.flyte_basics.decorating_workflows.setup_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - setup - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.setup - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/092_core.flyte_basics.decorating_workflows.teardown_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/092_core.flyte_basics.decorating_workflows.teardown_1_task.yaml deleted file mode 100755 index ea344ea06b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/092_core.flyte_basics.decorating_workflows.teardown_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - teardown - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.teardown - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/093_core.flyte_basics.decorating_workflows.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/093_core.flyte_basics.decorating_workflows.t1_1_task.yaml deleted file mode 100755 index a2a6ce0bc2..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/093_core.flyte_basics.decorating_workflows.t1_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/094_core.flyte_basics.decorating_workflows.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/094_core.flyte_basics.decorating_workflows.t2_1_task.yaml deleted file mode 100755 index 05101da678..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/094_core.flyte_basics.decorating_workflows.t2_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml deleted file mode 100755 index ac0947fce4..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml +++ /dev/null @@ -1,351 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - n2 - n2: - ids: - - end-node - - n3 - n3: - ids: - - end-node - start-node: - ids: - - n0 - - n1 - upstream: - end-node: - ids: - - n2 - - n3 - n0: - ids: - - start-node - n1: - ids: - - n0 - - start-node - n2: - ids: - - n1 - n3: - ids: - - n2 - template: - id: - name: core.flyte_basics.decorating_workflows.wf - resource_type: 2 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.setup - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: setup - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.t1 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: x - var: x - metadata: - InterruptibleValue: null - name: t1 - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.t2 - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: x - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.decorating_workflows.teardown - resource_type: 1 - overrides: {} - id: n3 - metadata: - InterruptibleValue: null - name: teardown - retries: {} - upstream_node_ids: - - n2 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - setup - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.setup - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - teardown - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.teardown - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/097_core.flyte_basics.documented_workflow.add_data_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/097_core.flyte_basics.documented_workflow.add_data_1_task.yaml deleted file mode 100755 index a944d1b37e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/097_core.flyte_basics.documented_workflow.add_data_1_task.yaml +++ /dev/null @@ -1,80 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - interface: - inputs: - variables: - data: - description: data - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml deleted file mode 100755 index df003fe4cb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml +++ /dev/null @@ -1,186 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.flyte_basics.documented_workflow.sphinx_docstring - resource_type: 2 - interface: - inputs: - variables: - data: - description: A data class pertaining to the new record to be stored in - the DataFrame - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: data - var: data - - binding: - Value: - Promise: - node_id: start-node - var: df - var: df - metadata: - InterruptibleValue: null - name: add_data - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - interface: - inputs: - variables: - data: - description: data - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml deleted file mode 100755 index a2a7dabb14..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml +++ /dev/null @@ -1,186 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.flyte_basics.documented_workflow.numpy_docstring - resource_type: 2 - interface: - inputs: - variables: - data: - description: A data class pertaining to the new record to be stored in - the DataFrame - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: data - var: data - - binding: - Value: - Promise: - node_id: start-node - var: df - var: df - metadata: - InterruptibleValue: null - name: add_data - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - interface: - inputs: - variables: - data: - description: data - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml deleted file mode 100755 index 4c01741d60..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml +++ /dev/null @@ -1,186 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.flyte_basics.documented_workflow.google_docstring - resource_type: 2 - interface: - inputs: - variables: - data: - description: A data class pertaining to the new record to be stored in - the DataFrame - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: Pandas DataFrame - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: data - var: data - - binding: - Value: - Promise: - node_id: start-node - var: df - var: df - metadata: - InterruptibleValue: null - name: add_data - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resource_type: 1 - interface: - inputs: - variables: - data: - description: data - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/PandasdataSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - PandasdataSchema: - additionalProperties: false - properties: - id: - default: 3 - title: id - type: integer - name: - default: Bonnie - title: name - type: string - type: object - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/104_core.flyte_basics.files.normalize_columns_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/104_core.flyte_basics.files.normalize_columns_1_task.yaml deleted file mode 100755 index a1bc588031..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/104_core.flyte_basics.files.normalize_columns_1_task.yaml +++ /dev/null @@ -1,76 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.files - - task-name - - normalize_columns - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.files.normalize_columns - resource_type: 1 - interface: - inputs: - variables: - column_names: - description: column_names - type: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize: - description: columns_to_normalize - type: - Type: - CollectionType: - Type: - Simple: 3 - csv_url: - description: csv_url - type: - Type: - Blob: {} - output_location: - description: output_location - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml deleted file mode 100755 index 7114a4db9b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml +++ /dev/null @@ -1,189 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.flyte_basics.files.normalize_csv_file - resource_type: 2 - interface: - inputs: - variables: - column_names: - description: column_names - type: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize: - description: columns_to_normalize - type: - Type: - CollectionType: - Type: - Simple: 3 - csv_url: - description: csv_url - type: - Type: - Blob: {} - output_location: - description: output_location - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.files.normalize_columns - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: column_names - var: column_names - - binding: - Value: - Promise: - node_id: start-node - var: columns_to_normalize - var: columns_to_normalize - - binding: - Value: - Promise: - node_id: start-node - var: csv_url - var: csv_url - - binding: - Value: - Promise: - node_id: start-node - var: output_location - var: output_location - metadata: - InterruptibleValue: null - name: normalize_columns - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.files - - task-name - - normalize_columns - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.files.normalize_columns - resource_type: 1 - interface: - inputs: - variables: - column_names: - description: column_names - type: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize: - description: columns_to_normalize - type: - Type: - CollectionType: - Type: - Simple: 3 - csv_url: - description: csv_url - type: - Type: - Blob: {} - output_location: - description: output_location - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/107_core.flyte_basics.folders.download_files_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/107_core.flyte_basics.folders.download_files_1_task.yaml deleted file mode 100755 index a791a8bb62..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/107_core.flyte_basics.folders.download_files_1_task.yaml +++ /dev/null @@ -1,60 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - download_files - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.download_files - resource_type: 1 - interface: - inputs: - variables: - csv_urls: - description: csv_urls - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/108_core.flyte_basics.folders.normalize_all_files_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/108_core.flyte_basics.folders.normalize_all_files_1_task.yaml deleted file mode 100755 index 9aee2ad720..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/108_core.flyte_basics.folders.normalize_all_files_1_task.yaml +++ /dev/null @@ -1,77 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - normalize_all_files - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.normalize_all_files - resource_type: 1 - interface: - inputs: - variables: - columns_metadata: - description: columns_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize_metadata: - description: columns_to_normalize_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - csv_files_dir: - description: csv_files_dir - type: - Type: - Blob: - dimensionality: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml deleted file mode 100755 index b2e00b94bb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml +++ /dev/null @@ -1,275 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - - n1 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - - start-node - template: - id: - name: core.flyte_basics.folders.download_and_normalize_csv_files - resource_type: 2 - interface: - inputs: - variables: - columns_metadata: - description: columns_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize_metadata: - description: columns_to_normalize_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - csv_urls: - description: csv_urls - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.folders.download_files - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: csv_urls - var: csv_urls - metadata: - InterruptibleValue: null - name: download_files - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.folders.normalize_all_files - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: columns_metadata - var: columns_metadata - - binding: - Value: - Promise: - node_id: start-node - var: columns_to_normalize_metadata - var: columns_to_normalize_metadata - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: csv_files_dir - metadata: - InterruptibleValue: null - name: normalize_all_files - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - download_files - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.download_files - resource_type: 1 - interface: - inputs: - variables: - csv_urls: - description: csv_urls - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - normalize_all_files - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.normalize_all_files - resource_type: 1 - interface: - inputs: - variables: - columns_metadata: - description: columns_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - columns_to_normalize_metadata: - description: columns_to_normalize_metadata - type: - Type: - CollectionType: - Type: - CollectionType: - Type: - Simple: 3 - csv_files_dir: - description: csv_files_dir - type: - Type: - Blob: - dimensionality: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/111_core.flyte_basics.hello_world.say_hello_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/111_core.flyte_basics.hello_world.say_hello_1_task.yaml deleted file mode 100755 index 5f7e8df0fd..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/111_core.flyte_basics.hello_world.say_hello_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.hello_world - - task-name - - say_hello - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.hello_world.say_hello - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml deleted file mode 100755 index 854d8d3f83..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml +++ /dev/null @@ -1,114 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.flyte_basics.hello_world.my_wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.hello_world.say_hello - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: say_hello - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.hello_world - - task-name - - say_hello - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.hello_world.say_hello - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/114_core.flyte_basics.imperative_wf_style.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/114_core.flyte_basics.imperative_wf_style.t1_1_task.yaml deleted file mode 100755 index 1ca8539fcd..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/114_core.flyte_basics.imperative_wf_style.t1_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/115_core.flyte_basics.imperative_wf_style.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/115_core.flyte_basics.imperative_wf_style.t2_1_task.yaml deleted file mode 100755 index a12ef17894..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/115_core.flyte_basics.imperative_wf_style.t2_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t2 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/116_core.flyte_basics.imperative_wf_style.t3_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/116_core.flyte_basics.imperative_wf_style.t3_1_task.yaml deleted file mode 100755 index ce91ab3341..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/116_core.flyte_basics.imperative_wf_style.t3_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t3 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t3 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/117_my.imperative.workflow.example_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/117_my.imperative.workflow.example_2_wf.yaml deleted file mode 100755 index 995b858161..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/117_my.imperative.workflow.example_2_wf.yaml +++ /dev/null @@ -1,329 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - n1: - ids: - - end-node - n2: - ids: - - end-node - start-node: - ids: - - n0 - - n1 - - n2 - upstream: - end-node: - ids: - - n0 - - n1 - - n2 - n0: - ids: - - start-node - n1: - ids: - - start-node - n2: - ids: - - start-node - template: - id: - name: my.imperative.workflow.example - resource_type: 2 - interface: - inputs: - variables: - in1: - description: in1 - type: - Type: - Simple: 3 - in2: - description: in2 - type: - Type: - Simple: 3 - outputs: - variables: - output_from_t1: - description: output_from_t1 - type: - Type: - Simple: 3 - output_list: - description: output_list - type: - Type: - CollectionType: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: output_from_t1 - - binding: - Value: - Collection: - bindings: - - Value: - Promise: - node_id: n0 - var: o0 - - Value: - Promise: - node_id: n2 - var: o0 - var: output_list - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.imperative_wf_style.t1 - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: in1 - var: a - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.imperative_wf_style.t2 - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: t2 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.imperative_wf_style.t3 - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Collection: - bindings: - - Value: - Promise: - node_id: start-node - var: in1 - - Value: - Promise: - node_id: start-node - var: in2 - var: a - metadata: - InterruptibleValue: null - name: t3 - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: output_from_t1 - - binding: - Value: - Collection: - bindings: - - Value: - Promise: - node_id: n0 - var: o0 - - Value: - Promise: - node_id: n2 - var: o0 - var: output_list -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t1 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t2 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t3 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t3 - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - CollectionType: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/119_core.flyte_basics.lp.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/119_core.flyte_basics.lp.square_1_task.yaml deleted file mode 100755 index c124729504..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/119_core.flyte_basics.lp.square_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.square - resource_type: 1 - interface: - inputs: - variables: - val: - description: val - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/120_core.flyte_basics.lp.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/120_core.flyte_basics.lp.my_wf_2_wf.yaml deleted file mode 100755 index e65a21d916..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/120_core.flyte_basics.lp.my_wf_2_wf.yaml +++ /dev/null @@ -1,133 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.flyte_basics.lp.my_wf - resource_type: 2 - interface: - inputs: - variables: - val: - description: val - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.lp.square - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: val - var: val - metadata: - InterruptibleValue: null - name: square - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.square - resource_type: 1 - interface: - inputs: - variables: - val: - description: val - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/124_core.flyte_basics.lp.greet_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/124_core.flyte_basics.lp.greet_1_task.yaml deleted file mode 100755 index e1f4b461de..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/124_core.flyte_basics.lp.greet_1_task.yaml +++ /dev/null @@ -1,67 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - greet - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.greet - resource_type: 1 - interface: - inputs: - variables: - am: - description: am - type: - Type: - Simple: 4 - day_of_week: - description: day_of_week - type: - Type: - Simple: 3 - number: - description: number - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/125_core.flyte_basics.lp.go_greet_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/125_core.flyte_basics.lp.go_greet_2_wf.yaml deleted file mode 100755 index 108e7c2f3a..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/125_core.flyte_basics.lp.go_greet_2_wf.yaml +++ /dev/null @@ -1,165 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.flyte_basics.lp.go_greet - resource_type: 2 - interface: - inputs: - variables: - am: - description: am - type: - Type: - Simple: 4 - day_of_week: - description: day_of_week - type: - Type: - Simple: 3 - number: - description: number - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.lp.greet - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: am - var: am - - binding: - Value: - Promise: - node_id: start-node - var: day_of_week - var: day_of_week - - binding: - Value: - Promise: - node_id: start-node - var: number - var: number - metadata: - InterruptibleValue: null - name: greet - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - greet - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.greet - resource_type: 1 - interface: - inputs: - variables: - am: - description: am - type: - Type: - Simple: 4 - day_of_week: - description: day_of_week - type: - Type: - Simple: 3 - number: - description: number - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/128_core.flyte_basics.named_outputs.say_hello_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/128_core.flyte_basics.named_outputs.say_hello_1_task.yaml deleted file mode 100755 index 6a66d8ed7c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/128_core.flyte_basics.named_outputs.say_hello_1_task.yaml +++ /dev/null @@ -1,51 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.named_outputs - - task-name - - say_hello - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.named_outputs.say_hello - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - greet: - description: greet - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml deleted file mode 100755 index 98ca530c6f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml +++ /dev/null @@ -1,151 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - n1: - ids: - - end-node - start-node: - ids: - - n0 - - n1 - upstream: - end-node: - ids: - - n0 - - n1 - n0: - ids: - - start-node - n1: - ids: - - start-node - template: - id: - name: core.flyte_basics.named_outputs.my_wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - greet1: - description: greet1 - type: - Type: - Simple: 3 - greet2: - description: greet2 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: greet - var: greet1 - - binding: - Value: - Promise: - node_id: n1 - var: greet - var: greet2 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.named_outputs.say_hello - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: say_hello - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.named_outputs.say_hello - resource_type: 1 - overrides: {} - id: n1 - metadata: - InterruptibleValue: null - name: say_hello - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: greet - var: greet1 - - binding: - Value: - Promise: - node_id: n1 - var: greet - var: greet2 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.named_outputs - - task-name - - say_hello - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.named_outputs.say_hello - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - greet: - description: greet - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/133__bash.task_1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/133__bash.task_1_1_task.yaml deleted file mode 100755 index 1a0528ae30..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/133__bash.task_1_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - flytekit.extras.tasks.shell - - task-name - - _dummy_task_func - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: _bash.task_1 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/134_task_1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/134_task_1_1_task.yaml deleted file mode 100755 index 589d2bb6ce..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/134_task_1_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - outputs: - variables: - i: - description: i - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/135__bash.task_2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/135__bash.task_2_1_task.yaml deleted file mode 100755 index 897397a2ed..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/135__bash.task_2_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - flytekit.extras.tasks.shell - - task-name - - _dummy_task_func - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: _bash.task_2 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/136_task_2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/136_task_2_1_task.yaml deleted file mode 100755 index 2681009404..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/136_task_2_1_task.yaml +++ /dev/null @@ -1,63 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - "y": - description: "y" - type: - Type: - Blob: - dimensionality: 1 - outputs: - variables: - j: - description: j - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/137__bash.task_3_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/137__bash.task_3_1_task.yaml deleted file mode 100755 index 7eafdfe253..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/137__bash.task_3_1_task.yaml +++ /dev/null @@ -1,45 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - flytekit.extras.tasks.shell - - task-name - - _dummy_task_func - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: _bash.task_3 - resource_type: 1 - interface: - inputs: {} - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/138_task_3_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/138_task_3_1_task.yaml deleted file mode 100755 index 0b355865c9..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/138_task_3_1_task.yaml +++ /dev/null @@ -1,68 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t3 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_3 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - "y": - description: "y" - type: - Type: - Blob: - dimensionality: 1 - z: - description: z - type: - Type: - Blob: {} - outputs: - variables: - k: - description: k - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/139_core.flyte_basics.shell_task.create_entities_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/139_core.flyte_basics.shell_task.create_entities_1_task.yaml deleted file mode 100755 index 817744621d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/139_core.flyte_basics.shell_task.create_entities_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - create_entities - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.shell_task.create_entities - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - o1: - description: o1 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/140_core.flyte_basics.shell_task.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/140_core.flyte_basics.shell_task.wf_2_wf.yaml deleted file mode 100755 index be10236b26..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/140_core.flyte_basics.shell_task.wf_2_wf.yaml +++ /dev/null @@ -1,413 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - - n2 - - n3 - n1: - ids: - - n2 - n2: - ids: - - n3 - n3: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n3 - n0: - ids: - - start-node - n1: - ids: - - n0 - n2: - ids: - - n0 - - n1 - n3: - ids: - - n0 - - n2 - template: - id: - name: core.flyte_basics.shell_task.wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n3 - var: k - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.shell_task.create_entities - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: create_entities - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: task_1 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: x - metadata: - InterruptibleValue: null - name: task_1 - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: task_2 - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: i - var: x - - binding: - Value: - Promise: - node_id: n0 - var: o1 - var: "y" - metadata: - InterruptibleValue: null - name: task_2 - retries: {} - upstream_node_ids: - - n0 - - n1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: task_3 - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: x - - binding: - Value: - Promise: - node_id: n0 - var: o1 - var: "y" - - binding: - Value: - Promise: - node_id: n2 - var: j - var: z - metadata: - InterruptibleValue: null - name: task_3 - retries: {} - upstream_node_ids: - - n0 - - n2 - outputs: - - binding: - Value: - Promise: - node_id: n3 - var: k - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - create_entities - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.shell_task.create_entities - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: {} - o1: - description: o1 - type: - Type: - Blob: - dimensionality: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_1 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - outputs: - variables: - i: - description: i - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_2 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - "y": - description: "y" - type: - Type: - Blob: - dimensionality: 1 - outputs: - variables: - j: - description: j - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t3 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_3 - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Blob: {} - "y": - description: "y" - type: - Type: - Blob: - dimensionality: 1 - z: - description: z - type: - Type: - Blob: {} - outputs: - variables: - k: - description: k - type: - Type: - Blob: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/142_core.flyte_basics.task.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/142_core.flyte_basics.task.square_1_task.yaml deleted file mode 100755 index e75da1ead5..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/142_core.flyte_basics.task.square_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: "n" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/143_core.flyte_basics.task_cache.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/143_core.flyte_basics.task_cache.square_1_task.yaml deleted file mode 100755 index b4f3b0059d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/143_core.flyte_basics.task_cache.square_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: "n" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - discoverable: true - discovery_version: "1.0" - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/144_core.flyte_basics.task_cache.uncached_data_reading_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/144_core.flyte_basics.task_cache.uncached_data_reading_task_1_task.yaml deleted file mode 100755 index 08cc1b4679..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/144_core.flyte_basics.task_cache.uncached_data_reading_task_1_task.yaml +++ /dev/null @@ -1,52 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - uncached_data_reading_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.uncached_data_reading_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/145_core.flyte_basics.task_cache.cached_data_processing_task_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/145_core.flyte_basics.task_cache.cached_data_processing_task_1_task.yaml deleted file mode 100755 index 81122326ef..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/145_core.flyte_basics.task_cache.cached_data_processing_task_1_task.yaml +++ /dev/null @@ -1,61 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - cached_data_processing_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.cached_data_processing_task - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - discoverable: true - discovery_version: "1.0" - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/146_core.flyte_basics.task_cache.compare_dataframes_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/146_core.flyte_basics.task_cache.compare_dataframes_1_task.yaml deleted file mode 100755 index 19c4a0b565..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/146_core.flyte_basics.task_cache.compare_dataframes_1_task.yaml +++ /dev/null @@ -1,58 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - compare_dataframes - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.compare_dataframes - resource_type: 1 - interface: - inputs: - variables: - df1: - description: df1 - type: - Type: - StructuredDatasetType: - format: parquet - df2: - description: df2 - type: - Type: - StructuredDatasetType: - format: parquet - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml deleted file mode 100755 index f9c1413ad3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml +++ /dev/null @@ -1,307 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - - n2 - n1: - ids: - - n2 - - n3 - n2: - ids: - - n3 - n3: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n3 - n0: - ids: - - start-node - n1: - ids: - - n0 - n2: - ids: - - n0 - - n1 - n3: - ids: - - n1 - - n2 - template: - id: - name: core.flyte_basics.task_cache.cached_dataframe_wf - resource_type: 2 - interface: - inputs: {} - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.uncached_data_reading_task - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: uncached_data_reading_task - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.cached_data_processing_task - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: cached_data_processing_task - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.cached_data_processing_task - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: cached_data_processing_task - retries: {} - upstream_node_ids: - - n0 - - n1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.flyte_basics.task_cache.compare_dataframes - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: df1 - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: df2 - metadata: - InterruptibleValue: null - name: compare_dataframes - retries: {} - upstream_node_ids: - - n1 - - n2 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - cached_data_processing_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.cached_data_processing_task - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - discoverable: true - discovery_version: "1.0" - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - compare_dataframes - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.compare_dataframes - resource_type: 1 - interface: - inputs: - variables: - df1: - description: df1 - type: - Type: - StructuredDatasetType: - format: parquet - df2: - description: df2 - type: - Type: - StructuredDatasetType: - format: parquet - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - uncached_data_reading_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.uncached_data_reading_task - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/149_core.flyte_basics.task_cache_serialize.square_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/149_core.flyte_basics.task_cache_serialize.square_1_task.yaml deleted file mode 100755 index f911b28178..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/149_core.flyte_basics.task_cache_serialize.square_1_task.yaml +++ /dev/null @@ -1,60 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache_serialize - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache_serialize.square - resource_type: 1 - interface: - inputs: - variables: - "n": - description: "n" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 1 - metadata: - InterruptibleValue: null - cache_serializable: true - discoverable: true - discovery_version: "1.0" - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/150_core.scheduled_workflows.lp_schedules.format_date_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/150_core.scheduled_workflows.lp_schedules.format_date_1_task.yaml deleted file mode 100755 index dd6011d2a7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/150_core.scheduled_workflows.lp_schedules.format_date_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - format_date - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.format_date - resource_type: 1 - interface: - inputs: - variables: - run_date: - description: run_date - type: - Type: - Simple: 5 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml deleted file mode 100755 index 63b51ed885..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml +++ /dev/null @@ -1,113 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.scheduled_workflows.lp_schedules.date_formatter_wf - resource_type: 2 - interface: - inputs: - variables: - kickoff_time: - description: kickoff_time - type: - Type: - Simple: 5 - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.scheduled_workflows.lp_schedules.format_date - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: kickoff_time - var: run_date - metadata: - InterruptibleValue: null - name: format_date - retries: {} -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - format_date - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.format_date - resource_type: 1 - interface: - inputs: - variables: - run_date: - description: run_date - type: - Type: - Simple: 5 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/154_core.scheduled_workflows.lp_schedules.be_positive_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/154_core.scheduled_workflows.lp_schedules.be_positive_1_task.yaml deleted file mode 100755 index 8307254f44..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/154_core.scheduled_workflows.lp_schedules.be_positive_1_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - be_positive - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.be_positive - resource_type: 1 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml deleted file mode 100755 index ce6892e8ad..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml +++ /dev/null @@ -1,113 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.scheduled_workflows.lp_schedules.positive_wf - resource_type: 2 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: {} - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.scheduled_workflows.lp_schedules.be_positive - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: name - var: name - metadata: - InterruptibleValue: null - name: be_positive - retries: {} -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - be_positive - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.be_positive - resource_type: 1 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/158_core.type_system.custom_objects.stringify_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/158_core.type_system.custom_objects.stringify_1_task.yaml deleted file mode 100755 index 0a1c333c4f..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/158_core.type_system.custom_objects.stringify_1_task.yaml +++ /dev/null @@ -1,77 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - stringify - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.stringify - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/159_core.type_system.custom_objects.add_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/159_core.type_system.custom_objects.add_1_task.yaml deleted file mode 100755 index 58518ef722..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/159_core.type_system.custom_objects.add_1_task.yaml +++ /dev/null @@ -1,122 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - add - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.add - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - "y": - description: "y" - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/160_core.type_system.custom_objects.upload_result_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/160_core.type_system.custom_objects.upload_result_1_task.yaml deleted file mode 100755 index 6f7e41c468..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/160_core.type_system.custom_objects.upload_result_1_task.yaml +++ /dev/null @@ -1,92 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - upload_result - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.upload_result - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/161_core.type_system.custom_objects.download_result_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/161_core.type_system.custom_objects.download_result_1_task.yaml deleted file mode 100755 index c81454a1a8..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/161_core.type_system.custom_objects.download_result_1_task.yaml +++ /dev/null @@ -1,92 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - download_result - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.download_result - resource_type: 1 - interface: - inputs: - variables: - res: - description: res - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/162_core.type_system.custom_objects.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/162_core.type_system.custom_objects.wf_2_wf.yaml deleted file mode 100755 index 309ba81034..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/162_core.type_system.custom_objects.wf_2_wf.yaml +++ /dev/null @@ -1,652 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - - n1 - n1: - ids: - - end-node - n2: - ids: - - n4 - n3: - ids: - - n4 - n4: - ids: - - end-node - start-node: - ids: - - n0 - - n2 - - n3 - upstream: - end-node: - ids: - - n0 - - n1 - - n4 - n0: - ids: - - start-node - n1: - ids: - - n0 - n2: - ids: - - start-node - n3: - ids: - - start-node - n4: - ids: - - n2 - - n3 - template: - id: - name: core.type_system.custom_objects.wf - resource_type: 2 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - "y": - description: "y" - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - o1: - description: o1 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n4 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.upload_result - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: upload_result - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.download_result - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: res - metadata: - InterruptibleValue: null - name: download_result - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.stringify - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: x - var: x - metadata: - InterruptibleValue: null - name: stringify - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.stringify - resource_type: 1 - overrides: {} - id: n3 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: "y" - var: x - metadata: - InterruptibleValue: null - name: stringify - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.custom_objects.add - resource_type: 1 - overrides: {} - id: n4 - inputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: x - - binding: - Value: - Promise: - node_id: n3 - var: o0 - var: "y" - metadata: - InterruptibleValue: null - name: add - retries: {} - upstream_node_ids: - - n2 - - n3 - outputs: - - binding: - Value: - Promise: - node_id: n4 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o1 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - add - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.add - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - "y": - description: "y" - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - download_result - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.download_result - resource_type: 1 - interface: - inputs: - variables: - res: - description: res - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - outputs: {} - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - stringify - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.stringify - resource_type: 1 - interface: - inputs: - variables: - x: - description: x - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/DatumSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - DatumSchema: - additionalProperties: false - properties: - x: - title: x - type: integer - "y": - title: "y" - type: string - z: - additionalProperties: - title: z - type: string - title: z - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - upload_result - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.upload_result - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 9 - metadata: - $ref: '#/definitions/ResultSchema' - $schema: http://json-schema.org/draft-07/schema# - definitions: - FlytedirectorySchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlytefileSchema: - additionalProperties: false - properties: - path: - title: path - type: string - type: object - FlyteschemaSchema: - additionalProperties: false - properties: - remote_path: - title: remote_path - type: string - type: object - ResultSchema: - additionalProperties: false - properties: - directory: - $ref: '#/definitions/FlytedirectorySchema' - field_many: false - type: object - file: - $ref: '#/definitions/FlytefileSchema' - field_many: false - type: object - schema: - $ref: '#/definitions/FlyteschemaSchema' - field_many: false - type: object - type: object - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/164_core.type_system.enums.enum_stringify_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/164_core.type_system.enums.enum_stringify_1_task.yaml deleted file mode 100755 index 0fae7d3a9c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/164_core.type_system.enums.enum_stringify_1_task.yaml +++ /dev/null @@ -1,61 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - enum_stringify - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.enum_stringify - resource_type: 1 - interface: - inputs: - variables: - c: - description: c - type: - Type: - EnumType: - values: - - red - - green - - blue - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/165_core.type_system.enums.string_to_enum_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/165_core.type_system.enums.string_to_enum_1_task.yaml deleted file mode 100755 index b462494f06..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/165_core.type_system.enums.string_to_enum_1_task.yaml +++ /dev/null @@ -1,61 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - string_to_enum - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.string_to_enum - resource_type: 1 - interface: - inputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - EnumType: - values: - - red - - green - - blue - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/166_core.type_system.enums.enum_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/166_core.type_system.enums.enum_wf_2_wf.yaml deleted file mode 100755 index bba8ffd73b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/166_core.type_system.enums.enum_wf_2_wf.yaml +++ /dev/null @@ -1,252 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.type_system.enums.enum_wf - resource_type: 2 - interface: - inputs: - variables: - c: - description: c - type: - Type: - EnumType: - values: - - red - - green - - blue - outputs: - variables: - o0: - description: o0 - type: - Type: - EnumType: - values: - - red - - green - - blue - o1: - description: o1 - type: - Type: - Simple: 3 - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o1 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.enums.enum_stringify - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: c - var: c - metadata: - InterruptibleValue: null - name: enum_stringify - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.enums.string_to_enum - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: c - metadata: - InterruptibleValue: null - name: string_to_enum - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o1 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - enum_stringify - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.enum_stringify - resource_type: 1 - interface: - inputs: - variables: - c: - description: c - type: - Type: - EnumType: - values: - - red - - green - - blue - outputs: - variables: - o0: - description: o0 - type: - Type: - Simple: 3 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - string_to_enum - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.string_to_enum - resource_type: 1 - interface: - inputs: - variables: - c: - description: c - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - EnumType: - values: - - red - - green - - blue - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/168_core.type_system.flyte_pickle.greet_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/168_core.type_system.flyte_pickle.greet_1_task.yaml deleted file mode 100755 index 369fb4eb60..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/168_core.type_system.flyte_pickle.greet_1_task.yaml +++ /dev/null @@ -1,60 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.flyte_pickle - - task-name - - greet - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.flyte_pickle.greet - resource_type: 1 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - format: PythonPickle - metadata: - python_class_name: People - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/169_core.type_system.flyte_pickle.welcome_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/169_core.type_system.flyte_pickle.welcome_2_wf.yaml deleted file mode 100755 index 4e64513d35..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/169_core.type_system.flyte_pickle.welcome_2_wf.yaml +++ /dev/null @@ -1,139 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n0 - n0: - ids: - - start-node - template: - id: - name: core.type_system.flyte_pickle.welcome - resource_type: 2 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - format: PythonPickle - metadata: - python_class_name: People - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.flyte_pickle.greet - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: name - var: name - metadata: - InterruptibleValue: null - name: greet - retries: {} - outputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.flyte_pickle - - task-name - - greet - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.flyte_pickle.greet - resource_type: 1 - interface: - inputs: - variables: - name: - description: name - type: - Type: - Simple: 3 - outputs: - variables: - o0: - description: o0 - type: - Type: - Blob: - format: PythonPickle - metadata: - python_class_name: People - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/171_core.type_system.schema.get_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/171_core.type_system.schema.get_df_1_task.yaml deleted file mode 100755 index 2d3cc79ba0..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/171_core.type_system.schema.get_df_1_task.yaml +++ /dev/null @@ -1,58 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - get_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.get_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/172_core.type_system.schema.add_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/172_core.type_system.schema.add_df_1_task.yaml deleted file mode 100755 index 1aa87e184c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/172_core.type_system.schema.add_df_1_task.yaml +++ /dev/null @@ -1,59 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - add_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.add_df - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/173_core.type_system.schema.df_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/173_core.type_system.schema.df_wf_2_wf.yaml deleted file mode 100755 index 0705cf08fd..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/173_core.type_system.schema.df_wf_2_wf.yaml +++ /dev/null @@ -1,221 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.type_system.schema.df_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.schema.get_df - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - metadata: - InterruptibleValue: null - name: get_df - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.schema.add_df - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: add_df - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - add_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.add_df - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - get_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.get_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/175_core.type_system.structured_dataset.get_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/175_core.type_system.structured_dataset.get_df_1_task.yaml deleted file mode 100755 index 67a7f94216..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/175_core.type_system.structured_dataset.get_df_1_task.yaml +++ /dev/null @@ -1,71 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 3 - name: Name - - literal_type: - Type: - Simple: 1 - name: Age - - literal_type: - Type: - Simple: 1 - name: Height - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/176_core.type_system.structured_dataset.get_schema_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/176_core.type_system.structured_dataset.get_schema_df_1_task.yaml deleted file mode 100755 index 1acf451aee..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/176_core.type_system.structured_dataset.get_schema_df_1_task.yaml +++ /dev/null @@ -1,62 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_schema_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_schema_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: Name - type: 2 - - name: Age - - name: Height - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/177_core.type_system.structured_dataset.get_subset_df_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/177_core.type_system.structured_dataset.get_subset_df_1_task.yaml deleted file mode 100755 index c971e8c682..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/177_core.type_system.structured_dataset.get_subset_df_1_task.yaml +++ /dev/null @@ -1,69 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_subset_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/178_core.type_system.structured_dataset.to_numpy_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/178_core.type_system.structured_dataset.to_numpy_1_task.yaml deleted file mode 100755 index eaa88c9893..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/178_core.type_system.structured_dataset.to_numpy_1_task.yaml +++ /dev/null @@ -1,69 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - to_numpy - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - interface: - inputs: - variables: - ds: - description: ds - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml deleted file mode 100755 index 3b370e22fc..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml +++ /dev/null @@ -1,345 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - n2 - n2: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n2 - n0: - ids: - - start-node - n1: - ids: - - n0 - n2: - ids: - - n1 - template: - id: - name: core.type_system.structured_dataset.pandas_compatibility_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_df - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - metadata: - InterruptibleValue: null - name: get_df - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: get_subset_df - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: ds - metadata: - InterruptibleValue: null - name: to_numpy - retries: {} - upstream_node_ids: - - n1 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 3 - name: Name - - literal_type: - Type: - Simple: 1 - name: Age - - literal_type: - Type: - Simple: 1 - name: Height - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_subset_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - to_numpy - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - interface: - inputs: - variables: - ds: - description: ds - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml deleted file mode 100755 index b0acffc8bf..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml +++ /dev/null @@ -1,336 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - n2 - n2: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n2 - n0: - ids: - - start-node - n1: - ids: - - n0 - n2: - ids: - - n1 - template: - id: - name: core.type_system.structured_dataset.schema_compatibility_wf - resource_type: 2 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_schema_df - resource_type: 1 - overrides: {} - id: n0 - inputs: - - binding: - Value: - Promise: - node_id: start-node - var: a - var: a - metadata: - InterruptibleValue: null - name: get_schema_df - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: df - metadata: - InterruptibleValue: null - name: get_subset_df - retries: {} - upstream_node_ids: - - n0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - overrides: {} - id: n2 - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: ds - metadata: - InterruptibleValue: null - name: to_numpy - retries: {} - upstream_node_ids: - - n1 - outputs: - - binding: - Value: - Promise: - node_id: n2 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_schema_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_schema_df - resource_type: 1 - interface: - inputs: - variables: - a: - description: a - type: - Type: - Simple: 1 - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: Name - type: 2 - - name: Age - - name: Height - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_subset_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_subset_df - resource_type: 1 - interface: - inputs: - variables: - df: - description: df - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - to_numpy - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.to_numpy - resource_type: 1 - interface: - inputs: - variables: - ds: - description: ds - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - outputs: - variables: - o0: - description: o0 - type: - Type: - StructuredDatasetType: - columns: - - literal_type: - Type: - Simple: 1 - name: Age - format: parquet - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/183_core.type_system.typed_schema.t1_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/183_core.type_system.typed_schema.t1_1_task.yaml deleted file mode 100755 index ef63cec2c5..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/183_core.type_system.typed_schema.t1_1_task.yaml +++ /dev/null @@ -1,55 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t1 - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - - name: "y" - type: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/184_core.type_system.typed_schema.t2_1_task.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/184_core.type_system.typed_schema.t2_1_task.yaml deleted file mode 100755 index 8fb24a5051..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/184_core.type_system.typed_schema.t2_1_task.yaml +++ /dev/null @@ -1,63 +0,0 @@ -template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t2 - resource_type: 1 - interface: - inputs: - variables: - schema: - description: schema - type: - Type: - Schema: - columns: - - name: x - - name: "y" - type: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/185_core.type_system.typed_schema.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/185_core.type_system.typed_schema.wf_2_wf.yaml deleted file mode 100755 index 9a9218d6f3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/compiled/185_core.type_system.typed_schema.wf_2_wf.yaml +++ /dev/null @@ -1,210 +0,0 @@ -primary: - connections: - downstream: - n0: - ids: - - n1 - n1: - ids: - - end-node - start-node: - ids: - - n0 - upstream: - end-node: - ids: - - n1 - n0: - ids: - - start-node - n1: - ids: - - n0 - template: - id: - name: core.type_system.typed_schema.wf - resource_type: 2 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - metadata: {} - metadata_defaults: {} - nodes: - - Target: null - id: start-node - - Target: null - id: end-node - inputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.typed_schema.t1 - resource_type: 1 - overrides: {} - id: n0 - metadata: - InterruptibleValue: null - name: t1 - retries: {} - - Target: - TaskNode: - Reference: - ReferenceId: - name: core.type_system.typed_schema.t2 - resource_type: 1 - overrides: {} - id: n1 - inputs: - - binding: - Value: - Promise: - node_id: n0 - var: o0 - var: schema - metadata: - InterruptibleValue: null - name: t2 - retries: {} - upstream_node_ids: - - n0 - outputs: - - binding: - Value: - Promise: - node_id: n1 - var: o0 - var: o0 -tasks: -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t1 - resource_type: 1 - interface: - inputs: {} - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - - name: "y" - type: 2 - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task -- template: - Target: - Container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t2 - resource_type: 1 - interface: - inputs: - variables: - schema: - description: schema - type: - Type: - Schema: - columns: - - name: x - - name: "y" - type: 2 - outputs: - variables: - o0: - description: o0 - type: - Type: - Schema: - columns: - - name: x - metadata: - InterruptibleValue: null - retries: {} - runtime: - flavor: python - type: 1 - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/002_core.containerization.multi_images.my_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/002_core.containerization.multi_images.my_workflow_2_wf.yaml deleted file mode 100755 index 5e9ddd0b12..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/002_core.containerization.multi_images.my_workflow_2_wf.yaml +++ /dev/null @@ -1,247 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-containerization-multi-images-my-workflow - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.containerization.multi_images.my_workflow - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: svm_trainer - resources: {} - task: 'resource_type:TASK name:"core.containerization.multi_images.svm_trainer" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: test_features - var: X_test - - binding: - promise: - nodeId: n0 - var: train_features - var: X_train - - binding: - promise: - nodeId: n0 - var: test_labels - var: y_test - - binding: - promise: - nodeId: n0 - var: train_labels - var: y_train - kind: task - name: svm_predictor - resources: {} - task: 'resource_type:TASK name:"core.containerization.multi_images.svm_predictor" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: FLOAT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.containerization.multi_images.svm_predictor" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_predictor - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:multi-image-predict-98b125fd57d20594026941c2ebe7ef662e5acb7d6423660a65f493ca2d9aa267 - resources: {} - id: - name: core.containerization.multi_images.svm_predictor - resourceType: TASK - interface: - inputs: - variables: - X_test: - type: - structuredDatasetType: - format: parquet - X_train: - type: - structuredDatasetType: - format: parquet - y_test: - type: - structuredDatasetType: - format: parquet - y_train: - type: - structuredDatasetType: - format: parquet - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.containerization.multi_images.svm_trainer" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.multi_images - - task-name - - svm_trainer - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-with-sklearn-baa17ccf39aa667c5950bd713a4366ce7d5fccaf7f85e6be8c07fe4b522f92c3 - resources: {} - id: - name: core.containerization.multi_images.svm_trainer - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - test_features: - type: - structuredDatasetType: - format: parquet - test_labels: - type: - structuredDatasetType: - format: parquet - train_features: - type: - structuredDatasetType: - format: parquet - train_labels: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/002_core.containerization.multi_images.my_workflow_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/002_core.containerization.multi_images.my_workflow_2_wf_crd.json new file mode 100755 index 0000000000..5112bec253 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/002_core.containerization.multi_images.my_workflow_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-containerization-multi-images-my-workflow"}},"spec":{"id":"::core.containerization.multi_images.my_workflow","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"svm_trainer","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.containerization.multi_images.svm_trainer\""},"n1":{"id":"n1","name":"svm_predictor","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.containerization.multi_images.svm_predictor\"","inputBindings":[{"var":"X_test","binding":{"promise":{"nodeId":"n0","var":"test_features"}}},{"var":"X_train","binding":{"promise":{"nodeId":"n0","var":"train_features"}}},{"var":"y_test","binding":{"promise":{"nodeId":"n0","var":"test_labels"}}},{"var":"y_train","binding":{"promise":{"nodeId":"n0","var":"train_labels"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.containerization.multi_images.svm_predictor\"":{"id":{"resourceType":"TASK","name":"core.containerization.multi_images.svm_predictor"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"X_test":{"type":{"structuredDatasetType":{"format":"parquet"}}},"X_train":{"type":{"structuredDatasetType":{"format":"parquet"}}},"y_test":{"type":{"structuredDatasetType":{"format":"parquet"}}},"y_train":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:multi-image-predict-98b125fd57d20594026941c2ebe7ef662e5acb7d6423660a65f493ca2d9aa267","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.containerization.multi_images","task-name","svm_predictor"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.containerization.multi_images.svm_trainer\"":{"id":{"resourceType":"TASK","name":"core.containerization.multi_images.svm_trainer"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"test_features":{"type":{"structuredDatasetType":{"format":"parquet"}}},"test_labels":{"type":{"structuredDatasetType":{"format":"parquet"}}},"train_features":{"type":{"structuredDatasetType":{"format":"parquet"}}},"train_labels":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-with-sklearn-baa17ccf39aa667c5950bd713a4366ce7d5fccaf7f85e6be8c07fe4b522f92c3","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.containerization.multi_images","task-name","svm_trainer"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/010_core.containerization.raw_container.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/010_core.containerization.raw_container.wf_2_wf.yaml deleted file mode 100755 index 550880e7e8..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/010_core.containerization.raw_container.wf_2_wf.yaml +++ /dev/null @@ -1,569 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - a: - scalar: - primitive: - floatValue: 0 - b: - scalar: - primitive: - floatValue: 0 -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-containerization-raw-container-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n5 - n1: - - n5 - n2: - - n5 - n3: - - n5 - n4: - - n5 - n5: - - end-node - start-node: - - n0 - - n1 - - n2 - - n3 - - n4 - edges: - downstream: - n0: - - n5 - n1: - - n5 - n2: - - n5 - n3: - - n5 - n4: - - n5 - n5: - - end-node - start-node: - - n0 - - n1 - - n2 - - n3 - - n4 - upstream: - end-node: - - n5 - n0: - - start-node - n1: - - start-node - n2: - - start-node - n3: - - start-node - n4: - - start-node - n5: - - n0 - - n1 - - n2 - - n3 - - n4 - id: ::core.containerization.raw_container.wf - nodes: - end-node: - id: end-node - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - - binding: - promise: - nodeId: start-node - var: b - var: b - kind: task - name: ellipse-area-metadata-shell - resources: {} - task: 'resource_type:TASK name:"ellipse-area-metadata-shell" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - - binding: - promise: - nodeId: start-node - var: b - var: b - kind: task - name: ellipse-area-metadata-python - resources: {} - task: 'resource_type:TASK name:"ellipse-area-metadata-python" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - - binding: - promise: - nodeId: start-node - var: b - var: b - kind: task - name: ellipse-area-metadata-r - resources: {} - task: 'resource_type:TASK name:"ellipse-area-metadata-r" ' - n3: - id: n3 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - - binding: - promise: - nodeId: start-node - var: b - var: b - kind: task - name: ellipse-area-metadata-haskell - resources: {} - task: 'resource_type:TASK name:"ellipse-area-metadata-haskell" ' - n4: - id: n4 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - - binding: - promise: - nodeId: start-node - var: b - var: b - kind: task - name: ellipse-area-metadata-julia - resources: {} - task: 'resource_type:TASK name:"ellipse-area-metadata-julia" ' - n5: - id: n5 - inputBindings: - - binding: - promise: - nodeId: n3 - var: area - var: area_haskell - - binding: - promise: - nodeId: n4 - var: area - var: area_julia - - binding: - promise: - nodeId: n1 - var: area - var: area_python - - binding: - promise: - nodeId: n2 - var: area - var: area_r - - binding: - promise: - nodeId: n0 - var: area - var: area_shell - - binding: - promise: - nodeId: n3 - var: metadata - var: metadata_haskell - - binding: - promise: - nodeId: n4 - var: metadata - var: metadata_julia - - binding: - promise: - nodeId: n1 - var: metadata - var: metadata_python - - binding: - promise: - nodeId: n2 - var: metadata - var: metadata_r - - binding: - promise: - nodeId: n0 - var: metadata - var: metadata_shell - kind: task - name: report_all_calculated_areas - resources: {} - task: 'resource_type:TASK name:"core.containerization.raw_container.report_all_calculated_areas" ' - start-node: - id: start-node - kind: start - resources: {} - outputs: {} -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.containerization.raw_container.report_all_calculated_areas" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.raw_container - - task-name - - report_all_calculated_areas - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.raw_container.report_all_calculated_areas - resourceType: TASK - interface: - inputs: - variables: - area_haskell: - type: - simple: FLOAT - area_julia: - type: - simple: FLOAT - area_python: - type: - simple: FLOAT - area_r: - type: - simple: FLOAT - area_shell: - type: - simple: FLOAT - metadata_haskell: - type: - simple: STRING - metadata_julia: - type: - simple: STRING - metadata_python: - type: - simple: STRING - metadata_r: - type: - simple: STRING - metadata_shell: - type: - simple: STRING - outputs: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"ellipse-area-metadata-haskell" ': - container: - command: - - ./calculate-ellipse-area - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - dataConfig: - enabled: true - inputPath: /var/inputs - outputPath: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-haskell:v1 - resources: {} - id: - name: ellipse-area-metadata-haskell - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: FLOAT - b: - type: - simple: FLOAT - outputs: - variables: - area: - type: - simple: FLOAT - metadata: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: raw-container - 'resource_type:TASK name:"ellipse-area-metadata-julia" ': - container: - command: - - julia - - calculate-ellipse-area.jl - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - dataConfig: - enabled: true - inputPath: /var/inputs - outputPath: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-julia:v1 - resources: {} - id: - name: ellipse-area-metadata-julia - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: FLOAT - b: - type: - simple: FLOAT - outputs: - variables: - area: - type: - simple: FLOAT - metadata: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: raw-container - 'resource_type:TASK name:"ellipse-area-metadata-python" ': - container: - command: - - python - - calculate-ellipse-area.py - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - dataConfig: - enabled: true - inputPath: /var/inputs - outputPath: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-python:v1 - resources: {} - id: - name: ellipse-area-metadata-python - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: FLOAT - b: - type: - simple: FLOAT - outputs: - variables: - area: - type: - simple: FLOAT - metadata: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: raw-container - 'resource_type:TASK name:"ellipse-area-metadata-r" ': - container: - command: - - Rscript - - --vanilla - - calculate-ellipse-area.R - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - dataConfig: - enabled: true - inputPath: /var/inputs - outputPath: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-r:v1 - resources: {} - id: - name: ellipse-area-metadata-r - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: FLOAT - b: - type: - simple: FLOAT - outputs: - variables: - area: - type: - simple: FLOAT - metadata: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: raw-container - 'resource_type:TASK name:"ellipse-area-metadata-shell" ': - container: - command: - - ./calculate-ellipse-area.sh - - /var/inputs - - /var/outputs - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - dataConfig: - enabled: true - inputPath: /var/inputs - outputPath: /var/outputs - image: ghcr.io/flyteorg/rawcontainers-shell:v1 - resources: {} - id: - name: ellipse-area-metadata-shell - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: FLOAT - b: - type: - simple: FLOAT - outputs: - variables: - area: - type: - simple: FLOAT - metadata: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: raw-container diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/010_core.containerization.raw_container.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/010_core.containerization.raw_container.wf_2_wf_crd.json new file mode 100755 index 0000000000..66b8fe8ca4 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/010_core.containerization.raw_container.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-containerization-raw-container-wf"}},"spec":{"id":"::core.containerization.raw_container.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end"},"n0":{"id":"n0","name":"ellipse-area-metadata-shell","resources":{},"kind":"task","task":"resource_type:TASK name:\"ellipse-area-metadata-shell\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}},{"var":"b","binding":{"promise":{"nodeId":"start-node","var":"b"}}}]},"n1":{"id":"n1","name":"ellipse-area-metadata-python","resources":{},"kind":"task","task":"resource_type:TASK name:\"ellipse-area-metadata-python\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}},{"var":"b","binding":{"promise":{"nodeId":"start-node","var":"b"}}}]},"n2":{"id":"n2","name":"ellipse-area-metadata-r","resources":{},"kind":"task","task":"resource_type:TASK name:\"ellipse-area-metadata-r\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}},{"var":"b","binding":{"promise":{"nodeId":"start-node","var":"b"}}}]},"n3":{"id":"n3","name":"ellipse-area-metadata-haskell","resources":{},"kind":"task","task":"resource_type:TASK name:\"ellipse-area-metadata-haskell\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}},{"var":"b","binding":{"promise":{"nodeId":"start-node","var":"b"}}}]},"n4":{"id":"n4","name":"ellipse-area-metadata-julia","resources":{},"kind":"task","task":"resource_type:TASK name:\"ellipse-area-metadata-julia\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}},{"var":"b","binding":{"promise":{"nodeId":"start-node","var":"b"}}}]},"n5":{"id":"n5","name":"report_all_calculated_areas","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.containerization.raw_container.report_all_calculated_areas\"","inputBindings":[{"var":"area_haskell","binding":{"promise":{"nodeId":"n3","var":"area"}}},{"var":"area_julia","binding":{"promise":{"nodeId":"n4","var":"area"}}},{"var":"area_python","binding":{"promise":{"nodeId":"n1","var":"area"}}},{"var":"area_r","binding":{"promise":{"nodeId":"n2","var":"area"}}},{"var":"area_shell","binding":{"promise":{"nodeId":"n0","var":"area"}}},{"var":"metadata_haskell","binding":{"promise":{"nodeId":"n3","var":"metadata"}}},{"var":"metadata_julia","binding":{"promise":{"nodeId":"n4","var":"metadata"}}},{"var":"metadata_python","binding":{"promise":{"nodeId":"n1","var":"metadata"}}},{"var":"metadata_r","binding":{"promise":{"nodeId":"n2","var":"metadata"}}},{"var":"metadata_shell","binding":{"promise":{"nodeId":"n0","var":"metadata"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n5"],"n1":["n5"],"n2":["n5"],"n3":["n5"],"n4":["n5"],"n5":["end-node"],"start-node":["n0","n1","n2","n3","n4"]},"edges":{"downstream":{"n0":["n5"],"n1":["n5"],"n2":["n5"],"n3":["n5"],"n4":["n5"],"n5":["end-node"],"start-node":["n0","n1","n2","n3","n4"]},"upstream":{"end-node":["n5"],"n0":["start-node"],"n1":["start-node"],"n2":["start-node"],"n3":["start-node"],"n4":["start-node"],"n5":["n0","n1","n2","n3","n4"]}},"outputs":{}},"inputs":{"literals":{"a":{"scalar":{"primitive":{"floatValue":0}}},"b":{"scalar":{"primitive":{"floatValue":0}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.containerization.raw_container.report_all_calculated_areas\"":{"id":{"resourceType":"TASK","name":"core.containerization.raw_container.report_all_calculated_areas"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"area_haskell":{"type":{"simple":"FLOAT"}},"area_julia":{"type":{"simple":"FLOAT"}},"area_python":{"type":{"simple":"FLOAT"}},"area_r":{"type":{"simple":"FLOAT"}},"area_shell":{"type":{"simple":"FLOAT"}},"metadata_haskell":{"type":{"simple":"STRING"}},"metadata_julia":{"type":{"simple":"STRING"}},"metadata_python":{"type":{"simple":"STRING"}},"metadata_r":{"type":{"simple":"STRING"}},"metadata_shell":{"type":{"simple":"STRING"}}}},"outputs":{}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.containerization.raw_container","task-name","report_all_calculated_areas"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"ellipse-area-metadata-haskell\"":{"id":{"resourceType":"TASK","name":"ellipse-area-metadata-haskell"},"type":"raw-container","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"FLOAT"}},"b":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"area":{"type":{"simple":"FLOAT"}},"metadata":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/rawcontainers-haskell:v1","command":["./calculate-ellipse-area","/var/inputs","/var/outputs"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}],"dataConfig":{"enabled":true,"inputPath":"/var/inputs","outputPath":"/var/outputs"}}},"resource_type:TASK name:\"ellipse-area-metadata-julia\"":{"id":{"resourceType":"TASK","name":"ellipse-area-metadata-julia"},"type":"raw-container","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"FLOAT"}},"b":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"area":{"type":{"simple":"FLOAT"}},"metadata":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/rawcontainers-julia:v1","command":["julia","calculate-ellipse-area.jl","/var/inputs","/var/outputs"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}],"dataConfig":{"enabled":true,"inputPath":"/var/inputs","outputPath":"/var/outputs"}}},"resource_type:TASK name:\"ellipse-area-metadata-python\"":{"id":{"resourceType":"TASK","name":"ellipse-area-metadata-python"},"type":"raw-container","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"FLOAT"}},"b":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"area":{"type":{"simple":"FLOAT"}},"metadata":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/rawcontainers-python:v1","command":["python","calculate-ellipse-area.py","/var/inputs","/var/outputs"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}],"dataConfig":{"enabled":true,"inputPath":"/var/inputs","outputPath":"/var/outputs"}}},"resource_type:TASK name:\"ellipse-area-metadata-r\"":{"id":{"resourceType":"TASK","name":"ellipse-area-metadata-r"},"type":"raw-container","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"FLOAT"}},"b":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"area":{"type":{"simple":"FLOAT"}},"metadata":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/rawcontainers-r:v1","command":["Rscript","--vanilla","calculate-ellipse-area.R","/var/inputs","/var/outputs"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}],"dataConfig":{"enabled":true,"inputPath":"/var/inputs","outputPath":"/var/outputs"}}},"resource_type:TASK name:\"ellipse-area-metadata-shell\"":{"id":{"resourceType":"TASK","name":"ellipse-area-metadata-shell"},"type":"raw-container","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"FLOAT"}},"b":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"area":{"type":{"simple":"FLOAT"}},"metadata":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/rawcontainers-shell:v1","command":["./calculate-ellipse-area.sh","/var/inputs","/var/outputs"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}],"dataConfig":{"enabled":true,"inputPath":"/var/inputs","outputPath":"/var/outputs"}}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml deleted file mode 100755 index 359bb67831..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/015_core.containerization.use_secrets.my_secret_workflow_2_wf.yaml +++ /dev/null @@ -1,334 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-containerization-use-secrets-my-secret-workflow - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - n1: - - end-node - n2: - - end-node - start-node: - - n0 - - n1 - - n2 - edges: - downstream: - n0: - - end-node - n1: - - end-node - n2: - - end-node - start-node: - - n0 - - n1 - - n2 - upstream: - end-node: - - n0 - - n1 - - n2 - n0: - - start-node - n1: - - start-node - n2: - - start-node - id: ::core.containerization.use_secrets.my_secret_workflow - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - - binding: - promise: - nodeId: n1 - var: o0 - var: o1 - - binding: - promise: - nodeId: n1 - var: o1 - var: o2 - - binding: - promise: - nodeId: n2 - var: o0 - var: o3 - - binding: - promise: - nodeId: n2 - var: o1 - var: o4 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: secret_task - resources: {} - task: 'resource_type:TASK name:"core.containerization.use_secrets.secret_task" ' - n1: - id: n1 - kind: task - name: user_info_task - resources: {} - task: 'resource_type:TASK name:"core.containerization.use_secrets.user_info_task" ' - n2: - id: n2 - kind: task - name: secret_file_task - resources: {} - task: 'resource_type:TASK name:"core.containerization.use_secrets.secret_file_task" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - - binding: - promise: - nodeId: n1 - var: o0 - var: o1 - - binding: - promise: - nodeId: n1 - var: o1 - var: o2 - - binding: - promise: - nodeId: n2 - var: o0 - var: o3 - - binding: - promise: - nodeId: n2 - var: o1 - var: o4 - outputs: - variables: - o0: - type: - simple: STRING - o1: - type: - simple: STRING - o2: - type: - simple: STRING - o3: - type: - simple: STRING - o4: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.containerization.use_secrets.secret_file_task" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_file_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_file_task - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: STRING - o1: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - securityContext: - secrets: - - group: user-info - key: user_secret - mountRequirement: ENV_VAR - type: python-task - 'resource_type:TASK name:"core.containerization.use_secrets.secret_task" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - secret_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.secret_task - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - securityContext: - secrets: - - group: user-info - key: user_secret - type: python-task - 'resource_type:TASK name:"core.containerization.use_secrets.user_info_task" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.containerization.use_secrets - - task-name - - user_info_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.containerization.use_secrets.user_info_task - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: STRING - o1: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - securityContext: - secrets: - - group: user-info - key: username - - group: user-info - key: password - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/015_core.containerization.use_secrets.my_secret_workflow_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/015_core.containerization.use_secrets.my_secret_workflow_2_wf_crd.json new file mode 100755 index 0000000000..8fd1cfe5c7 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/015_core.containerization.use_secrets.my_secret_workflow_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-containerization-use-secrets-my-secret-workflow"}},"spec":{"id":"::core.containerization.use_secrets.my_secret_workflow","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}},{"var":"o1","binding":{"promise":{"nodeId":"n1","var":"o0"}}},{"var":"o2","binding":{"promise":{"nodeId":"n1","var":"o1"}}},{"var":"o3","binding":{"promise":{"nodeId":"n2","var":"o0"}}},{"var":"o4","binding":{"promise":{"nodeId":"n2","var":"o1"}}}]},"n0":{"id":"n0","name":"secret_task","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.containerization.use_secrets.secret_task\""},"n1":{"id":"n1","name":"user_info_task","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.containerization.use_secrets.user_info_task\""},"n2":{"id":"n2","name":"secret_file_task","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.containerization.use_secrets.secret_file_task\""},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"n1":["end-node"],"n2":["end-node"],"start-node":["n0","n1","n2"]},"edges":{"downstream":{"n0":["end-node"],"n1":["end-node"],"n2":["end-node"],"start-node":["n0","n1","n2"]},"upstream":{"end-node":["n0","n1","n2"],"n0":["start-node"],"n1":["start-node"],"n2":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}},"o1":{"type":{"simple":"STRING"}},"o2":{"type":{"simple":"STRING"}},"o3":{"type":{"simple":"STRING"}},"o4":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}},{"var":"o1","binding":{"promise":{"nodeId":"n1","var":"o0"}}},{"var":"o2","binding":{"promise":{"nodeId":"n1","var":"o1"}}},{"var":"o3","binding":{"promise":{"nodeId":"n2","var":"o0"}}},{"var":"o4","binding":{"promise":{"nodeId":"n2","var":"o1"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.containerization.use_secrets.secret_file_task\"":{"id":{"resourceType":"TASK","name":"core.containerization.use_secrets.secret_file_task"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}},"o1":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.containerization.use_secrets","task-name","secret_file_task"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]},"securityContext":{"secrets":[{"group":"user-info","key":"user_secret","mountRequirement":"ENV_VAR"}]}},"resource_type:TASK name:\"core.containerization.use_secrets.secret_task\"":{"id":{"resourceType":"TASK","name":"core.containerization.use_secrets.secret_task"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.containerization.use_secrets","task-name","secret_task"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]},"securityContext":{"secrets":[{"group":"user-info","key":"user_secret"}]}},"resource_type:TASK name:\"core.containerization.use_secrets.user_info_task\"":{"id":{"resourceType":"TASK","name":"core.containerization.use_secrets.user_info_task"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}},"o1":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.containerization.use_secrets","task-name","user_info_task"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]},"securityContext":{"secrets":[{"group":"user-info","key":"username"},{"group":"user-info","key":"password"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml deleted file mode 100755 index ec6ceff710..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf.yaml +++ /dev/null @@ -1,194 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-chain-tasks-chain-tasks-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.control_flow.chain_tasks.chain_tasks_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: write - resources: {} - task: 'resource_type:TASK name:"core.control_flow.chain_tasks.write" ' - n1: - id: n1 - kind: task - name: read - resources: {} - task: 'resource_type:TASK name:"core.control_flow.chain_tasks.read" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.chain_tasks.read" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - read - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.read - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.chain_tasks.write" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.chain_tasks - - task-name - - write - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.chain_tasks.write - resourceType: TASK - interface: - inputs: {} - outputs: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf_crd.json new file mode 100755 index 0000000000..442e1fb95f --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/019_core.control_flow.chain_tasks.chain_tasks_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-chain-tasks-chain-tasks-wf"}},"spec":{"id":"::core.control_flow.chain_tasks.chain_tasks_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"write","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.chain_tasks.write\""},"n1":{"id":"n1","name":"read","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.chain_tasks.read\""},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.chain_tasks.read\"":{"id":{"resourceType":"TASK","name":"core.control_flow.chain_tasks.read"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.chain_tasks","task-name","read"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.chain_tasks.write\"":{"id":{"resourceType":"TASK","name":"core.control_flow.chain_tasks.write"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.chain_tasks","task-name","write"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/022_core.control_flow.checkpoint.example_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/022_core.control_flow.checkpoint.example_2_wf.yaml deleted file mode 100755 index 0fc0290aa7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/022_core.control_flow.checkpoint.example_2_wf.yaml +++ /dev/null @@ -1,155 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - n_iterations: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-checkpoint-example - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.control_flow.checkpoint.example - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: n_iterations - var: n_iterations - kind: task - name: use_checkpoint - resources: {} - retry: - minAttempts: 4 - task: 'resource_type:TASK name:"core.control_flow.checkpoint.use_checkpoint" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: INTEGER -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.checkpoint.use_checkpoint" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.checkpoint - - task-name - - use_checkpoint - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.checkpoint.use_checkpoint - resourceType: TASK - interface: - inputs: - variables: - n_iterations: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: - retries: 3 - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/022_core.control_flow.checkpoint.example_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/022_core.control_flow.checkpoint.example_2_wf_crd.json new file mode 100755 index 0000000000..0159e921d8 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/022_core.control_flow.checkpoint.example_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-checkpoint-example"}},"spec":{"id":"::core.control_flow.checkpoint.example","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"use_checkpoint","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.checkpoint.use_checkpoint\"","inputBindings":[{"var":"n_iterations","binding":{"promise":{"nodeId":"start-node","var":"n_iterations"}}}],"retry":{"minAttempts":4}},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"n_iterations":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.checkpoint.use_checkpoint\"":{"id":{"resourceType":"TASK","name":"core.control_flow.checkpoint.use_checkpoint"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{"retries":3}},"interface":{"inputs":{"variables":{"n_iterations":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.checkpoint","task-name","use_checkpoint"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/026_core.control_flow.conditions.multiplier_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/026_core.control_flow.conditions.multiplier_2_wf.yaml deleted file mode 100755 index 854e071a58..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/026_core.control_flow.conditions.multiplier_2_wf.yaml +++ /dev/null @@ -1,252 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - my_input: - scalar: - primitive: - floatValue: 0 -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-conditions-multiplier - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - n0-n0: - - start-node - n0-n1: - - start-node - id: ::core.control_flow.conditions.multiplier - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - branch: - else: n0-n1 - if: - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GTE - rightValue: - primitive: - floatValue: 0.1 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LTE - rightValue: - primitive: - floatValue: 1 - then: n0-n0 - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: .my_input - kind: branch - name: fractions - resources: {} - n0-n0: - id: n0-n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: double - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.double" ' - n0-n1: - id: n0-n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: square - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.square" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: FLOAT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.conditions.double" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.square" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/026_core.control_flow.conditions.multiplier_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/026_core.control_flow.conditions.multiplier_2_wf_crd.json new file mode 100755 index 0000000000..641319a52a --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/026_core.control_flow.conditions.multiplier_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-conditions-multiplier"}},"spec":{"id":"::core.control_flow.conditions.multiplier","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"fractions","resources":{},"kind":"branch","branch":{"if":{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GTE","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":0.1}}}},"rightExpression":{"comparison":{"operator":"LTE","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":1}}}}}},"then":"n0-n0"},"else":"n0-n1"},"inputBindings":[{"var":".my_input","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n0":{"id":"n0-n0","name":"double","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.double\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n1":{"id":"n0-n1","name":"square","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.square\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"],"n0-n0":["start-node"],"n0-n1":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"my_input":{"scalar":{"primitive":{"floatValue":0}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.conditions.double\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.double"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","double"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.square\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.square"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","square"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/028_core.control_flow.conditions.multiplier_2_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/028_core.control_flow.conditions.multiplier_2_2_wf.yaml deleted file mode 100755 index 54fb0413d5..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/028_core.control_flow.conditions.multiplier_2_2_wf.yaml +++ /dev/null @@ -1,274 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - my_input: - scalar: - primitive: - floatValue: 0 -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-conditions-multiplier-2 - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - n0-n0: - - start-node - n0-n1: - - start-node - id: ::core.control_flow.conditions.multiplier_2 - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - branch: - elseFail: - failed_node_id: fractions - message: The input must be between 0 and 10 - elseIf: - - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GT - rightValue: - primitive: - floatValue: 1 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LTE - rightValue: - primitive: - floatValue: 10 - then: n0-n1 - if: - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GT - rightValue: - primitive: - floatValue: 0.1 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LT - rightValue: - primitive: - floatValue: 1 - then: n0-n0 - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: .my_input - kind: branch - name: fractions - resources: {} - n0-n0: - id: n0-n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: double - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.double" ' - n0-n1: - id: n0-n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: square - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.square" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: FLOAT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.conditions.double" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.square" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/028_core.control_flow.conditions.multiplier_2_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/028_core.control_flow.conditions.multiplier_2_2_wf_crd.json new file mode 100755 index 0000000000..5598c7a375 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/028_core.control_flow.conditions.multiplier_2_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-conditions-multiplier-2"}},"spec":{"id":"::core.control_flow.conditions.multiplier_2","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"fractions","resources":{},"kind":"branch","branch":{"if":{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":0.1}}}},"rightExpression":{"comparison":{"operator":"LT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":1}}}}}},"then":"n0-n0"},"elseIf":[{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":1}}}},"rightExpression":{"comparison":{"operator":"LTE","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":10}}}}}},"then":"n0-n1"}],"elseFail":{"failed_node_id":"fractions","message":"The input must be between 0 and 10"}},"inputBindings":[{"var":".my_input","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n0":{"id":"n0-n0","name":"double","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.double\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n1":{"id":"n0-n1","name":"square","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.square\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"],"n0-n0":["start-node"],"n0-n1":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"my_input":{"scalar":{"primitive":{"floatValue":0}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.conditions.double\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.double"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","double"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.square\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.square"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","square"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/030_core.control_flow.conditions.multiplier_3_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/030_core.control_flow.conditions.multiplier_3_2_wf.yaml deleted file mode 100755 index 07c632c8e0..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/030_core.control_flow.conditions.multiplier_3_2_wf.yaml +++ /dev/null @@ -1,292 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - my_input: - scalar: - primitive: - floatValue: 0 -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-conditions-multiplier-3 - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n0-n0: - - start-node - n0-n1: - - start-node - n1: - - n0 - id: ::core.control_flow.conditions.multiplier_3 - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - branch: - elseFail: - failed_node_id: fractions - message: The input must be between 0 and 10 - elseIf: - - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GT - rightValue: - primitive: - floatValue: 1 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LT - rightValue: - primitive: - floatValue: 10 - then: n0-n1 - if: - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GT - rightValue: - primitive: - floatValue: 0.1 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LT - rightValue: - primitive: - floatValue: 1 - then: n0-n0 - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: .my_input - kind: branch - name: fractions - resources: {} - n0-n0: - id: n0-n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: double - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.double" ' - n0-n1: - id: n0-n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: square - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.square" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: "n" - kind: task - name: double - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.double" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: FLOAT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.conditions.double" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.square" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/030_core.control_flow.conditions.multiplier_3_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/030_core.control_flow.conditions.multiplier_3_2_wf_crd.json new file mode 100755 index 0000000000..f7bd87faac --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/030_core.control_flow.conditions.multiplier_3_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-conditions-multiplier-3"}},"spec":{"id":"::core.control_flow.conditions.multiplier_3","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"fractions","resources":{},"kind":"branch","branch":{"if":{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":0.1}}}},"rightExpression":{"comparison":{"operator":"LT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":1}}}}}},"then":"n0-n0"},"elseIf":[{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":1}}}},"rightExpression":{"comparison":{"operator":"LT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":10}}}}}},"then":"n0-n1"}],"elseFail":{"failed_node_id":"fractions","message":"The input must be between 0 and 10"}},"inputBindings":[{"var":".my_input","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n0":{"id":"n0-n0","name":"double","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.double\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n1":{"id":"n0-n1","name":"square","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.square\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n1":{"id":"n1","name":"double","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.double\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n0-n0":["start-node"],"n0-n1":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"my_input":{"scalar":{"primitive":{"floatValue":0}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.conditions.double\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.double"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","double"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.square\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.square"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","square"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml deleted file mode 100755 index f46b2040e3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/035_core.control_flow.conditions.basic_boolean_wf_2_wf.yaml +++ /dev/null @@ -1,286 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - seed: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-conditions-basic-boolean-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.control_flow.conditions.basic_boolean_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: seed - var: seed - kind: task - name: coin_toss - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.coin_toss" ' - n1: - branch: - else: n1-n1 - if: - condition: - comparison: - leftValue: - var: n0.o0 - rightValue: - primitive: - boolean: true - then: n1-n0 - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: n0.o0 - kind: branch - name: test - resources: {} - n1-n0: - id: n1-n0 - kind: task - name: success - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.success" ' - n1-n1: - id: n1-n1 - kind: task - name: failed - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.failed" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: INTEGER -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.conditions.coin_toss" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - coin_toss - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.coin_toss - resourceType: TASK - interface: - inputs: - variables: - seed: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: BOOLEAN - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.failed" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - failed - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.failed - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.success" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - success - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.success - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/035_core.control_flow.conditions.basic_boolean_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/035_core.control_flow.conditions.basic_boolean_wf_2_wf_crd.json new file mode 100755 index 0000000000..d90b45210d --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/035_core.control_flow.conditions.basic_boolean_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-conditions-basic-boolean-wf"}},"spec":{"id":"::core.control_flow.conditions.basic_boolean_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"coin_toss","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.coin_toss\"","inputBindings":[{"var":"seed","binding":{"promise":{"nodeId":"start-node","var":"seed"}}}]},"n1":{"id":"n1","name":"test","resources":{},"kind":"branch","branch":{"if":{"condition":{"comparison":{"leftValue":{"var":"n0.o0"},"rightValue":{"primitive":{"boolean":true}}}},"then":"n1-n0"},"else":"n1-n1"},"inputBindings":[{"var":"n0.o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n1-n0":{"id":"n1-n0","name":"success","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.success\""},"n1-n1":{"id":"n1-n1","name":"failed","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.failed\""},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"seed":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.conditions.coin_toss\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.coin_toss"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"seed":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"BOOLEAN"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","coin_toss"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.failed\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.failed"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","failed"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.success\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.success"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","success"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml deleted file mode 100755 index 3e7d789001..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/037_core.control_flow.conditions.bool_input_wf_2_wf.yaml +++ /dev/null @@ -1,217 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - b: - scalar: - primitive: - boolean: false -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-conditions-bool-input-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.control_flow.conditions.bool_input_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - branch: - else: n0-n1 - if: - condition: - comparison: - leftValue: - var: .b - rightValue: - primitive: - boolean: true - then: n0-n0 - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: b - var: .b - kind: branch - name: test - resources: {} - n0-n0: - id: n0-n0 - kind: task - name: success - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.success" ' - n0-n1: - id: n0-n1 - kind: task - name: failed - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.failed" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: INTEGER -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.conditions.failed" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - failed - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.failed - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.success" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - success - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.success - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/037_core.control_flow.conditions.bool_input_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/037_core.control_flow.conditions.bool_input_wf_2_wf_crd.json new file mode 100755 index 0000000000..649b738d48 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/037_core.control_flow.conditions.bool_input_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-conditions-bool-input-wf"}},"spec":{"id":"::core.control_flow.conditions.bool_input_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"test","resources":{},"kind":"branch","branch":{"if":{"condition":{"comparison":{"leftValue":{"var":".b"},"rightValue":{"primitive":{"boolean":true}}}},"then":"n0-n0"},"else":"n0-n1"},"inputBindings":[{"var":".b","binding":{"promise":{"nodeId":"start-node","var":"b"}}}]},"n0-n0":{"id":"n0-n0","name":"success","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.success\""},"n0-n1":{"id":"n0-n1","name":"failed","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.failed\""},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"b":{"scalar":{"primitive":{"boolean":false}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.conditions.failed\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.failed"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","failed"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.success\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.success"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","success"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/039_core.control_flow.conditions.nested_conditions_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/039_core.control_flow.conditions.nested_conditions_2_wf.yaml deleted file mode 100755 index abfc362b09..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/039_core.control_flow.conditions.nested_conditions_2_wf.yaml +++ /dev/null @@ -1,347 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - my_input: - scalar: - primitive: - floatValue: 0 -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-conditions-nested-conditions - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - n0-n0: - - start-node - n0-n0-n0: - - start-node - n0-n0-n1: - - start-node - n0-n1: - - start-node - n0-n2: - - start-node - id: ::core.control_flow.conditions.nested_conditions - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - branch: - else: n0-n2 - elseIf: - - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GT - rightValue: - primitive: - floatValue: 1 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LT - rightValue: - primitive: - floatValue: 10 - then: n0-n1 - if: - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GT - rightValue: - primitive: - floatValue: 0.1 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LT - rightValue: - primitive: - floatValue: 1 - then: n0-n0 - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: .my_input - kind: branch - name: fractions - resources: {} - n0-n0: - branch: - elseFail: - failed_node_id: inner_fractions - message: Only <0.7 allowed - elseIf: - - condition: - conjunction: - leftExpression: - comparison: - leftValue: - var: .my_input - operator: GT - rightValue: - primitive: - floatValue: 0.5 - rightExpression: - comparison: - leftValue: - var: .my_input - operator: LT - rightValue: - primitive: - floatValue: 0.7 - then: n0-n0-n1 - if: - condition: - comparison: - leftValue: - var: .my_input - operator: LT - rightValue: - primitive: - floatValue: 0.5 - then: n0-n0-n0 - id: n0-n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: .my_input - kind: branch - name: inner_fractions - resources: {} - n0-n0-n0: - id: n0-n0-n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: double - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.double" ' - n0-n0-n1: - id: n0-n0-n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: square - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.square" ' - n0-n1: - id: n0-n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: square - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.square" ' - n0-n2: - id: n0-n2 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: double - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.double" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: FLOAT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.conditions.double" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.square" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/039_core.control_flow.conditions.nested_conditions_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/039_core.control_flow.conditions.nested_conditions_2_wf_crd.json new file mode 100755 index 0000000000..cad6c84059 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/039_core.control_flow.conditions.nested_conditions_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-conditions-nested-conditions"}},"spec":{"id":"::core.control_flow.conditions.nested_conditions","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"fractions","resources":{},"kind":"branch","branch":{"if":{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":0.1}}}},"rightExpression":{"comparison":{"operator":"LT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":1}}}}}},"then":"n0-n0"},"elseIf":[{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":1}}}},"rightExpression":{"comparison":{"operator":"LT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":10}}}}}},"then":"n0-n1"}],"else":"n0-n2"},"inputBindings":[{"var":".my_input","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n0":{"id":"n0-n0","name":"inner_fractions","resources":{},"kind":"branch","branch":{"if":{"condition":{"comparison":{"operator":"LT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":0.5}}}},"then":"n0-n0-n0"},"elseIf":[{"condition":{"conjunction":{"leftExpression":{"comparison":{"operator":"GT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":0.5}}}},"rightExpression":{"comparison":{"operator":"LT","leftValue":{"var":".my_input"},"rightValue":{"primitive":{"floatValue":0.7}}}}}},"then":"n0-n0-n1"}],"elseFail":{"failed_node_id":"inner_fractions","message":"Only \u003c0.7 allowed"}},"inputBindings":[{"var":".my_input","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n0-n0":{"id":"n0-n0-n0","name":"double","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.double\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n0-n1":{"id":"n0-n0-n1","name":"square","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.square\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n1":{"id":"n0-n1","name":"square","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.square\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n0-n2":{"id":"n0-n2","name":"double","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.double\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"],"n0-n0":["start-node"],"n0-n0-n0":["start-node"],"n0-n0-n1":["start-node"],"n0-n1":["start-node"],"n0-n2":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"my_input":{"scalar":{"primitive":{"floatValue":0}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.conditions.double\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.double"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","double"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.square\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.square"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","square"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/042_core.control_flow.conditions.consume_outputs_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/042_core.control_flow.conditions.consume_outputs_2_wf.yaml deleted file mode 100755 index 24eadb558d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/042_core.control_flow.conditions.consume_outputs_2_wf.yaml +++ /dev/null @@ -1,391 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - my_input: - scalar: - primitive: - floatValue: 0 - seed: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-conditions-consume-outputs - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - n2 - n2: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - n2 - n2: - - end-node - start-node: - - n0 - upstream: - end-node: - - n2 - n0: - - start-node - n1: - - n0 - n1-n0: - - start-node - n1-n1: - - start-node - n2: - - n1 - id: ::core.control_flow.conditions.consume_outputs - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: seed - var: seed - kind: task - name: coin_toss - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.coin_toss" ' - n1: - branch: - else: n1-n1 - if: - condition: - comparison: - leftValue: - var: n0.o0 - rightValue: - primitive: - boolean: true - then: n1-n0 - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: n0.o0 - kind: branch - name: double_or_square - resources: {} - n1-n0: - id: n1-n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: "n" - kind: task - name: square - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.square" ' - n1-n1: - id: n1-n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: a - - binding: - promise: - nodeId: start-node - var: my_input - var: b - kind: task - name: calc_sum - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.calc_sum" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: "n" - kind: task - name: double - resources: {} - task: 'resource_type:TASK name:"core.control_flow.conditions.double" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: FLOAT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.conditions.calc_sum" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - calc_sum - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.calc_sum - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: FLOAT - b: - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.coin_toss" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - coin_toss - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.coin_toss - resourceType: TASK - interface: - inputs: - variables: - seed: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: BOOLEAN - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.double" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - double - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.double - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.conditions.square" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.conditions - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.conditions.square - resourceType: TASK - interface: - inputs: - variables: - "n": - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/042_core.control_flow.conditions.consume_outputs_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/042_core.control_flow.conditions.consume_outputs_2_wf_crd.json new file mode 100755 index 0000000000..bd2c7b824a --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/042_core.control_flow.conditions.consume_outputs_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-conditions-consume-outputs"}},"spec":{"id":"::core.control_flow.conditions.consume_outputs","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"n0":{"id":"n0","name":"coin_toss","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.coin_toss\"","inputBindings":[{"var":"seed","binding":{"promise":{"nodeId":"start-node","var":"seed"}}}]},"n1":{"id":"n1","name":"double_or_square","resources":{},"kind":"branch","branch":{"if":{"condition":{"comparison":{"leftValue":{"var":"n0.o0"},"rightValue":{"primitive":{"boolean":true}}}},"then":"n1-n0"},"else":"n1-n1"},"inputBindings":[{"var":"n0.o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n1-n0":{"id":"n1-n0","name":"square","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.square\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n1-n1":{"id":"n1-n1","name":"calc_sum","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.calc_sum\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}},{"var":"b","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"n2":{"id":"n2","name":"double","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.conditions.double\"","inputBindings":[{"var":"n","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["n2"],"n2":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["n2"],"n2":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n2"],"n0":["start-node"],"n1":["n0"],"n1-n0":["start-node"],"n1-n1":["start-node"],"n2":["n1"]}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"inputs":{"literals":{"my_input":{"scalar":{"primitive":{"floatValue":0}}},"seed":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.conditions.calc_sum\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.calc_sum"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"FLOAT"}},"b":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","calc_sum"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.coin_toss\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.coin_toss"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"seed":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"BOOLEAN"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","coin_toss"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.double\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.double"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","double"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.conditions.square\"":{"id":{"resourceType":"TASK","name":"core.control_flow.conditions.square"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"n":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.conditions","task-name","square"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/048_core.control_flow.dynamics.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/048_core.control_flow.dynamics.wf_2_wf.yaml deleted file mode 100755 index c917877e0d..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/048_core.control_flow.dynamics.wf_2_wf.yaml +++ /dev/null @@ -1,167 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - s1: - scalar: - primitive: - stringValue: "" - s2: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-dynamics-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.control_flow.dynamics.wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: s1 - var: s1 - - binding: - promise: - nodeId: start-node - var: s2 - var: s2 - kind: task - name: count_characters - resources: {} - task: 'resource_type:TASK name:"core.control_flow.dynamics.count_characters" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: INTEGER -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.dynamics.count_characters" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.dynamics - - task-name - - count_characters - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.dynamics.count_characters - resourceType: TASK - interface: - inputs: - variables: - s1: - type: - simple: STRING - s2: - type: - simple: STRING - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/048_core.control_flow.dynamics.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/048_core.control_flow.dynamics.wf_2_wf_crd.json new file mode 100755 index 0000000000..2e6b2611b5 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/048_core.control_flow.dynamics.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-dynamics-wf"}},"spec":{"id":"::core.control_flow.dynamics.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"count_characters","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.dynamics.count_characters\"","inputBindings":[{"var":"s1","binding":{"promise":{"nodeId":"start-node","var":"s1"}}},{"var":"s2","binding":{"promise":{"nodeId":"start-node","var":"s2"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"s1":{"scalar":{"primitive":{"stringValue":""}}},"s2":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.dynamics.count_characters\"":{"id":{"resourceType":"TASK","name":"core.control_flow.dynamics.count_characters"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"s1":{"type":{"simple":"STRING"}},"s2":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.dynamics","task-name","count_characters"],"resources":{},"env":[{"key":"_F_SS_C","value":"H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA="}],"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml deleted file mode 100755 index d5c29c9810..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/053_core.control_flow.map_task.my_map_workflow_2_wf.yaml +++ /dev/null @@ -1,235 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - a: - collection: - literals: - - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-map-task-my-map-workflow - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.control_flow.map_task.my_map_workflow - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - kind: task - name: mapper_a_mappable_task_0 - resources: - limits: - memory: 500Mi - requests: - memory: 300Mi - retry: - minAttempts: 2 - task: 'resource_type:TASK name:"core.control_flow.map_task.mapper_a_mappable_task_0" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: b - kind: task - name: coalesce - resources: {} - task: 'resource_type:TASK name:"core.control_flow.map_task.coalesce" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.map_task.coalesce" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - coalesce - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.map_task.coalesce - resourceType: TASK - interface: - inputs: - variables: - b: - type: - collectionType: - simple: STRING - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.map_task.mapper_a_mappable_task_0" ': - container: - args: - - pyflyte-map-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.map_task - - task-name - - a_mappable_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - custom: - minSuccessRatio: 1 - id: - name: core.control_flow.map_task.mapper_a_mappable_task_0 - resourceType: TASK - interface: - inputs: - variables: - a: - type: - collectionType: - simple: INTEGER - outputs: - variables: - o0: - type: - collectionType: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - taskTypeVersion: 1 - type: container_array diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/053_core.control_flow.map_task.my_map_workflow_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/053_core.control_flow.map_task.my_map_workflow_2_wf_crd.json new file mode 100755 index 0000000000..cf38fe3950 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/053_core.control_flow.map_task.my_map_workflow_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-map-task-my-map-workflow"}},"spec":{"id":"::core.control_flow.map_task.my_map_workflow","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"mapper_a_mappable_task_0","resources":{"limits":{"memory":"500Mi"},"requests":{"memory":"300Mi"}},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.map_task.mapper_a_mappable_task_0\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}}],"retry":{"minAttempts":2}},"n1":{"id":"n1","name":"coalesce","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.map_task.coalesce\"","inputBindings":[{"var":"b","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"a":{"collection":{"literals":[{"scalar":{"primitive":{"integer":"0"}}}]}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.map_task.coalesce\"":{"id":{"resourceType":"TASK","name":"core.control_flow.map_task.coalesce"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"b":{"type":{"collectionType":{"simple":"STRING"}}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.map_task","task-name","coalesce"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.map_task.mapper_a_mappable_task_0\"":{"id":{"resourceType":"TASK","name":"core.control_flow.map_task.mapper_a_mappable_task_0"},"type":"container_array","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"collectionType":{"simple":"INTEGER"}}}}},"outputs":{"variables":{"o0":{"type":{"collectionType":{"simple":"STRING"}}}}}},"custom":{"minSuccessRatio":1},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-map-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.map_task","task-name","a_mappable_task"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]},"taskTypeVersion":1}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml deleted file mode 100755 index d99831ef8e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/059_core.control_flow.merge_sort.merge_sort_2_wf.yaml +++ /dev/null @@ -1,272 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - numbers: - collection: - literals: - - scalar: - primitive: - integer: "0" - numbers_count: - scalar: - primitive: - integer: "0" - run_local_at_count: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-merge-sort-merge-sort - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - n0-n0: - - start-node - n0-n1: - - start-node - id: ::core.control_flow.merge_sort.merge_sort - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - branch: - else: n0-n1 - if: - condition: - comparison: - leftValue: - var: .numbers_count - operator: LTE - rightValue: - var: .run_local_at_count - then: n0-n0 - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: numbers_count - var: .numbers_count - - binding: - promise: - nodeId: start-node - var: run_local_at_count - var: .run_local_at_count - kind: branch - name: terminal_case - resources: {} - n0-n0: - id: n0-n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: numbers - var: numbers - kind: task - name: sort_locally - resources: {} - task: 'resource_type:TASK name:"core.control_flow.merge_sort.sort_locally" ' - n0-n1: - id: n0-n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: numbers - var: numbers - - binding: - promise: - nodeId: start-node - var: run_local_at_count - var: run_local_at_count - kind: task - name: merge_sort_remotely - resources: {} - task: 'resource_type:TASK name:"core.control_flow.merge_sort.merge_sort_remotely" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - collectionType: - simple: INTEGER -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.merge_sort.merge_sort_remotely" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - merge_sort_remotely - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - env: - - key: _F_SS_C - value: H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA= - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.merge_sort_remotely - resourceType: TASK - interface: - inputs: - variables: - numbers: - type: - collectionType: - simple: INTEGER - run_local_at_count: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - collectionType: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.control_flow.merge_sort.sort_locally" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.merge_sort - - task-name - - sort_locally - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.merge_sort.sort_locally - resourceType: TASK - interface: - inputs: - variables: - numbers: - type: - collectionType: - simple: INTEGER - outputs: - variables: - o0: - type: - collectionType: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/059_core.control_flow.merge_sort.merge_sort_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/059_core.control_flow.merge_sort.merge_sort_2_wf_crd.json new file mode 100755 index 0000000000..c4de05de75 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/059_core.control_flow.merge_sort.merge_sort_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-merge-sort-merge-sort"}},"spec":{"id":"::core.control_flow.merge_sort.merge_sort","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"terminal_case","resources":{},"kind":"branch","branch":{"if":{"condition":{"comparison":{"operator":"LTE","leftValue":{"var":".numbers_count"},"rightValue":{"var":".run_local_at_count"}}},"then":"n0-n0"},"else":"n0-n1"},"inputBindings":[{"var":".numbers_count","binding":{"promise":{"nodeId":"start-node","var":"numbers_count"}}},{"var":".run_local_at_count","binding":{"promise":{"nodeId":"start-node","var":"run_local_at_count"}}}]},"n0-n0":{"id":"n0-n0","name":"sort_locally","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.merge_sort.sort_locally\"","inputBindings":[{"var":"numbers","binding":{"promise":{"nodeId":"start-node","var":"numbers"}}}]},"n0-n1":{"id":"n0-n1","name":"merge_sort_remotely","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.merge_sort.merge_sort_remotely\"","inputBindings":[{"var":"numbers","binding":{"promise":{"nodeId":"start-node","var":"numbers"}}},{"var":"run_local_at_count","binding":{"promise":{"nodeId":"start-node","var":"run_local_at_count"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"],"n0-n0":["start-node"],"n0-n1":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"collectionType":{"simple":"INTEGER"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"numbers":{"collection":{"literals":[{"scalar":{"primitive":{"integer":"0"}}}]}},"numbers_count":{"scalar":{"primitive":{"integer":"0"}}},"run_local_at_count":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.merge_sort.merge_sort_remotely\"":{"id":{"resourceType":"TASK","name":"core.control_flow.merge_sort.merge_sort_remotely"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"numbers":{"type":{"collectionType":{"simple":"INTEGER"}}},"run_local_at_count":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"collectionType":{"simple":"INTEGER"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.merge_sort","task-name","merge_sort_remotely"],"resources":{},"env":[{"key":"_F_SS_C","value":"H4sIAAAAAAAC/8VRXW7DIAy+ysTzWtKtUuiuMk2RAZN6pZCBE6mrevcBXdXuBHsIsr8f85mcBR1hxMHE4GgUb09nYdHB7HloREMCHGtxY8Tzk3BfoSLj3qQ1Ren8iTGm8VqYGA+6fFXIUKcKExOulFa4AbXdmR1YZ0CpbruDrt/qTWfBvvTK9V3X9+JSjO36XLzv/xHgo0aYUvxEw8UeZu8LYOMRKNz7BVOm+ABgWO7NdOJ9DAMFxjQlLGcNIuPEcilCqSnIq+a1bVSTH4iHhRLP4ItkSDHyX5MnfTOtlczEuJrAHOpbyduENg0yDxkTgadv4JKydMwUxtz+KQbQHm2pHfiMdTnMhb5KLaWHrSlzIj03xkfTJL/05fIDQ+X0kUICAAA="}],"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.control_flow.merge_sort.sort_locally\"":{"id":{"resourceType":"TASK","name":"core.control_flow.merge_sort.sort_locally"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"numbers":{"type":{"collectionType":{"simple":"INTEGER"}}}}},"outputs":{"variables":{"o0":{"type":{"collectionType":{"simple":"INTEGER"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.merge_sort","task-name","sort_locally"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml deleted file mode 100755 index 05c5b6f080..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/062_core.control_flow.subworkflows.my_subwf_2_wf.yaml +++ /dev/null @@ -1,189 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - a: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-subworkflows-my-subwf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.control_flow.subworkflows.my_subwf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: c - var: o0 - - binding: - promise: - nodeId: n1 - var: c - var: o1 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - kind: task - name: t1 - resources: {} - task: 'resource_type:TASK name:"core.control_flow.subworkflows.t1" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: t1_int_output - var: a - kind: task - name: t1 - resources: {} - task: 'resource_type:TASK name:"core.control_flow.subworkflows.t1" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: c - var: o0 - - binding: - promise: - nodeId: n1 - var: c - var: o1 - outputs: - variables: - o0: - type: - simple: STRING - o1: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.subworkflows.t1" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.t1 - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: INTEGER - outputs: - variables: - c: - type: - simple: STRING - t1_int_output: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/062_core.control_flow.subworkflows.my_subwf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/062_core.control_flow.subworkflows.my_subwf_2_wf_crd.json new file mode 100755 index 0000000000..c0c257bc46 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/062_core.control_flow.subworkflows.my_subwf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-subworkflows-my-subwf"}},"spec":{"id":"::core.control_flow.subworkflows.my_subwf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"c"}}},{"var":"o1","binding":{"promise":{"nodeId":"n1","var":"c"}}}]},"n0":{"id":"n0","name":"t1","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.subworkflows.t1\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}}]},"n1":{"id":"n1","name":"t1","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.subworkflows.t1\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"n0","var":"t1_int_output"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node","n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node","n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0","n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}},"o1":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"c"}}},{"var":"o1","binding":{"promise":{"nodeId":"n1","var":"c"}}}]},"inputs":{"literals":{"a":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.subworkflows.t1\"":{"id":{"resourceType":"TASK","name":"core.control_flow.subworkflows.t1"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"c":{"type":{"simple":"STRING"}},"t1_int_output":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.subworkflows","task-name","t1"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml deleted file mode 100755 index 44b6afc5fb..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/069_core.control_flow.subworkflows.ext_workflow_2_wf.yaml +++ /dev/null @@ -1,152 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - my_input: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-control-flow-subworkflows-ext-workflow - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.control_flow.subworkflows.ext_workflow - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: my_input - var: input_string1 - kind: task - name: count_freq_words - resources: {} - task: 'resource_type:TASK name:"core.control_flow.subworkflows.count_freq_words" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: STRUCT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.control_flow.subworkflows.count_freq_words" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.control_flow.subworkflows - - task-name - - count_freq_words - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.control_flow.subworkflows.count_freq_words - resourceType: TASK - interface: - inputs: - variables: - input_string1: - type: - simple: STRING - outputs: - variables: - o0: - type: - simple: STRUCT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/069_core.control_flow.subworkflows.ext_workflow_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/069_core.control_flow.subworkflows.ext_workflow_2_wf_crd.json new file mode 100755 index 0000000000..5f871f850a --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/069_core.control_flow.subworkflows.ext_workflow_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-control-flow-subworkflows-ext-workflow"}},"spec":{"id":"::core.control_flow.subworkflows.ext_workflow","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"count_freq_words","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.control_flow.subworkflows.count_freq_words\"","inputBindings":[{"var":"input_string1","binding":{"promise":{"nodeId":"start-node","var":"my_input"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRUCT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"my_input":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.control_flow.subworkflows.count_freq_words\"":{"id":{"resourceType":"TASK","name":"core.control_flow.subworkflows.count_freq_words"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"input_string1":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRUCT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.control_flow.subworkflows","task-name","count_freq_words"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml deleted file mode 100755 index d22d9eaf90..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf.yaml +++ /dev/null @@ -1,198 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - path: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-extend-flyte-custom-task-plugin-my-workflow - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.extend_flyte.custom_task_plugin.my_workflow - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - activeDeadline: 40m0s - executionDeadline: 20m0s - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: path - var: path - kind: task - name: my-objectstore-sensor - resources: {} - retry: - minAttempts: 11 - task: 'resource_type:TASK name:"my-objectstore-sensor" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: path - var: path - kind: task - name: print_file - resources: {} - task: 'resource_type:TASK name:"core.extend_flyte.custom_task_plugin.print_file" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.extend_flyte.custom_task_plugin.print_file" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_task_plugin - - task-name - - print_file - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_task_plugin.print_file - resourceType: TASK - interface: - inputs: - variables: - path: - type: - simple: STRING - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"my-objectstore-sensor" ': - id: - name: my-objectstore-sensor - resourceType: TASK - interface: - inputs: - variables: - path: - type: - simple: STRING - outputs: - variables: - path: - type: - simple: STRING - metadata: - retries: - retries: 10 - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - timeout: 1200s - type: object-store-sensor diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf_crd.json new file mode 100755 index 0000000000..fecbce5d11 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/077_core.extend_flyte.custom_task_plugin.my_workflow_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-extend-flyte-custom-task-plugin-my-workflow"}},"spec":{"id":"::core.extend_flyte.custom_task_plugin.my_workflow","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"my-objectstore-sensor","resources":{},"kind":"task","task":"resource_type:TASK name:\"my-objectstore-sensor\"","inputBindings":[{"var":"path","binding":{"promise":{"nodeId":"start-node","var":"path"}}}],"retry":{"minAttempts":11},"executionDeadline":"20m0s","activeDeadline":"40m0s"},"n1":{"id":"n1","name":"print_file","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.extend_flyte.custom_task_plugin.print_file\"","inputBindings":[{"var":"path","binding":{"promise":{"nodeId":"n0","var":"path"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"path":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.extend_flyte.custom_task_plugin.print_file\"":{"id":{"resourceType":"TASK","name":"core.extend_flyte.custom_task_plugin.print_file"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"path":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.extend_flyte.custom_task_plugin","task-name","print_file"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"my-objectstore-sensor\"":{"id":{"resourceType":"TASK","name":"my-objectstore-sensor"},"type":"object-store-sensor","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"timeout":"1200s","retries":{"retries":10}},"interface":{"inputs":{"variables":{"path":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"path":{"type":{"simple":"STRING"}}}}}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/081_core.extend_flyte.custom_types.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/081_core.extend_flyte.custom_types.wf_2_wf.yaml deleted file mode 100755 index 56b6c88316..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/081_core.extend_flyte.custom_types.wf_2_wf.yaml +++ /dev/null @@ -1,210 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-extend-flyte-custom-types-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.extend_flyte.custom_types.wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: generate - resources: {} - task: 'resource_type:TASK name:"core.extend_flyte.custom_types.generate" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: d - kind: task - name: consume - resources: {} - task: 'resource_type:TASK name:"core.extend_flyte.custom_types.consume" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.extend_flyte.custom_types.consume" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - consume - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.consume - resourceType: TASK - interface: - inputs: - variables: - d: - type: - blob: - dimensionality: MULTIPART - format: binary - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.extend_flyte.custom_types.generate" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.extend_flyte.custom_types - - task-name - - generate - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.extend_flyte.custom_types.generate - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - blob: - dimensionality: MULTIPART - format: binary - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/081_core.extend_flyte.custom_types.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/081_core.extend_flyte.custom_types.wf_2_wf_crd.json new file mode 100755 index 0000000000..b64891180f --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/081_core.extend_flyte.custom_types.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-extend-flyte-custom-types-wf"}},"spec":{"id":"::core.extend_flyte.custom_types.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"generate","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.extend_flyte.custom_types.generate\""},"n1":{"id":"n1","name":"consume","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.extend_flyte.custom_types.consume\"","inputBindings":[{"var":"d","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.extend_flyte.custom_types.consume\"":{"id":{"resourceType":"TASK","name":"core.extend_flyte.custom_types.consume"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"d":{"type":{"blob":{"format":"binary","dimensionality":"MULTIPART"}}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.extend_flyte.custom_types","task-name","consume"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.extend_flyte.custom_types.generate\"":{"id":{"resourceType":"TASK","name":"core.extend_flyte.custom_types.generate"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"blob":{"format":"binary","dimensionality":"MULTIPART"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.extend_flyte.custom_types","task-name","generate"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml deleted file mode 100755 index 2471c19aac..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/085_core.flyte_basics.basic_workflow.my_wf_2_wf.yaml +++ /dev/null @@ -1,255 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - a: - scalar: - primitive: - integer: "0" - b: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-basic-workflow-my-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - - n1 - n1: - - end-node - start-node: - - n0 - - n1 - edges: - downstream: - n0: - - end-node - - n1 - n1: - - end-node - start-node: - - n0 - - n1 - upstream: - end-node: - - n0 - - n1 - n0: - - start-node - n1: - - n0 - - start-node - id: ::core.flyte_basics.basic_workflow.my_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: t1_int_output - var: o0 - - binding: - promise: - nodeId: n1 - var: o0 - var: o1 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - kind: task - name: t1 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.basic_workflow.t1" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: c - var: a - - binding: - promise: - nodeId: start-node - var: b - var: b - kind: task - name: t2 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.basic_workflow.t2" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: t1_int_output - var: o0 - - binding: - promise: - nodeId: n1 - var: o0 - var: o1 - outputs: - variables: - o0: - type: - simple: INTEGER - o1: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.basic_workflow.t1" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t1 - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: INTEGER - outputs: - variables: - c: - type: - simple: STRING - t1_int_output: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.basic_workflow.t2" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.basic_workflow - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.basic_workflow.t2 - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: STRING - b: - type: - simple: STRING - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/085_core.flyte_basics.basic_workflow.my_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/085_core.flyte_basics.basic_workflow.my_wf_2_wf_crd.json new file mode 100755 index 0000000000..c3d78033b8 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/085_core.flyte_basics.basic_workflow.my_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-basic-workflow-my-wf"}},"spec":{"id":"::core.flyte_basics.basic_workflow.my_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"t1_int_output"}}},{"var":"o1","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"t1","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.basic_workflow.t1\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}}]},"n1":{"id":"n1","name":"t2","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.basic_workflow.t2\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"n0","var":"c"}}},{"var":"b","binding":{"promise":{"nodeId":"start-node","var":"b"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node","n1"],"n1":["end-node"],"start-node":["n0","n1"]},"edges":{"downstream":{"n0":["end-node","n1"],"n1":["end-node"],"start-node":["n0","n1"]},"upstream":{"end-node":["n0","n1"],"n0":["start-node"],"n1":["n0","start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}},"o1":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"t1_int_output"}}},{"var":"o1","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"a":{"scalar":{"primitive":{"integer":"0"}}},"b":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.basic_workflow.t1\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.basic_workflow.t1"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"c":{"type":{"simple":"STRING"}},"t1_int_output":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.basic_workflow","task-name","t1"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.basic_workflow.t2\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.basic_workflow.t2"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"STRING"}},"b":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.basic_workflow","task-name","t2"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml deleted file mode 100755 index bb3d279c16..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/089_core.flyte_basics.decorating_tasks.wf_2_wf.yaml +++ /dev/null @@ -1,221 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - x: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-decorating-tasks-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.flyte_basics.decorating_tasks.wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: x - var: x - kind: task - name: t1 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.decorating_tasks.t1" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: x - kind: task - name: t2 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.decorating_tasks.t2" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: INTEGER -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.decorating_tasks.t1" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t1 - resourceType: TASK - interface: - inputs: - variables: - x: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.decorating_tasks.t2" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_tasks - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_tasks.t2 - resourceType: TASK - interface: - inputs: - variables: - x: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/089_core.flyte_basics.decorating_tasks.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/089_core.flyte_basics.decorating_tasks.wf_2_wf_crd.json new file mode 100755 index 0000000000..1167dcfa42 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/089_core.flyte_basics.decorating_tasks.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-decorating-tasks-wf"}},"spec":{"id":"::core.flyte_basics.decorating_tasks.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"t1","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.decorating_tasks.t1\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"start-node","var":"x"}}}]},"n1":{"id":"n1","name":"t2","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.decorating_tasks.t2\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"x":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.decorating_tasks.t1\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.decorating_tasks.t1"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.decorating_tasks","task-name","t1"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.decorating_tasks.t2\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.decorating_tasks.t2"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.decorating_tasks","task-name","t2"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml deleted file mode 100755 index 690370bf14..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/095_core.flyte_basics.decorating_workflows.wf_2_wf.yaml +++ /dev/null @@ -1,337 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - x: - scalar: - primitive: - floatValue: 0 -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-decorating-workflows-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - n2 - n2: - - end-node - - n3 - n3: - - end-node - start-node: - - n0 - - n1 - edges: - downstream: - n0: - - n1 - n1: - - n2 - n2: - - end-node - - n3 - n3: - - end-node - start-node: - - n0 - - n1 - upstream: - end-node: - - n2 - - n3 - n0: - - start-node - n1: - - n0 - - start-node - n2: - - n1 - n3: - - n2 - id: ::core.flyte_basics.decorating_workflows.wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: setup - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.setup" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: x - var: x - kind: task - name: t1 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.t1" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: x - kind: task - name: t2 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.t2" ' - n3: - id: n3 - kind: task - name: teardown - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.teardown" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: FLOAT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.setup" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - setup - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.setup - resourceType: TASK - interface: - inputs: {} - outputs: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.t1" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t1 - resourceType: TASK - interface: - inputs: - variables: - x: - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.t2" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.t2 - resourceType: TASK - interface: - inputs: - variables: - x: - type: - simple: FLOAT - outputs: - variables: - o0: - type: - simple: FLOAT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.decorating_workflows.teardown" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.decorating_workflows - - task-name - - teardown - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.decorating_workflows.teardown - resourceType: TASK - interface: - inputs: {} - outputs: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/095_core.flyte_basics.decorating_workflows.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/095_core.flyte_basics.decorating_workflows.wf_2_wf_crd.json new file mode 100755 index 0000000000..beefec5f74 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/095_core.flyte_basics.decorating_workflows.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-decorating-workflows-wf"}},"spec":{"id":"::core.flyte_basics.decorating_workflows.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"n0":{"id":"n0","name":"setup","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.setup\""},"n1":{"id":"n1","name":"t1","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.t1\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"start-node","var":"x"}}}]},"n2":{"id":"n2","name":"t2","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.t2\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n3":{"id":"n3","name":"teardown","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.teardown\""},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["n2"],"n2":["end-node","n3"],"n3":["end-node"],"start-node":["n0","n1"]},"edges":{"downstream":{"n0":["n1"],"n1":["n2"],"n2":["end-node","n3"],"n3":["end-node"],"start-node":["n0","n1"]},"upstream":{"end-node":["n2","n3"],"n0":["start-node"],"n1":["n0","start-node"],"n2":["n1"],"n3":["n2"]}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"inputs":{"literals":{"x":{"scalar":{"primitive":{"floatValue":0}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.setup\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.decorating_workflows.setup"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.decorating_workflows","task-name","setup"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.t1\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.decorating_workflows.t1"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.decorating_workflows","task-name","t1"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.t2\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.decorating_workflows.t2"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"simple":"FLOAT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"FLOAT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.decorating_workflows","task-name","t2"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.decorating_workflows.teardown\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.decorating_workflows.teardown"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.decorating_workflows","task-name","teardown"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml deleted file mode 100755 index 5c33c67395..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf.yaml +++ /dev/null @@ -1,168 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - data: - scalar: - generic: {} - df: - scalar: - structuredDataset: - metadata: - structuredDatasetType: - format: parquet -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-documented-workflow-sphinx-docstring - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.flyte_basics.documented_workflow.sphinx_docstring - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: data - var: data - - binding: - promise: - nodeId: start-node - var: df - var: df - kind: task - name: add_data - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.documented_workflow.add_data" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.documented_workflow.add_data" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resourceType: TASK - interface: - inputs: - variables: - data: - type: - simple: STRUCT - df: - type: - structuredDatasetType: - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf_crd.json new file mode 100755 index 0000000000..c4e129ee99 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/098_core.flyte_basics.documented_workflow.sphinx_docstring_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-documented-workflow-sphinx-docstring"}},"spec":{"id":"::core.flyte_basics.documented_workflow.sphinx_docstring","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"add_data","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.documented_workflow.add_data\"","inputBindings":[{"var":"data","binding":{"promise":{"nodeId":"start-node","var":"data"}}},{"var":"df","binding":{"promise":{"nodeId":"start-node","var":"df"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"data":{"scalar":{"generic":{}}},"df":{"scalar":{"structuredDataset":{"metadata":{"structuredDatasetType":{"format":"parquet"}}}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.documented_workflow.add_data\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.documented_workflow.add_data"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"data":{"type":{"simple":"STRUCT"}},"df":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.documented_workflow","task-name","add_data"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml deleted file mode 100755 index c1d2d357da..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf.yaml +++ /dev/null @@ -1,168 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - data: - scalar: - generic: {} - df: - scalar: - structuredDataset: - metadata: - structuredDatasetType: - format: parquet -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-documented-workflow-numpy-docstring - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.flyte_basics.documented_workflow.numpy_docstring - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: data - var: data - - binding: - promise: - nodeId: start-node - var: df - var: df - kind: task - name: add_data - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.documented_workflow.add_data" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.documented_workflow.add_data" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resourceType: TASK - interface: - inputs: - variables: - data: - type: - simple: STRUCT - df: - type: - structuredDatasetType: - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf_crd.json new file mode 100755 index 0000000000..e3b6562bd0 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/100_core.flyte_basics.documented_workflow.numpy_docstring_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-documented-workflow-numpy-docstring"}},"spec":{"id":"::core.flyte_basics.documented_workflow.numpy_docstring","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"add_data","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.documented_workflow.add_data\"","inputBindings":[{"var":"data","binding":{"promise":{"nodeId":"start-node","var":"data"}}},{"var":"df","binding":{"promise":{"nodeId":"start-node","var":"df"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"data":{"scalar":{"generic":{}}},"df":{"scalar":{"structuredDataset":{"metadata":{"structuredDatasetType":{"format":"parquet"}}}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.documented_workflow.add_data\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.documented_workflow.add_data"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"data":{"type":{"simple":"STRUCT"}},"df":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.documented_workflow","task-name","add_data"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml deleted file mode 100755 index 2c781af52e..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/102_core.flyte_basics.documented_workflow.google_docstring_2_wf.yaml +++ /dev/null @@ -1,168 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - data: - scalar: - generic: {} - df: - scalar: - structuredDataset: - metadata: - structuredDatasetType: - format: parquet -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-documented-workflow-google-docstring - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.flyte_basics.documented_workflow.google_docstring - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: data - var: data - - binding: - promise: - nodeId: start-node - var: df - var: df - kind: task - name: add_data - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.documented_workflow.add_data" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.documented_workflow.add_data" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.documented_workflow - - task-name - - add_data - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.documented_workflow.add_data - resourceType: TASK - interface: - inputs: - variables: - data: - type: - simple: STRUCT - df: - type: - structuredDatasetType: - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/102_core.flyte_basics.documented_workflow.google_docstring_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/102_core.flyte_basics.documented_workflow.google_docstring_2_wf_crd.json new file mode 100755 index 0000000000..bc6a1136b1 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/102_core.flyte_basics.documented_workflow.google_docstring_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-documented-workflow-google-docstring"}},"spec":{"id":"::core.flyte_basics.documented_workflow.google_docstring","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"add_data","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.documented_workflow.add_data\"","inputBindings":[{"var":"data","binding":{"promise":{"nodeId":"start-node","var":"data"}}},{"var":"df","binding":{"promise":{"nodeId":"start-node","var":"df"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"data":{"scalar":{"generic":{}}},"df":{"scalar":{"structuredDataset":{"metadata":{"structuredDatasetType":{"format":"parquet"}}}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.documented_workflow.add_data\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.documented_workflow.add_data"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"data":{"type":{"simple":"STRUCT"}},"df":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.documented_workflow","task-name","add_data"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml deleted file mode 100755 index 326658e0c0..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/105_core.flyte_basics.files.normalize_csv_file_2_wf.yaml +++ /dev/null @@ -1,196 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - column_names: - collection: - literals: - - scalar: - primitive: - stringValue: "" - columns_to_normalize: - collection: - literals: - - scalar: - primitive: - stringValue: "" - csv_url: - scalar: - blob: - metadata: - type: {} - uri: /tmp/somepath - output_location: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-files-normalize-csv-file - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.flyte_basics.files.normalize_csv_file - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: column_names - var: column_names - - binding: - promise: - nodeId: start-node - var: columns_to_normalize - var: columns_to_normalize - - binding: - promise: - nodeId: start-node - var: csv_url - var: csv_url - - binding: - promise: - nodeId: start-node - var: output_location - var: output_location - kind: task - name: normalize_columns - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.files.normalize_columns" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - blob: {} -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.files.normalize_columns" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.files - - task-name - - normalize_columns - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.files.normalize_columns - resourceType: TASK - interface: - inputs: - variables: - column_names: - type: - collectionType: - simple: STRING - columns_to_normalize: - type: - collectionType: - simple: STRING - csv_url: - type: - blob: {} - output_location: - type: - simple: STRING - outputs: - variables: - o0: - type: - blob: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/105_core.flyte_basics.files.normalize_csv_file_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/105_core.flyte_basics.files.normalize_csv_file_2_wf_crd.json new file mode 100755 index 0000000000..1332ec0a42 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/105_core.flyte_basics.files.normalize_csv_file_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-files-normalize-csv-file"}},"spec":{"id":"::core.flyte_basics.files.normalize_csv_file","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"normalize_columns","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.files.normalize_columns\"","inputBindings":[{"var":"column_names","binding":{"promise":{"nodeId":"start-node","var":"column_names"}}},{"var":"columns_to_normalize","binding":{"promise":{"nodeId":"start-node","var":"columns_to_normalize"}}},{"var":"csv_url","binding":{"promise":{"nodeId":"start-node","var":"csv_url"}}},{"var":"output_location","binding":{"promise":{"nodeId":"start-node","var":"output_location"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"blob":{}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"column_names":{"collection":{"literals":[{"scalar":{"primitive":{"stringValue":""}}}]}},"columns_to_normalize":{"collection":{"literals":[{"scalar":{"primitive":{"stringValue":""}}}]}},"csv_url":{"scalar":{"blob":{"metadata":{"type":{}},"uri":"/tmp/somepath"}}},"output_location":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.files.normalize_columns\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.files.normalize_columns"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"column_names":{"type":{"collectionType":{"simple":"STRING"}}},"columns_to_normalize":{"type":{"collectionType":{"simple":"STRING"}}},"csv_url":{"type":{"blob":{}}},"output_location":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"blob":{}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.files","task-name","normalize_columns"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml deleted file mode 100755 index 421c42d822..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf.yaml +++ /dev/null @@ -1,267 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - columns_metadata: - collection: - literals: - - collection: - literals: - - scalar: - primitive: - stringValue: "" - columns_to_normalize_metadata: - collection: - literals: - - collection: - literals: - - scalar: - primitive: - stringValue: "" - csv_urls: - collection: - literals: - - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-folders-download-and-normalize-csv-files - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - - n1 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - - n1 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - - start-node - id: ::core.flyte_basics.folders.download_and_normalize_csv_files - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: csv_urls - var: csv_urls - kind: task - name: download_files - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.folders.download_files" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: start-node - var: columns_metadata - var: columns_metadata - - binding: - promise: - nodeId: start-node - var: columns_to_normalize_metadata - var: columns_to_normalize_metadata - - binding: - promise: - nodeId: n0 - var: o0 - var: csv_files_dir - kind: task - name: normalize_all_files - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.folders.normalize_all_files" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - blob: - dimensionality: MULTIPART -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.folders.download_files" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - download_files - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.download_files - resourceType: TASK - interface: - inputs: - variables: - csv_urls: - type: - collectionType: - simple: STRING - outputs: - variables: - o0: - type: - blob: - dimensionality: MULTIPART - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.folders.normalize_all_files" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.folders - - task-name - - normalize_all_files - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.folders.normalize_all_files - resourceType: TASK - interface: - inputs: - variables: - columns_metadata: - type: - collectionType: - collectionType: - simple: STRING - columns_to_normalize_metadata: - type: - collectionType: - collectionType: - simple: STRING - csv_files_dir: - type: - blob: - dimensionality: MULTIPART - outputs: - variables: - o0: - type: - blob: - dimensionality: MULTIPART - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf_crd.json new file mode 100755 index 0000000000..88ba0db9c3 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/109_core.flyte_basics.folders.download_and_normalize_csv_files_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-folders-download-and-normalize-csv-files"}},"spec":{"id":"::core.flyte_basics.folders.download_and_normalize_csv_files","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"download_files","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.folders.download_files\"","inputBindings":[{"var":"csv_urls","binding":{"promise":{"nodeId":"start-node","var":"csv_urls"}}}]},"n1":{"id":"n1","name":"normalize_all_files","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.folders.normalize_all_files\"","inputBindings":[{"var":"columns_metadata","binding":{"promise":{"nodeId":"start-node","var":"columns_metadata"}}},{"var":"columns_to_normalize_metadata","binding":{"promise":{"nodeId":"start-node","var":"columns_to_normalize_metadata"}}},{"var":"csv_files_dir","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0","n1"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0","n1"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0","start-node"]}},"outputs":{"variables":{"o0":{"type":{"blob":{"dimensionality":"MULTIPART"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"columns_metadata":{"collection":{"literals":[{"collection":{"literals":[{"scalar":{"primitive":{"stringValue":""}}}]}}]}},"columns_to_normalize_metadata":{"collection":{"literals":[{"collection":{"literals":[{"scalar":{"primitive":{"stringValue":""}}}]}}]}},"csv_urls":{"collection":{"literals":[{"scalar":{"primitive":{"stringValue":""}}}]}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.folders.download_files\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.folders.download_files"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"csv_urls":{"type":{"collectionType":{"simple":"STRING"}}}}},"outputs":{"variables":{"o0":{"type":{"blob":{"dimensionality":"MULTIPART"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.folders","task-name","download_files"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.folders.normalize_all_files\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.folders.normalize_all_files"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"columns_metadata":{"type":{"collectionType":{"collectionType":{"simple":"STRING"}}}},"columns_to_normalize_metadata":{"type":{"collectionType":{"collectionType":{"simple":"STRING"}}}},"csv_files_dir":{"type":{"blob":{"dimensionality":"MULTIPART"}}}}},"outputs":{"variables":{"o0":{"type":{"blob":{"dimensionality":"MULTIPART"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.folders","task-name","normalize_all_files"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml deleted file mode 100755 index 18b5cd57a7..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/112_core.flyte_basics.hello_world.my_wf_2_wf.yaml +++ /dev/null @@ -1,137 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-hello-world-my-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.flyte_basics.hello_world.my_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: say_hello - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.hello_world.say_hello" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.hello_world.say_hello" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.hello_world - - task-name - - say_hello - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.hello_world.say_hello - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/112_core.flyte_basics.hello_world.my_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/112_core.flyte_basics.hello_world.my_wf_2_wf_crd.json new file mode 100755 index 0000000000..44359f8f4b --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/112_core.flyte_basics.hello_world.my_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-hello-world-my-wf"}},"spec":{"id":"::core.flyte_basics.hello_world.my_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"say_hello","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.hello_world.say_hello\""},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.hello_world.say_hello\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.hello_world.say_hello"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.hello_world","task-name","say_hello"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/117_my.imperative.workflow.example_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/117_my.imperative.workflow.example_2_wf.yaml deleted file mode 100755 index 9063363372..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/117_my.imperative.workflow.example_2_wf.yaml +++ /dev/null @@ -1,316 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - in1: - scalar: - primitive: - stringValue: "" - in2: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: my-imperative-workflow-example - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - n1: - - end-node - n2: - - end-node - start-node: - - n0 - - n1 - - n2 - edges: - downstream: - n0: - - end-node - n1: - - end-node - n2: - - end-node - start-node: - - n0 - - n1 - - n2 - upstream: - end-node: - - n0 - - n1 - - n2 - n0: - - start-node - n1: - - start-node - n2: - - start-node - id: ::my.imperative.workflow.example - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: output_from_t1 - - binding: - collection: - bindings: - - promise: - nodeId: n0 - var: o0 - - promise: - nodeId: n2 - var: o0 - var: output_list - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: in1 - var: a - kind: task - name: t1 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.imperative_wf_style.t1" ' - n1: - id: n1 - kind: task - name: t2 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.imperative_wf_style.t2" ' - n2: - id: n2 - inputBindings: - - binding: - collection: - bindings: - - promise: - nodeId: start-node - var: in1 - - promise: - nodeId: start-node - var: in2 - var: a - kind: task - name: t3 - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.imperative_wf_style.t3" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: output_from_t1 - - binding: - collection: - bindings: - - promise: - nodeId: n0 - var: o0 - - promise: - nodeId: n2 - var: o0 - var: output_list - outputs: - variables: - output_from_t1: - type: - simple: STRING - output_list: - type: - collectionType: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.imperative_wf_style.t1" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t1 - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: STRING - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.imperative_wf_style.t2" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t2 - resourceType: TASK - interface: - inputs: {} - outputs: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.imperative_wf_style.t3" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.imperative_wf_style - - task-name - - t3 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.imperative_wf_style.t3 - resourceType: TASK - interface: - inputs: - variables: - a: - type: - collectionType: - simple: STRING - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/117_my.imperative.workflow.example_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/117_my.imperative.workflow.example_2_wf_crd.json new file mode 100755 index 0000000000..c52156e33d --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/117_my.imperative.workflow.example_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"my-imperative-workflow-example"}},"spec":{"id":"::my.imperative.workflow.example","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"output_from_t1","binding":{"promise":{"nodeId":"n0","var":"o0"}}},{"var":"output_list","binding":{"collection":{"bindings":[{"promise":{"nodeId":"n0","var":"o0"}},{"promise":{"nodeId":"n2","var":"o0"}}]}}}]},"n0":{"id":"n0","name":"t1","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.imperative_wf_style.t1\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"in1"}}}]},"n1":{"id":"n1","name":"t2","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.imperative_wf_style.t2\""},"n2":{"id":"n2","name":"t3","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.imperative_wf_style.t3\"","inputBindings":[{"var":"a","binding":{"collection":{"bindings":[{"promise":{"nodeId":"start-node","var":"in1"}},{"promise":{"nodeId":"start-node","var":"in2"}}]}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"n1":["end-node"],"n2":["end-node"],"start-node":["n0","n1","n2"]},"edges":{"downstream":{"n0":["end-node"],"n1":["end-node"],"n2":["end-node"],"start-node":["n0","n1","n2"]},"upstream":{"end-node":["n0","n1","n2"],"n0":["start-node"],"n1":["start-node"],"n2":["start-node"]}},"outputs":{"variables":{"output_from_t1":{"type":{"simple":"STRING"}},"output_list":{"type":{"collectionType":{"simple":"STRING"}}}}},"outputBindings":[{"var":"output_from_t1","binding":{"promise":{"nodeId":"n0","var":"o0"}}},{"var":"output_list","binding":{"collection":{"bindings":[{"promise":{"nodeId":"n0","var":"o0"}},{"promise":{"nodeId":"n2","var":"o0"}}]}}}]},"inputs":{"literals":{"in1":{"scalar":{"primitive":{"stringValue":""}}},"in2":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.imperative_wf_style.t1\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.imperative_wf_style.t1"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.imperative_wf_style","task-name","t1"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.imperative_wf_style.t2\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.imperative_wf_style.t2"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.imperative_wf_style","task-name","t2"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.imperative_wf_style.t3\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.imperative_wf_style.t3"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"collectionType":{"simple":"STRING"}}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.imperative_wf_style","task-name","t3"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/120_core.flyte_basics.lp.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/120_core.flyte_basics.lp.my_wf_2_wf.yaml deleted file mode 100755 index 9f2e119810..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/120_core.flyte_basics.lp.my_wf_2_wf.yaml +++ /dev/null @@ -1,152 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - val: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-lp-my-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.flyte_basics.lp.my_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: val - var: val - kind: task - name: square - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.lp.square" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: INTEGER -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.lp.square" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - square - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.square - resourceType: TASK - interface: - inputs: - variables: - val: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: INTEGER - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/120_core.flyte_basics.lp.my_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/120_core.flyte_basics.lp.my_wf_2_wf_crd.json new file mode 100755 index 0000000000..9f07a3e9a8 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/120_core.flyte_basics.lp.my_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-lp-my-wf"}},"spec":{"id":"::core.flyte_basics.lp.my_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"square","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.lp.square\"","inputBindings":[{"var":"val","binding":{"promise":{"nodeId":"start-node","var":"val"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"val":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.lp.square\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.lp.square"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"val":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"INTEGER"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.lp","task-name","square"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/125_core.flyte_basics.lp.go_greet_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/125_core.flyte_basics.lp.go_greet_2_wf.yaml deleted file mode 100755 index dfd0880492..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/125_core.flyte_basics.lp.go_greet_2_wf.yaml +++ /dev/null @@ -1,176 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - am: - scalar: - primitive: - boolean: false - day_of_week: - scalar: - primitive: - stringValue: "" - number: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-lp-go-greet - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.flyte_basics.lp.go_greet - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: am - var: am - - binding: - promise: - nodeId: start-node - var: day_of_week - var: day_of_week - - binding: - promise: - nodeId: start-node - var: number - var: number - kind: task - name: greet - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.lp.greet" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.lp.greet" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.lp - - task-name - - greet - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.lp.greet - resourceType: TASK - interface: - inputs: - variables: - am: - type: - simple: BOOLEAN - day_of_week: - type: - simple: STRING - number: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/125_core.flyte_basics.lp.go_greet_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/125_core.flyte_basics.lp.go_greet_2_wf_crd.json new file mode 100755 index 0000000000..4daaecd067 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/125_core.flyte_basics.lp.go_greet_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-lp-go-greet"}},"spec":{"id":"::core.flyte_basics.lp.go_greet","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"greet","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.lp.greet\"","inputBindings":[{"var":"am","binding":{"promise":{"nodeId":"start-node","var":"am"}}},{"var":"day_of_week","binding":{"promise":{"nodeId":"start-node","var":"day_of_week"}}},{"var":"number","binding":{"promise":{"nodeId":"start-node","var":"number"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"am":{"scalar":{"primitive":{"boolean":false}}},"day_of_week":{"scalar":{"primitive":{"stringValue":""}}},"number":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.lp.greet\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.lp.greet"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"am":{"type":{"simple":"BOOLEAN"}},"day_of_week":{"type":{"simple":"STRING"}},"number":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.lp","task-name","greet"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml deleted file mode 100755 index 753d9aa567..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/129_core.flyte_basics.named_outputs.my_wf_2_wf.yaml +++ /dev/null @@ -1,165 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-named-outputs-my-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - n1: - - end-node - start-node: - - n0 - - n1 - edges: - downstream: - n0: - - end-node - n1: - - end-node - start-node: - - n0 - - n1 - upstream: - end-node: - - n0 - - n1 - n0: - - start-node - n1: - - start-node - id: ::core.flyte_basics.named_outputs.my_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: greet - var: greet1 - - binding: - promise: - nodeId: n1 - var: greet - var: greet2 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: say_hello - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.named_outputs.say_hello" ' - n1: - id: n1 - kind: task - name: say_hello - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.named_outputs.say_hello" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: greet - var: greet1 - - binding: - promise: - nodeId: n1 - var: greet - var: greet2 - outputs: - variables: - greet1: - type: - simple: STRING - greet2: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.named_outputs.say_hello" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.named_outputs - - task-name - - say_hello - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.named_outputs.say_hello - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - greet: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/129_core.flyte_basics.named_outputs.my_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/129_core.flyte_basics.named_outputs.my_wf_2_wf_crd.json new file mode 100755 index 0000000000..78ca24e81f --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/129_core.flyte_basics.named_outputs.my_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-named-outputs-my-wf"}},"spec":{"id":"::core.flyte_basics.named_outputs.my_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"greet1","binding":{"promise":{"nodeId":"n0","var":"greet"}}},{"var":"greet2","binding":{"promise":{"nodeId":"n1","var":"greet"}}}]},"n0":{"id":"n0","name":"say_hello","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.named_outputs.say_hello\""},"n1":{"id":"n1","name":"say_hello","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.named_outputs.say_hello\""},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"n1":["end-node"],"start-node":["n0","n1"]},"edges":{"downstream":{"n0":["end-node"],"n1":["end-node"],"start-node":["n0","n1"]},"upstream":{"end-node":["n0","n1"],"n0":["start-node"],"n1":["start-node"]}},"outputs":{"variables":{"greet1":{"type":{"simple":"STRING"}},"greet2":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"greet1","binding":{"promise":{"nodeId":"n0","var":"greet"}}},{"var":"greet2","binding":{"promise":{"nodeId":"n1","var":"greet"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.named_outputs.say_hello\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.named_outputs.say_hello"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"greet":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.named_outputs","task-name","say_hello"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/140_core.flyte_basics.shell_task.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/140_core.flyte_basics.shell_task.wf_2_wf.yaml deleted file mode 100755 index db69412129..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/140_core.flyte_basics.shell_task.wf_2_wf.yaml +++ /dev/null @@ -1,380 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-shell-task-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - - n2 - - n3 - n1: - - n2 - n2: - - n3 - n3: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - - n2 - - n3 - n1: - - n2 - n2: - - n3 - n3: - - end-node - start-node: - - n0 - upstream: - end-node: - - n3 - n0: - - start-node - n1: - - n0 - n2: - - n0 - - n1 - n3: - - n0 - - n2 - id: ::core.flyte_basics.shell_task.wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n3 - var: k - var: o0 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: create_entities - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.shell_task.create_entities" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: x - kind: task - name: task_1 - resources: {} - task: 'resource_type:TASK name:"task_1" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: n1 - var: i - var: x - - binding: - promise: - nodeId: n0 - var: o1 - var: "y" - kind: task - name: task_2 - resources: {} - task: 'resource_type:TASK name:"task_2" ' - n3: - id: n3 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: x - - binding: - promise: - nodeId: n0 - var: o1 - var: "y" - - binding: - promise: - nodeId: n2 - var: j - var: z - kind: task - name: task_3 - resources: {} - task: 'resource_type:TASK name:"task_3" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n3 - var: k - var: o0 - outputs: - variables: - o0: - type: - blob: {} -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.shell_task.create_entities" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - create_entities - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.shell_task.create_entities - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - blob: {} - o1: - type: - blob: - dimensionality: MULTIPART - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"task_1" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_1 - resourceType: TASK - interface: - inputs: - variables: - x: - type: - blob: {} - outputs: - variables: - i: - type: - blob: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"task_2" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_2 - resourceType: TASK - interface: - inputs: - variables: - x: - type: - blob: {} - "y": - type: - blob: - dimensionality: MULTIPART - outputs: - variables: - j: - type: - blob: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"task_3" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.shell_task - - task-name - - t3 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: task_3 - resourceType: TASK - interface: - inputs: - variables: - x: - type: - blob: {} - "y": - type: - blob: - dimensionality: MULTIPART - z: - type: - blob: {} - outputs: - variables: - k: - type: - blob: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/140_core.flyte_basics.shell_task.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/140_core.flyte_basics.shell_task.wf_2_wf_crd.json new file mode 100755 index 0000000000..439d645109 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/140_core.flyte_basics.shell_task.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-shell-task-wf"}},"spec":{"id":"::core.flyte_basics.shell_task.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n3","var":"k"}}}]},"n0":{"id":"n0","name":"create_entities","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.shell_task.create_entities\""},"n1":{"id":"n1","name":"task_1","resources":{},"kind":"task","task":"resource_type:TASK name:\"task_1\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n2":{"id":"n2","name":"task_2","resources":{},"kind":"task","task":"resource_type:TASK name:\"task_2\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"n1","var":"i"}}},{"var":"y","binding":{"promise":{"nodeId":"n0","var":"o1"}}}]},"n3":{"id":"n3","name":"task_3","resources":{},"kind":"task","task":"resource_type:TASK name:\"task_3\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"n0","var":"o0"}}},{"var":"y","binding":{"promise":{"nodeId":"n0","var":"o1"}}},{"var":"z","binding":{"promise":{"nodeId":"n2","var":"j"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1","n2","n3"],"n1":["n2"],"n2":["n3"],"n3":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1","n2","n3"],"n1":["n2"],"n2":["n3"],"n3":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n3"],"n0":["start-node"],"n1":["n0"],"n2":["n0","n1"],"n3":["n0","n2"]}},"outputs":{"variables":{"o0":{"type":{"blob":{}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n3","var":"k"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.shell_task.create_entities\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.shell_task.create_entities"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"blob":{}}},"o1":{"type":{"blob":{"dimensionality":"MULTIPART"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.shell_task","task-name","create_entities"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"task_1\"":{"id":{"resourceType":"TASK","name":"task_1"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"blob":{}}}}},"outputs":{"variables":{"i":{"type":{"blob":{}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.shell_task","task-name","t1"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"task_2\"":{"id":{"resourceType":"TASK","name":"task_2"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"blob":{}}},"y":{"type":{"blob":{"dimensionality":"MULTIPART"}}}}},"outputs":{"variables":{"j":{"type":{"blob":{}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.shell_task","task-name","t2"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"task_3\"":{"id":{"resourceType":"TASK","name":"task_3"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"blob":{}}},"y":{"type":{"blob":{"dimensionality":"MULTIPART"}}},"z":{"type":{"blob":{}}}}},"outputs":{"variables":{"k":{"type":{"blob":{}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.shell_task","task-name","t3"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml deleted file mode 100755 index 4029e11de6..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf.yaml +++ /dev/null @@ -1,294 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-flyte-basics-task-cache-cached-dataframe-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - - n2 - n1: - - n2 - - n3 - n2: - - n3 - n3: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - - n2 - n1: - - n2 - - n3 - n2: - - n3 - n3: - - end-node - start-node: - - n0 - upstream: - end-node: - - n3 - n0: - - start-node - n1: - - n0 - n2: - - n0 - - n1 - n3: - - n1 - - n2 - id: ::core.flyte_basics.task_cache.cached_dataframe_wf - nodes: - end-node: - id: end-node - kind: end - resources: {} - n0: - id: n0 - kind: task - name: uncached_data_reading_task - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.task_cache.uncached_data_reading_task" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: df - kind: task - name: cached_data_processing_task - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.task_cache.cached_data_processing_task" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: df - kind: task - name: cached_data_processing_task - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.task_cache.cached_data_processing_task" ' - n3: - id: n3 - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: df1 - - binding: - promise: - nodeId: n2 - var: o0 - var: df2 - kind: task - name: compare_dataframes - resources: {} - task: 'resource_type:TASK name:"core.flyte_basics.task_cache.compare_dataframes" ' - start-node: - id: start-node - kind: start - resources: {} - outputs: {} -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.flyte_basics.task_cache.cached_data_processing_task" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - cached_data_processing_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.cached_data_processing_task - resourceType: TASK - interface: - inputs: - variables: - df: - type: - structuredDatasetType: - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - discoverable: true - discoveryVersion: "1.0" - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.task_cache.compare_dataframes" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - compare_dataframes - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.compare_dataframes - resourceType: TASK - interface: - inputs: - variables: - df1: - type: - structuredDatasetType: - format: parquet - df2: - type: - structuredDatasetType: - format: parquet - outputs: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.flyte_basics.task_cache.uncached_data_reading_task" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.flyte_basics.task_cache - - task-name - - uncached_data_reading_task - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.flyte_basics.task_cache.uncached_data_reading_task - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf_crd.json new file mode 100755 index 0000000000..af63532ed8 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/147_core.flyte_basics.task_cache.cached_dataframe_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-flyte-basics-task-cache-cached-dataframe-wf"}},"spec":{"id":"::core.flyte_basics.task_cache.cached_dataframe_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end"},"n0":{"id":"n0","name":"uncached_data_reading_task","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.task_cache.uncached_data_reading_task\""},"n1":{"id":"n1","name":"cached_data_processing_task","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.task_cache.cached_data_processing_task\"","inputBindings":[{"var":"df","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n2":{"id":"n2","name":"cached_data_processing_task","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.task_cache.cached_data_processing_task\"","inputBindings":[{"var":"df","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n3":{"id":"n3","name":"compare_dataframes","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.flyte_basics.task_cache.compare_dataframes\"","inputBindings":[{"var":"df1","binding":{"promise":{"nodeId":"n1","var":"o0"}}},{"var":"df2","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1","n2"],"n1":["n2","n3"],"n2":["n3"],"n3":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1","n2"],"n1":["n2","n3"],"n2":["n3"],"n3":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n3"],"n0":["start-node"],"n1":["n0"],"n2":["n0","n1"],"n3":["n1","n2"]}},"outputs":{}},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.flyte_basics.task_cache.cached_data_processing_task\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.task_cache.cached_data_processing_task"},"type":"python-task","metadata":{"discoverable":true,"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{},"discoveryVersion":"1.0"},"interface":{"inputs":{"variables":{"df":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.task_cache","task-name","cached_data_processing_task"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.task_cache.compare_dataframes\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.task_cache.compare_dataframes"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"df1":{"type":{"structuredDatasetType":{"format":"parquet"}}},"df2":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputs":{}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.task_cache","task-name","compare_dataframes"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.flyte_basics.task_cache.uncached_data_reading_task\"":{"id":{"resourceType":"TASK","name":"core.flyte_basics.task_cache.uncached_data_reading_task"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.flyte_basics.task_cache","task-name","uncached_data_reading_task"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml deleted file mode 100755 index 3a7094a8e3..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf.yaml +++ /dev/null @@ -1,136 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - kickoff_time: - scalar: - primitive: - datetime: "1970-01-01T00:00:00.000010Z" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-scheduled-workflows-lp-schedules-date-formatter-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.scheduled_workflows.lp_schedules.date_formatter_wf - nodes: - end-node: - id: end-node - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: kickoff_time - var: run_date - kind: task - name: format_date - resources: {} - task: 'resource_type:TASK name:"core.scheduled_workflows.lp_schedules.format_date" ' - start-node: - id: start-node - kind: start - resources: {} - outputs: {} -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.scheduled_workflows.lp_schedules.format_date" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - format_date - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.format_date - resourceType: TASK - interface: - inputs: - variables: - run_date: - type: - simple: DATETIME - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf_crd.json new file mode 100755 index 0000000000..90097431d6 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/151_core.scheduled_workflows.lp_schedules.date_formatter_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-scheduled-workflows-lp-schedules-date-formatter-wf"}},"spec":{"id":"::core.scheduled_workflows.lp_schedules.date_formatter_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end"},"n0":{"id":"n0","name":"format_date","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.scheduled_workflows.lp_schedules.format_date\"","inputBindings":[{"var":"run_date","binding":{"promise":{"nodeId":"start-node","var":"kickoff_time"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{}},"inputs":{"literals":{"kickoff_time":{"scalar":{"primitive":{"datetime":"1970-01-01T00:00:00.000010Z"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.scheduled_workflows.lp_schedules.format_date\"":{"id":{"resourceType":"TASK","name":"core.scheduled_workflows.lp_schedules.format_date"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"run_date":{"type":{"simple":"DATETIME"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.scheduled_workflows.lp_schedules","task-name","format_date"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml deleted file mode 100755 index 64e74df112..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf.yaml +++ /dev/null @@ -1,136 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - name: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-scheduled-workflows-lp-schedules-positive-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.scheduled_workflows.lp_schedules.positive_wf - nodes: - end-node: - id: end-node - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: name - var: name - kind: task - name: be_positive - resources: {} - task: 'resource_type:TASK name:"core.scheduled_workflows.lp_schedules.be_positive" ' - start-node: - id: start-node - kind: start - resources: {} - outputs: {} -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.scheduled_workflows.lp_schedules.be_positive" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.scheduled_workflows.lp_schedules - - task-name - - be_positive - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.scheduled_workflows.lp_schedules.be_positive - resourceType: TASK - interface: - inputs: - variables: - name: - type: - simple: STRING - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf_crd.json new file mode 100755 index 0000000000..df77c08c56 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/155_core.scheduled_workflows.lp_schedules.positive_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-scheduled-workflows-lp-schedules-positive-wf"}},"spec":{"id":"::core.scheduled_workflows.lp_schedules.positive_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end"},"n0":{"id":"n0","name":"be_positive","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.scheduled_workflows.lp_schedules.be_positive\"","inputBindings":[{"var":"name","binding":{"promise":{"nodeId":"start-node","var":"name"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{}},"inputs":{"literals":{"name":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.scheduled_workflows.lp_schedules.be_positive\"":{"id":{"resourceType":"TASK","name":"core.scheduled_workflows.lp_schedules.be_positive"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"name":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.scheduled_workflows.lp_schedules","task-name","be_positive"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/162_core.type_system.custom_objects.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/162_core.type_system.custom_objects.wf_2_wf.yaml deleted file mode 100755 index 300cf2aa39..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/162_core.type_system.custom_objects.wf_2_wf.yaml +++ /dev/null @@ -1,397 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - x: - scalar: - primitive: - integer: "0" - "y": - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-type-system-custom-objects-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - - n1 - n1: - - end-node - n2: - - n4 - n3: - - n4 - n4: - - end-node - start-node: - - n0 - - n2 - - n3 - edges: - downstream: - n0: - - end-node - - n1 - n1: - - end-node - n2: - - n4 - n3: - - n4 - n4: - - end-node - start-node: - - n0 - - n2 - - n3 - upstream: - end-node: - - n0 - - n1 - - n4 - n0: - - start-node - n1: - - n0 - n2: - - start-node - n3: - - start-node - n4: - - n2 - - n3 - id: ::core.type_system.custom_objects.wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n4 - var: o0 - var: o0 - - binding: - promise: - nodeId: n0 - var: o0 - var: o1 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: upload_result - resources: {} - task: 'resource_type:TASK name:"core.type_system.custom_objects.upload_result" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: res - kind: task - name: download_result - resources: {} - task: 'resource_type:TASK name:"core.type_system.custom_objects.download_result" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: start-node - var: x - var: x - kind: task - name: stringify - resources: {} - task: 'resource_type:TASK name:"core.type_system.custom_objects.stringify" ' - n3: - id: n3 - inputBindings: - - binding: - promise: - nodeId: start-node - var: "y" - var: x - kind: task - name: stringify - resources: {} - task: 'resource_type:TASK name:"core.type_system.custom_objects.stringify" ' - n4: - id: n4 - inputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: x - - binding: - promise: - nodeId: n3 - var: o0 - var: "y" - kind: task - name: add - resources: {} - task: 'resource_type:TASK name:"core.type_system.custom_objects.add" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n4 - var: o0 - var: o0 - - binding: - promise: - nodeId: n0 - var: o0 - var: o1 - outputs: - variables: - o0: - type: - simple: STRUCT - o1: - type: - simple: STRUCT -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.type_system.custom_objects.add" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - add - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.add - resourceType: TASK - interface: - inputs: - variables: - x: - type: - simple: STRUCT - "y": - type: - simple: STRUCT - outputs: - variables: - o0: - type: - simple: STRUCT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.custom_objects.download_result" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - download_result - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.download_result - resourceType: TASK - interface: - inputs: - variables: - res: - type: - simple: STRUCT - outputs: {} - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.custom_objects.stringify" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - stringify - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.stringify - resourceType: TASK - interface: - inputs: - variables: - x: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - simple: STRUCT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.custom_objects.upload_result" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.custom_objects - - task-name - - upload_result - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.custom_objects.upload_result - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - simple: STRUCT - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/162_core.type_system.custom_objects.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/162_core.type_system.custom_objects.wf_2_wf_crd.json new file mode 100755 index 0000000000..995b73eb43 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/162_core.type_system.custom_objects.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-type-system-custom-objects-wf"}},"spec":{"id":"::core.type_system.custom_objects.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n4","var":"o0"}}},{"var":"o1","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"upload_result","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.custom_objects.upload_result\""},"n1":{"id":"n1","name":"download_result","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.custom_objects.download_result\"","inputBindings":[{"var":"res","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n2":{"id":"n2","name":"stringify","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.custom_objects.stringify\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"start-node","var":"x"}}}]},"n3":{"id":"n3","name":"stringify","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.custom_objects.stringify\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"start-node","var":"y"}}}]},"n4":{"id":"n4","name":"add","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.custom_objects.add\"","inputBindings":[{"var":"x","binding":{"promise":{"nodeId":"n2","var":"o0"}}},{"var":"y","binding":{"promise":{"nodeId":"n3","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node","n1"],"n1":["end-node"],"n2":["n4"],"n3":["n4"],"n4":["end-node"],"start-node":["n0","n2","n3"]},"edges":{"downstream":{"n0":["end-node","n1"],"n1":["end-node"],"n2":["n4"],"n3":["n4"],"n4":["end-node"],"start-node":["n0","n2","n3"]},"upstream":{"end-node":["n0","n1","n4"],"n0":["start-node"],"n1":["n0"],"n2":["start-node"],"n3":["start-node"],"n4":["n2","n3"]}},"outputs":{"variables":{"o0":{"type":{"simple":"STRUCT"}},"o1":{"type":{"simple":"STRUCT"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n4","var":"o0"}}},{"var":"o1","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"x":{"scalar":{"primitive":{"integer":"0"}}},"y":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.type_system.custom_objects.add\"":{"id":{"resourceType":"TASK","name":"core.type_system.custom_objects.add"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"simple":"STRUCT"}},"y":{"type":{"simple":"STRUCT"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRUCT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.custom_objects","task-name","add"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.custom_objects.download_result\"":{"id":{"resourceType":"TASK","name":"core.type_system.custom_objects.download_result"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"res":{"type":{"simple":"STRUCT"}}}},"outputs":{}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.custom_objects","task-name","download_result"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.custom_objects.stringify\"":{"id":{"resourceType":"TASK","name":"core.type_system.custom_objects.stringify"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"x":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRUCT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.custom_objects","task-name","stringify"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.custom_objects.upload_result\"":{"id":{"resourceType":"TASK","name":"core.type_system.custom_objects.upload_result"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"simple":"STRUCT"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.custom_objects","task-name","upload_result"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/166_core.type_system.enums.enum_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/166_core.type_system.enums.enum_wf_2_wf.yaml deleted file mode 100755 index 176d7c573b..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/166_core.type_system.enums.enum_wf_2_wf.yaml +++ /dev/null @@ -1,249 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - c: - scalar: - primitive: - stringValue: red -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-type-system-enums-enum-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.type_system.enums.enum_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - - binding: - promise: - nodeId: n0 - var: o0 - var: o1 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: c - var: c - kind: task - name: enum_stringify - resources: {} - task: 'resource_type:TASK name:"core.type_system.enums.enum_stringify" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: c - kind: task - name: string_to_enum - resources: {} - task: 'resource_type:TASK name:"core.type_system.enums.string_to_enum" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - - binding: - promise: - nodeId: n0 - var: o0 - var: o1 - outputs: - variables: - o0: - type: - enumType: - values: - - red - - green - - blue - o1: - type: - simple: STRING -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.type_system.enums.enum_stringify" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - enum_stringify - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.enum_stringify - resourceType: TASK - interface: - inputs: - variables: - c: - type: - enumType: - values: - - red - - green - - blue - outputs: - variables: - o0: - type: - simple: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.enums.string_to_enum" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.enums - - task-name - - string_to_enum - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.enums.string_to_enum - resourceType: TASK - interface: - inputs: - variables: - c: - type: - simple: STRING - outputs: - variables: - o0: - type: - enumType: - values: - - red - - green - - blue - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/166_core.type_system.enums.enum_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/166_core.type_system.enums.enum_wf_2_wf_crd.json new file mode 100755 index 0000000000..f444766174 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/166_core.type_system.enums.enum_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-type-system-enums-enum-wf"}},"spec":{"id":"::core.type_system.enums.enum_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}},{"var":"o1","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"enum_stringify","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.enums.enum_stringify\"","inputBindings":[{"var":"c","binding":{"promise":{"nodeId":"start-node","var":"c"}}}]},"n1":{"id":"n1","name":"string_to_enum","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.enums.string_to_enum\"","inputBindings":[{"var":"c","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node","n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node","n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0","n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"enumType":{"values":["red","green","blue"]}}},"o1":{"type":{"simple":"STRING"}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}},{"var":"o1","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"c":{"scalar":{"primitive":{"stringValue":"red"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.type_system.enums.enum_stringify\"":{"id":{"resourceType":"TASK","name":"core.type_system.enums.enum_stringify"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"c":{"type":{"enumType":{"values":["red","green","blue"]}}}}},"outputs":{"variables":{"o0":{"type":{"simple":"STRING"}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.enums","task-name","enum_stringify"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.enums.string_to_enum\"":{"id":{"resourceType":"TASK","name":"core.type_system.enums.string_to_enum"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"c":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"enumType":{"values":["red","green","blue"]}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.enums","task-name","string_to_enum"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/169_core.type_system.flyte_pickle.welcome_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/169_core.type_system.flyte_pickle.welcome_2_wf.yaml deleted file mode 100755 index e43de40f8c..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/169_core.type_system.flyte_pickle.welcome_2_wf.yaml +++ /dev/null @@ -1,154 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - name: - scalar: - primitive: - stringValue: "" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-type-system-flyte-pickle-welcome - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - end-node - start-node: - - n0 - upstream: - end-node: - - n0 - n0: - - start-node - id: ::core.type_system.flyte_pickle.welcome - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: name - var: name - kind: task - name: greet - resources: {} - task: 'resource_type:TASK name:"core.type_system.flyte_pickle.greet" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - blob: - format: PythonPickle -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.type_system.flyte_pickle.greet" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.flyte_pickle - - task-name - - greet - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.flyte_pickle.greet - resourceType: TASK - interface: - inputs: - variables: - name: - type: - simple: STRING - outputs: - variables: - o0: - type: - blob: - format: PythonPickle - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/169_core.type_system.flyte_pickle.welcome_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/169_core.type_system.flyte_pickle.welcome_2_wf_crd.json new file mode 100755 index 0000000000..4931bcc1e8 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/169_core.type_system.flyte_pickle.welcome_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-type-system-flyte-pickle-welcome"}},"spec":{"id":"::core.type_system.flyte_pickle.welcome","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n0":{"id":"n0","name":"greet","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.flyte_pickle.greet\"","inputBindings":[{"var":"name","binding":{"promise":{"nodeId":"start-node","var":"name"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n0"],"n0":["start-node"]}},"outputs":{"variables":{"o0":{"type":{"blob":{"format":"PythonPickle"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"inputs":{"literals":{"name":{"scalar":{"primitive":{"stringValue":""}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.type_system.flyte_pickle.greet\"":{"id":{"resourceType":"TASK","name":"core.type_system.flyte_pickle.greet"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"name":{"type":{"simple":"STRING"}}}},"outputs":{"variables":{"o0":{"type":{"blob":{"format":"PythonPickle"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.flyte_pickle","task-name","greet"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/173_core.type_system.schema.df_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/173_core.type_system.schema.df_wf_2_wf.yaml deleted file mode 100755 index 82aae32866..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/173_core.type_system.schema.df_wf_2_wf.yaml +++ /dev/null @@ -1,225 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - a: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-type-system-schema-df-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.type_system.schema.df_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - kind: task - name: get_df - resources: {} - task: 'resource_type:TASK name:"core.type_system.schema.get_df" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: df - kind: task - name: add_df - resources: {} - task: 'resource_type:TASK name:"core.type_system.schema.add_df" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.type_system.schema.add_df" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - add_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.add_df - resourceType: TASK - interface: - inputs: - variables: - df: - type: - structuredDatasetType: - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.schema.get_df" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.schema - - task-name - - get_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.schema.get_df - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - structuredDatasetType: - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/173_core.type_system.schema.df_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/173_core.type_system.schema.df_wf_2_wf_crd.json new file mode 100755 index 0000000000..51a5ed6cc1 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/173_core.type_system.schema.df_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-type-system-schema-df-wf"}},"spec":{"id":"::core.type_system.schema.df_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"get_df","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.schema.get_df\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}}]},"n1":{"id":"n1","name":"add_df","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.schema.add_df\"","inputBindings":[{"var":"df","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{"literals":{"a":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.type_system.schema.add_df\"":{"id":{"resourceType":"TASK","name":"core.type_system.schema.add_df"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"df":{"type":{"structuredDatasetType":{"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.schema","task-name","add_df"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.schema.get_df\"":{"id":{"resourceType":"TASK","name":"core.type_system.schema.get_df"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.schema","task-name","get_df"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml deleted file mode 100755 index eae182adf4..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf.yaml +++ /dev/null @@ -1,326 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - a: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-type-system-structured-dataset-pandas-compatibility-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - n2 - n2: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - n2 - n2: - - end-node - start-node: - - n0 - upstream: - end-node: - - n2 - n0: - - start-node - n1: - - n0 - n2: - - n1 - id: ::core.type_system.structured_dataset.pandas_compatibility_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - kind: task - name: get_df - resources: {} - task: 'resource_type:TASK name:"core.type_system.structured_dataset.get_df" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: df - kind: task - name: get_subset_df - resources: {} - task: 'resource_type:TASK name:"core.type_system.structured_dataset.get_subset_df" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: ds - kind: task - name: to_numpy - resources: {} - task: 'resource_type:TASK name:"core.type_system.structured_dataset.to_numpy" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.type_system.structured_dataset.get_df" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_df - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - structuredDatasetType: - columns: - - literalType: - simple: STRING - name: Name - - literalType: - simple: INTEGER - name: Age - - literalType: - simple: INTEGER - name: Height - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.structured_dataset.get_subset_df" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_subset_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_subset_df - resourceType: TASK - interface: - inputs: - variables: - df: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.structured_dataset.to_numpy" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - to_numpy - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.to_numpy - resourceType: TASK - interface: - inputs: - variables: - ds: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf_crd.json new file mode 100755 index 0000000000..155cf0e21b --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/179_core.type_system.structured_dataset.pandas_compatibility_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-type-system-structured-dataset-pandas-compatibility-wf"}},"spec":{"id":"::core.type_system.structured_dataset.pandas_compatibility_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"n0":{"id":"n0","name":"get_df","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.structured_dataset.get_df\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}}]},"n1":{"id":"n1","name":"get_subset_df","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.structured_dataset.get_subset_df\"","inputBindings":[{"var":"df","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n2":{"id":"n2","name":"to_numpy","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.structured_dataset.to_numpy\"","inputBindings":[{"var":"ds","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["n2"],"n2":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["n2"],"n2":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n2"],"n0":["start-node"],"n1":["n0"],"n2":["n1"]}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"inputs":{"literals":{"a":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.type_system.structured_dataset.get_df\"":{"id":{"resourceType":"TASK","name":"core.type_system.structured_dataset.get_df"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"columns":[{"name":"Name","literalType":{"simple":"STRING"}},{"name":"Age","literalType":{"simple":"INTEGER"}},{"name":"Height","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.structured_dataset","task-name","get_df"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.structured_dataset.get_subset_df\"":{"id":{"resourceType":"TASK","name":"core.type_system.structured_dataset.get_subset_df"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"df":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.structured_dataset","task-name","get_subset_df"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.structured_dataset.to_numpy\"":{"id":{"resourceType":"TASK","name":"core.type_system.structured_dataset.to_numpy"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"ds":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.structured_dataset","task-name","to_numpy"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml deleted file mode 100755 index af5ad985af..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf.yaml +++ /dev/null @@ -1,320 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: - literals: - a: - scalar: - primitive: - integer: "0" -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-type-system-structured-dataset-schema-compatibility-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - n2 - n2: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - n2 - n2: - - end-node - start-node: - - n0 - upstream: - end-node: - - n2 - n0: - - start-node - n1: - - n0 - n2: - - n1 - id: ::core.type_system.structured_dataset.schema_compatibility_wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - inputBindings: - - binding: - promise: - nodeId: start-node - var: a - var: a - kind: task - name: get_schema_df - resources: {} - task: 'resource_type:TASK name:"core.type_system.structured_dataset.get_schema_df" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: df - kind: task - name: get_subset_df - resources: {} - task: 'resource_type:TASK name:"core.type_system.structured_dataset.get_subset_df" ' - n2: - id: n2 - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: ds - kind: task - name: to_numpy - resources: {} - task: 'resource_type:TASK name:"core.type_system.structured_dataset.to_numpy" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n2 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.type_system.structured_dataset.get_schema_df" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_schema_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_schema_df - resourceType: TASK - interface: - inputs: - variables: - a: - type: - simple: INTEGER - outputs: - variables: - o0: - type: - schema: - columns: - - name: Name - type: STRING - - name: Age - - name: Height - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.structured_dataset.get_subset_df" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - get_subset_df - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.get_subset_df - resourceType: TASK - interface: - inputs: - variables: - df: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.structured_dataset.to_numpy" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.structured_dataset - - task-name - - to_numpy - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.structured_dataset.to_numpy - resourceType: TASK - interface: - inputs: - variables: - ds: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - outputs: - variables: - o0: - type: - structuredDatasetType: - columns: - - literalType: - simple: INTEGER - name: Age - format: parquet - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf_crd.json new file mode 100755 index 0000000000..7b20b44379 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/181_core.type_system.structured_dataset.schema_compatibility_wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-type-system-structured-dataset-schema-compatibility-wf"}},"spec":{"id":"::core.type_system.structured_dataset.schema_compatibility_wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"n0":{"id":"n0","name":"get_schema_df","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.structured_dataset.get_schema_df\"","inputBindings":[{"var":"a","binding":{"promise":{"nodeId":"start-node","var":"a"}}}]},"n1":{"id":"n1","name":"get_subset_df","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.structured_dataset.get_subset_df\"","inputBindings":[{"var":"df","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"n2":{"id":"n2","name":"to_numpy","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.structured_dataset.to_numpy\"","inputBindings":[{"var":"ds","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["n2"],"n2":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["n2"],"n2":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n2"],"n0":["start-node"],"n1":["n0"],"n2":["n1"]}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n2","var":"o0"}}}]},"inputs":{"literals":{"a":{"scalar":{"primitive":{"integer":"0"}}}}},"executionId":{},"tasks":{"resource_type:TASK name:\"core.type_system.structured_dataset.get_schema_df\"":{"id":{"resourceType":"TASK","name":"core.type_system.structured_dataset.get_schema_df"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"a":{"type":{"simple":"INTEGER"}}}},"outputs":{"variables":{"o0":{"type":{"schema":{"columns":[{"name":"Name","type":"STRING"},{"name":"Age"},{"name":"Height"}]}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.structured_dataset","task-name","get_schema_df"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.structured_dataset.get_subset_df\"":{"id":{"resourceType":"TASK","name":"core.type_system.structured_dataset.get_subset_df"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"df":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.structured_dataset","task-name","get_subset_df"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.structured_dataset.to_numpy\"":{"id":{"resourceType":"TASK","name":"core.type_system.structured_dataset.to_numpy"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"ds":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}},"outputs":{"variables":{"o0":{"type":{"structuredDatasetType":{"columns":[{"name":"Age","literalType":{"simple":"INTEGER"}}],"format":"parquet"}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.structured_dataset","task-name","to_numpy"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/185_core.type_system.typed_schema.wf_2_wf.yaml b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/185_core.type_system.typed_schema.wf_2_wf.yaml deleted file mode 100755 index b935136947..0000000000 --- a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/185_core.type_system.typed_schema.wf_2_wf.yaml +++ /dev/null @@ -1,218 +0,0 @@ -apiVersion: flyte.lyft.com/v1alpha1 -executionConfig: - EnvironmentVariables: null - Interruptible: null - MaxParallelism: 0 - OverwriteCache: false - RecoveryExecution: {} - TaskPluginImpls: null - TaskResources: - Limits: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" - Requests: - CPU: "0" - EphemeralStorage: "0" - GPU: "0" - Memory: "0" - Storage: "0" -executionId: {} -inputs: {} -kind: flyteworkflow -metadata: - creationTimestamp: null - labels: - domain: domain - execution-id: name - project: hello - shard-key: "6" - workflow-name: core-type-system-typed-schema-wf - name: name - namespace: namespace -node-defaults: {} -rawOutputDataConfig: {} -securityContext: {} -spec: - connections: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - edges: - downstream: - n0: - - n1 - n1: - - end-node - start-node: - - n0 - upstream: - end-node: - - n1 - n0: - - start-node - n1: - - n0 - id: ::core.type_system.typed_schema.wf - nodes: - end-node: - id: end-node - inputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - kind: end - resources: {} - n0: - id: n0 - kind: task - name: t1 - resources: {} - task: 'resource_type:TASK name:"core.type_system.typed_schema.t1" ' - n1: - id: n1 - inputBindings: - - binding: - promise: - nodeId: n0 - var: o0 - var: schema - kind: task - name: t2 - resources: {} - task: 'resource_type:TASK name:"core.type_system.typed_schema.t2" ' - start-node: - id: start-node - kind: start - resources: {} - outputBindings: - - binding: - promise: - nodeId: n1 - var: o0 - var: o0 - outputs: - variables: - o0: - type: - schema: - columns: - - name: x -status: - phase: 0 -tasks: - 'resource_type:TASK name:"core.type_system.typed_schema.t1" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t1 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t1 - resourceType: TASK - interface: - inputs: {} - outputs: - variables: - o0: - type: - schema: - columns: - - name: x - - name: "y" - type: STRING - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task - 'resource_type:TASK name:"core.type_system.typed_schema.t2" ': - container: - args: - - pyflyte-execute - - --inputs - - '{{.input}}' - - --output-prefix - - '{{.outputPrefix}}' - - --raw-output-data-prefix - - '{{.rawOutputDataPrefix}}' - - --checkpoint-path - - '{{.checkpointOutputPrefix}}' - - --prev-checkpoint - - '{{.prevCheckpointPrefix}}' - - --resolver - - flytekit.core.python_auto_container.default_task_resolver - - -- - - task-module - - core.type_system.typed_schema - - task-name - - t2 - config: - - key: testKey1 - value: testValue1 - - key: testKey2 - value: testValue2 - - key: testKey3 - value: testValue3 - image: ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077 - resources: {} - id: - name: core.type_system.typed_schema.t2 - resourceType: TASK - interface: - inputs: - variables: - schema: - type: - schema: - columns: - - name: x - - name: "y" - type: STRING - outputs: - variables: - o0: - type: - schema: - columns: - - name: x - metadata: - retries: {} - runtime: - flavor: python - type: FLYTE_SDK - version: 0.32.6 - type: python-task diff --git a/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/185_core.type_system.typed_schema.wf_2_wf_crd.json b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/185_core.type_system.typed_schema.wf_2_wf_crd.json new file mode 100755 index 0000000000..aba5945e90 --- /dev/null +++ b/flytepropeller/pkg/compiler/test/testdata/snacks-core/k8s/185_core.type_system.typed_schema.wf_2_wf_crd.json @@ -0,0 +1 @@ +{"kind":"flyteworkflow","apiVersion":"flyte.lyft.com/v1alpha1","metadata":{"name":"name","namespace":"namespace","creationTimestamp":null,"labels":{"domain":"domain","execution-id":"name","project":"hello","shard-key":"6","workflow-name":"core-type-system-typed-schema-wf"}},"spec":{"id":"::core.type_system.typed_schema.wf","nodes":{"end-node":{"id":"end-node","resources":{},"kind":"end","inputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"n0":{"id":"n0","name":"t1","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.typed_schema.t1\""},"n1":{"id":"n1","name":"t2","resources":{},"kind":"task","task":"resource_type:TASK name:\"core.type_system.typed_schema.t2\"","inputBindings":[{"var":"schema","binding":{"promise":{"nodeId":"n0","var":"o0"}}}]},"start-node":{"id":"start-node","resources":{},"kind":"start"}},"connections":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"edges":{"downstream":{"n0":["n1"],"n1":["end-node"],"start-node":["n0"]},"upstream":{"end-node":["n1"],"n0":["start-node"],"n1":["n0"]}},"outputs":{"variables":{"o0":{"type":{"schema":{"columns":[{"name":"x"}]}}}}},"outputBindings":[{"var":"o0","binding":{"promise":{"nodeId":"n1","var":"o0"}}}]},"inputs":{},"executionId":{},"tasks":{"resource_type:TASK name:\"core.type_system.typed_schema.t1\"":{"id":{"resourceType":"TASK","name":"core.type_system.typed_schema.t1"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{},"outputs":{"variables":{"o0":{"type":{"schema":{"columns":[{"name":"x"},{"name":"y","type":"STRING"}]}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.typed_schema","task-name","t1"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}},"resource_type:TASK name:\"core.type_system.typed_schema.t2\"":{"id":{"resourceType":"TASK","name":"core.type_system.typed_schema.t2"},"type":"python-task","metadata":{"runtime":{"type":"FLYTE_SDK","version":"0.32.6","flavor":"python"},"retries":{}},"interface":{"inputs":{"variables":{"schema":{"type":{"schema":{"columns":[{"name":"x"},{"name":"y","type":"STRING"}]}}}}},"outputs":{"variables":{"o0":{"type":{"schema":{"columns":[{"name":"x"}]}}}}}},"container":{"image":"ghcr.io/flyteorg/flytecookbook:core-8b8e1a849c9adfca88049a074b10dad278f70077","args":["pyflyte-execute","--inputs","{{.input}}","--output-prefix","{{.outputPrefix}}","--raw-output-data-prefix","{{.rawOutputDataPrefix}}","--checkpoint-path","{{.checkpointOutputPrefix}}","--prev-checkpoint","{{.prevCheckpointPrefix}}","--resolver","flytekit.core.python_auto_container.default_task_resolver","--","task-module","core.type_system.typed_schema","task-name","t2"],"resources":{},"config":[{"key":"testKey1","value":"testValue1"},{"key":"testKey2","value":"testValue2"},{"key":"testKey3","value":"testValue3"}]}}},"node-defaults":{},"securityContext":{},"status":{"phase":0},"rawOutputDataConfig":{},"executionConfig":{"TaskPluginImpls":null,"MaxParallelism":0,"RecoveryExecution":{},"TaskResources":{"Requests":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"},"Limits":{"CPU":"0","Memory":"0","EphemeralStorage":"0","Storage":"0","GPU":"0"}},"Interruptible":null,"OverwriteCache":false,"EnvironmentVariables":null}} \ No newline at end of file diff --git a/flytepropeller/pkg/compiler/validators/branch_test.go b/flytepropeller/pkg/compiler/validators/branch_test.go index 05be9ab510..955315a550 100644 --- a/flytepropeller/pkg/compiler/validators/branch_test.go +++ b/flytepropeller/pkg/compiler/validators/branch_test.go @@ -56,7 +56,7 @@ func Test_validateBranchInterface(t *testing.T) { task.OnGetInterface().Return(&core.TypedInterface{}) wf := &mocks.WorkflowBuilder{} - wf.OnGetTask(identifier).Return(task, true) + wf.On("GetTask", mock.Anything).Return(task, true) errs := compilerErrors.NewCompileErrors() wf.OnGetOrCreateNodeBuilder(coreN2).Return(n2) diff --git a/flytepropeller/pkg/compiler/workflow_compiler_test.go b/flytepropeller/pkg/compiler/workflow_compiler_test.go index 890655f386..1e1e99fb02 100644 --- a/flytepropeller/pkg/compiler/workflow_compiler_test.go +++ b/flytepropeller/pkg/compiler/workflow_compiler_test.go @@ -2,6 +2,7 @@ package compiler import ( "fmt" + "github.com/golang/protobuf/proto" "strings" "testing" @@ -110,7 +111,7 @@ func ExampleCompileWorkflow_basic() { // Output: // Needed Tasks: [task_123], Needed Workflows [] - // Compiled Workflow in GraphViz: digraph G {rankdir=TB;workflow[label="Workflow Id: name:"repo" "];node[style=filled];"start-node(start)" [shape=Msquare];"start-node(start)" -> "FirstNode()" [label="execution",style="dashed"];"FirstNode()" -> "end-node(end)" [label="execution",style="dashed"];} + // Compiled Workflow in GraphViz: digraph G {rankdir=TB;workflow[label="Workflow Id: name:"repo""];node[style=filled];"start-node(start)" [shape=Msquare];"start-node(start)" -> "FirstNode()" [label="execution",style="dashed"];"FirstNode()" -> "end-node(end)" [label="execution",style="dashed"];} // Compile Errors: } @@ -149,7 +150,8 @@ func TestCompileWorkflowWithFailureNode(t *testing.T) { subWorkflows := make([]*core.WorkflowTemplate, 0) reqs, err := GetRequirements(inputWorkflow, subWorkflows) assert.Nil(t, err) - assert.Equal(t, reqs.taskIds, []common.Identifier{{Name: "cleanup"}, {Name: "task_123"}}) + assert.True(t, proto.Equal(&reqs.taskIds[0], &[]common.Identifier{{Name: "cleanup"}, {Name: "task_123"}}[0])) + assert.True(t, proto.Equal(&reqs.taskIds[1], &[]common.Identifier{{Name: "cleanup"}, {Name: "task_123"}}[1])) // Replace with logic to satisfy the requirements workflows := make([]common.InterfaceProvider, 0) @@ -301,7 +303,7 @@ func ExampleCompileWorkflow_inputsOutputsBinding() { // Output: // Needed Tasks: [task_123], Needed Graphs [] - // Compiled Workflow in GraphViz: digraph G {rankdir=TB;workflow[label="Workflow Id: name:"repo" "];node[style=filled];"start-node(start)" [shape=Msquare];"start-node(start)" -> "node_1()" [label="wf_input",style="solid"];"node_1()" -> "node_2()" [label="x",style="solid"];"static" -> "node_1()" [label=""];"node_2()" -> "end-node(end)" [label="n2_output",style="solid"];"static" -> "node_2()" [label=""];} + // Compiled Workflow in GraphViz: digraph G {rankdir=TB;workflow[label="Workflow Id: name:"repo""];node[style=filled];"start-node(start)" [shape=Msquare];"start-node(start)" -> "node_1()" [label="wf_input",style="solid"];"node_1()" -> "node_2()" [label="x",style="solid"];"static" -> "node_1()" [label=""];"node_2()" -> "end-node(end)" [label="n2_output",style="solid"];"static" -> "node_2()" [label=""];} } func ExampleCompileWorkflow_compileErrors() { @@ -344,7 +346,7 @@ func ExampleCompileWorkflow_compileErrors() { // Output: // Needed Tasks: [task_123], Needed Workflows [] // Compile Errors: Collected Errors: 1 - // Error 0: Code: TaskReferenceNotFound, Node Id: start-node, Description: Referenced Task [name:"task_123" ] not found. + // Error 0: Code: TaskReferenceNotFound, Node Id: start-node, Description: Referenced Task [name:"task_123"] not found. } func newIntegerPrimitive(value int64) *core.Primitive { diff --git a/flytepropeller/pkg/controller/nodes/catalog/datacatalog/datacatalog_test.go b/flytepropeller/pkg/controller/nodes/catalog/datacatalog/datacatalog_test.go index 2c16420f8c..d9787ceeaa 100644 --- a/flytepropeller/pkg/controller/nodes/catalog/datacatalog/datacatalog_test.go +++ b/flytepropeller/pkg/controller/nodes/catalog/datacatalog/datacatalog_test.go @@ -416,7 +416,7 @@ func TestCatalog_Put(t *testing.T) { assert.NoError(t, parseErr) assert.EqualValues(t, 1, len(o.Artifact.Data)) assert.EqualValues(t, "out1", o.Artifact.Data[0].Name) - assert.EqualValues(t, newStringLiteral("output1-stringval"), o.Artifact.Data[0].Value) + assert.True(t, proto.Equal(newStringLiteral("output1-stringval"), o.Artifact.Data[0].Value)) return true }), ).Return(&datacatalog.CreateArtifactResponse{}, nil) @@ -504,7 +504,7 @@ func TestCatalog_Put(t *testing.T) { assert.NoError(t, parseErr) assert.EqualValues(t, 1, len(o.Artifact.Data)) assert.EqualValues(t, "out1", o.Artifact.Data[0].Name) - assert.EqualValues(t, newStringLiteral("output1-stringval"), o.Artifact.Data[0].Value) + assert.True(t, proto.Equal(newStringLiteral("output1-stringval"), o.Artifact.Data[0].Value)) createArtifactCalled = true return true }), diff --git a/flytepropeller/pkg/controller/nodes/subworkflow/launchplan/admin_test.go b/flytepropeller/pkg/controller/nodes/subworkflow/launchplan/admin_test.go index 1f359c1d6a..89bb0e2477 100644 --- a/flytepropeller/pkg/controller/nodes/subworkflow/launchplan/admin_test.go +++ b/flytepropeller/pkg/controller/nodes/subworkflow/launchplan/admin_test.go @@ -567,7 +567,7 @@ func TestAdminLaunchPlanExecutorScenarios(t *testing.T) { if tc.expectSuccess { assert.Nil(t, item.SyncError) - assert.Equal(t, tc.expectedOutputs, item.ExecutionOutputs) + assert.True(t, proto.Equal(tc.expectedOutputs, item.ExecutionOutputs)) } if tc.expectError { assert.NotNil(t, item.SyncError) diff --git a/flytestdlib/utils/proto_asserts.go b/flytestdlib/utils/proto_asserts.go new file mode 100644 index 0000000000..c29c8b7b9c --- /dev/null +++ b/flytestdlib/utils/proto_asserts.go @@ -0,0 +1,16 @@ +package utils + +import ( + "regexp" + "testing" + + "github.com/stretchr/testify/assert" +) + +// This regex is used to sanitize representations of protobufs in tests. +var sanitizeProtoRegex = regexp.MustCompile(`\s+`) + +// This function is used to sanitize representations of protobufs in tests. +func AssertEqualWithSanitizedRegex(t *testing.T, expected string, actual string) { + assert.Equal(t, sanitizeProtoRegex.ReplaceAllString(expected, ""), sanitizeProtoRegex.ReplaceAllString(actual, "")) +} diff --git a/go.mod b/go.mod index 02ecdacbb8..0280ec305c 100644 --- a/go.mod +++ b/go.mod @@ -7,23 +7,22 @@ require ( github.com/flyteorg/flyte/flyteadmin v0.0.0-00010101000000-000000000000 github.com/flyteorg/flyte/flytepropeller v0.0.0-00010101000000-000000000000 github.com/flyteorg/flyte/flytestdlib v0.0.0-00010101000000-000000000000 - github.com/golang/glog v1.1.0 + github.com/golang/glog v1.1.2 github.com/prometheus/client_golang v1.16.0 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 - golang.org/x/sync v0.3.0 + golang.org/x/sync v0.4.0 gorm.io/driver/postgres v1.5.3 - k8s.io/client-go v0.28.3 sigs.k8s.io/controller-runtime v0.16.3 ) require ( - cloud.google.com/go v0.110.2 // indirect - cloud.google.com/go/compute v1.20.1 // indirect + cloud.google.com/go v0.111.0 // indirect + cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v0.13.0 // indirect - cloud.google.com/go/pubsub v1.30.0 // indirect - cloud.google.com/go/storage v1.29.0 // indirect + cloud.google.com/go/iam v1.1.5 // indirect + cloud.google.com/go/pubsub v1.33.0 // indirect + cloud.google.com/go/storage v1.30.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.2 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect @@ -88,18 +87,18 @@ require ( github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/gnostic-models v0.6.8 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect - github.com/google/s2a-go v0.1.4 // indirect - github.com/google/uuid v1.3.1 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/google/s2a-go v0.1.7 // indirect + github.com/google/uuid v1.4.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.5.1 // indirect github.com/gorilla/securecookie v1.1.1 // indirect github.com/gorilla/websocket v1.4.2 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect - github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect + github.com/grpc-ecosystem/go-grpc-prometheus v1.2.1-0.20210315223345-82c243799c99 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69 // indirect github.com/hashicorp/go-uuid v1.0.2 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect @@ -180,24 +179,23 @@ require ( go.opentelemetry.io/otel/trace v1.19.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.25.0 // indirect - golang.org/x/crypto v0.14.0 // indirect + golang.org/x/crypto v0.16.0 // indirect golang.org/x/exp v0.0.0-20231005195138-3e424a577f31 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/oauth2 v0.12.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/term v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/oauth2 v0.15.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/term v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.3.0 // indirect golang.org/x/tools v0.13.0 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect - google.golang.org/api v0.126.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect - google.golang.org/grpc v1.56.1 // indirect - google.golang.org/protobuf v1.31.0 // indirect + google.golang.org/api v0.149.0 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect + google.golang.org/grpc v1.60.1 // indirect + google.golang.org/protobuf v1.32.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.66.4 // indirect gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect @@ -213,6 +211,7 @@ require ( k8s.io/api v0.28.3 // indirect k8s.io/apiextensions-apiserver v0.28.0 // indirect k8s.io/apimachinery v0.28.3 // indirect + k8s.io/client-go v0.28.3 // indirect k8s.io/component-base v0.28.1 // indirect k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-openapi v0.0.0-20230905202853-d090da108d2f // indirect diff --git a/go.sum b/go.sum index 24fb43cff6..d3fdd20bd8 100644 --- a/go.sum +++ b/go.sum @@ -20,39 +20,39 @@ cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHOb 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/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.110.2 h1:sdFPBr6xG9/wkBbfhmUz/JmZC7X6LavQgcrVINrKiVA= -cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= +cloud.google.com/go v0.111.0 h1:YHLKNupSD1KqjDbQ3+LVdQ81h/UJbJyZG203cEfnQgM= +cloud.google.com/go v0.111.0/go.mod h1:0mibmpKP1TyOOFYQY5izo0LnT+ecvOQ0Sg3OdmMiNRU= 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 v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= -cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= +cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= 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/iam v0.13.0 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k= -cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/kms v1.10.1 h1:7hm1bRqGCA1GBRQUrp831TwJ9TWhP+tvLuP497CQS2g= -cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= +cloud.google.com/go/kms v1.15.5 h1:pj1sRfut2eRbD9pFRjNnPNg/CzJPuQAzUujMIM1vVeM= +cloud.google.com/go/kms v1.15.5/go.mod h1:cU2H5jnp6G2TDpUGZyqTCoy1n16fbubHZjmVXSMtwDI= cloud.google.com/go/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= 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= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.30.0 h1:vCge8m7aUKBJYOgrZp7EsNDf6QMd2CAlXZqWTn3yq6s= -cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= +cloud.google.com/go/pubsub v1.33.0 h1:6SPCPvWav64tj0sVX/+npCBKhUi/UjJehy9op/V3p2g= +cloud.google.com/go/pubsub v1.33.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= 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.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31jI= -cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= +cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= +cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= contrib.go.opencensus.io/exporter/stackdriver v0.13.1/go.mod h1:z2tyTZtPmQ2HvWH4cOmVDgtY+1lomfKdbLnkJvZdc8c= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.2 h1:t5+QXLCK9SVi0PPdaY0PrFvYUo24KwA0QwxnaHRSVd4= @@ -101,7 +101,6 @@ github.com/ajg/form v0.0.0-20160822230020-523a5da1a92f/go.mod h1:uL1WgH+h2mgNtvB github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= @@ -153,7 +152,6 @@ github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4r 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/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= @@ -173,10 +171,6 @@ github.com/cloudevents/sdk-go/v2 v2.14.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUE 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/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -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-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 h1:/inchEIKaYC1Akx+H+gqO04wryn5h75LSazbRlnya1k= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= @@ -251,10 +245,9 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m 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.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.10.1 h1:c0g45+xCJhdgFGw7a5QAfdS4byAbud7miNWJ1WwEVf8= -github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= +github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= @@ -650,8 +643,8 @@ github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGw github.com/golang/gddo v0.0.0-20180828051604-96d2a289f41e/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= github.com/golang/gddo v0.0.0-20190904175337-72a348e765d2/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 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= @@ -705,8 +698,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 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.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-jsonnet v0.16.0/go.mod h1:sOcuej3UW1vpPTZOr8L7RQimqai1a57bt5j22LzGZCw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= @@ -730,20 +723,20 @@ github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.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/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= -github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181004151105-1babbf986f6f/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -770,11 +763,12 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmg github.com/grpc-ecosystem/go-grpc-middleware v1.2.0/go.mod h1:mJzapYve32yjrKlk9GbyCZHuPgZsrbyIbyKhSzOpg6s= github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vbp88Yd8NsDy6rZz+RcrMPxvld8= -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/go-grpc-prometheus v1.2.1-0.20210315223345-82c243799c99 h1:JYghRBlGCZyCF2wNUJ8W0cwaQdtpcssJ4CgC406g+WU= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.1-0.20210315223345-82c243799c99/go.mod h1:3bDW6wMZJB7tiONtC/1Xpicra6Wp5GgbTbQWCbI5fkc= github.com/grpc-ecosystem/grpc-gateway v1.9.0/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/grpc-ecosystem/grpc-gateway/v2 v2.19.0 h1:Wqo399gCIufwto+VfwCSvsnfGpF/w5E9CNxSwbpD6No= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0/go.mod h1:qmOFXW2epJhM0qSnUUYpldc7gVz2KMQwJ/QYCDIa7XU= github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69 h1:7xsUJsB2NrdcttQPa7JLEaGzvdbk7KvfrjgHZXOQRo0= github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69/go.mod h1:YLEMZOtU+AZ7dhN9T/IpGhXVGly2bvkJQ+zxj3WeVQo= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -1148,6 +1142,7 @@ github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qR 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/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v0.9.4/go.mod h1:oCXIBxdI62A4cR6aTRJCgetEjecSIYzOEaeAn4iYEpM= github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= @@ -1158,11 +1153,13 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1: github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= 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.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190425082905-87a4384529e0/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= 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= @@ -1179,7 +1176,6 @@ github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqn github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rhnvrm/simples3 v0.5.0/go.mod h1:Y+3vYm2V7Y4VijFoJHHTrja6OgPrJ2cBti8dPGkC3sA= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.0.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -1380,7 +1376,6 @@ go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+Gf go.opentelemetry.io/otel/trace v0.18.0/go.mod h1:FzdUu3BPwZSZebfQ1vl5/tAa8LyMLXSJN57AXIt/iDk= go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.1/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -1442,10 +1437,9 @@ golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 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-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= -golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1503,6 +1497,7 @@ golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181106065722-10aee1819953/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-20181207154023-610586996380/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= @@ -1545,12 +1540,11 @@ golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -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-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181003184128-c57b0facaced/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1561,8 +1555,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ 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-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= -golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= +golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= +golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= 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= @@ -1576,8 +1570,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ 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/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c/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-20180831094639-fa5fdf94c789/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1651,7 +1645,6 @@ golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/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-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1666,14 +1659,14 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= 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/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= 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= @@ -1684,8 +1677,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= 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= @@ -1694,6 +1687,7 @@ golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/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-20180525024113-a5b4c53f6e8b/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-20181003024731-2f84ea8ef872/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181006002542-f60d9635b16a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1832,8 +1826,8 @@ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz513 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.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.149.0 h1:b2CqT6kG+zqJIVKRQ3ELJVLN1PwHZ6DJ3dW8yl82rgY= +google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= 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= @@ -1842,8 +1836,9 @@ google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= @@ -1871,7 +1866,6 @@ google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= @@ -1886,12 +1880,13 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D 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-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc h1:8DyZCyvI8mE1IdLy/60bS+52xfymkE72wv1asokgtao= -google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc h1:kVKPf/IiYSBWEWtkIn6wZXwWGCnLKcC8oWfZvXjsGnM= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc h1:XSJ8Vk1SWuNr8S18z1NZSziL0CPIXLCCMDOEFtHBOFc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 h1:YJ5pD9rF8o9Qtta0Cmy9rdBwkSjrTCT6XTiUQVOtIos= +google.golang.org/genproto v0.0.0-20231212172506-995d672761c0/go.mod h1:l/k7rMz0vFTBPy+tFSGvXEd3z+BcoG1k7EHbqm+YBsY= +google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 h1:rcS6EyEaoCO52hQDupoSfrxI3R6C2Tq741is7X8OvnM= +google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917/go.mod h1:CmlNWB9lSezaYELKS5Ym1r44VrrbPUa7JTvw+6MbpJ0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU= +google.golang.org/grpc v1.18.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= 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= @@ -1910,14 +1905,12 @@ 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.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/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= -google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= -google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= +google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/grpc/examples v0.0.0-20210304020650-930c79186c99/go.mod h1:Ly7ZA/ARzg8fnPU9TyZIxoz33sEUuWX7txiqs8lPTgE= 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= @@ -1931,8 +1924,8 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj 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.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/DataDog/dd-trace-go.v1 v1.22.0/go.mod h1:DVp8HmDh8PuTu2Z0fVVlBsyWaC++fzwVCaGWylTe3tg= gopkg.in/DataDog/dd-trace-go.v1 v1.27.0/go.mod h1:Sp1lku8WJMvNV0kjDI4Ni/T7J/U3BO5ct5kEaoVU8+I= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= @@ -1983,7 +1976,6 @@ gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19/go.mod h1:o4V0GXN9/CAmC 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= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -2010,6 +2002,7 @@ gorm.io/plugin/opentelemetry v0.1.4/go.mod h1:tndJHOdvPT0pyGhOb8E2209eXJCUxhC5Up gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +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=